PageSourceSearch

https://build-assets.static.wrtn.ai/login-fe/prod/main-arm64-5422b…/pages/find/apple-63bc3f5f801b15ab.js

js wrtn.ai collected 2026-10-01 14:11:26 UTC 4,136 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9676],{1548:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a=r(11493)._},11493:(e,t,r)=>{"use strict";r.d(t,{_:()=>x});var a=r(36868),c=r(53239),n=r(62490),i=r(15340),o=r(55214),d=r(10331),l=r(64297),s=r(34713);let p=(0,c.createContext)({isAppleMatch:!1,isLoading:!1}),u=e=>{let{children:t}=e,[r,u]=(0,c.useState)(!1),[h,_]=(0,c.useState)(!1),v=(0,d._$)("NEXT_PUBLIC_AUTH_SERVER_URL"),g=(0,l.rd)(),{isAuth:y,isLoading:f}=(0,i.A)(),w=(0,o.Ri)("access_token");return(0,c.useEffect)(()=>{y&&w?(_(!0),s.A.get("".concat(v,"/v2/user/provider"),{headers:{Authorization:"Bearer ".concat(w)}}).then(e=>{if(e.data&&e.data.includes("apple"))u(!0);else throw Error("애플 계정 연동 안되어있음")}).catch(()=>{(0,n.dXc)("애플 계정으로 로그인 해주세요"),g.replace("/")})):f||g.replace("/")},[y,w,f]),(0,a.Y)(p.Provider,{value:{isAppleMatch:r,isLoading:h},children:t})};var h=r(32417),_=r(87952),v=r(80832),g=r(27117),y=r(99962);let f=()=>{let[e,t]=(0,c.useState)(!1),[r,i]=(0,c.useState)(""),{generateCode:p,verifyCode:u}=(()=>{let e=(0,d._$)("NEXT_PUBLIC_AUTH_SERVER_URL"),t=(0,o.Ri)("access_token");return{generateCode:async t=>{try{return(await s.A.post("".concat(e,"/v2/recover/apple-generate-code"),{email:t})).data}catch(e){}},verifyCode:async(r,a)=>{try{return(await s.A.post("".concat(e,"/v2/recover/apple-verify-code"),{email:r||"[email protected]",code:a||"123456"},{headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat(t)}})).data}catch(e){}}}})(),[f,w]=(0,c.useState)(""),x=(0,l.rd)();(0,c.useEffect)(()=>{t(!0)},[]);let Y=async()=>{await p(f)?(0,n.dXc)("인증코드가 전송되었습니다."):(0,n.dXc)("인증 메일 전송에 실패했습니다.")},k=async()=>{await u(f,r)?((0,n.dXc)("접수되었습니다.\n 인증 확인 후 연락 드리겠습니다."),x.push("/")):(0,n.dXc)("인증 코드가 올바르지 않습니다.")};return e?(0,a.FD)(_.Tk,{width:"100%",gap:"150px",children:[(0,a.FD)(_.Tk,{width:"100%",gap:"10px",children:[(0,a.Y)(v.Z,{typo:"Body6",color:"text_secondary",children:"이메일"}),(0,a.FD)(_.zt,{width:"100%",gap:"10px",children:[(0,a.Y)(g.a,{height:"44px",p:"10px 20px",backgroundColor:"surface_secondary",borderRadius:"8px",children:(0,a.Y)(y.p,{width:"100%",height:"100%",placeholder:"이메일을 입력해주세요",onChange:e=>w(e.target.value)})}),(0,a.Y)(n.$nd,{variant:"outline",onClick:Y,children:"전송"})]}),(0,a.Y)(v.Z,{typo:"Body6",color:"text_secondary",children:"인증코드"}),(0,a.Y)(g.a,{width:"100%",p:"10px 20px",backgroundColor:"surface_secondary",borderRadius:"8px",children:(0,a.Y)(y.p,{placeholder:"인증코드를 입력해주세요",maxLength:6,onChange:e=>{let t=e.target,r=t.value.replace(/[^0-9]/g,"").slice(0,6);i(r),t.value=r}})})]}),(0,a.Y)(h.P,{onClick:k,children:"제출하기"})]}):null};var w=r(57325);let x=()=>(0,a.Y)(u,{children:(0,a.Y)(f,{})}),Y=e=>{let{children:t}=e;
1return(0,a.Y)(w.G,{headerProps:{title:"Apple 계정 연동",description:""},children:t})};x.getLayout=function(e){return(0,a.Y)(Y,{children:e})}},32417:(e,t,r)=>{"use strict";r.d(t,{P:()=>i});var a=r(36868),c=r(62490),n=r(27117);let i=e=>{let{disabled:t,children:r,onClick:i}=e;return(0,a.Y)(n.a,{position:["fixed","fixed","relative","relative"],left:"0",right:"0",bottom:"0",width:"100%",background:"background_primary",children:(0,a.Y)(c.$nd,{type:"submit",disabled:t,onClick:i||void 0,variant:"default",size:"lg",className:"w-full rounded-none sm:rounded-xl group active:scale-100 sm:active:scale-95",children:(0,a.Y)("span",{className:"duration-200 group-active:scale-95 sm:group-active:scale-100",children:r})})})}},91278:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/find/apple",function(){return r(1548)}])},99962:(e,t,r)=>{"use strict";r.d(t,{p:()=>d});var a=r(18151),c=r(13688),n=r(58404),i=r(77755),o=r(7e3);let d=(0,a.A)("input")(c.Vy,c.Tp,c.yW,c.xe,c.Zp,c.pn,c.PQ,c.G1,{backgroundColor:"inherit"},(0,n.hL)(),(0,n.ev)(),(0,n.IA)(),(0,i.l0)(),(0,n.r4)(),(0,n.Yv)(),(0,n.Zp)(),(0,o.a)())}},e=>{e.O(0,[9394,4713,2229,7325,636,6593,8792],()=>e(e.s=91278)),_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.