@huma-finance/widgets 0.0.59-beta.486 → 0.0.59-beta.488
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/cjs/index.cjs +212 -205
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.js +214 -207
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/Activity.tsx +2 -3
- package/src/components/ApproveAllowanceModal.tsx +2 -2
- package/src/components/ApproveAllowanceModalV2.tsx +2 -2
- package/src/components/ChooseAmountModal.tsx +15 -14
- package/src/components/ConfirmTransferModal.tsx +5 -6
- package/src/components/CreditLine/borrow/1-Evaluation.tsx +5 -5
- package/src/components/ErrorModal.tsx +5 -12
- package/src/components/Factoring/FactoredList.tsx +2 -2
- package/src/components/Factoring/UpcomingList.tsx +2 -2
- package/src/components/HumaSnackBar.tsx +2 -2
- package/src/components/HumaTable.tsx +3 -3
- package/src/components/InputAmountModal.tsx +9 -7
- package/src/components/Lend/addRedemptionV2/1-ChooseTranche.tsx +2 -2
- package/src/components/Lend/supply/1-Evaluation/EvaluationEA.tsx +2 -2
- package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +2 -2
- package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +2 -2
- package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +4 -0
- package/src/components/Lend/supplyV2/8-PointsEarned.tsx +14 -9
- package/src/components/Lend/supplyV2/components/PersonaEvaluation.tsx +8 -6
- package/src/components/Lend/supplyV2/components/SecuritizeEvaluation.tsx +2 -2
- package/src/components/Lend/withdrawV2/1-ConfirmTransfer.tsx +3 -3
- package/src/components/Notifi/NotifiSubscriptionModal.tsx +2 -2
- package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +2 -2
- package/src/components/SignIn.tsx +2 -2
- package/src/components/SuperfluidFactoring/index.tsx +2 -2
- package/src/components/TxDoneModal.tsx +4 -4
- package/src/components/WrapperModal.tsx +3 -3
- package/src/components/humaModal/HumaModal.tsx +3 -3
- package/src/index.tsx +0 -2
- package/src/theme/components.ts +3 -2
- package/src/theme/palette.ts +7 -7
- package/src/theme/typography.ts +0 -1
- package/dist/assets/output-f6156dde.css +0 -45
- package/dist/cjs/assets/output-f6156dde.css +0 -45
- package/src/index.css +0 -61
package/dist/cjs/index.cjs
CHANGED
|
@@ -277,10 +277,10 @@ function ErrorModal(_ref) {
|
|
|
277
277
|
wrapper: material.css(_templateObject$r || (_templateObject$r = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n "]))),
|
|
278
278
|
header: material.css(_templateObject2$o || (_templateObject2$o = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
279
279
|
sorry: material.css(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n margin-right: ", ";\n & > img {\n width: 170px;\n }\n "])), theme.cssMixins.rowHCentered, theme.spacing(12), theme.spacing(4)),
|
|
280
|
-
content: material.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteral(["\n box-sizing: border-box;\n width: 100%;\n display: inline-table;\n padding: ", ";\n
|
|
281
|
-
errorIcon: material.css(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteral(["\n position: absolute;\n font-size: 20px;\n color:
|
|
282
|
-
messageWrapper: material.css(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteral(["\n color:
|
|
283
|
-
errorMessage: material.css(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: 14px;\n font-
|
|
280
|
+
content: material.css(_templateObject4$d || (_templateObject4$d = _taggedTemplateLiteral(["\n box-sizing: border-box;\n width: 100%;\n display: inline-table;\n padding: ", ";\n position: relative;\n margin-top: ", ";\n height: 79px;\n "])), theme.spacing(2, 0), theme.spacing(9)),
|
|
281
|
+
errorIcon: material.css(_templateObject5$7 || (_templateObject5$7 = _taggedTemplateLiteral(["\n position: absolute;\n font-size: 20px;\n color: ", ";\n margin: ", ";\n "])), theme.palette.error.main, theme.spacing(0, 2)),
|
|
282
|
+
messageWrapper: material.css(_templateObject6$6 || (_templateObject6$6 = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: 400;\n font-size: 16px;\n padding-left: ", ";\n "])), theme.palette.text.primary, theme.spacing(6)),
|
|
283
|
+
errorMessage: material.css(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-size: 14px;\n font-weight: 400;\n color: ", ";\n cursor: pointer;\n display: -webkit-box;\n line-height: 16px;\n -webkit-line-clamp: 3;\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n margin-right: ", ";\n "])), theme.spacing(0.5), theme.palette.text.primary, theme.spacing(2)),
|
|
284
284
|
okButton: material.css(_templateObject8$2 || (_templateObject8$2 = _taggedTemplateLiteral(["\n & .MuiButtonBase-root {\n width: 100%;\n position: absolute;\n bottom: 0;\n }\n "])))
|
|
285
285
|
};
|
|
286
286
|
const handleCloseModal = React.useCallback(() => {
|
|
@@ -330,123 +330,6 @@ function ErrorModal(_ref) {
|
|
|
330
330
|
});
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
// primary
|
|
334
|
-
const primaryPurple = '#c265d0';
|
|
335
|
-
const primaryBlueLight = '#4473EB';
|
|
336
|
-
const pendingBlue = '#226BF9';
|
|
337
|
-
const pendingBlueMid = '#4584FF';
|
|
338
|
-
const pendingBlueLight = '#79A5FB';
|
|
339
|
-
const warningRed = '#D01638';
|
|
340
|
-
const warningRedLight = '#FF4366';
|
|
341
|
-
const warningRedPastel = '#FF708B';
|
|
342
|
-
const darkBackground = '#0C2436';
|
|
343
|
-
const white = '#FFFFFF';
|
|
344
|
-
const black = {
|
|
345
|
-
1: '#000000',
|
|
346
|
-
2: '#2A252F',
|
|
347
|
-
3: '#423B46',
|
|
348
|
-
4: '#534E59',
|
|
349
|
-
5: '#6B6572',
|
|
350
|
-
6: '#76707E'
|
|
351
|
-
};
|
|
352
|
-
const orange = {
|
|
353
|
-
100: '#FFA979',
|
|
354
|
-
300: '#FF8F51',
|
|
355
|
-
500: '#FD792F',
|
|
356
|
-
700: '#E96216'
|
|
357
|
-
};
|
|
358
|
-
const yellow = {
|
|
359
|
-
100: '#FFECB0',
|
|
360
|
-
300: '#FFE07E',
|
|
361
|
-
500: '#FFD54F',
|
|
362
|
-
700: '#F8BE28'
|
|
363
|
-
};
|
|
364
|
-
const grey = {
|
|
365
|
-
100: '#CBD6DE',
|
|
366
|
-
200: '#6B6B6B',
|
|
367
|
-
300: '#606060',
|
|
368
|
-
400: '#5E7485',
|
|
369
|
-
600: '#395062',
|
|
370
|
-
700: '#6B6572',
|
|
371
|
-
800: '#4A4A4A'
|
|
372
|
-
};
|
|
373
|
-
const green = {
|
|
374
|
-
100: '#66F8D3',
|
|
375
|
-
200: '#1DE9B6',
|
|
376
|
-
500: '#00CA97',
|
|
377
|
-
700: '#0DBC90'
|
|
378
|
-
};
|
|
379
|
-
const blue = {
|
|
380
|
-
50: '#8AD5FF',
|
|
381
|
-
100: '#3DB9FF',
|
|
382
|
-
200: '#0BA7FE',
|
|
383
|
-
300: '#0095E9',
|
|
384
|
-
500: '#0070AF',
|
|
385
|
-
800: '#013859'
|
|
386
|
-
};
|
|
387
|
-
const paletteCore = {
|
|
388
|
-
alert: {
|
|
389
|
-
contrastText: black[1],
|
|
390
|
-
dark: yellow[700],
|
|
391
|
-
light: yellow[300],
|
|
392
|
-
main: yellow[500]
|
|
393
|
-
},
|
|
394
|
-
background: {
|
|
395
|
-
default: white,
|
|
396
|
-
paper: white
|
|
397
|
-
},
|
|
398
|
-
common: {
|
|
399
|
-
black: black[1],
|
|
400
|
-
white
|
|
401
|
-
},
|
|
402
|
-
default: {
|
|
403
|
-
contrastText: black[1],
|
|
404
|
-
dark: white,
|
|
405
|
-
light: white,
|
|
406
|
-
main: white
|
|
407
|
-
},
|
|
408
|
-
divider: grey[600],
|
|
409
|
-
error: {
|
|
410
|
-
dark: warningRed,
|
|
411
|
-
light: warningRedPastel,
|
|
412
|
-
main: warningRedLight
|
|
413
|
-
},
|
|
414
|
-
grey,
|
|
415
|
-
info: {
|
|
416
|
-
contrastText: black[1],
|
|
417
|
-
dark: pendingBlue,
|
|
418
|
-
light: pendingBlueLight,
|
|
419
|
-
main: pendingBlueMid,
|
|
420
|
-
superDark: darkBackground,
|
|
421
|
-
superLight: blue[50]
|
|
422
|
-
},
|
|
423
|
-
mode: 'light',
|
|
424
|
-
primary: {
|
|
425
|
-
main: primaryPurple,
|
|
426
|
-
light: primaryBlueLight
|
|
427
|
-
},
|
|
428
|
-
secondary: {
|
|
429
|
-
contrastText: black[1],
|
|
430
|
-
main: white
|
|
431
|
-
},
|
|
432
|
-
success: {
|
|
433
|
-
light: green[100],
|
|
434
|
-
main: green[200]
|
|
435
|
-
},
|
|
436
|
-
text: {
|
|
437
|
-
primary: black[5],
|
|
438
|
-
secondary: black[6],
|
|
439
|
-
tertiary: black[3],
|
|
440
|
-
quaternary: grey[400]
|
|
441
|
-
},
|
|
442
|
-
warning: {
|
|
443
|
-
contrastText: black[1],
|
|
444
|
-
light: orange[100],
|
|
445
|
-
main: orange[500],
|
|
446
|
-
superLight: yellow[100]
|
|
447
|
-
}
|
|
448
|
-
};
|
|
449
|
-
|
|
450
333
|
function HumaModal(_ref) {
|
|
451
334
|
let {
|
|
452
335
|
children,
|
|
@@ -462,7 +345,7 @@ function HumaModal(_ref) {
|
|
|
462
345
|
isXsSize
|
|
463
346
|
} = shared.useMQ();
|
|
464
347
|
const styles = {
|
|
465
|
-
wrapper: /*#__PURE__*/react.css("max-width:100vw;width:", isXsSize ? '100%' : width, ";height:auto;padding:", padding, ";box-sizing:border-box;" + (process.env.NODE_ENV === "production" ? "" : ";label:wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
348
|
+
wrapper: /*#__PURE__*/react.css("max-width:100vw;width:", isXsSize ? '100%' : width, ";height:auto;padding:", padding, ";box-sizing:border-box;" + (process.env.NODE_ENV === "production" ? "" : ";label:wrapper;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFNb2RhbC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkJnQiIsImZpbGUiOiJIdW1hTW9kYWwudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBEaWFsb2cgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuaW1wb3J0IHsgdXNlTVEgfSBmcm9tICdAaHVtYS1maW5hbmNlL3NoYXJlZCdcbmltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcblxudHlwZSBIdW1hTW9kYWxUeXBlID0ge1xuICBjaGlsZHJlbj86IFJlYWN0LlJlYWN0Tm9kZVxuICBpc09wZW46IGJvb2xlYW5cbiAgb25DbG9zZTogKCkgPT4gdm9pZFxuICBvdmVyZmxvdz86IHN0cmluZ1xuICBvdmVyZmxvd1k/OiAndmlzaWJsZScgfCAnaGlkZGVuJyB8ICdjbGlwJyB8ICdzY3JvbGwnIHwgJ2F1dG8nXG4gIHdpZHRoPzogc3RyaW5nXG4gIHBhZGRpbmc/OiBzdHJpbmdcbiAgZGlzYWJsZUJhY2tkcm9wQ2xpY2s/OiBib29sZWFuXG59XG5cbmV4cG9ydCBmdW5jdGlvbiBIdW1hTW9kYWwoe1xuICBjaGlsZHJlbixcbiAgaXNPcGVuLFxuICBvbkNsb3NlLFxuICBvdmVyZmxvdyxcbiAgb3ZlcmZsb3dZLFxuICB3aWR0aCA9ICc0ODBweCcsXG4gIHBhZGRpbmcgPSAnMzJweCcsXG4gIGRpc2FibGVCYWNrZHJvcENsaWNrID0gZmFsc2Us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biAgICAgICAgICBib3JkZXJSYWRpdXM6ICcxNnB4JyxcbiAgICAgICAgICBvdmVyZmxvdzogb3ZlcmZsb3cgfHwgJ2luaGVyaXQnLFxuICAgICAgICAgIG92ZXJmbG93WTogb3ZlcmZsb3dZIHx8ICdpbmhlcml0JyxcbiAgICAgICAgfSxcbiAgICAgIH19XG4gICAgICBvbkNsb3NlPXsoZXZlbnQsIHJlYXNvbikgPT4gaGFuZGxlQ2xvc2UocmVhc29uKX1cbiAgICA+XG4gICAgICA8ZGl2IGNzcz17c3R5bGVzLndyYXBwZXJ9PntjaGlsZHJlbn08L2Rpdj5cbiAgICA8L0RpYWxvZz5cbiAgKVxufVxuIl19 */")
|
|
466
349
|
};
|
|
467
350
|
const handleClose = reason => {
|
|
468
351
|
if (!disableBackdropClick) {
|
|
@@ -479,7 +362,9 @@ function HumaModal(_ref) {
|
|
|
479
362
|
open: isOpen,
|
|
480
363
|
PaperProps: {
|
|
481
364
|
style: {
|
|
482
|
-
|
|
365
|
+
border: '1px solid #202020',
|
|
366
|
+
background: 'rgba(255, 255, 255, 0.05)',
|
|
367
|
+
backdropFilter: 'blur(50px)',
|
|
483
368
|
borderRadius: '16px',
|
|
484
369
|
overflow: overflow || 'inherit',
|
|
485
370
|
overflowY: overflowY || 'inherit'
|
|
@@ -1794,8 +1679,8 @@ function WrapperModal(_ref) {
|
|
|
1794
1679
|
const theme = material.useTheme();
|
|
1795
1680
|
const styles = {
|
|
1796
1681
|
wrapper: material.css(_templateObject$q || (_templateObject$q = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n "]))),
|
|
1797
|
-
header: material.css(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n ", ";\n font-
|
|
1798
|
-
content: material.css(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n font-
|
|
1682
|
+
header: material.css(_templateObject2$n || (_templateObject2$n = _taggedTemplateLiteral(["\n ", ";\n font-weight: 700;\n font-size: 20px;\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
1683
|
+
content: material.css(_templateObject3$h || (_templateObject3$h = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(4), theme.palette.text.secondary),
|
|
1799
1684
|
bottom: material.css(_templateObject4$c || (_templateObject4$c = _taggedTemplateLiteral(["\n & .MuiButtonBase-root {\n width: 100%;\n position: absolute;\n bottom: 0;\n }\n "])))
|
|
1800
1685
|
};
|
|
1801
1686
|
return jsxRuntime.jsxs(material.Box, {
|
|
@@ -1977,7 +1862,7 @@ function ApproveAllowanceModal(_ref) {
|
|
|
1977
1862
|
}, [handleSuccess, reset, resetAfterSuccess, state, symbol]);
|
|
1978
1863
|
const styles = {
|
|
1979
1864
|
iconWrapper: material.css(_templateObject$n || (_templateObject$n = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 220px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(6)),
|
|
1980
|
-
description: material.css(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-
|
|
1865
|
+
description: material.css(_templateObject2$l || (_templateObject2$l = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n padding: ", ";\n "])), theme.spacing(4), theme.palette.text.secondary, theme.spacing(0, 1))
|
|
1981
1866
|
};
|
|
1982
1867
|
const sendIncreaseAllowance = React.useCallback(async () => {
|
|
1983
1868
|
const allowanceSpender = spender !== null && spender !== void 0 ? spender : poolInfo.pool;
|
|
@@ -2061,8 +1946,8 @@ function TxDoneModal(_ref) {
|
|
|
2061
1946
|
const styles = {
|
|
2062
1947
|
wrapper: material.css(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n "]))),
|
|
2063
1948
|
header: material.css(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
2064
|
-
content: material.css(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteral(["\n ", ";\n font-
|
|
2065
|
-
subContent: material.css(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteral(["\n ", ";\n font-
|
|
1949
|
+
content: material.css(_templateObject3$g || (_templateObject3$g = _taggedTemplateLiteral(["\n ", ";\n font-weight: ", ";\n font-size: 18px;\n color: ", ";\n margin-top: ", ";\n text-align: center;\n "])), theme.cssMixins.colVCentered, subContent ? 700 : 400, theme.palette.text.secondary, theme.spacing(8)),
|
|
1950
|
+
subContent: material.css(_templateObject4$b || (_templateObject4$b = _taggedTemplateLiteral(["\n ", ";\n font-weight: 400;\n font-size: 18px;\n color: ", ";\n margin-top: ", ";\n text-align: center;\n "])), theme.cssMixins.colVCentered, theme.palette.text.primary, theme.spacing(2)),
|
|
2066
1951
|
check: material.css(_templateObject5$6 || (_templateObject5$6 = _taggedTemplateLiteral(["\n width: 100%;\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(10)),
|
|
2067
1952
|
doneButton: material.css(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteral(["\n width: 100%;\n position: absolute;\n bottom: 0;\n "])))
|
|
2068
1953
|
};
|
|
@@ -2221,7 +2106,7 @@ function ApproveAllowanceModalV2(_ref) {
|
|
|
2221
2106
|
}, [handleSuccess, reset, resetAfterSuccess, state]);
|
|
2222
2107
|
const styles = {
|
|
2223
2108
|
iconWrapper: material.css(_templateObject$l || (_templateObject$l = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 220px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(6)),
|
|
2224
|
-
description: material.css(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-
|
|
2109
|
+
description: material.css(_templateObject2$j || (_templateObject2$j = _taggedTemplateLiteral(["\n margin-top: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n padding: ", ";\n "])), theme.spacing(4), theme.palette.text.secondary, theme.spacing(0, 1))
|
|
2225
2110
|
};
|
|
2226
2111
|
const sendIncreaseAllowance = React.useCallback(async () => {
|
|
2227
2112
|
const allowanceSpender = spender !== null && spender !== void 0 ? spender : poolInfo.pool;
|
|
@@ -2408,7 +2293,7 @@ function SignIn(_ref) {
|
|
|
2408
2293
|
wrapper: material.css(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n "]))),
|
|
2409
2294
|
header: material.css(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
2410
2295
|
icon: material.css(_templateObject3$f || (_templateObject3$f = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n margin-right: ", ";\n & > img {\n width: 170px;\n }\n "])), theme.cssMixins.rowHCentered, theme.spacing(12), theme.spacing(4)),
|
|
2411
|
-
content: material.css(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n font-
|
|
2296
|
+
content: material.css(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: ", ";\n margin-bottom: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(4), theme.palette.text.secondary, theme.spacing(8))
|
|
2412
2297
|
};
|
|
2413
2298
|
return jsxRuntime.jsxs(material.Box, {
|
|
2414
2299
|
css: styles.wrapper,
|
|
@@ -2463,10 +2348,10 @@ function Evaluation$4(_ref) {
|
|
|
2463
2348
|
const styles = {
|
|
2464
2349
|
wrapper: material.css(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n "]))),
|
|
2465
2350
|
header: material.css(_templateObject2$h || (_templateObject2$h = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
2466
|
-
content: material.css(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n font-
|
|
2467
|
-
checkWrapper: material.css(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteral(["\n ", "\n width: 100%;\n height: 72px;\n background: #f9f8fa;\n border-radius: 4px;\n font-
|
|
2351
|
+
content: material.css(_templateObject3$e || (_templateObject3$e = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 24px;\n color: ", ";\n margin-bottom: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(4), theme.palette.text.secondary, theme.spacing(8)),
|
|
2352
|
+
checkWrapper: material.css(_templateObject4$9 || (_templateObject4$9 = _taggedTemplateLiteral(["\n ", "\n width: 100%;\n height: 72px;\n background: #f9f8fa;\n border-radius: 4px;\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n "])), theme.cssMixins.rowVCentered, theme.palette.text.secondary),
|
|
2468
2353
|
checkIcon: material.css(_templateObject5$5 || (_templateObject5$5 = _taggedTemplateLiteral(["\n ", "\n width: 105px;\n height: 100%;\n\n & > img {\n max-width: 100%;\n max-height: 100%;\n }\n "])), theme.cssMixins.rowCentered),
|
|
2469
|
-
congratsWrapper: material.css(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n font-
|
|
2354
|
+
congratsWrapper: material.css(_templateObject6$4 || (_templateObject6$4 = _taggedTemplateLiteral(["\n font-weight: 400;\n font-size: 16px;\n padding: ", ";\n ", "\n margin-top: ", ";\n height: 52px;\n background: linear-gradient(\n 0deg,\n rgba(255, 255, 255, 0.9),\n rgba(255, 255, 255, 0.9)\n ),\n #2e7d32;\n border-radius: 4px;\n "])), theme.spacing(0, 2), theme.cssMixins.rowVCentered, theme.spacing(8)),
|
|
2470
2355
|
bottom: material.css(_templateObject7$4 || (_templateObject7$4 = _taggedTemplateLiteral(["\n & .MuiButtonBase-root {\n width: 100%;\n position: absolute;\n bottom: 0;\n }\n "])))
|
|
2471
2356
|
};
|
|
2472
2357
|
const goToNextStep = () => {
|
|
@@ -2557,10 +2442,10 @@ function ChooseAmountModal(_ref) {
|
|
|
2557
2442
|
} = shared.useMQ();
|
|
2558
2443
|
const [inputTouched, setInputTouched] = React.useState(false);
|
|
2559
2444
|
const styles = {
|
|
2560
|
-
subTitle: material.css(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n font-
|
|
2561
|
-
description2: material.css(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n ", ";\n font-
|
|
2445
|
+
subTitle: material.css(_templateObject$i || (_templateObject$i = _taggedTemplateLiteral(["\n font-weight: 400;\n "]))),
|
|
2446
|
+
description2: material.css(_templateObject2$g || (_templateObject2$g = _taggedTemplateLiteral(["\n ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowCentered, theme.palette.text.secondary, theme.spacing(2)),
|
|
2562
2447
|
chosenAmountWrapper: material.css(_templateObject3$d || (_templateObject3$d = _taggedTemplateLiteral(["\n ", ";\n background: linear-gradient(232.71deg, #a363f4 4.17%, #ff6a8a 178.69%);\n background-clip: text;\n -webkit-text-fill-color: transparent;\n font-weight: 700;\n font-size: 32px;\n margin-bottom: ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowCentered, theme.spacing(1), theme.spacing(4)),
|
|
2563
|
-
chosenAmount: material.css(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n font-
|
|
2448
|
+
chosenAmount: material.css(_templateObject4$8 || (_templateObject4$8 = _taggedTemplateLiteral(["\n font-weight: 700;\n font-size: 32px;\n "]))),
|
|
2564
2449
|
chosenAmountSymbol: material.css(_templateObject5$4 || (_templateObject5$4 = _taggedTemplateLiteral(["\n font-size: 75%;\n margin-left: ", ";\n letter-spacing: 0.1px;\n "])), theme.spacing(0.5)),
|
|
2565
2450
|
inputAmountWrapper: material.css(_templateObject6$3 || (_templateObject6$3 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n margin-top: ", ";\n "])), theme.spacing(1), theme.spacing(4)),
|
|
2566
2451
|
inputAmount: material.css(_templateObject7$3 || (_templateObject7$3 = _taggedTemplateLiteral(["\n ", ";\n "])), theme.cssMixins.rowSpaceBetweened),
|
|
@@ -2573,19 +2458,22 @@ function ChooseAmountModal(_ref) {
|
|
|
2573
2458
|
},
|
|
2574
2459
|
editIcon: material.css(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n color: ", ";\n cursor: pointer;\n display: inline-grid;\n vertical-align: middle;\n & > svg {\n font-size: 24px;\n }\n & > svg:first-of-type {\n margin-bottom: ", ";\n }\n "])), theme.palette.primary.main, theme.spacing(-1)),
|
|
2575
2460
|
input: material.css(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n font-size: 18px;\n -webkit-text-fill-color: ", ";\n "])), theme.palette.primary.main),
|
|
2576
|
-
slider: material.css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n &.MuiSlider-root {\n height: 8px !important;\n color:
|
|
2577
|
-
info: material.css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n font-
|
|
2578
|
-
divider: material.css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin: ", ";\n
|
|
2579
|
-
okButton: material.css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n font-
|
|
2580
|
-
terms: material.css(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n ", ";\n font-weight: 400;\n font-size: 12px;\n color:
|
|
2461
|
+
slider: material.css(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n &.MuiSlider-root {\n height: 8px !important;\n color: ", ";\n }\n & .MuiSlider-track {\n height: 8px !important;\n background: linear-gradient(232.71deg, #a363f4 4.17%, #ff6a8a 178.69%);\n border-radius: 8px;\n }\n & .MuiSlider-thumb::before {\n background: #ffffff;\n border: 1px solid #f9f9f9;\n box-shadow: 1px 1px 12px 2px rgba(163, 100, 244, 0.6);\n border-radius: 50px;\n width: 24px;\n height: 24px;\n }\n "])), theme.spacing(7), theme.palette.text.primary),
|
|
2462
|
+
info: material.css(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n font-weight: 400;\n ", ";\n font-size: 16px;\n color: ", ";\n "])), theme.cssMixins.rowSpaceBetweened, theme.palette.text.secondary),
|
|
2463
|
+
divider: material.css(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n margin: ", ";\n border-color: ", ";\n "])), theme.spacing(2, 0), theme.palette.divider),
|
|
2464
|
+
okButton: material.css(_templateObject16 || (_templateObject16 = _taggedTemplateLiteral(["\n font-weight: 700;\n width: 100%;\n position: absolute;\n bottom: ", ";\n "])), theme.spacing(isXsSize ? 2 : 0)),
|
|
2465
|
+
terms: material.css(_templateObject17 || (_templateObject17 = _taggedTemplateLiteral(["\n ", ";\n font-weight: 400;\n font-size: 12px;\n color: ", ";\n margin-top: ", ";\n letter-spacing: 0px;\n width: 100%;\n position: absolute;\n bottom: ", ";\n "])), theme.cssMixins.rowHCentered, theme.palette.text.secondary, theme.spacing(1), theme.spacing(-3))
|
|
2581
2466
|
};
|
|
2582
2467
|
const handleSliderChange = (event, newValue) => {
|
|
2583
2468
|
handleChangeAmount(newValue);
|
|
2584
2469
|
};
|
|
2585
2470
|
const handleInputChange = event => {
|
|
2586
2471
|
setInputTouched(true);
|
|
2587
|
-
|
|
2588
|
-
|
|
2472
|
+
if (!event.target.value) {
|
|
2473
|
+
handleChangeAmount(0);
|
|
2474
|
+
} else {
|
|
2475
|
+
handleChangeAmount(Number(event.target.value));
|
|
2476
|
+
}
|
|
2589
2477
|
};
|
|
2590
2478
|
const handleSetMax = () => {
|
|
2591
2479
|
handleChangeAmount(sliderMax);
|
|
@@ -3061,7 +2949,7 @@ function NotifiSubscriptionModal(_ref) {
|
|
|
3061
2949
|
handleSuccess();
|
|
3062
2950
|
}, [dispatch, handleSuccess, reset]);
|
|
3063
2951
|
const styles = {
|
|
3064
|
-
disclaimer: material.css(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n ", ";\n font-
|
|
2952
|
+
disclaimer: material.css(_templateObject$h || (_templateObject$h = _taggedTemplateLiteral(["\n ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowCentered, theme.palette.text.secondary, theme.spacing(6)),
|
|
3065
2953
|
inputField: material.css(_templateObject2$f || (_templateObject2$f = _taggedTemplateLiteral(["\n width: 100%;\n font-size: 16px;\n "]))),
|
|
3066
2954
|
inputWrapper: material.css(_templateObject3$c || (_templateObject3$c = _taggedTemplateLiteral(["\n width: 100%;\n "]))),
|
|
3067
2955
|
header: material.css(_templateObject4$7 || (_templateObject4$7 = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
@@ -3231,11 +3119,11 @@ function InputAmountModal(_ref) {
|
|
|
3231
3119
|
const styles = {
|
|
3232
3120
|
inputAmountWrapper: material.css(_templateObject$g || (_templateObject$g = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n margin-top: ", ";\n "])), theme.spacing(1), theme.spacing(16)),
|
|
3233
3121
|
inputAmount: material.css(_templateObject2$e || (_templateObject2$e = _taggedTemplateLiteral(["\n ", ";\n "])), theme.cssMixins.rowSpaceBetweened),
|
|
3234
|
-
inputField: material.css(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n input {\n width: 100%;\n color: ", ";\n font-
|
|
3122
|
+
inputField: material.css(_templateObject3$b || (_templateObject3$b = _taggedTemplateLiteral(["\n input {\n width: 100%;\n color: ", ";\n font-weight: 800;\n font-size: 40px;\n line-height: 133.4%;\n }\n "])), theme.palette.text.primary),
|
|
3235
3123
|
maxWrapper: material.css(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n position: relative;\n display: flex;\n justify-content: flex-end;\n "]))),
|
|
3236
|
-
maxTitle: material.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n position: absolute;\n color: ", ";\n font-
|
|
3237
|
-
max: material.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n display: flex;\n min-width: fit-content;\n justify-content: center;\n align-items: center;\n border-radius: 32px;\n
|
|
3238
|
-
info: material.css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["\n color: ", ";\n font-
|
|
3124
|
+
maxTitle: material.css(_templateObject5$2 || (_templateObject5$2 = _taggedTemplateLiteral(["\n position: absolute;\n color: ", ";\n font-weight: 400;\n font-size: 12px;\n line-height: 166%;\n letter-spacing: 0.4px;\n top: ", ";\n width: 200px;\n text-align: right;\n "])), theme.palette.text.primary, theme.spacing(-3)),
|
|
3125
|
+
max: material.css(_templateObject6$2 || (_templateObject6$2 = _taggedTemplateLiteral(["\n display: flex;\n min-width: fit-content;\n justify-content: center;\n align-items: center;\n border-radius: 32px;\n padding: 4px 10px;\n gap: 8px;\n font-weight: 700;\n font-size: 13px;\n line-height: 22px;\n letter-spacing: 0.46px;\n "]))),
|
|
3126
|
+
info: material.css(_templateObject7$2 || (_templateObject7$2 = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 160%;\n letter-spacing: 0.15px;\n "])), theme.palette.text.primary)
|
|
3239
3127
|
};
|
|
3240
3128
|
const onChange = event => {
|
|
3241
3129
|
setInputTouched(true);
|
|
@@ -3273,6 +3161,7 @@ function InputAmountModal(_ref) {
|
|
|
3273
3161
|
children: maxAmountText
|
|
3274
3162
|
})]
|
|
3275
3163
|
}) : jsxRuntime.jsx(material.Button, {
|
|
3164
|
+
variant: "contained",
|
|
3276
3165
|
css: styles.max,
|
|
3277
3166
|
onClick: setMaxAmount,
|
|
3278
3167
|
children: maxAmountText
|
|
@@ -4194,11 +4083,11 @@ function ConfirmTransferModal(_ref) {
|
|
|
4194
4083
|
const styles = {
|
|
4195
4084
|
wrapper: material.css(_templateObject$f || (_templateObject$f = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n ", ";\n "])), theme.cssMixins.colStretch),
|
|
4196
4085
|
header: material.css(_templateObject2$d || (_templateObject2$d = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n "])), theme.cssMixins.rowHCentered, theme.spacing(-0.5)),
|
|
4197
|
-
description: material.css(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n font-
|
|
4086
|
+
description: material.css(_templateObject3$a || (_templateObject3$a = _taggedTemplateLiteral(["\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n margin-top: ", ";\n text-align: center;\n "])), theme.palette.text.secondary, theme.spacing(4)),
|
|
4198
4087
|
transferWrapper: material.css(_templateObject4$5 || (_templateObject4$5 = _taggedTemplateLiteral(["\n margin-top: ", ";\n "])), theme.spacing(9)),
|
|
4199
|
-
transfer: material.css(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n font-
|
|
4088
|
+
transfer: material.css(_templateObject5$1 || (_templateObject5$1 = _taggedTemplateLiteral(["\n font-weight: 400;\n ", "\n ", "\n height: 72px;\n background: #f9f8fa;\n border-radius: 4px;\n font-size: 16px;\n color: ", ";\n padding: ", ";\n margin-bottom: ", ";\n position: relative;\n box-sizing: border-box;\n "])), theme.cssMixins.rowSpaceBetweened, theme.cssMixins.rowVCentered, theme.palette.text.secondary, theme.spacing(3, 2), theme.spacing(1)),
|
|
4200
4089
|
transferItem: material.css(_templateObject6$1 || (_templateObject6$1 = _taggedTemplateLiteral(["\n ", "\n "])), theme.cssMixins.rowVCentered),
|
|
4201
|
-
arrow: material.css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n @keyframes bounceAlpha {\n 0% {\n opacity: 1;\n transform: translateX(0px) scale(1);\n }\n 25% {\n opacity: 0;\n transform: translateX(10px) scale(0.9);\n }\n 26% {\n opacity: 0;\n transform: translateX(-10px) scale(0.9);\n }\n 55% {\n opacity: 1;\n transform: translateX(0px) scale(1);\n }\n }\n animation-name: bounceAlpha;\n animation-duration: 1.4s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n\n color:
|
|
4090
|
+
arrow: material.css(_templateObject7$1 || (_templateObject7$1 = _taggedTemplateLiteral(["\n @keyframes bounceAlpha {\n 0% {\n opacity: 1;\n transform: translateX(0px) scale(1);\n }\n 25% {\n opacity: 0;\n transform: translateX(10px) scale(0.9);\n }\n 26% {\n opacity: 0;\n transform: translateX(-10px) scale(0.9);\n }\n 55% {\n opacity: 1;\n transform: translateX(0px) scale(1);\n }\n }\n animation-name: bounceAlpha;\n animation-duration: 1.4s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n\n color: ", ";\n position: absolute;\n margin: auto;\n top: 0;\n left: calc(15% + 36px);\n bottom: 0;\n right: 0;\n width: 16px;\n height: 16px;\n "])), theme.palette.primary.main),
|
|
4202
4091
|
arrowFirst: material.css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n left: calc(15% + 20px);\n animation-delay: 0.2s;\n "]))),
|
|
4203
4092
|
okButton: material.css(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n width: 100%;\n position: absolute;\n bottom: 0;\n "]))),
|
|
4204
4093
|
usdcIcon: material.css(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n width: 22px;\n margin-right: ", ";\n & > path:first-of-type {\n fill: #76707e;\n }\n "])), theme.spacing(2))
|
|
@@ -4222,7 +4111,7 @@ function ConfirmTransferModal(_ref) {
|
|
|
4222
4111
|
css: /*#__PURE__*/react.css({
|
|
4223
4112
|
width: '24px',
|
|
4224
4113
|
marginRight: theme.spacing(2)
|
|
4225
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:ConfirmTransferModal;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
4114
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:ConfirmTransferModal;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkNvbmZpcm1UcmFuc2Zlck1vZGFsLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4SGMiLCJmaWxlIjoiQ29uZmlybVRyYW5zZmVyTW9kYWwudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY29tYmluZVN0eWxlcyB9IGZyb20gJ0BodW1hLWZpbmFuY2Uvc2hhcmVkJ1xuaW1wb3J0IEFycm93Rm9yd2FyZElvc0ljb24gZnJvbSAnQG11aS9pY29ucy1tYXRlcmlhbC9BcnJvd0ZvcndhcmRJb3MnXG5pbXBvcnQgeyBCb3gsIEJ1dHRvbiwgY3NzLCBUeXBvZ3JhcGh5LCB1c2VUaGVtZSB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwnXG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnXG5cbmltcG9ydCB7IFJlY2VpcHRJY29uLCBVc2RjSWNvbiB9IGZyb20gJy4vaWNvbnMnXG5cbnR5cGUgUHJvcHMgPSB7XG4gIHRpdGxlOiBzdHJpbmdcbiAgZGVzY3JpcHRpb246IHN0cmluZ1xuICBpdGVtczogW1xuICAgIHsgbGVmdFRleHQ6IHN0cmluZzsgcmlnaHRUZXh0OiBzdHJpbmcgfSxcbiAgICB7IGxlZnRUZXh0OiBzdHJpbmc7IHJpZ2h0VGV4dDogc3RyaW5nIH0sXG4gIF1cbiAgYWN0aW9uVGV4dDogc3RyaW5nXG4gIGhhbmRsZUFjdGlvbjogKCkgPT4gdm9pZFxufVxuXG5leHBvcnQgZnVuY3Rpb24gQ29uZmlybVRyYW5zZmVyTW9kYWwoe1xuICB0aXRsZSxcbiA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DxCb3ggY3NzPXtzdHlsZXMudHJhbnNmZXJXcmFwcGVyfT5cbiAgICAgICAgPEJveCBjc3M9e3N0eWxlcy50cmFuc2Zlcn0+XG4gICAgICAgICAgPEJveCBjc3M9e3N0eWxlcy50cmFuc2Zlckl0ZW19PlxuICAgICAgICAgICAgPFJlY2VpcHRJY29uXG4gICAgICAgICAgICAgIGNzcz17eyB3aWR0aDogJzI0cHgnLCBtYXJnaW5SaWdodDogdGhlbWUuc3BhY2luZygyKSB9fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICAgIHtpdGVtc1swXS5sZWZ0VGV4dH1cbiAgICAgICAgICA8L0JveD5cbiAgICAgICAgICA8QXJyb3dGb3J3YXJkSW9zSWNvblxuICAgICAgICAgICAgY3NzPXtjb21iaW5lU3R5bGVzKFtzdHlsZXMuYXJyb3csIHN0eWxlcy5hcnJvd0ZpcnN0XSl9XG4gICAgICAgICAgLz5cbiAgICAgICAgICA8QXJyb3dGb3J3YXJkSW9zSWNvbiBjc3M9e3N0eWxlcy5hcnJvd30gLz5cbiAgICAgICAgICA8Qm94PntpdGVtc1swXS5yaWdodFRleHR9PC9Cb3g+XG4gICAgICAgIDwvQm94PlxuICAgICAgICA8Qm94IGNzcz17c3R5bGVzLnRyYW5zZmVyfT5cbiAgICAgICAgICA8Qm94IGNzcz17c3R5bGVzLnRyYW5zZmVySXRlbX0+XG4gICAgICAgICAgICA8VXNkY0ljb24gY3NzPXtzdHlsZXMudXNkY0ljb259IC8+XG4gICAgICAgICAgICB7aXRlbXNbMV0ubGVmdFRleHR9XG4gICAgICAgICAgPC9Cb3g+XG4gICAgICAgICAgPEFycm93Rm9yd2FyZElvc0ljb25cbiAgICAgICAgICAgIGNzcz17Y29tYmluZVN0eWxlcyhbc3R5bGVzLmFycm93LCBzdHlsZXMuYXJyb3dGaXJzdF0pfVxuICAgICAgICAgIC8+XG4gICAgICAgICAgPEFycm93Rm9yd2FyZElvc0ljb24gY3NzPXtzdHlsZXMuYXJyb3d9IC8+XG4gICAgICAgICAgPEJveD57aXRlbXNbMV0ucmlnaHRUZXh0fTwvQm94PlxuICAgICAgICA8L0JveD5cbiAgICAgIDwvQm94PlxuICAgICAgPEJ1dHRvbiB2YXJpYW50PSdjb250YWluZWQnIGNzcz17c3R5bGVzLm9rQnV0dG9ufSBvbkNsaWNrPXtoYW5kbGVBY3Rpb259PlxuICAgICAgICB7YWN0aW9uVGV4dH1cbiAgICAgIDwvQnV0dG9uPlxuICAgIDwvQm94PlxuICApXG59XG4iXX0= */")
|
|
4226
4115
|
}), items[0].leftText]
|
|
4227
4116
|
}), jsxRuntime.jsx(ArrowForwardIosIcon__default["default"], {
|
|
4228
4117
|
css: shared.combineStyles([styles.arrow, styles.arrowFirst])
|
|
@@ -4588,9 +4477,9 @@ function ChooseTranche$1(_ref) {
|
|
|
4588
4477
|
const theme = material.useTheme();
|
|
4589
4478
|
const dispatch = useAppDispatch();
|
|
4590
4479
|
const styles = {
|
|
4591
|
-
subTitle: material.css(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n color: ", " !important;\n font-
|
|
4480
|
+
subTitle: material.css(_templateObject$e || (_templateObject$e = _taggedTemplateLiteral(["\n color: ", " !important;\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin-top: ", ";\n margin-left: ", ";\n "])), theme.palette.text.primary, theme.spacing(5), theme.spacing(2)),
|
|
4592
4481
|
radioGroup: material.css(_templateObject2$c || (_templateObject2$c = _taggedTemplateLiteral(["\n margin-left: ", ";\n margin-top: ", ";\n "])), theme.spacing(3), theme.spacing(3)),
|
|
4593
|
-
formControl: material.css(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n\n .MuiFormControlLabel-label {\n color: ", ";\n font-
|
|
4482
|
+
formControl: material.css(_templateObject3$9 || (_templateObject3$9 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n\n .MuiFormControlLabel-label {\n color: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n }\n "])), theme.spacing(1), theme.palette.text.primary)
|
|
4594
4483
|
};
|
|
4595
4484
|
const handleNext = () => {
|
|
4596
4485
|
dispatch(setStep(WIDGET_STEP.ChooseAmount));
|
|
@@ -4976,7 +4865,7 @@ function EvaluationEA(_ref) {
|
|
|
4976
4865
|
const [loading, setLoading] = React.useState(false);
|
|
4977
4866
|
const styles = {
|
|
4978
4867
|
iconWrapper: material.css(_templateObject$d || (_templateObject$d = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 144px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(8)),
|
|
4979
|
-
description: material.css(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n padding: ", ";\n font-
|
|
4868
|
+
description: material.css(_templateObject2$b || (_templateObject2$b = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n padding: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n "])), theme.cssMixins.rowCentered, theme.spacing(10), theme.spacing(0, 2), theme.palette.text.secondary)
|
|
4980
4869
|
};
|
|
4981
4870
|
const approveLender = async () => {
|
|
4982
4871
|
if (account) {
|
|
@@ -5026,12 +4915,12 @@ function EvaluationEA(_ref) {
|
|
|
5026
4915
|
|
|
5027
4916
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$3() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
5028
4917
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
5029
|
-
name: "
|
|
5030
|
-
styles: "font-size:15px;font-
|
|
4918
|
+
name: "18lfdfz",
|
|
4919
|
+
styles: "font-size:15px;font-weight:400"
|
|
5031
4920
|
} : {
|
|
5032
|
-
name: "
|
|
5033
|
-
styles: "font-size:15px;font-
|
|
5034
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFTbmFja0Jhci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUNnQiIsImZpbGUiOiJIdW1hU25hY2tCYXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBBbGVydCwgQm94LCBTbmFja2JhciwgdXNlVGhlbWUgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuXG50eXBlIFByb3BzID0ge1xuICBvcGVuOiBib29sZWFuXG4gIHRpdGxlOiBzdHJpbmdcbiAgbWVzc2FnZTogc3RyaW5nXG4gIHNldmVyaXR5OiAnc3VjY2VzcycgfCAnaW5mbycgfCAnd2FybmluZycgfCAnZXJyb3InXG4gIGF1dG9IaWRlRHVyYXRpb24/
|
|
4921
|
+
name: "1hr00hl-message",
|
|
4922
|
+
styles: "font-size:15px;font-weight:400;label:message;",
|
|
4923
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFTbmFja0Jhci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUNnQiIsImZpbGUiOiJIdW1hU25hY2tCYXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBBbGVydCwgQm94LCBTbmFja2JhciwgdXNlVGhlbWUgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuXG50eXBlIFByb3BzID0ge1xuICBvcGVuOiBib29sZWFuXG4gIHRpdGxlOiBzdHJpbmdcbiAgbWVzc2FnZTogc3RyaW5nXG4gIHNldmVyaXR5OiAnc3VjY2VzcycgfCAnaW5mbycgfCAnd2FybmluZycgfCAnZXJyb3InXG4gIGF1dG9Ia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9e29uQ2xvc2V9XG4gICAgICAgIHRpdGxlPXt0aXRsZX1cbiAgICAgICAgc2V2ZXJpdHk9e3NldmVyaXR5fVxuICAgICAgICBjc3M9e3N0eWxlcy5hbGVydH1cbiAgICAgID5cbiAgICAgICAgPEJveCBjc3M9e3N0eWxlcy50aXRsZX0+e3RpdGxlfTwvQm94PlxuICAgICAgICA8Qm94IGNzcz17c3R5bGVzLm1lc3NhZ2V9PnttZXNzYWdlfTwvQm94PlxuICAgICAgPC9BbGVydD5cbiAgICA8L1NuYWNrYmFyPlxuICApXG59XG4iXX0= */",
|
|
5035
4924
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$3
|
|
5036
4925
|
};
|
|
5037
4926
|
function HumaSnackBar(_ref2) {
|
|
@@ -5045,9 +4934,9 @@ function HumaSnackBar(_ref2) {
|
|
|
5045
4934
|
} = _ref2;
|
|
5046
4935
|
const theme = material.useTheme();
|
|
5047
4936
|
const styles = {
|
|
5048
|
-
snackbar: /*#__PURE__*/react.css("margin-top:", theme.spacing(10), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:snackbar;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFTbmFja0Jhci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJpQiIsImZpbGUiOiJIdW1hU25hY2tCYXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBBbGVydCwgQm94LCBTbmFja2JhciwgdXNlVGhlbWUgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuXG50eXBlIFByb3BzID0ge1xuICBvcGVuOiBib29sZWFuXG4gIHRpdGxlOiBzdHJpbmdcbiAgbWVzc2FnZTogc3RyaW5nXG4gIHNldmVyaXR5OiAnc3VjY2VzcycgfCAnaW5mbycgfCAnd2FybmluZycgfCAnZXJyb3InXG4gIGF1dG9IaWRlRHVyYXRpb24/
|
|
5049
|
-
alert: /*#__PURE__*/react.css("max-width:400px;padding:", theme.spacing(2, 4, 2, 2), ";border-radius:16px;overflow:hidden;" + (process.env.NODE_ENV === "production" ? "" : ";label:alert;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
5050
|
-
title: /*#__PURE__*/react.css("margin-bottom:", theme.spacing(1), ";font-size:16px;font-
|
|
4937
|
+
snackbar: /*#__PURE__*/react.css("margin-top:", theme.spacing(10), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:snackbar;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFTbmFja0Jhci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJpQiIsImZpbGUiOiJIdW1hU25hY2tCYXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnXG5pbXBvcnQgeyBBbGVydCwgQm94LCBTbmFja2JhciwgdXNlVGhlbWUgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuXG50eXBlIFByb3BzID0ge1xuICBvcGVuOiBib29sZWFuXG4gIHRpdGxlOiBzdHJpbmdcbiAgbWVzc2FnZTogc3RyaW5nXG4gIHNldmVyaXR5OiAnc3VjY2VzcycgfCAnaW5mbycgfCAnd2FybmluZycgfCAnZXJyb3InXG4gIGF1dG9IaWRlRHVyYXRpb24/OiBudW1iZXJcbiAgb25DbG9zZTogKCkgPT4gdm9pZFxufVxuXG5leHBvcnQgZnVuY3Rpb24gSHVtYVNuYWNrQmFyKHtcbiAgb3BlbixcbiAgYXV0b0hpZGVEdXJhdGlvbixcbiAgdGl0bGUsXG4gIG1lc3NhZ2UsXG4gIHNldm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94PlxuICAgICAgICA8Qm94IGNzcz17c3R5bGVzLm1lc3NhZ2V9PnttZXNzYWdlfTwvQm94PlxuICAgICAgPC9BbGVydD5cbiAgICA8L1NuYWNrYmFyPlxuICApXG59XG4iXX0= */"),
|
|
4938
|
+
alert: /*#__PURE__*/react.css("max-width:400px;padding:", theme.spacing(2, 4, 2, 2), ";border-radius:16px;overflow:hidden;" + (process.env.NODE_ENV === "production" ? "" : ";label:alert;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFTbmFja0Jhci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBMEJjIiwiZmlsZSI6Ikh1bWFTbmFja0Jhci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IEFsZXJ0LCBCb3gsIFNuYWNrYmFyLCB1c2VUaGVtZSB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwnXG5cbnR5cGUgUHJvcHMgPSB7XG4gIG9wZW46IGJvb2xlYW5cbiAgdGl0bGU6IHN0cmluZ1xuICBtZXNzYWdlOiBzdHJpbmdcbiAgc2V2ZXJpdHk6ICdzdWNjZXNzJyB8ICdpbmZvJyB8ICd3YXJuaW5nJyB8ICdlcnJvcidcbiAgYXV0b0hpZGVEdXJhdGlvbj86IG51bWJlclxuICBvbkNsb3NlOiAoKSA9PiB2b2lkXG59XG5cbmV4cG9ydCBmdW5jdGlvbiBIdW1hU25hY2tCYXIoe1xuICBvcGVuLFxuICBhdXRvSGlkZUR1cmF0aW9uLFxuICB0aXRsZSxcbiAgbWVzc2FnZSxcbiAgc2V2ZXJpdHksXG4gIG9uQ2xvc2UsXG59OiBQcm9wcykge1xuICBjb25zdCB0aGVtZSA9IHVzZVRoZW1lKClcblxuICBjb25zdCBzdHlsZXMgPSB7XG4gIC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XG4gIClcbn1cbiJdfQ== */"),
|
|
4939
|
+
title: /*#__PURE__*/react.css("margin-bottom:", theme.spacing(1), ";font-size:16px;font-weight:700;" + (process.env.NODE_ENV === "production" ? "" : ";label:title;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkh1bWFTbmFja0Jhci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0NjIiwiZmlsZSI6Ikh1bWFTbmFja0Jhci50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IEFsZXJ0LCBCb3gsIFNuYWNrYmFyLCB1c2VUaGVtZSB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwnXG5cbnR5cGUgUHJvcHMgPSB7XG4gIG9wZW46IGJvb2xlYW5cbiAgdGl0bGU6IHN0cmluZ1xuICBtZXNzYWdlOiBzdHJpbmdcbiAgc2V2ZXJpdHk6ICdzdWNjZXNzJyB8ICdpbmZvJyB8ICd3YXJuaW5nJyB8ICdlcnJvcidcbiAgYXV0b0hpZGVEdXJhdGlvbj86IG51bWJlclxuICBvbkNsb3NlOiAoKSA9PiB2b2lkXG59XG5cbmV4cG9ydCBmdW5jdGlvbiBIdW1hU25hY2tCYXIoe1xuICBvcGVuLFxuICBhdXRvSGlkZUR1cmF0aW9uLFxuICB0aXRsZSxcbiAgbWVzc2FnZSxcbiAgc2V2ZXJpdHksXG4gIG9uQ2xvc2UsXG59OiBQcm9wcykge1xuICBjb25zdCB0aGVtZSA9IHVzZVRoZW1lKClcblxuICBjb25zdCBzdHlsZXMgPSB7XG4gICAgc25hY2tiYXI6IGNzc2BcbiAgICAgIG1hcmdpbi10b3A6ICR7dGhlbWUuc3BhY2luZygxMCl9O1xuICAgIGAsXG4gICAgYWxlcnQ6IGNzc2BcbiAgICAgIG1heC13aWR0aDogNDAwcHg7XG4gICAgICBwYWRkaW5nOiAke3RoZW1lLnNwYWNpbmcoMiwgNCwgMiwgMil9O1xuICAgICAgYm9yZGVyLXJhZGl1czogMTZweDtcbiAgICAgIG92ZXJmbG93OiBoaWRkZW47XG4gICAgYCxcbiAgICB0aXRsZTogY3NzYFxuICAgICAgbWFyZ2luLWJvdHRvbTogJHt0aGVtZS5zcGFjaW5nKDEpfTtcbiAgICAgIGZvbnQtc2l6ZTogMTZweDtcbiAgICAgIGZvbnQtd2VpZ2h0OiA3MDA7XG4gICAgYCxcbiAgICBtZXNzYWdlOiBjc3NgXG4gICAgICBmb250LXNpemU6IDE1cHg7XG4gICAgICBmb250LXdlaWdodDogNDAwO1xuICAgIGAsXG4gIH1cblxuICByZXR1cm4gKFxuICAgIDxTbmFja2JhclxuICAgICAgb3Blbj17b3Blbn1cbiAgICAgIGF1dG9IaWRlRHVyYXRpb249e2F1dG9IaWRlRHVyYXRpb24gPz8gNjAwMH1cbiAgICAgIG9uQ2xvc2U9e29uQ2xvc2V9XG4gICAgICBjc3M9e3N0eWxlcy5zbmFja2Jhcn1cbiAgICA+XG4gICAgICA8QWxlcnRcbiAgICAgICAgb25DbG9zZT17b25DbG9zZX1cbiAgICAgICAgdGl0bGU9e3RpdGxlfVxuICAgICAgICBzZXZlcml0eT17c2V2ZXJpdHl9XG4gICAgICAgIGNzcz17c3R5bGVzLmFsZXJ0fVxuICAgICAgPlxuICAgICAgICA8Qm94IGNzcz17c3R5bGVzLnRpdGxlfT57dGl0bGV9PC9Cb3g+XG4gICAgICAgIDxCb3ggY3NzPXtzdHlsZXMubWVzc2FnZX0+e21lc3NhZ2V9PC9Cb3g+XG4gICAgICA8L0FsZXJ0PlxuICAgIDwvU25hY2tiYXI+XG4gIClcbn1cbiJdfQ== */"),
|
|
5051
4940
|
message: _ref
|
|
5052
4941
|
};
|
|
5053
4942
|
return jsxRuntime.jsx(material.Snackbar, {
|
|
@@ -5138,7 +5027,7 @@ function EvaluationKYC(_ref) {
|
|
|
5138
5027
|
const [openSnackBar, setOpenSnackBar] = React.useState(false);
|
|
5139
5028
|
const styles = {
|
|
5140
5029
|
iconWrapper: material.css(_templateObject$c || (_templateObject$c = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 144px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(8)),
|
|
5141
|
-
description: material.css(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n padding: ", ";\n font-
|
|
5030
|
+
description: material.css(_templateObject2$a || (_templateObject2$a = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n padding: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n "])), theme.cssMixins.rowCentered, theme.spacing(10), theme.spacing(0, 2), theme.palette.text.secondary)
|
|
5142
5031
|
};
|
|
5143
5032
|
const {
|
|
5144
5033
|
envelopeKey,
|
|
@@ -5591,9 +5480,9 @@ function ChooseTranche(_ref) {
|
|
|
5591
5480
|
const theme = material.useTheme();
|
|
5592
5481
|
const dispatch = useAppDispatch();
|
|
5593
5482
|
const styles = {
|
|
5594
|
-
subTitle: material.css(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n color: ", " !important;\n font-
|
|
5483
|
+
subTitle: material.css(_templateObject$b || (_templateObject$b = _taggedTemplateLiteral(["\n color: ", " !important;\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin-top: ", ";\n margin-left: ", ";\n "])), theme.palette.text.primary, theme.spacing(5), theme.spacing(2)),
|
|
5595
5484
|
radioGroup: material.css(_templateObject2$9 || (_templateObject2$9 = _taggedTemplateLiteral(["\n margin-left: ", ";\n margin-top: ", ";\n "])), theme.spacing(3), theme.spacing(3)),
|
|
5596
|
-
formControl: material.css(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n\n .MuiFormControlLabel-label {\n color: ", ";\n font-
|
|
5485
|
+
formControl: material.css(_templateObject3$8 || (_templateObject3$8 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n\n .MuiFormControlLabel-label {\n color: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n }\n "])), theme.spacing(1), theme.palette.text.primary)
|
|
5597
5486
|
};
|
|
5598
5487
|
const handleNext = () => {
|
|
5599
5488
|
dispatch(setStep(WIDGET_STEP.ChooseAmount));
|
|
@@ -5687,15 +5576,15 @@ function PersonaEvaluation(_ref) {
|
|
|
5687
5576
|
const createNewWallet = async () => {
|
|
5688
5577
|
if (isWalletOwnershipVerified && campaign && account) {
|
|
5689
5578
|
var _localStorage$getItem;
|
|
5690
|
-
await shared.CampaignService.createNewWallet(account, (_localStorage$getItem = localStorage.getItem(shared.CAMPAIGN_REFERENCE_CODE)) !== null && _localStorage$getItem !== void 0 ? _localStorage$getItem : undefined);
|
|
5579
|
+
await shared.CampaignService.createNewWallet(account, (_localStorage$getItem = localStorage.getItem(shared.CAMPAIGN_REFERENCE_CODE)) !== null && _localStorage$getItem !== void 0 ? _localStorage$getItem : undefined, isDev);
|
|
5691
5580
|
}
|
|
5692
5581
|
};
|
|
5693
5582
|
createNewWallet();
|
|
5694
|
-
}, [account, campaign, isWalletOwnershipVerified]);
|
|
5583
|
+
}, [account, campaign, isDev, isWalletOwnershipVerified]);
|
|
5695
5584
|
React.useEffect(() => {
|
|
5696
5585
|
const getBasePoints = async () => {
|
|
5697
5586
|
if (campaign) {
|
|
5698
|
-
const estimatedPoints = await shared.CampaignService.getEstimatedPoints(campaign.campaignGroupId, minDepositAmountBN.toString());
|
|
5587
|
+
const estimatedPoints = await shared.CampaignService.getEstimatedPoints(campaign.campaignGroupId, minDepositAmountBN.toString(), isDev);
|
|
5699
5588
|
const campaignPoints = estimatedPoints.find(item => item.campaignId === campaign.id);
|
|
5700
5589
|
if (campaignPoints) {
|
|
5701
5590
|
const {
|
|
@@ -5711,7 +5600,7 @@ function PersonaEvaluation(_ref) {
|
|
|
5711
5600
|
}
|
|
5712
5601
|
};
|
|
5713
5602
|
getBasePoints();
|
|
5714
|
-
}, [campaign, isUniTranche, minDepositAmountBN]);
|
|
5603
|
+
}, [campaign, isDev, isUniTranche, minDepositAmountBN]);
|
|
5715
5604
|
const approveLender = React.useCallback(async () => {
|
|
5716
5605
|
try {
|
|
5717
5606
|
isActionOngoingRef.current = true;
|
|
@@ -5894,8 +5783,8 @@ function PersonaEvaluation(_ref) {
|
|
|
5894
5783
|
};
|
|
5895
5784
|
const styles = {
|
|
5896
5785
|
iconWrapper: material.css(_templateObject$a || (_templateObject$a = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 144px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(8)),
|
|
5897
|
-
description: material.css(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n text-align: justify;\n margin-top: ", ";\n padding: ", ";\n font-
|
|
5898
|
-
points: material.css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n color:
|
|
5786
|
+
description: material.css(_templateObject2$8 || (_templateObject2$8 = _taggedTemplateLiteral(["\n text-align: justify;\n margin-top: ", ";\n padding: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n "])), theme.spacing(10), theme.spacing(0, 2), theme.palette.text.primary),
|
|
5787
|
+
points: material.css(_templateObject3$7 || (_templateObject3$7 = _taggedTemplateLiteral(["\n color: ", ";\n font-weight: 700;\n "])), theme.palette.primary.main)
|
|
5899
5788
|
};
|
|
5900
5789
|
if (!loadingType) {
|
|
5901
5790
|
return jsxRuntime.jsxs(WrapperModal, {
|
|
@@ -6138,7 +6027,7 @@ function SecuritizeEvaluation(_ref) {
|
|
|
6138
6027
|
});
|
|
6139
6028
|
const styles = {
|
|
6140
6029
|
iconWrapper: material.css(_templateObject$9 || (_templateObject$9 = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n & > img {\n width: 144px;\n }\n "])), theme.cssMixins.rowCentered, theme.spacing(8)),
|
|
6141
|
-
description: material.css(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n padding: ", ";\n font-
|
|
6030
|
+
description: material.css(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n ", ";\n margin-top: ", ";\n padding: ", ";\n font-weight: 400;\n font-size: 16px;\n color: ", ";\n "])), theme.cssMixins.rowCentered, theme.spacing(10), theme.spacing(0, 2), theme.palette.text.primary)
|
|
6142
6031
|
};
|
|
6143
6032
|
if (!loadingType) {
|
|
6144
6033
|
return jsxRuntime.jsxs(WrapperModal, {
|
|
@@ -6202,6 +6091,7 @@ function ChooseAmount$4(_ref) {
|
|
|
6202
6091
|
isUniTranche,
|
|
6203
6092
|
campaign
|
|
6204
6093
|
} = _ref;
|
|
6094
|
+
const isDev = shared.checkIsDev();
|
|
6205
6095
|
const dispatch = useAppDispatch();
|
|
6206
6096
|
const {
|
|
6207
6097
|
account,
|
|
@@ -6223,7 +6113,7 @@ function ChooseAmount$4(_ref) {
|
|
|
6223
6113
|
React.useEffect(() => {
|
|
6224
6114
|
const getBasePoints = async () => {
|
|
6225
6115
|
if (campaign && selectedTranche && Number(debouncedValue) > 0) {
|
|
6226
|
-
const estimatedPoints = await shared.CampaignService.getEstimatedPoints(campaign.campaignGroupId, ethers.ethers.utils.parseUnits(String(debouncedValue), poolInfo.poolUnderlyingToken.decimals).toString());
|
|
6116
|
+
const estimatedPoints = await shared.CampaignService.getEstimatedPoints(campaign.campaignGroupId, ethers.ethers.utils.parseUnits(String(debouncedValue), poolInfo.poolUnderlyingToken.decimals).toString(), isDev);
|
|
6227
6117
|
const campaignPoints = estimatedPoints.find(item => item.campaignId === campaign.id);
|
|
6228
6118
|
if (campaignPoints) {
|
|
6229
6119
|
setCampaignPoints(campaignPoints["".concat(selectedTranche, "TranchePoints")]);
|
|
@@ -6232,7 +6122,7 @@ function ChooseAmount$4(_ref) {
|
|
|
6232
6122
|
}
|
|
6233
6123
|
};
|
|
6234
6124
|
getBasePoints();
|
|
6235
|
-
}, [campaign, debouncedValue, decimals, poolInfo.poolUnderlyingToken.decimals, selectedTranche]);
|
|
6125
|
+
}, [campaign, debouncedValue, decimals, isDev, poolInfo.poolUnderlyingToken.decimals, selectedTranche]);
|
|
6236
6126
|
const handleChangeAmount = newAmount => {
|
|
6237
6127
|
setCurrentAmount(newAmount);
|
|
6238
6128
|
dispatch(setSupplyAmount(Number(newAmount)));
|
|
@@ -6424,6 +6314,7 @@ function PointsEarned(_ref) {
|
|
|
6424
6314
|
handleAction
|
|
6425
6315
|
} = _ref;
|
|
6426
6316
|
const theme = material.useTheme();
|
|
6317
|
+
const isDev = shared.checkIsDev();
|
|
6427
6318
|
const dispatch = reactRedux.useDispatch();
|
|
6428
6319
|
const {
|
|
6429
6320
|
account,
|
|
@@ -6437,7 +6328,7 @@ function PointsEarned(_ref) {
|
|
|
6437
6328
|
setError: setAuthError,
|
|
6438
6329
|
isWalletOwnershipVerified,
|
|
6439
6330
|
isWalletOwnershipVerificationRequired
|
|
6440
|
-
} = shared.useAuthErrorHandling(
|
|
6331
|
+
} = shared.useAuthErrorHandling(isDev);
|
|
6441
6332
|
const [walletOwnership, setWalletOwnership] = React.useState();
|
|
6442
6333
|
const [state, setState] = React.useState(STATE.Loading);
|
|
6443
6334
|
React.useEffect(() => {
|
|
@@ -6452,14 +6343,14 @@ function PointsEarned(_ref) {
|
|
|
6452
6343
|
}, [isWalletOwnershipVerified]);
|
|
6453
6344
|
React.useEffect(() => {
|
|
6454
6345
|
const checkWalletOwnership = async () => {
|
|
6455
|
-
const ownership = await shared.CampaignService.checkWalletOwnership(account);
|
|
6346
|
+
const ownership = await shared.CampaignService.checkWalletOwnership(account, isDev);
|
|
6456
6347
|
setWalletOwnership(ownership);
|
|
6457
6348
|
if (!ownership) {
|
|
6458
6349
|
setAuthError('WalletNotSignInException');
|
|
6459
6350
|
}
|
|
6460
6351
|
};
|
|
6461
6352
|
checkWalletOwnership();
|
|
6462
|
-
}, [account, setAuthError]);
|
|
6353
|
+
}, [account, isDev, setAuthError]);
|
|
6463
6354
|
React.useEffect(() => {
|
|
6464
6355
|
if (errorType === 'NotSignedIn') {
|
|
6465
6356
|
setState(STATE.SignIn);
|
|
@@ -6477,7 +6368,7 @@ function PointsEarned(_ref) {
|
|
|
6477
6368
|
const updateWalletPoints = async () => {
|
|
6478
6369
|
if (walletOwnership) {
|
|
6479
6370
|
try {
|
|
6480
|
-
const result = await shared.CampaignService.updateWalletPoints(chainId, account, transactionHash);
|
|
6371
|
+
const result = await shared.CampaignService.updateWalletPoints(chainId, account, transactionHash, isDev);
|
|
6481
6372
|
if (!result.pointsAccumulated) {
|
|
6482
6373
|
dispatch(setError({
|
|
6483
6374
|
errorMessage: ERROR_MESSAGE
|
|
@@ -6493,15 +6384,15 @@ function PointsEarned(_ref) {
|
|
|
6493
6384
|
}
|
|
6494
6385
|
};
|
|
6495
6386
|
updateWalletPoints();
|
|
6496
|
-
}, [account, chainId, dispatch, transactionHash, walletOwnership]);
|
|
6387
|
+
}, [account, chainId, dispatch, isDev, transactionHash, walletOwnership]);
|
|
6497
6388
|
const styles = {
|
|
6498
6389
|
wrapper: material.css(_templateObject$8 || (_templateObject$8 = _taggedTemplateLiteral(["\n height: 518px;\n position: relative;\n "]))),
|
|
6499
6390
|
congrats: material.css(_templateObject2$6 || (_templateObject2$6 = _taggedTemplateLiteral(["\n margin: ", ";\n "])), theme.spacing(-4, -4.5, 0, -4.5)),
|
|
6500
|
-
ribbon: material.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n position: relative;\n ", ";\n font-
|
|
6391
|
+
ribbon: material.css(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n position: relative;\n ", ";\n font-weight: 700;\n margin-top: ", ";\n color: ", ";\n font-size: 20px;\n line-height: 160%;\n letter-spacing: 0.15px;\n "])), theme.cssMixins.rowHCentered, theme.spacing(-8), theme.palette.text.primary),
|
|
6501
6392
|
ribbonContent: material.css(_templateObject4$4 || (_templateObject4$4 = _taggedTemplateLiteral(["\n ", ";\n position: absolute;\n top: ", ";\n\n svg {\n margin-right: ", ";\n }\n "])), theme.cssMixins.rowVCentered, theme.spacing(1), theme.spacing(1)),
|
|
6502
|
-
entirePoints: material.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n color: ", ";\n text-align: center;\n font-
|
|
6503
|
-
entirePointsDetails: material.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n color: ", ";\n text-align: center;\n font-
|
|
6504
|
-
everyday: material.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n font-
|
|
6393
|
+
entirePoints: material.css(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n color: ", ";\n text-align: center;\n font-weight: 700;\n font-size: 20px;\n line-height: 160%;\n letter-spacing: 0.15px;\n margin-top: ", ";\n "])), theme.palette.text.tertiary, theme.spacing(7)),
|
|
6394
|
+
entirePointsDetails: material.css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n color: ", ";\n text-align: center;\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin-top: ", ";\n "])), theme.palette.text.tertiary, theme.spacing(4)),
|
|
6395
|
+
everyday: material.css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n font-weight: 700;\n "])))
|
|
6505
6396
|
};
|
|
6506
6397
|
if (state === STATE.SignIn) {
|
|
6507
6398
|
return jsxRuntime.jsx(SignIn, {
|
|
@@ -6924,10 +6815,10 @@ function ConfirmTransfer$1(_ref) {
|
|
|
6924
6815
|
dispatch(setStep(WIDGET_STEP.Transfer));
|
|
6925
6816
|
};
|
|
6926
6817
|
const styles = {
|
|
6927
|
-
itemWrapper: material.css(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n margin-top: ", ";\n color: ", ";\n font-
|
|
6818
|
+
itemWrapper: material.css(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n margin-top: ", ";\n color: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 175%;\n letter-spacing: 0.15px;\n "])), theme.spacing(9), theme.palette.text.primary),
|
|
6928
6819
|
item: material.css(_templateObject2$5 || (_templateObject2$5 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: ", ";\n "])), theme.spacing(3)),
|
|
6929
|
-
itemValue: material.css(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n font-size: 20px;\n font-
|
|
6930
|
-
divider: material.css(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n border-color:
|
|
6820
|
+
itemValue: material.css(_templateObject3$5 || (_templateObject3$5 = _taggedTemplateLiteral(["\n font-size: 20px;\n font-weight: 700;\n "]))),
|
|
6821
|
+
divider: material.css(_templateObject4$3 || (_templateObject4$3 = _taggedTemplateLiteral(["\n border-color: ", ";\n margin-bottom: ", ";\n "])), theme.palette.divider, theme.spacing(3))
|
|
6931
6822
|
};
|
|
6932
6823
|
return jsxRuntime.jsxs(WrapperModal, {
|
|
6933
6824
|
title: "Withdraw ".concat(symbol),
|
|
@@ -7416,9 +7307,9 @@ function ChoosePaymentType(_ref) {
|
|
|
7416
7307
|
const theme = material.useTheme();
|
|
7417
7308
|
const dispatch = useAppDispatch();
|
|
7418
7309
|
const styles = {
|
|
7419
|
-
subTitle: material.css(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n color: ", " !important;\n font-
|
|
7310
|
+
subTitle: material.css(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n color: ", " !important;\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n margin-top: ", ";\n margin-left: ", ";\n "])), theme.palette.text.primary, theme.spacing(5), theme.spacing(2)),
|
|
7420
7311
|
radioGroup: material.css(_templateObject2$4 || (_templateObject2$4 = _taggedTemplateLiteral(["\n margin-left: ", ";\n margin-top: ", ";\n "])), theme.spacing(3), theme.spacing(3)),
|
|
7421
|
-
formControl: material.css(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n .MuiFormControlLabel-label {\n color: ", ";\n font-
|
|
7312
|
+
formControl: material.css(_templateObject3$4 || (_templateObject3$4 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n .MuiFormControlLabel-label {\n color: ", ";\n font-weight: 400;\n font-size: 16px;\n line-height: 150%;\n letter-spacing: 0.15px;\n }\n "])), theme.spacing(1), theme.palette.text.primary)
|
|
7422
7313
|
};
|
|
7423
7314
|
const handleNext = () => {
|
|
7424
7315
|
dispatch(setStep(WIDGET_STEP.ChooseAmount));
|
|
@@ -7878,9 +7769,9 @@ function HumaTable(_ref) {
|
|
|
7878
7769
|
} = useElementDimensions(ref);
|
|
7879
7770
|
const isLoading = !columns || !rows;
|
|
7880
7771
|
const styles = {
|
|
7881
|
-
tableHeader: material.css(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n font-
|
|
7882
|
-
tableBody: material.css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n font-
|
|
7883
|
-
empty: material.css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: ", ";\n font-
|
|
7772
|
+
tableHeader: material.css(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n font-weight: 400;\n ", "\n font-size: 14px;\n color: rgba(0, 0, 0, 0.87);\n "])), theme.cssMixins.rowVCentered),
|
|
7773
|
+
tableBody: material.css(_templateObject2$3 || (_templateObject2$3 = _taggedTemplateLiteral(["\n font-weight: 400;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.87);\n "]))),
|
|
7774
|
+
empty: material.css(_templateObject3$3 || (_templateObject3$3 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n align-items: center;\n margin-top: ", ";\n font-weight: 400;\n font-size: 14px;\n "])), theme.spacing(2))
|
|
7884
7775
|
};
|
|
7885
7776
|
const handleChangePage = (event, newPage) => {
|
|
7886
7777
|
setPage(newPage);
|
|
@@ -8070,8 +7961,8 @@ function Activity(_ref) {
|
|
|
8070
7961
|
}, [data === null || data === void 0 ? void 0 : data.creditEvents, decimals]);
|
|
8071
7962
|
const styles = {
|
|
8072
7963
|
wrapper: material.css(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n margin-top: ", ";\n "])), theme.spacing(9)),
|
|
8073
|
-
title: material.css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n font-
|
|
8074
|
-
tableWrapper: material.css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n
|
|
7964
|
+
title: material.css(_templateObject3$2 || (_templateObject3$2 = _taggedTemplateLiteral(["\n font-weight: 800;\n font-size: 24px;\n color: ", ";\n margin-bottom: ", ";\n "])), theme.palette.text.primary, theme.spacing(2)),
|
|
7965
|
+
tableWrapper: material.css(_templateObject4$2 || (_templateObject4$2 = _taggedTemplateLiteral(["\n box-shadow: 0px 4px 40px 8px rgba(0, 0, 0, 0.04);\n border-radius: 24px;\n padding: ", ";\n "])), getPadding())
|
|
8075
7966
|
};
|
|
8076
7967
|
return jsxRuntime.jsxs(material.Box, {
|
|
8077
7968
|
css: styles.wrapper,
|
|
@@ -8455,8 +8346,8 @@ function UpcomingList(_ref) {
|
|
|
8455
8346
|
return theme.spacing(0, 2, 2, 2);
|
|
8456
8347
|
};
|
|
8457
8348
|
const styles = {
|
|
8458
|
-
title: material.css(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n font-
|
|
8459
|
-
description: material.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n font-
|
|
8349
|
+
title: material.css(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n font-weight: 800;\n color: ", ";\n font-size: 24px;\n margin-bottom: ", ";\n "])), theme.palette.text.primary, theme.spacing(2)),
|
|
8350
|
+
description: material.css(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n font-weight: 400;\n color: ", ";\n font-size: 1rem;\n "])), theme.palette.text.primary),
|
|
8460
8351
|
tableWrapper: material.css(_templateObject3$1 || (_templateObject3$1 = _taggedTemplateLiteral(["\n margin-top: ", ";\n padding: ", ";\n background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);\n border: 1px solid #ffffff;\n border-radius: 24px;\n position: relative;\n "])), theme.spacing(3), getPadding()),
|
|
8461
8352
|
progress: material.css(_templateObject4$1 || (_templateObject4$1 = _taggedTemplateLiteral(["\n width: calc(100% - 30px);\n position: absolute;\n top: 0;\n left: ", ";\n "])), theme.spacing(2))
|
|
8462
8353
|
};
|
|
@@ -8495,7 +8386,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
|
|
|
8495
8386
|
} : {
|
|
8496
8387
|
name: "w5slvu-icon",
|
|
8497
8388
|
styles: "width:24px;label:icon;",
|
|
8498
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZhY3RvcmVkTGlzdC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkQ2QiIsImZpbGUiOiJGYWN0b3JlZExpc3QudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQm94LCBjc3MsIExpbmVhclByb2dyZXNzLCB1c2VUaGVtZSB9IGZyb20gJ0BtdWkvbWF0ZXJpYWwnXG5pbXBvcnQgeyB1c2VXZWIzUmVhY3QgfSBmcm9tICdAd2ViMy1yZWFjdC9jb3JlJ1xuaW1wb3J0IHtcbiAgQWNjb3VudFN0YXRzLFxuICBkb3duU2NhbGUsXG4gIGZvcm1hdE1vbmV5LFxuICBoYXNSRkFjdGl2ZUxvYW4sXG4gIFBvb2xJbmZvVHlwZSxcbiAgdGltZXN0YW1wVG9MTCxcbiAgdXNlTVEsXG4gIHVzZ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gICAgIDxCb3ggY29tcG9uZW50PSdzcGFuJz5cbiAgICAgICAgICAgIFBsZWFzZSBjb25uZWN0IHdhbGxldCB0byBjaGVjayB5b3VyIGZhY3RvcmVkIHt0aXRsZS50b0xvd2VyQ2FzZSgpfS5cbiAgICAgICAgICA8L0JveD5cbiAgICAgICAgKX1cbiAgICAgICAge2lzQWN0aXZlICYmICFoYXNBY3RpdmVMb2FuICYmIChcbiAgICAgICAgICA8Qm94IGNvbXBvbmVudD0nc3Bhbic+XG4gICAgICAgICAgICBZb3UgZG9u4oCZdCBoYXZlIGFueSBmYWN0b3JlZCB7dGl0bGUudG9Mb3dlckNhc2UoKX0uXG4gICAgICAgICAgPC9Cb3g+XG4gICAgICAgICl9XG4gICAgICAgIHtpc0FjdGl2ZSAmJiBoYXNBY3RpdmVMb2FuICYmIGZhY3RvcmVkSXRlbSAmJiAoXG4gICAgICAgICAgPEJveCBjc3M9e3N0eWxlcy50YWJsZVdyYXBwZXJ9PlxuICAgICAgICAgICAge2xvYWRpbmcgJiYgKFxuICAgICAgICAgICAgICA8Qm94IGNzcz17c3R5bGVzLnByb2dyZXNzfT5cbiAgICAgICAgICAgICAgICA8TGluZWFyUHJvZ3Jlc3MgLz5cbiAgICAgICAgICAgICAgPC9Cb3g+XG4gICAgICAgICAgICApfVxuICAgICAgICAgICAgPEh1bWFUYWJsZVxuICAgICAgICAgICAgICBjb2x1bW5zPXtnZXRDb2x1bW5zKGhhbmRsZVBheU1hbnVhbGx5KX1cbiAgICAgICAgICAgICAgcm93cz17W2ZhY3RvcmVkSXRlbV19XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvQm94PlxuICAgICAgICApfVxuICAgICAgPC9Cb3g+XG4gICAgPC9Cb3g+XG4gIClcbn1cbiJdfQ== */",
|
|
8499
8390
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
8500
8391
|
};
|
|
8501
8392
|
function FactoredList(_ref) {
|
|
@@ -8565,8 +8456,8 @@ function FactoredList(_ref) {
|
|
|
8565
8456
|
return theme.spacing(0, 2, 2, 2);
|
|
8566
8457
|
};
|
|
8567
8458
|
const styles = {
|
|
8568
|
-
title: material.css(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n font-
|
|
8569
|
-
description: material.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-
|
|
8459
|
+
title: material.css(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n font-weight: 800;\n color: ", ";\n font-size: 24px;\n margin-bottom: ", ";\n "])), theme.palette.text.primary, theme.spacing(2)),
|
|
8460
|
+
description: material.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n font-weight: 400;\n color: ", ";\n font-size: 1rem;\n "])), theme.palette.text.primary),
|
|
8570
8461
|
tableWrapper: material.css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n margin-top: ", ";\n padding: ", ";\n background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);\n border: 1px solid #ffffff;\n border-radius: 24px;\n position: relative;\n "])), theme.spacing(3), getPadding()),
|
|
8571
8462
|
progress: material.css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n width: calc(100% - 30px);\n position: absolute;\n top: 0;\n left: ", ";\n "])), theme.spacing(2))
|
|
8572
8463
|
};
|
|
@@ -8774,7 +8665,7 @@ function SuperfluidUpcomingList(_ref) {
|
|
|
8774
8665
|
}
|
|
8775
8666
|
|
|
8776
8667
|
function SuperfluidFactoring() {
|
|
8777
|
-
var _PoolMap$Stream$poolN, _poolInfo$extra
|
|
8668
|
+
var _PoolMap$Stream$poolN, _poolInfo$extra;
|
|
8778
8669
|
const theme = material.useTheme();
|
|
8779
8670
|
const poolName = shared.POOL_NAME.Superfluid;
|
|
8780
8671
|
const {
|
|
@@ -8817,7 +8708,7 @@ function SuperfluidFactoring() {
|
|
|
8817
8708
|
loading: loading && actionType === 'borrow'
|
|
8818
8709
|
})
|
|
8819
8710
|
}), jsxRuntime.jsx(ApolloWrapper, {
|
|
8820
|
-
uri: (
|
|
8711
|
+
uri: sdk.SubgraphService.getSubgraphUrlForChainId(chainId),
|
|
8821
8712
|
children: poolInfo && jsxRuntime.jsx(Activity, {
|
|
8822
8713
|
poolInfo: poolInfo,
|
|
8823
8714
|
targetEvents: [shared.CreditEvent.DrawdownMadeWithReceivable, shared.CreditEvent.PaymentMade, shared.CreditEvent.ReceivedPaymentProcessed]
|
|
@@ -8876,7 +8767,7 @@ function components(theme) {
|
|
|
8876
8767
|
}
|
|
8877
8768
|
},
|
|
8878
8769
|
root: {
|
|
8879
|
-
|
|
8770
|
+
fontWeight: '700',
|
|
8880
8771
|
fontSize: '15px',
|
|
8881
8772
|
borderRadius: '32px',
|
|
8882
8773
|
'&.MuiButton-containedPrimary': {
|
|
@@ -8893,7 +8784,7 @@ function components(theme) {
|
|
|
8893
8784
|
textTransform: 'none',
|
|
8894
8785
|
'&.Mui-disabled': {
|
|
8895
8786
|
border: 'none',
|
|
8896
|
-
background: 'rgba(
|
|
8787
|
+
background: 'linear-gradient(232.71deg, rgba(178, 70, 255, 0.25) 5%, rgba(255, 106, 138, 0.25) 175%)',
|
|
8897
8788
|
boxShadow: 'unset'
|
|
8898
8789
|
}
|
|
8899
8790
|
}
|
|
@@ -9068,6 +8959,123 @@ const cssMixins = {
|
|
|
9068
8959
|
}
|
|
9069
8960
|
};
|
|
9070
8961
|
|
|
8962
|
+
// primary
|
|
8963
|
+
const primaryPurple = '#b246ff';
|
|
8964
|
+
const primaryBlueLight = '#4473EB';
|
|
8965
|
+
const pendingBlue = '#226BF9';
|
|
8966
|
+
const pendingBlueMid = '#4584FF';
|
|
8967
|
+
const pendingBlueLight = '#79A5FB';
|
|
8968
|
+
const warningRed = '#D01638';
|
|
8969
|
+
const warningRedLight = '#FF4366';
|
|
8970
|
+
const warningRedPastel = '#FF708B';
|
|
8971
|
+
const darkBackground = '#0C2436';
|
|
8972
|
+
const white = '#FFFFFF';
|
|
8973
|
+
const black = {
|
|
8974
|
+
1: '#000000',
|
|
8975
|
+
2: '#2A252F',
|
|
8976
|
+
3: '#423B46',
|
|
8977
|
+
4: '#534E59',
|
|
8978
|
+
5: '#6B6572',
|
|
8979
|
+
6: '#76707E'
|
|
8980
|
+
};
|
|
8981
|
+
const orange = {
|
|
8982
|
+
100: '#FFA979',
|
|
8983
|
+
300: '#FF8F51',
|
|
8984
|
+
500: '#FD792F',
|
|
8985
|
+
700: '#E96216'
|
|
8986
|
+
};
|
|
8987
|
+
const yellow = {
|
|
8988
|
+
100: '#FFECB0',
|
|
8989
|
+
300: '#FFE07E',
|
|
8990
|
+
500: '#FFD54F',
|
|
8991
|
+
700: '#F8BE28'
|
|
8992
|
+
};
|
|
8993
|
+
const grey = {
|
|
8994
|
+
100: '#CBD6DE',
|
|
8995
|
+
200: '#BDB5C8',
|
|
8996
|
+
300: '#d3ccdd',
|
|
8997
|
+
400: '#EAE6F0',
|
|
8998
|
+
600: '#395062',
|
|
8999
|
+
700: '#6B6572',
|
|
9000
|
+
800: '#4A4A4A'
|
|
9001
|
+
};
|
|
9002
|
+
const green = {
|
|
9003
|
+
100: '#66F8D3',
|
|
9004
|
+
200: '#1DE9B6',
|
|
9005
|
+
500: '#00CA97',
|
|
9006
|
+
700: '#0DBC90'
|
|
9007
|
+
};
|
|
9008
|
+
const blue = {
|
|
9009
|
+
50: '#8AD5FF',
|
|
9010
|
+
100: '#3DB9FF',
|
|
9011
|
+
200: '#0BA7FE',
|
|
9012
|
+
300: '#0095E9',
|
|
9013
|
+
500: '#0070AF',
|
|
9014
|
+
800: '#013859'
|
|
9015
|
+
};
|
|
9016
|
+
const paletteCore = {
|
|
9017
|
+
alert: {
|
|
9018
|
+
contrastText: black[1],
|
|
9019
|
+
dark: yellow[700],
|
|
9020
|
+
light: yellow[300],
|
|
9021
|
+
main: yellow[500]
|
|
9022
|
+
},
|
|
9023
|
+
background: {
|
|
9024
|
+
default: white,
|
|
9025
|
+
paper: white
|
|
9026
|
+
},
|
|
9027
|
+
common: {
|
|
9028
|
+
black: black[1],
|
|
9029
|
+
white
|
|
9030
|
+
},
|
|
9031
|
+
default: {
|
|
9032
|
+
contrastText: black[1],
|
|
9033
|
+
dark: white,
|
|
9034
|
+
light: white,
|
|
9035
|
+
main: white
|
|
9036
|
+
},
|
|
9037
|
+
divider: grey[600],
|
|
9038
|
+
error: {
|
|
9039
|
+
dark: warningRed,
|
|
9040
|
+
light: warningRedPastel,
|
|
9041
|
+
main: warningRedLight
|
|
9042
|
+
},
|
|
9043
|
+
grey,
|
|
9044
|
+
info: {
|
|
9045
|
+
contrastText: black[1],
|
|
9046
|
+
dark: pendingBlue,
|
|
9047
|
+
light: pendingBlueLight,
|
|
9048
|
+
main: pendingBlueMid,
|
|
9049
|
+
superDark: darkBackground,
|
|
9050
|
+
superLight: blue[50]
|
|
9051
|
+
},
|
|
9052
|
+
mode: 'light',
|
|
9053
|
+
primary: {
|
|
9054
|
+
main: primaryPurple,
|
|
9055
|
+
light: primaryBlueLight
|
|
9056
|
+
},
|
|
9057
|
+
secondary: {
|
|
9058
|
+
contrastText: black[1],
|
|
9059
|
+
main: white
|
|
9060
|
+
},
|
|
9061
|
+
success: {
|
|
9062
|
+
light: green[100],
|
|
9063
|
+
main: green[200]
|
|
9064
|
+
},
|
|
9065
|
+
text: {
|
|
9066
|
+
primary: grey[400],
|
|
9067
|
+
secondary: grey[200],
|
|
9068
|
+
tertiary: grey[300],
|
|
9069
|
+
quaternary: grey[400]
|
|
9070
|
+
},
|
|
9071
|
+
warning: {
|
|
9072
|
+
contrastText: black[1],
|
|
9073
|
+
light: orange[100],
|
|
9074
|
+
main: orange[500],
|
|
9075
|
+
superLight: yellow[100]
|
|
9076
|
+
}
|
|
9077
|
+
};
|
|
9078
|
+
|
|
9071
9079
|
const shape = {
|
|
9072
9080
|
borderRadius: coreThemeConstants.borderRadius.md
|
|
9073
9081
|
};
|
|
@@ -9167,8 +9175,7 @@ const typography = {
|
|
|
9167
9175
|
fontSize: '1.25rem',
|
|
9168
9176
|
fontWeight: 500,
|
|
9169
9177
|
letterSpacing: coreThemeConstants.letterSpacing.sm,
|
|
9170
|
-
lineHeight: coreThemeConstants.lineHeight.md
|
|
9171
|
-
color: 'rgba(0, 0, 0, 0.87)'
|
|
9178
|
+
lineHeight: coreThemeConstants.lineHeight.md
|
|
9172
9179
|
},
|
|
9173
9180
|
labsSmall: {
|
|
9174
9181
|
fontSize: '0.75rem'
|