@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.cjs.js
CHANGED
|
@@ -21,7 +21,6 @@ var material = require('@mui/material');
|
|
|
21
21
|
var noop = require('lodash/noop');
|
|
22
22
|
var _ = require('lodash');
|
|
23
23
|
var reactRouterDom = require('react-router-dom');
|
|
24
|
-
var core = require('@web3-react/core');
|
|
25
24
|
var reactTransitionGroup = require('react-transition-group');
|
|
26
25
|
var formik = require('formik');
|
|
27
26
|
var Yup = require('yup');
|
|
@@ -330,9 +329,9 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
330
329
|
};
|
|
331
330
|
};
|
|
332
331
|
|
|
333
|
-
var _templateObject$
|
|
334
|
-
var rotate$1 = styledComponents.keyframes(_templateObject$
|
|
335
|
-
var spinStyle = styledComponents.css(_templateObject2$
|
|
332
|
+
var _templateObject$2a, _templateObject2$15, _templateObject3$N;
|
|
333
|
+
var rotate$1 = styledComponents.keyframes(_templateObject$2a || (_templateObject$2a = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
334
|
+
var spinStyle = styledComponents.css(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
336
335
|
var Svg = styledComponents.styled("svg").withConfig({
|
|
337
336
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
338
337
|
return !['$spin', '$opac'].includes(prop);
|
|
@@ -340,7 +339,7 @@ var Svg = styledComponents.styled("svg").withConfig({
|
|
|
340
339
|
}).withConfig({
|
|
341
340
|
displayName: "Svg",
|
|
342
341
|
componentId: "sc-1oa1mzv-0"
|
|
343
|
-
})(_templateObject3$
|
|
342
|
+
})(_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) {
|
|
344
343
|
var theme = _ref.theme,
|
|
345
344
|
_ref$color = _ref.color,
|
|
346
345
|
color = _ref$color === void 0 ? "text" : _ref$color;
|
|
@@ -374,10 +373,10 @@ var Icon$2H = function Icon(props) {
|
|
|
374
373
|
}));
|
|
375
374
|
};
|
|
376
375
|
|
|
377
|
-
var _excluded$
|
|
376
|
+
var _excluded$12 = ["fill"];
|
|
378
377
|
var Icon$2G = function Icon(_ref) {
|
|
379
378
|
var fill = _ref.fill,
|
|
380
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
379
|
+
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
381
380
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
382
381
|
viewBox: "0 0 20 20"
|
|
383
382
|
}, props), {}, {
|
|
@@ -411,7 +410,7 @@ var Icon$2E = function Icon(props) {
|
|
|
411
410
|
}));
|
|
412
411
|
};
|
|
413
412
|
|
|
414
|
-
var _templateObject$
|
|
413
|
+
var _templateObject$29;
|
|
415
414
|
var getColor$1 = function getColor(_ref) {
|
|
416
415
|
var color = _ref.color,
|
|
417
416
|
theme = _ref.theme;
|
|
@@ -429,7 +428,7 @@ var Text = styledComponents.styled.div.withConfig({
|
|
|
429
428
|
}).withConfig({
|
|
430
429
|
displayName: "Text",
|
|
431
430
|
componentId: "sc-nskjht-0"
|
|
432
|
-
})(_templateObject$
|
|
431
|
+
})(_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) {
|
|
433
432
|
var $bold = _ref3.$bold,
|
|
434
433
|
bold = _ref3.bold;
|
|
435
434
|
return $bold || bold ? 700 : 400;
|
|
@@ -476,7 +475,7 @@ var variants$4 = {
|
|
|
476
475
|
OUTLINE: "outline"
|
|
477
476
|
};
|
|
478
477
|
|
|
479
|
-
var _templateObject$
|
|
478
|
+
var _templateObject$28;
|
|
480
479
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
481
480
|
var $isLoading = _ref.$isLoading,
|
|
482
481
|
theme = _ref.theme;
|
|
@@ -508,7 +507,7 @@ var StyledButton$2 = styledComponents.styled.button.withConfig({
|
|
|
508
507
|
}).withConfig({
|
|
509
508
|
displayName: "StyledButton",
|
|
510
509
|
componentId: "sc-pxfjak-0"
|
|
511
|
-
})(_templateObject$
|
|
510
|
+
})(_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) {
|
|
512
511
|
var $white = _ref4.$white;
|
|
513
512
|
return $white ? "white" : getButtonVariantProp$3("color");
|
|
514
513
|
}, function (_ref5) {
|
|
@@ -530,7 +529,7 @@ var StyledButton$2 = styledComponents.styled.button.withConfig({
|
|
|
530
529
|
return theme.colors.secondary;
|
|
531
530
|
}, getButtonVariantProp$3("backgroundActive"), getButtonVariantProp$3("boxShadowActive"), getDisabledStyles$3, removePointerEvents$3, styledSystem.space);
|
|
532
531
|
|
|
533
|
-
var _excluded$
|
|
532
|
+
var _excluded$11 = ["startIcon", "style", "endIcon", "children", "external", "$isLoading", "disabled", "$white", "$fullWidth", "fullWidth", "isLoading", "white"],
|
|
534
533
|
_excluded2$2 = ["isActive"];
|
|
535
534
|
var Button$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
536
535
|
var startIcon = _ref.startIcon,
|
|
@@ -547,7 +546,7 @@ var Button$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
547
546
|
fullWidthProp = _ref.fullWidth,
|
|
548
547
|
isLoadingProp = _ref.isLoading,
|
|
549
548
|
whiteProp = _ref.white,
|
|
550
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
549
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
551
550
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
552
551
|
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
553
552
|
var $white = $whiteProp || whiteProp;
|
|
@@ -584,10 +583,10 @@ var Icon$2D = function Icon(props) {
|
|
|
584
583
|
}));
|
|
585
584
|
};
|
|
586
585
|
|
|
587
|
-
var _excluded$
|
|
586
|
+
var _excluded$10 = ["fill"];
|
|
588
587
|
var Icon$2C = function Icon(_ref) {
|
|
589
588
|
var fill = _ref.fill,
|
|
590
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
589
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
591
590
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
592
591
|
viewBox: "0 0 20 20"
|
|
593
592
|
}, props), {}, {
|
|
@@ -618,10 +617,10 @@ var Icon$2B = function Icon() {
|
|
|
618
617
|
});
|
|
619
618
|
};
|
|
620
619
|
|
|
621
|
-
var _excluded
|
|
620
|
+
var _excluded$$ = ["fill"];
|
|
622
621
|
var Icon$2A = function Icon(_ref) {
|
|
623
622
|
var fill = _ref.fill,
|
|
624
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
623
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
625
624
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
626
625
|
viewBox: "0 0 24 25"
|
|
627
626
|
}, props), {}, {
|
|
@@ -632,10 +631,10 @@ var Icon$2A = function Icon(_ref) {
|
|
|
632
631
|
}));
|
|
633
632
|
};
|
|
634
633
|
|
|
635
|
-
var _excluded
|
|
634
|
+
var _excluded$_ = ["fill"];
|
|
636
635
|
var Icon$2z = function Icon(_ref) {
|
|
637
636
|
var fill = _ref.fill,
|
|
638
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
637
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
639
638
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
640
639
|
viewBox: "0 0 24 25"
|
|
641
640
|
}, props), {}, {
|
|
@@ -678,10 +677,10 @@ var Icon$2x = function Icon(props) {
|
|
|
678
677
|
}));
|
|
679
678
|
};
|
|
680
679
|
|
|
681
|
-
var _excluded$
|
|
680
|
+
var _excluded$Z = ["fill"];
|
|
682
681
|
var Icon$2w = function Icon(_ref) {
|
|
683
682
|
var fill = _ref.fill,
|
|
684
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
683
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
685
684
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
686
685
|
viewBox: "0 0 24 25"
|
|
687
686
|
}, props), {}, {
|
|
@@ -728,10 +727,10 @@ var Icon$2t = function Icon(props) {
|
|
|
728
727
|
}));
|
|
729
728
|
};
|
|
730
729
|
|
|
731
|
-
var _excluded$
|
|
730
|
+
var _excluded$Y = ["fill"];
|
|
732
731
|
var Icon$2s = function Icon(_ref) {
|
|
733
732
|
var fill = _ref.fill,
|
|
734
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
733
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
735
734
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
736
735
|
viewBox: "0 0 16 16"
|
|
737
736
|
}, props), {}, {
|
|
@@ -743,10 +742,10 @@ var Icon$2s = function Icon(_ref) {
|
|
|
743
742
|
}));
|
|
744
743
|
};
|
|
745
744
|
|
|
746
|
-
var _excluded$
|
|
745
|
+
var _excluded$X = ["fill"];
|
|
747
746
|
var Icon$2r = function Icon(_ref) {
|
|
748
747
|
var fill = _ref.fill,
|
|
749
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
748
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
750
749
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
751
750
|
viewBox: "0 0 25 24"
|
|
752
751
|
}, props), {}, {
|
|
@@ -770,11 +769,11 @@ var Icon$2q = function Icon(props) {
|
|
|
770
769
|
}));
|
|
771
770
|
};
|
|
772
771
|
|
|
773
|
-
var _excluded$
|
|
772
|
+
var _excluded$W = ["fill", "fillOpacity"];
|
|
774
773
|
var Icon$2p = function Icon(_ref) {
|
|
775
774
|
var fill = _ref.fill,
|
|
776
775
|
fillOpacity = _ref.fillOpacity,
|
|
777
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
776
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
778
777
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
779
778
|
children: /*#__PURE__*/jsxRuntime.jsx("path", {
|
|
780
779
|
fillRule: "evenodd",
|
|
@@ -786,10 +785,10 @@ var Icon$2p = function Icon(_ref) {
|
|
|
786
785
|
}));
|
|
787
786
|
};
|
|
788
787
|
|
|
789
|
-
var _excluded$
|
|
788
|
+
var _excluded$V = ["fill"];
|
|
790
789
|
var Icon$2o = function Icon(_ref) {
|
|
791
790
|
var fill = _ref.fill,
|
|
792
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
791
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
793
792
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
794
793
|
viewBox: "0 0 24 24"
|
|
795
794
|
}, props), {}, {
|
|
@@ -800,10 +799,10 @@ var Icon$2o = function Icon(_ref) {
|
|
|
800
799
|
}));
|
|
801
800
|
};
|
|
802
801
|
|
|
803
|
-
var _excluded$
|
|
802
|
+
var _excluded$U = ["fill"];
|
|
804
803
|
var Icon$2n = function Icon(_ref) {
|
|
805
804
|
var fill = _ref.fill,
|
|
806
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
805
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
807
806
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
808
807
|
viewBox: "0 0 24 24"
|
|
809
808
|
}, props), {}, {
|
|
@@ -814,10 +813,10 @@ var Icon$2n = function Icon(_ref) {
|
|
|
814
813
|
}));
|
|
815
814
|
};
|
|
816
815
|
|
|
817
|
-
var _excluded$
|
|
816
|
+
var _excluded$T = ["fill"];
|
|
818
817
|
var Icon$2m = function Icon(_ref) {
|
|
819
818
|
var fill = _ref.fill,
|
|
820
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
819
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
821
820
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
822
821
|
viewBox: "0 0 24 24"
|
|
823
822
|
}, props), {}, {
|
|
@@ -828,10 +827,10 @@ var Icon$2m = function Icon(_ref) {
|
|
|
828
827
|
}));
|
|
829
828
|
};
|
|
830
829
|
|
|
831
|
-
var _excluded$
|
|
830
|
+
var _excluded$S = ["fill"];
|
|
832
831
|
var Icon$2l = function Icon(_ref) {
|
|
833
832
|
var fill = _ref.fill,
|
|
834
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
833
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
835
834
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
836
835
|
viewBox: "0 0 24 24"
|
|
837
836
|
}, props), {}, {
|
|
@@ -842,10 +841,10 @@ var Icon$2l = function Icon(_ref) {
|
|
|
842
841
|
}));
|
|
843
842
|
};
|
|
844
843
|
|
|
845
|
-
var _excluded$
|
|
844
|
+
var _excluded$R = ["fill"];
|
|
846
845
|
var Icon$2k = function Icon(_ref) {
|
|
847
846
|
var fill = _ref.fill,
|
|
848
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
847
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
849
848
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
850
849
|
viewBox: "0 0 20 20"
|
|
851
850
|
}, props), {}, {
|
|
@@ -859,10 +858,10 @@ var Icon$2k = function Icon(_ref) {
|
|
|
859
858
|
}));
|
|
860
859
|
};
|
|
861
860
|
|
|
862
|
-
var _excluded$
|
|
861
|
+
var _excluded$Q = ["fill"];
|
|
863
862
|
var Icon$2j = function Icon(_ref) {
|
|
864
863
|
var fill = _ref.fill;
|
|
865
|
-
_objectWithoutProperties(_ref, _excluded$
|
|
864
|
+
_objectWithoutProperties(_ref, _excluded$Q);
|
|
866
865
|
return /*#__PURE__*/jsxRuntime.jsx("svg", {
|
|
867
866
|
width: "17",
|
|
868
867
|
height: "17",
|
|
@@ -878,10 +877,10 @@ var Icon$2j = function Icon(_ref) {
|
|
|
878
877
|
});
|
|
879
878
|
};
|
|
880
879
|
|
|
881
|
-
var _excluded$
|
|
880
|
+
var _excluded$P = ["fill"];
|
|
882
881
|
var Icon$2i = function Icon(_ref) {
|
|
883
882
|
var fill = _ref.fill,
|
|
884
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
883
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
885
884
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
886
885
|
viewBox: "0 0 20 22"
|
|
887
886
|
}, props), {}, {
|
|
@@ -917,10 +916,10 @@ var Icon$2g = function Icon(props) {
|
|
|
917
916
|
}));
|
|
918
917
|
};
|
|
919
918
|
|
|
920
|
-
var _excluded$
|
|
919
|
+
var _excluded$O = ["fill"];
|
|
921
920
|
var Icon$2f = function Icon(_ref) {
|
|
922
921
|
var fill = _ref.fill,
|
|
923
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
922
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
924
923
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
925
924
|
viewBox: "0 0 20 20"
|
|
926
925
|
}, props), {}, {
|
|
@@ -990,10 +989,10 @@ var Icon$2c = function Icon(props) {
|
|
|
990
989
|
}));
|
|
991
990
|
};
|
|
992
991
|
|
|
993
|
-
var _excluded$
|
|
992
|
+
var _excluded$N = ["fill"];
|
|
994
993
|
var Icon$2b = function Icon(_ref) {
|
|
995
994
|
var fill = _ref.fill,
|
|
996
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
995
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
997
996
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
998
997
|
viewBox: "0 0 14 14"
|
|
999
998
|
}, props), {}, {
|
|
@@ -1149,10 +1148,10 @@ var Icon$27 = function Icon(props) {
|
|
|
1149
1148
|
}));
|
|
1150
1149
|
};
|
|
1151
1150
|
|
|
1152
|
-
var _excluded$
|
|
1151
|
+
var _excluded$M = ["fill"];
|
|
1153
1152
|
var Icon$26 = function Icon(_ref) {
|
|
1154
1153
|
var fill = _ref.fill,
|
|
1155
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1154
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
1156
1155
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1157
1156
|
viewBox: "0 0 24 24"
|
|
1158
1157
|
}, props), {}, {
|
|
@@ -1414,10 +1413,10 @@ var Icon$1Y = function Icon(props) {
|
|
|
1414
1413
|
}));
|
|
1415
1414
|
};
|
|
1416
1415
|
|
|
1417
|
-
var _excluded$
|
|
1416
|
+
var _excluded$L = ["fill"];
|
|
1418
1417
|
var Icon$1X = function Icon(_ref) {
|
|
1419
1418
|
var fill = _ref.fill,
|
|
1420
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1419
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
1421
1420
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1422
1421
|
width: "20",
|
|
1423
1422
|
height: "20",
|
|
@@ -1430,10 +1429,10 @@ var Icon$1X = function Icon(_ref) {
|
|
|
1430
1429
|
}));
|
|
1431
1430
|
};
|
|
1432
1431
|
|
|
1433
|
-
var _excluded$
|
|
1432
|
+
var _excluded$K = ["fill"];
|
|
1434
1433
|
var Icon$1W = function Icon(_ref) {
|
|
1435
1434
|
var fill = _ref.fill,
|
|
1436
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1435
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
1437
1436
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1438
1437
|
viewBox: "0 0 20 20"
|
|
1439
1438
|
}, props), {}, {
|
|
@@ -1506,10 +1505,10 @@ var Icon$1U = function Icon(props) {
|
|
|
1506
1505
|
}));
|
|
1507
1506
|
};
|
|
1508
1507
|
|
|
1509
|
-
var _excluded$
|
|
1508
|
+
var _excluded$J = ["fill"];
|
|
1510
1509
|
var Icon$1T = function Icon(_ref) {
|
|
1511
1510
|
var fill = _ref.fill,
|
|
1512
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1511
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
1513
1512
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1514
1513
|
viewBox: "0 0 20 20"
|
|
1515
1514
|
}, props), {}, {
|
|
@@ -1520,10 +1519,10 @@ var Icon$1T = function Icon(_ref) {
|
|
|
1520
1519
|
}));
|
|
1521
1520
|
};
|
|
1522
1521
|
|
|
1523
|
-
var _excluded$
|
|
1522
|
+
var _excluded$I = ["fill"];
|
|
1524
1523
|
var Icon$1S = function Icon(_ref) {
|
|
1525
1524
|
var fill = _ref.fill,
|
|
1526
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1525
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
1527
1526
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1528
1527
|
viewBox: "0 0 24 24"
|
|
1529
1528
|
}, props), {}, {
|
|
@@ -1607,10 +1606,10 @@ var Icon$1N = function Icon(props) {
|
|
|
1607
1606
|
}));
|
|
1608
1607
|
};
|
|
1609
1608
|
|
|
1610
|
-
var _excluded$
|
|
1609
|
+
var _excluded$H = ["fill"];
|
|
1611
1610
|
var Icon$1M = function Icon(_ref) {
|
|
1612
1611
|
var fill = _ref.fill,
|
|
1613
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1612
|
+
props = _objectWithoutProperties(_ref, _excluded$H);
|
|
1614
1613
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1615
1614
|
viewBox: "0 0 24 25"
|
|
1616
1615
|
}, props), {}, {
|
|
@@ -1621,10 +1620,10 @@ var Icon$1M = function Icon(_ref) {
|
|
|
1621
1620
|
}));
|
|
1622
1621
|
};
|
|
1623
1622
|
|
|
1624
|
-
var _excluded$
|
|
1623
|
+
var _excluded$G = ["fill"];
|
|
1625
1624
|
var Icon$1L = function Icon(_ref) {
|
|
1626
1625
|
var fill = _ref.fill,
|
|
1627
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1626
|
+
props = _objectWithoutProperties(_ref, _excluded$G);
|
|
1628
1627
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1629
1628
|
viewBox: "0 0 24 24"
|
|
1630
1629
|
}, props), {}, {
|
|
@@ -1635,10 +1634,10 @@ var Icon$1L = function Icon(_ref) {
|
|
|
1635
1634
|
}));
|
|
1636
1635
|
};
|
|
1637
1636
|
|
|
1638
|
-
var _excluded$
|
|
1637
|
+
var _excluded$F = ["fill"];
|
|
1639
1638
|
var Icon$1K = function Icon(_ref) {
|
|
1640
1639
|
var fill = _ref.fill,
|
|
1641
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1640
|
+
props = _objectWithoutProperties(_ref, _excluded$F);
|
|
1642
1641
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1643
1642
|
viewBox: "0 0 24 24"
|
|
1644
1643
|
}, props), {}, {
|
|
@@ -1649,10 +1648,10 @@ var Icon$1K = function Icon(_ref) {
|
|
|
1649
1648
|
}));
|
|
1650
1649
|
};
|
|
1651
1650
|
|
|
1652
|
-
var _excluded$
|
|
1651
|
+
var _excluded$E = ["fill"];
|
|
1653
1652
|
var Icon$1J = function Icon(_ref) {
|
|
1654
1653
|
var fill = _ref.fill,
|
|
1655
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1654
|
+
props = _objectWithoutProperties(_ref, _excluded$E);
|
|
1656
1655
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
1657
1656
|
viewBox: "0 0 24 24"
|
|
1658
1657
|
}, props), {}, {
|
|
@@ -1666,10 +1665,10 @@ var Icon$1J = function Icon(_ref) {
|
|
|
1666
1665
|
}));
|
|
1667
1666
|
};
|
|
1668
1667
|
|
|
1669
|
-
var _excluded$
|
|
1668
|
+
var _excluded$D = ["fill"];
|
|
1670
1669
|
var Icon$1I = function Icon(_ref) {
|
|
1671
1670
|
var fill = _ref.fill,
|
|
1672
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1671
|
+
props = _objectWithoutProperties(_ref, _excluded$D);
|
|
1673
1672
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1674
1673
|
viewBox: "0 0 14 14"
|
|
1675
1674
|
}, props), {}, {
|
|
@@ -1682,10 +1681,10 @@ var Icon$1I = function Icon(_ref) {
|
|
|
1682
1681
|
}));
|
|
1683
1682
|
};
|
|
1684
1683
|
|
|
1685
|
-
var _excluded$
|
|
1684
|
+
var _excluded$C = ["fill"];
|
|
1686
1685
|
var Icon$1H = function Icon(_ref) {
|
|
1687
1686
|
var fill = _ref.fill,
|
|
1688
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1687
|
+
props = _objectWithoutProperties(_ref, _excluded$C);
|
|
1689
1688
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1690
1689
|
viewBox: "0 0 24 25"
|
|
1691
1690
|
}, props), {}, {
|
|
@@ -1696,10 +1695,10 @@ var Icon$1H = function Icon(_ref) {
|
|
|
1696
1695
|
}));
|
|
1697
1696
|
};
|
|
1698
1697
|
|
|
1699
|
-
var _excluded$
|
|
1698
|
+
var _excluded$B = ["fill"];
|
|
1700
1699
|
var Icon$1G = function Icon(_ref) {
|
|
1701
1700
|
var fill = _ref.fill,
|
|
1702
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1701
|
+
props = _objectWithoutProperties(_ref, _excluded$B);
|
|
1703
1702
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1704
1703
|
viewBox: "0 0 20 12"
|
|
1705
1704
|
}, props), {}, {
|
|
@@ -1712,10 +1711,10 @@ var Icon$1G = function Icon(_ref) {
|
|
|
1712
1711
|
}));
|
|
1713
1712
|
};
|
|
1714
1713
|
|
|
1715
|
-
var _excluded$
|
|
1714
|
+
var _excluded$A = ["fill"];
|
|
1716
1715
|
var Icon$1F = function Icon(_ref) {
|
|
1717
1716
|
var fill = _ref.fill,
|
|
1718
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1717
|
+
props = _objectWithoutProperties(_ref, _excluded$A);
|
|
1719
1718
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1720
1719
|
viewBox: "0 0 24 25"
|
|
1721
1720
|
}, props), {}, {
|
|
@@ -1726,10 +1725,10 @@ var Icon$1F = function Icon(_ref) {
|
|
|
1726
1725
|
}));
|
|
1727
1726
|
};
|
|
1728
1727
|
|
|
1729
|
-
var _excluded$
|
|
1728
|
+
var _excluded$z = ["fill"];
|
|
1730
1729
|
var Icon$1E = function Icon(_ref) {
|
|
1731
1730
|
var fill = _ref.fill,
|
|
1732
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1731
|
+
props = _objectWithoutProperties(_ref, _excluded$z);
|
|
1733
1732
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1734
1733
|
viewBox: "0 0 24 24"
|
|
1735
1734
|
}, props), {}, {
|
|
@@ -1740,10 +1739,10 @@ var Icon$1E = function Icon(_ref) {
|
|
|
1740
1739
|
}));
|
|
1741
1740
|
};
|
|
1742
1741
|
|
|
1743
|
-
var _excluded$
|
|
1742
|
+
var _excluded$y = ["fill"];
|
|
1744
1743
|
var Icon$1D = function Icon(_ref) {
|
|
1745
1744
|
var fill = _ref.fill,
|
|
1746
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1745
|
+
props = _objectWithoutProperties(_ref, _excluded$y);
|
|
1747
1746
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1748
1747
|
viewBox: "0 0 24 24"
|
|
1749
1748
|
}, props), {}, {
|
|
@@ -1754,10 +1753,10 @@ var Icon$1D = function Icon(_ref) {
|
|
|
1754
1753
|
}));
|
|
1755
1754
|
};
|
|
1756
1755
|
|
|
1757
|
-
var _excluded$
|
|
1756
|
+
var _excluded$x = ["fill"];
|
|
1758
1757
|
var Icon$1C = function Icon(_ref) {
|
|
1759
1758
|
var fill = _ref.fill,
|
|
1760
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1759
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
1761
1760
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1762
1761
|
viewBox: "0 0 20 20"
|
|
1763
1762
|
}, props), {}, {
|
|
@@ -1768,10 +1767,10 @@ var Icon$1C = function Icon(_ref) {
|
|
|
1768
1767
|
}));
|
|
1769
1768
|
};
|
|
1770
1769
|
|
|
1771
|
-
var _excluded$
|
|
1770
|
+
var _excluded$w = ["fill"];
|
|
1772
1771
|
var Icon$1B = function Icon(_ref) {
|
|
1773
1772
|
var fill = _ref.fill,
|
|
1774
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1773
|
+
props = _objectWithoutProperties(_ref, _excluded$w);
|
|
1775
1774
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1776
1775
|
viewBox: "0 0 24 24"
|
|
1777
1776
|
}, props), {}, {
|
|
@@ -1782,10 +1781,10 @@ var Icon$1B = function Icon(_ref) {
|
|
|
1782
1781
|
}));
|
|
1783
1782
|
};
|
|
1784
1783
|
|
|
1785
|
-
var _excluded$
|
|
1784
|
+
var _excluded$v = ["fill"];
|
|
1786
1785
|
var Icon$1A = function Icon(_ref) {
|
|
1787
1786
|
var fill = _ref.fill,
|
|
1788
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1787
|
+
props = _objectWithoutProperties(_ref, _excluded$v);
|
|
1789
1788
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1790
1789
|
viewBox: "0 0 20 20"
|
|
1791
1790
|
}, props), {}, {
|
|
@@ -1796,10 +1795,10 @@ var Icon$1A = function Icon(_ref) {
|
|
|
1796
1795
|
}));
|
|
1797
1796
|
};
|
|
1798
1797
|
|
|
1799
|
-
var _excluded$
|
|
1798
|
+
var _excluded$u = ["fill"];
|
|
1800
1799
|
var Icon$1z = function Icon(_ref) {
|
|
1801
1800
|
var fill = _ref.fill,
|
|
1802
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1801
|
+
props = _objectWithoutProperties(_ref, _excluded$u);
|
|
1803
1802
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1804
1803
|
viewBox: "0 0 24 24"
|
|
1805
1804
|
}, props), {}, {
|
|
@@ -1810,10 +1809,10 @@ var Icon$1z = function Icon(_ref) {
|
|
|
1810
1809
|
}));
|
|
1811
1810
|
};
|
|
1812
1811
|
|
|
1813
|
-
var _excluded$
|
|
1812
|
+
var _excluded$t = ["fill"];
|
|
1814
1813
|
var Icon$1y = function Icon(_ref) {
|
|
1815
1814
|
var fill = _ref.fill,
|
|
1816
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1815
|
+
props = _objectWithoutProperties(_ref, _excluded$t);
|
|
1817
1816
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
1818
1817
|
viewBox: "0 0 17 14"
|
|
1819
1818
|
}, props), {}, {
|
|
@@ -2070,10 +2069,10 @@ var Icon$1l = function Icon(props) {
|
|
|
2070
2069
|
}));
|
|
2071
2070
|
};
|
|
2072
2071
|
|
|
2073
|
-
var _excluded$
|
|
2072
|
+
var _excluded$s = ["fill"];
|
|
2074
2073
|
var Icon$1k = function Icon(_ref) {
|
|
2075
2074
|
_ref.fill;
|
|
2076
|
-
var props = _objectWithoutProperties(_ref, _excluded$
|
|
2075
|
+
var props = _objectWithoutProperties(_ref, _excluded$s);
|
|
2077
2076
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
2078
2077
|
viewBox: "0 0 20 20"
|
|
2079
2078
|
}, props), {}, {
|
|
@@ -2194,10 +2193,10 @@ var Icon$1g = function Icon(props) {
|
|
|
2194
2193
|
}));
|
|
2195
2194
|
};
|
|
2196
2195
|
|
|
2197
|
-
var _excluded$
|
|
2196
|
+
var _excluded$r = ["fill"];
|
|
2198
2197
|
var Icon$1f = function Icon(_ref) {
|
|
2199
2198
|
_ref.fill;
|
|
2200
|
-
var props = _objectWithoutProperties(_ref, _excluded$
|
|
2199
|
+
var props = _objectWithoutProperties(_ref, _excluded$r);
|
|
2201
2200
|
return /*#__PURE__*/jsxRuntime.jsxs(Svg, _objectSpread2(_objectSpread2({
|
|
2202
2201
|
width: "20",
|
|
2203
2202
|
height: "21",
|
|
@@ -2229,10 +2228,10 @@ var Icon$1f = function Icon(_ref) {
|
|
|
2229
2228
|
}));
|
|
2230
2229
|
};
|
|
2231
2230
|
|
|
2232
|
-
var _excluded$
|
|
2231
|
+
var _excluded$q = ["fill"];
|
|
2233
2232
|
var Icon$1e = function Icon(_ref) {
|
|
2234
2233
|
var fill = _ref.fill,
|
|
2235
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
2234
|
+
props = _objectWithoutProperties(_ref, _excluded$q);
|
|
2236
2235
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
2237
2236
|
viewBox: "0 0 28 28",
|
|
2238
2237
|
width: props.width || "28",
|
|
@@ -7943,17 +7942,17 @@ var Icon$T = function Icon(props) {
|
|
|
7943
7942
|
});
|
|
7944
7943
|
};
|
|
7945
7944
|
|
|
7946
|
-
var _templateObject$
|
|
7945
|
+
var _templateObject$27, _templateObject2$14;
|
|
7947
7946
|
var ButtonText = styledComponents.styled.span.withConfig({
|
|
7948
7947
|
displayName: "ButtonText",
|
|
7949
7948
|
componentId: "sc-kepl07-0"
|
|
7950
|
-
})(_templateObject$
|
|
7949
|
+
})(_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) {
|
|
7951
7950
|
return props.extended ? "block" : "none";
|
|
7952
7951
|
});
|
|
7953
7952
|
var RampButtonWrapper$1 = styledComponents.styled(Button$1).withConfig({
|
|
7954
7953
|
displayName: "RampButtonWrapper",
|
|
7955
7954
|
componentId: "sc-kepl07-1"
|
|
7956
|
-
})(_templateObject2$
|
|
7955
|
+
})(_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) {
|
|
7957
7956
|
return props.extended ? "6px 25px" : "6px 10px";
|
|
7958
7957
|
}, function (props) {
|
|
7959
7958
|
return props.extended ? 110 : 60;
|
|
@@ -7981,20 +7980,20 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7981
7980
|
});
|
|
7982
7981
|
};
|
|
7983
7982
|
|
|
7984
|
-
var _templateObject$
|
|
7983
|
+
var _templateObject$26;
|
|
7985
7984
|
var IconButton = styledComponents.styled(Button$1).withConfig({
|
|
7986
7985
|
displayName: "IconButton",
|
|
7987
7986
|
componentId: "sc-9rnm19-0"
|
|
7988
|
-
})(_templateObject$
|
|
7987
|
+
})(_templateObject$26 || (_templateObject$26 = _taggedTemplateLiteral(["\n padding: 0;\n width: ", ";\n margin: 0px 4px;\n border: none;\n outline: none;\n"])), function (_ref) {
|
|
7989
7988
|
var size = _ref.size;
|
|
7990
7989
|
return size === "sm" ? "32px" : "60px";
|
|
7991
7990
|
});
|
|
7992
7991
|
|
|
7993
|
-
var _templateObject$
|
|
7992
|
+
var _templateObject$25;
|
|
7994
7993
|
var RampButtonWrapper = styledComponents.styled.button.withConfig({
|
|
7995
7994
|
displayName: "RampButtonWrapper",
|
|
7996
7995
|
componentId: "sc-1y4rjmy-0"
|
|
7997
|
-
})(_templateObject$
|
|
7996
|
+
})(_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) {
|
|
7998
7997
|
return props.extended ? 108 : 70;
|
|
7999
7998
|
}, function (_ref) {
|
|
8000
7999
|
var theme = _ref.theme;
|
|
@@ -8018,17 +8017,17 @@ var RampButton = function RampButton(_ref2) {
|
|
|
8018
8017
|
});
|
|
8019
8018
|
};
|
|
8020
8019
|
|
|
8021
|
-
var _templateObject$
|
|
8020
|
+
var _templateObject$24;
|
|
8022
8021
|
var Box = styledComponents.styled.div.withConfig({
|
|
8023
8022
|
displayName: "Box",
|
|
8024
8023
|
componentId: "sc-1vk503f-0"
|
|
8025
|
-
})(_templateObject$
|
|
8024
|
+
})(_templateObject$24 || (_templateObject$24 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n ", "\n ", "\n"])), styledSystem.background, styledSystem.border, styledSystem.layout, styledSystem.position, styledSystem.space);
|
|
8026
8025
|
|
|
8027
|
-
var _templateObject$
|
|
8026
|
+
var _templateObject$23;
|
|
8028
8027
|
var Flex = styledComponents.styled(Box).withConfig({
|
|
8029
8028
|
displayName: "Flex",
|
|
8030
8029
|
componentId: "sc-10l7f81-0"
|
|
8031
|
-
})(_templateObject$
|
|
8030
|
+
})(_templateObject$23 || (_templateObject$23 = _taggedTemplateLiteral(["\n display: flex;\n ", "\n"])), styledSystem.flexbox);
|
|
8032
8031
|
|
|
8033
8032
|
var variants$3 = {
|
|
8034
8033
|
INFO: "info",
|
|
@@ -8037,7 +8036,7 @@ var variants$3 = {
|
|
|
8037
8036
|
WARNING: "warning"
|
|
8038
8037
|
};
|
|
8039
8038
|
|
|
8040
|
-
var _templateObject$
|
|
8039
|
+
var _templateObject$22, _templateObject2$13, _templateObject3$M, _templateObject4$x;
|
|
8041
8040
|
var getThemeColor = function getThemeColor(_ref) {
|
|
8042
8041
|
var theme = _ref.theme,
|
|
8043
8042
|
_ref$variant = _ref.variant,
|
|
@@ -8071,23 +8070,23 @@ var getIcon = function getIcon() {
|
|
|
8071
8070
|
var IconLabel = styledComponents.styled.div.withConfig({
|
|
8072
8071
|
displayName: "IconLabel",
|
|
8073
8072
|
componentId: "sc-iju7nx-0"
|
|
8074
|
-
})(_templateObject$
|
|
8073
|
+
})(_templateObject$22 || (_templateObject$22 = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 10px 0 0 10px;\n color: black;\n padding: 12px;\n"])), getThemeColor);
|
|
8075
8074
|
var withHandlerSpacing = 32 + 12 + 8; // button size + inner spacing + handler position
|
|
8076
8075
|
var Details = styledComponents.styled.div.withConfig({
|
|
8077
8076
|
displayName: "Details",
|
|
8078
8077
|
componentId: "sc-iju7nx-1"
|
|
8079
|
-
})(_templateObject2$
|
|
8078
|
+
})(_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) {
|
|
8080
8079
|
var hasHandler = _ref2.hasHandler;
|
|
8081
8080
|
return hasHandler ? "".concat(withHandlerSpacing, "px") : "12px";
|
|
8082
8081
|
});
|
|
8083
8082
|
var CloseHandler = styledComponents.styled.div.withConfig({
|
|
8084
8083
|
displayName: "CloseHandler",
|
|
8085
8084
|
componentId: "sc-iju7nx-2"
|
|
8086
|
-
})(_templateObject3$
|
|
8085
|
+
})(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteral(["\n border-radius: 0 16px 16px 0;\n right: 8px;\n position: absolute;\n top: 8px;\n"])));
|
|
8087
8086
|
var StyledAlert = styledComponents.styled(Flex).withConfig({
|
|
8088
8087
|
displayName: "StyledAlert",
|
|
8089
8088
|
componentId: "sc-iju7nx-3"
|
|
8090
|
-
})(_templateObject4$
|
|
8089
|
+
})(_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) {
|
|
8091
8090
|
var theme = _ref3.theme;
|
|
8092
8091
|
return theme.backgrounds.secondary;
|
|
8093
8092
|
}, function (_ref4) {
|
|
@@ -8137,11 +8136,11 @@ var observerOptions = {
|
|
|
8137
8136
|
threshold: 0
|
|
8138
8137
|
};
|
|
8139
8138
|
|
|
8140
|
-
var _templateObject$
|
|
8139
|
+
var _templateObject$21;
|
|
8141
8140
|
var Wrapper$3 = styledComponents.styled.div.withConfig({
|
|
8142
8141
|
displayName: "Wrapper",
|
|
8143
8142
|
componentId: "sc-1ie94f-0"
|
|
8144
|
-
})(_templateObject$
|
|
8143
|
+
})(_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) {
|
|
8145
8144
|
var height = _ref.height,
|
|
8146
8145
|
responsive = _ref.responsive;
|
|
8147
8146
|
return responsive ? 0 : height;
|
|
@@ -8158,20 +8157,20 @@ var Wrapper$3 = styledComponents.styled.div.withConfig({
|
|
|
8158
8157
|
return responsive ? height / width * 100 : 0;
|
|
8159
8158
|
}, styledSystem.space);
|
|
8160
8159
|
|
|
8161
|
-
var _excluded$
|
|
8162
|
-
var _templateObject$
|
|
8160
|
+
var _excluded$p = ["src", "alt"];
|
|
8161
|
+
var _templateObject$20, _templateObject2$12;
|
|
8163
8162
|
var StyledImage = styledComponents.styled.img.withConfig({
|
|
8164
8163
|
displayName: "StyledImage",
|
|
8165
8164
|
componentId: "sc-10tqvvr-0"
|
|
8166
|
-
})(_templateObject$
|
|
8165
|
+
})(_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"])));
|
|
8167
8166
|
var Placeholder = styledComponents.styled.div.withConfig({
|
|
8168
8167
|
displayName: "Placeholder",
|
|
8169
8168
|
componentId: "sc-10tqvvr-1"
|
|
8170
|
-
})(_templateObject2$
|
|
8169
|
+
})(_templateObject2$12 || (_templateObject2$12 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
8171
8170
|
var Image = function Image(_ref) {
|
|
8172
8171
|
var src = _ref.src,
|
|
8173
8172
|
alt = _ref.alt,
|
|
8174
|
-
otherProps = _objectWithoutProperties(_ref, _excluded$
|
|
8173
|
+
otherProps = _objectWithoutProperties(_ref, _excluded$p);
|
|
8175
8174
|
var imgRef = React.useRef(null);
|
|
8176
8175
|
var _useState = React.useState(false),
|
|
8177
8176
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8203,7 +8202,7 @@ var Image = function Image(_ref) {
|
|
|
8203
8202
|
}));
|
|
8204
8203
|
};
|
|
8205
8204
|
|
|
8206
|
-
var _templateObject$
|
|
8205
|
+
var _templateObject$1$;
|
|
8207
8206
|
var breakpointMap = {
|
|
8208
8207
|
xs: 370,
|
|
8209
8208
|
sm: 576,
|
|
@@ -8246,7 +8245,7 @@ var grids = {
|
|
|
8246
8245
|
mobile: "grid-template-columns: repeat(".concat(gridsMap.mobile.gridColumns, ", minmax(0, 1fr));\n grid-gap: 20px;\n "),
|
|
8247
8246
|
desktop: "grid-template-columns: repeat(".concat(gridsMap.desktop.gridColumns, ", minmax(0, 1fr));\n grid-gap: 24px;\n ")
|
|
8248
8247
|
};
|
|
8249
|
-
var gridLayout = styledComponents.css(_templateObject$
|
|
8248
|
+
var gridLayout = styledComponents.css(_templateObject$1$ || (_templateObject$1$ = _taggedTemplateLiteral(["\n display: grid;\n ", " {\n ", ";\n }\n ", " {\n ", ";\n }\n"])), function (_ref) {
|
|
8250
8249
|
var theme = _ref.theme;
|
|
8251
8250
|
return theme.mediaQueries.xs;
|
|
8252
8251
|
}, grids.mobile, function (_ref2) {
|
|
@@ -8470,7 +8469,7 @@ var sizes$1 = {
|
|
|
8470
8469
|
XXL: "xxl"
|
|
8471
8470
|
};
|
|
8472
8471
|
|
|
8473
|
-
var _templateObject$
|
|
8472
|
+
var _templateObject$1_;
|
|
8474
8473
|
var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, sizes$1.MD, {
|
|
8475
8474
|
fontSize: "20px",
|
|
8476
8475
|
fontSizeLg: "20px"
|
|
@@ -8494,7 +8493,7 @@ var Heading = styledComponents.styled(Text).attrs(function (_ref) {
|
|
|
8494
8493
|
}).withConfig({
|
|
8495
8494
|
displayName: "Heading",
|
|
8496
8495
|
componentId: "sc-1bynhbg-0"
|
|
8497
|
-
})(_templateObject$
|
|
8496
|
+
})(_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) {
|
|
8498
8497
|
var _ref2$size = _ref2.size,
|
|
8499
8498
|
size = _ref2$size === void 0 ? sizes$1.MD : _ref2$size;
|
|
8500
8499
|
return style[size].fontSize;
|
|
@@ -8507,11 +8506,11 @@ var Heading = styledComponents.styled(Text).attrs(function (_ref) {
|
|
|
8507
8506
|
return style[size].fontSizeLg;
|
|
8508
8507
|
});
|
|
8509
8508
|
|
|
8510
|
-
var _templateObject$
|
|
8509
|
+
var _templateObject$1Z, _templateObject2$11, _templateObject3$L, _templateObject4$w;
|
|
8511
8510
|
var StyledModal = styledComponents.styled.div.withConfig({
|
|
8512
8511
|
displayName: "StyledModal",
|
|
8513
8512
|
componentId: "sc-gb2uez-0"
|
|
8514
|
-
})(_templateObject$
|
|
8513
|
+
})(_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) {
|
|
8515
8514
|
var theme = _ref.theme;
|
|
8516
8515
|
return theme.colors.card;
|
|
8517
8516
|
}, function (_ref2) {
|
|
@@ -8524,15 +8523,15 @@ var StyledModal = styledComponents.styled.div.withConfig({
|
|
|
8524
8523
|
var CloseButton$1 = styledComponents.styled(Button$1).withConfig({
|
|
8525
8524
|
displayName: "CloseButton",
|
|
8526
8525
|
componentId: "sc-gb2uez-1"
|
|
8527
|
-
})(_templateObject2$
|
|
8526
|
+
})(_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"])));
|
|
8528
8527
|
var ModalHeader = styledComponents.styled.div.withConfig({
|
|
8529
8528
|
displayName: "ModalHeader",
|
|
8530
8529
|
componentId: "sc-gb2uez-2"
|
|
8531
|
-
})(_templateObject3$
|
|
8530
|
+
})(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n padding: 24px 24px 0;\n"])));
|
|
8532
8531
|
var ModalTitle = styledComponents.styled(Flex).withConfig({
|
|
8533
8532
|
displayName: "ModalTitle",
|
|
8534
8533
|
componentId: "sc-gb2uez-3"
|
|
8535
|
-
})(_templateObject4$
|
|
8534
|
+
})(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteral(["\n align-items: center;\n flex: 1;\n"])));
|
|
8536
8535
|
var Modal = function Modal(_ref4) {
|
|
8537
8536
|
var title = _ref4.title,
|
|
8538
8537
|
onDismiss = _ref4.onDismiss,
|
|
@@ -8573,7 +8572,7 @@ var Modal = function Modal(_ref4) {
|
|
|
8573
8572
|
});
|
|
8574
8573
|
};
|
|
8575
8574
|
|
|
8576
|
-
var _templateObject$
|
|
8575
|
+
var _templateObject$1Y;
|
|
8577
8576
|
var Overlay = styledComponents.styled.div.attrs(function (_ref) {
|
|
8578
8577
|
var _ref$show = _ref.show,
|
|
8579
8578
|
show = _ref$show === void 0 ? false : _ref$show,
|
|
@@ -8587,7 +8586,7 @@ var Overlay = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
8587
8586
|
}).withConfig({
|
|
8588
8587
|
displayName: "Overlay",
|
|
8589
8588
|
componentId: "sc-1u1va95-0"
|
|
8590
|
-
})(_templateObject$
|
|
8589
|
+
})(_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) {
|
|
8591
8590
|
var _ref2$show = _ref2.show,
|
|
8592
8591
|
show = _ref2$show === void 0 ? false : _ref2$show;
|
|
8593
8592
|
return show ? 0.6 : 0;
|
|
@@ -8601,11 +8600,11 @@ var Overlay = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
8601
8600
|
return show ? "initial" : "none";
|
|
8602
8601
|
});
|
|
8603
8602
|
|
|
8604
|
-
var _templateObject$
|
|
8603
|
+
var _templateObject$1X;
|
|
8605
8604
|
var ModalWrapper = styledComponents.styled.div.withConfig({
|
|
8606
8605
|
displayName: "ModalWrapper",
|
|
8607
8606
|
componentId: "sc-4rfz2j-0"
|
|
8608
|
-
})(_templateObject$
|
|
8607
|
+
})(_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) {
|
|
8609
8608
|
var theme = _ref.theme;
|
|
8610
8609
|
return theme.zIndices.modal - 1;
|
|
8611
8610
|
}, function (_ref2) {
|
|
@@ -8900,113 +8899,55 @@ var Icon$N = function Icon(props) {
|
|
|
8900
8899
|
}));
|
|
8901
8900
|
};
|
|
8902
8901
|
|
|
8903
|
-
|
|
8902
|
+
var ConnectorNames$1;
|
|
8904
8903
|
(function (ConnectorNames) {
|
|
8905
8904
|
ConnectorNames["Injected"] = "injected";
|
|
8906
8905
|
ConnectorNames["WalletConnect"] = "walletconnect";
|
|
8907
8906
|
ConnectorNames["BSC"] = "bsc";
|
|
8908
|
-
})(
|
|
8907
|
+
})(ConnectorNames$1 || (ConnectorNames$1 = {}));
|
|
8909
8908
|
|
|
8910
|
-
|
|
8909
|
+
[{
|
|
8911
8910
|
title: "Metamask",
|
|
8912
8911
|
icon: Icon$S,
|
|
8913
|
-
connectorId:
|
|
8912
|
+
connectorId: ConnectorNames$1.Injected
|
|
8914
8913
|
}, {
|
|
8915
8914
|
title: "TrustWallet",
|
|
8916
8915
|
icon: Icon$P,
|
|
8917
|
-
connectorId:
|
|
8916
|
+
connectorId: ConnectorNames$1.Injected
|
|
8918
8917
|
}, {
|
|
8919
8918
|
title: "MathWallet",
|
|
8920
8919
|
icon: Icon$R,
|
|
8921
|
-
connectorId:
|
|
8920
|
+
connectorId: ConnectorNames$1.Injected
|
|
8922
8921
|
}, {
|
|
8923
8922
|
title: "TokenPocket",
|
|
8924
8923
|
icon: Icon$Q,
|
|
8925
|
-
connectorId:
|
|
8924
|
+
connectorId: ConnectorNames$1.Injected
|
|
8926
8925
|
}, {
|
|
8927
8926
|
title: "WalletConnect",
|
|
8928
8927
|
icon: Icon$O,
|
|
8929
|
-
connectorId:
|
|
8928
|
+
connectorId: ConnectorNames$1.WalletConnect
|
|
8930
8929
|
}, {
|
|
8931
8930
|
title: "Binance Chain Wallet",
|
|
8932
8931
|
icon: Icon$N,
|
|
8933
|
-
connectorId:
|
|
8932
|
+
connectorId: ConnectorNames$1.BSC
|
|
8934
8933
|
}];
|
|
8935
8934
|
var connectorLocalStorageKey$1 = "connectorId";
|
|
8936
8935
|
|
|
8937
|
-
var WalletCard = function WalletCard(_ref) {
|
|
8938
|
-
var login = _ref.login,
|
|
8939
|
-
walletConfig = _ref.walletConfig,
|
|
8940
|
-
onDismiss = _ref.onDismiss,
|
|
8941
|
-
mb = _ref.mb;
|
|
8942
|
-
var title = walletConfig.title,
|
|
8943
|
-
Icon = walletConfig.icon;
|
|
8944
|
-
process.env.NODE_ENV === "development" ? "" : "".concat(process.env.REACT_APP_PROD_DOMAIN);
|
|
8945
|
-
var _useCookies = reactCookie.useCookies([connectorLocalStorageKey$1]),
|
|
8946
|
-
_useCookies2 = _slicedToArray(_useCookies, 2);
|
|
8947
|
-
_useCookies2[0];
|
|
8948
|
-
_useCookies2[1];
|
|
8949
|
-
return /*#__PURE__*/jsxRuntime.jsxs(Button$1, {
|
|
8950
|
-
$fullWidth: true,
|
|
8951
|
-
variant: exports.ButtonVariant.OUTLINE,
|
|
8952
|
-
onClick: function onClick() {
|
|
8953
|
-
login(walletConfig.connectorId, title);
|
|
8954
|
-
onDismiss();
|
|
8955
|
-
},
|
|
8956
|
-
style: {
|
|
8957
|
-
justifyContent: "space-between"
|
|
8958
|
-
},
|
|
8959
|
-
mb: mb,
|
|
8960
|
-
id: "wallet-connect-".concat(title.toLocaleLowerCase()),
|
|
8961
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
8962
|
-
bold: true,
|
|
8963
|
-
color: "rgba(255, 255, 255, 0.55)",
|
|
8964
|
-
mr: "16px",
|
|
8965
|
-
children: title
|
|
8966
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Icon, {
|
|
8967
|
-
width: "20px",
|
|
8968
|
-
$opac: true
|
|
8969
|
-
})]
|
|
8970
|
-
});
|
|
8971
|
-
};
|
|
8972
|
-
|
|
8973
8936
|
var getTranslations = function getTranslations(translation) {
|
|
8974
8937
|
return translation;
|
|
8975
8938
|
};
|
|
8976
8939
|
|
|
8977
|
-
var
|
|
8978
|
-
|
|
8979
|
-
_ref$onDismiss = _ref.onDismiss,
|
|
8980
|
-
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
8981
|
-
return null;
|
|
8982
|
-
} : _ref$onDismiss,
|
|
8983
|
-
translations = _ref.translations;
|
|
8984
|
-
var t = translations || getTranslations;
|
|
8985
|
-
return /*#__PURE__*/jsxRuntime.jsx(Modal, {
|
|
8986
|
-
title: t("Connect to a wallet"),
|
|
8987
|
-
onDismiss: onDismiss,
|
|
8988
|
-
children: connectors$1.map(function (entry, index) {
|
|
8989
|
-
return /*#__PURE__*/jsxRuntime.jsx(WalletCard, {
|
|
8990
|
-
login: login,
|
|
8991
|
-
walletConfig: entry,
|
|
8992
|
-
onDismiss: onDismiss,
|
|
8993
|
-
mb: index < connectors$1.length - 1 ? "10px" : "0"
|
|
8994
|
-
}, entry.title);
|
|
8995
|
-
})
|
|
8996
|
-
});
|
|
8997
|
-
};
|
|
8998
|
-
|
|
8999
|
-
var _excluded$p = ["external", "color"];
|
|
9000
|
-
var _templateObject$1X;
|
|
8940
|
+
var _excluded$o = ["external", "color"];
|
|
8941
|
+
var _templateObject$1W;
|
|
9001
8942
|
var StyledLink$1 = styledComponents.styled(Text).withConfig({
|
|
9002
8943
|
displayName: "StyledLink",
|
|
9003
8944
|
componentId: "sc-qw3uvt-0"
|
|
9004
|
-
})(_templateObject$
|
|
8945
|
+
})(_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"])));
|
|
9005
8946
|
var Link = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9006
8947
|
var external = _ref.external,
|
|
9007
8948
|
_ref$color = _ref.color,
|
|
9008
8949
|
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
9009
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8950
|
+
props = _objectWithoutProperties(_ref, _excluded$o);
|
|
9010
8951
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
9011
8952
|
return /*#__PURE__*/jsxRuntime.jsx(StyledLink$1, _objectSpread2(_objectSpread2({
|
|
9012
8953
|
ref: ref,
|
|
@@ -9017,10 +8958,10 @@ var Link = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
9017
8958
|
});
|
|
9018
8959
|
Link.displayName = "Link";
|
|
9019
8960
|
|
|
9020
|
-
var _excluded$
|
|
8961
|
+
var _excluded$n = ["children"];
|
|
9021
8962
|
var LinkExternal = function LinkExternal(_ref) {
|
|
9022
8963
|
var children = _ref.children,
|
|
9023
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8964
|
+
props = _objectWithoutProperties(_ref, _excluded$n);
|
|
9024
8965
|
return /*#__PURE__*/jsxRuntime.jsxs(Link, _objectSpread2(_objectSpread2({
|
|
9025
8966
|
external: true
|
|
9026
8967
|
}, props), {}, {
|
|
@@ -9033,21 +8974,20 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
9033
8974
|
}));
|
|
9034
8975
|
};
|
|
9035
8976
|
|
|
9036
|
-
var
|
|
9037
|
-
|
|
9038
|
-
var StyleButton = styledComponents.styled(Text).attrs({
|
|
8977
|
+
var _templateObject$1V, _templateObject2$10;
|
|
8978
|
+
styledComponents.styled(Text).attrs({
|
|
9039
8979
|
role: "button"
|
|
9040
8980
|
}).withConfig({
|
|
9041
8981
|
displayName: "StyleButton",
|
|
9042
8982
|
componentId: "sc-v35pzo-0"
|
|
9043
|
-
})(_templateObject$
|
|
8983
|
+
})(_templateObject$1V || (_templateObject$1V = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (_ref) {
|
|
9044
8984
|
var theme = _ref.theme;
|
|
9045
8985
|
return theme.colors.primary;
|
|
9046
8986
|
});
|
|
9047
|
-
|
|
8987
|
+
styledComponents.styled.div.withConfig({
|
|
9048
8988
|
displayName: "Tooltip",
|
|
9049
8989
|
componentId: "sc-v35pzo-1"
|
|
9050
|
-
})(_templateObject2$
|
|
8990
|
+
})(_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) {
|
|
9051
8991
|
var isTooltipDisplayed = _ref2.isTooltipDisplayed;
|
|
9052
8992
|
return isTooltipDisplayed ? "block" : "none";
|
|
9053
8993
|
}, function (_ref3) {
|
|
@@ -9057,104 +8997,6 @@ var Tooltip$1 = styledComponents.styled.div.withConfig({
|
|
|
9057
8997
|
var theme = _ref4.theme;
|
|
9058
8998
|
return theme.colors.invertedContrast;
|
|
9059
8999
|
});
|
|
9060
|
-
var CopyToClipboard = function CopyToClipboard(_ref5) {
|
|
9061
|
-
var toCopy = _ref5.toCopy,
|
|
9062
|
-
translations = _ref5.translations,
|
|
9063
|
-
children = _ref5.children,
|
|
9064
|
-
props = _objectWithoutProperties(_ref5, _excluded$n);
|
|
9065
|
-
var _useState = React.useState(false),
|
|
9066
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
9067
|
-
isTooltipDisplayed = _useState2[0],
|
|
9068
|
-
setIsTooltipDisplayed = _useState2[1];
|
|
9069
|
-
var t = translations || getTranslations;
|
|
9070
|
-
return /*#__PURE__*/jsxRuntime.jsxs(StyleButton, _objectSpread2(_objectSpread2({
|
|
9071
|
-
small: true,
|
|
9072
|
-
bold: true,
|
|
9073
|
-
onClick: function onClick() {
|
|
9074
|
-
if (navigator.clipboard) {
|
|
9075
|
-
navigator.clipboard.writeText(toCopy);
|
|
9076
|
-
setIsTooltipDisplayed(true);
|
|
9077
|
-
setTimeout(function () {
|
|
9078
|
-
setIsTooltipDisplayed(false);
|
|
9079
|
-
}, 1000);
|
|
9080
|
-
}
|
|
9081
|
-
}
|
|
9082
|
-
}, props), {}, {
|
|
9083
|
-
children: [children, /*#__PURE__*/jsxRuntime.jsx(Icon$2g, {
|
|
9084
|
-
width: "20px",
|
|
9085
|
-
color: "primary",
|
|
9086
|
-
ml: "4px"
|
|
9087
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Tooltip$1, {
|
|
9088
|
-
isTooltipDisplayed: isTooltipDisplayed,
|
|
9089
|
-
children: t("Copied")
|
|
9090
|
-
})]
|
|
9091
|
-
}));
|
|
9092
|
-
};
|
|
9093
|
-
|
|
9094
|
-
var AccountModal = function AccountModal(_ref) {
|
|
9095
|
-
var account = _ref.account,
|
|
9096
|
-
logout = _ref.logout,
|
|
9097
|
-
_ref$onDismiss = _ref.onDismiss,
|
|
9098
|
-
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
9099
|
-
return null;
|
|
9100
|
-
} : _ref$onDismiss,
|
|
9101
|
-
translations = _ref.translations;
|
|
9102
|
-
var t = translations || getTranslations;
|
|
9103
|
-
return /*#__PURE__*/jsxRuntime.jsxs(Modal, {
|
|
9104
|
-
title: t("Your wallet"),
|
|
9105
|
-
onDismiss: onDismiss,
|
|
9106
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
9107
|
-
fontSize: "20px",
|
|
9108
|
-
bold: true,
|
|
9109
|
-
style: {
|
|
9110
|
-
whiteSpace: "nowrap",
|
|
9111
|
-
overflow: "hidden",
|
|
9112
|
-
textOverflow: "ellipsis",
|
|
9113
|
-
marginBottom: "8px"
|
|
9114
|
-
},
|
|
9115
|
-
children: account
|
|
9116
|
-
}), /*#__PURE__*/jsxRuntime.jsxs(Flex, {
|
|
9117
|
-
mb: "32px",
|
|
9118
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(LinkExternal, {
|
|
9119
|
-
small: true,
|
|
9120
|
-
href: "https://bscscan.com/address/".concat(account),
|
|
9121
|
-
mr: "16px",
|
|
9122
|
-
children: t("View on BscScan")
|
|
9123
|
-
}), /*#__PURE__*/jsxRuntime.jsx(CopyToClipboard, {
|
|
9124
|
-
toCopy: account,
|
|
9125
|
-
children: "Copy Address"
|
|
9126
|
-
})]
|
|
9127
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Flex, {
|
|
9128
|
-
justifyContent: "center",
|
|
9129
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Button$1, {
|
|
9130
|
-
size: "md",
|
|
9131
|
-
variant: exports.ButtonVariant.PRIMARY,
|
|
9132
|
-
onClick: logout,
|
|
9133
|
-
children: t("Logout")
|
|
9134
|
-
})
|
|
9135
|
-
})]
|
|
9136
|
-
});
|
|
9137
|
-
};
|
|
9138
|
-
|
|
9139
|
-
var useWalletModal = function useWalletModal(login, logout, account, translations) {
|
|
9140
|
-
var _useModal = useModal(/*#__PURE__*/jsxRuntime.jsx(ConnectModal, {
|
|
9141
|
-
translations: translations,
|
|
9142
|
-
login: login
|
|
9143
|
-
})),
|
|
9144
|
-
_useModal2 = _slicedToArray(_useModal, 1),
|
|
9145
|
-
onPresentConnectModal = _useModal2[0];
|
|
9146
|
-
var _useModal3 = useModal(/*#__PURE__*/jsxRuntime.jsx(AccountModal, {
|
|
9147
|
-
translations: translations,
|
|
9148
|
-
account: account || "",
|
|
9149
|
-
logout: logout
|
|
9150
|
-
})),
|
|
9151
|
-
_useModal4 = _slicedToArray(_useModal3, 1),
|
|
9152
|
-
onPresentAccountModal = _useModal4[0];
|
|
9153
|
-
return {
|
|
9154
|
-
onPresentConnectModal: onPresentConnectModal,
|
|
9155
|
-
onPresentAccountModal: onPresentAccountModal
|
|
9156
|
-
};
|
|
9157
|
-
};
|
|
9158
9000
|
|
|
9159
9001
|
exports.Cookies = void 0;
|
|
9160
9002
|
(function (Cookies) {
|
|
@@ -9388,11 +9230,11 @@ var useConnectWalletEvent = function useConnectWalletEvent(account) {
|
|
|
9388
9230
|
}, [account]);
|
|
9389
9231
|
};
|
|
9390
9232
|
|
|
9391
|
-
var _templateObject$
|
|
9233
|
+
var _templateObject$1U, _templateObject2$$;
|
|
9392
9234
|
var BannerSlideWrapper = styledComponents.styled.div.withConfig({
|
|
9393
9235
|
displayName: "BannerSlideWrapper",
|
|
9394
9236
|
componentId: "sc-1mbqjcw-0"
|
|
9395
|
-
})(_templateObject$
|
|
9237
|
+
})(_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) {
|
|
9396
9238
|
var height = _ref.height;
|
|
9397
9239
|
return "".concat(height, "px");
|
|
9398
9240
|
}, function (_ref2) {
|
|
@@ -9402,7 +9244,7 @@ var BannerSlideWrapper = styledComponents.styled.div.withConfig({
|
|
|
9402
9244
|
var StyledImg = styledComponents.styled(Image).withConfig({
|
|
9403
9245
|
displayName: "StyledImg",
|
|
9404
9246
|
componentId: "sc-1mbqjcw-1"
|
|
9405
|
-
})(_templateObject2
|
|
9247
|
+
})(_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) {
|
|
9406
9248
|
var isMobile = _ref3.isMobile,
|
|
9407
9249
|
theme = _ref3.theme;
|
|
9408
9250
|
return isMobile ? 0 : theme.radii.primary;
|
|
@@ -9439,18 +9281,18 @@ var BannerSlide = function BannerSlide(_ref4) {
|
|
|
9439
9281
|
});
|
|
9440
9282
|
};
|
|
9441
9283
|
|
|
9442
|
-
var _templateObject$
|
|
9284
|
+
var _templateObject$1T, _templateObject2$_;
|
|
9443
9285
|
var CarouselWrapper = styledComponents.styled.div.withConfig({
|
|
9444
9286
|
displayName: "CarouselWrapper",
|
|
9445
9287
|
componentId: "sc-whzh3q-0"
|
|
9446
|
-
})(_templateObject$
|
|
9288
|
+
})(_templateObject$1T || (_templateObject$1T = _taggedTemplateLiteral(["\n margin: 0 -32px;\n\n ", " {\n margin: 0;\n }\n"])), function (_ref) {
|
|
9447
9289
|
var theme = _ref.theme;
|
|
9448
9290
|
return theme.mediaQueries.sm;
|
|
9449
9291
|
});
|
|
9450
9292
|
var StyledSlider$2 = styledComponents.styled(Slider).withConfig({
|
|
9451
9293
|
displayName: "StyledSlider",
|
|
9452
9294
|
componentId: "sc-whzh3q-1"
|
|
9453
|
-
})(_templateObject2
|
|
9295
|
+
})(_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) {
|
|
9454
9296
|
var theme = _ref2.theme;
|
|
9455
9297
|
return theme.colors.blue;
|
|
9456
9298
|
}, function (_ref3) {
|
|
@@ -9509,11 +9351,11 @@ var BannerSlider = function BannerSlider(_ref4) {
|
|
|
9509
9351
|
});
|
|
9510
9352
|
};
|
|
9511
9353
|
|
|
9512
|
-
var _templateObject$
|
|
9354
|
+
var _templateObject$1S, _templateObject2$Z;
|
|
9513
9355
|
var Separator = styledComponents.styled.div.withConfig({
|
|
9514
9356
|
displayName: "Separator",
|
|
9515
9357
|
componentId: "sc-1c6k3v2-0"
|
|
9516
|
-
})(_templateObject$
|
|
9358
|
+
})(_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) {
|
|
9517
9359
|
var theme = _ref.theme;
|
|
9518
9360
|
return theme.mediaQueries.sm;
|
|
9519
9361
|
}, function (_ref2) {
|
|
@@ -9523,7 +9365,7 @@ var Separator = styledComponents.styled.div.withConfig({
|
|
|
9523
9365
|
var StyledBreadcrumbs = styledComponents.styled.ul.withConfig({
|
|
9524
9366
|
displayName: "StyledBreadcrumbs",
|
|
9525
9367
|
componentId: "sc-1c6k3v2-1"
|
|
9526
|
-
})(_templateObject2$
|
|
9368
|
+
})(_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) {
|
|
9527
9369
|
var theme = _ref3.theme;
|
|
9528
9370
|
return theme.colors.textDisabled;
|
|
9529
9371
|
}, styledSystem.space);
|
|
@@ -9559,7 +9401,7 @@ var Breadcrumbs = function Breadcrumbs(_ref4) {
|
|
|
9559
9401
|
});
|
|
9560
9402
|
};
|
|
9561
9403
|
|
|
9562
|
-
var _templateObject$
|
|
9404
|
+
var _templateObject$1R;
|
|
9563
9405
|
var StyledButtonMenu = styledComponents.styled.div.withConfig({
|
|
9564
9406
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9565
9407
|
return prop !== 'variant';
|
|
@@ -9567,7 +9409,7 @@ var StyledButtonMenu = styledComponents.styled.div.withConfig({
|
|
|
9567
9409
|
}).withConfig({
|
|
9568
9410
|
displayName: "StyledButtonMenu",
|
|
9569
9411
|
componentId: "sc-14hzc1v-0"
|
|
9570
|
-
})(_templateObject$
|
|
9412
|
+
})(_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"])));
|
|
9571
9413
|
|
|
9572
9414
|
var ButtonMenu = function ButtonMenu(_ref) {
|
|
9573
9415
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9599,7 +9441,7 @@ var sizes = {
|
|
|
9599
9441
|
var variants$2 = {
|
|
9600
9442
|
PRIMARY: "primary"};
|
|
9601
9443
|
|
|
9602
|
-
var _templateObject$
|
|
9444
|
+
var _templateObject$1Q;
|
|
9603
9445
|
var getDisabledStyles$2 = function getDisabledStyles(_ref) {
|
|
9604
9446
|
var isLoading = _ref.isLoading,
|
|
9605
9447
|
theme = _ref.theme;
|
|
@@ -9631,7 +9473,7 @@ var StyledButton$1 = styledComponents.styled.button.withConfig({
|
|
|
9631
9473
|
}).withConfig({
|
|
9632
9474
|
displayName: "StyledButton",
|
|
9633
9475
|
componentId: "sc-zft497-0"
|
|
9634
|
-
})(_templateObject$
|
|
9476
|
+
})(_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) {
|
|
9635
9477
|
var fullWidth = _ref4.fullWidth;
|
|
9636
9478
|
return fullWidth ? "100%" : "max-content";
|
|
9637
9479
|
}, function (_ref5) {
|
|
@@ -9693,7 +9535,7 @@ var getColor = function getColor(color, theme) {
|
|
|
9693
9535
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
9694
9536
|
};
|
|
9695
9537
|
|
|
9696
|
-
var _templateObject$
|
|
9538
|
+
var _templateObject$1P;
|
|
9697
9539
|
var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
9698
9540
|
var outline = _ref.outline,
|
|
9699
9541
|
_ref$variant = _ref.variant,
|
|
@@ -9704,7 +9546,7 @@ var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
|
9704
9546
|
var StyledTag = styledComponents.styled.div.withConfig({
|
|
9705
9547
|
displayName: "StyledTag",
|
|
9706
9548
|
componentId: "sc-j7cw9s-0"
|
|
9707
|
-
})(_templateObject$
|
|
9549
|
+
})(_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) {
|
|
9708
9550
|
var outline = _ref2.outline,
|
|
9709
9551
|
theme = _ref2.theme,
|
|
9710
9552
|
_ref2$variant = _ref2.variant,
|
|
@@ -9719,15 +9561,15 @@ var StyledTag = styledComponents.styled.div.withConfig({
|
|
|
9719
9561
|
|
|
9720
9562
|
var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide"],
|
|
9721
9563
|
_excluded2$1 = ["isActive", "onClick", "size", "variant"];
|
|
9722
|
-
var _templateObject$
|
|
9564
|
+
var _templateObject$1O, _templateObject2$Y, _templateObject3$K;
|
|
9723
9565
|
var ButtonBody = styledComponents.styled.div.withConfig({
|
|
9724
9566
|
displayName: "ButtonBody",
|
|
9725
9567
|
componentId: "sc-1bbtdtk-0"
|
|
9726
|
-
})(_templateObject$
|
|
9568
|
+
})(_templateObject$1O || (_templateObject$1O = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9727
9569
|
var ButtonTag = styledComponents.styled(StyledTag).withConfig({
|
|
9728
9570
|
displayName: "ButtonTag",
|
|
9729
9571
|
componentId: "sc-1bbtdtk-1"
|
|
9730
|
-
})(_templateObject2$
|
|
9572
|
+
})(_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"])));
|
|
9731
9573
|
var InactiveButton$1 = styledComponents.styled(Button).withConfig({
|
|
9732
9574
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9733
9575
|
return prop !== 'colorKey' && prop !== 'isActive';
|
|
@@ -9735,7 +9577,7 @@ var InactiveButton$1 = styledComponents.styled(Button).withConfig({
|
|
|
9735
9577
|
}).withConfig({
|
|
9736
9578
|
displayName: "InactiveButton",
|
|
9737
9579
|
componentId: "sc-1bbtdtk-2"
|
|
9738
|
-
})(_templateObject3$
|
|
9580
|
+
})(_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"])));
|
|
9739
9581
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9740
9582
|
var _ref$isActive = _ref.isActive,
|
|
9741
9583
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9790,11 +9632,11 @@ var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
|
9790
9632
|
}));
|
|
9791
9633
|
};
|
|
9792
9634
|
|
|
9793
|
-
var _templateObject$
|
|
9635
|
+
var _templateObject$1N;
|
|
9794
9636
|
var StyledButtonActivityMenu = styledComponents.styled.div.withConfig({
|
|
9795
9637
|
displayName: "StyledButtonActivityMenu",
|
|
9796
9638
|
componentId: "sc-byew2t-0"
|
|
9797
|
-
})(_templateObject$
|
|
9639
|
+
})(_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"])));
|
|
9798
9640
|
|
|
9799
9641
|
var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
9800
9642
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9820,7 +9662,7 @@ var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
|
9820
9662
|
});
|
|
9821
9663
|
};
|
|
9822
9664
|
|
|
9823
|
-
var _templateObject$
|
|
9665
|
+
var _templateObject$1M;
|
|
9824
9666
|
var getDisabledStyles$1 = function getDisabledStyles(_ref) {
|
|
9825
9667
|
var isLoading = _ref.isLoading,
|
|
9826
9668
|
theme = _ref.theme;
|
|
@@ -9848,7 +9690,7 @@ var getButtonVariantProp$1 = function getButtonVariantProp(prop) {
|
|
|
9848
9690
|
var StyledButtonActivity = styledComponents.styled.button.withConfig({
|
|
9849
9691
|
displayName: "StyledButtonActivity",
|
|
9850
9692
|
componentId: "sc-pam326-0"
|
|
9851
|
-
})(_templateObject$
|
|
9693
|
+
})(_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) {
|
|
9852
9694
|
var fullWidth = _ref4.fullWidth;
|
|
9853
9695
|
return fullWidth ? "100%" : "max-content";
|
|
9854
9696
|
}, function (_ref5) {
|
|
@@ -9887,11 +9729,11 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9887
9729
|
};
|
|
9888
9730
|
|
|
9889
9731
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9890
|
-
var _templateObject$
|
|
9732
|
+
var _templateObject$1L;
|
|
9891
9733
|
var InactiveButton = styledComponents.styled(ButtonActivity).withConfig({
|
|
9892
9734
|
displayName: "InactiveButton",
|
|
9893
9735
|
componentId: "sc-kqgtlg-0"
|
|
9894
|
-
})(_templateObject$
|
|
9736
|
+
})(_templateObject$1L || (_templateObject$1L = _taggedTemplateLiteral(["\n background: transparent;\n color: #808080;\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9895
9737
|
var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
9896
9738
|
var _ref$isActive = _ref.isActive,
|
|
9897
9739
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9916,7 +9758,7 @@ var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
|
9916
9758
|
}, props));
|
|
9917
9759
|
};
|
|
9918
9760
|
|
|
9919
|
-
var _templateObject$
|
|
9761
|
+
var _templateObject$1K;
|
|
9920
9762
|
var getDisabledStyles = function getDisabledStyles(_ref) {
|
|
9921
9763
|
var isLoading = _ref.isLoading,
|
|
9922
9764
|
theme = _ref.theme;
|
|
@@ -9944,7 +9786,7 @@ var getButtonVariantProp = function getButtonVariantProp(prop) {
|
|
|
9944
9786
|
var StyledButtonSwitch = styledComponents.styled.button.withConfig({
|
|
9945
9787
|
displayName: "StyledButtonSwitch",
|
|
9946
9788
|
componentId: "sc-obsjj-0"
|
|
9947
|
-
})(_templateObject$
|
|
9789
|
+
})(_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) {
|
|
9948
9790
|
var theme = _ref4.theme,
|
|
9949
9791
|
active = _ref4.active;
|
|
9950
9792
|
return active ? "white" : theme.colors.grey;
|
|
@@ -9978,18 +9820,18 @@ var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
|
9978
9820
|
}));
|
|
9979
9821
|
};
|
|
9980
9822
|
|
|
9981
|
-
var _templateObject$
|
|
9823
|
+
var _templateObject$1J;
|
|
9982
9824
|
var StyledButtonSwitchMenu = styledComponents.styled.div.withConfig({
|
|
9983
9825
|
displayName: "StyledButtonSwitchMenu",
|
|
9984
9826
|
componentId: "sc-1qzp9bs-0"
|
|
9985
|
-
})(_templateObject$
|
|
9827
|
+
})(_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"])));
|
|
9986
9828
|
|
|
9987
9829
|
var variants$1 = {
|
|
9988
9830
|
DEFAULT: "default",
|
|
9989
9831
|
PANEL: "panel"
|
|
9990
9832
|
};
|
|
9991
9833
|
|
|
9992
|
-
var _templateObject$
|
|
9834
|
+
var _templateObject$1I, _templateObject2$X, _templateObject3$J;
|
|
9993
9835
|
var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
9994
9836
|
return function (_ref) {
|
|
9995
9837
|
var theme = _ref.theme,
|
|
@@ -10001,18 +9843,18 @@ var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
|
10001
9843
|
var Handle = styledComponents.styled.div.withConfig({
|
|
10002
9844
|
displayName: "Handle",
|
|
10003
9845
|
componentId: "sc-11wqnqq-0"
|
|
10004
|
-
})(_templateObject$
|
|
9846
|
+
})(_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) {
|
|
10005
9847
|
var checked = _ref2.checked;
|
|
10006
9848
|
return checked ? getToggleVariantProp("backgroundHandleActive") : getToggleVariantProp("backgroundHandleInactive");
|
|
10007
9849
|
});
|
|
10008
9850
|
var Input$1 = styledComponents.styled.input.withConfig({
|
|
10009
9851
|
displayName: "Input",
|
|
10010
9852
|
componentId: "sc-11wqnqq-1"
|
|
10011
|
-
})(_templateObject2$
|
|
9853
|
+
})(_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);
|
|
10012
9854
|
var StyledToggle = styledComponents.styled.div.withConfig({
|
|
10013
9855
|
displayName: "StyledToggle",
|
|
10014
9856
|
componentId: "sc-11wqnqq-2"
|
|
10015
|
-
})(_templateObject3$
|
|
9857
|
+
})(_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) {
|
|
10016
9858
|
var checked = _ref3.checked;
|
|
10017
9859
|
return checked ? getToggleVariantProp("backgroundToggleActive") : getToggleVariantProp("backgroundToggleInactive");
|
|
10018
9860
|
}, getToggleVariantProp("borderColor"));
|
|
@@ -10091,7 +9933,7 @@ var ButtonSwitchMenu = function ButtonSwitchMenu(_ref) {
|
|
|
10091
9933
|
});
|
|
10092
9934
|
};
|
|
10093
9935
|
|
|
10094
|
-
var _templateObject$
|
|
9936
|
+
var _templateObject$1H;
|
|
10095
9937
|
/**
|
|
10096
9938
|
* Priority: Warning --> Success --> Active
|
|
10097
9939
|
*/
|
|
@@ -10124,7 +9966,7 @@ var StyledCard = styledComponents.styled.div.withConfig({
|
|
|
10124
9966
|
}).withConfig({
|
|
10125
9967
|
displayName: "StyledCard",
|
|
10126
9968
|
componentId: "sc-b498h5-0"
|
|
10127
|
-
})(_templateObject$
|
|
9969
|
+
})(_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) {
|
|
10128
9970
|
var theme = _ref2.theme;
|
|
10129
9971
|
return theme.colors.card;
|
|
10130
9972
|
}, function (_ref3) {
|
|
@@ -10147,7 +9989,7 @@ var Card = function Card(_ref) {
|
|
|
10147
9989
|
}));
|
|
10148
9990
|
};
|
|
10149
9991
|
|
|
10150
|
-
var _templateObject$
|
|
9992
|
+
var _templateObject$1G;
|
|
10151
9993
|
var CardBody = styledComponents.styled.div.attrs(function (_ref) {
|
|
10152
9994
|
var _ref$p = _ref.p,
|
|
10153
9995
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10157,15 +9999,15 @@ var CardBody = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
10157
9999
|
}).withConfig({
|
|
10158
10000
|
displayName: "CardBody",
|
|
10159
10001
|
componentId: "sc-1of0iur-0"
|
|
10160
|
-
})(_templateObject$
|
|
10002
|
+
})(_templateObject$1G || (_templateObject$1G = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), styledSystem.space);
|
|
10161
10003
|
|
|
10162
|
-
var _templateObject$
|
|
10004
|
+
var _templateObject$1F;
|
|
10163
10005
|
var CardHeader = styledComponents.styled.div.withConfig({
|
|
10164
10006
|
displayName: "CardHeader",
|
|
10165
10007
|
componentId: "sc-1ikcixt-0"
|
|
10166
|
-
})(_templateObject$
|
|
10008
|
+
})(_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"])), styledSystem.space);
|
|
10167
10009
|
|
|
10168
|
-
var _templateObject$
|
|
10010
|
+
var _templateObject$1E;
|
|
10169
10011
|
var CardFooter = styledComponents.styled.div.attrs(function (_ref) {
|
|
10170
10012
|
var _ref$p = _ref.p,
|
|
10171
10013
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10175,13 +10017,13 @@ var CardFooter = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
10175
10017
|
}).withConfig({
|
|
10176
10018
|
displayName: "CardFooter",
|
|
10177
10019
|
componentId: "sc-7k1ypk-0"
|
|
10178
|
-
})(_templateObject$
|
|
10020
|
+
})(_templateObject$1E || (_templateObject$1E = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), styledSystem.space);
|
|
10179
10021
|
|
|
10180
|
-
var _templateObject$
|
|
10022
|
+
var _templateObject$1D;
|
|
10181
10023
|
var StyledCardRibbon = styledComponents.styled.div.withConfig({
|
|
10182
10024
|
displayName: "StyledCardRibbon",
|
|
10183
10025
|
componentId: "sc-1qhw702-0"
|
|
10184
|
-
})(_templateObject$
|
|
10026
|
+
})(_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) {
|
|
10185
10027
|
var _ref$variantColor = _ref.variantColor,
|
|
10186
10028
|
variantColor = _ref$variantColor === void 0 ? "secondary" : _ref$variantColor,
|
|
10187
10029
|
theme = _ref.theme;
|
|
@@ -10209,7 +10051,7 @@ var scales$2 = {
|
|
|
10209
10051
|
MD: "md"
|
|
10210
10052
|
};
|
|
10211
10053
|
|
|
10212
|
-
var _templateObject$
|
|
10054
|
+
var _templateObject$1C;
|
|
10213
10055
|
var getScale$1 = function getScale(_ref) {
|
|
10214
10056
|
var scale = _ref.scale;
|
|
10215
10057
|
switch (scale) {
|
|
@@ -10225,7 +10067,7 @@ var Checkbox = styledComponents.styled.input.attrs({
|
|
|
10225
10067
|
}).withConfig({
|
|
10226
10068
|
displayName: "Checkbox",
|
|
10227
10069
|
componentId: "sc-1dgqwt2-0"
|
|
10228
|
-
})(_templateObject$
|
|
10070
|
+
})(_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) {
|
|
10229
10071
|
var bordered = _ref2.bordered;
|
|
10230
10072
|
return bordered ? "0.1px solid white !important" : "";
|
|
10231
10073
|
}, function (_ref3) {
|
|
@@ -10251,7 +10093,7 @@ var Checkbox = styledComponents.styled.input.attrs({
|
|
|
10251
10093
|
return bordered ? "none !important" : "";
|
|
10252
10094
|
});
|
|
10253
10095
|
|
|
10254
|
-
var _templateObject$
|
|
10096
|
+
var _templateObject$1B, _templateObject2$W;
|
|
10255
10097
|
var getLeft = function getLeft(_ref) {
|
|
10256
10098
|
var position = _ref.position;
|
|
10257
10099
|
if (position === "top-right") {
|
|
@@ -10269,7 +10111,7 @@ var getBottom = function getBottom(_ref2) {
|
|
|
10269
10111
|
var DropdownContent = styledComponents.styled.div.withConfig({
|
|
10270
10112
|
displayName: "DropdownContent",
|
|
10271
10113
|
componentId: "sc-1ns2r4e-0"
|
|
10272
|
-
})(_templateObject$
|
|
10114
|
+
})(_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) {
|
|
10273
10115
|
var theme = _ref3.theme;
|
|
10274
10116
|
return theme.nav.background;
|
|
10275
10117
|
}, function (_ref4) {
|
|
@@ -10285,7 +10127,7 @@ var DropdownContent = styledComponents.styled.div.withConfig({
|
|
|
10285
10127
|
var Container$7 = styledComponents.styled.div.withConfig({
|
|
10286
10128
|
displayName: "Container",
|
|
10287
10129
|
componentId: "sc-1ns2r4e-1"
|
|
10288
|
-
})(_templateObject2$
|
|
10130
|
+
})(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteral(["\n position: relative;\n &:hover ", ", &:focus-within ", " {\n display: flex;\n }\n"])), DropdownContent, DropdownContent);
|
|
10289
10131
|
var Dropdown = function Dropdown(_ref7) {
|
|
10290
10132
|
var target = _ref7.target,
|
|
10291
10133
|
_ref7$position = _ref7.position,
|
|
@@ -10300,15 +10142,15 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
10300
10142
|
};
|
|
10301
10143
|
|
|
10302
10144
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10303
|
-
var _templateObject$
|
|
10145
|
+
var _templateObject$1A, _templateObject2$V, _templateObject3$I, _templateObject4$v, _templateObject5$s, _templateObject6$j, _templateObject7$f;
|
|
10304
10146
|
var StyledHeading = styledComponents.styled.div.withConfig({
|
|
10305
10147
|
displayName: "StyledHeading",
|
|
10306
10148
|
componentId: "sc-1kzbws6-0"
|
|
10307
|
-
})(_templateObject$
|
|
10149
|
+
})(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteral(["\n font-weight: 700;\n"])));
|
|
10308
10150
|
var StyledEarnedToken = styledComponents.styled.div.withConfig({
|
|
10309
10151
|
displayName: "StyledEarnedToken",
|
|
10310
10152
|
componentId: "sc-1kzbws6-1"
|
|
10311
|
-
})(_templateObject2$
|
|
10153
|
+
})(_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) {
|
|
10312
10154
|
var theme = _ref.theme;
|
|
10313
10155
|
return theme.backgrounds.secondary;
|
|
10314
10156
|
}, function (_ref2) {
|
|
@@ -10323,7 +10165,7 @@ var StyledEarnedToken = styledComponents.styled.div.withConfig({
|
|
|
10323
10165
|
return theme.colors.white;
|
|
10324
10166
|
}, function (_ref5) {
|
|
10325
10167
|
var toggled = _ref5.toggled;
|
|
10326
|
-
return toggled && styledComponents.css(_templateObject3$
|
|
10168
|
+
return toggled && styledComponents.css(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n "])), function (_ref6) {
|
|
10327
10169
|
var theme = _ref6.theme;
|
|
10328
10170
|
return theme.colors.white10;
|
|
10329
10171
|
});
|
|
@@ -10337,7 +10179,7 @@ var StyledEarnedToken = styledComponents.styled.div.withConfig({
|
|
|
10337
10179
|
var Amount = styledComponents.styled.div.withConfig({
|
|
10338
10180
|
displayName: "Amount",
|
|
10339
10181
|
componentId: "sc-1kzbws6-2"
|
|
10340
|
-
})(_templateObject4$
|
|
10182
|
+
})(_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) {
|
|
10341
10183
|
var theme = _ref9.theme;
|
|
10342
10184
|
return theme.mediaQueries.sm;
|
|
10343
10185
|
}, function (_ref0) {
|
|
@@ -10347,7 +10189,7 @@ var Amount = styledComponents.styled.div.withConfig({
|
|
|
10347
10189
|
var Actions = styledComponents.styled.div.withConfig({
|
|
10348
10190
|
displayName: "Actions",
|
|
10349
10191
|
componentId: "sc-1kzbws6-3"
|
|
10350
|
-
})(_templateObject5$
|
|
10192
|
+
})(_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) {
|
|
10351
10193
|
var theme = _ref1.theme;
|
|
10352
10194
|
return theme.mediaQueries.sm;
|
|
10353
10195
|
});
|
|
@@ -10418,11 +10260,11 @@ exports.Tokens = void 0;
|
|
|
10418
10260
|
Tokens["ETH"] = "ETH";
|
|
10419
10261
|
})(exports.Tokens || (exports.Tokens = {}));
|
|
10420
10262
|
|
|
10421
|
-
var _templateObject$
|
|
10263
|
+
var _templateObject$1z;
|
|
10422
10264
|
var StyledEarnedWrapper = styledComponents.styled.div.withConfig({
|
|
10423
10265
|
displayName: "StyledEarnedWrapper",
|
|
10424
10266
|
componentId: "sc-vkh54k-0"
|
|
10425
|
-
})(_templateObject$
|
|
10267
|
+
})(_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) {
|
|
10426
10268
|
var theme = _ref.theme;
|
|
10427
10269
|
return theme.colors.white7;
|
|
10428
10270
|
}, function (_ref2) {
|
|
@@ -10445,7 +10287,7 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10445
10287
|
}));
|
|
10446
10288
|
};
|
|
10447
10289
|
|
|
10448
|
-
var _templateObject$
|
|
10290
|
+
var _templateObject$1y;
|
|
10449
10291
|
var EarnedWrapperHeader = styledComponents.styled.div.attrs(function (_ref) {
|
|
10450
10292
|
var _ref$as = _ref.as,
|
|
10451
10293
|
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
@@ -10455,7 +10297,7 @@ var EarnedWrapperHeader = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
10455
10297
|
}).withConfig({
|
|
10456
10298
|
displayName: "EarnedWrapperHeader",
|
|
10457
10299
|
componentId: "sc-fpoazu-0"
|
|
10458
|
-
})(_templateObject$
|
|
10300
|
+
})(_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) {
|
|
10459
10301
|
var theme = _ref2.theme;
|
|
10460
10302
|
return theme.colors.white;
|
|
10461
10303
|
}, function (_ref3) {
|
|
@@ -10463,11 +10305,11 @@ var EarnedWrapperHeader = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
10463
10305
|
return theme.mediaQueries.md;
|
|
10464
10306
|
});
|
|
10465
10307
|
|
|
10466
|
-
var _templateObject$
|
|
10308
|
+
var _templateObject$1x;
|
|
10467
10309
|
var GridLayout$1 = styledComponents.styled.div.withConfig({
|
|
10468
10310
|
displayName: "GridLayout",
|
|
10469
10311
|
componentId: "sc-183ri5-0"
|
|
10470
|
-
})(_templateObject$
|
|
10312
|
+
})(_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) {
|
|
10471
10313
|
var theme = _ref.theme;
|
|
10472
10314
|
return theme.mediaQueries.sm;
|
|
10473
10315
|
}, function (_ref2) {
|
|
@@ -10478,20 +10320,20 @@ var GridLayout$1 = styledComponents.styled.div.withConfig({
|
|
|
10478
10320
|
return theme.mediaQueries.lg;
|
|
10479
10321
|
});
|
|
10480
10322
|
|
|
10481
|
-
var _templateObject$
|
|
10323
|
+
var _templateObject$1w;
|
|
10482
10324
|
var GridLayout = styledComponents.styled(GridLayout$1).withConfig({
|
|
10483
10325
|
displayName: "GridLayout",
|
|
10484
10326
|
componentId: "sc-1cke1k8-0"
|
|
10485
|
-
})(_templateObject$
|
|
10327
|
+
})(_templateObject$1w || (_templateObject$1w = _taggedTemplateLiteral(["\n & > div {\n grid-column: span 6;\n ", " {\n grid-column: span 4;\n }\n }\n"])), function (_ref) {
|
|
10486
10328
|
var theme = _ref.theme;
|
|
10487
10329
|
return theme.mediaQueries.sm;
|
|
10488
10330
|
});
|
|
10489
10331
|
|
|
10490
|
-
var _templateObject$
|
|
10332
|
+
var _templateObject$1v, _templateObject2$U, _templateObject3$H;
|
|
10491
10333
|
var StyledEarnedWrapperBody = styledComponents.styled.div.withConfig({
|
|
10492
10334
|
displayName: "StyledEarnedWrapperBody",
|
|
10493
10335
|
componentId: "sc-1bcwv2i-0"
|
|
10494
|
-
})(_templateObject$
|
|
10336
|
+
})(_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) {
|
|
10495
10337
|
var theme = _ref.theme;
|
|
10496
10338
|
return theme.mediaQueries.md;
|
|
10497
10339
|
}, function (_ref2) {
|
|
@@ -10501,7 +10343,7 @@ var StyledEarnedWrapperBody = styledComponents.styled.div.withConfig({
|
|
|
10501
10343
|
var StyledCardsLayout = styledComponents.styled(GridLayout$1).withConfig({
|
|
10502
10344
|
displayName: "StyledCardsLayout",
|
|
10503
10345
|
componentId: "sc-1bcwv2i-1"
|
|
10504
|
-
})(_templateObject2$
|
|
10346
|
+
})(_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) {
|
|
10505
10347
|
var theme = _ref3.theme;
|
|
10506
10348
|
return theme.mediaQueries.sm;
|
|
10507
10349
|
}, function (_ref4) {
|
|
@@ -10517,7 +10359,7 @@ var StyledCardsLayout = styledComponents.styled(GridLayout$1).withConfig({
|
|
|
10517
10359
|
var EarnedWrapperFooter = styledComponents.styled.div.withConfig({
|
|
10518
10360
|
displayName: "EarnedWrapperFooter",
|
|
10519
10361
|
componentId: "sc-1bcwv2i-2"
|
|
10520
|
-
})(_templateObject3$
|
|
10362
|
+
})(_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) {
|
|
10521
10363
|
var theme = _ref7.theme;
|
|
10522
10364
|
return theme.mediaQueries.md;
|
|
10523
10365
|
});
|
|
@@ -10584,11 +10426,11 @@ var EarnedWrapperBody = function EarnedWrapperBody(_ref8) {
|
|
|
10584
10426
|
});
|
|
10585
10427
|
};
|
|
10586
10428
|
|
|
10587
|
-
var _templateObject$
|
|
10429
|
+
var _templateObject$1u;
|
|
10588
10430
|
var StyledEarnedCarouselWrapper = styledComponents.styled.div.withConfig({
|
|
10589
10431
|
displayName: "StyledEarnedCarouselWrapper",
|
|
10590
10432
|
componentId: "sc-1fmwe6r-0"
|
|
10591
|
-
})(_templateObject$
|
|
10433
|
+
})(_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) {
|
|
10592
10434
|
var theme = _ref.theme;
|
|
10593
10435
|
return theme.colors.white7;
|
|
10594
10436
|
}, function (_ref2) {
|
|
@@ -10614,7 +10456,7 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10614
10456
|
}));
|
|
10615
10457
|
};
|
|
10616
10458
|
|
|
10617
|
-
var _templateObject$
|
|
10459
|
+
var _templateObject$1t;
|
|
10618
10460
|
var EarnedCarouselWrapperHeader = styledComponents.styled.div.attrs(function (_ref) {
|
|
10619
10461
|
var _ref$as = _ref.as,
|
|
10620
10462
|
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
@@ -10624,7 +10466,7 @@ var EarnedCarouselWrapperHeader = styledComponents.styled.div.attrs(function (_r
|
|
|
10624
10466
|
}).withConfig({
|
|
10625
10467
|
displayName: "EarnedCarouselWrapperHeader",
|
|
10626
10468
|
componentId: "sc-zz4zep-0"
|
|
10627
|
-
})(_templateObject$
|
|
10469
|
+
})(_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) {
|
|
10628
10470
|
var theme = _ref2.theme;
|
|
10629
10471
|
return theme.colors.white;
|
|
10630
10472
|
}, function (_ref3) {
|
|
@@ -10632,15 +10474,15 @@ var EarnedCarouselWrapperHeader = styledComponents.styled.div.attrs(function (_r
|
|
|
10632
10474
|
return theme.mediaQueries.md;
|
|
10633
10475
|
});
|
|
10634
10476
|
|
|
10635
|
-
var _templateObject$
|
|
10477
|
+
var _templateObject$1s, _templateObject2$T, _templateObject3$G;
|
|
10636
10478
|
var CSSTokenWrapper = styledComponents.styled.div.withConfig({
|
|
10637
10479
|
displayName: "CSSTokenWrapper",
|
|
10638
10480
|
componentId: "sc-63miep-0"
|
|
10639
|
-
})(_templateObject$
|
|
10481
|
+
})(_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"])));
|
|
10640
10482
|
var SliderWrapper = styledComponents.styled.div.withConfig({
|
|
10641
10483
|
displayName: "SliderWrapper",
|
|
10642
10484
|
componentId: "sc-63miep-1"
|
|
10643
|
-
})(_templateObject2$
|
|
10485
|
+
})(_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) {
|
|
10644
10486
|
var theme = _ref.theme;
|
|
10645
10487
|
return theme.mediaQueries.sm;
|
|
10646
10488
|
}, function (_ref2) {
|
|
@@ -10656,7 +10498,7 @@ var SliderWrapper = styledComponents.styled.div.withConfig({
|
|
|
10656
10498
|
var StyledSlider$1 = styledComponents.styled(Slider).withConfig({
|
|
10657
10499
|
displayName: "StyledSlider",
|
|
10658
10500
|
componentId: "sc-63miep-2"
|
|
10659
|
-
})(_templateObject3$
|
|
10501
|
+
})(_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) {
|
|
10660
10502
|
var withoutMain = _ref5.withoutMain;
|
|
10661
10503
|
if (withoutMain) {
|
|
10662
10504
|
return "100%";
|
|
@@ -10821,7 +10663,7 @@ var BackgroundImage = function BackgroundImage(_ref) {
|
|
|
10821
10663
|
}, otherProps));
|
|
10822
10664
|
};
|
|
10823
10665
|
|
|
10824
|
-
var _templateObject$
|
|
10666
|
+
var _templateObject$1r;
|
|
10825
10667
|
var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
10826
10668
|
var isActive = _ref.isActive,
|
|
10827
10669
|
isWarning = _ref.isWarning,
|
|
@@ -10837,7 +10679,7 @@ var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
|
10837
10679
|
var StyledInfoBox = styledComponents.styled.div.withConfig({
|
|
10838
10680
|
displayName: "StyledInfoBox",
|
|
10839
10681
|
componentId: "sc-132sfwq-0"
|
|
10840
|
-
})(_templateObject$
|
|
10682
|
+
})(_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) {
|
|
10841
10683
|
var theme = _ref2.theme;
|
|
10842
10684
|
return theme.colors.borderColor;
|
|
10843
10685
|
}, getBoxShadow$1, function (_ref3) {
|
|
@@ -10854,7 +10696,7 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10854
10696
|
}));
|
|
10855
10697
|
};
|
|
10856
10698
|
|
|
10857
|
-
var _templateObject$
|
|
10699
|
+
var _templateObject$1q;
|
|
10858
10700
|
var InfoBox = styledComponents.styled.div.attrs(function (_ref) {
|
|
10859
10701
|
var _ref$p = _ref.p,
|
|
10860
10702
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10864,15 +10706,15 @@ var InfoBox = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
10864
10706
|
}).withConfig({
|
|
10865
10707
|
displayName: "InfoBox",
|
|
10866
10708
|
componentId: "sc-1opp4pn-0"
|
|
10867
|
-
})(_templateObject$
|
|
10709
|
+
})(_templateObject$1q || (_templateObject$1q = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), styledSystem.space);
|
|
10868
10710
|
|
|
10869
|
-
var _templateObject$
|
|
10711
|
+
var _templateObject$1p;
|
|
10870
10712
|
var InfoBoxHeader = styledComponents.styled.div.withConfig({
|
|
10871
10713
|
displayName: "InfoBoxHeader",
|
|
10872
10714
|
componentId: "sc-ll0lgz-0"
|
|
10873
|
-
})(_templateObject$
|
|
10715
|
+
})(_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"])), styledSystem.space);
|
|
10874
10716
|
|
|
10875
|
-
var _templateObject$
|
|
10717
|
+
var _templateObject$1o;
|
|
10876
10718
|
var InfoBoxFooter = styledComponents.styled.div.attrs(function (_ref) {
|
|
10877
10719
|
var _ref$p = _ref.p,
|
|
10878
10720
|
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
@@ -10882,7 +10724,7 @@ var InfoBoxFooter = styledComponents.styled.div.attrs(function (_ref) {
|
|
|
10882
10724
|
}).withConfig({
|
|
10883
10725
|
displayName: "InfoBoxFooter",
|
|
10884
10726
|
componentId: "sc-suth0r-0"
|
|
10885
|
-
})(_templateObject$
|
|
10727
|
+
})(_templateObject$1o || (_templateObject$1o = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), styledSystem.space);
|
|
10886
10728
|
|
|
10887
10729
|
var scales$1 = {
|
|
10888
10730
|
SM: "sm",
|
|
@@ -10890,7 +10732,7 @@ var scales$1 = {
|
|
|
10890
10732
|
LG: "lg"
|
|
10891
10733
|
};
|
|
10892
10734
|
|
|
10893
|
-
var _templateObject$
|
|
10735
|
+
var _templateObject$1n;
|
|
10894
10736
|
/**
|
|
10895
10737
|
* Priority: Warning --> Success
|
|
10896
10738
|
*/
|
|
@@ -10924,7 +10766,7 @@ var getHeight = function getHeight(_ref2) {
|
|
|
10924
10766
|
var Input = styledComponents.styled.input.withConfig({
|
|
10925
10767
|
displayName: "Input",
|
|
10926
10768
|
componentId: "sc-i7ggno-0"
|
|
10927
|
-
})(_templateObject$
|
|
10769
|
+
})(_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) {
|
|
10928
10770
|
var theme = _ref3.theme;
|
|
10929
10771
|
return theme.colors.input;
|
|
10930
10772
|
}, getBoxShadow, function (_ref4) {
|
|
@@ -10947,30 +10789,30 @@ var Input = styledComponents.styled.input.withConfig({
|
|
|
10947
10789
|
var _excluded$9 = ["children"],
|
|
10948
10790
|
_excluded2 = ["children"],
|
|
10949
10791
|
_excluded3 = ["children"];
|
|
10950
|
-
var _templateObject$
|
|
10792
|
+
var _templateObject$1m, _templateObject2$S, _templateObject3$F, _templateObject4$u, _templateObject5$r, _templateObject6$i, _templateObject7$e, _templateObject8$a, _templateObject9$9;
|
|
10951
10793
|
var InputLabelBox = styledComponents.styled.div.withConfig({
|
|
10952
10794
|
displayName: "InputLabelBox",
|
|
10953
10795
|
componentId: "sc-1xa506b-0"
|
|
10954
|
-
})(_templateObject$
|
|
10796
|
+
})(_templateObject$1m || (_templateObject$1m = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
|
|
10955
10797
|
var Label = styledComponents.styled(Text).withConfig({
|
|
10956
10798
|
displayName: "Label",
|
|
10957
10799
|
componentId: "sc-1xa506b-1"
|
|
10958
|
-
})(_templateObject2$
|
|
10800
|
+
})(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: bold;\n font-size: 16px;\n line-height: 28px;\n"])), function (_ref) {
|
|
10959
10801
|
var theme = _ref.theme;
|
|
10960
10802
|
return theme.colors.white55;
|
|
10961
10803
|
});
|
|
10962
10804
|
var OptionalBox = styledComponents.styled(Text).withConfig({
|
|
10963
10805
|
displayName: "OptionalBox",
|
|
10964
10806
|
componentId: "sc-1xa506b-2"
|
|
10965
|
-
})(_templateObject3$
|
|
10807
|
+
})(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n"])));
|
|
10966
10808
|
var Optional = styledComponents.styled(Text).withConfig({
|
|
10967
10809
|
displayName: "Optional",
|
|
10968
10810
|
componentId: "sc-1xa506b-3"
|
|
10969
|
-
})(_templateObject4$
|
|
10811
|
+
})(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteral(["\n color: #373749;\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n"])));
|
|
10970
10812
|
var StyledInputDesc = styledComponents.styled(Text).withConfig({
|
|
10971
10813
|
displayName: "StyledInputDesc",
|
|
10972
10814
|
componentId: "sc-1xa506b-4"
|
|
10973
|
-
})(_templateObject5$
|
|
10815
|
+
})(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: normal;\n font-size: 12px;\n line-height: 170%;\n"])), function (_ref2) {
|
|
10974
10816
|
var theme = _ref2.theme;
|
|
10975
10817
|
return theme.colors.white55;
|
|
10976
10818
|
});
|
|
@@ -11056,14 +10898,14 @@ var InputWrapper$1 = function InputWrapper(_ref0) {
|
|
|
11056
10898
|
});
|
|
11057
10899
|
};
|
|
11058
10900
|
|
|
11059
|
-
var _templateObject$
|
|
10901
|
+
var _templateObject$1l, _templateObject2$R;
|
|
11060
10902
|
var StyledInput$1 = styledComponents.styled(function (_ref) {
|
|
11061
10903
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
11062
10904
|
return /*#__PURE__*/jsxRuntime.jsx(DatePicker.DatePicker, _objectSpread2({}, props));
|
|
11063
10905
|
}).withConfig({
|
|
11064
10906
|
displayName: "StyledInput",
|
|
11065
10907
|
componentId: "sc-2l4k3e-0"
|
|
11066
|
-
})(_templateObject$
|
|
10908
|
+
})(_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) {
|
|
11067
10909
|
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)";
|
|
11068
10910
|
}, function (props) {
|
|
11069
10911
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
@@ -11077,7 +10919,7 @@ var DateInputWrapper = styledComponents.styled(function (_ref3) {
|
|
|
11077
10919
|
}).withConfig({
|
|
11078
10920
|
displayName: "DateInputWrapper",
|
|
11079
10921
|
componentId: "sc-2l4k3e-1"
|
|
11080
|
-
})(_templateObject2$
|
|
10922
|
+
})(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteral(["\n margin-bottom: 15px;\n"])));
|
|
11081
10923
|
var MuiDateInput = function MuiDateInput(_ref4) {
|
|
11082
10924
|
var name = _ref4.name,
|
|
11083
10925
|
label = _ref4.label,
|
|
@@ -11141,14 +10983,14 @@ var MuiDateInput = function MuiDateInput(_ref4) {
|
|
|
11141
10983
|
});
|
|
11142
10984
|
};
|
|
11143
10985
|
|
|
11144
|
-
var _templateObject$
|
|
10986
|
+
var _templateObject$1k, _templateObject2$Q;
|
|
11145
10987
|
var DragAndDropZone = styledComponents.styled(function (_ref) {
|
|
11146
10988
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
11147
10989
|
return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread2({}, props));
|
|
11148
10990
|
}).withConfig({
|
|
11149
10991
|
displayName: "DragAndDropZone",
|
|
11150
10992
|
componentId: "sc-1qlv44t-0"
|
|
11151
|
-
})(_templateObject$
|
|
10993
|
+
})(_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) {
|
|
11152
10994
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
11153
10995
|
}, function (props) {
|
|
11154
10996
|
return props.disabled ? "not-allowed" : "pointer";
|
|
@@ -11161,7 +11003,7 @@ var DragAndDropText = styledComponents.styled(function (_ref2) {
|
|
|
11161
11003
|
}).withConfig({
|
|
11162
11004
|
displayName: "DragAndDropText",
|
|
11163
11005
|
componentId: "sc-1qlv44t-1"
|
|
11164
|
-
})(_templateObject2$
|
|
11006
|
+
})(_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) {
|
|
11165
11007
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.white;
|
|
11166
11008
|
}, function (props) {
|
|
11167
11009
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.primary;
|
|
@@ -11235,22 +11077,22 @@ var MuiFileInput = function MuiFileInput(_ref3) {
|
|
|
11235
11077
|
};
|
|
11236
11078
|
|
|
11237
11079
|
var _excluded$8 = ["name", "label", "placeholderLabel", "placeholder", "topDesc", "bottomDesc", "optional", "value", "onChange", "onBlur", "error", "textarea", "maxLength", "disabled", "success", "successMsg"];
|
|
11238
|
-
var _templateObject$
|
|
11080
|
+
var _templateObject$1j, _templateObject2$P, _templateObject3$E;
|
|
11239
11081
|
var TextAreaWrapper = styledComponents.styled.div.withConfig({
|
|
11240
11082
|
displayName: "TextAreaWrapper",
|
|
11241
11083
|
componentId: "sc-1pp44v8-0"
|
|
11242
|
-
})(_templateObject$
|
|
11084
|
+
})(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
11243
11085
|
var LengthText = styledComponents.styled(Text).withConfig({
|
|
11244
11086
|
displayName: "LengthText",
|
|
11245
11087
|
componentId: "sc-1pp44v8-1"
|
|
11246
|
-
})(_templateObject2$
|
|
11088
|
+
})(_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) {
|
|
11247
11089
|
var theme = _ref.theme;
|
|
11248
11090
|
return theme.colors.grey;
|
|
11249
11091
|
});
|
|
11250
11092
|
var StyledTextField = styledComponents.styled(material.TextField).withConfig({
|
|
11251
11093
|
displayName: "StyledTextField",
|
|
11252
11094
|
componentId: "sc-1pp44v8-2"
|
|
11253
|
-
})(_templateObject3$
|
|
11095
|
+
})(_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) {
|
|
11254
11096
|
var theme = _ref2.theme,
|
|
11255
11097
|
disabled = _ref2.disabled;
|
|
11256
11098
|
return disabled ? theme.colors.white55 : theme.colors.grey;
|
|
@@ -11358,22 +11200,22 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11358
11200
|
});
|
|
11359
11201
|
};
|
|
11360
11202
|
|
|
11361
|
-
var _templateObject$
|
|
11203
|
+
var _templateObject$1i, _templateObject2$O, _templateObject3$D;
|
|
11362
11204
|
var CarouselBox = styledComponents.styled.div.withConfig({
|
|
11363
11205
|
displayName: "CarouselBox",
|
|
11364
11206
|
componentId: "sc-xakklk-0"
|
|
11365
|
-
})(_templateObject$
|
|
11207
|
+
})(_templateObject$1i || (_templateObject$1i = _taggedTemplateLiteral(["\n height: 200px;\n"])));
|
|
11366
11208
|
var StyledSlider = styledComponents.styled(Slider).withConfig({
|
|
11367
11209
|
displayName: "StyledSlider",
|
|
11368
11210
|
componentId: "sc-xakklk-1"
|
|
11369
|
-
})(_templateObject2$
|
|
11211
|
+
})(_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) {
|
|
11370
11212
|
var theme = _ref.theme;
|
|
11371
11213
|
return theme.colors.blue;
|
|
11372
11214
|
});
|
|
11373
11215
|
var ImageDiv = styledComponents.styled.div.withConfig({
|
|
11374
11216
|
displayName: "ImageDiv",
|
|
11375
11217
|
componentId: "sc-xakklk-2"
|
|
11376
|
-
})(_templateObject3$
|
|
11218
|
+
})(_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) {
|
|
11377
11219
|
var background = _ref2.background;
|
|
11378
11220
|
return background;
|
|
11379
11221
|
}, function (_ref3) {
|
|
@@ -11422,7 +11264,7 @@ var scales = {
|
|
|
11422
11264
|
MD: "md"
|
|
11423
11265
|
};
|
|
11424
11266
|
|
|
11425
|
-
var _templateObject$
|
|
11267
|
+
var _templateObject$1h;
|
|
11426
11268
|
var getScale = function getScale(_ref) {
|
|
11427
11269
|
var scale = _ref.scale;
|
|
11428
11270
|
switch (scale) {
|
|
@@ -11456,7 +11298,7 @@ var Radio = styledComponents.styled.input.attrs(function (_ref3) {
|
|
|
11456
11298
|
}).withConfig({
|
|
11457
11299
|
displayName: "Radio",
|
|
11458
11300
|
componentId: "sc-955j6u-0"
|
|
11459
|
-
})(_templateObject$
|
|
11301
|
+
})(_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) {
|
|
11460
11302
|
var theme = _ref4.theme;
|
|
11461
11303
|
return theme.colors.input;
|
|
11462
11304
|
}, function (_ref5) {
|
|
@@ -11594,11 +11436,11 @@ var darkColors = _objectSpread2(_objectSpread2(_objectSpread2({}, baseColors), b
|
|
|
11594
11436
|
}
|
|
11595
11437
|
});
|
|
11596
11438
|
|
|
11597
|
-
var _templateObject$
|
|
11439
|
+
var _templateObject$1g, _templateObject2$N;
|
|
11598
11440
|
var StyledCoreTag = styledComponents.styled.div.withConfig({
|
|
11599
11441
|
displayName: "StyledCoreTag",
|
|
11600
11442
|
componentId: "sc-1bfj6gr-0"
|
|
11601
|
-
})(_templateObject$
|
|
11443
|
+
})(_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) {
|
|
11602
11444
|
var theme = _ref.theme,
|
|
11603
11445
|
active = _ref.active,
|
|
11604
11446
|
color = _ref.color;
|
|
@@ -11625,7 +11467,7 @@ var StyledCoreTag = styledComponents.styled.div.withConfig({
|
|
|
11625
11467
|
var StyledText = styledComponents.styled(Text).withConfig({
|
|
11626
11468
|
displayName: "StyledText",
|
|
11627
11469
|
componentId: "sc-1bfj6gr-1"
|
|
11628
|
-
})(_templateObject2$
|
|
11470
|
+
})(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteral(["\n font-weight: 700;\n color: ", ";\n font-size: 14px;\n line-height: 20px;\n"])), function (_ref7) {
|
|
11629
11471
|
var theme = _ref7.theme,
|
|
11630
11472
|
active = _ref7.active,
|
|
11631
11473
|
color = _ref7.color;
|
|
@@ -11709,12 +11551,12 @@ var Icon$M = function Icon(props) {
|
|
|
11709
11551
|
}));
|
|
11710
11552
|
};
|
|
11711
11553
|
|
|
11712
|
-
var _templateObject$
|
|
11713
|
-
var rotate = styledComponents.keyframes(_templateObject$
|
|
11554
|
+
var _templateObject$1f, _templateObject2$M, _templateObject3$C;
|
|
11555
|
+
var rotate = styledComponents.keyframes(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11714
11556
|
var Container$6 = styledComponents.styled.div.withConfig({
|
|
11715
11557
|
displayName: "Container",
|
|
11716
11558
|
componentId: "sc-1wgci3j-0"
|
|
11717
|
-
})(_templateObject2$
|
|
11559
|
+
})(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteral(["\n position: relative;\n height: ", "px;\n width: ", "px;\n"])), function (_ref) {
|
|
11718
11560
|
var size = _ref.size;
|
|
11719
11561
|
return size;
|
|
11720
11562
|
}, function (_ref2) {
|
|
@@ -11724,7 +11566,7 @@ var Container$6 = styledComponents.styled.div.withConfig({
|
|
|
11724
11566
|
var RotatingSpinnerIcon = styledComponents.styled(Icon$M).withConfig({
|
|
11725
11567
|
displayName: "RotatingSpinnerIcon",
|
|
11726
11568
|
componentId: "sc-1wgci3j-1"
|
|
11727
|
-
})(_templateObject3$
|
|
11569
|
+
})(_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);
|
|
11728
11570
|
var Spinner = function Spinner(_ref3) {
|
|
11729
11571
|
var _ref3$size = _ref3.size,
|
|
11730
11572
|
size = _ref3$size === void 0 ? 128 : _ref3$size;
|
|
@@ -11736,26 +11578,26 @@ var Spinner = function Spinner(_ref3) {
|
|
|
11736
11578
|
});
|
|
11737
11579
|
};
|
|
11738
11580
|
|
|
11739
|
-
var _templateObject$
|
|
11581
|
+
var _templateObject$1e, _templateObject2$L, _templateObject3$B, _templateObject4$t;
|
|
11740
11582
|
var StyledContainer = styledComponents.styled.div.withConfig({
|
|
11741
11583
|
displayName: "StyledContainer",
|
|
11742
11584
|
componentId: "sc-1c4vjp9-0"
|
|
11743
|
-
})(_templateObject$
|
|
11585
|
+
})(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n overflow: auto;\n ", "\n"])), function (_ref) {
|
|
11744
11586
|
var loader = _ref.loader;
|
|
11745
11587
|
return loader && "\n display: flex;\n justify-content: center;\n align-items: center;\n ";
|
|
11746
11588
|
});
|
|
11747
11589
|
var StyledItem = styledComponents.styled.div.withConfig({
|
|
11748
11590
|
displayName: "StyledItem",
|
|
11749
11591
|
componentId: "sc-1c4vjp9-1"
|
|
11750
|
-
})(_templateObject2$
|
|
11592
|
+
})(_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"])));
|
|
11751
11593
|
var StyledLabel = styledComponents.styled(Text).withConfig({
|
|
11752
11594
|
displayName: "StyledLabel",
|
|
11753
11595
|
componentId: "sc-1c4vjp9-2"
|
|
11754
|
-
})(_templateObject3$
|
|
11596
|
+
})(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteral(["\n opacity: 0.55;\n"])));
|
|
11755
11597
|
var ListWrapper = styledComponents.styled.div.withConfig({
|
|
11756
11598
|
displayName: "ListWrapper",
|
|
11757
11599
|
componentId: "sc-1c4vjp9-3"
|
|
11758
|
-
})(_templateObject4$
|
|
11600
|
+
})(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteral(["\n display: flex;\n height: ", ";\n"])), function (_ref2) {
|
|
11759
11601
|
var customHeight = _ref2.customHeight;
|
|
11760
11602
|
return customHeight ? "".concat(customHeight, "px") : "100%";
|
|
11761
11603
|
});
|
|
@@ -11818,18 +11660,18 @@ var List = function List(_ref3) {
|
|
|
11818
11660
|
});
|
|
11819
11661
|
};
|
|
11820
11662
|
|
|
11821
|
-
var _templateObject$
|
|
11663
|
+
var _templateObject$1d, _templateObject2$K;
|
|
11822
11664
|
var Bar = styledComponents.styled.div.withConfig({
|
|
11823
11665
|
displayName: "Bar",
|
|
11824
11666
|
componentId: "sc-1wd61gz-0"
|
|
11825
|
-
})(_templateObject$
|
|
11667
|
+
})(_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) {
|
|
11826
11668
|
var _props$primary;
|
|
11827
11669
|
return ((_props$primary = props.primary) !== null && _props$primary !== void 0 ? _props$primary : false) ? props.theme.colors.secondary : "".concat(props.theme.colors.secondary, "80");
|
|
11828
11670
|
});
|
|
11829
11671
|
var StyledProgress = styledComponents.styled.div.withConfig({
|
|
11830
11672
|
displayName: "StyledProgress",
|
|
11831
11673
|
componentId: "sc-1wd61gz-1"
|
|
11832
|
-
})(_templateObject2$
|
|
11674
|
+
})(_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) {
|
|
11833
11675
|
var theme = _ref.theme;
|
|
11834
11676
|
return theme.colors.input;
|
|
11835
11677
|
}, function (_ref2) {
|
|
@@ -11837,11 +11679,11 @@ var StyledProgress = styledComponents.styled.div.withConfig({
|
|
|
11837
11679
|
return theme.shadows.inset;
|
|
11838
11680
|
});
|
|
11839
11681
|
|
|
11840
|
-
var _templateObject$
|
|
11682
|
+
var _templateObject$1c;
|
|
11841
11683
|
var ProgressBunnyWrapper = styledComponents.styled.div.withConfig({
|
|
11842
11684
|
displayName: "ProgressBunnyWrapper",
|
|
11843
11685
|
componentId: "sc-12wvu5w-0"
|
|
11844
|
-
})(_templateObject$
|
|
11686
|
+
})(_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"])));
|
|
11845
11687
|
|
|
11846
11688
|
var stepGuard = function stepGuard(step) {
|
|
11847
11689
|
if (step < 0) {
|
|
@@ -11888,13 +11730,13 @@ var variant = {
|
|
|
11888
11730
|
};
|
|
11889
11731
|
|
|
11890
11732
|
var _excluded$6 = ["variant", "animation"];
|
|
11891
|
-
var _templateObject$
|
|
11892
|
-
var waves = styledComponents.keyframes(_templateObject$
|
|
11893
|
-
var pulse = styledComponents.keyframes(_templateObject2$
|
|
11733
|
+
var _templateObject$1b, _templateObject2$J, _templateObject3$A, _templateObject4$s, _templateObject5$q;
|
|
11734
|
+
var waves = styledComponents.keyframes(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteral(["\n from {\n left: -150px;\n }\n to {\n left: 100%;\n }\n"])));
|
|
11735
|
+
var pulse = styledComponents.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"])));
|
|
11894
11736
|
var Root = styledComponents.styled.div.withConfig({
|
|
11895
11737
|
displayName: "Root",
|
|
11896
11738
|
componentId: "sc-20824z-0"
|
|
11897
|
-
})(_templateObject3$
|
|
11739
|
+
})(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteral(["\n min-height: 20px;\n display: block;\n background-color: ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (_ref) {
|
|
11898
11740
|
var theme = _ref.theme;
|
|
11899
11741
|
return theme.colors.backgroundDisabled;
|
|
11900
11742
|
}, function (_ref2) {
|
|
@@ -11905,11 +11747,11 @@ var Root = styledComponents.styled.div.withConfig({
|
|
|
11905
11747
|
var Pulse = styledComponents.styled(Root).withConfig({
|
|
11906
11748
|
displayName: "Pulse",
|
|
11907
11749
|
componentId: "sc-20824z-1"
|
|
11908
|
-
})(_templateObject4$
|
|
11750
|
+
})(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteral(["\n animation: ", " 2s infinite ease-out;\n transform: translate3d(0, 0, 0);\n"])), pulse);
|
|
11909
11751
|
var Waves = styledComponents.styled(Root).withConfig({
|
|
11910
11752
|
displayName: "Waves",
|
|
11911
11753
|
componentId: "sc-20824z-2"
|
|
11912
|
-
})(_templateObject5$
|
|
11754
|
+
})(_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);
|
|
11913
11755
|
var Skeleton = function Skeleton(_ref3) {
|
|
11914
11756
|
var _ref3$variant = _ref3.variant,
|
|
11915
11757
|
variant$1 = _ref3$variant === void 0 ? variant.RECT : _ref3$variant,
|
|
@@ -11927,15 +11769,15 @@ var Skeleton = function Skeleton(_ref3) {
|
|
|
11927
11769
|
};
|
|
11928
11770
|
|
|
11929
11771
|
var _excluded$5 = ["text"];
|
|
11930
|
-
var _templateObject$
|
|
11772
|
+
var _templateObject$1a, _templateObject2$I;
|
|
11931
11773
|
var StyledButton = styledComponents.styled(Button$1).withConfig({
|
|
11932
11774
|
displayName: "StyledButton",
|
|
11933
11775
|
componentId: "sc-1ofv4rm-0"
|
|
11934
|
-
})(_templateObject$
|
|
11776
|
+
})(_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"])));
|
|
11935
11777
|
var DetailsContainer = styledComponents.styled.div.withConfig({
|
|
11936
11778
|
displayName: "DetailsContainer",
|
|
11937
11779
|
componentId: "sc-1ofv4rm-1"
|
|
11938
|
-
})(_templateObject2$
|
|
11780
|
+
})(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n * {\n margin-right: 10px;\n }\n"])));
|
|
11939
11781
|
var SwapButton = function SwapButton(_ref) {
|
|
11940
11782
|
var _ref$text = _ref.text,
|
|
11941
11783
|
text = _ref$text === void 0 ? "Token info page" : _ref$text,
|
|
@@ -12647,11 +12489,11 @@ var lightTheme = _objectSpread2(_objectSpread2({}, base), {}, {
|
|
|
12647
12489
|
tooltip: light
|
|
12648
12490
|
});
|
|
12649
12491
|
|
|
12650
|
-
var _templateObject$
|
|
12492
|
+
var _templateObject$19;
|
|
12651
12493
|
var TableActiveDot = styledComponents.styled.div.withConfig({
|
|
12652
12494
|
displayName: "TableActiveDot",
|
|
12653
12495
|
componentId: "sc-1phywr3-0"
|
|
12654
|
-
})(_templateObject$
|
|
12496
|
+
})(_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) {
|
|
12655
12497
|
var actionActive = _ref.actionActive;
|
|
12656
12498
|
return actionActive ? "#12FFB8" : "#373749";
|
|
12657
12499
|
}, function (_ref2) {
|
|
@@ -12659,11 +12501,11 @@ var TableActiveDot = styledComponents.styled.div.withConfig({
|
|
|
12659
12501
|
return actionActive ? "0px 0px 14px 3px rgba(18, 255, 184, 0.17)" : "none";
|
|
12660
12502
|
});
|
|
12661
12503
|
|
|
12662
|
-
var _templateObject$
|
|
12504
|
+
var _templateObject$18, _templateObject2$H, _templateObject3$z, _templateObject4$r, _templateObject5$p;
|
|
12663
12505
|
var StyledRow = styledComponents.styled.div.withConfig({
|
|
12664
12506
|
displayName: "StyledRow",
|
|
12665
12507
|
componentId: "sc-qzdbwn-0"
|
|
12666
|
-
})(_templateObject$
|
|
12508
|
+
})(_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) {
|
|
12667
12509
|
var active = _ref.active;
|
|
12668
12510
|
return active ? "auto" : "77.5px";
|
|
12669
12511
|
}, function (_ref2) {
|
|
@@ -12692,19 +12534,19 @@ var StyledRow = styledComponents.styled.div.withConfig({
|
|
|
12692
12534
|
var StyledTableChildren = styledComponents.styled(GridLayout$1).withConfig({
|
|
12693
12535
|
displayName: "StyledTableChildren",
|
|
12694
12536
|
componentId: "sc-qzdbwn-1"
|
|
12695
|
-
})(_templateObject2$
|
|
12537
|
+
})(_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"])));
|
|
12696
12538
|
var StyledTableDetails = styledComponents.styled(GridLayout$1).withConfig({
|
|
12697
12539
|
displayName: "StyledTableDetails",
|
|
12698
12540
|
componentId: "sc-qzdbwn-2"
|
|
12699
|
-
})(_templateObject3$
|
|
12541
|
+
})(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteral(["\n padding: 13px;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
12700
12542
|
var ToggleContainer = styledComponents.styled.div.withConfig({
|
|
12701
12543
|
displayName: "ToggleContainer",
|
|
12702
12544
|
componentId: "sc-qzdbwn-3"
|
|
12703
|
-
})(_templateObject4$
|
|
12545
|
+
})(_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"])));
|
|
12704
12546
|
var DotContainer = styledComponents.styled.div.withConfig({
|
|
12705
12547
|
displayName: "DotContainer",
|
|
12706
12548
|
componentId: "sc-qzdbwn-4"
|
|
12707
|
-
})(_templateObject5$
|
|
12549
|
+
})(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteral(["\n grid-column: span 1;\n @media (max-width: 576px) {\n margin-left: 10px;\n }\n"])));
|
|
12708
12550
|
var TableRow = function TableRow(_ref9) {
|
|
12709
12551
|
var children = _ref9.children,
|
|
12710
12552
|
details = _ref9.details,
|
|
@@ -12742,19 +12584,19 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12742
12584
|
});
|
|
12743
12585
|
};
|
|
12744
12586
|
|
|
12745
|
-
var _templateObject$
|
|
12587
|
+
var _templateObject$17, _templateObject2$G, _templateObject3$y;
|
|
12746
12588
|
var LiquidityWrapper = styledComponents.styled.div.withConfig({
|
|
12747
12589
|
displayName: "LiquidityWrapper",
|
|
12748
12590
|
componentId: "sc-wsy021-0"
|
|
12749
|
-
})(_templateObject$
|
|
12591
|
+
})(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteral(["\n padding-right: 4px;\n width: 100%;\n"])));
|
|
12750
12592
|
var DescriptionRow = styledComponents.styled.div.withConfig({
|
|
12751
12593
|
displayName: "DescriptionRow",
|
|
12752
12594
|
componentId: "sc-wsy021-1"
|
|
12753
|
-
})(_templateObject2$
|
|
12595
|
+
})(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
|
|
12754
12596
|
var Container$5 = styledComponents.styled.div.withConfig({
|
|
12755
12597
|
displayName: "Container",
|
|
12756
12598
|
componentId: "sc-wsy021-2"
|
|
12757
|
-
})(_templateObject3$
|
|
12599
|
+
})(_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) {
|
|
12758
12600
|
var grid = _ref.grid;
|
|
12759
12601
|
return grid;
|
|
12760
12602
|
});
|
|
@@ -12786,11 +12628,11 @@ var LiquidityContainer = function LiquidityContainer(_ref2) {
|
|
|
12786
12628
|
});
|
|
12787
12629
|
};
|
|
12788
12630
|
|
|
12789
|
-
var _templateObject$
|
|
12631
|
+
var _templateObject$16, _templateObject2$F, _templateObject3$x;
|
|
12790
12632
|
var Container$4 = styledComponents.styled.div.withConfig({
|
|
12791
12633
|
displayName: "Container",
|
|
12792
12634
|
componentId: "sc-1t71h7-0"
|
|
12793
|
-
})(_templateObject$
|
|
12635
|
+
})(_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) {
|
|
12794
12636
|
var mobile = _ref.mobile;
|
|
12795
12637
|
return mobile ? "0px" : "17px";
|
|
12796
12638
|
}, function (_ref2) {
|
|
@@ -12803,14 +12645,14 @@ var Container$4 = styledComponents.styled.div.withConfig({
|
|
|
12803
12645
|
var TokenValueWrapper = styledComponents.styled.div.withConfig({
|
|
12804
12646
|
displayName: "TokenValueWrapper",
|
|
12805
12647
|
componentId: "sc-1t71h7-1"
|
|
12806
|
-
})(_templateObject2$
|
|
12648
|
+
})(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ", ";\n"])), function (_ref4) {
|
|
12807
12649
|
var mobile = _ref4.mobile;
|
|
12808
12650
|
return mobile ? "flex-start" : "space-between";
|
|
12809
12651
|
});
|
|
12810
12652
|
var ActionsWrapper = styledComponents.styled.div.withConfig({
|
|
12811
12653
|
displayName: "ActionsWrapper",
|
|
12812
12654
|
componentId: "sc-1t71h7-2"
|
|
12813
|
-
})(_templateObject3$
|
|
12655
|
+
})(_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"])));
|
|
12814
12656
|
var TableActionBox = function TableActionBox(_ref5) {
|
|
12815
12657
|
var title = _ref5.title,
|
|
12816
12658
|
value = _ref5.value,
|
|
@@ -12870,30 +12712,30 @@ var getNumberedDifference = function getNumberedDifference(differenceToConvert)
|
|
|
12870
12712
|
return 0;
|
|
12871
12713
|
};
|
|
12872
12714
|
|
|
12873
|
-
var _templateObject$
|
|
12715
|
+
var _templateObject$15, _templateObject2$E, _templateObject3$w, _templateObject4$q, _templateObject5$o;
|
|
12874
12716
|
var ValueBox = styledComponents.styled.div.withConfig({
|
|
12875
12717
|
displayName: "ValueBox",
|
|
12876
12718
|
componentId: "sc-2a5tiq-0"
|
|
12877
|
-
})(_templateObject$
|
|
12719
|
+
})(_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"])));
|
|
12878
12720
|
var IconColumn = styledComponents.styled.div.withConfig({
|
|
12879
12721
|
displayName: "IconColumn",
|
|
12880
12722
|
componentId: "sc-2a5tiq-1"
|
|
12881
|
-
})(_templateObject2$
|
|
12723
|
+
})(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteral(["\n width: auto;\n padding-right: 10px;\n padding-top: 1px;\n"])));
|
|
12882
12724
|
var InfoColumn = styledComponents.styled.div.withConfig({
|
|
12883
12725
|
displayName: "InfoColumn",
|
|
12884
12726
|
componentId: "sc-2a5tiq-2"
|
|
12885
|
-
})(_templateObject3$
|
|
12727
|
+
})(_templateObject3$w || (_templateObject3$w = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
12886
12728
|
var PairContainer = styledComponents.styled.div.withConfig({
|
|
12887
12729
|
displayName: "PairContainer",
|
|
12888
12730
|
componentId: "sc-2a5tiq-3"
|
|
12889
|
-
})(_templateObject4$
|
|
12731
|
+
})(_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) {
|
|
12890
12732
|
var mobile = _ref.mobile;
|
|
12891
12733
|
return mobile ? "column" : "row";
|
|
12892
12734
|
});
|
|
12893
12735
|
var ValueRow = styledComponents.styled.div.withConfig({
|
|
12894
12736
|
displayName: "ValueRow",
|
|
12895
12737
|
componentId: "sc-2a5tiq-4"
|
|
12896
|
-
})(_templateObject5$
|
|
12738
|
+
})(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteral(["\n width: 100%;\n"])));
|
|
12897
12739
|
var Value = function Value(_ref2) {
|
|
12898
12740
|
var coin = _ref2.coin,
|
|
12899
12741
|
value = _ref2.value,
|
|
@@ -12947,15 +12789,15 @@ var Value = function Value(_ref2) {
|
|
|
12947
12789
|
});
|
|
12948
12790
|
};
|
|
12949
12791
|
|
|
12950
|
-
var _templateObject$
|
|
12792
|
+
var _templateObject$14, _templateObject2$D;
|
|
12951
12793
|
var ValueFullBox = styledComponents.styled.div.withConfig({
|
|
12952
12794
|
displayName: "ValueFullBox",
|
|
12953
12795
|
componentId: "sc-ig82wo-0"
|
|
12954
|
-
})(_templateObject$
|
|
12796
|
+
})(_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"])));
|
|
12955
12797
|
var DifferenceBox = styledComponents.styled.div.withConfig({
|
|
12956
12798
|
displayName: "DifferenceBox",
|
|
12957
12799
|
componentId: "sc-ig82wo-1"
|
|
12958
|
-
})(_templateObject2$
|
|
12800
|
+
})(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n height: 24px;\n"])));
|
|
12959
12801
|
var ValueFull = function ValueFull(_ref) {
|
|
12960
12802
|
var value = _ref.value,
|
|
12961
12803
|
difference = _ref.difference;
|
|
@@ -12986,11 +12828,11 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12986
12828
|
});
|
|
12987
12829
|
};
|
|
12988
12830
|
|
|
12989
|
-
var _templateObject$
|
|
12831
|
+
var _templateObject$13;
|
|
12990
12832
|
var VContainer = styledComponents.styled.div.withConfig({
|
|
12991
12833
|
displayName: "VContainer",
|
|
12992
12834
|
componentId: "sc-o09b6h-0"
|
|
12993
|
-
})(_templateObject$
|
|
12835
|
+
})(_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) {
|
|
12994
12836
|
var theme = _ref.theme;
|
|
12995
12837
|
return theme.colors.secondaryText;
|
|
12996
12838
|
});
|
|
@@ -13001,23 +12843,23 @@ var VersionContainer = function VersionContainer(_ref2) {
|
|
|
13001
12843
|
});
|
|
13002
12844
|
};
|
|
13003
12845
|
|
|
13004
|
-
var _templateObject$
|
|
12846
|
+
var _templateObject$12, _templateObject2$C, _templateObject3$v, _templateObject4$p, _templateObject5$n, _templateObject6$h, _templateObject7$d;
|
|
13005
12847
|
var ProgressDataColumn = styledComponents.styled.div.withConfig({
|
|
13006
12848
|
displayName: "ProgressDataColumn",
|
|
13007
12849
|
componentId: "sc-ri8846-0"
|
|
13008
|
-
})(_templateObject$
|
|
12850
|
+
})(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n"])));
|
|
13009
12851
|
var ProgressDataRow = styledComponents.styled.div.withConfig({
|
|
13010
12852
|
displayName: "ProgressDataRow",
|
|
13011
12853
|
componentId: "sc-ri8846-1"
|
|
13012
|
-
})(_templateObject2$
|
|
12854
|
+
})(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
13013
12855
|
var ProgressBarWrapper = styledComponents.styled.div.withConfig({
|
|
13014
12856
|
displayName: "ProgressBarWrapper",
|
|
13015
12857
|
componentId: "sc-ri8846-2"
|
|
13016
|
-
})(_templateObject3$
|
|
12858
|
+
})(_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"])));
|
|
13017
12859
|
var ProgressBar = styledComponents.styled.div.withConfig({
|
|
13018
12860
|
displayName: "ProgressBar",
|
|
13019
12861
|
componentId: "sc-ri8846-3"
|
|
13020
|
-
})(_templateObject4$
|
|
12862
|
+
})(_templateObject4$p || (_templateObject4$p = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n background: ", ";\n border-radius: 4px;\n"])), function (_ref) {
|
|
13021
12863
|
var width = _ref.width;
|
|
13022
12864
|
return width;
|
|
13023
12865
|
}, function (_ref2) {
|
|
@@ -13027,7 +12869,7 @@ var ProgressBar = styledComponents.styled.div.withConfig({
|
|
|
13027
12869
|
var ProgressDescription = styledComponents.styled(Text).withConfig({
|
|
13028
12870
|
displayName: "ProgressDescription",
|
|
13029
12871
|
componentId: "sc-ri8846-4"
|
|
13030
|
-
})(_templateObject5$
|
|
12872
|
+
})(_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) {
|
|
13031
12873
|
var theme = _ref3.theme,
|
|
13032
12874
|
color = _ref3.color;
|
|
13033
12875
|
return color || theme.colors.white;
|
|
@@ -13083,22 +12925,22 @@ var SpacePadProgressBar = function SpacePadProgressBar(_ref4) {
|
|
|
13083
12925
|
});
|
|
13084
12926
|
};
|
|
13085
12927
|
|
|
13086
|
-
var _templateObject$
|
|
12928
|
+
var _templateObject$11, _templateObject2$B, _templateObject3$u, _templateObject4$o, _templateObject5$m;
|
|
13087
12929
|
var MainWrapper$1 = styledComponents.styled.div.withConfig({
|
|
13088
12930
|
displayName: "MainWrapper",
|
|
13089
12931
|
componentId: "sc-1lzbjkk-0"
|
|
13090
|
-
})(_templateObject$
|
|
12932
|
+
})(_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"])));
|
|
13091
12933
|
var ProjectImage = styledComponents.styled.div.withConfig({
|
|
13092
12934
|
displayName: "ProjectImage",
|
|
13093
12935
|
componentId: "sc-1lzbjkk-1"
|
|
13094
|
-
})(_templateObject2$
|
|
12936
|
+
})(_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) {
|
|
13095
12937
|
var theme = _ref.theme;
|
|
13096
12938
|
return theme.mediaQueries.mobile;
|
|
13097
12939
|
});
|
|
13098
12940
|
var ProjectName$1 = styledComponents.styled.div.withConfig({
|
|
13099
12941
|
displayName: "ProjectName",
|
|
13100
12942
|
componentId: "sc-1lzbjkk-2"
|
|
13101
|
-
})(_templateObject3$
|
|
12943
|
+
})(_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) {
|
|
13102
12944
|
var theme = _ref2.theme;
|
|
13103
12945
|
return theme.colors.white;
|
|
13104
12946
|
}, function (_ref3) {
|
|
@@ -13108,14 +12950,14 @@ var ProjectName$1 = styledComponents.styled.div.withConfig({
|
|
|
13108
12950
|
var ProjectFullName = styledComponents.styled.div.withConfig({
|
|
13109
12951
|
displayName: "ProjectFullName",
|
|
13110
12952
|
componentId: "sc-1lzbjkk-3"
|
|
13111
|
-
})(_templateObject4$
|
|
12953
|
+
})(_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) {
|
|
13112
12954
|
var theme = _ref4.theme;
|
|
13113
12955
|
return theme.colors.white55;
|
|
13114
12956
|
});
|
|
13115
12957
|
var ProjectDetails = styledComponents.styled.div.withConfig({
|
|
13116
12958
|
displayName: "ProjectDetails",
|
|
13117
12959
|
componentId: "sc-1lzbjkk-4"
|
|
13118
|
-
})(_templateObject5$
|
|
12960
|
+
})(_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) {
|
|
13119
12961
|
var theme = _ref5.theme;
|
|
13120
12962
|
return theme.mediaQueries.mobile;
|
|
13121
12963
|
});
|
|
@@ -13489,17 +13331,17 @@ var connectors = [{
|
|
|
13489
13331
|
}];
|
|
13490
13332
|
var connectorLocalStorageKey = "connectorId";
|
|
13491
13333
|
|
|
13492
|
-
var _templateObject$
|
|
13334
|
+
var _templateObject$10;
|
|
13493
13335
|
var AccountNumber = styledComponents.styled(Text).withConfig({
|
|
13494
13336
|
displayName: "AccountNumber",
|
|
13495
13337
|
componentId: "sc-1jw25yf-0"
|
|
13496
|
-
})(_templateObject$
|
|
13338
|
+
})(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteral(["\n color: #818c92;\n line-height: 23.8px;\n"])));
|
|
13497
13339
|
|
|
13498
|
-
var _templateObject
|
|
13340
|
+
var _templateObject$$;
|
|
13499
13341
|
var AccountNumberWrapper = styledComponents.styled.div.withConfig({
|
|
13500
13342
|
displayName: "AccountNumberWrapper",
|
|
13501
13343
|
componentId: "sc-1bz6nuv-0"
|
|
13502
|
-
})(_templateObject
|
|
13344
|
+
})(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n justify-content: center;\n text-align: ", ";\n"])), function (_ref) {
|
|
13503
13345
|
var isVerifiedUser = _ref.isVerifiedUser;
|
|
13504
13346
|
return !isVerifiedUser ? "column" : "row";
|
|
13505
13347
|
}, function (_ref2) {
|
|
@@ -13507,99 +13349,99 @@ var AccountNumberWrapper = styledComponents.styled.div.withConfig({
|
|
|
13507
13349
|
return textAlign && textAlign;
|
|
13508
13350
|
});
|
|
13509
13351
|
|
|
13510
|
-
var _templateObject
|
|
13352
|
+
var _templateObject$_;
|
|
13511
13353
|
var Background = styledComponents.styled.div.withConfig({
|
|
13512
13354
|
displayName: "Background",
|
|
13513
13355
|
componentId: "sc-s9bf1w-0"
|
|
13514
|
-
})(_templateObject
|
|
13356
|
+
})(_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"])));
|
|
13515
13357
|
|
|
13516
|
-
var _templateObject$
|
|
13358
|
+
var _templateObject$Z;
|
|
13517
13359
|
var BottomRow = styledComponents.styled.div.withConfig({
|
|
13518
13360
|
displayName: "BottomRow",
|
|
13519
13361
|
componentId: "sc-1elsl0s-0"
|
|
13520
|
-
})(_templateObject$
|
|
13362
|
+
})(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteral(["\n padding-top: 20px;\n"])));
|
|
13521
13363
|
|
|
13522
|
-
var _templateObject$
|
|
13364
|
+
var _templateObject$Y;
|
|
13523
13365
|
styledComponents.styled(Button$1).withConfig({
|
|
13524
13366
|
displayName: "ChangeProviderButton",
|
|
13525
13367
|
componentId: "sc-w1eu8g-0"
|
|
13526
|
-
})(_templateObject$
|
|
13368
|
+
})(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteral(["\n background: #383847;\n color: ", ";\n width: 85px;\n height: 32px;\n font-size: 14px;\n"])), function (_ref) {
|
|
13527
13369
|
var theme = _ref.theme;
|
|
13528
13370
|
return theme.colors.white;
|
|
13529
13371
|
});
|
|
13530
13372
|
|
|
13531
|
-
var _templateObject$
|
|
13373
|
+
var _templateObject$X;
|
|
13532
13374
|
var CloseButton = styledComponents.styled(Icon$2m).withConfig({
|
|
13533
13375
|
displayName: "CloseButton",
|
|
13534
13376
|
componentId: "sc-1afnq0v-0"
|
|
13535
|
-
})(_templateObject$
|
|
13377
|
+
})(_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"])));
|
|
13536
13378
|
|
|
13537
|
-
var _templateObject$
|
|
13379
|
+
var _templateObject$W;
|
|
13538
13380
|
var ConnectedInfoWrapper = styledComponents.styled.div.withConfig({
|
|
13539
13381
|
displayName: "ConnectedInfoWrapper",
|
|
13540
13382
|
componentId: "sc-lxc0i5-0"
|
|
13541
|
-
})(_templateObject$
|
|
13383
|
+
})(_templateObject$W || (_templateObject$W = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n"])));
|
|
13542
13384
|
|
|
13543
|
-
var _templateObject$
|
|
13385
|
+
var _templateObject$V;
|
|
13544
13386
|
var ConnectedProvider = styledComponents.styled.div.withConfig({
|
|
13545
13387
|
displayName: "ConnectedProvider",
|
|
13546
13388
|
componentId: "sc-1satccs-0"
|
|
13547
|
-
})(_templateObject$
|
|
13389
|
+
})(_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"])));
|
|
13548
13390
|
|
|
13549
|
-
var _templateObject$
|
|
13550
|
-
var fadeInAnimation = styledComponents.keyframes(_templateObject$
|
|
13391
|
+
var _templateObject$U, _templateObject2$A;
|
|
13392
|
+
var fadeInAnimation = styledComponents.keyframes(_templateObject$U || (_templateObject$U = _taggedTemplateLiteral(["\n 0% {\n right: -357px;\n }\n 100% {\n right: 0;\n }\n"])));
|
|
13551
13393
|
var ConnectWalletWrapper = styledComponents.styled.div.withConfig({
|
|
13552
13394
|
displayName: "ConnectWalletWrapper",
|
|
13553
13395
|
componentId: "sc-1oauz4x-0"
|
|
13554
|
-
})(_templateObject2$
|
|
13396
|
+
})(_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);
|
|
13555
13397
|
|
|
13556
|
-
var _templateObject$
|
|
13398
|
+
var _templateObject$T;
|
|
13557
13399
|
var LogoutButton = styledComponents.styled(Button$1).withConfig({
|
|
13558
13400
|
displayName: "LogoutButton",
|
|
13559
13401
|
componentId: "sc-ljmmm0-0"
|
|
13560
|
-
})(_templateObject$
|
|
13402
|
+
})(_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) {
|
|
13561
13403
|
var theme = _ref.theme;
|
|
13562
13404
|
return theme.colors.white;
|
|
13563
13405
|
});
|
|
13564
13406
|
|
|
13565
|
-
var _templateObject$
|
|
13407
|
+
var _templateObject$S;
|
|
13566
13408
|
var MiddleRow = styledComponents.styled.div.withConfig({
|
|
13567
13409
|
displayName: "MiddleRow",
|
|
13568
13410
|
componentId: "sc-deagnw-0"
|
|
13569
|
-
})(_templateObject$
|
|
13411
|
+
})(_templateObject$S || (_templateObject$S = _taggedTemplateLiteral(["\n padding: 20px 0;\n border-bottom: 1px solid #252530;\n"])));
|
|
13570
13412
|
|
|
13571
|
-
var _templateObject$
|
|
13413
|
+
var _templateObject$R;
|
|
13572
13414
|
var MyWallet = styledComponents.styled(Text).withConfig({
|
|
13573
13415
|
displayName: "MyWallet",
|
|
13574
13416
|
componentId: "sc-17gxhjg-0"
|
|
13575
|
-
})(_templateObject$
|
|
13417
|
+
})(_templateObject$R || (_templateObject$R = _taggedTemplateLiteral(["\n line-height: 28px;\n margin-left: 18px;\n"])));
|
|
13576
13418
|
|
|
13577
|
-
var _templateObject$
|
|
13419
|
+
var _templateObject$Q;
|
|
13578
13420
|
var MyWalletWrapper = styledComponents.styled.div.withConfig({
|
|
13579
13421
|
displayName: "MyWalletWrapper",
|
|
13580
13422
|
componentId: "sc-126mq9l-0"
|
|
13581
|
-
})(_templateObject$
|
|
13423
|
+
})(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
13582
13424
|
|
|
13583
|
-
var _templateObject$
|
|
13425
|
+
var _templateObject$P;
|
|
13584
13426
|
var ProviderTitle = styledComponents.styled(Text).withConfig({
|
|
13585
13427
|
displayName: "ProviderTitle",
|
|
13586
13428
|
componentId: "sc-cz48yj-0"
|
|
13587
|
-
})(_templateObject$
|
|
13429
|
+
})(_templateObject$P || (_templateObject$P = _taggedTemplateLiteral(["\n font-weight: 600;\n line-height: 24px;\n margin-left: 16px;\n"])));
|
|
13588
13430
|
|
|
13589
|
-
var _templateObject$
|
|
13431
|
+
var _templateObject$O;
|
|
13590
13432
|
var SettingsButton = styledComponents.styled(Button$1).withConfig({
|
|
13591
13433
|
displayName: "SettingsButton",
|
|
13592
13434
|
componentId: "sc-zhm3ih-0"
|
|
13593
|
-
})(_templateObject$
|
|
13435
|
+
})(_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) {
|
|
13594
13436
|
var theme = _ref.theme;
|
|
13595
13437
|
return theme.colors.white;
|
|
13596
13438
|
});
|
|
13597
13439
|
|
|
13598
|
-
var _templateObject$
|
|
13440
|
+
var _templateObject$N;
|
|
13599
13441
|
var UpperRow = styledComponents.styled.div.withConfig({
|
|
13600
13442
|
displayName: "UpperRow",
|
|
13601
13443
|
componentId: "sc-zlngw8-0"
|
|
13602
|
-
})(_templateObject$
|
|
13444
|
+
})(_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) {
|
|
13603
13445
|
var alignItems = _ref.alignItems;
|
|
13604
13446
|
return alignItems && alignItems;
|
|
13605
13447
|
}, function (_ref2) {
|
|
@@ -13607,29 +13449,29 @@ var UpperRow = styledComponents.styled.div.withConfig({
|
|
|
13607
13449
|
return justifyContent && justifyContent;
|
|
13608
13450
|
});
|
|
13609
13451
|
|
|
13610
|
-
var _templateObject$
|
|
13452
|
+
var _templateObject$M;
|
|
13611
13453
|
var VerificationInfo = styledComponents.styled.div.withConfig({
|
|
13612
13454
|
displayName: "VerificationInfo",
|
|
13613
13455
|
componentId: "sc-1jviz6b-0"
|
|
13614
|
-
})(_templateObject$
|
|
13456
|
+
})(_templateObject$M || (_templateObject$M = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: ", ";\n"])), function (_ref) {
|
|
13615
13457
|
var marginTop = _ref.marginTop;
|
|
13616
13458
|
return marginTop && marginTop;
|
|
13617
13459
|
});
|
|
13618
13460
|
|
|
13619
|
-
var _templateObject$
|
|
13620
|
-
var VerifiedWalletIcon = styledComponents.styled(Icon$28).withConfig({
|
|
13461
|
+
var _templateObject$L;
|
|
13462
|
+
var VerifiedWalletIcon$1 = styledComponents.styled(Icon$28).withConfig({
|
|
13621
13463
|
displayName: "VerifiedWalletIcon",
|
|
13622
13464
|
componentId: "sc-1l4uhr0-0"
|
|
13623
|
-
})(_templateObject$
|
|
13465
|
+
})(_templateObject$L || (_templateObject$L = _taggedTemplateLiteral(["\n fill: ", ";\n margin-right: 8px;\n"])), function (_ref) {
|
|
13624
13466
|
var theme = _ref.theme;
|
|
13625
13467
|
return theme.colors.vividBlue;
|
|
13626
13468
|
});
|
|
13627
13469
|
|
|
13628
|
-
var _templateObject$
|
|
13470
|
+
var _templateObject$K;
|
|
13629
13471
|
var Provider = styledComponents.styled.div.withConfig({
|
|
13630
13472
|
displayName: "Provider",
|
|
13631
13473
|
componentId: "sc-ipxejr-0"
|
|
13632
|
-
})(_templateObject$
|
|
13474
|
+
})(_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) {
|
|
13633
13475
|
var theme = _ref.theme;
|
|
13634
13476
|
return theme.backgrounds.secondary;
|
|
13635
13477
|
}, function (_ref2) {
|
|
@@ -13684,11 +13526,11 @@ var Icon$F = function Icon(props) {
|
|
|
13684
13526
|
}));
|
|
13685
13527
|
};
|
|
13686
13528
|
|
|
13687
|
-
var _templateObject$
|
|
13529
|
+
var _templateObject$J;
|
|
13688
13530
|
var ConnectDescription = styledComponents.styled(Text).withConfig({
|
|
13689
13531
|
displayName: "ConnectDescription",
|
|
13690
13532
|
componentId: "sc-mzj27o-0"
|
|
13691
|
-
})(_templateObject$
|
|
13533
|
+
})(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral(["\n line-height: 24px;\n font-weight: 400;\n color: #818c92;\n margin: 16px 0;\n"])));
|
|
13692
13534
|
var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
13693
13535
|
var handleLogin = _ref.handleLogin,
|
|
13694
13536
|
setIsConnectWalletPanelOpen = _ref.setIsConnectWalletPanelOpen,
|
|
@@ -13734,22 +13576,22 @@ var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
|
13734
13576
|
});
|
|
13735
13577
|
};
|
|
13736
13578
|
|
|
13737
|
-
var _templateObject$
|
|
13579
|
+
var _templateObject$I, _templateObject2$z, _templateObject3$t;
|
|
13738
13580
|
var VerifyAddressIndicator$1 = styledComponents.styled(Text).withConfig({
|
|
13739
13581
|
displayName: "VerifyAddressIndicator",
|
|
13740
13582
|
componentId: "sc-ooxgfj-0"
|
|
13741
|
-
})(_templateObject$
|
|
13583
|
+
})(_templateObject$I || (_templateObject$I = _taggedTemplateLiteral(["\n color: ", ";\n line-height: 20.4px;\n"])), function (_ref) {
|
|
13742
13584
|
var theme = _ref.theme;
|
|
13743
13585
|
return theme.colors.red;
|
|
13744
13586
|
});
|
|
13745
13587
|
var ConnectedInfo = styledComponents.styled(Text).withConfig({
|
|
13746
13588
|
displayName: "ConnectedInfo",
|
|
13747
13589
|
componentId: "sc-ooxgfj-1"
|
|
13748
|
-
})(_templateObject2$
|
|
13590
|
+
})(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteral(["\n color: #818c92;\n"])));
|
|
13749
13591
|
var VerifyButton = styledComponents.styled(Button$1).withConfig({
|
|
13750
13592
|
displayName: "VerifyButton",
|
|
13751
13593
|
componentId: "sc-ooxgfj-2"
|
|
13752
|
-
})(_templateObject3$
|
|
13594
|
+
})(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteral(["\n font-size: 14px;\n width: 100%;\n margin: 24px 0;\n"])));
|
|
13753
13595
|
var ConnectWallet = function ConnectWallet(_ref2) {
|
|
13754
13596
|
var account = _ref2.account,
|
|
13755
13597
|
setIsConnectWalletPanelOpen = _ref2.setIsConnectWalletPanelOpen;
|
|
@@ -13785,7 +13627,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13785
13627
|
}), /*#__PURE__*/jsxRuntime.jsxs(AccountNumberWrapper, {
|
|
13786
13628
|
isUserVerified: isUserVerified,
|
|
13787
13629
|
textAlign: "right",
|
|
13788
|
-
children: [isUserVerified && /*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13630
|
+
children: [isUserVerified && /*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon$1, {
|
|
13789
13631
|
$opac: true
|
|
13790
13632
|
}), /*#__PURE__*/jsxRuntime.jsx(AccountNumber, {
|
|
13791
13633
|
bold: true,
|
|
@@ -13800,7 +13642,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13800
13642
|
}), /*#__PURE__*/jsxRuntime.jsxs(MiddleRow, {
|
|
13801
13643
|
children: [isUserVerified && /*#__PURE__*/jsxRuntime.jsxs(VerificationInfo, {
|
|
13802
13644
|
marginTop: "20px",
|
|
13803
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13645
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon$1, {
|
|
13804
13646
|
$opac: true
|
|
13805
13647
|
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
13806
13648
|
color: "#818C92",
|
|
@@ -13896,7 +13738,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13896
13738
|
})]
|
|
13897
13739
|
}), /*#__PURE__*/jsxRuntime.jsxs(AccountNumberWrapper, {
|
|
13898
13740
|
isVerifiedUser: true,
|
|
13899
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13741
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon$1, {
|
|
13900
13742
|
$opac: true
|
|
13901
13743
|
}), /*#__PURE__*/jsxRuntime.jsx(AccountNumber, {
|
|
13902
13744
|
bold: true,
|
|
@@ -13906,7 +13748,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13906
13748
|
})]
|
|
13907
13749
|
}), /*#__PURE__*/jsxRuntime.jsxs(MiddleRow, {
|
|
13908
13750
|
children: [/*#__PURE__*/jsxRuntime.jsxs(VerificationInfo, {
|
|
13909
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13751
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon$1, {
|
|
13910
13752
|
$opac: true
|
|
13911
13753
|
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
13912
13754
|
color: "#818C92",
|
|
@@ -14183,11 +14025,11 @@ var getTimeValue = function getTimeValue(value, timeUnit) {
|
|
|
14183
14025
|
return "".concat(value).concat(timeUnit);
|
|
14184
14026
|
};
|
|
14185
14027
|
|
|
14186
|
-
var _templateObject$
|
|
14028
|
+
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;
|
|
14187
14029
|
var ActiveDot$1 = styledComponents.styled.div.withConfig({
|
|
14188
14030
|
displayName: "ActiveDot",
|
|
14189
14031
|
componentId: "sc-1kin2xe-0"
|
|
14190
|
-
})(_templateObject$
|
|
14032
|
+
})(_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) {
|
|
14191
14033
|
var dotColor = _ref.dotColor;
|
|
14192
14034
|
return dotColor;
|
|
14193
14035
|
}, function (_ref2) {
|
|
@@ -14197,19 +14039,19 @@ var ActiveDot$1 = styledComponents.styled.div.withConfig({
|
|
|
14197
14039
|
var ActivityDescription = styledComponents.styled(Text).withConfig({
|
|
14198
14040
|
displayName: "ActivityDescription",
|
|
14199
14041
|
componentId: "sc-1kin2xe-1"
|
|
14200
|
-
})(_templateObject2$
|
|
14042
|
+
})(_templateObject2$y || (_templateObject2$y = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n width: max-content;\n"])));
|
|
14201
14043
|
var ActivityWrapper = styledComponents.styled.div.withConfig({
|
|
14202
14044
|
displayName: "ActivityWrapper",
|
|
14203
14045
|
componentId: "sc-1kin2xe-2"
|
|
14204
|
-
})(_templateObject3$
|
|
14046
|
+
})(_templateObject3$s || (_templateObject3$s = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n right: 15px;\n top: 15px;\n"])));
|
|
14205
14047
|
var ActivityComponent = styledComponents.styled.div.withConfig({
|
|
14206
14048
|
displayName: "ActivityComponent",
|
|
14207
14049
|
componentId: "sc-1kin2xe-3"
|
|
14208
|
-
})(_templateObject4$
|
|
14050
|
+
})(_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"])));
|
|
14209
14051
|
var ProjectNameColumn = styledComponents.styled.div.withConfig({
|
|
14210
14052
|
displayName: "ProjectNameColumn",
|
|
14211
14053
|
componentId: "sc-1kin2xe-4"
|
|
14212
|
-
})(_templateObject5$
|
|
14054
|
+
})(_templateObject5$l || (_templateObject5$l = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n"])));
|
|
14213
14055
|
var ProjectName = styledComponents.styled(Text).withConfig({
|
|
14214
14056
|
displayName: "ProjectName",
|
|
14215
14057
|
componentId: "sc-1kin2xe-5"
|
|
@@ -14387,36 +14229,36 @@ var getPreciseRatio = function getPreciseRatio(ratio) {
|
|
|
14387
14229
|
return ratio.toString();
|
|
14388
14230
|
};
|
|
14389
14231
|
|
|
14390
|
-
var _templateObject$
|
|
14232
|
+
var _templateObject$G, _templateObject2$x, _templateObject3$r, _templateObject4$m, _templateObject5$k, _templateObject6$f, _templateObject7$b, _templateObject8$8, _templateObject9$7, _templateObject0$5, _templateObject1$5;
|
|
14391
14233
|
var SpacePadProjectDetailsWrapper = styledComponents.styled.div.withConfig({
|
|
14392
14234
|
displayName: "SpacePadProjectDetailsWrapper",
|
|
14393
14235
|
componentId: "sc-18f4woi-0"
|
|
14394
|
-
})(_templateObject$
|
|
14236
|
+
})(_templateObject$G || (_templateObject$G = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
14395
14237
|
var StyledDetailsHeader = styledComponents.styled.div.withConfig({
|
|
14396
14238
|
displayName: "StyledDetailsHeader",
|
|
14397
14239
|
componentId: "sc-18f4woi-1"
|
|
14398
|
-
})(_templateObject2$
|
|
14240
|
+
})(_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) {
|
|
14399
14241
|
var theme = _ref.theme;
|
|
14400
14242
|
return theme.mediaQueries.mobile;
|
|
14401
14243
|
});
|
|
14402
14244
|
var StyledDetails = styledComponents.styled.div.withConfig({
|
|
14403
14245
|
displayName: "StyledDetails",
|
|
14404
14246
|
componentId: "sc-18f4woi-2"
|
|
14405
|
-
})(_templateObject3$
|
|
14247
|
+
})(_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) {
|
|
14406
14248
|
var theme = _ref2.theme;
|
|
14407
14249
|
return theme.mediaQueries.mobile;
|
|
14408
14250
|
});
|
|
14409
14251
|
var ProjectLogo$1 = styledComponents.styled.div.withConfig({
|
|
14410
14252
|
displayName: "ProjectLogo",
|
|
14411
14253
|
componentId: "sc-18f4woi-3"
|
|
14412
|
-
})(_templateObject4$
|
|
14254
|
+
})(_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) {
|
|
14413
14255
|
var background = _ref3.background;
|
|
14414
14256
|
return background;
|
|
14415
14257
|
});
|
|
14416
14258
|
var TimerWrapper = styledComponents.styled.div.withConfig({
|
|
14417
14259
|
displayName: "TimerWrapper",
|
|
14418
14260
|
componentId: "sc-18f4woi-4"
|
|
14419
|
-
})(_templateObject5$
|
|
14261
|
+
})(_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) {
|
|
14420
14262
|
var theme = _ref4.theme;
|
|
14421
14263
|
return theme.mediaQueries.mobile;
|
|
14422
14264
|
});
|
|
@@ -14572,11 +14414,11 @@ var SpacePadProjectDetails = function SpacePadProjectDetails(props) {
|
|
|
14572
14414
|
});
|
|
14573
14415
|
};
|
|
14574
14416
|
|
|
14575
|
-
var _templateObject$
|
|
14417
|
+
var _templateObject$F, _templateObject2$w, _templateObject3$q, _templateObject4$l, _templateObject5$j, _templateObject6$e, _templateObject7$a, _templateObject8$7, _templateObject9$6;
|
|
14576
14418
|
var WalletWrapper = styledComponents.styled.div.withConfig({
|
|
14577
14419
|
displayName: "WalletWrapper",
|
|
14578
14420
|
componentId: "sc-1uosrv7-0"
|
|
14579
|
-
})(_templateObject$
|
|
14421
|
+
})(_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) {
|
|
14580
14422
|
var theme = _ref.theme;
|
|
14581
14423
|
return theme.backgrounds.secondary;
|
|
14582
14424
|
}, function (_ref2) {
|
|
@@ -14586,11 +14428,11 @@ var WalletWrapper = styledComponents.styled.div.withConfig({
|
|
|
14586
14428
|
styledComponents.styled.div.withConfig({
|
|
14587
14429
|
displayName: "WalletValueBar",
|
|
14588
14430
|
componentId: "sc-1uosrv7-1"
|
|
14589
|
-
})(_templateObject2$
|
|
14431
|
+
})(_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"])));
|
|
14590
14432
|
styledComponents.styled.div.withConfig({
|
|
14591
14433
|
displayName: "ProgressBarWrapper",
|
|
14592
14434
|
componentId: "sc-1uosrv7-2"
|
|
14593
|
-
})(_templateObject3$
|
|
14435
|
+
})(_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) {
|
|
14594
14436
|
var theme = _ref3.theme;
|
|
14595
14437
|
return theme.colors.dark;
|
|
14596
14438
|
}, function (_ref4) {
|
|
@@ -14600,7 +14442,7 @@ styledComponents.styled.div.withConfig({
|
|
|
14600
14442
|
styledComponents.styled.div.withConfig({
|
|
14601
14443
|
displayName: "ProgressBar",
|
|
14602
14444
|
componentId: "sc-1uosrv7-3"
|
|
14603
|
-
})(_templateObject4$
|
|
14445
|
+
})(_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) {
|
|
14604
14446
|
var width = _ref5.width;
|
|
14605
14447
|
return width;
|
|
14606
14448
|
}, function (_ref6) {
|
|
@@ -14610,7 +14452,7 @@ styledComponents.styled.div.withConfig({
|
|
|
14610
14452
|
styledComponents.styled.div.withConfig({
|
|
14611
14453
|
displayName: "ProcentValue",
|
|
14612
14454
|
componentId: "sc-1uosrv7-4"
|
|
14613
|
-
})(_templateObject5$
|
|
14455
|
+
})(_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) {
|
|
14614
14456
|
var theme = _ref7.theme;
|
|
14615
14457
|
return theme.colors.white;
|
|
14616
14458
|
});
|
|
@@ -14670,11 +14512,11 @@ var WalletCap = function WalletCap(_ref1) {
|
|
|
14670
14512
|
});
|
|
14671
14513
|
};
|
|
14672
14514
|
|
|
14673
|
-
var _templateObject$
|
|
14515
|
+
var _templateObject$E, _templateObject2$v, _templateObject3$p;
|
|
14674
14516
|
var TooltipContent = styledComponents.styled.div.withConfig({
|
|
14675
14517
|
displayName: "TooltipContent",
|
|
14676
14518
|
componentId: "sc-isj8qi-0"
|
|
14677
|
-
})(_templateObject$
|
|
14519
|
+
})(_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) {
|
|
14678
14520
|
var theme = _ref.theme;
|
|
14679
14521
|
return theme.colors.card;
|
|
14680
14522
|
}, function (_ref2) {
|
|
@@ -14689,7 +14531,7 @@ var TooltipContent = styledComponents.styled.div.withConfig({
|
|
|
14689
14531
|
}, function (props) {
|
|
14690
14532
|
return props.small ? 12 : "";
|
|
14691
14533
|
}, function (props) {
|
|
14692
|
-
return !props.removeAfter && styledComponents.css(_templateObject2$
|
|
14534
|
+
return !props.removeAfter && styledComponents.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) {
|
|
14693
14535
|
var theme = _ref5.theme;
|
|
14694
14536
|
return theme.tooltip.background;
|
|
14695
14537
|
}, props.bottom || 0);
|
|
@@ -14697,7 +14539,7 @@ var TooltipContent = styledComponents.styled.div.withConfig({
|
|
|
14697
14539
|
var Container$3 = styledComponents.styled.div.withConfig({
|
|
14698
14540
|
displayName: "Container",
|
|
14699
14541
|
componentId: "sc-isj8qi-1"
|
|
14700
|
-
})(_templateObject3$
|
|
14542
|
+
})(_templateObject3$p || (_templateObject3$p = _taggedTemplateLiteral(["\n position: relative;\n z-index: 99999999999;\n\n &:hover ", ", &:focus-within ", " {\n display: block;\n }\n"])), TooltipContent, TooltipContent);
|
|
14701
14543
|
var Tooltip = function Tooltip(_ref6) {
|
|
14702
14544
|
var content = _ref6.content,
|
|
14703
14545
|
children = _ref6.children,
|
|
@@ -14722,11 +14564,11 @@ var Tooltip = function Tooltip(_ref6) {
|
|
|
14722
14564
|
});
|
|
14723
14565
|
};
|
|
14724
14566
|
|
|
14725
|
-
var _templateObject$
|
|
14567
|
+
var _templateObject$D, _templateObject2$u, _templateObject3$o, _templateObject4$k, _templateObject5$i, _templateObject6$d, _templateObject7$9, _templateObject8$6, _templateObject9$5;
|
|
14726
14568
|
var CSSPowerWrapper = styledComponents.styled.div.withConfig({
|
|
14727
14569
|
displayName: "CSSPowerWrapper",
|
|
14728
14570
|
componentId: "sc-12ic40m-0"
|
|
14729
|
-
})(_templateObject$
|
|
14571
|
+
})(_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) {
|
|
14730
14572
|
var theme = _ref.theme;
|
|
14731
14573
|
return theme.colors.white3;
|
|
14732
14574
|
}, function (_ref2) {
|
|
@@ -14736,25 +14578,25 @@ var CSSPowerWrapper = styledComponents.styled.div.withConfig({
|
|
|
14736
14578
|
var PowerWrapper = styledComponents.styled.div.withConfig({
|
|
14737
14579
|
displayName: "PowerWrapper",
|
|
14738
14580
|
componentId: "sc-12ic40m-1"
|
|
14739
|
-
})(_templateObject2$
|
|
14581
|
+
})(_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"])));
|
|
14740
14582
|
var CSSPowerText = styledComponents.styled(Text).withConfig({
|
|
14741
14583
|
displayName: "CSSPowerText",
|
|
14742
14584
|
componentId: "sc-12ic40m-2"
|
|
14743
|
-
})(_templateObject3$
|
|
14585
|
+
})(_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) {
|
|
14744
14586
|
var theme = _ref3.theme;
|
|
14745
14587
|
return theme.colors.white55;
|
|
14746
14588
|
});
|
|
14747
14589
|
var CSSPowerValue = styledComponents.styled(Text).withConfig({
|
|
14748
14590
|
displayName: "CSSPowerValue",
|
|
14749
14591
|
componentId: "sc-12ic40m-3"
|
|
14750
|
-
})(_templateObject4$
|
|
14592
|
+
})(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 36px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref4) {
|
|
14751
14593
|
var theme = _ref4.theme;
|
|
14752
14594
|
return theme.colors.white;
|
|
14753
14595
|
});
|
|
14754
14596
|
var StyledInfoIcon = styledComponents.styled(Icon$2E).withConfig({
|
|
14755
14597
|
displayName: "StyledInfoIcon",
|
|
14756
14598
|
componentId: "sc-12ic40m-4"
|
|
14757
|
-
})(_templateObject5$
|
|
14599
|
+
})(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteral(["\n margin-left: 5px;\n height: 18px;\n cursor: pointer;\n"])));
|
|
14758
14600
|
var PowerDescriptionWrapper = styledComponents.styled.div.withConfig({
|
|
14759
14601
|
displayName: "PowerDescriptionWrapper",
|
|
14760
14602
|
componentId: "sc-12ic40m-5"
|
|
@@ -14826,11 +14668,11 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14826
14668
|
};
|
|
14827
14669
|
|
|
14828
14670
|
var _excluded$4 = ["value", "onUserInput", "placeholder", "type"];
|
|
14829
|
-
var _templateObject$
|
|
14671
|
+
var _templateObject$C;
|
|
14830
14672
|
var StyledInput = styledComponents.styled.input.withConfig({
|
|
14831
14673
|
displayName: "StyledInput",
|
|
14832
14674
|
componentId: "sc-mu1fop-0"
|
|
14833
|
-
})(_templateObject$
|
|
14675
|
+
})(_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) {
|
|
14834
14676
|
var error = _ref.error,
|
|
14835
14677
|
theme = _ref.theme;
|
|
14836
14678
|
return error ? theme.colors.failure : theme.colors.text;
|
|
@@ -14876,11 +14718,11 @@ var NumericalInput = /*#__PURE__*/React.memo(function InnerInput(_ref4) {
|
|
|
14876
14718
|
}));
|
|
14877
14719
|
});
|
|
14878
14720
|
|
|
14879
|
-
var _templateObject$
|
|
14721
|
+
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;
|
|
14880
14722
|
var SpacePadDatesWrapper = styledComponents.styled.div.withConfig({
|
|
14881
14723
|
displayName: "SpacePadDatesWrapper",
|
|
14882
14724
|
componentId: "sc-wmdxzq-0"
|
|
14883
|
-
})(_templateObject$
|
|
14725
|
+
})(_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) {
|
|
14884
14726
|
var theme = _ref.theme;
|
|
14885
14727
|
return theme.backgrounds.secondary;
|
|
14886
14728
|
}, function (_ref2) {
|
|
@@ -14893,7 +14735,7 @@ var SpacePadDatesWrapper = styledComponents.styled.div.withConfig({
|
|
|
14893
14735
|
var ActiveDot = styledComponents.styled.div.withConfig({
|
|
14894
14736
|
displayName: "ActiveDot",
|
|
14895
14737
|
componentId: "sc-wmdxzq-1"
|
|
14896
|
-
})(_templateObject2$
|
|
14738
|
+
})(_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) {
|
|
14897
14739
|
var color = _ref4.color;
|
|
14898
14740
|
return color;
|
|
14899
14741
|
}, function (_ref5) {
|
|
@@ -14906,18 +14748,18 @@ var ActiveDot = styledComponents.styled.div.withConfig({
|
|
|
14906
14748
|
var TimeWrapper = styledComponents.styled.div.withConfig({
|
|
14907
14749
|
displayName: "TimeWrapper",
|
|
14908
14750
|
componentId: "sc-wmdxzq-2"
|
|
14909
|
-
})(_templateObject3$
|
|
14751
|
+
})(_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) {
|
|
14910
14752
|
var theme = _ref7.theme;
|
|
14911
14753
|
return theme.mediaQueries.mobile;
|
|
14912
14754
|
});
|
|
14913
14755
|
var EndTimeWrapper = styledComponents.styled.div.withConfig({
|
|
14914
14756
|
displayName: "EndTimeWrapper",
|
|
14915
14757
|
componentId: "sc-wmdxzq-3"
|
|
14916
|
-
})(_templateObject4$
|
|
14758
|
+
})(_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"])));
|
|
14917
14759
|
var TimeNumber = styledComponents.styled(Text).withConfig({
|
|
14918
14760
|
displayName: "TimeNumber",
|
|
14919
14761
|
componentId: "sc-wmdxzq-4"
|
|
14920
|
-
})(_templateObject5$
|
|
14762
|
+
})(_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"])));
|
|
14921
14763
|
var PeriodText = styledComponents.styled(Text).withConfig({
|
|
14922
14764
|
displayName: "PeriodText",
|
|
14923
14765
|
componentId: "sc-wmdxzq-5"
|
|
@@ -15117,22 +14959,22 @@ var SpacePadDates = function SpacePadDates(_ref14) {
|
|
|
15117
14959
|
});
|
|
15118
14960
|
};
|
|
15119
14961
|
|
|
15120
|
-
var _templateObject$
|
|
14962
|
+
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;
|
|
15121
14963
|
var AddToCapWrapper = styledComponents.styled.div.withConfig({
|
|
15122
14964
|
displayName: "AddToCapWrapper",
|
|
15123
14965
|
componentId: "sc-1vjnrpf-0"
|
|
15124
|
-
})(_templateObject$
|
|
14966
|
+
})(_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"])));
|
|
15125
14967
|
var LogicComponentsWrapper = styledComponents.styled.div.withConfig({
|
|
15126
14968
|
displayName: "LogicComponentsWrapper",
|
|
15127
14969
|
componentId: "sc-1vjnrpf-1"
|
|
15128
|
-
})(_templateObject2$
|
|
14970
|
+
})(_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) {
|
|
15129
14971
|
var theme = _ref.theme;
|
|
15130
14972
|
return theme.mediaQueries.mobile;
|
|
15131
14973
|
});
|
|
15132
14974
|
var CapInput = styledComponents.styled(NumericalInput).withConfig({
|
|
15133
14975
|
displayName: "CapInput",
|
|
15134
14976
|
componentId: "sc-1vjnrpf-2"
|
|
15135
|
-
})(_templateObject3$
|
|
14977
|
+
})(_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) {
|
|
15136
14978
|
var theme = _ref2.theme;
|
|
15137
14979
|
return theme.colors.white10;
|
|
15138
14980
|
}, function (_ref3) {
|
|
@@ -15145,11 +14987,11 @@ var CapInput = styledComponents.styled(NumericalInput).withConfig({
|
|
|
15145
14987
|
var EligibleWrapper = styledComponents.styled.div.withConfig({
|
|
15146
14988
|
displayName: "EligibleWrapper",
|
|
15147
14989
|
componentId: "sc-1vjnrpf-3"
|
|
15148
|
-
})(_templateObject4$
|
|
14990
|
+
})(_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"])));
|
|
15149
14991
|
var IdoActionButton = styledComponents.styled(Button$1).withConfig({
|
|
15150
14992
|
displayName: "IdoActionButton",
|
|
15151
14993
|
componentId: "sc-1vjnrpf-4"
|
|
15152
|
-
})(_templateObject5$
|
|
14994
|
+
})(_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) {
|
|
15153
14995
|
var theme = _ref5.theme;
|
|
15154
14996
|
return theme.colors.dark;
|
|
15155
14997
|
}, function (_ref6) {
|
|
@@ -15556,33 +15398,33 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
15556
15398
|
return withoutActions ? /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {}) : contentWrapper;
|
|
15557
15399
|
};
|
|
15558
15400
|
|
|
15559
|
-
var _templateObject$
|
|
15401
|
+
var _templateObject$z, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$f;
|
|
15560
15402
|
var Description = styledComponents.styled.div.withConfig({
|
|
15561
15403
|
displayName: "Description",
|
|
15562
15404
|
componentId: "sc-h5yjzn-0"
|
|
15563
|
-
})(_templateObject$
|
|
15405
|
+
})(_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"])));
|
|
15564
15406
|
var CounterWrapper = styledComponents.styled.div.withConfig({
|
|
15565
15407
|
displayName: "CounterWrapper",
|
|
15566
15408
|
componentId: "sc-h5yjzn-1"
|
|
15567
|
-
})(_templateObject2$
|
|
15409
|
+
})(_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) {
|
|
15568
15410
|
var theme = _ref.theme;
|
|
15569
15411
|
return theme.backgrounds.secondary;
|
|
15570
15412
|
});
|
|
15571
15413
|
var CapDescriptionWrapper = styledComponents.styled.div.withConfig({
|
|
15572
15414
|
displayName: "CapDescriptionWrapper",
|
|
15573
15415
|
componentId: "sc-h5yjzn-2"
|
|
15574
|
-
})(_templateObject3$
|
|
15416
|
+
})(_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) {
|
|
15575
15417
|
var theme = _ref2.theme;
|
|
15576
15418
|
return theme.colors.white;
|
|
15577
15419
|
});
|
|
15578
15420
|
var SoftCapWrapper = styledComponents.styled(CapDescriptionWrapper).withConfig({
|
|
15579
15421
|
displayName: "SoftCapWrapper",
|
|
15580
15422
|
componentId: "sc-h5yjzn-3"
|
|
15581
|
-
})(_templateObject4$
|
|
15423
|
+
})(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteral(["\n border-right: 2px solid #252530;\n margin-left: 10px;\n padding-right: 17px;\n"])));
|
|
15582
15424
|
var HardCapWrapper = styledComponents.styled(CapDescriptionWrapper).withConfig({
|
|
15583
15425
|
displayName: "HardCapWrapper",
|
|
15584
15426
|
componentId: "sc-h5yjzn-4"
|
|
15585
|
-
})(_templateObject5$
|
|
15427
|
+
})(_templateObject5$f || (_templateObject5$f = _taggedTemplateLiteral(["\n align-items: center;\n margin-left: 32px;\n"])));
|
|
15586
15428
|
var CapCounter = function CapCounter(_ref3) {
|
|
15587
15429
|
var _ref3$softCap = _ref3.softCap,
|
|
15588
15430
|
softCap = _ref3$softCap === void 0 ? 332.52 : _ref3$softCap,
|
|
@@ -15636,33 +15478,33 @@ var SpacePadSchedule = function SpacePadSchedule(_ref) {
|
|
|
15636
15478
|
});
|
|
15637
15479
|
};
|
|
15638
15480
|
|
|
15639
|
-
var _templateObject$
|
|
15481
|
+
var _templateObject$y, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$e;
|
|
15640
15482
|
var MainWrapper = styledComponents.styled.div.withConfig({
|
|
15641
15483
|
displayName: "MainWrapper",
|
|
15642
15484
|
componentId: "sc-1bkh9t5-0"
|
|
15643
|
-
})(_templateObject$
|
|
15485
|
+
})(_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) {
|
|
15644
15486
|
var width = _ref.width;
|
|
15645
15487
|
return width ? "".concat(width, "px") : "100%";
|
|
15646
15488
|
});
|
|
15647
15489
|
var SecondWrapper = styledComponents.styled.div.withConfig({
|
|
15648
15490
|
displayName: "SecondWrapper",
|
|
15649
15491
|
componentId: "sc-1bkh9t5-1"
|
|
15650
|
-
})(_templateObject2$
|
|
15492
|
+
})(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n border-radius: 8px;\n z-index: 101;\n width: 100%;\n"])));
|
|
15651
15493
|
var ToggleButton = styledComponents.styled.div.withConfig({
|
|
15652
15494
|
displayName: "ToggleButton",
|
|
15653
15495
|
componentId: "sc-1bkh9t5-2"
|
|
15654
|
-
})(_templateObject3$
|
|
15496
|
+
})(_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) {
|
|
15655
15497
|
var isSwitched = _ref2.isSwitched;
|
|
15656
15498
|
return isSwitched ? "100%" : "0%";
|
|
15657
15499
|
});
|
|
15658
15500
|
var RowWrapper = styledComponents.styled.div.withConfig({
|
|
15659
15501
|
displayName: "RowWrapper",
|
|
15660
15502
|
componentId: "sc-1bkh9t5-3"
|
|
15661
|
-
})(_templateObject4$
|
|
15503
|
+
})(_templateObject4$g || (_templateObject4$g = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 100%;\n"])));
|
|
15662
15504
|
var SubscriptionWrapper = styledComponents.styled.div.withConfig({
|
|
15663
15505
|
displayName: "SubscriptionWrapper",
|
|
15664
15506
|
componentId: "sc-1bkh9t5-4"
|
|
15665
|
-
})(_templateObject5$
|
|
15507
|
+
})(_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) {
|
|
15666
15508
|
var isActive = _ref3.isActive;
|
|
15667
15509
|
return isActive ? "black" : "rgba(255, 255, 255, 0.25)";
|
|
15668
15510
|
});
|
|
@@ -15708,15 +15550,15 @@ var Switch = function Switch(_ref4) {
|
|
|
15708
15550
|
});
|
|
15709
15551
|
};
|
|
15710
15552
|
|
|
15711
|
-
var _templateObject$
|
|
15553
|
+
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;
|
|
15712
15554
|
var SponsoredText = styledComponents.styled(Text).withConfig({
|
|
15713
15555
|
displayName: "SponsoredText",
|
|
15714
15556
|
componentId: "sc-8tid8r-0"
|
|
15715
|
-
})(_templateObject$
|
|
15557
|
+
})(_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"])));
|
|
15716
15558
|
var SpacePadProjectWrapper = styledComponents.styled.div.withConfig({
|
|
15717
15559
|
displayName: "SpacePadProjectWrapper",
|
|
15718
15560
|
componentId: "sc-8tid8r-1"
|
|
15719
|
-
})(_templateObject2$
|
|
15561
|
+
})(_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) {
|
|
15720
15562
|
var theme = _ref.theme;
|
|
15721
15563
|
return theme.mediaQueries.desktop;
|
|
15722
15564
|
}, function (_ref2) {
|
|
@@ -15726,7 +15568,7 @@ var SpacePadProjectWrapper = styledComponents.styled.div.withConfig({
|
|
|
15726
15568
|
var SpacePadProjectCard = styledComponents.styled.div.withConfig({
|
|
15727
15569
|
displayName: "SpacePadProjectCard",
|
|
15728
15570
|
componentId: "sc-8tid8r-2"
|
|
15729
|
-
})(_templateObject3$
|
|
15571
|
+
})(_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) {
|
|
15730
15572
|
var theme = _ref3.theme;
|
|
15731
15573
|
return theme.backgrounds.primary;
|
|
15732
15574
|
}, function (_ref4) {
|
|
@@ -15737,14 +15579,14 @@ var SpacePadProjectCard = styledComponents.styled.div.withConfig({
|
|
|
15737
15579
|
var ProjectPoster = styledComponents.styled.div.withConfig({
|
|
15738
15580
|
displayName: "ProjectPoster",
|
|
15739
15581
|
componentId: "sc-8tid8r-3"
|
|
15740
|
-
})(_templateObject4$
|
|
15582
|
+
})(_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) {
|
|
15741
15583
|
var background = _ref5.background;
|
|
15742
15584
|
return background;
|
|
15743
15585
|
});
|
|
15744
15586
|
var ProjectLogo = styledComponents.styled.div.withConfig({
|
|
15745
15587
|
displayName: "ProjectLogo",
|
|
15746
15588
|
componentId: "sc-8tid8r-4"
|
|
15747
|
-
})(_templateObject5$
|
|
15589
|
+
})(_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) {
|
|
15748
15590
|
var background = _ref6.background;
|
|
15749
15591
|
return background;
|
|
15750
15592
|
});
|
|
@@ -16005,11 +15847,11 @@ var SpacePadProject = function SpacePadProject(props) {
|
|
|
16005
15847
|
});
|
|
16006
15848
|
};
|
|
16007
15849
|
|
|
16008
|
-
var _templateObject$
|
|
15850
|
+
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;
|
|
16009
15851
|
var AccountInfoWrapper = styledComponents.styled.div.withConfig({
|
|
16010
15852
|
displayName: "AccountInfoWrapper",
|
|
16011
15853
|
componentId: "sc-1p04ez8-0"
|
|
16012
|
-
})(_templateObject$
|
|
15854
|
+
})(_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) {
|
|
16013
15855
|
var theme = _ref.theme;
|
|
16014
15856
|
return theme.colors.card;
|
|
16015
15857
|
}, function (_ref2) {
|
|
@@ -16022,7 +15864,7 @@ var AccountInfoWrapper = styledComponents.styled.div.withConfig({
|
|
|
16022
15864
|
var StyledAccountInfo = styledComponents.styled.div.withConfig({
|
|
16023
15865
|
displayName: "StyledAccountInfo",
|
|
16024
15866
|
componentId: "sc-1p04ez8-1"
|
|
16025
|
-
})(_templateObject2$
|
|
15867
|
+
})(_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) {
|
|
16026
15868
|
var theme = _ref4.theme;
|
|
16027
15869
|
return theme.mediaQueries.mobile;
|
|
16028
15870
|
}, function (_ref5) {
|
|
@@ -16032,7 +15874,7 @@ var StyledAccountInfo = styledComponents.styled.div.withConfig({
|
|
|
16032
15874
|
var UserComponent = styledComponents.styled.p.withConfig({
|
|
16033
15875
|
displayName: "UserComponent",
|
|
16034
15876
|
componentId: "sc-1p04ez8-2"
|
|
16035
|
-
})(_templateObject3$
|
|
15877
|
+
})(_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) {
|
|
16036
15878
|
var theme = _ref6.theme;
|
|
16037
15879
|
return theme.mediaQueries.tablet;
|
|
16038
15880
|
}, function (_ref7) {
|
|
@@ -16058,7 +15900,7 @@ var UserComponent = styledComponents.styled.p.withConfig({
|
|
|
16058
15900
|
var AccountComponent = styledComponents.styled.div.withConfig({
|
|
16059
15901
|
displayName: "AccountComponent",
|
|
16060
15902
|
componentId: "sc-1p04ez8-3"
|
|
16061
|
-
})(_templateObject4$
|
|
15903
|
+
})(_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) {
|
|
16062
15904
|
var theme = _ref0.theme;
|
|
16063
15905
|
return theme.colors.white3;
|
|
16064
15906
|
}, function (_ref1) {
|
|
@@ -16071,7 +15913,7 @@ var AccountComponent = styledComponents.styled.div.withConfig({
|
|
|
16071
15913
|
var BalanceText = styledComponents.styled(Text).withConfig({
|
|
16072
15914
|
displayName: "BalanceText",
|
|
16073
15915
|
componentId: "sc-1p04ez8-4"
|
|
16074
|
-
})(_templateObject5$
|
|
15916
|
+
})(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteral(["\n margin-left: 50px;\n ", " {\n margin-left: 0px;\n }\n"])), function (_ref11) {
|
|
16075
15917
|
var theme = _ref11.theme;
|
|
16076
15918
|
return theme.mediaQueries.tablet;
|
|
16077
15919
|
});
|
|
@@ -16390,30 +16232,30 @@ var Icon$C = function Icon() {
|
|
|
16390
16232
|
});
|
|
16391
16233
|
};
|
|
16392
16234
|
|
|
16393
|
-
var _templateObject$
|
|
16235
|
+
var _templateObject$v, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$8, _templateObject7$4, _templateObject8$1, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11;
|
|
16394
16236
|
var Wrapper$2 = styledComponents.styled.div.withConfig({
|
|
16395
16237
|
displayName: "Wrapper",
|
|
16396
16238
|
componentId: "sc-kcmda0-0"
|
|
16397
|
-
})(_templateObject$
|
|
16239
|
+
})(_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) {
|
|
16398
16240
|
var height = _ref.height;
|
|
16399
16241
|
return height ? "".concat(height, "px") : "auto";
|
|
16400
16242
|
});
|
|
16401
16243
|
var Header = styledComponents.styled.div.withConfig({
|
|
16402
16244
|
displayName: "Header",
|
|
16403
16245
|
componentId: "sc-kcmda0-1"
|
|
16404
|
-
})(_templateObject2$
|
|
16246
|
+
})(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
16405
16247
|
var PoolWeightWrapper = styledComponents.styled.div.withConfig({
|
|
16406
16248
|
displayName: "PoolWeightWrapper",
|
|
16407
16249
|
componentId: "sc-kcmda0-2"
|
|
16408
|
-
})(_templateObject3$
|
|
16250
|
+
})(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral(["\n width: auto;\n display: flex;\n flex-direction: column;\n"])));
|
|
16409
16251
|
var PoolWeightText = styledComponents.styled(Text).withConfig({
|
|
16410
16252
|
displayName: "PoolWeightText",
|
|
16411
16253
|
componentId: "sc-kcmda0-3"
|
|
16412
|
-
})(_templateObject4$
|
|
16254
|
+
})(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
16413
16255
|
var CssPowerText = styledComponents.styled(Text).withConfig({
|
|
16414
16256
|
displayName: "CssPowerText",
|
|
16415
16257
|
componentId: "sc-kcmda0-4"
|
|
16416
|
-
})(_templateObject5$
|
|
16258
|
+
})(_templateObject5$b || (_templateObject5$b = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
16417
16259
|
var RequirementDescripton = styledComponents.styled(Text).withConfig({
|
|
16418
16260
|
displayName: "RequirementDescripton",
|
|
16419
16261
|
componentId: "sc-kcmda0-5"
|
|
@@ -16514,27 +16356,27 @@ var TierCard = function TierCard(_ref2) {
|
|
|
16514
16356
|
});
|
|
16515
16357
|
};
|
|
16516
16358
|
|
|
16517
|
-
var _templateObject$
|
|
16359
|
+
var _templateObject$u, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$a, _templateObject6$7;
|
|
16518
16360
|
var Wrapper$1 = styledComponents.styled.div.withConfig({
|
|
16519
16361
|
displayName: "Wrapper",
|
|
16520
16362
|
componentId: "sc-8hnj4a-0"
|
|
16521
|
-
})(_templateObject$
|
|
16363
|
+
})(_templateObject$u || (_templateObject$u = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 300px;\n"])));
|
|
16522
16364
|
var Upper = styledComponents.styled.div.withConfig({
|
|
16523
16365
|
displayName: "Upper",
|
|
16524
16366
|
componentId: "sc-8hnj4a-1"
|
|
16525
|
-
})(_templateObject2$
|
|
16367
|
+
})(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"])));
|
|
16526
16368
|
var IconWrapper = styledComponents.styled.div.withConfig({
|
|
16527
16369
|
displayName: "IconWrapper",
|
|
16528
16370
|
componentId: "sc-8hnj4a-2"
|
|
16529
|
-
})(_templateObject3$
|
|
16371
|
+
})(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteral(["\n margin: 0 auto;\n max-width: 220px;\n max-height: 160px;\n"])));
|
|
16530
16372
|
var StepNumber = styledComponents.styled.p.withConfig({
|
|
16531
16373
|
displayName: "StepNumber",
|
|
16532
16374
|
componentId: "sc-8hnj4a-3"
|
|
16533
|
-
})(_templateObject4$
|
|
16375
|
+
})(_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"])));
|
|
16534
16376
|
var StepDescription = styledComponents.styled(Text).withConfig({
|
|
16535
16377
|
displayName: "StepDescription",
|
|
16536
16378
|
componentId: "sc-8hnj4a-4"
|
|
16537
|
-
})(_templateObject5$
|
|
16379
|
+
})(_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) {
|
|
16538
16380
|
var theme = _ref.theme;
|
|
16539
16381
|
return theme.mediaQueries.mobile;
|
|
16540
16382
|
});
|
|
@@ -16594,36 +16436,36 @@ var IdoParticipationStep = function IdoParticipationStep(_ref2) {
|
|
|
16594
16436
|
});
|
|
16595
16437
|
};
|
|
16596
16438
|
|
|
16597
|
-
var _templateObject$
|
|
16439
|
+
var _templateObject$t, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$9, _templateObject6$6, _templateObject7$3;
|
|
16598
16440
|
var UserTiersWrapper = styledComponents.styled.div.withConfig({
|
|
16599
16441
|
displayName: "UserTiersWrapper",
|
|
16600
16442
|
componentId: "sc-ge61bg-0"
|
|
16601
|
-
})(_templateObject$
|
|
16443
|
+
})(_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) {
|
|
16602
16444
|
var theme = _ref.theme;
|
|
16603
16445
|
return theme.colors.card;
|
|
16604
16446
|
});
|
|
16605
16447
|
var TiersTitle = styledComponents.styled(Text).withConfig({
|
|
16606
16448
|
displayName: "TiersTitle",
|
|
16607
16449
|
componentId: "sc-ge61bg-1"
|
|
16608
|
-
})(_templateObject2$
|
|
16450
|
+
})(_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) {
|
|
16609
16451
|
var theme = _ref2.theme;
|
|
16610
16452
|
return theme.colors.white;
|
|
16611
16453
|
});
|
|
16612
16454
|
var Column = styledComponents.styled.div.withConfig({
|
|
16613
16455
|
displayName: "Column",
|
|
16614
16456
|
componentId: "sc-ge61bg-2"
|
|
16615
|
-
})(_templateObject3$
|
|
16457
|
+
})(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n"])));
|
|
16616
16458
|
var TierRow = styledComponents.styled(Box).withConfig({
|
|
16617
16459
|
displayName: "TierRow",
|
|
16618
16460
|
componentId: "sc-ge61bg-3"
|
|
16619
|
-
})(_templateObject4$
|
|
16461
|
+
})(_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) {
|
|
16620
16462
|
var bordered = _ref3.bordered;
|
|
16621
16463
|
return bordered && "1px solid #272730";
|
|
16622
16464
|
});
|
|
16623
16465
|
var TierNumberText = styledComponents.styled(Text).withConfig({
|
|
16624
16466
|
displayName: "TierNumberText",
|
|
16625
16467
|
componentId: "sc-ge61bg-4"
|
|
16626
|
-
})(_templateObject5$
|
|
16468
|
+
})(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 160%;\n color: ", ";\n font-weight: ", ";\n position: relative;\n"])), function (_ref4) {
|
|
16627
16469
|
var theme = _ref4.theme,
|
|
16628
16470
|
active = _ref4.active;
|
|
16629
16471
|
return active ? theme.colors.white : "#818c92";
|
|
@@ -16706,11 +16548,11 @@ var UserTiers = function UserTiers(props) {
|
|
|
16706
16548
|
});
|
|
16707
16549
|
};
|
|
16708
16550
|
|
|
16709
|
-
var _templateObject$
|
|
16551
|
+
var _templateObject$s;
|
|
16710
16552
|
var StyledMultiValue = styledComponents.styled.div.withConfig({
|
|
16711
16553
|
displayName: "StyledMultiValue",
|
|
16712
16554
|
componentId: "sc-11c5hed-0"
|
|
16713
|
-
})(_templateObject$
|
|
16555
|
+
})(_templateObject$s || (_templateObject$s = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n"])));
|
|
16714
16556
|
var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
16715
16557
|
var spaceRound = _ref.spaceRound,
|
|
16716
16558
|
useEndTime = _ref.useEndTime,
|
|
@@ -16744,15 +16586,15 @@ var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
|
16744
16586
|
});
|
|
16745
16587
|
};
|
|
16746
16588
|
|
|
16747
|
-
var _templateObject$
|
|
16589
|
+
var _templateObject$r, _templateObject2$k, _templateObject3$e, _templateObject4$a, _templateObject5$8;
|
|
16748
16590
|
var LaunchWrapper = styledComponents.styled.div.withConfig({
|
|
16749
16591
|
displayName: "LaunchWrapper",
|
|
16750
16592
|
componentId: "sc-8kj88a-0"
|
|
16751
|
-
})(_templateObject$
|
|
16593
|
+
})(_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"])));
|
|
16752
16594
|
var ForProjects = styledComponents.styled(Text).withConfig({
|
|
16753
16595
|
displayName: "ForProjects",
|
|
16754
16596
|
componentId: "sc-8kj88a-1"
|
|
16755
|
-
})(_templateObject2$
|
|
16597
|
+
})(_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) {
|
|
16756
16598
|
var theme = _ref.theme,
|
|
16757
16599
|
mainColor = _ref.mainColor;
|
|
16758
16600
|
return mainColor || theme.colors.darkPurple;
|
|
@@ -16764,15 +16606,15 @@ var ForProjects = styledComponents.styled(Text).withConfig({
|
|
|
16764
16606
|
var LaunchHeader = styledComponents.styled(Text).withConfig({
|
|
16765
16607
|
displayName: "LaunchHeader",
|
|
16766
16608
|
componentId: "sc-8kj88a-2"
|
|
16767
|
-
})(_templateObject3$
|
|
16609
|
+
})(_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"])));
|
|
16768
16610
|
var LaunchDescription = styledComponents.styled(Text).withConfig({
|
|
16769
16611
|
displayName: "LaunchDescription",
|
|
16770
16612
|
componentId: "sc-8kj88a-3"
|
|
16771
|
-
})(_templateObject4$
|
|
16613
|
+
})(_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"])));
|
|
16772
16614
|
var ApplyForIdoButton = styledComponents.styled(Button$1).withConfig({
|
|
16773
16615
|
displayName: "ApplyForIdoButton",
|
|
16774
16616
|
componentId: "sc-8kj88a-4"
|
|
16775
|
-
})(_templateObject5$
|
|
16617
|
+
})(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteral(["\n width: 161px;\n height: 44px;\n border-radius: 10px;\n background: #12ffb8;\n margin-top: 45px;\n"])));
|
|
16776
16618
|
var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
16777
16619
|
var title = _ref3.title,
|
|
16778
16620
|
description = _ref3.description,
|
|
@@ -16801,24 +16643,24 @@ var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
|
16801
16643
|
});
|
|
16802
16644
|
};
|
|
16803
16645
|
|
|
16804
|
-
var _templateObject$
|
|
16646
|
+
var _templateObject$q;
|
|
16805
16647
|
var ReferralTitle = styledComponents.styled(Text).withConfig({
|
|
16806
16648
|
displayName: "ReferralTitle",
|
|
16807
16649
|
componentId: "sc-q2pgu9-0"
|
|
16808
|
-
})(_templateObject$
|
|
16650
|
+
})(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref) {
|
|
16809
16651
|
var fontColor = _ref.fontColor;
|
|
16810
16652
|
return fontColor || "#ffffff";
|
|
16811
16653
|
});
|
|
16812
16654
|
|
|
16813
|
-
var _templateObject$
|
|
16655
|
+
var _templateObject$p, _templateObject2$j;
|
|
16814
16656
|
var ReferralBannerWrapper = styledComponents.styled.div.withConfig({
|
|
16815
16657
|
displayName: "ReferralBannerWrapper",
|
|
16816
16658
|
componentId: "sc-3cib5z-0"
|
|
16817
|
-
})(_templateObject$
|
|
16659
|
+
})(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
16818
16660
|
var InvitationDescription = styledComponents.styled(Text).withConfig({
|
|
16819
16661
|
displayName: "InvitationDescription",
|
|
16820
16662
|
componentId: "sc-3cib5z-1"
|
|
16821
|
-
})(_templateObject2$
|
|
16663
|
+
})(_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"])));
|
|
16822
16664
|
var ReferralBanner = function ReferralBanner(props) {
|
|
16823
16665
|
var refFee = props.refFee,
|
|
16824
16666
|
onReadMore = props.onReadMore,
|
|
@@ -16883,33 +16725,33 @@ var copyValueToClipboard = function copyValueToClipboard(value, copyCallback) {
|
|
|
16883
16725
|
}, 3000);
|
|
16884
16726
|
};
|
|
16885
16727
|
|
|
16886
|
-
var _templateObject$
|
|
16728
|
+
var _templateObject$o, _templateObject2$i, _templateObject3$d, _templateObject4$9, _templateObject5$7, _templateObject6$5;
|
|
16887
16729
|
var TableCard = styledComponents.styled(Card).withConfig({
|
|
16888
16730
|
displayName: "TableCard",
|
|
16889
16731
|
componentId: "sc-wd2wdf-0"
|
|
16890
|
-
})(_templateObject$
|
|
16732
|
+
})(_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) {
|
|
16891
16733
|
var theme = _ref.theme;
|
|
16892
16734
|
return theme.mediaQueries.sm;
|
|
16893
16735
|
});
|
|
16894
16736
|
var CopyLinkCardWrapper = styledComponents.styled(TableCard).withConfig({
|
|
16895
16737
|
displayName: "CopyLinkCardWrapper",
|
|
16896
16738
|
componentId: "sc-wd2wdf-1"
|
|
16897
|
-
})(_templateObject2$
|
|
16739
|
+
})(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n background: #1d1d26;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"])));
|
|
16898
16740
|
var MyReferralCard = styledComponents.styled(TableCard).withConfig({
|
|
16899
16741
|
displayName: "MyReferralCard",
|
|
16900
16742
|
componentId: "sc-wd2wdf-2"
|
|
16901
|
-
})(_templateObject3$
|
|
16743
|
+
})(_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) {
|
|
16902
16744
|
var theme = _ref2.theme;
|
|
16903
16745
|
return theme.mediaQueries.sm;
|
|
16904
16746
|
});
|
|
16905
16747
|
var RefLink = styledComponents.styled(Text).withConfig({
|
|
16906
16748
|
displayName: "RefLink",
|
|
16907
16749
|
componentId: "sc-wd2wdf-3"
|
|
16908
|
-
})(_templateObject4$
|
|
16750
|
+
})(_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"])));
|
|
16909
16751
|
var SocialRow = styledComponents.styled.div.withConfig({
|
|
16910
16752
|
displayName: "SocialRow",
|
|
16911
16753
|
componentId: "sc-wd2wdf-4"
|
|
16912
|
-
})(_templateObject5$
|
|
16754
|
+
})(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n"])));
|
|
16913
16755
|
var ShareText = styledComponents.styled(Text).withConfig({
|
|
16914
16756
|
displayName: "ShareText",
|
|
16915
16757
|
componentId: "sc-wd2wdf-5"
|
|
@@ -17654,18 +17496,18 @@ var IconModule = /*#__PURE__*/Object.freeze({
|
|
|
17654
17496
|
YouTubeIcon: Icon$e
|
|
17655
17497
|
});
|
|
17656
17498
|
|
|
17657
|
-
var _templateObject$
|
|
17499
|
+
var _templateObject$n, _templateObject2$h;
|
|
17658
17500
|
var StyledLink = styledComponents.styled(reactRouterDom.Link).withConfig({
|
|
17659
17501
|
displayName: "StyledLink",
|
|
17660
17502
|
componentId: "sc-1u6975p-0"
|
|
17661
|
-
})(_templateObject$
|
|
17503
|
+
})(_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) {
|
|
17662
17504
|
var theme = _ref.theme;
|
|
17663
17505
|
return theme.mediaQueries.nav;
|
|
17664
17506
|
});
|
|
17665
17507
|
var CoinswapLogo = styledComponents.styled.div.withConfig({
|
|
17666
17508
|
displayName: "CoinswapLogo",
|
|
17667
17509
|
componentId: "sc-1u6975p-1"
|
|
17668
|
-
})(_templateObject2$
|
|
17510
|
+
})(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["\n $opacity: ", ";\n width: ", ";\n transition: width 0.6s, $opacity 0.3s;\n"])), function (_ref2) {
|
|
17669
17511
|
var isPushed = _ref2.isPushed;
|
|
17670
17512
|
return isPushed ? 1 : 0;
|
|
17671
17513
|
}, function (_ref3) {
|
|
@@ -17858,12 +17700,12 @@ var MENU_ACCORDION_HEIGHT = 30;
|
|
|
17858
17700
|
var SIDEBAR_WIDTH_FULL = 240;
|
|
17859
17701
|
var SIDEBAR_WIDTH_REDUCED = 70;
|
|
17860
17702
|
|
|
17861
|
-
var _templateObject$
|
|
17862
|
-
var rainbowAnimation = styledComponents.keyframes(_templateObject$
|
|
17703
|
+
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
17704
|
+
var rainbowAnimation = styledComponents.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"])));
|
|
17863
17705
|
var LinkLabel = styledComponents.styled.div.withConfig({
|
|
17864
17706
|
displayName: "LinkLabel",
|
|
17865
17707
|
componentId: "sc-1sxukum-0"
|
|
17866
|
-
})(_templateObject2$
|
|
17708
|
+
})(_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) {
|
|
17867
17709
|
var isPushed = _ref.isPushed,
|
|
17868
17710
|
isActive = _ref.isActive;
|
|
17869
17711
|
return !isPushed ? "transparent" : isActive ? "rgba(255, 255, 255, 1)" : "rgba(255, 255, 255, 0.5)";
|
|
@@ -17874,7 +17716,7 @@ var LinkLabel = styledComponents.styled.div.withConfig({
|
|
|
17874
17716
|
var MenuEntry = styledComponents.styled.div.withConfig({
|
|
17875
17717
|
displayName: "MenuEntry",
|
|
17876
17718
|
componentId: "sc-1sxukum-1"
|
|
17877
|
-
})(_templateObject3$
|
|
17719
|
+
})(_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) {
|
|
17878
17720
|
var secondary = _ref3.secondary;
|
|
17879
17721
|
return secondary ? "0 32px" : "0 25px";
|
|
17880
17722
|
}, function (_ref4) {
|
|
@@ -17908,15 +17750,15 @@ var MenuEntry = styledComponents.styled.div.withConfig({
|
|
|
17908
17750
|
return theme.colors.gradients.bubblegum;
|
|
17909
17751
|
});
|
|
17910
17752
|
|
|
17911
|
-
var _templateObject$
|
|
17753
|
+
var _templateObject$l, _templateObject2$f, _templateObject3$b;
|
|
17912
17754
|
var Container$2 = styledComponents.styled.div.withConfig({
|
|
17913
17755
|
displayName: "Container",
|
|
17914
17756
|
componentId: "sc-1j605qy-0"
|
|
17915
|
-
})(_templateObject$
|
|
17757
|
+
})(_templateObject$l || (_templateObject$l = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n // Safari fix\n flex-shrink: 0;\n"])));
|
|
17916
17758
|
var AccordionContent = styledComponents.styled.div.withConfig({
|
|
17917
17759
|
displayName: "AccordionContent",
|
|
17918
17760
|
componentId: "sc-1j605qy-1"
|
|
17919
|
-
})(_templateObject2$
|
|
17761
|
+
})(_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) {
|
|
17920
17762
|
var isOpen = _ref.isOpen,
|
|
17921
17763
|
maxHeight = _ref.maxHeight;
|
|
17922
17764
|
return isOpen ? "".concat(maxHeight, "px") : 0;
|
|
@@ -17928,7 +17770,7 @@ var AccordionContent = styledComponents.styled.div.withConfig({
|
|
|
17928
17770
|
var ArrowIcon = styledComponents.styled(Icon$2x).withConfig({
|
|
17929
17771
|
displayName: "ArrowIcon",
|
|
17930
17772
|
componentId: "sc-1j605qy-2"
|
|
17931
|
-
})(_templateObject3$
|
|
17773
|
+
})(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n margin-right: -7px !important;\n transform: rotate(", "deg);\n transition: transform 0.4s;\n"])), function (_ref3) {
|
|
17932
17774
|
var isOpen = _ref3.isOpen;
|
|
17933
17775
|
return isOpen ? 0 : 180;
|
|
17934
17776
|
});
|
|
@@ -18001,19 +17843,19 @@ exports.ExtraIcon = void 0;
|
|
|
18001
17843
|
ExtraIcon["new"] = "new";
|
|
18002
17844
|
})(exports.ExtraIcon || (exports.ExtraIcon = {}));
|
|
18003
17845
|
|
|
18004
|
-
var _templateObject$
|
|
17846
|
+
var _templateObject$k, _templateObject2$e;
|
|
18005
17847
|
var Icons$2 = IconModule;
|
|
18006
17848
|
var Container$1 = styledComponents.styled.div.withConfig({
|
|
18007
17849
|
displayName: "Container",
|
|
18008
17850
|
componentId: "sc-1qgqorz-0"
|
|
18009
|
-
})(_templateObject$
|
|
17851
|
+
})(_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) {
|
|
18010
17852
|
var theme = _ref.theme;
|
|
18011
17853
|
return theme.colors.primary;
|
|
18012
17854
|
});
|
|
18013
17855
|
var NewLabel = styledComponents.styled.div.withConfig({
|
|
18014
17856
|
displayName: "NewLabel",
|
|
18015
17857
|
componentId: "sc-1qgqorz-1"
|
|
18016
|
-
})(_templateObject2$
|
|
17858
|
+
})(_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) {
|
|
18017
17859
|
var theme = _ref2.theme;
|
|
18018
17860
|
return theme.colors.primary;
|
|
18019
17861
|
}, function (_ref3) {
|
|
@@ -18117,7 +17959,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
18117
17959
|
};
|
|
18118
17960
|
|
|
18119
17961
|
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "$isLoading", "isLoading", "disabled"];
|
|
18120
|
-
var _templateObject$
|
|
17962
|
+
var _templateObject$j;
|
|
18121
17963
|
var StyledNavButton = styledComponents.styled.button.withConfig({
|
|
18122
17964
|
shouldForwardProp: function shouldForwardProp(prop) {
|
|
18123
17965
|
return !['$fullWidth', '$isLoading'].includes(prop);
|
|
@@ -18125,7 +17967,7 @@ var StyledNavButton = styledComponents.styled.button.withConfig({
|
|
|
18125
17967
|
}).withConfig({
|
|
18126
17968
|
displayName: "StyledNavButton",
|
|
18127
17969
|
componentId: "sc-11strgr-0"
|
|
18128
|
-
})(_templateObject$
|
|
17970
|
+
})(_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) {
|
|
18129
17971
|
var $fullWidth = _ref.$fullWidth,
|
|
18130
17972
|
fullWidth = _ref.fullWidth;
|
|
18131
17973
|
return $fullWidth || fullWidth ? "100%" : "max-content";
|
|
@@ -18162,14 +18004,14 @@ var NavButton = function NavButton(_ref4) {
|
|
|
18162
18004
|
}));
|
|
18163
18005
|
};
|
|
18164
18006
|
|
|
18165
|
-
var _templateObject$
|
|
18007
|
+
var _templateObject$i;
|
|
18166
18008
|
var MenuButton = styledComponents.styled(NavButton).attrs({
|
|
18167
18009
|
variant: "text",
|
|
18168
18010
|
size: "sm"
|
|
18169
18011
|
}).withConfig({
|
|
18170
18012
|
displayName: "MenuButton",
|
|
18171
18013
|
componentId: "sc-1nwrww1-0"
|
|
18172
|
-
})(_templateObject$
|
|
18014
|
+
})(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n color: ", ";\n padding: 0 8px;\n border-radius: 8px;\n"])), function (_ref) {
|
|
18173
18015
|
var theme = _ref.theme;
|
|
18174
18016
|
return theme.colors.text;
|
|
18175
18017
|
});
|
|
@@ -18205,13 +18047,13 @@ var getLangFlag = function getLangFlag(lang) {
|
|
|
18205
18047
|
}
|
|
18206
18048
|
};
|
|
18207
18049
|
|
|
18208
|
-
var _templateObject$
|
|
18050
|
+
var _templateObject$h, _templateObject2$d, _templateObject3$a, _templateObject4$8, _templateObject5$6, _templateObject6$4, _templateObject7$2;
|
|
18209
18051
|
var Icons$1 = IconModule;
|
|
18210
18052
|
var LanguageIcon = Icons$1.LanguageIcon;
|
|
18211
18053
|
var LangButton = styledComponents.styled(Button$1).withConfig({
|
|
18212
18054
|
displayName: "LangButton",
|
|
18213
18055
|
componentId: "sc-1yvxo6n-0"
|
|
18214
|
-
})(_templateObject$
|
|
18056
|
+
})(_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) {
|
|
18215
18057
|
var theme = _ref.theme;
|
|
18216
18058
|
return theme.colors.white3;
|
|
18217
18059
|
}, function (_ref2) {
|
|
@@ -18221,7 +18063,7 @@ var LangButton = styledComponents.styled(Button$1).withConfig({
|
|
|
18221
18063
|
var LangModal = styledComponents.styled.div.withConfig({
|
|
18222
18064
|
displayName: "LangModal",
|
|
18223
18065
|
componentId: "sc-1yvxo6n-1"
|
|
18224
|
-
})(_templateObject2$
|
|
18066
|
+
})(_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) {
|
|
18225
18067
|
var display = _ref3.display;
|
|
18226
18068
|
return display ? "block" : "none";
|
|
18227
18069
|
}, function (_ref4) {
|
|
@@ -18231,7 +18073,7 @@ var LangModal = styledComponents.styled.div.withConfig({
|
|
|
18231
18073
|
var LangsList = styledComponents.styled.div.withConfig({
|
|
18232
18074
|
displayName: "LangsList",
|
|
18233
18075
|
componentId: "sc-1yvxo6n-2"
|
|
18234
|
-
})(_templateObject3$
|
|
18076
|
+
})(_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) {
|
|
18235
18077
|
var theme = _ref5.theme;
|
|
18236
18078
|
return theme.colors.white55;
|
|
18237
18079
|
}, function (_ref6) {
|
|
@@ -18241,11 +18083,11 @@ var LangsList = styledComponents.styled.div.withConfig({
|
|
|
18241
18083
|
var TitleContainer = styledComponents.styled.div.withConfig({
|
|
18242
18084
|
displayName: "TitleContainer",
|
|
18243
18085
|
componentId: "sc-1yvxo6n-3"
|
|
18244
|
-
})(_templateObject4$
|
|
18245
|
-
var ButtonContainer
|
|
18086
|
+
})(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-bottom: 10px;\n"])));
|
|
18087
|
+
var ButtonContainer = styledComponents.styled.div.withConfig({
|
|
18246
18088
|
displayName: "ButtonContainer",
|
|
18247
18089
|
componentId: "sc-1yvxo6n-4"
|
|
18248
|
-
})(_templateObject5$
|
|
18090
|
+
})(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteral(["\n width: 100%;\n text-align: start;\n padding: 0px 8px;\n"])));
|
|
18249
18091
|
var LangText = styledComponents.styled(Text).withConfig({
|
|
18250
18092
|
displayName: "LangText",
|
|
18251
18093
|
componentId: "sc-1yvxo6n-5"
|
|
@@ -18280,7 +18122,7 @@ var LangSelector = function LangSelector(_ref9) {
|
|
|
18280
18122
|
setshowModal(false);
|
|
18281
18123
|
}
|
|
18282
18124
|
}, [isPushed]);
|
|
18283
|
-
return /*#__PURE__*/jsxRuntime.jsx(ButtonContainer
|
|
18125
|
+
return /*#__PURE__*/jsxRuntime.jsx(ButtonContainer, {
|
|
18284
18126
|
children: /*#__PURE__*/jsxRuntime.jsxs(LangButton, {
|
|
18285
18127
|
variant: exports.ButtonVariant.OUTLINE,
|
|
18286
18128
|
onClick: function onClick() {
|
|
@@ -18361,15 +18203,15 @@ var LangSelector$1 = /*#__PURE__*/React.memo(LangSelector, function (prev, next)
|
|
|
18361
18203
|
return prev.currentLang === next.currentLang && prev.isPushed === next.isPushed;
|
|
18362
18204
|
});
|
|
18363
18205
|
|
|
18364
|
-
var _templateObject$
|
|
18206
|
+
var _templateObject$g, _templateObject2$c;
|
|
18365
18207
|
var Container = styledComponents.styled.div.withConfig({
|
|
18366
18208
|
displayName: "Container",
|
|
18367
18209
|
componentId: "sc-11jjlfd-0"
|
|
18368
|
-
})(_templateObject$
|
|
18210
|
+
})(_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"])));
|
|
18369
18211
|
var SettingsEntry = styledComponents.styled.div.withConfig({
|
|
18370
18212
|
displayName: "SettingsEntry",
|
|
18371
18213
|
componentId: "sc-11jjlfd-1"
|
|
18372
|
-
})(_templateObject2$
|
|
18214
|
+
})(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: auto;\n"])));
|
|
18373
18215
|
var PanelFooter = function PanelFooter(_ref) {
|
|
18374
18216
|
var isPushed = _ref.isPushed;
|
|
18375
18217
|
_ref.pushNav;
|
|
@@ -18394,21 +18236,21 @@ var PanelFooter = function PanelFooter(_ref) {
|
|
|
18394
18236
|
});
|
|
18395
18237
|
};
|
|
18396
18238
|
|
|
18397
|
-
var _templateObject$
|
|
18239
|
+
var _templateObject$f;
|
|
18398
18240
|
var MobileEntry = styledComponents.styled.div.withConfig({
|
|
18399
18241
|
displayName: "MobileEntry",
|
|
18400
18242
|
componentId: "sc-ialwsc-0"
|
|
18401
|
-
})(_templateObject$
|
|
18243
|
+
})(_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) {
|
|
18402
18244
|
var theme = _ref.theme;
|
|
18403
18245
|
return theme.colors.primary;
|
|
18404
18246
|
});
|
|
18405
18247
|
|
|
18406
|
-
var _templateObject$
|
|
18248
|
+
var _templateObject$e, _templateObject2$b, _templateObject3$9;
|
|
18407
18249
|
var MOBILE_MENU_PANEL_HEIGHT = 83;
|
|
18408
18250
|
var MobileMenuContainer = styledComponents.styled.div.withConfig({
|
|
18409
18251
|
displayName: "MobileMenuContainer",
|
|
18410
18252
|
componentId: "sc-11f9rbo-0"
|
|
18411
|
-
})(_templateObject$
|
|
18253
|
+
})(_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) {
|
|
18412
18254
|
var theme = _ref.theme;
|
|
18413
18255
|
return theme.colors.card;
|
|
18414
18256
|
}, function (_ref2) {
|
|
@@ -18418,11 +18260,11 @@ var MobileMenuContainer = styledComponents.styled.div.withConfig({
|
|
|
18418
18260
|
var MobileLink = styledComponents.styled(MenuLink).withConfig({
|
|
18419
18261
|
displayName: "MobileLink",
|
|
18420
18262
|
componentId: "sc-11f9rbo-1"
|
|
18421
|
-
})(_templateObject2$
|
|
18263
|
+
})(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-items: soace-between;\n align-items: center;\n"])));
|
|
18422
18264
|
var MenuLinkLabel = styledComponents.styled.div.withConfig({
|
|
18423
18265
|
displayName: "MenuLinkLabel",
|
|
18424
18266
|
componentId: "sc-11f9rbo-2"
|
|
18425
|
-
})(_templateObject3$
|
|
18267
|
+
})(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n font-weight: 700;\n font-size: 9px;\n color: white;\n"])));
|
|
18426
18268
|
var Icons = IconModule;
|
|
18427
18269
|
var MobileMenu = function MobileMenu(_ref3) {
|
|
18428
18270
|
var links = _ref3.links,
|
|
@@ -18457,11 +18299,11 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
18457
18299
|
});
|
|
18458
18300
|
};
|
|
18459
18301
|
|
|
18460
|
-
var _templateObject$
|
|
18302
|
+
var _templateObject$d, _templateObject2$a;
|
|
18461
18303
|
var StyledPanel = styledComponents.styled.div.withConfig({
|
|
18462
18304
|
displayName: "StyledPanel",
|
|
18463
18305
|
componentId: "sc-1b3g4s2-0"
|
|
18464
|
-
})(_templateObject$
|
|
18306
|
+
})(_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) {
|
|
18465
18307
|
var isPushed = _ref.isPushed;
|
|
18466
18308
|
return "".concat(isPushed ? SIDEBAR_WIDTH_FULL : SIDEBAR_WIDTH_REDUCED, "px");
|
|
18467
18309
|
}, function (_ref2) {
|
|
@@ -18477,7 +18319,7 @@ var StyledPanel = styledComponents.styled.div.withConfig({
|
|
|
18477
18319
|
var RowSplitter = styledComponents.styled.div.withConfig({
|
|
18478
18320
|
displayName: "RowSplitter",
|
|
18479
18321
|
componentId: "sc-1b3g4s2-1"
|
|
18480
|
-
})(_templateObject2$
|
|
18322
|
+
})(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n border: 1px solid #252530;\n margin: ", ";\n"])), function (_ref5) {
|
|
18481
18323
|
var isPushed = _ref5.isPushed;
|
|
18482
18324
|
return isPushed ? "20px" : "20px 15px";
|
|
18483
18325
|
});
|
|
@@ -18499,269 +18341,24 @@ var Panel = function Panel(props) {
|
|
|
18499
18341
|
});
|
|
18500
18342
|
};
|
|
18501
18343
|
|
|
18502
|
-
var _templateObject$d, _templateObject2$a, _templateObject3$9, _templateObject4$8, _templateObject5$6;
|
|
18503
|
-
var Space = styledComponents.styled.div.withConfig({
|
|
18504
|
-
displayName: "Space",
|
|
18505
|
-
componentId: "sc-11tnsw3-0"
|
|
18506
|
-
})(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 30px;\n"])));
|
|
18507
|
-
var DisclaimerContainer = styledComponents.styled.div.withConfig({
|
|
18508
|
-
displayName: "DisclaimerContainer",
|
|
18509
|
-
componentId: "sc-11tnsw3-1"
|
|
18510
|
-
})(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n max-width: 430px;\n"])));
|
|
18511
|
-
var CheckBoxContainer = styledComponents.styled.div.withConfig({
|
|
18512
|
-
displayName: "CheckBoxContainer",
|
|
18513
|
-
componentId: "sc-11tnsw3-2"
|
|
18514
|
-
})(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n width: 20%;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
|
|
18515
|
-
var ButtonContainer = styledComponents.styled.div.withConfig({
|
|
18516
|
-
displayName: "ButtonContainer",
|
|
18517
|
-
componentId: "sc-11tnsw3-3"
|
|
18518
|
-
})(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n margin-top: 25px;\n"])));
|
|
18519
|
-
var ListContainer = styledComponents.styled.div.withConfig({
|
|
18520
|
-
displayName: "ListContainer",
|
|
18521
|
-
componentId: "sc-11tnsw3-4"
|
|
18522
|
-
})(_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"])));
|
|
18523
|
-
var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
18524
|
-
var _ref$onDismiss = _ref.onDismiss,
|
|
18525
|
-
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
18526
|
-
return null;
|
|
18527
|
-
} : _ref$onDismiss,
|
|
18528
|
-
checkBoxesArray = _ref.checkBoxesArray,
|
|
18529
|
-
onResolve = _ref.onResolve,
|
|
18530
|
-
translations = _ref.translations;
|
|
18531
|
-
var _useState = React.useState(checkBoxesArray),
|
|
18532
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18533
|
-
checkBoxes = _useState2[0],
|
|
18534
|
-
setCheckBoxes = _useState2[1];
|
|
18535
|
-
var t = translations || getTranslations;
|
|
18536
|
-
var updateCheckState = function updateCheckState(index) {
|
|
18537
|
-
var checkArray = _toConsumableArray(checkBoxes);
|
|
18538
|
-
checkArray[index].isChecked = !checkArray[index].isChecked;
|
|
18539
|
-
setCheckBoxes(checkArray);
|
|
18540
|
-
};
|
|
18541
|
-
var resetAllCheckboxes = function resetAllCheckboxes() {
|
|
18542
|
-
var checkArray = _toConsumableArray(checkBoxes);
|
|
18543
|
-
checkArray.map(function (el) {
|
|
18544
|
-
return el.isChecked === false;
|
|
18545
|
-
});
|
|
18546
|
-
setCheckBoxes(checkArray);
|
|
18547
|
-
};
|
|
18548
|
-
var onClickHandler = function onClickHandler(res) {
|
|
18549
|
-
resetAllCheckboxes();
|
|
18550
|
-
onDismiss();
|
|
18551
|
-
onResolve(res);
|
|
18552
|
-
};
|
|
18553
|
-
return /*#__PURE__*/jsxRuntime.jsx(Modal, {
|
|
18554
|
-
title: t("Important notice").toUpperCase(),
|
|
18555
|
-
hideCloseButton: true,
|
|
18556
|
-
children: /*#__PURE__*/jsxRuntime.jsxs(DisclaimerContainer, {
|
|
18557
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
18558
|
-
fontSize: "14px",
|
|
18559
|
-
bold: true,
|
|
18560
|
-
style: {
|
|
18561
|
-
marginBottom: "18px",
|
|
18562
|
-
maxWidth: 420
|
|
18563
|
-
},
|
|
18564
|
-
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:")
|
|
18565
|
-
}), /*#__PURE__*/jsxRuntime.jsx(ListContainer, {
|
|
18566
|
-
children: /*#__PURE__*/jsxRuntime.jsxs("ul", {
|
|
18567
|
-
children: [/*#__PURE__*/jsxRuntime.jsx("li", {
|
|
18568
|
-
children: t("Using our platform may involve financial risk or loss of funds.")
|
|
18569
|
-
}), /*#__PURE__*/jsxRuntime.jsx("li", {
|
|
18570
|
-
children: t("Never put resources into a pool with tokens you do not trust.")
|
|
18571
|
-
}), /*#__PURE__*/jsxRuntime.jsx("li", {
|
|
18572
|
-
children: t("Never put resources into a pool with tokens whose rules for minting you disagree with.")
|
|
18573
|
-
}), /*#__PURE__*/jsxRuntime.jsx("li", {
|
|
18574
|
-
children: t("Never contribute beyond what you can stand to lose.")
|
|
18575
|
-
}), /*#__PURE__*/jsxRuntime.jsx("li", {
|
|
18576
|
-
children: t("Ensure the accuracy of the contracts for the tokens in the pool.")
|
|
18577
|
-
}), /*#__PURE__*/jsxRuntime.jsx("li", {
|
|
18578
|
-
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.")
|
|
18579
|
-
})]
|
|
18580
|
-
})
|
|
18581
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
18582
|
-
fontSize: "14px",
|
|
18583
|
-
bold: true,
|
|
18584
|
-
style: {
|
|
18585
|
-
marginBottom: "4px",
|
|
18586
|
-
maxWidth: 420
|
|
18587
|
-
},
|
|
18588
|
-
children: t("Please read CoinSwap space Documentation!")
|
|
18589
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
18590
|
-
fontSize: "14px",
|
|
18591
|
-
bold: true,
|
|
18592
|
-
style: {
|
|
18593
|
-
marginBottom: "22px",
|
|
18594
|
-
maxWidth: 420
|
|
18595
|
-
},
|
|
18596
|
-
children: t("Continuously do your own examination (due diligence)!")
|
|
18597
|
-
}), checkBoxes === null || checkBoxes === void 0 ? void 0 : checkBoxes.map(function (checkBox, index) {
|
|
18598
|
-
return /*#__PURE__*/jsxRuntime.jsxs(Flex, {
|
|
18599
|
-
alignItems: "center",
|
|
18600
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(CheckBoxContainer, {
|
|
18601
|
-
children: /*#__PURE__*/jsxRuntime.jsx(Checkbox, {
|
|
18602
|
-
bordered: true,
|
|
18603
|
-
onClick: function onClick() {
|
|
18604
|
-
return updateCheckState(index);
|
|
18605
|
-
}
|
|
18606
|
-
})
|
|
18607
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
18608
|
-
style: {
|
|
18609
|
-
marginLeft: 20,
|
|
18610
|
-
fontSize: 12
|
|
18611
|
-
},
|
|
18612
|
-
children: checkBox.checkboxDescription
|
|
18613
|
-
})]
|
|
18614
|
-
});
|
|
18615
|
-
}), /*#__PURE__*/jsxRuntime.jsx(ButtonContainer, {
|
|
18616
|
-
children: /*#__PURE__*/jsxRuntime.jsxs(Flex, {
|
|
18617
|
-
justifyContent: "space-between",
|
|
18618
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(Button$1, {
|
|
18619
|
-
$white: true,
|
|
18620
|
-
size: "md",
|
|
18621
|
-
variant: "secondary",
|
|
18622
|
-
onClick: function onClick() {
|
|
18623
|
-
return onClickHandler(false);
|
|
18624
|
-
},
|
|
18625
|
-
$fullWidth: true,
|
|
18626
|
-
children: t("Decline")
|
|
18627
|
-
}), /*#__PURE__*/jsxRuntime.jsx(Space, {}), /*#__PURE__*/jsxRuntime.jsx(Button$1, {
|
|
18628
|
-
disabled: _.some(checkBoxes, {
|
|
18629
|
-
isChecked: false
|
|
18630
|
-
}),
|
|
18631
|
-
size: "md",
|
|
18632
|
-
variant: "primary",
|
|
18633
|
-
onClick: function onClick() {
|
|
18634
|
-
return onClickHandler(true);
|
|
18635
|
-
},
|
|
18636
|
-
$fullWidth: true,
|
|
18637
|
-
children: t("Agree")
|
|
18638
|
-
})]
|
|
18639
|
-
})
|
|
18640
|
-
})]
|
|
18641
|
-
})
|
|
18642
|
-
});
|
|
18643
|
-
};
|
|
18644
|
-
|
|
18645
|
-
var useDisclaimerModal = function useDisclaimerModal(_ref) {
|
|
18646
|
-
var checkBoxesArray = _ref.checkBoxesArray,
|
|
18647
|
-
_onResolve = _ref.onResolve,
|
|
18648
|
-
translations = _ref.translations;
|
|
18649
|
-
var _useModal = useModal(/*#__PURE__*/jsxRuntime.jsx(DiclaimerModal, {
|
|
18650
|
-
translations: translations,
|
|
18651
|
-
onResolve: function onResolve(res) {
|
|
18652
|
-
return _onResolve(res);
|
|
18653
|
-
},
|
|
18654
|
-
checkBoxesArray: checkBoxesArray
|
|
18655
|
-
}), false),
|
|
18656
|
-
_useModal2 = _slicedToArray(_useModal, 2),
|
|
18657
|
-
onPresentDisclaimerModal = _useModal2[0],
|
|
18658
|
-
onDismiss = _useModal2[1];
|
|
18659
|
-
return {
|
|
18660
|
-
onPresentDisclaimerModal: onPresentDisclaimerModal,
|
|
18661
|
-
onDismiss: onDismiss
|
|
18662
|
-
};
|
|
18663
|
-
};
|
|
18664
|
-
|
|
18665
|
-
var Disclaimer = {
|
|
18666
|
-
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."
|
|
18667
|
-
};
|
|
18668
|
-
|
|
18669
|
-
var useDisclaimer = function useDisclaimer(_ref) {
|
|
18670
|
-
var handleLogin = _ref.handleLogin,
|
|
18671
|
-
translations = _ref.translations,
|
|
18672
|
-
setIsConnectWalletPanelOpen = _ref.setIsConnectWalletPanelOpen;
|
|
18673
|
-
var _useWeb3React = core.useWeb3React(),
|
|
18674
|
-
account = _useWeb3React.account;
|
|
18675
|
-
// Note: deactivate is not available in newer versions of @web3-react/core
|
|
18676
|
-
var deactivate = function deactivate() {}; // Placeholder - implement disconnect logic if needed
|
|
18677
|
-
var _useCookies = useCookies(exports.Cookies.Disclaimer),
|
|
18678
|
-
_useCookies2 = _slicedToArray(_useCookies, 2),
|
|
18679
|
-
disclaimer = _useCookies2[0],
|
|
18680
|
-
setDisclaimer = _useCookies2[1];
|
|
18681
|
-
var _useState = React.useState(false),
|
|
18682
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18683
|
-
inProgress = _useState2[0],
|
|
18684
|
-
setInProgress = _useState2[1];
|
|
18685
|
-
var _useWalletModal = useWalletModal(handleLogin, deactivate, account, translations),
|
|
18686
|
-
onPresentConnectModal = _useWalletModal.onPresentConnectModal;
|
|
18687
|
-
var _useDisclaimerModal = useDisclaimerModal({
|
|
18688
|
-
checkBoxesArray: [{
|
|
18689
|
-
isChecked: false,
|
|
18690
|
-
checkboxDescription: Disclaimer.checkBox
|
|
18691
|
-
}],
|
|
18692
|
-
onResolve: function onResolve(res) {
|
|
18693
|
-
return _onResolve(res);
|
|
18694
|
-
},
|
|
18695
|
-
translations: translations
|
|
18696
|
-
}),
|
|
18697
|
-
onPresentDisclaimerModal = _useDisclaimerModal.onPresentDisclaimerModal;
|
|
18698
|
-
function _onResolve(res) {
|
|
18699
|
-
setDisclaimer(exports.Cookies.Disclaimer, res.toString());
|
|
18700
|
-
setInProgress(false);
|
|
18701
|
-
if (res) {
|
|
18702
|
-
onPresentConnectModal();
|
|
18703
|
-
}
|
|
18704
|
-
}
|
|
18705
|
-
var callback = React.useCallback(function () {
|
|
18706
|
-
var disclaimerAccepted = disclaimer === "true";
|
|
18707
|
-
if (!inProgress && !disclaimerAccepted) {
|
|
18708
|
-
setInProgress(true);
|
|
18709
|
-
onPresentDisclaimerModal();
|
|
18710
|
-
}
|
|
18711
|
-
if (disclaimerAccepted) {
|
|
18712
|
-
if (setIsConnectWalletPanelOpen) {
|
|
18713
|
-
setIsConnectWalletPanelOpen(true);
|
|
18714
|
-
} else onPresentConnectModal();
|
|
18715
|
-
}
|
|
18716
|
-
}, [disclaimer, inProgress, setIsConnectWalletPanelOpen, onPresentDisclaimerModal, onPresentConnectModal]);
|
|
18717
|
-
return {
|
|
18718
|
-
callback: callback
|
|
18719
|
-
};
|
|
18720
|
-
};
|
|
18721
|
-
|
|
18722
|
-
var useAutoDisclaimer = function useAutoDisclaimer(_ref) {
|
|
18723
|
-
var login = _ref.login,
|
|
18724
|
-
translations = _ref.translations,
|
|
18725
|
-
title = _ref.title;
|
|
18726
|
-
var _useCookies = useCookies(exports.Cookies.Disclaimer),
|
|
18727
|
-
_useCookies2 = _slicedToArray(_useCookies, 3),
|
|
18728
|
-
disclaimer = _useCookies2[0],
|
|
18729
|
-
setDisclaimer = _useCookies2[1],
|
|
18730
|
-
disclaimerConnector = _useCookies2[2];
|
|
18731
|
-
var _useState = React.useState(false),
|
|
18732
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
18733
|
-
inProgress = _useState2[0],
|
|
18734
|
-
setInProgress = _useState2[1];
|
|
18735
|
-
function _onResolve(res) {
|
|
18736
|
-
setDisclaimer(exports.Cookies.Disclaimer, res.toString());
|
|
18737
|
-
}
|
|
18738
|
-
var _useDisclaimerModal = useDisclaimerModal({
|
|
18739
|
-
checkBoxesArray: [{
|
|
18740
|
-
isChecked: false,
|
|
18741
|
-
checkboxDescription: Disclaimer.checkBox
|
|
18742
|
-
}],
|
|
18743
|
-
onResolve: function onResolve(res) {
|
|
18744
|
-
return _onResolve(res);
|
|
18745
|
-
},
|
|
18746
|
-
translations: translations
|
|
18747
|
-
}),
|
|
18748
|
-
onPresentDisclaimerModal = _useDisclaimerModal.onPresentDisclaimerModal;
|
|
18749
|
-
React.useEffect(function () {
|
|
18750
|
-
var disclaimerAccepted = disclaimer === "true";
|
|
18751
|
-
if (!inProgress && !disclaimerAccepted) {
|
|
18752
|
-
setInProgress(true);
|
|
18753
|
-
onPresentDisclaimerModal();
|
|
18754
|
-
}
|
|
18755
|
-
if (disclaimerAccepted) {
|
|
18756
|
-
var connectorId = disclaimerConnector;
|
|
18757
|
-
if (connectorId && connectorId !== exports.ConnectorNames.BSC) {
|
|
18758
|
-
login(connectorId, title);
|
|
18759
|
-
}
|
|
18760
|
-
}
|
|
18761
|
-
}, [disclaimer, disclaimerConnector, inProgress, login, onPresentDisclaimerModal, title]);
|
|
18762
|
-
};
|
|
18763
|
-
|
|
18764
18344
|
var _templateObject$c, _templateObject2$9, _templateObject3$8, _templateObject4$7, _templateObject5$5;
|
|
18345
|
+
var useWalletModal = null;
|
|
18346
|
+
var useDisclaimer = null;
|
|
18347
|
+
var VerifiedWalletIcon = null;
|
|
18348
|
+
try {
|
|
18349
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18350
|
+
var walletModal = require("../../WalletModal");
|
|
18351
|
+
useWalletModal = walletModal.useWalletModal;
|
|
18352
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18353
|
+
var disclaimerModal = require("../../DisclaimerModal");
|
|
18354
|
+
useDisclaimer = disclaimerModal.useDisclaimer;
|
|
18355
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
18356
|
+
var connectVerifyPanel = require("../../ConnectVerifyPanel/components");
|
|
18357
|
+
VerifiedWalletIcon = connectVerifyPanel.VerifiedWalletIcon;
|
|
18358
|
+
} catch (e) {
|
|
18359
|
+
// @web3-react/core is not available - wallet functionality will be disabled
|
|
18360
|
+
console.warn("@web3-react/core is not available. Wallet features in Menu will be disabled.");
|
|
18361
|
+
}
|
|
18765
18362
|
var UserBlockWrapper = styledComponents.styled.div.withConfig({
|
|
18766
18363
|
displayName: "UserBlockWrapper",
|
|
18767
18364
|
componentId: "sc-1speva4-0"
|
|
@@ -18804,6 +18401,7 @@ var Account = styledComponents.styled(Text).withConfig({
|
|
|
18804
18401
|
return theme.mediaQueries.mobile;
|
|
18805
18402
|
});
|
|
18806
18403
|
var UserBlock = function UserBlock(_ref8) {
|
|
18404
|
+
var _useWalletModal, _useDisclaimer;
|
|
18807
18405
|
var handleLogin = _ref8.handleLogin,
|
|
18808
18406
|
account = _ref8.account,
|
|
18809
18407
|
login = _ref8.login,
|
|
@@ -18812,36 +18410,35 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
18812
18410
|
setIsConnectWalletPanelOpen = _ref8.setIsConnectWalletPanelOpen,
|
|
18813
18411
|
isUserVerified = _ref8.isUserVerified;
|
|
18814
18412
|
var t = translations || getTranslations;
|
|
18815
|
-
|
|
18816
|
-
|
|
18413
|
+
// Only use wallet hooks if available
|
|
18414
|
+
useWalletModal ? (_useWalletModal = useWalletModal(login, logout, account, translations)) === null || _useWalletModal === void 0 ? void 0 : _useWalletModal.onPresentAccountModal : null;
|
|
18817
18415
|
var accountEllipsis = account ? "".concat(account.substring(0, 4), "...").concat(account.substring(account.length - 4)) : null;
|
|
18818
|
-
|
|
18819
|
-
|
|
18820
|
-
|
|
18821
|
-
|
|
18822
|
-
|
|
18823
|
-
_useDisclaimer.callback;
|
|
18416
|
+
useDisclaimer ? (_useDisclaimer = useDisclaimer({
|
|
18417
|
+
handleLogin: handleLogin,
|
|
18418
|
+
translations: translations,
|
|
18419
|
+
setIsConnectWalletPanelOpen: setIsConnectWalletPanelOpen
|
|
18420
|
+
})) === null || _useDisclaimer === void 0 ? void 0 : _useDisclaimer.callback : null;
|
|
18824
18421
|
return /*#__PURE__*/jsxRuntime.jsx(UserBlockWrapper, {
|
|
18825
18422
|
children: account ? /*#__PURE__*/jsxRuntime.jsxs(AccountButton, {
|
|
18826
|
-
isUserVerified: isUserVerified,
|
|
18423
|
+
isUserVerified: isUserVerified || false,
|
|
18827
18424
|
variant: "tertiary",
|
|
18828
18425
|
onClick: function onClick() {
|
|
18829
|
-
setIsConnectWalletPanelOpen(true);
|
|
18426
|
+
setIsConnectWalletPanelOpen === null || setIsConnectWalletPanelOpen === void 0 || setIsConnectWalletPanelOpen(true);
|
|
18830
18427
|
},
|
|
18831
|
-
children: [isUserVerified ? /*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
18428
|
+
children: [isUserVerified && VerifiedWalletIcon ? /*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
18832
18429
|
$opac: true
|
|
18833
18430
|
}) : /*#__PURE__*/jsxRuntime.jsx(VerifyAddressIndicator, {
|
|
18834
18431
|
fontSize: "12px",
|
|
18835
18432
|
fontWeight: 500,
|
|
18836
18433
|
children: "Login with Web3"
|
|
18837
18434
|
}), /*#__PURE__*/jsxRuntime.jsx(Account, {
|
|
18838
|
-
isUserVerified: isUserVerified,
|
|
18435
|
+
isUserVerified: isUserVerified || false,
|
|
18839
18436
|
fontSize: "14px",
|
|
18840
18437
|
children: accountEllipsis
|
|
18841
18438
|
})]
|
|
18842
18439
|
}) : /*#__PURE__*/jsxRuntime.jsx(ConnectButton, {
|
|
18843
18440
|
onClick: function onClick() {
|
|
18844
|
-
setIsConnectWalletPanelOpen(true);
|
|
18441
|
+
setIsConnectWalletPanelOpen === null || setIsConnectWalletPanelOpen === void 0 || setIsConnectWalletPanelOpen(true);
|
|
18845
18442
|
},
|
|
18846
18443
|
children: t("Connect wallet")
|
|
18847
18444
|
})
|
|
@@ -20383,7 +19980,6 @@ exports.alertVariants = variants$3;
|
|
|
20383
19980
|
exports.baseColors = baseColors;
|
|
20384
19981
|
exports.byTextAscending = byTextAscending;
|
|
20385
19982
|
exports.byTextDescending = byTextDescending;
|
|
20386
|
-
exports.connectorLocalStorageKey = connectorLocalStorageKey$1;
|
|
20387
19983
|
exports.dark = darkTheme;
|
|
20388
19984
|
exports.darkColors = darkColors;
|
|
20389
19985
|
exports.escapeRegExp = escapeRegExp;
|
|
@@ -20399,11 +19995,8 @@ exports.menuLinks = menuLinks;
|
|
|
20399
19995
|
exports.moveUsercomWidget = moveUsercomWidget;
|
|
20400
19996
|
exports.socials = socials;
|
|
20401
19997
|
exports.toastTypes = types;
|
|
20402
|
-
exports.useAutoDisclaimer = useAutoDisclaimer;
|
|
20403
19998
|
exports.useConnectWalletEvent = useConnectWalletEvent;
|
|
20404
19999
|
exports.useCookies = useCookies;
|
|
20405
|
-
exports.useDisclaimer = useDisclaimer;
|
|
20406
|
-
exports.useDisclaimerModal = useDisclaimerModal;
|
|
20407
20000
|
exports.useIdoExtensionsModal = useIdoExtensionsModal;
|
|
20408
20001
|
exports.useMatchBreakpoints = useMatchBreakpoints;
|
|
20409
20002
|
exports.useMenuConfig = useMenuConfig;
|
|
@@ -20414,6 +20007,5 @@ exports.useParticleBurst = useParticleBurst;
|
|
|
20414
20007
|
exports.useTable = useTable;
|
|
20415
20008
|
exports.useVerificationModal = useVerificationModal;
|
|
20416
20009
|
exports.useVoting = useVoting;
|
|
20417
|
-
exports.useWalletModal = useWalletModal;
|
|
20418
20010
|
exports.useWindowSize = useWindowSize;
|
|
20419
20011
|
exports.verifyWallet = verifyWallet;
|