import t from "../../../@babel/runtime/helpers/esm/typeof.mjs";
import n from "../../../@babel/runtime/helpers/esm/objectSpread2.mjs";
import { warningOnce as i } from "../../../rc-util/es/warning.mjs";
function s() {
  var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
    inkBar: !0,
    tabPane: !1
  }, e;
  return a === !1 ? e = {
    inkBar: !1,
    tabPane: !1
  } : a === !0 ? e = {
    inkBar: !0,
    tabPane: !1
  } : e = n({
    inkBar: !0
  }, t(a) === "object" ? a : {}), e.tabPaneMotion && e.tabPane === void 0 && (e.tabPane = !0), !e.tabPaneMotion && e.tabPane && (process.env.NODE_ENV !== "production" && i(!1, "`animated.tabPane` is true but `animated.tabPaneMotion` is not provided. Motion will not work."), e.tabPane = !1), e;
}
export {
  s as default
};
