"use strict";

var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _default;

var _concat = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/concat"));

var warned = {};

function _default(valid, component, message) {
  if (process.env.NODE_ENV !== 'production' && valid && !warned[message]) {
    var _context;

    warned[message] = true;
    console.warn((0, _concat.default)(_context = "Warning: [kd-ui]-".concat(component, ": ")).call(_context, message));
  }
}