gbc-kyc-kit 1.6.21 → 1.6.23

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.
@@ -18956,8 +18956,7 @@ function CustomButton({
18956
18956
  id,
18957
18957
  onClick,
18958
18958
  children,
18959
- href,
18960
- key
18959
+ href
18961
18960
  }) {
18962
18961
  return /* @__PURE__ */ jsx("div", {
18963
18962
  className: `button-container m-0 mt-2`,
@@ -18968,21 +18967,19 @@ function CustomButton({
18968
18967
  onClick,
18969
18968
  href,
18970
18969
  children
18971
- }, type)
18970
+ })
18972
18971
  });
18973
18972
  }
18974
18973
  CustomButton.defautProps = {
18975
18974
  type: "button",
18976
18975
  name: "",
18977
- id: "",
18978
- key: ""
18976
+ id: ""
18979
18977
  };
18980
18978
  CustomButton.propTypes = {
18981
18979
  type: propTypes.exports.PropTypes.string,
18982
18980
  name: propTypes.exports.PropTypes.string,
18983
18981
  id: propTypes.exports.PropTypes.string,
18984
18982
  href: propTypes.exports.PropTypes.string,
18985
- key: propTypes.exports.PropTypes.string,
18986
18983
  children: propTypes.exports.PropTypes.node.isRequired
18987
18984
  };
18988
18985
  var __assign = function() {
@@ -22807,7 +22804,7 @@ function unstable_createStyleFunctionSx() {
22807
22804
  const styleFunctionSx = unstable_createStyleFunctionSx();
22808
22805
  styleFunctionSx.filterProps = ["sx"];
22809
22806
  var styleFunctionSx$1 = styleFunctionSx;
22810
- const _excluded$g = ["sx"];
22807
+ const _excluded$h = ["sx"];
22811
22808
  const splitProps = (props) => {
22812
22809
  var _props$theme$unstable, _props$theme;
22813
22810
  const result = {
@@ -22827,7 +22824,7 @@ const splitProps = (props) => {
22827
22824
  function extendSxProp(props) {
22828
22825
  const {
22829
22826
  sx: inSx
22830
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$g);
22827
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$h);
22831
22828
  const {
22832
22829
  systemProps,
22833
22830
  otherProps
@@ -22850,7 +22847,7 @@ function extendSxProp(props) {
22850
22847
  sx: finalSx
22851
22848
  });
22852
22849
  }
22853
- const _excluded$f = ["values", "unit", "step"];
22850
+ const _excluded$g = ["values", "unit", "step"];
22854
22851
  const sortBreakpointsValues = (values2) => {
22855
22852
  const breakpointsAsArray = Object.keys(values2).map((key) => ({
22856
22853
  key,
@@ -22874,7 +22871,7 @@ function createBreakpoints(breakpoints) {
22874
22871
  },
22875
22872
  unit = "px",
22876
22873
  step = 5
22877
- } = breakpoints, other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$f);
22874
+ } = breakpoints, other = _objectWithoutPropertiesLoose$1(breakpoints, _excluded$g);
22878
22875
  const sortedValues = sortBreakpointsValues(values2);
22879
22876
  const keys2 = Object.keys(sortedValues);
22880
22877
  function up(key) {
@@ -22937,14 +22934,14 @@ function createSpacing(spacingInput = 8) {
22937
22934
  spacing.mui = true;
22938
22935
  return spacing;
22939
22936
  }
22940
- const _excluded$e = ["breakpoints", "palette", "spacing", "shape"];
22937
+ const _excluded$f = ["breakpoints", "palette", "spacing", "shape"];
22941
22938
  function createTheme$1(options = {}, ...args) {
22942
22939
  const {
22943
22940
  breakpoints: breakpointsInput = {},
22944
22941
  palette: paletteInput = {},
22945
22942
  spacing: spacingInput,
22946
22943
  shape: shapeInput = {}
22947
- } = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$e);
22944
+ } = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$f);
22948
22945
  const breakpoints = createBreakpoints(breakpointsInput);
22949
22946
  const spacing = createSpacing(spacingInput);
22950
22947
  let muiTheme = deepmerge({
@@ -22984,7 +22981,7 @@ const systemDefaultTheme$1 = createTheme$1();
22984
22981
  function useTheme(defaultTheme2 = systemDefaultTheme$1) {
22985
22982
  return useTheme$1(defaultTheme2);
22986
22983
  }
22987
- const _excluded$d = ["className", "component"];
22984
+ const _excluded$e = ["className", "component"];
22988
22985
  function createBox(options = {}) {
22989
22986
  const {
22990
22987
  defaultTheme: defaultTheme2,
@@ -22999,7 +22996,7 @@ function createBox(options = {}) {
22999
22996
  const _extendSxProp = extendSxProp(inProps), {
23000
22997
  className,
23001
22998
  component = "div"
23002
- } = _extendSxProp, other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$d);
22999
+ } = _extendSxProp, other = _objectWithoutPropertiesLoose$1(_extendSxProp, _excluded$e);
23003
23000
  return /* @__PURE__ */ jsx(BoxRoot, _extends$1({
23004
23001
  as: component,
23005
23002
  ref,
@@ -23009,14 +23006,14 @@ function createBox(options = {}) {
23009
23006
  });
23010
23007
  return Box2;
23011
23008
  }
23012
- const _excluded$c = ["variant"];
23009
+ const _excluded$d = ["variant"];
23013
23010
  function isEmpty$1(string2) {
23014
23011
  return string2.length === 0;
23015
23012
  }
23016
23013
  function propsToClassKey(props) {
23017
23014
  const {
23018
23015
  variant
23019
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$c);
23016
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$d);
23020
23017
  let classKey = variant || "";
23021
23018
  Object.keys(other).sort().forEach((key) => {
23022
23019
  if (key === "color") {
@@ -23027,7 +23024,7 @@ function propsToClassKey(props) {
23027
23024
  });
23028
23025
  return classKey;
23029
23026
  }
23030
- const _excluded$b = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"], _excluded2 = ["theme"], _excluded3 = ["theme"];
23027
+ const _excluded$c = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"], _excluded2 = ["theme"], _excluded3 = ["theme"];
23031
23028
  function isEmpty(obj) {
23032
23029
  return Object.keys(obj).length === 0;
23033
23030
  }
@@ -23099,7 +23096,7 @@ function createStyled2(input = {}) {
23099
23096
  skipVariantsResolver: inputSkipVariantsResolver,
23100
23097
  skipSx: inputSkipSx,
23101
23098
  overridesResolver
23102
- } = inputOptions, options = _objectWithoutPropertiesLoose$1(inputOptions, _excluded$b);
23099
+ } = inputOptions, options = _objectWithoutPropertiesLoose$1(inputOptions, _excluded$c);
23103
23100
  const skipVariantsResolver = inputSkipVariantsResolver !== void 0 ? inputSkipVariantsResolver : componentSlot && componentSlot !== "Root" || false;
23104
23101
  const skipSx = inputSkipSx || false;
23105
23102
  let label;
@@ -23361,7 +23358,7 @@ function createMixins(breakpoints, mixins) {
23361
23358
  }
23362
23359
  }, mixins);
23363
23360
  }
23364
- const _excluded$a = ["mode", "contrastThreshold", "tonalOffset"];
23361
+ const _excluded$b = ["mode", "contrastThreshold", "tonalOffset"];
23365
23362
  const light = {
23366
23363
  text: {
23367
23364
  primary: "rgba(0, 0, 0, 0.87)",
@@ -23515,7 +23512,7 @@ function createPalette(palette) {
23515
23512
  mode = "light",
23516
23513
  contrastThreshold = 3,
23517
23514
  tonalOffset = 0.2
23518
- } = palette, other = _objectWithoutPropertiesLoose$1(palette, _excluded$a);
23515
+ } = palette, other = _objectWithoutPropertiesLoose$1(palette, _excluded$b);
23519
23516
  const primary = palette.primary || getDefaultPrimary(mode);
23520
23517
  const secondary = palette.secondary || getDefaultSecondary(mode);
23521
23518
  const error = palette.error || getDefaultError(mode);
@@ -23592,7 +23589,7 @@ function createPalette(palette) {
23592
23589
  }, modes[mode]), other);
23593
23590
  return paletteOutput;
23594
23591
  }
23595
- const _excluded$9 = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
23592
+ const _excluded$a = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
23596
23593
  function round(value) {
23597
23594
  return Math.round(value * 1e5) / 1e5;
23598
23595
  }
@@ -23611,7 +23608,7 @@ function createTypography(palette, typography) {
23611
23608
  htmlFontSize = 16,
23612
23609
  allVariants,
23613
23610
  pxToRem: pxToRem2
23614
- } = _ref, other = _objectWithoutPropertiesLoose$1(_ref, _excluded$9);
23611
+ } = _ref, other = _objectWithoutPropertiesLoose$1(_ref, _excluded$a);
23615
23612
  const coef = fontSize / 14;
23616
23613
  const pxToRem = pxToRem2 || ((size) => `${size / htmlFontSize * coef}rem`);
23617
23614
  const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$1({
@@ -23665,7 +23662,7 @@ function createShadow(...px) {
23665
23662
  }
23666
23663
  const shadows = ["none", createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
23667
23664
  var shadows$1 = shadows;
23668
- const _excluded$8 = ["duration", "easing", "delay"];
23665
+ const _excluded$9 = ["duration", "easing", "delay"];
23669
23666
  const easing = {
23670
23667
  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
23671
23668
  easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
@@ -23700,7 +23697,7 @@ function createTransitions(inputTransitions) {
23700
23697
  easing: easingOption = mergedEasing.easeInOut,
23701
23698
  delay = 0
23702
23699
  } = options;
23703
- _objectWithoutPropertiesLoose$1(options, _excluded$8);
23700
+ _objectWithoutPropertiesLoose$1(options, _excluded$9);
23704
23701
  return (Array.isArray(props) ? props : [props]).map((animatedProp) => `${animatedProp} ${typeof durationOption === "string" ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === "string" ? delay : formatMs(delay)}`).join(",");
23705
23702
  };
23706
23703
  return _extends$1({
@@ -23722,14 +23719,14 @@ const zIndex = {
23722
23719
  tooltip: 1500
23723
23720
  };
23724
23721
  var zIndex$1 = zIndex;
23725
- const _excluded$7 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
23722
+ const _excluded$8 = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
23726
23723
  function createTheme(options = {}, ...args) {
23727
23724
  const {
23728
23725
  mixins: mixinsInput = {},
23729
23726
  palette: paletteInput = {},
23730
23727
  transitions: transitionsInput = {},
23731
23728
  typography: typographyInput = {}
23732
- } = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$7);
23729
+ } = options, other = _objectWithoutPropertiesLoose$1(options, _excluded$8);
23733
23730
  if (options.vars) {
23734
23731
  throw new Error(formatMuiErrorMessage(18));
23735
23732
  }
@@ -23776,8 +23773,8 @@ function getSvgIconUtilityClass(slot) {
23776
23773
  return generateUtilityClass("MuiSvgIcon", slot);
23777
23774
  }
23778
23775
  generateUtilityClasses("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
23779
- const _excluded$6 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
23780
- const useUtilityClasses$5 = (ownerState) => {
23776
+ const _excluded$7 = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
23777
+ const useUtilityClasses$6 = (ownerState) => {
23781
23778
  const {
23782
23779
  color: color2,
23783
23780
  fontSize,
@@ -23840,7 +23837,7 @@ const SvgIcon = /* @__PURE__ */ React$1.forwardRef(function SvgIcon2(inProps, re
23840
23837
  inheritViewBox = false,
23841
23838
  titleAccess,
23842
23839
  viewBox = "0 0 24 24"
23843
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$6);
23840
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$7);
23844
23841
  const ownerState = _extends$1({}, props, {
23845
23842
  color: color2,
23846
23843
  component,
@@ -23853,7 +23850,7 @@ const SvgIcon = /* @__PURE__ */ React$1.forwardRef(function SvgIcon2(inProps, re
23853
23850
  if (!inheritViewBox) {
23854
23851
  more.viewBox = viewBox;
23855
23852
  }
23856
- const classes = useUtilityClasses$5(ownerState);
23853
+ const classes = useUtilityClasses$6(ownerState);
23857
23854
  return /* @__PURE__ */ jsxs(SvgIconRoot, _extends$1({
23858
23855
  as: component,
23859
23856
  className: clsx(classes.root, className),
@@ -24122,7 +24119,7 @@ function Ripple(props) {
24122
24119
  }
24123
24120
  const touchRippleClasses = generateUtilityClasses("MuiTouchRipple", ["root", "ripple", "rippleVisible", "ripplePulsate", "child", "childLeaving", "childPulsate"]);
24124
24121
  var touchRippleClasses$1 = touchRippleClasses;
24125
- const _excluded$5 = ["center", "classes", "className"];
24122
+ const _excluded$6 = ["center", "classes", "className"];
24126
24123
  let _ = (t2) => t2, _t, _t2, _t3, _t4;
24127
24124
  const DURATION = 550;
24128
24125
  const DELAY_RIPPLE = 80;
@@ -24237,7 +24234,7 @@ const TouchRipple = /* @__PURE__ */ React$1.forwardRef(function TouchRipple2(inP
24237
24234
  center: centerProp = false,
24238
24235
  classes = {},
24239
24236
  className
24240
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$5);
24237
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$6);
24241
24238
  const [ripples, setRipples] = React$1.useState([]);
24242
24239
  const nextKey = React$1.useRef(0);
24243
24240
  const rippleCallback = React$1.useRef(null);
@@ -24401,8 +24398,8 @@ function getButtonBaseUtilityClass(slot) {
24401
24398
  }
24402
24399
  const buttonBaseClasses = generateUtilityClasses("MuiButtonBase", ["root", "disabled", "focusVisible"]);
24403
24400
  var buttonBaseClasses$1 = buttonBaseClasses;
24404
- const _excluded$4 = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
24405
- const useUtilityClasses$4 = (ownerState) => {
24401
+ const _excluded$5 = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
24402
+ const useUtilityClasses$5 = (ownerState) => {
24406
24403
  const {
24407
24404
  disabled,
24408
24405
  focusVisible,
@@ -24487,7 +24484,7 @@ const ButtonBase = /* @__PURE__ */ React$1.forwardRef(function ButtonBase2(inPro
24487
24484
  TouchRippleProps,
24488
24485
  touchRippleRef,
24489
24486
  type
24490
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$4);
24487
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$5);
24491
24488
  const buttonRef = React$1.useRef(null);
24492
24489
  const rippleRef = React$1.useRef(null);
24493
24490
  const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
@@ -24634,7 +24631,7 @@ const ButtonBase = /* @__PURE__ */ React$1.forwardRef(function ButtonBase2(inPro
24634
24631
  tabIndex,
24635
24632
  focusVisible
24636
24633
  });
24637
- const classes = useUtilityClasses$4(ownerState);
24634
+ const classes = useUtilityClasses$5(ownerState);
24638
24635
  return /* @__PURE__ */ jsxs(ButtonBaseRoot, _extends$1({
24639
24636
  as: ComponentProp,
24640
24637
  className: clsx(classes.root, className),
@@ -24667,8 +24664,8 @@ function getTypographyUtilityClass(slot) {
24667
24664
  return generateUtilityClass("MuiTypography", slot);
24668
24665
  }
24669
24666
  generateUtilityClasses("MuiTypography", ["root", "h1", "h2", "h3", "h4", "h5", "h6", "subtitle1", "subtitle2", "body1", "body2", "inherit", "button", "caption", "overline", "alignLeft", "alignRight", "alignCenter", "alignJustify", "noWrap", "gutterBottom", "paragraph"]);
24670
- const _excluded$3 = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
24671
- const useUtilityClasses$3 = (ownerState) => {
24667
+ const _excluded$4 = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
24668
+ const useUtilityClasses$4 = (ownerState) => {
24672
24669
  const {
24673
24670
  align,
24674
24671
  gutterBottom,
@@ -24748,7 +24745,7 @@ const Typography = /* @__PURE__ */ React$1.forwardRef(function Typography2(inPro
24748
24745
  paragraph = false,
24749
24746
  variant = "body1",
24750
24747
  variantMapping = defaultVariantMapping
24751
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$3);
24748
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$4);
24752
24749
  const ownerState = _extends$1({}, props, {
24753
24750
  align,
24754
24751
  color: color2,
@@ -24761,7 +24758,7 @@ const Typography = /* @__PURE__ */ React$1.forwardRef(function Typography2(inPro
24761
24758
  variantMapping
24762
24759
  });
24763
24760
  const Component = component || (paragraph ? "p" : variantMapping[variant] || defaultVariantMapping[variant]) || "span";
24764
- const classes = useUtilityClasses$3(ownerState);
24761
+ const classes = useUtilityClasses$4(ownerState);
24765
24762
  return /* @__PURE__ */ jsx(TypographyRoot, _extends$1({
24766
24763
  as: Component,
24767
24764
  ref,
@@ -24801,8 +24798,8 @@ function getSwitchBaseUtilityClass(slot) {
24801
24798
  return generateUtilityClass("PrivateSwitchBase", slot);
24802
24799
  }
24803
24800
  generateUtilityClasses("PrivateSwitchBase", ["root", "checked", "disabled", "input", "edgeStart", "edgeEnd"]);
24804
- const _excluded$2 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
24805
- const useUtilityClasses$2 = (ownerState) => {
24801
+ const _excluded$3 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
24802
+ const useUtilityClasses$3 = (ownerState) => {
24806
24803
  const {
24807
24804
  classes,
24808
24805
  checked,
@@ -24860,7 +24857,7 @@ const SwitchBase = /* @__PURE__ */ React$1.forwardRef(function SwitchBase2(props
24860
24857
  tabIndex,
24861
24858
  type,
24862
24859
  value
24863
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$2);
24860
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$3);
24864
24861
  const [checked, setCheckedState] = useControlled({
24865
24862
  controlled: checkedProp,
24866
24863
  default: Boolean(defaultChecked),
@@ -24907,7 +24904,7 @@ const SwitchBase = /* @__PURE__ */ React$1.forwardRef(function SwitchBase2(props
24907
24904
  disableFocusRipple,
24908
24905
  edge
24909
24906
  });
24910
- const classes = useUtilityClasses$2(ownerState);
24907
+ const classes = useUtilityClasses$3(ownerState);
24911
24908
  return /* @__PURE__ */ jsxs(SwitchBaseRoot, _extends$1({
24912
24909
  component: "span",
24913
24910
  className: clsx(classes.root, className),
@@ -24956,8 +24953,8 @@ function getCheckboxUtilityClass(slot) {
24956
24953
  }
24957
24954
  const checkboxClasses = generateUtilityClasses("MuiCheckbox", ["root", "checked", "disabled", "indeterminate", "colorPrimary", "colorSecondary"]);
24958
24955
  var checkboxClasses$1 = checkboxClasses;
24959
- const _excluded$1 = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
24960
- const useUtilityClasses$1 = (ownerState) => {
24956
+ const _excluded$2 = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
24957
+ const useUtilityClasses$2 = (ownerState) => {
24961
24958
  const {
24962
24959
  classes,
24963
24960
  indeterminate,
@@ -25017,7 +25014,7 @@ const Checkbox = /* @__PURE__ */ React$1.forwardRef(function Checkbox2(inProps,
25017
25014
  inputProps,
25018
25015
  size = "medium",
25019
25016
  className
25020
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1);
25017
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$2);
25021
25018
  const icon = indeterminate ? indeterminateIconProp : iconProp;
25022
25019
  const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
25023
25020
  const ownerState = _extends$1({}, props, {
@@ -25025,7 +25022,7 @@ const Checkbox = /* @__PURE__ */ React$1.forwardRef(function Checkbox2(inProps,
25025
25022
  indeterminate,
25026
25023
  size
25027
25024
  });
25028
- const classes = useUtilityClasses$1(ownerState);
25025
+ const classes = useUtilityClasses$2(ownerState);
25029
25026
  return /* @__PURE__ */ jsx(CheckboxRoot, _extends$1({
25030
25027
  type: "checkbox",
25031
25028
  inputProps: _extends$1({
@@ -25050,8 +25047,8 @@ function getFormControlLabelUtilityClasses(slot) {
25050
25047
  }
25051
25048
  const formControlLabelClasses = generateUtilityClasses("MuiFormControlLabel", ["root", "labelPlacementStart", "labelPlacementTop", "labelPlacementBottom", "disabled", "label", "error"]);
25052
25049
  var formControlLabelClasses$1 = formControlLabelClasses;
25053
- const _excluded = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
25054
- const useUtilityClasses = (ownerState) => {
25050
+ const _excluded$1 = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "slotProps", "value"];
25051
+ const useUtilityClasses$1 = (ownerState) => {
25055
25052
  const {
25056
25053
  classes,
25057
25054
  disabled,
@@ -25121,7 +25118,7 @@ const FormControlLabel = /* @__PURE__ */ React$1.forwardRef(function FormControl
25121
25118
  label: labelProp,
25122
25119
  labelPlacement = "end",
25123
25120
  slotProps = {}
25124
- } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded);
25121
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded$1);
25125
25122
  const muiFormControl = useFormControl();
25126
25123
  let disabled = disabledProp;
25127
25124
  if (typeof disabled === "undefined" && typeof control.props.disabled !== "undefined") {
@@ -25148,7 +25145,7 @@ const FormControlLabel = /* @__PURE__ */ React$1.forwardRef(function FormControl
25148
25145
  labelPlacement,
25149
25146
  error: fcs.error
25150
25147
  });
25151
- const classes = useUtilityClasses(ownerState);
25148
+ const classes = useUtilityClasses$1(ownerState);
25152
25149
  const typographySlotProps = (_slotProps$typography = slotProps.typography) != null ? _slotProps$typography : componentsProps.typography;
25153
25150
  let label = labelProp;
25154
25151
  if (label != null && label.type !== Typography$1 && !disableTypography) {
@@ -25168,6 +25165,67 @@ const FormControlLabel = /* @__PURE__ */ React$1.forwardRef(function FormControl
25168
25165
  }));
25169
25166
  });
25170
25167
  var FormControlLabel$1 = FormControlLabel;
25168
+ function getFormGroupUtilityClass(slot) {
25169
+ return generateUtilityClass("MuiFormGroup", slot);
25170
+ }
25171
+ generateUtilityClasses("MuiFormGroup", ["root", "row", "error"]);
25172
+ const _excluded = ["className", "row"];
25173
+ const useUtilityClasses = (ownerState) => {
25174
+ const {
25175
+ classes,
25176
+ row,
25177
+ error
25178
+ } = ownerState;
25179
+ const slots = {
25180
+ root: ["root", row && "row", error && "error"]
25181
+ };
25182
+ return composeClasses(slots, getFormGroupUtilityClass, classes);
25183
+ };
25184
+ const FormGroupRoot = styled$1("div", {
25185
+ name: "MuiFormGroup",
25186
+ slot: "Root",
25187
+ overridesResolver: (props, styles2) => {
25188
+ const {
25189
+ ownerState
25190
+ } = props;
25191
+ return [styles2.root, ownerState.row && styles2.row];
25192
+ }
25193
+ })(({
25194
+ ownerState
25195
+ }) => _extends$1({
25196
+ display: "flex",
25197
+ flexDirection: "column",
25198
+ flexWrap: "wrap"
25199
+ }, ownerState.row && {
25200
+ flexDirection: "row"
25201
+ }));
25202
+ const FormGroup = /* @__PURE__ */ React$1.forwardRef(function FormGroup2(inProps, ref) {
25203
+ const props = useThemeProps({
25204
+ props: inProps,
25205
+ name: "MuiFormGroup"
25206
+ });
25207
+ const {
25208
+ className,
25209
+ row = false
25210
+ } = props, other = _objectWithoutPropertiesLoose$1(props, _excluded);
25211
+ const muiFormControl = useFormControl();
25212
+ const fcs = formControlState({
25213
+ props,
25214
+ muiFormControl,
25215
+ states: ["error"]
25216
+ });
25217
+ const ownerState = _extends$1({}, props, {
25218
+ row,
25219
+ error: fcs.error
25220
+ });
25221
+ const classes = useUtilityClasses(ownerState);
25222
+ return /* @__PURE__ */ jsx(FormGroupRoot, _extends$1({
25223
+ className: clsx(classes.root, className),
25224
+ ownerState,
25225
+ ref
25226
+ }, other));
25227
+ });
25228
+ var FormGroup$1 = FormGroup;
25171
25229
  function StatusComponent({
25172
25230
  title,
25173
25231
  status,
@@ -25223,11 +25281,11 @@ function StatusComponent({
25223
25281
  className: "my-2 col-6 warning-button",
25224
25282
  onClick: () => clearState(),
25225
25283
  children: "Volver"
25226
- }, "back"), complementarySearch && Object.keys(lists).length > 0 && /* @__PURE__ */ jsx(CustomButton, {
25284
+ }), complementarySearch && Object.keys(lists).length > 0 && /* @__PURE__ */ jsx(CustomButton, {
25227
25285
  className: "my-1 col-6",
25228
25286
  onClick: complementarySearch,
25229
25287
  children: "Filtrar por"
25230
- }, "filter")]
25288
+ })]
25231
25289
  }) : null]
25232
25290
  })
25233
25291
  });
@@ -25503,6 +25561,34 @@ function UploadDocument({
25503
25561
  })
25504
25562
  }, id);
25505
25563
  }
25564
+ function CustomCheckbox({
25565
+ isActive,
25566
+ label,
25567
+ onChange
25568
+ }) {
25569
+ return /* @__PURE__ */ jsx(Box$1, {
25570
+ children: /* @__PURE__ */ jsx(FormGroup$1, {
25571
+ className: "checkbox",
25572
+ children: /* @__PURE__ */ jsx(FormControlLabel$1, {
25573
+ control: /* @__PURE__ */ jsx(Checkbox$1, {
25574
+ checked: isActive,
25575
+ color: "primary",
25576
+ onChange
25577
+ }),
25578
+ label
25579
+ })
25580
+ })
25581
+ }, label);
25582
+ }
25583
+ var CloudUploadIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
25584
+ d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"
25585
+ }), "CloudUpload");
25586
+ var CompareArrowsIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
25587
+ d: "M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"
25588
+ }), "CompareArrows");
25589
+ var ImageNotSupportedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
25590
+ d: "m21.9 21.9-8.49-8.49-9.82-9.82L2.1 2.1.69 3.51 3 5.83V19c0 1.1.9 2 2 2h13.17l2.31 2.31 1.42-1.41zM5 18l3.5-4.5 2.5 3.01L12.17 15l3 3H5zm16 .17L5.83 3H19c1.1 0 2 .9 2 2v13.17z"
25591
+ }), "ImageNotSupported");
25506
25592
  function DocumentReader({
25507
25593
  mode,
25508
25594
  dataDocument,
@@ -25525,11 +25611,6 @@ function DocumentReader({
25525
25611
  setDualMode,
25526
25612
  dualMode
25527
25613
  } = DocumentReaderController(dataDocument, clientId, authorize, inProduction, countryCodeAllowed);
25528
- const label = {
25529
- inputProps: {
25530
- "aria-label": "Checkbox demo"
25531
- }
25532
- };
25533
25614
  return /* @__PURE__ */ jsxs("div", {
25534
25615
  className: `kit-gbc ${mode}`,
25535
25616
  children: [/* @__PURE__ */ jsx(k$2, {
@@ -25607,11 +25688,10 @@ function DocumentReader({
25607
25688
  }), /* @__PURE__ */ jsxs(Box$1, {
25608
25689
  width: "100%",
25609
25690
  children: [!status && /* @__PURE__ */ jsxs(Box$1, {
25610
- children: [/* @__PURE__ */ jsx(FormControlLabel$1, {
25611
- control: /* @__PURE__ */ jsx(Checkbox$1, {
25612
- defaultChecked: true
25613
- }, label),
25614
- label: "Label"
25691
+ children: [/* @__PURE__ */ jsx(CustomCheckbox, {
25692
+ label: "Cargar reverso del documento",
25693
+ isActive: dualMode,
25694
+ onChange: () => setDualMode(!dualMode)
25615
25695
  }), !dualMode && !base64.secondImage && base64.firstImage && lib$1(status) && /* @__PURE__ */ jsx(CustomButton, {
25616
25696
  type: "submit",
25617
25697
  children: "Procesar"
@@ -25754,15 +25834,6 @@ const FaceMatchController = (dataFaceMatch, clientId, authorize, inProduction, p
25754
25834
  };
25755
25835
  };
25756
25836
  var dummyImage = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBw0NDQ0NDQ0ICA0IDQ0NDQ0NDQ8IDQ0NFREWFhURExMYHSggGBolGxMTITEhJSkrLi4uFx8zODMsNygtLisBCgoKDQ0NDg0PDy0ZFRk3KzctKysrKy03LTctKzcrKystKystKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAPYAzQMBIgACEQEDEQH/xAAZAAEBAQEBAQAAAAAAAAAAAAAAAQMEAgf/xAAqEAEBAAECBQQCAgIDAAAAAAAAAQIDERIhQWFxBDFRgZGhYrEi8BMUQv/EABcBAQEBAQAAAAAAAAAAAAAAAAABAgP/xAAWEQEBAQAAAAAAAAAAAAAAAAAAARH/2gAMAwEAAhEDEQA/APqYDq5gAAAAAIAAioAAACAAgAACKgAABEWA1AAAAAABAAecspPeyAoxvqJ0lv6eL6i/GM/ZhrpHL/z5fx/C/wDYy/iuGugYT1HzPxWmOrjeu3nkmD2hQAAEAARUAIUgNgAAAAAQGHqNT/zOvuBq6/TH8ue37BpAAQQAAAe8NSzvPh045SzeON608+G/2liutDf9iKAAgAIsRQbAAAAIAJldpb8OG3e7/Lq9Tf8AHzXKsSgCoAgAAAAAAN/T5ctvhq5dG7ZTvydSVqCAgIqAKhAbgAAAgAOf1XT7YNvVe88Vi1EoAIIUAAAAAQAXG855jscUdiVYAiKAAECA3AAQoAioDn9V0+2Lf1PT7YNRKAggAAAACAAAs955dbkw955jrSrBARQEAWIQHQioAACAA49TLe2/7s8g0ygAAAAACFAAAHRpZbzxyc7f0/tfKVY0ARRFQAgQG4ACAAADj1MdsrHh16unxdrHLnjZyrURABAABKqAAAAAOnSm0882eGl1v4bJVgCIoAARCA6AQAAAEAYepntfpu86mO8s+QrjAaZAQAAAABcJvZPlGuhj1+hWwDKoAACAECA6EKCgAggAIqA59fDa79L/AGydmU3m3y5M8drtViIgKgAAACyb8vl04zabfDxo4bc771olagiogAAIUAIEBuAACAAgAADPWxll7c2jPWu2N/AOUBpkAAaaOMt59GbTQvPzBW4DKoAACAAAhAgOgABAAqDznnJ7366g9Fv058te9OX7rLK2++9XE105a2M7+GOrqcXaRmLhoAIAAEu3P4AG01p13n7e5lL7VzCYuuoc+OpZ38tMdWXsmK9gAIqAERYDoRUtAec85Pdlqa/TH8sLftcTWuetb7f4z9sgUEVBAAAAAAAABFQAEB6xzsa46svvy/pgGK6hz452d42xylZxVWIQVvnlJzrl1NS5dp8Jnlbd68rIzoAqAAIAAAAAAAAACAAIAAABL9ADbDU35X3/ALe45mmGp880salQBWQABAAAAAAAAAAQAAQAAAAAAAAGvBexwXsApwXsnBeygJwXscF7ABwXscPgAOG9k4b2UBOG9jhvYAOG9jhvYAOHwcN7ACcHg4PAAcN7HDewAcPg4fAJonD4OHwAHD4OHwoaP//Z";
25757
- var CloudUploadIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
25758
- d: "M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96zM14 13v4h-4v-4H7l5-5 5 5h-3z"
25759
- }), "CloudUpload");
25760
- var CompareArrowsIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
25761
- d: "M9.01 14H2v2h7.01v3L13 15l-3.99-4v3zm5.98-1v-3H22V8h-7.01V5L11 9l3.99 4z"
25762
- }), "CompareArrows");
25763
- var ImageNotSupportedIcon = createSvgIcon(/* @__PURE__ */ jsx("path", {
25764
- d: "m21.9 21.9-8.49-8.49-9.82-9.82L2.1 2.1.69 3.51 3 5.83V19c0 1.1.9 2 2 2h13.17l2.31 2.31 1.42-1.41zM5 18l3.5-4.5 2.5 3.01L12.17 15l3 3H5zm16 .17L5.83 3H19c1.1 0 2 .9 2 2v13.17z"
25765
- }), "ImageNotSupported");
25766
25837
  var reactWebcam = { exports: {} };
25767
25838
  (function(module, exports) {
25768
25839
  (function webpackUniversalModuleDefinition(root2, factory) {