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