import { b as attr } from './index2-CzosXNJA.js';
import { X as escape_html } from './context-BZ_07CFR.js';
import { P as Panel } from './Panel-D5AI50iS.js';

function _page($$renderer, $$props) {
  $$renderer.component(($$renderer2) => {
    let { data, params } = $$props;
    $$renderer2.push(`<div class="space-y-4 px-4 py-6"><div class="flex items-center justify-between"><h1 class="text-2xl font-semibold">${escape_html(data.title)}</h1> <a class="text-rc-green-400 hover:underline"${attr("href", `/tests/${params.agent}`)}>← Back</a></div> `);
    Panel($$renderer2, {
      class: "overflow-hidden p-0",
      children: ($$renderer3) => {
        $$renderer3.push(`<div class="max-h-[calc(100vh-10rem)] overflow-auto p-4"><pre class="whitespace-pre-wrap text-sm text-gray-100">${escape_html(data.content)}</pre></div>`);
      }
    });
    $$renderer2.push(`<!----></div>`);
  });
}

export { _page as default };
//# sourceMappingURL=_page.svelte-VvyCh50W.js.map
