1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6667,5851],{3085:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},70525:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(79205).Z)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},49582:function(e,n,t){t.d(n,{d:function(){return s},s:function(){return d}});var r=t(85328);let i={A:[100,90],B:[89,80],C:[79,70],D:[69,60],E:[59,0]},u=["A","B","C","D","E"],l=e=>"number"==typeof e&&Number.isFinite(e),a=(e,n,t)=>Math.min(t,Math.max(n,e));function o(e){let n=e.gradeLevel;return!l(n)||!Number.isInteger(n)||n<1||n>5?null:[r.zi[n-1],r.zi[n]]}function s(e){let n=o(e);if(!n)return null;let[t,r]=n,s=!l(e.gradeRank)||e.gradeRank<=0||!l(e.studentsCount)||e.studentsCount<=0?null:a((e.gradeRank-.5)/e.studentsCount*100,0,100);if(null!==s){let n=100/e.studentsCount;(s<t-n||s>r+n)&&(s=null)}return null!=s||(s=function(e){var n;if(!l(e.rawScore)||e.rawScore<0||e.rawScore>100)return null;let t=null===(n=e.achievement)||void 0===n?void 0:n.trim().toUpperCase();if(!t||!(t in i))return null;let[r,o]=i[t];if(e.rawScore<o||e.rawScore>=r+1)return null;let s=a(Math.round(e.rawScore),o,r),d=[e.distA,e.distB,e.distC,e.distD,e.distE];if(!d.every(l))return null;let c=d.reduce((e,n)=>e+n,0);if(c<99||c>101)return null;let f=u.indexOf(t),m=d.slice(0,f).reduce((e,n)=>e+n,0),h=d[f];if(h<=0)return null;let v=r-o+1;return a(m+(r-s+.5)/v*h,0,100)}(e)),null===s?null:a(s,t,r)}function d(e){let n=o(e),t=s(e);if(!n||null===t)return null;let[r,i]=n;return(t-r)/(i-r)}},85328:function(e,n,t){t.d(n,{wK:function(){return d},zi:function(){return r}});let r=[0,10,34,66,90,100],i=[0,4,11,23,40,60,77,89,96,100],u=["A","B","C","D","E"],l=(e,n,t)=>Math.min(t,Math.max(n,e)),a=e=>"number"==typeof e&&Number.isFinite(e);function o(e,n){return n?"5-GRADE"===n?r:i:e<=2?r:i}function s(e,n){let t=l(e,0,100);for(let e=0;e<n.length-1;e++)if(t<=n[e+1]){let r=n[e],i=n[e+1];if(i===r)return e+1;return e+1+(t-r)/(i-r)}return n.length-1}function d(e){let n,t,d,c,f;let m=e.studentsCount,h=a(e.gradeRank)&&e.gradeRank>0,v=function(e){var n,t,r,i,o,s;let d=null===(n=e.achievement)||void 0===n?void 0:n.trim().toUpperCase();if(!a(e.distA)||!d||!u.includes(d))return{min:0,max:100,hasDistribution:!1,boundaries:[]};let c={A:null!==(t=e.distA)&&void 0!==t?t:0,B:null!==(r=e.distB)&&void 0!==r?r:0,C:null!==(i=e.distC)&&void 0!==i?i:0,D:null!==(o=e.distD)&&void 0!==o?o:0,E:null!==(s=e.distE)&&void 0!==s?s:0},f=0,m=[];for(let e of u){if(e===d){let n=l(f+c[e],0,100);return{min:l(f,0,100),max:n,hasDistribution:!0,boundaries:m}}(f+=c[e])<100&&m.push(l(f,0,100))}return{min:0,max:100,hasDistribution:!0,boundaries:m}}(e),g=function(e){let n=o(e.year,e.gradingSystem),t=e.gradeLevel;return!a(t)||t<1||t>=n.length?{min:0,max:100,hasGradeLevel:!1}:{min:n[t-1],max:n[t],hasGradeLevel:!0}}(e);if(!m||!h&&!v.hasDistribution&&!g.hasGradeLevel)return null;let p=Math.max(v.min,g.min),x=Math.min(v.max,g.max),b=p<=x;if(b?(n=p,t=x):g.hasGradeLevel?(n=g.min,t=g.max):(n=v.min,t=v.max),h)d=l(e.gradeRank/m*100,0,100),c=t===n?.5:l((d-n)/(t-n),0,1),f="rank";else{let r=function(e){let n=e.rawScore,t=e.subjectAverage,r=e.standardDeviation;if(a(n)&&a(t)&&a(r)&&r>0)return{position:.5,source:"z-score",zPercentile:l((1-.5*(1+function(e){let n=Math.abs(e),t=1/(1+.3275911*n);return(e<0?-1:1)*(1-((((1.061405429*t-1.453152027)*t+1.421413741)*t-.284496736)*t+.254829592)*t*Math.exp(-n*n))}((n-t)/r/Math.SQRT2)))*100,0,100)};if(a(n)&&a(t)){let e=l((n-t)/30,-1,1);return{position:l(.5-.3*e,.2,.8),source:"score-average",zPercentile:null}}return{position:.5,source:"midpoint",zPercentile:null}}(e);f=r.source,null!==r.zPercentile?(d=l(r.zPercentile,n,t),c=t===n?.5:l((d-n)/(t-n),0,1)):d=n+(t-n)*(c=r.position)}return{achMin:v.min,achMax:v.max,gradeMin:g.min,gradeMax:g.max,interMin:n,interMax:t,hasValidIntersection:b,hasGradeLevel:g.hasGradeLevel,hasDistribution:v.hasDistribution,estimatedPercentile:d,intervalPosition:c,percentileSource:f,estimatedGrade9:s(d,i),estimatedGrade5:s(d,r),estimatedIntegerGrade9:function(e,n){let t=l(e,0,100);for(let e=0;e<n.length-1;e++)if(t<=n[e+1])return e+1;return n.length-1}(d,i),gradeBoundaries:Array.from(o(e.year,e.gradingSystem)).slice(1,-1),achBoundaries:v.boundaries}}}}]);
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.