PageSourceSearch

https://www.mieum.kr/static/js/3409.78e393a8.chunk.js

js mieum.kr collected 2026-10-03 21:18:01 UTC 2,549 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkshop_react_web=self.webpackChunkshop_react_web||[]).push([[3409],{80468:(t,e,n)=>{n.d(e,{A:()=>d});n(65043);var a=n(39263),o=n(97605),s=n(399),c=n(59116),i=n(92633),r=n(35509),l=n(70579);const d=t=>{const{modal:e,setModal:n,description:d,caption:p,onSubmit:u,isNestedModal:h,btnText:x}=t;(0,i.A)(e,h);const g=()=>{n(!1)};return(0,l.jsx)(l.Fragment,{children:e?(0,l.jsx)(a.hE,{onClick:g,children:(0,l.jsxs)(a.lT,{padding:"32px 16px 16px",onClick:t=>t.stopPropagation(),children:[(0,l.jsxs)(o.pT,{direction:"column",gap:"8px",padding:p?"0 16px 24px":"0 0 24px",children:[(0,l.jsx)(s.V9,{fontSize:c.$N.size18,fontWeight:c.sO.semiBold,align:"center",style:{whiteSpace:"pre-wrap"},children:d}),p&&(0,l.jsx)(s.x5,{color:"var(--color-gray-400)",fontWeight:c.sO.medium,align:"center",style:{whiteSpace:"pre-wrap"},children:p})]}),(0,l.jsx)(r.oT,{onClick:()=>u?u():g(),children:null!==x&&void 0!==x?x:"\ud655\uc778"})]})}):""})}},78127:(t,e,n)=>{n.d(e,{FK:()=>s,ZR:()=>i,xW:()=>c});var a=n(54451),o=n(69835);const s=async t=>{const{data:e}=await o.A.post("/authentication/nice-intc/auth-url",t);return e.data},c=async t=>{const{data:e}=await o.A.post("/authentication/nice-intc/result",t);return e.data},i=async t=>(await a.A.post("/users/apple/authorization",t)).data},53409:(t,e,n)=>{n.r(e),n.d(e,{default:()=>h});var a=n(65043),o=n(73216),s=n(60349),c=n(52126),i=n(9970),r=n(80468),l=n(33196),d=n(47097),p=n(78127);var u=n(70579);const h=()=>{const t=(0,o.Zp)(),e=new URLSearchParams(window.location.search),n=e.get("id_token"),h=e.get("code"),x=(0,c.A)((t=>t.login)),{loginSuccess:g}=(0,l.y)(),{mutate:m}=(0,s.$)(),{mutateAsync:w}=(0,d.n)({mutationFn:t=>(0,p.ZR)(t)}),[k,y]=(0,a.useState)(!1);return(0,a.useEffect)((()=>{(async()=>{if(h&&n)try{const e=await w({code:h,idToken:n});e&&m({appleAuthorizationValue:e},{onSuccess:t=>{x(t.accessToken,t.refreshToken,"local"),g()},onError:n=>{"0021"===(null===n||void 0===n?void 0:n.code)?t("/signupsns",{state:{id_token:e,snsType:"APPLE"},replace:!0}):y(!0)}})}catch(e){console.error(e,"error"),y(!0)}})()}),[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(i.A,{}),(0,u.jsx)(r.A,{modal:k,setModal:y,description:"E01 \uc624\ub958\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \ub098\uc911\uc5d0 \ub2e4\uc2dc \uc2dc\ub3c4\ud574 \uc8fc\uc138\uc694.",onSubmit:()=>t(-1)})]})}},60349:(t,e,n)=>{n.d(e,{$:()=>c,T:()=>s});var a=n(47097),o=n(13241);const s=()=>(0,a.n)({mutationFn:t=>(0,o.U5)(t)}),c=()=>(0,a.n)({mutationFn:t=>(0,o.Ik)(t)})}}]);
2//# sourceMappingURL=3409.78e393a8.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.