1import{j as t}from"./index-NamndXyn.js";import{P as f}from"./PageLayout-JVW7Z6KA.js";import{B as m,b as u}from"./constants-CkZBgjC3.js";import{O as w}from"./OkxRulesButton-CewPD3MC.js";import{u as k}from"./useBackground-f0T020YG.js";import{L as a}from"./link-C62YDc0N.js";import{u as o,c as y,g as l}from"./App-rjFnzICB.js";import{C as e}from"./constants-DBAPwxrU.js";import{S as r}from"./ShadowBlock-CcXuTutg.js";import"./phaser-chunk-B5XLjqoP.js";import"./RulesButton-CADfGYQz.js";import"./ShadowBlock.styles-B6HesaaX.js";const j=o.div` 2 display: flex; 3 flex-direction: column; 4 gap: 12px; 5`,c=o.div` 6 width: 100%; 7 display: flex; 8 flex-direction: column; 9 align-items: center; 10 gap: 16px; 11 padding: 16px; 12`,C=o.img` 13 width: 60%; 14`,B=o.div` 15 width: 100%; 16 display: flex; 17 flex-direction: column; 18 align-items: center; 19 gap: 12px; 20 padding: 12px; 21`,v=o.p` 22 font-family: 'Press Start 2P', sans-serif; 23 font-size: 12px; 24 font-weight: 400; 25 line-height: 12px; 26 text-align: center; 27`,b=o.p` 28 font-family: 'Press Start 2P', sans-serif; 29 font-size: 20px; 30 font-weight: 400; 31 line-height: 20px; 32 text-align: center; 33 color: ${e.greenColor}; 34`,S=o.div` 35 width: 100%; 36 height: 1px; 37 background: ${e.lightGrayColor}; 38`,d=o.p` 39 font-family: 40 JetBrains Mono, 41 serif; 42 font-size: 16px; 43 font-weight: 500; 44 line-height: 20px; 45 text-align: center; 46`,P=o.p` 47 font-family: 48 JetBrains Mono, 49 serif; 50 font-size: 16px; 51 font-weight: 700; 52 line-height: 20.8px; 53 text-align: center; 54`,z=o.p` 55 font-family: 56 JetBrains Mono, 57 serif; 58 font-size: 16px; 59 font-weight: 500; 60 line-height: 20px; 61 text-align: center; 62`,I=({okx_account:i})=>{const{t:n}=y();k(u);const p=i.total_invites_count,s=i.win_chance,x=i.prize,h=i.place+1,g=s===100;return t.jsx(f,{backButton:m,additionalButton:w,title:n("okx.welcome.title.general"),children:t.jsxs(j,{children:[t.jsx(r,{containerBackground:e.blackColor,shadowBackground:e.grayColor,wrapperStyle:{width:"100%"},type:"large",children:t.jsxs(c,{children:[t.jsx(C,{src:"/okx/okx-icon.png"}),t.jsx(r,{containerBackground:e.grayColor,shadowBackground:e.lightGrayColor,wrapperStyle:{width:"100%"},type:"large",children:t.jsxs(B,{children:[t.jsx(v,{children:n("okx.welcome.invited.title")}),t.jsxs(b,{children:[p," ",n("okx.welcome.invited.frens")]}),t.jsx(S,{}),g?t.jsx(d,{children:n("okx.welcome.invited.prize").replace("USD",`${x} USD`)}):t.jsxs(d,{children:[s,n("okx.welcome.invited.chance")]})]})}),t.jsxs(P,{children:[h," ",n("okx.welcome.invited.place")]})]})}),t.jsx(r,{containerBackground:e.blackColor,shadowBackground:e.grayColor,wrapperStyle:{width:"100%"},type:"large",children:t.jsxs(c,{children:[t.jsx(z,{children:n("okx.welcome.actions.title")}),t.jsx(a,{style:{width:"100%"},to:"/okx/invited-total",children:t.jsx(l,{buttonColor:e.secondaryGreenColor,children:n("okx.welcome.actions.invite-button")})}),t.jsx(a,{style:{width:"100%"},to:"/okx/leaderboard",children:t.jsx(l,{buttonColor:e.lightGrayColor,children:n("battleground.leaderboard")})})]})})]})})},F=I;export{F as default}; 63//# sourceMappingURL=index-LuckmdDk.js.map
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.