PageSourceSearch

https://apm-web.amoremall.com/_next/static/chunks/pages/auth/onboarding/consent-681a823dd7491830.js

js amoremall.com collected 2026-10-02 06:49:27 UTC 15,414 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6107],{98062:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/onboarding/consent",function(){return o(99115)}])},99115:function(e,n,o){"use strict";o.r(n),o.d(n,{__N_SSP:function(){return T},default:function(){return O}});var i=o(50930),t=o(52322),a=o(2784),s=o(5632),r=o(8446),c=o(26961),l=o(5621),d=o(19329),u=o(47268),m=o(96738),v=o(39537),p=o(98788),h=o(22970),f=o(64157),g=o(62350),x=o(76635),N=o(21997),_=o(14625),w=o(92198),j=o(27455),C=o(99216),b=o(93937),S=o(21325),y=o(65122),A=o(17653),k="https://images-kr.amoremall.com/defaultImages/750_transparent.png";function P(e){var n,o,i,c,l,d,u,x,N=e.brands,k=e.products,P=(0,s.useRouter)(),E=(0,f.I0)(),L=(0,_.Z)(),T=(0,v.Z)(),O=(0,A.f)().dialog,F=(0,f.v9)(b.Dt),Z=(0,f.v9)(j.Uw),H=(0,a.useState)(!1),I=H[0],M=H[1],D="".concat(w.YM.AMORE_BEAUTYPOINT_HOSTNAME,"/privacy/050?header_type=hidden"),U=null===N||void 0===N?void 0:N[0],G=null===N||void 0===N?void 0:N[1],Y=F||{},W=Y.memberSn,R=Y.memberName,V=(0,g.D)({mutationFn:(0,p.Z)((function(){return(0,h.__generator)(this,(function(e){switch(e.label){case 0:return[4,(0,y.xU)(W,{memberReceiveAgrees:[{receiveAgreeCode:"Agree",receiveTypeCode:"SMS"}]},L)];case 1:return e.sent(),[2]}}))})),onSuccess:function(){var e=(0,m.sN)(new Date,"YYYY-MM-DD HH:mm");E(C.Q.showToastMessage({message:"".concat(e,"\uc5d0 ").concat(R,"\ub2d8\uc758 \ubdf0\ud2f0\ud3ec\uc778\ud2b8<br/>\uac1c\uc778\uc815\ubcf4 \uc774\uc6a9 \ubc0f \uc218\uc9d1 \ub3d9\uc758(\ub9c8\ucf00\ud305) \ubc0f \uad11\uace0\uc131 \uc815\ubcf4 \ubb38\uc790 \uc218\uc2e0<br/>\ub3d9\uc758 \ucc98\ub9ac\uac00 \uc644\ub8cc\ub418\uc5c8\uc5b4\uc694.")})),setTimeout((function(){P.push("/auth/onboarding/complete")}
1),2e3)},onError:function(e){r.Z.error(e,"\uc628\ubcf4\ub529 \uc218\uc2e0\ub3d9\uc758 \uc790\ub3d9\ud61c\ud0dd\uc9c0\uae09 API \uc624\ub958 \ubc1c\uc0dd"),O.openSystemErrorDialog({onConfirm:function(){return P.push("/auth/onboarding/gate")}})}}),K=V.mutate,X=V.isLoading,z=V.isSuccess;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"join-onboarding__content",children:(0,t.jsxs)("div",{className:"join-onboarding__content-alarm",children:[U?(0,t.jsx)(B,{brandLogo:(null===U||void 0===U?void 0:U.logo)||"",name:null===U||void 0===U?void 0:U.brandName,type:"event"}):(0,t.jsx)(B,{brandLogo:null===k||void 0===k||null===(n=k[0])||void 0===n?void 0:n.brandLogo,name:null===k||void 0===k||null===(o=k[0])||void 0===o?void 0:o.brandName,type:"event"}),U||G?(0,t.jsx)(B,{brandLogo:(null===k||void 0===k||null===(i=k[0])||void 0===i?void 0:i.imgUrl)||"",name:null===k||void 0===k||null===(c=k[0])||void 0===c?void 0:c.onlineProdName,type:"price"}):(0,t.jsx)(B,{brandLogo:null===k||void 0===k||null===(l=k[1])||void 0===l?void 0:l.imgUrl,name:null===k||void 0===k||null===(d=k[1])||void 0===d?void 0:d.onlineProdName,type:"price"}),G?(0,t.jsx)(B,{brandLogo:(null===G||void 0===G?void 0:G.logo)||"",name:null===G||void 0===G?void 0:G.brandName,type:"newProduct"}):(0,t.jsx)(B,{brandLogo:null===k||void 0===k||null===(u=k[2])||void 0===u?void 0:u.brandLogo,name:null===k||void 0===k||null===(x=k[2])||void 0===x?void 0:x.brandName,type:"newProduct"})]})}),(0,t.jsx)("div",{className:"actionBar actionBar_productDetail",children:(0,t.jsx)("div",{className:"buttons",children:(0,t.jsxs)("div",{className:"action",children:[(0,t.jsx)("button",{type:"button",className:"size__50 button button__Primary","ap-click-area":"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec","ap-click-name":"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec_\uc218\uc2e0\ub3d9\uc758_[\ubc84\ud2bc]\uc120\ud0dd\uc644\ub8cc",disabled:X||z,onClick:function(){return K()},children:"\ud61c\ud0dd \uc54c\ub9bc \ubc1b\uae30"}),(0,t.jsx)("div",{className:"popNotice",children:(0,t.jsx)("div",{className:"text",children:(0,t.jsx)("p",{children:"\uc644\ub8cc\ud558\uba74 200P \uc989\uc2dc \uc801\ub9bd"})})}),(0,t.jsx)("div",{className:"popPrivacyText",children:(0,t.jsxs)("button",{type:"button",className:"popPrivacyText__link",onClick:function(){if(Z)try{var e=new URL(D.split("?")[0]);e.searchParams.append("externalBrowser","Y"),T.goTo(v.K.GotoLink,e.href)}catch(n){T.goTo(v.K.GotoLink,D.split("?")[0]+"?externalBrowser=Y")}else M(!0)},children:["\uc120\ud0dd \uc2dc, \ub9c8\ucf00\ud305 \ubb38\uc790 \uc218\uc2e0 \ubc0f \uac1c\uc778\uc815\ubcf4 \uc218\uc9d1\u2219\uc774\uc6a9 \ub3d9\uc758",(0,t.jsx)("i",{className:"atom-icon ic_info_circle_fill_s20_99A1AF",children:"\uac1c\uc778\uc815\ubcf4 \uc218\uc9d1\u2219\uc774\uc6a9 \ub3d9\uc758 \ub354\ubcf4\uae30"})]})})]})})}),!Z&&I&&(0,t.jsx)(S.Z,{isOpen:I,setIsOpen:M,closeLayer:function(){return M(!1)}
1,headerClasses:["noLine"],webViewFuncArgs:{pageName:"\uc628\ubcf4\ub529 \ub9c8\ucf00\ud305 \uc218\uc2e0 \ub3d9\uc758",isShowPageComponent:{header:!1,actionBar:!1}},children:(0,t.jsx)("iframe",{src:D,title:"\uac1c\uc778\uc815\ubcf4 \uc774\uc6a9 \ubc0f \uc218\uc9d1\uc5d0 \ub300\ud55c \ub3d9\uc758(\ub9c8\ucf00\ud305)",width:"100%",height:"100%"})})]})}function B(e){var n=e.brandLogo,o=e.name,i=e.type,a=function(){switch(i){case"event":return{title:"".concat((0,x.truncate)(o,{length:12})," \uc774\ubca4\ud2b8 \uc2dc\uc791"),desc:"\uc9c0\uae08 \ube0c\ub79c\ub4dc \ud61c\ud0dd\uc774 \uac00\uc7a5 \uc88b\uc544\uc694"};case"price":return{title:"\ub2f4\uc544\ub450\uc2e0 \uc0c1\ud488 \uac00\uaca9\uc774 \ub0b4\ub824\uac14\uc5b4\uc694",desc:"".concat((0,x.truncate)(o,{length:22}))};case"newProduct":return{title:"".concat((0,x.truncate)(o,{length:12})," \uc2e0\uc81c\ud488 \ucd9c\uc2dc"),desc:"\ub204\uad6c\ubcf4\ub2e4 \ube60\ub974\uac8c \ub9cc\ub098\uc2e4 \uc218 \uc788\uc5b4\uc694"};default:return{title:"",desc:""}}}();return(0,t.jsxs)("div",{className:"content-item",children:[(0,t.jsx)("div",{className:"content-item__media",children:(0,t.jsx)(N.ZP,{src:""!==n&&n||k,alt:o})}),(0,t.jsxs)("div",{className:"content-item__text",children:[(0,t.jsx)("strong",{className:"content-item__text-title",children:a.title}),(0,t.jsxs)("div",{className:"content-item__text-box",children:[(0,t.jsx)("p",{className:"content-item__text-desc",children:a.desc}),"price"===i&&(0,t.jsx)("span",{className:"content-item__text-more",children:"\ubc14\ub85c\uac00\uae30"})]})]})]})}var E=o(69578),L=o(43609);var T=!0,O=function(e){var n,o,p,h=e.brands,f=e.products,g=e.pageLayoutStatus,x=e.result,N=(0,s.useRouter)(),_=(0,v.Z)(),w=(0,A.f)().dialog,j=h.length>0?(0,i.Z)(h).sort((function(){return Math.random()-.5})):[],C=h.length>0?(0,i.Z)(f).sort((function(){return Math.random()-.5})):f,b="Enter"===x,S=function(e){(0,m.B)()?_.goTo(v.K.Home):N[e]("/display/main")};return(0,a.useEffect)((function(){"PeriodExpired"===x&&(r.Z.error(new Error("[APMO-LO0215] \ucc38\uc5ec \uae30\uac04 \ub9cc\ub8cc"),"[APMO-LO0215] SSR result=PeriodExpired \u2014 \uae30\uac04 \ub9cc\ub8cc \uc54c\ub7ff \ud45c\uc2dc"),w.openPeriodOverDialog({onConfirm:function(){var e=(0,u.EM)().trim();e.includes("/auth/onboarding/")||""===e||"/kr/ko/auth/signin/complete"===e?S("replace"):N.back()}}))}),[x]),(0,a.useEffect)((function(){null===x&&(r.Z.error(new Error("[APMO-LO0215] SSR API \uc624\ub958"),"[APMO-LO0215] SSR result=null \u2014 \uc2dc\uc2a4\ud15c \uc624\ub958 \uc54c\ub7ff \ud45c\uc2dc"),w.openSystemErrorDialog({onConfirm:function(){return N.reload()}}))}),[x]),(0,t.jsx)(d.Z,{classes:{detail:"is-no-line"},headerType:b?c.Nc.CLOSE:c.Nc.NONE,showHeader:null===(n=null===g||void 0===g?void 0:g.showHeader)||void 0===n||n,showActionBar:null!==(o=null===g||void 0===g?void 0:g.showActionBar)&&void 0!==o&&o,showFooter:!1,showFloatingButton:!1,customOnClickBack:function(){w.openWelcomeBenefitStopDialog({onCancel:function(){(0,l.um)("commonEvent",{"ap-click-area":"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec","ap-click-name":"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec_\uc218\uc2e0\ub3d9\uc758_[\ud31d\uc5c5]\uc911\uc9c0_[\ubc84\ud2bc]\uc885\ub8cc\ud558\uae30"}),S("push")},onConfirm:function(){(0,l.um)("commonEvent",{"ap-click-area":"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec","ap-click-name":"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec_\uc218\uc2e0\ub3d9\uc758_[\ud31d\uc5c5]\uc911\uc9c0_[\ubc84\ud2bc]\uacc4\uc18d\ud558\uae30"})}})},headerGtmTag:{closeIcon:{apClickArea:"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec",apClickName:"\uc6f0\ucef4\ud61c\ud0dd\ucc38\uc5ec_\uc218\uc2e0\ub3d9\uc758_[\ubc84\ud2bc]\ub2eb\uae30"}},children:b&&(0,t.jsxs)("div",{className:"join-onboarding step3",children:[(0,t.jsx)(E.k,{currentStep:3}),(0,t.jsx)(L.t,{highlight:0===h.length?"\uc88b\uc544\ud558\ub294 \ube0c\ub79c\ub4dc\uc758":"",highlights:h.length>0?j.map((function(e){return null!==(p=e.brandName)&&void 0!==p?p:""})):[],title:"\uc1fc\ud551\ud61c\ud0dd \uc54c\ub824\ub4dc\ub9b4\uae4c\uc694?",desc1:"\uad00\uc2ec \ube0c\ub79c\ub4dc\uc758 \uc2e0\uc0c1\ud488, \uc774\ubca4\ud2b8, \ud61c\ud0dd \uc18c\uc2dd\uc744 ",desc2:"\uac00\uc7a5 \ube60\ub974\uac8c \uc54c\ub824\ub4dc\ub9b4\uac8c\uc694",mode:0===h.length?"static":"swipe"}),(0,t.jsx)(P,{brands:j,products:C})]})})}},66954:function(e,n,o){"use strict";var i=o(52322),t=(o(2784),o(68602)),a=o(72779),s=o.n(a);n.Z=function(e){var n=e.message,o=void 0===n?"":n,a=e.showAlert,r=void 0!==a&&a,c=e.className,l=void 0===c?"":c;return(0,i.jsx)(i.Fragment,{children:r&&(0,i.jsx)("div",{className:s()("popNotice",l),children:(0,i.jsx)("div",{className:"text",children:(0,t.ZP)(o)})})})}},21325:function(e,n,o){"use strict";var i=o(52322),t=o(2784),a=o(72779),s=o.n(a),r=o(70338),c=o(46697),l=o(66954),d=o(54502),u=o(57522),m=o(96738);n.Z=function(e){var n,o,a=e.isOpen,v=e.setIsOpen,p=e.isShowHeader,h=void 0===p||p,f=e.isShowPopupBg,g=void 0!==f&&f,x=e.title,N=e.headerGtmTag,_=e.customActionBtnGtmTag,w=e.children,j=e.openLayer,C=e.closeLayer,b=e.beforeLayer,S=e.confirmBtn,y=e.clickConfirm,A=e.isConfirmActive,k=void 0===A||A,P=e.isStyleConfirmActive,B=void 0===P||P,E=e.showBeforeBtn,L=e.cancelBtn,T=e.clickCancel,O=e.showCloseBtn,F=void 0===O||O,Z=e.clickClose,H=e.preventAutoClose,I=void 0!==H&&H,M=e.showCustomBtn,D=void 0!==M&&M,U=e.customBtnNode,G=(e.clickCustomBtn,e.customActionBar),Y=e.customActionBtn,W=e.customBtnClickConfirm,R=e.isIframe,V=void 0!==R&&R,K=e.sectionClasses,X=e.classes,z=e.headerClasses,J=void 0===z?[]:z,Q=e.contentsClasses,$=e.fullPageLayerClasses,q=void 0===$?["fixedFullPageLayer"]:$,ee=e.webViewFuncArgs,ne=void 0===ee?{pageName:"",isShowPageComponent:{header:!0,actionBar:!0}}:ee,oe=e.apClickArea,ie=e.apClickConfirm,te=e.apClickCancel,ae=e.containerId,se=e.containerClasses,re=e.bubbleAlert,ce=void 0===re?{message:"",showAlert:!1}:re,le=e.usePortal,de=void 0!==le&&le,ue=(0,t.useState)(void 0),me=ue[0],ve=ue[1];return(0,t.useEffect)((function(){var e,n=null===(e=document.getElementsByTagName("body"))||void 0===e?void 0:e[0],o=null===n||void 0===n?void 0:n.classList,i=null===n||void 0===n?void 0:n.style;if(!n.classList.contains("fixedFullPageLayer")){if(a){!function(){if(null===j||void 0===j||j(),(0,m.B)())if(window.isTargetPageLayoutStatusVersion()){var e=window.pageLayoutStatusMatchedPageData(),n=(null===e||void 0===e?void 0:e.pageName)||"",o="layer_".concat(n);(0,r.FF)(r.sx.CHANGE_WEB_STATUS,o,"showHeader","N")(),(0,r.FF)(r.sx.CHANGE_WEB_STATUS,o,"showActionBar","N")()}else{var i,t;(null===(i=ne.isShowPageComponent)||void 0===i?void 0:i.header)&&(0,r.FF)(r.sx.CHANGE_WEB_STATUS,ne.pageName,"showHeader","N")(),(null===(t=ne.isShowPageComponent)||void 0===t?void 0:t.actionBar)&&(0,r.FF)(r.sx.CHANGE_WEB_STATUS,ne.pageName,"showActionBar","N")()}}();var t=window.pageYOffset;ve(t),n&&(null===q||void 0===q||q.map((function(e){o.add(e)})),i.top="-".concat(t,"px"))}else me&&window.scrollTo(0,me),ve(void 0),n&&(i.top="0");return a?function(){!function(){var e,n,o;null===C||void 0===C||C(),v(!1),(0,m.B)()&&(window.isTargetPageLayoutStatusVersion()?null===(e=window.applyPageLayoutStatusInterface)||void 0===e||e.call(window):((null===(n=ne.isShowPageComponent)||void 0===n?void 0:n.header)&&(0,r.FF)(r.sx.CHANGE_WEB_STATUS,ne.pageName,"showHeader","Y")(),(null===(o=ne.isShowPageComponent)||void 0===o?void 0:o.actionBar)&&!window.location.pathname.includes("kr/ko/store")&&(0,r.FF)(r.sx.CHANGE_WEB_STATUS,ne.pageName,"showActionBar","Y")()))}(),n&&(null===q||void 0===q||q.map((function(e){o.remove(e)})))}:void 0}}),[a]),(0,i.jsx)(u.h_,{targetID:u.LJ.FullPageLayer,enabled:de,children:(0,i.jsxs)("section",{className:s()("modalPopupWrap",K,{open:a}),children:[g&&(0,i.jsx)("div",{className:"popupBg"}),(0,i.jsx)("div",{className:s()("popupWrap fullLayer",X,{iframe:V}),children:(0,i.jsx)("div",{className:s()("popupcontainerBox",se),children:(0,i.jsxs)("div",{className:"popupInner",children:[h&&(0,i.jsx)("div",{className:s()({popupHead:!0,"is-fixed":J.includes("fixed")}),children:(0,i.jsxs)("div",{className:s()("module-header-layer",{"is-noLine":J.includes("noLine"),"is-clear":J.includes("clear"),static:J.includes("static")}),children:[E&&b&&(0,i.jsx)("div",{className:"module-header--left",children:(0,i.jsx)("button",{type:"button",className:"btnIr back",onClick:b,children:"\ub4a4\ub85c"})}),Boolean(x)&&(0,i.jsx)("h2",{className:"module-header__title",children:x}),(0,i.jsxs)("div",{className:"module-header--right",children:[F&&(0,i.jsx)(d.Z,{classes:"module-header__btn--close",onClick:function(){Z&&Z(),!I&&v(!1)},title:"\ub808\uc774\uc5b4 \ub2eb\uae30",apClickArea:null===N||void 0===N||null===(n=N.closeIcon)||void 0===n?void 0:n.apClickArea,apClickName:null===N||void 0===N||null===(o=N.closeIcon)||void 0===o?void 0:o.apClickName}),!F&&D&&U]})]})}),(0,i.jsx)("div",{id:ae,className:s()("popupContents",Q),children:w}),G,(S||L)&&(0,i.jsx)("div",{className:s()("actionBar",{"is-disabled":!k,"style-disabled":!B}),children:(0,i.jsxs)("div",{className:"action",children:[(0,i.jsx)(l.Z,{message:null===ce||void 0===ce?void 0:ce.message,showAlert:null===ce||void 0===ce?void 0:ce.showAlert}),L&&(0,i.jsx)(c.ZP,{variant:"contained",color:"secondary",title:L,onClick:function(){T&&T()},gtmTag:{apClickArea:oe,apClickName:te}}),S&&(0,i.jsx)(c.ZP,{variant:"contained",color:"primary",title:S,onClick:function(){y&&y()},disabled:!k,gtmTag:{apClickArea:oe,apClickName:ie}})]})}),Y&&(0,i.jsx)("div",{className:"pageAction gray",children:(0,i.jsx)(c.ZP,{title:Y,onClick:W,gtmTag:_})})]})})})]})})}},20452:function(e,n,o){"use strict";var i=o(2784);var t="function"===typeof Object.is?Object.is:function(e,n){return e===n&&(0!==e||1/e===1/n)||e!==e&&n!==n},a=i.useState,s=i.useEffect,r=i.useLayoutEffect,c=i.useDebugValue;function l(e){var n=e.getSnapshot;e=e.value;try{var o=n();return!t(e,o)}catch(i){return!0}}var d="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,n){return n()}:function(e,n){var o=n(),i=a({inst:{value:o,getSnapshot:n}}),t=i[0].inst,d=i[1];return r((function(){t.value=o,t.getSnapshot=n,l(t)&&d({inst:t})}),[e,o,n]),s((function(){return l(t)&&d({inst:t}),e((function(){l(t)&&d({inst:t})}))}),[e]),c(o),o};n.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:d},43100:function(e,n,o){"use strict";e.exports=o(20452)},29930:function(e,n,o){"use strict";o.d(n,{$:function(){return i}});const i=o(43100).useSyncExternalStore},99189:function(e,n,o){"use strict";function i(e,n){return"function"===typeof e?e(...n):!!e}o.d(n,{L:function(){return i}})}},function(e){e.O(0,[9097,1423,1327,949,423,9159,172,7637,5987,8065,4739,5129,7790,9329,9534,9651,9774,2888,179],(function(){return n=98062,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.