PageSourceSearch

https://dynamic-lebkuchen-0238db.netlify.app/static/js/8893.ccde1cc2.chunk.js

js dynamic-lebkuchen-0238db.netlify.app collected 2026-10-03 10:41:34 UTC 12,812 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[8893],{4026:(e,r,i)=>{i.d(r,{A:()=>l});var n=i(15882),t=i(57722);const o=["title","titleId"];function a(e,r){let{title:i,titleId:a}=e,l=(0,n.A)(e,o);return t.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":a},l),i?t.createElement("title",{id:a},i):null,t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 0 0 2.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 0 1-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 0 0-1.091-.852H4.5A2.25 2.25 0 0 0 2.25 4.5v2.25Z"}))}const l=t.forwardRef(a)},23316:(e,r,i)=>{i.d(r,{S:()=>p});var n=i(24107),t=i(15882),o=i(90034),a=i(67980),l=i(43122);const s=["primaryCta","secondaryCta","helpText","watermark","children"],c=["label"],d=["label"],p=e=>{let{primaryCta:r,secondaryCta:i,helpText:p,watermark:h=!0,children:u}=e,g=(0,t.A)(e,s),v=r||i?(0,o.jsxs)(o.Fragment,{children:[r&&(()=>{let{label:e}=r,i=(0,t.A)(r,c),l=i.variant||"primary";return(0,o.jsx)(a.B,(0,n.A)((0,n.A)({},i),{},{variant:l,style:(0,n.A)({width:"100%"},i.style),children:e}))})(),i&&(()=>{let{label:e}=i,r=(0,t.A)(i,d),l=r.variant||"secondary";return(0,o.jsx)(a.B,(0,n.A)((0,n.A)({},r),{},{variant:l,style:(0,n.A)({width:"100%"},r.style),children:e}))})()]}):null;return(0,o.jsxs)(l.S,{id:g.id,className:g.className,children:[(0,o.jsx)(l.S.Header,(0,n.A)({},g)),u?(0,o.jsx)(l.S.Body,{children:u}):null,p||v||h?(0,o.jsxs)(l.S.Footer,{children:[p?(0,o.jsx)(l.S.HelpText,{children:p}):null,v?(0,o.jsx)(l.S.Actions,{children:v}):null,h?(0,o.jsx)(l.S.Watermark,{}):null]}):null]})}},43122:(e,r,i)=>{i.d(r,{S:()=>E});var n=i(24107),t=i(15882),o=i(90034),a=i(57722),l=i(52610),s=i(1991),c=i(33898),d=i(76107);const p=["children"],h=["title","subtitle","icon","iconVariant","iconLoadingStatus","showBack","onBack","showInfo","onInfo","showClose","onClose","step"],u=["children"],g=["children"],v=["children"],m=["children"],b=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);"]),x=l.I4.div.withConfig({displayName:"HeaderContainer",componentId:"sc-2e815abe-2"})(["position:relative;display:flex;flex-direction:column;"]),y=(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}),I=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);"]),j=l.I4.div.withConfig({displayName:"TitleContainer",componentId:"sc-2e815abe-7"})(["display:flex;flex-direction:column;gap:4px;"]),k=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;}"]),S=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);}"]),A=l.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;"],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)"}}),N=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;}"]),z=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=e=>{let{children:r}=e,i=(0,t.A)(e,p);return(0,o.jsx)(b,{children:(0,o.jsx)(f,(0,n.A)((0,n.A)({},i),{},{children:r}))})};let B=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;"]),F=(0,l.I4)(c.B).withConfig({displayName:"StyledBlobbyFooter",componentId:"sc-2e815abe-14"})(["padding:0;&& a{padding:0;color:var(--privy-color-foreground-3);}"]),H=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}),L=e=>{let{step:r}=e;return r?(0,o.jsx)(B,{children:(0,o.jsx)(H,{pct:Math.min(100,r.current/r.total*100)})}):null};E.Header=e=>{let{title:r,subtitle:i,icon:a,iconVariant:l,iconLoadingStatus:s,showBack:c,onBack:d,showInfo:p,onInfo:u,showClose:g,onClose:v,step:m}=e,b=(0,t.A)(e,h);return(0,o.jsxs)(x,(0,n.A)((0,n.A)({},b),{},{children:[(0,o.jsx)(y,{backFn:c?d:void 0,infoFn:p?u:void 0,onClose:g?v:void 0,closeable:g}),(a||l||r||i)&&(0,o.jsxs)(C,{children:[a||l?(0,o.jsx)(E.Icon,{icon:a,variant:l,loadingStatus:s}):null,(0,o.jsxs)(j,{children:[r&&(0,o.jsx)(k,{children:r}),i&&(0,o.jsx)(S,{children:i})]})]}),m&&(0,o.jsx)(L,{step:m})]}))},(E.Body=a.forwardRef((e,r)=>{let{children:i}=e,a=(0,t.A)(e,u);return(0,o.jsx)(w,(0,n.A)((0,n.A)({ref:r},a),{},{children:i}))})).displayName="Screen.Body",E.Footer=e=>{let{children:r}=e,i=(0,t.A)(e,g);return(0,o.jsx)(I,(0,n.A)((0,n.A)({id:"privy-content-footer-container"},i),{},{children:r}))},E.Actions=e=>{let{children:r}=e,i=(0,t.A)(e,v);return(0,o.jsx)(P,(0,n.A)((0,n.A)({},i),{},{children:r}))},E.HelpText=e=>{let{children:r}=e,i=(0,t.A)(e,m);return(0,o.jsx)(R,(0,n.A)((0,n.A)({},i),{},{children:r}))},E.Watermark=()=>(0,o.jsx)(F,{}),E.Icon=e=>{let{icon:r,variant:i="subtle",loadingStatus:n}=e;return"logo"===i&&r?(0,o.jsx)(N,"string"==typeof r?{children:(0,o.jsx)("img",{src:r,alt:""})}:a.isValidElement(r)?{children:r}:{children:a.createElement(r)}):"loading"===i?r?(0,o.jsx)(z,{children:(0,o.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,o.jsx)(s.a4,{success:null===n||void 0===n?void 0:n.success,fail:null===n||void 0===n?void 0:n.fail}),"string"==typeof r?(0,o.jsx)("span",{style:{background:"url('".concat(r,"') 0 0 / contain"),height:"38px",width:"38px",borderRadius:"6px",margin:"auto",backgroundSize:"contain"}}):a.isValidElement(r)?a.cloneElement(r,{style:{width:"38px",height:"38px"}}):a.createElement(r,{style:{width:"38px",height:"38px"}})]})}):(0,o.jsx)(A,{$variant:i,children:(0,o.jsx)(d.N,{size:"64px"})}):(0,o.jsx)(A,{$variant:i,children:r&&("string"==typeof r?(0,o.jsx)("img",{src:r,alt:"",style:{width:"32px",height:"32px",borderRadius:"6px"}}):a.isValidElement(r)?r:a.createElement(r,{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 P=l.I4.div.withConfig({displayName:"ActionsContainer",componentId:"sc-2e815abe-16"})(["width:100%;display:flex;flex-direction:column;gap:calc(var(--screen-space) / 2);"]),R=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);}}"])},58893:(e,r,i)=>{i.r(r),i.d(r,{UpdatePhoneScreen:()=>p,UpdatePhoneScreenView:()=>d,default:()=>p});var n=i(90034),t=i(4026),o=i(57722),a=i(20252),l=i(51380),s=i(49931),c=i(23316);i(88404),i(2035),i(30549);const d=e=>{let{title:r="Update your phone number",subtitle:i="Add the phone number you'd like to use going forward. We'll send you a confirmation code",onSubmit:l,isSubmitting:s=!1}=e,[d,p]=(0,o.useState)(null);return(0,n.jsx)(c.S,{title:r,subtitle:i,icon:t.A,primaryCta:{label:s?"Submitting":"Update",onClick:async()=>{(null===d||void 0===d?void 0:d.qualifiedPhoneNumber)&&await l(d)},disabled:!(null!==d&&void 0!==d&&d.isValid)||s},watermark:!0,children:(0,n.jsx)(a.C,{onChange:e=>{p(e)},onSubmit:async()=>{},noIncludeSubmitButton:!0,hideRecent:!0})})},p={component:()=>{let{currentScreen:e,data:r,navigate:i,setModalData:t}=(0,s.a)(),{user:a}=(0,s.u)(),{initUpdatePhone:c}=(0,l.u)(),[p,h]=(0,o.useState)(!1);return(0,n.jsx)(d,{onSubmit:async n=>{h(!0);try{var o,l;if(null===a||void 0===a||null===(o=a.phone)||void 0===o||!o.number)throw Error("User is required to have an phone number to update it.");await c(null===a||void 0===a||null===(l=a.phone)||void 0===l?void 0:l.number,n.qualifiedPhoneNumber),i("AwaitingPasswordlessCodeScreen")}catch(n){var s;
1t({errorModalData:{error:n,previousScreen:(null===r||void 0===r||null===(s=r.errorModalData)||void 0===s?void 0:s.previousScreen)||e||"LinkPhoneScreen"}}),i("ErrorScreen")}finally{h(!1)}},isSubmitting:p})}}},76107:(e,r,i)=>{i.d(r,{N:()=>o});var n=i(90034),t=i(52610);const o=e=>{let{size:r,centerIcon:i}=e;return(0,n.jsx)(a,{$size:r,children:(0,n.jsxs)(l,{children:[(0,n.jsx)(c,{}),(0,n.jsx)(d,{}),i?(0,n.jsx)(s,{children:i}):null]})})};let a=t.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=t.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=t.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=t.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=t.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);}}"])}}]);
2//# sourceMappingURL=8893.ccde1cc2.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.