1"use strict";(globalThis.webpackChunk_ember_auto_import_=globalThis.webpackChunk_ember_auto_import_||[]).push([[1936,58775,91713,99463],{99463:(e,t,n)=>{n.d(t,{G:()=>r,O:()=>s,S:()=>o}) 2class r{*[Symbol.iterator](){let e=this.next() 3for(;e;)yield e,e=this.next()}}class s extends r{}class o extends r{constructor(e){super(),this.m_iGeom=-1,this.m_aGeoms=e?e.slice():[]}next(){if(this.m_iGeom<this.m_aGeoms.length-1){const e=this.m_aGeoms[++this.m_iGeom] 4return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},1936:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>p,supportsCurves:()=>f}) 5var r=n(21590),s=n(99463),o=n(73278),a=n(17728),i=n(65121),u=n(17335),l=n(76187) 6class c extends s.G{constructor(e,t,n,r){super(),this.m_resultPolygons=null,this.m_polygons=e,this.m_polylines=t,this.m_sr=n,this.m_progressTracker=r,this.m_bFirst=!0}tock(){return!0}getRank(){return 1}next(){return this.m_bFirst&&(this.performOperation(),this.m_bFirst=!1),this.m_resultPolygons?this.m_resultPolygons.next():null}getGeometryID(){return null!=this.m_resultPolygons?this.m_resultPolygons.getGeometryID():-1}performOperation(){const e=new i.Envelope2D,t=new o.E 7let n,r=o.n 8for(;n=this.m_polylines.next();){if(n.getGeometryType()!==a.G.enumPolyline||n.isEmpty())continue 9r===o.n?r=t.addGeometry(n):t.appendGeometry(r,n) 10const s=new i.Envelope2D 11n.queryEnvelope(s),e.mergeEnvelope2D(s)}if(0===t.getTotalPointCount())return 12for(;n=this.m_polygons.next();){if(!(0,a.p)(n.getGeometryType())||n.isEmpty())continue 13const r=new i.Envelope2D 14n.queryEnvelope(r),e.mergeEnvelope2D(r),t.addGeometry(n)}const s=(0,u.a)(this.m_sr,e,!0) 15this.m_resultPolygons=(0,l.al)(t,r,s,this.m_progressTracker)}}const m=new class{getOperatorType(){return 10008}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}supportsCurves(){return!0}execute(e,t,n,r){const s=(new l.h).executeMany(e,n,r) 16return new c(s,t,n,r)}} 17var h=n(58775) 18function p(e,t){const n=(0,h.getSpatialReference)(e) 19return function(e,t,n){const r=m.execute(new s.S(e),new s.S(t),n,null) 20return Array.from(r)}(e.map(h.fromPolygon),t.map(h.fromPolyline),(0,h.fromSpatialReference)(n)).map((e=>(0,h.toPolygon)(e,n))).filter(r.Ru)}const f=m.supportsCurves()},58775:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>_,fromGeometry:()=>G,fromMultipoint:()=>C,fromPoint:()=>P,fromPolygon:()=>w,fromPolyline:()=>d,fromSpatialReference:()=>v,getSpatialReference:()=>x,toExtent:()=>V,toGeometry:()=>M,toMultipoint:()=>E,toPoint:()=>R,toPolygon:()=>Z,toPolyline:()=>k}) 21var r=n(45835),s=(n(65121),n(17728)),o=n(17335),a=n(73278),i=n(76187),u=n(80110),l=n(74024),c=n(64395),m=n(62843),h=n(7449),p=(n(12599),n(39673)) 22const f="_gxVersion",y=2,g=1 23function x(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function G(e){switch(e.type){case"point":return P(e) 24case"multipoint":return C(e) 25case"polyline":return d(e) 26case"polygon":return w(e) 27case"extent":return _(e) 28default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function _(e){if(!e.getCacheValue(f)){const t=new o.E 29t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(y,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(g,0,e.zmin,e.zmax),e.setCacheValue(f,t)}return e.getCacheValue(f)}function C(e){if(!e.getCacheValue(f)){const t=new a.M,n=new o.P,r=e.points,s=e.hasM,i=e.hasZ,u=i?3:2 30for(let e=0,o=r.length;e<o;e++){const o=r[e] 31n.setXYCoords(o[0],o[1]),i&&n.setZ(o[2]??0),s&&n.setM(o[u]??NaN),t.add(n)}e.setCacheValue(f,t)}return e.getCacheValue(f)}function P(e){if(!e.getCacheValue(f)){const t=new o.P 32t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(f,t)}return e.getCacheValue(f)}function w(e){if(!e.getCacheValue(f)){const{curveRings:t,hasM:n,hasZ:r,rings:s}=e,o=(0,p.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:s}) 33e.setCacheValue(f,o)}return e.getCacheValue(f)}function d(e){if(!e.getCacheValue(f)){const{curvePaths:t,hasM:n,hasZ:r,paths:s}=e,o=(0,p.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:s}) 34e.setCacheValue(f,o)}return e.getCacheValue(f)}function v(e){if(e.wkid)return(0,i.c)(e.wkid) 35const t=e.wkt2||e.wkt 36return t?(0,i.b)(t):null}function M(e,t){if(e)switch(e.getGeometryType()){case s.G.enumPoint:return R(e,t) 37case s.G.enumEnvelope:return V(e,t) 38case s.G.enumMultiPoint:return E(e,t) 39case s.G.enumPolyline:return k(e,t) 40case s.G.enumPolygon:return Z(e,t)}return null}function V(e,t){if(e.isEmpty())return null 41const n=new u.default({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription() 42if(r.hasM()){const t=e.queryInterval(y,0) 43n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(g,0) 44n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(f,e),n}function E(e,t){if(e.isEmpty())return null 45const n=e.getDescription(),r=n.hasM(),s=n.hasZ(),a=[],i=new o.P 46for(let o=0,l=e.getPointCount();o<l;o++){e.getPointByVal(o,i) 47const t=[i.getX(),i.getY()] 48s&&t.push(i.getZ()),r&&t.push(i.getM()),a.push(t)}const u=new l.default({hasM:r,hasZ:s,points:a,spatialReference:t})
49return u.setCacheValue(f,e),u}function R(e,t){if(e instanceof r.P)return new c.default({x:e.x,y:e.y,spatialReference:t}) 50if(e.isEmpty())return null 51const n=new c.default({x:e.getX(),y:e.getY(),spatialReference:t}),s=e.getDescription() 52return s.hasM()&&(n.m=e.getM()),s.hasZ()&&(n.z=e.getZ()),n.setCacheValue(f,e),n}function Z(e,t){if(e.isEmpty())return null 53const n=m.default.fromJSON({spatialReference:t,...(0,p.toGeometry)(e,null)}) 54return n.setCacheValue(f,e),n}function k(e,t){if(e.isEmpty())return null 55const n=h.default.fromJSON({spatialReference:t,...(0,p.toGeometry)(e,null)}) 56return n.setCacheValue(f,e),n}}}])
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.