1(this["webpackJsonppolice-data-website"]=this["webpackJsonppolice-data-website"]||[]).push([[41],{258:function(t,e,a){"use strict";a.r(e);var r=a(14),s=a(23),c=a(191),o=a(249),i=a(158),l=a(247),n=a(237),d=a(252),p=a(232),m=a(130),u=a(190),b=a(132),j=a(234),O=a(107),v=a(1),f=a(257),h=a(112),g=a(21);var x=function(t){let{data:e,statistic:a,mapViz:x,mapScale:y}=t;const{t:C}=Object(f.a)(),w=Object(v.useRef)(null),N=Object(v.useRef)(null),[R,{width:T}]=Object(h.a)();return Object(v.useEffect)((()=>{const t=Object(O.a)().duration(r.b);if(x!==r.o.CHOROPLETH){const e=Object(j.a)(N.current);e.select(".ramp").transition(t).attr("opacity",0).attr("display","none").attr("xlink:href",null),e.select(".bars").selectAll("rect").transition(t).attr("opacity",0).remove(),e.selectAll(".axis > *:not(.axistext)").remove(),e.select(".axistext").text("")}if(x!==r.o.BUBBLE){const e=Object(j.a)(w.current);e.select(".circles").selectAll("circle").transition(t).attr("r",0).attr("cy",0).remove(),e.selectAll(".circle-axis > *").remove()}if(x!==r.o.SPIKES){const e=Object(j.a)(w.current);e.select(".spikes").call((e=>e.selectAll("path").transition(t).attr("d",Object(s.n)(0)).remove())).call((t=>t.selectAll("text").remove())).transition(t).selectAll("g").remove(),e.selectAll(".spike-axis > *").remove()}}),[x]),Object(v.useEffect)((()=>{if(!T)return;const t=r.w[a],e=T/r.j[0];if(x===r.o.BUBBLE){const a=Object(j.a)(w.current),[,r]=y.domain(),c=a.select(".circles").attr("transform","translate(48,40)").attr("text-anchor","middle"),o=[.1,.4,1].map((t=>t*r));c.selectAll("circle").data(o).join("circle").attr("fill","none").attr("stroke",t.color+"70").transition(C).attr("cy",(t=>-y(t))).attr("r",(t=>y(t)));const l=y.copy().range([0,-2*y(r)]);a.select(".circle-axis").attr("transform","translate(48,50)").transition(C).call(Object(i.b)(l).tickSize(0).tickPadding(0).tickValues(o).tickFormat((e=>Object(s.e)(e,"long"===t.format?"short":t.format)))).selectAll(".tick text").style("text-anchor","middle").attr("font-size",10/e),a.select(".circle-axis").call((t=>t.select(".domain").remove()))}else if(x===r.o.SPIKE){const a=Object(j.a)(w.current),r=y.ticks(3).slice(1).reverse(),c=28/e;a.select(".spikes").attr("transform","translate(32,24)").selectAll("g").data(r).join((t=>t.append("g").call((t=>t.append("path").attr("fill-opacity",.3).attr("d",(t=>Object(s.n)(0))))))).attr("transform",((t,e)=>"translate(".concat(e*c,",0)"))).call((e=>e.select("path").transition(C).attr("d",(t=>Object(s.n)(y(t)))).attr("fill",t.color+"70").attr("stroke",t.color+"70")));const o=y.copy().range([c*r.length,0]);a.select(".spike-axis").attr("transform","translate(32,32)").transition(C).call(Object(i.a)(o).tickSize(0).tickPadding(0).tickValues(r).tickFormat((e=>Object(s.e)(e,"long"===t.format?"short":t.format)))).selectAll(".tick text").style("text-anchor","middle").attr("font-size",10/e),a.select(".spike-axis").call((t=>t.select(".domain").remove()))}else{var O;const e=Object(j.a)(N.current);e.call((()=>function(){let{svg:t,color:e,title:a,tickSize:s=6,width:j=320,height:O=44+s,marginTop:v=18,marginRight:f=0,marginBottom:h=16+s,marginLeft:g=0,ticks:x=j/64,tickFormat:y,tickValues:C,ordinalWeights:w}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const N=t.transition().duration(r.b);let R,T=t=>{t.selectAll(".tick line").attr("y1",v+h-O)};if(e.interpolate){const a=Math.min(e.domain().length,e.range().length);R=e.copy().rangeRound(Object(n.a)(Object(d.a)(g,j-f),a)),t.select(".ramp").attr("x",g).attr("y",v).attr("width",j-g-f).attr("height",O-v-h).attr("xlink:href",k(e.copy().domain(Object(n.a)(Object(d.a)(0,1),a))).toDataURL())}else if(e.interpolator){if(t.select(".bars").selectAll("rect").transition(N).attr("opacity",0).remove(),R=Object.assign(e.copy().interpolator(Object(p.a)(g,j-f)),{range:()=>[g,j-f]}),t.select(".ramp").attr("x",g).attr("y",v).attr("width",j-g-f).attr("height",O-v-h).attr("xlink:href",k(e.interpolator()).toDataURL()).attr("display","visible").transition(N).attr("opacity",1),!R.ticks){if(void 0===C){const t=Math.round(x+1);C=Object(c.a)(t).map((a=>Object(o.a)(e.domain(),a/(t-1))))}"function"!==typeof y&&(y=Object(l.a)(void 0===y?",f":y))}}else if(e.invertExtent){const a=e.thresholds?e.thresholds():e.quantiles?e.quantiles():e.domain(),r=void 0===y?t=>t:"string"===typeof y?Object(l.a)(y):y;R=Object(m.a)().domain([-1,e.range().length-1]).rangeRound([g,j-f]),t.append("g").selectAll("rect").data(e.range()).join("rect").attr("x",((t,e)=>R(e-1))).attr("y",v).attr("width",((t,e)=>R(e)-R(e-1))).attr("height",O-v-h).attr("fill",(t=>t)),C=Object(c.a)(-1,a.length),y=t=>-1===t?r(1):t!==a.length-1?t===a.length-2?r(a[t]+"+",t):r(a[t],t):void 0}else{if(t.select(".ramp").transition(N).attr("opacity",0).attr("xlink:href",null),w){const a=Object(m.a)().domain([0,w.reduce(((t,e)=>t+e))]).rangeRound([0,j-g-f]),r=w.map(((t,e)=>w.slice(0,e).reduce(((t,e)=>t+a(e)),g)));R=Object(b.a)().domain(e.domain()).range(r),t.select(".bars").selectAll("rect").data(e.domain()).join((t=>t.append("rect").attr("x",R).attr("width",((t,e)=>a(w[e]))))).attr("y",v).attr("height",O-v-h).attr("fill",e).transition(N).attr("x",R).attr("width",((t,e)=>a(w[e]))).attr("opacity",1)}else R=Object(u.a)().domain(e.domain().filter((t=>t))).rangeRound([g,j-f]),t.select(".bars").selectAll("rect").data(e.domain().filter((t=>t))).join("rect").attr("x",R).attr("y",v).attr("width",Math.max(0,R.bandwidth()-1)).attr("height",O-v-h).attr("fill",e);T=()=>{}}return t.select(".axis").attr("transform","translate(0,".concat(O-h,")")).transition(N).attr("class","axis").call(Object(i.a)(R).ticks(x,"string"===typeof y?y:void 0).tickFormat("function"===typeof y?y:void 0).tickSize(s).tickValues(C)).on("start",(()=>{t.call(T).call((t=>t.select(".domain").remove()))})).call((t=>t.select(".axistext").attr("class","axistext").attr("x",g).attr("y",v+h-O-6).attr("fill","currentColor").attr("text-anchor","start").attr("font-weight","bold").text(a))),t.node()}({svg:e,color:y,width:T,height:r.k,ticks:5,tickFormat:function(e,a,c){var o;return null!==t&&void 0!==t&&null!==(o=t.mapConfig)&&void 0!==o&&o.colorScale?e:x!==r.o.CHOROPLETH||Number.isInteger(e)?a===c.length-1?Object(s.e)(e,t.format)+"+":Object(s.e)(e,t.format):""},marginLeft:2,marginRight:0}))),e.attr("class",null!==t&&void 0!==t&&null!==(O=t.mapConfig)&&void 0!==O&&O.colorScale?"zone":"")}}),[C,T,a,y,x]),Object(g.jsxs)("div",{className:"svg-parent maplegend",ref:R,style:{height:2*r.k},children:[Object(g.jsxs)("svg",{id:"legend",preserveAspectRatio:"xMinYMid meet",ref:w,viewBox:"0 0 ".concat(r.j[0]," ").concat(r.k),children:[Object(g.jsx)("g",{className:"circles"}),Object(g.jsx)("g",{className:"spikes"}
1),Object(g.jsx)("g",{className:"circle-axis"}),Object(g.jsx)("g",{className:"spike-axis"}),Object(g.jsx)("g",{className:"axis",children:Object(g.jsx)("text",{className:"axistext"})})]}),Object(g.jsxs)("svg",{id:"legend-choro",preserveAspectRatio:"xMinYMid meet",ref:N,children:[Object(g.jsx)("image",{className:"ramp",preserveAspectRatio:"none"}),Object(g.jsx)("g",{className:"bars"}),Object(g.jsx)("g",{className:"axis",children:Object(g.jsx)("text",{className:"axistext"})})]}),Object(g.jsx)("canvas",{className:"color-scale",style:{position:"absolute",height:0}})]})};function k(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:256;const a=Object(j.a)(".color-scale").node(),r=(a.width=e,a.height=1,a).getContext("2d");for(let s=0;s<e;++s)r.fillStyle=t(s/(e-1)),r.fillRect(s,0,1,1);return a}var y=a(89),C=a(93),w=a(87),N=a.n(w),R=a(124),T=a(244),A=a(250),E=a(246),L=a(196),S=a(259),_=a(238),M=a(239),B=a(240),P=a(241),H=a(242),U=a(243),I=a(4),z=a(96),F=a(128),K=a(198);e.default=function(t){var e;let{mapCode:a,isDepartmentView:c,mapViz:o,data:i,regionHighlighted:l,setRegionHighlighted:n,statistic:d,getMapStatistic:p,transformStatistic:u,noDepartmentData:b}=t;const{t:h}=Object(f.a)(),k=Object(v.useRef)(null),w=r.l[a],Y=r.l.US_ALL,D=Object(I.g)(),{data:V}=Object(F.a)(w.geoDataFile,(async t=>await Object(T.a)(t)),{suspense:!1,revalidateOnFocus:!1}),{data:q}=Object(F.a)(Y.geoDataFile,(async t=>await Object(T.a)(t)),{suspense:!1,revalidateOnFocus:!1}),J=Object(v.useMemo)((()=>p(i[a])),[i,a,p]),W=r.w[d],G=Object(v.useCallback)((t=>((null===W||void 0===W?void 0:W.color)||"#343a40")+t),[W]),Q=Object(v.useMemo)((()=>{if(!V)return null;if(!q)return null;const t=w.mapType===r.m.COUNTRY?c?Object(K.a)(q,q.objects.departments).features:Object(K.a)(V,V.objects.states).features:null,e=w.mapType!==r.m.COUNTRY?Object(K.a)(V,V.objects.counties).features:null;return(w.mapType===r.m.COUNTRY?t:e).map((t=>{const e=t.properties.geo_id||t.properties.geoid,r=t.properties.city_fp,s=Object.assign({},t);let c="".concat(a,"-").concat(e||r);return c=c.toLocaleLowerCase(),c=c.replace(/[\.]/g,""),c=c.replace(/ /g,"-"),s.id=c,s}))}),[V,q,a,c,w]),X=Object(v.useMemo)((()=>q&&c?Object(K.a)(q,q.objects.departments).features.reduce(((t,e)=>{var a;const s=r.s[e.properties.state_name],c=Object(y.d)(null===(a=i[s])||void 0===a?void 0:a.departments,e.properties);return t[s]||(t[s]=new Set),c&&t[s].add(c),t}),{}):{}),[i,q,c]),Z=Object(v.useMemo)((()=>{const t=Object.keys(i).filter((t=>"US"!==t&&Object.keys(r.l).includes(t)));if(c){const e=t.reduce(((t,e)=>{var a;const s=Object.keys((null===(a=i[e])||void 0===a?void 0:a.departments)||[]).filter((t=>((null===X||void 0===X?void 0:X[e])||new Set).has(t)||o!==r.o.CHOROPLETH&&t===r.C));return t.push(...s.map((t=>u(p(i[e].departments[t]))))),t}),[]);return Object(R.a)(e)}return Object(R.a)(t,(t=>u(p(i[t]))))}),[i,c,p,o,X,u]),$=Object(v.useMemo)((()=>{var t,e;return o===r.o.BUBBLE?Object(L.b)([0,Math.max(1,Z||0)],[0,40]).clamp(!0).nice(3):o===r.o.SPIKE?Object(m.a)([0,Math.max(1,Z||0)],[0,80]).clamp(!0).nice(3):null!==(t=r.w[d])&&void 0!==t&&null!==(e=t.mapConfig)&&void 0!==e&&e.colorScale?r.w[d].mapConfig.colorScale:Object(S.a)([0,Math.max(1,Z||0)],(t=>"uof"===t?t=>Object(_.a)(.85*t):"ps"===t||"k9d"===t?t=>Object(M.a)(.85*t):"tu"===t?t=>Object(B.a)(.85*t):"nr"===t?t=>Object(P.a)(.85*t):"llfi"===t?t=>Object(H.a)(.85*t):t=>Object(U.a)(.85*t))(d)).clamp(!0)}),[o,d,Z]),tt=Object(v.useCallback)((t=>{if(o===r.o.CHOROPLETH){var e,a;const s=r.s[null===(e=t.properties)||void 0===e?void 0:e.state_name],c=i[s],o=Object(y.d)(null===c||void 0===c?void 0:c.departments,t.properties),l=null===c||void 0===c||null===(a=c.departments)||void 0===a?void 0:a[o],n=u(p(o?l:c));return null===n||"undefined"===typeof n?"#ffffff00":$(n)}}),[o,i,$,p,u]),et=Object(v.useCallback)((t=>{t.select("title").text((t=>{if(o!==r.o.CHOROPLETH&&(null===W||void 0===W||!W.nonLinear)){var e,a,c;const o=null===(e=t.properties)||void 0===e?void 0:e.state_name,l=r.s[o],n=null===(a=t.properties)||void 0===a?void 0:a.department,d=i[l],m=Object(y.d)(null===d||void 0===d?void 0:d.departments,t.properties),u=null===d||void 0===d||null===(c=d.departments)||void 0===c?void 0:c[m];let b;return b=p(m?u:d),null===b||"undefined"===typeof b?"No data from ".concat(Object(s.o)(n||o)):"".concat(Object(s.e)(b)," (").concat(Object(s.e)(b/(J||.001)*100,"%"),") from ").concat(Object(s.o)(n||o))}}))}),[o,i,p,J,W]);Object(v.useEffect)((()=>{Object(j.a)(k.current).attr("pointer-events","auto").on("click",(()=>{n({stateCode:a,departmentName:null}),d&&"us"!==a.toLowerCase()&&(z.b.dismiss(),D.push("/report/".concat(a.toLowerCase(),"/statewide/").concat(d.replace(/_/g,"-"))))}))}),[a,n,D,d]);const at=Object(v.useMemo)((()=>V?Object(A.a)(Object(E.a)()):null),[V]);Object(v.useEffect)((()=>
1{if(!V)return;const t=Object(j.a)(k.current),e=Object(O.a)().duration(r.b);t.select(".regions").selectAll("path").data(o===r.o.CHOROPLETH?Q:[],(t=>t.id)).join((t=>t.append("path").attr("d",at).attr("stroke-width",1.8).attr("stroke-opacity",0).style("cursor","pointer").on("click",((t,e)=>{var a,s;const c=r.s[null===(a=e.properties)||void 0===a?void 0:a.state_name],o=Object(y.d)(null===(s=i[c])||void 0===s?void 0:s.departments,e.properties);n({stateCode:c,departmentName:o})})).attr("fill","#fff0").attr("stroke","#fff0")),(t=>t),(t=>t.transition(e).attr("stroke","#fff0").attr("fill","#fff0").remove())).attr("pointer-events","all").on("click",((e,a)=>{var s,c,o,l,n;e.stopPropagation();const p=r.s[null===(s=a.properties)||void 0===s?void 0:s.state_name],m=Object(y.d)(null===(c=i[p])||void 0===c?void 0:c.departments,a.properties),u=null===(o=i[p])||void 0===o||null===(l=o.departments)||void 0===l?void 0:l[m];null!==(n=a.properties)&&void 0!==n&&n.name||(z.b.dismiss(),D.push("/report/".concat(p.toLowerCase(),"/statewide/").concat(d.replace(/_/g,"-")))),u&&(t.attr("pointer-events","none"),t.select(".regions").selectAll("path").attr("pointer-events","none"),z.b.dismiss(),D.push("/report/".concat(p.toLowerCase(),"/").concat(u.slug,"/").concat(d.replace(/_/g,"-"))))})).call((t=>{t.transition(e).attr("fill",tt).attr("stroke",G.bind(this,""))}))}),[a,o,i,Q,tt,V,D,w.mapType,at,n,G,d]);const rt=Object(v.useMemo)((()=>o===r.o.CHOROPLETH?[]:(Q||[]).map((t=>{var e;const a=r.s[t.properties.state_name],s=i[a],c=Object(y.d)(null===s||void 0===s?void 0:s.departments,t.properties),o=null===s||void 0===s||null===(e=s.departments)||void 0===e?void 0:e[c],l={...t,departmentKey:c};var n;!o&&s?l.value=p(s):l.value=p(c?o:null===s||void 0===s||null===(n=s.departments)||void 0===n?void 0:n[r.C]);return l})).sort(((t,e)=>e.value-e.value))),[o,p,Q,i]);return Object(v.useEffect)((()=>{const t=Object(j.a)(k.current),e=Object(O.a)().duration(r.b),s=t.select(".circles").selectAll("circle").data(o===r.o.BUBBLE?rt:[],(t=>t.id)).join((t=>t.append("circle").attr("transform",(t=>{let e=at.centroid(t);return isNaN(e[0])&&isNaN(e[1])&&(e=[-1e5,-1e5]),"translate(".concat(e,")")})).attr("fill-opacity",.25).style("cursor","pointer").attr("pointer-events","all").call((t=>{t.append("title")}))),(t=>t),(t=>t.call((t=>t.transition(e).attr("r",0).remove())))).on("click",((t,e)=>{var a,s;t.stopPropagation();const c=r.s[e.properties.state_name],o=null===(a=i[c])||void 0===a||null===(s=a.departments)||void 0===s?void 0:s[e.departmentKey];d&&o&&e.properties.state_name?(z.b.dismiss(),D.push("/report/".concat(c.toLowerCase(),"/").concat(o.slug,"/").concat(d.replace(/_/g,"-")))):(z.b.dismiss(),D.push("/report/".concat(r.s[e.properties.state_name].toLowerCase())))})).call((t=>{t.transition(e).attr("fill",(t=>{var e,s;const o=l.stateCode,i=r.u[o],n=l.departmentName,d=$(t.value);return i===(null===(e=t.properties)||void 0===e?void 0:e.state_name)&&(!n&&o!==a||n===t.departmentKey||!c||n===r.C&&!(null!==(s=t.properties)&&void 0!==s&&s.department))?W.color+"95":Number(d)===d&&d%1!==0?W.color+"50":W.color+"20"})).attr("stroke",(t=>{var e,s;const o=l.stateCode,i=r.u[o],n=l.departmentName,d=$(t.value);return i===(null===(e=t.properties)||void 0===e?void 0:e.state_name)&&(!n&&o!==a||n===t.departmentKey||!c||n===r.C&&!(null!==(s=t.properties)&&void 0!==s&&s.department))?W.color+"95":Number(d)===d&&d%1!==0?W.color+"50":W.color+"20"})).attr("r",(t=>{const e=$(t.value);let a;if(a=null===t.value||"undefined"===typeof t.value?0:e<4?4:e,!isNaN(a))return c&&w.mapType===r.m.COUNTRY?.15*a:Number(e)===e&&e%1!==0?a:4;a=0}))}));window.requestIdleCallback?window.requestIdleCallback((()=>{et(s)})):setTimeout((()=>{et(s)}),100)}),[w.mapType,o,c,rt,D,$,at,n,et,W,p,d,l,a,i]),Object(v.useEffect)((()=>{const t=Object(j.a)(k.current),e=Object(O.a)().duration(r.b),a=t.select(".spikes").selectAll("path").data(o===r.o.SPIKE?rt:[],(t=>t.id),(t=>t.id)).join((t=>t.append("path").attr("transform",(t=>"translate(".concat(at.centroid(t),")"))).attr("opacity",0).attr("fill-opacity",.25).style("cursor","pointer").attr("pointer-events","all").attr("d",Object(s.n)(0)).call((t=>{t.append("title")}))),(t=>t),(t=>t.call((t=>t.transition(e).attr("opacity",0).attr("d",Object(s.n)(0)).remove())))).on("click",((t,e)=>{t.stopPropagation(),z.b.dismiss(),D.push("/report/".concat(r.s[e.properties.state_name].toLowerCase()).concat(window.innerWidth<769?"#MapExplorer":""))})).call((t=>{t.transition(e).attr("opacity",1).attr("fill",W.color+"70").attr("stroke",W.color+"70").attr("d",(t=>Object(s.n)($(t.value))))}));window.requestIdleCallback?window.requestIdleCallback((()=>{et(a)})):setTimeout((()=>{et(a)}),100)}),[w.mapType,o,c,rt,D,$,at,n,et,W,p]),Object(v.useEffect)((()=>
1{if(!V)return;const t=Object(j.a)(k.current),e=Object(O.a)().duration(r.b);let s=[],i=[];w.mapType===r.m.COUNTRY&&(s=[Object(K.b)(V,V.objects.states)],s[0].id="".concat(a,"-states")),(w.mapType===r.m.STATE||c&&o===r.o.CHOROPLETH)&&(c&&w.mapType===r.m.COUNTRY?(i=[Object(K.b)(q,q.objects.departments)],i[0].id="".concat(a,"-departments")):(i=[Object(K.b)(V,V.objects.counties)],i[0].id="".concat(a,"-departments"))),t.select(".state-borders").attr("fill","none").attr("stroke-width",1.5).selectAll("path").data(s,(t=>t.id)).join((t=>t.append("path").attr("d",at).attr("stroke","#fff0")),(t=>t),(t=>t.transition(e).attr("stroke","#fff0").remove())).transition(e).attr("stroke",G.bind(this,"40")),t.select(".department-borders").attr("fill","none").attr("stroke-width",1.5).selectAll("path").data(i,(t=>t.id)).join((t=>t.append("path").attr("d",at).attr("d",at).attr("stroke","#fff0")),(t=>t),(t=>t.transition(e).attr("stroke","#fff0").remove())).transition(e).attr("stroke",G.bind(this,"40"))}),[V,q,w,a,o,c,d,at,G]),Object(v.useEffect)((()=>{const t=l.stateCode,e=r.u[t],s=l.departmentName,n=Object(j.a)(k.current);o===r.o.BUBBLE?n.select(".circles").selectAll("circle").attr("fill-opacity",(o=>{var i,l;return e===(null===(i=o.properties)||void 0===i?void 0:i.state_name)&&(!s&&t!==a||s===o.departmentKey||!c||s===r.C&&!(null!==(l=o.properties)&&void 0!==l&&l.department))?1:.15})):o===r.o.SPIKE?n.select(".spikes").selectAll("path").attr("fill-opacity",(o=>{var i,l;return e===(null===(i=o.properties)||void 0===i?void 0:i.state_name)&&(!s&&t!==a||s===o.departmentKey||!c||s===r.C&&!(null!==(l=o.properties)&&void 0!==l&&l.department))?1:.15})):n.select(".regions").selectAll("path").each((function(o){var l,n,d;const p=r.s[null===(l=o.properties)||void 0===l?void 0:l.state_name],m=Object(y.d)(null===(n=i[p])||void 0===n?void 0:n.departments,o.properties),u=e===(null===(d=o.properties)||void 0===d?void 0:d.state_name)&&(!s&&t!==a||s===m||!c);u&&this.parentNode.appendChild(this),Object(j.a)(this).attr("stroke-opacity",u?1:.25)}))}),[V,i,a,c,o,l.stateCode,l.departmentName,d]),Object(g.jsxs)(g.Fragment,{children:[Object(g.jsxs)("div",{className:"svg-parent",children:[Object(g.jsxs)("svg",{id:"chart",className:N()({zone:!(null===W||void 0===W||null===(e=W.mapConfig)||void 0===e||!e.colorScale)}),viewBox:"0 0 ".concat(r.j[0]," ").concat(r.j[1]),preserveAspectRatio:"xMidYMid meet",ref:k,children:[Object(g.jsx)("g",{className:N()("regions","fadeIn","map-".concat(c&&w.mapType===r.m.COUNTRY?"us":"state"))}),Object(g.jsx)("g",{className:"state-borders"}),Object(g.jsx)("g",{className:"department-borders"}),Object(g.jsx)("g",{className:N()("circles","fadeIn","map-".concat(c&&w.mapType===r.m.COUNTRY?"us":"state"))}),Object(g.jsx)("g",{className:"spikes"})]}),b&&(null===W||void 0===W?void 0:W.hasPrimary)&&Object(g.jsxs)("div",{className:N()("disclaimer","is-".concat(d)),children:[Object(g.jsx)(C.a,{}),Object(g.jsx)("span",{children:h("Department-wise data not available in state bulletin")})]})]}),$&&Object(g.jsx)(x,{data:i,statistic:d,mapViz:o,mapScale:$}),Object(g.jsx)("svg",{style:{position:"absolute",height:0},children:Object(g.jsx)("defs",{children:Object(g.jsx)("filter",{id:"balance-color",colorInterpolationFilters:"sRGB",children:Object(g.jsx)("feColorMatrix",{type:"matrix",values:"0.91372549 0 0 0 0.08627451 0 0.91372549 0 0 0.08627451 0 0 0.854901961 0 0.145098039 0 0 0 1 0"})})})})]})}}}]); 2//# sourceMappingURL=41.6400c9ac.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.