1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9364],{43183:function(e,n,t){e.exports=function(e){"use strict";function n(e,n,i,r){return void 0===n&&(n={}),Object.keys(n).reduce((function(a,o){if(/^on.*/.test(o))return a;var c=o;/^(data|aria)-/.test(o)||0===i.filter((function(e){return e instanceof RegExp?e.test(o):e===o})).length&&(c=t(o));var l,s,d=r(e,c);if("style"===d.name)a[d.name]=(l=n.style,s={},l.split(";").filter((function(e){return""!==e.trim()})).forEach((function(e){var n,i=e.split(":");if(i.length>1){var r=function(e){return/^-ms-/.test(e)&&(e=e.substr(1)),e.startsWith("--")?e:t(e)}(i[0].trim()),a=(n=i.slice(1).join(":").trim(),/^\d+$/.test(n)?Number(n):n.replace(/'/g,'"'));s[r]=a}})),s);else{var u=n[o],m=""===u||String(u).toLowerCase()===c.toLowerCase();a[d.name]=d.isBoolean?m:u}return a}),{})}function t(e){return e.replace(/(-|:)(.)/g,(function(e,n,t){return t.toUpperCase()}))}e=e&&e.hasOwnProperty("default")?e.default:e;var i=["table","tbody","thead","tfoot","tr"],r={for:"htmlFor",class:"className",allowfullscreen:["allowFullScreen","allowFullscreen"],autocomplete:"autoComplete",autofocus:["autoFocus"],contenteditable:"contentEditable",spellcheck:"spellCheck",srcdoc:"srcDoc",srcset:"srcSet",itemscope:"itemScope",itemprop:"itemProp",itemtype:"itemType"};function a(e,n){var t=r[n],i=document.createElement(e);if(t)return{name:Array.isArray(t)?t[0]:t,isBoolean:o(i,Array.isArray(t)?t[1]||n:t)};for(var a in i)if(a.toLowerCase()===n.toLowerCase())return{name:a,isBoolean:o(i,a)};return{name:n,isBoolean:o(i,n)}}function o(e,n){return e.setAttribute(n,""),!0===e[n]||c.indexOf(n)>-1}var c=["itemScope"];function l(n,t,i,r){void 0===r&&(r=null);var a=i[n],o=i._;return a?e.createElement(a,t,r):o?o(n,t,r):e.createElement(n,t,r)}return function(e,t){if(void 0===t&&(t={}),"string"!=typeof e)throw new TypeError("Expected HTML string");var r=document.createElement("div");r.innerHTML=e.trim();var o=Array.from(r.childNodes).map((function(e,r){return function e(t,r,o){var c=o.transform||{},s=o.preserveAttributes||[],d=o.dangerouslySetChildren||["style"],u=c._;if(8===t.nodeType)return null;if(3===t.nodeType){var m=t.textContent;return u?u(m):m}for(var x={},p=t.attributes,h=0;h<p.length;h++)x[p[h].name]=p[h].value;x.key=r.toString();var v=t.tagName.toLowerCase(),f=n(v,x,s,a),j=Array.from(t.childNodes).map((function(n,t){return i.indexOf(v)>-1&&3===n.nodeType&&(n.textContent=n.textContent.trim(),""===n.textContent)?null:e(n,r+"."+t,o)})).filter(Boolean);if(d.indexOf(v)>-1){var g=t.innerHTML;return g&&("style"!==v&&"script"!==v&&(g=g.replace(/"/g,""")),f.dangerouslySetInnerHTML={__html:g.trim()}),l(v,f,c)}var N=0===j.length?null:j;return l(v,f,c,N)}(e,String(r),t)})).filter(Boolean);return 1===o.length?o[0]:o}}(t(50959))},22774:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/otc/orderInfo/[id]",function(){return t(58581)}])},17709:function(e,n,t){"use strict";t.d(n,{F:function(){return c}});var i=t(12881),r=i.Zr.getOrigin,a=i.cf.XtAxios,o=r("www")+"/uaapi/uaa/";function c(e){return a.post(o+"authorize/passwd/publicKey",null,e)}},85030:function(e,n,t){"use strict";t.d(n,{c:function(){return x}});var i=t(11527),r=(t(50959),t(5)),a=t.n(r),o=t(79360),c=t(23694),l=t.n(c),s=t(32744),d=t.n(s);function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function m(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){u(e,n,t[n])}))}return e}var x=function(e){var n=e.checked,t=e.onChange,r=e.label,c=e.className,s=e.containerStyle,u=e.backgroundColor,x=e.padding,p=e.borderRadius,h=e.textColor,v=e.fontSize,f=e.fontWeight,j=e.lineHeight,g=e.textStyle,N=e.checkboxSize,y=e.checkboxBorderColor,M=e.checkboxBorderWidth,_=e.checkboxBorderRadius,b=e.checkboxBackgroundColor,T=(e.checkboxCheckedColor,e.checkboxMarkColor,e.checkboxStyle),I=e.theme,C="dark"===(void 0===I?"dark":I)?l():d(),D=m({backgroundColor:u,padding:x,borderRadius:p},s),A=m({display:"flex",alignItems:"center",color:h,fontSize:v,fontWeight:f},j&&{lineHeight:j},g),w=m({},N&&{width:N,height:N},_&&{borderRadius:_},n?{borderColor:"transparent",borderWidth:0,backgroundColor:"transparent"}:m({},y&&{borderColor:y},M&&{borderWidth:M},b&&{backgroundColor:b}),T);return(0,i.jsxs)("label",{className:"".concat(a().noticeBox," ").concat(c||""),style:D,children:[(0,i.jsx)("input",{type:"checkbox",checked:n,onChange:function(e){return t(e.target.checked)},className:a().checkbox}),(0,i.jsx)("div",{className:a().checkboxCustom,style:w,children:n&&(0,i.jsx)("div",{className:a().checkboxMark,children:(0,i.jsx)(o.Z,{src:C,style:{height:"13.5px",width:"13.5px"}})})}),r&&(0,i.jsx)("div",{className:a().noticeText,style:A,children:r})]})}},83595:function(e,n,t){"use strict";
1var i=t(11527),r=t(14900),a=t(79360),o=t(12881),c=t(7156),l=t(43168),s=t.n(l),d=t(82187),u=t.n(d),m=t(42387),x=t(26045),p=t.n(x),h=t(50959),v=t(20921),f=t.n(v);function j(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function g(e,n){if(null==e)return{};var t,i,r=function(e,n){if(null==e)return{};var t,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var N=o.Px.useTranslation,y=o.Px.FormattedMessage;n.Z=(0,m.Pi)((function(e){var n,t,o,l=e.title,d=e.open,m=e.onCancel,x=g(e,["title","open","onCancel"]),v=N(),M=(0,r.oR)().account,_=M.isLogin,b=(M.faData,M.fetchUserInfo);(0,h.useEffect)((function(){_&&b()}),[b,_]);var T=(0,h.useMemo)((function(){var e=["",v("newAccount.safeLow"),v("newAccount.safeMiddle"),v("newAccount.safeHigh")],n=["",f().lever1,f().lever2,f().lever3];return{lab:e[M.faEnableLen],cls:n[M.faEnableLen]}}),[M.faEnableLen,v]),I=(0,h.useMemo)((function(){var e,n={};return null===(e=M.faData)||void 0===e||e.map((function(e){return n[e.type]=e})),n}),[M.faData]);return(0,h.useEffect)((function(){_&&M.getFaData()}),[_,M]),(0,i.jsx)(c.Z,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){j(e,n,t[n])}))}return e}({open:d,width:400,centered:!0,className:f().main,closeIcon:(0,i.jsx)(a.Z,{className:"svgIcon",src:s()}),maskClosable:!1,onCancel:m,footer:null},x,{children:(0,i.jsxs)("div",{className:f().content,children:[(0,i.jsx)("div",{className:f().title1,children:(0,i.jsx)(y,{id:"2fa.C2CLevelTip",values:{0:(0,i.jsx)("span",{className:f().title1Low,children:v("newAccount.safeLow")})}})}),(0,i.jsx)("div",{className:f().title2,children:l}),(0,i.jsxs)("div",{className:f().levelDiv,children:[(0,i.jsx)("span",{children:v("google.level")}),(0,i.jsxs)("div",{className:T.cls,children:[(0,i.jsx)("i",{}),(0,i.jsx)("i",{}),(0,i.jsx)("i",{})]}),(0,i.jsx)("span",{children:T.lab})]}),(0,i.jsxs)("div",{className:f().ul,children:[1!=(null===(n=I.EMAIL)||void 0===n?void 0:n.enable)&&(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:v("account.email")}),(0,i.jsx)(p(),{href:"/accounts/user/security-center",children:(0,i.jsx)("button",{className:u()("btnTxt"),children:v("account.enable")})})]}),1!=(null===(t=I.MOBILE)||void 0===t?void 0:t.enable)&&(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:v("mobile.mobile")}),(0,i.jsx)(p(),{href:"/accounts/user/security-center",children:(0,i.jsx)("button",{className:u()("btnTxt"),children:v("account.enable")})})]}),1!=(null===(o=I.GA)||void 0===o?void 0:o.enable)&&(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{children:v("newAccount.ga")}),(0,i.jsx)(p(),{href:"/accounts/user/security-center",children:(0,i.jsx)("button",{className:u()("btnTxt"),children:v("account.enable")})})]})]})]})}))}))},27183:function(e,n,t){"use strict";var i=t(11527),r=(t(50959),t(57827)),a=t.n(r),o=t(82187),c=t.n(o);n.Z=function(e){var n=e.style,t=e.className,r=e.transparentBg;return(0,i.jsx)("div",{className:c()(a().main,t,r?a().hasBg:""),style:n,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{}),(0,i.jsx)("div",{})]})})}},58581:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return ot},default:function(){return ct}});var i=t(11527),r=t(42387),a=t(18489),o=t(12881),c=t(44570),l=t(50959),s=t(67274),d=t.n(s),u=t(76016),m=t.n(u),x=t(13871),p=t.n(x),h=t(22399);function v(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}function f(e){var n=e.timeStart,t=void 0===n?0:n,r=e.timeRange,a=void 0===r?0:r,o=e.timeType,c=void 0===o?0:o,s=e.done,d=void 0===s?function(){}:s,u=e.isButtonStyle,x=void 0!==u&&u,f=e.onTimeUpdate,j=void 0===f?null:f,g=(0,l.useState)(""),N=g[0],y=g[1],M=(0,l.useState)(!0),_=M[0],b=M[1],T=(0,l.useState)(!1),I=T[0],C=T[1],D=(0,l.useRef)(null),A=(0,l.useRef)(!1),w=(0,l.useRef)(d);w.current=d;var S=function(){null!==D.current&&(clearInterval(D.current),D.current=null)},O=function(e){var n=Math.floor(e/36e5),t=Math.floor(e%36e5/6e4),i=Math.floor(e%6e4/1e3),r=e<=3e5;C(r),j&&j({minutes:t,seconds:i,isUrgent:r});var a="";return n>0&&(a+=(n<10?"0"+n:n)+":"),a+=(t<10?"0"+t:t)+":",a+=i<10?"0"+i:i};(0,l.useEffect)((function(){var e=0,n=function(){var n,i=(n=m().mark((function n(){var i,r,o,l;return m().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!A.current){n.next=2;break}return n.abrupt("return");case 2:return A.current=!0,S(),n.prev=4,n.next=7,(0,h.bp)();case 7:i=n.sent,r=i.last,o=Number(t),n.t0=c,n.next=0===n.t0?13:1===n.t0?15:2===n.t0?17:19;break;case 13:return o+=36e5*a,n.abrupt("break",19);case 15:return o+=6e4*a,n.abrupt("break",19);case 17:return o+=1e3*a,n.abrupt("break",19);case 19:if(!((e=o-r)<=0)){n.next=25;break}return b(!1),null===(l=w.current)||void 0===l||l.call(w),n.abrupt("return");case 25:b(!0),y(O(e)),D.current=window.setInterval((function(){var n;(e-=1e3)<1e3?(S(),b(!1),null===(n=w.current)||void 0===n||n.call(w)):y(O(e))}),1e3),n.next=33;break;case 30:n.prev=30,n.t1=n.catch(4);case 33:return n.prev=33,A.current=!1,n.finish(33);case 36:case"end":return n.stop()}}),n,null,[[4,30,33,36]])})),function(){var e=this,t=arguments;return new Promise((function(i,r){var a=n.apply(e,t);function o(e){v(a,i,r,o,c,"next",e)}function c(e){v(a,i,r,o,c,"throw",e)}o(void 0)}))});return function(){return i.apply(this,arguments)}}();return n(),S}),[t,a,c]);var z=_&&N||"00:00",L=Array.from(z);return x?(0,i.jsxs)("span",{className:p().countDown1,children:["(",z,")"]}):(0,i.jsx)("span",{className:p().countDown,children:L.map((function(e,n){return(0,i.jsx)("span",{className:":"===e?p().colon:I?p().timeBlockUrgent:p().timeBlock,children:e},n)}))})}var j=t(35379),g=t.n(j),N=t(24841),y=t(91676),M=t(27183);function _(e){var n=e.record,t=(0,y.$G)(),r=(0,l.useState)({minutes:0,seconds:0,isUrgent:!1}),a=r[0],o=r[1],c=function(e){o(e)};return(0,i.jsx)("div",{className:g().statusBox,children:(0,i.jsx)("div",{className:g().left,children:function(){switch(n.status){case 0:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusRow,children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("fund.TobeReviewed")})]}),n.receiptLimitTime&&(0,i.jsx)("div",{className:g().countdownWrapper,children:(0,i.jsx)(f,{timeStart:n.createTime,timeRange:n.receiptLimitTime,timeType:1})})]}),(0,i.jsx)("div",{className:g().headTips,children:(0,i.jsx)("div",{className:g().headTipText,children:t("otc.newWaitingPayment.17")})})]});case 1:return(0,i.jsx)(i.Fragment,{children:n.isNeedVerify&&!n.isCompleteVerify?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusRow,children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:[(0,i.jsx)("span",{className:"\u5356\u51fa"===n.orderType?g().headSell:g().headBuy,children:"\u5356\u51fa"===n.orderType?t("otc.Sell"):t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.pendingVerify")})]}),(2===n.type?n.acceptorRepayLimitTime:n.repayLimitTime)&&(0,i.jsx)("div",{className:g().countdownWrapper,children:2===n.type?n.acceptorRepayLimitTime&&(0,i.jsx)(f,{timeStart:n.receiptTime,timeRange:n.acceptorRepayLimitTime,timeType:1,onTimeUpdate:c}):n.repayLimitTime&&(0,i.jsx)(f,{timeStart:n.receiptTime,timeRange:n.repayLimitTime,timeType:1,onTimeUpdate:c})})]}),(0,i.jsx)("div",{className:g().headTips,children:(0,i.jsx)("div",{className:g().headTipText,children:t("otc.pendingVerifyTip1")})})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusRow,children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:[(0,i.jsx)("span",{className:"\u5356\u51fa"===n.orderType?g().headSell:g().headBuy,children:"\u5356\u51fa"===n.orderType?t("otc.Sell"):t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.pendingPayment")})]}),(2===n.type?n.acceptorRepayLimitTime:n.repayLimitTime)&&(0,i.jsx)("div",{className:g().countdownWrapper,children:2===n.type?n.acceptorRepayLimitTime&&(0,i.jsx)(f,{timeStart:n.receiptTime,timeRange:n.acceptorRepayLimitTime,timeType:1,onTimeUpdate:c}):n.repayLimitTime&&(0,i.jsx)(f,{timeStart:n.receiptTime,timeRange:n.repayLimitTime,timeType:1,onTimeUpdate:c})})]}),(0,i.jsx)("div",{className:g().headTips,children:a.isUrgent?(0,i.jsx)("div",{className:g().headTipText,children:t("otc.countdownTip",{minutes:String(a.minutes).padStart(2,"0"),seconds:String(a.seconds).padStart(2,"0")})}):(0,i.jsx)("div",{className:g().headTipText,children:t("otc.pendingVerifyTip1")})})]})});case 2:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:[(0,i.jsx)("span",{className:"\u5356\u51fa"===n.orderType?g().headSell:g().headBuy,children:"\u5356\u51fa"===n.orderType?t("otc.Sell"):t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.Completed")})]}),(0,i.jsxs)("div",{className:g().headTime,children:[(0,i.jsx)("div",{className:g().headTimeText,children:t("otc.CompletionTime")}),(0,i.jsx)("div",{children:(0,N.Yp)(n.endTime)})]})]});case 3:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusRow,children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.paid")})]}),(2===n.type&&n.acceptorConfirmLimitTime||n.confirmLimitTime)&&(0,i.jsx)("div",{className:g().countdownWrapper,children:2===n.type&&n.acceptorConfirmLimitTime?(0,i.jsx)(f,{timeStart:n.repayTime,timeRange:n.acceptorConfirmLimitTime,timeType:1}):n.confirmLimitTime?(0,i.jsx)(f,{timeStart:n.repayTime,timeRange:n.confirmLimitTime,timeType:1}):null})]}),(0,i.jsx)("div",{className:g().headTips,children:(0,i.jsx)("div",{className:g().headTipText,children:"\u5356\u51fa"===n.orderType?t("otc.newWaitingConfirm.01"):t("otc.newWaitingConfirm")})})]});case 4:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.AppealIng")})]}),(0,i.jsx)("div",{className:g().headTime,children:(0,i.jsx)("div",{className:g().headTimeText,children:n.appealUserId===n.userId?t("otc.ConfirmationTimeout.02"):t("ORDER_BE_APPEALED")}
1)})]});case 6:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusRow,children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.PaymentTimeout")})]}),(2===n.type&&n.acceptorAppealLimitTime||n.appealLimitTime)&&(0,i.jsx)("div",{className:g().countdownWrapper,children:2===n.type&&n.acceptorAppealLimitTime?(0,i.jsx)(f,{timeStart:n.endTime,timeRange:n.acceptorAppealLimitTime,timeType:1}):n.appealLimitTime?(0,i.jsx)(f,{timeStart:n.endTime,timeRange:n.appealLimitTime,timeType:1}):null})]}),(0,i.jsx)("div",{className:g().headTips,children:(0,i.jsx)("div",{className:g().headTipText,children:t("otc.newWaitingPayment.01")})})]});case 7:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.ConfirmationTimeout")})]}),(0,i.jsx)("div",{className:g().headTime,children:(0,i.jsx)("div",{className:g().headTimeText,children:"\u5356\u51fa"===n.orderType?t("otc.ConfirmationTimeout.01.1"):t("otc.ConfirmationTimeout.01")})})]});case 8:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsxs)("span",{className:g().headBuy,children:[" ",t("otc.Buy")," "]}),(0,i.jsx)("span",{className:g().headStart,children:t("otc.CancelOrder")})]}),(0,i.jsxs)("div",{className:g().headTime,children:[(0,i.jsxs)("span",{className:g().cancelTime,children:[t("otc.CancelTime"),"\uff1a"]}),(0,i.jsx)("span",{className:g().value,children:(0,N.Yp)(n.cancelTime)})]})]});case 9:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("fund.TobeReviewed")})]}),(0,i.jsxs)("div",{className:g().headTime,children:[(0,i.jsx)("div",{className:g().headTimeText,children:t("otc.newWaitingPayment.17")}),n.receiptLimitTime&&(0,i.jsx)(f,{timeStart:n.receiptTime,timeRange:n.receiptLimitTime,timeType:1})]}),(0,i.jsx)(M.Z,{transparentBg:!0})]});case 10:return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:g().headStatusLeft,children:["\u5356\u51fa"===n.orderType?(0,i.jsx)("span",{className:g().headSell,children:t("otc.Sell")}):(0,i.jsx)("span",{className:g().headBuy,children:t("otc.Buy")}),(0,i.jsx)("span",{className:g().headStart,children:t("finance.processing")})]}),(0,i.jsxs)("div",{className:g().headTime,children:[(0,i.jsx)("div",{className:g().headTimeText,children:t("OTC_1061")}),n.repayLimitTime&&(0,i.jsx)(f,{timeStart:n.createTime,timeRange:n.repayLimitTime,timeType:1})]}),(0,i.jsx)(M.Z,{transparentBg:!0})]});default:return null}}()})})}var b=t(19740),T=t(52181),I=t(39041),C=t(86398),D=t.n(C),A=t(29634),w=t(79360),S=t(20679),O=t.n(S);function z(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}var L=function(e){return new Promise((function(n,t){var i=new FileReader;i.onload=function(){return n(i.result)},i.onerror=t,i.readAsDataURL(e)}))};function k(e){var n=e.orderId,t=void 0===n?"":n,r=e.onChangeImg,a=e.children,o=(0,l.useState)(!1),c=o[0],s=o[1],d=(0,l.useState)(""),u=(d[0],d[1]),x=(0,l.useState)(!1),p=x[0],h=x[1],v=(0,y.$G)(),f=(0,l.useMemo)((function(){return"/exchange-otc/api/web/1_0_0/upload-chat-file?orderId=".concat(t)}),[t]),j=(0,l.useMemo)((function(){var e=A.Z.get("token");return{token:e,Authorization:"Bearer ".concat(e),device:"web",isoff:"false"}}),[]),g=(0,l.useCallback)((function(e){return e.size/1024/1024<12?(h(!1),!0):(b.ZP.error(v("otc.FilesSizeNew",{v1:12})),h(!0),T.Z.LIST_IGNORE)}),[]),N=(0,l.useCallback)(function(){var e,n=(e=m().mark((function e(n){var t,i,a,o,c,l,d,x,h;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.file,!p){e.next=3;break}return e.abrupt("return");case 3:if("uploading"!==t.status){e.next=6;break}return s(!0),e.abrupt("return");case 6:if("done"!==t.status){e.next=31;break}if((i=t.response)&&200===i.code){e.next=13;break}return b.ZP.error(v(null===i||void 0===i||null===(a=i.msgInfo)||void 0===a?void 0:a.template,null===i||void 0===i?void 0:i.args)||v("upload_photo_fail")),s(!1),e.abrupt("return");case 13:return e.prev=13,e.next=17,L(t.originFileObj);case 17:c=e.sent,u(c),l=(null===(o=t.response)||void 0===o?void 0:o.data)||{},d=l.filePath,x=l.channelFileUrl,h=l.fileType,null===r||void 0===r||r({filePath:d,channelFileUrl:
1x,fileType:h}),e.next=26;break;case 23:e.prev=23,e.t0=e.catch(13);case 26:return e.prev=26,s(!1),e.finish(26);case 29:e.next=32;break;case 31:"error"===t.status&&(s(!1),b.ZP.error(v("upload_photo_fial")));case 32:case"end":return e.stop()}}),e,null,[[13,23,26,29]])})),function(){var n=this,t=arguments;return new Promise((function(i,r){var a=e.apply(n,t);function o(e){z(a,i,r,o,c,"next",e)}function c(e){z(a,i,r,o,c,"throw",e)}o(void 0)}))});return function(e){return n.apply(this,arguments)}}(),[p]),M=(0,i.jsx)("div",{className:D().uploadInner,children:c?(0,i.jsx)(I.Z,{size:"small"}):(0,i.jsx)(w.Z,{src:O(),style:{width:20,height:20}})});return(0,i.jsx)(T.Z,{listType:"picture-card",showUploadList:!1,accept:".png,.jpg,.jpeg,video/*",name:"file",action:f,headers:j,beforeUpload:g,onChange:N,className:D().uploadAuth,children:a||M})}var E=t(68321),P=t.n(E),B=t(82187),U=t.n(B),R=t(38209),Z=t.n(R),Q=t(99963),F=t.n(Q),W=t(93771),G=A.Z.get("token");var Y=t(33034),H=t.n(Y),V=t(31703),J=t(12823),K=t(23377),X=function(e){var n=e.src;return(0,i.jsx)("div",{className:H().customDot,children:(0,i.jsx)("img",{src:n,alt:"dot",width:20,height:20})})};function q(e){var n=e.children,t=e.extraClass;return(0,i.jsx)("div",{className:t?H().otcCopyTitle1:H().otcCopyTitle,children:n})}var $=function(e){var n=e.children;return(0,i.jsx)("div",{className:H().infoCard,children:(0,i.jsx)("div",{className:H().cardBody,children:n})})};function ee(e){var n=e.label,t=e.value,r=e.tooltip,a=e.className;return(0,i.jsxs)("div",{className:U()(a,H().flexRow),children:[(0,i.jsx)("div",{className:H().label,children:r?(0,i.jsx)(J.Z,{title:r,overlayClassName:"otc-at-inner",placement:"top",children:(0,i.jsxs)("span",{style:{cursor:"pointer",display:"inline-flex",alignItems:"center"},children:[n,(0,i.jsx)("img",{src:K.Z,alt:"",style:{width:14,height:14,marginLeft:4}})]})}):n}),(0,i.jsx)("div",{className:H().value,children:t})]})}function ne(e){var n=e.currency,t=e.amount,r=e.text,a=e.onCopy,o=e.style;return(0,i.jsx)("span",{className:H().value,style:o,children:(0,i.jsxs)(i.Fragment,{children:[n&&"".concat(n," "),t||r,a&&(0,i.jsx)("img",{className:H().copyIcon,src:V.Z,alt:"copy",onClick:a})]})})}var te=function(e){var n=e.imgs,t=e.showModal,r=e.closeModal,a=/\.(mp4|webm|ogg|avi|mov|mkv|wmv|flv|mpg|mpeg|ts|3gp)$/i.test(n);return(0,i.jsx)(i.Fragment,{children:t&&(a?(0,i.jsx)("div",{className:H().xtScreen,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("i",{className:U()(H().close,"iconfont","iconxinbanbendanchuangguanbi"),onClick:r}),(0,i.jsx)("video",{width:"500",height:"400",controls:!0,children:(0,i.jsx)("source",{src:n,type:"video/mp4"})})]})}):(0,i.jsx)("div",{className:H().xtScreen,children:(0,i.jsxs)("div",{children:[(0,i.jsx)("i",{className:U()(H().close,"iconfont","iconxinbanbendanchuangguanbi"),onClick:r}),(0,i.jsx)("img",{src:n,alt:"",className:H().imgs})]})}))})};function ie(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function re(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}function ae(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function oe(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){ae(e,n,t[n])}))}return e}function ce(e){return function(e){if(Array.isArray(e))return ie(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"===typeof e)return ie(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ie(e,n)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var le=o.Zr.getOrigin,se=(o.Zr.Big,function(e,n){var t,i,r,a,o=function(){var n=m.ws=new WebSocket(e);(0,W.record)({t:"socket-event",event:"connect",project:"ssr-web-index",socketUrl:e,pageUrl:location.href}),n.onopen=function(){for(var e in(0,W.record)({t:"socket-event",event:"open"}),clearTimeout(i),r=Date.now(),t=setInterval((function(){if(r&&Date.now()-r>4e4)return m.isReady=!1,clearInterval(t),s(1);n.send("ping")}
1),15e3),a=!1,m.isReady=!0,d)u.push(d[e].msg);x()},n.onmessage=function(e){var t=e.data;try{if("ping"===t)return n.send("pong"),void(r=Date.now());if("pong"===t)return void(r=Date.now());var i=JSON.parse(t);d.callback(i)}catch(a){}},n.onerror=function(){(0,W.record)({t:"socket-event",event:"error"}),l(),s()},n.onclose=function(){(0,W.record)({t:"socket-event",event:"close"}),l(),!a&&s()}},c=function(){if(m.isReady)return x();m.ws||o()},l=function(){try{t&&clearInterval(t),m.isReady=!1;var e=m.ws;m.ws=null,e&&e.close()}catch(n){}},s=function(e){clearTimeout(i),i=setTimeout((function(){o()}),e?0:3e3)},d={},u=[],m={ws:null,isReady:!1,addChannel:function(e,t){var i=e.businessType,r=e.method,a={};"OTC"===i&&(a.method="SENDMSG",a.params=e),"LOGIN"===r&&(a.method="LOGIN",delete a.params),n&&(a.listenKey=G),d={callback:t,msg:a},u.push(a),c()},removeChannel:function(e){var t=e.event,i={method:"unsubscribe",params:[t]};n&&(i.listenKey=G),delete d[t],u.push(i),c()},close:function(){a=!0,l(),clearTimeout(i),d={},u=[],r=0}};return m;function x(){try{var e=u.shift();if(!e)return;m.ws.send(JSON.stringify(e)),x()}catch(n){}}}(le("stream",{ws:!0})+"/im",!0)),de=(0,l.forwardRef)((function(e,n){var t,r,a,o=e.userId,c=e.record,s=e.orderId,d=(0,l.useRef)(null),u=(0,l.useRef)(null),x=(0,y.$G)(),p=(0,l.useState)(""),v=p[0],f=p[1],j=(0,l.useState)([]),g=j[0],N=j[1],M=(0,l.useRef)(!1),_=(0,l.useRef)(0),T=(0,l.useRef)(!1),I=(0,l.useState)({visible:!1,url:""}),C=I[0],D=I[1],A=(0,l.useMemo)((function(){return(null===c||void 0===c?void 0:c.ad.user.simple.userId)==o?c&&c.user||null:c&&c.ad.user||null}),[c,o]),S=(0,l.useMemo)((function(){var e=new Set;return g.filter((function(n){return!e.has(null===n||void 0===n?void 0:n.messageId)&&(e.add(null===n||void 0===n?void 0:n.messageId),!0)}))}),[g]);(0,l.useImperativeHandle)(n,(function(){return{focusInput:function(){var e;null===(e=u.current)||void 0===e||e.focus()}}}));var z,L=function(e){if(T.current=!1,(!e.method||"LOGIN"!==e.method&&"SENDMSG"!==e.method)&&(!e.messageId||!g.some((function(n){return n.messageId===e.messageId})))){var n=S.length,t=0==e.sendUserId,i=oe({},e,{contentStr:t?x(e.contentStr):e.contentStr});N((function(e){return[i].concat(ce(e))})),setTimeout((function(){var e,t=S.length;n!==t&&(null===(e=d.current)||void 0===e||e.scrollTo({top:0,behavior:"smooth"}))}),0),e.receiveUserId&&(0,h.$h)({messageId:e.messageId})}},E=(0,l.useCallback)((z=m().mark((function e(){var n,t;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!M.current){e.next=2;break}return e.abrupt("return");case 2:return M.current=!0,e.prev=3,e.next=7,(0,h.rb)({orderId:s,msgId:_.current,pageSize:10});case 7:(t=e.sent).items.map((function(e){return 0==e.sendUserId?oe({},e,{contentStr:x(e.contentCode)}):e})),N((function(e){return ce(e).concat(ce(t.items))})),_.current=(null===(n=t.items[t.items.length-1])||void 0===n?void 0:n.messageId)||0,e.next=16;break;case 13:e.prev=13,e.t0=e.catch(3);case 16:return e.prev=16,M.current=!1,e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[3,13,16,19]])})),function(){var e=this,n=arguments;return new Promise((function(t,i){var r=z.apply(e,n);function a(e){re(r,t,i,a,o,"next",e)}function o(e){re(r,t,i,a,o,"throw",e)}a(void 0)}))}),[s]);(0,l.useLayoutEffect)((function(){var e=requestAnimationFrame((function(){var e=null===d||void 0===d?void 0:d.current;if(e){var n=Z()((function(){d.current&&d.current.scrollTop<=0&&E()}),300);return e.addEventListener("scroll",n),function(){e.removeEventListener("scroll",n),n.cancel()}}}));return function(){return cancelAnimationFrame(e)}}),[E]),(0,l.useEffect)((function(){E(),se.addChannel({method:"LOGIN"},L)}),[]);var B=function(e){D({visible:!0,url:e})},R=function(e,n){if(!T.current)if(""!==v||n){T.current=!0,se.addChannel({method:"LOGIN"},L);var t={message:n,businessType:"OTC",extra:"{'orderId':".concat(s,"}"),type:e},i={message:"{'filePath':'".concat(null===n||void 0===n?void 0:n.filePath,"','channelFileUrl':'").concat(null===n||void 0===n?void 0:n.channelFileUrl,"'}"),businessType:"OTC",extra:"{'orderId':".concat(s,"}"),type:e};se.addChannel(1==e?t:i,L),1===e&&f("")}else b.ZP.warning(x(""))}
1,Q=function(e,n){n.trim()&&R(e,n)};return 0===c.status?null:(0,i.jsxs)("div",{className:P().chatBox,children:[(0,i.jsxs)("div",{children:[A&&(0,i.jsxs)("div",{className:P().chatTop,children:[(0,i.jsxs)("div",{children:[(0,i.jsx)("span",{className:P().chatTopIco,children:(A.simple.nickName||A.simple.realName||"").charAt(0)}),(0,i.jsxs)("div",{className:P().chatTopData,children:[(0,i.jsx)("div",{className:P().chatTopData1,children:A.simple.nickName||A.simple.realName}),(0,i.jsxs)("div",{className:P().chatTopData2,children:[(0,i.jsx)("span",{children:null===(t=A.merchant)||void 0===t?void 0:t.tradeCount})," | ",Number(null===(r=A.merchant)||void 0===r?void 0:r.tradeRate).toFixed(2),"%"]})]})]}),(null===A||void 0===A||null===(a=A.simple)||void 0===a?void 0:a.realName)&&(0,i.jsxs)("div",{className:P().chatTopRealName,children:[x("otc.alreadyVerifiedRealName"),": ",(0,i.jsx)("span",{children:A.simple.realName})]})]}),(0,i.jsx)("div",{className:"".concat(P().chatMain," xt-scroll"),ref:d,children:g.map((function(e,n){if(4===e.type)return null;var t=e.sendUserId===o,r=0==e.sendUserId,a=2===e.type,c=3===e.type||2===e.type&&/\.(mp4|webm|ogg|avi|mov|mkv|wmv|flv|mpg|mpeg|ts|3gp)$/i.test(e.contentStr),l=1===e.type;if(r)return(0,i.jsxs)("div",{className:U()(P().chatTime),children:[(0,i.jsx)("div",{className:P().chatTimeText,children:e.createTime?new Date(e.createTime).toLocaleString():""}),(0,i.jsx)("span",{className:"".concat(P().chatTip," ").concat("VERIFY_ORDER_SUC_BUY"===e.contentCode?P().preWarp:P().newWarp),children:e.contentStr})]},n);var s=t?P().chatOwn:P().chatOthers,d=e.createTime?new Date(e.createTime).toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit",hour12:!1}):"";return(0,i.jsxs)("div",{className:s,children:[l&&(0,i.jsx)("span",{children:e.contentStr}),!c&&a&&(0,i.jsx)("span",{children:(0,i.jsx)("img",{src:e.contentStr,alt:"",onClick:function(){return B(e.contentStr)}})}),c&&(0,i.jsxs)("div",{style:{position:"relative"},children:[(0,i.jsx)("video",{onClick:function(){return B(e.contentStr)},width:80,height:150,children:(0,i.jsx)("source",{src:e.contentStr,type:"video/mp4"})}),(0,i.jsx)("div",{className:P().playButton,children:"\u25b6\ufe0f"})]}),d&&(0,i.jsx)("div",{className:P().messageTime,children:d})]},n)}))})]}),(0,i.jsxs)("div",{className:"".concat(P().chatBottom," between"),children:[(0,i.jsx)("input",{ref:u,type:"text",className:P().chatInput,placeholder:x("otc.plsInput")+"...",maxLength:50,value:v,onChange:function(e){return n=e.target.value,void f(n);var n},onKeyUp:function(e){"Enter"===e.key&&Q(1,v)}}),(0,i.jsxs)("div",{className:"flex align-center gap-4",children:[(0,i.jsx)("span",{style:{cursor:"pointer"},children:(0,i.jsx)(k,{orderId:String(s),onChangeImg:function(e){var n=null===e||void 0===e?void 0:e.filePath,t=/\.(mp4|webm|ogg|avi|mov|mkv|wmv|flv|mpg|mpeg|ts|3gp)$/i.test(n);R(t?3:2,e)},children:(0,i.jsx)(w.Z,{src:O(),style:{width:20,height:20}})})}),(0,i.jsx)("span",{style:{cursor:"pointer"},onClick:function(){return Q(1,v)},children:(0,i.jsx)(w.Z,{src:F(),style:{width:20,height:20}})})]})]}),(0,i.jsx)(te,{showModal:C.visible,closeModal:function(){D({visible:!1,url:""})},imgs:C.url})]})}));de.displayName="ChatPane";var ue=de,me=t(45929),xe=t(75621),pe=t(40369),he=t(71804),ve=t(29852),fe=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t},je=function(e){var n=e.prefixCls,t=e.className,i=e.color,r=void 0===i?"blue":i,a=e.dot,o=e.pending,c=void 0!==o&&o,s=(e.position,e.label),d=e.children,u=fe(e,["prefixCls","className","color","dot","pending","position","label","children"]),m=(0,l.useContext(he.E_).getPrefixCls)("timeline",n),x=U()((0,xe.Z)((0,xe.Z)({},"".concat(m,"-item"),!0),"".concat(m,"-item-pending"),c),t),p=U()((0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(m,"-item-head"),!0),"".concat(m,"-item-head-custom"),!!a),"".concat(m,"-item-head-").concat(r),!0)),h=/blue|red|green|gray/.test(r||"")?void 0:r;return l.createElement("li",(0,me.Z)({},u,{className:x}),s&&l.createElement("div",{className:"".concat(m,"-item-label")},s),l.createElement("div",{className:"".concat(m,"-item-tail")}),l.createElement("div",{className:p,style:{borderColor:h,color:h}},a),l.createElement("div",{className:"".concat(m,"-item-content")},d))},ge=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t},Ne=function(e){var n=l.useContext(he.E_),t=n.getPrefixCls,i=n.direction,r=e.prefixCls,a=e.pending,o=void 0===a?null:a,c=e.pendingDot,s=e.children,d=e.className,u=e.reverse,m=void 0!==u&&u,x=e.mode,p=void 0===x?"":x,h=ge(e,["prefixCls","pending","pendingDot","children","className","reverse","mode"]),v=t("timeline",r),f="boolean"===typeof o?null:o,j=o?l.createElement(je,{pending:!!o,dot:c||l.createElement(pe.Z,null)},f):null,g=l.Children.toArray(s);g.push(j),m&&g.reverse();var N=function(e,n){return"alternate"===p?"right"===e.props.position?"".concat(v,"-item-right"):"left"===e.props.position?"".concat(v,"-item-left"):"".concat(v,n%2===0?"-item-left":"-item-right"):"left"===p?"".concat(v,"-item-left"):"right"===p||"right"===e.props.position?"".concat(v,"-item-right"):""},y=g.filter((function(e){return!!e})),M=l.Children.count(y),_="".concat(v,"-item-last"),b=l.Children.map(y,(function(e,n){var t=n===M-2?_:"",i=n===M-1?_:"";return(0,ve.Tm)(e,{className:U()([e.props.className,!m&&o?t:i,N(e,n
1)])})})),T=g.some((function(e){var n;return!!(null===(n=null===e||void 0===e?void 0:e.props)||void 0===n?void 0:n.label)})),I=U()(v,(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},"".concat(v,"-pending"),!!o),"".concat(v,"-reverse"),!!m),"".concat(v,"-").concat(p),!!p&&!T),"".concat(v,"-label"),T),"".concat(v,"-rtl"),"rtl"===i),d);return l.createElement("ul",(0,me.Z)({},h,{className:I}),b)};Ne.Item=je;var ye=Ne,Me=t(14900),_e=t(874),be=t.n(_e),Te="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzciIGhlaWdodD0iMzciIHZpZXdCb3g9IjAgMCAzNyAzNyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjgyMzUgMTguNDkyOEMxMi44MjM1IDE4LjU5MzkgMTIuODQ4OCAxOC42ODQzIDEyLjg1MjQgMTguNzg1NUwxOC44MzYgMTIuODAxOUMxOC43Mzg1IDEyLjc5ODIgMTguNjQ0NSAxMi43NzMgMTguNTQzNCAxMi43NzNDMTUuMzg5IDEyLjc3MyAxMi44MjM1IDE1LjM0MiAxMi44MjM1IDE4LjQ5MjhaTTE4LjU0MzQgMjQuMjE2MkMyMS42OTc4IDI0LjIxNjIgMjQuMjYzMiAyMS42NTA4IDI0LjI2MzIgMTguNDk2NEMyNC4yNjMyIDE4LjM5NTIgMjQuMjM3OSAxOC4zMDQ5IDI0LjIzNDMgMTguMjAzN0wxOC4yNTQzIDI0LjE4MzdDMTguMzUxOSAyNC4xOTA5IDE4LjQ0NTggMjQuMjE2MiAxOC41NDM0IDI0LjIxNjJaTTEzLjY3OTkgMjUuMTU5M0wxNS41MTU0IDIzLjMyMzdMMjMuMzc3OSAxNS40NjEyTDI1LjIxMzUgMTMuNjI1N0wyOC44MzA0IDEwLjAwODhMMzEuMjE1MSA3LjYyNDAzQzMxLjQ0MjggNy4zOTYzOSAzMS40NDI4IDcuMDI3ODQgMzEuMjE1MSA2LjgwMzgxTDMwLjIzNTkgNS44MjQ2MUMzMC4wMDgzIDUuNTk2OTggMjkuNjM5NyA1LjU5Njk4IDI5LjQxNTcgNS44MjQ2MUw1LjgwMjkzIDI5LjQzNzRDNS41NzUyOSAyOS42NjUgNS41NzUyOSAzMC4wMzM2IDUuODAyOTMgMzAuMjU3Nkw2Ljc4MjEzIDMxLjIzNjhDNy4wMDk3NyAzMS40NjQ1IDcuMzc4MzIgMzEuNDY0NSA3LjYwMjM0IDMxLjIzNjhMMTAuNDM4OCAyOC40MDA0TDEzLjY3OTkgMjUuMTU5M1oiIGZpbGw9IiM5OTk5OTkiLz4KPHBhdGggZD0iTTMwLjcyNzMgMTEuNzEwNkwyNi40Mjc1IDE2LjAxMDVDMjYuODI4NiAxNy4yNzUxIDI2LjkzMzQgMTguNjY5OCAyNi42NTE2IDIwLjExNTFDMjYuMDIyOSAyMy4zNTk5IDIzLjQwMzIgMjUuOTc5NSAyMC4xNTQ5IDI2LjYwMUMxOC43MTMyIDI2Ljg3OTIgMTcuMzIyMSAyNi43NzA4IDE2LjA2MSAyNi4zNzMzTDEyLjkyMTEgMjkuNTEzM0MxNC42ODA4IDMwLjEzNDggMTYuNTcwNSAzMC40NzggMTguNTQzNCAzMC40NzhDMjYuMDk1MSAzMC40NzggMzIuNDgzNCAyNS41MTcgMzQuNjQ0MSAxOC42ODA3QzM0LjY4MzkgMTguNTU3OCAzNC42ODM5IDE4LjQyNDEgMzQuNjQ0MSAxOC4zMDEzQzMzLjg1NjQgMTUuODA0NSAzMi40OTc5IDEzLjU1NyAzMC43MjczIDExLjcxMDZaTTEwLjY2MjggMjAuOTc4N0MxMC4yNjE3IDE5LjcxNDEgMTAuMTU2OSAxOC4zMTkzIDEwLjQzODggMTYuODc0QzExLjA2NzUgMTMuNjI1NyAxMy42ODcxIDExLjAwOTcgMTYuOTM1NCAxMC4zODQ2QzE4LjM3NzEgMTAuMTA2MyAxOS43NjgzIDEwLjIxNDcgMjEuMDI5MyAxMC42MTIyTDI0LjE2OTIgNy40NzIyN0MyMi40MDk2IDYuODUwNzggMjAuNTE5OCA2LjUwNzUyIDE4LjU0NyA2LjUwNzUyQzEwLjk5NTIgNi41MDc1MiA0LjYwNjkzIDExLjQ2ODYgMi40NDYxOSAxOC4zMDQ5QzIuNDA2NDUgMTguNDI3NyAyLjQwNjQ1IDE4LjU2MTQgMi40NDYxOSAxOC42ODQzQzMuMjMzODkgMjEuMTg0NyA0LjU5MjQ4IDIzLjQzMjEgNi4zNjI5OSAyNS4yNzg1TDEwLjY2MjggMjAuOTc4N1oiIGZpbGw9IiM5OTk5OTkiLz4KPC9zdmc+Cg==",Ie=o.Zr.Big;var Ce=(0,r.Pi)((function(e){var n,t,r,a,o,c=e.record,s=(0,y.$G)(),d=(0,Me.oR)(),u=(d.fund,d.otc),m=(d.account,(0,y.Pc)()),x=u.mConfig,p=u.marketConfig,h=(0,l.useMemo)((function(){var e,n,t,i,r,a;if("3"!==String(null!==(r=null===(e=c)||void 0===e?void 0:e.channelId)&&void 0!==r?r:""))return!1;var o=null===(t=String(null!==(a=null===c||void 0===c||null===(n=c.ad)||void 0===n?void 0:n.market)&&void 0!==a?a:"").split("_"))||void 0===t||null===(i=t[1])||void 0===i?void 0:i.toLowerCase();return!["inr","usd","ngn"].includes(String(null!==o&&void 0!==o?o:"").toLowerCase())}),[c]),v=c.isHidePayInfo||h,f=(0,l.useMemo)((function(){var e,n,t,i,r,a,o=c.ad?c.ad.market:"",l=x(o).moneyDecimal,s=x(o).coinDecimal,d=x(o).priceDecimal,u=(null===(e=c.ad)||void 0===e?void 0:e.userId)==(null===m||void 0===m?void 0:m.userId),p=c.buyUserId===(null===m||void 0===m?void 0:m.userId.toString()),h=o?o.split("_")[0].toUpperCase():"";return[o,l,s,d,u,p,h,"\u5356\u51fa"!==c.orderType?parseFloat(new Ie(c.amount).minus(new Ie(c.amount).times(c.takerFee).toFixed(s)).toFixed(s)):parseFloat(new Ie(c.amount).plus(new Ie(c.amount).times(c.takerFee).toFixed(s)).toFixed(s)),"\u5356\u51fa"!==c.orderType?parseFloat(new Ie(c.amount).minus(new Ie(c.amount).times(c.makerFee||0).toFixed(s))).toFixed(s):parseFloat(new Ie(c.amount).plus(new Ie(c.amount).times(c.makerFee||0).toFixed(s))).toFixed(s),1===c.types?null===c||void 0===c||null===(n=c.ad)||void 0===n||null===(t=n.user)||void 0===t||null===(i=t.simple)||void 0===i?void 0:i.realName:null===c||void 0===c||null===(r=c.user)||void 0===r||null===(a=r.simple)||void 0===a?void 0:a.realName]}),[c,m,p]),j=(f[0],f[1]),g=f[2],M=f[3],_=(f[4],f[5]),T=f[6],I=f[7],C=(f[8],f[9]),D=function(e){return be()(e)?b.ZP.success(s("otc.copy")):b.ZP.error(s("otc.copyErr"))},A=null===(n=c.pays)||void 0===n?void 0:n[0],w=(0,l.useState)({visible:!1,url:""}),S=w[0],O=w[1],z=function(e,n){return parseFloat(Number(e).toFixed(n)).toString()},L=1===c.status||7===c.status&&"\u5356\u51fa"===c.orderType||3===c.status&&"\u5356\u51fa"===c.orderType||4===c.status&&"\u5356\u51fa"===c.orderType,k=(0,l.useMemo)((function(){return 2===c.status?!_:![8,0,9,10].includes(c.status)}),[c.status,_]);return L?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(ye,{className:H().customTimeline,children:[(0,i.jsxs)(ye.Item,{dot:(0,i.jsx)(X,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMTJDMiAxNy41MjI4IDYuNDc3MTUgMjIgMTIgMjJDMTcuNTIyOCAyMiAyMiAxNy41MjI4IDIyIDEyQzIyIDYuNDc3MTUgMTcuNTIyOCAyIDEyIDJDNi40NzcxNSAyIDIgNi40NzcxNSAyIDEyWiIgZmlsbD0iIzFCMUMyMyIvPgo8cGF0aCBkPSJNOC43Njk0NSA5Ljk4NlY4LjQ4OEwxMS44MDc1IDYuNzM4SDEyLjk2OTVWMTdIMTEuNDQzNVY4LjQ3NEw4Ljc2OTQ1IDkuOTg2WiIgZmlsbD0iI0ZBRkFGQSIvPgo8L3N2Zz4K"}),children:[(0,i.jsx)(q,{extraClass:!0,children:"\u4e70\u5165"===c.orderType&&1===c.status?s("otc.newWaitingPayment.02"):s("otc.newWaitingPayment.22")}),(0,i.jsxs)($,{children:[(0,i.jsx)(ee,{label:s("otc.Total"),value:(0,i.jsx)(ne,{style:{fontWeight:700},currency:c.symbol,amount:parseFloat(z(c.money,j)).toString(),onCopy:function(){return D(String(c.money
1))}})}),(0,i.jsx)(ee,{label:s("otc.Price1"),value:(0,i.jsxs)("span",{children:[c.symbol," ",z(c.price,M)]})}),(0,i.jsx)(ee,{label:s("otc.Vol"),value:"".concat(z(c.amount,g)," ").concat(T),tooltip:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,i.jsx)("div",{children:"\u5356\u51fa"!==c.orderType?s("otc.freez.04"):s("otc.freez.17")}),(0,i.jsxs)("div",{children:[I," ",T]})]}),(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:5},children:[(0,i.jsx)("div",{children:s("cmpt.fee")}),(0,i.jsxs)("div",{children:[Ie(c.amount).times(c.takerFee).toFixed(g)," ",T]})]}),(0,i.jsx)("div",{style:{margin:"8px 0",borderTop:"1px solid #777"}}),(0,i.jsx)("div",{children:s("otc.freez.02",{v1:"".concat(Ie(c.takerFee).times(100).toFixed(g),"%")})}),(0,i.jsx)("div",{children:"\u5356\u51fa"===c.orderType?s("otc.freez.14"):s("otc.freez.03")})]})}),(0,i.jsx)("div",{className:H().divider}),(0,i.jsx)(ee,{label:s("otc.CreationTime"),value:(0,N.Yp)(Number(c.createTime))}),(0,i.jsx)(ee,{label:s("otc.OrderNo"),value:(0,i.jsx)(ne,{text:String(c.id),onCopy:function(){return D(String(c.id))}})})]})]}),(0,i.jsxs)(ye.Item,{dot:(0,i.jsx)(X,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMTJDMiAxNy41MjI4IDYuNDc3MTUgMjIgMTIgMjJDMTcuNTIyOCAyMiAyMiAxNy41MjI4IDIyIDEyQzIyIDYuNDc3MTUgMTcuNTIyOCAyIDEyIDJDNi40NzcxNSAyIDIgNi40NzcxNSAyIDEyWiIgZmlsbD0iIzFCMUMyMyIvPgo8cGF0aCBkPSJNMTEuMzc5NSAxNS42N0gxNS44NDU1VjE3SDkuMTM5NDVWMTYuMDM0TDEyLjM3MzUgMTIuNDA4QzEyLjk2MTUgMTEuNzU0NyAxMy4zNjc1IDExLjI0MTMgMTMuNTkxNSAxMC44NjhDMTMuODI0OCAxMC40ODUzIDEzLjk0MTUgMTAuMDc0NyAxMy45NDE1IDkuNjM2QzEzLjk0MTUgOS4wOTQ2NyAxMy43OTY4IDguNjc5MzMgMTMuNTA3NSA4LjM5QzEzLjIxODEgOC4wOTEzMyAxMi44NDQ4IDcuOTQyIDEyLjM4NzUgNy45NDJDMTEuOTIwOCA3Ljk0MiAxMS41MDU1IDguMTAwNjcgMTEuMTQxNSA4LjQxOEMxMC43ODY4IDguNzM1MzMgMTAuNTMwMSA5LjE2OTMzIDEwLjM3MTUgOS43Mkw5LjE2NzQ1IDkuMDM0QzkuMzgyMTIgOC4yNSA5Ljc5NzQ1IDcuNjQzMzMgMTAuNDEzNSA3LjIxNEMxMS4wMzg4IDYuNzg0NjcgMTEuNzM0MSA2LjU3IDEyLjQ5OTUgNi41N0MxMy4wNzgxIDYuNTcgMTMuNTk2MSA2LjY5MTMzIDE0LjA1MzUgNi45MzRDMTQuNTIwMSA3LjE2NzMzIDE0Ljg4NDEgNy41MTI2NyAxNS4xNDU1IDcuOTdDMTUuNDA2OCA4LjQxOCAxNS41Mzc1IDguOTUgMTUuNTM3NSA5LjU2NkMxNS41Mzc1IDEwLjE3MjcgMTUuMzg4MSAxMC43NDIgMTUuMDg5NSAxMS4yNzRDMTQuODAwMSAxMS44MDYgMTQuMjgyMSAxMi40NzggMTMuNTM1NSAxMy4yOUwxMS4zNzk1IDE1LjY3WiIgZmlsbD0iI0ZBRkFGQSIvPgo8L3N2Zz4K"}),children:[(0,i.jsx)(q,{extraClass:!0,children:function(){var e="\u5356\u51fa"===c.orderType,n=[1,3,4,7].includes(c.status),t=c.pays||[],r=t.length>0&&t[0].payName;return(0,i.jsxs)(i.Fragment,{children:[e?(0,i.jsx)("div",{children:n?(0,i.jsx)(i.Fragment,{children:s("otc.newWaitingPayment.07")}):s("otc.PaymentMethods")}):(0,i.jsx)(i.Fragment,{children:1!==c.status?(0,i.jsx)("span",{children:s("otc.PaymentMethods")}):(0,i.jsxs)("span",{style:{display:"flex",alignItems:"center"},children:[s("otc.newWaitingPayment.29"),r?(0,i.jsxs)(i.Fragment,{children:["{",(0,i.jsx)("div",{style:{width:4,height:14,marginLeft:5,marginRight:5,borderRadius:2,backgroundColor:A.colorIconValue,display:"inline-block",verticalAlign:"middle"}}),t[0].payName,"}"]}):(0,i.jsx)("img",{src:Te,style:{width:19,height:19},alt:"hide-pay"}),s("otc.newWaitingPayment.30")]})}),e&&n&&(0,i.jsx)("div",{className:H().newWaitingPayment20,children:s("otc.newWaitingPayment.20")})]})}()}),v?(0,i.jsx)($,{children:(0,i.jsxs)("div",{className:H().hidePayBox,children:[(0,i.jsx)("img",{src:Te,alt:"hide",width:32,height:32}),(0,i.jsx)("div",{children:s("otc.notPaymentMethods")})]})}):(0,i.jsxs)($,{children:[(0,i.jsxs)("div",{className:"flex box1",children:[(0,i.jsx)("div",{className:H().iconGroup,style:{backgroundColor:"".concat(null===A||void 0===A?void 0:A.colorIconValue)}}),(0,i.jsx)("div",{children:null===A||void 0===A?void 0:A.payName})]}),(0,i.jsx)(ee,{label:s("account.realName"),value:(0,i.jsx)(ne,{text:null===A||void 0===A?void 0:A.realName,onCopy:function(){return D((null===A||void 0===A?void 0:A.realName)||"")}})}),null===A||void 0===A||null===(t=A.columns)||void 0===t?void 0:t.map((function(e){return(0,i.jsx)(ee,{label:e.columnName,value:2===e.type?(0,i.jsx)("i",{className:"iconfont iconerweima",onClick:function(){return O({visible:!0,url:e.columnValue})}}):(0,i.jsx)(ne,{text:e.columnValue,onCopy:function(){return D(e.columnValue)}})},e.columnName)}
1)),"\u5356\u51fa"===c.orderType&&C&&(0,i.jsx)(ee,{className:H().realnameBox,label:s("otc.newWaitingPayment.21"),value:C})]})]}),(0,i.jsx)(ye.Item,{dot:(0,i.jsx)(X,{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMTJDMiAxNy41MjI4IDYuNDc3MTUgMjIgMTIgMjJDMTcuNTIyOCAyMiAyMiAxNy41MjI4IDIyIDEyQzIyIDYuNDc3MTUgMTcuNTIyOCAyIDEyIDJDNi40NzcxNSAyIDIgNi40NzcxNSAyIDEyWiIgZmlsbD0iIzFCMUMyMyIvPgo8cGF0aCBkPSJNMTQuMDExNSAxMS41NjhDMTQuNjA4OCAxMS43NzMzIDE1LjA1NjggMTIuMDkwNyAxNS4zNTU1IDEyLjUyQzE1LjY2MzUgMTIuOTQ5MyAxNS44MTc1IDEzLjQ4MTMgMTUuODE3NSAxNC4xMTZDMTUuODE3NSAxNC43NTA3IDE1LjY2MzUgMTUuMjk2NyAxNS4zNTU1IDE1Ljc1NEMxNS4wNTY4IDE2LjIxMTMgMTQuNjUwOCAxNi41NjEzIDE0LjEzNzUgMTYuODA0QzEzLjYyNDEgMTcuMDM3MyAxMy4wNTk1IDE3LjE1NCAxMi40NDM1IDE3LjE1NEMxMS42Njg4IDE3LjE1NCAxMC45NjQxIDE2Ljk2MjcgMTAuMzI5NSAxNi41OEM5LjcwNDEyIDE2LjE4OCA5LjI3NDc5IDE1LjYxODcgOS4wNDE0NSAxNC44NzJMMTAuMjQ1NSAxNC4xODZDMTAuNDIyOCAxNC43MTggMTAuNzEyMSAxNS4xMjQgMTEuMTEzNSAxNS40MDRDMTEuNTE0OCAxNS42NzQ3IDExLjk1MzUgMTUuODEgMTIuNDI5NSAxNS44MUMxMi45NDI4IDE1LjgxIDEzLjM2NzUgMTUuNjU2IDEzLjcwMzUgMTUuMzQ4QzE0LjA0ODggMTUuMDMwNyAxNC4yMjE1IDE0LjYwMTMgMTQuMjIxNSAxNC4wNkMxNC4yMjE1IDEyLjkxMiAxMy40MDk1IDEyLjMzOCAxMS43ODU1IDEyLjMzOEgxMS4zNzk1VjExLjAyMkgxMS44OTc1QzEyLjUzMjEgMTEuMDIyIDEzLjAxNzUgMTAuODY4IDEzLjM1MzUgMTAuNTZDMTMuNjg5NSAxMC4yNTIgMTMuODU3NSA5Ljg2IDEzLjg1NzUgOS4zODRDMTMuODU3NSA4LjkzNiAxMy43MTI4IDguNTgxMzMgMTMuNDIzNSA4LjMyQzEzLjE0MzUgOC4wNTg2NyAxMi43Nzk1IDcuOTI4IDEyLjMzMTUgNy45MjhDMTEuODU1NSA3LjkyOCAxMS40NDk1IDguMDcyNjcgMTEuMTEzNSA4LjM2MkMxMC43ODY4IDguNjQyIDEwLjUzOTUgOS4wNTI2NyAxMC4zNzE1IDkuNTk0TDkuMTgxNDUgOC45MDhDOS40MTQ3OSA4LjE0MjY3IDkuODE2MTIgNy41NjQgMTAuMzg1NSA3LjE3MkMxMC45NjQxIDYuNzcwNjcgMTEuNjQ1NSA2LjU3IDEyLjQyOTUgNi41N0MxMy4wMjY4IDYuNTcgMTMuNTU0MSA2LjY4NjY3IDE0LjAxMTUgNi45MkMxNC40Njg4IDcuMTQ0IDE0LjgyMzUgNy40NjYgMTUuMDc1NSA3Ljg4NkMxNS4zMjc1IDguMjk2NjcgMTUuNDUzNSA4Ljc3MjY3IDE1LjQ1MzUgOS4zMTRDMTUuNDUzNSA5LjgyNzMzIDE1LjMzMjEgMTAuMjggMTUuMDg5NSAxMC42NzJDMTQuODU2MSAxMS4wNjQgMTQuNDk2OCAxMS4zNjI3IDE0LjAxMTUgMTEuNTY4WiIgZmlsbD0iI0ZBRkFGQSIvPgo8L3N2Zz4K"}),children:(0,i.jsx)(q,{extraClass:!0,children:"\u5356\u51fa"===c.orderType?s("otc.newWaitingPayment.23"):s("otc.newWaitingPayment.04")})})]}),(0,i.jsx)(te,{showModal:S.visible,closeModal:function(){O({visible:!1,url:""})},imgs:S.url})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:H().cardWrapper,children:[8!==c.status&&(0,i.jsx)(q,{children:s("otc.newWaitingPayment.22")}),(0,i.jsxs)($,{children:[(0,i.jsx)(ee,{label:s("otc.Total"),value:(0,i.jsx)(ne,{style:{color:"var(--Brand-Normal-1)"},currency:c.symbol,amount:z(c.money,j),onCopy:function(){return D(String(c.money))}})}),(0,i.jsx)(ee,{label:s("otc.Price1"),value:(0,i.jsxs)("span",{children:[c.symbol," ",z(c.price,M)]})}),(0,i.jsx)(ee,{label:s("otc.Vol"),value:"".concat(z(c.amount,g)," ").concat(T),tooltip:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,i.jsx)("div",{children:"\u5356\u51fa"!==c.orderType?s("otc.freez.04"):s("otc.freez.17")}),(0,i.jsxs)("div",{children:[I," ",T]})]}),(0,i.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:5},children:[(0,i.jsx)("div",{children:s("cmpt.fee")}),(0,i.jsxs)("div",{children:[Ie(c.amount).times(c.takerFee).toFixed(g)," ",T]})]}),(0,i.jsx)("div",{style:{margin:"8px 0",borderTop:"1px solid #777"}}),(0,i.jsx)("div",{children:s("otc.freez.02",{v1:"".concat(Ie(c.takerFee).times(100).toFixed(g),"%")})}),(0,i.jsx)("div",{children:"\u5356\u51fa"===c.orderType?s("otc.freez.14"):s("otc.freez.03")})]})}),(0,i.jsx)("div",{className:H().divider}),(0,i.jsx)(ee,{label:s("otc.CreationTime"),value:(0,N.Yp)(Number(c.createTime))}),(0,i.jsx)(ee,{label:s("otc.OrderNo"),value:(0,i.jsx)(ne,{text:String(c.id),onCopy:function(){return D(String(c.id))}})}),2===c.status&&_&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{className:H().divider}),(0,i.jsx)(ee,{label:s("credit.PaymentMethod"),value:(0,i.jsx)("span",{className:H().payLine,children:null===A||void 0===A?void 0:A.payName})})]})]})]}
1),k&&(0,i.jsxs)("div",{className:H().content2,children:[(0,i.jsx)("div",{className:H().otcCopyTitle,children:(0,i.jsx)("span",{children:1!==c.status?s("otc.PaymentMethods"):s("otc.newWaitingPayment.03",[(null===(r=c.pays)||void 0===r||null===(a=r[0])||void 0===a?void 0:a.payName)||""])})}),v?(0,i.jsx)($,{children:(0,i.jsxs)("div",{className:H().hidePayBox,children:[(0,i.jsx)("img",{src:Te,alt:"hide",width:32,height:32}),(0,i.jsx)("div",{children:s("otc.notPaymentMethods")})]})}):(0,i.jsxs)($,{children:[(0,i.jsxs)("div",{className:"flex box1",children:[(0,i.jsx)("div",{className:H().iconGroup,style:{backgroundColor:"".concat(null===A||void 0===A?void 0:A.colorIconValue)}}),(0,i.jsx)("div",{children:null===A||void 0===A?void 0:A.payName})]}),(0,i.jsx)(ee,{label:s("account.realName"),value:(0,i.jsx)(ne,{text:null===A||void 0===A?void 0:A.realName,onCopy:function(){return D((null===A||void 0===A?void 0:A.realName)||"")}})}),null===A||void 0===A||null===(o=A.columns)||void 0===o?void 0:o.map((function(e){return(0,i.jsx)(ee,{label:e.columnName,value:2===e.type?(0,i.jsx)("i",{className:"iconfont iconerweima",onClick:function(){return O({visible:!0,url:e.columnValue})}}):(0,i.jsx)(ne,{text:e.columnValue,onCopy:function(){return D(e.columnValue)}})},e.columnName)})),"\u5356\u51fa"===c.orderType&&C&&(0,i.jsx)(ee,{className:H().realnameBox,label:s("otc.newWaitingPayment.21"),value:C})]})]}),(0,i.jsx)(te,{showModal:S.visible,closeModal:function(){O({visible:!1,url:""})},imgs:S.url})]})})),De=t(17709),Ae="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggNS42MzM0NlY4LjMwMDEzTTggMTRDNC42ODYyOSAxNCAyIDExLjMxMzcgMiA4QzIgNC42ODYyOSA0LjY4NjI5IDIgOCAyQzExLjMxMzcgMiAxNCA0LjY4NjI5IDE0IDhDMTQgMTEuMzEzNyAxMS4zMTM3IDE0IDggMTRaTTguMDMzMiAxMC4zMDAxVjEwLjM2NjhMNy45NjY4IDEwLjM2NjVWMTAuMzAwMUg4LjAzMzJaIiBzdHJva2U9IiNGQjgyM0MiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",we=t(86879),Se=t(3580),Oe=t(40018),ze=t(63076),Le=t(7156),ke=t(95081),Ee=t.n(ke),Pe=t(73233);function Be(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Ue(e,n){if(null==e)return{};var t,i,r=function(e,n){if(null==e)return{};var t,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)t=a[i],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}var Re=function(e){var n=e.title,t=e.width,r=void 0===t?400:t,a=e.centered,o=void 0===a||a,c=e.open,l=e.onCancel,s=e.children,d=e.className,u=Ue(e,["title","width","centered","open","onCancel","children","className"]);return(0,i.jsx)(Le.Z,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){Be(e,n,t[n])}))}return e}({className:U()(Ee().xt4Modal,d),title:n,width:r,centered:o,footer:null,closeIcon:(0,i.jsx)("img",{src:Pe.Z,alt:"close"}),open:c,onCancel:l},u,{children:s}))},Ze=t(86529),Qe=t.n(Ze);function Fe(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,i=new Array(n);t<n;t++)i[t]=e[t];return i}function We(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Ge(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){We(e,n,t[n])}))}return e}function Ye(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var i,r,a=[],o=!0,c=!1;try{for(t=t.call(e);!(o=(i=t.next()).done)&&(a.push(i.value),!n||a.length!==n);o=!0);}catch(l){c=!0,r=l}finally{try{o||null==t.return||t.return()}finally{if(c)throw r}}return a}}
1(e,n)||function(e,n){if(!e)return;if("string"===typeof e)return Fe(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Fe(e,n)}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var He=ze.Z.Option,Ve=(0,l.forwardRef)((function(e,n){var t=(0,y.$G)(),r=(0,Oe.useRouter)(),a=(0,l.useState)({visible:!1,record:{}}),o=a[0],c=a[1],s=(0,l.useState)(""),d=s[0],u=s[1],m=(0,l.useState)(""),x=m[0],p=m[1],v=(0,l.useState)([]),f=v[0],j=v[1],g=(0,l.useRef)(!1),N=(0,l.useRef)(null),M=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.onConfirm,t=e.onCancel,i=e.record;N.current=null!==n&&void 0!==n?n:null,M.current=null!==t&&void 0!==t?t:null,c({visible:!0,record:i}),b()},close:function(){return _()}}}));var _=function(){var e;c((function(e){return Ge({},e,{visible:!1})})),null===(e=M.current)||void 0===e||e.call(M)},b=function(){(0,h.e1)().then((function(e){if(o.record&&2==o.record.type){var n=Object.entries(e.uuex).map((function(e){var n=Ye(e,2);return{key:n[0],label:n[1]}}));j(n),p(n[0].key)}else{var t=Object.entries(e.xt).map((function(e){var n=Ye(e,2);return{key:n[0],label:n[1]}}));j(t),p(t[0].key)}}),(function(e){}))},T=function(){if(g.current)return!1;g.current=!0,(0,h.R)({appealReason:x,orderId:o.record.id,message:d},{isXT2:!0,isResFull:!0}).then((function(e){p(""),u(""),Le.Z.success({title:t("OTC_SUCCESS"),content:e.info,centered:!0,onOk:function(){var e;r.push("/otc/appeal/".concat((null===o||void 0===o||null===(e=o.record)||void 0===e?void 0:e.id)||""))}}),g.current=!1}),(function(){var e;r.push("/otc/appeal/".concat((null===o||void 0===o||null===(e=o.record)||void 0===e?void 0:e.id)||"")),g.current=!1}))};return(0,i.jsx)(Re,{open:o.visible,onCancel:_,title:null,children:(0,i.jsxs)("div",{className:Qe().tipContainer,children:[(0,i.jsx)("p",{children:t("otc.ReasonDispute")}),(0,i.jsx)(ze.Z,{size:"middle",value:x,style:{width:"100%"},onChange:function(e){p(e)},getPopupContainer:function(e){return e.parentNode},children:f.map((function(e){return(0,i.jsx)(He,{value:e.key,children:e.label},e.key)}))}),(0,i.jsx)("textarea",{className:Qe().appealTextarea,maxLength:500,placeholder:t("otc.StatementDispute"),value:d,onChange:function(e){return u(e.target.value)}}),(0,i.jsxs)("p",{className:Qe().textareaTextLimit,children:[d.length,"/500"]}),(0,i.jsx)("div",{className:Qe().ModalBtnContainer,children:(0,i.jsx)("button",{className:x?"":Qe().btnDisabled,disabled:!x,onClick:function(){var e;T(),c((function(e){return Ge({},e,{visible:!1})})),null===(e=N.current)||void 0===e||e.call(N)},children:t("otc.Submit")})})]})})}));Ve.displayName="AppealModal";var Je=Ve,Ke=t(87615),Xe=t(67589),qe=t.n(Xe),$e=t(42919);var en=(0,l.forwardRef)((function(e,n){var t=(0,y.$G)(),r=(0,l.useState)({visible:!1}),a=r[0],o=r[1],c=(0,l.useState)(!1),s=c[0],d=c[1],u=(0,l.useRef)(null),m=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.onConfirm,t=e.onCancel;u.current=null!==n&&void 0!==n?n:null,m.current=null!==t&&void 0!==t?t:null,d(!1),o({visible:!0})},close:function(){return v()}}}));var x,p,h,v=function(){var e;o({visible:!1}),null===(e=m.current)||void 0===e||e.call(m)};return(0,i.jsx)(Re,{open:a.visible,onCancel:v,title:null,children:(0,i.jsxs)("div",{className:qe().tipContainer,children:[(0,i.jsx)("img",{src:$e.Z,alt:"alert",width:60,height:60}),(0,i.jsxs)("div",{className:qe().content,children:[(0,i.jsx)("span",{children:t("cancelOrderTip1")}),(0,i.jsx)("br",{}),(0,i.jsx)("span",{children:t("cancelOrderTip2")})]}),(0,i.jsxs)("div",{className:qe().checkView,children:[(0,i.jsx)(Ke.Z,{checked:s,onChange:function(e){return d(e.target.checked)}}),(0,i.jsx)("span",{children:t("cancelOrderCheckTip")})]}),(0,i.jsxs)("div",{className:qe().btns,children:[(0,i.jsx)("button",{onClick:v,children:t("cmpt.cancel")}),(0,i.jsx)("button",{onClick:function(){var e;s&&(o({visible:!1}),null===(e=u.current)||void 0===e||e.call(u))},className:U()((x={},p=qe().btnDisabled,h=!s,p in x?Object.defineProperty(x,p,{value:h,enumerable:!0,configurable:!0,writable:!0}):x[p]=h,x)),children:t("otc.Confirm")})]})]})})}));en.displayName="OtcCancelOrderModal";var nn=en,tn=t(10422),rn=t(86118),an=t.n(rn),on=t(85030),cn=o.Px.useDocumentWidth,ln=function(e){var n,t=e.open,r=e.onClose,a=e.onCloseText,o=void 0===a?"":a,c=e.onNextText,s=void 0===c?"":c,d=e.onNext,u=e.title,m=e.icon,x=void 0===m?"":m,p=e.iconTitle,h=void 0===p?"":p,v=e.leftHint,f=e.contentReplacer,j=e.hint1,g=void 0===j?"":j,N=e.hint2,y=e.checkboxItem1Title,M=e.newline,_=void 0===M||M,b=e.theme,T=void 0===b?"dark":b,I=e.width,C=(null!==(n=cn())&&void 0!==n?n:0)<=768,D=(0,l.useState)(!1),A=D[0],S=D[1],O=(0,l.useMemo)((function(){return _?(0,i.jsxs)(i.Fragment,{children:[g&&(0,i.jsx)("p",{children:g}),N&&(0,i.jsx)("p",{children:N})]}):(0,i.jsxs)("p",{children:[g||"",N||""]})}),[_,g,N]);if(!t)return null;var z=(0,i.jsx)("div",{className:an().modalOverlay,onClick:r,children:(0,i.jsxs)("div",{className:"".concat(an().modalContent," ").concat(C?an().mobile:an().desktop," ").concat("light"===T?an().lightTheme:""),onClick:function(e){return e.stopPropagation()},style:I?{width:"".concat(I,"px")}:void 0,children:[(0,i.jsxs)("header",{className:"".concat(an().header),children:[(0,i.jsx)("h1",{className:an().title,children:u}),(0,i.jsx)("button",{type:"button",onClick:r,className:an().closeButton,"aria-label":"modal-close-icon",children:(0,i.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M17.2929 5.29289C17.6834 4.90237 18.3164 4.90239 18.707 5.29289C19.0975 5.68342 19.0975 6.31643 18.707 6.70696L13.414 11.9999L18.707 17.2929C19.0974 17.6834 19.0975 18.3164 18.707 18.707C18.3164 19.0975 17.6834 19.0974 17.2929 18.707L11.9999 13.414L6.70696 18.707C6.31643 19.0975 5.68342 19.0975 5.29289 18.707C4.90239 18.3164 4.90237 17.6834 5.29289 17.2929L10.5859 11.9999L5.29289 6.70696C4.90237 6.31643 4.90237 5.68342 5.29289 5.29289C5.68342 4.90237 6.31643 4.90237 6.70696 5.29289L11.9999 10.5859L17.2929 5.29289Z",fill:"#FAFAFA"})})})]}),(0,i.jsxs)("div",{className:an().body,style:{padding:f?0:"8px 0 44px"},children:[v&&(0,i.jsx)("p",{className:an().subtitle,children:v}
1),(0,i.jsxs)("div",{className:an().content,style:{display:f?"none":"flex"},children:[x&&(0,i.jsx)(w.Z,{src:x,style:{height:C?"48px":"72px",width:C?"48px":"72px",marginBottom:"8px"}}),h&&(0,i.jsx)("span",{className:an().iconTitle,children:h}),(g||N)&&(0,i.jsx)("div",{className:an().hintContainer,children:O})]}),f&&(0,i.jsx)("div",{className:an().contentReplacer,children:f})]}),y&&(0,i.jsx)("div",{className:an().checkboxContainer,children:(0,i.jsx)(on.c,{checked:A,onChange:S,label:y,backgroundColor:"transparent",checkboxBorderColor:"light"===T?"#C2C3C9":"#53555A",textColor:"light"===T?"#1B1C23":"#FAFAFA",checkboxBorderWidth:"1.5px",checkboxCheckedColor:"transparent",checkboxMarkColor:"#FAFAFA",theme:T})}),(o||s)&&(0,i.jsxs)("div",{className:an().footer,"data-button-count":[o&&r,s&&d].filter(Boolean).length,children:[o&&r&&(0,i.jsx)("button",{type:"button",onClick:r,className:an().footerButton,children:(0,i.jsx)("span",{children:o})}),s&&d&&(0,i.jsx)("button",{type:"button",onClick:d,className:"".concat(an().footerButton," ").concat(y&&!A?an().disabled:""),disabled:!!y&&!A,children:(0,i.jsx)("span",{children:s})})]}),C&&(0,i.jsx)("div",{className:an().mobileIndicator,children:(0,i.jsx)("div",{className:an().indicator})})]})});return"undefined"!==typeof document?(0,tn.createPortal)(z,document.body):null},sn=JSON.parse('{"otc.gate.payConfirm.tip1":"\u5f53\u524d\u5546\u5bb6\u672a\u5b8c\u6210\u9a8c\u8bc1\uff0c\u5e73\u53f0\u672a\u5c55\u793a\u5546\u5bb6\u6536\u6b3e\u8d26\u6237\u4fe1\u606f\u3002","otc.gate.payConfirm.tip2":"\u8bf7\u52a1\u5fc5\u5148\u786e\u8ba4\u662f\u5426\u5df2\u5411\u5546\u5bb6\u4ed8\u6b3e\uff0c\u6076\u610f\u70b9\u51fb\u5c06\u76f4\u63a5\u51bb\u7ed3\u8d26\u6237\u3002","otc.gate.payConfirm.checkbox":"\u6211\u786e\u8ba4\u5df2\u5411\u5546\u5bb6\u4ed8\u6b3e"}'),dn=t(1201),un=t.n(dn);function mn(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function xn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){mn(e,n,t[n])}))}return e}var pn={},hn=(0,l.forwardRef)((function(e,n){var t=(0,y.$G)(),r=(0,l.useState)({visible:!1,record:pn}),a=r[0],o=r[1],c=(0,l.useRef)(null),s=(0,l.useRef)(null),d=function(e){var n,i,r=t(e);return r===e?null!==(i=null===(n=sn)||void 0===n?void 0:n[e])&&void 0!==i?i:e:r};(0,l.useImperativeHandle)(n,(function(){return{open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.record,t=void 0===n?pn:n,i=e.onConfirm,r=e.onCancel;c.current=null!==i&&void 0!==i?i:null,s.current=null!==r&&void 0!==r?r:null,o({visible:!0,record:t})},close:function(){return u()}}}));var u=function(){var e;o((function(e){return xn({},e,{visible:!1})})),null===(e=s.current)||void 0===e||e.call(s)},m=a.visible;return(0,i.jsx)(ln,{open:m,onClose:u,onCloseText:d("btn.cancel"),onNext:function(){var e;o((function(e){return xn({},e,{visible:!1})})),null===(e=c.current)||void 0===e||e.call(c)},onNextText:d("btn.ok"),icon:un(),iconTitle:d("otc.newWaitingPayment.07"),hint1:d("otc.gate.payConfirm.tip1"),hint2:d("otc.gate.payConfirm.tip2"),checkboxItem1Title:d("otc.gate.payConfirm.checkbox"),newline:!1,theme:"light",width:500})}));hn.displayName="GatePayConfirmModal";var vn=hn,fn=t(18314),jn=t.n(fn),gn=(0,l.forwardRef)((function(e,n){var t=(0,l.useState)({visible:!1}),r=t[0],a=t[1],o=(0,y.$G)(),c=(0,l.useRef)(null),s=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.onConfirm,t=e.onCancel;c.current=null!==n&&void 0!==n?n:null,s.current=null!==t&&void 0!==t?t:null,a({visible:!0})},close:function(){return d()}}}));var d=function(){var e;a({visible:!1}),null===(e=s.current)||void 0===e||e.call(s)};return(0,i.jsx)(Re,{open:r.visible,onCancel:d,title:null,children:(0,i.jsxs)("div",{className:jn().tipContainer,children:[(0,i.jsx)("img",{src:$e.Z,alt:"alert",width:60,height:60}),(0,i.jsxs)("div",{className:jn().content,children:[(0,i.jsx)("div",{className:jn().contentTitle,children:o("cancellation.modal.04")}),(0,i.jsx)("div",{className:jn().contentDesc,children:o("cancellation.modal.05")})]}
1),(0,i.jsxs)("div",{className:jn().btns,children:[(0,i.jsx)("button",{onClick:d,children:o("otc.Back")}),(0,i.jsx)("button",{onClick:function(){var e;a({visible:!1}),null===(e=c.current)||void 0===e||e.call(c)},className:U()(jn().confirmBtn),children:o("otc.CancelOrder1")})]})]})})}));gn.displayName="OtcCancelConfirmModal";var Nn=gn,yn=t(80592),Mn=t(73437),_n=t(76694),bn=t.n(_n);function Tn(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}var In=(0,l.forwardRef)((function(e,n){var t=(0,y.$G)(),r=(0,l.useState)(!1),a=r[0],o=r[1],c=(0,l.useState)([]),s=c[0],d=c[1],u=(0,l.useState)(""),x=u[0],p=u[1],v=(0,l.useState)(""),f=v[0],j=v[1],g=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:(e=m().mark((function e(){var n,t,i=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(i.length>0&&void 0!==i[0]?i[0]:{}).onSubmit,g.current=null!==n&&void 0!==n?n:null,e.next=4,(0,h.fe)();case 4:t=e.sent,d(t),o(!0);case 7:case"end":return e.stop()}}),e)})),function(){var n=this,t=arguments;return new Promise((function(i,r){var a=e.apply(n,t);function o(e){Tn(a,i,r,o,c,"next",e)}function c(e){Tn(a,i,r,o,c,"throw",e)}o(void 0)}))}),close:function(){return b()}};var e}));var N,M,_,b=function(){return o(!1)},T="OTC_ORDER_CANCEL_009"===x;return(0,i.jsxs)(Re,{open:a,width:450,onCancel:b,title:t("cancellation.modal.01"),children:[(0,i.jsxs)("div",{className:bn().tipContainer,children:[(0,i.jsxs)("div",{className:bn().tips,children:[(0,i.jsx)("div",{className:bn().left,children:(0,i.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTggNS42MzM0NlY4LjMwMDEzTTggMTRDNC42ODYyOSAxNCAyIDExLjMxMzcgMiA4QzIgNC42ODYyOSA0LjY4NjI5IDIgOCAyQzExLjMxMzcgMiAxNCA0LjY4NjI5IDE0IDhDMTQgMTEuMzEzNyAxMS4zMTM3IDE0IDggMTRaTTguMDMzMiAxMC4zMDAxVjEwLjM2NjhMNy45NjY4IDEwLjM2NjVWMTAuMzAwMUg4LjAzMzJaIiBzdHJva2U9IiNGQjgyM0MiIHN0cm9rZS13aWR0aD0iMS4zMzMzMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=",alt:"tips"})}),(0,i.jsxs)("div",{className:bn().right,children:[(0,i.jsx)("div",{className:bn().right01,children:t("cancellation.modal.02")}),(0,i.jsx)("div",{className:bn().right02,children:t("cancellation.modal.03")})]})]}),(0,i.jsxs)("div",{className:bn().radioBox,children:[(0,i.jsx)("div",{className:bn().radioBox1,children:(0,i.jsx)(yn.ZP.Group,{className:"pages-otc-orderInfo-component-radio",value:x,onChange:function(e){p(e.target.value),j("")},children:s.map((function(e){return(0,i.jsx)(yn.ZP,{value:e,children:t(e)},e)}))})}),T&&(0,i.jsxs)("div",{className:bn().radioBox2,children:[(0,i.jsx)(Mn.Z.TextArea,{value:f,onChange:function(e){return j(e.target.value)},maxLength:500,placeholder:t("cancellation.modal.06"),style:{height:85}}),(0,i.jsxs)("div",{className:bn().textLength,children:[f.length," / 500"]})]})]})]}),(0,i.jsxs)("div",{className:bn().btns,children:[(0,i.jsx)("button",{onClick:b,children:t("otc.Back")}),(0,i.jsx)("button",{disabled:!x||T&&!f,className:U()((N={},M=bn().btnDisabled,_=!x||T&&!f,M in N?Object.defineProperty(N,M,{value:_,enumerable:!0,configurable:!0,writable:!0}):N[M]=_,N)),onClick:function(){var e;x&&("OTC_ORDER_CANCEL_009"!==x||f)&&(null===(e=g.current)||void 0===e||e.call(g,{cancelKey:x,cancelReason:f}),o(!1))},children:t("cmpt.submit")})]})]})}));In.displayName="OtcCancelReasonModal";var Cn=In,Dn=t(63348),An=t.n(Dn),wn=t(83595);function Sn(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}function On(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function zn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){On(e,n,t[n])}))}return e}var Ln={},kn=(0,l.forwardRef)((function(e,n){var t=(0,y.$G)(),r=(0,l.useState)({visible:!1,record:Ln}),a=r[0],o=r[1],c=(0,l.useState)(!1),s=c[0],d=c[1],u=(0,l.useState)(!1),x=u[0],p=u[1],h=(0,Me.oR)().account,v=(0,l.useRef)(null),f=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.record,t=void 0===n?Ln:n,i=e.onConfirm,r=e.onCancel;v.current=null!==i&&void 0!==i?i:null,f.current=null!==r&&void 0!==r?r:null,d(!1),o({visible:!0,record:t})},close:function(){return j()}}}));var j=function(){var e;o((function(e){return zn({},e,{visible:!1})}
1)),null===(e=f.current)||void 0===e||e.call(f)},g=function(){var e,n=(e=m().mark((function e(){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,h.getFaData();case 5:if(!(e.sent.filter((function(e){return!!e.enable})).length<2)){e.next=10;break}return p(!0),e.abrupt("return");case 10:o((function(e){return zn({},e,{visible:!1})})),null===(n=v.current)||void 0===n||n.call(v);case 12:case"end":return e.stop()}}),e)})),function(){var n=this,t=arguments;return new Promise((function(i,r){var a=e.apply(n,t);function o(e){Sn(a,i,r,o,c,"next",e)}function c(e){Sn(a,i,r,o,c,"throw",e)}o(void 0)}))});return function(){return n.apply(this,arguments)}}(),N=a.visible,M=a.record;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(Re,{open:N,onCancel:j,title:(0,i.jsx)("span",{children:t("otc.newWaitingPayment.24")}),children:(0,i.jsxs)("div",{className:An().tipContainer,children:[(0,i.jsx)("div",{className:An().content,children:[t("otc.newWaitingPayment.25"),t("otc.newWaitingPayment.26"),t("otc.newWaitingPayment.27")].map((function(e,n){return(0,i.jsxs)("div",{className:1===n?An().contentItem:void 0,children:[(0,i.jsx)("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxjaXJjbGUgY3g9IjkiIGN5PSI5IiByPSI5IiBmaWxsPSIjMTdDMTg2Ii8+CiAgICA8cGF0aCBkPSJNNCA4TDcuMjc3NzggMTEuNDQ0NEwxMy41IDYiIHN0cm9rZT0iI0Y4RjhGOCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4KPC9zdmc+Cg==",alt:"",width:16,height:16}),(0,i.jsx)("span",{children:e})]},n)}))}),(0,i.jsxs)("div",{className:An().checkView,children:[(0,i.jsx)(Ke.Z,{checked:s,onChange:function(e){return d(e.target.checked)}}),(0,i.jsx)("span",{children:t("otc.newWaitingPayment.28",["","".concat(M.symbol," ").concat(M.money)])})]}),(0,i.jsxs)("div",{className:An().btns,children:[(0,i.jsx)("button",{onClick:j,children:t("cmpt.cancel")}),(0,i.jsx)("button",{onClick:g,className:U()(On({},An().btnDisabled,!s)),children:t("otc.Confirm")})]})]})}),(0,i.jsx)(wn.Z,{open:x,onCancel:function(){return p(!1)}})]})}));kn.displayName="OtcOrderInfoModal";var En=kn,Pn=t(72718),Bn=t.n(Pn);function Un(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}function Rn(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Zn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){Rn(e,n,t[n])}))}return e}var Qn=(0,l.forwardRef)((function(e,n){var t=(0,y.$G)(),r=(0,l.useState)({visible:!1,orderId:""}),a=r[0],o=r[1],c=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:function(e){var n=e.orderId,t=e.onSuccess;c.current=null!==t&&void 0!==t?t:null,o({visible:!0,orderId:n})},close:function(){return o((function(e){return Zn({},e,{visible:!1})}))}}}));var s=function(){var e,n=(e=m().mark((function e(){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=4,(0,h.zt)({orderId:a.orderId},{isXT2:!0});case 4:null===(n=c.current)||void 0===n||n.call(c);case 5:return e.prev=5,o((function(e){return Zn({},e,{visible:!1})})),e.finish(5);case 8:case"end":return e.stop()}}),e,null,[[0,,5,8]])}
1)),function(){var n=this,t=arguments;return new Promise((function(i,r){var a=e.apply(n,t);function o(e){Un(a,i,r,o,c,"next",e)}function c(e){Un(a,i,r,o,c,"throw",e)}o(void 0)}))});return function(){return n.apply(this,arguments)}}(),d=function(){return o((function(e){return Zn({},e,{visible:!1})}))};return(0,i.jsx)(Re,{open:a.visible,onCancel:d,title:null,children:(0,i.jsxs)("div",{className:Bn().tipContainer,children:[(0,i.jsx)("img",{src:$e.Z,alt:"alert",width:60,height:60}),(0,i.jsx)("div",{className:Bn().content,children:(0,i.jsx)("div",{className:Bn().contentTitle,children:t("otc.verify.05")})}),(0,i.jsxs)("div",{className:Bn().btns,children:[(0,i.jsx)("button",{onClick:d,children:t("otc.Cancel")}),(0,i.jsx)("button",{onClick:s,children:t("otc.verify.06")})]})]})})}));Qn.displayName="OtcVerifyPaymentModal";var Fn=Qn,Wn=t(21435),Gn=t.n(Wn);function Yn(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Hn(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},i=Object.keys(t);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),i.forEach((function(n){Yn(e,n,t[n])}))}return e}var Vn={},Jn=(0,l.forwardRef)((function(e,n){var t,r,a=(0,y.$G)(),o=(0,l.useState)({visible:!1,record:Vn}),c=o[0],s=o[1],d=(0,l.useState)(!1),u=d[0],m=d[1],x=(0,l.useRef)(null),p=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(function(){return{open:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.record,t=void 0===n?Vn:n,i=e.onConfirm,r=e.onCancel;x.current=null!==i&&void 0!==i?i:null,p.current=null!==r&&void 0!==r?r:null,m(!1),s({visible:!0,record:t})},close:function(){return f()}}}));var h,v,f=function(){var e;s((function(e){return Hn({},e,{visible:!1})})),null===(e=p.current)||void 0===e||e.call(p)},j=c.visible,g=c.record,N=null===(t=g.pays)||void 0===t?void 0:t[0];return(0,i.jsxs)(Re,{className:Gn().modal,width:500,open:j,onCancel:f,title:a("otc.newWaitingPayment.07"),children:[(0,i.jsxs)("div",{className:Gn().subTitle,children:[a("otc.newWaitingPayment.08.01"),"\xa0",(0,i.jsx)("span",{className:Gn().money,children:"".concat(null!==(h=g.symbol)&&void 0!==h?h:""," ").concat(null!==(v=g.money)&&void 0!==v?v:"",",")}),a("otc.newWaitingPayment.08.02")]}),(0,i.jsxs)("div",{className:Gn().tipContainer,children:[N?(0,i.jsx)("div",{className:Gn().body,children:(0,i.jsxs)("div",{className:Gn().orderInfoBody,children:[(0,i.jsxs)("div",{className:U()(Gn().flex,Gn().box1),children:[(0,i.jsx)("div",{className:Gn().payTitle,style:{backgroundColor:N.colorIconValue}}),(0,i.jsx)("div",{children:N.payName})]}),(0,i.jsxs)("div",{className:U()(Gn().flex,Gn().box),children:[(0,i.jsx)("div",{className:Gn().label,children:a("account.realName")}),(0,i.jsx)("span",{className:Gn().number,children:N.realName})]}),null===(r=N.columns)||void 0===r?void 0:r.map((function(e,n){return e.columnValue&&(0,i.jsxs)("div",{className:U()(Gn().flex,Gn().box),children:[(0,i.jsx)("div",{className:Gn().label,children:e.columnName}),2===e.type?(0,i.jsx)("i",{className:"iconfont iconerweima",onClick:function(e){e.stopPropagation()}}):(0,i.jsx)("span",{className:Gn().number,children:e.columnValue})]},n)}))]})}):(0,i.jsx)("div",{className:Gn().body,children:(0,i.jsxs)("div",{className:Gn().hidePay,children:[(0,i.jsx)("img",{src:Te,alt:"no pay"}),(0,i.jsx)("div",{children:a("otc.notPaymentMethods")})]})}),(0,i.jsxs)("div",{className:Gn().checkView,children:[(0,i.jsx)(Ke.Z,{checked:u,onChange:function(){return m(!u)},className:Gn().boxCheck}),(0,i.jsx)("span",{children:a("otc.newWaitingPayment.09")})]}),(0,i.jsxs)("div",{className:Gn().btns,children:[(0,i.jsx)("button",{onClick:f,children:a("other.cancel")}),(0,i.jsx)("button",{onClick:function(){var e;u&&(s((function(e){return Hn({},e,{visible:!1})})),null===(e=x.current)||void 0===e||e.call(x))},disabled:!u,className:U()(Yn({},Gn().btnDisabled,!u)),children:a("other.confirm")})]})]})]})}));Jn.displayName="OtcWaitingPaymentModal";var Kn=Jn;function Xn(e){var n=e.open,t=e.onClose,r=(0,y.$G)();return(0,i.jsx)(Le.Z,{open:n,onOk:t,onCancel:t,centered:!0,closable:!0,closeIcon:(0,i.jsx)("span",{style:{fontSize:"20px",color:"#333",fontWeight:"500"},children:"\u2715"}),title:(0,i.jsx)("span",{style:{fontSize:"18px",fontWeight:"500",color:"#333"},children:r("otc.warning.title")}),width:500,footer:null,style:{borderRadius:8,padding:0},children:(0,i.jsxs)("div",{style:{textAlign:"center"},children:[(0,i.jsxs)("div",{style:{maxWidth:"380px",margin:"0 auto"},children:[(0,i.jsxs)("div",{style:{width:"54px",height:"54px",borderRadius:"50%",backgroundColor:"#FF8C42",dis
1play:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",margin:"0 auto 30px",gap:"6px",position:"relative"},children:[(0,i.jsx)("div",{style:{width:"6px",height:"20px",backgroundColor:"#fff",borderRadius:"4px"}}),(0,i.jsx)("div",{style:{width:"6px",height:"6px",backgroundColor:"#fff",borderRadius:"50%"}})]}),(0,i.jsxs)("div",{style:{fontSize:"14px",fontWeight:"500",color:"#333",lineHeight:"1.8",marginBottom:"40px"},children:[(0,i.jsx)("div",{children:r("otc.warning.line1")}),(0,i.jsx)("div",{children:r("otc.warning.line2")})]})]}),(0,i.jsx)("button",{onClick:t,style:{width:"460px",backgroundColor:"#2C2C2C",color:"#fff",height:"44px",border:"none",borderRadius:"12px",fontSize:"16px",fontWeight:"500",cursor:"pointer",transition:"opacity 0.2s"},onMouseEnter:function(e){return e.currentTarget.style.opacity="0.9"},onMouseLeave:function(e){return e.currentTarget.style.opacity="1"},children:r("otc.warning.confirm")})]})})}var qn=t(87655),$n=t.n(qn);function et(e,n,t,i,r,a,o){try{var c=e[a](o),l=c.value}catch(s){return void t(s)}c.done?n(l):Promise.resolve(l).then(i,r)}function nt(e){var n,t,r=e.record,a=e.callback,o=e.onFocusChat,c=(0,y.$G)(),s=(0,Oe.useRouter)(),d=(0,l.useState)(""),u=d[0],x=d[1],p=(0,l.useState)(""),v=p[0],j=p[1],g=(0,l.useState)(null),N=g[0],M=(g[1],(0,l.useState)({cancelKey:"",cancelReason:""})),_=M[0],T=M[1],I=(0,l.useState)({simple:{userType:{}}}),C=I[0],D=I[1],A=(0,l.useState)(!1),w=A[0],S=A[1],O=(0,l.useState)(!1),z=O[0],L=O[1],k=(0,y.Pc)(),E=String((null===k||void 0===k?void 0:k.userId)||""),P=(0,l.useMemo)((function(){return r.buyUserId===E}),[r.buyUserId,E]),B="\u5356\u51fa"===r.orderType,R=3===(null===C||void 0===C||null===(n=C.simple)||void 0===n?void 0:n.userType),Z=(0,l.useRef)(null),Q=(0,l.useRef)(null),F=(0,l.useRef)(null),W=(0,l.useRef)(null),G=(0,l.useRef)(null),Y=(0,l.useRef)(null),H=(0,l.useRef)(null),V=(0,l.useRef)(null),J=(0,l.useRef)(null),K=(0,l.useState)(!1),X=K[0],q=K[1],$=(0,l.useMemo)((function(){return 1===r.status||7===r.status&&"\u5356\u51fa"===r.orderType||3===r.status&&"\u5356\u51fa"===r.orderType||4===r.status&&"\u5356\u51fa"===r.orderType}),[r.status,r.orderType]),ee=Number(null===k||void 0===k?void 0:k.userId)===Number(null===r||void 0===r?void 0:r.makeUserId),ne=(0,l.useMemo)((function(){var e,n,t,i,a;if("3"!==String(null!==(i=null===r||void 0===r?void 0:r.channelId)&&void 0!==i?i:""))return!0;var o=null===(n=String(null!==(a=null===r||void 0===r||null===(e=r.ad)||void 0===e?void 0:e.market)&&void 0!==a?a:"").split("_"))||void 0===n||null===(t=n[1])||void 0===t?void 0:t.toLowerCase();return["inr","usd","ngn"].includes(String(null!==o&&void 0!==o?o:"").toLowerCase())}),[null===r||void 0===r||null===(t=r.ad)||void 0===t?void 0:t.market,null===r||void 0===r?void 0:r.channelId]);(0,l.useEffect)((function(){(0,h.bG)().then(D),8!==r.status&&L(!0)}),[]);var te=function(){var e,n;return null===(e=window)||void 0===e||null===(n=e.zE)||void 0===n?void 0:n.call(e,"messenger","open")},ie=function(){var e,n,t,i,r,a,o,c,l;null===(e=Z.current)||void 0===e||e.close(),null===(n=Q.current)||void 0===n||n.close(),null===(t=F.current)||void 0===t||t.close(),null===(i=W.current)||void 0===i||i.close(),null===(r=G.current)||void 0===r||r.close(),null===(a=Y.current)||void 0===a||a.close(),null===(o=H.current)||void 0===o||o.close(),null===(c=V.current)||void 0===c||c.close(),null===(l=J.current)||void 0===l||l.close()},re=function(){var e,n=(e=m().mark((function e(n){var t,i,o,l,s;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!w){e.next=2;break}return e.abrupt("return",b.ZP.error(c("otc.requestIng")));case 2:return S(!0),e.prev=3,e.next=6,(0,De.F)();case 6:return t=e.sent,i=t.publicKey,o=t.passwdId,l={id:r.id,imgCode:u,safePwd:(0,we.HX)(i,v),passwdId:o,status:n,payId:N,cancelKey:null===_||void 0===_?void 0:_.cancelKey,cancelReason:null===_||void 0===_?void 0:_.cancelReason},e.next=12,(0,h.AV)(l,{isXT2:!0,isResFull:!0});case 12:s=e.sent,b.ZP.success("Success."===s.info?c("SUCCESS"):s.info),null===a||void 0===a||a(),ie(),e.next=21;break;case 18:e.prev=18,e.t0=e.catch(3),b.ZP.error(e.t0.message);case 21:return e.prev=21,S(!1),j(""),x(""),e.finish(21);case 26:case"end":return e.stop()}}),e,null,[[3,18,21,26]])})),function(){var n=this,t=arguments;return new Promise((function(i,r){var a=e.apply(n,t);function o(e){et(a,i,r,o,c,"next",e)}function c(e){et(a,i,r,o,c,"throw",e)}o(void 0)}))});return function(e){return n.apply(this,arguments)}}(),ae=function(){var e;null===(e=J.current)||void 0===e||e.open({record:r})};return(0,i.jsxs)("div",{className:$?$n().orderStatusBox:$n().orderStatusBoxNotLine,children:[0!=r.status&&8!=r.status&&(0,i.jsx)("div",{className:$n().mb3}),0!==r.status&&9!==r.status&&10!==r.status?null:(0,i.jsxs)("div",{className:U()($n().mb3,$n().status0),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{className:$n().mb0,children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{className:$n().pdL4,children:c("otc.OrderTimeoutCanceled")})]})}),!R&&"\u4e70\u5165"===r.orderType&&(0,i.jsx)("div",{children:P&&(0,i.jsx)("button",{className:U()($n().button,$n().bgGreyF1),onClick:function(){var e;null===(e=Y.current)||void 0===e||e.open({onSubmit:function(e){var n;T(e),null===(n=F.current)||void 0===n||n.open({onConfirm:function(){re(8)}})}})},children:c("otc.CancelOrder1")})})]}),function(){switch(r.status){case 1:var e="\u4e70\u5165"===r.orderType&&r.isNeedVerify&&!r.isCompleteVerify&≠return(0,i.jsxs)("section",{className:U()($n().mb3,$n().statusBlock),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{children:[(0,i.jsx)("img",{src:Ae,alt:""}),P?(0,i.jsx)("span",{className:$n().pdL4,children:r.isNeedVerify&&!r.isCompleteVerify?c("otc.verify.10"):c("otc.newWaitingPayment.05")}):(0,i.jsx)("span",{className:$n().pdL4,children:r.isNeedVerify&&!r.isCompleteVerify?c("otc.verify.11"):c("otc.willMoneyPrescribed")})]})}),"\u4e70\u5165"===r.orderType&&(0,i.jsxs)("div",{style:{display:"flex"},children:[e?(0,i.jsx)("button",{className:U()($n().button),onClick:function(){var e;null===(e=H.current)||void 0===e||e.open(),null===o||void 0===o||o()},children:c("otc.verify.12")}):(0,i.jsx)("button",{className:U()($n().button),onClick:function(){var e,n;ne?null===(e=W.current)||void 0===e||e.open({record:r,onConfirm:function(){re(3)}}):null===(n=G.current)||void 0===n||n.open({record:r,onConfirm:function(){re(3)}})},children:c("otc.newWaitingPayment.06")}),(0,i.jsx)("button",{className:U()($n().button,$n().bgGreyF1),onClick:function(){var e;null===(e=Y.current)||void 0===e||e.open({onSubmit:function(e){var n;T(e),null===(n=F.current)||void 0===n||n.open({onConfirm:function(){re(8)}})}})},children:c("otc.CancelOrder1")})]}),"\u5356\u51fa"===r.orderType&&r.isNeedVerify&&!r.isCompleteVerify&&(0,i.jsx)("button",{className:U()($n().button),onClick:function(){var e;null===(e=V.current)||void 0===e||e.open({orderId:r.id,onSuccess:function(){null===a||void 0===a||a()}})},children:c("otc.verify.13")})]});case 2:return(0,i.jsxs)("section",{className:U()($n().statusBlock,$n().status8,$n().mb3),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{children:c("otc.tradingCompletedService")})]})}),(0,i.jsxs)("div",{style:{display:"flex"},children:[ee&&(0,i.jsx)("button",{className:U()($n().button),onClick:function(){return s.push("/otc/trader/".concat(r.ad.userId))},children:c("otc.newWaitingPayment.10")}),r.appealId&&(0,i.jsx)("button",{className:U()($n().button,$n().bgGreyF1,$n().ftGrey383742),onClick:function(){return s.push("/otc/appeal/".concat(r.id))},children:c("otc.disputeDetails")})]})]});case 3:return(0,i.jsxs)("section",{className:U()($n().mb3,$n().statusBlock),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{className:$n().pdL4,children:c(P?"otc.waitConfirmation":"otc.AlreadyPaidASAP")})]})}),(0,i.jsxs)("div",{style:{display:"flex"},children:[!P&&(0,i.jsx)("button",{className:U()($n().button,$n().bgYellow),style:{marginRight:15},onClick:function(){var e;null===(e=Z.current)||void 0===e||e.open({record:r,onConfirm:function(){q(!0)}})},children:c("otc.ConfirmRelease")}),(0,i.jsx)("button",{className:U()($n().button,$n().bgRed),style:{marginLeft:0},disabled:!0,children:(0,i.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center"},children:[(0,i.jsx)("div",{children:c("otc.DisputeAppeal")}),r.confirmLimitTime&&(0,i.jsx)("div",{className:$n().countDownContainer,children:(0,i.jsx)(f,{isButtonStyle:!0,timeStart:r.repayTime,timeRange:r.confirmLimitTime,timeType:1})})]})})]})]});case 4:return(0,i.jsxs)("section",{className:U()($n().mb3,$n().statusBlock),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{className:$n().mb0,children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{className:$n().pdL4,children:c("otc.orderAppealingIng")})]})}),(0,i.jsxs)("div",{style:{display:"flex"},children:[B?(0,i.jsx)("button",{className:U()($n().button),onClick:function(){var e;null===(e=Z.current)||void 0===e||e.open({record:r,onConfirm:function(){q(!0)}})},children:c("otc.ConfirmReleaseAndCloseDispute")}):(0,i.jsx)("button",{className:U()($n().button),onClick:function(){var e;null===(e=Q.current)||void 0===e||e.open({onConfirm:function(){re(8)}})},children:c("otc.CancelOrderAndCloseDisputeAppeal")}),(0,i.jsx)("button",{className:U()($n().button,$n().ftGrey383742,$n().bgGreyF1),onClick:function(){return s.push("/otc/appeal/".concat(r.id))},children:c("otc.disputeDetails")})]})]});case 6:return(0,i.jsxs)("section",{className:U()($n().mb3,$n().statusBlock),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{className:"mb-0",children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{className:$n().pdL4,children:c("otc.newWaitingPayment.05")})]})}),(0,i.jsxs)("div",{children:[P?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{className:U()($n().button),onClick:function(){return re(3)},children:c("otc.IhavePaid")}
1),(0,i.jsx)("button",{className:U()($n().button,$n().bgGreyF1),onClick:function(){return re(8)},children:c("otc.CancelOrder1")})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{className:U()($n().button,$n().bgRed),onClick:ae,children:c("otc.DisputeAppeal")}),(0,i.jsx)("button",{className:U()($n().button,$n().bgYellow,$n().ftGrey383742),onClick:function(){return re(3)},children:c("otc.IhaveReceived")})]}),(0,i.jsxs)("div",{className:U()($n().backButton),onClick:function(){return s.back()},children:[(0,i.jsx)("i",{className:"iconfont iconxingzhuang1 deg180 inline-block ft-size-12 pdL4"}),c("otc.Back")]})]})]});case 7:return(0,i.jsxs)("section",{className:U()($n().statusBlock,$n().status7,$n().mb3),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{className:"mb-0",children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{className:$n().pdL4,children:"\u5356\u51fa"===r.orderType?c("otc.ConfirmationTimeout.01.1"):c("otc.ConfirmationTimeout.01")})]})}),(0,i.jsx)("div",{children:(0,i.jsx)("button",{className:U()($n().button,$n().bgRed),onClick:ae,children:c("otc.DisputeAppeal")})})]});case 8:return(0,i.jsxs)("section",{className:U()($n().statusBlock,$n().status8,$n().mb3),children:[(0,i.jsx)("div",{className:$n().alertYellow,children:(0,i.jsxs)("p",{children:[(0,i.jsx)("img",{src:Ae,alt:""}),(0,i.jsx)("span",{className:$n().pdL4,children:function(){switch(r.cancelDescription){case"CANCEL":return c("otc.newWaitingPayment.13");case"SERVER_CANCEL":return c("otc.newWaitingPayment.15");case"RISK_CANCEL":return c("otc.newWaitingPayment.16");default:return c("otc.newWaitingPayment.14")}}()})]})}),"RISK_CANCEL"!==r.cancelDescription&&!r.appealId&&(0,i.jsxs)("div",{className:$n().newWaitingPayment11,children:[(0,i.jsxs)("span",{children:[c("otc.newWaitingPayment.11")," "]}),(0,i.jsx)("span",{className:$n().newWaitingPayment12,onClick:te,children:c("otc.newWaitingPayment.12")})]}),(0,i.jsxs)("div",{style:{display:"flex"},children:[ee&&(0,i.jsx)("button",{className:U()($n().button),onClick:function(){return s.push("/otc/trader/".concat(r.ad.userId))},children:c("otc.newWaitingPayment.10")}),r.appealId&&(0,i.jsx)("button",{className:U()($n().button,$n().bgGreyF1,$n().ftGrey383742),onClick:function(){return s.push("/otc/appeal/".concat(r.id))},children:c("otc.disputeDetails")})]})]});default:return null}}(),(0,i.jsx)(En,{ref:Z}),(0,i.jsx)(nn,{ref:Q}),(0,i.jsx)(Nn,{ref:F}),(0,i.jsx)(Kn,{ref:W}),(0,i.jsx)(vn,{ref:G}),(0,i.jsx)(Cn,{ref:Y}),(0,i.jsx)(Fn,{ref:V}),(0,i.jsx)(Je,{ref:J}),(0,i.jsx)(Se.Z,{open:X,successCallback:function(){q(!1),re(2)},onCancel:function(){q(!1)},faBizType:139,dynamicCodeType:"OTC_2003"}),(0,i.jsx)(Xn,{open:z,onClose:function(){return L(!1)}})]})}function tt(e){var n=e.orderId,t=(0,l.useState)(null),r=t[0],a=t[1],o=(0,y.Pc)(),c=(0,l.useRef)(null),s=(0,l.useRef)(null),u=null===o||void 0===o?void 0:o.userId,m=(0,l.useCallback)((function(){(0,h.kR)({id:n},{isXT2:!0,isResFull:!0,errorPop:!0,autoErrorModal:!0}).then((function(e){var n=e.data;a(n),8===n.status&&c.current&&(clearInterval(c.current),c.current=null)}))}),[n]);return(0,l.useEffect)((function(){return m(),c.current&&clearInterval(c.current),c.current=setInterval(m,3e3),function(){c.current&&clearInterval(c.current)}}),[]),r?(0,i.jsx)("div",{className:d().orderDetail,children:(0,i.jsxs)("div",{className:d().otcContent,children:[(0,i.jsxs)("div",{className:d().orderData,children:[(0,i.jsx)(_,{record:r}),(0,i.jsx)(Ce,{record:r}),(0,i.jsx)(nt,{record:r,callback:m,onFocusChat:function(){var e;return null===(e=s.current)||void 0===e?void 0:e.focusInput()}})]}),0!==r.status&&(0,i.jsx)(ue,{ref:s,userId:u,record:r,orderId:r.id})]})}):null}var it=t(83410),rt=t.n(it);function at(){var e=(0,y.$G)();return(0,i.jsx)("div",{className:rt().bgGrayFb,children:(0,i.jsx)("div",{className:rt().otcContent,children:(0,i.jsxs)("div",{className:rt().orderInfoNotice,children:[(0,i.jsx)("p",{className:rt().mb0,children:(0,i.jsx)("b",{className:rt().orderInfoNoticeTitle,children:e("otc.Notice")})}),(0,i.jsxs)("p",{className:rt().mb0,children:["1\u3001",e("otc.NoticeOrder1")]}),(0,i.jsxs)("p",{className:rt().mb0,children:["2\u3001",e("otc.NoticeOrder2")]}),(0,i.jsxs)("p",{className:rt().mb0,children:["3\u3001",e("otc.NoticeOrder3")]}),(0,i.jsxs)("p",{className:rt().mb0,children:["4\u3001",e("otc.NoticeOrder4")]})]})})})}o._y.XtAuth;var ot=!0,ct=(0,r.Pi)((function(e){e=null!==e?e:function(e){throw e}(new TypeError("Cannot destructure undefined"));var n=(0,Oe.useRouter)().query.id;return(0,i.jsxs)(a.Z,{children:[(0,i.jsx)(c.Z,{}),(0,i.jsxs)("div",{children:[(0,i.jsx)(tt,{orderId:n}),(0,i.jsx)(at,{})]})]})}))},24841:function(e,n,t){"use strict";t.d(n,{Yp:function(){return f},_T:function(){return v},zh:function(){return h}});var i=t(51218),r=t.n(i),a=t(99036),o=t.n(a),c=t(36865),l=t.n(c),s=t(72043),d=t.n(s),u=t(11333),m=t.n(u);r().extend(o()),r().extend(l()),r().extend(d());var x="YYYY-MM-DD HH:mm:ss",p=function(){var e=m()().utcOffset();return{"-10":"Pacific/Honolulu","-8":"America/Juneau","-7":"America/Los_Angeles","-6":"America/El_Salvador","-5":"America/Chicago","-4":"America/Ne
1w_York","-3":"America/Sao_Paulo",0:"Etc/UTC",1:"Africa/Lagos",2:"Africa/Cairo",3:"Asia/Jerusalem",4:"Asia/Dubai","4:30":"Asia/Tehran",5:"Asia/Ashkhabad","5:30":"Asia/Kolkata","5:45":"Asia/Kathmandu",6:"Asia/Almaty",7:"Asia/Bangkok",8:"Asia/Hong_Kong",9:"Asia/Tokyo","9:30":"Australia/Adelaide",10:"Australia/Brisbane",11:"Pacific/Norfolk",12:"Pacific/Auckland",13:"Pacific/Fakaofo"}[Math.round(e/60)+""]||"Etc/UTC"},h=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x;return e?r()(e).tz(p()).format(n):""},v=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x;return e?r()(e).tz(p()).format(n):""},f=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:x;return e?r()(e).format(n):""}},79360:function(e,n,t){"use strict";t.d(n,{Z:function(){return c}});var i=t(11527),r=(t(41667),t(43183)),a=t.n(r),o=t(50959);function c(e){var n=e.src,t=e.icon,r=e.style,c=e.onClick,l=e.className,s=e.colorStroke,d=e.colorNoChange;if(t)return(0,i.jsx)("svg",{className:"iconpark-icon",style:r,children:(0,i.jsx)("use",{href:"#"+t})});if(r||c||l){var u={_:function(e,n,t){return"svg"===e?(n.style=r,n.onClick=c,l&&(n.className=l)):"lineargradient"==e?e="linearGradient":"path"===e&&r&&r.color&&!d&&(s?n.stroke="currentColor":n.fill="currentColor"),o.createElement(e,n,t)}};return a()(n,{transform:u})}return a()(n)}},81794:function(e,n,t){"use strict";t.d(n,{Z:function(){return a}});var i=t(50155),r=t(50959);function a(){var e=r.useReducer((function(e){return e+1}),0);return(0,i.Z)(e,2)[1]}},39041:function(e,n,t){"use strict";var i=t(45929),r=t(75621),a=t(50155),o=t(82187),c=t.n(o),l=t(66292),s=t.n(l),d=t(64027),u=t(50959),m=t(71804),x=t(29852),p=t(84866),h=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t},v=((0,p.b)("small","default","large"),null);var f=function(e){var n=e.spinPrefixCls,t=e.spinning,o=void 0===t||t,l=e.delay,p=e.className,f=e.size,j=void 0===f?"default":f,g=e.tip,N=e.wrapperClassName,y=e.style,M=e.children,_=h(e,["spinPrefixCls","spinning","delay","className","size","tip","wrapperClassName","style","children"]),b=u.useState((function(){return o&&!function(e,n){return!!e&&!!n&&!isNaN(Number(n))}(o,l)})),T=(0,a.Z)(b,2),I=T[0],C=T[1];u.useEffect((function(){var e=s()((function(){C(o)}),l);return e(),function(){var n;null===(n=null===e||void 0===e?void 0:e.cancel)||void 0===n||n.call(e)}}),[l,o]);var D=function(t){var a=t.direction,o=c()(n,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(n,"-sm"),"small"===j),"".concat(n,"-lg"),"large"===j),"".concat(n,"-spinning"),I),"".concat(n,"-show-text"),!!g),"".concat(n,"-rtl"),"rtl"===a),p),l=(0,d.Z)(_,["indicator","prefixCls"]),s=u.createElement("div",(0,i.Z)({},l,{style:y,className:o,"aria-live":"polite","aria-busy":I}),function(e,n){var t=n.indicator,i="".concat(e,"-dot");return null===t?null:(0,x.l$)(t)?(0,x.Tm)(t,{className:c()(t.props.className,i)}):(0,x.l$)(v)?(0,x.Tm)(v,{className:c()(v.props.className,i)}):u.createElement("span",{className:c()(i,"".concat(e,"-dot-spin"))},u.createElement("i",{className:"".concat(e,"-dot-item")}),u.createElement("i",{className:"".concat(e,"-dot-item")}),u.createElement("i",{className:"".concat(e,"-dot-item")}),u.createElement("i",{className:"".concat(e,"-dot-item")}))}(n,e),g?u.createElement("div",{className:"".concat(n,"-text")},g):null);if("undefined"!==typeof M){var m=c()("".concat(n,"-container"),(0,r.Z)({},"".concat(n,"-blur"),I));return u.createElement("div",(0,i.Z)({},l,{className:c()("".concat(n,"-nested-loading"),N)}),I&&u.createElement("div",{key:"loading"},s),u.createElement("div",{className:m,key:"container"},M))}return s};return u.createElement(m.C,null,D)},j=function(e){var n=e.prefixCls,t=(0,u.useContext(m.E_).getPrefixCls)("spin",n),r=(0,i.Z)((0,i.Z)({},e),{spinPrefixCls:t});return u.createElement(f,(0,i.Z)({},r))};j.setDefaultIndicator=function(e){v=e},n.Z=j},86118:function(e){e.exports={modalOverlay:"CommonModal_modalOverlay__Um5hG",modalContent:"CommonModal_modalContent__GiU2q",mobile:"CommonModal_mobile__YPLRa",slideUp:"CommonModal_slideUp__TDlZU",desktop:"CommonModal_desktop__7RIOf",header:"CommonModal_header__fJuTP",title:"CommonModal_title__W9DW9",closeButton:"CommonModal_closeButton__jm4eT",body:"CommonModal_body__25OPO",contentReplacer:"CommonModal_contentReplacer__l9D72",subtitle:"CommonModal_subtitle__sYyNC",content:"CommonModal_content__hG4xM",iconTitle:"CommonModal_iconTitle__b6Gdw",hintContainer:"CommonModal_hintContainer__KfQ7K",footer
1:"CommonModal_footer__vcqz3",checkboxContainer:"CommonModal_checkboxContainer__gZNNW",footerButton:"CommonModal_footerButton__N0IZH",disabled:"CommonModal_disabled__wSrXH",mobileIndicator:"CommonModal_mobileIndicator__7smEg",indicator:"CommonModal_indicator__bl_S5",lightTheme:"CommonModal_lightTheme__E_DlU",fadeIn:"CommonModal_fadeIn__3k4S_"}},5:function(e){e.exports={noticeBox:"CustomNotice_noticeBox__P_5qs",checkbox:"CustomNotice_checkbox__zhd_k",checkboxCustom:"CustomNotice_checkboxCustom__mNoBM",checkboxMark:"CustomNotice_checkboxMark__sNKMM",noticeText:"CustomNotice_noticeText__pHg_t"}},20921:function(e){e.exports={main:"faEnableAlert_main__igmVh",content:"faEnableAlert_content__BBWh3",title1:"faEnableAlert_title1__Zv_O_",title1Low:"faEnableAlert_title1Low__dUMb_",title2:"faEnableAlert_title2__g4W_G",levelDiv:"faEnableAlert_levelDiv__Zte10",lever1:"faEnableAlert_lever1__qWiKW",lever2:"faEnableAlert_lever2__sBjMy",lever3:"faEnableAlert_lever3__1yf25",ul:"faEnableAlert_ul__BeEjI"}},57827:function(e){e.exports={main:"Loading_main__ahDaN",hasBg:"Loading_hasBg__HCujr","line-scale-pulse-out-rapid":"Loading_line-scale-pulse-out-rapid__mvpki",lineScalePulseOutRapid:"Loading_line-scale-pulse-out-rapid__mvpki"}},68321:function(e){e.exports={chatBox:"index_chatBox__VE0qx",chatTop:"index_chatTop__UL0Mi",chatTopIco:"index_chatTopIco__r4bvB",chatTopData:"index_chatTopData__xyqHb",chatTopData1:"index_chatTopData1__QIfZ3",chatTopData2:"index_chatTopData2__WI_6U",chatTopRealName:"index_chatTopRealName__bVQBP",chatMain:"index_chatMain__JFFZ5",chatTime:"index_chatTime__iTIFy",chatTimeText:"index_chatTimeText__F_niq",chatTip:"index_chatTip__3Cc3R",preWarp:"index_preWarp__pUEzb",newWarp:"index_newWarp__fJ9Iq",chatOwn:"index_chatOwn__UzEGJ",chatOthers:"index_chatOthers__qQFLy",messageTime:"index_messageTime__yifkn",playButton:"index_playButton__9pUjF",chatBottom:"index_chatBottom__vPUdE",loadingSpinner:"index_loadingSpinner__8L_d2",spinner:"index_spinner__fhWWk",spin:"index_spin__wsHQm",chatInput:"index_chatInput__4smpu",orderInfoNotice:"index_orderInfoNotice__qRClm",orderInfoNoticeTitle:"index_orderInfoNoticeTitle__Iqrpb"}},13871:function(e){e.exports={countDown:"index_countDown__9pLDX",countDown1:"index_countDown1__iSKoA",timeBlock:"index_timeBlock__FGqPr",timeBlockUrgent:"index_timeBlockUrgent__asr7m",colon:"index_colon__K_pkW"}},86529:function(e){e.exports={addDlg:"index_addDlg__AaTcH",tipContainer:"index_tipContainer__CJfbX",appealTextarea:"index_appealTextarea__qlTCk",textareaTextLimit:"index_textareaTextLimit__OmSBA",ModalBtnContainer:"index_ModalBtnContainer__sv6Ct",modalBtnContainer:"index_ModalBtnContainer__sv6Ct",btnDisabled:"index_btnDisabled__eNZiG"}},67589:function(e){e.exports={addDlg:"index_addDlg__bKkKA",tipContainer:"index_tipContainer__YDB2i",content:"index_content__7N_mu",checkView:"index_checkView__3cMVD",btns:"index_btns__o_j1y",btnDisabled:"index_btnDisabled__wzT_O"}},18314:function(e){e.exports={tipContainer:"index_tipContainer__ySnh1",content:"index_content__KYaX4",contentTitle:"index_contentTitle__ac_2a",contentDesc:"index_contentDesc__db6EV",btns:"index_btns__2Rqf_",confirmBtn:"index_confirmBtn__5r4_v"}},76694:function(e){e.exports={tipContainer:"index_tipContainer__G9VNK",tips:"index_tips__Pp0PX",left:"index_left__KukBZ",right:"index_right__LcoVj",right01:"index_right01__mcdNW",right02:"index_right02__4fbFk",radioBox:"index_radioBox__40J0k",radioBox1:"index_radioBox1___nmPs",radioBox2:"index_radioBox2__PZmya",textLength:"index_textLength__z3DMR",btns:"index_btns__M6vLs",btnDisabled:"index_btnDisabled__k_jCW"}},63348:function(e){e.exports={addDlg:"index_addDlg__VbrN3",tipContainer:"index_tipContainer__ejc3T",content:"index_content___OBpV",contentItem:"index_contentItem__k7A0x",checkView:"index_checkView__FaARW",btns:"index_btns__mEntj",btnDisabled:"index_btnDisabled__9pQZG"}},72718:function(e){e.exports={tipContainer:"index_tipContainer__DARfS",content:"index_content__J1kRa",contentTitle:"index_contentTitle__cB5r4",btns:"index_btns__PMOyg"}},21435:function(e){e.exports={modal:"index_modal__5_OU9",subTitle:"index_subTitle__n_HTp",money:"index_money__NcREV",body:"index_body__9engd",tipContainer:"index_tipContainer__tRY1z",orderInfoBody:"index_orderInfoBody__6orFL",payTitle:"index_payTitle__bcIgN",flex:"index_flex__FdAs3",box1:"index_box1__ZOFBL",box:"index_box__n6a9c",label:"index_label__1Yc4e",number:"index_number__om_2A",hidePay:"index_hidePay__Ho9KW",checkView:"index_checkView___LvD_",boxCheck:"index_boxCheck__rOJdG",btns:"index_btns__DmEYG",btnDisabled:"index_btnDisabled____69m"}},95081:function(e){e.exports={xt4Modal:"index_xt4Modal__cNcAi"}}
1,67274:function(e){e.exports={orderDetail:"index_orderDetail__bXeMZ",otcContent:"index_otcContent__etEej",orderData:"index_orderData__yC1_v",statusBox:"index_statusBox__gQy1M",left:"index_left__uvHfv",headSell:"index_headSell__WEDe_",headBuy:"index_headBuy__JdZ_L",headStart:"index_headStart__K99ZM",headTime:"index_headTime__ApteX",headTimeText:"index_headTimeText__EMS7e",right:"index_right__Z_Qxj",top:"index_top__79LGl",bottom:"index_bottom__n0rg1","ft-gray-8F8E92":"index_ft-gray-8F8E92__aWf6u",ftGray8F8E92:"index_ft-gray-8F8E92__aWf6u",otcCopy:"index_otcCopy__Uoqp7",chatBox:"index_chatBox__9SrCE",chatMain:"index_chatMain__9t0QU",chatTime:"index_chatTime__4De1q",chatTip:"index_chatTip__Eu_Oc",chatOwn:"index_chatOwn__vwwnr",chatOthers:"index_chatOthers__Ubb5y",playButton:"index_playButton__huMz9",chatBottom:"index_chatBottom__mdqcH",chatInput:"index_chatInput__EyodB",iconfasong:"index_iconfasong__eH3EQ"}},35379:function(e){e.exports={statusBox:"index_statusBox__C51_M",right:"index_right__iU3Xp",value:"index_value__zjXyh",headSell:"index_headSell__zB4fS",headBuy:"index_headBuy__Qrh6i",headStart:"index_headStart__DogiY",headTime:"index_headTime___ZFkl",headTimeText:"index_headTimeText__RxOHs",headStatusRow:"index_headStatusRow__TsG0n",headStatusLeft:"index_headStatusLeft__dJ8UR",countdownWrapper:"index_countdownWrapper__EtZAO",headTips:"index_headTips__11lyQ",headTipText:"index_headTipText__b92FB",cancelTime:"index_cancelTime__jxuCS",orderId:"index_orderId__9PQc2",copyIcon:"index_copyIcon__8_vVH",bottom:"index_bottom___kzhp",ftGray8F8E92:"index_ftGray8F8E92__1PAgF",otcCopy:"index_otcCopy__pgxPm",orderGroup:"index_orderGroup__AaHXw"}},83410:function(e){e.exports={otcContent:"index_otcContent__tya6n",bgGrayFb:"index_bgGrayFb__GPqI1",orderInfoNotice:"index_orderInfoNotice___3DMu",orderInfoNoticeTitle:"index_orderInfoNoticeTitle__uKupc",mb0:"index_mb0__Bi5WH"}},33034:function(e){e.exports={customTimeline:"index_customTimeline__fonPR",customDot:"index_customDot__N5y4M",otcCopyTitle:"index_otcCopyTitle__1dWsF",otcCopyTitle1:"index_otcCopyTitle1__kdkN6",extraClass:"index_extraClass__OtG_X",infoCard:"index_infoCard__Jc750",cardBody:"index_cardBody__xdDL_",flexRow:"index_flexRow__9dILK",realnameBox:"index_realnameBox__tJUPt",label:"index_label__798sf",value:"index_value__Kxcos",copyIcon:"index_copyIcon__pXgHF",hidePayBox:"index_hidePayBox__nFvEX",divider:"index_divider__ZDFWK",iconGroup:"index_iconGroup___tg7N",qrModal:"index_qrModal__KHsIB",content2:"index_content2__lF_pY",xtScreen:"index_xtScreen__EpwO7",imgs:"index_imgs__mArnk",close:"index_close__PVZY6",newWaitingPayment20:"index_newWaitingPayment20__XsGlg"}},87655:function(e){e.exports={orderStatusBox:"index_orderStatusBox__Dbq6M",orderStatusBoxNotLine:"index_orderStatusBoxNotLine___pXgW",newWaitingPayment11:"index_newWaitingPayment11__8kyOO",newWaitingPayment12:"index_newWaitingPayment12__VN1IG",mb3:"index_mb3__Duv7j",button:"index_button__3BlwX",bgRed:"index_bgRed__2VSLc",status8:"index_status8__C7fhb",bgGreyF1:"index_bgGreyF1__1uyZM",ftGrey383742:"index_ftGrey383742__yO_Kg",status0:"index_status0__x_EF8",countDownContainer:"index_countDownContainer__UKMpK",orderPayment:"index_orderPayment__BuhFo",collectionItem1:"index_collectionItem1__E5vBC",collectionTop:"index_collectionTop__ZNi0J",mb0:"index_mb0__unJF6",otcTips:"index_otcTips__ANgZG",orderStatusTitle:"index_orderStatusTitle__KjhCK",alertYellow:"index_alertYellow__TkJ8J",hidePayBox:"index_hidePayBox__J7t6X",alertBgRed:"index_alertBgRed__6mQ95",forgetInput:"index_forgetInput__sdU6e",forgetPassword:"index_forgetPassword__5hJtK",appealTextarea:"index_appealTextarea__6sFvf",textareaTextLimit:"index_textareaTextLimit__8itn6",pdL4:"index_pdL4__ZGwI1",modalBtnContainer:"index_modalBtnContainer__3Hc6O",btnDisabled:"index_btnDisabled__4KQTD",backButton:"index_backButton__WBT8s"}},86398:function(e){e.exports={uploadAuth:"index_uploadAuth__FSiPa",uploadInner:"index_uploadInner__UxVyb"}},41667:function(){},32744:function(e){e.exports='<svg viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="13.5" height="13.5" rx="3" fill="#1B1C23"></rect><path d="M9.75024 4.75L5.75024 9.25L3.75 7" stroke="#FAFAFA" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>'},23694:function(e){e.exports='<svg viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="13.5" height="13.5" rx="3" fill="#FAFAFA"></rect><path d="M9.75024 4.75L5.75024 9.25L3.75 7" stroke="#1B1C23" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>'},43168:function(e){e.exports='<svg viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#clip0_22654_91461)"><path d="M13.9806 1.74732L12.2333 0L6.99032 5.24265L1.7479 0L0 1.74732L5.24312 6.99008L0 12.2327L1.7479 13.9801L6.99032 8.7374L12.2333 13.9801L13.9806 12.2327L8.73822 6.99008L13.9806 1.74732Z" fill="currentColor"></path></g></svg>'},20679:function(e){e.exports='<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 6C2 3.79086 3.79086 2 6 2H14C16.2091 2 18 3.79086 18 6V14C18 16.2091 16.2091 18 14 18H6C3.79086 18 2 16.2091 2 14V6Z" stroke="#9EA0A8"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M14.0741 5.25766C14.6471 5.60122 15.0001 6.23612 15 6.9232C14.9999 7.98521 14.1708 8.8461 13.1481 8.8461C12.1254 8.8461 11.2963 7.98521 11.2962 6.9232C11.2961 6.23612 11.6491 5.60122 12.2221 5.25766C12.7951 4.91411 13.5011 4.91411 14.0741 5.25766ZM9.17688 7.31418C9.30972 7.31418 9.4324 7.38806 9.49837 7.5078L9.49874 7.50742L13.3048 14.4246C13.3702 14.5436 13.3698 14.6899 13.3035 14.8084C13.2373 14.927 13.1153 15 12.9833 15H5.37047C5.23836 15 5.11623 14.927 5.04997 14.8083C4.9837 14.6896 4.98332 14.5433 5.04898 14.4242L8.85538 7.5078C8.92135 7.38806 9.04403 7.31418 9.17688 7.31418Z" fill="#9EA0A8"></path><path d="M12.6421 10.1939C12.7156 10.074 12.8521 10 13 10C13.1479 10 13.2844 10.074 13.3579 10.1939L15.9457 14.4239C16.0186 14.5431 16.0181 14.6895 15.9443 14.8082C15.8706 14.9269 15.7348 15 15.5879 15H10.4121C10.2652 15 10.1294 14.9269 10.0557 14.8082C9.98194 14.6895 9.98141 14.5431 10.0543 14.4239L12.6421 10.1935V10.1939Z" fill="#9EA0A8"></path></svg>'},99963:function(e){e.exports='<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M1.6802 9.41826L18.1133 3.07708C18.7306 2.83887 19.1136 3.17129 18.9698 3.81913L15.9697 17.3376C15.8255 17.9873 15.2763 18.1933 14.7422 17.8019L10.6309 14.7891L8.54819 16.8523C8.07589 17.3202 7.52375 17.1875 7.31239 16.5586L5.698 11.755L1.72742 10.5769C0.777326 10.2949 0.754127 9.77561 1.6802 9.41826ZM8.60303 12.3788L15.6126 6.13357C16.1058 5.69407 16.0455 5.61383 15.479 5.95359L6.58966 11.2855C6.44798 11.3704 6.37531 11.5665 6.42836 11.7264L7.78469 15.8148C7.88858 16.128 8.00122
116.1145 8.03597 15.7878L8.34542 12.8784C8.36293 12.7137 8.47699 12.4911 8.60303 12.3788Z" fill="#9EA0A8"></path></svg>'},1201:function(e){e.exports='<svg viewBox="0 0 72 72" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M36 9C50.931 9 63 21.069 63 36C63 50.931 50.931 63 36 63C21.069 63 9 50.931 9 36C9 21.069 21.069 9 36 9ZM36 42C34.341 42 33 43.341 33 45C33 46.659 34.341 48 36 48C37.659 48 39 46.659 39 45C39 43.341 37.659 42 36 42ZM36 21C34.3431 21 33 22.3431 33 24V35C33 36.6569 34.3431 38 36 38C37.6569 38 39 36.6569 39 35V24C39 22.3431 37.6569 21 36 21Z" fill="#FB823C"></path></svg>'},73233:function(e,n){"use strict";n.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE3LjI5MjkgNS4yOTI4OUMxNy42ODM0IDQuOTAyMzcgMTguMzE2NCA0LjkwMjM5IDE4LjcwNyA1LjI5Mjg5QzE5LjA5NzUgNS42ODM0MiAxOS4wOTc1IDYuMzE2NDMgMTguNzA3IDYuNzA2OTZMMTMuNDE0IDExLjk5OTlMMTguNzA3IDE3LjI5MjlDMTkuMDk3NCAxNy42ODM0IDE5LjA5NzUgMTguMzE2NCAxOC43MDcgMTguNzA3QzE4LjMxNjQgMTkuMDk3NSAxNy42ODM0IDE5LjA5NzQgMTcuMjkyOSAxOC43MDdMMTEuOTk5OSAxMy40MTRMNi43MDY5NiAxOC43MDdDNi4zMTY0MyAxOS4wOTc1IDUuNjgzNDIgMTkuMDk3NSA1LjI5Mjg5IDE4LjcwN0M0LjkwMjM5IDE4LjMxNjQgNC45MDIzNyAxNy42ODM0IDUuMjkyODkgMTcuMjkyOUwxMC41ODU5IDExLjk5OTlMNS4yOTI4OSA2LjcwNjk2QzQuOTAyMzcgNi4zMTY0MyA0LjkwMjM3IDUuNjgzNDIgNS4yOTI4OSA1LjI5Mjg5QzUuNjgzNDIgNC45MDIzNyA2LjMxNjQzIDQuOTAyMzcgNi43MDY5NiA1LjI5Mjg5TDExLjk5OTkgMTAuNTg1OUwxNy4yOTI5IDUuMjkyODlaIiBmaWxsPSIjMUIxQzIzIi8+Cjwvc3ZnPgo="},42919:function(e,n){"use strict";n.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTQiIGhlaWdodD0iNTQiIHZpZXdCb3g9IjAgMCA1NCA1NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI3IDBDNDEuOTMxIDAgNTQgMTIuMDY5IDU0IDI3QzU0IDQxLjkzMSA0MS45MzEgNTQgMjcgNTRDMTIuMDY5IDU0IDAgNDEuOTMxIDAgMjdDMi41Njk3NWUtMDcgMTIuMDY5IDEyLjA2OSAyLjU2OTZlLTA3IDI3IDBaTTI3IDMzQzI1LjM0MSAzMyAyNCAzNC4zNDEgMjQgMzZDMjQgMzcuNjU5IDI1LjM0MSAzOSAyNyAzOUMyOC42NTkgMzkgMzAgMzcuNjU5IDMwIDM2QzMwIDM0LjM0MSAyOC42NTkgMzMgMjcgMzNaTTI3IDEyQzI1LjM0MzEgMTIgMjQgMTMuMzQzMSAyNCAxNVYyNkMyNCAyNy42NTY5IDI1LjM0MzEgMjkgMjcgMjlDMjguNjU2OSAyOSAzMCAyNy42NTY5IDMwIDI2VjE1QzMwIDEzLjM0MzEgMjguNjU2OSAxMiAyNyAxMloiIGZpbGw9IiNGQjgyM0MiLz4KPC9zdmc+Cg=="},31703:function(e,n){"use strict";n.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAbBJREFUWIXtlsFtwkAQRf+s9xqJEpwO6ABaSAekAha4RCgRiyJFORGngjgVUEJCB3QQl4DEDa09OdjYODjsGuRwIP/EWp6dz868HQOXLjomSCntwzNtcNJyChAigpRR8KyjkwworVu8NnMwunXiimwU0pU3CLRe5d5qbbCOX45ODgDMPV6becmTa6y60z5vzFcWFhHiaa3c8CYA+wBAibwOgrQc0nkHY/wd19Ng9hTWMaCGYzDEGwDAM20AEWqVIEl8h7fcxJQ3b70eaEBnN1DZA5Wck9cBMwCACR01HBcBBzivZWDLObPpglE+oCx59rvHEL18nQDYGPRHD3uc21QuQQOc25SfQMZ59q9O4JzRVUr7W86dDTTFuU1FCRri3N3AmXQeA4Lz8rjPghrauyeKJk0XRjZrYO+eyCykonCXkD8tARE+KfEGu8+aOQFQSIgXxVKsEMtl1d3QiAECFq73yIViWGmAhPMEs+/KzmO56IFYLiEMkAIz+cmxTb9xblPpq7g/uv84aRynW4avs8db17dLPUCxvCHG+9GpKzi3xlQ9VEr7kMZ3npAHOP+XTd+zisKG6fxONAAAAABJRU5ErkJggg=="},23377:function(e,n){"use strict";n.Z="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALKSURBVHgB7Vg7a1RBGD1uJIIk1aZJGtfGgBgQV4RYrQja6A/wD9qlCghWKohVtDA2pnFFiCCJCJtmU/mdvXPXL3Nndp4BITlwuI+5c++Z7zVzB7jEBcUVlGFZOBCuCdfN9apqnxj+Fn4T/kQmcoVS1FDYF15L6EfRFLsnPEnolyx0RTgSbqAcB0gQnCJ0S3gPaRYMgRZ+i4iQWEIcRsK7wquoCw5605wvFBsjdCS8hfNFG0pesSGh28LbyMep8JXwkzlfFNsb5plfrsbego7M6i2U4QMaKzEWP0Y8T8P0XQ0+oczuIcoxsd4Zgydo6vEZ+ITeRx0MzJEffhrZhxNGx5Ou8sRi/hz1MEV6SWOsvjTHGVwW3URd5NTdZVtHz/HAeZeiWNzQF3YBrzE1ckr8LDw2148Qn0i2Fhpu5n5b6DrywReyBO1b94+QJ5QYoFkTdFzfRx5oxR3hV3RLS65IYq09sYWuIh1ca1IkB/lC+FC1reiPZWA+aNv1qULp7l00Cbht7h2q9tKYn3ujdDXEET/D2ZDRC4sBKqGHcmiRtKaeNmtUkRlsoROU4bs6b/+hSuCdmY5RBu32GjPcXE9Ni7JEHanrkprcwit0jHzobGfc5pQ67ztdrj9FHsbqvEYSHWJBjLJhH3nQFq3h9gN90Qs9EAnbE6UWPUGEUCZUqlV1tjM+dVniQiW1muzZN3wFny9P2XLRbm+TqJ1eXQuV0Ls6XvUJ5UfeIB5Tx8d2zH3+1sRWABrnnathKdCJiIm39r+d+IPGIjeFj4XXEY9d07+D0AZEG3shsWP8Gxjd/MAwdtHDQb4X/vA9ELtJNkT4P3+MRmTqViQH+BqBhEvZzWOcMd5KVuw2GMuMyeDUnbORS8tywVEimFZkCYqu2bk7zrQuZ587SPvVoAW/IGNNUbqHT1A045IJRyvrmknL0a2MPybmFJf4T/AXl1KDrNzWeMwAAAAASUVORK5CYII="}},function(e){e.O(0,[1785,1577,3023,2329,2823,3076,3437,5220,4976,6045,2181,3580,6134,7860,8489,4570,9774,2888,179],(function(){return n=22774,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.