import{__exports as e}from"../../../_virtual/FormGroup.js";import t from"react";import{p as r}from"../../prop-types/index.js";import{c as o}from"../../classnames/index.js";import"./utils.js";import{__exports as l}from"../../../_virtual/utils.js";!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=u(t),s=u(r),n=u(o),i=l,f=["className","cssModule","row","disabled","check","inline","floating","tag","switch"];function u(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},c.apply(this,arguments)}function d(e,t){if(null==e)return{};var r,o,l=function(e,t){if(null==e)return{};var r,o,l={},a=Object.keys(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||(l[r]=e[r]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)r=a[o],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(l[r]=e[r])}return l}var p={children:s.default.node,row:s.default.bool,check:s.default.bool,switch:s.default.bool,inline:s.default.bool,floating:s.default.bool,disabled:s.default.bool,tag:i.tagPropType,className:s.default.string,cssModule:s.default.object};function m(e){var t=e.className,r=e.cssModule,o=e.row,l=e.disabled,s=e.check,u=e.inline,p=e.floating,m=e.tag,b=e.switch,g=d(e,f),h=s||b,v=(0,i.mapToCssModules)((0,n.default)(t,!!o&&"row",h?"form-check":"mb-3",!!b&&"form-switch",!(!h||!u)&&"form-check-inline",!(!h||!l)&&"disabled",p&&"form-floating"),r);return"fieldset"===m&&(g.disabled=l),a.default.createElement(m,c({},g,{className:v}))}m.propTypes=p,m.defaultProps={tag:"div"};var b=m;e.default=b}(e);
//# sourceMappingURL=FormGroup.js.map
