@thecb/components 5.0.0-beta.7 → 5.0.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.
package/dist/index.cjs.js CHANGED
@@ -4985,8 +4985,10 @@ var colors = /*#__PURE__*/Object.freeze({
4985
4985
  ERROR_COLOR: ERROR_COLOR
4986
4986
  });
4987
4987
 
4988
- var _templateObject, _templateObject2, _templateObject3;
4989
- var TextSpan = styled__default.span(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n\n &:hover {\n ", "\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"])), function (_ref) {
4988
+ var TextSpan = styled__default.span.withConfig({
4989
+ displayName: "Textstyled__TextSpan",
4990
+ componentId: "sc-1oy97we-0"
4991
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
4990
4992
  var fontSize = _ref.fontSize;
4991
4993
  return fontSize;
4992
4994
  }, function (_ref2) {
@@ -5000,11 +5002,11 @@ var TextSpan = styled__default.span(_templateObject || (_templateObject = _tagge
5000
5002
  return color;
5001
5003
  }, function (_ref5) {
5002
5004
  var hoverStyles = _ref5.hoverStyles;
5003
- return styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n "])), hoverStyles);
5005
+ return styled.css(["", ""], hoverStyles);
5004
5006
  }, ROYAL_BLUE, function (_ref6) {
5005
5007
  var disabled = _ref6.disabled,
5006
5008
  disabledStyles = _ref6.disabledStyles;
5007
- return disabled && styled.css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n "])), disabledStyles);
5009
+ return disabled && styled.css(["", ""], disabledStyles);
5008
5010
  }, function (_ref7) {
5009
5011
  var extraStyles = _ref7.extraStyles;
5010
5012
  return extraStyles;
@@ -5012,10 +5014,6 @@ var TextSpan = styled__default.span(_templateObject || (_templateObject = _tagge
5012
5014
 
5013
5015
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
5014
5016
 
5015
- function unwrapExports (x) {
5016
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
5017
- }
5018
-
5019
5017
  function createCommonjsModule(fn, module) {
5020
5018
  return module = { exports: {} }, fn(module, module.exports), module.exports;
5021
5019
  }
@@ -6162,8 +6160,6 @@ var Text = function Text(_ref) {
6162
6160
  var Text$1 = themeComponent(Text, "Text", fallbackValues, "p");
6163
6161
 
6164
6162
  var _excluded$2 = ["activeStyles", "hoverStyles", "disabledStyles", "extraStyles", "borderSize", "borderColor", "borderWidthOverride", "borderRadius", "textAlign", "boxShadow", "minHeight", "minWidth", "maxWidth", "padding", "hiddenStyles", "ariaControls", "ariaLabel"];
6165
-
6166
- var _templateObject$1, _templateObject2$1, _templateObject3$1, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
6167
6163
  /*
6168
6164
  The child span selector on hover styles targets the text inside of buttons when a button is hovered,
6169
6165
  as long as the box wrapper has an "as" prop equal to "button"
@@ -6198,7 +6194,10 @@ var BoxWrapper = styled__default(function (_ref) {
6198
6194
  "aria-controls": ariaControls,
6199
6195
  "aria-label": ariaLabel
6200
6196
  }, props));
6201
- })(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n position: relative;\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n box-shadow: ", ";\n background-color: ", ";\n min-height: ", ";\n ", "\n min-width: ", ";\n max-width: ", ";\n color: ", ";\n border-radius: ", ";\n border-width: ", ";\n border: ", ";\n text-align: ", ";\n\n &:hover {\n ", "\n }\n\n &:focus {\n ", "\n }\n\n &:active {\n ", "\n }\n\n &:disabled {\n ", "\n }\n\n & * {\n color: ", ";\n }\n\n ", "\n ", "\n"])), function (_ref2) {
6197
+ }).withConfig({
6198
+ displayName: "Boxstyled__BoxWrapper",
6199
+ componentId: "sc-1f9ij0d-0"
6200
+ })(["position:relative;box-sizing:border-box;padding:", ";border:", ";box-shadow:", ";background-color:", ";min-height:", ";", " min-width:", ";max-width:", ";color:", ";border-radius:", ";border-width:", ";border:", ";text-align:", ";&:hover{", "}&:focus{", "}&:active{", "}&:disabled{", "}& *{color:", ";}", " ", ""], function (_ref2) {
6202
6201
  var padding = _ref2.padding;
6203
6202
  return padding;
6204
6203
  }, function (_ref3) {
@@ -6242,27 +6241,27 @@ var BoxWrapper = styled__default(function (_ref) {
6242
6241
  }, function (_ref15) {
6243
6242
  var hoverStyles = _ref15.hoverStyles,
6244
6243
  as = _ref15.as;
6245
- return styled.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6244
+ return styled.css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6246
6245
  }, function (_ref16) {
6247
6246
  var as = _ref16.as;
6248
- return styled.css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n outline: 3px solid ", ";\n outline-offset: 2px;\n ", "\n "])), ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6247
+ return styled.css(["outline:3px solid ", ";outline-offset:2px;", ""], ROYAL_BLUE, as === "button" && "\n > * > span {\n border: none;\n outline: none;\n box-shadow: none;\n }");
6249
6248
  }, function (_ref17) {
6250
6249
  var activeStyles = _ref17.activeStyles,
6251
6250
  as = _ref17.as;
6252
- return styled.css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6251
+ return styled.css(["", " ", ""], activeStyles, as === "button" ? " > * > span {\n ".concat(activeStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6253
6252
  }, function (_ref18) {
6254
6253
  var disabledStyles = _ref18.disabledStyles,
6255
6254
  as = _ref18.as;
6256
- return styled.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n ", "\n ", "\n "])), disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6255
+ return styled.css(["", " ", ""], disabledStyles, as === "button" ? " > * > span {\n ".concat(disabledStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
6257
6256
  }, function (_ref19) {
6258
6257
  var color = _ref19.color;
6259
6258
  return color;
6260
6259
  }, function (_ref20) {
6261
6260
  var hiddenStyles = _ref20.hiddenStyles;
6262
- return hiddenStyles && styled.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: none;\n "])));
6261
+ return hiddenStyles && styled.css(["display:none;"]);
6263
6262
  }, function (_ref21) {
6264
6263
  var extraStyles = _ref21.extraStyles;
6265
- return styled.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
6264
+ return styled.css(["", ""], extraStyles);
6266
6265
  });
6267
6266
  /* eslint-enable no-unused-vars */
6268
6267
 
@@ -6344,8 +6343,10 @@ var Box = function Box(_ref) {
6344
6343
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6345
6344
  };
6346
6345
 
6347
- var _templateObject$2;
6348
- var CenterWrapper = styled__default.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n box-sizing: content-box;\n margin-left: auto;\n margin-right: auto;\n max-width: ", ";\n padding-left: ", ";\n padding-right: ", ";\n ", ";\n"])), function (_ref) {
6346
+ var CenterWrapper = styled__default.div.withConfig({
6347
+ displayName: "Centerstyled__CenterWrapper",
6348
+ componentId: "sc-vawqfc-0"
6349
+ })(["box-sizing:content-box;margin-left:auto;margin-right:auto;max-width:", ";padding-left:", ";padding-right:", ";", ";"], function (_ref) {
6349
6350
  var maxWidth = _ref.maxWidth;
6350
6351
  return maxWidth;
6351
6352
  }, function (_ref2) {
@@ -6382,8 +6383,6 @@ var Center = function Center(_ref) {
6382
6383
  };
6383
6384
 
6384
6385
  var _excluded$5 = ["overflow"];
6385
-
6386
- var _templateObject$3, _templateObject2$2;
6387
6386
  /* eslint-disable no-unused-vars */
6388
6387
 
6389
6388
  var ClusterWrapper = styled__default(function (_ref) {
@@ -6391,7 +6390,10 @@ var ClusterWrapper = styled__default(function (_ref) {
6391
6390
  props = _objectWithoutProperties(_ref, _excluded$5);
6392
6391
 
6393
6392
  return /*#__PURE__*/React__default.createElement("div", props);
6394
- })(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n overflow: ", ";\n box-sizing: border-box;\n justify-self: ", ";\n align-self: ", ";\n flex-grow: ", ";\n ", ";\n"])), function (_ref2) {
6393
+ }).withConfig({
6394
+ displayName: "Clusterstyled__ClusterWrapper",
6395
+ componentId: "sc-1dkqsm7-0"
6396
+ })(["overflow:", ";box-sizing:border-box;justify-self:", ";align-self:", ";flex-grow:", ";", ";"], function (_ref2) {
6395
6397
  var overflow = _ref2.overflow;
6396
6398
  return overflow ? "visible" : "hidden";
6397
6399
  }, function (_ref3) {
@@ -6407,7 +6409,10 @@ var ClusterWrapper = styled__default(function (_ref) {
6407
6409
  var extraStyles = _ref6.extraStyles;
6408
6410
  return extraStyles;
6409
6411
  });
6410
- var ClusterInnerWrapper = styled__default.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: ", ";\n justify-content: ", ";\n align-items: ", ";\n margin: calc(", " / 2 * -1);\n min-height: ", ";\n min-width: ", ";\n > * {\n margin: calc(", " / 2);\n }\n"])), function (_ref7) {
6412
+ var ClusterInnerWrapper = styled__default.div.withConfig({
6413
+ displayName: "Clusterstyled__ClusterInnerWrapper",
6414
+ componentId: "sc-1dkqsm7-1"
6415
+ })(["box-sizing:border-box;display:flex;flex-wrap:", ";justify-content:", ";align-items:", ";margin:calc(", " / 2 * -1);min-height:", ";min-width:", ";> *{margin:calc(", " / 2);}"], function (_ref7) {
6411
6416
  var nowrap = _ref7.nowrap;
6412
6417
  return nowrap ? "nowrap" : "wrap";
6413
6418
  }, function (_ref8) {
@@ -6473,8 +6478,10 @@ var Cluster = function Cluster(_ref) {
6473
6478
  }, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6474
6479
  };
6475
6480
 
6476
- var _templateObject$4;
6477
- var GridWrapper = styled__default.div(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n display: grid;\n grid-gap: ", ";\n grid-template-columns: ", ";\n\n @supports (width: min(", ", 100%)) {\n & {\n grid-template-columns: repeat(\n auto-fill,\n minmax(\n ", ",\n ", "\n )\n );\n }\n }\n"])), function (_ref) {
6481
+ var GridWrapper = styled__default.div.withConfig({
6482
+ displayName: "Gridstyled__GridWrapper",
6483
+ componentId: "sc-8iakdj-0"
6484
+ })(["display:grid;grid-gap:", ";grid-template-columns:", ";@supports (width:min(", ",100%)){&{grid-template-columns:repeat( auto-fill,minmax( ", ",", " ) );}}"], function (_ref) {
6478
6485
  var columnGap = _ref.columnGap;
6479
6486
  return columnGap;
6480
6487
  }, function (_ref2) {
@@ -6531,9 +6538,10 @@ var Grid = function Grid(_ref) {
6531
6538
  };
6532
6539
 
6533
6540
  var _excluded$8 = ["onRight", "childGap", "contentMinWidth", "minHeight", "fullHeight"];
6534
-
6535
- var _templateObject$5, _templateObject2$3;
6536
- var SidebarWrapper = styled__default.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n overflow: visible;\n box-sizing: border-box;\n\n ", "\n"])), function (_ref) {
6541
+ var SidebarWrapper = styled__default.div.withConfig({
6542
+ displayName: "Sidebarstyled__SidebarWrapper",
6543
+ componentId: "sc-1bbn2or-0"
6544
+ })(["overflow:visible;box-sizing:border-box;", ""], function (_ref) {
6537
6545
  var fullHeight = _ref.fullHeight;
6538
6546
  return fullHeight ? "height: 100%;" : "";
6539
6547
  });
@@ -6547,7 +6555,10 @@ function (_ref2) {
6547
6555
  props = _objectWithoutProperties(_ref2, _excluded$8);
6548
6556
 
6549
6557
  return /*#__PURE__*/React__default.createElement("div", props);
6550
- })(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n box-sizing: border-box;\n margin: calc(", " / 2 * -1);\n\n > * {\n margin: calc(", " / 2);\n flex-grow: 1;\n ", ";\n ", "\n }\n\n ", "\n\n ", "\n"])), function (_ref3) {
6558
+ }).withConfig({
6559
+ displayName: "Sidebarstyled__SidebarInnerWrapper",
6560
+ componentId: "sc-1bbn2or-1"
6561
+ })(["display:flex;flex-wrap:wrap;box-sizing:border-box;margin:calc(", " / 2 * -1);> *{margin:calc(", " / 2);flex-grow:1;", ";", "}", " ", ""], function (_ref3) {
6551
6562
  var childGap = _ref3.childGap;
6552
6563
  return childGap;
6553
6564
  }, function (_ref4) {
@@ -6610,8 +6621,10 @@ var Sidebar = function Sidebar(_ref) {
6610
6621
  }, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6611
6622
  };
6612
6623
 
6613
- var _templateObject$6;
6614
- var StackWrapper = styled__default.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-direction: ", ";\n justify-content: ", ";\n height: ", ";\n\n > * {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n > * + * {\n ", "\n }\n\n ", ";\n"])), function (_ref) {
6624
+ var StackWrapper = styled__default.div.withConfig({
6625
+ displayName: "Stackstyled__StackWrapper",
6626
+ componentId: "sc-ejhezz-0"
6627
+ })(["box-sizing:border-box;display:flex;flex-direction:", ";justify-content:", ";height:", ";> *{margin-top:0;margin-bottom:0;}> * + *{", "}", ";"], function (_ref) {
6615
6628
  var direction = _ref.direction;
6616
6629
  return direction;
6617
6630
  }, function (_ref2) {
@@ -6662,8 +6675,10 @@ var Stack = function Stack(_ref) {
6662
6675
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6663
6676
  };
6664
6677
 
6665
- var _templateObject$7;
6666
- var CoverOuterContainer = styled__default.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n min-height: ", ";\n padding: ", ";\n min-width: ", ";\n\n > * {\n margin-top: ", ";\n margin-bottom: ", ";\n }\n\n > :first-child {\n margin-top: 0;\n }\n\n ", "\n\n ", "\n\n > :last-child {\n margin-bottom: 0;\n }\n"])), function (_ref) {
6678
+ var CoverOuterContainer = styled__default.div.withConfig({
6679
+ displayName: "Coverstyled__CoverOuterContainer",
6680
+ componentId: "sc-1jhq379-0"
6681
+ })(["box-sizing:border-box;display:flex;flex-direction:column;min-height:", ";padding:", ";min-width:", ";> *{margin-top:", ";margin-bottom:", ";}>:first-child{margin-top:0;}", " ", " >:last-child{margin-bottom:0;}"], function (_ref) {
6667
6682
  var minHeight = _ref.minHeight;
6668
6683
  return minHeight;
6669
6684
  }, function (_ref2) {
@@ -6727,8 +6742,10 @@ var Cover = function Cover(_ref) {
6727
6742
  }, rest), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)), singleChild ? /*#__PURE__*/React__default.createElement("div", null) : /*#__PURE__*/React__default.createElement(React.Fragment, null));
6728
6743
  };
6729
6744
 
6730
- var _templateObject$8;
6731
- var FrameOuterContainer = styled__default.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n padding-bottom: ", ";\n position: relative;\n\n > * {\n overflow: hidden;\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n > img,\n > video {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n"])), function (_ref) {
6745
+ var FrameOuterContainer = styled__default.div.withConfig({
6746
+ displayName: "Framestyled__FrameOuterContainer",
6747
+ componentId: "sc-1syfnuv-0"
6748
+ })(["box-sizing:border-box;padding-bottom:", ";position:relative;> *{overflow:hidden;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;}> img,> video{width:100%;height:100%;object-fit:cover;}"], function (_ref) {
6732
6749
  var numerator = _ref.numerator,
6733
6750
  denominator = _ref.denominator;
6734
6751
  return "calc((".concat(numerator, " / ").concat(denominator, ") * 100%)");
@@ -6762,9 +6779,14 @@ var Frame = function Frame(_ref) {
6762
6779
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
6763
6780
  };
6764
6781
 
6765
- var _templateObject$9, _templateObject2$4, _templateObject3$2;
6766
- var SwitcherOuterContainer = styled__default.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: block;\n"])));
6767
- var SwitcherInnerContainer = styled__default.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n box-sizing: border-box;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n padding: ", ";\n margin: ", ";\n ", "\n\n > * {\n flex-grow: 1;\n ", ";\n ", "\n ", "\n }\n\n ", "\n\n ", "\n\n ", "\n"])), function (_ref) {
6782
+ var SwitcherOuterContainer = styled__default.div.withConfig({
6783
+ displayName: "Switcherstyled__SwitcherOuterContainer",
6784
+ componentId: "sc-1ym61kc-0"
6785
+ })(["box-sizing:border-box;display:block;"]);
6786
+ var SwitcherInnerContainer = styled__default.div.withConfig({
6787
+ displayName: "Switcherstyled__SwitcherInnerContainer",
6788
+ componentId: "sc-1ym61kc-1"
6789
+ })(["box-sizing:border-box;display:flex;flex-wrap:wrap;overflow:hidden;padding:", ";margin:", ";", " > *{flex-grow:1;", ";", " ", "}", " ", " ", ""], function (_ref) {
6768
6790
  var padding = _ref.padding;
6769
6791
  return padding;
6770
6792
  }, function (_ref2) {
@@ -6793,7 +6815,7 @@ var SwitcherInnerContainer = styled__default.div(_templateObject2$4 || (_templat
6793
6815
  return maxChildren ? "> :nth-last-child(".concat(maxChildren + 1, "), > :nth-last-child(").concat(maxChildren + 1, ") ~ * {\n flex-basis: 100%;\n }") : "";
6794
6816
  }, function (_ref9) {
6795
6817
  var extraStyles = _ref9.extraStyles;
6796
- return styled.css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
6818
+ return styled.css(["", ""], extraStyles);
6797
6819
  });
6798
6820
 
6799
6821
  var _excluded$d = ["breakpoint", "childGap", "largeChild", "largeChildSize", "maxChildren", "maxChildrenOnly", "padding", "children", "extraStyles", "constrainMobile"];
@@ -6860,8 +6882,10 @@ var Switcher = function Switcher(_ref) {
6860
6882
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
6861
6883
  };
6862
6884
 
6863
- var _templateObject$a;
6864
- var ImposterWrapper = styled__default.div(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n position: ", ";\n top: ", ";\n left: ", ";\n display: ", ";\n\n ", "\n\n ", "\n ", ";\n"])), function (_ref) {
6885
+ var ImposterWrapper = styled__default.div.withConfig({
6886
+ displayName: "Imposterstyled__ImposterWrapper",
6887
+ componentId: "sc-1q0gj35-0"
6888
+ })(["position:", ";top:", ";left:", ";display:", ";", " ", " ", ";"], function (_ref) {
6865
6889
  var fixed = _ref.fixed;
6866
6890
  return fixed ? "fixed" : "absolute";
6867
6891
  }, function (_ref2) {
@@ -12001,8 +12025,10 @@ if (typeof window !== "undefined") {
12001
12025
  }
12002
12026
  }
12003
12027
 
12004
- var _templateObject$b;
12005
- var MotionWrapper = styled__default(motion.div)(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n position: ", ";\n display: ", ";\n box-sizing: border-box;\n padding: ", ";\n border: ", ";\n border-color: ", ";\n border-size: ", ";\n border-style: ", ";\n border-width: ", ";\n border-radius: ", ";\n background-color: ", ";\n box-shadow: ", ";\n min-height: ", ";\n min-width: ", ";\n height: ", ";\n width: ", ";\n text-align: ", ";\n margin: ", ";\n\n &:hover,\n &:focus {\n ", ";\n }\n\n &:active {\n ", ";\n }\n\n &:disabled {\n ", ";\n }\n\n ", ";\n"])), function (_ref) {
12028
+ var MotionWrapper = styled__default(motion.div).withConfig({
12029
+ displayName: "Motionstyled__MotionWrapper",
12030
+ componentId: "sc-1m6r1io-0"
12031
+ })(["position:", ";display:", ";box-sizing:border-box;padding:", ";border:", ";border-color:", ";border-size:", ";border-style:", ";border-width:", ";border-radius:", ";background-color:", ";box-shadow:", ";min-height:", ";min-width:", ";height:", ";width:", ";text-align:", ";margin:", ";&:hover,&:focus{", ";}&:active{", ";}&:disabled{", ";}", ";"], function (_ref) {
12006
12032
  var position = _ref.position;
12007
12033
  return position;
12008
12034
  }, function (_ref2) {
@@ -12117,8 +12143,10 @@ var Motion = function Motion(_ref) {
12117
12143
  }, rest), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
12118
12144
  };
12119
12145
 
12120
- var _templateObject$c;
12121
- var ReelStyled = styled__default.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n display: flex;\n overflow-x: ", ";\n padding: ", ";\n height: ", ";\n justify-content: ", ";\n\n > * + * {\n margin-left: ", ";\n }\n\n > * {\n flex: 0 0 ", ";\n }\n"])), function (_ref) {
12146
+ var ReelStyled = styled__default.div.withConfig({
12147
+ displayName: "Reelstyled__ReelStyled",
12148
+ componentId: "sc-bhf05j-0"
12149
+ })(["display:flex;overflow-x:", ";padding:", ";height:", ";justify-content:", ";> * + *{margin-left:", ";}> *{flex:0 0 ", ";}"], function (_ref) {
12122
12150
  var disableScroll = _ref.disableScroll;
12123
12151
  return disableScroll ? "hidden" : "auto";
12124
12152
  }, function (_ref2) {
@@ -12369,7 +12397,6 @@ var fallbackValues$1 = {
12369
12397
  activeColor: activeColor
12370
12398
  };
12371
12399
 
12372
- var _templateObject$d, _templateObject2$5;
12373
12400
  var rotate = posed.div({
12374
12401
  fixed: {
12375
12402
  rotate: "0deg"
@@ -12385,8 +12412,14 @@ var rotate = posed.div({
12385
12412
  }
12386
12413
  }
12387
12414
  });
12388
- var SpinnerContainer = styled__default.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"])));
12389
- var SpinnerIconWrapper = styled__default(rotate)(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n width: ", "px;\n height: ", "px;\n"])), function (_ref) {
12415
+ var SpinnerContainer = styled__default.div.withConfig({
12416
+ displayName: "Spinner__SpinnerContainer",
12417
+ componentId: "sc-jphte-0"
12418
+ })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
12419
+ var SpinnerIconWrapper = styled__default(rotate).withConfig({
12420
+ displayName: "Spinner__SpinnerIconWrapper",
12421
+ componentId: "sc-jphte-1"
12422
+ })(["width:", "px;height:", "px;"], function (_ref) {
12390
12423
  var isMobile = _ref.isMobile;
12391
12424
  return isMobile ? "18" : "21";
12392
12425
  }, function (_ref2) {
@@ -12430,8 +12463,6 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
12430
12463
  };
12431
12464
 
12432
12465
  var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
12433
-
12434
- var _templateObject$e, _templateObject2$6;
12435
12466
  var rotate$1 = posed.div({
12436
12467
  fixed: {
12437
12468
  rotate: "0deg"
@@ -12447,8 +12478,14 @@ var rotate$1 = posed.div({
12447
12478
  }
12448
12479
  }
12449
12480
  });
12450
- var SpinnerContainer$1 = styled__default.div(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n"])));
12451
- var SpinnerIconWrapper$1 = styled__default(rotate$1)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral([""])));
12481
+ var SpinnerContainer$1 = styled__default.div.withConfig({
12482
+ displayName: "ButtonWithAction__SpinnerContainer",
12483
+ componentId: "sc-1ffs4ga-0"
12484
+ })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;"]);
12485
+ var SpinnerIconWrapper$1 = styled__default(rotate$1).withConfig({
12486
+ displayName: "ButtonWithAction__SpinnerIconWrapper",
12487
+ componentId: "sc-1ffs4ga-1"
12488
+ })([""]);
12452
12489
 
12453
12490
  var Spinner = function Spinner(_ref) {
12454
12491
  var isMobile = _ref.isMobile;
@@ -13469,9 +13506,14 @@ var GenericCard = function GenericCard() {
13469
13506
  })))));
13470
13507
  };
13471
13508
 
13472
- var _templateObject$f, _templateObject2$7;
13473
- var BankItemWrapper = styled__default.div(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"])));
13474
- var BankAccountText = styled__default.h4(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.5rem;\n text-align: left;\n margin-right: 0.5rem;\n display: inline-block;\n"])), CHARADE_GREY);
13509
+ var BankItemWrapper = styled__default.div.withConfig({
13510
+ displayName: "PaymentIcon__BankItemWrapper",
13511
+ componentId: "sc-1k0jl35-0"
13512
+ })(["display:flex;justify-content:flex-start;align-items:center;"]);
13513
+ var BankAccountText = styled__default.h4.withConfig({
13514
+ displayName: "PaymentIcon__BankAccountText",
13515
+ componentId: "sc-1k0jl35-1"
13516
+ })(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
13475
13517
  var CHECKING = "CHECKING";
13476
13518
  var SAVINGS = "SAVINGS";
13477
13519
 
@@ -15749,8 +15791,10 @@ var Alert = function Alert(_ref) {
15749
15791
 
15750
15792
  var Alert$1 = themeComponent(Alert, "Alert", fallbackValues$4, "info");
15751
15793
 
15752
- var _templateObject$g;
15753
- var HeadingText = styled__default.h1(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
15794
+ var HeadingText = styled__default.h1.withConfig({
15795
+ displayName: "Headingstyled__HeadingText",
15796
+ componentId: "sc-1a3jd28-0"
15797
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
15754
15798
  var fontSize = _ref.fontSize;
15755
15799
  return fontSize;
15756
15800
  }, function (_ref2) {
@@ -16748,8 +16792,6 @@ var fallbackValues$9 = {
16748
16792
  };
16749
16793
 
16750
16794
  var _excluded$k = ["hoverColor", "activeColor", "extrastyles"];
16751
-
16752
- var _templateObject$h;
16753
16795
  /*
16754
16796
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
16755
16797
  unrecognized DOM attributes.
@@ -16764,7 +16806,10 @@ var StyledExternalLink = styled__default(function (_ref) {
16764
16806
  props = _objectWithoutProperties(_ref, _excluded$k);
16765
16807
 
16766
16808
  return /*#__PURE__*/React__default.createElement("a", props);
16767
- })(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n display: flex;\n font-size: ", ";\n color: ", ";\n font-weight: ", ";\n font-family: ", ";\n line-height: ", ";\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"])), function (_ref2) {
16809
+ }).withConfig({
16810
+ displayName: "ExternalLinkstyled__StyledExternalLink",
16811
+ componentId: "sc-m1q2m2-0"
16812
+ })(["display:flex;font-size:", ";color:", ";font-weight:", ";font-family:", ";line-height:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
16768
16813
  var size = _ref2.size;
16769
16814
  return size;
16770
16815
  }, function (_ref3) {
@@ -16828,8 +16873,6 @@ var ExternalLink = function ExternalLink(_ref) {
16828
16873
  };
16829
16874
 
16830
16875
  var _excluded$l = ["hoverColor", "activeColor", "active", "color", "extrastyles"];
16831
-
16832
- var _templateObject$i;
16833
16876
  /*
16834
16877
  The extracting of props and the disabling of the eslint rule is to stop React from complaining about
16835
16878
  unrecognized DOM attributes.
@@ -16846,7 +16889,10 @@ var StyledInternalLink = styled__default(function (_ref) {
16846
16889
  props = _objectWithoutProperties(_ref, _excluded$l);
16847
16890
 
16848
16891
  return /*#__PURE__*/React__default.createElement(reactRouterDom.Link, props);
16849
- })(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n display: flex;\n color: ", ";\n font-weight: ", ";\n line-height: ", ";\n font-size: ", ";\n font-family: ", ";\n margin: ", ";\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n &:active {\n text-decoration: underline;\n color: ", ";\n }\n\n ", "\n"])), function (_ref2) {
16892
+ }).withConfig({
16893
+ displayName: "InternalLinkstyled__StyledInternalLink",
16894
+ componentId: "sc-cuqxud-0"
16895
+ })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
16850
16896
  var color = _ref2.color,
16851
16897
  active = _ref2.active,
16852
16898
  activeColor = _ref2.activeColor;
@@ -18590,8 +18636,10 @@ var fallbackValues$a = {
18590
18636
  fontSize: fontSize$4
18591
18637
  };
18592
18638
 
18593
- var _templateObject$j;
18594
- var ParagraphText = styled__default.p(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n --font-size: ", ";\n font-size: var(--font-size);\n line-height: calc(1.5 * var(--font-size));\n font-weight: ", ";\n font-family: ", ";\n color: ", ";\n margin: ", ";\n\n ", "\n"])), function (_ref) {
18639
+ var ParagraphText = styled__default.p.withConfig({
18640
+ displayName: "Paragraphstyled__ParagraphText",
18641
+ componentId: "sc-17g98kx-0"
18642
+ })(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";margin:", ";", ""], function (_ref) {
18595
18643
  var fontSize = _ref.fontSize;
18596
18644
  return fontSize;
18597
18645
  }, function (_ref2) {
@@ -18889,19 +18937,33 @@ var fallbackValues$c = {
18889
18937
  disabledCheckedStyles: disabledCheckedStyles
18890
18938
  };
18891
18939
 
18892
- var _templateObject$k, _templateObject2$8, _templateObject3$3, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
18893
- var CheckboxContainer = styled__default.div(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n display: inline-block;\n vertical-align: middle;\n"])));
18894
- var CheckboxLabelContainer = styled__default.label(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
18895
- var CheckboxIcon = styled__default.svg(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n fill: none;\n stroke-width: 2px;\n stroke: ", ";\n"])), function (_ref) {
18940
+ var CheckboxContainer = styled__default.div.withConfig({
18941
+ displayName: "Checkbox__CheckboxContainer",
18942
+ componentId: "sc-36kqbv-0"
18943
+ })(["display:inline-block;vertical-align:middle;"]);
18944
+ var CheckboxLabelContainer = styled__default.label.withConfig({
18945
+ displayName: "Checkbox__CheckboxLabelContainer",
18946
+ componentId: "sc-36kqbv-1"
18947
+ })(["display:flex;align-items:center;"]);
18948
+ var CheckboxIcon = styled__default.svg.withConfig({
18949
+ displayName: "Checkbox__CheckboxIcon",
18950
+ componentId: "sc-36kqbv-2"
18951
+ })(["fill:none;stroke-width:2px;stroke:", ";"], function (_ref) {
18896
18952
  var disabled = _ref.disabled,
18897
18953
  disabledCheckColor = _ref.disabledCheckColor,
18898
18954
  checkColor = _ref.checkColor;
18899
- return disabled ? styled.css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n ", "\n "])), disabledCheckColor) : styled.css(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n ", "\n "])), checkColor);
18955
+ return disabled ? styled.css(["", ""], disabledCheckColor) : styled.css(["", ""], checkColor);
18900
18956
  });
18901
18957
  var HiddenCheckbox = styled__default.input.attrs({
18902
18958
  type: "checkbox"
18903
- })(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n border: 0;\n clip: rect(0 0 0 0);\n clippath: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n"])));
18904
- var StyledCheckbox = styled__default.div(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n display: inline-block;\n margin-right: 16px;\n width: 24px;\n height: 24px;\n border-radius: 2px;\n transition: all 150ms;\n\n ", " {\n visibility: ", ";\n }\n\n ", ";\n"])), CheckboxIcon, function (_ref2) {
18959
+ }).withConfig({
18960
+ displayName: "Checkbox__HiddenCheckbox",
18961
+ componentId: "sc-36kqbv-3"
18962
+ })(["border:0;clip:rect(0 0 0 0);clippath:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px;"]);
18963
+ var StyledCheckbox = styled__default.div.withConfig({
18964
+ displayName: "Checkbox__StyledCheckbox",
18965
+ componentId: "sc-36kqbv-4"
18966
+ })(["display:inline-block;margin-right:16px;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
18905
18967
  var checked = _ref2.checked;
18906
18968
  return checked ? "visible" : "hidden";
18907
18969
  }, function (_ref3) {
@@ -18915,7 +18977,7 @@ var StyledCheckbox = styled__default.div(_templateObject7$1 || (_templateObject7
18915
18977
  errorStyles = _ref3.errorStyles,
18916
18978
  disabledStyles = _ref3.disabledStyles,
18917
18979
  disabledCheckedStyles = _ref3.disabledCheckedStyles;
18918
- return error ? styled.css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n ", " ", "\n "])), errorStyles, focused && focusedStyles) : disabled ? styled.css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n ", "\n "])), checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n ", " ", "\n "])), checkedStyles, focused && focusedStyles) : styled.css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n ", " ", "\n "])), defaultStyles, focused && focusedStyles);
18980
+ return error ? styled.css(["", " ", ""], errorStyles, focused && focusedStyles) : disabled ? styled.css(["", ""], checked ? disabledCheckedStyles : disabledStyles) : checked ? styled.css(["", " ", ""], checkedStyles, focused && focusedStyles) : styled.css(["", " ", ""], defaultStyles, focused && focusedStyles);
18919
18981
  });
18920
18982
 
18921
18983
  var Checkbox = function Checkbox(_ref4) {
@@ -19040,20 +19102,25 @@ to the one generated by name-that-color.
19040
19102
  var PEWTER_GREY$1 = "#DFE1E4";
19041
19103
  var MARINER_BLUE$1 = "#2E75D2";
19042
19104
 
19043
- var _templateObject$l, _templateObject2$9;
19044
19105
  var defaultTheme = {
19045
19106
  theme: {
19046
19107
  accentColor: MARINER_BLUE$1,
19047
19108
  inactiveColor: PEWTER_GREY$1
19048
19109
  }
19049
19110
  };
19050
- var RadioButtonBorder = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteral(["\n height: 24px;\n width: 24px;\n border: 1px solid\n ", ";\n border-radius: 12px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin: 10px;\n min-width: 24px;\n min-height: 24px;\n"])), function (_ref) {
19111
+ var RadioButtonBorder = styled__default.div.withConfig({
19112
+ displayName: "radio-button__RadioButtonBorder",
19113
+ componentId: "sc-8odgi0-0"
19114
+ })(["height:24px;width:24px;border:1px solid ", ";border-radius:12px;display:flex;justify-content:center;align-items:center;margin:10px;min-width:24px;min-height:24px;"], function (_ref) {
19051
19115
  var isSelected = _ref.isSelected,
19052
19116
  theme = _ref.theme;
19053
19117
  return isSelected ? theme.accentColor : theme.inactiveColor;
19054
19118
  });
19055
19119
  RadioButtonBorder.defaultProps = defaultTheme;
19056
- var RadioButtonCenter = styled__default.div(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n background-color: ", ";\n border-radius: 8px;\n"])), function (_ref2) {
19120
+ var RadioButtonCenter = styled__default.div.withConfig({
19121
+ displayName: "radio-button__RadioButtonCenter",
19122
+ componentId: "sc-8odgi0-1"
19123
+ })(["height:16px;width:16px;background-color:", ";border-radius:8px;"], function (_ref2) {
19057
19124
  var theme = _ref2.theme;
19058
19125
  return theme.accentColor;
19059
19126
  });
@@ -19069,10 +19136,18 @@ var RadioButton = function RadioButton(_ref3) {
19069
19136
  }, isSelected && /*#__PURE__*/React__default.createElement(RadioButtonCenter, null));
19070
19137
  };
19071
19138
 
19072
- var _templateObject$m, _templateObject2$a, _templateObject3$4;
19073
- var CheckboxItemIcon = styled__default.img(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n width: 2rem;\n"])));
19074
- var HiddenCheckboxInput = styled__default.input(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n z-index: -2;\n cursor: pointer;\n"])));
19075
- var CheckboxLabel = styled__default.label(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n position: relative;\n z-index: 5;\n &:focus {\n outline: none;\n }\n"])));
19139
+ var CheckboxItemIcon = styled__default.img.withConfig({
19140
+ displayName: "CheckboxList__CheckboxItemIcon",
19141
+ componentId: "sc-1yakme1-0"
19142
+ })(["width:2rem;"]);
19143
+ var HiddenCheckboxInput = styled__default.input.withConfig({
19144
+ displayName: "CheckboxList__HiddenCheckboxInput",
19145
+ componentId: "sc-1yakme1-1"
19146
+ })(["opacity:0;position:absolute;z-index:-2;cursor:pointer;"]);
19147
+ var CheckboxLabel = styled__default.label.withConfig({
19148
+ displayName: "CheckboxList__CheckboxLabel",
19149
+ componentId: "sc-1yakme1-2"
19150
+ })(["position:relative;z-index:5;&:focus{outline:none;}"]);
19076
19151
 
19077
19152
  var CheckboxListItem = function CheckboxListItem(_ref) {
19078
19153
  var text = _ref.text,
@@ -19215,19 +19290,27 @@ var fallbackValues$e = {
19215
19290
  hoverColor: hoverColor$3
19216
19291
  };
19217
19292
 
19218
- var _templateObject$n, _templateObject2$b, _templateObject3$5, _templateObject4$2;
19219
- var IconWrapper = styled__default.div(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n transition: transform 0.3s ease;\n ", "\n"])), function (_ref) {
19293
+ var IconWrapper = styled__default.div.withConfig({
19294
+ displayName: "Dropdown__IconWrapper",
19295
+ componentId: "sc-pn6m0h-0"
19296
+ })(["display:flex;flex-direction:column;justify-content:center;transition:transform 0.3s ease;", ""], function (_ref) {
19220
19297
  var open = _ref.open;
19221
19298
  return open ? "transform: rotate(-180deg)" : "";
19222
19299
  });
19223
- var DropdownContentWrapper = styled__default.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n transform-origin: 0 0;\n border: 1px solid ", ";\n border-radius: 2px;\n background-color: ", ";\n padding: 8px 0 8px;\n position: absolute;\n width: ", ";\n min-width: 100%;\n max-height: ", ";\n overflow-y: scroll;\n z-index: 1;\n box-sizing: border-box;\n &:focus {\n outline: none;\n }\n"])), GREY_CHATEAU, WHITE, function (_ref2) {
19300
+ var DropdownContentWrapper = styled__default.div.withConfig({
19301
+ displayName: "Dropdown__DropdownContentWrapper",
19302
+ componentId: "sc-pn6m0h-1"
19303
+ })(["transform-origin:0 0;border:1px solid ", ";border-radius:2px;background-color:", ";padding:8px 0 8px;position:absolute;width:", ";min-width:100%;max-height:", ";overflow-y:scroll;z-index:1;box-sizing:border-box;&:focus{outline:none;}"], GREY_CHATEAU, WHITE, function (_ref2) {
19224
19304
  var widthFitOptions = _ref2.widthFitOptions;
19225
19305
  return widthFitOptions ? "fit-content" : "100%";
19226
19306
  }, function (_ref3) {
19227
19307
  var maxHeight = _ref3.maxHeight;
19228
19308
  return maxHeight || "400px";
19229
19309
  });
19230
- var DropdownItemWrapper = styled__default.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n background-color: ", ";\n text-align: start;\n border-width: 0px;\n border-color: transparent;\n box-shadow: none;\n padding: 1rem;\n box-sizing: border-box;\n width: 100%;\n cursor: ", ";\n\n &:hover {\n background-color: ", ";\n }\n &:focus {\n background-color: ", ";\n outline: none;\n }\n"])), function (_ref4) {
19310
+ var DropdownItemWrapper = styled__default.div.withConfig({
19311
+ displayName: "Dropdown__DropdownItemWrapper",
19312
+ componentId: "sc-pn6m0h-2"
19313
+ })(["background-color:", ";text-align:start;border-width:0px;border-color:transparent;box-shadow:none;padding:1rem;box-sizing:border-box;width:100%;cursor:", ";&:hover{background-color:", ";}&:focus{background-color:", ";outline:none;}"], function (_ref4) {
19231
19314
  var selected = _ref4.selected,
19232
19315
  themeValues = _ref4.themeValues;
19233
19316
  return selected ? themeValues.selectedColor : WHITE;
@@ -19245,7 +19328,10 @@ var DropdownItemWrapper = styled__default.div(_templateObject3$5 || (_templateOb
19245
19328
  themeValues = _ref7.themeValues;
19246
19329
  return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
19247
19330
  });
19248
- var SearchInput = styled__default.input(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n border: none;\n background-color: ", ";\n font-size: 16px;\n height: 24px;\n"])), function (_ref8) {
19331
+ var SearchInput = styled__default.input.withConfig({
19332
+ displayName: "Dropdown__SearchInput",
19333
+ componentId: "sc-pn6m0h-3"
19334
+ })(["border:none;background-color:", ";font-size:16px;height:24px;"], function (_ref8) {
19249
19335
  var themeValues = _ref8.themeValues;
19250
19336
  return themeValues.hoverColor && themeValues.hoverColor;
19251
19337
  });
@@ -19465,9 +19551,14 @@ var Dropdown = function Dropdown(_ref9) {
19465
19551
 
19466
19552
  var Dropdown$1 = themeComponent(Dropdown, "Dropdown", fallbackValues$e);
19467
19553
 
19468
- var _templateObject$o, _templateObject2$c, _templateObject3$6;
19469
- var SelectContainer = styled__default.div(_templateObject$o || (_templateObject$o = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n > * + * {\n margin-top: 0.25rem;\n }\n"])));
19470
- var SelectField = styled__default.select(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: 48px;\n width: 100%;\n padding: 0.75rem 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n border: 1px solid ", ";\n }\n"])), function (_ref) {
19554
+ var SelectContainer = styled__default.div.withConfig({
19555
+ displayName: "FormSelectstyled__SelectContainer",
19556
+ componentId: "sc-hkrqrv-0"
19557
+ })(["width:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;> * + *{margin-top:0.25rem;}"]);
19558
+ var SelectField = styled__default.select.withConfig({
19559
+ displayName: "FormSelectstyled__SelectField",
19560
+ componentId: "sc-hkrqrv-1"
19561
+ })(["border:1px solid ", ";border-radius:2px;height:48px;width:100%;padding:0.75rem 1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{border:1px solid ", ";}"], function (_ref) {
19471
19562
  var field = _ref.field,
19472
19563
  showErrors = _ref.showErrors;
19473
19564
  return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : GHOST_GREY;
@@ -19478,7 +19569,10 @@ var SelectField = styled__default.select(_templateObject2$c || (_templateObject2
19478
19569
  var themeValues = _ref3.themeValues;
19479
19570
  return themeValues.color && themeValues.color;
19480
19571
  }, MATISSE_BLUE);
19481
- var SelectOption = styled__default.option(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral([""])));
19572
+ var SelectOption = styled__default.option.withConfig({
19573
+ displayName: "FormSelectstyled__SelectOption",
19574
+ componentId: "sc-hkrqrv-2"
19575
+ })([""]);
19482
19576
 
19483
19577
  var linkColor$1 = {
19484
19578
  "default": "".concat(MATISSE_BLUE),
@@ -20382,8 +20476,10 @@ var CountryDropdown = function CountryDropdown(_ref) {
20382
20476
  });
20383
20477
  };
20384
20478
 
20385
- var _templateObject$p;
20386
- var DetailText = styled__default.p(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
20479
+ var DetailText = styled__default.p.withConfig({
20480
+ displayName: "Detailstyled__DetailText",
20481
+ componentId: "sc-vn1h4n-0"
20482
+ })(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
20387
20483
  var fontSize = _ref.fontSize;
20388
20484
  return fontSize;
20389
20485
  }, function (_ref2) {
@@ -20575,303 +20671,283 @@ var DisplayCard = function DisplayCard(_ref) {
20575
20671
  }) : /*#__PURE__*/React__default.createElement(React.Fragment, null))))));
20576
20672
  };
20577
20673
 
20578
- var src = createCommonjsModule(function (module, exports) {
20579
- (function (global, factory) {
20580
- factory(exports, React__default) ;
20581
- }(commonjsGlobal, function (exports, React) {
20582
- var React__default = 'default' in React ? React['default'] : React;
20583
-
20584
- function _extends() {
20585
- _extends = Object.assign || function (target) {
20586
- for (var i = 1; i < arguments.length; i++) {
20587
- var source = arguments[i];
20674
+ function _extends$2() {
20675
+ _extends$2 = Object.assign || function (target) {
20676
+ for (var i = 1; i < arguments.length; i++) {
20677
+ var source = arguments[i];
20588
20678
 
20589
- for (var key in source) {
20590
- if (Object.prototype.hasOwnProperty.call(source, key)) {
20591
- target[key] = source[key];
20592
- }
20679
+ for (var key in source) {
20680
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
20681
+ target[key] = source[key];
20593
20682
  }
20594
20683
  }
20684
+ }
20595
20685
 
20596
- return target;
20597
- };
20598
-
20599
- return _extends.apply(this, arguments);
20600
- }
20686
+ return target;
20687
+ };
20601
20688
 
20602
- function _objectWithoutPropertiesLoose(source, excluded) {
20603
- if (source == null) return {};
20604
- var target = {};
20605
- var sourceKeys = Object.keys(source);
20606
- var key, i;
20689
+ return _extends$2.apply(this, arguments);
20690
+ }
20607
20691
 
20608
- for (i = 0; i < sourceKeys.length; i++) {
20609
- key = sourceKeys[i];
20610
- if (excluded.indexOf(key) >= 0) continue;
20611
- target[key] = source[key];
20612
- }
20692
+ function _objectWithoutPropertiesLoose$1(source, excluded) {
20693
+ if (source == null) return {};
20694
+ var target = {};
20695
+ var sourceKeys = Object.keys(source);
20696
+ var key, i;
20613
20697
 
20614
- return target;
20698
+ for (i = 0; i < sourceKeys.length; i++) {
20699
+ key = sourceKeys[i];
20700
+ if (excluded.indexOf(key) >= 0) continue;
20701
+ target[key] = source[key];
20615
20702
  }
20616
20703
 
20617
- function _objectWithoutProperties(source, excluded) {
20618
- if (source == null) return {};
20704
+ return target;
20705
+ }
20706
+
20707
+ function _objectWithoutProperties$1(source, excluded) {
20708
+ if (source == null) return {};
20619
20709
 
20620
- var target = _objectWithoutPropertiesLoose(source, excluded);
20710
+ var target = _objectWithoutPropertiesLoose$1(source, excluded);
20621
20711
 
20622
- var key, i;
20712
+ var key, i;
20623
20713
 
20624
- if (Object.getOwnPropertySymbols) {
20625
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
20714
+ if (Object.getOwnPropertySymbols) {
20715
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
20626
20716
 
20627
- for (i = 0; i < sourceSymbolKeys.length; i++) {
20628
- key = sourceSymbolKeys[i];
20629
- if (excluded.indexOf(key) >= 0) continue;
20630
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
20631
- target[key] = source[key];
20632
- }
20717
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
20718
+ key = sourceSymbolKeys[i];
20719
+ if (excluded.indexOf(key) >= 0) continue;
20720
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
20721
+ target[key] = source[key];
20633
20722
  }
20634
-
20635
- return target;
20636
20723
  }
20637
20724
 
20638
- function _slicedToArray(arr, i) {
20639
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();
20640
- }
20725
+ return target;
20726
+ }
20641
20727
 
20642
- function _toConsumableArray(arr) {
20643
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();
20644
- }
20728
+ function _slicedToArray$1(arr, i) {
20729
+ return _arrayWithHoles$1(arr) || _iterableToArrayLimit$1(arr, i) || _nonIterableRest$1();
20730
+ }
20645
20731
 
20646
- function _arrayWithoutHoles(arr) {
20647
- if (Array.isArray(arr)) {
20648
- for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
20732
+ function _toConsumableArray$1(arr) {
20733
+ return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _nonIterableSpread$1();
20734
+ }
20649
20735
 
20650
- return arr2;
20651
- }
20652
- }
20736
+ function _arrayWithoutHoles$1(arr) {
20737
+ if (Array.isArray(arr)) {
20738
+ for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];
20653
20739
 
20654
- function _arrayWithHoles(arr) {
20655
- if (Array.isArray(arr)) return arr;
20740
+ return arr2;
20656
20741
  }
20742
+ }
20743
+
20744
+ function _arrayWithHoles$1(arr) {
20745
+ if (Array.isArray(arr)) return arr;
20746
+ }
20657
20747
 
20658
- function _iterableToArray(iter) {
20659
- if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
20748
+ function _iterableToArray$1(iter) {
20749
+ if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === "[object Arguments]") return Array.from(iter);
20750
+ }
20751
+
20752
+ function _iterableToArrayLimit$1(arr, i) {
20753
+ if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
20754
+ return;
20660
20755
  }
20661
20756
 
20662
- function _iterableToArrayLimit(arr, i) {
20663
- if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === "[object Arguments]")) {
20664
- return;
20665
- }
20757
+ var _arr = [];
20758
+ var _n = true;
20759
+ var _d = false;
20760
+ var _e = undefined;
20666
20761
 
20667
- var _arr = [];
20668
- var _n = true;
20669
- var _d = false;
20670
- var _e = undefined;
20762
+ try {
20763
+ for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
20764
+ _arr.push(_s.value);
20671
20765
 
20766
+ if (i && _arr.length === i) break;
20767
+ }
20768
+ } catch (err) {
20769
+ _d = true;
20770
+ _e = err;
20771
+ } finally {
20672
20772
  try {
20673
- for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {
20674
- _arr.push(_s.value);
20675
-
20676
- if (i && _arr.length === i) break;
20677
- }
20678
- } catch (err) {
20679
- _d = true;
20680
- _e = err;
20773
+ if (!_n && _i["return"] != null) _i["return"]();
20681
20774
  } finally {
20682
- try {
20683
- if (!_n && _i["return"] != null) _i["return"]();
20684
- } finally {
20685
- if (_d) throw _e;
20686
- }
20775
+ if (_d) throw _e;
20687
20776
  }
20688
-
20689
- return _arr;
20690
20777
  }
20691
20778
 
20692
- function _nonIterableSpread() {
20693
- throw new TypeError("Invalid attempt to spread non-iterable instance");
20694
- }
20779
+ return _arr;
20780
+ }
20695
20781
 
20696
- function _nonIterableRest() {
20697
- throw new TypeError("Invalid attempt to destructure non-iterable instance");
20698
- }
20782
+ function _nonIterableSpread$1() {
20783
+ throw new TypeError("Invalid attempt to spread non-iterable instance");
20784
+ }
20699
20785
 
20700
- var getUniqueFormatDelimiters = function getUniqueFormatDelimiters(formats, formatChar) {
20701
- return _toConsumableArray(new Set(formats.join("").split(formatChar).join("").split("")));
20702
- };
20703
- var format = function format(formatter) {
20704
- return function (value) {
20705
- var usedFormat = formatter.formats[value.length];
20786
+ function _nonIterableRest$1() {
20787
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
20788
+ }
20706
20789
 
20707
- if (!usedFormat) {
20708
- return value;
20709
- }
20790
+ var getUniqueFormatDelimiters = function getUniqueFormatDelimiters(formats, formatChar) {
20791
+ return _toConsumableArray$1(new Set(formats.join("").split(formatChar).join("").split("")));
20792
+ };
20793
+ var format$1 = function format(formatter) {
20794
+ return function (value) {
20795
+ var usedFormat = formatter.formats[value.length];
20710
20796
 
20711
- var formatPieces = usedFormat.split(formatter.formatChar);
20712
- var valuePieces = value.split("");
20713
- var zipped = formatPieces.map(function (v, i) {
20714
- return v + (valuePieces[i] || "");
20715
- });
20716
- return zipped.join("");
20717
- };
20718
- };
20797
+ if (!usedFormat) {
20798
+ return value;
20799
+ }
20719
20800
 
20720
- var countDelims = function countDelims(formatter, index) {
20721
- var count = 0;
20722
- var format = formatter.formats[index];
20723
- if (!format) return 0;
20724
- formatter.uniqueDelimiters.forEach(function (delim) {
20725
- return count += format.split(delim).length - 1;
20801
+ var formatPieces = usedFormat.split(formatter.formatChar);
20802
+ var valuePieces = value.split("");
20803
+ var zipped = formatPieces.map(function (v, i) {
20804
+ return v + (valuePieces[i] || "");
20726
20805
  });
20727
- return count;
20806
+ return zipped.join("");
20728
20807
  };
20808
+ };
20729
20809
 
20730
- var unformat = function unformat(formatter) {
20731
- return function (formattedValue, formatIndex) {
20732
- if (formatIndex >= formatter.formats.length) {
20733
- return formattedValue;
20734
- }
20735
-
20736
- var format = formatter.formats[formatIndex];
20737
- return formattedValue.split("").filter(function (_, i) {
20738
- return !(format[i] != formatter.formatChar);
20739
- }).join("");
20740
- };
20741
- };
20742
- var inject = function inject(baseString) {
20743
- return function (start, end, newString) {
20744
- return baseString.substring(0, start) + newString + baseString.substring(end);
20745
- };
20746
- };
20747
- var formattedToUnformattedIndex = function formattedToUnformattedIndex(formattedIndex, rawValue, formatter) {
20748
- var maxFormatExceeded = rawValue.length >= formatter.formats.length;
20810
+ var countDelims = function countDelims(formatter, index) {
20811
+ var count = 0;
20812
+ var format = formatter.formats[index];
20813
+ if (!format) return 0;
20814
+ formatter.uniqueDelimiters.forEach(function (delim) {
20815
+ return count += format.split(delim).length - 1;
20816
+ });
20817
+ return count;
20818
+ };
20749
20819
 
20750
- if (maxFormatExceeded) {
20751
- return formattedIndex;
20752
- } else {
20753
- var formatString = formatter.formats[rawValue.length];
20754
- var beforeString = formatString.slice(0, formattedIndex);
20755
- return beforeString.split("").filter(function (c) {
20756
- return c === formatter.formatChar;
20757
- }).length;
20758
- }
20759
- };
20760
- var unformattedToFormattedIndex = function unformattedToFormattedIndex(rawIndex, rawValue, formatter, del) {
20761
- var maxFormatExceeded = rawValue.length >= formatter.formats.length; // If forced to stay formatted, offset by delims - 1
20762
- // This is done so the component doesn't assume that any added chars will be kept
20763
- // (i.e. if an external constraint is applied)
20764
-
20765
- if (maxFormatExceeded) {
20766
- var delims = countDelims(formatter, rawValue.length - 1);
20767
- return delims > 0 && !del ? rawIndex + delims - 1 : rawIndex;
20768
- } else {
20769
- return formatter.formats[rawValue.length].split(formatter.formatChar).slice(0, rawIndex).reduce(function (acc, curr) {
20770
- return curr.length + acc;
20771
- }, 0) + rawIndex;
20820
+ var unformat = function unformat(formatter) {
20821
+ return function (formattedValue, formatIndex) {
20822
+ if (formatIndex >= formatter.formats.length) {
20823
+ return formattedValue;
20772
20824
  }
20773
- };
20774
20825
 
20775
- var createFormat = function createFormat(formats, formatChar) {
20776
- return {
20777
- uniqueDelimiters: getUniqueFormatDelimiters(formats, formatChar),
20778
- formats: formats,
20779
- formatChar: formatChar
20780
- };
20826
+ var format = formatter.formats[formatIndex];
20827
+ return formattedValue.split("").filter(function (_, i) {
20828
+ return !(format[i] != formatter.formatChar);
20829
+ }).join("");
20781
20830
  };
20831
+ };
20832
+ var inject = function inject(baseString) {
20833
+ return function (start, end, newString) {
20834
+ return baseString.substring(0, start) + newString + baseString.substring(end);
20835
+ };
20836
+ };
20837
+ var formattedToUnformattedIndex = function formattedToUnformattedIndex(formattedIndex, rawValue, formatter) {
20838
+ var maxFormatExceeded = rawValue.length >= formatter.formats.length;
20782
20839
 
20783
- var FormattedInput = function FormattedInput(_ref) {
20784
- var value = _ref.value,
20785
- formatter = _ref.formatter,
20786
- _onChange = _ref.onChange,
20787
- props = _objectWithoutProperties(_ref, ["value", "formatter", "onChange"]);
20788
-
20789
- var inputEl = React.useRef(null);
20790
-
20791
- var _useState = React.useState({
20792
- selectionStart: 0,
20793
- selectionEnd: 0,
20794
- rawValue: value,
20795
- "delete": false,
20796
- formattedValue: format(formatter)(value)
20797
- }),
20798
- _useState2 = _slicedToArray(_useState, 2),
20799
- state = _useState2[0],
20800
- setState = _useState2[1];
20801
-
20802
- React.useLayoutEffect(function () {
20803
- // A lot of the work here is cursor manipulation
20804
- if (inputEl.current && inputEl.current === document.activeElement) {
20805
- inputEl.current.setSelectionRange(state.selectionStart, state.selectionEnd);
20806
- }
20807
- });
20808
- return React__default.createElement("input", _extends({}, props, {
20809
- ref: inputEl,
20810
- value: format(formatter)(value),
20811
- onKeyDown: function onKeyDown(event) {
20812
- // Keep track of the state of the input before onChange, including if user is hitting delete
20813
- setState({
20814
- rawValue: value,
20815
- selectionStart: event.target.selectionStart,
20816
- selectionEnd: event.target.selectionEnd,
20817
- "delete": event.key === "Backspace" || event.key === "Delete",
20818
- formattedValue: event.target.value
20819
- });
20820
- },
20821
- onChange: function onChange(event) {
20822
- /* At the beginning of onChange, event.target.value is a concat of the previous formatted value
20823
- * and an unformatted injection at the start, end, or in the middle (maybe a deletion). To prepare
20824
- * the unformatted value for the user's onChange, the formatted string and unformatted injection need
20825
- * to be separated, then unformat the formatted string, then insert (or delete) the injection from the
20826
- * old unformatted value.
20827
- */
20828
- var injectionLength = event.target.value.length - state.formattedValue.length;
20829
- var end = state.selectionStart === state.selectionEnd ? state.selectionStart + injectionLength : state.selectionEnd - 1;
20830
- var injection = event.target.value.substring(state.selectionStart, end); // Injection is the new unformatted piece of the input
20831
- // Need to find where to put it
20832
-
20833
- var rawInjectionPointStart = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter);
20834
- var rawInjectionPointEnd = formattedToUnformattedIndex(state.selectionEnd, state.rawValue, formatter); // Unformat the previous formatted value for injection
20835
- // Using the relevant format string, strips away chars not marked with the formatChar
20836
-
20837
- var unformattedOldValue = unformat(formatter)(state.formattedValue, state.rawValue.length); // Edit the previous unformatted value (either add, update or delete)
20840
+ if (maxFormatExceeded) {
20841
+ return formattedIndex;
20842
+ } else {
20843
+ var formatString = formatter.formats[rawValue.length];
20844
+ var beforeString = formatString.slice(0, formattedIndex);
20845
+ return beforeString.split("").filter(function (c) {
20846
+ return c === formatter.formatChar;
20847
+ }).length;
20848
+ }
20849
+ };
20850
+ var unformattedToFormattedIndex = function unformattedToFormattedIndex(rawIndex, rawValue, formatter, del) {
20851
+ var maxFormatExceeded = rawValue.length >= formatter.formats.length; // If forced to stay formatted, offset by delims - 1
20852
+ // This is done so the component doesn't assume that any added chars will be kept
20853
+ // (i.e. if an external constraint is applied)
20838
20854
 
20839
- var injectIntoOldValue = inject(unformattedOldValue);
20840
- var unformattedNewValue = state["delete"] ? rawInjectionPointStart === rawInjectionPointEnd ? injectIntoOldValue(rawInjectionPointStart - 1, rawInjectionPointStart, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, injection);
20841
- var lengthDifference = unformattedNewValue.length - state.rawValue.length;
20842
- var rawIndex = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter) + lengthDifference; // Find the new cursor position for the potential formatted value
20843
- // Applied by useLayoutEffect
20855
+ if (maxFormatExceeded) {
20856
+ var delims = countDelims(formatter, rawValue.length - 1);
20857
+ return delims > 0 && !del ? rawIndex + delims - 1 : rawIndex;
20858
+ } else {
20859
+ return formatter.formats[rawValue.length].split(formatter.formatChar).slice(0, rawIndex).reduce(function (acc, curr) {
20860
+ return curr.length + acc;
20861
+ }, 0) + rawIndex;
20862
+ }
20863
+ };
20844
20864
 
20845
- var newFormattedCursorPosition = state.selectionStart == state.selectionEnd ? unformattedToFormattedIndex(rawIndex, unformattedNewValue, formatter, state["delete"]) : state["delete"] ? state.selectionStart : state.selectionEnd;
20846
- setState({
20847
- selectionStart: newFormattedCursorPosition,
20848
- selectionEnd: newFormattedCursorPosition,
20849
- rawValue: state.rawValue,
20850
- "delete": false,
20851
- formattedValue: state.formattedValue
20852
- }); // Apply the external onChange function to the raw underlying string
20853
- // This is where the user generally updates the input value
20854
-
20855
- if (_onChange) {
20856
- _onChange(unformattedNewValue);
20857
- }
20858
- }
20859
- }));
20865
+ var createFormat = function createFormat(formats, formatChar) {
20866
+ return {
20867
+ uniqueDelimiters: getUniqueFormatDelimiters(formats, formatChar),
20868
+ formats: formats,
20869
+ formatChar: formatChar
20860
20870
  };
20871
+ };
20861
20872
 
20862
- exports.FormattedInput = FormattedInput;
20863
- exports.createFormat = createFormat;
20864
- exports.format = format;
20873
+ var FormattedInput = function FormattedInput(_ref) {
20874
+ var value = _ref.value,
20875
+ formatter = _ref.formatter,
20876
+ _onChange = _ref.onChange,
20877
+ props = _objectWithoutProperties$1(_ref, ["value", "formatter", "onChange"]);
20865
20878
 
20866
- Object.defineProperty(exports, '__esModule', { value: true });
20879
+ var inputEl = React.useRef(null);
20867
20880
 
20868
- }));
20869
- });
20881
+ var _useState = React.useState({
20882
+ selectionStart: 0,
20883
+ selectionEnd: 0,
20884
+ rawValue: value,
20885
+ "delete": false,
20886
+ formattedValue: format$1(formatter)(value)
20887
+ }),
20888
+ _useState2 = _slicedToArray$1(_useState, 2),
20889
+ state = _useState2[0],
20890
+ setState = _useState2[1];
20870
20891
 
20871
- unwrapExports(src);
20872
- var src_1 = src.FormattedInput;
20873
- var src_2 = src.createFormat;
20874
- var src_3 = src.format;
20892
+ React.useLayoutEffect(function () {
20893
+ // A lot of the work here is cursor manipulation
20894
+ if (inputEl.current && inputEl.current === document.activeElement) {
20895
+ inputEl.current.setSelectionRange(state.selectionStart, state.selectionEnd);
20896
+ }
20897
+ });
20898
+ return React__default.createElement("input", _extends$2({}, props, {
20899
+ ref: inputEl,
20900
+ value: format$1(formatter)(value),
20901
+ onKeyDown: function onKeyDown(event) {
20902
+ // Keep track of the state of the input before onChange, including if user is hitting delete
20903
+ setState({
20904
+ rawValue: value,
20905
+ selectionStart: event.target.selectionStart,
20906
+ selectionEnd: event.target.selectionEnd,
20907
+ "delete": event.key === "Backspace" || event.key === "Delete",
20908
+ formattedValue: event.target.value
20909
+ });
20910
+ },
20911
+ onChange: function onChange(event) {
20912
+ /* At the beginning of onChange, event.target.value is a concat of the previous formatted value
20913
+ * and an unformatted injection at the start, end, or in the middle (maybe a deletion). To prepare
20914
+ * the unformatted value for the user's onChange, the formatted string and unformatted injection need
20915
+ * to be separated, then unformat the formatted string, then insert (or delete) the injection from the
20916
+ * old unformatted value.
20917
+ */
20918
+ var injectionLength = event.target.value.length - state.formattedValue.length;
20919
+ var end = state.selectionStart === state.selectionEnd ? state.selectionStart + injectionLength : state.selectionEnd - 1;
20920
+ var injection = event.target.value.substring(state.selectionStart, end); // Injection is the new unformatted piece of the input
20921
+ // Need to find where to put it
20922
+
20923
+ var rawInjectionPointStart = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter);
20924
+ var rawInjectionPointEnd = formattedToUnformattedIndex(state.selectionEnd, state.rawValue, formatter); // Unformat the previous formatted value for injection
20925
+ // Using the relevant format string, strips away chars not marked with the formatChar
20926
+
20927
+ var unformattedOldValue = unformat(formatter)(state.formattedValue, state.rawValue.length); // Edit the previous unformatted value (either add, update or delete)
20928
+
20929
+ var injectIntoOldValue = inject(unformattedOldValue);
20930
+ var unformattedNewValue = state["delete"] ? rawInjectionPointStart === rawInjectionPointEnd ? injectIntoOldValue(rawInjectionPointStart - 1, rawInjectionPointStart, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, "") : injectIntoOldValue(rawInjectionPointStart, rawInjectionPointEnd, injection);
20931
+ var lengthDifference = unformattedNewValue.length - state.rawValue.length;
20932
+ var rawIndex = formattedToUnformattedIndex(state.selectionStart, state.rawValue, formatter) + lengthDifference; // Find the new cursor position for the potential formatted value
20933
+ // Applied by useLayoutEffect
20934
+
20935
+ var newFormattedCursorPosition = state.selectionStart == state.selectionEnd ? unformattedToFormattedIndex(rawIndex, unformattedNewValue, formatter, state["delete"]) : state["delete"] ? state.selectionStart : state.selectionEnd;
20936
+ setState({
20937
+ selectionStart: newFormattedCursorPosition,
20938
+ selectionEnd: newFormattedCursorPosition,
20939
+ rawValue: state.rawValue,
20940
+ "delete": false,
20941
+ formattedValue: state.formattedValue
20942
+ }); // Apply the external onChange function to the raw underlying string
20943
+ // This is where the user generally updates the input value
20944
+
20945
+ if (_onChange) {
20946
+ _onChange(unformattedNewValue);
20947
+ }
20948
+ }
20949
+ }));
20950
+ };
20875
20951
 
20876
20952
  var linkColor$2 = {
20877
20953
  "default": "".concat(MATISSE_BLUE),
@@ -20939,9 +21015,10 @@ var fallbackValues$i = {
20939
21015
 
20940
21016
  var _excluded$p = ["showErrors", "themeValues"],
20941
21017
  _excluded2 = ["type", "labelTextWhenNoError", "errorMessages", "isNum", "isEmail", "helperModal", "field", "fieldActions", "showErrors", "formatter", "decorator", "themeValues", "background", "customHeight", "extraStyles"];
20942
-
20943
- var _templateObject$q, _templateObject2$d, _templateObject3$7, _templateObject4$3, _templateObject5$2, _templateObject6$2;
20944
- var InputField = styled__default.input(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n font-family: Public Sans;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n ", "\n transition: background 0.3s ease;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"])), function (_ref) {
21018
+ var InputField = styled__default.input.withConfig({
21019
+ displayName: "FormInput__InputField",
21020
+ componentId: "sc-l094r1-0"
21021
+ })(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;font-family:Public Sans;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;", " transition:background 0.3s ease;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
20945
21022
  var field = _ref.field,
20946
21023
  showErrors = _ref.showErrors,
20947
21024
  themeValues = _ref.themeValues;
@@ -20961,10 +21038,10 @@ var InputField = styled__default.input(_templateObject$q || (_templateObject$q =
20961
21038
  return background && "background: ".concat(themeValues.inputBackgroundColor, " url(").concat(background, ") no-repeat right 0.5rem center;");
20962
21039
  }, ROYAL_BLUE, function (_ref6) {
20963
21040
  var disabled = _ref6.disabled;
20964
- return disabled && styled.css(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "])));
21041
+ return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
20965
21042
  }, function (_ref7) {
20966
21043
  var extraStyles = _ref7.extraStyles;
20967
- return styled.css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
21044
+ return styled.css(["", ""], extraStyles);
20968
21045
  }); // eslint-disable-next-line no-unused-vars
20969
21046
 
20970
21047
  var FormattedInputField = styled__default(function (_ref8) {
@@ -20972,8 +21049,11 @@ var FormattedInputField = styled__default(function (_ref8) {
20972
21049
  themeValues = _ref8.themeValues,
20973
21050
  props = _objectWithoutProperties(_ref8, _excluded$p);
20974
21051
 
20975
- return /*#__PURE__*/React__default.createElement(src_1, props);
20976
- })(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n border: 1px solid\n ", ";\n border-radius: 2px;\n height: ", ";\n width: 100%;\n padding: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: ", ";\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n\n &:focus {\n outline: 3px solid ", ";\n outline-offset: 2px;\n }\n\n ", "\n\n ", "\n"])), function (_ref9) {
21052
+ return /*#__PURE__*/React__default.createElement(FormattedInput, props);
21053
+ }).withConfig({
21054
+ displayName: "FormInput__FormattedInputField",
21055
+ componentId: "sc-l094r1-1"
21056
+ })(["border:1px solid ", ";border-radius:2px;height:", ";width:100%;padding:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:", ";background-color:", ";color:", ";box-shadow:none;&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref9) {
20977
21057
  var field = _ref9.field,
20978
21058
  showErrors = _ref9.showErrors,
20979
21059
  themeValues = _ref9.themeValues;
@@ -20989,10 +21069,10 @@ var FormattedInputField = styled__default(function (_ref8) {
20989
21069
  return themeValues.color && themeValues.color;
20990
21070
  }, ROYAL_BLUE, function (_ref13) {
20991
21071
  var disabled = _ref13.disabled;
20992
- return disabled && styled.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n color: #6e727e;\n background-color: #f7f7f7;\n "])));
21072
+ return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
20993
21073
  }, function (_ref14) {
20994
21074
  var extraStyles = _ref14.extraStyles;
20995
- return styled.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n ", "\n "])), extraStyles);
21075
+ return styled.css(["", ""], extraStyles);
20996
21076
  });
20997
21077
 
20998
21078
  var FormInput = function FormInput(_ref15) {
@@ -21269,12 +21349,17 @@ var fallbackValues$k = {
21269
21349
  autopayTextColor: autopayTextColor
21270
21350
  };
21271
21351
 
21272
- var _templateObject$r, _templateObject2$e;
21273
21352
  var ACTIVE = "ACTIVE";
21274
21353
  var EXPIRING_SOON = "EXPIRING_SOON";
21275
21354
  var EXPIRED = "EXPIRED";
21276
- var CreditCardWrapper = styled__default.div(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n"])));
21277
- var CCIconWrapper = styled__default.div(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteral(["\n margin-right: 16px;\n width: 30px;\n height: auto;\n display: flex;\n"])));
21355
+ var CreditCardWrapper = styled__default.div.withConfig({
21356
+ displayName: "FormattedCreditCard__CreditCardWrapper",
21357
+ componentId: "sc-s0ta5l-0"
21358
+ })(["display:flex;justify-content:flex-start;align-items:center;"]);
21359
+ var CCIconWrapper = styled__default.div.withConfig({
21360
+ displayName: "FormattedCreditCard__CCIconWrapper",
21361
+ componentId: "sc-s0ta5l-1"
21362
+ })(["margin-right:16px;width:30px;height:auto;display:flex;"]);
21278
21363
 
21279
21364
  var FormattedCreditCard = function FormattedCreditCard(_ref) {
21280
21365
  var lastFour = _ref.lastFour,
@@ -21327,10 +21412,18 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
21327
21412
 
21328
21413
  var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$k);
21329
21414
 
21330
- var _templateObject$s, _templateObject2$f, _templateObject3$8;
21331
- var Hamburger = styled__default.button(_templateObject$s || (_templateObject$s = _taggedTemplateLiteral(["\n padding: 8px;\n display: inline-block;\n cursor: pointer;\n transition-property: opacity;\n transition-duration: 0.15s;\n transition-timing-function: linear;\n font: inherit;\n color: inherit;\n text-transform: none;\n background-color: transparent;\n border: 0;\n margin: 0;\n overflow: visible;\n\n &:focus {\n outline: none;\n }\n"])));
21332
- var HamburgerBox = styled__default.span(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n width: 34px;\n height: 34px;\n display: inline-block;\n position: relative;\n"])));
21333
- var HamburgerInner = styled__default.span(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n display: block;\n top: auto;\n bottom: 6px;\n left: 2px;\n transition-duration: 0.13s;\n transition-delay: 0.13s;\n transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);\n margin-top: 12px;\n background-color: ", ";\n\n &, &::before, &::after {\n background-color: ", ";\n width: 30px;\n height: 3px;\n position: absolute;\n transition-property: transform;\n transition-duration: 0.15s;\n transition-timing-function: ease;\n }\n\n &::before, &::after {\n content: \"\";\n display: block;\n }\n\n &::before {\n top: -10px;\n transition: top 0.12s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n transform 0.13s cubic-bezier(0.55, 0.055, 0.675, 0.19);\n }\n\n &::after {\n bottom: -10px;\n top: -20px;\n transition: top 0.2s 0.2s cubic-bezier(0.33333, 0.66667, 0.66667, 1), \n opacity 0.1s linear;\n }\n\n &.active, &.active::before, &.active::after {\n background-color: ", ";\n }\n\n &.active {\n transform: translate3d(0, -10px, 0) rotate(-45deg);\n transition-delay: 0.22s;\n transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n\n &.active::after {\n top: 0;\n opacity: 0;\n transition: top 0.2s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n opacity: 0.1s 0.22s linear;\n }\n\n &.active::before {\n top: 0;\n transform: rotate(-90deg);\n transition: top 0.1s 0.16s cubic-bezier(0.33333, 0, 0.66667, 0.33333), \n transform 0.13s 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n"])), function (_ref) {
21415
+ var Hamburger = styled__default.button.withConfig({
21416
+ displayName: "HamburgerButton__Hamburger",
21417
+ componentId: "sc-4wlnwv-0"
21418
+ })(["padding:8px;display:inline-block;cursor:pointer;transition-property:opacity;transition-duration:0.15s;transition-timing-function:linear;font:inherit;color:inherit;text-transform:none;background-color:transparent;border:0;margin:0;overflow:visible;&:focus{outline:none;}"]);
21419
+ var HamburgerBox = styled__default.span.withConfig({
21420
+ displayName: "HamburgerButton__HamburgerBox",
21421
+ componentId: "sc-4wlnwv-1"
21422
+ })(["width:34px;height:34px;display:inline-block;position:relative;"]);
21423
+ var HamburgerInner = styled__default.span.withConfig({
21424
+ displayName: "HamburgerButton__HamburgerInner",
21425
+ componentId: "sc-4wlnwv-2"
21426
+ })(["display:block;top:auto;bottom:6px;left:2px;transition-duration:0.13s;transition-delay:0.13s;transition-timing-function:cubic-bezier(0.55,0.055,0.675,0.19);margin-top:12px;background-color:", ";&,&::before,&::after{background-color:", ";width:30px;height:3px;position:absolute;transition-property:transform;transition-duration:0.15s;transition-timing-function:ease;}&::before,&::after{content:\"\";display:block;}&::before{top:-10px;transition:top 0.12s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),transform 0.13s cubic-bezier(0.55,0.055,0.675,0.19);}&::after{bottom:-10px;top:-20px;transition:top 0.2s 0.2s cubic-bezier(0.33333,0.66667,0.66667,1),opacity 0.1s linear;}&.active,&.active::before,&.active::after{background-color:", ";}&.active{transform:translate3d(0,-10px,0) rotate(-45deg);transition-delay:0.22s;transition-timing-function:cubic-bezier(0.215,0.61,0.355,1);}&.active::after{top:0;opacity:0;transition:top 0.2s cubic-bezier(0.33333,0,0.66667,0.33333),opacity:0.1s 0.22s linear;}&.active::before{top:0;transform:rotate(-90deg);transition:top 0.1s 0.16s cubic-bezier(0.33333,0,0.66667,0.33333),transform 0.13s 0.25s cubic-bezier(0.215,0.61,0.355,1);}"], function (_ref) {
21334
21427
  var inactiveColor = _ref.inactiveColor;
21335
21428
  return inactiveColor;
21336
21429
  }, function (_ref2) {
@@ -21361,8 +21454,10 @@ var HamburgerButton = function HamburgerButton(_ref4) {
21361
21454
  })));
21362
21455
  };
21363
21456
 
21364
- var _templateObject$t;
21365
- var TitleText = styled__default.h1(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n font-size: ", ";\n line-height: 1.5;\n color: ", ";\n font-weight: ", ";\n margin: ", ";\n text-align: ", ";\n font-family: ", ";\n\n ", ";\n"])), function (_ref) {
21457
+ var TitleText = styled__default.h1.withConfig({
21458
+ displayName: "Titlestyled__TitleText",
21459
+ componentId: "sc-11lhluq-0"
21460
+ })(["font-size:", ";line-height:1.5;color:", ";font-weight:", ";margin:", ";text-align:", ";font-family:", ";", ";"], function (_ref) {
21366
21461
  var fontSize = _ref.fontSize;
21367
21462
  return fontSize;
21368
21463
  }, function (_ref2) {
@@ -21619,8 +21714,10 @@ var fallbackValues$o = {
21619
21714
  color: color$8
21620
21715
  };
21621
21716
 
21622
- var _templateObject$u, _templateObject2$g;
21623
- var SpinnerSvgAnimation = styled__default.svg(_templateObject$u || (_templateObject$u = _taggedTemplateLiteral(["\n animation: rotate 2s linear infinite;\n margin: -25px 0 0 -25px;\n width: ", "px;\n height: ", "px;\n & .path {\n stroke: ", ";\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n }\n @keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n }\n @keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n }\n"])), function (_ref) {
21717
+ var SpinnerSvgAnimation = styled__default.svg.withConfig({
21718
+ displayName: "Spinner__SpinnerSvgAnimation",
21719
+ componentId: "sc-vhupl9-0"
21720
+ })(["animation:rotate 2s linear infinite;margin:-25px 0 0 -25px;width:", "px;height:", "px;& .path{stroke:", ";stroke-linecap:round;animation:dash 1.5s ease-in-out infinite;}@keyframes rotate{100%{transform:rotate(360deg);}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"], function (_ref) {
21624
21721
  var size = _ref.size;
21625
21722
  return size;
21626
21723
  }, function (_ref2) {
@@ -21630,7 +21727,10 @@ var SpinnerSvgAnimation = styled__default.svg(_templateObject$u || (_templateObj
21630
21727
  var color = _ref3.color;
21631
21728
  return color;
21632
21729
  });
21633
- var SpinnerContainer$2 = styled__default.div(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n line-height: 1;\n"])));
21730
+ var SpinnerContainer$2 = styled__default.div.withConfig({
21731
+ displayName: "Spinner__SpinnerContainer",
21732
+ componentId: "sc-vhupl9-1"
21733
+ })(["width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;line-height:1;"]);
21634
21734
 
21635
21735
  var Spinner$1 = function Spinner(_ref4) {
21636
21736
  var _ref4$size = _ref4.size,
@@ -21749,7 +21849,7 @@ var NavHeader = function NavHeader(_ref) {
21749
21849
  }, rightContent))))));
21750
21850
  };
21751
21851
 
21752
- var _templateObject$v, _templateObject2$h, _templateObject3$9, _templateObject4$4, _templateObject5$3, _templateObject6$3, _templateObject7$2, _templateObject8$1, _templateObject9$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
21852
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15, _templateObject16, _DEFAULT_ERROR_MESSAG;
21753
21853
 
21754
21854
  var MIN_LENGTH_ERROR = "error/HAS_LENGTH";
21755
21855
  var MAX_LENGTH_ERROR = "max_length_error";
@@ -21790,7 +21890,7 @@ with interpolation.
21790
21890
  */
21791
21891
 
21792
21892
 
21793
- var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject$v || (_templateObject$v = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
21893
+ var DEFAULT_ERROR_MESSAGES = (_DEFAULT_ERROR_MESSAG = {}, _defineProperty(_DEFAULT_ERROR_MESSAG, MIN_LENGTH_ERROR, genErrorMessage(_templateObject || (_templateObject = _taggedTemplateLiteral(["", " is too short"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MAX_LENGTH_ERROR, genErrorMessage(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["", " is too long"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EXACT_LENGTH_ERROR, genErrorMessage(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["", " is not the right length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MULTIPLE_LENGTHS_ERROR, genErrorMessage(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["", " is not a valid length"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, EMAIL_ERROR, genErrorMessage(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["", " is not a valid email address"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_NUMBER_ERROR, genErrorMessage(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["", " needs a number"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_UPPERCASE_LETTER_ERROR, genErrorMessage(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["", " needs an uppercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_LOWERCASE_LETTER_ERROR, genErrorMessage(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["", " needs a lowercase letter"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, HAS_SPECIAL_CHARACTER_ERROR, genErrorMessage(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["", " needs a special character"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_NUMBERS_ERROR, genErrorMessage(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["", " must be only numbers"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, ONLY_LETTERS_ERROR, genErrorMessage(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["", " must be only letters"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, REQUIRED_FIELD_ERROR, genErrorMessage(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["", " is required"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_GREATER_THAN_ERROR, genErrorMessage(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["", " is too high"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, NUM_LESS_THAN_ERROR, genErrorMessage(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["", " is too low"])), "fieldLabel")), _defineProperty(_DEFAULT_ERROR_MESSAG, MATCHES_FIELD_ERROR, genErrorMessage(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["", " must match ", ""])), "fieldLabel", "matchField")), _defineProperty(_DEFAULT_ERROR_MESSAG, VALID_SELECT_OPTION_ERROR, genErrorMessage(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["", " is not a valid option"])), "fieldLabel")), _DEFAULT_ERROR_MESSAG); // Constants to represent an input's state
21794
21894
  // Neutral - has not been validated
21795
21895
  // Invalid - has been validated and has an error
21796
21896
  // Valid - has been validated and has no error
@@ -22050,8 +22150,10 @@ var fallbackValues$r = {
22050
22150
  inactiveColor: inactiveColor
22051
22151
  };
22052
22152
 
22053
- var _templateObject$w;
22054
- var HiddenRadioButton = styled__default.input(_templateObject$w || (_templateObject$w = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n"])), function (_ref) {
22153
+ var HiddenRadioButton = styled__default.input.withConfig({
22154
+ displayName: "RadioButton__HiddenRadioButton",
22155
+ componentId: "sc-v6hie9-0"
22156
+ })(["opacity:0;position:absolute;cursor:", ";"], function (_ref) {
22055
22157
  var disabled = _ref.disabled;
22056
22158
  return disabled ? "auto" : "pointer";
22057
22159
  });
@@ -32829,15 +32931,20 @@ var fallbackValues$u = {
32829
32931
  leftLabelStyles: leftLabelStyles
32830
32932
  };
32831
32933
 
32832
- var _templateObject$x, _templateObject2$i, _templateObject3$a, _templateObject4$5;
32833
- var HiddenToggleSwitchBox = styled__default.input(_templateObject$x || (_templateObject$x = _taggedTemplateLiteral(["\n opacity: 0;\n position: absolute;\n cursor: ", ";\n height: 24px;\n width: 50px;\n ", "\n"])), function (_ref) {
32934
+ var HiddenToggleSwitchBox = styled__default.input.withConfig({
32935
+ displayName: "ToggleSwitch__HiddenToggleSwitchBox",
32936
+ componentId: "sc-1t51u6v-0"
32937
+ })(["opacity:0;position:absolute;cursor:", ";height:24px;width:50px;", ""], function (_ref) {
32834
32938
  var disabled = _ref.disabled;
32835
32939
  return disabled ? "auto" : "pointer";
32836
32940
  }, function (_ref2) {
32837
32941
  var isMobile = _ref2.isMobile;
32838
32942
  return isMobile ? "transform: scale(0.75)" : "";
32839
32943
  });
32840
- var VisibleSwitchComponent = styled__default.label(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n width: 48px;\n height: 24px;\n border-radius: 48px;\n border: none;\n position: relative;\n box-sizing: border-box;\n cursor: ", ";\n display: inline-block;\n\n &:hover {\n box-shadow: ", ";\n }\n\n &:focus {\n box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.5);\n }\n\n ", "\n"])), function (_ref3) {
32944
+ var VisibleSwitchComponent = styled__default.label.withConfig({
32945
+ displayName: "ToggleSwitch__VisibleSwitchComponent",
32946
+ componentId: "sc-1t51u6v-1"
32947
+ })(["width:48px;height:24px;border-radius:48px;border:none;position:relative;box-sizing:border-box;cursor:", ";display:inline-block;&:hover{box-shadow:", ";}&:focus{box-shadow:0px 2px 5px 0px rgba(0,0,0,0.5);}", ""], function (_ref3) {
32841
32948
  var disabled = _ref3.disabled;
32842
32949
  return disabled ? "auto" : "pointer";
32843
32950
  }, function (_ref4) {
@@ -32847,8 +32954,14 @@ var VisibleSwitchComponent = styled__default.label(_templateObject2$i || (_templ
32847
32954
  var isMobile = _ref5.isMobile;
32848
32955
  return isMobile ? "transform: scale(0.75)" : "";
32849
32956
  });
32850
- var ToggleSwitchMiddleRingComponent = styled__default.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n position: absolute;\n width: 20px;\n height: 20px;\n border: none;\n border-radius: 50%;\n box-sizing: border-box;\n"])));
32851
- var ToggleSwitchInnerRingComponent = styled__default.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n position: absolute;\n width: 14px;\n height: 14px;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n border-radius: 50%;\n box-sizing: border-box;\n"])));
32957
+ var ToggleSwitchMiddleRingComponent = styled__default.div.withConfig({
32958
+ displayName: "ToggleSwitch__ToggleSwitchMiddleRingComponent",
32959
+ componentId: "sc-1t51u6v-2"
32960
+ })(["position:absolute;width:20px;height:20px;border:none;border-radius:50%;box-sizing:border-box;"]);
32961
+ var ToggleSwitchInnerRingComponent = styled__default.div.withConfig({
32962
+ displayName: "ToggleSwitch__ToggleSwitchInnerRingComponent",
32963
+ componentId: "sc-1t51u6v-3"
32964
+ })(["position:absolute;width:14px;height:14px;top:3px;left:3px;right:3px;bottom:3px;border-radius:50%;box-sizing:border-box;"]);
32852
32965
 
32853
32966
  var ToggleSwitch = function ToggleSwitch(_ref6) {
32854
32967
  var _ref6$isOn = _ref6.isOn,
@@ -32997,8 +33110,10 @@ var themeValues = {
32997
33110
  focusBorder: focusBorder
32998
33111
  };
32999
33112
 
33000
- var _templateObject$y;
33001
- var TypeaheadInputWrapper = styled__default.div(_templateObject$y || (_templateObject$y = _taggedTemplateLiteral(["\n display: flex;\n align-content: center;\n align-items: center;\n background: ", ";\n\n input {\n border: 0;\n height: 72px;\n width: 100%;\n padding: 1.5rem;\n padding-left: 1rem;\n min-width: 100px;\n margin: 0;\n box-sizing: border-box;\n position: relative;\n font-size: 1.1rem;\n line-height: 2rem;\n font-weight: 400;\n background-color: ", ";\n color: ", ";\n box-shadow: none;\n border: 1px solid transparent;\n\n &:focus {\n border: 1px solid ", ";\n }\n }\n"])), themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33113
+ var TypeaheadInputWrapper = styled__default.div.withConfig({
33114
+ displayName: "TypeaheadInput__TypeaheadInputWrapper",
33115
+ componentId: "sc-cumjdb-0"
33116
+ })(["display:flex;align-content:center;align-items:center;background:", ";input{border:0;height:72px;width:100%;padding:1.5rem;padding-left:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:400;background-color:", ";color:", ";box-shadow:none;border:1px solid transparent;&:focus{border:1px solid ", ";}}"], themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
33002
33117
 
33003
33118
  var TypeaheadInput = function TypeaheadInput(_ref) {
33004
33119
  var handleChange = _ref.handleChange,
@@ -34726,11 +34841,11 @@ var zipFormats = ["", "_", "__", "___", "____", "_____", "______", "_____-__", "
34726
34841
  var creditCardFormats = ["", "_", "__", "___", "____", "____ _", "____ __", "____ ___", "____ ____", "____ ____ _", "____ ____ __", "____ ____ ___", "____ ____ ____", "____ ____ ____ _", "____ ____ ____ __", "____ ____ ____ ___", "____ ____ ____ ____"];
34727
34842
  var moneyFormats = ["", "$0.0_", "$0.__", "$_.__", "$__.__", "$___.__", "$_,___.__", "$__,___.__", "$___,___.__", "$_,___,___.__", "$__,___,___.__", "$___,___,___.__", "$_,___,___,___.__", "$__,___,___,___.__", "$___,___,___,___.__", "$_,___,___,___,___.__"];
34728
34843
  var expirationDateFormats = ["", "_", "__/", "__/_", "__/__"];
34729
- var zipFormat = src_2(zipFormats, formatDelimiter);
34730
- var creditCardFormat = src_2(creditCardFormats, formatDelimiter);
34731
- var expirationDateFormat = src_2(expirationDateFormats, formatDelimiter);
34732
- var phoneFormat = src_2(phoneFormats, formatDelimiter);
34733
- var moneyFormat = src_2(moneyFormats, formatDelimiter);
34844
+ var zipFormat = createFormat(zipFormats, formatDelimiter);
34845
+ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
34846
+ var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
34847
+ var phoneFormat = createFormat(phoneFormats, formatDelimiter);
34848
+ var moneyFormat = createFormat(moneyFormats, formatDelimiter);
34734
34849
 
34735
34850
  var formats = /*#__PURE__*/Object.freeze({
34736
34851
  __proto__: null,
@@ -35195,15 +35310,20 @@ EditNameForm.reducer = reducer$2;
35195
35310
  EditNameForm.mapStateToProps = mapStateToProps$3;
35196
35311
  EditNameForm.mapDispatchToProps = mapDispatchToProps$2;
35197
35312
 
35198
- var _templateObject$z, _templateObject2$j;
35199
- var EditableListItem = styled__default.div(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n box-sizing: border-box;\n background: ", ";\n border-color: ", ";\n height: ", ";\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 1.5rem;\n :not(:last-child),\n :not(:first-child) {\n box-shadow: inset 0px -1px 0px 0px rgb(202, 206, 216);\n }\n :first-child {\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n }\n :last-child {\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: none;\n }\n"])), function (_ref) {
35313
+ var EditableListItem = styled__default.div.withConfig({
35314
+ displayName: "EditableListstyled__EditableListItem",
35315
+ componentId: "sc-10ehkz7-0"
35316
+ })(["box-sizing:border-box;background:", ";border-color:", ";height:", ";display:flex;justify-content:space-between;align-items:center;padding:1.5rem;:not(:last-child),:not(:first-child){box-shadow:inset 0px -1px 0px 0px rgb(202,206,216);}:first-child{border-top-left-radius:3px;border-top-right-radius:3px;}:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px;box-shadow:none;}"], function (_ref) {
35200
35317
  var disabled = _ref.disabled;
35201
35318
  return disabled ? "rgba(246, 246, 249, 0.7)" : WHITE;
35202
35319
  }, GHOST_GREY, function (_ref2) {
35203
35320
  var listItemSize = _ref2.listItemSize;
35204
35321
  return listItemSize === "big" ? "120px" : "72px";
35205
35322
  });
35206
- var EditableListItemControls = styled__default.div(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
35323
+ var EditableListItemControls = styled__default.div.withConfig({
35324
+ displayName: "EditableListstyled__EditableListItemControls",
35325
+ componentId: "sc-10ehkz7-1"
35326
+ })(["display:flex;justify-content:space-evenly;align-items:center;"]);
35207
35327
 
35208
35328
  var ACTIVE$1 = "ACTIVE";
35209
35329
  var EXPIRED$1 = "EXPIRED";
@@ -35313,12 +35433,17 @@ var EditableList = function EditableList(_ref) {
35313
35433
  }))));
35314
35434
  };
35315
35435
 
35316
- var _templateObject$A, _templateObject2$k, _templateObject3$b, _templateObject4$6, _templateObject5$4, _templateObject6$4, _templateObject7$3, _templateObject8$2, _templateObject9$2;
35317
- var EditableTableContainer = styled__default.div(_templateObject$A || (_templateObject$A = _taggedTemplateLiteral(["\n display: ", ";\n flex-direction: column;\n flex: 1;\n"])), function (_ref) {
35436
+ var EditableTableContainer = styled__default.div.withConfig({
35437
+ displayName: "EditableTablestyled__EditableTableContainer",
35438
+ componentId: "sc-fd3i2a-0"
35439
+ })(["display:", ";flex-direction:column;flex:1;"], function (_ref) {
35318
35440
  var hide = _ref.hide;
35319
35441
  return hide ? "none" : "flex";
35320
35442
  });
35321
- var EditableTableListItem = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n ", ";\n align-items: ", ";\n flex-direction: ", ";\n flex: 1;\n ", ";\n"])), function (_ref2) {
35443
+ var EditableTableListItem = styled__default.div.withConfig({
35444
+ displayName: "EditableTablestyled__EditableTableListItem",
35445
+ componentId: "sc-fd3i2a-1"
35446
+ })(["width:100%;display:flex;", ";align-items:", ";flex-direction:", ";flex:1;", ";"], function (_ref2) {
35322
35447
  var isMobile = _ref2.isMobile;
35323
35448
  return isMobile && "justify-content: center";
35324
35449
  }, function (_ref3) {
@@ -35331,17 +35456,32 @@ var EditableTableListItem = styled__default.div(_templateObject2$k || (_template
35331
35456
  var isMobile = _ref5.isMobile;
35332
35457
  return isMobile ? "padding: 1rem 0.5rem" : "padding: 0 0.5rem";
35333
35458
  });
35334
- var EditableListItemControls$1 = styled__default.div(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-evenly;\n align-items: center;\n"])));
35335
- var EditableListAction = styled__default.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n color: ", ";\n align-items: center;\n font-size: 1rem;\n padding-right: 1rem;\n cursor: pointer;\n display: ", ";\n"])), MATISSE_BLUE, function (_ref6) {
35459
+ var EditableListItemControls$1 = styled__default.div.withConfig({
35460
+ displayName: "EditableTablestyled__EditableListItemControls",
35461
+ componentId: "sc-fd3i2a-2"
35462
+ })(["display:flex;justify-content:space-evenly;align-items:center;"]);
35463
+ var EditableListAction = styled__default.div.withConfig({
35464
+ displayName: "EditableTablestyled__EditableListAction",
35465
+ componentId: "sc-fd3i2a-3"
35466
+ })(["color:", ";align-items:center;font-size:1rem;padding-right:1rem;cursor:pointer;display:", ";"], MATISSE_BLUE, function (_ref6) {
35336
35467
  var hide = _ref6.hide;
35337
35468
  return hide ? "none" : "flex";
35338
35469
  });
35339
- var ItemWrapper = styled__default.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n border-bottom: 1px solid ", ";\n"])), GHOST_GREY);
35340
- var ActionWrapper = styled__default.div(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n display: flex;\n align-self: center;\n justify-content: flex-end;\n ", ";\n flex: 1;\n"])), function (_ref7) {
35470
+ var ItemWrapper = styled__default.div.withConfig({
35471
+ displayName: "EditableTablestyled__ItemWrapper",
35472
+ componentId: "sc-fd3i2a-4"
35473
+ })(["display:flex;flex-direction:row;flex:1;width:100%;border-bottom:1px solid ", ";"], GHOST_GREY);
35474
+ var ActionWrapper = styled__default.div.withConfig({
35475
+ displayName: "EditableTablestyled__ActionWrapper",
35476
+ componentId: "sc-fd3i2a-5"
35477
+ })(["display:flex;align-self:center;justify-content:flex-end;", ";flex:1;"], function (_ref7) {
35341
35478
  var isMobile = _ref7.isMobile;
35342
35479
  return isMobile && "display: none";
35343
35480
  });
35344
- var TableItemKey = styled__default.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_ref8) {
35481
+ var TableItemKey = styled__default.div.withConfig({
35482
+ displayName: "EditableTablestyled__TableItemKey",
35483
+ componentId: "sc-fd3i2a-6"
35484
+ })(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref8) {
35345
35485
  var isMobile = _ref8.isMobile;
35346
35486
  return !isMobile && "flex: 1";
35347
35487
  }, function (_ref9) {
@@ -35354,7 +35494,10 @@ var TableItemKey = styled__default.div(_templateObject7$3 || (_templateObject7$3
35354
35494
  var isMobile = _ref11.isMobile;
35355
35495
  return isMobile ? "1rem" : "1.125rem";
35356
35496
  }, STORM_GREY);
35357
- var TableItemValue = styled__default.div(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral(["\n display: flex;\n ", ";\n ", ";\n ", ";\n font-size: ", ";\n color: ", ";\n"])), function (_ref12) {
35497
+ var TableItemValue = styled__default.div.withConfig({
35498
+ displayName: "EditableTablestyled__TableItemValue",
35499
+ componentId: "sc-fd3i2a-7"
35500
+ })(["display:flex;", ";", ";", ";font-size:", ";color:", ";"], function (_ref12) {
35358
35501
  var isMobile = _ref12.isMobile;
35359
35502
  return !isMobile && "flex: 1";
35360
35503
  }, function (_ref13) {
@@ -35367,7 +35510,10 @@ var TableItemValue = styled__default.div(_templateObject8$2 || (_templateObject8
35367
35510
  var isMobile = _ref15.isMobile;
35368
35511
  return isMobile ? "1.125rem" : "1.0625rem";
35369
35512
  }, BRIGHT_GREY);
35370
- var TableWrapper = styled__default.div(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n flex: 1;\n width: 100%;\n"])));
35513
+ var TableWrapper = styled__default.div.withConfig({
35514
+ displayName: "EditableTablestyled__TableWrapper",
35515
+ componentId: "sc-fd3i2a-8"
35516
+ })(["display:flex;flex-direction:row;flex:1;width:100%;"]);
35371
35517
 
35372
35518
  var EditableTable = function EditableTable(_ref) {
35373
35519
  var title = _ref.title,
@@ -38523,7 +38669,7 @@ Styling accomplished with our atoms / layout primitives
38523
38669
 
38524
38670
  Cancel button will (for now) always use hideModal as its action
38525
38671
  Continue button takes an action, if you want to navigate to
38526
- a different route (as with a link) connect() and use "push" from connected-react-router
38672
+ a different route (as with a link) connect() and use "push" from @thecb/connected-react-router
38527
38673
  */
38528
38674
 
38529
38675
  var getApplicationNode = function getApplicationNode() {
@@ -38810,7 +38956,6 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
38810
38956
 
38811
38957
  var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$y, "profile");
38812
38958
 
38813
- var _templateObject$B;
38814
38959
  var menu = posed.div({
38815
38960
  invisible: {
38816
38961
  left: "-100vw",
@@ -38841,7 +38986,10 @@ var menu = posed.div({
38841
38986
  }
38842
38987
  }
38843
38988
  });
38844
- var ImposterMenu = styled__default(menu)(_templateObject$B || (_templateObject$B = _taggedTemplateLiteral(["\n position: fixed;\n top: 72px;\n"])));
38989
+ var ImposterMenu = styled__default(menu).withConfig({
38990
+ displayName: "NavMenuMobile__ImposterMenu",
38991
+ componentId: "sc-1pf0qp7-0"
38992
+ })(["position:fixed;top:72px;"]);
38845
38993
 
38846
38994
  var NavMenuMobile = function NavMenuMobile(_ref) {
38847
38995
  var id = _ref.id,
@@ -40163,7 +40311,7 @@ var formConfig$8 = {
40163
40311
  constraints: [onlyIntegers(), hasLength(0, 16)]
40164
40312
  },
40165
40313
  expirationDate: {
40166
- validators: [required(), hasLength(4, 4), dateAfterToday("MM/YY", "month", true)],
40314
+ validators: [required(), hasLength(4, 4), dateAfterToday("MMYY", "month", true)],
40167
40315
  constraints: [onlyIntegers(), hasLength(0, 4)]
40168
40316
  },
40169
40317
  cvv: {
@@ -40219,7 +40367,7 @@ var PhoneForm = function PhoneForm(_ref) {
40219
40367
  field: fields.phone,
40220
40368
  fieldActions: actions.fields.phone,
40221
40369
  showErrors: showErrors,
40222
- formatter: src_2(phoneFormats, formatDelimiter),
40370
+ formatter: createFormat(phoneFormats, formatDelimiter),
40223
40371
  onKeyUp: function onKeyUp(e) {
40224
40372
  return e.key === "Enter" && handleSubmit(e);
40225
40373
  },
@@ -40261,7 +40409,6 @@ var fallbackValues$C = {
40261
40409
  focusStyles: focusStyles
40262
40410
  };
40263
40411
 
40264
- var _templateObject$C;
40265
40412
  /*
40266
40413
  Takes an array of section objects, each object should look like:
40267
40414
  {
@@ -40358,7 +40505,10 @@ var RadioSection = function RadioSection(_ref) {
40358
40505
  }
40359
40506
  };
40360
40507
  var borderStyles = "\n border-width: 0 0 1px 0;\n border-color: ".concat(themeValues.borderColor, ";\n border-style: solid;\n border-radius: 0px;\n transform-origin: 100% 0;\n\n &:last-child {\n border-width: 0;\n }\n ");
40361
- var RightIcon = styled__default.img(_templateObject$C || (_templateObject$C = _taggedTemplateLiteral(["\n height: ", ";\n width: ", ";\n ", "\n transition: opacity 0.3s ease;\n "])), function (_ref2) {
40508
+ var RightIcon = styled__default.img.withConfig({
40509
+ displayName: "RadioSection__RightIcon",
40510
+ componentId: "sc-uema02-0"
40511
+ })(["height:", ";width:", ";", " transition:opacity 0.3s ease;"], function (_ref2) {
40362
40512
  var isMobile = _ref2.isMobile;
40363
40513
  return isMobile ? "14px" : "18px";
40364
40514
  }, function (_ref3) {
@@ -41075,8 +41225,10 @@ var fallbackValues$G = {
41075
41225
  imageBackgroundColor: imageBackgroundColor
41076
41226
  };
41077
41227
 
41078
- var _templateObject$D;
41079
- var WelcomeImage = styled__default.img(_templateObject$D || (_templateObject$D = _taggedTemplateLiteral(["\n width: auto;\n height: 215px;\n"])));
41228
+ var WelcomeImage = styled__default.img.withConfig({
41229
+ displayName: "WelcomeModule__WelcomeImage",
41230
+ componentId: "sc-1d9znh4-0"
41231
+ })(["width:auto;height:215px;"]);
41080
41232
 
41081
41233
  var WelcomeModule = function WelcomeModule(_ref) {
41082
41234
  var heading = _ref.heading,