PageSourceSearch

https://policedata.org/static/js/main.6e1f8e0b.chunk.js

js policedata.org collected 2026-09-28 11:16:19 UTC 17,602 bytes, 2 lines download raw bytes

1(this["webpackJsonppolice-data-website"]=this["webpackJsonppolice-data-website"]||[]).push([[11],{14:function(e,n,a){"use strict";(function(e){a.d(n,"a",(function(){return o})),a.d(n,"i",(function(){return t})),a.d(n,"w",(function(){return i})),a.d(n,"q",(function(){return r})),a.d(n,"h",(function(){return s})),a.d(n,"x",(function(){return c})),a.d(n,"y",(function(){return l})),a.d(n,"A",(function(){return u})),a.d(n,"d",(function(){return d})),a.d(n,"b",(function(){return p})),a.d(n,"p",(function(){return m})),a.d(n,"z",(function(){return T})),a.d(n,"B",(function(){return h})),a.d(n,"C",(function(){return g})),a.d(n,"c",(function(){return f})),a.d(n,"e",(function(){return y})),a.d(n,"f",(function(){return A})),a.d(n,"g",(function(){return S})),a.d(n,"r",(function(){return N})),a.d(n,"o",(function(){return D})),a.d(n,"n",(function(){return E})),a.d(n,"m",(function(){return b})),a.d(n,"l",(function(){return v})),a.d(n,"j",(function(){return j})),a.d(n,"k",(function(){return C})),a.d(n,"u",(function(){return O})),a.d(n,"v",(function(){return F})),a.d(n,"s",(function(){return k})),a.d(n,"t",(function(){return L}));const o=e?"https://policedata.nyc3.cdn.digitaloceanspaces.com/api/prd":null,t={english:"en-US"},i={uof:{displayName:"Reported Use of Force",color:"#EF4444",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"USE OF FORCE\n\nReported Use of Force includes all use of weapons and weaponless physical force (takedowns, control holds, punches and kicks) reported by police. In most cases, this does not include threats or \u201cdisplays of force\u201d such as pointing weapons at people. This also does not include any use of force that police failed to properly document or disclose upon request."}},llfi:{displayName:"Total Less Lethal Force",color:"#8B5CF6",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"TOTAL LESS LETHAL FORCE\n\nThe total number of incidents involving one or more less-lethal force types, counted once per incident."}},ps:{displayName:"Police Shootings",color:"#6B7280",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"POLICE SHOOTINGS\n\nThe total number of incidents in which police discharged a firearm at another person, whether or not the bullet struck anyone. This does not include accidental discharges, warning shots or discharges at animals."}},tu:{displayName:"Taser Uses",color:"#3B82F6",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"TASER/ELECTRONIC WEAPONS\n\nThe total number of incidents in which police deployed a taser via probes or drive stun mode, or used other electronic control weapons, against another person. This does not include \u201carcing\u201d or displaying the taser as a warning or threat."}},k9d:{displayName:"K-9",color:"#6366f1",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"K-9 CONTACTS\n\nThe total number of incidents involving physical contact between a police K-9 and another person, including using the K-9 to bite or physically apprehend a person."}},nr:{displayName:"Neck Restraints",color:"#10B981",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"NECK RESTRAINTS\n\nThe total number of incidents where a chokehold, carotid restraint, lateral vascular neck restraint or other neck restraint was used against another person."}},iwu:{displayName:"Baton/Impact Weapons",color:"#F59E0B",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"BATON/IMPACT WEAPONS\nThe total number of incidents in which police deployed an impact weapon, baton, blunt object, or discharged an impact projectile against another person. This includes the use of an impact weapon to apply a control hold or other hold on a person, but does not include cases where an impact weapon is displayed only."}},csu:{displayName:"Chemical Spray",color:"#FF6600",format:"long",showDelta:!0,hasPrimary:!0,tableConfig:{notes:"CHEMICAL SPRAY\n\nThe total number of incidents where police deployed OC Spray, pepper spray, pepper balls, or CS gas against another person. This does not include cases where chemical spray is displayed only."}},population:{displayName:"Population Covered",format:"short",color:"#b6854d",hideZero:!0,mapConfig:{spike:!0},tableConfig:{notes:'POPULATION COVERED\n\nTotal population within the primary jurisdiction of agenc(ies) we have obtained use of force data on."'}},percent_population:{displayName:"% Population Covered",format:"%",color:"#b6854d",hideZero:!1,mapConfig:{spike:!0},tableConfig:{notes:"% POPULATION COVERED\n\nPopulation compared to the state's overall population.\""}}}
1,r=["uof","ps","tu","iwu"],s=[...r],c=[...r,"k9d","nr","csu","llfi"],l=Object.keys(i).filter((e=>{var n,a;return!(null!==(n=i[e])&&void 0!==n&&null!==(a=n.tableConfig)&&void 0!==a&&a.hide)})),u=[...r,"k9d","nr","csu","llfi"],d=40,p=300,m=5e3,T=7,h="UN",g="Unknown",f="2020-04-26",y="2021-02-02",A=/^\d{4}-([0]\d|1[0-2])-([0-2]\d|3[01])$/g,S="T00:00:00-07:00",N={clamp:!0,precision:1},D={CHOROPLETH:0,BUBBLE:1,SPIKE:2},E={STATES:0,DISTRICTS:1},b={COUNTRY:0,STATE:1},w=e?"/mini_maps":"/projected_maps",v={AL:{name:"Alabama",geoDataFile:"".concat(w,"/AL.json"),mapType:b.STATE},AK:{name:"Alaska",geoDataFile:"".concat(w,"/AK.json"),mapType:b.STATE},AZ:{name:"Arizona",geoDataFile:"".concat(w,"/AZ.json"),mapType:b.STATE},AR:{name:"Arkansas",geoDataFile:"".concat(w,"/AR.json"),mapType:b.STATE},CA:{name:"California",geoDataFile:"".concat(w,"/CA.json"),mapType:b.STATE},CO:{name:"Colorado",geoDataFile:"".concat(w,"/CO.json"),mapType:b.STATE},CT:{name:"Connecticut",geoDataFile:"".concat(w,"/CT.json"),mapType:b.STATE},DE:{name:"Delaware",geoDataFile:"".concat(w,"/DE.json"),mapType:b.STATE},DC:{name:"District Of Columbia",geoDataFile:"".concat(w,"/DC.json"),mapType:b.STATE},FL:{name:"Florida",geoDataFile:"".concat(w,"/FL.json"),mapType:b.STATE},GA:{name:"Georgia",geoDataFile:"".concat(w,"/GA.json"),mapType:b.STATE},HI:{name:"Hawaii",geoDataFile:"".concat(w,"/HI.json"),mapType:b.STATE},ID:{name:"Idaho",geoDataFile:"".concat(w,"/ID.json"),mapType:b.STATE},IL:{name:"Illinois",geoDataFile:"".concat(w,"/IL.json"),mapType:b.STATE},IN:{name:"Indiana",geoDataFile:"".concat(w,"/IN.json"),mapType:b.STATE},IA:{name:"Iowa",geoDataFile:"".concat(w,"/IA.json"),mapType:b.STATE},KS:{name:"Kansas",geoDataFile:"".concat(w,"/KS.json"),mapType:b.STATE},KY:{name:"Kentucky",geoDataFile:"".concat(w,"/KY.json"),mapType:b.STATE},LA:{name:"Louisiana",geoDataFile:"".concat(w,"/LA.json"),mapType:b.STATE},ME:{name:"Maine",geoDataFile:"".concat(w,"/ME.json"),mapType:b.STATE},MD:{name:"Maryland",geoDataFile:"".concat(w,"/MD.json"),mapType:b.STATE},MA:{name:"Massachusetts",geoDataFile:"".concat(w,"/MA.json"),mapType:b.STATE},MI:{name:"Michigan",geoDataFile:"".concat(w,"/MI.json"),mapType:b.STATE},MN:{name:"Minnesota",geoDataFile:"".concat(w,"/MN.json"),mapType:b.STATE},MS:{name:"Mississippi",geoDataFile:"".concat(w,"/MS.json"),mapType:b.STATE},MO:{name:"Missouri",geoDataFile:"".concat(w,"/MO.json"),mapType:b.STATE},MT:{name:"Montana",geoDataFile:"".concat(w,"/MT.json"),mapType:b.STATE},NE:{name:"Nebraska",geoDataFile:"".concat(w,"/NE.json"),mapType:b.STATE},NV:{name:"Nevada",geoDataFile:"".concat(w,"/NV.json"),mapType:b.STATE},NH:{name:"New Hampshire",geoDataFile:"".concat(w,"/NH.json"),mapType:b.STATE},NJ:{name:"New Jersey",geoDataFile:"".concat(w,"/NJ.json"),mapType:b.STATE},NM:{name:"New Mexico",geoDataFile:"".concat(w,"/NM.json"),mapType:b.STATE},NY:{name:"New York",geoDataFile:"".concat(w,"/NY.json"),mapType:b.STATE},NC:{name:"North Carolina",geoDataFile:"".concat(w,"/NC.json"),mapType:b.STATE},ND:{name:"North Dakota",geoDataFile:"".concat(w,"/ND.json"),mapType:b.STATE},OH:{name:"Ohio",geoDataFile:"".concat(w,"/OH.json"),mapType:b.STATE},OK:{name:"Oklahoma",geoDataFile:"".concat(w,"/OK.json"),mapType:b.STATE},OR:{name:"Oregon",geoDataFile:"".concat(w,"/OR.json"),mapType:b.STATE},PA:{name:"Pennsylvania",geoDataFile:"".concat(w,"/PA.json"),mapType:b.STATE},RI:{name:"Rhode Island",geoDataFile:"".concat(w,"/RI.json"),mapType:b.STATE},SC:{name:"South Carolina",geoDataFile:"".concat(w,"/SC.json"),mapType:b.STATE},SD:{name:"South Dakota",geoDataFile:"".concat(w,"/SD.json"),mapType:b.STATE},TN:{name:"Tennessee",geoDataFile:"".concat(w,"/TN.json"),mapType:b.STATE},TX:{name:"Texas",geoDataFile:"".concat(w,"/TX.json"),mapType:b.STATE},UT:{name:"Utah",geoDataFile:"".concat(w,"/UT.json"),mapType:b.STATE},VT:{name:"Vermont",geoDataFile:"".concat(w,"/VT.json"),mapType:b.STATE},VA:{name:"Virginia",geoDataFile:"".concat(w,"/VA.json"),mapType:b.STATE},WA:{name:"Washington",geoDataFile:"".concat(w,"/WA.json"),mapType:b.STATE},WV:{name:"West Virginia",geoDataFile:"".concat(w,"/WV.json"),mapType:b.STATE},WI:{name:"Wisconsin",geoDataFile:"".concat(w,"/WI.json"),mapType:b.STATE},WY:{name:"Wyoming",geoDataFile:"".concat(w,"/WY.json"),mapType:b.STATE},US:{name:"United States",geoDataFile:"".concat(w,"/US.json"),mapType:b.COUNTRY},US_ALL:{name:"United States",geoDataFile:"".concat(w,"/US-all.json"),mapType:b.COUNTRY}},j=[432,488],C=50,O={AL:"Alabama",AK:"Alaska",AS:"American Samoa",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District Of Columbia",FL:"Florida",GA:"Georgia",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",MP:"Northern Mariana Islands",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PW:"Palau",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming",US:"United States",[h]:"Unassigned"},F={AL:5024279,AK:733391,AZ:7151502,AR:3011524,CA:39538223,CO:5773714,CT:3605944,DE:989948,DC:689545,FL:21538187,GA:10711908,HI:1455271,ID:1839106,IL:12812508,IN:6785528,IA:3190369,KS:2937880,KY:4505836,LA:4657757,ME:1362359,MD:6177224,MA:7029917,MI:10077331,MN:5706494,MS:2961279,MO:6154913,MT:1084225,NE:1961504,NV:3104614,NH:1377529,NJ:9288994,NM:2117522,NY:20201249,NC:10439388,ND:779094,OH:11799448,OK:3959353,OR:4237256,PA:13002700,RI:1097379,SC:5118425,SD:886667,TN:6910840,TX:29145505,UT:3271616,VT:643077,VA:8631393,WA:7705281,WV:1793716,WI:5893718,WY:576851,US:331449281},I=[],M={};Object.keys(O).map(((e,n)=>
1(M[O[e]]=e,I.push({code:e,name:O[e]}),null)));const k=M,L=I}).call(this,a(34))},23:function(e,n,a){"use strict";(function(e){a.d(n,"k",(function(){return p})),a.d(n,"g",(function(){return T})),a.d(n,"d",(function(){return h})),a.d(n,"l",(function(){return g})),a.d(n,"c",(function(){return f})),a.d(n,"e",(function(){return y})),a.d(n,"a",(function(){return A})),a.d(n,"o",(function(){return S})),a.d(n,"f",(function(){return E})),a.d(n,"h",(function(){return b})),a.d(n,"j",(function(){return w})),a.d(n,"i",(function(){return v})),a.d(n,"b",(function(){return j})),a.d(n,"m",(function(){return C})),a.d(n,"n",(function(){return O}));var o=a(14),t=a(61),i=a(77),r=a(79),s=a(78),c=a(33),l=a(25);let u=null;const d=new Intl.NumberFormat("en-US",{maximumFractionDigits:1}),p=()=>!1,m=()=>Object(c.a)(new Date,"Etc/GMT"),T=()=>Object(t.a)(Object(i.a)(m(),1),{representation:"date"}),h=e=>(a.e(45).then(a.bind(null,82)).then((e=>{u=e[o.i[l.a.language||window.localStorage.i18nextLng]]})),Object(r.a)(new Date(e),new Date,{locale:u})),g=e=>e?("string"===typeof e&&e.match(o.f)&&(e+=o.g),Object(c.a)(new Date(e),"Etc/GMT")):m(),f=(e,n)=>{if(!e)return"";"string"===typeof e&&e.match(o.f)&&(e+=o.g);const a=Object(c.a)(new Date(e),"Etc/GMT");return Object(s.a)(a,n,{locale:u})},y=function(e){var n;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2?arguments[2]:void 0;return null===e||"undefined"===typeof e||isNaN(e)?"-":"string"===a?e:t&&null!==(n=o.w[t])&&void 0!==n&&n.hideZero&&0===e?"-":"long"===a?d.format(Math.abs(e)<1?e:Math.round(e)):"short"===a?(e=>{const n=Math.round(Math.abs(e));return Intl.NumberFormat("en-US",{notation:"compact",maximumFractionDigits:1}).format(n)})(e):"%"===a?"".concat(d.format(e),"%"):""===a?d.format(e):void 0},A=e=>"string"!==typeof e?"":e.charAt(0).toUpperCase()+e.slice(1),S=e=>e?e.replace(/\w\S*/g,(function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})):"",N=e=>{const n="string"===typeof e&&e.match(/^(\d{4})-(\d{2})-(\d{2})$/);return n?n.slice(1).map(Number):null},D=(e,n)=>{const a=N(e),o=N(n);return a||o?a?o?a[0]-o[0]||a[1]-o[1]||a[2]-o[2]:-1:1:0},E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e||{}).filter((e=>N(e))).sort(D)},b=(e,n,a)=>{var t;return(null===a||void 0===a?void 0:a.departmentName)||o.u[e]||(null===n||void 0===n||null===(t=n.m)||void 0===t?void 0:t.name)||e||""},w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=(null===e||void 0===e?void 0:e.m)||{},a=[...E(null===e||void 0===e?void 0:e.dates).map((e=>Number(e.slice(0,4)))),...Object.keys((null===e||void 0===e?void 0:e.c)||{}).reduce(((e,n)=>{const a=n.match(/_(\d{4})$/);return a?[...e,Number(a[1])]:e}),[])].sort(((e,n)=>e-n)),o=null===n.ys||"undefined"===typeof n.ys?NaN:Number(n.ys),t=null===n.ye||"undefined"===typeof n.ye?NaN:Number(n.ye);return{startYear:Number.isInteger(o)?o:a[0]||null,endYear:Number.isInteger(t)?t:a[a.length-1]||null}},v=function(e,n,a){var t,i;let{expiredDate:r=null,normalizedByPopulationPer:s=null,movingAverage:c=!1,canBeNaN:l=!1,isCompleteData:u=!1}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=1;"d"===n&&c&&(n="d7",d*=1/7);const p=u?null===e||void 0===e||null===(t=e.m)||void 0===t?void 0:t.pc:null===e||void 0===e||null===(i=e.m)||void 0===i?void 0:i.pa;if("undefined"===typeof u){u="true"===sessionStorage.getItem("isCompleteData")}let m;if("million"===s?d*=1e6/p:"10k"===s?d*=1e4/p:"hundred"===s&&(d*=100/p),"population"===a)m="total"===n?p:0;else if("total"===n){var T;m=null===e||void 0===e||null===(T=e[u?"tc":"ta"])||void 0===T?void 0:T[a]}else{var h;m=null===e||void 0===e||null===(h=e[n])||void 0===h?void 0:h[a]}const g=o.w[a];if(d=(null===g||void 0===g?void 0:g.nonLinear)?1:d,null===m||"undefined"===typeof m||""===m)return null;const f=d*m;return isNaN(f)?l?null:0:null!==g&&void 0!==g&&g.canBeInfinite||isFinite(f)?f:null},j=e=>fetch(e,{mode:"cors"}).then((async e=>{const n=await e.json();return n&&n.NOTICE&&delete n.NOTICE,n}));function C(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3;return new Promise(((o,t)=>
1{e().then(o).catch((i=>{setTimeout((()=>{1!==n?C(e,n-1,a).then(o,t):t(i)}),a)}))}))}const O=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return"M".concat(-n/2,",0L0,").concat(-e,"L").concat(n/2,",0")}}).call(this,a(34))},52:function(e,n,a){"use strict";(function(e){a.d(n,"a",(function(){return t}));const o=Boolean("localhost"===window.location.hostname||"[::1]"===window.location.hostname||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function t(n){if(e&&"serviceWorker"in navigator){if(new URL("https://policedata.org",window.location.href).origin!==window.location.origin)return;window.addEventListener("load",(()=>setTimeout((()=>{const e="".concat("https://policedata.org","/service-worker.js");o?(!function(e,n){fetch(e,{headers:{"Service-Worker":"script"}}).then((a=>{const o=a.headers.get("content-type");404===a.status||null!=o&&-1===o.indexOf("javascript")?navigator.serviceWorker.ready.then((e=>{e.unregister().then((()=>{window.location.reload()}))})):i(e,n)})).catch((()=>{console.log("No internet connection found. App is running in offline mode.")}))}(e,n),navigator.serviceWorker.ready.then((()=>{console.log("This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA")}))):i(e,n)}),3e3)))}}function i(e,n){navigator.serviceWorker.register(e).then((e=>{e.onupdatefound=()=>{const a=e.installing;null!=a&&(a.onstatechange=()=>{"installed"===a.state&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://bit.ly/CRA-PWA."),n&&n.onUpdate&&n.onUpdate(e)):n&&n.onSuccess&&n.onSuccess(e))})},e.update()})).catch((e=>{console.error("Error during service worker registration:",e)}))}}).call(this,a(34))},76:function(e,n,a){"use strict";a.r(n);var o=a(52),t=a(23),i=a(25),r=a(55),s=a(56),c=a(83);const l=!1;i.a.use(s.a).use(r.a).use(c.e).init({debug:Object(t.k)()&&l,keySeparator:!1,returnEmptyString:!1,fallbackLng:"english",load:"languageOnly",saveMissing:Object(t.k)()&&l,interpolation:{escapeValue:!1}});i.a;var u=a(1),d=a(45),p=a(39),m=a(21);const T=Object(u.lazy)((()=>Object(t.m)((()=>Promise.all([a.e(15),a.e(18)]).then(a.bind(null,255)))))),h=document.getElementById("root"),g=()=>Object(d.render)(Object(m.jsx)(u.Suspense,{fallback:Object(m.jsx)("div",{}),children:Object(m.jsx)(p.a,{children:Object(m.jsx)(u.StrictMode,{children:Object(m.jsx)(T,{})})})}),h);window.requestIdleCallback&&window.IntersectionObserver?g():((e,n)=>{const a=document.createElement("script");a.src=e,a.onload=function(){n()},a.onerror=function(){n(new Error("Failed to load script "+e))},document.head.appendChild(a)})("https://polyfill.io/v3/polyfill.min.js?version=3.52.1&features=requestIdleCallback%2CIntersectionObserver",g),o.a()}},[[76,12,13]]]);
2//# sourceMappingURL=main.6e1f8e0b.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.