function CSSStringRulesToObject(CSSStringRules) {
  var CSSProperties = "".concat(CSSStringRules, ";").split(';');
  var styleObject = {};
  CSSProperties.forEach(function (value) {
    var property = value;
    var propertyIndex = property.indexOf(':') + 1;
    var propertyName = property.substring(0, propertyIndex - 1);

    if (propertyName) {
      styleObject[(0,_utilities_index__WEBPACK_IMPORTED_MODULE_0__.removeSpacesChar)((0,_utilities_index__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(propertyName))] = (0,_utilities_index__WEBPACK_IMPORTED_MODULE_0__.trimString)(property.substring(propertyIndex, property.length));
    }
  });
  return styleObject;
}
/**
 * Converts CSS string rules to object.
 */
Converts CSS string rules to object.
Converts CSS string rules to object .
function CSSStringRulesToObject(CSSStringRules) {
  var CSSProperties = "".concat(CSSStringRules, ";").split(';');
  var styleObject = {};
  CSSProperties.forEach(function (value) {
    var property = value;
    var propertyIndex = property.indexOf(':') + 1;
    var propertyName = property.substring(0, propertyIndex - 1);
    if (propertyName) {
      styleObject[(0,_utilities_index__WEBPACK_IMPORTED_MODULE_0__.removeSpacesChar)((0,_utilities_index__WEBPACK_IMPORTED_MODULE_0__.toCamelCase)(propertyName))] = (0,_utilities_index__WEBPACK_IMPORTED_MODULE_0__.trimString)(property.substring(propertyIndex, property.length));
    }
  });
  return styleObject;
}
function CSSStringRulesToObject ( CSSStringRules ) { var CSSProperties = "" . concat ( CSSStringRules , ";" ) . split ( ';' ) ; var styleObject = { } ; CSSProperties . forEach ( function ( value ) { var property = value ; var propertyIndex = property . indexOf ( ':' ) + 1 ; var propertyName = property . substring ( 0 , propertyIndex - 1 ) ; if ( propertyName ) { styleObject [ ( 0 , _utilities_index__WEBPACK_IMPORTED_MODULE_0__ . removeSpacesChar ) ( ( 0 , _utilities_index__WEBPACK_IMPORTED_MODULE_0__ . toCamelCase ) ( propertyName ) ) ] = ( 0 , _utilities_index__WEBPACK_IMPORTED_MODULE_0__ . trimString ) ( property . substring ( propertyIndex , property . length ) ) ; } } ) ; return styleObject ; }
Converts CSS string rules to object.
Converts CSS string rules to object .