1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];if(null!=a)for(var t in a)a.hasOwnProperty(t)&&(e[t]=a[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:myfans-web":!0});var r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5c0352f2-b6bb-4880-906a-8e9bd3044932",e._sentryDebugIdIdentifier="sentry-dbid-5c0352f2-b6bb-4880-906a-8e9bd3044932")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5995],{19316:(e,r,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/step2",function(){return a(32700)}])},32700:(e,r,a)=>{"use strict";a.r(r),a.d(r,{__N_SSG:()=>j,default:()=>N});var t=a(15383),l=a(68432),n=a.n(l),s=a(99689),i=a(23245),d=a(14343),o=a(72705),u=a(84611),c=a(39155),f=a(17506),h=a(38327),y=a(92447),m=a(36182),x=a(33973),p=a(99005),_=a(99437),g=a(19095),b=a(18881),w=a(35528),v=a(27325),j=!0;function N(){let e=(0,s.useRouter)(),{getLocaledPath:r}=(0,w.Lh)(),{t:a}=(0,w.Bd)(),{enqueueSnackbar:l}=(0,i.dh)(),{control:j,handleSubmit:N,setValue:k}=(0,o.mN)(),S=e.query,{oauth_uid:E,email:I,name:M}=S;(0,d.useEffect)(()=>{k("name",M||""),k("email",I||"")},[M,I,k]);let[T,$]=(0,d.useState)(!1),D=async()=>{let e=await (0,b.cY)(b.bS);e?(await (0,b.UI)(b.bS),window.location.href=r(`${e}`,{redirect:!0})):window.location.href=r((0,v._)(h.y.$url()),{redirect:!0})},O=async r=>{$(!0);try{let{oauth_uid:a,oauth_provider:t,oauth_token:n,oauth_token_secret:s}=S,i=await (0,b.cY)(b.jV),d=(0,y.UJ)(),o=(0,c.gZh)(),{data:f,error:h}=await u.XGd({name:r.name,email:r.email,oauth_uid:a,oauth_provider:t,oauth_token:n,oauth_token_secret:s,advertise_id:i,locale:e.locale,registration_entry_type:o??void 0,...d||{}});h?l((0,x.u1)(h),{variant:"error"}):f&&((0,m.O5)(f.token,60),(0,p.Sy)({userId:f.id}),(0,_.h)({userId:f.id,registrationEntryType:o??void 0}),(0,p.Zu)(),await (0,g.y)(2e3),D())}catch(e){l(a("使ã«å¤±æãã¾ãããããä¸åº¦å
¥åå
容ã確èªãã¦ãéããã¦ãã ããã"),{variant:"error"})}finally{$(!1)}},P=({children:e,href:r})=>(0,t.jsx)(n(),{className:"text-link underline hover:underline active:underline",href:r,target:"_blank",children:e});return E?(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-10 bg-white p-6",children:[(0,t.jsx)(f.guG,{}),(0,t.jsxs)("form",{className:"flex w-full flex-col gap-10",onSubmit:N(O),children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(o.xI,{name:"name",control:j,defaultValue:"",rules:{required:a("ååãå
¥åãã¦ãã ããã")},render:({field:e,fieldState:{error:r}})=>(0,t.jsx)(f.pde,{...e,placeholder:a("åå"),variant:"outlined",fullWidth:!0,margin:"normal",type:"name",error:!!r,helperText:r?.message,ref:null})}),(0,t.jsx)(o.xI,{name:"email",control:j,rules:{required:a("ã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ããã"),pattern:{value:/^\S+@\S+$/i,message:a("æ£ããã¡ã¼ã«ã¢ãã¬ã¹ãå
¥åãã¦ãã ããã")}},render:({field:e,fieldState:{error:r}})=>(0,t.jsx)(f.pde,{...e,placeholder:a("ã¡ã¼ã«ã¢ãã¬ã¹"),variant:"outlined",fullWidth:!0,margin:"normal",error:!!r,helperText:r?.message,ref:null})})]}),(0,t.jsx)(f.$nd,{fullWidth:!0,loading:T,size:"large",type:"submit",variant:"contained",children:a("ç»é²")})]}),(0,t.jsx)("div",{className:"flex flex-col items-center gap-3",children:(0,t.jsx)("div",{className:"whitespace-break-spaces text-center text-xs/[1.8] text-desc",children:(0,t.jsx)(w.x6,{i18nKey:"å種è¦ç´ç¢ºèªæ¡å
",components:{terms:(0,t.jsx)(P,{href:h.y.terms.$url()}),privacy:(0,t.jsx)(P,{href:h.y.privacy.$url()}),trade:(0,t.jsx)(P,{href:h.y.trade.$url()})}})})})]}):(0,t.jsx)(t.Fragment,{})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=19316)),_N_E=e.O()}]);
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.