1import { 2 a 3} from "./chunk-KQF27PH5.js"; 4import { 5 u 6} from "./chunk-4DYAOHIQ.js"; 7import { 8 _ 9} from "./chunk-LHIYHMNQ.js"; 10import { 11 d 12} from "./chunk-5G4UZ6GR.js"; 13import { 14 __async, 15 __spreadProps, 16 __spreadValues 17} from "./chunk-A3K3H554.js"; 18 19// node_modules/@arcgis/core/views/support/GeometryWorkerHandle.js 20var i = class extends a { 21 constructor(t) { 22 super("GeometryWorker", "geodeticArea", {}, void 0, { strategy: "distributed" }), t?.preloadGeodetic && this._preloadGeodetic(); 23 } 24 geodeticArea(t, e, n) { 25 return __async(this, null, function* () { 26 const i2 = t.toJSON(), { area: r, centroid: s, length: a2 } = yield this.invokeMethod("geodeticArea", { geometryJSON: i2, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, n); 27 return { area: r, centroid: s ? _.fromJSON(s) : void 0, length: a2 }; 28 }); 29 } 30 geodeticLength(t, e, o) { 31 const n = t.toJSON(); 32 return this.invokeMethod("geodeticLength", { geometryJSON: n, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, o); 33 } 34 geodeticDistanceBetweenPoints(t, e, o, n) { 35 const i2 = t.toJSON(), r = e.toJSON(); 36 return this.invokeMethod("geodeticDistanceBetweenPoints", { geometry1JSON: i2, geometry2JSON: r, options: o }, n); 37 } 38 geodeticDistanceBetweenPointsMany(t, e, o, n) { 39 const i2 = t.toJSON(), r = e.toJSON(); 40 return this.invokeMethod("geodeticDistanceBetweenPointsMany", { geometry1JSON: i2, geometry2JSON: r, options: o }, n); 41 } 42 _preloadGeodetic() { 43 d(this.broadcast(void 0, "preloadGeodetic")); 44 } 45 area2D(t, e, n) { 46 return __async(this, null, function* () { 47 const i2 = t.toJSON(), { area: r, centroid: s, length: a2 } = yield this.invokeMethod("area2D", { geometryJSON: i2, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, n); 48 return { area: r, centroid: s ? _.fromJSON(s) : void 0, length: a2 }; 49 }); 50 } 51 length2D(t, e, o) { 52 const n = t.toJSON(); 53 return this.invokeMethod("length2D", { geometryJSON: n, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, o); 54 } 55 distance2DBetweenPoints(t, e, o, n) { 56 const i2 = t.toJSON(), r = e.toJSON(); 57 return this.invokeMethod("distance2DBetweenPoints", { geometry1JSON: i2, geometry2JSON: r, options: o }, n); 58 } 59 areaHorizontal(t, e, n) { 60 return __async(this, null, function* () { 61 const i2 = t.toJSON(), { area: r, centroid: s, length: a2 } = yield this.invokeMethod("areaHorizontal", { geometryJSON: i2, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, n); 62 return { area: r, centroid: s ? _.fromJSON(s) : void 0, length: a2 }; 63 }); 64 } 65 autoArea2D(t, e, n) { 66 return __async(this, null, function* () { 67 const i2 = t.toJSON(), { area: r, centroid: s, length: a2 } = yield this.invokeMethod("autoArea2D", { geometryJSON: i2, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, n); 68 return { area: r, centroid: s ? _.fromJSON(s) : void 0, length: a2 }; 69 }); 70 } 71 autoLength2D(t, e, o) { 72 return __async(this, null, function* () { 73 const n = t.toJSON(); 74 return this.invokeMethod("autoLength2D", { geometryJSON: n, options: __spreadProps(__spreadValues({}, e), { stagedPoint: e?.stagedPoint?.toJSON() }) }, o); 75 }); 76 } 77 autoDistance2DBetweenPoints(t, e, o, n) { 78 const i2 = t.toJSON(), r = e.toJSON(); 79 return this.invokeMethod("autoDistance2DBetweenPoints", { geometry1JSON: i2, geometry2JSON: r, options: o }, n); 80 } 81 autoSize2D(t, e, o, n, i2, r) { 82 const s = t.toJSON(), a2 = e.toJSON(), d2 = o.toJSON(), g = n.toJSON(); 83 return this.invokeMethod("autoSize2D", { topLeftJSON: s, topRightJSON: a2, bottomRightJSON: d2, bottomLeftJSON: g, options: i2 }, r); 84 } 85 simplify(t, e) { 86 return __async(this, null, function* () { 87 const o = t.toJSON(), i2 = yield this.invokeMethod("simplify", { geometryJSON: o }, e); 88 return i2 ? u(i2) : null; 89 }); 90 } 91}; 92 93export { 94 i 95}; 96//# sourceMappingURL=chunk-FFFEDCY3.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.