@thecb/components 7.10.4 → 7.10.5-beta.2
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 +540 -2014
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +19 -212
- package/dist/index.esm.js +539 -1988
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/constants/colors.js +23 -0
- package/src/.DS_Store +0 -0
- package/src/components/atoms/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- /package/src/components/atoms/icons/{ExternalLinkicon.js → ExternalLinkIcon.js} +0 -0
package/dist/index.cjs.js
CHANGED
|
@@ -5015,9 +5015,7 @@ var INFO_BLUE = "#E4F4FD";
|
|
|
5015
5015
|
var HOVER_LIGHT_BLUE = "#EFFAFF";
|
|
5016
5016
|
var MATISSE_BLUE = "#15749D";
|
|
5017
5017
|
var ROYAL_BLUE = "#3181E3";
|
|
5018
|
-
var ASTRAL_BLUE = "#3176AA";
|
|
5019
|
-
var SAPPHIRE_BLUE = "#116285";
|
|
5020
|
-
var PEACOCK_BLUE = "#0E506D"; // GREEN
|
|
5018
|
+
var ASTRAL_BLUE = "#3176AA"; // GREEN
|
|
5021
5019
|
|
|
5022
5020
|
var FOREST_GREEN = "#19b03F";
|
|
5023
5021
|
var MEADOW_GREEN = "#16C98D";
|
|
@@ -5040,7 +5038,6 @@ var RED = "#FF0000";
|
|
|
5040
5038
|
var CRIMSON_RED = "#ED1C24";
|
|
5041
5039
|
var THUNDERBIRD_RED = "#C3191F";
|
|
5042
5040
|
var RAZZMATAZZ_RED = "#D11053";
|
|
5043
|
-
var RASPBERRY = "#ED125F";
|
|
5044
5041
|
var FANTASY_RED = "#FCF4F4";
|
|
5045
5042
|
var COSMOS_RED = "#FFD0D3";
|
|
5046
5043
|
var BLUSH_RED = "#FFF0F5"; // Second level color constants
|
|
@@ -5125,8 +5122,6 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5125
5122
|
MATISSE_BLUE: MATISSE_BLUE,
|
|
5126
5123
|
ROYAL_BLUE: ROYAL_BLUE,
|
|
5127
5124
|
ASTRAL_BLUE: ASTRAL_BLUE,
|
|
5128
|
-
SAPPHIRE_BLUE: SAPPHIRE_BLUE,
|
|
5129
|
-
PEACOCK_BLUE: PEACOCK_BLUE,
|
|
5130
5125
|
FOREST_GREEN: FOREST_GREEN,
|
|
5131
5126
|
MEADOW_GREEN: MEADOW_GREEN,
|
|
5132
5127
|
POLAR_GREEN: POLAR_GREEN,
|
|
@@ -5148,7 +5143,6 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
5148
5143
|
FANTASY_RED: FANTASY_RED,
|
|
5149
5144
|
COSMOS_RED: COSMOS_RED,
|
|
5150
5145
|
BLUSH_RED: BLUSH_RED,
|
|
5151
|
-
RASPBERRY: RASPBERRY,
|
|
5152
5146
|
ALERT_COLORS: ALERT_COLORS,
|
|
5153
5147
|
ERROR_COLOR: ERROR_COLOR
|
|
5154
5148
|
});
|
|
@@ -6324,14 +6318,6 @@ var throttle = function throttle(delay, fn) {
|
|
|
6324
6318
|
return fn.apply(void 0, arguments);
|
|
6325
6319
|
};
|
|
6326
6320
|
};
|
|
6327
|
-
var titleCaseWord = function titleCaseWord(word) {
|
|
6328
|
-
return word.charAt(0).toUpperCase() + word.slice(1);
|
|
6329
|
-
};
|
|
6330
|
-
var titleCaseString = function titleCaseString(string) {
|
|
6331
|
-
return string.split(" ").map(function (word, index, string) {
|
|
6332
|
-
return index === 0 || index === string.length - 1 || word.length > 3 ? titleCaseWord(word.toLowerCase()) : word;
|
|
6333
|
-
}).join(" ");
|
|
6334
|
-
};
|
|
6335
6321
|
|
|
6336
6322
|
var general = /*#__PURE__*/Object.freeze({
|
|
6337
6323
|
__proto__: null,
|
|
@@ -6349,9 +6335,7 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6349
6335
|
inputPlaceholderTextStyle: inputPlaceholderTextStyle,
|
|
6350
6336
|
inputDisabledStyle: inputDisabledStyle,
|
|
6351
6337
|
MOBILE_WIDTH: MOBILE_WIDTH,
|
|
6352
|
-
throttle: throttle
|
|
6353
|
-
titleCaseWord: titleCaseWord,
|
|
6354
|
-
titleCaseString: titleCaseString
|
|
6338
|
+
throttle: throttle
|
|
6355
6339
|
});
|
|
6356
6340
|
|
|
6357
6341
|
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children", "variant"];
|
|
@@ -6472,9 +6456,8 @@ var BoxWrapper = styled__default(function (_ref) {
|
|
|
6472
6456
|
return textAlign;
|
|
6473
6457
|
}, function (_ref14) {
|
|
6474
6458
|
var hoverStyles = _ref14.hoverStyles,
|
|
6475
|
-
as = _ref14.as
|
|
6476
|
-
|
|
6477
|
-
return styled.css(["", " ", ""], hoverStyles, as === "button" && !disabled ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6459
|
+
as = _ref14.as;
|
|
6460
|
+
return styled.css(["", " ", ""], hoverStyles, as === "button" ? "> * > span {\n ".concat(hoverStyles, "\n border: none;\n outline: none;\n box-shadow: none;\n }") : "");
|
|
6478
6461
|
}, function (_ref15) {
|
|
6479
6462
|
var as = _ref15.as;
|
|
6480
6463
|
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 }");
|
|
@@ -6674,7 +6657,7 @@ var ClusterInnerWrapper = styled__default.div.withConfig({
|
|
|
6674
6657
|
return childGap;
|
|
6675
6658
|
});
|
|
6676
6659
|
|
|
6677
|
-
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"
|
|
6660
|
+
var _excluded$6 = ["justify", "align", "childGap", "minHeight", "minWidth", "nowrap", "overflow", "justifySelf", "alignSelf", "flexGrow", "extraStyles", "children"];
|
|
6678
6661
|
/*
|
|
6679
6662
|
Cluster components suit any groups of elements that differ in
|
|
6680
6663
|
length and are liable to wrap. Buttons that appear together at the
|
|
@@ -6698,8 +6681,6 @@ var Cluster = function Cluster(_ref) {
|
|
|
6698
6681
|
flexGrow = _ref.flexGrow,
|
|
6699
6682
|
extraStyles = _ref.extraStyles,
|
|
6700
6683
|
children = _ref.children,
|
|
6701
|
-
_ref$innerWrapperAs = _ref.innerWrapperAs,
|
|
6702
|
-
innerWrapperAs = _ref$innerWrapperAs === void 0 ? "div" : _ref$innerWrapperAs,
|
|
6703
6684
|
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
6704
6685
|
|
|
6705
6686
|
return /*#__PURE__*/React__default.createElement(ClusterWrapper, _extends({
|
|
@@ -6715,8 +6696,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
6715
6696
|
childGap: childGap,
|
|
6716
6697
|
minHeight: minHeight,
|
|
6717
6698
|
minWidth: minWidth,
|
|
6718
|
-
$nowrap: nowrap
|
|
6719
|
-
as: innerWrapperAs
|
|
6699
|
+
$nowrap: nowrap
|
|
6720
6700
|
}, safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null))));
|
|
6721
6701
|
};
|
|
6722
6702
|
|
|
@@ -12553,6 +12533,10 @@ var Reel = function Reel(_ref) {
|
|
|
12553
12533
|
}), safeChildren(children, /*#__PURE__*/React__default.createElement(React.Fragment, null)));
|
|
12554
12534
|
};
|
|
12555
12535
|
|
|
12536
|
+
/*
|
|
12537
|
+
For now I'm using string values, eventually shared components library will have its own constants file
|
|
12538
|
+
for colors/values that should be used here instead
|
|
12539
|
+
*/
|
|
12556
12540
|
var padding = {
|
|
12557
12541
|
primary: "0.75rem 1.5rem",
|
|
12558
12542
|
secondary: "0.75rem 1.5rem",
|
|
@@ -12563,23 +12547,21 @@ var padding = {
|
|
|
12563
12547
|
tertiary: "0.75rem 1.5rem",
|
|
12564
12548
|
ghost: "0.65rem 0",
|
|
12565
12549
|
danger: "0.75rem 1.5rem",
|
|
12566
|
-
dangerSecondary: "0.75rem 1.5rem",
|
|
12567
12550
|
whiteSecondary: "0.75rem 2rem",
|
|
12568
12551
|
whitePrimary: "1.125rem 0.75rem"
|
|
12569
12552
|
};
|
|
12570
12553
|
var color$1 = {
|
|
12571
|
-
primary:
|
|
12572
|
-
secondary:
|
|
12573
|
-
back:
|
|
12574
|
-
smallPrimary:
|
|
12575
|
-
smallSecondary:
|
|
12576
|
-
smallGhost:
|
|
12577
|
-
ghost:
|
|
12578
|
-
tertiary:
|
|
12579
|
-
danger:
|
|
12580
|
-
|
|
12581
|
-
|
|
12582
|
-
whitePrimary: WHITE
|
|
12554
|
+
primary: "#FFFFFF",
|
|
12555
|
+
secondary: "#15749D",
|
|
12556
|
+
back: "#15749D",
|
|
12557
|
+
smallPrimary: "#FFFFFF",
|
|
12558
|
+
smallSecondary: "#15749D",
|
|
12559
|
+
smallGhost: "#15749D",
|
|
12560
|
+
ghost: "#15749D",
|
|
12561
|
+
tertiary: "#15749D",
|
|
12562
|
+
danger: "#FFFFFF",
|
|
12563
|
+
whiteSecondary: "#FFFFFF",
|
|
12564
|
+
whitePrimary: "#FFFFFF"
|
|
12583
12565
|
};
|
|
12584
12566
|
var fontSizeVariant = {
|
|
12585
12567
|
primary: "pS",
|
|
@@ -12591,7 +12573,6 @@ var fontSizeVariant = {
|
|
|
12591
12573
|
ghost: "pL",
|
|
12592
12574
|
tertiary: "pS",
|
|
12593
12575
|
danger: "pS",
|
|
12594
|
-
dangerSecondary: "pS",
|
|
12595
12576
|
whiteSecondary: "pS",
|
|
12596
12577
|
whitePrimary: "pS"
|
|
12597
12578
|
};
|
|
@@ -12605,7 +12586,6 @@ var fontWeight = {
|
|
|
12605
12586
|
ghost: "600",
|
|
12606
12587
|
tertiary: "600",
|
|
12607
12588
|
danger: "600",
|
|
12608
|
-
dangerSecondary: "600",
|
|
12609
12589
|
whiteSecondary: "600",
|
|
12610
12590
|
whitePrimary: "600"
|
|
12611
12591
|
};
|
|
@@ -12619,7 +12599,6 @@ var height = {
|
|
|
12619
12599
|
ghost: "3rem",
|
|
12620
12600
|
tertiary: "3rem",
|
|
12621
12601
|
danger: "3rem",
|
|
12622
|
-
dangerSecondary: "3rem",
|
|
12623
12602
|
whiteSecondary: "3rem",
|
|
12624
12603
|
whitePrimary: "auto"
|
|
12625
12604
|
};
|
|
@@ -12633,121 +12612,112 @@ var minWidth = {
|
|
|
12633
12612
|
ghost: "130px",
|
|
12634
12613
|
tertiary: "130px",
|
|
12635
12614
|
danger: "130px",
|
|
12636
|
-
dangerSecondary: "157px",
|
|
12637
12615
|
whiteSecondary: "160px",
|
|
12638
12616
|
whitePrimary: "130px"
|
|
12639
12617
|
};
|
|
12640
12618
|
var backgroundColor = {
|
|
12641
|
-
primary:
|
|
12642
|
-
secondary:
|
|
12643
|
-
back:
|
|
12644
|
-
smallPrimary:
|
|
12645
|
-
smallSecondary:
|
|
12646
|
-
smallGhost:
|
|
12647
|
-
ghost:
|
|
12648
|
-
tertiary:
|
|
12649
|
-
danger:
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
whitePrimary: TRANSPARENT
|
|
12619
|
+
primary: "#15749D",
|
|
12620
|
+
secondary: "transparent",
|
|
12621
|
+
back: "transparent",
|
|
12622
|
+
smallPrimary: "#15749D",
|
|
12623
|
+
smallSecondary: "transparent",
|
|
12624
|
+
smallGhost: "transparent",
|
|
12625
|
+
ghost: "transparent",
|
|
12626
|
+
tertiary: "transparent",
|
|
12627
|
+
danger: "#ED125F",
|
|
12628
|
+
whiteSecondary: "transparent",
|
|
12629
|
+
whitePrimary: "transparent"
|
|
12653
12630
|
};
|
|
12654
12631
|
var border = {
|
|
12655
|
-
primary: "2px solid "
|
|
12656
|
-
secondary: "2px solid "
|
|
12657
|
-
back: "2px solid "
|
|
12658
|
-
smallPrimary: "2px solid "
|
|
12659
|
-
smallSecondary: "2px solid "
|
|
12632
|
+
primary: "2px solid #15749D",
|
|
12633
|
+
secondary: "2px solid #15749D",
|
|
12634
|
+
back: "2px solid #15749D",
|
|
12635
|
+
smallPrimary: "2px solid #15749D",
|
|
12636
|
+
smallSecondary: "2px solid #15749D",
|
|
12660
12637
|
smallGhost: "none",
|
|
12661
12638
|
ghost: "none",
|
|
12662
12639
|
tertiary: "none",
|
|
12663
|
-
danger: "2px solid "
|
|
12664
|
-
|
|
12665
|
-
|
|
12666
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12640
|
+
danger: "2px solid #ED125F",
|
|
12641
|
+
whiteSecondary: "2px solid white",
|
|
12642
|
+
whitePrimary: "2px solid transparent"
|
|
12667
12643
|
};
|
|
12668
12644
|
var hoverBackgroundColor = {
|
|
12669
|
-
primary:
|
|
12645
|
+
primary: "#116285",
|
|
12670
12646
|
secondary: "#DBEAF0",
|
|
12671
|
-
back:
|
|
12672
|
-
smallPrimary:
|
|
12647
|
+
back: "transparent",
|
|
12648
|
+
smallPrimary: "#116285",
|
|
12673
12649
|
smallSecondary: "#DBEAF0",
|
|
12674
|
-
smallGhost:
|
|
12675
|
-
ghost:
|
|
12676
|
-
tertiary:
|
|
12650
|
+
smallGhost: "transparent",
|
|
12651
|
+
ghost: "transparent",
|
|
12652
|
+
tertiary: "transparent",
|
|
12677
12653
|
danger: "#BA002C",
|
|
12678
|
-
|
|
12679
|
-
|
|
12680
|
-
whitePrimary: TRANSPARENT
|
|
12654
|
+
whiteSecondary: "transparent",
|
|
12655
|
+
whitePrimary: "transparent"
|
|
12681
12656
|
};
|
|
12682
12657
|
var hoverBorderColor = {
|
|
12683
|
-
primary:
|
|
12684
|
-
secondary:
|
|
12658
|
+
primary: "#116285",
|
|
12659
|
+
secondary: "#15749D",
|
|
12685
12660
|
back: "#DCEAF1",
|
|
12686
|
-
smallPrimary:
|
|
12687
|
-
smallSecondary:
|
|
12688
|
-
smallGhost:
|
|
12689
|
-
ghost:
|
|
12690
|
-
tertiary:
|
|
12661
|
+
smallPrimary: "#116285",
|
|
12662
|
+
smallSecondary: "#15749D",
|
|
12663
|
+
smallGhost: "transparent",
|
|
12664
|
+
ghost: "transparent",
|
|
12665
|
+
tertiary: "transparent",
|
|
12691
12666
|
danger: "#BA002C",
|
|
12692
|
-
|
|
12693
|
-
|
|
12694
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12667
|
+
whiteSecondary: "2px solid transparent",
|
|
12668
|
+
whitePrimary: "2px solid transparent"
|
|
12695
12669
|
};
|
|
12696
12670
|
var hoverColor = {
|
|
12697
|
-
primary:
|
|
12698
|
-
secondary:
|
|
12699
|
-
back:
|
|
12700
|
-
smallPrimary:
|
|
12701
|
-
smallSecondary:
|
|
12702
|
-
smallGhost:
|
|
12703
|
-
ghost:
|
|
12704
|
-
tertiary:
|
|
12705
|
-
danger:
|
|
12706
|
-
|
|
12707
|
-
|
|
12708
|
-
whitePrimary: WHITE
|
|
12671
|
+
primary: "#FFFFFF",
|
|
12672
|
+
secondary: "#116285",
|
|
12673
|
+
back: "#116285",
|
|
12674
|
+
smallPrimary: "#FFFFFF",
|
|
12675
|
+
smallSecondary: "#116285",
|
|
12676
|
+
smallGhost: "#116285",
|
|
12677
|
+
ghost: "#116285",
|
|
12678
|
+
tertiary: "#116285",
|
|
12679
|
+
danger: "#FFFFFF",
|
|
12680
|
+
whiteSecondary: "#FFFFFF",
|
|
12681
|
+
whitePrimary: "#FFFFFF"
|
|
12709
12682
|
};
|
|
12710
12683
|
var activeBackgroundColor = {
|
|
12711
|
-
primary:
|
|
12684
|
+
primary: "#0E506D",
|
|
12712
12685
|
secondary: "#B8D5E1",
|
|
12713
|
-
back:
|
|
12714
|
-
smallPrimary:
|
|
12686
|
+
back: "transparent",
|
|
12687
|
+
smallPrimary: "#0E506D",
|
|
12715
12688
|
smallSecondary: "#B8D5E1",
|
|
12716
|
-
smallGhost:
|
|
12717
|
-
ghost:
|
|
12718
|
-
tertiary:
|
|
12689
|
+
smallGhost: "transparent",
|
|
12690
|
+
ghost: "transparent",
|
|
12691
|
+
tertiary: "transparent",
|
|
12719
12692
|
danger: "#870000",
|
|
12720
|
-
|
|
12721
|
-
|
|
12722
|
-
whitePrimary: TRANSPARENT
|
|
12693
|
+
whiteSecondary: "transparent",
|
|
12694
|
+
whitePrimary: "transparent"
|
|
12723
12695
|
};
|
|
12724
12696
|
var activeBorderColor = {
|
|
12725
|
-
primary:
|
|
12726
|
-
secondary:
|
|
12727
|
-
back:
|
|
12728
|
-
smallPrimary:
|
|
12729
|
-
smallSecondary:
|
|
12730
|
-
smallGhost:
|
|
12731
|
-
ghost:
|
|
12732
|
-
tertiary:
|
|
12697
|
+
primary: "#0E506D",
|
|
12698
|
+
secondary: "#15749D",
|
|
12699
|
+
back: "#0E506D",
|
|
12700
|
+
smallPrimary: "#0E506D",
|
|
12701
|
+
smallSecondary: "#15749D",
|
|
12702
|
+
smallGhost: "transparent",
|
|
12703
|
+
ghost: "transparent",
|
|
12704
|
+
tertiary: "transparent",
|
|
12733
12705
|
danger: "#870000",
|
|
12734
|
-
|
|
12735
|
-
|
|
12736
|
-
whitePrimary: "2px solid " + TRANSPARENT
|
|
12706
|
+
whiteSecondary: "2px solid transparent",
|
|
12707
|
+
whitePrimary: "2px solid transparent"
|
|
12737
12708
|
};
|
|
12738
12709
|
var activeColor = {
|
|
12739
|
-
primary:
|
|
12740
|
-
secondary:
|
|
12741
|
-
back:
|
|
12742
|
-
smallPrimary:
|
|
12743
|
-
smallSecondary:
|
|
12744
|
-
smallGhost:
|
|
12745
|
-
ghost:
|
|
12746
|
-
tertiary:
|
|
12747
|
-
danger:
|
|
12748
|
-
|
|
12749
|
-
|
|
12750
|
-
whitePrimary: WHITE
|
|
12710
|
+
primary: "#FFFFFF",
|
|
12711
|
+
secondary: "#15749D",
|
|
12712
|
+
back: "#0E506D",
|
|
12713
|
+
smallPrimary: "#FFFFFF",
|
|
12714
|
+
smallSecondary: "#0E506D",
|
|
12715
|
+
smallGhost: "#0E506D",
|
|
12716
|
+
ghost: "#0E506D",
|
|
12717
|
+
tertiary: "#0E506D",
|
|
12718
|
+
danger: "#FFFFFF",
|
|
12719
|
+
whiteSecondary: "#FFFFFF",
|
|
12720
|
+
whitePrimary: "#FFFFFF"
|
|
12751
12721
|
};
|
|
12752
12722
|
var fallbackValues$1 = {
|
|
12753
12723
|
padding: padding,
|
|
@@ -12831,7 +12801,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12831
12801
|
}))))));
|
|
12832
12802
|
};
|
|
12833
12803
|
|
|
12834
|
-
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "
|
|
12804
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12835
12805
|
var rotate$1 = posed.div({
|
|
12836
12806
|
fixed: {
|
|
12837
12807
|
rotate: "0deg"
|
|
@@ -12857,13 +12827,11 @@ var SpinnerIconWrapper$1 = styled__default(rotate$1).withConfig({
|
|
|
12857
12827
|
})([""]);
|
|
12858
12828
|
|
|
12859
12829
|
var Spinner = function Spinner(_ref) {
|
|
12860
|
-
var
|
|
12861
|
-
isMobile = _ref.isMobile;
|
|
12830
|
+
var isMobile = _ref.isMobile;
|
|
12862
12831
|
return /*#__PURE__*/React__default.createElement(SpinnerContainer$1, null, /*#__PURE__*/React__default.createElement(SpinnerIconWrapper$1, {
|
|
12863
12832
|
initialPose: "fixed",
|
|
12864
12833
|
pose: "rotate"
|
|
12865
12834
|
}, /*#__PURE__*/React__default.createElement(SpinnerIcon, {
|
|
12866
|
-
color: color,
|
|
12867
12835
|
isMobile: isMobile
|
|
12868
12836
|
})));
|
|
12869
12837
|
};
|
|
@@ -12894,8 +12862,6 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12894
12862
|
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12895
12863
|
_ref2$isLoading = _ref2.isLoading,
|
|
12896
12864
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12897
|
-
_ref2$loadingColor = _ref2.loadingColor,
|
|
12898
|
-
loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
|
|
12899
12865
|
_ref2$dataQa = _ref2.dataQa,
|
|
12900
12866
|
dataQa = _ref2$dataQa === void 0 ? null : _ref2$dataQa,
|
|
12901
12867
|
textExtraStyles = _ref2.textExtraStyles,
|
|
@@ -12905,7 +12871,6 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12905
12871
|
extraStyles = _ref2$extraStyles === void 0 ? "" : _ref2$extraStyles,
|
|
12906
12872
|
tabIndex = _ref2.tabIndex,
|
|
12907
12873
|
children = _ref2.children,
|
|
12908
|
-
extraDisabledStyles = _ref2.extraDisabledStyles,
|
|
12909
12874
|
rest = _objectWithoutProperties(_ref2, _excluded$h);
|
|
12910
12875
|
|
|
12911
12876
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
@@ -12913,7 +12878,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12913
12878
|
var isMobile = themeContext.isMobile;
|
|
12914
12879
|
var hoverStyles = "\n outline: none;\n background-color: ".concat(themeValues.hoverBackgroundColor, ";\n border-color: ").concat(themeValues.hoverBorderColor, ";\n color: ").concat(themeValues.hoverColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n cursor: pointer;\n ");
|
|
12915
12880
|
var activeStyles = "\n outline: none;\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border-color: ").concat(themeValues.activeBorderColor, ";\n color: ").concat(themeValues.activeColor, ";\n text-decoration: ").concat(variant === "ghost" || variant === "smallGhost" ? "underline" : "none", ";\n ");
|
|
12916
|
-
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n
|
|
12881
|
+
var disabledStyles = "\n background-color: #6D717E;\n border-color: #6D717E;\n color: #FFFFFF;\n cursor: default;\n &:focus {\n box-shadow: 0 0 10px #6D717E;\n outline: none;\n }\n ";
|
|
12917
12882
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
12918
12883
|
variant: variant,
|
|
12919
12884
|
padding: themeValues.padding,
|
|
@@ -12934,7 +12899,6 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12934
12899
|
}, rest), contentOverride ? children : /*#__PURE__*/React__default.createElement(Center, {
|
|
12935
12900
|
intrinsic: true
|
|
12936
12901
|
}, isLoading ? /*#__PURE__*/React__default.createElement(Spinner, {
|
|
12937
|
-
color: loadingColor,
|
|
12938
12902
|
isMobile: isMobile
|
|
12939
12903
|
}) : /*#__PURE__*/React__default.createElement(Text$1, {
|
|
12940
12904
|
weight: themeValues.fontWeight,
|
|
@@ -13832,35 +13796,6 @@ var BankIcon = function BankIcon() {
|
|
|
13832
13796
|
}));
|
|
13833
13797
|
};
|
|
13834
13798
|
|
|
13835
|
-
var BankIconLarge = function BankIconLarge(_ref) {
|
|
13836
|
-
var _ref$iconIndex = _ref.iconIndex,
|
|
13837
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
13838
|
-
var id = "BankIconLarge-".concat(iconIndex);
|
|
13839
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13840
|
-
width: "36",
|
|
13841
|
-
height: "24",
|
|
13842
|
-
viewBox: "0 0 36 24",
|
|
13843
|
-
fill: "none",
|
|
13844
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
13845
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
13846
|
-
clipPath: "url(#".concat(id, ")")
|
|
13847
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
13848
|
-
d: "M0 3C0 1.34315 1.34315 0 3 0H33C34.6569 0 36 1.34315 36 3V21C36 22.6569 34.6569 24 33 24H3C1.34315 24 0 22.6569 0 21V3Z",
|
|
13849
|
-
fill: "#E4F4FD"
|
|
13850
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
13851
|
-
fillRule: "evenodd",
|
|
13852
|
-
clipRule: "evenodd",
|
|
13853
|
-
d: "M33 1.5H3C2.17157 1.5 1.5 2.17157 1.5 3V21C1.5 21.8284 2.17157 22.5 3 22.5H33C33.8284 22.5 34.5 21.8284 34.5 21V3C34.5 2.17157 33.8284 1.5 33 1.5ZM3 0C1.34315 0 0 1.34315 0 3V21C0 22.6569 1.34315 24 3 24H33C34.6569 24 36 22.6569 36 21V3C36 1.34315 34.6569 0 33 0H3ZM23.7544 14.8335C23.6706 14.9563 23.6209 15.1293 23.6209 15.3332C23.6209 15.5465 23.5436 15.7411 23.4165 15.8885C23.349 15.9671 23.2696 16.0296 23.1834 16.0752C23.0922 16.1237 22.9909 16.1546 22.8836 16.1637C22.6961 16.1799 22.5022 16.1282 22.3391 16.0029C21.4102 15.2896 20.6945 14.8834 20.1572 14.6767C19.6165 14.4687 19.3143 14.4844 19.17 14.5249C18.988 14.576 18.7994 14.7857 18.7994 15.3332C18.7994 15.7935 18.4397 16.1665 17.9959 16.1665C17.5521 16.1665 17.1923 15.7935 17.1923 15.3332C17.1923 14.5422 17.4859 13.2709 18.7503 12.9161C19.3292 12.7536 19.9913 12.8352 20.7162 13.1141C21.2068 13.3028 21.7532 13.592 22.3632 13.9954C22.3882 13.9532 22.4147 13.9115 22.4428 13.8703C22.7715 13.3891 23.2775 13.0439 23.9432 12.9038C25.2058 12.6381 27.0336 13.1058 29.636 14.6047C30.024 14.8281 30.1638 15.3354 29.9483 15.7378C29.7329 16.1401 29.2437 16.2852 28.8557 16.0617C26.3153 14.5986 24.9289 14.397 24.2629 14.5371C23.9643 14.5999 23.8275 14.7265 23.7544 14.8335ZM26.8351 8.66659C26.8351 9.12683 26.4754 9.49992 26.0316 9.49992H17.996C17.5522 9.49992 17.1924 9.12683 17.1924 8.66659C17.1924 8.20636 17.5522 7.83327 17.996 7.83327H26.0316C26.4754 7.83327 26.8351 8.20636 26.8351 8.66659ZM8.81666 5.33333H10.8382C10.9311 5.33333 11.0201 5.37159 11.0858 5.43968C11.1514 5.50777 11.1883 5.60012 11.1883 5.69642V6.76975C11.9563 6.96326 12.6887 7.3019 13.3469 7.77398C13.4195 7.83002 13.4679 7.91348 13.4816 8.00627C13.4953 8.09906 13.4731 8.1937 13.42 8.26967L12.4001 9.76307C12.3498 9.84051 12.2725 9.89466 12.1844 9.9141C12.0964 9.93354 12.0045 9.91674 11.9282 9.86726C11.166 9.34181 10.2765 9.04965 9.36164 9.02426C8.67662 9.02426 8.34171 9.31157 8.34171 9.70308V9.73465C8.34171 10.2177 8.69184 10.4293 10.1167 10.7608C12.4427 11.288 13.898 12.071 13.898 14.0475V14.0759C13.898 15.789 12.8604 16.9502 11.1944 17.3552V18.3508C11.1944 18.3931 11.1862 18.4349 11.1704 18.4739C11.1545 18.5128 11.1312 18.548 11.102 18.5775C11.0728 18.6069 11.0381 18.63 11.0001 18.6453C10.9621 18.6606 10.9215 18.6678 10.8808 18.6665H8.77705C8.6963 18.6665 8.61885 18.6333 8.56175 18.5741C8.50466 18.5148 8.4726 18.4345 8.4726 18.3508V17.4163C7.31992 17.2199 6.22353 16.7352 5.28198 15.9955C5.24358 15.966 5.21155 15.9285 5.18791 15.8854C5.16427 15.8423 5.14954 15.7946 5.14467 15.7453C5.1398 15.696 5.1449 15.6462 5.15963 15.599C5.17436 15.5519 5.1984 15.5084 5.23023 15.4714L6.36278 14.0728C6.41845 14.0015 6.49805 13.9548 6.58558 13.9419C6.67311 13.929 6.76211 13.9509 6.83469 14.0033C7.71463 14.685 8.78089 15.0588 9.87921 15.0704C10.6495 15.0704 11.0544 14.7989 11.0544 14.3474V14.3159C11.0544 13.8644 10.7225 13.637 9.32511 13.2929C7.16045 12.7783 5.489 12.1468 5.489 9.99039V9.95881C5.489 8.27314 6.59751 6.98782 8.46654 6.66335V5.69642C8.46654 5.60012 8.50342 5.50777 8.56908 5.43968C8.63474 5.37159 8.7238 5.33333 8.81666 5.33333Z",
|
|
13854
|
-
fill: "#15749D"
|
|
13855
|
-
})), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("clipPath", {
|
|
13856
|
-
id: id
|
|
13857
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
13858
|
-
width: "36",
|
|
13859
|
-
height: "24",
|
|
13860
|
-
fill: "white"
|
|
13861
|
-
}))));
|
|
13862
|
-
};
|
|
13863
|
-
|
|
13864
13799
|
var GenericCard = function GenericCard() {
|
|
13865
13800
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13866
13801
|
width: "28",
|
|
@@ -13886,6 +13821,33 @@ var GenericCard = function GenericCard() {
|
|
|
13886
13821
|
}));
|
|
13887
13822
|
};
|
|
13888
13823
|
|
|
13824
|
+
var BankItemWrapper = styled__default.div.withConfig({
|
|
13825
|
+
displayName: "PaymentIcon__BankItemWrapper",
|
|
13826
|
+
componentId: "sc-1k0jl35-0"
|
|
13827
|
+
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
13828
|
+
var BankAccountText = styled__default.h4.withConfig({
|
|
13829
|
+
displayName: "PaymentIcon__BankAccountText",
|
|
13830
|
+
componentId: "sc-1k0jl35-1"
|
|
13831
|
+
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], CHARADE_GREY);
|
|
13832
|
+
var CHECKING = "CHECKING";
|
|
13833
|
+
var SAVINGS = "SAVINGS";
|
|
13834
|
+
|
|
13835
|
+
var PaymentIcon = function PaymentIcon(_ref) {
|
|
13836
|
+
var lastFour = _ref.lastFour,
|
|
13837
|
+
accountType = _ref.accountType,
|
|
13838
|
+
autoPay = _ref.autoPay;
|
|
13839
|
+
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
13840
|
+
padding: "0.25rem 0 0 0",
|
|
13841
|
+
extraStyles: "margin-right: 1rem;"
|
|
13842
|
+
}, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
13843
|
+
childGap: "0"
|
|
13844
|
+
}, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, null, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React__default.createElement(BankAccountText, null, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
13845
|
+
variant: "p",
|
|
13846
|
+
color: REGENT_GREY,
|
|
13847
|
+
extraStyles: "font-style: italic;"
|
|
13848
|
+
}, "Autopay Enabled")));
|
|
13849
|
+
};
|
|
13850
|
+
|
|
13889
13851
|
var IconAdd = function IconAdd() {
|
|
13890
13852
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
13891
13853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -14740,26 +14702,6 @@ var FailedIcon = function FailedIcon() {
|
|
|
14740
14702
|
}))));
|
|
14741
14703
|
};
|
|
14742
14704
|
|
|
14743
|
-
var PencilIcon = function PencilIcon(_ref) {
|
|
14744
|
-
var _ref$ariaLabel = _ref.ariaLabel,
|
|
14745
|
-
ariaLabel = _ref$ariaLabel === void 0 ? "Edit" : _ref$ariaLabel,
|
|
14746
|
-
themeValues = _ref.themeValues;
|
|
14747
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14748
|
-
"aria-label": ariaLabel,
|
|
14749
|
-
width: "24px",
|
|
14750
|
-
height: "24px",
|
|
14751
|
-
fill: "none",
|
|
14752
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
14753
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
14754
|
-
fillRule: "evenodd",
|
|
14755
|
-
clipRule: "evenodd",
|
|
14756
|
-
d: "M19.74 6.84a.885.885 0 0 1 0 1.253l-1.626 1.626-3.333-3.333 1.626-1.626a.885.885 0 0 1 1.253 0l2.08 2.08ZM4 20.5v-3.333l9.83-9.83 3.333 3.333-9.83 9.83H4Z",
|
|
14757
|
-
fill: themeValues.subIconColor
|
|
14758
|
-
}));
|
|
14759
|
-
};
|
|
14760
|
-
|
|
14761
|
-
var PencilIcon$1 = themeComponent(PencilIcon, "Icons", fallbackValues$2, "info");
|
|
14762
|
-
|
|
14763
14705
|
var PendingIcon = function PendingIcon() {
|
|
14764
14706
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
14765
14707
|
width: "32px",
|
|
@@ -15627,14 +15569,7 @@ var CheckIcon = function CheckIcon() {
|
|
|
15627
15569
|
})))))));
|
|
15628
15570
|
};
|
|
15629
15571
|
|
|
15630
|
-
var WarningIconXS = function WarningIconXS(
|
|
15631
|
-
var _ref$color = _ref.color,
|
|
15632
|
-
color = _ref$color === void 0 ? "#B34A00" : _ref$color,
|
|
15633
|
-
title = _ref.title,
|
|
15634
|
-
_ref$titleID = _ref.titleID,
|
|
15635
|
-
titleID = _ref$titleID === void 0 ? "warning-icon-title" : _ref$titleID,
|
|
15636
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
15637
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
15572
|
+
var WarningIconXS = function WarningIconXS() {
|
|
15638
15573
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
15639
15574
|
width: "16px",
|
|
15640
15575
|
height: "13px",
|
|
@@ -15642,40 +15577,40 @@ var WarningIconXS = function WarningIconXS(_ref) {
|
|
|
15642
15577
|
version: "1.1",
|
|
15643
15578
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15644
15579
|
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
15645
|
-
"aria-labelledby":
|
|
15580
|
+
"aria-labelledby": "#warning-restricted-item",
|
|
15646
15581
|
role: "img"
|
|
15647
|
-
},
|
|
15648
|
-
id: "
|
|
15649
|
-
},
|
|
15582
|
+
}, /*#__PURE__*/React__default.createElement("title", {
|
|
15583
|
+
id: "warning-restricted-item"
|
|
15584
|
+
}, "Warning: restricted items cannot be selected"), /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("path", {
|
|
15650
15585
|
d: "M11.0106463,4.4659633 C11.3063934,4.63914978 11.5526739,4.88543032 11.7258604,5.18117739 L16.7999622,13.846119 C17.3581267,14.7992854 17.0379144,16.0244612 16.0847481,16.5826257 C15.7781918,16.762142 15.4293522,16.8567653 15.0741018,16.8567653 L4.92589823,16.8567653 C3.82132873,16.8567653 2.92589823,15.9613348 2.92589823,14.8567653 C2.92589823,14.5015149 3.02052159,14.1526753 3.20003784,13.846119 L8.27413962,5.18117739 C8.83230416,4.22801102 10.0574799,3.90779877 11.0106463,4.4659633 Z M10.6666667,13.3333333 L9.33333333,13.3333333 L9.33333333,14.6666667 L10.6666667,14.6666667 L10.6666667,13.3333333 Z M10.6666667,6.66666667 L9.33333333,6.66666667 L9.33333333,12 L10.6666667,12 L10.6666667,6.66666667 Z",
|
|
15651
|
-
id: "WarningIconXs-path-1
|
|
15586
|
+
id: "WarningIconXs-path-1"
|
|
15652
15587
|
})), /*#__PURE__*/React__default.createElement("g", {
|
|
15653
|
-
id: "WarningIconXs-
|
|
15588
|
+
id: "WarningIconXs-SRV-2647---Workflow-$0-Balance",
|
|
15654
15589
|
stroke: "none",
|
|
15655
15590
|
strokeWidth: "1",
|
|
15656
15591
|
fill: "none",
|
|
15657
15592
|
fillRule: "evenodd"
|
|
15658
15593
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15659
|
-
id: "WarningIconXs-
|
|
15594
|
+
id: "WarningIconXs-11---Search-Results----Checked--Copy-6",
|
|
15660
15595
|
transform: "translate(-135.000000, -483.000000)"
|
|
15661
15596
|
}, /*#__PURE__*/React__default.createElement("g", {
|
|
15662
|
-
id: "WarningIconXs-Group
|
|
15597
|
+
id: "WarningIconXs-Group",
|
|
15663
15598
|
transform: "translate(133.000000, 479.000000)"
|
|
15664
15599
|
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
15665
|
-
id: "WarningIconXs-mask-2
|
|
15600
|
+
id: "WarningIconXs-mask-2",
|
|
15666
15601
|
fill: "white"
|
|
15667
15602
|
}, /*#__PURE__*/React__default.createElement("use", {
|
|
15668
|
-
xlinkHref: "#WarningIconXs-path-1
|
|
15603
|
+
xlinkHref: "#WarningIconXs-path-1"
|
|
15669
15604
|
})), /*#__PURE__*/React__default.createElement("use", {
|
|
15670
|
-
id: "WarningIconXs-Mask
|
|
15671
|
-
fill:
|
|
15605
|
+
id: "WarningIconXs-Mask",
|
|
15606
|
+
fill: "#B34A00",
|
|
15672
15607
|
fillRule: "nonzero",
|
|
15673
|
-
xlinkHref: "#WarningIconXs-path-1
|
|
15608
|
+
xlinkHref: "#WarningIconXs-path-1"
|
|
15674
15609
|
}), /*#__PURE__*/React__default.createElement("polygon", {
|
|
15675
|
-
id: "WarningIconXs-Path
|
|
15676
|
-
fill:
|
|
15610
|
+
id: "WarningIconXs-Path",
|
|
15611
|
+
fill: "#B34A00",
|
|
15677
15612
|
fillRule: "nonzero",
|
|
15678
|
-
mask: "url(#WarningIconXs-mask-2
|
|
15613
|
+
mask: "url(#WarningIconXs-mask-2)",
|
|
15679
15614
|
points: "-2.84217094e-14 -4.26325641e-14 20 -4.26325641e-14 20 20 -2.84217094e-14 20"
|
|
15680
15615
|
})))));
|
|
15681
15616
|
};
|
|
@@ -16547,762 +16482,6 @@ var FindIconSmall = function FindIconSmall(_ref) {
|
|
|
16547
16482
|
|
|
16548
16483
|
var FindIconSmall$1 = themeComponent(FindIconSmall, "Icons", fallbackValues$2, "primary");
|
|
16549
16484
|
|
|
16550
|
-
var HistoryIconSmall = function HistoryIconSmall(_ref) {
|
|
16551
|
-
var themeValues = _ref.themeValues;
|
|
16552
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16553
|
-
width: "20",
|
|
16554
|
-
height: "20",
|
|
16555
|
-
viewBox: "0 0 20 20",
|
|
16556
|
-
fill: "none",
|
|
16557
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16558
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16559
|
-
d: "M3.33337 8.33333C3.33337 7.8731 3.70647 7.5 4.16671 7.5H15.8334C16.2936 7.5 16.6667 7.8731 16.6667 8.33333V16.6667C16.6667 17.1269 16.2936 17.5 15.8334 17.5H4.16671C3.70647 17.5 3.33337 17.1269 3.33337 16.6667V8.33333Z",
|
|
16560
|
-
fill: themeValues.singleIconColor
|
|
16561
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16562
|
-
fillRule: "evenodd",
|
|
16563
|
-
clipRule: "evenodd",
|
|
16564
|
-
d: "M5.08337 4.75C4.66916 4.75 4.33337 5.08579 4.33337 5.5C4.33337 5.91421 4.66916 6.25 5.08337 6.25H14.9134C15.3276 6.25 15.6634 5.91421 15.6634 5.5C15.6634 5.08579 15.3276 4.75 14.9134 4.75H5.08337Z",
|
|
16565
|
-
fill: themeValues.singleIconColor
|
|
16566
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16567
|
-
fillRule: "evenodd",
|
|
16568
|
-
clipRule: "evenodd",
|
|
16569
|
-
d: "M6.03337 2.25C5.64677 2.25 5.33337 2.5634 5.33337 2.95C5.33337 3.3366 5.64678 3.65 6.03337 3.65H13.9634C14.35 3.65 14.6634 3.3366 14.6634 2.95C14.6634 2.5634 14.35 2.25 13.9634 2.25H6.03337Z",
|
|
16570
|
-
fill: themeValues.singleIconColor
|
|
16571
|
-
}));
|
|
16572
|
-
};
|
|
16573
|
-
|
|
16574
|
-
var HistoryIconSmall$1 = themeComponent(HistoryIconSmall, "Icons", fallbackValues$2, "primary");
|
|
16575
|
-
|
|
16576
|
-
var ChargebackIconSmall = function ChargebackIconSmall(_ref) {
|
|
16577
|
-
var _ref$color = _ref.color,
|
|
16578
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16579
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16580
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16581
|
-
var id = "ChargebackIconSmall-".concat(iconIndex);
|
|
16582
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16583
|
-
width: "20",
|
|
16584
|
-
height: "20",
|
|
16585
|
-
viewBox: "0 0 20 20",
|
|
16586
|
-
fill: "none",
|
|
16587
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16588
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16589
|
-
cx: "10",
|
|
16590
|
-
cy: "10",
|
|
16591
|
-
r: "10",
|
|
16592
|
-
fill: color
|
|
16593
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16594
|
-
id: id,
|
|
16595
|
-
style: {
|
|
16596
|
-
maskType: "luminance"
|
|
16597
|
-
},
|
|
16598
|
-
maskUnits: "userSpaceOnUse",
|
|
16599
|
-
x: "2",
|
|
16600
|
-
y: "5",
|
|
16601
|
-
width: "15",
|
|
16602
|
-
height: "10"
|
|
16603
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16604
|
-
fillRule: "evenodd",
|
|
16605
|
-
clipRule: "evenodd",
|
|
16606
|
-
d: "M6.6667 6.83325C6.6667 6.28097 7.11441 5.83325 7.6667 5.83325H15.6667C16.219 5.83325 16.6667 6.28097 16.6667 6.83325V8.33325V9.99992V13.1666C16.6667 13.7189 16.219 14.1666 15.6667 14.1666H7.6667C7.11441 14.1666 6.6667 13.7189 6.6667 13.1666V9.99992V8.33325V6.83325ZM16.0417 6.5277V8.33325H7.2917V8.26381V6.5277H16.0417ZM7.2917 13.4721V9.99992H16.0417V13.4721H7.2917ZM4.8275 8.70703C4.8275 8.26157 4.28893 8.03849 3.97395 8.35347L2.68105 9.64636C2.48579 9.84163 2.48579 10.1582 2.68105 10.3535L3.97395 11.6464C4.28893 11.9613 4.8275 11.7383 4.8275 11.2928V8.70703ZM13.4896 11.6666C13.2595 11.6666 13.0729 11.8531 13.0729 12.0833C13.0729 12.3134 13.2595 12.4999 13.4896 12.4999H14.5313C14.7614 12.4999 14.9479 12.3134 14.9479 12.0833C14.9479 11.8531 14.7614 11.6666 14.5313 11.6666H13.4896Z",
|
|
16607
|
-
fill: "white"
|
|
16608
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16609
|
-
mask: "url(#".concat(id, ")")
|
|
16610
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16611
|
-
x: "2.5",
|
|
16612
|
-
y: "2.5",
|
|
16613
|
-
width: "15",
|
|
16614
|
-
height: "15",
|
|
16615
|
-
fill: "white"
|
|
16616
|
-
})));
|
|
16617
|
-
};
|
|
16618
|
-
|
|
16619
|
-
var ChargebackReversalIconSmall = function ChargebackReversalIconSmall(_ref) {
|
|
16620
|
-
var _ref$color = _ref.color,
|
|
16621
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16622
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16623
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16624
|
-
var id = "ChargebackReversalIconSmall-".concat(iconIndex);
|
|
16625
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16626
|
-
width: "20",
|
|
16627
|
-
height: "20",
|
|
16628
|
-
viewBox: "0 0 20 20",
|
|
16629
|
-
fill: "none",
|
|
16630
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16631
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16632
|
-
cx: "10",
|
|
16633
|
-
cy: "10",
|
|
16634
|
-
r: "10",
|
|
16635
|
-
fill: color
|
|
16636
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16637
|
-
id: id,
|
|
16638
|
-
style: {
|
|
16639
|
-
maskType: "luminance"
|
|
16640
|
-
},
|
|
16641
|
-
maskUnits: "userSpaceOnUse",
|
|
16642
|
-
x: "4",
|
|
16643
|
-
y: "5",
|
|
16644
|
-
width: "14",
|
|
16645
|
-
height: "10"
|
|
16646
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16647
|
-
fillRule: "evenodd",
|
|
16648
|
-
clipRule: "evenodd",
|
|
16649
|
-
d: "M4.16669 6.83325C4.16669 6.28097 4.6144 5.83325 5.16669 5.83325H13.1667C13.719 5.83325 14.1667 6.28097 14.1667 6.83325V8.33325V9.99992V13.1666C14.1667 13.7189 13.719 14.1666 13.1667 14.1666H5.16669C4.6144 14.1666 4.16669 13.7189 4.16669 13.1666V9.99992V8.33325V6.83325ZM13.5417 6.5277V8.33325H4.79169V8.26381V6.5277H13.5417ZM4.79169 13.4721V9.99992H13.5417V13.4721H4.79169ZM15 11.2928C15 11.7383 15.5386 11.9613 15.8536 11.6464L17.1465 10.3535C17.3417 10.1582 17.3417 9.84163 17.1465 9.64636L15.8536 8.35347C15.5386 8.03849 15 8.26157 15 8.70703V11.2928ZM10.9896 11.6666C10.7595 11.6666 10.5729 11.8531 10.5729 12.0833C10.5729 12.3134 10.7595 12.4999 10.9896 12.4999H12.0313C12.2614 12.4999 12.4479 12.3134 12.4479 12.0833C12.4479 11.8531 12.2614 11.6666 12.0313 11.6666H10.9896Z",
|
|
16650
|
-
fill: "white"
|
|
16651
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16652
|
-
mask: "url(#".concat(id, ")")
|
|
16653
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16654
|
-
x: "2.5",
|
|
16655
|
-
y: "2.5",
|
|
16656
|
-
width: "15",
|
|
16657
|
-
height: "15",
|
|
16658
|
-
fill: "white"
|
|
16659
|
-
})));
|
|
16660
|
-
};
|
|
16661
|
-
|
|
16662
|
-
var RefundIconSmall = function RefundIconSmall(_ref) {
|
|
16663
|
-
var _ref$color = _ref.color,
|
|
16664
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16665
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16666
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16667
|
-
var id = "RefundIconSmall-".concat(iconIndex);
|
|
16668
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16669
|
-
width: "20",
|
|
16670
|
-
height: "20",
|
|
16671
|
-
viewBox: "0 0 20 20",
|
|
16672
|
-
fill: "none",
|
|
16673
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16674
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16675
|
-
cx: "10",
|
|
16676
|
-
cy: "10",
|
|
16677
|
-
r: "10",
|
|
16678
|
-
fill: color
|
|
16679
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16680
|
-
fillRule: "evenodd",
|
|
16681
|
-
clipRule: "evenodd",
|
|
16682
|
-
d: "M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z",
|
|
16683
|
-
fill: "white"
|
|
16684
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16685
|
-
id: id,
|
|
16686
|
-
style: {
|
|
16687
|
-
maskType: "luminance"
|
|
16688
|
-
},
|
|
16689
|
-
maskUnits: "userSpaceOnUse",
|
|
16690
|
-
x: "4",
|
|
16691
|
-
y: "5",
|
|
16692
|
-
width: "11",
|
|
16693
|
-
height: "10"
|
|
16694
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16695
|
-
fillRule: "evenodd",
|
|
16696
|
-
clipRule: "evenodd",
|
|
16697
|
-
d: "M12.5812 14.0293V15H11.1768V14.0347C9.64976 13.8666 8.66331 13.1291 8.51283 11.757L10.2071 11.7245C10.3798 12.4403 11.004 12.82 11.8957 12.82C12.6983 12.82 13.2723 12.4024 13.2723 11.8438C13.2723 11.2636 12.8989 11.0249 12.1131 10.8514L10.7923 10.5748C9.56059 10.3308 8.7692 9.63124 8.75248 8.42733C8.74133 7.14751 9.76679 6.28525 11.2047 6.07375V5H12.6147V6.07918C14.0191 6.31779 14.8718 7.25054 14.8551 8.3731L13.211 8.40022C13.1107 7.70607 12.7875 7.28308 11.9292 7.28308C11.043 7.28308 10.4969 7.67354 10.4969 8.24295C10.4969 8.69848 10.7532 8.92625 11.6282 9.14859L12.9268 9.4577C14.3925 9.79935 15 10.6562 15 11.833C15 13.0152 14.0693 13.8395 12.5812 14.0293ZM7.5 11.3438C7.5 11.7558 7.02962 11.991 6.7 11.7438L4.7 10.2438C4.43333 10.0438 4.43333 9.64375 4.7 9.44375L6.7 7.94375C7.02962 7.69654 7.5 7.93173 7.5 8.34375V11.3438Z",
|
|
16698
|
-
fill: "white"
|
|
16699
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16700
|
-
mask: "url(#".concat(id, ")")
|
|
16701
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16702
|
-
x: "2.5",
|
|
16703
|
-
y: "2.5",
|
|
16704
|
-
width: "15",
|
|
16705
|
-
height: "15",
|
|
16706
|
-
fill: "white"
|
|
16707
|
-
})));
|
|
16708
|
-
};
|
|
16709
|
-
|
|
16710
|
-
var XCircleIconSmall = function XCircleIconSmall(_ref) {
|
|
16711
|
-
var _ref$color = _ref.color,
|
|
16712
|
-
color = _ref$color === void 0 ? "#D11053" : _ref$color,
|
|
16713
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16714
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16715
|
-
var id = "XCircleIconSmall-".concat(iconIndex);
|
|
16716
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16717
|
-
width: "21",
|
|
16718
|
-
height: "20",
|
|
16719
|
-
viewBox: "0 0 21 20",
|
|
16720
|
-
fill: "none",
|
|
16721
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16722
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16723
|
-
cx: "10.5",
|
|
16724
|
-
cy: "10",
|
|
16725
|
-
r: "10",
|
|
16726
|
-
fill: color
|
|
16727
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16728
|
-
fillRule: "evenodd",
|
|
16729
|
-
clipRule: "evenodd",
|
|
16730
|
-
d: "M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z",
|
|
16731
|
-
fill: "white"
|
|
16732
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16733
|
-
id: id,
|
|
16734
|
-
style: {
|
|
16735
|
-
maskType: "luminance"
|
|
16736
|
-
},
|
|
16737
|
-
maskUnits: "userSpaceOnUse",
|
|
16738
|
-
x: "6",
|
|
16739
|
-
y: "6",
|
|
16740
|
-
width: "9",
|
|
16741
|
-
height: "8"
|
|
16742
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16743
|
-
fillRule: "evenodd",
|
|
16744
|
-
clipRule: "evenodd",
|
|
16745
|
-
d: "M13.8298 6.18691C13.6345 5.99165 13.3179 5.99165 13.1227 6.18691L10.5 8.80955L7.87739 6.18691C7.68213 5.99165 7.36554 5.99165 7.17028 6.18691L6.68691 6.67028C6.49165 6.86554 6.49165 7.18213 6.68691 7.37739L9.30955 10L6.68691 12.6227C6.49165 12.8179 6.49165 13.1345 6.68691 13.3298L7.17028 13.8131C7.36554 14.0084 7.68213 14.0084 7.87739 13.8131L10.5 11.1905L13.1227 13.8131C13.3179 14.0084 13.6345 14.0084 13.8298 13.8131L14.3131 13.3298C14.5084 13.1345 14.5084 12.8179 14.3131 12.6227L11.6905 10L14.3131 7.37739C14.5084 7.18213 14.5084 6.86554 14.3131 6.67028L13.8298 6.18691Z",
|
|
16746
|
-
fill: "white"
|
|
16747
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16748
|
-
mask: "url(#".concat(id, ")")
|
|
16749
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16750
|
-
d: "M0.5 0H20.5V20H0.5V0Z",
|
|
16751
|
-
fill: "white"
|
|
16752
|
-
})));
|
|
16753
|
-
};
|
|
16754
|
-
|
|
16755
|
-
var SuccessfulIconSmall = function SuccessfulIconSmall(_ref) {
|
|
16756
|
-
var _ref$iconIndex = _ref.iconIndex,
|
|
16757
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16758
|
-
var mask0ID = "SuccessfulIconSmall-mask0-".concat(iconIndex);
|
|
16759
|
-
var mask1ID = "SuccessfulIconSmall-mask1-".concat(iconIndex);
|
|
16760
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16761
|
-
width: "20",
|
|
16762
|
-
height: "20",
|
|
16763
|
-
viewBox: "0 0 20 20",
|
|
16764
|
-
fill: "none",
|
|
16765
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16766
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16767
|
-
cx: "10",
|
|
16768
|
-
cy: "10",
|
|
16769
|
-
r: "10",
|
|
16770
|
-
fill: "#317D4F"
|
|
16771
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16772
|
-
id: mask0ID,
|
|
16773
|
-
style: {
|
|
16774
|
-
maskType: "luminance"
|
|
16775
|
-
},
|
|
16776
|
-
maskUnits: "userSpaceOnUse",
|
|
16777
|
-
x: "0",
|
|
16778
|
-
y: "0",
|
|
16779
|
-
width: "20",
|
|
16780
|
-
height: "20"
|
|
16781
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16782
|
-
cx: "10",
|
|
16783
|
-
cy: "10",
|
|
16784
|
-
r: "10",
|
|
16785
|
-
fill: "white"
|
|
16786
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16787
|
-
mask: "url(#".concat(mask0ID, ")")
|
|
16788
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16789
|
-
fillRule: "evenodd",
|
|
16790
|
-
clipRule: "evenodd",
|
|
16791
|
-
d: "M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z",
|
|
16792
|
-
fill: "white"
|
|
16793
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16794
|
-
id: mask1ID,
|
|
16795
|
-
style: {
|
|
16796
|
-
maskType: "luminance"
|
|
16797
|
-
},
|
|
16798
|
-
maskUnits: "userSpaceOnUse",
|
|
16799
|
-
x: "5",
|
|
16800
|
-
y: "6",
|
|
16801
|
-
width: "11",
|
|
16802
|
-
height: "8"
|
|
16803
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16804
|
-
fillRule: "evenodd",
|
|
16805
|
-
clipRule: "evenodd",
|
|
16806
|
-
d: "M14.7817 6.18688C14.5864 5.99162 14.2698 5.99162 14.0746 6.18688L8.53558 11.7259L6.53211 9.72242C6.33685 9.52715 6.02027 9.52715 5.825 9.72242L5.3536 10.1938C5.15834 10.3891 5.15834 10.7057 5.3536 10.9009L7.71062 13.2579L8.18203 13.7294C8.37729 13.9246 8.69387 13.9246 8.88913 13.7294L9.36054 13.258C9.36068 13.2578 9.36082 13.2577 9.36096 13.2575L15.2531 7.36539C15.4484 7.17013 15.4484 6.85355 15.2531 6.65829L14.7817 6.18688Z",
|
|
16807
|
-
fill: "white"
|
|
16808
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16809
|
-
mask: "url(#".concat(mask1ID, ")")
|
|
16810
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16811
|
-
x: "1.66669",
|
|
16812
|
-
y: "1.66666",
|
|
16813
|
-
width: "16.6667",
|
|
16814
|
-
height: "16.6667",
|
|
16815
|
-
fill: "white"
|
|
16816
|
-
}))));
|
|
16817
|
-
};
|
|
16818
|
-
|
|
16819
|
-
var ArrowLeftCircleIconSmall = function ArrowLeftCircleIconSmall(_ref) {
|
|
16820
|
-
var _ref$color = _ref.color,
|
|
16821
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16822
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16823
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16824
|
-
var id = "ArrowLeftCircleIconSmall-".concat(iconIndex);
|
|
16825
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16826
|
-
width: "20",
|
|
16827
|
-
height: "20",
|
|
16828
|
-
viewBox: "0 0 20 20",
|
|
16829
|
-
fill: "none",
|
|
16830
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16831
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16832
|
-
cx: "10",
|
|
16833
|
-
cy: "10",
|
|
16834
|
-
r: "10",
|
|
16835
|
-
fill: color
|
|
16836
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16837
|
-
fillRule: "evenodd",
|
|
16838
|
-
clipRule: "evenodd",
|
|
16839
|
-
d: "M10.528 14.472C10.7232 14.2768 10.7233 13.9605 10.5283 13.7652L7.39375 10.625H14.5C14.7761 10.625 15 10.4011 15 10.125V9.875C15 9.59886 14.7761 9.375 14.5 9.375H7.39375L10.5283 6.2348C10.7233 6.03949 10.7232 5.72315 10.528 5.52801L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L10.528 14.472Z",
|
|
16840
|
-
fill: "white"
|
|
16841
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16842
|
-
id: id,
|
|
16843
|
-
style: {
|
|
16844
|
-
maskType: "luminance"
|
|
16845
|
-
},
|
|
16846
|
-
maskUnits: "userSpaceOnUse",
|
|
16847
|
-
x: "5",
|
|
16848
|
-
y: "5",
|
|
16849
|
-
width: "10",
|
|
16850
|
-
height: "10"
|
|
16851
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16852
|
-
fillRule: "evenodd",
|
|
16853
|
-
clipRule: "evenodd",
|
|
16854
|
-
d: "M10.528 14.472C10.7232 14.2768 10.7233 13.9605 10.5283 13.7652L7.39375 10.625H14.5C14.7761 10.625 15 10.4011 15 10.125V9.875C15 9.59886 14.7761 9.375 14.5 9.375H7.39375L10.5283 6.2348C10.7233 6.03949 10.7232 5.72315 10.528 5.52801L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L10.528 14.472Z",
|
|
16855
|
-
fill: "white"
|
|
16856
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16857
|
-
mask: "url(#".concat(id, ")")
|
|
16858
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16859
|
-
x: "17.5",
|
|
16860
|
-
y: "17.5",
|
|
16861
|
-
width: "15",
|
|
16862
|
-
height: "15",
|
|
16863
|
-
transform: "rotate(180 17.5 17.5)",
|
|
16864
|
-
fill: "white"
|
|
16865
|
-
})));
|
|
16866
|
-
};
|
|
16867
|
-
|
|
16868
|
-
var ArrowRightCircleIconSmall = function ArrowRightCircleIconSmall(_ref) {
|
|
16869
|
-
var _ref$color = _ref.color,
|
|
16870
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16871
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16872
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16873
|
-
var id = "ArrowRightCircleIconSmall-".concat(iconIndex);
|
|
16874
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16875
|
-
width: "20",
|
|
16876
|
-
height: "20",
|
|
16877
|
-
viewBox: "0 0 20 20",
|
|
16878
|
-
fill: "none",
|
|
16879
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16880
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16881
|
-
cx: "10",
|
|
16882
|
-
cy: "10",
|
|
16883
|
-
r: "10",
|
|
16884
|
-
fill: color
|
|
16885
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16886
|
-
fillRule: "evenodd",
|
|
16887
|
-
clipRule: "evenodd",
|
|
16888
|
-
d: "M9.47199 5.52801C9.27685 5.72315 9.27671 6.03949 9.47167 6.2348L12.6062 9.375H5.5C5.22386 9.375 5 9.59886 5 9.875V10.125C5 10.4011 5.22386 10.625 5.5 10.625H12.6062L9.47167 13.7652C9.27671 13.9605 9.27685 14.2768 9.47199 14.472L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L9.47199 5.52801Z",
|
|
16889
|
-
fill: "white"
|
|
16890
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16891
|
-
id: id,
|
|
16892
|
-
style: {
|
|
16893
|
-
maskType: "luminance"
|
|
16894
|
-
},
|
|
16895
|
-
maskUnits: "userSpaceOnUse",
|
|
16896
|
-
x: "5",
|
|
16897
|
-
y: "5",
|
|
16898
|
-
width: "10",
|
|
16899
|
-
height: "10"
|
|
16900
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16901
|
-
fillRule: "evenodd",
|
|
16902
|
-
clipRule: "evenodd",
|
|
16903
|
-
d: "M9.47199 5.52801C9.27685 5.72315 9.27671 6.03949 9.47167 6.2348L12.6062 9.375H5.5C5.22386 9.375 5 9.59886 5 9.875V10.125C5 10.4011 5.22386 10.625 5.5 10.625H12.6062L9.47167 13.7652C9.27671 13.9605 9.27685 14.2768 9.47199 14.472L9.64645 14.6464C9.84171 14.8417 10.1583 14.8417 10.3536 14.6464L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L9.47199 5.52801Z",
|
|
16904
|
-
fill: "white"
|
|
16905
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16906
|
-
mask: "url(#".concat(id, ")")
|
|
16907
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16908
|
-
x: "2.5",
|
|
16909
|
-
y: "2.5",
|
|
16910
|
-
width: "15",
|
|
16911
|
-
height: "15",
|
|
16912
|
-
fill: "white"
|
|
16913
|
-
})));
|
|
16914
|
-
};
|
|
16915
|
-
|
|
16916
|
-
var ArrowUpCircleIconSmall = function ArrowUpCircleIconSmall(_ref) {
|
|
16917
|
-
var _ref$color = _ref.color,
|
|
16918
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16919
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16920
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16921
|
-
var id = "ArrowUpCircleIconSmall-".concat(iconIndex);
|
|
16922
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16923
|
-
width: "20",
|
|
16924
|
-
height: "20",
|
|
16925
|
-
viewBox: "0 0 20 20",
|
|
16926
|
-
fill: "none",
|
|
16927
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16928
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16929
|
-
cx: "10",
|
|
16930
|
-
cy: "10",
|
|
16931
|
-
r: "10",
|
|
16932
|
-
fill: color
|
|
16933
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16934
|
-
fillRule: "evenodd",
|
|
16935
|
-
clipRule: "evenodd",
|
|
16936
|
-
d: "M5.52801 10.528C5.72315 10.7232 6.03949 10.7233 6.2348 10.5283L9.375 7.39375L9.375 14.5C9.375 14.7761 9.59886 15 9.875 15H10.125C10.4011 15 10.625 14.7761 10.625 14.5L10.625 7.39375L13.7652 10.5283C13.9605 10.7233 14.2768 10.7232 14.472 10.528L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L5.52801 10.528Z",
|
|
16937
|
-
fill: "white"
|
|
16938
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16939
|
-
id: id,
|
|
16940
|
-
style: {
|
|
16941
|
-
maskType: "luminance"
|
|
16942
|
-
},
|
|
16943
|
-
maskUnits: "userSpaceOnUse",
|
|
16944
|
-
x: "5",
|
|
16945
|
-
y: "5",
|
|
16946
|
-
width: "10",
|
|
16947
|
-
height: "10"
|
|
16948
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16949
|
-
fillRule: "evenodd",
|
|
16950
|
-
clipRule: "evenodd",
|
|
16951
|
-
d: "M5.52801 10.528C5.72315 10.7232 6.03949 10.7233 6.2348 10.5283L9.375 7.39375L9.375 14.5C9.375 14.7761 9.59886 15 9.875 15H10.125C10.4011 15 10.625 14.7761 10.625 14.5L10.625 7.39375L13.7652 10.5283C13.9605 10.7233 14.2768 10.7232 14.472 10.528L14.6464 10.3536C14.8417 10.1583 14.8417 9.84171 14.6464 9.64645L10.3536 5.35355C10.1583 5.15829 9.84171 5.15829 9.64645 5.35355L5.35355 9.64645C5.15829 9.84171 5.15829 10.1583 5.35355 10.3536L5.52801 10.528Z",
|
|
16952
|
-
fill: "white"
|
|
16953
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
16954
|
-
mask: "url(#".concat(id, ")")
|
|
16955
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
16956
|
-
x: "2.5",
|
|
16957
|
-
y: "17.5",
|
|
16958
|
-
width: "15",
|
|
16959
|
-
height: "15",
|
|
16960
|
-
transform: "rotate(-90 2.5 17.5)",
|
|
16961
|
-
fill: "white"
|
|
16962
|
-
})));
|
|
16963
|
-
};
|
|
16964
|
-
|
|
16965
|
-
var ArrowDownCircleIconSmall = function ArrowDownCircleIconSmall(_ref) {
|
|
16966
|
-
var _ref$color = _ref.color,
|
|
16967
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
16968
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
16969
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
16970
|
-
var id = "ArrowDownCircleIconSmall-".concat(iconIndex);
|
|
16971
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
16972
|
-
width: "20",
|
|
16973
|
-
height: "20",
|
|
16974
|
-
viewBox: "0 0 20 20",
|
|
16975
|
-
fill: "none",
|
|
16976
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
16977
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
16978
|
-
cx: "10",
|
|
16979
|
-
cy: "10",
|
|
16980
|
-
r: "10",
|
|
16981
|
-
fill: color
|
|
16982
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
16983
|
-
fillRule: "evenodd",
|
|
16984
|
-
clipRule: "evenodd",
|
|
16985
|
-
d: "M14.6696 9.47199C14.4745 9.27685 14.1581 9.27671 13.9628 9.47167L10.8226 12.6062V5.5C10.8226 5.22386 10.5988 5 10.3226 5H10.0726C9.79649 5 9.57263 5.22386 9.57263 5.5V12.6062L6.43244 9.47167C6.23712 9.27671 5.92078 9.27685 5.72564 9.47199L5.55119 9.64645C5.35592 9.84171 5.35592 10.1583 5.55119 10.3536L9.84408 14.6464C10.0393 14.8417 10.3559 14.8417 10.5512 14.6464L14.8441 10.3536C15.0393 10.1583 15.0393 9.84171 14.8441 9.64645L14.6696 9.47199Z",
|
|
16986
|
-
fill: "white"
|
|
16987
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
16988
|
-
id: id,
|
|
16989
|
-
style: {
|
|
16990
|
-
maskType: "luminance"
|
|
16991
|
-
},
|
|
16992
|
-
maskUnits: "userSpaceOnUse",
|
|
16993
|
-
x: "5",
|
|
16994
|
-
y: "5",
|
|
16995
|
-
width: "10",
|
|
16996
|
-
height: "10"
|
|
16997
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
16998
|
-
fillRule: "evenodd",
|
|
16999
|
-
clipRule: "evenodd",
|
|
17000
|
-
d: "M14.6696 9.47199C14.4745 9.27685 14.1581 9.27671 13.9628 9.47167L10.8226 12.6062V5.5C10.8226 5.22386 10.5988 5 10.3226 5H10.0726C9.79649 5 9.57263 5.22386 9.57263 5.5V12.6062L6.43244 9.47167C6.23712 9.27671 5.92078 9.27685 5.72564 9.47199L5.55119 9.64645C5.35592 9.84171 5.35592 10.1583 5.55119 10.3536L9.84408 14.6464C10.0393 14.8417 10.3559 14.8417 10.5512 14.6464L14.8441 10.3536C15.0393 10.1583 15.0393 9.84171 14.8441 9.64645L14.6696 9.47199Z",
|
|
17001
|
-
fill: "white"
|
|
17002
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17003
|
-
mask: "url(#".concat(id, ")")
|
|
17004
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
17005
|
-
x: "17.6976",
|
|
17006
|
-
y: "2.5",
|
|
17007
|
-
width: "15",
|
|
17008
|
-
height: "15",
|
|
17009
|
-
transform: "rotate(90 17.6976 2.5)",
|
|
17010
|
-
fill: "white"
|
|
17011
|
-
})));
|
|
17012
|
-
};
|
|
17013
|
-
|
|
17014
|
-
var SuccessfulIconMedium = function SuccessfulIconMedium(_ref) {
|
|
17015
|
-
var _ref$iconIndex = _ref.iconIndex,
|
|
17016
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17017
|
-
var mask0ID = "SuccessfulIconMedium-mask0-".concat(iconIndex);
|
|
17018
|
-
var mask1ID = "SuccessfulIconMedium-mask1-".concat(iconIndex);
|
|
17019
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17020
|
-
width: "24",
|
|
17021
|
-
height: "24",
|
|
17022
|
-
viewBox: "0 0 24 24",
|
|
17023
|
-
fill: "none",
|
|
17024
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17025
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17026
|
-
cx: "12",
|
|
17027
|
-
cy: "12",
|
|
17028
|
-
r: "12",
|
|
17029
|
-
fill: "#317D4F"
|
|
17030
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17031
|
-
id: mask0ID,
|
|
17032
|
-
style: {
|
|
17033
|
-
maskType: "luminance"
|
|
17034
|
-
},
|
|
17035
|
-
maskUnits: "userSpaceOnUse",
|
|
17036
|
-
x: "0",
|
|
17037
|
-
y: "0",
|
|
17038
|
-
width: "24",
|
|
17039
|
-
height: "24"
|
|
17040
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17041
|
-
cx: "12",
|
|
17042
|
-
cy: "12",
|
|
17043
|
-
r: "12",
|
|
17044
|
-
fill: "white"
|
|
17045
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17046
|
-
mask: "url(#".concat(mask0ID, ")")
|
|
17047
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17048
|
-
fillRule: "evenodd",
|
|
17049
|
-
clipRule: "evenodd",
|
|
17050
|
-
d: "M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z",
|
|
17051
|
-
fill: "white"
|
|
17052
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17053
|
-
id: mask1ID,
|
|
17054
|
-
style: {
|
|
17055
|
-
maskType: "luminance"
|
|
17056
|
-
},
|
|
17057
|
-
maskUnits: "userSpaceOnUse",
|
|
17058
|
-
x: "6",
|
|
17059
|
-
y: "7",
|
|
17060
|
-
width: "13",
|
|
17061
|
-
height: "10"
|
|
17062
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17063
|
-
fillRule: "evenodd",
|
|
17064
|
-
clipRule: "evenodd",
|
|
17065
|
-
d: "M17.6672 7.35354C17.472 7.15828 17.1554 7.15828 16.9601 7.35354L10.2426 14.0711L7.76775 11.5962C7.57249 11.4009 7.25591 11.4009 7.06065 11.5962L6.35354 12.3033C6.15828 12.4985 6.15828 12.8151 6.35354 13.0104L9.18167 15.8385C9.18177 15.8386 9.18187 15.8387 9.18197 15.8388L9.88907 16.5459C10.0843 16.7412 10.4009 16.7412 10.5962 16.5459L11.3033 15.8388C11.3034 15.8387 11.3036 15.8386 11.3037 15.8384L18.3744 8.76775C18.5696 8.57249 18.5696 8.25591 18.3744 8.06065L17.6672 7.35354Z",
|
|
17066
|
-
fill: "white"
|
|
17067
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17068
|
-
mask: "url(#".concat(mask1ID, ")")
|
|
17069
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
17070
|
-
x: "2",
|
|
17071
|
-
y: "2",
|
|
17072
|
-
width: "20",
|
|
17073
|
-
height: "20",
|
|
17074
|
-
fill: "white"
|
|
17075
|
-
}))));
|
|
17076
|
-
};
|
|
17077
|
-
|
|
17078
|
-
var XCircleIconMedium = function XCircleIconMedium(_ref) {
|
|
17079
|
-
var _ref$color = _ref.color,
|
|
17080
|
-
color = _ref$color === void 0 ? "#D11053" : _ref$color,
|
|
17081
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17082
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17083
|
-
var id = "XCircleIconMedium-".concat(iconIndex);
|
|
17084
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17085
|
-
width: "24",
|
|
17086
|
-
height: "24",
|
|
17087
|
-
viewBox: "0 0 24 24",
|
|
17088
|
-
fill: "none",
|
|
17089
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17090
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17091
|
-
cx: "12",
|
|
17092
|
-
cy: "12",
|
|
17093
|
-
r: "12",
|
|
17094
|
-
fill: color
|
|
17095
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
17096
|
-
fillRule: "evenodd",
|
|
17097
|
-
clipRule: "evenodd",
|
|
17098
|
-
d: "M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z",
|
|
17099
|
-
fill: "white"
|
|
17100
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17101
|
-
id: id,
|
|
17102
|
-
style: {
|
|
17103
|
-
maskType: "luminance"
|
|
17104
|
-
},
|
|
17105
|
-
maskUnits: "userSpaceOnUse",
|
|
17106
|
-
x: "7",
|
|
17107
|
-
y: "7",
|
|
17108
|
-
width: "10",
|
|
17109
|
-
height: "10"
|
|
17110
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17111
|
-
fillRule: "evenodd",
|
|
17112
|
-
clipRule: "evenodd",
|
|
17113
|
-
d: "M7.35355 8.07502C7.15829 8.27028 7.15829 8.58686 7.35355 8.78212L10.5714 12L7.35355 15.2179C7.15829 15.4131 7.15829 15.7297 7.35355 15.925L8.07502 16.6464C8.27028 16.8417 8.58686 16.8417 8.78212 16.6464L12 13.4286L15.2179 16.6464C15.4131 16.8417 15.7297 16.8417 15.925 16.6464L16.6464 15.925C16.8417 15.7297 16.8417 15.4131 16.6464 15.2179L13.4286 12L16.6464 8.78212C16.8417 8.58686 16.8417 8.27028 16.6464 8.07502L15.925 7.35355C15.7297 7.15829 15.4131 7.15829 15.2179 7.35355L12 10.5714L8.78212 7.35355C8.58686 7.15829 8.27028 7.15829 8.07502 7.35355L7.35355 8.07502Z",
|
|
17114
|
-
fill: "white"
|
|
17115
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17116
|
-
mask: "url(#".concat(id, ")")
|
|
17117
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17118
|
-
d: "M0 0H24V24H0V0Z",
|
|
17119
|
-
fill: "white"
|
|
17120
|
-
})));
|
|
17121
|
-
};
|
|
17122
|
-
|
|
17123
|
-
var RefundIconMedium = function RefundIconMedium(_ref) {
|
|
17124
|
-
var _ref$color = _ref.color,
|
|
17125
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17126
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17127
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17128
|
-
var id = "RefundIconMedium-".concat(iconIndex);
|
|
17129
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17130
|
-
width: "24",
|
|
17131
|
-
height: "24",
|
|
17132
|
-
viewBox: "0 0 24 24",
|
|
17133
|
-
fill: "none",
|
|
17134
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17135
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17136
|
-
cx: "12",
|
|
17137
|
-
cy: "12",
|
|
17138
|
-
r: "12",
|
|
17139
|
-
fill: color
|
|
17140
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
17141
|
-
fillRule: "evenodd",
|
|
17142
|
-
clipRule: "evenodd",
|
|
17143
|
-
d: "M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z",
|
|
17144
|
-
fill: "white"
|
|
17145
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17146
|
-
id: id,
|
|
17147
|
-
style: {
|
|
17148
|
-
maskType: "luminance"
|
|
17149
|
-
},
|
|
17150
|
-
maskUnits: "userSpaceOnUse",
|
|
17151
|
-
x: "5",
|
|
17152
|
-
y: "6",
|
|
17153
|
-
width: "13",
|
|
17154
|
-
height: "12"
|
|
17155
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17156
|
-
fillRule: "evenodd",
|
|
17157
|
-
clipRule: "evenodd",
|
|
17158
|
-
d: "M15.0975 16.8351V18H13.4122V16.8416C11.5797 16.6399 10.396 15.7549 10.2154 14.1085L12.2485 14.0694C12.4558 14.9284 13.2049 15.3839 14.2749 15.3839C15.2379 15.3839 15.9268 14.8829 15.9268 14.2126C15.9268 13.5163 15.4787 13.2299 14.5357 13.0217L12.9507 12.6898C11.4727 12.397 10.523 11.5575 10.503 10.1128C10.4896 8.57701 11.7202 7.5423 13.4456 7.2885V6H15.1376V7.29501C16.823 7.58134 17.8462 8.70065 17.8261 10.0477L15.8532 10.0803C15.7328 9.24729 15.345 8.7397 14.315 8.7397C13.2517 8.7397 12.5963 9.20824 12.5963 9.89154C12.5963 10.4382 12.9039 10.7115 13.9539 10.9783L15.5121 11.3492C17.271 11.7592 18 12.7874 18 14.1996C18 15.6182 16.8831 16.6074 15.0975 16.8351ZM9.00001 13.8125C9.00001 14.2245 8.52963 14.4597 8.20001 14.2125L5.53334 12.2125C5.26668 12.0125 5.26668 11.6125 5.53334 11.4125L8.20001 9.4125C8.52963 9.16529 9.00001 9.40048 9.00001 9.8125V13.8125Z",
|
|
17159
|
-
fill: "white"
|
|
17160
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17161
|
-
mask: "url(#".concat(id, ")")
|
|
17162
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
17163
|
-
x: "3",
|
|
17164
|
-
y: "3",
|
|
17165
|
-
width: "18",
|
|
17166
|
-
height: "18",
|
|
17167
|
-
fill: "white"
|
|
17168
|
-
})));
|
|
17169
|
-
};
|
|
17170
|
-
|
|
17171
|
-
var ArrowLeftCircleIconMedium = function ArrowLeftCircleIconMedium(_ref) {
|
|
17172
|
-
var _ref$color = _ref.color,
|
|
17173
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17174
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17175
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17176
|
-
var id = "ArrowLeftCircleIconMedium-".concat(iconIndex);
|
|
17177
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17178
|
-
width: "24",
|
|
17179
|
-
height: "24",
|
|
17180
|
-
viewBox: "0 0 24 24",
|
|
17181
|
-
fill: "none",
|
|
17182
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17183
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17184
|
-
cx: "12",
|
|
17185
|
-
cy: "12",
|
|
17186
|
-
r: "12",
|
|
17187
|
-
fill: color
|
|
17188
|
-
}), /*#__PURE__*/React__default.createElement("path", {
|
|
17189
|
-
fillRule: "evenodd",
|
|
17190
|
-
clipRule: "evenodd",
|
|
17191
|
-
d: "M12.7043 17.2957C12.8994 17.1006 12.8995 16.7843 12.7046 16.5889L8.8725 12.75H17.5C17.7761 12.75 18 12.5261 18 12.25V11.75C18 11.4739 17.7761 11.25 17.5 11.25H8.8725L12.7046 7.41105C12.8995 7.21574 12.8994 6.8994 12.7043 6.70426L12.3536 6.35355C12.1583 6.15829 11.8417 6.15829 11.6464 6.35355L6.35355 11.6464C6.15829 11.8417 6.15829 12.1583 6.35355 12.3536L11.6464 17.6464C11.8417 17.8417 12.1583 17.8417 12.3536 17.6464L12.7043 17.2957Z",
|
|
17192
|
-
fill: "white"
|
|
17193
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17194
|
-
id: id,
|
|
17195
|
-
style: {
|
|
17196
|
-
maskType: "luminance"
|
|
17197
|
-
},
|
|
17198
|
-
maskUnits: "userSpaceOnUse",
|
|
17199
|
-
x: "6",
|
|
17200
|
-
y: "6",
|
|
17201
|
-
width: "12",
|
|
17202
|
-
height: "12"
|
|
17203
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17204
|
-
fillRule: "evenodd",
|
|
17205
|
-
clipRule: "evenodd",
|
|
17206
|
-
d: "M12.7043 17.2957C12.8994 17.1006 12.8995 16.7843 12.7046 16.5889L8.8725 12.75H17.5C17.7761 12.75 18 12.5261 18 12.25V11.75C18 11.4739 17.7761 11.25 17.5 11.25H8.8725L12.7046 7.41105C12.8995 7.21574 12.8994 6.8994 12.7043 6.70426L12.3536 6.35355C12.1583 6.15829 11.8417 6.15829 11.6464 6.35355L6.35355 11.6464C6.15829 11.8417 6.15829 12.1583 6.35355 12.3536L11.6464 17.6464C11.8417 17.8417 12.1583 17.8417 12.3536 17.6464L12.7043 17.2957Z",
|
|
17207
|
-
fill: "white"
|
|
17208
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17209
|
-
mask: "url(#".concat(id, ")")
|
|
17210
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
17211
|
-
x: "21",
|
|
17212
|
-
y: "21",
|
|
17213
|
-
width: "18",
|
|
17214
|
-
height: "18",
|
|
17215
|
-
transform: "rotate(180 21 21)",
|
|
17216
|
-
fill: "white"
|
|
17217
|
-
})));
|
|
17218
|
-
};
|
|
17219
|
-
|
|
17220
|
-
var ChargebackIconMedium = function ChargebackIconMedium(_ref) {
|
|
17221
|
-
var _ref$color = _ref.color,
|
|
17222
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17223
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17224
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17225
|
-
var id = "ChargebackIconMedium-".concat(iconIndex);
|
|
17226
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17227
|
-
width: "24",
|
|
17228
|
-
height: "24",
|
|
17229
|
-
viewBox: "0 0 24 24",
|
|
17230
|
-
fill: "none",
|
|
17231
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17232
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17233
|
-
cx: "12",
|
|
17234
|
-
cy: "12",
|
|
17235
|
-
r: "12",
|
|
17236
|
-
fill: color
|
|
17237
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17238
|
-
id: id,
|
|
17239
|
-
style: {
|
|
17240
|
-
maskType: "luminance"
|
|
17241
|
-
},
|
|
17242
|
-
maskUnits: "userSpaceOnUse",
|
|
17243
|
-
x: "3",
|
|
17244
|
-
y: "7",
|
|
17245
|
-
width: "17",
|
|
17246
|
-
height: "10"
|
|
17247
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17248
|
-
fillRule: "evenodd",
|
|
17249
|
-
clipRule: "evenodd",
|
|
17250
|
-
d: "M7.99999 8C7.99999 7.44772 8.4477 7 8.99999 7H19C19.5523 7 20 7.44772 20 8V10V12V16C20 16.5523 19.5523 17 19 17H8.99999C8.4477 17 7.99999 16.5523 7.99999 16V12V10V8ZM19.25 7.83333V10H8.74999V9.91667V7.83333H19.25ZM8.74999 16.1667V12H19.25V16.1667H8.74999ZM5.79295 10.2071C5.79295 9.76165 5.25438 9.53857 4.9394 9.85355L3.14651 11.6464C2.95125 11.8417 2.95125 12.1583 3.14651 12.3536L4.9394 14.1464C5.25438 14.4614 5.79295 14.2383 5.79295 13.7929V10.2071ZM16.1875 14C15.9113 14 15.6875 14.2239 15.6875 14.5C15.6875 14.7761 15.9113 15 16.1875 15H17.4375C17.7136 15 17.9375 14.7761 17.9375 14.5C17.9375 14.2239 17.7136 14 17.4375 14H16.1875Z",
|
|
17251
|
-
fill: "white"
|
|
17252
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17253
|
-
mask: "url(#".concat(id, ")")
|
|
17254
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
17255
|
-
x: "3",
|
|
17256
|
-
y: "3",
|
|
17257
|
-
width: "18",
|
|
17258
|
-
height: "18",
|
|
17259
|
-
fill: "white"
|
|
17260
|
-
})));
|
|
17261
|
-
};
|
|
17262
|
-
|
|
17263
|
-
var ChargebackReversalIconMedium = function ChargebackReversalIconMedium(_ref) {
|
|
17264
|
-
var _ref$color = _ref.color,
|
|
17265
|
-
color = _ref$color === void 0 ? "#15749D" : _ref$color,
|
|
17266
|
-
_ref$iconIndex = _ref.iconIndex,
|
|
17267
|
-
iconIndex = _ref$iconIndex === void 0 ? 0 : _ref$iconIndex;
|
|
17268
|
-
var id = "ChargebackReversalIconMedium-".concat(iconIndex);
|
|
17269
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
17270
|
-
width: "24",
|
|
17271
|
-
height: "24",
|
|
17272
|
-
viewBox: "0 0 24 24",
|
|
17273
|
-
fill: "none",
|
|
17274
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
17275
|
-
}, /*#__PURE__*/React__default.createElement("circle", {
|
|
17276
|
-
cx: "12",
|
|
17277
|
-
cy: "12",
|
|
17278
|
-
r: "12",
|
|
17279
|
-
fill: color
|
|
17280
|
-
}), /*#__PURE__*/React__default.createElement("mask", {
|
|
17281
|
-
id: id,
|
|
17282
|
-
style: {
|
|
17283
|
-
maskType: "luminance"
|
|
17284
|
-
},
|
|
17285
|
-
maskUnits: "userSpaceOnUse",
|
|
17286
|
-
x: "5",
|
|
17287
|
-
y: "7",
|
|
17288
|
-
width: "16",
|
|
17289
|
-
height: "10"
|
|
17290
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
17291
|
-
fillRule: "evenodd",
|
|
17292
|
-
clipRule: "evenodd",
|
|
17293
|
-
d: "M5 8C5 7.44772 5.44772 7 6 7H16C16.5523 7 17 7.44772 17 8V10V12V16C17 16.5523 16.5523 17 16 17H6C5.44772 17 5 16.5523 5 16V12V10V8ZM16.25 7.83333V10H5.75V9.91667V7.83333H16.25ZM5.75 16.1667V12H16.25V16.1667H5.75ZM18 13.7929C18 14.2383 18.5386 14.4614 18.8536 14.1464L20.6464 12.3536C20.8417 12.1583 20.8417 11.8417 20.6464 11.6464L18.8536 9.85355C18.5386 9.53857 18 9.76165 18 10.2071V13.7929ZM13.1875 14C12.9114 14 12.6875 14.2239 12.6875 14.5C12.6875 14.7761 12.9114 15 13.1875 15H14.4375C14.7136 15 14.9375 14.7761 14.9375 14.5C14.9375 14.2239 14.7136 14 14.4375 14H13.1875Z",
|
|
17294
|
-
fill: "white"
|
|
17295
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
17296
|
-
mask: "url(#".concat(id, ")")
|
|
17297
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
17298
|
-
x: "3",
|
|
17299
|
-
y: "3",
|
|
17300
|
-
width: "18",
|
|
17301
|
-
height: "18",
|
|
17302
|
-
fill: "white"
|
|
17303
|
-
})));
|
|
17304
|
-
};
|
|
17305
|
-
|
|
17306
16485
|
var color$2 = "#15749D";
|
|
17307
16486
|
var hoverColor$1 = "#116285";
|
|
17308
16487
|
var activeColor$1 = "#0E506D";
|
|
@@ -17966,14 +17145,12 @@ function _extends$1() {
|
|
|
17966
17145
|
_extends$1 = Object.assign ? Object.assign.bind() : function (target) {
|
|
17967
17146
|
for (var i = 1; i < arguments.length; i++) {
|
|
17968
17147
|
var source = arguments[i];
|
|
17969
|
-
|
|
17970
17148
|
for (var key in source) {
|
|
17971
17149
|
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
17972
17150
|
target[key] = source[key];
|
|
17973
17151
|
}
|
|
17974
17152
|
}
|
|
17975
17153
|
}
|
|
17976
|
-
|
|
17977
17154
|
return target;
|
|
17978
17155
|
};
|
|
17979
17156
|
return _extends$1.apply(this, arguments);
|
|
@@ -17983,7 +17160,6 @@ function _assertThisInitialized(self) {
|
|
|
17983
17160
|
if (self === void 0) {
|
|
17984
17161
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
17985
17162
|
}
|
|
17986
|
-
|
|
17987
17163
|
return self;
|
|
17988
17164
|
}
|
|
17989
17165
|
|
|
@@ -18016,7 +17192,6 @@ function _isNativeReflectConstruct() {
|
|
|
18016
17192
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
18017
17193
|
if (Reflect.construct.sham) return false;
|
|
18018
17194
|
if (typeof Proxy === "function") return true;
|
|
18019
|
-
|
|
18020
17195
|
try {
|
|
18021
17196
|
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
18022
17197
|
return true;
|
|
@@ -18038,30 +17213,23 @@ function _construct(Parent, args, Class) {
|
|
|
18038
17213
|
return instance;
|
|
18039
17214
|
};
|
|
18040
17215
|
}
|
|
18041
|
-
|
|
18042
17216
|
return _construct.apply(null, arguments);
|
|
18043
17217
|
}
|
|
18044
17218
|
|
|
18045
17219
|
function _wrapNativeSuper(Class) {
|
|
18046
17220
|
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
18047
|
-
|
|
18048
17221
|
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
18049
17222
|
if (Class === null || !_isNativeFunction(Class)) return Class;
|
|
18050
|
-
|
|
18051
17223
|
if (typeof Class !== "function") {
|
|
18052
17224
|
throw new TypeError("Super expression must either be null or a function");
|
|
18053
17225
|
}
|
|
18054
|
-
|
|
18055
17226
|
if (typeof _cache !== "undefined") {
|
|
18056
17227
|
if (_cache.has(Class)) return _cache.get(Class);
|
|
18057
|
-
|
|
18058
17228
|
_cache.set(Class, Wrapper);
|
|
18059
17229
|
}
|
|
18060
|
-
|
|
18061
17230
|
function Wrapper() {
|
|
18062
17231
|
return _construct(Class, arguments, _getPrototypeOf(this).constructor);
|
|
18063
17232
|
}
|
|
18064
|
-
|
|
18065
17233
|
Wrapper.prototype = Object.create(Class.prototype, {
|
|
18066
17234
|
constructor: {
|
|
18067
17235
|
value: Wrapper,
|
|
@@ -18072,7 +17240,6 @@ function _wrapNativeSuper(Class) {
|
|
|
18072
17240
|
});
|
|
18073
17241
|
return _setPrototypeOf(Wrapper, Class);
|
|
18074
17242
|
};
|
|
18075
|
-
|
|
18076
17243
|
return _wrapNativeSuper(Class);
|
|
18077
17244
|
}
|
|
18078
17245
|
|
|
@@ -21009,7 +20176,7 @@ var CheckboxContainer = styled__default.div.withConfig({
|
|
|
21009
20176
|
var CheckboxLabelContainer = styled__default.label.withConfig({
|
|
21010
20177
|
displayName: "Checkbox__CheckboxLabelContainer",
|
|
21011
20178
|
componentId: "sc-36kqbv-1"
|
|
21012
|
-
})(["display:flex;align-items:center;
|
|
20179
|
+
})(["display:flex;align-items:center;"]);
|
|
21013
20180
|
var CheckboxIcon = styled__default.svg.withConfig({
|
|
21014
20181
|
displayName: "Checkbox__CheckboxIcon",
|
|
21015
20182
|
componentId: "sc-36kqbv-2"
|
|
@@ -21028,7 +20195,7 @@ var HiddenCheckbox = styled__default.input.attrs({
|
|
|
21028
20195
|
var StyledCheckbox = styled__default.div.withConfig({
|
|
21029
20196
|
displayName: "Checkbox__StyledCheckbox",
|
|
21030
20197
|
componentId: "sc-36kqbv-4"
|
|
21031
|
-
})(["display:inline-block;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
20198
|
+
})(["display:inline-block;margin-right:16px;width:24px;height:24px;border-radius:2px;transition:all 150ms;", "{visibility:", ";}", ";"], CheckboxIcon, function (_ref2) {
|
|
21032
20199
|
var checked = _ref2.checked;
|
|
21033
20200
|
return checked ? "visible" : "hidden";
|
|
21034
20201
|
}, function (_ref3) {
|
|
@@ -21058,8 +20225,6 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21058
20225
|
hidden = _ref4$hidden === void 0 ? false : _ref4$hidden,
|
|
21059
20226
|
_ref4$error = _ref4.error,
|
|
21060
20227
|
error = _ref4$error === void 0 ? false : _ref4$error,
|
|
21061
|
-
_ref4$checkboxMargin = _ref4.checkboxMargin,
|
|
21062
|
-
checkboxMargin = _ref4$checkboxMargin === void 0 ? "0 16px 0 0" : _ref4$checkboxMargin,
|
|
21063
20228
|
extraStyles = _ref4.extraStyles,
|
|
21064
20229
|
textExtraStyles = _ref4.textExtraStyles;
|
|
21065
20230
|
|
|
@@ -21088,7 +20253,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21088
20253
|
},
|
|
21089
20254
|
hiddenStyles: hidden,
|
|
21090
20255
|
background: themeValues.backgroundColor,
|
|
21091
|
-
extraStyles: "outline: none; ".concat(extraStyles
|
|
20256
|
+
extraStyles: "outline: none; ".concat(extraStyles)
|
|
21092
20257
|
}, /*#__PURE__*/React__default.createElement(CheckboxLabelContainer, null, /*#__PURE__*/React__default.createElement(CheckboxContainer, {
|
|
21093
20258
|
"data-qa": "Checkbox"
|
|
21094
20259
|
}, /*#__PURE__*/React__default.createElement(HiddenCheckbox, {
|
|
@@ -21100,7 +20265,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21100
20265
|
onChange: onChange,
|
|
21101
20266
|
tabIndex: "-1",
|
|
21102
20267
|
"aria-invalid": error,
|
|
21103
|
-
"aria-describedby":
|
|
20268
|
+
"aria-describedby": "".concat(name, "-error-message")
|
|
21104
20269
|
}), /*#__PURE__*/React__default.createElement(StyledCheckbox, {
|
|
21105
20270
|
error: error,
|
|
21106
20271
|
disabled: disabled,
|
|
@@ -21119,7 +20284,7 @@ var Checkbox = function Checkbox(_ref4) {
|
|
|
21119
20284
|
checkColor: themeValues.checkColor
|
|
21120
20285
|
}, /*#__PURE__*/React__default.createElement("polyline", {
|
|
21121
20286
|
points: "20 6 9 17 4 12"
|
|
21122
|
-
})))),
|
|
20287
|
+
})))), /*#__PURE__*/React__default.createElement(Text$1, {
|
|
21123
20288
|
variant: "p",
|
|
21124
20289
|
weight: themeValues.textFontWeight,
|
|
21125
20290
|
color: themeValues.textColor,
|
|
@@ -24404,40 +23569,6 @@ var creditCardFormat = createFormat(creditCardFormats, formatDelimiter);
|
|
|
24404
23569
|
var expirationDateFormat = createFormat(expirationDateFormats, formatDelimiter);
|
|
24405
23570
|
var phoneFormat = createFormat(phoneFormats, formatDelimiter);
|
|
24406
23571
|
var moneyFormat = createFormat(moneyFormats, formatDelimiter);
|
|
24407
|
-
var renderCardStatus = function renderCardStatus(expirationStatus, expireDate) {
|
|
24408
|
-
var textAlign = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "right";
|
|
24409
|
-
var as = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "span";
|
|
24410
|
-
var ACTIVE = "ACTIVE";
|
|
24411
|
-
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
24412
|
-
var EXPIRED = "EXPIRED";
|
|
24413
|
-
var textMargin = textAlign === "right" ? "auto" : "0";
|
|
24414
|
-
|
|
24415
|
-
switch (expirationStatus) {
|
|
24416
|
-
case ACTIVE:
|
|
24417
|
-
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24418
|
-
as: as,
|
|
24419
|
-
variant: "pXS",
|
|
24420
|
-
color: ASH_GREY,
|
|
24421
|
-
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24422
|
-
}, "Exp Date ", expireDate);
|
|
24423
|
-
|
|
24424
|
-
case EXPIRING_SOON:
|
|
24425
|
-
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24426
|
-
as: as,
|
|
24427
|
-
variant: "pXS",
|
|
24428
|
-
color: FIRE_YELLOW,
|
|
24429
|
-
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24430
|
-
}, "Expiring Soon ", expireDate);
|
|
24431
|
-
|
|
24432
|
-
case EXPIRED:
|
|
24433
|
-
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
24434
|
-
as: as,
|
|
24435
|
-
variant: "pXS",
|
|
24436
|
-
color: ASH_GREY,
|
|
24437
|
-
extraStyles: "text-align: ".concat(textAlign, "; margin: ").concat(textMargin, ";")
|
|
24438
|
-
}, "Expired");
|
|
24439
|
-
}
|
|
24440
|
-
};
|
|
24441
23572
|
|
|
24442
23573
|
var formats = /*#__PURE__*/Object.freeze({
|
|
24443
23574
|
__proto__: null,
|
|
@@ -24449,8 +23580,7 @@ var formats = /*#__PURE__*/Object.freeze({
|
|
|
24449
23580
|
creditCardFormat: creditCardFormat,
|
|
24450
23581
|
expirationDateFormat: expirationDateFormat,
|
|
24451
23582
|
phoneFormat: phoneFormat,
|
|
24452
|
-
moneyFormat: moneyFormat
|
|
24453
|
-
renderCardStatus: renderCardStatus
|
|
23583
|
+
moneyFormat: moneyFormat
|
|
24454
23584
|
});
|
|
24455
23585
|
|
|
24456
23586
|
var useFocusInvalidInput = function useFocusInvalidInput(hasErrors) {
|
|
@@ -24510,10 +23640,10 @@ var fallbackValues$i = {
|
|
|
24510
23640
|
popoverTriggerColor: popoverTriggerColor
|
|
24511
23641
|
};
|
|
24512
23642
|
|
|
24513
|
-
var arrowBorder = function arrowBorder(
|
|
24514
|
-
var width = arguments.length >
|
|
23643
|
+
var arrowBorder = function arrowBorder(direction) {
|
|
23644
|
+
var width = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "8px";
|
|
24515
23645
|
var angle = "".concat(width, " solid transparent");
|
|
24516
|
-
var straight = "".concat(width, " solid ")
|
|
23646
|
+
var straight = "".concat(width, " solid rgba(255, 255, 255, 0.85)");
|
|
24517
23647
|
|
|
24518
23648
|
if (direction == "down") {
|
|
24519
23649
|
return "border-left: ".concat(angle, "; border-right: ").concat(angle, "; border-top: ").concat(straight);
|
|
@@ -24555,12 +23685,7 @@ var Popover = function Popover(_ref) {
|
|
|
24555
23685
|
arrowDirection = _ref$arrowDirection === void 0 ? "down" : _ref$arrowDirection,
|
|
24556
23686
|
_ref$transform = _ref.transform,
|
|
24557
23687
|
transform = _ref$transform === void 0 ? "none" : _ref$transform,
|
|
24558
|
-
buttonExtraStyles = _ref.buttonExtraStyles
|
|
24559
|
-
_ref$backgroundColor = _ref.backgroundColor,
|
|
24560
|
-
backgroundColor = _ref$backgroundColor === void 0 ? "white" : _ref$backgroundColor,
|
|
24561
|
-
_ref$borderColor = _ref.borderColor,
|
|
24562
|
-
borderColor = _ref$borderColor === void 0 ? "rgba(255, 255, 255, 0.85)" : _ref$borderColor,
|
|
24563
|
-
popoverExtraStyles = _ref.popoverExtraStyles;
|
|
23688
|
+
buttonExtraStyles = _ref.buttonExtraStyles;
|
|
24564
23689
|
var hoverColor = themeValues.hoverColor,
|
|
24565
23690
|
activeColor = themeValues.activeColor,
|
|
24566
23691
|
popoverTriggerColor = themeValues.popoverTriggerColor;
|
|
@@ -24646,7 +23771,7 @@ var Popover = function Popover(_ref) {
|
|
|
24646
23771
|
color: popoverTriggerColor,
|
|
24647
23772
|
extraStyles: "&:active { color: ".concat(activeColor, "; } &:hover { color: ").concat(hoverColor, " }; ").concat(textExtraStyles)
|
|
24648
23773
|
}, triggerText)), /*#__PURE__*/React__default.createElement(Box, {
|
|
24649
|
-
background:
|
|
23774
|
+
background: "white",
|
|
24650
23775
|
borderRadius: "4px",
|
|
24651
23776
|
boxShadow: "0px 2px 14px 0px rgb(246, 246, 249), 0px 3px 8px 0px rgb(202, 206, 216)",
|
|
24652
23777
|
id: "Disclosed".concat(popoverID),
|
|
@@ -24655,10 +23780,10 @@ var Popover = function Popover(_ref) {
|
|
|
24655
23780
|
tabIndex: popoverFocus && popoverOpen ? "0" : "-1",
|
|
24656
23781
|
minWidth: minWidth,
|
|
24657
23782
|
maxWidth: maxWidth,
|
|
24658
|
-
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ")
|
|
23783
|
+
extraStyles: "\n display: ".concat(popoverOpen ? "block" : "none", "; \n position: absolute; \n top: ").concat(top, "; \n right: ").concat(right, "; \n bottom: ").concat(bottom, "; \n left: ").concat(left, ";\n height: ").concat(height, ";\n transform: ").concat(transform, ";\n ")
|
|
24659
23784
|
}, /*#__PURE__*/React__default.createElement(Paragraph$1, null, content), /*#__PURE__*/React__default.createElement(Box, {
|
|
24660
23785
|
padding: "0",
|
|
24661
|
-
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(
|
|
23786
|
+
extraStyles: "\n position: absolute;\n content: \"\";\n width: 0;\n height: 0;\n ".concat(arrowBorder(arrowDirection, "8px"), ";\n filter: drop-shadow(2px 8px 14px black);\n bottom: ").concat(arrowBottom, ";\n right: ").concat(arrowRight, ";\n top: ").concat(arrowTop, ";\n left: ").concat(arrowLeft, ";\n ")
|
|
24662
23787
|
})));
|
|
24663
23788
|
};
|
|
24664
23789
|
|
|
@@ -25148,50 +24273,9 @@ var fallbackValues$l = {
|
|
|
25148
24273
|
autopayTextColor: autopayTextColor
|
|
25149
24274
|
};
|
|
25150
24275
|
|
|
25151
|
-
var
|
|
25152
|
-
|
|
25153
|
-
|
|
25154
|
-
})(["display:flex;justify-content:flex-start;align-items:center;"]);
|
|
25155
|
-
var BankAccountText = styled__default.h4.withConfig({
|
|
25156
|
-
displayName: "FormattedBankAccount__BankAccountText",
|
|
25157
|
-
componentId: "sc-18hcgw4-1"
|
|
25158
|
-
})(["color:", ";font-size:1rem;font-weight:400;line-height:1.5rem;text-align:left;margin-right:0.5rem;display:inline-block;"], function (_ref) {
|
|
25159
|
-
var color = _ref.color;
|
|
25160
|
-
return color;
|
|
25161
|
-
});
|
|
25162
|
-
var CHECKING = "CHECKING";
|
|
25163
|
-
var SAVINGS = "SAVINGS";
|
|
25164
|
-
|
|
25165
|
-
var FormattedBankAccount = function FormattedBankAccount(_ref2) {
|
|
25166
|
-
var lastFour = _ref2.lastFour,
|
|
25167
|
-
accountType = _ref2.accountType,
|
|
25168
|
-
autoPay = _ref2.autoPay,
|
|
25169
|
-
themeValues = _ref2.themeValues;
|
|
25170
|
-
return /*#__PURE__*/React__default.createElement(BankItemWrapper, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
25171
|
-
padding: "0.25rem 0 0 0",
|
|
25172
|
-
extraStyles: "margin-right: 1rem;"
|
|
25173
|
-
}, /*#__PURE__*/React__default.createElement(BankIcon, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
25174
|
-
childGap: "0"
|
|
25175
|
-
}, accountType === CHECKING && /*#__PURE__*/React__default.createElement(BankAccountText, {
|
|
25176
|
-
color: themeValues.textColor
|
|
25177
|
-
}, "Checking Account ending in ", lastFour), accountType === SAVINGS && /*#__PURE__*/React__default.createElement(BankAccountText, {
|
|
25178
|
-
color: themeValues.textColor
|
|
25179
|
-
}, "Savings Account ending in ", lastFour), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25180
|
-
variant: "p",
|
|
25181
|
-
color: themeValues.autopayTextColor,
|
|
25182
|
-
extraStyles: "font-style: italic;"
|
|
25183
|
-
}, "Autopay Enabled")));
|
|
25184
|
-
};
|
|
25185
|
-
|
|
25186
|
-
var FormattedBankAccount$1 = themeComponent(FormattedBankAccount, "FormattedBankAccount", fallbackValues$l);
|
|
25187
|
-
|
|
25188
|
-
var textColor$2 = "".concat(CHARADE_GREY);
|
|
25189
|
-
var autopayTextColor$1 = "".concat(REGENT_GREY);
|
|
25190
|
-
var fallbackValues$m = {
|
|
25191
|
-
textColor: textColor$2,
|
|
25192
|
-
autopayTextColor: autopayTextColor$1
|
|
25193
|
-
};
|
|
25194
|
-
|
|
24276
|
+
var ACTIVE = "ACTIVE";
|
|
24277
|
+
var EXPIRING_SOON = "EXPIRING_SOON";
|
|
24278
|
+
var EXPIRED = "EXPIRED";
|
|
25195
24279
|
var CreditCardWrapper = styled__default.div.withConfig({
|
|
25196
24280
|
displayName: "FormattedCreditCard__CreditCardWrapper",
|
|
25197
24281
|
componentId: "sc-s0ta5l-0"
|
|
@@ -25207,6 +24291,32 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
25207
24291
|
expireDate = _ref.expireDate,
|
|
25208
24292
|
expirationStatus = _ref.expirationStatus,
|
|
25209
24293
|
themeValues = _ref.themeValues;
|
|
24294
|
+
|
|
24295
|
+
var renderCardStatus = function renderCardStatus() {
|
|
24296
|
+
switch (expirationStatus) {
|
|
24297
|
+
case ACTIVE:
|
|
24298
|
+
return /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
24299
|
+
variant: "pXS",
|
|
24300
|
+
color: ASH_GREY,
|
|
24301
|
+
textAlign: "left"
|
|
24302
|
+
}, "Exp Date ", expireDate);
|
|
24303
|
+
|
|
24304
|
+
case EXPIRING_SOON:
|
|
24305
|
+
return /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
24306
|
+
variant: "pXS",
|
|
24307
|
+
color: FIRE_YELLOW,
|
|
24308
|
+
textAlign: "left"
|
|
24309
|
+
}, "Expiring Soon ", expireDate);
|
|
24310
|
+
|
|
24311
|
+
case EXPIRED:
|
|
24312
|
+
return /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
24313
|
+
variant: "pXS",
|
|
24314
|
+
color: ASH_GREY,
|
|
24315
|
+
textAlign: "left"
|
|
24316
|
+
}, "Expired");
|
|
24317
|
+
}
|
|
24318
|
+
};
|
|
24319
|
+
|
|
25210
24320
|
return /*#__PURE__*/React__default.createElement(CreditCardWrapper, null, /*#__PURE__*/React__default.createElement(CCIconWrapper, null, /*#__PURE__*/React__default.createElement(GenericCard, null)), /*#__PURE__*/React__default.createElement(Stack, {
|
|
25211
24321
|
childGap: "0"
|
|
25212
24322
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -25217,14 +24327,14 @@ var FormattedCreditCard = function FormattedCreditCard(_ref) {
|
|
|
25217
24327
|
color: themeValues.textColor,
|
|
25218
24328
|
textAlign: "left",
|
|
25219
24329
|
extraStyles: "display: inline-block;"
|
|
25220
|
-
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus(
|
|
24330
|
+
}, "Card ending in ".concat(lastFour)), expireDate && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus())), autoPay && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
25221
24331
|
variant: "p",
|
|
25222
24332
|
color: themeValues.autopayTextColor,
|
|
25223
24333
|
extraStyles: "font-style: italic;"
|
|
25224
24334
|
}, "Autopay Enabled")));
|
|
25225
24335
|
};
|
|
25226
24336
|
|
|
25227
|
-
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$
|
|
24337
|
+
var FormattedCreditCard$1 = themeComponent(FormattedCreditCard, "FormattedCreditCard", fallbackValues$l);
|
|
25228
24338
|
|
|
25229
24339
|
var Hamburger = styled__default.button.withConfig({
|
|
25230
24340
|
displayName: "HamburgerButton__Hamburger",
|
|
@@ -25306,7 +24416,7 @@ var fontSize$8 = {
|
|
|
25306
24416
|
h5: "1.375rem",
|
|
25307
24417
|
h6: "1.25rem"
|
|
25308
24418
|
};
|
|
25309
|
-
var fallbackValues$
|
|
24419
|
+
var fallbackValues$m = {
|
|
25310
24420
|
fontFamily: fontFamily$5,
|
|
25311
24421
|
fontSize: fontSize$8
|
|
25312
24422
|
};
|
|
@@ -25348,60 +24458,7 @@ var Heading = function Heading(_ref) {
|
|
|
25348
24458
|
}, rest), safeChildren(children, /*#__PURE__*/React__default.createElement("span", null)));
|
|
25349
24459
|
};
|
|
25350
24460
|
|
|
25351
|
-
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$
|
|
25352
|
-
|
|
25353
|
-
var Image = styled__default.img.withConfig({
|
|
25354
|
-
displayName: "ImageBoxstyled__Image",
|
|
25355
|
-
componentId: "sc-8lg9y6-0"
|
|
25356
|
-
})(["width:", ";height:", ";object-fit:", ";object-position:", ";"], function (_ref) {
|
|
25357
|
-
var _ref$width = _ref.width,
|
|
25358
|
-
width = _ref$width === void 0 ? "100%" : _ref$width;
|
|
25359
|
-
return width;
|
|
25360
|
-
}, function (_ref2) {
|
|
25361
|
-
var _ref2$height = _ref2.height,
|
|
25362
|
-
height = _ref2$height === void 0 ? "100%" : _ref2$height;
|
|
25363
|
-
return height;
|
|
25364
|
-
}, function (_ref3) {
|
|
25365
|
-
var _ref3$objectFit = _ref3.objectFit,
|
|
25366
|
-
objectFit = _ref3$objectFit === void 0 ? "cover" : _ref3$objectFit;
|
|
25367
|
-
return objectFit;
|
|
25368
|
-
}, function (_ref4) {
|
|
25369
|
-
var _ref4$objectPosition = _ref4.objectPosition,
|
|
25370
|
-
objectPosition = _ref4$objectPosition === void 0 ? "center" : _ref4$objectPosition;
|
|
25371
|
-
return objectPosition;
|
|
25372
|
-
});
|
|
25373
|
-
|
|
25374
|
-
var ImageBox = function ImageBox(_ref) {
|
|
25375
|
-
var image = _ref.image,
|
|
25376
|
-
minHeight = _ref.minHeight,
|
|
25377
|
-
minWidth = _ref.minWidth,
|
|
25378
|
-
maxWidth = _ref.maxWidth,
|
|
25379
|
-
borderRadius = _ref.borderRadius,
|
|
25380
|
-
imgWidth = _ref.imgWidth,
|
|
25381
|
-
imgHeight = _ref.imgHeight,
|
|
25382
|
-
objectFit = _ref.objectFit,
|
|
25383
|
-
objectPosition = _ref.objectPosition;
|
|
25384
|
-
var boxMaxWidth = maxWidth || minWidth;
|
|
25385
|
-
var _image$url = image.url,
|
|
25386
|
-
url = _image$url === void 0 ? "" : _image$url,
|
|
25387
|
-
_image$altText = image.altText,
|
|
25388
|
-
altText = _image$altText === void 0 ? "" : _image$altText;
|
|
25389
|
-
return /*#__PURE__*/React__default.createElement(Box, {
|
|
25390
|
-
padding: "0",
|
|
25391
|
-
minWidth: minWidth,
|
|
25392
|
-
minHeight: minHeight,
|
|
25393
|
-
maxWidth: boxMaxWidth,
|
|
25394
|
-
borderRadius: borderRadius,
|
|
25395
|
-
extraStyles: "height: ".concat(minHeight, ";")
|
|
25396
|
-
}, /*#__PURE__*/React__default.createElement(Image, {
|
|
25397
|
-
width: imgWidth,
|
|
25398
|
-
height: imgHeight,
|
|
25399
|
-
objectFit: objectFit,
|
|
25400
|
-
objectPosition: objectPosition,
|
|
25401
|
-
src: url,
|
|
25402
|
-
alt: altText
|
|
25403
|
-
}));
|
|
25404
|
-
};
|
|
24461
|
+
var Heading$1 = themeComponent(Heading, "Heading", fallbackValues$m, "h1");
|
|
25405
24462
|
|
|
25406
24463
|
var Jumbo = function Jumbo(_ref) {
|
|
25407
24464
|
var showButton = _ref.showButton,
|
|
@@ -25475,7 +24532,7 @@ var fontWeight$4 = {
|
|
|
25475
24532
|
pL: "600",
|
|
25476
24533
|
h6: "700"
|
|
25477
24534
|
};
|
|
25478
|
-
var fallbackValues$
|
|
24535
|
+
var fallbackValues$n = {
|
|
25479
24536
|
fontWeight: fontWeight$4
|
|
25480
24537
|
};
|
|
25481
24538
|
|
|
@@ -25503,7 +24560,7 @@ var LabeledAmount = function LabeledAmount(_ref) {
|
|
|
25503
24560
|
}, amount));
|
|
25504
24561
|
};
|
|
25505
24562
|
|
|
25506
|
-
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$
|
|
24563
|
+
var LabeledAmount$1 = themeComponent(LabeledAmount, "LabeledAmount", fallbackValues$n, "default");
|
|
25507
24564
|
|
|
25508
24565
|
var weightTitle = {
|
|
25509
24566
|
"default": "600",
|
|
@@ -25513,7 +24570,7 @@ var paragraphVariant = {
|
|
|
25513
24570
|
"default": "pL",
|
|
25514
24571
|
small: "pS"
|
|
25515
24572
|
};
|
|
25516
|
-
var fallbackValues$
|
|
24573
|
+
var fallbackValues$o = {
|
|
25517
24574
|
weightTitle: weightTitle,
|
|
25518
24575
|
paragraphVariant: paragraphVariant
|
|
25519
24576
|
};
|
|
@@ -25522,9 +24579,7 @@ var LineItem = function LineItem(_ref) {
|
|
|
25522
24579
|
var description = _ref.description,
|
|
25523
24580
|
subDescription = _ref.subDescription,
|
|
25524
24581
|
amount = _ref.amount,
|
|
25525
|
-
themeValues = _ref.themeValues
|
|
25526
|
-
_ref$displayQuantity = _ref.displayQuantity,
|
|
25527
|
-
displayQuantity = _ref$displayQuantity === void 0 ? null : _ref$displayQuantity;
|
|
24582
|
+
themeValues = _ref.themeValues;
|
|
25528
24583
|
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
25529
24584
|
nowrap: true,
|
|
25530
24585
|
justify: "space-between",
|
|
@@ -25537,20 +24592,17 @@ var LineItem = function LineItem(_ref) {
|
|
|
25537
24592
|
}, description), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
25538
24593
|
variant: themeValues.paragraphVariant,
|
|
25539
24594
|
weight: "400"
|
|
25540
|
-
}, subDescription)),
|
|
25541
|
-
variant: themeValues.paragraphVariant,
|
|
25542
|
-
weight: themeValues.weightTitle
|
|
25543
|
-
}, "x".concat(displayQuantity)), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
24595
|
+
}, subDescription)), /*#__PURE__*/React__default.createElement(Paragraph$1, {
|
|
25544
24596
|
variant: themeValues.paragraphVariant,
|
|
25545
24597
|
weight: "600",
|
|
25546
24598
|
extraStyles: "margin: 0; text-align: end; min-width: fit-content; padding-left: 32px;"
|
|
25547
24599
|
}, amount));
|
|
25548
24600
|
};
|
|
25549
24601
|
|
|
25550
|
-
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$
|
|
24602
|
+
var LineItem$1 = themeComponent(LineItem, "LineItem", fallbackValues$o, "default");
|
|
25551
24603
|
|
|
25552
24604
|
var color$8 = "#15749D";
|
|
25553
|
-
var fallbackValues$
|
|
24605
|
+
var fallbackValues$p = {
|
|
25554
24606
|
color: color$8
|
|
25555
24607
|
};
|
|
25556
24608
|
|
|
@@ -25589,7 +24641,7 @@ var Spinner$1 = function Spinner(_ref4) {
|
|
|
25589
24641
|
})));
|
|
25590
24642
|
};
|
|
25591
24643
|
|
|
25592
|
-
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$
|
|
24644
|
+
var Spinner$2 = themeComponent(Spinner$1, "Spinner", fallbackValues$p);
|
|
25593
24645
|
|
|
25594
24646
|
var Loading = function Loading() {
|
|
25595
24647
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -25855,7 +24907,7 @@ var height$1 = {
|
|
|
25855
24907
|
"default": "3rem",
|
|
25856
24908
|
large: "192px"
|
|
25857
24909
|
};
|
|
25858
|
-
var fallbackValues$
|
|
24910
|
+
var fallbackValues$q = {
|
|
25859
24911
|
color: color$9,
|
|
25860
24912
|
height: height$1
|
|
25861
24913
|
};
|
|
@@ -25964,12 +25016,12 @@ var Placeholder = function Placeholder(_ref2) {
|
|
|
25964
25016
|
}, text)))))))))));
|
|
25965
25017
|
};
|
|
25966
25018
|
|
|
25967
|
-
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$
|
|
25019
|
+
var Placeholder$1 = themeComponent(Placeholder, "Placeholder", fallbackValues$q, "default");
|
|
25968
25020
|
|
|
25969
25021
|
var backgroundColor$4 = {
|
|
25970
25022
|
"default": "".concat(WHITE)
|
|
25971
25023
|
};
|
|
25972
|
-
var fallbackValues$
|
|
25024
|
+
var fallbackValues$r = {
|
|
25973
25025
|
backgroundColor: backgroundColor$4
|
|
25974
25026
|
};
|
|
25975
25027
|
|
|
@@ -25997,7 +25049,7 @@ var ProcessingFee = function ProcessingFee(_ref) {
|
|
|
25997
25049
|
}));
|
|
25998
25050
|
};
|
|
25999
25051
|
|
|
26000
|
-
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$
|
|
25052
|
+
var ProcessingFee$1 = themeComponent(ProcessingFee, "ProcessingFee", fallbackValues$r, "default");
|
|
26001
25053
|
|
|
26002
25054
|
|
|
26003
25055
|
|
|
@@ -26059,7 +25111,7 @@ var RadioButtonWithLabel = function RadioButtonWithLabel(_ref) {
|
|
|
26059
25111
|
|
|
26060
25112
|
var activeColor$5 = "".concat(MATISSE_BLUE);
|
|
26061
25113
|
var inactiveColor = "".concat(GREY_CHATEAU);
|
|
26062
|
-
var fallbackValues$
|
|
25114
|
+
var fallbackValues$s = {
|
|
26063
25115
|
activeColor: activeColor$5,
|
|
26064
25116
|
inactiveColor: inactiveColor
|
|
26065
25117
|
};
|
|
@@ -26081,8 +25133,6 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
26081
25133
|
name = _ref2.name,
|
|
26082
25134
|
_ref2$disabled = _ref2.disabled,
|
|
26083
25135
|
disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
|
|
26084
|
-
_ref2$ariaDescribedBy = _ref2.ariaDescribedBy,
|
|
26085
|
-
ariaDescribedBy = _ref2$ariaDescribedBy === void 0 ? "" : _ref2$ariaDescribedBy,
|
|
26086
25136
|
themeValues = _ref2.themeValues;
|
|
26087
25137
|
var buttonBorder = {
|
|
26088
25138
|
onFocused: {
|
|
@@ -26134,7 +25184,6 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
26134
25184
|
"aria-label": name,
|
|
26135
25185
|
disabled: disabled,
|
|
26136
25186
|
onClick: toggleRadio,
|
|
26137
|
-
"aria-describedby": ariaDescribedBy,
|
|
26138
25187
|
tabIndex: "-1"
|
|
26139
25188
|
}), /*#__PURE__*/React__default.createElement(Motion, {
|
|
26140
25189
|
borderWidth: "1px",
|
|
@@ -26152,12 +25201,12 @@ var RadioButton$1 = function RadioButton(_ref2) {
|
|
|
26152
25201
|
})));
|
|
26153
25202
|
};
|
|
26154
25203
|
|
|
26155
|
-
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$
|
|
25204
|
+
var RadioButton$2 = themeComponent(RadioButton$1, "RadioButton", fallbackValues$s);
|
|
26156
25205
|
|
|
26157
25206
|
var border$2 = {
|
|
26158
25207
|
"default": "1px solid #caced8"
|
|
26159
25208
|
};
|
|
26160
|
-
var fallbackValues$
|
|
25209
|
+
var fallbackValues$t = {
|
|
26161
25210
|
border: border$2
|
|
26162
25211
|
};
|
|
26163
25212
|
|
|
@@ -26172,9 +25221,7 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
26172
25221
|
fields = _ref.fields,
|
|
26173
25222
|
actions = _ref.actions,
|
|
26174
25223
|
disabled = _ref.disabled,
|
|
26175
|
-
themeValues = _ref.themeValues
|
|
26176
|
-
_ref$placeholder = _ref.placeholder,
|
|
26177
|
-
placeholder = _ref$placeholder === void 0 ? "Search agencies" : _ref$placeholder;
|
|
25224
|
+
themeValues = _ref.themeValues;
|
|
26178
25225
|
|
|
26179
25226
|
var _useState = React.useState([]),
|
|
26180
25227
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -26205,15 +25252,15 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
26205
25252
|
padding: "1rem",
|
|
26206
25253
|
border: themeValues.border,
|
|
26207
25254
|
extraStyles: disabled && "color: #6e727e; background-color: #f7f7f7; pointer-events: none;"
|
|
26208
|
-
}, /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
25255
|
+
}, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(FormInput$1, {
|
|
26209
25256
|
errorMessages: {},
|
|
26210
25257
|
field: fields.searchTerm,
|
|
26211
25258
|
fieldActions: actions.fields.searchTerm,
|
|
26212
|
-
placeholder:
|
|
25259
|
+
placeholder: "Search agencies",
|
|
26213
25260
|
disabled: disabled
|
|
26214
25261
|
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
26215
|
-
padding: "0 0
|
|
26216
|
-
extraStyles: "overflow-y: scroll;
|
|
25262
|
+
padding: "0.5rem 0",
|
|
25263
|
+
extraStyles: "overflow-y: scroll; height: 250px;"
|
|
26217
25264
|
}, /*#__PURE__*/React__default.createElement(Stack, null, itemList.map(function (value) {
|
|
26218
25265
|
var _selectedItems$find;
|
|
26219
25266
|
|
|
@@ -26229,12 +25276,12 @@ var SearchableSelect = function SearchableSelect(_ref) {
|
|
|
26229
25276
|
},
|
|
26230
25277
|
textExtraStyles: "margin: 0;",
|
|
26231
25278
|
disabled: disabled,
|
|
26232
|
-
extraStyles: "margin: 0.5rem;"
|
|
25279
|
+
extraStyles: "margin: 0 0.5rem;"
|
|
26233
25280
|
});
|
|
26234
|
-
}))));
|
|
25281
|
+
})))));
|
|
26235
25282
|
};
|
|
26236
25283
|
|
|
26237
|
-
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$
|
|
25284
|
+
var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$t, "default");
|
|
26238
25285
|
|
|
26239
25286
|
var borderColor$2 = {
|
|
26240
25287
|
"default": "".concat(GREY_CHATEAU)
|
|
@@ -26242,7 +25289,7 @@ var borderColor$2 = {
|
|
|
26242
25289
|
var borderSize = {
|
|
26243
25290
|
"default": "1px"
|
|
26244
25291
|
};
|
|
26245
|
-
var fallbackValues$
|
|
25292
|
+
var fallbackValues$u = {
|
|
26246
25293
|
borderColor: borderColor$2,
|
|
26247
25294
|
borderSize: borderSize
|
|
26248
25295
|
};
|
|
@@ -26259,7 +25306,7 @@ var SolidDivider = function SolidDivider(_ref) {
|
|
|
26259
25306
|
});
|
|
26260
25307
|
};
|
|
26261
25308
|
|
|
26262
|
-
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$
|
|
25309
|
+
var SolidDivider$1 = themeComponent(SolidDivider, "SolidDivider", fallbackValues$u, "default");
|
|
26263
25310
|
|
|
26264
25311
|
var placeHolderOptionUS = {
|
|
26265
25312
|
text: "Please select state",
|
|
@@ -36843,7 +35890,7 @@ var offBackground = "".concat(REGENT_GREY);
|
|
|
36843
35890
|
var labelStyles = "\n display: flex;\n justify-content: flex-start;\n align-items: center;\n";
|
|
36844
35891
|
var rightLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row;\n");
|
|
36845
35892
|
var leftLabelStyles = "\n ".concat(labelStyles, "\n flex-direction: row-reverse;\n");
|
|
36846
|
-
var fallbackValues$
|
|
35893
|
+
var fallbackValues$v = {
|
|
36847
35894
|
onBackground: onBackground,
|
|
36848
35895
|
disabledBackground: disabledBackground,
|
|
36849
35896
|
white: white,
|
|
@@ -37019,7 +36066,7 @@ var ToggleSwitch = function ToggleSwitch(_ref6) {
|
|
|
37019
36066
|
}, label))));
|
|
37020
36067
|
};
|
|
37021
36068
|
|
|
37022
|
-
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$
|
|
36069
|
+
var ToggleSwitch$1 = themeComponent(ToggleSwitch, "ToggleSwitch", fallbackValues$v);
|
|
37023
36070
|
|
|
37024
36071
|
var background$1 = "".concat(ATHENS_GREY);
|
|
37025
36072
|
var white$1 = "".concat(WHITE);
|
|
@@ -37068,7 +36115,7 @@ var backgroundColor$5 = WHITE;
|
|
|
37068
36115
|
var imageBackgroundColor = INFO_BLUE;
|
|
37069
36116
|
var headerBackgroundColor = STORM_GREY;
|
|
37070
36117
|
var headerColor = WHITE;
|
|
37071
|
-
var fallbackValues$
|
|
36118
|
+
var fallbackValues$w = {
|
|
37072
36119
|
backgroundColor: backgroundColor$5,
|
|
37073
36120
|
imageBackgroundColor: imageBackgroundColor,
|
|
37074
36121
|
headerBackgroundColor: headerBackgroundColor,
|
|
@@ -37091,11 +36138,11 @@ var CardImage = styled__default.img.withConfig({
|
|
|
37091
36138
|
|
|
37092
36139
|
var titleColor = BRIGHT_GREY;
|
|
37093
36140
|
var titleWeight = FONT_WEIGHT_BOLD;
|
|
37094
|
-
var textColor$
|
|
37095
|
-
var fallbackValues$
|
|
36141
|
+
var textColor$2 = BRIGHT_GREY;
|
|
36142
|
+
var fallbackValues$x = {
|
|
37096
36143
|
titleColor: titleColor,
|
|
37097
36144
|
titleWeight: titleWeight,
|
|
37098
|
-
textColor: textColor$
|
|
36145
|
+
textColor: textColor$2
|
|
37099
36146
|
};
|
|
37100
36147
|
|
|
37101
36148
|
var CardText = function CardText(_ref) {
|
|
@@ -37116,7 +36163,7 @@ var CardText = function CardText(_ref) {
|
|
|
37116
36163
|
color: themeValues.textColor
|
|
37117
36164
|
}, text))));
|
|
37118
36165
|
};
|
|
37119
|
-
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$
|
|
36166
|
+
var CardText$1 = themeComponent(withWindowSize(CardText), "CardText", fallbackValues$x);
|
|
37120
36167
|
|
|
37121
36168
|
var CardHeader = function CardHeader(_ref) {
|
|
37122
36169
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -37213,12 +36260,12 @@ var Card = function Card(_ref) {
|
|
|
37213
36260
|
}), children)));
|
|
37214
36261
|
};
|
|
37215
36262
|
|
|
37216
|
-
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$
|
|
36263
|
+
var Card$1 = themeComponent(withWindowSize(Card), "Card", fallbackValues$w);
|
|
37217
36264
|
|
|
37218
36265
|
var fontFamily$6 = "Public Sans, sans-serif";
|
|
37219
36266
|
var activeColor$6 = MATISSE_BLUE;
|
|
37220
36267
|
var linkColor$3 = CHARADE_GREY;
|
|
37221
|
-
var fallbackValues$
|
|
36268
|
+
var fallbackValues$y = {
|
|
37222
36269
|
fontFamily: fontFamily$6,
|
|
37223
36270
|
activeColor: activeColor$6,
|
|
37224
36271
|
linkColor: linkColor$3
|
|
@@ -37251,7 +36298,7 @@ var NavTab = function NavTab(_ref) {
|
|
|
37251
36298
|
}, label));
|
|
37252
36299
|
};
|
|
37253
36300
|
|
|
37254
|
-
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$
|
|
36301
|
+
var NavTab$1 = themeComponent(NavTab, "NavTab", fallbackValues$y);
|
|
37255
36302
|
|
|
37256
36303
|
var NavTabs = function NavTabs(_ref) {
|
|
37257
36304
|
var tabsConfig = _ref.tabsConfig,
|
|
@@ -37306,142 +36353,6 @@ var LoadingLine = function LoadingLine(_ref) {
|
|
|
37306
36353
|
});
|
|
37307
36354
|
};
|
|
37308
36355
|
|
|
37309
|
-
var Table_styled = styled__default.table.withConfig({
|
|
37310
|
-
displayName: "Tablestyled",
|
|
37311
|
-
componentId: "sc-mveye7-0"
|
|
37312
|
-
})(["width:100%;table-layout:auto;border-collapse:collapse;", ""], function (_ref) {
|
|
37313
|
-
var extraStyles = _ref.extraStyles;
|
|
37314
|
-
return extraStyles;
|
|
37315
|
-
});
|
|
37316
|
-
|
|
37317
|
-
var TableBody_styled = styled__default.tbody.withConfig({
|
|
37318
|
-
displayName: "TableBodystyled",
|
|
37319
|
-
componentId: "sc-wk5osr-0"
|
|
37320
|
-
})(["", ""], function (_ref) {
|
|
37321
|
-
var extraStyles = _ref.extraStyles;
|
|
37322
|
-
return extraStyles;
|
|
37323
|
-
});
|
|
37324
|
-
|
|
37325
|
-
var TableCell_styled = styled__default.td.withConfig({
|
|
37326
|
-
displayName: "TableCellstyled",
|
|
37327
|
-
componentId: "sc-iqndn8-0"
|
|
37328
|
-
})(["padding:", ";font-size:", " white-space:nowrap;max-width:", ";overflow:hidden;text-overflow:ellipsis;&:last-child{text-align:right;}", ";"], function (_ref) {
|
|
37329
|
-
var _ref$padding = _ref.padding,
|
|
37330
|
-
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
37331
|
-
return padding;
|
|
37332
|
-
}, function (_ref2) {
|
|
37333
|
-
var _ref2$fontSize = _ref2.fontSize,
|
|
37334
|
-
fontSize = _ref2$fontSize === void 0 ? "0.875rem" : _ref2$fontSize;
|
|
37335
|
-
return fontSize;
|
|
37336
|
-
}, function (_ref3) {
|
|
37337
|
-
var _ref3$maxWidth = _ref3.maxWidth,
|
|
37338
|
-
maxWidth = _ref3$maxWidth === void 0 ? "250px" : _ref3$maxWidth;
|
|
37339
|
-
return maxWidth;
|
|
37340
|
-
}, function (_ref4) {
|
|
37341
|
-
var extraStyles = _ref4.extraStyles;
|
|
37342
|
-
return extraStyles;
|
|
37343
|
-
});
|
|
37344
|
-
|
|
37345
|
-
var backgroundColor$6 = ALABASTER_WHITE;
|
|
37346
|
-
var borderColor$3 = GREY_CHATEAU;
|
|
37347
|
-
var fallbackValues$A = {
|
|
37348
|
-
backgroundColor: backgroundColor$6,
|
|
37349
|
-
borderColor: borderColor$3
|
|
37350
|
-
};
|
|
37351
|
-
|
|
37352
|
-
var StyledTableHead = styled__default.thead.withConfig({
|
|
37353
|
-
displayName: "TableHeadstyled",
|
|
37354
|
-
componentId: "sc-j8e6c1-0"
|
|
37355
|
-
})(["background-color:", ";border-bottom:", ";font-size:", ";"], function (_ref) {
|
|
37356
|
-
var backgroundColor = _ref.backgroundColor;
|
|
37357
|
-
return backgroundColor;
|
|
37358
|
-
}, function (_ref2) {
|
|
37359
|
-
var borderColor = _ref2.borderColor;
|
|
37360
|
-
return "1px solid ".concat(borderColor);
|
|
37361
|
-
}, function (_ref3) {
|
|
37362
|
-
var _ref3$fontSize = _ref3.fontSize,
|
|
37363
|
-
fontSize = _ref3$fontSize === void 0 ? "0.875rem" : _ref3$fontSize;
|
|
37364
|
-
return fontSize;
|
|
37365
|
-
});
|
|
37366
|
-
|
|
37367
|
-
var borderColor$4 = GREY_CHATEAU;
|
|
37368
|
-
var hoverBackgroundColor$1 = HOVER_LIGHT_BLUE;
|
|
37369
|
-
var fallbackValues$B = {
|
|
37370
|
-
borderColor: borderColor$4,
|
|
37371
|
-
hoverBackgroundColor: hoverBackgroundColor$1
|
|
37372
|
-
};
|
|
37373
|
-
|
|
37374
|
-
var TableRowWrapper = styled__default.tr.withConfig({
|
|
37375
|
-
displayName: "TableRowstyled",
|
|
37376
|
-
componentId: "sc-1tc0sav-0"
|
|
37377
|
-
})(["&:not(:last-child){border-bottom:", ";}", " ", ""], function (_ref) {
|
|
37378
|
-
var borderColor = _ref.borderColor;
|
|
37379
|
-
return "1px solid ".concat(borderColor);
|
|
37380
|
-
}, function (_ref2) {
|
|
37381
|
-
var hoverCursor = _ref2.hoverCursor,
|
|
37382
|
-
hoverEffect = _ref2.hoverEffect,
|
|
37383
|
-
hoverBackgroundColor = _ref2.hoverBackgroundColor;
|
|
37384
|
-
return hoverEffect && "&:hover {\n ".concat(hoverCursor && "cursor: pointer", ";\n background-color: ").concat(hoverBackgroundColor, ";\n }");
|
|
37385
|
-
}, function (_ref3) {
|
|
37386
|
-
var extraStyles = _ref3.extraStyles;
|
|
37387
|
-
return extraStyles;
|
|
37388
|
-
});
|
|
37389
|
-
|
|
37390
|
-
var _excluded$w = ["children", "extraStyles", "hoverCursor", "hoverEffect", "onClick", "themeValues"];
|
|
37391
|
-
|
|
37392
|
-
var TableRow = function TableRow(_ref) {
|
|
37393
|
-
var children = _ref.children,
|
|
37394
|
-
extraStyles = _ref.extraStyles,
|
|
37395
|
-
_ref$hoverCursor = _ref.hoverCursor,
|
|
37396
|
-
_ref$hoverEffect = _ref.hoverEffect,
|
|
37397
|
-
hoverEffect = _ref$hoverEffect === void 0 ? true : _ref$hoverEffect,
|
|
37398
|
-
onClick = _ref.onClick,
|
|
37399
|
-
themeValues = _ref.themeValues,
|
|
37400
|
-
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
37401
|
-
|
|
37402
|
-
return /*#__PURE__*/React__default.createElement(TableRowWrapper, _extends({
|
|
37403
|
-
onClick: onClick,
|
|
37404
|
-
hoverEffect: hoverEffect,
|
|
37405
|
-
extraStyles: extraStyles,
|
|
37406
|
-
borderColor: themeValues.borderColor,
|
|
37407
|
-
hoverBackgroundColor: themeValues.hoverBackgroundColor
|
|
37408
|
-
}, props), children);
|
|
37409
|
-
};
|
|
37410
|
-
|
|
37411
|
-
var TableRow$1 = themeComponent(TableRow, "TableRow", fallbackValues$B);
|
|
37412
|
-
|
|
37413
|
-
var TableHead = function TableHead(_ref) {
|
|
37414
|
-
var children = _ref.children,
|
|
37415
|
-
_ref$extraStyles = _ref.extraStyles,
|
|
37416
|
-
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
37417
|
-
themeValues = _ref.themeValues;
|
|
37418
|
-
return /*#__PURE__*/React__default.createElement(StyledTableHead, {
|
|
37419
|
-
backgroundColor: themeValues.backgroundColor,
|
|
37420
|
-
borderColor: themeValues.borderColor
|
|
37421
|
-
}, /*#__PURE__*/React__default.createElement(TableRow$1, {
|
|
37422
|
-
extraStyles: extraStyles,
|
|
37423
|
-
hoverEffect: false
|
|
37424
|
-
}, children));
|
|
37425
|
-
};
|
|
37426
|
-
|
|
37427
|
-
var TableHead$1 = themeComponent(TableHead, "TableHead", fallbackValues$A);
|
|
37428
|
-
|
|
37429
|
-
var TableHeading_styled = styled__default.th.withConfig({
|
|
37430
|
-
displayName: "TableHeadingstyled",
|
|
37431
|
-
componentId: "sc-1ggk38d-0"
|
|
37432
|
-
})(["padding:", ";min-width:", ";text-align:left;&:last-child{text-align:right;}", ""], function (_ref) {
|
|
37433
|
-
var _ref$padding = _ref.padding,
|
|
37434
|
-
padding = _ref$padding === void 0 ? "24px" : _ref$padding;
|
|
37435
|
-
return padding;
|
|
37436
|
-
}, function (_ref2) {
|
|
37437
|
-
var _ref2$minWidth = _ref2.minWidth,
|
|
37438
|
-
minWidth = _ref2$minWidth === void 0 ? "initial" : _ref2$minWidth;
|
|
37439
|
-
return minWidth;
|
|
37440
|
-
}, function (_ref3) {
|
|
37441
|
-
var extraStyles = _ref3.extraStyles;
|
|
37442
|
-
return extraStyles;
|
|
37443
|
-
});
|
|
37444
|
-
|
|
37445
36356
|
const validatorToPredicate = (validatorFn, emptyCase) => (
|
|
37446
36357
|
value,
|
|
37447
36358
|
...rest
|
|
@@ -39344,9 +38255,9 @@ AddressForm.reducer = reducer;
|
|
|
39344
38255
|
AddressForm.mapStateToProps = mapStateToProps$1;
|
|
39345
38256
|
AddressForm.mapDispatchToProps = mapDispatchToProps;
|
|
39346
38257
|
|
|
39347
|
-
var backgroundColor$
|
|
39348
|
-
var fallbackValues$
|
|
39349
|
-
backgroundColor: backgroundColor$
|
|
38258
|
+
var backgroundColor$6 = "#ebeffb";
|
|
38259
|
+
var fallbackValues$z = {
|
|
38260
|
+
backgroundColor: backgroundColor$6
|
|
39350
38261
|
};
|
|
39351
38262
|
|
|
39352
38263
|
var Banner = function Banner(_ref) {
|
|
@@ -39397,7 +38308,7 @@ var Banner = function Banner(_ref) {
|
|
|
39397
38308
|
}, /*#__PURE__*/React__default.createElement(Image, null))));
|
|
39398
38309
|
};
|
|
39399
38310
|
|
|
39400
|
-
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$
|
|
38311
|
+
var Banner$1 = themeComponent(Banner, "Banner", fallbackValues$z);
|
|
39401
38312
|
|
|
39402
38313
|
var ChangePasswordForm = function ChangePasswordForm(_ref) {
|
|
39403
38314
|
var _newPasswordErrorMess;
|
|
@@ -39539,7 +38450,7 @@ ChangePasswordForm.mapDispatchToProps = mapDispatchToProps$1;
|
|
|
39539
38450
|
var titleColor$1 = "#292A33";
|
|
39540
38451
|
var headingBackgroundColor = "transparent";
|
|
39541
38452
|
var bodyBackgroundColor = "transparent";
|
|
39542
|
-
var fallbackValues$
|
|
38453
|
+
var fallbackValues$A = {
|
|
39543
38454
|
titleColor: titleColor$1,
|
|
39544
38455
|
headingBackgroundColor: headingBackgroundColor,
|
|
39545
38456
|
bodyBackgroundColor: bodyBackgroundColor
|
|
@@ -39666,7 +38577,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
39666
38577
|
}, children))));
|
|
39667
38578
|
};
|
|
39668
38579
|
|
|
39669
|
-
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$
|
|
38580
|
+
var CollapsibleSection$1 = themeComponent(CollapsibleSection, "CollapsibleSection", fallbackValues$A);
|
|
39670
38581
|
|
|
39671
38582
|
var ClipboardIcon = function ClipboardIcon(_ref) {
|
|
39672
38583
|
var themeValues = _ref.themeValues;
|
|
@@ -39927,8 +38838,8 @@ var EditableListItemControls = styled__default.div.withConfig({
|
|
|
39927
38838
|
componentId: "sc-10ehkz7-1"
|
|
39928
38839
|
})(["display:flex;justify-content:space-evenly;align-items:center;"]);
|
|
39929
38840
|
|
|
39930
|
-
var ACTIVE = "ACTIVE";
|
|
39931
|
-
var EXPIRED = "EXPIRED";
|
|
38841
|
+
var ACTIVE$1 = "ACTIVE";
|
|
38842
|
+
var EXPIRED$1 = "EXPIRED";
|
|
39932
38843
|
|
|
39933
38844
|
var EditableList = function EditableList(_ref) {
|
|
39934
38845
|
var _ref$title = _ref.title,
|
|
@@ -39957,16 +38868,13 @@ var EditableList = function EditableList(_ref) {
|
|
|
39957
38868
|
autoPayMethods = _ref.autoPayMethods,
|
|
39958
38869
|
_ref$as = _ref.as,
|
|
39959
38870
|
as = _ref$as === void 0 ? "p" : _ref$as,
|
|
39960
|
-
_ref$listPadding = _ref.listPadding,
|
|
39961
|
-
listPadding = _ref$listPadding === void 0 ? "0rem 0rem 1.5rem 0rem" : _ref$listPadding,
|
|
39962
38871
|
qaPrefix = _ref.qaPrefix,
|
|
39963
38872
|
ariaLabel = _ref.ariaLabel;
|
|
39964
38873
|
var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
|
|
39965
38874
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
39966
|
-
padding:
|
|
38875
|
+
padding: "0rem 0rem 1.5rem 0rem",
|
|
39967
38876
|
as: "section",
|
|
39968
|
-
"aria-labelledby":
|
|
39969
|
-
"aria-label": !title && typeof itemName === "string" ? "editable-list-".concat(createIdFromString(itemName)) : ""
|
|
38877
|
+
"aria-labelledby": "li"
|
|
39970
38878
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
39971
38879
|
childGap: "0rem"
|
|
39972
38880
|
}, title !== "" && /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -39975,8 +38883,7 @@ var EditableList = function EditableList(_ref) {
|
|
|
39975
38883
|
as: as,
|
|
39976
38884
|
weight: titleWeight,
|
|
39977
38885
|
color: CHARADE_GREY,
|
|
39978
|
-
extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;"
|
|
39979
|
-
id: typeof title === "string" ? "editable-list-".concat(createIdFromString(title)) : ""
|
|
38886
|
+
extraStyles: "letter-spacing: 0.29px; font-size: 1.125rem;"
|
|
39980
38887
|
}, title)), /*#__PURE__*/React__default.createElement(Box, {
|
|
39981
38888
|
padding: "0",
|
|
39982
38889
|
borderRadius: "4px",
|
|
@@ -39989,13 +38896,13 @@ var EditableList = function EditableList(_ref) {
|
|
|
39989
38896
|
modalOpen = _useState2[0],
|
|
39990
38897
|
toggleModal = _useState2[1];
|
|
39991
38898
|
|
|
39992
|
-
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE;
|
|
38899
|
+
var expiredItem = (_item$expirationStatu = item === null || item === void 0 ? void 0 : item.expirationStatus) !== null && _item$expirationStatu !== void 0 ? _item$expirationStatu : ACTIVE$1;
|
|
39993
38900
|
return /*#__PURE__*/React__default.createElement(EditableListItem, {
|
|
39994
38901
|
listItemSize: !!item.id && autoPayMethods !== null && autoPayMethods !== void 0 && autoPayMethods.some(function (methodID) {
|
|
39995
38902
|
return methodID === item.id;
|
|
39996
38903
|
}) ? "big" : listItemSize,
|
|
39997
38904
|
key: item.id || item,
|
|
39998
|
-
disabled: expiredItem === EXPIRED
|
|
38905
|
+
disabled: expiredItem === EXPIRED$1
|
|
39999
38906
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40000
38907
|
variant: "p",
|
|
40001
38908
|
color: CHARADE_GREY
|
|
@@ -40256,7 +39163,7 @@ EmailForm.mapDispatchToProps = mapDispatchToProps$3;
|
|
|
40256
39163
|
|
|
40257
39164
|
var footerBackgroundColor = BRIGHT_GREY;
|
|
40258
39165
|
var subfooterBackgroundColor = STORM_GREY;
|
|
40259
|
-
var fallbackValues$
|
|
39166
|
+
var fallbackValues$B = {
|
|
40260
39167
|
footerBackgroundColor: footerBackgroundColor,
|
|
40261
39168
|
subfooterBackgroundColor: subfooterBackgroundColor
|
|
40262
39169
|
};
|
|
@@ -40288,7 +39195,7 @@ var FooterWithSubfooter = function FooterWithSubfooter(_ref) {
|
|
|
40288
39195
|
}));
|
|
40289
39196
|
};
|
|
40290
39197
|
|
|
40291
|
-
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$
|
|
39198
|
+
var FooterWithSubfooter$1 = themeComponent(FooterWithSubfooter, "FooterWithSubfooter", fallbackValues$B);
|
|
40292
39199
|
|
|
40293
39200
|
var ForgotPasswordForm = function ForgotPasswordForm(_ref) {
|
|
40294
39201
|
var _EmailErrorMessages;
|
|
@@ -40338,11 +39245,11 @@ ForgotPasswordForm.reducer = reducer$4;
|
|
|
40338
39245
|
ForgotPasswordForm.mapStateToProps = mapStateToProps$5;
|
|
40339
39246
|
ForgotPasswordForm.mapDispatchToProps = mapDispatchToProps$4;
|
|
40340
39247
|
|
|
40341
|
-
var textColor$
|
|
40342
|
-
var backgroundColor$
|
|
40343
|
-
var fallbackValues$
|
|
40344
|
-
textColor: textColor$
|
|
40345
|
-
backgroundColor: backgroundColor$
|
|
39248
|
+
var textColor$3 = "#ffffff";
|
|
39249
|
+
var backgroundColor$7 = "#182848";
|
|
39250
|
+
var fallbackValues$C = {
|
|
39251
|
+
textColor: textColor$3,
|
|
39252
|
+
backgroundColor: backgroundColor$7
|
|
40346
39253
|
};
|
|
40347
39254
|
|
|
40348
39255
|
var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
@@ -40372,15 +39279,13 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40372
39279
|
maxWidth: "76.5rem"
|
|
40373
39280
|
}, /*#__PURE__*/React__default.createElement(Reel, {
|
|
40374
39281
|
padding: "0",
|
|
40375
|
-
childGap: "
|
|
39282
|
+
childGap: "4.5rem",
|
|
40376
39283
|
childWidth: "11rem",
|
|
40377
39284
|
justifyContent: "space-evenly",
|
|
40378
39285
|
disableScroll: true,
|
|
40379
39286
|
useOrderedList: useOrderedList,
|
|
40380
39287
|
useUnorderedList: useUnorderedList
|
|
40381
39288
|
}, repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesBefore), tabs.map(function (t, i) {
|
|
40382
|
-
var _t$toLowerCase;
|
|
40383
|
-
|
|
40384
39289
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
40385
39290
|
key: t,
|
|
40386
39291
|
borderSize: "3px",
|
|
@@ -40388,8 +39293,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40388
39293
|
borderWidthOverride: "0 0 3px 0",
|
|
40389
39294
|
extraStyles: "text-align: center; display: block;",
|
|
40390
39295
|
as: "li",
|
|
40391
|
-
"aria-current": highlightIndex == i ? "step" : ""
|
|
40392
|
-
id: "".concat(t === null || t === void 0 ? void 0 : (_t$toLowerCase = t.toLowerCase()) === null || _t$toLowerCase === void 0 ? void 0 : _t$toLowerCase.replace(/\s/g, "-"), "-tab")
|
|
39296
|
+
"aria-current": highlightIndex == i ? "step" : ""
|
|
40393
39297
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
40394
39298
|
variant: "p",
|
|
40395
39299
|
textAlign: "center",
|
|
@@ -40400,7 +39304,7 @@ var HighlightTabRow = function HighlightTabRow(_ref) {
|
|
|
40400
39304
|
}), repeat( /*#__PURE__*/React__default.createElement(Box, null), boxesAfter))));
|
|
40401
39305
|
};
|
|
40402
39306
|
|
|
40403
|
-
var HighlightTabRow$1 = themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$
|
|
39307
|
+
var HighlightTabRow$1 = /*#__PURE__*/React.memo(themeComponent(HighlightTabRow, "HighlightTabRow", fallbackValues$C));
|
|
40404
39308
|
|
|
40405
39309
|
var AccountBillIcon = function AccountBillIcon() {
|
|
40406
39310
|
return /*#__PURE__*/React__default.createElement("svg", {
|
|
@@ -45547,12 +44451,12 @@ var borderRadius = {
|
|
|
45547
44451
|
largeTitle: "0.25rem",
|
|
45548
44452
|
small: "0.25rem"
|
|
45549
44453
|
};
|
|
45550
|
-
var backgroundColor$
|
|
44454
|
+
var backgroundColor$8 = {
|
|
45551
44455
|
"default": WHITE,
|
|
45552
44456
|
largeTitle: WHITE,
|
|
45553
44457
|
small: WHITE
|
|
45554
44458
|
};
|
|
45555
|
-
var fallbackValues$
|
|
44459
|
+
var fallbackValues$D = {
|
|
45556
44460
|
fontSize: fontSize$9,
|
|
45557
44461
|
fontWeight: fontWeight$5,
|
|
45558
44462
|
fontColor: fontColor,
|
|
@@ -45562,7 +44466,7 @@ var fallbackValues$G = {
|
|
|
45562
44466
|
titleSpacing: titleSpacing,
|
|
45563
44467
|
boxShadow: boxShadow$1,
|
|
45564
44468
|
borderRadius: borderRadius,
|
|
45565
|
-
backgroundColor: backgroundColor$
|
|
44469
|
+
backgroundColor: backgroundColor$8
|
|
45566
44470
|
};
|
|
45567
44471
|
|
|
45568
44472
|
/*
|
|
@@ -45589,28 +44493,19 @@ var Module = function Module(_ref) {
|
|
|
45589
44493
|
variant = _ref$variant === void 0 ? "default" : _ref$variant,
|
|
45590
44494
|
fontSize = _ref.fontSize,
|
|
45591
44495
|
as = _ref.as,
|
|
45592
|
-
_ref$titleID = _ref.titleID,
|
|
45593
|
-
titleID = _ref$titleID === void 0 ? "" : _ref$titleID,
|
|
45594
|
-
rightTitleContent = _ref.rightTitleContent,
|
|
45595
44496
|
children = _ref.children;
|
|
45596
44497
|
var themedFontSize = variant === "small" ? "1.25rem" : variant === "default" ? "1.375rem" : "2rem";
|
|
45597
44498
|
var computedFontSize = fontSize || themedFontSize;
|
|
45598
44499
|
var themedElemType = variant === "small" ? "h6" : variant === "default" ? "h5" : "h2";
|
|
45599
44500
|
var computedElemType = as || themedElemType;
|
|
45600
|
-
|
|
44501
|
+
return /*#__PURE__*/React__default.createElement(React.Fragment, null, heading && /*#__PURE__*/React__default.createElement(Title$1, {
|
|
45601
44502
|
weight: themeValues.fontWeight,
|
|
45602
44503
|
color: themeValues.fontColor,
|
|
45603
44504
|
margin: "".concat(spacing, " 0 ").concat(themeValues.titleSpacing, " 0"),
|
|
45604
44505
|
textAlign: themeValues.textAlign,
|
|
45605
44506
|
as: computedElemType,
|
|
45606
|
-
extraStyles: "font-size: ".concat(computedFontSize, ";")
|
|
45607
|
-
|
|
45608
|
-
}, heading);
|
|
45609
|
-
return /*#__PURE__*/React__default.createElement(React.Fragment, null, heading && !rightTitleContent && headingText, heading && rightTitleContent && /*#__PURE__*/React__default.createElement(Cluster, {
|
|
45610
|
-
justify: "space-between",
|
|
45611
|
-
align: "center",
|
|
45612
|
-
nowrap: true
|
|
45613
|
-
}, headingText, rightTitleContent), /*#__PURE__*/React__default.createElement(Box, {
|
|
44507
|
+
extraStyles: "font-size: ".concat(computedFontSize, ";")
|
|
44508
|
+
}, heading), /*#__PURE__*/React__default.createElement(Box, {
|
|
45614
44509
|
padding: "0 0 ".concat(spacingBottom)
|
|
45615
44510
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
45616
44511
|
padding: padding,
|
|
@@ -45620,9 +44515,9 @@ var Module = function Module(_ref) {
|
|
|
45620
44515
|
}, children)));
|
|
45621
44516
|
};
|
|
45622
44517
|
|
|
45623
|
-
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$
|
|
44518
|
+
var Module$1 = /*#__PURE__*/React.memo(themeComponent(Module, "Module", fallbackValues$D, "default"));
|
|
45624
44519
|
|
|
45625
|
-
var backgroundColor$
|
|
44520
|
+
var backgroundColor$9 = {
|
|
45626
44521
|
profile: "#3b414d",
|
|
45627
44522
|
cms: "#3b414d"
|
|
45628
44523
|
};
|
|
@@ -45630,8 +44525,8 @@ var shadowColor = {
|
|
|
45630
44525
|
profile: "#292A33",
|
|
45631
44526
|
cms: "#292A33"
|
|
45632
44527
|
};
|
|
45633
|
-
var fallbackValues$
|
|
45634
|
-
backgroundColor: backgroundColor$
|
|
44528
|
+
var fallbackValues$E = {
|
|
44529
|
+
backgroundColor: backgroundColor$9,
|
|
45635
44530
|
shadowColor: shadowColor
|
|
45636
44531
|
};
|
|
45637
44532
|
|
|
@@ -45671,7 +44566,7 @@ var NavMenuDesktop = function NavMenuDesktop(_ref) {
|
|
|
45671
44566
|
}, menuContent));
|
|
45672
44567
|
};
|
|
45673
44568
|
|
|
45674
|
-
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$
|
|
44569
|
+
var NavMenuDesktop$1 = themeComponent(NavMenuDesktop, "NavMenu", fallbackValues$E, "profile");
|
|
45675
44570
|
|
|
45676
44571
|
var menu = posed.div({
|
|
45677
44572
|
invisible: {
|
|
@@ -45706,25 +44601,19 @@ var menu = posed.div({
|
|
|
45706
44601
|
var ImposterMenu = styled__default(menu).withConfig({
|
|
45707
44602
|
displayName: "NavMenuMobile__ImposterMenu",
|
|
45708
44603
|
componentId: "sc-1pf0qp7-0"
|
|
45709
|
-
})(["position:fixed;top:
|
|
45710
|
-
var headerSize = _ref.headerSize;
|
|
45711
|
-
return headerSize;
|
|
45712
|
-
});
|
|
44604
|
+
})(["position:fixed;top:72px;"]);
|
|
45713
44605
|
|
|
45714
|
-
var NavMenuMobile = function NavMenuMobile(
|
|
45715
|
-
var id =
|
|
45716
|
-
|
|
45717
|
-
menuContent =
|
|
45718
|
-
|
|
45719
|
-
visible =
|
|
45720
|
-
|
|
45721
|
-
headerSize = _ref2$headerSize === void 0 ? "72px" : _ref2$headerSize,
|
|
45722
|
-
themeValues = _ref2.themeValues;
|
|
44606
|
+
var NavMenuMobile = function NavMenuMobile(_ref) {
|
|
44607
|
+
var id = _ref.id,
|
|
44608
|
+
_ref$menuContent = _ref.menuContent,
|
|
44609
|
+
menuContent = _ref$menuContent === void 0 ? [] : _ref$menuContent,
|
|
44610
|
+
_ref$visible = _ref.visible,
|
|
44611
|
+
visible = _ref$visible === void 0 ? false : _ref$visible,
|
|
44612
|
+
themeValues = _ref.themeValues;
|
|
45723
44613
|
return /*#__PURE__*/React__default.createElement(ImposterMenu, {
|
|
45724
44614
|
id: id,
|
|
45725
44615
|
initialPose: "invisible",
|
|
45726
|
-
pose: visible ? "visible" : "invisible"
|
|
45727
|
-
headerSize: headerSize
|
|
44616
|
+
pose: visible ? "visible" : "invisible"
|
|
45728
44617
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
45729
44618
|
width: "100vw",
|
|
45730
44619
|
padding: "1rem 0.5rem",
|
|
@@ -45733,11 +44622,7 @@ var NavMenuMobile = function NavMenuMobile(_ref2) {
|
|
|
45733
44622
|
}, menuContent));
|
|
45734
44623
|
};
|
|
45735
44624
|
|
|
45736
|
-
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$
|
|
45737
|
-
|
|
45738
|
-
var ACH_METHOD = "BANK_ACCOUNT";
|
|
45739
|
-
var CC_METHOD = "CREDIT_CARD";
|
|
45740
|
-
var CASH_METHOD = "CASH";
|
|
44625
|
+
var NavMenuMobile$1 = themeComponent(NavMenuMobile, "NavMenu", fallbackValues$E, "profile");
|
|
45741
44626
|
|
|
45742
44627
|
var IconsModule = function IconsModule(_ref) {
|
|
45743
44628
|
var icon = _ref.icon,
|
|
@@ -45794,7 +44679,7 @@ var activeColor$7 = "#0E506D";
|
|
|
45794
44679
|
var linkColor$4 = "#3176AA";
|
|
45795
44680
|
var fontWeight$6 = FONT_WEIGHT_REGULAR;
|
|
45796
44681
|
var modalLinkHoverFocus = "outline: none;\n cursor: pointer;\n text-decoration: underline;\n text-decoration-color: #317D4F;";
|
|
45797
|
-
var fallbackValues$
|
|
44682
|
+
var fallbackValues$F = {
|
|
45798
44683
|
color: color$a,
|
|
45799
44684
|
hoverColor: hoverColor$5,
|
|
45800
44685
|
activeColor: activeColor$7,
|
|
@@ -45818,27 +44703,13 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45818
44703
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
45819
44704
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
45820
44705
|
dueDate = _ref.dueDate,
|
|
45821
|
-
inactive = _ref.inactive
|
|
45822
|
-
|
|
45823
|
-
subDescription = _ref.subDescription,
|
|
45824
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
45825
|
-
|
|
45826
|
-
var generateMethodNeededText = function generateMethodNeededText(planText, allowedPaymentInstruments) {
|
|
45827
|
-
var allowsCard = allowedPaymentInstruments.includes(CC_METHOD);
|
|
45828
|
-
var allowsACH = allowedPaymentInstruments.includes(ACH_METHOD);
|
|
45829
|
-
var methodRequired = allowsCard && !allowsACH ? "debit or credit card payment method" : !allowsCard && allowsACH ? "checking account payment method" : "payment method";
|
|
45830
|
-
return "To setup ".concat(planText, " you must have a saved ").concat(methodRequired, " and address in your profile. Do you want to save these now?");
|
|
45831
|
-
};
|
|
45832
|
-
|
|
45833
|
-
var plan = isPaymentPlan ? "your payment plan" : "autopay";
|
|
45834
|
-
var shortPlan = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45835
|
-
var deactivateText = "deactivate ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
45836
|
-
var activateText = "Set Up ".concat(shortPlan, " for ").concat(description, ": ").concat(subDescription);
|
|
44706
|
+
inactive = _ref.inactive;
|
|
44707
|
+
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45837
44708
|
var nextDate = dueDate || nextAutopayDate;
|
|
45838
44709
|
var modalExtraProps = {
|
|
45839
|
-
modalHeaderText: autoPayActive ?
|
|
45840
|
-
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(plan, "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") :
|
|
45841
|
-
continueButtonText: autoPayActive ? "Disable ".concat(
|
|
44710
|
+
modalHeaderText: autoPayActive ? "Deactivate ".concat(planType) : "Set Up ".concat(planType),
|
|
44711
|
+
modalBodyText: autoPayActive ? "Are you sure you want to deactivate ".concat(isPaymentPlan ? "your payment plan" : "autopay", "? ").concat(!inactive && nextDate ? "Your next payment will be due on ".concat(nextDate, ".") : "") : "To set up ".concat(isPaymentPlan ? "a payment plan" : "autopay", " you must save a payment method and address in your profile. Do you want to save these now?"),
|
|
44712
|
+
continueButtonText: autoPayActive ? "Disable ".concat(planType) : "Add to Profile",
|
|
45842
44713
|
useDangerButton: autoPayActive,
|
|
45843
44714
|
continueAction: autoPayActive ? function () {
|
|
45844
44715
|
deactivatePaymentSchedule(isPaymentPlan ? paymentPlanSchedule : autoPaySchedule, isPaymentPlan);
|
|
@@ -45854,7 +44725,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45854
44725
|
case "secondary":
|
|
45855
44726
|
{
|
|
45856
44727
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
45857
|
-
text: autoPayActive ? "Turn off ".concat(
|
|
44728
|
+
text: autoPayActive ? "Turn off ".concat(planType) : "Set Up ".concat(planType),
|
|
45858
44729
|
variant: "secondary",
|
|
45859
44730
|
action: function action() {
|
|
45860
44731
|
toggleModal(true);
|
|
@@ -45867,7 +44738,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45867
44738
|
case "tertiary":
|
|
45868
44739
|
{
|
|
45869
44740
|
return /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
45870
|
-
text: autoPayActive ? "Manage ".concat(
|
|
44741
|
+
text: autoPayActive ? "Manage ".concat(planType) : "Set Up ".concat(planType),
|
|
45871
44742
|
variant: "tertiary",
|
|
45872
44743
|
action: function action() {
|
|
45873
44744
|
toggleModal(true);
|
|
@@ -45899,12 +44770,12 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45899
44770
|
e.key === "Enter" && toggleModal(true);
|
|
45900
44771
|
},
|
|
45901
44772
|
tabIndex: "0",
|
|
45902
|
-
dataQa: "".concat(
|
|
44773
|
+
dataQa: "".concat(planType, " On"),
|
|
45903
44774
|
color: SEA_GREEN,
|
|
45904
44775
|
weight: themeValues.fontWeight,
|
|
45905
44776
|
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
45906
44777
|
extraStyles: "padding-left: 0.25rem;"
|
|
45907
|
-
}, "".concat(
|
|
44778
|
+
}, "".concat(planType, " ").concat(nextAutopayDate))));
|
|
45908
44779
|
}
|
|
45909
44780
|
}
|
|
45910
44781
|
};
|
|
@@ -45920,7 +44791,7 @@ var AutopayModal = function AutopayModal(_ref) {
|
|
|
45920
44791
|
}, modalExtraProps), renderAutoPayControl());
|
|
45921
44792
|
};
|
|
45922
44793
|
|
|
45923
|
-
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$
|
|
44794
|
+
var AutopayModalModule = themeComponent(AutopayModal, "AutopayModal", fallbackValues$F);
|
|
45924
44795
|
|
|
45925
44796
|
var AmountModule = function AmountModule(_ref) {
|
|
45926
44797
|
var totalAmountDue = _ref.totalAmountDue,
|
|
@@ -45931,10 +44802,7 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
45931
44802
|
autoPaySchedule = _ref.autoPaySchedule,
|
|
45932
44803
|
paymentPlanSchedule = _ref.paymentPlanSchedule,
|
|
45933
44804
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
45934
|
-
nextAutopayDate = _ref.nextAutopayDate
|
|
45935
|
-
description = _ref.description,
|
|
45936
|
-
subDescription = _ref.subDescription,
|
|
45937
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
44805
|
+
nextAutopayDate = _ref.nextAutopayDate;
|
|
45938
44806
|
|
|
45939
44807
|
var _useState = React.useState(false),
|
|
45940
44808
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -45963,10 +44831,7 @@ var AmountModule = function AmountModule(_ref) {
|
|
|
45963
44831
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
45964
44832
|
isPaymentPlan: isPaymentPlan,
|
|
45965
44833
|
nextAutopayDate: nextAutopayDate,
|
|
45966
|
-
controlType: "link"
|
|
45967
|
-
description: description,
|
|
45968
|
-
subDescription: subDescription,
|
|
45969
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44834
|
+
controlType: "link"
|
|
45970
44835
|
})));
|
|
45971
44836
|
};
|
|
45972
44837
|
|
|
@@ -45985,10 +44850,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
45985
44850
|
isPaymentPlan = _ref.isPaymentPlan,
|
|
45986
44851
|
nextAutopayDate = _ref.nextAutopayDate,
|
|
45987
44852
|
obligationAssocID = _ref.obligationAssocID,
|
|
45988
|
-
dueDate = _ref.dueDate
|
|
45989
|
-
description = _ref.description,
|
|
45990
|
-
subDescription = _ref.subDescription,
|
|
45991
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
44853
|
+
dueDate = _ref.dueDate;
|
|
45992
44854
|
var planType = isPaymentPlan ? "Payment Plan" : "Autopay";
|
|
45993
44855
|
|
|
45994
44856
|
var _useState = React.useState(false),
|
|
@@ -46044,10 +44906,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46044
44906
|
autoPaySchedule: autoPaySchedule,
|
|
46045
44907
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
46046
44908
|
isPaymentPlan: isPaymentPlan,
|
|
46047
|
-
nextAutopayDate: nextAutopayDate
|
|
46048
|
-
description: description,
|
|
46049
|
-
subDescription: subDescription,
|
|
46050
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44909
|
+
nextAutopayDate: nextAutopayDate
|
|
46051
44910
|
}))), /*#__PURE__*/React__default.createElement(Box, {
|
|
46052
44911
|
padding: isMobile ? "16px" : "0"
|
|
46053
44912
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
@@ -46087,10 +44946,7 @@ var PaymentDetailsActions = function PaymentDetailsActions(_ref) {
|
|
|
46087
44946
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
46088
44947
|
isPaymentPlan: isPaymentPlan,
|
|
46089
44948
|
nextAutopayDate: nextAutopayDate,
|
|
46090
|
-
dueDate: dueDate
|
|
46091
|
-
description: description,
|
|
46092
|
-
subDescription: subDescription,
|
|
46093
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
44949
|
+
dueDate: dueDate
|
|
46094
44950
|
})), !isMobile && /*#__PURE__*/React__default.createElement(Box, {
|
|
46095
44951
|
padding: "0"
|
|
46096
44952
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
@@ -46180,10 +45036,7 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46180
45036
|
dueDate = _ref.dueDate,
|
|
46181
45037
|
agencyName = _ref.agencyName,
|
|
46182
45038
|
configType = _ref.configType,
|
|
46183
|
-
actions = _ref.actions
|
|
46184
|
-
description = _ref.description,
|
|
46185
|
-
subDescription = _ref.subDescription,
|
|
46186
|
-
allowedPaymentInstruments = _ref.allowedPaymentInstruments;
|
|
45039
|
+
actions = _ref.actions;
|
|
46187
45040
|
|
|
46188
45041
|
var _useState = React.useState(false),
|
|
46189
45042
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -46222,10 +45075,7 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
46222
45075
|
obligationAssocID: obligationAssocID,
|
|
46223
45076
|
dueDate: dueDate,
|
|
46224
45077
|
controlType: "secondary",
|
|
46225
|
-
inactive: true
|
|
46226
|
-
description: description,
|
|
46227
|
-
subDescription: subDescription,
|
|
46228
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45078
|
+
inactive: true
|
|
46229
45079
|
})), /*#__PURE__*/React__default.createElement(Box, {
|
|
46230
45080
|
padding: "0",
|
|
46231
45081
|
extraStyles: "flex-grow: 1;"
|
|
@@ -46267,7 +45117,7 @@ var InactiveTitleModule = function InactiveTitleModule(_ref) {
|
|
|
46267
45117
|
};
|
|
46268
45118
|
|
|
46269
45119
|
var Obligation = function Obligation(_ref) {
|
|
46270
|
-
var
|
|
45120
|
+
var _firstObligation$cust, _firstObligation$desc, _firstObligation$subD;
|
|
46271
45121
|
|
|
46272
45122
|
var config = _ref.config,
|
|
46273
45123
|
obligations = _ref.obligations,
|
|
@@ -46302,13 +45152,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46302
45152
|
The top level desc/subdesc for all obligations in a collection is the same
|
|
46303
45153
|
(Collection accounts look different in the Account Details page)
|
|
46304
45154
|
*/
|
|
46305
|
-
var firstObligation =
|
|
46306
|
-
var _firstObligation$allo = firstObligation.allowedPaymentInstruments,
|
|
46307
|
-
allowedPaymentInstruments = _firstObligation$allo === void 0 ? [CASH_METHOD, CC_METHOD, ACH_METHOD] : _firstObligation$allo,
|
|
46308
|
-
_firstObligation$desc = firstObligation.description,
|
|
46309
|
-
description = _firstObligation$desc === void 0 ? "Account" : _firstObligation$desc,
|
|
46310
|
-
_firstObligation$subD = firstObligation.subDescription,
|
|
46311
|
-
subDescription = _firstObligation$subD === void 0 ? obligationAssocID : _firstObligation$subD;
|
|
45155
|
+
var firstObligation = obligations[0];
|
|
46312
45156
|
var customAttributes = (_firstObligation$cust = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.customAttributes) !== null && _firstObligation$cust !== void 0 ? _firstObligation$cust : {};
|
|
46313
45157
|
var boxShadowValue = "0px 2px 4px rgba(41, 42, 51, 0.1), 0px 1px 1px 2px rgba(41, 42, 51, 0.1);";
|
|
46314
45158
|
var activeObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -46316,7 +45160,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46316
45160
|
borderRadius: "4px",
|
|
46317
45161
|
boxShadow: boxShadowValue,
|
|
46318
45162
|
as: "section",
|
|
46319
|
-
"aria-label": "".concat(description, "
|
|
45163
|
+
"aria-label": "".concat((_firstObligation$desc = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description) !== null && _firstObligation$desc !== void 0 ? _firstObligation$desc : "account", " ").concat((_firstObligation$subD = firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription) !== null && _firstObligation$subD !== void 0 ? _firstObligation$subD : obligationAssocID),
|
|
46320
45164
|
border: "1px solid ".concat(GRECIAN_GREY),
|
|
46321
45165
|
borderWidthOverride: "1px 0 0 0"
|
|
46322
45166
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
@@ -46345,8 +45189,8 @@ var Obligation = function Obligation(_ref) {
|
|
|
46345
45189
|
iconValue: config.iconValue,
|
|
46346
45190
|
customAttributes: customAttributes
|
|
46347
45191
|
}), /*#__PURE__*/React__default.createElement(TitleModule, {
|
|
46348
|
-
title: description,
|
|
46349
|
-
subtitle: subDescription,
|
|
45192
|
+
title: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.description,
|
|
45193
|
+
subtitle: firstObligation === null || firstObligation === void 0 ? void 0 : firstObligation.subDescription,
|
|
46350
45194
|
titleColor: BRIGHT_GREY,
|
|
46351
45195
|
isMobile: isMobile
|
|
46352
45196
|
}))), !isMobile && /*#__PURE__*/React__default.createElement(AmountModule, {
|
|
@@ -46360,10 +45204,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46360
45204
|
autoPaySchedule: autoPaySchedule,
|
|
46361
45205
|
paymentPlanSchedule: paymentPlanSchedule,
|
|
46362
45206
|
isPaymentPlan: isPaymentPlan,
|
|
46363
|
-
nextAutopayDate: nextAutopayDate
|
|
46364
|
-
description: description,
|
|
46365
|
-
subDescription: subDescription,
|
|
46366
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45207
|
+
nextAutopayDate: nextAutopayDate
|
|
46367
45208
|
}))), !isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
46368
45209
|
obligations: obligations,
|
|
46369
45210
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -46378,10 +45219,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46378
45219
|
isMobile: isMobile,
|
|
46379
45220
|
isPaymentPlan: isPaymentPlan,
|
|
46380
45221
|
nextAutopayDate: nextAutopayDate,
|
|
46381
|
-
obligationAssocID: obligationAssocID
|
|
46382
|
-
description: description,
|
|
46383
|
-
subDescription: subDescription,
|
|
46384
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45222
|
+
obligationAssocID: obligationAssocID
|
|
46385
45223
|
}))), isMobile && /*#__PURE__*/React__default.createElement(PaymentDetailsActions, {
|
|
46386
45224
|
obligations: obligations,
|
|
46387
45225
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -46396,10 +45234,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46396
45234
|
isMobile: isMobile,
|
|
46397
45235
|
isPaymentPlan: isPaymentPlan,
|
|
46398
45236
|
nextAutopayDate: nextAutopayDate,
|
|
46399
|
-
obligationAssocID: obligationAssocID
|
|
46400
|
-
description: description,
|
|
46401
|
-
subDescription: subDescription,
|
|
46402
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45237
|
+
obligationAssocID: obligationAssocID
|
|
46403
45238
|
}));
|
|
46404
45239
|
var inactiveObligation = /*#__PURE__*/React__default.createElement(Box, {
|
|
46405
45240
|
padding: "0",
|
|
@@ -46452,10 +45287,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46452
45287
|
obligationAssocID: obligationAssocID,
|
|
46453
45288
|
dueDate: dueDate,
|
|
46454
45289
|
agencyName: agencyName,
|
|
46455
|
-
configType: config.type
|
|
46456
|
-
description: description,
|
|
46457
|
-
subDescription: subDescription,
|
|
46458
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45290
|
+
configType: config.type
|
|
46459
45291
|
}))), isMobile && /*#__PURE__*/React__default.createElement(InactiveControlsModule, {
|
|
46460
45292
|
obligations: obligations,
|
|
46461
45293
|
autoPayEnabled: autoPayEnabled,
|
|
@@ -46469,10 +45301,7 @@ var Obligation = function Obligation(_ref) {
|
|
|
46469
45301
|
obligationAssocID: obligationAssocID,
|
|
46470
45302
|
dueDate: dueDate,
|
|
46471
45303
|
agencyName: agencyName,
|
|
46472
|
-
configType: config.type
|
|
46473
|
-
description: description,
|
|
46474
|
-
subDescription: subDescription,
|
|
46475
|
-
allowedPaymentInstruments: allowedPaymentInstruments
|
|
45304
|
+
configType: config.type
|
|
46476
45305
|
}))));
|
|
46477
45306
|
return inactive ? inactiveObligation : activeObligation;
|
|
46478
45307
|
};
|
|
@@ -46572,54 +45401,24 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
|
|
|
46572
45401
|
};
|
|
46573
45402
|
};
|
|
46574
45403
|
|
|
46575
|
-
var arrowColor = WHITE;
|
|
46576
|
-
var numberColor = MATISSE_BLUE;
|
|
46577
|
-
var hoverBackgroundColor$2 = ALABASTER_WHITE;
|
|
46578
|
-
var activeBackgroundColor$1 = WHITE;
|
|
46579
|
-
var activeColor$8 = MATISSE_BLUE;
|
|
46580
|
-
var fallbackValues$J = {
|
|
46581
|
-
activeColor: activeColor$8,
|
|
46582
|
-
activeBackgroundColor: activeBackgroundColor$1,
|
|
46583
|
-
arrowColor: arrowColor,
|
|
46584
|
-
hoverBackgroundColor: hoverBackgroundColor$2,
|
|
46585
|
-
numberColor: numberColor
|
|
46586
|
-
};
|
|
46587
|
-
|
|
46588
45404
|
var PAGING_SPACE = 2; // how many pages we want to have before/after delimiter
|
|
46589
45405
|
|
|
46590
45406
|
var PAGING_INIT_SPACE = 3; // first delimiter should appear after 3 pages
|
|
46591
45407
|
|
|
46592
|
-
var
|
|
46593
|
-
var
|
|
46594
|
-
|
|
46595
|
-
|
|
46596
|
-
|
|
46597
|
-
minHeight: buttonHeight,
|
|
46598
|
-
minWidth: buttonWidth,
|
|
46599
|
-
extraStyles: "max-height: ".concat(buttonHeight, ";")
|
|
46600
|
-
});
|
|
46601
|
-
};
|
|
46602
|
-
|
|
46603
|
-
var PrevNextButton = function PrevNextButton(_ref2) {
|
|
46604
|
-
var action = _ref2.action,
|
|
46605
|
-
ariaLabel = _ref2.ariaLabel,
|
|
46606
|
-
arrowColor = _ref2.arrowColor,
|
|
46607
|
-
borderRadius = _ref2.borderRadius,
|
|
46608
|
-
buttonHeight = _ref2.buttonHeight,
|
|
46609
|
-
buttonWidth = _ref2.buttonWidth,
|
|
46610
|
-
numberColor = _ref2.numberColor,
|
|
46611
|
-
type = _ref2.type;
|
|
45408
|
+
var PrevNextButton = function PrevNextButton(_ref) {
|
|
45409
|
+
var action = _ref.action,
|
|
45410
|
+
type = _ref.type,
|
|
45411
|
+
arrowColor = _ref.arrowColor,
|
|
45412
|
+
numberColor = _ref.numberColor;
|
|
46612
45413
|
return /*#__PURE__*/React__default.createElement(Box, {
|
|
46613
|
-
padding: "0",
|
|
46614
|
-
minHeight:
|
|
46615
|
-
extraStyles: "max-height:
|
|
46616
|
-
as: "li"
|
|
45414
|
+
padding: "0 10px 0",
|
|
45415
|
+
minHeight: "40px",
|
|
45416
|
+
extraStyles: "max-height: 40px;"
|
|
46617
45417
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46618
45418
|
action: action,
|
|
46619
45419
|
contentOverride: true,
|
|
46620
45420
|
dataQa: type,
|
|
46621
|
-
"
|
|
46622
|
-
extraStyles: "\n background-color: ".concat(numberColor, ";\n border-color: ").concat(numberColor, ";\n border-radius: ").concat(borderRadius, ";\n margin: 0;\n max-height: ").concat(buttonHeight, ";\n min-height: 100%;\n min-width: ").concat(buttonWidth, ";\n padding: 0;\n ")
|
|
45421
|
+
extraStyles: "\n min-width: 40px;\n min-height: 100%;\n max-height: 40px;\n padding: 6px;\n border-radius: 3px;\n background-color: ".concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE, ";\n border-color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE, "\n ")
|
|
46623
45422
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
46624
45423
|
padding: "0",
|
|
46625
45424
|
extraStyles: type === "prev" && "transform: scaleX(-1)"
|
|
@@ -46643,30 +45442,26 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
46643
45442
|
|
|
46644
45443
|
if (page > space + 1) {
|
|
46645
45444
|
pages.push({
|
|
46646
|
-
isDelimiter: true
|
|
46647
|
-
id: "first-delimiter"
|
|
45445
|
+
isDelimiter: true
|
|
46648
45446
|
});
|
|
46649
45447
|
}
|
|
46650
45448
|
|
|
46651
45449
|
for (var j = Math.max(1, page - space) + 1; j < Math.min(lastPageNumber, page + space); j++) {
|
|
46652
45450
|
pages.push({
|
|
46653
45451
|
index: j,
|
|
46654
|
-
isButton: true
|
|
46655
|
-
id: "page-".concat(j)
|
|
45452
|
+
isButton: true
|
|
46656
45453
|
});
|
|
46657
45454
|
}
|
|
46658
45455
|
|
|
46659
45456
|
if (page < lastPageNumber - space) {
|
|
46660
45457
|
pages.push({
|
|
46661
|
-
isDelimiter: true
|
|
46662
|
-
id: "last-delimiter"
|
|
45458
|
+
isDelimiter: true
|
|
46663
45459
|
});
|
|
46664
45460
|
}
|
|
46665
45461
|
|
|
46666
45462
|
pages.push({
|
|
46667
45463
|
index: lastPageNumber,
|
|
46668
|
-
isButton: true
|
|
46669
|
-
id: "page-".concat(lastPageNumber)
|
|
45464
|
+
isButton: true
|
|
46670
45465
|
});
|
|
46671
45466
|
var activePage = pages.find(function (p) {
|
|
46672
45467
|
return p.index === page;
|
|
@@ -46679,114 +45474,59 @@ var getPagesPanel = function getPagesPanel(page, pagesCount) {
|
|
|
46679
45474
|
return pages;
|
|
46680
45475
|
};
|
|
46681
45476
|
|
|
46682
|
-
var Pagination = function Pagination(
|
|
46683
|
-
var
|
|
46684
|
-
|
|
46685
|
-
|
|
46686
|
-
|
|
46687
|
-
|
|
46688
|
-
|
|
46689
|
-
|
|
46690
|
-
_ref3$buttonWidth = _ref3.buttonWidth,
|
|
46691
|
-
buttonWidth = _ref3$buttonWidth === void 0 ? "44px" : _ref3$buttonWidth,
|
|
46692
|
-
_ref3$childGap = _ref3.childGap,
|
|
46693
|
-
childGap = _ref3$childGap === void 0 ? "24px" : _ref3$childGap,
|
|
46694
|
-
currentPage = _ref3.currentPage,
|
|
46695
|
-
_ref3$fontSize = _ref3.fontSize,
|
|
46696
|
-
fontSize = _ref3$fontSize === void 0 ? "17px" : _ref3$fontSize,
|
|
46697
|
-
_ref3$fontWeight = _ref3.fontWeight,
|
|
46698
|
-
fontWeight = _ref3$fontWeight === void 0 ? "900" : _ref3$fontWeight,
|
|
46699
|
-
numberColor = _ref3.numberColor,
|
|
46700
|
-
pageCount = _ref3.pageCount,
|
|
46701
|
-
pageNext = _ref3.pageNext,
|
|
46702
|
-
pagePrevious = _ref3.pagePrevious,
|
|
46703
|
-
setCurrentPage = _ref3.setCurrentPage,
|
|
46704
|
-
ariaLabel = _ref3.ariaLabel,
|
|
46705
|
-
themeValues = _ref3.themeValues;
|
|
46706
|
-
|
|
46707
|
-
var _useContext = React.useContext(styled.ThemeContext),
|
|
46708
|
-
isMobile = _useContext.isMobile;
|
|
46709
|
-
|
|
46710
|
-
var extraStyles = "\n min-width: ".concat(buttonWidth, "; min-height: 100%; padding: 0;\n border-radius: ").concat(borderRadius, ";\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, "\n }\n margin: 0;\n &:hover {\n background-color: ").concat(themeValues.hoverBackgroundColor, "\n }\n ");
|
|
46711
|
-
var currentPageStyles = "\n border: ".concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n color: ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.activeColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n &:focus {\n box-shadow: none;\n }\n &:hover {\n background-color: initial;\n border: ").concat(activeBorderWidth, " solid ").concat(numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor, ";\n background-color: ").concat(themeValues.activeBackgroundColor, ";\n }\n ");
|
|
45477
|
+
var Pagination = function Pagination(_ref2) {
|
|
45478
|
+
var pagePrevious = _ref2.pagePrevious,
|
|
45479
|
+
pageNext = _ref2.pageNext,
|
|
45480
|
+
setCurrentPage = _ref2.setCurrentPage,
|
|
45481
|
+
currentPage = _ref2.currentPage,
|
|
45482
|
+
pageCount = _ref2.pageCount,
|
|
45483
|
+
numberColor = _ref2.numberColor,
|
|
45484
|
+
arrowColor = _ref2.arrowColor;
|
|
46712
45485
|
return /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46713
45486
|
justify: "center",
|
|
46714
|
-
childGap:
|
|
46715
|
-
|
|
46716
|
-
|
|
46717
|
-
role: "navigation",
|
|
46718
|
-
innerWrapperAs: "ul",
|
|
46719
|
-
"aria-label": ariaLabel,
|
|
46720
|
-
extraStyles: "> ul { padding: 0px; > li { list-style-type: none; } };"
|
|
46721
|
-
}, currentPage > 1 ? /*#__PURE__*/React__default.createElement(PrevNextButton, {
|
|
45487
|
+
childGap: "10px"
|
|
45488
|
+
}, currentPage > 1 && /*#__PURE__*/React__default.createElement(PrevNextButton, {
|
|
45489
|
+
type: "prev",
|
|
46722
45490
|
action: pagePrevious,
|
|
46723
|
-
|
|
46724
|
-
|
|
46725
|
-
|
|
46726
|
-
buttonHeight: buttonHeight,
|
|
46727
|
-
buttonWidth: buttonWidth,
|
|
46728
|
-
numberColor: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46729
|
-
type: "prev"
|
|
46730
|
-
}) : isMobile && /*#__PURE__*/React__default.createElement(PrevNextPlaceholder, {
|
|
46731
|
-
buttonHeight: buttonHeight,
|
|
46732
|
-
buttonWidth: buttonWidth
|
|
46733
|
-
}), isMobile ? pageCount > 0 && /*#__PURE__*/React__default.createElement(Box, {
|
|
46734
|
-
padding: "0"
|
|
46735
|
-
}, /*#__PURE__*/React__default.createElement(Cover, {
|
|
46736
|
-
singleChild: true
|
|
46737
|
-
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46738
|
-
variant: "pXL",
|
|
46739
|
-
weight: fontWeight,
|
|
46740
|
-
color: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46741
|
-
extraStyles: "font-size: ".concat(fontSize)
|
|
46742
|
-
}, "".concat(currentPage, " of ").concat(pageCount)))) : getPagesPanel(currentPage, pageCount).map(function (item, index) {
|
|
45491
|
+
arrowColor: arrowColor,
|
|
45492
|
+
numberColor: numberColor
|
|
45493
|
+
}), getPagesPanel(currentPage, pageCount).map(function (item, index) {
|
|
46743
45494
|
return item.isButton ? /*#__PURE__*/React__default.createElement(Box, {
|
|
46744
45495
|
padding: "0",
|
|
46745
|
-
|
|
46746
|
-
|
|
46747
|
-
|
|
45496
|
+
border: item.active && "1px solid ".concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE),
|
|
45497
|
+
borderRadius: item.active && "3px",
|
|
45498
|
+
extraStyles: "max-height: 40px;"
|
|
46748
45499
|
}, /*#__PURE__*/React__default.createElement(ButtonWithAction, {
|
|
46749
45500
|
variant: "ghost",
|
|
45501
|
+
key: item.index,
|
|
46750
45502
|
text: item.index,
|
|
46751
|
-
|
|
46752
|
-
"aria-label": "".concat(item.index == pageCount ? "Last Page, " : "", "page ").concat(item.index),
|
|
45503
|
+
disabled: item.active,
|
|
46753
45504
|
action: !item.active ? function () {
|
|
46754
45505
|
return setCurrentPage({
|
|
46755
45506
|
pageNumber: item.index
|
|
46756
45507
|
});
|
|
46757
45508
|
} : noop,
|
|
46758
|
-
textExtraStyles: "font-size:
|
|
46759
|
-
extraStyles: "".concat(
|
|
45509
|
+
textExtraStyles: "font-size: 17px; font-weight: 900;",
|
|
45510
|
+
extraStyles: "\n min-width: 40px; min-height: 100%; padding: 0;\n &:hover, &:focus {\n text-decoration: none;\n > * > span {\n text-decoration: none;\n }\n }\n > * > span {\n color: ".concat(numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE, "\n }\n }\n &:hover { ").concat(item.active ? "cursor: default;" : "background-color: ".concat(ALABASTER_WHITE), " }\n "),
|
|
46760
45511
|
dataQa: index
|
|
46761
45512
|
}, item.index)) : /*#__PURE__*/React__default.createElement(Box, {
|
|
46762
|
-
padding: "0 10px"
|
|
46763
|
-
as: "li",
|
|
46764
|
-
key: item.id
|
|
45513
|
+
padding: "0 10px"
|
|
46765
45514
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
46766
45515
|
justify: "flex-end"
|
|
46767
45516
|
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
45517
|
+
key: index,
|
|
46768
45518
|
variant: "pXL",
|
|
46769
|
-
weight:
|
|
46770
|
-
color: numberColor !== null && numberColor !== void 0 ? numberColor :
|
|
46771
|
-
|
|
46772
|
-
|
|
46773
|
-
|
|
45519
|
+
weight: "900",
|
|
45520
|
+
color: numberColor !== null && numberColor !== void 0 ? numberColor : MATISSE_BLUE
|
|
45521
|
+
}, "...")));
|
|
45522
|
+
}), currentPage < pageCount && /*#__PURE__*/React__default.createElement(PrevNextButton, {
|
|
45523
|
+
type: "next",
|
|
46774
45524
|
action: pageNext,
|
|
46775
|
-
|
|
46776
|
-
|
|
46777
|
-
borderRadius: borderRadius,
|
|
46778
|
-
buttonHeight: buttonHeight,
|
|
46779
|
-
buttonWidth: buttonWidth,
|
|
46780
|
-
numberColor: numberColor !== null && numberColor !== void 0 ? numberColor : themeValues.numberColor,
|
|
46781
|
-
type: "next"
|
|
46782
|
-
}) : isMobile && /*#__PURE__*/React__default.createElement(PrevNextPlaceholder, {
|
|
46783
|
-
buttonHeight: buttonHeight,
|
|
46784
|
-
buttonWidth: buttonWidth
|
|
45525
|
+
arrowColor: arrowColor,
|
|
45526
|
+
numberColor: numberColor
|
|
46785
45527
|
}));
|
|
46786
45528
|
};
|
|
46787
45529
|
|
|
46788
|
-
var Pagination$1 = themeComponent(Pagination, "Pagination", fallbackValues$J);
|
|
46789
|
-
|
|
46790
45530
|
var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
46791
45531
|
var _ref$forwardButtonTex = _ref.forwardButtonText,
|
|
46792
45532
|
forwardButtonText = _ref$forwardButtonTex === void 0 ? "Next" : _ref$forwardButtonTex,
|
|
@@ -46847,7 +45587,7 @@ var PaymentButtonBar = function PaymentButtonBar(_ref) {
|
|
|
46847
45587
|
}, backButton, !hideForwardButton && /*#__PURE__*/React__default.createElement(React.Fragment, null, forwardButton))));
|
|
46848
45588
|
};
|
|
46849
45589
|
|
|
46850
|
-
var backgroundColor$
|
|
45590
|
+
var backgroundColor$a = {
|
|
46851
45591
|
"default": "transparent",
|
|
46852
45592
|
small: "transparent"
|
|
46853
45593
|
};
|
|
@@ -46863,14 +45603,14 @@ var labeledAmountTotal = {
|
|
|
46863
45603
|
"default": "h6",
|
|
46864
45604
|
small: "p"
|
|
46865
45605
|
};
|
|
46866
|
-
var fallbackValues$
|
|
46867
|
-
backgroundColor: backgroundColor$
|
|
45606
|
+
var fallbackValues$G = {
|
|
45607
|
+
backgroundColor: backgroundColor$a,
|
|
46868
45608
|
lineItem: lineItem,
|
|
46869
45609
|
labeledAmountSubtotal: labeledAmountSubtotal,
|
|
46870
45610
|
labeledAmountTotal: labeledAmountTotal
|
|
46871
45611
|
};
|
|
46872
45612
|
|
|
46873
|
-
var _excluded$
|
|
45613
|
+
var _excluded$w = ["amount"],
|
|
46874
45614
|
_excluded2$1 = ["amount"];
|
|
46875
45615
|
|
|
46876
45616
|
var PaymentDetailsContent = function PaymentDetailsContent(_ref) {
|
|
@@ -47015,7 +45755,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47015
45755
|
return fee.amount > 0;
|
|
47016
45756
|
}).map(function (_ref5) {
|
|
47017
45757
|
var amount = _ref5.amount,
|
|
47018
|
-
rest = _objectWithoutProperties(_ref5, _excluded$
|
|
45758
|
+
rest = _objectWithoutProperties(_ref5, _excluded$w);
|
|
47019
45759
|
|
|
47020
45760
|
return _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
47021
45761
|
amount: displayCurrency(amount)
|
|
@@ -47114,7 +45854,7 @@ var PaymentDetails = function PaymentDetails(_ref4) {
|
|
|
47114
45854
|
});
|
|
47115
45855
|
};
|
|
47116
45856
|
|
|
47117
|
-
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$
|
|
45857
|
+
var PaymentDetails$1 = themeComponent(PaymentDetails, "PaymentDetails", fallbackValues$G, "default");
|
|
47118
45858
|
|
|
47119
45859
|
var linkColor$5 = {
|
|
47120
45860
|
"default": "#3176AA"
|
|
@@ -47131,7 +45871,7 @@ var fontWeight$7 = {
|
|
|
47131
45871
|
var modalLinkHoverFocus$1 = {
|
|
47132
45872
|
"default": "outline: none; text-decoration: underline;"
|
|
47133
45873
|
};
|
|
47134
|
-
var fallbackValues$
|
|
45874
|
+
var fallbackValues$H = {
|
|
47135
45875
|
linkColor: linkColor$5,
|
|
47136
45876
|
fontSize: fontSize$a,
|
|
47137
45877
|
lineHeight: lineHeight$4,
|
|
@@ -47190,324 +45930,7 @@ var AccountAndRoutingModal = function AccountAndRoutingModal(_ref) {
|
|
|
47190
45930
|
}, link));
|
|
47191
45931
|
};
|
|
47192
45932
|
|
|
47193
|
-
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$
|
|
47194
|
-
|
|
47195
|
-
var backgroundColor$c = {
|
|
47196
|
-
"default": "#ffffff",
|
|
47197
|
-
footer: "#ffffff"
|
|
47198
|
-
};
|
|
47199
|
-
var linkColor$6 = {
|
|
47200
|
-
"default": "#3176AA",
|
|
47201
|
-
footer: "#ffffff"
|
|
47202
|
-
};
|
|
47203
|
-
var border$3 = {
|
|
47204
|
-
"default": "#cdcdcd",
|
|
47205
|
-
footer: "#cdcdcd"
|
|
47206
|
-
};
|
|
47207
|
-
var fontSize$b = {
|
|
47208
|
-
"default": "1rem",
|
|
47209
|
-
footer: "0.875rem"
|
|
47210
|
-
};
|
|
47211
|
-
var lineHeight$5 = {
|
|
47212
|
-
"default": "1.5rem",
|
|
47213
|
-
footer: "1.25rem"
|
|
47214
|
-
};
|
|
47215
|
-
var fontWeight$8 = {
|
|
47216
|
-
"default": FONT_WEIGHT_REGULAR,
|
|
47217
|
-
footer: FONT_WEIGHT_SEMIBOLD
|
|
47218
|
-
};
|
|
47219
|
-
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47220
|
-
var modalLinkHoverFocus$2 = {
|
|
47221
|
-
"default": standardInteractionStyles,
|
|
47222
|
-
footer: standardInteractionStyles
|
|
47223
|
-
};
|
|
47224
|
-
var fallbackValues$M = {
|
|
47225
|
-
backgroundColor: backgroundColor$c,
|
|
47226
|
-
linkColor: linkColor$6,
|
|
47227
|
-
border: border$3,
|
|
47228
|
-
fontSize: fontSize$b,
|
|
47229
|
-
lineHeight: lineHeight$5,
|
|
47230
|
-
fontWeight: fontWeight$8,
|
|
47231
|
-
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
47232
|
-
};
|
|
47233
|
-
|
|
47234
|
-
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
47235
|
-
var link = _ref.link,
|
|
47236
|
-
_ref$title = _ref.title,
|
|
47237
|
-
title = _ref$title === void 0 ? "Terms & Conditions" : _ref$title,
|
|
47238
|
-
isOpen = _ref.isOpen,
|
|
47239
|
-
toggleOpen = _ref.toggleOpen,
|
|
47240
|
-
toggleAccepted = _ref.toggleAccepted,
|
|
47241
|
-
acceptText = _ref.acceptText,
|
|
47242
|
-
terms = _ref.terms,
|
|
47243
|
-
variant = _ref.variant,
|
|
47244
|
-
_ref$linkVariant = _ref.linkVariant,
|
|
47245
|
-
linkVariant = _ref$linkVariant === void 0 ? "p" : _ref$linkVariant,
|
|
47246
|
-
themeValues = _ref.themeValues;
|
|
47247
|
-
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
47248
|
-
modalOpen: isOpen,
|
|
47249
|
-
hideModal: function hideModal() {
|
|
47250
|
-
return toggleOpen(false);
|
|
47251
|
-
},
|
|
47252
|
-
showModal: function showModal() {
|
|
47253
|
-
return toggleOpen(true);
|
|
47254
|
-
},
|
|
47255
|
-
modalHeaderText: title,
|
|
47256
|
-
modalBodyText: /*#__PURE__*/React__default.createElement(Box, {
|
|
47257
|
-
background: themeValues.backgroundColor,
|
|
47258
|
-
border: "1px solid ".concat(themeValues.border),
|
|
47259
|
-
borderRadius: "3px",
|
|
47260
|
-
extraStyles: "overflow: scroll; max-height: 20rem;",
|
|
47261
|
-
id: "terms-body-text"
|
|
47262
|
-
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47263
|
-
variant: "p",
|
|
47264
|
-
extraStyles: "& a { text-decoration: underline; }"
|
|
47265
|
-
}, terms)),
|
|
47266
|
-
defaultWrapper: false,
|
|
47267
|
-
onlyCloseButton: !acceptText,
|
|
47268
|
-
continueButtonText: acceptText,
|
|
47269
|
-
continueAction: function continueAction() {
|
|
47270
|
-
toggleAccepted(true);
|
|
47271
|
-
toggleOpen(false);
|
|
47272
|
-
}
|
|
47273
|
-
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47274
|
-
variant: linkVariant,
|
|
47275
|
-
onClick: function onClick() {
|
|
47276
|
-
return toggleOpen(true);
|
|
47277
|
-
},
|
|
47278
|
-
onKeyPress: function onKeyPress(e) {
|
|
47279
|
-
return e.key === "Enter" && toggleOpen(true);
|
|
47280
|
-
},
|
|
47281
|
-
tabIndex: "0",
|
|
47282
|
-
color: themeValues.linkColor,
|
|
47283
|
-
weight: themeValues.fontWeight,
|
|
47284
|
-
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47285
|
-
extraStyles: "display: inline-block; width: fit-content; cursor: pointer"
|
|
47286
|
-
}, link));
|
|
47287
|
-
};
|
|
47288
|
-
|
|
47289
|
-
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$M, "default");
|
|
47290
|
-
|
|
47291
|
-
var TermsAndConditionsControlV1 = function TermsAndConditionsControlV1(_ref) {
|
|
47292
|
-
var onCheck = _ref.onCheck,
|
|
47293
|
-
isChecked = _ref.isChecked,
|
|
47294
|
-
html = _ref.html,
|
|
47295
|
-
terms = _ref.terms,
|
|
47296
|
-
_ref$error = _ref.error,
|
|
47297
|
-
error = _ref$error === void 0 ? false : _ref$error,
|
|
47298
|
-
linkVariant = _ref.linkVariant;
|
|
47299
|
-
|
|
47300
|
-
var _useState = React.useState(false),
|
|
47301
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
47302
|
-
showTerms = _useState2[0],
|
|
47303
|
-
toggleShowTerms = _useState2[1];
|
|
47304
|
-
|
|
47305
|
-
return /*#__PURE__*/React__default.createElement(DisplayBox$1, null, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
47306
|
-
name: "terms",
|
|
47307
|
-
title: "Terms and Conditions",
|
|
47308
|
-
error: error,
|
|
47309
|
-
checked: isChecked,
|
|
47310
|
-
onChange: onCheck
|
|
47311
|
-
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
47312
|
-
padding: "0 0 0 58px"
|
|
47313
|
-
}, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
47314
|
-
padding: "0"
|
|
47315
|
-
}, html), terms && /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
|
|
47316
|
-
link: "Learn More",
|
|
47317
|
-
terms: terms,
|
|
47318
|
-
isOpen: showTerms,
|
|
47319
|
-
toggleOpen: toggleShowTerms,
|
|
47320
|
-
linkVariant: linkVariant
|
|
47321
|
-
})))));
|
|
47322
|
-
};
|
|
47323
|
-
|
|
47324
|
-
/*
|
|
47325
|
-
|
|
47326
|
-
A utility function that can generate box-shadow values for components
|
|
47327
|
-
Takes a string representing an rgb color value and returns an object
|
|
47328
|
-
with values for standard, inset, and overlay shadows.
|
|
47329
|
-
|
|
47330
|
-
The objects for standard and inset shadows contain versions approiate
|
|
47331
|
-
for base, hover, and active interaction states.
|
|
47332
|
-
|
|
47333
|
-
*/
|
|
47334
|
-
|
|
47335
|
-
/*
|
|
47336
|
-
Function to convert string representing rgb color to rgba value with provided opacity
|
|
47337
|
-
("rgb(41, 42, 51)", "0.1") => "rgba(41, 42, 51, 0.1)"
|
|
47338
|
-
|
|
47339
|
-
*/
|
|
47340
|
-
var rgbToRgba = function rgbToRgba() {
|
|
47341
|
-
var rgbValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
|
|
47342
|
-
var opacity = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
|
|
47343
|
-
|
|
47344
|
-
if (typeof rgbValue !== "string" || typeof opacity !== "string" || rgbValue.charAt(0) === "#") {
|
|
47345
|
-
return "";
|
|
47346
|
-
}
|
|
47347
|
-
|
|
47348
|
-
return "".concat(rgbValue.slice(0, 3), "a").concat(rgbValue.slice(3, -1), ", ").concat(opacity).concat(rgbValue.slice(-1));
|
|
47349
|
-
};
|
|
47350
|
-
|
|
47351
|
-
var generateShadows = function generateShadows(baseColorRGB) {
|
|
47352
|
-
var colorTen = rgbToRgba(baseColorRGB, "0.1") || "rgba(41, 42, 51, 0.1)";
|
|
47353
|
-
var colorTwenty = rgbToRgba(baseColorRGB, "0.2") || "rgba(41, 42, 51, 0.2)";
|
|
47354
|
-
var colorTwentyFive = rgbToRgba(baseColorRGB, "0.25") || "rgba(41, 42, 51, 0.25)";
|
|
47355
|
-
var colorThirty = rgbToRgba(baseColorRGB, "0.3") || "rgba(41, 42, 51, 0.3)";
|
|
47356
|
-
var blackTwentyFive = "rgba(0, 0, 0, 0.25)";
|
|
47357
|
-
var standard = {
|
|
47358
|
-
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 6px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
47359
|
-
hover: "0px 1px 2px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(blackTwentyFive, ", 0px 6px 12px 0px ").concat(colorTen),
|
|
47360
|
-
active: "0px 2px 8px 0px ".concat(colorTwenty, ", 0px 4px 8px 0px ").concat(colorThirty, ", 0px 6px 12px 0px ").concat(colorTwentyFive)
|
|
47361
|
-
};
|
|
47362
|
-
var inset = {
|
|
47363
|
-
base: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwenty, ", inset 0px 1px 0px 0px ").concat(colorTen),
|
|
47364
|
-
hover: "0px 1px 2px 0px ".concat(colorTen, ", 0px 2px 4px 0px ").concat(colorTwentyFive, ", 0px 4px 8px 0px ").concat(colorTen),
|
|
47365
|
-
active: "0px 1px 2px 2px ".concat(colorTwenty, ", 0px 3px 6px 0px ").concat(colorThirty, ", 0px 4px 8px 0px ").concat(colorTwenty)
|
|
47366
|
-
};
|
|
47367
|
-
var overlay = {
|
|
47368
|
-
base: "0px 7px 32px 0px ".concat(colorTwenty, ", 0px 1px 4px 0px ").concat(colorTwenty, ", 0px 1px 8px -1px ").concat(colorThirty)
|
|
47369
|
-
};
|
|
47370
|
-
return {
|
|
47371
|
-
standard: standard,
|
|
47372
|
-
inset: inset,
|
|
47373
|
-
overlay: overlay
|
|
47374
|
-
};
|
|
47375
|
-
};
|
|
47376
|
-
|
|
47377
|
-
/*
|
|
47378
|
-
Hook that takes an ID selector for an element on the screen
|
|
47379
|
-
And optionally values for top position, left position, smooth behavior
|
|
47380
|
-
Finds element on screen and scrolls it to the provided coordinates
|
|
47381
|
-
|
|
47382
|
-
(string, number, number, string, number) => undefined;
|
|
47383
|
-
*/
|
|
47384
|
-
var useScrollTo = function useScrollTo(id) {
|
|
47385
|
-
var top = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
47386
|
-
var left = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
47387
|
-
var behavior = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "auto";
|
|
47388
|
-
var delay = arguments.length > 4 ? arguments[4] : undefined;
|
|
47389
|
-
var scrollItem;
|
|
47390
|
-
|
|
47391
|
-
if (delay) {
|
|
47392
|
-
setTimeout(function () {
|
|
47393
|
-
var _scrollItem;
|
|
47394
|
-
|
|
47395
|
-
scrollItem = document.getElementById(id);
|
|
47396
|
-
(_scrollItem = scrollItem) === null || _scrollItem === void 0 ? void 0 : _scrollItem.scrollTo({
|
|
47397
|
-
top: top,
|
|
47398
|
-
left: left,
|
|
47399
|
-
behavior: behavior
|
|
47400
|
-
});
|
|
47401
|
-
}, delay);
|
|
47402
|
-
} else {
|
|
47403
|
-
var _scrollItem2;
|
|
47404
|
-
|
|
47405
|
-
scrollItem = document.getElementById(id);
|
|
47406
|
-
(_scrollItem2 = scrollItem) === null || _scrollItem2 === void 0 ? void 0 : _scrollItem2.scrollTo({
|
|
47407
|
-
top: top,
|
|
47408
|
-
left: left,
|
|
47409
|
-
behavior: behavior
|
|
47410
|
-
});
|
|
47411
|
-
}
|
|
47412
|
-
};
|
|
47413
|
-
|
|
47414
|
-
var TermsAndConditionsControlV2 = function TermsAndConditionsControlV2(_ref) {
|
|
47415
|
-
var _ref$showCheckbox = _ref.showCheckbox,
|
|
47416
|
-
showCheckbox = _ref$showCheckbox === void 0 ? true : _ref$showCheckbox,
|
|
47417
|
-
onCheck = _ref.onCheck,
|
|
47418
|
-
isChecked = _ref.isChecked,
|
|
47419
|
-
hasError = _ref.hasError,
|
|
47420
|
-
_ref$errorMessage = _ref.errorMessage,
|
|
47421
|
-
errorMessage = _ref$errorMessage === void 0 ? "Please accept Terms and Conditions" : _ref$errorMessage,
|
|
47422
|
-
_ref$description = _ref.description,
|
|
47423
|
-
description = _ref$description === void 0 ? "" : _ref$description,
|
|
47424
|
-
_ref$linkText = _ref.linkText,
|
|
47425
|
-
linkText = _ref$linkText === void 0 ? "Terms and Conditions" : _ref$linkText,
|
|
47426
|
-
html = _ref.html,
|
|
47427
|
-
terms = _ref.terms,
|
|
47428
|
-
_ref$id = _ref.id,
|
|
47429
|
-
id = _ref$id === void 0 ? "terms-and-conditions" : _ref$id,
|
|
47430
|
-
_ref$displayInline = _ref.displayInline,
|
|
47431
|
-
displayInline = _ref$displayInline === void 0 ? true : _ref$displayInline,
|
|
47432
|
-
_ref$modalVariant = _ref.modalVariant,
|
|
47433
|
-
modalVariant = _ref$modalVariant === void 0 ? "default" : _ref$modalVariant,
|
|
47434
|
-
_ref$containerBackgro = _ref.containerBackground,
|
|
47435
|
-
containerBackground = _ref$containerBackgro === void 0 ? ATHENS_GREY : _ref$containerBackgro,
|
|
47436
|
-
_ref$checkboxMargin = _ref.checkboxMargin,
|
|
47437
|
-
checkboxMargin = _ref$checkboxMargin === void 0 ? "4px 8px 4px 4px" : _ref$checkboxMargin,
|
|
47438
|
-
_ref$modalTitle = _ref.modalTitle,
|
|
47439
|
-
modalTitle = _ref$modalTitle === void 0 ? "Terms and Conditions" : _ref$modalTitle;
|
|
47440
|
-
|
|
47441
|
-
var _useState = React.useState(false),
|
|
47442
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
47443
|
-
showTerms = _useState2[0],
|
|
47444
|
-
toggleShowTerms = _useState2[1];
|
|
47445
|
-
|
|
47446
|
-
var standardBoxShadow = generateShadows().standard.base;
|
|
47447
|
-
|
|
47448
|
-
var toggleTerms = function toggleTerms(termsOpen) {
|
|
47449
|
-
toggleShowTerms(termsOpen);
|
|
47450
|
-
|
|
47451
|
-
if (termsOpen) {
|
|
47452
|
-
useScrollTo("terms-body-text", 0, 0, "smooth", 100);
|
|
47453
|
-
}
|
|
47454
|
-
};
|
|
47455
|
-
|
|
47456
|
-
return /*#__PURE__*/React__default.createElement(Box, {
|
|
47457
|
-
padding: displayInline ? "0" : "1.5rem",
|
|
47458
|
-
minWidth: displayInline ? "0" : "100%",
|
|
47459
|
-
background: displayInline ? "transparent" : containerBackground,
|
|
47460
|
-
boxShadow: displayInline ? "none" : standardBoxShadow,
|
|
47461
|
-
borderRadius: displayInline ? "0" : "4px"
|
|
47462
|
-
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
47463
|
-
childGap: "0"
|
|
47464
|
-
}, html && /*#__PURE__*/React__default.createElement(Box, {
|
|
47465
|
-
padding: "0"
|
|
47466
|
-
}, html), /*#__PURE__*/React__default.createElement(Cluster, {
|
|
47467
|
-
justify: "flex-start",
|
|
47468
|
-
align: "center",
|
|
47469
|
-
nowrap: true
|
|
47470
|
-
}, showCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
47471
|
-
name: id,
|
|
47472
|
-
error: hasError,
|
|
47473
|
-
checked: isChecked,
|
|
47474
|
-
onChange: onCheck,
|
|
47475
|
-
checkboxMargin: checkboxMargin,
|
|
47476
|
-
extraStyles: "align-self: flex-start;"
|
|
47477
|
-
}), /*#__PURE__*/React__default.createElement(Stack, {
|
|
47478
|
-
childGap: "0.25rem",
|
|
47479
|
-
fullHeight: true
|
|
47480
|
-
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
47481
|
-
justify: "flex-start",
|
|
47482
|
-
align: "center",
|
|
47483
|
-
nowrap: true,
|
|
47484
|
-
extraStyles: "padding-right: 2px; > div > * { margin: 4px 2px; };"
|
|
47485
|
-
}, description && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47486
|
-
color: CHARADE_GREY
|
|
47487
|
-
}, description), terms && /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
|
|
47488
|
-
link: linkText,
|
|
47489
|
-
terms: terms,
|
|
47490
|
-
isOpen: showTerms,
|
|
47491
|
-
toggleOpen: toggleTerms,
|
|
47492
|
-
linkVariant: modalVariant,
|
|
47493
|
-
title: modalTitle
|
|
47494
|
-
})), showCheckbox && hasError && /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47495
|
-
variant: "pXS",
|
|
47496
|
-
color: ERROR_COLOR,
|
|
47497
|
-
id: "".concat(id, "-error-message")
|
|
47498
|
-
}, errorMessage)))));
|
|
47499
|
-
};
|
|
47500
|
-
|
|
47501
|
-
var _excluded$y = ["version"];
|
|
47502
|
-
|
|
47503
|
-
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47504
|
-
var _ref$version = _ref.version,
|
|
47505
|
-
version = _ref$version === void 0 ? "v1" : _ref$version,
|
|
47506
|
-
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
47507
|
-
|
|
47508
|
-
var TermsAndConditionsControl = version === "v1" ? TermsAndConditionsControlV1 : TermsAndConditionsControlV2;
|
|
47509
|
-
return /*#__PURE__*/React__default.createElement(TermsAndConditionsControl, rest);
|
|
47510
|
-
};
|
|
45933
|
+
var AccountAndRoutingModal$1 = themeComponent(AccountAndRoutingModal, "AccountAndRoutingModal", fallbackValues$H, "default");
|
|
47511
45934
|
|
|
47512
45935
|
var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
47513
45936
|
var _routingNumberErrors, _accountNumberErrors;
|
|
@@ -47527,8 +45950,7 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
47527
45950
|
handleSubmit = _ref$handleSubmit === void 0 ? noop : _ref$handleSubmit,
|
|
47528
45951
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
47529
45952
|
saveToWallet = _ref.saveToWallet,
|
|
47530
|
-
walletCheckboxMarked = _ref.walletCheckboxMarked
|
|
47531
|
-
termsContent = _ref.termsContent;
|
|
45953
|
+
walletCheckboxMarked = _ref.walletCheckboxMarked;
|
|
47532
45954
|
|
|
47533
45955
|
if (clearOnDismount) {
|
|
47534
45956
|
React.useEffect(function () {
|
|
@@ -47548,8 +45970,6 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
47548
45970
|
showAccount = _useState4[0],
|
|
47549
45971
|
toggleShowAccount = _useState4[1];
|
|
47550
45972
|
|
|
47551
|
-
var showTerms = !!termsContent;
|
|
47552
|
-
|
|
47553
45973
|
var nameErrors = _defineProperty({}, required.error, "Name is required");
|
|
47554
45974
|
|
|
47555
45975
|
var routingNumberErrors = (_routingNumberErrors = {}, _defineProperty(_routingNumberErrors, required.error, "Routing number is required"), _defineProperty(_routingNumberErrors, hasLength.error, "Routing number must be 9 digits"), _defineProperty(_routingNumberErrors, isRoutingNumber.error, "Invalid routing number"), _routingNumberErrors);
|
|
@@ -47658,22 +46078,12 @@ var PaymentFormACH = function PaymentFormACH(_ref) {
|
|
|
47658
46078
|
onChange: toggleCheckbox,
|
|
47659
46079
|
checked: defaultMethod.value,
|
|
47660
46080
|
hidden: hideDefaultPayment
|
|
47661
|
-
}),
|
|
47662
|
-
childGap: "4px",
|
|
47663
|
-
align: "center"
|
|
47664
|
-
}, showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
46081
|
+
}), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
47665
46082
|
name: "bank checkbox",
|
|
47666
|
-
title: "Save checking account to wallet
|
|
46083
|
+
title: "Save checking account to wallet",
|
|
47667
46084
|
checked: walletCheckboxMarked,
|
|
47668
46085
|
onChange: saveToWallet
|
|
47669
|
-
})
|
|
47670
|
-
singleChild: true
|
|
47671
|
-
}, /*#__PURE__*/React__default.createElement(TermsAndConditions, {
|
|
47672
|
-
version: "v2",
|
|
47673
|
-
showCheckbox: false,
|
|
47674
|
-
description: "View",
|
|
47675
|
-
terms: termsContent
|
|
47676
|
-
})))));
|
|
46086
|
+
})));
|
|
47677
46087
|
};
|
|
47678
46088
|
|
|
47679
46089
|
var formConfig$6 = {
|
|
@@ -47727,13 +46137,11 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
47727
46137
|
showWalletCheckbox = _ref.showWalletCheckbox,
|
|
47728
46138
|
saveToWallet = _ref.saveToWallet,
|
|
47729
46139
|
walletCheckboxMarked = _ref.walletCheckboxMarked,
|
|
47730
|
-
deniedCards = _ref.deniedCards
|
|
47731
|
-
termsContent = _ref.termsContent;
|
|
46140
|
+
deniedCards = _ref.deniedCards;
|
|
47732
46141
|
|
|
47733
46142
|
var _useContext = React.useContext(styled.ThemeContext),
|
|
47734
46143
|
isMobile = _useContext.isMobile;
|
|
47735
46144
|
|
|
47736
|
-
var showTerms = !!termsContent;
|
|
47737
46145
|
React.useEffect(function () {
|
|
47738
46146
|
if (deniedCards) {
|
|
47739
46147
|
deniedCards.map(function (card) {
|
|
@@ -47842,22 +46250,12 @@ var PaymentFormCard = function PaymentFormCard(_ref) {
|
|
|
47842
46250
|
return e.key === "Enter" && handleSubmit(e);
|
|
47843
46251
|
},
|
|
47844
46252
|
autocomplete: "billing postal-code"
|
|
47845
|
-
})),
|
|
47846
|
-
childGap: "4px",
|
|
47847
|
-
align: "center"
|
|
47848
|
-
}, showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
46253
|
+
})), showWalletCheckbox && /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
47849
46254
|
name: "credit card checkbox",
|
|
47850
|
-
title: "Save credit card to wallet
|
|
46255
|
+
title: "Save credit card to wallet",
|
|
47851
46256
|
checked: walletCheckboxMarked,
|
|
47852
46257
|
onChange: saveToWallet
|
|
47853
|
-
})
|
|
47854
|
-
singleChild: true
|
|
47855
|
-
}, /*#__PURE__*/React__default.createElement(TermsAndConditions, {
|
|
47856
|
-
version: "v2",
|
|
47857
|
-
showCheckbox: false,
|
|
47858
|
-
description: "View",
|
|
47859
|
-
terms: termsContent
|
|
47860
|
-
})))));
|
|
46258
|
+
})));
|
|
47861
46259
|
};
|
|
47862
46260
|
|
|
47863
46261
|
var PaymentFormCard$1 = withWindowSize(PaymentFormCard);
|
|
@@ -48136,13 +46534,13 @@ var RadioGroup = function RadioGroup(_ref) {
|
|
|
48136
46534
|
var headingBackgroundColor$1 = "".concat(WHITE);
|
|
48137
46535
|
var headingDisabledColor = "".concat(ATHENS_GREY);
|
|
48138
46536
|
var bodyBackgroundColor$1 = "#eeeeee";
|
|
48139
|
-
var borderColor$
|
|
46537
|
+
var borderColor$3 = "".concat(GREY_CHATEAU);
|
|
48140
46538
|
var focusStyles = "outline: none;";
|
|
48141
|
-
var fallbackValues$
|
|
46539
|
+
var fallbackValues$I = {
|
|
48142
46540
|
headingBackgroundColor: headingBackgroundColor$1,
|
|
48143
46541
|
headingDisabledColor: headingDisabledColor,
|
|
48144
46542
|
bodyBackgroundColor: bodyBackgroundColor$1,
|
|
48145
|
-
borderColor: borderColor$
|
|
46543
|
+
borderColor: borderColor$3,
|
|
48146
46544
|
focusStyles: focusStyles
|
|
48147
46545
|
};
|
|
48148
46546
|
|
|
@@ -48155,8 +46553,7 @@ var fallbackValues$N = {
|
|
|
48155
46553
|
hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
|
|
48156
46554
|
hidden: boolean, (hides section entirely)
|
|
48157
46555
|
dataQa: string,
|
|
48158
|
-
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
|
|
48159
|
-
rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
|
|
46556
|
+
content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
|
|
48160
46557
|
}
|
|
48161
46558
|
|
|
48162
46559
|
Also takes an "openSection" which should equal the id of the section that should be open
|
|
@@ -48169,6 +46566,10 @@ var fallbackValues$N = {
|
|
|
48169
46566
|
|
|
48170
46567
|
*/
|
|
48171
46568
|
|
|
46569
|
+
var ACTIVE$2 = "ACTIVE";
|
|
46570
|
+
var EXPIRING_SOON$1 = "EXPIRING_SOON";
|
|
46571
|
+
var EXPIRED$2 = "EXPIRED";
|
|
46572
|
+
|
|
48172
46573
|
var RadioSection = function RadioSection(_ref) {
|
|
48173
46574
|
var themeValues = _ref.themeValues,
|
|
48174
46575
|
isMobile = _ref.isMobile,
|
|
@@ -48183,8 +46584,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48183
46584
|
_ref$initiallyOpen = _ref.initiallyOpen,
|
|
48184
46585
|
initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
|
|
48185
46586
|
_ref$openHeight = _ref.openHeight,
|
|
48186
|
-
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight
|
|
48187
|
-
ariaDescribedBy = _ref.ariaDescribedBy;
|
|
46587
|
+
openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight;
|
|
48188
46588
|
|
|
48189
46589
|
var handleKeyDown = function handleKeyDown(id, e) {
|
|
48190
46590
|
if ((e === null || e === void 0 ? void 0 : e.keyCode) === 13) {
|
|
@@ -48192,6 +46592,34 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48192
46592
|
}
|
|
48193
46593
|
};
|
|
48194
46594
|
|
|
46595
|
+
var renderCardStatus = function renderCardStatus(item) {
|
|
46596
|
+
var expirationStatus = item.expirationStatus,
|
|
46597
|
+
expireDate = item.expireDate;
|
|
46598
|
+
|
|
46599
|
+
switch (expirationStatus) {
|
|
46600
|
+
case ACTIVE$2:
|
|
46601
|
+
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46602
|
+
variant: "pXS",
|
|
46603
|
+
color: ASH_GREY,
|
|
46604
|
+
extraStyles: "text-align: right;"
|
|
46605
|
+
}, "Exp Date ", expireDate);
|
|
46606
|
+
|
|
46607
|
+
case EXPIRING_SOON$1:
|
|
46608
|
+
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46609
|
+
variant: "pXS",
|
|
46610
|
+
color: FIRE_YELLOW,
|
|
46611
|
+
extraStyles: "text-align: right;"
|
|
46612
|
+
}, "Expiring Soon ", expireDate);
|
|
46613
|
+
|
|
46614
|
+
case EXPIRED$2:
|
|
46615
|
+
return /*#__PURE__*/React__default.createElement(Text$1, {
|
|
46616
|
+
variant: "pXS",
|
|
46617
|
+
color: ASH_GREY,
|
|
46618
|
+
extraStyles: "text-align: right;"
|
|
46619
|
+
}, "Expired");
|
|
46620
|
+
}
|
|
46621
|
+
};
|
|
46622
|
+
|
|
48195
46623
|
var wrapper = {
|
|
48196
46624
|
open: {
|
|
48197
46625
|
height: openHeight,
|
|
@@ -48245,13 +46673,13 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48245
46673
|
return /*#__PURE__*/React__default.createElement(Motion, {
|
|
48246
46674
|
tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
|
|
48247
46675
|
onKeyDown: function onKeyDown(e) {
|
|
48248
|
-
return
|
|
46676
|
+
return handleKeyDown(section.id, e);
|
|
48249
46677
|
},
|
|
48250
46678
|
onFocus: function onFocus() {
|
|
48251
|
-
return
|
|
46679
|
+
return setFocused(section.id);
|
|
48252
46680
|
},
|
|
48253
46681
|
onBlur: function onBlur() {
|
|
48254
|
-
return
|
|
46682
|
+
return setFocused(null);
|
|
48255
46683
|
},
|
|
48256
46684
|
hoverStyles: themeValues.focusStyles,
|
|
48257
46685
|
animate: openSection === section.id ? "open" : "closed",
|
|
@@ -48261,12 +46689,12 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48261
46689
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
48262
46690
|
childGap: "0"
|
|
48263
46691
|
}, /*#__PURE__*/React__default.createElement(Box, {
|
|
48264
|
-
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem",
|
|
46692
|
+
padding: section.hideRadioButton ? "1.5rem" : "1.25rem 1.5rem 1.25rem 1.25rem",
|
|
48265
46693
|
background: section.disabled ? themeValues.headingDisabledColor : themeValues.headingBackgroundColor,
|
|
48266
46694
|
onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
|
|
48267
46695
|
return toggleOpenSection(section.id);
|
|
48268
46696
|
},
|
|
48269
|
-
onTouchEnd: isMobile && supportsTouch
|
|
46697
|
+
onTouchEnd: isMobile && supportsTouch || !section.disabled ? function () {
|
|
48270
46698
|
return toggleOpenSection(section.id);
|
|
48271
46699
|
} : noop,
|
|
48272
46700
|
key: "header-".concat(section.id),
|
|
@@ -48278,7 +46706,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48278
46706
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48279
46707
|
justify: "space-between",
|
|
48280
46708
|
align: "center",
|
|
48281
|
-
childGap: "
|
|
46709
|
+
childGap: "0.5rem",
|
|
48282
46710
|
nowrap: true
|
|
48283
46711
|
}, /*#__PURE__*/React__default.createElement(Cluster, {
|
|
48284
46712
|
justify: "flex-start",
|
|
@@ -48287,8 +46715,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48287
46715
|
}, !section.hideRadioButton && /*#__PURE__*/React__default.createElement(Box, {
|
|
48288
46716
|
padding: "0"
|
|
48289
46717
|
}, /*#__PURE__*/React__default.createElement(RadioButton$2, {
|
|
48290
|
-
name:
|
|
48291
|
-
ariaDescribedBy: ariaDescribedBy,
|
|
46718
|
+
name: section.id,
|
|
48292
46719
|
radioOn: openSection === section.id,
|
|
48293
46720
|
radioFocused: focused === section.id,
|
|
48294
46721
|
toggleRadio: section.disabled ? noop : function () {
|
|
@@ -48312,7 +46739,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48312
46739
|
isMobile: isMobile,
|
|
48313
46740
|
alt: icon.altText
|
|
48314
46741
|
});
|
|
48315
|
-
})), section.
|
|
46742
|
+
})), section.shouldDisplayCardExpiration && /*#__PURE__*/React__default.createElement(React.Fragment, null, renderCardStatus(section)))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
|
|
48316
46743
|
initial: false
|
|
48317
46744
|
}, openSection === section.id && /*#__PURE__*/React__default.createElement(Motion, {
|
|
48318
46745
|
key: "content-".concat(section.id),
|
|
@@ -48328,7 +46755,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48328
46755
|
})));
|
|
48329
46756
|
};
|
|
48330
46757
|
|
|
48331
|
-
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$
|
|
46758
|
+
var RadioSection$1 = themeComponent(RadioSection, "RadioSection", fallbackValues$I);
|
|
48332
46759
|
|
|
48333
46760
|
var RegistrationForm = function RegistrationForm(_ref) {
|
|
48334
46761
|
var _emailErrorMessages, _passwordErrorMessage;
|
|
@@ -48625,7 +47052,7 @@ var ResetPasswordSuccess = withWindowSize(ResetConfirmationForm$2);
|
|
|
48625
47052
|
var activeTabBackground = "#FFFFFF";
|
|
48626
47053
|
var activeTabAccent = "#15749D";
|
|
48627
47054
|
var activeTabHover = "#B8D5E1";
|
|
48628
|
-
var fallbackValues$
|
|
47055
|
+
var fallbackValues$J = {
|
|
48629
47056
|
activeTabBackground: activeTabBackground,
|
|
48630
47057
|
activeTabAccent: activeTabAccent,
|
|
48631
47058
|
activeTabHover: activeTabHover
|
|
@@ -48704,12 +47131,12 @@ var Tabs = function Tabs(_ref) {
|
|
|
48704
47131
|
}))));
|
|
48705
47132
|
};
|
|
48706
47133
|
|
|
48707
|
-
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$
|
|
47134
|
+
var Tabs$1 = themeComponent(Tabs, "NavigationTab", fallbackValues$J);
|
|
48708
47135
|
|
|
48709
47136
|
var activeTabBackground$1 = "#FFFFFF";
|
|
48710
47137
|
var activeTabAccent$1 = "#15749D";
|
|
48711
47138
|
var activeTabHover$1 = "#B8D5E1";
|
|
48712
|
-
var fallbackValues$
|
|
47139
|
+
var fallbackValues$K = {
|
|
48713
47140
|
activeTabBackground: activeTabBackground$1,
|
|
48714
47141
|
activeTabAccent: activeTabAccent$1,
|
|
48715
47142
|
activeTabHover: activeTabHover$1
|
|
@@ -48765,7 +47192,131 @@ var TabSidebar = function TabSidebar(_ref) {
|
|
|
48765
47192
|
})));
|
|
48766
47193
|
};
|
|
48767
47194
|
|
|
48768
|
-
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$
|
|
47195
|
+
var TabSidebar$1 = themeComponent(TabSidebar, "ProfileTab", fallbackValues$K);
|
|
47196
|
+
|
|
47197
|
+
var backgroundColor$b = {
|
|
47198
|
+
"default": "#ffffff",
|
|
47199
|
+
footer: "#ffffff"
|
|
47200
|
+
};
|
|
47201
|
+
var linkColor$6 = {
|
|
47202
|
+
"default": "#3176AA",
|
|
47203
|
+
footer: "#ffffff"
|
|
47204
|
+
};
|
|
47205
|
+
var border$3 = {
|
|
47206
|
+
"default": "#cdcdcd",
|
|
47207
|
+
footer: "#cdcdcd"
|
|
47208
|
+
};
|
|
47209
|
+
var fontSize$b = {
|
|
47210
|
+
"default": "1rem",
|
|
47211
|
+
footer: "0.875rem"
|
|
47212
|
+
};
|
|
47213
|
+
var lineHeight$5 = {
|
|
47214
|
+
"default": "1.5rem",
|
|
47215
|
+
footer: "1.25rem"
|
|
47216
|
+
};
|
|
47217
|
+
var fontWeight$8 = {
|
|
47218
|
+
"default": FONT_WEIGHT_REGULAR,
|
|
47219
|
+
footer: FONT_WEIGHT_SEMIBOLD
|
|
47220
|
+
};
|
|
47221
|
+
var standardInteractionStyles = "\n &:hover {\n outline: none; \n text-decoration: underline;\n }\n &:focus {\n outline: 3px solid #3181E3;\n outline-offset: 2px;\n }\n";
|
|
47222
|
+
var modalLinkHoverFocus$2 = {
|
|
47223
|
+
"default": standardInteractionStyles,
|
|
47224
|
+
footer: standardInteractionStyles
|
|
47225
|
+
};
|
|
47226
|
+
var fallbackValues$L = {
|
|
47227
|
+
backgroundColor: backgroundColor$b,
|
|
47228
|
+
linkColor: linkColor$6,
|
|
47229
|
+
border: border$3,
|
|
47230
|
+
fontSize: fontSize$b,
|
|
47231
|
+
lineHeight: lineHeight$5,
|
|
47232
|
+
fontWeight: fontWeight$8,
|
|
47233
|
+
modalLinkHoverFocus: modalLinkHoverFocus$2
|
|
47234
|
+
};
|
|
47235
|
+
|
|
47236
|
+
var TermsAndConditionsModal = function TermsAndConditionsModal(_ref) {
|
|
47237
|
+
var link = _ref.link,
|
|
47238
|
+
_ref$title = _ref.title,
|
|
47239
|
+
title = _ref$title === void 0 ? "Terms & Conditions" : _ref$title,
|
|
47240
|
+
isOpen = _ref.isOpen,
|
|
47241
|
+
toggleOpen = _ref.toggleOpen,
|
|
47242
|
+
toggleAccepted = _ref.toggleAccepted,
|
|
47243
|
+
acceptText = _ref.acceptText,
|
|
47244
|
+
terms = _ref.terms,
|
|
47245
|
+
variant = _ref.variant,
|
|
47246
|
+
themeValues = _ref.themeValues;
|
|
47247
|
+
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
47248
|
+
modalOpen: isOpen,
|
|
47249
|
+
hideModal: function hideModal() {
|
|
47250
|
+
return toggleOpen(false);
|
|
47251
|
+
},
|
|
47252
|
+
showModal: function showModal() {
|
|
47253
|
+
return toggleOpen(true);
|
|
47254
|
+
},
|
|
47255
|
+
modalHeaderText: title,
|
|
47256
|
+
modalBodyText: /*#__PURE__*/React__default.createElement(Box, {
|
|
47257
|
+
background: themeValues.backgroundColor,
|
|
47258
|
+
border: "1px solid ".concat(themeValues.border),
|
|
47259
|
+
borderRadius: "3px",
|
|
47260
|
+
extraStyles: "overflow: scroll; max-height: 20rem;"
|
|
47261
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47262
|
+
variant: "p",
|
|
47263
|
+
extraStyles: "& a { text-decoration: underline; }"
|
|
47264
|
+
}, terms)),
|
|
47265
|
+
defaultWrapper: false,
|
|
47266
|
+
onlyCloseButton: !acceptText,
|
|
47267
|
+
continueButtonText: acceptText,
|
|
47268
|
+
continueAction: function continueAction() {
|
|
47269
|
+
toggleAccepted(true);
|
|
47270
|
+
toggleOpen(false);
|
|
47271
|
+
}
|
|
47272
|
+
}, /*#__PURE__*/React__default.createElement(Text$1, {
|
|
47273
|
+
variant: variant === "default" ? "pS" : "pXS",
|
|
47274
|
+
onClick: function onClick() {
|
|
47275
|
+
return toggleOpen(true);
|
|
47276
|
+
},
|
|
47277
|
+
onKeyPress: function onKeyPress(e) {
|
|
47278
|
+
return e.key === "Enter" && toggleOpen(true);
|
|
47279
|
+
},
|
|
47280
|
+
tabIndex: "0",
|
|
47281
|
+
color: themeValues.linkColor,
|
|
47282
|
+
weight: themeValues.fontWeight,
|
|
47283
|
+
hoverStyles: themeValues.modalLinkHoverFocus,
|
|
47284
|
+
extraStyles: "display: inline-block; width: fit-content;"
|
|
47285
|
+
}, link));
|
|
47286
|
+
};
|
|
47287
|
+
|
|
47288
|
+
var TermsAndConditionsModal$1 = themeComponent(TermsAndConditionsModal, "TermsAndConditionsModal", fallbackValues$L, "default");
|
|
47289
|
+
|
|
47290
|
+
var TermsAndConditions = function TermsAndConditions(_ref) {
|
|
47291
|
+
var onCheck = _ref.onCheck,
|
|
47292
|
+
isChecked = _ref.isChecked,
|
|
47293
|
+
html = _ref.html,
|
|
47294
|
+
terms = _ref.terms,
|
|
47295
|
+
_ref$error = _ref.error,
|
|
47296
|
+
error = _ref$error === void 0 ? false : _ref$error;
|
|
47297
|
+
|
|
47298
|
+
var _useState = React.useState(false),
|
|
47299
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
47300
|
+
showTerms = _useState2[0],
|
|
47301
|
+
toggleShowTerms = _useState2[1];
|
|
47302
|
+
|
|
47303
|
+
return /*#__PURE__*/React__default.createElement(DisplayBox$1, null, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Checkbox$1, {
|
|
47304
|
+
name: "terms",
|
|
47305
|
+
title: "Terms and Conditions",
|
|
47306
|
+
error: error,
|
|
47307
|
+
checked: isChecked,
|
|
47308
|
+
onChange: onCheck
|
|
47309
|
+
}), /*#__PURE__*/React__default.createElement(Box, {
|
|
47310
|
+
padding: "0 0 0 58px"
|
|
47311
|
+
}, /*#__PURE__*/React__default.createElement(Stack, null, /*#__PURE__*/React__default.createElement(Box, {
|
|
47312
|
+
padding: "0"
|
|
47313
|
+
}, html), terms && /*#__PURE__*/React__default.createElement(TermsAndConditionsModal$1, {
|
|
47314
|
+
link: "Learn More",
|
|
47315
|
+
terms: terms,
|
|
47316
|
+
isOpen: showTerms,
|
|
47317
|
+
toggleOpen: toggleShowTerms
|
|
47318
|
+
})))));
|
|
47319
|
+
};
|
|
48769
47320
|
|
|
48770
47321
|
var Timeout = function Timeout(_ref) {
|
|
48771
47322
|
var onLogout = _ref.onLogout;
|
|
@@ -48809,7 +47360,7 @@ var fontColor$1 = WHITE;
|
|
|
48809
47360
|
var textAlign$1 = "left";
|
|
48810
47361
|
var headerBackgroundColor$1 = BRIGHT_GREY;
|
|
48811
47362
|
var imageBackgroundColor$1 = MATISSE_BLUE;
|
|
48812
|
-
var fallbackValues$
|
|
47363
|
+
var fallbackValues$M = {
|
|
48813
47364
|
fontWeight: fontWeight$9,
|
|
48814
47365
|
fontColor: fontColor$1,
|
|
48815
47366
|
textAlign: textAlign$1,
|
|
@@ -48856,7 +47407,7 @@ var WelcomeModule = function WelcomeModule(_ref) {
|
|
|
48856
47407
|
})))));
|
|
48857
47408
|
};
|
|
48858
47409
|
|
|
48859
|
-
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$
|
|
47410
|
+
var WelcomeModule$1 = /*#__PURE__*/React.memo(themeComponent(WelcomeModule, "WelcomeModule", fallbackValues$M));
|
|
48860
47411
|
|
|
48861
47412
|
var WorkflowTile = function WorkflowTile(_ref) {
|
|
48862
47413
|
var _ref$workflowName = _ref.workflowName,
|
|
@@ -48911,7 +47462,7 @@ var WorkflowTile = function WorkflowTile(_ref) {
|
|
|
48911
47462
|
};
|
|
48912
47463
|
|
|
48913
47464
|
var pageBackground = "#FBFCFD";
|
|
48914
|
-
var fallbackValues$
|
|
47465
|
+
var fallbackValues$N = {
|
|
48915
47466
|
pageBackground: pageBackground
|
|
48916
47467
|
};
|
|
48917
47468
|
|
|
@@ -48958,7 +47509,7 @@ var CenterSingle = function CenterSingle(_ref) {
|
|
|
48958
47509
|
})));
|
|
48959
47510
|
};
|
|
48960
47511
|
|
|
48961
|
-
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$
|
|
47512
|
+
var CenterSingle$1 = withWindowSize(themeComponent(CenterSingle, "Global", fallbackValues$N));
|
|
48962
47513
|
|
|
48963
47514
|
var CenterStack = function CenterStack(_ref) {
|
|
48964
47515
|
var header = _ref.header,
|
|
@@ -49000,7 +47551,7 @@ var CenterStack = function CenterStack(_ref) {
|
|
|
49000
47551
|
})));
|
|
49001
47552
|
};
|
|
49002
47553
|
|
|
49003
|
-
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$
|
|
47554
|
+
var CenterStack$1 = withWindowSize(themeComponent(CenterStack, "Global", fallbackValues$N));
|
|
49004
47555
|
|
|
49005
47556
|
var CenterSingle$2 = function CenterSingle(_ref) {
|
|
49006
47557
|
var header = _ref.header,
|
|
@@ -49045,7 +47596,7 @@ var CenterSingle$2 = function CenterSingle(_ref) {
|
|
|
49045
47596
|
})));
|
|
49046
47597
|
};
|
|
49047
47598
|
|
|
49048
|
-
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$
|
|
47599
|
+
var DefaultPageTemplate = withWindowSize(themeComponent(CenterSingle$2, "Global", fallbackValues$N));
|
|
49049
47600
|
|
|
49050
47601
|
var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
49051
47602
|
var header = _ref.header,
|
|
@@ -49099,7 +47650,7 @@ var SidebarSingleContent = function SidebarSingleContent(_ref) {
|
|
|
49099
47650
|
})));
|
|
49100
47651
|
};
|
|
49101
47652
|
|
|
49102
|
-
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$
|
|
47653
|
+
var SidebarSingleContent$1 = withWindowSize(themeComponent(SidebarSingleContent, "Global", fallbackValues$N));
|
|
49103
47654
|
|
|
49104
47655
|
var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
49105
47656
|
var header = _ref.header,
|
|
@@ -49170,7 +47721,7 @@ var SidebarStackContent = function SidebarStackContent(_ref) {
|
|
|
49170
47721
|
})));
|
|
49171
47722
|
};
|
|
49172
47723
|
|
|
49173
|
-
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$
|
|
47724
|
+
var SidebarStackContent$1 = withWindowSize(themeComponent(SidebarStackContent, "Global", fallbackValues$N));
|
|
49174
47725
|
|
|
49175
47726
|
exports.AccountNumberImage = AccountNumberImage;
|
|
49176
47727
|
exports.AccountsAddIcon = AccountsAddIcon$1;
|
|
@@ -49182,14 +47733,8 @@ exports.AddressForm = AddressForm;
|
|
|
49182
47733
|
exports.Alert = Alert$1;
|
|
49183
47734
|
exports.AllocatedIcon = AllocatedIcon;
|
|
49184
47735
|
exports.AmountCallout = AmountCallout$1;
|
|
49185
|
-
exports.ArrowDownCircleIconSmall = ArrowDownCircleIconSmall;
|
|
49186
|
-
exports.ArrowLeftCircleIconMedium = ArrowLeftCircleIconMedium;
|
|
49187
|
-
exports.ArrowLeftCircleIconSmall = ArrowLeftCircleIconSmall;
|
|
49188
|
-
exports.ArrowRightCircleIconSmall = ArrowRightCircleIconSmall;
|
|
49189
|
-
exports.ArrowUpCircleIconSmall = ArrowUpCircleIconSmall;
|
|
49190
47736
|
exports.AutopayOnIcon = AutopayOnIcon;
|
|
49191
47737
|
exports.BankIcon = BankIcon;
|
|
49192
|
-
exports.BankIconLarge = BankIconLarge;
|
|
49193
47738
|
exports.Banner = Banner$1;
|
|
49194
47739
|
exports.Box = Box;
|
|
49195
47740
|
exports.BoxWithShadow = BoxWithShadow$1;
|
|
@@ -49205,11 +47750,7 @@ exports.CenterSingle = CenterSingle$1;
|
|
|
49205
47750
|
exports.CenterStack = CenterStack$1;
|
|
49206
47751
|
exports.ChangePasswordForm = ChangePasswordForm;
|
|
49207
47752
|
exports.ChargebackIcon = ChargebackIcon;
|
|
49208
|
-
exports.ChargebackIconMedium = ChargebackIconMedium;
|
|
49209
|
-
exports.ChargebackIconSmall = ChargebackIconSmall;
|
|
49210
47753
|
exports.ChargebackReversalIcon = ChargebackReversalIcon;
|
|
49211
|
-
exports.ChargebackReversalIconMedium = ChargebackReversalIconMedium;
|
|
49212
|
-
exports.ChargebackReversalIconSmall = ChargebackReversalIconSmall;
|
|
49213
47754
|
exports.CheckIcon = CheckIcon;
|
|
49214
47755
|
exports.Checkbox = Checkbox$1;
|
|
49215
47756
|
exports.CheckboxList = CheckboxList$1;
|
|
@@ -49247,7 +47788,6 @@ exports.FormInputColumn = FormInputColumn;
|
|
|
49247
47788
|
exports.FormInputRow = FormInputRow;
|
|
49248
47789
|
exports.FormSelect = FormSelect$1;
|
|
49249
47790
|
exports.FormattedAddress = FormattedAddress$1;
|
|
49250
|
-
exports.FormattedBankAccount = FormattedBankAccount$1;
|
|
49251
47791
|
exports.FormattedCreditCard = FormattedCreditCard$1;
|
|
49252
47792
|
exports.Frame = Frame;
|
|
49253
47793
|
exports.GenericCard = GenericCard;
|
|
@@ -49258,10 +47798,8 @@ exports.GuidedCheckoutImage = GuidedCheckoutImage;
|
|
|
49258
47798
|
exports.HamburgerButton = HamburgerButton;
|
|
49259
47799
|
exports.Heading = Heading$1;
|
|
49260
47800
|
exports.HighlightTabRow = HighlightTabRow$1;
|
|
49261
|
-
exports.HistoryIconSmall = HistoryIconSmall$1;
|
|
49262
47801
|
exports.IconAdd = IconAdd;
|
|
49263
47802
|
exports.IconQuitLarge = IconQuitLarge;
|
|
49264
|
-
exports.ImageBox = ImageBox;
|
|
49265
47803
|
exports.Imposter = Imposter;
|
|
49266
47804
|
exports.InternalLink = InternalLink;
|
|
49267
47805
|
exports.Jumbo = Jumbo$1;
|
|
@@ -49283,7 +47821,7 @@ exports.NoPaymentResultsIcon = NoPaymentResultsIcon;
|
|
|
49283
47821
|
exports.NotFoundIcon = NotFoundIcon;
|
|
49284
47822
|
exports.Obligation = Obligation;
|
|
49285
47823
|
exports.ObligationIcons = iconsMap;
|
|
49286
|
-
exports.Pagination = Pagination
|
|
47824
|
+
exports.Pagination = Pagination;
|
|
49287
47825
|
exports.Paragraph = Paragraph$1;
|
|
49288
47826
|
exports.PartialAmountForm = PartialAmountForm;
|
|
49289
47827
|
exports.PasswordRequirements = PasswordRequirements;
|
|
@@ -49291,11 +47829,11 @@ exports.PaymentButtonBar = PaymentButtonBar;
|
|
|
49291
47829
|
exports.PaymentDetails = PaymentDetails$1;
|
|
49292
47830
|
exports.PaymentFormACH = PaymentFormACH;
|
|
49293
47831
|
exports.PaymentFormCard = PaymentFormCard$1;
|
|
47832
|
+
exports.PaymentIcon = PaymentIcon;
|
|
49294
47833
|
exports.PaymentMethodAddIcon = PaymentMethodAddIcon$1;
|
|
49295
47834
|
exports.PaymentMethodIcon = PaymentMethodIcon$1;
|
|
49296
47835
|
exports.PaymentSearchIcon = PaymentSearchIcon;
|
|
49297
47836
|
exports.PaymentsIconSmall = PaymentsIconSmall$1;
|
|
49298
|
-
exports.PencilIcon = PencilIcon$1;
|
|
49299
47837
|
exports.PendingIcon = PendingIcon;
|
|
49300
47838
|
exports.PeriscopeDashboardIframe = PeriscopeDashboardIframe;
|
|
49301
47839
|
exports.PeriscopeFailedIcon = PeriscopeFailedIcon;
|
|
@@ -49314,8 +47852,6 @@ exports.RadioGroup = RadioGroup;
|
|
|
49314
47852
|
exports.RadioSection = RadioSection$1;
|
|
49315
47853
|
exports.Reel = Reel;
|
|
49316
47854
|
exports.RefundIcon = RefundIcon;
|
|
49317
|
-
exports.RefundIconMedium = RefundIconMedium;
|
|
49318
|
-
exports.RefundIconSmall = RefundIconSmall;
|
|
49319
47855
|
exports.RegistrationForm = RegistrationForm;
|
|
49320
47856
|
exports.RejectedIcon = RejectedIcon;
|
|
49321
47857
|
exports.RejectedVelocityIcon = RejectedVelocityIcon;
|
|
@@ -49339,17 +47875,9 @@ exports.StandardCheckoutImage = StandardCheckoutImage;
|
|
|
49339
47875
|
exports.StateProvinceDropdown = FormStateDropdown;
|
|
49340
47876
|
exports.StatusUnknownIcon = StatusUnknownIcon;
|
|
49341
47877
|
exports.SuccessfulIcon = SuccessfulIcon;
|
|
49342
|
-
exports.SuccessfulIconMedium = SuccessfulIconMedium;
|
|
49343
|
-
exports.SuccessfulIconSmall = SuccessfulIconSmall;
|
|
49344
47878
|
exports.Switcher = Switcher;
|
|
49345
47879
|
exports.TabSidebar = TabSidebar$1;
|
|
49346
|
-
exports.Table = Table_styled;
|
|
49347
|
-
exports.TableBody = TableBody_styled;
|
|
49348
|
-
exports.TableCell = TableCell_styled;
|
|
49349
|
-
exports.TableHead = TableHead$1;
|
|
49350
|
-
exports.TableHeading = TableHeading_styled;
|
|
49351
47880
|
exports.TableListItem = TableListItem;
|
|
49352
|
-
exports.TableRow = TableRow$1;
|
|
49353
47881
|
exports.Tabs = Tabs$1;
|
|
49354
47882
|
exports.TermsAndConditions = TermsAndConditions;
|
|
49355
47883
|
exports.TermsAndConditionsModal = TermsAndConditionsModal$1;
|
|
@@ -49368,8 +47896,6 @@ exports.WalletIconSmall = WalletIconSmall$1;
|
|
|
49368
47896
|
exports.WarningIconXS = WarningIconXS;
|
|
49369
47897
|
exports.WelcomeModule = WelcomeModule$1;
|
|
49370
47898
|
exports.WorkflowTile = WorkflowTile;
|
|
49371
|
-
exports.XCircleIconMedium = XCircleIconMedium;
|
|
49372
|
-
exports.XCircleIconSmall = XCircleIconSmall;
|
|
49373
47899
|
exports.cardRegistry = cardRegistry;
|
|
49374
47900
|
exports.constants = index$5;
|
|
49375
47901
|
exports.createPartialAmountFormState = createPartialAmountFormState;
|