1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7592],{13049:function(e,t,o){var n=o(7653);let r=n.forwardRef(function(e,t){let{title:o,titleId:r,...i}=e;return n.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:t,"aria-labelledby":r},i),o?n.createElement("title",{id:r},o):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"}))});t.Z=r},57592:function(e,t,o){o.r(t),o.d(t,{RecoverySelectionScreen:function(){return C},default:function(){return C}});var n=o(27573),r=o(13049),i=o(7653);let s=i.forwardRef(function(e,t){let{title:o,titleId:n,...r}=e;return i.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:t,"aria-labelledby":n},r),o?i.createElement("title",{id:n},o):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m16.862 4.487 1.687-1.688a1.875 1.875 0 1 1 2.652 2.652L10.582 16.07a4.5 4.5 0 0 1-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 0 1 1.13-1.897l8.932-8.931Zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0 1 15.75 21H5.25A2.25 2.25 0 0 1 3 18.75V8.25A2.25 2.25 0 0 1 5.25 6H10"}))});var l=o(93958),c=o(91628),a=o(36170),d=o(81781),u=o(75593),h=o(71844),p=o(31796),x=o(88089),g=o(80223),f=o(5409),v=o(50800);o(69021),o(97347),o(26996),o(7220),o(61899);let y=c.zo.div.withConfig({displayName:"IconContainer",componentId:"sc-1c4e63fb-0"})(["width:24px;height:24px;display:flex;justify-content:center;align-items:center;"]),j={"google-drive":"Google Drive",icloud:"iCloud","user-passcode":"password",privy:"Privy","privy-v2":"Privy"},w=({onClose:e})=>(0,n.jsxs)(f.a,{children:[(0,n.jsx)(h.C,{title:"Why do I need to secure my account?",icon:(0,n.jsx)(l.Z,{width:48}),description:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:"Your app uses cryptography to secure your account. App secrets are split and encrypted so only you can access them."}),(0,n.jsx)("p",{children:"To use this app on new devices, secure account secrets using a password, your Google or your Apple account. Itâs important you donât lose access to the method you choose."})]})}),(0,n.jsx)(d.P,{onClick:e,children:"Select backup method"})]}),C={component:()=>{let[e,t]=(0,i.useState)(!1),{navigate:o,lastScreen:l,navigateBack:c,setModalData:d,data:C,onUserCloseViaDialogOrKeybindRef:m}=(0,a.a)(),{user:L}=(0,a.u)(),{embeddedWallets:k}=(0,p.u)(),{closePrivyModal:S}=(0,x.u)(),b=(0,a.g)(L),A=null===b,{isInAccountCreateFlow:M,isResettingPassword:F,shouldCreateEth:E,shouldCreateSol:R}=C.recoverySelection,Z=b&&"privy"!==b.recoveryMethod,O=Z?(0,n.jsxs)("span",{children:["Your account is currently secured using"," ",(0,n.jsx)("strong",{children:j[b?.recoveryMethod||"user-passcode"]}),"."]}):"Select a method for logging in on new devices and recovering your account.";function H(e){d({recoveryOAuthStatus:{provider:e,action:A?"create-wallet":"set-recovery",isInAccountCreateFlow:M,shouldCreateEth:E,shouldCreateSol:R}}),o("RecoveryOAuthScreen")}function I(){C?.setWalletPassword?.onFailure(Error("User exited set recovery flow")),S({shouldCallAuthOnSuccess:C?.setWalletPassword?.callAuthOnSuccessOnClose??!1})}return m.current=I,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.M,{onClose:I,backFn:e?()=>t(!1):l?c:void 0,infoFn:l||e?void 0:()=>t(!0)},"header"),e?(0,n.jsx)(w,{onClose:()=>t(!1)}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.C,{title:Z?"Update backup method":"Secure your account",icon:(0,n.jsx)(r.Z,{width:48}),description:O}),(0,n.jsx)(f.R,{children:k.userOwnedRecoveryOptions.filter(e=>!["icloud","google-drive"].includes(b?.recoveryMethod||"")||e!==b?.recoveryMethod).sort().map(e=>{switch(e){case"google-drive":return(0,n.jsxs)(v.U,{onClick:()=>H("google-drive"),children:[(0,n.jsx)(y,{children:(0,n.jsx)(f.G,{style:{width:18}})}),"Back up to Google Drive"]},e);case"icloud":return(0,n.jsxs)(v.U,{onClick:()=>H("icloud"),children:[(0,n.jsx)(y,{children:(0,n.jsx)(f.A,{style:{width:24}})}),"Back up to Apple iCloud"]},e);case"user-passcode":return(0,n.jsxs)(v.U,{onClick:()=>
1{o((0,g.v)({isCreatingWallet:A,skipSplashScreen:!0}))},children:[(0,n.jsx)(y,{children:(0,n.jsx)(s,{style:{width:18}})}),F?"Reset your":"Set a"," password"]},e);default:return null}})})]}),(0,n.jsx)(u.B,{})]})}}},71844:function(e,t,o){o.d(t,{C:function(){return s},S:function(){return i}});var n=o(27573),r=o(91628);let i=({title:e,description:t,children:o,...r})=>(0,n.jsx)(l,{...r,children:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h3",{children:e}),"string"==typeof t?(0,n.jsx)("p",{children:t}):t,o]})}),s=({title:e,description:t,icon:o,children:r,...i})=>(0,n.jsxs)(c,{...i,children:[o||null,(0,n.jsx)("h3",{children:e}),t&&"string"==typeof t?(0,n.jsx)("p",{children:t}):t,r]}),l=r.zo.div.withConfig({displayName:"StyledSection",componentId:"sc-523a75d6-1"})(["display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;width:100%;margin-bottom:24px;&& h3{font-size:17px;color:var(--privy-color-foreground);}&& p{color:var(--privy-color-foreground-2);font-size:14px;}"]),c=(0,r.zo)(l).withConfig({displayName:"CenteredStyledSection",componentId:"sc-523a75d6-2"})(["align-items:center;text-align:center;gap:16px;h3{margin-bottom:24px;}"])},5409:function(e,t,o){o.d(t,{A:function(){return i},G:function(){return s},R:function(){return l},a:function(){return c}});var n=o(27573),r=o(91628);let i=e=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 21 20",...e,children:[(0,n.jsx)("path",{fill:"url(#icloud-gradient)",d:"M12.34 7.315a4.26 4.26 0 0 0-3.707 2.18 2.336 2.336 0 0 0-1.02-.236 2.336 2.336 0 0 0-2.3 1.963 3.217 3.217 0 0 0 1.244 6.181c.135-.001.27-.01.404-.029h8.943c.047.004.094.006.141.007.045-.001.09-.004.135-.007h.214v-.016a2.99 2.99 0 0 0 1.887-.988c.487-.55.757-1.261.757-1.998v-.006a3.017 3.017 0 0 0-.69-1.915 2.992 2.992 0 0 0-1.748-1.034 4.26 4.26 0 0 0-4.26-4.102Z"}),(0,n.jsx)("defs",{children:(0,n.jsxs)("linearGradient",{id:"icloud-gradient",x1:19.086,x2:3.333,y1:14.38,y2:14.163,gradientUnits:"userSpaceOnUse",children:[(0,n.jsx)("stop",{stopColor:"#3E82F4"}),(0,n.jsx)("stop",{offset:1,stopColor:"#93DCF7"})]})})]}),s=({style:e,...t})=>(0,n.jsxs)("svg",{width:"16",height:"14",style:e,viewBox:"0 0 16 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,n.jsxs)("g",{clipPath:"url(#clip0_2115_829)",children:[(0,n.jsx)("path",{d:"M2.34709 12.9404L2.3471 12.9404L2.34565 12.938L1.64031 11.7448L1.64004 11.7444L0.651257 10.0677C0.640723 10.0496 0.630746 10.0314 0.621325 10.0129H4.16461L2.39424 13.0139C2.3775 12.9901 2.36178 12.9656 2.34709 12.9404Z",fill:"#0066DA",stroke:"#6366F1"}),(0,n.jsx)("path",{d:"M8 4.48713L5.47995 0.215332C5.23253 0.358922 5.02176 0.556358 4.87514 0.80764L0.219931 8.70508C0.076007 8.95094 0.000191627 9.22937 0 9.51277H5.04009L8 4.48713Z",fill:"#00AC47"}),(0,n.jsx)("path",{d:"M13.48 13.7847C13.7274 13.6411 13.9382 13.4437 14.0848 13.1924L14.3781 12.6988L15.7801 10.3206C15.9267 10.0693 16.0001 9.79114 16.0001 9.51294H10.9596L12.0321 11.577L13.48 13.7847Z",fill:"#EA4335"}),(0,n.jsx)("path",{d:"M8.00003 4.48718L10.5201 0.215385C10.2726 0.0717949 9.98857 0 9.69533 0H6.30472C6.01148 0 5.7274 0.0807692 5.47998 0.215385L8.00003 4.48718Z",fill:"#00832D"}),(0,n.jsx)("path",{d:"M10.9599 9.51294H5.04007L2.52002 13.7847C2.76744 13.9283 3.05152 14.0001 3.34476 14.0001H12.6552C12.9484 14.0001 13.2325 13.9194 13.4799 13.7847L10.9599 9.51294Z",fill:"#2684FC"}),(0,n.jsx)("path",{d:"M13.4525 4.75636L11.1249 0.80764C10.9782 0.556358 10.7675 0.358922 10.52 0.215332L8 4.48713L10.9599 9.51277H15.9908C15.9908 9.23456 15.9175 8.95636 15.7709 8.70508L13.4525 4.75636Z",fill:"#FFBA00"})]}),(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip0_2115_829",children:(0,n.jsx)("rect",{width:"16",height:"14",fill:"white"})})})]}),l=r.zo.div.withConfig({displayName:"RecoveryContainer",componentId:"sc-12b46968-0"})(["display:flex;flex-direction:column;gap:12px;padding-top:24px;padding-bottom:24px;"]),c=r.zo.div.withConfig({displayName:"RecoveryExplainerContainer",componentId:"sc-12b46968-1"})(["padding-bottom:24px;"])}}]);
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.