PageSourceSearch

https://policedata.org/static/js/9.948bc90e.chunk.js

js policedata.org collected 2026-09-28 11:16:32 UTC 2,011 bytes, 2 lines download raw bytes

1(this["webpackJsonppolice-data-website"]=this["webpackJsonppolice-data-website"]||[]).push([[9],{179:function(t,e,c){"use strict";c.r(e);var a=c(14),l=c(97),s=c(23),o=c(93),n=c(87),i=c.n(n),b=c(88),j=c.n(b),d=c(1),O=c(257),m=c(98),r=c(222),u=c(21);function p(t){let{statistic:e,totalComplete:c,totalAll:n,delta:i}=t;const{t:b}=Object(O.a)(),j=Object(m.d)({tc:null!==c&&void 0!==c?c:0,ta:null!==n&&void 0!==n?n:0,delta:null!==i&&void 0!==i?i:0,config:a.r}),p=a.w[e];let h;"uof"===e?h=o.m:"ps"===e?h=o.j:"tu"===e?h=o.t:"iwu"===e&&(h=o.k);const[f,v]=Object(r.a)("isCompleteData",!1),[x,w]=Object(d.useState)(!1);Object(d.useEffect)((()=>(w(!0),()=>{w(!1)})),[w]),Object(d.useEffect)((()=>(x&&(Object(l.b)("completeDataMap",(t=>v(t.detail))),Object(l.b)("completeDataTable",(t=>v(t.detail)))),()=>{Object(l.c)("completeDataMap"),Object(l.c)("completeDataTable")})),[x,v]);const g=f?c:n,D=f?j.tc:j.ta,y=t=>Object(s.e)(t,"short"!==p.format?p.format:"long",e);return Object(u.jsxs)(u.Fragment,{children:[Object(u.jsx)("h5",{children:b(Object(s.a)(p.displayName))}),Object(u.jsx)(m.b.h4,{children:i>0?j.delta.to((t=>"+ ".concat(Object(s.e)(t,"short"!==p.format?p.format:"long",e)))):Object(u.jsx)(h,{size:16,verticalAlign:0})}),Object(u.jsx)(m.b.h1,{children:null===g||"undefined"===typeof g?y(g):D.to(y)})]})}const h=Object(d.memo)(p);function f(t){let{data:e}=t;const c=Object(d.useMemo)((()=>{const t=[];return a.h.map(((e,c)=>(t.push({animationDelay:"".concat(750+250*c,"ms"),width:"calc(".concat(100/a.h.length,"%)")}),null))),t}),[]);return e?Object(u.jsx)("div",{className:"Level",children:a.h.map(((t,a)=>Object(u.jsx)(m.b.div,{className:i()("level-item","is-".concat(t),"fadeInUp"),style:c[a],children:Object(u.jsx)(h,{statistic:t,totalComplete:Object(s.i)(e,"tc",t),totalAll:Object(s.i)(e,"ta",t),delta:Object(s.i)(e,"d",t)})},a)))}):Object(u.jsx)("div",{className:"Level","aria-busy":"true"})}const v=(t,e)=>!!j()(t.data,e.data);e.default=Object(d.memo)(f,v)}}]);
2//# sourceMappingURL=9.948bc90e.chunk.js.map

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.