1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3876],{8245:(e,i,t)=>{t.d(i,{N:()=>o});var n=t(95155),r=t(52336);let o=({size:e,centerIcon:i})=>(0,n.jsx)(a,{$size:e,children:(0,n.jsxs)(l,{children:[(0,n.jsx)(c,{}),(0,n.jsx)(d,{}),i?(0,n.jsx)(s,{children:i}):null]})}),a=r.I4.div.withConfig({displayName:"LoadingContainer",componentId:"sc-ebc93df8-0"})(["--spinner-size:",";display:inline-flex;justify-content:center;align-items:center;@media all and (display-mode:standalone){margin-bottom:30px;}"],e=>e.$size?e.$size:"96px"),l=r.I4.div.withConfig({displayName:"SpinnerContainer",componentId:"sc-ebc93df8-1"})(["position:relative;height:var(--spinner-size);width:var(--spinner-size);opacity:1;animation:fadein 200ms ease;"]),s=r.I4.div.withConfig({displayName:"CenterIconContainer",componentId:"sc-ebc93df8-2"})(["position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;svg,img{width:calc(var(--spinner-size) * 0.4);height:calc(var(--spinner-size) * 0.4);border-radius:var(--privy-border-radius-full);}"]),c=r.I4.div.withConfig({displayName:"CircleFixed",componentId:"sc-ebc93df8-3"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);&&{border:4px solid var(--privy-color-border-default);border-radius:50%;}"]),d=r.I4.div.withConfig({displayName:"CircleRotate",componentId:"sc-ebc93df8-4"})(["position:absolute;top:0;right:0;bottom:0;left:0;width:var(--spinner-size);height:var(--spinner-size);animation:spin 1200ms linear infinite;&&{border:4px solid;border-color:var(--privy-color-icon-subtle) transparent transparent transparent;border-radius:50%;}@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}"])},15815:(e,i,t)=>{t.d(i,{S:()=>I});var n=t(95155),r=t(12115),o=t(52336),a=t(96190),l=t(87755),s=t(8245);let c=o.I4.div.withConfig({displayName:"ScreenRoot",componentId:"sc-2e815abe-0"})(["--screen-space:16px;--screen-space-lg:calc(var(--screen-space) * 1.5);position:relative;overflow:hidden;margin:0 calc(-1 * var(--screen-space));height:100%;border-radius:var(--privy-border-radius-lg);"]),d=o.I4.div.withConfig({displayName:"ScreenRootInner",componentId:"sc-2e815abe-1"})(["display:flex;flex-direction:column;gap:calc(var(--screen-space) * 1.5);width:100%;background:var(--privy-color-background);padding:0 var(--screen-space-lg) var(--screen-space);height:100%;border-radius:var(--privy-border-radius-lg);"]),p=o.I4.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),h=(0,o.I4)(l.M).withConfig({displayName:"StyledModalHeader",componentId:"sc-2e815abe-3"})(["margin:0 -8px;"]),g=o.I4.div.withConfig({displayName:"BodyContainer",componentId:"sc-2e815abe-4"})(["flex:1 1 auto;display:flex;flex-direction:column;overflow-y:auto;padding:3px;margin:-3px;&::-webkit-scrollbar{display:none;}scrollbar-gutter:stable both-edges;scrollbar-width:none;-ms-overflow-style:none;"," background-repeat:no-repeat;background-size:100% 32px,100% 16px;background-attachment:local,scroll;"],({$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),u=o.I4.div.withConfig({displayName:"FooterContainer",componentId:"sc-2e815abe-5"})(["display:flex;flex-direction:column;gap:var(--screen-space-lg);"]),m=o.I4.div.withConfig({displayName:"CenteredHeader",componentId:"sc-2e815abe-6"})(["text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--screen-space);"]),v=o.I4.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),x=o.I4.h3.withConfig({displayName:"HeaderTitle",componentId:"sc-2e815abe-8"})(["&&{font-size:20px;line-height:32px;font-weight:500;color:var(--privy-color-foreground);margin:0;}"]),b=o.I4.p.withConfig({displayName:"HeaderSubtitle",componentId:"sc-2e815abe-9"})(["&&{margin:0;font-size:16px;font-weight:300;line-height:24px;color:var(--privy-color-foreground);}"]),f=o.I4.div.withConfig({displayName:"IconContainer",componentId:"sc-2e815abe-10"})(["background:",";border-radius:50%;width:64px;
1height:64px;display:flex;align-items:center;justify-content:center;"],({$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)"}}),y=o.I4.div.withConfig({displayName:"LogoContainer",componentId:"sc-2e815abe-11"})(["display:flex;align-items:center;justify-content:center;margin-bottom:var(--screen-space);img,svg{max-height:90px;max-width:180px;}"]),w=o.I4.div.withConfig({displayName:"LoadingWithIconContainer",componentId:"sc-2e815abe-12"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:82px;> div{position:relative;}> div > :first-child{position:relative;}> div > :last-child{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);}"]),I=({children:e,...i})=>(0,n.jsx)(c,{children:(0,n.jsx)(d,{...i,children:e})}),C=o.I4.div.withConfig({displayName:"ProgressBarContainer",componentId:"sc-2e815abe-13"})(["position:absolute;top:0;left:calc(-1 * var(--screen-space-lg));width:calc(100% + calc(var(--screen-space-lg) * 2));height:4px;background:var(--privy-color-background-2);border-top-left-radius:inherit;border-top-right-radius:inherit;overflow:hidden;"]),j=(0,o.I4)(l.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),k=o.I4.div.withConfig({displayName:"ProgressBarFill",componentId:"sc-2e815abe-15"})(["height:100%;width:","%;background:var(--privy-color-foreground-3);border-radius:2px;transition:width 300ms ease-in-out;"],({pct:e})=>e),N=({step:e})=>e?(0,n.jsx)(C,{children:(0,n.jsx)(k,{pct:Math.min(100,e.current/e.total*100)})}):null;I.Header=({title:e,subtitle:i,icon:t,iconVariant:r,iconLoadingStatus:o,showBack:a,onBack:l,showInfo:s,onInfo:c,showClose:d,onClose:g,step:u,...f})=>(0,n.jsxs)(p,{...f,children:[(0,n.jsx)(h,{backFn:a?l:void 0,infoFn:s?c:void 0,onClose:d?g:void 0,closeable:d}),(t||r||e||i)&&(0,n.jsxs)(m,{children:[t||r?(0,n.jsx)(I.Icon,{icon:t,variant:r,loadingStatus:o}):null,(0,n.jsxs)(v,{children:[e&&(0,n.jsx)(x,{children:e}),i&&(0,n.jsx)(b,{children:i})]})]}),u&&(0,n.jsx)(N,{step:u})]}),(I.Body=r.forwardRef(({children:e,...i},t)=>(0,n.jsx)(g,{ref:t,...i,children:e}))).displayName="Screen.Body",I.Footer=({children:e,...i})=>(0,n.jsx)(u,{id:"privy-content-footer-container",...i,children:e}),I.Actions=({children:e,...i})=>(0,n.jsx)(S,{...i,children:e}),I.HelpText=({children:e,...i})=>(0,n.jsx)(z,{...i,children:e}),I.Watermark=()=>(0,n.jsx)(j,{}),I.Icon=({icon:e,variant:i="subtle",loadingStatus:t})=>"logo"===i&&e?(0,n.jsx)(y,"string"==typeof e?{children:(0,n.jsx)("img",{src:e,alt:""})}:r.isValidElement(e)?{children:e}:{children:r.createElement(e)}):"loading"===i?e?(0,n.jsx)(w,{children:(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,n.jsx)(a.a4,{success:t?.success,fail:t?.fail}),"string"==typeof e?(0,n.jsx)("span",{style:{background:`url('${e}') 0 0 / contain`,height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):r.isValidElement(e)?r.cloneElement(e,{style:{width:"38px",height:"38px"}}):r.createElement(e,{style:{width:"38px",height:"38px"}})]})}):(0,n.jsx)(f,{$variant:i,children:(0,n.jsx)(s.N,{size:"64px"})}):(0,n.jsx)(f,{$variant:i,children:e&&("string"==typeof e?(0,n.jsx)("img",{src:e,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):r.isValidElement(e)?e:r.createElement(e,{width:32,height:32,stroke:(()=>{switch(i){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=o.I4.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),z=o.I4.p.withConfig({displayName:"HelpTextContainer",componentId:"sc-2e815abe-17"})(["&&{margin:0;width:100%;text-align:center;color:var(--privy-color-foreground-3);font-size:14px;line-height:22px;& a{color:var(--privy-color-accent);}}"])},33413:(e,i,t)=>{t.d(i,{S:()=>a});var n=t(95155),r=t(34236),o=t(15815);let a=({primaryCta:e,secondaryCta:i,helpText:t,watermark:a=!0,children:l,...s})=>{let c=e||i?(0,n.jsxs)(n.Fragment,{children:[e&&(()=>{let{label:i,...t}=e,o=t.variant||"primary";return(0,n.jsx)(r.B,{...t,variant:o,style:{width:"100%",...t.style},children:i})})(),i&&(()=>{let{label:e,...t}=i,o=t.variant||"secondary";return(0,n.jsx)(r.B,{...t,variant:o,style:{width:"100%",...t.style},children:e})})()]}):null;return(0,n.jsxs)(o.S,{id:s.id,className:s.className,children:[(0,n.jsx)(o.S.Header,{...s}),l?(0,n.jsx)(o.S.Body,{children:l}):null,t||c||a?(0,n.jsxs)(o.S.Footer,{children:[t?(0,n.jsx)(o.S.HelpText,{children:t}):null,c?(0,n.jsx)(o.S.Actions,{children:c}):null,a?(0,n.jsx)(o.S.Watermark,{}):null]}):null]})}},93876:(e,i,t)=>{t.r(i),t.d(i,{WalletInterstitialScreen:()=>s,WalletInterstitialScreenView:()=>l,default:()=>s});var n=t(95155),r=t(12115),o=t(76367),a=t(33413);t(12100),t(67884),t(4154);
1let l=({title:e,subtitle:i,buttonText:t,buttonHref:r,isLoading:o=!1,helpText:l,onButtonClick:s})=>(0,n.jsx)(a.S,{title:e,subtitle:i,primaryCta:{label:t,onClick:()=>{r&&window.open(r,"_self"),s?.()},disabled:o},helpText:l,watermark:!0}),s={component:()=>{let{ready:e}=(0,o.u)(),{data:i}=(0,o.a)(),[t,a]=(0,r.useState)(!1);if(!i?.installWalletModalData)throw Error("Wallet data is missing");let{walletConfig:s,connectOnly:c,chainType:d}=i.installWalletModalData,p=s.getMobileRedirect({useUniversalLink:!t,isSolana:"solana"===d,connectOnly:c}),h=s.name.replace(/ wallet/gi,""),g={title:`Redirecting to ${h} Mobile Wallet`,description:`We'll take you to the ${h} Mobile Wallet app to continue your login experience.`,footnote:""};return e&&(g.description=`For the best experience, we'll automatically log you into the ${h} Mobile Wallet in-app browser.`,g.footnote="You can always return here to login via other methods."),t&&(g.title="Still here?",g.description=`You may need to install the ${s.name} mobile app.`,g.footnote=`Once you're done, you can connect with ${s.name} wallet to complete the login.`),(0,n.jsx)(l,{title:g.title,subtitle:g.description,buttonText:t?"Go to App Store":"Continue",buttonHref:p,isLoading:e&&!p,helpText:g.footnote||void 0,onButtonClick:()=>{setTimeout(()=>a(!0),1e3)}})}}}}]);
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.