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 { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
// DO NOT EDIT IT MANUALLY
import * as React from 'react';
const SvgNewZealand = React.forwardRef((_a, ref) => {
    var { size } = _a, props = __rest(_a, ["size"]);
    props.width = undefined;
    props.height = undefined;
    const testId = 'icon-new-zealand';
    const style = {};
    const isCustomSize = typeof size === 'number';
    if (isCustomSize) {
        style.width = size + 'px';
        style.height = size + 'px';
        if (!props.style)
            props.style = {};
        props.style.width = size + 'px';
        props.style.height = size + 'px';
    }
    return (_jsxs("svg", Object.assign({ xmlns: 'http://www.w3.org/2000/svg', width: 24, height: 18, fill: 'none', viewBox: '0 0 24 18', "data-test-id": testId, ref: ref }, props, { children: [_jsx("g", { clipPath: 'url(#NewZealand_svg__a)', children: _jsxs("g", { clipPath: 'url(#NewZealand_svg__b)', children: [_jsx("path", { fill: '#1A47B8', d: 'M0 0h24v18H0z' }), _jsx("path", { fill: '#F93939', fillRule: 'evenodd', d: 'M18 4.8V6h1.2V4.8zm2.4 2.4v1.2h1.2V7.2zm-4.8 1.2v1.2h1.2V8.4zm2.4 4.8v1.2h1.2v-1.2z', clipRule: 'evenodd' }), _jsx("path", { fill: '#fff', d: 'M10.8 1.2H2.4a1.2 1.2 0 0 0-1.2 1.2v6a1.2 1.2 0 0 0 1.2 1.2h8.4A1.2 1.2 0 0 0 12 8.4v-6a1.2 1.2 0 0 0-1.2-1.2' }), _jsx("path", { fill: '#F93939', fillRule: 'evenodd', d: 'M6 6H2.4V4.8H6V2.4h1.2v2.4h3.6V6H7.2v2.4H6zm3 1.2v1.2h1.8V7.2zm0-4.8v1.2h1.8V2.4zM2.4 7.2v1.2h1.8V7.2zm0-4.8v1.2h1.8V2.4z', clipRule: 'evenodd' })] }) }), _jsx("rect", { width: 23.5, height: 17.5, x: 0.25, y: 0.25, stroke: '#DDE0EA', strokeWidth: 0.5, rx: 1.75, style: {
                    fillOpacity: 0,
                } }), _jsxs("defs", { children: [_jsx("clipPath", { id: 'NewZealand_svg__a', children: _jsx("rect", { width: 24, height: 18, fill: '#fff', rx: 2 }) }), _jsx("clipPath", { id: 'NewZealand_svg__b', children: _jsx("path", { fill: '#fff', d: 'M0 0h24v18H0z' }) })] })] })));
});
export default SvgNewZealand;
