PageSourceSearch

https://textiledesignbank.com/static/js/57.083d3ad8.chunk.js

js textiledesignbank.com collected 2026-09-29 01:38:19 UTC 31,610 bytes, 2 lines download raw bytes

1(this.webpackJsonpfront=this.webpackJsonpfront||[]).push([[57],{131:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return r})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return l}));const i=()=>{const e=window.innerWidth;let t;return t=e>1624?"25%":e>1424?"30%":e>1224?"35%":e>1024?"40%":e>724?"60%":e>524?"75%":"90%",t},r=()=>{const e=window.innerWidth;let t;return t=e>1624?"30%":e>1424?"35%":e>1224?"40%":e>1024?"45%":e>724?"65%":e>524?"80%":"90%",t},c=()=>{const e=window.innerWidth;let t;return t=e>1624?"32%":e>1424?"36%":e>1224?"40%":e>1024?"44%":e>724?"60%":e>524?"70%":"80%",t},l=()=>{const e=window.innerWidth;let t;return t=e>1424?"40%":e>1224?"50%":e>1024?"60%":e>724?"70%":"90%",t}},138:function(e,t,n){"use strict";n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return m})),n.d(t,"i",(function(){return p})),n.d(t,"r",(function(){return y})),n.d(t,"j",(function(){return O})),n.d(t,"h",(function(){return w})),n.d(t,"g",(function(){return v})),n.d(t,"p",(function(){return C})),n.d(t,"q",(function(){return k})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return S})),n.d(t,"o",(function(){return R})),n.d(t,"s",(function(){return N})),n.d(t,"l",(function(){return z})),n.d(t,"m",(function(){return H})),n.d(t,"k",(function(){return F})),n.d(t,"n",(function(){return K})),n.d(t,"a",(function(){return J})),n.d(t,"b",(function(){return B}));var i,r,c,l,s=n(127),o=(n(1),n(129)),a=n.n(o),d=n(121),h=n(126),j=n(587),u=n(2),b=n.n(u),g=n(118),x=(n(919),n(882),n(124),n(7));const f=e=>{let{active:t=!1,onClick:n,fontSize:i=18,children:r}=e;return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsx)(g.w,{sp:22}),Object(x.jsxs)("div",{onClick:n,style:{display:"flex",alignItems:"center",height:38,cursor:"pointer"},children:[Object(x.jsx)("div",{style:{width:17,display:"flex",alignItems:"center"},children:Object(x.jsx)("div",{style:{width:6,height:6,borderRadius:10,backgroundColor:t?"#ff8a06":"white"}})}),Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:i,fontWeight:"bold",color:t?"#ff8a06":"black"},children:r})]})]})},m=e=>{let{active:t=!1,onClick:n,fontSize:i=18,children:r}=e;return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsx)(g.w,{sp:22}),Object(x.jsxs)("div",{onClick:n,style:{display:"flex",alignItems:"center",height:65,cursor:"pointer"},children:[Object(x.jsx)("div",{style:{width:17,display:"flex",alignItems:"center"},children:Object(x.jsx)("div",{style:{width:6,height:6,borderRadius:10,backgroundColor:t?"#ff8a06":"white"}})}),Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontWeight:"bold",fontSize:i,color:t?"#ff8a06":"black"},children:r})]})]})},p=e=>{let{active:t=!1,onClick:n,children:i}=e;return Object(x.jsx)(x.Fragment,{children:Object(x.jsxs)("div",{onClick:n,style:{display:"flex",alignItems:"center",height:40,cursor:"pointer"},children:[Object(x.jsx)("div",{style:{width:17,display:"flex",alignItems:"center"},children:Object(x.jsx)("div",{style:{width:6,height:6,borderRadius:10,backgroundColor:t?"#ff8a06":"white"}})}),Object(x.jsx)("div",{style:{fontFamily:t?"NSCJKrB":"NSCJKrR",fontSize:17,color:t?"#ff8a06":"black"},children:i})]})})},y=e=>{let{title:t,children:n,style:i}=e;return Object(x.jsx)(x.Fragment,{children:Object(x.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",height:"4.3vw",maxHeight:78,minHeight:40},children:Object(x.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",...i},children:[Object(x.jsx)(g.h,{min:900,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:30,color:"black"},children:t})}),Object(x.jsx)(g.h,{min:600,max:899,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:22,color:"black"},children:t})}),Object(x.jsx)(g.h,{max:599,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:"5vw",color:"black"},children:t})}),n]})})})},O=e=>{let{onClick:t}=e;const{t:n}=Object(j.a)();return Object(x.jsx)(x.Fragment,{children:Object(x.jsx)("div",{onClick:t,style:{cursor:"pointer",borderRadius:5,border:"1px solid #cccccc",fontFamily:"NSCJKrR",fontSize:14,display:"flex",color:"black",alignItems:"center",justifyContent:"center",width:78,height:30},children:n("sign_out")})})},w=h.b.div(i||(i=Object(s.a)(["\n  font-family: 'NSCJKrM';\n  font-size: 16px;\n  color: black;\n"]))),v=h.b.div(r||(r=Object(s.a)(["\n  font-family: 'NSCJKrR';\n  font-size: 14px;\n  color: #999999;\n"]))),C=h.b.div(c||(c=Object(s.a)(["\n  border-radius: 5px;\n  background-color: #ff8a06;\n  color: white;\n  font-family: 'NSCJKrB';\n  font-size: 18px;\n  display: flex;\n  align-items: center;\n  justify-content: center;
1\n  cursor: pointer;\n  height: 50px;\n"]))),k=e=>{let{onClick:t}=e;const{t:n}=Object(j.a)();return Object(x.jsx)(x.Fragment,{children:Object(x.jsx)("div",{onClick:t,style:{cursor:"pointer",display:"flex",justifyContent:"center"},children:Object(x.jsxs)("div",{style:{fontFamily:"NSCJKrR",fontSize:18,color:"black",width:"kr"===b.a.get("lang")?100:220,height:40,display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},children:[n("deactivate_your_account"),Object(x.jsx)("div",{style:{position:"absolute",bottom:0,width:"100%",height:2,backgroundColor:"#a9a9a9"}})]})})})},_=e=>{let{children:t}=e;return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsx)(g.h,{min:900,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:24,color:"black",textAlign:"center"},children:t})}),Object(x.jsx)(g.h,{max:899,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:18,color:"black",textAlign:"center"},children:t})})]})},S=e=>{let{children:t}=e;return Object(x.jsxs)(x.Fragment,{children:[Object(x.jsx)(g.h,{min:900,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrR",fontSize:16,color:"#666666",textAlign:"center",wordBreak:"keep-all"},children:t})}),Object(x.jsx)(g.h,{max:899,children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrR",fontSize:"clamp(13px, 1rem + 1.2vw, 16px)",color:"#666666",textAlign:"center"},children:t})})]})},R=e=>{let{value:t,title:n,onClick:i}=e;return Object(x.jsxs)("div",{onClick:i,style:{display:"flex",alignItems:"center",cursor:"pointer",fontFamily:"NSCJKrM",fontSize:16,color:"black",lineHeight:20,height:20},children:[Object(x.jsx)("img",{alt:"",src:t?d.a.icon_license_act:d.a.icon_license_nor,style:{marginRight:6}}),n]})},N=e=>{let{onClick:t}=e;const{t:n}=Object(j.a)();return Object(x.jsxs)("div",{onClick:t,style:{fontFamily:"NSCJKrB",fontSize:18,color:"white",cursor:"pointer",backgroundColor:"#ff8a06",borderRadius:5,display:"flex",alignItems:"center",justifyContent:"center",height:50,width:200},children:[Object(x.jsx)("img",{alt:"",src:d.a.icon_upload,style:{marginRight:6}}),n("upload")]})},z=e=>{let{children:t,style:n}=e;return Object(x.jsxs)("div",{style:{borderRadius:5,border:"1px dashed #c0c0c0",width:"100%",minHeight:300,display:"flex",flexDirection:"column",justifyContent:"space-between",...n},children:[Object(x.jsx)(g.w,{sp:"1.5vw",style:{maxHeight:28,minHeight:14}}),Object(x.jsx)("div",{style:{display:"flex",alignItems:"center"},children:Object(x.jsx)("div",{style:{flex:1,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:t})}),Object(x.jsx)(g.w,{sp:"1.5vw",style:{maxHeight:28,minHeight:14}})]})},H=h.b.div(l||(l=Object(s.a)(["\n  font-family: 'NSCJKrR';\n  font-size: clamp(10px, 1rem + 1.2vw, 14px);\n  color: #666666;\n  text-align: center;\n  // word-break: keep-all;\n"]))),F=e=>{let{onClick:t}=e;return Object(x.jsx)(a.a,{ratio:1,onClick:t,style:{cursor:"pointer",width:"calc(20% - 5px)",borderRadius:5,backgroundImage:"url(".concat(d.a.icon_upload,")"),backgroundPosition:"center",backgroundSize:"initial",backgroundRepeat:"no-repeat",backgroundColor:"#cccccc",position:"relative",marginBottom:5,marginRight:5}})},K=e=>{let{onView:t,onRemove:n,vimg:i,seller_account_status:r}=e;return Object(x.jsx)(a.a,{ratio:1,onClick:t,style:{cursor:"pointer",width:"calc(20% - 5px)",borderRadius:5,backgroundImage:0===r?"url(".concat(i,")"):"url(".concat("https://prod-tdb-storage.textiledesignbank.com").concat(i,")"),backgroundPosition:"center",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundColor:"#cccccc",position:"relative",marginBottom:5,marginRight:5},children:Object(x.jsx)("div",{onClick:n,style:{cursor:"pointer",position:"absolute",right:5,top:5},children:Object(x.jsx)("img",{alt:"",src:"".concat(d.a.icon_close_sm)})})})},J=e=>{let{children:t}=e;return Object(x.jsxs)("div",{style:{borderRadius:5,backgroundColor:"#fff4f3",width:"100%",display:"flex",flexDirection:"column",justifyContent:"space-between"},children:[Object(x.jsx)(g.w,{sp:"1.5vw",style:{maxHeight:28,minHeight:14}}),Object(x.jsxs)("div",{style:{display:"flex",alignItems:"center"},children:[Object(x.jsx)(g.f,{sp:"2.5vw",style:{maxWidth:40,minWidth:27}}),Object(x.jsx)("div",{style:{flex:1,display:"flex",flexDirection:"column"},children:t}),Object(x.jsx)(g.f,{sp:"1.4vw",style:{maxWidth:26,minWidth:13}})]}),Object(x.jsx)(g.w,{sp:"1.5vw",style:{maxHeight:28,minHeight:14}})]})},B=e=>{let{children:t}=e;return Object(x.jsx)(x.Fragment,{children:Object(x.jsx)("div",{style:{fontFamily:"NSCJKrR",fontSize:"clamp(14px, 1rem + 1.2vw, 16px)",color:"#666666",lineHeight:"20px",textIndent:-14},children:t})})}},184:function(e,t,n){"use strict";n.d(t,"l",(function(){return R})),n.d(t,"o",(function(){return N})),n.d(t,"n",(function(){return z})),n.d(t,"b",(function(){return H})),n.d(t,"a",(function(){return F})),n.d(t,"k",(function(){return K})),n.d(t,"g",(function(){return J})),n.d(t,"c",(function(){return B})),n.d(t,"d",(function(){return I})),n.d(t,"e",(function(){return P})),n.d(t,"p",(function(){return W})),n.d(t,"f",(function(){return M})),n.d(t,"j",(function(){return A})),n.d(t,"i",(function(){return D})),n.d(t,"h",(function(){return L})),n.d(t,"m",(function(){return V}));var i,r,c,l,s,o,a,d=n(127),h=n(122),j=n(265),u=n(925),b=n(385),g=n(914),x=(n(1),n(129)),f=n.n(x),m=n(118),p=n(130),y=n(499),O=n(124),w=n(587),v=n(126),C=n(121),k=n(48),_=n(7
1);Object(h.a)({select:{fontFamily:"NSCJKrR",fontSize:16,height:100,lineHeight:"1.5"}})(j.a);const S={height:"40px",lineHeight:"1.5"},R=e=>{let{maintitle:t,title:n,children:i}=e;return Object(_.jsx)(_.Fragment,{children:Object(_.jsxs)("div",{style:{display:"flex",alignItems:"center",height:"4.3vw",maxHeight:78,minHeight:40},children:[Object(_.jsx)(m.h,{min:900,children:Object(_.jsxs)("div",{style:{fontFamily:"NSCJKrR",fontSize:30,color:"black"},children:[t," \u3009",Object(_.jsx)("span",{style:{fontFamily:"NSCJKrB"},children:n})]})}),Object(_.jsx)(m.h,{max:899,children:Object(_.jsxs)("div",{style:{fontFamily:"NSCJKrR",fontSize:22,color:"black"},children:[t," \u3009",Object(_.jsx)("span",{style:{fontFamily:"NSCJKrB"},children:n})]})}),i]})})},N=e=>{let{value:t,onChange:n,children:i,placeholder:r,style:c}=e;return Object(_.jsx)(y.a,{style:{minWidth:80,marginTop:0},children:Object(_.jsx)(g.a,{disableUnderline:!0,value:t,defaultValue:r,renderValue:e=>0===e.length?Object(_.jsx)("p",{style:{fontFamily:"NSCJKrR"},children:r}):e,onChange:e=>{n(e.target.value)},style:{position:"",selectStyle:S,fontFamily:"NSCJKrR",height:36},children:i})})},z=e=>{let{value:t,placeholder:n,onChange:i,onKeyPress:r}=e;return Object(_.jsx)(_.Fragment,{children:Object(_.jsx)(p.g,{style:{borderBottomColor:"#a0a0a0",flex:1,height:40,minWidth:120,maxWidth:240},children:Object(_.jsx)(p.i,{style:{padding:"4px 4px"},children:Object(_.jsx)(u.a,{placeholder:n,value:t,onChange:e=>{i(e.target.value)},style:{width:"100%",fontSize:O.isMobile?14:16,fontFamily:"NSCJKrR",color:"black"},onKeyPress:e=>{r(e)}})})})})},H=v.b.div(i||(i=Object(d.a)(["\n  font-family: 'NSCJKrR';\n  font-size: 14px;\n  line-height: 14px;\n  color: black;\n  text-align: center;\n  width: max-content;\n  margin: auto;\n"]))),F=v.b.div(r||(r=Object(d.a)(["\n  font-family: 'NSCJKrR';\n  font-size: 16px;\n  color: black;\n  text-align: center;
1\n"]))),K=e=>{let{memtype:t="V"}=e;const{t:n}=Object(w.a)();return Object(_.jsxs)(_.Fragment,{children:["V"===t&&Object(_.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:14,padding:"0 10px",color:"white",backgroundColor:"#fe8b07",display:"flex",alignItems:"center",justifyContent:"center",height:24,borderRadius:10,marginLeft:10},children:n("vip_member")}),"V"!==t&&Object(_.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:14,color:"white",backgroundColor:"#222222",display:"flex",alignItems:"center",justifyContent:"center",width:80,height:24,borderRadius:10,marginLeft:10},children:n("general_user")})]})},J=v.b.div(c||(c=Object(d.a)(["\n  position: absolute;\n  left: 0px;\n  top: -5px;\n  font-family: 'NSCJKrR';\n  font-size: 14px;\n  color: #999999;\n"]))),B=v.b.div(l||(l=Object(d.a)(["\n  font-family: 'NSCJKrR';\n  font-size: 16px;\n  color: black;\n  width: 26px;\n"]))),I=v.b.div(s||(s=Object(d.a)(["\n  font-family: 'NSCJKrR';\n  font-size: 16px;\n  color: black;\n  min-width: 160px;\n"]))),P=v.b.div(o||(o=Object(d.a)(["\n  display: flex;\n  align-items: center;\n  flex-wrap: wrap;\n"]))),W=v.b.div(a||(a=Object(d.a)(["\n  display: flex;\n  align-items: center;\n  font-family: NSCJKrR;\n  font-size: 16px;\n  color: black;\n  cursor: pointer;\n  width: max-content;\n"]))),M=e=>{let{title:t,children:n}=e;return Object(_.jsx)(b.a,{TransitionProps:{style:{backgroundColor:"#ff8a06"}},title:Object(_.jsxs)("div",{style:{fontFamily:"NSCJKrR",color:"white",fontSize:12,lineHeight:"12px",position:"relative"},children:[t,Object(_.jsx)("div",{style:{position:"absolute",top:-9,width:"100%",display:"flex",justifyContent:"center",alignItems:"center"},children:Object(_.jsx)("img",{alt:"",src:C.a.tooltip_arrow,style:{transform:"scaleY(-1)"}})})]}),placement:"bottom",children:n})},A=e=>{let{title:t,value:n,onChange:i,mapimg:r,pngimg:c,zoomval:l}=e;return Object(_.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:"pointer"},onClick:i,children:[Object(_.jsx)("div",{style:{backgroundImage:"url(".concat(c,")"),backgroundSize:"".concat(l,"%")},children:Object(_.jsx)(f.a,{ratio:1,style:{width:134,backgroundImage:"url(".concat(r,")"),border:"1px solid #dddddd",backgroundSize:"cover"}})}),Object(_.jsx)("div",{onClick:i,style:{fontFamily:"NSCJKrR",fontSize:16,color:"black",lineHeight:"40px"},children:t}),Object(_.jsx)("img",{onClick:i,alt:"",src:n?C.a.icon_checked:C.a.icon_checknor,style:{marginBottom:30}})]})},D=e=>{let{title:t,destxt:n,value:i,onClick:r}=e;return Object(_.jsxs)("div",{onClick:r,style:{flex:1,position:"relative",display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",padding:"10px 10px",cursor:"pointer",fontFamily:"NSCJKrM",color:"white",textAlign:"center",backgroundColor:i?"#ff8a06":"#cccccc"},children:[Object(_.jsx)("div",{style:{fontSize:18},children:t}),Object(_.jsx)("div",{style:{fontSize:14},children:n}),i&&Object(_.jsx)("div",{style:{position:"absolute",bottom:-9},children:Object(_.jsx)("img",{alt:"",src:C.a.tooltip_arrow})})]})},q=e=>{let{isMobile:t,isRebate:n,priceInfo:i}=e;if(!i.price&&!i.originalPrice)return null;const r={price:{fontSize:t?18:24},originalPriceContainer:{fontSize:t?14:16,color:"#999999",marginLeft:4},currency:{fontSize:t?16:18,marginLeft:4}};return Object(_.jsxs)("div",{style:{fontFamily:"NSCJKrB",color:"#222222",display:"flex",alignItems:"baseline",lineHeight:"26px"},children:[Object(_.jsx)("span",{style:r.price,children:n?i.price:i.originalPrice}),n&&Object(_.jsxs)("span",{style:r.originalPriceContainer,children:["/",Object(_.jsx)("span",{style:{textDecorationLine:"line-through"},children:i.originalPrice})]}),Object(_.jsx)("span",{style:r.currency,children:i.currency})]})},L=e=>{const{typeval:t,typedes:n,isRebate:i}=e,r=Object(k.b)(),c=(()=>{switch(r){case"kr":return{currency:"KRW",price:e.krwcost,originalPrice:e.krwrebate};case"ur":return{currency:"EUR",price:e.eurcost,originalPrice:e.eurrebate};default:return{currency:"USD",price:e.usdcost,originalPrice:e.usdrebate}}})(),l=e=>{let{isMobile:r=!1}=e;return Object(_.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[Object(_.jsxs)("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center"},children:[Object(_.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:r?26:36,color:"#222222"},children:t}),Object(_.jsx)("div",{style:{fontFamily:"NSCJKrB",fontSize:r?14:16,color:"#666666"},children:n})]}),Object(_.jsx)(m.u,{bgcolor:"#dddddd",height:80}),Object(_.jsx)("div",{style:{flex:1,display:"flex",justifyContent:"center"},children:Object(_.jsx)(q,{isMobile:r,isRebate:i,priceInfo:c})})]})};return Object(_.jsxs)("div",{children:[Object(_.jsx)(m.w,{sp:"1.8vw",style:{maxHeight:40,minHeight:20}}),Object(_.jsx)(m.h,{min:700,children:Object(_.jsx)(l,{})}),Object(_.jsx)(m.h,{max:699,children:Object(_.jsx)(l,{isMobile:!0})}),Object(_.jsx)(m.w,{sp:"1.8vw",style:{maxHeight:40,minHeight:20}})]})},V=e=>{let{value:t,onClick:n}=e;const{t:i}=Object(w.a)();return Object(_.jsxs)(_.Fragment,{children:[Object(_.jsx)("div",{style:{display:"flex",alignItems:"center",width:"100%",justifyContent:"flex-start",height:"2.2vw",maxHeight:40,minHeight:30},children:Object(_.jsxs)("div",{onClick:n,style:{fontFamily:"NSCJKrR",fontSize:16,display:"flex",alignItems:"center",cursor:"pointer",lineHeight:"16px",width:"max-content"},children:[Object(_.jsx)("img",{alt:"",src:t?C.a.icon_checked:C.a.icon_checknor,style:{marginRight:10}})," 20%"," ",i("discount")]})}
1),Object(_.jsxs)("span",{style:{fontSize:"clamp(0.6875rem, 0.2969rem + 1.25vw, 1rem)",marginTop:4},children:["(",i("discount_detail"),")"]})]})}},217:function(e,t,n){"use strict";n.d(t,"d",(function(){return _})),n.d(t,"a",(function(){return S})),n.d(t,"c",(function(){return R})),n.d(t,"g",(function(){return N})),n.d(t,"f",(function(){return H})),n.d(t,"b",(function(){return F})),n.d(t,"e",(function(){return J}));var i,r,c,l,s,o=n(127),a=n(1),d=n(126),h=n(587),j=(n(124),n(919)),u=n(882),b=n(925),g=n(890),x=n(118),f=n(121),m=n(130),p=n(2),y=n.n(p),O=n(218),w=n(6),v=n(131),C=n(10),k=n(7);const _=d.b.div(i||(i=Object(o.a)(["\n  font-family: 'NSCJKrM';\n  font-size: 16px;\n  color: black;\n  line-height: 16px;\n"]))),S=d.b.div(r||(r=Object(o.a)(["\n  cursor: pointer;\n  background-color: #ff8a06;\n  width: 80px;\n  height: 32px;\n  color: white;\n  font-family: 'NSCJKrR';\n  font-size: 14px;\n  line-height: 32px;\n  text-align: center;\n"]))),R=()=>Object(k.jsx)("span",{style:{color:"red"},children:"*"}),N=()=>Object(k.jsx)("span",{style:{color:"white"},children:"*"}),z=d.b.div(c||(c=Object(o.a)(["\n  cursor: pointer;\n"]))),H=e=>{let{...t}=e;return Object(k.jsx)(z,{...t,children:Object(k.jsx)("img",{alt:"",src:f.a.gnb_submenu,style:{height:13,width:"auto"}})})},F=d.b.div(l||(l=Object(o.a)(["\n  font-family: 'NSCJKrR';\n  font-size: 18px;\n  color: black;\n  /* line-height: 18px; */\n"]))),K=d.b.div(s||(s=Object(o.a)(["\n  margin-top: 10px;\n  display: flex;\n  justify-content: center;\n\n  Button {\n    background-color: #ff8a06;\n    color: #ffffff;\n\n    &:disabled {\n      background-color: #ff8a0650;\n      color: #ffffff;\n    }\n\n    &:hover {\n      background-color: #ff8a06;\n    }\n  }\n"]))),J=e=>{var t,n;let{show:i,onClose:r}=e;const{t:c}=Object(h.a)(),l={password:"",passwordRepeat:""},[s,o]=Object(a.useState)(l),[d,f]=Object(a.useState)(!1),[p,_]=Object(a.useState)({kr:{invalidPassword:"\ube44\ubc00\ubc88\ud638 \ud615\uc2dd\uc774 \uc62c\ubc14\ub974\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.",passwordNotSame:"\ube44\ubc00\ubc88\ud638\uac00 \ub2e4\ub985\ub2c8\ub2e4. \ub2e4\uc2dc \ud655\uc778\ud558\uc138\uc694."},en:{invalidPassword:"Invalid password format.",passwordNotSame:"Your password is incorrect. Please check again."}});Object(a.useEffect)((()=>{const e=Object(O.a)(s.password),t=s.password===s.passwordRepeat;f(e&&t)}),[s]);const S=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];o(l),f(!1),r(e)};return Object(k.jsx)(j.a,{style:{display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},open:i,onClose:S,children:Object(k.jsx)(u.a,{in:i,children:Object(k.jsxs)(x.i,{style:{width:Object(v.b)()},onClose:S,children:[Object(k.jsx)(x.k,{children:c("change_password")}),Object(k.jsx)(m.g,{style:{display:"flex",alignItems:"center"},children:Object(k.jsx)(m.i,{style:{flex:1},children:Object(k.jsx)(b.a,{placeholder:c("password_detail"),inputProps:{style:m.u},style:{width:"100%"},type:"password",onChange:e=>o({...s,password:e.target.value})})})}),Object(k.jsx)(m.f,{children:(null===s||void 0===s||null===(t=s.password)||void 0===t?void 0:t.length)&&!Object(O.a)(s.password)?"kr"===y.a.get("lang")?p.kr.invalidPassword:p.en.invalidPassword:""}),Object(k.jsx)(m.g,{style:{display:"flex",alignItems:"center"},children:Object(k.jsx)(m.i,{style:{flex:1},children:Object(k.jsx)(b.a,{placeholder:c("enter_password_again"),inputProps:{style:m.u},style:{width:"100%"},type:"password",onChange:e=>o({...s,passwordRepeat:e.target.value})})})}),Object(k.jsx)(m.f,{children:(null===s||void 0===s||null===(n=s.passwordRepeat)||void 0===n?void 0:n.length)&&s.password!==s.passwordRepeat?"kr"===y.a.get("lang")?p.kr.passwordNotSame:p.en.passwordNotSame:""}),Object(k.jsx)(K,{children:Object(k.jsx)(g.a,{disabled:!d,fullWidth:!0,size:"large",onClick:()=>(async()=>{try{const e={nickname:C.a.getState().nickname,password:s.password},t=await w.a.post("/web/edit/info",e);if(!(null===t||void 0===t?void 0:t.data))return;const n="kr"===y.a.get("lang")?t.data.message_ko:t.data.message_en;S(!0),alert(n)}catch(e){console.log("error: ",e)}})(),children:c("change_password")})})]})})})}},218:function(e,t,n){"use strict";t.a=(e,t)=>{var n={lower:0,upper:0,alpha:1,numeric:1,special:1,length:[8,1/0],custom:[],badWords:[],badSequenceLength:0,noQwertySequences:!1,noSequential:!1};for(var i in t)n[i]=t[i];var r,c,l={lower:/[a-z]/g,upper:/[A-Z]/g,alpha:/[A-Z]/gi,numeric:/[0-9]/g,special:/[\W_]/g};if(e.length<n.length[0]||e.length>n.length[1])return!1;for(r in l)if((e.match(l[r])||[]).length<n[r])return!1;for(c=0;c<n.badWords.length;c++)if(e.toLowerCase().indexOf(n.badWords[c].toLowerCase())>-1)return!1;if(n.noSequential&&/([\S\s])\1/.test(e))return!1;if(n.badSequenceLength){var s="abcdefghijklmnopqrstuvwxyz",o=s.toUpperCase(),a=n.badSequenceLength-1,d="_"+e.slice(0,a);for(c=a;c<e.length;c++)if(d=d.slice(1)+e.charAt(c),s.indexOf(d)>-1||o.indexOf(d)>-1||"0123456789".indexOf(d)>-1||n.noQwertySequences&&"qwertyuiopasdfghjklzxcvbnm".indexOf(d)>-1)return!1}for(c=0;c<n.custom.length;
1c++)if((r=n.custom[c])instanceof RegExp){if(!r.test(e))return!1}else if(r instanceof Function&&!r(e))return!1;return!0}},624:function(e,t,n){"use strict";n.r(t);var i=n(1),r=n.n(i),c=n(118),l=(n(124),n(129)),s=n.n(l),o=n(925),a=n(919),d=n(882),h=n(918),j=n(121),u=n(138),b=n(130),g=n(217),x=n(10),f=n(2),m=n.n(f),p=n(6),y=n(131),O=n(896),w=n(184),v=n(153),C=n(7);class k extends r.a.Component{constructor(){super(...arguments),this.state={password:"",reason:"",radioNumber:1,showmodal:!1},this.onCloseModal=()=>{this.setState({showmodal:!1})},this.onClickRadioButtun=e=>{const t=e;1===t?this.setState({radioNumber:1}):2===t?this.setState({radioNumber:2}):3===t?this.setState({radioNumber:3}):4===t?this.setState({radioNumber:4}):5===t?this.setState({radioNumber:5}):6===t?this.setState({radioNumber:6}):7===t&&this.setState({radioNumber:7})},this.onSignOut=async()=>{const e=this.state.password,t=this.state.reason,n=this.state.radioNumber,{t:i}=this.props;if(0===e.length&&"email"===x.a.getState().register_type){let e="\ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.";return"kr"!==m.a.get("lang")&&(e="Please enter the password"),this.onCloseModal(),alert(e)}if(5===n&&0===t.length){let e="\ud0c8\ud1f4\uc774\uc720\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.";return"kr"!==m.a.get("lang")&&(e="Please enter the reason for withdrawal"),this.onCloseModal(),alert(e)}let r=i("sign_out_one");1===n?r=i("sign_out_one"):2===n?r=i("sign_out_two"):3===n?r=i("sign_out_three"):4===n?r=i("sign_out_four"):5===n?r=i("sign_out_five"):6===n?r=i("sign_out_six"):7===n&&(r=t);const c=await p.a.post("/web/delete/info",{password:e,reason:r});c&&("kr"===m.a.get("lang")?alert(c.data.message_ko):alert(c.data.message_en),this.props.history.push("/"),m.a.clearAll())},this.onShowModal=()=>{v.a.useDeActiveAccountEffect(),this.setState({showmodal:!0})}}render(){const{t:e}=this.props,{password:t,reason:n,showmodal:i,radioNumber:r}=this.state;return Object(C.jsxs)("div",{style:{flex:1,width:"100%"},children:[Object(C.jsx)(u.r,{title:e("deactivate_your_account")}),Object(C.jsx)(c.e,{bgcolor:"#dddddd",height:1}),Object(C.jsx)(c.t,{children:Object(C.jsxs)(c.c,{style:{maxWidth:500},children:[Object(C.jsx)(c.w,{sp:"2.7vw",style:{maxHeight:50,minHeight:25}}),"email"===x.a.getState().register_type&&Object(C.jsxs)(C.Fragment,{children:[Object(C.jsx)(u.h,{children:e("password")}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsx)(b.g,{style:{borderBottomColor:"#a0a0a0"},children:Object(C.jsx)(b.i,{children:Object(C.jsx)(o.a,{type:"password",placeholder:e("password_detail"),value:t,onChange:e=>{this.setState({password:e.target.value})},inputProps:{style:b.u},style:{width:"100%",borderBottom:"1px solid #999999"}})})}),Object(C.jsx)(c.w,{sp:"1.8vw",style:{maxHeight:40,minHeight:20}})]}),"kr"===m.a.get("lang")?Object(C.jsxs)(C.Fragment,{children:[Object(C.jsx)(u.h,{children:e("sign_out_greetings_hello_one_a")}),Object(C.jsx)(u.h,{children:e("sign_out_greetings_hello_one_b")}),Object(C.jsx)(u.h,{children:e("sign_out_greetings_hello_two_a")}),Object(C.jsx)(u.h,{children:e("sign_out_greetings_hello_two_b")})]}):Object(C.jsxs)(C.Fragment,{children:[Object(C.jsxs)(u.h,{children:[e("sign_out_greetings_hello_one_a"),e("sign_out_greetings_hello_one_b")]}),Object(C.jsxs)(u.h,{children:[e("sign_out_greetings_hello_two_a"),e("sign_out_greetings_hello_two_b")]})]}),Object(C.jsx)(c.w,{sp:"1.6vw",style:{maxHeight:30,minHeight:5}}),Object(C.jsxs)("div",{className:"radio-wrapper",children:[Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(1),children:[Object(C.jsx)("img",{alt:"",src:1===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_one")]}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(2),children:[Object(C.jsx)("img",{alt:"",src:2===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_two")]}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(3),children:[Object(C.jsx)("img",{alt:"",src:3===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_three")]}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(4),children:[Object(C.jsx)("img",{alt:"",src:4===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_four")]}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(5),children:[Object(C.jsx)("img",{alt:"",src:5===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_five")]}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(6),children:[Object(C.jsx)("img",{alt:"",src:6===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_six")]}),Object(C.jsx)(c.w,{sp:"0.6vw",style:{maxHeight:10,minHeight:5}}),Object(C.jsxs)(w.p,{onClick:()=>this.onClickRadioButtun(7),children:[Object(C.jsx)("img",{alt:"",src:7===r?j.a.icon_license_act:j.a.icon_license_nor,style:{marginRight:10}}),e("sign_out_seven")]}),Object(C.jsx)(c.w,{sp:"1.2vw",style:{maxHeight:40,minHeight:10}}),7===r&&Object(C.jsx)(h.a,{placeholder:e("sign_out_placeholder"),multiline:!0,rows:6,value:n,onChange:e=>{this.setState({reason:e.target.value})},variant:"outlined",InputProps:{style:{...b.u}},style:{width:"100%"}})]}),Object(C.jsx)(c.w,{sp:"1.8vw",style:{maxHeight:40,minHeight:20}}),Object(C.jsx)("div",{style:{fontFamily:"NSCJKrR",fontSize:16,textAlign:"center",wordBreak:"keep-all"},children:"kr"===m.a.get("lang")?Object(C.jsxs)(u.h,{children:[e("sign_out_greetings_bye_a"),e("sign_out_greetings_bye_b")]}):Object(C.jsxs)(C.Fragment,{children:[Object(C.jsx)(u.h,{children:e("sign_out_greetings_bye_a")}),Object(C.jsx)(u.h,{children:e("sign_out_greetings_bye_b")})]})}),Object(C.jsx)(c.w,{sp:"1.8vw",style:{maxHeight:40,minHeight:20}}),Object(C.jsxs)("div",{style:{fontFamily:"NSCJKrR",fontSize:16,color:"#e30000",textAlign:"center",wordBreak:"keep-all"},children:[Object(C.jsx)(g.c,{}),e("deactivate_caution")]}),Object(C.jsx)(c.w,{sp:"1.8vw",style:{maxHeight:40,minHeight:20}}),Object(C.jsx)(u.p,{onClick:this.onShowModal,children:e("deactivate_account")}
1),Object(C.jsx)(c.w,{sp:40})]})}),Object(C.jsx)(a.a,{style:{display:"flex",justifyContent:"center",alignItems:"center",zIndex:9999},open:i,onClose:this.onCloseModal,children:Object(C.jsx)(d.a,{in:i,children:Object(C.jsxs)(c.i,{style:{width:Object(y.b)()},onClose:this.onCloseModal,children:[Object(C.jsx)(c.k,{children:e("deactivate_your_account")}),Object(C.jsxs)("div",{style:{display:"flex",borderTop:"1px solid #eeeeee",alignItems:"center",justifyContent:"center",flexDirection:"column",textAlign:"center",paddingTop:10},children:[Object(C.jsx)(c.w,{sp:"1.4vw",style:{maxHeight:26,minHeight:16}}),Object(C.jsx)(s.a,{ratio:1,style:{backgroundImage:"url(".concat(j.a.icon_normal_avatar,")"),width:64,backgroundPosition:"center",backgroundSize:"cover",borderRadius:100}}),Object(C.jsx)(c.w,{sp:"1vw",style:{maxHeight:16,minHeight:8}}),Object(C.jsx)("div",{style:{fontFamily:"NSCJKrB",color:"black",fontSize:24,wordBreak:"break-all"},children:x.a.getState().email}),Object(C.jsx)(c.w,{sp:"1.4vw",style:{maxHeight:26,minHeight:16}}),"kr"===m.a.get("lang")?Object(C.jsxs)(C.Fragment,{children:[Object(C.jsx)("div",{style:{fontFamily:"NSCJKrM",color:"black",fontSize:20,wordBreak:"keep-all"},children:"\ud68c\uc6d0 \ud0c8\ud1f4\ud558\uc2dc\uaca0\uc2b5\ub2c8\uae4c?"}),Object(C.jsx)("div",{style:{fontFamily:"NSCJKrR",color:"black",fontSize:20,wordBreak:"keep-all"},children:"\ud68c\uc6d0\ud0c8\ud1f4\ud558\uc2dc\uba74 \ubaa8\ub4e0 \ub370\uc774\ud130\uac00 \uc0ad\uc81c\ub429\ub2c8\ub2e4."})]}):Object(C.jsxs)(C.Fragment,{children:[Object(C.jsx)("div",{style:{fontFamily:"NSCJKrM",color:"black",fontSize:20,wordBreak:"keep-all"},children:"We're sorry to see you go. Before you leave.."}),Object(C.jsx)("div",{style:{fontFamily:"NSCJKrR",color:"black",fontSize:20,wordBreak:"keep-all"},children:"Deactivating your account is final. You will be removed from all comunication and you will not be able to recover your account."}),Object(C.jsx)("div",{style:{fontFamily:"NSCJKrM",color:"black",fontSize:20,wordBreak:"keep-all"},children:"Some information may still be visible to others, such as your name if you have purchased their designs."})]})]}),Object(C.jsx)(c.w,{sp:"3vw",style:{maxHeight:54,minHeight:24}}),Object(C.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[Object(C.jsx)(c.j,{onClick:this.onCloseModal,style:{backgroundColor:"#cccccc"},children:e("cancel")}),Object(C.jsx)(c.f,{sp:10}),Object(C.jsx)(c.j,{onClick:this.onSignOut,style:{backgroundColor:"#ff8a06"},children:e("confirm")})]})]})})})]})}}t.default=Object(O.a)()(k)}}]);
2//# sourceMappingURL=57.083d3ad8.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.