@thecb/components 10.4.4 → 10.4.5-beta.1

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 CHANGED
@@ -18437,6 +18437,285 @@ var TrashIconV2 = function TrashIconV2(_ref) {
18437
18437
  };
18438
18438
  var TrashIconV2$1 = themeComponent(TrashIconV2, "Icons", fallbackValues$2, "primary");
18439
18439
 
18440
+ var DisabledAccountsAddIcon = function DisabledAccountsAddIcon() {
18441
+ return /*#__PURE__*/React__default.createElement("svg", {
18442
+ width: "100",
18443
+ height: "100",
18444
+ viewBox: "0 0 100 100",
18445
+ fill: "none",
18446
+ xmlns: "http://www.w3.org/2000/svg"
18447
+ }, /*#__PURE__*/React__default.createElement("path", {
18448
+ fillRule: "evenodd",
18449
+ clipRule: "evenodd",
18450
+ d: "M77.0408 78.1002V32.5154C77.0408 31.9007 76.5506 31.4039 75.9474 31.4039H32.3148C31.7106 31.4039 31.2213 31.9007 31.2213 32.5154V84.5326C31.2213 84.5326 55.7247 98.7028 77.0408 78.1002Z",
18451
+ fill: "white"
18452
+ }), /*#__PURE__*/React__default.createElement("path", {
18453
+ fillRule: "evenodd",
18454
+ clipRule: "evenodd",
18455
+ d: "M88.0002 51.4983C88.0002 72.4847 70.9876 89.4983 50.0002 89.4983C29.0128 89.4983 12.0002 72.4847 12.0002 51.4983C12.0002 30.5109 29.0128 13.4983 50.0002 13.4983C59.0261 13.4983 67.3177 16.6447 73.8366 21.902C82.475 28.8674 88.0002 39.5368 88.0002 51.4983Z",
18456
+ stroke: "#878E9B",
18457
+ strokeWidth: "2.59255",
18458
+ strokeLinejoin: "round"
18459
+ }), /*#__PURE__*/React__default.createElement("path", {
18460
+ d: "M77.0408 78.1002V32.5154C77.0408 31.9007 76.5506 31.4039 75.9474 31.4039H32.3148C31.7106 31.4039 31.2213 31.9007 31.2213 32.5154V81.3853",
18461
+ stroke: "#878E9B",
18462
+ strokeWidth: "2.0653",
18463
+ strokeLinecap: "round",
18464
+ strokeLinejoin: "round"
18465
+ }), /*#__PURE__*/React__default.createElement("path", {
18466
+ fillRule: "evenodd",
18467
+ clipRule: "evenodd",
18468
+ d: "M23.3362 78.1002V11.6448C23.3362 11.0302 23.8264 10.5324 24.4306 10.5324H68.0622C68.6664 10.5324 69.1556 11.0302 69.1556 11.6448V84.1973C69.1556 84.1973 58.4947 90.719 43.9673 88.1179C32.3336 86.0346 23.3362 78.1002 23.3362 78.1002Z",
18469
+ fill: "white"
18470
+ }), /*#__PURE__*/React__default.createElement("path", {
18471
+ d: "M69.156 84.1973V11.6448C69.156 11.0302 68.6658 10.5324 68.0625 10.5324H24.43C23.8258 10.5324 23.3365 11.0302 23.3365 11.6448V78.1002",
18472
+ stroke: "#878E9B",
18473
+ strokeWidth: "2.0653",
18474
+ strokeLinecap: "round",
18475
+ strokeLinejoin: "round"
18476
+ }), /*#__PURE__*/React__default.createElement("path", {
18477
+ d: "M23.3362 19.3115H69.1556",
18478
+ stroke: "#878E9B",
18479
+ strokeWidth: "1.9285",
18480
+ strokeLinecap: "round",
18481
+ strokeLinejoin: "round"
18482
+ }), /*#__PURE__*/React__default.createElement("path", {
18483
+ d: "M69.156 40.1818H77.041",
18484
+ stroke: "#878E9B",
18485
+ strokeWidth: "1.9285",
18486
+ strokeLinecap: "round",
18487
+ strokeLinejoin: "round"
18488
+ }), /*#__PURE__*/React__default.createElement("path", {
18489
+ fillRule: "evenodd",
18490
+ clipRule: "evenodd",
18491
+ d: "M29.82 36.5974H62.672V31.4038H29.82V36.5974Z",
18492
+ fill: "white"
18493
+ }), /*#__PURE__*/React__default.createElement("path", {
18494
+ fillRule: "evenodd",
18495
+ clipRule: "evenodd",
18496
+ d: "M29.82 36.5974H62.672V31.4038H29.82V36.5974Z",
18497
+ stroke: "#878E9B",
18498
+ strokeWidth: "2.0653",
18499
+ strokeLinecap: "round",
18500
+ strokeLinejoin: "round"
18501
+ }), /*#__PURE__*/React__default.createElement("path", {
18502
+ fillRule: "evenodd",
18503
+ clipRule: "evenodd",
18504
+ d: "M29.82 45.9207H62.672V40.7271H29.82V45.9207Z",
18505
+ fill: "white"
18506
+ }), /*#__PURE__*/React__default.createElement("path", {
18507
+ fillRule: "evenodd",
18508
+ clipRule: "evenodd",
18509
+ d: "M29.82 45.9207H62.672V40.7271H29.82V45.9207Z",
18510
+ stroke: "#878E9B",
18511
+ strokeWidth: "2.0653",
18512
+ strokeLinecap: "round",
18513
+ strokeLinejoin: "round"
18514
+ }), /*#__PURE__*/React__default.createElement("path", {
18515
+ d: "M29.8201 26.2602H46.2466",
18516
+ stroke: "#878E9B",
18517
+ strokeWidth: "2.0653",
18518
+ strokeLinecap: "round",
18519
+ strokeLinejoin: "round"
18520
+ }), /*#__PURE__*/React__default.createElement("path", {
18521
+ fillRule: "evenodd",
18522
+ clipRule: "evenodd",
18523
+ d: "M29.82 63.0901H62.672V57.8964H29.82V63.0901Z",
18524
+ fill: "white"
18525
+ }), /*#__PURE__*/React__default.createElement("path", {
18526
+ fillRule: "evenodd",
18527
+ clipRule: "evenodd",
18528
+ d: "M29.82 63.0901H62.672V57.8964H29.82V63.0901Z",
18529
+ stroke: "#878E9B",
18530
+ strokeWidth: "2.0653",
18531
+ strokeLinecap: "round",
18532
+ strokeLinejoin: "round"
18533
+ }), /*#__PURE__*/React__default.createElement("path", {
18534
+ fillRule: "evenodd",
18535
+ clipRule: "evenodd",
18536
+ d: "M29.82 72.4143H62.672V67.2207H29.82V72.4143Z",
18537
+ fill: "white"
18538
+ }), /*#__PURE__*/React__default.createElement("path", {
18539
+ fillRule: "evenodd",
18540
+ clipRule: "evenodd",
18541
+ d: "M29.82 72.4143H62.672V67.2207H29.82V72.4143Z",
18542
+ stroke: "#878E9B",
18543
+ strokeWidth: "2.0653",
18544
+ strokeLinecap: "round",
18545
+ strokeLinejoin: "round"
18546
+ }), /*#__PURE__*/React__default.createElement("path", {
18547
+ fillRule: "evenodd",
18548
+ clipRule: "evenodd",
18549
+ d: "M48.3403 83.2719H62.672V79.298H48.3403V83.2719Z",
18550
+ fill: "#878E9B"
18551
+ }), /*#__PURE__*/React__default.createElement("path", {
18552
+ fillRule: "evenodd",
18553
+ clipRule: "evenodd",
18554
+ d: "M48.3403 83.2719H62.672V79.298H48.3403V83.2719Z",
18555
+ stroke: "#878E9B",
18556
+ strokeWidth: "2.0653",
18557
+ strokeLinecap: "round",
18558
+ strokeLinejoin: "round"
18559
+ }), /*#__PURE__*/React__default.createElement("path", {
18560
+ d: "M29.8201 52.7535H46.2466",
18561
+ stroke: "#878E9B",
18562
+ strokeWidth: "2.0653",
18563
+ strokeLinecap: "round",
18564
+ strokeLinejoin: "round"
18565
+ }), /*#__PURE__*/React__default.createElement("path", {
18566
+ d: "M73.8364 21.9017C82.4748 28.8671 88 39.5365 88 51.498C88 72.4844 70.9874 89.498 50 89.498C29.0126 89.498 12 72.4844 12 51.498",
18567
+ stroke: "#878E9B",
18568
+ strokeWidth: "2.59255",
18569
+ strokeLinejoin: "round"
18570
+ }), /*#__PURE__*/React__default.createElement("path", {
18571
+ fillRule: "evenodd",
18572
+ clipRule: "evenodd",
18573
+ d: "M69.1557 40.1818H77.0407V31.4038H69.1557V40.1818Z",
18574
+ fill: "#878E9B"
18575
+ }), /*#__PURE__*/React__default.createElement("path", {
18576
+ fillRule: "evenodd",
18577
+ clipRule: "evenodd",
18578
+ d: "M23.3363 19.3112H69.1557V10.5323H23.3363V19.3112Z",
18579
+ fill: "#878E9B"
18580
+ }), /*#__PURE__*/React__default.createElement("path", {
18581
+ d: "M72.0041 90.1C79.3495 90.1 85.3041 84.1454 85.3041 76.8C85.3041 69.4546 79.3495 63.5 72.0041 63.5C64.6587 63.5 58.7041 69.4546 58.7041 76.8C58.7041 84.1454 64.6587 90.1 72.0041 90.1Z",
18582
+ fill: "#878E9B"
18583
+ }), /*#__PURE__*/React__default.createElement("path", {
18584
+ fillRule: "evenodd",
18585
+ clipRule: "evenodd",
18586
+ d: "M79.2041 77.5H73.2041V83.5H71.2041V77.5H65.2041V75.5H71.2041V69.5H73.2041V75.5H79.2041V77.5Z",
18587
+ fill: "white"
18588
+ }), /*#__PURE__*/React__default.createElement("mask", {
18589
+ id: "mask0_7610_37196",
18590
+ style: {
18591
+ maskType: "luminance"
18592
+ },
18593
+ maskUnits: "userSpaceOnUse",
18594
+ x: "65",
18595
+ y: "69",
18596
+ width: "15",
18597
+ height: "15"
18598
+ }, /*#__PURE__*/React__default.createElement("path", {
18599
+ fillRule: "evenodd",
18600
+ clipRule: "evenodd",
18601
+ d: "M79.2041 77.5H73.2041V83.5H71.2041V77.5H65.2041V75.5H71.2041V69.5H73.2041V75.5H79.2041V77.5Z",
18602
+ fill: "white"
18603
+ })), /*#__PURE__*/React__default.createElement("g", {
18604
+ mask: "url(#mask0_7610_37196)"
18605
+ }, /*#__PURE__*/React__default.createElement("rect", {
18606
+ x: "60.2041",
18607
+ y: "64.5",
18608
+ width: "24",
18609
+ height: "24",
18610
+ fill: "white"
18611
+ })));
18612
+ };
18613
+
18614
+ var DisabledPropertiesAddIcon = function DisabledPropertiesAddIcon() {
18615
+ return /*#__PURE__*/React__default.createElement("svg", {
18616
+ width: "100",
18617
+ height: "100",
18618
+ viewBox: "0 0 100 100",
18619
+ fill: "none",
18620
+ xmlns: "http://www.w3.org/2000/svg"
18621
+ }, /*#__PURE__*/React__default.createElement("path", {
18622
+ fillRule: "evenodd",
18623
+ clipRule: "evenodd",
18624
+ d: "M81.2621 37.7524C81.2621 38.0343 81.0333 38.2631 80.7514 38.2631H61.1325C60.8505 38.2631 60.6227 38.0343 60.6227 37.7524V36.6749C60.6227 36.393 60.8505 36.1641 61.1325 36.1641H80.7514C81.0333 36.1641 81.2621 36.393 81.2621 36.6749V37.7524ZM72.0783 49.0989V40.0831C72.0783 39.5434 72.5147 39.107 73.0544 39.107H79.2877C79.8274 39.107 80.2638 39.5434 80.2638 40.0831V48.2087C80.2638 48.7485 79.8274 49.1858 79.2877 49.1858H72.1643C72.116 49.1858 72.0783 49.1462 72.0783 49.0989ZM79.4277 51.0531C79.8892 51.0531 80.2638 51.4277 80.2638 51.8902V60.2948C80.2638 60.7564 79.8892 61.131 79.4277 61.131H72.9144C72.4529 61.131 72.0783 60.7564 72.0783 60.2948V51.0531H79.4277ZM61.6519 48.2898V40.003C61.6519 39.5077 62.0526 39.107 62.5479 39.107H68.9414C69.4367 39.107 69.8374 39.5077 69.8374 40.003V49.1791C69.8374 49.1829 69.8345 49.1858 69.8316 49.1858H62.5479C62.0526 49.1858 61.6519 48.7842 61.6519 48.2898ZM62.6444 51.0531H69.7351C69.7911 51.0531 69.8374 51.0994 69.8374 51.1564V60.1394C69.8374 60.6868 69.3933 61.131 68.8458 61.131H62.6444C62.096 61.131 61.6519 60.6868 61.6519 60.1394V52.0456C61.6519 51.4972 62.096 51.0531 62.6444 51.0531ZM81.2621 63.845C81.2621 64.1269 81.0333 64.3567 80.7514 64.3567H61.1325C60.8505 64.3567 60.6227 64.1269 60.6227 63.845V62.7675C60.6227 62.4856 60.8505 62.2577 61.1325 62.2577H80.7514C81.0333 62.2577 81.2621 62.4856 81.2621 62.7675V63.845ZM63.917 17.6758L62.0526 16.4226L40.6542 30.8134V73.442H44.0422V36.7994C44.0422 36.448 44.327 36.1641 44.6775 36.1641H57.367C57.7175 36.1641 58.0023 36.448 58.0023 36.7994V73.442H73.8365H78.2199C79.7917 71.6057 81.8328 68.8076 83.4635 65.1571V65.1474V30.8085L63.917 17.6758ZM46.1624 12.7267V18.6152L50.7881 15.4735V12.5857V9.95762V8.28345H46.1624V10.0986V12.7267ZM88.2929 28.3726L63.216 11.5227C62.8617 11.2871 62.4571 11.1693 62.0526 11.1693C61.648 11.1693 61.2425 11.2871 60.8882 11.5237L40.8 25.0204L35.8403 28.3533C35.6385 28.4875 35.5844 28.7607 35.7196 28.9625L36.5586 30.2254C36.6436 30.3528 36.7845 30.4223 36.9265 30.4223C37.0114 30.4223 37.0974 30.3982 37.1727 30.347L38.2521 29.6219L62.0526 13.6313L86.9615 30.3673C87.032 30.4136 87.1102 30.4358 87.1884 30.4358C87.3187 30.4358 87.4481 30.3721 87.5263 30.2543L88.4049 28.9335C88.5285 28.7482 88.4792 28.4971 88.2929 28.3726ZM38.2525 59.7028V73.4418H28.7249C28.6313 73.382 28.5454 73.3096 28.4565 73.2439C28.3185 73.1406 28.1852 73.0305 28.0578 72.9147C27.9757 72.8394 27.8917 72.765 27.8145 72.6849C27.6407 72.5024 27.4804 72.3093 27.3356 72.1046C27.2825 72.0293 27.2361 71.9501 27.1869 71.8729C27.0681 71.6846 26.96 71.4886 26.8673 71.284C26.8403 71.226 26.8094 71.171 26.7852 71.1131C26.6771 70.8533 26.595 70.5811 26.5323 70.302C26.5168 70.2325 26.5043 70.162 26.4908 70.0916C26.4367 69.7961 26.399 69.4939 26.399 69.183C26.4 66.0104 29.339 63.4876 32.6159 64.23C33.034 64.3304 33.4617 64.1354 33.6712 63.7647C33.8575 63.4345 34.069 63.1236 34.2901 62.8223C34.3383 62.7576 34.3857 62.692 34.4349 62.6292C34.6579 62.3415 34.8935 62.0673 35.1465 61.8086C35.188 61.767 35.2314 61.7284 35.2739 61.6879C35.5085 61.4571 35.7547 61.2389 36.0096 61.0352L36.1593 60.9145C36.4431 60.6982 36.7395 60.4993 37.0466 60.3159C37.1132 60.2753 37.1808 60.2387 37.2484 60.2C37.5554 60.0272 37.8692 59.866 38.1945 59.7269C38.209 59.7211 38.2225 59.7134 38.238 59.7067C38.2428 59.7057 38.2476 59.7047 38.2525 59.7028ZM48.0673 55.2366C48.8272 55.2366 49.4441 55.8536 49.4441 56.6134C49.4441 57.3732 48.8272 57.9892 48.0673 57.9892C47.3075 57.9892 46.6915 57.3732 46.6915 56.6134C46.6915 55.8536 47.3075 55.2366 48.0673 55.2366Z",
18625
+ fill: "#FEFEFE"
18626
+ }), /*#__PURE__*/React__default.createElement("path", {
18627
+ fillRule: "evenodd",
18628
+ clipRule: "evenodd",
18629
+ d: "M43.8455 10.3697V13.0248C26.1702 15.8566 12.6213 31.209 12.6213 49.6694C12.6213 53.4068 13.1823 57.0139 14.2144 60.4192C14.4606 61.2331 14.7358 62.0326 15.036 62.8214C16.5171 66.7152 18.6316 70.2992 21.2596 73.4419C21.9558 74.2732 22.6847 75.0765 23.4494 75.844C30.1741 82.5987 39.4767 86.787 49.7399 86.787C60.0032 86.787 69.3048 82.5987 76.0304 75.844C76.7951 75.0765 77.5231 74.2732 78.2192 73.4419C80.3143 70.9354 82.0802 68.149 83.4638 65.1473C84.4863 62.9276 85.2944 60.5911 85.866 58.1628C86.508 55.4334 86.8575 52.5919 86.8575 49.6694C86.8575 46.7603 86.5225 43.9005 85.8746 41.1373L85.8669 36.1379L85.866 35.6252V33.2269C85.8998 33.3013 86.4395 34.3807 86.4559 34.4232C88.4323 39.186 89.4789 44.3504 89.4789 49.6694C89.4789 55.5637 88.1793 61.1578 85.866 66.1939C85.1582 67.7367 84.3569 69.2275 83.4638 70.6554C82.8671 71.6113 82.2376 72.543 81.5656 73.4419C80.9448 74.2703 80.2854 75.0678 79.6037 75.844C72.3142 84.1502 61.6329 89.4083 49.7399 89.4083C27.827 89.4083 10 71.5813 10 49.6694C10 29.7598 24.7181 13.2266 43.8455 10.3697ZM80.751 62.2576C81.033 62.2576 81.2618 62.4855 81.2618 62.7674V63.8459C81.2618 64.1278 81.033 64.3566 80.751 64.3566H61.1331C60.8512 64.3566 60.6223 64.1278 60.6223 63.8459V62.7674C60.6223 62.4855 60.8512 62.2576 61.1331 62.2576H80.751ZM53.1047 10.0859C54.6948 10.223 56.2744 10.4421 57.8308 10.7665L56.7041 11.5573L54.7219 12.8897C54.6456 12.879 54.5684 12.8694 54.4921 12.8588C54.0315 12.7989 53.5681 12.7661 53.1047 12.7236V10.0859ZM80.751 36.165H61.1331C60.8512 36.165 60.6223 36.3929 60.6223 36.6748V37.7523C60.6223 38.0342 60.8512 38.2631 61.1331 38.2631H80.751C81.033 38.2631 81.2618 38.0342 81.2618 37.7523V36.6748C81.2618 36.3929 81.033 36.165 80.751 36.165ZM61.6525 60.1393C61.6525 60.6868 62.0966 61.1309 62.6441 61.1309H68.8455C69.3929 61.1309 69.837 60.6868 69.837 60.1393V51.1563C69.837 51.0994 69.7907 51.054 69.7347 51.054H62.6441C62.0966 51.054 61.6525 51.4971 61.6525 52.0456V60.1393ZM72.0789 60.2948C72.0789 60.7563 72.4526 61.1309 72.9151 61.1309H79.4273C79.8889 61.1309 80.2635 60.7563 80.2635 60.2948V51.8901C80.2635 51.4276 79.8889 51.054 79.4273 51.054H72.0789V60.2948ZM69.8313 49.1857C69.8342 49.1857 69.837 49.1828 69.837 49.179V40.0029C69.837 39.5086 69.4364 39.1069 68.942 39.1069H62.5475C62.0532 39.1069 61.6525 39.5086 61.6525 40.0029V48.2898C61.6525 48.7841 62.0532 49.1857 62.5475 49.1857H69.8313ZM79.2873 49.1857C79.8271 49.1857 80.2635 48.7484 80.2635 48.2087V40.083C80.2635 39.5443 79.8271 39.1069 79.2873 39.1069H73.0541C72.5153 39.1069 72.0789 39.5443 72.0789 40.083V49.0989C72.0789 49.1462 72.1166 49.1857 72.1639 49.1857H79.2873ZM88.2935 28.3725L63.2157 11.5226C62.8623 11.287 62.4577 11.1692 62.0532 11.1692C61.6477 11.1692 61.2422 11.287 60.8888 11.5236L40.7997 25.0213L35.8399 28.3532C35.6381 28.4874 35.585 28.7616 35.7192 28.9634L36.5592 30.2253C36.6432 30.3527 36.7842 30.4222 36.9261 30.4222C37.0111 30.4222 37.097 30.3981 37.1723 30.3469L38.2517 29.6219L62.0522 13.6313L86.9621 30.3672C87.0316 30.4145 87.1098 30.4358 87.188 30.4358C87.3193 30.4358 87.4487 30.373 87.5269 30.2552L88.4055 28.9335C88.5291 28.7481 88.4789 28.497 88.2935 28.3725ZM46.1621 8.28337V10.0995V12.7266L46.163 18.6152L50.7878 15.4734V12.5856V9.95755V8.28337H46.1621ZM46.6921 56.6133C46.6921 57.3732 47.3071 57.9892 48.067 57.9892C48.8278 57.9892 49.4438 57.3732 49.4438 56.6133C49.4438 55.8535 48.8278 55.2375 48.067 55.2375C47.3071 55.2375 46.6921 55.8535 46.6921 56.6133ZM38.2517 40.9027L18.3499 40.8689L18.405 64.5555L26.2419 64.5372C26.4282 64.3267 26.6242 64.1249 26.8347 63.9376V60.3488C26.8347 60.2059 26.9506 60.0901 27.0944 60.0901H33.5131C33.6569 60.0901 33.7728 60.2059 33.7728 60.3488V60.4541C34.5848 59.6266 35.5223 58.9489 36.5351 58.4063V55.6768C36.5351 55.5339 36.6509 55.418 36.7948 55.418H38.2517V54.5867H36.7948C36.6509 54.5867 36.5351 54.4709 36.5351 54.327V51.1669C36.5351 51.0241 36.6509 50.9082 36.7948 50.9082H38.2517V50.0769H36.7948C36.6509 50.0769 36.5351 49.961 36.5351 49.8172V46.6571C36.5351 46.5132 36.6509 46.3974 36.7948 46.3974H38.2517V45.5671H36.7948C36.6509 45.5671 36.5351 45.4512 36.5351 45.3073V42.1473C36.5351 42.0034 36.6509 41.8875 36.7948 41.8875H38.2517V40.9027ZM38.2517 73.442V59.701C36.3487 60.4966 34.7199 61.91 33.6704 63.7648C33.4619 64.1355 33.0342 64.3296 32.6161 64.2301C29.3392 63.4867 26.4002 66.0105 26.3993 69.1831C26.3993 70.9674 27.3291 72.5354 28.7242 73.442H38.2517ZM90.3346 30.2166L89.456 31.5393C88.9491 32.2992 88.1014 32.753 87.188 32.753C86.7198 32.753 86.2679 32.6284 85.8624 32.4006L85.866 35.6252V58.1628C85.2944 60.5911 84.4863 62.9276 83.4638 65.1473L83.4641 30.8084L62.0522 16.4225L41.4765 30.2475L40.6549 30.8142V73.442H44.0418V36.7994C44.0418 36.4489 44.3267 36.165 44.6781 36.165H57.3667C57.7181 36.165 58.002 36.4489 58.002 36.7994V73.442H73.8361L78.2192 73.4419C77.5231 74.2732 76.7951 75.0765 76.0304 75.844L73.8361 75.8441H40.4975L23.4494 75.844C22.6847 75.0765 21.9558 74.2732 21.2596 73.4419L25.9281 73.442C25.0177 72.2583 24.4683 70.7868 24.4683 69.1831C24.4683 68.0168 24.7657 66.9181 25.2735 65.9478H18.349C17.5814 65.9478 16.9567 65.3231 16.9567 64.5555V62.8215L15.036 62.8214C14.7358 62.0326 14.4606 61.2331 14.2144 60.4192L16.9567 60.4193V40.8689H16.4662V38.3596H18.768L18.767 35.9266C18.767 35.7267 18.8491 35.5365 18.9929 35.4004L22.0545 32.5039C22.266 32.304 22.5749 32.2499 22.8395 32.3648C23.104 32.4788 23.2769 32.7404 23.2769 33.0301L23.2778 38.3596H24.4017L24.4007 35.9266C24.4007 35.7267 24.4828 35.5365 24.6266 35.4004L27.6882 32.5039C27.8997 32.304 28.2077 32.2499 28.4732 32.3648C28.7377 32.4788 28.9105 32.7404 28.9105 33.0301L28.9115 38.3596H30.0344L30.0334 35.9266C30.0334 35.7267 30.1155 35.5365 30.2593 35.4004L33.3209 32.5039C33.4233 32.4063 33.5507 32.3446 33.684 32.3195C33.8172 32.2943 33.9601 32.2866 34.2053 32.4566C34.4438 32.6207 34.5037 32.8273 34.5182 32.8679C34.5336 32.9084 34.5433 32.9741 34.5433 33.0301L34.5442 38.3596H35.6681L35.6671 35.9266C35.6671 35.7267 35.7492 35.5365 35.893 35.4004L38.2517 33.1681V32.3919C37.8462 32.6159 37.3944 32.7394 36.9261 32.7394C36.0002 32.7394 35.1419 32.2789 34.6292 31.5084L33.7892 30.2465C32.9512 28.9856 33.292 27.2738 34.5481 26.4299L43.8458 20.1822L43.8455 13.0248V10.3697L43.8439 7.88655C43.8439 6.8274 44.7061 5.96521 45.7652 5.96521H51.1846C52.2437 5.96521 53.105 6.8274 53.105 7.88655L53.1047 10.0859V12.7236L53.105 13.9624L59.6018 9.59741C60.3317 9.10984 61.1794 8.85302 62.0532 8.85302C62.926 8.85302 63.7728 9.10887 64.5075 9.60031L89.5854 26.4483C90.827 27.2815 91.162 28.9721 90.3346 30.2166ZM19.7499 45.5671H23.8127C23.9566 45.5671 24.0724 45.4512 24.0724 45.3073V42.1473C24.0724 42.0034 23.9566 41.8875 23.8127 41.8875H19.7499C19.608 41.8875 19.4911 42.0034 19.4911 42.1473V45.3073C19.4911 45.4512 19.608 45.5671 19.7499 45.5671ZM25.4319 45.5671H29.4947C29.6385 45.5671 29.7544 45.4512 29.7544 45.3073V42.1473C29.7544 42.0034 29.6385 41.8875 29.4947 41.8875H25.4319C25.289 41.8875 25.1731 42.0034 25.1731 42.1473V45.3073C25.1731 45.4512 25.289 45.5671 25.4319 45.5671ZM31.1128 45.5671H35.1757C35.3186 45.5671 35.4344 45.4512 35.4344 45.3073V42.1473C35.4344 42.0034 35.3186 41.8875 35.1757 41.8875H31.1128C30.969 41.8875 30.8531 42.0034 30.8531 42.1473V45.3073C30.8531 45.4512 30.969 45.5671 31.1128 45.5671ZM19.7499 59.0966H23.8127C23.9566 59.0966 24.0724 58.9798 24.0724 58.8369V55.6768C24.0724 55.5339 23.9566 55.418 23.8127 55.418H19.7499C19.608 55.418 19.4911 55.5339 19.4911 55.6768V58.8369C19.4911 58.9798 19.608 59.0966 19.7499 59.0966ZM25.4319 59.0966H29.4947C29.6385 59.0966 29.7544 58.9798 29.7544 58.8369V55.6768C29.7544 55.5339 29.6385 55.418 29.4947 55.418H25.4319C25.289 55.418 25.1731 55.5339 25.1731 55.6768V58.8369C25.1731 58.9798 25.289 59.0966 25.4319 59.0966ZM31.1128 59.0966H35.1757C35.3186 59.0966 35.4344 58.9798 35.4344 58.8369V55.6768C35.4344 55.5339 35.3186 55.418 35.1757 55.418H31.1128C30.969 55.418 30.8531 55.5339 30.8531 55.6768V58.8369C30.8531 58.9798 30.969 59.0966 31.1128 59.0966ZM19.7499 54.5867H23.8127C23.9566 54.5867 24.0724 54.4709 24.0724 54.327V51.1669C24.0724 51.0241 23.9566 50.9082 23.8127 50.9082H19.7499C19.608 50.9082 19.4911 51.0241 19.4911 51.1669V54.327C19.4911 54.4709 19.608 54.5867 19.7499 54.5867ZM25.4319 54.5867H29.4947C29.6385 54.5867 29.7544 54.4709 29.7544 54.327V51.1669C29.7544 51.0241 29.6385 50.9082 29.4947 50.9082H25.4319C25.289 50.9082 25.1731 51.0241 25.1731 51.1669V54.327C25.1731 54.4709 25.289 54.5867 25.4319 54.5867ZM31.1128 54.5867H35.1757C35.3186 54.5867 35.4344 54.4709 35.4344 54.327V51.1669C35.4344 51.0241 35.3186 50.9082 35.1757 50.9082H31.1128C30.969 50.9082 30.8531 51.0241 30.8531 51.1669V54.327C30.8531 54.4709 30.969 54.5867 31.1128 54.5867ZM19.7499 50.0769H23.8127C23.9566 50.0769 24.0724 49.961 24.0724 49.8172V46.6571C24.0724 46.5132 23.9566 46.3974 23.8127 46.3974H19.7499C19.608 46.3974 19.4911 46.5132 19.4911 46.6571V49.8172C19.4911 49.961 19.608 50.0769 19.7499 50.0769ZM25.4319 50.0769H29.4947C29.6385 50.0769 29.7544 49.961 29.7544 49.8172V46.6571C29.7544 46.5132 29.6385 46.3974 29.4947 46.3974H25.4319C25.289 46.3974 25.1731 46.5132 25.1731 46.6571V49.8172C25.1731 49.961 25.289 50.0769 25.4319 50.0769ZM30.8531 49.8172V46.6571C30.8531 46.5132 30.969 46.3974 31.1128 46.3974H35.1757C35.3186 46.3974 35.4344 46.5132 35.4344 46.6571V49.8172C35.4344 49.961 35.3186 50.0769 35.1757 50.0769H31.1128C30.969 50.0769 30.8531 49.961 30.8531 49.8172Z",
18630
+ fill: "#878E9B"
18631
+ }), /*#__PURE__*/React__default.createElement("circle", {
18632
+ cx: "71.9999",
18633
+ cy: "74",
18634
+ r: "12",
18635
+ fill: "#878E9B"
18636
+ }), /*#__PURE__*/React__default.createElement("path", {
18637
+ fillRule: "evenodd",
18638
+ clipRule: "evenodd",
18639
+ d: "M65.9391 74.5102C65.9391 74.7863 66.1629 75.0102 66.4391 75.0102L70.9898 75.0102L70.9898 79.5609C70.9898 79.8371 71.2137 80.0609 71.4898 80.0609L72.5101 80.0609C72.7863 80.0609 73.0101 79.8371 73.0101 79.5609L73.0101 75.0102L77.5609 75.0102C77.837 75.0102 78.0609 74.7863 78.0609 74.5102L78.0609 73.4898C78.0609 73.2137 77.837 72.9898 77.5609 72.9898H73.0101L73.0101 68.4391C73.0101 68.1629 72.7863 67.9391 72.5101 67.9391L71.4898 67.9391C71.2137 67.9391 70.9898 68.1629 70.9898 68.4391L70.9898 72.9898L66.4391 72.9898C66.1629 72.9898 65.9391 73.2137 65.9391 73.4898L65.9391 74.5102Z",
18640
+ fill: "#FEFEFE"
18641
+ }), /*#__PURE__*/React__default.createElement("mask", {
18642
+ id: "mask0_2013_203",
18643
+ style: {
18644
+ maskType: "luminance"
18645
+ },
18646
+ maskUnits: "userSpaceOnUse",
18647
+ x: "65",
18648
+ y: "67",
18649
+ width: "14",
18650
+ height: "14"
18651
+ }, /*#__PURE__*/React__default.createElement("path", {
18652
+ fillRule: "evenodd",
18653
+ clipRule: "evenodd",
18654
+ d: "M65.9391 74.5102C65.9391 74.7863 66.1629 75.0102 66.4391 75.0102L70.9898 75.0102L70.9898 79.5609C70.9898 79.8371 71.2137 80.0609 71.4898 80.0609L72.5101 80.0609C72.7863 80.0609 73.0101 79.8371 73.0101 79.5609L73.0101 75.0102L77.5609 75.0102C77.837 75.0102 78.0609 74.7863 78.0609 74.5102L78.0609 73.4898C78.0609 73.2137 77.837 72.9898 77.5609 72.9898H73.0101L73.0101 68.4391C73.0101 68.1629 72.7863 67.9391 72.5101 67.9391L71.4898 67.9391C71.2137 67.9391 70.9898 68.1629 70.9898 68.4391L70.9898 72.9898L66.4391 72.9898C66.1629 72.9898 65.9391 73.2137 65.9391 73.4898L65.9391 74.5102Z",
18655
+ fill: "white"
18656
+ })), /*#__PURE__*/React__default.createElement("g", {
18657
+ mask: "url(#mask0_2013_203)"
18658
+ }, /*#__PURE__*/React__default.createElement("path", {
18659
+ d: "M62 64H82V84H62V64Z",
18660
+ fill: "#FEFEFE"
18661
+ })));
18662
+ };
18663
+
18664
+ var DisabledPaymentMethodsAddIcon = function DisabledPaymentMethodsAddIcon() {
18665
+ return /*#__PURE__*/React__default.createElement("svg", {
18666
+ xmlns: "http://www.w3.org/2000/svg",
18667
+ width: "100",
18668
+ height: "100",
18669
+ viewBox: "0 0 100 100",
18670
+ fill: "none"
18671
+ }, /*#__PURE__*/React__default.createElement("mask", {
18672
+ id: "a",
18673
+ x: "-1",
18674
+ y: "0",
18675
+ maskUnits: "userSpaceOnUse",
18676
+ style: {
18677
+ maskType: "luminance"
18678
+ }
18679
+ }, /*#__PURE__*/React__default.createElement("path", {
18680
+ fill: "#fff",
18681
+ d: "M97.88 0H-1v96h98.88V0Z"
18682
+ })), /*#__PURE__*/React__default.createElement("g", {
18683
+ mask: "url(#a)"
18684
+ }, /*#__PURE__*/React__default.createElement("path", {
18685
+ fill: "#FEFEFE",
18686
+ fillRule: "evenodd",
18687
+ d: "M91.947 19.2v36.48H48.44v15.6c0 .881-.697 1.603-1.584 1.673l-.141.006H20.402c-1.888-2.755-3.416-5.315-4.649-7.68H40.53v-3.84H14.82v1.972c-6.089-12.75-3.332-19.251-3.332-19.251h13.22V19.2h67.24Z",
18688
+ clipRule: "evenodd"
18689
+ }), /*#__PURE__*/React__default.createElement("path", {
18690
+ fill: "#878E9B",
18691
+ d: "M48.24 10.56c8.325 0 16.249 2.587 22.793 7.298l.442.323h20.472c.525 0 .958.397 1.013.908l.006.111v36.48c0 .525-.397.958-.908 1.013l-.11.006h-6.48l-.01.039c-4.176 16.497-19.471 28.315-37.217 28.315-21.16 0-38.328-16.668-38.328-37.246 0-11.497 5.358-21.772 13.776-28.603V19.2c0-.525.398-.958.909-1.013l.11-.006h.298c6.447-4.782 14.501-7.621 23.235-7.621Zm34.688 46.139H48.47V71.28c0 1.44-1.138 2.608-2.565 2.693l-.166.005h-21.13c6.31 5.364 14.578 8.617 23.632 8.617 16.42 0 30.585-10.788 34.687-25.897Zm-60.52 15.243h23.331a.683.683 0 0 0 .687-.572l.006-.089V56.64H13.537c1.577 5.84 4.68 11.083 8.87 15.302Zm68.52-51.723-64.542-.001c-.222.165-.442.333-.66.504l.001 22.42H45.74c1.448 0 2.64 1.116 2.726 2.533l.005.165v8.821h42.458V20.217ZM66.324 44.784l.217.134.32.208.834.562 1.937 1.34c.583.396 1.101.73 1.59 1.023 1.5.896 2.662 1.348 3.404 1.298.678-.044 1.166-.132 1.655-.293l.247-.088 2.087-.915.92-.39.337-.138.307-.12c1.758-.675 3.308.021 4.548 1.49.513.608.867 1.21 1.061 1.633a.84.84 0 0 1-1.475.795l-.146-.28-.107-.19a6.45 6.45 0 0 0-.616-.875c-.83-.982-1.703-1.374-2.664-1.005l-.437.174-.766.322-2.46 1.071-.044.018c-.72.265-1.405.406-2.337.467-1.184.079-2.6-.471-4.375-1.533a31.938 31.938 0 0 1-1.315-.834l-2.312-1.594-.823-.554-.362-.233a2.115 2.115 0 0 0-.055-.033c-1.924-1.094-4.566 1.331-6.416 5.012a.84.84 0 0 1-1.5-.754c.083-.166.168-.33.255-.493l.263-.48c.446-.788.925-1.518 1.429-2.168l.305-.38c1.954-2.344 4.255-3.47 6.494-2.197Zm-53.847.326-.03.41a34.227 34.227 0 0 0-.011 4.4l33.996-.001v-4.08c0-.33-.257-.61-.598-.655l-.095-.006H12.843c-.129 0-.252-.024-.366-.068Zm.212-1.957.043-.007.111-.006H23.69V22.442c-5.868 5.346-9.88 12.586-11 20.712ZM84.135 24v1.629c1.346.237 2.494.713 3.488 1.42l-1.884 2.36c-1.243-.793-2.603-1.189-3.806-1.189-.913 0-1.36.327-1.36.775v.034c0 .551.467.792 2.37 1.171 3.106.602 5.049 1.498 5.049 3.753v.034c0 2.027-1.49 3.375-3.858 3.79v1.583h-3.587v-1.605c-1.665-.266-3.197-.879-4.42-1.839l2.096-2.22c1.36.945 2.835 1.446 4.408 1.446 1.03 0 1.573-.312 1.573-.828v-.034c0-.516-.446-.775-2.31-1.17-2.894-.585-5.128-1.31-5.128-3.771v-.034c0-1.875 1.408-3.311 3.781-3.73V24h3.588ZM57.339 36.12a.84.84 0 0 1 .105 1.673l-.105.007H28.664a.84.84 0 0 1-.105-1.673l.105-.007h28.675Zm-11.865-5.76a.84.84 0 0 1 .105 1.673l-.105.007h-16.81a.84.84 0 0 1-.105-1.673l.105-.007h16.81ZM56.35 24.6a.84.84 0 0 1 .106 1.673l-.106.007H43.496a.84.84 0 0 1-.105-1.673l.105-.007H56.35Zm-16.81 0a.84.84 0 0 1 .106 1.673l-.105.007H28.664a.84.84 0 0 1-.105-1.673l.105-.007H39.54Zm8.7-11.583c-6.9 0-13.345 1.89-18.814 5.164h37.63c-5.592-3.349-12.06-5.164-18.815-5.164Z"
18692
+ })), /*#__PURE__*/React__default.createElement("path", {
18693
+ fill: "#878E9B",
18694
+ d: "M73.768 86.536c7.052 0 12.768-5.716 12.768-12.768C86.536 66.716 80.82 61 73.768 61 66.716 61 61 66.716 61 73.768c0 7.052 5.716 12.768 12.768 12.768Z"
18695
+ }), /*#__PURE__*/React__default.createElement("path", {
18696
+ fill: "#FEFEFE",
18697
+ d: "M79.648 74.608h-5.04v5.04h-1.68v-5.04h-5.04v-1.68h5.04v-5.04h1.68v5.04h5.04v1.68Z"
18698
+ }), /*#__PURE__*/React__default.createElement("mask", {
18699
+ id: "b",
18700
+ width: "13",
18701
+ height: "13",
18702
+ x: "67",
18703
+ y: "67",
18704
+ maskUnits: "userSpaceOnUse",
18705
+ style: {
18706
+ maskType: "luminance"
18707
+ }
18708
+ }, /*#__PURE__*/React__default.createElement("path", {
18709
+ fill: "#fff",
18710
+ d: "M79.648 74.608h-5.04v5.04h-1.68v-5.04h-5.04v-1.68h5.04v-5.04h1.68v5.04h5.04v1.68Z"
18711
+ })), /*#__PURE__*/React__default.createElement("g", {
18712
+ mask: "url(#b)"
18713
+ }, /*#__PURE__*/React__default.createElement("path", {
18714
+ fill: "#FEFEFE",
18715
+ d: "M83.848 63.688h-20.16v20.16h20.16v-20.16Z"
18716
+ })));
18717
+ };
18718
+
18440
18719
  var color$2 = "#15749D";
18441
18720
  var hoverColor$1 = "#116285";
18442
18721
  var activeColor$1 = "#0E506D";
@@ -19311,7 +19590,6 @@ function _wrapNativeSuper(Class) {
19311
19590
  }
19312
19591
 
19313
19592
  // based on https://github.com/styled-components/styled-components/blob/fcf6f3804c57a14dd7984dfab7bc06ee2edca044/src/utils/error.js
19314
-
19315
19593
  /**
19316
19594
  * Parse errors.md and turn it into a simple hash of code: message
19317
19595
  * @private
@@ -19396,84 +19674,71 @@ var ERRORS = {
19396
19674
  "77": "remToPx expects a value in \"rem\" but you provided it in \"%s\".\n\n",
19397
19675
  "78": "base must be set in \"px\" or \"%\" but you set it in \"%s\".\n"
19398
19676
  };
19677
+
19399
19678
  /**
19400
19679
  * super basic version of sprintf
19401
19680
  * @private
19402
19681
  */
19403
-
19404
19682
  function format() {
19405
19683
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
19406
19684
  args[_key] = arguments[_key];
19407
19685
  }
19408
-
19409
19686
  var a = args[0];
19410
19687
  var b = [];
19411
19688
  var c;
19412
-
19413
19689
  for (c = 1; c < args.length; c += 1) {
19414
19690
  b.push(args[c]);
19415
19691
  }
19416
-
19417
19692
  b.forEach(function (d) {
19418
19693
  a = a.replace(/%[a-z]/, d);
19419
19694
  });
19420
19695
  return a;
19421
19696
  }
19697
+
19422
19698
  /**
19423
19699
  * Create an error file out of errors.md for development and a simple web link to the full errors
19424
19700
  * in production mode.
19425
19701
  * @private
19426
19702
  */
19427
-
19428
-
19429
19703
  var PolishedError = /*#__PURE__*/function (_Error) {
19430
19704
  _inheritsLoose(PolishedError, _Error);
19431
-
19432
19705
  function PolishedError(code) {
19433
19706
  var _this;
19434
-
19435
19707
  if (process.env.NODE_ENV === 'production') {
19436
19708
  _this = _Error.call(this, "An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#" + code + " for more information.") || this;
19437
19709
  } else {
19438
19710
  for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
19439
19711
  args[_key2 - 1] = arguments[_key2];
19440
19712
  }
19441
-
19442
19713
  _this = _Error.call(this, format.apply(void 0, [ERRORS[code]].concat(args))) || this;
19443
19714
  }
19444
-
19445
19715
  return _assertThisInitialized(_this);
19446
19716
  }
19447
-
19448
19717
  return PolishedError;
19449
19718
  }( /*#__PURE__*/_wrapNativeSuper(Error));
19450
19719
 
19451
19720
  function colorToInt(color) {
19452
19721
  return Math.round(color * 255);
19453
19722
  }
19454
-
19455
19723
  function convertToInt(red, green, blue) {
19456
19724
  return colorToInt(red) + "," + colorToInt(green) + "," + colorToInt(blue);
19457
19725
  }
19458
-
19459
19726
  function hslToRgb(hue, saturation, lightness, convert) {
19460
19727
  if (convert === void 0) {
19461
19728
  convert = convertToInt;
19462
19729
  }
19463
-
19464
19730
  if (saturation === 0) {
19465
19731
  // achromatic
19466
19732
  return convert(lightness, lightness, lightness);
19467
- } // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
19468
-
19733
+ }
19469
19734
 
19735
+ // formulae from https://en.wikipedia.org/wiki/HSL_and_HSV
19470
19736
  var huePrime = (hue % 360 + 360) % 360 / 60;
19471
19737
  var chroma = (1 - Math.abs(2 * lightness - 1)) * saturation;
19472
19738
  var secondComponent = chroma * (1 - Math.abs(huePrime % 2 - 1));
19473
19739
  var red = 0;
19474
19740
  var green = 0;
19475
19741
  var blue = 0;
19476
-
19477
19742
  if (huePrime >= 0 && huePrime < 1) {
19478
19743
  red = chroma;
19479
19744
  green = secondComponent;
@@ -19493,7 +19758,6 @@ function hslToRgb(hue, saturation, lightness, convert) {
19493
19758
  red = chroma;
19494
19759
  blue = secondComponent;
19495
19760
  }
19496
-
19497
19761
  var lightnessModification = lightness - chroma / 2;
19498
19762
  var finalRed = red + lightnessModification;
19499
19763
  var finalGreen = green + lightnessModification;
@@ -19651,11 +19915,11 @@ var namedColorMap = {
19651
19915
  yellow: 'ff0',
19652
19916
  yellowgreen: '9acd32'
19653
19917
  };
19918
+
19654
19919
  /**
19655
19920
  * Checks if a string is a CSS named color and returns its equivalent hex value, otherwise returns the original color.
19656
19921
  * @private
19657
19922
  */
19658
-
19659
19923
  function nameToHex(color) {
19660
19924
  if (typeof color !== 'string') return color;
19661
19925
  var normalizedColorName = color.toLowerCase();
@@ -19670,6 +19934,7 @@ var rgbRegex = /^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\
19670
19934
  var rgbaRegex = /^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
19671
19935
  var hslRegex = /^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i;
19672
19936
  var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;
19937
+
19673
19938
  /**
19674
19939
  * Returns an RgbColor or RgbaColor object. This utility function is only useful
19675
19940
  * if want to extract a color component. With the color util `toColorString` you
@@ -19681,14 +19946,11 @@ var hslaRegex = /^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[
19681
19946
  * // Assigns `{ red: 92, green: 102, blue: 112, alpha: 0.75 }` to color2
19682
19947
  * const color2 = parseToRgb('hsla(210, 10%, 40%, 0.75)');
19683
19948
  */
19684
-
19685
19949
  function parseToRgb(color) {
19686
19950
  if (typeof color !== 'string') {
19687
19951
  throw new PolishedError(3);
19688
19952
  }
19689
-
19690
19953
  var normalizedColor = nameToHex(color);
19691
-
19692
19954
  if (normalizedColor.match(hexRegex)) {
19693
19955
  return {
19694
19956
  red: parseInt("" + normalizedColor[1] + normalizedColor[2], 16),
@@ -19696,7 +19958,6 @@ function parseToRgb(color) {
19696
19958
  blue: parseInt("" + normalizedColor[5] + normalizedColor[6], 16)
19697
19959
  };
19698
19960
  }
19699
-
19700
19961
  if (normalizedColor.match(hexRgbaRegex)) {
19701
19962
  var alpha = parseFloat((parseInt("" + normalizedColor[7] + normalizedColor[8], 16) / 255).toFixed(2));
19702
19963
  return {
@@ -19706,7 +19967,6 @@ function parseToRgb(color) {
19706
19967
  alpha: alpha
19707
19968
  };
19708
19969
  }
19709
-
19710
19970
  if (normalizedColor.match(reducedHexRegex)) {
19711
19971
  return {
19712
19972
  red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
@@ -19714,10 +19974,8 @@ function parseToRgb(color) {
19714
19974
  blue: parseInt("" + normalizedColor[3] + normalizedColor[3], 16)
19715
19975
  };
19716
19976
  }
19717
-
19718
19977
  if (normalizedColor.match(reducedRgbaHexRegex)) {
19719
19978
  var _alpha = parseFloat((parseInt("" + normalizedColor[4] + normalizedColor[4], 16) / 255).toFixed(2));
19720
-
19721
19979
  return {
19722
19980
  red: parseInt("" + normalizedColor[1] + normalizedColor[1], 16),
19723
19981
  green: parseInt("" + normalizedColor[2] + normalizedColor[2], 16),
@@ -19725,9 +19983,7 @@ function parseToRgb(color) {
19725
19983
  alpha: _alpha
19726
19984
  };
19727
19985
  }
19728
-
19729
19986
  var rgbMatched = rgbRegex.exec(normalizedColor);
19730
-
19731
19987
  if (rgbMatched) {
19732
19988
  return {
19733
19989
  red: parseInt("" + rgbMatched[1], 10),
@@ -19735,9 +19991,7 @@ function parseToRgb(color) {
19735
19991
  blue: parseInt("" + rgbMatched[3], 10)
19736
19992
  };
19737
19993
  }
19738
-
19739
19994
  var rgbaMatched = rgbaRegex.exec(normalizedColor.substring(0, 50));
19740
-
19741
19995
  if (rgbaMatched) {
19742
19996
  return {
19743
19997
  red: parseInt("" + rgbaMatched[1], 10),
@@ -19746,44 +20000,32 @@ function parseToRgb(color) {
19746
20000
  alpha: parseFloat("" + rgbaMatched[4]) > 1 ? parseFloat("" + rgbaMatched[4]) / 100 : parseFloat("" + rgbaMatched[4])
19747
20001
  };
19748
20002
  }
19749
-
19750
20003
  var hslMatched = hslRegex.exec(normalizedColor);
19751
-
19752
20004
  if (hslMatched) {
19753
20005
  var hue = parseInt("" + hslMatched[1], 10);
19754
20006
  var saturation = parseInt("" + hslMatched[2], 10) / 100;
19755
20007
  var lightness = parseInt("" + hslMatched[3], 10) / 100;
19756
20008
  var rgbColorString = "rgb(" + hslToRgb(hue, saturation, lightness) + ")";
19757
20009
  var hslRgbMatched = rgbRegex.exec(rgbColorString);
19758
-
19759
20010
  if (!hslRgbMatched) {
19760
20011
  throw new PolishedError(4, normalizedColor, rgbColorString);
19761
20012
  }
19762
-
19763
20013
  return {
19764
20014
  red: parseInt("" + hslRgbMatched[1], 10),
19765
20015
  green: parseInt("" + hslRgbMatched[2], 10),
19766
20016
  blue: parseInt("" + hslRgbMatched[3], 10)
19767
20017
  };
19768
20018
  }
19769
-
19770
20019
  var hslaMatched = hslaRegex.exec(normalizedColor.substring(0, 50));
19771
-
19772
20020
  if (hslaMatched) {
19773
20021
  var _hue = parseInt("" + hslaMatched[1], 10);
19774
-
19775
20022
  var _saturation = parseInt("" + hslaMatched[2], 10) / 100;
19776
-
19777
20023
  var _lightness = parseInt("" + hslaMatched[3], 10) / 100;
19778
-
19779
20024
  var _rgbColorString = "rgb(" + hslToRgb(_hue, _saturation, _lightness) + ")";
19780
-
19781
20025
  var _hslRgbMatched = rgbRegex.exec(_rgbColorString);
19782
-
19783
20026
  if (!_hslRgbMatched) {
19784
20027
  throw new PolishedError(4, normalizedColor, _rgbColorString);
19785
20028
  }
19786
-
19787
20029
  return {
19788
20030
  red: parseInt("" + _hslRgbMatched[1], 10),
19789
20031
  green: parseInt("" + _hslRgbMatched[2], 10),
@@ -19791,10 +20033,82 @@ function parseToRgb(color) {
19791
20033
  alpha: parseFloat("" + hslaMatched[4]) > 1 ? parseFloat("" + hslaMatched[4]) / 100 : parseFloat("" + hslaMatched[4])
19792
20034
  };
19793
20035
  }
19794
-
19795
20036
  throw new PolishedError(5);
19796
20037
  }
19797
20038
 
20039
+ function rgbToHsl(color) {
20040
+ // make sure rgb are contained in a set of [0, 255]
20041
+ var red = color.red / 255;
20042
+ var green = color.green / 255;
20043
+ var blue = color.blue / 255;
20044
+ var max = Math.max(red, green, blue);
20045
+ var min = Math.min(red, green, blue);
20046
+ var lightness = (max + min) / 2;
20047
+ if (max === min) {
20048
+ // achromatic
20049
+ if (color.alpha !== undefined) {
20050
+ return {
20051
+ hue: 0,
20052
+ saturation: 0,
20053
+ lightness: lightness,
20054
+ alpha: color.alpha
20055
+ };
20056
+ } else {
20057
+ return {
20058
+ hue: 0,
20059
+ saturation: 0,
20060
+ lightness: lightness
20061
+ };
20062
+ }
20063
+ }
20064
+ var hue;
20065
+ var delta = max - min;
20066
+ var saturation = lightness > 0.5 ? delta / (2 - max - min) : delta / (max + min);
20067
+ switch (max) {
20068
+ case red:
20069
+ hue = (green - blue) / delta + (green < blue ? 6 : 0);
20070
+ break;
20071
+ case green:
20072
+ hue = (blue - red) / delta + 2;
20073
+ break;
20074
+ default:
20075
+ // blue case
20076
+ hue = (red - green) / delta + 4;
20077
+ break;
20078
+ }
20079
+ hue *= 60;
20080
+ if (color.alpha !== undefined) {
20081
+ return {
20082
+ hue: hue,
20083
+ saturation: saturation,
20084
+ lightness: lightness,
20085
+ alpha: color.alpha
20086
+ };
20087
+ }
20088
+ return {
20089
+ hue: hue,
20090
+ saturation: saturation,
20091
+ lightness: lightness
20092
+ };
20093
+ }
20094
+
20095
+ /**
20096
+ * Returns an HslColor or HslaColor object. This utility function is only useful
20097
+ * if want to extract a color component. With the color util `toColorString` you
20098
+ * can convert a HslColor or HslaColor object back to a string.
20099
+ *
20100
+ * @example
20101
+ * // Assigns `{ hue: 0, saturation: 1, lightness: 0.5 }` to color1
20102
+ * const color1 = parseToHsl('rgb(255, 0, 0)');
20103
+ * // Assigns `{ hue: 128, saturation: 1, lightness: 0.5, alpha: 0.75 }` to color2
20104
+ * const color2 = parseToHsl('hsla(128, 100%, 50%, 0.75)');
20105
+ */
20106
+ function parseToHsl(color) {
20107
+ // Note: At a later stage we can optimize this function as right now a hsl
20108
+ // color would be parsed converted to rgb values and converted back to hsl.
20109
+ return rgbToHsl(parseToRgb(color));
20110
+ }
20111
+
19798
20112
  /**
19799
20113
  * Reduces hex values if possible e.g. #ff8866 to #f86
19800
20114
  * @private
@@ -19803,10 +20117,8 @@ var reduceHexValue = function reduceHexValue(value) {
19803
20117
  if (value.length === 7 && value[1] === value[2] && value[3] === value[4] && value[5] === value[6]) {
19804
20118
  return "#" + value[1] + value[3] + value[5];
19805
20119
  }
19806
-
19807
20120
  return value;
19808
20121
  };
19809
-
19810
20122
  var reduceHexValue$1 = reduceHexValue;
19811
20123
 
19812
20124
  function numberToHex(value) {
@@ -19814,6 +20126,83 @@ function numberToHex(value) {
19814
20126
  return hex.length === 1 ? "0" + hex : hex;
19815
20127
  }
19816
20128
 
20129
+ function colorToHex(color) {
20130
+ return numberToHex(Math.round(color * 255));
20131
+ }
20132
+ function convertToHex(red, green, blue) {
20133
+ return reduceHexValue$1("#" + colorToHex(red) + colorToHex(green) + colorToHex(blue));
20134
+ }
20135
+ function hslToHex(hue, saturation, lightness) {
20136
+ return hslToRgb(hue, saturation, lightness, convertToHex);
20137
+ }
20138
+
20139
+ /**
20140
+ * Returns a string value for the color. The returned result is the smallest possible hex notation.
20141
+ *
20142
+ * @example
20143
+ * // Styles as object usage
20144
+ * const styles = {
20145
+ * background: hsl(359, 0.75, 0.4),
20146
+ * background: hsl({ hue: 360, saturation: 0.75, lightness: 0.4 }),
20147
+ * }
20148
+ *
20149
+ * // styled-components usage
20150
+ * const div = styled.div`
20151
+ * background: ${hsl(359, 0.75, 0.4)};
20152
+ * background: ${hsl({ hue: 360, saturation: 0.75, lightness: 0.4 })};
20153
+ * `
20154
+ *
20155
+ * // CSS in JS Output
20156
+ *
20157
+ * element {
20158
+ * background: "#b3191c";
20159
+ * background: "#b3191c";
20160
+ * }
20161
+ */
20162
+ function hsl(value, saturation, lightness) {
20163
+ if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number') {
20164
+ return hslToHex(value, saturation, lightness);
20165
+ } else if (typeof value === 'object' && saturation === undefined && lightness === undefined) {
20166
+ return hslToHex(value.hue, value.saturation, value.lightness);
20167
+ }
20168
+ throw new PolishedError(1);
20169
+ }
20170
+
20171
+ /**
20172
+ * Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.
20173
+ *
20174
+ * @example
20175
+ * // Styles as object usage
20176
+ * const styles = {
20177
+ * background: hsla(359, 0.75, 0.4, 0.7),
20178
+ * background: hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 }),
20179
+ * background: hsla(359, 0.75, 0.4, 1),
20180
+ * }
20181
+ *
20182
+ * // styled-components usage
20183
+ * const div = styled.div`
20184
+ * background: ${hsla(359, 0.75, 0.4, 0.7)};
20185
+ * background: ${hsla({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0,7 })};
20186
+ * background: ${hsla(359, 0.75, 0.4, 1)};
20187
+ * `
20188
+ *
20189
+ * // CSS in JS Output
20190
+ *
20191
+ * element {
20192
+ * background: "rgba(179,25,28,0.7)";
20193
+ * background: "rgba(179,25,28,0.7)";
20194
+ * background: "#b3191c";
20195
+ * }
20196
+ */
20197
+ function hsla$1(value, saturation, lightness, alpha) {
20198
+ if (typeof value === 'number' && typeof saturation === 'number' && typeof lightness === 'number' && typeof alpha === 'number') {
20199
+ return alpha >= 1 ? hslToHex(value, saturation, lightness) : "rgba(" + hslToRgb(value, saturation, lightness) + "," + alpha + ")";
20200
+ } else if (typeof value === 'object' && saturation === undefined && lightness === undefined && alpha === undefined) {
20201
+ return value.alpha >= 1 ? hslToHex(value.hue, value.saturation, value.lightness) : "rgba(" + hslToRgb(value.hue, value.saturation, value.lightness) + "," + value.alpha + ")";
20202
+ }
20203
+ throw new PolishedError(2);
20204
+ }
20205
+
19817
20206
  /**
19818
20207
  * Returns a string value for the color. The returned result is the smallest possible hex notation.
19819
20208
  *
@@ -19843,74 +20232,267 @@ function rgb(value, green, blue) {
19843
20232
  } else if (typeof value === 'object' && green === undefined && blue === undefined) {
19844
20233
  return reduceHexValue$1("#" + numberToHex(value.red) + numberToHex(value.green) + numberToHex(value.blue));
19845
20234
  }
19846
-
19847
20235
  throw new PolishedError(6);
19848
20236
  }
19849
20237
 
19850
20238
  /**
19851
- * Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.
19852
- *
19853
- * Can also be used to fade a color by passing a hex value or named CSS color along with an alpha value.
20239
+ * Returns a string value for the color. The returned result is the smallest possible rgba or hex notation.
20240
+ *
20241
+ * Can also be used to fade a color by passing a hex value or named CSS color along with an alpha value.
20242
+ *
20243
+ * @example
20244
+ * // Styles as object usage
20245
+ * const styles = {
20246
+ * background: rgba(255, 205, 100, 0.7),
20247
+ * background: rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 }),
20248
+ * background: rgba(255, 205, 100, 1),
20249
+ * background: rgba('#ffffff', 0.4),
20250
+ * background: rgba('black', 0.7),
20251
+ * }
20252
+ *
20253
+ * // styled-components usage
20254
+ * const div = styled.div`
20255
+ * background: ${rgba(255, 205, 100, 0.7)};
20256
+ * background: ${rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 })};
20257
+ * background: ${rgba(255, 205, 100, 1)};
20258
+ * background: ${rgba('#ffffff', 0.4)};
20259
+ * background: ${rgba('black', 0.7)};
20260
+ * `
20261
+ *
20262
+ * // CSS in JS Output
20263
+ *
20264
+ * element {
20265
+ * background: "rgba(255,205,100,0.7)";
20266
+ * background: "rgba(255,205,100,0.7)";
20267
+ * background: "#ffcd64";
20268
+ * background: "rgba(255,255,255,0.4)";
20269
+ * background: "rgba(0,0,0,0.7)";
20270
+ * }
20271
+ */
20272
+ function rgba$1(firstValue, secondValue, thirdValue, fourthValue) {
20273
+ if (typeof firstValue === 'string' && typeof secondValue === 'number') {
20274
+ var rgbValue = parseToRgb(firstValue);
20275
+ return "rgba(" + rgbValue.red + "," + rgbValue.green + "," + rgbValue.blue + "," + secondValue + ")";
20276
+ } else if (typeof firstValue === 'number' && typeof secondValue === 'number' && typeof thirdValue === 'number' && typeof fourthValue === 'number') {
20277
+ return fourthValue >= 1 ? rgb(firstValue, secondValue, thirdValue) : "rgba(" + firstValue + "," + secondValue + "," + thirdValue + "," + fourthValue + ")";
20278
+ } else if (typeof firstValue === 'object' && secondValue === undefined && thirdValue === undefined && fourthValue === undefined) {
20279
+ return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : "rgba(" + firstValue.red + "," + firstValue.green + "," + firstValue.blue + "," + firstValue.alpha + ")";
20280
+ }
20281
+ throw new PolishedError(7);
20282
+ }
20283
+
20284
+ var isRgb = function isRgb(color) {
20285
+ return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');
20286
+ };
20287
+ var isRgba$1 = function isRgba(color) {
20288
+ return typeof color.red === 'number' && typeof color.green === 'number' && typeof color.blue === 'number' && typeof color.alpha === 'number';
20289
+ };
20290
+ var isHsl = function isHsl(color) {
20291
+ return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && (typeof color.alpha !== 'number' || typeof color.alpha === 'undefined');
20292
+ };
20293
+ var isHsla$1 = function isHsla(color) {
20294
+ return typeof color.hue === 'number' && typeof color.saturation === 'number' && typeof color.lightness === 'number' && typeof color.alpha === 'number';
20295
+ };
20296
+
20297
+ /**
20298
+ * Converts a RgbColor, RgbaColor, HslColor or HslaColor object to a color string.
20299
+ * This util is useful in case you only know on runtime which color object is
20300
+ * used. Otherwise we recommend to rely on `rgb`, `rgba`, `hsl` or `hsla`.
20301
+ *
20302
+ * @example
20303
+ * // Styles as object usage
20304
+ * const styles = {
20305
+ * background: toColorString({ red: 255, green: 205, blue: 100 }),
20306
+ * background: toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 }),
20307
+ * background: toColorString({ hue: 240, saturation: 1, lightness: 0.5 }),
20308
+ * background: toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 }),
20309
+ * }
20310
+ *
20311
+ * // styled-components usage
20312
+ * const div = styled.div`
20313
+ * background: ${toColorString({ red: 255, green: 205, blue: 100 })};
20314
+ * background: ${toColorString({ red: 255, green: 205, blue: 100, alpha: 0.72 })};
20315
+ * background: ${toColorString({ hue: 240, saturation: 1, lightness: 0.5 })};
20316
+ * background: ${toColorString({ hue: 360, saturation: 0.75, lightness: 0.4, alpha: 0.72 })};
20317
+ * `
20318
+ *
20319
+ * // CSS in JS Output
20320
+ * element {
20321
+ * background: "#ffcd64";
20322
+ * background: "rgba(255,205,100,0.72)";
20323
+ * background: "#00f";
20324
+ * background: "rgba(179,25,25,0.72)";
20325
+ * }
20326
+ */
20327
+
20328
+ function toColorString(color) {
20329
+ if (typeof color !== 'object') throw new PolishedError(8);
20330
+ if (isRgba$1(color)) return rgba$1(color);
20331
+ if (isRgb(color)) return rgb(color);
20332
+ if (isHsla$1(color)) return hsla$1(color);
20333
+ if (isHsl(color)) return hsl(color);
20334
+ throw new PolishedError(8);
20335
+ }
20336
+
20337
+ // Type definitions taken from https://github.com/gcanti/flow-static-land/blob/master/src/Fun.js
20338
+ // eslint-disable-next-line no-unused-vars
20339
+ // eslint-disable-next-line no-unused-vars
20340
+ // eslint-disable-next-line no-redeclare
20341
+ function curried(f, length, acc) {
20342
+ return function fn() {
20343
+ // eslint-disable-next-line prefer-rest-params
20344
+ var combined = acc.concat(Array.prototype.slice.call(arguments));
20345
+ return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);
20346
+ };
20347
+ }
20348
+
20349
+ // eslint-disable-next-line no-redeclare
20350
+ function curry(f) {
20351
+ // eslint-disable-line no-redeclare
20352
+ return curried(f, f.length, []);
20353
+ }
20354
+
20355
+ /**
20356
+ * Changes the hue of the color. Hue is a number between 0 to 360. The first
20357
+ * argument for adjustHue is the amount of degrees the color is rotated around
20358
+ * the color wheel, always producing a positive hue value.
20359
+ *
20360
+ * @example
20361
+ * // Styles as object usage
20362
+ * const styles = {
20363
+ * background: adjustHue(180, '#448'),
20364
+ * background: adjustHue('180', 'rgba(101,100,205,0.7)'),
20365
+ * }
20366
+ *
20367
+ * // styled-components usage
20368
+ * const div = styled.div`
20369
+ * background: ${adjustHue(180, '#448')};
20370
+ * background: ${adjustHue('180', 'rgba(101,100,205,0.7)')};
20371
+ * `
20372
+ *
20373
+ * // CSS in JS Output
20374
+ * element {
20375
+ * background: "#888844";
20376
+ * background: "rgba(136,136,68,0.7)";
20377
+ * }
20378
+ */
20379
+ function adjustHue(degree, color) {
20380
+ if (color === 'transparent') return color;
20381
+ var hslColor = parseToHsl(color);
20382
+ return toColorString(_extends$1({}, hslColor, {
20383
+ hue: hslColor.hue + parseFloat(degree)
20384
+ }));
20385
+ }
20386
+
20387
+ // prettier-ignore
20388
+ var curriedAdjustHue = curry /* ::<number | string, string, string> */(adjustHue);
20389
+
20390
+ function guard(lowerBoundary, upperBoundary, value) {
20391
+ return Math.max(lowerBoundary, Math.min(upperBoundary, value));
20392
+ }
20393
+
20394
+ /**
20395
+ * Returns a string value for the darkened color.
20396
+ *
20397
+ * @example
20398
+ * // Styles as object usage
20399
+ * const styles = {
20400
+ * background: darken(0.2, '#FFCD64'),
20401
+ * background: darken('0.2', 'rgba(255,205,100,0.7)'),
20402
+ * }
20403
+ *
20404
+ * // styled-components usage
20405
+ * const div = styled.div`
20406
+ * background: ${darken(0.2, '#FFCD64')};
20407
+ * background: ${darken('0.2', 'rgba(255,205,100,0.7)')};
20408
+ * `
20409
+ *
20410
+ * // CSS in JS Output
20411
+ *
20412
+ * element {
20413
+ * background: "#ffbd31";
20414
+ * background: "rgba(255,189,49,0.7)";
20415
+ * }
20416
+ */
20417
+ function darken(amount, color) {
20418
+ if (color === 'transparent') return color;
20419
+ var hslColor = parseToHsl(color);
20420
+ return toColorString(_extends$1({}, hslColor, {
20421
+ lightness: guard(0, 1, hslColor.lightness - parseFloat(amount))
20422
+ }));
20423
+ }
20424
+
20425
+ // prettier-ignore
20426
+ var curriedDarken = curry /* ::<number | string, string, string> */(darken);
20427
+
20428
+ /**
20429
+ * Decreases the intensity of a color. Its range is between 0 to 1. The first
20430
+ * argument of the desaturate function is the amount by how much the color
20431
+ * intensity should be decreased.
20432
+ *
20433
+ * @example
20434
+ * // Styles as object usage
20435
+ * const styles = {
20436
+ * background: desaturate(0.2, '#CCCD64'),
20437
+ * background: desaturate('0.2', 'rgba(204,205,100,0.7)'),
20438
+ * }
20439
+ *
20440
+ * // styled-components usage
20441
+ * const div = styled.div`
20442
+ * background: ${desaturate(0.2, '#CCCD64')};
20443
+ * background: ${desaturate('0.2', 'rgba(204,205,100,0.7)')};
20444
+ * `
20445
+ *
20446
+ * // CSS in JS Output
20447
+ * element {
20448
+ * background: "#b8b979";
20449
+ * background: "rgba(184,185,121,0.7)";
20450
+ * }
20451
+ */
20452
+ function desaturate(amount, color) {
20453
+ if (color === 'transparent') return color;
20454
+ var hslColor = parseToHsl(color);
20455
+ return toColorString(_extends$1({}, hslColor, {
20456
+ saturation: guard(0, 1, hslColor.saturation - parseFloat(amount))
20457
+ }));
20458
+ }
20459
+
20460
+ // prettier-ignore
20461
+ var curriedDesaturate = curry /* ::<number | string, string, string> */(desaturate);
20462
+
20463
+ /**
20464
+ * Returns a string value for the lightened color.
19854
20465
  *
19855
20466
  * @example
19856
20467
  * // Styles as object usage
19857
20468
  * const styles = {
19858
- * background: rgba(255, 205, 100, 0.7),
19859
- * background: rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 }),
19860
- * background: rgba(255, 205, 100, 1),
19861
- * background: rgba('#ffffff', 0.4),
19862
- * background: rgba('black', 0.7),
20469
+ * background: lighten(0.2, '#CCCD64'),
20470
+ * background: lighten('0.2', 'rgba(204,205,100,0.7)'),
19863
20471
  * }
19864
20472
  *
19865
20473
  * // styled-components usage
19866
20474
  * const div = styled.div`
19867
- * background: ${rgba(255, 205, 100, 0.7)};
19868
- * background: ${rgba({ red: 255, green: 205, blue: 100, alpha: 0.7 })};
19869
- * background: ${rgba(255, 205, 100, 1)};
19870
- * background: ${rgba('#ffffff', 0.4)};
19871
- * background: ${rgba('black', 0.7)};
20475
+ * background: ${lighten(0.2, '#FFCD64')};
20476
+ * background: ${lighten('0.2', 'rgba(204,205,100,0.7)')};
19872
20477
  * `
19873
20478
  *
19874
20479
  * // CSS in JS Output
19875
20480
  *
19876
20481
  * element {
19877
- * background: "rgba(255,205,100,0.7)";
19878
- * background: "rgba(255,205,100,0.7)";
19879
- * background: "#ffcd64";
19880
- * background: "rgba(255,255,255,0.4)";
19881
- * background: "rgba(0,0,0,0.7)";
20482
+ * background: "#e5e6b1";
20483
+ * background: "rgba(229,230,177,0.7)";
19882
20484
  * }
19883
20485
  */
19884
- function rgba$1(firstValue, secondValue, thirdValue, fourthValue) {
19885
- if (typeof firstValue === 'string' && typeof secondValue === 'number') {
19886
- var rgbValue = parseToRgb(firstValue);
19887
- return "rgba(" + rgbValue.red + "," + rgbValue.green + "," + rgbValue.blue + "," + secondValue + ")";
19888
- } else if (typeof firstValue === 'number' && typeof secondValue === 'number' && typeof thirdValue === 'number' && typeof fourthValue === 'number') {
19889
- return fourthValue >= 1 ? rgb(firstValue, secondValue, thirdValue) : "rgba(" + firstValue + "," + secondValue + "," + thirdValue + "," + fourthValue + ")";
19890
- } else if (typeof firstValue === 'object' && secondValue === undefined && thirdValue === undefined && fourthValue === undefined) {
19891
- return firstValue.alpha >= 1 ? rgb(firstValue.red, firstValue.green, firstValue.blue) : "rgba(" + firstValue.red + "," + firstValue.green + "," + firstValue.blue + "," + firstValue.alpha + ")";
19892
- }
19893
-
19894
- throw new PolishedError(7);
20486
+ function lighten(amount, color) {
20487
+ if (color === 'transparent') return color;
20488
+ var hslColor = parseToHsl(color);
20489
+ return toColorString(_extends$1({}, hslColor, {
20490
+ lightness: guard(0, 1, hslColor.lightness + parseFloat(amount))
20491
+ }));
19895
20492
  }
19896
20493
 
19897
- // Type definitions taken from https://github.com/gcanti/flow-static-land/blob/master/src/Fun.js
19898
- // eslint-disable-next-line no-unused-vars
19899
- // eslint-disable-next-line no-unused-vars
19900
- // eslint-disable-next-line no-redeclare
19901
- function curried(f, length, acc) {
19902
- return function fn() {
19903
- // eslint-disable-next-line prefer-rest-params
19904
- var combined = acc.concat(Array.prototype.slice.call(arguments));
19905
- return combined.length >= length ? f.apply(this, combined) : curried(f, length, combined);
19906
- };
19907
- } // eslint-disable-next-line no-redeclare
19908
-
19909
-
19910
- function curry(f) {
19911
- // eslint-disable-line no-redeclare
19912
- return curried(f, f.length, []);
19913
- }
20494
+ // prettier-ignore
20495
+ var curriedLighten = curry /* ::<number | string, string, string> */(lighten);
19914
20496
 
19915
20497
  /**
19916
20498
  * Mixes the two provided colors together by calculating the average of each of the RGB components weighted to the first color by the provided weight.
@@ -19938,25 +20520,21 @@ function curry(f) {
19938
20520
  * background: "rgba(63, 0, 191, 0.75)";
19939
20521
  * }
19940
20522
  */
19941
-
19942
20523
  function mix$1(weight, color, otherColor) {
19943
20524
  if (color === 'transparent') return otherColor;
19944
20525
  if (otherColor === 'transparent') return color;
19945
20526
  if (weight === 0) return otherColor;
19946
20527
  var parsedColor1 = parseToRgb(color);
19947
-
19948
20528
  var color1 = _extends$1({}, parsedColor1, {
19949
20529
  alpha: typeof parsedColor1.alpha === 'number' ? parsedColor1.alpha : 1
19950
20530
  });
19951
-
19952
20531
  var parsedColor2 = parseToRgb(otherColor);
19953
-
19954
20532
  var color2 = _extends$1({}, parsedColor2, {
19955
20533
  alpha: typeof parsedColor2.alpha === 'number' ? parsedColor2.alpha : 1
19956
- }); // The formula is copied from the original Sass implementation:
19957
- // http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method
19958
-
20534
+ });
19959
20535
 
20536
+ // The formula is copied from the original Sass implementation:
20537
+ // http://sass-lang.com/documentation/Sass/Script/Functions.html#mix-instance_method
19960
20538
  var alphaDelta = color1.alpha - color2.alpha;
19961
20539
  var x = parseFloat(weight) * 2 - 1;
19962
20540
  var y = x * alphaDelta === -1 ? x : x + alphaDelta;
@@ -19970,14 +20548,218 @@ function mix$1(weight, color, otherColor) {
19970
20548
  alpha: color1.alpha * parseFloat(weight) + color2.alpha * (1 - parseFloat(weight))
19971
20549
  };
19972
20550
  return rgba$1(mixedColor);
19973
- } // prettier-ignore
19974
-
20551
+ }
19975
20552
 
19976
- var curriedMix = /*#__PURE__*/curry
19977
- /* ::<number | string, string, string, string> */
19978
- (mix$1);
20553
+ // prettier-ignore
20554
+ var curriedMix = curry /* ::<number | string, string, string, string> */(mix$1);
19979
20555
  var mix$1$1 = curriedMix;
19980
20556
 
20557
+ /**
20558
+ * Increases the opacity of a color. Its range for the amount is between 0 to 1.
20559
+ *
20560
+ *
20561
+ * @example
20562
+ * // Styles as object usage
20563
+ * const styles = {
20564
+ * background: opacify(0.1, 'rgba(255, 255, 255, 0.9)');
20565
+ * background: opacify(0.2, 'hsla(0, 0%, 100%, 0.5)'),
20566
+ * background: opacify('0.5', 'rgba(255, 0, 0, 0.2)'),
20567
+ * }
20568
+ *
20569
+ * // styled-components usage
20570
+ * const div = styled.div`
20571
+ * background: ${opacify(0.1, 'rgba(255, 255, 255, 0.9)')};
20572
+ * background: ${opacify(0.2, 'hsla(0, 0%, 100%, 0.5)')},
20573
+ * background: ${opacify('0.5', 'rgba(255, 0, 0, 0.2)')},
20574
+ * `
20575
+ *
20576
+ * // CSS in JS Output
20577
+ *
20578
+ * element {
20579
+ * background: "#fff";
20580
+ * background: "rgba(255,255,255,0.7)";
20581
+ * background: "rgba(255,0,0,0.7)";
20582
+ * }
20583
+ */
20584
+ function opacify(amount, color) {
20585
+ if (color === 'transparent') return color;
20586
+ var parsedColor = parseToRgb(color);
20587
+ var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
20588
+ var colorWithAlpha = _extends$1({}, parsedColor, {
20589
+ alpha: guard(0, 1, (alpha * 100 + parseFloat(amount) * 100) / 100)
20590
+ });
20591
+ return rgba$1(colorWithAlpha);
20592
+ }
20593
+
20594
+ // prettier-ignore
20595
+ var curriedOpacify = curry /* ::<number | string, string, string> */(opacify);
20596
+
20597
+ /**
20598
+ * Increases the intensity of a color. Its range is between 0 to 1. The first
20599
+ * argument of the saturate function is the amount by how much the color
20600
+ * intensity should be increased.
20601
+ *
20602
+ * @example
20603
+ * // Styles as object usage
20604
+ * const styles = {
20605
+ * background: saturate(0.2, '#CCCD64'),
20606
+ * background: saturate('0.2', 'rgba(204,205,100,0.7)'),
20607
+ * }
20608
+ *
20609
+ * // styled-components usage
20610
+ * const div = styled.div`
20611
+ * background: ${saturate(0.2, '#FFCD64')};
20612
+ * background: ${saturate('0.2', 'rgba(204,205,100,0.7)')};
20613
+ * `
20614
+ *
20615
+ * // CSS in JS Output
20616
+ *
20617
+ * element {
20618
+ * background: "#e0e250";
20619
+ * background: "rgba(224,226,80,0.7)";
20620
+ * }
20621
+ */
20622
+ function saturate(amount, color) {
20623
+ if (color === 'transparent') return color;
20624
+ var hslColor = parseToHsl(color);
20625
+ return toColorString(_extends$1({}, hslColor, {
20626
+ saturation: guard(0, 1, hslColor.saturation + parseFloat(amount))
20627
+ }));
20628
+ }
20629
+
20630
+ // prettier-ignore
20631
+ var curriedSaturate = curry /* ::<number | string, string, string> */(saturate);
20632
+
20633
+ /**
20634
+ * Sets the hue of a color to the provided value. The hue range can be
20635
+ * from 0 and 359.
20636
+ *
20637
+ * @example
20638
+ * // Styles as object usage
20639
+ * const styles = {
20640
+ * background: setHue(42, '#CCCD64'),
20641
+ * background: setHue('244', 'rgba(204,205,100,0.7)'),
20642
+ * }
20643
+ *
20644
+ * // styled-components usage
20645
+ * const div = styled.div`
20646
+ * background: ${setHue(42, '#CCCD64')};
20647
+ * background: ${setHue('244', 'rgba(204,205,100,0.7)')};
20648
+ * `
20649
+ *
20650
+ * // CSS in JS Output
20651
+ * element {
20652
+ * background: "#cdae64";
20653
+ * background: "rgba(107,100,205,0.7)";
20654
+ * }
20655
+ */
20656
+ function setHue(hue, color) {
20657
+ if (color === 'transparent') return color;
20658
+ return toColorString(_extends$1({}, parseToHsl(color), {
20659
+ hue: parseFloat(hue)
20660
+ }));
20661
+ }
20662
+
20663
+ // prettier-ignore
20664
+ var curriedSetHue = curry /* ::<number | string, string, string> */(setHue);
20665
+
20666
+ /**
20667
+ * Sets the lightness of a color to the provided value. The lightness range can be
20668
+ * from 0 and 1.
20669
+ *
20670
+ * @example
20671
+ * // Styles as object usage
20672
+ * const styles = {
20673
+ * background: setLightness(0.2, '#CCCD64'),
20674
+ * background: setLightness('0.75', 'rgba(204,205,100,0.7)'),
20675
+ * }
20676
+ *
20677
+ * // styled-components usage
20678
+ * const div = styled.div`
20679
+ * background: ${setLightness(0.2, '#CCCD64')};
20680
+ * background: ${setLightness('0.75', 'rgba(204,205,100,0.7)')};
20681
+ * `
20682
+ *
20683
+ * // CSS in JS Output
20684
+ * element {
20685
+ * background: "#4d4d19";
20686
+ * background: "rgba(223,224,159,0.7)";
20687
+ * }
20688
+ */
20689
+ function setLightness(lightness, color) {
20690
+ if (color === 'transparent') return color;
20691
+ return toColorString(_extends$1({}, parseToHsl(color), {
20692
+ lightness: parseFloat(lightness)
20693
+ }));
20694
+ }
20695
+
20696
+ // prettier-ignore
20697
+ var curriedSetLightness = curry /* ::<number | string, string, string> */(setLightness);
20698
+
20699
+ /**
20700
+ * Sets the saturation of a color to the provided value. The saturation range can be
20701
+ * from 0 and 1.
20702
+ *
20703
+ * @example
20704
+ * // Styles as object usage
20705
+ * const styles = {
20706
+ * background: setSaturation(0.2, '#CCCD64'),
20707
+ * background: setSaturation('0.75', 'rgba(204,205,100,0.7)'),
20708
+ * }
20709
+ *
20710
+ * // styled-components usage
20711
+ * const div = styled.div`
20712
+ * background: ${setSaturation(0.2, '#CCCD64')};
20713
+ * background: ${setSaturation('0.75', 'rgba(204,205,100,0.7)')};
20714
+ * `
20715
+ *
20716
+ * // CSS in JS Output
20717
+ * element {
20718
+ * background: "#adad84";
20719
+ * background: "rgba(228,229,76,0.7)";
20720
+ * }
20721
+ */
20722
+ function setSaturation(saturation, color) {
20723
+ if (color === 'transparent') return color;
20724
+ return toColorString(_extends$1({}, parseToHsl(color), {
20725
+ saturation: parseFloat(saturation)
20726
+ }));
20727
+ }
20728
+
20729
+ // prettier-ignore
20730
+ var curriedSetSaturation = curry /* ::<number | string, string, string> */(setSaturation);
20731
+
20732
+ /**
20733
+ * Shades a color by mixing it with black. `shade` can produce
20734
+ * hue shifts, where as `darken` manipulates the luminance channel and therefore
20735
+ * doesn't produce hue shifts.
20736
+ *
20737
+ * @example
20738
+ * // Styles as object usage
20739
+ * const styles = {
20740
+ * background: shade(0.25, '#00f')
20741
+ * }
20742
+ *
20743
+ * // styled-components usage
20744
+ * const div = styled.div`
20745
+ * background: ${shade(0.25, '#00f')};
20746
+ * `
20747
+ *
20748
+ * // CSS in JS Output
20749
+ *
20750
+ * element {
20751
+ * background: "#00003f";
20752
+ * }
20753
+ */
20754
+
20755
+ function shade(percentage, color) {
20756
+ if (color === 'transparent') return color;
20757
+ return mix$1$1(parseFloat(percentage), 'rgb(0, 0, 0)', color);
20758
+ }
20759
+
20760
+ // prettier-ignore
20761
+ var curriedShade = curry /* ::<number | string, string, string> */(shade);
20762
+
19981
20763
  /**
19982
20764
  * Tints a color by mixing it with white. `tint` can produce
19983
20765
  * hue shifts, where as `lighten` manipulates the luminance channel and therefore
@@ -20004,14 +20786,52 @@ var mix$1$1 = curriedMix;
20004
20786
  function tint(percentage, color) {
20005
20787
  if (color === 'transparent') return color;
20006
20788
  return mix$1$1(parseFloat(percentage), 'rgb(255, 255, 255)', color);
20007
- } // prettier-ignore
20008
-
20789
+ }
20009
20790
 
20010
- var curriedTint = /*#__PURE__*/curry
20011
- /* ::<number | string, string, string> */
20012
- (tint);
20791
+ // prettier-ignore
20792
+ var curriedTint = curry /* ::<number | string, string, string> */(tint);
20013
20793
  var curriedTint$1 = curriedTint;
20014
20794
 
20795
+ /**
20796
+ * Decreases the opacity of a color. Its range for the amount is between 0 to 1.
20797
+ *
20798
+ *
20799
+ * @example
20800
+ * // Styles as object usage
20801
+ * const styles = {
20802
+ * background: transparentize(0.1, '#fff'),
20803
+ * background: transparentize(0.2, 'hsl(0, 0%, 100%)'),
20804
+ * background: transparentize('0.5', 'rgba(255, 0, 0, 0.8)'),
20805
+ * }
20806
+ *
20807
+ * // styled-components usage
20808
+ * const div = styled.div`
20809
+ * background: ${transparentize(0.1, '#fff')};
20810
+ * background: ${transparentize(0.2, 'hsl(0, 0%, 100%)')};
20811
+ * background: ${transparentize('0.5', 'rgba(255, 0, 0, 0.8)')};
20812
+ * `
20813
+ *
20814
+ * // CSS in JS Output
20815
+ *
20816
+ * element {
20817
+ * background: "rgba(255,255,255,0.9)";
20818
+ * background: "rgba(255,255,255,0.8)";
20819
+ * background: "rgba(255,0,0,0.3)";
20820
+ * }
20821
+ */
20822
+ function transparentize(amount, color) {
20823
+ if (color === 'transparent') return color;
20824
+ var parsedColor = parseToRgb(color);
20825
+ var alpha = typeof parsedColor.alpha === 'number' ? parsedColor.alpha : 1;
20826
+ var colorWithAlpha = _extends$1({}, parsedColor, {
20827
+ alpha: guard(0, 1, +(alpha * 100 - parseFloat(amount) * 100).toFixed(2) / 100)
20828
+ });
20829
+ return rgba$1(colorWithAlpha);
20830
+ }
20831
+
20832
+ // prettier-ignore
20833
+ var curriedTransparentize = curry /* ::<number | string, string, string> */(transparentize);
20834
+
20015
20835
  var linkColor = MATISSE_BLUE;
20016
20836
  var fallbackValues$8 = {
20017
20837
  linkColor: linkColor
@@ -22701,32 +23521,19 @@ var toIndexedObject = function (it) {
22701
23521
  return indexedObject(requireObjectCoercible(it));
22702
23522
  };
22703
23523
 
22704
- var documentAll = typeof document == 'object' && document.all;
22705
-
22706
23524
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22707
- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22708
- var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22709
-
22710
- var documentAll_1 = {
22711
- all: documentAll,
22712
- IS_HTMLDDA: IS_HTMLDDA
22713
- };
22714
-
22715
- var documentAll$1 = documentAll_1.all;
23525
+ var documentAll = typeof document == 'object' && document.all;
22716
23526
 
22717
23527
  // `IsCallable` abstract operation
22718
23528
  // https://tc39.es/ecma262/#sec-iscallable
22719
- var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22720
- return typeof argument == 'function' || argument === documentAll$1;
23529
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
23530
+ var isCallable = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
23531
+ return typeof argument == 'function' || argument === documentAll;
22721
23532
  } : function (argument) {
22722
23533
  return typeof argument == 'function';
22723
23534
  };
22724
23535
 
22725
- var documentAll$2 = documentAll_1.all;
22726
-
22727
- var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22728
- return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22729
- } : function (it) {
23536
+ var isObject = function (it) {
22730
23537
  return typeof it == 'object' ? it !== null : isCallable(it);
22731
23538
  };
22732
23539
 
@@ -22862,10 +23669,10 @@ var shared = createCommonjsModule(function (module) {
22862
23669
  (module.exports = function (key, value) {
22863
23670
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22864
23671
  })('versions', []).push({
22865
- version: '3.33.3',
23672
+ version: '3.35.1',
22866
23673
  mode: 'global',
22867
- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22868
- license: 'https://github.com/zloirock/core-js/blob/v3.33.3/LICENSE',
23674
+ copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
23675
+ license: 'https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE',
22869
23676
  source: 'https://github.com/zloirock/core-js'
22870
23677
  });
22871
23678
  });
@@ -23162,7 +23969,7 @@ var TEMPLATE = String(String).split('String');
23162
23969
 
23163
23970
  var makeBuiltIn = module.exports = function (value, name, options) {
23164
23971
  if (stringSlice($String(name), 0, 7) === 'Symbol(') {
23165
- name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
23972
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
23166
23973
  }
23167
23974
  if (options && options.getter) name = 'get ' + name;
23168
23975
  if (options && options.setter) name = 'set ' + name;
@@ -23250,7 +24057,8 @@ var min$1 = Math.min;
23250
24057
  // `ToLength` abstract operation
23251
24058
  // https://tc39.es/ecma262/#sec-tolength
23252
24059
  var toLength = function (argument) {
23253
- return argument > 0 ? min$1(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
24060
+ var len = toIntegerOrInfinity(argument);
24061
+ return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
23254
24062
  };
23255
24063
 
23256
24064
  // `LengthOfArrayLike` abstract operation
@@ -23410,7 +24218,7 @@ var _export = function (options, source) {
23410
24218
  } else if (STATIC) {
23411
24219
  target = global_1[TARGET] || defineGlobalProperty(TARGET, {});
23412
24220
  } else {
23413
- target = (global_1[TARGET] || {}).prototype;
24221
+ target = global_1[TARGET] && global_1[TARGET].prototype;
23414
24222
  }
23415
24223
  if (target) for (key in source) {
23416
24224
  sourceProperty = source[key];
@@ -23673,11 +24481,15 @@ var functionUncurryThisAccessor = function (object, key, method) {
23673
24481
  } catch (error) { /* empty */ }
23674
24482
  };
23675
24483
 
24484
+ var isPossiblePrototype = function (argument) {
24485
+ return isObject(argument) || argument === null;
24486
+ };
24487
+
23676
24488
  var $String$4 = String;
23677
24489
  var $TypeError$6 = TypeError;
23678
24490
 
23679
24491
  var aPossiblePrototype = function (argument) {
23680
- if (typeof argument == 'object' || isCallable(argument)) return argument;
24492
+ if (isPossiblePrototype(argument)) return argument;
23681
24493
  throw new $TypeError$6("Can't set " + $String$4(argument) + ' as a prototype');
23682
24494
  };
23683
24495
 
@@ -27228,34 +28040,45 @@ var fallbackValues$s = {
27228
28040
  height: height$1
27229
28041
  };
27230
28042
 
27231
- var getLargeIcon = function getLargeIcon(iconName) {
28043
+ var getLargeIcon = function getLargeIcon(iconName, isDisabled) {
27232
28044
  switch (iconName) {
27233
28045
  case "accounts":
27234
- return /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
28046
+ return isDisabled ? /*#__PURE__*/React__default.createElement(DisabledAccountsAddIcon, null) : /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
27235
28047
  case "properties":
27236
- return /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
28048
+ return isDisabled ? /*#__PURE__*/React__default.createElement(DisabledPropertiesAddIcon, null) : /*#__PURE__*/React__default.createElement(PropertiesAddIcon$1, null);
27237
28049
  case "payments":
27238
- return /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
28050
+ return isDisabled ? /*#__PURE__*/React__default.createElement(DisabledPaymentMethodsAddIcon, null) : /*#__PURE__*/React__default.createElement(PaymentMethodAddIcon$1, null);
27239
28051
  default:
27240
- return /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
28052
+ return isDisabled ? /*#__PURE__*/React__default.createElement(DisabledAccountsAddIcon, null) : /*#__PURE__*/React__default.createElement(AccountsAddIcon$1, null);
27241
28053
  }
27242
28054
  };
27243
- var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
27244
- var isLink = _ref.isLink,
27245
- action = _ref.action,
27246
- destination = _ref.destination,
27247
- children = _ref.children,
27248
- dataQa = _ref.dataQa;
28055
+ var renderDisabledContent = function renderDisabledContent(_ref) {
28056
+ var children = _ref.children;
28057
+ return /*#__PURE__*/React__default.createElement(Box, {
28058
+ padding: "0",
28059
+ minHeight: "100%",
28060
+ extraStyles: "cursor: default;",
28061
+ "aria-disabled": true
28062
+ }, children);
28063
+ };
28064
+ var renderContent = function renderContent(_ref2) {
28065
+ var isLink = _ref2.isLink,
28066
+ destination = _ref2.destination,
28067
+ dataQa = _ref2.dataQa,
28068
+ isDisabled = _ref2.isDisabled,
28069
+ children = _ref2.children,
28070
+ action = _ref2.action;
27249
28071
  return isLink ? /*#__PURE__*/React__default.createElement(reactRouterDom.Link, {
27250
28072
  to: destination,
27251
28073
  "data-qa": dataQa,
28074
+ disabled: isDisabled,
27252
28075
  style: {
27253
28076
  textDecoration: "none"
27254
28077
  }
27255
28078
  }, /*#__PURE__*/React__default.createElement(Box, {
27256
28079
  padding: "0",
27257
28080
  minHeight: "100%",
27258
- extraStyles: "cursor: pointer;"
28081
+ extraStyles: isDisabled ? "cursor: default;" : "cursor: pointer;"
27259
28082
  }, children)) : /*#__PURE__*/React__default.createElement(Box, {
27260
28083
  onClick: action,
27261
28084
  padding: "0",
@@ -27264,38 +28087,60 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
27264
28087
  dataQa: dataQa
27265
28088
  }, children);
27266
28089
  };
27267
- var Placeholder = function Placeholder(_ref2) {
27268
- var text = _ref2.text,
27269
- action = _ref2.action,
27270
- _ref2$visible = _ref2.visible,
27271
- visible = _ref2$visible === void 0 ? true : _ref2$visible,
27272
- _ref2$isLink = _ref2.isLink,
27273
- isLink = _ref2$isLink === void 0 ? false : _ref2$isLink,
27274
- destination = _ref2.destination,
27275
- variant = _ref2.variant,
27276
- largeIcon = _ref2.largeIcon,
27277
- themeValues = _ref2.themeValues,
27278
- dataQa = _ref2.dataQa;
28090
+ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref3) {
28091
+ var isLink = _ref3.isLink,
28092
+ action = _ref3.action,
28093
+ destination = _ref3.destination,
28094
+ children = _ref3.children,
28095
+ _ref3$isDisabled = _ref3.isDisabled,
28096
+ isDisabled = _ref3$isDisabled === void 0 ? false : _ref3$isDisabled,
28097
+ dataQa = _ref3.dataQa;
28098
+ return isDisabled ? renderDisabledContent({
28099
+ children: children
28100
+ }) : renderContent({
28101
+ children: children,
28102
+ action: action,
28103
+ isLink: isLink,
28104
+ destination: destination,
28105
+ dataQa: dataQa,
28106
+ isDisabled: isDisabled
28107
+ });
28108
+ };
28109
+ var Placeholder = function Placeholder(_ref4) {
28110
+ var text = _ref4.text,
28111
+ action = _ref4.action,
28112
+ _ref4$visible = _ref4.visible,
28113
+ visible = _ref4$visible === void 0 ? true : _ref4$visible,
28114
+ _ref4$isLink = _ref4.isLink,
28115
+ isLink = _ref4$isLink === void 0 ? false : _ref4$isLink,
28116
+ destination = _ref4.destination,
28117
+ variant = _ref4.variant,
28118
+ largeIcon = _ref4.largeIcon,
28119
+ themeValues = _ref4.themeValues,
28120
+ _ref4$isDisabled = _ref4.isDisabled,
28121
+ isDisabled = _ref4$isDisabled === void 0 ? false : _ref4$isDisabled,
28122
+ dataQa = _ref4.dataQa;
27279
28123
  return /*#__PURE__*/React__default.createElement(PlaceholderContentWrapper, {
27280
28124
  isLink: isLink,
27281
28125
  action: action,
27282
28126
  destination: destination,
27283
- dataQa: dataQa
28127
+ dataQa: dataQa,
28128
+ isDisabled: isDisabled
27284
28129
  }, /*#__PURE__*/React__default.createElement(Box, {
27285
28130
  padding: "0",
27286
28131
  borderRadius: "4px",
27287
28132
  border: "none",
27288
28133
  minHeight: themeValues.height,
27289
28134
  hiddenStyles: !visible,
27290
- extraStyles: "\n background: linear-gradient(\n to right,\n ".concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
27291
- hoverStyles: "background-color: ".concat(variant === "large" ? GRECIAN_GREY : curriedTint$1(0.9, themeValues.color), ";")
28135
+ extraStyles: isDisabled ? "border: 1px dashed ".concat(MANATEE_GREY, "; \n display: flex;\n justify-content: center;\n align-items:center;") : "\n background: linear-gradient(\n to right,\n ".concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%,\n rgba(255, 255, 255, 0) 0%\n ),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(to right, ").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%),\n linear-gradient(").concat(variant === "large" ? STORM_GREY : themeValues.color, " 40%, rgba(255, 255, 255, 0) 0%);\n background-position: top, right, bottom, left;\n background-repeat: repeat-x, repeat-y;\n background-size: 5px 1px, 1px 5px;\n display: flex;\n justify-content: center;\n align-items:center;"),
28136
+ hoverStyles: "background-color: ".concat(isDisabled ? TRANSPARENT : variant === "large" ? GRECIAN_GREY : curriedTint$1(0.9, themeValues.color), ";")
27292
28137
  }, /*#__PURE__*/React__default.createElement(Center, {
27293
28138
  maxWidth: "300px"
27294
28139
  }, /*#__PURE__*/React__default.createElement(Box, {
27295
28140
  padding: "0",
27296
28141
  tabIndex: "0",
27297
28142
  onKeyPress: function onKeyPress(e) {
27298
- return e.key === "Enter" && action();
28143
+ return isDisabled ? noop : e.key === "Enter" && action();
27299
28144
  }
27300
28145
  }, /*#__PURE__*/React__default.createElement(Cluster, {
27301
28146
  justify: "center",
@@ -27306,12 +28151,13 @@ var Placeholder = function Placeholder(_ref2) {
27306
28151
  childGap: "0"
27307
28152
  }, variant === "large" && /*#__PURE__*/React__default.createElement("div", null), /*#__PURE__*/React__default.createElement(Box, {
27308
28153
  padding: "0",
27309
- extraStyles: ".fill { \n fill: ".concat(variant === "large" ? CHARADE_GREY : themeValues.color, "; \n } .stroke { \n stroke: ").concat(variant === "large" ? CHARADE_GREY : themeValues.color, "; \n } ")
28154
+ "aria-disabled": isDisabled,
28155
+ extraStyles: ".fill { \n fill: ".concat(isDisabled ? MANATEE_GREY : variant === "large" ? CHARADE_GREY : themeValues.color, "; \n } .stroke { \n stroke: ").concat(isDisabled ? MANATEE_GREY : variant === "large" ? CHARADE_GREY : themeValues.color, "; \n } ")
27310
28156
  }, variant === "large" ? /*#__PURE__*/React__default.createElement(Center, {
27311
28157
  intrinsic: true
27312
- }, getLargeIcon(largeIcon), /*#__PURE__*/React__default.createElement(Text$1, {
28158
+ }, getLargeIcon(largeIcon, isDisabled), /*#__PURE__*/React__default.createElement(Text$1, {
27313
28159
  variant: "pS",
27314
- color: themeValues.color,
28160
+ color: isDisabled ? MANATEE_GREY : themeValues.color,
27315
28161
  weight: FONT_WEIGHT_SEMIBOLD,
27316
28162
  extraStyles: "text-align: center;"
27317
28163
  }, text)) : /*#__PURE__*/React__default.createElement(Cover, {
@@ -27321,12 +28167,13 @@ var Placeholder = function Placeholder(_ref2) {
27321
28167
  justify: "center",
27322
28168
  align: "center"
27323
28169
  }, /*#__PURE__*/React__default.createElement(IconAdd, {
28170
+ fill: isDisabled ? MANATEE_GREY : WHITE,
27324
28171
  strokeWidth: "2"
27325
28172
  }), /*#__PURE__*/React__default.createElement(Center, {
27326
28173
  intrinsic: true
27327
28174
  }, /*#__PURE__*/React__default.createElement(Text$1, {
27328
28175
  variant: "pS",
27329
- color: themeValues.color,
28176
+ color: isDisabled ? MANATEE_GREY : themeValues.color,
27330
28177
  weight: FONT_WEIGHT_SEMIBOLD,
27331
28178
  extraStyles: "padding: 0 0 0 8px; text-align: center;"
27332
28179
  }, text)))))))))));
@@ -40235,7 +41082,9 @@ var EditableList = function EditableList(_ref) {
40235
41082
  qaPrefix = _ref.qaPrefix,
40236
41083
  ariaLabel = _ref.ariaLabel,
40237
41084
  _ref$editItemAriaRole = _ref.editItemAriaRole,
40238
- editItemAriaRole = _ref$editItemAriaRole === void 0 ? "" : _ref$editItemAriaRole;
41085
+ editItemAriaRole = _ref$editItemAriaRole === void 0 ? "" : _ref$editItemAriaRole,
41086
+ _ref$disablePlacehold = _ref.disablePlaceholder,
41087
+ disablePlaceholder = _ref$disablePlacehold === void 0 ? false : _ref$disablePlacehold;
40239
41088
  var addText = "Add a".concat(itemName[0].match(/[aieouAIEOU]/) ? "n" : "", " ").concat(itemName);
40240
41089
  return /*#__PURE__*/React__default.createElement(Box, {
40241
41090
  padding: listPadding,
@@ -40312,13 +41161,22 @@ var EditableList = function EditableList(_ref) {
40312
41161
  "aria-label": "Edit ".concat(ariaLabel || itemName),
40313
41162
  role: editItemAriaRole
40314
41163
  }))));
40315
- })), canAdd && (!maxItems || items.length < maxItems) && /*#__PURE__*/React__default.createElement(Box, {
41164
+ })), canAdd && (!maxItems || items.length < maxItems) && !disablePlaceholder ? /*#__PURE__*/React__default.createElement(Box, {
41165
+ padding: items.length === 0 ? "0" : "1rem 0 0"
41166
+ }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
41167
+ text: addText,
41168
+ action: addItem,
41169
+ dataQa: "Add " + qaPrefix,
41170
+ "aria-label": addText,
41171
+ isDisabled: disablePlaceholder
41172
+ })) : /*#__PURE__*/React__default.createElement(Box, {
40316
41173
  padding: items.length === 0 ? "0" : "1rem 0 0"
40317
41174
  }, /*#__PURE__*/React__default.createElement(Placeholder$1, {
40318
41175
  text: addText,
40319
41176
  action: addItem,
40320
41177
  dataQa: "Add " + qaPrefix,
40321
- "aria-label": addText
41178
+ "aria-label": addText,
41179
+ isDisabled: disablePlaceholder
40322
41180
  }))));
40323
41181
  };
40324
41182
 
@@ -50091,6 +50949,9 @@ exports.Cover = Cover;
50091
50949
  exports.CustomerSearchIcon = CustomerSearchIcon;
50092
50950
  exports.DefaultPageTemplate = DefaultPageTemplate;
50093
50951
  exports.Detail = Detail$1;
50952
+ exports.DisabledAccountsAddIcon = DisabledAccountsAddIcon;
50953
+ exports.DisabledPaymentMethodsAddIcon = DisabledPaymentMethodsAddIcon;
50954
+ exports.DisabledPropertiesAddIcon = DisabledPropertiesAddIcon;
50094
50955
  exports.DisplayBox = DisplayBox$1;
50095
50956
  exports.DisplayCard = DisplayCard;
50096
50957
  exports.Dropdown = Dropdown$1;