PageSourceSearch

https://claimfreesol.com/assets/stealth-transfer-DBVb_gbG.js

js claimfreesol.com collected 2026-10-07 04:02:33 UTC 40,353 bytes, 12 lines download raw bytes

1import{g as ke,h as Ce,C as T,l as W,a as K,x as Te,k as _e,D as be,n as ee,W as Ae,d as w,c as E,u as R,j as t,y as ve,p as Pe,I as C,f as Q,A as ye,E as Ie,F as Be,G as oe,H as je,J as Oe,e as Ne}from"./index-B9Lj2nDk.js";import{u as Ee}from"./useBalance-C53KE2W2.js";import{m as Fe,r as A,n as he,o as J,q as te,P as se,K as Re,t as We,v as $e,l as Le}from"./solana-DtR1GEm-.js";import{I as ue}from"./InputNumber-xQV8sU5Z.js";import{I as Me,u as De}from"./InputText-8eM0cUap.js";import{S as Y}from"./StyledBtn-DEnpPsyL.js";import{u as ze}from"./index-CZFannLJ.js";import"./chart-J7T9Xd_q.js";import"./antd-QZd_kEnk.js";import"./coinFlip-BfStRJnp.js";function Ke(s,e,r=1){if(e==null&&(e=s,s=0),!Number.isInteger(r)||r===0)throw new Error("The step value must be a non-zero integer.");const m=Math.max(Math.ceil((e-s)/r),0),n=new Array(m);for(let x=0;x<m;x++)n[x]=s+x*r;return n}const U={balance:W(0),receivingWallet:"",amountOfSOL:.1,numberOfTransfers:10,currentProgress:T.INPUT,wallets:[],lastSuccessfulWallet:{index:0,Address:"",Mnemonic:"",KeypairJSON:"",PrivateKey:"",hash:""}},He=Ce()((s,e)=>({...U,actions:{setBalance:r=>s(()=>({balance:r})),setReceivingWallet:r=>s(()=>({receivingWallet:r})),setAmount:r=>s(()=>({amountOfSOL:r})),setNumberOfTransfers:r=>s(()=>({numberOfTransfers:r})),setCurrentProgress:r=>s(()=>({currentProgress:r})),setWallets:r=>s(()=>({wallets:r})),setLastSuccessfulWallet:r=>s(()=>({lastSuccessfulWallet:r})),cancel:()=>s(()=>({currentProgress:U.currentProgress,lastSuccessfulWallet:U.lastSuccessfulWallet})),reset:()=>s(U)}})),L=s=>He(ke(s)),Z=()=>{const{amountOfSOL:s,numberOfTransfers:e,receivingWallet:r,balance:m,wallets:n,actions:x}=L(f=>({amountOfSOL:f.amountOfSOL,numberOfTransfers:f.numberOfTransfers,receivingWallet:f.receivingWallet,balance:f.balance,wallets:f.wallets,actions:f.actions})),{connection:a}=Fe(),{walletAddress:c,wallet:l}=K(f=>({walletAddress:f.walletAddress,wallet:f.wallet})),i=5e3,o=3e4,d=0,h=.001,p=be,u=Ae,g=A.useMemo(()=>Te(r),[r]),b=A.useMemo(()=>!!(s&&m.gte(s)),[s,m]),y=A.useMemo(()=>_e(W(i).add(W(d).mul(o).div(1e6))),[]),v=A.useMemo(()=>W(e).eq(0)?W(0):y.mul(W(e).add(1)),[e,y]),_=A.useMemo(()=>W(p).mul(Number(e)),[e]),S=A.useMemo(()=>s?W(s).sub(v).sub(_):W(0),[s,v,_]),P=A.useMemo(()=>!!(s&&e&&S.lt(h)),[s,e,S]),I=A.useMemo(()=>g&&b&&!!e&&S.gte(h),[g,b,e,S]),F=async()=>{try{if(n.length){await B(n[0]);for(let f=0;f<n.length;f++){const j=f+1,k=n[f],N=n[j];await O(k,N||r,j)}}}catch(f){throw f}},B=async f=>{if(l.publicKey&&s){const{blockhash:j,lastValidBlockHeight:k}=await a.getLatestBlockhash(),N=new he({blockhash:j,lastValidBlockHeight:k,feePayer:l.publicKey});N.add(J.setComputeUnitPrice({microLamports:d})),N.add(J.setComputeUnitLimit({units:o})),N.add(te.transfer({fromPubkey:l.publicKey,toPubkey:new se(f.Address),lamports:ee(W(s).sub(_).sub(y)).toNumber()})),N.add(te.transfer({fromPubkey:l.publicKey,toPubkey:new se(u),lamports:ee(_).toNumber()}));const H=await l.sendTransaction(N,a),G=await a.confirmTransaction({blockhash:j,lastValidBlockHeight:k,signature:H},"confirmed");if(G.value.err)throw G.value.err;x.setLastSuccessfulWallet({...f,index:0,hash:H}),x.setCurrentProgress(T.TRANSFERRING)}},O=async(f,j,k)=>{const N=Re.fromSeed(We.decode(f.PrivateKey).subarray(0,32)),H=new se(typeof j=="string"?j:j.Address),[G,{blockhash:xe,lastValidBlockHeight:de}]=await Promise.all([a.getBalance(N.publicKey),a.getLatestBlockhash()]),me=W(G).sub(ee(y));if(me.lte(0))throw"not enough $SOL";const V=new he({blockhash:xe,lastValidBlockHeight:de,feePayer:N.publicKey});V.add(J.setComputeUnitPrice({microLamports:d})),V.add(J.setComputeUnitLimit({units:o})),V.add(te.transfer({fromPubkey:N.publicKey,toPubkey:H,lamports:me.toNumber()}));const pe=await $e(a,V,[N]),fe=await a.confirmTransaction({blockhash:xe,lastValidBlockHeight:de,signature:pe},"confirmed");if(fe.value.err)throw fe.value.err;x.setLastSuccessfulWallet({...typeof j=="string"?{PrivateKey:"",KeypairJSON:"",Address:j,Mnemonic:""}:j,index:k,hash:pe})};return{isVaildReceivingWallet:g,isVaildAmount:b,singleCost:y,totalCost:v,serviceFee:_,estimatedReceiving:S,belowMinReceiving:P,MIN_RECEIVING:h,ready:I,sendTransfers:F}},X=w.div(["",""],()=>({height:"1px",width:"100%","--tw-bg-opacity":"1",backgroundColor:"rgb(255 255 255 / var(--tw-bg-opacity, 1))",opacity:"0.1"})),ce=w.div(["border-radius:16px;background:#101010;padding:38px 32px;line-height:1;",""],()=>({"@media (max-width: 1280px)":{borderRadius:"8px",padding:"32px 20px"}})),D=w.div(["color:#fff;font-size:16px;font-style:normal;font-weight:400;",""],()=>({display:"flex",alignItems:"center",gap:"4px","@media (max-width: 1280px)":{fontSize:"14px"}})),q=w.div(["",""],()=>({display:"flex",minWidth:"0px",flexDirection:"column",gap:"20px","@media (max-width: 1280px)":{gap:"10px"}})),ne=w.div(["color:#a5ffb8;font-size:20px;font-style:normal;font-weight:400;",""],()=>({"@media (max-width: 1280px)":{fontSize:"16px"}})),Ge=w.div(["border-radius:8px;border:1px solid #474545;background:#101010;color:#fff;font-size:14px;font-style:normal;font-weight:400;padding:5px 11px;&:hover,&.active{border-color:#a5ffb8;}",""],()=>
1({cursor:"pointer",transitionProperty:"color, background-color, border-color, text-decoration-color, fill, stroke",transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms","@media (max-width: 1280px)":{fontSize:"12px"}})),Ve=s=>{const e=E(42),{className:r,style:m}=s,{actions:n,balance:x,amountOfSOL:a,numberOfTransfers:c}=L(qe);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=[10,50,100,500],e[0]=l):l=e[0];const i=l,{t:o}=R();let d;e[1]!==r?(d=Q(r,"flex items-center gap-[40px] max-xl:flex-col max-xl:items-start max-xl:gap-[16px]"),e[1]=r,e[2]=d):d=e[2];let h;e[3]!==o?(h=o("Amount"),e[3]=o,e[4]=h):h=e[4];let p;e[5]!==h?(p=t.jsxs(D,{children:[h," *"]}),e[5]=h,e[6]=p):p=e[6];let u;e[7]!==a||e[8]!==x?(u=W(a).gt(0)&&x.lt(Number(a)),e[7]=a,e[8]=x,e[9]=u):u=e[9];const g=!!u;let b;e[10]!==g||e[11]!==a||e[12]!==n.setAmount?(b=t.jsx(ue,{$error:g,placeholder:"0",value:a,$hoverColor:"#A5FFB8",onChange:n.setAmount}),e[10]=g,e[11]=a,e[12]=n.setAmount,e[13]=b):b=e[13];let y;e[14]===Symbol.for("react.memo_cache_sentinel")?(y=t.jsx(D,{children:"SOL"}),e[14]=y):y=e[14];let v;e[15]!==b?(v=t.jsxs("div",{className:"flex items-center gap-[16px] max-xl:gap-[12px]",children:[b,y]}),e[15]=b,e[16]=v):v=e[16];let _;e[17]!==p||e[18]!==v?(_=t.jsxs(q,{className:"shrink-0",children:[p,v]}),e[17]=p,e[18]=v,e[19]=_):_=e[19];let S;e[20]!==o?(S=o("Number of Transfers"),e[20]=o,e[21]=S):S=e[21];let P;e[22]!==S?(P=t.jsxs(D,{children:[S," *"]}),e[22]=S,e[23]=P):P=e[23];let I;e[24]!==c||e[25]!==n?(I=t.jsx("div",{className:"flex gap-[12px] max-xl:gap-[8px]",children:i.map((k,N)=>t.jsx(Ge,{className:Q({active:c===k}),onClick:()=>n.setNumberOfTransfers(k),children:k},N))}),e[24]=c,e[25]=n,e[26]=I):I=e[26];const F=!!(c&&(Number(c)<3||Number(c)>1e3));let B;e[27]!==F||e[28]!==c||e[29]!==n.setNumberOfTransfers?(B=t.jsx(ue,{min:3,max:1e3,$error:F,value:c,placeholder:"Custom",$hoverColor:"#A5FFB8",onChange:n.setNumberOfTransfers}),e[27]=F,e[28]=c,e[29]=n.setNumberOfTransfers,e[30]=B):B=e[30];let O;e[31]!==I||e[32]!==B?(O=t.jsxs("div",{className:"flex flex-wrap items-center gap-[16px] max-xl:gap-[8px]",children:[I,B]}),e[31]=I,e[32]=B,e[33]=O):O=e[33];let f;e[34]!==P||e[35]!==O?(f=t.jsxs(q,{children:[P,O]}),e[34]=P,e[35]=O,e[36]=f):f=e[36];let j;return e[37]!==d||e[38]!==m||e[39]!==_||e[40]!==f?(j=t.jsxs("div",{className:d,style:m,children:[_,f]}),e[37]=d,e[38]=m,e[39]=_,e[40]=f,e[41]=j):j=e[41],j},Je=s=>{const e=E(8),{className:r,style:m}=s,{receivingWallet:n,actions:x}=L(Ye),{setReceivingWallet:a}=x,{isVaildReceivingWallet:c}=Z();let l;e[0]!==a?(l=h=>{a(h.target.value)},e[0]=a,e[1]=l):l=e[1];const i=l,o=!!(n&&!c);let d;return e[2]!==r||e[3]!==m||e[4]!==o||e[5]!==n||e[6]!==i?(d=t.jsx(Me,{className:r,style:m,$hoverColor:"#A5FFB8",$error:o,maxLength:44,allowClear:!0,value:n,placeholder:"Input Wallet Address",onChange:i}),e[2]=r,e[3]=m,e[4]=o,e[5]=n,e[6]=i,e[7]=d):d=e[7],d},Ue=s=>{const e=E(18),{className:r,style:m}=s,{t:n}=R(),{setVisible:x}=Le(),a=K(Ze),c=L(et);let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l={refetchInterval:3e4},e[0]=l):l=e[0];const{data:i}=Ee(l);let o;e[1]===Symbol.for("react.memo_cache_sentinel")?(o={withStatus:!0,statusTime:1e3},e[1]=o):o=e[1];const{copy:d,copied:h}=ve(o);let p;e[2]!==i||e[3]!==c?(p=()=>{i!==void 0&&c.setBalance(i)},e[2]=i,e[3]=c,e[4]=p):p=e[4];let u;e[5]!==i?(u=[i],e[5]=i,e[6]=u):u=e[6],A.useEffect(p,u);let g;e[7]!==a||e[8]!==n||e[9]!==h||e[10]!==d||e[11]!==i||e[12]!==x?(g=a?t.jsxs("div",{className:"flex gap-[80px] max-xl:gap-[76px]",children:[t.jsxs(q,{children:[t.jsx(D,{className:"max-xl:!text-[10px] max-xl:opacity-70",children:n("Address")}),t.jsxs(D,{children:[t.jsxs("a",{className:"flex items-center gap-[4px]",href:`https://solscan.io/address/${a}`,target:"_blank",rel:"noreferrer",children:[Pe(a),t.jsx(C,{src:"/Arrow_up_right.svg",className:"max-xl:w-[10px]",width:16,height:16,alt:""})]}),t.jsx(C,{src:h?"/check.svg":"/copy.svg",width:16,height:16,className:"ml-[4px] cursor-pointer invert max-xl:w-[12px]",alt:"copy",onClick:()=>d(a)})]})]}),t.jsxs(q,{children:[t.jsx(D,{className:"max-xl:!text-[10px] max-xl:opacity-70",children:n("SOL Balance")}),t.jsxs(D,{className:"!gap-[8px]",children:[t.jsx(C,{src:"/Solana_logo.svg",width:16,height:16,alt:""}),t.jsx("span",{className:"truncate",children:i?.toString()})]})]})]}):t.jsx(Y,{onClick:()=>x(!0),className:"mx-auto !w-[350px] !bg-[#A5FFB8] max-xl:!h-[35px] max-xl:!w-full",children:n("connect wallet")}),e[7]=a,e[8]=n,e[9]=h,e[10]=d,e[11]=i,e[12]=x,e[13]=g):g=e[13];let b;return e[14]!==r||e[15]!==m||e[16]!==g?(b=t.jsx("div",{className:r,style:m,children:g}),e[14]=r,e[15]=m,e[16]=g,e[17]=b):b=e[17],b},Qe=w(ce)(["",""],()=>({})),Xe=s=>{const e=E(23),{className:r,style:m}=s,{t:n}=R();let x;e[0]!==n?(x=n("Sending Wallet"),e[0]=n,e[1]=x):x=e[1];let a;e[2]!==x?(a=t.jsx(ne,{children:x}),e[2]=x,e[3]=a):a=e[3];let c,l;e[4]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(Ue,{className:"mt-[40px]"}),l=t.jsx(X,{className:"m-[40px_0_16px] max-xl:mt-[20px]"}),e[4]=c,e[5]=l):(c=e[4],l=e[5]);let i;e[6]!==n?(i=n("Final Receiving Wallet"),e[6]=n,e[7]=i):i=e[7];let o;e[8]!==i?(o=t.jsxs(ne,{children:[i," *"]}),e[8]=i,e[9]=o):o=e[9];let d,h;e[10]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx(Je,{className:"mt-[24px] max-xl:mt-[16px]"}),h=t.jsx(X,{className:"m-[26px_0_16px] max-xl:mt-[20px]"}),e[10]=d,e[11]=h):(d=e[10],h=e[11]);let p;e[12]!==n?(p=n("Transfer Details"),e[12]=n,e[13]=p):p=e[13];let u;e[14]!==p?(u=t.jsx(ne,{children:p}),e[14]=p,e[15]=u):u=e[15];let g;e[16]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx(Ve,{className:"mt-[18px] max-xl:mt-[14px]"}),e[16]=g):g=e[16];let b;return e[17]!==r||e[18]!==m||e[19]!==a||e[20]!==o||e[21]!==u?(b=t.jsxs(Qe,{className:r,style:m,children:[a,c,l,o,d,h,u,g]}),e[17]=r,e[18]=m,e[19]=a,e[20]=o,e[21]=u,e[22]=b):b=e[22],b};function qe(s){return{actions:s.actions,balance:s.balance,amountOfSOL:s.amountOfSOL,numberOfTransfers:s.numberOfTransfers}}function Ye(s){return{receivingWallet:s.receivingWallet,actions:s.actions}}function Ze(s){return s.walletAddress}function et(s){return s.actions}const le=w(Y)(["",""],()=>({width:"100% !important","--tw-bg-opacity":"1 !important",backgroundColor:"rgb(165 255 184 / var(--tw-bg-opacity, 1)) !important","@media (max-width: 1280px)":{height:"35px",paddingLeft:"12px",paddingRight:"12px"}})),tt=w.div(["color:#fff;opacity:0.7;font-family:Dinkie;font-size:10px;font-weight:400;line-height:120%;text-align:center;margin-top:10px;"]),st=w.div(["",""],()=>({})),we=({className:s,style:e,loadingSize:r})=>{const{globalProcessing:m,setGlobalProcessing:n}=K(v=>({globalProcessing:v.globalProcessing,setGlobalProcessing:v.setGlobalProcessing})),{actions:x,currentProgress:a,numberOfTransfers:c,wallets:l,lastSuccessfulWallet:i}=L(v=>({actions:v.actions,currentProgress:v.currentProgress,numberOfTransfers:v.numberOfTransfers,wallets:v.w
1allets,lastSuccessfulWallet:v.lastSuccessfulWallet})),{ready:o,sendTransfers:d}=Z(),h=ze(),{openNotification:p}=De(),{t:u}=R(),g=async()=>{try{n(!0),x.setCurrentProgress(T.CREATING);const v=await h.task("generateWallet",Number(c));if(v.length)x.setWallets(v),x.setCurrentProgress(T.CREATED);else throw x.setCurrentProgress(T.INPUT),"create error"}catch(v){console.error("create error:",v),p(2,"",{message:"Create Failed"})}finally{n(!1)}},b=async()=>{try{n(!0),ye(l),x.setCurrentProgress(T.DOWNLOADED)}catch(v){console.error("download error:",v),p(2,"",{message:"Download Failed"})}finally{n(!1)}},y=async()=>{try{n(!0),await d(),Ie(),x.setCurrentProgress(T.FINISHED)}catch(v){console.error("transfer error:",v),Be(v)?p(2):p(2,"",{message:"Transfer Failed"}),i.hash&&x.setCurrentProgress(T.FAILED)}finally{n(!1)}};return t.jsxs(st,{className:s,style:e,children:[(a===T.INPUT||a===T.CREATING)&&t.jsxs(le,{loading:m,loadingSize:r,disabled:!o||m,onClick:g,children:[u("Create Wallets")+" (1/3)"," ",m&&"..."]}),a===T.CREATED&&t.jsx(le,{loading:m,loadingSize:r,disabled:m,onClick:b,children:u("Download Wallet")+" (2/3)"}),a===T.DOWNLOADED&&t.jsx(le,{loading:m,loadingSize:r,disabled:m,onClick:y,children:u("Start to Transfer")+" (3/3)"}),a<T.TRANSFERRING&&t.jsxs(tt,{children:[u("Only")," ",be," ",u("SOL per hop")]})]})},M=w.div(["color:#fff;font-size:20px;font-style:normal;font-weight:400;",""],()=>({display:"flex",alignItems:"center",gap:"12px","@media (max-width: 1280px)":{gap:"8px",fontSize:"14px"}})),ae=w(M)(["font-size:24px;",""],()=>({display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap","@media (max-width: 1280px)":{fontSize:"16px"}})),ie=w.div(["",""],()=>({display:"flex",minWidth:"0px",flexDirection:"column",gap:"20px","@media (max-width: 1280px)":{gap:"15px"}})),nt=w.div(["color:#fff;font-size:20px;font-style:normal;font-weight:400;",""],()=>({"@media (max-width: 1280px)":{fontSize:"16px"}})),lt=w(ce)(["",""],()=>({})),Se=s=>{const e=E(20),{className:r,style:m}=s,n=K(at),{estimatedReceiving:x,serviceFee:a,totalCost:c,belowMinReceiving:l,MIN_RECEIVING:i}=Z(),o=L(it),d=oe("xl","max-width"),{t:h}=R();let p;e[0]!==h?(p=h("Stealth Transfer Overview"),e[0]=h,e[1]=p):p=e[1];let u;e[2]!==p?(u=t.jsxs(nt,{children:["👻 ",p]}),e[2]=p,e[3]=u):u=e[3];let g;e[4]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx(X,{className:"mt-[28px] max-xl:mt-[20px]"}),e[4]=g):g=e[4];let b;e[5]!==n||e[6]!==h||e[7]!==x||e[8]!==l||e[9]!==i||e[10]!==c||e[11]!==a||e[12]!==d||e[13]!==o?(b=n&&t.jsxs(t.Fragment,{children:[t.jsxs(ie,{className:"mt-[40px] max-xl:mt-[28px]",children:[t.jsxs(M,{children:[h("Estimated Receiving"),":"]}),t.jsxs(M,{children:[t.jsx(C,{src:"/Solana_logo.svg",className:"max-xl:w-[20px]",width:24,height:24,alt:""}),t.jsx(ae,{className:"!text-[28px] !text-[#A5FFB8] max-xl:!text-[16px]",children:x.toString()})]}),l&&t.jsxs("div",{className:"text-[14px] text-[#f00] max-xl:text-[12px]",children:["Minimum receiving amount is ",i," SOL."]})]}),t.jsxs("div",{className:"mt-[40px] flex gap-[8px] max-xl:mt-[28px]",children:[t.jsxs(ie,{className:"flex-1",children:[t.jsxs(M,{children:[h("Est. Gas"),":"]}),t.jsxs(M,{children:[t.jsx(C,{src:"/Solana_logo.svg",className:"max-xl:w-[20px]",width:24,height:24,alt:""}),t.jsx(ae,{children:c.toString()})]})]}),t.jsxs(ie,{className:"flex-1",children:[t.jsxs(M,{children:[h("Service Fee"),":"]}),t.jsxs(M,{children:[t.jsx(C,{src:"/Solana_logo.svg",className:"max-xl:w-[20px]",width:24,height:24,alt:""}),t.jsx(ae,{children:a.toString()})]})]})]}),!d&&o<T.TRANSFERRING&&t.jsx(we,{className:"mt-[48px]"})]}),e[5]=n,e[6]=h,e[7]=x,e[8]=l,e[9]=i,e[10]=c,e[11]=a,e[12]=d,e[13]=o,e[14]=b):b=e[14];let y;return e[15]!==r||e[16]!==m||e[17]!==u||e[18]!==b?(y=t.jsxs(lt,{className:r,style:m,children:[u,g,b]}),e[15]=r,e[16]=m,e[17]=u,e[18]=b,e[19]=y):y=e[19],y};function at(s){return s.walletAddress}function it(s){return s.currentProgress}const rt=w.div(["color:#fff;text-align:center;font-size:14px;font-style:normal;font-weight:400;",""],()=>({display:"flex",cursor:"pointer",alignItems:"center",justifyContent:"center",gap:"4px",padding:"8px"})),ot=w.div(["border-top:1px solid #282828;background:#101010;",""],()=>({})),ct=s=>{const e=E(20),{className:r,style:m,open:n,setOpen:x}=s,{t:a}=R();let c;e[0]!==x||e[1]!==n?(c=()=>x(!n),e[0]=x,e[1]=n,e[2]=c):c=e[2];let l;e[3]!==a?(l=a("Overview"),e[3]=a,e[4]=l):l=e[4];const i=!n;let o;e[5]!==i?(o=Q("transition-transform",{"rotate-180":i}),e[5]=i,e[6]=o):o=e[6];let d;e[7]!==o?(d=t.jsx(C,{className:o,src:"/chevron_down.svg",width:12,height:12,alt:""}),e[7]=o,e[8]=d):d=e[8];let h;
1e[9]!==c||e[10]!==l||e[11]!==d?(h=t.jsxs(rt,{onClick:c,children:[l,d]}),e[9]=c,e[10]=l,e[11]=d,e[12]=h):h=e[12];let p;e[13]!==n?(p=n&&t.jsx(Se,{className:"!rounded-none !p-[14px_20px_40px]"}),e[13]=n,e[14]=p):p=e[14];let u;return e[15]!==r||e[16]!==m||e[17]!==h||e[18]!==p?(u=t.jsxs(ot,{className:r,style:m,children:[h,p]}),e[15]=r,e[16]=m,e[17]=h,e[18]=p,e[19]=u):u=e[19],u},re=w.div(["color:#fff;font-size:14px;font-style:normal;font-weight:400;",""],()=>({display:"flex",alignItems:"center",gap:"4px"})),xt=w(re)(["color:#a5ffb8;",""],()=>({display:"block",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"})),dt=w.div(["",""],()=>({display:"flex",minWidth:"0px",flexDirection:"column",gap:"8px"})),mt=w.div(["border-top:1px solid #282828;background:#101010;",""],()=>({display:"flex",height:"75px",alignItems:"center",justifyContent:"space-between",paddingLeft:"20px",paddingRight:"20px"})),pt=s=>{const e=E(23),{className:r,style:m}=s,{t:n}=R(),{estimatedReceiving:x,belowMinReceiving:a,MIN_RECEIVING:c}=Z(),l=L(ut);let i;e[0]!==n?(i=n("Estimated Receiving"),e[0]=n,e[1]=i):i=e[1];let o;e[2]!==i?(o=t.jsxs(re,{children:[i,":"]}),e[2]=i,e[3]=o):o=e[3];let d;e[4]===Symbol.for("react.memo_cache_sentinel")?(d=t.jsx(C,{src:"/Solana_logo.svg",width:16,height:16,alt:""}),e[4]=d):d=e[4];let h;e[5]!==x?(h=x.toString(),e[5]=x,e[6]=h):h=e[6];let p;e[7]!==h?(p=t.jsxs(re,{children:[d,t.jsx(xt,{children:h})]}),e[7]=h,e[8]=p):p=e[8];let u;e[9]!==a||e[10]!==c?(u=a&&t.jsxs("div",{className:"text-[10px] text-[#f00]",children:["Min ",c," SOL"]}),e[9]=a,e[10]=c,e[11]=u):u=e[11];let g;e[12]!==o||e[13]!==p||e[14]!==u?(g=t.jsxs(dt,{children:[o,p,u]}),e[12]=o,e[13]=p,e[14]=u,e[15]=g):g=e[15];let b;e[16]!==l?(b=l<T.TRANSFERRING&&t.jsx(we,{className:"shrink-0",loadingSize:16}),e[16]=l,e[17]=b):b=e[17];let y;return e[18]!==r||e[19]!==m||e[20]!==g||e[21]!==b?(y=t.jsxs(mt,{className:r,style:m,children:[g,b]}),e[18]=r,e[19]=m,e[20]=g,e[21]=b,e[22]=y):y=e[22],y},ft=w.div([""," ",""],s=>s.$open&&je`
2      background: rgba(0, 0, 0, 0.5);
3      backdrop-filter: blur(15px);
4      top: 0;
5    `,()=>({position:"fixed",bottom:"0px",left:"0px",zIndex:"10",width:"100%"})),ht=s=>{const e=E(10),{className:r,style:m}=s,[n,x]=A.useState(!1);let a;e[0]!==n?(a=t.jsx(ct,{open:n,setOpen:x}),e[0]=n,e[1]=a):a=e[1];let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c=t.jsx(pt,{}),e[2]=c):c=e[2];let l;e[3]!==a?(l=t.jsxs("div",{className:"absolute bottom-0 w-full",children:[a,c]}),e[3]=a,e[4]=l):l=e[4];let i;return e[5]!==r||e[6]!==m||e[7]!==n||e[8]!==l?(i=t.jsx(ft,{className:r,style:m,$open:n,children:l}),e[5]=r,e[6]=m,e[7]=n,e[8]=l,e[9]=i):i=e[9],i};function ut(s){return s.currentProgress}const gt=w.div(["color:#ffffffb2;text-align:center;font-size:20px;font-style:normal;font-weight:400;line-height:1;",""],()=>({cursor:"pointer","@media (max-width: 1280px)":{fontSize:"16px"}})),bt=w.div(["width:100vw;height:100vh;overflow-y:auto;padding:12vh 30vw 12vh;position:fixed;top:0;left:0;color:#fff;background:rgba(0,0,0,0.5);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);display:flex;flex-direction:column;align-items:center;text-align:center;z-index:100;.title{display:flex;gap:6px;align-items:center;font-size:30px;margin-bottom:59px;img{width:28px;margin-top:-4px;}}.subTitle{font-size:26px;color:#a5ffb8;margin-bottom:24px;}.context{font-size:18px;line-height:22px;margin-bottom:48px;a{color:#fff;text-decoration:underline;}}.btn{padding:20px 0;width:195px;}@media (max-width:","){padding:6vh 3vw 16vh;.title{font-size:24px;margin-bottom:50px;img{width:20px;height:20px;margin-top:-1px;}}.subTitle{font-size:14px;margin-bottom:16px;}.context{font-size:12px;line-height:16px;margin-bottom:36px;}.btn{padding:16px 0;width:218px;}}"],"1280px"),vt=()=>{const s=E(29),{t:e}=R(),r=Ne("/check-balance");let m;s[0]!==e?(m=e("What if the page is accidentally refreshed or interrupted?"),s[0]=e,s[1]=m):m=s[1];let n;s[2]!==m?(n=t.jsx("div",{className:"subTitle",children:m}),s[2]=m,s[3]=n):n=s[3];let x;s[4]!==e?(x=e("Open the Bulk Check Balance tool, import the wallet file you downloaded in step 2, and locate which intermediate wallet still holds the funds. From there you can withdraw the remaining balance manually using that wallet's mnemonic or private key."),s[4]=e,s[5]=x):x=s[5];let a;s[6]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx("br",{}),s[6]=a):a=s[6];let c;s[7]===Symbol.for("react.memo_cache_sentinel")?(c={color:"#a5ffb8"},s[7]=c):c=s[7];let l;s[8]!==e?(l=e("Open Bulk Check Balance"),s[8]=e,s[9]=l):l=s[9];let i;s[10]!==r||s[11]!==l?(i=t.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",style:c,children:l}),s[10]=r,s[11]=l,s[12]=i):i=s[12];let o;s[13]!==x||s[14]!==i?(o=t.jsxs("div",{className:"context",children:[x,a,i]}),s[13]=x,s[14]=i,s[15]=o):o=s[15];let d;s[16]!==e?(d=e("What is Stealth Transfer and what problem does it solve?"),s[16]=e,s[17]=d):d=s[17];let h;s[18]!==d?(h=t.jsx("div",{className:"subTitle",children:d}),s[18]=d,s[19]=h):h=s[19];let p;s[20]!==e?(p=e("Stealth Transfer routes funds from your wallet to the final recipient through a chain of freshly generated intermediate wallets, instead of sending in a single direct transaction. This breaks the obvious on-chain link between sender and receiver — useful for privacy, sidestepping naive cluster analysis (e.g. Bubble Maps), or keeping anti-association when later interacting with a CEX."),s[20]=e,s[21]=p):p=s[21];let u;s[22]!==p?(u=t.jsx("div",{className:"context",children:p}),s[22]=p,s[23]=u):u=s[23];let g;return s[24]!==n||s[25]!==o||s[26]!==h||s[27]!==u?(g=t.jsxs(t.Fragment,{children:[n,o,h,u]}),s[24]=n,s[25]=o,s[26]=h,s[27]=u,s[28]=g):g=s[28],g},yt=s=>{const e=E(18),{type:r,onClose:m}=s,{t:n}=R();let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(C,{width:28,height:28,src:"/info.svg",alt:""}),e[0]=x):x=e[0];let a;e[1]!==n?(a=n("FAQ"),e[1]=n,e[2]=a):a=e[2];let c;e[3]!==a?(c=t.jsxs("div",{className:"title",children:[x," ",a]}),e[3]=a,e[4]=c):c=e[4];let l;e[5]!==r?(l=r==="stealthTransfer"&&t.jsx(vt,{}),e[5]=r,e[6]=l):l=e[6];let i;e[7]!==m?(i=p=>Oe(p,m?.()),e[7]=m,e[8]=i):i=e[8];let o;e[9]!==n?(o=n("Complete"),e[9]=n,e[10]=o):o=e[10];let d;e[11]!==i||e[12]!==o?(d=t.jsx(Y,{className:"btn mt-[60px]",onClick:i,children:o}),e[11]=i,e[12]=o,e[13]=d):d=e[13];let h;return e[14]!==c||e[15]!==l||e[16]!==d?(h=t.jsxs(bt,{children:[c,l,d]}),e[14]=c,e[15]=l,e[16]=d,e[17]=h):h=e[17],h},ge=s=>{const e=E(11),{className:r,style:m,type:n}=s,[x,a]=A.useState(!1),{t:c}=R();let l;e[0]===Symbol.for("react.memo_cache_sentinel")?(l=()=>a(!0),e[0]=l):l=e[0];let i;e[1]!==c?(i=c("[ FAQs ]"),e[1]=c,e[2]=i):i=e[2];let o;e[3]!==x||e[4]!==n?(o=x&&t.jsx(yt,{type:n,onClose:()=>a(!1)}),e[3]=x,e[4]=n,e[5]=o):o=e[5];let d;return e[6]!==r||e[7]!==m||e[8]!==i||e[9]!==o?(d=t.jsxs(gt,{className:r,style:m,onClick:l,children:[i,o]}),e[6]=r,e[7]=m,e[8]=i,e[9]=o,e[10]=d):d=e[10],d},jt=w(C)([""," ",""],s=>s.$color&&je`
6      transform: translateX(-100%);
7      filter: drop-shadow(${s.$color} ${s.width}px 0);
8    `,()=>({})),Nt=s=>{const e=E(2);let r;return e[0]!==s?(r=t.jsx("div",{className:"overflow-hidden",children:t.jsx(jt,{...s})}),e[0]=s,e[1]=r):r=e[1],r},wt=A.memo(Nt),St=w.div(["border-radius:8px;border:1px solid #a5ffb8;background:rgba(165,255,184,0.2);padding:20px 16px;color:#fff;font-size:14px;font-style:normal;font-weight:400;line-height:1.5;",""],()=>
8({display:"flex",width:"100%",alignItems:"flex-start",gap:"12px","@media (max-width: 1280px)":{gap:"8px",fontSize:"12px"}})),kt=s=>{const e=E(16),{className:r,style:m}=s,{t:n}=R();let x;e[0]===Symbol.for("react.memo_cache_sentinel")?(x=t.jsx(C,{src:"/info.svg",className:"mt-[2px] shrink-0 max-xl:w-[16px]",width:20,height:20,alt:""}),e[0]=x):x=e[0];let a;e[1]!==n?(a=n("DO NOT refresh or close this page. This tool runs locally."),e[1]=n,e[2]=a):a=e[2];let c;e[3]!==a?(c=t.jsxs("div",{children:["1. ",a]}),e[3]=a,e[4]=c):c=e[4];let l;e[5]!==n?(l=n("Please ensure the wallet file is downloaded, otherwise funds will be unrecoverable."),e[5]=n,e[6]=l):l=e[6];let i;e[7]!==l?(i=t.jsxs("div",{children:["2."," ",l]}),e[7]=l,e[8]=i):i=e[8];let o;e[9]!==c||e[10]!==i?(o=t.jsxs("div",{className:"flex flex-col gap-[6px]",children:[c,i]}),e[9]=c,e[10]=i,e[11]=o):o=e[11];let d;return e[12]!==r||e[13]!==m||e[14]!==o?(d=t.jsxs(St,{className:r,style:m,children:[x,o]}),e[12]=r,e[13]=m,e[14]=o,e[15]=d):d=e[15],d},Ct=w.div(["width:24px;height:24px;font-size:14px;font-style:normal;font-weight:400;background-color:#101010;border:1px solid #474545;border-radius:50%;&.active{color:#000;background-color:#a5ffb8;border-color:#a5ffb8;}",""],()=>({display:"flex",flexShrink:"0",alignItems:"center",justifyContent:"center"})),Tt=w.div(["",""],()=>({display:"flex",alignItems:"center",gap:"8px"})),_t=s=>{const e=E(11),{className:r,style:m,current:n,total:x}=s,a=n===void 0?1:n,c=x===void 0?3:x,l=c+1;let i;if(e[0]!==l||e[1]!==a||e[2]!==c){let d;e[4]!==a||e[5]!==c?(d=h=>t.jsxs(A.Fragment,{children:[t.jsx(Ct,{className:Q({active:h<=a}),children:h}),h!==c&&t.jsx(X,{className:"!w-[16px] !bg-[#474545] !opacity-100"})]},h),e[4]=a,e[5]=c,e[6]=d):d=e[6],i=Ke(1,l).map(d),e[0]=l,e[1]=a,e[2]=c,e[3]=i}else i=e[3];let o;return e[7]!==r||e[8]!==m||e[9]!==i?(o=t.jsx(Tt,{className:r,style:m,children:i}),e[7]=r,e[8]=m,e[9]=i,e[10]=o):o=e[10],o},$=w.div(["color:#fff;text-align:center;font-size:16px;font-style:normal;font-weight:400;> span{color:#a5ffb8;}",""],()=>({display:"flex",alignItems:"center",gap:"4px","@media (max-width: 1280px)":{fontSize:"14px"}})),At=w.div(["color:#fff;font-family:Dinkie;font-size:14px;line-height:14px;cursor:pointer;user-select:none;",""],()=>({position:"absolute",left:"32px",top:"32px","@media (max-width: 1280px)":{left:"20px",top:"20px",fontSize:"12px"}})),Pt=w(ce)(["position:relative;",""],()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"space-between",paddingBottom:"40px",paddingTop:"32px","@media (max-width: 1280px)":{padding:"32px 16px !important"}})),It=s=>{const e=E(49),{className:r,style:m}=s,{currentProgress:n,actions:x,numberOfTransfers:a,lastSuccessfulWallet:c}=L(Bt),{t:l}=R(),i=oe("xl","max-width"),o=Ne("/check-balance");let d;e:{if([T.TRANSFERRING,T.FINISHED].includes(n)){d="/claimed.svg";break e}d="/dragger_uploader_icon.svg"}const h=d,p=n===T.FAILED,u=n===T.FINISHED,g=n===T.CREATED||n===T.DOWNLOADED;let b;e[0]!==g||e[1]!==l||e[2]!==x?(b=g&&t.jsxs(At,{onClick:x.cancel,children:[" ",l("< Cancel")]}),e[0]=g,e[1]=l,e[2]=x,e[3]=b):b=e[3];let y;e[4]!==n?(y=t.jsx(_t,{current:n}),e[4]=n,e[5]=y):y=e[5];let v;e[6]!==p||e[7]!==i||e[8]!==h?(v=p?t.jsx(C,{src:"/confirm.svg",width:i?36:48,height:i?36:48,alt:""}):t.jsx(wt,{$color:"#A5FFB8",src:h,width:i?36:48,height:i?36:48,alt:""}),e[6]=p,e[7]=i,e[8]=h,e[9]=v):v=e[9];let _;e[10]!==n||e[11]!==l?(_=n===T.CREATING&&t.jsx($,{className:"mt-[34px] max-xl:mt-[26px]",children:l("Creating Empty Wallets for Stealth Transfer")}),e[10]=n,e[11]=l,e[12]=_):_=e[12];let S;e[13]!==n||e[14]!==l?(S=n===T.CREATED&&t.jsxs(t.Fragment,{children:[t.jsx($,{className:"mt-[34px] max-xl:mt-[26px]",children:l("Your Empty Wallets Are Ready!")}),t.jsxs($,{className:"mt-[14px]",children:[t.jsx("span",{children:l("Download")}),"  ",l("to proceed to the transfer!")]})]}),e[13]=n,e[14]=l,e[15]=S):S=e[15];let P;e[16]!==n||e[17]!==l?(P=n===T.DOWNLOADED&&t.jsxs(t.Fragment,{children:[t.jsx($,{className:"mt-[34px] max-xl:mt-[26px]",children:l("Wallet File Downloaded")}),t.jsx($,{className:"mt-[14px] max-xl:!text-[#A5FFB8]",children:l("Click the button to execute the transfer.")})]}),e[16]=n,e[17]=l,e[18]=P):P=e[18];let I;e[19]!==n||e[20]!==l||e[21]!==c||e[22]!==a?(I=n===T.TRANSFERRING&&t.jsxs(t.Fragment,{children:[t.jsx($,{className:"mt-[34px] max-xl:mt-[26px]",children:l("We`re sending tokens for you.")}),t.jsxs($,{className:"mt-[14px]",children:[l("Transferring funds through "),a," ",l("wallets"),t.jsxs("span",{children:["(",Math.min(c.index+1,Number(a)),"/",a,")"]})]})]}),e[19]=n,e[20]=l,e[21]=c,e[22]=a,e[23]=I):I=e[23];let F;
8e[24]!==u||e[25]!==p||e[26]!==l||e[27]!==c||e[28]!==o?(F=(u||p)&&t.jsxs(t.Fragment,{children:[t.jsx($,{className:"mt-[34px] max-xl:mt-[26px]",children:l(u?"Stealth Transfer Completed":"Stealth Transfer Failed")}),c.hash&&t.jsx("a",{href:"https://solscan.io/tx/"+c.hash,target:"_blank",rel:"noreferrer",children:t.jsxs($,{className:"mt-[14px]",children:[l("Check the last TX here"),t.jsx(C,{src:"/Arrow_up_right.svg",className:"max-xl:w-[10px]",width:16,height:16,alt:""})]})}),p&&t.jsxs($,{className:"mt-[14px]",children:[l("Interrupted? Recover via")," ",t.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer",className:"!text-[#a5ffb8] underline",children:l("Bulk Check Balance")})]})]}),e[24]=u,e[25]=p,e[26]=l,e[27]=c,e[28]=o,e[29]=F):F=e[29];let B;e[30]!==v||e[31]!==_||e[32]!==S||e[33]!==P||e[34]!==I||e[35]!==F?(B=t.jsxs("div",{className:"mt-[62px] flex flex-col items-center max-xl:mt-[46px]",children:[v,_,S,P,I,F]}),e[30]=v,e[31]=_,e[32]=S,e[33]=P,e[34]=I,e[35]=F,e[36]=B):B=e[36];let O;e[37]!==u||e[38]!==p||e[39]!==l||e[40]!==x?(O=u||p?t.jsx(Y,{className:"mt-[48px] !w-[350px] !bg-[#A5FFB8] max-xl:mt-[34px] max-xl:!h-[46px] max-xl:!w-[218px]",onClick:x.cancel,children:l("Complete")}):t.jsx(kt,{className:"mt-[46px] max-xl:mt-[36px]"}),e[37]=u,e[38]=p,e[39]=l,e[40]=x,e[41]=O):O=e[41];let f;return e[42]!==r||e[43]!==m||e[44]!==b||e[45]!==y||e[46]!==B||e[47]!==O?(f=t.jsxs(Pt,{className:r,style:m,children:[b,y,B,O]}),e[42]=r,e[43]=m,e[44]=b,e[45]=y,e[46]=B,e[47]=O,e[48]=f):f=e[48],f};function Bt(s){return{currentProgress:s.currentProgress,actions:s.actions,numberOfTransfers:s.numberOfTransfers,lastSuccessfulWallet:s.lastSuccessfulWallet}}const z=10,Ot=w.div(["width:100%;.resultsHeader{display:flex;justify-content:space-between;margin-bottom:23px;.progressContext{color:var(--p,#a5ffb8);font-family:Dinkie;font-size:20px;line-height:20px;}.headerActions{display:flex;align-items:center;gap:20px;}.copyAllBtn,.downloadBtn{color:#fff;font-family:Dinkie;font-size:14px;line-height:14px;display:flex;align-items:center;cursor:pointer;&:hover{color:#a5ffb8;}}}.resultItems{.item{border-radius:16px;background:#101010;padding:27px 32px 44px;margin-bottom:16px;.itemHeader{display:flex;justify-content:space-between;margin-bottom:32px;.title{color:var(--p,#a5ffb8);font-family:Dinkie;font-size:16px;line-height:16px;}.copyBtn{width:72px;height:26px;display:flex;justify-content:center;align-items:center;border-radius:8px;border:1px solid #474545;background:#101010;cursor:pointer;}}.addressBox,.mnemonicBox,.privateKeyBox,.base58Box{padding:16px 0;border-top:rgba(255,255,255,0.1) 1px solid;display:flex;justify-content:space-between;img{filter:invert(1);float:right;cursor:pointer;}}.address,.mnemonic,.privateKey,.base58{width:140px;flex-shrink:0;}.content{flex:1;word-break:break-all;min-width:0;padding:0 12px;}}}.resultItemsMobile{display:none;}.paginationBox{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:24px;.pageBtn{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #474545;background:#101010;color:#fff;font-family:Dinkie;font-size:18px;cursor:pointer;user-select:none;transition:border-color 0.15s ease;&:hover:not(.disabled){border-color:#a5ffb8;}&.disabled{opacity:0.4;cursor:not-allowed;}}.pageInfo{display:flex;align-items:center;gap:6px;color:#fff;font-family:Dinkie;font-size:14px;.pageInput{width:56px;height:35px;padding:0 8px;border-radius:8px;border:1px solid #474545;background:#181818;color:#fff;font-family:Dinkie;font-size:14px;text-align:center;outline:none;&:hover,&:focus{border-color:#a5ffb8;}}.separator{opacity:0.6;}}}@media (max-width:","){.resultsHeader{.progressContext{font-size:16px;line-height:16px;}.headerActions{gap:14px;}.copyAllBtn,.downloadBtn{font-size:12px;line-height:12px;}}.resultItems{display:none;}.paginationBox{gap:10px;margin-top:20px;.pageBtn{width:30px;height:30px;font-size:16px;}.pageInfo{font-size:12px;.pageInput{width:48px;height:30px;font-size:12px;}}}.resultItemsMobile{display:unset;.item{border-radius:16px;background:#101010;padding:32px 20px;margin-bottom:12px;.itemHeader{display:flex;justify-content:space-between;margin-bottom:20px;.title{color:var(--p,#a5ffb8);font-family:Dinkie;font-size:16px;line-height:16px;}.copyBtn{width:65px;height:24px;font-size:12px;display:flex;justify-content:center;align-items:center;border-radius:8px;border:1px solid #474545;background:#101010;cursor:pointer;}}.addressBox,.mnemonicBox,.privateKeyBox,.base58Box{padding:14px 0;border-top:rgba(255,255,255,0.1) 1px solid;img{filter:invert(1);float:right;cursor:pointer;}}.address,.mnemonic,.privateKey,.base58{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:#9d9d9d;}.content{word-break:break-all;}}}}",""],"1280px",()=>({})),Et=({wallets:s,confirmedTotal:e,className:r,style:m})=>{const{t:n}=R(),{copy:x}=ve({withStatus:!1,statusTime:500}),[a,c]=A.useState(1),[l,i]=A.useState(null),[o,d]=A.useState(!1),[h,p]=A.useState(""),[u,g]=A.useState(!1),b=e??s.length,y=Math.max(1,Math.ceil(s.length/z)),v=A.useMemo(()=>s.slice((a-1)*z,a*z),[s,a]),_=()=>{s.length!==0&&ye(s)},S=(f,j)=>{x(j,k=>{f.target.src=k?"/check.svg":"/copy.svg"})},P=(f,j)=>{const k=[`Address: ${f.Address}`,`Mnemonic: ${f.Mnemonic}`,`Keypair JSON: ${f.KeypairJSON}`,`Private Key: ${f.PrivateKey}`].join(`
9`);x(k,N=>{i(N?j:null)})},I=()=>
9{if(s.length===0)return;const f=s.map((j,k)=>[`Wallet ${k+1}`,`Address: ${j.Address}`,`Mnemonic: ${j.Mnemonic}`,`Keypair JSON: ${j.KeypairJSON}`,`Private Key: ${j.PrivateKey}`].join(`
10`)).join(`
11
12`);x(f,j=>{d(j)})},F=f=>{f<1||f>y||c(f)},B=f=>{const j=f.replace(/\D/g,"");if(j===""){p("");return}const k=Math.min(y,Number(j));p(String(k))},O=()=>{g(!1);const f=Number(h);Number.isFinite(f)&&f>=1&&f<=y&&c(Math.floor(f)),p("")};return s.length===0?null:t.jsxs(Ot,{className:r,style:m,children:[t.jsxs("div",{className:"resultsHeader",children:[t.jsxs("div",{className:"progressContext",children:[n("Progress")," (",s.length,"/",b,")"]}),t.jsxs("div",{className:"headerActions",children:[t.jsxs("div",{className:"copyAllBtn",onClick:I,children:[o?t.jsx(C,{className:"mr-[8px] invert xl:w-[16px]",width:16,height:16,src:"/check.svg",alt:""}):t.jsx(C,{className:"mr-[8px] invert xl:w-[16px]",width:16,height:16,src:"/copy.svg",alt:""}),n("Copy All")]}),t.jsxs("div",{className:"downloadBtn",onClick:_,children:[t.jsx(C,{className:"mr-[8px] xl:w-[16px]",width:16,height:16,src:"/download.svg",alt:""}),n("Download Excel")]})]})]}),t.jsx("div",{className:"resultItems",children:v.map((f,j)=>{const k=(a-1)*z+j;return t.jsxs("div",{className:"item",children:[t.jsxs("div",{className:"itemHeader",children:[t.jsxs("div",{className:"title",children:[n("Wallet")," ",k+1]}),t.jsx("div",{className:"copyBtn",onClick:()=>P(f,k),children:l===k?t.jsx(C,{width:14,height:14,src:"/check.svg",alt:"",className:"invert max-xl:w-[12px]"}):n("Copy All")})]}),t.jsxs("div",{className:"addressBox",children:[t.jsx("div",{className:"address",children:n("Address")}),t.jsx("div",{className:"content",children:f.Address}),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.Address),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsxs("div",{className:"mnemonicBox",children:[t.jsx("div",{className:"mnemonic",children:n("Mnemonic Phrase")}),t.jsx("div",{className:"content",children:f.Mnemonic}),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.Mnemonic),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsxs("div",{className:"privateKeyBox",children:[t.jsx("div",{className:"privateKey",children:n("Keypair JSON")}),t.jsx("div",{className:"content",children:f.KeypairJSON}),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.KeypairJSON),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsxs("div",{className:"base58Box",children:[t.jsx("div",{className:"base58",children:n("Private Key")}),t.jsx("div",{className:"content",children:f.PrivateKey}),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.PrivateKey),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]})]},k)})}),t.jsx("div",{className:"resultItemsMobile",children:v.map((f,j)=>{const k=(a-1)*z+j;return t.jsxs("div",{className:"item",children:[t.jsxs("div",{className:"itemHeader",children:[t.jsxs("div",{className:"title",children:[n("Wallet")," ",k+1]}),t.jsx("div",{className:"copyBtn",onClick:()=>P(f,k),children:l===k?t.jsx(C,{width:14,height:14,src:"/check.svg",alt:"",className:"invert max-xl:w-[12px]"}):n("Copy All")})]}),t.jsxs("div",{className:"addressBox",children:[t.jsxs("div",{className:"address",children:[n("Address"),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.Address),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsx("div",{className:"content",children:f.Address})]}),t.jsxs("div",{className:"mnemonicBox",children:[t.jsxs("div",{className:"mnemonic",children:[n("Mnemonic Phrase"),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.Mnemonic),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsx("div",{className:"content",children:f.Mnemonic})]}),t.jsxs("div",{className:"privateKeyBox",children:[t.jsxs("div",{className:"privateKey",children:[n("Keypair JSON"),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.KeypairJSON),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsx("div",{className:"content",children:f.KeypairJSON})]}),t.jsxs("div",{className:"base58Box",children:[t.jsxs("div",{className:"base58",children:[n("Private Key"),t.jsx(C,{width:16,height:16,alt:"",onClick:N=>S(N,f.PrivateKey),src:"/copy.svg",className:"cursor-pointer max-xl:w-[12px]"})]}),t.jsx("div",{className:"content",children:f.PrivateKey})]})]},k)})}),y>1&&t.jsxs("div",{className:"paginationBox",children:[t.jsx("div",{className:`pageBtn ${a<=1?"disabled":""}`,onClick:()=>F(a-1),children:"‹"}),t.jsxs("div",{className:"pageInfo",children:[t.jsx("input",{className:"pageInput",type:"text",inputMode:"numeric",value:u?h:String(a),onFocus:()=>{g(!0),p(String(a))},onChange:f=>B(f.target.value),onBlur:O,onKeyDown:f=>{f.key==="Enter"&&f.target.blur()}}),t.jsx("span",{className:"separator",children:"/"}),t.jsx("span",{className:"total",children:y})]}),t.jsx("div",{className:`pageBtn ${a>=y?"disabled":""}`,onClick:()=>F(a+1),children:"›"})]})]})},Ft=w.div(["line-height:1;",""],()=>
12({display:"flex",alignItems:"flex-start",gap:"20px","@media (max-width: 1280px)":{flexDirection:"column",alignItems:"center"}})),Rt=s=>{const e=E(21),{className:r,style:m}=s,{currentProgress:n,reset:x,wallets:a}=L(Wt),c=K($t),l=oe("xl","max-width");let i;e[0]!==x?(i=()=>()=>x(),e[0]=x,e[1]=i):i=e[1];let o;e[2]===Symbol.for("react.memo_cache_sentinel")?(o=[],e[2]=o):o=e[2],A.useEffect(i,o);let d;e[3]!==n?(d=n===T.INPUT?t.jsx(Xe,{}):t.jsx(It,{}),e[3]=n,e[4]=d):d=e[4];let h;e[5]!==a?(h=a.length>0&&t.jsx(Et,{wallets:a,className:"mt-[20px] max-xl:mt-[16px]"}),e[5]=a,e[6]=h):h=e[6];let p;e[7]!==l?(p=l&&t.jsx(ge,{type:"stealthTransfer",className:"mt-[24px]"}),e[7]=l,e[8]=p):p=e[8];let u;e[9]!==d||e[10]!==h||e[11]!==p?(u=t.jsxs("div",{className:"w-full min-w-0",children:[d,h,p]}),e[9]=d,e[10]=h,e[11]=p,e[12]=u):u=e[12];let g;e[13]!==l||e[14]!==c?(g=l?c&&t.jsx(ht,{}):t.jsxs("div",{children:[t.jsx(Se,{className:"w-[414px]"}),t.jsx(ge,{type:"stealthTransfer",className:"mt-[24px]"})]}),e[13]=l,e[14]=c,e[15]=g):g=e[15];let b;return e[16]!==r||e[17]!==m||e[18]!==u||e[19]!==g?(b=t.jsxs(Ft,{className:r,style:m,children:[u,g]}),e[16]=r,e[17]=m,e[18]=u,e[19]=g,e[20]=b):b=e[20],b};function Wt(s){return{currentProgress:s.currentProgress,reset:s.actions.reset,wallets:s.wallets}}function $t(s){return s.walletAddress}const Qt=A.memo(Rt);export{Qt 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.