1import{b as g,r as x,j as t,N as f,L as d}from"./context-DgzmvlGY.js";import"./localStorage-CKVD-vxv.js";import{B as u,s as n,n as o}from"./index-BjXvxcyq.js";import{u as j}from"./index-Cvntg64-.js";import"./lazyWithPreload-BOpUWxXI.js";import{r as m,q as i}from"./styles-DhXG5ubm.js";import{F as y}from"./FaCheck-CrraSyVr.js";import{u as _}from"./useUpgradeUrl-iEq4DLGA.js";import{S as c,F as $}from"./Toaster-Ds8HB-FV.js";import{b,A as v}from"./rootRouter-CgRnhq_1.js";import{L as w}from"./index-B7tSa0QU.js";import{L as C}from"./index-Dr4A2nOM.js";import{u as q}from"./useTranslation-CeWYOoBb.js";import"./index-SfzjO6KW.js";import"./index-DznIGqOw.js";import"./featuredPacksSnapshot-Dk1754E5.js";import"./date-fns-GIIpmwYI.js";import"./date-fns-locales-mMrgue2w.js";import"./module-CcmrFtJT.js";import"./types-TbSHmNnz.js";import"./index-e3mC8zWk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"craftserve-frontend@e8b9dd1"};var r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="52be90c9-301c-4c26-8ba1-11d9d6a7866d",e._sentryDebugIdIdentifier="sentry-dbid-52be90c9-301c-4c26-8ba1-11d9d6a7866d")}catch{}})();var I=m.GenIcon,k=function(r){return I({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"}}]})(r)},S=m.GenIcon,E=function(r){return S({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M360 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24zm-75.078 384H99.08c17.059-46.797 52.096-80 92.92-80 40.821 0 75.862 33.196 92.922 80zm.019-256H99.078C91.988 108.548 88 86.748 88 64h208c0 22.805-3.987 44.587-11.059 64z"}}]})(r)};const F=i.main.withConfig({displayName:"style__Shell",componentId:"sc-emkfr7-0"})(["width:100%;max-width:640px;margin:48px auto;padding:0 20px;@media (max-width:560px){margin:24px auto;}"]),H=i.div.withConfig({displayName:"style__CheckBadge",componentId:"sc-emkfr7-1"})(["width:64px;height:64px;display:flex;align-items:center;justify-content:center;border-radius:50%;background-color:",";color:",";"],({theme:e})=>e.colors.success,({theme:e})=>e.colors.white),p=i.div.withConfig({displayName:"style__Divider",componentId:"sc-emkfr7-2"})(["width:100%;height:1px;background-color:",";"],({theme:e})=>e.colors.border),l=i.div.withConfig({displayName:"style__InfoLine",componentId:"sc-emkfr7-3"})(["display:flex;align-items:flex-start;gap:10px;padding:10px 14px;border-radius:8px;border:1px solid ",";background-color:","1c;width:100%;svg{flex:0 0 auto;margin-top:2px !important;color:",";}"],({theme:e})=>e.colors.borderSubtle,({theme:e})=>e.colors.success,({theme:e})=>e.colors.success),L=i(u).attrs({$variant:"primary"}).withConfig({displayName:"style__PrimaryCta",componentId:"sc-emkfr7-4"})([""]),N=i(u).attrs({$variant:"secondary"}).withConfig({displayName:"style__SecondaryCta",componentId:"sc-emkfr7-5"})([""]),re=()=>{const{t:e}=q(),[r]=g(),a=r.get("plan")??"",s=_(a),h=x.useMemo(()=>a===c.HYTALE_FREE?"Hytale Free":a===c.FREE?"Free":a,[a]);return $.includes(a)?t.jsx(b,{children:t.jsx(w,{children:t.jsx(F,{"data-testid":"queue-joined-screen",children:t.jsx(C,{$fullWidth:!0,children:t.jsxs(n,{$padding:"32px 24px",$gap:20,$align:"center",$oppositeAlign:"center",children:[t.jsx(H,{"aria-hidden":"true",children:t.jsx(y,{size:26})}),t.jsxs(n,{$padding:0,$gap:8,$align:"center",$oppositeAlign:"center",children:[t.jsx(o,{$variant:"h2",$centered:!0,children:e("queue_joined.title")}),t.jsx(o,{$variant:"p2",$centered:!0,style:{maxWidth:480,opacity:.8},children:t.jsx(v,{i18nKey:"queue_joined.body",values:{plan:h},components:{b:t.jsx("strong",{})}})})]}),t.jsx(p,{}),t.jsxs(n,{$padding:"4px 0 0 0",$gap:10,$fullWidth:!0,style:{maxWidth:480},children:[t.jsxs(l,{children:[t.jsx(k,{size:18,"aria-hidden":"true"}),t.jsx(o,{$variant:"p3",children:e("queue_joined.info_notify")})]}),t.jsxs(l,{children:[t.jsx(E,{size:18,"aria-hidden":"true"}),t.jsx(o,{$variant:"p3",children:e("queue_joined.info_no_action")})]})]}),t.jsxs(n,{$padding:"8px 0 0 0",$gap:12,$direction:"horizontal",$align:"center",children:[t.jsx(L,{as:d,to:"/","data-testid":"queue-joined-goto-home","data-ph-capture-attribute-id":"queue_joined:goto_home",children:e("queue_joined.cta_home")}),t.jsx(N,{as:d,to:s,"data-testid":"queue-joined-upgrade","data-ph-capture-attribute-id":"queue_joined:upgrade",children:e("queue_joined.cta_upgrade")})]}),t.jsx(p,{}),t.jsxs(n,{$padding:0,$gap:6,$align:"center",$oppositeAlign:"center",children:[t.jsx(o,{$variant:"p4",$centered:!0,style:{opacity:.75},children:e("queue_joined.upsell_body")}),t.jsx(j,{href:s,"data-testid":"queue-joined-upsell-cta","data-
1ph-capture-attribute-id":"queue_joined:upsell",children:e("queue_joined.upsell_cta")})]})]})})})})}):t.jsx(f,{to:"/",replace:!0})};export{re as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.