import{__exports as t}from"../../../_virtual/FormFeedback.js";import e 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 a}from"../../../_virtual/utils.js";!function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=c(e),s=c(r),n=c(o),i=a,u=["className","cssModule","valid","tooltip","tag"];function c(t){return t&&t.__esModule?t:{default:t}}function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},d.apply(this,arguments)}function p(t,e){if(null==t)return{};var r,o,a=function(t,e){if(null==t)return{};var r,o,a={},l=Object.keys(t);for(o=0;o<l.length;o++)r=l[o],e.indexOf(r)>=0||(a[r]=t[r]);return a}(t,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(o=0;o<l.length;o++)r=l[o],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(a[r]=t[r])}return a}var f={children:s.default.node,tag:i.tagPropType,className:s.default.string,cssModule:s.default.object,valid:s.default.bool,tooltip:s.default.bool},m={tag:"div",valid:void 0};function v(t){var e=t.className,r=t.cssModule,o=t.valid,a=t.tooltip,s=t.tag,c=p(t,u),f=a?"tooltip":"feedback",m=(0,i.mapToCssModules)((0,n.default)(e,o?"valid-".concat(f):"invalid-".concat(f)),r);return l.default.createElement(s,d({},c,{className:m}))}v.propTypes=f,v.defaultProps=m;var b=v;t.default=b}(t);
//# sourceMappingURL=FormFeedback.js.map
