PageSourceSearch

https://asketch.ai/_nuxt/PPVm8Dsz.js

js asketch.ai collected 2026-10-05 11:50:27 UTC 1,633 bytes, 36 lines download raw bytes

1const p = "modulepreload", y = function(u, i) {
2  return new URL(u, i).href;
3}, v = {}, w = function(i, a, f) {
4  let d = Promise.resolve();
5  if (a && a.length > 0) {
6    let E = function(e) {
7      return Promise.all(e.map((o) => Promise.resolve(o).then((s) => ({ status: "fulfilled", value: s }), (s) => ({ status: "rejected", reason: s }))));
8    };
9    const r = document.getElementsByTagName("link"), t = document.querySelector("meta[property=csp-nonce]"), m = (t == null ? void 0 : t.nonce) || (t == null ? void 0 : t.getAttribute("nonce"));
10    d = E(a.map((e) => {
11      if (e = y(e, f), e in v) return;
12      v[e] = true;
13      const o = e.endsWith(".css"), s = o ? '[rel="stylesheet"]' : "";
14      if (f) for (let c = r.length - 1; c >= 0; c--) {
15        const l = r[c];
16        if (l.href === e && (!o || l.rel === "stylesheet")) return;
17      }
18      else if (document.querySelector(`link[href="${e}"]${s}`)) return;
19      const n = document.createElement("link");
20      if (n.rel = o ? "stylesheet" : p, o || (n.as = "script"), n.crossOrigin = "", n.href = e, m && n.setAttribute("nonce", m), document.head.appendChild(n), o) return new Promise((c, l) => {
21        n.addEventListener("load", c), n.addEventListener("error", () => l(new Error(`Unable to preload CSS for ${e}`)));
22      });
23    }));
24  }
25  function h(r) {
26    const t = new Event("vite:preloadError", { cancelable: true });
27    if (t.payload = r, window.dispatchEvent(t), !t.defaultPrevented) throw r;
28  }
29  return d.then((r) => {
30    for (const t of r || []) t.status === "rejected" && h(t.reason);
31    return i().catch(h);
32  });
33};
34export {
35  w as _
36};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.