basicon
Version:
Minimal, trusted npm dependency for chain and token metadata & SVG icons. All locally served, no dynamic fetch, fully type-safe
45 lines (43 loc) • 4.62 kB
JavaScript
;
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
if (from && typeof from === "object" || typeof from === "function") {
for (let key of __getOwnPropNames(from))
if (!__hasOwnProp.call(to, key) && key !== except)
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
}
return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
// src/generated/token/usde.tsx
var usde_exports = {};
__export(usde_exports, {
default: () => usde_default
});
module.exports = __toCommonJS(usde_exports);
var import_jsx_runtime = require("react/jsx-runtime");
var Usde = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", { viewBox: "0 0 398 398", fill: "none", xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", ...props, children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M198.996 7.527h.008c105.747 0 191.472 85.725 191.472 191.473v.007c0 105.747-85.725 191.473-191.472 191.473h-.008c-105.747 0-191.472-85.726-191.472-191.473V199C7.524 93.252 93.249 7.527 198.996 7.527Z", fill: "#111", stroke: "#111", strokeWidth: 7.054 }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M199.004 4h-.008c-107.695 0-195 87.304-195 195v.007c0 107.695 87.305 194.999 195 194.999h.008c107.695 0 194.999-87.304 194.999-194.999V199c0-107.696-87.304-195-194.999-195Z", fill: "url(#a)", fillOpacity: 0.7 }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M199.004 4h-.008c-107.695 0-195 87.304-195 195v.007c0 107.695 87.305 194.999 195 194.999h.008c107.695 0 194.999-87.304 194.999-194.999V199c0-107.696-87.304-195-194.999-195Z", stroke: "url(#b)", strokeWidth: 7.143 }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M167.8 38.56C92.492 53.064 35.606 119.32 35.606 198.861c0 79.542 56.886 145.797 132.194 160.303v-15.3C100.829 329.588 50.6 270.09 50.6 198.861c0-71.229 50.229-130.726 117.2-145.003v-15.3Zm62.401 15.36V38.612c75.169 14.618 131.914 80.808 131.914 160.25S305.37 344.495 230.201 359.111v-15.306c66.831-14.382 116.921-73.813 116.921-144.943 0-71.13-50.09-130.56-116.921-144.943Z", fill: "#fff" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M222.119 193.407c12.457 2.374 22.118 6.952 28.985 13.735 6.867 6.613 10.301 15.091 10.301 25.435v16.279c0 12.378-4.472 22.383-13.415 30.013-8.943 7.461-20.68 11.192-35.213 11.192h-5.03v25.944H190.5v-25.944h-5.27c-9.582 0-18.046-2.12-25.392-6.359-7.346-4.409-13.095-10.513-17.247-18.314-3.992-7.969-5.988-17.126-5.988-27.47h17.247c0 10.514 2.874 19.077 8.623 25.69 5.909 6.444 13.654 9.665 23.236 9.665h26.589c9.422 0 17.008-2.204 22.757-6.613 5.749-4.578 8.623-10.513 8.623-17.804v-16.279c0-5.765-2.156-10.683-6.467-14.752-4.152-4.07-9.901-6.698-17.247-7.885l-43.118-7.631c-12.137-2.204-21.559-6.783-28.266-13.735-6.708-6.952-10.061-15.685-10.061-26.198v-13.735c0-12.379 4.312-22.213 12.935-29.505 8.783-7.461 20.361-11.191 34.734-11.191h4.312V82.001h17.247v25.944h5.509c13.574 0 24.514 4.408 32.818 13.226 8.304 8.648 12.456 20.094 12.456 34.337h-17.247c0-9.326-2.555-16.787-7.665-22.383-5.111-5.595-11.898-8.393-20.362-8.393h-27.068c-9.103 0-16.369 2.204-21.798 6.613-5.43 4.239-8.145 10.005-8.145 17.296v13.735c0 5.935 1.996 10.937 5.989 15.007 4.152 4.069 9.821 6.782 17.007 8.139l42.878 7.885Z", fill: "#fff" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("defs", { children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("radialGradient", { id: "a", cx: 0, cy: 0, r: 1, gradientUnits: "userSpaceOnUse", gradientTransform: "scale(289.409 411.151) rotate(90 .27 .419)", children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: 0.031, stopColor: "#3A3A3A" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: 1, stopColor: "#1C1C1C" })
] }),
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("linearGradient", { id: "b", x1: 199, y1: 0.321, x2: 199, y2: 397.686, gradientUnits: "userSpaceOnUse", children: [
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { stopColor: "#fff" }),
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("stop", { offset: 1, stopColor: "#111" })
] })
] })
] });
var usde_default = Usde;