@thecb/components 11.8.1-beta.0 → 11.9.0

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 (30) hide show
  1. package/dist/index.cjs.js +836 -466
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.esm.js +831 -466
  4. package/dist/index.esm.js.map +1 -1
  5. package/package.json +1 -1
  6. package/src/components/atoms/card-type/CardType.js +47 -0
  7. package/src/components/atoms/card-type/CardType.stories.js +86 -0
  8. package/src/components/atoms/card-type/index.js +3 -0
  9. package/src/components/atoms/formatted-credit-card/FormattedCreditCard.js +3 -2
  10. package/src/components/atoms/icons/AmExLargeIcon.js +54 -0
  11. package/src/components/atoms/icons/DiscoverLargeIcon.js +137 -0
  12. package/src/components/atoms/icons/IconAdd.js +2 -2
  13. package/src/components/atoms/icons/MasterCardLargeIcon.js +35 -0
  14. package/src/components/atoms/icons/VisaLargeIcon.js +40 -0
  15. package/src/components/atoms/icons/index.js +9 -1
  16. package/src/components/atoms/index.js +1 -1
  17. package/src/components/atoms/password-requirements/PasswordRequirements.js +3 -3
  18. package/src/components/molecules/index.js +1 -0
  19. package/src/components/molecules/popover/Popover.js +1 -15
  20. package/src/components/molecules/tooltip/Tooltip.js +202 -0
  21. package/src/components/molecules/tooltip/Tooltip.mdx +15 -0
  22. package/src/components/molecules/tooltip/Tooltip.stories.js +237 -0
  23. package/src/components/molecules/tooltip/Tooltip.theme.js +9 -0
  24. package/src/components/molecules/tooltip/index.d.ts +34 -0
  25. package/src/components/molecules/tooltip/index.js +3 -0
  26. package/src/util/general.js +14 -0
  27. package/src/components/atoms/display-card/DisplayCard.js +0 -88
  28. package/src/components/atoms/display-card/DisplayCard.mdx +0 -13
  29. package/src/components/atoms/display-card/DisplayCard.stories.js +0 -165
  30. package/src/components/atoms/display-card/index.js +0 -3
package/dist/index.esm.js CHANGED
@@ -1871,6 +1871,20 @@ var adjustHexColor = function adjustHexColor(hex, percent, action) {
1871
1871
  // Convert back to hex
1872
1872
  return "#".concat(((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1).padStart(6, "0"));
1873
1873
  };
1874
+ var arrowBorder = function arrowBorder(borderColor, direction) {
1875
+ var width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "8px";
1876
+ var angle = "".concat(width, " solid transparent");
1877
+ var straight = "".concat(width, " solid ").concat(borderColor);
1878
+ if (direction == "down") {
1879
+ return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
1880
+ } else if (direction == "up") {
1881
+ return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-bottom: ").concat(straight);
1882
+ } else if (direction == "left") {
1883
+ return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-right: ").concat(straight);
1884
+ } else if (direction == "right") {
1885
+ return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-left: ").concat(straight);
1886
+ }
1887
+ };
1874
1888
 
1875
1889
  var general = /*#__PURE__*/Object.freeze({
1876
1890
  __proto__: null,
@@ -1894,7 +1908,8 @@ var general = /*#__PURE__*/Object.freeze({
1894
1908
  titleCaseString: titleCaseString,
1895
1909
  kebabCaseString: kebabCaseString,
1896
1910
  wrapIndex: wrapIndex,
1897
- adjustHexColor: adjustHexColor
1911
+ adjustHexColor: adjustHexColor,
1912
+ arrowBorder: arrowBorder
1898
1913
  });
1899
1914
 
1900
1915
  var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
@@ -14855,7 +14870,9 @@ var GenericErrorIcon = function GenericErrorIcon() {
14855
14870
  };
14856
14871
 
14857
14872
  var IconAdd = function IconAdd(_ref) {
14858
- var _ref$strokeWidth = _ref.strokeWidth,
14873
+ var _ref$stroke = _ref.stroke,
14874
+ stroke = _ref$stroke === void 0 ? "none" : _ref$stroke,
14875
+ _ref$strokeWidth = _ref.strokeWidth,
14859
14876
  strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth;
14860
14877
  return /*#__PURE__*/React__default.createElement("svg", {
14861
14878
  xmlns: "http://www.w3.org/2000/svg",
@@ -14870,7 +14887,7 @@ var IconAdd = function IconAdd(_ref) {
14870
14887
  })), /*#__PURE__*/React__default.createElement("g", {
14871
14888
  fill: "none",
14872
14889
  fillRule: "evenodd",
14873
- stroke: "none",
14890
+ stroke: stroke,
14874
14891
  strokeWidth: strokeWidth
14875
14892
  }, /*#__PURE__*/React__default.createElement("g", {
14876
14893
  transform: "translate(-407 -563)"
@@ -18995,6 +19012,238 @@ var WireSmallIcon = function WireSmallIcon() {
18995
19012
  }));
18996
19013
  };
18997
19014
 
19015
+ var VisaLargeIcon = function VisaLargeIcon() {
19016
+ return /*#__PURE__*/React__default.createElement("svg", {
19017
+ width: "36",
19018
+ height: "24",
19019
+ viewBox: "0 0 36 24",
19020
+ fill: "none",
19021
+ xmlns: "http://www.w3.org/2000/svg",
19022
+ role: "img",
19023
+ "aria-label": "Visa"
19024
+ }, /*#__PURE__*/React__default.createElement("path", {
19025
+ fillRule: "evenodd",
19026
+ clipRule: "evenodd",
19027
+ d: "M34.858 24H1.14296C0.511437 24 0 23.4738 0 22.8252V1.17485C0 0.5262 0.511437 0 1.14296 0H34.858C35.4897 0 36 0.5262 36 1.17485V22.8252C36 23.4738 35.4897 24 34.858 24Z",
19028
+ fill: "#F6F6F9"
19029
+ }), /*#__PURE__*/React__default.createElement("g", {
19030
+ clipPath: "url(#clip0_visa_large)"
19031
+ }, /*#__PURE__*/React__default.createElement("path", {
19032
+ d: "M15.1125 7.63715L11.9703 15.1338H9.92036L8.37411 9.15114C8.28024 8.78265 8.19861 8.64765 7.91312 8.4924C7.44699 8.23952 6.67725 7.99227 6 7.85502L6.04601 7.63715H9.34586C9.71649 7.63715 10.0446 7.91715 10.1401 8.40152L10.9567 12.7395L13.0749 7.63702H15.1125V7.63715ZM23.1447 12.6864C23.153 10.7078 20.4087 10.5988 20.4276 9.71489C20.4335 9.44589 20.6895 9.15989 21.2502 9.08689C21.528 9.05052 22.2936 9.02277 23.162 9.42239L23.5026 7.83266C23.0361 7.66328 22.4357 7.50027 21.6887 7.50027C19.7718 7.50027 18.4229 8.51927 18.4115 9.97839C18.399 11.0576 19.3743 11.6599 20.109 12.0185C20.8649 12.3858 21.1185 12.6218 21.1157 12.9503C21.1103 13.4531 20.5128 13.6751 19.9545 13.6839C18.9797 13.6989 18.414 13.4201 17.9633 13.2105L17.6117 14.8529C17.9648 15.0608 18.9012 15.2421 19.7684 15.2513C21.8057 15.2513 23.1384 14.2449 23.1447 12.6864ZM28.2065 15.134H30L28.4345 7.63715H26.779C26.4066 7.63715 26.0927 7.85389 25.9536 8.18715L23.0436 15.1338H25.0799L25.4841 14.0141H27.9723L28.2065 15.1338V15.134ZM26.0426 12.4778L27.0633 9.66302L27.6507 12.4778H26.0426ZM17.8833 7.63715L16.2797 15.1338H14.3405L15.9447 7.63715H17.8833Z",
19033
+ fill: "#1434CB"
19034
+ })), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
19035
+ id: "clip0_visa_large"
19036
+ }, /*#__PURE__*/React__default.createElement("rect", {
19037
+ width: "24",
19038
+ height: "7.75097",
19039
+ fill: "white",
19040
+ transform: "translate(6 7.5)"
19041
+ }))));
19042
+ };
19043
+
19044
+ var AmExLargeIcon = function AmExLargeIcon() {
19045
+ return /*#__PURE__*/React__default.createElement("svg", {
19046
+ width: "36",
19047
+ height: "24",
19048
+ viewBox: "0 0 36 24",
19049
+ fill: "none",
19050
+ xmlns: "http://www.w3.org/2000/svg",
19051
+ role: "img",
19052
+ "aria-label": "American Express"
19053
+ }, /*#__PURE__*/React__default.createElement("g", {
19054
+ clipPath: "url(#clip0_amex_large)"
19055
+ }, /*#__PURE__*/React__default.createElement("g", {
19056
+ clipPath: "url(#clip1_amex_large)"
19057
+ }, /*#__PURE__*/React__default.createElement("path", {
19058
+ d: "M32.868 21.376L31.204 19.52L29.4761 21.376H26.084H18.788V12.736H15.396L19.62 3.072H23.7161L25.188 6.4V3.072H30.3079L31.204 5.568L32.1 3.072H36.004V1.6C36.004 0.704 35.2999 0 34.404 0H0.0999999C-0.795999 0 -1.5 0.704 -1.5 1.6V22.4C-1.5 23.296 -0.795999 24 0.0999999 24H34.404C35.2999 24 36.004 23.296 36.004 22.4V21.376H32.868Z",
19059
+ fill: "#0071CE"
19060
+ }), /*#__PURE__*/React__default.createElement("path", {
19061
+ d: "M33.3161 20.352H36.004L32.484 16.576L36.004 12.864H33.38L31.14 15.296L28.9639 12.864H26.2759L29.86 16.64L26.2759 20.352H28.9L31.14 17.92L33.3161 20.352Z",
19062
+ fill: "#0071CE"
19063
+ }), /*#__PURE__*/React__default.createElement("path", {
19064
+ d: "M21.9878 18.624V17.472H26.2118V15.744H21.9878V14.592H26.2759V12.864H19.9398V20.352H26.2759V18.624H21.9878Z",
19065
+ fill: "#0071CE"
19066
+ }), /*#__PURE__*/React__default.createElement("path", {
19067
+ d: "M34.02 11.776H35.94V4.224L32.868 4.288L31.204 8.96L29.4761 4.288H26.2759V11.776H28.3241V6.528L30.244 11.776H32.036L34.02 6.528V11.776Z",
19068
+ fill: "#0071CE"
19069
+ }), /*#__PURE__*/React__default.createElement("path", {
19070
+ d: "M23.012 4.28796H20.388L17.06 11.776H19.2999L19.94 10.304H23.396L24.036 11.776H26.34L23.012 4.28796ZM20.6439 8.57596L21.6679 6.14396L22.692 8.57596H20.6439Z",
19071
+ fill: "#0071CE"
19072
+ }), /*#__PURE__*/React__default.createElement("path", {
19073
+ d: "M34.148 16.3839L36.004 18.432V14.3359L34.148 16.3839Z",
19074
+ fill: "#0071CE"
19075
+ }))), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
19076
+ id: "clip0_amex_large"
19077
+ }, /*#__PURE__*/React__default.createElement("rect", {
19078
+ width: "36",
19079
+ height: "24",
19080
+ rx: "1.5",
19081
+ fill: "white"
19082
+ })), /*#__PURE__*/React__default.createElement("clipPath", {
19083
+ id: "clip1_amex_large"
19084
+ }, /*#__PURE__*/React__default.createElement("rect", {
19085
+ width: "36",
19086
+ height: "24",
19087
+ fill: "white"
19088
+ }))));
19089
+ };
19090
+
19091
+ var DiscoverLargeIcon = function DiscoverLargeIcon() {
19092
+ return /*#__PURE__*/React__default.createElement("svg", {
19093
+ width: "36",
19094
+ height: "24",
19095
+ viewBox: "0 0 36 24",
19096
+ fill: "none",
19097
+ xmlns: "http://www.w3.org/2000/svg",
19098
+ role: "img",
19099
+ "aria-label": "Discover"
19100
+ }, /*#__PURE__*/React__default.createElement("g", {
19101
+ clipPath: "url(#clip0_discover_large)"
19102
+ }, /*#__PURE__*/React__default.createElement("path", {
19103
+ d: "M34.8144 0H1.18564C0.529586 0 0 0.552009 0 1.23584V22.7642C0 23.448 0.529586 24 1.18564 24H34.8144C35.4704 24 36 23.448 36 22.7642V1.23584C36 0.552009 35.4704 0 34.8144 0ZM34.2294 12C34.2294 18.3975 29.2538 23.5881 23.1122 23.5881H1.18564C1.13031 23.5881 1.07893 23.5839 1.02756 23.5716C0.976178 23.5592 0.9248 23.5428 0.877374 23.5221C0.810188 23.4933 0.746954 23.448 0.691623 23.3985C0.652103 23.3657 0.616533 23.3286 0.584916 23.2874C0.470304 23.1432 0.395214 22.9619 0.395214 22.7601V1.23584C0.395214 1.06694 0.446592 0.906282 0.529586 0.774459C0.557252 0.729146 0.588869 0.687951 0.624438 0.650876C0.695576 0.576725 0.782523 0.514934 0.877374 0.47274C0.9248 0.453141 0.976178 0.436664 1.02756 0.424305C1.07893 0.411947 1.13031 0.407828 1.18564 0.407828H23.1122C29.2497 0.407828 34.2294 5.59424 34.2294 11.9959V12Z",
19104
+ fill: "url(#paint0_linear_discover_large)"
19105
+ }), /*#__PURE__*/React__default.createElement("path", {
19106
+ d: "M3.06678 9.25305H1.66773V13.928H3.06284C3.80189 13.928 4.33937 13.7618 4.80968 13.388C5.36693 12.9462 5.69891 12.2816 5.69891 11.5943C5.69891 10.2160 4.61997 9.25305 3.07074 9.25305H3.06678ZM4.18128 12.7649C3.88092 13.0217 3.49361 13.1350 2.87708 13.1350H2.62019V10.0423H2.87708C3.49361 10.0423 3.86907 10.1480 4.18128 10.4199C4.51326 10.6993 4.71087 11.1373 4.71087 11.583C4.71087 12.0286 4.51326 12.4817 4.18128 12.7612V12.7649Z",
19107
+ fill: "#261F20"
19108
+ }), /*#__PURE__*/React__default.createElement("path", {
19109
+ d: "M7.08614 9.25305H6.13367V13.928H7.08614V9.25305Z",
19110
+ fill: "#261F20"
19111
+ }), /*#__PURE__*/React__default.createElement("path", {
19112
+ d: "M9.42188 11.0467C8.84882 10.8428 8.68283 10.7106 8.68283 10.4576C8.68283 10.1631 8.98319 9.94031 9.39413 9.94031C9.67875 9.94031 9.91589 10.0536 10.1649 10.318L10.6628 9.69486C10.2518 9.35123 9.76175 9.17725 9.22427 9.17725C8.35875 9.17725 7.69874 9.75150 7.69874 10.518C7.69874 11.1638 8.00700 11.4923 8.90415 11.7982C9.27567 11.9228 9.46929 12.0097 9.56415 12.0625C9.75386 12.1796 9.84870 12.3495 9.84870 12.5459C9.84870 12.9235 9.53253 13.2068 9.10578 13.2068C8.65113 13.2068 8.28366 12.9877 8.06241 12.5836L7.44586 13.1501C7.88445 13.7656 8.41407 14.0412 9.14119 14.0412C10.1331 14.0412 10.8286 13.4106 10.8286 12.5081C10.8286 11.7642 10.5087 11.4281 9.42188 11.1005V11.0467Z",
19113
+ fill: "#261F20"
19114
+ }), /*#__PURE__*/React__default.createElement("path", {
19115
+ d: "M11.1291 11.5943C11.1291 12.9688 12.2595 14.0336 13.7099 14.0336C14.1209 14.0336 14.4727 13.9581 14.9073 13.7618V12.6893C14.524 13.0556 14.1881 13.2029 13.7534 13.2029C12.7932 13.2029 12.1093 12.5383 12.1093 11.5905C12.1093 10.6917 12.8128 10.0056 13.7099 10.0056C14.1644 10.0056 14.5082 10.1604 14.9073 10.5105V9.43804C14.4885 9.23414 14.1446 9.15106 13.7336 9.15106C12.2871 9.15106 11.1291 10.2386 11.1291 11.598V11.5943Z",
19116
+ fill: "#261F20"
19117
+ }), /*#__PURE__*/React__default.createElement("path", {
19118
+ d: "M22.4756 12.3911L21.1674 9.25305H20.1281L22.2029 14.045H22.7167L24.8312 9.25305H23.7957L22.4756 12.3911Z",
19119
+ fill: "#261F20"
19120
+ }), /*#__PURE__*/React__default.createElement("path", {
19121
+ d: "M25.262 13.928H27.9692V13.1350H26.2145V11.8737H27.902V11.0808H26.2145V10.0461H27.9692V9.25305H25.262V13.928Z",
19122
+ fill: "#261F20"
19123
+ }), /*#__PURE__*/React__default.createElement("path", {
19124
+ d: "M31.7474 10.6314C31.7474 9.75528 31.1150 9.25305 29.9164 9.25305H28.6014V13.928H29.5539V12.0512H29.6804L31.0004 13.928H32.1742L30.6329 11.9568C31.3519 11.8171 31.7474 11.3488 31.7474 10.6314ZM29.8346 11.4016H29.5539V9.98564H29.8464C30.4393 9.98564 30.7633 10.2236 30.7633 10.6805C30.7633 11.1374 30.4393 11.4016 29.8305 11.4016H29.8346Z",
19125
+ fill: "#261F20"
19126
+ }), /*#__PURE__*/React__default.createElement("path", {
19127
+ d: "M32.5062 9.49845C32.5062 9.41537 32.4469 9.37005 32.3442 9.37005H32.2059V9.78167H32.3087V9.62317L32.4312 9.78167H32.5577L32.4153 9.61173C32.4746 9.59663 32.5103 9.55509 32.5103 9.49845H32.5062ZM32.3244 9.55509H32.3087V9.44558H32.3285C32.3798 9.44558 32.4075 9.46446 32.4075 9.49845C32.4075 9.53244 32.3798 9.55509 32.3285 9.55509H32.3244Z",
19128
+ fill: "#261F20"
19129
+ }), /*#__PURE__*/React__default.createElement("path", {
19130
+ d: "M32.364 9.21524C32.1545 9.21524 31.9886 9.37385 31.9886 9.57398C31.9886 9.77412 32.1585 9.93272 32.364 9.93272C32.5695 9.93272 32.7355 9.77034 32.7355 9.57398C32.7355 9.37762 32.5695 9.21524 32.364 9.21524ZM32.364 9.86852C32.198 9.86852 32.0636 9.73635 32.0636 9.57398C32.0636 9.41160 32.198 9.27944 32.364 9.27944C32.5299 9.27944 32.6604 9.41538 32.6604 9.57398C32.6604 9.73258 32.526 9.86852 32.364 9.86852Z",
19131
+ fill: "#261F20"
19132
+ }), /*#__PURE__*/React__default.createElement("g", {
19133
+ filter: "url(#filter0_i_discover_large)"
19134
+ }, /*#__PURE__*/React__default.createElement("circle", {
19135
+ cx: "17.7501",
19136
+ cy: "11.6276",
19137
+ r: "2.64908",
19138
+ fill: "url(#paint1_linear_discover_large)"
19139
+ }))), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("filter", {
19140
+ id: "filter0_i_discover_large",
19141
+ x: "15.1011",
19142
+ y: "8.9785",
19143
+ width: "5.68815",
19144
+ height: "5.68815",
19145
+ filterUnits: "userSpaceOnUse",
19146
+ colorInterpolationFilters: "sRGB"
19147
+ }, /*#__PURE__*/React__default.createElement("feFlood", {
19148
+ floodOpacity: "0",
19149
+ result: "BackgroundImageFix"
19150
+ }), /*#__PURE__*/React__default.createElement("feBlend", {
19151
+ mode: "normal",
19152
+ "in": "SourceGraphic",
19153
+ in2: "BackgroundImageFix",
19154
+ result: "shape"
19155
+ }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
19156
+ "in": "SourceAlpha",
19157
+ type: "matrix",
19158
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",
19159
+ result: "hardAlpha"
19160
+ }), /*#__PURE__*/React__default.createElement("feMorphology", {
19161
+ radius: "0.015",
19162
+ operator: "erode",
19163
+ "in": "SourceAlpha",
19164
+ result: "effect1_innerShadow_discover_large"
19165
+ }), /*#__PURE__*/React__default.createElement("feOffset", {
19166
+ dx: "0.75",
19167
+ dy: "0.75"
19168
+ }), /*#__PURE__*/React__default.createElement("feGaussianBlur", {
19169
+ stdDeviation: "0.1875"
19170
+ }), /*#__PURE__*/React__default.createElement("feComposite", {
19171
+ in2: "hardAlpha",
19172
+ operator: "arithmetic",
19173
+ k2: "-1",
19174
+ k3: "1"
19175
+ }), /*#__PURE__*/React__default.createElement("feColorMatrix", {
19176
+ type: "matrix",
19177
+ values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"
19178
+ }), /*#__PURE__*/React__default.createElement("feBlend", {
19179
+ mode: "normal",
19180
+ in2: "shape",
19181
+ result: "effect1_innerShadow_discover_large"
19182
+ })), /*#__PURE__*/React__default.createElement("linearGradient", {
19183
+ id: "paint0_linear_discover_large",
19184
+ x1: "47.9987",
19185
+ y1: "66.2864",
19186
+ x2: "5.22557",
19187
+ y2: "-4.9576",
19188
+ gradientUnits: "userSpaceOnUse"
19189
+ }, /*#__PURE__*/React__default.createElement("stop", {
19190
+ stopColor: "#F9A020"
19191
+ }), /*#__PURE__*/React__default.createElement("stop", {
19192
+ offset: "0.5",
19193
+ stopColor: "#F9A020"
19194
+ }), /*#__PURE__*/React__default.createElement("stop", {
19195
+ offset: "1",
19196
+ stopColor: "#DF5026"
19197
+ })), /*#__PURE__*/React__default.createElement("linearGradient", {
19198
+ id: "paint1_linear_discover_large",
19199
+ x1: "19.8984",
19200
+ y1: "13.2793",
19201
+ x2: "15.9843",
19202
+ y2: "9.62301",
19203
+ gradientUnits: "userSpaceOnUse"
19204
+ }, /*#__PURE__*/React__default.createElement("stop", {
19205
+ stopColor: "#EA953E"
19206
+ }), /*#__PURE__*/React__default.createElement("stop", {
19207
+ offset: "1",
19208
+ stopColor: "#D44B33"
19209
+ })), /*#__PURE__*/React__default.createElement("clipPath", {
19210
+ id: "clip0_discover_large"
19211
+ }, /*#__PURE__*/React__default.createElement("rect", {
19212
+ width: "36",
19213
+ height: "24",
19214
+ fill: "white"
19215
+ }))));
19216
+ };
19217
+
19218
+ var MasterCardLargeIcon = function MasterCardLargeIcon() {
19219
+ return /*#__PURE__*/React__default.createElement("svg", {
19220
+ width: "36",
19221
+ height: "24",
19222
+ viewBox: "0 0 36 24",
19223
+ fill: "none",
19224
+ xmlns: "http://www.w3.org/2000/svg",
19225
+ role: "img",
19226
+ "aria-label": "Mastercard"
19227
+ }, /*#__PURE__*/React__default.createElement("rect", {
19228
+ width: "36",
19229
+ height: "24",
19230
+ rx: "1.5",
19231
+ fill: "#F6F6F9"
19232
+ }), /*#__PURE__*/React__default.createElement("path", {
19233
+ d: "M21.7104 5.06982H14.2698V18.4409H21.7104V5.06982Z",
19234
+ fill: "#FF5F00"
19235
+ }), /*#__PURE__*/React__default.createElement("path", {
19236
+ d: "M14.7422 11.7553C14.7410 10.4676 14.9329 9.19649 15.5955 8.03822C16.2583 6.87993 17.1270 5.86487 18.0001 5.06984C16.7357 4.08381 15.2291 3.47061 13.6426 3.30033C12.0561 3.13007 10.4538 3.40956 9.01863 4.10691C7.58351 4.80426 6.37353 5.89133 5.52701 7.24383C4.6805 8.59635 4.23156 10.1597 4.23156 11.7553C4.23156 13.3509 4.6805 14.9143 5.52701 16.2668C6.37353 17.6193 7.58351 18.7064 9.01863 19.4037C10.4538 20.1011 12.0561 20.3806 13.6426 20.2103C15.2291 20.0400 16.7357 19.4268 18.0001 18.4408C17.1272 17.6457 16.2583 16.6307 15.5955 15.4724C14.9329 14.3141 14.7410 13.043 14.7422 11.7553Z",
19237
+ fill: "#EB001B"
19238
+ }), /*#__PURE__*/React__default.createElement("path", {
19239
+ d: "M31.7483 11.7553C31.7483 13.3509 31.2994 14.9143 30.4529 16.2668C29.6064 17.6193 28.3965 18.7064 26.9614 19.4037C25.5263 20.1011 23.924 20.3805 22.3376 20.2103C20.751 20.04 19.2446 19.4268 17.9801 18.4408C18.8522 17.6450 19.5204 16.6298 19.9831 15.4716C20.4456 14.3136 20.7379 13.0428 20.7379 11.7553C20.7379 10.4678 20.4456 9.19709 19.9831 8.03899C19.5204 6.88091 18.8522 5.86566 17.9801 5.06984C19.2446 4.08381 20.751 3.47061 22.3376 3.30033C23.924 3.13006 25.5263 3.40958 26.9614 4.10694C28.3965 4.80429 29.6064 5.89136 30.4529 7.24386C31.2994 8.59638 31.7483 10.1598 31.7483 11.7553Z",
19240
+ fill: "#F79E1B"
19241
+ }), /*#__PURE__*/React__default.createElement("path", {
19242
+ d: "M30.9371 17.0246V16.7508H31.0475V16.6952H30.7664V16.7508H30.8768V17.0246H30.9371ZM31.4828 17.0246V16.6946H31.3967L31.2977 16.9215L31.1984 16.6946H31.1121V17.0246H31.173V16.7757L31.266 16.9904H31.329L31.422 16.7751V17.0246H31.4828Z",
19243
+ fill: "#F79E1B"
19244
+ }));
19245
+ };
19246
+
18998
19247
  var color$3 = "#15749D";
18999
19248
  var hoverColor$1 = "#116285";
19000
19249
  var activeColor$1 = "#0E506D";
@@ -25188,406 +25437,6 @@ var DisplayBox = function DisplayBox(_ref) {
25188
25437
  };
25189
25438
  var DisplayBox$1 = themeComponent(DisplayBox, "DisplayBox", fallbackValues$l);
25190
25439
 
25191
- /*
25192
- Hook that assigns a click event listener to the main document element
25193
- Returns a ref to attach to another element (like an icon/button that triggers a popover)
25194
- If a click event gets captured by the document and the assigned element isn't the target
25195
- hook will run whatever handler is passed (eg a function that closes a popover)
25196
-
25197
- See popover component for implementation
25198
-
25199
- */
25200
-
25201
- var useOutsideClickHook = function useOutsideClickHook(handler) {
25202
- var ref = useRef();
25203
- useEffect$1(function () {
25204
- var handleOutsideClick = function handleOutsideClick(e) {
25205
- if (ref.current && !ref.current.contains(e.target)) {
25206
- handler();
25207
- }
25208
- };
25209
- document.addEventListener("click", handleOutsideClick, true);
25210
- return function () {
25211
- document.removeEventListener("click", handleOutsideClick, true);
25212
- };
25213
- }, [ref]);
25214
- return ref;
25215
- };
25216
-
25217
- /*
25218
- Hook that takes an ID selector for an element on the screen
25219
- And optionally values for top position, left position, smooth behavior
25220
- Finds element on screen and scrolls it to the provided coordinates
25221
-
25222
- (string, number, number, string, number) => undefined;
25223
- */
25224
-
25225
- var useScrollTo = function useScrollTo(id) {
25226
- var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
25227
- var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
25228
- var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
25229
- var delay = arguments.length > 4 ? arguments[4] : undefined;
25230
- var scrollItem;
25231
- if (delay) {
25232
- setTimeout(function () {
25233
- var _scrollItem;
25234
- scrollItem = document.getElementById(id);
25235
- (_scrollItem = scrollItem) === null || _scrollItem === void 0 || _scrollItem.scrollTo({
25236
- top: top,
25237
- left: left,
25238
- behavior: behavior
25239
- });
25240
- }, delay);
25241
- } else {
25242
- var _scrollItem2;
25243
- scrollItem = document.getElementById(id);
25244
- (_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 || _scrollItem2.scrollTo({
25245
- top: top,
25246
- left: left,
25247
- behavior: behavior
25248
- });
25249
- }
25250
- };
25251
-
25252
- var initialToastState = {
25253
- isOpen: false,
25254
- variant: "",
25255
- message: ""
25256
- };
25257
- var useToastNotification = function useToastNotification() {
25258
- var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
25259
- _ref$timeout = _ref.timeout,
25260
- timeout = _ref$timeout === void 0 ? 5000 : _ref$timeout;
25261
- var _useState = useState(initialToastState),
25262
- _useState2 = _slicedToArray(_useState, 2),
25263
- toastState = _useState2[0],
25264
- setToastState = _useState2[1];
25265
- useEffect$1(function () {
25266
- if (toastState.isOpen && timeout > 0) {
25267
- setTimeout(function () {
25268
- setToastState(initialToastState);
25269
- }, timeout);
25270
- }
25271
- }, [timeout, toastState.isOpen]);
25272
- var showToast = function showToast(_ref2) {
25273
- var message = _ref2.message,
25274
- variant = _ref2.variant;
25275
- return setToastState({
25276
- isOpen: true,
25277
- variant: variant,
25278
- message: message
25279
- });
25280
- };
25281
- var hideToast = function hideToast() {
25282
- return setToastState(initialToastState);
25283
- };
25284
- return {
25285
- isToastOpen: toastState.isOpen,
25286
- toastVariant: toastState.variant,
25287
- toastMessage: toastState.message,
25288
- showToast: showToast,
25289
- hideToast: hideToast
25290
- };
25291
- };
25292
-
25293
- function useConditionallyAddValidator(condition, validatorFn, addValidator, removeValidator) {
25294
- useEffect$1(function () {
25295
- if (condition) {
25296
- addValidator(validatorFn());
25297
- }
25298
- return function () {
25299
- // Remove validator when component unmounts
25300
- removeValidator(validatorFn());
25301
- };
25302
- }, [condition, addValidator, removeValidator]);
25303
- }
25304
-
25305
- /**
25306
- * A custom hook to dynamically load the Cloudflare Turnstile script.
25307
- *
25308
- * @param {string} verifyURL - The URL of the Turnstile verification script.
25309
- */
25310
- var useTurnstileScript = function useTurnstileScript(verifyURL) {
25311
- var _useState = useState(false),
25312
- _useState2 = _slicedToArray(_useState, 2),
25313
- scriptLoaded = _useState2[0],
25314
- setScriptLoaded = _useState2[1];
25315
- var _useState3 = useState(false),
25316
- _useState4 = _slicedToArray(_useState3, 2),
25317
- scriptError = _useState4[0],
25318
- setScriptError = _useState4[1];
25319
- var handleScriptError = function handleScriptError() {
25320
- setScriptError(true);
25321
- setScriptLoaded(false);
25322
- };
25323
- useEffect$1(function () {
25324
- if (typeof window === "undefined") {
25325
- setScriptLoaded(false);
25326
- return;
25327
- }
25328
- if (window.turnstile && window.turnstile.render) {
25329
- setScriptLoaded(true);
25330
- return;
25331
- }
25332
- var script = document.createElement("script");
25333
- script.src = "".concat(verifyURL, "?render=explicit");
25334
- script.onload = function () {
25335
- setScriptLoaded(true);
25336
- };
25337
- script.onerror = function () {
25338
- handleScriptError();
25339
- };
25340
- script.onabort = function () {
25341
- handleScriptError();
25342
- };
25343
- script.defer = true;
25344
- document.getElementsByTagName("head")[0].appendChild(script);
25345
- return function () {
25346
- setScriptLoaded(false);
25347
- setScriptError(false);
25348
- };
25349
- }, [verifyURL]);
25350
- return {
25351
- scriptLoaded: scriptLoaded,
25352
- scriptError: scriptError
25353
- };
25354
- };
25355
-
25356
-
25357
-
25358
- var index$1 = /*#__PURE__*/Object.freeze({
25359
- __proto__: null,
25360
- useOutsideClick: useOutsideClickHook,
25361
- useScrollTo: useScrollTo,
25362
- useToastNotification: useToastNotification,
25363
- useConditionallyAddValidator: useConditionallyAddValidator,
25364
- useTurnstileScript: useTurnstileScript
25365
- });
25366
-
25367
- var hoverColor$4 = "#116285";
25368
- var activeColor$5 = "#0E506D";
25369
- var popoverTriggerColor = "#15749D";
25370
- var fallbackValues$m = {
25371
- hoverColor: hoverColor$4,
25372
- activeColor: activeColor$5,
25373
- popoverTriggerColor: popoverTriggerColor
25374
- };
25375
-
25376
- var arrowBorder = function arrowBorder(borderColor, direction) {
25377
- var width = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "8px";
25378
- var angle = "".concat(width, " solid transparent");
25379
- var straight = "".concat(width, " solid ").concat(borderColor);
25380
- if (direction == "down") {
25381
- return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
25382
- } else if (direction == "up") {
25383
- return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-bottom: ").concat(straight);
25384
- } else if (direction == "left") {
25385
- return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-right: ").concat(straight);
25386
- } else if (direction == "right") {
25387
- return "border-top: ".concat(angle, "; border-bottom: ").concat(angle, "; border-left: ").concat(straight);
25388
- }
25389
- };
25390
- var Popover = function Popover(_ref) {
25391
- var themeValues = _ref.themeValues,
25392
- _ref$triggerText = _ref.triggerText,
25393
- triggerText = _ref$triggerText === void 0 ? "" : _ref$triggerText,
25394
- _ref$content = _ref.content,
25395
- content = _ref$content === void 0 ? "" : _ref$content,
25396
- _ref$hasIcon = _ref.hasIcon,
25397
- hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
25398
- Icon = _ref.icon,
25399
- _ref$iconHelpText = _ref.iconHelpText,
25400
- iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
25401
- _ref$popoverID = _ref.popoverID,
25402
- popoverID = _ref$popoverID === void 0 ? 0 : _ref$popoverID,
25403
- _ref$popoverFocus = _ref.popoverFocus,
25404
- popoverFocus = _ref$popoverFocus === void 0 ? false : _ref$popoverFocus,
25405
- extraStyles = _ref.extraStyles,
25406
- textExtraStyles = _ref.textExtraStyles,
25407
- _ref$minWidth = _ref.minWidth,
25408
- minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
25409
- _ref$maxWidth = _ref.maxWidth,
25410
- maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
25411
- _ref$height = _ref.height,
25412
- height = _ref$height === void 0 ? "auto" : _ref$height,
25413
- position = _ref.position,
25414
- arrowPosition = _ref.arrowPosition,
25415
- _ref$arrowDirection = _ref.arrowDirection,
25416
- arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
25417
- _ref$transform = _ref.transform,
25418
- transform = _ref$transform === void 0 ? "none" : _ref$transform,
25419
- buttonExtraStyles = _ref.buttonExtraStyles,
25420
- _ref$backgroundColor = _ref.backgroundColor,
25421
- backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
25422
- _ref$borderColor = _ref.borderColor,
25423
- borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
25424
- popoverExtraStyles = _ref.popoverExtraStyles;
25425
- var hoverColor = themeValues.hoverColor,
25426
- activeColor = themeValues.activeColor,
25427
- popoverTriggerColor = themeValues.popoverTriggerColor;
25428
- var _ref2 = position !== null && position !== void 0 ? position : {},
25429
- _ref2$top = _ref2.top,
25430
- top = _ref2$top === void 0 ? "-110px" : _ref2$top,
25431
- _ref2$right = _ref2.right,
25432
- right = _ref2$right === void 0 ? "auto" : _ref2$right,
25433
- _ref2$bottom = _ref2.bottom,
25434
- bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
25435
- _ref2$left = _ref2.left,
25436
- left = _ref2$left === void 0 ? "-225px" : _ref2$left;
25437
- var _ref3 = arrowPosition !== null && arrowPosition !== void 0 ? arrowPosition : {},
25438
- _ref3$arrowTop = _ref3.arrowTop,
25439
- arrowTop = _ref3$arrowTop === void 0 ? "auto" : _ref3$arrowTop,
25440
- _ref3$arrowRight = _ref3.arrowRight,
25441
- arrowRight = _ref3$arrowRight === void 0 ? "10px" : _ref3$arrowRight,
25442
- _ref3$arrowBottom = _ref3.arrowBottom,
25443
- arrowBottom = _ref3$arrowBottom === void 0 ? "-8px" : _ref3$arrowBottom,
25444
- _ref3$arrowLeft = _ref3.arrowLeft,
25445
- arrowLeft = _ref3$arrowLeft === void 0 ? "auto" : _ref3$arrowLeft;
25446
- var _useState = useState(false),
25447
- _useState2 = _slicedToArray(_useState, 2),
25448
- popoverOpen = _useState2[0],
25449
- togglePopover = _useState2[1];
25450
- var handleTogglePopover = function handleTogglePopover(popoverState) {
25451
- if (popoverOpen !== popoverState) {
25452
- togglePopover(popoverState);
25453
- }
25454
- };
25455
- var triggerRef = useOutsideClickHook(function () {
25456
- return handleTogglePopover(false);
25457
- });
25458
- return /*#__PURE__*/React__default.createElement(Box, {
25459
- padding: "0",
25460
- extraStyles: "position: relative; ".concat(extraStyles)
25461
- }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
25462
- action: function action() {
25463
- return noop$1;
25464
- },
25465
- onFocus: function onFocus() {
25466
- handleTogglePopover(true);
25467
- },
25468
- onBlur: function onBlur() {
25469
- handleTogglePopover(false);
25470
- },
25471
- onKeyDown: function onKeyDown(e) {
25472
- if (e.keyCode === ESCAPE) {
25473
- handleTogglePopover(false);
25474
- }
25475
- },
25476
- onTouchStart: function onTouchStart() {
25477
- return handleTogglePopover(true);
25478
- },
25479
- onTouchEnd: function onTouchEnd() {
25480
- return handleTogglePopover(false);
25481
- },
25482
- onMouseEnter: function onMouseEnter() {
25483
- return handleTogglePopover(true);
25484
- },
25485
- onMouseLeave: function onMouseLeave() {
25486
- return handleTogglePopover(false);
25487
- },
25488
- contentOverride: true,
25489
- variant: "smallGhost",
25490
- tabIndex: "0",
25491
- id: "btnPopover".concat(popoverID),
25492
- "aria-expanded": popoverOpen,
25493
- "aria-labelledby": "btnPopover".concat(popoverID, "_info Disclosure").concat(popoverID),
25494
- "aria-describedby": "Disclosure".concat(popoverID),
25495
- "aria-controls": "Disclosed".concat(popoverID),
25496
- ref: triggerRef,
25497
- extraStyles: buttonExtraStyles
25498
- }, hasIcon && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, null), /*#__PURE__*/React__default.createElement(Box, {
25499
- padding: "0",
25500
- srOnly: true
25501
- }, /*#__PURE__*/React__default.createElement(Text$1, {
25502
- id: "btnPopover".concat(popoverID, "_info")
25503
- }, iconHelpText))), !hasIcon && /*#__PURE__*/React__default.createElement(Text$1, {
25504
- color: popoverTriggerColor,
25505
- extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
25506
- }, triggerText)), /*#__PURE__*/React__default.createElement(Box, {
25507
- background: backgroundColor,
25508
- borderRadius: "4px",
25509
- boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
25510
- id: "Disclosed".concat(popoverID),
25511
- role: "region",
25512
- "aria-describedby": "Disclosure".concat(popoverID),
25513
- tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
25514
- minWidth: minWidth,
25515
- maxWidth: maxWidth,
25516
- 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 transform: ").concat(transform, ";\n ").concat(popoverExtraStyles, ";\n ")
25517
- }, /*#__PURE__*/React__default.createElement(Paragraph$1, null, content), /*#__PURE__*/React__default.createElement(Box, {
25518
- padding: "0",
25519
- extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
25520
- })));
25521
- };
25522
- var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$m);
25523
-
25524
- var DisplayCard = function DisplayCard(_ref) {
25525
- var title = _ref.title,
25526
- item = _ref.item,
25527
- buttonText = _ref.buttonText,
25528
- buttonAction = _ref.buttonAction,
25529
- url = _ref.url,
25530
- _ref$link = _ref.link,
25531
- link = _ref$link === void 0 ? false : _ref$link,
25532
- helpText = _ref.helpText,
25533
- _ref$hasPopover = _ref.hasPopover,
25534
- hasPopover = _ref$hasPopover === void 0 ? false : _ref$hasPopover,
25535
- _ref$popoverTriggerTe = _ref.popoverTriggerText,
25536
- popoverTriggerText = _ref$popoverTriggerTe === void 0 ? "" : _ref$popoverTriggerTe,
25537
- _ref$popoverContent = _ref.popoverContent,
25538
- popoverContent = _ref$popoverContent === void 0 ? "" : _ref$popoverContent,
25539
- popoverExtraStyles = _ref.popoverExtraStyles,
25540
- popoverTextExtraStyles = _ref.popoverTextExtraStyles;
25541
- return /*#__PURE__*/React__default.createElement(Box, {
25542
- padding: "0 0 16px"
25543
- }, /*#__PURE__*/React__default.createElement(Stack, {
25544
- childGap: "0rem"
25545
- }, /*#__PURE__*/React__default.createElement(Box, {
25546
- padding: "0 0 8px 0"
25547
- }, /*#__PURE__*/React__default.createElement(Cluster, {
25548
- justify: "space-between",
25549
- align: "center",
25550
- overflow: true
25551
- }, /*#__PURE__*/React__default.createElement(Paragraph$1, {
25552
- variant: "pL",
25553
- color: CHARADE_GREY,
25554
- extraStyles: "letter-spacing: 0.29px"
25555
- }, title), hasPopover && /*#__PURE__*/React__default.createElement(Popover$1, {
25556
- triggerText: popoverTriggerText,
25557
- content: popoverContent,
25558
- popoverExtraStyles: popoverExtraStyles,
25559
- popoverTextExtraStyles: popoverTextExtraStyles
25560
- }))), /*#__PURE__*/React__default.createElement(Box, {
25561
- padding: "0"
25562
- }, /*#__PURE__*/React__default.createElement(Box, {
25563
- padding: "24px",
25564
- borderSize: "1px",
25565
- borderRadius: "4px",
25566
- background: WHITE,
25567
- boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)"
25568
- }, /*#__PURE__*/React__default.createElement(Cluster, {
25569
- justify: "space-between",
25570
- align: "center"
25571
- }, /*#__PURE__*/React__default.createElement(Text$1, {
25572
- color: CHARADE_GREY
25573
- }, item), link ? /*#__PURE__*/React__default.createElement(ButtonWithLink, {
25574
- text: buttonText,
25575
- url: url,
25576
- variant: "smallGhost",
25577
- dataQa: buttonText,
25578
- extraStyles: "min-width: 0;"
25579
- }) : buttonAction ? /*#__PURE__*/React__default.createElement(ButtonWithAction, {
25580
- text: buttonText,
25581
- action: buttonAction,
25582
- variant: "smallGhost",
25583
- dataQa: buttonText,
25584
- extraStyles: "min-width: 0;"
25585
- }) : helpText ? /*#__PURE__*/React__default.createElement(Text$1, {
25586
- color: STORM_GREY,
25587
- extraStyles: "font-style: italic;"
25588
- }, helpText) : /*#__PURE__*/React__default.createElement(Fragment$1, null))))));
25589
- };
25590
-
25591
25440
  function _extends$2() {
25592
25441
  _extends$2 = Object.assign || function (target) {
25593
25442
  for (var i = 1; i < arguments.length; i++) {
@@ -25919,7 +25768,7 @@ var hoverFocusStyles$1 = {
25919
25768
  var formFooterPanel = {
25920
25769
  "default": "".concat(INFO_BLUE)
25921
25770
  };
25922
- var fallbackValues$n = {
25771
+ var fallbackValues$m = {
25923
25772
  linkColor: linkColor$2,
25924
25773
  formBackgroundColor: formBackgroundColor$1,
25925
25774
  inputBackgroundColor: inputBackgroundColor$1,
@@ -26176,7 +26025,7 @@ var FormInput = function FormInput(_ref15) {
26176
26025
  padding: "0 0 0 auto"
26177
26026
  }, decorator)));
26178
26027
  };
26179
- var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$n, "default");
26028
+ var FormInput$1 = themeComponent(FormInput, "FormInput", fallbackValues$m, "default");
26180
26029
 
26181
26030
  var _excluded$A = ["breakpoint", "childGap", "largeChild", "largeChildSize", "children"];
26182
26031
  var FormInputRow = function FormInputRow(_ref) {
@@ -26224,7 +26073,7 @@ var FormContainer = function FormContainer(_ref) {
26224
26073
  borderRadius: "4px"
26225
26074
  }, rest), children);
26226
26075
  };
26227
- var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$n, "default");
26076
+ var FormContainer$1 = themeComponent(withWindowSize(FormContainer), "FormContainer", fallbackValues$m, "default");
26228
26077
 
26229
26078
  var FormFooterPanel = function FormFooterPanel(_ref) {
26230
26079
  var themeValues = _ref.themeValues,
@@ -26245,7 +26094,7 @@ var FormFooterPanel = function FormFooterPanel(_ref) {
26245
26094
  text: linkText
26246
26095
  })));
26247
26096
  };
26248
- var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$n, "default");
26097
+ var FormFooterPanel$1 = themeComponent(withWindowSize(FormFooterPanel), "FormFooterPanel", fallbackValues$m, "default");
26249
26098
 
26250
26099
  var _excluded$D = ["ariaLabelledBy", "labelDisplayOverride", "labelTextWhenNoError", "errorMessages", "helperModal", "field", "fieldActions", "showErrors", "themeValues", "customHeight", "extraStyles", "removeFromValue", "dataQa", "isRequired", "errorFieldExtraStyles", "showFieldErrorRow", "labelTextVariant", "errorTextVariant", "resize", "rows", "cols", "placeholder", "maxLength"];
26251
26100
  var TextareaField = styled.textarea.withConfig({
@@ -26381,7 +26230,7 @@ var FormTextarea = function FormTextarea(_ref8) {
26381
26230
  extraStyles: "height: ".concat(themeValues.lineHeight, "; ").concat(errorFieldExtraStyles, ";")
26382
26231
  })));
26383
26232
  };
26384
- var FormTextarea$1 = themeComponent(FormTextarea, "FormTextarea", fallbackValues$n, "default");
26233
+ var FormTextarea$1 = themeComponent(FormTextarea, "FormTextarea", fallbackValues$m, "default");
26385
26234
 
26386
26235
  var fontSize$7 = {
26387
26236
  "default": "1rem",
@@ -26395,7 +26244,7 @@ var color$9 = {
26395
26244
  "default": "".concat(CHARADE_GREY),
26396
26245
  radio: "".concat(MINESHAFT_GREY)
26397
26246
  };
26398
- var fallbackValues$o = {
26247
+ var fallbackValues$n = {
26399
26248
  fontSize: fontSize$7,
26400
26249
  padding: padding$1,
26401
26250
  color: color$9
@@ -26437,11 +26286,11 @@ var FormattedAddress = function FormattedAddress(_ref) {
26437
26286
  dataQa: "".concat(qaPrefix, "-3")
26438
26287
  }, city, ", ", stateProvince, " ".concat(zip), country ? " ".concat(country) : "")));
26439
26288
  };
26440
- var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$o, "default");
26289
+ var FormattedAddress$1 = themeComponent(FormattedAddress, "FormattedAddress", fallbackValues$n, "default");
26441
26290
 
26442
26291
  var textColor$1 = "".concat(CHARADE_GREY);
26443
26292
  var autopayTextColor = "".concat(REGENT_GREY);
26444
- var fallbackValues$p = {
26293
+ var fallbackValues$o = {
26445
26294
  textColor: textColor$1,
26446
26295
  autopayTextColor: autopayTextColor
26447
26296
  };
@@ -26479,11 +26328,51 @@ var FormattedBankAccount = function FormattedBankAccount(_ref2) {
26479
26328
  extraStyles: "font-style: italic;"
26480
26329
  }, "Autopay Enabled")));
26481
26330
  };
26482
- var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$p);
26331
+ var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$o);
26332
+
26333
+ var cardBrands = {
26334
+ visa: {
26335
+ label: "Visa",
26336
+ small: VisaSmallIcon,
26337
+ large: VisaLargeIcon
26338
+ },
26339
+ master_card: {
26340
+ label: "Mastercard",
26341
+ small: MasterCardSmallIcon,
26342
+ large: MasterCardLargeIcon
26343
+ },
26344
+ discover: {
26345
+ label: "Discover",
26346
+ small: DiscoverSmallIcon,
26347
+ large: DiscoverLargeIcon
26348
+ },
26349
+ amex: {
26350
+ label: "American Express",
26351
+ small: AmExSmallIcon,
26352
+ large: AmExLargeIcon
26353
+ },
26354
+ "default": {
26355
+ label: "Credit card",
26356
+ small: GenericSmallIcon,
26357
+ large: GenericCardLarge
26358
+ }
26359
+ };
26360
+ var CardType = function CardType(_ref) {
26361
+ var type = _ref.type,
26362
+ _ref$size = _ref.size,
26363
+ size = _ref$size === void 0 ? "small" : _ref$size;
26364
+ var _ref2 = cardBrands[type] || cardBrands["default"],
26365
+ label = _ref2.label,
26366
+ IconComponent = _ref2[size];
26367
+ return /*#__PURE__*/React__default.createElement("span", {
26368
+ role: "img",
26369
+ "aria-label": label
26370
+ }, /*#__PURE__*/React__default.createElement(IconComponent, null));
26371
+ };
26483
26372
 
26484
26373
  var textColor$2 = "".concat(CHARADE_GREY);
26485
26374
  var autopayTextColor$1 = "".concat(REGENT_GREY);
26486
- var fallbackValues$q = {
26375
+ var fallbackValues$p = {
26487
26376
  textColor: textColor$2,
26488
26377
  autopayTextColor: autopayTextColor$1
26489
26378
  };
@@ -26555,11 +26444,14 @@ var CCIconWrapper = styled.div.withConfig({
26555
26444
  })(["margin-right:16px;width:30px;height:auto;display:flex;"]);
26556
26445
  var FormattedCreditCard = function FormattedCreditCard(_ref) {
26557
26446
  var lastFour = _ref.lastFour,
26447
+ type = _ref.type,
26558
26448
  autoPay = _ref.autoPay,
26559
26449
  expireDate = _ref.expireDate,
26560
26450
  expirationStatus = _ref.expirationStatus,
26561
26451
  themeValues = _ref.themeValues;
26562
- return /*#__PURE__*/React__default.createElement(CreditCardWrapper, null, /*#__PURE__*/React__default.createElement(CCIconWrapper, null, /*#__PURE__*/React__default.createElement(GenericCard, null)), /*#__PURE__*/React__default.createElement(Stack, {
26452
+ return /*#__PURE__*/React__default.createElement(CreditCardWrapper, null, /*#__PURE__*/React__default.createElement(CCIconWrapper, null, /*#__PURE__*/React__default.createElement(CardType, {
26453
+ type: type
26454
+ })), /*#__PURE__*/React__default.createElement(Stack, {
26563
26455
  childGap: "0"
26564
26456
  }, /*#__PURE__*/React__default.createElement(Box, {
26565
26457
  padding: "0"
@@ -26575,7 +26467,7 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
26575
26467
  extraStyles: "font-style: italic;"
26576
26468
  }, "Autopay Enabled")));
26577
26469
  };
26578
- var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$q);
26470
+ var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$p);
26579
26471
 
26580
26472
  var Hamburger = styled.button.withConfig({
26581
26473
  displayName: "HamburgerButton__Hamburger",
@@ -26656,7 +26548,7 @@ var fontSize$8 = {
26656
26548
  h5: "1.375rem",
26657
26549
  h6: "1.25rem"
26658
26550
  };
26659
- var fallbackValues$r = {
26551
+ var fallbackValues$q = {
26660
26552
  fontFamily: fontFamily$5,
26661
26553
  fontSize: fontSize$8
26662
26554
  };
@@ -26695,7 +26587,7 @@ var Heading = function Heading(_ref) {
26695
26587
  "data-qa": dataQa
26696
26588
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
26697
26589
  };
26698
- var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$r, "h1");
26590
+ var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$q, "h1");
26699
26591
 
26700
26592
  var Image = styled.img.withConfig({
26701
26593
  displayName: "ImageBoxstyled__Image",
@@ -26751,7 +26643,7 @@ var ImageBox = function ImageBox(_ref) {
26751
26643
  };
26752
26644
 
26753
26645
  var color$a = "#15749D";
26754
- var fallbackValues$s = {
26646
+ var fallbackValues$r = {
26755
26647
  color: color$a
26756
26648
  };
26757
26649
 
@@ -26817,7 +26709,7 @@ var Spinner$1 = function Spinner(_ref6) {
26817
26709
  strokeWidth: strokeWidth
26818
26710
  })));
26819
26711
  };
26820
- var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$s);
26712
+ var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$r);
26821
26713
 
26822
26714
  var Jumbo = function Jumbo(_ref) {
26823
26715
  var showButton = _ref.showButton,
@@ -26909,7 +26801,7 @@ var fontWeight$5 = {
26909
26801
  // fontsize Detail regular
26910
26802
  large: "700" // fontsize Title small
26911
26803
  };
26912
- var fallbackValues$t = {
26804
+ var fallbackValues$s = {
26913
26805
  fontWeight: fontWeight$5
26914
26806
  };
26915
26807
 
@@ -26968,7 +26860,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
26968
26860
  var LabeledAmountComponent = version === "v1" ? LabeledAmountV1 : LabeledAmountV2;
26969
26861
  return /*#__PURE__*/React__default.createElement(LabeledAmountComponent, rest);
26970
26862
  };
26971
- var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$t, "default");
26863
+ var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$s, "default");
26972
26864
 
26973
26865
  var weightTitle = {
26974
26866
  "default": "600",
@@ -26978,7 +26870,7 @@ var detailVariant = {
26978
26870
  "default": "large",
26979
26871
  small: "small"
26980
26872
  };
26981
- var fallbackValues$u = {
26873
+ var fallbackValues$t = {
26982
26874
  weightTitle: weightTitle,
26983
26875
  detailVariant: detailVariant
26984
26876
  };
@@ -27026,7 +26918,7 @@ var LineItem = function LineItem(_ref) {
27026
26918
  childGap: "0.25rem"
27027
26919
  }, visibleCustomAttrs));
27028
26920
  };
27029
- var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$u, "default");
26921
+ var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$t, "default");
27030
26922
 
27031
26923
  var Loading = function Loading() {
27032
26924
  return /*#__PURE__*/React__default.createElement(Box, {
@@ -27214,9 +27106,10 @@ var PasswordRequirements = function PasswordRequirements(_ref) {
27214
27106
  color: RAZZMATAZZ_RED
27215
27107
  }), INPUT_STATE_VALID, {
27216
27108
  icon: /*#__PURE__*/React__default.createElement(IconValid, {
27217
- margin: "0 0.5rem 0 0"
27109
+ margin: "0 0.5rem 0 0",
27110
+ bgFill: SEA_GREEN
27218
27111
  }),
27219
- color: FOREST_GREEN
27112
+ color: SEA_GREEN
27220
27113
  });
27221
27114
  var validationMap = {
27222
27115
  charactersValidation: {
@@ -27286,7 +27179,7 @@ var height$1 = {
27286
27179
  "default": "3rem",
27287
27180
  large: "192px"
27288
27181
  };
27289
- var fallbackValues$v = {
27182
+ var fallbackValues$u = {
27290
27183
  color: color$b,
27291
27184
  height: height$1
27292
27185
  };
@@ -27428,12 +27321,12 @@ var Placeholder = function Placeholder(_ref4) {
27428
27321
  extraStyles: "padding: 0 0 0 8px; text-align: center;"
27429
27322
  }, text)))))))))));
27430
27323
  };
27431
- var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$v, "default");
27324
+ var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$u, "default");
27432
27325
 
27433
27326
  var backgroundColor$5 = {
27434
27327
  "default": "".concat(WHITE)
27435
27328
  };
27436
- var fallbackValues$w = {
27329
+ var fallbackValues$v = {
27437
27330
  backgroundColor: backgroundColor$5
27438
27331
  };
27439
27332
 
@@ -27460,13 +27353,13 @@ var ProcessingFee = function ProcessingFee(_ref) {
27460
27353
  showQuitLink: false
27461
27354
  }));
27462
27355
  };
27463
- var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$w, "default");
27356
+ var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$v, "default");
27464
27357
 
27465
- var activeColor$6 = MATISSE_BLUE;
27358
+ var activeColor$5 = MATISSE_BLUE;
27466
27359
  var disabledColor$1 = MANATEE_GREY;
27467
27360
  var inactiveBorderColor = GREY_CHATEAU;
27468
- var fallbackValues$x = {
27469
- activeColor: activeColor$6,
27361
+ var fallbackValues$w = {
27362
+ activeColor: activeColor$5,
27470
27363
  disabledColor: disabledColor$1,
27471
27364
  inactiveBorderColor: inactiveBorderColor
27472
27365
  };
@@ -27552,12 +27445,12 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref5) {
27552
27445
  borderColor: themeValues.inactiveBorderColor
27553
27446
  }), labelText));
27554
27447
  };
27555
- var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$x);
27448
+ var RadioButtonWithLabel$1 = themeComponent(RadioButtonWithLabel, "RadioButtonWithLabel", fallbackValues$w);
27556
27449
 
27557
- var activeColor$7 = "".concat(MATISSE_BLUE);
27450
+ var activeColor$6 = "".concat(MATISSE_BLUE);
27558
27451
  var inactiveColor$1 = "".concat(STORM_GREY);
27559
- var fallbackValues$y = {
27560
- activeColor: activeColor$7,
27452
+ var fallbackValues$x = {
27453
+ activeColor: activeColor$6,
27561
27454
  inactiveColor: inactiveColor$1
27562
27455
  };
27563
27456
 
@@ -27665,11 +27558,11 @@ var RadioButton$1 = function RadioButton(_ref2) {
27665
27558
  borderRadius: "8px"
27666
27559
  })));
27667
27560
  };
27668
- var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$y);
27561
+ var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$x);
27669
27562
 
27670
27563
  var searchIconColor = WHITE;
27671
27564
  var searchIconBackgroundColor = MATISSE_BLUE;
27672
- var fallbackValues$z = {
27565
+ var fallbackValues$y = {
27673
27566
  searchIconColor: searchIconColor,
27674
27567
  searchIconBackgroundColor: searchIconBackgroundColor
27675
27568
  };
@@ -27767,12 +27660,12 @@ var Search = function Search(_ref) {
27767
27660
  size: 24
27768
27661
  })));
27769
27662
  };
27770
- var Search$1 = themeComponent(Search, "Search", fallbackValues$z);
27663
+ var Search$1 = themeComponent(Search, "Search", fallbackValues$y);
27771
27664
 
27772
27665
  var border$2 = {
27773
27666
  "default": "1px solid #caced8"
27774
27667
  };
27775
- var fallbackValues$A = {
27668
+ var fallbackValues$z = {
27776
27669
  border: border$2
27777
27670
  };
27778
27671
 
@@ -27845,7 +27738,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
27845
27738
  });
27846
27739
  }))));
27847
27740
  };
27848
- var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$A, "default");
27741
+ var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$z, "default");
27849
27742
 
27850
27743
  var borderColor$4 = {
27851
27744
  "default": "".concat(GREY_CHATEAU)
@@ -27853,7 +27746,7 @@ var borderColor$4 = {
27853
27746
  var borderSize = {
27854
27747
  "default": "1px"
27855
27748
  };
27856
- var fallbackValues$B = {
27749
+ var fallbackValues$A = {
27857
27750
  borderColor: borderColor$4,
27858
27751
  borderSize: borderSize
27859
27752
  };
@@ -27871,7 +27764,7 @@ var SolidDivider = function SolidDivider(_ref) {
27871
27764
  borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
27872
27765
  });
27873
27766
  };
27874
- var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$B, "default");
27767
+ var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$A, "default");
27875
27768
 
27876
27769
  var placeHolderOptionUS = {
27877
27770
  text: "Please select state",
@@ -38466,7 +38359,7 @@ var white = "".concat(WHITE);
38466
38359
  var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
38467
38360
  var rightLabelStyles = "\n > div {\n flex-direction: row;\n }\n";
38468
38361
  var leftLabelStyles = "\n > div {\n flex-direction: row-reverse;\n }\n";
38469
- var fallbackValues$C = {
38362
+ var fallbackValues$B = {
38470
38363
  onBackground: onBackground,
38471
38364
  disabledBackground: disabledBackground,
38472
38365
  disabledBackgroundLight: disabledBackgroundLight,
@@ -38638,7 +38531,7 @@ var ToggleSwitch = function ToggleSwitch(_ref10) {
38638
38531
  padding: "0"
38639
38532
  }, label))));
38640
38533
  };
38641
- var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$C);
38534
+ var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$B);
38642
38535
 
38643
38536
  var background$2 = "".concat(ATHENS_GREY);
38644
38537
  var white$1 = "".concat(WHITE);
@@ -38685,7 +38578,7 @@ var imageBackgroundColor = INFO_BLUE;
38685
38578
  var headerBackgroundColor = STORM_GREY;
38686
38579
  var headerColor = WHITE;
38687
38580
  var contentBackgroundColor = INFO_BLUE;
38688
- var fallbackValues$D = {
38581
+ var fallbackValues$C = {
38689
38582
  backgroundColor: backgroundColor$6,
38690
38583
  contentBackgroundColor: contentBackgroundColor,
38691
38584
  imageBackgroundColor: imageBackgroundColor,
@@ -38710,7 +38603,7 @@ var CardImage = styled.img.withConfig({
38710
38603
  var titleColor = BRIGHT_GREY;
38711
38604
  var titleWeight = FONT_WEIGHT_BOLD;
38712
38605
  var textColor$3 = BRIGHT_GREY;
38713
- var fallbackValues$E = {
38606
+ var fallbackValues$D = {
38714
38607
  titleColor: titleColor,
38715
38608
  titleWeight: titleWeight,
38716
38609
  textColor: textColor$3
@@ -38755,7 +38648,7 @@ var CardText = function CardText(_ref) {
38755
38648
  color: themeValues.textColor
38756
38649
  }, text))));
38757
38650
  };
38758
- var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$E);
38651
+ var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$D);
38759
38652
 
38760
38653
  var CardHeader = function CardHeader(_ref) {
38761
38654
  var backgroundColor = _ref.backgroundColor,
@@ -38871,14 +38764,14 @@ var Card = function Card(_ref) {
38871
38764
  titleVariant: titleVariant
38872
38765
  }), children)))));
38873
38766
  };
38874
- var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$D);
38767
+ var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$C);
38875
38768
 
38876
38769
  var fontFamily$6 = "Public Sans, sans-serif";
38877
- var activeColor$8 = MATISSE_BLUE;
38770
+ var activeColor$7 = MATISSE_BLUE;
38878
38771
  var linkColor$3 = CHARADE_GREY;
38879
- var fallbackValues$F = {
38772
+ var fallbackValues$E = {
38880
38773
  fontFamily: fontFamily$6,
38881
- activeColor: activeColor$8,
38774
+ activeColor: activeColor$7,
38882
38775
  linkColor: linkColor$3
38883
38776
  };
38884
38777
 
@@ -38905,7 +38798,7 @@ var NavTab = function NavTab(_ref) {
38905
38798
  extraStyles: "\n border-bottom: 3px solid transparent;\n font-family: ".concat(themeValues.fontFamily, ";\n text-decoration: none;\n ").concat(isActive && !isMobile ? border : "none", ";\n &:hover {\n text-decoration: none;\n color: ").concat(themeValues.activeColor, ";\n ").concat(isMobile ? "" : "".concat(border), "\n };\n padding: 1.25rem 0;\n ")
38906
38799
  }, label));
38907
38800
  };
38908
- var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$F);
38801
+ var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$E);
38909
38802
 
38910
38803
  var NavTabs = function NavTabs(_ref) {
38911
38804
  var tabsConfig = _ref.tabsConfig,
@@ -39033,7 +38926,7 @@ var backgroundColor$7 = {
39033
38926
  largeTitle: WHITE,
39034
38927
  small: WHITE
39035
38928
  };
39036
- var fallbackValues$G = {
38929
+ var fallbackValues$F = {
39037
38930
  fontSize: fontSize$9,
39038
38931
  fontWeight: fontWeight$6,
39039
38932
  fontColor: fontColor,
@@ -39113,7 +39006,7 @@ var Module = function Module(_ref) {
39113
39006
  boxShadow: themeValues.boxShadow
39114
39007
  }, children)));
39115
39008
  };
39116
- var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$G, "default"));
39009
+ var Module$1 = /*#__PURE__*/memo(themeComponent(Module, "Module", fallbackValues$F, "default"));
39117
39010
 
39118
39011
  var WalletName = function WalletName(_ref) {
39119
39012
  var mainText = _ref.mainText,
@@ -40093,7 +39986,7 @@ AddressForm.mapStateToProps = mapStateToProps$1;
40093
39986
  AddressForm.mapDispatchToProps = mapDispatchToProps;
40094
39987
 
40095
39988
  var backgroundColor$8 = "#ebeffb";
40096
- var fallbackValues$H = {
39989
+ var fallbackValues$G = {
40097
39990
  backgroundColor: backgroundColor$8
40098
39991
  };
40099
39992
 
@@ -40142,7 +40035,7 @@ var Banner = function Banner(_ref) {
40142
40035
  extraStyles: isMobile && "> svg { width: 176px; }"
40143
40036
  }, /*#__PURE__*/React__default.createElement(Image, null))));
40144
40037
  };
40145
- var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$H);
40038
+ var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$G);
40146
40039
 
40147
40040
  var ChangePasswordForm = function ChangePasswordForm(_ref) {
40148
40041
  var clearOnDismount = _ref.clearOnDismount,
@@ -40276,7 +40169,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
40276
40169
  var titleColor$1 = "#292A33";
40277
40170
  var headingBackgroundColor = "transparent";
40278
40171
  var bodyBackgroundColor = "transparent";
40279
- var fallbackValues$I = {
40172
+ var fallbackValues$H = {
40280
40173
  titleColor: titleColor$1,
40281
40174
  headingBackgroundColor: headingBackgroundColor,
40282
40175
  bodyBackgroundColor: bodyBackgroundColor
@@ -40401,7 +40294,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40401
40294
  "aria-labelledby": "".concat(id, "-button")
40402
40295
  }, children))));
40403
40296
  };
40404
- var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$I);
40297
+ var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$H);
40405
40298
 
40406
40299
  var ClipboardIcon = function ClipboardIcon(_ref) {
40407
40300
  var themeValues = _ref.themeValues;
@@ -40436,6 +40329,325 @@ var ClipboardIcon = function ClipboardIcon(_ref) {
40436
40329
  };
40437
40330
  var ClipboardIcon$1 = themeComponent(ClipboardIcon, "Icons", fallbackValues$2, "primary");
40438
40331
 
40332
+ /*
40333
+ Hook that assigns a click event listener to the main document element
40334
+ Returns a ref to attach to another element (like an icon/button that triggers a popover)
40335
+ If a click event gets captured by the document and the assigned element isn't the target
40336
+ hook will run whatever handler is passed (eg a function that closes a popover)
40337
+
40338
+ See popover component for implementation
40339
+
40340
+ */
40341
+
40342
+ var useOutsideClickHook = function useOutsideClickHook(handler) {
40343
+ var ref = useRef();
40344
+ useEffect$1(function () {
40345
+ var handleOutsideClick = function handleOutsideClick(e) {
40346
+ if (ref.current && !ref.current.contains(e.target)) {
40347
+ handler();
40348
+ }
40349
+ };
40350
+ document.addEventListener("click", handleOutsideClick, true);
40351
+ return function () {
40352
+ document.removeEventListener("click", handleOutsideClick, true);
40353
+ };
40354
+ }, [ref]);
40355
+ return ref;
40356
+ };
40357
+
40358
+ /*
40359
+ Hook that takes an ID selector for an element on the screen
40360
+ And optionally values for top position, left position, smooth behavior
40361
+ Finds element on screen and scrolls it to the provided coordinates
40362
+
40363
+ (string, number, number, string, number) => undefined;
40364
+ */
40365
+
40366
+ var useScrollTo = function useScrollTo(id) {
40367
+ var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
40368
+ var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
40369
+ var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
40370
+ var delay = arguments.length > 4 ? arguments[4] : undefined;
40371
+ var scrollItem;
40372
+ if (delay) {
40373
+ setTimeout(function () {
40374
+ var _scrollItem;
40375
+ scrollItem = document.getElementById(id);
40376
+ (_scrollItem = scrollItem) === null || _scrollItem === void 0 || _scrollItem.scrollTo({
40377
+ top: top,
40378
+ left: left,
40379
+ behavior: behavior
40380
+ });
40381
+ }, delay);
40382
+ } else {
40383
+ var _scrollItem2;
40384
+ scrollItem = document.getElementById(id);
40385
+ (_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 || _scrollItem2.scrollTo({
40386
+ top: top,
40387
+ left: left,
40388
+ behavior: behavior
40389
+ });
40390
+ }
40391
+ };
40392
+
40393
+ var initialToastState = {
40394
+ isOpen: false,
40395
+ variant: "",
40396
+ message: ""
40397
+ };
40398
+ var useToastNotification = function useToastNotification() {
40399
+ var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
40400
+ _ref$timeout = _ref.timeout,
40401
+ timeout = _ref$timeout === void 0 ? 5000 : _ref$timeout;
40402
+ var _useState = useState(initialToastState),
40403
+ _useState2 = _slicedToArray(_useState, 2),
40404
+ toastState = _useState2[0],
40405
+ setToastState = _useState2[1];
40406
+ useEffect$1(function () {
40407
+ if (toastState.isOpen && timeout > 0) {
40408
+ setTimeout(function () {
40409
+ setToastState(initialToastState);
40410
+ }, timeout);
40411
+ }
40412
+ }, [timeout, toastState.isOpen]);
40413
+ var showToast = function showToast(_ref2) {
40414
+ var message = _ref2.message,
40415
+ variant = _ref2.variant;
40416
+ return setToastState({
40417
+ isOpen: true,
40418
+ variant: variant,
40419
+ message: message
40420
+ });
40421
+ };
40422
+ var hideToast = function hideToast() {
40423
+ return setToastState(initialToastState);
40424
+ };
40425
+ return {
40426
+ isToastOpen: toastState.isOpen,
40427
+ toastVariant: toastState.variant,
40428
+ toastMessage: toastState.message,
40429
+ showToast: showToast,
40430
+ hideToast: hideToast
40431
+ };
40432
+ };
40433
+
40434
+ function useConditionallyAddValidator(condition, validatorFn, addValidator, removeValidator) {
40435
+ useEffect$1(function () {
40436
+ if (condition) {
40437
+ addValidator(validatorFn());
40438
+ }
40439
+ return function () {
40440
+ // Remove validator when component unmounts
40441
+ removeValidator(validatorFn());
40442
+ };
40443
+ }, [condition, addValidator, removeValidator]);
40444
+ }
40445
+
40446
+ /**
40447
+ * A custom hook to dynamically load the Cloudflare Turnstile script.
40448
+ *
40449
+ * @param {string} verifyURL - The URL of the Turnstile verification script.
40450
+ */
40451
+ var useTurnstileScript = function useTurnstileScript(verifyURL) {
40452
+ var _useState = useState(false),
40453
+ _useState2 = _slicedToArray(_useState, 2),
40454
+ scriptLoaded = _useState2[0],
40455
+ setScriptLoaded = _useState2[1];
40456
+ var _useState3 = useState(false),
40457
+ _useState4 = _slicedToArray(_useState3, 2),
40458
+ scriptError = _useState4[0],
40459
+ setScriptError = _useState4[1];
40460
+ var handleScriptError = function handleScriptError() {
40461
+ setScriptError(true);
40462
+ setScriptLoaded(false);
40463
+ };
40464
+ useEffect$1(function () {
40465
+ if (typeof window === "undefined") {
40466
+ setScriptLoaded(false);
40467
+ return;
40468
+ }
40469
+ if (window.turnstile && window.turnstile.render) {
40470
+ setScriptLoaded(true);
40471
+ return;
40472
+ }
40473
+ var script = document.createElement("script");
40474
+ script.src = "".concat(verifyURL, "?render=explicit");
40475
+ script.onload = function () {
40476
+ setScriptLoaded(true);
40477
+ };
40478
+ script.onerror = function () {
40479
+ handleScriptError();
40480
+ };
40481
+ script.onabort = function () {
40482
+ handleScriptError();
40483
+ };
40484
+ script.defer = true;
40485
+ document.getElementsByTagName("head")[0].appendChild(script);
40486
+ return function () {
40487
+ setScriptLoaded(false);
40488
+ setScriptError(false);
40489
+ };
40490
+ }, [verifyURL]);
40491
+ return {
40492
+ scriptLoaded: scriptLoaded,
40493
+ scriptError: scriptError
40494
+ };
40495
+ };
40496
+
40497
+
40498
+
40499
+ var index$1 = /*#__PURE__*/Object.freeze({
40500
+ __proto__: null,
40501
+ useOutsideClick: useOutsideClickHook,
40502
+ useScrollTo: useScrollTo,
40503
+ useToastNotification: useToastNotification,
40504
+ useConditionallyAddValidator: useConditionallyAddValidator,
40505
+ useTurnstileScript: useTurnstileScript
40506
+ });
40507
+
40508
+ var hoverColor$4 = "#116285";
40509
+ var activeColor$8 = "#0E506D";
40510
+ var popoverTriggerColor = "#15749D";
40511
+ var fallbackValues$I = {
40512
+ hoverColor: hoverColor$4,
40513
+ activeColor: activeColor$8,
40514
+ popoverTriggerColor: popoverTriggerColor
40515
+ };
40516
+
40517
+ var Popover = function Popover(_ref) {
40518
+ var themeValues = _ref.themeValues,
40519
+ _ref$triggerText = _ref.triggerText,
40520
+ triggerText = _ref$triggerText === void 0 ? "" : _ref$triggerText,
40521
+ _ref$content = _ref.content,
40522
+ content = _ref$content === void 0 ? "" : _ref$content,
40523
+ _ref$hasIcon = _ref.hasIcon,
40524
+ hasIcon = _ref$hasIcon === void 0 ? false : _ref$hasIcon,
40525
+ Icon = _ref.icon,
40526
+ _ref$iconHelpText = _ref.iconHelpText,
40527
+ iconHelpText = _ref$iconHelpText === void 0 ? "" : _ref$iconHelpText,
40528
+ _ref$popoverID = _ref.popoverID,
40529
+ popoverID = _ref$popoverID === void 0 ? 0 : _ref$popoverID,
40530
+ _ref$popoverFocus = _ref.popoverFocus,
40531
+ popoverFocus = _ref$popoverFocus === void 0 ? false : _ref$popoverFocus,
40532
+ extraStyles = _ref.extraStyles,
40533
+ textExtraStyles = _ref.textExtraStyles,
40534
+ _ref$minWidth = _ref.minWidth,
40535
+ minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
40536
+ _ref$maxWidth = _ref.maxWidth,
40537
+ maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
40538
+ _ref$height = _ref.height,
40539
+ height = _ref$height === void 0 ? "auto" : _ref$height,
40540
+ position = _ref.position,
40541
+ arrowPosition = _ref.arrowPosition,
40542
+ _ref$arrowDirection = _ref.arrowDirection,
40543
+ arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
40544
+ _ref$transform = _ref.transform,
40545
+ transform = _ref$transform === void 0 ? "none" : _ref$transform,
40546
+ buttonExtraStyles = _ref.buttonExtraStyles,
40547
+ _ref$backgroundColor = _ref.backgroundColor,
40548
+ backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
40549
+ _ref$borderColor = _ref.borderColor,
40550
+ borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
40551
+ popoverExtraStyles = _ref.popoverExtraStyles;
40552
+ var hoverColor = themeValues.hoverColor,
40553
+ activeColor = themeValues.activeColor,
40554
+ popoverTriggerColor = themeValues.popoverTriggerColor;
40555
+ var _ref2 = position !== null && position !== void 0 ? position : {},
40556
+ _ref2$top = _ref2.top,
40557
+ top = _ref2$top === void 0 ? "-110px" : _ref2$top,
40558
+ _ref2$right = _ref2.right,
40559
+ right = _ref2$right === void 0 ? "auto" : _ref2$right,
40560
+ _ref2$bottom = _ref2.bottom,
40561
+ bottom = _ref2$bottom === void 0 ? "auto" : _ref2$bottom,
40562
+ _ref2$left = _ref2.left,
40563
+ left = _ref2$left === void 0 ? "-225px" : _ref2$left;
40564
+ var _ref3 = arrowPosition !== null && arrowPosition !== void 0 ? arrowPosition : {},
40565
+ _ref3$arrowTop = _ref3.arrowTop,
40566
+ arrowTop = _ref3$arrowTop === void 0 ? "auto" : _ref3$arrowTop,
40567
+ _ref3$arrowRight = _ref3.arrowRight,
40568
+ arrowRight = _ref3$arrowRight === void 0 ? "10px" : _ref3$arrowRight,
40569
+ _ref3$arrowBottom = _ref3.arrowBottom,
40570
+ arrowBottom = _ref3$arrowBottom === void 0 ? "-8px" : _ref3$arrowBottom,
40571
+ _ref3$arrowLeft = _ref3.arrowLeft,
40572
+ arrowLeft = _ref3$arrowLeft === void 0 ? "auto" : _ref3$arrowLeft;
40573
+ var _useState = useState(false),
40574
+ _useState2 = _slicedToArray(_useState, 2),
40575
+ popoverOpen = _useState2[0],
40576
+ togglePopover = _useState2[1];
40577
+ var handleTogglePopover = function handleTogglePopover(popoverState) {
40578
+ if (popoverOpen !== popoverState) {
40579
+ togglePopover(popoverState);
40580
+ }
40581
+ };
40582
+ var triggerRef = useOutsideClickHook(function () {
40583
+ return handleTogglePopover(false);
40584
+ });
40585
+ return /*#__PURE__*/React__default.createElement(Box, {
40586
+ padding: "0",
40587
+ extraStyles: "position: relative; ".concat(extraStyles)
40588
+ }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
40589
+ action: function action() {
40590
+ return noop$1;
40591
+ },
40592
+ onFocus: function onFocus() {
40593
+ handleTogglePopover(true);
40594
+ },
40595
+ onBlur: function onBlur() {
40596
+ handleTogglePopover(false);
40597
+ },
40598
+ onKeyDown: function onKeyDown(e) {
40599
+ if (e.keyCode === ESCAPE) {
40600
+ handleTogglePopover(false);
40601
+ }
40602
+ },
40603
+ onTouchStart: function onTouchStart() {
40604
+ return handleTogglePopover(true);
40605
+ },
40606
+ onTouchEnd: function onTouchEnd() {
40607
+ return handleTogglePopover(false);
40608
+ },
40609
+ onMouseEnter: function onMouseEnter() {
40610
+ return handleTogglePopover(true);
40611
+ },
40612
+ onMouseLeave: function onMouseLeave() {
40613
+ return handleTogglePopover(false);
40614
+ },
40615
+ contentOverride: true,
40616
+ variant: "smallGhost",
40617
+ tabIndex: "0",
40618
+ id: "btnPopover".concat(popoverID),
40619
+ "aria-expanded": popoverOpen,
40620
+ "aria-labelledby": "btnPopover".concat(popoverID, "_info Disclosure").concat(popoverID),
40621
+ "aria-describedby": "Disclosure".concat(popoverID),
40622
+ "aria-controls": "Disclosed".concat(popoverID),
40623
+ ref: triggerRef,
40624
+ extraStyles: buttonExtraStyles
40625
+ }, hasIcon && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, null), /*#__PURE__*/React__default.createElement(Box, {
40626
+ padding: "0",
40627
+ srOnly: true
40628
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
40629
+ id: "btnPopover".concat(popoverID, "_info")
40630
+ }, iconHelpText))), !hasIcon && /*#__PURE__*/React__default.createElement(Text$1, {
40631
+ color: popoverTriggerColor,
40632
+ extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
40633
+ }, triggerText)), /*#__PURE__*/React__default.createElement(Box, {
40634
+ background: backgroundColor,
40635
+ borderRadius: "4px",
40636
+ boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
40637
+ id: "Disclosed".concat(popoverID),
40638
+ role: "region",
40639
+ "aria-describedby": "Disclosure".concat(popoverID),
40640
+ tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
40641
+ minWidth: minWidth,
40642
+ maxWidth: maxWidth,
40643
+ 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 transform: ").concat(transform, ";\n ").concat(popoverExtraStyles, ";\n ")
40644
+ }, /*#__PURE__*/React__default.createElement(Paragraph$1, null, content), /*#__PURE__*/React__default.createElement(Box, {
40645
+ padding: "0",
40646
+ extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
40647
+ })));
40648
+ };
40649
+ var Popover$1 = themeComponent(Popover, "Popover", fallbackValues$I);
40650
+
40439
40651
  /*
40440
40652
  This component will render `content` and a clipboard icon.
40441
40653
  When hovered, a popover with content `initialPopoverContent` will be displayed.
@@ -51231,8 +51443,161 @@ var TurnstileWidget = /*#__PURE__*/forwardRef(function (_ref4, ref) {
51231
51443
  }, error)));
51232
51444
  });
51233
51445
 
51234
- var pageBackground = "#FBFCFD";
51446
+ var TOOLTIP_THEME_SOURCE = "Popover";
51235
51447
  var fallbackValues$12 = {
51448
+ hoverColor: SAPPHIRE_BLUE,
51449
+ activeColor: PEACOCK_BLUE,
51450
+ popoverTriggerColor: MATISSE_BLUE,
51451
+ borderColor: "rgba(255, 255, 255, 0.85)"
51452
+ };
51453
+ var Tooltip = function Tooltip(_ref) {
51454
+ var tooltipID = _ref.tooltipID,
51455
+ _ref$hasIconTrigger = _ref.hasIconTrigger,
51456
+ hasIconTrigger = _ref$hasIconTrigger === void 0 ? false : _ref$hasIconTrigger,
51457
+ _ref$IconTrigger = _ref.IconTrigger,
51458
+ IconTrigger = _ref$IconTrigger === void 0 ? WarningIconXS : _ref$IconTrigger,
51459
+ _ref$iconHelpText = _ref.iconHelpText,
51460
+ iconHelpText = _ref$iconHelpText === void 0 ? "Open the tooltip" : _ref$iconHelpText,
51461
+ _ref$triggerText = _ref.triggerText,
51462
+ triggerText = _ref$triggerText === void 0 ? "Open the tooltip" : _ref$triggerText,
51463
+ _ref$tooltipContent = _ref.tooltipContent,
51464
+ tooltipContent = _ref$tooltipContent === void 0 ? "The contents of the tooltip go here." : _ref$tooltipContent,
51465
+ _ref$contentPosition = _ref.contentPosition,
51466
+ contentPosition = _ref$contentPosition === void 0 ? {
51467
+ top: "-110px",
51468
+ right: "auto",
51469
+ bottom: "auto",
51470
+ left: "-225px"
51471
+ } : _ref$contentPosition,
51472
+ _ref$arrowDirection = _ref.arrowDirection,
51473
+ arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
51474
+ _ref$arrowPosition = _ref.arrowPosition,
51475
+ arrowPosition = _ref$arrowPosition === void 0 ? {
51476
+ arrowTop: "auto",
51477
+ arrowRight: "10px",
51478
+ arrowBottom: "-8px",
51479
+ arrowLeft: "auto"
51480
+ } : _ref$arrowPosition,
51481
+ _ref$minWidth = _ref.minWidth,
51482
+ minWidth = _ref$minWidth === void 0 ? "250px" : _ref$minWidth,
51483
+ _ref$maxWidth = _ref.maxWidth,
51484
+ maxWidth = _ref$maxWidth === void 0 ? "300px" : _ref$maxWidth,
51485
+ _ref$height = _ref.height,
51486
+ height = _ref$height === void 0 ? "auto" : _ref$height,
51487
+ _ref$containerExtraSt = _ref.containerExtraStyles,
51488
+ containerExtraStyles = _ref$containerExtraSt === void 0 ? "" : _ref$containerExtraSt,
51489
+ _ref$triggerExtraStyl = _ref.triggerExtraStyles,
51490
+ triggerExtraStyles = _ref$triggerExtraStyl === void 0 ? "" : _ref$triggerExtraStyl,
51491
+ _ref$triggerButtonVar = _ref.triggerButtonVariant,
51492
+ triggerButtonVariant = _ref$triggerButtonVar === void 0 ? "smallGhost" : _ref$triggerButtonVar,
51493
+ _ref$contentExtraStyl = _ref.contentExtraStyles,
51494
+ contentExtraStyles = _ref$contentExtraStyl === void 0 ? "" : _ref$contentExtraStyl,
51495
+ _ref$contentBackgroun = _ref.contentBackgroundColor,
51496
+ contentBackgroundColor = _ref$contentBackgroun === void 0 ? WHITE : _ref$contentBackgroun;
51497
+ var closeTimeoutRef = useRef(null);
51498
+ var _useState = useState(false),
51499
+ _useState2 = _slicedToArray(_useState, 2),
51500
+ tooltipOpen = _useState2[0],
51501
+ setTooltipOpen = _useState2[1];
51502
+ var themeContext = useContext(ThemeContext);
51503
+ var themeValues = createThemeValues(themeContext, fallbackValues$12, TOOLTIP_THEME_SOURCE);
51504
+ var borderColor = themeValues.borderColor,
51505
+ tooltipTriggerColor = themeValues.popoverTriggerColor,
51506
+ hoverColor = themeValues.hoverColor,
51507
+ activeColor = themeValues.activeColor;
51508
+ var top = contentPosition.top,
51509
+ right = contentPosition.right,
51510
+ bottom = contentPosition.bottom,
51511
+ left = contentPosition.left;
51512
+ var arrowTop = arrowPosition.arrowTop,
51513
+ arrowRight = arrowPosition.arrowRight,
51514
+ arrowBottom = arrowPosition.arrowBottom,
51515
+ arrowLeft = arrowPosition.arrowLeft;
51516
+ var handleToggleTooltip = function handleToggleTooltip(desiredTooltipState) {
51517
+ if (tooltipOpen !== desiredTooltipState) {
51518
+ setTooltipOpen(desiredTooltipState);
51519
+ }
51520
+ };
51521
+ var handleKeyboardEvent = function handleKeyboardEvent(e) {
51522
+ if (e.key === "Escape") {
51523
+ handleToggleTooltip(false);
51524
+ }
51525
+ };
51526
+ var handleMouseEnter = function handleMouseEnter() {
51527
+ if (closeTimeoutRef.current) {
51528
+ clearTimeout(closeTimeoutRef.current);
51529
+ closeTimeoutRef.current = null;
51530
+ }
51531
+ handleToggleTooltip(true);
51532
+ };
51533
+ var handleMouseLeave = function handleMouseLeave() {
51534
+ closeTimeoutRef.current = setTimeout(function () {
51535
+ handleToggleTooltip(false);
51536
+ }, 300);
51537
+ };
51538
+ useEffect$1(function () {
51539
+ return function () {
51540
+ if (closeTimeoutRef.current) {
51541
+ clearTimeout(closeTimeoutRef.current);
51542
+ }
51543
+ };
51544
+ }, []);
51545
+ return /*#__PURE__*/React__default.createElement(Box, {
51546
+ ref: closeTimeoutRef,
51547
+ padding: "0",
51548
+ extraStyles: "position: relative; ".concat(containerExtraStyles),
51549
+ onMouseEnter: function onMouseEnter() {
51550
+ return handleMouseEnter();
51551
+ },
51552
+ onMouseLeave: function onMouseLeave() {
51553
+ return handleMouseLeave();
51554
+ },
51555
+ "data-qa": "tooltip-container"
51556
+ }, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
51557
+ "aria-describedby": tooltipID,
51558
+ onKeyDown: handleKeyboardEvent,
51559
+ variant: triggerButtonVariant,
51560
+ onFocus: function onFocus() {
51561
+ return handleToggleTooltip(true);
51562
+ },
51563
+ onBlur: function onBlur() {
51564
+ return handleToggleTooltip(false);
51565
+ },
51566
+ onTouchStart: function onTouchStart() {
51567
+ return handleToggleTooltip(true);
51568
+ },
51569
+ "data-qa": "tooltip-trigger",
51570
+ contentOverride: true
51571
+ }, hasIconTrigger === true && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Box, {
51572
+ "aria-label": "Open tooltip"
51573
+ }, /*#__PURE__*/React__default.createElement(IconTrigger, {
51574
+ color: tooltipTriggerColor
51575
+ })), /*#__PURE__*/React__default.createElement(Box, {
51576
+ padding: "0",
51577
+ srOnly: true
51578
+ }, /*#__PURE__*/React__default.createElement(Text$1, null, iconHelpText))), hasIconTrigger === false && /*#__PURE__*/React__default.createElement(Text$1, {
51579
+ color: tooltipTriggerColor,
51580
+ extraStyles: "\n color: ".concat(tooltipTriggerColor, ";\n &:visited {\n color: ").concat(tooltipTriggerColor, ";\n }\n &:hover {\n color: ").concat(hoverColor, "; \n }\n &:active,\n &:focus {\n color: ").concat(activeColor, "; \n }\n ").concat(triggerExtraStyles, ";\n ")
51581
+ }, triggerText)), /*#__PURE__*/React__default.createElement(Box, {
51582
+ role: "tooltip",
51583
+ id: tooltipID,
51584
+ "aria-hidden": !tooltipOpen,
51585
+ background: contentBackgroundColor,
51586
+ "data-qa": "tooltip-contents",
51587
+ extraStyles: "\n position: absolute;\n display: ".concat(tooltipOpen ? "block" : "none", ";\n top: ").concat(top, "; \n right: ").concat(right, ";\n bottom: ").concat(bottom, ";\n left: ").concat(left, ";\n height: ").concat(height, ";\n ").concat(contentExtraStyles, "\n "),
51588
+ boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
51589
+ border: "1px solid transparent",
51590
+ borderRadius: "4px",
51591
+ minWidth: minWidth,
51592
+ maxWidth: maxWidth
51593
+ }, /*#__PURE__*/React__default.createElement(Paragraph$1, null, tooltipContent), /*#__PURE__*/React__default.createElement(Box, {
51594
+ padding: "0",
51595
+ extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(borderColor, arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
51596
+ })));
51597
+ };
51598
+
51599
+ var pageBackground = "#FBFCFD";
51600
+ var fallbackValues$13 = {
51236
51601
  pageBackground: pageBackground
51237
51602
  };
51238
51603
 
@@ -51280,7 +51645,7 @@ var CenterSingle = function CenterSingle(_ref) {
51280
51645
  padding: "0"
51281
51646
  })));
51282
51647
  };
51283
- var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$12));
51648
+ var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$13));
51284
51649
 
51285
51650
  var CenterStack = function CenterStack(_ref) {
51286
51651
  var header = _ref.header,
@@ -51323,7 +51688,7 @@ var CenterStack = function CenterStack(_ref) {
51323
51688
  padding: "0"
51324
51689
  })));
51325
51690
  };
51326
- var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$12));
51691
+ var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$13));
51327
51692
 
51328
51693
  var CenterSingle$2 = function CenterSingle(_ref) {
51329
51694
  var header = _ref.header,
@@ -51369,7 +51734,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
51369
51734
  padding: "0"
51370
51735
  })));
51371
51736
  };
51372
- var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$12));
51737
+ var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$13));
51373
51738
 
51374
51739
  var SidebarSingleContent = function SidebarSingleContent(_ref) {
51375
51740
  var header = _ref.header,
@@ -51422,7 +51787,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
51422
51787
  padding: "0"
51423
51788
  })));
51424
51789
  };
51425
- var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$12));
51790
+ var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$13));
51426
51791
 
51427
51792
  var SidebarStackContent = function SidebarStackContent(_ref) {
51428
51793
  var header = _ref.header,
@@ -51491,7 +51856,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
51491
51856
  key: "footer-box"
51492
51857
  })));
51493
51858
  };
51494
- var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$12));
51859
+ var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$13));
51495
51860
 
51496
51861
  var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
51497
51862
  var resetHasErrors = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
@@ -51562,5 +51927,5 @@ var index$2 = /*#__PURE__*/Object.freeze({
51562
51927
  useLogoutTimers: useLogoutTimers
51563
51928
  });
51564
51929
 
51565
- export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, AgencyIcon, Alert$1 as Alert, AllocatedIcon, AmExSmallIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankGenericSmallIcon, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CaretArrowDown$1 as CaretArrowDown, CaretArrowUp$1 as CaretArrowUp, CarrotIcon$1 as CarrotIcon, CashIcon, CashSmallIcon, CashieringImage, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, ContactCard, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisabledAccountsAddIcon, DisabledPaymentMethodsAddIcon, DisabledPropertiesAddIcon, DiscoverSmallIcon, DisplayBox$1 as DisplayBox, DisplayCard, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, EmptyCartIconV2$1 as EmptyCartIconV2, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, 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, FormTextarea$1 as FormTextarea, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GenericSmallIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HeroImage$1 as HeroImage, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, IdleModal, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, MasterCardSmallIcon, Modal$3 as Modal, Module$1 as Module, Motion, MultiCartIcon, MultipleSelectFilter$1 as MultipleSelectFilter, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoResultsIcon, NotFoundIcon, Obligation$1 as Obligation, iconsMap as ObligationIcons, OverageIcon, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaydotImage, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentStatusIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PersonIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, Popover$1 as Popover, PopupMenu$1 as PopupMenu, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationBanner$1 as RegistrationBanner, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess$1 as ResetPasswordSuccess, RevenueManagementImage, ReversalNeededIcon, RoutingNumberImage, Search$1 as Search, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, ShortageIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, SortableTableHeading$1 as SortableTableHeading, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, TrashIcon$1 as TrashIcon, TrashIconV2$1 as TrashIconV2, TurnstileWidget, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VisaSmallIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WalletName, WarningIconXS, WelcomeModule$1 as WelcomeModule, WireSmallIcon, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$1 as hooks, index$2 as util, withWindowSize };
51930
+ export { AccountNumberImage, AccountsAddIcon$1 as AccountsAddIcon, AccountsIcon$1 as AccountsIcon, AccountsIconSmall$1 as AccountsIconSmall, AchReturnIcon, AddObligation$1 as AddObligation, AddressForm, AgencyIcon, Alert$1 as Alert, AllocatedIcon, AmExLargeIcon, AmExSmallIcon, AmountCallout$1 as AmountCallout, ArrowDownCircleIconSmall, ArrowLeftCircleIconMedium, ArrowLeftCircleIconSmall, ArrowRightCircleIconSmall, ArrowRightIcon, ArrowUpCircleIconSmall, AutopayIcon, AutopayOnIcon, Badge$1 as Badge, BankGenericSmallIcon, BankIcon, BankIconLarge, Banner$1 as Banner, Box, BoxWithShadow$1 as BoxWithShadow, Breadcrumbs as Breadcrumb, ButtonWithAction, ButtonWithLink, CalendarIcon, Card$1 as Card, CardType, CaretArrowDown$1 as CaretArrowDown, CaretArrowUp$1 as CaretArrowUp, CarrotIcon$1 as CarrotIcon, CashIcon, CashSmallIcon, CashieringImage, Center, CenterSingle$1 as CenterSingle, CenterStack$1 as CenterStack, ChangePasswordForm, ChargebackIcon, ChargebackIconMedium, ChargebackIconSmall, ChargebackReversalIcon, ChargebackReversalIconMedium, ChargebackReversalIconSmall, CheckIcon, Checkbox$1 as Checkbox, CheckboxList$1 as CheckboxList, CheckmarkIcon, ChevronIcon$1 as ChevronIcon, CloseIcon, Cluster, CollapsibleSection$1 as CollapsibleSection, ContactCard, Copyable, CountryDropdown, Cover, CustomerSearchIcon, DefaultPageTemplate, Detail$1 as Detail, DisabledAccountsAddIcon, DisabledPaymentMethodsAddIcon, DisabledPropertiesAddIcon, DiscoverLargeIcon, DiscoverSmallIcon, DisplayBox$1 as DisplayBox, Dropdown$1 as Dropdown, DuplicateIcon, EditNameForm, EditableList, EditableTable, EmailForm, EmptyCartIcon$1 as EmptyCartIcon, EmptyCartIconV2$1 as EmptyCartIconV2, ErroredIcon, ExternalLink, ExternalLinkIcon, FailedIcon, FindIconSmall$1 as FindIconSmall, 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, FormTextarea$1 as FormTextarea, FormattedAddress$1 as FormattedAddress, FormattedBankAccount$1 as FormattedBankAccount, FormattedCreditCard$1 as FormattedCreditCard, Frame, GenericCard, GenericCardLarge, GenericErrorIcon, GenericSmallIcon, GoToEmailIcon$1 as GoToEmailIcon, Grid, GuidedCheckoutImage, HamburgerButton, Heading$1 as Heading, HeroImage$1 as HeroImage, HighlightTabRow$1 as HighlightTabRow, HistoryIconSmall$1 as HistoryIconSmall, IconAdd, IconQuitLarge, IdleModal, ImageBox, Imposter, InternalLink, Jumbo$1 as Jumbo, KebabMenuIcon, KioskImage, LabeledAmount$1 as LabeledAmount, LineItem$1 as LineItem, LinkCard$1 as LinkCard, Loading, LoadingLine, LoginForm, MasterCardLargeIcon, MasterCardSmallIcon, Modal$3 as Modal, Module$1 as Module, Motion, MultiCartIcon, MultipleSelectFilter$1 as MultipleSelectFilter, NavFooter, NavHeader, NavMenuDesktop$1 as NavMenuDesktop, NavMenuMobile$1 as NavMenuMobile, NavTabs, NoResultsIcon, NotFoundIcon, Obligation$1 as Obligation, iconsMap as ObligationIcons, OverageIcon, Pagination$1 as Pagination, Paragraph$1 as Paragraph, PartialAmountForm, PasswordRequirements, PaydotImage, PaymentButtonBar, PaymentDetails$1 as PaymentDetails, PaymentFormACH, PaymentFormCard$1 as PaymentFormCard, PaymentMethodAddIcon$1 as PaymentMethodAddIcon, PaymentMethodIcon$1 as PaymentMethodIcon, PaymentSearchIcon, PaymentStatusIcon, PaymentsIconSmall$1 as PaymentsIconSmall, PencilIcon$1 as PencilIcon, PendingIcon, PeriscopeDashboardIframe, PeriscopeFailedIcon, PersonIcon, PhoneForm, Placeholder$1 as Placeholder, PlusCircleIcon, Popover$1 as Popover, PopupMenu$1 as PopupMenu, ProcessingFee$1 as ProcessingFee, ProfileIcon$1 as ProfileIcon, ProfileIconSmall$1 as ProfileIconSmall, ProfileImage, PropertiesAddIcon$1 as PropertiesAddIcon, PropertiesIconSmall$1 as PropertiesIconSmall, RadioButton$2 as RadioButton, RadioButtonWithLabel$1 as RadioButtonWithLabel, RadioGroup, RadioSection$1 as RadioSection, Reel, RefundIcon, RefundIconMedium, RefundIconSmall, RegistrationBanner$1 as RegistrationBanner, RegistrationForm, RejectedIcon, RejectedVelocityIcon, ResetConfirmationForm$1 as ResetConfirmationForm, ResetPasswordForm, ResetPasswordIcon, ResetPasswordSuccess$1 as ResetPasswordSuccess, RevenueManagementImage, ReversalNeededIcon, RoutingNumberImage, Search$1 as Search, SearchIcon, SearchableSelect$1 as SearchableSelect, SettingsIconSmall$1 as SettingsIconSmall, ShoppingCartIcon, ShortageIcon, Sidebar, SidebarSingleContent$1 as SidebarSingleContent, SidebarStackContent$1 as SidebarStackContent, SolidDivider$1 as SolidDivider, SortableTableHeading$1 as SortableTableHeading, Spinner$2 as Spinner, Stack, StandardCheckoutImage, FormStateDropdown as StateProvinceDropdown, StatusUnknownIcon, SuccessfulIcon, SuccessfulIconMedium, SuccessfulIconSmall, Switcher, TabSidebar$1 as TabSidebar, Table_styled as Table, TableBody_styled as TableBody, TableCell_styled as TableCell, TableHead$1 as TableHead, TableHeading, TableListItem, TableRow$1 as TableRow, Tabs$1 as Tabs, TermsAndConditions, TermsAndConditionsModal$1 as TermsAndConditionsModal, Text$1 as Text, Timeout$1 as Timeout, TimeoutImage, Title$1 as Title, ToastNotification, ToggleSwitch$1 as ToggleSwitch, Tooltip, TrashIcon$1 as TrashIcon, TrashIconV2$1 as TrashIconV2, TurnstileWidget, TypeaheadInput, VerifiedEmailIcon$1 as VerifiedEmailIcon, VisaLargeIcon, VisaSmallIcon, VoidedIcon, WalletBannerIcon$1 as WalletBannerIcon, WalletIcon$1 as WalletIcon, WalletIconSmall$1 as WalletIconSmall, WalletName, WarningIconXS, WelcomeModule$1 as WelcomeModule, WireSmallIcon, WorkflowTile, XCircleIconMedium, XCircleIconSmall, cardRegistry, index as constants, createPartialAmountFormState, createPartialAmountFormValidators, index$1 as hooks, index$2 as util, withWindowSize };
51566
51931
  //# sourceMappingURL=index.esm.js.map