1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7895],{4094:(r,e,i)=>{i.d(e,{C:()=>a,L:()=>h,N:()=>s,O:()=>g,S:()=>l,T:()=>v,a:()=>c,b:()=>k,c:()=>u,d:()=>m,e:()=>f,f:()=>x,g:()=>d,h:()=>p,i:()=>b,j:()=>y,k:()=>w});var o=i(20031),t=i(1726),n=i(30934);let a=(0,o.I4)(n.S)` 2 #privy-content-footer-container { 3 margin-top: 0; 4 } 5`,l=o.I4.p` 6 font-size: 0.875rem; 7 font-weight: 400; 8 line-height: 1.375rem; 9 color: var(--privy-color-foreground-3); 10 margin: 0.25rem 0 0; 11`,d=o.I4.img` 12 width: 2rem; 13 height: 2rem; 14 border-radius: var(--privy-border-radius-full); 15 object-fit: cover; 16 flex-shrink: 0; 17`,s=o.I4.img` 18 width: 2rem; 19 height: 2rem; 20 border-radius: 4px; 21 object-fit: cover; 22 flex-shrink: 0; 23`,c=o.I4.span` 24 font-weight: 500; 25`,p=o.I4.span` 26 font-size: 0.875rem; 27 color: var(--privy-color-foreground-3); 28 margin-left: auto; 29`;o.I4.div` 30 display: flex; 31 align-items: center; 32 gap: 0.5rem; 33 padding: 0.5rem 1rem; 34 min-height: 2.25rem; 35 border-radius: 6.25rem; 36 border: none; 37 background-color: var(--privy-color-background-2); 38 39 input { 40 flex: 1; 41 border: none; 42 outline: none; 43 box-shadow: none; 44 font-size: 0.875rem; 45 line-height: 1.25rem; 46 background: transparent; 47 color: var(--privy-color-foreground); 48 49 &:focus { 50 outline: none; 51 box-shadow: none; 52 } 53 54 &::placeholder { 55 color: var(--privy-color-foreground-3); 56 } 57 } 58`;let g=o.I4.button` 59 && { 60 position: relative; 61 width: 100%; 62 display: flex; 63 gap: 0.75rem; 64 align-items: center; 65 padding: 0.625rem 0.75rem; 66 min-height: 3.5rem; 67 border: 1px solid 68 ${r=>r.$selected?"var(--privy-color-icon-interactive)":"var(--privy-color-foreground-4)"}; 69 border-radius: var(--privy-border-radius-md); 70 background-color: ${r=>r.$selected?"var(--privy-color-info-bg)":"transparent"}; 71 color: var(--privy-color-foreground); 72 font-size: 0.875rem; 73 line-height: 1.5rem; 74 cursor: pointer; 75 outline: none; 76 box-shadow: none; 77 transition: 78 background-color 200ms ease, 79 border-color 200ms ease; 80 81 &:hover { 82 background-color: var(--privy-color-background-2); 83 } 84 85 &:disabled { 86 opacity: ${r=>r.$selected?1:.5}; 87 cursor: not-allowed; 88 } 89 90 &:focus, 91 &:focus-visible { 92 outline: none; 93 box-shadow: none; 94 } 95 } 96`,h=o.I4.div` 97 display: flex; 98 flex-direction: column; 99 align-items: center; 100 justify-content: center; 101 gap: 0.75rem; 102 padding: 3rem 0; 103`,v=o.I4.div` 104 display: flex; 105 flex-direction: column; 106 align-items: flex-start; 107 padding: 0.5rem 0; 108`,u=o.I4.div` 109 display: flex; 110 align-items: center; 111 gap: 0.75rem; 112`,m=o.I4.div` 113 width: 1.5rem; 114 height: 1.5rem; 115 border-radius: var(--privy-border-radius-full); 116 display: flex; 117 align-items: center; 118 justify-content: center; 119 flex-shrink: 0; 120 background-color: ${r=>"done"===r.$status?"var(--privy-color-success-light, #DCFCE7)":"var(--privy-color-background-2)"}; 121`,x=o.I4.div` 122 width: 2px; 123 height: 1rem; 124 background-color: var(--privy-color-background-2); 125 margin-left: 0.6875rem; 126`,f=o.I4.span` 127 font-size: 0.875rem; 128 color: var(--privy-color-foreground); 129`;o.I4.div` 130 display: flex; 131 align-items: flex-start; 132 gap: 0.75rem; 133 padding: 0.75rem 1rem; 134 border-radius: var(--privy-border-radius-md); 135 background-color: var(--privy-color-background-2); 136 font-size: 0.8125rem; 137 line-height: 1.25rem; 138 color: var(--privy-color-foreground-3); 139`;let b=o.I4.div` 140 display: flex; 141 justify-content: space-between; 142 align-items: center; 143 font-size: 0.8125rem; 144 line-height: 1.25rem; 145`,y=o.I4.span` 146 color: var(--privy-color-foreground); 147 font-weight: 400; 148`,w=o.I4.span` 149 color: var(--privy-color-foreground); 150 font-weight: 500; 151 text-align: right; 152 max-width: 60%; 153 overflow: hidden; 154 text-overflow: ellipsis; 155 white-space: nowrap; 156`,k=(0,o.I4)(t.L)` 157 && { 158 margin-left: auto; 159 height: 1.5rem; 160 width: 1.5rem; 161 border-width: 2px; 162 flex-shrink: 0; 163 } 164`},20721:(r,e,i)=>{i.d(e,{S:()=>k});var o=i(95155),t=i(12115),n=i(20031),a=i(1726),l=i(13197),d=i(95204);let s=n.I4.div` 165 /* spacing tokens */ 166 --screen-space: 16px; /* base 1x = 16 */ 167 --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */ 168 169 position: relative; 170 overflow: hidden; 171 margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */ 172 height: 100%; 173 border-radius: var(--privy-border-radius-lg); 174`,c=n.I4.div` 175 display: flex; 176 flex-direction: column; 177 gap: calc(var(--screen-space) * 1.5); 178 width: 100%; 179 background: var(--privy-color-background); 180 padding: 0 var(--screen-space-lg) var(--screen-space); 181 height: 100%; 182 border-radius: var(--privy-border-radius-lg); 183`,p=n.I4.div` 184 position: relative; 185 display: flex; 186 flex-direction: column; 187`,g=(0,n.I4)(l.M)` 188 margin: 0 -8px; 189`,h=n.I4.div` 190 flex: 1 1 auto; 191 display: flex; 192 flex-direction: column; 193 194 /* Enable scrolling */ 195 overflow-y: auto; 196 197 /* Hide scrollbar but keep functionality when scrollable */ 198 /* Add padding for focus outline space, offset with negative margin */ 199 padding: 3px; 200 margin: -3px; 201 202 &::-webkit-scrollbar {
203 display: none; 204 } 205 scrollbar-gutter: stable both-edges; 206 scrollbar-width: none; 207 -ms-overflow-style: none; 208 209 /* Gradient effect for scroll indication */ 210 ${({$colorScheme:r})=>"light"===r?"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"===r?"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} 211 212 background-repeat: no-repeat; 213 background-size: 214 100% 32px, 215 100% 16px; 216 background-attachment: local, scroll; 217`,v=n.I4.div` 218 display: flex; 219 flex-direction: column; 220 gap: var(--screen-space-lg); 221 margin-top: 1.5rem; 222`,u=n.I4.div` 223 text-align: center; 224 display: flex; 225 flex-direction: column; 226 align-items: center; 227 gap: var(--screen-space); 228`,m=n.I4.div` 229 display: flex; 230 flex-direction: column; 231 gap: 4px; 232`,x=n.I4.h3` 233 && { 234 font-size: 20px; 235 line-height: 32px; 236 font-weight: 500; 237 color: var(--privy-color-foreground); 238 margin: 0; 239 } 240`,f=n.I4.p` 241 && { 242 margin: 0; 243 font-size: 16px; 244 font-weight: 300; 245 line-height: 24px; 246 color: var(--privy-color-foreground); 247 } 248`,b=n.I4.div` 249 background: ${({$variant:r})=>{switch(r){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)"}}}; 250 251 border-radius: 50%; 252 width: 64px; 253 height: 64px; 254 display: flex; 255 align-items: center; 256 justify-content: center; 257`,y=n.I4.div` 258 display: flex; 259 align-items: center; 260 justify-content: center; 261 262 img, 263 svg { 264 max-height: 90px; 265 max-width: 180px; 266 } 267`,w=n.I4.div` 268 display: flex; 269 flex-direction: column; 270 justify-content: center; 271 align-items: center; 272 width: 100%; 273 height: 82px; 274 275 > div { 276 position: relative; 277 } 278 279 > div > :first-child { 280 position: relative; 281 } 282 283 > div > :last-child { 284 position: absolute; 285 left: 50%; 286 top: 50%; 287 transform: translate(-50%, -50%); 288 } 289`,k=({children:r,...e})=>(0,o.jsx)(s,{children:(0,o.jsx)(c,{...e,children:r})}),j=n.I4.div` 290 position: absolute; 291 top: 0; 292 left: calc(-1 * var(--screen-space-lg)); 293 width: calc(100% + calc(var(--screen-space-lg) * 2)); 294 height: 4px; 295 background: var(--privy-color-background-2); 296 border-top-left-radius: inherit; 297 border-top-right-radius: inherit; 298 overflow: hidden; 299`,I=(0,n.I4)(l.B)` 300 padding: 0; 301 && a { 302 padding: 0; 303 color: var(--privy-color-foreground-3); 304 } 305`,z=n.I4.div` 306 height: 100%; 307 width: ${({pct:r})=>r}%; 308 background: var(--privy-color-foreground-3); 309 border-radius: 2px; 310 transition: width 300ms ease-in-out; 311`,$=({step:r})=>r?(0,o.jsx)(j,{children:(0,o.jsx)(z,{pct:Math.min(100,r.current/r.total*100)})}):null;k.Header=({title:r,subtitle:e,icon:i,iconVariant:t,iconLoadingStatus:n,showBack:a,onBack:l,showInfo:d,onInfo:s,showClose:c,onClose:h,step:v,headerTitle:b,eyebrow:y,...w})=>(0,o.jsxs)(p,{...w,children:[(0,o.jsx)(g,{backFn:a?l:void 0,infoFn:d?s:void 0,onClose:c?h:void 0,title:b,eyebrow:y,closeable:c}),(i||t||r||e)&&(0,o.jsxs)(u,{children:[i||t?(0,o.jsx)(k.Icon,{icon:i,variant:t,loadingStatus:n}):null,!(!r&&!e)&&(0,o.jsxs)(m,{children:[r&&(0,o.jsx)(x,{children:r}),e&&(0,o.jsx)(f,{children:e})]})]}),v&&(0,o.jsx)($,{step:v})]}),(k.Body=t.forwardRef(({children:r,...e},i)=>(0,o.jsx)(h,{ref:i,...e,children:r}))).displayName="Screen.Body",k.Footer=({children:r,...e})=>(0,o.jsx)(v,{id:"privy-content-footer-container",...e,children:r}),k.Actions=({children:r,...e})=>(0,o.jsx)(C,{...e,children:r}),k.HelpText=({children:r,...e})=>(0,o.jsx)(S,{...e,children:r}),k.FooterText=({children:r,...e})=>(0,o.jsx)(E,{...e,children:r}),k.Watermark=()=>(0,o.jsx)(I,{}),k.Icon=({icon:r,variant:e="subtle",loadingStatus:i})=>"logo"===e&&r?(0,o.jsx)(y,"string"==typeof r?{children:(0,o.jsx)("img",{src:r,alt:""})}:t.isValidElement(r)?{children:r}:{children:t.createElement(r)}):"loading"===e?r?(0,o.jsx)(w,{children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(a.C,{success:i?.success,fail:i?.fail}),"string"==typeof r?(0,o.jsx)("span",{style:{background:`url('${r}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):t.isValidElement(r)?t.cloneElement(r,{style:{width:"38px",height:"38px"}}):t.createElement(r,{style:{width:"38px",height:"38px"}})]})}):(0,o.jsx)(b,{$variant:e,children:(0,o.jsx)(d.N,{size:"64px"})}):(0,o.jsx)(b,{$variant:e,children:r&&("string"==typeof r?(0,o.jsx)("img",{src:r,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}
311):t.isValidElement(r)?r:t.createElement(r,{width:32,height:32,stroke:(()=>{switch(e){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=n.I4.div` 312 width: 100%; 313 display: flex; 314 flex-direction: column; 315 gap: calc(var(--screen-space) / 2); 316`,S=n.I4.div` 317 && { 318 margin: 0; 319 width: 100%; 320 text-align: center; 321 color: var(--privy-color-foreground-2); 322 font-size: 13px; 323 line-height: 20px; 324 325 & a { 326 text-decoration: underline; 327 } 328 } 329`,E=n.I4.div` 330 && { 331 margin-top: -1rem; 332 width: 100%; 333 text-align: center; 334 color: var(--privy-color-foreground-2); 335 font-size: 0.6875rem; // 11px 336 line-height: 1rem; // 16px 337 } 338`},30934:(r,e,i)=>{i.d(e,{S:()=>a});var o=i(95155),t=i(13197),n=i(20721);let a=({primaryCta:r,secondaryCta:e,helpText:i,footerText:a,watermark:l=!0,children:d,...s})=>{let c=r||e?(0,o.jsxs)(o.Fragment,{children:[r&&(()=>{let{label:e,...i}=r,n=i.variant||"primary";return(0,o.jsx)(t.a,{...i,variant:n,style:{width:"100%",...i.style},children:e})})(),e&&(()=>{let{label:r,...i}=e,n=i.variant||"secondary";return(0,o.jsx)(t.a,{...i,variant:n,style:{width:"100%",...i.style},children:r})})()]}):null;return(0,o.jsxs)(n.S,{id:s.id,className:s.className,children:[(0,o.jsx)(n.S.Header,{...s}),d?(0,o.jsx)(n.S.Body,{children:d}):null,i||c||l?(0,o.jsxs)(n.S.Footer,{children:[i?(0,o.jsx)(n.S.HelpText,{children:i}):null,c?(0,o.jsx)(n.S.Actions,{children:c}):null,l?(0,o.jsx)(n.S.Watermark,{}):null]}):null,a?(0,o.jsx)(n.S.FooterText,{children:a}):null]})}},54690:(r,e,i)=>{i.d(e,{A:()=>o});let o=(0,i(71847).A)("qr-code",[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]])},71847:(r,e,i)=>{i.d(e,{A:()=>d});var o=i(12115);let t=r=>{let e=r.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)},n=function(){for(var r=arguments.length,e=Array(r),i=0;i<r;i++)e[i]=arguments[i];return e.filter((r,e,i)=>!!r&&""!==r.trim()&&i.indexOf(r)===e).join(" ").trim()};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,o.forwardRef)((r,e)=>{let{color:i="currentColor",size:t=24,strokeWidth:l=2,absoluteStrokeWidth:d,className:s="",children:c,iconNode:p,...g}=r;return(0,o.createElement)("svg",{ref:e,...a,width:t,height:t,stroke:i,strokeWidth:d?24*Number(l)/Number(t):l,className:n("lucide",s),...!c&&!(r=>{for(let e in r)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0})(g)&&{"aria-hidden":"true"},...g},[...p.map(r=>{let[e,i]=r;return(0,o.createElement)(e,i)}),...Array.isArray(c)?c:[c]])}),d=(r,e)=>{let i=(0,o.forwardRef)((i,a)=>{let{className:d,...s}=i;return(0,o.createElement)(l,{ref:a,iconNode:e,className:n("lucide-".concat(t(r).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(r),d),...s})});return i.displayName=t(r),i}},89815:(r,e,i)=>{i.d(e,{C:()=>a,S:()=>l,W:()=>n,b:()=>t});var o=i(20031);o.I4.div` 339 display: flex; 340 justify-content: space-between; 341 align-items: center; 342`,o.I4.button` 343 padding: 0.25rem; 344 height: 30px; 345 width: 30px; 346 347 display: flex; 348 align-items: center; 349 justify-content: center; 350 border-radius: var(--privy-border-radius-full); 351 background: var(--privy-color-background-2); 352`;let t=o.I4.div` 353 position: relative; 354 display: inline-flex; 355 align-items: center; 356 357 &::after { 358 content: ' '; 359 border-radius: var(--privy-border-radius-full); 360 height: 6px; 361 width: 6px; 362 background-color: var(--privy-color-icon-success); 363 position: absolute; 364 right: -3px; 365 top: -3px; 366 } 367`,n=o.I4.img` 368 width: 32px; 369 height: 32px; 370 border-radius: 0.25rem; 371 object-fit: contain; 372`,a=o.I4.span` 373 display: flex; 374 gap: 0.25rem; 375 align-items: center; 376 padding: 0.25rem 0.5rem; 377 font-size: 0.75rem; 378 font-weight: 500; 379 line-height: 1.125rem; /* 150% */ 380 border-radius: var(--privy-border-radius-sm); 381 background-color: var(--privy-color-background-2); 382 383 svg { 384 width: 100%; 385 max-width: 1rem; 386 max-height: 1rem; 387 stroke-width: 2; 388 } 389`,l=o.I4.div` 390 display: flex; 391 flex-direction: column; 392 gap: 0.5rem; 393 max-height: 24rem;
394 overflow-y: scroll; 395 396 &::-webkit-scrollbar { 397 display: none; 398 } 399 400 scrollbar-gutter: stable both-edges; 401 scrollbar-width: none; 402 -ms-overflow-style: none; 403 404 ${r=>"light"===r.$colorScheme?"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"===r.$colorScheme?"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} 405 406 background-repeat: no-repeat; 407 background-size: 408 100% 32px, 409 100% 16px; 410 background-attachment: local, scroll; 411`},95204:(r,e,i)=>{i.d(e,{N:()=>n});var o=i(95155),t=i(20031);let n=({size:r,centerIcon:e})=>(0,o.jsx)(a,{$size:r,children:(0,o.jsxs)(l,{children:[(0,o.jsx)(s,{}),(0,o.jsx)(c,{}),e?(0,o.jsx)(d,{children:e}):null]})}),a=t.I4.div` 412 --spinner-size: ${r=>r.$size?r.$size:"96px"}; 413 414 display: inline-flex; 415 justify-content: center; 416 align-items: center; 417 418 @media all and (display-mode: standalone) { 419 margin-bottom: 30px; 420 } 421`,l=t.I4.div` 422 position: relative; 423 height: var(--spinner-size); 424 width: var(--spinner-size); 425 426 opacity: 1; 427 animation: fadein 200ms ease; 428`,d=t.I4.div` 429 position: absolute; 430 top: 0; 431 right: 0; 432 bottom: 0; 433 left: 0; 434 display: flex; 435 align-items: center; 436 justify-content: center; 437 svg, 438 img { 439 width: calc(var(--spinner-size) * 0.4); 440 height: calc(var(--spinner-size) * 0.4); 441 border-radius: var(--privy-border-radius-full); 442 } 443`,s=t.I4.div` 444 position: absolute; 445 top: 0; 446 right: 0; 447 bottom: 0; 448 left: 0; 449 width: var(--spinner-size); 450 height: var(--spinner-size); 451 452 && { 453 border: 4px solid var(--privy-color-border-default); 454 border-radius: 50%; 455 } 456`,c=t.I4.div` 457 position: absolute; 458 top: 0; 459 right: 0; 460 bottom: 0; 461 left: 0; 462 width: var(--spinner-size); 463 height: var(--spinner-size); 464 animation: spin 1200ms linear infinite; 465 466 && { 467 border: 4px solid; 468 border-color: var(--privy-color-icon-subtle) transparent transparent transparent; 469 border-radius: 50%; 470 } 471 472 @keyframes spin { 473 from { 474 transform: rotate(0deg); 475 } 476 to { 477 transform: rotate(360deg); 478 } 479 } 480`}}]);
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.