PageSourceSearch

https://www.treeequityscore.org/_next/static/chunks/6344-817d0debd0e01057.js

js treeequityscore.org collected 2026-10-02 04:28:47 UTC 8,518 bytes, 2 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="f9245b33-e4a1-46c7-9c6c-a6627ec8136b",t._sentryDebugIdIdentifier="sentry-dbid-f9245b33-e4a1-46c7-9c6c-a6627ec8136b")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6344],{16369:(t,e,r)=>{var i=r(76808);function o(e,r){var i=e.geometry,o=i.type;if("LineString"===o)i.coordinates=t.exports.simplify(i.coordinates,r);else if("Polygon"===o||"MultiLineString"===o)for(var n=0;n<i.coordinates.length;n++)i.coordinates[n]=t.exports.simplify(i.coordinates[n],r);else if("MultiPolygon"===o)for(var s=0;s<i.coordinates.length;s++)for(var a=0;a<i.coordinates[s].length;a++)i.coordinates[s][a]=t.exports.simplify(i.coordinates[s][a],r);return e}t.exports=function(t,e,r){return(r||(t=JSON.parse(JSON.stringify(t))),t.features)?function(t,e){for(var r=0;r<t.features.length;r++)t.features[r]=o(t.features[r],e);return t}(t,e):t.type&&"Feature"===t.type?o(t,e):Error("FeatureCollection or individual Feature required")},t.exports.simplify=function(t,e){return i(t,e)}},69522:t=>{var e=function(t,e){this.p1=t,this.p2=e};e.prototype.rise=function(){return this.p2[1]-this.p1[1]},e.prototype.run=function(){return this.p2[0]-this.p1[0]},e.prototype.slope=function(){return this.rise()/this.run()},e.prototype.yIntercept=function(){return this.p1[1]-this.p1[0]*this.slope(this.p1,this.p2)},e.prototype.isVertical=function(){return!isFinite(this.slope())},e.prototype.isHorizontal=function(){return this.p1[1]==this.p2[1]},e.prototype._perpendicularDistanceHorizontal=function(t){return Math.abs(this.p1[1]-t[1])},e.prototype._perpendicularDistanceVertical=function(t){return Math.abs(this.p1[0]-t[0])},e.prototype._perpendicularDistanceHasSlope=function(t){var e=this.slope(),r=this.yIntercept();return Math.abs(e*t[0]-t[1]+r)/Math.sqrt(Math.pow(e,2)+1)},e.prototype.perpendicularDistance=function(t){return this.isVertical()?this._perpendicularDistanceVertical(t):this.isHorizontal()?this._perpendicularDistanceHorizontal(t):this._perpendicularDistanceHasSlope(t)},t.exports=e},76808:(t,e,r)=>{var i=r(69522),o=function(t,e){for(var r=0,n=0,s=1;s<=t.length-2;s++){var a=new i(t[0],t[t.length-1]).perpendicularDistance(t[s]);a>r&&(n=s,r=a)}if(r>e)var p=o(t.slice(0,n),e),l=o(t.slice(n,t.length),e),u=p.concat(l);else u=t.length>1?[t[0],t[t.length-1]]:[t[0]];return u};t.exports=o},76966:(t,e,r)=>{"use strict";r.d(e,{n:()=>l});var i=Object.defineProperty,o=(t,e,r)=>(((t,e,r)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r)(t,"symbol"!=typeof e?e+"":e,r),r);let n=["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon","GeometryCollection"],s=["ZM","Z","M"],a="EMPTY";class p{constructor(t){o(this,"value"),o(this,"position"),this.value=t.toUpperCase(),this.position=0}match(t){for(let e of(this.skipWhitespaces(),t)){let t=e.toUpperCase();if(this.value.startsWith(t,this.position))return this.position+=t.length,e}return null}matchRegex(t){for(let e of(this.skipWhitespaces(),t)){let t=this.value.substring(this.position).match(e);if(t)return this.position+=t[0].length,t}return null}isMatch(t){return this.skipWhitespaces(),!!this.value.startsWith(t,this.position)&&(this.position+=t.length,!0)}matchType(){let t=this.match(n);if(!t)throw Error("Expected geometry type");return t}matchDimension(){switch(this.match(s)){case"ZM":return{hasZ:!0,hasM:!0};case"Z":return{hasZ:!0,hasM:!1};case"M":return{hasZ:!1,hasM:!0};default:return{hasZ:!1,hasM:!1}}}expectGroupStart(){if(!this.isMatch("("))throw Error("Expected group start")}expectGroupEnd(){if(!this.isMatch(")"))throw Error("Expected group end")}matchCoordinate(t){let e;if(!(e=t.hasZ&&t.hasM?this.matchRegex([/^(\S*)\s+(\S*)\s+(\S*)\s+([^\s,)]*)/i]):t.hasZ||t.hasM?this.matchRegex([/^(\S*)\s+(\S*)\s+([^\s,)]*)/i]):this.matchRegex([/^(\S*)\s+([^\s,)]*)/i])))throw Error("Expected coordinates");let r=t.hasZ&&t.hasM?[parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]),parseFloat(e[4])]:t.hasZ?[parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3])]:(t.hasM,[parseFloat(e[1]),parseFloat(e[2])]);if(!t.srid||4326===t.srid)return r;if("http://www.opengis.net/def/crs/epsg/0/4326"===t.srid)return 3===r.length?[r[1],r[0],r[2]]:[r[1],r[0]];if(!t.proj)throw Error(`EWKT data in an unknown SRID (${t.srid}) was provided, but a proj function was not`);return t.proj("string"==typeof t.srid?t.srid:`EPSG:${t.srid}`,"EPSG:4326",r)}matchCoordinates(t){let e=[];do{let r=this.isMatch("(");e.push(this.matchCoordinate(t)),r&&this.expectGroupEnd()}while(this.isMatch(","));return e}
1skipWhitespaces(){for(;this.position<this.value.length&&" "===this.value[this.position];)this.position++}}function l(t,e={emptyAsNull:!0}){return function t(e,r){let i=null,o=e.matchRegex([/^SRID=(\d+);/i]);if(o)i=parseInt(o[1],10);else{let t=e.matchRegex([/^<([^>]+)>/i]);t&&(i=t[1].toLowerCase())}let n=e.matchType(),s=e.matchDimension(),p={...r,srid:i,hasZ:s.hasZ,hasM:s.hasM};switch(n){case"Point":if(e.isMatch(a))return p.emptyAsNull?null:{type:"Point",coordinates:[]};e.expectGroupStart();let l=e.matchCoordinate(p);return e.expectGroupEnd(),{type:"Point",coordinates:l};case"LineString":if(e.isMatch(a))return p.emptyAsNull?null:{type:"LineString",coordinates:[]};e.expectGroupStart();let u=e.matchCoordinates(p);return e.expectGroupEnd(),{type:"LineString",coordinates:u};case"Polygon":if(e.isMatch(a))return p.emptyAsNull?null:{type:"Polygon",coordinates:[]};let c=[];for(e.expectGroupStart(),e.expectGroupStart(),c.push(e.matchCoordinates(p)),e.expectGroupEnd();e.isMatch(",");)e.expectGroupStart(),c.push(e.matchCoordinates(p)),e.expectGroupEnd();return e.expectGroupEnd(),{type:"Polygon",coordinates:c};case"MultiPoint":if(e.isMatch(a))return p.emptyAsNull?null:{type:"MultiPoint",coordinates:[]};e.expectGroupStart();let h=e.matchCoordinates(p);return e.expectGroupEnd(),{type:"MultiPoint",coordinates:h};case"MultiLineString":if(e.isMatch(a))return p.emptyAsNull?null:{type:"MultiLineString",coordinates:[]};e.expectGroupStart();let f=[];do e.expectGroupStart(),f.push(e.matchCoordinates(p)),e.expectGroupEnd();while(e.isMatch(","));return e.expectGroupEnd(),{type:"MultiLineString",coordinates:f};case"MultiPolygon":if(e.isMatch(a))return p.emptyAsNull?null:{type:"MultiPolygon",coordinates:[]};e.expectGroupStart();let d=[];do{e.expectGroupStart();let t=[],r=[];for(e.expectGroupStart(),t.push.apply(t,e.matchCoordinates(p)),e.expectGroupEnd();e.isMatch(",");)e.expectGroupStart(),r.push(e.matchCoordinates(p)),e.expectGroupEnd();d.push([t,...r]),e.expectGroupEnd()}while(e.isMatch(","));return e.expectGroupEnd(),{type:"MultiPolygon",coordinates:d};case"GeometryCollection":if(e.isMatch(a))return p.emptyAsNull?null:{type:"GeometryCollection",geometries:[]};e.expectGroupStart();let y=[];do{let r=t(e,p);r&&y.push(r)}while(e.isMatch(","));return e.expectGroupEnd(),{type:"GeometryCollection",geometries:y}}}(new p(t),e)}},97303:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var i=function(t,e={}){if(null!=t.bbox&&!0!==e.recompute)return t.bbox;let r=[1/0,1/0,-1/0,-1/0];return!function t(e,r,i){if(null!==e)for(var o,n,s,a,p,l,u,c,h=0,f=0,d=e.type,y="FeatureCollection"===d,g="Feature"===d,m=y?e.features.length:1,M=0;M<m;M++){p=(c=!!(u=y?e.features[M].geometry:g?e.geometry:e)&&"GeometryCollection"===u.type)?u.geometries.length:1;for(var x=0;x<p;x++){var S=0,G=0;if(null!==(a=c?u.geometries[x]:u)){l=a.coordinates;var b=a.type;switch(h=i&&("Polygon"===b||"MultiPolygon"===b)?1:0,b){case null:break;case"Point":if(!1===r(l,f,M,S,G))return!1;f++,S++;break;case"LineString":case"MultiPoint":for(o=0;o<l.length;o++){if(!1===r(l[o],f,M,S,G))return!1;f++,"MultiPoint"===b&&S++}"LineString"===b&&S++;break;case"Polygon":case"MultiLineString":for(o=0;o<l.length;o++){for(n=0;n<l[o].length-h;n++){if(!1===r(l[o][n],f,M,S,G))return!1;f++}"MultiLineString"===b&&S++,"Polygon"===b&&G++}"Polygon"===b&&S++;break;case"MultiPolygon":for(o=0;o<l.length;o++){for(n=0,G=0;n<l[o].length;n++){for(s=0;s<l[o][n].length-h;s++){if(!1===r(l[o][n][s],f,M,S,G))return!1;f++}G++}S++}break;case"GeometryCollection":for(o=0;o<a.geometries.length;o++)if(!1===t(a.geometries[o],r,i))return!1;break;default:throw Error("Unknown Geometry Type")}}}}}(t,t=>{r[0]>t[0]&&(r[0]=t[0]),r[1]>t[1]&&(r[1]=t[1]),r[2]<t[0]&&(r[2]=t[0]),r[3]<t[1]&&(r[3]=t[1])}),r}}}]);
2//# sourceMappingURL=6344-817d0debd0e01057.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.