PageSourceSearch

https://www.onikamaramenbar.com/_next/static/chunks/pages/static/referral/referral-history-24ee2676e932cfc8.js

js onikamaramenbar.com collected 2026-09-24 14:00:44 UTC 3,761 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2432],{22350:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/static/referral/referral-history",function(){return t(59838)}])},60191:function(e,r){"use strict";r.Z={getReferralInfo:"/api/referral/super-portal-info",getHistoryRedeeme:"/api/referral/list/",getHistoryGain:"/api/referral/list/"}},59838:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return g}});var i=t(85893),a=t(67294),s=t(25142),l=t(82536),_=t.n(l),d=t(61299),c=t(51189),n=t(11163),o=t(24344),y=t(60191),h=()=>(0,i.jsx)("div",{className:_().tabbody,children:(0,i.jsxs)("div",{className:_().tabbody_detail,children:[(0,i.jsx)("div",{className:_().tabbody_detail_icon}),(0,i.jsx)("div",{className:_().tabbody_detail_text,children:"No credits records found"})]})}),u=t(43422),f=t.n(u),b=t(89798),m=t(48347),p=e=>{let[r,t]=(0,a.useState)([]),{queryUrl:s,id:l}=e,_=(0,o.QT)({url:y.Z.getHistoryGain+"".concat(s,"-credit-history"),method:"post",isTips:!0}),d=(0,a.useCallback)(async()=>{if(!l)return;let e=await (await _.send({pageNo:0,pageSize:20,referralId:l})).data;t(e)},[l]),c=(0,a.useMemo)(()=>{if(!(r.length<=0))return r.map(e=>{let r=0===e.type?"**":"#**",t=e.detail.substr(e.detail.length-2,2);return(0,i.jsxs)("li",{children:[(0,i.jsxs)("div",{className:f().pri,children:[(0,i.jsx)("div",{className:f().pri_type,children:e.typeDescription+"("+r+t+")"}),(0,i.jsx)("div",{className:f().pri_time,children:(0,b.Gb)(e.createTime,null,"MM/dd/yyyy t")})]}),(0,i.jsx)("div",{className:f().sec,children:(0,i.jsx)("span",{children:e.credit})})]},e.detail)})},[r]);return(0,a.useEffect)(()=>{d()},[l]),(0,i.jsx)("div",{className:f().credit,children:(0,i.jsx)(m.default,{spinning:_.loading,children:l?r.length>0?(0,i.jsx)("ul",{className:f().history_list,children:c}):(0,i.jsx)(h,{}):(0,i.jsxs)("div",{className:f().error,children:[(0,i.jsx)("div",{className:f().error_img}),(0,i.jsx)("div",{className:f().error_title,children:"Wrong URL"}),(0,i.jsx)("div",{className:f().error_mes,children:"Please check your link and try again."})]})})})},x=t(88737),j=t(32459),g=()=>{let e=(0,n.useRouter)(),{id:r}=e.query;(0,a.useEffect)(()=>{(0,j.gL)("referral-history")},[]);let t=[{key:"tab1",label:"Credit Earned",children:(0,i.jsx)(p,{id:r,queryUrl:"gain"})},{key:"tab2",label:"Redeemed",children:(0,i.jsx)(p,{id:r,queryUrl:"redeem"})}],l=(0,a.useCallback)(()=>{e.push("/referral?id=".concat(r))},[]);return(0,i.jsxs)("div",{className:_().page_referral_history,children:[(0,i.jsx)(s.$4,{title:(0,x.aR)("Referral History")}),(0,i.jsx)(d.Z,{rootClassName:_().referral_card,style:{width:"100%"},title:(0,i.jsx)("div",{className:_().card_title,style:{width:"100%",height:"100%"},onClick:l}),extra:"My Referral Summary",children:(0,i.jsx)(c.default,{animated:!0,items:t})})]})}},82536:function(e){e.exports={page_referral_history:"referral-history_page_referral_history__h_ppu",tabbody:"referral-history_tabbody__Y7JqX",tabbody_detail_icon:"referral-history_tabbody_detail_icon__HCFut",tabbody_detail_text:"referral-history_tabbody_detail_text__bL9zp",referral_card:"referral-history_referral_card__GXvCI","text-animation":"referral-history_text-animation__npvA0"}},43422:function(e){e.exports={history_list:"credit-table_history_list__ZRKiE",pri:"credit-table_pri__IWRZO",sec:"credit-table_sec__523gP",pri_type:"credit-table_pri_type__YyLOo",pri_time:"credit-table_pri_time__boQYC",credit:"credit-table_credit__3xMTI",error:"credit-table_error__0Sy2L",error_img:"credit-table_error_img__aRjuB",error_title:"credit-table_error_title__QSPjJ",error_mes:"credit-table_error_mes__PUYgZ","text-animation":"credit-table_text-animation__D_lTw"}}},function(e){e.O(0,[61299,49774,92888,40179],function(){return e(e.s=22350)}),_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.