drizzle-cube
Version:
Drizzle ORM-first semantic layer with Cube.js compatibility. Type-safe analytics and dashboards with SQL injection protection.
1,917 lines • 52.5 kB
JavaScript
import * as s from "react";
import { forwardRef as ae, useState as B, useEffect as G, createElement as W } from "react";
function ye({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"
}));
}
const Jt = /* @__PURE__ */ s.forwardRef(ye);
function xe({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
}));
}
const Kt = /* @__PURE__ */ s.forwardRef(xe);
function Ee({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"
}));
}
const Xt = /* @__PURE__ */ s.forwardRef(Ee);
function Le({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 0 1 3 19.875v-6.75ZM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V8.625ZM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 0 1-1.125-1.125V4.125Z"
}));
}
const Yt = /* @__PURE__ */ s.forwardRef(Le);
function je({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
}));
}
const en = /* @__PURE__ */ s.forwardRef(je);
function Ce({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "m19.5 8.25-7.5 7.5-7.5-7.5"
}));
}
const tn = /* @__PURE__ */ s.forwardRef(Ce);
function Me({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "m8.25 4.5 7.5 7.5-7.5 7.5"
}));
}
const nn = /* @__PURE__ */ s.forwardRef(Me);
function Re({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M8.25 15 12 18.75 15.75 15m-7.5-6L12 5.25 15.75 9"
}));
}
const rn = /* @__PURE__ */ s.forwardRef(Re);
function Ie({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "m4.5 15.75 7.5-7.5 7.5 7.5"
}));
}
const on = /* @__PURE__ */ s.forwardRef(Ie);
function Fe({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"
}));
}
const sn = /* @__PURE__ */ s.forwardRef(Fe);
function Oe({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"
}));
}
const an = /* @__PURE__ */ s.forwardRef(Oe);
function Se({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"
}));
}
const cn = /* @__PURE__ */ s.forwardRef(Se);
function Ae({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z"
}));
}
const ln = /* @__PURE__ */ s.forwardRef(Ae);
function Te({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"
}));
}
const un = /* @__PURE__ */ s.forwardRef(Te);
function $e({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M12 3c2.755 0 5.455.232 8.083.678.533.09.917.556.917 1.096v1.044a2.25 2.25 0 0 1-.659 1.591l-5.432 5.432a2.25 2.25 0 0 0-.659 1.591v2.927a2.25 2.25 0 0 1-1.244 2.013L9.75 21v-6.568a2.25 2.25 0 0 0-.659-1.591L3.659 7.409A2.25 2.25 0 0 1 3 5.818V4.774c0-.54.384-1.006.917-1.096A48.32 48.32 0 0 1 12 3Z"
}));
}
const fn = /* @__PURE__ */ s.forwardRef($e);
function Pe({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"
}));
}
const dn = /* @__PURE__ */ s.forwardRef(Pe);
function Be({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L6.832 19.82a4.5 4.5 0 0 1-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 0 1 1.13-1.897L16.863 4.487Zm0 0L19.5 7.125"
}));
}
const hn = /* @__PURE__ */ s.forwardRef(Be);
function He({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M12 4.5v15m7.5-7.5h-15"
}));
}
const pn = /* @__PURE__ */ s.forwardRef(He);
function Ze({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M9.813 15.904 9 18.75l-.813-2.846a4.5 4.5 0 0 0-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 0 0 3.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 0 0 3.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 0 0-3.09 3.09ZM18.259 8.715 18 9.75l-.259-1.035a3.375 3.375 0 0 0-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 0 0 2.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 0 0 2.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 0 0-2.456 2.456ZM16.894 20.567 16.5 21.75l-.394-1.183a2.25 2.25 0 0 0-1.423-1.423L13.5 18.75l1.183-.394a2.25 2.25 0 0 0 1.423-1.423l.394-1.183.394 1.183a2.25 2.25 0 0 0 1.423 1.423l1.183.394-1.183.394a2.25 2.25 0 0 0-1.423 1.423Z"
}));
}
const mn = /* @__PURE__ */ s.forwardRef(Ze);
function We({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"
}), /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M6 6h.008v.008H6V6Z"
}));
}
const gn = /* @__PURE__ */ s.forwardRef(We);
function Ve({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"
}));
}
const wn = /* @__PURE__ */ s.forwardRef(Ve);
function Ne({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
fill: "none",
viewBox: "0 0 24 24",
strokeWidth: 1.5,
stroke: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
strokeLinecap: "round",
strokeLinejoin: "round",
d: "M6 18 18 6M6 6l12 12"
}));
}
const vn = /* @__PURE__ */ s.forwardRef(Ne);
function De({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
fillRule: "evenodd",
d: "M6.75 2.25A.75.75 0 0 1 7.5 3v1.5h9V3A.75.75 0 0 1 18 3v1.5h.75a3 3 0 0 1 3 3v11.25a3 3 0 0 1-3 3H5.25a3 3 0 0 1-3-3V7.5a3 3 0 0 1 3-3H6V3a.75.75 0 0 1 .75-.75Zm13.5 9a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5Z",
clipRule: "evenodd"
}));
}
const kn = /* @__PURE__ */ s.forwardRef(De);
function ze({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
d: "M18.375 2.25c-1.035 0-1.875.84-1.875 1.875v15.75c0 1.035.84 1.875 1.875 1.875h.75c1.035 0 1.875-.84 1.875-1.875V4.125c0-1.036-.84-1.875-1.875-1.875h-.75ZM9.75 8.625c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v11.25c0 1.035-.84 1.875-1.875 1.875h-.75a1.875 1.875 0 0 1-1.875-1.875V8.625ZM3 13.125c0-1.036.84-1.875 1.875-1.875h.75c1.036 0 1.875.84 1.875 1.875v6.75c0 1.035-.84 1.875-1.875 1.875h-.75A1.875 1.875 0 0 1 3 19.875v-6.75Z"
}));
}
const bn = /* @__PURE__ */ s.forwardRef(ze);
function Ue({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
fillRule: "evenodd",
d: "M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",
clipRule: "evenodd"
}));
}
const yn = /* @__PURE__ */ s.forwardRef(Ue);
function _e({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
fillRule: "evenodd",
d: "M4.5 5.653c0-1.427 1.529-2.33 2.779-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.779-.217-2.779-1.643V5.653Z",
clipRule: "evenodd"
}));
}
const xn = /* @__PURE__ */ s.forwardRef(_e);
function qe({
title: e,
titleId: t,
...n
}, r) {
return /* @__PURE__ */ s.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
"aria-hidden": "true",
"data-slot": "icon",
ref: r,
"aria-labelledby": t
}, n), e ? /* @__PURE__ */ s.createElement("title", {
id: t
}, e) : null, /* @__PURE__ */ s.createElement("path", {
fillRule: "evenodd",
d: "M5.25 2.25a3 3 0 0 0-3 3v4.318a3 3 0 0 0 .879 2.121l9.58 9.581c.92.92 2.39 1.186 3.548.428a18.849 18.849 0 0 0 5.441-5.44c.758-1.16.492-2.629-.428-3.548l-9.58-9.581a3 3 0 0 0-2.122-.879H5.25ZM6.375 7.5a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25Z",
clipRule: "evenodd"
}));
}
const En = /* @__PURE__ */ s.forwardRef(qe), ce = Object.freeze(
{
left: 0,
top: 0,
width: 16,
height: 16
}
), T = Object.freeze({
rotate: 0,
vFlip: !1,
hFlip: !1
}), U = Object.freeze({
...ce,
...T
}), V = Object.freeze({
...U,
body: "",
hidden: !1
});
function Qe(e, t) {
const n = {};
!e.hFlip != !t.hFlip && (n.hFlip = !0), !e.vFlip != !t.vFlip && (n.vFlip = !0);
const r = ((e.rotate || 0) + (t.rotate || 0)) % 4;
return r && (n.rotate = r), n;
}
function J(e, t) {
const n = Qe(e, t);
for (const r in V)
r in T ? r in e && !(r in n) && (n[r] = T[r]) : r in t ? n[r] = t[r] : r in e && (n[r] = e[r]);
return n;
}
function Ge(e, t) {
const n = e.icons, r = e.aliases || /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
function i(a) {
if (n[a])
return o[a] = [];
if (!(a in o)) {
o[a] = null;
const l = r[a] && r[a].parent, c = l && i(l);
c && (o[a] = [l].concat(c));
}
return o[a];
}
return Object.keys(n).concat(Object.keys(r)).forEach(i), o;
}
function Je(e, t, n) {
const r = e.icons, o = e.aliases || /* @__PURE__ */ Object.create(null);
let i = {};
function a(l) {
i = J(
r[l] || o[l],
i
);
}
return a(t), n.forEach(a), J(e, i);
}
function le(e, t) {
const n = [];
if (typeof e != "object" || typeof e.icons != "object")
return n;
e.not_found instanceof Array && e.not_found.forEach((o) => {
t(o, null), n.push(o);
});
const r = Ge(e);
for (const o in r) {
const i = r[o];
i && (t(o, Je(e, o, i)), n.push(o));
}
return n;
}
const Ke = {
provider: "",
aliases: {},
not_found: {},
...ce
};
function H(e, t) {
for (const n in t)
if (n in e && typeof e[n] != typeof t[n])
return !1;
return !0;
}
function ue(e) {
if (typeof e != "object" || e === null)
return null;
const t = e;
if (typeof t.prefix != "string" || !e.icons || typeof e.icons != "object" || !H(e, Ke))
return null;
const n = t.icons;
for (const o in n) {
const i = n[o];
if (
// Name cannot be empty
!o || // Must have body
typeof i.body != "string" || // Check other props
!H(
i,
V
)
)
return null;
}
const r = t.aliases || /* @__PURE__ */ Object.create(null);
for (const o in r) {
const i = r[o], a = i.parent;
if (
// Name cannot be empty
!o || // Parent must be set and point to existing icon
typeof a != "string" || !n[a] && !r[a] || // Check other props
!H(
i,
V
)
)
return null;
}
return t;
}
const fe = /^[a-z0-9]+(-[a-z0-9]+)*$/, $ = (e, t, n, r = "") => {
const o = e.split(":");
if (e.slice(0, 1) === "@") {
if (o.length < 2 || o.length > 3)
return null;
r = o.shift().slice(1);
}
if (o.length > 3 || !o.length)
return null;
if (o.length > 1) {
const l = o.pop(), c = o.pop(), u = {
// Allow provider without '@': "provider:prefix:name"
provider: o.length > 0 ? o[0] : r,
prefix: c,
name: l
};
return t && !S(u) ? null : u;
}
const i = o[0], a = i.split("-");
if (a.length > 1) {
const l = {
provider: r,
prefix: a.shift(),
name: a.join("-")
};
return t && !S(l) ? null : l;
}
if (n && r === "") {
const l = {
provider: r,
prefix: "",
name: i
};
return t && !S(l, n) ? null : l;
}
return null;
}, S = (e, t) => e ? !!// Check prefix: cannot be empty, unless allowSimpleName is enabled
// Check name: cannot be empty
((t && e.prefix === "" || e.prefix) && e.name) : !1, K = /* @__PURE__ */ Object.create(null);
function Xe(e, t) {
return {
provider: e,
prefix: t,
icons: /* @__PURE__ */ Object.create(null),
missing: /* @__PURE__ */ new Set()
};
}
function j(e, t) {
const n = K[e] || (K[e] = /* @__PURE__ */ Object.create(null));
return n[t] || (n[t] = Xe(e, t));
}
function de(e, t) {
return ue(t) ? le(t, (n, r) => {
r ? e.icons[n] = r : e.missing.add(n);
}) : [];
}
function Ye(e, t, n) {
try {
if (typeof n.body == "string")
return e.icons[t] = { ...n }, !0;
} catch {
}
return !1;
}
let F = !1;
function he(e) {
return typeof e == "boolean" && (F = e), F;
}
function X(e) {
const t = typeof e == "string" ? $(e, !0, F) : e;
if (t) {
const n = j(t.provider, t.prefix), r = t.name;
return n.icons[r] || (n.missing.has(r) ? null : void 0);
}
}
function et(e, t) {
const n = $(e, !0, F);
if (!n)
return !1;
const r = j(n.provider, n.prefix);
return t ? Ye(r, n.name, t) : (r.missing.add(n.name), !0);
}
function tt(e, t) {
if (typeof e != "object")
return !1;
if (typeof t != "string" && (t = e.provider || ""), F && !t && !e.prefix) {
let o = !1;
return ue(e) && (e.prefix = "", le(e, (i, a) => {
et(i, a) && (o = !0);
})), o;
}
const n = e.prefix;
if (!S({
prefix: n,
name: "a"
}))
return !1;
const r = j(t, n);
return !!de(r, e);
}
const pe = Object.freeze({
width: null,
height: null
}), me = Object.freeze({
// Dimensions
...pe,
// Transformations
...T
}), nt = /(-?[0-9.]*[0-9]+[0-9.]*)/g, rt = /^-?[0-9.]*[0-9]+[0-9.]*$/g;
function Y(e, t, n) {
if (t === 1)
return e;
if (n = n || 100, typeof e == "number")
return Math.ceil(e * t * n) / n;
if (typeof e != "string")
return e;
const r = e.split(nt);
if (r === null || !r.length)
return e;
const o = [];
let i = r.shift(), a = rt.test(i);
for (; ; ) {
if (a) {
const l = parseFloat(i);
isNaN(l) ? o.push(i) : o.push(Math.ceil(l * t * n) / n);
} else
o.push(i);
if (i = r.shift(), i === void 0)
return o.join("");
a = !a;
}
}
function ot(e, t = "defs") {
let n = "";
const r = e.indexOf("<" + t);
for (; r >= 0; ) {
const o = e.indexOf(">", r), i = e.indexOf("</" + t);
if (o === -1 || i === -1)
break;
const a = e.indexOf(">", i);
if (a === -1)
break;
n += e.slice(o + 1, i).trim(), e = e.slice(0, r).trim() + e.slice(a + 1);
}
return {
defs: n,
content: e
};
}
function it(e, t) {
return e ? "<defs>" + e + "</defs>" + t : t;
}
function st(e, t, n) {
const r = ot(e);
return it(r.defs, t + r.content + n);
}
const at = (e) => e === "unset" || e === "undefined" || e === "none";
function ct(e, t) {
const n = {
...U,
...e
}, r = {
...me,
...t
}, o = {
left: n.left,
top: n.top,
width: n.width,
height: n.height
};
let i = n.body;
[n, r].forEach((k) => {
const d = [], p = k.hFlip, E = k.vFlip;
let b = k.rotate;
p ? E ? b += 2 : (d.push(
"translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
), d.push("scale(-1 1)"), o.top = o.left = 0) : E && (d.push(
"translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
), d.push("scale(1 -1)"), o.top = o.left = 0);
let y;
switch (b < 0 && (b -= Math.floor(b / 4) * 4), b = b % 4, b) {
case 1:
y = o.height / 2 + o.top, d.unshift(
"rotate(90 " + y.toString() + " " + y.toString() + ")"
);
break;
case 2:
d.unshift(
"rotate(180 " + (o.width / 2 + o.left).toString() + " " + (o.height / 2 + o.top).toString() + ")"
);
break;
case 3:
y = o.width / 2 + o.left, d.unshift(
"rotate(-90 " + y.toString() + " " + y.toString() + ")"
);
break;
}
b % 2 === 1 && (o.left !== o.top && (y = o.left, o.left = o.top, o.top = y), o.width !== o.height && (y = o.width, o.width = o.height, o.height = y)), d.length && (i = st(
i,
'<g transform="' + d.join(" ") + '">',
"</g>"
));
});
const a = r.width, l = r.height, c = o.width, u = o.height;
let f, h;
a === null ? (h = l === null ? "1em" : l === "auto" ? u : l, f = Y(h, c / u)) : (f = a === "auto" ? c : a, h = l === null ? Y(f, u / c) : l === "auto" ? u : l);
const m = {}, g = (k, d) => {
at(d) || (m[k] = d.toString());
};
g("width", f), g("height", h);
const v = [o.left, o.top, c, u];
return m.viewBox = v.join(" "), {
attributes: m,
viewBox: v,
body: i
};
}
const lt = /\sid="(\S+)"/g, ut = "IconifyId" + Date.now().toString(16) + (Math.random() * 16777216 | 0).toString(16);
let ft = 0;
function dt(e, t = ut) {
const n = [];
let r;
for (; r = lt.exec(e); )
n.push(r[1]);
if (!n.length)
return e;
const o = "suffix" + (Math.random() * 16777216 | Date.now()).toString(16);
return n.forEach((i) => {
const a = typeof t == "function" ? t(i) : t + (ft++).toString(), l = i.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
e = e.replace(
// Allowed characters before id: [#;"]
// Allowed characters after id: [)"], .[a-z]
new RegExp('([#;"])(' + l + ')([")]|\\.[a-z])', "g"),
"$1" + a + o + "$3"
);
}), e = e.replace(new RegExp(o, "g"), ""), e;
}
const N = /* @__PURE__ */ Object.create(null);
function ht(e, t) {
N[e] = t;
}
function D(e) {
return N[e] || N[""];
}
function _(e) {
let t;
if (typeof e.resources == "string")
t = [e.resources];
else if (t = e.resources, !(t instanceof Array) || !t.length)
return null;
return {
// API hosts
resources: t,
// Root path
path: e.path || "/",
// URL length limit
maxURL: e.maxURL || 500,
// Timeout before next host is used.
rotate: e.rotate || 750,
// Timeout before failing query.
timeout: e.timeout || 5e3,
// Randomise default API end point.
random: e.random === !0,
// Start index
index: e.index || 0,
// Receive data after time out (used if time out kicks in first, then API module sends data anyway).
dataAfterTimeout: e.dataAfterTimeout !== !1
};
}
const q = /* @__PURE__ */ Object.create(null), M = [
"https://api.simplesvg.com",
"https://api.unisvg.com"
], A = [];
for (; M.length > 0; )
M.length === 1 || Math.random() > 0.5 ? A.push(M.shift()) : A.push(M.pop());
q[""] = _({
resources: ["https://api.iconify.design"].concat(A)
});
function pt(e, t) {
const n = _(t);
return n === null ? !1 : (q[e] = n, !0);
}
function Q(e) {
return q[e];
}
const mt = () => {
let e;
try {
if (e = fetch, typeof e == "function")
return e;
} catch {
}
};
let ee = mt();
function gt(e, t) {
const n = Q(e);
if (!n)
return 0;
let r;
if (!n.maxURL)
r = 0;
else {
let o = 0;
n.resources.forEach((a) => {
o = Math.max(o, a.length);
});
const i = t + ".json?icons=";
r = n.maxURL - o - n.path.length - i.length;
}
return r;
}
function wt(e) {
return e === 404;
}
const vt = (e, t, n) => {
const r = [], o = gt(e, t), i = "icons";
let a = {
type: i,
provider: e,
prefix: t,
icons: []
}, l = 0;
return n.forEach((c, u) => {
l += c.length + 1, l >= o && u > 0 && (r.push(a), a = {
type: i,
provider: e,
prefix: t,
icons: []
}, l = c.length), a.icons.push(c);
}), r.push(a), r;
};
function kt(e) {
if (typeof e == "string") {
const t = Q(e);
if (t)
return t.path;
}
return "/";
}
const bt = (e, t, n) => {
if (!ee) {
n("abort", 424);
return;
}
let r = kt(t.provider);
switch (t.type) {
case "icons": {
const i = t.prefix, l = t.icons.join(","), c = new URLSearchParams({
icons: l
});
r += i + ".json?" + c.toString();
break;
}
case "custom": {
const i = t.uri;
r += i.slice(0, 1) === "/" ? i.slice(1) : i;
break;
}
default:
n("abort", 400);
return;
}
let o = 503;
ee(e + r).then((i) => {
const a = i.status;
if (a !== 200) {
setTimeout(() => {
n(wt(a) ? "abort" : "next", a);
});
return;
}
return o = 501, i.json();
}).then((i) => {
if (typeof i != "object" || i === null) {
setTimeout(() => {
i === 404 ? n("abort", i) : n("next", o);
});
return;
}
setTimeout(() => {
n("success", i);
});
}).catch(() => {
n("next", o);
});
}, yt = {
prepare: vt,
send: bt
};
function xt(e) {
const t = {
loaded: [],
missing: [],
pending: []
}, n = /* @__PURE__ */ Object.create(null);
e.sort((o, i) => o.provider !== i.provider ? o.provider.localeCompare(i.provider) : o.prefix !== i.prefix ? o.prefix.localeCompare(i.prefix) : o.name.localeCompare(i.name));
let r = {
provider: "",
prefix: "",
name: ""
};
return e.forEach((o) => {
if (r.name === o.name && r.prefix === o.prefix && r.provider === o.provider)
return;
r = o;
const i = o.provider, a = o.prefix, l = o.name, c = n[i] || (n[i] = /* @__PURE__ */ Object.create(null)), u = c[a] || (c[a] = j(i, a));
let f;
l in u.icons ? f = t.loaded : a === "" || u.missing.has(l) ? f = t.missing : f = t.pending;
const h = {
provider: i,
prefix: a,
name: l
};
f.push(h);
}), t;
}
function ge(e, t) {
e.forEach((n) => {
const r = n.loaderCallbacks;
r && (n.loaderCallbacks = r.filter((o) => o.id !== t));
});
}
function Et(e) {
e.pendingCallbacksFlag || (e.pendingCallbacksFlag = !0, setTimeout(() => {
e.pendingCallbacksFlag = !1;
const t = e.loaderCallbacks ? e.loaderCallbacks.slice(0) : [];
if (!t.length)
return;
let n = !1;
const r = e.provider, o = e.prefix;
t.forEach((i) => {
const a = i.icons, l = a.pending.length;
a.pending = a.pending.filter((c) => {
if (c.prefix !== o)
return !0;
const u = c.name;
if (e.icons[u])
a.loaded.push({
provider: r,
prefix: o,
name: u
});
else if (e.missing.has(u))
a.missing.push({
provider: r,
prefix: o,
name: u
});
else
return n = !0, !0;
return !1;
}), a.pending.length !== l && (n || ge([e], i.id), i.callback(
a.loaded.slice(0),
a.missing.slice(0),
a.pending.slice(0),
i.abort
));
});
}));
}
let Lt = 0;
function jt(e, t, n) {
const r = Lt++, o = ge.bind(null, n, r);
if (!t.pending.length)
return o;
const i = {
id: r,
icons: t,
callback: e,
abort: o
};
return n.forEach((a) => {
(a.loaderCallbacks || (a.loaderCallbacks = [])).push(i);
}), o;
}
function Ct(e, t = !0, n = !1) {
const r = [];
return e.forEach((o) => {
const i = typeof o == "string" ? $(o, t, n) : o;
i && r.push(i);
}), r;
}
var Mt = {
resources: [],
index: 0,
timeout: 2e3,
rotate: 750,
random: !1,
dataAfterTimeout: !1
};
function Rt(e, t, n, r) {
const o = e.resources.length, i = e.random ? Math.floor(Math.random() * o) : e.index;
let a;
if (e.random) {
let w = e.resources.slice(0);
for (a = []; w.length > 1; ) {
const x = Math.floor(Math.random() * w.length);
a.push(w[x]), w = w.slice(0, x).concat(w.slice(x + 1));
}
a = a.concat(w);
} else
a = e.resources.slice(i).concat(e.resources.slice(0, i));
const l = Date.now();
let c = "pending", u = 0, f, h = null, m = [], g = [];
typeof r == "function" && g.push(r);
function v() {
h && (clearTimeout(h), h = null);
}
function k() {
c === "pending" && (c = "aborted"), v(), m.forEach((w) => {
w.status === "pending" && (w.status = "aborted");
}), m = [];
}
function d(w, x) {
x && (g = []), typeof w == "function" && g.push(w);
}
function p() {
return {
startTime: l,
payload: t,
status: c,
queriesSent: u,
queriesPending: m.length,
subscribe: d,
abort: k
};
}
function E() {
c = "failed", g.forEach((w) => {
w(void 0, f);
});
}
function b() {
m.forEach((w) => {
w.status === "pending" && (w.status = "aborted");
}), m = [];
}
function y(w, x, C) {
const O = x !== "success";
switch (m = m.filter((L) => L !== w), c) {
case "pending":
break;
case "failed":
if (O || !e.dataAfterTimeout)
return;
break;
default:
return;
}
if (x === "abort") {
f = C, E();
return;
}
if (O) {
f = C, m.length || (a.length ? P() : E());
return;
}
if (v(), b(), !e.random) {
const L = e.resources.indexOf(w.resource);
L !== -1 && L !== e.index && (e.index = L);
}
c = "completed", g.forEach((L) => {
L(C);
});
}
function P() {
if (c !== "pending")
return;
v();
const w = a.shift();
if (w === void 0) {
if (m.length) {
h = setTimeout(() => {
v(), c === "pending" && (b(), E());
}, e.timeout);
return;
}
E();
return;
}
const x = {
status: "pending",
resource: w,
callback: (C, O) => {
y(x, C, O);
}
};
m.push(x), u++, h = setTimeout(P, e.rotate), n(w, t, x.callback);
}
return setTimeout(P), p;
}
function we(e) {
const t = {
...Mt,
...e
};
let n = [];
function r() {
n = n.filter((l) => l().status === "pending");
}
function o(l, c, u) {
const f = Rt(
t,
l,
c,
(h, m) => {
r(), u && u(h, m);
}
);
return n.push(f), f;
}
function i(l) {
return n.find((c) => l(c)) || null;
}
return {
query: o,
find: i,
setIndex: (l) => {
t.index = l;
},
getIndex: () => t.index,
cleanup: r
};
}
function te() {
}
const Z = /* @__PURE__ */ Object.create(null);
function It(e) {
if (!Z[e]) {
const t = Q(e);
if (!t)
return;
const n = we(t), r = {
config: t,
redundancy: n
};
Z[e] = r;
}
return Z[e];
}
function Ft(e, t, n) {
let r, o;
if (typeof e == "string") {
const i = D(e);
if (!i)
return n(void 0, 424), te;
o = i.send;
const a = It(e);
a && (r = a.redundancy);
} else {
const i = _(e);
if (i) {
r = we(i);
const a = e.resources ? e.resources[0] : "", l = D(a);
l && (o = l.send);
}
}
return !r || !o ? (n(void 0, 424), te) : r.query(t, o, n)().abort;
}
function ne() {
}
function Ot(e) {
e.iconsLoaderFlag || (e.iconsLoaderFlag = !0, setTimeout(() => {
e.iconsLoaderFlag = !1, Et(e);
}));
}
function St(e) {
const t = [], n = [];
return e.forEach((r) => {
(r.match(fe) ? t : n).push(r);
}), {
valid: t,
invalid: n
};
}
function R(e, t, n) {
function r() {
const o = e.pendingIcons;
t.forEach((i) => {
o && o.delete(i), e.icons[i] || e.missing.add(i);
});
}
if (n && typeof n == "object")
try {
if (!de(e, n).length) {
r();
return;
}
} catch (o) {
console.error(o);
}
r(), Ot(e);
}
function re(e, t) {
e instanceof Promise ? e.then((n) => {
t(n);
}).catch(() => {
t(null);
}) : t(e);
}
function At(e, t) {
e.iconsToLoad ? e.iconsToLoad = e.iconsToLoad.concat(t).sort() : e.iconsToLoad = t, e.iconsQueueFlag || (e.iconsQueueFlag = !0, setTimeout(() => {
e.iconsQueueFlag = !1;
const { provider: n, prefix: r } = e, o = e.iconsToLoad;
if (delete e.iconsToLoad, !o || !o.length)
return;
const i = e.loadIcon;
if (e.loadIcons && (o.length > 1 || !i)) {
re(
e.loadIcons(o, r, n),
(f) => {
R(e, o, f);
}
);
return;
}
if (i) {
o.forEach((f) => {
const h = i(f, r, n);
re(h, (m) => {
const g = m ? {
prefix: r,
icons: {
[f]: m
}
} : null;
R(e, [f], g);
});
});
return;
}
const { valid: a, invalid: l } = St(o);
if (l.length && R(e, l, null), !a.length)
return;
const c = r.match(fe) ? D(n) : null;
if (!c) {
R(e, a, null);
return;
}
c.prepare(n, r, a).forEach((f) => {
Ft(n, f, (h) => {
R(e, f.icons, h);
});
});
}));
}
const Tt = (e, t) => {
const n = Ct(e, !0, he()), r = xt(n);
if (!r.pending.length) {
let c = !0;
return t && setTimeout(() => {
c && t(
r.loaded,
r.missing,
r.pending,
ne
);
}), () => {
c = !1;
};
}
const o = /* @__PURE__ */ Object.create(null), i = [];
let a, l;
return r.pending.forEach((c) => {
const { provider: u, prefix: f } = c;
if (f === l && u === a)
return;
a = u, l = f, i.push(j(u, f));
const h = o[u] || (o[u] = /* @__PURE__ */ Object.create(null));
h[f] || (h[f] = []);
}), r.pending.forEach((c) => {
const { provider: u, prefix: f, name: h } = c, m = j(u, f), g = m.pendingIcons || (m.pendingIcons = /* @__PURE__ */ new Set());
g.has(h) || (g.add(h), o[u][f].push(h));
}), i.forEach((c) => {
const u = o[c.provider][c.prefix];
u.length && At(c, u);
}), t ? jt(t, r, i) : ne;
};
function $t(e, t) {
const n = {
...e
};
for (const r in t) {
const o = t[r], i = typeof o;
r in pe ? (o === null || o && (i === "string" || i === "number")) && (n[r] = o) : i === typeof n[r] && (n[r] = r === "rotate" ? o % 4 : o);
}
return n;
}
const Pt = /[\s,]+/;
function Bt(e, t) {
t.split(Pt).forEach((n) => {
switch (n.trim()) {
case "horizontal":
e.hFlip = !0;
break;
case "vertical":
e.vFlip = !0;
break;
}
});
}
function Ht(e, t = 0) {
const n = e.replace(/^-?[0-9.]*/, "");
function r(o) {
for (; o < 0; )
o += 4;
return o % 4;
}
if (n === "") {
const o = parseInt(e);
return isNaN(o) ? 0 : r(o);
} else if (n !== e) {
let o = 0;
switch (n) {
case "%":
o = 25;
break;
case "deg":
o = 90;
}
if (o) {
let i = parseFloat(e.slice(0, e.length - n.length));
return isNaN(i) ? 0 : (i = i / o, i % 1 === 0 ? r(i) : 0);
}
}
return t;
}
function Zt(e, t) {
let n = e.indexOf("xlink:") === -1 ? "" : ' xmlns:xlink="http://www.w3.org/1999/xlink"';
for (const r in t)
n += " " + r + '="' + t[r] + '"';
return '<svg xmlns="http://www.w3.org/2000/svg"' + n + ">" + e + "</svg>";
}
function Wt(e) {
return e.replace(/"/g, "'").replace(/%/g, "%25").replace(/#/g, "%23").replace(/</g, "%3C").replace(/>/g, "%3E").replace(/\s+/g, " ");
}
function Vt(e) {
return "data:image/svg+xml," + Wt(e);
}
function Nt(e) {
return 'url("' + Vt(e) + '")';
}
let I;
function Dt() {
try {
I = window.trustedTypes.createPolicy("iconify", {
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
createHTML: (e) => e
});
} catch {
I = null;
}
}
function zt(e) {
return I === void 0 && Dt(), I ? I.createHTML(e) : e;
}
const ve = {
...me,
inline: !1
}, Ut = {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
"aria-hidden": !0,
role: "img"
}, _t = {
display: "inline-block"
}, z = {
backgroundColor: "currentColor"
}, ke = {
backgroundColor: "transparent"
}, oe = {
Image: "var(--svg)",
Repeat: "no-repeat",
Size: "100% 100%"
}, ie = {
WebkitMask: z,
mask: z,
background: ke
};
for (const e in ie) {
const t = ie[e];
for (const n in oe)
t[e + n] = oe[n];
}
const qt = {
...ve,
inline: !0
};
function se(e) {
return e + (e.match(/^[-0-9.]+$/) ? "px" : "");
}
const Qt = (e, t, n) => {
const r = t.inline ? qt : ve, o = $t(r, t), i = t.mode || "svg", a = {}, l = t.style || {}, c = {
...i === "svg" ? Ut : {}
};
if (n) {
const d = $(n, !1, !0);
if (d) {
const p = ["iconify"], E = [
"provider",
"prefix"
];
for (const b of E)
d[b] && p.push("iconify--" + d[b]);
c.className = p.join(" ");
}
}
for (let d in t) {
const p = t[d];
if (p !== void 0)
switch (d) {
case "icon":
case "style":
case "children":
case "onLoad":
case "mode":
case "ssr":
break;
case "_ref":
c.ref = p;
break;
case "className":
c[d] = (c[d] ? c[d] + " " : "") + p;
break;
case "inline":
case "hFlip":
case "vFlip":
o[d] = p === !0 || p === "true" || p === 1;
break;
case "flip":
typeof p == "string" && Bt(o, p);
break;
case "color":
a.color = p;
break;
case "rotate":
typeof p == "string" ? o[d] = Ht(p) : typeof p == "number" && (o[d] = p);
break;
case "ariaHidden":
case "aria-hidden":
p !== !0 && p !== "true" && delete c["aria-hidden"];
break;
default:
r[d] === void 0 && (c[d] = p);
}
}
const u = ct(e, o), f = u.attributes;
if (o.inline && (a.verticalAlign = "-0.125em"), i === "svg") {
c.style = {
...a,
...l
}, Object.assign(c, f);
let d = 0, p = t.id;
return typeof p == "string" && (p = p.replace(/-/g, "_")), c.dangerouslySetInnerHTML = {
__html: zt(dt(u.body, p ? () => p + "ID" + d++ : "iconifyReact"))
}, W("svg", c);
}
const { body: h, width: m, height: g } = e, v = i === "mask" || (i === "bg" ? !1 : h.indexOf("currentColor") !== -1), k = Zt(h, {
...f,
width: m + "",
height: g + ""
});
return c.style = {
...a,
"--svg": Nt(k),
width: se(f.width),
height: se(f.height),
..._t,
...v ? z : ke,
...l
}, W("span", c);
};
he(!0);
ht("", yt);
if (typeof document < "u" && typeof window < "u") {
const e = window;
if (e.IconifyPreload !== void 0) {
const t = e.IconifyPreload, n = "Invalid IconifyPreload syntax.";
typeof t == "object" && t !== null && (t instanceof Array ? t : [t]).forEach((r) => {
try {
// Check if item is an object and not null/array
(typeof r != "object" || r === null || r instanceof Array || // Check for 'icons' and 'prefix'
typeof r.icons != "object" || typeof r.prefix != "string" || // Add icon set
!tt(r)) && console.error(n);
} catch {
console.error(n);
}
});
}
if (e.IconifyProviders !== void 0) {
const t = e.IconifyProviders;
if (typeof t == "object" && t !== null)
for (let n in t) {
const r = "IconifyProviders[" + n + "] is invalid.";
try {
const o = t[n];
if (typeof o != "object" || !o || o.resources === void 0)
continue;
pt(n, o) || console.error(r);
} catch {
console.error(r);
}
}
}
}
function be(e) {
const [t, n] = B(!!e.ssr), [r, o] = B({});
function i(g) {
if (g) {
const v = e.icon;
if (typeof v == "object")
return {
name: "",
data: v
};
const k = X(v);
if (k)
return {
name: v,
data: k
};
}
return {
name: ""
};
}
const [a, l] = B(i(!!e.ssr));
function c() {
const g = r.callback;
g && (g(), o({}));
}
function u(g) {
if (JSON.stringify(a) !== JSON.stringify(g))
return c(), l(g), !0;
}
function f() {
var g;
const v = e.icon;
if (typeof v == "object") {
u({
name: "",
data: v
});
return;
}
const k = X(v);
if (u({
name: v,
data: k
}))
if (k === void 0) {
const d = Tt([v], f);
o({
callback: d
});
} else k && ((g = e.onLoad) === null || g === void 0 || g.call(e, v));
}
G(() => (n(!0), c), []), G(() => {
t && f();
}, [e.icon, t]);
const { name: h, data: m } = a;
return m ? Qt({
...U,
...m
}, e, h) : e.children ? e.children : e.fallback ? e.fallback : W("span", {});
}
const Ln = ae((e, t) => be({
...e,
_ref: t
}));
ae((e, t) => be({
inline: !0,
...e,
_ref: t
}));
const jn = {
width: 24,
height: 24,
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 13a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zm6-4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1zM4 20h14"/>'
}, Cn = {
width: 24,
height: 24,
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 19h16M4 15l4-6l4 2l4-5l4 4"/>'
}, Mn = {
width: 24,
height: 24,
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m4 19l4-6l4 2l4-5l4 4v5H4m0-7l3-4l4 2l5-6l4 4"/>'
}, Rn = {
width: 24,
height: 24,
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M10 3.2A9 9 0 1 0 20.8 14a1 1 0 0 0-1-1H13a2 2 0 0 1-2-2V4a.9.9 0 0 0-1-.8"/><path d="M15 3.5A9 9 0 0 1 20.5 9H16a1 1 0 0 1-1-1V3.5"/></g>'
}, In = {
width: 24,
height: 24,
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M3 3v18h18"/><path d="M7 15a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5 7a2 2 0 1 0 4 0a2 2 0 1 0-4 0m5-9l-6 1.5m-.887 2.15l2.771 3.695M16 12.5l-5 2"/></g>'
}, Fn = {
width: 24,
height: 24,
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 16a3 3 0 1 0 6 0a3 3 0 1 0-6 0m11 3a2 2 0 1 0 4 0a2 2 0 1 0-4 0M10 7.5a4.5 4.5 0 1 0 9 0a4.5 4.5 0 1 0-9 0"/>'
}, On = {
width: 24,
height: 24,
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="m12 3l9.5 7L18 21H6L2.5 10z"/><path d="m12 7.5l5.5 4L15 17H8.5l-2-5.5z"/><path d="m2.5 10l9.5 3l9.5-3"/><path d="M12 3v10l6 8M6 21l6-8"/></g>'
}, Sn = {
width: 24,
height: 24,
body: '<g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path d="M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0"/><path d="M15.51 15.56A5 5 0 1 0 12 17"/><path d="M18.832 17.86A9 9 0 1 0 12 21m0-9v9"/></g>'
}, An = {
width: 24,
height: 24,
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm8-2v16m-8-5h8m0-3h8m-4 0v8m0-4h4"/>'
}, Tn = {
width: 24,
height: 24,
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5zm0 5h18M10 3v18"/>'
};
export {
Rn as A,
In as B,
Fn as C,
On as D,
Sn as E,
Jt as F,
An as G,
Tn as H,
Ln as I,
gn as J,
Yt as K,
hn as L,
un as a,
cn as b,
tn as c,
nn as d,
bn as e,
En as f,
kn as g,
vn as h,
fn as i,
dn as j,
pn as k,
Xt as l,
mn as m,
sn as n,
wn as o,
ln as p,
yn as q,
xn as r,
en as s,
rn as t,
on as u,
an as v,
Kt as w,
jn as x,
Cn as y,
Mn as z
};
//# sourceMappingURL=icons-D95augkg.js.map