@lobehub/icons
Version:
Popular AI / LLM Model Brand SVG Logo and Icon Collection
127 lines (126 loc) • 8.38 kB
JavaScript
'use client';
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
var _excluded = ["size", "style"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
import { memo } from 'react';
import { useFillIds } from "../../hooks/useFillId";
import { COLOR_PRIMARY, TITLE } from "../style";
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
var Icon = /*#__PURE__*/memo(function (_ref) {
var _ref$size = _ref.size,
size = _ref$size === void 0 ? '1em' : _ref$size,
style = _ref.style,
rest = _objectWithoutProperties(_ref, _excluded);
var _useFillIds = useFillIds(TITLE, 5),
_useFillIds2 = _slicedToArray(_useFillIds, 5),
a = _useFillIds2[0],
b = _useFillIds2[1],
c = _useFillIds2[2],
d = _useFillIds2[3],
e = _useFillIds2[4];
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
height: size,
style: _objectSpread({
flex: 'none',
lineHeight: 1
}, style),
viewBox: "0 0 24 24",
width: size,
xmlns: "http://www.w3.org/2000/svg"
}, rest), {}, {
children: [/*#__PURE__*/_jsx("title", {
children: TITLE
}), /*#__PURE__*/_jsxs("g", {
clipPath: a.fill,
children: [/*#__PURE__*/_jsxs("mask", {
height: "24",
id: e.id,
maskUnits: "userSpaceOnUse",
style: {
maskType: 'alpha'
},
width: "24",
x: "0",
y: "0",
children: [/*#__PURE__*/_jsx("path", {
d: "M24 0H0v24h24V0z",
fill: b.fill
}), /*#__PURE__*/_jsx("path", {
d: "M24 0H0v24h24V0z",
fill: c.fill
}), /*#__PURE__*/_jsx("path", {
d: "M24 0H0v24h24V0z",
fill: d.fill
})]
}), /*#__PURE__*/_jsx("g", {
mask: e.fill,
children: /*#__PURE__*/_jsx("path", {
d: "M6.742 22.786a11.93 11.93 0 01-5.232-4.963 11.98 11.98 0 01-1.463-6.886.975.975 0 011.943.173c-.178 2.005.246 4 1.226 5.769a9.968 9.968 0 003.526 3.685l4.586-9.405c-1.795-.598-3.29-.338-3.425-.312l-.058.012a.972.972 0 01-1.054-.576c-.24-.448-.96-1.544-1.834-1.97-.873-.426-2.218-.289-2.651-.195a.977.977 0 01-1.087-1.38C4.117.792 11.315-1.686 17.262 1.215c5.946 2.9 8.422 10.093 5.529 16.038l-.01.02c-2.903 5.94-10.095 8.414-16.039 5.514zm6.338-10.773l-4.586 9.405c4.629 1.73 9.896-.192 12.304-4.558-.338-.524-.932-1.275-1.62-1.61-.888-.434-2.19-.292-2.637-.198a.989.989 0 01-.616-.055.984.984 0 01-.49-.473c-.028-.058-.739-1.438-2.355-2.51zM5.81 6.56c.747.365 1.356.944 1.81 1.49 1.406-2.15 3.314-3.774 4.787-4.82a20.81 20.81 0 011.66-1.067A10.078 10.078 0 003.882 6.077c.617.042 1.297.174 1.929.482zm12.671-2.243c.09.624.152 1.294.182 1.965.083 1.801-.021 4.296-.844 6.722.686.018 1.484.14 2.214.495.652.318 1.198.8 1.628 1.28a10.082 10.082 0 00-3.18-10.462zm-5.394 5.46a9.522 9.522 0 012.984 2.287c1.075-3.493.606-7.402.215-8.85-1.381.584-4.75 2.62-6.84 5.618a9.515 9.515 0 013.64.944z",
fill: COLOR_PRIMARY
})
})]
}), /*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: b.id,
x1: "6.75",
x2: "5.625",
y1: "20.55",
y2: "20.55",
children: [/*#__PURE__*/_jsx("stop", {}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopOpacity: "0"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: c.id,
x1: "6.825",
x2: "7.2",
y1: "11.85",
y2: "11.137",
children: [/*#__PURE__*/_jsx("stop", {
stopOpacity: "0"
}), /*#__PURE__*/_jsx("stop", {
offset: "1"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: d.id,
x1: ".975",
x2: ".975",
y1: "20.512",
y2: "10.912",
children: [/*#__PURE__*/_jsx("stop", {}), /*#__PURE__*/_jsx("stop", {
offset: ".105",
stopOpacity: ".9"
}), /*#__PURE__*/_jsx("stop", {
offset: ".904",
stopOpacity: ".04"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopOpacity: "0"
})]
}), /*#__PURE__*/_jsx("clipPath", {
id: a.id,
children: /*#__PURE__*/_jsx("path", {
d: "M0 0h24v24H0z",
fill: "#fff"
})
})]
})]
}));
});
export default Icon;