{"release_id":"01a2309f-d47d-0000-29bc-a17a97e31fa5","chunk_id":"01a2309f-d5be-79f1-9fb4-ba09a053edea","file":"DB9wDZS1.mjs","mappings":"0hBAAA,CAOoB,IAAAA,qBAAa,CAAC,EAAEC,eAAO,OAAO,QAE3CC,EAASC,EAAA,IACdF,MAAS,QACN,iDACAA,MAAS,OACR,+CACAA,MAAS,OACR,gDACA,+CAA8C,EAE9CG,EAAUD,EAAA,IACfF,MAAS,QAAU,eAAiBA,MAAS,OAAS,aAAeA,MAAS,OAAS,eAAiB,aAAY,MAIrHI,EAAGC,EAAA,EAAHC,EAAAF,EAAG,GAAA,IACI,MAAML,UAAeQ,EAACC,IAAA,OACpBC,EAAMP,EAAA,IAAGM,EAAI,GAACE,EAAA,WAAA,YACrBC,EAAAC,EAAAC,CAAA,EAAAC,EAAAC,EAAAJ,EAAA,CAAA,iBAKCK,EAAGC,EAAA,UAAHD,EAAG,EAAA,yCAAAE,EAA8CT,CAAM,GAAID,EAAI,GAACE,EAAA,YAAAQ,EAAkBf,CAAU,EAAG,cAAW,EAAA,EAAA,CAAA,MAA1Ga,CAAG,WADAR,EAAIT,EAAU,EAAG,GAACoB,EAAAC,CAAA,IAJtBC,EAAA,IAAAC,EAAAX,EAAA,EAAA;AAAA,SAEEF,CAAM,IAAGR,CAAS,EAAG,wCAAqC,EAAA,EAAA,CAAA,aAL9DG,CAAG,MAAHA,CAAG,CAFI","names":["totalSteps","mode","dotActive","$.derived","lineActive","div","root","$.each","_","i","active","$$props","div_1","$.first_child","fragment","node","$.sibling","div_2","root_2","$.get","$$render","consequent","$.template_effect","$.set_class"],"sources":["../../../../../../src/lib/components/StepIndicator.svelte"],"sourcesContent":["<script lang=\"ts\">\n\tinterface Props {\n\t\tcurrentStep: number;\n\t\ttotalSteps?: number;\n\t\tmode?: 'roast' | 'hype' | 'duel' | 'arena';\n\t}\n\n\tlet { currentStep, totalSteps = 3, mode = 'roast' }: Props = $props();\n\n\tconst dotActive = $derived(\n\t\tmode === 'arena'\n\t\t\t? 'bg-orange shadow-[0_0_6px_rgba(249,115,22,.5)]'\n\t\t\t: mode === 'duel'\n\t\t\t\t? 'bg-blue shadow-[0_0_6px_rgba(59,130,246,.5)]'\n\t\t\t\t: mode === 'hype'\n\t\t\t\t\t? 'bg-yellow shadow-[0_0_6px_rgba(255,229,0,.5)]'\n\t\t\t\t\t: 'bg-coral shadow-[0_0_6px_rgba(255,77,109,.5)]'\n\t);\n\tconst lineActive = $derived(\n\t\tmode === 'arena' ? 'bg-orange/30' : mode === 'duel' ? 'bg-blue/30' : mode === 'hype' ? 'bg-yellow/30' : 'bg-coral/30'\n\t);\n</script>\n\n<div class=\"flex items-center gap-2\">\n\t{#each Array(totalSteps) as _, i (i)}\n\t\t{@const active = i + 1 <= currentStep}\n\t\t<div\n\t\t\tclass=\"h-2 w-2 rounded-full transition-all duration-300\n\t\t\t\t{active ? dotActive : 'border border-border bg-transparent'}\"\n\t\t></div>\n\t\t{#if i < totalSteps - 1}\n\t\t\t<div class=\"h-px w-4 transition-all duration-300 {active && i + 2 <= currentStep ? lineActive : 'bg-border'}\"></div>\n\t\t{/if}\n\t{/each}\n</div>\n"],"version":3}