@coinswap-app/uikit 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +573 -1645
- package/dist/index.esm.js +573 -1645
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -292,6 +292,13 @@ function _regeneratorDefine(e, r, n, t) {
|
|
|
292
292
|
function _slicedToArray(r, e) {
|
|
293
293
|
return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
|
|
294
294
|
}
|
|
295
|
+
function _taggedTemplateLiteral(e, t) {
|
|
296
|
+
return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
|
|
297
|
+
raw: {
|
|
298
|
+
value: Object.freeze(t)
|
|
299
|
+
}
|
|
300
|
+
}));
|
|
301
|
+
}
|
|
295
302
|
function _toConsumableArray(r) {
|
|
296
303
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
297
304
|
}
|
|
@@ -324,12 +331,10 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
324
331
|
};
|
|
325
332
|
};
|
|
326
333
|
|
|
327
|
-
var
|
|
328
|
-
var
|
|
329
|
-
var
|
|
330
|
-
|
|
331
|
-
componentId: "sc-1oa1mzv-0"
|
|
332
|
-
})(["fill:", ";flex-shrink:0;", " ", " path{fill:", ";fill-opacity:", ";}"], function (_ref) {
|
|
334
|
+
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
335
|
+
var rotate$1 = styled.keyframes(_templateObject$2b || (_templateObject$2b = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
336
|
+
var spinStyle = styled.css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
337
|
+
var Svg = styled.svg(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteral(["\n fill: ", ";\n flex-shrink: 0;\n\n ", "\n ", "\n path {\n fill: ", ";\n //Opacity set on 0.5\n fill-opacity: ", ";\n }\n"])), function (_ref) {
|
|
333
338
|
var theme = _ref.theme,
|
|
334
339
|
color = _ref.color;
|
|
335
340
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
@@ -397,6 +402,7 @@ var Icon$2E = function Icon(props) {
|
|
|
397
402
|
}));
|
|
398
403
|
};
|
|
399
404
|
|
|
405
|
+
var _templateObject$2a;
|
|
400
406
|
var getColor$1 = function getColor(_ref) {
|
|
401
407
|
var color = _ref.color,
|
|
402
408
|
theme = _ref.theme;
|
|
@@ -407,10 +413,7 @@ var getFontSize = function getFontSize(_ref2) {
|
|
|
407
413
|
small = _ref2.small;
|
|
408
414
|
return small ? "14px" : fontSize || "16px";
|
|
409
415
|
};
|
|
410
|
-
var Text = styled.div.
|
|
411
|
-
displayName: "Text",
|
|
412
|
-
componentId: "sc-nskjht-0"
|
|
413
|
-
})(["color:", ";font-size:", ";font-weight:", ";line-height:1.5;", " ", " ", ""], getColor$1, getFontSize, function (_ref3) {
|
|
416
|
+
var Text = styled.div(_templateObject$2a || (_templateObject$2a = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 1.5;\n ", "\n ", "\n ", "\n"])), getColor$1, getFontSize, function (_ref3) {
|
|
414
417
|
var bold = _ref3.bold;
|
|
415
418
|
return bold ? 700 : 400;
|
|
416
419
|
}, function (_ref4) {
|
|
@@ -460,6 +463,7 @@ var variants$4 = {
|
|
|
460
463
|
OUTLINE: "outline"
|
|
461
464
|
};
|
|
462
465
|
|
|
466
|
+
var _templateObject$29;
|
|
463
467
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
464
468
|
var isLoading = _ref.isLoading,
|
|
465
469
|
theme = _ref.theme;
|
|
@@ -484,10 +488,7 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
484
488
|
return theme.button[variant][prop];
|
|
485
489
|
};
|
|
486
490
|
};
|
|
487
|
-
var StyledButton$2 = styled.button.
|
|
488
|
-
displayName: "StyledButton",
|
|
489
|
-
componentId: "sc-pxfjak-0"
|
|
490
|
-
})(["align-items:center;background-color:", ";border:", ";border-radius:10px;color:", ";cursor:pointer;display:inline-flex;font-family:inherit;font-size:16px;font-weight:600;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;padding:", ";transition:background-color 0.2s;opacity:", ";&:hover:not(:disabled):not(.button--disabled):not(:active){background-color:", ";border-color:", ";}&:focus:not(:active){box-shadow:0 0 0 1px ", ";}&:active{background-color:", ";box-shadow:", ";}", " ", " ", ""], getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
491
|
+
var StyledButton$2 = styled.button(_templateObject$29 || (_templateObject$29 = _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) {
|
|
491
492
|
var white = _ref4.white;
|
|
492
493
|
return white ? "white" : getButtonVariantProp$3("color");
|
|
493
494
|
}, function (_ref5) {
|
|
@@ -7913,16 +7914,11 @@ var Icon$T = function Icon(props) {
|
|
|
7913
7914
|
});
|
|
7914
7915
|
};
|
|
7915
7916
|
|
|
7916
|
-
var
|
|
7917
|
-
|
|
7918
|
-
componentId: "sc-kepl07-0"
|
|
7919
|
-
})(["font-weight:bold;font-size:16px;line-height:28px;width:84px;transition:all 0.5s ease-in;display:", ";"], function (props) {
|
|
7917
|
+
var _templateObject$28, _templateObject2$15;
|
|
7918
|
+
var ButtonText = styled.span(_templateObject$28 || (_templateObject$28 = _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) {
|
|
7920
7919
|
return props.extended ? "block" : "none";
|
|
7921
7920
|
});
|
|
7922
|
-
var RampButtonWrapper$1 = styled(Button$1).
|
|
7923
|
-
displayName: "RampButtonLite__RampButtonWrapper",
|
|
7924
|
-
componentId: "sc-kepl07-1"
|
|
7925
|
-
})(["padding:6px 10px;padding:", ";outline:none;border:none;width:", "px;height:40px;background:", ";border-radius:10px;display:flex;flex-direction:row;justify-content:center;align-items:center;cursor:pointer;overflow:hidden;transition:all 0.5s ease-in;"], function (props) {
|
|
7921
|
+
var RampButtonWrapper$1 = styled(Button$1)(_templateObject2$15 || (_templateObject2$15 = _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) {
|
|
7926
7922
|
return props.extended ? "6px 25px" : "6px 10px";
|
|
7927
7923
|
}, function (props) {
|
|
7928
7924
|
return props.extended ? 110 : 60;
|
|
@@ -7950,18 +7946,14 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7950
7946
|
});
|
|
7951
7947
|
};
|
|
7952
7948
|
|
|
7953
|
-
var
|
|
7954
|
-
|
|
7955
|
-
componentId: "sc-9rnm19-0"
|
|
7956
|
-
})(["padding:0;width:", ";margin:0px 4px;border:none;outline:none;"], function (_ref) {
|
|
7949
|
+
var _templateObject$27;
|
|
7950
|
+
var IconButton = styled(Button$1)(_templateObject$27 || (_templateObject$27 = _taggedTemplateLiteral(["\n padding: 0;\n width: ", ";\n margin: 0px 4px;\n border: none;\n outline: none;\n"])), function (_ref) {
|
|
7957
7951
|
var size = _ref.size;
|
|
7958
7952
|
return size === "sm" ? "32px" : "60px";
|
|
7959
7953
|
});
|
|
7960
7954
|
|
|
7961
|
-
var
|
|
7962
|
-
|
|
7963
|
-
componentId: "sc-1y4rjmy-0"
|
|
7964
|
-
})(["padding:6px 10px;outline:none;border:none;width:", "px;height:40px;background:#2b2b38;border-radius:10px;display:flex;flex-direction:row;justify-content:space-around;align-items:center;color:black;cursor:pointer;position:relative;overflow:hidden;&:active{background:", ";}transition:all 0.5s ease-in;"], function (props) {
|
|
7955
|
+
var _templateObject$26;
|
|
7956
|
+
var RampButtonWrapper = styled.button(_templateObject$26 || (_templateObject$26 = _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) {
|
|
7965
7957
|
return props.extended ? 108 : 70;
|
|
7966
7958
|
}, function (_ref) {
|
|
7967
7959
|
var theme = _ref.theme;
|
|
@@ -7985,15 +7977,11 @@ var RampButton = function RampButton(_ref2) {
|
|
|
7985
7977
|
});
|
|
7986
7978
|
};
|
|
7987
7979
|
|
|
7988
|
-
var
|
|
7989
|
-
|
|
7990
|
-
componentId: "sc-1vk503f-0"
|
|
7991
|
-
})(["", " ", " ", " ", " ", ""], styledSystem.background, styledSystem.border, styledSystem.layout, styledSystem.position, styledSystem.space);
|
|
7980
|
+
var _templateObject$25;
|
|
7981
|
+
var Box = styled.div(_templateObject$25 || (_templateObject$25 = _taggedTemplateLiteral(["\n ", "\n ", "\n ", "\n ", "\n ", "\n"])), styledSystem.background, styledSystem.border, styledSystem.layout, styledSystem.position, styledSystem.space);
|
|
7992
7982
|
|
|
7993
|
-
var
|
|
7994
|
-
|
|
7995
|
-
componentId: "sc-10l7f81-0"
|
|
7996
|
-
})(["display:flex;", ""], styledSystem.flexbox);
|
|
7983
|
+
var _templateObject$24;
|
|
7984
|
+
var Flex = styled(Box)(_templateObject$24 || (_templateObject$24 = _taggedTemplateLiteral(["\n display: flex;\n ", "\n"])), styledSystem.flexbox);
|
|
7997
7985
|
|
|
7998
7986
|
var variants$3 = {
|
|
7999
7987
|
INFO: "info",
|
|
@@ -8002,6 +7990,7 @@ var variants$3 = {
|
|
|
8002
7990
|
WARNING: "warning"
|
|
8003
7991
|
};
|
|
8004
7992
|
|
|
7993
|
+
var _templateObject$23, _templateObject2$14, _templateObject3$N, _templateObject4$y;
|
|
8005
7994
|
var getThemeColor = function getThemeColor(_ref) {
|
|
8006
7995
|
var theme = _ref.theme,
|
|
8007
7996
|
_ref$variant = _ref.variant,
|
|
@@ -8032,26 +8021,14 @@ var getIcon = function getIcon() {
|
|
|
8032
8021
|
return Icon$2E;
|
|
8033
8022
|
}
|
|
8034
8023
|
};
|
|
8035
|
-
var IconLabel = styled.div
|
|
8036
|
-
displayName: "Alert__IconLabel",
|
|
8037
|
-
componentId: "sc-iju7nx-0"
|
|
8038
|
-
})(["background-color:", ";border-radius:10px 0 0 10px;color:black;padding:12px;"], getThemeColor);
|
|
8024
|
+
var IconLabel = styled.div(_templateObject$23 || (_templateObject$23 = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 10px 0 0 10px;\n color: black;\n padding: 12px;\n"])), getThemeColor);
|
|
8039
8025
|
var withHandlerSpacing = 32 + 12 + 8; // button size + inner spacing + handler position
|
|
8040
|
-
var Details = styled.div
|
|
8041
|
-
displayName: "Alert__Details",
|
|
8042
|
-
componentId: "sc-iju7nx-1"
|
|
8043
|
-
})(["flex:1;padding-bottom:12px;padding-left:12px;padding-right:", ";padding-top:12px;"], function (_ref2) {
|
|
8026
|
+
var Details = styled.div(_templateObject2$14 || (_templateObject2$14 = _taggedTemplateLiteral(["\n flex: 1;\n padding-bottom: 12px;\n padding-left: 12px;\n padding-right: ", ";\n padding-top: 12px;\n"])), function (_ref2) {
|
|
8044
8027
|
var hasHandler = _ref2.hasHandler;
|
|
8045
8028
|
return hasHandler ? "".concat(withHandlerSpacing, "px") : "12px";
|
|
8046
8029
|
});
|
|
8047
|
-
var CloseHandler = styled.div
|
|
8048
|
-
|
|
8049
|
-
componentId: "sc-iju7nx-2"
|
|
8050
|
-
})(["border-radius:0 16px 16px 0;right:8px;position:absolute;top:8px;"]);
|
|
8051
|
-
var StyledAlert = styled(Flex).withConfig({
|
|
8052
|
-
displayName: "Alert__StyledAlert",
|
|
8053
|
-
componentId: "sc-iju7nx-3"
|
|
8054
|
-
})(["position:relative;background:", ";@-moz-document url-prefix(){background:rgba(36,36,36,0.95) !important;}box-shadow:0 13px 20px rgba(0,0,0,0.25);border:1px solid ", ";border-radius:10px;"], function (_ref3) {
|
|
8030
|
+
var CloseHandler = styled.div(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteral(["\n border-radius: 0 16px 16px 0;\n right: 8px;\n position: absolute;\n top: 8px;\n"])));
|
|
8031
|
+
var StyledAlert = styled(Flex)(_templateObject4$y || (_templateObject4$y = _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) {
|
|
8055
8032
|
var theme = _ref3.theme;
|
|
8056
8033
|
return theme.backgrounds.secondary;
|
|
8057
8034
|
}, function (_ref4) {
|
|
@@ -8101,10 +8078,8 @@ var observerOptions = {
|
|
|
8101
8078
|
threshold: 0
|
|
8102
8079
|
};
|
|
8103
8080
|
|
|
8104
|
-
var
|
|
8105
|
-
|
|
8106
|
-
componentId: "sc-1ie94f-0"
|
|
8107
|
-
})(["position:relative;background-position:center center;background-repeat:no-repeat;background-size:cover;height:", "px;max-width:", "px;max-height:", "px;width:100%;padding-top:", "%;", ""], function (_ref) {
|
|
8081
|
+
var _templateObject$22;
|
|
8082
|
+
var Wrapper$3 = styled.div(_templateObject$22 || (_templateObject$22 = _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) {
|
|
8108
8083
|
var height = _ref.height,
|
|
8109
8084
|
responsive = _ref.responsive;
|
|
8110
8085
|
return responsive ? 0 : height;
|
|
@@ -8122,14 +8097,9 @@ var Wrapper$3 = styled.div.withConfig({
|
|
|
8122
8097
|
}, styledSystem.space);
|
|
8123
8098
|
|
|
8124
8099
|
var _excluded$q = ["src", "alt"];
|
|
8125
|
-
var
|
|
8126
|
-
|
|
8127
|
-
|
|
8128
|
-
})(["position:absolute;top:0;left:0;width:100%;height:100%;max-width:100%;"]);
|
|
8129
|
-
var Placeholder = styled.div.withConfig({
|
|
8130
|
-
displayName: "Image__Placeholder",
|
|
8131
|
-
componentId: "sc-10tqvvr-1"
|
|
8132
|
-
})(["position:absolute;top:0;left:0;width:100%;height:100%;"]);
|
|
8100
|
+
var _templateObject$21, _templateObject2$13;
|
|
8101
|
+
var StyledImage = styled.img(_templateObject$21 || (_templateObject$21 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100%;\n"])));
|
|
8102
|
+
var Placeholder = styled.div(_templateObject2$13 || (_templateObject2$13 = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n"])));
|
|
8133
8103
|
var Image = function Image(_ref) {
|
|
8134
8104
|
var src = _ref.src,
|
|
8135
8105
|
alt = _ref.alt,
|
|
@@ -8165,6 +8135,7 @@ var Image = function Image(_ref) {
|
|
|
8165
8135
|
}));
|
|
8166
8136
|
};
|
|
8167
8137
|
|
|
8138
|
+
var _templateObject$20;
|
|
8168
8139
|
var breakpointMap = {
|
|
8169
8140
|
xs: 370,
|
|
8170
8141
|
sm: 576,
|
|
@@ -8207,7 +8178,7 @@ var grids = {
|
|
|
8207
8178
|
mobile: "grid-template-columns: repeat(".concat(gridsMap.mobile.gridColumns, ", minmax(0, 1fr));\n grid-gap: 20px;\n "),
|
|
8208
8179
|
desktop: "grid-template-columns: repeat(".concat(gridsMap.desktop.gridColumns, ", minmax(0, 1fr));\n grid-gap: 24px;\n ")
|
|
8209
8180
|
};
|
|
8210
|
-
var gridLayout = styled.css(["display:grid
|
|
8181
|
+
var gridLayout = styled.css(_templateObject$20 || (_templateObject$20 = _taggedTemplateLiteral(["\n display: grid;\n ", " {\n ", ";\n }\n ", " {\n ", ";\n }\n"])), function (_ref) {
|
|
8211
8182
|
var theme = _ref.theme;
|
|
8212
8183
|
return theme.mediaQueries.xs;
|
|
8213
8184
|
}, grids.mobile, function (_ref2) {
|
|
@@ -8431,6 +8402,7 @@ var sizes$1 = {
|
|
|
8431
8402
|
XXL: "xxl"
|
|
8432
8403
|
};
|
|
8433
8404
|
|
|
8405
|
+
var _templateObject$1$;
|
|
8434
8406
|
var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, sizes$1.MD, {
|
|
8435
8407
|
fontSize: "20px",
|
|
8436
8408
|
fontSizeLg: "20px"
|
|
@@ -8446,10 +8418,7 @@ var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({},
|
|
|
8446
8418
|
});
|
|
8447
8419
|
var Heading = styled(Text).attrs({
|
|
8448
8420
|
bold: true
|
|
8449
|
-
}).
|
|
8450
|
-
displayName: "Heading",
|
|
8451
|
-
componentId: "sc-1bynhbg-0"
|
|
8452
|
-
})(["font-size:", ";font-weight:600;line-height:1.1;", "{font-size:", ";}"], function (_ref) {
|
|
8421
|
+
})(_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 (_ref) {
|
|
8453
8422
|
var size = _ref.size;
|
|
8454
8423
|
return style[size || sizes$1.MD].fontSize;
|
|
8455
8424
|
}, function (_ref2) {
|
|
@@ -8463,10 +8432,8 @@ Heading.defaultProps = {
|
|
|
8463
8432
|
as: tags.H2
|
|
8464
8433
|
};
|
|
8465
8434
|
|
|
8466
|
-
var
|
|
8467
|
-
|
|
8468
|
-
componentId: "sc-gb2uez-0"
|
|
8469
|
-
})(["background:", ";box-shadow:0 13px 20px rgba(0,0,0,0.25);@-moz-document url-prefix(){background:#191921 !important;}border-radius:15px;width:100%;z-index:99;overflow-y:auto;padding-bottom:8px;", "{width:auto;min-width:360px;max-width:100%;max-height:80%;}", "{max-height:80vh;}"], function (_ref) {
|
|
8435
|
+
var _templateObject$1_, _templateObject2$12, _templateObject3$M, _templateObject4$x;
|
|
8436
|
+
var StyledModal = styled.div(_templateObject$1_ || (_templateObject$1_ = _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) {
|
|
8470
8437
|
var theme = _ref.theme;
|
|
8471
8438
|
return theme.colors.card;
|
|
8472
8439
|
}, function (_ref2) {
|
|
@@ -8476,18 +8443,9 @@ var StyledModal = styled.div.withConfig({
|
|
|
8476
8443
|
var theme = _ref3.theme;
|
|
8477
8444
|
return theme.mediaQueries.mobile;
|
|
8478
8445
|
});
|
|
8479
|
-
var CloseButton$1 = styled(Button$1).
|
|
8480
|
-
|
|
8481
|
-
|
|
8482
|
-
})(["z-index:99999;width:16px;border:none;align-items:flex-start !important;padding:0px !important;&:hover:not(:disabled):not(.button--disabled):not(:active){background-color:transparent;border-color:transparent;}&:focus:not(:active){box-shadow:none;}"]);
|
|
8483
|
-
var ModalHeader = styled.div.withConfig({
|
|
8484
|
-
displayName: "Modal__ModalHeader",
|
|
8485
|
-
componentId: "sc-gb2uez-2"
|
|
8486
|
-
})(["display:flex;align-items:center;padding:24px 24px 0;"]);
|
|
8487
|
-
var ModalTitle = styled(Flex).withConfig({
|
|
8488
|
-
displayName: "Modal__ModalTitle",
|
|
8489
|
-
componentId: "sc-gb2uez-3"
|
|
8490
|
-
})(["align-items:center;flex:1;"]);
|
|
8446
|
+
var CloseButton$1 = styled(Button$1)(_templateObject2$12 || (_templateObject2$12 = _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"])));
|
|
8447
|
+
var ModalHeader = styled.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n padding: 24px 24px 0;\n"])));
|
|
8448
|
+
var ModalTitle = styled(Flex)(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteral(["\n align-items: center;\n flex: 1;\n"])));
|
|
8491
8449
|
var Modal = function Modal(_ref4) {
|
|
8492
8450
|
var title = _ref4.title,
|
|
8493
8451
|
onDismiss = _ref4.onDismiss,
|
|
@@ -8528,12 +8486,10 @@ var Modal = function Modal(_ref4) {
|
|
|
8528
8486
|
});
|
|
8529
8487
|
};
|
|
8530
8488
|
|
|
8489
|
+
var _templateObject$1Z;
|
|
8531
8490
|
var Overlay = styled.div.attrs({
|
|
8532
8491
|
role: "presentation"
|
|
8533
|
-
}).
|
|
8534
|
-
displayName: "Overlay",
|
|
8535
|
-
componentId: "sc-1u1va95-0"
|
|
8536
|
-
})(["position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgb(22,22,29);transition:opacity 0.4s;opacity:", ";z-index:", ";pointer-events:", ";"], function (_ref) {
|
|
8492
|
+
})(_templateObject$1Z || (_templateObject$1Z = _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 (_ref) {
|
|
8537
8493
|
var show = _ref.show;
|
|
8538
8494
|
return show ? 0.6 : 0;
|
|
8539
8495
|
}, function (_ref2) {
|
|
@@ -8548,10 +8504,8 @@ Overlay.defaultProps = {
|
|
|
8548
8504
|
zIndex: 10
|
|
8549
8505
|
};
|
|
8550
8506
|
|
|
8551
|
-
var
|
|
8552
|
-
|
|
8553
|
-
componentId: "sc-4rfz2j-0"
|
|
8554
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:fixed;top:0;right:0;bottom:0;left:0;z-index:", ";", "{justify-content:flex-start;padding-top:50px;}"], function (_ref) {
|
|
8507
|
+
var _templateObject$1Y;
|
|
8508
|
+
var ModalWrapper = styled.div(_templateObject$1Y || (_templateObject$1Y = _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) {
|
|
8555
8509
|
var theme = _ref.theme;
|
|
8556
8510
|
return theme.zIndices.modal - 1;
|
|
8557
8511
|
}, function (_ref2) {
|
|
@@ -8943,10 +8897,8 @@ var ConnectModal = function ConnectModal(_ref) {
|
|
|
8943
8897
|
};
|
|
8944
8898
|
|
|
8945
8899
|
var _excluded$p = ["external"];
|
|
8946
|
-
var
|
|
8947
|
-
|
|
8948
|
-
componentId: "sc-qw3uvt-0"
|
|
8949
|
-
})(["display:flex;align-items:center;width:fit-content;margin-right:21px;&:hover{text-decoration:underline;}"]);
|
|
8900
|
+
var _templateObject$1X;
|
|
8901
|
+
var StyledLink$1 = styled(Text)(_templateObject$1X || (_templateObject$1X = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n width: fit-content;\n margin-right: 21px;\n &:hover {\n text-decoration: underline;\n }\n"])));
|
|
8950
8902
|
var Link = function Link(_ref) {
|
|
8951
8903
|
var external = _ref.external,
|
|
8952
8904
|
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
@@ -8977,19 +8929,14 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
8977
8929
|
};
|
|
8978
8930
|
|
|
8979
8931
|
var _excluded$n = ["toCopy", "translations", "children"];
|
|
8932
|
+
var _templateObject$1W, _templateObject2$11;
|
|
8980
8933
|
var StyleButton = styled(Text).attrs({
|
|
8981
8934
|
role: "button"
|
|
8982
|
-
})
|
|
8983
|
-
displayName: "CopyToClipboard__StyleButton",
|
|
8984
|
-
componentId: "sc-v35pzo-0"
|
|
8985
|
-
})(["position:relative;display:flex;align-items:center;color:", ";"], function (_ref) {
|
|
8935
|
+
})(_templateObject$1W || (_templateObject$1W = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n color: ", ";\n"])), function (_ref) {
|
|
8986
8936
|
var theme = _ref.theme;
|
|
8987
8937
|
return theme.colors.primary;
|
|
8988
8938
|
});
|
|
8989
|
-
var Tooltip$1 = styled.div.
|
|
8990
|
-
displayName: "CopyToClipboard__Tooltip",
|
|
8991
|
-
componentId: "sc-v35pzo-1"
|
|
8992
|
-
})(["display:", ";position:absolute;bottom:-40px;right:0;left:0;text-align:center;background-color:", ";color:", ";border-radius:5px;opacity:0.7;padding:5px;"], function (_ref2) {
|
|
8939
|
+
var Tooltip$1 = styled.div(_templateObject2$11 || (_templateObject2$11 = _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) {
|
|
8993
8940
|
var isTooltipDisplayed = _ref2.isTooltipDisplayed;
|
|
8994
8941
|
return isTooltipDisplayed ? "block" : "none";
|
|
8995
8942
|
}, function (_ref3) {
|
|
@@ -9330,20 +9277,15 @@ var useConnectWalletEvent = function useConnectWalletEvent(account) {
|
|
|
9330
9277
|
}, [account]);
|
|
9331
9278
|
};
|
|
9332
9279
|
|
|
9333
|
-
var
|
|
9334
|
-
|
|
9335
|
-
componentId: "sc-1mbqjcw-0"
|
|
9336
|
-
})(["position:relative;height:", ";max-height:225px;display:flex;flex-direction:row;justify-content:", ";align-items:center;"], function (_ref) {
|
|
9280
|
+
var _templateObject$1V, _templateObject2$10;
|
|
9281
|
+
var BannerSlideWrapper = styled.div(_templateObject$1V || (_templateObject$1V = _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) {
|
|
9337
9282
|
var height = _ref.height;
|
|
9338
9283
|
return "".concat(height, "px");
|
|
9339
9284
|
}, function (_ref2) {
|
|
9340
9285
|
var isMobile = _ref2.isMobile;
|
|
9341
9286
|
return isMobile ? "flex-start" : "space-between";
|
|
9342
9287
|
});
|
|
9343
|
-
var StyledImg = styled(Image)
|
|
9344
|
-
displayName: "BannerSlide__StyledImg",
|
|
9345
|
-
componentId: "sc-1mbqjcw-1"
|
|
9346
|
-
})(["position:absolute;max-height:225px;top:0;img{object-fit:contain;border-radius:", ";}"], function (_ref3) {
|
|
9288
|
+
var StyledImg = styled(Image)(_templateObject2$10 || (_templateObject2$10 = _taggedTemplateLiteral(["\n position: absolute;\n max-height: 225px;\n top: 0;\n img {\n object-fit: contain;\n border-radius: ", ";\n }\n"])), function (_ref3) {
|
|
9347
9289
|
var isMobile = _ref3.isMobile,
|
|
9348
9290
|
theme = _ref3.theme;
|
|
9349
9291
|
return isMobile ? 0 : theme.radii.primary;
|
|
@@ -9380,17 +9322,12 @@ var BannerSlide = function BannerSlide(_ref4) {
|
|
|
9380
9322
|
});
|
|
9381
9323
|
};
|
|
9382
9324
|
|
|
9383
|
-
var
|
|
9384
|
-
|
|
9385
|
-
componentId: "sc-whzh3q-0"
|
|
9386
|
-
})(["margin:0 -32px;", "{margin:0;}"], function (_ref) {
|
|
9325
|
+
var _templateObject$1U, _templateObject2$$;
|
|
9326
|
+
var CarouselWrapper = styled.div(_templateObject$1U || (_templateObject$1U = _taggedTemplateLiteral(["\n margin: 0 -32px;\n\n ", " {\n margin: 0;\n }\n"])), function (_ref) {
|
|
9387
9327
|
var theme = _ref.theme;
|
|
9388
9328
|
return theme.mediaQueries.sm;
|
|
9389
9329
|
});
|
|
9390
|
-
var StyledSlider$2 = styled(Slider).
|
|
9391
|
-
displayName: "BannerSlider__StyledSlider",
|
|
9392
|
-
componentId: "sc-whzh3q-1"
|
|
9393
|
-
})([".slick-track{> div{padding:0 10px;}}.slick-dots{.slick-active{div{background:", " !important;border:2px ", " solid;}}}"], function (_ref2) {
|
|
9330
|
+
var StyledSlider$2 = styled(Slider)(_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) {
|
|
9394
9331
|
var theme = _ref2.theme;
|
|
9395
9332
|
return theme.colors.blue;
|
|
9396
9333
|
}, function (_ref3) {
|
|
@@ -9449,20 +9386,15 @@ var BannerSlider = function BannerSlider(_ref4) {
|
|
|
9449
9386
|
});
|
|
9450
9387
|
};
|
|
9451
9388
|
|
|
9452
|
-
var
|
|
9453
|
-
|
|
9454
|
-
componentId: "sc-1c6k3v2-0"
|
|
9455
|
-
})(["align-items:center;color:currentColor;display:flex;justify-content:center;padding-left:4px;padding-right:4px;", "{padding-left:8px;padding-right:8px;}", "{padding-left:16px;padding-right:16px;}"], function (_ref) {
|
|
9389
|
+
var _templateObject$1T, _templateObject2$_;
|
|
9390
|
+
var Separator = styled.div(_templateObject$1T || (_templateObject$1T = _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) {
|
|
9456
9391
|
var theme = _ref.theme;
|
|
9457
9392
|
return theme.mediaQueries.sm;
|
|
9458
9393
|
}, function (_ref2) {
|
|
9459
9394
|
var theme = _ref2.theme;
|
|
9460
9395
|
return theme.mediaQueries.md;
|
|
9461
9396
|
});
|
|
9462
|
-
var StyledBreadcrumbs = styled.ul
|
|
9463
|
-
displayName: "Breadcrumbs__StyledBreadcrumbs",
|
|
9464
|
-
componentId: "sc-1c6k3v2-1"
|
|
9465
|
-
})(["align-items:center;color:", ";display:flex;flex-wrap:wrap;list-style-type:none;", ""], function (_ref3) {
|
|
9397
|
+
var StyledBreadcrumbs = styled.ul(_templateObject2$_ || (_templateObject2$_ = _taggedTemplateLiteral(["\n align-items: center;\n color: ", ";\n display: flex;\n flex-wrap: wrap;\n list-style-type: none;\n\n ", "\n"])), function (_ref3) {
|
|
9466
9398
|
var theme = _ref3.theme;
|
|
9467
9399
|
return theme.colors.textDisabled;
|
|
9468
9400
|
}, styledSystem.space);
|
|
@@ -9498,10 +9430,8 @@ var Breadcrumbs = function Breadcrumbs(_ref4) {
|
|
|
9498
9430
|
});
|
|
9499
9431
|
};
|
|
9500
9432
|
|
|
9501
|
-
var
|
|
9502
|
-
|
|
9503
|
-
componentId: "sc-14hzc1v-0"
|
|
9504
|
-
})(["background-color:transparent;border-radius:16px;display:inline-flex;@media (max-width:500px){width:100%;justify-content:space-around;}"]);
|
|
9433
|
+
var _templateObject$1S;
|
|
9434
|
+
var StyledButtonMenu = styled.div(_templateObject$1S || (_templateObject$1S = _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"])));
|
|
9505
9435
|
|
|
9506
9436
|
var ButtonMenu = function ButtonMenu(_ref) {
|
|
9507
9437
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9533,6 +9463,7 @@ var sizes = {
|
|
|
9533
9463
|
var variants$2 = {
|
|
9534
9464
|
PRIMARY: "primary"};
|
|
9535
9465
|
|
|
9466
|
+
var _templateObject$1R;
|
|
9536
9467
|
var getDisabledStyles$2 = function getDisabledStyles(_ref) {
|
|
9537
9468
|
var isLoading = _ref.isLoading,
|
|
9538
9469
|
theme = _ref.theme;
|
|
@@ -9557,10 +9488,7 @@ var getButtonVariantProp$2 = function getButtonVariantProp(prop) {
|
|
|
9557
9488
|
return theme.button[variant][prop];
|
|
9558
9489
|
};
|
|
9559
9490
|
};
|
|
9560
|
-
var StyledButton$1 = styled.button.
|
|
9561
|
-
displayName: "StyledButton",
|
|
9562
|
-
componentId: "sc-zft497-0"
|
|
9563
|
-
})(["align-items:center;background-color:transparent;border:none;border-radius:10px;cursor:pointer;display:flex;flex-direction:column;font-family:inherit;font-size:16px;font-weight:700;color:white;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;padding:", ";transition:all 0.5s;.dot{margin-top:10px;height:", ";width:", ";border-radius:", ";display:inline-block;background-color:", ";}&:hover:not(:disabled):not(.button--disabled):not(:active){border-color:", ";color:", ";}&:active{background-color:transparent;color:", ";}", " ", " ", ""], function (_ref4) {
|
|
9491
|
+
var StyledButton$1 = styled.button(_templateObject$1R || (_templateObject$1R = _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) {
|
|
9564
9492
|
var fullWidth = _ref4.fullWidth;
|
|
9565
9493
|
return fullWidth ? "100%" : "max-content";
|
|
9566
9494
|
}, function (_ref5) {
|
|
@@ -9632,6 +9560,7 @@ var getColor = function getColor(color, theme) {
|
|
|
9632
9560
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
9633
9561
|
};
|
|
9634
9562
|
|
|
9563
|
+
var _templateObject$1Q;
|
|
9635
9564
|
var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
9636
9565
|
var outline = _ref.outline,
|
|
9637
9566
|
_ref$variant = _ref.variant,
|
|
@@ -9639,10 +9568,7 @@ var getThemeTextColor = function getThemeTextColor(_ref) {
|
|
|
9639
9568
|
theme = _ref.theme;
|
|
9640
9569
|
return outline ? getColor(variant, theme) : "#ffffff";
|
|
9641
9570
|
};
|
|
9642
|
-
var StyledTag = styled.div.
|
|
9643
|
-
displayName: "StyledTag",
|
|
9644
|
-
componentId: "sc-j7cw9s-0"
|
|
9645
|
-
})(["align-items:center;background-color:", ";border:1px solid ", ";border-radius:16px;color:", ";display:inline-flex;font-size:14px;font-weight:400;height:28px;line-height:1.5;padding:0 8px;white-space:nowrap;svg{fill:", ";}"], function (_ref2) {
|
|
9571
|
+
var StyledTag = styled.div(_templateObject$1Q || (_templateObject$1Q = _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) {
|
|
9646
9572
|
var outline = _ref2.outline,
|
|
9647
9573
|
theme = _ref2.theme,
|
|
9648
9574
|
_ref2$variant = _ref2.variant,
|
|
@@ -9656,18 +9582,10 @@ var StyledTag = styled.div.withConfig({
|
|
|
9656
9582
|
}, getThemeTextColor, getThemeTextColor);
|
|
9657
9583
|
|
|
9658
9584
|
var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide"];
|
|
9659
|
-
var
|
|
9660
|
-
|
|
9661
|
-
|
|
9662
|
-
|
|
9663
|
-
var ButtonTag = styled(StyledTag).withConfig({
|
|
9664
|
-
displayName: "ButtonMenuItem__ButtonTag",
|
|
9665
|
-
componentId: "sc-1bbtdtk-1"
|
|
9666
|
-
})(["margin-left:7px;font-weight:bold;font-size:11px;padding:1px 5px;height:unset;border-width:1px;"]);
|
|
9667
|
-
var InactiveButton$1 = styled(Button).withConfig({
|
|
9668
|
-
displayName: "ButtonMenuItem__InactiveButton",
|
|
9669
|
-
componentId: "sc-1bbtdtk-2"
|
|
9670
|
-
})(["background-color:transparent;color:#535459;.dot{background-color:transparent;}&:hover:not(:disabled):not(:active){background-color:transparent;}"]);
|
|
9585
|
+
var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
|
|
9586
|
+
var ButtonBody = styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9587
|
+
var ButtonTag = styled(StyledTag)(_templateObject2$Z || (_templateObject2$Z = _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"])));
|
|
9588
|
+
var InactiveButton$1 = styled(Button)(_templateObject3$L || (_templateObject3$L = _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"])));
|
|
9671
9589
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9672
9590
|
var _ref$isActive = _ref.isActive,
|
|
9673
9591
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9715,10 +9633,8 @@ var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
|
9715
9633
|
}));
|
|
9716
9634
|
};
|
|
9717
9635
|
|
|
9718
|
-
var
|
|
9719
|
-
|
|
9720
|
-
componentId: "sc-byew2t-0"
|
|
9721
|
-
})(["background:linear-gradient(180deg,#000000 0%,rgba(0,0,0,0) 17.71%),#16161d;border:1px solid #808080;box-sizing:border-box;border-radius:99px;display:inline-flex;"]);
|
|
9636
|
+
var _templateObject$1O;
|
|
9637
|
+
var StyledButtonActivityMenu = styled.div(_templateObject$1O || (_templateObject$1O = _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"])));
|
|
9722
9638
|
|
|
9723
9639
|
var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
9724
9640
|
var _ref$activeIndex = _ref.activeIndex,
|
|
@@ -9744,6 +9660,7 @@ var ButtonActivityMenu = function ButtonActivityMenu(_ref) {
|
|
|
9744
9660
|
});
|
|
9745
9661
|
};
|
|
9746
9662
|
|
|
9663
|
+
var _templateObject$1N;
|
|
9747
9664
|
var getDisabledStyles$1 = function getDisabledStyles(_ref) {
|
|
9748
9665
|
var isLoading = _ref.isLoading,
|
|
9749
9666
|
theme = _ref.theme;
|
|
@@ -9768,10 +9685,7 @@ var getButtonVariantProp$1 = function getButtonVariantProp(prop) {
|
|
|
9768
9685
|
return theme.button[variant][prop];
|
|
9769
9686
|
};
|
|
9770
9687
|
};
|
|
9771
|
-
var StyledButtonActivity = styled.button.
|
|
9772
|
-
displayName: "StyledButtonActivity",
|
|
9773
|
-
componentId: "sc-pam326-0"
|
|
9774
|
-
})(["align-items:center;border:none;cursor:pointer;display:flex;flex-direction:column;font-family:inherit;font-size:16px;font-weight:600;color:white;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;padding:", ";transition:all 0.5s;border-radius:99px;background:linear-gradient(332.11deg,#13c3af 8.45%,#13d8b2 39.11%,#12ffb8 85.67%);color:rgba(22,22,29,1);&:hover:not(:disabled):not(.button--disabled):not(:active){border-color:", ";color:white;}", " ", " ", ""], function (_ref4) {
|
|
9688
|
+
var StyledButtonActivity = styled.button(_templateObject$1N || (_templateObject$1N = _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) {
|
|
9775
9689
|
var fullWidth = _ref4.fullWidth;
|
|
9776
9690
|
return fullWidth ? "100%" : "max-content";
|
|
9777
9691
|
}, function (_ref5) {
|
|
@@ -9818,10 +9732,8 @@ ButtonActivity.defaultProps = {
|
|
|
9818
9732
|
};
|
|
9819
9733
|
|
|
9820
9734
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9821
|
-
var
|
|
9822
|
-
|
|
9823
|
-
componentId: "sc-kqgtlg-0"
|
|
9824
|
-
})(["background:transparent;color:#808080;&:hover:not(:disabled):not(:active){background-color:transparent;}"]);
|
|
9735
|
+
var _templateObject$1M;
|
|
9736
|
+
var InactiveButton = styled(ButtonActivity)(_templateObject$1M || (_templateObject$1M = _taggedTemplateLiteral(["\n background: transparent;\n color: #808080;\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9825
9737
|
var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
9826
9738
|
var _ref$isActive = _ref.isActive,
|
|
9827
9739
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9846,6 +9758,7 @@ var ButtonActivityMenuItem = function ButtonActivityMenuItem(_ref) {
|
|
|
9846
9758
|
}, props));
|
|
9847
9759
|
};
|
|
9848
9760
|
|
|
9761
|
+
var _templateObject$1L;
|
|
9849
9762
|
var getDisabledStyles = function getDisabledStyles(_ref) {
|
|
9850
9763
|
var isLoading = _ref.isLoading,
|
|
9851
9764
|
theme = _ref.theme;
|
|
@@ -9870,10 +9783,7 @@ var getButtonVariantProp = function getButtonVariantProp(prop) {
|
|
|
9870
9783
|
return theme.button[variant][prop];
|
|
9871
9784
|
};
|
|
9872
9785
|
};
|
|
9873
|
-
var StyledButtonSwitch = styled.button.
|
|
9874
|
-
displayName: "StyledButtonSwitch",
|
|
9875
|
-
componentId: "sc-obsjj-0"
|
|
9876
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:center;background-color:transparent;border:none;cursor:pointer;font-family:inherit;font-size:16px;line-height:28px;font-weight:700;color:", ";width:", ";height:36px;outline:0;padding:0 8px;transition:all 0.5s;&:hover:not(:disabled):not(.button--disabled):not(:active){border-color:", ";color:", ";}", " ", " ", ""], function (_ref4) {
|
|
9786
|
+
var StyledButtonSwitch = styled.button(_templateObject$1L || (_templateObject$1L = _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) {
|
|
9877
9787
|
var theme = _ref4.theme,
|
|
9878
9788
|
active = _ref4.active;
|
|
9879
9789
|
return active ? "white" : theme.colors.grey;
|
|
@@ -9911,16 +9821,15 @@ var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
|
9911
9821
|
}));
|
|
9912
9822
|
};
|
|
9913
9823
|
|
|
9914
|
-
var
|
|
9915
|
-
|
|
9916
|
-
componentId: "sc-1qzp9bs-0"
|
|
9917
|
-
})(["background:transparent;box-sizing:border-box;display:inline-flex;flex-direction:row;justify-content:center;align-items:center;"]);
|
|
9824
|
+
var _templateObject$1K;
|
|
9825
|
+
var StyledButtonSwitchMenu = styled.div(_templateObject$1K || (_templateObject$1K = _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"])));
|
|
9918
9826
|
|
|
9919
9827
|
var variants$1 = {
|
|
9920
9828
|
DEFAULT: "default",
|
|
9921
9829
|
PANEL: "panel"
|
|
9922
9830
|
};
|
|
9923
9831
|
|
|
9832
|
+
var _templateObject$1J, _templateObject2$Y, _templateObject3$K;
|
|
9924
9833
|
var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
9925
9834
|
return function (_ref) {
|
|
9926
9835
|
var theme = _ref.theme,
|
|
@@ -9929,21 +9838,12 @@ var getToggleVariantProp = function getToggleVariantProp(prop) {
|
|
|
9929
9838
|
return theme.toggle[variant][prop];
|
|
9930
9839
|
};
|
|
9931
9840
|
};
|
|
9932
|
-
var Handle = styled.div
|
|
9933
|
-
displayName: "StyledToggle__Handle",
|
|
9934
|
-
componentId: "sc-11wqnqq-0"
|
|
9935
|
-
})(["background-color:", ";border-radius:50%;cursor:pointer;height:16px;left:3px;position:absolute;top:2px;transition:all 200ms ease-in;width:16px;z-index:1;"], function (_ref2) {
|
|
9841
|
+
var Handle = styled.div(_templateObject$1J || (_templateObject$1J = _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) {
|
|
9936
9842
|
var checked = _ref2.checked;
|
|
9937
9843
|
return checked ? getToggleVariantProp("backgroundHandleActive") : getToggleVariantProp("backgroundHandleInactive");
|
|
9938
9844
|
});
|
|
9939
|
-
var Input$1 = styled.input
|
|
9940
|
-
|
|
9941
|
-
componentId: "sc-11wqnqq-1"
|
|
9942
|
-
})(["cursor:pointer;opacity:0;height:100%;position:absolute;width:100%;z-index:3;&:checked + ", "{left:calc(100% - 18px);}"], Handle);
|
|
9943
|
-
var StyledToggle = styled.div.withConfig({
|
|
9944
|
-
displayName: "StyledToggle",
|
|
9945
|
-
componentId: "sc-11wqnqq-2"
|
|
9946
|
-
})(["align-items:center;background:", ";border:1px solid ", ";border-radius:11px;cursor:pointer;display:inline-flex;height:22px;position:relative;transition:background-color 200ms;width:42px;"], function (_ref3) {
|
|
9845
|
+
var Input$1 = styled.input(_templateObject2$Y || (_templateObject2$Y = _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);
|
|
9846
|
+
var StyledToggle = styled.div(_templateObject3$K || (_templateObject3$K = _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) {
|
|
9947
9847
|
var checked = _ref3.checked;
|
|
9948
9848
|
return checked ? getToggleVariantProp("backgroundToggleActive") : getToggleVariantProp("backgroundToggleInactive");
|
|
9949
9849
|
}, getToggleVariantProp("borderColor"));
|
|
@@ -10024,6 +9924,7 @@ var ButtonSwitchMenu = function ButtonSwitchMenu(_ref) {
|
|
|
10024
9924
|
});
|
|
10025
9925
|
};
|
|
10026
9926
|
|
|
9927
|
+
var _templateObject$1I;
|
|
10027
9928
|
/**
|
|
10028
9929
|
* Priority: Warning --> Success --> Active
|
|
10029
9930
|
*/
|
|
@@ -10043,10 +9944,7 @@ var getBoxShadow$2 = function getBoxShadow(_ref) {
|
|
|
10043
9944
|
}
|
|
10044
9945
|
return theme.card.boxShadow;
|
|
10045
9946
|
};
|
|
10046
|
-
var StyledCard = styled.div.
|
|
10047
|
-
displayName: "StyledCard",
|
|
10048
|
-
componentId: "sc-b498h5-0"
|
|
10049
|
-
})(["background:", ";@-moz-document url-prefix(){background:rgba(36,36,36,0.95) !important;}box-shadow:0 13px 20px rgba(0,0,0,0.25);border:1px solid ", ";border-radius:15px;box-shadow:", ";color:", ";overflow:hidden;position:relative;padding:30px;", ""], function (_ref2) {
|
|
9947
|
+
var StyledCard = styled.div(_templateObject$1I || (_templateObject$1I = _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) {
|
|
10050
9948
|
var theme = _ref2.theme;
|
|
10051
9949
|
return theme.colors.card;
|
|
10052
9950
|
}, function (_ref3) {
|
|
@@ -10074,32 +9972,24 @@ var Card = function Card(_ref) {
|
|
|
10074
9972
|
}));
|
|
10075
9973
|
};
|
|
10076
9974
|
|
|
10077
|
-
var
|
|
10078
|
-
|
|
10079
|
-
componentId: "sc-1of0iur-0"
|
|
10080
|
-
})(["", " display:flex;justify-content:center;"], styledSystem.space);
|
|
9975
|
+
var _templateObject$1H;
|
|
9976
|
+
var CardBody = styled.div(_templateObject$1H || (_templateObject$1H = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), styledSystem.space);
|
|
10081
9977
|
CardBody.defaultProps = {
|
|
10082
9978
|
p: "24px"
|
|
10083
9979
|
};
|
|
10084
9980
|
|
|
10085
|
-
var
|
|
10086
|
-
|
|
10087
|
-
componentId: "sc-1ikcixt-0"
|
|
10088
|
-
})(["", " font-weight:700;font-size:26px;line-height:130%;display:flex;width:100%;justify-content:space-between;"], styledSystem.space);
|
|
9981
|
+
var _templateObject$1G;
|
|
9982
|
+
var CardHeader = styled.div(_templateObject$1G || (_templateObject$1G = _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);
|
|
10089
9983
|
CardHeader.defaultProps = {};
|
|
10090
9984
|
|
|
10091
|
-
var
|
|
10092
|
-
|
|
10093
|
-
componentId: "sc-7k1ypk-0"
|
|
10094
|
-
})(["", " display:flex;justify-content:center;"], styledSystem.space);
|
|
9985
|
+
var _templateObject$1F;
|
|
9986
|
+
var CardFooter = styled.div(_templateObject$1F || (_templateObject$1F = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), styledSystem.space);
|
|
10095
9987
|
CardFooter.defaultProps = {
|
|
10096
9988
|
p: "24px"
|
|
10097
9989
|
};
|
|
10098
9990
|
|
|
10099
|
-
var
|
|
10100
|
-
|
|
10101
|
-
componentId: "sc-1qhw702-0"
|
|
10102
|
-
})(["background-color:", ";color:white;margin:0;padding:0;padding:8px 0;position:absolute;right:0;top:0;text-align:center;transform:translateX(30%) translateY(0%) rotate(45deg);transform-origin:top left;width:96px;&:before,&:after{background-color:", ";content:\"\";height:100%;margin:0 -1px;position:absolute;top:0;width:100%;}&:before{right:100%;}&:after{left:100%;}& > div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:96px;}"], function (_ref) {
|
|
9991
|
+
var _templateObject$1E;
|
|
9992
|
+
var StyledCardRibbon = styled.div(_templateObject$1E || (_templateObject$1E = _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) {
|
|
10103
9993
|
var _ref$variantColor = _ref.variantColor,
|
|
10104
9994
|
variantColor = _ref$variantColor === void 0 ? "secondary" : _ref$variantColor,
|
|
10105
9995
|
theme = _ref.theme;
|
|
@@ -10127,6 +10017,7 @@ var scales$2 = {
|
|
|
10127
10017
|
MD: "md"
|
|
10128
10018
|
};
|
|
10129
10019
|
|
|
10020
|
+
var _templateObject$1D;
|
|
10130
10021
|
var getScale$1 = function getScale(_ref) {
|
|
10131
10022
|
var scale = _ref.scale;
|
|
10132
10023
|
switch (scale) {
|
|
@@ -10139,10 +10030,7 @@ var getScale$1 = function getScale(_ref) {
|
|
|
10139
10030
|
};
|
|
10140
10031
|
var Checkbox = styled.input.attrs({
|
|
10141
10032
|
type: "checkbox"
|
|
10142
|
-
}).
|
|
10143
|
-
displayName: "Checkbox",
|
|
10144
|
-
componentId: "sc-1dgqwt2-0"
|
|
10145
|
-
})(["appearance:none;overflow:hidden;cursor:pointer;position:relative;display:inline-block;height:", ";width:", ";vertical-align:middle;transition:background-color 0.2s ease-in-out;border:", ";border-radius:8px;background-color:", ";box-shadow:", ";&:after{content:\"\";position:absolute;border-bottom:2px solid;border-left:2px solid;border-color:transparent;top:30%;left:0;right:0;width:50%;height:25%;margin:auto;transform:rotate(-50deg);transition:border-color 0.2s ease-in-out;}&:hover:not(:disabled):not(:checked){box-shadow:", ";border:", ";}&:focus{outline:none;box-shadow:", ";}&:checked{background-color:", ";border:", ";&:after{border-color:white;}}&:disabled{cursor:default;opacity:0.6;}"], getScale$1, getScale$1, function (_ref2) {
|
|
10033
|
+
})(_templateObject$1D || (_templateObject$1D = _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) {
|
|
10146
10034
|
var bordered = _ref2.bordered;
|
|
10147
10035
|
return bordered ? "0.1px solid white !important" : "";
|
|
10148
10036
|
}, function (_ref3) {
|
|
@@ -10171,6 +10059,7 @@ Checkbox.defaultProps = {
|
|
|
10171
10059
|
scale: scales$2.MD
|
|
10172
10060
|
};
|
|
10173
10061
|
|
|
10062
|
+
var _templateObject$1C, _templateObject2$X;
|
|
10174
10063
|
var getLeft = function getLeft(_ref) {
|
|
10175
10064
|
var position = _ref.position;
|
|
10176
10065
|
if (position === "top-right") {
|
|
@@ -10185,10 +10074,7 @@ var getBottom = function getBottom(_ref2) {
|
|
|
10185
10074
|
}
|
|
10186
10075
|
return "auto";
|
|
10187
10076
|
};
|
|
10188
|
-
var DropdownContent = styled.div
|
|
10189
|
-
displayName: "Dropdown__DropdownContent",
|
|
10190
|
-
componentId: "sc-1ns2r4e-0"
|
|
10191
|
-
})(["width:max-content;display:none;flex-direction:column;position:absolute;transform:translate(-50%,0);left:", ";bottom:", ";background-color:", ";box-shadow:", ";padding:16px;max-height:400px;overflow-y:auto;overflow-x:hidden;z-index:", ";border-radius:", ";"], getLeft, getBottom, function (_ref3) {
|
|
10077
|
+
var DropdownContent = styled.div(_templateObject$1C || (_templateObject$1C = _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) {
|
|
10192
10078
|
var theme = _ref3.theme;
|
|
10193
10079
|
return theme.nav.background;
|
|
10194
10080
|
}, function (_ref4) {
|
|
@@ -10201,10 +10087,7 @@ var DropdownContent = styled.div.withConfig({
|
|
|
10201
10087
|
var theme = _ref6.theme;
|
|
10202
10088
|
return theme.radii.small;
|
|
10203
10089
|
});
|
|
10204
|
-
var Container$7 = styled.div
|
|
10205
|
-
displayName: "Dropdown__Container",
|
|
10206
|
-
componentId: "sc-1ns2r4e-1"
|
|
10207
|
-
})(["position:relative;&:hover ", ",&:focus-within ", "{display:flex;}"], DropdownContent, DropdownContent);
|
|
10090
|
+
var Container$7 = styled.div(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteral(["\n position: relative;\n &:hover ", ", &:focus-within ", " {\n display: flex;\n }\n"])), DropdownContent, DropdownContent);
|
|
10208
10091
|
var Dropdown = function Dropdown(_ref7) {
|
|
10209
10092
|
var target = _ref7.target,
|
|
10210
10093
|
_ref7$position = _ref7.position,
|
|
@@ -10222,14 +10105,9 @@ Dropdown.defaultProps = {
|
|
|
10222
10105
|
};
|
|
10223
10106
|
|
|
10224
10107
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10225
|
-
var
|
|
10226
|
-
|
|
10227
|
-
|
|
10228
|
-
})(["font-weight:700;"]);
|
|
10229
|
-
var StyledEarnedToken = styled.div.withConfig({
|
|
10230
|
-
displayName: "EarnedToken__StyledEarnedToken",
|
|
10231
|
-
componentId: "sc-1kzbws6-1"
|
|
10232
|
-
})(["width:100%;background:", ";border-radius:", ";overflow:hidden;position:relative;padding:", ";color:", ";font-size:16px;font-weight:700;line-height:28px;", " ", "{padding:15px;border:1px solid ", ";font-size:20px;line-height:26px;}"], function (_ref) {
|
|
10108
|
+
var _templateObject$1B, _templateObject2$W, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$j, _templateObject7$f;
|
|
10109
|
+
var StyledHeading = styled.div(_templateObject$1B || (_templateObject$1B = _taggedTemplateLiteral(["\n font-weight: 700;\n"])));
|
|
10110
|
+
var StyledEarnedToken = styled.div(_templateObject2$W || (_templateObject2$W = _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) {
|
|
10233
10111
|
var theme = _ref.theme;
|
|
10234
10112
|
return theme.backgrounds.secondary;
|
|
10235
10113
|
}, function (_ref2) {
|
|
@@ -10244,7 +10122,7 @@ var StyledEarnedToken = styled.div.withConfig({
|
|
|
10244
10122
|
return theme.colors.white;
|
|
10245
10123
|
}, function (_ref5) {
|
|
10246
10124
|
var toggled = _ref5.toggled;
|
|
10247
|
-
return toggled && styled.css(["border:1px solid ", "
|
|
10125
|
+
return toggled && styled.css(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n "])), function (_ref6) {
|
|
10248
10126
|
var theme = _ref6.theme;
|
|
10249
10127
|
return theme.colors.white10;
|
|
10250
10128
|
});
|
|
@@ -10255,31 +10133,19 @@ var StyledEarnedToken = styled.div.withConfig({
|
|
|
10255
10133
|
var theme = _ref8.theme;
|
|
10256
10134
|
return theme.colors.white10;
|
|
10257
10135
|
});
|
|
10258
|
-
var Amount = styled.div
|
|
10259
|
-
displayName: "EarnedToken__Amount",
|
|
10260
|
-
componentId: "sc-1kzbws6-2"
|
|
10261
|
-
})(["display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start;width:100%;svg{width:24px;height:24px;margin-top:5px;margin-right:15px;", "{margin-top:0;margin-right:8px;}}", "{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;height:24px;padding:25px 0;}"], function (_ref9) {
|
|
10136
|
+
var Amount = styled.div(_templateObject4$w || (_templateObject4$w = _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) {
|
|
10262
10137
|
var theme = _ref9.theme;
|
|
10263
10138
|
return theme.mediaQueries.sm;
|
|
10264
10139
|
}, function (_ref0) {
|
|
10265
10140
|
var theme = _ref0.theme;
|
|
10266
10141
|
return theme.mediaQueries.sm;
|
|
10267
10142
|
});
|
|
10268
|
-
var Actions = styled.div
|
|
10269
|
-
displayName: "EarnedToken__Actions",
|
|
10270
|
-
componentId: "sc-1kzbws6-3"
|
|
10271
|
-
})(["display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;button{width:100%;height:40px;font-size:11px;padding:0;}", "{flex-direction:column;button{font-size:16px;margin-bottom:5px;}}"], function (_ref1) {
|
|
10143
|
+
var Actions = styled.div(_templateObject5$t || (_templateObject5$t = _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) {
|
|
10272
10144
|
var theme = _ref1.theme;
|
|
10273
10145
|
return theme.mediaQueries.sm;
|
|
10274
10146
|
});
|
|
10275
|
-
var MobileInfo = styled.div
|
|
10276
|
-
|
|
10277
|
-
componentId: "sc-1kzbws6-4"
|
|
10278
|
-
})(["display:flex;flex-direction:column;width:80%;margin-bottom:10px;"]);
|
|
10279
|
-
var Toggle = styled.div.withConfig({
|
|
10280
|
-
displayName: "EarnedToken__Toggle",
|
|
10281
|
-
componentId: "sc-1kzbws6-5"
|
|
10282
|
-
})(["justify-self:flex-end;svg{margin:0;}"]);
|
|
10147
|
+
var MobileInfo = styled.div(_templateObject6$j || (_templateObject6$j = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 80%;\n margin-bottom: 10px;\n"])));
|
|
10148
|
+
var Toggle = styled.div(_templateObject7$f || (_templateObject7$f = _taggedTemplateLiteral(["\n justify-self: flex-end;\n\n svg {\n margin: 0;\n }\n"])));
|
|
10283
10149
|
var EarnedToken = function EarnedToken(_ref10) {
|
|
10284
10150
|
var tokenName = _ref10.tokenName,
|
|
10285
10151
|
amount = _ref10.amount,
|
|
@@ -10339,10 +10205,8 @@ exports.Tokens = void 0;
|
|
|
10339
10205
|
Tokens["ETH"] = "ETH";
|
|
10340
10206
|
})(exports.Tokens || (exports.Tokens = {}));
|
|
10341
10207
|
|
|
10342
|
-
var
|
|
10343
|
-
|
|
10344
|
-
componentId: "sc-vkh54k-0"
|
|
10345
|
-
})(["border:1px solid ", ";background:", ";width:100%;border-radius:", ";color:", ";overflow:hidden;position:relative;"], function (_ref) {
|
|
10208
|
+
var _templateObject$1A;
|
|
10209
|
+
var StyledEarnedWrapper = styled.div(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n background: ", ";\n width: 100%;\n border-radius: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n"])), function (_ref) {
|
|
10346
10210
|
var theme = _ref.theme;
|
|
10347
10211
|
return theme.colors.white7;
|
|
10348
10212
|
}, function (_ref2) {
|
|
@@ -10365,10 +10229,8 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10365
10229
|
}));
|
|
10366
10230
|
};
|
|
10367
10231
|
|
|
10368
|
-
var
|
|
10369
|
-
|
|
10370
|
-
componentId: "sc-fpoazu-0"
|
|
10371
|
-
})(["font-size:20px;line-height:26px;padding:15px;font-weight:700;color:", ";display:flex;justify-content:flex-start;align-items:center;", "{font-size:26px;line-height:33.8px;padding:25px 10px 25px 30px;}"], function (_ref) {
|
|
10232
|
+
var _templateObject$1z;
|
|
10233
|
+
var EarnedWrapperHeader = styled.div(_templateObject$1z || (_templateObject$1z = _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 (_ref) {
|
|
10372
10234
|
var theme = _ref.theme;
|
|
10373
10235
|
return theme.colors.white;
|
|
10374
10236
|
}, function (_ref2) {
|
|
@@ -10379,10 +10241,8 @@ EarnedWrapperHeader.defaultProps = {
|
|
|
10379
10241
|
as: tags.H2
|
|
10380
10242
|
};
|
|
10381
10243
|
|
|
10382
|
-
var
|
|
10383
|
-
|
|
10384
|
-
componentId: "sc-183ri5-0"
|
|
10385
|
-
})(["display:grid;grid-template-columns:repeat(8,1fr);grid-gap:16px;", "{grid-gap:10px;}", "{grid-template-columns:repeat(12,1fr);grid-gap:24px;}", "{grid-template-columns:repeat(12,1fr);grid-gap:32px;}"], function (_ref) {
|
|
10244
|
+
var _templateObject$1y;
|
|
10245
|
+
var GridLayout$1 = styled.div(_templateObject$1y || (_templateObject$1y = _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) {
|
|
10386
10246
|
var theme = _ref.theme;
|
|
10387
10247
|
return theme.mediaQueries.sm;
|
|
10388
10248
|
}, function (_ref2) {
|
|
@@ -10393,28 +10253,21 @@ var GridLayout$1 = styled.div.withConfig({
|
|
|
10393
10253
|
return theme.mediaQueries.lg;
|
|
10394
10254
|
});
|
|
10395
10255
|
|
|
10396
|
-
var
|
|
10397
|
-
|
|
10398
|
-
componentId: "sc-1cke1k8-0"
|
|
10399
|
-
})(["& > div{grid-column:span 6;", "{grid-column:span 4;}}"], function (_ref) {
|
|
10256
|
+
var _templateObject$1x;
|
|
10257
|
+
var GridLayout = styled(GridLayout$1)(_templateObject$1x || (_templateObject$1x = _taggedTemplateLiteral(["\n & > div {\n grid-column: span 6;\n ", " {\n grid-column: span 4;\n }\n }\n"])), function (_ref) {
|
|
10400
10258
|
var theme = _ref.theme;
|
|
10401
10259
|
return theme.mediaQueries.sm;
|
|
10402
10260
|
});
|
|
10403
10261
|
|
|
10404
|
-
var
|
|
10405
|
-
|
|
10406
|
-
componentId: "sc-1bcwv2i-0"
|
|
10407
|
-
})(["width:100%;display:flex;justify-content:flex-start;padding:0 10px;", "{padding:0 30px;margin-bottom:", " !important;}"], function (_ref) {
|
|
10262
|
+
var _templateObject$1w, _templateObject2$V, _templateObject3$I;
|
|
10263
|
+
var StyledEarnedWrapperBody = styled.div(_templateObject$1w || (_templateObject$1w = _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) {
|
|
10408
10264
|
var theme = _ref.theme;
|
|
10409
10265
|
return theme.mediaQueries.md;
|
|
10410
10266
|
}, function (_ref2) {
|
|
10411
10267
|
var withoutMore = _ref2.withoutMore;
|
|
10412
10268
|
return withoutMore ? "30px" : "0px";
|
|
10413
10269
|
});
|
|
10414
|
-
var StyledCardsLayout = styled(GridLayout$1)
|
|
10415
|
-
displayName: "EarnedWrapperBody__StyledCardsLayout",
|
|
10416
|
-
componentId: "sc-1bcwv2i-1"
|
|
10417
|
-
})(["width:100%;& > div{grid-column:span 12;", "{grid-column:span 4;}", "{grid-column:span 4;}", "{grid-column:span ", ";}}"], function (_ref3) {
|
|
10270
|
+
var StyledCardsLayout = styled(GridLayout$1)(_templateObject2$V || (_templateObject2$V = _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) {
|
|
10418
10271
|
var theme = _ref3.theme;
|
|
10419
10272
|
return theme.mediaQueries.sm;
|
|
10420
10273
|
}, function (_ref4) {
|
|
@@ -10427,10 +10280,7 @@ var StyledCardsLayout = styled(GridLayout$1).withConfig({
|
|
|
10427
10280
|
var childrenNumber = _ref6.childrenNumber;
|
|
10428
10281
|
return childrenNumber === 3 ? "4" : "3";
|
|
10429
10282
|
});
|
|
10430
|
-
var EarnedWrapperFooter = styled.div
|
|
10431
|
-
displayName: "EarnedWrapperBody__EarnedWrapperFooter",
|
|
10432
|
-
componentId: "sc-1bcwv2i-2"
|
|
10433
|
-
})(["display:flex;justify-content:center;align-items:center;padding:10px 5px;", "{padding:20px 30px;}"], function (_ref7) {
|
|
10283
|
+
var EarnedWrapperFooter = styled.div(_templateObject3$I || (_templateObject3$I = _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) {
|
|
10434
10284
|
var theme = _ref7.theme;
|
|
10435
10285
|
return theme.mediaQueries.md;
|
|
10436
10286
|
});
|
|
@@ -10497,10 +10347,8 @@ var EarnedWrapperBody = function EarnedWrapperBody(_ref8) {
|
|
|
10497
10347
|
});
|
|
10498
10348
|
};
|
|
10499
10349
|
|
|
10500
|
-
var
|
|
10501
|
-
|
|
10502
|
-
componentId: "sc-1fmwe6r-0"
|
|
10503
|
-
})(["border:1px solid ", ";background:", ";width:100%;border-radius:", ";color:", ";overflow:hidden;position:relative;padding-bottom:10px;", "{padding-bottom:0px;}"], function (_ref) {
|
|
10350
|
+
var _templateObject$1v;
|
|
10351
|
+
var StyledEarnedCarouselWrapper = styled.div(_templateObject$1v || (_templateObject$1v = _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) {
|
|
10504
10352
|
var theme = _ref.theme;
|
|
10505
10353
|
return theme.colors.white7;
|
|
10506
10354
|
}, function (_ref2) {
|
|
@@ -10526,10 +10374,8 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10526
10374
|
}));
|
|
10527
10375
|
};
|
|
10528
10376
|
|
|
10529
|
-
var
|
|
10530
|
-
|
|
10531
|
-
componentId: "sc-zz4zep-0"
|
|
10532
|
-
})(["font-size:20px;line-height:26px;padding:15px;font-weight:700;color:", ";display:flex;justify-content:flex-start;align-items:center;", "{font-size:26px;line-height:33.8px;padding:25px 10px 25px 30px;}"], function (_ref) {
|
|
10377
|
+
var _templateObject$1u;
|
|
10378
|
+
var EarnedCarouselWrapperHeader = styled.div(_templateObject$1u || (_templateObject$1u = _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 (_ref) {
|
|
10533
10379
|
var theme = _ref.theme;
|
|
10534
10380
|
return theme.colors.white;
|
|
10535
10381
|
}, function (_ref2) {
|
|
@@ -10540,14 +10386,9 @@ EarnedCarouselWrapperHeader.defaultProps = {
|
|
|
10540
10386
|
as: tags.H2
|
|
10541
10387
|
};
|
|
10542
10388
|
|
|
10543
|
-
var
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
})(["padding:0 10px;@media (max-width:800px){width:50%;}@media (min-width:800px){width:33.3%;}@media (min-width:1200px){width:25%;}"]);
|
|
10547
|
-
var SliderWrapper = styled.div.withConfig({
|
|
10548
|
-
displayName: "EarnedCarouselWrapperBody__SliderWrapper",
|
|
10549
|
-
componentId: "sc-63miep-1"
|
|
10550
|
-
})(["", "{margin:", ";}", "{margin:", ";}display:flex;flex-direction:row;justify-content:flex-start;align-items:center;"], function (_ref) {
|
|
10389
|
+
var _templateObject$1t, _templateObject2$U, _templateObject3$H;
|
|
10390
|
+
var CSSTokenWrapper = styled.div(_templateObject$1t || (_templateObject$1t = _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"])));
|
|
10391
|
+
var SliderWrapper = styled.div(_templateObject2$U || (_templateObject2$U = _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) {
|
|
10551
10392
|
var theme = _ref.theme;
|
|
10552
10393
|
return theme.mediaQueries.sm;
|
|
10553
10394
|
}, function (_ref2) {
|
|
@@ -10560,10 +10401,7 @@ var SliderWrapper = styled.div.withConfig({
|
|
|
10560
10401
|
var dots = _ref4.dots;
|
|
10561
10402
|
return dots ? "0 20px 60px" : "0 5px 15px";
|
|
10562
10403
|
});
|
|
10563
|
-
var StyledSlider$1 = styled(Slider).
|
|
10564
|
-
displayName: "EarnedCarouselWrapperBody__StyledSlider",
|
|
10565
|
-
componentId: "sc-63miep-2"
|
|
10566
|
-
})(["@media (max-width:800px){width:", ";}@media (min-width:800px){width:", ";}@media (min-width:1200px){width:", ";}.slick-track{display:flex;> div{padding:0 10px;}}.slick-dots{.slick-active{div{background:", " !important;}}}"], function (_ref5) {
|
|
10404
|
+
var StyledSlider$1 = styled(Slider)(_templateObject3$H || (_templateObject3$H = _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) {
|
|
10567
10405
|
var withoutMain = _ref5.withoutMain;
|
|
10568
10406
|
if (withoutMain) {
|
|
10569
10407
|
return "100%";
|
|
@@ -10728,6 +10566,7 @@ var BackgroundImage = function BackgroundImage(_ref) {
|
|
|
10728
10566
|
}, otherProps));
|
|
10729
10567
|
};
|
|
10730
10568
|
|
|
10569
|
+
var _templateObject$1s;
|
|
10731
10570
|
var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
10732
10571
|
var isActive = _ref.isActive,
|
|
10733
10572
|
isWarning = _ref.isWarning,
|
|
@@ -10740,10 +10579,7 @@ var getBoxShadow$1 = function getBoxShadow(_ref) {
|
|
|
10740
10579
|
}
|
|
10741
10580
|
return theme.infoBox.boxShadow;
|
|
10742
10581
|
};
|
|
10743
|
-
var StyledInfoBox = styled.div.
|
|
10744
|
-
displayName: "StyledInfoBox",
|
|
10745
|
-
componentId: "sc-132sfwq-0"
|
|
10746
|
-
})(["filter:drop-shadow(rgba(25,19,38,0.15) 0px 1px 4px);width:100%;background:rgb(22,22,29);border:1px solid rgb(82,75,99);border-radius:15px;border:1px solid ", ";box-shadow:", ";color:", ";overflow:hidden;position:relative;", ""], function (_ref2) {
|
|
10582
|
+
var StyledInfoBox = styled.div(_templateObject$1s || (_templateObject$1s = _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) {
|
|
10747
10583
|
var theme = _ref2.theme;
|
|
10748
10584
|
return theme.colors.borderColor;
|
|
10749
10585
|
}, getBoxShadow$1, function (_ref3) {
|
|
@@ -10764,24 +10600,18 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10764
10600
|
}));
|
|
10765
10601
|
};
|
|
10766
10602
|
|
|
10767
|
-
var
|
|
10768
|
-
|
|
10769
|
-
componentId: "sc-1opp4pn-0"
|
|
10770
|
-
})(["", ";padding:20px;display:flex;justify-content:flex-start;"], styledSystem.space);
|
|
10603
|
+
var _templateObject$1r;
|
|
10604
|
+
var InfoBox = styled.div(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), styledSystem.space);
|
|
10771
10605
|
InfoBox.defaultProps = {
|
|
10772
10606
|
p: "24px"
|
|
10773
10607
|
};
|
|
10774
10608
|
|
|
10775
|
-
var
|
|
10776
|
-
|
|
10777
|
-
componentId: "sc-ll0lgz-0"
|
|
10778
|
-
})(["", ";font-weight:600;font-size:24px;line-height:130%;color:white;display:flex;height:55px;padding:0 20px;justify-content:space-between;align-items:center;background:rgba(10,10,10,1);"], styledSystem.space);
|
|
10609
|
+
var _templateObject$1q;
|
|
10610
|
+
var InfoBoxHeader = styled.div(_templateObject$1q || (_templateObject$1q = _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);
|
|
10779
10611
|
InfoBoxHeader.defaultProps = {};
|
|
10780
10612
|
|
|
10781
|
-
var
|
|
10782
|
-
|
|
10783
|
-
componentId: "sc-suth0r-0"
|
|
10784
|
-
})(["", ";padding:20px;display:flex;justify-content:flex-start;"], styledSystem.space);
|
|
10613
|
+
var _templateObject$1p;
|
|
10614
|
+
var InfoBoxFooter = styled.div(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), styledSystem.space);
|
|
10785
10615
|
InfoBoxFooter.defaultProps = {
|
|
10786
10616
|
p: "24px"
|
|
10787
10617
|
};
|
|
@@ -10792,6 +10622,7 @@ var scales$1 = {
|
|
|
10792
10622
|
LG: "lg"
|
|
10793
10623
|
};
|
|
10794
10624
|
|
|
10625
|
+
var _templateObject$1o;
|
|
10795
10626
|
/**
|
|
10796
10627
|
* Priority: Warning --> Success
|
|
10797
10628
|
*/
|
|
@@ -10822,10 +10653,7 @@ var getHeight = function getHeight(_ref2) {
|
|
|
10822
10653
|
return "40px";
|
|
10823
10654
|
}
|
|
10824
10655
|
};
|
|
10825
|
-
var Input = styled.input.
|
|
10826
|
-
displayName: "Input",
|
|
10827
|
-
componentId: "sc-i7ggno-0"
|
|
10828
|
-
})(["background-color:", ";border:1px solid rgba(255,255,255,0.3);border-radius:10px;box-shadow:", ";color:", ";display:block;font-size:16px;height:", ";outline:0;padding:0 16px;width:100%;&::placeholder{color:", ";}&:disabled{background-color:", ";box-shadow:none;color:", ";cursor:not-allowed;}&:focus:not(:disabled){box-shadow:", ";}"], function (_ref3) {
|
|
10656
|
+
var Input = styled.input(_templateObject$1o || (_templateObject$1o = _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) {
|
|
10829
10657
|
var theme = _ref3.theme;
|
|
10830
10658
|
return theme.colors.input;
|
|
10831
10659
|
}, getBoxShadow, function (_ref4) {
|
|
@@ -10853,48 +10681,25 @@ Input.defaultProps = {
|
|
|
10853
10681
|
var _excluded$9 = ["children"],
|
|
10854
10682
|
_excluded2 = ["children"],
|
|
10855
10683
|
_excluded3 = ["children"];
|
|
10856
|
-
var
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
})(["display:flex;justify-content:space-between;margin-bottom:8px;"]);
|
|
10860
|
-
var Label = styled(Text).withConfig({
|
|
10861
|
-
displayName: "InputAssets__Label",
|
|
10862
|
-
componentId: "sc-1xa506b-1"
|
|
10863
|
-
})(["color:", ";font-weight:bold;font-size:16px;line-height:28px;"], function (_ref) {
|
|
10684
|
+
var _templateObject$1n, _templateObject2$T, _templateObject3$G, _templateObject4$v, _templateObject5$s, _templateObject6$i, _templateObject7$e, _templateObject8$a, _templateObject9$9;
|
|
10685
|
+
var InputLabelBox = styled.div(_templateObject$1n || (_templateObject$1n = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin-bottom: 8px;\n"])));
|
|
10686
|
+
var Label = styled(Text)(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: bold;\n font-size: 16px;\n line-height: 28px;\n"])), function (_ref) {
|
|
10864
10687
|
var theme = _ref.theme;
|
|
10865
10688
|
return theme.colors.white55;
|
|
10866
10689
|
});
|
|
10867
|
-
var OptionalBox = styled(Text)
|
|
10868
|
-
|
|
10869
|
-
|
|
10870
|
-
})(["display:flex;justify-content:center;flex-direction:column;"]);
|
|
10871
|
-
var Optional = styled(Text).withConfig({
|
|
10872
|
-
displayName: "InputAssets__Optional",
|
|
10873
|
-
componentId: "sc-1xa506b-3"
|
|
10874
|
-
})(["color:#373749;font-weight:bold;font-size:11px;line-height:138.5%;"]);
|
|
10875
|
-
var StyledInputDesc = styled(Text).withConfig({
|
|
10876
|
-
displayName: "InputAssets__StyledInputDesc",
|
|
10877
|
-
componentId: "sc-1xa506b-4"
|
|
10878
|
-
})(["color:", ";font-weight:normal;font-size:12px;line-height:170%;"], function (_ref2) {
|
|
10690
|
+
var OptionalBox = styled(Text)(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n flex-direction: column;\n"])));
|
|
10691
|
+
var Optional = styled(Text)(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteral(["\n color: #373749;\n font-weight: bold;\n font-size: 11px;\n line-height: 138.5%;\n"])));
|
|
10692
|
+
var StyledInputDesc = styled(Text)(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: normal;\n font-size: 12px;\n line-height: 170%;\n"])), function (_ref2) {
|
|
10879
10693
|
var theme = _ref2.theme;
|
|
10880
10694
|
return theme.colors.white55;
|
|
10881
10695
|
});
|
|
10882
|
-
var StyledInputBottomDesc = styled(StyledInputDesc)
|
|
10883
|
-
|
|
10884
|
-
|
|
10885
|
-
})(["padding-left:8px;"]);
|
|
10886
|
-
var textStyle = styled.css(["font-size:11px;line-height:138.5%;font-weight:bold;padding:0px 0px 10px 24px;margin-bottom:-25px;"]);
|
|
10887
|
-
var StyledErrorMessage = styled(Text).withConfig({
|
|
10888
|
-
displayName: "InputAssets__StyledErrorMessage",
|
|
10889
|
-
componentId: "sc-1xa506b-6"
|
|
10890
|
-
})(["", ";color:", ";"], textStyle, function (_ref3) {
|
|
10696
|
+
var StyledInputBottomDesc = styled(StyledInputDesc)(_templateObject6$i || (_templateObject6$i = _taggedTemplateLiteral(["\n padding-left: 8px;\n"])));
|
|
10697
|
+
var textStyle = styled.css(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteral(["\n font-size: 11px;\n line-height: 138.5%;\n font-weight: bold;\n padding: 0px 0px 10px 24px;\n margin-bottom: -25px;\n"])));
|
|
10698
|
+
var StyledErrorMessage = styled(Text)(_templateObject8$a || (_templateObject8$a = _taggedTemplateLiteral(["\n ", ";\n color: ", ";\n"])), textStyle, function (_ref3) {
|
|
10891
10699
|
var theme = _ref3.theme;
|
|
10892
10700
|
return theme.colors.error;
|
|
10893
10701
|
});
|
|
10894
|
-
var StyledSuccessMessage = styled(Text)
|
|
10895
|
-
displayName: "InputAssets__StyledSuccessMessage",
|
|
10896
|
-
componentId: "sc-1xa506b-7"
|
|
10897
|
-
})(["", ";color:", ";"], textStyle, function (_ref4) {
|
|
10702
|
+
var StyledSuccessMessage = styled(Text)(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteral(["\n ", ";\n color: ", ";\n"])), textStyle, function (_ref4) {
|
|
10898
10703
|
var theme = _ref4.theme;
|
|
10899
10704
|
return theme.colors.primary;
|
|
10900
10705
|
});
|
|
@@ -10961,13 +10766,11 @@ var InputWrapper$1 = function InputWrapper(_ref0) {
|
|
|
10961
10766
|
});
|
|
10962
10767
|
};
|
|
10963
10768
|
|
|
10769
|
+
var _templateObject$1m, _templateObject2$S;
|
|
10964
10770
|
var StyledInput$1 = styled(function (_ref) {
|
|
10965
10771
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
10966
10772
|
return /*#__PURE__*/jsxRuntime.jsx(DatePicker.DatePicker, _objectSpread2({}, props));
|
|
10967
|
-
}).
|
|
10968
|
-
displayName: "MuiDateInput__StyledInput",
|
|
10969
|
-
componentId: "sc-2l4k3e-0"
|
|
10970
|
-
})(["width:100%;height:60px;.MuiInputBase-root{border:1px solid ", ";border-radius:10px;background:", ";padding:16px 24px;color:white;font-weight:500;font-size:16px;line-height:28px;&.Mui-disabled{.MuiInputBase-input{color:", ";}}}.MuiFormHelperText-root.Mui-error{display:none;}"], function (props) {
|
|
10773
|
+
})(_templateObject$1m || (_templateObject$1m = _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) {
|
|
10971
10774
|
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)";
|
|
10972
10775
|
}, function (props) {
|
|
10973
10776
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
@@ -10978,10 +10781,7 @@ var StyledInput$1 = styled(function (_ref) {
|
|
|
10978
10781
|
var DateInputWrapper = styled(function (_ref3) {
|
|
10979
10782
|
var props = _extends({}, (_objectDestructuringEmpty(_ref3), _ref3));
|
|
10980
10783
|
return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread2({}, props));
|
|
10981
|
-
})
|
|
10982
|
-
displayName: "MuiDateInput__DateInputWrapper",
|
|
10983
|
-
componentId: "sc-2l4k3e-1"
|
|
10984
|
-
})(["margin-bottom:15px;"]);
|
|
10784
|
+
})(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteral(["\n margin-bottom: 15px;\n"])));
|
|
10985
10785
|
var MuiDateInput = function MuiDateInput(_ref4) {
|
|
10986
10786
|
var name = _ref4.name,
|
|
10987
10787
|
label = _ref4.label,
|
|
@@ -11045,13 +10845,11 @@ var MuiDateInput = function MuiDateInput(_ref4) {
|
|
|
11045
10845
|
});
|
|
11046
10846
|
};
|
|
11047
10847
|
|
|
10848
|
+
var _templateObject$1l, _templateObject2$R;
|
|
11048
10849
|
var DragAndDropZone = styled(function (_ref) {
|
|
11049
10850
|
var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
|
|
11050
10851
|
return /*#__PURE__*/jsxRuntime.jsx("div", _objectSpread2({}, props));
|
|
11051
|
-
})
|
|
11052
|
-
displayName: "MuiFileInput__DragAndDropZone",
|
|
11053
|
-
componentId: "sc-1qlv44t-0"
|
|
11054
|
-
})(["background:", ";cursor:", ";border:1px ", ";box-sizing:border-box;border-radius:10px;padding:16px 24px;font-weight:500;font-size:16px;line-height:28px;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;"], function (props) {
|
|
10852
|
+
})(_templateObject$1l || (_templateObject$1l = _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) {
|
|
11055
10853
|
return props.disabled ? props.theme.colors.disabled : props.theme.backgrounds.secondary;
|
|
11056
10854
|
}, function (props) {
|
|
11057
10855
|
return props.disabled ? "not-allowed" : "pointer";
|
|
@@ -11061,10 +10859,7 @@ var DragAndDropZone = styled(function (_ref) {
|
|
|
11061
10859
|
var DragAndDropText = styled(function (_ref2) {
|
|
11062
10860
|
var props = _extends({}, (_objectDestructuringEmpty(_ref2), _ref2));
|
|
11063
10861
|
return /*#__PURE__*/jsxRuntime.jsx(Text, _objectSpread2({}, props));
|
|
11064
|
-
})
|
|
11065
|
-
displayName: "MuiFileInput__DragAndDropText",
|
|
11066
|
-
componentId: "sc-1qlv44t-1"
|
|
11067
|
-
})(["font-weight:500;font-size:16px;line-height:28px;color:", ";span{color:", ";}"], function (props) {
|
|
10862
|
+
})(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteral(["\n font-weight: 500;\n font-size: 16px;\n line-height: 28px;\n color: ", ";\n span {\n color: ", ";\n }\n"])), function (props) {
|
|
11068
10863
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.white;
|
|
11069
10864
|
}, function (props) {
|
|
11070
10865
|
return props.disabled ? props.theme.colors.white55 : props.theme.colors.primary;
|
|
@@ -11138,21 +10933,13 @@ var MuiFileInput = function MuiFileInput(_ref3) {
|
|
|
11138
10933
|
};
|
|
11139
10934
|
|
|
11140
10935
|
var _excluded$8 = ["name", "label", "placeholderLabel", "placeholder", "topDesc", "bottomDesc", "optional", "value", "onChange", "onBlur", "error", "textarea", "maxLength", "disabled", "success", "successMsg"];
|
|
11141
|
-
var
|
|
11142
|
-
|
|
11143
|
-
|
|
11144
|
-
})(["position:relative;"]);
|
|
11145
|
-
var LengthText = styled(Text).withConfig({
|
|
11146
|
-
displayName: "MuiTextInput__LengthText",
|
|
11147
|
-
componentId: "sc-1pp44v8-1"
|
|
11148
|
-
})(["position:absolute;font-weight:bold;font-size:11px;line-height:138.5%;color:", ";bottom:20px;right:15px;"], function (_ref) {
|
|
10936
|
+
var _templateObject$1k, _templateObject2$Q, _templateObject3$F;
|
|
10937
|
+
var TextAreaWrapper = styled.div(_templateObject$1k || (_templateObject$1k = _taggedTemplateLiteral(["\n position: relative;\n"])));
|
|
10938
|
+
var LengthText = styled(Text)(_templateObject2$Q || (_templateObject2$Q = _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) {
|
|
11149
10939
|
var theme = _ref.theme;
|
|
11150
10940
|
return theme.colors.grey;
|
|
11151
10941
|
});
|
|
11152
|
-
var StyledTextField = styled(material.TextField).
|
|
11153
|
-
displayName: "MuiTextInput__StyledTextField",
|
|
11154
|
-
componentId: "sc-1pp44v8-2"
|
|
11155
|
-
})(["&.MuiTextField-root{margin-bottom:10px;width:100%;.MuiInputBase-input{color:white;::placeholder{opacity:1;color:", ";}}.MuiFilledInput-root{background-color:", ";border:1px solid ", ";border-radius:10px;height:", ";.MuiFilledInput-input{padding:", ";}&.Mui-error{border:1px solid ", ";}&.Mui-focused{border:1px solid ", ";box-shadow:0px 0px 8px rgba(18,255,184,0.15);&.Mui-error{border:1px solid ", ";box-shadow:unset;}}&.Mui-disabled{background-color:", ";border:1px solid ", ";.MuiInputBase-input{color:", ";}}&.MuiFilledInput-underline:before{border-bottom:unset;}&.MuiFilledInput-underline:after{border-bottom:unset;}}.MuiInputLabel-filled{font-weight:500;font-size:16px;line-height:28px;transform:translate(24px,17px);color:", ";transition:all 0.15s;&.MuiInputLabel-shrink{font-weight:bold;font-size:11px;line-height:138.5%;transform:translate(24px,10px);color:", ";}}}.MuiFilledInput-multiline{padding:0px 12px 30px 0px;}"], function (_ref2) {
|
|
10942
|
+
var StyledTextField = styled(material.TextField)(_templateObject3$F || (_templateObject3$F = _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) {
|
|
11156
10943
|
var theme = _ref2.theme,
|
|
11157
10944
|
disabled = _ref2.disabled;
|
|
11158
10945
|
return disabled ? theme.colors.white55 : theme.colors.grey;
|
|
@@ -11260,21 +11047,13 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11260
11047
|
});
|
|
11261
11048
|
};
|
|
11262
11049
|
|
|
11263
|
-
var
|
|
11264
|
-
|
|
11265
|
-
|
|
11266
|
-
})(["height:200px;"]);
|
|
11267
|
-
var StyledSlider = styled(Slider).withConfig({
|
|
11268
|
-
displayName: "NewsCarousel__StyledSlider",
|
|
11269
|
-
componentId: "sc-xakklk-1"
|
|
11270
|
-
})([".slick-track{> div{padding:0 10px;}}.slick-dots{.slick-active{div{background:", " !important;}}}"], function (_ref) {
|
|
11050
|
+
var _templateObject$1j, _templateObject2$P, _templateObject3$E;
|
|
11051
|
+
var CarouselBox = styled.div(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteral(["\n height: 200px;\n"])));
|
|
11052
|
+
var StyledSlider = styled(Slider)(_templateObject2$P || (_templateObject2$P = _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) {
|
|
11271
11053
|
var theme = _ref.theme;
|
|
11272
11054
|
return theme.colors.blue;
|
|
11273
11055
|
});
|
|
11274
|
-
var ImageDiv = styled.div
|
|
11275
|
-
displayName: "NewsCarousel__ImageDiv",
|
|
11276
|
-
componentId: "sc-xakklk-2"
|
|
11277
|
-
})(["background:", ";background-size:cover;color:white;display:flex;flex-direction:row;justify-content:center;align-items:flex-end;padding-bottom:30px;height:200px;border-radius:15px;border:1px solid ", ";"], function (_ref2) {
|
|
11056
|
+
var ImageDiv = styled.div(_templateObject3$E || (_templateObject3$E = _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) {
|
|
11278
11057
|
var background = _ref2.background;
|
|
11279
11058
|
return background;
|
|
11280
11059
|
}, function (_ref3) {
|
|
@@ -11323,6 +11102,7 @@ var scales = {
|
|
|
11323
11102
|
MD: "md"
|
|
11324
11103
|
};
|
|
11325
11104
|
|
|
11105
|
+
var _templateObject$1i;
|
|
11326
11106
|
var getScale = function getScale(_ref) {
|
|
11327
11107
|
var scale = _ref.scale;
|
|
11328
11108
|
switch (scale) {
|
|
@@ -11345,10 +11125,7 @@ var getCheckedScale = function getCheckedScale(_ref2) {
|
|
|
11345
11125
|
};
|
|
11346
11126
|
var Radio = styled.input.attrs({
|
|
11347
11127
|
type: "radio"
|
|
11348
|
-
}).
|
|
11349
|
-
displayName: "Radio",
|
|
11350
|
-
componentId: "sc-955j6u-0"
|
|
11351
|
-
})(["appearance:none;overflow:hidden;cursor:pointer;position:relative;display:inline-block;height:", ";width:", ";vertical-align:middle;transition:background-color 0.2s ease-in-out;border:0;border-radius:50%;background-color:", ";box-shadow:", ";&:after{border-radius:50%;content:\"\";height:", ";left:6px;position:absolute;top:6px;width:", ";}&:hover:not(:disabled):not(:checked){box-shadow:", ";}&:focus{outline:none;box-shadow:", ";}&:checked{background-color:", ";&:after{background-color:", ";}}&:disabled{cursor:default;opacity:0.6;}", ""], getScale, getScale, function (_ref3) {
|
|
11128
|
+
})(_templateObject$1i || (_templateObject$1i = _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 (_ref3) {
|
|
11352
11129
|
var theme = _ref3.theme;
|
|
11353
11130
|
return theme.colors.input;
|
|
11354
11131
|
}, function (_ref4) {
|
|
@@ -11488,10 +11265,8 @@ var darkColors = _objectSpread2(_objectSpread2(_objectSpread2({}, baseColors), b
|
|
|
11488
11265
|
}
|
|
11489
11266
|
});
|
|
11490
11267
|
|
|
11491
|
-
var
|
|
11492
|
-
|
|
11493
|
-
componentId: "sc-1bfj6gr-0"
|
|
11494
|
-
})(["width:auto;height:24px;display:inline-flex;justify-content:space-between;align-items:center;background-color:transparent;border:1px solid ", ";border-radius:", ";color:", ";font-size:14px;font-weight:700;line-height:1.5;padding:0 8px;white-space:nowrap;svg{margin-left:", "px;margin-right:", "px;width:16px;height:16px;fill:", ";}"], function (_ref) {
|
|
11268
|
+
var _templateObject$1h, _templateObject2$O;
|
|
11269
|
+
var StyledCoreTag = styled.div(_templateObject$1h || (_templateObject$1h = _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) {
|
|
11495
11270
|
var theme = _ref.theme,
|
|
11496
11271
|
active = _ref.active,
|
|
11497
11272
|
color = _ref.color;
|
|
@@ -11515,10 +11290,7 @@ var StyledCoreTag = styled.div.withConfig({
|
|
|
11515
11290
|
active = _ref6.active;
|
|
11516
11291
|
return active ? theme.colors.primary : theme.colors.grey;
|
|
11517
11292
|
});
|
|
11518
|
-
var StyledText = styled(Text)
|
|
11519
|
-
displayName: "CoreTag__StyledText",
|
|
11520
|
-
componentId: "sc-1bfj6gr-1"
|
|
11521
|
-
})(["font-weight:700;color:", ";font-size:14px;line-height:20px;"], function (_ref7) {
|
|
11293
|
+
var StyledText = styled(Text)(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteral(["\n font-weight: 700;\n color: ", ";\n font-size: 14px;\n line-height: 20px;\n"])), function (_ref7) {
|
|
11522
11294
|
var theme = _ref7.theme,
|
|
11523
11295
|
active = _ref7.active,
|
|
11524
11296
|
color = _ref7.color;
|
|
@@ -11606,21 +11378,16 @@ var Icon$M = function Icon(props) {
|
|
|
11606
11378
|
}));
|
|
11607
11379
|
};
|
|
11608
11380
|
|
|
11609
|
-
var
|
|
11610
|
-
var
|
|
11611
|
-
|
|
11612
|
-
componentId: "sc-1wgci3j-0"
|
|
11613
|
-
})(["position:relative;height:", "px;width:", "px;"], function (_ref) {
|
|
11381
|
+
var _templateObject$1g, _templateObject2$N, _templateObject3$D;
|
|
11382
|
+
var rotate = styled.keyframes(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
11383
|
+
var Container$6 = styled.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteral(["\n position: relative;\n height: ", "px;\n width: ", "px;\n"])), function (_ref) {
|
|
11614
11384
|
var size = _ref.size;
|
|
11615
11385
|
return size;
|
|
11616
11386
|
}, function (_ref2) {
|
|
11617
11387
|
var size = _ref2.size;
|
|
11618
11388
|
return size;
|
|
11619
11389
|
});
|
|
11620
|
-
var RotatingSpinnerIcon = styled(Icon$M)
|
|
11621
|
-
displayName: "Spinner__RotatingSpinnerIcon",
|
|
11622
|
-
componentId: "sc-1wgci3j-1"
|
|
11623
|
-
})(["position:absolute;top:0;left:0;animation:", " 2s linear infinite;transform:translate3d(0,0,0);"], rotate);
|
|
11390
|
+
var RotatingSpinnerIcon = styled(Icon$M)(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n animation: ", " 2s linear infinite;\n transform: translate3d(0, 0, 0);\n"])), rotate);
|
|
11624
11391
|
var Spinner = function Spinner(_ref3) {
|
|
11625
11392
|
var _ref3$size = _ref3.size,
|
|
11626
11393
|
size = _ref3$size === void 0 ? 128 : _ref3$size;
|
|
@@ -11632,25 +11399,14 @@ var Spinner = function Spinner(_ref3) {
|
|
|
11632
11399
|
});
|
|
11633
11400
|
};
|
|
11634
11401
|
|
|
11635
|
-
var
|
|
11636
|
-
|
|
11637
|
-
componentId: "sc-1c4vjp9-0"
|
|
11638
|
-
})(["width:100%;height:100%;overflow:auto;", ""], function (_ref) {
|
|
11402
|
+
var _templateObject$1f, _templateObject2$M, _templateObject3$C, _templateObject4$u;
|
|
11403
|
+
var StyledContainer = styled.div(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n overflow: auto;\n ", "\n"])), function (_ref) {
|
|
11639
11404
|
var loader = _ref.loader;
|
|
11640
11405
|
return loader && "\n display: flex;\n justify-content: center;\n align-items: center;\n ";
|
|
11641
11406
|
});
|
|
11642
|
-
var StyledItem = styled.div.
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
})(["display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(55,55,73,0.3);padding-top:8px;padding-bottom:8px;"]);
|
|
11646
|
-
var StyledLabel = styled(Text).withConfig({
|
|
11647
|
-
displayName: "List__StyledLabel",
|
|
11648
|
-
componentId: "sc-1c4vjp9-2"
|
|
11649
|
-
})(["opacity:0.55;"]);
|
|
11650
|
-
var ListWrapper = styled.div.withConfig({
|
|
11651
|
-
displayName: "List__ListWrapper",
|
|
11652
|
-
componentId: "sc-1c4vjp9-3"
|
|
11653
|
-
})(["display:flex;height:", ";"], function (_ref2) {
|
|
11407
|
+
var StyledItem = styled.div(_templateObject2$M || (_templateObject2$M = _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"])));
|
|
11408
|
+
var StyledLabel = styled(Text)(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteral(["\n opacity: 0.55;\n"])));
|
|
11409
|
+
var ListWrapper = styled.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteral(["\n display: flex;\n height: ", ";\n"])), function (_ref2) {
|
|
11654
11410
|
var customHeight = _ref2.customHeight;
|
|
11655
11411
|
return customHeight ? "".concat(customHeight, "px") : "100%";
|
|
11656
11412
|
});
|
|
@@ -11713,19 +11469,14 @@ var List = function List(_ref3) {
|
|
|
11713
11469
|
});
|
|
11714
11470
|
};
|
|
11715
11471
|
|
|
11716
|
-
var
|
|
11717
|
-
|
|
11718
|
-
componentId: "sc-1wd61gz-0"
|
|
11719
|
-
})(["position:absolute;top:0;left:0;background-color:", ";border-top-left-radius:32px;border-bottom-left-radius:32px;height:16px;transition:width 200ms ease;"], function (props) {
|
|
11472
|
+
var _templateObject$1e, _templateObject2$L;
|
|
11473
|
+
var Bar = styled.div(_templateObject$1e || (_templateObject$1e = _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) {
|
|
11720
11474
|
return props.primary ? props.theme.colors.secondary : "".concat(props.theme.colors.secondary, "80");
|
|
11721
11475
|
});
|
|
11722
11476
|
Bar.defaultProps = {
|
|
11723
11477
|
primary: false
|
|
11724
11478
|
};
|
|
11725
|
-
var StyledProgress = styled.div
|
|
11726
|
-
displayName: "StyledProgress",
|
|
11727
|
-
componentId: "sc-1wd61gz-1"
|
|
11728
|
-
})(["position:relative;background-color:", ";border-radius:32px;box-shadow:", ";height:16px;overflow:hidden;"], function (_ref) {
|
|
11479
|
+
var StyledProgress = styled.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteral(["\n position: relative;\n background-color: ", ";\n border-radius: 32px;\n box-shadow: ", ";\n height: 16px;\n overflow: hidden;\n"])), function (_ref) {
|
|
11729
11480
|
var theme = _ref.theme;
|
|
11730
11481
|
return theme.colors.input;
|
|
11731
11482
|
}, function (_ref2) {
|
|
@@ -11733,10 +11484,8 @@ var StyledProgress = styled.div.withConfig({
|
|
|
11733
11484
|
return theme.shadows.inset;
|
|
11734
11485
|
});
|
|
11735
11486
|
|
|
11736
|
-
var
|
|
11737
|
-
|
|
11738
|
-
componentId: "sc-12wvu5w-0"
|
|
11739
|
-
})(["display:flex;z-index:2;top:-65%;position:absolute;transform:translate(-50%,-50%);transition:left 200ms ease-out;"]);
|
|
11487
|
+
var _templateObject$1d;
|
|
11488
|
+
var ProgressBunnyWrapper = styled.div(_templateObject$1d || (_templateObject$1d = _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"])));
|
|
11740
11489
|
|
|
11741
11490
|
var stepGuard = function stepGuard(step) {
|
|
11742
11491
|
if (step < 0) {
|
|
@@ -11783,12 +11532,10 @@ var variant = {
|
|
|
11783
11532
|
};
|
|
11784
11533
|
|
|
11785
11534
|
var _excluded$6 = ["variant", "animation"];
|
|
11786
|
-
var
|
|
11787
|
-
var
|
|
11788
|
-
var
|
|
11789
|
-
|
|
11790
|
-
componentId: "sc-20824z-0"
|
|
11791
|
-
})(["min-height:20px;display:block;background-color:", ";border-radius:", ";", " ", ""], function (_ref) {
|
|
11535
|
+
var _templateObject$1c, _templateObject2$K, _templateObject3$B, _templateObject4$t, _templateObject5$r;
|
|
11536
|
+
var waves = styled.keyframes(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteral(["\n from {\n left: -150px;\n }\n to {\n left: 100%;\n }\n"])));
|
|
11537
|
+
var pulse = styled.keyframes(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteral(["\n 0% {\n opacity: 1;\n }\n 50% {\n opacity: 0.4;\n }\n 100% {\n opacity: 1;\n }\n"])));
|
|
11538
|
+
var Root = styled.div(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteral(["\n min-height: 20px;\n display: block;\n background-color: ", ";\n border-radius: ", ";\n\n ", "\n ", "\n"])), function (_ref) {
|
|
11792
11539
|
var theme = _ref.theme;
|
|
11793
11540
|
return theme.colors.backgroundDisabled;
|
|
11794
11541
|
}, function (_ref2) {
|
|
@@ -11796,14 +11543,8 @@ var Root = styled.div.withConfig({
|
|
|
11796
11543
|
theme = _ref2.theme;
|
|
11797
11544
|
return variant$1 === variant.CIRCLE ? theme.radii.circle : theme.radii.small;
|
|
11798
11545
|
}, styledSystem.layout, styledSystem.space);
|
|
11799
|
-
var Pulse = styled(Root)
|
|
11800
|
-
|
|
11801
|
-
componentId: "sc-20824z-1"
|
|
11802
|
-
})(["animation:", " 2s infinite ease-out;transform:translate3d(0,0,0);"], pulse);
|
|
11803
|
-
var Waves = styled(Root).withConfig({
|
|
11804
|
-
displayName: "Skeleton__Waves",
|
|
11805
|
-
componentId: "sc-20824z-2"
|
|
11806
|
-
})(["position:relative;overflow:hidden;transform:translate3d(0,0,0);display:flex;justify-content:center;align-items:center;&:before{content:\"\";position:absolute;background-image:linear-gradient(90deg,transparent,rgba(243,243,243,0.5),transparent);top:0;left:-150px;height:100%;width:150px;animation:", " 2s cubic-bezier(0.4,0,0.2,1) infinite;}"], waves);
|
|
11546
|
+
var Pulse = styled(Root)(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteral(["\n animation: ", " 2s infinite ease-out;\n transform: translate3d(0, 0, 0);\n"])), pulse);
|
|
11547
|
+
var Waves = styled(Root)(_templateObject5$r || (_templateObject5$r = _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);
|
|
11807
11548
|
var Skeleton = function Skeleton(_ref3) {
|
|
11808
11549
|
var _ref3$variant = _ref3.variant,
|
|
11809
11550
|
variant$1 = _ref3$variant === void 0 ? variant.RECT : _ref3$variant,
|
|
@@ -11821,14 +11562,9 @@ var Skeleton = function Skeleton(_ref3) {
|
|
|
11821
11562
|
};
|
|
11822
11563
|
|
|
11823
11564
|
var _excluded$5 = ["text"];
|
|
11824
|
-
var
|
|
11825
|
-
|
|
11826
|
-
|
|
11827
|
-
})(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:11px 27px;border-radius:10px;background-color:rgb(43,43,56);#open-new{width:13.25px;height:13.25px;}"]);
|
|
11828
|
-
var DetailsContainer = styled.div.withConfig({
|
|
11829
|
-
displayName: "SwapButton__DetailsContainer",
|
|
11830
|
-
componentId: "sc-1ofv4rm-1"
|
|
11831
|
-
})(["display:flex;align-items:center;*{margin-right:10px;}"]);
|
|
11565
|
+
var _templateObject$1b, _templateObject2$J;
|
|
11566
|
+
var StyledButton = styled(Button$1)(_templateObject$1b || (_templateObject$1b = _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"])));
|
|
11567
|
+
var DetailsContainer = styled.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n\n * {\n margin-right: 10px;\n }\n"])));
|
|
11832
11568
|
var SwapButton = function SwapButton(_ref) {
|
|
11833
11569
|
var _ref$text = _ref.text,
|
|
11834
11570
|
text = _ref$text === void 0 ? "Token info page" : _ref$text,
|
|
@@ -12540,10 +12276,8 @@ var lightTheme = _objectSpread2(_objectSpread2({}, base), {}, {
|
|
|
12540
12276
|
tooltip: light
|
|
12541
12277
|
});
|
|
12542
12278
|
|
|
12543
|
-
var
|
|
12544
|
-
|
|
12545
|
-
componentId: "sc-1phywr3-0"
|
|
12546
|
-
})(["width:8px;height:8px;background:", ";border-radius:50%;margin:auto;box-shadow:", ";@media (max-width:576px){margin:0;}"], function (_ref) {
|
|
12279
|
+
var _templateObject$1a;
|
|
12280
|
+
var TableActiveDot = styled.div(_templateObject$1a || (_templateObject$1a = _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) {
|
|
12547
12281
|
var actionActive = _ref.actionActive;
|
|
12548
12282
|
return actionActive ? "#12FFB8" : "#373749";
|
|
12549
12283
|
}, function (_ref2) {
|
|
@@ -12551,10 +12285,8 @@ var TableActiveDot = styled.div.withConfig({
|
|
|
12551
12285
|
return actionActive ? "0px 0px 14px 3px rgba(18, 255, 184, 0.17)" : "none";
|
|
12552
12286
|
});
|
|
12553
12287
|
|
|
12554
|
-
var
|
|
12555
|
-
|
|
12556
|
-
componentId: "sc-qzdbwn-0"
|
|
12557
|
-
})(["position:relative;width:calc(100% - 60px);height:", ";margin:", " 30px 0 30px;padding:", ";display:flex;align-items:center;justify-content:center;flex-direction:column;border-radius:", ";border:", ";border-bottom:", ";background:", ";@media (max-width:576px){min-height:59px;width:calc(100% - 16px);margin:", " 8px 0 8px;}"], function (_ref) {
|
|
12288
|
+
var _templateObject$19, _templateObject2$I, _templateObject3$A, _templateObject4$s, _templateObject5$q;
|
|
12289
|
+
var StyledRow = styled.div(_templateObject$19 || (_templateObject$19 = _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) {
|
|
12558
12290
|
var active = _ref.active;
|
|
12559
12291
|
return active ? "auto" : "77.5px";
|
|
12560
12292
|
}, function (_ref2) {
|
|
@@ -12580,22 +12312,10 @@ var StyledRow = styled.div.withConfig({
|
|
|
12580
12312
|
var active = _ref8.active;
|
|
12581
12313
|
return active ? "5.5px" : "0px";
|
|
12582
12314
|
});
|
|
12583
|
-
var StyledTableChildren = styled(GridLayout$1).
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
var StyledTableDetails = styled(GridLayout$1).withConfig({
|
|
12588
|
-
displayName: "TableRow__StyledTableDetails",
|
|
12589
|
-
componentId: "sc-qzdbwn-2"
|
|
12590
|
-
})(["padding:13px;width:100%;height:100%;display:flex;flex-direction:column;"]);
|
|
12591
|
-
var ToggleContainer = styled.div.withConfig({
|
|
12592
|
-
displayName: "TableRow__ToggleContainer",
|
|
12593
|
-
componentId: "sc-qzdbwn-3"
|
|
12594
|
-
})(["grid-column:span 1 / -1;cursor:pointer;margin-right:19px;@media (max-width:576px){position:absolute;right:0;margin-right:10px;}"]);
|
|
12595
|
-
var DotContainer = styled.div.withConfig({
|
|
12596
|
-
displayName: "TableRow__DotContainer",
|
|
12597
|
-
componentId: "sc-qzdbwn-4"
|
|
12598
|
-
})(["grid-column:span 1;@media (max-width:576px){margin-left:10px;}"]);
|
|
12315
|
+
var StyledTableChildren = styled(GridLayout$1)(_templateObject2$I || (_templateObject2$I = _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"])));
|
|
12316
|
+
var StyledTableDetails = styled(GridLayout$1)(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteral(["\n padding: 13px;\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n"])));
|
|
12317
|
+
var ToggleContainer = styled.div(_templateObject4$s || (_templateObject4$s = _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"])));
|
|
12318
|
+
var DotContainer = styled.div(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteral(["\n grid-column: span 1;\n @media (max-width: 576px) {\n margin-left: 10px;\n }\n"])));
|
|
12599
12319
|
var TableRow = function TableRow(_ref9) {
|
|
12600
12320
|
var children = _ref9.children,
|
|
12601
12321
|
details = _ref9.details,
|
|
@@ -12633,18 +12353,10 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12633
12353
|
});
|
|
12634
12354
|
};
|
|
12635
12355
|
|
|
12636
|
-
var
|
|
12637
|
-
|
|
12638
|
-
|
|
12639
|
-
|
|
12640
|
-
var DescriptionRow = styled.div.withConfig({
|
|
12641
|
-
displayName: "LiquidityContainer__DescriptionRow",
|
|
12642
|
-
componentId: "sc-wsy021-1"
|
|
12643
|
-
})(["display:flex;flex-direction:row;align-items:center;"]);
|
|
12644
|
-
var Container$5 = styled.div.withConfig({
|
|
12645
|
-
displayName: "LiquidityContainer__Container",
|
|
12646
|
-
componentId: "sc-wsy021-2"
|
|
12647
|
-
})(["height:100%;padding:17px;display:flex;flex-direction:column;justify-content:space-between;align-items:space-around;grid-column:span ", ";border:1px solid rgba(255,255,255,0.1);border-radius:10px;svg{margin-left:0;}"], function (_ref) {
|
|
12356
|
+
var _templateObject$18, _templateObject2$H, _templateObject3$z;
|
|
12357
|
+
var LiquidityWrapper = styled.div(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteral(["\n padding-right: 4px;\n width: 100%;\n"])));
|
|
12358
|
+
var DescriptionRow = styled.div(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n"])));
|
|
12359
|
+
var Container$5 = styled.div(_templateObject3$z || (_templateObject3$z = _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) {
|
|
12648
12360
|
var grid = _ref.grid;
|
|
12649
12361
|
return grid;
|
|
12650
12362
|
});
|
|
@@ -12676,10 +12388,8 @@ var LiquidityContainer = function LiquidityContainer(_ref2) {
|
|
|
12676
12388
|
});
|
|
12677
12389
|
};
|
|
12678
12390
|
|
|
12679
|
-
var
|
|
12680
|
-
|
|
12681
|
-
componentId: "sc-1t71h7-0"
|
|
12682
|
-
})(["width:100%;padding:", ";display:flex;flex-direction:column;justify-content:space-between;align-items:space-around;grid-column:span ", ";border:", ";border-radius:10px;svg{margin-left:0;}"], function (_ref) {
|
|
12391
|
+
var _templateObject$17, _templateObject2$G, _templateObject3$y;
|
|
12392
|
+
var Container$4 = styled.div(_templateObject$17 || (_templateObject$17 = _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) {
|
|
12683
12393
|
var mobile = _ref.mobile;
|
|
12684
12394
|
return mobile ? "0px" : "17px";
|
|
12685
12395
|
}, function (_ref2) {
|
|
@@ -12689,17 +12399,11 @@ var Container$4 = styled.div.withConfig({
|
|
|
12689
12399
|
var mobile = _ref3.mobile;
|
|
12690
12400
|
return mobile ? "none" : "1px solid rgba(255, 255, 255, 0.1)";
|
|
12691
12401
|
});
|
|
12692
|
-
var TokenValueWrapper = styled.div
|
|
12693
|
-
displayName: "TableActionBox__TokenValueWrapper",
|
|
12694
|
-
componentId: "sc-1t71h7-1"
|
|
12695
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:", ";"], function (_ref4) {
|
|
12402
|
+
var TokenValueWrapper = styled.div(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: ", ";\n"])), function (_ref4) {
|
|
12696
12403
|
var mobile = _ref4.mobile;
|
|
12697
12404
|
return mobile ? "flex-start" : "space-between";
|
|
12698
12405
|
});
|
|
12699
|
-
var ActionsWrapper = styled.div
|
|
12700
|
-
displayName: "TableActionBox__ActionsWrapper",
|
|
12701
|
-
componentId: "sc-1t71h7-2"
|
|
12702
|
-
})(["display:flex;flex-direction:row;margin-top:4px;width:100%;justify-content:space-between;"]);
|
|
12406
|
+
var ActionsWrapper = styled.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n margin-top: 4px;\n width: 100%;\n justify-content: space-between;\n"])));
|
|
12703
12407
|
var TableActionBox = function TableActionBox(_ref5) {
|
|
12704
12408
|
var title = _ref5.title,
|
|
12705
12409
|
value = _ref5.value,
|
|
@@ -12759,30 +12463,15 @@ var getNumberedDifference = function getNumberedDifference(differenceToConvert)
|
|
|
12759
12463
|
return 0;
|
|
12760
12464
|
};
|
|
12761
12465
|
|
|
12762
|
-
|
|
12763
|
-
var ValueBox = styled.div
|
|
12764
|
-
|
|
12765
|
-
|
|
12766
|
-
|
|
12767
|
-
var IconColumn = styled.div.withConfig({
|
|
12768
|
-
displayName: "Value__IconColumn",
|
|
12769
|
-
componentId: "sc-2a5tiq-1"
|
|
12770
|
-
})(["width:auto;padding-right:10px;padding-top:1px;"]);
|
|
12771
|
-
var InfoColumn = styled.div.withConfig({
|
|
12772
|
-
displayName: "Value__InfoColumn",
|
|
12773
|
-
componentId: "sc-2a5tiq-2"
|
|
12774
|
-
})(["display:flex;flex-direction:column;"]);
|
|
12775
|
-
var PairContainer = styled.div.withConfig({
|
|
12776
|
-
displayName: "Value__PairContainer",
|
|
12777
|
-
componentId: "sc-2a5tiq-3"
|
|
12778
|
-
})(["width:100%;display:flex;margin-bottom:5px;align-items:center;flex-direction:", ";"], function (_ref) {
|
|
12466
|
+
var _templateObject$16, _templateObject2$F, _templateObject3$x, _templateObject4$r, _templateObject5$p;
|
|
12467
|
+
var ValueBox = styled.div(_templateObject$16 || (_templateObject$16 = _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"])));
|
|
12468
|
+
var IconColumn = styled.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteral(["\n width: auto;\n padding-right: 10px;\n padding-top: 1px;\n"])));
|
|
12469
|
+
var InfoColumn = styled.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
12470
|
+
var PairContainer = styled.div(_templateObject4$r || (_templateObject4$r = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n margin-bottom: 5px;\n align-items: center;\n flex-direction: ", ";\n"])), function (_ref) {
|
|
12779
12471
|
var mobile = _ref.mobile;
|
|
12780
12472
|
return mobile ? "column" : "row";
|
|
12781
12473
|
});
|
|
12782
|
-
var ValueRow = styled.div
|
|
12783
|
-
displayName: "Value__ValueRow",
|
|
12784
|
-
componentId: "sc-2a5tiq-4"
|
|
12785
|
-
})(["width:100%;"]);
|
|
12474
|
+
var ValueRow = styled.div(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteral(["\n width: 100%;\n"])));
|
|
12786
12475
|
var Value = function Value(_ref2) {
|
|
12787
12476
|
var coin = _ref2.coin,
|
|
12788
12477
|
value = _ref2.value,
|
|
@@ -12836,14 +12525,9 @@ var Value = function Value(_ref2) {
|
|
|
12836
12525
|
});
|
|
12837
12526
|
};
|
|
12838
12527
|
|
|
12839
|
-
var
|
|
12840
|
-
|
|
12841
|
-
|
|
12842
|
-
})(["background:transparent;color:white;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;width:100%;"]);
|
|
12843
|
-
var DifferenceBox = styled.div.withConfig({
|
|
12844
|
-
displayName: "ValueFull__DifferenceBox",
|
|
12845
|
-
componentId: "sc-ig82wo-1"
|
|
12846
|
-
})(["display:flex;justify-content:flex-start;align-items:center;height:24px;"]);
|
|
12528
|
+
var _templateObject$15, _templateObject2$E;
|
|
12529
|
+
var ValueFullBox = styled.div(_templateObject$15 || (_templateObject$15 = _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"])));
|
|
12530
|
+
var DifferenceBox = styled.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: center;\n height: 24px;\n"])));
|
|
12847
12531
|
var ValueFull = function ValueFull(_ref) {
|
|
12848
12532
|
var value = _ref.value,
|
|
12849
12533
|
difference = _ref.difference;
|
|
@@ -12874,10 +12558,8 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12874
12558
|
});
|
|
12875
12559
|
};
|
|
12876
12560
|
|
|
12877
|
-
var
|
|
12878
|
-
|
|
12879
|
-
componentId: "sc-o09b6h-0"
|
|
12880
|
-
})(["position:absolute;right:20px;bottom:20px;color:", ";opacity:0.6;font-size:12px;"], function (_ref) {
|
|
12561
|
+
var _templateObject$14;
|
|
12562
|
+
var VContainer = styled.div(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteral(["\n position: absolute;\n right: 20px;\n bottom: 20px;\n color: ", ";\n opacity: 0.6;\n font-size: 12px;\n"])), function (_ref) {
|
|
12881
12563
|
var theme = _ref.theme;
|
|
12882
12564
|
return theme.colors.secondaryText;
|
|
12883
12565
|
});
|
|
@@ -12888,44 +12570,24 @@ var VersionContainer = function VersionContainer(_ref2) {
|
|
|
12888
12570
|
});
|
|
12889
12571
|
};
|
|
12890
12572
|
|
|
12891
|
-
var
|
|
12892
|
-
|
|
12893
|
-
|
|
12894
|
-
|
|
12895
|
-
var
|
|
12896
|
-
displayName: "SpacePadProgressBar__ProgressDataRow",
|
|
12897
|
-
componentId: "sc-ri8846-1"
|
|
12898
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;"]);
|
|
12899
|
-
var ProgressBarWrapper = styled.div.withConfig({
|
|
12900
|
-
displayName: "SpacePadProgressBar__ProgressBarWrapper",
|
|
12901
|
-
componentId: "sc-ri8846-2"
|
|
12902
|
-
})(["position:relative;width:100%;height:8px;background:#272730;display:flex;justify-content:flex-start;align-items:center;border-radius:4px;box-sizing:border-box;"]);
|
|
12903
|
-
var ProgressBar = styled.div.withConfig({
|
|
12904
|
-
displayName: "SpacePadProgressBar__ProgressBar",
|
|
12905
|
-
componentId: "sc-ri8846-3"
|
|
12906
|
-
})(["position:relative;height:100%;width:", "%;background:", ";border-radius:4px;"], function (_ref) {
|
|
12573
|
+
var _templateObject$13, _templateObject2$D, _templateObject3$w, _templateObject4$q, _templateObject5$o, _templateObject6$h, _templateObject7$d;
|
|
12574
|
+
var ProgressDataColumn = styled.div(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n"])));
|
|
12575
|
+
var ProgressDataRow = styled.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
12576
|
+
var ProgressBarWrapper = styled.div(_templateObject3$w || (_templateObject3$w = _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"])));
|
|
12577
|
+
var ProgressBar = styled.div(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n background: ", ";\n border-radius: 4px;\n"])), function (_ref) {
|
|
12907
12578
|
var width = _ref.width;
|
|
12908
12579
|
return width;
|
|
12909
12580
|
}, function (_ref2) {
|
|
12910
12581
|
var theme = _ref2.theme;
|
|
12911
12582
|
return theme.colors.primary;
|
|
12912
12583
|
});
|
|
12913
|
-
var ProgressDescription = styled(Text)
|
|
12914
|
-
displayName: "SpacePadProgressBar__ProgressDescription",
|
|
12915
|
-
componentId: "sc-ri8846-4"
|
|
12916
|
-
})(["font-weight:600;font-size:18px;line-height:170%;color:", ";margin-bottom:8px;"], function (_ref3) {
|
|
12584
|
+
var ProgressDescription = styled(Text)(_templateObject5$o || (_templateObject5$o = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 18px;\n line-height: 170%;\n color: ", ";\n margin-bottom: 8px;\n"])), function (_ref3) {
|
|
12917
12585
|
var theme = _ref3.theme,
|
|
12918
12586
|
color = _ref3.color;
|
|
12919
12587
|
return color || theme.colors.white;
|
|
12920
12588
|
});
|
|
12921
|
-
var CapDescription = styled(Text)
|
|
12922
|
-
|
|
12923
|
-
componentId: "sc-ri8846-5"
|
|
12924
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;color:#818c92;margin-top:4px;"]);
|
|
12925
|
-
var StyledCapRow = styled.div.withConfig({
|
|
12926
|
-
displayName: "SpacePadProgressBar__StyledCapRow",
|
|
12927
|
-
componentId: "sc-ri8846-6"
|
|
12928
|
-
})(["display:flex;"]);
|
|
12589
|
+
var CapDescription = styled(Text)(_templateObject6$h || (_templateObject6$h = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n color: #818c92;\n margin-top: 4px;\n"])));
|
|
12590
|
+
var StyledCapRow = styled.div(_templateObject7$d || (_templateObject7$d = _taggedTemplateLiteral(["\n display: flex;\n"])));
|
|
12929
12591
|
var SpacePadProgressBar = function SpacePadProgressBar(_ref4) {
|
|
12930
12592
|
var _ref4$currentCap = _ref4.currentCap,
|
|
12931
12593
|
currentCap = _ref4$currentCap === void 0 ? 70 : _ref4$currentCap,
|
|
@@ -12969,38 +12631,24 @@ var SpacePadProgressBar = function SpacePadProgressBar(_ref4) {
|
|
|
12969
12631
|
});
|
|
12970
12632
|
};
|
|
12971
12633
|
|
|
12972
|
-
var
|
|
12973
|
-
|
|
12974
|
-
|
|
12975
|
-
})(["display:flex;height:94px;justify-content:flex-start;align-items:center;flex-direction:row;"]);
|
|
12976
|
-
var ProjectImage = styled.div.withConfig({
|
|
12977
|
-
displayName: "SpaceProjectName__ProjectImage",
|
|
12978
|
-
componentId: "sc-1lzbjkk-1"
|
|
12979
|
-
})(["display:flex;width:46px;height:46px;margin-right:34px;border-radius:50%;justify-content:center;align-items:center;", "{margin-right:12px;}"], function (_ref) {
|
|
12634
|
+
var _templateObject$12, _templateObject2$C, _templateObject3$v, _templateObject4$p, _templateObject5$n;
|
|
12635
|
+
var MainWrapper$1 = styled.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteral(["\n display: flex;\n height: 94px;\n justify-content: flex-start;\n align-items: center;\n flex-direction: row;\n"])));
|
|
12636
|
+
var ProjectImage = styled.div(_templateObject2$C || (_templateObject2$C = _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) {
|
|
12980
12637
|
var theme = _ref.theme;
|
|
12981
12638
|
return theme.mediaQueries.mobile;
|
|
12982
12639
|
});
|
|
12983
|
-
var ProjectName$1 = styled.div
|
|
12984
|
-
displayName: "SpaceProjectName__ProjectName",
|
|
12985
|
-
componentId: "sc-1lzbjkk-2"
|
|
12986
|
-
})(["display:flex;margin-right:8px;justify-content:center;align-items:flex-end;font-size:26px;font-weight:bold;color:", ";", "{margin-bottom:6px;}"], function (_ref2) {
|
|
12640
|
+
var ProjectName$1 = styled.div(_templateObject3$v || (_templateObject3$v = _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) {
|
|
12987
12641
|
var theme = _ref2.theme;
|
|
12988
12642
|
return theme.colors.white;
|
|
12989
12643
|
}, function (_ref3) {
|
|
12990
12644
|
var theme = _ref3.theme;
|
|
12991
12645
|
return theme.mediaQueries.mobile;
|
|
12992
12646
|
});
|
|
12993
|
-
var ProjectFullName = styled.div.
|
|
12994
|
-
displayName: "SpaceProjectName__ProjectFullName",
|
|
12995
|
-
componentId: "sc-1lzbjkk-3"
|
|
12996
|
-
})(["display:flex;align-items:flex-end;justify-content:center;color:", ";letter-spacing:0.03rem;font-size:14px;"], function (_ref4) {
|
|
12647
|
+
var ProjectFullName = styled.div(_templateObject4$p || (_templateObject4$p = _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) {
|
|
12997
12648
|
var theme = _ref4.theme;
|
|
12998
12649
|
return theme.colors.white55;
|
|
12999
12650
|
});
|
|
13000
|
-
var ProjectDetails = styled.div
|
|
13001
|
-
displayName: "SpaceProjectName__ProjectDetails",
|
|
13002
|
-
componentId: "sc-1lzbjkk-4"
|
|
13003
|
-
})(["display:flex;align-items:flex-end;justify-content:flex-start;", "{flex-direction:column;align-items:flex-start;}"], function (_ref5) {
|
|
12651
|
+
var ProjectDetails = styled.div(_templateObject5$n || (_templateObject5$n = _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) {
|
|
13004
12652
|
var theme = _ref5.theme;
|
|
13005
12653
|
return theme.mediaQueries.mobile;
|
|
13006
12654
|
});
|
|
@@ -13374,15 +13022,11 @@ var connectors = [{
|
|
|
13374
13022
|
}];
|
|
13375
13023
|
var connectorLocalStorageKey = "connectorId";
|
|
13376
13024
|
|
|
13377
|
-
var
|
|
13378
|
-
|
|
13379
|
-
componentId: "sc-1jw25yf-0"
|
|
13380
|
-
})(["color:#818c92;line-height:23.8px;"]);
|
|
13025
|
+
var _templateObject$11;
|
|
13026
|
+
var AccountNumber = styled(Text)(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteral(["\n color: #818c92;\n line-height: 23.8px;\n"])));
|
|
13381
13027
|
|
|
13382
|
-
var
|
|
13383
|
-
|
|
13384
|
-
componentId: "sc-1bz6nuv-0"
|
|
13385
|
-
})(["display:flex;flex-direction:", ";align-items:center;justify-content:center;text-align:", ";"], function (_ref) {
|
|
13028
|
+
var _templateObject$10;
|
|
13029
|
+
var AccountNumberWrapper = styled.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: center;\n justify-content: center;\n text-align: ", ";\n"])), function (_ref) {
|
|
13386
13030
|
var isVerifiedUser = _ref.isVerifiedUser;
|
|
13387
13031
|
return !isVerifiedUser ? "column" : "row";
|
|
13388
13032
|
}, function (_ref2) {
|
|
@@ -13390,85 +13034,57 @@ var AccountNumberWrapper = styled.div.withConfig({
|
|
|
13390
13034
|
return textAlign && textAlign;
|
|
13391
13035
|
});
|
|
13392
13036
|
|
|
13393
|
-
var
|
|
13394
|
-
|
|
13395
|
-
componentId: "sc-s9bf1w-0"
|
|
13396
|
-
})(["position:absolute;width:100vw;height:100vh;background-color:black;opacity:0.4;left:0;top:0;z-index:11;"]);
|
|
13037
|
+
var _templateObject$$;
|
|
13038
|
+
var Background = styled.div(_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"])));
|
|
13397
13039
|
|
|
13398
|
-
var
|
|
13399
|
-
|
|
13400
|
-
componentId: "sc-1elsl0s-0"
|
|
13401
|
-
})(["padding-top:20px;"]);
|
|
13040
|
+
var _templateObject$_;
|
|
13041
|
+
var BottomRow = styled.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteral(["\n padding-top: 20px;\n"])));
|
|
13402
13042
|
|
|
13403
|
-
|
|
13404
|
-
|
|
13405
|
-
componentId: "sc-w1eu8g-0"
|
|
13406
|
-
})(["background:#383847;color:", ";width:85px;height:32px;font-size:14px;"], function (_ref) {
|
|
13043
|
+
var _templateObject$Z;
|
|
13044
|
+
styled(Button$1)(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteral(["\n background: #383847;\n color: ", ";\n width: 85px;\n height: 32px;\n font-size: 14px;\n"])), function (_ref) {
|
|
13407
13045
|
var theme = _ref.theme;
|
|
13408
13046
|
return theme.colors.white;
|
|
13409
13047
|
});
|
|
13410
13048
|
|
|
13411
|
-
var
|
|
13412
|
-
|
|
13413
|
-
|
|
13414
|
-
|
|
13415
|
-
|
|
13416
|
-
|
|
13417
|
-
|
|
13418
|
-
|
|
13419
|
-
|
|
13420
|
-
|
|
13421
|
-
var
|
|
13422
|
-
|
|
13423
|
-
|
|
13424
|
-
|
|
13425
|
-
|
|
13426
|
-
var fadeInAnimation = styled.keyframes(["0%{right:-357px;}100%{right:0;}"]);
|
|
13427
|
-
var ConnectWalletWrapper = styled.div.withConfig({
|
|
13428
|
-
displayName: "ConnectWalletWrapper",
|
|
13429
|
-
componentId: "sc-1oauz4x-0"
|
|
13430
|
-
})(["display:flex;flex-direction:column;width:357px;height:100vh;padding:24px;background:#191921;position:fixed;top:0%;right:0;animation:", " 0.4s;z-index:20;"], fadeInAnimation);
|
|
13431
|
-
|
|
13432
|
-
var LogoutButton = styled(Button$1).withConfig({
|
|
13433
|
-
displayName: "LogoutButton",
|
|
13434
|
-
componentId: "sc-ljmmm0-0"
|
|
13435
|
-
})(["display:flex;align-items:center;justify-content:center;background:#383847;color:", ";width:100%;font-weight:700;font-size:14px;"], function (_ref) {
|
|
13049
|
+
var _templateObject$Y;
|
|
13050
|
+
var CloseButton = styled(Icon$2m)(_templateObject$Y || (_templateObject$Y = _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"])));
|
|
13051
|
+
|
|
13052
|
+
var _templateObject$X;
|
|
13053
|
+
var ConnectedInfoWrapper = styled.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: 16px;\n"])));
|
|
13054
|
+
|
|
13055
|
+
var _templateObject$W;
|
|
13056
|
+
var ConnectedProvider = styled.div(_templateObject$W || (_templateObject$W = _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"])));
|
|
13057
|
+
|
|
13058
|
+
var _templateObject$V, _templateObject2$B;
|
|
13059
|
+
var fadeInAnimation = styled.keyframes(_templateObject$V || (_templateObject$V = _taggedTemplateLiteral(["\n 0% {\n right: -357px;\n }\n 100% {\n right: 0;\n }\n"])));
|
|
13060
|
+
var ConnectWalletWrapper = styled.div(_templateObject2$B || (_templateObject2$B = _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);
|
|
13061
|
+
|
|
13062
|
+
var _templateObject$U;
|
|
13063
|
+
var LogoutButton = styled(Button$1)(_templateObject$U || (_templateObject$U = _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) {
|
|
13436
13064
|
var theme = _ref.theme;
|
|
13437
13065
|
return theme.colors.white;
|
|
13438
13066
|
});
|
|
13439
13067
|
|
|
13440
|
-
var
|
|
13441
|
-
|
|
13442
|
-
|
|
13443
|
-
|
|
13444
|
-
|
|
13445
|
-
|
|
13446
|
-
|
|
13447
|
-
|
|
13448
|
-
|
|
13449
|
-
|
|
13450
|
-
var
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
|
|
13454
|
-
|
|
13455
|
-
var ProviderTitle = styled(Text).withConfig({
|
|
13456
|
-
displayName: "ProviderTitle",
|
|
13457
|
-
componentId: "sc-cz48yj-0"
|
|
13458
|
-
})(["font-weight:600;line-height:24px;margin-left:16px;"]);
|
|
13459
|
-
|
|
13460
|
-
var SettingsButton = styled(Button$1).withConfig({
|
|
13461
|
-
displayName: "SettingsButton",
|
|
13462
|
-
componentId: "sc-zhm3ih-0"
|
|
13463
|
-
})(["display:flex;align-items:center;justify-content:center;background:#383847;color:", ";width:100%;font-weight:700;font-size:14px;margin-bottom:16px;"], function (_ref) {
|
|
13068
|
+
var _templateObject$T;
|
|
13069
|
+
var MiddleRow = styled.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteral(["\n padding: 20px 0;\n border-bottom: 1px solid #252530;\n"])));
|
|
13070
|
+
|
|
13071
|
+
var _templateObject$S;
|
|
13072
|
+
var MyWallet = styled(Text)(_templateObject$S || (_templateObject$S = _taggedTemplateLiteral(["\n line-height: 28px;\n margin-left: 18px;\n"])));
|
|
13073
|
+
|
|
13074
|
+
var _templateObject$R;
|
|
13075
|
+
var MyWalletWrapper = styled.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"])));
|
|
13076
|
+
|
|
13077
|
+
var _templateObject$Q;
|
|
13078
|
+
var ProviderTitle = styled(Text)(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteral(["\n font-weight: 600;\n line-height: 24px;\n margin-left: 16px;\n"])));
|
|
13079
|
+
|
|
13080
|
+
var _templateObject$P;
|
|
13081
|
+
var SettingsButton = styled(Button$1)(_templateObject$P || (_templateObject$P = _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) {
|
|
13464
13082
|
var theme = _ref.theme;
|
|
13465
13083
|
return theme.colors.white;
|
|
13466
13084
|
});
|
|
13467
13085
|
|
|
13468
|
-
var
|
|
13469
|
-
|
|
13470
|
-
componentId: "sc-zlngw8-0"
|
|
13471
|
-
})(["width:100%;height:54px;display:flex;align-items:", ";justify-content:", ";border-bottom:1px solid #252530;position:relative;padding-bottom:20px;"], function (_ref) {
|
|
13086
|
+
var _templateObject$O;
|
|
13087
|
+
var UpperRow = styled.div(_templateObject$O || (_templateObject$O = _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) {
|
|
13472
13088
|
var alignItems = _ref.alignItems;
|
|
13473
13089
|
return alignItems && alignItems;
|
|
13474
13090
|
}, function (_ref2) {
|
|
@@ -13476,26 +13092,20 @@ var UpperRow = styled.div.withConfig({
|
|
|
13476
13092
|
return justifyContent && justifyContent;
|
|
13477
13093
|
});
|
|
13478
13094
|
|
|
13479
|
-
var
|
|
13480
|
-
|
|
13481
|
-
componentId: "sc-1jviz6b-0"
|
|
13482
|
-
})(["display:flex;align-items:center;justify-content:space-between;margin-top:", ";"], function (_ref) {
|
|
13095
|
+
var _templateObject$N;
|
|
13096
|
+
var VerificationInfo = styled.div(_templateObject$N || (_templateObject$N = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-top: ", ";\n"])), function (_ref) {
|
|
13483
13097
|
var marginTop = _ref.marginTop;
|
|
13484
13098
|
return marginTop && marginTop;
|
|
13485
13099
|
});
|
|
13486
13100
|
|
|
13487
|
-
var
|
|
13488
|
-
|
|
13489
|
-
componentId: "sc-1l4uhr0-0"
|
|
13490
|
-
})(["fill:", ";margin-right:8px;"], function (_ref) {
|
|
13101
|
+
var _templateObject$M;
|
|
13102
|
+
var VerifiedWalletIcon = styled(Icon$28)(_templateObject$M || (_templateObject$M = _taggedTemplateLiteral(["\n fill: ", ";\n margin-right: 8px;\n"])), function (_ref) {
|
|
13491
13103
|
var theme = _ref.theme;
|
|
13492
13104
|
return theme.colors.vividBlue;
|
|
13493
13105
|
});
|
|
13494
13106
|
|
|
13495
|
-
var
|
|
13496
|
-
|
|
13497
|
-
componentId: "sc-ipxejr-0"
|
|
13498
|
-
})(["height:72px;width:309px;display:flex;align-items:center;padding-left:32px;border-radius:10px;background:", ";margin-bottom:", ";border:1px solid transparent;&:hover{border:", ";cursor:pointer;}"], function (_ref) {
|
|
13107
|
+
var _templateObject$L;
|
|
13108
|
+
var Provider = styled.div(_templateObject$L || (_templateObject$L = _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) {
|
|
13499
13109
|
var theme = _ref.theme;
|
|
13500
13110
|
return theme.backgrounds.secondary;
|
|
13501
13111
|
}, function (_ref2) {
|
|
@@ -13550,10 +13160,8 @@ var Icon$F = function Icon(props) {
|
|
|
13550
13160
|
}));
|
|
13551
13161
|
};
|
|
13552
13162
|
|
|
13553
|
-
var
|
|
13554
|
-
|
|
13555
|
-
componentId: "sc-mzj27o-0"
|
|
13556
|
-
})(["line-height:24px;font-weight:400;color:#818c92;margin:16px 0;"]);
|
|
13163
|
+
var _templateObject$K;
|
|
13164
|
+
var ConnectDescription = styled(Text)(_templateObject$K || (_templateObject$K = _taggedTemplateLiteral(["\n line-height: 24px;\n font-weight: 400;\n color: #818c92;\n margin: 16px 0;\n"])));
|
|
13557
13165
|
var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
13558
13166
|
var handleLogin = _ref.handleLogin,
|
|
13559
13167
|
setIsConnectWalletPanelOpen = _ref.setIsConnectWalletPanelOpen,
|
|
@@ -13599,21 +13207,13 @@ var ConnectWallet$1 = function ConnectWallet(_ref) {
|
|
|
13599
13207
|
});
|
|
13600
13208
|
};
|
|
13601
13209
|
|
|
13602
|
-
var
|
|
13603
|
-
|
|
13604
|
-
componentId: "sc-ooxgfj-0"
|
|
13605
|
-
})(["color:", ";line-height:20.4px;"], function (_ref) {
|
|
13210
|
+
var _templateObject$J, _templateObject2$A, _templateObject3$u;
|
|
13211
|
+
var VerifyAddressIndicator$1 = styled(Text)(_templateObject$J || (_templateObject$J = _taggedTemplateLiteral(["\n color: ", ";\n line-height: 20.4px;\n"])), function (_ref) {
|
|
13606
13212
|
var theme = _ref.theme;
|
|
13607
13213
|
return theme.colors.red;
|
|
13608
13214
|
});
|
|
13609
|
-
var ConnectedInfo = styled(Text)
|
|
13610
|
-
|
|
13611
|
-
componentId: "sc-ooxgfj-1"
|
|
13612
|
-
})(["color:#818c92;"]);
|
|
13613
|
-
var VerifyButton = styled(Button$1).withConfig({
|
|
13614
|
-
displayName: "VerifyWallet__VerifyButton",
|
|
13615
|
-
componentId: "sc-ooxgfj-2"
|
|
13616
|
-
})(["font-size:14px;width:100%;margin:24px 0;"]);
|
|
13215
|
+
var ConnectedInfo = styled(Text)(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteral(["\n color: #818c92;\n"])));
|
|
13216
|
+
var VerifyButton = styled(Button$1)(_templateObject3$u || (_templateObject3$u = _taggedTemplateLiteral(["\n font-size: 14px;\n width: 100%;\n margin: 24px 0;\n"])));
|
|
13617
13217
|
var ConnectWallet = function ConnectWallet(_ref2) {
|
|
13618
13218
|
var account = _ref2.account,
|
|
13619
13219
|
setIsConnectWalletPanelOpen = _ref2.setIsConnectWalletPanelOpen;
|
|
@@ -14047,88 +13647,44 @@ var getTimeValue = function getTimeValue(value, timeUnit) {
|
|
|
14047
13647
|
return "".concat(value).concat(timeUnit);
|
|
14048
13648
|
};
|
|
14049
13649
|
|
|
14050
|
-
var
|
|
14051
|
-
|
|
14052
|
-
componentId: "sc-1kin2xe-0"
|
|
14053
|
-
})(["height:8px;width:8px;border-radius:50%;background:", ";margin-right:8px;", ""], function (_ref) {
|
|
13650
|
+
var _templateObject$I, _templateObject2$z, _templateObject3$t, _templateObject4$o, _templateObject5$m, _templateObject6$g, _templateObject7$c, _templateObject8$9, _templateObject9$8, _templateObject0$6, _templateObject1$6, _templateObject10$5, _templateObject11$5, _templateObject12$4, _templateObject13$2;
|
|
13651
|
+
var ActiveDot$1 = styled.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteral(["\n height: 8px;\n width: 8px;\n border-radius: 50%;\n background: ", ";\n margin-right: 8px;\n ", "\n"])), function (_ref) {
|
|
14054
13652
|
var dotColor = _ref.dotColor;
|
|
14055
13653
|
return dotColor;
|
|
14056
13654
|
}, function (_ref2) {
|
|
14057
13655
|
var fetchingData = _ref2.fetchingData;
|
|
14058
13656
|
return fetchingData && "\n transition: all 0.25s ease-in-out;\n animation: stretch 2s infinite;\n @keyframes stretch {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(0.9);\n }\n 50% {\n transform: scale(1.2);\n }\n 75% {\n transform: scale(0.9);\n }\n 100% {\n transform: scale(1);\n }\n }\n ";
|
|
14059
13657
|
});
|
|
14060
|
-
var ActivityDescription = styled(Text)
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
var
|
|
14065
|
-
displayName: "SpacePadComponents__ActivityWrapper",
|
|
14066
|
-
componentId: "sc-1kin2xe-2"
|
|
14067
|
-
})(["display:flex;position:absolute;right:15px;top:15px;"]);
|
|
14068
|
-
var ActivityComponent = styled.div.withConfig({
|
|
14069
|
-
displayName: "SpacePadComponents__ActivityComponent",
|
|
14070
|
-
componentId: "sc-1kin2xe-3"
|
|
14071
|
-
})(["display:flex;align-items:center;justify-content:space-between;padding:4px 8px;width:max-content;height:28px;background:rgba(55,55,73,0.5);backdrop-filter:blur(53px);border-radius:10px;margin-left:8px;"]);
|
|
14072
|
-
var ProjectNameColumn = styled.div.withConfig({
|
|
14073
|
-
displayName: "SpacePadComponents__ProjectNameColumn",
|
|
14074
|
-
componentId: "sc-1kin2xe-4"
|
|
14075
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:flex-start;"]);
|
|
14076
|
-
var ProjectName = styled(Text).withConfig({
|
|
14077
|
-
displayName: "SpacePadComponents__ProjectName",
|
|
14078
|
-
componentId: "sc-1kin2xe-5"
|
|
14079
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;", "{font-size:24px;}"], function (_ref3) {
|
|
13658
|
+
var ActivityDescription = styled(Text)(_templateObject2$z || (_templateObject2$z = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n width: max-content;\n"])));
|
|
13659
|
+
var ActivityWrapper = styled.div(_templateObject3$t || (_templateObject3$t = _taggedTemplateLiteral(["\n display: flex;\n position: absolute;\n right: 15px;\n top: 15px;\n"])));
|
|
13660
|
+
var ActivityComponent = styled.div(_templateObject4$o || (_templateObject4$o = _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"])));
|
|
13661
|
+
var ProjectNameColumn = styled.div(_templateObject5$m || (_templateObject5$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: flex-start;\n"])));
|
|
13662
|
+
var ProjectName = styled(Text)(_templateObject6$g || (_templateObject6$g = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n ", " {\n font-size: 24px;\n }\n"])), function (_ref3) {
|
|
14080
13663
|
var theme = _ref3.theme;
|
|
14081
13664
|
return theme.mediaQueries.mobile;
|
|
14082
13665
|
});
|
|
14083
|
-
var ProjectTicker = styled(Text).
|
|
14084
|
-
displayName: "SpacePadComponents__ProjectTicker",
|
|
14085
|
-
componentId: "sc-1kin2xe-6"
|
|
14086
|
-
})(["font-size:14px;line-height:170%;text-align:right;letter-spacing:0.03em;font-weight:bold;color:#535459;", ";"], function (_ref4) {
|
|
13666
|
+
var ProjectTicker = styled(Text)(_templateObject7$c || (_templateObject7$c = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 170%;\n text-align: right;\n letter-spacing: 0.03em;\n font-weight: bold;\n color: #535459;\n ", ";\n"])), function (_ref4) {
|
|
14087
13667
|
var customStyle = _ref4.customStyle;
|
|
14088
13668
|
return customStyle;
|
|
14089
13669
|
});
|
|
14090
|
-
var TimerDescription = styled(Text)
|
|
14091
|
-
|
|
14092
|
-
componentId: "sc-1kin2xe-7"
|
|
14093
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;color:#818c92;"]);
|
|
14094
|
-
var Timer = styled(Text).withConfig({
|
|
14095
|
-
displayName: "SpacePadComponents__Timer",
|
|
14096
|
-
componentId: "sc-1kin2xe-8"
|
|
14097
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;color:", ";", "{font-size:24px;}"], function (_ref5) {
|
|
13670
|
+
var TimerDescription = styled(Text)(_templateObject8$9 || (_templateObject8$9 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n color: #818c92;\n"])));
|
|
13671
|
+
var Timer = styled(Text)(_templateObject9$8 || (_templateObject9$8 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n ", " {\n font-size: 24px;\n }\n"])), function (_ref5) {
|
|
14098
13672
|
var isIncoming = _ref5.isIncoming;
|
|
14099
13673
|
return isIncoming ? "#FF7342" : "#12ffb8";
|
|
14100
13674
|
}, function (_ref6) {
|
|
14101
13675
|
var theme = _ref6.theme;
|
|
14102
13676
|
return theme.mediaQueries.mobile;
|
|
14103
13677
|
});
|
|
14104
|
-
var RatioColumn = styled.div
|
|
14105
|
-
|
|
14106
|
-
componentId: "sc-1kin2xe-9"
|
|
14107
|
-
})(["display:flex;flex-direction:column;align-items:flex-end;"]);
|
|
14108
|
-
var DetailsRow = styled.div.withConfig({
|
|
14109
|
-
displayName: "SpacePadComponents__DetailsRow",
|
|
14110
|
-
componentId: "sc-1kin2xe-10"
|
|
14111
|
-
})(["display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%;"]);
|
|
13678
|
+
var RatioColumn = styled.div(_templateObject0$6 || (_templateObject0$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n"])));
|
|
13679
|
+
var DetailsRow = styled.div(_templateObject1$6 || (_templateObject1$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n"])));
|
|
14112
13680
|
// Details components
|
|
14113
|
-
var SpaceInfoTableWrapper = styled.div
|
|
14114
|
-
|
|
14115
|
-
componentId: "sc-1kin2xe-11"
|
|
14116
|
-
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
14117
|
-
var SpaceInfoTableRow = styled.div.withConfig({
|
|
14118
|
-
displayName: "SpacePadComponents__SpaceInfoTableRow",
|
|
14119
|
-
componentId: "sc-1kin2xe-12"
|
|
14120
|
-
})(["display:flex;align-items:flex-start;justify-content:space-between;padding:11px 0px;border-bottom:", ";"], function (_ref7) {
|
|
13681
|
+
var SpaceInfoTableWrapper = styled.div(_templateObject10$5 || (_templateObject10$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"])));
|
|
13682
|
+
var SpaceInfoTableRow = styled.div(_templateObject11$5 || (_templateObject11$5 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n padding: 11px 0px;\n border-bottom: ", ";\n"])), function (_ref7) {
|
|
14121
13683
|
var underlined = _ref7.underlined;
|
|
14122
13684
|
return underlined && "1px solid #272730";
|
|
14123
13685
|
});
|
|
14124
|
-
var RowTitle = styled(Text)
|
|
14125
|
-
|
|
14126
|
-
componentId: "sc-1kin2xe-13"
|
|
14127
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;color:#818c92;"]);
|
|
14128
|
-
var RowValue = styled(Text).withConfig({
|
|
14129
|
-
displayName: "SpacePadComponents__RowValue",
|
|
14130
|
-
componentId: "sc-1kin2xe-14"
|
|
14131
|
-
})(["display:flex;flex-direction:column;font-weight:600;font-size:16px;line-height:24px;color:#ffffff;"]);
|
|
13686
|
+
var RowTitle = styled(Text)(_templateObject12$4 || (_templateObject12$4 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n color: #818c92;\n"])));
|
|
13687
|
+
var RowValue = styled(Text)(_templateObject13$2 || (_templateObject13$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n font-weight: 600;\n font-size: 16px;\n line-height: 24px;\n color: #ffffff;\n"])));
|
|
14132
13688
|
var SpacePadInfoRow = function SpacePadInfoRow(props) {
|
|
14133
13689
|
var title = props.title,
|
|
14134
13690
|
value = props.value,
|
|
@@ -14250,65 +13806,33 @@ var getPreciseRatio = function getPreciseRatio(ratio) {
|
|
|
14250
13806
|
return ratio.toString();
|
|
14251
13807
|
};
|
|
14252
13808
|
|
|
14253
|
-
var
|
|
14254
|
-
|
|
14255
|
-
|
|
14256
|
-
})(["display:flex;flex-direction:column;"]);
|
|
14257
|
-
var StyledDetailsHeader = styled.div.withConfig({
|
|
14258
|
-
displayName: "SpacePadProjectDetails__StyledDetailsHeader",
|
|
14259
|
-
componentId: "sc-18f4woi-1"
|
|
14260
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:100%;margin-bottom:32px;", "{flex-direction:column-reverse;align-items:flex-start;justify-content:space-between;margin-bottom:16px;}"], function (_ref) {
|
|
13809
|
+
var _templateObject$H, _templateObject2$y, _templateObject3$s, _templateObject4$n, _templateObject5$l, _templateObject6$f, _templateObject7$b, _templateObject8$8, _templateObject9$7, _templateObject0$5, _templateObject1$5;
|
|
13810
|
+
var SpacePadProjectDetailsWrapper = styled.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
13811
|
+
var StyledDetailsHeader = styled.div(_templateObject2$y || (_templateObject2$y = _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) {
|
|
14261
13812
|
var theme = _ref.theme;
|
|
14262
13813
|
return theme.mediaQueries.mobile;
|
|
14263
13814
|
});
|
|
14264
|
-
var StyledDetails = styled.div
|
|
14265
|
-
displayName: "SpacePadProjectDetails__StyledDetails",
|
|
14266
|
-
componentId: "sc-18f4woi-2"
|
|
14267
|
-
})(["display:grid;grid-template-columns:repeat(2,1fr);grid-gap:32px;height:max-content;", "{display:flex;flex-direction:column;}"], function (_ref2) {
|
|
13815
|
+
var StyledDetails = styled.div(_templateObject3$s || (_templateObject3$s = _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) {
|
|
14268
13816
|
var theme = _ref2.theme;
|
|
14269
13817
|
return theme.mediaQueries.mobile;
|
|
14270
13818
|
});
|
|
14271
|
-
var ProjectLogo$1 = styled.div
|
|
14272
|
-
displayName: "SpacePadProjectDetails__ProjectLogo",
|
|
14273
|
-
componentId: "sc-18f4woi-3"
|
|
14274
|
-
})(["display:flex;justify-content:center;align-items:center;width:80px;height:80px;border-radius:50%;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;border:3px solid #373749;overflow:hidden;margin-right:16px;"], function (_ref3) {
|
|
13819
|
+
var ProjectLogo$1 = styled.div(_templateObject4$n || (_templateObject4$n = _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) {
|
|
14275
13820
|
var background = _ref3.background;
|
|
14276
13821
|
return background;
|
|
14277
13822
|
});
|
|
14278
|
-
var TimerWrapper = styled.div
|
|
14279
|
-
displayName: "SpacePadProjectDetails__TimerWrapper",
|
|
14280
|
-
componentId: "sc-18f4woi-4"
|
|
14281
|
-
})(["position:relative;display:flex;flex-direction:row;align-items:center;", "{flex-direction:column;align-items:flex-start;margin-bottom:44px;}"], function (_ref4) {
|
|
13823
|
+
var TimerWrapper = styled.div(_templateObject5$l || (_templateObject5$l = _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) {
|
|
14282
13824
|
var theme = _ref4.theme;
|
|
14283
13825
|
return theme.mediaQueries.mobile;
|
|
14284
13826
|
});
|
|
14285
|
-
var ProjectNameData = styled.div
|
|
14286
|
-
|
|
14287
|
-
componentId: "sc-18f4woi-5"
|
|
14288
|
-
})(["display:inline-flex;"]);
|
|
14289
|
-
var DetailsPoster = styled.div.withConfig({
|
|
14290
|
-
displayName: "SpacePadProjectDetails__DetailsPoster",
|
|
14291
|
-
componentId: "sc-18f4woi-6"
|
|
14292
|
-
})(["height:200px;width:100%;position:relative;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;border-radius:16px;"], function (_ref5) {
|
|
13827
|
+
var ProjectNameData = styled.div(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteral(["\n display: inline-flex;\n"])));
|
|
13828
|
+
var DetailsPoster = styled.div(_templateObject7$b || (_templateObject7$b = _taggedTemplateLiteral(["\n height: 200px;\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 border-radius: 16px;\n"])), function (_ref5) {
|
|
14293
13829
|
var background = _ref5.background;
|
|
14294
13830
|
return background;
|
|
14295
13831
|
});
|
|
14296
|
-
var StyledDetailsDescriptionColumn = styled.div
|
|
14297
|
-
|
|
14298
|
-
|
|
14299
|
-
|
|
14300
|
-
var DetailsSpacer = styled.div.withConfig({
|
|
14301
|
-
displayName: "SpacePadProjectDetails__DetailsSpacer",
|
|
14302
|
-
componentId: "sc-18f4woi-8"
|
|
14303
|
-
})(["width:100%;height:1px;background:#272730;margin:16px 0px;"]);
|
|
14304
|
-
var ParticipantsRow = styled(DetailsRow).withConfig({
|
|
14305
|
-
displayName: "SpacePadProjectDetails__ParticipantsRow",
|
|
14306
|
-
componentId: "sc-18f4woi-9"
|
|
14307
|
-
})(["position:absolute;bottom:-40px;"]);
|
|
14308
|
-
var IdoEventTimestamp = styled.div.withConfig({
|
|
14309
|
-
displayName: "SpacePadProjectDetails__IdoEventTimestamp",
|
|
14310
|
-
componentId: "sc-18f4woi-10"
|
|
14311
|
-
})(["position:absolute;font-weight:500;font-size:12px;line-height:170%;color:#535459;right:0px;bottom:-20px;", "{left:0px;}"], function (_ref6) {
|
|
13832
|
+
var StyledDetailsDescriptionColumn = styled.div(_templateObject8$8 || (_templateObject8$8 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"])));
|
|
13833
|
+
var DetailsSpacer = styled.div(_templateObject9$7 || (_templateObject9$7 = _taggedTemplateLiteral(["\n width: 100%;\n height: 1px;\n background: #272730;\n margin: 16px 0px;\n"])));
|
|
13834
|
+
var ParticipantsRow = styled(DetailsRow)(_templateObject0$5 || (_templateObject0$5 = _taggedTemplateLiteral(["\n position: absolute;\n bottom: -40px;\n"])));
|
|
13835
|
+
var IdoEventTimestamp = styled.div(_templateObject1$5 || (_templateObject1$5 = _taggedTemplateLiteral(["\n position: absolute;\n font-weight: 500;\n font-size: 12px;\n line-height: 170%;\n color: #535459;\n right: 0px;\n bottom: -20px;\n ", " {\n left: 0px;\n }\n"])), function (_ref6) {
|
|
14312
13836
|
var theme = _ref6.theme;
|
|
14313
13837
|
return theme.mediaQueries.mobile;
|
|
14314
13838
|
});
|
|
@@ -14434,73 +13958,47 @@ var SpacePadProjectDetails = function SpacePadProjectDetails(props) {
|
|
|
14434
13958
|
});
|
|
14435
13959
|
};
|
|
14436
13960
|
|
|
14437
|
-
var
|
|
14438
|
-
|
|
14439
|
-
componentId: "sc-1uosrv7-0"
|
|
14440
|
-
})(["display:flex;width:100%;height:129px;background:", ";border:1px solid ", ";border-radius:10px;justify-content:space-around;flex-direction:column;padding:12px 16px 34px 16px;"], function (_ref) {
|
|
13961
|
+
var _templateObject$G, _templateObject2$x, _templateObject3$r, _templateObject4$m, _templateObject5$k, _templateObject6$e, _templateObject7$a, _templateObject8$7, _templateObject9$6;
|
|
13962
|
+
var WalletWrapper = styled.div(_templateObject$G || (_templateObject$G = _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) {
|
|
14441
13963
|
var theme = _ref.theme;
|
|
14442
13964
|
return theme.backgrounds.secondary;
|
|
14443
13965
|
}, function (_ref2) {
|
|
14444
13966
|
var theme = _ref2.theme;
|
|
14445
13967
|
return theme.colors.white3;
|
|
14446
13968
|
});
|
|
14447
|
-
styled.div
|
|
14448
|
-
|
|
14449
|
-
componentId: "sc-1uosrv7-1"
|
|
14450
|
-
})(["display:flex;width:100%;height:100%;justify-content:space-between;align-items:flex-start;flex-direction:column;flex:2;"]);
|
|
14451
|
-
styled.div.withConfig({
|
|
14452
|
-
displayName: "WalletCap__ProgressBarWrapper",
|
|
14453
|
-
componentId: "sc-1uosrv7-2"
|
|
14454
|
-
})(["position:relative;width:100%;height:30px;background:", ";display:flex;justify-content:flex-start;align-items:center;border-radius:7px;border:1px solid ", ";box-sizing:border-box;padding:3px;"], function (_ref3) {
|
|
13969
|
+
styled.div(_templateObject2$x || (_templateObject2$x = _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"])));
|
|
13970
|
+
styled.div(_templateObject3$r || (_templateObject3$r = _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) {
|
|
14455
13971
|
var theme = _ref3.theme;
|
|
14456
13972
|
return theme.colors.dark;
|
|
14457
13973
|
}, function (_ref4) {
|
|
14458
13974
|
var theme = _ref4.theme;
|
|
14459
13975
|
return theme.colors.white3;
|
|
14460
13976
|
});
|
|
14461
|
-
styled.div
|
|
14462
|
-
displayName: "WalletCap__ProgressBar",
|
|
14463
|
-
componentId: "sc-1uosrv7-3"
|
|
14464
|
-
})(["position:relative;height:100%;width:", "%;font-size:14px;background:", ";border-radius:7px;"], function (_ref5) {
|
|
13977
|
+
styled.div(_templateObject4$m || (_templateObject4$m = _taggedTemplateLiteral(["\n position: relative;\n height: 100%;\n width: ", "%;\n font-size: 14px;\n background: ", ";\n border-radius: 7px;\n"])), function (_ref5) {
|
|
14465
13978
|
var width = _ref5.width;
|
|
14466
13979
|
return width;
|
|
14467
13980
|
}, function (_ref6) {
|
|
14468
13981
|
var theme = _ref6.theme;
|
|
14469
13982
|
return theme.colors.grey;
|
|
14470
13983
|
});
|
|
14471
|
-
styled.div
|
|
14472
|
-
displayName: "WalletCap__ProcentValue",
|
|
14473
|
-
componentId: "sc-1uosrv7-4"
|
|
14474
|
-
})(["position:absolute;color:", ";top:50%;left:50%;transform:translate(-50%,-50%);font-weight:bold;display:inline-block;width:100%;text-align:center;"], function (_ref7) {
|
|
13984
|
+
styled.div(_templateObject5$k || (_templateObject5$k = _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) {
|
|
14475
13985
|
var theme = _ref7.theme;
|
|
14476
13986
|
return theme.colors.white;
|
|
14477
13987
|
});
|
|
14478
|
-
var Description$1 = styled.div
|
|
14479
|
-
displayName: "WalletCap__Description",
|
|
14480
|
-
componentId: "sc-1uosrv7-5"
|
|
14481
|
-
})(["display:flex;font-size:12px;line-height:2;color:", ";align-items:flex-start;font-weight:normal;"], function (_ref8) {
|
|
13988
|
+
var Description$1 = styled.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteral(["\n display: flex;\n font-size: 12px;\n line-height: 2;\n color: ", ";\n align-items: flex-start;\n font-weight: normal;\n"])), function (_ref8) {
|
|
14482
13989
|
var theme = _ref8.theme;
|
|
14483
13990
|
return theme.colors.white55;
|
|
14484
13991
|
});
|
|
14485
|
-
var Title = styled(Description$1)
|
|
14486
|
-
displayName: "WalletCap__Title",
|
|
14487
|
-
componentId: "sc-1uosrv7-6"
|
|
14488
|
-
})(["font-weight:bold;font-size:14px;flex-direction:row;"]);
|
|
13992
|
+
var Title = styled(Description$1)(_templateObject7$a || (_templateObject7$a = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n flex-direction: row;\n"])));
|
|
14489
13993
|
// We need to implement it in such a way until walletCap per wallet wont be implemented
|
|
14490
|
-
var DescriptionWrapper = styled.div
|
|
14491
|
-
displayName: "WalletCap__DescriptionWrapper",
|
|
14492
|
-
componentId: "sc-1uosrv7-7"
|
|
14493
|
-
})(["color:", ";line-height:2;display:flex;flex-direction:column;font-weight:bold;font-size:14px;flex:1;border-right:", ";margin-right:24px;"], function (_ref9) {
|
|
13994
|
+
var DescriptionWrapper = styled.div(_templateObject8$7 || (_templateObject8$7 = _taggedTemplateLiteral(["\n color: ", ";\n line-height: 2;\n display: flex;\n flex-direction: column;\n font-weight: bold;\n font-size: 14px;\n flex: 1;\n border-right: ", ";\n margin-right: 24px;\n"])), function (_ref9) {
|
|
14494
13995
|
var theme = _ref9.theme;
|
|
14495
13996
|
return theme.colors.white;
|
|
14496
13997
|
}, function (_ref0) {
|
|
14497
13998
|
var withoutBorder = _ref0.withoutBorder;
|
|
14498
13999
|
return withoutBorder ? "none" : "1px solid #252530";
|
|
14499
14000
|
});
|
|
14500
|
-
var DetailsWrapper = styled.div
|
|
14501
|
-
displayName: "WalletCap__DetailsWrapper",
|
|
14502
|
-
componentId: "sc-1uosrv7-8"
|
|
14503
|
-
})(["display:flex;height:50px;flex-direction:row;"]);
|
|
14001
|
+
var DetailsWrapper = styled.div(_templateObject9$6 || (_templateObject9$6 = _taggedTemplateLiteral(["\n display: flex;\n height: 50px;\n flex-direction: row;\n"])));
|
|
14504
14002
|
var WalletCap = function WalletCap(_ref1) {
|
|
14505
14003
|
_ref1.currentWalletCap;
|
|
14506
14004
|
var _ref1$softCap = _ref1.softCap,
|
|
@@ -14531,10 +14029,8 @@ var WalletCap = function WalletCap(_ref1) {
|
|
|
14531
14029
|
});
|
|
14532
14030
|
};
|
|
14533
14031
|
|
|
14534
|
-
var
|
|
14535
|
-
|
|
14536
|
-
componentId: "sc-isj8qi-0"
|
|
14537
|
-
})(["background:", ";padding:16px;border-radius:10px;border:1px solid ", ";box-shadow:0px 13px 20px rgba(0,0,0,0.25);color:", ";width:max-content;min-width:200px;display:none;max-height:500px;z-index:9999999;position:absolute;bottom:calc(100% + 16px);transform:translate(34px,0);right:", "px;font-size:", "px;", ""], function (_ref) {
|
|
14032
|
+
var _templateObject$F, _templateObject2$w, _templateObject3$q;
|
|
14033
|
+
var TooltipContent = styled.div(_templateObject$F || (_templateObject$F = _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) {
|
|
14538
14034
|
var theme = _ref.theme;
|
|
14539
14035
|
return theme.colors.card;
|
|
14540
14036
|
}, function (_ref2) {
|
|
@@ -14549,15 +14045,12 @@ var TooltipContent = styled.div.withConfig({
|
|
|
14549
14045
|
}, function (props) {
|
|
14550
14046
|
return props.small ? 12 : "";
|
|
14551
14047
|
}, function (props) {
|
|
14552
|
-
return !props.removeAfter && styled.css(["&:after{content
|
|
14048
|
+
return !props.removeAfter && styled.css(_templateObject2$w || (_templateObject2$w = _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) {
|
|
14553
14049
|
var theme = _ref5.theme;
|
|
14554
14050
|
return theme.tooltip.background;
|
|
14555
14051
|
}, props.bottom || 0);
|
|
14556
14052
|
});
|
|
14557
|
-
var Container$3 = styled.div
|
|
14558
|
-
displayName: "Tooltip__Container",
|
|
14559
|
-
componentId: "sc-isj8qi-1"
|
|
14560
|
-
})(["position:relative;z-index:99999999999;&:hover ", ",&:focus-within ", "{display:block;}"], TooltipContent, TooltipContent);
|
|
14053
|
+
var Container$3 = styled.div(_templateObject3$q || (_templateObject3$q = _taggedTemplateLiteral(["\n position: relative;\n z-index: 99999999999;\n\n &:hover ", ", &:focus-within ", " {\n display: block;\n }\n"])), TooltipContent, TooltipContent);
|
|
14561
14054
|
var Tooltip = function Tooltip(_ref6) {
|
|
14562
14055
|
var content = _ref6.content,
|
|
14563
14056
|
children = _ref6.children,
|
|
@@ -14582,57 +14075,31 @@ var Tooltip = function Tooltip(_ref6) {
|
|
|
14582
14075
|
});
|
|
14583
14076
|
};
|
|
14584
14077
|
|
|
14585
|
-
var
|
|
14586
|
-
|
|
14587
|
-
componentId: "sc-12ic40m-0"
|
|
14588
|
-
})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;background:#252530;border:1px solid ", ";padding:16px 24px;border-radius:10px;", "{width:100%;align-items:center;margin-top:24px;}"], function (_ref) {
|
|
14078
|
+
var _templateObject$E, _templateObject2$v, _templateObject3$p, _templateObject4$l, _templateObject5$j, _templateObject6$d, _templateObject7$9, _templateObject8$6, _templateObject9$5;
|
|
14079
|
+
var CSSPowerWrapper = styled.div(_templateObject$E || (_templateObject$E = _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) {
|
|
14589
14080
|
var theme = _ref.theme;
|
|
14590
14081
|
return theme.colors.white3;
|
|
14591
14082
|
}, function (_ref2) {
|
|
14592
14083
|
var theme = _ref2.theme;
|
|
14593
14084
|
return theme.mediaQueries.tablet;
|
|
14594
14085
|
});
|
|
14595
|
-
var PowerWrapper = styled.div
|
|
14596
|
-
|
|
14597
|
-
componentId: "sc-12ic40m-1"
|
|
14598
|
-
})(["display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;margin-left:30px;"]);
|
|
14599
|
-
var CSSPowerText = styled(Text).withConfig({
|
|
14600
|
-
displayName: "CSSPower__CSSPowerText",
|
|
14601
|
-
componentId: "sc-12ic40m-2"
|
|
14602
|
-
})(["display:flex;align-items:center;font-weight:bold;font-size:14px;line-height:140%;color:", ";width:max-content;"], function (_ref3) {
|
|
14086
|
+
var PowerWrapper = styled.div(_templateObject2$v || (_templateObject2$v = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n justify-content: space-between;\n margin-left: 30px;\n"])));
|
|
14087
|
+
var CSSPowerText = styled(Text)(_templateObject3$p || (_templateObject3$p = _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) {
|
|
14603
14088
|
var theme = _ref3.theme;
|
|
14604
14089
|
return theme.colors.white55;
|
|
14605
14090
|
});
|
|
14606
|
-
var CSSPowerValue = styled(Text)
|
|
14607
|
-
displayName: "CSSPower__CSSPowerValue",
|
|
14608
|
-
componentId: "sc-12ic40m-3"
|
|
14609
|
-
})(["font-weight:bold;font-size:36px;line-height:130%;color:", ";"], function (_ref4) {
|
|
14091
|
+
var CSSPowerValue = styled(Text)(_templateObject4$l || (_templateObject4$l = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 36px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref4) {
|
|
14610
14092
|
var theme = _ref4.theme;
|
|
14611
14093
|
return theme.colors.white;
|
|
14612
14094
|
});
|
|
14613
|
-
var StyledInfoIcon = styled(Icon$2E)
|
|
14614
|
-
|
|
14615
|
-
|
|
14616
|
-
|
|
14617
|
-
var PowerDescriptionWrapper = styled.div.withConfig({
|
|
14618
|
-
displayName: "CSSPower__PowerDescriptionWrapper",
|
|
14619
|
-
componentId: "sc-12ic40m-5"
|
|
14620
|
-
})(["display:flex;flex-direction:column;"]);
|
|
14621
|
-
var PowerTitle = styled(Text).withConfig({
|
|
14622
|
-
displayName: "CSSPower__PowerTitle",
|
|
14623
|
-
componentId: "sc-12ic40m-6"
|
|
14624
|
-
})(["font-weight:bold;font-size:14px;line-height:140%;"]);
|
|
14625
|
-
var PowerAmount = styled(Text).withConfig({
|
|
14626
|
-
displayName: "CSSPower__PowerAmount",
|
|
14627
|
-
componentId: "sc-12ic40m-7"
|
|
14628
|
-
})(["font-weight:bold;font-size:14px;line-height:140%;color:", ";margin-left:30px;"], function (_ref5) {
|
|
14095
|
+
var StyledInfoIcon = styled(Icon$2E)(_templateObject5$j || (_templateObject5$j = _taggedTemplateLiteral(["\n margin-left: 5px;\n height: 18px;\n cursor: pointer;\n"])));
|
|
14096
|
+
var PowerDescriptionWrapper = styled.div(_templateObject6$d || (_templateObject6$d = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
14097
|
+
var PowerTitle = styled(Text)(_templateObject7$9 || (_templateObject7$9 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n"])));
|
|
14098
|
+
var PowerAmount = styled(Text)(_templateObject8$6 || (_templateObject8$6 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n color: ", ";\n margin-left: 30px;\n"])), function (_ref5) {
|
|
14629
14099
|
var theme = _ref5.theme;
|
|
14630
14100
|
return theme.colors.white55;
|
|
14631
14101
|
});
|
|
14632
|
-
var PowerLine = styled.div
|
|
14633
|
-
displayName: "CSSPower__PowerLine",
|
|
14634
|
-
componentId: "sc-12ic40m-8"
|
|
14635
|
-
})(["display:flex;flex:direction:row;justify-content:space-between;margin-bottom:", "px;"], function (_ref6) {
|
|
14102
|
+
var PowerLine = styled.div(_templateObject9$5 || (_templateObject9$5 = _taggedTemplateLiteral(["\n display: flex;\n flex: direction: row;\n justify-content: space-between;\n margin-bottom: ", "px;\n"])), function (_ref6) {
|
|
14636
14103
|
var mb = _ref6.mb;
|
|
14637
14104
|
return mb || 0;
|
|
14638
14105
|
});
|
|
@@ -14685,10 +14152,8 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14685
14152
|
};
|
|
14686
14153
|
|
|
14687
14154
|
var _excluded$4 = ["value", "onUserInput", "placeholder", "type"];
|
|
14688
|
-
var
|
|
14689
|
-
|
|
14690
|
-
componentId: "sc-mu1fop-0"
|
|
14691
|
-
})(["color:", ";width:0;position:relative;font-weight:700;outline:none;border:none;flex:1 1 auto;background-color:transparent;background:transparent;font-size:24px;text-align:", ";white-space:nowrap;line-height:33px;overflow:hidden;text-overflow:ellipsis;padding:0px;-webkit-appearance:textfield;::-webkit-search-decoration{-webkit-appearance:none;}[type=\"number\"]{-moz-appearance:textfield;}::-webkit-outer-spin-button,::-webkit-inner-spin-button{-webkit-appearance:none;}::placeholder{color:", ";}"], function (_ref) {
|
|
14155
|
+
var _templateObject$D;
|
|
14156
|
+
var StyledInput = styled.input(_templateObject$D || (_templateObject$D = _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) {
|
|
14692
14157
|
var error = _ref.error,
|
|
14693
14158
|
theme = _ref.theme;
|
|
14694
14159
|
return error ? theme.colors.failure : theme.colors.text;
|
|
@@ -14734,10 +14199,8 @@ var NumericalInput = /*#__PURE__*/React.memo(function InnerInput(_ref4) {
|
|
|
14734
14199
|
}));
|
|
14735
14200
|
});
|
|
14736
14201
|
|
|
14737
|
-
var
|
|
14738
|
-
|
|
14739
|
-
componentId: "sc-wmdxzq-0"
|
|
14740
|
-
})(["display:flex;width:100%;background:", ";border:1px solid ", ";border-radius:10px;padding:16px 24px;align-items:center;justify-content:space-between;", "{flex-direction:column;align-items:flex-start;}"], function (_ref) {
|
|
14202
|
+
var _templateObject$C, _templateObject2$u, _templateObject3$o, _templateObject4$k, _templateObject5$i, _templateObject6$c, _templateObject7$8, _templateObject8$5, _templateObject9$4, _templateObject0$4, _templateObject1$4, _templateObject10$4, _templateObject11$4, _templateObject12$3;
|
|
14203
|
+
var SpacePadDatesWrapper = styled.div(_templateObject$C || (_templateObject$C = _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) {
|
|
14741
14204
|
var theme = _ref.theme;
|
|
14742
14205
|
return theme.backgrounds.secondary;
|
|
14743
14206
|
}, function (_ref2) {
|
|
@@ -14747,10 +14210,7 @@ var SpacePadDatesWrapper = styled.div.withConfig({
|
|
|
14747
14210
|
var theme = _ref3.theme;
|
|
14748
14211
|
return theme.mediaQueries.mobile;
|
|
14749
14212
|
});
|
|
14750
|
-
var ActiveDot = styled.div
|
|
14751
|
-
displayName: "SpacePadDates__ActiveDot",
|
|
14752
|
-
componentId: "sc-wmdxzq-1"
|
|
14753
|
-
})(["height:16px;width:16px;border-radius:50%;background:", ";margin-right:", "px;", ""], function (_ref4) {
|
|
14213
|
+
var ActiveDot = styled.div(_templateObject2$u || (_templateObject2$u = _taggedTemplateLiteral(["\n height: 16px;\n width: 16px;\n border-radius: 50%;\n background: ", ";\n margin-right: ", "px;\n ", "\n"])), function (_ref4) {
|
|
14754
14214
|
var color = _ref4.color;
|
|
14755
14215
|
return color;
|
|
14756
14216
|
}, function (_ref5) {
|
|
@@ -14760,81 +14220,45 @@ var ActiveDot = styled.div.withConfig({
|
|
|
14760
14220
|
var fetchingData = _ref6.fetchingData;
|
|
14761
14221
|
return fetchingData && "\n transition: all 0.25s ease-in-out;\n animation: stretch 2s infinite;\n @keyframes stretch {\n 0% {\n transform: scale(1);\n }\n 25% {\n transform: scale(0.9);\n }\n 50% {\n transform: scale(1.2);\n }\n 75% {\n transform: scale(0.9);\n }\n 100% {\n transform: scale(1);\n }\n }\n ";
|
|
14762
14222
|
});
|
|
14763
|
-
var TimeWrapper = styled.div
|
|
14764
|
-
displayName: "SpacePadDates__TimeWrapper",
|
|
14765
|
-
componentId: "sc-wmdxzq-2"
|
|
14766
|
-
})(["display:flex;flex-direction:row;align-items:center;", "{flex-direction:column;align-items:flex-start;margin-bottom:21px;}"], function (_ref7) {
|
|
14223
|
+
var TimeWrapper = styled.div(_templateObject3$o || (_templateObject3$o = _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) {
|
|
14767
14224
|
var theme = _ref7.theme;
|
|
14768
14225
|
return theme.mediaQueries.mobile;
|
|
14769
14226
|
});
|
|
14770
|
-
var EndTimeWrapper = styled.div
|
|
14771
|
-
|
|
14772
|
-
|
|
14773
|
-
})(["display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;height:41px;"]);
|
|
14774
|
-
var TimeNumber = styled(Text).withConfig({
|
|
14775
|
-
displayName: "SpacePadDates__TimeNumber",
|
|
14776
|
-
componentId: "sc-wmdxzq-4"
|
|
14777
|
-
})(["font-weight:600;font-size:20px;margin:0px;padding:0px;height:100%;line-height:100%;"]);
|
|
14778
|
-
var PeriodText = styled(Text).withConfig({
|
|
14779
|
-
displayName: "SpacePadDates__PeriodText",
|
|
14780
|
-
componentId: "sc-wmdxzq-5"
|
|
14781
|
-
})(["font-weight:600;font-size:16px;margin-right:0px;padding:0px;color:", ";height:100%;line-height:17px;"], function (_ref8) {
|
|
14227
|
+
var EndTimeWrapper = styled.div(_templateObject4$k || (_templateObject4$k = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-start;\n height: 41px;\n"])));
|
|
14228
|
+
var TimeNumber = styled(Text)(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 20px;\n margin: 0px;\n padding: 0px;\n height: 100%;\n line-height: 100%;\n"])));
|
|
14229
|
+
var PeriodText = styled(Text)(_templateObject6$c || (_templateObject6$c = _taggedTemplateLiteral(["\n font-weight: 600;\n font-size: 16px;\n margin-right: 0px;\n padding: 0px;\n color: ", ";\n height: 100%;\n // Temporarly\n line-height: 17px;\n"])), function (_ref8) {
|
|
14782
14230
|
var theme = _ref8.theme;
|
|
14783
14231
|
return theme.colors.primary;
|
|
14784
14232
|
});
|
|
14785
|
-
var DetailedTimeWrapper = styled.div
|
|
14786
|
-
displayName: "SpacePadDates__DetailedTimeWrapper",
|
|
14787
|
-
componentId: "sc-wmdxzq-6"
|
|
14788
|
-
})(["width:150px;display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;color:", ";font-size:20px;font-weight:bold;"], function (_ref9) {
|
|
14233
|
+
var DetailedTimeWrapper = styled.div(_templateObject7$8 || (_templateObject7$8 = _taggedTemplateLiteral(["\n width: 150px;\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: space-between;\n color: ", ";\n font-size: 20px;\n font-weight: bold;\n"])), function (_ref9) {
|
|
14789
14234
|
var theme = _ref9.theme;
|
|
14790
14235
|
return theme.colors.white30;
|
|
14791
14236
|
});
|
|
14792
|
-
var TimeValues = styled.div
|
|
14793
|
-
|
|
14794
|
-
componentId: "sc-wmdxzq-7"
|
|
14795
|
-
})(["display:flex;flex-direction:row;align-items:flex-end;width:30px;"]);
|
|
14796
|
-
var DateWrapper = styled.div.withConfig({
|
|
14797
|
-
displayName: "SpacePadDates__DateWrapper",
|
|
14798
|
-
componentId: "sc-wmdxzq-8"
|
|
14799
|
-
})(["display:flex;flex-direction:row;", "{width:100%;justify-content:space-between;}"], function (_ref0) {
|
|
14237
|
+
var TimeValues = styled.div(_templateObject8$5 || (_templateObject8$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n width: 30px;\n"])));
|
|
14238
|
+
var DateWrapper = styled.div(_templateObject9$4 || (_templateObject9$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n ", " {\n width: 100%;\n justify-content: space-between;\n }\n"])), function (_ref0) {
|
|
14800
14239
|
var theme = _ref0.theme;
|
|
14801
14240
|
return theme.mediaQueries.mobile;
|
|
14802
14241
|
});
|
|
14803
|
-
var ActiveStateWrapper = styled.div
|
|
14804
|
-
displayName: "SpacePadDates__ActiveStateWrapper",
|
|
14805
|
-
componentId: "sc-wmdxzq-9"
|
|
14806
|
-
})(["display:flex;flex-direction:row;align-items:center;", "{margin-bottom:17px;}"], function (_ref1) {
|
|
14242
|
+
var ActiveStateWrapper = styled.div(_templateObject0$4 || (_templateObject0$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n ", " {\n margin-bottom: 17px;\n }\n"])), function (_ref1) {
|
|
14807
14243
|
var theme = _ref1.theme;
|
|
14808
14244
|
return theme.mediaQueries.mobile;
|
|
14809
14245
|
});
|
|
14810
|
-
var RoundDescription = styled.div
|
|
14811
|
-
displayName: "SpacePadDates__RoundDescription",
|
|
14812
|
-
componentId: "sc-wmdxzq-10"
|
|
14813
|
-
})(["font-size:15px;color:", ";line-height:20px;margin-top:3px;margin-left:-40px;"], function (_ref10) {
|
|
14246
|
+
var RoundDescription = styled.div(_templateObject1$4 || (_templateObject1$4 = _taggedTemplateLiteral(["\n font-size: 15px;\n color: ", ";\n line-height: 20px;\n margin-top: 3px;\n margin-left: -40px;\n"])), function (_ref10) {
|
|
14814
14247
|
var theme = _ref10.theme;
|
|
14815
14248
|
return theme.colors.white55;
|
|
14816
14249
|
});
|
|
14817
|
-
var AcocuntDataWrapper = styled.div
|
|
14818
|
-
displayName: "SpacePadDates__AcocuntDataWrapper",
|
|
14819
|
-
componentId: "sc-wmdxzq-11"
|
|
14820
|
-
})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;", "{flex-direction:column;align-items:flex-start;button{width:100%;}}"], function (_ref11) {
|
|
14250
|
+
var AcocuntDataWrapper = styled.div(_templateObject10$4 || (_templateObject10$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n ", " {\n flex-direction: column;\n align-items: flex-start;\n button {\n width: 100%;\n }\n }\n"])), function (_ref11) {
|
|
14821
14251
|
var theme = _ref11.theme;
|
|
14822
14252
|
return theme.mediaQueries.mobile;
|
|
14823
14253
|
});
|
|
14824
|
-
var AccountInfoText$1 = styled(Text)
|
|
14825
|
-
displayName: "SpacePadDates__AccountInfoText",
|
|
14826
|
-
componentId: "sc-wmdxzq-12"
|
|
14827
|
-
})(["font-weight:bold;font-size:18px;line-height:130%;display:flex;align-items:center;margin-right:8px;", "{font-size:16px;}", "{font-size:14px;margin-right:0px;margin-bottom:16px;}"], function (_ref12) {
|
|
14254
|
+
var AccountInfoText$1 = styled(Text)(_templateObject11$4 || (_templateObject11$4 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 18px;\n line-height: 130%;\n display: flex;\n align-items: center;\n margin-right: 8px;\n ", " {\n font-size: 16px;\n }\n ", " {\n font-size: 14px;\n margin-right: 0px;\n margin-bottom: 16px;\n }\n"])), function (_ref12) {
|
|
14828
14255
|
var theme = _ref12.theme;
|
|
14829
14256
|
return theme.mediaQueries.tablet;
|
|
14830
14257
|
}, function (_ref13) {
|
|
14831
14258
|
var theme = _ref13.theme;
|
|
14832
14259
|
return theme.mediaQueries.mobile;
|
|
14833
14260
|
});
|
|
14834
|
-
var TimerText = styled(Text)
|
|
14835
|
-
displayName: "SpacePadDates__TimerText",
|
|
14836
|
-
componentId: "sc-wmdxzq-13"
|
|
14837
|
-
})(["font-weight:bold;font-size:11px;color:", ";strong{color:", ";}"], baseColors.white55, baseColors.white);
|
|
14261
|
+
var TimerText = styled(Text)(_templateObject12$3 || (_templateObject12$3 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 11px;\n color: ", ";\n strong {\n color: ", ";\n }\n"])), baseColors.white55, baseColors.white);
|
|
14838
14262
|
var SpacePadDates = function SpacePadDates(_ref14) {
|
|
14839
14263
|
var _ref14$days = _ref14.days,
|
|
14840
14264
|
days = _ref14$days === void 0 ? "3" : _ref14$days,
|
|
@@ -14974,21 +14398,13 @@ var SpacePadDates = function SpacePadDates(_ref14) {
|
|
|
14974
14398
|
});
|
|
14975
14399
|
};
|
|
14976
14400
|
|
|
14977
|
-
var
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
})(["display:flex;flex-direction:column;height:max-content;width:100%;padding:32px;background:#191921;border-radius:16px;"]);
|
|
14981
|
-
var LogicComponentsWrapper = styled.div.withConfig({
|
|
14982
|
-
displayName: "AddToCap__LogicComponentsWrapper",
|
|
14983
|
-
componentId: "sc-1vjnrpf-1"
|
|
14984
|
-
})(["display:flex;flex-direction:column;align-items:center;justify-content:center;", "{flex-direction:column;}"], function (_ref) {
|
|
14401
|
+
var _templateObject$B, _templateObject2$t, _templateObject3$n, _templateObject4$j, _templateObject5$h, _templateObject6$b, _templateObject7$7, _templateObject8$4, _templateObject9$3, _templateObject0$3, _templateObject1$3, _templateObject10$3, _templateObject11$3, _templateObject12$2, _templateObject13$1;
|
|
14402
|
+
var AddToCapWrapper = styled.div(_templateObject$B || (_templateObject$B = _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"])));
|
|
14403
|
+
var LogicComponentsWrapper = styled.div(_templateObject2$t || (_templateObject2$t = _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) {
|
|
14985
14404
|
var theme = _ref.theme;
|
|
14986
14405
|
return theme.mediaQueries.mobile;
|
|
14987
14406
|
});
|
|
14988
|
-
var CapInput = styled(NumericalInput)
|
|
14989
|
-
displayName: "AddToCap__CapInput",
|
|
14990
|
-
componentId: "sc-1vjnrpf-2"
|
|
14991
|
-
})(["height:50px;font-size:16px;padding:11px 0px 11px 24px;border:1px solid ", ";background:", ";border-radius:10px;margin-bottom:20px;::placeholder{color:", ";font-weight:500;}"], function (_ref2) {
|
|
14407
|
+
var CapInput = styled(NumericalInput)(_templateObject3$n || (_templateObject3$n = _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) {
|
|
14992
14408
|
var theme = _ref2.theme;
|
|
14993
14409
|
return theme.colors.white10;
|
|
14994
14410
|
}, function (_ref3) {
|
|
@@ -14998,52 +14414,31 @@ var CapInput = styled(NumericalInput).withConfig({
|
|
|
14998
14414
|
var theme = _ref4.theme;
|
|
14999
14415
|
return theme.colors.white55;
|
|
15000
14416
|
});
|
|
15001
|
-
var EligibleWrapper = styled.div.
|
|
15002
|
-
|
|
15003
|
-
componentId: "sc-1vjnrpf-3"
|
|
15004
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:center;width:max-content;height:50px;width:100%;padding:15.5px;background:#272730;box-sizing:border-box;border-radius:10px;margin-bottom:26px;"]);
|
|
15005
|
-
var IdoActionButton = styled(Button$1).withConfig({
|
|
15006
|
-
displayName: "AddToCap__IdoActionButton",
|
|
15007
|
-
componentId: "sc-1vjnrpf-4"
|
|
15008
|
-
})(["color:", " !important;height:50px;width:100%;&:disabled,&.button--disabled{background:#12ffb8;opacity:0.2;color:#3d3d41 !important;}", "{margin-top:16px;width:100%;}"], function (_ref5) {
|
|
14417
|
+
var EligibleWrapper = styled.div(_templateObject4$j || (_templateObject4$j = _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"])));
|
|
14418
|
+
var IdoActionButton = styled(Button$1)(_templateObject5$h || (_templateObject5$h = _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) {
|
|
15009
14419
|
var theme = _ref5.theme;
|
|
15010
14420
|
return theme.colors.dark;
|
|
15011
14421
|
}, function (_ref6) {
|
|
15012
14422
|
var theme = _ref6.theme;
|
|
15013
14423
|
return theme.mediaQueries.mobile;
|
|
15014
14424
|
});
|
|
15015
|
-
var MainFunctionsWrapper = styled.div
|
|
15016
|
-
displayName: "AddToCap__MainFunctionsWrapper",
|
|
15017
|
-
componentId: "sc-1vjnrpf-5"
|
|
15018
|
-
})(["position:relative;width:100%;height:50px;display:flex;flex-direction:row;justify-content:center;align-items:center;margin-top:10px;", "{margin-bottom:10px;}"], function (_ref7) {
|
|
14425
|
+
var MainFunctionsWrapper = styled.div(_templateObject6$b || (_templateObject6$b = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 50px;\n display: flex;\n flex-direction: row;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n ", " {\n margin-bottom: 10px;\n }\n"])), function (_ref7) {
|
|
15019
14426
|
var theme = _ref7.theme;
|
|
15020
14427
|
return theme.mediaQueries.mobile;
|
|
15021
14428
|
});
|
|
15022
|
-
var SignedRow = styled.div
|
|
15023
|
-
displayName: "AddToCap__SignedRow",
|
|
15024
|
-
componentId: "sc-1vjnrpf-6"
|
|
15025
|
-
})(["display:flex;flex-direction:row;width:max-content;justify-content:center;", "{margin-top:16px;width:100%;}"], function (_ref8) {
|
|
14429
|
+
var SignedRow = styled.div(_templateObject7$7 || (_templateObject7$7 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n width: max-content;\n justify-content: center;\n ", " {\n margin-top: 16px;\n width: 100%;\n }\n"])), function (_ref8) {
|
|
15026
14430
|
var theme = _ref8.theme;
|
|
15027
14431
|
return theme.mediaQueries.mobile;
|
|
15028
14432
|
});
|
|
15029
|
-
var ErrorComponent = styled(Text)
|
|
15030
|
-
displayName: "AddToCap__ErrorComponent",
|
|
15031
|
-
componentId: "sc-1vjnrpf-7"
|
|
15032
|
-
})(["font-weight:600;position:absolute;top:41px;left:10px;color:", ";font-size:12px;"], function (_ref9) {
|
|
14433
|
+
var ErrorComponent = styled(Text)(_templateObject8$4 || (_templateObject8$4 = _taggedTemplateLiteral(["\n font-weight: 600;\n position: absolute;\n top: 41px;\n left: 10px;\n color: ", ";\n font-size: 12px;\n"])), function (_ref9) {
|
|
15033
14434
|
var theme = _ref9.theme;
|
|
15034
14435
|
return theme.colors.error;
|
|
15035
14436
|
});
|
|
15036
|
-
var CoinWrapper = styled.div.
|
|
15037
|
-
displayName: "AddToCap__CoinWrapper",
|
|
15038
|
-
componentId: "sc-1vjnrpf-8"
|
|
15039
|
-
})(["display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:97px;height:50px;margin-left:16px;padding:15.5px;border:1px solid #373749;background:#1f1f29;box-sizing:border-box;border-radius:10px;", "{margin-right:0px;}"], function (_ref0) {
|
|
14437
|
+
var CoinWrapper = styled.div(_templateObject9$3 || (_templateObject9$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 97px;\n height: 50px;\n margin-left: 16px;\n padding: 15.5px;\n border: 1px solid #373749;\n //Used only once in this component, not declared on theme\n background: #1f1f29;\n box-sizing: border-box;\n border-radius: 10px;\n ", " {\n margin-right: 0px;\n }\n"])), function (_ref0) {
|
|
15040
14438
|
var theme = _ref0.theme;
|
|
15041
14439
|
return theme.mediaQueries.mobile;
|
|
15042
14440
|
});
|
|
15043
|
-
var AddCapButton = styled(Button$1)
|
|
15044
|
-
displayName: "AddToCap__AddCapButton",
|
|
15045
|
-
componentId: "sc-1vjnrpf-9"
|
|
15046
|
-
})(["color:", ";height:50px;width:100%;&:disabled,&.button--disabled{background:", ";color:", ";}"], function (_ref1) {
|
|
14441
|
+
var AddCapButton = styled(Button$1)(_templateObject0$3 || (_templateObject0$3 = _taggedTemplateLiteral(["\n color: ", ";\n height: 50px;\n width: 100%;\n &:disabled,\n &.button--disabled {\n background: ", ";\n color: ", ";\n }\n"])), function (_ref1) {
|
|
15047
14442
|
var theme = _ref1.theme;
|
|
15048
14443
|
return theme.colors.dark;
|
|
15049
14444
|
}, function (_ref10) {
|
|
@@ -15053,32 +14448,17 @@ var AddCapButton = styled(Button$1).withConfig({
|
|
|
15053
14448
|
var theme = _ref11.theme;
|
|
15054
14449
|
return theme.colors.white55;
|
|
15055
14450
|
});
|
|
15056
|
-
var AccountInfoText = styled(Text)
|
|
15057
|
-
displayName: "AddToCap__AccountInfoText",
|
|
15058
|
-
componentId: "sc-1vjnrpf-10"
|
|
15059
|
-
})(["font-weight:bold;font-size:18px;line-height:130%;display:flex;align-items:center;margin-bottom:26px;text-align:center;", "{font-size:16px;}", "{font-size:14px;}", ""], function (_ref12) {
|
|
14451
|
+
var AccountInfoText = styled(Text)(_templateObject1$3 || (_templateObject1$3 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 18px;\n line-height: 130%;\n display: flex;\n align-items: center;\n margin-bottom: 26px;\n text-align: center;\n ", " {\n font-size: 16px;\n }\n ", " {\n font-size: 14px;\n }\n ", "\n"])), function (_ref12) {
|
|
15060
14452
|
var theme = _ref12.theme;
|
|
15061
14453
|
return theme.mediaQueries.tablet;
|
|
15062
14454
|
}, function (_ref13) {
|
|
15063
14455
|
var theme = _ref13.theme;
|
|
15064
14456
|
return theme.mediaQueries.mobile;
|
|
15065
14457
|
}, styledSystem.space);
|
|
15066
|
-
var PersonalValuesWrapper = styled.div
|
|
15067
|
-
|
|
15068
|
-
|
|
15069
|
-
|
|
15070
|
-
var PersonalValueRow = styled.div.withConfig({
|
|
15071
|
-
displayName: "AddToCap__PersonalValueRow",
|
|
15072
|
-
componentId: "sc-1vjnrpf-12"
|
|
15073
|
-
})(["display:flex;justify-content:space-between;"]);
|
|
15074
|
-
var PersonalValueTitle = styled(Text).withConfig({
|
|
15075
|
-
displayName: "AddToCap__PersonalValueTitle",
|
|
15076
|
-
componentId: "sc-1vjnrpf-13"
|
|
15077
|
-
})(["font-weight:bold;font-size:14px;line-height:170%;text-align:center;color:#818c92;"]);
|
|
15078
|
-
var Row = styled(Box).withConfig({
|
|
15079
|
-
displayName: "AddToCap__Row",
|
|
15080
|
-
componentId: "sc-1vjnrpf-14"
|
|
15081
|
-
})(["width:100%;display:flex;padding:0;align-items:", ";padding:", ";border:", ";border-radius:", ";"], function (_ref14) {
|
|
14458
|
+
var PersonalValuesWrapper = styled.div(_templateObject10$3 || (_templateObject10$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n width: 100%;\n padding: 14px 16px;\n border: 1px solid #383847;\n border-radius: 8px;\n margin-bottom: 30px;\n"])));
|
|
14459
|
+
var PersonalValueRow = styled.div(_templateObject11$3 || (_templateObject11$3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
14460
|
+
var PersonalValueTitle = styled(Text)(_templateObject12$2 || (_templateObject12$2 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 14px;\n line-height: 170%;\n text-align: center;\n color: #818c92;\n"])));
|
|
14461
|
+
var Row = styled(Box)(_templateObject13$1 || (_templateObject13$1 = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n padding: 0;\n align-items: ", ";\n padding: ", ";\n border: ", ";\n border-radius: ", ";\n"])), function (_ref14) {
|
|
15082
14462
|
var align = _ref14.align;
|
|
15083
14463
|
return align || "center";
|
|
15084
14464
|
}, function (_ref15) {
|
|
@@ -15412,32 +14792,18 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
15412
14792
|
return withoutActions ? /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {}) : contentWrapper;
|
|
15413
14793
|
};
|
|
15414
14794
|
|
|
15415
|
-
var
|
|
15416
|
-
|
|
15417
|
-
|
|
15418
|
-
})(["font-family:Manrope;font-size:12px;line-height:170%;color:rgba(255,255,255,0.55);align-self:flex-start;font-weight:normal;"]);
|
|
15419
|
-
var CounterWrapper = styled.div.withConfig({
|
|
15420
|
-
displayName: "CapCounter__CounterWrapper",
|
|
15421
|
-
componentId: "sc-h5yjzn-1"
|
|
15422
|
-
})(["position:relative;width:100%;height:81px;background:", ";border:1px solid rgba(255,255,255,0.03);display:flex;border-radius:10px;padding:15px 0px 21px 20px;"], function (_ref) {
|
|
14795
|
+
var _templateObject$A, _templateObject2$s, _templateObject3$m, _templateObject4$i, _templateObject5$g;
|
|
14796
|
+
var Description = styled.div(_templateObject$A || (_templateObject$A = _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"])));
|
|
14797
|
+
var CounterWrapper = styled.div(_templateObject2$s || (_templateObject2$s = _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) {
|
|
15423
14798
|
var theme = _ref.theme;
|
|
15424
14799
|
return theme.backgrounds.secondary;
|
|
15425
14800
|
});
|
|
15426
|
-
var CapDescriptionWrapper = styled.div
|
|
15427
|
-
displayName: "CapCounter__CapDescriptionWrapper",
|
|
15428
|
-
componentId: "sc-h5yjzn-2"
|
|
15429
|
-
})(["color:", ";display:flex;flex-direction:column;justify-content:space-around;font-weight:bold;"], function (_ref2) {
|
|
14801
|
+
var CapDescriptionWrapper = styled.div(_templateObject3$m || (_templateObject3$m = _taggedTemplateLiteral(["\n color: ", ";\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n font-weight: bold;\n"])), function (_ref2) {
|
|
15430
14802
|
var theme = _ref2.theme;
|
|
15431
14803
|
return theme.colors.white;
|
|
15432
14804
|
});
|
|
15433
|
-
var SoftCapWrapper = styled(CapDescriptionWrapper)
|
|
15434
|
-
|
|
15435
|
-
componentId: "sc-h5yjzn-3"
|
|
15436
|
-
})(["border-right:2px solid #252530;margin-left:10px;padding-right:17px;"]);
|
|
15437
|
-
var HardCapWrapper = styled(CapDescriptionWrapper).withConfig({
|
|
15438
|
-
displayName: "CapCounter__HardCapWrapper",
|
|
15439
|
-
componentId: "sc-h5yjzn-4"
|
|
15440
|
-
})(["align-items:center;margin-left:32px;"]);
|
|
14805
|
+
var SoftCapWrapper = styled(CapDescriptionWrapper)(_templateObject4$i || (_templateObject4$i = _taggedTemplateLiteral(["\n border-right: 2px solid #252530;\n margin-left: 10px;\n padding-right: 17px;\n"])));
|
|
14806
|
+
var HardCapWrapper = styled(CapDescriptionWrapper)(_templateObject5$g || (_templateObject5$g = _taggedTemplateLiteral(["\n align-items: center;\n margin-left: 32px;\n"])));
|
|
15441
14807
|
var CapCounter = function CapCounter(_ref3) {
|
|
15442
14808
|
var _ref3$softCap = _ref3.softCap,
|
|
15443
14809
|
softCap = _ref3$softCap === void 0 ? 332.52 : _ref3$softCap,
|
|
@@ -15491,32 +14857,18 @@ var SpacePadSchedule = function SpacePadSchedule(_ref) {
|
|
|
15491
14857
|
});
|
|
15492
14858
|
};
|
|
15493
14859
|
|
|
15494
|
-
var
|
|
15495
|
-
|
|
15496
|
-
componentId: "sc-1bkh9t5-0"
|
|
15497
|
-
})(["position:relative;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,0.1);width:", ";height:34px;border-radius:10px;font-weight:bold;font-size:14px;padding:2px;z-index:99;"], function (_ref) {
|
|
14860
|
+
var _templateObject$z, _templateObject2$r, _templateObject3$l, _templateObject4$h, _templateObject5$f;
|
|
14861
|
+
var MainWrapper = styled.div(_templateObject$z || (_templateObject$z = _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) {
|
|
15498
14862
|
var width = _ref.width;
|
|
15499
14863
|
return width ? "".concat(width, "px") : "100%";
|
|
15500
14864
|
});
|
|
15501
|
-
var SecondWrapper = styled.div
|
|
15502
|
-
|
|
15503
|
-
componentId: "sc-1bkh9t5-1"
|
|
15504
|
-
})(["position:relative;display:flex;border-radius:8px;z-index:101;width:100%;"]);
|
|
15505
|
-
var ToggleButton = styled.div.withConfig({
|
|
15506
|
-
displayName: "Switch__ToggleButton",
|
|
15507
|
-
componentId: "sc-1bkh9t5-2"
|
|
15508
|
-
})(["position:absolute;display:flex;height:100%;width:50%;background:rgba(255,255,255,0.85);border-radius:8px;transform:translateX(", ");transition:0.4s ease-out;z-index:100;"], function (_ref2) {
|
|
14865
|
+
var SecondWrapper = styled.div(_templateObject2$r || (_templateObject2$r = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n border-radius: 8px;\n z-index: 101;\n width: 100%;\n"])));
|
|
14866
|
+
var ToggleButton = styled.div(_templateObject3$l || (_templateObject3$l = _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) {
|
|
15509
14867
|
var isSwitched = _ref2.isSwitched;
|
|
15510
14868
|
return isSwitched ? "100%" : "0%";
|
|
15511
14869
|
});
|
|
15512
|
-
var RowWrapper = styled.div
|
|
15513
|
-
|
|
15514
|
-
componentId: "sc-1bkh9t5-3"
|
|
15515
|
-
})(["display:flex;flex-direction:row;width:100%;height:100%;"]);
|
|
15516
|
-
var SubscriptionWrapper = styled.div.withConfig({
|
|
15517
|
-
displayName: "Switch__SubscriptionWrapper",
|
|
15518
|
-
componentId: "sc-1bkh9t5-4"
|
|
15519
|
-
})(["display:flex;align-items:center;justify-content:center;height:30px;width:50%;border-radius:8px;cursor:pointer;z-index:101;color:", ";transition:0.4s ease-out;"], function (_ref3) {
|
|
14870
|
+
var RowWrapper = styled.div(_templateObject4$h || (_templateObject4$h = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n width: 100%;\n height: 100%;\n"])));
|
|
14871
|
+
var SubscriptionWrapper = styled.div(_templateObject5$f || (_templateObject5$f = _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) {
|
|
15520
14872
|
var isActive = _ref3.isActive;
|
|
15521
14873
|
return isActive ? "black" : "rgba(255, 255, 255, 0.25)";
|
|
15522
14874
|
});
|
|
@@ -15562,24 +14914,16 @@ var Switch = function Switch(_ref4) {
|
|
|
15562
14914
|
});
|
|
15563
14915
|
};
|
|
15564
14916
|
|
|
15565
|
-
var
|
|
15566
|
-
|
|
15567
|
-
|
|
15568
|
-
})(["position:absolute;font-weight:normal;font-size:10px;line-height:170%;color:#12ffb8;top:-20px;left:10px;"]);
|
|
15569
|
-
var SpacePadProjectWrapper = styled.div.withConfig({
|
|
15570
|
-
displayName: "SpacePadProject__SpacePadProjectWrapper",
|
|
15571
|
-
componentId: "sc-8tid8r-1"
|
|
15572
|
-
})(["position:relative;width:406px;height:max-content;", "{min-width:max-content;}", "{width:100%;}"], function (_ref) {
|
|
14917
|
+
var _templateObject$y, _templateObject2$q, _templateObject3$k, _templateObject4$g, _templateObject5$e, _templateObject6$a, _templateObject7$6, _templateObject8$3, _templateObject9$2, _templateObject0$2, _templateObject1$2, _templateObject10$2, _templateObject11$2, _templateObject12$1;
|
|
14918
|
+
var SponsoredText = styled(Text)(_templateObject$y || (_templateObject$y = _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"])));
|
|
14919
|
+
var SpacePadProjectWrapper = styled.div(_templateObject2$q || (_templateObject2$q = _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) {
|
|
15573
14920
|
var theme = _ref.theme;
|
|
15574
14921
|
return theme.mediaQueries.desktop;
|
|
15575
14922
|
}, function (_ref2) {
|
|
15576
14923
|
var theme = _ref2.theme;
|
|
15577
14924
|
return theme.mediaQueries.mobile;
|
|
15578
14925
|
});
|
|
15579
|
-
var SpacePadProjectCard = styled.div
|
|
15580
|
-
displayName: "SpacePadProject__SpacePadProjectCard",
|
|
15581
|
-
componentId: "sc-8tid8r-2"
|
|
15582
|
-
})(["background:", ";border:1px solid ", ";box-sizing:border-box;border-radius:15px;max-width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;overflow:hidden;cursor:pointer;padding-bottom:24px;"], function (_ref3) {
|
|
14926
|
+
var SpacePadProjectCard = styled.div(_templateObject3$k || (_templateObject3$k = _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) {
|
|
15583
14927
|
var theme = _ref3.theme;
|
|
15584
14928
|
return theme.backgrounds.primary;
|
|
15585
14929
|
}, function (_ref4) {
|
|
@@ -15587,62 +14931,29 @@ var SpacePadProjectCard = styled.div.withConfig({
|
|
|
15587
14931
|
highlighted = _ref4.highlighted;
|
|
15588
14932
|
return highlighted ? "#12FFB8" : theme.colors.white3;
|
|
15589
14933
|
});
|
|
15590
|
-
var ProjectPoster = styled.div
|
|
15591
|
-
displayName: "SpacePadProject__ProjectPoster",
|
|
15592
|
-
componentId: "sc-8tid8r-3"
|
|
15593
|
-
})(["min-height:175px;width:100%;position:relative;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;"], function (_ref5) {
|
|
14934
|
+
var ProjectPoster = styled.div(_templateObject4$g || (_templateObject4$g = _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) {
|
|
15594
14935
|
var background = _ref5.background;
|
|
15595
14936
|
return background;
|
|
15596
14937
|
});
|
|
15597
|
-
var ProjectLogo = styled.div
|
|
15598
|
-
displayName: "SpacePadProject__ProjectLogo",
|
|
15599
|
-
componentId: "sc-8tid8r-4"
|
|
15600
|
-
})(["position:absolute;display:flex;justify-content:center;align-items:center;width:80px;height:80px;border-radius:50%;top:138px;left:20px;background:#16161d;background-image:", ";background-position:center;background-repeat:no-repeat;background-size:cover;border:3px solid #373749;overflow:hidden;"], function (_ref6) {
|
|
14938
|
+
var ProjectLogo = styled.div(_templateObject5$e || (_templateObject5$e = _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) {
|
|
15601
14939
|
var background = _ref6.background;
|
|
15602
14940
|
return background;
|
|
15603
14941
|
});
|
|
15604
|
-
var RoundWrapper = styled.div
|
|
15605
|
-
|
|
15606
|
-
componentId: "sc-8tid8r-5"
|
|
15607
|
-
})(["position:absolute;top:154px;right:16px;display:flex;align-items:center;justify-content:space-between;padding:10px 12px 10px 16px;background:#272730;box-sizing:border-box;border-radius:10px;width:max-content;height:40px;"]);
|
|
15608
|
-
var RoundNumber = styled.div.withConfig({
|
|
15609
|
-
displayName: "SpacePadProject__RoundNumber",
|
|
15610
|
-
componentId: "sc-8tid8r-6"
|
|
15611
|
-
})(["display:flex;align-items:flex-end;justify-content:space-around;color:", ";"], function (_ref7) {
|
|
14942
|
+
var RoundWrapper = styled.div(_templateObject6$a || (_templateObject6$a = _taggedTemplateLiteral(["\n position: absolute;\n top: 154px;\n right: 16px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: 10px 12px 10px 16px;\n background: #272730;\n box-sizing: border-box;\n border-radius: 10px;\n width: max-content;\n height: 40px;\n"])));
|
|
14943
|
+
var RoundNumber = styled.div(_templateObject7$6 || (_templateObject7$6 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-end;\n justify-content: space-around;\n color: ", ";\n"])), function (_ref7) {
|
|
15612
14944
|
var theme = _ref7.theme;
|
|
15613
14945
|
return theme.colors.white55;
|
|
15614
14946
|
});
|
|
15615
|
-
var ProjectDetailsWrapper = styled.div
|
|
15616
|
-
|
|
15617
|
-
componentId: "sc-8tid8r-7"
|
|
15618
|
-
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;height:100%;padding:20px;padding-top:58px;"]);
|
|
15619
|
-
var IDOButton = styled(Button$1).withConfig({
|
|
15620
|
-
displayName: "SpacePadProject__IDOButton",
|
|
15621
|
-
componentId: "sc-8tid8r-8"
|
|
15622
|
-
})(["width:max-content;color:", ";padding:8px 40px;"], function (_ref8) {
|
|
14947
|
+
var ProjectDetailsWrapper = styled.div(_templateObject8$3 || (_templateObject8$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n height: 100%;\n padding: 20px;\n padding-top: 58px;\n"])));
|
|
14948
|
+
var IDOButton = styled(Button$1)(_templateObject9$2 || (_templateObject9$2 = _taggedTemplateLiteral(["\n width: max-content;\n color: ", ";\n padding: 8px 40px;\n"])), function (_ref8) {
|
|
15623
14949
|
var theme = _ref8.theme;
|
|
15624
14950
|
return theme.colors.white;
|
|
15625
14951
|
});
|
|
15626
|
-
var SwitcherRow = styled.div
|
|
15627
|
-
|
|
15628
|
-
|
|
15629
|
-
|
|
15630
|
-
var
|
|
15631
|
-
displayName: "SpacePadProject__DetailsColumn",
|
|
15632
|
-
componentId: "sc-8tid8r-10"
|
|
15633
|
-
})(["display:flex;flex-direction:column;justify-content:space-between;padding:16px 0px;width:100%;height:108px !important;border-top:1px solid #272730;border-bottom:1px solid #272730;margin:16px 0px;"]);
|
|
15634
|
-
var CommingSoonWrapper = styled.div.withConfig({
|
|
15635
|
-
displayName: "SpacePadProject__CommingSoonWrapper",
|
|
15636
|
-
componentId: "sc-8tid8r-11"
|
|
15637
|
-
})(["display:flex;flex-direction:column;justify-content:center;align-items:center;padding:38px 0px;height:max-content;width:100%;margin-bottom:30px;"]);
|
|
15638
|
-
var CommingSoonTitle = styled(Text).withConfig({
|
|
15639
|
-
displayName: "SpacePadProject__CommingSoonTitle",
|
|
15640
|
-
componentId: "sc-8tid8r-12"
|
|
15641
|
-
})(["font-weight:bold;font-size:26px;line-height:130%;color:#7763f6;text-align:center;margin-top:24px;"]);
|
|
15642
|
-
var MockedProgressComponent = styled.div.withConfig({
|
|
15643
|
-
displayName: "SpacePadProject__MockedProgressComponent",
|
|
15644
|
-
componentId: "sc-8tid8r-13"
|
|
15645
|
-
})(["width:100%;height:75px;"]);
|
|
14952
|
+
var SwitcherRow = styled.div(_templateObject0$2 || (_templateObject0$2 = _taggedTemplateLiteral(["\n display: flex;\n width: 100%;\n flex-direction: row;\n justify-content: flex-end;\n margin-bottom: 16px;\n z-index: 99999;\n"])));
|
|
14953
|
+
var DetailsColumn = styled.div(_templateObject1$2 || (_templateObject1$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n padding: 16px 0px;\n width: 100%;\n height: 108px !important;\n border-top: 1px solid #272730;\n border-bottom: 1px solid #272730;\n margin: 16px 0px;\n"])));
|
|
14954
|
+
var CommingSoonWrapper = styled.div(_templateObject10$2 || (_templateObject10$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n padding: 38px 0px;\n height: max-content;\n width: 100%;\n margin-bottom: 30px;\n"])));
|
|
14955
|
+
var CommingSoonTitle = styled(Text)(_templateObject11$2 || (_templateObject11$2 = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 26px;\n line-height: 130%;\n color: #7763f6;\n text-align: center;\n margin-top: 24px;\n"])));
|
|
14956
|
+
var MockedProgressComponent = styled.div(_templateObject12$1 || (_templateObject12$1 = _taggedTemplateLiteral(["\n width: 100%;\n height: 75px;\n"])));
|
|
15646
14957
|
var SpacePadProject = function SpacePadProject(props) {
|
|
15647
14958
|
var spacePadData = props.spacePadData,
|
|
15648
14959
|
spaceRound = props.spaceRound,
|
|
@@ -15858,10 +15169,8 @@ var SpacePadProject = function SpacePadProject(props) {
|
|
|
15858
15169
|
});
|
|
15859
15170
|
};
|
|
15860
15171
|
|
|
15861
|
-
var
|
|
15862
|
-
|
|
15863
|
-
componentId: "sc-1p04ez8-0"
|
|
15864
|
-
})(["position:relative;background:", ";border:1px solid ", ";border-radius:10px;padding:42px 30px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;", "{flex-direction:column;padding:30px 20px;}"], function (_ref) {
|
|
15172
|
+
var _templateObject$x, _templateObject2$p, _templateObject3$j, _templateObject4$f, _templateObject5$d, _templateObject6$9, _templateObject7$5, _templateObject8$2, _templateObject9$1, _templateObject0$1, _templateObject1$1, _templateObject10$1, _templateObject11$1, _templateObject12, _templateObject13;
|
|
15173
|
+
var AccountInfoWrapper = styled.div(_templateObject$x || (_templateObject$x = _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) {
|
|
15865
15174
|
var theme = _ref.theme;
|
|
15866
15175
|
return theme.colors.card;
|
|
15867
15176
|
}, function (_ref2) {
|
|
@@ -15871,20 +15180,14 @@ var AccountInfoWrapper = styled.div.withConfig({
|
|
|
15871
15180
|
var theme = _ref3.theme;
|
|
15872
15181
|
return theme.mediaQueries.tablet;
|
|
15873
15182
|
});
|
|
15874
|
-
var StyledAccountInfo = styled.div
|
|
15875
|
-
displayName: "AccountInfo__StyledAccountInfo",
|
|
15876
|
-
componentId: "sc-1p04ez8-1"
|
|
15877
|
-
})(["display:flex;flex-direction:column;align-items:space-between;justify-content:flex-start;margin-left:28px;", "{margin-bottom:", ";margin-left:0px;}"], function (_ref4) {
|
|
15183
|
+
var StyledAccountInfo = styled.div(_templateObject2$p || (_templateObject2$p = _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) {
|
|
15878
15184
|
var theme = _ref4.theme;
|
|
15879
15185
|
return theme.mediaQueries.mobile;
|
|
15880
15186
|
}, function (_ref5) {
|
|
15881
15187
|
var connectionInProgress = _ref5.connectionInProgress;
|
|
15882
15188
|
return connectionInProgress ? "0px" : "24px";
|
|
15883
15189
|
});
|
|
15884
|
-
var UserComponent = styled.p
|
|
15885
|
-
displayName: "AccountInfo__UserComponent",
|
|
15886
|
-
componentId: "sc-1p04ez8-2"
|
|
15887
|
-
})(["display:flex;flex-direction:row;align-items:center;", "{width:100%;margin-bottom:", ";}", "{width:100%;justify-content:", ";}"], function (_ref6) {
|
|
15190
|
+
var UserComponent = styled.p(_templateObject3$j || (_templateObject3$j = _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) {
|
|
15888
15191
|
var theme = _ref6.theme;
|
|
15889
15192
|
return theme.mediaQueries.tablet;
|
|
15890
15193
|
}, function (_ref7) {
|
|
@@ -15907,10 +15210,7 @@ var UserComponent = styled.p.withConfig({
|
|
|
15907
15210
|
// border-radius: 23px;
|
|
15908
15211
|
// background: #2b2b38;
|
|
15909
15212
|
// `;
|
|
15910
|
-
var AccountComponent = styled.div
|
|
15911
|
-
displayName: "AccountInfo__AccountComponent",
|
|
15912
|
-
componentId: "sc-1p04ez8-3"
|
|
15913
|
-
})(["display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;border:1px solid ", ";border-radius:10px;background:", ";padding:16px 24px;margin-left:31px;", "{width:100%;align-items:center;margin-left:0px;}"], function (_ref0) {
|
|
15213
|
+
var AccountComponent = styled.div(_templateObject4$f || (_templateObject4$f = _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) {
|
|
15914
15214
|
var theme = _ref0.theme;
|
|
15915
15215
|
return theme.colors.white3;
|
|
15916
15216
|
}, function (_ref1) {
|
|
@@ -15920,38 +15220,23 @@ var AccountComponent = styled.div.withConfig({
|
|
|
15920
15220
|
var theme = _ref10.theme;
|
|
15921
15221
|
return theme.mediaQueries.tablet;
|
|
15922
15222
|
});
|
|
15923
|
-
var BalanceText = styled(Text)
|
|
15924
|
-
displayName: "AccountInfo__BalanceText",
|
|
15925
|
-
componentId: "sc-1p04ez8-4"
|
|
15926
|
-
})(["margin-left:50px;", "{margin-left:0px;}"], function (_ref11) {
|
|
15223
|
+
var BalanceText = styled(Text)(_templateObject5$d || (_templateObject5$d = _taggedTemplateLiteral(["\n margin-left: 50px;\n ", " {\n margin-left: 0px;\n }\n"])), function (_ref11) {
|
|
15927
15224
|
var theme = _ref11.theme;
|
|
15928
15225
|
return theme.mediaQueries.tablet;
|
|
15929
15226
|
});
|
|
15930
|
-
var AccountTitle = styled(Text)
|
|
15931
|
-
displayName: "AccountInfo__AccountTitle",
|
|
15932
|
-
componentId: "sc-1p04ez8-5"
|
|
15933
|
-
})(["", "{display:none;}"], function (_ref12) {
|
|
15227
|
+
var AccountTitle = styled(Text)(_templateObject6$9 || (_templateObject6$9 = _taggedTemplateLiteral(["\n ", " {\n display: none;\n }\n"])), function (_ref12) {
|
|
15934
15228
|
var theme = _ref12.theme;
|
|
15935
15229
|
return theme.mediaQueries.mobile;
|
|
15936
15230
|
});
|
|
15937
|
-
var StyledUserAvatar = styled(Icon$20)
|
|
15938
|
-
displayName: "AccountInfo__StyledUserAvatar",
|
|
15939
|
-
componentId: "sc-1p04ez8-6"
|
|
15940
|
-
})(["width:44px;height:44px;z-index:99999;", "{display:none;}"], function (_ref13) {
|
|
15231
|
+
var StyledUserAvatar = styled(Icon$20)(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteral(["\n width: 44px;\n height: 44px;\n z-index: 99999;\n ", " {\n display: none;\n }\n"])), function (_ref13) {
|
|
15941
15232
|
var theme = _ref13.theme;
|
|
15942
15233
|
return theme.mediaQueries.mobile;
|
|
15943
15234
|
});
|
|
15944
|
-
var StyledMobileUserAvatar = styled(Icon$1$)
|
|
15945
|
-
displayName: "AccountInfo__StyledMobileUserAvatar",
|
|
15946
|
-
componentId: "sc-1p04ez8-7"
|
|
15947
|
-
})(["width:44px;height:44px;display:none;", "{display:block;}"], function (_ref14) {
|
|
15235
|
+
var StyledMobileUserAvatar = styled(Icon$1$)(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral(["\n width: 44px;\n height: 44px;\n display: none;\n ", " {\n display: block;\n }\n"])), function (_ref14) {
|
|
15948
15236
|
var theme = _ref14.theme;
|
|
15949
15237
|
return theme.mediaQueries.mobile;
|
|
15950
15238
|
});
|
|
15951
|
-
var UserUpdateComponent = styled.div
|
|
15952
|
-
displayName: "AccountInfo__UserUpdateComponent",
|
|
15953
|
-
componentId: "sc-1p04ez8-8"
|
|
15954
|
-
})(["right:0px;top:-54px;position:absolute;display:", ";flex-direction:row;align-items:center;", "{display:", ";position:relative;top:0px;flex-direction:column;justify-content:space-between;align-items:flex-end;}"], function (_ref15) {
|
|
15239
|
+
var UserUpdateComponent = styled.div(_templateObject9$1 || (_templateObject9$1 = _taggedTemplateLiteral(["\n right: 0px;\n top: -54px;\n position: absolute;\n display: ", ";\n flex-direction: row;\n align-items: center;\n ", " {\n display: ", ";\n position: relative;\n top: 0px;\n flex-direction: column;\n justify-content: space-between;\n align-items: flex-end;\n }\n"])), function (_ref15) {
|
|
15955
15240
|
var mobile = _ref15.mobile;
|
|
15956
15241
|
return mobile ? "none" : "flex";
|
|
15957
15242
|
}, function (_ref16) {
|
|
@@ -15961,10 +15246,7 @@ var UserUpdateComponent = styled.div.withConfig({
|
|
|
15961
15246
|
var mobile = _ref17.mobile;
|
|
15962
15247
|
return mobile ? "flex" : "none";
|
|
15963
15248
|
});
|
|
15964
|
-
var MobileUserAndUpdate = styled.div
|
|
15965
|
-
displayName: "AccountInfo__MobileUserAndUpdate",
|
|
15966
|
-
componentId: "sc-1p04ez8-9"
|
|
15967
|
-
})(["display:none;", "{display:flex;width:100%;flex-direction:row;align-items:center;justify-content:", ";margin-bottom:", ";}"], function (_ref18) {
|
|
15249
|
+
var MobileUserAndUpdate = styled.div(_templateObject0$1 || (_templateObject0$1 = _taggedTemplateLiteral(["\n display: none;\n ", " {\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: ", ";\n margin-bottom: ", ";\n }\n"])), function (_ref18) {
|
|
15968
15250
|
var theme = _ref18.theme;
|
|
15969
15251
|
return theme.mediaQueries.mobile;
|
|
15970
15252
|
}, function (_ref19) {
|
|
@@ -15974,41 +15256,26 @@ var MobileUserAndUpdate = styled.div.withConfig({
|
|
|
15974
15256
|
var connectionInProgress = _ref20.connectionInProgress;
|
|
15975
15257
|
return connectionInProgress ? "10px" : "39px";
|
|
15976
15258
|
});
|
|
15977
|
-
var RefreshButton = styled.div
|
|
15978
|
-
displayName: "AccountInfo__RefreshButton",
|
|
15979
|
-
componentId: "sc-1p04ez8-10"
|
|
15980
|
-
})(["display:flex;flex-direction:row;padding:4px 16px;justify-content:space-between;align-items:center;color:", ";font-weight:bold;font-size:14px;line-height:140%;background:#2b2b38;border-radius:7px;cursor:pointer;"], function (_ref21) {
|
|
15259
|
+
var RefreshButton = styled.div(_templateObject1$1 || (_templateObject1$1 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n padding: 4px 16px;\n justify-content: space-between;\n align-items: center;\n color: ", ";\n font-weight: bold;\n font-size: 14px;\n line-height: 140%;\n background: #2b2b38;\n border-radius: 7px;\n cursor: pointer;\n"])), function (_ref21) {
|
|
15981
15260
|
var theme = _ref21.theme;
|
|
15982
15261
|
return theme.colors.white;
|
|
15983
15262
|
});
|
|
15984
|
-
var StyledSyncIcon = styled.div
|
|
15985
|
-
displayName: "AccountInfo__StyledSyncIcon",
|
|
15986
|
-
componentId: "sc-1p04ez8-11"
|
|
15987
|
-
})(["margin-right:10px;height:20px;@keyframes spin{100%{transform:rotate(1turn);}};", "}"], function (_ref22) {
|
|
15263
|
+
var StyledSyncIcon = styled.div(_templateObject10$1 || (_templateObject10$1 = _taggedTemplateLiteral(["\n margin-right: 10px;\n height: 20px;\n @keyframes spin {\n 100% {\n transform: rotate(1turn);\n }\n };\n ", "\n}\n"])), function (_ref22) {
|
|
15988
15264
|
var syncing = _ref22.syncing;
|
|
15989
15265
|
return syncing && "animation: spin 2s linear infinite;";
|
|
15990
15266
|
});
|
|
15991
|
-
var UpdatedText = styled(Text)
|
|
15992
|
-
displayName: "AccountInfo__UpdatedText",
|
|
15993
|
-
componentId: "sc-1p04ez8-12"
|
|
15994
|
-
})(["font-size:12px;line-height:170%;margin-bottom:0px;margin-right:14px;color:", ";", "{margin-bottom:10px;margin-right:0px;}"], function (_ref23) {
|
|
15267
|
+
var UpdatedText = styled(Text)(_templateObject11$1 || (_templateObject11$1 = _taggedTemplateLiteral(["\n font-size: 12px;\n line-height: 170%;\n margin-bottom: 0px;\n margin-right: 14px;\n color: ", ";\n ", " {\n margin-bottom: 10px;\n margin-right: 0px;\n }\n"])), function (_ref23) {
|
|
15995
15268
|
var theme = _ref23.theme;
|
|
15996
15269
|
return theme.colors.white55;
|
|
15997
15270
|
}, function (_ref24) {
|
|
15998
15271
|
var theme = _ref24.theme;
|
|
15999
15272
|
return theme.mediaQueries.mobile;
|
|
16000
15273
|
});
|
|
16001
|
-
var ValuesDetails = styled.div
|
|
16002
|
-
displayName: "AccountInfo__ValuesDetails",
|
|
16003
|
-
componentId: "sc-1p04ez8-13"
|
|
16004
|
-
})(["display:flex;justify-content:flex-end;align-items:center;", "{flex-direction:column-reverse;width:100%;}"], function (_ref25) {
|
|
15274
|
+
var ValuesDetails = styled.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n align-items: center;\n ", " {\n flex-direction: column-reverse;\n width: 100%;\n }\n"])), function (_ref25) {
|
|
16005
15275
|
var theme = _ref25.theme;
|
|
16006
15276
|
return theme.mediaQueries.tablet;
|
|
16007
15277
|
});
|
|
16008
|
-
var LoadingDots = styled.p.
|
|
16009
|
-
displayName: "AccountInfo__LoadingDots",
|
|
16010
|
-
componentId: "sc-1p04ez8-14"
|
|
16011
|
-
})(["width:50px;color:white;font-size:26px;text-align:", ";&::after{content:\" .\";animation:dots 1.5s steps(5,end) infinite;}@keyframes dots{0%,20%{color:rgba(0,0,0,0);text-shadow:0.25em 0 0 rgba(0,0,0,0),0.5em 0 0 rgba(0,0,0,0);}40%{color:white;text-shadow:0.25em 0 0 rgba(0,0,0,0),0.5em 0 0 rgba(0,0,0,0);}60%{text-shadow:0.25em 0 0 white,0.5em 0 0 rgba(0,0,0,0);}80%,100%{text-shadow:0.25em 0 0 white,0.5em 0 0 white;}}"], function (_ref26) {
|
|
15278
|
+
var LoadingDots = styled.p(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n width: 50px;\n color: white;\n font-size: 26px;\n text-align: ", ";\n &::after {\n content: \" .\";\n animation: dots 1.5s steps(5, end) infinite;\n }\n\n @keyframes dots {\n 0%,\n 20% {\n color: rgba(0, 0, 0, 0);\n text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);\n }\n 40% {\n color: white;\n text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);\n }\n 60% {\n text-shadow: 0.25em 0 0 white, 0.5em 0 0 rgba(0, 0, 0, 0);\n }\n 80%,\n 100% {\n text-shadow: 0.25em 0 0 white, 0.5em 0 0 white;\n }\n }\n"])), function (_ref26) {
|
|
16012
15279
|
var centered = _ref26.centered;
|
|
16013
15280
|
return centered ? "center" : "left";
|
|
16014
15281
|
});
|
|
@@ -16242,61 +15509,23 @@ var Icon$C = function Icon() {
|
|
|
16242
15509
|
});
|
|
16243
15510
|
};
|
|
16244
15511
|
|
|
16245
|
-
var
|
|
16246
|
-
|
|
16247
|
-
componentId: "sc-kcmda0-0"
|
|
16248
|
-
})(["height:", ";width:350px;padding:24px;background:#191921;border-radius:10px;@media screen and (max-width:1180px){height:auto;}"], function (_ref) {
|
|
15512
|
+
var _templateObject$w, _templateObject2$o, _templateObject3$i, _templateObject4$e, _templateObject5$c, _templateObject6$8, _templateObject7$4, _templateObject8$1, _templateObject9, _templateObject0, _templateObject1, _templateObject10, _templateObject11;
|
|
15513
|
+
var Wrapper$2 = styled.div(_templateObject$w || (_templateObject$w = _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) {
|
|
16249
15514
|
var height = _ref.height;
|
|
16250
15515
|
return height ? "".concat(height, "px") : "auto";
|
|
16251
15516
|
});
|
|
16252
|
-
var Header = styled.div
|
|
16253
|
-
|
|
16254
|
-
|
|
16255
|
-
|
|
16256
|
-
var
|
|
16257
|
-
|
|
16258
|
-
|
|
16259
|
-
|
|
16260
|
-
var
|
|
16261
|
-
|
|
16262
|
-
|
|
16263
|
-
|
|
16264
|
-
var CssPowerText = styled(Text).withConfig({
|
|
16265
|
-
displayName: "TierCard__CssPowerText",
|
|
16266
|
-
componentId: "sc-kcmda0-4"
|
|
16267
|
-
})(["color:rgba(255,255,255,0.55);"]);
|
|
16268
|
-
var RequirementDescripton = styled(Text).withConfig({
|
|
16269
|
-
displayName: "TierCard__RequirementDescripton",
|
|
16270
|
-
componentId: "sc-kcmda0-5"
|
|
16271
|
-
})(["color:rgba(255,255,255,0.55);"]);
|
|
16272
|
-
var BulletPointText = styled(Text).withConfig({
|
|
16273
|
-
displayName: "TierCard__BulletPointText",
|
|
16274
|
-
componentId: "sc-kcmda0-6"
|
|
16275
|
-
})(["color:rgba(255,255,255,0.55);margin-left:20px;"]);
|
|
16276
|
-
var CssPowerWrapper = styled.div.withConfig({
|
|
16277
|
-
displayName: "TierCard__CssPowerWrapper",
|
|
16278
|
-
componentId: "sc-kcmda0-7"
|
|
16279
|
-
})(["display:flex;justify-content:flex-start;margin-top:16px;margin-bottom:30px;"]);
|
|
16280
|
-
var CssPowerValueWrapper = styled.div.withConfig({
|
|
16281
|
-
displayName: "TierCard__CssPowerValueWrapper",
|
|
16282
|
-
componentId: "sc-kcmda0-8"
|
|
16283
|
-
})(["display:flex;flex-direction:column;margin-left:12px;"]);
|
|
16284
|
-
var RequirementsDescriptionWrapper = styled.div.withConfig({
|
|
16285
|
-
displayName: "TierCard__RequirementsDescriptionWrapper",
|
|
16286
|
-
componentId: "sc-kcmda0-9"
|
|
16287
|
-
})(["display:flex;flex-direction:column;margin-top:32px;margin-bottom:16px;gap:16px;"]);
|
|
16288
|
-
var BulletPointLine = styled(Text).withConfig({
|
|
16289
|
-
displayName: "TierCard__BulletPointLine",
|
|
16290
|
-
componentId: "sc-kcmda0-10"
|
|
16291
|
-
})(["display:flex;align-items:center;margin-bottom:8px;"]);
|
|
16292
|
-
var BulletPointIconWrapper = styled.div.withConfig({
|
|
16293
|
-
displayName: "TierCard__BulletPointIconWrapper",
|
|
16294
|
-
componentId: "sc-kcmda0-11"
|
|
16295
|
-
})(["display:flex;"]);
|
|
16296
|
-
var AdditionalInfo = styled(Text).withConfig({
|
|
16297
|
-
displayName: "TierCard__AdditionalInfo",
|
|
16298
|
-
componentId: "sc-kcmda0-12"
|
|
16299
|
-
})(["color:rgba(255,255,255,0.55);margin-top:32px;"]);
|
|
15517
|
+
var Header = styled.div(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
|
|
15518
|
+
var PoolWeightWrapper = styled.div(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteral(["\n width: auto;\n display: flex;\n flex-direction: column;\n"])));
|
|
15519
|
+
var PoolWeightText = styled(Text)(_templateObject4$e || (_templateObject4$e = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
15520
|
+
var CssPowerText = styled(Text)(_templateObject5$c || (_templateObject5$c = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n"])));
|
|
15521
|
+
var RequirementDescripton = styled(Text)(_templateObject6$8 || (_templateObject6$8 = _taggedTemplateLiteral(["\ncolor: rgba(255, 255, 255, 0.55);\n"])));
|
|
15522
|
+
var BulletPointText = styled(Text)(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteral(["\ncolor: rgba(255, 255, 255, 0.55);\nmargin-left: 20px;\n"])));
|
|
15523
|
+
var CssPowerWrapper = styled.div(_templateObject8$1 || (_templateObject8$1 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n margin-top: 16px;\n margin-bottom: 30px;\n"])));
|
|
15524
|
+
var CssPowerValueWrapper = styled.div(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n margin-left: 12px;\n"])));
|
|
15525
|
+
var RequirementsDescriptionWrapper = styled.div(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n margin-top: 32px;\n margin-bottom: 16px;\n gap: 16px;\n"])));
|
|
15526
|
+
var BulletPointLine = styled(Text)(_templateObject1 || (_templateObject1 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n margin-bottom: 8px;\n"])));
|
|
15527
|
+
var BulletPointIconWrapper = styled.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n display: flex;\n"])));
|
|
15528
|
+
var AdditionalInfo = styled(Text)(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n color: rgba(255, 255, 255, 0.55);\n margin-top: 32px;\n"])));
|
|
16300
15529
|
var TierCard = function TierCard(_ref2) {
|
|
16301
15530
|
var tierNumber = _ref2.tierNumber,
|
|
16302
15531
|
poolWeightPercentage = _ref2.poolWeightPercentage,
|
|
@@ -16365,33 +15594,16 @@ var TierCard = function TierCard(_ref2) {
|
|
|
16365
15594
|
});
|
|
16366
15595
|
};
|
|
16367
15596
|
|
|
16368
|
-
var
|
|
16369
|
-
|
|
16370
|
-
|
|
16371
|
-
|
|
16372
|
-
var
|
|
16373
|
-
|
|
16374
|
-
componentId: "sc-8hnj4a-1"
|
|
16375
|
-
})(["display:flex;flex-direction:column;width:100%;"]);
|
|
16376
|
-
var IconWrapper = styled.div.withConfig({
|
|
16377
|
-
displayName: "IdoParticipationStep__IconWrapper",
|
|
16378
|
-
componentId: "sc-8hnj4a-2"
|
|
16379
|
-
})(["margin:0 auto;max-width:220px;max-height:160px;"]);
|
|
16380
|
-
var StepNumber = styled.p.withConfig({
|
|
16381
|
-
displayName: "IdoParticipationStep__StepNumber",
|
|
16382
|
-
componentId: "sc-8hnj4a-3"
|
|
16383
|
-
})(["display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(255,255,255,0.03);color:#ffffff;opacity:0.55;border-radius:10px;background:#1d1d26;"]);
|
|
16384
|
-
var StepDescription = styled(Text).withConfig({
|
|
16385
|
-
displayName: "IdoParticipationStep__StepDescription",
|
|
16386
|
-
componentId: "sc-8hnj4a-4"
|
|
16387
|
-
})(["text-align:center;color:rgba(255,255,255,0.55);max-width:229px;", "{font-size:14px;}"], function (_ref) {
|
|
15597
|
+
var _templateObject$v, _templateObject2$n, _templateObject3$h, _templateObject4$d, _templateObject5$b, _templateObject6$7;
|
|
15598
|
+
var Wrapper$1 = styled.div(_templateObject$v || (_templateObject$v = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: 300px;\n"])));
|
|
15599
|
+
var Upper = styled.div(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n width: 100%;\n"])));
|
|
15600
|
+
var IconWrapper = styled.div(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral(["\n margin: 0 auto;\n max-width: 220px;\n max-height: 160px;\n"])));
|
|
15601
|
+
var StepNumber = styled.p(_templateObject4$d || (_templateObject4$d = _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"])));
|
|
15602
|
+
var StepDescription = styled(Text)(_templateObject5$b || (_templateObject5$b = _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) {
|
|
16388
15603
|
var theme = _ref.theme;
|
|
16389
15604
|
return theme.mediaQueries.mobile;
|
|
16390
15605
|
});
|
|
16391
|
-
var StepLowerDescription = styled(StepDescription)
|
|
16392
|
-
displayName: "IdoParticipationStep__StepLowerDescription",
|
|
16393
|
-
componentId: "sc-8hnj4a-5"
|
|
16394
|
-
})(["margin-top:20px;"]);
|
|
15606
|
+
var StepLowerDescription = styled(StepDescription)(_templateObject6$7 || (_templateObject6$7 = _taggedTemplateLiteral(["\n margin-top: 20px;\n"])));
|
|
16395
15607
|
var getIconByStepNumber = function getIconByStepNumber(stepNumer) {
|
|
16396
15608
|
switch (stepNumer) {
|
|
16397
15609
|
case 1:
|
|
@@ -16444,35 +15656,21 @@ var IdoParticipationStep = function IdoParticipationStep(_ref2) {
|
|
|
16444
15656
|
});
|
|
16445
15657
|
};
|
|
16446
15658
|
|
|
16447
|
-
var
|
|
16448
|
-
|
|
16449
|
-
componentId: "sc-ge61bg-0"
|
|
16450
|
-
})(["display:flex;flex-direction:column;height:max-content;background:", ";border-radius:16px;padding:32px;"], function (_ref) {
|
|
15659
|
+
var _templateObject$u, _templateObject2$m, _templateObject3$g, _templateObject4$c, _templateObject5$a, _templateObject6$6, _templateObject7$3;
|
|
15660
|
+
var UserTiersWrapper = styled.div(_templateObject$u || (_templateObject$u = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n height: max-content;\n background: ", ";\n border-radius: 16px;\n padding: 32px;\n"])), function (_ref) {
|
|
16451
15661
|
var theme = _ref.theme;
|
|
16452
15662
|
return theme.colors.card;
|
|
16453
15663
|
});
|
|
16454
|
-
var TiersTitle = styled(Text)
|
|
16455
|
-
displayName: "UserTiers__TiersTitle",
|
|
16456
|
-
componentId: "sc-ge61bg-1"
|
|
16457
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;color:", ";margin-bottom:20px;"], function (_ref2) {
|
|
15664
|
+
var TiersTitle = styled(Text)(_templateObject2$m || (_templateObject2$m = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n margin-bottom: 20px;\n"])), function (_ref2) {
|
|
16458
15665
|
var theme = _ref2.theme;
|
|
16459
15666
|
return theme.colors.white;
|
|
16460
15667
|
});
|
|
16461
|
-
var Column = styled.div
|
|
16462
|
-
|
|
16463
|
-
componentId: "sc-ge61bg-2"
|
|
16464
|
-
})(["display:flex;flex-direction:column;justify-content:flex-start;"]);
|
|
16465
|
-
var TierRow = styled(Box).withConfig({
|
|
16466
|
-
displayName: "UserTiers__TierRow",
|
|
16467
|
-
componentId: "sc-ge61bg-3"
|
|
16468
|
-
})(["width:100%;display:flex;justify-content:space-between;align-items:center;padding:10px 0px;border-bottom:", ";"], function (_ref3) {
|
|
15668
|
+
var Column = styled.div(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n"])));
|
|
15669
|
+
var TierRow = styled(Box)(_templateObject4$c || (_templateObject4$c = _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) {
|
|
16469
15670
|
var bordered = _ref3.bordered;
|
|
16470
15671
|
return bordered && "1px solid #272730";
|
|
16471
15672
|
});
|
|
16472
|
-
var TierNumberText = styled(Text)
|
|
16473
|
-
displayName: "UserTiers__TierNumberText",
|
|
16474
|
-
componentId: "sc-ge61bg-4"
|
|
16475
|
-
})(["font-size:14px;line-height:160%;color:", ";font-weight:", ";position:relative;"], function (_ref4) {
|
|
15673
|
+
var TierNumberText = styled(Text)(_templateObject5$a || (_templateObject5$a = _taggedTemplateLiteral(["\n font-size: 14px;\n line-height: 160%;\n color: ", ";\n font-weight: ", ";\n position: relative;\n"])), function (_ref4) {
|
|
16476
15674
|
var theme = _ref4.theme,
|
|
16477
15675
|
active = _ref4.active;
|
|
16478
15676
|
return active ? theme.colors.white : "#818c92";
|
|
@@ -16480,14 +15678,8 @@ var TierNumberText = styled(Text).withConfig({
|
|
|
16480
15678
|
var active = _ref5.active;
|
|
16481
15679
|
return active ? "bold" : "normal";
|
|
16482
15680
|
});
|
|
16483
|
-
var TierInfoTag = styled(StyledTag)
|
|
16484
|
-
|
|
16485
|
-
componentId: "sc-ge61bg-5"
|
|
16486
|
-
})(["font-size:11px;height:max-content;margin-right:5px;"]);
|
|
16487
|
-
var TagsRow = styled.div.withConfig({
|
|
16488
|
-
displayName: "UserTiers__TagsRow",
|
|
16489
|
-
componentId: "sc-ge61bg-6"
|
|
16490
|
-
})(["position:absolute;left:45px;display:flex;"]);
|
|
15681
|
+
var TierInfoTag = styled(StyledTag)(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteral(["\n font-size: 11px;\n height: max-content;\n margin-right: 5px;\n"])));
|
|
15682
|
+
var TagsRow = styled.div(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n position: absolute;\n left: 45px;\n display: flex;\n"])));
|
|
16491
15683
|
var UserTiers = function UserTiers(props) {
|
|
16492
15684
|
var tiers = props.tiers,
|
|
16493
15685
|
_props$currentUserTie = props.currentUserTier,
|
|
@@ -16555,10 +15747,8 @@ var UserTiers = function UserTiers(props) {
|
|
|
16555
15747
|
});
|
|
16556
15748
|
};
|
|
16557
15749
|
|
|
16558
|
-
var
|
|
16559
|
-
|
|
16560
|
-
componentId: "sc-11c5hed-0"
|
|
16561
|
-
})(["display:flex;justify-content:flex-end;"]);
|
|
15750
|
+
var _templateObject$t;
|
|
15751
|
+
var StyledMultiValue = styled.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n"])));
|
|
16562
15752
|
var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
16563
15753
|
var spaceRound = _ref.spaceRound,
|
|
16564
15754
|
useEndTime = _ref.useEndTime,
|
|
@@ -16592,14 +15782,9 @@ var SpacePadKeyMetrics = function SpacePadKeyMetrics(_ref) {
|
|
|
16592
15782
|
});
|
|
16593
15783
|
};
|
|
16594
15784
|
|
|
16595
|
-
var
|
|
16596
|
-
|
|
16597
|
-
|
|
16598
|
-
})(["width:100%;background:#1d1d26;padding:44px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;margin-top:70px;"]);
|
|
16599
|
-
var ForProjects = styled(Text).withConfig({
|
|
16600
|
-
displayName: "SpacePadLaunch__ForProjects",
|
|
16601
|
-
componentId: "sc-8kj88a-1"
|
|
16602
|
-
})(["margin:0 auto;width:135px;text-align:center;border:1px solid ", ";color:", ";line-height:28px;border-radius:10px;"], function (_ref) {
|
|
15785
|
+
var _templateObject$s, _templateObject2$l, _templateObject3$f, _templateObject4$b, _templateObject5$9;
|
|
15786
|
+
var LaunchWrapper = styled.div(_templateObject$s || (_templateObject$s = _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"])));
|
|
15787
|
+
var ForProjects = styled(Text)(_templateObject2$l || (_templateObject2$l = _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) {
|
|
16603
15788
|
var theme = _ref.theme,
|
|
16604
15789
|
mainColor = _ref.mainColor;
|
|
16605
15790
|
return mainColor || theme.colors.darkPurple;
|
|
@@ -16608,18 +15793,9 @@ var ForProjects = styled(Text).withConfig({
|
|
|
16608
15793
|
mainColor = _ref2.mainColor;
|
|
16609
15794
|
return mainColor || theme.colors.darkPurple;
|
|
16610
15795
|
});
|
|
16611
|
-
var LaunchHeader = styled(Text)
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
|
-
})(["margin:20px 0;text-align:center;@media screen and (max-width:760px){width:310px;font-size:26px;}"]);
|
|
16615
|
-
var LaunchDescription = styled(Text).withConfig({
|
|
16616
|
-
displayName: "SpacePadLaunch__LaunchDescription",
|
|
16617
|
-
componentId: "sc-8kj88a-3"
|
|
16618
|
-
})(["width:630px;color:rgba(255,255,255,0.55);text-align:center;@media screen and (max-width:760px){width:310px;}"]);
|
|
16619
|
-
var ApplyForIdoButton = styled(Button$1).withConfig({
|
|
16620
|
-
displayName: "SpacePadLaunch__ApplyForIdoButton",
|
|
16621
|
-
componentId: "sc-8kj88a-4"
|
|
16622
|
-
})(["width:161px;height:44px;border-radius:10px;background:#12ffb8;margin-top:45px;"]);
|
|
15796
|
+
var LaunchHeader = styled(Text)(_templateObject3$f || (_templateObject3$f = _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"])));
|
|
15797
|
+
var LaunchDescription = styled(Text)(_templateObject4$b || (_templateObject4$b = _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"])));
|
|
15798
|
+
var ApplyForIdoButton = styled(Button$1)(_templateObject5$9 || (_templateObject5$9 = _taggedTemplateLiteral(["\n width: 161px;\n height: 44px;\n border-radius: 10px;\n background: #12ffb8;\n margin-top: 45px;\n"])));
|
|
16623
15799
|
var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
16624
15800
|
var title = _ref3.title,
|
|
16625
15801
|
description = _ref3.description,
|
|
@@ -16648,22 +15824,15 @@ var SpacePadLaunch = function SpacePadLaunch(_ref3) {
|
|
|
16648
15824
|
});
|
|
16649
15825
|
};
|
|
16650
15826
|
|
|
16651
|
-
var
|
|
16652
|
-
|
|
16653
|
-
componentId: "sc-q2pgu9-0"
|
|
16654
|
-
})(["font-weight:bold;font-size:32px;line-height:130%;color:", ";"], function (_ref) {
|
|
15827
|
+
var _templateObject$r;
|
|
15828
|
+
var ReferralTitle = styled(Text)(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n font-weight: bold;\n font-size: 32px;\n line-height: 130%;\n color: ", ";\n"])), function (_ref) {
|
|
16655
15829
|
var fontColor = _ref.fontColor;
|
|
16656
15830
|
return fontColor || "#ffffff";
|
|
16657
15831
|
});
|
|
16658
15832
|
|
|
16659
|
-
var
|
|
16660
|
-
|
|
16661
|
-
|
|
16662
|
-
})(["display:flex;flex-direction:column;"]);
|
|
16663
|
-
var InvitationDescription = styled(Text).withConfig({
|
|
16664
|
-
displayName: "ReferralBanner__InvitationDescription",
|
|
16665
|
-
componentId: "sc-3cib5z-1"
|
|
16666
|
-
})(["font-weight:normal;font-size:16px;line-height:24px;color:#818c92;margin-bottom:24px;"]);
|
|
15833
|
+
var _templateObject$q, _templateObject2$k;
|
|
15834
|
+
var ReferralBannerWrapper = styled.div(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n"])));
|
|
15835
|
+
var InvitationDescription = styled(Text)(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n font-weight: normal;\n font-size: 16px;\n line-height: 24px;\n color: #818c92;\n margin-bottom: 24px;\n"])));
|
|
16667
15836
|
var ReferralBanner = function ReferralBanner(props) {
|
|
16668
15837
|
var refFee = props.refFee,
|
|
16669
15838
|
onReadMore = props.onReadMore,
|
|
@@ -16728,36 +15897,19 @@ var copyValueToClipboard = function copyValueToClipboard(value, copyCallback) {
|
|
|
16728
15897
|
}, 3000);
|
|
16729
15898
|
};
|
|
16730
15899
|
|
|
16731
|
-
var
|
|
16732
|
-
|
|
16733
|
-
componentId: "sc-wd2wdf-0"
|
|
16734
|
-
})(["border:none;padding:15px;width:100%;margin-bottom:24px;", "{padding:25px 30px;}"], function (_ref) {
|
|
15900
|
+
var _templateObject$p, _templateObject2$j, _templateObject3$e, _templateObject4$a, _templateObject5$8, _templateObject6$5;
|
|
15901
|
+
var TableCard = styled(Card)(_templateObject$p || (_templateObject$p = _taggedTemplateLiteral(["\n border: none;\n padding: 15px;\n width: 100%;\n margin-bottom: 24px;\n ", " {\n padding: 25px 30px;\n }\n"])), function (_ref) {
|
|
16735
15902
|
var theme = _ref.theme;
|
|
16736
15903
|
return theme.mediaQueries.sm;
|
|
16737
15904
|
});
|
|
16738
|
-
var CopyLinkCardWrapper = styled(TableCard)
|
|
16739
|
-
|
|
16740
|
-
componentId: "sc-wd2wdf-1"
|
|
16741
|
-
})(["background:#1d1d26;display:flex;flex-direction:column;justify-content:space-between;"]);
|
|
16742
|
-
var MyReferralCard = styled(TableCard).withConfig({
|
|
16743
|
-
displayName: "CopyLinkCard__MyReferralCard",
|
|
16744
|
-
componentId: "sc-wd2wdf-2"
|
|
16745
|
-
})(["background:#16161d;display:flex;justify-content:space-between;align-items:center;grid-column:span 6;", "{grid-column:span 7;}"], function (_ref2) {
|
|
15905
|
+
var CopyLinkCardWrapper = styled(TableCard)(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n background: #1d1d26;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n"])));
|
|
15906
|
+
var MyReferralCard = styled(TableCard)(_templateObject3$e || (_templateObject3$e = _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) {
|
|
16746
15907
|
var theme = _ref2.theme;
|
|
16747
15908
|
return theme.mediaQueries.sm;
|
|
16748
15909
|
});
|
|
16749
|
-
var RefLink = styled(Text)
|
|
16750
|
-
|
|
16751
|
-
|
|
16752
|
-
})(["display:inline;align-items:center;text-overflow:ellipsis;width:80%;overflow:hidden;white-space:nowrap;height:max-content;font-weight:600;font-size:16px;line-height:24px;"]);
|
|
16753
|
-
var SocialRow = styled.div.withConfig({
|
|
16754
|
-
displayName: "CopyLinkCard__SocialRow",
|
|
16755
|
-
componentId: "sc-wd2wdf-4"
|
|
16756
|
-
})(["display:flex;align-items:center;justify-content:flex-start;"]);
|
|
16757
|
-
var ShareText = styled(Text).withConfig({
|
|
16758
|
-
displayName: "CopyLinkCard__ShareText",
|
|
16759
|
-
componentId: "sc-wd2wdf-5"
|
|
16760
|
-
})(["font-weight:700;font-size:14px;line-height:170%;color:#ffffff;margin-right:32px;"]);
|
|
15910
|
+
var RefLink = styled(Text)(_templateObject4$a || (_templateObject4$a = _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"])));
|
|
15911
|
+
var SocialRow = styled.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n justify-content: flex-start;\n"])));
|
|
15912
|
+
var ShareText = styled(Text)(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteral(["\n font-weight: 700;\n font-size: 14px;\n line-height: 170%;\n color: #ffffff;\n margin-right: 32px;\n"])));
|
|
16761
15913
|
var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
16762
15914
|
var refLink = _ref3.refLink;
|
|
16763
15915
|
var _useState = React.useState(false),
|
|
@@ -17503,17 +16655,12 @@ var IconModule = /*#__PURE__*/Object.freeze({
|
|
|
17503
16655
|
YouTubeIcon: Icon$e
|
|
17504
16656
|
});
|
|
17505
16657
|
|
|
17506
|
-
var
|
|
17507
|
-
|
|
17508
|
-
componentId: "sc-1u6975p-0"
|
|
17509
|
-
})(["display:flex;display:-webkit-flex;align-items:center;-webkit-align-items:center;.mobile-icon{width:32px;margin-left:10px;}.desktop-icon{width:156px;display:none;", "{display:block;}}margin-left:0px;"], function (_ref) {
|
|
16658
|
+
var _templateObject$o, _templateObject2$i;
|
|
16659
|
+
var StyledLink = styled(reactRouterDom.Link)(_templateObject$o || (_templateObject$o = _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) {
|
|
17510
16660
|
var theme = _ref.theme;
|
|
17511
16661
|
return theme.mediaQueries.nav;
|
|
17512
16662
|
});
|
|
17513
|
-
var CoinswapLogo = styled.div.
|
|
17514
|
-
displayName: "Logo__CoinswapLogo",
|
|
17515
|
-
componentId: "sc-1u6975p-1"
|
|
17516
|
-
})(["opacity:", ";width:", ";transition:width 0.6s,opacity 0.3s;"], function (_ref2) {
|
|
16663
|
+
var CoinswapLogo = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n opacity: ", ";\n width: ", ";\n transition: width 0.6s, opacity 0.3s;\n"])), function (_ref2) {
|
|
17517
16664
|
var isPushed = _ref2.isPushed;
|
|
17518
16665
|
return isPushed ? 1 : 0;
|
|
17519
16666
|
}, function (_ref3) {
|
|
@@ -17706,11 +16853,9 @@ var MENU_ACCORDION_HEIGHT = 30;
|
|
|
17706
16853
|
var SIDEBAR_WIDTH_FULL = 240;
|
|
17707
16854
|
var SIDEBAR_WIDTH_REDUCED = 70;
|
|
17708
16855
|
|
|
17709
|
-
var
|
|
17710
|
-
var
|
|
17711
|
-
|
|
17712
|
-
componentId: "sc-1sxukum-0"
|
|
17713
|
-
})(["display:flex;flex-direction:row;color:", ";transition:all 0.7s;flex-grow:1;font-weight:700;font-size:14px;width:100%;opacity:", ";"], function (_ref) {
|
|
16856
|
+
var _templateObject$n, _templateObject2$h, _templateObject3$d;
|
|
16857
|
+
var rainbowAnimation = styled.keyframes(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n 0%,\n 100% {\n background-position: 0 0;\n }\n 50% {\n background-position: 100% 0;\n }\n"])));
|
|
16858
|
+
var LinkLabel = styled.div(_templateObject2$h || (_templateObject2$h = _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) {
|
|
17714
16859
|
var isPushed = _ref.isPushed,
|
|
17715
16860
|
isActive = _ref.isActive;
|
|
17716
16861
|
return !isPushed ? "transparent" : isActive ? "rgba(255, 255, 255, 1)" : "rgba(255, 255, 255, 0.5)";
|
|
@@ -17718,10 +16863,7 @@ var LinkLabel = styled.div.withConfig({
|
|
|
17718
16863
|
var isPushed = _ref2.isPushed;
|
|
17719
16864
|
return isPushed ? "1" : "0";
|
|
17720
16865
|
});
|
|
17721
|
-
var MenuEntry = styled.div.
|
|
17722
|
-
displayName: "MenuEntry",
|
|
17723
|
-
componentId: "sc-1sxukum-1"
|
|
17724
|
-
})(["cursor:pointer;display:flex;align-items:center;height:", "px;width:", "px;padding:", ";font-size:14px;background-color:", ";color:", ";transition:all 0.9s;", "{height:40px;}a{display:flex;align-items:center;width:100%;height:100%;color:", ";font-weight:700;transition:all 0.5s;}.dot{height:5px;width:5px;border-radius:50%;display:inline-block;background-color:", ";}svg{fill:", ";margin-right:13px;}&:hover{svg{path{fill:#12ffb8;fill-opacity:1;}margin-right:", ";}div,a{svg{path{fill:", ";}}}div,a{color:rgba(255,255,255,1);}}flex-shrink:0;&.rainbow{background-clip:text;animation:", " 3s ease-in-out infinite;background:", ";background-size:400% 100%;}"], MENU_ENTRY_HEIGHT, SIDEBAR_WIDTH_FULL, function (_ref3) {
|
|
16866
|
+
var MenuEntry = styled.div(_templateObject3$d || (_templateObject3$d = _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) {
|
|
17725
16867
|
var secondary = _ref3.secondary;
|
|
17726
16868
|
return secondary ? "0 32px" : "0 25px";
|
|
17727
16869
|
}, function (_ref4) {
|
|
@@ -17760,14 +16902,9 @@ MenuEntry.defaultProps = {
|
|
|
17760
16902
|
role: "button"
|
|
17761
16903
|
};
|
|
17762
16904
|
|
|
17763
|
-
var
|
|
17764
|
-
|
|
17765
|
-
|
|
17766
|
-
})(["display:flex;flex-direction:column;flex-shrink:0;"]);
|
|
17767
|
-
var AccordionContent = styled.div.withConfig({
|
|
17768
|
-
displayName: "Accordion__AccordionContent",
|
|
17769
|
-
componentId: "sc-1j605qy-1"
|
|
17770
|
-
})(["max-height:", ";transition:max-height 0.3s ease-out;overflow-x:hidden;overflow-y:scroll;border-color:", ";border-style:solid;border-width:1px 0;border-bottom:none;"], function (_ref) {
|
|
16905
|
+
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
16906
|
+
var Container$2 = styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n // Safari fix\n flex-shrink: 0;\n"])));
|
|
16907
|
+
var AccordionContent = styled.div(_templateObject2$g || (_templateObject2$g = _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) {
|
|
17771
16908
|
var isOpen = _ref.isOpen,
|
|
17772
16909
|
maxHeight = _ref.maxHeight;
|
|
17773
16910
|
return isOpen ? "".concat(maxHeight, "px") : 0;
|
|
@@ -17776,10 +16913,7 @@ var AccordionContent = styled.div.withConfig({
|
|
|
17776
16913
|
isPushed = _ref2.isPushed;
|
|
17777
16914
|
return isOpen && isPushed ? "rgba(133, 133, 133, 0.1)" : "transparent";
|
|
17778
16915
|
});
|
|
17779
|
-
var ArrowIcon = styled(Icon$2x).
|
|
17780
|
-
displayName: "Accordion__ArrowIcon",
|
|
17781
|
-
componentId: "sc-1j605qy-2"
|
|
17782
|
-
})(["margin-right:-7px !important;transform:rotate(", "deg);transition:transform 0.4s;"], function (_ref3) {
|
|
16916
|
+
var ArrowIcon = styled(Icon$2x)(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral(["\n margin-right: -7px !important;\n transform: rotate(", "deg);\n transition: transform 0.4s;\n"])), function (_ref3) {
|
|
17783
16917
|
var isOpen = _ref3.isOpen;
|
|
17784
16918
|
return isOpen ? 0 : 180;
|
|
17785
16919
|
});
|
|
@@ -17852,18 +16986,13 @@ exports.ExtraIcon = void 0;
|
|
|
17852
16986
|
ExtraIcon["new"] = "new";
|
|
17853
16987
|
})(exports.ExtraIcon || (exports.ExtraIcon = {}));
|
|
17854
16988
|
|
|
16989
|
+
var _templateObject$l, _templateObject2$f;
|
|
17855
16990
|
var Icons$2 = IconModule;
|
|
17856
|
-
var Container$1 = styled.div
|
|
17857
|
-
displayName: "PanelBody__Container",
|
|
17858
|
-
componentId: "sc-1qgqorz-0"
|
|
17859
|
-
})(["display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;scrollbar-color:", " transparent;scrollbar-width:thin !important;"], function (_ref) {
|
|
16991
|
+
var Container$1 = styled.div(_templateObject$l || (_templateObject$l = _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) {
|
|
17860
16992
|
var theme = _ref.theme;
|
|
17861
16993
|
return theme.colors.primary;
|
|
17862
16994
|
});
|
|
17863
|
-
var NewLabel = styled.div
|
|
17864
|
-
displayName: "PanelBody__NewLabel",
|
|
17865
|
-
componentId: "sc-1qgqorz-1"
|
|
17866
|
-
})(["display:flex;justify-content:center;align-items:center;color:", " !important;border:solid 1px ", ";border-radius:12px;padding:2px 8px;font-size:10px;line-height:9px;font-weight:700;margin-left:5px;text-align:center;"], function (_ref2) {
|
|
16995
|
+
var NewLabel = styled.div(_templateObject2$f || (_templateObject2$f = _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) {
|
|
17867
16996
|
var theme = _ref2.theme;
|
|
17868
16997
|
return theme.colors.primary;
|
|
17869
16998
|
}, function (_ref3) {
|
|
@@ -17967,10 +17096,8 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17967
17096
|
};
|
|
17968
17097
|
|
|
17969
17098
|
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
17970
|
-
var
|
|
17971
|
-
|
|
17972
|
-
componentId: "sc-11strgr-0"
|
|
17973
|
-
})(["align-items:center;cursor:pointer;display:flex;justify-content:center;font-family:inherit;font-size:16px;font-weight:600;width:", ";height:", ";line-height:1;letter-spacing:0.03em;justify-content:center;outline:0;border:none;transition:background-color 0.2s;background-color:transparent;opacity:", ";margin-left:10px;"], function (_ref) {
|
|
17099
|
+
var _templateObject$k;
|
|
17100
|
+
var StyledNavButton = styled.button(_templateObject$k || (_templateObject$k = _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) {
|
|
17974
17101
|
var fullWidth = _ref.fullWidth;
|
|
17975
17102
|
return fullWidth ? "100%" : "max-content";
|
|
17976
17103
|
}, function (_ref2) {
|
|
@@ -18008,10 +17135,8 @@ NavButton.defaultProps = {
|
|
|
18008
17135
|
disabled: false
|
|
18009
17136
|
};
|
|
18010
17137
|
|
|
18011
|
-
var
|
|
18012
|
-
|
|
18013
|
-
componentId: "sc-1nwrww1-0"
|
|
18014
|
-
})(["color:", ";padding:0 8px;border-radius:8px;"], function (_ref) {
|
|
17138
|
+
var _templateObject$j;
|
|
17139
|
+
var MenuButton = styled(NavButton)(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n color: ", ";\n padding: 0 8px;\n border-radius: 8px;\n"])), function (_ref) {
|
|
18015
17140
|
var theme = _ref.theme;
|
|
18016
17141
|
return theme.colors.text;
|
|
18017
17142
|
});
|
|
@@ -18051,54 +17176,34 @@ var getLangFlag = function getLangFlag(lang) {
|
|
|
18051
17176
|
}
|
|
18052
17177
|
};
|
|
18053
17178
|
|
|
17179
|
+
var _templateObject$i, _templateObject2$e, _templateObject3$b, _templateObject4$9, _templateObject5$7, _templateObject6$4, _templateObject7$2;
|
|
18054
17180
|
var Icons$1 = IconModule;
|
|
18055
17181
|
var LanguageIcon = Icons$1.LanguageIcon;
|
|
18056
|
-
var LangButton = styled(Button$1).
|
|
18057
|
-
displayName: "LangSelector__LangButton",
|
|
18058
|
-
componentId: "sc-1yvxo6n-0"
|
|
18059
|
-
})(["display:flex;flex-direction:row;position:relative;justify-content:flex-start;z-index:9999999;border:1px solid ", ";&:hover:not(:disabled):not(.button--disabled):not(:active){border:1px solid rgba(255,255,255,0.03);}transition:width 0.6s;height:28px;width:", "px;margin-bottom:15px;padding:0px 10px;"], function (_ref) {
|
|
17182
|
+
var LangButton = styled(Button$1)(_templateObject$i || (_templateObject$i = _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) {
|
|
18060
17183
|
var theme = _ref.theme;
|
|
18061
17184
|
return theme.colors.white3;
|
|
18062
17185
|
}, function (_ref2) {
|
|
18063
17186
|
var isPushed = _ref2.isPushed;
|
|
18064
17187
|
return isPushed ? 80 : 40;
|
|
18065
17188
|
});
|
|
18066
|
-
var LangModal = styled.div.
|
|
18067
|
-
displayName: "LangSelector__LangModal",
|
|
18068
|
-
componentId: "sc-1yvxo6n-1"
|
|
18069
|
-
})(["position:absolute;display:", "};bottom:45px;left:0px;background:", ";border:1px solid rgba(255,255,255,0.03);width:267px;height:auto;padding:27px 17px 27px 27px;border-radius:15px;"], function (_ref3) {
|
|
17189
|
+
var LangModal = styled.div(_templateObject2$e || (_templateObject2$e = _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) {
|
|
18070
17190
|
var display = _ref3.display;
|
|
18071
17191
|
return display ? "block" : "none";
|
|
18072
17192
|
}, function (_ref4) {
|
|
18073
17193
|
var theme = _ref4.theme;
|
|
18074
17194
|
return theme.backgrounds.primary;
|
|
18075
17195
|
});
|
|
18076
|
-
var LangsList = styled.div
|
|
18077
|
-
displayName: "LangSelector__LangsList",
|
|
18078
|
-
componentId: "sc-1yvxo6n-2"
|
|
18079
|
-
})(["max-height:170px;overflow-y:scroll;&::-webkit-scrollbar{width:5px !important;}&::-webkit-scrollbar-thumb{background:", " !important;border-radius:8px;}&::-webkit-scrollbar-track{box-shadow:inset 0 0 5px ", ";border-radius:3px;}"], function (_ref5) {
|
|
17196
|
+
var LangsList = styled.div(_templateObject3$b || (_templateObject3$b = _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) {
|
|
18080
17197
|
var theme = _ref5.theme;
|
|
18081
17198
|
return theme.colors.white55;
|
|
18082
17199
|
}, function (_ref6) {
|
|
18083
17200
|
var theme = _ref6.theme;
|
|
18084
17201
|
return theme.colors.white30;
|
|
18085
17202
|
});
|
|
18086
|
-
var TitleContainer = styled.div
|
|
18087
|
-
|
|
18088
|
-
|
|
18089
|
-
|
|
18090
|
-
var ButtonContainer$1 = styled.div.withConfig({
|
|
18091
|
-
displayName: "LangSelector__ButtonContainer",
|
|
18092
|
-
componentId: "sc-1yvxo6n-4"
|
|
18093
|
-
})(["width:100%;text-align:start;padding:0px 8px;"]);
|
|
18094
|
-
var LangText = styled(Text).withConfig({
|
|
18095
|
-
displayName: "LangSelector__LangText",
|
|
18096
|
-
componentId: "sc-1yvxo6n-5"
|
|
18097
|
-
})(["font-size:14px;margin-left:12px;"]);
|
|
18098
|
-
var MainLangText = styled(Text).withConfig({
|
|
18099
|
-
displayName: "LangSelector__MainLangText",
|
|
18100
|
-
componentId: "sc-1yvxo6n-6"
|
|
18101
|
-
})(["opacity:", ";width:", ";transition:width 0.6s,opacity 0.3s;"], function (_ref7) {
|
|
17203
|
+
var TitleContainer = styled.div(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n margin-bottom: 10px;\n"])));
|
|
17204
|
+
var ButtonContainer$1 = styled.div(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteral(["\n width: 100%;\n text-align: start;\n padding: 0px 8px;\n"])));
|
|
17205
|
+
var LangText = styled(Text)(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n font-size: 14px;\n margin-left: 12px;\n"])));
|
|
17206
|
+
var MainLangText = styled(Text)(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["\n opacity: ", ";\n width: ", ";\n transition: width 0.6s, opacity 0.3s;\n"])), function (_ref7) {
|
|
18102
17207
|
var isPushed = _ref7.isPushed;
|
|
18103
17208
|
return isPushed ? 1 : 0;
|
|
18104
17209
|
}, function (_ref8) {
|
|
@@ -18206,14 +17311,9 @@ var LangSelector$1 = /*#__PURE__*/React.memo(LangSelector, function (prev, next)
|
|
|
18206
17311
|
return prev.currentLang === next.currentLang && prev.isPushed === next.isPushed;
|
|
18207
17312
|
});
|
|
18208
17313
|
|
|
18209
|
-
var
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
})(["flex:none;padding:5px 5px 20px 5px;background-color:transparent;position:relative;width:100%;margin-top:15px;"]);
|
|
18213
|
-
var SettingsEntry = styled.div.withConfig({
|
|
18214
|
-
displayName: "PanelFooter__SettingsEntry",
|
|
18215
|
-
componentId: "sc-11jjlfd-1"
|
|
18216
|
-
})(["display:flex;flex-direction:column;align-items:center;justify-content:center;height:auto;"]);
|
|
17314
|
+
var _templateObject$h, _templateObject2$d;
|
|
17315
|
+
var Container = styled.div(_templateObject$h || (_templateObject$h = _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"])));
|
|
17316
|
+
var SettingsEntry = styled.div(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: auto;\n"])));
|
|
18217
17317
|
var PanelFooter = function PanelFooter(_ref) {
|
|
18218
17318
|
var isPushed = _ref.isPushed;
|
|
18219
17319
|
_ref.pushNav;
|
|
@@ -18238,33 +17338,23 @@ var PanelFooter = function PanelFooter(_ref) {
|
|
|
18238
17338
|
});
|
|
18239
17339
|
};
|
|
18240
17340
|
|
|
18241
|
-
var
|
|
18242
|
-
|
|
18243
|
-
componentId: "sc-ialwsc-0"
|
|
18244
|
-
})(["&:hover{div,a{svg{path{fill:", ";}}}div,a{color:rgba(255,255,255,1);}}"], function (_ref) {
|
|
17341
|
+
var _templateObject$g;
|
|
17342
|
+
var MobileEntry = styled.div(_templateObject$g || (_templateObject$g = _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) {
|
|
18245
17343
|
var theme = _ref.theme;
|
|
18246
17344
|
return theme.colors.primary;
|
|
18247
17345
|
});
|
|
18248
17346
|
|
|
17347
|
+
var _templateObject$f, _templateObject2$c, _templateObject3$a;
|
|
18249
17348
|
var MOBILE_MENU_PANEL_HEIGHT = 83;
|
|
18250
|
-
var MobileMenuContainer = styled.div
|
|
18251
|
-
displayName: "MobileMenu__MobileMenuContainer",
|
|
18252
|
-
componentId: "sc-11f9rbo-0"
|
|
18253
|
-
})(["position:fixed;bottom:0px;width:100%;right:0px;left:0px;z-index:98;height:", "px;display:none;flex-direction:row;justify-content:space-around;align-items:center;background:", ";", "{display:flex;}"], MOBILE_MENU_PANEL_HEIGHT, function (_ref) {
|
|
17349
|
+
var MobileMenuContainer = styled.div(_templateObject$f || (_templateObject$f = _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) {
|
|
18254
17350
|
var theme = _ref.theme;
|
|
18255
17351
|
return theme.colors.card;
|
|
18256
17352
|
}, function (_ref2) {
|
|
18257
17353
|
var theme = _ref2.theme;
|
|
18258
17354
|
return theme.mediaQueries.mobile;
|
|
18259
17355
|
});
|
|
18260
|
-
var MobileLink = styled(MenuLink)
|
|
18261
|
-
|
|
18262
|
-
componentId: "sc-11f9rbo-1"
|
|
18263
|
-
})(["display:flex;flex-direction:column;justify-items:soace-between;align-items:center;"]);
|
|
18264
|
-
var MenuLinkLabel = styled.div.withConfig({
|
|
18265
|
-
displayName: "MobileMenu__MenuLinkLabel",
|
|
18266
|
-
componentId: "sc-11f9rbo-2"
|
|
18267
|
-
})(["display:flex;flex-direction:row;font-weight:700;font-size:9px;color:white;"]);
|
|
17356
|
+
var MobileLink = styled(MenuLink)(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-items: soace-between;\n align-items: center;\n"])));
|
|
17357
|
+
var MenuLinkLabel = styled.div(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n font-weight: 700;\n font-size: 9px;\n color: white;\n"])));
|
|
18268
17358
|
var Icons = IconModule;
|
|
18269
17359
|
var MobileMenu = function MobileMenu(_ref3) {
|
|
18270
17360
|
var links = _ref3.links,
|
|
@@ -18299,10 +17389,8 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
18299
17389
|
});
|
|
18300
17390
|
};
|
|
18301
17391
|
|
|
18302
|
-
var
|
|
18303
|
-
|
|
18304
|
-
componentId: "sc-1b3g4s2-0"
|
|
18305
|
-
})(["position:fixed;padding-top:100px;top:0;left:0;flex-direction:column;justify-content:space-between;flex-shrink:0;background-color:#191921;width:", ";height:100vh;transition:padding-top 0.2s,width 0.6s,box-shadow 0.4s;z-index:11;overflow:", ";transform:translate3d(0,0,0);", "{width:", ";padding-top:100px;margin-top:0px;transition:none;overflow-y:auto;padding-bottom:", "px;}"], function (_ref) {
|
|
17392
|
+
var _templateObject$e, _templateObject2$b;
|
|
17393
|
+
var StyledPanel = styled.div(_templateObject$e || (_templateObject$e = _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) {
|
|
18306
17394
|
var isPushed = _ref.isPushed;
|
|
18307
17395
|
return "".concat(isPushed ? SIDEBAR_WIDTH_FULL : SIDEBAR_WIDTH_REDUCED, "px");
|
|
18308
17396
|
}, function (_ref2) {
|
|
@@ -18315,10 +17403,7 @@ var StyledPanel = styled.div.withConfig({
|
|
|
18315
17403
|
var isPushed = _ref4.isPushed;
|
|
18316
17404
|
return isPushed ? "100%" : "0px";
|
|
18317
17405
|
}, MOBILE_MENU_PANEL_HEIGHT);
|
|
18318
|
-
var RowSplitter = styled.div
|
|
18319
|
-
displayName: "Panel__RowSplitter",
|
|
18320
|
-
componentId: "sc-1b3g4s2-1"
|
|
18321
|
-
})(["border:1px solid #252530;margin:", ";"], function (_ref5) {
|
|
17406
|
+
var RowSplitter = styled.div(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n border: 1px solid #252530;\n margin: ", ";\n"])), function (_ref5) {
|
|
18322
17407
|
var isPushed = _ref5.isPushed;
|
|
18323
17408
|
return isPushed ? "20px" : "20px 15px";
|
|
18324
17409
|
});
|
|
@@ -18340,26 +17425,12 @@ var Panel = function Panel(props) {
|
|
|
18340
17425
|
});
|
|
18341
17426
|
};
|
|
18342
17427
|
|
|
18343
|
-
var
|
|
18344
|
-
|
|
18345
|
-
|
|
18346
|
-
|
|
18347
|
-
var
|
|
18348
|
-
|
|
18349
|
-
componentId: "sc-11tnsw3-1"
|
|
18350
|
-
})(["max-width:430px;"]);
|
|
18351
|
-
var CheckBoxContainer = styled.div.withConfig({
|
|
18352
|
-
displayName: "DisclaimerModal__CheckBoxContainer",
|
|
18353
|
-
componentId: "sc-11tnsw3-2"
|
|
18354
|
-
})(["width:20%;display:flex;justify-content:center;align-items:center;"]);
|
|
18355
|
-
var ButtonContainer = styled.div.withConfig({
|
|
18356
|
-
displayName: "DisclaimerModal__ButtonContainer",
|
|
18357
|
-
componentId: "sc-11tnsw3-3"
|
|
18358
|
-
})(["margin-top:25px;"]);
|
|
18359
|
-
var ListContainer = styled.div.withConfig({
|
|
18360
|
-
displayName: "DisclaimerModal__ListContainer",
|
|
18361
|
-
componentId: "sc-11tnsw3-4"
|
|
18362
|
-
})(["font-size:13px;color:white;margin-bottom:10px;padding-left:14px;ul li{list-style-position:outside;padding:4px;line-height:17px;}"]);
|
|
17428
|
+
var _templateObject$d, _templateObject2$a, _templateObject3$9, _templateObject4$8, _templateObject5$6;
|
|
17429
|
+
var Space = styled.div(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n width: 30px;\n"])));
|
|
17430
|
+
var DisclaimerContainer = styled.div(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n max-width: 430px;\n"])));
|
|
17431
|
+
var CheckBoxContainer = styled.div(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n width: 20%;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
|
|
17432
|
+
var ButtonContainer = styled.div(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n margin-top: 25px;\n"])));
|
|
17433
|
+
var ListContainer = styled.div(_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"])));
|
|
18363
17434
|
var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
18364
17435
|
var _ref$onDismiss = _ref.onDismiss,
|
|
18365
17436
|
onDismiss = _ref$onDismiss === void 0 ? function () {
|
|
@@ -18601,21 +17672,13 @@ var useAutoDisclaimer = function useAutoDisclaimer(_ref) {
|
|
|
18601
17672
|
}, [disclaimer, disclaimerConnector, inProgress, login, onPresentDisclaimerModal, title]);
|
|
18602
17673
|
};
|
|
18603
17674
|
|
|
18604
|
-
var
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
})(["display:flex;justify-content:flex-end;@media (max-width:608px){flex:100%;}"]);
|
|
18608
|
-
var ConnectButton = styled(Button$1).withConfig({
|
|
18609
|
-
displayName: "UserBlock__ConnectButton",
|
|
18610
|
-
componentId: "sc-1speva4-1"
|
|
18611
|
-
})(["color:black;width:180px;box-shadow:0px 9px 63px rgba(18,255,184,0.22);font-weight:700;height:40px;", "{width:113px;height:31px;font-size:11px;padding:0px 10px;}"], function (_ref) {
|
|
17675
|
+
var _templateObject$c, _templateObject2$9, _templateObject3$8, _templateObject4$7, _templateObject5$5;
|
|
17676
|
+
var UserBlockWrapper = styled.div(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n\n @media (max-width: 608px) {\n flex: 100%;\n }\n"])));
|
|
17677
|
+
var ConnectButton = styled(Button$1)(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n color: black;\n width: 180px;\n box-shadow: 0px 9px 63px rgba(18, 255, 184, 0.22);\n font-weight: 700;\n height: 40px;\n ", " {\n width: 113px;\n height: 31px;\n font-size: 11px;\n padding: 0px 10px;\n }\n"])), function (_ref) {
|
|
18612
17678
|
var theme = _ref.theme;
|
|
18613
17679
|
return theme.mediaQueries.mobile;
|
|
18614
17680
|
});
|
|
18615
|
-
var AccountButton = styled(Button$1)
|
|
18616
|
-
displayName: "UserBlock__AccountButton",
|
|
18617
|
-
componentId: "sc-1speva4-2"
|
|
18618
|
-
})(["display:flex;flex-direction:", ";align-items:", ";color:white;padding:10px;height:40px;width:144px;background:#2b2b38;", "{height:31px;width:116px;font-size:11px;padding:0px 10px;}"], function (_ref2) {
|
|
17681
|
+
var AccountButton = styled(Button$1)(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: ", ";\n align-items: ", ";\n color: white;\n padding: 10px;\n height: 40px;\n width: 144px;\n background: #2b2b38;\n ", " {\n height: 31px;\n width: 116px;\n font-size: 11px;\n padding: 0px 10px;\n }\n"])), function (_ref2) {
|
|
18619
17682
|
var isUserVerified = _ref2.isUserVerified;
|
|
18620
17683
|
return isUserVerified ? "row" : "column-reverse";
|
|
18621
17684
|
}, function (_ref3) {
|
|
@@ -18625,17 +17688,11 @@ var AccountButton = styled(Button$1).withConfig({
|
|
|
18625
17688
|
var theme = _ref4.theme;
|
|
18626
17689
|
return theme.mediaQueries.mobile;
|
|
18627
17690
|
});
|
|
18628
|
-
var VerifyAddressIndicator = styled(Text)
|
|
18629
|
-
displayName: "UserBlock__VerifyAddressIndicator",
|
|
18630
|
-
componentId: "sc-1speva4-3"
|
|
18631
|
-
})(["color:#f6465d;", "{font-size:10px;}"], function (_ref5) {
|
|
17691
|
+
var VerifyAddressIndicator = styled(Text)(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteral(["\n color: #f6465d;\n ", " {\n font-size: 10px;\n }\n"])), function (_ref5) {
|
|
18632
17692
|
var theme = _ref5.theme;
|
|
18633
17693
|
return theme.mediaQueries.mobile;
|
|
18634
17694
|
});
|
|
18635
|
-
var Account = styled(Text)
|
|
18636
|
-
displayName: "UserBlock__Account",
|
|
18637
|
-
componentId: "sc-1speva4-4"
|
|
18638
|
-
})(["margin-bottom:", ";", "{font-size:10px;}"], function (_ref6) {
|
|
17695
|
+
var Account = styled(Text)(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n ", " {\n font-size: 10px;\n }\n"])), function (_ref6) {
|
|
18639
17696
|
var isUserVerified = _ref6.isUserVerified;
|
|
18640
17697
|
return !isUserVerified && "-5px";
|
|
18641
17698
|
}, function (_ref7) {
|
|
@@ -18687,10 +17744,8 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
18687
17744
|
});
|
|
18688
17745
|
};
|
|
18689
17746
|
|
|
18690
|
-
var
|
|
18691
|
-
|
|
18692
|
-
componentId: "sc-1ga2zxd-0"
|
|
18693
|
-
})(["height:40px;width:50px;overflow:visible;cursor:pointer;margin-right:28px;display:", ";z-index:999;", "{display:", ";position:fixed;bottom:107px;left:initial;right:0px;height:50px;}"], function (_ref) {
|
|
17747
|
+
var _templateObject$b, _templateObject2$8, _templateObject3$7;
|
|
17748
|
+
var BellBoxWrapper = styled.div(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n height: 40px;\n width: 50px;\n overflow: visible;\n cursor: pointer;\n margin-right: 28px;\n display: ", ";\n z-index: 999;\n ", " {\n display: ", ";\n position: fixed;\n bottom: 107px;\n left: initial;\n right: 0px;\n height: 50px;\n }\n"])), function (_ref) {
|
|
18694
17749
|
var mobile = _ref.mobile;
|
|
18695
17750
|
return mobile ? "none" : "block";
|
|
18696
17751
|
}, function (_ref2) {
|
|
@@ -18701,10 +17756,7 @@ var BellBoxWrapper = styled.div.withConfig({
|
|
|
18701
17756
|
hasMsg = _ref3.hasMsg;
|
|
18702
17757
|
return mobile && hasMsg ? "block" : "none";
|
|
18703
17758
|
});
|
|
18704
|
-
var BellBox = styled(Link)
|
|
18705
|
-
displayName: "BellNotifier__BellBox",
|
|
18706
|
-
componentId: "sc-1ga2zxd-1"
|
|
18707
|
-
})(["position:relative;display:flex;justify-content:center;align-items:center;height:100%;width:100%;border:1px solid ", ";border-radius:10px;background:", ";box-sizing:border-box;", "{border-radius:50%;}", " ", ""], function (_ref4) {
|
|
17759
|
+
var BellBox = styled(Link)(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n width: 100%;\n border: 1px solid ", ";\n border-radius: 10px;\n background: ", ";\n box-sizing: border-box;\n ", " {\n border-radius: 50%;\n }\n ", "\n ", "\n"])), function (_ref4) {
|
|
18708
17760
|
var hasMsg = _ref4.hasMsg,
|
|
18709
17761
|
theme = _ref4.theme;
|
|
18710
17762
|
return hasMsg ? "#1AC8FF" : theme.backgrounds.secondary;
|
|
@@ -18722,10 +17774,7 @@ var BellBox = styled(Link).withConfig({
|
|
|
18722
17774
|
var hasMsg = _ref8.hasMsg;
|
|
18723
17775
|
return hasMsg && "\n box-shadow: 0px 0px 14px 3px rgba(46, 124, 246, 0.25);\n ";
|
|
18724
17776
|
});
|
|
18725
|
-
var NotificationNumber = styled.div.
|
|
18726
|
-
displayName: "BellNotifier__NotificationNumber",
|
|
18727
|
-
componentId: "sc-1ga2zxd-2"
|
|
18728
|
-
})(["position:absolute;top:4px;right:3px;display:flex;justify-content:center;align-items:center;width:18.46px;height:18.46px;background:#de4040;border-radius:50%;opacity:", ";transition:all 0.25s ease-in-out;animation:stretch 2s infinite;", "{top:12.25px;right:7px;}@keyframes stretch{0%{transform:scale(1);}50%{transform:scale(1.2);}100%{transform:scale(1);}}"], function (_ref9) {
|
|
17777
|
+
var NotificationNumber = styled.div(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n position: absolute;\n top: 4px;\n right: 3px;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 18.46px;\n height: 18.46px;\n background: #de4040;\n border-radius: 50%;\n opacity: ", ";\n transition: all 0.25s ease-in-out;\n animation: stretch 2s infinite;\n ", " {\n top: 12.25px;\n right: 7px;\n }\n @keyframes stretch {\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(1.2);\n }\n\n 100% {\n transform: scale(1);\n }\n }\n"])), function (_ref9) {
|
|
18729
17778
|
var hasMsg = _ref9.hasMsg;
|
|
18730
17779
|
return hasMsg ? 1 : 0;
|
|
18731
17780
|
}, function (_ref0) {
|
|
@@ -18762,10 +17811,8 @@ var BellNotifier = function BellNotifier(_ref1) {
|
|
|
18762
17811
|
});
|
|
18763
17812
|
};
|
|
18764
17813
|
|
|
18765
|
-
var
|
|
18766
|
-
|
|
18767
|
-
componentId: "sc-uo8r8r-0"
|
|
18768
|
-
})(["padding:", "px;outline:none;border:none;width:", "px;height:40px;background:#2b2b38;border-radius:10px;display:flex;flex-direction:row;justify-content:space-around;align-items:center;color:black;cursor:pointer;position:relative;&:active{background:", ";}", "{width:113px;height:31px;font-size:11px;padding:0px 10px;margin:0 6px;}transition:all 0.5s ease-in;"], function (props) {
|
|
17814
|
+
var _templateObject$a, _templateObject2$7, _templateObject3$6, _templateObject4$6;
|
|
17815
|
+
var CryptoDropdownWrapper = styled.button(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n padding: ", "px;\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 &:active {\n background: ", ";\n }\n ", " {\n width: 113px;\n height: 31px;\n font-size: 11px;\n padding: 0px 10px;\n margin: 0 6px;\n }\n transition: all 0.5s ease-in;\n"])), function (props) {
|
|
18769
17816
|
return props.extended ? "6px 5px 6px 10px" : "10px";
|
|
18770
17817
|
}, function (props) {
|
|
18771
17818
|
return props.extended ? 130 : 70;
|
|
@@ -18776,10 +17823,7 @@ var CryptoDropdownWrapper = styled.button.withConfig({
|
|
|
18776
17823
|
var theme = _ref2.theme;
|
|
18777
17824
|
return theme.mediaQueries.mobile;
|
|
18778
17825
|
});
|
|
18779
|
-
var ButtonsContainer = styled.div.
|
|
18780
|
-
displayName: "CryptoButton__ButtonsContainer",
|
|
18781
|
-
componentId: "sc-uo8r8r-1"
|
|
18782
|
-
})(["position:absolute;width:159px;height:89px;top:53px;right:0px;background:", ";border:1px solid ", ";box-sizing:border-box;opacity:", ";display:flex;z-index:", "999;transition-property:opacity,box-shadow;transition-duration:0.5s,0.3s;box-shadow:0px 0px 24px -11px rgba(0,0,0,0.25);border-radius:10px;flex-direction:column;justify-content:space-between;align-items:center;", "{display:", ";}"], function (_ref3) {
|
|
17826
|
+
var ButtonsContainer = styled.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n position: absolute;\n width: 159px;\n height: 89px;\n top: 53px;\n right: 0px;\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n opacity: ", ";\n display: flex;\n z-index: ", "999;\n transition-property: opacity, box-shadow;\n transition-duration: 0.5s, 0.3s;\n box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.25);\n border-radius: 10px;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n ", " {\n display: ", ";\n }\n"])), function (_ref3) {
|
|
18783
17827
|
var theme = _ref3.theme;
|
|
18784
17828
|
return theme.backgrounds.secondary;
|
|
18785
17829
|
}, function (_ref4) {
|
|
@@ -18795,14 +17839,8 @@ var ButtonsContainer = styled.div.withConfig({
|
|
|
18795
17839
|
}, function (props) {
|
|
18796
17840
|
return props.visible ? "flex" : "none";
|
|
18797
17841
|
});
|
|
18798
|
-
var ButtonRow = styled(Link)
|
|
18799
|
-
|
|
18800
|
-
componentId: "sc-uo8r8r-2"
|
|
18801
|
-
})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:11px;width:100%;height:100%;overflow:visible;z-index:99999;svg{opacity:0.55;}&:hover{svg{opacity:1;}}transition:all 0.3s ease-in;"]);
|
|
18802
|
-
var ButtonsSpacer = styled.div.withConfig({
|
|
18803
|
-
displayName: "CryptoButton__ButtonsSpacer",
|
|
18804
|
-
componentId: "sc-uo8r8r-3"
|
|
18805
|
-
})(["border:1px solid #373749;width:calc(100% - 20px);"]);
|
|
17842
|
+
var ButtonRow = styled(Link)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 11px;\n width: 100%;\n height: 100%;\n overflow: visible;\n z-index: 99999;\n svg {\n opacity: 0.55;\n }\n &:hover {\n svg {\n opacity: 1;\n }\n }\n transition: all 0.3s ease-in;\n"])));
|
|
17843
|
+
var ButtonsSpacer = styled.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n border: 1px solid #373749;\n width: calc(100% - 20px);\n"])));
|
|
18806
17844
|
var CryptoButton = function CryptoButton(_ref6) {
|
|
18807
17845
|
var _ref6$extended = _ref6.extended,
|
|
18808
17846
|
extended = _ref6$extended === void 0 ? false : _ref6$extended,
|
|
@@ -18887,10 +17925,8 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
18887
17925
|
});
|
|
18888
17926
|
};
|
|
18889
17927
|
|
|
18890
|
-
var
|
|
18891
|
-
|
|
18892
|
-
componentId: "sc-3kmnlp-0"
|
|
18893
|
-
})(["display:flex;justify-content:center;align-items:center;cursor:pointer;width:40px;height:40px;border-radius:10px;background:#2b2b38;svg{fill:", ";path{fill:", ";}}", "{width:32px;height:32px;border-radius:8px;}"], function (_ref) {
|
|
17928
|
+
var _templateObject$9, _templateObject2$6;
|
|
17929
|
+
var StyledUserButton = styled.div(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n width: 40px;\n height: 40px;\n border-radius: 10px;\n background: #2b2b38;\n svg {\n fill: ", ";\n path {\n fill: ", ";\n }\n }\n ", " {\n width: 32px;\n height: 32px;\n border-radius: 8px;\n }\n"])), function (_ref) {
|
|
18894
17930
|
var theme = _ref.theme;
|
|
18895
17931
|
return theme.colors.primary;
|
|
18896
17932
|
}, function (_ref2) {
|
|
@@ -18900,10 +17936,7 @@ var StyledUserButton = styled.div.withConfig({
|
|
|
18900
17936
|
var theme = _ref3.theme;
|
|
18901
17937
|
return theme.mediaQueries.mobile;
|
|
18902
17938
|
});
|
|
18903
|
-
var StyledUserIcon = styled(Icon$1c)
|
|
18904
|
-
displayName: "UserButton__StyledUserIcon",
|
|
18905
|
-
componentId: "sc-3kmnlp-1"
|
|
18906
|
-
})(["", "{height:18px;}"], function (_ref4) {
|
|
17939
|
+
var StyledUserIcon = styled(Icon$1c)(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral(["\n ", " {\n height: 18px;\n }\n"])), function (_ref4) {
|
|
18907
17940
|
var theme = _ref4.theme;
|
|
18908
17941
|
return theme.mediaQueries.mobile;
|
|
18909
17942
|
});
|
|
@@ -18922,25 +17955,14 @@ var UserButton = function UserButton(_ref5) {
|
|
|
18922
17955
|
});
|
|
18923
17956
|
};
|
|
18924
17957
|
|
|
18925
|
-
var
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
})(["position:relative;width:100%;height:100%;overscroll-behavior-y:contain;scroll-snap-type:y proximity;"]);
|
|
18929
|
-
var StyledNav = styled.nav.withConfig({
|
|
18930
|
-
displayName: "Menu__StyledNav",
|
|
18931
|
-
componentId: "sc-2hf3ez-1"
|
|
18932
|
-
})(["align-items:flex-start;position:fixed;left:0;transition:top 0.2s;display:flex;justify-content:space-between;padding:30px 15px;background-color:transparent;z-index:20;transform:translate3d(0,0,0);", "{position:absolute;left:-12px;};"], function (_ref) {
|
|
17958
|
+
var _templateObject$8, _templateObject2$5, _templateObject3$5, _templateObject4$5, _templateObject5$4, _templateObject6$3;
|
|
17959
|
+
var Wrapper = styled.div(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n height: 100%;\n overscroll-behavior-y: contain;\n scroll-snap-type: y proximity;\n"])));
|
|
17960
|
+
var StyledNav = styled.nav(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n align-items: flex-start;\n position: fixed;\n left: 0;\n transition: top 0.2s;\n display: flex;\n justify-content: space-between;\n padding: 30px 15px;\n background-color: transparent;\n z-index: 20;\n transform: translate3d(0, 0, 0);\n ", " {\n position: absolute;\n left: -12px;\n } ;\n"])), function (_ref) {
|
|
18933
17961
|
var theme = _ref.theme;
|
|
18934
17962
|
return theme.mediaQueries.mobile;
|
|
18935
17963
|
});
|
|
18936
|
-
var BodyWrapper = styled.div
|
|
18937
|
-
|
|
18938
|
-
componentId: "sc-2hf3ez-2"
|
|
18939
|
-
})(["position:relative;display:flex;min-height:100vh;"]);
|
|
18940
|
-
var Inner = styled.div.withConfig({
|
|
18941
|
-
displayName: "Menu__Inner",
|
|
18942
|
-
componentId: "sc-2hf3ez-3"
|
|
18943
|
-
})(["flex-grow:1;margin-top:25px;transition:margin-top 0.2s;transform:translate3d(0,0,0);margin-left:", "px;max-width:calc(100% - ", "px);", "{max-width:100%;margin-left:0px;}"], SIDEBAR_WIDTH_REDUCED, SIDEBAR_WIDTH_REDUCED, function (_ref2) {
|
|
17964
|
+
var BodyWrapper = styled.div(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n min-height: 100vh;\n"])));
|
|
17965
|
+
var Inner = styled.div(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n flex-grow: 1;\n margin-top: 25px;\n transition: margin-top 0.2s;\n transform: translate3d(0, 0, 0);\n margin-left: ", "px;\n max-width: calc(100% - ", "px);\n ", " {\n max-width: 100%;\n margin-left: 0px;\n }\n"])), SIDEBAR_WIDTH_REDUCED, SIDEBAR_WIDTH_REDUCED, function (_ref2) {
|
|
18944
17966
|
var theme = _ref2.theme;
|
|
18945
17967
|
return theme.mediaQueries.mobile;
|
|
18946
17968
|
});
|
|
@@ -18952,10 +17974,7 @@ var Inner = styled.div.withConfig({
|
|
|
18952
17974
|
// opacity: 0;
|
|
18953
17975
|
// }
|
|
18954
17976
|
// `;
|
|
18955
|
-
var ButtonsRow$1 = styled.div
|
|
18956
|
-
displayName: "Menu__ButtonsRow",
|
|
18957
|
-
componentId: "sc-2hf3ez-4"
|
|
18958
|
-
})(["display:flex;justify-content:flex-end;aling-items:center;flex-direction:row;background:transparent;", "{z-index:99999;position:", ";top:30px;right:25px;padding-bottom:30px;", "}"], function (_ref3) {
|
|
17977
|
+
var ButtonsRow$1 = styled.div(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n aling-items: center;\n flex-direction: row;\n background: transparent;\n ", " {\n z-index: 99999;\n position: ", ";\n top: 30px;\n right: 25px;\n padding-bottom: 30px;\n ", "\n }\n"])), function (_ref3) {
|
|
18959
17978
|
var theme = _ref3.theme;
|
|
18960
17979
|
return theme.mediaQueries.mobile;
|
|
18961
17980
|
}, function (_ref4) {
|
|
@@ -18965,10 +17984,7 @@ var ButtonsRow$1 = styled.div.withConfig({
|
|
|
18965
17984
|
var isPushed = _ref5.isPushed;
|
|
18966
17985
|
return !isPushed && "\n margin-right: 12px;\n margin-top: 5px;\n ";
|
|
18967
17986
|
});
|
|
18968
|
-
var MenuContent = styled.div.
|
|
18969
|
-
displayName: "Menu__MenuContent",
|
|
18970
|
-
componentId: "sc-2hf3ez-5"
|
|
18971
|
-
})(["display:flex;gap:20px;flex-direction:row-reverse;transition:all 0.2s;width:100%;", "{margin-right:50px;}@media (max-width:900px){flex-direction:column;gap:7px;align-items:flex-end;}"], function (_ref6) {
|
|
17987
|
+
var MenuContent = styled.div(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["\n display: flex;\n gap: 20px;\n flex-direction: row-reverse;\n transition: all 0.2s;\n width: 100%;\n\n ", " {\n margin-right: 50px;\n }\n\n @media (max-width: 900px) {\n flex-direction: column;\n gap: 7px;\n align-items: flex-end;\n }\n"])), function (_ref6) {
|
|
18972
17988
|
var theme = _ref6.theme;
|
|
18973
17989
|
return theme.mediaQueries.mobile;
|
|
18974
17990
|
});
|
|
@@ -19197,11 +18213,9 @@ var types = {
|
|
|
19197
18213
|
};
|
|
19198
18214
|
|
|
19199
18215
|
var _excluded = ["toast", "onRemove", "style", "ttl"];
|
|
18216
|
+
var _templateObject$7;
|
|
19200
18217
|
var alertTypeMap = _defineProperty(_defineProperty(_defineProperty(_defineProperty({}, types.INFO, variants$3.INFO), types.SUCCESS, variants$3.SUCCESS), types.DANGER, variants$3.DANGER), types.WARNING, variants$3.WARNING);
|
|
19201
|
-
var StyledToast = styled.div
|
|
19202
|
-
displayName: "Toast__StyledToast",
|
|
19203
|
-
componentId: "sc-1y3cmzu-0"
|
|
19204
|
-
})(["right:30px;position:fixed;max-width:calc(100% - 32px);transition:all 250ms ease-in;width:100%;", "{max-width:400px;}"], function (_ref) {
|
|
18218
|
+
var StyledToast = styled.div(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n right: 30px; // 14px+\n position: fixed;\n max-width: calc(100% - 32px);\n transition: all 250ms ease-in;\n width: 100%;\n\n ", " {\n max-width: 400px;\n }\n"])), function (_ref) {
|
|
19205
18219
|
var theme = _ref.theme;
|
|
19206
18220
|
return theme.mediaQueries.sm;
|
|
19207
18221
|
});
|
|
@@ -19275,12 +18289,10 @@ var Toast = function Toast(_ref2) {
|
|
|
19275
18289
|
);
|
|
19276
18290
|
};
|
|
19277
18291
|
|
|
18292
|
+
var _templateObject$6;
|
|
19278
18293
|
var ZINDEX = 1000;
|
|
19279
18294
|
var TOP_POSITION = 94; // Initial position from the top, 14px+
|
|
19280
|
-
var StyledToastContainer = styled.div.
|
|
19281
|
-
displayName: "ToastContainer__StyledToastContainer",
|
|
19282
|
-
componentId: "sc-1cnkl3o-0"
|
|
19283
|
-
})([".enter,.appear{opacity:0.01;}.enter.enter-active,.appear.appear-active{opacity:1;transition:opacity 250ms ease-in;}.exit{opacity:1;}.exit.exit-active{opacity:0.01;transition:opacity 250ms ease-out;}"]);
|
|
18295
|
+
var StyledToastContainer = styled.div(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n .enter,\n .appear {\n opacity: 0.01;\n }\n\n .enter.enter-active,\n .appear.appear-active {\n opacity: 1;\n transition: opacity 250ms ease-in;\n }\n\n .exit {\n opacity: 1;\n }\n\n .exit.exit-active {\n opacity: 0.01;\n transition: opacity 250ms ease-out;\n }\n"])));
|
|
19284
18296
|
var ToastContainer = function ToastContainer(_ref) {
|
|
19285
18297
|
var toasts = _ref.toasts,
|
|
19286
18298
|
onRemove = _ref.onRemove,
|
|
@@ -19307,26 +18319,12 @@ var ToastContainer = function ToastContainer(_ref) {
|
|
|
19307
18319
|
});
|
|
19308
18320
|
};
|
|
19309
18321
|
|
|
19310
|
-
var
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
var
|
|
19315
|
-
|
|
19316
|
-
componentId: "sc-1hw1n7f-1"
|
|
19317
|
-
})(["width:305px;text-align:center;margin-top:32px;margin-bottom:32px;"]);
|
|
19318
|
-
var ModalText$1 = styled(Text).withConfig({
|
|
19319
|
-
displayName: "VerificationModal__ModalText",
|
|
19320
|
-
componentId: "sc-1hw1n7f-2"
|
|
19321
|
-
})(["line-height:170%;"]);
|
|
19322
|
-
var ButtonsRow = styled.div.withConfig({
|
|
19323
|
-
displayName: "VerificationModal__ButtonsRow",
|
|
19324
|
-
componentId: "sc-1hw1n7f-3"
|
|
19325
|
-
})(["display:flex;justify-content:space-around;align-items:center;width:100%;"]);
|
|
19326
|
-
var ModalButton$1 = styled(Button$1).withConfig({
|
|
19327
|
-
displayName: "VerificationModal__ModalButton",
|
|
19328
|
-
componentId: "sc-1hw1n7f-4"
|
|
19329
|
-
})(["width:120px;padding:0 8px;"]);
|
|
18322
|
+
var _templateObject$5, _templateObject2$4, _templateObject3$4, _templateObject4$4, _templateObject5$3;
|
|
18323
|
+
var VerificationModalContent = styled.div(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n margin-top: -30px;\n"])));
|
|
18324
|
+
var DescriptionSection = styled.div(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n width: 305px;\n text-align: center;\n margin-top: 32px;\n margin-bottom: 32px;\n"])));
|
|
18325
|
+
var ModalText$1 = styled(Text)(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n line-height: 170%;\n"])));
|
|
18326
|
+
var ButtonsRow = styled.div(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-around;\n align-items: center;\n width: 100%;\n"])));
|
|
18327
|
+
var ModalButton$1 = styled(Button$1)(_templateObject5$3 || (_templateObject5$3 = _taggedTemplateLiteral(["\n width: 120px;\n padding: 0 8px;\n"])));
|
|
19330
18328
|
var VerificationModal = function VerificationModal(props) {
|
|
19331
18329
|
var onVerify = props.onVerify,
|
|
19332
18330
|
modalDescription = props.modalDescription,
|
|
@@ -19396,24 +18394,16 @@ var useVerificationModal = function useVerificationModal(_ref) {
|
|
|
19396
18394
|
};
|
|
19397
18395
|
};
|
|
19398
18396
|
|
|
19399
|
-
var
|
|
19400
|
-
|
|
19401
|
-
|
|
19402
|
-
})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:center;height:100%;margin-top:-30px;"]);
|
|
19403
|
-
var ModalText = styled(Text).withConfig({
|
|
19404
|
-
displayName: "IdoExtensionsModal__ModalText",
|
|
19405
|
-
componentId: "sc-cbodpl-1"
|
|
19406
|
-
})(["line-height:170%;width:", ";", "{width:90%;}"], function (_ref) {
|
|
18397
|
+
var _templateObject$4, _templateObject2$3, _templateObject3$3, _templateObject4$3, _templateObject5$2, _templateObject6$2;
|
|
18398
|
+
var IdoExtensionsModalContent = styled.div(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: center;\n height: 100%;\n margin-top: -30px;\n"])));
|
|
18399
|
+
var ModalText = styled(Text)(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n line-height: 170%;\n width: ", ";\n ", " {\n width: 90%;\n }\n"])), function (_ref) {
|
|
19407
18400
|
var textWidth = _ref.textWidth;
|
|
19408
18401
|
return textWidth ? "".concat(textWidth, "px") : "100%";
|
|
19409
18402
|
}, function (_ref2) {
|
|
19410
18403
|
var theme = _ref2.theme;
|
|
19411
18404
|
return theme.mediaQueries.tablet;
|
|
19412
18405
|
});
|
|
19413
|
-
var InputWrapper = styled.div
|
|
19414
|
-
displayName: "IdoExtensionsModal__InputWrapper",
|
|
19415
|
-
componentId: "sc-cbodpl-2"
|
|
19416
|
-
})(["position:relative;width:100%;margin-top:", "px;min-width:420px;", "{min-width:100%;}", "{margin-top:10px;}"], function (_ref3) {
|
|
18406
|
+
var InputWrapper = styled.div(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n position: relative;\n width: 100%;\n margin-top: ", "px;\n min-width: 420px;\n ", " {\n min-width: 100%;\n }\n ", " {\n margin-top: 10px;\n }\n"])), function (_ref3) {
|
|
19417
18407
|
var marginTop = _ref3.marginTop;
|
|
19418
18408
|
return marginTop || 0;
|
|
19419
18409
|
}, function (_ref4) {
|
|
@@ -19423,21 +18413,12 @@ var InputWrapper = styled.div.withConfig({
|
|
|
19423
18413
|
var theme = _ref5.theme;
|
|
19424
18414
|
return theme.mediaQueries.mobile;
|
|
19425
18415
|
});
|
|
19426
|
-
var InfoText = styled(Text)
|
|
19427
|
-
displayName: "IdoExtensionsModal__InfoText",
|
|
19428
|
-
componentId: "sc-cbodpl-3"
|
|
19429
|
-
})(["text-align:center;font-weight:400;font-size:14px;line-height:160%;color:#535459;margin-top:24px;b{color:", ";cursor:pointer;}"], function (_ref6) {
|
|
18416
|
+
var InfoText = styled(Text)(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n text-align: center;\n font-weight: 400;\n font-size: 14px;\n line-height: 160%;\n color: #535459;\n margin-top: 24px;\n b {\n color: ", ";\n cursor: pointer;\n }\n"])), function (_ref6) {
|
|
19430
18417
|
var theme = _ref6.theme;
|
|
19431
18418
|
return theme.colors.primary;
|
|
19432
18419
|
});
|
|
19433
|
-
var IdoExtensionsForm = styled.form
|
|
19434
|
-
|
|
19435
|
-
componentId: "sc-cbodpl-4"
|
|
19436
|
-
})(["width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;"]);
|
|
19437
|
-
var ModalButton = styled(Button$1).withConfig({
|
|
19438
|
-
displayName: "IdoExtensionsModal__ModalButton",
|
|
19439
|
-
componentId: "sc-cbodpl-5"
|
|
19440
|
-
})(["width:144px;margin-top:24px;font-size:14px;"]);
|
|
18420
|
+
var IdoExtensionsForm = styled.form(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n width: 100%;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
|
|
18421
|
+
var ModalButton = styled(Button$1)(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n width: 144px;\n margin-top: 24px;\n font-size: 14px;\n"])));
|
|
19441
18422
|
var IdoExtensionsModal = function IdoExtensionsModal(_ref7) {
|
|
19442
18423
|
var onExtensionsAdd = _ref7.onExtensionsAdd,
|
|
19443
18424
|
onDismiss = _ref7.onDismiss,
|
|
@@ -19674,25 +18655,14 @@ var useIdoExtensionsModal = function useIdoExtensionsModal(_ref) {
|
|
|
19674
18655
|
};
|
|
19675
18656
|
};
|
|
19676
18657
|
|
|
19677
|
-
var
|
|
19678
|
-
|
|
19679
|
-
componentId: "sc-13wizbq-0"
|
|
19680
|
-
})(["display:flex;justify-content:space-between;align-items:space-around;flex-direction:column;padding:20px;background:", ";@-moz-document url-prefix(){background:rgba(36,36,36,0.95) !important;}border:1px solid rgba(255,255,255,0.03);box-sizing:border-box;border-radius:10px;max-height:170px;width:100%;height:100%;"], function (_ref) {
|
|
18658
|
+
var _templateObject$3, _templateObject2$2, _templateObject3$2, _templateObject4$2;
|
|
18659
|
+
var PriceContainerWrapper$1 = styled.div(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: space-around;\n flex-direction: column;\n padding: 20px;\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n border: 1px solid rgba(255, 255, 255, 0.03);\n box-sizing: border-box;\n border-radius: 10px;\n max-height: 170px;\n width: 100%;\n height: 100%;\n"])), function (_ref) {
|
|
19681
18660
|
var theme = _ref.theme;
|
|
19682
18661
|
return theme.backgrounds.secondary;
|
|
19683
18662
|
});
|
|
19684
|
-
var HeaderWrapper$1 = styled.div
|
|
19685
|
-
|
|
19686
|
-
|
|
19687
|
-
})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;"]);
|
|
19688
|
-
var OriginsWrapper = styled.div.withConfig({
|
|
19689
|
-
displayName: "PriceContainer__OriginsWrapper",
|
|
19690
|
-
componentId: "sc-13wizbq-2"
|
|
19691
|
-
})(["display:flex;justify-content:space-between;"]);
|
|
19692
|
-
var OriginTitle = styled(Text).withConfig({
|
|
19693
|
-
displayName: "PriceContainer__OriginTitle",
|
|
19694
|
-
componentId: "sc-13wizbq-3"
|
|
19695
|
-
})(["color:", ";cursor:pointer;padding:0px 12px;transition:all 0.5s;"], function (_ref2) {
|
|
18663
|
+
var HeaderWrapper$1 = styled.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 26px;\n"])));
|
|
18664
|
+
var OriginsWrapper = styled.div(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n"])));
|
|
18665
|
+
var OriginTitle = styled(Text)(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n color: ", ";\n cursor: pointer;\n padding: 0px 12px;\n transition: all 0.5s;\n"])), function (_ref2) {
|
|
19696
18666
|
var currentIndex = _ref2.currentIndex,
|
|
19697
18667
|
index = _ref2.index,
|
|
19698
18668
|
theme = _ref2.theme;
|
|
@@ -19742,28 +18712,17 @@ var PriceContainer = function PriceContainer(_ref3) {
|
|
|
19742
18712
|
});
|
|
19743
18713
|
};
|
|
19744
18714
|
|
|
19745
|
-
var
|
|
19746
|
-
|
|
19747
|
-
componentId: "sc-1yxjpp7-0"
|
|
19748
|
-
})(["display:flex;justify-content:flex-start;align-items:space-around;flex-direction:column;padding:20px;@-moz-document url-prefix(){background:", ";!important;}background:", ";border:1px solid rgba(255,255,255,0.03);box-sizing:border-box;border-radius:10px;box-shadow:none;position:relative;overflow:hidden;"], function (_ref) {
|
|
18715
|
+
var _templateObject$2, _templateObject2$1, _templateObject3$1, _templateObject4$1, _templateObject5$1, _templateObject6$1, _templateObject7$1;
|
|
18716
|
+
var PriceContainerWrapper = styled.div(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n align-items: space-around;\n flex-direction: column;\n padding: 20px;\n @-moz-document url-prefix() {\n background: ", "; !important;\n }\n\n background: ", ";\n border: 1px solid rgba(255, 255, 255, 0.03);\n box-sizing: border-box;\n border-radius: 10px;\n box-shadow: none;\n\n position: relative;\n overflow: hidden;\n"])), function (_ref) {
|
|
19749
18717
|
var theme = _ref.theme;
|
|
19750
18718
|
return theme.backgrounds.secondary;
|
|
19751
18719
|
}, function (_ref2) {
|
|
19752
18720
|
var theme = _ref2.theme;
|
|
19753
18721
|
return theme.backgrounds.secondary;
|
|
19754
18722
|
});
|
|
19755
|
-
var HeaderWrapper = styled.div
|
|
19756
|
-
|
|
19757
|
-
|
|
19758
|
-
})(["display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;"]);
|
|
19759
|
-
var TokensContainer = styled(GridLayout$1).withConfig({
|
|
19760
|
-
displayName: "TopTokensContainer__TokensContainer",
|
|
19761
|
-
componentId: "sc-1yxjpp7-2"
|
|
19762
|
-
})(["color:white;"]);
|
|
19763
|
-
var MainCoinWrapper = styled.div.withConfig({
|
|
19764
|
-
displayName: "TopTokensContainer__MainCoinWrapper",
|
|
19765
|
-
componentId: "sc-1yxjpp7-3"
|
|
19766
|
-
})(["grid-column:span 8;border-bottom:1px solid ", ";padding-bottom:10px;display:flex;justify-content:center;padding-right:20px;", "{grid-column:span 3;border-right:1px solid ", ";border-bottom:none;justify-content:flex-start;}"], function (_ref3) {
|
|
18723
|
+
var HeaderWrapper = styled.div(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 26px;\n"])));
|
|
18724
|
+
var TokensContainer = styled(GridLayout$1)(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n color: white;\n"])));
|
|
18725
|
+
var MainCoinWrapper = styled.div(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n grid-column: span 8;\n border-bottom: 1px solid ", ";\n padding-bottom: 10px;\n display: flex;\n justify-content: center;\n padding-right: 20px;\n ", " {\n grid-column: span 3;\n border-right: 1px solid ", ";\n border-bottom: none;\n justify-content: flex-start;\n }\n"])), function (_ref3) {
|
|
19767
18726
|
var theme = _ref3.theme;
|
|
19768
18727
|
return theme.colors.grey;
|
|
19769
18728
|
}, function (_ref4) {
|
|
@@ -19773,10 +18732,7 @@ var MainCoinWrapper = styled.div.withConfig({
|
|
|
19773
18732
|
var theme = _ref5.theme;
|
|
19774
18733
|
return theme.colors.grey;
|
|
19775
18734
|
});
|
|
19776
|
-
var TokensWrapper = styled.div
|
|
19777
|
-
displayName: "TopTokensContainer__TokensWrapper",
|
|
19778
|
-
componentId: "sc-1yxjpp7-4"
|
|
19779
|
-
})(["height:100%;display:flex;justify-content:", ";grid-column:span 8;padding-bottom:20px;", " ", "{padding-bottom:0px;}"], function (_ref6) {
|
|
18735
|
+
var TokensWrapper = styled.div(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n height: 100%;\n display: flex;\n justify-content: ", ";\n grid-column: span 8;\n padding-bottom: 20px;\n ", "\n ", " {\n padding-bottom: 0px;\n }\n"])), function (_ref6) {
|
|
19780
18736
|
var noData = _ref6.noData;
|
|
19781
18737
|
return noData ? "center" : "space-between";
|
|
19782
18738
|
}, function (_ref7) {
|
|
@@ -19786,14 +18742,8 @@ var TokensWrapper = styled.div.withConfig({
|
|
|
19786
18742
|
var theme = _ref8.theme;
|
|
19787
18743
|
return theme.mediaQueries.sm;
|
|
19788
18744
|
});
|
|
19789
|
-
var DotsContainer = styled.div
|
|
19790
|
-
|
|
19791
|
-
componentId: "sc-1yxjpp7-5"
|
|
19792
|
-
})(["position:absolute;display:flex;align-items:center;@media (min-width:576px){right:20px;top:29px;}@media (max-width:576px){left:50%;transform:translate(-50%);bottom:17px !important;}"]);
|
|
19793
|
-
var Dot = styled.div.withConfig({
|
|
19794
|
-
displayName: "TopTokensContainer__Dot",
|
|
19795
|
-
componentId: "sc-1yxjpp7-6"
|
|
19796
|
-
})(["width:8px;height:8px;display:inline - block;margin:0 8px;border-radius:99px;background:", ";border:", ";cursor:pointer;padding:3px;"], function (_ref9) {
|
|
18745
|
+
var DotsContainer = styled.div(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n align-items: center;\n @media (min-width: 576px) {\n right: 20px;\n top: 29px;\n }\n @media (max-width: 576px) {\n left: 50%;\n transform: translate(-50%);\n bottom: 17px !important;\n }\n"])));
|
|
18746
|
+
var Dot = styled.div(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n width: 8px;\n height: 8px;\n display: inline - block;\n margin: 0 8px;\n border-radius: 99px;\n background: ", ";\n border: ", ";\n cursor: pointer;\n padding: 3px;\n"])), function (_ref9) {
|
|
19797
18747
|
var active = _ref9.active,
|
|
19798
18748
|
theme = _ref9.theme;
|
|
19799
18749
|
return active ? theme.colors.blue : "transparent";
|
|
@@ -19887,47 +18837,24 @@ var TopTokensContainer = function TopTokensContainer(_ref1) {
|
|
|
19887
18837
|
});
|
|
19888
18838
|
};
|
|
19889
18839
|
|
|
19890
|
-
var
|
|
19891
|
-
|
|
19892
|
-
|
|
19893
|
-
})(["margin:0 auto;width:155px;text-align:center;border:1px solid #12ffb8;line-height:28px;border-radius:10px;margin:106px auto 26px;"]);
|
|
19894
|
-
var HowToParticipate = styled(Text).withConfig({
|
|
19895
|
-
displayName: "IdoInfoDescription__HowToParticipate",
|
|
19896
|
-
componentId: "sc-16j3rl5-1"
|
|
19897
|
-
})(["text-align:center;width:100%;", "{font-size:26px;width:200px;margin:0 auto;}"], function (_ref) {
|
|
18840
|
+
var _templateObject$1, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
18841
|
+
var ForParticipants = styled(Text)(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n margin: 0 auto;\n width: 155px;\n text-align: center;\n border: 1px solid #12ffb8;\n line-height: 28px;\n border-radius: 10px;\n margin: 106px auto 26px;\n"])));
|
|
18842
|
+
var HowToParticipate = styled(Text)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n text-align: center;\n width: 100%;\n ", " {\n font-size: 26px;\n width: 200px;\n margin: 0 auto;\n }\n"])), function (_ref) {
|
|
19898
18843
|
var theme = _ref.theme;
|
|
19899
18844
|
return theme.mediaQueries.mobile;
|
|
19900
18845
|
});
|
|
19901
|
-
var StepsWrapper = styled.div
|
|
19902
|
-
displayName: "IdoInfoDescription__StepsWrapper",
|
|
19903
|
-
componentId: "sc-16j3rl5-2"
|
|
19904
|
-
})(["display:flex;justify-content:space-between;align-items:flex-start;margin-top:40px;margin-bottom:60px;", "{flex-wrap:wrap;justify-content:center;row-gap:45px;}"], function (_ref2) {
|
|
18846
|
+
var StepsWrapper = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-top: 40px;\n margin-bottom: 60px;\n ", " {\n flex-wrap: wrap;\n justify-content: center;\n row-gap: 45px;\n }\n"])), function (_ref2) {
|
|
19905
18847
|
var theme = _ref2.theme;
|
|
19906
18848
|
return theme.mediaQueries.desktop;
|
|
19907
18849
|
});
|
|
19908
|
-
var SpacePadTierSystem = styled(Text)
|
|
19909
|
-
displayName: "IdoInfoDescription__SpacePadTierSystem",
|
|
19910
|
-
componentId: "sc-16j3rl5-3"
|
|
19911
|
-
})(["text-align:center;width:100%;margin-top:170px;", "{font-size:26px;width:181px;margin:0 auto;margin-top:170px;}"], function (_ref3) {
|
|
18850
|
+
var SpacePadTierSystem = styled(Text)(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n text-align: center;\n width: 100%;\n margin-top: 170px;\n ", " {\n font-size: 26px;\n width: 181px;\n margin: 0 auto;\n margin-top: 170px;\n }\n"])), function (_ref3) {
|
|
19912
18851
|
var theme = _ref3.theme;
|
|
19913
18852
|
return theme.mediaQueries.mobile;
|
|
19914
18853
|
});
|
|
19915
|
-
var SpacePadTierSystemDescription = styled(Text).
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
|
|
19919
|
-
var TiersWrapper = styled.div.withConfig({
|
|
19920
|
-
displayName: "IdoInfoDescription__TiersWrapper",
|
|
19921
|
-
componentId: "sc-16j3rl5-5"
|
|
19922
|
-
})(["display:flex;justify-content:center;gap:30px;@media screen and (max-width:1180px){flex-direction:column;align-items:center;}"]);
|
|
19923
|
-
var RightTiersColumn = styled.div.withConfig({
|
|
19924
|
-
displayName: "IdoInfoDescription__RightTiersColumn",
|
|
19925
|
-
componentId: "sc-16j3rl5-6"
|
|
19926
|
-
})(["display:flex;flex-wrap:wrap;justify-content:flex-end;max-width:730px;gap:30px;@media screen and (max-width:1180px){flex-direction:column;justify-content:center;}"]);
|
|
19927
|
-
var VerticalSeparator = styled.div.withConfig({
|
|
19928
|
-
displayName: "IdoInfoDescription__VerticalSeparator",
|
|
19929
|
-
componentId: "sc-16j3rl5-7"
|
|
19930
|
-
})(["border-left:1px solid #12ffb8;height:60px;position:absolute;left:50%;"]);
|
|
18854
|
+
var SpacePadTierSystemDescription = styled(Text)(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n width: 630px;\n margin: 0 auto;\n color: rgba(255, 255, 255, 0.55);\n text-align: center;\n margin-bottom: 30px;\n @media screen and (max-width: 760px) {\n width: 320px;\n }\n"])));
|
|
18855
|
+
var TiersWrapper = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n gap: 30px;\n @media screen and (max-width: 1180px) {\n flex-direction: column;\n align-items: center;\n }\n"])));
|
|
18856
|
+
var RightTiersColumn = styled.div(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n display: flex;\n flex-wrap: wrap;\n justify-content: flex-end;\n max-width: 730px;\n gap: 30px;\n @media screen and (max-width: 1180px) {\n flex-direction: column;\n justify-content: center;\n }\n"])));
|
|
18857
|
+
var VerticalSeparator = styled.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n border-left: 1px solid #12ffb8;\n height: 60px;\n position: absolute;\n left: 50%;\n"])));
|
|
19931
18858
|
var IdoInfoDescription = function IdoInfoDescription(_ref4) {
|
|
19932
18859
|
var idoSteps = _ref4.idoSteps,
|
|
19933
18860
|
tiers = _ref4.tiers;
|
|
@@ -19970,7 +18897,8 @@ var IdoInfoDescription = function IdoInfoDescription(_ref4) {
|
|
|
19970
18897
|
});
|
|
19971
18898
|
};
|
|
19972
18899
|
|
|
19973
|
-
var
|
|
18900
|
+
var _templateObject;
|
|
18901
|
+
var ResetCSS = styled.createGlobalStyle(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n /* prettier-ignore */\n html, body, div, span, applet, object, iframe,\n h1, h2, h3, h4, h5, h6, p, blockquote, pre,\n a, abbr, acronym, address, big, cite, code,\n del, dfn, em, img, ins, kbd, q, s, samp,\n small, strike, strong, sub, sup, tt, var,\n b, u, i, center,\n dl, dt, dd, ol, ul, li,\n fieldset, form, label, legend,\n table, caption, tbody, tfoot, thead, tr, th, td,\n article, aside, canvas, details, embed, \n figure, figcaption, footer, header, hgroup, \n menu, nav, output, ruby, section, summary,\n time, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n vertical-align: baseline;\n }\n /* HTML5 display-role reset for older browsers */\n /* prettier-ignore */\n article, aside, details, figcaption, figure, \n footer, header, hgroup, menu, nav, section {\n display: block;\n }\n body {\n line-height: 1;\n font-size: 16px;\n }\n ol,\n ul {\n list-style: disc;\n list-style-position: inside;\n }\n blockquote,\n q {\n quotes: none;\n }\n blockquote:before,\n blockquote:after,\n q:before,\n q:after {\n content: \"\";\n content: none;\n }\n table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n a {\n color: inherit;\n text-decoration: none;\n }\n [role=\"button\"] {\n cursor: pointer;\n }\n *,\n *::before,\n *::after {\n box-sizing: border-box;\n }\n * {\n font-family: 'Manrope', sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n /* Scrollbar */\n ::-webkit-scrollbar {\n width: 7px;\n }\n ::-webkit-scrollbar-thumb {\n background: ", "; \n border-radius: 8px;\n }\n ::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px ", "; \n border-radius: 10px;\n }\n"])), function (_ref) {
|
|
19974
18902
|
var theme = _ref.theme;
|
|
19975
18903
|
return theme.colors.primary;
|
|
19976
18904
|
}, function (_ref2) {
|