PageSourceSearch

https://cdawgva-cyclethon.vercel.app/_next/static/chunks/app/donat…?dpl=dpl_4YDFFQf91MVxq422W6CqLk6pYmCW

js cdawgva-cyclethon.vercel.app collected 2026-10-03 06:22:48 UTC 3,814 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[149,293],{15419:(t,e,n)=>{"use strict";n.d(e,{DonationsProvider:()=>l,d:()=>s});var o=n(95155),a=n(12115),c=n(26549),u=n(23243);let r=(0,a.createContext)(null);function l(t){let{children:e,initialDonations:n}=t,[l,s]=(0,a.useState)(()=>(0,u.J$)(n)),[i,m]=(0,a.useState)(!1),[d,_]=(0,a.useState)(()=>Math.floor(Date.now()/1e3)),f=(0,a.useCallback)(async function(){m(!0);try{let t=await fetch(c.cK,{cache:"no-store"}),e=await t.json();s((0,u.J$)(e.donations)),_(Math.floor(Date.now()/1e3))}catch(t){}finally{m(!1)}},[]);return(0,o.jsx)(r.Provider,{value:{donations:l,isRefreshing:i,lastCheckedAt:d,refresh:f},children:e})}function s(){let t=(0,a.useContext)(r);if(!t)throw Error("useDonations must be used within DonationsProvider");return t}},23243:(t,e,n)=>{"use strict";n.d(e,{D6:()=>c,J$:()=>l,QB:()=>o,VM:()=>y,au:()=>a,ej:()=>i,gu:()=>r,hL:()=>u,ok:()=>d,s5:()=>f,uW:()=>m});let o=[{labelKey:"sortAmountDesc",value:"amount-desc"},{labelKey:"sortAmountAsc",value:"amount-asc"},{labelKey:"sortNewest",value:"newest"},{labelKey:"sortOldest",value:"oldest"}];function a(t,e){return[...t].sort((t,n)=>"amount-desc"===e?n.amount_cent-t.amount_cent:"amount-asc"===e?t.amount_cent-n.amount_cent:"oldest"===e?t.completed_at-n.completed_at:n.completed_at-t.completed_at)}function c(t){let e=new Map;for(let n of t){let t=n.donor_name.toLowerCase(),o=e.get(t);o?(o.amount_cent+=n.amount_cent,o.count+=1):e.set(t,{amount_cent:n.amount_cent,amount_currency:n.amount_currency,count:1,donor_name:n.donor_name})}return Array.from(e.values()).sort((t,e)=>e.amount_cent-t.amount_cent)}function u(t){return[...t].sort((t,e)=>e.amount_cent-t.amount_cent||t.completed_at-e.completed_at)}function r(t,e,n){return t.filter(t=>t.completed_at>=e&&t.completed_at<n).sort((t,e)=>e.amount_cent-t.amount_cent).slice(0,10)}function l(t){let e=[...new Set(t.map(t=>t.amount_currency).filter(t=>"USD"!==t))];return e.length>0&&console.warn("[TopDonors] Non-USD currencies detected — rankings only reflect USD donations. Multi-currency support needed for: "+e.join(", ")),t.filter(t=>"USD"===t.amount_currency)}let s=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});function i(t,e){let{whole:n,cents:o}=m(t,e);return"".concat(n).concat(o)}function m(t,e){let n=s.format(t/100),o=n.lastIndexOf("."),a=n.slice(0,o),c=n.slice(o+1);return{whole:"".concat(e).concat(a),cents:".".concat(c)}}function d(t){return"anonymous"===t.toLowerCase()}function _(t){return t.stats.daily_totals.at(-1)}function f(t){var e,n,o,a;return null!=(a=null==(o=_(t))||null==(n=o.cumulative_by_currency)||null==(e=n.USD)?void 0:e.count)?a:0}function y(t){var e,n,o,a;return Math.floor((null!=(a=null==(o=_(t))||null==(n=o.cumulative_by_currency)||null==(e=n.USD)?void 0:e.amount_cent)?a:0)/100)}},26549:(t,e,n)=>{"use strict";n.d(e,{A0:()=>u,BW:()=>b,BX:()=>p,Ig:()=>a,K2:()=>d,L9:()=>S,Md:()=>v,Mx:()=>y,Tn:()=>s,_6:()=>l,cK:()=>c,cq:()=>m,d5:()=>L,hY:()=>_,kA:()=>w,lS:()=>r,nV:()=>g,pU:()=>h,rZ:()=>D,vK:()=>f,x2:()=>i});let o="https://pub-87ec47ffaf2c480c897ae0f8151e5c05.r2.dev",a="".concat(o,"/").concat("donations-latest-100.json"),c="".concat(o,"/").concat("donations-full.json"),u="".concat(o,"/").concat("donations-stats.json"),r=3e5,l=["Light","Dark","System"],s="System",i=["JST","UTC","Local"],m="JST",d=["EN","JA","System"],_="System",f={EN:"English",JA:"日本語",System:"System"},y={Dark:"appearanceDark",Light:"appearanceLight",System:"appearanceSystem"},p={JST:"timezoneJST",Local:"timezoneLocal",UTC:"timezoneUTC"},h="https://tiltify.com/@cdawgva/cyclethon-5",S=20,v=[10,30,60,100],D=30,w=5e4,b=30,g=60,L={LOCALE:"locale",TIMEZONE:"timezone"}},47186:(t,e,n)=>{Promise.resolve().then(n.bind(n,15419))}},t=>{t.O(0,[441,255,358],()=>t(t.s=47186)),_N_E=t.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.