import{d as r,o as m,c,a as s,N as i,f as d,r as x,x as p,q as h}from"./index-DnbYEqLr.js";import{completeOnboarding as u}from"./useOnboarding-BgpIyX9l.js";const v="/assets/icon/favico-black-v2.svg",w={class:"min-h-full flex items-center justify-center p-3 sm:p-4 md:p-6"},b={class:"max-w-[1200px] w-full relative z-10 path-glass-container onb-scroll-container"},f={class:"grid grid-cols-1 md:grid-cols-3 gap-3 sm:gap-6 px-3 sm:px-4"},j=r({__name:"OnboardingOptions",setup(g){const n=p(),e=x(null);m(()=>{e.value="fresh"});function l(o){e.value=o}async function a(){try{await u()}catch{}n.push("/login").catch(()=>{})}return(o,t)=>(h(),c("div",w,[s("div",b,[t[3]||(t[3]=i('
Archipelago

Choose Your Setup

How would you like to get started?

',1)),s("div",f,[s("button",{onClick:t[0]||(t[0]=k=>l("fresh")),class:d(["path-option-card text-center",{"path-option-card--selected":e.value==="fresh"}])},[...t[1]||(t[1]=[i('

Fresh Start

Set up a new server from scratch

',3)])],2),t[2]||(t[2]=i('

Restore Backup

Restore from a previous backup

(Coming Soon)

Connect Existing

Connect to an existing Archipelago server

(Coming Soon)
',2))]),s("div",{class:"flex justify-center flex-shrink-0 px-3 sm:px-4 pb-4 sm:pb-6 mt-4 sm:mt-8"},[s("button",{onClick:a,class:"path-action-button path-action-button--continue"}," Continue ")])])]))}});export{j as default};