1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="48435381-b6fc-f0f4-e143-921fa3906af7")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,800108,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(502532),o=e.i(430482),a=e.i(987444),i=e.i(997053),s=e.i(267901),l=e.i(710369),c=e.i(982615),u=e.i(979454),d=e.i(249994),p=e.i(555834),h=e.i(96163),f=e.i(450289),m=e.i(679238),g=e.i(41792),b=e.i(21623),x=e.i(88611),y=e.i(48604),v=e.i(342523),w=e.i(905851),E=e.i(236801),j=e.i(651363),k=e.i(318128),C=e.i(269758),R=e.i(998721);let A={choose:"auth.title",connecting:"auth.connecting.title",preparing:"auth.verify.title",sign:"auth.verify.title",authenticating:"auth.authenticating.title",nickname:"auth.nickname.title",redirecting:"auth.done.title"},_=["connecting","preparing","authenticating","redirecting"],P=i.default.p.withConfig({displayName:"SignInClient__NicknameError",componentId:"sc-bb67fc04-0"})` 3 margin: -8px 0 0; 4 font-size: 13px; 5 line-height: 18px; 6 font-weight: 500; 7 color: ${b.palette.errorInk}; 8`;function S(e){let t=(0,g.usernameProblem)(e);return t?(0,m.nicknameErrorId)({code:"username_invalid",reason:t}):null}let M=(0,i.default)(j.AuthLegalLinks).withConfig({displayName:"SignInClient__AppHint",componentId:"sc-bb67fc04-1"})` 9 align-items: center; 10 gap: 0 6px; 11 font-size: 13px; 12 line-height: 18px; 13 color: var(--auth-ink-3); 14 15 /* "Get it" is one short word: still a 44 px target. */ 16 && a { 17 min-width: 44px; 18 justify-content: center; 19 } 20`;function I(e){let t=`${e&&e.id||""} ${e&&e.name||""}`.toLowerCase();return t.includes("coinbase")?"coinbase":t.includes("metamask")||t.includes("injected")?"metamask":null}let N=(0,x.default)((0,y.withWalletScope)(function({suggestedNickname:e="",atNicknameStep:i=!1}){let g,b=(0,o.useIntl)(),x=(0,n.useRouter)(),{callback:y,onboarding:N}=x.query,{AuthStore:O,feedStore:T}=(0,r.useContext)(l.StoreContext),{address:$,isConnected:U,isConnecting:L,connector:F}=(0,c.useAccount)(),{connectAsync:B,connectors:q}=(0,u.useConnect)(),{disconnect:D}=(0,d.useDisconnect)(),{signMessageAsync:z,isPending:W}=(0,p.useSignMessage)(),[H,V]=(0,r.useState)(""),[J,K]=(0,r.useState)(null),[Z,G]=(0,r.useState)(!1),[X,Q]=(0,r.useState)(()=>(0,R.aindriveErrorId)(x.query)),[Y,ee]=(0,r.useState)(!1),[et,er]=(0,r.useState)(e),[en,eo]=(0,r.useState)(!1),ea=!e,[ei,es]=(0,r.useState)(i),[el,ec]=(0,r.useState)(!1),[eu,ed]=(0,r.useState)(!1),[ep,eh]=(0,r.useState)(null),[ef,em]=(0,r.useState)(!1),[eg,eb]=(0,r.useState)(!1),[ex,ey]=(0,r.useState)(!1),ev=(0,r.useRef)(0),ew=(0,r.useRef)(!1),eE=(0,r.useRef)(null);(0,r.useEffect)(()=>{},[q]),(0,r.useEffect)(()=>{},[U,F,L,$]);let[ej,ek]=(0,r.useState)($);$!==ej&&(ek($),$&&(V(""),K(null),Q(""))),(0,r.useEffect)(()=>{!U||Z||H||e();async function e(){try{G(!0),Q("");let{message:e,nonce:t}=await O.getNonceMessage();V(e),K({nonce:t})}catch(e){console.error("[Sign In] â Failed to get nonce:",e),Q("auth.error.nonce-failed")}finally{G(!1)}}},[U,O,Z,H]);let eC=(0,r.useCallback)(e=>{if(!e)return null;if("object"==typeof e&&e.id)return e;let t=String(e).toLowerCase();return q.find(e=>{let r=e.id?.toLowerCase()===t,n=e.name?.toLowerCase()===t;return r||n})},[q]),eR=(0,r.useCallback)(()=>{eE.current&&eE.current(),eE.current=null},[]);(0,r.useEffect)(()=>eR,[eR]);let eA=(0,r.useCallback)(async(e,t=ev.current)=>{ew.current=!0;try{let t=eC(e);t&&(Q(""),await B({connector:t}))}catch(r){if(t!==ev.current)return;if("UserRejectedRequestError"===r.name||4001===r.code||r.message&&r.message.includes("User rejected"))return void Q("auth.error.connect-rejected");console.error("[Sign In] â Unexpected wallet connection error:",r),Q(window.isSecureContext||"coinbase"!==I(eC(e))?"auth.error.connect-failed":"auth.error.insecure-context")}finally{t===ev.current&&(ew.current=!1,eR())}},[B,q,eC,eR]),e_=(0,r.useMemo)(()=>q.find(e=>["metamask","io.metamask","injected"].includes(e.id?.toLowerCase())||e.name?.toLowerCase().includes("meta"))||q.find(e=>e.name?.toLowerCase().includes("browser")),[q]),eP=(0,r.useMemo)(()=>q.find(e=>["coinbasewalletsdk","com.coinbase.wallet"].includes(e.id?.toLowerCase())||e.name?.toLowerCase().includes("coinbase")),[q]),eS=(0,r.useCallback)(async()=>
20{if(!J||!H)return void Q("auth.error.nonce-failed");if(!$)return void Q("auth.error.wallet-disconnected");try{Q("");let e=await z({message:H});if(!e||"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"===e){console.error("[Sign In] Invalid signature received"),Q("auth.error.invalid-signature"),V(""),K(null);return}ee(!0),await O.signInWithWalletSignature(e,J.nonce,$);let t=I(F);t&&(0,R.rememberMethod)(t);let r=await (0,m.fetchOnboardingStep)();if((0,m.rememberOnboardingStep)(O,r),r===f.NICKNAME){es(!0),ee(!1);return}let o=(0,h.isMobileUserAgent)(navigator.userAgent)||(0,h.isMobileViewport)(),a=r?(0,f.onboardingPath)(r,{callback:y,mobile:o}):(0,h.getPostAuthPath)(y);ec(!0),n.default.push(a)}catch(e){if("UserRejectedRequestError"===e.name||4001===e.code||e.message&&e.message.includes("User rejected")){Q("auth.error.sign-rejected"),V(""),K(null),ee(!1);return}e.message&&e.message.includes("nonce")?Q("auth.error.session-expired"):(console.error("[Sign In] â Unexpected authentication error:",e),Q("auth.error.auth-failed")),V(""),K(null)}finally{ee(!1)}},[J,H,y,O,z,$,F]),eM=(0,r.useCallback)(e=>{let t=(0,h.isMobileUserAgent)(navigator.userAgent)||(0,h.isMobileViewport)(),r=e?(0,f.onboardingPath)(e,{callback:y,mobile:t}):(0,h.getPostAuthPath)(y);ec(!0),n.default.push(r)},[y]),eI=(0,r.useCallback)(async()=>{if(eo(!0),!S(et))try{ee(!0),Q("");let e=await fetch("/api/user/update-username",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({username:et.trim()})});if(!e.ok){let t=await e.json().catch(()=>({})),r=Error(t.error||"Failed to update username");throw r.status=e.status,r.code=t.error,r.reason=t.reason,r}let t=await e.json().catch(()=>({}));T&&O&&O.user&&await T.fetchUserPublic(O.user.uid),O&&O.user&&(0,a.runInAction)(()=>{O.user.username=et.trim(),O.user.displayName=et.trim()}),(0,m.rememberOnboardingStep)(O,t.onboarding),eM(t.onboarding)}catch(e){console.error("[Sign In] â Username update error:",e),Q((0,m.nicknameErrorId)(e))}finally{ee(!1)}},[et,y,O,T,eM]),eN=(0,r.useCallback)(async()=>{ee(!0);let e=await (0,m.finishOnboardingStep)(f.NICKNAME);(ee(!1),void 0===e)?Q("auth.error.nickname-failed"):((0,m.rememberOnboardingStep)(O,e),eM(e))},[O,eM]),eO=el?"redirecting":ei?"nickname":L&&eu?"connecting":U?Z?"preparing":Y?"authenticating":H?"sign":"preparing":"choose",[eT,e$]=(0,r.useState)(X);X&&X!==eT&&e$(X);let eU=(0,R.useLastMethod)();(0,r.useEffect)(()=>{let e=!0,t=()=>{e&&eb(!0)},r=setTimeout(t,2e4);return Promise.allSettled([e_,eP].filter(e=>e&&"function"==typeof e.getProvider).map(e=>e.getProvider())).then(t),()=>{e=!1,clearTimeout(r)}},[e_,eP]),(0,r.useEffect)(()=>{let e=e=>{e.persisted&&ey(!1)};return window.addEventListener("pageshow",e),()=>window.removeEventListener("pageshow",e)},[]),(0,r.useEffect)(()=>{if(N===f.NICKNAME&&O)return(0,a.when)(()=>!!O.user,()=>es(!0))},[N,O]);let eL="connecting"===eO&&"metamask"===ep;(0,r.useEffect)(()=>{if(!eL||ef)return;let e=setTimeout(()=>em(!0),2e4);return()=>clearTimeout(e)},[eL,ef]);let eF=(0,r.useRef)(null),eB=(0,r.useRef)(eO);(0,r.useEffect)(()=>{eB.current!==eO&&(eB.current=eO,eF.current&&eF.current.focus())},[eO]);let eq=(e,t)=>b.formatMessage({id:e},t),eD=e=>{let t=I(e),r=ev.current+1;ev.current=r,e$(""),ed(!0),eh(t),em(!1),(0,v.clearMetaMaskLink)(),eR(),"coinbase"===t&&(eE.current=(0,w.watchPopup)(()=>{setTimeout(()=>{r===ev.current&&ew.current&&(eW(),Q("auth.error.connect-rejected"))},1e3)})),eA(e,r)},ez=()=>{D(),ed(!1),Q(""),e$("")},eW=()=>{ev.current+=1,ew.current=!1,eR(),D(),ed(!1),eh(null),em(!1),(0,v.clearMetaMaskLink)()},eH=()=>{eW(),Q(""),e$("")},eV=(0,r.useRef)(null);(0,r.useEffect)(()=>{eV.current="connecting"===eO?eH:null}),(0,r.useEffect)(()=>{let e=e=>{if("Escape"!==e.key)return;let t=[...document.querySelectorAll("mm-install-modal, mm-select-modal, mm-pending-modal")].map(e=>e.shadowRoot&&e.shadowRoot.querySelector(".closeButton")).find(Boolean);t?t.click():eV.current&&eV.current()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let eJ=S(et),eK=eJ&&(en||et.trim().length>30||/[^A-Za-z0-9_.]/.test(et.trim()))?eJ:null,eZ=e=>{ex?e.preventDefault():(e$(""),ey(!0))},eG=e=>e?eg?null:eq("auth.method.loading"):eq("auth.method.unavailable"),eX=eT&&"redirecting"!==eO?eq(eT):null,eQ="auth.error.aindrive-unavailable"===eT&&"choose"===eO?{href:(0,R.aindriveStartHref)(y),label:eq("auth.error.try-again"),onClick:eZ}:null,eY=W||Y,e0="connecting"===eO&&"function"==typeof window.matchMedia&&window.matchMedia("(pointer: coarse)").matches;switch(eO){case"connecting":if(e0&&"metamask"===ep){g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.AuthStatus,{children:eq("auth.metamask.body")}),ef?(0,t.jsx)(j.AuthBody,{role:"status","data-testid":"metamask-hint",children:eq("auth.metamask.slow")}):null,(0,t.jsxs)(j.AuthStack,{$gap:8,children:[(0,t.jsx)(j.PrimaryButton,{onClick:()=>{em(!1);let e=(0,v.lastMetaMaskLink)();e?(0,v.openMetaMaskLink)(e):(D(),eD(e_))},children:eq(ef?"auth.metamask.retry":"auth.metamask.open")}),(0,t.jsx)(j.TextButton,{onClick:eH,children:eq("auth.cancel-connect")})]}),(0,t.jsxs)(M,{as:"p",children:[(0,t.jsx)("span",{children:eq("auth.metamask.no-app")}
20),(0,t.jsx)("a",{href:"https://metamask.io/download/",target:"_blank",rel:"noopener noreferrer",children:eq("auth.metamask.get")})]})]});break}g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.AuthStatus,{children:eq(e0?"auth.connecting.body.touch":"auth.connecting.body")}),(0,t.jsx)(j.TextButton,{onClick:eH,children:eq("auth.cancel-connect")})]});break;case"preparing":g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.AddressChip,{address:$}),(0,t.jsx)(j.AuthStatus,{children:eq("auth.verify.preparing")}),(0,t.jsx)(j.TextButton,{onClick:ez,children:eq("auth.switch-wallet")})]});break;case"sign":g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.AddressChip,{address:$}),(0,t.jsx)(j.AuthBody,{children:eq("auth.verify.body")}),(0,t.jsx)(j.MessageDetails,{summary:eq("auth.verify.details"),message:H}),(0,t.jsx)(j.PrimaryButton,{onClick:()=>{e$(""),eS()},disabled:eY,busy:eY,children:W?eq("auth.verify.waiting"):eq("auth.verify.button")}),(0,t.jsx)(j.TextButton,{onClick:ez,disabled:W,children:eq("auth.switch-wallet")})]});break;case"authenticating":g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.AddressChip,{address:$}),(0,t.jsx)(j.AuthStatus,{})]});break;case"nickname":g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.AddressChip,{address:O&&O.address}),(0,t.jsx)(j.AuthBody,{children:eq("auth.nickname.body")}),(0,t.jsxs)(j.AuthStack,{as:"form",$gap:16,onSubmit:e=>{e.preventDefault(),e$(""),eI()},noValidate:!0,children:[(0,t.jsx)(j.Field,{id:"auth-nickname",label:eq("auth.nickname.label"),hint:`${eq("auth.nickname.hint")} \xb7 ${eq("auth.nickname.count",{count:et.trim().length,max:30})}`,placeholder:eq("auth.nickname.placeholder"),describedBy:[eK?"auth-nickname-error":null,eX?"auth-alert":null].filter(Boolean).join(" ")||void 0,invalid:!!eK||!!eT&&eT.startsWith("auth.error.nickname-")&&"auth.error.nickname-failed"!==eT,value:et,onChange:e=>{er(e.target.value),eT&&eT.startsWith("auth.error.nickname-")&&(e$(""),Q(""))},onBlur:()=>eo(!!et.trim()),inputMode:"text",autoComplete:"username",autoCapitalize:"none",autoCorrect:"off",spellCheck:!1,enterKeyHint:"go"}),eK?(0,t.jsx)(P,{id:"auth-nickname-error",role:"alert","data-testid":"nickname-error",children:eq(eK)}):null,(0,t.jsx)(j.PrimaryButton,{type:"submit",disabled:Y||!!eJ,busy:Y,children:Y?eq("auth.nickname.saving"):eq("auth.nickname.submit")}),ea?(0,t.jsx)(j.TextButton,{onClick:()=>{e$(""),eN()},disabled:Y,"data-testid":"nickname-skip",children:eq("auth.nickname.skip")}):null]})]});break;case"redirecting":g=(0,t.jsx)(j.AuthStatus,{children:eq("auth.done.body")});break;default:g=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(j.AuthStack,{$gap:12,children:[R.AINDRIVE_LOGIN_ENABLED?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(k.default,{id:"aindrive",href:(0,R.aindriveStartHref)(y),onClick:eZ,emphasis:"primary",icon:(0,t.jsx)(C.default,{name:"aindrive"}),title:eq("auth.method.aindrive.title"),description:eq("auth.method.aindrive.desc"),note:"aindrive"===eU?eq("auth.last-used"):null,hint:ex?eq("auth.method.aindrive.redirecting"):null,busy:ex}),(0,t.jsx)(j.AuthDivider,{children:eq("auth.divider.wallet")})]}):null,(0,t.jsx)(k.default,{id:"coinbase",onClick:()=>eD(eP),disabled:!eP||!eg,icon:(0,t.jsx)(C.default,{name:"coinbase"}),title:eq("auth.method.coinbase.title"),description:eq("auth.method.coinbase.desc"),note:"coinbase"===eU?eq("auth.last-used"):null,hint:eG(eP)}),(0,t.jsx)(k.default,{id:"metamask",onClick:()=>eD(e_),disabled:!e_||!eg,icon:(0,t.jsx)(C.default,{name:"metamask"}),title:eq("auth.method.metamask.title"),description:eq("auth.method.metamask.desc"),note:"metamask"===eU?eq("auth.last-used"):null,hint:eG(e_)})]}),(0,t.jsx)(j.AuthLegal,{children:eq("auth.legal.agree")}),(0,t.jsxs)(j.AuthLegalLinks,{"aria-label":eq("auth.legal.links"),children:[(0,t.jsx)("a",{href:"/intro/terms",children:eq("auth.legal.terms")}),(0,t.jsx)("a",{href:"/intro/privacy",children:eq("auth.legal.privacy")})]})]})}return(0,t.jsx)(s.AppWithAuthorization,{children:(0,t.jsx)(E.default,{children:(0,t.jsxs)(j.AuthCard,{"aria-labelledby":"auth-title","aria-busy":_.includes(eO)||void 0,children:[(0,t.jsxs)(j.AuthView,{$gap:8,children:[(0,t.jsx)(j.AuthTitle,{id:"auth-title",ref:eF,tabIndex:-1,
20children:eq(A[eO])}),"choose"===eO?(0,t.jsx)(j.AuthSubtitle,{children:eq(R.AINDRIVE_LOGIN_ENABLED?"auth.subtitle.all":"auth.subtitle.wallet")}):null]},`head-${eO}`),(0,t.jsx)(j.AuthAlert,{id:"auth-alert",action:eQ,children:eX}),(0,t.jsx)(j.AuthView,{children:g},eO)]})})})}));e.s(["default",0,N])},267901,e=>{"use strict";var t,r,n,o=e.i(843476),a=e.i(271645);e.i(931067),e.i(988510),e.i(954402),e.i(758161),e.i(915874),e.i(347807),e.i(552655),"function"==typeof(r=(n="u">typeof self?self:"u">typeof window?window:e.g).Symbol)?r.observable?t=r.observable:(t=r("observable"),r.observable=t):t="@@observable",a.Component;var i=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}},function(e){return e})},s=a,l=e.i(509310),c=e.i(710369);let u=e=>{class t extends s.default.Component{static contextType=c.StoreContext;render(){return(0,o.jsx)(e,{...this.props})}}return(0,l.observer)(t)};var d=a,p=e.i(502532),h=e.i(987444),f=e.i(946217);let m=e=>t=>{class r extends d.default.Component{static contextType=c.StoreContext;constructor(e){super(e),(0,h.makeObservable)(this)}componentDidMount(){e&&this.checkAuth()}componentDidUpdate(){e&&this.checkAuth()}checkAuth=()=>{let e=p.default.pathname,t=p.default.query.callback,r=this.context?.AuthStore||this.props.AuthStore;if(!r||!r.authInitialized)return;let{address:n,user:o}=r;(0,f.default)(o)&&"/sign_in"!==e&&p.default.replace({pathname:"/sign_in",query:{callback:t}})};componentWillUnmount(){}render(){return(0,o.jsx)(t,{...this.props})}}return(0,l.observer)(r)},g=({children:e})=>(0,o.jsx)("div",{className:"app",children:e}),b=i(u,m(!1))(g),x=i(u,m(!0))(g);e.s(["AppWithAuthentication",0,b,"AppWithAuthorization",0,x],267901)},651363,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(997053),o=e.i(184228),a=e.i(21623);let i=n.default.section.withConfig({displayName:"AuthCard__Card",componentId:"sc-d369a43e-0"})` 21 position: relative; 22 overflow: hidden; 23 width: 100%; 24 max-width: 400px; 25 display: flex; 26 flex-direction: column; 27 gap: 20px; 28 padding: 32px 28px 28px; 29 background: var(--auth-surface); 30 border: 1px solid var(--auth-line); 31 border-radius: 16px; 32 box-shadow: 0 1px 2px rgba(35, 25, 22, 0.04), 0 12px 32px -12px rgba(73, 39, 147, 0.18); 33 34 /* The memorable detail: a hard-stop band in the /intro block colours. */ 35 &::before { 36 content: ''; 37 position: absolute; 38 top: 0; 39 left: 0; 40 right: 0; 41 height: 4px; 42 background: var(--auth-band); 43 } 44 45 ${a.media.motion} { 46 animation: ${a.riseIn} 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both; 47 } 48 49 /* Borderless on phones: the band becomes a rule over the text column. */ 50 ${a.media.narrow} { 51 max-width: 440px; 52 padding: 24px 20px 24px; 53 border: 0; 54 border-radius: 0; 55 box-shadow: none; 56 57 &::before { 58 left: 20px; 59 right: 20px; 60 border-radius: 2px; 61 } 62 } 63`,s=n.default.div.withConfig({displayName:"AuthCard__AuthView",componentId:"sc-d369a43e-1"})` 64 display: flex; 65 flex-direction: column; 66 gap: ${e=>e.$gap||20}px; 67 68 ${a.media.motion} { 69 animation: ${a.fadeIn} 160ms ease-out both; 70 } 71`,l=n.default.div.withConfig({displayName:"AuthCard__AuthStack",componentId:"sc-d369a43e-2"})` 72 display: flex; 73 flex-direction: column; 74 gap: ${e=>e.$gap||12}px; 75`,c=n.default.h1.withConfig({displayName:"AuthCard__AuthTitle",componentId:"sc-d369a43e-3"})` 76 margin: 0; 77 font-family: var(--auth-font-display); 78 font-weight: 700; 79 font-synthesis: none; 80 font-size: 24px; 81 line-height: 30px; 82 letter-spacing: -0.01em; 83 color: var(--auth-ink); 84 85 /* Focus lands here programmatically on each view change; it is not a control. */ 86 &:focus { 87 outline: none; 88 } 89 90 ${a.media.narrow} { 91 font-size: 22px; 92 line-height: 28px; 93 } 94`,u=n.default.p.withConfig({displayName:"AuthCard__AuthSubtitle",componentId:"sc-d369a43e-4"})` 95 margin: 0; 96 font-size: 14px; 97 line-height: 21px; 98 color: var(--auth-ink-2); 99`,d=n.default.p.withConfig({displayName:"AuthCard__AuthBody",componentId:"sc-d369a43e-5"})` 100 margin: 0; 101 font-size: 14px; 102 line-height: 21px; 103 color: var(--auth-ink-2); 104`,p=n.default.div.withConfig({displayName:"AuthCard__AlertRegion",componentId:"sc-d369a43e-6"})`
105 /* Empty: out of flow so it takes no gap in the card, yet stays in the 106 accessibility tree so the first message is announced. */ 107 &:empty { 108 position: absolute; 109 width: 1px; 110 height: 1px; 111 overflow: hidden; 112 clip: rect(0 0 0 0); 113 clip-path: inset(50%); 114 } 115`,h=n.default.div.withConfig({displayName:"AuthCard__AlertBox",componentId:"sc-d369a43e-7"})` 116 display: flex; 117 align-items: flex-start; 118 gap: 10px; 119 padding: 10px 12px; 120 border-radius: 10px; 121 background: var(--auth-error-bg); 122 border: 1px solid var(--auth-error-line); 123 color: var(--auth-error-ink); 124 font-size: 13.5px; 125 line-height: 20px; 126 font-weight: 500; 127 128 ${a.media.motion} { 129 animation: ${a.fadeIn} 160ms ease-out both; 130 } 131`,f=n.default.span.withConfig({displayName:"AuthCard__AlertGlyph",componentId:"sc-d369a43e-8"})` 132 flex: none; 133 display: inline-flex; 134 align-items: center; 135 justify-content: center; 136 width: 16px; 137 height: 16px; 138 margin-top: 2px; 139 border-radius: 50%; 140 background: var(--auth-error-ink); 141 color: #ffffff; 142 font-size: 11px; 143 line-height: 1; 144 font-weight: 700; 145`,m=n.default.span.withConfig({displayName:"AuthCard__AlertText",componentId:"sc-d369a43e-9"})` 146 display: flex; 147 flex-direction: column; 148 align-items: flex-start; 149 gap: 2px; 150`,g=n.default.a.withConfig({displayName:"AuthCard__AlertAction",componentId:"sc-d369a43e-10"})` 151 && { 152 display: inline-flex; 153 align-items: center; 154 min-height: 44px; 155 margin: -6px 0 -12px; 156 padding: 0 2px; 157 color: var(--auth-error-ink); 158 font-weight: 700; 159 text-decoration: underline; 160 text-underline-offset: 3px; 161 border-radius: 6px; 162 } 163 &&:active { 164 opacity: 0.7; 165 } 166 &&:focus-visible { 167 ${a.focusRing} 168 } 169`,b=n.default.span.withConfig({displayName:"AuthCard__SpinnerRing",componentId:"sc-d369a43e-11"})` 170 flex: none; 171 display: inline-block; 172 width: ${e=>e.$size||18}px; 173 height: ${e=>e.$size||18}px; 174 border-radius: 50%; 175 border: 2px solid ${e=>e.$onPrimary?"rgba(255, 255, 255, 0.35)":"var(--auth-primary-tint)"}; 176 border-top-color: ${e=>e.$onPrimary?"#ffffff":"var(--auth-primary)"}; 177 178 /* Reduced motion: a static ring; the text beside it carries the meaning. */ 179 ${a.media.motion} { 180 animation: ${a.spin} 800ms linear infinite; 181 } 182`;function x({size:e,onPrimary:r}){return(0,t.jsx)(b,{"aria-hidden":"true",$size:e,$onPrimary:r})}let y=n.default.p.withConfig({displayName:"AuthCard__StatusRow",componentId:"sc-d369a43e-12"})` 183 display: flex; 184 align-items: center; 185 gap: 12px; 186 margin: 0; 187 font-size: 14px; 188 line-height: 21px; 189 color: var(--auth-ink-2); 190`,v=n.default.div.withConfig({displayName:"AuthCard__DividerRow",componentId:"sc-d369a43e-13"})` 191 display: flex; 192 align-items: center; 193 gap: 12px; 194 margin: 4px 0; 195 font-size: 12px; 196 line-height: 16px; 197 color: var(--auth-ink-3); 198 text-align: center; 199 200 &::before, 201 &::after { 202 content: ''; 203 flex: 1; 204 height: 1px; 205 background: var(--auth-line); 206 } 207`,w=n.default.p.withConfig({displayName:"AuthCard__AuthLegal",componentId:"sc-d369a43e-14"})` 208 margin: 0; 209 font-size: 12px; 210 line-height: 18px; 211 color: var(--auth-ink-3); 212 213 && a { 214 color: var(--auth-ink-2); 215 text-decoration: underline; 216 text-underline-offset: 2px; 217 border-radius: 2px; 218 } 219 ${a.media.hover} { 220 && a:hover { 221 color: var(--auth-primary-hover); 222 } 223 } 224 && a:active { 225 color: var(--auth-primary-press); 226 } 227 && a:focus-visible { 228 ${a.focusRing} 229 } 230`,E=n.default.nav.withConfig({displayName:"AuthCard__AuthLegalLinks",componentId:"sc-d369a43e-15"})` 231 display: flex; 232 flex-wrap: wrap; 233 gap: 0 16px; 234 margin: -10px 0 -12px; 235 236 && a { 237 display: inline-flex; 238 align-items: center; 239 min-height: 44px; 240 margin: 0 -4px; 241 padding: 0 4px; 242 font-size: 14px; 243 line-height: 20px; 244 font-weight: 500; 245 color: var(--auth-ink-2); 246 text-decoration: underline; 247 text-underline-offset: 3px; 248 border-radius: 6px; 249 } 250 && a:active { 251 color: var(--auth-primary-press); 252 } 253 ${a.media.hover} { 254 && a:hover { 255 color: var(--auth-primary-hover); 256 } 257 } 258 && a:focus-visible { 259 ${a.focusRing} 260 } 261`,j=n.default.button.withConfig({displayName:"AuthCard__Primary",componentId:"sc-d369a43e-16"})` 262 && { 263 display: inline-flex; 264 align-items: center; 265 justify-content: center; 266 gap: 10px; 267 width: 100%; 268 min-height: 48px; 269 height: auto; 270 margin: 0; 271 padding: 12px 20px; 272 font: inherit; 273 font-size: 15px; 274 line-height: 20px; 275 font-weight: 600; 276 color: #ffffff; 277 background: var(--auth-primary); 278 border: 0; 279 border-radius: 12px; 280 text-decoration: none; 281 cursor: pointer; 282 -webkit-tap-highlight-color: transparent; 283 } 284 ${a.media.hover} { 285 &&:hover { 286 background: var(--auth-primary-hover); 287 color: #ffffff; 288 text-decoration: none; 289 } 290 } 291 &&:active { 292 background: var(--auth-primary-press); 293 color: #ffffff; 294 } 295 &&:focus-visible { 296 ${a.focusRing} 297 } 298 /* Never white on grey: disabled keeps a readable ink. */ 299 &&:disabled { 300 background-color: #cfc8e6 !important; 301 color: var(--auth-ink-2);
302 cursor: not-allowed; 303 } 304 305 ${a.media.motion} { 306 && { 307 transition: background-color 120ms ease, transform 120ms ease; 308 } 309 &&:not(:disabled):active { 310 transform: translateY(1px); 311 } 312 } 313`,k=n.default.button.attrs(e=>({type:e.type||"button"})).withConfig({displayName:"AuthCard__TextButton",componentId:"sc-d369a43e-17"})` 314 && { 315 align-self: center; 316 display: inline-flex; 317 align-items: center; 318 justify-content: center; 319 width: auto; 320 min-height: 44px; 321 height: auto; 322 margin: -8px 0 -8px; 323 padding: 0 12px; 324 font: inherit; 325 font-size: 13.5px; 326 line-height: 20px; 327 font-weight: 500; 328 color: var(--auth-primary-hover); 329 background: transparent; 330 border: 0; 331 border-radius: 8px; 332 cursor: pointer; 333 } 334 ${a.media.hover} { 335 &&:hover { 336 text-decoration: underline; 337 text-underline-offset: 3px; 338 background: transparent; 339 } 340 } 341 &&:active { 342 background: var(--auth-primary-tint); 343 } 344 &&:focus-visible { 345 ${a.focusRing} 346 } 347 &&:disabled { 348 background-color: transparent !important; 349 color: var(--auth-ink-3); 350 text-decoration: none; 351 cursor: not-allowed; 352 } 353`,C=n.default.p.withConfig({displayName:"AuthCard__Chip",componentId:"sc-d369a43e-18"})` 354 align-self: flex-start; 355 display: inline-flex; 356 align-items: center; 357 gap: 8px; 358 max-width: 100%; 359 margin: 0; 360 padding: 6px 12px; 361 border-radius: 999px; 362 background: var(--auth-primary-tint); 363 color: var(--auth-primary-press); 364 font-size: 12px; 365 line-height: 16px; 366 font-weight: 500; 367 font-variant-numeric: tabular-nums; 368 369 &::before { 370 content: ''; 371 flex: none; 372 width: 6px; 373 height: 6px; 374 border-radius: 50%; 375 background: currentColor; 376 } 377`,R=n.default.span.withConfig({displayName:"AuthCard__Mono",componentId:"sc-d369a43e-19"})` 378 font-family: ${a.fontMono}; 379 font-size: 12px; 380 letter-spacing: 0; 381`;function A(e){return!e||e.length<=12?e||"":`${e.slice(0,6)}â¦${e.slice(-4)}`}let _=n.default.details.withConfig({displayName:"AuthCard__Details",componentId:"sc-d369a43e-20"})` 382 font-size: 13px; 383 line-height: 20px; 384 color: var(--auth-ink-2); 385 386 summary { 387 display: inline-flex; 388 align-items: center; 389 gap: 6px; 390 min-height: 32px; 391 cursor: pointer; 392 font-weight: 500; 393 color: var(--auth-primary-hover); 394 list-style: none; 395 border-radius: 6px; 396 } 397 summary::-webkit-details-marker { 398 display: none; 399 } 400 summary::before { 401 content: ''; 402 width: 6px; 403 height: 6px; 404 border-right: 1.5px solid currentColor; 405 border-bottom: 1.5px solid currentColor; 406 transform: rotate(-45deg); 407 margin-right: 2px; 408 } 409 &[open] summary::before { 410 transform: rotate(45deg); 411 } 412 summary:focus-visible { 413 ${a.focusRing} 414 } 415 416 pre { 417 margin: 8px 0 0; 418 max-height: 180px; 419 overflow: auto; 420 padding: 12px; 421 border-radius: 10px; 422 border: 1px solid var(--auth-line); 423 background: var(--auth-code-bg); 424 color: var(--auth-ink-2); 425 font-family: ${a.fontMono}; 426 font-size: 12px; 427 line-height: 18px; 428 white-space: pre-wrap; 429 word-break: break-word; 430 } 431`,P=n.default.div.withConfig({displayName:"AuthCard__FieldWrap",componentId:"sc-d369a43e-21"})` 432 display: flex; 433 flex-direction: column; 434 gap: 6px; 435 436 label { 437 display: block; 438 margin: 0; 439 font-size: 13px; 440 line-height: 18px; 441 font-weight: 600; 442 color: var(--auth-ink); 443 } 444`,S=n.default.input.withConfig({displayName:"AuthCard__Input",componentId:"sc-d369a43e-22"})` 445 &&& { 446 display: block; 447 width: 100%; 448 height: auto; 449 min-height: 48px; 450 margin: 0; 451 padding: 12px 14px; 452 font-family: inherit; 453 font-size: 16px; /* 16px stops iOS zooming on focus */ 454 line-height: 22px; 455 font-weight: 500; 456 color: var(--auth-ink); 457 background: var(--auth-surface); 458 border: 1px solid var(--auth-line-strong); 459 border-radius: 12px; 460 box-shadow: none; 461 outline: none; 462 } 463 &&&::placeholder { 464 color: var(--auth-ink-3); 465 font-weight: 400; 466 } 467 &&&:focus { 468 border-color: var(--auth-primary); 469 box-shadow: var(--auth-focus); 470 } 471 &&&[aria-invalid='true'] { 472 border-color: var(--auth-error-ink); 473 } 474`,M=n.default.p.withConfig({displayName:"AuthCard__FieldHint",componentId:"sc-d369a43e-23"})` 475 margin: 0; 476 font-size: 12px; 477 line-height: 16px; 478 color: var(--auth-ink-3); 479`,I=r.default.forwardRef(function({id:e,label:r,hint:n,describedBy:o,invalid:a=!1,...i},s){let l=n?`${e}
479-hint`:null,c=[l,o].filter(Boolean).join(" ")||void 0;return(0,t.jsxs)(P,{children:[(0,t.jsx)("label",{htmlFor:e,children:r}),(0,t.jsx)(S,{ref:s,id:e,type:"text","aria-describedby":c,"aria-invalid":a||void 0,...i}),n?(0,t.jsx)(M,{id:l,children:n}):null]})});e.s(["AddressChip",0,function({address:e}){return e?(0,t.jsx)(C,{title:e,children:(0,t.jsx)(o.default,{id:"auth.connected-as",values:{address:(0,t.jsx)(R,{children:A(e)},"address")}})}):null},"AuthAlert",0,function({id:e="auth-alert",children:r,action:n}){return(0,t.jsx)(p,{id:e,role:"alert","aria-atomic":"true",children:r?(0,t.jsxs)(h,{children:[(0,t.jsx)(f,{"aria-hidden":"true",children:"!"}),(0,t.jsxs)(m,{children:[(0,t.jsx)("span",{children:r}),n?(0,t.jsx)(g,{href:n.href,onClick:n.onClick,"data-testid":"auth-alert-action",children:n.label}):null]})]}):null})},"AuthBody",0,d,"AuthCard",0,function({children:e,...r}){return(0,t.jsx)(i,{...r,children:e})},"AuthDivider",0,function({children:e}){return(0,t.jsx)(v,{children:e})},"AuthLegal",0,w,"AuthLegalLinks",0,E,"AuthStack",0,l,"AuthStatus",0,function({children:e}){return e?(0,t.jsxs)(y,{role:"status","aria-live":"polite",children:[(0,t.jsx)(x,{size:20}),(0,t.jsx)("span",{children:e})]}):(0,t.jsx)(y,{as:"div",children:(0,t.jsx)(x,{size:20})})},"AuthSubtitle",0,u,"AuthTitle",0,c,"AuthView",0,s,"Field",0,I,"MessageDetails",0,function({summary:e,message:r}){return(0,t.jsxs)(_,{children:[(0,t.jsx)("summary",{children:e}),(0,t.jsx)("pre",{children:r})]})},"PrimaryButton",0,function({busy:e=!1,children:r,type:n="button",...o}){return(0,t.jsxs)(j,{type:n,"aria-busy":e||void 0,...o,children:[e?(0,t.jsx)(x,{size:16}):null,(0,t.jsx)("span",{children:r})]})},"PrimaryLink",0,function({children:e,...r}){return(0,t.jsx)(j,{as:"a",...r,children:(0,t.jsx)("span",{children:e})})},"Spinner",0,x,"TextButton",0,k,"truncateAddress",0,A])},236801,e=>{"use strict";var t=e.i(843476);e.i(271645);var r=e.i(997053),n=e.i(430482),o=e.i(393336),a=e.i(334133),i=e.i(21623);let s=r.default.div.withConfig({displayName:"AuthLayout__Root",componentId:"sc-198d747a-0"})` 480 ${i.authTokens} 481 display: flex; 482 flex-direction: column; 483 min-height: 100vh; 484 min-height: 100dvh; 485 background: var(--auth-ground); 486 color: var(--auth-ink); 487 font-family: var(--auth-font-ui); 488 font-size: 14px; 489 line-height: 1.5; 490 -webkit-font-smoothing: antialiased; 491 -moz-osx-font-smoothing: grayscale; 492 text-size-adjust: 100%; 493 overflow-wrap: break-word; 494 495 /* Wrap Korean at spaces, not mid-word; Japanese at phrase boundaries where 496 the browser supports it (others ignore the value). */ 497 &:lang(ko) { 498 word-break: keep-all; 499 } 500 &:lang(ja) { 501 word-break: auto-phrase; 502 } 503`,l=r.default.main.withConfig({displayName:"AuthLayout__Main",componentId:"sc-198d747a-1"})` 504 flex: 1 0 auto; 505 display: flex; 506 justify-content: center; 507 align-items: flex-start; 508 padding: clamp(8px, 6vh, 56px) 16px 48px; 509 510 /* The borderless phone card's own 20px padding is the gutter, so the logo, 511 band and text share one left edge. */ 512 ${i.media.narrow} { 513 padding: clamp(4px, 2vh, 16px) 0 32px; 514 } 515`;e.s(["default",0,function({children:e,headerTitle:r}){let{locale:i}=(0,n.useIntl)();return(0,t.jsxs)(s,{className:"index-page",lang:i,children:[(0,t.jsx)(o.default,{title:r}),(0,t.jsx)(l,{id:"main",children:e}),(0,t.jsx)(a.default,{})]})}])},269758,e=>{"use strict";var t=e.i(843476);e.i(271645);var r=e.i(997053);let n=r.default.span.withConfig({displayName:"ProviderIcon__Tile",componentId:"sc-40d7ce8f-0"})` 516 display: inline-flex; 517 align-items: center; 518 justify-content: center; 519 width: 36px; 520 height: 36px; 521 border-radius: 10px; 522 flex: none; 523 overflow: hidden; 524 background: ${e=>e.$bg||"transparent"}; 525 526 svg, 527 img { 528 display: block; 529 } 530`;function o(){return(0,t.jsxs)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",focusable:"false",children:[(0,t.jsx)("rect",{width:"36",height:"36",rx:"10",fill:"#0052FF"}),(0,t.jsx)("circle",{cx:"18",cy:"18",r:"10",fill:"#fff"}),(0,t.jsx)("rect",{x:"14.5",y:"14.5",width:"7",height:"7",rx:"1.2",fill:"#0052FF"})]})}function a(){return(0,t.jsxs)("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none",focu
530sable:"false",children:[(0,t.jsx)("path",{d:"M7 18.5h10.25a4.25 4.25 0 0 0 .52-8.47A6 6 0 0 0 6.2 11.02 3.75 3.75 0 0 0 7 18.5Z",stroke:"#7f4fe8",strokeWidth:"1.8",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M9.5 15h5",stroke:"#7f4fe8",strokeWidth:"1.8",strokeLinecap:"round"})]})}e.s(["default",0,function({name:e}){switch(e){case"coinbase":return(0,t.jsx)(n,{"aria-hidden":"true",children:(0,t.jsx)(o,{})});case"metamask":return(0,t.jsx)(n,{"aria-hidden":"true",$bg:"#fff4ea",children:(0,t.jsx)("img",{src:"/static/images/exchange-metamask.png",alt:"",width:"24",height:"22"})});case"aindrive":return(0,t.jsx)(n,{"aria-hidden":"true",$bg:"#ffffff",children:(0,t.jsx)(a,{})});default:return null}}])},73982,e=>{"use strict";var t=e.i(843476);e.i(271645),e.s(["default",0,function({as:e="span",className:r,style:n}){return(0,t.jsxs)(e,{className:r,style:n,suppressHydrationWarning:!0,children:["© ",new Date().getFullYear()," Common Computer Inc."]})}])},393336,334133,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(509310),o=e.i(522016),a=e.i(997053),i=e.i(710369),s=e.i(714982),l=e.i(21623);let c=a.default.header.withConfig({displayName:"IdHeader__Header",componentId:"sc-1d9243a9-0"})` 531 && { 532 display: flex; 533 justify-content: space-between; 534 align-items: center; 535 gap: 16px; 536 width: 100%; 537 max-width: 432px; 538 min-height: 64px; 539 margin: 0 auto; 540 padding: 28px 16px 12px; 541 font-family: ${l.fontUi}; 542 } 543 544 && #logo { 545 display: block; 546 width: 64px; 547 height: 27px; 548 margin: 0; 549 background: url('/static/images/afan_logo.png') no-repeat center / contain; 550 cursor: pointer; 551 } 552 553 /* Phones: match the borderless card's 20px text edge. */ 554 ${l.media.narrow} { 555 && { 556 max-width: 440px; 557 min-height: 56px; 558 padding: 12px 20px; 559 } 560 } 561`,u=a.default.div.withConfig({displayName:"IdHeader__Brand",componentId:"sc-1d9243a9-1"})` 562 display: flex; 563 align-items: center; 564 gap: 12px; 565 min-width: 0; 566 567 /* The 64x27 logo gets a 44px-tall hit area from padding. */ 568 a { 569 display: flex; 570 align-items: center; 571 min-height: 44px; 572 margin: -8px -6px; 573 padding: 8px 6px; 574 border-radius: 6px; 575 } 576 a:active { 577 opacity: 0.7; 578 } 579 a:focus-visible { 580 ${l.focusRing} 581 } 582`,d=a.default.span.withConfig({displayName:"IdHeader__Title",componentId:"sc-1d9243a9-2"})` 583 font-size: 15px; 584 line-height: 20px; 585 font-weight: 600; 586 color: var(--auth-ink-2, ${l.palette.ink2}); 587`,p=(0,n.observer)(function({title:e,disableLangSelect:n}){let{AuthStore:a}=(0,r.useContext)(i.StoreContext)||{},l=!!(a&&a.user);return(0,t.jsxs)(c,{children:[(0,t.jsxs)(u,{children:[(0,t.jsx)(o.default,{href:l?"/feed":"/intro","aria-label":"afan",children:(0,t.jsx)("span",{id:"logo"})}),e?(0,t.jsx)(d,{children:e}):null]}),n?null:(0,t.jsx)(s.default,{})]})});e.s(["default",0,p],393336);var h=e.i(430482),f=e.i(73982),m=e.i(805206);let g=a.default.footer.withConfig({displayName:"IdFooter__Footer",componentId:"sc-6e7ce31a-0"})` 588 && { 589 width: 100%; 590 display: flex; 591 flex-direction: column; 592 align-items: center; 593 gap: 8px; 594 padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px)); 595 background-color: ${l.palette.footerBg}; 596 font-family: ${l.fontUi}; 597 font-size: 12.5px; 598 line-height: 18px; 599 color: var(--auth-ink-3, ${l.palette.ink3}); 600 text-align: center; 601 } 602 603 && nav { 604 display: flex; 605 flex-wrap: wrap; 606 justify-content: center; 607 gap: 8px 20px; 608 } 609 610 && a { 611 color: var(--auth-ink-2, ${l.palette.ink2}); 612 font-weight: 500; 613 text-decoration: none; 614 border-radius: 4px; 615 } 616 /* 44px tap height without changing the visual rhythm */ 617 && nav a { 618 display: inline-block; 619 min-width: 44px; 620 padding: 13px 6px; 621 margin: -13px -6px; 622 } 623 ${l.media.hover} { 624 && a:hover { 625 color: var(--auth-ink, ${l.palette.ink}); 626 text-decoration: underline; 627 text-underline-offset: 2px; 628 } 629 } 630 && a:active { 631 color: var(--auth-ink, ${l.palette.ink}); 632 } 633 && a:focus-visible { 634 ${l.focusRing} 635 } 636 637 && small { 638 font-size: 12px; 639 color: inherit; 640 } 641`;e.s(["default",0,function(){let e=(0,h.useIntl)(),r=t=>e.formatMessage({id:t});return(0,t.jsxs)(g,{children:[(0,t.jsxs)("nav",{"aria-label":r("footer.links"),children:[(0,t.jsx)("a",{href:m.COMPANY_URL,target:"_blank",rel:"noopener noreferrer",children:r("login.footer.about")}),(0,t.jsx)(o.default,{href:"/intro/terms",children:r("login.footer.tnp")}),(0,t.jsx)(o.default,{href:m.HELP_PATH,children:r("login.footer.help")}),m.FANCO_CONTRACT_URL?(0,t.jsx)("a",{href:m.FANCO_CONTRACT_URL,target:"_blank",rel:"noopener noreferrer",children:r("login.footer.contract")}):null]}),(0,t.jsx)(f.default,{as:"small"})]})}],334133)},714982,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(509310),o=e.i(430482),a=e.i(997053),i=e.i(710369),s=e.i(21623);let l=["en","ko","ja"],c=a.default.div.withConfig({displayName:"LanguageSelect__Root",componentId:"sc-ded41911-0"})` 642 position: relative; 643 display: inline-flex; 644 align-items: center; 645 flex: none; 646 font-family: inherit; 647 648 select { 649 min-height: 44px; 650 margin: 0; 651 padding: 0 22px 0 10px; 652 border: 0; 653 border-radius: 8px; 654 background: transparent; 655 color: var(--auth-ink-2, ${s.palette.ink2}); 656 font-family: inherit; 657 font-size: 13px; 658 font-weight: 500; 659 line-height: 20px; 660 cursor: pointer; 661 appearance: none; 662 -webkit-appearance: none; 663 } 664 ${s.media.hover} { 665 select:hover { 666 color: var(--auth-ink, ${s.palette.ink}); 667 } 668 } 669 select:focus-visible { 670 ${s.focusRing} 671 } 672 673 [data-part='chevron'] { 674 position: absolute; 675 right: 8px; 676 top: 50%; 677 width: 8px; 678 height: 5px; 679 margin-top: -2px; 680 background: var(--auth-ink-3, ${s.palette.ink3}); 681 clip-path: polygon(50% 100%, 0% 0%, 100% 0); 682 pointer-events: none; 683 } 684`,u=(0,n.observer)(function({id:e="lang-select",className:n}){let a=(0,o.useIntl)(),{store:s}=(0,r.useContext)(i.StoreContext)||{},u=s&&s.locale||a.locale||"en";return(0,t.jsxs)(c,{className:n,children:[(0,t.jsx)("label",{htmlFor:e,className:"sr-only",children:a.formatMessage({id:"auth.language"})}),(0,t.jsx)("select",{id:e,value:u,onChange:e=>{s&&s.changeLanguage&&s.changeLanguage(e.target.value)},children:l.map(e=>(0,t.jsx)("option",{value:e,children:a.formatMessage({id:`lang.${e}`})},e))}),(0,t.jsx)("span",{"data-part":"chevron","aria-hidden":"true"})]})});e.s(["default",0,u])},41792,(e,t,r)=>{let{encode:n,decode:o}=e.r(842812),a=/^[A-Za-z0-9_.]+$/,i=/^[A-Za-z0-9]/,s=/^0x[0-9a-f]/i,l=new Set(["about","admin","administrator","afan","afan.ai","afan_official","aindrive","api","billing","explore","fanco","feed","help","login","me","mod","moderator","my","notifications","null","official","privacy","profile","root","security","settings","sign_in","sign_up","signin","signup","staff","support","system","team","terms","undefined","www"]);function c(e){return n(String(e).trim().toLowerCase())}
684class u extends Error{constructor(e,t){super(t?`${e}: ${t}`:e),this.name="UsernameError",this.code=e,this.reason=t||null}}let d="__afanUsernameLocks";function p(e,t){let r=(globalThis[d]||(globalThis[d]=new Map),globalThis[d]),n=(r.get(e)||Promise.resolve()).then(t,t),o=n.then(()=>void 0,()=>void 0);return r.set(e,o),o.then(()=>{r.get(e)===o&&r.delete(e)}),n}let h=async(e,t)=>(await e.ref(t).once("value")).val(),f="__afanUsernameIndex";function m(){globalThis[f]=null}t.exports={USERNAME_MIN:3,USERNAME_MAX:30,RESERVED_USERNAMES:l,UsernameError:u,usernameProblem:function(e){let t="string"==typeof e?e.trim():"";return t.length<3?"too_short":t.length>30?"too_long":a.test(t)?i.test(t)?t.endsWith(".")?"invalid_end":s.test(t)?"address_like":l.has(t.toLowerCase())?"reserved":null:"invalid_start":"invalid_chars"},usernameKey:c,nameOfKey:function(e){return o(e)},withNameLock:p,claimUsername:function(e,{uid:t,name:r,previous:n=null,updates:o={}}){let a=String(r).trim(),i=c(a);return p(i,async()=>{let r=await h(e,`username_list/${i}`);if(r&&r!==t)throw new u("username_taken");let s={...o,[`username_list/${i}`]:t},l=n?c(n):null,d=!1;if(l&&l!==i&&await h(e,`username_list/${l}`)===t&&(s[`username_list/${l}`]=null,d=!0),await e.ref("").update(s),m(),await h(e,`username_list/${i}`)!==t){let r={};throw d&&(r[`username_list/${l}`]=t),Object.keys(o).forEach(e=>{/\/username$/.test(e)&&n&&(r[e]=n)}),Object.keys(r).length&&await e.ref("").update(r),new u("username_taken")}return{username:a,key:i}})},usernameIndexEntries:function(e){let t=globalThis[f];if(t&&Date.now()-t.at<15e3)return t.promise;let r=h(e,"username_list").then(e=>Object.keys(e||{}).filter(t=>"string"==typeof e[t]&&e[t]).map(t=>[o(t),e[t]]));return globalThis[f]={at:Date.now(),promise:r},r.catch(()=>{let e=globalThis[f];e&&e.promise===r&&m()}),r},forgetUsernameIndex:m}},88611,e=>{"use strict";var t=e.i(843476);e.i(271645);var r=e.i(710369),n=e.i(502532);e.s(["default",0,function(e){function o(n){let o=(0,r.useStore)(),a=n.query||n.router&&n.router.query||{};return(0,t.jsx)(e,{rootStore:o.store,...o,...n,query:a})}return o.displayName=`withPage(${e.displayName||e.name||"Page"})`,(0,n.withRouter)(o)}])},954402,e=>{"use strict";function t(e,r){return(t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,r)}e.s(["default",0,function(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,t(e,r)}],954402)},426254,e=>{"use strict";e.s(["getAction",0,function(e,t,r){let n=e[t.name];if("function"==typeof n)return n;let o=e[r];return"function"==typeof o?o:r=>t(e,r)}])},988510,(e,t,r)=>{"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}t.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(var i=0;i<r.length;i++)if(!n.call(t,r[i])||!o(e[r[i]],t[r[i]]))return!1;return!0}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return y}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809),i=e.r(843476),s=a._(e.r(271645)),l=e.r(195057),c=e.r(8372),u=e.r(818581),d=e.r(718967),p=e.r(405550),h=e.r(388540),f=e.r(769688),m=e.r(573668),g=e.r(509396);function b(t){var r;let n,o,a,[b,y]=(0,s.useOptimistic)(f.IDLE_LINK_STATUS),v=(0,s.useRef)(null),{href:w,as:E,children:j,prefetch:k=null,passHref:C,replace:R,shallow:A,scroll:_,onClick:P,onMouseEnter:S,onTouchStart:M,legacyBehavior:I=!1,onNavigate:N,transitionTypes:O,ref:T,unstable_dynamicOnHover:$,...U}=t;n=j,I&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let L=s.default.useContext(c.AppRouterContext),F=!1!==k,B=!1===k?"none":!0===k?"full":"auto",q="none"!==B?"auto"===B?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,D="string"==typeof(r=E||w)?r:(0,l.formatUrl)(r);if(I){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
684` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=s.default.Children.only(n)}let z=I?o&&"object"==typeof o&&o.ref:T,W,H=s.default.useCallback(e=>(null!==L&&(v.current=(0,f.mountLinkInstance)(e,D,L,q,F,y,W)),()=>{v.current&&((0,f.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,f.unmountPrefetchableInstance)(e)}),[F,D,L,q,y,W]),V={ref:(0,u.useMergedRef)(H,z),onClick(t){I||"function"!=typeof P||P(t),I&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!L||t.defaultPrevented||function(t,r,n,o,a,i,l,c="none"){if("u">typeof window){let u,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){o&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:p}=e.r(699781);s.default.startTransition(()=>{p(r,o?"replace":"push",!1===a?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,l,c)})}}(t,D,v,R,_,N,O,B)},onMouseEnter(e){I||"function"!=typeof S||S(e),I&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),L&&F&&(0,f.onNavigationIntent)(e.currentTarget,!0===$)},onTouchStart:function(e){I||"function"!=typeof M||M(e),I&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),L&&F&&(0,f.onNavigationIntent)(e.currentTarget,!0===$)}};return(0,d.isAbsoluteUrl)(D)?V.href=D:I&&!C&&("a"!==o.type||"href"in o.props)||(V.href=(0,p.addBasePath)(D)),a=I?s.default.cloneElement(o,V):(0,i.jsx)("a",{...U,...V,children:n}),(0,i.jsx)(x.Provider,{value:b,children:a})}let x=(0,s.createContext)(f.IDLE_LINK_STATUS),y=()=>(0,s.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(271645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},718967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return b},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return v},NormalizeError:function(){return x},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return i},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return p},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return E}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function i(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function f(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&p(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}
684" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class b extends Error{}class x extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class v extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function E(e){return JSON.stringify({message:e.message,stack:e.stack})}},573668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(718967),o=e.r(652817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},998183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return s}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function i(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,i(e));else t.set(r,i(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},195057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(190809)._(e.r(998183)),i=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",s=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let u=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),s&&"#"!==s[0]&&(s="#"+s),u&&"?"!==u[0]&&(u="?"+u),o=o.replace(/[?#]/g,encodeURIComponent),u=u.replace("#","%23"),`${n}${c}${o}${u}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return s(e)}},380744,472908,e=>{"use strict";var t=e.i(2197),r=e.i(271645),n=e.i(76774),o=e.i(755827);function a(e){var t=(0,o.default)(),n=t.formatMessage,a=t.textComponent,i=void 0===a?r.Fragment:a,s=e.id,l=e.description,c=e.defaultMessage,u=e.values,d=e.children,p=e.tagName,h=void 0===p?i:p,f=n({id:s,description:l,defaultMessage:c},u,{ignoreTag:e.ignoreTag});return"function"==typeof d?d(Array.isArray(f)?f:[f]):h?r.createElement(h,null,r.Children.toArray(f)):r.createElement(r.Fragment,null,f)}a.displayName="FormattedMessage";var i=r.memo(a,function(e,r){var o=e.values,a=(0,t.__rest)(e,["values"]),i=r.values,s=(0,t.__rest)(r,["values"]);return(0,n.shallowEqual)(i,o)&&(0,n.shallowEqual)(a,s)});i.displayName="MemoizedFormattedMessage",e.s(["default",0,i],472908),e.s(["FormattedMessage",0,i],380744)},758161,e=>{"use strict";function t(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState((function(t){var r=this.constructor.getDerivedStateFromProps(e,t);return null!=r?r:null}).bind(this))}function n(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}t.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,n.__suppressDeprecationWarning=!0,e.s(["polyfill",0,function(e){var o=e.prototype;if(!o||!o.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof o.getSnapshotBeforeUpdate)return e;
684var a=null,i=null,s=null;if("function"==typeof o.componentWillMount?a="componentWillMount":"function"==typeof o.UNSAFE_componentWillMount&&(a="UNSAFE_componentWillMount"),"function"==typeof o.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof o.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof o.componentWillUpdate?s="componentWillUpdate":"function"==typeof o.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==a||null!==i||null!==s)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==a?"\n "+a:"")+(null!==i?"\n "+i:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(o.componentWillMount=t,o.componentWillReceiveProps=r),"function"==typeof o.getSnapshotBeforeUpdate){if("function"!=typeof o.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");o.componentWillUpdate=n;var l=o.componentDidUpdate;o.componentDidUpdate=function(e,t,r){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:r;l.call(this,e,t,n)}}return e}])},347807,(e,t,r)=>{"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,i=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,u=c&&c(Object);t.exports=function e(t,r,d){if("string"!=typeof r){if(u){var p=c(r);p&&p!==u&&e(t,p,d)}var h=i(r);s&&(h=h.concat(s(r)));for(var f=0;f<h.length;++f){var m=h[f];if(!n[m]&&!o[m]&&(!d||!d[m])){var g=l(r,m);try{a(t,m,g)}catch(e){}}}}return t}},552655,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.createChangeEmitter=function(){var e=[],t=e;function r(){t===e&&(t=e.slice())}return{listen:function(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var n=!0;return r(),t.push(e),function(){if(n){n=!1,r();var o=t.indexOf(e);t.splice(o,1)}}},emit:function(){for(var r=e=t,n=0;n<r.length;n++)r[n].apply(r,arguments)}}}},189991,e=>{"use strict";e.s(["parseAccount",0,function(e){return"string"==typeof e?{address:e,type:"json-rpc"}:e}])},599976,e=>{"use strict";var t=e.i(189991),r=e.i(611573),n=e.i(675107);async function o(e,{account:a=e.account,message:i}){if(!a)throw new r.AccountNotFoundError({docsPath:"/docs/actions/wallet/signMessage"});let s=(0,t.parseAccount)(a);if(s.signMessage)return s.signMessage({message:i});let l="string"==typeof i?(0,n.stringToHex)(i):i.raw instanceof Uint8Array?(0,n.toHex)(i.raw):i.raw;return e.request({method:"personal_sign",params:[l,s.address]},{retryCount:0})}e.s(["signMessage",0,o])},363625,606624,e=>{"use strict";let t;var r=e.i(189991);let n=256;function o(e=11){if(!t||n+e>512){t="",n=0;for(let e=0;e<256;e++)t+=(256+256*Math.random()|0).toString(16).substring(1)}return t.substring(n,n+++e)}e.s(["uid",0,o],606624),e.s(["createClient",0,function(e){let{batch:t,chain:n,ccipRead:a,dataSuffix:i,key:s="base",name:l="Base Client",type:c="base"}=e,u=e.experimental_blockTag??("number"==typeof n?.experimental_preconfirmationTime?"pending":void 0),d=Math.min(Math.max(Math.floor((n?.blockTime??12e3)/2),500),4e3),p=e.pollingInterval??d,h=e.cacheTime??p,f=e.account?(0,r.parseAccount)(e.account):void 0,{config:m,request:g,value:b}=e.transport({account:f,chain:n,pollingInterval:p}),x={account:f,batch:t,cacheTime:h,ccipRead:a,chain:n,dataSuffix:i,key:s,name:l,pollingInterval:p,request:g,transport:{...m,...b},type:c,uid:o(),...u?{experimental_blockTag:u}:{}};return Object.assign(x,{extend:function e(t){return r=>{let n=r(t);for(let e in x)delete n[e];let o={...t,...n};return Object.assign(o,{extend:e(o)})}}(x)})}],363625)},695331,e=>{"use strict";var t=e.i(569934),r=e.i(95767),n=e.i(383856),o=e.i(363710),a=e.i(533580),i=e.i(204202),s=e.i(34888),l=e.i(606624);e.s(["createTransport",0,function({key:e,methods:c,name:u,request:d,retryCount:p=3,retryDelay:h=150,timeout:f,type:m},g){return{config:{key:e,methods:c,name:u,request:d,retryCount:p,retryDelay:h,timeout:f,type:m},request:function(e,l={}){return async(c,u={})=>{let{dedupe:d=!1,methods:p,retryDelay:h=150,retryCount:f=3,signal:m,uid:g}={...l,...u},{method:b}=c;
684if(p?.exclude?.includes(b)||p?.include&&!p.include.includes(b))throw new n.MethodNotSupportedRpcError(Error("method not supported"),{method:b});if(m?.aborted)throw(0,o.getAbortError)(m);let x=d?function(e,t=0){let r=0xdeadbeef^t,n=0x41c6ce57^t;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r=Math.imul(r^o,0x9e3779b1),n=Math.imul(n^o,0x5f356495)}return r=Math.imul(r^r>>>16,0x85ebca6b)^Math.imul(n^n>>>16,0xc2b2ae35),(0x100000000*(2097151&(n=Math.imul(n^n>>>16,0x85ebca6b)^Math.imul(r^r>>>16,0xc2b2ae35)))+(r>>>0)).toString(36)}(`${g}.${(0,s.stringify)(c)}`):void 0;return(0,a.withDedupe)(()=>(0,i.withRetry)(async()=>{try{return await e(c,m?{signal:m}:void 0)}catch(e){if(m?.aborted)throw(0,o.getAbortError)(m);if((0,o.isAbortError)(e))throw e;switch(e.code){case n.ParseRpcError.code:throw new n.ParseRpcError(e);case n.InvalidRequestRpcError.code:throw new n.InvalidRequestRpcError(e);case n.MethodNotFoundRpcError.code:throw new n.MethodNotFoundRpcError(e,{method:c.method});case n.InvalidParamsRpcError.code:throw new n.InvalidParamsRpcError(e);case n.InternalRpcError.code:throw new n.InternalRpcError(e);case n.InvalidInputRpcError.code:throw new n.InvalidInputRpcError(e);case n.ResourceNotFoundRpcError.code:throw new n.ResourceNotFoundRpcError(e);case n.ResourceUnavailableRpcError.code:throw new n.ResourceUnavailableRpcError(e);case n.TransactionRejectedRpcError.code:throw new n.TransactionRejectedRpcError(e);case n.MethodNotSupportedRpcError.code:throw new n.MethodNotSupportedRpcError(e,{method:c.method});case n.LimitExceededRpcError.code:throw new n.LimitExceededRpcError(e);case n.JsonRpcVersionUnsupportedError.code:throw new n.JsonRpcVersionUnsupportedError(e);case n.UserRejectedRequestError.code:throw new n.UserRejectedRequestError(e);case n.UnauthorizedProviderError.code:throw new n.UnauthorizedProviderError(e);case n.UnsupportedProviderMethodError.code:throw new n.UnsupportedProviderMethodError(e);case n.ProviderDisconnectedError.code:throw new n.ProviderDisconnectedError(e);case n.ChainDisconnectedError.code:throw new n.ChainDisconnectedError(e);case n.SwitchChainError.code:throw new n.SwitchChainError(e);case n.UnsupportedNonOptionalCapabilityError.code:throw new n.UnsupportedNonOptionalCapabilityError(e);case n.UnsupportedChainIdError.code:throw new n.UnsupportedChainIdError(e);case n.DuplicateIdError.code:throw new n.DuplicateIdError(e);case n.UnknownBundleIdError.code:throw new n.UnknownBundleIdError(e);case n.BundleTooLargeError.code:throw new n.BundleTooLargeError(e);case n.AtomicReadyWalletRejectedUpgradeError.code:throw new n.AtomicReadyWalletRejectedUpgradeError(e);case n.AtomicityNotSupportedError.code:throw new n.AtomicityNotSupportedError(e);case 5e3:throw new n.UserRejectedRequestError(e);case n.WalletConnectSessionSettlementError.code:throw new n.WalletConnectSessionSettlementError(e);default:if(e instanceof t.BaseError)throw e;throw new n.UnknownRpcError(e)}}},{delay:({count:e,error:t})=>{if(t&&t instanceof r.HttpRequestError){let e=t?.headers?.get("Retry-After");if(e?.match(/\d/))return 1e3*Number.parseInt(e,10)}return~~(1<<e)*h},retryCount:f,signal:m,shouldRetry:({error:e})=>{var t;return t=e,!(0,o.isAbortError)(t)&&("code"in t&&"number"==typeof t.code?-1===t.code||t.code===n.LimitExceededRpcError.code||t.code===n.InternalRpcError.code||429===t.code:!(t instanceof r.HttpRequestError)||!t.status||403===t.status||408===t.status||413===t.status||429===t.status||500===t.status||502===t.status||503===t.status||504===t.status||!1)}}),{enabled:d,id:x})}}(d,{methods:c,retryCount:p,retryDelay:h,uid:(0,l.uid)()}),value:g}}],695331)},911347,e=>{"use strict";var t=e.i(695331);e.s(["custom",0,function(e,r={}){let{key:n="custom",methods:o,name:a="Custom Provider",retryDelay:i}=r;return({retryCount:s})=>(0,t.createTransport)({key:n,methods:o,name:a,request:e.request.bind(e),retryCount:r.retryCount??s,retryDelay:i,type:"custom"})}])},110163,e=>{"use strict";var t=e.i(95767),r=e.i(588134),n=e.i(871706),o=e.i(363710),a=e.i(984534),i=e.i(34888);let s={current:0,take(){return this.current++},reset(){this.current=0}};var l=e.i(695331);let c=0,u=new WeakMap;e.s(["http",0,function(e,d={}){let{batch:p,fetchFn:h,fetchOptions:f,key:m="http",methods:g,name:b="HTTP JSON-RPC",onFetchRequest:x,onFetchResponse:y,retryDelay:v,raw:w}=d;return({chain:E,retryCount:j,timeout:k})=>{let{batchSize:C=1e3,wait:R=0}="object"==typeof p?p:{},A=d.retryCount??j,_=k??d.timeout??1e4,P=e||E?.rpcUrls.default.http[0];if(!P)throw new r.UrlRequiredError;let S=function(e,r={}){let{url:n,headers:l}=function(e){try{let t=new URL(e),r=(()=>
684{if(t.username){let e=`${decodeURIComponent(t.username)}:${decodeURIComponent(t.password)}`;return t.username="",t.password="",{url:t.toString(),headers:{Authorization:`Basic ${btoa(e)}`}}}})();return{url:t.toString(),...r}}catch{return{url:e}}}(e);return{async request(e){let{body:c,fetchFn:u=r.fetchFn??fetch,onRequest:d=r.onRequest,onResponse:p=r.onResponse,timeout:h=r.timeout??1e4}=e,f={...r.fetchOptions??{},...e.fetchOptions??{}},{headers:m,method:g,signal:b}=f;try{let e,r=await (0,a.withTimeout)(async({signal:e})=>{let t={...f,body:Array.isArray(c)?(0,i.stringify)(c.map(e=>({jsonrpc:"2.0",id:e.id??s.take(),...e}))):(0,i.stringify)({jsonrpc:"2.0",id:c.id??s.take(),...c}),headers:{...l,"Content-Type":"application/json",...m},method:g||"POST",signal:b||(h>0?e:null)},r=new Request(n,t),o=await d?.(r,t)??{...t,url:n};return await u(o.url??n,o)},{errorInstance:new t.TimeoutError({body:c,url:n}),timeout:h,signal:!0});if(p&&await p(r),r.headers.get("Content-Type")?.startsWith("application/json"))e=await r.json();else{e=await r.text();try{e=JSON.parse(e||"{}")}catch(t){if(r.ok)throw t;e={error:e}}}if(!r.ok){if("number"==typeof e.error?.code&&"string"==typeof e.error?.message)return e;throw new t.HttpRequestError({body:c,details:(0,i.stringify)(e.error)||r.statusText,headers:r.headers,status:r.status,url:n})}return e}catch(e){if(b?.aborted)throw(0,o.getAbortError)(b);if((0,o.isAbortError)(e)||e instanceof t.HttpRequestError||e instanceof t.TimeoutError)throw e;throw new t.HttpRequestError({body:c,cause:e,url:n})}}}}(P,{fetchFn:h,fetchOptions:f,onRequest:x,onResponse:y,timeout:_});return(0,l.createTransport)({key:m,methods:g,name:b,async request({method:e,params:r},o){let a={method:e,params:r},i=o?.signal?{signal:o.signal}:void 0,{schedule:s}=(0,n.createBatchScheduler)({id:`${P}.${function(e){if(!e)return"default";let t=u.get(e);if(void 0!==t)return t;let r=c++;return u.set(e,r),r}(o?.signal)}`,wait:R,shouldSplitBatch:e=>e.length>C,fn:e=>S.request({body:e,fetchOptions:i}),sort:(e,t)=>e.id-t.id}),l=async e=>p?s(e):[await S.request({body:e,fetchOptions:i})],[{error:d,result:h}]=await l(a);if(w)return{error:d,result:h};if(d)throw new t.RpcRequestError({body:a,error:d,url:P});return h},retryCount:A,retryDelay:v,timeout:_,type:"http"},{fetchOptions:f,url:P})}}],110163)},611573,e=>{"use strict";var t=e.i(569934);class r extends t.BaseError{constructor({docsPath:e}={}){super("Could not find an Account to execute with this Action.\nPlease provide an Account with the `account` argument on the Action, or by supplying an `account` to the Client.",{docsPath:e,docsSlug:"account",name:"AccountNotFoundError"})}}class n extends t.BaseError{constructor({docsPath:e,metaMessages:t,type:r}){super(`Account type "${r}" is not supported.`,{docsPath:e,metaMessages:t,name:"AccountTypeNotSupportedError"})}}e.s(["AccountNotFoundError",0,r,"AccountTypeNotSupportedError",0,n])},95767,e=>{"use strict";var t=e.i(34888),r=e.i(569934),n=e.i(363710);class o extends r.BaseError{constructor({body:e,cause:r,details:o,headers:a,status:i,url:s}){super("HTTP request failed.",{cause:r,details:o,metaMessages:[i&&`Status: ${i}`,`URL: ${(0,n.getUrl)(s)}`,e&&`Request body: ${(0,t.stringify)(e)}`].filter(Boolean),name:"HttpRequestError"}),Object.defineProperty(this,"body",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"headers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"status",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.body=e,this.headers=a,this.status=i,this.url=s}}r.BaseError;class a extends r.BaseError{constructor({body:e,error:r,url:o}){super("RPC Request failed.",{cause:r,details:r.message,metaMessages:[`URL: ${(0,n.getUrl)(o)}`,`Request body: ${(0,t.stringify)(e)}`],name:"RpcRequestError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.code=r.code,this.data=r.data,this.url=o}}r.BaseError;class i extends r.BaseError{constructor({body:e,url:r}){super("The request took too long to respond.",{details:"The request timed out.",metaMessages:[`URL: ${(0,n.getUrl)(r)}`,`Request body: ${(0,t.stringify)(e)}`],name:"TimeoutError"}),Object.defineProperty(this,"url",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.url=r}}e.s(["HttpRequestError",0,o,"RpcRequestError",0,a,"TimeoutError",0,i])},383856,e=>{"use strict";var t=e.i(569934),r=e.i(95767);
vendor: 5,060 bytes, line 684
684class n extends t.BaseError{constructor(e,{code:t,docsPath:n,metaMessages:o,name:a,shortMessage:i}){super(i,{cause:e,docsPath:n,metaMessages:o||e?.metaMessages,name:a||"RpcError"}),Object.defineProperty(this,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.name=a||e.name,this.code=e instanceof r.RpcRequestError?e.code:t??-1}}class o extends n{constructor(e,t){super(e,t),Object.defineProperty(this,"data",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.data=t.data}}class a extends n{constructor(e){super(e,{code:a.code,name:"ParseRpcError",shortMessage:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."})}}Object.defineProperty(a,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32700});class i extends n{constructor(e){super(e,{code:i.code,name:"InvalidRequestRpcError",shortMessage:"JSON is not a valid request object."})}}Object.defineProperty(i,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32600});class s extends n{constructor(e,{method:t}={}){super(e,{code:s.code,name:"MethodNotFoundRpcError",shortMessage:`The method${t?` "${t}"`:""} does not exist / is not available.`})}}Object.defineProperty(s,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32601});class l extends n{constructor(e){super(e,{code:l.code,name:"InvalidParamsRpcError",shortMessage:"Invalid parameters were provided to the RPC method.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(l,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32602});class c extends n{constructor(e){super(e,{code:c.code,name:"InternalRpcError",shortMessage:"An internal error was received."})}}Object.defineProperty(c,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32603});class u extends n{constructor(e){super(e,{code:u.code,name:"InvalidInputRpcError",shortMessage:"Missing or invalid parameters.\nDouble check you have provided the correct parameters."})}}Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32e3});class d extends n{constructor(e){super(e,{code:d.code,name:"ResourceNotFoundRpcError",shortMessage:"Requested resource not found."}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"ResourceNotFoundRpcError"})}}Object.defineProperty(d,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32001});class p extends n{constructor(e){super(e,{code:p.code,name:"ResourceUnavailableRpcError",shortMessage:"Requested resource not available."})}}Object.defineProperty(p,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32002});class h extends n{constructor(e){super(e,{code:h.code,name:"TransactionRejectedRpcError",shortMessage:"Transaction creation failed."})}}Object.defineProperty(h,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32003});class f extends n{constructor(e,{method:t}={}){super(e,{code:f.code,name:"MethodNotSupportedRpcError",shortMessage:`Method${t?` "${t}"`:""} is not supported.`})}}Object.defineProperty(f,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32004});class m extends n{constructor(e){super(e,{code:m.code,name:"LimitExceededRpcError",shortMessage:"Request exceeds defined limit."})}}Object.defineProperty(m,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32005});class g extends n{constructor(e){super(e,{code:g.code,name:"JsonRpcVersionUnsupportedError",shortMessage:"Version of JSON-RPC protocol is not supported."})}}Object.defineProperty(g,"code",{enumerable:!0,configurable:!0,writable:!0,value:-32006});class b extends o{constructor(e){super(e,{code:b.code,name:"UserRejectedRequestError",shortMessage:"User rejected the request."})}}Object.defineProperty(b,"code",{enumerable:!0,configurable:!0,writable:!0,value:4001});class x extends o{constructor(e){super(e,{code:x.code,name:"UnauthorizedProviderError",shortMessage:"The requested method and/or account has not been authorized by the user."})}}Object.defineProperty(x,"code",{enumerable:!0,configurable:!0,writable:!0,value:4100});class y extends o{constructor(e,{method:t}={}){super(e,{code:y.code,name:"UnsupportedProviderMethodError",shortMessage:`The Provider does not support the requested method${t?` " ${t}"`:""}.`})}}Object.defineProperty(y,"code",{enumerable:!0,configurable:!0,writable:!0,value:4200});class v extends o{constructor(e){super(e,{code:v.code,name:"ProviderDisconnectedError",shortMessage:"The Provider is disconnected from all chains."})}}Object.defineProperty(v,"code",{enumerable:!0,configurable:!0,writable:!0,value:4900});class w extends o{constructor(e){super(e,{code:w.code,name:"ChainDisconnectedError",shortMessage:"The Provider is not connected to the requested chain."})}}Object.defineProperty(w,"code",{enumerable:!0,configurable:!0,writable:!0,value:4901});class E extends o{constructor(e){super(e,{code:E.code,name:"SwitchChainError",shortMessage:"An error occurred when attempting to switch chain."})}}Object.defineProperty(E,"code",{enumerable:!0,configurable:!0,writable:!0,value:4902});
684class j extends o{constructor(e){super(e,{code:j.code,name:"UnsupportedNonOptionalCapabilityError",shortMessage:"This Wallet does not support a capability that was not marked as optional."})}}Object.defineProperty(j,"code",{enumerable:!0,configurable:!0,writable:!0,value:5700});class k extends o{constructor(e){super(e,{code:k.code,name:"UnsupportedChainIdError",shortMessage:"This Wallet does not support the requested chain ID."})}}Object.defineProperty(k,"code",{enumerable:!0,configurable:!0,writable:!0,value:5710});class C extends o{constructor(e){super(e,{code:C.code,name:"DuplicateIdError",shortMessage:"There is already a bundle submitted with this ID."})}}Object.defineProperty(C,"code",{enumerable:!0,configurable:!0,writable:!0,value:5720});class R extends o{constructor(e){super(e,{code:R.code,name:"UnknownBundleIdError",shortMessage:"This bundle id is unknown / has not been submitted"})}}Object.defineProperty(R,"code",{enumerable:!0,configurable:!0,writable:!0,value:5730});class A extends o{constructor(e){super(e,{code:A.code,name:"BundleTooLargeError",shortMessage:"The call bundle is too large for the Wallet to process."})}}Object.defineProperty(A,"code",{enumerable:!0,configurable:!0,writable:!0,value:5740});class _ extends o{constructor(e){super(e,{code:_.code,name:"AtomicReadyWalletRejectedUpgradeError",shortMessage:"The Wallet can support atomicity after an upgrade, but the user rejected the upgrade."})}}Object.defineProperty(_,"code",{enumerable:!0,configurable:!0,writable:!0,value:5750});class P extends o{constructor(e){super(e,{code:P.code,name:"AtomicityNotSupportedError",shortMessage:"The wallet does not support atomic execution but the request requires it."})}}Object.defineProperty(P,"code",{enumerable:!0,configurable:!0,writable:!0,value:5760});class S extends o{constructor(e){super(e,{code:S.code,name:"WalletConnectSessionSettlementError",shortMessage:"WalletConnect session settlement failed."})}}Object.defineProperty(S,"code",{enumerable:!0,configurable:!0,writable:!0,value:7e3}),e.s(["AtomicReadyWalletRejectedUpgradeError",0,_,"AtomicityNotSupportedError",0,P,"BundleTooLargeError",0,A,"ChainDisconnectedError",0,w,"DuplicateIdError",0,C,"InternalRpcError",0,c,"InvalidInputRpcError",0,u,"InvalidParamsRpcError",0,l,"InvalidRequestRpcError",0,i,"JsonRpcVersionUnsupportedError",0,g,"LimitExceededRpcError",0,m,"MethodNotFoundRpcError",0,s,"MethodNotSupportedRpcError",0,f,"ParseRpcError",0,a,"ProviderDisconnectedError",0,v,"ResourceNotFoundRpcError",0,d,"ResourceUnavailableRpcError",0,p,"SwitchChainError",0,E,"TransactionRejectedRpcError",0,h,"UnauthorizedProviderError",0,x,"UnknownBundleIdError",0,R,"UnknownRpcError",0,class extends n{constructor(e){super(e,{name:"UnknownRpcError",shortMessage:"An unknown RPC error occurred."})}},"UnsupportedChainIdError",0,k,"UnsupportedNonOptionalCapabilityError",0,j,"UnsupportedProviderMethodError",0,y,"UserRejectedRequestError",0,b,"WalletConnectSessionSettlementError",0,S])},588134,e=>{"use strict";var t=e.i(569934);class r extends t.BaseError{constructor(){super("No URL was provided to the Transport. Please provide a valid RPC URL to the Transport.",{docsPath:"/docs/clients/intro",name:"UrlRequiredError"})}}e.s(["UrlRequiredError",0,r])},363710,e=>{"use strict";e.s(["getAbortError",0,function(e){if(e?.reason)return e.reason;if("function"==typeof DOMException)return new DOMException("This operation was aborted","AbortError");let t=Error("This operation was aborted");return t.name="AbortError",t},"getContractAddress",0,e=>e,"getUrl",0,e=>{try{let t=new URL(e);if(!t.username&&!t.password)return e;return t.username="",t.password="",t.toString()}catch{return e}},"isAbortError",0,function(e){return"object"==typeof e&&null!==e&&"name"in e&&"AbortError"===e.name}])},871706,e=>{"use strict";var t=e.i(509486);let r=new Map;e.s(["createBatchScheduler",0,function({fn:e,id:n,shouldSplitBatch:o,wait:a=0,sort:i}){let s=async()=>{let t=c();l();let r=t.map(({args:e})=>e);0!==r.length&&e(r).then(e=>{i&&Array.isArray(e)&&e.sort(i);for(let r=0;r<t.length;r++){let{resolve:n}=t[r];n?.([e[r],e])}}).catch(e=>{for(let r=0;r<t.length;r++){let{reject:n}=t[r];n?.(e)}})},l=()=>r.delete(n),c=()=>r.get(n)||[],u=e=>r.set(n,[...c(),e]);return{flush:l,async schedule(e){let{promise:r,resolve:n,reject:i}=(0,t.withResolvers)();return(o?.([...c().map(({args:e})=>e),e])&&s(),c().length>0)?u({args:e,resolve:n,reject:i}):(u({args:e,resolve:n,reject:i}),setTimeout(s,a)),r}}}])},533580,e=>{"use strict";let t=new(e.i(976677)).LruMap(8192);e.s(["withDedupe",0,function(e,{enabled:r=!0,id:n}){if(!r||!n)return e();if(t.get(n))return t.get(n);let o=e().finally(()=>t.delete(n));return t.set(n,o),o}])},509486,e=>{"use strict";e.s(["withResolvers",0,function(){let e=()=>void 0,t=()=>void 0;return{promise:new Promise((r,n)=>{e=r,t=n}),resolve:e,reject:t}}])},204202,588233,e=>{"use strict";var t=e.i(363710);async function r(e,{signal:n}={}){return new Promise((r,o)=>{if(n?.aborted)return void o((0,t.getAbortError)(n));let a=()=>n?.removeEventListener("abort",s),i=setTimeout(()=>{a(),r()},e),s=()=>{clearTimeout(i),a(),o((0,t.getAbortError)(n))};n?.addEventListener("abort",s,{once:!0})})}e.s(["wait",0,r],588233),e.s(["withRetry",0,function(e,{delay:n=100,retryCount:o=2,shouldRetry:a=()=>!0,signal:i}={}){return new Promise((s,l)=>{let c=async({count:u=0}={})=>
684{if(i?.aborted)return void l((0,t.getAbortError)(i));let d=async({error:e})=>{let t="function"==typeof n?n({count:u,error:e}):n;if(t)try{await r(t,{signal:i})}catch(e){l(e);return}c({count:u+1})};try{let t=await e();s(t)}catch(e){if(i?.aborted)return void l((0,t.getAbortError)(i));if((0,t.isAbortError)(e))return void l(e);if(u<o&&await a({count:u,error:e}))return d({error:e});l(e)}};c()})}],204202)},984534,e=>{"use strict";var t=e.i(363710);e.s(["withTimeout",0,function(e,{errorInstance:r=Error("timed out"),timeout:n,signal:o}){return new Promise((a,i)=>{(async()=>{let s,l=new AbortController;try{n>0&&(s=setTimeout(()=>{o?l.abort():i(r)},n)),a(await e({signal:l?.signal||null}))}catch(e){if(l?.signal.aborted&&(0,t.isAbortError)(e))return void i(r);i(e)}finally{clearTimeout(s)}})()})}])},34888,e=>{"use strict";e.s(["stringify",0,(e,t,r)=>JSON.stringify(e,(e,r)=>{let n="bigint"==typeof r?r.toString():r;return"function"==typeof t?t(e,n):n},r)])},184228,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(380744);let o={br_mobile:(0,t.jsx)("br",{className:"mobile"},"br-mobile"),br_desktop:(0,t.jsx)("br",{className:"desktop"},"br-desktop"),br:(0,t.jsx)("br",{},"br")},a=e=>e.map((e,t)=>r.isValidElement(e)?r.cloneElement(e,{key:`${e.key||"part"}-${t}`}):e);e.s(["default",0,({id:e,values:r,username:i,...s})=>(0,t.jsx)(n.FormattedMessage,{id:e,values:{...o,...r,username:i},...s,children:a})],184228)}]); 685 686//# debugId=48435381-b6fc-f0f4-e143-921fa3906af7
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.