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 IconAntiViolenceComponent(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-anti-violence").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("g", { clipPath: "url(#svg_c7cda17c41__svg_c7cda17c41__clip0)" },
            React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.657 2.826L45.255 42.39a.998.998 0 010 1.413l-1.414 1.413a1 1 0 01-1.415 0L2.83 5.652a.999.999 0 010-1.413l1.414-1.413a1 1 0 011.414 0zm-.7 9.176l2.9 2.88c-.082.184-.128.39-.128.605v2.428l.018.124-.01.194a4.561 4.561 0 00-.008.251v4.496l2.195.194-2.696 14.793h5.976l2.56-14.147.017-.08.182-.82 3.44 3.411-.283 1.564a3.054 3.054 0 001.75-.107l2.964 2.94a7.06 7.06 0 01-4.017 1.244c-.482 0-.954-.048-1.409-.14l-1.387 7.664a3.015 3.015 0 01-2.974 2.468H6.022C4.353 41.964 3 40.622 3 38.966c0-.179.016-.357.048-.533l2.237-12.275A3.982 3.982 0 013.7 22.98v-4.496c0-.105.002-.21.006-.314a2.988 2.988 0 01-.006-.186v-2.497c0-1.323.471-2.537 1.256-3.485zm36.32-2.01V7.992H37.25v1.998H17.172l4.03 3.997H40.97v2.997H30.898v3.997h-2.644l3.846 3.816a4.002 4.002 0 002.827-3.816h7.051c1.67 0 3.022-1.342 3.022-2.998V12.99c0-1.656-1.353-2.998-3.022-2.998h-.7z" })),
        React.createElement("defs", null,
            React.createElement("clipPath", { id: "svg_c7cda17c41__svg_c7cda17c41__clip0" },
                React.createElement("path", { d: "M0 0h48v48H0z" }))));
}
var IconAntiViolence = React.forwardRef(IconAntiViolenceComponent);
export default IconAntiViolence;
