{"release_id":"01a1c502-4ad1-0000-ec62-adc54d3c69aa","chunk_id":"01a1c502-4d07-7d42-94df-3f5313ed8c9d","file":"79.BthDwZuz.mjs","mappings":"mzBAAA,SAKO,MAAAA,eAAwB,OAAO,EAC/BC,EAAKC,EAAA,IAAAC,EAAYH,CAAO,EAAC,OAAS,QAAU,oBAAsB,gBAAgB,MAQxFI,EAAIC,EAAA,EALJC,EAAW,UAAAC,GAAA,QAAEC,EAAA,MAAK,QAAAL,EAAOH,CAAO,EAAC,sBAAeC,CAAK,GAAA,EAAA,kBAWpD,IAAAQ,MANDL,CAAI,EAAA,CAAA,MAMHK,CAAG,aAEDC,EAAAH,EAAA,wBACCP,CAAO,4BACG,sCACC,aACJ,SAAU,GAAO,OAAQ,KAAM,QAAS,IAAI,uBAC/B,OAAAW,EAAA,KAAA,WAAW,qCACjB,+BACM,OAAAA,EAAA,KAAA,OAAO,2BACX,OAAAA,EAAA,KAAA,OAAO,6BACL,OAAAA,EAAA,KAAA,OAAO,mCAI1BC,EAAAL,EAAA,iCACkB,2CACE,uCACN,oBAjBNI,EAAA,KAAA,OAAS,QAAOE,EAAAC,CAAA,EAAAD,EAAAE,EAAA,EAAA,MAD1BN,CAAG,IANJL,CAAI,MAAJA,CAAI,KAPG","names":["contest","title","$.derived","$.get","main","root","$.head","$$anchor","$.document","div","RaterContestBoard","$$props","ContestRecap","$$render","consequent","alternate"],"sources":["../../../../../../src/routes/contest/[slug]/+page.svelte"],"sourcesContent":["<script lang=\"ts\">\n\timport ContestRecap from '$lib/components/contest/ContestRecap.svelte';\n\timport RaterContestBoard from '$lib/components/contest/RaterContestBoard.svelte';\n\n\tlet { data } = $props();\n\tconst contest = $derived(data.contest);\n\tconst title = $derived(contest.kind === 'rater' ? 'rater of the week' : 'most beautiful');\n</script>\n\n<svelte:head><title>week {contest.weekNumber} — {title} · ratemyd.</title></svelte:head>\n\n<!-- Archive view of a past (closed) week. Reuses the exact recap UI the /contest\n     page renders for last week, so an archived week reads identically — not the\n     old stripped-down standings list. Live weeks redirect to /contest (see load). -->\n<main class=\"mx-auto max-w-6xl px-5 pt-24 pb-40 md:px-8 md:pt-28 md:pb-28\">\n\t<a\n\t\thref=\"/contest\"\n\t\tclass=\"text-[11px] font-semibold tracking-[0.18em] text-muted uppercase no-underline transition-colors hover:text-text\"\n\t\t>← current contest</a\n\t>\n\t<div class=\"mt-5\">\n\t\t{#if data.kind === 'rater'}\n\t\t\t<RaterContestBoard\n\t\t\t\t{contest}\n\t\t\t\trows={data.raterBoard}\n\t\t\t\tmyRow={data.myRow}\n\t\t\t\tvote={{ eligible: false, reason: null, raterId: null }}\n\t\t\t\teligibleRaters={data.raterBoard.length}\n\t\t\t\tviewerId={data.viewerId}\n\t\t\t\tviewerEligible={data.viewer.eligible}\n\t\t\t\tviewerNick={data.viewer.nickname}\n\t\t\t\tviewerAvatar={data.viewer.avatarPath}\n\t\t\t\tmode=\"closed\"\n\t\t\t/>\n\t\t{:else}\n\t\t\t<ContestRecap\n\t\t\t\tlastContest={data.contest}\n\t\t\t\tlastStandings={data.standings}\n\t\t\t\tmyEntry={data.myEntry}\n\t\t\t/>\n\t\t{/if}\n\t</div>\n</main>\n"],"version":3}