PageSourceSearch

https://cscase.net/_next/static/chunks/3y_3ak-hkjdn_.js

js cscase.net collected 2026-10-10 00:10:08 UTC 5,969 bytes, 89 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,623003,e=>{"use strict";var t=e.i(514089),i=e.i(594880);e.s(["useDistributionActions",0,e=>({sign:(0,t.useMutation)(i.SIGN_DISTRIBUTION_MUTATION,{variables:{input:{distributionGameId:e}}})})])},83759,e=>{"use strict";var t=e.i(138413),i=e.i(594880);e.s(["useGetDistributionGame",0,(e,n,r)=>{let a=r?.includeCanJoin?i.GET_DISTRIBUTION_GAME_WITH_CAN_JOIN_QUERY:i.GET_DISTRIBUTION_GAME_QUERY,o=(0,t.useQuery)(a,{ssr:!1,variables:{id:e},pollInterval:6e4,fetchPolicy:n?"cache-and-network":"cache-first",returnPartialData:!!n});return n&&!o.data?.getDistributionGame?{...o,loading:!1,data:{getDistributionGame:n},error:void 0}:o}])},812042,e=>{"use strict";var t=e.i(138413),i=e.i(594880);e.s(["useGetDistributionGames",0,e=>(0,t.useQuery)(i.GET_DISTRIBUTION_GAMES_QUERY,{variables:{input:e},pollInterval:6e4,notifyOnNetworkStatusChange:!0,returnPartialData:!0,errorPolicy:"all"})])},783411,e=>{"use strict";e.i(83759),e.i(812042),e.i(623003),e.i(594880),e.s([])},652800,e=>{"use strict";e.i(982417),e.i(163248),e.i(901217),e.i(18421),e.s([])},602417,629230,309710,e=>{"use strict";var t=e.i(633201);e.s(["GameMode",()=>t.default],602417);var i=e.i(391575);e.s(["ModeOnlineBadge",()=>i.default],629230);let n=["cases","terminals","upgrades","bonusWheel"],r={cases:.3,terminals:.3,upgrades:.25,bonusWheel:.15},a=["modeOnlineRatios","modeOnlinePercentages","onlineModeRatios","onlineModePercentages","onlineByModeRatios","onlineByModePercentages"],o=(e,t,i)=>Math.min(i,Math.max(t,e));e.s(["calculateModeOnlineCounts",0,(e,t=r)=>{let i;if("number"!=typeof e||!Number.isFinite(e))return null;let a=Math.max(0,Math.round(e));if(a<=0)return n.reduce((e,t)=>(e[t]=0,e),{});let s=(i=n.reduce((e,i)=>e+t[i],0))<=0?r:n.reduce((e,n)=>(e[n]=t[n]/i,e),{}),u=n.reduce((e,t)=>(e[t]=a*s[t],e),{}),l=n.reduce((e,t)=>{let i=.1*u[t];return e[t]=o(u[t]*(.2*(e=>{let t=0x811c9dc5;for(let i=0;i<e.length;i+=1)t^=e.charCodeAt(i),t=Math.imul(t,0x1000193);return(t>>>0)/0xffffffff})(`mode-online:${a}:${t}`)-.1),-i,i),e},{}),d=-n.reduce((e,t)=>e+l[t],0);for(let e of n){if(1e-6>Math.abs(d))break;let t=-(.1*u[e]),i=.1*u[e],n=d>0?i-l[e]:l[e]-t,r=Math.sign(d)*Math.min(Math.abs(d),n);l[e]+=r,d-=r}let c=n.map(e=>{let t=u[e]+l[e];return{key:e,value:t,min:Math.floor(.9*u[e]),max:Math.ceil(1.1*u[e]),count:Math.floor(t),fraction:t-Math.floor(t)}}),m=a-c.reduce((e,t)=>e+t.count,0);for(let e of[...c].sort((e,t)=>t.fraction-e.fraction)){if(m<=0)break;e.count>=e.max||(e.count+=1,m-=1)}for(let e of c)e.count=o(e.count,e.min,e.max);let b=a-c.reduce((e,t)=>e+t.count,0);for(let e of c){if(0===b)break;let t=b>0?e.max-e.count:e.count-e.min,i=Math.sign(b)*Math.min(Math.abs(b),t);e.count+=i,b-=i}return c.reduce((e,t)=>(e[t.key]=t.count,e),{})},"formatModeOnlineCount",0,(e,t)=>new Intl.NumberFormat(t).format(Math.max(0,Math.round(e))),"getModeOnlineKey",0,e=>"/"===e.href||"Cases"===e.title?"cases":"/terminals"===e.href||"Terminals"===e.title?"terminals":"/upgrade"===e.href||"Upgrades"===e.title?"upgrades":"/wheel"===e.href||"bonus_wheel_desc"===e.text?"bonusWheel":null,"resolveModeOnlineRatios",0,e=>{let t=e&&"object"==typeof e?e:void 0,i=t?.fakeConfigProps&&"object"==typeof t.fakeConfigProps?t.fakeConfigProps:void 0,o=i?.modeDistribution??i?.fakeModeDistribution??t?.modeDistribution??t?.fakeModeDistribution??a.map(e=>t?.[e]).find(e=>e&&"object"==typeof e),s=n.reduce((e,t)=>(e[t]=((e,t)=>{if(!e||"object"!=typeof e)return;let i=e[t];return"number"==typeof i&&Number.isFinite(i)&&i>=0?i:void 0})(o,t)??r[t],e),{}),u=n.reduce((e,t)=>e+s[t],0);return u<=0?r:n.reduce((e,t)=>(e[t]=s[t]/u,e),{})}],309710)},594880,e=>{"use strict";var t=e.i(431466);(0,t.graphql)(`
2  fragment DistributionFields on Distribution {
3    id
4    getDistributionGame {
5      id
6      isJoin
7      usersCount
8      endDate
9      price
10      getItem {
11        id
12        getName
13        color
14        getImage
15        skeletonShape {
16          ...ItemSkeletonShapeFields
17        }
18      }
19    }
20  }
21`),(0,t.graphql)(`
22  fragment DistributionGameFields on DistributionGame {
23    id
24    isJoin
25    usersCount
26    endDate
27    price
28    publicHash
29    distributionNumber
30    distributionId
31    getType
32    getWinner {
33      id
34      userName
35      avatar
36    }
37    getDistribution {
38      id
39      conditions
40      description
41      type
42    }
43    getItem {
44      id
45      getName
46      name
47      name_en
48      market_hash_name
49      color
50      getImage
51      quality
52      skeletonShape {
53        ...ItemSkeletonShapeFields
54      }
55    }
56  }
57`),(0,t.graphql)(`
58  query GetDistributions {
59    getDistributions {
60      ...DistributionFields
61    }
62  }
63`);let i=(0,t.graphql)(`
64  query GetDistributionGame($id: Int!) {
65    getDistributionGame(id: $id) {
66      ...DistributionGameFields
67    }
68  }
69`),n=(0,t.graphql)(`
70  query GetDistributionGameWithCanJoin($id: Int!) {
71    getDistributionGame(id: $id) {
72      ...DistributionGameFields
73      canJoin
74    }
75  }
76`),r=(0,t.graphql)(`
77  query GetDistributionGames($input: DistributionGameFilterInput!) {
78    getDistributionGames(input: $input) {
79      ...DistributionGameFields
80    }
81  }
82`),a=(0,t.graphql)(`
83  mutation SignDistribution($input: SignDistributionGameInput!) {
84    signDistribution(input: $input) {
85      ...DistributionGameFields
86      canJoin
87    }
88  }
89`);e.s(["GET_DISTRIBUTION_GAMES_QUERY",0,r,"GET_DISTRIBUTION_GAME_QUERY",0,i,"GET_DISTRIBUTION_GAME_WITH_CAN_JOIN_QUERY",0,n,"SIGN_DISTRIBUTION_MUTATION",0,a])},495322,e=>{"use strict";var t=e.i(991667);e.s(["ModalContentShell",()=>t.default])},578306,e=>{"use strict";var t=e.i(681759);e.s(["Price",()=>t.default])},745309,e=>{"use strict";e.i(289302),e.i(964967),e.i(796799),e.i(648355),e.i(368906),e.i(843476),e.i(327562),e.i(106473),e.i(273287),e.i(538510),e.i(806405),e.i(352418),e.i(356053),e.i(579971),e.i(288998),e.s([],745309)},982742,e=>{e.q("/_next/static/media/stream.2ctv57kf7ixt5.png")}]);

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.