@thecb/components 6.3.1-beta.2 → 6.3.1-beta.3

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/index.esm.js CHANGED
@@ -6330,7 +6330,7 @@ var general = /*#__PURE__*/Object.freeze({
6330
6330
  throttle: throttle
6331
6331
  });
6332
6332
 
6333
- var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
6333
+ var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
6334
6334
 
6335
6335
  var Text = function Text(_ref) {
6336
6336
  var themeValues = _ref.themeValues,
@@ -6348,6 +6348,8 @@ var Text = function Text(_ref) {
6348
6348
  as = _ref.as,
6349
6349
  dataQa = _ref.dataQa,
6350
6350
  children = _ref.children,
6351
+ _ref$variant = _ref.variant,
6352
+ variant = _ref$variant === void 0 ? "p" : _ref$variant,
6351
6353
  rest = _objectWithoutProperties(_ref, _excluded$1);
6352
6354
 
6353
6355
  return /*#__PURE__*/React.createElement(TextSpan, _extends({
@@ -6361,7 +6363,8 @@ var Text = function Text(_ref) {
6361
6363
  onClick: onClick,
6362
6364
  onKeyPress: onKeyPress,
6363
6365
  "data-qa": dataQa,
6364
- $textWrap: textWrap
6366
+ $textWrap: textWrap,
6367
+ $variant: variant
6365
6368
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
6366
6369
  };
6367
6370
 
@@ -22385,53 +22388,6 @@ var DisplayBox = function DisplayBox(_ref) {
22385
22388
 
22386
22389
  var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$h);
22387
22390
 
22388
- var DisplayCard = function DisplayCard(_ref) {
22389
- var title = _ref.title,
22390
- item = _ref.item,
22391
- buttonText = _ref.buttonText,
22392
- buttonAction = _ref.buttonAction,
22393
- url = _ref.url,
22394
- _ref$link = _ref.link,
22395
- link = _ref$link === void 0 ? false : _ref$link;
22396
- return /*#__PURE__*/React.createElement(Box, {
22397
- padding: "0 0 16px"
22398
- }, /*#__PURE__*/React.createElement(Stack, {
22399
- childGap: "0rem"
22400
- }, /*#__PURE__*/React.createElement(Box, {
22401
- padding: "0 0 8px 0"
22402
- }, /*#__PURE__*/React.createElement(Paragraph$1, {
22403
- variant: "pL",
22404
- color: CHARADE_GREY,
22405
- extraStyles: "letter-spacing: 0.29px"
22406
- }, title)), /*#__PURE__*/React.createElement(Box, {
22407
- padding: "0"
22408
- }, /*#__PURE__*/React.createElement(Box, {
22409
- padding: "24px",
22410
- borderSize: "1px",
22411
- borderRadius: "4px",
22412
- background: WHITE,
22413
- boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
22414
- }, /*#__PURE__*/React.createElement(Cluster, {
22415
- justify: "space-between",
22416
- align: "center"
22417
- }, /*#__PURE__*/React.createElement(Text$1, {
22418
- variant: "p",
22419
- color: CHARADE_GREY
22420
- }, item), link ? /*#__PURE__*/React.createElement(ButtonWithLink, {
22421
- text: buttonText,
22422
- url: url,
22423
- variant: "smallGhost",
22424
- dataQa: buttonText,
22425
- extraStyles: "min-width: 0;"
22426
- }) : buttonAction ? /*#__PURE__*/React.createElement(ButtonWithAction, {
22427
- text: buttonText,
22428
- action: buttonAction,
22429
- variant: "smallGhost",
22430
- dataQa: buttonText,
22431
- extraStyles: "min-width: 0;"
22432
- }) : /*#__PURE__*/React.createElement(Fragment$1, null))))));
22433
- };
22434
-
22435
22391
  function _extends$2() {
22436
22392
  _extends$2 = Object.assign || function (target) {
22437
22393
  for (var i = 1; i < arguments.length; i++) {
@@ -22710,6 +22666,284 @@ var FormattedInput = function FormattedInput(_ref) {
22710
22666
  }));
22711
22667
  };
22712
22668
 
22669
+ var formatDelimiter = "_";
22670
+ var phoneFormats = ["", "_", "__", "(___) ", "(___) _", "(___) __", "(___) ___-", "(___) ___-_", "(___) ___-__", "(___) ___-___", "(___) ___-____"];
22671
+ var zipFormats = ["", "_", "__", "___", "____", "_____", "______", "_____-__", "_____-___", "_____-____"];
22672
+ var creditCardFormats = ["", "_", "__", "___", "____", "____ _", "____ __", "____ ___", "____ ____", "____ ____ _", "____ ____ __", "____ ____ ___", "____ ____ ____", "____ ____ ____ _", "____ ____ ____ __", "____ ____ ____ ___", "____ ____ ____ ____"];
22673
+ var moneyFormats = ["", "$0.0_", "$0.__", "$_.__", "$__.__", "$___.__", "$_,___.__", "$__,___.__", "$___,___.__", "$_,___,___.__", "$__,___,___.__", "$___,___,___.__", "$_,___,___,___.__", "$__,___,___,___.__", "$___,___,___,___.__", "$_,___,___,___,___.__"];
22674
+ var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
22675
+ var zipFormat = createFormat(zipFormats, formatDelimiter);
22676
+ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
22677
+ var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
22678
+ var phoneFormat = createFormat(phoneFormats, formatDelimiter);
22679
+ var moneyFormat = createFormat(moneyFormats, formatDelimiter);
22680
+
22681
+ var formats = /*#__PURE__*/Object.freeze({
22682
+ __proto__: null,
22683
+ formatDelimiter: formatDelimiter,
22684
+ phoneFormats: phoneFormats,
22685
+ moneyFormats: moneyFormats,
22686
+ expirationDateFormats: expirationDateFormats,
22687
+ zipFormat: zipFormat,
22688
+ creditCardFormat: creditCardFormat,
22689
+ expirationDateFormat: expirationDateFormat,
22690
+ phoneFormat: phoneFormat,
22691
+ moneyFormat: moneyFormat
22692
+ });
22693
+
22694
+ var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
22695
+ var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
22696
+ // Only move focus when "hasErrors" is true
22697
+ // "hasErrors" is managed by container page of form
22698
+ // typically set to "true" on attempted form submission, if errors exist
22699
+ // Reset errors, if provided, resets the error state tracking in order to properly re-run
22700
+ useEffect$1(function () {
22701
+ if (hasErrors) {
22702
+ var _inputsWithErrors$;
22703
+
22704
+ var inputsWithErrors = document.querySelectorAll("input[aria-invalid=true]");
22705
+ inputsWithErrors === null || inputsWithErrors === void 0 ? void 0 : (_inputsWithErrors$ = inputsWithErrors[0]) === null || _inputsWithErrors$ === void 0 ? void 0 : _inputsWithErrors$.focus();
22706
+ }
22707
+
22708
+ return function () {
22709
+ return resetHasErrors(false);
22710
+ };
22711
+ });
22712
+ };
22713
+
22714
+ /*
22715
+ Hook that assigns a click event listener to the main document element
22716
+ Returns a ref to attach to another element (like an icon/button that triggers a popover)
22717
+ If a click event gets captured by the document and the assigned element isn't the target
22718
+ hook will run whatever handler is passed (eg a function that closes a popover)
22719
+
22720
+ See popover component for implementation
22721
+
22722
+ */
22723
+
22724
+ var useOutsideClickHook$1 = function useOutsideClickHook(handler) {
22725
+ var ref = useRef();
22726
+ useEffect$1(function () {
22727
+ }, [ref]);
22728
+ return ref;
22729
+ };
22730
+
22731
+
22732
+
22733
+ var index$4 = /*#__PURE__*/Object.freeze({
22734
+ __proto__: null,
22735
+ formats: formats,
22736
+ general: general,
22737
+ theme: themeUtils,
22738
+ useFocusInvalidInput: useFocusInvalidInput,
22739
+ useOutsideClick: useOutsideClickHook$1
22740
+ });
22741
+
22742
+ var hoverColor$4 = "#116285";
22743
+ var activeColor$4 = "#0E506D";
22744
+ var popoverTriggerColor = "#15749D";
22745
+ var fallbackValues$i = {
22746
+ hoverColor: hoverColor$4,
22747
+ activeColor: activeColor$4,
22748
+ popoverTriggerColor: popoverTriggerColor
22749
+ };
22750
+
22751
+ var Popover = function Popover(_ref) {
22752
+ var themeValues = _ref.themeValues,
22753
+ _ref$triggerText = _ref.triggerText,
22754
+ triggerText = _ref$triggerText === void 0 ? "" : _ref$triggerText,
22755
+ _ref$content = _ref.content,
22756
+ content = _ref$content === void 0 ? "" : _ref$content,
22757
+ _ref$hasIcon = _ref.hasIcon,
22758
+ hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
22759
+ Icon = _ref.icon,
22760
+ _ref$iconHelpText = _ref.iconHelpText,
22761
+ iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
22762
+ _ref$popoverID = _ref.popoverID,
22763
+ popoverID = _ref$popoverID === void 0 ? 0 : _ref$popoverID,
22764
+ _ref$popoverFocus = _ref.popoverFocus,
22765
+ popoverFocus = _ref$popoverFocus === void 0 ? false : _ref$popoverFocus,
22766
+ extraStyles = _ref.extraStyles,
22767
+ textExtraStyles = _ref.textExtraStyles,
22768
+ _ref$minWidth = _ref.minWidth,
22769
+ minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
22770
+ _ref$maxWidth = _ref.maxWidth,
22771
+ maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
22772
+ _ref$height = _ref.height,
22773
+ height = _ref$height === void 0 ? "auto" : _ref$height,
22774
+ position = _ref.position,
22775
+ arrowPosition = _ref.arrowPosition;
22776
+ var hoverColor = themeValues.hoverColor,
22777
+ activeColor = themeValues.activeColor,
22778
+ popoverTriggerColor = themeValues.popoverTriggerColor;
22779
+
22780
+ var _ref2 = position !== null && position !== void 0 ? position : {},
22781
+ _ref2$top = _ref2.top,
22782
+ top = _ref2$top === void 0 ? "-110px" : _ref2$top,
22783
+ _ref2$right = _ref2.right,
22784
+ right = _ref2$right === void 0 ? "auto" : _ref2$right,
22785
+ _ref2$bottom = _ref2.bottom,
22786
+ bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
22787
+ _ref2$left = _ref2.left,
22788
+ left = _ref2$left === void 0 ? "-225px" : _ref2$left;
22789
+
22790
+ var _ref3 = arrowPosition !== null && arrowPosition !== void 0 ? arrowPosition : {},
22791
+ _ref3$arrowTop = _ref3.arrowTop,
22792
+ arrowTop = _ref3$arrowTop === void 0 ? "auto" : _ref3$arrowTop,
22793
+ _ref3$arrowRight = _ref3.arrowRight,
22794
+ arrowRight = _ref3$arrowRight === void 0 ? "10px" : _ref3$arrowRight,
22795
+ _ref3$arrowBottom = _ref3.arrowBottom,
22796
+ arrowBottom = _ref3$arrowBottom === void 0 ? "-8px" : _ref3$arrowBottom,
22797
+ _ref3$arrowLeft = _ref3.arrowLeft,
22798
+ arrowLeft = _ref3$arrowLeft === void 0 ? "auto" : _ref3$arrowLeft;
22799
+
22800
+ var _useState = useState(false),
22801
+ _useState2 = _slicedToArray(_useState, 2),
22802
+ popoverOpen = _useState2[0],
22803
+ togglePopover = _useState2[1];
22804
+
22805
+ var handleTogglePopover = function handleTogglePopover(popoverState) {
22806
+ if (popoverOpen !== popoverState) {
22807
+ togglePopover(popoverState);
22808
+ }
22809
+ };
22810
+
22811
+ var triggerRef = useOutsideClickHook(function () {
22812
+ return handleTogglePopover(false);
22813
+ });
22814
+ return /*#__PURE__*/React.createElement(Box, {
22815
+ padding: "0",
22816
+ extraStyles: "position: relative; ".concat(extraStyles)
22817
+ }, /*#__PURE__*/React.createElement(ButtonWithAction, {
22818
+ action: function action() {
22819
+ return noop;
22820
+ },
22821
+ onFocus: function onFocus() {
22822
+ handleTogglePopover(true);
22823
+ },
22824
+ onBlur: function onBlur() {
22825
+ handleTogglePopover(false);
22826
+ },
22827
+ onKeyDown: function onKeyDown(e) {
22828
+ if (e.keyCode === 27) {
22829
+ handleTogglePopover(false);
22830
+ }
22831
+ },
22832
+ onTouchStart: function onTouchStart() {
22833
+ return handleTogglePopover(true);
22834
+ },
22835
+ onTouchEnd: function onTouchEnd() {
22836
+ return handleTogglePopover(false);
22837
+ },
22838
+ onMouseEnter: function onMouseEnter() {
22839
+ return handleTogglePopover(true);
22840
+ },
22841
+ onMouseLeave: function onMouseLeave() {
22842
+ return handleTogglePopover(false);
22843
+ },
22844
+ contentOverride: true,
22845
+ variant: "smallGhost",
22846
+ tabIndex: "0",
22847
+ id: "btnPopover".concat(popoverID),
22848
+ "aria-expanded": popoverOpen,
22849
+ "aria-labelledby": "btnPopover".concat(popoverID, "_info Disclosure").concat(popoverID),
22850
+ "aria-describedby": "Disclosure".concat(popoverID),
22851
+ "aria-controls": "Disclosed".concat(popoverID),
22852
+ ref: triggerRef
22853
+ }, hasIcon && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Icon, null), /*#__PURE__*/React.createElement(Box, {
22854
+ padding: "0",
22855
+ srOnly: true
22856
+ }, /*#__PURE__*/React.createElement(Text$1, {
22857
+ id: "btnPopover".concat(popoverID, "_info")
22858
+ }, iconHelpText))), !hasIcon && /*#__PURE__*/React.createElement(Text$1, {
22859
+ color: popoverTriggerColor,
22860
+ extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
22861
+ }, triggerText)), /*#__PURE__*/React.createElement(Box, {
22862
+ background: "white",
22863
+ borderRadius: "4px",
22864
+ boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
22865
+ id: "Disclosed".concat(popoverID),
22866
+ role: "region",
22867
+ "aria-describedby": "Disclosure".concat(popoverID),
22868
+ tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
22869
+ minWidth: minWidth,
22870
+ maxWidth: maxWidth,
22871
+ extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, "\n ")
22872
+ }, /*#__PURE__*/React.createElement(Paragraph$1, null, content), /*#__PURE__*/React.createElement(Box, {
22873
+ padding: "0",
22874
+ extraStyles: "position: absolute; content: \"\"; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid rgba(255, 255, 255, 0.85); filter: drop-shadow(2px 8px 14px black); bottom: ".concat(arrowBottom, "; right: ").concat(arrowRight, "; top: ").concat(arrowTop, "; left: ").concat(arrowLeft, ";")
22875
+ })));
22876
+ };
22877
+
22878
+ var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$i);
22879
+
22880
+ var DisplayCard = function DisplayCard(_ref) {
22881
+ var title = _ref.title,
22882
+ item = _ref.item,
22883
+ buttonText = _ref.buttonText,
22884
+ buttonAction = _ref.buttonAction,
22885
+ url = _ref.url,
22886
+ _ref$link = _ref.link,
22887
+ link = _ref$link === void 0 ? false : _ref$link,
22888
+ helpText = _ref.helpText,
22889
+ _ref$hasPopover = _ref.hasPopover,
22890
+ hasPopover = _ref$hasPopover === void 0 ? false : _ref$hasPopover,
22891
+ _ref$popoverTriggerTe = _ref.popoverTriggerText,
22892
+ popoverTriggerText = _ref$popoverTriggerTe === void 0 ? "" : _ref$popoverTriggerTe,
22893
+ _ref$popoverContent = _ref.popoverContent,
22894
+ popoverContent = _ref$popoverContent === void 0 ? "" : _ref$popoverContent,
22895
+ popoverExtraStyles = _ref.popoverExtraStyles,
22896
+ popoverTextExtraStyles = _ref.popoverTextExtraStyles;
22897
+ return /*#__PURE__*/React.createElement(Box, {
22898
+ padding: "0 0 16px"
22899
+ }, /*#__PURE__*/React.createElement(Stack, {
22900
+ childGap: "0rem"
22901
+ }, /*#__PURE__*/React.createElement(Box, {
22902
+ padding: "0 0 8px 0"
22903
+ }, /*#__PURE__*/React.createElement(Cluster, {
22904
+ justify: "space-between",
22905
+ align: "center",
22906
+ overflow: true
22907
+ }, /*#__PURE__*/React.createElement(Paragraph$1, {
22908
+ variant: "pL",
22909
+ color: CHARADE_GREY,
22910
+ extraStyles: "letter-spacing: 0.29px"
22911
+ }, title), hasPopover && /*#__PURE__*/React.createElement(Popover$1, {
22912
+ triggerText: popoverTriggerText,
22913
+ content: popoverContent,
22914
+ popoverExtraStyles: popoverExtraStyles,
22915
+ popoverTextExtraStyles: popoverTextExtraStyles
22916
+ }))), /*#__PURE__*/React.createElement(Box, {
22917
+ padding: "0"
22918
+ }, /*#__PURE__*/React.createElement(Box, {
22919
+ padding: "24px",
22920
+ borderSize: "1px",
22921
+ borderRadius: "4px",
22922
+ background: WHITE,
22923
+ boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
22924
+ }, /*#__PURE__*/React.createElement(Cluster, {
22925
+ justify: "space-between",
22926
+ align: "center"
22927
+ }, /*#__PURE__*/React.createElement(Text$1, {
22928
+ color: CHARADE_GREY
22929
+ }, item), link ? /*#__PURE__*/React.createElement(ButtonWithLink, {
22930
+ text: buttonText,
22931
+ url: url,
22932
+ variant: "smallGhost",
22933
+ dataQa: buttonText,
22934
+ extraStyles: "min-width: 0;"
22935
+ }) : buttonAction ? /*#__PURE__*/React.createElement(ButtonWithAction, {
22936
+ text: buttonText,
22937
+ action: buttonAction,
22938
+ variant: "smallGhost",
22939
+ dataQa: buttonText,
22940
+ extraStyles: "min-width: 0;"
22941
+ }) : helpText ? /*#__PURE__*/React.createElement(Text$1, {
22942
+ color: STORM_GREY,
22943
+ extraStyles: "font-style: italic;"
22944
+ }, helpText) : /*#__PURE__*/React.createElement(Fragment$1, null))))));
22945
+ };
22946
+
22713
22947
  var linkColor$2 = {
22714
22948
  "default": "".concat(MATISSE_BLUE),
22715
22949
  disabled: "".concat(MATISSE_BLUE)
@@ -22759,7 +22993,7 @@ var hoverFocusStyles$1 = {
22759
22993
  var formFooterPanel = {
22760
22994
  "default": "".concat(INFO_BLUE)
22761
22995
  };
22762
- var fallbackValues$i = {
22996
+ var fallbackValues$j = {
22763
22997
  linkColor: linkColor$2,
22764
22998
  formBackgroundColor: formBackgroundColor$1,
22765
22999
  inputBackgroundColor: inputBackgroundColor$1,
@@ -22981,7 +23215,7 @@ var FormInput = function FormInput(_ref15) {
22981
23215
  }, decorator)));
22982
23216
  };
22983
23217
 
22984
- var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$i, "default");
23218
+ var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$j, "default");
22985
23219
 
22986
23220
  var _excluded$q = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
22987
23221
 
@@ -23037,7 +23271,7 @@ var FormContainer = function FormContainer(_ref) {
23037
23271
  }, rest), children);
23038
23272
  };
23039
23273
 
23040
- var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$i, "default");
23274
+ var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$j, "default");
23041
23275
 
23042
23276
  var FormFooterPanel = function FormFooterPanel(_ref) {
23043
23277
  var themeValues = _ref.themeValues,
@@ -23061,7 +23295,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
23061
23295
  })));
23062
23296
  };
23063
23297
 
23064
- var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$i, "default");
23298
+ var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$j, "default");
23065
23299
 
23066
23300
  var fontSize$7 = {
23067
23301
  "default": "1rem",
@@ -23075,7 +23309,7 @@ var color$7 = {
23075
23309
  "default": "".concat(CHARADE_GREY),
23076
23310
  radio: "".concat(MINESHAFT_GREY)
23077
23311
  };
23078
- var fallbackValues$j = {
23312
+ var fallbackValues$k = {
23079
23313
  fontSize: fontSize$7,
23080
23314
  padding: padding$1,
23081
23315
  color: color$7
@@ -23118,11 +23352,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
23118
23352
  }, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
23119
23353
  };
23120
23354
 
23121
- var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$j, "default");
23355
+ var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$k, "default");
23122
23356
 
23123
23357
  var textColor$1 = "".concat(CHARADE_GREY);
23124
23358
  var autopayTextColor = "".concat(REGENT_GREY);
23125
- var fallbackValues$k = {
23359
+ var fallbackValues$l = {
23126
23360
  textColor: textColor$1,
23127
23361
  autopayTextColor: autopayTextColor
23128
23362
  };
@@ -23188,7 +23422,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
23188
23422
  }, "Autopay Enabled")));
23189
23423
  };
23190
23424
 
23191
- var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
23425
+ var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$l);
23192
23426
 
23193
23427
  var Hamburger = styled.button.withConfig({
23194
23428
  displayName: "HamburgerButton__Hamburger",
@@ -23270,7 +23504,7 @@ var fontSize$8 = {
23270
23504
  h5: "1.375rem",
23271
23505
  h6: "1.25rem"
23272
23506
  };
23273
- var fallbackValues$l = {
23507
+ var fallbackValues$m = {
23274
23508
  fontFamily: fontFamily$5,
23275
23509
  fontSize: fontSize$8
23276
23510
  };
@@ -23312,7 +23546,7 @@ var Heading = function Heading(_ref) {
23312
23546
  }, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
23313
23547
  };
23314
23548
 
23315
- var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$l, "h1");
23549
+ var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$m, "h1");
23316
23550
 
23317
23551
  var Jumbo = function Jumbo(_ref) {
23318
23552
  var showButton = _ref.showButton,
@@ -23386,7 +23620,7 @@ var fontWeight$4 = {
23386
23620
  pL: "600",
23387
23621
  h6: "700"
23388
23622
  };
23389
- var fallbackValues$m = {
23623
+ var fallbackValues$n = {
23390
23624
  fontWeight: fontWeight$4
23391
23625
  };
23392
23626
 
@@ -23414,7 +23648,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
23414
23648
  }, amount));
23415
23649
  };
23416
23650
 
23417
- var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$m, "default");
23651
+ var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$n, "default");
23418
23652
 
23419
23653
  var weightTitle = {
23420
23654
  "default": "600",
@@ -23424,7 +23658,7 @@ var paragraphVariant = {
23424
23658
  "default": "pL",
23425
23659
  small: "pS"
23426
23660
  };
23427
- var fallbackValues$n = {
23661
+ var fallbackValues$o = {
23428
23662
  weightTitle: weightTitle,
23429
23663
  paragraphVariant: paragraphVariant
23430
23664
  };
@@ -23453,10 +23687,10 @@ var LineItem = function LineItem(_ref) {
23453
23687
  }, amount));
23454
23688
  };
23455
23689
 
23456
- var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$n, "default");
23690
+ var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$o, "default");
23457
23691
 
23458
23692
  var color$8 = "#15749D";
23459
- var fallbackValues$o = {
23693
+ var fallbackValues$p = {
23460
23694
  color: color$8
23461
23695
  };
23462
23696
 
@@ -23495,7 +23729,7 @@ var Spinner$1 = function Spinner(_ref4) {
23495
23729
  })));
23496
23730
  };
23497
23731
 
23498
- var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$o);
23732
+ var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$p);
23499
23733
 
23500
23734
  var Loading = function Loading() {
23501
23735
  return /*#__PURE__*/React.createElement(Box, {
@@ -23761,7 +23995,7 @@ var height$1 = {
23761
23995
  "default": "3rem",
23762
23996
  large: "192px"
23763
23997
  };
23764
- var fallbackValues$p = {
23998
+ var fallbackValues$q = {
23765
23999
  color: color$9,
23766
24000
  height: height$1
23767
24001
  };
@@ -23854,12 +24088,12 @@ var Placeholder = function Placeholder(_ref2) {
23854
24088
  }, text)))))))))));
23855
24089
  };
23856
24090
 
23857
- var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$p, "default");
24091
+ var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$q, "default");
23858
24092
 
23859
24093
  var backgroundColor$4 = {
23860
24094
  "default": "".concat(WHITE)
23861
24095
  };
23862
- var fallbackValues$q = {
24096
+ var fallbackValues$r = {
23863
24097
  backgroundColor: backgroundColor$4
23864
24098
  };
23865
24099
 
@@ -23887,12 +24121,12 @@ var ProcessingFee = function ProcessingFee(_ref) {
23887
24121
  }));
23888
24122
  };
23889
24123
 
23890
- var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$q, "default");
24124
+ var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$r, "default");
23891
24125
 
23892
- var activeColor$4 = "".concat(MATISSE_BLUE);
24126
+ var activeColor$5 = "".concat(MATISSE_BLUE);
23893
24127
  var inactiveColor = "".concat(GREY_CHATEAU);
23894
- var fallbackValues$r = {
23895
- activeColor: activeColor$4,
24128
+ var fallbackValues$s = {
24129
+ activeColor: activeColor$5,
23896
24130
  inactiveColor: inactiveColor
23897
24131
  };
23898
24132
 
@@ -23981,12 +24215,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
23981
24215
  })));
23982
24216
  };
23983
24217
 
23984
- var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$r);
24218
+ var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$s);
23985
24219
 
23986
24220
  var border$2 = {
23987
24221
  "default": "1px solid #caced8"
23988
24222
  };
23989
- var fallbackValues$s = {
24223
+ var fallbackValues$t = {
23990
24224
  border: border$2
23991
24225
  };
23992
24226
 
@@ -24061,7 +24295,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
24061
24295
  })))));
24062
24296
  };
24063
24297
 
24064
- var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$s, "default");
24298
+ var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$t, "default");
24065
24299
 
24066
24300
  var borderColor$2 = {
24067
24301
  "default": "".concat(GREY_CHATEAU)
@@ -24069,7 +24303,7 @@ var borderColor$2 = {
24069
24303
  var borderSize = {
24070
24304
  "default": "1px"
24071
24305
  };
24072
- var fallbackValues$t = {
24306
+ var fallbackValues$u = {
24073
24307
  borderColor: borderColor$2,
24074
24308
  borderSize: borderSize
24075
24309
  };
@@ -24086,7 +24320,7 @@ var SolidDivider = function SolidDivider(_ref) {
24086
24320
  });
24087
24321
  };
24088
24322
 
24089
- var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$t, "default");
24323
+ var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$u, "default");
24090
24324
 
24091
24325
  var placeHolderOptionUS = {
24092
24326
  text: "Please select state",
@@ -34670,7 +34904,7 @@ var offBackground = "".concat(REGENT_GREY);
34670
34904
  var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
34671
34905
  var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
34672
34906
  var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
34673
- var fallbackValues$u = {
34907
+ var fallbackValues$v = {
34674
34908
  onBackground: onBackground,
34675
34909
  disabledBackground: disabledBackground,
34676
34910
  white: white,
@@ -34845,7 +35079,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
34845
35079
  }, label))));
34846
35080
  };
34847
35081
 
34848
- var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$u);
35082
+ var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$v);
34849
35083
 
34850
35084
  var background$1 = "".concat(ATHENS_GREY);
34851
35085
  var white$1 = "".concat(WHITE);
@@ -34891,31 +35125,20 @@ var TypeaheadInput = function TypeaheadInput(_ref) {
34891
35125
  };
34892
35126
 
34893
35127
  var backgroundColor$5 = WHITE;
34894
- var fallbackValues$v = {
35128
+ var fallbackValues$w = {
34895
35129
  backgroundColor: backgroundColor$5
34896
35130
  };
34897
35131
 
34898
- var _excluded$w = ["themeValues", "variant", "children", "extraStyles"];
35132
+ var _excluded$w = ["themeValues", "variant", "children", "extraStyles", "width"];
34899
35133
 
34900
- var CardVariantSwitcher$1 = function CardVariantSwitcher(_ref) {
34901
- var variant = _ref.variant,
34902
- children = _ref.children;
34903
- return variant === "vertical" ? /*#__PURE__*/React.createElement(Fragment$1, null, children) : /*#__PURE__*/React.createElement(Box, {
34904
- padding: "0",
34905
- extraStyles: "width: 100%"
34906
- }, /*#__PURE__*/React.createElement(Stack, {
34907
- childGap: "0",
34908
- maxWidth: "100%",
34909
- fullHeight: true
34910
- }, children));
34911
- };
34912
-
34913
- var Card = function Card(_ref2) {
34914
- var themeValues = _ref2.themeValues,
34915
- variant = _ref2.variant,
34916
- children = _ref2.children,
34917
- extraStyles = _ref2.extraStyles,
34918
- props = _objectWithoutProperties(_ref2, _excluded$w);
35134
+ var Card = function Card(_ref) {
35135
+ var themeValues = _ref.themeValues,
35136
+ variant = _ref.variant,
35137
+ children = _ref.children,
35138
+ extraStyles = _ref.extraStyles,
35139
+ _ref$width = _ref.width,
35140
+ width = _ref$width === void 0 ? "276px" : _ref$width,
35141
+ props = _objectWithoutProperties(_ref, _excluded$w);
34919
35142
 
34920
35143
  return /*#__PURE__*/React.createElement(BoxWithShadow$1, _extends({
34921
35144
  variant: "baseStandard",
@@ -34923,26 +35146,19 @@ var Card = function Card(_ref2) {
34923
35146
  borderRadius: "4px",
34924
35147
  padding: "0",
34925
35148
  margin: "0",
34926
- maxWidth: variant !== "vertical" ? "100%" : "276px",
34927
- minHeight: "100%",
34928
- minWidth: variant !== "vertical" && "276px",
35149
+ minWidth: width,
34929
35150
  extraStyles: extraStyles
34930
- }, props), /*#__PURE__*/React.createElement(Cover, {
34931
- singleChild: true,
34932
- fillCenter: true
34933
- }, /*#__PURE__*/React.createElement(CardVariantSwitcher$1, {
34934
- variant: variant
34935
- }, children)));
35151
+ }, props), /*#__PURE__*/React.createElement(Cover, null, children));
34936
35152
  };
34937
35153
 
34938
- var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$v);
35154
+ var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$w);
34939
35155
 
34940
35156
  var fontFamily$6 = "Public Sans, sans-serif";
34941
- var activeColor$5 = MATISSE_BLUE;
35157
+ var activeColor$6 = MATISSE_BLUE;
34942
35158
  var linkColor$3 = CHARADE_GREY;
34943
- var fallbackValues$w = {
35159
+ var fallbackValues$x = {
34944
35160
  fontFamily: fontFamily$6,
34945
- activeColor: activeColor$5,
35161
+ activeColor: activeColor$6,
34946
35162
  linkColor: linkColor$3
34947
35163
  };
34948
35164
 
@@ -34973,7 +35189,7 @@ var NavTab = function NavTab(_ref) {
34973
35189
  }, label));
34974
35190
  };
34975
35191
 
34976
- var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$w);
35192
+ var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$x);
34977
35193
 
34978
35194
  var NavTabs = function NavTabs(_ref) {
34979
35195
  var tabsConfig = _ref.tabsConfig,
@@ -36752,31 +36968,6 @@ const createFormState = formConfig => ({
36752
36968
  mapStateToProps: mapStateToProps
36753
36969
  });
36754
36970
 
36755
- var formatDelimiter = "_";
36756
- var phoneFormats = ["", "_", "__", "(___) ", "(___) _", "(___) __", "(___) ___-", "(___) ___-_", "(___) ___-__", "(___) ___-___", "(___) ___-____"];
36757
- var zipFormats = ["", "_", "__", "___", "____", "_____", "______", "_____-__", "_____-___", "_____-____"];
36758
- var creditCardFormats = ["", "_", "__", "___", "____", "____ _", "____ __", "____ ___", "____ ____", "____ ____ _", "____ ____ __", "____ ____ ___", "____ ____ ____", "____ ____ ____ _", "____ ____ ____ __", "____ ____ ____ ___", "____ ____ ____ ____"];
36759
- var moneyFormats = ["", "$0.0_", "$0.__", "$_.__", "$__.__", "$___.__", "$_,___.__", "$__,___.__", "$___,___.__", "$_,___,___.__", "$__,___,___.__", "$___,___,___.__", "$_,___,___,___.__", "$__,___,___,___.__", "$___,___,___,___.__", "$_,___,___,___,___.__"];
36760
- var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
36761
- var zipFormat = createFormat(zipFormats, formatDelimiter);
36762
- var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
36763
- var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
36764
- var phoneFormat = createFormat(phoneFormats, formatDelimiter);
36765
- var moneyFormat = createFormat(moneyFormats, formatDelimiter);
36766
-
36767
- var formats = /*#__PURE__*/Object.freeze({
36768
- __proto__: null,
36769
- formatDelimiter: formatDelimiter,
36770
- phoneFormats: phoneFormats,
36771
- moneyFormats: moneyFormats,
36772
- expirationDateFormats: expirationDateFormats,
36773
- zipFormat: zipFormat,
36774
- creditCardFormat: creditCardFormat,
36775
- expirationDateFormat: expirationDateFormat,
36776
- phoneFormat: phoneFormat,
36777
- moneyFormat: moneyFormat
36778
- });
36779
-
36780
36971
  var AddressForm = function AddressForm(_ref) {
36781
36972
  var _zipErrorMessages;
36782
36973
 
@@ -36924,39 +37115,6 @@ AddressForm.reducer = reducer;
36924
37115
  AddressForm.mapStateToProps = mapStateToProps$1;
36925
37116
  AddressForm.mapDispatchToProps = mapDispatchToProps;
36926
37117
 
36927
- var headerBackgroundColor = STORM_GREY;
36928
- var headerTextColor = WHITE;
36929
- var fallbackValues$x = {
36930
- headerBackgroundColor: headerBackgroundColor,
36931
- headerTextColor: headerTextColor
36932
- };
36933
-
36934
- var _excluded$x = ["themeValues", "children", "header", "extraStyles", "variant"];
36935
-
36936
- var CardWithHeader = function CardWithHeader(_ref) {
36937
- var themeValues = _ref.themeValues,
36938
- children = _ref.children,
36939
- header = _ref.header,
36940
- extraStyles = _ref.extraStyles,
36941
- variant = _ref.variant,
36942
- props = _objectWithoutProperties(_ref, _excluded$x);
36943
-
36944
- return /*#__PURE__*/React.createElement(Card$1, _extends({
36945
- extraStyles: extraStyles
36946
- }, props), /*#__PURE__*/React.createElement(Box, {
36947
- padding: "24px",
36948
- background: themeValues.headerBackgroundColor,
36949
- extraStyles: "\n border-radius: 4px 4px 0 0;\n "
36950
- }, /*#__PURE__*/React.createElement(Title$1, {
36951
- variant: "small",
36952
- color: themeValues.headerTextColor
36953
- }, header)), /*#__PURE__*/React.createElement(Box, {
36954
- padding: "24px"
36955
- }, children));
36956
- };
36957
-
36958
- var CardWithHeader$1 = themeComponent(CardWithHeader, "CardWithHeader", fallbackValues$x);
36959
-
36960
37118
  var ChangePasswordForm = function ChangePasswordForm(_ref) {
36961
37119
  var _newPasswordErrorMess;
36962
37120
 
@@ -43397,15 +43555,15 @@ var TitleModule = function TitleModule(_ref) {
43397
43555
  };
43398
43556
 
43399
43557
  var color$a = "#15749D";
43400
- var hoverColor$4 = "#116285";
43401
- var activeColor$6 = "#0E506D";
43558
+ var hoverColor$5 = "#116285";
43559
+ var activeColor$7 = "#0E506D";
43402
43560
  var linkColor$4 = "#3176AA";
43403
43561
  var fontWeight$6 = FONT_WEIGHT_REGULAR;
43404
43562
  var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
43405
43563
  var fallbackValues$D = {
43406
43564
  color: color$a,
43407
- hoverColor: hoverColor$4,
43408
- activeColor: activeColor$6,
43565
+ hoverColor: hoverColor$5,
43566
+ activeColor: activeColor$7,
43409
43567
  linkColor: linkColor$4,
43410
43568
  fontWeight: fontWeight$6,
43411
43569
  modalLinkHoverFocus: modalLinkHoverFocus
@@ -44333,7 +44491,7 @@ var fallbackValues$E = {
44333
44491
  labeledAmountTotal: labeledAmountTotal
44334
44492
  };
44335
44493
 
44336
- var _excluded$y = ["amount"],
44494
+ var _excluded$x = ["amount"],
44337
44495
  _excluded2$1 = ["amount"];
44338
44496
 
44339
44497
  var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
@@ -44478,7 +44636,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
44478
44636
  return fee.amount > 0;
44479
44637
  }).map(function (_ref5) {
44480
44638
  var amount = _ref5.amount,
44481
- rest = _objectWithoutProperties(_ref5, _excluded$y);
44639
+ rest = _objectWithoutProperties(_ref5, _excluded$x);
44482
44640
 
44483
44641
  return _objectSpread2(_objectSpread2({}, rest), {}, {
44484
44642
  amount: displayCurrency(amount)
@@ -45018,6 +45176,129 @@ PaymentFormCard$1.reducer = reducer$8;
45018
45176
  PaymentFormCard$1.mapStateToProps = mapStateToProps$9;
45019
45177
  PaymentFormCard$1.mapDispatchToProps = mapDispatchToProps$8;
45020
45178
 
45179
+ var DashboardIframe = styled.iframe.withConfig({
45180
+ displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
45181
+ componentId: "sc-j0cucj-0"
45182
+ })(["border:none;box-shadow:0 0 5px 0 ", ";display:none;"], ALTO_GREY);
45183
+
45184
+ /**
45185
+ * Component: PeriscopeDashboardIframe
45186
+ *
45187
+ * Used for rendering Citybase's periscope reporting dashboards in iframes.
45188
+ * Receives action props to trigger a request on mount for the iframe's url.
45189
+ * Receives a string prop if/when we receive the url result.
45190
+ * And receives action props to emit errors from failed iframe loading.
45191
+ *
45192
+ * The logic and api client methods to handle requests/response,
45193
+ * store the url, etc. should be provided from the app consuming this library.
45194
+ *
45195
+ * If the url request is pending, render a spinner.
45196
+ * If the url request failed, render a UI error state.
45197
+ **/
45198
+
45199
+ var DASHBOARD_SIZE_MESSAGE_TYPE = "dashboard_resize";
45200
+ var PERISCOPE_ORIGIN = "https://app.periscopedata.com";
45201
+
45202
+ var isValidMessage = function isValidMessage(message) {
45203
+ return message.isTrusted && message.origin === PERISCOPE_ORIGIN && message.data && message.data.event_type === DASHBOARD_SIZE_MESSAGE_TYPE;
45204
+ };
45205
+
45206
+ var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
45207
+ var url = _ref.url,
45208
+ requestDashboardUrl = _ref.requestDashboardUrl,
45209
+ periscopeDataPending = _ref.periscopeDataPending,
45210
+ periscopeDataSuccess = _ref.periscopeDataSuccess,
45211
+ periscopeDataFailure = _ref.periscopeDataFailure,
45212
+ periscopeDataRequestSuccess = _ref.periscopeDataRequestSuccess,
45213
+ periscopeDataRequestFailure = _ref.periscopeDataRequestFailure,
45214
+ _ref$timerMS = _ref.timerMS,
45215
+ timerMS = _ref$timerMS === void 0 ? 20000 : _ref$timerMS;
45216
+
45217
+ var _useState = useState(0),
45218
+ _useState2 = _slicedToArray(_useState, 2),
45219
+ height = _useState2[0],
45220
+ setHeight = _useState2[1];
45221
+
45222
+ var time = {
45223
+ timer: null
45224
+ };
45225
+ useEffect$1(function () {
45226
+ time.timer = setTimeout(function () {
45227
+ if (!periscopeDataSuccess) {
45228
+ periscopeDataRequestFailure();
45229
+ }
45230
+ }, timerMS);
45231
+ return function () {
45232
+ return clearTimeout(time.timer);
45233
+ };
45234
+ }, [periscopeDataSuccess]);
45235
+
45236
+ var Dashboard = function Dashboard(height) {
45237
+ return function (url) {
45238
+ return /*#__PURE__*/React.createElement(DashboardIframe, {
45239
+ src: url,
45240
+ width: "100%",
45241
+ height: height,
45242
+ "data-qa": "DashboardIframe",
45243
+ onLoad: function onLoad() {
45244
+ var iframe = document.querySelector("iframe");
45245
+ iframe.style.display = "initial";
45246
+ }
45247
+ });
45248
+ };
45249
+ };
45250
+
45251
+ var validatePeriscope = function validatePeriscope(message) {
45252
+ if (isValidMessage(message)) {
45253
+ setHeight(message.data.dashboard_height + 100);
45254
+
45255
+ if (!periscopeDataSuccess) {
45256
+ clearTimeout(time.timer);
45257
+ periscopeDataRequestSuccess();
45258
+ }
45259
+ }
45260
+ };
45261
+
45262
+ useLayoutEffect(function () {
45263
+ window.addEventListener("message", validatePeriscope);
45264
+ requestDashboardUrl();
45265
+ return function () {
45266
+ return window.removeEventListener("message", validatePeriscope);
45267
+ };
45268
+ }, [requestDashboardUrl]);
45269
+ return /*#__PURE__*/React.createElement(Fragment$1, null, /*#__PURE__*/React.createElement(BoxWithShadow$1, {
45270
+ padding: "0",
45271
+ minWidth: "100%",
45272
+ minHeight: "592px",
45273
+ variant: "baseStandard",
45274
+ background: "#fff",
45275
+ borderRadius: "4px",
45276
+ extraStyles: "display: flex; justify-content: center; align-items: center; flex-direction: column;"
45277
+ }, periscopeDataPending && !periscopeDataSuccess && /*#__PURE__*/React.createElement(Cover, {
45278
+ minHeight: "100%",
45279
+ singleChild: true
45280
+ }, /*#__PURE__*/React.createElement(Center, {
45281
+ intrinsic: true
45282
+ }, /*#__PURE__*/React.createElement(Spinner$2, {
45283
+ size: "100"
45284
+ }))), periscopeDataFailure && !periscopeDataSuccess && /*#__PURE__*/React.createElement(Box, {
45285
+ padding: "64px"
45286
+ }, /*#__PURE__*/React.createElement(Center, {
45287
+ intrinsic: true
45288
+ }, /*#__PURE__*/React.createElement(Box, {
45289
+ padding: "0 0 2rem"
45290
+ }, /*#__PURE__*/React.createElement(PeriscopeFailedIcon, null)), /*#__PURE__*/React.createElement(Heading$1, {
45291
+ variant: "h3",
45292
+ weight: "700"
45293
+ }, "Something Went Wrong"), /*#__PURE__*/React.createElement(Paragraph$1, {
45294
+ variant: "p",
45295
+ extraStyles: "text-align: center;"
45296
+ }, "There was an issue trying to load the dashboard."), /*#__PURE__*/React.createElement(Paragraph$1, {
45297
+ variant: "p",
45298
+ extraStyles: "text-align: center;"
45299
+ }, "Your organization may not have a dashboard configured."))), !periscopeDataFailure && url && Dashboard(height)(url)));
45300
+ };
45301
+
45021
45302
  var PhoneForm = function PhoneForm(_ref) {
45022
45303
  var _phoneErrorMessage;
45023
45304
 
@@ -45906,67 +46187,17 @@ var Timeout = function Timeout(_ref) {
45906
46187
 
45907
46188
  var Timeout$1 = withWindowSize(Timeout);
45908
46189
 
45909
- var titleColor$1 = BRIGHT_GREY;
45910
- var textColor$3 = BRIGHT_GREY;
45911
- var titleWeight = FONT_WEIGHT_BOLD;
45912
- var imageBackgroundColor = INFO_BLUE;
45913
- var fallbackValues$K = {
45914
- textColor: textColor$3,
45915
- titleColor: titleColor$1,
45916
- titleWeight: titleWeight,
45917
- imageBackgroundColor: imageBackgroundColor
45918
- };
45919
-
45920
- var WelcomeCard = function WelcomeCard(_ref) {
45921
- var themeValues = _ref.themeValues,
45922
- title = _ref.title,
45923
- text = _ref.text,
45924
- buttonText = _ref.buttonText,
45925
- url = _ref.url,
45926
- imageSrc = _ref.imageSrc,
45927
- newTab = _ref.newTab,
45928
- variant = _ref.variant;
45929
- return /*#__PURE__*/React.createElement(Card$1, {
45930
- variant: variant
45931
- }, imageSrc && /*#__PURE__*/React.createElement(Cover, null, /*#__PURE__*/React.createElement("img", {
45932
- src: imageSrc,
45933
- style: {
45934
- background: "".concat(themeValues.imageBackgroundColor),
45935
- objectFit: "none",
45936
- height: "150px"
45937
- }
45938
- })), /*#__PURE__*/React.createElement(Box, {
45939
- padding: "24px"
45940
- }, /*#__PURE__*/React.createElement(Title$1, {
45941
- variant: "small",
45942
- color: themeValues.titleColor,
45943
- weight: themeValues.titleWeight
45944
- }, title), /*#__PURE__*/React.createElement(Paragraph$1, {
45945
- color: themeValues.textColor
45946
- }, text), url && buttonText && /*#__PURE__*/React.createElement(Box, {
45947
- extraStyles: "margin-top: 4rem; padding: 0"
45948
- }, /*#__PURE__*/React.createElement(ButtonWithLink, {
45949
- extraStyles: "margin: 0; width: 100%",
45950
- linkExtraStyles: "text-decoration:none",
45951
- url: url,
45952
- text: buttonText,
45953
- newTab: newTab
45954
- }))));
45955
- };
45956
-
45957
- var WelcomeCard$1 = themeComponent(WelcomeCard, "WelcomeCard", fallbackValues$K);
45958
-
45959
46190
  var fontWeight$9 = "600";
45960
46191
  var fontColor$1 = WHITE;
45961
46192
  var textAlign$1 = "left";
45962
- var headerBackgroundColor$1 = BRIGHT_GREY;
45963
- var imageBackgroundColor$1 = MATISSE_BLUE;
45964
- var fallbackValues$L = {
46193
+ var headerBackgroundColor = BRIGHT_GREY;
46194
+ var imageBackgroundColor = MATISSE_BLUE;
46195
+ var fallbackValues$K = {
45965
46196
  fontWeight: fontWeight$9,
45966
46197
  fontColor: fontColor$1,
45967
46198
  textAlign: textAlign$1,
45968
- headerBackgroundColor: headerBackgroundColor$1,
45969
- imageBackgroundColor: imageBackgroundColor$1
46199
+ headerBackgroundColor: headerBackgroundColor,
46200
+ imageBackgroundColor: imageBackgroundColor
45970
46201
  };
45971
46202
 
45972
46203
  var WelcomeImage = styled.img.withConfig({
@@ -46008,7 +46239,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
46008
46239
  })))));
46009
46240
  };
46010
46241
 
46011
- var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$L));
46242
+ var WelcomeModule$1 = /*#__PURE__*/memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$K));
46012
46243
 
46013
46244
  var WorkflowTile = function WorkflowTile(_ref) {
46014
46245
  var _ref$workflowName = _ref.workflowName,
@@ -46057,131 +46288,8 @@ var WorkflowTile = function WorkflowTile(_ref) {
46057
46288
  }))));
46058
46289
  };
46059
46290
 
46060
- var DashboardIframe = styled.iframe.withConfig({
46061
- displayName: "PeriscopeDashboardIframestyled__DashboardIframe",
46062
- componentId: "sc-j0cucj-0"
46063
- })(["border:none;box-shadow:0 0 5px 0 ", ";display:none;"], ALTO_GREY);
46064
-
46065
- /**
46066
- * Component: PeriscopeDashboardIframe
46067
- *
46068
- * Used for rendering Citybase's periscope reporting dashboards in iframes.
46069
- * Receives action props to trigger a request on mount for the iframe's url.
46070
- * Receives a string prop if/when we receive the url result.
46071
- * And receives action props to emit errors from failed iframe loading.
46072
- *
46073
- * The logic and api client methods to handle requests/response,
46074
- * store the url, etc. should be provided from the app consuming this library.
46075
- *
46076
- * If the url request is pending, render a spinner.
46077
- * If the url request failed, render a UI error state.
46078
- **/
46079
-
46080
- var DASHBOARD_SIZE_MESSAGE_TYPE = "dashboard_resize";
46081
- var PERISCOPE_ORIGIN = "https://app.periscopedata.com";
46082
-
46083
- var isValidMessage = function isValidMessage(message) {
46084
- return message.isTrusted && message.origin === PERISCOPE_ORIGIN && message.data && message.data.event_type === DASHBOARD_SIZE_MESSAGE_TYPE;
46085
- };
46086
-
46087
- var PeriscopeDashboardIframe = function PeriscopeDashboardIframe(_ref) {
46088
- var url = _ref.url,
46089
- requestDashboardUrl = _ref.requestDashboardUrl,
46090
- periscopeDataPending = _ref.periscopeDataPending,
46091
- periscopeDataSuccess = _ref.periscopeDataSuccess,
46092
- periscopeDataFailure = _ref.periscopeDataFailure,
46093
- periscopeDataRequestSuccess = _ref.periscopeDataRequestSuccess,
46094
- periscopeDataRequestFailure = _ref.periscopeDataRequestFailure,
46095
- _ref$timerMS = _ref.timerMS,
46096
- timerMS = _ref$timerMS === void 0 ? 20000 : _ref$timerMS;
46097
-
46098
- var _useState = useState(0),
46099
- _useState2 = _slicedToArray(_useState, 2),
46100
- height = _useState2[0],
46101
- setHeight = _useState2[1];
46102
-
46103
- var time = {
46104
- timer: null
46105
- };
46106
- useEffect$1(function () {
46107
- time.timer = setTimeout(function () {
46108
- if (!periscopeDataSuccess) {
46109
- periscopeDataRequestFailure();
46110
- }
46111
- }, timerMS);
46112
- return function () {
46113
- return clearTimeout(time.timer);
46114
- };
46115
- }, [periscopeDataSuccess]);
46116
-
46117
- var Dashboard = function Dashboard(height) {
46118
- return function (url) {
46119
- return /*#__PURE__*/React.createElement(DashboardIframe, {
46120
- src: url,
46121
- width: "100%",
46122
- height: height,
46123
- "data-qa": "DashboardIframe",
46124
- onLoad: function onLoad() {
46125
- var iframe = document.querySelector("iframe");
46126
- iframe.style.display = "initial";
46127
- }
46128
- });
46129
- };
46130
- };
46131
-
46132
- var validatePeriscope = function validatePeriscope(message) {
46133
- if (isValidMessage(message)) {
46134
- setHeight(message.data.dashboard_height + 100);
46135
-
46136
- if (!periscopeDataSuccess) {
46137
- clearTimeout(time.timer);
46138
- periscopeDataRequestSuccess();
46139
- }
46140
- }
46141
- };
46142
-
46143
- useLayoutEffect(function () {
46144
- window.addEventListener("message", validatePeriscope);
46145
- requestDashboardUrl();
46146
- return function () {
46147
- return window.removeEventListener("message", validatePeriscope);
46148
- };
46149
- }, [requestDashboardUrl]);
46150
- return /*#__PURE__*/React.createElement(Fragment$1, null, /*#__PURE__*/React.createElement(BoxWithShadow$1, {
46151
- padding: "0",
46152
- minWidth: "100%",
46153
- minHeight: "592px",
46154
- variant: "baseStandard",
46155
- background: "#fff",
46156
- borderRadius: "4px",
46157
- extraStyles: "display: flex; justify-content: center; align-items: center; flex-direction: column;"
46158
- }, periscopeDataPending && !periscopeDataSuccess && /*#__PURE__*/React.createElement(Cover, {
46159
- minHeight: "100%",
46160
- singleChild: true
46161
- }, /*#__PURE__*/React.createElement(Center, {
46162
- intrinsic: true
46163
- }, /*#__PURE__*/React.createElement(Spinner$2, {
46164
- size: "100"
46165
- }))), periscopeDataFailure && !periscopeDataSuccess && /*#__PURE__*/React.createElement(Box, {
46166
- padding: "64px"
46167
- }, /*#__PURE__*/React.createElement(Center, {
46168
- intrinsic: true
46169
- }, /*#__PURE__*/React.createElement(Box, {
46170
- padding: "0 0 2rem"
46171
- }, /*#__PURE__*/React.createElement(PeriscopeFailedIcon, null)), /*#__PURE__*/React.createElement(Heading$1, {
46172
- variant: "h3",
46173
- weight: "700"
46174
- }, "Something Went Wrong"), /*#__PURE__*/React.createElement(Paragraph$1, {
46175
- variant: "p",
46176
- extraStyles: "text-align: center;"
46177
- }, "There was an issue trying to load the dashboard."), /*#__PURE__*/React.createElement(Paragraph$1, {
46178
- variant: "p",
46179
- extraStyles: "text-align: center;"
46180
- }, "Your organization may not have a dashboard configured."))), !periscopeDataFailure && url && Dashboard(height)(url)));
46181
- };
46182
-
46183
46291
  var pageBackground = "#FBFCFD";
46184
- var fallbackValues$M = {
46292
+ var fallbackValues$L = {
46185
46293
  pageBackground: pageBackground
46186
46294
  };
46187
46295
 
@@ -46228,7 +46336,7 @@ var CenterSingle = function CenterSingle(_ref) {
46228
46336
  })));
46229
46337
  };
46230
46338
 
46231
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$M));
46339
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$L));
46232
46340
 
46233
46341
  var CenterStack = function CenterStack(_ref) {
46234
46342
  var header = _ref.header,
@@ -46270,7 +46378,7 @@ var CenterStack = function CenterStack(_ref) {
46270
46378
  })));
46271
46379
  };
46272
46380
 
46273
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$M));
46381
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$L));
46274
46382
 
46275
46383
  var CenterSingle$2 = function CenterSingle(_ref) {
46276
46384
  var header = _ref.header,
@@ -46315,7 +46423,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
46315
46423
  })));
46316
46424
  };
46317
46425
 
46318
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$M));
46426
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$L));
46319
46427
 
46320
46428
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
46321
46429
  var header = _ref.header,
@@ -46369,7 +46477,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
46369
46477
  })));
46370
46478
  };
46371
46479
 
46372
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$M));
46480
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$L));
46373
46481
 
46374
46482
  var SidebarStackContent = function SidebarStackContent(_ref) {
46375
46483
  var header = _ref.header,
@@ -46440,45 +46548,15 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
46440
46548
  })));
46441
46549
  };
46442
46550
 
46443
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$M));
46551
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$L));
46444
46552
 
46445
46553
 
46446
46554
 
46447
- var index$4 = /*#__PURE__*/Object.freeze({
46555
+ var index$5 = /*#__PURE__*/Object.freeze({
46448
46556
  __proto__: null,
46449
46557
  colors: colors,
46450
46558
  fontWeights: style_constants
46451
46559
  });
46452
46560
 
46453
- var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
46454
- var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
46455
- // Only move focus when "hasErrors" is true
46456
- // "hasErrors" is managed by container page of form
46457
- // typically set to "true" on attempted form submission, if errors exist
46458
- // Reset errors, if provided, resets the error state tracking in order to properly re-run
46459
- useEffect$1(function () {
46460
- if (hasErrors) {
46461
- var _inputsWithErrors$;
46462
-
46463
- var inputsWithErrors = document.querySelectorAll("input[aria-invalid=true]");
46464
- inputsWithErrors === null || inputsWithErrors === void 0 ? void 0 : (_inputsWithErrors$ = inputsWithErrors[0]) === null || _inputsWithErrors$ === void 0 ? void 0 : _inputsWithErrors$.focus();
46465
- }
46466
-
46467
- return function () {
46468
- return resetHasErrors(false);
46469
- };
46470
- });
46471
- };
46472
-
46473
-
46474
-
46475
- var index$5 = /*#__PURE__*/Object.freeze({
46476
- __proto__: null,
46477
- formats: formats,
46478
- general: general,
46479
- theme: themeUtils,
46480
- useFocusInvalidInput: useFocusInvalidInput
46481
- });
46482
-
46483
- export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon, BankIcon, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CardWithHeader$1 as CardWithHeader, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackReversalIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink, InternalUserInfoForm, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentIcon, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioSection$1 as RadioSection, Reel, RefundIcon, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, Switcher, TabSidebar$1 as TabSidebar, TableListItem, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletIcon$1 as WalletIcon, WarningIconXS, WelcomeCard$1 as WelcomeCard, WelcomeModule$1 as WelcomeModule, WorkflowTile, cardRegistry, index$4 as constants, createPartialAmountFormState, index$5 as util, withWindowSize };
46561
+ export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, Alert$1 as Alert, AllocatedIcon, AmountCallout$1 as AmountCallout, AutopayOnIcon, BankIcon, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CarrotIcon$1 as CarrotIcon, CashIcon, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackReversalIcon, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FooterWithSubfooter$1 as FooterWithSubfooter, ForgotPasswordForm, ForgotPasswordIcon$1 as ForgotPasswordIcon, FormContainer$1 as FormContainer, FormFooterPanel$1 as FormFooterPanel, FormInput$1 as FormInput, FormInputColumn, FormInputRow, FormSelect$1 as FormSelect, FormattedAddress$1 as FormattedAddress, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GoToEmailIcon$1 as GoToEmailIcon, Grid, HamburgerButton, Heading$1 as Heading, HighlightTabRow$1 as HighlightTabRow, IconAdd, IconQuitLarge, Imposter, InternalLink, InternalUserInfoForm, Jumbo$1 as Jumbo, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, Loading, LoginForm, Modal$1 as Modal, Module$1 as Module, Motion, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoCustomerResultsIcon, NoPaymentResultsIcon, NotFoundIcon, Obligation, iconsMap as ObligationIcons, Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentIcon, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PhoneForm, Placeholder$1 as Placeholder, Popover$1 as Popover, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioSection$1 as RadioSection, Reel, RefundIcon, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess, RoutingNumberImage, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, Spinner$2 as Spinner, Stack, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, Switcher, TabSidebar$1 as TabSidebar, TableListItem, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VoidedIcon, WalletIcon$1 as WalletIcon, WarningIconXS, WelcomeModule$1 as WelcomeModule, WorkflowTile, cardRegistry, index$5 as constants, createPartialAmountFormState, index$4 as util, withWindowSize };
46484
46562
  //# sourceMappingURL=index.esm.js.map