PageSourceSearch

https://www.carhartt-wip.co.kr/static/js/4732.7e0aed30.chunk.js

js carhartt-wip.co.kr collected 2026-10-02 21:33:40 UTC 11,508 bytes, 2 lines download raw bytes

1"use strict";(globalThis.webpackChunkcarhartt_front||=[]).push([[4732],{64732(e,r,t){t.r(r),t.d(r,{InfoItem:()=>N,default:()=>y});var o=t(12212),d=t(65043),i=t(88417),a=t(18637),l=t(19650),s=t(27296),u=t(91688),n=t(9370),c=t(64265),m=t(69052),v=t(56896),p=t(14880),x=t(8286),_=t(42319),h=t(17420),q=t(54387),j=t(43053),E=t(70579);const R=e=>e.open?(0,E.jsx)(E.Fragment,{children:(0,E.jsx)("div",{className:"z-50 fixed inset-0 bg-littleblack flex items-start md:items-center justify-center p-2",children:(0,E.jsxs)("div",{className:"xl:w-3/12 md:w-3/5 w-full flex flex-col  bg-white p-6 space-y-4 overflow-y-auto",children:[(0,E.jsxs)("div",{className:"flex flex-row justify-between pb-4",children:[(0,E.jsxs)("p",{className:"text-12 font-medium",children:["\ubc30\uc1a1\uc815\ubcf4\ub97c \ubcc0\uacbd\ud560 \uacbd\uc6b0 ",(0,E.jsx)("br",{}),"\uc0c1\ud488 \uc218\uac70 \ubc0f \uc218\ub839 \uc8fc\uc18c\uac00 \ubaa8\ub450 \ubcc0\uacbd\ub429\ub2c8\ub2e4."]}),(0,E.jsx)("button",{onClick:e.onClose,className:"flex wh-5 flex-row space-x-2 items-center",children:(0,E.jsx)(j.I.X,{})})]}),(0,E.jsx)("button",{className:"button filled-gray-900 md:px-20 h-9",onClick:e.onOK,children:"\ubcc0\uacbd\ud558\uae30"}),(0,E.jsx)("button",{className:"button outlined-gray-900 md:px-20 h-9",onClick:e.onClose,children:"\ucde8\uc18c"})]})})}):(0,E.jsx)(E.Fragment,{});var b=t(3164);const N=e=>{let{title:r,description:t}=e;return(0,E.jsxs)("div",{className:"text-14 flex justify-between",children:[(0,E.jsx)("p",{className:"text-gray-500 min-w-20",children:r}),(0,E.jsx)("p",{className:"",children:t})]})},y=()=>{const{mobile:e}=(0,u.g)(),r=(0,u.W6)(),t=n.parse(r.location.search),[j,y]=(0,d.useState)(),{isLoggedIn:g}=(0,v.Ir)(),f=(0,v.H5)(),[P,w]=(0,d.useState)(),[A,O]=(0,d.useState)(!1);(0,d.useEffect)(()=>{(0,_.ug)().then(e=>f({type:"LOGIN",payload:e.data.payload})).catch(e=>f({type:"LOGOUT"}))},[]),(0,d.useEffect)(()=>{"false"!==t.imp_success&&""===t.resultMessage||(t.resultMessage||t.error_msg)&&alert(t.resultMessage||t.error_msg),void 0!==g&&("mobile"===e&&t.imp_uid?(0,h.XB)("carhartt",{imp_uid:t.imp_uid,merchant_uid:t.merchant_uid,imp_success:"true"===t.imp_success}).then(e=>{C(e.data.payload.orderNumber);(g?I:k)(e.data.payload.orderNumber).then(e=>{w(e.data.payload)})}):t.imp_uid&&(0,h.$C)({imp_uid:t.imp_uid,merchant_uid:t.merchant_uid}).then(e=>{y(e.data.payload);(g?I:k)(e.data.payload.orderNumber).then(e=>{w(e.data.payload),$(e.data.payload)})}).catch(e=>b.A.log(e)))},[g,r.location]);const C=e=>{(g?I:k)(e).then(e=>{var r,t,o,d,i,a,l,s,u,n;const c=e.data.payload;y({expiredAt:null===(r=c.orderRequestExtra)||void 0===r?void 0:r.virtualAccountValid,orderNumber:null===(t=c.orderRequestExtra)||void 0===t?void 0:t.requestOrderNumber,orderedAt:null===(o=c.orderRequestExtra)||void 0===o?void 0:o.requestedAt,payMethod:null===(d=c.orderRequestExtra)||void 0===d?void 0:d.payMethod,productNames:`${null===(i=c.orderRequestExtra)||void 0===i?void 0:i.products[0].productName}\uc678 ${(null===(a=c.orderRequestExtra)||void 0===a?void 0:a.products.length)-1}\uac1c`,totalPrice:null===(l=c.orderRequestExtra)||void 0===l?void 0:l.requestPrepaidPrice,virtualAccountBank:null===(s=c.orderRequestExtra)||void 0===s?void 0:s.virtualAccountBank,virtualAccountNumber:null===(u=c.orderRequestExtra)||void 0===u?void 0:u.virtualAccountNumber,virtualAccountOwner:null===(n=c.orderRequestExtra)||void 0===n?void 0:n.virtualAccountOwner}),$(c)}).catch(e=>b.A.log(e))},k=e=>{b.A.log("not user");const r=localStorage.getItem("customerName"),t=localStorage.getItem("customerPhone");return(0,c.QV)(e,{customerName:r,customerPhone:t})},I=e=>(0,c.iz)(e),$=e=>{var r,t,d,i,a,l,s,u,n,c,v,_,h,q,j,E,R,b,N,y,f,P,w,A,O,C,k,I,$,M,z,B,D,H;switch(null===(r=e.orderRequestExtra)||void 0===r?void 0:r.type){case"RETURN":p.qO.sendBraze(x.Q.RETURN_APPLYED,{non_member_order:!g,item_id:null===(t=e.orderRequestExtra)||void 0===t?void 0:t.products.map(e=>e.productId).join(","),item_name:null===(d=e.orderRequestExtra)||void 0===d?void 0:d.products.map(e=>e.productName).join(","),item_category:void 0,item_color:null===(i=e.orderRequestExtra)||void 0===i?void 0:i.products.map(e=>e.color).join(","),item_gender:void 0,item_size:null===(a=e.orderRequestExtra)||void 0===a?void 0:a.products.map(e=>e.sizeName).join(","),item_price:null===(l=e.orderRequestExtra)||void 0===l?void 0:l.products.map(e=>e.unitPrice).join(","),order_item_quantity:null===(s=e.orderRequestExtra)||void 0===s?void 0:s.products.map(e=>e.count).join(","),total_order_items_quantity:null===e||void 0===e||null===(u=e.orderRequestExtra)||void 0===u?void 0:u.products.map(e=>e.count).reduce((e,r)=>e+r,0),sub_total:null===(n=e.orderRequestExtra)||void 0===n?void 0:n.products.map(e=>e.unitPrice*e.count).reduce((e,r)=>e+r,0),payment_method:(0,m.h2)(null===(c=e.orderRequestExtra)||void 0===c?void 0:c.payMethod),paid_shipping:null===e||void 0===e||null===(v=e.orderRequestExtra)||void 0===v?void 0:v.requestDeliveryPrice,paid_point:void 0,coupon_id:void 0,coupon_name:void 0,reward_point:void 0,order_id:null===e||void 0===e||null===(_=e.orderRequestExtra)||void 0===_?void 0:_.requestOrderNumber,order_total:null===e||void 0===e||null===(h=e.orderRequestExtra)||void 0===h?void 0:h.totalPaidPrice,return_reason:null===(q=e.orderRequestExtra)||void 0===q?void 0:q.products.map(e=>e.latestRequestReason).join(",")}),o.vF.event.order.returnCompleted({orderNumber:null===(j=e.orderRequestExtra)||void 0===j?void 0:j.requestOrderNumber,totalPrice:null===(E=e.orderRequestExtra)||void 0===E?void 0:E.totalPaidPrice,products:null===(R=e.orderRequestExtra)||void 0===R?void 0:R.products},{isNonMember:!g,payMethod:null===(b=e.orderRequestExtra)||void 0===b?void 0:b.payMethod,deliveryPrice:null===(N=e.orderRequestExtra)||void 0===N?void 0:N.requestDeliveryPrice,returnReason:null===(y=e.orderRequestExtra)||void 0===y?void 0:y.products.map(e=>e.latestRequestReason).join(",")});break;case"EXCHANGE":p.qO.sendBraze(x.Q.EXCHANGE_APPLYED,{non_member_order:!g,item_id:null===(f=e.orderRequestExtra)||void 0===f?void 0:f.products.map(e=>e.productId).join(","),item_name:null===(P=e.orderRequestExtra)||void 0===P?void 0:P.products.map(e=>e.productName).join(","),item_brand:null===(w=e.orderRequestExtra)||void 0===w?void 0:w.products.map(e=>e.brandName).join(","),item_category:void 0,item_color:null===(A=e.orderRequestExtra)||void 0===A?void 0:A.products.map(e=>e.color).join(","),item_gender:void 0,item_size:null===(O=e.orderRequestExtra)||void 0===O?void 0:O.products.map(e=>e.sizeName).join(","),item_price:null===(C=e.orderRequestExtra)||void 0===C?void 0:C.products.map(e=>e.unitPrice).join(","),order_item_quantity:null===(k=e.orderRequestExtra)||void 0===k?void 0:k.products.map(e=>e.count).join(","),total_order_items_quantity:null===e||void 0===e||null===(I=e.orderRequestExtra)||void 0===I?void 0:I.products.map(e=>e.count).reduce((e,r)=>e+r,0),sub_total:null===($=e.orderRequestExtra)||void 0===$?void 0:$.products.map(e=>e.unitPrice*e.count).reduce((e,r)=>e+r,0),payment_method:(0,m.h2)(null===(M=e.orderRequestExtra)||void 0===M?void 0:M.payMethod),paid_shipping:null===e||void 0===e||null===(z=e.orderRequestExtra)||void 0===z?void 0:z.requestDeliveryPrice,order_id:null===e||void 0===e||null===(B=e.orderRequestExtra)||void 0===B?void 0:B.requestOrderNumber,order_total:null===e||void 0===e||null===(D=e.orderRequestExtra)||void 0===D?void 0:D.totalPaidPrice,exchange_reason:null===(H=e.orderRequestExtra)||void 0===H?void 0:H.products.map(e=>e.latestRequestReason).join(",")})}};return j?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(R,{open:A,onClose:()=>O(!1),onOK:()=>{O(!1),r.push(`/mypage/refunds/${null===j||void 0===j?void 0:j.orderNumber}`)}}),(0,E.jsx)(a.Z,{text:"\ud648, \uc7a5\ubc14\uad6c\ub2c8"}),(0,E.jsxs)("div",{className:"flex flex-col items-center justify-center mt-6 md:mt-16 pb-40 px-4",children:[(0,E.jsx)(l.H3,{className:"font-semibold",children:"\ubc18\ud488 \uc2e0\uccad\uc774 \uc644\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4."}),(0,E.jsxs)("p",{className:"text-13 text-left pt-4 pb-6 text-gray-500 max-w-md",children:["\u2022 \uc601\uc5c5\uc77c \uae30\uc900 2~3\uc77c \uc774\ub0b4\uc5d0 \uae30\uc0ac\ub2d8\uaed8\uc11c \ubc29\ubb38\ud558\uc2e4 \uc608\uc815\uc785\ub2c8\ub2e4.",(0,E.jsx)("br",{}),"\u2022 \uc81c\ud488\uc774 \ubd84\uc2e4\ub418\uc9c0 \uc54a\ub3c4\ub85d \uae30\uc0ac\ub2d8\uaed8 \uc548\uc804\ud558\uac8c \uc778\uacc4 \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4.",(0,E.jsx)("br",{}),"\u2022 \ubc18\ud488 \uc811\uc218\uc5c6\uc774 \uc77c\ubc29\uc801\uc73c\ub85c \ubcf4\ub0b8 \uc0c1\ud488 \ub610\ub294 \ud658\ubd88\ub85c \ucc98\ub9ac\uac00 \ubd88\uac00\ud55c \uacbd\uc6b0 \ucc29\ubd88\ub85c \ubc18\uc1a1 \ucc98\ub9ac\ub429\ub2c8\ub2e4.",(0,E.jsx)("br",{}),"\u2022 \ubc18\ud488 \uc2e0\uccad \uc9c4\ud589 \uc0c1\ud0dc\uc5d0 \ub530\ub77c \uc2e0\uccad \ucde8\uc18c\uac00 \ubd88\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.",(0,E.jsx)("br",{}),"\u2022 \ubc18\ud488 \ucde8\uc18c\uac00 \ubd88\uac00\ud560 \uacbd\uc6b0 \uc6f9/\uc571 \uc6b0\uce21\ud558\ub2e8 \ucc44\ub110\ud1a1\uc73c\ub85c \ubb38\uc758\ud574\uc8fc\uc138\uc694.",(0,E.jsx)("br",{}),"\u2022 \ud68c\uc218\uc9c0\ub97c \ubcc0\uacbd\ud560 \uacbd\uc6b0 \uc0c1\ud488 \uc218\uac70 \uc8fc\uc18c\uac00 \ubcc0\uacbd\ub429\ub2c8\ub2e4.",(0,E.jsx)("br",{}),"\u2022 \ud68c\uc218\uc9c0 \ubcc0\uacbd \uac00\ub2a5 \uc2dc\uac04 : \uc624\ud6c4 5\uc2dc \uc774\uc804 \ubc18\ud488 \uc2e0\uccad \uc644\ub8cc \uc2dc \u2192 \ub2f9\uc77c \uc624\ud6c4 5\uc2dc \uc774\uc804 \uc8fc\uc18c\uc9c0 \ubcc0\uacbd \uac00\ub2a5",(0,E.jsx)("br",{})]}),(0,E.jsx)(s.H5,{className:"font-semibold",children:"\ud68c\uc218\uc9c0 \ubcc0\uacbd\uc744 \uc6d0\ud558\uc2e4 \uacbd\uc6b0 \ud558\ub2e8 \ubc30\uc1a1\uc815\ubcf4 \ubcc0\uacbd \ubc84\ud2bc\uc744 \uc120\ud0dd\ud574\uc8fc\uc138\uc694."}),(0,E.jsxs)("div",{className:"max-w-lg mx-auto w-full space-y-4 my-5",children:[(0,E.jsx)(N,{title:"\ud604\uc7ac \ud68c\uc218\uc9c0 \uc815\ubcf4",description:""}),(0,E.jsx)(N,{title:"\uc774\ub984",description:null===P||void 0===P?void 0:P.receiverName}),(0,E.jsx)(N,{title:"\uc804\ud654\ubc88\ud638",description:null===P||void 0===P?void 0:P.receiverPhone}),(0,E.jsx)(N,{title:"\uc8fc\uc18c",description:`${null===P||void 0===P?void 0:P.receiverAddress} ${null===P||void 0===P?void 0:P.receiverDetailAddress}`}),(0,E.jsx)(N,{title:"\uc694\uccad\uc0ac\ud56d",description:(null===P||void 0===P?void 0:P.shippingRequest)||"-"})]}),(0,E.jsxs)("div",{className:"max-w-lg mx-auto w-full",children:[(0,E.jsx)("div",{className:"grid md:block text-center my-5",children:(0,E.jsx)(i.$,{onClick:()=>{(0,c.ep)(null===j||void 0===j?void 0:j.orderNumber).then(()=>r.push(g?`/mypage/refunds/${null===j||void 0===j?void 0:j.orderNumber}`:`/non-member/refunds/${null===j||void 0===j?void 0:j.orderNumber}`)).catch(()=>(0,q.O)("\ucc98\ub9ac \uc9c4\ud589 \uc911\uc778 \uc8fc\ubb38\uac74\uc73c\ub85c \uc8fc\uc18c \ubcc0\uacbd \ubc0f \ucde8\uc18c\uac00 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4."))},text:"\ubc30\uc1a1\uc815\ubcf4 \ubcc0\uacbd",className:"filled-brand-1 md:w-60"})}),(0,E.jsxs)("div",{className:`grid ${g&&"md:grid-cols-2"} gap-4 mt-16`,children:[g&&(0,E.jsx)(i.$,{to:"/mypage/orders",text:"\uc8fc\ubb38 / \ubc30\uc1a1 \uc870\ud68c",className:"filled-brand-1"}),(0,E.jsx)(i.$,{to:"/",text:"\ud648\uc73c\ub85c",className:"outlined-gray-900",onClick:()=>{var e;e="\uc7a5\ubc14\uad6c\ub2c8 \uc8fc\ubb38 \uc131\uacf5",p.qO.sendBraze(x.Q.KEEP_SHOPPING_BUTTON_CLICKED,{button_page:e})}})]})]})]})]}):null}}}]);
2//# sourceMappingURL=4732.7e0aed30.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.