PageSourceSearch

https://apm-web.amoremall.com/_next/static/chunks/pages/my/page/recycle/apply-7aec500f684e344f.js

js amoremall.com collected 2026-10-02 06:51:31 UTC 33,003 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7884],{4187:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my/page/recycle/apply",function(){return r(55748)}])},37779:function(e,n,r){"use strict";r.d(n,{r:function(){return c}});var t=r(52322),s=(r(2784),r(34739)),i=r(21997);function c(e){var n=e.isOpen,r=e.setIsOpen,c=e.onClose,a=e.apClickArea;return(0,t.jsx)(s.ZP,{isOpen:n,setIsOpen:r,isShowCloseLayerBtn:!1,actionBtnType:"none",title:"\uc6a9\uae30 \uc218\uac70 \uc2e0\uccad \uc804 \ud544\uc218 \ud655\uc778 \uc0ac\ud56d",bottomComps:(0,t.jsx)("div",{className:"actionBar ",children:(0,t.jsx)("button",{type:"button",className:"btnContained",onClick:function(){r(!1),null===c||void 0===c||c()},"ap-click-area":a,"ap-click-name":"".concat(a,"_\uc6a9\uae30\uc218\uac70\uc2e0\uccad\uc804\ud544\uc218\ud655\uc778\uc0ac\ud56d_\ud31d\uc5c5_\ud655\uc778\ud588\uc5b4\uc694"),"ap-click-data":"",children:"\ud655\uc778\ud588\uc5b4\uc694"})}),webViewFuncArgs:{pageName:"\uc6a9\uae30\uc218\uac70 \uc2e0\uccad",actionBarShow:!1},children:(0,t.jsxs)("ul",{className:"recycle__more__popup__list",children:[(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"recycle__more__popup__title",children:"1"}),(0,t.jsxs)("p",{className:"recycle__more__popup__text",children:["\uc0ac\uc6a9\ud55c \uc6a9\uae30\ub97c \ubaa8\uc544 \ub0b4\uc6a9\ubb3c\uc744 \ube44\uc6b0\uace0",(0,t.jsx)("br",{}),"\uae68\ub057\ud558\uac8c \uc138\ucc99\ud574 \uc8fc\uc138\uc694.",(0,t.jsx)("br",{}),(0,t.jsx)("strong",{children:"\ucd5c\uc18c 10\uac1c \uc774\uc0c1\uc758 \uc6a9\uae30\uac00 \ud544\uc694\ud569\ub2c8\ub2e4."})]}),(0,t.jsx)("div",{className:"recycle__more__popup__image",children:(0,t.jsx)(i.ZP,{src:"".concat("https://apm-web.amoremall.com","/public/resource/mall/png/img/img_recycle_join01.png"),alt:"Image"})})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"recycle__more__popup__title",children:"2"}),(0,t.jsxs)("p",{className:"recycle__more__popup__text",children:[(0,t.jsx)("strong",{children:"\ud55c \uac1c\uc758 \ubc15\uc2a4\uc5d0"}),(0,t.jsx)("br",{}),(0,t.jsx)("strong",{children:"\ucd5c\uc18c 10\uac1c \uc774\uc0c1\uc758 \uc6a9\uae30\ub97c \ub2f4\uc544 \ud3ec\uc7a5"}),"\ud574 \uc8fc\uc138\uc694.",(0,t.jsx)("br",{}),"(\ubc15\uc2a4\uc758 \ud06c\uae30\uac00 \ub108\ubb34 \ud06c\uac70\ub098 \uc791\uc744 \uacbd\uc6b0",(0,t.jsx)("br",{})," \ud30c\uc190\uc758 \uc704\ud5d8\uc774 \uc788\uc2b5\ub2c8\ub2e4.)"]}),(0,t.jsx)("div",{className:"recycle__more__popup__image",children:(0,t.jsx)(i.ZP,{src:"".concat("https://apm-web.amoremall.com","/public/resource/mall/png/img/img_recycle_join02.png"),alt:"Image"})})]}),(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"recycle__more__popup__title",children:"3"}),(0,t.jsxs)("p",{className:"recycle__more__popup__text",children:["\ubc15\uc2a4 \uac89\uba74\uc5d0 ",(0,t.jsx)("strong",{children:"'\uc544\ubaa8\ub808\ubab0 \uc6a9\uae30 \uc218\uac70\u2018"}),"\ub97c",(0,t.jsx)("br",{}),"\uc798 \ubcf4\uc774\uac8c \uc801\uc5b4 \uc8fc\uc138\uc694."]}),(0,t.jsx)("div",{className:"recycle__more__popup__image",children:(0,t.jsx)(i.ZP,{src:"".concat("https://apm-web.amoremall.com","/public/resource/mall/png/img/img_recycle_join03.png"),alt:"Image"})})]})]})})}},65116:function(e,n,r){"use strict";r.d(n,{R:function(){return i}});var t=r(18390),s=r(96738),i=function(){var e=(0,s.sN)(new Date,"DD");return Number(e)>=t.Bn}},55748:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return U},default:function(){return W}});var t=r(52322),s=r(2784),i=r(64157),c=r(27455),a=r(19329),o=r(46697),l=r(11951),d=r(12112),u=r(76613),p=r(20255),h=r(2579),f=r(96738),m=r(76635),_=function(e){var n=e.repAddressInfo,r=e.setRepAddressInfo,i=e.apClickArea,c=(0,s.use
1State)(!1),a=c[0],_=c[1],v=(0,d.Z)().addressList;(0,s.useEffect)((function(){r(null===v||void 0===v?void 0:v.filter((function(e){return e.addressType===u.wc.Represent}))[0])}),[v]);var y,x=(0,s.useCallback)((function(e,n,t){var s={name:e.name,phoneNo:e.phoneNo,zip:e.zip,address:e.address,addressDetail:e.addressDetail,addressType:e.isRepAddress?u.wc.Represent:t,addressSn:n};r(s),setTimeout((function(){return _(!1)}),0)}),[r]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"recycleOrder__information",children:[(0,t.jsxs)("h2",{className:"recycleOrder__title",children:[(0,t.jsx)("span",{className:"recycleOrder__title__text",children:"\uc6a9\uae30 \uc218\uac70\uc9c0 \uc815\ubcf4"}),(0,t.jsx)(o.ZP,{title:(0,m.isEmpty)(n)?"\ub4f1\ub85d":"\ubcc0\uacbd",className:"recycleOrder__title__address-button",onClick:function(){_(!0)},gtmTag:{apClickArea:i,apClickName:"".concat(i,"_\uc218\uac70\uc9c0\uc815\ubcf4\ub4f1\ub85d\ubcc0\uacbd")}})]}),(0,m.isEmpty)(n)?(0,t.jsx)("button",{type:"button",className:"recycleOrder__information__button",children:"\uc218\uac70\uc9c0\ub97c \ucd94\uac00\ud574\uc8fc\uc138\uc694"}):(0,t.jsxs)("div",{className:"recycleOrder__information__delivery",children:[(null===n||void 0===n?void 0:n.addressType)===u.wc.Represent&&(0,t.jsx)(h.Z,{content:u.Hd[u.wc.Represent],contained:!0,pointLightBlueType2:!0}),(null===n||void 0===n?void 0:n.addressType)===u.wc.Recent&&(0,t.jsx)(h.Z,{content:u.Hd[u.wc.Recent]}),(null===n||void 0===n?void 0:n.addressType)===u.wc.Hq&&(0,t.jsxs)("span",{className:"flag contained pointLightBlueType2",children:["\ubcf8\uc0ac\ubc30\uc1a1 ",null!==(y=p.X[n.addressSn])&&void 0!==y?y:""]}),(0,t.jsx)("span",{className:"recycleOrder__information__delivery__name",children:null===n||void 0===n?void 0:n.name}),(0,t.jsx)("span",{className:"recycleOrder__information__delivery__number",children:(0,f.vu)(null===n||void 0===n?void 0:n.phoneNo)}),(0,t.jsxs)("span",{className:"recycleOrder__information__delivery__address",children:["(",null===n||void 0===n?void 0:n.zip,") ",null===n||void 0===n?void 0:n.address," ",null===n||void 0===n?void 0:n.addressDetail]})]})]}),a&&(0,t.jsx)(l.Z,{isOpen:a,onClose:function(){_(!1)},onSubmit:x,deliveryType:u.lF.Recycle,webViewFuncArgs:{pageName:"subscriptionSheet",isShowPageComponent:{header:!1,actionBar:!1}}})]})}
1,v=r(70865),y=r(96670),x=r(18390);function g(e){var n=e.openMustCheckPopup,r=e.apClickArea,i=e.onAllTermsCheckedChange,c=(0,s.useState)(x.mh),a=c[0],o=c[1],l=(0,s.useMemo)((function(){return a.every((function(e){return e.checked}))}),[a]);return(0,s.useEffect)((function(){i(l)}),[l,i]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"recycleOrder__ageement",children:[(0,t.jsxs)("h2",{className:"recycleOrder__title",children:[(0,t.jsx)("span",{className:"recycleOrder__title__text",children:"[\ud544\uc218] \uc218\uac70 \uc2e0\uccad \uc804 \ud655\uc778 \uc0ac\ud56d"}),(0,t.jsx)("button",{type:"button",className:"recycleOrder__title__button",onClick:n,"ap-click-area":r,"ap-click-name":"".concat(r,"_\uc6a9\uae30\uc218\uac70\uc2e0\uccad\uc804\ud544\uc218\ud655\uc778\uc0ac\ud56d"),children:"\uc790\uc138\ud788 \ubcf4\uae30"})]}),(0,t.jsx)("ul",{className:"recycleOrder__ageement__list",children:a.map((function(e){return(0,t.jsxs)("li",{className:"recycleOrder__ageement__list__item",children:[(0,t.jsx)("input",{type:"checkbox",id:e.id,className:"recycleOrder__checkbox",checked:e.checked,onChange:function(n){return r=n.target.checked,t=e.id,void o((function(e){return e.map((function(e){return e.id===t?(0,y.Z)((0,v.Z)({},e),{checked:r}):e}))}));var r,t}}),(0,t.jsx)("label",{htmlFor:e.id,className:"recycleOrder__checkboxLabel",children:e.contents})]},e.id)}))})]}),(0,t.jsxs)("div",{className:"orderInfoWrap",children:[(0,t.jsx)("div",{className:"orderInfoHeader",children:(0,t.jsx)("h2",{className:"head",children:"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1 \ubc0f \uc774\uc6a9 \uc548\ub0b4"})}),(0,t.jsxs)("div",{className:"recycleOrder__privacy",children:[(0,t.jsx)("p",{className:"recycleOrder__privacy-txt",children:"(\uc8fc) \uc544\ubaa8\ub808\ud37c\uc2dc\ud53d\uc740 \uc544\ubaa8\ub808\ubab0 \uc6a9\uae30\uc218\uac70 \uc11c\ube44\uc2a4 \uc81c\uacf5\uc744 \uc704\ud558\uc5ec \uac1c\uc778\uc815\ubcf4 \ubcf4\ud638\ubc95 \uc81c15\uc870 \uc81c1\ud56d \uc81c4\ud638\uc5d0 \ub530\ub77c \uc11c\ube44\uc2a4 \uacc4\uc57d\uc758 \uc774\ud589\uc744 \uc704\ud574 \ub2e4\uc74c\uacfc \uac19\uc774 \uac1c\uc778\uc815\ubcf4\ub97c \uc218\uc9d1 \ubc0f \uc774\uc6a9\ud569\ub2c8\ub2e4."}),(0,t.jsxs)("table",{className:"horiTable bg--blue",children:[(0,t.jsx)("caption",{children:"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1/\uc774\uc6a9 \ub3d9\uc758"}),(0,t.jsxs)("colgroup",{children:[(0,t.jsx)("col",{style:{width:"106px"}}),(0,t.jsx)("col",{})]}),(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"row",children:"\uc218\uc9d1\ud56d\ubaa9"}),(0,t.jsx)("td",{children:"\uc774\ub984, \ud734\ub300\ud3f0\ubc88\ud638, \uc8fc\uc18c"})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"row",children:"\uc218\uc9d1 \ubc0f \uc774\uc6a9\ubaa9\uc801"}),(0,t.jsx)("td",{children:"\uc6a9\uae30\uc218\uac70 \uc2e0\uccad\uc790 \uc5f0\ub77d \ubc0f \uc218\uac70\uc9c0 \ubc29\ubb38"})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{scope:"row",children:"\ubcf4\uc720 \ubc0f \uc774\uc6a9\uae30\uac04"}),(0,t.jsx)("td",{children:(0,t.jsx)("b",{children:"\uc6a9\uae30\uc218\uac70 \uc644\ub8cc \ud6c4 30\uc77c\uae4c\uc9c0"})})]})]})]})]})]}),(0,t.jsxs)("ul",{className:"recycleOrder__notice",children:[(0,t.jsx)("li",{children:"\uc8fc\uc18c/\ud734\ub300\uc804\ud654 \ubc88\ud638\uac00 \ubd88\uba85\ud655\ud560 \uacbd\uc6b0 \uc218\uac70 \uc2e0\uccad\uc774 \ucde8\uc18c\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4."}),(0,t.jsx)("li",{children:"\uc6a9\uae30 \uc218\ub7c9\uc774 \ubd80\uc871\ud558\uac70\ub098 \ub2e4\ub978 \uc6a9\uae30\uac00 \ud3ec\ud568\ub418\uc5b4 \uc788\uc73c\uba74 \uc218\uac70 \uc2e0\uccad\uc774 \ucde8\uc18c\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4."})]})]})}var j=r(98788),b=r(42838),N=r(87394),C=r(22970),w=r(78321),A=r(61305),S=r(70338),k=r(8446),O={allowedExtensions:["jpg","jpeg","png"],limitSize:10485760},R=(0,s.forwardRef)((function(e,n){var r=e.openCollectableItemPopup,a=e.onImageChange,o=e.apClickArea;R.displayName="RecycleImage";var l=(0,i.v9)(c.Uw),d=(0,i.v9)(c.oR),u=(0,i.v9)(c.lE),p=(0,A.Z)(),h=(0,s.useState)(null),f=h[0],m=h[1],_=(0,s.useState)(!1),v=_[0],y=_[1],x=(0,s.useRef)(null),g=(0,s.useRef)(null);(0,s.useImperativeHandle)(n,(function(){return{getCurrentFile:function(){return g.current}}}),[]);var E=function(){d?(0,S.FF)(S.sx.REQUEST_CAMERA_PERMISSION)():u&&(0,S.FF)(S.sx.CHECK_CAMERA_PERMISSION)()},T=function(){x.current&&x.current.click()},Z=function(){var e=(0,j.Z)((function(e){var n,r,t,s,i,c,o,l,d,u;return(0,C.__generator)(this,(function(h){switch(h.label){case 0:if(!(t=null===(n=e.target.files)||void 0===n?void 0:n[0]))return[2];if(v)return[2];if(s=(null===(r=t.name.split(".").pop())||void 0===r?void 0:r.toLowerCase())||"",i=t.size,!O.allowedExtensions.includes(s)||i>O.limitSize)return p.toast("\uc6a9\ub7c9 ".concat(O.limitSize/1048576,"MB \uc774\ud558\uc758 JPG, JPEG, PNG \ud30c\uc77c\ub9cc \ub4f1\ub85d \uac00\ub2a5\ud569\ub2c8\ub2e4.")),[2];c=t.type||("png"===s?"image/png":"image/jpeg"),o=t.type?t:new File([t],t.name,{type:c}),y(!0),h.label=1;case 1:return h.trys.push([1,3,4,5]),[4,(0,w.Z)(o,{maxSizeMB:3,maxWidthOrHeight:1024,useWebWorker:!0,fileType:c})];case 2:return l=h.sent(),g.current=l,d=URL.createObjectURL(l),a({fileName:t.name,fileSize:l.size,mimeType:l.type,image:d}),m(d),[3,5];case 3:return u=h.sent(),k.Z.error((0,b.Z)(u,Error)?u:new Error(String(u)),"[RecycleImage] imageCompression error"),p.toast("\uc774\ubbf8\uc9c0 \ucca8\ubd80\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.<br/>\uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc774\uc6a9\ud574\uc8fc\uc138\uc694."),[3,5];case 4:return y(!1),[7];case 5:return[2]}}
1))}));return function(n){return e.apply(this,arguments)}}(),F=function(){m(null),g.current=null,a(null),x.current&&(x.current.value="")};return(0,s.useEffect)((function(){if(d){var e=function(e){var n=e.detail;"Y"===(0,N.Z)(Array.isArray(n)?n:[],1)[0]&&T()};return(0,S.X$)(S.sx.CAMERA_PERMISSION_CHOICE_RESULT,e),function(){(0,S.Ot)(S.sx.CAMERA_PERMISSION_CHOICE_RESULT,e)}}if(u){var n=function(e){var n=e.detail;"N"===(0,N.Z)(Array.isArray(n)?n:[],1)[0]?(0,S.FF)(S.sx.REQUEST_CAMERA_PERMISSION)():T()};return(0,S.X$)(S.sx.CHECK_CAMERA_PERMISSION_RESULT,n),function(){(0,S.Ot)(S.sx.CHECK_CAMERA_PERMISSION_RESULT,n)}}}),[d,u]),(0,s.useEffect)((function(){return function(){f&&URL.revokeObjectURL(f)}}),[f]),(0,t.jsxs)("div",{className:"recycleOrder__file",children:[(0,t.jsxs)("h2",{className:"recycleOrder__title",children:[(0,t.jsx)("span",{className:"recycleOrder__title__text",children:"\uc0ac\uc9c4\ub4f1\ub85d"}),(0,t.jsx)("button",{type:"button",className:"recycleOrder__title__button",onClick:r,"ap-click-area":o,"ap-click-name":"".concat(o,"_\uc218\uac70\uac00\ub2a5\ud488\ubaa9\ubcf4\uae30"),children:"\uc218\uac70\uac00\ub2a5 \ud488\ubaa9"})]}),(0,t.jsx)("div",{className:"recycleOrder__file__add",children:f?(0,t.jsxs)("div",{className:"recycle__attachFile__image",children:[(0,t.jsxs)("picture",{children:[(0,t.jsx)("source",{srcSet:f}),(0,t.jsx)("img",{src:f,onError:function(){p.toast("\uc774\ubbf8\uc9c0 \ucca8\ubd80\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.<br/>\uc7a0\uc2dc \ud6c4 \ub2e4\uc2dc \uc774\uc6a9\ud574\uc8fc\uc138\uc694."),F()},alt:"Image"})]}),(0,t.jsx)("button",{className:"recycle__attachFile__delete",onClick:F,"ap-click-area":o,"ap-click-name":"".concat(o,"_\uc0ac\uc9c4\uc0ad\uc81c"),"ap-click-data":"",children:"\ucca8\ubd80\uc0ad\uc81c"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("label",{className:"recycle__attachFile__label",onMouseDown:function(e){v?null===e||void 0===e||e.preventDefault():l?E():T()},htmlFor:"attachImg",children:[(0,t.jsx)("i",{className:"recycle__attachFile__icon"}),(0,t.jsxs)("strong",{className:"recycle__attachFile__text",children:["\uc0ac\uc9c4 \ucca8\ubd80",(0,t.jsx)("small",{children:"(\ucd5c\ub300 1\uac1c)"})]})]}),(0,t.jsx)("input",{onClick:function(e){e.currentTarget&&(g.current=null,e.currentTarget.value="")},onChange:Z,ref:x,type:"file",accept:"image/jpeg, image/png",className:"blind","ap-click-area":o,"ap-click-name":"".concat(o,"_\uc0ac\uc9c4\ucca8\ubd80"),"ap-click-data":""})]})}),(0,t.jsxs)("ul",{className:"recycleOrder__file__notice",children:[(0,t.jsxs)("li",{children:["\ubc18\ub0a9\ud558\uc2e4 \uc6a9\uae30 ",(0,t.jsx)("em",{children:"10\uac1c \ubaa8\ub450 \ud3ec\ud568"}),"\ub41c \uc0ac\uc9c4\uc744 \ucca8\ubd80\ud574\uc8fc\uc138\uc694."]}),(0,t.jsx)("li",{children:"\uc6a9\ub7c9 10M \uc774\ud558 JPG, JPEG, PNG \ud30c\uc77c\uc758 \uc0ac\uc9c4 \ub4f1\ub85d \uac00\ub2a5"})]})]})})),E=r(34739);function T(e){var n=e.isOpen,r=e.setIsOpen,s=e.apClickArea;return(0,t.jsx)(E.ZP,{isOpen:n,setIsOpen:r,isShowCloseLayerBtn:!1,actionBtnType:"none",title:"\uc218\uac70 \uac00\ub2a5 \ud488\ubaa9 \uc548\ub0b4",bottomComps:(0,t.jsx)("div",{className:"actionBar",children:(0,t.jsx)("button",{type:"button",className:"btnContained",onClick:function(){return r(!1)},"ap-click-area":s,"ap-click-name":"".concat(s,"_\uc218\uac70\uac00\ub2a5\ud488\ubaa9\ubcf4\uae30_\ud31d\uc5c5_\ud655\uc778\ud588\uc5b4\uc694"),"ap-click-data":"",children:"\ud655\uc778\ud588\uc5b4\uc694"})}),webViewFuncArgs:{pageName:"\uc6a9\uae30\uc218\uac70 \uc2e0\uccad",actionBarShow:!1},children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"popPara",children:["\uc544\ubaa8\ub808\ud37c\uc2dc\ud53d \uc804 \ube0c\ub79c\ub4dc \ub0b4 \ud50c\ub77c\uc2a4\ud2f1/\uc720\ub9ac \uc7ac\uc9c8\uc758 \ud654\uc7a5\ud488 \ubcf8\ud488 \uc6a9\uae30\ub97c \uc218\uac70\ud569\ub2c8\ub2e4.",(0,t.jsx)("br",{}),"(\ub2e8, \uc0d8\ud50c/\uc99d\uc815\uc6a9/\ud14c\uc2a4\ud130 \ubc0f \uc7ac\ud65c\uc6a9\uc774 \uc5b4\ub824\uc6b4 \ud488\ubaa9\ub4e4\uc740 \uc218\uac70 \ub300\uc0c1 \ud488\ubaa9\uc5d0\uc11c \uc81c\uc678\ub429\ub2c8\ub2e4.)"]}),(0,t.jsxs)("table",{className:"horiTable recycle__info__popup__table",children:[(0,t.jsx)("caption",{children:"\uc218\uac70 \uac00\ub2a5/\ubd88\uac00 \ud488\ubaa9"}),(0,t.jsx)("colgroup",{children:(0,t.jsx)("col",{width:"22%"})}),(0,t.jsxs)("tbody",{children:[(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"alignCenter",children:"\uac00\ub2a5\uc7ac\uc9c8"}),(0,t.jsx)("td",{children:"\ud50c\ub77c\uc2a4\ud2f1/\uc720\ub9ac"})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"alignCenter",children:"\uac00\ub2a5\ud488\ubaa9"}),(0,t.jsxs)("td",{children:["- \uc2a4\ud0a8\ucf00\uc5b4 (\uc2a4\ud0a8/\ub85c\uc158/\ud06c\ub9bc/\ud074\ub80c\uc9d5 \ub4f1)",(0,t.jsx)("br",{}),"- \uc0dd\ud65c\uc6a9\ud488 (\ud5e4\uc5b4/\ubc14\ub514/\ud578\ub4dc\ucf00\uc5b4 \ub4f1)",(0,t.jsx)("br",{}),"- \uba54\uc774\ud06c\uc5c5 \uc77c\ubd80 (\ucfe0\uc158/\ud329\ud2b8)",(0,t.jsx)("br",{}),"- \ud5a5\uc218"]})]}),(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{className:"alignCenter",children:"\ubd88\uac00\ud488\ubaa9"}),(0,t.jsxs)("td",{children:["- \uba54\uc774\ud06c\uc5c5",(0,t.jsx)("br",{}),"- \uce58\uc57d/\uce6b\uc194/\uc5fc\ubaa8\uc81c",(0,t.jsx)("br",{}),"- \uc18c\ud488&\ub3c4\uad6c",(0,t.jsx)("br",{}),"- \ubdf0\ud2f0\ud478\ub4dc"]})]})]})]})]})})}var Z=r(37779),F=r(47842),P=r(5632),I=r(41765),B=r(14625),L=r(98256),M=function(){var e=(0,I.Z)(),n=(0,P.useRouter)(),r=(0,B.Z)(),t=(0,s.use
1State)(!1),i=t[0],c=t[1],a=(0,s.useCallback)(function(){var t=(0,j.Z)((function(t){var s,a,o,l,d,u;return(0,C.__generator)(this,(function(p){switch(p.label){case 0:if(i)return k.Z.error(void 0,"[applyRecycle] api \uc911\ubcf5 \ud638\ucd9c \ubc29\uc9c0"),[2];p.label=1;case 1:return p.trys.push([1,5,6,7]),c(!0),e.isLoggedIn?[4,(0,L.fQ)(r,t)]:[3,3];case 2:return a=p.sent(),[3,4];case 3:a={data:{result:!1}},p.label=4;case 4:return(null===(s=a)||void 0===s?void 0:s.data.result)?n.replace("".concat(x.qN.APPLY_RESULT,"?applyResultType=success")):(k.Z.debug("[applyRecycle] fetchRecycleApply api \uc5d0\ub7ec"),n.replace("".concat(x.qN.APPLY_RESULT,"?applyResultType=error"))),[3,7];case 5:return o=p.sent(),d=null===o||void 0===o||null===(l=o.response)||void 0===l?void 0:l.data,u=Array.from(t.entries()).reduce((function(e,n){var r=(0,N.Z)(n,2),t=r[0],s=r[1];return(0,y.Z)((0,v.Z)({},e),(0,F.Z)({},t,(0,b.Z)(s,File)?"[File] ".concat(s.name):s))}),{}),"EBOL200"===(null===d||void 0===d?void 0:d.error)?(k.Z.error(o,"[applyRecycle] \uc218\uac70\ubd88\uac00\uae30\uac04 \uc5d0\ub7ec \ubc1c\uc0dd",{errorCode:d.error,message:d.message,formDataEntries:u}),n.replace("".concat(x.qN.APPLY_RESULT,"?applyResultType=dateError"))):(k.Z.error(o,"[applyRecycle] \uc608\uae30\uce58 \ubabb\ud55c \uc5d0\ub7ec \ubc1c\uc0dd",{error:null===d||void 0===d?void 0:d.error,message:null===d||void 0===d?void 0:d.message,formDataEntries:u}),n.replace("".concat(x.qN.APPLY_RESULT,"?applyResultType=error"))),[3,7];case 6:return c(!1),[7];case 7:return[2]}}
1))}));return function(e){return t.apply(this,arguments)}}(),[i,e.isLoggedIn,r]);return{applyRecycle:a}},D=r(65116);function z(e){var n=e.apClickArea,r=(0,A.Z)(),i=M().applyRecycle,c=(0,s.useState)(),a=c[0],o=c[1],l=(0,s.useState)(null),d=l[0],u=l[1],p=(0,s.useRef)(null),h=(0,s.useRef)(null),f=(0,s.useState)(!1),m=f[0],v=f[1],y=(0,s.useState)(!1),j=y[0],b=y[1],N=(0,s.useState)(!1),C=N[0],w=N[1],S=(0,s.useMemo)((function(){return{name:null===a||void 0===a?void 0:a.name,phoneNumber:null===a||void 0===a?void 0:a.phoneNo,hasPhotoFile:d?"Y":null}}),[d,a]),O=(0,s.useMemo)((function(){return Object.values(S).every((function(e){return!!e}))&&m}),[m,S]),E=function(){var e;if(a&&d){if(function(e){if(!e||!/^\d{5}$/.test(e)){var n,t,s=null!==(t=null===e||void 0===e?void 0:e.length)&&void 0!==t?t:0;return k.Z.error(null,"\uc6b0\ud3b8\ubc88\ud638 \uc720\ud6a8\uc131 \uac80\uc0ac \uc2e4\ud328",{zipcode:e,zipcodeLength:s}),r.toast("\uc6b0\ud3b8\ubc88\ud638\uac00 \uc785\ub825\ub418\uc9c0 \uc54a\uc558\uac70\ub098 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc740 \ud615\uc2dd(".concat(s,"\uc790\ub9ac)\uc785\ub2c8\ub2e4.<br />\uc815\ud655\ud55c \ubc30\uc1a1\uc744 \uc704\ud574 \uc6b0\ud3b8\ubc88\ud638\ub97c \ud655\uc778\ud574 \uc8fc\uc138\uc694")),null===(n=h.current)||void 0===n||n.scrollIntoView({behavior:"smooth",block:"center"}),!1}return!0}(a.zip)){var n=null===(e=p.current)||void 0===e?void 0:e.getCurrentFile();if(n){var t=new FormData;t.append("photoFile",n);var s={name:a.name,phoneNumber:a.phoneNo,zipcode:a.zip,baseAddr:a.address,detailAddr:a.addressDetail,privacyAgreeYN:"Y",gatherConditionAgreeYN:"Y"};t.append("json",new Blob([JSON.stringify(s)],{type:"application/json"})),i(t)}else r.toast("\uc774\ubbf8\uc9c0 \ud30c\uc77c\uc744 \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. \ub2e4\uc2dc \ucca8\ubd80\ud574 \uc8fc\uc138\uc694.")}}else r.toast("\uc785\ub825 \uc815\ubcf4\uac00 \ub204\ub77d\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ubaa8\ub4e0 \ud56d\ubaa9\uc744 \ud655\uc778\ud574 \uc8fc\uc138\uc694.")};return(0,t.jsxs)("div",{className:"recycleOrder",children:[(0,t.jsx)("div",{ref:h,children:(0,t.jsx)(_,{repAddressInfo:a,setRepAddressInfo:o,apClickArea:n})}),(0,t.jsx)(R,{ref:p,openCollectableItemPopup:function(){return w(!0)},onImageChange:u,apClickArea:n}),(0,t.jsx)(g,{openMustCheckPopup:function(){return b(!0)},apClickArea:n,onAllTermsCheckedChange:v}),(0,t.jsx)(T,{isOpen:C,setIsOpen:w,apClickArea:n}),(0,t.jsx)(Z.r,{isOpen:j,setIsOpen:b,apClickArea:n}),(0,t.jsx)("div",{className:"actionBar ",children:(0,t.jsx)("button",{type:"button",className:"btnContained",disabled:!O,onClick:function(){(0,D.R)()?r.alert("\ub9e4\uc6d4 ".concat(x.Bn,"\uc77c~\ub9d0\uc77c \ub3d9\uc548\uc740 \uc218\uac70 \uc2e0\uccad\uc774\n\ubd88\uac00\ud569\ub2c8\ub2e4."),{confirmButton:{onOverlayClick:{executeDefaultAction:!0}}}):r.confirm((0,t.jsx)("div",{children:"\uc6a9\uae30 \uc218\uac70\ub97c \uc2e0\uccad\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?"}),{confirmButton:{onClick:E}})},"ap-click-area":n,"ap-click-name":"".concat(n,"_\uc6a9\uae30\uc218\uac70\uc2e0\uccad\ud558\uae30"),children:"\uc6a9\uae30 \uc218\uac70 \uc2e0\uccad \ud558\uae30"})})]})}var H=r(26961);var U=!0,W=function(e){var n,r,o=e.pageLayoutStatus,l=(0,i.v9)(c.Uw),d="\uc6a9\uae30\uc218\uac70\uc2e0\uccad";return(0,s.useEffect)((function(){var e;if(l){window.scrollTo(0,0);var n=function(){(0,S.FF)(S.sx.CHANGE_WEB_STATUS,"\uc6a9\uae30\uc218\uac70 \uc2e0\uccad","showHeader","N")()};return window.addEventListener("focus",n),function(){window.removeEventListener("focus",n)}}null===(e=window.applyPageLayoutStatusInterface)||void 0===e||e.call(window)}),[l]),(0,t.jsx)(a.Z,{headerType:H.Nc.DEFAULT,headerUtils:"none",headerTitle:"\uc6a9\uae30 \uc218\uac70 \uc2e0\uccad",showHeader:null===(n=null===o||void 0===o?void 0:o.showHeader)||void 0===n||n,showActionBar:null!==(r=null===o||void 0===o?void 0:o.showActionBar)&&void 0!==r&&r,showFloatingButton:!1,hasFixedBtn:!0,showFooter:!1,headerGtmTag:{backIcon:{apClickArea:d,apClickName:"".concat(d,"_\uc774\uc804")}},children:(0,t.jsx)(z,{apClickArea:d})})}},11951:function(e,n,r){"use strict";r.d(n,{Z:function(){return A}});var t=r(70865),s=r(96670),i=r(50930),c=r(52322),a=r(2784),o=r(21325),l=r(26438),d=r(68692),u=r(41574),p=r(12112),h=r(91561),f=r(66945),m=r(76613),_=r(98788),v=r(87394),y=r(22970),x=r(64157),g=r(14625),j=r(91497),b=r(8446);var N=r(61305),C=r(70338),w=r(39739);var A=function(e){var n,r,A=e.isOpen,S=e.onClose,k=e.onSubmit,O=e.webViewFuncArgs,R=e.showAddressList,E=void 0===R||R,T=e.showChangeRepCheck,Z=e.showAddCheck,F=e.showHqAddress,P=e.hqRecipientType,I=void 0===P?m.vo.Amorepacific:P,B=e.deliveryType,L=void 0===B?m.lF.Normal:B,M=(0,N.Z)(),D=L===m.lF.Normal?"\ubc30\uc1a1\uc9c0":"\uc218\uac70\uc9c0",z
1=(0,p.Z)({doNotFetch:!E}),H=z.addressList,U=z.update,W=function(e){var n,r=(0,x.oR)(),t=(0,x.I0)(),s=(0,g.Z)(),i=null===(n=r.getState().auth.newMemberInfo)||void 0===n?void 0:n.memberSn,c=(0,a.useState)(),o=c[0],l=c[1],d=(0,a.useCallback)((0,_.Z)((function(){var e,n,r,t,c,a,o;return(0,y.__generator)(this,(function(d){switch(d.label){case 0:if(d.trys.push([0,2,,3]),!i)throw new Error("You are not logged in.");return[4,(0,j.X0)(i,s)];case 1:return r=d.sent(),(null===(e=r.data)||void 0===e||null===(n=e.ordShipAddressExList)||void 0===n?void 0:n.length)&&(t=(0,v.Z)(r.data.ordShipAddressExList,1),c=t[0],a={name:c.recipientName.name1,phoneNo:c.recipientPhoneNo1.phoneNo,zip:c.recipientAddress.zipCode,address:c.recipientAddress.address1,addressDetail:c.recipientAddress.address2,addressSn:c.ordShipAddressSn,addressType:m.wc.Recent},l(a)),[3,3];case 2:return o=d.sent(),b.Z.debug("Failure to get recent shipping address.",o),[3,3];case 3:return[2]}}))})),[i,s,t]);return(0,a.useEffect)((function(){(null===e||void 0===e?void 0:e.doNotFetch)||d()}),[]),{data:o}}({doNotFetch:!E}),V=W.data,G=(0,a.useMemo)((function(){if(H){V&&H.splice(1,0,V);var e=new Set(H);return(0,i.Z)(e)}}),[H,V]),q=(0,a.useState)(),Y=q[0],Q=q[1],J=(0,a.useCallback)((function(e){e&&((null===e||void 0===e?void 0:e.addressType)!==m.wc.Hq||(null===e||void 0===e?void 0:e.deliveryMessage)?null===k||void 0===k||k({name:e.name,phoneNo:e.phoneNo,zip:e.zip,address:e.address,addressDetail:e.addressDetail,isRepAddress:e.addressType===m.wc.Represent,deliveryMessage:e.deliveryMessage},e.addressSn,e.addressType):M.toast("\ubcf8\uc0ac\ubc30\uc1a1\uc740 \ud300\uba85, \uce35\uc218, \uc131\ud568\uc744 \uae30\uc785\ud574\uc8fc\uc138\uc694."))}),[M,k]),X=(0,a.useState)(!1),K=X[0],$=X[1],ee=(0,a.useCallback)((function(){var e;(null!==(e=null===H||void 0===H?void 0:H.length)&&void 0!==e?e:0)>=20?M.toast("\ubc30\uc1a1\uc9c0\ub294 \ucd5c\ub300 20\uac1c\uae4c\uc9c0 \ub4f1\ub85d \uac00\ub2a5\ud569\ub2c8\ub2e4. \uae30\uc874 \ubc30\uc1a1\uc9c0 \uc0ad\uc81c \ud6c4 \ub4f1\ub85d\ud574\uc8fc\uc138\uc694."):(ae(void 0),$(!0),(0,C.FF)(C.sx.CHANGE_WEB_STATUS,"".concat(null===O||void 0===O?void 0:O.pageName," \ubc30\uc1a1\uc9c0 \uc2e0\uaddc \ub4f1\ub85d"),"showHeader","N")(),(0,C.FF)(C.sx.CHANGE_WEB_STATUS,"".concat(null===O||void 0===O?void 0:O.pageName," \ubc30\uc1a1\uc9c0 \uc2e0\uaddc \ub4f1\ub85d"),"showActionBar","N")())}),[M,H]),ne=(0,h.Z)({onSuccess:function(e,n){$(!1),M.toast("\ubc30\uc1a1 \uc815\ubcf4\ub97c \uc800\uc7a5\ud558\uc600\uc2b5\ub2c8\ub2e4."),null===k||void 0===k||k(n,e.shipAddressSn),null===S||void 0===S||S()}}).mutate,re=(0,a.useState)(!1),te=re[0],se=re[1],ie=(0,a.useState)(),ce=ie[0],ae=ie[1],oe=(0,f.Z)({onSuccess:function(e,n){ae(void 0),se(!1),$(!1),M.toast("\ubc30\uc1a1 \uc815\ubcf4\ub97c \uc800\uc7a5\ud558\uc600\uc2b5\ub2c8\ub2e4."),null===k||void 0===k||k(n,e.shipAddressSn),null===S||void 0===S||S()}}).mutate,le=(0,a.useCallback)((function(e){ae(e),se(!0)}),[]),de=(0,a.useCallback)((function(e,n){(null===ce||void 0===ce?void 0:ce.addressSn)?oe(ce.addressSn,e):n?ne(e):null===k||void 0===k||k(e)}),[k,ce,oe,ne]);return(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(o.Z,{isOpen:A,setIsOpen:function(){null===S||void 0===S||S()},preventAutoClose:!0,clickClose:function(){M.alert("".concat(D," \ub4f1\ub85d/\ubcc0\uacbd \uc0ac\ud56d\uc774 \uc120\ud0dd\ub418\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.\n\ud31d\uc5c5\uc744 \uc885\ub8cc\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?"),{modalPopupWrapClassName:"popup--renewed",confirmButton:{onClick:function(){return null===S||void 0===S?void 0:S()}}})},clickConfirm:function(){J(Y)},isConfirmActive:!!Y,contentsClasses:"bgGray",title:L===m.lF.Normal?"\ubc30\uc1a1\uc9c0 \uad00\ub9ac":"\uc218\uac70\uc9c0 \ub4f1\ub85d/\ubcc0\uacbd",confirmBtn:"\uc120\ud0dd\ud558\uae30",webViewFuncArgs:{pageName:"".concat(null===O||void 0===O?void 0:O.pageName," ").concat(D," \ubcc0\uacbd \ubaa9\ub85d"),isShowPageComponent:null!==(n=null===O||void 0===O?void 0:O.isShowPageComponent)&&void 0!==n?n:{header:!0,actionBar:!0}},children:(0,c.jsx)(l.Z,{addressTitle:D,addressList:G,updateAddressList:U,onModifyButtonClick:le,onAddButtonClick:ee,
1isSelectable:!0,onAddressCardClick:function(e){Q(e)},onHqDeliveryMsgChange:function(e){Q((function(n){return(0,s.Z)((0,t.Z)({},n),{deliveryMessage:e})}))},showAddressList:E,showHqAddress:F,hqRecipientType:I})}),te&&(0,c.jsx)(d.Z,{deliveryType:L,isOpen:te,onClose:function(){se(!1)},defaultAddress:null===ce||void 0===ce?void 0:ce.address,defaultAddressDetail:null===ce||void 0===ce?void 0:ce.addressDetail,defaultName:null===ce||void 0===ce?void 0:ce.name,defaultPhoneNo:null===ce||void 0===ce?void 0:ce.phoneNo,defaultZip:null===ce||void 0===ce?void 0:ce.zip,defaultIsRepAddress:null===(r=(null===ce||void 0===ce?void 0:ce.addressType)===m.wc.Represent)||void 0===r||r,onSubmit:de,onClickFindAddress:function(){se(!1),$(!0)},webViewFuncArgs:{pageName:"",isShowPageComponent:{header:!1,actionBar:!1}}}),K&&(0,c.jsx)(u.Rz,{deliveryType:L,isOpen:K,onClose:function(){$(!1)},additionalInputs:(0,w.JG)(L,ce),onSubmit:de,showChangeRepCheck:T,showAddCheck:null!==Z&&void 0!==Z?Z:!ce,webViewFuncArgs:{pageName:"",isShowPageComponent:{header:!1,actionBar:!1}}})]})}},61305:function(e,n,r){"use strict";r.d(n,{Z:function(){return c}});var t=r(2784),s=r(64157),i=r(99216);function c(){var e=(0,s.I0)(),n=(0,t.useCallback)((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=r.button,s=r.toastClassName,c=r.keepToastVisible,a=void 0!==c&&c,o=r.shouldShowOnTop,l=void 0!==o&&o;return e(i.Q.showToastMessage({message:n,button:t,toastClassName:s,keepToastVisible:a,shouldShowOnTop:l}))}),[e]),r=(0,t.useCallback)((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=r.title,c=r.containerBoxClassName,a=r.modalPopupWrapClassName,o=r.confirmButton,l=r.webViewFuncArgs,d=r.callCloseModalWhenOverlayClicked;e(i.Q.showDialog({type:"alert",title:s,containerBoxClassName:c,modalPopupWrapClassName:a,children:"string"===typeof n?(0,t.createElement)("span",{style:{whiteSpace:"pre-wrap"},children:n}):n,confirmBtn:o,webViewFuncArgs:l,callCloseModalWhenOverlayClicked:d}))}),[e]),c=(0,t.useCallback)((function(){e(i.Q.hideDialog())}),[e]),a=(0,t.useCallback)((function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=r.title,c=r.modalPopupWrapClassName,a=r.confirmButton,o=r.cancelButton,l=r.buttonAlign,d=void 0===l?"horizontal":l,u=r.webViewFuncArgs,p=r.callCloseModalWhenOverlayClicked;e(i.Q.showDialog({type:"confirm",title:s,children:"string"===typeof n?(0,t.createElement)("span",{style:{whiteSpace:"pre-wrap"},children:n}):n,confirmBtn:a,cancelBtn:o,alignBtn:d,webViewFuncArgs:u,modalPopupWrapClassName:c,callCloseModalWhenOverlayClicked:p}))}),[e]);return(0,t.useMemo)((function(){return{toast:n,alert:r,confirm:a,hide:c}}),[n,r,a,c])}},31265:function(e,n,r){"use strict";r.d(n,{Z:function(){return c}});var t=r(34067);var s=r(2601);function i(e,n){return!n||"object"!==(0,s.Z)(n)&&"function"!==typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function c(e){var n=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,s=(0,t.Z)(e);if(n){var c=(0,t.Z)(this).constructor;r=Reflect.construct(s,arguments,c)}else r=s.apply(this,arguments);return i(this,r)}}},34067:function(e,n,r){"use strict";function t(e){return t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},t(e)}function s(e){return t(e)}r.d(n,{Z:function(){return s}})},48100:function(e,n,r){"use strict";r.d(n,{Z:function(){return s}});var t=r(501);function s(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&(0,t.Z)(e,n)}},501:function(e,n,r){"use strict";function t(e,n){return t=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},t(e,n)}function s(e,n){return t(e,n)}r.d(n,{Z:function(){return s}})},96397:function(e,n,r){"use strict";r.d(n,{Z:function(){return l}});var t=r(501);function s(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function i(e,n,r){return i=s()?Reflect.construct:function(e,n,r){var s=[null];s.push.apply(s,n);var i=new(Function.bind.apply(e,s));return r&&(0,t.Z)(i,r.prototype),i},i.apply(null,arguments)}function c(e,n,r){return i.apply(null,arguments)}var a=r(34067);function o(e){var n="function"===typeof Map?new Map:void 0;return o=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof n){if(n.has(e))return n.get(e);n.set(e,s)}function s(){return c(e,arguments,(0,a.Z)(this).constructor)}return s.prototype=Object.create(e.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),(0,t.Z)(s,e)},o(e)}function l(e){return o(e)}}},function(e){e.O(0,[9097,1423,1327,949,423,9159,7949,367,8321,8065,4739,5129,7790,9329,4534,3164,199,9774,2888,179],(function(){return n=4187,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.