1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[682],{38262:function(e,o,c){c.d(o,{Z:function(){return r}});var t=c(11527),n=c(73907);let l=n.ZP.div.withConfig({componentId:"sc-bbc3a8f3-0"})(["display:flex;align-items:center;gap:10px;user-select:none;.gap-lg{gap:14px;}&.border{border-bottom:1px solid #f2f3f5;}&.active:hover{cursor:pointer;}"]),i=n.ZP.div.withConfig({componentId:"sc-bbc3a8f3-1"})(["flex:none;display:flex;justify-content:center;align-items:center;border:1px solid #dcdfe4;background-color:#ffffff;transition:all 0.3s ease-in-out;&.sm{width:16px;height:16px;border-radius:4px;border-width:1.5px;}&.lg{width:20px;height:20px;border-radius:5px;border-width:1.2px;}&.xl{width:24px;height:24px;border-radius:5px;border-width:1.5px;}&:hover{border-color:$gray40;}&.checked{background-color:#2f60ff;border-style:none;}&.disabled{background-color:#ebedf0;border-style:none;}&.highlight{background-color:#2f60ff;border-style:none;}"]);var d=c(30015);c(50959);var s=c(24113),r=e=>{let{size:o="sm",gap:c="sm",disabled:n=!1,label:r,labelFont:a="body-16-140-500",isChecked:p,isHighlight:u,setIsChecked:m,onChange:h,labelCustomClassName:x,borderBottom:f,children:b}=e;return(0,t.jsx)(l,{className:"".concat(!n&&"active"," gap-").concat(c," ").concat(f&&"border"),onClick:e=>{e.stopPropagation(),e.preventDefault(),n||(null==h||h(!p),m(!p))},children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i,{className:"".concat(p&&"checked"," ").concat(n&&"disabled"," ").concat(o," ").concat(u&&"highlight"),children:(p&&!n||u)&&(0,t.jsx)(s.Z,{iconName:"
1check",size:"sm"===o?8:"lg"===o?10:14})}),r&&(0,t.jsx)(d.Z,{className:a,customClassName:x,children:r}),b]})})}},22324:function(e,o,c){c.d(o,{Z:function(){return r}});var t=c(11527),n=c(78044),l=c(64247),i=c(73907);let d=i.ZP.div.withConfig({componentId:"sc-714faa2a-0"})(["width:100%;padding:30px 30px 0;position:sticky;top:0;z-index:10;background-color:",";"],n.w.white),s=i.ZP.h4.withConfig({componentId:"sc-714faa2a-1"})(["",";"],l.Z.headline_24_130_bold);var r=e=>{let{title:o}=e;return(0,t.jsx)(d,{children:(0,t.jsx)(s,{children:o})})}},50682:function(e,o,c){c.r(o),c.d(o,{default:function(){return T}});var t=c(11527),n=c(2497),l=c(92292),i=c(50959),d=c(87517),s=c(73907),r=c(64247),a=c(78044);let p=s.ZP.div.withConfig({componentId:"sc-e8a36ae1-0"})(["padding:30px 24px calc(120px + 100lvh - 100svh);overflow-y:scroll;","{width:460px;padding:30px 30px 125px;}"],d.gv),u=s.ZP.div.withConfig({componentId:"sc-e8a36ae1-1"})(["display:flex;flex-direction:column;gap:24px;"]),m=s.ZP.div.withConfig({componentId:"sc-e8a36ae1-2"})(["display:flex;flex-direction:column;gap:8px;.title{",";color:",";}.description{",";color:",";white-space:pre-wrap;}.list{",";color:",";}"],r.Z.title_18_140_semiBold,a.w.black111,r.Z.body_16_150_regular,a.w.black111,r.Z.body_16_150_regular,a.w.gray6),h=s.ZP.div.withConfig({componentId:"sc-e8a36ae1-3"})(["display:flex;flex-direction:column;gap:6px;.checkbox-label{",";color:",";}"],r.Z.title_15_130_medium,a.w.black111);var x=c(81514),f=c(24113),b=c(53886),g=c(38262),v=c(22324);let w=s.ZP.div.withConfig({componentId:"sc-cc5abd6a-0"})(["position:fixed;bottom:0;left:0;width:100%;padding:16px 20px calc(16px + 100lvh - 100svh);background:#fff;border-top:1px solid ",";display:flex;justify-content:center;gap:8px;"],a.w.gray1),j=s.ZP.button.withConfig({componentId:"sc-cc5abd6a-1"})(["display:flex;justify-content:center;align-items:center;width:100%;padding:17px 0;border-radius:8px;",";","{width:auto;padding:17px 40px;}&:disabled{opacity:0.5;cursor:default;}"],r.Z.label_16_100_semiBold,d.gv),k=(0,s.ZP)(j).withConfig({componentId:"sc-cc5abd6a-2"})(["background-color:",";color:",";"],a.w.gray0,a.w.gray7),C=(0,s.ZP)(j).withConfig({componentId:"sc-cc5abd6a-3"})(["background-color:#44f;color:",";"],a.w.white);function y(e){let{children1:o,onClick1:c,disabled1:n,children2:l,onClick2:i,disabled2:d}=e;return(0,t.jsxs)(w,{children:[(0,t.jsx)(k,{onClick:c,disabled:n,children:o}),(0,t.jsx)(C,{onClick:i,disabled:d,children:l})]})}var Z=c(25500),_=c(93877),N=c(73203),I=c(12442),P=c(16334),B=c(15229),z=c(85074),D=c(86312),S=c(30969),T=e=>{let{close:o}=e,{address:c}=(0,N.Tj)(),{mutate:d}=(0,_.xc)(),{openModal:s,closeAll:r}=(0,Z.B)(),{logout:a}=(0,z.Z)(),{mutate:w}=(0,_.J7)(),{setIsOpenLoading:j}=(0,D.p)(),{push:k}=(0,S.useRouter)(),{t:C}=(0,b.$G)(["community","common"]),T=(0,x.Z)("smDesktop"),[E,F]=(0,i.useState)({first:!1,second:!1}),H=async()=>{if(!c)return;let e=async e=>{if(c)try{let{connector:o}=(0,I.D)(B.vc);return await (0,P.l)(B.vc,{connector:o,message:"Withdraw to wemix.com : ".concat(c.toLowerCase()," : ").concat(e)})}catch(e){return console.error(e),null}};j(!0,"Connect Wallet"),d(c,{onSuccess:async o=>{let{nonce:c}=o,t=await e(c);if(!t){j(!1);return}w({signature:t},{onSuccess:()=>{var e,o;s({type:"Common/NewDefault",props:{title:null!==(e=C("common:account.delete.popup.complete.title"))&&void 0!==e?e:"",subTitle:null!==(o=C("common:account.delete.popup.complete.desc"))&&void 0!==o?o:"",onClick:()=>{j(!1),r(),a(),k("/community")}}})},onError:e=>{var o,c,t,n;1===(null==e?void 0:null===(c=e.response)||void 0===c?void 0:null===(o=c.data)||void 0===o?void 0:o.errorCode)&&s({type:"Common/NewDefault",props:{title:null!==(t=C("common:account.delete.error.popup.1.title"))&&void 0!==t?t:"",buttonText:null!==(n=C("common:account.delete.error.popup.1.button"))&&void 0!==n?n:""}}),j(!1)}})}})};return(0,t.jsxs)(n.Z,{isOpen:!0,onClose:o,showCloseIcon:T,styles:{root:{zIndex:900}},children:[T?(0,t.jsx)(v.Z,{title:C("common:account.delete.popup.title")}):(0,t.jsx)(l.Z,{title:C("common:account.delete.popup.title"),leftButton:!T&&(0,t.jsx)("button",{type:"button",onClick:o,children:(0,t.jsx)(f.Z,{iconName:"icon_common_prev",size:20})}),isBorderBottomHidden:T}),(0,t.jsxs)(p,{children:[(0,t.jsxs)(u,{children:[(0,t.jsxs)(m,{children:[(0,t.jsx)("h5",{className:"title",children:C("common:account.delete.popup.1.title")}),(0,t.jsx)("p",{className:"description",children:C("common:account.delete.popup.1.desc")})]}),(0,t.jsxs)(m,{children:[(0,t.jsx)("h5",{className:"title",children:C("common:account.delete.popup.2.title")}),(0,t.jsx)("p",{className:"description",children:C("common:account.delete.popup.2.desc")}),(0,t.jsxs)("div",{className:"list",children:[C("common:account.delete.popup.2.list1"),(0,t.jsx)("br",{}),C("common:account.delete.popup.2.list2"),(0,t.jsx)("br",{}),C("common:account.delete.popup.2.list3"),(0,t.jsx)("br",{}),C("common:account.delete.popup.2.list4"),(0,t.jsx)("br",{}),C("common:account.delete.popup.2.list5"),(0,t.jsx)("br",{}),C("common:account.delete.popup.2.list6")]})]}),(0,t.jsxs)(m,{children:[(0,t.jsx)("h5",{className:"title",children:C("common:account.delete.popup.3.title")}),(0,t.jsx)("p",{className:"description",children:C("common:account.delete.popup.3.desc")})]}),(0,t.jsxs)(m,{children:[(0,t.jsx)("h5",{className:"title",children:C("common:account.delete.popup.4.title")}),(0,t.jsx)("p",{className:"description",children:C("common:account.delete.popup.4.desc")})]}),(0,t.jsxs)(h,{children:[(0,t.jsx)(g.Z,{isChecked:E.first,setIsChecked:()=>{F(e=>({...e,first:!e.first}))},children:(0,t.jsx)("span",{className:"checkbox-label",children:C("common:account.delete.popup.checkbox1")})}),(0,t.jsx)(g.Z,{isChecked:E.second,setIsChecked:()=>{F(e=>({...e,second:!e.second}))},children:(0,t.jsx)("span",{className:"checkbox-label",children:C("common:account.delete.popup.checkbox2")})})]})]}),(0,t.jsx)(y,{onClick1:o,children1:(0,t.jsx)(t.Fragment,{children:C("common:account.delete.popup.cancel")}),onClick2:()=>{var e,o,c,t;s({type:"Common/NewSelect",props:{title:null!==(e=C("common:account.delete.popup.select.title"))&&void 0!==e?e:"",subTitle:null!==(o=C("common:account.delete.popup.select.desc"))&&void 0!==o?o:"",cancelBtn:null!==(c=C("common:account.delete.popup.cancel"))&&void 0!==c?c:"",confirmBtn:null!==(t=C("common:account.delete.popup.delete"))&&void 0!==t?t:"",onClickConfirm:H,isButtonHorizontal:!0,confirmBtnBg:"blue"}})},children2:(0,t.jsx)(t.Fragment,{children:C("common:account.delete.popup.agree")}),disabled2:!E.first||!E.second})]})]})}}}]);
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.