@arcgis/core 4.33.0-next.20250501 → 4.33.0-next.20250503

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/assets/esri/core/workers/RemoteClient.js +1 -1
  2. package/assets/esri/core/workers/chunks/{0219c3f9408d3fa3c9a0.js → 03ee9d0407c230b885ed.js} +1 -1
  3. package/assets/esri/core/workers/chunks/{de16b771d2c8d816c738.js → 05c80002c37002ac99e8.js} +1 -1
  4. package/assets/esri/core/workers/chunks/{5d40c4783f58af1ae0dc.js → 0e8181e7fc1386d08ffc.js} +1 -1
  5. package/assets/esri/core/workers/chunks/{96e5d192c8d23c1e324f.js → 13e68c43acc8916520db.js} +1 -1
  6. package/assets/esri/core/workers/chunks/{e6a5911ea21bef32834b.js → 1bc22af4cc4effcbcf2b.js} +1 -1
  7. package/assets/esri/core/workers/chunks/{84f972d7851d982701a0.js → 1ca7e0d519ecbfe6976f.js} +1 -1
  8. package/assets/esri/core/workers/chunks/{9b2ab27159500315fbc1.js → 26850ec0917ee355ddb7.js} +1 -1
  9. package/assets/esri/core/workers/chunks/{1bd4fe77ba6fb25322e7.js → 29e2b105f55adafc3a6d.js} +1 -1
  10. package/assets/esri/core/workers/chunks/{5d63dfa5a60c88e03b28.js → 2c77a543a174e5bc736a.js} +1 -1
  11. package/assets/esri/core/workers/chunks/{d0ddf4f1c6a351b447c7.js → 30d7d2c7d6e9e5e2ecb9.js} +1 -1
  12. package/assets/esri/core/workers/chunks/3fb25912b274f264c84e.js +1 -0
  13. package/assets/esri/core/workers/chunks/{febae745a29a17ca130a.js → 4480e4b61affb3b2e9d6.js} +1 -1
  14. package/assets/esri/core/workers/chunks/{4d4a271351fd288277d2.js → 49085a0b3a74e158f32f.js} +1 -1
  15. package/assets/esri/core/workers/chunks/{392e64a573f67817db02.js → 4cb199b547e5b97e65fb.js} +1 -1
  16. package/assets/esri/core/workers/chunks/4df36ee2406861c7afa8.js +1 -0
  17. package/assets/esri/core/workers/chunks/{9652cfd4668b95036c87.js → 532088a72c3ddc50f3be.js} +1 -1
  18. package/assets/esri/core/workers/chunks/{ba917175ca2a6681501e.js → 563594357f3648652a5c.js} +1 -1
  19. package/assets/esri/core/workers/chunks/{abfc5f9ac16c3e885c5f.js → 56db71ea7eb8a5652d98.js} +1 -1
  20. package/assets/esri/core/workers/chunks/{e56647e61296643c5f84.js → 5719471414810b6a9aec.js} +1 -1
  21. package/assets/esri/core/workers/chunks/{235efd948ae470a6f238.js → 60b1365d25581ccf0485.js} +1 -1
  22. package/assets/esri/core/workers/chunks/{3795793643f4db64af0e.js → 63c25455b9cf1b3df76a.js} +1 -1
  23. package/assets/esri/core/workers/chunks/{909be86782af3deb448e.js → 654fe135d41af81daa13.js} +1 -1
  24. package/assets/esri/core/workers/chunks/{cd9343c78a7c3acdbbcd.js → 681b2662f6ce936afd7e.js} +1 -1
  25. package/assets/esri/core/workers/chunks/{65f2b22d8fc12e6d4a87.js → 7000d9158da929a16071.js} +1 -1
  26. package/assets/esri/core/workers/chunks/{7551011117c3d36ff3db.js → 743cdbff5c4616ddc2b4.js} +1 -1
  27. package/assets/esri/core/workers/chunks/{968956284f44187f0622.js → 8540fb31bd0b29ff1906.js} +1 -1
  28. package/assets/esri/core/workers/chunks/8c5cea49e48f8858f115.js +1 -0
  29. package/assets/esri/core/workers/chunks/{237a965bd41ba8903e03.js → 921c040d0497031fd8ff.js} +1 -1
  30. package/assets/esri/core/workers/chunks/{96d2a0777f5c418055fb.js → 92b48e3365d1cc933113.js} +1 -1
  31. package/assets/esri/core/workers/chunks/{5d485c07848164099859.js → 95a4da3150ad8e8e36d8.js} +1 -1
  32. package/assets/esri/core/workers/chunks/{46fb6ba8900286d18b6f.js → 9d564f79b82d427fc1da.js} +1 -1
  33. package/assets/esri/core/workers/chunks/{00612d6e05b1c8647668.js → 9fff43ffcd5602ccc50f.js} +1 -1
  34. package/assets/esri/core/workers/chunks/{653ff3e631fea8ad393a.js → a0db1f3ca29e34dfa16f.js} +12 -12
  35. package/assets/esri/core/workers/chunks/{1cc5c566e68f2255d035.js → a6ca68ef6311ffc365b2.js} +1 -1
  36. package/assets/esri/core/workers/chunks/{5a51c75a2932d9da001a.js → a8d043b73e087bee7c40.js} +1 -1
  37. package/assets/esri/core/workers/chunks/{581180668e0229dcdc14.js → bf190d672dcbaedc1a41.js} +1 -1
  38. package/assets/esri/core/workers/chunks/{ebfa4a0334401f5e004a.js → c12765e0c8b44e349c2a.js} +1 -1
  39. package/assets/esri/core/workers/chunks/{afddb94ff4e1a70022c7.js → c3b2b05996e2008adbe3.js} +1 -1
  40. package/assets/esri/core/workers/chunks/{4fb4884d2de42792abe3.js → d1a9e8db5ba403abe721.js} +1 -1
  41. package/assets/esri/core/workers/chunks/d35cd309ba7bb8968a22.js +1 -0
  42. package/assets/esri/core/workers/chunks/{6e6422eda398774acbc7.js → d60da671aba70485050e.js} +1 -1
  43. package/assets/esri/core/workers/chunks/{7a8df1225abd54ff68ed.js → db298b292a4e43cba72d.js} +1 -1
  44. package/assets/esri/core/workers/chunks/{2bda2cfc6e81818d7d33.js → dcaeb57c69d432118604.js} +1 -1
  45. package/assets/esri/core/workers/chunks/{fb455fd89b74b70a6a2b.js → e613df03ceb39e29befa.js} +1 -1
  46. package/assets/esri/core/workers/chunks/{05d7d8ff3e4cbad32580.js → e8dcaa7837b6fe7bff20.js} +1 -1
  47. package/assets/esri/core/workers/chunks/ec1a4b82cbc44ba45f83.js +1 -0
  48. package/assets/esri/core/workers/chunks/ec778cc7a55068f51937.js +1 -0
  49. package/assets/esri/core/workers/chunks/{51339193abddfe37745d.js → f2b63597ae956db74eb3.js} +1 -1
  50. package/assets/esri/geometry/support/pe-wasm.wasm +0 -0
  51. package/assets/esri/themes/base/widgets/_OrientedImageryViewer.scss +14 -1
  52. package/assets/esri/themes/base/widgets/_SelectionList.scss +34 -0
  53. package/assets/esri/themes/base/widgets/_SelectionToolbar.scss +6 -0
  54. package/assets/esri/themes/dark/main.css +1 -1
  55. package/assets/esri/themes/light/main.css +1 -1
  56. package/assets/esri/themes/light/view.css +1 -1
  57. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
  58. package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
  59. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList.json +1 -1
  60. package/assets/esri/widgets/support/SelectionList/t9n/SelectionList_en.json +1 -1
  61. package/assets/esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar.json +1 -1
  62. package/assets/esri/widgets/support/SelectionToolbar/t9n/SelectionToolbar_en.json +1 -1
  63. package/chunks/Bufferer-CicaNej1.js +1 -1
  64. package/chunks/Distance2DCalculator-C1KHhZwD.js +1 -1
  65. package/chunks/Envelope.js +1 -1
  66. package/chunks/Envelope2D.js +1 -1
  67. package/chunks/GeodeticDistanceCalculator-CcF1gMZX.js +1 -1
  68. package/chunks/Geometry.js +1 -1
  69. package/chunks/GeometryCleaner-BEJM7I4l.js +1 -1
  70. package/chunks/OperatorClip.js +1 -1
  71. package/chunks/OperatorCrosses.js +1 -1
  72. package/chunks/OperatorCut.js +1 -1
  73. package/chunks/OperatorGeneralize.js +1 -1
  74. package/chunks/OperatorGeodesicBuffer.js +1 -1
  75. package/chunks/OperatorGeodeticArea.js +1 -1
  76. package/chunks/OperatorGeodeticDensifyByLength.js +1 -1
  77. package/chunks/OperatorGeodeticDistance.js +1 -1
  78. package/chunks/OperatorGeodeticLength.js +1 -1
  79. package/chunks/OperatorIntersects.js +1 -1
  80. package/chunks/OperatorMultiPartToSinglePart.js +1 -1
  81. package/chunks/OperatorOverlaps.js +1 -1
  82. package/chunks/OperatorProximity.js +1 -1
  83. package/chunks/OperatorProximityGeodesic.js +1 -1
  84. package/chunks/OperatorShapePreservingLength.js +1 -1
  85. package/chunks/OperatorShapePreservingProject.js +1 -1
  86. package/chunks/OperatorSimplifyOGC.js +1 -1
  87. package/chunks/OperatorTouches.js +1 -1
  88. package/chunks/OperatorWithin.js +1 -1
  89. package/chunks/Point2D.js +1 -1
  90. package/chunks/ProjectionTransformation.js +1 -1
  91. package/chunks/QuadraticBezier.js +1 -1
  92. package/chunks/SideCalculator2D-BNwb5gvz.js +1 -1
  93. package/chunks/Transformation2D.js +1 -1
  94. package/chunks/containsOperator.js +1 -1
  95. package/chunks/disjointOperator.js +1 -1
  96. package/chunks/equalsOperator.js +1 -1
  97. package/chunks/pe-wasm.js +1 -1
  98. package/chunks/pe.js +1 -1
  99. package/geometry/coordinateFormatter.js +1 -1
  100. package/geometry/operators/extendOperator.js +1 -1
  101. package/geometry/operators/gx/operatorAlphaShape.js +1 -1
  102. package/geometry/operators/gx/operatorAutoComplete.js +1 -1
  103. package/geometry/operators/gx/operatorBuffer.js +1 -1
  104. package/geometry/operators/gx/operatorDifference.js +1 -1
  105. package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
  106. package/geometry/operators/gx/operatorIntegrate.js +1 -1
  107. package/geometry/operators/gx/operatorIntersection.js +1 -1
  108. package/geometry/operators/gx/operatorLabelPoint.js +1 -1
  109. package/geometry/operators/gx/operatorLinesToPolygons.js +1 -1
  110. package/geometry/operators/gx/operatorLocateBetween.js +1 -1
  111. package/geometry/operators/gx/operatorMinimumBoundingCircle.js +1 -1
  112. package/geometry/operators/gx/operatorOffset.js +1 -1
  113. package/geometry/operators/gx/operatorPolygonOverlay.js +1 -1
  114. package/geometry/operators/gx/operatorPolygonSlicer.js +1 -1
  115. package/geometry/operators/gx/operatorSimplify.js +1 -1
  116. package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
  117. package/geometry/operators/gx/operatorUnion.js +1 -1
  118. package/geometry/operators/isNearOperator.js +1 -1
  119. package/geometry/operators/json/containsOperator.js +1 -1
  120. package/geometry/operators/json/disjointOperator.js +1 -1
  121. package/geometry/operators/reshapeOperator.js +1 -1
  122. package/geometry/operators/support/apiConverter.js +1 -1
  123. package/geometry/operators/support/initNoPeFactory.js +1 -1
  124. package/geometry/operators/support/jsonConverter.js +1 -1
  125. package/geometry/support/WKIDUnitConversion.js +1 -1
  126. package/interfaces.d.ts +31 -0
  127. package/package.json +1 -1
  128. package/support/revision.js +1 -1
  129. package/views/2d/engine/webgl/shaderGraph/techniques/mesh/utils.js +1 -1
  130. package/views/3d/interactive/Manipulator3D.js +1 -1
  131. package/views/3d/interactive/visualElements/PointVisualElement.js +1 -1
  132. package/views/3d/layers/DrapedSubView3D.js +1 -1
  133. package/views/3d/layers/I3SMeshView3D.js +1 -1
  134. package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
  135. package/views/3d/layers/MediaLayerView3D.js +1 -1
  136. package/views/3d/layers/graphics/Graphics3DIconSymbolLayer.js +1 -1
  137. package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
  138. package/views/3d/layers/graphics/Graphics3DObjectSymbolLayer.js +1 -1
  139. package/views/3d/layers/graphics/pipeline/rendering/FeaturePipelineRenderManager.js +1 -1
  140. package/views/3d/layers/graphics/pipeline/rendering/LodRenderer.js +1 -1
  141. package/views/3d/support/StreamTextureCollection.js +1 -1
  142. package/views/3d/support/TextureCollection.js +1 -1
  143. package/views/3d/webgl-engine/Stage.js +1 -1
  144. package/views/3d/webgl-engine/lib/ModelDirtySet.js +1 -1
  145. package/views/3d/webgl-engine/lib/TextTextureAtlas.js +1 -1
  146. package/views/3d/webgl-engine/lib/Texture.js +1 -1
  147. package/views/3d/webgl-engine/lib/TextureRepository.js +1 -1
  148. package/views/3d/webgl-engine/lib/WebGLLayer.js +1 -1
  149. package/views/3d/webgl-engine/parts/Model.js +1 -1
  150. package/widgets/Directions/css.js +5 -0
  151. package/widgets/Directions.js +1 -1
  152. package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +1 -1
  153. package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
  154. package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
  155. package/widgets/OrientedImageryViewer/adapters/sketch/TriangulatedMeasurementAdapter.js +5 -0
  156. package/widgets/OrientedImageryViewer/components/ImageMeasurementWidget.js +1 -1
  157. package/widgets/OrientedImageryViewer/css.js +1 -1
  158. package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
  159. package/widgets/OrientedImageryViewer/mixins/SketchHandlerMixin.js +1 -1
  160. package/widgets/OrientedImageryViewer/mixins/TriangulatedImageMeasurementMixin.js +5 -0
  161. package/widgets/OrientedImageryViewer/mixins/TriangulatedSketchHandlerMixin.js +5 -0
  162. package/widgets/OrientedImageryViewer.js +1 -1
  163. package/widgets/Sketch.js +1 -1
  164. package/widgets/support/SelectionList/LayerItem.js +1 -1
  165. package/widgets/support/SelectionList/SelectionListViewModel.js +1 -1
  166. package/widgets/support/SelectionList/VisibleElements.js +1 -1
  167. package/widgets/support/SelectionList.js +1 -1
  168. package/widgets/support/SelectionToolbar/SelectionToolbarViewModel.js +1 -1
  169. package/widgets/support/SelectionToolbar/VisibleElements.js +5 -0
  170. package/widgets/support/SelectionToolbar.js +1 -1
  171. package/widgets/support/Selector2D/SelectionOperation.js +1 -1
  172. package/assets/esri/core/workers/chunks/11b55e7e76e50fe11bbe.js +0 -1
  173. package/assets/esri/core/workers/chunks/7bfa18dd8771d4932533.js +0 -1
  174. package/assets/esri/core/workers/chunks/84d7ed2cf5fe23a0888f.js +0 -1
  175. package/assets/esri/core/workers/chunks/86931186095c23e47c0c.js +0 -1
  176. package/assets/esri/core/workers/chunks/a79511b926a2830bb160.js +0 -1
  177. package/assets/esri/core/workers/chunks/e3ef0451dcdc2e966628.js +0 -1
  178. package/views/3d/webgl-engine/lib/ContentObject.js +0 -5
  179. package/views/3d/webgl-engine/lib/ContentObjectType.js +0 -5
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3169,6061,8125,9202],{16346:(e,t,n)=>{n.d(t,{d:()=>c,e:()=>m,s:()=>u});var r=n(55537),i=n(90135),s=n(83047),o=n(78125);const a=new class{getOperatorType(){return 10100}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){return this.executeEx(e,t,n,null,null,Number.NaN)}executeEx(e,t,n,s,o,a){if(e.isEmpty()||t.isEmpty())return Number.NaN;(0,r.d)(e),(0,r.d)(t);const m=e,u=t;Number.isNaN(a)&&(a=Number.POSITIVE_INFINITY);const c=new i.D(a,n).calculate(m,u,s,o);return Number.isFinite(c)?c:Number.NaN}};function m(e,t,n={}){const{unit:r}=n;let i=a.execute((0,o.fromGeometry)(e),(0,o.fromGeometry)(t),null);if(i&&r){const t=(0,o.getSpatialReference)(e);i=(0,s.PQ)(i,t,r)}return i}const u=a.supportsCurves(),c=Object.freeze(Object.defineProperty({__proto__:null,execute:m,supportsCurves:u},Symbol.toStringTag,{value:"Module"}))},76061:(e,t,n)=>{n.d(t,{G:()=>r,S:()=>i});class r{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class i 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];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},77038:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>r.e,supportsCurves:()=>r.s});var r=n(16346);n(83047),n(78125)},78125:(e,t,n)=>{n.r(t),n.d(t,{fromExtent:()=>D,fromGeometry:()=>v,fromMultipoint:()=>N,fromPoint:()=>P,fromPolygon:()=>x,fromPolyline:()=>I,fromSpatialReference:()=>d,getSpatialReference:()=>_,toExtent:()=>M,toGeometry:()=>G,toMultipoint:()=>E,toPoint:()=>b,toPolygon:()=>q,toPolyline:()=>C});var r=n(83661),i=(n(79187),n(55537)),s=n(95213),o=n(35368),a=n(12189),m=n(5443),u=n(48526),c=n(86738),l=n(39829),h=n(82799),g=(n(90293),n(83299));const y="_gxVersion",p=2,f=1;function _(e){return Array.isArray(e)?e[0].spatialReference:e.spatialReference}function v(e){switch(e.type){case"point":return P(e);case"multipoint":return N(e);case"polyline":return I(e);case"polygon":return x(e);case"extent":return D(e);default:throw new Error(`Unsupported geometry type: ${e.type}`)}}function D(e){if(!e.getCacheValue(y)){const t=new s.E;t.setCoords(e.xmin,e.ymin,e.xmax,e.ymax),e.hasM&&t.setInterval(p,0,e.mmin,e.mmax),e.hasZ&&t.setInterval(f,0,e.zmin,e.zmax),e.setCacheValue(y,t)}return e.getCacheValue(y)}function N(e){if(!e.getCacheValue(y)){const t=new o.M,n=new s.P,r=e.points,i=e.hasM,a=e.hasZ,m=a?3:2;for(let e=0,s=r.length;e<s;e++){const s=r[e];n.setXYCoords(s[0],s[1]),a&&n.setZ(s[2]??0),i&&n.setM(s[m]??NaN),t.add(n)}e.setCacheValue(y,t)}return e.getCacheValue(y)}function P(e){if(!e.getCacheValue(y)){const t=new s.P;t.setXYCoords(e.x,e.y),e.hasM&&t.setM(e.m),e.hasZ&&t.setZ(e.z),e.setCacheValue(y,t)}return e.getCacheValue(y)}function x(e){if(!e.getCacheValue(y)){const{curveRings:t,hasM:n,hasZ:r,rings:i}=e,s=(0,g.fromGeometryToGXGeometry)({curveRings:t,hasM:n,hasZ:r,rings:i});e.setCacheValue(y,s)}return e.getCacheValue(y)}function I(e){if(!e.getCacheValue(y)){const{curvePaths:t,hasM:n,hasZ:r,paths:i}=e,s=(0,g.fromGeometryToGXGeometry)({curvePaths:t,hasM:n,hasZ:r,paths:i});e.setCacheValue(y,s)}return e.getCacheValue(y)}function d(e){if(e.wkid)return(0,a.c)(e.wkid);const t=e.wkt2||e.wkt;return t?(0,a.b)(t):null}function G(e,t){if(e)switch(e.getGeometryType()){case i.G.enumPoint:return b(e,t);case i.G.enumEnvelope:return M(e,t);case i.G.enumMultiPoint:return E(e,t);case i.G.enumPolyline:return C(e,t);case i.G.enumPolygon:return q(e,t)}return null}function M(e,t){if(e.isEmpty())return null;const n=new m.A({xmin:e.getXMin(),ymin:e.getYMin(),xmax:e.getXMax(),ymax:e.getYMax(),spatialReference:t}),r=e.getDescription();if(r.hasM()){const t=e.queryInterval(p,0);n.mmin=t.vmin,n.mmax=t.vmax}if(r.hasZ()){const t=e.queryInterval(f,0);n.zmin=t.vmin,n.zmax=t.vmax}return n.setCacheValue(y,e),n}function E(e,t){if(e.isEmpty())return null;const n=e.getDescription(),r=n.hasM(),i=n.hasZ(),o=[],a=new s.P;for(let t=0,n=e.getPointCount();t<n;t++){e.getPointByVal(t,a);const n=[a.getX(),a.getY()];i&&n.push(a.getZ()),r&&n.push(a.getM()),o.push(n)}const m=new u.A({hasM:r,hasZ:i,points:o,spatialReference:t});return m.setCacheValue(y,e),m}function b(e,t){if(e instanceof r.P)return new c.A({x:e.x,y:e.y,spatialReference:t});if(e.isEmpty())return null;const n=new c.A({x:e.getX(),y:e.getY(),spatialReference:t}),i=e.getDescription();return i.hasM()&&(n.m=e.getM()),i.hasZ()&&(n.z=e.getZ()),n.setCacheValue(y,e),n}function q(e,t){if(e.isEmpty())return null;const n=l.A.fromJSON({spatialReference:t,...(0,g.toGeometry)(e,null)});return n.setCacheValue(y,e),n}function C(e,t){if(e.isEmpty())return null;const n=h.A.fromJSON({spatialReference:t,...(0,g.toGeometry)(e,null)});return n.setCacheValue(y,e),n}},90135:(e,t,n)=>{n.d(t,{D:()=>N,m:()=>c,s:()=>_,w:()=>f});var r=n(90237),i=n(55537),s=n(35368),o=n(12189),a=n(83661),m=n(79187),u=n(95213);function c(){return{outPoint:new a.P,index:-1,t:Number.NaN}}function l(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function h(e,t,n,r){e.outPoint.assign(t),e.index=n,e.t=r}function g(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function y(e,t,n,r){e.index=n,e.t=r,t.queryCoord2D(e.t,e.outPoint)}function p(e,t){const n=c();g(n,e),g(e,t),g(t,n)}function f(e,t,n,r,s,a){if(e.getGeometryType()===i.G.enumPolygon){for(;r.nextPath();)if(r.hasNextSegment()){const t=r.nextSegment();if(0!==(0,o.i)(e,t.getEndXY(),0))return h(s,t.getEndXY(),-1,Number.NaN),h(a,t.getEndXY(),-1,Number.NaN),!0}r.resetToFirstPath()}if(t.getGeometryType()===i.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,o.i)(t,e.getEndXY(),0))return h(s,e.getEndXY(),-1,Number.NaN),h(a,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function _(e){const t=e.getPathCount(),n=(0,a.d)(e.getSegmentCount(),0);let r=0;for(let i=0;i<t;++i){const t=r+e.getSegmentCountPath(i);for(let s=r,o=e.getPathStart(i);s<t;++s,++o)n[s]=o;r=t}return(0,s.s)(e.getPointCount(),n),n}function v(e,t){return!!Number.isNaN(t)||e<=t}function D(e){const t=new s.a;return t.addEnvelope(e,!1),t}class N{constructor(e,t){if(this.m_env2DgeometryA=null,this.m_env2DgeometryB=null,this.m_progressCounter=0,this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,r){if((e.getGeometryType()!==u.P.type||t.getGeometryType()!==u.P.type)&&(this.m_env2DgeometryA=new m.Envelope2D,this.m_env2DgeometryB=new m.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!v(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const i=l(new a.P,(0,a.j)(),Number.NaN),s=l(new a.P,(0,a.j)(),Number.NaN),o=this._ExecuteBruteForce(e,t,i,s);return v(o,this.m_maxDistance)?(null!==n&&g(n,i),null!==r&&g(r,s),o):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==u.P.type&&e.getGeometryType()!==u.E.type||t.getGeometryType()!==u.P.type&&t.getGeometryType()!==u.E.type||(n=!1),n){if(this.m_env2DgeometryA=new m.Envelope2D,this.m_env2DgeometryB=new m.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const r=l(new a.P,(0,a.j)(),Number.NaN),i=l(new a.P,(0,a.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,r,i)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,r){switch(e.getGeometryType()){case i.G.enumPoint:return this.distancePointGeometry(e,t,n,r);case i.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,r);case i.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,r);case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,r);default:return Number.NaN}}distancePointGeometry(e,t,n,r){switch(t.getGeometryType()){case i.G.enumPoint:return this.distancePointPoint(e,t,n,r);case i.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,r);case i.G.enumPolyline:case i.G.enumPolygon:return this.distancePointMultipath(e,t,n,r);case i.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,r);default:return Number.NaN}}distancePointPoint(e,t,n,r){const i=e.getXY(),s=t.getXY();return h(n,i,0,0),h(r,s,0,0),Math.sqrt(a.P.sqrDistance(i,s))}distancePointMultipoint(e,t,n,r){const i=e.getXY();let s=this.m_maxSqrDistance,o=s,m=!1;const u=t.getPointCount(),c=new a.P;for(let e=0;e<u;++e)if(t.queryXY(e,c),o=a.P.sqrDistance(i,c),this.m_bIsNearCalc){if(o<=s)return 0}else if(!(o>s)&&(!m&&o===s||o<s)&&(s=o,h(n,i,0,0),h(r,c,e,0),m=!0,0===s))return 0;return m?Math.sqrt(s):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,r){const s=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),u=e.getXY();if(!s&&t.getGeometryType()===i.G.enumPolygon&&0!==(0,o.i)(t,u,0))return h(n,u,0,0),h(r,u,-1,Number.NaN),0;t.getImpl().getAccelerators();let c=this.m_maxSqrDistance,l=c,g=-1;const y=new m.Envelope2D,p=t.querySegmentIterator();let f=!1;for(;p.nextPath();)for(;p.hasNextSegment();){const e=p.nextSegment();e.queryEnvelope(y);const t=y.sqrDistance(u);if(t>c)continue;if(!this.m_bIsNearCalc&&f&&t===c)continue;g=e.getClosestCoordinate(u,!1);const i=e.getCoord2D(g);if(l=a.P.sqrDistance(u,i),this.m_bIsNearCalc){if(l<=c)return 0}else if(!(l>c)&&(!f||l<c)&&(c=l,h(n,u,0,0),h(r,i,p.getStartPointIndex(),g),f=!0,0===c))return 0}return f?Math.sqrt(c):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,r){const i=e.getXY();h(n,i,0,0),h(r,i,-1,Number.NaN);const s=t.asEnvelope2D();return s.contains(i)?0:Math.sqrt(s.sqrDistance(i,r.outPoint))}distanceMultipointGeometry(e,t,n,r){switch(t.getGeometryType()){case i.G.enumPoint:{this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distancePointMultipoint(t,e,r,n);return this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,r,1,1);case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,r);case i.G.enumEnvelope:return this.distanceMultipointMultipath(e,D(t),n,r);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,i,s,o){const m={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===s&&1===o){const r=Math.trunc((0,a.c)(Math.sqrt(e.getPointCount())+1,1,(0,a.i)())),s=Math.trunc((0,a.c)(Math.sqrt(t.getPointCount())+1,1,(0,a.i)()));if((r>=4||s>=4)&&this.distanceMultipointMultipoint(e,t,n,i,r,s)<=this.m_maxSqrDistance)return 0}let u=this.m_maxSqrDistance;const c=[e],l=[t],g=this.swapGeometriesIfBGtA(c,l);g&&(this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),o=(0,a.b)(s,s=o),p(n,i)),(0,r.b)(m,(0,a.h)((()=>{p(n,i),this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!g),!1);const y=c[0].getImpl(),f=l[0].getImpl(),_=y.getPointCount(),v=f.getPointCount(),D=v>1;let N=!1;const P=new a.P,x=new a.P;for(let e=0;e<_;e+=s){if(y.queryXY(e,P),D){const e=this.m_env2DgeometryB.sqrDistance(P);if(this.m_bIsNearCalc){if(e>u)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(P)<=u)return 0}else if(e>=u)continue}for(let t=0;t<v;t+=o){f.queryXY(t,x);const r=a.P.sqrDistance(P,x);if(this.m_bIsNearCalc){if(r<=u)return 0}else if(!(r>u||N&&r===u)&&(!N||r<u)&&(h(n,P,e,0),h(i,x,t,0),N=!0,u=r,0===u))return N?Math.sqrt(u):Number.POSITIVE_INFINITY}}return N?Math.sqrt(u):Number.POSITIVE_INFINITY}catch(e){m.error=e,m.hasError=!0}finally{(0,r.c)(m)}}distanceMultipointMultipath(e,t,n,r){let s=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===i.G.enumPolygon;const u=t.querySegmentIterator();u.stripAttributes();const c=new m.Envelope2D,l=new a.P;let g=this.m_maxSqrDistance;const y=e.getImpl(),p=y.getPointCount(),f=p>1;let _=!1;for(;u.nextPath();)for(;u.hasNextSegment();){const e=u.nextSegment();if(e.queryLooseEnvelope(c),f){const e=c.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>g)continue}else if(e>g||_&&e===g)continue}for(let i=0;i<p;i++){if(y.queryXY(i,l),s&&0!==(0,o.i)(t,l,0))return h(n,l,-1,Number.NaN),h(r,l,i,0),0;{const e=c.sqrDistance(l);if(this.m_bIsNearCalc){if(e>g)continue}else if(e>g)continue}const a=e.getClosestCoordinate(l,!1),m=e.getCoord2D(a);l.subThis(m);const p=l.sqrLength();if(this.m_bIsNearCalc){if(p<=g)return 0}else if(!(p>g)&&(!_||p<g)&&(g=p,h(n,y.getXY(i),i,0),h(r,m,u.getStartPointIndex(),a),_=!0,0===g))return 0}s=!1}return _?Math.sqrt(g):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,r){switch(t.getGeometryType()){case i.G.enumPoint:return this.distancePointEnvelope(t,e,r,n);case i.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distanceMultipointMultipath(t,D(e),r,n);return this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipathMultipath(D(e),t,n,r);case i.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,r);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,r){n.t=Number.NaN,n.index=-1,r.t=Number.NaN,r.index=-1;const i=e.asEnvelope2D(),s=t.asEnvelope2D();return Math.sqrt(i.sqrDistanceEnvelope(s,n.outPoint,r.outPoint))}distanceMultipathGeometry(e,t,n,r){switch(t.getGeometryType()){case i.G.enumPoint:{this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distancePointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumMultiPoint:{this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distanceMultipointMultipath(t,e,r,n);return this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,r);case i.G.enumEnvelope:return this.distanceMultipathMultipath(e,D(t),n,r);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,i){const o={stack:[],error:void 0,hasError:!1};try{const u=[e],l=[t],h=this.swapGeometriesIfAGtB(u,l);h&&(this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),p(n,i)),(0,r.b)(o,(0,a.h)((()=>{p(n,i),this.m_env2DgeometryB=(0,a.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!h),!1);const v=u[0],D=l[0],N=v.querySegmentIterator();N.stripAttributes();const P=D.querySegmentIterator();if(P.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,a.c)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)())),t=Math.trunc((0,a.c)(Math.sqrt(v.getPointCount())+1,1,(0,a.i)()));if(this.distanceMultipointMultipoint(v,D,n,i,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=c(),t=c();if(f(v,D,N,P,e,t))return g(n,e),g(i,t),0}const x=_(v),I=[],d=new s.S,G=new m.Envelope2D,M=new m.Envelope2D,E=new m.Envelope2D;let b=this.m_maxSqrDistance,q=!0,C=!1;for(let e=0,t=x.length;e<t;++e){v.querySegment(x[e],d,!0);const t=d.get();if(t.queryEnvelope(G),!(G.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>b)){if(this.m_bIsNearCalc&&G.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=b)return 0;for(;P.nextPath();){if(this.progress_(),q)D.queryPathEnvelope(P.getPathIndex(),E),I[P.getPathIndex()]=E.clone();else if(G.sqrDistanceEnvelope(I[P.getPathIndex()],null,null)>b)continue;for(;P.hasNextSegment();){const r=P.nextSegment();if(r.queryEnvelope(M),G.sqrDistanceEnvelope(M,null,null)<=b){const s=!G.isIntersecting(M),o=[0],a=[0];let m=t.distance(r,s,o,a);if(m*=m,this.m_bIsNearCalc&&m<=this.m_maxSqrDistance)return 0;if(m<b||m===b&&x[e]<n.index){if(C=!0,y(n,t,x[e],o[0]),y(i,r,P.getStartPointIndex(),a[0]),0===m)return 0;b=m}}}}P.resetToFirstPath(),q=!1}}return C?Math.sqrt(b):Number.POSITIVE_INFINITY}catch(e){o.error=e,o.hasError=!0}finally{(0,r.c)(o)}}swapGeometriesIfAGtB(e,t){return(0,i.v)(e[0])>(0,i.v)(t[0])&&(t[0]=(0,a.b)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1088,4163,6061],{31088:(e,t,n)=>{n.r(t),n.d(t,{OperatorGeodeticDensifyByLength:()=>a,OperatorGeodeticDensifyCursor:()=>o});var s=n(76061),i=n(55537),r=n(12189);class a{getOperatorType(){return 10310}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}executeMany(e,t,n,s,i){return new o(e,n,s,t,-1,-1,i)}execute(e,t,n,r,a){const o=new s.S([e]),_=this.executeMany(o,t,n,r,a).next();return _||(0,i.c)("null output"),_}}class o extends s.G{constructor(e,t,n,s,r,a,o){super(),this.m_progressTracker=o,a>0&&(0,i.b)(""),4!==n&&r>0&&(0,i.b)(""),t||(0,i.t)(""),0===t.getCoordinateSystemType()&&(0,i.t)(""),s>0||r>0||(0,i.t)(""),this.m_index=-1,this.m_inputGeoms=e,this.m_spatialReference=t,this.m_curveType=n,this.m_maxLengthMeters=s,this.m_maxDeviationMeters=r,this.m_maxAngle=a}next(){{let e;for(;e=this.m_inputGeoms.next();)return(0,i.d)(e),this.m_index=this.m_inputGeoms.getGeometryID(),this.geodeticDensify(e);return null}}getGeometryID(){return this.m_index}tock(){return!0}getRank(){return 1}geodeticDensify(e){return(0,r.x)(e,this.m_spatialReference,this.m_curveType,this.m_maxLengthMeters,this.m_maxDeviationMeters,this.m_progressTracker)}}},47591:(e,t,n)=>{n.d(t,{O:()=>p});var s=n(55537),i=n(12189),r=n(35368),a=n(83661),o=n(95213),_=n(79187),h=n(5247),m=n(31139);function u(){return{m_pGcs:new a.P,m_xyz:new o.h,m_factor:Number.NaN,m_geoLength:Number.NaN,setValues:c,setLength:l,assign:g}}function c(e,t,n,s){this.m_factor=e,this.m_pGcs.assign(t),this.m_xyz.assign(s),this.m_geoLength=n}function l(e){this.m_geoLength=e}function g(e){this.m_pGcs.assign(e.m_pGcs),this.m_xyz.assign(e.m_xyz),this.m_factor=e.m_factor,this.m_geoLength=e.m_geoLength}class p{getOperatorType(){return 10315}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}_ExecuteShapePreservingLength(e,t,n,s,r){if(e.hasNonLinearSegments()&&(e=(new h.O).execute(e,0,t.getTolerance(0),0,r)),t.isPannable()){let s=90,a=-90;if(1===n.getUnit().getUnitToBaseFactor()&&(s*=Math.PI/180,a*=Math.PI/180),2===t.getCoordinateSystemType()){let e=null;const n=[0,0,0,0];e=t.getPECoordSys(),n[0]=0,n[1]=s,n[2]=0,n[3]=a,i.$.geogToProj(e,2,n),s=n[1],a=n[3]}const o=new _.Envelope2D;e.queryEnvelope(o),o.ymin=a,o.ymax=s,e=(new m.O).execute(e,o,t,r)}else{const n=t.getPCSHorizon();if((e=(new i.f).execute(e,n,t,r))===n){const t=e.clone();e=t}}return e.isEmpty()?0:this._ExecuteIterativeApproach(e,t,n,s,1,r)}_ExecuteIterativeApproach(e,t,n,r,_,h){const m=(0,i.I)();n.querySpheroidData(m);const c=m.majorSemiAxis,l=m.e2,g=n.getUnit().getUnitToBaseFactor(),p=(0,a.p)(u,40),P=(0,a.d)(40,Number.NaN),f=u(),E=u();let S;const x=[0,0,0,0],v=t.getPECoordSys(),N=new a.P,D=new a.P,A=new a.P,M=new a.P,b=new a.P;let C=0;const T=e.querySegmentIterator();for(;T.nextPath();)for(;T.hasNextSegment();){const e=T.nextSegment();N.assign(e.getStartXY()),D.assign(e.getEndXY()),2===t.getCoordinateSystemType()?(x[0]=N.x,x[1]=N.y,x[2]=D.x,x[3]=D.y,i.$.projToGeog(v,2,x),A.x=x[0]*g,A.y=x[1]*g,M.x=x[2]*g,M.y=x[3]*g):(A.setCoordsPoint2D(N),M.setCoordsPoint2D(D),A.scale(g),M.scale(g));const n=new o.h,r=new o.h;y(c,l,A,n),y(c,l,M,r);let a=d(c,n,r);f.setValues(0,A,Number.NaN,n),E.setValues(1,M,a,r),S=_,p[0].assign(E),P[0]=_;let h=0;for(;;){h>128&&(0,s.c)("iterations exceeded");const n=.5*(f.m_factor+E.m_factor),r=e.getCoord2D(n);2===t.getCoordinateSystemType()?(x[0]=r.x,x[1]=r.y,i.$.projToGeog(v,1,x),b.x=x[0]*g,b.y=x[1]*g):(b.setCoordsPoint2D(r),b.scale(g)),A.setCoordsPoint2D(f.m_pGcs),M.setCoordsPoint2D(E.m_pGcs);const m=new o.h;y(c,l,b,m);const u=d(c,f.m_xyz,m),N=d(c,E.m_xyz,m);a=E.m_geoLength,Number.isNaN(a)&&(a=d(c,f.m_xyz,E.m_xyz));const D=u+N,T=S===_&&D>=20&&Math.abs(D-a)>1e-8*(a+D);if(h+2<40&&(T||Math.abs(D-a)>0&&S>0))E.setLength(N),p[h].assign(E),E.setValues(n,b,u,m),p[++h].assign(E),T?(S=_,P[h]=_):(S--,P[h-1]=S,P[h]=S);else{if(C+=D,0===h)break;f.assign(E),E.assign(p[--h]),S=P[h]}}}return C}execute(e,t,n){if(t&&0!==t.getCoordinateSystemType()||(0,s.t)(""),e.isEmpty()||e.getDimension()<1)return 0;let a=null;const o=t.getGCS();o!==t&&(a=(0,i.v)(t,o,null));const _=e.getGeometryType();if(_===s.G.enumEnvelope){const s=new r.a;return s.addEnvelope(e,!1),this._ExecuteShapePreservingLength(s,t,o,a,n)}if((0,s.f)(_)){const s=new r.P;return s.addSegment(e,!0),this._ExecuteShapePreservingLength(s,t,o,a,n)}return this._ExecuteShapePreservingLength(e,t,o,a,n)}}function y(e,t,n,s){s.assign((0,i.S)(e,t,n))}function d(e,t,n){const s=e,i=new o.h;i.setSub(t,n);const r=i.length();return 2*s*Math.asin(r/(2*s))}},74163:(e,t,n)=>{n.r(t),n.d(t,{OperatorGeodeticArea:()=>T});var s=n(55537),i=n(35368),r=n(5247),a=n(12189),o=n(83661),_=n(79187),h=n(95213),m=n(31139),u=n(47591),c=n(90237),l=n(11878);n(90135),n(76061),n(31088),Symbol.dispose;class g{constructor(e,t,n,s,i=0,r=4){this.m_ptDistFrom=new o.P,this.m_segStartPt=new o.P,this.m_segEndPt=new o.P,this.m_geodeticLength=new a.G,this.m_az12=new a.G,this.m_minGeodeticDist=new a.G,this.m_segStartPt3d=new h.h,this.m_segEndPt3d=new h.h,this.m_sr=s,this.m_distCurveType=i,this.m_segCurveType=r,this.m_inputGCS=this.m_sr.getGCS(),this.m_rpu=this.m_inputGCS.getUnit().getUnitToBaseFactor(),this.m_bIsPannablePcs=2===this.m_sr.getCoordinateSystemType()&&this.m_sr.isPannable();const _=(0,a.I)();this.m_inputGCS.querySpheroidData(_),this.m_a=_.majorSemiAxis,this.m_eSquared=_.e2,this.setPointDistFrom(e),this.setSegmentEndPoints(t,n)}setSegmentEndPoints(e,t){this.m_segStartPt.assign(e),this.m_segEndPt.assign(t),this.m_bIsPannablePcs||(this.m_segStartPt.mulThis(this.m_rpu),this.m_segEndPt.mulThis(this.m_rpu)),2===this.m_segCurveType&&(this.m_segStartPt3d.assign((0,a.S)(this.m_a,this.m_eSquared,this.m_segStartPt)),this.m_segEndPt3d.assign((0,a.S)(this.m_a,this.m_eSquared,this.m_segEndPt))),this.calculateAndUpdateSegmentLength()}setPointDistFrom(e){this.m_ptDistFrom.assign(e),this.m_ptDistFrom.scale(this.m_rpu)}setSegmentCurveType(e){this.m_segCurveType=e}setDistanceCurveType(e){this.m_distCurveType=e}makeFunctor(){return e=>{let t;switch(this.m_segCurveType){case 0:case 1:case 3:{const n={stack:[],error:void 0,hasError:!1};try{const s=(0,c.b)(n,new a.G,!1),i=(0,c.b)(n,new a.G,!1);a.H.geodeticCoordinate(this.m_a,this.m_eSquared,this.m_segStartPt.x,this.m_segStartPt.y,this.m_geodeticLength.val*e,this.m_az12.val,s,i,this.m_segCurveType),t=new o.P(s.val,i.val);break}catch(e){n.error=e,n.hasError=!0}finally{(0,c.c)(n)}}case 2:{const n=h.h.lerp(this.m_segStartPt3d,this.m_segEndPt3d,e);t=(0,a._)(this.m_a,this.m_eSquared,n);break}case 4:t=o.P.lerp(this.m_segStartPt,this.m_segEndPt,e),this.m_bIsPannablePcs&&((0,a.V)(this.m_sr,0,[t],1),t.mulThis(this.m_rpu));break;default:(0,s.c)("Invalid curve type")}return a.H.geodeticDistance(this.m_a,this.m_eSquared,this.m_ptDistFrom.x,this.m_ptDistFrom.y,t.x,t.y,this.m_minGeodeticDist,null,null,this.m_distCurveType),this.m_minGeodeticDist.val}}calculateAndUpdateSegmentLength(){switch(this.m_segCurveType){case 0:case 2:case 1:case 3:a.H.geodeticDistance(this.m_a,this.m_eSquared,this.m_segStartPt.x,this.m_segStartPt.y,this.m_segEndPt.x,this.m_segEndPt.y,this.m_geodeticLength,this.m_az12,null,this.m_segCurveType);break;case 4:this.m_geodeticLength.val=o.P.distance(this.m_segStartPt,this.m_segEndPt);break;default:(0,s.c)("Invalid curve type")}}[Symbol.dispose](){this.m_geodeticLength[Symbol.dispose](),this.m_az12[Symbol.dispose](),this.m_minGeodeticDist[Symbol.dispose]()}}Symbol.dispose;class p{constructor(e,t,n,s,i=100){this.m_startPt=e.clone(),this.m_endPt=t.clone(),this.m_cE2=s,this.m_cE=Math.sqrt(this.m_cE2),this.m_c1By2e=1/(2*this.m_cE),this.m_cRpu=n.getGCS().getUnit().getUnitToBaseFactor(),this.isPcs=2===n.getCoordinateSystemType(),this.PEProjcs=n.getPECoordSys(),this.m_points=(0,o.d)(2*i,Number.NaN)}setSegmentEndPoints(e,t){this.m_startPt.assign(e),this.m_endPt.assign(t)}makeFunctor(){return e=>{const t=[0,0];t[0]=this.m_startPt.x*(1-e)+this.m_endPt.x*e,t[1]=this.m_startPt.y*(1-e)+this.m_endPt.y*e,this.isPcs&&a.$.projToGeogCenter(this.PEProjcs,1,t,0);const n=Math.sin(t[1]*this.m_cRpu);return 0===this.m_cE2?n:-Math.log((1-this.m_cE*n)/(1+this.m_cE*n))*this.m_c1By2e+n/(1-this.m_cE2*n*n)}}}function y(e,t,n,s,i){const o=(new r.O).execute(e,t,0,0,i);let h;h=s?(new a.y).execute(o,s,i):o;const m=1===n.getUnit().getUnitToBaseFactor()?Math.PI/180:1,u=new _.Envelope2D;h.queryEnvelope(u);const c=new _.Envelope2D,l=new _.Envelope2D,g=new _.Envelope2D;c.setCoords({xmin:u.xmin,ymin:75*m,xmax:u.xmax,ymax:90*m}),l.setCoords({xmin:u.xmin,ymin:-60*m,xmax:u.xmax,ymax:75*m}),g.setCoords({xmin:u.xmin,ymin:-90*m,xmax:u.xmax,ymax:-60*m}),c.inflateCoords(.01*c.width(),0),l.inflateCoords(.01*l.width(),0),g.inflateCoords(.01*g.width(),0);let p=0;return p+=d(h,c,n,i),p+=d(h,l,n,i),p+=d(h,g,n,i),p}function d(e,t,n,i){const r=(new m.O).execute(e,t,n,i);if(null!==r&&!r.isEmpty()){const e=new _.Envelope2D;r.queryEnvelope(e);const{first:t,second:h}=function(e,t){const n=function(e,t){const n=e.getUnit().getUnitToBaseFactor(),i=t.getCenter();i.scale(180*n/Math.PI);const r=new o.P;r.x=0,r.y=0;let _=0;if(0===_){i.y>45?(r.y=o.l,_=0):i.y<-45?(r.y=-o.l,_=1):i.x>=45&&i.x<135?(r.x=o.l,_=2):i.x>=135||i.x<-135?(r.x=o.l,_=3):i.x<-45&&i.x>=-135?(r.x=-o.l,_=4):(r.x=0,_=5);const e=n*Math.sqrt((0,o.s)(t.xmin-t.xmax)+(0,o.s)(t.ymin-t.ymax)),s=r.clone(),a=t.getCenter();if(a.scale(n),_<2&&(s.x=a.x),o.P.distance(s,a)+.5*e>o.l)return null}const h=P[_];if(null!==h&&h.getGCS().equalHorizontal(e))return h;const m=e.getText(),u=r.x,c=r.y;let l=0,g=-1;6!==_?g=a.a6.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA:((0,s.g)(false),l=0,g=a.a6.PE_PRJ_CYLINDRICAL_EQAREA);const p=(0,a.aw)("EqualAreaPCS");let y;g===a.a6.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA?y=`PROJCS["${p}",${m},PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${u}],PARAMETER["Latitude_of_Origin",${c}],UNIT["Meter",1.0]]`:g===a.a6.PE_PRJ_CYLINDRICAL_EQAREA?y=`PROJCS["${p}",${m},PROJECTION["Cylindrical_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${u}],PARAMETER["Standard_Parallel_1",${l}],PARAMETER["Latitude_of_Origin",${c}],UNIT["Meter",1.0]]`:(0,s.c)("getEqualAreaPcsFixed");const d=(0,a.b)(y);return P[_]&&P[_].destroy(),P[_]=d,d}(e,t);if(null!==n)return(0,o.n)(n,!1);const i=e.getText(),r=e.getUnit().getUnitToBaseFactor(),_=(t.xmin+t.width()/2)*r,h=(t.ymin+t.height()/2)*r;let m=0,u=0,c=-1;t.ymin*r>=75*Math.PI/180||t.ymax*r<=-60*Math.PI/180?c=a.a6.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA:t.ymin>0||t.ymax<0?(m=(t.ymin+1/3*t.height())*r,u=(t.ymin+2/3*t.height())*r,c=a.a6.PE_PRJ_ALBERS):(m=(t.ymin+2/3*t.height())*r,c=a.a6.PE_PRJ_CYLINDRICAL_EQAREA);const l=(0,a.aw)("EqualAreaPCS");let g;return c===a.a6.PE_PRJ_LAMBERT_AZIMUTHAL_EQAREA?g=`PROJCS["${l}",${i},PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${_}],PARAMETER["Latitude_of_Origin",${h}],UNIT["Meter",1.0]]`:c===a.a6.PE_PRJ_ALBERS?g=`PROJCS["${l}",${i},PROJECTION["Albers"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${_}],PARAMETER["Standard_Parallel_1",${m}],PARAMETER["Standard_Parallel_2",${u}],PARAMETER["Latitude_of_Origin",${h}],UNIT["Meter",1.0]]`:c===a.a6.PE_PRJ_CYLINDRICAL_EQAREA?g=`PROJCS["${l}",${i},PROJECTION["Cylindrical_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",${_}],PARAMETER["Standard_Parallel_1",${m}],PARAMETER["Latitude_of_Origin",${h}],UNIT["Meter",1.0]]`:(0,s.c)("getEqualAreaPCSInstance"),(0,o.n)((0,a.b)(g),!0)}(n,e),m=(0,a.v)(n,t,null),u=(new a.y).execute(r,m,i).calculateArea2D();return h&&t.destroy(),u}return 0}const P=[null,null,null,null,null,null,null];class f{getOperatorType(){return 10314}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n){if(0===t.getCoordinateSystemType()&&(0,s.t)(""),e.isEmpty()||e.getDimension()<2)return 0;if((0,s.d)(e),e.getGeometryType()===s.G.enumEnvelope){const s=new i.a;return s.addEnvelope(e,!1),this.execute(s,t,n)}let c=e;e.getDescription().getAttributeCount()>1&&(c=e.clone(),c.dropAllAttributes());const l=(new r.O).execute(c,0,t.getTolerance(0),0,n);let g=null;const d=t.getGCS();d!==t&&(g=(0,a.v)(t,d));let P=(new a.g).execute(l,t,!1,n);return P.isEmpty()?0:(P===e&&(P=e.clone()),t.isPannable()?function(e,t,n){const s=new _.Envelope2D;e.queryEnvelope(s);const r=(0,h.a)(t,s,!0).total(),u=t.getPannableExtent();u.xmin=s.xmin-10*r,u.xmax=s.xmax+10*r;const c=(new m.O).execute(e,u,t,n).getImpl().querySegmentIterator();c.stripAttributes();const l=(0,a.I)();t.querySpheroidData(l);const g=l.e2,y=0===g?2:1,d=new o.P(0,0),P=new o.P(0,0),f=new o.K(0),E=new p(d,P,t,g,100);for(;c.nextPath();)for(;c.hasNextSegment();){const e=c.nextSegment();d.assign(e.getStartXY()),P.assign(e.getEndXY()),E.setSegmentEndPoints(d,P);const t=(0,i.v)(6,0,1,1e-12,1e-15,E.makeFunctor());f.pe((P.x-d.x)*t)}const S=l.majorSemiAxis;return y*S*S*(1-g)*Math.PI*f.getResult()/t.getPannableExtent().width()}(P,t,n):function(e,t,n,s,i){const r=function(e,t,n){const s=e.calculateLength2D(),i=(new u.O).execute(e,t,n)/25e3,r=s/e.getSegmentCount()*2;let a=Math.min(r,s/i);return 0===a&&(a=1),(0,o.n)(a,s/a)}(e,t,i);let a=y(e,r.first,n,s,i),_=1,h=0,m=0;do{if(_++,r.first*=.5,r.first<50*t.getTolerance(0))return a;r.second*=2,m=y(e,r.first,n,s,i),h=Math.abs(m-a),a=m}while(Math.abs(a)>1&&h>1e-8*Math.abs(a)&&(r.second<65e3&&_<8||_<4));return m}(P,t,d,g,n))}}function E(){return{m_p_PCS:new o.P,m_factor:Number.NaN,setValues:S,assign:x}}function S(e,t){this.m_factor=e,this.m_p_PCS.assign(t)}function x(e){this.m_factor=e.m_factor,this.m_p_PCS.assign(e.m_p_PCS)}class v{constructor(e,t,n,s){this.m_ptStart=new h.h,this.m_ptEnd=new h.h,this.m_ptStart.assign(t),this.m_ptEnd.assign(n),this.m_deltaX=this.m_ptEnd.x-this.m_ptStart.x,this.m_deltaY=this.m_ptEnd.y-this.m_ptStart.y,this.m_e=Math.sqrt(e),this.m_e2=e,this.m_c1MinusE2=1-e;const i=Math.sin(s);let r;r=0===this.m_e2?2*i:i*((0,o.y)(this.m_e*i)+1/(1-this.m_e2*i*i)),this.m_baseA=r}setSegmentEndPoints(e,t){this.m_ptStart.assign(e),this.m_ptEnd.assign(t),this.m_deltaX=this.m_ptEnd.x-this.m_ptStart.x,this.m_deltaY=this.m_ptEnd.y-this.m_ptStart.y}makeFunctor(){return e=>{const t=1-e,n=t*this.m_ptStart.x+e*this.m_ptEnd.x,s=t*this.m_ptStart.y+e*this.m_ptEnd.y,i=t*this.m_ptStart.z+e*this.m_ptEnd.z,r=n*n+s*s,a=i/Math.sqrt(i*i+this.m_c1MinusE2*this.m_c1MinusE2*r);let _;return _=0===this.m_e2?2*a:a*((0,o.y)(this.m_e*a)+1/(1-this.m_e2*a*a)),(this.m_deltaY*n-this.m_deltaX*s)/r*(_-this.m_baseA)}}}function N(){return{sin_phi:Number.NaN,one_p_sin_phi:Number.NaN,one_m_sin_phi:Number.NaN,one_m_e_2_sin_2_phi:Number.NaN,sin_half_phi_pf:Number.NaN,sin_half_phi_pz:Number.NaN,sin_half_asin_e_sin_phi_pf:Number.NaN,sin_half_asin_e_sin_phi_pz:Number.NaN,atanh_sin_phi:Number.NaN,atanh_esin_phi:Number.NaN,make_negative:!1,initialize:D,changeSign:A,assign:M,clone:b}}function D(e,t,n,s){const i=.5*e;this.sin_phi=Math.sin(e);const r=t*this.sin_phi,a=.5*Math.asin(r);this.one_p_sin_phi=1+this.sin_phi,this.one_m_sin_phi=1-this.sin_phi,this.one_m_e_2_sin_2_phi=(1+r)*(1-r),this.sin_half_phi_pf=Math.sin(i+n),this.sin_half_phi_pz=Math.sin(i+s),this.sin_half_asin_e_sin_phi_pf=Math.sin(a+n),this.sin_half_asin_e_sin_phi_pz=Math.sin(a+s),this.atanh_sin_phi=Math.log(this.sin_half_phi_pf/this.sin_half_phi_pz),this.atanh_esin_phi=Math.log(this.sin_half_asin_e_sin_phi_pf/this.sin_half_asin_e_sin_phi_pz)}function A(){this.sin_phi=-this.sin_phi;let e=this.one_p_sin_phi;this.one_p_sin_phi=this.one_m_sin_phi,this.one_m_sin_phi=e,e=this.sin_half_phi_pf,this.sin_half_phi_pf=this.sin_half_phi_pz,this.sin_half_phi_pz=e,e=this.sin_half_asin_e_sin_phi_pf,this.sin_half_asin_e_sin_phi_pf=this.sin_half_asin_e_sin_phi_pz,this.sin_half_asin_e_sin_phi_pz=e,this.atanh_sin_phi=-this.atanh_sin_phi,this.atanh_esin_phi=-this.atanh_esin_phi}function M(e){this.sin_phi=e.sin_phi,this.one_p_sin_phi=e.one_p_sin_phi,this.one_m_sin_phi=e.one_m_sin_phi,this.one_m_e_2_sin_2_phi=e.one_m_e_2_sin_2_phi,this.sin_half_phi_pf=e.sin_half_phi_pf,this.sin_half_phi_pz=e.sin_half_phi_pz,this.sin_half_asin_e_sin_phi_pf=e.sin_half_asin_e_sin_phi_pf,this.sin_half_asin_e_sin_phi_pz=e.sin_half_asin_e_sin_phi_pz,this.atanh_sin_phi=e.atanh_sin_phi,this.atanh_esin_phi=e.atanh_esin_phi,this.make_negative=e.make_negative}function b(){return{...this}}class C{constructor(e,t,n){this.m_transformPCS2GCS=null,this.m_scaleToRadians=new l.T,this.m_scaleToDegrees=new l.T,this.m_progressTracker=n,(0,s.g)(4!==t),this.m_curveType=t,this.m_inputSR=e,e&&0!==e.getCoordinateSystemType()||(0,s.t)(""),this.m_inputGCS=e.getGCS(),this.m_a=0,this.m_eSquared=0,this.m_b=0,this.m_rpu=0}executePolygonGeodeticArea(e){let t,n=e.clone();if(n.dropAllAttributes(),e.hasNonLinearSegments()&&(n=(new r.O).execute(n,0,this.m_inputSR.getTolerance(0),0,this.m_progressTracker)),this.m_inputSR.isPannable()){const e=new _.Envelope2D;n.queryEnvelope(e);const t=this.m_inputSR.getPannableExtent();if(!t.containsEnvelope(e)){const s=t.getCenterX()-e.getCenterX(),i=new l.T;i.setShiftCoords(s,0),n.applyTransformation(i),e.move(s,0);const r=new o.E;t.queryIntervalX(r);const _=new o.E;e.queryIntervalX(_),n=r.contains(_)?(0,a.z)(n,this.m_inputSR):(new a.y).foldInto360RangeGeodetic(n,this.m_inputSR,this.m_curveType)}}if(this.m_transformPCS2GCS?(n=(new a.g).execute(n,this.m_inputSR,!1,this.m_progressTracker),t=n.createInstance(),(0,a.a1)(this.m_transformPCS2GCS,n,t,this.m_progressTracker)||(t=(new a.y).execute(n,this.m_transformPCS2GCS,this.m_progressTracker))):t=(new a.g).execute(n,this.m_inputGCS,!1,this.m_progressTracker),t.isEmpty())return 0;if(1===this.m_curveType){const e=(0,a.I)();return this.m_inputGCS.querySpheroidData(e),this.m_a=e.majorSemiAxis,this.m_eSquared=e.e2,this.loxodromeArea(t)}const s=t.getImpl();this.m_rpu=this.m_inputGCS.getUnit().getUnitToBaseFactor(),this.m_scaleToRadians.setScale(this.m_rpu),s.applyTransformation(this.m_scaleToRadians),this.m_scaleToDegrees=this.m_scaleToRadians,this.m_scaleToDegrees.invertThis();const i=(0,a.I)();if(this.m_inputGCS.querySpheroidData(i),this.m_a=i.majorSemiAxis,this.m_b=i.minorSemiAxis,this.m_eSquared=i.e2,2===this.m_curveType)return this.executeClippedPolygonGreatEllipticArea(t);{const e={stack:[],error:void 0,hasError:!1};try{const n=a.ax.unit(9101),s=this.m_inputGCS.getPECoordSys(),i=(0,c.b)(e,s.cloneAlterUnits(n),!1);let r,o,_=this.executeClippedPolygonGeodeticArea(t,i,0),h=0;do{h++,r=this.executeClippedPolygonGeodeticArea(t,i,h),o=Math.abs(r-_),_=r}while(Math.abs(r)>1&&o>1e-8*Math.abs(r)&&h<7);return r}catch(t){e.error=t,e.hasError=!0}finally{(0,c.c)(e)}}}executeClippedPolygonGeodeticArea(e,t,n){const s={stack:[],error:void 0,hasError:!1};try{const i=new _.Envelope2D;e.queryEnvelope(i);const r=(0,c.b)(s,this.getEqualAreaPCSInstance(t,i),!1),h=e.clone();(0,a.ay)(r,h);const m=50,u=h.getImpl().getAttributeStreamRef(0),l=e.getImpl().getAttributeStreamRef(0),g=(0,c.b)(s,new a.G,!1),p=(0,c.b)(s,new a.G,!1),y=40,d=[0,0],P=(0,o.p)(E,y),f=(0,o.d)(y,-1),S=E(),x=E();let v,N;const D=r;let A=h.calculateArea2D();const M=new o.K(0),b=.5*Math.PI,C=1e-10*Math.abs(A)+1e-6,T=e.getPathCount();let q,I,w,G;const R=new o.P,L=new o.P,B=new o.P,z=new o.P,O=new o.P,F=new o.P;let k,Y;for(I=e.getPathStart(0),q=0;q<T;q++,I=w)for(w=e.getPathEnd(q),u.queryPoint2D(w-1<<1,B),l.queryPoint2D(w-1<<1,R),Math.abs(R.y)>b&&(R.y=(0,o.f)(b,R.y)),G=I;G<w;G++,B.assign(z),R.assign(L)){if(u.queryPoint2D(G<<1,z),l.queryPoint2D(G<<1,L),Math.abs(L.y)>b&&(L.y=(0,o.f)(b,L.y)),k=o.P.distance(B,z),k<m||0===R.y&&0===L.y)continue;a.H.geodeticDistance(this.m_a,this.m_eSquared,R.x,R.y,L.x,L.y,g,p,null,this.m_curveType);const e=g.val,t=p.val;for(S.setValues(0,B),x.setValues(1,z),N=n,P[0].assign(x),f[0]=n,v=0;v>=0;){Y=.5*(S.m_factor+x.m_factor),a.H.geodeticCoordinate(this.m_a,this.m_eSquared,R.x,R.y,e*Y,t,g,p,this.m_curveType),O.x=g.val,O.y=p.val,d[0]=O.x,d[1]=O.y,a.$.geogToProj(D,1,d),F.x=d[0],F.y=d[1];const n=.5*-F.offset(S.m_p_PCS,x.m_p_PCS)*o.P.distance(S.m_p_PCS,x.m_p_PCS);if(M.pe(n),Math.abs(n)>C||Math.abs(n)>0&&N>0)x.setValues(Y,F),v++,P[v].assign(x),Math.abs(n)<=C?(N--,f[v-1]=N,f[v]=N):(N=f[v-1],f[v]=N);else{if(v<=0)break;S.assign(x),v--,x.assign(P[v]),N=f[v]}}}return A+=M.getResult(),Math.abs(A)}catch(e){s.error=e,s.hasError=!0}finally{(0,c.c)(s)}}executeClippedPolygonGreatEllipticArea(e){const t=[],n=[],s=new o.P,i=new o.P,r=(0,a.S)(1,this.m_eSquared,new o.P(0,.5*Math.PI)),m=new o.K(0),u=new o.K(0),c=new o.K(0),l=new h.h,g=new h.h,p=new _.Envelope2D;e.queryLooseEnvelope(p);let y=0;p.containsCoords(p.xmin,0)||(y=Math.abs(p.ymin)<Math.abs(p.ymax)?p.ymin:p.ymax);const d=new v(this.m_eSquared,l,g,y),P=this.m_a*this.m_a,f=e.getImpl().querySegmentIterator();for(f.stripAttributes();f.nextPath();)for(;f.hasNextSegment();){const e=f.nextSegment();s.assign(e.getStartXY()),i.assign(e.getEndXY()),i.x-s.x>Math.PI?s.x+=2*Math.PI:i.x-s.x<-Math.PI&&(i.x+=2*Math.PI),this.splitSegmentCrossingItegralThreshold(e,t,n);for(let e of t)l.assign((0,a.S)(this.m_a,this.m_eSquared,e.getStartXY())),g.assign((0,a.S)(this.m_a,this.m_eSquared,e.getEndXY())),d.setSegmentEndPoints(l,g),this.adaptiveIntegrationWithRomberg(d,m);for(let e of n){let t=e.getStartXY(),n=e.getEndXY(),s=y;t.y<0&&(n=(0,o.b)(t,t=n),t.y=-t.y,n.y=-n.y,s=-s);const i=(0,a.S)(1,this.m_eSquared,t),_=(0,a.S)(1,this.m_eSquared,n),m=Math.min(t.y,n.y),l=(0,a.az)(this.m_eSquared,t.x,n.x,s,m);u.pe(l);const g=Math.abs((0,a.az)(this.m_eSquared,t.x,n.x,m,o.l)),p=new h.h;p.setSub(i,r);const d=new h.h;d.setSub(_,r);const f=new h.h;f.setCrossProductVector(p,d);let E=P*(g-.5*f.length());E=(0,o.f)(E,n.x-t.x),c.pe(E)}t.length=0,n.length=0}return c.getResult()+P*(.5*(1-this.m_eSquared)*m.getResult()+u.getResult())}getEqualAreaPCSInstance(e,t){const n=t.getCenterX();let s,i;const r=t.height();let _,h;(_=t.ymin>45*Math.PI/180||t.ymax<45*-Math.PI/180)?s=(0,o.f)(.5*Math.PI,t.getCenterY()):(s=t.getCenterY(),i=t.ymin+r*(2/3));const m=(0,a.aw)("EqualAreaPCS"),u=e.toString();return h=_?a.ax.fromString(a.a6.PE_TYPE_PROJCS,`PROJCS["${m}", ${u}, PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["False_Easting",0],PARAMETER["False_Northing", 0],PARAMETER["Central_Meridian", ${n}], PARAMETER["Latitude_of_Origin", ${s}], UNIT["Meter",1.0]]`):a.ax.fromString(a.a6.PE_TYPE_PROJCS,`PROJCS["${m}", ${u}, PROJECTION["Cylindrical_Equal_Area"],PARAMETER["False_Easting", 0],PARAMETER["False_Northing", 0],PARAMETER["Central_Meridian", ${n}],PARAMETER["Standard_Parallel_1", ${i}],PARAMETER["Latitude_of_Origin", ${s}],UNIT["Meter",1.0]]`),h}splitSegmentCrossingItegralThreshold(e,t,n){const s=100,r=400,_=(0,a.S)(this.m_a,this.m_eSquared,new o.P(0,o.l)),m=(0,a.S)(this.m_a,this.m_eSquared,new o.P(0,-o.l)),u=this.splitSegmentPassingThroughPole(e);for(let e of u){const u=e.getStartXY(),c=e.getEndXY(),l=(0,a.S)(this.m_a,this.m_eSquared,u),g=(0,a.S)(this.m_a,this.m_eSquared,c),p=new o.P,y=new h.h;let d=h.h.sqrDistance(_,l),P=h.h.sqrDistance(l,g);if(d<=s){if(!(P>r)){n.push(new i.L({start:u,end:c}));continue}y.assign(g.sub(l)),y.normalizeThis(),y.assign(l.add(y.mul(20))),p.assign((0,a._)(this.m_a,this.m_eSquared,y)),n.push(new i.L({start:u,end:p})),u.assign(p)}if(l.assign((0,a.S)(this.m_a,this.m_eSquared,u)),d=h.h.sqrDistance(_,g),P=h.h.sqrDistance(l,g),d<=s){if(!(P>r)){n.push(new i.L({start:u,end:c}));continue}y.assign(g.sub(l)),y.normalizeThis(),y.assign(g.sub(y.mul(20))),p.assign((0,a._)(this.m_a,this.m_eSquared,y)),n.push(new i.L({start:p,end:c})),c.assign(p)}if(l.assign((0,a.S)(this.m_a,this.m_eSquared,u)),g.assign((0,a.S)(this.m_a,this.m_eSquared,c)),d=h.h.sqrDistance(m,l),P=h.h.sqrDistance(l,g),d<=s){if(!(P>r)){n.push(new i.L({start:u,end:c}));continue}y.assign(g.sub(l)),y.normalizeThis(),y.assign(l.add(y.mul(20))),p.assign((0,a._)(this.m_a,this.m_eSquared,y)),n.push(new i.L({start:u,end:p})),u.assign(p)}if(l.assign((0,a.S)(this.m_a,this.m_eSquared,u)),g.assign((0,a.S)(this.m_a,this.m_eSquared,c)),d=h.h.sqrDistance(m,g),P=h.h.sqrDistance(l,g),d<=s){if(!(P>r)){n.push(new i.L({start:u,end:c}));continue}y.assign(g.sub(l)),y.normalizeThis(),y.assign(g.sub(y.mul(20))),p.assign((0,a._)(this.m_a,this.m_eSquared,y)),n.push(new i.L({start:p,end:c})),c.assign(p)}t.push(new i.L({start:u,end:c}))}}splitSegmentPassingThroughPole(e){const t={stack:[],error:void 0,hasError:!1};try{const n=[],s=new h.h,r=new h.h,_=new h.h,m=new o.P,u=20,l=3.124139361,p=10,y=e.getStartXY(),d=e.getEndXY(),P=(0,c.b)(t,new a.G,!1);if(a.H.geodeticDistance(this.m_a,this.m_eSquared,y.x,y.y,d.x,d.y,P,null,null,2),Math.abs(d.x-y.x)>l&&P.val>u){const e=new g(new o.P(0,90),y.divide(this.m_rpu),d.divide(this.m_rpu),this.m_inputGCS,2,2);let t=(0,a.W)(e.makeFunctor(),0,1,1e-10);if(t.second<=p&&t.first>0&&t.first<1)return s.assign((0,a.S)(this.m_a,this.m_eSquared,y)),r.assign((0,a.S)(this.m_a,this.m_eSquared,d)),(0,o.x)(s,r,t.first,_),m.assign((0,a._)(this.m_a,this.m_eSquared,_)),n.push(new i.L({start:y,end:m})),n.push(new i.L({start:m,end:d})),n;if(e.setPointDistFrom(new o.P(0,-90)),t=(0,a.W)(e.makeFunctor(),0,1,1e-10),t.second<=p&&t.first>0&&t.first<1)return s.assign((0,a.S)(this.m_a,this.m_eSquared,y)),r.assign((0,a.S)(this.m_a,this.m_eSquared,d)),(0,o.x)(s,r,t.first,_),m.assign((0,a._)(this.m_a,this.m_eSquared,_)),n.push(new i.L({start:y,end:m})),n.push(new i.L({start:m,end:d})),n}return n.push(new i.L({start:y,end:d})),n}catch(e){t.error=e,t.hasError=!0}finally{(0,c.c)(t)}}adaptiveIntegrationWithRomberg(e,t){const n=e.makeFunctor();let s=0,r=1,a=n(s),o=n(r);const _=1e-17,h=1e-14;let m=(s+r)/2,u=n(m),c=Math.abs(u-a),l=Math.abs(o-u),g=0;for(;g++<32&&(c/l<.1||l/c<.1);)c<l?(t.pe((0,i.v)(5,s,m,h,_,n)),s=m,a=u):(t.pe((0,i.v)(5,m,r,h,_,n)),r=m,o=u),m=(s+r)/2,u=Math.abs(n(m)),c=Math.abs(u-a),l=Math.abs(o-u);t.pe((0,i.v)(5,s,r,h,_,n))}loxodromeAreaHemi(e,t,n,s,i){const r=n.clone(),a=i.clone();let _,h,m,u,c,l,g,p,y,d,P,f,E,S,x,v;return r.make_negative&&r.changeSign(),a.make_negative&&a.changeSign(),P=s-t,1===Math.abs(r.sin_phi)||1===Math.abs(a.sin_phi)?e.half_qp*P:r.sin_phi===a.sin_phi?(d=.5*e.one_m_e_2*r.sin_phi*(1/r.one_m_e_2_sin_2_phi+(0,o.y)(e.e*r.sin_phi))*P,d):(x=Math.log(a.sin_half_phi_pf*r.sin_half_phi_pz/(a.sin_half_phi_pz*r.sin_half_phi_pf)),v=Math.log(a.sin_half_asin_e_sin_phi_pf*r.sin_half_asin_e_sin_phi_pz/(a.sin_half_asin_e_sin_phi_pz*r.sin_half_asin_e_sin_phi_pf)),1===this.m_eSquared?(c=0,_=.5*(x+a.sin_phi/a.one_m_e_2_sin_2_phi-r.sin_phi/r.one_m_e_2_sin_2_phi),h=0):(c=-2*e.atanh_e_over_e*(Math.log(a.one_p_sin_phi/r.one_p_sin_phi)-e.e*v),_=(x-e.e*v)/e.one_m_e_2,h=(Math.log(a.one_m_e_2_sin_2_phi/r.one_m_e_2_sin_2_phi)+c/e.atanh_e_over_e)/e.one_m_e_2),m=-v*(r.atanh_esin_phi+a.atanh_esin_phi),u=1/r.one_m_e_2_sin_2_phi-1/a.one_m_e_2_sin_2_phi,l=(0,o.z)(a.one_m_sin_phi/e.one_p_e,e.e)-(0,o.z)(r.one_m_sin_phi/e.one_p_e,e.e),g=(0,o.z)(a.one_p_sin_phi/e.one_p_e,e.e)-(0,o.z)(r.one_p_sin_phi/e.one_p_e,e.e),p=(0,o.z)(r.one_m_sin_phi/-e.one_m_e,e.e)-(0,o.z)(a.one_m_sin_phi/-e.one_m_e,e.e),y=(0,o.z)(r.one_p_sin_phi/-e.one_m_e,e.e)-(0,o.z)(a.one_p_sin_phi/-e.one_m_e,e.e),d=.25/_*(h+m+u+c+.5*(l+g+p+y)),d+=e.half_qp,f=.5*e.one_m_e_2*r.sin_phi*(1/r.one_m_e_2_sin_2_phi+(0,o.y)(e.e*r.sin_phi)),E=.5*e.one_m_e_2*a.sin_phi*(1/a.one_m_e_2_sin_2_phi+(0,o.y)(e.e*a.sin_phi)),E<f&&(S=f,f=E,E=S),d<f&&(d=f),d>E&&(d=E),d*=P,d)}loxodromeArea(e){const t=Math.PI/180;let n=0;const s={e:Number.NaN,one_p_e:Number.NaN,one_m_e:Number.NaN,one_m_e_2:Number.NaN,atanh_e_over_e:Number.NaN,half_qp:Number.NaN,f:Number.NaN,z:Number.NaN},i=N(),r=N();s.e=Math.sqrt(this.m_eSquared),s.one_p_e=1+s.e,s.one_m_e=1-s.e,s.one_m_e_2=1-this.m_eSquared,s.atanh_e_over_e=(0,o.y)(s.e),this.m_eSquared>=1?s.half_qp=1:s.half_qp=.5*(1+s.atanh_e_over_e*s.one_m_e_2),s.f=.25*Math.PI,s.z=.75*Math.PI,r.initialize(0,s.e,s.f,s.z);const a=e.getPathCount(),_=new o.P,h=new o.P,m=e.getImpl().getAttributeStreamRef(0);for(let o=0;o<a;o++){const a=e.getPathStart(o),u=e.getPathEnd(o);if(!(u-a<=1)){m.queryPoint2D(2*(u-1),_);for(let e=a;e<u;e++){m.queryPoint2D(2*e,h);const o=_.y*t,u=h.y*t;if(e===a?(i.initialize(o,s.e,s.f,s.z),i.make_negative=!1):i.assign(r),r.initialize(u,s.e,s.f,s.z),r.make_negative=!1,_.y*h.y<0){if(_.y>=90&&h.y<=-90||h.y>=90&&_.y<=-90)return Number.NaN;const e=N();e.initialize(0,s.e,s.f,s.z),e.make_negative=!1;const a=i.atanh_sin_phi-s.e*i.atanh_esin_phi,m=r.atanh_sin_phi-s.e*r.atanh_esin_phi,u=(m*_.x-a*h.x)/(m-a);o<0?(i.make_negative=!0,n-=this.loxodromeAreaHemi(s,_.x*t,i,u*t,e),i.make_negative=!1,n+=this.loxodromeAreaHemi(s,u*t,e,h.x*t,r)):(n+=this.loxodromeAreaHemi(s,_.x*t,i,u*t,e),r.make_negative=!0,n-=this.loxodromeAreaHemi(s,u*t,e,h.x*t,r),r.make_negative=!1)}else _.y>=0?n+=this.loxodromeAreaHemi(s,_.x*t,i,h.x*t,r):(i.make_negative=!0,r.make_negative=!0,n-=this.loxodromeAreaHemi(s,_.x*t,i,h.x*t,r),i.make_negative=!1,r.make_negative=!1);_.assign(h)}}}return this.m_a*n*this.m_a}calculate(e){if(e.isEmpty()||e.getDimension()<2)return 0;if(e.getGeometryType()===s.G.enumEnvelope){const t=new i.a;return t.addEnvelope(e,!1),this.calculate(t)}return this.m_inputSR!==this.m_inputGCS&&null===this.m_transformPCS2GCS&&(this.m_transformPCS2GCS=(0,a.v)(this.m_inputSR,this.m_inputGCS,null)),this.executePolygonGeodeticArea(e)}}class T{getOperatorType(){return 10311}supportsCurves(){return!0}accelerateGeometry(e,t,n){return!1}canAccelerateGeometry(e){return!1}execute(e,t,n,i){return(0,s.d)(e),4===n?(new f).execute(e,t,i):new C(t,n,i).calculate(e)}}},76061:(e,t,n)=>{n.d(t,{G:()=>s,S:()=>i});class s{*[Symbol.iterator](){let e=this.next();for(;e;)yield e,e=this.next()}}class i extends s{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];return this.m_aGeoms[this.m_iGeom]=null,e}return null}tock(){return!1}getGeometryID(){return this.m_iGeom}getRank(){return 1}}},90135:(e,t,n)=>{n.d(t,{D:()=>E,m:()=>m,s:()=>d,w:()=>y});var s=n(90237),i=n(55537),r=n(35368),a=n(12189),o=n(83661),_=n(79187),h=n(95213);function m(){return{outPoint:new o.P,index:-1,t:Number.NaN}}function u(e,t,n){return{outPoint:e.clone(),index:t,t:n}}function c(e,t,n,s){e.outPoint.assign(t),e.index=n,e.t=s}function l(e,t){e.outPoint.assign(t.outPoint),e.index=t.index,e.t=t.t}function g(e,t,n,s){e.index=n,e.t=s,t.queryCoord2D(e.t,e.outPoint)}function p(e,t){const n=m();l(n,e),l(e,t),l(t,n)}function y(e,t,n,s,r,o){if(e.getGeometryType()===i.G.enumPolygon){for(;s.nextPath();)if(s.hasNextSegment()){const t=s.nextSegment();if(0!==(0,a.i)(e,t.getEndXY(),0))return c(r,t.getEndXY(),-1,Number.NaN),c(o,t.getEndXY(),-1,Number.NaN),!0}s.resetToFirstPath()}if(t.getGeometryType()===i.G.enumPolygon){for(;n.nextPath();)if(n.hasNextSegment()){const e=n.nextSegment();if(0!==(0,a.i)(t,e.getEndXY(),0))return c(r,e.getEndXY(),-1,Number.NaN),c(o,e.getEndXY(),-1,Number.NaN),!0}n.resetToFirstPath()}return!1}function d(e){const t=e.getPathCount(),n=(0,o.d)(e.getSegmentCount(),0);let s=0;for(let i=0;i<t;++i){const t=s+e.getSegmentCountPath(i);for(let r=s,a=e.getPathStart(i);r<t;++r,++a)n[r]=a;s=t}return(0,r.s)(e.getPointCount(),n),n}function P(e,t){return!!Number.isNaN(t)||e<=t}function f(e){const t=new r.a;return t.addEnvelope(e,!1),t}class E{constructor(e,t){if(this.m_env2DgeometryA=null,this.m_env2DgeometryB=null,this.m_progressCounter=0,this.m_progressTracker=t,this.m_maxSqrDistance=e*e,this.m_maxDistance=e,this.m_bIsNearCalc=!1,Number.isNaN(this.m_maxDistance)?this.m_maxDistance=Number.POSITIVE_INFINITY:this.m_maxDistance=e,this.m_maxSqrDistance=this.m_maxDistance*this.m_maxDistance,Number.isFinite(this.m_maxSqrDistance)){let e=Math.sqrt(this.m_maxSqrDistance);for(;e<this.m_maxDistance;)this.m_maxSqrDistance*=1+Number.EPSILON,e=Math.sqrt(this.m_maxSqrDistance)}}calculate(e,t,n,s){if((e.getGeometryType()!==h.P.type||t.getGeometryType()!==h.P.type)&&(this.m_env2DgeometryA=new _.Envelope2D,this.m_env2DgeometryB=new _.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!P(this.m_env2DgeometryA.distanceFromEnvelope(this.m_env2DgeometryB),this.m_maxDistance)))return Number.POSITIVE_INFINITY;const i=u(new o.P,(0,o.j)(),Number.NaN),r=u(new o.P,(0,o.j)(),Number.NaN),a=this._ExecuteBruteForce(e,t,i,r);return P(a,this.m_maxDistance)?(null!==n&&l(n,i),null!==s&&l(s,r),a):Number.POSITIVE_INFINITY}isNear(e,t){if(this.m_bIsNearCalc=!0,e.isEmpty()||t.isEmpty())return!1;if(e===t)return!0;let n=!0;if(e.getGeometryType()!==h.P.type&&e.getGeometryType()!==h.E.type||t.getGeometryType()!==h.P.type&&t.getGeometryType()!==h.E.type||(n=!1),n){if(this.m_env2DgeometryA=new _.Envelope2D,this.m_env2DgeometryB=new _.Envelope2D,e.queryEnvelope(this.m_env2DgeometryA),t.queryEnvelope(this.m_env2DgeometryB),!(this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)>this.m_maxSqrDistance))return!0;if(this.m_env2DgeometryA.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>this.m_maxSqrDistance)return!1}const s=u(new o.P,(0,o.j)(),Number.NaN),i=u(new o.P,(0,o.j)(),Number.NaN);return this._ExecuteBruteForce(e,t,s,i)<=this.m_maxDistance}progress_(e=!1){}_ExecuteBruteForce(e,t,n,s){switch(e.getGeometryType()){case i.G.enumPoint:return this.distancePointGeometry(e,t,n,s);case i.G.enumMultiPoint:return this.distanceMultipointGeometry(e,t,n,s);case i.G.enumEnvelope:return this.distanceEnvelopeGeometry(e,t,n,s);case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipathGeometry(e,t,n,s);default:return Number.NaN}}distancePointGeometry(e,t,n,s){switch(t.getGeometryType()){case i.G.enumPoint:return this.distancePointPoint(e,t,n,s);case i.G.enumMultiPoint:return this.distancePointMultipoint(e,t,n,s);case i.G.enumPolyline:case i.G.enumPolygon:return this.distancePointMultipath(e,t,n,s);case i.G.enumEnvelope:return this.distancePointEnvelope(e,t,n,s);default:return Number.NaN}}distancePointPoint(e,t,n,s){const i=e.getXY(),r=t.getXY();return c(n,i,0,0),c(s,r,0,0),Math.sqrt(o.P.sqrDistance(i,r))}distancePointMultipoint(e,t,n,s){const i=e.getXY();let r=this.m_maxSqrDistance,a=r,_=!1;const h=t.getPointCount(),m=new o.P;for(let e=0;e<h;++e)if(t.queryXY(e,m),a=o.P.sqrDistance(i,m),this.m_bIsNearCalc){if(a<=r)return 0}else if(!(a>r)&&(!_&&a===r||a<r)&&(r=a,c(n,i,0,0),c(s,m,e,0),_=!0,0===r))return 0;return _?Math.sqrt(r):Number.POSITIVE_INFINITY}distancePointMultipath(e,t,n,s){const r=!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB),h=e.getXY();if(!r&&t.getGeometryType()===i.G.enumPolygon&&0!==(0,a.i)(t,h,0))return c(n,h,0,0),c(s,h,-1,Number.NaN),0;t.getImpl().getAccelerators();let m=this.m_maxSqrDistance,u=m,l=-1;const g=new _.Envelope2D,p=t.querySegmentIterator();let y=!1;for(;p.nextPath();)for(;p.hasNextSegment();){const e=p.nextSegment();e.queryEnvelope(g);const t=g.sqrDistance(h);if(t>m)continue;if(!this.m_bIsNearCalc&&y&&t===m)continue;l=e.getClosestCoordinate(h,!1);const i=e.getCoord2D(l);if(u=o.P.sqrDistance(h,i),this.m_bIsNearCalc){if(u<=m)return 0}else if(!(u>m)&&(!y||u<m)&&(m=u,c(n,h,0,0),c(s,i,p.getStartPointIndex(),l),y=!0,0===m))return 0}return y?Math.sqrt(m):Number.POSITIVE_INFINITY}distancePointEnvelope(e,t,n,s){const i=e.getXY();c(n,i,0,0),c(s,i,-1,Number.NaN);const r=t.asEnvelope2D();return r.contains(i)?0:Math.sqrt(r.sqrDistance(i,s.outPoint))}distanceMultipointGeometry(e,t,n,s){switch(t.getGeometryType()){case i.G.enumPoint:{this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distancePointMultipoint(t,e,s,n);return this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumMultiPoint:return this.distanceMultipointMultipoint(e,t,n,s,1,1);case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipointMultipath(e,t,n,s);case i.G.enumEnvelope:return this.distanceMultipointMultipath(e,f(t),n,s);default:return Number.NaN}}distanceMultipointMultipoint(e,t,n,i,r,a){const _={stack:[],error:void 0,hasError:!1};try{if(this.m_bIsNearCalc&&1===r&&1===a){const s=Math.trunc((0,o.c)(Math.sqrt(e.getPointCount())+1,1,(0,o.i)())),r=Math.trunc((0,o.c)(Math.sqrt(t.getPointCount())+1,1,(0,o.i)()));if((s>=4||r>=4)&&this.distanceMultipointMultipoint(e,t,n,i,s,r)<=this.m_maxSqrDistance)return 0}let h=this.m_maxSqrDistance;const m=[e],u=[t],l=this.swapGeometriesIfBGtA(m,u);l&&(this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),a=(0,o.b)(r,r=a),p(n,i)),(0,s.b)(_,(0,o.h)((()=>{p(n,i),this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!l),!1);const g=m[0].getImpl(),y=u[0].getImpl(),d=g.getPointCount(),P=y.getPointCount(),f=P>1;let E=!1;const S=new o.P,x=new o.P;for(let e=0;e<d;e+=r){if(g.queryXY(e,S),f){const e=this.m_env2DgeometryB.sqrDistance(S);if(this.m_bIsNearCalc){if(e>h)continue;if(this.m_env2DgeometryB.sqrMaxMinDistance(S)<=h)return 0}else if(e>=h)continue}for(let t=0;t<P;t+=a){y.queryXY(t,x);const s=o.P.sqrDistance(S,x);if(this.m_bIsNearCalc){if(s<=h)return 0}else if(!(s>h||E&&s===h)&&(!E||s<h)&&(c(n,S,e,0),c(i,x,t,0),E=!0,h=s,0===h))return E?Math.sqrt(h):Number.POSITIVE_INFINITY}}return E?Math.sqrt(h):Number.POSITIVE_INFINITY}catch(e){_.error=e,_.hasError=!0}finally{(0,s.c)(_)}}distanceMultipointMultipath(e,t,n,s){let r=!!this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)&&t.getGeometryType()===i.G.enumPolygon;const h=t.querySegmentIterator();h.stripAttributes();const m=new _.Envelope2D,u=new o.P;let l=this.m_maxSqrDistance;const g=e.getImpl(),p=g.getPointCount(),y=p>1;let d=!1;for(;h.nextPath();)for(;h.hasNextSegment();){const e=h.nextSegment();if(e.queryLooseEnvelope(m),y){const e=m.sqrDistanceEnvelope(this.m_env2DgeometryA,null,null);if(this.m_bIsNearCalc){if(e>l)continue}else if(e>l||d&&e===l)continue}for(let i=0;i<p;i++){if(g.queryXY(i,u),r&&0!==(0,a.i)(t,u,0))return c(n,u,-1,Number.NaN),c(s,u,i,0),0;{const e=m.sqrDistance(u);if(this.m_bIsNearCalc){if(e>l)continue}else if(e>l)continue}const o=e.getClosestCoordinate(u,!1),_=e.getCoord2D(o);u.subThis(_);const p=u.sqrLength();if(this.m_bIsNearCalc){if(p<=l)return 0}else if(!(p>l)&&(!d||p<l)&&(l=p,c(n,g.getXY(i),i,0),c(s,_,h.getStartPointIndex(),o),d=!0,0===l))return 0}r=!1}return d?Math.sqrt(l):Number.POSITIVE_INFINITY}distanceEnvelopeGeometry(e,t,n,s){switch(t.getGeometryType()){case i.G.enumPoint:return this.distancePointEnvelope(t,e,s,n);case i.G.enumMultiPoint:{this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distanceMultipointMultipath(t,f(e),s,n);return this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipathMultipath(f(e),t,n,s);case i.G.enumEnvelope:return this.distanceEnvelopeEnvelope(e,t,n,s);default:return Number.NaN}}distanceEnvelopeEnvelope(e,t,n,s){n.t=Number.NaN,n.index=-1,s.t=Number.NaN,s.index=-1;const i=e.asEnvelope2D(),r=t.asEnvelope2D();return Math.sqrt(i.sqrDistanceEnvelope(r,n.outPoint,s.outPoint))}distanceMultipathGeometry(e,t,n,s){switch(t.getGeometryType()){case i.G.enumPoint:{this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distancePointMultipath(t,e,s,n);return this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumMultiPoint:{this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB);const i=this.distanceMultipointMultipath(t,e,s,n);return this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),i}case i.G.enumPolyline:case i.G.enumPolygon:return this.distanceMultipathMultipath(e,t,n,s);case i.G.enumEnvelope:return this.distanceMultipathMultipath(e,f(t),n,s);default:return Number.NaN}}distanceMultipathMultipath(e,t,n,i){const a={stack:[],error:void 0,hasError:!1};try{const h=[e],u=[t],c=this.swapGeometriesIfAGtB(h,u);c&&(this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB),p(n,i)),(0,s.b)(a,(0,o.h)((()=>{p(n,i),this.m_env2DgeometryB=(0,o.b)(this.m_env2DgeometryA,this.m_env2DgeometryA=this.m_env2DgeometryB)}),!c),!1);const P=h[0],f=u[0],E=P.querySegmentIterator();E.stripAttributes();const S=f.querySegmentIterator();if(S.stripAttributes(),this.m_bIsNearCalc&&this.m_env2DgeometryA.sqrMaxMinDistanceEnvelope(this.m_env2DgeometryB)<=this.m_maxSqrDistance)return 0;if(this.m_bIsNearCalc){const e=Math.trunc((0,o.c)(Math.sqrt(P.getPointCount())+1,1,(0,o.i)())),t=Math.trunc((0,o.c)(Math.sqrt(P.getPointCount())+1,1,(0,o.i)()));if(this.distanceMultipointMultipoint(P,f,n,i,e,t)<=this.m_maxSqrDistance)return 0}if(this.m_env2DgeometryA.isIntersecting(this.m_env2DgeometryB)){const e=m(),t=m();if(y(P,f,E,S,e,t))return l(n,e),l(i,t),0}const x=d(P),v=[],N=new r.S,D=new _.Envelope2D,A=new _.Envelope2D,M=new _.Envelope2D;let b=this.m_maxSqrDistance,C=!0,T=!1;for(let e=0,t=x.length;e<t;++e){P.querySegment(x[e],N,!0);const t=N.get();if(t.queryEnvelope(D),!(D.sqrDistanceEnvelope(this.m_env2DgeometryB,null,null)>b)){if(this.m_bIsNearCalc&&D.sqrMaxDistanceEnvelope(this.m_env2DgeometryB)<=b)return 0;for(;S.nextPath();){if(this.progress_(),C)f.queryPathEnvelope(S.getPathIndex(),M),v[S.getPathIndex()]=M.clone();else if(D.sqrDistanceEnvelope(v[S.getPathIndex()],null,null)>b)continue;for(;S.hasNextSegment();){const s=S.nextSegment();if(s.queryEnvelope(A),D.sqrDistanceEnvelope(A,null,null)<=b){const r=!D.isIntersecting(A),a=[0],o=[0];let _=t.distance(s,r,a,o);if(_*=_,this.m_bIsNearCalc&&_<=this.m_maxSqrDistance)return 0;if(_<b||_===b&&x[e]<n.index){if(T=!0,g(n,t,x[e],a[0]),g(i,s,S.getStartPointIndex(),o[0]),0===_)return 0;b=_}}}}S.resetToFirstPath(),C=!1}}return T?Math.sqrt(b):Number.POSITIVE_INFINITY}catch(e){a.error=e,a.hasError=!0}finally{(0,s.c)(a)}}swapGeometriesIfAGtB(e,t){return(0,i.v)(e[0])>(0,i.v)(t[0])&&(t[0]=(0,o.b)(e[0],e[0]=t[0]),!0)}swapGeometriesIfBGtA(e,t){return this.swapGeometriesIfAGtB(t,e)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6187],{11053:(e,t,_)=>{_.d(t,{c:()=>r,g:()=>o});var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}},46187:(e,t,_)=>{_.r(t),_.d(t,{p:()=>i});var r,o=_(11053),n={exports:{}};const p=(0,o.g)(function(){return r||(r=1,e=n,t="undefined"!=typeof document?document.currentScript?.src:void 0,"undefined"!=typeof __filename&&(t=t||__filename),_=function(e={}){var _,r,o,n,p=e,i=new Promise(((e,t)=>{_=e,r=t})),c="object"==typeof window,s="undefined"!=typeof WorkerGlobalScope,P="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&"renderer"!=process.type,a=Object.assign({},p),g="./this.program",y="";if(P){var d=require("fs"),u=require("path");y=__dirname+"/",n=e=>(e=F(e)?new URL(e):u.normalize(e),d.readFileSync(e)),o=(e,t=!0)=>(e=F(e)?new URL(e):u.normalize(e),new Promise(((_,r)=>{d.readFile(e,t?void 0:"utf8",((e,o)=>{e?r(e):_(t?o.buffer:o)}))}))),!p.thisProgram&&process.argv.length>1&&(g=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2)}else(c||s)&&(s?y=self.location.href:"undefined"!=typeof document&&document.currentScript&&(y=document.currentScript.src),t&&(y=t),y=y.startsWith("blob:")?"":y.substr(0,y.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(n=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),o=e=>F(e)?new Promise(((t,_)=>{var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):_(r.status)},r.onerror=_,r.send(null)})):fetch(e,{credentials:"same-origin"}).then((e=>e.ok?e.arrayBuffer():Promise.reject(new Error(e.status+" : "+e.url)))));var b,f=console.log.bind(console),E=console.error.bind(console);Object.assign(p,a),a=null;var m,T,O,S,l,h,N,M=!1;function D(e,t){e||I(t)}function v(){var e=b.buffer;p.HEAP8=m=new Int8Array(e),p.HEAP16=O=new Int16Array(e),p.HEAPU8=T=new Uint8Array(e),p.HEAPU16=new Uint16Array(e),p.HEAP32=S=new Int32Array(e),p.HEAPU32=l=new Uint32Array(e),p.HEAPF32=h=new Float32Array(e),p.HEAPF64=N=new Float64Array(e)}var A=[],j=[],R=[],G=0,C=null;function I(e){E(e="Aborted("+e+")"),M=!0,e+=". Build with -sASSERTIONS for more info.";var t=new WebAssembly.RuntimeError(e);throw r(t),t}var L,U=e=>e.startsWith("data:application/octet-stream;base64,"),F=e=>e.startsWith("file://");function w(e,t,_){return function(e){return o(e).then((e=>new Uint8Array(e)),(()=>function(e){if(n)return n(e);throw"both async and sync fetching of the wasm failed"}(e)))}(e).then((e=>WebAssembly.instantiate(e,t))).then(_,(e=>{E(`failed to asynchronously prepare wasm: ${e}`),I(e)}))}var Y=e=>{for(;e.length>0;)e.shift()(p)},x="undefined"!=typeof TextDecoder?new TextDecoder:void 0,H=(e,t=0,_=NaN)=>{for(var r=t+_,o=t;e[o]&&!(o>=r);)++o;if(o-t>16&&e.buffer&&x)return x.decode(e.subarray(t,o));for(var n="";t<o;){var p=e[t++];if(128&p){var i=63&e[t++];if(192!=(224&p)){var c=63&e[t++];if((p=224==(240&p)?(15&p)<<12|i<<6|c:(7&p)<<18|i<<12|c<<6|63&e[t++])<65536)n+=String.fromCharCode(p);else{var s=p-65536;n+=String.fromCharCode(55296|s>>10,56320|1023&s)}}else n+=String.fromCharCode((31&p)<<6|i)}else n+=String.fromCharCode(p)}return n},X=(e,t)=>e?H(T,e,t):"",z=(e,t,_,r)=>{if(!(r>0))return 0;for(var o=_,n=_+r-1,p=0;p<e.length;++p){var i=e.charCodeAt(p);if(i>=55296&&i<=57343&&(i=65536+((1023&i)<<10)|1023&e.charCodeAt(++p)),i<=127){if(_>=n)break;t[_++]=i}else if(i<=2047){if(_+1>=n)break;t[_++]=192|i>>6,t[_++]=128|63&i}else if(i<=65535){if(_+2>=n)break;t[_++]=224|i>>12,t[_++]=128|i>>6&63,t[_++]=128|63&i}else{if(_+3>=n)break;t[_++]=240|i>>18,t[_++]=128|i>>12&63,t[_++]=128|i>>6&63,t[_++]=128|63&i}}return t[_]=0,_-o},W=(e,t,_)=>z(e,T,t,_),Z=[0,31,60,91,121,152,182,213,244,274,305,335],q=[0,31,59,90,120,151,181,212,243,273,304,334],B=(e,t)=>Math.ceil(e/t)*t,K=e=>{var t=(e-b.buffer.byteLength+65535)/65536|0;try{return b.grow(t),v(),1}catch(e){}},V={},k=()=>{if(!k.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:g||"./this.program"};for(var t in V)void 0===V[t]?delete e[t]:e[t]=V[t];var _=[];for(var t in e)_.push(`${t}=${e[t]}`);k.strings=_}return k.strings},$=[null,[],[]],J=(e,t)=>{var _=$[e];0===t||10===t?((1===e?f:E)(H(_)),_.length=0):_.push(t)},Q={c:function(e,t,_){return 0},q:(e,t,_)=>{},h:function(e,t,_){return 0},d:function(e,t,_,r){},o:e=>{},n:(e,t)=>{},p:(e,t,_)=>{},l:()=>{I("")},s:(e,t,_)=>T.copyWithin(e,t,t+_),j:function(e,t,_){var r=((e,t)=>t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)(e,t),o=new Date(1e3*r);S[_>>2]=o.getSeconds(),S[_+4>>2]=o.getMinutes(),S[_+8>>2]=o.getHours(),S[_+12>>2]=o.getDate(),S[_+16>>2]=o.getMonth(),S[_+20>>2]=o.getFullYear()-1900,S[_+24>>2]=o.getDay();var n=0|(e=>((e=>e%4==0&&(e%100!=0||e%400==0))(e.getFullYear())?Z:q)[e.getMonth()]+e.getDate()-1)(o);S[_+28>>2]=n,S[_+36>>2]=-60*o.getTimezoneOffset();var p=new Date(o.getFullYear(),0,1),i=new Date(o.getFullYear(),6,1).getTimezoneOffset(),c=p.getTimezoneOffset(),s=0|(i!=c&&o.getTimezoneOffset()==Math.min(c,i));S[_+32>>2]=s},r:(e,t,_,r)=>{var o=(new Date).getFullYear(),n=new Date(o,0,1),p=new Date(o,6,1),i=n.getTimezoneOffset(),c=p.getTimezoneOffset(),s=Math.max(i,c);l[e>>2]=60*s,S[t>>2]=Number(i!=c);var P=e=>{var t=e>=0?"-":"+",_=Math.abs(e);return`UTC${t}${String(Math.floor(_/60)).padStart(2,"0")}${String(_%60).padStart(2,"0")}`},a=P(i),g=P(c);c<i?(W(a,_,17),W(g,r,17)):(W(a,r,17),W(g,_,17))},i:()=>Date.now(),m:e=>{var t=T.length,_=2147483648;if((e>>>=0)>_)return!1;for(var r=1;r<=4;r*=2){var o=t*(1+.2/r);o=Math.min(o,e+100663296);var n=Math.min(_,B(Math.max(e,o),65536));if(K(n))return!0}return!1},e:(e,t)=>{var _=0;return k().forEach(((r,o)=>{var n=t+_;l[e+4*o>>2]=n,((e,t)=>{for(var _=0;_<e.length;++_)m[t++]=e.charCodeAt(_);m[t]=0})(r,n),_+=r.length+1})),0},f:(e,t)=>{var _=k();l[e>>2]=_.length;var r=0;return _.forEach((e=>r+=e.length+1)),l[t>>2]=r,0},a:e=>52,g:(e,t,_,r)=>52,k:function(e,t,_,r,o){return 70},b:(e,t,_,r)=>{for(var o=0,n=0;n<_;n++){var p=l[t>>2],i=l[t+4>>2];t+=8;for(var c=0;c<i;c++)J(e,T[p+c]);o+=i}return l[r>>2]=o,0}},ee=function(){var e={a:Q};return G++,L??=function(){var e="pe-wasm.wasm";return U(e)?e:function(e){return p.locateFile?p.locateFile(e,y):y+e}(e)}(),function(e,t,_,r){return"function"!=typeof WebAssembly.instantiateStreaming||U(t)||F(t)||P||"function"!=typeof fetch?w(t,_,r):fetch(t,{credentials:"same-origin"}).then((e=>WebAssembly.instantiateStreaming(e,_).then(r,(function(e){return E(`wasm streaming compile failed: ${e}`),E("falling back to ArrayBuffer instantiation"),w(t,_,r)}))))}(0,L,e,(function(e){!function(e){ee=e.exports,b=ee.t,v(),function(e){j.unshift(e)}(ee.u),function(){if(0==--G&&C){var e=C;C=null,e()}}()}(e.instance)})).catch(r),{}}();p._webidl_free=e=>(p._webidl_free=ee.v)(e),p._webidl_malloc=e=>(p._webidl_malloc=ee.w)(e);var te,_e=p._emscripten_bind_PeObject_getCode_0=e=>(_e=p._emscripten_bind_PeObject_getCode_0=ee.x)(e),re=p._emscripten_bind_PeObject_getName_1=(e,t)=>(re=p._emscripten_bind_PeObject_getName_1=ee.y)(e,t),oe=p._emscripten_bind_PeObject_getType_0=e=>(oe=p._emscripten_bind_PeObject_getType_0=ee.z)(e),ne=p._emscripten_bind_PeCoordsys_isEqual_1=(e,t)=>(ne=p._emscripten_bind_PeCoordsys_isEqual_1=ee.A)(e,t),pe=p._emscripten_bind_PeCoordsys_getCode_0=e=>(pe=p._emscripten_bind_PeCoordsys_getCode_0=ee.B)(e),ie=p._emscripten_bind_PeCoordsys_getName_1=(e,t)=>(ie=p._emscripten_bind_PeCoordsys_getName_1=ee.C)(e,t),ce=p._emscripten_bind_PeCoordsys_getType_0=e=>(ce=p._emscripten_bind_PeCoordsys_getType_0=ee.D)(e),se=p._emscripten_bind_PeUnit_getUnitFactor_0=e=>(se=p._emscripten_bind_PeUnit_getUnitFactor_0=ee.E)(e),Pe=p._emscripten_bind_PeUnit_getCode_0=e=>(Pe=p._emscripten_bind_PeUnit_getCode_0=ee.F)(e),ae=p._emscripten_bind_PeUnit_getName_1=(e,t)=>(ae=p._emscripten_bind_PeUnit_getName_1=ee.G)(e,t),ge=p._emscripten_bind_PeUnit_getType_0=e=>(ge=p._emscripten_bind_PeUnit_getType_0=ee.H)(e),ye=p._emscripten_bind_VoidPtr___destroy___0=e=>(ye=p._emscripten_bind_VoidPtr___destroy___0=ee.I)(e),de=p._emscripten_bind_PeAngunit_getCode_0=e=>(de=p._emscripten_bind_PeAngunit_getCode_0=ee.J)(e),ue=p._emscripten_bind_PeAngunit_getName_1=(e,t)=>(ue=p._emscripten_bind_PeAngunit_getName_1=ee.K)(e,t),be=p._emscripten_bind_PeAngunit_getType_0=e=>(be=p._emscripten_bind_PeAngunit_getType_0=ee.L)(e),fe=p._emscripten_bind_PeAngunit_getUnitFactor_0=e=>(fe=p._emscripten_bind_PeAngunit_getUnitFactor_0=ee.M)(e),Ee=p._emscripten_bind_PeDatum_getSpheroid_0=e=>(Ee=p._emscripten_bind_PeDatum_getSpheroid_0=ee.N)(e),me=p._emscripten_bind_PeDatum_getCode_0=e=>(me=p._emscripten_bind_PeDatum_getCode_0=ee.O)(e),Te=p._emscripten_bind_PeDatum_getName_1=(e,t)=>(Te=p._emscripten_bind_PeDatum_getName_1=ee.P)(e,t),Oe=p._emscripten_bind_PeDatum_getType_0=e=>(Oe=p._emscripten_bind_PeDatum_getType_0=ee.Q)(e),Se=p._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=e=>(Se=p._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=ee.R)(e),le=p._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=e=>(le=p._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=ee.S)(e),he=p._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=e=>(he=p._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=ee.T)(e),Ne=p._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=e=>(Ne=p._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=ee.U)(e),Me=p._emscripten_bind_PeDefs_get_PE_DD_MAX_0=e=>(Me=p._emscripten_bind_PeDefs_get_PE_DD_MAX_0=ee.V)(e),De=p._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=e=>(De=p._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=ee.W)(e),ve=p._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=e=>(ve=p._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=ee.X)(e),Ae=p._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=e=>(Ae=p._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=ee.Y)(e),je=p._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=e=>(je=p._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=ee.Z)(e),Re=p._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=e=>(Re=p._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=ee._)(e),Ge=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=e=>(Ge=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=ee.$)(e),Ce=p._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=e=>(Ce=p._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=ee.aa)(e),Ie=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=e=>(Ie=p._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=ee.ba)(e),Le=p._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=e=>(Le=p._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=ee.ca)(e),Ue=p._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=e=>(Ue=p._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=ee.da)(e),Fe=p._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=e=>(Fe=p._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=ee.ea)(e),we=p._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=e=>(we=p._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=ee.fa)(e),Ye=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=e=>(Ye=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=ee.ga)(e),xe=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=e=>(xe=p._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=ee.ha)(e),He=p._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=e=>(He=p._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=ee.ia)(e),Xe=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=e=>(Xe=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=ee.ja)(e),ze=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=e=>(ze=p._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=ee.ka)(e),We=p._emscripten_bind_PeDefs_get_PE_PARM_X0_0=e=>(We=p._emscripten_bind_PeDefs_get_PE_PARM_X0_0=ee.la)(e),Ze=p._emscripten_bind_PeDefs_get_PE_PARM_ND_0=e=>(Ze=p._emscripten_bind_PeDefs_get_PE_PARM_ND_0=ee.ma)(e),qe=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=e=>(qe=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=ee.na)(e),Be=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=e=>(Be=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=ee.oa)(e),Ke=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=e=>(Ke=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=ee.pa)(e),Ve=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=e=>(Ve=p._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=ee.qa)(e),ke=p._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=e=>(ke=p._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=ee.ra)(e),$e=p._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=e=>($e=p._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=ee.sa)(e),Je=p._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=e=>(Je=p._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=ee.ta)(e),Qe=p._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=e=>(Qe=p._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=ee.ua)(e),et=p._emscripten_bind_PeDouble_PeDouble_1=e=>(et=p._emscripten_bind_PeDouble_PeDouble_1=ee.va)(e),tt=p._emscripten_bind_PeDouble_get_val_0=e=>(tt=p._emscripten_bind_PeDouble_get_val_0=ee.wa)(e),_t=p._emscripten_bind_PeDouble_set_val_1=(e,t)=>(_t=p._emscripten_bind_PeDouble_set_val_1=ee.xa)(e,t),rt=p._emscripten_bind_PeDouble___destroy___0=e=>(rt=p._emscripten_bind_PeDouble___destroy___0=ee.ya)(e),ot=p._emscripten_bind_PeFactory_initialize_1=e=>(ot=p._emscripten_bind_PeFactory_initialize_1=ee.za)(e),nt=p._emscripten_bind_PeFactory_factoryByType_2=(e,t)=>(nt=p._emscripten_bind_PeFactory_factoryByType_2=ee.Aa)(e,t),pt=p._emscripten_bind_PeFactory_fromString_2=(e,t)=>(pt=p._emscripten_bind_PeFactory_fromString_2=ee.Ba)(e,t),it=p._emscripten_bind_PeFactory_getCode_1=e=>(it=p._emscripten_bind_PeFactory_getCode_1=ee.Ca)(e),ct=p._emscripten_bind_PeGCSExtent_PeGCSExtent_6=(e,t,_,r,o,n)=>(ct=p._emscripten_bind_PeGCSExtent_PeGCSExtent_6=ee.Da)(e,t,_,r,o,n),st=p._emscripten_bind_PeGCSExtent_getLLon_0=e=>(st=p._emscripten_bind_PeGCSExtent_getLLon_0=ee.Ea)(e),Pt=p._emscripten_bind_PeGCSExtent_getSLat_0=e=>(Pt=p._emscripten_bind_PeGCSExtent_getSLat_0=ee.Fa)(e),at=p._emscripten_bind_PeGCSExtent_getRLon_0=e=>(at=p._emscripten_bind_PeGCSExtent_getRLon_0=ee.Ga)(e),gt=p._emscripten_bind_PeGCSExtent_getNLat_0=e=>(gt=p._emscripten_bind_PeGCSExtent_getNLat_0=ee.Ha)(e),yt=p._emscripten_bind_PeGCSExtent___destroy___0=e=>(yt=p._emscripten_bind_PeGCSExtent___destroy___0=ee.Ia)(e),dt=p._emscripten_bind_PeGeogcs_Delete_0=e=>(dt=p._emscripten_bind_PeGeogcs_Delete_0=ee.Ja)(e),ut=p._emscripten_bind_PeGeogcs_cloneAlterUnits_1=(e,t)=>(ut=p._emscripten_bind_PeGeogcs_cloneAlterUnits_1=ee.Ka)(e,t),bt=p._emscripten_bind_PeGeogcs_getDatum_0=e=>(bt=p._emscripten_bind_PeGeogcs_getDatum_0=ee.La)(e),ft=p._emscripten_bind_PeGeogcs_getPrimem_0=e=>(ft=p._emscripten_bind_PeGeogcs_getPrimem_0=ee.Ma)(e),Et=p._emscripten_bind_PeGeogcs_getUnit_0=e=>(Et=p._emscripten_bind_PeGeogcs_getUnit_0=ee.Na)(e),mt=p._emscripten_bind_PeGeogcs_isEqual_1=(e,t)=>(mt=p._emscripten_bind_PeGeogcs_isEqual_1=ee.Oa)(e,t),Tt=p._emscripten_bind_PeGeogcs_getCode_0=e=>(Tt=p._emscripten_bind_PeGeogcs_getCode_0=ee.Pa)(e),Ot=p._emscripten_bind_PeGeogcs_getName_1=(e,t)=>(Ot=p._emscripten_bind_PeGeogcs_getName_1=ee.Qa)(e,t),St=p._emscripten_bind_PeGeogcs_getType_0=e=>(St=p._emscripten_bind_PeGeogcs_getType_0=ee.Ra)(e),lt=p._emscripten_bind_PeGeogtran_isEqual_1=(e,t)=>(lt=p._emscripten_bind_PeGeogtran_isEqual_1=ee.Sa)(e,t),ht=p._emscripten_bind_PeGeogtran_getGeogcs1_0=e=>(ht=p._emscripten_bind_PeGeogtran_getGeogcs1_0=ee.Ta)(e),Nt=p._emscripten_bind_PeGeogtran_getGeogcs2_0=e=>(Nt=p._emscripten_bind_PeGeogtran_getGeogcs2_0=ee.Ua)(e),Mt=p._emscripten_bind_PeGeogtran_getParameters_0=e=>(Mt=p._emscripten_bind_PeGeogtran_getParameters_0=ee.Va)(e),Dt=p._emscripten_bind_PeGeogtran_loadConstants_0=e=>(Dt=p._emscripten_bind_PeGeogtran_loadConstants_0=ee.Wa)(e),vt=p._emscripten_bind_PeGeogtran_getCode_0=e=>(vt=p._emscripten_bind_PeGeogtran_getCode_0=ee.Xa)(e),At=p._emscripten_bind_PeGeogtran_getName_1=(e,t)=>(At=p._emscripten_bind_PeGeogtran_getName_1=ee.Ya)(e,t),jt=p._emscripten_bind_PeGeogtran_getType_0=e=>(jt=p._emscripten_bind_PeGeogtran_getType_0=ee.Za)(e),Rt=p._emscripten_bind_PeGTlistExtended_getGTlist_6=(e,t,_,r,o,n)=>(Rt=p._emscripten_bind_PeGTlistExtended_getGTlist_6=ee._a)(e,t,_,r,o,n),Gt=p._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=e=>(Gt=p._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=ee.$a)(e),Ct=p._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=e=>(Ct=p._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=ee.ab)(e),It=p._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=e=>(It=p._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=ee.bb)(e),Lt=p._emscripten_bind_PeGTlistExtendedEntry_Delete_1=e=>(Lt=p._emscripten_bind_PeGTlistExtendedEntry_Delete_1=ee.cb)(e),Ut=p._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=e=>(Ut=p._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=ee.db)(e),Ft=p._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=e=>(Ft=p._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=ee.eb)(e),wt=p._emscripten_bind_PeHorizon_getNump_0=e=>(wt=p._emscripten_bind_PeHorizon_getNump_0=ee.fb)(e),Yt=p._emscripten_bind_PeHorizon_getKind_0=e=>(Yt=p._emscripten_bind_PeHorizon_getKind_0=ee.gb)(e),xt=p._emscripten_bind_PeHorizon_getInclusive_0=e=>(xt=p._emscripten_bind_PeHorizon_getInclusive_0=ee.hb)(e),Ht=p._emscripten_bind_PeHorizon_getSize_0=e=>(Ht=p._emscripten_bind_PeHorizon_getSize_0=ee.ib)(e),Xt=p._emscripten_bind_PeHorizon_getCoord_0=e=>(Xt=p._emscripten_bind_PeHorizon_getCoord_0=ee.jb)(e),zt=p._emscripten_bind_PeInteger_PeInteger_1=e=>(zt=p._emscripten_bind_PeInteger_PeInteger_1=ee.kb)(e),Wt=p._emscripten_bind_PeInteger_get_val_0=e=>(Wt=p._emscripten_bind_PeInteger_get_val_0=ee.lb)(e),Zt=p._emscripten_bind_PeInteger_set_val_1=(e,t)=>(Zt=p._emscripten_bind_PeInteger_set_val_1=ee.mb)(e,t),qt=p._emscripten_bind_PeInteger___destroy___0=e=>(qt=p._emscripten_bind_PeInteger___destroy___0=ee.nb)(e),Bt=p._emscripten_bind_PeLineType_geodetic_distance_10=(e,t,_,r,o,n,i,c,s,P)=>(Bt=p._emscripten_bind_PeLineType_geodetic_distance_10=ee.ob)(e,t,_,r,o,n,i,c,s,P),Kt=p._emscripten_bind_PeLineType_geodetic_coordinate_9=(e,t,_,r,o,n,i,c,s)=>(Kt=p._emscripten_bind_PeLineType_geodetic_coordinate_9=ee.pb)(e,t,_,r,o,n,i,c,s),Vt=p._emscripten_bind_PeLineType_geodesic_coordinate_8=(e,t,_,r,o,n,i,c)=>(Vt=p._emscripten_bind_PeLineType_geodesic_coordinate_8=ee.qb)(e,t,_,r,o,n,i,c),kt=p._emscripten_bind_PeLineType_great_elliptic_distance_9=(e,t,_,r,o,n,i,c,s)=>(kt=p._emscripten_bind_PeLineType_great_elliptic_distance_9=ee.rb)(e,t,_,r,o,n,i,c,s),$t=p._emscripten_bind_PeMath_phi_to_eta_2=(e,t)=>($t=p._emscripten_bind_PeMath_phi_to_eta_2=ee.sb)(e,t),Jt=p._emscripten_bind_PeMath_eta_to_phi_2=(e,t)=>(Jt=p._emscripten_bind_PeMath_eta_to_phi_2=ee.tb)(e,t),Qt=p._emscripten_bind_PeMath_phi_to_phig_2=(e,t)=>(Qt=p._emscripten_bind_PeMath_phi_to_phig_2=ee.ub)(e,t),e_=p._emscripten_bind_PeMath_q_3=(e,t,_)=>(e_=p._emscripten_bind_PeMath_q_3=ee.vb)(e,t,_),t_=p._emscripten_bind_PeMath_q90_2=(e,t)=>(t_=p._emscripten_bind_PeMath_q90_2=ee.wb)(e,t),__=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=e=>(__=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=ee.xb)(e),r_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=e=>(r_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=ee.yb)(e),o_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=e=>(o_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=ee.zb)(e),n_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=e=>(n_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=ee.Ab)(e),p_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=e=>(p_=p._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=ee.Bb)(e),i_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=e=>(i_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=ee.Cb)(e),c_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=e=>(c_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=ee.Db)(e),s_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=e=>(s_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=ee.Eb)(e),P_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=e=>(P_=p._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=ee.Fb)(e),a_=p._emscripten_bind_PeParameter_getValue_0=e=>(a_=p._emscripten_bind_PeParameter_getValue_0=ee.Gb)(e),g_=p._emscripten_bind_PeParameter_getCode_0=e=>(g_=p._emscripten_bind_PeParameter_getCode_0=ee.Hb)(e),y_=p._emscripten_bind_PeParameter_getName_1=(e,t)=>(y_=p._emscripten_bind_PeParameter_getName_1=ee.Ib)(e,t),d_=p._emscripten_bind_PeParameter_getType_0=e=>(d_=p._emscripten_bind_PeParameter_getType_0=ee.Jb)(e),u_=p._emscripten_bind_PePCSInfo_getCentralMeridian_0=e=>(u_=p._emscripten_bind_PePCSInfo_getCentralMeridian_0=ee.Kb)(e),b_=p._emscripten_bind_PePCSInfo_getDomainMinx_0=e=>(b_=p._emscripten_bind_PePCSInfo_getDomainMinx_0=ee.Lb)(e),f_=p._emscripten_bind_PePCSInfo_getDomainMiny_0=e=>(f_=p._emscripten_bind_PePCSInfo_getDomainMiny_0=ee.Mb)(e),E_=p._emscripten_bind_PePCSInfo_getDomainMaxx_0=e=>(E_=p._emscripten_bind_PePCSInfo_getDomainMaxx_0=ee.Nb)(e),m_=p._emscripten_bind_PePCSInfo_getDomainMaxy_0=e=>(m_=p._emscripten_bind_PePCSInfo_getDomainMaxy_0=ee.Ob)(e),T_=p._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=e=>(T_=p._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=ee.Pb)(e),O_=p._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=e=>(O_=p._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=ee.Qb)(e),S_=p._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=e=>(S_=p._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=ee.Rb)(e),l_=p._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=e=>(l_=p._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=ee.Sb)(e),h_=p._emscripten_bind_PePCSInfo_isDensificationNeeded_0=e=>(h_=p._emscripten_bind_PePCSInfo_isDensificationNeeded_0=ee.Tb)(e),N_=p._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=e=>(N_=p._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=ee.Ub)(e),M_=p._emscripten_bind_PePCSInfo_isPannableRectangle_0=e=>(M_=p._emscripten_bind_PePCSInfo_isPannableRectangle_0=ee.Vb)(e),D_=p._emscripten_bind_PePCSInfo_generate_2=(e,t)=>(D_=p._emscripten_bind_PePCSInfo_generate_2=ee.Wb)(e,t),v_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=e=>(v_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=ee.Xb)(e),A_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=e=>(A_=p._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=ee.Yb)(e),j_=p._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=e=>(j_=p._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=ee.Zb)(e),R_=p._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=e=>(R_=p._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=ee._b)(e),G_=p._emscripten_bind_PePrimem_getLongitude_0=e=>(G_=p._emscripten_bind_PePrimem_getLongitude_0=ee.$b)(e),C_=p._emscripten_bind_PePrimem_getCode_0=e=>(C_=p._emscripten_bind_PePrimem_getCode_0=ee.ac)(e),I_=p._emscripten_bind_PePrimem_getName_1=(e,t)=>(I_=p._emscripten_bind_PePrimem_getName_1=ee.bc)(e,t),L_=p._emscripten_bind_PePrimem_getType_0=e=>(L_=p._emscripten_bind_PePrimem_getType_0=ee.cc)(e),U_=p._emscripten_bind_PeProjcs_Delete_0=e=>(U_=p._emscripten_bind_PeProjcs_Delete_0=ee.dc)(e),F_=p._emscripten_bind_PeProjcs_getGeogcs_0=e=>(F_=p._emscripten_bind_PeProjcs_getGeogcs_0=ee.ec)(e),w_=p._emscripten_bind_PeProjcs_getProjection_0=e=>(w_=p._emscripten_bind_PeProjcs_getProjection_0=ee.fc)(e),Y_=p._emscripten_bind_PeProjcs_getParameters_0=e=>(Y_=p._emscripten_bind_PeProjcs_getParameters_0=ee.gc)(e),x_=p._emscripten_bind_PeProjcs_getUnit_0=e=>(x_=p._emscripten_bind_PeProjcs_getUnit_0=ee.hc)(e),H_=p._emscripten_bind_PeProjcs_loadConstants_0=e=>(H_=p._emscripten_bind_PeProjcs_loadConstants_0=ee.ic)(e),X_=p._emscripten_bind_PeProjcs_horizonGcsGenerate_0=e=>(X_=p._emscripten_bind_PeProjcs_horizonGcsGenerate_0=ee.jc)(e),z_=p._emscripten_bind_PeProjcs_horizonPcsGenerate_0=e=>(z_=p._emscripten_bind_PeProjcs_horizonPcsGenerate_0=ee.kc)(e),W_=p._emscripten_bind_PeProjcs_isEqual_1=(e,t)=>(W_=p._emscripten_bind_PeProjcs_isEqual_1=ee.lc)(e,t),Z_=p._emscripten_bind_PeProjcs_getCode_0=e=>(Z_=p._emscripten_bind_PeProjcs_getCode_0=ee.mc)(e),q_=p._emscripten_bind_PeProjcs_getName_1=(e,t)=>(q_=p._emscripten_bind_PeProjcs_getName_1=ee.nc)(e,t),B_=p._emscripten_bind_PeProjcs_getType_0=e=>(B_=p._emscripten_bind_PeProjcs_getType_0=ee.oc)(e),K_=p._emscripten_bind_PeSpheroid_getAxis_0=e=>(K_=p._emscripten_bind_PeSpheroid_getAxis_0=ee.pc)(e),V_=p._emscripten_bind_PeSpheroid_getFlattening_0=e=>(V_=p._emscripten_bind_PeSpheroid_getFlattening_0=ee.qc)(e),k_=p._emscripten_bind_PeSpheroid_getCode_0=e=>(k_=p._emscripten_bind_PeSpheroid_getCode_0=ee.rc)(e),$_=p._emscripten_bind_PeSpheroid_getName_1=(e,t)=>($_=p._emscripten_bind_PeSpheroid_getName_1=ee.sc)(e,t),J_=p._emscripten_bind_PeSpheroid_getType_0=e=>(J_=p._emscripten_bind_PeSpheroid_getType_0=ee.tc)(e),Q_=p._emscripten_bind_PeVersion_version_string_0=e=>(Q_=p._emscripten_bind_PeVersion_version_string_0=ee.uc)(e);function er(){G>0||(Y(A),G>0||te||(te=!0,p.calledRun=!0,M||(Y(j),_(p),Y(R))))}function tr(){}function _r(e){return(e||tr).__cache__}function rr(e,t){var _=_r(t),r=_[e];return r||((r=Object.create((t||tr).prototype)).ptr=e,_[e]=r)}p._pe_getPeGTlistExtendedEntrySize=()=>(p._pe_getPeGTlistExtendedEntrySize=ee.vc)(),p._pe_getPeGTlistExtendedGTsSize=()=>(p._pe_getPeGTlistExtendedGTsSize=ee.wc)(),p._pe_getPeHorizonSize=()=>(p._pe_getPeHorizonSize=ee.xc)(),p._pe_geog_to_geog=(e,t,_,r,o)=>(p._pe_geog_to_geog=ee.zc)(e,t,_,r,o),p._pe_geog_to_proj=(e,t,_)=>(p._pe_geog_to_proj=ee.Ac)(e,t,_),p._pe_geog_to_dd=(e,t,_,r,o)=>(p._pe_geog_to_dd=ee.Bc)(e,t,_,r,o),p._pe_dd_to_geog=(e,t,_,r)=>(p._pe_dd_to_geog=ee.Cc)(e,t,_,r),p._pe_geog_to_ddm=(e,t,_,r,o)=>(p._pe_geog_to_ddm=ee.Dc)(e,t,_,r,o),p._pe_ddm_to_geog=(e,t,_,r)=>(p._pe_ddm_to_geog=ee.Ec)(e,t,_,r),p._pe_geog_to_dms=(e,t,_,r,o)=>(p._pe_geog_to_dms=ee.Fc)(e,t,_,r,o),p._pe_dms_to_geog=(e,t,_,r)=>(p._pe_dms_to_geog=ee.Gc)(e,t,_,r),p._pe_geog_to_mgrs_extended=(e,t,_,r,o,n,i)=>(p._pe_geog_to_mgrs_extended=ee.Hc)(e,t,_,r,o,n,i),p._pe_mgrs_to_geog_extended=(e,t,_,r,o)=>(p._pe_mgrs_to_geog_extended=ee.Ic)(e,t,_,r,o),p._pe_geog_to_usng=(e,t,_,r,o,n,i)=>(p._pe_geog_to_usng=ee.Jc)(e,t,_,r,o,n,i),p._pe_usng_to_geog=(e,t,_,r)=>(p._pe_usng_to_geog=ee.Kc)(e,t,_,r),p._pe_geog_to_utm=(e,t,_,r,o)=>(p._pe_geog_to_utm=ee.Lc)(e,t,_,r,o),p._pe_utm_to_geog=(e,t,_,r,o)=>(p._pe_utm_to_geog=ee.Mc)(e,t,_,r,o),p._pe_object_to_string_ext=(e,t,_)=>(p._pe_object_to_string_ext=ee.Nc)(e,t,_),p._pe_proj_to_geog_center=(e,t,_,r)=>(p._pe_proj_to_geog_center=ee.Oc)(e,t,_,r),p.getValue=function(e,t="i8"){switch(t.endsWith("*")&&(t="*"),t){case"i1":case"i8":return m[e];case"i16":return O[e>>1];case"i32":return S[e>>2];case"i64":I("to do getValue(i64) use WASM_BIGINT");case"float":return h[e>>2];case"double":return N[e>>3];case"*":return l[e>>2];default:I(`invalid type for getValue: ${t}`)}},p.UTF8ToString=X,C=function e(){te||er(),te||(C=e)},er(),tr.prototype=Object.create(tr.prototype),tr.prototype.constructor=tr,tr.prototype.__class__=tr,tr.__cache__={},p.WrapperObject=tr,p.getCache=_r,p.wrapPointer=rr,p.castObject=function(e,t){return rr(e.ptr,t)},p.NULL=rr(0),p.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete _r(e.__class__)[e.ptr]},p.compare=function(e,t){return e.ptr===t.ptr},p.getPointer=function(e){return e.ptr},p.getClass=function(e){return e.__class__};var or={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(or.needed){for(var e=0;e<or.temps.length;e++)p._webidl_free(or.temps[e]);or.temps.length=0,p._webidl_free(or.buffer),or.buffer=0,or.size+=or.needed,or.needed=0}or.buffer||(or.size+=128,or.buffer=p._webidl_malloc(or.size),D(or.buffer)),or.pos=0},alloc(e,t){D(or.buffer);var _,r=t.BYTES_PER_ELEMENT,o=e.length*r;return o=B(o,8),or.pos+o>=or.size?(D(o>0),or.needed+=o,_=p._webidl_malloc(o),or.temps.push(_)):(_=or.buffer+or.pos,or.pos+=o),_},copy(e,t,_){_/=t.BYTES_PER_ELEMENT;for(var r=0;r<e.length;r++)t[_+r]=e[r]}};function nr(e){if("string"==typeof e){var t=function(e){var t=(e=>{for(var t=0,_=0;_<e.length;++_){var r=e.charCodeAt(_);r<=127?t++:r<=2047?t+=2:r>=55296&&r<=57343?(t+=4,++_):t+=3}return t})(e)+1,_=new Array(t);return z(e,_,0,_.length),_}(e),_=or.alloc(t,m);return or.copy(t,m,_),_}return e}function pr(e){if("object"==typeof e){var t=or.alloc(e,m);return or.copy(e,m,t),t}return e}function ir(){throw"cannot construct a PeObject, no constructor in IDL"}function cr(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function sr(){throw"cannot construct a PeUnit, no constructor in IDL"}function Pr(){throw"cannot construct a VoidPtr, no constructor in IDL"}function ar(){throw"cannot construct a PeAngunit, no constructor in IDL"}function gr(){throw"cannot construct a PeDatum, no constructor in IDL"}function yr(){throw"cannot construct a PeDefs, no constructor in IDL"}function dr(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=et(e),_r(dr)[this.ptr]=this}function ur(){throw"cannot construct a PeFactory, no constructor in IDL"}function br(e,t,_,r,o,n){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),this.ptr=ct(e,t,_,r,o,n),_r(br)[this.ptr]=this}function fr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function Er(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function mr(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function Tr(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function Or(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function Sr(){throw"cannot construct a PeHorizon, no constructor in IDL"}function lr(e){e&&"object"==typeof e&&(e=e.ptr),this.ptr=zt(e),_r(lr)[this.ptr]=this}function hr(){throw"cannot construct a PeLineType, no constructor in IDL"}function Nr(){throw"cannot construct a PeMath, no constructor in IDL"}function Mr(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function Dr(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function vr(){throw"cannot construct a PeParameter, no constructor in IDL"}function Ar(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function jr(){throw"cannot construct a PePrimem, no constructor in IDL"}function Rr(){throw"cannot construct a PeProjcs, no constructor in IDL"}function Gr(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function Cr(){throw"cannot construct a PeVersion, no constructor in IDL"}return ir.prototype=Object.create(tr.prototype),ir.prototype.constructor=ir,ir.prototype.__class__=ir,ir.__cache__={},p.PeObject=ir,ir.prototype.getCode=ir.prototype.getCode=function(){var e=this.ptr;return _e(e)},ir.prototype.getName=ir.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(re(t,e))},ir.prototype.getType=ir.prototype.getType=function(){var e=this.ptr;return oe(e)},cr.prototype=Object.create(ir.prototype),cr.prototype.constructor=cr,cr.prototype.__class__=cr,cr.__cache__={},p.PeCoordsys=cr,cr.prototype.isEqual=cr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!ne(t,e)},cr.prototype.getCode=cr.prototype.getCode=function(){var e=this.ptr;return pe(e)},cr.prototype.getName=cr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ie(t,e))},cr.prototype.getType=cr.prototype.getType=function(){var e=this.ptr;return ce(e)},sr.prototype=Object.create(ir.prototype),sr.prototype.constructor=sr,sr.prototype.__class__=sr,sr.__cache__={},p.PeUnit=sr,sr.prototype.getUnitFactor=sr.prototype.getUnitFactor=function(){var e=this.ptr;return se(e)},sr.prototype.getCode=sr.prototype.getCode=function(){var e=this.ptr;return Pe(e)},sr.prototype.getName=sr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ae(t,e))},sr.prototype.getType=sr.prototype.getType=function(){var e=this.ptr;return ge(e)},Pr.prototype=Object.create(tr.prototype),Pr.prototype.constructor=Pr,Pr.prototype.__class__=Pr,Pr.__cache__={},p.VoidPtr=Pr,Pr.prototype.__destroy__=Pr.prototype.__destroy__=function(){var e=this.ptr;ye(e)},ar.prototype=Object.create(sr.prototype),ar.prototype.constructor=ar,ar.prototype.__class__=ar,ar.__cache__={},p.PeAngunit=ar,ar.prototype.getCode=ar.prototype.getCode=function(){var e=this.ptr;return de(e)},ar.prototype.getName=ar.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(ue(t,e))},ar.prototype.getType=ar.prototype.getType=function(){var e=this.ptr;return be(e)},ar.prototype.getUnitFactor=ar.prototype.getUnitFactor=function(){var e=this.ptr;return fe(e)},gr.prototype=Object.create(ir.prototype),gr.prototype.constructor=gr,gr.prototype.__class__=gr,gr.__cache__={},p.PeDatum=gr,gr.prototype.getSpheroid=gr.prototype.getSpheroid=function(){var e=this.ptr;return rr(Ee(e),Gr)},gr.prototype.getCode=gr.prototype.getCode=function(){var e=this.ptr;return me(e)},gr.prototype.getName=gr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(Te(t,e))},gr.prototype.getType=gr.prototype.getType=function(){var e=this.ptr;return Oe(e)},yr.prototype=Object.create(tr.prototype),yr.prototype.constructor=yr,yr.prototype.__class__=yr,yr.__cache__={},p.PeDefs=yr,yr.prototype.get_PE_BUFFER_MAX=yr.prototype.get_PE_BUFFER_MAX=function(){var e=this.ptr;return Se(e)},Object.defineProperty(yr.prototype,"PE_BUFFER_MAX",{get:yr.prototype.get_PE_BUFFER_MAX}),yr.prototype.get_PE_NAME_MAX=yr.prototype.get_PE_NAME_MAX=function(){var e=this.ptr;return le(e)},Object.defineProperty(yr.prototype,"PE_NAME_MAX",{get:yr.prototype.get_PE_NAME_MAX}),yr.prototype.get_PE_MGRS_MAX=yr.prototype.get_PE_MGRS_MAX=function(){var e=this.ptr;return he(e)},Object.defineProperty(yr.prototype,"PE_MGRS_MAX",{get:yr.prototype.get_PE_MGRS_MAX}),yr.prototype.get_PE_USNG_MAX=yr.prototype.get_PE_USNG_MAX=function(){var e=this.ptr;return Ne(e)},Object.defineProperty(yr.prototype,"PE_USNG_MAX",{get:yr.prototype.get_PE_USNG_MAX}),yr.prototype.get_PE_DD_MAX=yr.prototype.get_PE_DD_MAX=function(){var e=this.ptr;return Me(e)},Object.defineProperty(yr.prototype,"PE_DD_MAX",{get:yr.prototype.get_PE_DD_MAX}),yr.prototype.get_PE_DMS_MAX=yr.prototype.get_PE_DMS_MAX=function(){var e=this.ptr;return De(e)},Object.defineProperty(yr.prototype,"PE_DMS_MAX",{get:yr.prototype.get_PE_DMS_MAX}),yr.prototype.get_PE_DDM_MAX=yr.prototype.get_PE_DDM_MAX=function(){var e=this.ptr;return ve(e)},Object.defineProperty(yr.prototype,"PE_DDM_MAX",{get:yr.prototype.get_PE_DDM_MAX}),yr.prototype.get_PE_UTM_MAX=yr.prototype.get_PE_UTM_MAX=function(){var e=this.ptr;return Ae(e)},Object.defineProperty(yr.prototype,"PE_UTM_MAX",{get:yr.prototype.get_PE_UTM_MAX}),yr.prototype.get_PE_PARM_MAX=yr.prototype.get_PE_PARM_MAX=function(){var e=this.ptr;return je(e)},Object.defineProperty(yr.prototype,"PE_PARM_MAX",{get:yr.prototype.get_PE_PARM_MAX}),yr.prototype.get_PE_TYPE_NONE=yr.prototype.get_PE_TYPE_NONE=function(){var e=this.ptr;return Re(e)},Object.defineProperty(yr.prototype,"PE_TYPE_NONE",{get:yr.prototype.get_PE_TYPE_NONE}),yr.prototype.get_PE_TYPE_GEOGCS=yr.prototype.get_PE_TYPE_GEOGCS=function(){var e=this.ptr;return Ge(e)},Object.defineProperty(yr.prototype,"PE_TYPE_GEOGCS",{get:yr.prototype.get_PE_TYPE_GEOGCS}),yr.prototype.get_PE_TYPE_PROJCS=yr.prototype.get_PE_TYPE_PROJCS=function(){var e=this.ptr;return Ce(e)},Object.defineProperty(yr.prototype,"PE_TYPE_PROJCS",{get:yr.prototype.get_PE_TYPE_PROJCS}),yr.prototype.get_PE_TYPE_GEOGTRAN=yr.prototype.get_PE_TYPE_GEOGTRAN=function(){var e=this.ptr;return Ie(e)},Object.defineProperty(yr.prototype,"PE_TYPE_GEOGTRAN",{get:yr.prototype.get_PE_TYPE_GEOGTRAN}),yr.prototype.get_PE_TYPE_COORDSYS=yr.prototype.get_PE_TYPE_COORDSYS=function(){var e=this.ptr;return Le(e)},Object.defineProperty(yr.prototype,"PE_TYPE_COORDSYS",{get:yr.prototype.get_PE_TYPE_COORDSYS}),yr.prototype.get_PE_TYPE_UNIT=yr.prototype.get_PE_TYPE_UNIT=function(){var e=this.ptr;return Ue(e)},Object.defineProperty(yr.prototype,"PE_TYPE_UNIT",{get:yr.prototype.get_PE_TYPE_UNIT}),yr.prototype.get_PE_TYPE_LINUNIT=yr.prototype.get_PE_TYPE_LINUNIT=function(){var e=this.ptr;return Fe(e)},Object.defineProperty(yr.prototype,"PE_TYPE_LINUNIT",{get:yr.prototype.get_PE_TYPE_LINUNIT}),yr.prototype.get_PE_STR_OPTS_NONE=yr.prototype.get_PE_STR_OPTS_NONE=function(){var e=this.ptr;return we(e)},Object.defineProperty(yr.prototype,"PE_STR_OPTS_NONE",{get:yr.prototype.get_PE_STR_OPTS_NONE}),yr.prototype.get_PE_STR_AUTH_NONE=yr.prototype.get_PE_STR_AUTH_NONE=function(){var e=this.ptr;return Ye(e)},Object.defineProperty(yr.prototype,"PE_STR_AUTH_NONE",{get:yr.prototype.get_PE_STR_AUTH_NONE}),yr.prototype.get_PE_STR_AUTH_TOP=yr.prototype.get_PE_STR_AUTH_TOP=function(){var e=this.ptr;return xe(e)},Object.defineProperty(yr.prototype,"PE_STR_AUTH_TOP",{get:yr.prototype.get_PE_STR_AUTH_TOP}),yr.prototype.get_PE_STR_NAME_CANON=yr.prototype.get_PE_STR_NAME_CANON=function(){var e=this.ptr;return He(e)},Object.defineProperty(yr.prototype,"PE_STR_NAME_CANON",{get:yr.prototype.get_PE_STR_NAME_CANON}),yr.prototype.get_PE_STR_FMT_WKT=yr.prototype.get_PE_STR_FMT_WKT=function(){var e=this.ptr;return Xe(e)},Object.defineProperty(yr.prototype,"PE_STR_FMT_WKT",{get:yr.prototype.get_PE_STR_FMT_WKT}),yr.prototype.get_PE_STR_FMT_WKT2=yr.prototype.get_PE_STR_FMT_WKT2=function(){var e=this.ptr;return ze(e)},Object.defineProperty(yr.prototype,"PE_STR_FMT_WKT2",{get:yr.prototype.get_PE_STR_FMT_WKT2}),yr.prototype.get_PE_PARM_X0=yr.prototype.get_PE_PARM_X0=function(){var e=this.ptr;return We(e)},Object.defineProperty(yr.prototype,"PE_PARM_X0",{get:yr.prototype.get_PE_PARM_X0}),yr.prototype.get_PE_PARM_ND=yr.prototype.get_PE_PARM_ND=function(){var e=this.ptr;return Ze(e)},Object.defineProperty(yr.prototype,"PE_PARM_ND",{get:yr.prototype.get_PE_PARM_ND}),yr.prototype.get_PE_TRANSFORM_1_TO_2=yr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var e=this.ptr;return qe(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_1_TO_2",{get:yr.prototype.get_PE_TRANSFORM_1_TO_2}),yr.prototype.get_PE_TRANSFORM_2_TO_1=yr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var e=this.ptr;return Be(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_2_TO_1",{get:yr.prototype.get_PE_TRANSFORM_2_TO_1}),yr.prototype.get_PE_TRANSFORM_P_TO_G=yr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var e=this.ptr;return Ke(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_P_TO_G",{get:yr.prototype.get_PE_TRANSFORM_P_TO_G}),yr.prototype.get_PE_TRANSFORM_G_TO_P=yr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var e=this.ptr;return Ve(e)},Object.defineProperty(yr.prototype,"PE_TRANSFORM_G_TO_P",{get:yr.prototype.get_PE_TRANSFORM_G_TO_P}),yr.prototype.get_PE_HORIZON_RECT=yr.prototype.get_PE_HORIZON_RECT=function(){var e=this.ptr;return ke(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_RECT",{get:yr.prototype.get_PE_HORIZON_RECT}),yr.prototype.get_PE_HORIZON_POLY=yr.prototype.get_PE_HORIZON_POLY=function(){var e=this.ptr;return $e(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_POLY",{get:yr.prototype.get_PE_HORIZON_POLY}),yr.prototype.get_PE_HORIZON_LINE=yr.prototype.get_PE_HORIZON_LINE=function(){var e=this.ptr;return Je(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_LINE",{get:yr.prototype.get_PE_HORIZON_LINE}),yr.prototype.get_PE_HORIZON_DELTA=yr.prototype.get_PE_HORIZON_DELTA=function(){var e=this.ptr;return Qe(e)},Object.defineProperty(yr.prototype,"PE_HORIZON_DELTA",{get:yr.prototype.get_PE_HORIZON_DELTA}),dr.prototype=Object.create(tr.prototype),dr.prototype.constructor=dr,dr.prototype.__class__=dr,dr.__cache__={},p.PeDouble=dr,dr.prototype.get_val=dr.prototype.get_val=function(){var e=this.ptr;return tt(e)},dr.prototype.set_val=dr.prototype.set_val=function(e){var t=this.ptr;e&&"object"==typeof e&&(e=e.ptr),_t(t,e)},Object.defineProperty(dr.prototype,"val",{get:dr.prototype.get_val,set:dr.prototype.set_val}),dr.prototype.__destroy__=dr.prototype.__destroy__=function(){var e=this.ptr;rt(e)},ur.prototype=Object.create(tr.prototype),ur.prototype.constructor=ur,ur.prototype.__class__=ur,ur.__cache__={},p.PeFactory=ur,ur.prototype.initialize=ur.prototype.initialize=function(e){or.prepare(),e=e&&"object"==typeof e?e.ptr:nr(e),ot(e)},ur.prototype.factoryByType=ur.prototype.factoryByType=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),rr(nt(e,t),ir)},ur.prototype.fromString=ur.prototype.fromString=function(e,t){return or.prepare(),e&&"object"==typeof e&&(e=e.ptr),t=t&&"object"==typeof t?t.ptr:nr(t),rr(pt(e,t),ir)},ur.prototype.getCode=ur.prototype.getCode=function(e){return e&&"object"==typeof e&&(e=e.ptr),it(e)},br.prototype=Object.create(tr.prototype),br.prototype.constructor=br,br.prototype.__class__=br,br.__cache__={},p.PeGCSExtent=br,br.prototype.getLLon=br.prototype.getLLon=function(){var e=this.ptr;return st(e)},br.prototype.getSLat=br.prototype.getSLat=function(){var e=this.ptr;return Pt(e)},br.prototype.getRLon=br.prototype.getRLon=function(){var e=this.ptr;return at(e)},br.prototype.getNLat=br.prototype.getNLat=function(){var e=this.ptr;return gt(e)},br.prototype.__destroy__=br.prototype.__destroy__=function(){var e=this.ptr;yt(e)},fr.prototype=Object.create(cr.prototype),fr.prototype.constructor=fr,fr.prototype.__class__=fr,fr.__cache__={},p.PeGeogcs=fr,fr.prototype.Delete=fr.prototype.Delete=function(){var e=this.ptr;dt(e)},fr.prototype.cloneAlterUnits=fr.prototype.cloneAlterUnits=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),rr(ut(t,e),fr)},fr.prototype.getDatum=fr.prototype.getDatum=function(){var e=this.ptr;return rr(bt(e),gr)},fr.prototype.getPrimem=fr.prototype.getPrimem=function(){var e=this.ptr;return rr(ft(e),jr)},fr.prototype.getUnit=fr.prototype.getUnit=function(){var e=this.ptr;return rr(Et(e),ar)},fr.prototype.isEqual=fr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!mt(t,e)},fr.prototype.getCode=fr.prototype.getCode=function(){var e=this.ptr;return Tt(e)},fr.prototype.getName=fr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(Ot(t,e))},fr.prototype.getType=fr.prototype.getType=function(){var e=this.ptr;return St(e)},Er.prototype=Object.create(ir.prototype),Er.prototype.constructor=Er,Er.prototype.__class__=Er,Er.__cache__={},p.PeGeogtran=Er,Er.prototype.isEqual=Er.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!lt(t,e)},Er.prototype.getGeogcs1=Er.prototype.getGeogcs1=function(){var e=this.ptr;return rr(ht(e),fr)},Er.prototype.getGeogcs2=Er.prototype.getGeogcs2=function(){var e=this.ptr;return rr(Nt(e),fr)},Er.prototype.getParameters=Er.prototype.getParameters=function(){var e=this.ptr;return Mt(e)},Er.prototype.loadConstants=Er.prototype.loadConstants=function(){var e=this.ptr;return!!Dt(e)},Er.prototype.getCode=Er.prototype.getCode=function(){var e=this.ptr;return vt(e)},Er.prototype.getName=Er.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(At(t,e))},Er.prototype.getType=Er.prototype.getType=function(){var e=this.ptr;return jt(e)},mr.prototype=Object.create(tr.prototype),mr.prototype.constructor=mr,mr.prototype.__class__=mr,mr.__cache__={},p.PeGTlistExtended=mr,mr.prototype.getGTlist=mr.prototype.getGTlist=function(e,t,_,r,o,n){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),rr(Rt(e,t,_,r,o,n),Tr)},mr.prototype.get_PE_GTLIST_OPTS_COMMON=mr.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var e=this.ptr;return Gt(e)},Object.defineProperty(mr.prototype,"PE_GTLIST_OPTS_COMMON",{get:mr.prototype.get_PE_GTLIST_OPTS_COMMON}),Tr.prototype=Object.create(tr.prototype),Tr.prototype.constructor=Tr,Tr.prototype.__class__=Tr,Tr.__cache__={},p.PeGTlistExtendedEntry=Tr,Tr.prototype.getEntries=Tr.prototype.getEntries=function(){var e=this.ptr;return rr(Ct(e),Or)},Tr.prototype.getSteps=Tr.prototype.getSteps=function(){var e=this.ptr;return It(e)},Tr.prototype.Delete=Tr.prototype.Delete=function(e){e&&"object"==typeof e&&(e=e.ptr),Lt(e)},Or.prototype=Object.create(tr.prototype),Or.prototype.constructor=Or,Or.prototype.__class__=Or,Or.__cache__={},p.PeGTlistExtendedGTs=Or,Or.prototype.getDirection=Or.prototype.getDirection=function(){var e=this.ptr;return Ut(e)},Or.prototype.getGeogtran=Or.prototype.getGeogtran=function(){var e=this.ptr;return rr(Ft(e),Er)},Sr.prototype=Object.create(tr.prototype),Sr.prototype.constructor=Sr,Sr.prototype.__class__=Sr,Sr.__cache__={},p.PeHorizon=Sr,Sr.prototype.getNump=Sr.prototype.getNump=function(){var e=this.ptr;return wt(e)},Sr.prototype.getKind=Sr.prototype.getKind=function(){var e=this.ptr;return Yt(e)},Sr.prototype.getInclusive=Sr.prototype.getInclusive=function(){var e=this.ptr;return xt(e)},Sr.prototype.getSize=Sr.prototype.getSize=function(){var e=this.ptr;return Ht(e)},Sr.prototype.getCoord=Sr.prototype.getCoord=function(){var e=this.ptr;return Xt(e)},lr.prototype=Object.create(tr.prototype),lr.prototype.constructor=lr,lr.prototype.__class__=lr,lr.__cache__={},p.PeInteger=lr,lr.prototype.get_val=lr.prototype.get_val=function(){var e=this.ptr;return Wt(e)},lr.prototype.set_val=lr.prototype.set_val=function(e){var t=this.ptr;e&&"object"==typeof e&&(e=e.ptr),Zt(t,e)},Object.defineProperty(lr.prototype,"val",{get:lr.prototype.get_val,set:lr.prototype.set_val}),lr.prototype.__destroy__=lr.prototype.__destroy__=function(){var e=this.ptr;qt(e)},hr.prototype=Object.create(tr.prototype),hr.prototype.constructor=hr,hr.prototype.__class__=hr,hr.__cache__={},p.PeLineType=hr,hr.prototype.geodetic_distance=hr.prototype.geodetic_distance=function(e,t,_,r,o,n,p,i,c,s){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),s&&"object"==typeof s&&(s=s.ptr),Bt(e,t,_,r,o,n,p,i,c,s)},hr.prototype.geodetic_coordinate=hr.prototype.geodetic_coordinate=function(e,t,_,r,o,n,p,i,c){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),Kt(e,t,_,r,o,n,p,i,c)},hr.prototype.geodesic_coordinate=hr.prototype.geodesic_coordinate=function(e,t,_,r,o,n,p,i){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),Vt(e,t,_,r,o,n,p,i)},hr.prototype.great_elliptic_distance=hr.prototype.great_elliptic_distance=function(e,t,_,r,o,n,p,i,c){e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),r&&"object"==typeof r&&(r=r.ptr),o&&"object"==typeof o&&(o=o.ptr),n&&"object"==typeof n&&(n=n.ptr),p&&"object"==typeof p&&(p=p.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),kt(e,t,_,r,o,n,p,i,c)},Nr.prototype=Object.create(tr.prototype),Nr.prototype.constructor=Nr,Nr.prototype.__class__=Nr,Nr.__cache__={},p.PeMath=Nr,Nr.prototype.phi_to_eta=Nr.prototype.phi_to_eta=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),$t(e,t)},Nr.prototype.eta_to_phi=Nr.prototype.eta_to_phi=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),Jt(e,t)},Nr.prototype.phi_to_phig=Nr.prototype.phi_to_phig=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),Qt(e,t)},Nr.prototype.q=Nr.prototype.q=function(e,t,_){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),_&&"object"==typeof _&&(_=_.ptr),e_(e,t,_)},Nr.prototype.q90=Nr.prototype.q90=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),t_(e,t)},Mr.prototype=Object.create(tr.prototype),Mr.prototype.constructor=Mr,Mr.prototype.__class__=Mr,Mr.__cache__={},p.PeNotationMgrs=Mr,Mr.prototype.get_PE_MGRS_STYLE_NEW=Mr.prototype.get_PE_MGRS_STYLE_NEW=function(){var e=this.ptr;return __(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_NEW",{get:Mr.prototype.get_PE_MGRS_STYLE_NEW}),Mr.prototype.get_PE_MGRS_STYLE_OLD=Mr.prototype.get_PE_MGRS_STYLE_OLD=function(){var e=this.ptr;return r_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_OLD",{get:Mr.prototype.get_PE_MGRS_STYLE_OLD}),Mr.prototype.get_PE_MGRS_STYLE_AUTO=Mr.prototype.get_PE_MGRS_STYLE_AUTO=function(){var e=this.ptr;return o_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_STYLE_AUTO",{get:Mr.prototype.get_PE_MGRS_STYLE_AUTO}),Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var e=this.ptr;return n_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:Mr.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),Mr.prototype.get_PE_MGRS_ADD_SPACES=Mr.prototype.get_PE_MGRS_ADD_SPACES=function(){var e=this.ptr;return p_(e)},Object.defineProperty(Mr.prototype,"PE_MGRS_ADD_SPACES",{get:Mr.prototype.get_PE_MGRS_ADD_SPACES}),Dr.prototype=Object.create(tr.prototype),Dr.prototype.constructor=Dr,Dr.prototype.__class__=Dr,Dr.__cache__={},p.PeNotationUtm=Dr,Dr.prototype.get_PE_UTM_OPTS_NONE=Dr.prototype.get_PE_UTM_OPTS_NONE=function(){var e=this.ptr;return i_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NONE",{get:Dr.prototype.get_PE_UTM_OPTS_NONE}),Dr.prototype.get_PE_UTM_OPTS_NS=Dr.prototype.get_PE_UTM_OPTS_NS=function(){var e=this.ptr;return c_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NS",{get:Dr.prototype.get_PE_UTM_OPTS_NS}),Dr.prototype.get_PE_UTM_OPTS_NS_STRICT=Dr.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var e=this.ptr;return s_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_NS_STRICT",{get:Dr.prototype.get_PE_UTM_OPTS_NS_STRICT}),Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES=Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var e=this.ptr;return P_(e)},Object.defineProperty(Dr.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:Dr.prototype.get_PE_UTM_OPTS_ADD_SPACES}),vr.prototype=Object.create(ir.prototype),vr.prototype.constructor=vr,vr.prototype.__class__=vr,vr.__cache__={},p.PeParameter=vr,vr.prototype.getValue=vr.prototype.getValue=function(){var e=this.ptr;return a_(e)},vr.prototype.getCode=vr.prototype.getCode=function(){var e=this.ptr;return g_(e)},vr.prototype.getName=vr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(y_(t,e))},vr.prototype.getType=vr.prototype.getType=function(){var e=this.ptr;return d_(e)},Ar.prototype=Object.create(tr.prototype),Ar.prototype.constructor=Ar,Ar.prototype.__class__=Ar,Ar.__cache__={},p.PePCSInfo=Ar,Ar.prototype.getCentralMeridian=Ar.prototype.getCentralMeridian=function(){var e=this.ptr;return u_(e)},Ar.prototype.getDomainMinx=Ar.prototype.getDomainMinx=function(){var e=this.ptr;return b_(e)},Ar.prototype.getDomainMiny=Ar.prototype.getDomainMiny=function(){var e=this.ptr;return f_(e)},Ar.prototype.getDomainMaxx=Ar.prototype.getDomainMaxx=function(){var e=this.ptr;return E_(e)},Ar.prototype.getDomainMaxy=Ar.prototype.getDomainMaxy=function(){var e=this.ptr;return m_(e)},Ar.prototype.getNorthPoleLocation=Ar.prototype.getNorthPoleLocation=function(){var e=this.ptr;return T_(e)},Ar.prototype.getNorthPoleGeometry=Ar.prototype.getNorthPoleGeometry=function(){var e=this.ptr;return O_(e)},Ar.prototype.getSouthPoleLocation=Ar.prototype.getSouthPoleLocation=function(){var e=this.ptr;return S_(e)},Ar.prototype.getSouthPoleGeometry=Ar.prototype.getSouthPoleGeometry=function(){var e=this.ptr;return l_(e)},Ar.prototype.isDensificationNeeded=Ar.prototype.isDensificationNeeded=function(){var e=this.ptr;return!!h_(e)},Ar.prototype.isGcsHorizonMultiOverlap=Ar.prototype.isGcsHorizonMultiOverlap=function(){var e=this.ptr;return!!N_(e)},Ar.prototype.isPannableRectangle=Ar.prototype.isPannableRectangle=function(){var e=this.ptr;return!!M_(e)},Ar.prototype.generate=Ar.prototype.generate=function(e,t){return e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),rr(D_(e,t),Ar)},Ar.prototype.get_PE_PCSINFO_OPTION_NONE=Ar.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var e=this.ptr;return v_(e)},Object.defineProperty(Ar.prototype,"PE_PCSINFO_OPTION_NONE",{get:Ar.prototype.get_PE_PCSINFO_OPTION_NONE}),Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN=Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var e=this.ptr;return A_(e)},Object.defineProperty(Ar.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:Ar.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var e=this.ptr;return j_(e)},Object.defineProperty(Ar.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:Ar.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),Ar.prototype.get_PE_POLE_POINT=Ar.prototype.get_PE_POLE_POINT=function(){var e=this.ptr;return R_(e)},Object.defineProperty(Ar.prototype,"PE_POLE_POINT",{get:Ar.prototype.get_PE_POLE_POINT}),jr.prototype=Object.create(ir.prototype),jr.prototype.constructor=jr,jr.prototype.__class__=jr,jr.__cache__={},p.PePrimem=jr,jr.prototype.getLongitude=jr.prototype.getLongitude=function(){var e=this.ptr;return G_(e)},jr.prototype.getCode=jr.prototype.getCode=function(){var e=this.ptr;return C_(e)},jr.prototype.getName=jr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(I_(t,e))},jr.prototype.getType=jr.prototype.getType=function(){var e=this.ptr;return L_(e)},Rr.prototype=Object.create(cr.prototype),Rr.prototype.constructor=Rr,Rr.prototype.__class__=Rr,Rr.__cache__={},p.PeProjcs=Rr,Rr.prototype.Delete=Rr.prototype.Delete=function(){var e=this.ptr;U_(e)},Rr.prototype.getGeogcs=Rr.prototype.getGeogcs=function(){var e=this.ptr;return rr(F_(e),fr)},Rr.prototype.getProjection=Rr.prototype.getProjection=function(){var e=this.ptr;return rr(w_(e),ir)},Rr.prototype.getParameters=Rr.prototype.getParameters=function(){var e=this.ptr;return Y_(e)},Rr.prototype.getUnit=Rr.prototype.getUnit=function(){var e=this.ptr;return rr(x_(e),sr)},Rr.prototype.loadConstants=Rr.prototype.loadConstants=function(){var e=this.ptr;return!!H_(e)},Rr.prototype.horizonGcsGenerate=Rr.prototype.horizonGcsGenerate=function(){var e=this.ptr;return rr(X_(e),Sr)},Rr.prototype.horizonPcsGenerate=Rr.prototype.horizonPcsGenerate=function(){var e=this.ptr;return rr(z_(e),Sr)},Rr.prototype.isEqual=Rr.prototype.isEqual=function(e){var t=this.ptr;return e&&"object"==typeof e&&(e=e.ptr),!!W_(t,e)},Rr.prototype.getCode=Rr.prototype.getCode=function(){var e=this.ptr;return Z_(e)},Rr.prototype.getName=Rr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X(q_(t,e))},Rr.prototype.getType=Rr.prototype.getType=function(){var e=this.ptr;return B_(e)},Gr.prototype=Object.create(ir.prototype),Gr.prototype.constructor=Gr,Gr.prototype.__class__=Gr,Gr.__cache__={},p.PeSpheroid=Gr,Gr.prototype.getAxis=Gr.prototype.getAxis=function(){var e=this.ptr;return K_(e)},Gr.prototype.getFlattening=Gr.prototype.getFlattening=function(){var e=this.ptr;return V_(e)},Gr.prototype.getCode=Gr.prototype.getCode=function(){var e=this.ptr;return k_(e)},Gr.prototype.getName=Gr.prototype.getName=function(e){var t=this.ptr;return or.prepare(),"object"==typeof e&&(e=pr(e)),X($_(t,e))},Gr.prototype.getType=Gr.prototype.getType=function(){var e=this.ptr;return J_(e)},Cr.prototype=Object.create(tr.prototype),Cr.prototype.constructor=Cr,Cr.prototype.__class__=Cr,Cr.__cache__={},p.PeVersion=Cr,Cr.prototype.version_string=Cr.prototype.version_string=function(){var e=this.ptr;return X(Q_(e))},p.ensureCache=or,p.ensureString=nr,p.ensureInt8=pr,p.ensureInt16=function(e){if("object"==typeof e){var t=or.alloc(e,O);return or.copy(e,O,t),t}return e},p.ensureInt32=function(e){if("object"==typeof e){var t=or.alloc(e,S);return or.copy(e,S,t),t}return e},p.ensureFloat32=function(e){if("object"==typeof e){var t=or.alloc(e,h);return or.copy(e,h,t),t}return e},p.ensureFloat64=function(e){if("object"==typeof e){var t=or.alloc(e,N);return or.copy(e,N,t),t}return e},i},e.exports=_),n.exports;var e,t,_}()),i=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}))}}]);
@@ -1,5 +0,0 @@
1
- /*
2
- All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- */
5
- import{generateUID as o}from"../../../../core/uid.js";class r{constructor(){this.id=o()}}export{r as ContentObject};
@@ -1,5 +0,0 @@
1
- /*
2
- All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
- See https://js.arcgis.com/4.33/esri/copyright.txt for details.
4
- */
5
- var e;!function(e){e[e.Layer=0]="Layer",e[e.Texture=1]="Texture",e[e.COUNT=2]="COUNT"}(e||(e={}));export{e as ContentObjectType};