1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2655],{2176:(e,r,i)=>{i.d(r,{A:()=>d});var o=i(34476);let t=e=>{let r=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,i)=>i?i.toUpperCase():r.toLowerCase());return r.charAt(0).toUpperCase()+r.slice(1)},a=function(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=arguments[i];return r.filter((e,r,i)=>!!e&&""!==e.trim()&&i.indexOf(e)===r).join(" ").trim()};var n={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)((e,r)=>{let{color:i="currentColor",size:t=24,strokeWidth:l=2,absoluteStrokeWidth:d,className:s="",children:c,iconNode:p,...u}=e;return(0,o.createElement)("svg",{ref:r,...n,width:t,height:t,stroke:i,strokeWidth:d?24*Number(l)/Number(t):l,className:a("lucide",s),...!c&&!(e=>{for(let r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(u)&&{"aria-hidden":"true"},...u},[...p.map(e=>{let[r,i]=e;return(0,o.createElement)(r,i)}),...Array.isArray(c)?c:[c]])}),d=(e,r)=>{let i=(0,o.forwardRef)((i,n)=>{let{className:d,...s}=i;return(0,o.createElement)(l,{ref:n,iconNode:r,className:a("lucide-".concat(t(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),d),...s})});return i.displayName=t(e),i}},3666:(e,r,i)=>{i.d(r,{S:()=>j});var o=i(92128),t=i(34476),a=i(60776),n=i(16185),l=i(82149),d=i(59513),s=i(24178);let c=a.I4.div` 2 /* spacing tokens */ 3 --screen-space: 16px; /* base 1x = 16 */ 4 --screen-space-lg: calc(var(--screen-space) * 1.5); /* 24px */ 5 6 position: relative; 7 overflow: hidden; 8 margin: 0 calc(-1 * var(--screen-space)); /* extends over modal padding */ 9 height: 100%; 10 border-radius: var(--privy-border-radius-lg); 11`,p=a.I4.div` 12 display: flex; 13 flex-direction: column; 14 gap: calc(var(--screen-space) * 1.5); 15 width: 100%; 16 background: var(--privy-color-background); 17 padding: 0 var(--screen-space-lg) var(--screen-space); 18 height: 100%; 19 border-radius: var(--privy-border-radius-lg); 20`,u=a.I4.div` 21 position: relative; 22 display: flex; 23 flex-direction: column; 24`,g=(0,a.I4)(d.M)` 25 margin: 0 -8px; 26`,h=a.I4.div` 27 flex: 1 1 auto; 28 display: flex; 29 flex-direction: column; 30 31 /* Enable scrolling */ 32 overflow-y: auto; 33 34 /* Hide scrollbar but keep functionality when scrollable */ 35 /* Add padding for focus outline space, offset with negative margin */ 36 padding: 3px; 37 margin: -3px; 38 39 &::-webkit-scrollbar {
40 display: none; 41 } 42 scrollbar-gutter: stable both-edges; 43 scrollbar-width: none; 44 -ms-overflow-style: none; 45 46 /* Gradient effect for scroll indication */ 47 ${({$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} 48 49 background-repeat: no-repeat; 50 background-size: 51 100% 32px, 52 100% 16px; 53 background-attachment: local, scroll; 54`,v=a.I4.div` 55 display: flex; 56 flex-direction: column; 57 gap: var(--screen-space-lg); 58 margin-top: 1.5rem; 59`,x=a.I4.div` 60 text-align: center; 61 display: flex; 62 flex-direction: column; 63 align-items: center; 64 gap: var(--screen-space); 65`,f=a.I4.div` 66 display: flex; 67 flex-direction: column; 68 gap: 4px; 69`,m=a.I4.h3` 70 && { 71 font-size: 20px; 72 line-height: 32px; 73 font-weight: 500; 74 color: var(--privy-color-foreground); 75 margin: 0; 76 } 77`,y=a.I4.p` 78 && { 79 margin: 0; 80 font-size: 16px; 81 font-weight: 300; 82 line-height: 24px; 83 color: var(--privy-color-foreground); 84 } 85`,b=a.I4.div` 86 background: ${({$variant:e})=>{switch(e){case"success":return"var(--privy-color-success-bg)";case"warning":return"var(--privy-color-warn)";case"error":return"var(--privy-color-error-bg)";case"loading":case"logo":return"transparent";default:return"var(--privy-color-background-2)"}}}; 87 88 border-radius: 50%; 89 width: 64px; 90 height: 64px; 91 display: flex; 92 align-items: center; 93 justify-content: center; 94`,w=a.I4.div` 95 display: flex; 96 align-items: center; 97 justify-content: center; 98 99 img, 100 svg { 101 max-height: 90px; 102 max-width: 180px; 103 } 104`,k=a.I4.div` 105 display: flex; 106 flex-direction: column; 107 justify-content: center; 108 align-items: center; 109 width: 100%; 110 height: 82px; 111 112 > div { 113 position: relative; 114 } 115 116 > div > :first-child { 117 position: relative; 118 } 119 120 > div > :last-child { 121 position: absolute; 122 left: 50%; 123 top: 50%; 124 transform: translate(-50%, -50%); 125 } 126`,j=({children:e,...r})=>(0,o.jsx)(c,{children:(0,o.jsx)(p,{...r,children:e})}),I=a.I4.div` 127 position: absolute; 128 top: 0; 129 left: calc(-1 * var(--screen-space-lg)); 130 width: calc(100% + calc(var(--screen-space-lg) * 2)); 131 height: 4px; 132 background: var(--privy-color-background-2); 133 border-top-left-radius: inherit; 134 border-top-right-radius: inherit; 135 overflow: hidden; 136`,$=(0,a.I4)(l.B)` 137 padding: 0; 138 && a { 139 padding: 0; 140 color: var(--privy-color-foreground-3); 141 } 142`,S=a.I4.div` 143 height: 100%; 144 width: ${({pct:e})=>e}%; 145 background: var(--privy-color-foreground-3); 146 border-radius: 2px; 147 transition: width 300ms ease-in-out; 148`,C=({step:e})=>e?(0,o.jsx)(I,{children:(0,o.jsx)(S,{pct:Math.min(100,e.current/e.total*100)})}):null;j.Header=({title:e,subtitle:r,icon:i,iconVariant:t,iconLoadingStatus:a,showBack:n,onBack:l,showInfo:d,onInfo:s,showClose:c,onClose:p,step:h,headerTitle:v,eyebrow:b,...w})=>(0,o.jsxs)(u,{...w,children:[(0,o.jsx)(g,{backFn:n?l:void 0,infoFn:d?s:void 0,onClose:c?p:void 0,title:v,eyebrow:b,closeable:c}),(i||t||e||r)&&(0,o.jsxs)(x,{children:[i||t?(0,o.jsx)(j.Icon,{icon:i,variant:t,loadingStatus:a}):null,!(!e&&!r)&&(0,o.jsxs)(f,{children:[e&&(0,o.jsx)(m,{children:e}),r&&(0,o.jsx)(y,{children:r})]})]}),h&&(0,o.jsx)(C,{step:h})]}),(j.Body=t.forwardRef(({children:e,...r},i)=>(0,o.jsx)(h,{ref:i,...r,children:e}))).displayName="Screen.Body",j.Footer=({children:e,...r})=>(0,o.jsx)(v,{id:"privy-content-footer-container",...r,children:e}),j.Actions=({children:e,...r})=>(0,o.jsx)(E,{...r,children:e}),j.HelpText=({children:e,...r})=>(0,o.jsx)(z,{...r,children:e}),j.FooterText=({children:e,...r})=>(0,o.jsx)(A,{...r,children:e}),j.Watermark=()=>(0,o.jsx)($,{}),j.Icon=({icon:e,variant:r="subtle",loadingStatus:i})=>"logo"===r&&e?(0,o.jsx)(w,"string"==typeof e?{children:(0,o.jsx)("img",{src:e,alt:""})}:t.isValidElement(e)?{children:e}:{children:t.createElement(e)}):"loading"===r?e?(0,o.jsx)(k,{children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(n.C,{success:i?.success,fail:i?.fail}),"string"==typeof e?(0,o.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):t.isValidElement(e)?t.cloneElement(e,{style:{width:"38px",height:"38px"}}):t.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,o.jsx)(b,{$variant:r,children:(0,o.jsx)(s.N,{size:"64px"})}):(0,o.jsx)(b,{$variant:r,children:e&&("string"==typeof e?(0,o.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}
148):t.isValidElement(e)?e:t.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 E=a.I4.div` 149 width: 100%; 150 display: flex; 151 flex-direction: column; 152 gap: calc(var(--screen-space) / 2); 153`,z=a.I4.div` 154 && { 155 margin: 0; 156 width: 100%; 157 text-align: center; 158 color: var(--privy-color-foreground-2); 159 font-size: 13px; 160 line-height: 20px; 161 162 & a { 163 text-decoration: underline; 164 } 165 } 166`,A=a.I4.div` 167 && { 168 margin-top: -1rem; 169 width: 100%; 170 text-align: center; 171 color: var(--privy-color-foreground-2); 172 font-size: 0.6875rem; /* 11px */ 173 line-height: 1rem; /* 16px */ 174 } 175`},9034:(e,r,i)=>{i.d(r,{E:()=>t});var o=i(60776);let t=o.I4.span` 176 text-align: left; 177 font-size: 0.75rem; 178 font-weight: 500; 179 line-height: 1.125rem; /* 150% */ 180 181 color: var(--privy-color-error); 182`},14395:(e,r,i)=>{i.d(r,{A:()=>o});let o=(0,i(2176).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},24178:(e,r,i)=>{i.d(r,{N:()=>a});var o=i(92128),t=i(60776);let a=({size:e,centerIcon:r})=>(0,o.jsx)(n,{$size:e,children:(0,o.jsxs)(l,{children:[(0,o.jsx)(s,{}),(0,o.jsx)(c,{}),r?(0,o.jsx)(d,{children:r}):null]})}),n=t.I4.div` 183 --spinner-size: ${e=>e.$size?e.$size:"96px"}; 184 185 display: inline-flex; 186 justify-content: center; 187 align-items: center; 188 189 @media all and (display-mode: standalone) { 190 margin-bottom: 30px; 191 } 192`,l=t.I4.div` 193 position: relative; 194 height: var(--spinner-size); 195 width: var(--spinner-size); 196 197 opacity: 1; 198 animation: fadein 200ms ease; 199`,d=t.I4.div` 200 position: absolute; 201 inset: 0; 202 display: flex; 203 align-items: center; 204 justify-content: center; 205 svg, 206 img { 207 width: calc(var(--spinner-size) * 0.4); 208 height: calc(var(--spinner-size) * 0.4); 209 border-radius: var(--privy-border-radius-full); 210 } 211`,s=t.I4.div` 212 position: absolute; 213 inset: 0; 214 width: var(--spinner-size); 215 height: var(--spinner-size); 216 217 && { 218 border: 4px solid var(--privy-color-border-default); 219 border-radius: 50%; 220 } 221`,c=t.I4.div` 222 position: absolute; 223 inset: 0; 224 width: var(--spinner-size); 225 height: var(--spinner-size); 226 animation: spin 1200ms linear infinite; 227 228 && { 229 border: 4px solid; 230 border-color: var(--privy-color-icon-subtle) transparent transparent transparent; 231 border-radius: 50%; 232 } 233 234 @keyframes spin { 235 from { 236 transform: rotate(0deg); 237 } 238 to { 239 transform: rotate(360deg); 240 } 241 } 242`},31171:(e,r,i)=>{i.d(r,{E:()=>n,I:()=>d,a:()=>l});var o=i(60776),t=i(9034);let a=o.I4.label` 243 display: block; 244 position: relative; 245 width: 100%; 246 height: 56px; 247 248 && > :first-child { 249 position: absolute; 250 left: 0.75em; 251 top: 50%; 252 transform: translate(0, -50%); 253 } 254 255 && > input { 256 font-size: 16px; 257 line-height: 24px; 258 color: var(--privy-color-foreground); 259 260 padding: 12px 88px 12px 52px; 261 flex-grow: 1; 262 background: var(--privy-color-background); 263 border: 1px solid 264 ${({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)"}; 265 border-radius: var(--privy-border-radius-md); 266 width: 100%; 267 height: 100%; 268 269 /* Tablet and Up */ 270 @media (min-width: 441px) { 271 font-size: 14px; 272 padding-right: 78px; 273 } 274 275 :focus { 276 outline: none; 277 border-color: ${({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-accent-light)"}; 278 box-shadow: ${({$error:e})=>e?"none":"0 0 0 1px var(--privy-color-accent-light)"}; 279 } 280 281 :autofill, 282 :-webkit-autofill { 283 background: var(--privy-color-background); 284 } 285 286 && > input::placeholder { 287 color: var(--privy-color-foreground-3); 288 } 289 &:disabled { 290 opacity: 0.4; /* Make it visually appear disabled */ 291 cursor: not-allowed; /* Change cursor to not-allowed */ 292 } 293 &:disabled, 294 &:disabled:hover, 295 &:disabled > span { 296 color: var(--privy-color-foreground-3); /* Change text color to grey */ 297 } 298 } 299 300 && > button:last-child { 301 right: 0; 302 line-height: 24px; 303 padding: 16px 17px; 304 /* matches the border radius of the input only on the right side where we touch the radius */ 305 border-radius: 0 var(--privy-border-radius-md) var(--privy-border-radius-md) 0; 306 307 :focus { 308 outline: none; 309 } 310 &:disabled { 311 opacity: 0.4; /* Make it visually appear disabled */
312 cursor: not-allowed; /* Change cursor to not-allowed */ 313 } 314 &:disabled, 315 &:disabled:hover, 316 &:disabled > span { 317 color: var(--privy-color-foreground-3); /* Change text color to grey */ 318 } 319 } 320`,n=(0,o.I4)(a)` 321 background-color: var(--privy-color-background); 322 transition: background-color 200ms ease; 323`,l=(0,o.I4)(a)` 324 && > input { 325 overflow: hidden; 326 white-space: nowrap; 327 text-overflow: ellipsis; 328 329 padding-right: ${e=>e.$stacked?"16px":"88px"}; 330 331 border: 1px solid 332 ${({$error:e})=>e?"var(--privy-color-error) !important":"var(--privy-color-foreground-4)"}; 333 334 && > input::placeholder { 335 color: var(--privy-color-foreground-3); 336 } 337 } 338 339 && > :last-child { 340 right: 16px; 341 position: absolute; 342 top: 50%; 343 transform: translate(0, -50%); 344 } 345 346 && > button:last-child { 347 right: 0; 348 line-height: 24px; 349 padding: 16px 17px; 350 351 :focus { 352 outline: none; 353 } 354 } 355`,d=o.I4.div` 356 width: 100%; 357 358 /* Add styling for the ErrorMessage within EmailInput */ 359 && > ${t.E} { 360 display: block; 361 text-align: left; 362 padding-left: var(--privy-border-radius-md); 363 padding-bottom: 5px; 364 } 365`},40939:(e,r,i)=>{i.d(r,{A:()=>t});var o=i(34476);let t=o.forwardRef(function(e,r){let{title:i,titleId:t,...a}=e;return o.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":t},a),i?o.createElement("title",{id:t},i):null,o.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"}))})},52655:(e,r,i)=>{i.r(r),i.d(r,{LinkEmailScreen:()=>c,LinkEmailScreenView:()=>s,default:()=>c});var o=i(92128),t=i(40939),a=i(74415),n=i(66220),l=i(32659),d=i(78037);i(34476),i(1010),i(53847),i(85083),i(36803);let s=({title:e="Connect your email",subtitle:r="Add your email to your account"})=>(0,o.jsx)(d.S,{title:e,subtitle:r,icon:t.A,watermark:!0,children:(0,o.jsx)(n.B,{children:(0,o.jsx)(a.C,{stacked:!0})})}),c={component:()=>{let e=(0,l.a)();return(0,o.jsx)(s,{subtitle:`Add your email to your ${e?.name} account`})}}},54649:(e,r,i)=>{i.d(r,{C:()=>n});var o=i(92128),t=i(60776),a=i(59167);let n=({children:e,color:r,isLoading:i,isPulsing:t,...a})=>(0,o.jsx)(l,{$color:r,$isLoading:i,$isPulsing:t,...a,children:e}),l=t.I4.span` 366 padding: 0.25rem; 367 font-size: 0.75rem; 368 font-weight: 500; 369 line-height: 1rem; /* 150% */ 370 border-radius: var(--privy-border-radius-xs); 371 display: flex; 372 align-items: center; 373 ${e=>{let r,i;"green"===e.$color&&(r="var(--privy-color-success-dark)",i="var(--privy-color-success-light)"),"red"===e.$color&&(r="var(--privy-color-error)",i="var(--privy-color-error-light)"),"gray"===e.$color&&(r="var(--privy-color-foreground-2)",i="var(--privy-color-background-2)");let o=(0,t.i7)` 374 from, to { 375 background-color: ${i}; 376 } 377 378 50% { 379 background-color: rgba(${i}, 0.8); 380 } 381 `;return(0,t.AH)` 382 color: ${r}; 383 background-color: ${i}; 384 ${e.$isPulsing&&(0,t.AH)` 385 animation: ${o} 3s linear infinite; 386 `}; 387 `}} 388 389 ${a.L} 390`},59167:(e,r,i)=>{i.d(r,{L:()=>a});var o=i(60776);let t=(0,o.i7)` 391 from, to { 392 background: var(--privy-color-foreground-4); 393 color: var(--privy-color-foreground-4); 394 } 395 396 50% { 397 background: var(--privy-color-foreground-accent); 398 color: var(--privy-color-foreground-accent); 399 } 400`,a=(0,o.AH)` 401 ${e=>e.$isLoading?(0,o.AH)` 402 width: 35%; 403 animation: ${t} 2s linear infinite; 404 border-radius: var(--privy-border-radius-sm); 405 `:""} 406`},66220:(e,r,i)=>{i.d(r,{B:()=>t,C:()=>l,F:()=>s,H:()=>n,R:()=>g,S:()=>p,a:()=>c,b:()=>u,c:()=>d,d:()=>h,e:()=>a});var o=i(60776);let t=o.I4.div` 407 display: flex; 408 flex-direction: column; 409 align-items: flex-start; 410 justify-content: flex-end; 411 margin-top: auto; 412 gap: 16px; 413 flex-grow: 100; 414`,a=o.I4.div` 415 display: flex; 416 flex-direction: column; 417 align-items: center; 418 justify-content: center; 419 flex-grow: 1; 420 width: 100%; 421`,n=o.I4.div` 422 display: flex; 423 flex-direction: column; 424 align-items: center; 425 width: 100%; 426`,l=(0,o.I4)(a)` 427 padding: 20px 0; 428`,d=(0,o.I4)(a)` 429 gap: 16px; 430`,s=o.I4.div` 431 display: flex; 432 flex-direction: column; 433 width: 100%; 434`,c=o.I4.div` 435 display: flex; 436 flex-direction: column; 437 gap: 8px; 438`;o.I4.div` 439 display: flex; 440 flex-direction: column; 441 justify-content: space-between; 442 height: 100%; 443`;let p=o.I4.div` 444 display: flex; 445 flex-direction: column; 446 justify-content: flex-start; 447 align-items: flex-start; 448 text-align: left; 449 gap: 8px; 450 padding: 16px; 451 margin-top: 16px; 452 margin-bottom: 16px; 453 width: 100%; 454 background: var(--privy-color-background-2); 455 border-radius: var(--privy-border-radius-md); 456 && h4 { 457 color: var(--privy-color-foreground-3); 458 font-size: 14px; 459 text-decoration: underline; 460 font-weight: 500; 461 } 462 && p { 463 color: var(--privy-color-foreground-3); 464 font-size: 14px; 465 } 466`,u=o.I4.div` 467 height: 16px; 468`,g=o.I4.div` 469 height: 12px; 470`;o.I4.div` 471 position: relative; 472`;let h=o.I4.div` 473 height: ${e=>e.height??"12"}px; 474`;o.I4.div` 475 background-color: var(--privy-color-accent); 476 display: flex; 477 justify-content: center; 478 align-items: center; 479 border-radius: 50%; 480 border-color: white; 481 border-width: 2px !important; 482`},74415:(e,r,i)=>{i.d(r,{C:()=>f});var o=i(92128),t=i(14395),a=i(34476),n=i(60776),l=i(32659),d=i(34828),s=i(12260),c=i(7379),p=i(1362),u=i(11826),g=i(59513),h=i(54649),v=i(31171),x=i(9034);let f=(0,a.forwardRef)((e,r)=>{let[i,n]=(0,a.useState)(e.defaultValue||""),[v,f]=(0,a.useState)(""),[w,k]=(0,a.useState)(!1),{authenticated:j}=(0,l.u)(),{initLoginWithEmail:I}=(0,s.u)(),{navigate:$,setModalData:S,currentScreen:C,data:E}=(0,c.u)(),{enabled:z,token:A}=(0,d.a)(),[L,N]=(0,a.useState)(!1),{accountType:T}=(0,p.h)(),B=(0,l.a)(),F=(0,u.v)(i)&&(B.disablePlusEmails&&i.includes("+")?(v||f("Please enter a valid email address without a '+'."),!1):(v&&f(""),!0)),H=w||!F,P=()=>{H||(S({login:E?.login,inlineError:void 0}),!z||A||j?(k(!0),I({email:i,captchaToken:A,disableSignup:E?.login?.disableSignup,withPrivyUi:!0}).then(()=>{$("AwaitingPasswordlessCodeScreen")}).catch(e=>
482{S({errorModalData:{error:e,previousScreen:C||"LandingScreen"}}),$("ErrorScreen")}).finally(()=>{k(!1)})):(S({captchaModalData:{callback:e=>I({email:i,captchaToken:e,withPrivyUi:!0}),userIntentRequired:!1,onSuccessNavigateTo:"AwaitingPasswordlessCodeScreen",onErrorNavigateTo:"ErrorScreen"}}),$("CaptchaScreen")))};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(m,{children:[v&&(0,o.jsx)(x.E,{style:{display:"block",marginTop:"0.25rem",textAlign:"left"},children:v}),(0,o.jsxs)(y,{stacked:e.stacked,$error:!!v,children:[(0,o.jsx)(b,{children:(0,o.jsx)(t.A,{})}),(0,o.jsx)("input",{ref:r,id:"email-input",className:"login-method-button",type:"email",placeholder:"[email protected]",onFocus:()=>N(!0),onChange:e=>n(e.target.value),onKeyUp:e=>{"Enter"===e.key&&P()},value:i,autoComplete:"email"}),"email"!==T||L?e.stacked?(0,o.jsx)("span",{}):(0,o.jsx)(g.E,{isSubmitting:w,onClick:P,disabled:H,children:"Submit"}):(0,o.jsx)(h.C,{color:"gray",children:"Recent"})]})]}),e.stacked?(0,o.jsx)(g.P,{loadingText:null,loading:w,disabled:H,onClick:P,style:{width:"100%"},children:"Submit"}):null]})}),m=v.I,y=v.a,b=(0,n.I4)(p.m)` 483 display: inline-flex; 484`},78037:(e,r,i)=>{i.d(r,{S:()=>n});var o=i(92128),t=i(59513),a=i(3666);let n=({primaryCta:e,secondaryCta:r,helpText:i,footerText:n,watermark:l=!0,children:d,...s})=>{let c=e||r?(0,o.jsxs)(o.Fragment,{children:[e&&(()=>{let{label:r,...i}=e,a=i.variant||"primary";return(0,o.jsx)(t.B,{...i,variant:a,style:{width:"100%",...i.style},children:r})})(),r&&(()=>{let{label:e,...i}=r,a=i.variant||"secondary";return(0,o.jsx)(t.B,{...i,variant:a,style:{width:"100%",...i.style},children:e})})()]}):null;return(0,o.jsxs)(a.S,{id:s.id,className:s.className,children:[(0,o.jsx)(a.S.Header,{...s}),d?(0,o.jsx)(a.S.Body,{children:d}):null,i||c||l?(0,o.jsxs)(a.S.Footer,{children:[i?(0,o.jsx)(a.S.HelpText,{children:i}):null,c?(0,o.jsx)(a.S.Actions,{children:c}):null,l?(0,o.jsx)(a.S.Watermark,{}):null]}):null,n?(0,o.jsx)(a.S.FooterText,{children:n}):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.