@credithub/harlan-components 1.18.1 → 1.18.3

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/lib/cjs/index.js CHANGED
@@ -1480,7 +1480,7 @@ var theme = {
1480
1480
  },
1481
1481
  };
1482
1482
 
1483
- var __makeTemplateObject$u = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1483
+ var __makeTemplateObject$x = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1484
1484
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1485
1485
  return cooked;
1486
1486
  };
@@ -1506,8 +1506,8 @@ var __rest$f = (undefined && undefined.__rest) || function (s, e) {
1506
1506
  }
1507
1507
  return t;
1508
1508
  };
1509
- var GreyBar = styled.div(templateObject_1$u || (templateObject_1$u = __makeTemplateObject$u(["\n width: 330px;\n height: 10px;\n background-color: ", ";\n border-radius: 10px;\n\n"], ["\n width: 330px;\n height: 10px;\n background-color: ", ";\n border-radius: 10px;\n\n"])), theme.colors.cinzaClaro);
1510
- var BlueBar = styled(GreyBar)(templateObject_2$g || (templateObject_2$g = __makeTemplateObject$u(["\n display: ", ";\n width: ", ";\n background-color: ", ";\n"], ["\n display: ", ";\n width: ", ";\n background-color: ", ";\n"])), function (props) { return props.percentage ? 'block' : 'none'; }, function (_a) {
1509
+ var GreyBar = styled.div(templateObject_1$x || (templateObject_1$x = __makeTemplateObject$x(["\n width: 330px;\n height: 10px;\n background-color: ", ";\n border-radius: 10px;\n\n"], ["\n width: 330px;\n height: 10px;\n background-color: ", ";\n border-radius: 10px;\n\n"])), theme.colors.cinzaClaro);
1510
+ var BlueBar = styled(GreyBar)(templateObject_2$g || (templateObject_2$g = __makeTemplateObject$x(["\n display: ", ";\n width: ", ";\n background-color: ", ";\n"], ["\n display: ", ";\n width: ", ";\n background-color: ", ";\n"])), function (props) { return props.percentage ? 'block' : 'none'; }, function (_a) {
1511
1511
  var percentage = _a.percentage;
1512
1512
  return percentage && percentage + '%';
1513
1513
  }, theme.colors.azulCredithub);
@@ -1516,9 +1516,9 @@ var LoadingBar = function (_a) {
1516
1516
  return (React.createElement(GreyBar, __assign$p({}, props),
1517
1517
  React.createElement(BlueBar, { percentage: percentage })));
1518
1518
  };
1519
- var templateObject_1$u, templateObject_2$g;
1519
+ var templateObject_1$x, templateObject_2$g;
1520
1520
 
1521
- var __makeTemplateObject$t = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1521
+ var __makeTemplateObject$w = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1522
1522
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1523
1523
  return cooked;
1524
1524
  };
@@ -1544,17 +1544,17 @@ var __rest$e = (undefined && undefined.__rest) || function (s, e) {
1544
1544
  }
1545
1545
  return t;
1546
1546
  };
1547
- var Title$3 = styled.div(templateObject_1$t || (templateObject_1$t = __makeTemplateObject$t(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"])), theme.typography.headline24.fontSize, theme.typography.headline24.fontWeight, theme.typography.headline24.lineHeight, theme.colors.azulCredithub);
1548
- var Subtitle = styled.span(templateObject_2$f || (templateObject_2$f = __makeTemplateObject$t(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), theme.typography.body18.fontSize, theme.typography.body18.fontStyle, theme.typography.body18.fontWeight, theme.typography.body18.lineHeight);
1549
- var Description = styled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject$t(["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"], ["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"])), theme.typography.label14.fontStyle, theme.typography.label14.fontWeight, theme.typography.label14.fontSize, theme.typography.label14.lineHeight, theme.typography.label14.letterSpacing);
1547
+ var Title$3 = styled.div(templateObject_1$w || (templateObject_1$w = __makeTemplateObject$w(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n color: ", ";\n"])), theme.typography.headline24.fontSize, theme.typography.headline24.fontWeight, theme.typography.headline24.lineHeight, theme.colors.azulCredithub);
1548
+ var Subtitle = styled.span(templateObject_2$f || (templateObject_2$f = __makeTemplateObject$w(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), theme.typography.body18.fontSize, theme.typography.body18.fontStyle, theme.typography.body18.fontWeight, theme.typography.body18.lineHeight);
1549
+ var Description = styled.div(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject$w(["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"], ["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n"])), theme.typography.label14.fontStyle, theme.typography.label14.fontWeight, theme.typography.label14.fontSize, theme.typography.label14.lineHeight, theme.typography.label14.letterSpacing);
1550
1550
  var HeaderUI = styled(function (_a) {
1551
1551
  var children = _a.children, props = __rest$e(_a, ["children"]);
1552
1552
  return (React.createElement("header", __assign$o({}, props), children));
1553
- })(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject$t(["\n background: #FFFFFF !important;\n box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);\n border-radius: 30px;\n padding: 30px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n ", " {\n color: ", "\n }\n"], ["\n background: #FFFFFF !important;\n box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);\n border-radius: 30px;\n padding: 30px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n ", " {\n color: ", "\n }\n"])), Title$3, function (props) { return props.color; });
1554
- var HeaderContainer = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject$t(["\n display: flex;\n gap: 20px;\n\n"], ["\n display: flex;\n gap: 20px;\n\n"])));
1555
- var ActionsList = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject$t(["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"])));
1556
- var IconWrapper$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject$t(["\n display: flex;\n align-items: center;\n width: 30px;\n"], ["\n display: flex;\n align-items: center;\n width: 30px;\n"])));
1557
- var TextWrapper = styled.div(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject$t(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"], ["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"])));
1553
+ })(templateObject_4$5 || (templateObject_4$5 = __makeTemplateObject$w(["\n background: #FFFFFF !important;\n box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);\n border-radius: 30px;\n padding: 30px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n ", " {\n color: ", "\n }\n"], ["\n background: #FFFFFF !important;\n box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.15);\n border-radius: 30px;\n padding: 30px 20px;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n\n ", " {\n color: ", "\n }\n"])), Title$3, function (props) { return props.color; });
1554
+ var HeaderContainer = styled.div(templateObject_5$4 || (templateObject_5$4 = __makeTemplateObject$w(["\n display: flex;\n gap: 20px;\n\n"], ["\n display: flex;\n gap: 20px;\n\n"])));
1555
+ var ActionsList = styled.div(templateObject_6$3 || (templateObject_6$3 = __makeTemplateObject$w(["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"], ["\n display: flex;\n flex-direction: row;\n gap: 10px;\n"])));
1556
+ var IconWrapper$1 = styled.div(templateObject_7$1 || (templateObject_7$1 = __makeTemplateObject$w(["\n display: flex;\n align-items: center;\n width: 30px;\n"], ["\n display: flex;\n align-items: center;\n width: 30px;\n"])));
1557
+ var TextWrapper = styled.div(templateObject_8$1 || (templateObject_8$1 = __makeTemplateObject$w(["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"], ["\n display: flex;\n flex-direction: column;\n gap: 10px;\n\n .text-wrapper-subtitle-description {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n gap: 20px;\n align-items: center;\n }\n"])));
1558
1558
  var Header$1 = function (_a) {
1559
1559
  var title = _a.title, subtitle = _a.subtitle, description = _a.description, actions = _a.actions, Icon = _a.icon, type = _a.variant, iconProps = _a.iconProps, loadingProps = _a.loadingProps, className = _a.className, titleClassName = _a.titleClassName, subtitleClassName = _a.subtitleClassName, descriptionClassName = _a.descriptionClassName, containerClassName = _a.containerClassName, actionsClassName = _a.actionsClassName, innerRef = _a.innerRef, props = __rest$e(_a, ["title", "subtitle", "description", "actions", "icon", "variant", "iconProps", "loadingProps", "className", "titleClassName", "subtitleClassName", "descriptionClassName", "containerClassName", "actionsClassName", "innerRef"]);
1560
1560
  var headerClass = cx(className);
@@ -1583,7 +1583,7 @@ var getVariantColor = function (type) {
1583
1583
  };
1584
1584
  return options[type || 'default'];
1585
1585
  };
1586
- var templateObject_1$t, templateObject_2$f, templateObject_3$6, templateObject_4$5, templateObject_5$4, templateObject_6$3, templateObject_7$1, templateObject_8$1;
1586
+ var templateObject_1$w, templateObject_2$f, templateObject_3$6, templateObject_4$5, templateObject_5$4, templateObject_6$3, templateObject_7$1, templateObject_8$1;
1587
1587
 
1588
1588
  var __assign$n = (undefined && undefined.__assign) || function () {
1589
1589
  __assign$n = Object.assign || function(t) {
@@ -1669,19 +1669,19 @@ function CloseIcon(_a) {
1669
1669
  React.createElement("path", { fill: fill, d: "M4.99 3.99a1 1 0 00-.697 1.717L10.586 12l-6.293 6.293a1 1 0 101.414 1.414L12 13.414l6.293 6.293a1 1 0 101.414-1.414L13.414 12l6.293-6.293a1 1 0 00-.727-1.717 1 1 0 00-.687.303L12 10.586 5.707 4.293a1 1 0 00-.717-.303z" })));
1670
1670
  }
1671
1671
 
1672
- var __makeTemplateObject$s = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1672
+ var __makeTemplateObject$v = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1673
1673
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1674
1674
  return cooked;
1675
1675
  };
1676
- var BtnWrapper = styled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject$s(["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"], ["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"])), theme.colors.cinza85);
1677
- var templateObject_1$s;
1676
+ var BtnWrapper = styled.div(templateObject_1$v || (templateObject_1$v = __makeTemplateObject$v(["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"], ["\n width: 30px;\n height: 30px;\n background-color: ", ";\n border-radius: 50%;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: pointer;\n"])), theme.colors.cinza85);
1677
+ var templateObject_1$v;
1678
1678
 
1679
- var __makeTemplateObject$r = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1679
+ var __makeTemplateObject$u = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1680
1680
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1681
1681
  return cooked;
1682
1682
  };
1683
- var SectionContaner = styled.section(templateObject_1$r || (templateObject_1$r = __makeTemplateObject$r(["\n background-color: rgb(239, 239, 239);\n"], ["\n background-color: rgb(239, 239, 239);\n"])));
1684
- var ResultContainer = styled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject$r(["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n background-color: #efefef;\n"], ["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n background-color: #efefef;\n"])), function (props) { return props.hide ? 'none' : 'flex'; });
1683
+ var SectionContaner = styled.section(templateObject_1$u || (templateObject_1$u = __makeTemplateObject$u(["\n background-color: rgb(239, 239, 239);\n"], ["\n background-color: rgb(239, 239, 239);\n"])));
1684
+ var ResultContainer = styled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject$u(["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n background-color: #efefef;\n"], ["\n display: ", ";\n position: relative;\n margin-top: 20px;\n flex-direction: column;\n row-gap: 20px;\n background-color: #efefef;\n"])), function (props) { return props.hide ? 'none' : 'flex'; });
1685
1685
  var Section$1 = function (_a) {
1686
1686
  var title = _a.title, subtitle = _a.subtitle, description = _a.description, _b = _a.minimized, minimized = _b === void 0 ? false : _b, onClose = _a.onClose, variant = _a.variant, loadingProps = _a.loadingProps, icon = _a.icon, actions = _a.actions, children = _a.children, className = _a.className, contentClassName = _a.contentClassName;
1687
1687
  var _c = useToggle(!minimized), isOpen = _c[0], toggleOpen = _c[1];
@@ -1696,7 +1696,7 @@ var Section$1 = function (_a) {
1696
1696
  actions) }),
1697
1697
  React.createElement(ResultContainer, { className: sectionContentClass, hide: !isOpen }, children)));
1698
1698
  };
1699
- var templateObject_1$r, templateObject_2$e;
1699
+ var templateObject_1$u, templateObject_2$e;
1700
1700
 
1701
1701
  function Loading() {
1702
1702
  return (React.createElement(React.Fragment, null,
@@ -1706,7 +1706,7 @@ function Loading() {
1706
1706
  React.createElement("span", null, "."))));
1707
1707
  }
1708
1708
 
1709
- var __makeTemplateObject$q = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1709
+ var __makeTemplateObject$t = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1710
1710
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1711
1711
  return cooked;
1712
1712
  };
@@ -1732,8 +1732,8 @@ var __rest$a = (undefined && undefined.__rest) || function (s, e) {
1732
1732
  }
1733
1733
  return t;
1734
1734
  };
1735
- var FieldName = styled.div(templateObject_1$q || (templateObject_1$q = __makeTemplateObject$q(["\n/* Body 12 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n\n/* Cinza Escuro */\ncolor: ", ";\n"], ["\n/* Body 12 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n\n/* Cinza Escuro */\ncolor: ", ";\n"])), theme.typography.body12.fontStyle, theme.typography.body12.fontWeight, theme.typography.body12.fontSize, theme.typography.body12.lineHeight, theme.colors.cinzaEscuro);
1736
- var FieldValue = styled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject$q(["\n/* Headline 16 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n/* or 225% */\n\n/* Cinza Escuro */\ncolor: ", ";\n\n"], ["\n/* Headline 16 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n/* or 225% */\n\n/* Cinza Escuro */\ncolor: ", ";\n\n"])), theme.typography.headline16.fontStyle, theme.typography.headline16.fontWeight, theme.typography.headline16.fontSize, theme.typography.headline16.lineHeight, theme.colors.cinzaEscuro);
1735
+ var FieldName = styled.div(templateObject_1$t || (templateObject_1$t = __makeTemplateObject$t(["\n/* Body 12 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n\n/* Cinza Escuro */\ncolor: ", ";\n"], ["\n/* Body 12 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n\n/* Cinza Escuro */\ncolor: ", ";\n"])), theme.typography.body12.fontStyle, theme.typography.body12.fontWeight, theme.typography.body12.fontSize, theme.typography.body12.lineHeight, theme.colors.cinzaEscuro);
1736
+ var FieldValue = styled.div(templateObject_2$d || (templateObject_2$d = __makeTemplateObject$t(["\n/* Headline 16 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n/* or 225% */\n\n/* Cinza Escuro */\ncolor: ", ";\n\n"], ["\n/* Headline 16 */\nfont-family: 'Open Sans Condensed';\nfont-style: ", ";\nfont-weight: ", ";\nfont-size: ", ";\nline-height: ", ";\n/* or 225% */\n\n/* Cinza Escuro */\ncolor: ", ";\n\n"])), theme.typography.headline16.fontStyle, theme.typography.headline16.fontWeight, theme.typography.headline16.fontSize, theme.typography.headline16.lineHeight, theme.colors.cinzaEscuro);
1737
1737
  function AddItemField(_a) {
1738
1738
  var name = _a.name, value = _a.value, children = _a.children, className = _a.className, valueClassName = _a.valueClassName, nameClassName = _a.nameClassName, styleName = _a.styleName, _b = _a.defaultValue, defaultValue = _b === void 0 ? '----' : _b, props = __rest$a(_a, ["name", "value", "children", "className", "valueClassName", "nameClassName", "styleName", "defaultValue"]);
1739
1739
  var fieldClassName = cx(className);
@@ -1744,21 +1744,21 @@ function AddItemField(_a) {
1744
1744
  React.createElement(FieldValue, { className: valueClass }, value || defaultValue),
1745
1745
  children));
1746
1746
  }
1747
- var templateObject_1$q, templateObject_2$d;
1747
+ var templateObject_1$t, templateObject_2$d;
1748
1748
 
1749
- var __makeTemplateObject$p = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1749
+ var __makeTemplateObject$s = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1750
1750
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1751
1751
  return cooked;
1752
1752
  };
1753
- var ResponsiveGrid = styled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject$p(["\n display: grid;\n ", ";\n\n @media only screen and (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media only screen and (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media only screen and (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n ", ";\n\n @media only screen and (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media only screen and (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media only screen and (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"])), function (props) { return props.fullWidth && 'width: 100%'; }, function (props) { return props.mobile || 'auto'; }, function (props) { return props.tablet || 'auto'; }, function (props) { return props.desktop || 'auto'; });
1754
- var templateObject_1$p;
1753
+ var ResponsiveGrid = styled.div(templateObject_1$s || (templateObject_1$s = __makeTemplateObject$s(["\n display: grid;\n ", ";\n\n @media only screen and (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media only screen and (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media only screen and (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"], ["\n display: grid;\n ", ";\n\n @media only screen and (max-width: 768px) {\n grid-template-columns: ", ";\n gap: 16px;\n }\n\n @media only screen and (min-width: 768px) {\n grid-template-columns: ", ";\n }\n\n @media only screen and (min-width: 1000px) {\n grid-template-columns: ", ";\n }\n"])), function (props) { return props.fullWidth && 'width: 100%'; }, function (props) { return props.mobile || 'auto'; }, function (props) { return props.tablet || 'auto'; }, function (props) { return props.desktop || 'auto'; });
1754
+ var templateObject_1$s;
1755
1755
 
1756
- var __makeTemplateObject$o = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1756
+ var __makeTemplateObject$r = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
1757
1757
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
1758
1758
  return cooked;
1759
1759
  };
1760
- var ResultContent = styled(ResponsiveGrid)(templateObject_1$o || (templateObject_1$o = __makeTemplateObject$o(["\n padding: 18px 59px;\n box-sizing: border-box;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n\n > * {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n"], ["\n padding: 18px 59px;\n box-sizing: border-box;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n\n > * {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n"])));
1761
- var Result = styled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject$o(["\n display: ", ";\n flex-direction: column;\n padding: 37px 20px;\n \n ", " {\n :nth-child(odd) {\n background: ", ";\n border-radius: 60px;\n }\n }\n"], ["\n display: ", ";\n flex-direction: column;\n padding: 37px 20px;\n \n ", " {\n :nth-child(odd) {\n background: ", ";\n border-radius: 60px;\n }\n }\n"])), function (props) {
1760
+ var ResultContent = styled(ResponsiveGrid)(templateObject_1$r || (templateObject_1$r = __makeTemplateObject$r(["\n padding: 18px 59px;\n box-sizing: border-box;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n\n > * {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n"], ["\n padding: 18px 59px;\n box-sizing: border-box;\n justify-content: space-between;\n flex-wrap: wrap;\n gap: 8px;\n\n > * {\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n }\n"])));
1761
+ var Result = styled.div(templateObject_2$c || (templateObject_2$c = __makeTemplateObject$r(["\n display: ", ";\n flex-direction: column;\n padding: 37px 20px;\n \n ", " {\n :nth-child(odd) {\n background: ", ";\n border-radius: 60px;\n }\n }\n"], ["\n display: ", ";\n flex-direction: column;\n padding: 37px 20px;\n \n ", " {\n :nth-child(odd) {\n background: ", ";\n border-radius: 60px;\n }\n }\n"])), function (props) {
1762
1762
  var _a;
1763
1763
  var haveChildren = Array.isArray(props.children) ? (_a = props.children) === null || _a === void 0 ? void 0 : _a.length : props.children;
1764
1764
  return haveChildren ? 'flex' : 'none';
@@ -1766,7 +1766,7 @@ var Result = styled.div(templateObject_2$c || (templateObject_2$c = __makeTempla
1766
1766
  var _b = _a.resultContentStriped, resultContentStriped = _b === void 0 ? true : _b;
1767
1767
  return resultContentStriped ? '#FFFFFF' : 'transparent';
1768
1768
  });
1769
- var templateObject_1$o, templateObject_2$c;
1769
+ var templateObject_1$r, templateObject_2$c;
1770
1770
 
1771
1771
  var bundle = {exports: {}};
1772
1772
 
@@ -13122,7 +13122,7 @@ var bundle = {exports: {}};
13122
13122
 
13123
13123
  var bundleExports = bundle.exports;
13124
13124
 
13125
- var __makeTemplateObject$n = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13125
+ var __makeTemplateObject$q = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13126
13126
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13127
13127
  return cooked;
13128
13128
  };
@@ -13133,7 +13133,7 @@ var statusColors = {
13133
13133
  found: theme.colors.azulClaro,
13134
13134
  warning: theme.colors.alerta
13135
13135
  };
13136
- var StatusMessage = styled.span(templateObject_1$n || (templateObject_1$n = __makeTemplateObject$n(["\n padding: 7px 19px;\n gap: 10px;\n background: ", ";\n text-transform: ", ";\n border-radius: 50px;\n ", "\n\n"], ["\n padding: 7px 19px;\n gap: 10px;\n background: ", ";\n text-transform: ", ";\n border-radius: 50px;\n ", "\n\n"])), function (_a) {
13136
+ var StatusMessage = styled.span(templateObject_1$q || (templateObject_1$q = __makeTemplateObject$q(["\n padding: 7px 19px;\n gap: 10px;\n background: ", ";\n text-transform: ", ";\n border-radius: 50px;\n ", "\n\n"], ["\n padding: 7px 19px;\n gap: 10px;\n background: ", ";\n text-transform: ", ";\n border-radius: 50px;\n ", "\n\n"])), function (_a) {
13137
13137
  var _b = _a.type, type = _b === void 0 ? 'default' : _b;
13138
13138
  return statusColors[type];
13139
13139
  }, function (_a) {
@@ -13143,9 +13143,9 @@ var StatusMessage = styled.span(templateObject_1$n || (templateObject_1$n = __ma
13143
13143
  var type = _a.type;
13144
13144
  return type == 'error' && 'color: rgba(255, 255, 255, 1);';
13145
13145
  });
13146
- var templateObject_1$n;
13146
+ var templateObject_1$q;
13147
13147
 
13148
- var __makeTemplateObject$m = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13148
+ var __makeTemplateObject$p = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13149
13149
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13150
13150
  return cooked;
13151
13151
  };
@@ -13354,14 +13354,14 @@ var Section = function (_a) {
13354
13354
  renderedChildren && defaultHeaderActions)) }))),
13355
13355
  (React.createElement(ShowRenderedChildren, { isOpen: isOpen }, renderedChildren))));
13356
13356
  };
13357
- var ShowRenderedChildren = styled.div(templateObject_1$m || (templateObject_1$m = __makeTemplateObject$m(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return props.isOpen ? 'block' : 'none'; });
13357
+ var ShowRenderedChildren = styled.div(templateObject_1$p || (templateObject_1$p = __makeTemplateObject$p(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return props.isOpen ? 'block' : 'none'; });
13358
13358
  var headerStatus = (_a = {},
13359
13359
  _a[exports.RequestStatus.Loading] = "external-source loading",
13360
13360
  _a[exports.RequestStatus.Success] = "success",
13361
13361
  _a[exports.RequestStatus.Error] = "external-source error",
13362
13362
  _a[exports.RequestStatus.Empty] = "external-source error",
13363
13363
  _a);
13364
- var templateObject_1$m;
13364
+ var templateObject_1$p;
13365
13365
 
13366
13366
  var XPathUtils = /** @class */ (function () {
13367
13367
  function XPathUtils() {
@@ -13422,12 +13422,12 @@ var ThumbUp = function (_a) {
13422
13422
  React.createElement("path", { d: "M12 14H4.66671V5.33333L9.33337 0.666664L10.1667 1.5C10.2445 1.57778 10.3084 1.68333 10.3584 1.81666C10.4084 1.95 10.4334 2.07778 10.4334 2.2V2.43333L9.70004 5.33333H14C14.3556 5.33333 14.6667 5.46666 14.9334 5.73333C15.2 6 15.3334 6.31111 15.3334 6.66666V8C15.3334 8.07778 15.3223 8.16111 15.3 8.25C15.2778 8.33889 15.2556 8.42222 15.2334 8.5L13.2334 13.2C13.1334 13.4222 12.9667 13.6111 12.7334 13.7667C12.5 13.9222 12.2556 14 12 14ZM6.00004 12.6667H12L14 8V6.66666H8.00004L8.90004 3L6.00004 5.9V12.6667ZM4.66671 5.33333V6.66666H2.66671V12.6667H4.66671V14H1.33337V5.33333H4.66671Z", fill: fill }))));
13423
13423
  };
13424
13424
 
13425
- var __makeTemplateObject$l = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13425
+ var __makeTemplateObject$o = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13426
13426
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13427
13427
  return cooked;
13428
13428
  };
13429
- var ButtonContainer = styled.div(templateObject_1$l || (templateObject_1$l = __makeTemplateObject$l(["\n display: inline-flex;\n background-color: ", ";\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n font-size: 10px;\n width: fit-content;\n"], ["\n display: inline-flex;\n background-color: ", ";\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n font-size: 10px;\n width: fit-content;\n"])), theme.colors.cinzaClaro);
13430
- var Button$2 = styled.button(templateObject_2$b || (templateObject_2$b = __makeTemplateObject$l(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px 8px;\n line-height: 8px;\n cursor: pointer !important;\n border: none;\n background-color: ", ";\n color: white;\n flex: none;\n width: 50%;\n margin: 0 auto;\n\n /* &:hover {\n background-color: ", ";\n } */\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px 8px;\n line-height: 8px;\n cursor: pointer !important;\n border: none;\n background-color: ", ";\n color: white;\n flex: none;\n width: 50%;\n margin: 0 auto;\n\n /* &:hover {\n background-color: ", ";\n } */\n"])), function (props) {
13429
+ var ButtonContainer = styled.div(templateObject_1$o || (templateObject_1$o = __makeTemplateObject$o(["\n display: inline-flex;\n background-color: ", ";\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n font-size: 10px;\n width: fit-content;\n"], ["\n display: inline-flex;\n background-color: ", ";\n border-radius: 10px;\n overflow: hidden;\n position: relative;\n font-size: 10px;\n width: fit-content;\n"])), theme.colors.cinzaClaro);
13430
+ var Button$2 = styled.button(templateObject_2$b || (templateObject_2$b = __makeTemplateObject$o(["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px 8px;\n line-height: 8px;\n cursor: pointer !important;\n border: none;\n background-color: ", ";\n color: white;\n flex: none;\n width: 50%;\n margin: 0 auto;\n\n /* &:hover {\n background-color: ", ";\n } */\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 6px 8px;\n line-height: 8px;\n cursor: pointer !important;\n border: none;\n background-color: ", ";\n color: white;\n flex: none;\n width: 50%;\n margin: 0 auto;\n\n /* &:hover {\n background-color: ", ";\n } */\n"])), function (props) {
13431
13431
  return props.isSelected
13432
13432
  ? props.action === "like"
13433
13433
  ? "#007aff"
@@ -13440,9 +13440,9 @@ var Button$2 = styled.button(templateObject_2$b || (templateObject_2$b = __makeT
13440
13440
  : "#d63447"
13441
13441
  : "#f5f5f5";
13442
13442
  });
13443
- var IconWrapper = styled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject$l(["\n margin-right: 5px;\n"], ["\n margin-right: 5px;\n"])));
13444
- var Count = styled.span(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject$l(["\n line-height: 1;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n line-height: 1;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"])), function (props) { return (props.action === "dislike" ? "5px" : "0"); });
13445
- var Separator = styled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject$l(["\n content: \"\";\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n height: calc(100% - 6px);\n width: 1px;\n background-color: ", ";\n opacity: 0.1;\n z-index: 1;\n"], ["\n content: \"\";\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n height: calc(100% - 6px);\n width: 1px;\n background-color: ", ";\n opacity: 0.1;\n z-index: 1;\n"])), theme.colors.cinzaEscuro);
13443
+ var IconWrapper = styled.div(templateObject_3$5 || (templateObject_3$5 = __makeTemplateObject$o(["\n margin-right: 5px;\n"], ["\n margin-right: 5px;\n"])));
13444
+ var Count = styled.span(templateObject_4$4 || (templateObject_4$4 = __makeTemplateObject$o(["\n line-height: 1;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"], ["\n line-height: 1;\n display: flex;\n align-items: center;\n margin-right: ", ";\n"])), function (props) { return (props.action === "dislike" ? "5px" : "0"); });
13445
+ var Separator = styled.div(templateObject_5$3 || (templateObject_5$3 = __makeTemplateObject$o(["\n content: \"\";\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n height: calc(100% - 6px);\n width: 1px;\n background-color: ", ";\n opacity: 0.1;\n z-index: 1;\n"], ["\n content: \"\";\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n height: calc(100% - 6px);\n width: 1px;\n background-color: ", ";\n opacity: 0.1;\n z-index: 1;\n"])), theme.colors.cinzaEscuro);
13446
13446
  var ThumbsButton = function (_a) {
13447
13447
  var _b = _a.likes, likes = _b === void 0 ? 0 : _b, _c = _a.dislikes, dislikes = _c === void 0 ? 0 : _c, onClickLike = _a.onClickLike, onClickDislike = _a.onClickDislike;
13448
13448
  return (React.createElement(ButtonContainer, null,
@@ -13456,14 +13456,14 @@ var ThumbsButton = function (_a) {
13456
13456
  React.createElement(IconWrapper, { isSelected: dislikes > 0, action: "dislike" },
13457
13457
  React.createElement(ThumbDown, { fill: dislikes > 0 ? "white" : theme.colors.cinzaEscuro })))));
13458
13458
  };
13459
- var templateObject_1$l, templateObject_2$b, templateObject_3$5, templateObject_4$4, templateObject_5$3;
13459
+ var templateObject_1$o, templateObject_2$b, templateObject_3$5, templateObject_4$4, templateObject_5$3;
13460
13460
 
13461
13461
  var ContactsLikeDislike = function (_a) {
13462
13462
  var likes = _a.likes, dislikes = _a.dislikes, onClickLike = _a.onClickLike, onClickDislike = _a.onClickDislike;
13463
13463
  return (React.createElement(ThumbsButton, { likes: likes, dislikes: dislikes, onClickLike: onClickLike, onClickDislike: onClickDislike }));
13464
13464
  };
13465
13465
 
13466
- var __makeTemplateObject$k = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13466
+ var __makeTemplateObject$n = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13467
13467
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13468
13468
  return cooked;
13469
13469
  };
@@ -13478,7 +13478,7 @@ var __assign$i = (undefined && undefined.__assign) || function () {
13478
13478
  };
13479
13479
  return __assign$i.apply(this, arguments);
13480
13480
  };
13481
- var ContactsLikeDislikeWrapper = styled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject$k(["\n margin-top: 15px;\n"], ["\n margin-top: 15px;\n"])));
13481
+ var ContactsLikeDislikeWrapper = styled.div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject$n(["\n margin-top: 15px;\n"], ["\n margin-top: 15px;\n"])));
13482
13482
  var ContactLikeDislikeSection = function (props) {
13483
13483
  var _a, _b, _c;
13484
13484
  var _d = React.useState({
@@ -13524,7 +13524,7 @@ var ContactField = React.memo(function (contact) {
13524
13524
  React.createElement(ContactsLikeDislikeWrapper, null,
13525
13525
  React.createElement(ContactsLikeDislike, { likes: contact === null || contact === void 0 ? void 0 : contact.likes, dislikes: contact === null || contact === void 0 ? void 0 : contact.dislikes, onClickLike: contact.onClickLike, onClickDislike: contact.onClickDislike }))));
13526
13526
  });
13527
- var templateObject_1$k;
13527
+ var templateObject_1$n;
13528
13528
 
13529
13529
  var ContatoIcon = function (_a) {
13530
13530
  var _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.size, size = _c === void 0 ? 30 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.azulCredithub : _d;
@@ -13536,7 +13536,7 @@ var ContatoIcon = function (_a) {
13536
13536
  React.createElement("path", { d: "M22.95 24C20.8667 24 18.8083 23.5458 16.775 22.6375C14.7417 21.7292 12.8917 20.4417 11.225 18.775C9.55833 17.1083 8.27083 15.2583 7.3625 13.225C6.45417 11.1917 6 9.13333 6 7.05C6 6.75 6.1 6.5 6.3 6.3C6.5 6.1 6.75 6 7.05 6H11.1C11.3333 6 11.5417 6.07917 11.725 6.2375C11.9083 6.39583 12.0167 6.58333 12.05 6.8L12.7 10.3C12.7333 10.5667 12.725 10.7917 12.675 10.975C12.625 11.1583 12.5333 11.3167 12.4 11.45L9.975 13.9C10.3083 14.5167 10.7042 15.1125 11.1625 15.6875C11.6208 16.2625 12.125 16.8167 12.675 17.35C13.1917 17.8667 13.7333 18.3458 14.3 18.7875C14.8667 19.2292 15.4667 19.6333 16.1 20L18.45 17.65C18.6 17.5 18.7958 17.3875 19.0375 17.3125C19.2792 17.2375 19.5167 17.2167 19.75 17.25L23.2 17.95C23.4333 18.0167 23.625 18.1375 23.775 18.3125C23.925 18.4875 24 18.6833 24 18.9V22.95C24 23.25 23.9 23.5 23.7 23.7C23.5 23.9 23.25 24 22.95 24ZM9.025 12L10.675 10.35L10.25 8H8.025C8.10833 8.68333 8.225 9.35833 8.375 10.025C8.525 10.6917 8.74167 11.35 9.025 12ZM17.975 20.95C18.625 21.2333 19.2875 21.4583 19.9625 21.625C20.6375 21.7917 21.3167 21.9 22 21.95V19.75L19.65 19.275L17.975 20.95Z", fill: "white" }))));
13537
13537
  };
13538
13538
 
13539
- var __makeTemplateObject$j = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13539
+ var __makeTemplateObject$m = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13540
13540
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13541
13541
  return cooked;
13542
13542
  };
@@ -13562,8 +13562,8 @@ var __rest$8 = (undefined && undefined.__rest) || function (s, e) {
13562
13562
  }
13563
13563
  return t;
13564
13564
  };
13565
- var StyledButton = styled.button(templateObject_1$j || (templateObject_1$j = __makeTemplateObject$j(["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n \n padding: 8px 20px;\n border: none;\n border-radius: 60px;\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n \n transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;\n\n &:hover {\n background-color: #0056b3;\n }\n\n width: 100% !important;\n"], ["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n \n padding: 8px 20px;\n border: none;\n border-radius: 60px;\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n \n transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;\n\n &:hover {\n background-color: #0056b3;\n }\n\n width: 100% !important;\n"])), theme.typography.headline14.fontStyle, theme.typography.headline14.fontWeight, theme.typography.headline14.fontSize, theme.typography.headline14.lineHeight, theme.colors.azulCredithub, theme.colors.white);
13566
- var SmallContent = styled.small(templateObject_2$a || (templateObject_2$a = __makeTemplateObject$j(["\n color: #fdeb35;\n display: block;\n margin-top: 4px;\n"], ["\n color: #fdeb35;\n display: block;\n margin-top: 4px;\n"])));
13565
+ var StyledButton = styled.button(templateObject_1$m || (templateObject_1$m = __makeTemplateObject$m(["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n \n padding: 8px 20px;\n border: none;\n border-radius: 60px;\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n \n transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;\n\n &:hover {\n background-color: #0056b3;\n }\n\n width: 100% !important;\n"], ["\n font-style: ", ";\n font-weight: ", ";\n font-size: ", ";\n line-height: ", ";\n background-color: ", ";\n color: ", ";\n \n padding: 8px 20px;\n border: none;\n border-radius: 60px;\n cursor: pointer;\n\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n \n transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;\n\n &:hover {\n background-color: #0056b3;\n }\n\n width: 100% !important;\n"])), theme.typography.headline14.fontStyle, theme.typography.headline14.fontWeight, theme.typography.headline14.fontSize, theme.typography.headline14.lineHeight, theme.colors.azulCredithub, theme.colors.white);
13566
+ var SmallContent = styled.small(templateObject_2$a || (templateObject_2$a = __makeTemplateObject$m(["\n color: #fdeb35;\n display: block;\n margin-top: 4px;\n"], ["\n color: #fdeb35;\n display: block;\n margin-top: 4px;\n"])));
13567
13567
  var Button$1 = function (_a) {
13568
13568
  var children = _a.children, className = _a.className, smallContent = _a.smallContent, props = __rest$8(_a, ["children", "className", "smallContent"]);
13569
13569
  var buttonClassName = cx(className);
@@ -13571,7 +13571,7 @@ var Button$1 = function (_a) {
13571
13571
  React.createElement("span", null, children),
13572
13572
  smallContent && React.createElement(SmallContent, null, smallContent)));
13573
13573
  };
13574
- var templateObject_1$j, templateObject_2$a;
13574
+ var templateObject_1$m, templateObject_2$a;
13575
13575
 
13576
13576
  var __spreadArray$7 = (undefined && undefined.__spreadArray) || function (to, from, pack) {
13577
13577
  if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
@@ -13611,18 +13611,28 @@ var Contacts = function (_a) {
13611
13611
  } }));
13612
13612
  };
13613
13613
 
13614
+ var __makeTemplateObject$l = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13615
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13616
+ return cooked;
13617
+ };
13618
+ var ButtonPartner = styled(Button$1)(templateObject_1$l || (templateObject_1$l = __makeTemplateObject$l(["\n max-width: 100px;\n margin: 0;\n"], ["\n max-width: 100px;\n margin: 0;\n"])));
13614
13619
  var PartnerList = React.memo(function (_a) {
13615
- var partners = _a.partners;
13620
+ var partners = _a.partners, onClickQSA = _a.onClickQSA;
13616
13621
  return partners.map(function (partner, key) {
13617
13622
  var _a, _b;
13618
- return (React.createElement(ResultContent, { key: key, desktop: "2fr 1fr 0.7fr 1fr 1fr", tablet: "2fr repeat(2, 1fr)" },
13623
+ return (React.createElement(ResultContent, { key: key, desktop: "2fr 1fr 0.7fr 1fr 1fr 1fr", tablet: "2fr repeat(2, 1fr)" },
13619
13624
  React.createElement(AddItemField, { name: partner.cnpj ? "Empresa" : (_a = partner.cargo) !== null && _a !== void 0 ? _a : "", value: partner.nome }),
13620
13625
  React.createElement(AddItemField, { name: partner.cnpj ? "CNPJ" : "CPF", value: (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : "", onClick: function () { var _a, _b; return (_a = partner.onClickCpfCnpj) === null || _a === void 0 ? void 0 : _a.call(partner, (_b = (partner.cnpj || partner.cpf)) !== null && _b !== void 0 ? _b : ""); } }),
13621
13626
  React.createElement(AddItemField, { name: "Protestos", value: partner === null || partner === void 0 ? void 0 : partner.protestos }),
13622
13627
  React.createElement(AddItemField, { name: "Receita Status", value: partner.receitaStatus }),
13623
- React.createElement(AddItemField, { name: "Dividas P\u00FAblicas", value: partner.dividasPublicas })));
13628
+ React.createElement(AddItemField, { name: "Dividas P\u00FAblicas", value: partner.dividasPublicas }),
13629
+ React.createElement("div", null, (partner.cpf || partner.cnpj) && (React.createElement(ButtonPartner, { onClick: function (e) {
13630
+ e.preventDefault();
13631
+ onClickQSA(partner.cpf || partner.cnpj || "");
13632
+ } }, "Abrir")))));
13624
13633
  });
13625
13634
  });
13635
+ var templateObject_1$l;
13626
13636
 
13627
13637
  function formatCpf(cpf) {
13628
13638
  cpf = cpf.replace(/[^0-9]/g, "");
@@ -13733,7 +13743,8 @@ var __spreadArray$6 = (undefined && undefined.__spreadArray) || function (to, fr
13733
13743
  }
13734
13744
  return to.concat(ar || Array.prototype.slice.call(from));
13735
13745
  };
13736
- var Partners = function () {
13746
+ var Partners = function (_a) {
13747
+ var onClickQSA = _a.onClickQSA;
13737
13748
  var ctx = React.useContext(Queries.Finder);
13738
13749
  var rfbResponse = useConsultaRfb().rfbResponse;
13739
13750
  var Section = ctx.Section;
@@ -13752,7 +13763,7 @@ var Partners = function () {
13752
13763
  };
13753
13764
  });
13754
13765
  var children = (partners === null || partners === void 0 ? void 0 : partners.length) ? (React.createElement(Result, null,
13755
- React.createElement(PartnerList, { partners: partners }))) : null;
13766
+ React.createElement(PartnerList, { onClickQSA: onClickQSA, partners: partners }))) : null;
13756
13767
  return {
13757
13768
  children: children,
13758
13769
  description: !(partners === null || partners === void 0 ? void 0 : partners.length) && React.createElement(StatusMessage, null, "N\u00E3o h\u00E1 informa\u00E7\u00F5es de Quadro Societ\u00E1rio")
@@ -13761,7 +13772,7 @@ var Partners = function () {
13761
13772
  return (React.createElement(Section, { ctx: ctx, title: "Quadro Societ\u00E1rio", minimized: false, subtitle: "Informa\u00E7\u00F5es sobre o quadro societ\u00E1rio da pessoa pesquisada.", icon: QuadroSocietarioIcon, isError: function () { return response(undefined); }, onSuccess: response }));
13762
13773
  };
13763
13774
 
13764
- var __makeTemplateObject$i = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13775
+ var __makeTemplateObject$k = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13765
13776
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13766
13777
  return cooked;
13767
13778
  };
@@ -13787,7 +13798,7 @@ var __rest$7 = (undefined && undefined.__rest) || function (s, e) {
13787
13798
  }
13788
13799
  return t;
13789
13800
  };
13790
- var Content$1 = styled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject$i(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return props.isOpen ? 'block' : 'none'; });
13801
+ var Content$2 = styled.div(templateObject_1$k || (templateObject_1$k = __makeTemplateObject$k(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return props.isOpen ? 'block' : 'none'; });
13791
13802
  var ProtestosCategory = function (_a) {
13792
13803
  var registros = _a.registros, title = _a.title, subtitle = _a.subtitle, children = _a.children, rest = __rest$7(_a, ["registros", "title", "subtitle", "children"]);
13793
13804
  var _b = useToggle(), isOpen = _b[0], toggleOpen = _b[1];
@@ -13797,10 +13808,10 @@ var ProtestosCategory = function (_a) {
13797
13808
  React.createElement(Header$1, __assign$f({ title: title, subtitle: subtitle, description: React.createElement(StatusMessage, { type: registros ? "error" : "default" }, !registros
13798
13809
  ? "Não foram encontradas ocorrências"
13799
13810
  : (registros === 1 ? 'Foi encontrado um protesto' : "Foram encontrados ".concat(registros, " protestos"))), variant: registros ? 'error' : 'default', actions: registros ? defaultHeaderActions : null }, rest)),
13800
- React.createElement(Content$1, { isOpen: isOpen },
13811
+ React.createElement(Content$2, { isOpen: isOpen },
13801
13812
  React.createElement(Result, null, children))));
13802
13813
  };
13803
- var templateObject_1$i;
13814
+ var templateObject_1$k;
13804
13815
 
13805
13816
  var __awaiter$1 = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
13806
13817
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -13954,11 +13965,11 @@ var ProtestosImpostosIcon = function (_a) {
13954
13965
  React.createElement("path", { d: "M18.25 15.125L17.575 14.45C17.425 14.3 17.25 14.2292 17.05 14.2375C16.85 14.2458 16.675 14.325 16.525 14.475C16.375 14.625 16.3 14.8 16.3 15C16.3 15.2 16.375 15.375 16.525 15.525L18.3 17.3C18.5 17.5 18.7333 17.6 19 17.6C19.2667 17.6 19.5 17.5 19.7 17.3L21.475 15.525C21.625 15.375 21.7 15.2 21.7 15C21.7 14.8 21.625 14.625 21.475 14.475C21.325 14.325 21.1458 14.25 20.9375 14.25C20.7292 14.25 20.55 14.325 20.4 14.475L19.75 15.125V12.75C19.75 12.5333 19.6792 12.3542 19.5375 12.2125C19.3958 12.0708 19.2167 12 19 12C18.7833 12 18.6042 12.0708 18.4625 12.2125C18.3208 12.3542 18.25 12.5333 18.25 12.75V15.125ZM7 23C6.45 23 5.97917 22.8042 5.5875 22.4125C5.19583 22.0208 5 21.55 5 21V9C5 8.45 5.19583 7.97917 5.5875 7.5875C5.97917 7.19583 6.45 7 7 7H23C23.55 7 24.0208 7.19583 24.4125 7.5875C24.8042 7.97917 25 8.45 25 9V21C25 21.55 24.8042 22.0208 24.4125 22.4125C24.0208 22.8042 23.55 23 23 23H7ZM7 21H23V9H7V21ZM10 13.5H11V15.75C11 15.9667 11.0708 16.1458 11.2125 16.2875C11.3542 16.4292 11.5333 16.5 11.75 16.5C11.9667 16.5 12.1458 16.4292 12.2875 16.2875C12.4292 16.1458 12.5 15.9667 12.5 15.75V13.5H13.5V17.25C13.5 17.4667 13.5708 17.6458 13.7125 17.7875C13.8542 17.9292 14.0333 18 14.25 18C14.4667 18 14.6458 17.9292 14.7875 17.7875C14.9292 17.6458 15 17.4667 15 17.25V13C15 12.7167 14.9042 12.4792 14.7125 12.2875C14.5208 12.0958 14.2833 12 14 12H9.5C9.21667 12 8.97917 12.0958 8.7875 12.2875C8.59583 12.4792 8.5 12.7167 8.5 13V17.25C8.5 17.4667 8.57083 17.6458 8.7125 17.7875C8.85417 17.9292 9.03333 18 9.25 18C9.46667 18 9.64583 17.9292 9.7875 17.7875C9.92917 17.6458 10 17.4667 10 17.25V13.5Z", fill: "white" }))));
13955
13966
  };
13956
13967
 
13957
- var __makeTemplateObject$h = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13968
+ var __makeTemplateObject$j = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
13958
13969
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
13959
13970
  return cooked;
13960
13971
  };
13961
- var ResultProtestos = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject$h(["\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n margin-top: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n margin-top: 20px;\n"])));
13972
+ var ResultProtestos = styled.div(templateObject_1$j || (templateObject_1$j = __makeTemplateObject$j(["\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n margin-top: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n row-gap: 20px;\n margin-top: 20px;\n"])));
13962
13973
  var Protestos = function () {
13963
13974
  var ctx = React.useContext(Queries.Protestos);
13964
13975
  var Section = ctx.Section;
@@ -14006,7 +14017,7 @@ var Protestos = function () {
14006
14017
  };
14007
14018
  } }));
14008
14019
  };
14009
- var templateObject_1$h;
14020
+ var templateObject_1$j;
14010
14021
 
14011
14022
  /**
14012
14023
  * @name toDate
@@ -22057,7 +22068,7 @@ var useCardsAndProducts = function (_a) {
22057
22068
  return { cards: cards, products: products };
22058
22069
  };
22059
22070
 
22060
- var __makeTemplateObject$g = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22071
+ var __makeTemplateObject$i = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22061
22072
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
22062
22073
  return cooked;
22063
22074
  };
@@ -22097,12 +22108,12 @@ var __generator = (undefined && undefined.__generator) || function (thisArg, bod
22097
22108
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
22098
22109
  }
22099
22110
  };
22100
- var ContainerSummary$1 = styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject$g(["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n \n"], ["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n \n"])));
22101
- var ContentSummary = styled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$g(["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"], ["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"])));
22102
- var FieldSummary = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject$g(["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"], ["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"])), function (props) { return (props.fullRow ? "1 / 3" : "auto"); });
22103
- var ButtonsSummary = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$g(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"])));
22104
- var ButtonsWrapper = styled.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$g(["\n display: flex; \n gap: 10px; \n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n"], ["\n display: flex; \n gap: 10px; \n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n"])));
22105
- var SummaryButton = styled(Button$1)(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$g(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
22111
+ var ContainerSummary$1 = styled.div(templateObject_1$i || (templateObject_1$i = __makeTemplateObject$i(["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n \n"], ["\n display: flex;\n padding: 0 20px;\n width: 100%;\n justify-content: space-between;\n @media (max-width: 768px) {\n padding: 0px;\n }\n\n @media (max-width: 992px) {\n flex-direction: column;\n }\n \n"])));
22112
+ var ContentSummary = styled.div(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject$i(["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"], ["\n display: grid;\n grid-row: 1 / 8;\n grid-template-columns: repeat(4, 1fr);\n gap: 0 16px;\n\n @media (max-width: 1280px) {\n grid-template-columns: repeat(3, 1fr);\n justify-content: center;\n align-items: center;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n width: 100%;\n }\n"])));
22113
+ var FieldSummary = styled.div(templateObject_3$4 || (templateObject_3$4 = __makeTemplateObject$i(["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"], ["\n align-items: center;\n margin-bottom: 16px;\n grid-column: ", ";\n"])), function (props) { return (props.fullRow ? "1 / 3" : "auto"); });
22114
+ var ButtonsSummary = styled.div(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject$i(["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: flex-end;\n gap: 8px;\n\n @media (max-width: 768px) {\n align-items: center;\n max-width: 100%;\n }\n"])));
22115
+ var ButtonsWrapper = styled.div(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject$i(["\n display: flex; \n gap: 10px; \n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n"], ["\n display: flex; \n gap: 10px; \n flex-direction: column;\n\n @media (max-width: 1000px) {\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n flex-direction: row;\n }\n\n @media (max-width: 768px) {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n flex-direction: row;\n }\n"])));
22116
+ var SummaryButton = styled(Button$1)(templateObject_6$2 || (templateObject_6$2 = __makeTemplateObject$i(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
22106
22117
  var Summary = function (_a) {
22107
22118
  var finderResponse = _a.finderResponse, rfbResponse = _a.rfbResponse, document = _a.document;
22108
22119
  var _b = useCardsAndProducts({ finderResponse: finderResponse, rfbResponse: rfbResponse }), cards = _b.cards, products = _b.products;
@@ -22133,7 +22144,7 @@ var PrintButton = function (_a) {
22133
22144
  return React.createElement(ButtonsSummary, null,
22134
22145
  React.createElement(SummaryButton, { onClick: onClick }, "PDF para Impress\u00E3o"));
22135
22146
  };
22136
- var templateObject_1$g, templateObject_2$9, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2;
22147
+ var templateObject_1$i, templateObject_2$9, templateObject_3$4, templateObject_4$3, templateObject_5$2, templateObject_6$2;
22137
22148
 
22138
22149
  var IconePessoa = function (_a) {
22139
22150
  var _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.size, size = _c === void 0 ? 98 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? "#fff" : _d, _e = _a.pathFill, pathFill = _e === void 0 ? theme.colors.cinzaClaro : _e;
@@ -22145,16 +22156,16 @@ var IconePessoa = function (_a) {
22145
22156
  React.createElement("path", { d: "M49 49C46.2097 49 43.821 48.0065 41.834 46.0195C39.847 44.0325 38.8535 41.6438 38.8535 38.8535C38.8535 36.0632 39.847 33.6746 41.834 31.6876C43.821 29.7006 46.2097 28.7071 49 28.7071C51.7902 28.7071 54.1789 29.7006 56.1659 31.6876C58.1529 33.6746 59.1464 36.0632 59.1464 38.8535C59.1464 41.6438 58.1529 44.0325 56.1659 46.0195C54.1789 48.0065 51.7902 49 49 49ZM28.707 64.2197V62.1904C28.707 60.753 29.077 59.4318 29.8168 58.2269C30.5566 57.022 31.5396 56.1025 32.7656 55.4684C35.3868 54.1578 38.0502 53.1748 40.756 52.5195C43.4617 51.8643 46.2097 51.5366 49 51.5366C51.7902 51.5366 54.5382 51.8643 57.244 52.5195C59.9497 53.1748 62.6131 54.1578 65.2343 55.4684C66.4603 56.1025 67.4433 57.022 68.1831 58.2269C68.923 59.4318 69.2929 60.753 69.2929 62.1904V64.2197C69.2929 65.6148 68.7961 66.8092 67.8026 67.8027C66.8091 68.7962 65.6148 69.2929 64.2197 69.2929H33.7803C32.3851 69.2929 31.1908 68.7962 30.1973 67.8027C29.2038 66.8092 28.707 65.6148 28.707 64.2197ZM33.7803 64.2197H64.2197V62.1904C64.2197 61.7253 64.1034 61.3026 63.8709 60.9221C63.6383 60.5416 63.3318 60.2457 62.9513 60.0343C60.6684 58.8928 58.3643 58.0367 56.0391 57.4659C53.7138 56.8952 51.3675 56.6098 49 56.6098C46.6325 56.6098 44.2861 56.8952 41.9608 57.4659C39.6356 58.0367 37.3315 58.8928 35.0486 60.0343C34.6681 60.2457 34.3616 60.5416 34.129 60.9221C33.8965 61.3026 33.7803 61.7253 33.7803 62.1904V64.2197ZM49 43.9268C50.3951 43.9268 51.5894 43.43 52.5829 42.4365C53.5764 41.443 54.0732 40.2487 54.0732 38.8535C54.0732 37.4584 53.5764 36.2641 52.5829 35.2706C51.5894 34.277 50.3951 33.7803 49 33.7803C47.6048 33.7803 46.4105 34.277 45.417 35.2706C44.4235 36.2641 43.9267 37.4584 43.9267 38.8535C43.9267 40.2487 44.4235 41.443 45.417 42.4365C46.4105 43.43 47.6048 43.9268 49 43.9268Z", fill: pathFill }))));
22146
22157
  };
22147
22158
 
22148
- var __makeTemplateObject$f = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22159
+ var __makeTemplateObject$h = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22149
22160
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
22150
22161
  return cooked;
22151
22162
  };
22152
- var StyledContainer = styled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject$f(["\n display: grid;\n grid-template-columns: 1fr 2fr;\n margin-bottom: 20px;\n border-top: 1.6px solid ", ";\n padding: 16px;\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr 2fr;\n margin-bottom: 20px;\n border-top: 1.6px solid ", ";\n padding: 16px;\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"])), theme.colors.cinzaClaro);
22153
- var Header = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$f(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 6;\n padding: 16px;\n margin: 16px;\n row-gap: 20px;\n @media (max-width: 992px) {\n padding: 0 0 16px 0;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 6;\n padding: 16px;\n margin: 16px;\n row-gap: 20px;\n @media (max-width: 992px) {\n padding: 0 0 16px 0;\n }\n"])));
22154
- var Title$2 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject$f(["\n font-size: 18px;\n font-weight: bold;\n text-align: center;\n"], ["\n font-size: 18px;\n font-weight: bold;\n text-align: center;\n"])));
22155
- var TransactionContent = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$f(["\n display: flex;\n align-items: center;\n padding: 16px;\n align-items: flex-start;\n"], ["\n display: flex;\n align-items: center;\n padding: 16px;\n align-items: flex-start;\n"])));
22156
- var UserField = styled.span(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject$f(["\n flex: 1;\n padding-right: 16px;\n"], ["\n flex: 1;\n padding-right: 16px;\n"])));
22157
- var DateField = styled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$f(["\n flex: 1;\n text-align: right;\n"], ["\n flex: 1;\n text-align: right;\n"])));
22163
+ var StyledContainer = styled.div(templateObject_1$h || (templateObject_1$h = __makeTemplateObject$h(["\n display: grid;\n grid-template-columns: 1fr 2fr;\n margin-bottom: 20px;\n border-top: 1.6px solid ", ";\n padding: 16px;\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"], ["\n display: grid;\n grid-template-columns: 1fr 2fr;\n margin-bottom: 20px;\n border-top: 1.6px solid ", ";\n padding: 16px;\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n"])), theme.colors.cinzaClaro);
22164
+ var Header = styled.div(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject$h(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 6;\n padding: 16px;\n margin: 16px;\n row-gap: 20px;\n @media (max-width: 992px) {\n padding: 0 0 16px 0;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n grid-row: 1 / 6;\n padding: 16px;\n margin: 16px;\n row-gap: 20px;\n @media (max-width: 992px) {\n padding: 0 0 16px 0;\n }\n"])));
22165
+ var Title$2 = styled.span(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject$h(["\n font-size: 18px;\n font-weight: bold;\n text-align: center;\n"], ["\n font-size: 18px;\n font-weight: bold;\n text-align: center;\n"])));
22166
+ var TransactionContent = styled.div(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject$h(["\n display: flex;\n align-items: center;\n padding: 16px;\n align-items: flex-start;\n"], ["\n display: flex;\n align-items: center;\n padding: 16px;\n align-items: flex-start;\n"])));
22167
+ var UserField = styled.span(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject$h(["\n flex: 1;\n padding-right: 16px;\n"], ["\n flex: 1;\n padding-right: 16px;\n"])));
22168
+ var DateField = styled.span(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject$h(["\n flex: 1;\n text-align: right;\n"], ["\n flex: 1;\n text-align: right;\n"])));
22158
22169
  var TransactionsTable = function (_a) {
22159
22170
  var _b = _a.events, events = _b === void 0 ? [] : _b;
22160
22171
  return (React.createElement(StyledContainer, null,
@@ -22170,7 +22181,7 @@ var TransactionsTable = function (_a) {
22170
22181
  React.createElement(AddItemField, { name: "Data", value: (_a = new Date(XPathUtils.select("string(./ultimaConsulta)", event))) === null || _a === void 0 ? void 0 : _a.toLocaleDateString(), style: { display: "inline-block" } }))));
22171
22182
  })));
22172
22183
  };
22173
- var templateObject_1$f, templateObject_2$8, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1;
22184
+ var templateObject_1$h, templateObject_2$8, templateObject_3$3, templateObject_4$2, templateObject_5$1, templateObject_6$1;
22174
22185
 
22175
22186
  var IconeEmpresa = function (_a) {
22176
22187
  var _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.size, size = _c === void 0 ? 98 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.cinzaClaro : _d;
@@ -22182,13 +22193,13 @@ var IconeEmpresa = function (_a) {
22182
22193
  React.createElement("path", { d: "M23.6338 69.2929V31.8778C23.6338 31.4551 23.7183 31.0746 23.8875 30.7364C24.0566 30.3982 24.3102 30.1022 24.6484 29.8486L34.7949 22.2387C35.2599 21.9005 35.7673 21.7314 36.3169 21.7314C36.8665 21.7314 37.3738 21.9005 37.8388 22.2387L47.9853 29.8486C48.3235 30.1022 48.5772 30.3982 48.7463 30.7364C48.9154 31.0746 49 31.4551 49 31.8778V36.3169H71.8295C72.5482 36.3169 73.1507 36.56 73.6368 37.0462C74.123 37.5324 74.3661 38.1348 74.3661 38.8535V69.2929C74.3661 70.0116 74.123 70.6141 73.6368 71.1003C73.1507 71.5865 72.5482 71.8296 71.8295 71.8296H26.1704C25.4517 71.8296 24.8493 71.5865 24.3631 71.1003C23.8769 70.6141 23.6338 70.0116 23.6338 69.2929ZM28.707 66.7563H33.7803V61.6831H28.707V66.7563ZM28.707 56.6099H33.7803V51.5366H28.707V56.6099ZM28.707 46.4634H33.7803V41.3902H28.707V46.4634ZM28.707 36.3169H33.7803V31.2437H28.707V36.3169ZM38.8535 36.3169H43.9267V31.2437H38.8535V36.3169ZM38.8535 66.7563H69.2929V41.3902H38.8535V66.7563ZM56.6098 46.4634H61.683C62.4017 46.4634 63.0042 46.7065 63.4904 47.1927C63.9766 47.6789 64.2197 48.2813 64.2197 49C64.2197 49.7187 63.9766 50.3212 63.4904 50.8073C63.0042 51.2935 62.4017 51.5366 61.683 51.5366H56.6098C55.8911 51.5366 55.2886 51.2935 54.8025 50.8073C54.3163 50.3212 54.0732 49.7187 54.0732 49C54.0732 48.2813 54.3163 47.6789 54.8025 47.1927C55.2886 46.7065 55.8911 46.4634 56.6098 46.4634ZM56.6098 56.6099H61.683C62.4017 56.6099 63.0042 56.8529 63.4904 57.3391C63.9766 57.8253 64.2197 58.4278 64.2197 59.1465C64.2197 59.8652 63.9766 60.4676 63.4904 60.9538C63.0042 61.44 62.4017 61.6831 61.683 61.6831H56.6098C55.8911 61.6831 55.2886 61.44 54.8025 60.9538C54.3163 60.4676 54.0732 59.8652 54.0732 59.1465C54.0732 58.4278 54.3163 57.8253 54.8025 57.3391C55.2886 56.8529 55.8911 56.6099 56.6098 56.6099ZM49 49C49 49.7187 48.7569 50.3212 48.2707 50.8073C47.7845 51.2935 47.182 51.5366 46.4633 51.5366C45.7446 51.5366 45.1422 51.2935 44.656 50.8073C44.1698 50.3212 43.9267 49.7187 43.9267 49C43.9267 48.2813 44.1698 47.6789 44.656 47.1927C45.1422 46.7065 45.7446 46.4634 46.4633 46.4634C47.182 46.4634 47.7845 46.7065 48.2707 47.1927C48.7569 47.6789 49 48.2813 49 49ZM46.4633 61.6831C45.7446 61.6831 45.1422 61.44 44.656 60.9538C44.1698 60.4676 43.9267 59.8652 43.9267 59.1465C43.9267 58.4278 44.1698 57.8253 44.656 57.3391C45.1422 56.8529 45.7446 56.6099 46.4633 56.6099C47.182 56.6099 47.7845 56.8529 48.2707 57.3391C48.7569 57.8253 49 58.4278 49 59.1465C49 59.8652 48.7569 60.4676 48.2707 60.9538C47.7845 61.44 47.182 61.6831 46.4633 61.6831Z", fill: theme.colors.cinzaEscuro }))));
22183
22194
  };
22184
22195
 
22185
- var __makeTemplateObject$e = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22196
+ var __makeTemplateObject$g = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22186
22197
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
22187
22198
  return cooked;
22188
22199
  };
22189
- var LogoContainer$1 = styled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject$e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center; \n row-gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center; \n row-gap: 20px;\n"])));
22190
- var CompanyName$1 = styled.span(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$e(["\n font-size: ", ";\n color: ", ";\n text-align: center;\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n color: ", ";\n text-align: center;\n line-height: ", ";\n font-weight: ", ";\n"])), theme.typography.headline14.fontSize, theme.colors.cinzaEscuro, theme.typography.headline14.lineHeight, theme.typography.headline14.fontWeight);
22191
- var DocumentContainer$1 = styled.span(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$e(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n \n color: ", ";\n background-color: ", ";\n \n text-align: center;\n position: relative;\n padding: 5px 20px;\n border-radius: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n \n color: ", ";\n background-color: ", ";\n \n text-align: center;\n position: relative;\n padding: 5px 20px;\n border-radius: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), theme.typography.body14.fontSize, theme.typography.body14.fontWeight, theme.typography.body14.lineHeight, theme.colors.cinzaEscuro, theme.colors.cinzaClaro);
22200
+ var LogoContainer$1 = styled.div(templateObject_1$g || (templateObject_1$g = __makeTemplateObject$g(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center; \n row-gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center; \n row-gap: 20px;\n"])));
22201
+ var CompanyName$1 = styled.span(templateObject_2$7 || (templateObject_2$7 = __makeTemplateObject$g(["\n font-size: ", ";\n color: ", ";\n text-align: center;\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n color: ", ";\n text-align: center;\n line-height: ", ";\n font-weight: ", ";\n"])), theme.typography.headline14.fontSize, theme.colors.cinzaEscuro, theme.typography.headline14.lineHeight, theme.typography.headline14.fontWeight);
22202
+ var DocumentContainer$1 = styled.span(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject$g(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n \n color: ", ";\n background-color: ", ";\n \n text-align: center;\n position: relative;\n padding: 5px 20px;\n border-radius: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n \n color: ", ";\n background-color: ", ";\n \n text-align: center;\n position: relative;\n padding: 5px 20px;\n border-radius: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), theme.typography.body14.fontSize, theme.typography.body14.fontWeight, theme.typography.body14.lineHeight, theme.colors.cinzaEscuro, theme.colors.cinzaClaro);
22192
22203
  var Companylogo = function (_a) {
22193
22204
  var name = _a.name, document = _a.document;
22194
22205
  return (React.createElement(React.Fragment, null,
@@ -22199,19 +22210,19 @@ var Companylogo = function (_a) {
22199
22210
  isDocumentoPF(document) ? "CPF: " : "CNPJ: ",
22200
22211
  document))));
22201
22212
  };
22202
- var templateObject_1$e, templateObject_2$7, templateObject_3$2;
22213
+ var templateObject_1$g, templateObject_2$7, templateObject_3$2;
22203
22214
 
22204
- var __makeTemplateObject$d = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22215
+ var __makeTemplateObject$f = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
22205
22216
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
22206
22217
  return cooked;
22207
22218
  };
22208
- var CarouselContainer = styled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject$d(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
22219
+ var CarouselContainer = styled.div(templateObject_1$f || (templateObject_1$f = __makeTemplateObject$f(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
22209
22220
  var Carrousel = function (_a) {
22210
22221
  var name = _a.name, document = _a.document;
22211
22222
  return (React.createElement(CarouselContainer, null,
22212
22223
  React.createElement(Companylogo, { name: name, document: document })));
22213
22224
  };
22214
- var templateObject_1$d;
22225
+ var templateObject_1$f;
22215
22226
 
22216
22227
  var propTypes = {exports: {}};
22217
22228
 
@@ -28120,7 +28131,7 @@ function ChevronRight(_a) {
28120
28131
  React.createElement("path", { fill: fill, d: "M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z" })));
28121
28132
  }
28122
28133
 
28123
- var __makeTemplateObject$c = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28134
+ var __makeTemplateObject$e = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28124
28135
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
28125
28136
  return cooked;
28126
28137
  };
@@ -28135,16 +28146,16 @@ var __assign$a = (undefined && undefined.__assign) || function () {
28135
28146
  };
28136
28147
  return __assign$a.apply(this, arguments);
28137
28148
  };
28138
- var ContainerSummary = styled.div(templateObject_1$c || (templateObject_1$c = __makeTemplateObject$c(["\n display: grid;\n gap: 16px;\n padding: 16px;\n width: 90%;\n"], ["\n display: grid;\n gap: 16px;\n padding: 16px;\n width: 90%;\n"])));
28139
- var ReclameAquiStatsContainer = styled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$c(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
28140
- var LogoContainer = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$c(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 16px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 16px;\n"])));
28141
- var StyledImage = styled.img(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$c(["\n width: 60px;\n height: 60px;\n object-fit: cover;\n border-radius: 50%;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 16px;\n"], ["\n width: 60px;\n height: 60px;\n object-fit: cover;\n border-radius: 50%;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 16px;\n"])));
28142
- var StatsImage = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject$c(["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n object-fit: contain;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n background-image: url(", ");\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n object-fit: contain;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n background-image: url(", ");\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) { return props.src; });
28143
- var CompanyName = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject$c(["\n font-size: 16px;\n color: ", ";\n text-align: center;\n margin-bottom: 8px;\n line-height: 18px;\n font-weight: bold;\n"], ["\n font-size: 16px;\n color: ", ";\n text-align: center;\n margin-bottom: 8px;\n line-height: 18px;\n font-weight: bold;\n"])), theme.colors.cinzaEscuro);
28144
- var DocumentContainer = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject$c(["\n font-size: 16px;\n color: ", ";\n text-align: center;\n position: relative;\n background-color: ", ";\n padding: 4px 8px;\n border-radius: 60px;\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n font-size: 16px;\n color: ", ";\n text-align: center;\n position: relative;\n background-color: ", ";\n padding: 4px 8px;\n border-radius: 60px;\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), theme.colors.cinzaEscuro, theme.colors.cinzaClaro);
28145
- var DocumentPrefix = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject$c(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
28146
- var ProblemsSolved = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject$c(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 16px 0;\n\n a {\n text-decoration: none;\n color: inherit;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 16px 0;\n\n a {\n text-decoration: none;\n color: inherit;\n }\n"])));
28147
- var CarrouselBtn = styled.span(templateObject_10 || (templateObject_10 = __makeTemplateObject$c(["\n cursor: pointer;\n height: fit-content;\n"], ["\n cursor: pointer;\n height: fit-content;\n"])));
28149
+ var ContainerSummary = styled.div(templateObject_1$e || (templateObject_1$e = __makeTemplateObject$e(["\n display: grid;\n gap: 16px;\n padding: 16px;\n width: 90%;\n"], ["\n display: grid;\n gap: 16px;\n padding: 16px;\n width: 90%;\n"])));
28150
+ var ReclameAquiStatsContainer = styled.div(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject$e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
28151
+ var LogoContainer = styled.div(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject$e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 16px;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 16px;\n"])));
28152
+ var StyledImage = styled.img(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject$e(["\n width: 60px;\n height: 60px;\n object-fit: cover;\n border-radius: 50%;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 16px;\n"], ["\n width: 60px;\n height: 60px;\n object-fit: cover;\n border-radius: 50%;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 16px;\n"])));
28153
+ var StatsImage = styled.div(templateObject_5 || (templateObject_5 = __makeTemplateObject$e(["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n object-fit: contain;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n background-image: url(", ");\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n width: 60px;\n height: 60px;\n border-radius: 50%;\n object-fit: contain;\n background-size: contain;\n background-repeat: no-repeat;\n background-position: center center;\n border: 2px solid #fff;\n box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);\n background-image: url(", ");\n margin-bottom: 16px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), function (props) { return props.src; });
28154
+ var CompanyName = styled.span(templateObject_6 || (templateObject_6 = __makeTemplateObject$e(["\n font-size: 16px;\n color: ", ";\n text-align: center;\n margin-bottom: 8px;\n line-height: 18px;\n font-weight: bold;\n"], ["\n font-size: 16px;\n color: ", ";\n text-align: center;\n margin-bottom: 8px;\n line-height: 18px;\n font-weight: bold;\n"])), theme.colors.cinzaEscuro);
28155
+ var DocumentContainer = styled.span(templateObject_7 || (templateObject_7 = __makeTemplateObject$e(["\n font-size: 16px;\n color: ", ";\n text-align: center;\n position: relative;\n background-color: ", ";\n padding: 4px 8px;\n border-radius: 60px;\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n font-size: 16px;\n color: ", ";\n text-align: center;\n position: relative;\n background-color: ", ";\n padding: 4px 8px;\n border-radius: 60px;\n margin-top: 8px;\n display: flex;\n align-items: center;\n justify-content: center;\n"])), theme.colors.cinzaEscuro, theme.colors.cinzaClaro);
28156
+ var DocumentPrefix = styled.span(templateObject_8 || (templateObject_8 = __makeTemplateObject$e(["\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n"])));
28157
+ var ProblemsSolved = styled.div(templateObject_9 || (templateObject_9 = __makeTemplateObject$e(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 16px 0;\n\n a {\n text-decoration: none;\n color: inherit;\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 16px 0;\n\n a {\n text-decoration: none;\n color: inherit;\n }\n"])));
28158
+ var CarrouselBtn = styled.span(templateObject_10 || (templateObject_10 = __makeTemplateObject$e(["\n cursor: pointer;\n height: fit-content;\n"], ["\n cursor: pointer;\n height: fit-content;\n"])));
28148
28159
  var statusMap = {
28149
28160
  GREAT: "Ótimo",
28150
28161
  GOOD: "Bom",
@@ -28209,14 +28220,14 @@ var ReclameAquiCarousel = React.memo(function (_a) {
28209
28220
  };
28210
28221
  }).map(function (empresa, index) { return (React.createElement(ReclameAquiStats, __assign$a({ key: index }, empresa))); }))));
28211
28222
  });
28212
- var templateObject_1$c, templateObject_2$6, templateObject_3$1, templateObject_4$1, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
28223
+ var templateObject_1$e, templateObject_2$6, templateObject_3$1, templateObject_4$1, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10;
28213
28224
 
28214
- var __makeTemplateObject$b = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28225
+ var __makeTemplateObject$d = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28215
28226
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
28216
28227
  return cooked;
28217
28228
  };
28218
- var DossieContent = styled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject$b(["\n display: grid;\n grid-template-columns: 1fr 2fr;\n justify-items: center;\n align-items: flex-start;\n margin-bottom: 20px;\n gap: 20px;\n\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n \n"], ["\n display: grid;\n grid-template-columns: 1fr 2fr;\n justify-items: center;\n align-items: flex-start;\n margin-bottom: 20px;\n gap: 20px;\n\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n \n"])));
28219
- var DossieContainer = styled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$b(["\n padding: 0px 70px;\n\n @media (max-width: 1000px) {\n padding: 0px 30px;\n }\n"], ["\n padding: 0px 70px;\n\n @media (max-width: 1000px) {\n padding: 0px 30px;\n }\n"])));
28229
+ var DossieContent = styled.div(templateObject_1$d || (templateObject_1$d = __makeTemplateObject$d(["\n display: grid;\n grid-template-columns: 1fr 2fr;\n justify-items: center;\n align-items: flex-start;\n margin-bottom: 20px;\n gap: 20px;\n\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n \n"], ["\n display: grid;\n grid-template-columns: 1fr 2fr;\n justify-items: center;\n align-items: flex-start;\n margin-bottom: 20px;\n gap: 20px;\n\n @media (max-width: 992px) {\n grid-template-columns: 1fr;\n }\n \n"])));
28230
+ var DossieContainer = styled.div(templateObject_2$5 || (templateObject_2$5 = __makeTemplateObject$d(["\n padding: 0px 70px;\n\n @media (max-width: 1000px) {\n padding: 0px 30px;\n }\n"], ["\n padding: 0px 70px;\n\n @media (max-width: 1000px) {\n padding: 0px 30px;\n }\n"])));
28220
28231
  var Dossie = function (_a) {
28221
28232
  var documento = _a.documento;
28222
28233
  var finderCtx = React.useContext(Queries.Finder);
@@ -28242,14 +28253,14 @@ var Dossie = function (_a) {
28242
28253
  };
28243
28254
  return (React.createElement(Section, { ctx: finderCtx, hideHeader: true, minimized: false, isError: function (e) { return response(e); }, onSuccess: response }));
28244
28255
  };
28245
- var templateObject_1$b, templateObject_2$5;
28256
+ var templateObject_1$d, templateObject_2$5;
28246
28257
 
28247
- var __makeTemplateObject$a = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28258
+ var __makeTemplateObject$c = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28248
28259
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
28249
28260
  return cooked;
28250
28261
  };
28251
- var EnvolvidosListWrapper = styled(ResultContent)(templateObject_1$a || (templateObject_1$a = __makeTemplateObject$a(["\n gap: 8px;\n color: ", ";\n width: 100%;\n \n .field > .value, .name {\n color: ", "\n }\n"], ["\n gap: 8px;\n color: ", ";\n width: 100%;\n \n .field > .value, .name {\n color: ", "\n }\n"])), theme.colors.prata, theme.colors.prata);
28252
- var EnvolvidosUltimaMovimentacaoTitle = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$a(["\n font-weight: ", ";\n"], ["\n font-weight: ", ";\n"])), theme.typography.headline16.fontWeight);
28262
+ var EnvolvidosListWrapper = styled(ResultContent)(templateObject_1$c || (templateObject_1$c = __makeTemplateObject$c(["\n gap: 8px;\n color: ", ";\n width: 100%;\n \n .field > .value, .name {\n color: ", "\n }\n"], ["\n gap: 8px;\n color: ", ";\n width: 100%;\n \n .field > .value, .name {\n color: ", "\n }\n"])), theme.colors.prata, theme.colors.prata);
28263
+ var EnvolvidosUltimaMovimentacaoTitle = styled.div(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject$c(["\n font-weight: ", ";\n"], ["\n font-weight: ", ";\n"])), theme.typography.headline16.fontWeight);
28253
28264
  var EnvolvidosList = function (_a) {
28254
28265
  var envolvidos = _a.envolvidos;
28255
28266
  return (React.createElement(EnvolvidosListWrapper, { desktop: "1fr 3fr", tablet: "1fr" },
@@ -28258,9 +28269,9 @@ var EnvolvidosList = function (_a) {
28258
28269
  React.createElement(AddItemField, { name: "Nome", value: envolvido.nome }),
28259
28270
  React.createElement(AddItemField, { name: "Envolvimento", value: envolvido.envolvido_tipo || 'Não Informado' }))); }))));
28260
28271
  };
28261
- var templateObject_1$a, templateObject_2$4;
28272
+ var templateObject_1$c, templateObject_2$4;
28262
28273
 
28263
- var __makeTemplateObject$9 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28274
+ var __makeTemplateObject$b = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
28264
28275
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
28265
28276
  return cooked;
28266
28277
  };
@@ -28290,9 +28301,9 @@ var AddProcessoJuridicoField = function (_a) {
28290
28301
  var value = _a.value, props = __rest$4(_a, ["value"]);
28291
28302
  return (React.createElement(AddItemField, __assign$9({}, props, { value: value || "Não Informado" })));
28292
28303
  };
28293
- var ProcessoJuridicoWrapper = styled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject$9(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n \n @media only screen and (min-width: 1000px) {\n flex-direction: row;\n } \n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n \n @media only screen and (min-width: 1000px) {\n flex-direction: row;\n } \n"])));
28294
- var ConsultarProcessoBtn = styled(Button$1)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$9(["\n @media only screen and (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"], ["\n @media only screen and (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"])));
28295
- var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject$9(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
28304
+ var ProcessoJuridicoWrapper = styled.div(templateObject_1$b || (templateObject_1$b = __makeTemplateObject$b(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n \n @media only screen and (min-width: 1000px) {\n flex-direction: row;\n } \n"], ["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n \n @media only screen and (min-width: 1000px) {\n flex-direction: row;\n } \n"])));
28305
+ var ConsultarProcessoBtn = styled(Button$1)(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject$b(["\n @media only screen and (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"], ["\n @media only screen and (min-width: 1000px) {\n width: 100%;\n max-width: 150px;\n height: max-content;\n }\n"])));
28306
+ var ResultWrapper = styled.div(templateObject_3 || (templateObject_3 = __makeTemplateObject$b(["\n width: 100%;\n"], ["\n width: 100%;\n"])));
28296
28307
  var ProcessoJuridicoItem = React.memo(function (_a) {
28297
28308
  var processo = _a.processo, children = _a.children;
28298
28309
  return (React.createElement(ProcessoJuridicoWrapper, null,
@@ -28306,14 +28317,14 @@ var ProcessoJuridicoItem = React.memo(function (_a) {
28306
28317
  React.createElement(EnvolvidosList, { envolvidos: processo === null || processo === void 0 ? void 0 : processo.envolvidos_ultima_movimentacao })),
28307
28318
  children));
28308
28319
  });
28309
- var ResultList = styled(Result)(templateObject_4 || (templateObject_4 = __makeTemplateObject$9(["\n > div {\n padding: 16px 0px;\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n"], ["\n > div {\n padding: 16px 0px;\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n"])), theme.colors.cinzaClaro);
28320
+ var ResultList = styled(Result)(templateObject_4 || (templateObject_4 = __makeTemplateObject$b(["\n > div {\n padding: 16px 0px;\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n"], ["\n > div {\n padding: 16px 0px;\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n"])), theme.colors.cinzaClaro);
28310
28321
  var ProcessosJuridicosList = function (_a) {
28311
28322
  var processos = _a.processos, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico;
28312
28323
  return (React.createElement(ResultList, { resultContentStriped: false }, processos.map(function (processo, i) { return (React.createElement("div", { key: i },
28313
28324
  React.createElement(ProcessoJuridicoItem, { processo: processo },
28314
28325
  React.createElement(ConsultarProcessoBtn, { onClick: onClickConsultarProcessoJuridico ? function () { return onClickConsultarProcessoJuridico(processo.numero_novo); } : undefined, smallContent: "R$ 1" }, "Consultar Processo")))); })));
28315
28326
  };
28316
- var templateObject_1$9, templateObject_2$3, templateObject_3, templateObject_4;
28327
+ var templateObject_1$b, templateObject_2$3, templateObject_3, templateObject_4;
28317
28328
 
28318
28329
  var __assign$8 = (undefined && undefined.__assign) || function () {
28319
28330
  __assign$8 = Object.assign || function(t) {
@@ -47711,7 +47722,7 @@ var useDividasPublicas = function () {
47711
47722
  return dividasPublicasData;
47712
47723
  };
47713
47724
 
47714
- var __makeTemplateObject$8 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
47725
+ var __makeTemplateObject$a = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
47715
47726
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
47716
47727
  return cooked;
47717
47728
  };
@@ -47719,7 +47730,7 @@ var QuantityContainer = function (_a) {
47719
47730
  var children = _a.children;
47720
47731
  return (React.createElement("div", { className: "t" }, children));
47721
47732
  };
47722
- var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject$8(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media only screen and (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"], ["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media only screen and (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"])), theme.colors.cinzaClaro);
47733
+ var QuantidadeResultadosWrapper = styled(ResultContent)(templateObject_1$a || (templateObject_1$a = __makeTemplateObject$a(["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media only screen and (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"], ["\n padding: 18px 20px;\n row-gap: 20px;\n > * {\n row-gap: 10px;\n }\n @media only screen and (max-width: 768px) {\n > * {\n :not(:last-child) {\n border-bottom: 1px solid ", ";\n }\n }\n }\n"])), theme.colors.cinzaClaro);
47723
47734
  var QuantidadeResultados = function (_a) {
47724
47735
  var _b, _c, _d, _e;
47725
47736
  var data = _a.data, _f = _a.quantidadeProtestos, quantidadeProtestos = _f === void 0 ? 0 : _f, _g = _a.quantidadeProcessos, quantidadeProcessos = _g === void 0 ? 0 : _g, _h = _a.quantidadeDividas, quantidadeDividas = _h === void 0 ? 0 : _h, _j = _a.quantidadeChequesSemFundos, quantidadeChequesSemFundos = _j === void 0 ? 0 : _j, _k = _a.quantidadeDividasSerasa, quantidadeDividasSerasa = _k === void 0 ? 0 : _k, _l = _a.quantidadeDividasBoaVista, quantidadeDividasBoaVista = _l === void 0 ? 0 : _l, _m = _a.valorTotalProtestos, valorTotalProtestos = _m === void 0 ? 0 : _m, _o = _a.valorTotalDividas, valorTotalDividas = _o === void 0 ? 0 : _o, _p = _a.valorTotalDividasSerasa, valorTotalDividasSerasa = _p === void 0 ? 0 : _p, _q = _a.valorTotalDividasBoaVista, valorTotalDividasBoaVista = _q === void 0 ? 0 : _q, _r = _a.ultimaOcorrenciaProtestos, ultimaOcorrenciaProtestos = _r === void 0 ? null : _r, _s = _a.ultimaOcorrenciaChequesSemFundos, ultimaOcorrenciaChequesSemFundos = _s === void 0 ? null : _s;
@@ -47744,7 +47755,7 @@ var QuantidadeResultados = function (_a) {
47744
47755
  React.createElement(AddItemField, { hidden: !((_d = data === null || data === void 0 ? void 0 : data.boaVista) === null || _d === void 0 ? void 0 : _d.length), name: "Pefin Refin Boa Vista", value: formatValue(quantidadeDividasBoaVista) }),
47745
47756
  React.createElement(AddItemField, { hidden: !((_e = data === null || data === void 0 ? void 0 : data.boaVista) === null || _e === void 0 ? void 0 : _e.length), name: "Total Pefin Refin Boa Vista", value: formatMoney(valorTotalDividasBoaVista) })))));
47746
47757
  };
47747
- var templateObject_1$8;
47758
+ var templateObject_1$a;
47748
47759
 
47749
47760
  /*!
47750
47761
  * @kurkle/color v0.3.2
@@ -62725,18 +62736,18 @@ var useCategoryProtestos = function (dataInput) {
62725
62736
  return { data: data, options: options };
62726
62737
  };
62727
62738
 
62728
- var __makeTemplateObject$7 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
62739
+ var __makeTemplateObject$9 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
62729
62740
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
62730
62741
  return cooked;
62731
62742
  };
62732
- var ChartContainer$1 = styled.div(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject$7(["\n height: 400px;\n width: 100%;\n"], ["\n height: 400px;\n width: 100%;\n"])));
62743
+ var ChartContainer$1 = styled.div(templateObject_1$9 || (templateObject_1$9 = __makeTemplateObject$9(["\n height: 400px;\n width: 100%;\n"], ["\n height: 400px;\n width: 100%;\n"])));
62733
62744
  var CategoriaProtesto = function (_a) {
62734
62745
  var dataInput = _a.dataInput;
62735
62746
  var _b = useCategoryProtestos(dataInput), data = _b.data, options = _b.options;
62736
62747
  return (React.createElement(ChartContainer$1, null,
62737
62748
  React.createElement(Bar, { data: data, options: options })));
62738
62749
  };
62739
- var templateObject_1$7;
62750
+ var templateObject_1$9;
62740
62751
 
62741
62752
  function useWindowSize() {
62742
62753
  var _a = React.useState({
@@ -63248,12 +63259,12 @@ var useMixedChartData = function (dataInput, timeFilter) {
63248
63259
  }, [dataInput, timeFilter]);
63249
63260
  };
63250
63261
 
63251
- var __makeTemplateObject$6 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
63262
+ var __makeTemplateObject$8 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
63252
63263
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
63253
63264
  return cooked;
63254
63265
  };
63255
- var TimeFilterButton = styled.button(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$6(["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n"], ["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n"])), function (props) {
63256
- return props.isActive && Ne(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject$6(["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "], ["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "])));
63266
+ var TimeFilterButton = styled.button(templateObject_2$2 || (templateObject_2$2 = __makeTemplateObject$8(["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n"], ["\n padding: 8px 16px;\n margin-right: 5px;\n background-color: #f0f0f0;\n border: 1px solid #ccc;\n border-radius: 8px;\n cursor: pointer;\n width: 100px;\n min-width: 100px;\n text-align: center;\n\n ", "\n\n &:hover {\n background-color: #007af2;\n color: white;\n }\n"])), function (props) {
63267
+ return props.isActive && Ne(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject$8(["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "], ["\n background-color: #007af2;\n color: white;\n border-color: #007af2;\n "])));
63257
63268
  });
63258
63269
  var MixedChart = function (_a) {
63259
63270
  var dataInput = _a.dataInput;
@@ -63272,7 +63283,7 @@ var MixedChart = function (_a) {
63272
63283
  : "1 Mês")); })),
63273
63284
  React.createElement(Chart, { type: chartType, data: data, options: options })));
63274
63285
  };
63275
- var templateObject_1$6, templateObject_2$2;
63286
+ var templateObject_1$8, templateObject_2$2;
63276
63287
 
63277
63288
  /*!
63278
63289
  * chartjs-plugin-datalabels v2.2.0
@@ -64622,7 +64633,7 @@ var plugin = {
64622
64633
  }
64623
64634
  };
64624
64635
 
64625
- var __makeTemplateObject$5 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
64636
+ var __makeTemplateObject$7 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
64626
64637
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
64627
64638
  return cooked;
64628
64639
  };
@@ -64636,7 +64647,7 @@ var __spreadArray$3 = (undefined && undefined.__spreadArray) || function (to, fr
64636
64647
  return to.concat(ar || Array.prototype.slice.call(from));
64637
64648
  };
64638
64649
  Chart$1.register.apply(Chart$1, __spreadArray$3([plugin], registerables, false));
64639
- var Title = styled.h2(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject$5(["\n text-align: left;\n margin-bottom: 20px;\n"], ["\n text-align: left;\n margin-bottom: 20px;\n"])));
64650
+ var Title = styled.h2(templateObject_1$7 || (templateObject_1$7 = __makeTemplateObject$7(["\n text-align: left;\n margin-bottom: 20px;\n"], ["\n text-align: left;\n margin-bottom: 20px;\n"])));
64640
64651
  var getWidth = function (windowWidth, chartType) {
64641
64652
  var baseWidth = windowWidth <= 768 ? "98%" : windowWidth <= 1200 ? "92%" : "100%";
64642
64653
  if (chartType === "pie") {
@@ -64644,7 +64655,7 @@ var getWidth = function (windowWidth, chartType) {
64644
64655
  }
64645
64656
  return baseWidth;
64646
64657
  };
64647
- var ChartContainer = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$5(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
64658
+ var ChartContainer = styled.div(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject$7(["\n width: ", ";\n"], ["\n width: ", ";\n"])), function (_a) {
64648
64659
  var windowWidth = _a.windowWidth, chartType = _a.chartType;
64649
64660
  return getWidth(windowWidth, chartType);
64650
64661
  });
@@ -64661,7 +64672,7 @@ var ChartContent = function (_a) {
64661
64672
  React.createElement(MixedChart, { dataInput: dataInput }))),
64662
64673
  React.createElement(CategoriaProtesto, { dataInput: dataInput.protestosCategory || [] })));
64663
64674
  };
64664
- var templateObject_1$5, templateObject_2$1;
64675
+ var templateObject_1$7, templateObject_2$1;
64665
64676
 
64666
64677
  var __assign$5 = (undefined && undefined.__assign) || function () {
64667
64678
  __assign$5 = Object.assign || function(t) {
@@ -64776,6 +64787,11 @@ var useChartData = function (documento) {
64776
64787
  }
64777
64788
  return [];
64778
64789
  }, [ctxProtestos]);
64790
+ React.useEffect(function () {
64791
+ if (liveQueriesIsFinish) {
64792
+ refetch();
64793
+ }
64794
+ }, [liveQueriesIsFinish]);
64779
64795
  React.useEffect(function () {
64780
64796
  if (!isLoading &&
64781
64797
  !queryError &&
@@ -64811,11 +64827,11 @@ var ResumoDeNegativacoesIcon = function (_a) {
64811
64827
  React.createElement("path", { fill: "#fff", d: "M11 12c.283 0 .52-.096.713-.287A.968.968 0 0012 11a.968.968 0 00-.287-.713A.968.968 0 0011 10a.968.968 0 00-.713.287A.968.968 0 0010 11c0 .283.096.52.287.713.192.191.43.287.713.287zm0 4c.283 0 .52-.096.713-.287A.968.968 0 0012 15a.968.968 0 00-.287-.713A.968.968 0 0011 14a.968.968 0 00-.713.287A.968.968 0 0010 15c0 .283.096.52.287.713.192.191.43.287.713.287zm0 4c.283 0 .52-.096.713-.288A.968.968 0 0012 19a.968.968 0 00-.287-.712A.968.968 0 0011 18a.968.968 0 00-.713.288A.968.968 0 0010 19c0 .283.096.52.287.712.192.192.43.288.713.288zm-3 4c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 016 22V8c0-.55.196-1.02.588-1.412A1.926 1.926 0 018 6h10.175a1.975 1.975 0 011.4.575l3.85 3.85a1.975 1.975 0 01.575 1.4V22c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0122 24H8zm0-2h14V12h-3a.968.968 0 01-.712-.287A.968.968 0 0118 11V8H8v14z" })));
64812
64828
  };
64813
64829
 
64814
- var __makeTemplateObject$4 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
64830
+ var __makeTemplateObject$6 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
64815
64831
  if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
64816
64832
  return cooked;
64817
64833
  };
64818
- var Content = styled.div(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject$4(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? "block" : "none"); });
64834
+ var Content$1 = styled.div(templateObject_1$6 || (templateObject_1$6 = __makeTemplateObject$6(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return (props.isOpen ? "block" : "none"); });
64819
64835
  var ChartSystem = function (_a) {
64820
64836
  var _b, _c, _d, _e, _f;
64821
64837
  var documento = _a.documento;
@@ -64836,11 +64852,11 @@ var ChartSystem = function (_a) {
64836
64852
  return (React.createElement(React.Fragment, null,
64837
64853
  React.createElement(Header$1, { title: "Resumo de Negativa\u00E7\u00F5es", subtitle: "Veja a quantidade de ocorr\u00EAncias conforme o documento foi consultado ao longo do tempo", description: errorMessage && (React.createElement(StatusMessage, { type: "error" }, errorMessage)), variant: isLoading ? "loading" : "default", icon: ResumoDeNegativacoesIcon, actions: React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null)) }),
64838
64854
  React.createElement(Result, null,
64839
- React.createElement(Content, { isOpen: isOpen },
64855
+ React.createElement(Content$1, { isOpen: isOpen },
64840
64856
  data && React.createElement(ChartContent, { dataInput: data }),
64841
64857
  !isLoading && (React.createElement(QuantidadeResultados, { data: data, quantidadeProtestos: quantidadeProtestos, quantidadeProcessos: (_f = data === null || data === void 0 ? void 0 : data.pieChartTotalConfig) === null || _f === void 0 ? void 0 : _f.processosJuridicos, quantidadeDividas: quantidadeDividas, quantidadeDividasSerasa: quantidadeSerasa, quantidadeDividasBoaVista: quantidadeBoaVista, quantidadeChequesSemFundos: quantidadeCCFs, ultimaOcorrenciaChequesSemFundos: ultimaOcorrenciaCCF, valorTotalDividasSerasa: valorTotalSerasa, valorTotalDividasBoaVista: valorTotalBoaVista, valorTotalProtestos: valorTotalProtestos, valorTotalDividas: valorTotalDividas, ultimaOcorrenciaProtestos: ultimaOcorrenciaProtestos }))))));
64842
64858
  };
64843
- var templateObject_1$4;
64859
+ var templateObject_1$6;
64844
64860
 
64845
64861
  var ContasBancariasIcon = function (_a) {
64846
64862
  var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.size, size = _c === void 0 ? 30 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.azulCredithub : _d;
@@ -64958,7 +64974,7 @@ var __spreadArray$1 = (undefined && undefined.__spreadArray) || function (to, fr
64958
64974
  return to.concat(ar || Array.prototype.slice.call(from));
64959
64975
  };
64960
64976
  function getResumoDeModalidades(scr) {
64961
- var _a, _b;
64977
+ var _a, _b, _c;
64962
64978
  if (!((_a = scr === null || scr === void 0 ? void 0 : scr.analise) === null || _a === void 0 ? void 0 : _a.detalhamento)) {
64963
64979
  return [];
64964
64980
  }
@@ -64975,26 +64991,25 @@ function getResumoDeModalidades(scr) {
64975
64991
  key,
64976
64992
  Object.entries(groupBy(values, function (_a) {
64977
64993
  var modalidade = _a.modalidade;
64978
- return modalidade.subtitulo;
64994
+ return modalidade === null || modalidade === void 0 ? void 0 : modalidade.subtitulo;
64979
64995
  })).map(function (_a) {
64980
64996
  var _b;
64981
64997
  var subtitulo = _a[0], detalhes = _a[1];
64982
64998
  return ({
64983
64999
  subtitulo: subtitulo,
64984
- variacaoCambial: (_b = detalhes.find(function (e) { return e.variacaoCambial; })) === null || _b === void 0 ? void 0 : _b.variacaoCambial,
65000
+ variacaoCambial: (_b = detalhes === null || detalhes === void 0 ? void 0 : detalhes.find(function (e) { return e === null || e === void 0 ? void 0 : e.variacaoCambial; })) === null || _b === void 0 ? void 0 : _b.variacaoCambial,
64985
65001
  valor: detalhes
64986
- .map(function (detalhe) { return detalhe.vencimentos; })
65002
+ .map(function (detalhe) { return detalhe === null || detalhe === void 0 ? void 0 : detalhe.vencimentos; })
64987
65003
  .flat()
64988
- .reduce(function (a, b) { return a + Number(b.valor); }, 0),
64989
- vencimentos: detalhes.map(function (detalhe) { return detalhe.vencimentos; }).flat(),
65004
+ .reduce(function (a, b) { return a + Number(b === null || b === void 0 ? void 0 : b.valor); }, 0),
65005
+ vencimentos: detalhes === null || detalhes === void 0 ? void 0 : detalhes.map(function (detalhe) { return detalhe === null || detalhe === void 0 ? void 0 : detalhe.vencimentos; }).flat(),
64990
65006
  });
64991
65007
  }),
64992
65008
  ];
64993
65009
  }));
64994
65010
  };
64995
- var getModalidades = compose(agruparPorTitulo, agruparPorTituloESubtitulo);
64996
- var modalidades = getModalidades(scr.analise.detalhamento);
64997
- var resumoDeOperacoes = ((_b = scr.listaDeResumoDasOperacoes) === null || _b === void 0 ? void 0 : _b.filter(function (_a) {
65011
+ var modalidades = agruparPorTituloESubtitulo(agruparPorTitulo((_b = scr === null || scr === void 0 ? void 0 : scr.analise) === null || _b === void 0 ? void 0 : _b.detalhamento));
65012
+ var resumoDeOperacoes = ((_c = scr === null || scr === void 0 ? void 0 : scr.listaDeResumoDasOperacoes) === null || _c === void 0 ? void 0 : _c.filter(function (_a) {
64998
65013
  var modalidade = _a.modalidade;
64999
65014
  return /^(19)/.test(modalidade);
65000
65015
  })) || [];
@@ -65012,16 +65027,16 @@ function getResumoDeModalidades(scr) {
65012
65027
  1999: "Outros",
65013
65028
  };
65014
65029
  var limite = resumoDeOperacoes.flatMap(function (_a) {
65015
- var _b;
65030
+ var _b, _c;
65016
65031
  var modalidade = _a.modalidade, listaDeVencimentos = _a.listaDeVencimentos, variacaoCambial = _a.variacaoCambial;
65017
- var sumSalaries = sum(listaDeVencimentos.map(function (e) { return Number(e.valorVencimento); }));
65018
- return (((_b = modalidades.Limite) === null || _b === void 0 ? void 0 : _b.filter(function (r) { return sumSalaries === r.valor; }).map(function (r) {
65032
+ var sumSalaries = sum(listaDeVencimentos === null || listaDeVencimentos === void 0 ? void 0 : listaDeVencimentos.map(function (e) { return Number(e === null || e === void 0 ? void 0 : e.valorVencimento); }));
65033
+ return (((_c = (_b = modalidades.Limite) === null || _b === void 0 ? void 0 : _b.filter(function (r) { return sumSalaries === (r === null || r === void 0 ? void 0 : r.valor); })) === null || _c === void 0 ? void 0 : _c.map(function (r) {
65019
65034
  var _a;
65020
65035
  return ({
65021
- subtitulo: r.subtitulo || COD_LIMIT[modalidade] || "Indefinido",
65022
- vencimentos: r.vencimentos,
65023
- variacaoCambial: (_a = r.variacaoCambial) !== null && _a !== void 0 ? _a : variacaoCambial,
65024
- valor: r.valor,
65036
+ subtitulo: (r === null || r === void 0 ? void 0 : r.subtitulo) || COD_LIMIT[modalidade] || "Indefinido",
65037
+ vencimentos: r === null || r === void 0 ? void 0 : r.vencimentos,
65038
+ variacaoCambial: (_a = r === null || r === void 0 ? void 0 : r.variacaoCambial) !== null && _a !== void 0 ? _a : variacaoCambial,
65039
+ valor: r === null || r === void 0 ? void 0 : r.valor,
65025
65040
  });
65026
65041
  })) || []);
65027
65042
  });
@@ -65036,7 +65051,7 @@ function getResumoDeModalidades(scr) {
65036
65051
  var modalidade = _a[0], subcategorias = _a[1];
65037
65052
  return __spreadArray$1([
65038
65053
  {
65039
- modalidade: "".concat(modalidade, " (Cambial: ").concat(((_b = subcategorias[0]) === null || _b === void 0 ? void 0 : _b.variacaoCambial) || "Não", ")"),
65054
+ modalidade: "".concat(modalidade, " (Cambial: ").concat(((_b = subcategorias === null || subcategorias === void 0 ? void 0 : subcategorias[0]) === null || _b === void 0 ? void 0 : _b.variacaoCambial) || "Não", ")"),
65040
65055
  vencido: sumVencimentos(subcategorias.flatMap(function (s) { return s.vencimentos; }), "vencido"),
65041
65056
  aVencer: sumVencimentos(subcategorias.flatMap(function (s) { return s.vencimentos; }), "avencer"),
65042
65057
  valor: sum(subcategorias.map(function (s) { return s.valor; })),
@@ -65046,12 +65061,15 @@ function getResumoDeModalidades(scr) {
65046
65061
  modalidade: subcategoria.subtitulo,
65047
65062
  valor: subcategoria.valor,
65048
65063
  }
65049
- ], subcategoria.vencimentos.map(function (vencimento) { return ({
65050
- modalidade: !/^Limite/.test(modalidade)
65051
- ? "Cr\u00E9ditos ".concat(vencimento.descricao.toLowerCase())
65052
- : vencimento.descricao,
65053
- valor: vencimento.valor,
65054
- }); }), true); }), true);
65064
+ ], subcategoria.vencimentos.map(function (vencimento) {
65065
+ var _a;
65066
+ return ({
65067
+ modalidade: !/^Limite/.test(modalidade)
65068
+ ? "Cr\u00E9ditos ".concat((_a = vencimento === null || vencimento === void 0 ? void 0 : vencimento.descricao) === null || _a === void 0 ? void 0 : _a.toLowerCase())
65069
+ : vencimento === null || vencimento === void 0 ? void 0 : vencimento.descricao,
65070
+ valor: vencimento === null || vencimento === void 0 ? void 0 : vencimento.valor,
65071
+ });
65072
+ }), true); }), true);
65055
65073
  });
65056
65074
  }
65057
65075
 
@@ -65062,6 +65080,17 @@ var ScrIcon = function (_a) {
65062
65080
  React.createElement("path", { fill: "#fff", d: "M14 21v.5c0 .133.05.25.15.35.1.1.217.15.35.15h1a.48.48 0 00.35-.15c.1-.1.15-.217.15-.35V21h1c.283 0 .52-.096.712-.288A.968.968 0 0018 20v-3a.968.968 0 00-.288-.712A.968.968 0 0017 16h-3v-1h3c.283 0 .52-.096.712-.287A.968.968 0 0018 14a.968.968 0 00-.288-.713A.968.968 0 0017 13h-1v-.5a.48.48 0 00-.15-.35.48.48 0 00-.35-.15h-1a.48.48 0 00-.35.15.48.48 0 00-.15.35v.5h-1a.968.968 0 00-.713.287A.968.968 0 0012 14v3c0 .283.096.52.287.712.192.192.43.288.713.288h3v1h-3a.968.968 0 00-.713.288A.968.968 0 0012 20c0 .283.096.52.287.712.192.192.43.288.713.288h1zm-5 4c-.55 0-1.02-.196-1.412-.587A1.926 1.926 0 017 23V7c0-.55.196-1.02.588-1.412A1.926 1.926 0 019 5h9l5 5v13c0 .55-.196 1.02-.587 1.413A1.926 1.926 0 0121 25H9zm0-2h12V11h-3a.968.968 0 01-.712-.287A.968.968 0 0117 10V7H9v16z" })));
65063
65081
  };
65064
65082
 
65083
+ var __makeTemplateObject$5 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
65084
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
65085
+ return cooked;
65086
+ };
65087
+ var Content = styled.div(templateObject_1$5 || (templateObject_1$5 = __makeTemplateObject$5(["\n display: ", ";\n"], ["\n display: ", ";\n"])), function (props) { return props.isOpen ? 'block' : 'none'; });
65088
+ var templateObject_1$5;
65089
+
65090
+ var __makeTemplateObject$4 = (undefined && undefined.__makeTemplateObject) || function (cooked, raw) {
65091
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
65092
+ return cooked;
65093
+ };
65065
65094
  var __assign$4 = (undefined && undefined.__assign) || function () {
65066
65095
  __assign$4 = Object.assign || function(t) {
65067
65096
  for (var s, i = 1, n = arguments.length; i < n; i++) {
@@ -65084,12 +65113,17 @@ var __rest$2 = (undefined && undefined.__rest) || function (s, e) {
65084
65113
  }
65085
65114
  return t;
65086
65115
  };
65116
+ var ResumosWrapper = styled.div(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject$4(["\n display: ", ";\n flex-direction: column;\n gap: 20px;\n"], ["\n display: ", ";\n flex-direction: column;\n gap: 20px;\n"])), function (_a) {
65117
+ var _b = _a.isOpen, isOpen = _b === void 0 ? true : _b;
65118
+ return isOpen ? 'flex' : 'none';
65119
+ });
65087
65120
  function ConsultaSCR(_a) {
65088
65121
  var _b, _c, _d, _e;
65089
65122
  var documento = _a.documento;
65090
65123
  var consultasComplementaresContext = React.useContext(ConsultasComplementaresContext);
65091
65124
  var _f = consultasComplementaresContext !== null && consultasComplementaresContext !== void 0 ? consultasComplementaresContext : {}, consultasComplementares = _f.consultasComplementares, setConsultasComplementares = _f.setConsultasComplementares;
65092
65125
  var _g = useQuery("SELECT FROM 'SCR'.'CONSULTA'", { documento: documento }, !!((_b = consultasComplementares === null || consultasComplementares === void 0 ? void 0 : consultasComplementares.scr) === null || _b === void 0 ? void 0 : _b.consultaRealizada)), response = _g.response, isLoading = _g.isLoading, error = _g.error;
65126
+ var _h = useToggle(), isOpen = _h[0], toggleOpen = _h[1];
65093
65127
  var scr = (_d = (_c = response === null || response === void 0 ? void 0 : response.document) === null || _c === void 0 ? void 0 : _c.ns2getResumoDoClienteResponse) === null || _d === void 0 ? void 0 : _d.return;
65094
65128
  var scrRef = React.useRef(null);
65095
65129
  var consultaSCRRealizada = React.useMemo(function () { var _a; return (_a = consultasComplementares === null || consultasComplementares === void 0 ? void 0 : consultasComplementares.scr) === null || _a === void 0 ? void 0 : _a.consultaRealizada; }, [(_e = consultasComplementares === null || consultasComplementares === void 0 ? void 0 : consultasComplementares.scr) === null || _e === void 0 ? void 0 : _e.consultaRealizada]);
@@ -65104,64 +65138,69 @@ function ConsultaSCR(_a) {
65104
65138
  }
65105
65139
  }, [response]);
65106
65140
  return consultaSCRRealizada ? (React.createElement(React.Fragment, null,
65107
- React.createElement(ResumoDoCliente, { scrRef: scrRef, isLoading: isLoading, scr: scr, error: error }),
65108
- !error && (React.createElement(React.Fragment, null,
65141
+ React.createElement("div", null,
65142
+ React.createElement(Header$1, { innerRef: scrRef, title: "SCR", variant: isLoading ? "loading" : error ? "error" : "default", subtitle: "Resumo do Cliente", description: error ? (React.createElement(StatusMessage, { type: "error" }, error.message)) : null, actions: (React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))), icon: ScrIcon }),
65143
+ isOpen && scr && !isLoading && (React.createElement(Result, null,
65144
+ React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
65145
+ React.createElement(AddItemField, { name: "CNPJ da IF Solicitante", value: scr === null || scr === void 0 ? void 0 : scr.cnpjDaIFSolicitante }),
65146
+ React.createElement(AddItemField, { name: "C\u00F3digo do Cliente", value: scr === null || scr === void 0 ? void 0 : scr.codigoDoCliente }),
65147
+ React.createElement(AddItemField, { name: "Coobriga\u00E7\u00E3o Assumida", value: scr === null || scr === void 0 ? void 0 : scr.coobrigacaoAssumida }),
65148
+ React.createElement(AddItemField, { name: "Coobriga\u00E7\u00E3o Recebida", value: scr === null || scr === void 0 ? void 0 : scr.coobrigacaoRecebida }))))),
65149
+ !error && (React.createElement(ResumosWrapper, { isOpen: isOpen },
65109
65150
  React.createElement(FluxosDeVencimentosConsolidados, { isLoading: isLoading, scr: scr, error: error }),
65110
- React.createElement(ResumoList, { title: "SCR",
65111
- subtitle: "Crédito",
65112
- resumos: resumoDeCreditos, isLoading: isLoading, error: error }),
65151
+ React.createElement(ResumoList, { title: "SCR", subtitle: "Crédito", resumos: resumoDeCreditos, isLoading: isLoading, error: error }),
65113
65152
  React.createElement(ResumoModalidades, { isLoading: isLoading, scr: scr, error: error }))))) : null;
65114
65153
  }
65115
- var ResumoDoCliente = function (_a) {
65116
- var scr = _a.scr, scrRef = _a.scrRef, isLoading = _a.isLoading, error = _a.error;
65117
- return (React.createElement("div", null,
65118
- React.createElement(Header$1, { innerRef: scrRef, title: "SCR", variant: isLoading ? "loading" : error ? "error" : "default", subtitle: "Resumo do Cliente", description: error ? (React.createElement(StatusMessage, { type: "error" }, error.message)) : null, icon: ScrIcon }),
65119
- scr && !isLoading && (React.createElement(Result, null,
65120
- React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
65121
- React.createElement(AddItemField, { name: "CNPJ da IF Solicitante", value: scr === null || scr === void 0 ? void 0 : scr.cnpjDaIFSolicitante }),
65122
- React.createElement(AddItemField, { name: "C\u00F3digo do Cliente", value: scr === null || scr === void 0 ? void 0 : scr.codigoDoCliente }),
65123
- React.createElement(AddItemField, { name: "Coobriga\u00E7\u00E3o Assumida", value: scr === null || scr === void 0 ? void 0 : scr.coobrigacaoAssumida }),
65124
- React.createElement(AddItemField, { name: "Coobriga\u00E7\u00E3o Recebida", value: scr === null || scr === void 0 ? void 0 : scr.coobrigacaoRecebida }))))));
65125
- };
65126
65154
  var FluxosDeVencimentosConsolidados = function (_a) {
65127
65155
  var _b;
65128
65156
  var scr = _a.scr, isLoading = _a.isLoading, error = _a.error;
65157
+ var _c = useToggle(false), isOpen = _c[0], toggleOpen = _c[1];
65129
65158
  return (React.createElement("div", null,
65130
- React.createElement(Header$1, { title: "SCR", subtitle: "Fluxo De Vencimentos Consolidados", variant: isLoading ? "loading" : error ? "error" : "default", icon: ScrIcon }),
65131
- scr && !isLoading && (React.createElement(Result, null,
65132
- React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
65133
- React.createElement(AddItemField, { name: "Data-base", value: scr.dataBaseConsultada }),
65134
- React.createElement(AddItemField, { name: "Situa\u00E7\u00E3o de processamento IF's", value: scr.percentualDocumentosProcessados }),
65135
- React.createElement(AddItemField, { name: "Situa\u00E7\u00E3o de processamento Valor", value: scr.percentualVolumeProcessado }),
65136
- React.createElement(AddItemField, { name: "Quantidade de Opera\u00E7\u00F5es", value: scr.quantidadeDeOperacoes }),
65137
- React.createElement(AddItemField, { name: "Quantidade de Institui\u00E7\u00F5es ", value: scr.quantidadeDeInstituicoes }),
65138
- React.createElement(AddItemField, { name: "Quantidade de opera\u00E7\u00F5es amparadas por sub-judice", value: scr.quantidadeOperacoesSubJudice }),
65139
- React.createElement(AddItemField, { name: "Quantidade de opera\u00E7\u00F5es com manifesta\u00E7\u00E3o por discord\u00E2ncia", value: scr.quantidadeOperacoesDiscordancia }),
65140
- React.createElement(AddItemField, { name: "Opera\u00E7\u00F5es com manifesta\u00E7\u00E3o de discord\u00E2ncia", value: scr.responsabilidadeTotalDiscordancia }),
65141
- React.createElement(AddItemField, { name: "Opera\u00E7\u00F5es amparadas por sub-judice", value: scr.responsabilidadeTotalSubJudice }),
65142
- React.createElement(AddItemField, { name: "Risco indireto fornecedor", value: scr.riscoIndiretoVendor }),
65143
- React.createElement(AddItemField, { name: "Data de in\u00EDcio do relacionamento com a IF", value: scr.dataInicioRelacionamento &&
65144
- ((_b = new Date(scr.dataInicioRelacionamento)) === null || _b === void 0 ? void 0 : _b.toLocaleDateString()) }),
65145
- React.createElement(AddItemField, { name: "Tipo cliente", value: scr.tipoDoCliente }))))));
65159
+ React.createElement(Header$1, { title: "SCR", subtitle: "Fluxo De Vencimentos Consolidados", variant: isLoading ? "loading" : error ? "error" : "default", icon: ScrIcon, actions: (React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))) }),
65160
+ scr && !isLoading && (React.createElement(Content, { isOpen: isOpen },
65161
+ React.createElement(Result, null,
65162
+ React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
65163
+ React.createElement(AddItemField, { name: "Data-base", value: scr.dataBaseConsultada }),
65164
+ React.createElement(AddItemField, { name: "Situa\u00E7\u00E3o de processamento IF's", value: scr.percentualDocumentosProcessados }),
65165
+ React.createElement(AddItemField, { name: "Situa\u00E7\u00E3o de processamento Valor", value: scr.percentualVolumeProcessado }),
65166
+ React.createElement(AddItemField, { name: "Quantidade de Opera\u00E7\u00F5es", value: scr.quantidadeDeOperacoes }),
65167
+ React.createElement(AddItemField, { name: "Quantidade de Institui\u00E7\u00F5es ", value: scr.quantidadeDeInstituicoes }),
65168
+ React.createElement(AddItemField, { name: "Quantidade de opera\u00E7\u00F5es amparadas por sub-judice", value: scr.quantidadeOperacoesSubJudice }),
65169
+ React.createElement(AddItemField, { name: "Quantidade de opera\u00E7\u00F5es com manifesta\u00E7\u00E3o por discord\u00E2ncia", value: scr.quantidadeOperacoesDiscordancia }),
65170
+ React.createElement(AddItemField, { name: "Opera\u00E7\u00F5es com manifesta\u00E7\u00E3o de discord\u00E2ncia", value: scr.responsabilidadeTotalDiscordancia }),
65171
+ React.createElement(AddItemField, { name: "Opera\u00E7\u00F5es amparadas por sub-judice", value: scr.responsabilidadeTotalSubJudice }),
65172
+ React.createElement(AddItemField, { name: "Risco indireto fornecedor", value: scr.riscoIndiretoVendor }),
65173
+ React.createElement(AddItemField, { name: "Data de in\u00EDcio do relacionamento com a IF", value: scr.dataInicioRelacionamento &&
65174
+ ((_b = new Date(scr.dataInicioRelacionamento)) === null || _b === void 0 ? void 0 : _b.toLocaleDateString()) }),
65175
+ React.createElement(AddItemField, { name: "Tipo cliente", value: scr.tipoDoCliente })))))));
65146
65176
  };
65147
65177
  var ResumoList = function (_a) {
65148
65178
  var isLoading = _a.isLoading; _a.className; var error = _a.error, resumos = _a.resumos, props = __rest$2(_a, ["isLoading", "className", "error", "resumos"]);
65179
+ var _b = useToggle(false), isOpen = _b[0], toggleOpen = _b[1];
65180
+ if (!isLoading && !resumos.length)
65181
+ return null;
65149
65182
  return (React.createElement("div", null,
65150
- React.createElement(Header$1, __assign$4({}, props, { variant: isLoading ? "loading" : error ? "error" : "default", icon: ScrIcon })),
65151
- !isLoading && (React.createElement(Result, null,
65152
- React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" }, resumos.map(function (item, index) { return (React.createElement(AddItemField, { key: "".concat(item.descricao, "-").concat(index), name: item.descricao, value: item.valor })); }))))));
65183
+ React.createElement(Header$1, __assign$4({}, props, { variant: isLoading ? "loading" : error ? "error" : "default", icon: ScrIcon, actions: (React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))) })),
65184
+ !isLoading && (React.createElement(Content, { isOpen: isOpen },
65185
+ React.createElement(Result, null,
65186
+ React.createElement(ResultContent, { desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" }, resumos.map(function (item, index) { return (React.createElement(AddItemField, { key: "".concat(item.descricao, "-").concat(index), name: item.descricao, value: item.valor })); })))))));
65153
65187
  };
65154
65188
  var ResumoModalidades = function (_a) {
65155
65189
  var scr = _a.scr, isLoading = _a.isLoading, error = _a.error;
65190
+ var _b = useToggle(false), isOpen = _b[0], toggleOpen = _b[1];
65156
65191
  var resumoModalidades = (scr && getResumoDeModalidades(scr)) || [];
65192
+ if (!isLoading && !(resumoModalidades === null || resumoModalidades === void 0 ? void 0 : resumoModalidades.length))
65193
+ return null;
65157
65194
  return (React.createElement("div", null,
65158
- React.createElement(Header$1, { title: "SCR", subtitle: "Modalidade x Data Base", variant: isLoading ? "loading" : error ? "error" : "default", icon: ScrIcon }),
65159
- !isLoading && (React.createElement(Result, null, resumoModalidades.map(function (resumo, index) { return (React.createElement(ResultContent, { key: "".concat(resumo.modalidade, "-").concat(index), desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
65160
- React.createElement(AddItemField, { name: "Modalidade", value: resumo.modalidade }),
65161
- React.createElement(AddItemField, { name: "Vencido", value: resumo.vencido && formatMoney(resumo.vencido) }),
65162
- React.createElement(AddItemField, { name: "A Vencer", value: resumo.aVencer && formatMoney(resumo.aVencer) }),
65163
- React.createElement(AddItemField, { name: "Valor", value: formatMoney(resumo.valor) }))); })))));
65195
+ React.createElement(Header$1, { title: "SCR", subtitle: "Modalidade x Data Base", variant: isLoading ? "loading" : error ? "error" : "default", icon: ScrIcon, actions: (React.createElement(BtnWrapper, { onClick: toggleOpen }, isOpen ? React.createElement(ChevronUp, null) : React.createElement(ChevronDown, null))) }),
65196
+ !isLoading && (React.createElement(Content, { isOpen: isOpen },
65197
+ React.createElement(Result, null, resumoModalidades.map(function (resumo, index) { return (React.createElement(ResultContent, { key: "".concat(resumo.modalidade, "-").concat(index), desktop: "repeat(4, 1fr)", tablet: "repeat(3, 1fr)", mobile: "1fr 1fr" },
65198
+ React.createElement(AddItemField, { name: "Modalidade", value: resumo.modalidade }),
65199
+ React.createElement(AddItemField, { name: "Vencido", value: resumo.vencido && formatMoney(resumo.vencido) }),
65200
+ React.createElement(AddItemField, { name: "A Vencer", value: resumo.aVencer && formatMoney(resumo.aVencer) }),
65201
+ React.createElement(AddItemField, { name: "Valor", value: formatMoney(resumo.valor) }))); }))))));
65164
65202
  };
65203
+ var templateObject_1$4;
65165
65204
 
65166
65205
  var ScoreBoaVistaIcon = function (_a) {
65167
65206
  var _b = _a.className, className = _b === void 0 ? "" : _b, _c = _a.size, size = _c === void 0 ? 30 : _c, _d = _a.circleFill, circleFill = _d === void 0 ? theme.colors.azulCredithub : _d;
@@ -65395,7 +65434,7 @@ var __makeTemplateObject = (undefined && undefined.__makeTemplateObject) || func
65395
65434
  Chart$1.register.apply(Chart$1, registerables);
65396
65435
  var Wrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n gap: 20px;\n"], ["\n display: flex;\n flex-direction: column;\n gap: 20px;\n"])));
65397
65436
  var ConsultaSimples = function (_a) {
65398
- var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
65437
+ var _documento = _a.documento, onClickConsultarProcessoJuridico = _a.onClickConsultarProcessoJuridico, onClickQSA = _a.onClickQSA, apiKey = _a.apiKey, onClose = _a.onClose, hasCredits = _a.hasCredits;
65399
65438
  var documento = _documento.replace(/\D+/g, "");
65400
65439
  return (React.createElement(React.Fragment, null,
65401
65440
  React.createElement(GlobalStyle, null),
@@ -65414,7 +65453,7 @@ var ConsultaSimples = function (_a) {
65414
65453
  React.createElement(Liminar, null),
65415
65454
  React.createElement(Addresses, { apiKey: apiKey }),
65416
65455
  React.createElement(Contacts, null),
65417
- React.createElement(Partners, null)),
65456
+ React.createElement(Partners, { onClickQSA: onClickQSA })),
65418
65457
  React.createElement(Dominios, null),
65419
65458
  React.createElement(BankAccounts, null),
65420
65459
  React.createElement(Queries.GraficosAnaliticos.Request, { data: { documento: documento } },