PageSourceSearch

https://xyes.ai/_next/static/chunks/6373.8ded95041bd7a427.js

js xyes.ai collected 2026-10-05 14:50:29 UTC 2,563 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6373],{17230:function(t,e,r){r.d(e,{$:function(){return l}});var n=r(2265),o=r(16593),a=r(45345),c=r(55447);let l=function(){let{page:t=1,limit:e=10}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,n.useMemo)(()=>{let r=new URL("".concat("https://api.xyes.com/api/v1"+c.Hv.games.bonusRecords));return r.searchParams.append("page",t.toString()),r.searchParams.append("limit",e.toString()),r},[t,e]),l=(0,n.useCallback)(async()=>(await c.ZP.get(r.toString())).data,[r]);return(0,o.a)({queryKey:["getBonusRecords",t,e],queryFn:l,placeholderData:a.Wk,refetchOnMount:!1,refetchOnWindowFocus:!1,staleTime:3e5,gcTime:6e5})}},48116:function(t,e,r){r.d(e,{TQ:function(){return l},dN:function(){return o},ft:function(){return i},jr:function(){return c},lb:function(){return u},rN:function(){return s},x3:function(){return a}});var n=r(68651);let o=(t,e)=>{let r=e.startsWith("crypto/"),n=(t,e)=>{let r=10**e;return Math.trunc(t*r)/r},o=(t,e)=>{if(0===t)return"0";let[r,o]=n(t,e).toString().split("."),a=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return o?"".concat(a,".").concat(o):a};return r?1e-8>Math.abs(t)?"0":o(t,6).replace(/(\.\d*?[1-9])0+$/,"$1"):.01>Math.abs(t)?"0":o(t,2).replace(/(\.\d*?[1-9])0+$/,"$1")},a=(t,e)=>{let r=e.startsWith("crypto/"),o=new n.Z(t),a=(t,e)=>t.decimalPlaces(e,n.Z.ROUND_DOWN),c=(t,e)=>{if(t.isZero())return"0";let[r,n=""]=a(t,e).toFixed().split("."),o=r.replace(/\B(?=(\d{3})+(?!\d))/g,",");return n?"".concat(o,".").concat(n):o};return r?o.abs().isLessThan("0.00000001")?"0":c(o,6).replace(/(\.\d*?[1-9])0+$/,"$1"):o.abs().isLessThan("0.01")?"0":c(o,2).replace(/(\.\d*?[1-9])0+$/,"$1")},c=t=>{let e=Math.abs(t),r=t<0?"-":"";if(e>=1e6){let t=(Math.floor(e/1e4)/100).toFixed(2).replace(/\.00$/,"");return"".concat(r).concat(t,"M")}if(e>=1e3){let t=(Math.floor(e/10)/100).toFixed(2).replace(/\.00$/,"");return"".concat(r).concat(t,"k")}return"".concat(r).concat((Math.floor(100*e)/100).toFixed(2).replace(/\.00$/,""))},l=(t,e)=>(null==e?void 0:e.cryptos.some(e=>e.symbol===t))?"crypto/".concat(t):"fiat/".concat(t),i=(t,e)=>{let r=null==e?void 0:e.cryptos.find(e=>e.symbol===t),n=null==e?void 0:e.fiats.find(e=>e.symbol===t);return r?{type:"crypto/".concat(t),logoUrl:r.logoUrl}:n?{type:"fiat/".concat(t),logoUrl:n.logoUrl}:{type:"unknown",logoUrl:void 0}},u=t=>new n.Z(t).toFormat(2,n.Z.ROUND_DOWN,{decimalSeparator:".",groupSeparator:",",groupSize:3}),s=(t,e,r)=>{let o=new n.Z(t).dividedBy(new n.Z(e)).multipliedBy(r);return o.isNaN()?0:o.toNumber()}}}]);

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.