PageSourceSearch

https://fastwork.co/_next/static/chunks/pages/coin-825c8f9f009dd501.js

js fastwork.co collected 2026-09-24 17:10:02 UTC 5,031 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8647],{16666:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/coin",function(){return t(74255)}])},57010:(e,n,t)=>{"use strict";t.d(n,{V:()=>l,y:()=>p});var r=t(16927),i=t(67684),u=t(62701),a=t(85993),c=t(4902),o=t(76757),s=t(78735),l=function(e){return(0,r._)(function(){var n;return(0,c.YH)(this,function(t){return n=[],e.sections.forEach(function(e){n=(0,a._)(n).concat((0,a._)(e.product_ids))}),[2,(0,s.zh)(n)]})})()},p=function(e,n){var t=new URL(e),r=o.parse(t.search),a=o.stringify((0,u._)((0,i._)({},r),{source:n}));return"".concat(t.origin).concat(t.pathname,"?").concat(a)}},70953:(e,n,t)=>{"use strict";t.d(n,{Db:()=>p,Gl:()=>_,kT:()=>h,mG:()=>l});var r=t(20294),i=t(37876),u=t(14232),a=t(77472),c=t(84194),o=(0,a.e)(),s=(0,r._)(o,2)[1],l=(0,r._)(o,1)[0],p=function(e){var n=(0,r._)((0,u.useState)({page:1,year:new Date().getFullYear()}),2),t=n[0],a=n[1];return(0,i.jsx)(s,{value:{filter:t,setFilter:a},children:e.children})},f=(0,a.e)(),d=(0,r._)(f,2)[1],_=(0,r._)(f,1)[0],h=function(e){var n=(0,c.RD)().data,t=(0,u.useMemo)(function(){return null==n?void 0:n.find(function(e){return"promptpay"===e.method})},[n]);return(0,i.jsx)(d,{value:{isMaintenance:null==t?void 0:t.is_maintenance,maintenanceMessage:null==t?void 0:t.maintenance_message},children:e.children})}},70967:(e,n,t)=>{"use strict";t.d(n,{Gl:()=>d,Hv:()=>o,M8:()=>s,VS:()=>a,XI:()=>l,aZ:()=>c,nG:()=>p,pN:()=>f});var r=t(37876),i=t(45691),u=t(17907),a=Array(10).fill(new Date().getFullYear()).map(function(e,n){return e-n}),c="coin_topup_history",o="coin_topup",s="user_coin",l=["5000","10000","50000","100000"],p=10,f="web_coin_topup",d=function(e){return[(0,r.jsx)("li",{children:e("top-up.coin-note.1")},"1"),(0,r.jsx)("li",{children:e("top-up.coin-note.2")},"2"),(0,r.jsx)("li",{children:e("top-up.coin-note.3")},"3"),(0,r.jsxs)("li",{children:[e("top-up.coin-note.4"),"\xa0",(0,r.jsx)(i.Gr,{href:u.gy,className:"_cl-primary-600 _tdcrt-udl",children:"Support Center"})]},"4")]}},74255:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>p,default:()=>f});var r=t(37876),i=t(18847),u=t.n(i),a=t(14232),c=t(45691),o=t(70953),s=u()(function(){return Promise.all([t.e(346),t.e(4174),t.e(8992),t.e(2475),t.e(6310),t.e(6018),t.e(4684)]).then(t.bind(t,7089)).then(function(e){return e.CoinMobilePage})},{loadableGenerated:{webpack:function(){return[7089]}}}),l=u()(function(){return Promise.all([t.e(346),t.e(4174),t.e(8992),t.e(2475),t.e(6310),t.e(6018),t.e(4684)]).then(t.bind(t,7089)).then(function(e){return e.CoinDesktopPage})},{loadableGenerated:{webpack:function(){return[7089]}}}),p=!0;let f=function(e){var n=e.isMobile;return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsx)(c.W8,{}),(0,r.jsx)("div",{className:"coin-page",children:(0,r.jsx)(o.Db,{children:(0,r.jsx)(o.kT,{children:n?(0,r.jsx)(s,{}):(0,r.jsx)(l,{})})})})]})}},84194:(e,n,t)=>{"use strict";t.d(n,{AR:()=>m,PD:()=>w,RD:()=>j,UW:()=>g,hb:()=>b,nw:()=>v});var r=t(16927),i=t(67684),u=t(62701),a=t(4902),c=t(42252),o=t(79819),s=t(15526),l=t(88202),p=t(66002),f=t(10415),d=t(93298),_=t(57010),h=t(70967),y=(0,l.$)().API_URL,m=function(e){return(0,c.I)({queryKey:[h.Hv,e],queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(n){switch(n.label){case 0:return[4,d.BZ.getCoinTopUp(e)];case 1:return[2,n.sent().getCoinTopUp]}})})()},enabled:!!e})},b=function(e,n){return(0,c.I)({queryKey:[h.aZ,e],queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(n){switch(n.label){case 0:return[4,d.BZ.getTopUpHistory((0,u._)((0,i._)({},e),{limit:10,order_by:"",dir:""}))];case 1:return[2,n.sent()]}})})()},keepPreviousData:!0,enabled:n})},v=function(e,n){return(0,o.q)({queryKey:[h.aZ,{year:e.year}],queryFn:function(n){var t=n.pageParam,i=void 0===t?e:t;return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,d.BZ.getTopUpHistory(i)];case 1:return[2,e.sent()]}})})()},getNextPageParam:function(n){if(!(n.metadata.total_count<n.metadata.limit*n.metadata.page))return(0,u._)((0,i._)({},e),{page:n.metadata.page+1})},enabled:n})},g=function(e){return(0,c.I)({queryKey:[h.M8],queryFn:function(){return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,d.BZ.getUserCoin()];case 1:return[2,e.sent().user]}})})()},enabled:e,staleTime:1/0,cacheTime:1/0})},w=function(){return(0,s.n)(function(e){var n=e.data.amount;return(0,r._)(function(){var e;return(0,a.YH)(this,function(t){switch(t.label){case 0:if(!(0,l.$)().FEATURES.FASTPAY)return[3,2];return[4,d.BZ.topUpWithFastpay(n)];case 1:return e=t.sent(),[2,(0,_.y)(e.redirect_url,h.pN)];case 2:return[4,d.BZ.topUp(n)];case 3:return[2,t.sent().coinTopUp];case 4:return[2]}})})()})},x=function(){return(0,r._)(function(){return(0,a.YH)(this,function(e){switch(e.label){case 0:return[4,(0,f.A)("".concat(y,"/api/payment/available-method"))];case 1:return[2,e.sent().parsedBody]}})})()},j=function(){return(0,c.I)({queryKey:[p.C0],queryFn:x})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=16666)),_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.