---
import Base from '../layouts/Base.astro';
import { has } from '../lib/modules';
import QueueApp from '../components/QueueApp.tsx';
import { tFor, dictFor } from '../lib/i18n.server';
// A page of a module that is off does not exist for this instance.
if (!has('ai')) return Astro.redirect('/print', 302);
const locale = Astro.locals.locale ?? 'en';
const t = tFor(locale);
const dict = dictFor(locale);
const jobId = Astro.url.searchParams.get('job');
---