PageSourceSearch

https://trade.zipmex.com/_next/static/chunks/730.6d2a59bbad434c96.js

js zipmex.com collected 2026-09-28 06:42:56 UTC 22,990 bytes, 457 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[730],{2085:(e,r,i)=>{i.d(r,{B:()=>n,C:()=>l,F:()=>c,H:()=>a,R:()=>v,S:()=>p,a:()=>d,b:()=>u,c:()=>s,d:()=>x,e:()=>o});var t=i(28290);let n=t.I4.div`
2  display: flex;
3  flex-direction: column;
4  align-items: flex-start;
5  justify-content: flex-end;
6  margin-top: auto;
7  gap: 16px;
8  flex-grow: 100;
9`,o=t.I4.div`
10  display: flex;
11  flex-direction: column;
12  align-items: center;
13  justify-content: center;
14  flex-grow: 1;
15  width: 100%;
16`,a=t.I4.div`
17  display: flex;
18  flex-direction: column;
19  align-items: center;
20  width: 100%;
21`,l=(0,t.I4)(o)`
22  padding: 20px 0;
23`,s=(0,t.I4)(o)`
24  gap: 16px;
25`,c=t.I4.div`
26  display: flex;
27  flex-direction: column;
28  width: 100%;
29`,d=t.I4.div`
30  display: flex;
31  flex-direction: column;
32  gap: 8px;
33`;t.I4.div`
34  display: flex;
35  flex-direction: column;
36  justify-content: space-between;
37  height: 100%;
38`;let p=t.I4.div`
39  display: flex;
40  flex-direction: column;
41  justify-content: flex-start;
42  align-items: flex-start;
43  text-align: left;
44  gap: 8px;
45  padding: 16px;
46  margin-top: 16px;
47  margin-bottom: 16px;
48  width: 100%;
49  background: var(--privy-color-background-2);
50  border-radius: var(--privy-border-radius-md);
51  && h4 {
52    color: var(--privy-color-foreground-3);
53    font-size: 14px;
54    text-decoration: underline;
55    font-weight: medium;
56  }
57  && p {
58    color: var(--privy-color-foreground-3);
59    font-size: 14px;
60  }
61`,u=t.I4.div`
62  height: 16px;
63`,v=t.I4.div`
64  height: 12px;
65`;t.I4.div`
66  position: relative;
67`;let x=t.I4.div`
68  height: ${e=>e.height??"12"}px;
69`;t.I4.div`
70  background-color: var(--privy-color-accent);
71  display: flex;
72  justify-content: center;
73  align-items: center;
74  border-radius: 50%;
75  border-color: white;
76  border-width: 2px !important;
77`},42315:(e,r,i)=>{i.d(r,{S:()=>j});var t=i(42073),n=i(13741),o=i(28290),a=i(3503),l=i(72339),s=i(83664);let c=o.I4.div`
78  /* spacing tokens */
79  --screen-space: 16px; /* base 1x = 16 */
80  --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */
81
82  position: relative;
83  overflow: hidden;
84  margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */
85  height: 100%;
86  border-radius: var(--privy-border-radius-lg);
87`,d=o.I4.div`
88  display: flex;
89  flex-direction: column;
90  gap: calc(var(--screen-space) * 1.5);
91  width: 100%;
92  background: var(--privy-color-background);
93  padding: 0 var(--screen-space-lg) var(--screen-space);
94  height: 100%;
95  border-radius: var(--privy-border-radius-lg);
96`,p=o.I4.div`
97  position: relative;
98  display: flex;
99  flex-direction: column;
100`,u=(0,o.I4)(l.M)`
101  margin: 0 -8px;
102`,v=o.I4.div`
103  flex: 1 1 auto;
104  display: flex;
105  flex-direction: column;
106
107  /* Enable scrolling */
108  overflow-y: auto;
109
110  /* Hide scrollbar but keep functionality when scrollable */
111  /* Add padding for focus outline space, offset with negative margin */
112  padding: 3px;
113  margin: -3px;
114
115  &::-webkit-scrollbar {
116    display: none;
117  }
118  scrollbar-gutter: stable both-edges;
119  scrollbar-width: none;
120  -ms-overflow-style: none;
121
122  /* Gradient effect for scroll indication */
123  ${({$colorScheme:e})=>"light"===e?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.06)) bottom;":"dark"===e?"background: linear-gradient(var(--privy-color-background), var(--privy-color-background) 70%) bottom, linear-gradient(rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.06)) bottom;":void 0}
124
125  background-repeat: no-repeat;
126  background-size:
127    100% 32px,
128    100% 16px;
129  background-attachment: local, scroll;
130`,x=o.I4.div`
131  display: flex;
132  flex-direction: column;
133  gap: var(--screen-space-lg);
134  margin-top: 1.5rem;
135`,h=o.I4.div`
136  text-align: center;
137  display: flex;
138  flex-direction: column;
139  align-items: center;
140  gap: var(--screen-space);
141`,g=o.I4.div`
142  display: flex;
143  flex-direction: column;
144  gap: 4px;
145`,f=o.I4.h3`
146  && {
147    font-size: 20px;
148    line-height: 32px;
149    font-weight: 500;
150    color: var(--privy-color-foreground);
151    margin: 0;
152  }
153`,m=o.I4.p`
154  && {
155    margin: 0;
156    font-size: 16px;
157    font-weight: 300;
158    line-height: 24px;
159    color: var(--privy-color-foreground);
160  }
161`,y=o.I4.div`
162  background: ${({$variant:e})=>{switch(e){case"success":return"var(--privy-color-success-bg, #EAFCEF)";case"warning":return"var(--privy-color-warn, #FEF3C7)";case"error":return"var(--privy-color-error-bg, #FEE2E2)";case"loading":case"logo":return"transparent";default:return"var(--privy-color-background-2)"}}};
163
164  border-radius: 50%;
165  width: 64px;
166  height: 64px;
167  display: flex;
168  align-items: center;
169  justify-content: center;
170`,b=o.I4.div`
171  display: flex;
172  align-items: center;
173  justify-content: center;
174
175  img,
176  svg {
177    max-height: 90px;
178    max-width: 180px;
179  }
180`,w=o.I4.div`
181  display: flex;
182  flex-direction: column;
183  justify-content: center;
184  align-items: center;
185  width: 100%;
186  height: 82px;
187
188  > div {
189    position: relative;
190  }
191
192  > div > :first-child {
193    position: relative;
194  }
195
196  > div > :last-child {
197    position: absolute;
198    left: 50%;
199    top: 50%;
200    transform: translate(-50%, -50%);
201  }
202`,j=({children:e,...r})=>(0,t.jsx)(c,{children:(0,t.jsx)(d,{...r,children:e})}),k=o.I4.div`
203  position: absolute;
204  top: 0;
205  left: calc(-1 * var(--screen-space-lg));
206  width: calc(100% + calc(var(--screen-space-lg) * 2));
207  height: 4px;
208  background: var(--privy-color-background-2);
209  border-top-left-radius: inherit;
210  border-top-right-radius: inherit;
211  overflow: hidden;
212`,E=(0,o.I4)(l.B)`
213  padding: 0;
214  && a {
215    padding: 0;
216    color: var(--privy-color-foreground-3);
217  }
218`,I=o.I4.div`
219  height: 100%;
220  width: ${({pct:e})=>e}%;
221  background: var(--privy-color-foreground-3);
222  border-radius: 2px;
223  transition: width 300ms ease-in-out;
224`,S=({step:e})=>e?(0,t.jsx)(k,{children:(0,t.jsx)(I,{pct:Math.min(100,e.current/e.total*100)})}):null;j.Header=({title:e,subtitle:r,icon:i,iconVariant:n,iconLoadingStatus:o,showBack:a,onBack:l,showInfo:s,onInfo:c,showClose:d,onClose:v,step:x,headerTitle:y,eyebrow:b,...w})=>(0,t.jsxs)(p,{...w,children:[(0,t.jsx)(u,{backFn:a?l:void 0,infoFn:s?c:void 0,onClose:d?v:void 0,title:y,eyebrow:b,closeable:d}),(i||n||e||r)&&(0,t.jsxs)(h,{children:[i||n?(0,t.jsx)(j.Icon,{icon:i,variant:n,loadingStatus:o}):null,!(!e&&!r)&&(0,t.jsxs)(g,{children:[e&&(0,t.jsx)(f,{children:e}),r&&(0,t.jsx)(m,{children:r})]})]}),x&&(0,t.jsx)(S,{step:x})]}),(j.Body=n.forwardRef(({children:e,...r},i)=>(0,t.jsx)(v,{ref:i,...r,children:e}))).displayName="Screen.Body",j.Footer=({children:e,...r})=>(0,t.jsx)(x,{id:"privy-content-footer-container",...r,children:e}),j.Actions=({children:e,...r})=>(0,t.jsx)(C,{...r,children:e}),j.HelpText=({children:e,...r})=>(0,t.jsx)(A,{...r,children:e}),j.FooterText=({children:e,...r})=>(0,t.jsx)($,{...r,children:e}),j.Watermark=()=>(0,t.jsx)(E,{}),j.Icon=({icon:e,variant:r="subtle",loadingStatus:i})=>"logo"===r&&e?(0,t.jsx)(b,"string"==typeof e?{children:(0,t.jsx)("img",{src:e,alt:""})}:n.isValidElement(e)?{children:e}:{children:n.createElement(e)}):"loading"===r?e?(0,t.jsx)(w,{children:(0,t.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,t.jsx)(a.C,{success:i?.success,fail:i?.fail}),"string"==typeof e?(0,t.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):n.isValidElement(e)?n.cloneElement(e,{style:{width:"38px",height:"38px"}}):n.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,t.jsx)(y,{$variant:r,children:(0,t.jsx)(s.N,{size:"64px"})}):(0,t.jsx)(y,{$variant:r,children:e&&("string"==typeof e?(0,t.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):n.isValidElement(e)?e:n.createElement(e,{width:32,height:32,stroke:(()=>{switch(r){case"success":return"var(--privy-color-icon-success)";case"warning":return"var(--privy-color-icon-warning)";case"error":return"var(--privy-color-icon-error)";default:return"var(--privy-color-icon-muted)"}})(),strokeWidth:2}))});let C=o.I4.div`
225  width: 100%;
226  display: flex;
227  flex-direction: column;
228  gap: calc(var(--screen-space) / 2);
229`,A=o.I4.div`
230  && {
231    margin: 0;
232    width: 100%;
233    text-align: center;
234    color: var(--privy-color-foreground-2);
235    font-size: 13px;
236    line-height: 20px;
237
238    & a {
239      text-decoration: underline;
240    }
241  }
242`,$=o.I4.div`
243  && {
244    margin-top: -1rem;
245    width: 100%;
246    text-align: center;
247    color: var(--privy-color-foreground-2);
248    font-size: 0.6875rem; // 11px
249    line-height: 1rem; // 16px
250  }
251`},50730:(e,r,i)=>{i.r(r),i.d(r,{AwaitingPasswordlessCodeScreen:()=>S,AwaitingPasswordlessCodeScreenView:()=>y,default:()=>S});var t=i(42073),n=i(13741);let o=n.forwardRef(function(e,r){let{title:i,titleId:t,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},o),i?n.createElement("title",{id:t},i):null,n.createElement("path",{fillRule:"evenodd",d:"M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z",clipRule:"evenodd"}))});var a=i(81291),l=i(58739),s=i(62207),c=i(28290),d=i(2085),p=i(55105),u=i(37076),v=i(92216),x=i(17629),h=i(81123),g=i(60168),f=i(75643),m=i(89338);
251i(9133),i(16567),i(58544),i(52198);let y=({contactMethod:e,authFlow:r,emailDomain:i,appName:c="Privy",whatsAppEnabled:u=!1,onBack:v,onCodeSubmit:x,onResend:h,errorMessage:g,success:f=!1,resendCountdown:y=0,onInvalidInput:j,onClearError:k})=>{let[E,I]=(0,n.useState)(w);(0,n.useEffect)(()=>{g||I(w)},[g]);let S=async e=>{e.preventDefault();let r=e.currentTarget.value.replace(" ","");if(""===r)return;if(isNaN(Number(r)))return void j?.("Code should be numeric");k?.();let i=Number(e.currentTarget.name?.charAt(5)),t=[...r||[""]].slice(0,b-i),n=[...E.slice(0,i),...t,...E.slice(i+t.length)];I(n);let o=Math.min(Math.max(i+t.length,0),b-1);if(!isNaN(Number(e.currentTarget.value))){let e=document.querySelector(`input[name=code-${o}]`);e?.focus()}if(n.every(e=>e&&!isNaN(+e))){let e=document.querySelector(`input[name=code-${o}]`);e?.blur(),await x?.(n.join(""))}};return(0,t.jsx)(m.S,{title:"Enter confirmation code",subtitle:(0,t.jsxs)("span","email"===r?{children:["Please check ",(0,t.jsx)(_,{children:e})," for an email from"," ",i??"privy.io"," and enter your code below."]}:{children:["Please check ",(0,t.jsx)(_,{children:e})," for a",u?" WhatsApp":""," message from ",c," and enter your code below."]}),icon:"email"===r?a.A:l.A,onBack:v,showBack:!0,helpText:(0,t.jsxs)(T,{children:[(0,t.jsxs)("span",{children:["Didn't get ","email"===r?"an email":"a message","?"]}),y?(0,t.jsxs)(N,{children:[(0,t.jsx)(o,{color:"var(--privy-color-foreground)",strokeWidth:1.33,height:"12px",width:"12px"}),(0,t.jsx)("span",{children:"Code sent"})]}):(0,t.jsx)(p.L,{as:"button",size:"sm",onClick:h,children:"Resend code"})]}),children:(0,t.jsx)(C,{children:(0,t.jsx)(d.H,{children:(0,t.jsxs)(A,{children:[(0,t.jsx)("div",{children:E.map((e,r)=>(0,t.jsx)("input",{name:`code-${r}`,type:"text",value:E[r],onChange:S,onKeyUp:e=>{"Backspace"===e.key&&(e=>{if(k?.(),I([...E.slice(0,e),"",...E.slice(e+1)]),e>0){let r=document.querySelector(`input[name=code-${e-1}]`);r?.focus()}})(r)},inputMode:"numeric",autoFocus:0===r,pattern:"[0-9]",className:`${f?"success":""} ${g?"fail":""}`,autoComplete:s.Fr?"one-time-code":"off"},r))}),(0,t.jsx)($,{$fail:!!g,$success:f,children:(0,t.jsx)("span",{children:"Invalid or expired verification code"===g?"Incorrect code":g||(f?"Success!":"")})})]})})})})},b=6,w=Array(6).fill("");var j,k,E=((j=E||{})[j.RESET_AFTER_DELAY=0]="RESET_AFTER_DELAY",j[j.CLEAR_ON_NEXT_VALID_INPUT=1]="CLEAR_ON_NEXT_VALID_INPUT",j),I=((k=I||{})[k.EMAIL=0]="EMAIL",k[k.SMS=1]="SMS",k);let S={component:()=>{let{navigate:e,lastScreen:r,navigateBack:i,setModalData:o,onUserCloseViaDialogOrKeybindRef:a}=(0,h.u)(),l=(0,u.u)(),{closePrivyModal:s,resendEmailCode:c,resendSmsCode:d,getAuthMeta:p,loginWithCode:m,updateWallets:b,createAnalyticsEvent:w}=(0,x.u)(),{authenticated:j,logout:k,user:E}=(0,g.u)(),{whatsAppEnabled:I}=(0,u.u)(),[S,C]=(0,n.useState)(!1),[A,$]=(0,n.useState)(null),[T,N]=(0,n.useState)(null),[_,R]=(0,n.useState)(0);a.current=()=>null;let z=+!p()?.email,L=0===z?p()?.email||"":p()?.phoneNumber||"",M=u.r-500;return(0,n.useEffect)(()=>{if(_){let e=setTimeout(()=>{R(_-1)},1e3);return()=>clearTimeout(e)}},[_]),(0,n.useEffect)(()=>{if(j&&S&&E){if(l?.legal.requireUsersAcceptTerms&&!E.hasAcceptedTerms){let r=setTimeout(()=>{e("AffirmativeConsentScreen")},M);return()=>clearTimeout(r)}if((0,f.s)(E,l.embeddedWallets)){let r=setTimeout(()=>{o({createWallet:{onSuccess:()=>{},onFailure:e=>{console.error(e),w({eventName:"embedded_wallet_creation_failure_logout",payload:{error:e,screen:"AwaitingPasswordlessCodeScreen"}}),k()},callAuthOnSuccessOnClose:!0}}),e("EmbeddedWalletOnAccountCreateScreen")},M);return()=>clearTimeout(r)}{b();let e=setTimeout(()=>s({shouldCallAuthOnSuccess:!0,isSuccess:!0}),u.r);return()=>clearTimeout(e)}}},[j,S,E]),(0,n.useEffect)(()=>{if(A&&0===T){let e=setTimeout(()=>{$(null),N(null);let e=document.querySelector("input[name=code-0]");e?.focus()},1400);return()=>clearTimeout(e)}},[A,T]),(0,t.jsx)(y,{contactMethod:L,authFlow:0===z?"email":"sms",emailDomain:l?.appearance.emailDomain,appName:l?.name,whatsAppEnabled:I,onBack:()=>i(),onCodeSubmit:async i=>{try{await m(i),C(!0)}catch(i){if(i instanceof v.c&&i.privyErrorCode===v.a.INVALID_CREDENTIALS)$("Invalid or expired verification code"),N(0);else if(i instanceof v.c&&i.privyErrorCode===v.a.CANNOT_LINK_MORE_OF_TYPE)$(i.message);else{if(i instanceof v.c&&i.privyErrorCode===v.a.USER_LIMIT_REACHED)return console.error(new v.j(i).toString()),void e("UserLimitReachedScreen");if(i instanceof v.c&&i.privyErrorCode===v.a.USER_DOES_NOT_EXIST)return void e("AccountNotFoundScreen");if(i instanceof v.c&&i.privyErrorCode===v.a.LINKED_TO_ANOTHER_USER)return o({errorMod
251alData:{error:i,previousScreen:r??"AwaitingPasswordlessCodeScreen"}}),void e("ErrorScreen",!1);if(i instanceof v.c&&i.privyErrorCode===v.a.DISALLOWED_PLUS_EMAIL)return o({inlineError:{error:i}}),void e("ConnectOrCreateScreen",!1);if(i instanceof v.c&&i.privyErrorCode===v.a.ACCOUNT_TRANSFER_REQUIRED&&i.data?.data?.nonce)return o({accountTransfer:{nonce:i.data?.data?.nonce,account:L,displayName:i.data?.data?.account?.displayName,linkMethod:0===z?"email":"sms",embeddedWalletAddress:i.data?.data?.otherUser?.embeddedWalletAddress}}),void e("LinkConflictScreen");$("Issue verifying code"),N(0)}}},onResend:async()=>{R(30),0===z?await c():await d()},errorMessage:A||void 0,success:S,resendCountdown:_,onInvalidInput:e=>{$(e),N(1)},onClearError:()=>{1===T&&($(null),N(null))}})}},C=c.I4.div`
252  display: flex;
253  flex-direction: column;
254  align-items: center;
255  justify-content: center;
256  margin: auto;
257  gap: 16px;
258  flex-grow: 1;
259  width: 100%;
260`,A=c.I4.div`
261  display: flex;
262  flex-direction: column;
263  width: 100%;
264  gap: 12px;
265
266  > div:first-child {
267    display: flex;
268    justify-content: center;
269    gap: 0.5rem;
270    width: 100%;
271    border-radius: var(--privy-border-radius-sm);
272
273    > input {
274      border: 1px solid var(--privy-color-foreground-4);
275      background: var(--privy-color-background);
276      border-radius: var(--privy-border-radius-sm);
277      padding: 8px 10px;
278      height: 48px;
279      width: 40px;
280      text-align: center;
281      font-size: 18px;
282      font-weight: 600;
283      color: var(--privy-color-foreground);
284      transition: all 0.2s ease;
285    }
286
287    > input:focus {
288      border: 1px solid var(--privy-color-foreground);
289      box-shadow: 0 0 0 1px var(--privy-color-foreground);
290    }
291
292    > input:invalid {
293      border: 1px solid var(--privy-color-error);
294    }
295
296    > input.success {
297      border: 1px solid var(--privy-color-border-success);
298      background: var(--privy-color-success-bg);
299    }
300
301    > input.fail {
302      border: 1px solid var(--privy-color-border-error);
303      background: var(--privy-color-error-bg);
304      animation: shake 180ms;
305      animation-iteration-count: 2;
306    }
307  }
308
309  @keyframes shake {
310    0% {
311      transform: translate(1px, 0px);
312    }
313    33% {
314      transform: translate(-1px, 0px);
315    }
316    67% {
317      transform: translate(-1px, 0px);
318    }
319    100% {
320      transform: translate(1px, 0px);
321    }
322  }
323`,$=c.I4.div`
324  line-height: 20px;
325  min-height: 20px;
326  font-size: 14px;
327  font-weight: 400;
328  color: ${e=>e.$success?"var(--privy-color-success-dark)":e.$fail?"var(--privy-color-error-dark)":"transparent"};
329  display: flex;
330  justify-content: center;
331  width: 100%;
332  text-align: center;
333`,T=c.I4.div`
334  display: flex;
335  gap: 8px;
336  align-items: center;
337  justify-content: center;
338  width: 100%;
339  color: var(--privy-color-foreground-2);
340`,N=c.I4.div`
341  display: flex;
342  align-items: center;
343  justify-content: center;
344  border-radius: var(--privy-border-radius-sm);
345  padding: 2px 8px;
346  gap: 4px;
347  background: var(--privy-color-background-2);
348  color: var(--privy-color-foreground-2);
349`,_=c.I4.span`
350  font-weight: 500;
351  word-break: break-all;
352  color: var(--privy-color-foreground);
353`},55105:(e,r,i)=>{i.d(r,{L:()=>a});var t=i(42073),n=i(28290);let o=n.I4.a`
354  && {
355    color: ${({$variant:e})=>"underlined"===e?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))"};
356    font-weight: 400;
357    text-decoration: ${({$variant:e})=>"underlined"===e?"underline":"var(--privy-link-navigation-decoration, none)"};
358    text-underline-offset: 4px;
359    text-decoration-thickness: 1px;
360    cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
361    opacity: ${({$disabled:e})=>e?.5:1};
362
363    font-size: ${({$size:e})=>{switch(e){case"xs":return"12px";case"sm":return"14px";default:return"16px"}}};
364
365    line-height: ${({$size:e})=>{switch(e){case"xs":return"18px";case"sm":return"22px";default:return"24px"}}};
366
367    transition:
368      color 200ms ease,
369      text-decoration-color 200ms ease,
370      opacity 200ms ease;
371
372    &:hover {
373      color: ${({$variant:e,$disabled:r})=>"underlined"===e?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))"};
374      text-decoration: ${({$disabled:e})=>e?"none":"underline"};
375      text-underline-offset: 4px;
376    }
377
378    &:active {
379      color: ${({$variant:e,$disabled:r})=>r?"underlined"===e?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))":"var(--privy-color-foreground)"};
380    }
381
382    &:focus {
383      outline: none;
384      box-shadow: 0 0 0 3px #949df9;
385      border-radius: 2px;
386    }
387  }
388`,a=({size:e="md",variant:r="navigation",disabled:i=!1,as:n,children:a,onClick:l,...s})=>(0,t.jsx)(o,{as:n,$size:e,$variant:r,$disabled:i,onClick:e=>{i?e.preventDefault():l?.(e)},...s,children:a})},58739:(e,r,i)=>{i.d(r,{A:()=>n});var t=i(13741);let n=t.forwardRef(function(e,r){let{title:i,titleId:n,...o}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":n},o),i?t.createElement("title",{id:n},i):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"}))})},75643:(e,r,i)=>{i.d(r,{s:()=>n});var t=i(28884);let n=(e,r)=>(0,t.s)(e,r.ethereum.createOnLogin)||(0,t.g)(e,r.solana.createOnLogin)},81291:(e,r,i)=>{i.d(r,{A:()=>n});var t=i(13741);let n=t.forwardRef(function(e,r){let{title:i,titleId:n,...o}=e;return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":n},o),i?t.createElement("title",{id:n},i):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))})},83664:(e,r,i)=>{i.d(r,{N:()=>o});var t=i(42073),n=i(28290);let o=({size:e,centerIcon:r})=>(0,t.jsx)(a,{$size:e,children:(0,t.jsxs)(l,{children:[(0,t.jsx)(c,{}),(0,t.jsx)(d,{}),r?(0,t.jsx)(s,{children:r}):null]})}),a=n.I4.div`
389  --spinner-size: ${e=>e.$size?e.$size:"96px"};
390
391  display: inline-flex;
392  justify-content: center;
393  align-items: center;
394
395  @media all and (display-mode: standalone) {
396    margin-bottom: 30px;
397  }
398`,l=n.I4.div`
399  position: relative;
400  height: var(--spinner-size);
401  width: var(--spinner-size);
402
403  opacity: 1;
404  animation: fadein 200ms ease;
405`,s=n.I4.div`
406  position: absolute;
407  top: 0;
408  right: 0;
409  bottom: 0;
410  left: 0;
411  display: flex;
412  align-items: center;
413  justify-content: center;
414  svg,
415  img {
416    width: calc(var(--spinner-size) * 0.4);
417    height: calc(var(--spinner-size) * 0.4);
418    border-radius: var(--privy-border-radius-full);
419  }
420`,c=n.I4.div`
421  position: absolute;
422  top: 0;
423  right: 0;
424  bottom: 0;
425  left: 0;
426  width: var(--spinner-size);
427  height: var(--spinner-size);
428
429  && {
430    border: 4px solid var(--privy-color-border-default);
431    border-radius: 50%;
432  }
433`,d=n.I4.div`
434  position: absolute;
435  top: 0;
436  right: 0;
437  bottom: 0;
438  left: 0;
439  width: var(--spinner-size);
440  height: var(--spinner-size);
441  animation: spin 1200ms linear infinite;
442
443  && {
444    border: 4px solid;
445    border-color: var(--privy-color-icon-subtle) transparent transparent transparent;
446    border-radius: 50%;
447  }
448
449  @keyframes spin {
450    from {
451      transform: rotate(0deg);
452    }
453    to {
454      transform: rotate(360deg);
455    }
456  }
457`},89338:(e,r,i)=>{i.d(r,{S:()=>a});var t=i(42073),n=i(72339),o=i(42315);let a=({primaryCta:e,secondaryCta:r,helpText:i,footerText:a,watermark:l=!0,children:s,...c})=>{let d=e||r?(0,t.jsxs)(t.Fragment,{children:[e&&(()=>{let{label:r,...i}=e,o=i.variant||"primary";return(0,t.jsx)(n.a,{...i,variant:o,style:{width:"100%",...i.style},children:r})})(),r&&(()=>{let{label:e,...i}=r,o=i.variant||"secondary";return(0,t.jsx)(n.a,{...i,variant:o,style:{width:"100%",...i.style},children:e})})()]}):null;return(0,t.jsxs)(o.S,{id:c.id,className:c.className,children:[(0,t.jsx)(o.S.Header,{...c}),s?(0,t.jsx)(o.S.Body,{children:s}):null,i||d||l?(0,t.jsxs)(o.S.Footer,{children:[i?(0,t.jsx)(o.S.HelpText,{children:i}):null,d?(0,t.jsx)(o.S.Actions,{children:d}):null,l?(0,t.jsx)(o.S.Watermark,{}):null]}):null,a?(0,t.jsx)(o.S.FooterText,{children:a}):null]})}}}]);

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.