var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __rest = (this && this.__rest) || function (s, e) {
    var t = {};
    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
        t[p] = s[p];
    if (s != null && typeof Object.getOwnPropertySymbols === "function")
        for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
            if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
                t[p[i]] = s[p[i]];
        }
    return t;
};
import React, { useContext } from 'react';
import { Context } from '../context';
function IconFencingComponent(props, ref) {
    var prefixFromContext = useContext(Context).prefix;
    var _a = props.className, className = _a === void 0 ? '' : _a, prefixFromProps = props.prefix, _b = props.width, width = _b === void 0 ? '1em' : _b, _c = props.height, height = _c === void 0 ? '1em' : _c, _d = props.useCurrentColor, useCurrentColor = _d === void 0 ? true : _d, spin = props.spin, rest = __rest(props, ["className", "prefix", "width", "height", "useCurrentColor", "spin"]);
    var prefix = prefixFromProps || prefixFromContext || 'hiagent';
    var loadingKls = spin ? " ".concat(prefix, "-icon-loading") : '';
    return React.createElement("svg", __assign({ className: "".concat(prefix, "-icon ").concat(prefix, "-icon-fencing").concat(loadingKls, " ").concat(className), width: width, height: height, viewBox: "0 0 48 48", fill: useCurrentColor ? 'currentColor' : '#000', xmlns: "http://www.w3.org/2000/svg" }, rest, { ref: ref }),
        React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M38.264 9.15a1 1 0 010 1.415L26.828 22l3.572 3.573a9.003 9.003 0 0113.272 4.599l.423 1.19-3.952 3.952 2.12 2.122a1 1 0 01.078 1.327l-.078.087-1.414 1.415a1 1 0 01-1.327.077l-.087-.077-2.12-2.122-3.953 3.954-1.191-.424A9.003 9.003 0 0127.572 28.4L24 24.828 20.428 28.4c2.191 3.477 1.772 8.127-1.256 11.155a8.971 8.971 0 01-3.343 2.116l-1.19.424-3.953-3.954-2.121 2.122a1 1 0 01-1.414 0l-1.414-1.415a1 1 0 010-1.414l2.12-2.122-3.952-3.951.423-1.191A9.003 9.003 0 0117.6 25.572L21.173 22 9.737 10.565a1 1 0 01-.078-1.327l.078-.087 1.414-1.414a1 1 0 011.327-.078l.087.078L24 19.17 35.435 7.737a1 1 0 011.414 0l1.415 1.414zm-21.92 20.507a5 5 0 00-7.709.778l6.93 6.93a5 5 0 00.778-7.708zm22.384 0a5 5 0 00-6.89-.172l-.15.141-.061.062a5 5 0 00-.12 6.884l.15.156c.24.24.501.453.778.637l6.93-6.93a5.026 5.026 0 00-.637-.778z" }));
}
var IconFencing = React.forwardRef(IconFencingComponent);
export default IconFencing;
