���Root Mod By V1rus_Alfa
User / IP
:
216.73.217.78
Host / Server
:
195.214.235.115 / npln.ir
System
:
Linux damavand.pws-dns.net 5.14.0-503.35.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 4 05:23:43 EDT 2025 x86_64
Command
|
Upload
|
Mass Deface
|
Create
:
/
home2
/
cutunixc
/
.trash
/
node_modules.2
/
@nuxt
/
icon
/
dist
/
runtime
/
components
/
Viewing: shared.js
import { computed } from "vue"; import { loadIcons, getIcon as _getIcon } from "@iconify/vue"; import { useAppConfig } from "#imports"; import { init as initClientBundle } from "#build/nuxt-icon-client-bundle"; export { initClientBundle }; export async function loadIcon(name, timeout) { if (!name) return null; initClientBundle(); const _icon = _getIcon(name); if (_icon) return _icon; const load = new Promise((resolve) => loadIcons([name], () => resolve())).catch(() => null); if (timeout > 0) await Promise.race([load, new Promise((resolve) => setTimeout(() => resolve(), timeout))]); else await load; return _getIcon(name); } export function useResolvedName(getName) { const options = useAppConfig().icon; const collections = (options.collections || []).sort((a, b) => b.length - a.length); return computed(() => { const name = getName(); const bare = name.startsWith(options.cssSelectorPrefix) ? name.slice(options.cssSelectorPrefix.length) : name; const resolved = options.aliases?.[bare] || bare; if (!resolved.includes(":")) { const collection = collections.find((c) => resolved.startsWith(c + "-")); return collection ? collection + ":" + resolved.slice(collection.length + 1) : resolved; } return resolved; }); }
Coded With 💗 by
0x6ick Mod By V1rus_Alfa