PageSourceSearch

https://www.diffblue.com/_next/static/chunks/8746.7926349c037aef4f.js

js diffblue.com collected 2026-10-02 03:01:35 UTC 4,518 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8746],{88746:function(e,t,r){r.r(t),r.d(t,{default:function(){return o}});var n=r(85893),a=r(67294),u=r(16893),l=r(62932),i=r(19078);function o(e){let{stats:t}=e;const r=(0,a.useRef)(),o=(0,u.Y)(r,{once:!1,amount:.4}),[s,c]=(0,a.useState)(),[f,p]=(0,a.useState)(0);return(0,a.useEffect)((()=>{!async function(){try{const e=await fetch("/api/stats"),t=await e.json();c(t.stat+117926),p(function(e){return parseFloat((10*e/91440).toFixed(1))}(t.stat))}catch(e){console.error("Error fetching data:",e)}}()}),[]),(0,n.jsx)("div",{ref:r,className:"grid gap-6 md:grid-cols-3",children:t&&t.map((e=>{let{heading:t,stat:r,stat_fallback:a,background:u,stat_after:c}=e,p=r;return"tests.api"===r?p=s||a:"time.api"===r&&(p=f||a),(0,n.jsxs)("div",{className:"relative min-h-[200px] overflow-hidden rounded-[3px] md:min-h-[276px]",children:[(0,n.jsx)(i.Z,{image:u,className:"h-full w-full",fill:!0}),(0,n.jsxs)("div",{className:"relative z-10 flex h-full flex-col justify-between gap-4 p-6 text-white",children:[(0,n.jsx)("div",{className:"text-12-mono",children:t}),(0,n.jsxs)("div",{className:"text-64",children:[(0,n.jsx)(l.I,{start:Math.round(.5*parseFloat(p)),end:parseFloat(p),thousandsSeparator:",",easing:"linear",duration:2,isCounting:o},r)," ",c]})]})]})}))})}},62932:function(e,t,r){r.d(t,{I:function(){return O}});var n=r(67294),a=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,i=Object.defineProperty,o=Object.defineProperties,s=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t)=>{for(var r in t||(t={}))f.call(t,r)&&d(e,r,t[r]);if(c)for(var r of c(t))p.call(t,r)&&d(e,r,t[r]);return e},y=(e,t)=>o(e,s(t)),b="undefined"==typeof window?n.useEffect:n.useLayoutEffect,h={easeInCubic:(e,t,r,n)=>r*(e/=n)*e*e+t,easeOutCubic:(e,t,r,n)=>(e/=n,r*(--e*e*e+1)+t),linear:(e,t,r,n)=>r*e/n+t},v=h.easeOutCubic,g=(e,t)=>e.replace(/\B(?=(\d{3})+(?!\d))/g,t),R=e=>(e.toString().split(".")[1]||"").length,x=(e,t)=>{let r=R(e),n=R(t||1);return r>=n?r:n},j=({isCounting:e=!1,start:t=0,end:r,duration:a,decimalPlaces:u=x(t,r),decimalSeparator:l=".",thousandsSeparator:i="",onComplete:o,easing:s=v,formatter:c,updateInterval:f,onUpdate:p})=>{let d=((e,t)=>{if("number"==typeof e)return"number"==typeof t?t:2})(r,a),R=e=>{let n;if(0===d&&"number"==typeof r)n=r;else if("number"==typeof r&&"number"==typeof d){let a=(e=>"function"==typeof e?e:h[e])(s);n=a(e<d?e:d,t,r-t,d)}else n=t+e;if("function"==typeof c)return c(n);if(0===u){let e=Math.round(n).toString();return g(e,i)}let[a,o]=n.toFixed(u).split(".");return`${g(a,i)}${l}${o}`},{elapsedTime:j,reset:O}=(({isPlaying:e,duration:t,startAt:r=0,updateInterval:a=0,onComplete:u,onUpdate:l})=>{let[i,o]=(0,n.useState)(r),s=(0,n.useRef)(-1e3*r),c=(0,n.useRef)(null),f=(0,n.useRef)(null),p=(0,n.useRef)(null),d=(0,n.useRef)({elapsedTimeRef:0,startAtRef:r,durationRef:t,updateIntervalRef:a});d.current=y(m({},d.current),{durationRef:t,updateIntervalRef:a});let h=e=>{let t=e/1e3;if(null===f.current)return f.current=t,void(c.current=requestAnimationFrame(h));let{durationRef:r,elapsedTimeRef:n,updateIntervalRef:a,startAtRef:u}=d.current,l=n+(t-f.current);f.current=t,d.current=y(m({},d.current),{elapsedTimeRef:l});let i="number"==typeof r&&u+l>=r;o(i?r:u+(0===a?l:(l/a|0)*a)),i||(c.current=requestAnimationFrame(h))},v=()=>{c.current&&cancelAnimationFrame(c.current),p.current&&clearTimeout(p.current),f.current=null},g=(0,n.useCallback)((t=>{let n="number"==typeof t?t:r;v(),d.current=y(m({},d.current),{elapsedTimeRef:0,startAtRef:n}),o(n),e&&(c.current=requestAnimationFrame(h))}),[e,r]);return b((()=>{if(null==l||l(i),t&&i>=t){s.current+=1e3*t;let{shouldRepeat:e=!1,delay:r=0,newStartAt:n}=(null==u?void 0:u(s.current/1e3))||{};e&&(p.current=setTimeout((()=>g(n)),1e3*r))}}),[i,t]),b((()=>(e&&(c.current=requestAnimationFrame(h)),v)),[e]),{elapsedTime:i,reset:g}})({isPlaying:e,duration:d,onComplete:o,updateInterval:f,onUpdate:"function"==typeof p?e=>p(R(e)):void 0});return{value:R(j),reset:O}},O=e=>{var t=e,{children:r}=t,n=((e,t)=>{var r={};for(var n in e)u.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&a)for(var n of a(e))t.indexOf(n)<0&&l.call(e,n)&&(r[n]=e[n]);return r})(t,["children"]);let i=j(n);return"function"==typeof r?r(i):i.value};O.displayName="CountUp"}}]);

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.