"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.d = function(exports1, definition) {
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = function(obj, prop) {
        return Object.prototype.hasOwnProperty.call(obj, prop);
    };
})();
(()=>{
    __webpack_require__.r = function(exports1) {
        if ('undefined' != typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    useStyles: ()=>useStyles
});
const external_antd_style_namespaceObject = require("antd-style");
function _tagged_template_literal(strings, raw) {
    if (!raw) raw = strings.slice(0);
    return Object.freeze(Object.defineProperties(strings, {
        raw: {
            value: Object.freeze(raw)
        }
    }));
}
function _templateObject() {
    const data = _tagged_template_literal([
        "\n      pointer-events: none;\n      position: absolute;\n      font-size: 12px;\n      /* background: var(--colorSettings);\n  color: #fff; */\n      padding: 0;\n      line-height: 16px;\n      height: 16px;\n      border-bottom-right-radius: 2px;\n      border-radius: 2px;\n      top: 2px;\n      left: 2px;\n      .title-tag {\n        padding: 0 3px;\n        border-radius: 2px;\n        background: var(--colorSettings);\n        color: #fff;\n        display: block;\n      }\n    "
    ]);
    _templateObject = function() {
        return data;
    };
    return data;
}
function _templateObject1() {
    const data = _tagged_template_literal([
        "\n      & .ant-space-item .anticon {\n        margin: 0;\n      }\n\n      &:hover {\n        display: block !important;\n      }\n    "
    ]);
    _templateObject1 = function() {
        return data;
    };
    return data;
}
const useStyles = (0, external_antd_style_namespaceObject.createStyles)((param)=>{
    let { css } = param;
    return {
        toolbar: {
            position: 'absolute',
            zIndex: 999,
            display: 'none',
            top: 0,
            left: 0,
            right: 0,
            bottom: 0,
            border: '2px solid var(--colorBorderSettingsHover)',
            background: 'var(--colorBgSettingsHover)',
            pointerEvents: 'none',
            '.ant-space-item .anticon': {
                margin: 0
            }
        },
        toolbarTitle: {
            pointerEvents: 'none',
            position: 'absolute',
            fontSize: 12,
            padding: 0,
            lineHeight: '16px',
            height: '16px',
            borderBottomRightRadius: 2,
            borderRadius: 2,
            top: 2,
            left: 2
        },
        toolbarTitleTag: {
            padding: '0 3px',
            borderRadius: 2,
            background: 'var(--colorSettings)',
            color: '#fff',
            display: 'block'
        },
        toolbarIcons: {
            position: 'absolute',
            right: '2px',
            top: '2px',
            lineHeight: '16px',
            pointerEvents: 'all',
            '.ant-space-item': {
                backgroundColor: 'var(--colorSettings)',
                color: '#fff',
                lineHeight: '16px',
                width: '16px',
                paddingLeft: '1px',
                alignSelf: 'stretch'
            }
        },
        titleCss: css(_templateObject()),
        overrideAntdCSS: css(_templateObject1())
    };
});
var __webpack_export_target__ = exports;
for(var __webpack_i__ in __webpack_exports__)__webpack_export_target__[__webpack_i__] = __webpack_exports__[__webpack_i__];
if (__webpack_exports__.__esModule) Object.defineProperty(__webpack_export_target__, '__esModule', {
    value: true
});
