function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
import { createStyleHook } from "../../theme/utils/genStyleHook";
var DragContentStyleFunc = function DragContentStyleFunc(prefix) {
  var prepareComponentToken = function prepareComponentToken(token) {
    return {
      fontWeight: 400
    };
  };
  return createStyleHook(prefix, function (token) {
    var prefixCls = ".".concat(prefix);
    return [_defineProperty({}, prefixCls, {
      position: 'relative',
      '.spec-grid-dragbar-left-horizontal': {
        height: '100%',
        width: '5px',
        position: 'absolute',
        left: 0,
        top: 0,
        cursor: ' col-resize'
      },
      '.spec-grid-dragbar-right-horizontal': {
        height: '100%',
        width: '5px',
        position: 'absolute',
        right: 0,
        top: 0,
        cursor: ' col-resize'
      },
      '.spec-grid-dragbar-up-vertical': {
        height: '5px',
        width: '100%',
        position: 'absolute',
        left: 0,
        top: 0,
        cursor: ' col-resize'
      },
      '.spec-grid-dragbar-down-vertical': {
        height: '5px',
        width: '100%',
        position: 'absolute',
        left: 0,
        bottom: 0,
        cursor: ' col-resize'
      }
    })];
  }, prepareComponentToken // 当前组件扩展的变量
  );
};
export default DragContentStyleFunc;