1/*! For license information please see 8669.4baed91a.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[8669],{12228:(e,r,t)=>{t.d(r,{L:()=>c});var i=t(24107),n=t(15882),a=t(90034),o=t(52610);const l=["size","variant","disabled","as","children","onClick"];let s=o.I4.a.withConfig({displayName:"StyledLink",componentId:"sc-c8577138-0"})(["&&{color:",";font-weight:400;text-decoration:",";text-underline-offset:4px;text-decoration-thickness:1px;cursor:",";opacity:",";font-size:",";line-height:",";transition:color 200ms ease,text-decoration-color 200ms ease,opacity 200ms ease;&:hover{color:",";text-decoration:",";text-underline-offset:4px;}&:active{color:",";}&:focus{outline:none;box-shadow:0 0 0 3px #949df9;border-radius:2px;}}"],e=>{let{$variant:r}=e;return"underlined"===r?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))"},e=>{let{$variant:r}=e;return"underlined"===r?"underline":"var(--privy-link-navigation-decoration, none)"},e=>{let{$disabled:r}=e;return r?"not-allowed":"pointer"},e=>{let{$disabled:r}=e;return r?.5:1},e=>{let{$size:r}=e;switch(r){case"xs":return"12px";case"sm":return"14px";default:return"16px"}},e=>{let{$size:r}=e;switch(r){case"xs":return"18px";case"sm":return"22px";default:return"24px"}},e=>{let{$variant:r,$disabled:t}=e;return"underlined"===r?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))"},e=>{let{$disabled:r}=e;return r?"none":"underline"},e=>{let{$variant:r,$disabled:t}=e;return t?"underlined"===r?"var(--privy-color-foreground)":"var(--privy-link-navigation-color, var(--privy-color-accent))":"var(--privy-color-foreground)"});const c=e=>{let{size:r="md",variant:t="navigation",disabled:o=!1,as:c,children:d,onClick:p}=e,h=(0,n.A)(e,l);return(0,a.jsx)(s,(0,i.A)((0,i.A)({as:c,$size:r,$variant:t,$disabled:o,onClick:e=>{o?e.preventDefault():null===p||void 0===p||p(e)}},h),{},{children:d}))}},23316:(e,r,t)=>{t.d(r,{S:()=>p});var i=t(24107),n=t(15882),a=t(90034),o=t(67980),l=t(43122);const s=["primaryCta","secondaryCta","helpText","watermark","children"],c=["label"],d=["label"],p=e=>{let{primaryCta:r,secondaryCta:t,helpText:p,watermark:h=!0,children:u}=e,v=(0,n.A)(e,s),g=r||t?(0,a.jsxs)(a.Fragment,{children:[r&&(()=>{let{label:e}=r,t=(0,n.A)(r,c),l=t.variant||"primary";return(0,a.jsx)(o.B,(0,i.A)((0,i.A)({},t),{},{variant:l,style:(0,i.A)({width:"100%"},t.style),children:e}))})(),t&&(()=>{let{label:e}=t,r=(0,n.A)(t,d),l=r.variant||"secondary";return(0,a.jsx)(o.B,(0,i.A)((0,i.A)({},r),{},{variant:l,style:(0,i.A)({width:"100%"},r.style),children:e}))})()]}):null;return(0,a.jsxs)(l.S,{id:v.id,className:v.className,children:[(0,a.jsx)(l.S.Header,(0,i.A)({},v)),u?(0,a.jsx)(l.S.Body,{children:u}):null,p||g||h?(0,a.jsxs)(l.S.Footer,{children:[p?(0,a.jsx)(l.S.HelpText,{children:p}):null,g?(0,a.jsx)(l.S.Actions,{children:g}):null,h?(0,a.jsx)(l.S.Watermark,{}):null]}):null]})}},43122:(e,r,t)=>{t.d(r,{S:()=>$});var i=t(24107),n=t(15882),a=t(90034),o=t(57722),l=t(52610),s=t(1991),c=t(33898),d=t(76107);const p=["children"],h=["title","subtitle","icon","iconVariant","iconLoadingStatus","showBack","onBack","showInfo","onInfo","showClose","onClose","step"],u=["children"],v=["children"],g=["children"],m=["children"],x=l.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);"]),f=l.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);"]),y=l.I4.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),b=(0,l.I4)(c.M).withConfig({displayName:"StyledModalHeader",componentId:"sc-2e815abe-3"})(["margin:0 -8px;"]),w=l.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;"],e=>{let{$colorScheme:r}=e;return"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}),k=l.I4.div.withConfig({displayName:"FooterContainer",componentId:"sc-2e815abe-5"})(["display:flex;flex-direction:column;gap:var(--screen-space-lg);"]);let C=l.I4.div.withConfig({displayName:"CenteredHeader",componentId:"sc-2e815abe-6"})(["text-align:center;display:flex;flex-direction:column;align-items:center;gap:var(--screen-space);"]),I=l.I4.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),j=l.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;}"]),A=l.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);}"]),N=l.I4.div.withConfig({displayName:"IconContainer",componentId:"sc-2e815abe-10"})(["background:",";border-radius:50%;width:64px;
2height:64px;display:flex;align-items:center;justify-content:center;"],e=>{let{$variant:r}=e;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)"}}),z=l.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;}"]),S=l.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%);}"]);const $=e=>{let{children:r}=e,t=(0,n.A)(e,p);return(0,a.jsx)(x,{children:(0,a.jsx)(f,(0,i.A)((0,i.A)({},t),{},{children:r}))})};let E=l.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;"]),B=(0,l.I4)(c.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),W=l.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;"],e=>{let{pct:r}=e;return r}),F=e=>{let{step:r}=e;return r?(0,a.jsx)(E,{children:(0,a.jsx)(W,{pct:Math.min(100,r.current/r.total*100)})}):null};$.Header=e=>{let{title:r,subtitle:t,icon:o,iconVariant:l,iconLoadingStatus:s,showBack:c,onBack:d,showInfo:p,onInfo:u,showClose:v,onClose:g,step:m}=e,x=(0,n.A)(e,h);return(0,a.jsxs)(y,(0,i.A)((0,i.A)({},x),{},{children:[(0,a.jsx)(b,{backFn:c?d:void 0,infoFn:p?u:void 0,onClose:v?g:void 0,closeable:v}),(o||l||r||t)&&(0,a.jsxs)(C,{children:[o||l?(0,a.jsx)($.Icon,{icon:o,variant:l,loadingStatus:s}):null,(0,a.jsxs)(I,{children:[r&&(0,a.jsx)(j,{children:r}),t&&(0,a.jsx)(A,{children:t})]})]}),m&&(0,a.jsx)(F,{step:m})]}))},($.Body=o.forwardRef((e,r)=>{let{children:t}=e,o=(0,n.A)(e,u);return(0,a.jsx)(w,(0,i.A)((0,i.A)({ref:r},o),{},{children:t}))})).displayName="Screen.Body",$.Footer=e=>{let{children:r}=e,t=(0,n.A)(e,v);return(0,a.jsx)(k,(0,i.A)((0,i.A)({id:"privy-content-footer-container"},t),{},{children:r}))},$.Actions=e=>{let{children:r}=e,t=(0,n.A)(e,g);return(0,a.jsx)(L,(0,i.A)((0,i.A)({},t),{},{children:r}))},$.HelpText=e=>{let{children:r}=e,t=(0,n.A)(e,m);return(0,a.jsx)(T,(0,i.A)((0,i.A)({},t),{},{children:r}))},$.Watermark=()=>(0,a.jsx)(B,{}),$.Icon=e=>{let{icon:r,variant:t="subtle",loadingStatus:i}=e;return"logo"===t&&r?(0,a.jsx)(z,"string"==typeof r?{children:(0,a.jsx)("img",{src:r,alt:""})}:o.isValidElement(r)?{children:r}:{children:o.createElement(r)}):"loading"===t?r?(0,a.jsx)(S,{children:(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,a.jsx)(s.a4,{success:null===i||void 0===i?void 0:i.success,fail:null===i||void 0===i?void 0:i.fail}),"string"==typeof r?(0,a.jsx)("span",{style:{background:"url('".concat(r,"') 0 0 / contain"),height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):o.isValidElement(r)?o.cloneElement(r,{style:{width:"38px",height:"38px"}}):o.createElement(r,{style:{width:"38px",height:"38px"}})]})}):(0,a.jsx)(N,{$variant:t,children:(0,a.jsx)(d.N,{size:"64px"})}):(0,a.jsx)(N,{$variant:t,children:r&&("string"==typeof r?(0,a.jsx)("img",{src:r,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):o.isValidElement(r)?r:o.createElement(r,{width:32,height:32,stroke:(()=>{switch(t){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 L=l.I4.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),T=l.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);}}"])},48425:(e,r,t)=>{t.d(r,{T:()=>s,a:()=>c});var i=t(90034),n=t(88254);const a=(0,t(90513).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
2],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var o=t(57722),l=t(52610);const s=l.I4.div.withConfig({displayName:"TodoList",componentId:"sc-bcc78743-0"})(["display:flex;flex-direction:column;justify-content:flex-start;gap:10px;padding-left:8px;"]),c=e=>{let{children:r,variant:t="default",icon:l}=e,s=()=>{switch(t){case"success":return"var(--privy-color-icon-success)";case"error":return"var(--privy-color-icon-error)";default:return"var(--privy-color-icon-muted)"}};return(0,i.jsxs)(p,{children:[(0,i.jsx)(d,{$variant:t,"data-variant":t,children:(()=>{if(l)return o.isValidElement(l)?o.cloneElement(l,{stroke:s(),strokeWidth:2}):l;switch(t){case"success":default:return(0,i.jsx)(n.A,{size:12,stroke:s(),strokeWidth:3});case"error":return(0,i.jsx)(a,{size:12,stroke:s(),strokeWidth:3})}})()}),r]})};let d=l.I4.div.withConfig({displayName:"IconBackground",componentId:"sc-bcc78743-2"})(["display:flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background-color:",";flex-shrink:0;"],e=>{let{$variant:r}=e;switch(r){case"success":return"var(--privy-color-success-bg, #EAFCEF)";case"error":return"var(--privy-color-error-bg, #FEE2E2)";default:return"var(--privy-color-background-2)"}}),p=l.I4.div.withConfig({displayName:"TodoItemWrapper",componentId:"sc-bcc78743-3"})(["display:flex;justify-content:flex-start;align-items:flex-start;text-align:left;gap:8px;&&{a{color:var(--privy-color-accent);}}"])},76107:(e,r,t)=>{t.d(r,{N:()=>a});var i=t(90034),n=t(52610);const a=e=>{let{size:r,centerIcon:t}=e;return(0,i.jsx)(o,{$size:r,children:(0,i.jsxs)(l,{children:[(0,i.jsx)(c,{}),(0,i.jsx)(d,{}),t?(0,i.jsx)(s,{children:t}):null]})})};let o=n.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=n.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=n.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=n.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=n.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);}}"])},88254:(e,r,t)=>{t.d(r,{A:()=>i});const i=(0,t(90513).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},90513:(e,r,t)=>{t.d(r,{A:()=>h});var i=t(24107),n=t(15882),a=t(57722);const o=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,t)=>t?t.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},l=function(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((e,r,t)=>Boolean(e)&&""!==e.trim()&&t.indexOf(e)===r).join(" ").trim()};var s={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"};const c=["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"],d=(0,a.forwardRef)((e,r)=>{let{color:t="currentColor",size:o=24,strokeWidth:d=2,absoluteStrokeWidth:p,className:h="",children:u,iconNode:v}=e,g=(0,n.A)(e,c);return(0,a.createElement)("svg",(0,i.A)((0,i.A)((0,i.A)({ref:r},s),{},{width:o,height:o,stroke:t,strokeWidth:p?24*Number(d)/Number(o):d,className:l("lucide",h)},!u&&!(e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0})(g)&&{"aria-hidden":"true"}),g),[...v.map(e=>{let[r,t]=e;return(0,a.createElement)(r,t)}),...Array.isArray(u)?u:[u]])}),p=["className"],h=(e,r)=>{const t=(0,a.forwardRef)((t,s)=>{let{className:c}=t,h=(0,n.A)(t,p);return(0,a.createElement)(d,(0,i.A)({ref:s,iconNode:r,className:l("lucide-".concat((u=o(e),u.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())),"lucide-".concat(e),c)},h));var u});return t.displayName=o(e),t}},98669:(e,r,t)=>{t.r(r),t.d(r,{InstallWalletScreen:()=>c,InstallWalletScreenView:()=>s,default:()=>c});var i=t(90034),n=t(12228),a=t(48425),o=t(49931),l=t(23316);t(57722),t(88404),t(2035),t(30549);const s=e=>{let{walletName:r,installLink:t,title:o,subtitle:s="Follow the instructions below to get started.",onReload:c,onBack:d}=e,p=o||"Create a ".concat(r," wallet").replace(/wallet wallet/gi,"wallet");return(0,i.jsx)(l.S,{title:p,subtitle:s,onBack:d,showBack:!0,primaryCta:{label:"Reload the page to use your wallet",onClick:c},helpText:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:"Still not sure? "}),(0,i.jsx)(n.L,{size:"sm",target:"_blank",href:"https://solana.com/docs/intro/wallets",children:"Learn more"})]}),watermark:!0,children:(0,i.jsxs)(a.T,{children:[(0,i.jsx)(a.a,{children:(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:"Install the "})," ",(0,i.jsxs)(n.L,{href:t,target:"_blank",children:[r," browser extension"]})]})}),(0,i.jsx)(a.a,{children:"Set up your first wallet"}),(0,i.jsx)(a.a,{children:"Store your recovery phrase in a safe place!"})]})})},c={component:()=>{let{navigateBack:e,data:r}=(0,o.a)();if(null===r||void 0===r||!r.installWalletModalData)throw Error("Wallet data is missing");let{walletConfig:t}=r.installWalletModalData;return(0,i.jsx)(s,{walletName:t.name,installLink:t.installLink,onReload:()=>{window.location.reload()},onBack:e})}}}}]); 3//# sourceMappingURL=8669.4baed91a.chunk.js.map
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.