"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "MinimizeMaximize", {
    enumerable: true,
    get: function() {
        return MinimizeMaximize;
    }
});
const _react = /*#__PURE__*/ _interop_require_wildcard(require("react"));
function _getRequireWildcardCache(nodeInterop) {
    if (typeof WeakMap !== "function") return null;
    var cacheBabelInterop = new WeakMap();
    var cacheNodeInterop = new WeakMap();
    return (_getRequireWildcardCache = function(nodeInterop) {
        return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
    })(nodeInterop);
}
function _interop_require_wildcard(obj, nodeInterop) {
    if (!nodeInterop && obj && obj.__esModule) {
        return obj;
    }
    if (obj === null || typeof obj !== "object" && typeof obj !== "function") {
        return {
            default: obj
        };
    }
    var cache = _getRequireWildcardCache(nodeInterop);
    if (cache && cache.has(obj)) {
        return cache.get(obj);
    }
    var newObj = {
        __proto__: null
    };
    var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
    for(var key in obj){
        if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
            var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null;
            if (desc && (desc.get || desc.set)) {
                Object.defineProperty(newObj, key, desc);
            } else {
                newObj[key] = obj[key];
            }
        }
    }
    newObj.default = obj;
    if (cache) {
        cache.set(obj, newObj);
    }
    return newObj;
}
const baseClass = 'minimize-maximize';
const MinimizeMaximize = ({ className, isMinimized })=>{
    const classes = [
        baseClass,
        isMinimized ? `${baseClass}--minimized` : `${baseClass}--maximized`,
        className
    ].filter(Boolean).join(' ');
    return /*#__PURE__*/ _react.createElement("svg", {
        className: classes,
        height: "24",
        stroke: "currentColor",
        strokeWidth: "2",
        viewBox: "0 0 24 24",
        width: "24",
        xmlns: "http://www.w3.org/2000/svg"
    }, isMinimized ? /*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement("path", {
        d: "M8 3H5a2 2 0 0 0-2 2v3"
    }), /*#__PURE__*/ _react.createElement("path", {
        d: "M21 8V5a2 2 0 0 0-2-2h-3"
    }), /*#__PURE__*/ _react.createElement("path", {
        d: "M3 16v3a2 2 0 0 0 2 2h3"
    }), /*#__PURE__*/ _react.createElement("path", {
        d: "M16 21h3a2 2 0 0 0 2-2v-3"
    })) : /*#__PURE__*/ _react.createElement(_react.Fragment, null, /*#__PURE__*/ _react.createElement("path", {
        d: "M8 3v3a2 2 0 0 1-2 2H3"
    }), /*#__PURE__*/ _react.createElement("path", {
        d: "M21 8h-3a2 2 0 0 1-2-2V3"
    }), /*#__PURE__*/ _react.createElement("path", {
        d: "M3 16h3a2 2 0 0 1 2 2v3"
    }), /*#__PURE__*/ _react.createElement("path", {
        d: "M16 21v-3a2 2 0 0 1 2-2h3"
    })));
};

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pY29ucy9NaW5pbWl6ZU1heGltaXplL2luZGV4LnRzeCJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBSZWFjdCBmcm9tICdyZWFjdCdcblxuY29uc3QgYmFzZUNsYXNzID0gJ21pbmltaXplLW1heGltaXplJ1xuXG50eXBlIFByb3BzID0ge1xuICBjbGFzc05hbWU/OiBzdHJpbmdcbiAgaXNNaW5pbWl6ZWQ/OiBib29sZWFuXG59XG5leHBvcnQgY29uc3QgTWluaW1pemVNYXhpbWl6ZTogUmVhY3QuRkM8UHJvcHM+ID0gKHsgY2xhc3NOYW1lLCBpc01pbmltaXplZCB9KSA9PiB7XG4gIGNvbnN0IGNsYXNzZXMgPSBbXG4gICAgYmFzZUNsYXNzLFxuICAgIGlzTWluaW1pemVkID8gYCR7YmFzZUNsYXNzfS0tbWluaW1pemVkYCA6IGAke2Jhc2VDbGFzc30tLW1heGltaXplZGAsXG4gICAgY2xhc3NOYW1lLFxuICBdXG4gICAgLmZpbHRlcihCb29sZWFuKVxuICAgIC5qb2luKCcgJylcblxuICByZX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