import{__exports as t}from"../../../_virtual/Row.js";import e from"react";import{p as r}from"../../prop-types/index.js";import{c as s}from"../../classnames/index.js";import"./utils.js";import{__exports as o}from"../../../_virtual/utils.js";!function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i(e),l=i(r),n=i(s),u=o,c=["className","cssModule","noGutters","tag","widths"];function i(t){return t&&t.__esModule?t:{default:t}}function f(){return f=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(t[s]=r[s])}return t},f.apply(this,arguments)}function d(t,e){if(null==t)return{};var r,s,o=function(t,e){if(null==t)return{};var r,s,o={},a=Object.keys(t);for(s=0;s<a.length;s++)r=a[s],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(s=0;s<a.length;s++)r=a[s],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}var p=l.default.oneOfType([l.default.number,l.default.string]),m={tag:u.tagPropType,noGutters:(0,u.deprecated)(l.default.bool,"Please use Bootstrap 5 gutter utility classes. https://getbootstrap.com/docs/5.0/layout/gutters/"),className:l.default.string,cssModule:l.default.object,xs:p,sm:p,md:p,lg:p,xl:p,xxl:p,widths:l.default.array},g={tag:"div",widths:["xs","sm","md","lg","xl","xxl"]};function v(t){var e=t.className,r=t.cssModule,s=t.noGutters,o=t.tag,l=t.widths,i=d(t,c),p=[];l.forEach((function(e,r){var s=t[e];if(delete i[e],s){var o=!r;p.push(o?"row-cols-".concat(s):"row-cols-".concat(e,"-").concat(s))}}));var m=(0,u.mapToCssModules)((0,n.default)(e,s?"gx-0":null,"row",p),r);return a.default.createElement(o,f({},i,{className:m}))}v.propTypes=m,v.defaultProps=g;var y=v;t.default=y}(t);
//# sourceMappingURL=Row.js.map
