PageSourceSearch

https://static.choigai.cn/_next/static/chunks/pages/me/wallet/withdrawals-b4f77f476c767e4b.js

js choigai.cn collected 2026-10-10 00:16:30 UTC 9,571 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25014],{582:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/me/wallet/withdrawals",function(){return r(70953)}])},72168:function(e,t,r){"use strict";var n=r(97458),a=r(52983),s=r(96250);let i=(0,a.forwardRef)((e,t)=>{var r,a;return(0,n.jsx)(s.Z,{activeClassName:null!==(r=e.activeClassName)&&void 0!==r?r:"u-bg-fill-quaternary",staticClassName:null!==(a=e.staticClassName)&&void 0!==a?a:"u-cursor-pointer hover:u-bg-fill-quaternary",...e,ref:t})});t.Z=i},78513:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var n=r(97458),a=r(7862),s=r.n(a),i=r(23125),l=r(61994),u=r(9918);function o(e){let t;let{status:r,height:a}=e;switch(r){case"release":t=(0,n.jsx)(u.Z,{className:"u-text-primary"});break;case"activate":t=(0,n.jsx)(l.r,{className:"u-size-[22px] u-text-meta u-transition-all",style:{transform:"rotate(180deg)"}});break;case"finish":t=null;break;default:t=(0,n.jsx)(l.r,{className:"u-size-[22px] u-text-meta u-transition-all"})}return(0,n.jsx)("div",{style:{height:a,marginTop:-1*a},className:"u-flex u-items-center u-justify-center",children:t})}o.propTypes={status:s().oneOf(["release","activate","deactivate","finish"]),height:s().number};let c={activate:(0,n.jsx)(o,{status:"activate",height:50}),deactivate:(0,n.jsx)(o,{status:"deactivate",height:50}),release:(0,n.jsx)(o,{status:"release",height:50}),finish:(0,n.jsx)(o,{status:"finish",height:50})};function d(e){let t=e.getScrollContainer||void 0;return(0,n.jsx)(i.Z,{direction:"down",distanceToRefresh:50,refreshing:e.refreshing,onRefresh:e.onRefresh,indicator:c,getScrollContainer:t,className:e.className,children:e.children})}d.propTypes={className:s().string,children:s().any,onRefresh:s().func,refreshing:s().bool,getScrollContainer:s().oneOfType([s().func,s().bool])},d.defaultProps={getScrollContainer:()=>document.body}},71538:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(97458),a=r(9918);function s(e){return(0,n.jsx)("div",{className:"u-h-full u-flex u-p-6 u-items-center u-justify-center",children:(0,n.jsx)(a.Z,{className:"u-text-primary"})})}},45635:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(97458),a=r(24271),s=r(83359);function i(){let{formatMessage:e}=(0,a.Z)();return(0,n.jsx)("div",{className:"u-text-center u-py-4 u-text-subheadline u-text-label-secondary",children:e(s.y0.reachEnd)})}},65761:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(97458);function a(e){return(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 150","aria-hidden":"true",...e,children:[(0,n.jsx)("path",{d:"M22,59.251l12,42,10.07-7.108L51,89.251Z",fill:"none",stroke:"var(--empty-graph-color, currentColor)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M51,89.251l3,14-9-9",fill:"none",stroke:"var(--empty-graph-color, currentColor)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("line",{y1:"16",x2:"3",transform:"translate(54 87.251)",fill:"none",stroke:"var(--empty-graph-color, currentColor)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M70,78.251l-13,9-35-28Z",fill:"none",stroke:"var(--empty-graph-color, currentColor)",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("path",{d:"M58,108.251s15,17,31,9,11-22,5-23-8,7-8,10c0,3.5,2.706,12.536,9,17,4.5,3.189,11.333,4,18-1",fill:"none",stroke:"var(--empty-graph-color, currentColor)",strokeLinecap:"round",strokeLinejoin:"round",strokeDasharray:"3"}),(0,n.jsx)("path",{d:"M118.762,66.774a9.238,9.238,0,0,1,0,18.477H101.825a4.619,4.619,0,0,1,0-9.238,6.158,6.158,0,0,1,9.347-5.271A9.231,9.231,0,0,1,118.762,66.774Z",fill:"none",stroke:"var(--empty-graph-hint-color, currentColor)",strokeMiterlimit:"10",strokeWidth:"1.5"}),(0,n.jsx)("path",{d:"M94.657,41.759c-.007-.964-.373-2.63-2.157-5.008-3-4-8-3-8-3,0-1-3-8-11-8a10.23,10.23,0,0,0-10,7s-6-3-10,0c-3.578,2.683-3.878,7.448-3.621,9.015A5.663,5.663,0,0,0,44.5,47.42v1.331a7,7,0,0,0,7,7h43a7,7,0,0,0,.157-13.992Z",fill:"none",stroke:"var(--empty-graph-hint-color, currentColor)",strokeMiterlimit:"10",strokeWidth:"1.5"})]})}},70953:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var n=r(97458),a=r(52983),s=r(7501),i=r(24271),l=r(89575),u=r.n(l),o=r(94817),c=r(70756),d=r(74601),h=r(2100),f=r(57966),x=r(61650),v=r(78513),m=r(71538),p=r(9918),g=r(45635),y=r(65761),b=r(89059),j=r(39442),w=r(72168);function N(e){let{data:t}=e,{formatMessage:r,formatNumber:a}=(0,i.Z)(),s=(()=>{switch(t.status){case x.lF.NEW:return"u-text-warning";case x.lF.PROCESSING:return"u-text-primary";case x.lF.DONE:return"u-text-success";case x.lF.FAILED:return"u-text-danger";default:return"u-text-label-tertiary"}})();return(0,n.jsx)(u(),{href:"/me/wallet/withdrawals/".concat(t.id),children:(0,n.jsxs)(w.Z,{className:"u-py-2 u-rounded-sm u-relative",children:[(0,n.jsxs)("div",{className:"u-flex u-justify-between u-px-3 u-mb-2",children:[(0,n.jsx)("div",{className:"u-text-subheadline u-text-label-secondary",children:(0,n.jsx)(j.Ji,{value:t.updated_at,dateStyle:"medium",timeStyle:"short"})}),(0,n.jsx)("div",{className:"u-text-subheadline ".concat(s),children:r(f.AB[t.status])})]}),(0,n.jsxs)("div",{className:"u-px-3 u-flex u-justify-between u-items-end",children:[(0,n.jsx)("div",{className:"u-flex-1 u-mr-3",children:(0,n.jsxs)("div",{className:"u-text-body u-text-label-primary",children:[t.account.bank.name," ****",t.account.account_number.slice(-4)]})}),(0,n.jsx)("div",{className:"u-text-body u-font-medium u-text-primary",children:a(-t.amount,{style:"currency",currency:t.currency})})]})]})})}function k(){var e,t,r;let l=(0,o.useRouter)(),{formatMessage:j}=(0,i.Z)();(0,c.r4)("u-bg-background-grouped-primary");let w=l.query.status,k=(0,h.EC)({status:w}),C=(0,a.useCallback)(()=>{k.setSize(e=>e+1)},[]),[M]=(0,s.Z)({loading:d.UG.isLoading(k),hasNextPage:d.UG.hasMore(k),onLoadMore:C,disabled:!!k.error,rootMargin:"0px 0px 200px 0px",delayInMs:200});return(0,n.jsxs)("div",{children:[(0,n.jsx)(b.Z,{fixed:!0,shadow:!0,canGoBack:!0,title:(()=>
1{if(!w)return j(f.gU.withdrawalsTitle);switch(w){case x.lF.NEW:return j(f.gU.withdrawalsPendingTitle);case x.lF.PROCESSING:return j(f.gU.withdrawalsProcessingTitle);case x.lF.DONE:return j(f.gU.withdrawalsCompletedTitle);case x.lF.FAILED:return j(f.gU.withdrawalsFailedTitle);default:return j(f.gU.withdrawalsTitle)}})()}),(0,n.jsxs)(v.Z,{refreshing:k.isLoading,onRefresh:k.mutate,children:[k.isLoading&&!(null===(e=k.items)||void 0===e?void 0:e.length)&&(0,n.jsx)(m.Z,{}),(0,n.jsxs)("div",{className:"u-px-2 u-flex u-flex-col u-gap-3 u-py-3",children:[d.UG.isEmpty(k)&&(0,n.jsxs)("div",{className:"u-text-center u-py-8",children:[(0,n.jsx)(y.Z,{className:"u-text-primary u-mb-4"}),(0,n.jsx)("div",{className:"u-text-label-primary u-mb-2",children:w?j(f.gU.withdrawalsEmptyFilteredTitle):j(f.gU.withdrawalsEmptyTitle)}),w&&(0,n.jsx)(u(),{href:"/me/wallet/withdrawals",legacyBehavior:!0,children:(0,n.jsx)("a",{className:"u-inline-block",children:(0,n.jsx)("span",{className:"u-text-primary u-text-callout",children:j(f.gU.withdrawalsViewAll)})})})]}),null===(t=k.items)||void 0===t?void 0:t.map(e=>(0,n.jsx)(N,{data:e},e.id)),!!(null===(r=k.items)||void 0===r?void 0:r.length)&&d.UG.hasMore(k)&&(0,n.jsx)("div",{className:"u-text-center u-p-4",ref:M,children:(0,n.jsx)(p.Z,{className:"u-text-primary"})}),d.UG.shouldRenderEndHint(k)&&(0,n.jsx)(g.Z,{})]})]})]})}},7501:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n,a=r(52983),s=[0],i=(n=new Map,{getObserver:function(e){var t=e.root,r=e.rootMargin,a=e.threshold,s=n.get(t);s||(s=new Map,n.set(t,s));var i=JSON.stringify({rootMargin:r,threshold:a}),l=s.get(i);if(!l){var u=new Map;l={observer:new IntersectionObserver(function(e){e.forEach(function(e){var t=u.get(e.target);null==t||t(e)})},{root:t,rootMargin:r,threshold:a}),entryCallbacks:u},s.set(i,l)}return{observe:function(e,t){var r,n;null==(r=l)||r.entryCallbacks.set(e,t),null==(n=l)||n.observer.observe(e)},unobserve:function(e){var t,r;null==(t=l)||t.entryCallbacks.delete(e),null==(r=l)||r.observer.unobserve(e)}}}});function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var u=function(e){var t,r,n,u,o,c,d,h,f,x,v,m,p,g,y,b,j,w,N,k,C,M=e.loading,Z=e.hasNextPage,E=e.onLoadMore,L=e.rootMargin,T=e.disabled,R=e.delayInMs,O=void 0===R?100:R,S=(b=(u=null!=(r=(t={rootMargin:L}).rootMargin)?r:"0px",o=null!=(n=null==t?void 0:t.threshold)?n:s,c=(0,a.useRef)(null),d=(0,a.useRef)(null),h=(0,a.useRef)(null),x=(f=(0,a.useState)())[0],v=f[1],m=(0,a.useCallback)(function(){var e=c.current;if(!e){v(void 0);return}var t=i.getObserver({root:d.current,rootMargin:u,threshold:o});t.observe(e,function(e){v(e)}),h.current=t},[u,o]),p=(0,a.useCallback)(function(){var e=h.current,t=c.current;t&&(null==e||e.unobserve(t)),h.current=null},[]),y=[(0,a.useCallback)(function(e){p(),c.current=e,m()},[m,p]),{entry:x,rootRef:(0,a.useCallback)(function(e){p(),d.current=e,m()},[m,p])}])[0],w=!!(null==(g=(j=y[1]).entry)?void 0:g.isIntersecting),k=(N=(0,a.useState)(w))[0],C=N[1],w&&!k&&C(!0),[b,l({},j,{isVisible:w,wasEverVisible:k})]),U=S[0],_=S[1],F=_.rootRef,P=_.isVisible,G=!T&&!M&&P&&Z;return(0,a.useEffect)(function(){if(G){var e=setTimeout(function(){E()},O);return function(){clearTimeout(e)}}},[E,G,O]),[U,{rootRef:F}]}}},function(e){e.O(0,[23125,23654,46471,49774,77638,22897,63459,92888,40179],function(){return e(e.s=582)}),_N_E=e.O()}]);

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.