@coinswap-app/uikit 1.0.15 → 1.0.17
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 +538 -946
- package/dist/index.d.ts +0 -2
- package/dist/index.esm.js +532 -935
- package/dist/wallet.d.ts +3 -0
- package/dist/widgets/Menu/components/UserBlock.d.ts +6 -6
- package/package.json +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -18,9 +18,8 @@ import { ThemeProvider } from '@mui/styles';
|
|
|
18
18
|
import { useDropzone } from 'react-dropzone';
|
|
19
19
|
import { TextField } from '@mui/material';
|
|
20
20
|
import noop from 'lodash/noop';
|
|
21
|
-
import _
|
|
21
|
+
import _ from 'lodash';
|
|
22
22
|
import { Link as Link$1, NavLink, useLocation } from 'react-router-dom';
|
|
23
|
-
import { useWeb3React } from '@web3-react/core';
|
|
24
23
|
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
25
24
|
import { useFormik } from 'formik';
|
|
26
25
|
import * as Yup from 'yup';
|
|
@@ -308,9 +307,9 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
308
307
|
};
|
|
309
308
|
};
|
|
310
309
|
|
|
311
|
-
var _templateObject$
|
|
312
|
-
var rotate$1 = keyframes(_templateObject$
|
|
313
|
-
var spinStyle = css(_templateObject2$
|
|
310
|
+
var _templateObject$2a, _templateObject2$15, _templateObject3$N;
|
|
311
|
+
var rotate$1 = keyframes(_templateObject$2a || (_templateObject$2a = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
312
|
+
var spinStyle = css(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
314
313
|
var Svg = styled("svg").withConfig({
|
|
315
314
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
316
315
|
return !['$spin', '$opac'].includes(prop);
|
|
@@ -318,7 +317,7 @@ var Svg = styled("svg").withConfig({
|
|
|
318
317
|
}).withConfig({
|
|
319
318
|
displayName: "Svg",
|
|
320
319
|
componentId: "sc-1oa1mzv-0"
|
|
321
|
-
})(_templateObject3$
|
|
320
|
+
})(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteral(["\n fill: ", ";\n flex-shrink: 0;\n width: ", ";\n xmlns: ", ";\n\n ", "\n ", "\n path {\n fill: ", ";\n //Opacity set on 0.5\n fill-opacity: ", ";\n }\n"])), function (_ref) {
|
|
322
321
|
var theme = _ref.theme,
|
|
323
322
|
_ref$color = _ref.color,
|
|
324
323
|
color = _ref$color === void 0 ? "text" : _ref$color;
|
|
@@ -352,10 +351,10 @@ var Icon$2H = function Icon(props) {
|
|
|
352
351
|
}));
|
|
353
352
|
};
|
|
354
353
|
|
|
355
|
-
var _excluded$
|
|
354
|
+
var _excluded$12 = ["fill"];
|
|
356
355
|
var Icon$2G = function Icon(_ref) {
|
|
357
356
|
var fill = _ref.fill,
|
|
358
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
357
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
359
358
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
360
359
|
viewBox: "0 0 20 20"
|
|
361
360
|
}, props), {}, {
|
|
@@ -389,7 +388,7 @@ var Icon$2E = function Icon(props) {
|
|
|
389
388
|
}));
|
|
390
389
|
};
|
|
391
390
|
|
|
392
|
-
var _templateObject$
|
|
391
|
+
var _templateObject$29;
|
|
393
392
|
var getColor$1 = function getColor(_ref) {
|
|
394
393
|
var color = _ref.color,
|
|
395
394
|
theme = _ref.theme;
|
|
@@ -407,7 +406,7 @@ var Text = styled.div.withConfig({
|
|
|
407
406
|
}).withConfig({
|
|
408
407
|
displayName: "Text",
|
|
409
408
|
componentId: "sc-nskjht-0"
|
|
410
|
-
})(_templateObject$
|
|
409
|
+
})(_templateObject$29 || (_templateObject$29 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 1.5;\n ", "\n ", "\n ", "\n"])), getColor$1, getFontSize, function (_ref3) {
|
|
411
410
|
var $bold = _ref3.$bold,
|
|
412
411
|
bold = _ref3.bold;
|
|
413
412
|
return $bold || bold ? 700 : 400;
|
|
@@ -454,7 +453,7 @@ var variants$4 = {
|
|
|
454
453
|
OUTLINE: "outline"
|
|
455
454
|
};
|
|
456
455
|
|
|
457
|
-
var _templateObject$
|
|
456
|
+
var _templateObject$28;
|
|
458
457
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
459
458
|
var $isLoading = _ref.$isLoading,
|
|
460
459
|
theme = _ref.theme;
|
|
@@ -486,7 +485,7 @@ var StyledButton$2 = styled.button.withConfig({
|
|
|
486
485
|
}).withConfig({
|
|
487
486
|
displayName: "StyledButton",
|
|
488
487
|
componentId: "sc-pxfjak-0"
|
|
489
|
-
})(_templateObject$
|
|
488
|
+
})(_templateObject$28 || (_templateObject$28 = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: ", ";\n border-radius: 10px;\n color: ", ";\n cursor: pointer;\n display: inline-flex;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: background-color 0.2s;\n opacity: ", ";\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: ", ";\n border-color: ", ";\n }\n\n &:focus:not(:active) {\n box-shadow: 0 0 0 1px ", ";\n }\n\n &:active {\n background-color: ", ";\n box-shadow: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
490
489
|
var $white = _ref4.$white;
|
|
491
490
|
return $white ? "white" : getButtonVariantProp$3("color");
|
|
492
491
|
}, function (_ref5) {
|
|
@@ -508,7 +507,7 @@ var StyledButton$2 = styled.button.withConfig({
|
|
|
508
507
|
return theme.colors.secondary;
|
|
509
508
|
}, getButtonVariantProp$3("backgroundActive"), getButtonVariantProp$3("boxShadowActive"), getDisabledStyles$3, removePointerEvents$3, space);
|
|
510
509
|
|
|
511
|
-
var _excluded$
|
|
510
|
+
var _excluded$11 = ["startIcon", "style", "endIcon", "children", "external", "$isLoading", "disabled", "$white", "$fullWidth", "fullWidth", "isLoading", "white"],
|
|
512
511
|
_excluded2$2 = ["isActive"];
|
|
513
512
|
var Button$1 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
514
513
|
var startIcon = _ref.startIcon,
|
|
@@ -525,7 +524,7 @@ var Button$1 = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
525
524
|
fullWidthProp = _ref.fullWidth,
|
|
526
525
|
isLoadingProp = _ref.isLoading,
|
|
527
526
|
whiteProp = _ref.white,
|
|
528
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
527
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
529
528
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
530
529
|
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
531
530
|
var $white = $whiteProp || whiteProp;
|
|
@@ -562,10 +561,10 @@ var Icon$2D = function Icon(props) {
|
|
|
562
561
|
}));
|
|
563
562
|
};
|
|
564
563
|
|
|
565
|
-
var _excluded$
|
|
564
|
+
var _excluded$10 = ["fill"];
|
|
566
565
|
var Icon$2C = function Icon(_ref) {
|
|
567
566
|
var fill = _ref.fill,
|
|
568
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
567
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
569
568
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
570
569
|
viewBox: "0 0 20 20"
|
|
571
570
|
}, props), {}, {
|
|
@@ -596,10 +595,10 @@ var Icon$2B = function Icon() {
|
|
|
596
595
|
});
|
|
597
596
|
};
|
|
598
597
|
|
|
599
|
-
var _excluded
|
|
598
|
+
var _excluded$$ = ["fill"];
|
|
600
599
|
var Icon$2A = function Icon(_ref) {
|
|
601
600
|
var fill = _ref.fill,
|
|
602
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
601
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
603
602
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
604
603
|
viewBox: "0 0 24 25"
|
|
605
604
|
}, props), {}, {
|
|
@@ -610,10 +609,10 @@ var Icon$2A = function Icon(_ref) {
|
|
|
610
609
|
}));
|
|
611
610
|
};
|
|
612
611
|
|
|
613
|
-
var _excluded
|
|
612
|
+
var _excluded$_ = ["fill"];
|
|
614
613
|
var Icon$2z = function Icon(_ref) {
|
|
615
614
|
var fill = _ref.fill,
|
|
616
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
615
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
617
616
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
618
617
|
viewBox: "0 0 24 25"
|
|
619
618
|
}, props), {}, {
|
|
@@ -656,10 +655,10 @@ var Icon$2x = function Icon(props) {
|
|
|
656
655
|
}));
|
|
657
656
|
};
|
|
658
657
|
|
|
659
|
-
var _excluded$
|
|
658
|
+
var _excluded$Z = ["fill"];
|
|
660
659
|
var Icon$2w = function Icon(_ref) {
|
|
661
660
|
var fill = _ref.fill,
|
|
662
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
661
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
663
662
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
664
663
|
viewBox: "0 0 24 25"
|
|
665
664
|
}, props), {}, {
|
|
@@ -706,10 +705,10 @@ var Icon$2t = function Icon(props) {
|
|
|
706
705
|
}));
|
|
707
706
|
};
|
|
708
707
|
|
|
709
|
-
var _excluded$
|
|
708
|
+
var _excluded$Y = ["fill"];
|
|
710
709
|
var Icon$2s = function Icon(_ref) {
|
|
711
710
|
var fill = _ref.fill,
|
|
712
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
711
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
713
712
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
714
713
|
viewBox: "0 0 16 16"
|
|
715
714
|
}, props), {}, {
|
|
@@ -721,10 +720,10 @@ var Icon$2s = function Icon(_ref) {
|
|
|
721
720
|
}));
|
|
722
721
|
};
|
|
723
722
|
|
|
724
|
-
var _excluded$
|
|
723
|
+
var _excluded$X = ["fill"];
|
|
725
724
|
var Icon$2r = function Icon(_ref) {
|
|
726
725
|
var fill = _ref.fill,
|
|
727
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
726
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
728
727
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
729
728
|
viewBox: "0 0 25 24"
|
|
730
729
|
}, props), {}, {
|
|
@@ -748,11 +747,11 @@ var Icon$2q = function Icon(props) {
|
|
|
748
747
|
}));
|
|
749
748
|
};
|
|
750
749
|
|
|
751
|
-
var _excluded$
|
|
750
|
+
var _excluded$W = ["fill", "fillOpacity"];
|
|
752
751
|
var Icon$2p = function Icon(_ref) {
|
|
753
752
|
var fill = _ref.fill,
|
|
754
753
|
fillOpacity = _ref.fillOpacity,
|
|
755
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
754
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
756
755
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
757
756
|
children: /*#__PURE__*/jsx("path", {
|
|
758
757
|
fillRule: "evenodd",
|
|
@@ -764,10 +763,10 @@ var Icon$2p = function Icon(_ref) {
|
|
|
764
763
|
}));
|
|
765
764
|
};
|
|
766
765
|
|
|
767
|
-
var _excluded$
|
|
766
|
+
var _excluded$V = ["fill"];
|
|
768
767
|
var Icon$2o = function Icon(_ref) {
|
|
769
768
|
var fill = _ref.fill,
|
|
770
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
769
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
771
770
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
772
771
|
viewBox: "0 0 24 24"
|
|
773
772
|
}, props), {}, {
|
|
@@ -778,10 +777,10 @@ var Icon$2o = function Icon(_ref) {
|
|
|
778
777
|
}));
|
|
779
778
|
};
|
|
780
779
|
|
|
781
|
-
var _excluded$
|
|
780
|
+
var _excluded$U = ["fill"];
|
|
782
781
|
var Icon$2n = function Icon(_ref) {
|
|
783
782
|
var fill = _ref.fill,
|
|
784
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
783
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
785
784
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
786
785
|
viewBox: "0 0 24 24"
|
|
787
786
|
}, props), {}, {
|
|
@@ -792,10 +791,10 @@ var Icon$2n = function Icon(_ref) {
|
|
|
792
791
|
}));
|
|
793
792
|
};
|
|
794
793
|
|
|
795
|
-
var _excluded$
|
|
794
|
+
var _excluded$T = ["fill"];
|
|
796
795
|
var Icon$2m = function Icon(_ref) {
|
|
797
796
|
var fill = _ref.fill,
|
|
798
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
797
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
799
798
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
800
799
|
viewBox: "0 0 24 24"
|
|
801
800
|
}, props), {}, {
|
|
@@ -806,10 +805,10 @@ var Icon$2m = function Icon(_ref) {
|
|
|
806
805
|
}));
|
|
807
806
|
};
|
|
808
807
|
|
|
809
|
-
var _excluded$
|
|
808
|
+
var _excluded$S = ["fill"];
|
|
810
809
|
var Icon$2l = function Icon(_ref) {
|
|
811
810
|
var fill = _ref.fill,
|
|
812
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
811
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
813
812
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
814
813
|
viewBox: "0 0 24 24"
|
|
815
814
|
}, props), {}, {
|
|
@@ -820,10 +819,10 @@ var Icon$2l = function Icon(_ref) {
|
|
|
820
819
|
}));
|
|
821
820
|
};
|
|
822
821
|
|
|
823
|
-
var _excluded$
|
|
822
|
+
var _excluded$R = ["fill"];
|
|
824
823
|
var Icon$2k = function Icon(_ref) {
|
|
825
824
|
var fill = _ref.fill,
|
|
826
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
825
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
827
826
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
828
827
|
viewBox: "0 0 20 20"
|
|
829
828
|
}, props), {}, {
|
|
@@ -837,10 +836,10 @@ var Icon$2k = function Icon(_ref) {
|
|
|
837
836
|
}));
|
|
838
837
|
};
|
|
839
838
|
|
|
840
|
-
var _excluded$
|
|
839
|
+
var _excluded$Q = ["fill"];
|
|
841
840
|
var Icon$2j = function Icon(_ref) {
|
|
842
841
|
var fill = _ref.fill;
|
|
843
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
842
|
+
_objectWithoutProperties(_ref, _excluded$Q);
|
|
844
843
|
return /*#__PURE__*/jsx("svg", {
|
|
845
844
|
width: "17",
|
|
846
845
|
height: "17",
|
|
@@ -856,10 +855,10 @@ var Icon$2j = function Icon(_ref) {
|
|
|
856
855
|
});
|
|
857
856
|
};
|
|
858
857
|
|
|
859
|
-
var _excluded$
|
|
858
|
+
var _excluded$P = ["fill"];
|
|
860
859
|
var Icon$2i = function Icon(_ref) {
|
|
861
860
|
var fill = _ref.fill,
|
|
862
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
861
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
863
862
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
864
863
|
viewBox: "0 0 20 22"
|
|
865
864
|
}, props), {}, {
|
|
@@ -895,10 +894,10 @@ var Icon$2g = function Icon(props) {
|
|
|
895
894
|
}));
|
|
896
895
|
};
|
|
897
896
|
|
|
898
|
-
var _excluded$
|
|
897
|
+
var _excluded$O = ["fill"];
|
|
899
898
|
var Icon$2f = function Icon(_ref) {
|
|
900
899
|
var fill = _ref.fill,
|
|
901
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
900
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
902
901
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
903
902
|
viewBox: "0 0 20 20"
|
|
904
903
|
}, props), {}, {
|
|
@@ -968,10 +967,10 @@ var Icon$2c = function Icon(props) {
|
|
|
968
967
|
}));
|
|
969
968
|
};
|
|
970
969
|
|
|
971
|
-
var _excluded$
|
|
970
|
+
var _excluded$N = ["fill"];
|
|
972
971
|
var Icon$2b = function Icon(_ref) {
|
|
973
972
|
var fill = _ref.fill,
|
|
974
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
973
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
975
974
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
976
975
|
viewBox: "0 0 14 14"
|
|
977
976
|
}, props), {}, {
|
|
@@ -1127,10 +1126,10 @@ var Icon$27 = function Icon(props) {
|
|
|
1127
1126
|
}));
|
|
1128
1127
|
};
|
|
1129
1128
|
|
|
1130
|
-
var _excluded$
|
|
1129
|
+
var _excluded$M = ["fill"];
|
|
1131
1130
|
var Icon$26 = function Icon(_ref) {
|
|
1132
1131
|
var fill = _ref.fill,
|
|
1133
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1132
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
1134
1133
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1135
1134
|
viewBox: "0 0 24 24"
|
|
1136
1135
|
}, props), {}, {
|
|
@@ -1392,10 +1391,10 @@ var Icon$1Y = function Icon(props) {
|
|
|
1392
1391
|
}));
|
|
1393
1392
|
};
|
|
1394
1393
|
|
|
1395
|
-
var _excluded$
|
|
1394
|
+
var _excluded$L = ["fill"];
|
|
1396
1395
|
var Icon$1X = function Icon(_ref) {
|
|
1397
1396
|
var fill = _ref.fill,
|
|
1398
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1397
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
1399
1398
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1400
1399
|
width: "20",
|
|
1401
1400
|
height: "20",
|
|
@@ -1408,10 +1407,10 @@ var Icon$1X = function Icon(_ref) {
|
|
|
1408
1407
|
}));
|
|
1409
1408
|
};
|
|
1410
1409
|
|
|
1411
|
-
var _excluded$
|
|
1410
|
+
var _excluded$K = ["fill"];
|
|
1412
1411
|
var Icon$1W = function Icon(_ref) {
|
|
1413
1412
|
var fill = _ref.fill,
|
|
1414
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1413
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
1415
1414
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1416
1415
|
viewBox: "0 0 20 20"
|
|
1417
1416
|
}, props), {}, {
|
|
@@ -1484,10 +1483,10 @@ var Icon$1U = function Icon(props) {
|
|
|
1484
1483
|
}));
|
|
1485
1484
|
};
|
|
1486
1485
|
|
|
1487
|
-
var _excluded$
|
|
1486
|
+
var _excluded$J = ["fill"];
|
|
1488
1487
|
var Icon$1T = function Icon(_ref) {
|
|
1489
1488
|
var fill = _ref.fill,
|
|
1490
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1489
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
1491
1490
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1492
1491
|
viewBox: "0 0 20 20"
|
|
1493
1492
|
}, props), {}, {
|
|
@@ -1498,10 +1497,10 @@ var Icon$1T = function Icon(_ref) {
|
|
|
1498
1497
|
}));
|
|
1499
1498
|
};
|
|
1500
1499
|
|
|
1501
|
-
var _excluded$
|
|
1500
|
+
var _excluded$I = ["fill"];
|
|
1502
1501
|
var Icon$1S = function Icon(_ref) {
|
|
1503
1502
|
var fill = _ref.fill,
|
|
1504
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1503
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
1505
1504
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1506
1505
|
viewBox: "0 0 24 24"
|
|
1507
1506
|
}, props), {}, {
|
|
@@ -1585,10 +1584,10 @@ var Icon$1N = function Icon(props) {
|
|
|
1585
1584
|
}));
|
|
1586
1585
|
};
|
|
1587
1586
|
|
|
1588
|
-
var _excluded$
|
|
1587
|
+
var _excluded$H = ["fill"];
|
|
1589
1588
|
var Icon$1M = function Icon(_ref) {
|
|
1590
1589
|
var fill = _ref.fill,
|
|
1591
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1590
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
1592
1591
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1593
1592
|
viewBox: "0 0 24 25"
|
|
1594
1593
|
}, props), {}, {
|
|
@@ -1599,10 +1598,10 @@ var Icon$1M = function Icon(_ref) {
|
|
|
1599
1598
|
}));
|
|
1600
1599
|
};
|
|
1601
1600
|
|
|
1602
|
-
var _excluded$
|
|
1601
|
+
var _excluded$G = ["fill"];
|
|
1603
1602
|
var Icon$1L = function Icon(_ref) {
|
|
1604
1603
|
var fill = _ref.fill,
|
|
1605
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1604
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
1606
1605
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1607
1606
|
viewBox: "0 0 24 24"
|
|
1608
1607
|
}, props), {}, {
|
|
@@ -1613,10 +1612,10 @@ var Icon$1L = function Icon(_ref) {
|
|
|
1613
1612
|
}));
|
|
1614
1613
|
};
|
|
1615
1614
|
|
|
1616
|
-
var _excluded$
|
|
1615
|
+
var _excluded$F = ["fill"];
|
|
1617
1616
|
var Icon$1K = function Icon(_ref) {
|
|
1618
1617
|
var fill = _ref.fill,
|
|
1619
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1618
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
1620
1619
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1621
1620
|
viewBox: "0 0 24 24"
|
|
1622
1621
|
}, props), {}, {
|
|
@@ -1627,10 +1626,10 @@ var Icon$1K = function Icon(_ref) {
|
|
|
1627
1626
|
}));
|
|
1628
1627
|
};
|
|
1629
1628
|
|
|
1630
|
-
var _excluded$
|
|
1629
|
+
var _excluded$E = ["fill"];
|
|
1631
1630
|
var Icon$1J = function Icon(_ref) {
|
|
1632
1631
|
var fill = _ref.fill,
|
|
1633
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1632
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
1634
1633
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
1635
1634
|
viewBox: "0 0 24 24"
|
|
1636
1635
|
}, props), {}, {
|
|
@@ -1644,10 +1643,10 @@ var Icon$1J = function Icon(_ref) {
|
|
|
1644
1643
|
}));
|
|
1645
1644
|
};
|
|
1646
1645
|
|
|
1647
|
-
var _excluded$
|
|
1646
|
+
var _excluded$D = ["fill"];
|
|
1648
1647
|
var Icon$1I = function Icon(_ref) {
|
|
1649
1648
|
var fill = _ref.fill,
|
|
1650
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1649
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
1651
1650
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1652
1651
|
viewBox: "0 0 14 14"
|
|
1653
1652
|
}, props), {}, {
|
|
@@ -1660,10 +1659,10 @@ var Icon$1I = function Icon(_ref) {
|
|
|
1660
1659
|
}));
|
|
1661
1660
|
};
|
|
1662
1661
|
|
|
1663
|
-
var _excluded$
|
|
1662
|
+
var _excluded$C = ["fill"];
|
|
1664
1663
|
var Icon$1H = function Icon(_ref) {
|
|
1665
1664
|
var fill = _ref.fill,
|
|
1666
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1665
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
1667
1666
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1668
1667
|
viewBox: "0 0 24 25"
|
|
1669
1668
|
}, props), {}, {
|
|
@@ -1674,10 +1673,10 @@ var Icon$1H = function Icon(_ref) {
|
|
|
1674
1673
|
}));
|
|
1675
1674
|
};
|
|
1676
1675
|
|
|
1677
|
-
var _excluded$
|
|
1676
|
+
var _excluded$B = ["fill"];
|
|
1678
1677
|
var Icon$1G = function Icon(_ref) {
|
|
1679
1678
|
var fill = _ref.fill,
|
|
1680
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1679
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
1681
1680
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1682
1681
|
viewBox: "0 0 20 12"
|
|
1683
1682
|
}, props), {}, {
|
|
@@ -1690,10 +1689,10 @@ var Icon$1G = function Icon(_ref) {
|
|
|
1690
1689
|
}));
|
|
1691
1690
|
};
|
|
1692
1691
|
|
|
1693
|
-
var _excluded$
|
|
1692
|
+
var _excluded$A = ["fill"];
|
|
1694
1693
|
var Icon$1F = function Icon(_ref) {
|
|
1695
1694
|
var fill = _ref.fill,
|
|
1696
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1695
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
1697
1696
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1698
1697
|
viewBox: "0 0 24 25"
|
|
1699
1698
|
}, props), {}, {
|
|
@@ -1704,10 +1703,10 @@ var Icon$1F = function Icon(_ref) {
|
|
|
1704
1703
|
}));
|
|
1705
1704
|
};
|
|
1706
1705
|
|
|
1707
|
-
var _excluded$
|
|
1706
|
+
var _excluded$z = ["fill"];
|
|
1708
1707
|
var Icon$1E = function Icon(_ref) {
|
|
1709
1708
|
var fill = _ref.fill,
|
|
1710
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1709
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
1711
1710
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1712
1711
|
viewBox: "0 0 24 24"
|
|
1713
1712
|
}, props), {}, {
|
|
@@ -1718,10 +1717,10 @@ var Icon$1E = function Icon(_ref) {
|
|
|
1718
1717
|
}));
|
|
1719
1718
|
};
|
|
1720
1719
|
|
|
1721
|
-
var _excluded$
|
|
1720
|
+
var _excluded$y = ["fill"];
|
|
1722
1721
|
var Icon$1D = function Icon(_ref) {
|
|
1723
1722
|
var fill = _ref.fill,
|
|
1724
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1723
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
1725
1724
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1726
1725
|
viewBox: "0 0 24 24"
|
|
1727
1726
|
}, props), {}, {
|
|
@@ -1732,10 +1731,10 @@ var Icon$1D = function Icon(_ref) {
|
|
|
1732
1731
|
}));
|
|
1733
1732
|
};
|
|
1734
1733
|
|
|
1735
|
-
var _excluded$
|
|
1734
|
+
var _excluded$x = ["fill"];
|
|
1736
1735
|
var Icon$1C = function Icon(_ref) {
|
|
1737
1736
|
var fill = _ref.fill,
|
|
1738
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1737
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
1739
1738
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1740
1739
|
viewBox: "0 0 20 20"
|
|
1741
1740
|
}, props), {}, {
|
|
@@ -1746,10 +1745,10 @@ var Icon$1C = function Icon(_ref) {
|
|
|
1746
1745
|
}));
|
|
1747
1746
|
};
|
|
1748
1747
|
|
|
1749
|
-
var _excluded$
|
|
1748
|
+
var _excluded$w = ["fill"];
|
|
1750
1749
|
var Icon$1B = function Icon(_ref) {
|
|
1751
1750
|
var fill = _ref.fill,
|
|
1752
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1751
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
1753
1752
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1754
1753
|
viewBox: "0 0 24 24"
|
|
1755
1754
|
}, props), {}, {
|
|
@@ -1760,10 +1759,10 @@ var Icon$1B = function Icon(_ref) {
|
|
|
1760
1759
|
}));
|
|
1761
1760
|
};
|
|
1762
1761
|
|
|
1763
|
-
var _excluded$
|
|
1762
|
+
var _excluded$v = ["fill"];
|
|
1764
1763
|
var Icon$1A = function Icon(_ref) {
|
|
1765
1764
|
var fill = _ref.fill,
|
|
1766
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1765
|
+
props = _objectWithoutProperties(_ref, _excluded$v);
|
|
1767
1766
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1768
1767
|
viewBox: "0 0 20 20"
|
|
1769
1768
|
}, props), {}, {
|
|
@@ -1774,10 +1773,10 @@ var Icon$1A = function Icon(_ref) {
|
|
|
1774
1773
|
}));
|
|
1775
1774
|
};
|
|
1776
1775
|
|
|
1777
|
-
var _excluded$
|
|
1776
|
+
var _excluded$u = ["fill"];
|
|
1778
1777
|
var Icon$1z = function Icon(_ref) {
|
|
1779
1778
|
var fill = _ref.fill,
|
|
1780
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1779
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
1781
1780
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1782
1781
|
viewBox: "0 0 24 24"
|
|
1783
1782
|
}, props), {}, {
|
|
@@ -1788,10 +1787,10 @@ var Icon$1z = function Icon(_ref) {
|
|
|
1788
1787
|
}));
|
|
1789
1788
|
};
|
|
1790
1789
|
|
|
1791
|
-
var _excluded$
|
|
1790
|
+
var _excluded$t = ["fill"];
|
|
1792
1791
|
var Icon$1y = function Icon(_ref) {
|
|
1793
1792
|
var fill = _ref.fill,
|
|
1794
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1793
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
1795
1794
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1796
1795
|
viewBox: "0 0 17 14"
|
|
1797
1796
|
}, props), {}, {
|
|
@@ -2048,10 +2047,10 @@ var Icon$1l = function Icon(props) {
|
|
|
2048
2047
|
}));
|
|
2049
2048
|
};
|
|
2050
2049
|
|
|
2051
|
-
var _excluded$
|
|
2050
|
+
var _excluded$s = ["fill"];
|
|
2052
2051
|
var Icon$1k = function Icon(_ref) {
|
|
2053
2052
|
_ref.fill;
|
|
2054
|
-
var props = _objectWithoutProperties(_ref, _excluded$
|
|
2053
|
+
var props = _objectWithoutProperties(_ref, _excluded$s);
|
|
2055
2054
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
2056
2055
|
viewBox: "0 0 20 20"
|
|
2057
2056
|
}, props), {}, {
|
|
@@ -2172,10 +2171,10 @@ var Icon$1g = function Icon(props) {
|
|
|
2172
2171
|
}));
|
|
2173
2172
|
};
|
|
2174
2173
|
|
|
2175
|
-
var _excluded$
|
|
2174
|
+
var _excluded$r = ["fill"];
|
|
2176
2175
|
var Icon$1f = function Icon(_ref) {
|
|
2177
2176
|
_ref.fill;
|
|
2178
|
-
var props = _objectWithoutProperties(_ref, _excluded$
|
|
2177
|
+
var props = _objectWithoutProperties(_ref, _excluded$r);
|
|
2179
2178
|
return /*#__PURE__*/jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
2180
2179
|
width: "20",
|
|
2181
2180
|
height: "21",
|
|
@@ -2207,10 +2206,10 @@ var Icon$1f = function Icon(_ref) {
|
|
|
2207
2206
|
}));
|
|
2208
2207
|
};
|
|
2209
2208
|
|
|
2210
|
-
var _excluded$
|
|
2209
|
+
var _excluded$q = ["fill"];
|
|
2211
2210
|
var Icon$1e = function Icon(_ref) {
|
|
2212
2211
|
var fill = _ref.fill,
|
|
2213
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2212
|
+
props = _objectWithoutProperties(_ref, _excluded$q);
|
|
2214
2213
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
2215
2214
|
viewBox: "0 0 28 28",
|
|
2216
2215
|
width: props.width || "28",
|
|
@@ -7921,17 +7920,17 @@ var Icon$T = function Icon(props) {
|
|
|
7921
7920
|
});
|
|
7922
7921
|
};
|
|
7923
7922
|
|
|
7924
|
-
var _templateObject$
|
|
7923
|
+
var _templateObject$27, _templateObject2$14;
|
|
7925
7924
|
var ButtonText = styled.span.withConfig({
|
|
7926
7925
|
displayName: "ButtonText",
|
|
7927
7926
|
componentId: "sc-kepl07-0"
|
|
7928
|
-
})(_templateObject$
|
|
7927
|
+
})(_templateObject$27 || (_templateObject$27 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 16px;\n line-height: 28px;\n width: 84px;\n transition: all 0.5s ease-in;\n display: ", ";\n"])), function (props) {
|
|
7929
7928
|
return props.extended ? "block" : "none";
|
|
7930
7929
|
});
|
|
7931
7930
|
var RampButtonWrapper$1 = styled(Button$1).withConfig({
|
|
7932
7931
|
displayName: "RampButtonWrapper",
|
|
7933
7932
|
componentId: "sc-kepl07-1"
|
|
7934
|
-
})(_templateObject2$
|
|
7933
|
+
})(_templateObject2$14 || (_templateObject2$14 = _taggedTemplateLiteral(["\n padding: 6px 10px;\n padding: ", ";\n outline: none;\n border: none;\n width: ", "px;\n height: 40px;\n background: ", ";\n border-radius: 10px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n overflow: hidden;\n transition: all 0.5s ease-in;\n"])), function (props) {
|
|
7935
7934
|
return props.extended ? "6px 25px" : "6px 10px";
|
|
7936
7935
|
}, function (props) {
|
|
7937
7936
|
return props.extended ? 110 : 60;
|
|
@@ -7959,20 +7958,20 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7959
7958
|
});
|
|
7960
7959
|
};
|
|
7961
7960
|
|
|
7962
|
-
var _templateObject$
|
|
7961
|
+
var _templateObject$26;
|
|
7963
7962
|
var IconButton = styled(Button$1).withConfig({
|
|
7964
7963
|
displayName: "IconButton",
|
|
7965
7964
|
componentId: "sc-9rnm19-0"
|
|
7966
|
-
})(_templateObject$
|
|
7965
|
+
})(_templateObject$26 || (_templateObject$26 = _taggedTemplateLiteral(["\n padding: 0;\n width: ", ";\n margin: 0px 4px;\n border: none;\n outline: none;\n"])), function (_ref) {
|
|
7967
7966
|
var size = _ref.size;
|
|
7968
7967
|
return size === "sm" ? "32px" : "60px";
|
|
7969
7968
|
});
|
|
7970
7969
|
|
|
7971
|
-
var _templateObject$
|
|
7970
|
+
var _templateObject$25;
|
|
7972
7971
|
var RampButtonWrapper = styled.button.withConfig({
|
|
7973
7972
|
displayName: "RampButtonWrapper",
|
|
7974
7973
|
componentId: "sc-1y4rjmy-0"
|
|
7975
|
-
})(_templateObject$
|
|
7974
|
+
})(_templateObject$25 || (_templateObject$25 = _taggedTemplateLiteral(["\n padding: 6px 10px;\n outline: none;\n border: none;\n width: ", "px;\n height: 40px;\n background: #2b2b38;\n border-radius: 10px;\n display: flex;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n color: black;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n &:active {\n background: ", ";\n }\n transition: all 0.5s ease-in;\n"])), function (props) {
|
|
7976
7975
|
return props.extended ? 108 : 70;
|
|
7977
7976
|
}, function (_ref) {
|
|
7978
7977
|
var theme = _ref.theme;
|
|
@@ -7996,17 +7995,17 @@ var RampButton = function RampButton(_ref2) {
|
|
|
7996
7995
|
});
|
|
7997
7996
|
};
|
|
7998
7997
|
|
|
7999
|
-
var _templateObject$
|
|
7998
|
+
var _templateObject$24;
|
|
8000
7999
|
var Box = styled.div.withConfig({
|
|
8001
8000
|
displayName: "Box",
|
|
8002
8001
|
componentId: "sc-1vk503f-0"
|
|
8003
|
-
})(_templateObject$
|
|
8002
|
+
})(_templateObject$24 || (_templateObject$24 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n ", "\n ", "\n"])), background, border, layout, position, space);
|
|
8004
8003
|
|
|
8005
|
-
var _templateObject$
|
|
8004
|
+
var _templateObject$23;
|
|
8006
8005
|
var Flex = styled(Box).withConfig({
|
|
8007
8006
|
displayName: "Flex",
|
|
8008
8007
|
componentId: "sc-10l7f81-0"
|
|
8009
|
-
})(_templateObject$
|
|
8008
|
+
})(_templateObject$23 || (_templateObject$23 = _taggedTemplateLiteral(["\n display: flex;\n ", "\n"])), flexbox);
|
|
8010
8009
|
|
|
8011
8010
|
var variants$3 = {
|
|
8012
8011
|
INFO: "info",
|
|
@@ -8015,7 +8014,7 @@ var variants$3 = {
|
|
|
8015
8014
|
WARNING: "warning"
|
|
8016
8015
|
};
|
|
8017
8016
|
|
|
8018
|
-
var _templateObject$
|
|
8017
|
+
var _templateObject$22, _templateObject2$13, _templateObject3$M, _templateObject4$x;
|
|
8019
8018
|
var getThemeColor = function getThemeColor(_ref) {
|
|
8020
8019
|
var theme = _ref.theme,
|
|
8021
8020
|
_ref$variant = _ref.variant,
|
|
@@ -8049,23 +8048,23 @@ var getIcon = function getIcon() {
|
|
|
8049
8048
|
var IconLabel = styled.div.withConfig({
|
|
8050
8049
|
displayName: "IconLabel",
|
|
8051
8050
|
componentId: "sc-iju7nx-0"
|
|
8052
|
-
})(_templateObject$
|
|
8051
|
+
})(_templateObject$22 || (_templateObject$22 = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 10px 0 0 10px;\n color: black;\n padding: 12px;\n"])), getThemeColor);
|
|
8053
8052
|
var withHandlerSpacing = 32 + 12 + 8; // button size + inner spacing + handler position
|
|
8054
8053
|
var Details = styled.div.withConfig({
|
|
8055
8054
|
displayName: "Details",
|
|
8056
8055
|
componentId: "sc-iju7nx-1"
|
|
8057
|
-
})(_templateObject2$
|
|
8056
|
+
})(_templateObject2$13 || (_templateObject2$13 = _taggedTemplateLiteral(["\n flex: 1;\n padding-bottom: 12px;\n padding-left: 12px;\n padding-right: ", ";\n padding-top: 12px;\n"])), function (_ref2) {
|
|
8058
8057
|
var hasHandler = _ref2.hasHandler;
|
|
8059
8058
|
return hasHandler ? "".concat(withHandlerSpacing, "px") : "12px";
|
|
8060
8059
|
});
|
|
8061
8060
|
var CloseHandler = styled.div.withConfig({
|
|
8062
8061
|
displayName: "CloseHandler",
|
|
8063
8062
|
componentId: "sc-iju7nx-2"
|
|
8064
|
-
})(_templateObject3$
|
|
8063
|
+
})(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteral(["\n border-radius: 0 16px 16px 0;\n right: 8px;\n position: absolute;\n top: 8px;\n"])));
|
|
8065
8064
|
var StyledAlert = styled(Flex).withConfig({
|
|
8066
8065
|
displayName: "StyledAlert",
|
|
8067
8066
|
componentId: "sc-iju7nx-3"
|
|
8068
|
-
})(_templateObject4$
|
|
8067
|
+
})(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteral(["\n position: relative;\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n border: 1px solid ", ";\n border-radius: 10px;\n"])), function (_ref3) {
|
|
8069
8068
|
var theme = _ref3.theme;
|
|
8070
8069
|
return theme.backgrounds.secondary;
|
|
8071
8070
|
}, function (_ref4) {
|
|
@@ -8115,11 +8114,11 @@ var observerOptions = {
|
|
|
8115
8114
|
threshold: 0
|
|
8116
8115
|
};
|
|
8117
8116
|
|
|
8118
|
-
var _templateObject$
|
|
8117
|
+
var _templateObject$21;
|
|
8119
8118
|
var Wrapper$3 = styled.div.withConfig({
|
|
8120
8119
|
displayName: "Wrapper",
|
|
8121
8120
|
componentId: "sc-1ie94f-0"
|
|
8122
|
-
})(_templateObject$
|
|
8121
|
+
})(_templateObject$21 || (_templateObject$21 = _taggedTemplateLiteral(["\n position: relative;\n background-position: center center;\n background-repeat: no-repeat;\n background-size: cover;\n height: ", "px;\n max-width: ", "px;\n max-height: ", "px;\n width: 100%;\n padding-top: ", "%;\n ", "\n"])), function (_ref) {
|
|
8123
8122
|
var height = _ref.height,
|
|
8124
8123
|
responsive = _ref.responsive;
|
|
8125
8124
|
return responsive ? 0 : height;
|
|
@@ -8136,20 +8135,20 @@ var Wrapper$3 = styled.div.withConfig({
|
|
|
8136
8135
|
return responsive ? height / width * 100 : 0;
|
|
8137
8136
|
}, space);
|
|
8138
8137
|
|
|
8139
|
-
var _excluded$
|
|
8140
|
-
var _templateObject$
|
|
8138
|
+
var _excluded$p = ["src", "alt"];
|
|
8139
|
+
var _templateObject$20, _templateObject2$12;
|
|
8141
8140
|
var StyledImage = styled.img.withConfig({
|
|
8142
8141
|
displayName: "StyledImage",
|
|
8143
8142
|
componentId: "sc-10tqvvr-0"
|
|
8144
|
-
})(_templateObject$
|
|
8143
|
+
})(_templateObject$20 || (_templateObject$20 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100%;\n"])));
|
|
8145
8144
|
var Placeholder = styled.div.withConfig({
|
|
8146
8145
|
displayName: "Placeholder",
|
|
8147
8146
|
componentId: "sc-10tqvvr-1"
|
|
8148
|
-
})(_templateObject2$
|
|
8147
|
+
})(_templateObject2$12 || (_templateObject2$12 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
8149
8148
|
var Image = function Image(_ref) {
|
|
8150
8149
|
var src = _ref.src,
|
|
8151
8150
|
alt = _ref.alt,
|
|
8152
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8151
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
8153
8152
|
var imgRef = useRef(null);
|
|
8154
8153
|
var _useState = useState(false),
|
|
8155
8154
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8181,7 +8180,7 @@ var Image = function Image(_ref) {
|
|
|
8181
8180
|
}));
|
|
8182
8181
|
};
|
|
8183
8182
|
|
|
8184
|
-
var _templateObject$
|
|
8183
|
+
var _templateObject$1$;
|
|
8185
8184
|
var breakpointMap = {
|
|
8186
8185
|
xs: 370,
|
|
8187
8186
|
sm: 576,
|
|
@@ -8224,7 +8223,7 @@ var grids = {
|
|
|
8224
8223
|
mobile: "grid-template-columns: repeat(".concat(gridsMap.mobile.gridColumns, ", minmax(0, 1fr));\n grid-gap: 20px;\n "),
|
|
8225
8224
|
desktop: "grid-template-columns: repeat(".concat(gridsMap.desktop.gridColumns, ", minmax(0, 1fr));\n grid-gap: 24px;\n ")
|
|
8226
8225
|
};
|
|
8227
|
-
var gridLayout = css(_templateObject$
|
|
8226
|
+
var gridLayout = css(_templateObject$1$ || (_templateObject$1$ = _taggedTemplateLiteral(["\n display: grid;\n ", " {\n ", ";\n }\n ", " {\n ", ";\n }\n"])), function (_ref) {
|
|
8228
8227
|
var theme = _ref.theme;
|
|
8229
8228
|
return theme.mediaQueries.xs;
|
|
8230
8229
|
}, grids.mobile, function (_ref2) {
|
|
@@ -8448,7 +8447,7 @@ var sizes$1 = {
|
|
|
8448
8447
|
XXL: "xxl"
|
|
8449
8448
|
};
|
|
8450
8449
|
|
|
8451
|
-
var _templateObject$
|
|
8450
|
+
var _templateObject$1_;
|
|
8452
8451
|
var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, sizes$1.MD, {
|
|
8453
8452
|
fontSize: "20px",
|
|
8454
8453
|
fontSizeLg: "20px"
|
|
@@ -8472,7 +8471,7 @@ var Heading = styled(Text).attrs(function (_ref) {
|
|
|
8472
8471
|
}).withConfig({
|
|
8473
8472
|
displayName: "Heading",
|
|
8474
8473
|
componentId: "sc-1bynhbg-0"
|
|
8475
|
-
})(_templateObject$
|
|
8474
|
+
})(_templateObject$1_ || (_templateObject$1_ = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: 600;\n line-height: 1.1;\n\n ", " {\n font-size: ", ";\n }\n"])), function (_ref2) {
|
|
8476
8475
|
var _ref2$size = _ref2.size,
|
|
8477
8476
|
size = _ref2$size === void 0 ? sizes$1.MD : _ref2$size;
|
|
8478
8477
|
return style[size].fontSize;
|
|
@@ -8485,11 +8484,11 @@ var Heading = styled(Text).attrs(function (_ref) {
|
|
|
8485
8484
|
return style[size].fontSizeLg;
|
|
8486
8485
|
});
|
|
8487
8486
|
|
|
8488
|
-
var _templateObject$
|
|
8487
|
+
var _templateObject$1Z, _templateObject2$11, _templateObject3$L, _templateObject4$w;
|
|
8489
8488
|
var StyledModal = styled.div.withConfig({
|
|
8490
8489
|
displayName: "StyledModal",
|
|
8491
8490
|
componentId: "sc-gb2uez-0"
|
|
8492
|
-
})(_templateObject$
|
|
8491
|
+
})(_templateObject$1Z || (_templateObject$1Z = _taggedTemplateLiteral(["\n background: ", ";\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n @-moz-document url-prefix() {\n background: #191921 !important;\n }\n border-radius: 15px;\n width: 100%;\n z-index: 99;\n overflow-y: auto;\n padding-bottom: 8px;\n ", " {\n width: auto;\n min-width: 360px;\n max-width: 100%;\n max-height: 80%;\n }\n ", " {\n max-height: 80vh;\n }\n"])), function (_ref) {
|
|
8493
8492
|
var theme = _ref.theme;
|
|
8494
8493
|
return theme.colors.card;
|
|
8495
8494
|
}, function (_ref2) {
|
|
@@ -8502,15 +8501,15 @@ var StyledModal = styled.div.withConfig({
|
|
|
8502
8501
|
var CloseButton$1 = styled(Button$1).withConfig({
|
|
8503
8502
|
displayName: "CloseButton",
|
|
8504
8503
|
componentId: "sc-gb2uez-1"
|
|
8505
|
-
})(_templateObject2$
|
|
8504
|
+
})(_templateObject2$11 || (_templateObject2$11 = _taggedTemplateLiteral(["\n z-index: 99999;\n width: 16px;\n border: none;\n align-items: flex-start !important;\n padding: 0px !important;\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: transparent;\n border-color: transparent;\n }\n &:focus:not(:active) {\n box-shadow: none;\n }\n"])));
|
|
8506
8505
|
var ModalHeader = styled.div.withConfig({
|
|
8507
8506
|
displayName: "ModalHeader",
|
|
8508
8507
|
componentId: "sc-gb2uez-2"
|
|
8509
|
-
})(_templateObject3$
|
|
8508
|
+
})(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n padding: 24px 24px 0;\n"])));
|
|
8510
8509
|
var ModalTitle = styled(Flex).withConfig({
|
|
8511
8510
|
displayName: "ModalTitle",
|
|
8512
8511
|
componentId: "sc-gb2uez-3"
|
|
8513
|
-
})(_templateObject4$
|
|
8512
|
+
})(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteral(["\n align-items: center;\n flex: 1;\n"])));
|
|
8514
8513
|
var Modal = function Modal(_ref4) {
|
|
8515
8514
|
var title = _ref4.title,
|
|
8516
8515
|
onDismiss = _ref4.onDismiss,
|
|
@@ -8551,7 +8550,7 @@ var Modal = function Modal(_ref4) {
|
|
|
8551
8550
|
});
|
|
8552
8551
|
};
|
|
8553
8552
|
|
|
8554
|
-
var _templateObject$
|
|
8553
|
+
var _templateObject$1Y;
|
|
8555
8554
|
var Overlay = styled.div.attrs(function (_ref) {
|
|
8556
8555
|
var _ref$show = _ref.show,
|
|
8557
8556
|
show = _ref$show === void 0 ? false : _ref$show,
|
|
@@ -8565,7 +8564,7 @@ var Overlay = styled.div.attrs(function (_ref) {
|
|
|
8565
8564
|
}).withConfig({
|
|
8566
8565
|
displayName: "Overlay",
|
|
8567
8566
|
componentId: "sc-1u1va95-0"
|
|
8568
|
-
})(_templateObject$
|
|
8567
|
+
})(_templateObject$1Y || (_templateObject$1Y = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(22, 22, 29);\n transition: opacity 0.4s;\n opacity: ", ";\n z-index: ", ";\n pointer-events: ", ";\n"])), function (_ref2) {
|
|
8569
8568
|
var _ref2$show = _ref2.show,
|
|
8570
8569
|
show = _ref2$show === void 0 ? false : _ref2$show;
|
|
8571
8570
|
return show ? 0.6 : 0;
|
|
@@ -8579,11 +8578,11 @@ var Overlay = styled.div.attrs(function (_ref) {
|
|
|
8579
8578
|
return show ? "initial" : "none";
|
|
8580
8579
|
});
|
|
8581
8580
|
|
|
8582
|
-
var _templateObject$
|
|
8581
|
+
var _templateObject$1X;
|
|
8583
8582
|
var ModalWrapper = styled.div.withConfig({
|
|
8584
8583
|
displayName: "ModalWrapper",
|
|
8585
8584
|
componentId: "sc-4rfz2j-0"
|
|
8586
|
-
})(_templateObject$
|
|
8585
|
+
})(_templateObject$1X || (_templateObject$1X = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: ", ";\n ", " {\n justify-content: flex-start;\n padding-top: 50px;\n }\n"])), function (_ref) {
|
|
8587
8586
|
var theme = _ref.theme;
|
|
8588
8587
|
return theme.zIndices.modal - 1;
|
|
8589
8588
|
}, function (_ref2) {
|
|
@@ -8885,7 +8884,7 @@ var ConnectorNames$1;
|
|
|
8885
8884
|
ConnectorNames["BSC"] = "bsc";
|
|
8886
8885
|
})(ConnectorNames$1 || (ConnectorNames$1 = {}));
|
|
8887
8886
|
|
|
8888
|
-
|
|
8887
|
+
[{
|
|
8889
8888
|
title: "Metamask",
|
|
8890
8889
|
icon: Icon$S,
|
|
8891
8890
|
connectorId: ConnectorNames$1.Injected
|
|
@@ -8912,79 +8911,21 @@ var connectors$1 = [{
|
|
|
8912
8911
|
}];
|
|
8913
8912
|
var connectorLocalStorageKey$1 = "connectorId";
|
|
8914
8913
|
|
|
8915
|
-
var WalletCard = function WalletCard(_ref) {
|
|
8916
|
-
var login = _ref.login,
|
|
8917
|
-
walletConfig = _ref.walletConfig,
|
|
8918
|
-
onDismiss = _ref.onDismiss,
|
|
8919
|
-
mb = _ref.mb;
|
|
8920
|
-
var title = walletConfig.title,
|
|
8921
|
-
Icon = walletConfig.icon;
|
|
8922
|
-
process.env.NODE_ENV === "development" ? "" : "".concat(process.env.REACT_APP_PROD_DOMAIN);
|
|
8923
|
-
var _useCookies = useCookies$1([connectorLocalStorageKey$1]),
|
|
8924
|
-
_useCookies2 = _slicedToArray(_useCookies, 2);
|
|
8925
|
-
_useCookies2[0];
|
|
8926
|
-
_useCookies2[1];
|
|
8927
|
-
return /*#__PURE__*/jsxs(Button$1, {
|
|
8928
|
-
$fullWidth: true,
|
|
8929
|
-
variant: buttonVariant.OUTLINE,
|
|
8930
|
-
onClick: function onClick() {
|
|
8931
|
-
login(walletConfig.connectorId, title);
|
|
8932
|
-
onDismiss();
|
|
8933
|
-
},
|
|
8934
|
-
style: {
|
|
8935
|
-
justifyContent: "space-between"
|
|
8936
|
-
},
|
|
8937
|
-
mb: mb,
|
|
8938
|
-
id: "wallet-connect-".concat(title.toLocaleLowerCase()),
|
|
8939
|
-
children: [/*#__PURE__*/jsx(Text, {
|
|
8940
|
-
bold: true,
|
|
8941
|
-
color: "rgba(255, 255, 255, 0.55)",
|
|
8942
|
-
mr: "16px",
|
|
8943
|
-
children: title
|
|
8944
|
-
}), /*#__PURE__*/jsx(Icon, {
|
|
8945
|
-
width: "20px",
|
|
8946
|
-
$opac: true
|
|
8947
|
-
})]
|
|
8948
|
-
});
|
|
8949
|
-
};
|
|
8950
|
-
|
|
8951
8914
|
var getTranslations = function getTranslations(translation) {
|
|
8952
8915
|
return translation;
|
|
8953
8916
|
};
|
|
8954
8917
|
|
|
8955
|
-
var
|
|
8956
|
-
|
|
8957
|
-
_ref$onDismiss = _ref.onDismiss,
|
|
8958
|
-
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
8959
|
-
return null;
|
|
8960
|
-
} : _ref$onDismiss,
|
|
8961
|
-
translations = _ref.translations;
|
|
8962
|
-
var t = translations || getTranslations;
|
|
8963
|
-
return /*#__PURE__*/jsx(Modal, {
|
|
8964
|
-
title: t("Connect to a wallet"),
|
|
8965
|
-
onDismiss: onDismiss,
|
|
8966
|
-
children: connectors$1.map(function (entry, index) {
|
|
8967
|
-
return /*#__PURE__*/jsx(WalletCard, {
|
|
8968
|
-
login: login,
|
|
8969
|
-
walletConfig: entry,
|
|
8970
|
-
onDismiss: onDismiss,
|
|
8971
|
-
mb: index < connectors$1.length - 1 ? "10px" : "0"
|
|
8972
|
-
}, entry.title);
|
|
8973
|
-
})
|
|
8974
|
-
});
|
|
8975
|
-
};
|
|
8976
|
-
|
|
8977
|
-
var _excluded$p = ["external", "color"];
|
|
8978
|
-
var _templateObject$1X;
|
|
8918
|
+
var _excluded$o = ["external", "color"];
|
|
8919
|
+
var _templateObject$1W;
|
|
8979
8920
|
var StyledLink$1 = styled(Text).withConfig({
|
|
8980
8921
|
displayName: "StyledLink",
|
|
8981
8922
|
componentId: "sc-qw3uvt-0"
|
|
8982
|
-
})(_templateObject$
|
|
8923
|
+
})(_templateObject$1W || (_templateObject$1W = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n width: fit-content;\n margin-right: 21px;\n &:hover {\n text-decoration: underline;\n }\n"])));
|
|
8983
8924
|
var Link = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
8984
8925
|
var external = _ref.external,
|
|
8985
8926
|
_ref$color = _ref.color,
|
|
8986
8927
|
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
8987
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8928
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
8988
8929
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
8989
8930
|
return /*#__PURE__*/jsx(StyledLink$1, _objectSpread2(_objectSpread2({
|
|
8990
8931
|
ref: ref,
|
|
@@ -8995,10 +8936,10 @@ var Link = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
|
8995
8936
|
});
|
|
8996
8937
|
Link.displayName = "Link";
|
|
8997
8938
|
|
|
8998
|
-
var _excluded$
|
|
8939
|
+
var _excluded$n = ["children"];
|
|
8999
8940
|
var LinkExternal = function LinkExternal(_ref) {
|
|
9000
8941
|
var children = _ref.children,
|
|
9001
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8942
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
9002
8943
|
return /*#__PURE__*/jsxs(Link, _objectSpread2(_objectSpread2({
|
|
9003
8944
|
external: true
|
|
9004
8945
|
}, props), {}, {
|
|
@@ -9011,21 +8952,20 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
9011
8952
|
}));
|
|
9012
8953
|
};
|
|
9013
8954
|
|
|
9014
|
-
var
|
|
9015
|
-
|
|
9016
|
-
var StyleButton = styled(Text).attrs({
|
|
8955
|
+
var _templateObject$1V, _templateObject2$10;
|
|
8956
|
+
styled(Text).attrs({
|
|
9017
8957
|
role: "button"
|
|
9018
8958
|
}).withConfig({
|
|
9019
8959
|
displayName: "StyleButton",
|
|
9020
8960
|
componentId: "sc-v35pzo-0"
|
|
9021
|
-
})(_templateObject$
|
|
8961
|
+
})(_templateObject$1V || (_templateObject$1V = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (_ref) {
|
|
9022
8962
|
var theme = _ref.theme;
|
|
9023
8963
|
return theme.colors.primary;
|
|
9024
8964
|
});
|
|
9025
|
-
|
|
8965
|
+
styled.div.withConfig({
|
|
9026
8966
|
displayName: "Tooltip",
|
|
9027
8967
|
componentId: "sc-v35pzo-1"
|
|
9028
|
-
})(_templateObject2$
|
|
8968
|
+
})(_templateObject2$10 || (_templateObject2$10 = _taggedTemplateLiteral(["\n display: ", ";\n position: absolute;\n bottom: -40px;\n right: 0;\n left: 0;\n text-align: center;\n background-color: ", ";\n color: ", ";\n border-radius: 5px;\n opacity: 0.7;\n padding: 5px;\n"])), function (_ref2) {
|
|
9029
8969
|
var isTooltipDisplayed = _ref2.isTooltipDisplayed;
|
|
9030
8970
|
return isTooltipDisplayed ? "block" : "none";
|
|
9031
8971
|
}, function (_ref3) {
|
|
@@ -9035,104 +8975,6 @@ var Tooltip$1 = styled.div.withConfig({
|
|
|
9035
8975
|
var theme = _ref4.theme;
|
|
9036
8976
|
return theme.colors.invertedContrast;
|
|
9037
8977
|
});
|
|
9038
|
-
var CopyToClipboard = function CopyToClipboard(_ref5) {
|
|
9039
|
-
var toCopy = _ref5.toCopy,
|
|
9040
|
-
translations = _ref5.translations,
|
|
9041
|
-
children = _ref5.children,
|
|
9042
|
-
props = _objectWithoutProperties(_ref5, _excluded$n);
|
|
9043
|
-
var _useState = useState(false),
|
|
9044
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
9045
|
-
isTooltipDisplayed = _useState2[0],
|
|
9046
|
-
setIsTooltipDisplayed = _useState2[1];
|
|
9047
|
-
var t = translations || getTranslations;
|
|
9048
|
-
return /*#__PURE__*/jsxs(StyleButton, _objectSpread2(_objectSpread2({
|
|
9049
|
-
small: true,
|
|
9050
|
-
bold: true,
|
|
9051
|
-
onClick: function onClick() {
|
|
9052
|
-
if (navigator.clipboard) {
|
|
9053
|
-
navigator.clipboard.writeText(toCopy);
|
|
9054
|
-
setIsTooltipDisplayed(true);
|
|
9055
|
-
setTimeout(function () {
|
|
9056
|
-
setIsTooltipDisplayed(false);
|
|
9057
|
-
}, 1000);
|
|
9058
|
-
}
|
|
9059
|
-
}
|
|
9060
|
-
}, props), {}, {
|
|
9061
|
-
children: [children, /*#__PURE__*/jsx(Icon$2g, {
|
|
9062
|
-
width: "20px",
|
|
9063
|
-
color: "primary",
|
|
9064
|
-
ml: "4px"
|
|
9065
|
-
}), /*#__PURE__*/jsx(Tooltip$1, {
|
|
9066
|
-
isTooltipDisplayed: isTooltipDisplayed,
|
|
9067
|
-
children: t("Copied")
|
|
9068
|
-
})]
|
|
9069
|
-
}));
|
|
9070
|
-
};
|
|
9071
|
-
|
|
9072
|
-
var AccountModal = function AccountModal(_ref) {
|
|
9073
|
-
var account = _ref.account,
|
|
9074
|
-
logout = _ref.logout,
|
|
9075
|
-
_ref$onDismiss = _ref.onDismiss,
|
|
9076
|
-
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
9077
|
-
return null;
|
|
9078
|
-
} : _ref$onDismiss,
|
|
9079
|
-
translations = _ref.translations;
|
|
9080
|
-
var t = translations || getTranslations;
|
|
9081
|
-
return /*#__PURE__*/jsxs(Modal, {
|
|
9082
|
-
title: t("Your wallet"),
|
|
9083
|
-
onDismiss: onDismiss,
|
|
9084
|
-
children: [/*#__PURE__*/jsx(Text, {
|
|
9085
|
-
fontSize: "20px",
|
|
9086
|
-
bold: true,
|
|
9087
|
-
style: {
|
|
9088
|
-
whiteSpace: "nowrap",
|
|
9089
|
-
overflow: "hidden",
|
|
9090
|
-
textOverflow: "ellipsis",
|
|
9091
|
-
marginBottom: "8px"
|
|
9092
|
-
},
|
|
9093
|
-
children: account
|
|
9094
|
-
}), /*#__PURE__*/jsxs(Flex, {
|
|
9095
|
-
mb: "32px",
|
|
9096
|
-
children: [/*#__PURE__*/jsx(LinkExternal, {
|
|
9097
|
-
small: true,
|
|
9098
|
-
href: "https://bscscan.com/address/".concat(account),
|
|
9099
|
-
mr: "16px",
|
|
9100
|
-
children: t("View on BscScan")
|
|
9101
|
-
}), /*#__PURE__*/jsx(CopyToClipboard, {
|
|
9102
|
-
toCopy: account,
|
|
9103
|
-
children: "Copy Address"
|
|
9104
|
-
})]
|
|
9105
|
-
}), /*#__PURE__*/jsx(Flex, {
|
|
9106
|
-
justifyContent: "center",
|
|
9107
|
-
children: /*#__PURE__*/jsx(Button$1, {
|
|
9108
|
-
size: "md",
|
|
9109
|
-
variant: buttonVariant.PRIMARY,
|
|
9110
|
-
onClick: logout,
|
|
9111
|
-
children: t("Logout")
|
|
9112
|
-
})
|
|
9113
|
-
})]
|
|
9114
|
-
});
|
|
9115
|
-
};
|
|
9116
|
-
|
|
9117
|
-
var useWalletModal = function useWalletModal(login, logout, account, translations) {
|
|
9118
|
-
var _useModal = useModal(/*#__PURE__*/jsx(ConnectModal, {
|
|
9119
|
-
translations: translations,
|
|
9120
|
-
login: login
|
|
9121
|
-
})),
|
|
9122
|
-
_useModal2 = _slicedToArray(_useModal, 1),
|
|
9123
|
-
onPresentConnectModal = _useModal2[0];
|
|
9124
|
-
var _useModal3 = useModal(/*#__PURE__*/jsx(AccountModal, {
|
|
9125
|
-
translations: translations,
|
|
9126
|
-
account: account || "",
|
|
9127
|
-
logout: logout
|
|
9128
|
-
})),
|
|
9129
|
-
_useModal4 = _slicedToArray(_useModal3, 1),
|
|
9130
|
-
onPresentAccountModal = _useModal4[0];
|
|
9131
|
-
return {
|
|
9132
|
-
onPresentConnectModal: onPresentConnectModal,
|
|
9133
|
-
onPresentAccountModal: onPresentAccountModal
|
|
9134
|
-
};
|
|
9135
|
-
};
|
|
9136
8978
|
|
|
9137
8979
|
var Cookies;
|
|
9138
8980
|
(function (Cookies) {
|
|
@@ -9366,11 +9208,11 @@ var useConnectWalletEvent = function useConnectWalletEvent(account) {
|
|
|
9366
9208
|
}, [account]);
|
|
9367
9209
|
};
|
|
9368
9210
|
|
|
9369
|
-
var _templateObject$
|
|
9211
|
+
var _templateObject$1U, _templateObject2$$;
|
|
9370
9212
|
var BannerSlideWrapper = styled.div.withConfig({
|
|
9371
9213
|
displayName: "BannerSlideWrapper",
|
|
9372
9214
|
componentId: "sc-1mbqjcw-0"
|
|
9373
|
-
})(_templateObject$
|
|
9215
|
+
})(_templateObject$1U || (_templateObject$1U = _taggedTemplateLiteral(["\n position: relative;\n height: ", ";\n max-height: 225px;\n display: flex;\n flex-direction: row;\n justify-content: ", ";\n align-items: center;\n"])), function (_ref) {
|
|
9374
9216
|
var height = _ref.height;
|
|
9375
9217
|
return "".concat(height, "px");
|
|
9376
9218
|
}, function (_ref2) {
|
|
@@ -9380,7 +9222,7 @@ var BannerSlideWrapper = styled.div.withConfig({
|
|
|
9380
9222
|
var StyledImg = styled(Image).withConfig({
|
|
9381
9223
|
displayName: "StyledImg",
|
|
9382
9224
|
componentId: "sc-1mbqjcw-1"
|
|
9383
|
-
})(_templateObject2
|
|
9225
|
+
})(_templateObject2$$ || (_templateObject2$$ = _taggedTemplateLiteral(["\n position: absolute;\n max-height: 225px;\n top: 0;\n img {\n object-fit: contain;\n border-radius: ", ";\n }\n"])), function (_ref3) {
|
|
9384
9226
|
var isMobile = _ref3.isMobile,
|
|
9385
9227
|
theme = _ref3.theme;
|
|
9386
9228
|
return isMobile ? 0 : theme.radii.primary;
|
|
@@ -9417,18 +9259,18 @@ var BannerSlide = function BannerSlide(_ref4) {
|
|
|
9417
9259
|
});
|
|
9418
9260
|
};
|
|
9419
9261
|
|
|
9420
|
-
var _templateObject$
|
|
9262
|
+
var _templateObject$1T, _templateObject2$_;
|
|
9421
9263
|
var CarouselWrapper = styled.div.withConfig({
|
|
9422
9264
|
displayName: "CarouselWrapper",
|
|
9423
9265
|
componentId: "sc-whzh3q-0"
|
|
9424
|
-
})(_templateObject$
|
|
9266
|
+
})(_templateObject$1T || (_templateObject$1T = _taggedTemplateLiteral(["\n margin: 0 -32px;\n\n ", " {\n margin: 0;\n }\n"])), function (_ref) {
|
|
9425
9267
|
var theme = _ref.theme;
|
|
9426
9268
|
return theme.mediaQueries.sm;
|
|
9427
9269
|
});
|
|
9428
9270
|
var StyledSlider$2 = styled(Slider).withConfig({
|
|
9429
9271
|
displayName: "StyledSlider",
|
|
9430
9272
|
componentId: "sc-whzh3q-1"
|
|
9431
|
-
})(_templateObject2
|
|
9273
|
+
})(_templateObject2$_ || (_templateObject2$_ = _taggedTemplateLiteral(["\n .slick-track {\n > div {\n padding: 0 10px;\n }\n }\n\n .slick-dots {\n .slick-active {\n div {\n background: ", " !important;\n border: 2px ", " solid;\n }\n }\n }\n"])), function (_ref2) {
|
|
9432
9274
|
var theme = _ref2.theme;
|
|
9433
9275
|
return theme.colors.blue;
|
|
9434
9276
|
}, function (_ref3) {
|
|
@@ -9487,11 +9329,11 @@ var BannerSlider = function BannerSlider(_ref4) {
|
|
|
9487
9329
|
});
|
|
9488
9330
|
};
|
|
9489
9331
|
|
|
9490
|
-
var _templateObject$
|
|
9332
|
+
var _templateObject$1S, _templateObject2$Z;
|
|
9491
9333
|
var Separator = styled.div.withConfig({
|
|
9492
9334
|
displayName: "Separator",
|
|
9493
9335
|
componentId: "sc-1c6k3v2-0"
|
|
9494
|
-
})(_templateObject$
|
|
9336
|
+
})(_templateObject$1S || (_templateObject$1S = _taggedTemplateLiteral(["\n align-items: center;\n color: currentColor;\n display: flex;\n justify-content: center;\n padding-left: 4px;\n padding-right: 4px;\n\n ", " {\n padding-left: 8px;\n padding-right: 8px;\n }\n\n ", " {\n padding-left: 16px;\n padding-right: 16px;\n }\n"])), function (_ref) {
|
|
9495
9337
|
var theme = _ref.theme;
|
|
9496
9338
|
return theme.mediaQueries.sm;
|
|
9497
9339
|
}, function (_ref2) {
|
|
@@ -9501,7 +9343,7 @@ var Separator = styled.div.withConfig({
|
|
|
9501
9343
|
var StyledBreadcrumbs = styled.ul.withConfig({
|
|
9502
9344
|
displayName: "StyledBreadcrumbs",
|
|
9503
9345
|
componentId: "sc-1c6k3v2-1"
|
|
9504
|
-
})(_templateObject2$
|
|
9346
|
+
})(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteral(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n list-style-type: none;\n\n ", "\n"])), function (_ref3) {
|
|
9505
9347
|
var theme = _ref3.theme;
|
|
9506
9348
|
return theme.colors.textDisabled;
|
|
9507
9349
|
}, space);
|
|
@@ -9537,7 +9379,7 @@ var Breadcrumbs = function Breadcrumbs(_ref4) {
|
|
|
9537
9379
|
});
|
|
9538
9380
|
};
|
|
9539
9381
|
|
|
9540
|
-
var _templateObject$
|
|
9382
|
+
var _templateObject$1R;
|
|
9541
9383
|
var StyledButtonMenu = styled.div.withConfig({
|
|
9542
9384
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9543
9385
|
return prop !== 'variant';
|
|
@@ -9545,7 +9387,7 @@ var StyledButtonMenu = styled.div.withConfig({
|
|
|
9545
9387
|
}).withConfig({
|
|
9546
9388
|
displayName: "StyledButtonMenu",
|
|
9547
9389
|
componentId: "sc-14hzc1v-0"
|
|
9548
|
-
})(_templateObject$
|
|
9390
|
+
})(_templateObject$1R || (_templateObject$1R = _taggedTemplateLiteral(["\n background-color: transparent;\n border-radius: 16px;\n display: inline-flex;\n @media (max-width: 500px) {\n width: 100%;\n justify-content: space-around;\n }\n"])));
|
|
9549
9391
|
|
|
9550
9392
|
var ButtonMenu = function ButtonMenu(_ref) {
|
|
9551
9393
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9577,7 +9419,7 @@ var sizes = {
|
|
|
9577
9419
|
var variants$2 = {
|
|
9578
9420
|
PRIMARY: "primary"};
|
|
9579
9421
|
|
|
9580
|
-
var _templateObject$
|
|
9422
|
+
var _templateObject$1Q;
|
|
9581
9423
|
var getDisabledStyles$2 = function getDisabledStyles(_ref) {
|
|
9582
9424
|
var isLoading = _ref.isLoading,
|
|
9583
9425
|
theme = _ref.theme;
|
|
@@ -9609,7 +9451,7 @@ var StyledButton$1 = styled.button.withConfig({
|
|
|
9609
9451
|
}).withConfig({
|
|
9610
9452
|
displayName: "StyledButton",
|
|
9611
9453
|
componentId: "sc-zft497-0"
|
|
9612
|
-
})(_templateObject$
|
|
9454
|
+
})(_templateObject$1Q || (_templateObject$1Q = _taggedTemplateLiteral(["\n align-items: center;\n background-color: transparent;\n border: none;\n border-radius: 10px;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n font-family: inherit;\n font-size: 16px;\n font-weight: 700;\n color: white;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: all 0.5s;\n\n .dot {\n margin-top: 10px;\n height: ", ";\n width: ", ";\n border-radius: ", ";\n display: inline-block;\n background-color: ", ";\n }\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border-color: ", ";\n color: ", ";\n }\n\n &:active {\n background-color: transparent;\n color: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), function (_ref4) {
|
|
9613
9455
|
var fullWidth = _ref4.fullWidth;
|
|
9614
9456
|
return fullWidth ? "100%" : "max-content";
|
|
9615
9457
|
}, function (_ref5) {
|
|
@@ -9671,7 +9513,7 @@ var getColor = function getColor(color, theme) {
|
|
|
9671
9513
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
9672
9514
|
};
|
|
9673
9515
|
|
|
9674
|
-
var _templateObject$
|
|
9516
|
+
var _templateObject$1P;
|
|
9675
9517
|
var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
9676
9518
|
var outline = _ref.outline,
|
|
9677
9519
|
_ref$variant = _ref.variant,
|
|
@@ -9682,7 +9524,7 @@ var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
|
9682
9524
|
var StyledTag = styled.div.withConfig({
|
|
9683
9525
|
displayName: "StyledTag",
|
|
9684
9526
|
componentId: "sc-j7cw9s-0"
|
|
9685
|
-
})(_templateObject$
|
|
9527
|
+
})(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 16px;\n color: ", ";\n display: inline-flex;\n font-size: 14px;\n font-weight: 400;\n height: 28px;\n line-height: 1.5;\n padding: 0 8px;\n white-space: nowrap;\n\n svg {\n fill: ", ";\n }\n"])), function (_ref2) {
|
|
9686
9528
|
var outline = _ref2.outline,
|
|
9687
9529
|
theme = _ref2.theme,
|
|
9688
9530
|
_ref2$variant = _ref2.variant,
|
|
@@ -9697,15 +9539,15 @@ var StyledTag = styled.div.withConfig({
|
|
|
9697
9539
|
|
|
9698
9540
|
var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide"],
|
|
9699
9541
|
_excluded2$1 = ["isActive", "onClick", "size", "variant"];
|
|
9700
|
-
var _templateObject$
|
|
9542
|
+
var _templateObject$1O, _templateObject2$Y, _templateObject3$K;
|
|
9701
9543
|
var ButtonBody = styled.div.withConfig({
|
|
9702
9544
|
displayName: "ButtonBody",
|
|
9703
9545
|
componentId: "sc-1bbtdtk-0"
|
|
9704
|
-
})(_templateObject$
|
|
9546
|
+
})(_templateObject$1O || (_templateObject$1O = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9705
9547
|
var ButtonTag = styled(StyledTag).withConfig({
|
|
9706
9548
|
displayName: "ButtonTag",
|
|
9707
9549
|
componentId: "sc-1bbtdtk-1"
|
|
9708
|
-
})(_templateObject2$
|
|
9550
|
+
})(_templateObject2$Y || (_templateObject2$Y = _taggedTemplateLiteral(["\n margin-left: 7px;\n font-weight: bold;\n font-size: 11px;\n padding: 1px 5px;\n height: unset;\n border-width: 1px;\n"])));
|
|
9709
9551
|
var InactiveButton$1 = styled(Button).withConfig({
|
|
9710
9552
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9711
9553
|
return prop !== 'colorKey' && prop !== 'isActive';
|
|
@@ -9713,7 +9555,7 @@ var InactiveButton$1 = styled(Button).withConfig({
|
|
|
9713
9555
|
}).withConfig({
|
|
9714
9556
|
displayName: "InactiveButton",
|
|
9715
9557
|
componentId: "sc-1bbtdtk-2"
|
|
9716
|
-
})(_templateObject3$
|
|
9558
|
+
})(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteral(["\n background-color: transparent;\n color: #535459;\n .dot {\n background-color: transparent;\n }\n\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9717
9559
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9718
9560
|
var _ref$isActive = _ref.isActive,
|
|
9719
9561
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9768,11 +9610,11 @@ var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
|
9768
9610
|
}));
|
|
9769
9611
|
};
|
|
9770
9612
|
|
|
9771
|
-
var _templateObject$
|
|
9613
|
+
var _templateObject$1N;
|
|
9772
9614
|
var StyledButtonActivityMenu = styled.div.withConfig({
|
|
9773
9615
|
displayName: "StyledButtonActivityMenu",
|
|
9774
9616
|
componentId: "sc-byew2t-0"
|
|
9775
|
-
})(_templateObject$
|
|
9617
|
+
})(_templateObject$1N || (_templateObject$1N = _taggedTemplateLiteral(["\n background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 17.71%), #16161d;\n border: 1px solid #808080;\n box-sizing: border-box;\n border-radius: 99px;\n display: inline-flex;\n"])));
|
|
9776
9618
|
|
|
9777
9619
|
var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
9778
9620
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9798,7 +9640,7 @@ var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
|
9798
9640
|
});
|
|
9799
9641
|
};
|
|
9800
9642
|
|
|
9801
|
-
var _templateObject$
|
|
9643
|
+
var _templateObject$1M;
|
|
9802
9644
|
var getDisabledStyles$1 = function getDisabledStyles(_ref) {
|
|
9803
9645
|
var isLoading = _ref.isLoading,
|
|
9804
9646
|
theme = _ref.theme;
|
|
@@ -9826,7 +9668,7 @@ var getButtonVariantProp$1 = function getButtonVariantProp(prop) {
|
|
|
9826
9668
|
var StyledButtonActivity = styled.button.withConfig({
|
|
9827
9669
|
displayName: "StyledButtonActivity",
|
|
9828
9670
|
componentId: "sc-pam326-0"
|
|
9829
|
-
})(_templateObject$
|
|
9671
|
+
})(_templateObject$1M || (_templateObject$1M = _taggedTemplateLiteral(["\n align-items: center;\n border: none;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n color: white;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: all 0.5s;\n\n // Activity\n border-radius: 99px;\n background: linear-gradient(332.11deg, #13c3af 8.45%, #13d8b2 39.11%, #12ffb8 85.67%);\n color: rgba(22, 22, 29, 1);\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border-color: ", ";\n color: white;\n }\n\n ", "\n ", "\n ", "\n"])), function (_ref4) {
|
|
9830
9672
|
var fullWidth = _ref4.fullWidth;
|
|
9831
9673
|
return fullWidth ? "100%" : "max-content";
|
|
9832
9674
|
}, function (_ref5) {
|
|
@@ -9865,11 +9707,11 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9865
9707
|
};
|
|
9866
9708
|
|
|
9867
9709
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9868
|
-
var _templateObject$
|
|
9710
|
+
var _templateObject$1L;
|
|
9869
9711
|
var InactiveButton = styled(ButtonActivity).withConfig({
|
|
9870
9712
|
displayName: "InactiveButton",
|
|
9871
9713
|
componentId: "sc-kqgtlg-0"
|
|
9872
|
-
})(_templateObject$
|
|
9714
|
+
})(_templateObject$1L || (_templateObject$1L = _taggedTemplateLiteral(["\n background: transparent;\n color: #808080;\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9873
9715
|
var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
9874
9716
|
var _ref$isActive = _ref.isActive,
|
|
9875
9717
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9894,7 +9736,7 @@ var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
|
9894
9736
|
}, props));
|
|
9895
9737
|
};
|
|
9896
9738
|
|
|
9897
|
-
var _templateObject$
|
|
9739
|
+
var _templateObject$1K;
|
|
9898
9740
|
var getDisabledStyles = function getDisabledStyles(_ref) {
|
|
9899
9741
|
var isLoading = _ref.isLoading,
|
|
9900
9742
|
theme = _ref.theme;
|
|
@@ -9922,7 +9764,7 @@ var getButtonVariantProp = function getButtonVariantProp(prop) {
|
|
|
9922
9764
|
var StyledButtonSwitch = styled.button.withConfig({
|
|
9923
9765
|
displayName: "StyledButtonSwitch",
|
|
9924
9766
|
componentId: "sc-obsjj-0"
|
|
9925
|
-
})(_templateObject$
|
|
9767
|
+
})(_templateObject$1K || (_templateObject$1K = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n background-color: transparent;\n border: none;\n cursor: pointer;\n font-family: inherit;\n font-size: 16px;\n line-height: 28px;\n font-weight: 700;\n color: ", ";\n width: ", ";\n height: 36px;\n outline: 0;\n padding: 0 8px;\n transition: all 0.5s;\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border-color: ", ";\n color: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), function (_ref4) {
|
|
9926
9768
|
var theme = _ref4.theme,
|
|
9927
9769
|
active = _ref4.active;
|
|
9928
9770
|
return active ? "white" : theme.colors.grey;
|
|
@@ -9956,18 +9798,18 @@ var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
|
9956
9798
|
}));
|
|
9957
9799
|
};
|
|
9958
9800
|
|
|
9959
|
-
var _templateObject$
|
|
9801
|
+
var _templateObject$1J;
|
|
9960
9802
|
var StyledButtonSwitchMenu = styled.div.withConfig({
|
|
9961
9803
|
displayName: "StyledButtonSwitchMenu",
|
|
9962
9804
|
componentId: "sc-1qzp9bs-0"
|
|
9963
|
-
})(_templateObject$
|
|
9805
|
+
})(_templateObject$1J || (_templateObject$1J = _taggedTemplateLiteral(["\n background: transparent;\n box-sizing: border-box;\n display: inline-flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n"])));
|
|
9964
9806
|
|
|
9965
9807
|
var variants$1 = {
|
|
9966
9808
|
DEFAULT: "default",
|
|
9967
9809
|
PANEL: "panel"
|
|
9968
9810
|
};
|
|
9969
9811
|
|
|
9970
|
-
var _templateObject$
|
|
9812
|
+
var _templateObject$1I, _templateObject2$X, _templateObject3$J;
|
|
9971
9813
|
var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
9972
9814
|
return function (_ref) {
|
|
9973
9815
|
var theme = _ref.theme,
|
|
@@ -9979,18 +9821,18 @@ var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
|
9979
9821
|
var Handle = styled.div.withConfig({
|
|
9980
9822
|
displayName: "Handle",
|
|
9981
9823
|
componentId: "sc-11wqnqq-0"
|
|
9982
|
-
})(_templateObject$
|
|
9824
|
+
})(_templateObject$1I || (_templateObject$1I = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 50%;\n cursor: pointer;\n height: 16px;\n left: 3px;\n position: absolute;\n top: 2px;\n transition: all 200ms ease-in;\n width: 16px;\n z-index: 1;\n"])), function (_ref2) {
|
|
9983
9825
|
var checked = _ref2.checked;
|
|
9984
9826
|
return checked ? getToggleVariantProp("backgroundHandleActive") : getToggleVariantProp("backgroundHandleInactive");
|
|
9985
9827
|
});
|
|
9986
9828
|
var Input$1 = styled.input.withConfig({
|
|
9987
9829
|
displayName: "Input",
|
|
9988
9830
|
componentId: "sc-11wqnqq-1"
|
|
9989
|
-
})(_templateObject2$
|
|
9831
|
+
})(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteral(["\n cursor: pointer;\n opacity: 0;\n height: 100%;\n position: absolute;\n width: 100%;\n z-index: 3;\n\n &:checked + ", " {\n left: calc(100% - 18px);\n }\n"])), Handle);
|
|
9990
9832
|
var StyledToggle = styled.div.withConfig({
|
|
9991
9833
|
displayName: "StyledToggle",
|
|
9992
9834
|
componentId: "sc-11wqnqq-2"
|
|
9993
|
-
})(_templateObject3$
|
|
9835
|
+
})(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteral(["\n align-items: center;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 11px;\n cursor: pointer;\n display: inline-flex;\n height: 22px;\n position: relative;\n transition: background-color 200ms;\n width: 42px;\n"])), function (_ref3) {
|
|
9994
9836
|
var checked = _ref3.checked;
|
|
9995
9837
|
return checked ? getToggleVariantProp("backgroundToggleActive") : getToggleVariantProp("backgroundToggleInactive");
|
|
9996
9838
|
}, getToggleVariantProp("borderColor"));
|
|
@@ -10069,7 +9911,7 @@ var ButtonSwitchMenu = function ButtonSwitchMenu(_ref) {
|
|
|
10069
9911
|
});
|
|
10070
9912
|
};
|
|
10071
9913
|
|
|
10072
|
-
var _templateObject$
|
|
9914
|
+
var _templateObject$1H;
|
|
10073
9915
|
/**
|
|
10074
9916
|
* Priority: Warning --> Success --> Active
|
|
10075
9917
|
*/
|
|
@@ -10102,7 +9944,7 @@ var StyledCard = styled.div.withConfig({
|
|
|
10102
9944
|
}).withConfig({
|
|
10103
9945
|
displayName: "StyledCard",
|
|
10104
9946
|
componentId: "sc-b498h5-0"
|
|
10105
|
-
})(_templateObject$
|
|
9947
|
+
})(_templateObject$1H || (_templateObject$1H = _taggedTemplateLiteral(["\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n border: 1px solid ", ";\n border-radius: 15px;\n box-shadow: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n padding: 30px;\n\n ", "\n"])), function (_ref2) {
|
|
10106
9948
|
var theme = _ref2.theme;
|
|
10107
9949
|
return theme.colors.card;
|
|
10108
9950
|
}, function (_ref3) {
|
|
@@ -10125,7 +9967,7 @@ var Card = function Card(_ref) {
|
|
|
10125
9967
|
}));
|
|
10126
9968
|
};
|
|
10127
9969
|
|
|
10128
|
-
var _templateObject$
|
|
9970
|
+
var _templateObject$1G;
|
|
10129
9971
|
var CardBody = styled.div.attrs(function (_ref) {
|
|
10130
9972
|
var _ref$p = _ref.p,
|
|
10131
9973
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10135,15 +9977,15 @@ var CardBody = styled.div.attrs(function (_ref) {
|
|
|
10135
9977
|
}).withConfig({
|
|
10136
9978
|
displayName: "CardBody",
|
|
10137
9979
|
componentId: "sc-1of0iur-0"
|
|
10138
|
-
})(_templateObject$
|
|
9980
|
+
})(_templateObject$1G || (_templateObject$1G = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), space);
|
|
10139
9981
|
|
|
10140
|
-
var _templateObject$
|
|
9982
|
+
var _templateObject$1F;
|
|
10141
9983
|
var CardHeader = styled.div.withConfig({
|
|
10142
9984
|
displayName: "CardHeader",
|
|
10143
9985
|
componentId: "sc-1ikcixt-0"
|
|
10144
|
-
})(_templateObject$
|
|
9986
|
+
})(_templateObject$1F || (_templateObject$1F = _taggedTemplateLiteral(["\n ", "\n font-weight: 700;\n font-size: 26px;\n line-height: 130%;\n display: flex;\n width: 100%;\n justify-content: space-between;\n"])), space);
|
|
10145
9987
|
|
|
10146
|
-
var _templateObject$
|
|
9988
|
+
var _templateObject$1E;
|
|
10147
9989
|
var CardFooter = styled.div.attrs(function (_ref) {
|
|
10148
9990
|
var _ref$p = _ref.p,
|
|
10149
9991
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10153,13 +9995,13 @@ var CardFooter = styled.div.attrs(function (_ref) {
|
|
|
10153
9995
|
}).withConfig({
|
|
10154
9996
|
displayName: "CardFooter",
|
|
10155
9997
|
componentId: "sc-7k1ypk-0"
|
|
10156
|
-
})(_templateObject$
|
|
9998
|
+
})(_templateObject$1E || (_templateObject$1E = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), space);
|
|
10157
9999
|
|
|
10158
|
-
var _templateObject$
|
|
10000
|
+
var _templateObject$1D;
|
|
10159
10001
|
var StyledCardRibbon = styled.div.withConfig({
|
|
10160
10002
|
displayName: "StyledCardRibbon",
|
|
10161
10003
|
componentId: "sc-1qhw702-0"
|
|
10162
|
-
})(_templateObject$
|
|
10004
|
+
})(_templateObject$1D || (_templateObject$1D = _taggedTemplateLiteral(["\n background-color: ", ";\n color: white;\n margin: 0;\n padding: 0;\n padding: 8px 0;\n position: absolute;\n right: 0;\n top: 0;\n text-align: center;\n transform: translateX(30%) translateY(0%) rotate(45deg);\n transform-origin: top left;\n width: 96px;\n\n &:before,\n &:after {\n background-color: ", ";\n content: \"\";\n height: 100%;\n margin: 0 -1px; /* Removes tiny gap */\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:before {\n right: 100%;\n }\n\n &:after {\n left: 100%;\n }\n\n & > div {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 96px;\n }\n"])), function (_ref) {
|
|
10163
10005
|
var _ref$variantColor = _ref.variantColor,
|
|
10164
10006
|
variantColor = _ref$variantColor === void 0 ? "secondary" : _ref$variantColor,
|
|
10165
10007
|
theme = _ref.theme;
|
|
@@ -10187,7 +10029,7 @@ var scales$2 = {
|
|
|
10187
10029
|
MD: "md"
|
|
10188
10030
|
};
|
|
10189
10031
|
|
|
10190
|
-
var _templateObject$
|
|
10032
|
+
var _templateObject$1C;
|
|
10191
10033
|
var getScale$1 = function getScale(_ref) {
|
|
10192
10034
|
var scale = _ref.scale;
|
|
10193
10035
|
switch (scale) {
|
|
@@ -10203,7 +10045,7 @@ var Checkbox = styled.input.attrs({
|
|
|
10203
10045
|
}).withConfig({
|
|
10204
10046
|
displayName: "Checkbox",
|
|
10205
10047
|
componentId: "sc-1dgqwt2-0"
|
|
10206
|
-
})(_templateObject$
|
|
10048
|
+
})(_templateObject$1C || (_templateObject$1C = _taggedTemplateLiteral(["\n appearance: none;\n overflow: hidden;\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: ", ";\n width: ", ";\n vertical-align: middle;\n transition: background-color 0.2s ease-in-out;\n border: ", ";\n border-radius: 8px;\n background-color: ", ";\n box-shadow: ", ";\n\n &:after {\n content: \"\";\n position: absolute;\n border-bottom: 2px solid;\n border-left: 2px solid;\n border-color: transparent;\n top: 30%;\n left: 0;\n right: 0;\n width: 50%;\n height: 25%;\n margin: auto;\n transform: rotate(-50deg);\n transition: border-color 0.2s ease-in-out;\n }\n\n &:hover:not(:disabled):not(:checked) {\n box-shadow: ", ";\n border: ", ";\n }\n\n &:focus {\n outline: none;\n box-shadow: ", ";\n }\n\n &:checked {\n background-color: ", ";\n border: ", ";\n &:after {\n border-color: white;\n }\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.6;\n }\n"])), getScale$1, getScale$1, function (_ref2) {
|
|
10207
10049
|
var bordered = _ref2.bordered;
|
|
10208
10050
|
return bordered ? "0.1px solid white !important" : "";
|
|
10209
10051
|
}, function (_ref3) {
|
|
@@ -10229,7 +10071,7 @@ var Checkbox = styled.input.attrs({
|
|
|
10229
10071
|
return bordered ? "none !important" : "";
|
|
10230
10072
|
});
|
|
10231
10073
|
|
|
10232
|
-
var _templateObject$
|
|
10074
|
+
var _templateObject$1B, _templateObject2$W;
|
|
10233
10075
|
var getLeft = function getLeft(_ref) {
|
|
10234
10076
|
var position = _ref.position;
|
|
10235
10077
|
if (position === "top-right") {
|
|
@@ -10247,7 +10089,7 @@ var getBottom = function getBottom(_ref2) {
|
|
|
10247
10089
|
var DropdownContent = styled.div.withConfig({
|
|
10248
10090
|
displayName: "DropdownContent",
|
|
10249
10091
|
componentId: "sc-1ns2r4e-0"
|
|
10250
|
-
})(_templateObject$
|
|
10092
|
+
})(_templateObject$1B || (_templateObject$1B = _taggedTemplateLiteral(["\n width: max-content;\n display: none;\n flex-direction: column;\n position: absolute;\n transform: translate(-50%, 0);\n left: ", ";\n bottom: ", ";\n background-color: ", ";\n box-shadow: ", ";\n padding: 16px;\n max-height: 400px;\n overflow-y: auto;\n overflow-x: hidden;\n z-index: ", ";\n border-radius: ", ";\n"])), getLeft, getBottom, function (_ref3) {
|
|
10251
10093
|
var theme = _ref3.theme;
|
|
10252
10094
|
return theme.nav.background;
|
|
10253
10095
|
}, function (_ref4) {
|
|
@@ -10263,7 +10105,7 @@ var DropdownContent = styled.div.withConfig({
|
|
|
10263
10105
|
var Container$7 = styled.div.withConfig({
|
|
10264
10106
|
displayName: "Container",
|
|
10265
10107
|
componentId: "sc-1ns2r4e-1"
|
|
10266
|
-
})(_templateObject2$
|
|
10108
|
+
})(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteral(["\n position: relative;\n &:hover ", ", &:focus-within ", " {\n display: flex;\n }\n"])), DropdownContent, DropdownContent);
|
|
10267
10109
|
var Dropdown = function Dropdown(_ref7) {
|
|
10268
10110
|
var target = _ref7.target,
|
|
10269
10111
|
_ref7$position = _ref7.position,
|
|
@@ -10278,15 +10120,15 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
10278
10120
|
};
|
|
10279
10121
|
|
|
10280
10122
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10281
|
-
var _templateObject$
|
|
10123
|
+
var _templateObject$1A, _templateObject2$V, _templateObject3$I, _templateObject4$v, _templateObject5$s, _templateObject6$j, _templateObject7$f;
|
|
10282
10124
|
var StyledHeading = styled.div.withConfig({
|
|
10283
10125
|
displayName: "StyledHeading",
|
|
10284
10126
|
componentId: "sc-1kzbws6-0"
|
|
10285
|
-
})(_templateObject$
|
|
10127
|
+
})(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteral(["\n font-weight: 700;\n"])));
|
|
10286
10128
|
var StyledEarnedToken = styled.div.withConfig({
|
|
10287
10129
|
displayName: "StyledEarnedToken",
|
|
10288
10130
|
componentId: "sc-1kzbws6-1"
|
|
10289
|
-
})(_templateObject2$
|
|
10131
|
+
})(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteral(["\n width: 100%;\n background: ", ";\n border-radius: ", ";\n overflow: hidden;\n position: relative;\n padding: ", ";\n color: ", ";\n font-size: 16px;\n font-weight: 700;\n line-height: 28px;\n\n ", "\n\n ", " {\n padding: 15px;\n border: 1px solid ", ";\n font-size: 20px;\n line-height: 26px;\n }\n"])), function (_ref) {
|
|
10290
10132
|
var theme = _ref.theme;
|
|
10291
10133
|
return theme.backgrounds.secondary;
|
|
10292
10134
|
}, function (_ref2) {
|
|
@@ -10301,7 +10143,7 @@ var StyledEarnedToken = styled.div.withConfig({
|
|
|
10301
10143
|
return theme.colors.white;
|
|
10302
10144
|
}, function (_ref5) {
|
|
10303
10145
|
var toggled = _ref5.toggled;
|
|
10304
|
-
return toggled && css(_templateObject3$
|
|
10146
|
+
return toggled && css(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n "])), function (_ref6) {
|
|
10305
10147
|
var theme = _ref6.theme;
|
|
10306
10148
|
return theme.colors.white10;
|
|
10307
10149
|
});
|
|
@@ -10315,7 +10157,7 @@ var StyledEarnedToken = styled.div.withConfig({
|
|
|
10315
10157
|
var Amount = styled.div.withConfig({
|
|
10316
10158
|
displayName: "Amount",
|
|
10317
10159
|
componentId: "sc-1kzbws6-2"
|
|
10318
|
-
})(_templateObject4$
|
|
10160
|
+
})(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n width: 100%;\n\n svg {\n width: 24px;\n height: 24px;\n margin-top: 5px;\n margin-right: 15px;\n\n ", " {\n margin-top: 0;\n margin-right: 8px;\n }\n }\n\n ", " {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n height: 24px;\n padding: 25px 0;\n }\n"])), function (_ref9) {
|
|
10319
10161
|
var theme = _ref9.theme;
|
|
10320
10162
|
return theme.mediaQueries.sm;
|
|
10321
10163
|
}, function (_ref0) {
|
|
@@ -10325,7 +10167,7 @@ var Amount = styled.div.withConfig({
|
|
|
10325
10167
|
var Actions = styled.div.withConfig({
|
|
10326
10168
|
displayName: "Actions",
|
|
10327
10169
|
componentId: "sc-1kzbws6-3"
|
|
10328
|
-
})(_templateObject5$
|
|
10170
|
+
})(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n width: 100%;\n\n button {\n width: 100%;\n height: 40px;\n font-size: 11px;\n padding: 0;\n }\n\n ", " {\n flex-direction: column;\n\n button {\n font-size: 16px;\n margin-bottom: 5px;\n }\n }\n"])), function (_ref1) {
|
|
10329
10171
|
var theme = _ref1.theme;
|
|
10330
10172
|
return theme.mediaQueries.sm;
|
|
10331
10173
|
});
|
|
@@ -10396,11 +10238,11 @@ var Tokens;
|
|
|
10396
10238
|
Tokens["ETH"] = "ETH";
|
|
10397
10239
|
})(Tokens || (Tokens = {}));
|
|
10398
10240
|
|
|
10399
|
-
var _templateObject$
|
|
10241
|
+
var _templateObject$1z;
|
|
10400
10242
|
var StyledEarnedWrapper = styled.div.withConfig({
|
|
10401
10243
|
displayName: "StyledEarnedWrapper",
|
|
10402
10244
|
componentId: "sc-vkh54k-0"
|
|
10403
|
-
})(_templateObject$
|
|
10245
|
+
})(_templateObject$1z || (_templateObject$1z = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n width: 100%;\n border-radius: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n"])), function (_ref) {
|
|
10404
10246
|
var theme = _ref.theme;
|
|
10405
10247
|
return theme.colors.white7;
|
|
10406
10248
|
}, function (_ref2) {
|
|
@@ -10423,7 +10265,7 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10423
10265
|
}));
|
|
10424
10266
|
};
|
|
10425
10267
|
|
|
10426
|
-
var _templateObject$
|
|
10268
|
+
var _templateObject$1y;
|
|
10427
10269
|
var EarnedWrapperHeader = styled.div.attrs(function (_ref) {
|
|
10428
10270
|
var _ref$as = _ref.as,
|
|
10429
10271
|
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
@@ -10433,7 +10275,7 @@ var EarnedWrapperHeader = styled.div.attrs(function (_ref) {
|
|
|
10433
10275
|
}).withConfig({
|
|
10434
10276
|
displayName: "EarnedWrapperHeader",
|
|
10435
10277
|
componentId: "sc-fpoazu-0"
|
|
10436
|
-
})(_templateObject$
|
|
10278
|
+
})(_templateObject$1y || (_templateObject$1y = _taggedTemplateLiteral(["\n font-size: 20px;\n line-height: 26px;\n padding: 15px;\n font-weight: 700;\n color: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n ", " {\n font-size: 26px;\n line-height: 33.8px;\n padding: 25px 10px 25px 30px;\n }\n"])), function (_ref2) {
|
|
10437
10279
|
var theme = _ref2.theme;
|
|
10438
10280
|
return theme.colors.white;
|
|
10439
10281
|
}, function (_ref3) {
|
|
@@ -10441,11 +10283,11 @@ var EarnedWrapperHeader = styled.div.attrs(function (_ref) {
|
|
|
10441
10283
|
return theme.mediaQueries.md;
|
|
10442
10284
|
});
|
|
10443
10285
|
|
|
10444
|
-
var _templateObject$
|
|
10286
|
+
var _templateObject$1x;
|
|
10445
10287
|
var GridLayout$1 = styled.div.withConfig({
|
|
10446
10288
|
displayName: "GridLayout",
|
|
10447
10289
|
componentId: "sc-183ri5-0"
|
|
10448
|
-
})(_templateObject$
|
|
10290
|
+
})(_templateObject$1x || (_templateObject$1x = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(8, 1fr);\n grid-gap: 16px;\n ", " {\n grid-gap: 10px;\n }\n ", " {\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 24px;\n }\n ", " {\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 32px;\n }\n"])), function (_ref) {
|
|
10449
10291
|
var theme = _ref.theme;
|
|
10450
10292
|
return theme.mediaQueries.sm;
|
|
10451
10293
|
}, function (_ref2) {
|
|
@@ -10456,20 +10298,20 @@ var GridLayout$1 = styled.div.withConfig({
|
|
|
10456
10298
|
return theme.mediaQueries.lg;
|
|
10457
10299
|
});
|
|
10458
10300
|
|
|
10459
|
-
var _templateObject$
|
|
10301
|
+
var _templateObject$1w;
|
|
10460
10302
|
var GridLayout = styled(GridLayout$1).withConfig({
|
|
10461
10303
|
displayName: "GridLayout",
|
|
10462
10304
|
componentId: "sc-1cke1k8-0"
|
|
10463
|
-
})(_templateObject$
|
|
10305
|
+
})(_templateObject$1w || (_templateObject$1w = _taggedTemplateLiteral(["\n & > div {\n grid-column: span 6;\n ", " {\n grid-column: span 4;\n }\n }\n"])), function (_ref) {
|
|
10464
10306
|
var theme = _ref.theme;
|
|
10465
10307
|
return theme.mediaQueries.sm;
|
|
10466
10308
|
});
|
|
10467
10309
|
|
|
10468
|
-
var _templateObject$
|
|
10310
|
+
var _templateObject$1v, _templateObject2$U, _templateObject3$H;
|
|
10469
10311
|
var StyledEarnedWrapperBody = styled.div.withConfig({
|
|
10470
10312
|
displayName: "StyledEarnedWrapperBody",
|
|
10471
10313
|
componentId: "sc-1bcwv2i-0"
|
|
10472
|
-
})(_templateObject$
|
|
10314
|
+
})(_templateObject$1v || (_templateObject$1v = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: flex-start;\n padding: 0 10px;\n\n ", " {\n padding: 0 30px;\n margin-bottom: ", " !important;\n }\n"])), function (_ref) {
|
|
10473
10315
|
var theme = _ref.theme;
|
|
10474
10316
|
return theme.mediaQueries.md;
|
|
10475
10317
|
}, function (_ref2) {
|
|
@@ -10479,7 +10321,7 @@ var StyledEarnedWrapperBody = styled.div.withConfig({
|
|
|
10479
10321
|
var StyledCardsLayout = styled(GridLayout$1).withConfig({
|
|
10480
10322
|
displayName: "StyledCardsLayout",
|
|
10481
10323
|
componentId: "sc-1bcwv2i-1"
|
|
10482
|
-
})(_templateObject2$
|
|
10324
|
+
})(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteral(["\n width: 100%;\n\n & > div {\n grid-column: span 12;\n ", " {\n grid-column: span 4;\n }\n ", " {\n grid-column: span 4;\n }\n ", " {\n grid-column: span ", ";\n }\n }\n"])), function (_ref3) {
|
|
10483
10325
|
var theme = _ref3.theme;
|
|
10484
10326
|
return theme.mediaQueries.sm;
|
|
10485
10327
|
}, function (_ref4) {
|
|
@@ -10495,7 +10337,7 @@ var StyledCardsLayout = styled(GridLayout$1).withConfig({
|
|
|
10495
10337
|
var EarnedWrapperFooter = styled.div.withConfig({
|
|
10496
10338
|
displayName: "EarnedWrapperFooter",
|
|
10497
10339
|
componentId: "sc-1bcwv2i-2"
|
|
10498
|
-
})(_templateObject3$
|
|
10340
|
+
})(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 10px 5px;\n\n ", " {\n padding: 20px 30px;\n }\n"])), function (_ref7) {
|
|
10499
10341
|
var theme = _ref7.theme;
|
|
10500
10342
|
return theme.mediaQueries.md;
|
|
10501
10343
|
});
|
|
@@ -10562,11 +10404,11 @@ var EarnedWrapperBody = function EarnedWrapperBody(_ref8) {
|
|
|
10562
10404
|
});
|
|
10563
10405
|
};
|
|
10564
10406
|
|
|
10565
|
-
var _templateObject$
|
|
10407
|
+
var _templateObject$1u;
|
|
10566
10408
|
var StyledEarnedCarouselWrapper = styled.div.withConfig({
|
|
10567
10409
|
displayName: "StyledEarnedCarouselWrapper",
|
|
10568
10410
|
componentId: "sc-1fmwe6r-0"
|
|
10569
|
-
})(_templateObject$
|
|
10411
|
+
})(_templateObject$1u || (_templateObject$1u = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n width: 100%;\n border-radius: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n padding-bottom: 10px;\n ", " {\n padding-bottom: 0px;\n }\n"])), function (_ref) {
|
|
10570
10412
|
var theme = _ref.theme;
|
|
10571
10413
|
return theme.colors.white7;
|
|
10572
10414
|
}, function (_ref2) {
|
|
@@ -10592,7 +10434,7 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10592
10434
|
}));
|
|
10593
10435
|
};
|
|
10594
10436
|
|
|
10595
|
-
var _templateObject$
|
|
10437
|
+
var _templateObject$1t;
|
|
10596
10438
|
var EarnedCarouselWrapperHeader = styled.div.attrs(function (_ref) {
|
|
10597
10439
|
var _ref$as = _ref.as,
|
|
10598
10440
|
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
@@ -10602,7 +10444,7 @@ var EarnedCarouselWrapperHeader = styled.div.attrs(function (_ref) {
|
|
|
10602
10444
|
}).withConfig({
|
|
10603
10445
|
displayName: "EarnedCarouselWrapperHeader",
|
|
10604
10446
|
componentId: "sc-zz4zep-0"
|
|
10605
|
-
})(_templateObject$
|
|
10447
|
+
})(_templateObject$1t || (_templateObject$1t = _taggedTemplateLiteral(["\n font-size: 20px;\n line-height: 26px;\n padding: 15px;\n font-weight: 700;\n color: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n ", " {\n font-size: 26px;\n line-height: 33.8px;\n padding: 25px 10px 25px 30px;\n }\n"])), function (_ref2) {
|
|
10606
10448
|
var theme = _ref2.theme;
|
|
10607
10449
|
return theme.colors.white;
|
|
10608
10450
|
}, function (_ref3) {
|
|
@@ -10610,15 +10452,15 @@ var EarnedCarouselWrapperHeader = styled.div.attrs(function (_ref) {
|
|
|
10610
10452
|
return theme.mediaQueries.md;
|
|
10611
10453
|
});
|
|
10612
10454
|
|
|
10613
|
-
var _templateObject$
|
|
10455
|
+
var _templateObject$1s, _templateObject2$T, _templateObject3$G;
|
|
10614
10456
|
var CSSTokenWrapper = styled.div.withConfig({
|
|
10615
10457
|
displayName: "CSSTokenWrapper",
|
|
10616
10458
|
componentId: "sc-63miep-0"
|
|
10617
|
-
})(_templateObject$
|
|
10459
|
+
})(_templateObject$1s || (_templateObject$1s = _taggedTemplateLiteral(["\n padding: 0 10px;\n\n @media (max-width: 800px) {\n width: 50%;\n }\n @media (min-width: 800px) {\n width: 33.3%;\n }\n @media (min-width: 1200px) {\n width: 25%;\n }\n"])));
|
|
10618
10460
|
var SliderWrapper = styled.div.withConfig({
|
|
10619
10461
|
displayName: "SliderWrapper",
|
|
10620
10462
|
componentId: "sc-63miep-1"
|
|
10621
|
-
})(_templateObject2$
|
|
10463
|
+
})(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteral(["\n ", " {\n margin: ", ";\n }\n\n ", " {\n margin: ", ";\n }\n\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n"])), function (_ref) {
|
|
10622
10464
|
var theme = _ref.theme;
|
|
10623
10465
|
return theme.mediaQueries.sm;
|
|
10624
10466
|
}, function (_ref2) {
|
|
@@ -10634,7 +10476,7 @@ var SliderWrapper = styled.div.withConfig({
|
|
|
10634
10476
|
var StyledSlider$1 = styled(Slider).withConfig({
|
|
10635
10477
|
displayName: "StyledSlider",
|
|
10636
10478
|
componentId: "sc-63miep-2"
|
|
10637
|
-
})(_templateObject3$
|
|
10479
|
+
})(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteral(["\n @media (max-width: 800px) {\n width: ", ";\n }\n @media (min-width: 800px) {\n width: ", ";\n }\n @media (min-width: 1200px) {\n width: ", ";\n }\n\n .slick-track {\n display: flex;\n > div {\n padding: 0 10px;\n }\n }\n\n .slick-dots {\n .slick-active {\n div {\n background: ", " !important;\n }\n }\n }\n"])), function (_ref5) {
|
|
10638
10480
|
var withoutMain = _ref5.withoutMain;
|
|
10639
10481
|
if (withoutMain) {
|
|
10640
10482
|
return "100%";
|
|
@@ -10799,7 +10641,7 @@ var BackgroundImage = function BackgroundImage(_ref) {
|
|
|
10799
10641
|
}, otherProps));
|
|
10800
10642
|
};
|
|
10801
10643
|
|
|
10802
|
-
var _templateObject$
|
|
10644
|
+
var _templateObject$1r;
|
|
10803
10645
|
var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
10804
10646
|
var isActive = _ref.isActive,
|
|
10805
10647
|
isWarning = _ref.isWarning,
|
|
@@ -10815,7 +10657,7 @@ var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
|
10815
10657
|
var StyledInfoBox = styled.div.withConfig({
|
|
10816
10658
|
displayName: "StyledInfoBox",
|
|
10817
10659
|
componentId: "sc-132sfwq-0"
|
|
10818
|
-
})(_templateObject$
|
|
10660
|
+
})(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteral(["\n filter: drop-shadow(rgba(25, 19, 38, 0.15) 0px 1px 4px);\n width: 100%;\n background: rgb(22, 22, 29);\n border: 1px solid rgb(82, 75, 99);\n border-radius: 15px;\n border: 1px solid ", ";\n box-shadow: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n\n ", "\n"])), function (_ref2) {
|
|
10819
10661
|
var theme = _ref2.theme;
|
|
10820
10662
|
return theme.colors.borderColor;
|
|
10821
10663
|
}, getBoxShadow$1, function (_ref3) {
|
|
@@ -10832,7 +10674,7 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10832
10674
|
}));
|
|
10833
10675
|
};
|
|
10834
10676
|
|
|
10835
|
-
var _templateObject$
|
|
10677
|
+
var _templateObject$1q;
|
|
10836
10678
|
var InfoBox = styled.div.attrs(function (_ref) {
|
|
10837
10679
|
var _ref$p = _ref.p,
|
|
10838
10680
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10842,15 +10684,15 @@ var InfoBox = styled.div.attrs(function (_ref) {
|
|
|
10842
10684
|
}).withConfig({
|
|
10843
10685
|
displayName: "InfoBox",
|
|
10844
10686
|
componentId: "sc-1opp4pn-0"
|
|
10845
|
-
})(_templateObject$
|
|
10687
|
+
})(_templateObject$1q || (_templateObject$1q = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), space);
|
|
10846
10688
|
|
|
10847
|
-
var _templateObject$
|
|
10689
|
+
var _templateObject$1p;
|
|
10848
10690
|
var InfoBoxHeader = styled.div.withConfig({
|
|
10849
10691
|
displayName: "InfoBoxHeader",
|
|
10850
10692
|
componentId: "sc-ll0lgz-0"
|
|
10851
|
-
})(_templateObject$
|
|
10693
|
+
})(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteral(["\n ", ";\n font-weight: 600;\n font-size: 24px;\n line-height: 130%;\n color: white;\n\n display: flex;\n height: 55px;\n padding: 0 20px;\n justify-content: space-between;\n align-items: center;\n background: rgba(10, 10, 10, 1);\n"])), space);
|
|
10852
10694
|
|
|
10853
|
-
var _templateObject$
|
|
10695
|
+
var _templateObject$1o;
|
|
10854
10696
|
var InfoBoxFooter = styled.div.attrs(function (_ref) {
|
|
10855
10697
|
var _ref$p = _ref.p,
|
|
10856
10698
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10860,7 +10702,7 @@ var InfoBoxFooter = styled.div.attrs(function (_ref) {
|
|
|
10860
10702
|
}).withConfig({
|
|
10861
10703
|
displayName: "InfoBoxFooter",
|
|
10862
10704
|
componentId: "sc-suth0r-0"
|
|
10863
|
-
})(_templateObject$
|
|
10705
|
+
})(_templateObject$1o || (_templateObject$1o = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), space);
|
|
10864
10706
|
|
|
10865
10707
|
var scales$1 = {
|
|
10866
10708
|
SM: "sm",
|
|
@@ -10868,7 +10710,7 @@ var scales$1 = {
|
|
|
10868
10710
|
LG: "lg"
|
|
10869
10711
|
};
|
|
10870
10712
|
|
|
10871
|
-
var _templateObject$
|
|
10713
|
+
var _templateObject$1n;
|
|
10872
10714
|
/**
|
|
10873
10715
|
* Priority: Warning --> Success
|
|
10874
10716
|
*/
|
|
@@ -10902,7 +10744,7 @@ var getHeight = function getHeight(_ref2) {
|
|
|
10902
10744
|
var Input = styled.input.withConfig({
|
|
10903
10745
|
displayName: "Input",
|
|
10904
10746
|
componentId: "sc-i7ggno-0"
|
|
10905
|
-
})(_templateObject$
|
|
10747
|
+
})(_templateObject$1n || (_templateObject$1n = _taggedTemplateLiteral(["\n background-color: ", ";\n border: 1px solid rgba(255, 255, 255, 0.3);\n border-radius: 10px;\n box-shadow: ", ";\n color: ", ";\n display: block;\n font-size: 16px;\n height: ", ";\n outline: 0;\n padding: 0 16px;\n width: 100%;\n\n &::placeholder {\n color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n box-shadow: none;\n color: ", ";\n cursor: not-allowed;\n }\n\n &:focus:not(:disabled) {\n box-shadow: ", ";\n }\n"])), function (_ref3) {
|
|
10906
10748
|
var theme = _ref3.theme;
|
|
10907
10749
|
return theme.colors.input;
|
|
10908
10750
|
}, getBoxShadow, function (_ref4) {
|
|
@@ -10925,30 +10767,30 @@ var Input = styled.input.withConfig({
|
|
|
10925
10767
|
var _excluded$9 = ["children"],
|
|
10926
10768
|
_excluded2 = ["children"],
|
|
10927
10769
|
_excluded3 = ["children"];
|
|
10928
|
-
var _templateObject$
|
|
10770
|
+
var _templateObject$1m, _templateObject2$S, _templateObject3$F, _templateObject4$u, _templateObject5$r, _templateObject6$i, _templateObject7$e, _templateObject8$a, _templateObject9$9;
|
|
10929
10771
|
var InputLabelBox = styled.div.withConfig({
|
|
10930
10772
|
displayName: "InputLabelBox",
|
|
10931
10773
|
componentId: "sc-1xa506b-0"
|
|
10932
|
-
})(_templateObject$
|
|
10774
|
+
})(_templateObject$1m || (_templateObject$1m = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
|
|
10933
10775
|
var Label = styled(Text).withConfig({
|
|
10934
10776
|
displayName: "Label",
|
|
10935
10777
|
componentId: "sc-1xa506b-1"
|
|
10936
|
-
})(_templateObject2$
|
|
10778
|
+
})(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: bold;\n font-size: 16px;\n line-height: 28px;\n"])), function (_ref) {
|
|
10937
10779
|
var theme = _ref.theme;
|
|
10938
10780
|
return theme.colors.white55;
|
|
10939
10781
|
});
|
|
10940
10782
|
var OptionalBox = styled(Text).withConfig({
|
|
10941
10783
|
displayName: "OptionalBox",
|
|
10942
10784
|
componentId: "sc-1xa506b-2"
|
|
10943
|
-
})(_templateObject3$
|
|
10785
|
+
})(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n"])));
|
|
10944
10786
|
var Optional = styled(Text).withConfig({
|
|
10945
10787
|
displayName: "Optional",
|
|
10946
10788
|
componentId: "sc-1xa506b-3"
|
|
10947
|
-
})(_templateObject4$
|
|
10789
|
+
})(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteral(["\n color: #373749;\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n"])));
|
|
10948
10790
|
var StyledInputDesc = styled(Text).withConfig({
|
|
10949
10791
|
displayName: "StyledInputDesc",
|
|
10950
10792
|
componentId: "sc-1xa506b-4"
|
|
10951
|
-
})(_templateObject5$
|
|
10793
|
+
})(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: normal;\n font-size: 12px;\n line-height: 170%;\n"])), function (_ref2) {
|
|
10952
10794
|
var theme = _ref2.theme;
|
|
10953
10795
|
return theme.colors.white55;
|
|
10954
10796
|
});
|
|
@@ -11034,14 +10876,14 @@ var InputWrapper$1 = function InputWrapper(_ref0) {
|
|
|
11034
10876
|
});
|
|
11035
10877
|
};
|
|
11036
10878
|
|
|
11037
|
-
var _templateObject$
|
|
10879
|
+
var _templateObject$1l, _templateObject2$R;
|
|
11038
10880
|
var StyledInput$1 = styled(function (_ref) {
|
|
11039
10881
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
11040
10882
|
return /*#__PURE__*/jsx(DatePicker, _objectSpread2({}, props));
|
|
11041
10883
|
}).withConfig({
|
|
11042
10884
|
displayName: "StyledInput",
|
|
11043
10885
|
componentId: "sc-2l4k3e-0"
|
|
11044
|
-
})(_templateObject$
|
|
10886
|
+
})(_templateObject$1l || (_templateObject$1l = _taggedTemplateLiteral(["\n width: 100%;\n height: 60px;\n .MuiInputBase-root {\n border: 1px solid\n ", ";\n border-radius: 10px;\n background: ", ";\n padding: 16px 24px;\n color: white;\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n &.Mui-disabled {\n .MuiInputBase-input {\n color: ", ";\n }\n }\n }\n .MuiFormHelperText-root.Mui-error {\n display: none;\n }\n"])), function (props) {
|
|
11045
10887
|
return props.disabled ? "".concat(props.theme.colors.white55) : props.error ? "".concat(props.theme.colors.error) : props.value ? "".concat(props.theme.colors.white55) : "rgba(255, 255, 255, 0.03)";
|
|
11046
10888
|
}, function (props) {
|
|
11047
10889
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
@@ -11055,7 +10897,7 @@ var DateInputWrapper = styled(function (_ref3) {
|
|
|
11055
10897
|
}).withConfig({
|
|
11056
10898
|
displayName: "DateInputWrapper",
|
|
11057
10899
|
componentId: "sc-2l4k3e-1"
|
|
11058
|
-
})(_templateObject2$
|
|
10900
|
+
})(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteral(["\n margin-bottom: 15px;\n"])));
|
|
11059
10901
|
var MuiDateInput = function MuiDateInput(_ref4) {
|
|
11060
10902
|
var name = _ref4.name,
|
|
11061
10903
|
label = _ref4.label,
|
|
@@ -11119,14 +10961,14 @@ var MuiDateInput = function MuiDateInput(_ref4) {
|
|
|
11119
10961
|
});
|
|
11120
10962
|
};
|
|
11121
10963
|
|
|
11122
|
-
var _templateObject$
|
|
10964
|
+
var _templateObject$1k, _templateObject2$Q;
|
|
11123
10965
|
var DragAndDropZone = styled(function (_ref) {
|
|
11124
10966
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
11125
10967
|
return /*#__PURE__*/jsx("div", _objectSpread2({}, props));
|
|
11126
10968
|
}).withConfig({
|
|
11127
10969
|
displayName: "DragAndDropZone",
|
|
11128
10970
|
componentId: "sc-1qlv44t-0"
|
|
11129
|
-
})(_templateObject$
|
|
10971
|
+
})(_templateObject$1k || (_templateObject$1k = _taggedTemplateLiteral(["\n background: ", ";\n cursor: ", ";\n border: 1px\n ", ";\n box-sizing: border-box;\n border-radius: 10px;\n padding: 16px 24px;\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 10px;\n"])), function (props) {
|
|
11130
10972
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
11131
10973
|
}, function (props) {
|
|
11132
10974
|
return props.disabled ? "not-allowed" : "pointer";
|
|
@@ -11139,7 +10981,7 @@ var DragAndDropText = styled(function (_ref2) {
|
|
|
11139
10981
|
}).withConfig({
|
|
11140
10982
|
displayName: "DragAndDropText",
|
|
11141
10983
|
componentId: "sc-1qlv44t-1"
|
|
11142
|
-
})(_templateObject2$
|
|
10984
|
+
})(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteral(["\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n color: ", ";\n span {\n color: ", ";\n }\n"])), function (props) {
|
|
11143
10985
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.white;
|
|
11144
10986
|
}, function (props) {
|
|
11145
10987
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.primary;
|
|
@@ -11213,22 +11055,22 @@ var MuiFileInput = function MuiFileInput(_ref3) {
|
|
|
11213
11055
|
};
|
|
11214
11056
|
|
|
11215
11057
|
var _excluded$8 = ["name", "label", "placeholderLabel", "placeholder", "topDesc", "bottomDesc", "optional", "value", "onChange", "onBlur", "error", "textarea", "maxLength", "disabled", "success", "successMsg"];
|
|
11216
|
-
var _templateObject$
|
|
11058
|
+
var _templateObject$1j, _templateObject2$P, _templateObject3$E;
|
|
11217
11059
|
var TextAreaWrapper = styled.div.withConfig({
|
|
11218
11060
|
displayName: "TextAreaWrapper",
|
|
11219
11061
|
componentId: "sc-1pp44v8-0"
|
|
11220
|
-
})(_templateObject$
|
|
11062
|
+
})(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
11221
11063
|
var LengthText = styled(Text).withConfig({
|
|
11222
11064
|
displayName: "LengthText",
|
|
11223
11065
|
componentId: "sc-1pp44v8-1"
|
|
11224
|
-
})(_templateObject2$
|
|
11066
|
+
})(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n color: ", ";\n bottom: 20px;\n right: 15px;\n"])), function (_ref) {
|
|
11225
11067
|
var theme = _ref.theme;
|
|
11226
11068
|
return theme.colors.grey;
|
|
11227
11069
|
});
|
|
11228
11070
|
var StyledTextField = styled(TextField).withConfig({
|
|
11229
11071
|
displayName: "StyledTextField",
|
|
11230
11072
|
componentId: "sc-1pp44v8-2"
|
|
11231
|
-
})(_templateObject3$
|
|
11073
|
+
})(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteral(["\n &.MuiTextField-root {\n margin-bottom: 10px;\n width: 100%;\n .MuiInputBase-input {\n color: white;\n ::placeholder {\n opacity: 1;\n color: ", ";\n }\n }\n .MuiFilledInput-root {\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n height: ", ";\n .MuiFilledInput-input {\n padding: ", ";\n }\n &.Mui-error {\n border: 1px solid ", ";\n }\n &.Mui-focused {\n border: 1px solid ", ";\n box-shadow: 0px 0px 8px rgba(18, 255, 184, 0.15);\n &.Mui-error {\n border: 1px solid ", ";\n box-shadow: unset;\n }\n }\n &.Mui-disabled {\n background-color: ", ";\n border: 1px solid ", ";\n .MuiInputBase-input {\n color: ", ";\n }\n }\n &.MuiFilledInput-underline:before {\n border-bottom: unset;\n }\n &.MuiFilledInput-underline:after {\n border-bottom: unset;\n }\n }\n .MuiInputLabel-filled {\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n transform: translate(24px, 17px);\n color: ", ";\n transition: all 0.15s;\n &.MuiInputLabel-shrink {\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n transform: translate(24px, 10px);\n color: ", ";\n }\n }\n }\n .MuiFilledInput-multiline {\n padding: 0px 12px 30px 0px;\n }\n"])), function (_ref2) {
|
|
11232
11074
|
var theme = _ref2.theme,
|
|
11233
11075
|
disabled = _ref2.disabled;
|
|
11234
11076
|
return disabled ? theme.colors.white55 : theme.colors.grey;
|
|
@@ -11336,22 +11178,22 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11336
11178
|
});
|
|
11337
11179
|
};
|
|
11338
11180
|
|
|
11339
|
-
var _templateObject$
|
|
11181
|
+
var _templateObject$1i, _templateObject2$O, _templateObject3$D;
|
|
11340
11182
|
var CarouselBox = styled.div.withConfig({
|
|
11341
11183
|
displayName: "CarouselBox",
|
|
11342
11184
|
componentId: "sc-xakklk-0"
|
|
11343
|
-
})(_templateObject$
|
|
11185
|
+
})(_templateObject$1i || (_templateObject$1i = _taggedTemplateLiteral(["\n height: 200px;\n"])));
|
|
11344
11186
|
var StyledSlider = styled(Slider).withConfig({
|
|
11345
11187
|
displayName: "StyledSlider",
|
|
11346
11188
|
componentId: "sc-xakklk-1"
|
|
11347
|
-
})(_templateObject2$
|
|
11189
|
+
})(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteral(["\n .slick-track {\n > div {\n padding: 0 10px;\n }\n }\n\n .slick-dots {\n .slick-active {\n div {\n background: ", " !important;\n }\n }\n }\n"])), function (_ref) {
|
|
11348
11190
|
var theme = _ref.theme;
|
|
11349
11191
|
return theme.colors.blue;
|
|
11350
11192
|
});
|
|
11351
11193
|
var ImageDiv = styled.div.withConfig({
|
|
11352
11194
|
displayName: "ImageDiv",
|
|
11353
11195
|
componentId: "sc-xakklk-2"
|
|
11354
|
-
})(_templateObject3$
|
|
11196
|
+
})(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteral(["\n background: ", ";\n background-size: cover;\n color: white;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: flex-end;\n padding-bottom: 30px;\n height: 200px;\n border-radius: 15px;\n border: 1px solid ", ";\n"])), function (_ref2) {
|
|
11355
11197
|
var background = _ref2.background;
|
|
11356
11198
|
return background;
|
|
11357
11199
|
}, function (_ref3) {
|
|
@@ -11400,7 +11242,7 @@ var scales = {
|
|
|
11400
11242
|
MD: "md"
|
|
11401
11243
|
};
|
|
11402
11244
|
|
|
11403
|
-
var _templateObject$
|
|
11245
|
+
var _templateObject$1h;
|
|
11404
11246
|
var getScale = function getScale(_ref) {
|
|
11405
11247
|
var scale = _ref.scale;
|
|
11406
11248
|
switch (scale) {
|
|
@@ -11434,7 +11276,7 @@ var Radio = styled.input.attrs(function (_ref3) {
|
|
|
11434
11276
|
}).withConfig({
|
|
11435
11277
|
displayName: "Radio",
|
|
11436
11278
|
componentId: "sc-955j6u-0"
|
|
11437
|
-
})(_templateObject$
|
|
11279
|
+
})(_templateObject$1h || (_templateObject$1h = _taggedTemplateLiteral(["\n appearance: none;\n overflow: hidden;\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: ", ";\n width: ", ";\n vertical-align: middle;\n transition: background-color 0.2s ease-in-out;\n border: 0;\n border-radius: 50%;\n background-color: ", ";\n box-shadow: ", ";\n\n &:after {\n border-radius: 50%;\n content: \"\";\n height: ", ";\n left: 6px;\n position: absolute;\n top: 6px;\n width: ", ";\n }\n\n &:hover:not(:disabled):not(:checked) {\n box-shadow: ", ";\n }\n\n &:focus {\n outline: none;\n box-shadow: ", ";\n }\n\n &:checked {\n background-color: ", ";\n &:after {\n background-color: ", ";\n }\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.6;\n }\n ", "\n"])), getScale, getScale, function (_ref4) {
|
|
11438
11280
|
var theme = _ref4.theme;
|
|
11439
11281
|
return theme.colors.input;
|
|
11440
11282
|
}, function (_ref5) {
|
|
@@ -11572,11 +11414,11 @@ var darkColors = _objectSpread2(_objectSpread2(_objectSpread2({}, baseColors), b
|
|
|
11572
11414
|
}
|
|
11573
11415
|
});
|
|
11574
11416
|
|
|
11575
|
-
var _templateObject$
|
|
11417
|
+
var _templateObject$1g, _templateObject2$N;
|
|
11576
11418
|
var StyledCoreTag = styled.div.withConfig({
|
|
11577
11419
|
displayName: "StyledCoreTag",
|
|
11578
11420
|
componentId: "sc-1bfj6gr-0"
|
|
11579
|
-
})(_templateObject$
|
|
11421
|
+
})(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteral(["\n width: auto;\n height: 24px;\n display: inline-flex;\n justify-content: space-between;\n align-items: center;\n background-color: transparent;\n border: 1px solid ", ";\n border-radius: ", ";\n color: ", ";\n font-size: 14px;\n font-weight: 700;\n line-height: 1.5;\n padding: 0 8px;\n white-space: nowrap;\n\n svg {\n margin-left: ", "px;\n margin-right: ", "px;\n width: 16px;\n height: 16px;\n fill: ", ";\n }\n"])), function (_ref) {
|
|
11580
11422
|
var theme = _ref.theme,
|
|
11581
11423
|
active = _ref.active,
|
|
11582
11424
|
color = _ref.color;
|
|
@@ -11603,7 +11445,7 @@ var StyledCoreTag = styled.div.withConfig({
|
|
|
11603
11445
|
var StyledText = styled(Text).withConfig({
|
|
11604
11446
|
displayName: "StyledText",
|
|
11605
11447
|
componentId: "sc-1bfj6gr-1"
|
|
11606
|
-
})(_templateObject2$
|
|
11448
|
+
})(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteral(["\n font-weight: 700;\n color: ", ";\n font-size: 14px;\n line-height: 20px;\n"])), function (_ref7) {
|
|
11607
11449
|
var theme = _ref7.theme,
|
|
11608
11450
|
active = _ref7.active,
|
|
11609
11451
|
color = _ref7.color;
|
|
@@ -11687,12 +11529,12 @@ var Icon$M = function Icon(props) {
|
|
|
11687
11529
|
}));
|
|
11688
11530
|
};
|
|
11689
11531
|
|
|
11690
|
-
var _templateObject$
|
|
11691
|
-
var rotate = keyframes(_templateObject$
|
|
11532
|
+
var _templateObject$1f, _templateObject2$M, _templateObject3$C;
|
|
11533
|
+
var rotate = keyframes(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11692
11534
|
var Container$6 = styled.div.withConfig({
|
|
11693
11535
|
displayName: "Container",
|
|
11694
11536
|
componentId: "sc-1wgci3j-0"
|
|
11695
|
-
})(_templateObject2$
|
|
11537
|
+
})(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteral(["\n position: relative;\n height: ", "px;\n width: ", "px;\n"])), function (_ref) {
|
|
11696
11538
|
var size = _ref.size;
|
|
11697
11539
|
return size;
|
|
11698
11540
|
}, function (_ref2) {
|
|
@@ -11702,7 +11544,7 @@ var Container$6 = styled.div.withConfig({
|
|
|
11702
11544
|
var RotatingSpinnerIcon = styled(Icon$M).withConfig({
|
|
11703
11545
|
displayName: "RotatingSpinnerIcon",
|
|
11704
11546
|
componentId: "sc-1wgci3j-1"
|
|
11705
|
-
})(_templateObject3$
|
|
11547
|
+
})(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n animation: ", " 2s linear infinite;\n transform: translate3d(0, 0, 0);\n"])), rotate);
|
|
11706
11548
|
var Spinner = function Spinner(_ref3) {
|
|
11707
11549
|
var _ref3$size = _ref3.size,
|
|
11708
11550
|
size = _ref3$size === void 0 ? 128 : _ref3$size;
|
|
@@ -11714,26 +11556,26 @@ var Spinner = function Spinner(_ref3) {
|
|
|
11714
11556
|
});
|
|
11715
11557
|
};
|
|
11716
11558
|
|
|
11717
|
-
var _templateObject$
|
|
11559
|
+
var _templateObject$1e, _templateObject2$L, _templateObject3$B, _templateObject4$t;
|
|
11718
11560
|
var StyledContainer = styled.div.withConfig({
|
|
11719
11561
|
displayName: "StyledContainer",
|
|
11720
11562
|
componentId: "sc-1c4vjp9-0"
|
|
11721
|
-
})(_templateObject$
|
|
11563
|
+
})(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n overflow: auto;\n ", "\n"])), function (_ref) {
|
|
11722
11564
|
var loader = _ref.loader;
|
|
11723
11565
|
return loader && "\n display: flex;\n justify-content: center;\n align-items: center;\n ";
|
|
11724
11566
|
});
|
|
11725
11567
|
var StyledItem = styled.div.withConfig({
|
|
11726
11568
|
displayName: "StyledItem",
|
|
11727
11569
|
componentId: "sc-1c4vjp9-1"
|
|
11728
|
-
})(_templateObject2$
|
|
11570
|
+
})(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid rgba(55, 55, 73, 0.3);\n padding-top: 8px;\n padding-bottom: 8px;\n"])));
|
|
11729
11571
|
var StyledLabel = styled(Text).withConfig({
|
|
11730
11572
|
displayName: "StyledLabel",
|
|
11731
11573
|
componentId: "sc-1c4vjp9-2"
|
|
11732
|
-
})(_templateObject3$
|
|
11574
|
+
})(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteral(["\n opacity: 0.55;\n"])));
|
|
11733
11575
|
var ListWrapper = styled.div.withConfig({
|
|
11734
11576
|
displayName: "ListWrapper",
|
|
11735
11577
|
componentId: "sc-1c4vjp9-3"
|
|
11736
|
-
})(_templateObject4$
|
|
11578
|
+
})(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteral(["\n display: flex;\n height: ", ";\n"])), function (_ref2) {
|
|
11737
11579
|
var customHeight = _ref2.customHeight;
|
|
11738
11580
|
return customHeight ? "".concat(customHeight, "px") : "100%";
|
|
11739
11581
|
});
|
|
@@ -11796,18 +11638,18 @@ var List = function List(_ref3) {
|
|
|
11796
11638
|
});
|
|
11797
11639
|
};
|
|
11798
11640
|
|
|
11799
|
-
var _templateObject$
|
|
11641
|
+
var _templateObject$1d, _templateObject2$K;
|
|
11800
11642
|
var Bar = styled.div.withConfig({
|
|
11801
11643
|
displayName: "Bar",
|
|
11802
11644
|
componentId: "sc-1wd61gz-0"
|
|
11803
|
-
})(_templateObject$
|
|
11645
|
+
})(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n background-color: ", ";\n border-top-left-radius: 32px;\n border-bottom-left-radius: 32px;\n height: 16px;\n transition: width 200ms ease;\n"])), function (props) {
|
|
11804
11646
|
var _props$primary;
|
|
11805
11647
|
return ((_props$primary = props.primary) !== null && _props$primary !== void 0 ? _props$primary : false) ? props.theme.colors.secondary : "".concat(props.theme.colors.secondary, "80");
|
|
11806
11648
|
});
|
|
11807
11649
|
var StyledProgress = styled.div.withConfig({
|
|
11808
11650
|
displayName: "StyledProgress",
|
|
11809
11651
|
componentId: "sc-1wd61gz-1"
|
|
11810
|
-
})(_templateObject2$
|
|
11652
|
+
})(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteral(["\n position: relative;\n background-color: ", ";\n border-radius: 32px;\n box-shadow: ", ";\n height: 16px;\n overflow: hidden;\n"])), function (_ref) {
|
|
11811
11653
|
var theme = _ref.theme;
|
|
11812
11654
|
return theme.colors.input;
|
|
11813
11655
|
}, function (_ref2) {
|
|
@@ -11815,11 +11657,11 @@ var StyledProgress = styled.div.withConfig({
|
|
|
11815
11657
|
return theme.shadows.inset;
|
|
11816
11658
|
});
|
|
11817
11659
|
|
|
11818
|
-
var _templateObject$
|
|
11660
|
+
var _templateObject$1c;
|
|
11819
11661
|
var ProgressBunnyWrapper = styled.div.withConfig({
|
|
11820
11662
|
displayName: "ProgressBunnyWrapper",
|
|
11821
11663
|
componentId: "sc-12wvu5w-0"
|
|
11822
|
-
})(_templateObject$
|
|
11664
|
+
})(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteral(["\n display: flex;\n z-index: 2;\n top: -65%;\n position: absolute;\n transform: translate(-50%, -50%);\n transition: left 200ms ease-out;\n"])));
|
|
11823
11665
|
|
|
11824
11666
|
var stepGuard = function stepGuard(step) {
|
|
11825
11667
|
if (step < 0) {
|
|
@@ -11866,13 +11708,13 @@ var variant = {
|
|
|
11866
11708
|
};
|
|
11867
11709
|
|
|
11868
11710
|
var _excluded$6 = ["variant", "animation"];
|
|
11869
|
-
var _templateObject$
|
|
11870
|
-
var waves = keyframes(_templateObject$
|
|
11871
|
-
var pulse = keyframes(_templateObject2$
|
|
11711
|
+
var _templateObject$1b, _templateObject2$J, _templateObject3$A, _templateObject4$s, _templateObject5$q;
|
|
11712
|
+
var waves = keyframes(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteral(["\n from {\n left: -150px;\n }\n to {\n left: 100%;\n }\n"])));
|
|
11713
|
+
var pulse = keyframes(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n"])));
|
|
11872
11714
|
var Root = styled.div.withConfig({
|
|
11873
11715
|
displayName: "Root",
|
|
11874
11716
|
componentId: "sc-20824z-0"
|
|
11875
|
-
})(_templateObject3$
|
|
11717
|
+
})(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteral(["\n min-height: 20px;\n display: block;\n background-color: ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (_ref) {
|
|
11876
11718
|
var theme = _ref.theme;
|
|
11877
11719
|
return theme.colors.backgroundDisabled;
|
|
11878
11720
|
}, function (_ref2) {
|
|
@@ -11883,11 +11725,11 @@ var Root = styled.div.withConfig({
|
|
|
11883
11725
|
var Pulse = styled(Root).withConfig({
|
|
11884
11726
|
displayName: "Pulse",
|
|
11885
11727
|
componentId: "sc-20824z-1"
|
|
11886
|
-
})(_templateObject4$
|
|
11728
|
+
})(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteral(["\n animation: ", " 2s infinite ease-out;\n transform: translate3d(0, 0, 0);\n"])), pulse);
|
|
11887
11729
|
var Waves = styled(Root).withConfig({
|
|
11888
11730
|
displayName: "Waves",
|
|
11889
11731
|
componentId: "sc-20824z-2"
|
|
11890
|
-
})(_templateObject5$
|
|
11732
|
+
})(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteral(["\n position: relative;\n overflow: hidden;\n transform: translate3d(0, 0, 0);\n display: flex;\n justify-content: center;\n align-items: center;\n &:before {\n content: \"\";\n position: absolute;\n background-image: linear-gradient(90deg, transparent, rgba(243, 243, 243, 0.5), transparent);\n top: 0;\n left: -150px;\n height: 100%;\n width: 150px;\n animation: ", " 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;\n }\n"])), waves);
|
|
11891
11733
|
var Skeleton = function Skeleton(_ref3) {
|
|
11892
11734
|
var _ref3$variant = _ref3.variant,
|
|
11893
11735
|
variant$1 = _ref3$variant === void 0 ? variant.RECT : _ref3$variant,
|
|
@@ -11905,15 +11747,15 @@ var Skeleton = function Skeleton(_ref3) {
|
|
|
11905
11747
|
};
|
|
11906
11748
|
|
|
11907
11749
|
var _excluded$5 = ["text"];
|
|
11908
|
-
var _templateObject$
|
|
11750
|
+
var _templateObject$1a, _templateObject2$I;
|
|
11909
11751
|
var StyledButton = styled(Button$1).withConfig({
|
|
11910
11752
|
displayName: "StyledButton",
|
|
11911
11753
|
componentId: "sc-1ofv4rm-0"
|
|
11912
|
-
})(_templateObject$
|
|
11754
|
+
})(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 11px 27px;\n border-radius: 10px;\n // Should this color be added to theme colors?\n background-color: rgb(43, 43, 56);\n\n #open-new {\n width: 13.25px;\n height: 13.25px;\n }\n"])));
|
|
11913
11755
|
var DetailsContainer = styled.div.withConfig({
|
|
11914
11756
|
displayName: "DetailsContainer",
|
|
11915
11757
|
componentId: "sc-1ofv4rm-1"
|
|
11916
|
-
})(_templateObject2$
|
|
11758
|
+
})(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n * {\n margin-right: 10px;\n }\n"])));
|
|
11917
11759
|
var SwapButton = function SwapButton(_ref) {
|
|
11918
11760
|
var _ref$text = _ref.text,
|
|
11919
11761
|
text = _ref$text === void 0 ? "Token info page" : _ref$text,
|
|
@@ -12625,11 +12467,11 @@ var lightTheme = _objectSpread2(_objectSpread2({}, base), {}, {
|
|
|
12625
12467
|
tooltip: light
|
|
12626
12468
|
});
|
|
12627
12469
|
|
|
12628
|
-
var _templateObject$
|
|
12470
|
+
var _templateObject$19;
|
|
12629
12471
|
var TableActiveDot = styled.div.withConfig({
|
|
12630
12472
|
displayName: "TableActiveDot",
|
|
12631
12473
|
componentId: "sc-1phywr3-0"
|
|
12632
|
-
})(_templateObject$
|
|
12474
|
+
})(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteral(["\n width: 8px;\n height: 8px;\n background: ", ";\n border-radius: 50%;\n margin: auto;\n box-shadow: ", ";\n @media (max-width: 576px) {\n margin: 0;\n }\n"])), function (_ref) {
|
|
12633
12475
|
var actionActive = _ref.actionActive;
|
|
12634
12476
|
return actionActive ? "#12FFB8" : "#373749";
|
|
12635
12477
|
}, function (_ref2) {
|
|
@@ -12637,11 +12479,11 @@ var TableActiveDot = styled.div.withConfig({
|
|
|
12637
12479
|
return actionActive ? "0px 0px 14px 3px rgba(18, 255, 184, 0.17)" : "none";
|
|
12638
12480
|
});
|
|
12639
12481
|
|
|
12640
|
-
var _templateObject$
|
|
12482
|
+
var _templateObject$18, _templateObject2$H, _templateObject3$z, _templateObject4$r, _templateObject5$p;
|
|
12641
12483
|
var StyledRow = styled.div.withConfig({
|
|
12642
12484
|
displayName: "StyledRow",
|
|
12643
12485
|
componentId: "sc-qzdbwn-0"
|
|
12644
|
-
})(_templateObject$
|
|
12486
|
+
})(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteral(["\n position: relative;\n width: calc(100% - 60px);\n height: ", ";\n margin: ", " 30px 0 30px;\n padding: ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n border-radius: ", ";\n border: ", ";\n border-bottom: ", ";\n background: ", ";\n @media (max-width: 576px) {\n min-height: 59px;\n width: calc(100% - 16px);\n margin: ", " 8px 0 8px;\n }\n"])), function (_ref) {
|
|
12645
12487
|
var active = _ref.active;
|
|
12646
12488
|
return active ? "auto" : "77.5px";
|
|
12647
12489
|
}, function (_ref2) {
|
|
@@ -12670,19 +12512,19 @@ var StyledRow = styled.div.withConfig({
|
|
|
12670
12512
|
var StyledTableChildren = styled(GridLayout$1).withConfig({
|
|
12671
12513
|
displayName: "StyledTableChildren",
|
|
12672
12514
|
componentId: "sc-qzdbwn-1"
|
|
12673
|
-
})(_templateObject2$
|
|
12515
|
+
})(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteral(["\n width: 100%;\n height: 77.5px;\n align-items: center;\n justify-content: center;\n flex-direction: row;\n cursor: pointer;\n position: relative;\n"])));
|
|
12674
12516
|
var StyledTableDetails = styled(GridLayout$1).withConfig({
|
|
12675
12517
|
displayName: "StyledTableDetails",
|
|
12676
12518
|
componentId: "sc-qzdbwn-2"
|
|
12677
|
-
})(_templateObject3$
|
|
12519
|
+
})(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteral(["\n padding: 13px;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
12678
12520
|
var ToggleContainer = styled.div.withConfig({
|
|
12679
12521
|
displayName: "ToggleContainer",
|
|
12680
12522
|
componentId: "sc-qzdbwn-3"
|
|
12681
|
-
})(_templateObject4$
|
|
12523
|
+
})(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteral(["\n grid-column: span 1 / -1;\n cursor: pointer;\n margin-right: 19px;\n @media (max-width: 576px) {\n position: absolute;\n right: 0;\n margin-right: 10px;\n }\n"])));
|
|
12682
12524
|
var DotContainer = styled.div.withConfig({
|
|
12683
12525
|
displayName: "DotContainer",
|
|
12684
12526
|
componentId: "sc-qzdbwn-4"
|
|
12685
|
-
})(_templateObject5$
|
|
12527
|
+
})(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteral(["\n grid-column: span 1;\n @media (max-width: 576px) {\n margin-left: 10px;\n }\n"])));
|
|
12686
12528
|
var TableRow = function TableRow(_ref9) {
|
|
12687
12529
|
var children = _ref9.children,
|
|
12688
12530
|
details = _ref9.details,
|
|
@@ -12720,19 +12562,19 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12720
12562
|
});
|
|
12721
12563
|
};
|
|
12722
12564
|
|
|
12723
|
-
var _templateObject$
|
|
12565
|
+
var _templateObject$17, _templateObject2$G, _templateObject3$y;
|
|
12724
12566
|
var LiquidityWrapper = styled.div.withConfig({
|
|
12725
12567
|
displayName: "LiquidityWrapper",
|
|
12726
12568
|
componentId: "sc-wsy021-0"
|
|
12727
|
-
})(_templateObject$
|
|
12569
|
+
})(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteral(["\n padding-right: 4px;\n width: 100%;\n"])));
|
|
12728
12570
|
var DescriptionRow = styled.div.withConfig({
|
|
12729
12571
|
displayName: "DescriptionRow",
|
|
12730
12572
|
componentId: "sc-wsy021-1"
|
|
12731
|
-
})(_templateObject2$
|
|
12573
|
+
})(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
|
|
12732
12574
|
var Container$5 = styled.div.withConfig({
|
|
12733
12575
|
displayName: "Container",
|
|
12734
12576
|
componentId: "sc-wsy021-2"
|
|
12735
|
-
})(_templateObject3$
|
|
12577
|
+
})(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteral(["\n height: 100%;\n padding: 17px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: space-around;\n grid-column: span ", ";\n border: 1px solid rgba(255, 255, 255, 0.1);\n border-radius: 10px;\n svg {\n margin-left: 0;\n }\n"])), function (_ref) {
|
|
12736
12578
|
var grid = _ref.grid;
|
|
12737
12579
|
return grid;
|
|
12738
12580
|
});
|
|
@@ -12764,11 +12606,11 @@ var LiquidityContainer = function LiquidityContainer(_ref2) {
|
|
|
12764
12606
|
});
|
|
12765
12607
|
};
|
|
12766
12608
|
|
|
12767
|
-
var _templateObject$
|
|
12609
|
+
var _templateObject$16, _templateObject2$F, _templateObject3$x;
|
|
12768
12610
|
var Container$4 = styled.div.withConfig({
|
|
12769
12611
|
displayName: "Container",
|
|
12770
12612
|
componentId: "sc-1t71h7-0"
|
|
12771
|
-
})(_templateObject$
|
|
12613
|
+
})(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteral(["\n width: 100%;\n padding: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: space-around;\n grid-column: span ", ";\n border: ", ";\n border-radius: 10px;\n svg {\n margin-left: 0;\n }\n"])), function (_ref) {
|
|
12772
12614
|
var mobile = _ref.mobile;
|
|
12773
12615
|
return mobile ? "0px" : "17px";
|
|
12774
12616
|
}, function (_ref2) {
|
|
@@ -12781,14 +12623,14 @@ var Container$4 = styled.div.withConfig({
|
|
|
12781
12623
|
var TokenValueWrapper = styled.div.withConfig({
|
|
12782
12624
|
displayName: "TokenValueWrapper",
|
|
12783
12625
|
componentId: "sc-1t71h7-1"
|
|
12784
|
-
})(_templateObject2$
|
|
12626
|
+
})(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ", ";\n"])), function (_ref4) {
|
|
12785
12627
|
var mobile = _ref4.mobile;
|
|
12786
12628
|
return mobile ? "flex-start" : "space-between";
|
|
12787
12629
|
});
|
|
12788
12630
|
var ActionsWrapper = styled.div.withConfig({
|
|
12789
12631
|
displayName: "ActionsWrapper",
|
|
12790
12632
|
componentId: "sc-1t71h7-2"
|
|
12791
|
-
})(_templateObject3$
|
|
12633
|
+
})(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n margin-top: 4px;\n width: 100%;\n justify-content: space-between;\n"])));
|
|
12792
12634
|
var TableActionBox = function TableActionBox(_ref5) {
|
|
12793
12635
|
var title = _ref5.title,
|
|
12794
12636
|
value = _ref5.value,
|
|
@@ -12848,30 +12690,30 @@ var getNumberedDifference = function getNumberedDifference(differenceToConvert)
|
|
|
12848
12690
|
return 0;
|
|
12849
12691
|
};
|
|
12850
12692
|
|
|
12851
|
-
var _templateObject$
|
|
12693
|
+
var _templateObject$15, _templateObject2$E, _templateObject3$w, _templateObject4$q, _templateObject5$o;
|
|
12852
12694
|
var ValueBox = styled.div.withConfig({
|
|
12853
12695
|
displayName: "ValueBox",
|
|
12854
12696
|
componentId: "sc-2a5tiq-0"
|
|
12855
|
-
})(_templateObject$
|
|
12697
|
+
})(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteral(["\n background: transparent;\n color: white;\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: flex-start;\n max-width: 190px;\n"])));
|
|
12856
12698
|
var IconColumn = styled.div.withConfig({
|
|
12857
12699
|
displayName: "IconColumn",
|
|
12858
12700
|
componentId: "sc-2a5tiq-1"
|
|
12859
|
-
})(_templateObject2$
|
|
12701
|
+
})(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteral(["\n width: auto;\n padding-right: 10px;\n padding-top: 1px;\n"])));
|
|
12860
12702
|
var InfoColumn = styled.div.withConfig({
|
|
12861
12703
|
displayName: "InfoColumn",
|
|
12862
12704
|
componentId: "sc-2a5tiq-2"
|
|
12863
|
-
})(_templateObject3$
|
|
12705
|
+
})(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
12864
12706
|
var PairContainer = styled.div.withConfig({
|
|
12865
12707
|
displayName: "PairContainer",
|
|
12866
12708
|
componentId: "sc-2a5tiq-3"
|
|
12867
|
-
})(_templateObject4$
|
|
12709
|
+
})(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n margin-bottom: 5px;\n align-items: center;\n flex-direction: ", ";\n"])), function (_ref) {
|
|
12868
12710
|
var mobile = _ref.mobile;
|
|
12869
12711
|
return mobile ? "column" : "row";
|
|
12870
12712
|
});
|
|
12871
12713
|
var ValueRow = styled.div.withConfig({
|
|
12872
12714
|
displayName: "ValueRow",
|
|
12873
12715
|
componentId: "sc-2a5tiq-4"
|
|
12874
|
-
})(_templateObject5$
|
|
12716
|
+
})(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteral(["\n width: 100%;\n"])));
|
|
12875
12717
|
var Value = function Value(_ref2) {
|
|
12876
12718
|
var coin = _ref2.coin,
|
|
12877
12719
|
value = _ref2.value,
|
|
@@ -12925,15 +12767,15 @@ var Value = function Value(_ref2) {
|
|
|
12925
12767
|
});
|
|
12926
12768
|
};
|
|
12927
12769
|
|
|
12928
|
-
var _templateObject$
|
|
12770
|
+
var _templateObject$14, _templateObject2$D;
|
|
12929
12771
|
var ValueFullBox = styled.div.withConfig({
|
|
12930
12772
|
displayName: "ValueFullBox",
|
|
12931
12773
|
componentId: "sc-ig82wo-0"
|
|
12932
|
-
})(_templateObject$
|
|
12774
|
+
})(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteral(["\n background: transparent;\n color: white;\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: flex-start;\n width: 100%;\n"])));
|
|
12933
12775
|
var DifferenceBox = styled.div.withConfig({
|
|
12934
12776
|
displayName: "DifferenceBox",
|
|
12935
12777
|
componentId: "sc-ig82wo-1"
|
|
12936
|
-
})(_templateObject2$
|
|
12778
|
+
})(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n height: 24px;\n"])));
|
|
12937
12779
|
var ValueFull = function ValueFull(_ref) {
|
|
12938
12780
|
var value = _ref.value,
|
|
12939
12781
|
difference = _ref.difference;
|
|
@@ -12964,11 +12806,11 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12964
12806
|
});
|
|
12965
12807
|
};
|
|
12966
12808
|
|
|
12967
|
-
var _templateObject$
|
|
12809
|
+
var _templateObject$13;
|
|
12968
12810
|
var VContainer = styled.div.withConfig({
|
|
12969
12811
|
displayName: "VContainer",
|
|
12970
12812
|
componentId: "sc-o09b6h-0"
|
|
12971
|
-
})(_templateObject$
|
|
12813
|
+
})(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteral(["\n position: absolute;\n right: 20px;\n bottom: 20px;\n color: ", ";\n opacity: 0.6;\n font-size: 12px;\n"])), function (_ref) {
|
|
12972
12814
|
var theme = _ref.theme;
|
|
12973
12815
|
return theme.colors.secondaryText;
|
|
12974
12816
|
});
|
|
@@ -12979,23 +12821,23 @@ var VersionContainer = function VersionContainer(_ref2) {
|
|
|
12979
12821
|
});
|
|
12980
12822
|
};
|
|
12981
12823
|
|
|
12982
|
-
var _templateObject$
|
|
12824
|
+
var _templateObject$12, _templateObject2$C, _templateObject3$v, _templateObject4$p, _templateObject5$n, _templateObject6$h, _templateObject7$d;
|
|
12983
12825
|
var ProgressDataColumn = styled.div.withConfig({
|
|
12984
12826
|
displayName: "ProgressDataColumn",
|
|
12985
12827
|
componentId: "sc-ri8846-0"
|
|
12986
|
-
})(_templateObject$
|
|
12828
|
+
})(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n"])));
|
|
12987
12829
|
var ProgressDataRow = styled.div.withConfig({
|
|
12988
12830
|
displayName: "ProgressDataRow",
|
|
12989
12831
|
componentId: "sc-ri8846-1"
|
|
12990
|
-
})(_templateObject2$
|
|
12832
|
+
})(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
12991
12833
|
var ProgressBarWrapper = styled.div.withConfig({
|
|
12992
12834
|
displayName: "ProgressBarWrapper",
|
|
12993
12835
|
componentId: "sc-ri8846-2"
|
|
12994
|
-
})(_templateObject3$
|
|
12836
|
+
})(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 8px;\n background: #272730;\n display: flex;\n justify-content: flex-start;\n align-items: center;\n border-radius: 4px;\n box-sizing: border-box;\n"])));
|
|
12995
12837
|
var ProgressBar = styled.div.withConfig({
|
|
12996
12838
|
displayName: "ProgressBar",
|
|
12997
12839
|
componentId: "sc-ri8846-3"
|
|
12998
|
-
})(_templateObject4$
|
|
12840
|
+
})(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n background: ", ";\n border-radius: 4px;\n"])), function (_ref) {
|
|
12999
12841
|
var width = _ref.width;
|
|
13000
12842
|
return width;
|
|
13001
12843
|
}, function (_ref2) {
|
|
@@ -13005,7 +12847,7 @@ var ProgressBar = styled.div.withConfig({
|
|
|
13005
12847
|
var ProgressDescription = styled(Text).withConfig({
|
|
13006
12848
|
displayName: "ProgressDescription",
|
|
13007
12849
|
componentId: "sc-ri8846-4"
|
|
13008
|
-
})(_templateObject5$
|
|
12850
|
+
})(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 18px;\n line-height: 170%;\n color: ", ";\n margin-bottom: 8px;\n"])), function (_ref3) {
|
|
13009
12851
|
var theme = _ref3.theme,
|
|
13010
12852
|
color = _ref3.color;
|
|
13011
12853
|
return color || theme.colors.white;
|
|
@@ -13061,22 +12903,22 @@ var SpacePadProgressBar = function SpacePadProgressBar(_ref4) {
|
|
|
13061
12903
|
});
|
|
13062
12904
|
};
|
|
13063
12905
|
|
|
13064
|
-
var _templateObject$
|
|
12906
|
+
var _templateObject$11, _templateObject2$B, _templateObject3$u, _templateObject4$o, _templateObject5$m;
|
|
13065
12907
|
var MainWrapper$1 = styled.div.withConfig({
|
|
13066
12908
|
displayName: "MainWrapper",
|
|
13067
12909
|
componentId: "sc-1lzbjkk-0"
|
|
13068
|
-
})(_templateObject$
|
|
12910
|
+
})(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteral(["\n display: flex;\n height: 94px;\n justify-content: flex-start;\n align-items: center;\n flex-direction: row;\n"])));
|
|
13069
12911
|
var ProjectImage = styled.div.withConfig({
|
|
13070
12912
|
displayName: "ProjectImage",
|
|
13071
12913
|
componentId: "sc-1lzbjkk-1"
|
|
13072
|
-
})(_templateObject2$
|
|
12914
|
+
})(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteral(["\n display: flex;\n width: 46px;\n height: 46px;\n margin-right: 34px;\n border-radius: 50%;\n justify-content: center;\n align-items: center;\n ", " {\n margin-right: 12px;\n }\n"])), function (_ref) {
|
|
13073
12915
|
var theme = _ref.theme;
|
|
13074
12916
|
return theme.mediaQueries.mobile;
|
|
13075
12917
|
});
|
|
13076
12918
|
var ProjectName$1 = styled.div.withConfig({
|
|
13077
12919
|
displayName: "ProjectName",
|
|
13078
12920
|
componentId: "sc-1lzbjkk-2"
|
|
13079
|
-
})(_templateObject3$
|
|
12921
|
+
})(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteral(["\n display: flex;\n margin-right: 8px;\n justify-content: center;\n align-items: flex-end;\n font-size: 26px;\n font-weight: bold;\n color: ", ";\n ", " {\n margin-bottom: 6px;\n }\n"])), function (_ref2) {
|
|
13080
12922
|
var theme = _ref2.theme;
|
|
13081
12923
|
return theme.colors.white;
|
|
13082
12924
|
}, function (_ref3) {
|
|
@@ -13086,14 +12928,14 @@ var ProjectName$1 = styled.div.withConfig({
|
|
|
13086
12928
|
var ProjectFullName = styled.div.withConfig({
|
|
13087
12929
|
displayName: "ProjectFullName",
|
|
13088
12930
|
componentId: "sc-1lzbjkk-3"
|
|
13089
|
-
})(_templateObject4$
|
|
12931
|
+
})(_templateObject4$o || (_templateObject4$o = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n justify-content: center;\n color: ", ";\n letter-spacing: 0.03rem;\n font-size: 14px;\n"])), function (_ref4) {
|
|
13090
12932
|
var theme = _ref4.theme;
|
|
13091
12933
|
return theme.colors.white55;
|
|
13092
12934
|
});
|
|
13093
12935
|
var ProjectDetails = styled.div.withConfig({
|
|
13094
12936
|
displayName: "ProjectDetails",
|
|
13095
12937
|
componentId: "sc-1lzbjkk-4"
|
|
13096
|
-
})(_templateObject5$
|
|
12938
|
+
})(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n justify-content: flex-start;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n }\n"])), function (_ref5) {
|
|
13097
12939
|
var theme = _ref5.theme;
|
|
13098
12940
|
return theme.mediaQueries.mobile;
|
|
13099
12941
|
});
|
|
@@ -13467,17 +13309,17 @@ var connectors = [{
|
|
|
13467
13309
|
}];
|
|
13468
13310
|
var connectorLocalStorageKey = "connectorId";
|
|
13469
13311
|
|
|
13470
|
-
var _templateObject$
|
|
13312
|
+
var _templateObject$10;
|
|
13471
13313
|
var AccountNumber = styled(Text).withConfig({
|
|
13472
13314
|
displayName: "AccountNumber",
|
|
13473
13315
|
componentId: "sc-1jw25yf-0"
|
|
13474
|
-
})(_templateObject$
|
|
13316
|
+
})(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteral(["\n color: #818c92;\n line-height: 23.8px;\n"])));
|
|
13475
13317
|
|
|
13476
|
-
var _templateObject
|
|
13318
|
+
var _templateObject$$;
|
|
13477
13319
|
var AccountNumberWrapper = styled.div.withConfig({
|
|
13478
13320
|
displayName: "AccountNumberWrapper",
|
|
13479
13321
|
componentId: "sc-1bz6nuv-0"
|
|
13480
|
-
})(_templateObject
|
|
13322
|
+
})(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n justify-content: center;\n text-align: ", ";\n"])), function (_ref) {
|
|
13481
13323
|
var isVerifiedUser = _ref.isVerifiedUser;
|
|
13482
13324
|
return !isVerifiedUser ? "column" : "row";
|
|
13483
13325
|
}, function (_ref2) {
|
|
@@ -13485,99 +13327,99 @@ var AccountNumberWrapper = styled.div.withConfig({
|
|
|
13485
13327
|
return textAlign && textAlign;
|
|
13486
13328
|
});
|
|
13487
13329
|
|
|
13488
|
-
var _templateObject
|
|
13330
|
+
var _templateObject$_;
|
|
13489
13331
|
var Background = styled.div.withConfig({
|
|
13490
13332
|
displayName: "Background",
|
|
13491
13333
|
componentId: "sc-s9bf1w-0"
|
|
13492
|
-
})(_templateObject
|
|
13334
|
+
})(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteral(["\n position: absolute;\n width: 100vw;\n height: 100vh;\n background-color: black;\n opacity: 0.4;\n left: 0;\n top: 0;\n z-index: 11;\n"])));
|
|
13493
13335
|
|
|
13494
|
-
var _templateObject$
|
|
13336
|
+
var _templateObject$Z;
|
|
13495
13337
|
var BottomRow = styled.div.withConfig({
|
|
13496
13338
|
displayName: "BottomRow",
|
|
13497
13339
|
componentId: "sc-1elsl0s-0"
|
|
13498
|
-
})(_templateObject$
|
|
13340
|
+
})(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteral(["\n padding-top: 20px;\n"])));
|
|
13499
13341
|
|
|
13500
|
-
var _templateObject$
|
|
13342
|
+
var _templateObject$Y;
|
|
13501
13343
|
styled(Button$1).withConfig({
|
|
13502
13344
|
displayName: "ChangeProviderButton",
|
|
13503
13345
|
componentId: "sc-w1eu8g-0"
|
|
13504
|
-
})(_templateObject$
|
|
13346
|
+
})(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteral(["\n background: #383847;\n color: ", ";\n width: 85px;\n height: 32px;\n font-size: 14px;\n"])), function (_ref) {
|
|
13505
13347
|
var theme = _ref.theme;
|
|
13506
13348
|
return theme.colors.white;
|
|
13507
13349
|
});
|
|
13508
13350
|
|
|
13509
|
-
var _templateObject$
|
|
13351
|
+
var _templateObject$X;
|
|
13510
13352
|
var CloseButton = styled(Icon$2m).withConfig({
|
|
13511
13353
|
displayName: "CloseButton",
|
|
13512
13354
|
componentId: "sc-1afnq0v-0"
|
|
13513
|
-
})(_templateObject$
|
|
13355
|
+
})(_templateObject$X || (_templateObject$X = _taggedTemplateLiteral(["\n width: 24px;\n height: 24px;\n border-radius: 50%;\n cursor: pointer;\n background: #383847;\n position: absolute;\n left: -35px;\n top: 5px;\n"])));
|
|
13514
13356
|
|
|
13515
|
-
var _templateObject$
|
|
13357
|
+
var _templateObject$W;
|
|
13516
13358
|
var ConnectedInfoWrapper = styled.div.withConfig({
|
|
13517
13359
|
displayName: "ConnectedInfoWrapper",
|
|
13518
13360
|
componentId: "sc-lxc0i5-0"
|
|
13519
|
-
})(_templateObject$
|
|
13361
|
+
})(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n"])));
|
|
13520
13362
|
|
|
13521
|
-
var _templateObject$
|
|
13363
|
+
var _templateObject$V;
|
|
13522
13364
|
var ConnectedProvider = styled.div.withConfig({
|
|
13523
13365
|
displayName: "ConnectedProvider",
|
|
13524
13366
|
componentId: "sc-1satccs-0"
|
|
13525
|
-
})(_templateObject$
|
|
13367
|
+
})(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral(["\n height: 72px;\n width: 309px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n padding-left: 32px;\n border-radius: 10px;\n background: #272730;\n"])));
|
|
13526
13368
|
|
|
13527
|
-
var _templateObject$
|
|
13528
|
-
var fadeInAnimation = keyframes(_templateObject$
|
|
13369
|
+
var _templateObject$U, _templateObject2$A;
|
|
13370
|
+
var fadeInAnimation = keyframes(_templateObject$U || (_templateObject$U = _taggedTemplateLiteral(["\n 0% {\n right: -357px;\n }\n 100% {\n right: 0;\n }\n"])));
|
|
13529
13371
|
var ConnectWalletWrapper = styled.div.withConfig({
|
|
13530
13372
|
displayName: "ConnectWalletWrapper",
|
|
13531
13373
|
componentId: "sc-1oauz4x-0"
|
|
13532
|
-
})(_templateObject2$
|
|
13374
|
+
})(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 357px;\n height: 100vh;\n padding: 24px;\n background: #191921;\n position: fixed;\n top: 0%;\n right: 0;\n animation: ", " 0.4s;\n z-index: 20;\n"])), fadeInAnimation);
|
|
13533
13375
|
|
|
13534
|
-
var _templateObject$
|
|
13376
|
+
var _templateObject$T;
|
|
13535
13377
|
var LogoutButton = styled(Button$1).withConfig({
|
|
13536
13378
|
displayName: "LogoutButton",
|
|
13537
13379
|
componentId: "sc-ljmmm0-0"
|
|
13538
|
-
})(_templateObject$
|
|
13380
|
+
})(_templateObject$T || (_templateObject$T = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n background: #383847;\n color: ", ";\n width: 100%;\n font-weight: 700;\n font-size: 14px;\n"])), function (_ref) {
|
|
13539
13381
|
var theme = _ref.theme;
|
|
13540
13382
|
return theme.colors.white;
|
|
13541
13383
|
});
|
|
13542
13384
|
|
|
13543
|
-
var _templateObject$
|
|
13385
|
+
var _templateObject$S;
|
|
13544
13386
|
var MiddleRow = styled.div.withConfig({
|
|
13545
13387
|
displayName: "MiddleRow",
|
|
13546
13388
|
componentId: "sc-deagnw-0"
|
|
13547
|
-
})(_templateObject$
|
|
13389
|
+
})(_templateObject$S || (_templateObject$S = _taggedTemplateLiteral(["\n padding: 20px 0;\n border-bottom: 1px solid #252530;\n"])));
|
|
13548
13390
|
|
|
13549
|
-
var _templateObject$
|
|
13391
|
+
var _templateObject$R;
|
|
13550
13392
|
var MyWallet = styled(Text).withConfig({
|
|
13551
13393
|
displayName: "MyWallet",
|
|
13552
13394
|
componentId: "sc-17gxhjg-0"
|
|
13553
|
-
})(_templateObject$
|
|
13395
|
+
})(_templateObject$R || (_templateObject$R = _taggedTemplateLiteral(["\n line-height: 28px;\n margin-left: 18px;\n"])));
|
|
13554
13396
|
|
|
13555
|
-
var _templateObject$
|
|
13397
|
+
var _templateObject$Q;
|
|
13556
13398
|
var MyWalletWrapper = styled.div.withConfig({
|
|
13557
13399
|
displayName: "MyWalletWrapper",
|
|
13558
13400
|
componentId: "sc-126mq9l-0"
|
|
13559
|
-
})(_templateObject$
|
|
13401
|
+
})(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
13560
13402
|
|
|
13561
|
-
var _templateObject$
|
|
13403
|
+
var _templateObject$P;
|
|
13562
13404
|
var ProviderTitle = styled(Text).withConfig({
|
|
13563
13405
|
displayName: "ProviderTitle",
|
|
13564
13406
|
componentId: "sc-cz48yj-0"
|
|
13565
|
-
})(_templateObject$
|
|
13407
|
+
})(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral(["\n font-weight: 600;\n line-height: 24px;\n margin-left: 16px;\n"])));
|
|
13566
13408
|
|
|
13567
|
-
var _templateObject$
|
|
13409
|
+
var _templateObject$O;
|
|
13568
13410
|
var SettingsButton = styled(Button$1).withConfig({
|
|
13569
13411
|
displayName: "SettingsButton",
|
|
13570
13412
|
componentId: "sc-zhm3ih-0"
|
|
13571
|
-
})(_templateObject$
|
|
13413
|
+
})(_templateObject$O || (_templateObject$O = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n background: #383847;\n color: ", ";\n width: 100%;\n font-weight: 700;\n font-size: 14px;\n margin-bottom: 16px;\n"])), function (_ref) {
|
|
13572
13414
|
var theme = _ref.theme;
|
|
13573
13415
|
return theme.colors.white;
|
|
13574
13416
|
});
|
|
13575
13417
|
|
|
13576
|
-
var _templateObject$
|
|
13418
|
+
var _templateObject$N;
|
|
13577
13419
|
var UpperRow = styled.div.withConfig({
|
|
13578
13420
|
displayName: "UpperRow",
|
|
13579
13421
|
componentId: "sc-zlngw8-0"
|
|
13580
|
-
})(_templateObject$
|
|
13422
|
+
})(_templateObject$N || (_templateObject$N = _taggedTemplateLiteral(["\n width: 100%;\n height: 54px;\n display: flex;\n align-items: ", ";\n justify-content: ", ";\n border-bottom: 1px solid #252530;\n position: relative;\n padding-bottom: 20px;\n"])), function (_ref) {
|
|
13581
13423
|
var alignItems = _ref.alignItems;
|
|
13582
13424
|
return alignItems && alignItems;
|
|
13583
13425
|
}, function (_ref2) {
|
|
@@ -13585,29 +13427,29 @@ var UpperRow = styled.div.withConfig({
|
|
|
13585
13427
|
return justifyContent && justifyContent;
|
|
13586
13428
|
});
|
|
13587
13429
|
|
|
13588
|
-
var _templateObject$
|
|
13430
|
+
var _templateObject$M;
|
|
13589
13431
|
var VerificationInfo = styled.div.withConfig({
|
|
13590
13432
|
displayName: "VerificationInfo",
|
|
13591
13433
|
componentId: "sc-1jviz6b-0"
|
|
13592
|
-
})(_templateObject$
|
|
13434
|
+
})(_templateObject$M || (_templateObject$M = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: ", ";\n"])), function (_ref) {
|
|
13593
13435
|
var marginTop = _ref.marginTop;
|
|
13594
13436
|
return marginTop && marginTop;
|
|
13595
13437
|
});
|
|
13596
13438
|
|
|
13597
|
-
var _templateObject$
|
|
13598
|
-
var VerifiedWalletIcon = styled(Icon$28).withConfig({
|
|
13439
|
+
var _templateObject$L;
|
|
13440
|
+
var VerifiedWalletIcon$1 = styled(Icon$28).withConfig({
|
|
13599
13441
|
displayName: "VerifiedWalletIcon",
|
|
13600
13442
|
componentId: "sc-1l4uhr0-0"
|
|
13601
|
-
})(_templateObject$
|
|
13443
|
+
})(_templateObject$L || (_templateObject$L = _taggedTemplateLiteral(["\n fill: ", ";\n margin-right: 8px;\n"])), function (_ref) {
|
|
13602
13444
|
var theme = _ref.theme;
|
|
13603
13445
|
return theme.colors.vividBlue;
|
|
13604
13446
|
});
|
|
13605
13447
|
|
|
13606
|
-
var _templateObject$
|
|
13448
|
+
var _templateObject$K;
|
|
13607
13449
|
var Provider = styled.div.withConfig({
|
|
13608
13450
|
displayName: "Provider",
|
|
13609
13451
|
componentId: "sc-ipxejr-0"
|
|
13610
|
-
})(_templateObject$
|
|
13452
|
+
})(_templateObject$K || (_templateObject$K = _taggedTemplateLiteral(["\n height: 72px;\n width: 309px;\n display: flex;\n align-items: center;\n padding-left: 32px;\n border-radius: 10px;\n background: ", ";\n margin-bottom: ", ";\n border: 1px solid transparent;\n\n &:hover {\n border: ", ";\n cursor: pointer;\n }\n"])), function (_ref) {
|
|
13611
13453
|
var theme = _ref.theme;
|
|
13612
13454
|
return theme.backgrounds.secondary;
|
|
13613
13455
|
}, function (_ref2) {
|
|
@@ -13662,11 +13504,11 @@ var Icon$F = function Icon(props) {
|
|
|
13662
13504
|
}));
|
|
13663
13505
|
};
|
|
13664
13506
|
|
|
13665
|
-
var _templateObject$
|
|
13507
|
+
var _templateObject$J;
|
|
13666
13508
|
var ConnectDescription = styled(Text).withConfig({
|
|
13667
13509
|
displayName: "ConnectDescription",
|
|
13668
13510
|
componentId: "sc-mzj27o-0"
|
|
13669
|
-
})(_templateObject$
|
|
13511
|
+
})(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral(["\n line-height: 24px;\n font-weight: 400;\n color: #818c92;\n margin: 16px 0;\n"])));
|
|
13670
13512
|
var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
13671
13513
|
var handleLogin = _ref.handleLogin,
|
|
13672
13514
|
setIsConnectWalletPanelOpen = _ref.setIsConnectWalletPanelOpen,
|
|
@@ -13712,22 +13554,22 @@ var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
|
13712
13554
|
});
|
|
13713
13555
|
};
|
|
13714
13556
|
|
|
13715
|
-
var _templateObject$
|
|
13557
|
+
var _templateObject$I, _templateObject2$z, _templateObject3$t;
|
|
13716
13558
|
var VerifyAddressIndicator$1 = styled(Text).withConfig({
|
|
13717
13559
|
displayName: "VerifyAddressIndicator",
|
|
13718
13560
|
componentId: "sc-ooxgfj-0"
|
|
13719
|
-
})(_templateObject$
|
|
13561
|
+
})(_templateObject$I || (_templateObject$I = _taggedTemplateLiteral(["\n color: ", ";\n line-height: 20.4px;\n"])), function (_ref) {
|
|
13720
13562
|
var theme = _ref.theme;
|
|
13721
13563
|
return theme.colors.red;
|
|
13722
13564
|
});
|
|
13723
13565
|
var ConnectedInfo = styled(Text).withConfig({
|
|
13724
13566
|
displayName: "ConnectedInfo",
|
|
13725
13567
|
componentId: "sc-ooxgfj-1"
|
|
13726
|
-
})(_templateObject2$
|
|
13568
|
+
})(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteral(["\n color: #818c92;\n"])));
|
|
13727
13569
|
var VerifyButton = styled(Button$1).withConfig({
|
|
13728
13570
|
displayName: "VerifyButton",
|
|
13729
13571
|
componentId: "sc-ooxgfj-2"
|
|
13730
|
-
})(_templateObject3$
|
|
13572
|
+
})(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteral(["\n font-size: 14px;\n width: 100%;\n margin: 24px 0;\n"])));
|
|
13731
13573
|
var ConnectWallet = function ConnectWallet(_ref2) {
|
|
13732
13574
|
var account = _ref2.account,
|
|
13733
13575
|
setIsConnectWalletPanelOpen = _ref2.setIsConnectWalletPanelOpen;
|
|
@@ -13763,7 +13605,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13763
13605
|
}), /*#__PURE__*/jsxs(AccountNumberWrapper, {
|
|
13764
13606
|
isUserVerified: isUserVerified,
|
|
13765
13607
|
textAlign: "right",
|
|
13766
|
-
children: [isUserVerified && /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13608
|
+
children: [isUserVerified && /*#__PURE__*/jsx(VerifiedWalletIcon$1, {
|
|
13767
13609
|
$opac: true
|
|
13768
13610
|
}), /*#__PURE__*/jsx(AccountNumber, {
|
|
13769
13611
|
bold: true,
|
|
@@ -13778,7 +13620,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13778
13620
|
}), /*#__PURE__*/jsxs(MiddleRow, {
|
|
13779
13621
|
children: [isUserVerified && /*#__PURE__*/jsxs(VerificationInfo, {
|
|
13780
13622
|
marginTop: "20px",
|
|
13781
|
-
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13623
|
+
children: [/*#__PURE__*/jsx(VerifiedWalletIcon$1, {
|
|
13782
13624
|
$opac: true
|
|
13783
13625
|
}), /*#__PURE__*/jsx(Text, {
|
|
13784
13626
|
color: "#818C92",
|
|
@@ -13874,7 +13716,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13874
13716
|
})]
|
|
13875
13717
|
}), /*#__PURE__*/jsxs(AccountNumberWrapper, {
|
|
13876
13718
|
isVerifiedUser: true,
|
|
13877
|
-
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13719
|
+
children: [/*#__PURE__*/jsx(VerifiedWalletIcon$1, {
|
|
13878
13720
|
$opac: true
|
|
13879
13721
|
}), /*#__PURE__*/jsx(AccountNumber, {
|
|
13880
13722
|
bold: true,
|
|
@@ -13884,7 +13726,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13884
13726
|
})]
|
|
13885
13727
|
}), /*#__PURE__*/jsxs(MiddleRow, {
|
|
13886
13728
|
children: [/*#__PURE__*/jsxs(VerificationInfo, {
|
|
13887
|
-
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13729
|
+
children: [/*#__PURE__*/jsx(VerifiedWalletIcon$1, {
|
|
13888
13730
|
$opac: true
|
|
13889
13731
|
}), /*#__PURE__*/jsx(Text, {
|
|
13890
13732
|
color: "#818C92",
|
|
@@ -14161,11 +14003,11 @@ var getTimeValue = function getTimeValue(value, timeUnit) {
|
|
|
14161
14003
|
return "".concat(value).concat(timeUnit);
|
|
14162
14004
|
};
|
|
14163
14005
|
|
|
14164
|
-
var _templateObject$
|
|
14006
|
+
var _templateObject$H, _templateObject2$y, _templateObject3$s, _templateObject4$n, _templateObject5$l, _templateObject6$g, _templateObject7$c, _templateObject8$9, _templateObject9$8, _templateObject0$6, _templateObject1$6, _templateObject10$5, _templateObject11$5, _templateObject12$4, _templateObject13$2;
|
|
14165
14007
|
var ActiveDot$1 = styled.div.withConfig({
|
|
14166
14008
|
displayName: "ActiveDot",
|
|
14167
14009
|
componentId: "sc-1kin2xe-0"
|
|
14168
|
-
})(_templateObject$
|
|
14010
|
+
})(_templateObject$H || (_templateObject$H = _taggedTemplateLiteral(["\n height: 8px;\n width: 8px;\n border-radius: 50%;\n background: ", ";\n margin-right: 8px;\n ", "\n"])), function (_ref) {
|
|
14169
14011
|
var dotColor = _ref.dotColor;
|
|
14170
14012
|
return dotColor;
|
|
14171
14013
|
}, function (_ref2) {
|
|
@@ -14175,19 +14017,19 @@ var ActiveDot$1 = styled.div.withConfig({
|
|
|
14175
14017
|
var ActivityDescription = styled(Text).withConfig({
|
|
14176
14018
|
displayName: "ActivityDescription",
|
|
14177
14019
|
componentId: "sc-1kin2xe-1"
|
|
14178
|
-
})(_templateObject2$
|
|
14020
|
+
})(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n width: max-content;\n"])));
|
|
14179
14021
|
var ActivityWrapper = styled.div.withConfig({
|
|
14180
14022
|
displayName: "ActivityWrapper",
|
|
14181
14023
|
componentId: "sc-1kin2xe-2"
|
|
14182
|
-
})(_templateObject3$
|
|
14024
|
+
})(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n right: 15px;\n top: 15px;\n"])));
|
|
14183
14025
|
var ActivityComponent = styled.div.withConfig({
|
|
14184
14026
|
displayName: "ActivityComponent",
|
|
14185
14027
|
componentId: "sc-1kin2xe-3"
|
|
14186
|
-
})(_templateObject4$
|
|
14028
|
+
})(_templateObject4$n || (_templateObject4$n = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 4px 8px;\n width: max-content;\n height: 28px;\n background: rgba(55, 55, 73, 0.5);\n backdrop-filter: blur(53px);\n border-radius: 10px;\n margin-left: 8px;\n"])));
|
|
14187
14029
|
var ProjectNameColumn = styled.div.withConfig({
|
|
14188
14030
|
displayName: "ProjectNameColumn",
|
|
14189
14031
|
componentId: "sc-1kin2xe-4"
|
|
14190
|
-
})(_templateObject5$
|
|
14032
|
+
})(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n"])));
|
|
14191
14033
|
var ProjectName = styled(Text).withConfig({
|
|
14192
14034
|
displayName: "ProjectName",
|
|
14193
14035
|
componentId: "sc-1kin2xe-5"
|
|
@@ -14365,36 +14207,36 @@ var getPreciseRatio = function getPreciseRatio(ratio) {
|
|
|
14365
14207
|
return ratio.toString();
|
|
14366
14208
|
};
|
|
14367
14209
|
|
|
14368
|
-
var _templateObject$
|
|
14210
|
+
var _templateObject$G, _templateObject2$x, _templateObject3$r, _templateObject4$m, _templateObject5$k, _templateObject6$f, _templateObject7$b, _templateObject8$8, _templateObject9$7, _templateObject0$5, _templateObject1$5;
|
|
14369
14211
|
var SpacePadProjectDetailsWrapper = styled.div.withConfig({
|
|
14370
14212
|
displayName: "SpacePadProjectDetailsWrapper",
|
|
14371
14213
|
componentId: "sc-18f4woi-0"
|
|
14372
|
-
})(_templateObject$
|
|
14214
|
+
})(_templateObject$G || (_templateObject$G = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
14373
14215
|
var StyledDetailsHeader = styled.div.withConfig({
|
|
14374
14216
|
displayName: "StyledDetailsHeader",
|
|
14375
14217
|
componentId: "sc-18f4woi-1"
|
|
14376
|
-
})(_templateObject2$
|
|
14218
|
+
})(_templateObject2$x || (_templateObject2$x = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n margin-bottom: 32px;\n ", " {\n flex-direction: column-reverse;\n align-items: flex-start;\n justify-content: space-between;\n margin-bottom: 16px;\n }\n"])), function (_ref) {
|
|
14377
14219
|
var theme = _ref.theme;
|
|
14378
14220
|
return theme.mediaQueries.mobile;
|
|
14379
14221
|
});
|
|
14380
14222
|
var StyledDetails = styled.div.withConfig({
|
|
14381
14223
|
displayName: "StyledDetails",
|
|
14382
14224
|
componentId: "sc-18f4woi-2"
|
|
14383
|
-
})(_templateObject3$
|
|
14225
|
+
})(_templateObject3$r || (_templateObject3$r = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-gap: 32px;\n height: max-content;\n ", " {\n display: flex;\n flex-direction: column;\n }\n"])), function (_ref2) {
|
|
14384
14226
|
var theme = _ref2.theme;
|
|
14385
14227
|
return theme.mediaQueries.mobile;
|
|
14386
14228
|
});
|
|
14387
14229
|
var ProjectLogo$1 = styled.div.withConfig({
|
|
14388
14230
|
displayName: "ProjectLogo",
|
|
14389
14231
|
componentId: "sc-18f4woi-3"
|
|
14390
|
-
})(_templateObject4$
|
|
14232
|
+
})(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n border-radius: 50%;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n border: 3px solid #373749;\n overflow: hidden;\n margin-right: 16px;\n"])), function (_ref3) {
|
|
14391
14233
|
var background = _ref3.background;
|
|
14392
14234
|
return background;
|
|
14393
14235
|
});
|
|
14394
14236
|
var TimerWrapper = styled.div.withConfig({
|
|
14395
14237
|
displayName: "TimerWrapper",
|
|
14396
14238
|
componentId: "sc-18f4woi-4"
|
|
14397
|
-
})(_templateObject5$
|
|
14239
|
+
})(_templateObject5$k || (_templateObject5$k = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n margin-bottom: 44px;\n }\n"])), function (_ref4) {
|
|
14398
14240
|
var theme = _ref4.theme;
|
|
14399
14241
|
return theme.mediaQueries.mobile;
|
|
14400
14242
|
});
|
|
@@ -14550,11 +14392,11 @@ var SpacePadProjectDetails = function SpacePadProjectDetails(props) {
|
|
|
14550
14392
|
});
|
|
14551
14393
|
};
|
|
14552
14394
|
|
|
14553
|
-
var _templateObject$
|
|
14395
|
+
var _templateObject$F, _templateObject2$w, _templateObject3$q, _templateObject4$l, _templateObject5$j, _templateObject6$e, _templateObject7$a, _templateObject8$7, _templateObject9$6;
|
|
14554
14396
|
var WalletWrapper = styled.div.withConfig({
|
|
14555
14397
|
displayName: "WalletWrapper",
|
|
14556
14398
|
componentId: "sc-1uosrv7-0"
|
|
14557
|
-
})(_templateObject$
|
|
14399
|
+
})(_templateObject$F || (_templateObject$F = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n height: 129px;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n justify-content: space-around;\n flex-direction: column;\n padding: 12px 16px 34px 16px;\n"])), function (_ref) {
|
|
14558
14400
|
var theme = _ref.theme;
|
|
14559
14401
|
return theme.backgrounds.secondary;
|
|
14560
14402
|
}, function (_ref2) {
|
|
@@ -14564,11 +14406,11 @@ var WalletWrapper = styled.div.withConfig({
|
|
|
14564
14406
|
styled.div.withConfig({
|
|
14565
14407
|
displayName: "WalletValueBar",
|
|
14566
14408
|
componentId: "sc-1uosrv7-1"
|
|
14567
|
-
})(_templateObject2$
|
|
14409
|
+
})(_templateObject2$w || (_templateObject2$w = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n height: 100%;\n justify-content: space-between;\n align-items: flex-start;\n flex-direction: column;\n flex: 2;\n"])));
|
|
14568
14410
|
styled.div.withConfig({
|
|
14569
14411
|
displayName: "ProgressBarWrapper",
|
|
14570
14412
|
componentId: "sc-1uosrv7-2"
|
|
14571
|
-
})(_templateObject3$
|
|
14413
|
+
})(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 30px;\n background: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n border-radius: 7px;\n border: 1px solid ", ";\n box-sizing: border-box;\n padding: 3px;\n"])), function (_ref3) {
|
|
14572
14414
|
var theme = _ref3.theme;
|
|
14573
14415
|
return theme.colors.dark;
|
|
14574
14416
|
}, function (_ref4) {
|
|
@@ -14578,7 +14420,7 @@ styled.div.withConfig({
|
|
|
14578
14420
|
styled.div.withConfig({
|
|
14579
14421
|
displayName: "ProgressBar",
|
|
14580
14422
|
componentId: "sc-1uosrv7-3"
|
|
14581
|
-
})(_templateObject4$
|
|
14423
|
+
})(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n font-size: 14px;\n background: ", ";\n border-radius: 7px;\n"])), function (_ref5) {
|
|
14582
14424
|
var width = _ref5.width;
|
|
14583
14425
|
return width;
|
|
14584
14426
|
}, function (_ref6) {
|
|
@@ -14588,7 +14430,7 @@ styled.div.withConfig({
|
|
|
14588
14430
|
styled.div.withConfig({
|
|
14589
14431
|
displayName: "ProcentValue",
|
|
14590
14432
|
componentId: "sc-1uosrv7-4"
|
|
14591
|
-
})(_templateObject5$
|
|
14433
|
+
})(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteral(["\n position: absolute;\n color: ", ";\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n font-weight: bold;\n display: inline-block;\n width: 100%;\n text-align: center;\n"])), function (_ref7) {
|
|
14592
14434
|
var theme = _ref7.theme;
|
|
14593
14435
|
return theme.colors.white;
|
|
14594
14436
|
});
|
|
@@ -14648,11 +14490,11 @@ var WalletCap = function WalletCap(_ref1) {
|
|
|
14648
14490
|
});
|
|
14649
14491
|
};
|
|
14650
14492
|
|
|
14651
|
-
var _templateObject$
|
|
14493
|
+
var _templateObject$E, _templateObject2$v, _templateObject3$p;
|
|
14652
14494
|
var TooltipContent = styled.div.withConfig({
|
|
14653
14495
|
displayName: "TooltipContent",
|
|
14654
14496
|
componentId: "sc-isj8qi-0"
|
|
14655
|
-
})(_templateObject$
|
|
14497
|
+
})(_templateObject$E || (_templateObject$E = _taggedTemplateLiteral(["\n background: ", ";\n padding: 16px;\n border-radius: 10px;\n border: 1px solid ", ";\n box-shadow: 0px 13px 20px rgba(0, 0, 0, 0.25);\n color: ", ";\n width: max-content;\n min-width: 200px;\n display: none;\n max-height: 500px;\n z-index: 9999999;\n position: absolute;\n bottom: calc(100% + 16px);\n transform: translate(34px, 0);\n right: ", "px;\n font-size: ", "px;\n\n ", "\n"])), function (_ref) {
|
|
14656
14498
|
var theme = _ref.theme;
|
|
14657
14499
|
return theme.colors.card;
|
|
14658
14500
|
}, function (_ref2) {
|
|
@@ -14667,7 +14509,7 @@ var TooltipContent = styled.div.withConfig({
|
|
|
14667
14509
|
}, function (props) {
|
|
14668
14510
|
return props.small ? 12 : "";
|
|
14669
14511
|
}, function (props) {
|
|
14670
|
-
return !props.removeAfter && css(_templateObject2$
|
|
14512
|
+
return !props.removeAfter && css(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral(["\n &:after {\n content: \"\";\n display: block;\n width: 0;\n height: 0;\n border-left: 10px solid transparent;\n border-right: 10px solid transparent;\n border-top: 10px solid ", ";\n bottom: ", "px;\n position: absolute;\n transform: translate(-34px, 9px);\n right: 0;\n }\n "])), function (_ref5) {
|
|
14671
14513
|
var theme = _ref5.theme;
|
|
14672
14514
|
return theme.tooltip.background;
|
|
14673
14515
|
}, props.bottom || 0);
|
|
@@ -14675,7 +14517,7 @@ var TooltipContent = styled.div.withConfig({
|
|
|
14675
14517
|
var Container$3 = styled.div.withConfig({
|
|
14676
14518
|
displayName: "Container",
|
|
14677
14519
|
componentId: "sc-isj8qi-1"
|
|
14678
|
-
})(_templateObject3$
|
|
14520
|
+
})(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteral(["\n position: relative;\n z-index: 99999999999;\n\n &:hover ", ", &:focus-within ", " {\n display: block;\n }\n"])), TooltipContent, TooltipContent);
|
|
14679
14521
|
var Tooltip = function Tooltip(_ref6) {
|
|
14680
14522
|
var content = _ref6.content,
|
|
14681
14523
|
children = _ref6.children,
|
|
@@ -14700,11 +14542,11 @@ var Tooltip = function Tooltip(_ref6) {
|
|
|
14700
14542
|
});
|
|
14701
14543
|
};
|
|
14702
14544
|
|
|
14703
|
-
var _templateObject$
|
|
14545
|
+
var _templateObject$D, _templateObject2$u, _templateObject3$o, _templateObject4$k, _templateObject5$i, _templateObject6$d, _templateObject7$9, _templateObject8$6, _templateObject9$5;
|
|
14704
14546
|
var CSSPowerWrapper = styled.div.withConfig({
|
|
14705
14547
|
displayName: "CSSPowerWrapper",
|
|
14706
14548
|
componentId: "sc-12ic40m-0"
|
|
14707
|
-
})(_templateObject$
|
|
14549
|
+
})(_templateObject$D || (_templateObject$D = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n background: #252530;\n border: 1px solid ", ";\n padding: 16px 24px;\n border-radius: 10px;\n ", " {\n width: 100%;\n align-items: center;\n margin-top: 24px;\n }\n"])), function (_ref) {
|
|
14708
14550
|
var theme = _ref.theme;
|
|
14709
14551
|
return theme.colors.white3;
|
|
14710
14552
|
}, function (_ref2) {
|
|
@@ -14714,25 +14556,25 @@ var CSSPowerWrapper = styled.div.withConfig({
|
|
|
14714
14556
|
var PowerWrapper = styled.div.withConfig({
|
|
14715
14557
|
displayName: "PowerWrapper",
|
|
14716
14558
|
componentId: "sc-12ic40m-1"
|
|
14717
|
-
})(_templateObject2$
|
|
14559
|
+
})(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: space-between;\n margin-left: 30px;\n"])));
|
|
14718
14560
|
var CSSPowerText = styled(Text).withConfig({
|
|
14719
14561
|
displayName: "CSSPowerText",
|
|
14720
14562
|
componentId: "sc-12ic40m-2"
|
|
14721
|
-
})(_templateObject3$
|
|
14563
|
+
})(_templateObject3$o || (_templateObject3$o = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n color: ", ";\n width: max-content;\n"])), function (_ref3) {
|
|
14722
14564
|
var theme = _ref3.theme;
|
|
14723
14565
|
return theme.colors.white55;
|
|
14724
14566
|
});
|
|
14725
14567
|
var CSSPowerValue = styled(Text).withConfig({
|
|
14726
14568
|
displayName: "CSSPowerValue",
|
|
14727
14569
|
componentId: "sc-12ic40m-3"
|
|
14728
|
-
})(_templateObject4$
|
|
14570
|
+
})(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 36px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref4) {
|
|
14729
14571
|
var theme = _ref4.theme;
|
|
14730
14572
|
return theme.colors.white;
|
|
14731
14573
|
});
|
|
14732
14574
|
var StyledInfoIcon = styled(Icon$2E).withConfig({
|
|
14733
14575
|
displayName: "StyledInfoIcon",
|
|
14734
14576
|
componentId: "sc-12ic40m-4"
|
|
14735
|
-
})(_templateObject5$
|
|
14577
|
+
})(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteral(["\n margin-left: 5px;\n height: 18px;\n cursor: pointer;\n"])));
|
|
14736
14578
|
var PowerDescriptionWrapper = styled.div.withConfig({
|
|
14737
14579
|
displayName: "PowerDescriptionWrapper",
|
|
14738
14580
|
componentId: "sc-12ic40m-5"
|
|
@@ -14804,11 +14646,11 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14804
14646
|
};
|
|
14805
14647
|
|
|
14806
14648
|
var _excluded$4 = ["value", "onUserInput", "placeholder", "type"];
|
|
14807
|
-
var _templateObject$
|
|
14649
|
+
var _templateObject$C;
|
|
14808
14650
|
var StyledInput = styled.input.withConfig({
|
|
14809
14651
|
displayName: "StyledInput",
|
|
14810
14652
|
componentId: "sc-mu1fop-0"
|
|
14811
|
-
})(_templateObject$
|
|
14653
|
+
})(_templateObject$C || (_templateObject$C = _taggedTemplateLiteral(["\n color: ", ";\n width: 0;\n position: relative;\n font-weight: 700;\n outline: none;\n border: none;\n flex: 1 1 auto;\n background-color: transparent;\n background: transparent;\n font-size: 24px;\n text-align: ", ";\n white-space: nowrap;\n line-height: 33px;\n overflow: hidden;\n text-overflow: ellipsis;\n padding: 0px;\n -webkit-appearance: textfield;\n\n ::-webkit-search-decoration {\n -webkit-appearance: none;\n }\n\n [type=\"number\"] {\n -moz-appearance: textfield;\n }\n\n ::-webkit-outer-spin-button,\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n }\n\n ::placeholder {\n color: ", ";\n }\n"])), function (_ref) {
|
|
14812
14654
|
var error = _ref.error,
|
|
14813
14655
|
theme = _ref.theme;
|
|
14814
14656
|
return error ? theme.colors.failure : theme.colors.text;
|
|
@@ -14854,11 +14696,11 @@ var NumericalInput = /*#__PURE__*/React__default.memo(function InnerInput(_ref4)
|
|
|
14854
14696
|
}));
|
|
14855
14697
|
});
|
|
14856
14698
|
|
|
14857
|
-
var _templateObject$
|
|
14699
|
+
var _templateObject$B, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$h, _templateObject6$c, _templateObject7$8, _templateObject8$5, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$4, _templateObject12$3;
|
|
14858
14700
|
var SpacePadDatesWrapper = styled.div.withConfig({
|
|
14859
14701
|
displayName: "SpacePadDatesWrapper",
|
|
14860
14702
|
componentId: "sc-wmdxzq-0"
|
|
14861
|
-
})(_templateObject$
|
|
14703
|
+
})(_templateObject$B || (_templateObject$B = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n padding: 16px 24px;\n align-items: center;\n justify-content: space-between;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n }\n"])), function (_ref) {
|
|
14862
14704
|
var theme = _ref.theme;
|
|
14863
14705
|
return theme.backgrounds.secondary;
|
|
14864
14706
|
}, function (_ref2) {
|
|
@@ -14871,7 +14713,7 @@ var SpacePadDatesWrapper = styled.div.withConfig({
|
|
|
14871
14713
|
var ActiveDot = styled.div.withConfig({
|
|
14872
14714
|
displayName: "ActiveDot",
|
|
14873
14715
|
componentId: "sc-wmdxzq-1"
|
|
14874
|
-
})(_templateObject2$
|
|
14716
|
+
})(_templateObject2$t || (_templateObject2$t = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: ", ";\n margin-right: ", "px;\n ", "\n"])), function (_ref4) {
|
|
14875
14717
|
var color = _ref4.color;
|
|
14876
14718
|
return color;
|
|
14877
14719
|
}, function (_ref5) {
|
|
@@ -14884,18 +14726,18 @@ var ActiveDot = styled.div.withConfig({
|
|
|
14884
14726
|
var TimeWrapper = styled.div.withConfig({
|
|
14885
14727
|
displayName: "TimeWrapper",
|
|
14886
14728
|
componentId: "sc-wmdxzq-2"
|
|
14887
|
-
})(_templateObject3$
|
|
14729
|
+
})(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n margin-bottom: 21px;\n }\n"])), function (_ref7) {
|
|
14888
14730
|
var theme = _ref7.theme;
|
|
14889
14731
|
return theme.mediaQueries.mobile;
|
|
14890
14732
|
});
|
|
14891
14733
|
var EndTimeWrapper = styled.div.withConfig({
|
|
14892
14734
|
displayName: "EndTimeWrapper",
|
|
14893
14735
|
componentId: "sc-wmdxzq-3"
|
|
14894
|
-
})(_templateObject4$
|
|
14736
|
+
})(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n height: 41px;\n"])));
|
|
14895
14737
|
var TimeNumber = styled(Text).withConfig({
|
|
14896
14738
|
displayName: "TimeNumber",
|
|
14897
14739
|
componentId: "sc-wmdxzq-4"
|
|
14898
|
-
})(_templateObject5$
|
|
14740
|
+
})(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 20px;\n margin: 0px;\n padding: 0px;\n height: 100%;\n line-height: 100%;\n"])));
|
|
14899
14741
|
var PeriodText = styled(Text).withConfig({
|
|
14900
14742
|
displayName: "PeriodText",
|
|
14901
14743
|
componentId: "sc-wmdxzq-5"
|
|
@@ -15095,22 +14937,22 @@ var SpacePadDates = function SpacePadDates(_ref14) {
|
|
|
15095
14937
|
});
|
|
15096
14938
|
};
|
|
15097
14939
|
|
|
15098
|
-
var _templateObject$
|
|
14940
|
+
var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$g, _templateObject6$b, _templateObject7$7, _templateObject8$4, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3, _templateObject11$3, _templateObject12$2, _templateObject13$1;
|
|
15099
14941
|
var AddToCapWrapper = styled.div.withConfig({
|
|
15100
14942
|
displayName: "AddToCapWrapper",
|
|
15101
14943
|
componentId: "sc-1vjnrpf-0"
|
|
15102
|
-
})(_templateObject$
|
|
14944
|
+
})(_templateObject$A || (_templateObject$A = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n width: 100%;\n padding: 32px;\n background: #191921;\n border-radius: 16px;\n"])));
|
|
15103
14945
|
var LogicComponentsWrapper = styled.div.withConfig({
|
|
15104
14946
|
displayName: "LogicComponentsWrapper",
|
|
15105
14947
|
componentId: "sc-1vjnrpf-1"
|
|
15106
|
-
})(_templateObject2$
|
|
14948
|
+
})(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n ", " {\n flex-direction: column;\n }\n"])), function (_ref) {
|
|
15107
14949
|
var theme = _ref.theme;
|
|
15108
14950
|
return theme.mediaQueries.mobile;
|
|
15109
14951
|
});
|
|
15110
14952
|
var CapInput = styled(NumericalInput).withConfig({
|
|
15111
14953
|
displayName: "CapInput",
|
|
15112
14954
|
componentId: "sc-1vjnrpf-2"
|
|
15113
|
-
})(_templateObject3$
|
|
14955
|
+
})(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteral(["\n height: 50px;\n font-size: 16px;\n padding: 11px 0px 11px 24px;\n border: 1px solid ", ";\n background: ", ";\n border-radius: 10px;\n margin-bottom: 20px;\n ::placeholder {\n color: ", ";\n font-weight: 500;\n }\n"])), function (_ref2) {
|
|
15114
14956
|
var theme = _ref2.theme;
|
|
15115
14957
|
return theme.colors.white10;
|
|
15116
14958
|
}, function (_ref3) {
|
|
@@ -15123,11 +14965,11 @@ var CapInput = styled(NumericalInput).withConfig({
|
|
|
15123
14965
|
var EligibleWrapper = styled.div.withConfig({
|
|
15124
14966
|
displayName: "EligibleWrapper",
|
|
15125
14967
|
componentId: "sc-1vjnrpf-3"
|
|
15126
|
-
})(_templateObject4$
|
|
14968
|
+
})(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: max-content;\n height: 50px;\n width: 100%;\n padding: 15.5px;\n //Used only once in this component, not declared on theme\n background: #272730;\n box-sizing: border-box;\n border-radius: 10px;\n margin-bottom: 26px;\n"])));
|
|
15127
14969
|
var IdoActionButton = styled(Button$1).withConfig({
|
|
15128
14970
|
displayName: "IdoActionButton",
|
|
15129
14971
|
componentId: "sc-1vjnrpf-4"
|
|
15130
|
-
})(_templateObject5$
|
|
14972
|
+
})(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteral(["\n color: ", " !important;\n height: 50px;\n width: 100%;\n &:disabled,\n &.button--disabled {\n background: #12ffb8;\n opacity: 0.2;\n color: #3d3d41 !important;\n }\n ", " {\n margin-top: 16px;\n width: 100%;\n }\n"])), function (_ref5) {
|
|
15131
14973
|
var theme = _ref5.theme;
|
|
15132
14974
|
return theme.colors.dark;
|
|
15133
14975
|
}, function (_ref6) {
|
|
@@ -15534,33 +15376,33 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
15534
15376
|
return withoutActions ? /*#__PURE__*/jsx(Fragment, {}) : contentWrapper;
|
|
15535
15377
|
};
|
|
15536
15378
|
|
|
15537
|
-
var _templateObject$
|
|
15379
|
+
var _templateObject$z, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$f;
|
|
15538
15380
|
var Description = styled.div.withConfig({
|
|
15539
15381
|
displayName: "Description",
|
|
15540
15382
|
componentId: "sc-h5yjzn-0"
|
|
15541
|
-
})(_templateObject$
|
|
15383
|
+
})(_templateObject$z || (_templateObject$z = _taggedTemplateLiteral(["\n font-family: Manrope;\n font-size: 12px;\n line-height: 170%;\n color: rgba(255, 255, 255, 0.55);\n align-self: flex-start;\n font-weight: normal;\n"])));
|
|
15542
15384
|
var CounterWrapper = styled.div.withConfig({
|
|
15543
15385
|
displayName: "CounterWrapper",
|
|
15544
15386
|
componentId: "sc-h5yjzn-1"
|
|
15545
|
-
})(_templateObject2$
|
|
15387
|
+
})(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 81px;\n background: ", ";\n border: 1px solid rgba(255, 255, 255, 0.03);\n display: flex;\n border-radius: 10px;\n padding: 15px 0px 21px 20px;\n"])), function (_ref) {
|
|
15546
15388
|
var theme = _ref.theme;
|
|
15547
15389
|
return theme.backgrounds.secondary;
|
|
15548
15390
|
});
|
|
15549
15391
|
var CapDescriptionWrapper = styled.div.withConfig({
|
|
15550
15392
|
displayName: "CapDescriptionWrapper",
|
|
15551
15393
|
componentId: "sc-h5yjzn-2"
|
|
15552
|
-
})(_templateObject3$
|
|
15394
|
+
})(_templateObject3$l || (_templateObject3$l = _taggedTemplateLiteral(["\n color: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n font-weight: bold;\n"])), function (_ref2) {
|
|
15553
15395
|
var theme = _ref2.theme;
|
|
15554
15396
|
return theme.colors.white;
|
|
15555
15397
|
});
|
|
15556
15398
|
var SoftCapWrapper = styled(CapDescriptionWrapper).withConfig({
|
|
15557
15399
|
displayName: "SoftCapWrapper",
|
|
15558
15400
|
componentId: "sc-h5yjzn-3"
|
|
15559
|
-
})(_templateObject4$
|
|
15401
|
+
})(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteral(["\n border-right: 2px solid #252530;\n margin-left: 10px;\n padding-right: 17px;\n"])));
|
|
15560
15402
|
var HardCapWrapper = styled(CapDescriptionWrapper).withConfig({
|
|
15561
15403
|
displayName: "HardCapWrapper",
|
|
15562
15404
|
componentId: "sc-h5yjzn-4"
|
|
15563
|
-
})(_templateObject5$
|
|
15405
|
+
})(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteral(["\n align-items: center;\n margin-left: 32px;\n"])));
|
|
15564
15406
|
var CapCounter = function CapCounter(_ref3) {
|
|
15565
15407
|
var _ref3$softCap = _ref3.softCap,
|
|
15566
15408
|
softCap = _ref3$softCap === void 0 ? 332.52 : _ref3$softCap,
|
|
@@ -15614,33 +15456,33 @@ var SpacePadSchedule = function SpacePadSchedule(_ref) {
|
|
|
15614
15456
|
});
|
|
15615
15457
|
};
|
|
15616
15458
|
|
|
15617
|
-
var _templateObject$
|
|
15459
|
+
var _templateObject$y, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$e;
|
|
15618
15460
|
var MainWrapper = styled.div.withConfig({
|
|
15619
15461
|
displayName: "MainWrapper",
|
|
15620
15462
|
componentId: "sc-1bkh9t5-0"
|
|
15621
|
-
})(_templateObject$
|
|
15463
|
+
})(_templateObject$y || (_templateObject$y = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.1);\n width: ", ";\n height: 34px;\n border-radius: 10px;\n font-weight: bold;\n font-size: 14px;\n padding: 2px;\n z-index: 99;\n"])), function (_ref) {
|
|
15622
15464
|
var width = _ref.width;
|
|
15623
15465
|
return width ? "".concat(width, "px") : "100%";
|
|
15624
15466
|
});
|
|
15625
15467
|
var SecondWrapper = styled.div.withConfig({
|
|
15626
15468
|
displayName: "SecondWrapper",
|
|
15627
15469
|
componentId: "sc-1bkh9t5-1"
|
|
15628
|
-
})(_templateObject2$
|
|
15470
|
+
})(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n border-radius: 8px;\n z-index: 101;\n width: 100%;\n"])));
|
|
15629
15471
|
var ToggleButton = styled.div.withConfig({
|
|
15630
15472
|
displayName: "ToggleButton",
|
|
15631
15473
|
componentId: "sc-1bkh9t5-2"
|
|
15632
|
-
})(_templateObject3$
|
|
15474
|
+
})(_templateObject3$k || (_templateObject3$k = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n height: 100%;\n width: 50%;\n background: rgba(255, 255, 255, 0.85);\n border-radius: 8px;\n transform: translateX(", ");\n transition: 0.4s ease-out;\n z-index: 100;\n"])), function (_ref2) {
|
|
15633
15475
|
var isSwitched = _ref2.isSwitched;
|
|
15634
15476
|
return isSwitched ? "100%" : "0%";
|
|
15635
15477
|
});
|
|
15636
15478
|
var RowWrapper = styled.div.withConfig({
|
|
15637
15479
|
displayName: "RowWrapper",
|
|
15638
15480
|
componentId: "sc-1bkh9t5-3"
|
|
15639
|
-
})(_templateObject4$
|
|
15481
|
+
})(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 100%;\n"])));
|
|
15640
15482
|
var SubscriptionWrapper = styled.div.withConfig({
|
|
15641
15483
|
displayName: "SubscriptionWrapper",
|
|
15642
15484
|
componentId: "sc-1bkh9t5-4"
|
|
15643
|
-
})(_templateObject5$
|
|
15485
|
+
})(_templateObject5$e || (_templateObject5$e = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 30px;\n width: 50%;\n border-radius: 8px;\n cursor: pointer;\n z-index: 101;\n color: ", ";\n transition: 0.4s ease-out;\n"])), function (_ref3) {
|
|
15644
15486
|
var isActive = _ref3.isActive;
|
|
15645
15487
|
return isActive ? "black" : "rgba(255, 255, 255, 0.25)";
|
|
15646
15488
|
});
|
|
@@ -15686,15 +15528,15 @@ var Switch = function Switch(_ref4) {
|
|
|
15686
15528
|
});
|
|
15687
15529
|
};
|
|
15688
15530
|
|
|
15689
|
-
var _templateObject$
|
|
15531
|
+
var _templateObject$x, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$d, _templateObject6$a, _templateObject7$6, _templateObject8$3, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1;
|
|
15690
15532
|
var SponsoredText = styled(Text).withConfig({
|
|
15691
15533
|
displayName: "SponsoredText",
|
|
15692
15534
|
componentId: "sc-8tid8r-0"
|
|
15693
|
-
})(_templateObject$
|
|
15535
|
+
})(_templateObject$x || (_templateObject$x = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: normal;\n font-size: 10px;\n line-height: 170%;\n color: #12ffb8;\n top: -20px;\n left: 10px;\n"])));
|
|
15694
15536
|
var SpacePadProjectWrapper = styled.div.withConfig({
|
|
15695
15537
|
displayName: "SpacePadProjectWrapper",
|
|
15696
15538
|
componentId: "sc-8tid8r-1"
|
|
15697
|
-
})(_templateObject2$
|
|
15539
|
+
})(_templateObject2$p || (_templateObject2$p = _taggedTemplateLiteral(["\n position: relative;\n width: 406px;\n height: max-content;\n ", " {\n min-width: max-content;\n }\n ", " {\n width: 100%;\n }\n"])), function (_ref) {
|
|
15698
15540
|
var theme = _ref.theme;
|
|
15699
15541
|
return theme.mediaQueries.desktop;
|
|
15700
15542
|
}, function (_ref2) {
|
|
@@ -15704,7 +15546,7 @@ var SpacePadProjectWrapper = styled.div.withConfig({
|
|
|
15704
15546
|
var SpacePadProjectCard = styled.div.withConfig({
|
|
15705
15547
|
displayName: "SpacePadProjectCard",
|
|
15706
15548
|
componentId: "sc-8tid8r-2"
|
|
15707
|
-
})(_templateObject3$
|
|
15549
|
+
})(_templateObject3$j || (_templateObject3$j = _taggedTemplateLiteral(["\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n border-radius: 15px;\n max-width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: space-between;\n overflow: hidden;\n cursor: pointer;\n padding-bottom: 24px;\n"])), function (_ref3) {
|
|
15708
15550
|
var theme = _ref3.theme;
|
|
15709
15551
|
return theme.backgrounds.primary;
|
|
15710
15552
|
}, function (_ref4) {
|
|
@@ -15715,14 +15557,14 @@ var SpacePadProjectCard = styled.div.withConfig({
|
|
|
15715
15557
|
var ProjectPoster = styled.div.withConfig({
|
|
15716
15558
|
displayName: "ProjectPoster",
|
|
15717
15559
|
componentId: "sc-8tid8r-3"
|
|
15718
|
-
})(_templateObject4$
|
|
15560
|
+
})(_templateObject4$f || (_templateObject4$f = _taggedTemplateLiteral(["\n min-height: 175px;\n width: 100%;\n position: relative;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n"])), function (_ref5) {
|
|
15719
15561
|
var background = _ref5.background;
|
|
15720
15562
|
return background;
|
|
15721
15563
|
});
|
|
15722
15564
|
var ProjectLogo = styled.div.withConfig({
|
|
15723
15565
|
displayName: "ProjectLogo",
|
|
15724
15566
|
componentId: "sc-8tid8r-4"
|
|
15725
|
-
})(_templateObject5$
|
|
15567
|
+
})(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 80px;\n height: 80px;\n border-radius: 50%;\n top: 138px;\n left: 20px;\n background: #16161d;\n background-image: ", ";\n background-position: center; /* Center the image */\n background-repeat: no-repeat; /* Do not repeat the image */\n background-size: cover;\n border: 3px solid #373749;\n overflow: hidden;\n"])), function (_ref6) {
|
|
15726
15568
|
var background = _ref6.background;
|
|
15727
15569
|
return background;
|
|
15728
15570
|
});
|
|
@@ -15983,11 +15825,11 @@ var SpacePadProject = function SpacePadProject(props) {
|
|
|
15983
15825
|
});
|
|
15984
15826
|
};
|
|
15985
15827
|
|
|
15986
|
-
var _templateObject$
|
|
15828
|
+
var _templateObject$w, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$c, _templateObject6$9, _templateObject7$5, _templateObject8$2, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13;
|
|
15987
15829
|
var AccountInfoWrapper = styled.div.withConfig({
|
|
15988
15830
|
displayName: "AccountInfoWrapper",
|
|
15989
15831
|
componentId: "sc-1p04ez8-0"
|
|
15990
|
-
})(_templateObject$
|
|
15832
|
+
})(_templateObject$w || (_templateObject$w = _taggedTemplateLiteral(["\n position: relative;\n background: ", ";\n border: 1px solid ", ";\n border-radius: 10px;\n padding: 42px 30px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n ", " {\n flex-direction: column;\n padding: 30px 20px;\n }\n"])), function (_ref) {
|
|
15991
15833
|
var theme = _ref.theme;
|
|
15992
15834
|
return theme.colors.card;
|
|
15993
15835
|
}, function (_ref2) {
|
|
@@ -16000,7 +15842,7 @@ var AccountInfoWrapper = styled.div.withConfig({
|
|
|
16000
15842
|
var StyledAccountInfo = styled.div.withConfig({
|
|
16001
15843
|
displayName: "StyledAccountInfo",
|
|
16002
15844
|
componentId: "sc-1p04ez8-1"
|
|
16003
|
-
})(_templateObject2$
|
|
15845
|
+
})(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: space-between;\n justify-content: flex-start;\n margin-left: 28px;\n ", " {\n margin-bottom: ", ";\n margin-left: 0px;\n }\n"])), function (_ref4) {
|
|
16004
15846
|
var theme = _ref4.theme;
|
|
16005
15847
|
return theme.mediaQueries.mobile;
|
|
16006
15848
|
}, function (_ref5) {
|
|
@@ -16010,7 +15852,7 @@ var StyledAccountInfo = styled.div.withConfig({
|
|
|
16010
15852
|
var UserComponent = styled.p.withConfig({
|
|
16011
15853
|
displayName: "UserComponent",
|
|
16012
15854
|
componentId: "sc-1p04ez8-2"
|
|
16013
|
-
})(_templateObject3$
|
|
15855
|
+
})(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n width: 100%;\n margin-bottom: ", ";\n }\n ", " {\n width: 100%;\n justify-content: ", ";\n }\n"])), function (_ref6) {
|
|
16014
15856
|
var theme = _ref6.theme;
|
|
16015
15857
|
return theme.mediaQueries.tablet;
|
|
16016
15858
|
}, function (_ref7) {
|
|
@@ -16036,7 +15878,7 @@ var UserComponent = styled.p.withConfig({
|
|
|
16036
15878
|
var AccountComponent = styled.div.withConfig({
|
|
16037
15879
|
displayName: "AccountComponent",
|
|
16038
15880
|
componentId: "sc-1p04ez8-3"
|
|
16039
|
-
})(_templateObject4$
|
|
15881
|
+
})(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: space-between;\n border: 1px solid ", ";\n border-radius: 10px;\n background: ", ";\n padding: 16px 24px;\n margin-left: 31px;\n ", " {\n width: 100%;\n align-items: center;\n margin-left: 0px;\n }\n"])), function (_ref0) {
|
|
16040
15882
|
var theme = _ref0.theme;
|
|
16041
15883
|
return theme.colors.white3;
|
|
16042
15884
|
}, function (_ref1) {
|
|
@@ -16049,7 +15891,7 @@ var AccountComponent = styled.div.withConfig({
|
|
|
16049
15891
|
var BalanceText = styled(Text).withConfig({
|
|
16050
15892
|
displayName: "BalanceText",
|
|
16051
15893
|
componentId: "sc-1p04ez8-4"
|
|
16052
|
-
})(_templateObject5$
|
|
15894
|
+
})(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteral(["\n margin-left: 50px;\n ", " {\n margin-left: 0px;\n }\n"])), function (_ref11) {
|
|
16053
15895
|
var theme = _ref11.theme;
|
|
16054
15896
|
return theme.mediaQueries.tablet;
|
|
16055
15897
|
});
|
|
@@ -16368,30 +16210,30 @@ var Icon$C = function Icon() {
|
|
|
16368
16210
|
});
|
|
16369
16211
|
};
|
|
16370
16212
|
|
|
16371
|
-
var _templateObject$
|
|
16213
|
+
var _templateObject$v, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$8, _templateObject7$4, _templateObject8$1, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11;
|
|
16372
16214
|
var Wrapper$2 = styled.div.withConfig({
|
|
16373
16215
|
displayName: "Wrapper",
|
|
16374
16216
|
componentId: "sc-kcmda0-0"
|
|
16375
|
-
})(_templateObject$
|
|
16217
|
+
})(_templateObject$v || (_templateObject$v = _taggedTemplateLiteral(["\n height: ", ";\n width: 350px;\n padding: 24px;\n background: #191921;\n border-radius: 10px;\n @media screen and (max-width: 1180px) {\n height: auto;\n }\n"])), function (_ref) {
|
|
16376
16218
|
var height = _ref.height;
|
|
16377
16219
|
return height ? "".concat(height, "px") : "auto";
|
|
16378
16220
|
});
|
|
16379
16221
|
var Header = styled.div.withConfig({
|
|
16380
16222
|
displayName: "Header",
|
|
16381
16223
|
componentId: "sc-kcmda0-1"
|
|
16382
|
-
})(_templateObject2$
|
|
16224
|
+
})(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
16383
16225
|
var PoolWeightWrapper = styled.div.withConfig({
|
|
16384
16226
|
displayName: "PoolWeightWrapper",
|
|
16385
16227
|
componentId: "sc-kcmda0-2"
|
|
16386
|
-
})(_templateObject3$
|
|
16228
|
+
})(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral(["\n width: auto;\n display: flex;\n flex-direction: column;\n"])));
|
|
16387
16229
|
var PoolWeightText = styled(Text).withConfig({
|
|
16388
16230
|
displayName: "PoolWeightText",
|
|
16389
16231
|
componentId: "sc-kcmda0-3"
|
|
16390
|
-
})(_templateObject4$
|
|
16232
|
+
})(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
16391
16233
|
var CssPowerText = styled(Text).withConfig({
|
|
16392
16234
|
displayName: "CssPowerText",
|
|
16393
16235
|
componentId: "sc-kcmda0-4"
|
|
16394
|
-
})(_templateObject5$
|
|
16236
|
+
})(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
16395
16237
|
var RequirementDescripton = styled(Text).withConfig({
|
|
16396
16238
|
displayName: "RequirementDescripton",
|
|
16397
16239
|
componentId: "sc-kcmda0-5"
|
|
@@ -16492,27 +16334,27 @@ var TierCard = function TierCard(_ref2) {
|
|
|
16492
16334
|
});
|
|
16493
16335
|
};
|
|
16494
16336
|
|
|
16495
|
-
var _templateObject$
|
|
16337
|
+
var _templateObject$u, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$a, _templateObject6$7;
|
|
16496
16338
|
var Wrapper$1 = styled.div.withConfig({
|
|
16497
16339
|
displayName: "Wrapper",
|
|
16498
16340
|
componentId: "sc-8hnj4a-0"
|
|
16499
|
-
})(_templateObject$
|
|
16341
|
+
})(_templateObject$u || (_templateObject$u = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 300px;\n"])));
|
|
16500
16342
|
var Upper = styled.div.withConfig({
|
|
16501
16343
|
displayName: "Upper",
|
|
16502
16344
|
componentId: "sc-8hnj4a-1"
|
|
16503
|
-
})(_templateObject2$
|
|
16345
|
+
})(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"])));
|
|
16504
16346
|
var IconWrapper = styled.div.withConfig({
|
|
16505
16347
|
displayName: "IconWrapper",
|
|
16506
16348
|
componentId: "sc-8hnj4a-2"
|
|
16507
|
-
})(_templateObject3$
|
|
16349
|
+
})(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteral(["\n margin: 0 auto;\n max-width: 220px;\n max-height: 160px;\n"])));
|
|
16508
16350
|
var StepNumber = styled.p.withConfig({
|
|
16509
16351
|
displayName: "StepNumber",
|
|
16510
16352
|
componentId: "sc-8hnj4a-3"
|
|
16511
|
-
})(_templateObject4$
|
|
16353
|
+
})(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: center;\n width: 40px;\n height: 40px;\n border: 1px solid rgba(255, 255, 255, 0.03);\n color: #ffffff;\n opacity: 0.55;\n border-radius: 10px;\n background: #1d1d26;\n"])));
|
|
16512
16354
|
var StepDescription = styled(Text).withConfig({
|
|
16513
16355
|
displayName: "StepDescription",
|
|
16514
16356
|
componentId: "sc-8hnj4a-4"
|
|
16515
|
-
})(_templateObject5$
|
|
16357
|
+
})(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteral(["\n text-align: center;\n color: rgba(255, 255, 255, 0.55);\n max-width: 229px;\n ", " {\n font-size: 14px;\n }\n"])), function (_ref) {
|
|
16516
16358
|
var theme = _ref.theme;
|
|
16517
16359
|
return theme.mediaQueries.mobile;
|
|
16518
16360
|
});
|
|
@@ -16572,36 +16414,36 @@ var IdoParticipationStep = function IdoParticipationStep(_ref2) {
|
|
|
16572
16414
|
});
|
|
16573
16415
|
};
|
|
16574
16416
|
|
|
16575
|
-
var _templateObject$
|
|
16417
|
+
var _templateObject$t, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$9, _templateObject6$6, _templateObject7$3;
|
|
16576
16418
|
var UserTiersWrapper = styled.div.withConfig({
|
|
16577
16419
|
displayName: "UserTiersWrapper",
|
|
16578
16420
|
componentId: "sc-ge61bg-0"
|
|
16579
|
-
})(_templateObject$
|
|
16421
|
+
})(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n background: ", ";\n border-radius: 16px;\n padding: 32px;\n"])), function (_ref) {
|
|
16580
16422
|
var theme = _ref.theme;
|
|
16581
16423
|
return theme.colors.card;
|
|
16582
16424
|
});
|
|
16583
16425
|
var TiersTitle = styled(Text).withConfig({
|
|
16584
16426
|
displayName: "TiersTitle",
|
|
16585
16427
|
componentId: "sc-ge61bg-1"
|
|
16586
|
-
})(_templateObject2$
|
|
16428
|
+
})(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n margin-bottom: 20px;\n"])), function (_ref2) {
|
|
16587
16429
|
var theme = _ref2.theme;
|
|
16588
16430
|
return theme.colors.white;
|
|
16589
16431
|
});
|
|
16590
16432
|
var Column = styled.div.withConfig({
|
|
16591
16433
|
displayName: "Column",
|
|
16592
16434
|
componentId: "sc-ge61bg-2"
|
|
16593
|
-
})(_templateObject3$
|
|
16435
|
+
})(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n"])));
|
|
16594
16436
|
var TierRow = styled(Box).withConfig({
|
|
16595
16437
|
displayName: "TierRow",
|
|
16596
16438
|
componentId: "sc-ge61bg-3"
|
|
16597
|
-
})(_templateObject4$
|
|
16439
|
+
})(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 10px 0px;\n border-bottom: ", ";\n"])), function (_ref3) {
|
|
16598
16440
|
var bordered = _ref3.bordered;
|
|
16599
16441
|
return bordered && "1px solid #272730";
|
|
16600
16442
|
});
|
|
16601
16443
|
var TierNumberText = styled(Text).withConfig({
|
|
16602
16444
|
displayName: "TierNumberText",
|
|
16603
16445
|
componentId: "sc-ge61bg-4"
|
|
16604
|
-
})(_templateObject5$
|
|
16446
|
+
})(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 160%;\n color: ", ";\n font-weight: ", ";\n position: relative;\n"])), function (_ref4) {
|
|
16605
16447
|
var theme = _ref4.theme,
|
|
16606
16448
|
active = _ref4.active;
|
|
16607
16449
|
return active ? theme.colors.white : "#818c92";
|
|
@@ -16684,11 +16526,11 @@ var UserTiers = function UserTiers(props) {
|
|
|
16684
16526
|
});
|
|
16685
16527
|
};
|
|
16686
16528
|
|
|
16687
|
-
var _templateObject$
|
|
16529
|
+
var _templateObject$s;
|
|
16688
16530
|
var StyledMultiValue = styled.div.withConfig({
|
|
16689
16531
|
displayName: "StyledMultiValue",
|
|
16690
16532
|
componentId: "sc-11c5hed-0"
|
|
16691
|
-
})(_templateObject$
|
|
16533
|
+
})(_templateObject$s || (_templateObject$s = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n"])));
|
|
16692
16534
|
var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
16693
16535
|
var spaceRound = _ref.spaceRound,
|
|
16694
16536
|
useEndTime = _ref.useEndTime,
|
|
@@ -16722,15 +16564,15 @@ var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
|
16722
16564
|
});
|
|
16723
16565
|
};
|
|
16724
16566
|
|
|
16725
|
-
var _templateObject$
|
|
16567
|
+
var _templateObject$r, _templateObject2$k, _templateObject3$e, _templateObject4$a, _templateObject5$8;
|
|
16726
16568
|
var LaunchWrapper = styled.div.withConfig({
|
|
16727
16569
|
displayName: "LaunchWrapper",
|
|
16728
16570
|
componentId: "sc-8kj88a-0"
|
|
16729
|
-
})(_templateObject$
|
|
16571
|
+
})(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n width: 100%;\n background: #1d1d26;\n padding: 44px;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n margin-top: 70px;\n"])));
|
|
16730
16572
|
var ForProjects = styled(Text).withConfig({
|
|
16731
16573
|
displayName: "ForProjects",
|
|
16732
16574
|
componentId: "sc-8kj88a-1"
|
|
16733
|
-
})(_templateObject2$
|
|
16575
|
+
})(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n margin: 0 auto;\n width: 135px;\n text-align: center;\n border: 1px solid ", ";\n color: ", ";\n line-height: 28px;\n border-radius: 10px;\n"])), function (_ref) {
|
|
16734
16576
|
var theme = _ref.theme,
|
|
16735
16577
|
mainColor = _ref.mainColor;
|
|
16736
16578
|
return mainColor || theme.colors.darkPurple;
|
|
@@ -16742,15 +16584,15 @@ var ForProjects = styled(Text).withConfig({
|
|
|
16742
16584
|
var LaunchHeader = styled(Text).withConfig({
|
|
16743
16585
|
displayName: "LaunchHeader",
|
|
16744
16586
|
componentId: "sc-8kj88a-2"
|
|
16745
|
-
})(_templateObject3$
|
|
16587
|
+
})(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteral(["\n margin: 20px 0;\n text-align: center;\n @media screen and (max-width: 760px) {\n width: 310px;\n font-size: 26px;\n }\n"])));
|
|
16746
16588
|
var LaunchDescription = styled(Text).withConfig({
|
|
16747
16589
|
displayName: "LaunchDescription",
|
|
16748
16590
|
componentId: "sc-8kj88a-3"
|
|
16749
|
-
})(_templateObject4$
|
|
16591
|
+
})(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteral(["\n width: 630px;\n color: rgba(255, 255, 255, 0.55);\n text-align: center;\n @media screen and (max-width: 760px) {\n width: 310px;\n }\n"])));
|
|
16750
16592
|
var ApplyForIdoButton = styled(Button$1).withConfig({
|
|
16751
16593
|
displayName: "ApplyForIdoButton",
|
|
16752
16594
|
componentId: "sc-8kj88a-4"
|
|
16753
|
-
})(_templateObject5$
|
|
16595
|
+
})(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteral(["\n width: 161px;\n height: 44px;\n border-radius: 10px;\n background: #12ffb8;\n margin-top: 45px;\n"])));
|
|
16754
16596
|
var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
16755
16597
|
var title = _ref3.title,
|
|
16756
16598
|
description = _ref3.description,
|
|
@@ -16779,24 +16621,24 @@ var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
|
16779
16621
|
});
|
|
16780
16622
|
};
|
|
16781
16623
|
|
|
16782
|
-
var _templateObject$
|
|
16624
|
+
var _templateObject$q;
|
|
16783
16625
|
var ReferralTitle = styled(Text).withConfig({
|
|
16784
16626
|
displayName: "ReferralTitle",
|
|
16785
16627
|
componentId: "sc-q2pgu9-0"
|
|
16786
|
-
})(_templateObject$
|
|
16628
|
+
})(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref) {
|
|
16787
16629
|
var fontColor = _ref.fontColor;
|
|
16788
16630
|
return fontColor || "#ffffff";
|
|
16789
16631
|
});
|
|
16790
16632
|
|
|
16791
|
-
var _templateObject$
|
|
16633
|
+
var _templateObject$p, _templateObject2$j;
|
|
16792
16634
|
var ReferralBannerWrapper = styled.div.withConfig({
|
|
16793
16635
|
displayName: "ReferralBannerWrapper",
|
|
16794
16636
|
componentId: "sc-3cib5z-0"
|
|
16795
|
-
})(_templateObject$
|
|
16637
|
+
})(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
16796
16638
|
var InvitationDescription = styled(Text).withConfig({
|
|
16797
16639
|
displayName: "InvitationDescription",
|
|
16798
16640
|
componentId: "sc-3cib5z-1"
|
|
16799
|
-
})(_templateObject2$
|
|
16641
|
+
})(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n color: #818c92;\n margin-bottom: 24px;\n"])));
|
|
16800
16642
|
var ReferralBanner = function ReferralBanner(props) {
|
|
16801
16643
|
var refFee = props.refFee,
|
|
16802
16644
|
onReadMore = props.onReadMore,
|
|
@@ -16861,33 +16703,33 @@ var copyValueToClipboard = function copyValueToClipboard(value, copyCallback) {
|
|
|
16861
16703
|
}, 3000);
|
|
16862
16704
|
};
|
|
16863
16705
|
|
|
16864
|
-
var _templateObject$
|
|
16706
|
+
var _templateObject$o, _templateObject2$i, _templateObject3$d, _templateObject4$9, _templateObject5$7, _templateObject6$5;
|
|
16865
16707
|
var TableCard = styled(Card).withConfig({
|
|
16866
16708
|
displayName: "TableCard",
|
|
16867
16709
|
componentId: "sc-wd2wdf-0"
|
|
16868
|
-
})(_templateObject$
|
|
16710
|
+
})(_templateObject$o || (_templateObject$o = _taggedTemplateLiteral(["\n border: none;\n padding: 15px;\n width: 100%;\n margin-bottom: 24px;\n ", " {\n padding: 25px 30px;\n }\n"])), function (_ref) {
|
|
16869
16711
|
var theme = _ref.theme;
|
|
16870
16712
|
return theme.mediaQueries.sm;
|
|
16871
16713
|
});
|
|
16872
16714
|
var CopyLinkCardWrapper = styled(TableCard).withConfig({
|
|
16873
16715
|
displayName: "CopyLinkCardWrapper",
|
|
16874
16716
|
componentId: "sc-wd2wdf-1"
|
|
16875
|
-
})(_templateObject2$
|
|
16717
|
+
})(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n background: #1d1d26;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"])));
|
|
16876
16718
|
var MyReferralCard = styled(TableCard).withConfig({
|
|
16877
16719
|
displayName: "MyReferralCard",
|
|
16878
16720
|
componentId: "sc-wd2wdf-2"
|
|
16879
|
-
})(_templateObject3$
|
|
16721
|
+
})(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteral(["\n background: #16161d;\n display: flex;\n justify-content: space-between;\n align-items: center;\n grid-column: span 6;\n ", " {\n grid-column: span 7;\n }\n"])), function (_ref2) {
|
|
16880
16722
|
var theme = _ref2.theme;
|
|
16881
16723
|
return theme.mediaQueries.sm;
|
|
16882
16724
|
});
|
|
16883
16725
|
var RefLink = styled(Text).withConfig({
|
|
16884
16726
|
displayName: "RefLink",
|
|
16885
16727
|
componentId: "sc-wd2wdf-3"
|
|
16886
|
-
})(_templateObject4$
|
|
16728
|
+
})(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteral(["\n display: inline;\n align-items: center;\n text-overflow: ellipsis;\n width: 80%;\n overflow: hidden;\n white-space: nowrap;\n height: max-content;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n"])));
|
|
16887
16729
|
var SocialRow = styled.div.withConfig({
|
|
16888
16730
|
displayName: "SocialRow",
|
|
16889
16731
|
componentId: "sc-wd2wdf-4"
|
|
16890
|
-
})(_templateObject5$
|
|
16732
|
+
})(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n"])));
|
|
16891
16733
|
var ShareText = styled(Text).withConfig({
|
|
16892
16734
|
displayName: "ShareText",
|
|
16893
16735
|
componentId: "sc-wd2wdf-5"
|
|
@@ -17632,18 +17474,18 @@ var IconModule = /*#__PURE__*/Object.freeze({
|
|
|
17632
17474
|
YouTubeIcon: Icon$e
|
|
17633
17475
|
});
|
|
17634
17476
|
|
|
17635
|
-
var _templateObject$
|
|
17477
|
+
var _templateObject$n, _templateObject2$h;
|
|
17636
17478
|
var StyledLink = styled(Link$1).withConfig({
|
|
17637
17479
|
displayName: "StyledLink",
|
|
17638
17480
|
componentId: "sc-1u6975p-0"
|
|
17639
|
-
})(_templateObject$
|
|
17481
|
+
})(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n display: flex;\n display: -webkit-flex;\n align-items: center;\n -webkit-align-items: center;\n .mobile-icon {\n width: 32px;\n margin-left: 10px;\n }\n .desktop-icon {\n width: 156px;\n display: none;\n ", " {\n display: block;\n }\n }\n margin-left: 0px;\n"])), function (_ref) {
|
|
17640
17482
|
var theme = _ref.theme;
|
|
17641
17483
|
return theme.mediaQueries.nav;
|
|
17642
17484
|
});
|
|
17643
17485
|
var CoinswapLogo = styled.div.withConfig({
|
|
17644
17486
|
displayName: "CoinswapLogo",
|
|
17645
17487
|
componentId: "sc-1u6975p-1"
|
|
17646
|
-
})(_templateObject2$
|
|
17488
|
+
})(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["\n $opacity: ", ";\n width: ", ";\n transition: width 0.6s, $opacity 0.3s;\n"])), function (_ref2) {
|
|
17647
17489
|
var isPushed = _ref2.isPushed;
|
|
17648
17490
|
return isPushed ? 1 : 0;
|
|
17649
17491
|
}, function (_ref3) {
|
|
@@ -17836,12 +17678,12 @@ var MENU_ACCORDION_HEIGHT = 30;
|
|
|
17836
17678
|
var SIDEBAR_WIDTH_FULL = 240;
|
|
17837
17679
|
var SIDEBAR_WIDTH_REDUCED = 70;
|
|
17838
17680
|
|
|
17839
|
-
var _templateObject$
|
|
17840
|
-
var rainbowAnimation = keyframes(_templateObject$
|
|
17681
|
+
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
17682
|
+
var rainbowAnimation = keyframes(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n 0%,\n 100% {\n background-position: 0 0;\n }\n 50% {\n background-position: 100% 0;\n }\n"])));
|
|
17841
17683
|
var LinkLabel = styled.div.withConfig({
|
|
17842
17684
|
displayName: "LinkLabel",
|
|
17843
17685
|
componentId: "sc-1sxukum-0"
|
|
17844
|
-
})(_templateObject2$
|
|
17686
|
+
})(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n color: ", ";\n transition: all 0.7s;\n flex-grow: 1;\n font-weight: 700;\n font-size: 14px;\n width: 100%;\n opacity: ", ";\n"])), function (_ref) {
|
|
17845
17687
|
var isPushed = _ref.isPushed,
|
|
17846
17688
|
isActive = _ref.isActive;
|
|
17847
17689
|
return !isPushed ? "transparent" : isActive ? "rgba(255, 255, 255, 1)" : "rgba(255, 255, 255, 0.5)";
|
|
@@ -17852,7 +17694,7 @@ var LinkLabel = styled.div.withConfig({
|
|
|
17852
17694
|
var MenuEntry = styled.div.withConfig({
|
|
17853
17695
|
displayName: "MenuEntry",
|
|
17854
17696
|
componentId: "sc-1sxukum-1"
|
|
17855
|
-
})(_templateObject3$
|
|
17697
|
+
})(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral(["\n cursor: pointer;\n display: flex;\n align-items: center;\n height: ", "px;\n width: ", "px;\n padding: ", ";\n font-size: 14px;\n background-color: ", ";\n color: ", ";\n transition: all 0.9s;\n ", " {\n height: 40px;\n }\n\n a {\n display: flex;\n align-items: center;\n width: 100%;\n height: 100%;\n color: ", ";\n font-weight: 700;\n transition: all 0.5s;\n }\n\n .dot {\n height: 5px;\n width: 5px;\n border-radius: 50%;\n display: inline-block;\n background-color: ", ";\n }\n\n svg {\n fill: ", ";\n margin-right: 13px;\n }\n\n &:hover {\n svg {\n path {\n fill: #12ffb8;\n fill-opacity: 1;\n }\n margin-right: ", ";\n }\n div,\n a {\n svg {\n path {\n fill: ", ";\n }\n }\n }\n\n div,\n a {\n color: rgba(255, 255, 255, 1);\n }\n }\n\n // Safari fix\n flex-shrink: 0;\n\n &.rainbow {\n background-clip: text;\n animation: ", " 3s ease-in-out infinite;\n background: ", ";\n background-size: 400% 100%;\n }\n"])), MENU_ENTRY_HEIGHT, SIDEBAR_WIDTH_FULL, function (_ref3) {
|
|
17856
17698
|
var secondary = _ref3.secondary;
|
|
17857
17699
|
return secondary ? "0 32px" : "0 25px";
|
|
17858
17700
|
}, function (_ref4) {
|
|
@@ -17886,15 +17728,15 @@ var MenuEntry = styled.div.withConfig({
|
|
|
17886
17728
|
return theme.colors.gradients.bubblegum;
|
|
17887
17729
|
});
|
|
17888
17730
|
|
|
17889
|
-
var _templateObject$
|
|
17731
|
+
var _templateObject$l, _templateObject2$f, _templateObject3$b;
|
|
17890
17732
|
var Container$2 = styled.div.withConfig({
|
|
17891
17733
|
displayName: "Container",
|
|
17892
17734
|
componentId: "sc-1j605qy-0"
|
|
17893
|
-
})(_templateObject$
|
|
17735
|
+
})(_templateObject$l || (_templateObject$l = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n // Safari fix\n flex-shrink: 0;\n"])));
|
|
17894
17736
|
var AccordionContent = styled.div.withConfig({
|
|
17895
17737
|
displayName: "AccordionContent",
|
|
17896
17738
|
componentId: "sc-1j605qy-1"
|
|
17897
|
-
})(_templateObject2$
|
|
17739
|
+
})(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n max-height: ", ";\n transition: max-height 0.3s ease-out;\n overflow-x: hidden;\n overflow-y: scroll;\n border-color: ", ";\n border-style: solid;\n border-width: 1px 0;\n border-bottom: none;\n"])), function (_ref) {
|
|
17898
17740
|
var isOpen = _ref.isOpen,
|
|
17899
17741
|
maxHeight = _ref.maxHeight;
|
|
17900
17742
|
return isOpen ? "".concat(maxHeight, "px") : 0;
|
|
@@ -17906,7 +17748,7 @@ var AccordionContent = styled.div.withConfig({
|
|
|
17906
17748
|
var ArrowIcon = styled(Icon$2x).withConfig({
|
|
17907
17749
|
displayName: "ArrowIcon",
|
|
17908
17750
|
componentId: "sc-1j605qy-2"
|
|
17909
|
-
})(_templateObject3$
|
|
17751
|
+
})(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n margin-right: -7px !important;\n transform: rotate(", "deg);\n transition: transform 0.4s;\n"])), function (_ref3) {
|
|
17910
17752
|
var isOpen = _ref3.isOpen;
|
|
17911
17753
|
return isOpen ? 0 : 180;
|
|
17912
17754
|
});
|
|
@@ -17979,19 +17821,19 @@ var ExtraIcon;
|
|
|
17979
17821
|
ExtraIcon["new"] = "new";
|
|
17980
17822
|
})(ExtraIcon || (ExtraIcon = {}));
|
|
17981
17823
|
|
|
17982
|
-
var _templateObject$
|
|
17824
|
+
var _templateObject$k, _templateObject2$e;
|
|
17983
17825
|
var Icons$2 = IconModule;
|
|
17984
17826
|
var Container$1 = styled.div.withConfig({
|
|
17985
17827
|
displayName: "Container",
|
|
17986
17828
|
componentId: "sc-1qgqorz-0"
|
|
17987
|
-
})(_templateObject$
|
|
17829
|
+
})(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n overflow-x: hidden;\n scrollbar-color: ", " transparent;\n scrollbar-width: thin !important;\n"])), function (_ref) {
|
|
17988
17830
|
var theme = _ref.theme;
|
|
17989
17831
|
return theme.colors.primary;
|
|
17990
17832
|
});
|
|
17991
17833
|
var NewLabel = styled.div.withConfig({
|
|
17992
17834
|
displayName: "NewLabel",
|
|
17993
17835
|
componentId: "sc-1qgqorz-1"
|
|
17994
|
-
})(_templateObject2$
|
|
17836
|
+
})(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n color: ", " !important;\n border: solid 1px ", ";\n border-radius: 12px;\n padding: 2px 8px;\n font-size: 10px;\n line-height: 9px;\n font-weight: 700;\n margin-left: 5px;\n text-align: center;\n"])), function (_ref2) {
|
|
17995
17837
|
var theme = _ref2.theme;
|
|
17996
17838
|
return theme.colors.primary;
|
|
17997
17839
|
}, function (_ref3) {
|
|
@@ -18095,7 +17937,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
18095
17937
|
};
|
|
18096
17938
|
|
|
18097
17939
|
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "$isLoading", "isLoading", "disabled"];
|
|
18098
|
-
var _templateObject$
|
|
17940
|
+
var _templateObject$j;
|
|
18099
17941
|
var StyledNavButton = styled.button.withConfig({
|
|
18100
17942
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
18101
17943
|
return !['$fullWidth', '$isLoading'].includes(prop);
|
|
@@ -18103,7 +17945,7 @@ var StyledNavButton = styled.button.withConfig({
|
|
|
18103
17945
|
}).withConfig({
|
|
18104
17946
|
displayName: "StyledNavButton",
|
|
18105
17947
|
componentId: "sc-11strgr-0"
|
|
18106
|
-
})(_templateObject$
|
|
17948
|
+
})(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n align-items: center;\n cursor: pointer;\n display: flex;\n justify-content: center;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n border: none;\n transition: background-color 0.2s;\n background-color: transparent;\n opacity: ", ";\n margin-left: 10px;\n"])), function (_ref) {
|
|
18107
17949
|
var $fullWidth = _ref.$fullWidth,
|
|
18108
17950
|
fullWidth = _ref.fullWidth;
|
|
18109
17951
|
return $fullWidth || fullWidth ? "100%" : "max-content";
|
|
@@ -18140,14 +17982,14 @@ var NavButton = function NavButton(_ref4) {
|
|
|
18140
17982
|
}));
|
|
18141
17983
|
};
|
|
18142
17984
|
|
|
18143
|
-
var _templateObject$
|
|
17985
|
+
var _templateObject$i;
|
|
18144
17986
|
var MenuButton = styled(NavButton).attrs({
|
|
18145
17987
|
variant: "text",
|
|
18146
17988
|
size: "sm"
|
|
18147
17989
|
}).withConfig({
|
|
18148
17990
|
displayName: "MenuButton",
|
|
18149
17991
|
componentId: "sc-1nwrww1-0"
|
|
18150
|
-
})(_templateObject$
|
|
17992
|
+
})(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n color: ", ";\n padding: 0 8px;\n border-radius: 8px;\n"])), function (_ref) {
|
|
18151
17993
|
var theme = _ref.theme;
|
|
18152
17994
|
return theme.colors.text;
|
|
18153
17995
|
});
|
|
@@ -18183,13 +18025,13 @@ var getLangFlag = function getLangFlag(lang) {
|
|
|
18183
18025
|
}
|
|
18184
18026
|
};
|
|
18185
18027
|
|
|
18186
|
-
var _templateObject$
|
|
18028
|
+
var _templateObject$h, _templateObject2$d, _templateObject3$a, _templateObject4$8, _templateObject5$6, _templateObject6$4, _templateObject7$2;
|
|
18187
18029
|
var Icons$1 = IconModule;
|
|
18188
18030
|
var LanguageIcon = Icons$1.LanguageIcon;
|
|
18189
18031
|
var LangButton = styled(Button$1).withConfig({
|
|
18190
18032
|
displayName: "LangButton",
|
|
18191
18033
|
componentId: "sc-1yvxo6n-0"
|
|
18192
|
-
})(_templateObject$
|
|
18034
|
+
})(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n position: relative;\n justify-content: flex-start;\n z-index: 9999999;\n border: 1px solid ", ";\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n border: 1px solid rgba(255, 255, 255, 0.03);\n }\n transition: width 0.6s;\n height: 28px;\n width: ", "px;\n margin-bottom: 15px;\n padding: 0px 10px;\n"])), function (_ref) {
|
|
18193
18035
|
var theme = _ref.theme;
|
|
18194
18036
|
return theme.colors.white3;
|
|
18195
18037
|
}, function (_ref2) {
|
|
@@ -18199,7 +18041,7 @@ var LangButton = styled(Button$1).withConfig({
|
|
|
18199
18041
|
var LangModal = styled.div.withConfig({
|
|
18200
18042
|
displayName: "LangModal",
|
|
18201
18043
|
componentId: "sc-1yvxo6n-1"
|
|
18202
|
-
})(_templateObject2$
|
|
18044
|
+
})(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n position: absolute;\n display: ", "};\n bottom: 45px;\n left: 0px;\n background: ", ";\n border: 1px solid rgba(255, 255, 255, 0.03);\n width: 267px;\n height: auto;\n padding: 27px 17px 27px 27px;\n border-radius: 15px;\n"])), function (_ref3) {
|
|
18203
18045
|
var display = _ref3.display;
|
|
18204
18046
|
return display ? "block" : "none";
|
|
18205
18047
|
}, function (_ref4) {
|
|
@@ -18209,7 +18051,7 @@ var LangModal = styled.div.withConfig({
|
|
|
18209
18051
|
var LangsList = styled.div.withConfig({
|
|
18210
18052
|
displayName: "LangsList",
|
|
18211
18053
|
componentId: "sc-1yvxo6n-2"
|
|
18212
|
-
})(_templateObject3$
|
|
18054
|
+
})(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n max-height: 170px;\n overflow-y: scroll;\n &::-webkit-scrollbar {\n width: 5px !important;\n }\n &::-webkit-scrollbar-thumb {\n background: ", " !important;\n border-radius: 8px;\n }\n &::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px ", ";\n border-radius: 3px;\n }\n"])), function (_ref5) {
|
|
18213
18055
|
var theme = _ref5.theme;
|
|
18214
18056
|
return theme.colors.white55;
|
|
18215
18057
|
}, function (_ref6) {
|
|
@@ -18219,11 +18061,11 @@ var LangsList = styled.div.withConfig({
|
|
|
18219
18061
|
var TitleContainer = styled.div.withConfig({
|
|
18220
18062
|
displayName: "TitleContainer",
|
|
18221
18063
|
componentId: "sc-1yvxo6n-3"
|
|
18222
|
-
})(_templateObject4$
|
|
18223
|
-
var ButtonContainer
|
|
18064
|
+
})(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-bottom: 10px;\n"])));
|
|
18065
|
+
var ButtonContainer = styled.div.withConfig({
|
|
18224
18066
|
displayName: "ButtonContainer",
|
|
18225
18067
|
componentId: "sc-1yvxo6n-4"
|
|
18226
|
-
})(_templateObject5$
|
|
18068
|
+
})(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteral(["\n width: 100%;\n text-align: start;\n padding: 0px 8px;\n"])));
|
|
18227
18069
|
var LangText = styled(Text).withConfig({
|
|
18228
18070
|
displayName: "LangText",
|
|
18229
18071
|
componentId: "sc-1yvxo6n-5"
|
|
@@ -18258,7 +18100,7 @@ var LangSelector$1 = function LangSelector(_ref9) {
|
|
|
18258
18100
|
setshowModal(false);
|
|
18259
18101
|
}
|
|
18260
18102
|
}, [isPushed]);
|
|
18261
|
-
return /*#__PURE__*/jsx(ButtonContainer
|
|
18103
|
+
return /*#__PURE__*/jsx(ButtonContainer, {
|
|
18262
18104
|
children: /*#__PURE__*/jsxs(LangButton, {
|
|
18263
18105
|
variant: buttonVariant.OUTLINE,
|
|
18264
18106
|
onClick: function onClick() {
|
|
@@ -18339,15 +18181,15 @@ var LangSelector = /*#__PURE__*/React__default.memo(LangSelector$1, function (pr
|
|
|
18339
18181
|
return prev.currentLang === next.currentLang && prev.isPushed === next.isPushed;
|
|
18340
18182
|
});
|
|
18341
18183
|
|
|
18342
|
-
var _templateObject$
|
|
18184
|
+
var _templateObject$g, _templateObject2$c;
|
|
18343
18185
|
var Container = styled.div.withConfig({
|
|
18344
18186
|
displayName: "Container",
|
|
18345
18187
|
componentId: "sc-11jjlfd-0"
|
|
18346
|
-
})(_templateObject$
|
|
18188
|
+
})(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n flex: none;\n padding: 5px 5px 20px 5px;\n background-color: transparent;\n position: relative;\n width: 100%;\n margin-top: 15px;\n"])));
|
|
18347
18189
|
var SettingsEntry = styled.div.withConfig({
|
|
18348
18190
|
displayName: "SettingsEntry",
|
|
18349
18191
|
componentId: "sc-11jjlfd-1"
|
|
18350
|
-
})(_templateObject2$
|
|
18192
|
+
})(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: auto;\n"])));
|
|
18351
18193
|
var PanelFooter = function PanelFooter(_ref) {
|
|
18352
18194
|
var isPushed = _ref.isPushed;
|
|
18353
18195
|
_ref.pushNav;
|
|
@@ -18372,21 +18214,21 @@ var PanelFooter = function PanelFooter(_ref) {
|
|
|
18372
18214
|
});
|
|
18373
18215
|
};
|
|
18374
18216
|
|
|
18375
|
-
var _templateObject$
|
|
18217
|
+
var _templateObject$f;
|
|
18376
18218
|
var MobileEntry = styled.div.withConfig({
|
|
18377
18219
|
displayName: "MobileEntry",
|
|
18378
18220
|
componentId: "sc-ialwsc-0"
|
|
18379
|
-
})(_templateObject$
|
|
18221
|
+
})(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n &:hover {\n div,\n a {\n svg {\n path {\n fill: ", ";\n }\n }\n }\n\n div,\n a {\n color: rgba(255, 255, 255, 1);\n }\n }\n"])), function (_ref) {
|
|
18380
18222
|
var theme = _ref.theme;
|
|
18381
18223
|
return theme.colors.primary;
|
|
18382
18224
|
});
|
|
18383
18225
|
|
|
18384
|
-
var _templateObject$
|
|
18226
|
+
var _templateObject$e, _templateObject2$b, _templateObject3$9;
|
|
18385
18227
|
var MOBILE_MENU_PANEL_HEIGHT = 83;
|
|
18386
18228
|
var MobileMenuContainer = styled.div.withConfig({
|
|
18387
18229
|
displayName: "MobileMenuContainer",
|
|
18388
18230
|
componentId: "sc-11f9rbo-0"
|
|
18389
|
-
})(_templateObject$
|
|
18231
|
+
})(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n position: fixed;\n bottom: 0px;\n width: 100%;\n right: 0px;\n left: 0px;\n z-index: 98;\n height: ", "px;\n display: none;\n flex-direction: row;\n justify-content: space-around;\n align-items: center;\n background: ", ";\n ", " {\n display: flex;\n }\n"])), MOBILE_MENU_PANEL_HEIGHT, function (_ref) {
|
|
18390
18232
|
var theme = _ref.theme;
|
|
18391
18233
|
return theme.colors.card;
|
|
18392
18234
|
}, function (_ref2) {
|
|
@@ -18396,11 +18238,11 @@ var MobileMenuContainer = styled.div.withConfig({
|
|
|
18396
18238
|
var MobileLink = styled(MenuLink).withConfig({
|
|
18397
18239
|
displayName: "MobileLink",
|
|
18398
18240
|
componentId: "sc-11f9rbo-1"
|
|
18399
|
-
})(_templateObject2$
|
|
18241
|
+
})(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-items: soace-between;\n align-items: center;\n"])));
|
|
18400
18242
|
var MenuLinkLabel = styled.div.withConfig({
|
|
18401
18243
|
displayName: "MenuLinkLabel",
|
|
18402
18244
|
componentId: "sc-11f9rbo-2"
|
|
18403
|
-
})(_templateObject3$
|
|
18245
|
+
})(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n font-weight: 700;\n font-size: 9px;\n color: white;\n"])));
|
|
18404
18246
|
var Icons = IconModule;
|
|
18405
18247
|
var MobileMenu = function MobileMenu(_ref3) {
|
|
18406
18248
|
var links = _ref3.links,
|
|
@@ -18435,11 +18277,11 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
18435
18277
|
});
|
|
18436
18278
|
};
|
|
18437
18279
|
|
|
18438
|
-
var _templateObject$
|
|
18280
|
+
var _templateObject$d, _templateObject2$a;
|
|
18439
18281
|
var StyledPanel = styled.div.withConfig({
|
|
18440
18282
|
displayName: "StyledPanel",
|
|
18441
18283
|
componentId: "sc-1b3g4s2-0"
|
|
18442
|
-
})(_templateObject$
|
|
18284
|
+
})(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n position: fixed;\n padding-top: 100px;\n top: 0;\n left: 0;\n flex-direction: column;\n justify-content: space-between;\n flex-shrink: 0;\n background-color: #191921;\n width: ", ";\n height: 100vh;\n transition: padding-top 0.2s, width 0.6s, box-shadow 0.4s;\n z-index: 11;\n overflow: ", ";\n transform: translate3d(0, 0, 0);\n ", " {\n width: ", ";\n padding-top: 100px;\n margin-top: 0px;\n transition: none;\n overflow-y: auto;\n padding-bottom: ", "px;\n }\n"])), function (_ref) {
|
|
18443
18285
|
var isPushed = _ref.isPushed;
|
|
18444
18286
|
return "".concat(isPushed ? SIDEBAR_WIDTH_FULL : SIDEBAR_WIDTH_REDUCED, "px");
|
|
18445
18287
|
}, function (_ref2) {
|
|
@@ -18455,7 +18297,7 @@ var StyledPanel = styled.div.withConfig({
|
|
|
18455
18297
|
var RowSplitter = styled.div.withConfig({
|
|
18456
18298
|
displayName: "RowSplitter",
|
|
18457
18299
|
componentId: "sc-1b3g4s2-1"
|
|
18458
|
-
})(_templateObject2$
|
|
18300
|
+
})(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n border: 1px solid #252530;\n margin: ", ";\n"])), function (_ref5) {
|
|
18459
18301
|
var isPushed = _ref5.isPushed;
|
|
18460
18302
|
return isPushed ? "20px" : "20px 15px";
|
|
18461
18303
|
});
|
|
@@ -18477,269 +18319,24 @@ var Panel = function Panel(props) {
|
|
|
18477
18319
|
});
|
|
18478
18320
|
};
|
|
18479
18321
|
|
|
18480
|
-
var _templateObject$d, _templateObject2$a, _templateObject3$9, _templateObject4$8, _templateObject5$6;
|
|
18481
|
-
var Space = styled.div.withConfig({
|
|
18482
|
-
displayName: "Space",
|
|
18483
|
-
componentId: "sc-11tnsw3-0"
|
|
18484
|
-
})(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 30px;\n"])));
|
|
18485
|
-
var DisclaimerContainer = styled.div.withConfig({
|
|
18486
|
-
displayName: "DisclaimerContainer",
|
|
18487
|
-
componentId: "sc-11tnsw3-1"
|
|
18488
|
-
})(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n max-width: 430px;\n"])));
|
|
18489
|
-
var CheckBoxContainer = styled.div.withConfig({
|
|
18490
|
-
displayName: "CheckBoxContainer",
|
|
18491
|
-
componentId: "sc-11tnsw3-2"
|
|
18492
|
-
})(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n width: 20%;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
|
|
18493
|
-
var ButtonContainer = styled.div.withConfig({
|
|
18494
|
-
displayName: "ButtonContainer",
|
|
18495
|
-
componentId: "sc-11tnsw3-3"
|
|
18496
|
-
})(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n margin-top: 25px;\n"])));
|
|
18497
|
-
var ListContainer = styled.div.withConfig({
|
|
18498
|
-
displayName: "ListContainer",
|
|
18499
|
-
componentId: "sc-11tnsw3-4"
|
|
18500
|
-
})(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteral(["\n font-size: 13px;\n color: white;\n margin-bottom: 10px;\n padding-left: 14px;\n ul li {\n list-style-position: outside;\n padding: 4px;\n line-height: 17px;\n }\n"])));
|
|
18501
|
-
var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
18502
|
-
var _ref$onDismiss = _ref.onDismiss,
|
|
18503
|
-
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
18504
|
-
return null;
|
|
18505
|
-
} : _ref$onDismiss,
|
|
18506
|
-
checkBoxesArray = _ref.checkBoxesArray,
|
|
18507
|
-
onResolve = _ref.onResolve,
|
|
18508
|
-
translations = _ref.translations;
|
|
18509
|
-
var _useState = useState(checkBoxesArray),
|
|
18510
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18511
|
-
checkBoxes = _useState2[0],
|
|
18512
|
-
setCheckBoxes = _useState2[1];
|
|
18513
|
-
var t = translations || getTranslations;
|
|
18514
|
-
var updateCheckState = function updateCheckState(index) {
|
|
18515
|
-
var checkArray = _toConsumableArray(checkBoxes);
|
|
18516
|
-
checkArray[index].isChecked = !checkArray[index].isChecked;
|
|
18517
|
-
setCheckBoxes(checkArray);
|
|
18518
|
-
};
|
|
18519
|
-
var resetAllCheckboxes = function resetAllCheckboxes() {
|
|
18520
|
-
var checkArray = _toConsumableArray(checkBoxes);
|
|
18521
|
-
checkArray.map(function (el) {
|
|
18522
|
-
return el.isChecked === false;
|
|
18523
|
-
});
|
|
18524
|
-
setCheckBoxes(checkArray);
|
|
18525
|
-
};
|
|
18526
|
-
var onClickHandler = function onClickHandler(res) {
|
|
18527
|
-
resetAllCheckboxes();
|
|
18528
|
-
onDismiss();
|
|
18529
|
-
onResolve(res);
|
|
18530
|
-
};
|
|
18531
|
-
return /*#__PURE__*/jsx(Modal, {
|
|
18532
|
-
title: t("Important notice").toUpperCase(),
|
|
18533
|
-
hideCloseButton: true,
|
|
18534
|
-
children: /*#__PURE__*/jsxs(DisclaimerContainer, {
|
|
18535
|
-
children: [/*#__PURE__*/jsx(Text, {
|
|
18536
|
-
fontSize: "14px",
|
|
18537
|
-
bold: true,
|
|
18538
|
-
style: {
|
|
18539
|
-
marginBottom: "18px",
|
|
18540
|
-
maxWidth: 420
|
|
18541
|
-
},
|
|
18542
|
-
children: t("While we have taken careful steps to ensure a high level of safety for our clients then it is required that you read, comprehend and consent to the disclaimer underneath:")
|
|
18543
|
-
}), /*#__PURE__*/jsx(ListContainer, {
|
|
18544
|
-
children: /*#__PURE__*/jsxs("ul", {
|
|
18545
|
-
children: [/*#__PURE__*/jsx("li", {
|
|
18546
|
-
children: t("Using our platform may involve financial risk or loss of funds.")
|
|
18547
|
-
}), /*#__PURE__*/jsx("li", {
|
|
18548
|
-
children: t("Never put resources into a pool with tokens you do not trust.")
|
|
18549
|
-
}), /*#__PURE__*/jsx("li", {
|
|
18550
|
-
children: t("Never put resources into a pool with tokens whose rules for minting you disagree with.")
|
|
18551
|
-
}), /*#__PURE__*/jsx("li", {
|
|
18552
|
-
children: t("Never contribute beyond what you can stand to lose.")
|
|
18553
|
-
}), /*#__PURE__*/jsx("li", {
|
|
18554
|
-
children: t("Ensure the accuracy of the contracts for the tokens in the pool.")
|
|
18555
|
-
}), /*#__PURE__*/jsx("li", {
|
|
18556
|
-
children: t("Anyone can make a BEP-20 token on Binance Smart Chain with any name, including making counterfeit variants of existing tokens and tokens that claim to represent projects that do not have a token.")
|
|
18557
|
-
})]
|
|
18558
|
-
})
|
|
18559
|
-
}), /*#__PURE__*/jsx(Text, {
|
|
18560
|
-
fontSize: "14px",
|
|
18561
|
-
bold: true,
|
|
18562
|
-
style: {
|
|
18563
|
-
marginBottom: "4px",
|
|
18564
|
-
maxWidth: 420
|
|
18565
|
-
},
|
|
18566
|
-
children: t("Please read CoinSwap space Documentation!")
|
|
18567
|
-
}), /*#__PURE__*/jsx(Text, {
|
|
18568
|
-
fontSize: "14px",
|
|
18569
|
-
bold: true,
|
|
18570
|
-
style: {
|
|
18571
|
-
marginBottom: "22px",
|
|
18572
|
-
maxWidth: 420
|
|
18573
|
-
},
|
|
18574
|
-
children: t("Continuously do your own examination (due diligence)!")
|
|
18575
|
-
}), checkBoxes === null || checkBoxes === void 0 ? void 0 : checkBoxes.map(function (checkBox, index) {
|
|
18576
|
-
return /*#__PURE__*/jsxs(Flex, {
|
|
18577
|
-
alignItems: "center",
|
|
18578
|
-
children: [/*#__PURE__*/jsx(CheckBoxContainer, {
|
|
18579
|
-
children: /*#__PURE__*/jsx(Checkbox, {
|
|
18580
|
-
bordered: true,
|
|
18581
|
-
onClick: function onClick() {
|
|
18582
|
-
return updateCheckState(index);
|
|
18583
|
-
}
|
|
18584
|
-
})
|
|
18585
|
-
}), /*#__PURE__*/jsx(Text, {
|
|
18586
|
-
style: {
|
|
18587
|
-
marginLeft: 20,
|
|
18588
|
-
fontSize: 12
|
|
18589
|
-
},
|
|
18590
|
-
children: checkBox.checkboxDescription
|
|
18591
|
-
})]
|
|
18592
|
-
});
|
|
18593
|
-
}), /*#__PURE__*/jsx(ButtonContainer, {
|
|
18594
|
-
children: /*#__PURE__*/jsxs(Flex, {
|
|
18595
|
-
justifyContent: "space-between",
|
|
18596
|
-
children: [/*#__PURE__*/jsx(Button$1, {
|
|
18597
|
-
$white: true,
|
|
18598
|
-
size: "md",
|
|
18599
|
-
variant: "secondary",
|
|
18600
|
-
onClick: function onClick() {
|
|
18601
|
-
return onClickHandler(false);
|
|
18602
|
-
},
|
|
18603
|
-
$fullWidth: true,
|
|
18604
|
-
children: t("Decline")
|
|
18605
|
-
}), /*#__PURE__*/jsx(Space, {}), /*#__PURE__*/jsx(Button$1, {
|
|
18606
|
-
disabled: some(checkBoxes, {
|
|
18607
|
-
isChecked: false
|
|
18608
|
-
}),
|
|
18609
|
-
size: "md",
|
|
18610
|
-
variant: "primary",
|
|
18611
|
-
onClick: function onClick() {
|
|
18612
|
-
return onClickHandler(true);
|
|
18613
|
-
},
|
|
18614
|
-
$fullWidth: true,
|
|
18615
|
-
children: t("Agree")
|
|
18616
|
-
})]
|
|
18617
|
-
})
|
|
18618
|
-
})]
|
|
18619
|
-
})
|
|
18620
|
-
});
|
|
18621
|
-
};
|
|
18622
|
-
|
|
18623
|
-
var useDisclaimerModal = function useDisclaimerModal(_ref) {
|
|
18624
|
-
var checkBoxesArray = _ref.checkBoxesArray,
|
|
18625
|
-
_onResolve = _ref.onResolve,
|
|
18626
|
-
translations = _ref.translations;
|
|
18627
|
-
var _useModal = useModal(/*#__PURE__*/jsx(DiclaimerModal, {
|
|
18628
|
-
translations: translations,
|
|
18629
|
-
onResolve: function onResolve(res) {
|
|
18630
|
-
return _onResolve(res);
|
|
18631
|
-
},
|
|
18632
|
-
checkBoxesArray: checkBoxesArray
|
|
18633
|
-
}), false),
|
|
18634
|
-
_useModal2 = _slicedToArray(_useModal, 2),
|
|
18635
|
-
onPresentDisclaimerModal = _useModal2[0],
|
|
18636
|
-
onDismiss = _useModal2[1];
|
|
18637
|
-
return {
|
|
18638
|
-
onPresentDisclaimerModal: onPresentDisclaimerModal,
|
|
18639
|
-
onDismiss: onDismiss
|
|
18640
|
-
};
|
|
18641
|
-
};
|
|
18642
|
-
|
|
18643
|
-
var Disclaimer = {
|
|
18644
|
-
checkBox: "By checking this box, you agree that CoinSwap.space is not liable for any financial losses you might incur as a direct or indirect result of investing in any of the pools on the platform."
|
|
18645
|
-
};
|
|
18646
|
-
|
|
18647
|
-
var useDisclaimer = function useDisclaimer(_ref) {
|
|
18648
|
-
var handleLogin = _ref.handleLogin,
|
|
18649
|
-
translations = _ref.translations,
|
|
18650
|
-
setIsConnectWalletPanelOpen = _ref.setIsConnectWalletPanelOpen;
|
|
18651
|
-
var _useWeb3React = useWeb3React(),
|
|
18652
|
-
account = _useWeb3React.account;
|
|
18653
|
-
// Note: deactivate is not available in newer versions of @web3-react/core
|
|
18654
|
-
var deactivate = function deactivate() {}; // Placeholder - implement disconnect logic if needed
|
|
18655
|
-
var _useCookies = useCookies(Cookies.Disclaimer),
|
|
18656
|
-
_useCookies2 = _slicedToArray(_useCookies, 2),
|
|
18657
|
-
disclaimer = _useCookies2[0],
|
|
18658
|
-
setDisclaimer = _useCookies2[1];
|
|
18659
|
-
var _useState = useState(false),
|
|
18660
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18661
|
-
inProgress = _useState2[0],
|
|
18662
|
-
setInProgress = _useState2[1];
|
|
18663
|
-
var _useWalletModal = useWalletModal(handleLogin, deactivate, account, translations),
|
|
18664
|
-
onPresentConnectModal = _useWalletModal.onPresentConnectModal;
|
|
18665
|
-
var _useDisclaimerModal = useDisclaimerModal({
|
|
18666
|
-
checkBoxesArray: [{
|
|
18667
|
-
isChecked: false,
|
|
18668
|
-
checkboxDescription: Disclaimer.checkBox
|
|
18669
|
-
}],
|
|
18670
|
-
onResolve: function onResolve(res) {
|
|
18671
|
-
return _onResolve(res);
|
|
18672
|
-
},
|
|
18673
|
-
translations: translations
|
|
18674
|
-
}),
|
|
18675
|
-
onPresentDisclaimerModal = _useDisclaimerModal.onPresentDisclaimerModal;
|
|
18676
|
-
function _onResolve(res) {
|
|
18677
|
-
setDisclaimer(Cookies.Disclaimer, res.toString());
|
|
18678
|
-
setInProgress(false);
|
|
18679
|
-
if (res) {
|
|
18680
|
-
onPresentConnectModal();
|
|
18681
|
-
}
|
|
18682
|
-
}
|
|
18683
|
-
var callback = useCallback(function () {
|
|
18684
|
-
var disclaimerAccepted = disclaimer === "true";
|
|
18685
|
-
if (!inProgress && !disclaimerAccepted) {
|
|
18686
|
-
setInProgress(true);
|
|
18687
|
-
onPresentDisclaimerModal();
|
|
18688
|
-
}
|
|
18689
|
-
if (disclaimerAccepted) {
|
|
18690
|
-
if (setIsConnectWalletPanelOpen) {
|
|
18691
|
-
setIsConnectWalletPanelOpen(true);
|
|
18692
|
-
} else onPresentConnectModal();
|
|
18693
|
-
}
|
|
18694
|
-
}, [disclaimer, inProgress, setIsConnectWalletPanelOpen, onPresentDisclaimerModal, onPresentConnectModal]);
|
|
18695
|
-
return {
|
|
18696
|
-
callback: callback
|
|
18697
|
-
};
|
|
18698
|
-
};
|
|
18699
|
-
|
|
18700
|
-
var useAutoDisclaimer = function useAutoDisclaimer(_ref) {
|
|
18701
|
-
var login = _ref.login,
|
|
18702
|
-
translations = _ref.translations,
|
|
18703
|
-
title = _ref.title;
|
|
18704
|
-
var _useCookies = useCookies(Cookies.Disclaimer),
|
|
18705
|
-
_useCookies2 = _slicedToArray(_useCookies, 3),
|
|
18706
|
-
disclaimer = _useCookies2[0],
|
|
18707
|
-
setDisclaimer = _useCookies2[1],
|
|
18708
|
-
disclaimerConnector = _useCookies2[2];
|
|
18709
|
-
var _useState = useState(false),
|
|
18710
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18711
|
-
inProgress = _useState2[0],
|
|
18712
|
-
setInProgress = _useState2[1];
|
|
18713
|
-
function _onResolve(res) {
|
|
18714
|
-
setDisclaimer(Cookies.Disclaimer, res.toString());
|
|
18715
|
-
}
|
|
18716
|
-
var _useDisclaimerModal = useDisclaimerModal({
|
|
18717
|
-
checkBoxesArray: [{
|
|
18718
|
-
isChecked: false,
|
|
18719
|
-
checkboxDescription: Disclaimer.checkBox
|
|
18720
|
-
}],
|
|
18721
|
-
onResolve: function onResolve(res) {
|
|
18722
|
-
return _onResolve(res);
|
|
18723
|
-
},
|
|
18724
|
-
translations: translations
|
|
18725
|
-
}),
|
|
18726
|
-
onPresentDisclaimerModal = _useDisclaimerModal.onPresentDisclaimerModal;
|
|
18727
|
-
useEffect(function () {
|
|
18728
|
-
var disclaimerAccepted = disclaimer === "true";
|
|
18729
|
-
if (!inProgress && !disclaimerAccepted) {
|
|
18730
|
-
setInProgress(true);
|
|
18731
|
-
onPresentDisclaimerModal();
|
|
18732
|
-
}
|
|
18733
|
-
if (disclaimerAccepted) {
|
|
18734
|
-
var connectorId = disclaimerConnector;
|
|
18735
|
-
if (connectorId && connectorId !== ConnectorNames$1.BSC) {
|
|
18736
|
-
login(connectorId, title);
|
|
18737
|
-
}
|
|
18738
|
-
}
|
|
18739
|
-
}, [disclaimer, disclaimerConnector, inProgress, login, onPresentDisclaimerModal, title]);
|
|
18740
|
-
};
|
|
18741
|
-
|
|
18742
18322
|
var _templateObject$c, _templateObject2$9, _templateObject3$8, _templateObject4$7, _templateObject5$5;
|
|
18323
|
+
var useWalletModal = null;
|
|
18324
|
+
var useDisclaimer = null;
|
|
18325
|
+
var VerifiedWalletIcon = null;
|
|
18326
|
+
try {
|
|
18327
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18328
|
+
var walletModal = require("../../WalletModal");
|
|
18329
|
+
useWalletModal = walletModal.useWalletModal;
|
|
18330
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18331
|
+
var disclaimerModal = require("../../DisclaimerModal");
|
|
18332
|
+
useDisclaimer = disclaimerModal.useDisclaimer;
|
|
18333
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18334
|
+
var connectVerifyPanel = require("../../ConnectVerifyPanel/components");
|
|
18335
|
+
VerifiedWalletIcon = connectVerifyPanel.VerifiedWalletIcon;
|
|
18336
|
+
} catch (e) {
|
|
18337
|
+
// @web3-react/core is not available - wallet functionality will be disabled
|
|
18338
|
+
console.warn("@web3-react/core is not available. Wallet features in Menu will be disabled.");
|
|
18339
|
+
}
|
|
18743
18340
|
var UserBlockWrapper = styled.div.withConfig({
|
|
18744
18341
|
displayName: "UserBlockWrapper",
|
|
18745
18342
|
componentId: "sc-1speva4-0"
|
|
@@ -18782,6 +18379,7 @@ var Account = styled(Text).withConfig({
|
|
|
18782
18379
|
return theme.mediaQueries.mobile;
|
|
18783
18380
|
});
|
|
18784
18381
|
var UserBlock = function UserBlock(_ref8) {
|
|
18382
|
+
var _useWalletModal, _useDisclaimer;
|
|
18785
18383
|
var handleLogin = _ref8.handleLogin,
|
|
18786
18384
|
account = _ref8.account,
|
|
18787
18385
|
login = _ref8.login,
|
|
@@ -18790,36 +18388,35 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
18790
18388
|
setIsConnectWalletPanelOpen = _ref8.setIsConnectWalletPanelOpen,
|
|
18791
18389
|
isUserVerified = _ref8.isUserVerified;
|
|
18792
18390
|
var t = translations || getTranslations;
|
|
18793
|
-
|
|
18794
|
-
|
|
18391
|
+
// Only use wallet hooks if available
|
|
18392
|
+
useWalletModal ? (_useWalletModal = useWalletModal(login, logout, account, translations)) === null || _useWalletModal === void 0 ? void 0 : _useWalletModal.onPresentAccountModal : null;
|
|
18795
18393
|
var accountEllipsis = account ? "".concat(account.substring(0, 4), "...").concat(account.substring(account.length - 4)) : null;
|
|
18796
|
-
|
|
18797
|
-
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
_useDisclaimer.callback;
|
|
18394
|
+
useDisclaimer ? (_useDisclaimer = useDisclaimer({
|
|
18395
|
+
handleLogin: handleLogin,
|
|
18396
|
+
translations: translations,
|
|
18397
|
+
setIsConnectWalletPanelOpen: setIsConnectWalletPanelOpen
|
|
18398
|
+
})) === null || _useDisclaimer === void 0 ? void 0 : _useDisclaimer.callback : null;
|
|
18802
18399
|
return /*#__PURE__*/jsx(UserBlockWrapper, {
|
|
18803
18400
|
children: account ? /*#__PURE__*/jsxs(AccountButton, {
|
|
18804
|
-
isUserVerified: isUserVerified,
|
|
18401
|
+
isUserVerified: isUserVerified || false,
|
|
18805
18402
|
variant: "tertiary",
|
|
18806
18403
|
onClick: function onClick() {
|
|
18807
|
-
setIsConnectWalletPanelOpen(true);
|
|
18404
|
+
setIsConnectWalletPanelOpen === null || setIsConnectWalletPanelOpen === void 0 || setIsConnectWalletPanelOpen(true);
|
|
18808
18405
|
},
|
|
18809
|
-
children: [isUserVerified ? /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
18406
|
+
children: [isUserVerified && VerifiedWalletIcon ? /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
18810
18407
|
$opac: true
|
|
18811
18408
|
}) : /*#__PURE__*/jsx(VerifyAddressIndicator, {
|
|
18812
18409
|
fontSize: "12px",
|
|
18813
18410
|
fontWeight: 500,
|
|
18814
18411
|
children: "Login with Web3"
|
|
18815
18412
|
}), /*#__PURE__*/jsx(Account, {
|
|
18816
|
-
isUserVerified: isUserVerified,
|
|
18413
|
+
isUserVerified: isUserVerified || false,
|
|
18817
18414
|
fontSize: "14px",
|
|
18818
18415
|
children: accountEllipsis
|
|
18819
18416
|
})]
|
|
18820
18417
|
}) : /*#__PURE__*/jsx(ConnectButton, {
|
|
18821
18418
|
onClick: function onClick() {
|
|
18822
|
-
setIsConnectWalletPanelOpen(true);
|
|
18419
|
+
setIsConnectWalletPanelOpen === null || setIsConnectWalletPanelOpen === void 0 || setIsConnectWalletPanelOpen(true);
|
|
18823
18420
|
},
|
|
18824
18421
|
children: t("Connect wallet")
|
|
18825
18422
|
})
|
|
@@ -20129,4 +19726,4 @@ var ResetCSS = createGlobalStyle(_templateObject || (_templateObject = _taggedTe
|
|
|
20129
19726
|
return theme.colors.input;
|
|
20130
19727
|
});
|
|
20131
19728
|
|
|
20132
|
-
export { AccountInfo, ActiveDot$1 as ActiveDot, ActivityBadge, ActivityComponent, ActivityDescription, ActivityWrapper, Icon$2D as AddIcon, Icon$2C as AddInCircleIcon, Icon$1m as AddMoney, AddToCap, Alert, Icon$2B as ArrowBackIcon, Icon$1M as ArrowBackwardIcon, Icon$2A as ArrowDownIcon, Icon$2y as ArrowDropDownIcon, Icon$2x as ArrowDropUpIcon, Icon$2w as ArrowForwardIcon, Icon$2z as ArrowUpIcon, Icon$2v as AutoRenewIcon, Icon$19 as BNB, Icon$17 as BNBWhite, Icon$1k as BSCScanIcon, BackgroundImage, BannerSlider, GridLayout$1 as BaseLayout, Icon$1e as BellIcon, Icon$2u as BinanceIcon, Icon$2F as BlockIcon, Icon$1L as BlogIcon, Box, Breadcrumbs, Icon$1J as BurnFilledIcon, Icon$1S as BurnIcon, Button$1 as Button, ButtonActivityMenu, ButtonActivityMenuItem, ButtonMenu, ButtonMenuItem, ButtonSwitch, ButtonSwitchMenu, buttonVariant as ButtonVariant, Icon$14 as CHIcon, Icon$18 as CSS, Icon$T as CSSPowerIcon, Icon$21 as CSSRoundIcon, Icon$1Y as CSSRoundIconLight, Icon$2r as CalculateIcon, Icon$2s as CalendarIcon, CapCounter, Card, CardBody, CardFooter, CardHeader, CardRibbon, Icon$2t as CardViewIcon, GridLayout as CardsLayout, Icon$1b as CheckCircleIcon, Checkbox, Icon$2p as CheckmarkBackground, Icon$2H as CheckmarkCircleIcon, Icon$2q as CheckmarkIcon, Icon$2o as ChevronDownIcon, Icon$2n as ChevronLeftIcon, Icon$2m as ChevronRightIcon, Icon$2l as ChevronUpIcon, Icon$1d as ClockIcon, Icon$2k as CloseIcon, Icon$2j as CloseMenuIcon, Icon$2i as CogIcon, Icon$1I as CollapseIcon, Icon$2h as CommunityIcon,
|
|
19729
|
+
export { AccountInfo, ActiveDot$1 as ActiveDot, ActivityBadge, ActivityComponent, ActivityDescription, ActivityWrapper, Icon$2D as AddIcon, Icon$2C as AddInCircleIcon, Icon$1m as AddMoney, AddToCap, Alert, Icon$2B as ArrowBackIcon, Icon$1M as ArrowBackwardIcon, Icon$2A as ArrowDownIcon, Icon$2y as ArrowDropDownIcon, Icon$2x as ArrowDropUpIcon, Icon$2w as ArrowForwardIcon, Icon$2z as ArrowUpIcon, Icon$2v as AutoRenewIcon, Icon$19 as BNB, Icon$17 as BNBWhite, Icon$1k as BSCScanIcon, BackgroundImage, BannerSlider, GridLayout$1 as BaseLayout, Icon$1e as BellIcon, Icon$2u as BinanceIcon, Icon$2F as BlockIcon, Icon$1L as BlogIcon, Box, Breadcrumbs, Icon$1J as BurnFilledIcon, Icon$1S as BurnIcon, Button$1 as Button, ButtonActivityMenu, ButtonActivityMenuItem, ButtonMenu, ButtonMenuItem, ButtonSwitch, ButtonSwitchMenu, buttonVariant as ButtonVariant, Icon$14 as CHIcon, Icon$18 as CSS, Icon$T as CSSPowerIcon, Icon$21 as CSSRoundIcon, Icon$1Y as CSSRoundIconLight, Icon$2r as CalculateIcon, Icon$2s as CalendarIcon, CapCounter, Card, CardBody, CardFooter, CardHeader, CardRibbon, Icon$2t as CardViewIcon, GridLayout as CardsLayout, Icon$1b as CheckCircleIcon, Checkbox, Icon$2p as CheckmarkBackground, Icon$2H as CheckmarkCircleIcon, Icon$2q as CheckmarkIcon, Icon$2o as ChevronDownIcon, Icon$2n as ChevronLeftIcon, Icon$2m as ChevronRightIcon, Icon$2l as ChevronUpIcon, Icon$1d as ClockIcon, Icon$2k as CloseIcon, Icon$2j as CloseMenuIcon, Icon$2i as CogIcon, Icon$1I as CollapseIcon, Icon$2h as CommunityIcon, Cookies, Icon$2g as CopyIcon, CopyLinkCard, CoreTag, Icon$1y as DashboardIcon, DetailsRow, Icon$1n as DiscordIcon, Icon$1H as DocIcon, Icon$1g as DocumentInfo, Icon$1l as Dolar, Dropdown, Icon$15 as ENIcon, Icon$16 as ETHWhite, EarnedCarouselWrapper, EarnedCarouselWrapperBody, EarnedCarouselWrapperHeader, EarnedToken, EarnedWrapper, EarnedWrapperBody, EarnedWrapperHeader, Icon$2G as ErrorIcon, Icon$1G as ExpandIcon, ExtraIcon, Icon$1p as FacebookIcon, Icon$1F as FarmIcon, Flex, Icon$1o as GitHubIcon, Heading, Icon$2f as HelpIcon, Icon$1v as HomeIcon, IDOState, Icon$1E as IFOIcon, Icon$13 as INIcon, IconButton, Icon$Z as IdoCommingSoonIcon, IdoExtensionsModal, Icon$Y as IdoFirstStep, Icon$V as IdoFourthStep, IdoInfoDescription, IdoParticipationStep, Icon$X as IdoSecondStep, Icon$W as IdoThirdStep, Image, InfoBox$1 as InfoBox, InfoBox as InfoBoxBody, InfoBoxFooter, InfoBoxHeader, Icon$1U as InfoFull, Icon$2E as InfoIcon, Input, Link, LinkExternal, LiquidityContainer, List, Icon$2e as ListViewIcon, Icon$2d as LogoIcon, Icon$1w as LogoTextIcon, Icon$1s as LogoThin, Icon$1R as LogoutIcon, MENU_ACCORDION_HEIGHT, MENU_ENTRY_HEIGHT, MENU_HEIGHT, Icon$1r as MediumIcon, Menu, Icon$1f as MetamaskIcon, Icon$1W as MinusBackgroundIcon, Icon$2c as MinusIcon, Modal, ModalProvider, MuiDateInput, MuiFileInput, MuiTextInput, NewsCarousel, Icon$1V as NoProfileAvatarIcon, Icon$_ as OpenLiveNFT, Icon$2b as OpenNewIcon, Icon$1X as PlusBackgroundIcon, PriceContainer, Icon$2a as PrizeIcon, Progress, ProjectName, ProjectNameColumn, ProjectTicker, Radio, RampButton, RampButtonLite, RatioColumn, ReferralBanner, Icon$1D as ReferralIcon, Icon$1a as RefreshIcon, Icon$29 as RemoveIcon, Icon$1T as RepeatIcon, ResetCSS, RowTitle, RowValue, SIDEBAR_WIDTH_FULL, SIDEBAR_WIDTH_REDUCED, Icon$10 as SPIcon, Icon$26 as SearchIcon, Icon$1Q as SettingsIcon, Icon$$ as Shibu, Skeleton, Icon$1C as SocialIcon, Icon$1x as SpaceIcon, SpaceInfoTableRow, SpaceInfoTableWrapper, SpacePadDates, Icon$U as SpacePadHero, SpacePadInfoRow, SpacePadKeyMetrics, SpacePadLaunch, SpacePadProgressBar, SpacePadProject, SpacePadProjectDetails, SpacePadSchedule, SpaceProjectName, Spinner, Icon$1B as StackingIcon, Icon$1z as StarFilledIcon, Icon$1A as StarIcon, Svg, SwapButton, Icon$1j as SwapTokenInfo, Icon$25 as SwapVertIcon, Icon$24 as SyncAltIcon, Icon$23 as SyncIcon, Icon$11 as THIcon, TableActionBox, TableRow, Tag, tagVariant as TagVariant, Icon$1P as TargetIcon, Icon$1u as TelegramIcon, Text, TierCard, Timer, TimerDescription, ToastContainer, Toggle$1 as Toggle, Tokens, TopTokensContainer, Icon$1t as TwitterIcon, Icon$20 as UserAvatar, Icon$1$ as UserAvatar2, Icon$1_ as UserCheckIcon, Icon$1c as UserIcon, UserTiers, Icon$1Z as UserUncheckIcon, Icon$12 as VIEIcon, Value, ValueFull, Icon$1O as ValueIcon, VerificationModal, Icon$28 as VerifiedIcon, VersionContainer, Icon$1h as VisaLogo, Icon$1i as VisaName, Icon$1K as VotingIcon, WalletCap, Icon$1N as WalletIcon, Icon$22 as WarningIcon, Icon$27 as Won, Icon$1q as YouTubeIcon, variants$3 as alertVariants, baseColors, byTextAscending, byTextDescending, darkTheme as dark, darkColors, escapeRegExp, getColor, getContentfulData, getExternalLinkProps, lightTheme as light, lightColors, links, makeRender, links as menuConfig, menuLinks, moveUsercomWidget, socials, types as toastTypes, useConnectWalletEvent, useCookies, useIdoExtensionsModal, useMatchBreakpoints, useMenuConfig, useMobile, useModal, useNotification, useParticleBurst, useTable, useVerificationModal, useVoting, useWindowSize, verifyWallet };
|