import { createElement as $el } from "../utils_dom.js";
export let logoRgthree = "";
export async function logoRgthreeAsync() {
var _a;
if (logoRgthree)
return logoRgthree;
let baseUrl = null;
if (window.location.pathname.includes("/rgthree/")) {
const parts = (_a = window.location.pathname.split("/rgthree/")[1]) === null || _a === void 0 ? void 0 : _a.split("/");
if (parts && parts.length) {
baseUrl = parts.map(() => "../").join("") + "rgthree";
}
}
baseUrl = baseUrl || "./rgthree";
return fetch(`${baseUrl}/logo_markup.svg?fg=currentColor&cssClass=rgthree-logo&w=auto&h=auto`)
.then((r) => r.text())
.then((t) => {
if (t.length < 100) {
t = ``;
}
logoRgthree = t;
return t;
});
}
logoRgthreeAsync();
export const github = ``;
export const iconStarFilled = ``;
export const iconReplace = ``;
export const iconNode = ``;
export const iconGear = ``;
export const checkmark = ``;
export const logoCivitai = ``;
export const iconOutLink = ``;
export const link = ``;
export const pencil = ``;
export const dotdotdot = ``;
export const models = ``;
export const pencilColored = ``;
export const diskColored = ``;
export const folderColored = ``;
export const modelsColored = ``;
export const legoBlocksColored = ``;
export const legoBlockColored = ``;
export const gearColored = ``;
export function $svg(markup, attrs) {
if (!markup.match(/^\s*