chunk-7BTL34ZE.js 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528
  1. import {
  2. M as M2,
  3. c,
  4. e as e2,
  5. f,
  6. h,
  7. i as i2,
  8. r as r4
  9. } from "./chunk-K3NA3LQS.js";
  10. import {
  11. n as n2,
  12. r as r5
  13. } from "./chunk-G5AI6ZNE.js";
  14. import {
  15. An,
  16. en,
  17. rn,
  18. tn
  19. } from "./chunk-DH2OBAUC.js";
  20. import {
  21. C,
  22. a as a2,
  23. j as j3,
  24. l as l2,
  25. o as o4,
  26. q,
  27. r as r3,
  28. s as s2,
  29. v,
  30. x,
  31. y,
  32. z as z2
  33. } from "./chunk-6P6NA7JB.js";
  34. import {
  35. l as l3
  36. } from "./chunk-3D3QEPRE.js";
  37. import {
  38. z
  39. } from "./chunk-O4FY3ITT.js";
  40. import {
  41. i
  42. } from "./chunk-UXF37FQ4.js";
  43. import {
  44. o2 as o3
  45. } from "./chunk-XNLG7T2T.js";
  46. import {
  47. o as o2
  48. } from "./chunk-IR4PV7VK.js";
  49. import {
  50. d as d2
  51. } from "./chunk-2Z6LERTI.js";
  52. import {
  53. j as j2
  54. } from "./chunk-ALDCDSPV.js";
  55. import {
  56. M2 as M,
  57. j2 as j,
  58. o,
  59. p
  60. } from "./chunk-ECW2QABR.js";
  61. import {
  62. s
  63. } from "./chunk-GCDJLKH4.js";
  64. import {
  65. E,
  66. I,
  67. R,
  68. k2 as k,
  69. r as r2
  70. } from "./chunk-MRJEICT6.js";
  71. import {
  72. d,
  73. e,
  74. l3 as l,
  75. n2 as n
  76. } from "./chunk-Y3WMVFTW.js";
  77. import {
  78. a
  79. } from "./chunk-IHXECKQQ.js";
  80. import {
  81. m,
  82. r,
  83. t
  84. } from "./chunk-GZT4BVFP.js";
  85. // node_modules/@arcgis/core/core/Cyclical.js
  86. var i3 = class {
  87. constructor(n5, i4) {
  88. this.min = n5, this.max = i4, this.range = i4 - n5;
  89. }
  90. ndiff(n5, i4 = 0) {
  91. return Math.ceil((n5 - i4) / this.range) * this.range + i4;
  92. }
  93. _normalize(n5, i4, t4, o7 = 0, r8 = false) {
  94. return (t4 -= o7) < n5 ? t4 += this.ndiff(n5 - t4) : t4 > i4 && (t4 -= this.ndiff(t4 - i4)), r8 && t4 === i4 && (t4 = n5), t4 + o7;
  95. }
  96. normalize(n5, i4 = 0, t4 = false) {
  97. return this._normalize(this.min, this.max, n5, i4, t4);
  98. }
  99. clamp(i4, t4 = 0) {
  100. return o3(i4 - t4, this.min, this.max) + t4;
  101. }
  102. monotonic(n5, i4, t4) {
  103. return n5 < i4 ? i4 : i4 + this.ndiff(n5 - i4, t4);
  104. }
  105. minimalMonotonic(n5, i4, t4) {
  106. return this._normalize(n5, n5 + this.range, i4, t4);
  107. }
  108. center(n5, i4, t4) {
  109. return i4 = this.monotonic(n5, i4, t4), this.normalize((n5 + i4) / 2, t4);
  110. }
  111. diff(n5, i4, t4) {
  112. return this.monotonic(n5, i4, t4) - n5;
  113. }
  114. shortestSignedDiff(n5, i4) {
  115. n5 = this.normalize(n5);
  116. const t4 = (i4 = this.normalize(i4)) - n5, o7 = i4 < n5 ? this.minimalMonotonic(n5, i4) - n5 : i4 - this.minimalMonotonic(i4, n5);
  117. return Math.abs(t4) < Math.abs(o7) ? t4 : o7;
  118. }
  119. contains(n5, i4, t4) {
  120. return i4 = this.minimalMonotonic(n5, i4), (t4 = this.minimalMonotonic(n5, t4)) > n5 && t4 < i4;
  121. }
  122. };
  123. function t2(n5) {
  124. for (const i4 in n5) {
  125. const t4 = n5[i4];
  126. t4 instanceof Function && (n5[i4] = t4.bind(n5));
  127. }
  128. return n5;
  129. }
  130. var o5 = t2(new i3(0, 2 * Math.PI));
  131. var r6 = t2(new i3(-Math.PI, Math.PI));
  132. var s3 = t2(new i3(0, 360));
  133. // node_modules/@arcgis/core/Camera.js
  134. var u = class extends l3(l) {
  135. constructor(...o7) {
  136. super(...o7), this.position = new j([0, 0, 0]), this.heading = 0, this.tilt = 0, this.fov = 55;
  137. }
  138. normalizeCtorArgs(o7, r8, t4, e4) {
  139. if (o7 && typeof o7 == "object" && ("x" in o7 || Array.isArray(o7))) {
  140. const s4 = { position: o7 };
  141. return r8 != null && (s4.heading = r8), t4 != null && (s4.tilt = t4), e4 != null && (s4.fov = e4), s4;
  142. }
  143. return o7;
  144. }
  145. writePosition(o7, r8, t4, e4) {
  146. const s4 = o7.clone();
  147. s4.x = a(o7.x || 0), s4.y = a(o7.y || 0), s4.z = o7.hasZ ? a(o7.z || 0) : o7.z, r8[t4] = s4.write({}, e4);
  148. }
  149. readPosition(o7, r8) {
  150. const t4 = new j();
  151. return t4.read(o7, r8), t4.x = a(t4.x || 0), t4.y = a(t4.y || 0), t4.z = t4.hasZ ? a(t4.z || 0) : t4.z, t4;
  152. }
  153. equals(o7) {
  154. return !!o7 && (this.tilt === o7.tilt && this.heading === o7.heading && this.fov === o7.fov && this.position.equals(o7.position));
  155. }
  156. };
  157. e([d({ type: j, json: { write: { isRequired: true } } })], u.prototype, "position", void 0), e([r2("position")], u.prototype, "writePosition", null), e([o("position")], u.prototype, "readPosition", null), e([d({ type: Number, nonNullable: true, json: { write: { isRequired: true } } }), s((o7) => s3.normalize(a(o7)))], u.prototype, "heading", void 0), e([d({ type: Number, nonNullable: true, json: { write: { isRequired: true } } }), s((o7) => o3(a(o7), -180, 180))], u.prototype, "tilt", void 0), e([d({ type: Number, nonNullable: true, json: { read: false, write: false } })], u.prototype, "fov", void 0), u = e([n("esri.Camera")], u);
  158. var d3 = u;
  159. // node_modules/@arcgis/core/Viewpoint.js
  160. var m2;
  161. var n3 = m2 = class extends l {
  162. constructor(r8) {
  163. super(r8), this.rotation = 0, this.scale = 0, this.targetGeometry = null, this.camera = null;
  164. }
  165. castRotation(r8) {
  166. return (r8 %= 360) < 0 && (r8 += 360), r8;
  167. }
  168. clone() {
  169. return new m2({ rotation: this.rotation, scale: this.scale, targetGeometry: r(this.targetGeometry) ? this.targetGeometry.clone() : null, camera: r(this.camera) ? this.camera.clone() : null });
  170. }
  171. };
  172. function l4() {
  173. return { enabled: !this.camera };
  174. }
  175. e([d({ type: Number, json: { write: true, origins: { "web-map": { default: 0, write: true }, "web-scene": { write: { overridePolicy: l4 } } } } })], n3.prototype, "rotation", void 0), e([s("rotation")], n3.prototype, "castRotation", null), e([d({ type: Number, json: { write: true, origins: { "web-map": { default: 0, write: true }, "web-scene": { write: { overridePolicy: l4 } } } } })], n3.prototype, "scale", void 0), e([d({ types: i, json: { read: d2, write: true, origins: { "web-scene": { read: d2, write: { overridePolicy: l4 } } } } })], n3.prototype, "targetGeometry", void 0), e([d({ type: d3, json: { write: true } })], n3.prototype, "camera", void 0), n3 = m2 = e([n("esri.Viewpoint")], n3);
  176. var u2 = n3;
  177. // node_modules/@arcgis/core/chunks/mat2df64.js
  178. function e3() {
  179. return [1, 0, 0, 1, 0, 0];
  180. }
  181. function r7(e4) {
  182. return [e4[0], e4[1], e4[2], e4[3], e4[4], e4[5]];
  183. }
  184. function t3(e4, r8, t4, n5, o7, a3) {
  185. return [e4, r8, t4, n5, o7, a3];
  186. }
  187. function n4(e4, r8) {
  188. return new Float64Array(e4, r8, 6);
  189. }
  190. var o6 = Object.freeze(Object.defineProperty({ __proto__: null, create: e3, clone: r7, fromValues: t3, createView: n4 }, Symbol.toStringTag, { value: "Module" }));
  191. // node_modules/@arcgis/core/views/2d/viewpointUtils.js
  192. var Q = 96;
  193. var U = 39.37;
  194. var B = 180 / Math.PI;
  195. function D(t4) {
  196. return t4.wkid ? t4 : t4.spatialReference || k.WGS84;
  197. }
  198. function T(t4, e4) {
  199. return e4.type ? r3(t4, e4.x, e4.y) : a2(t4, e4);
  200. }
  201. function W(t4) {
  202. return z(t4);
  203. }
  204. function H(t4, e4) {
  205. const n5 = Math.max(1, e4[0]), r8 = Math.max(1, e4[1]);
  206. return Math.max(t4.width / n5, t4.height / r8) * ct(t4.spatialReference);
  207. }
  208. async function J(t4, a3, i4, c2) {
  209. let s4, u3;
  210. if (!t4)
  211. return null;
  212. if (Array.isArray(t4) && !t4.length)
  213. return null;
  214. if (j2.isCollection(t4) && (t4 = t4.toArray()), Array.isArray(t4) && t4.length && typeof t4[0] == "object") {
  215. const e4 = t4.every((t5) => "attributes" in t5), r8 = t4.some((t5) => !t5.geometry);
  216. let o7 = t4;
  217. if (e4 && r8 && a3 && a3.allLayerViews) {
  218. const e5 = new Map();
  219. for (const n5 of t4) {
  220. const t5 = n5.layer, r10 = e5.get(t5) || [], o8 = n5.attributes[t5.objectIdField];
  221. o8 != null && r10.push(o8), e5.set(t5, r10);
  222. }
  223. const r9 = [];
  224. e5.forEach((t5, e6) => {
  225. const n5 = a3.allLayerViews.find((t6) => t6.layer.id === e6.id);
  226. if ("queryFeatures" in n5) {
  227. const o8 = e6.createQuery();
  228. o8.objectIds = t5, o8.returnGeometry = true, r9.push(n5.queryFeatures(o8));
  229. }
  230. });
  231. const i5 = await Promise.all(r9), c3 = [];
  232. for (const t5 of i5)
  233. if (t5 && t5.features && t5.features.length)
  234. for (const e6 of t5.features)
  235. r(e6.geometry) && c3.push(e6.geometry);
  236. o7 = c3;
  237. }
  238. for (const t5 of o7)
  239. c2 = await J(t5, a3, i4, c2);
  240. return c2;
  241. }
  242. if (Array.isArray(t4) && t4.length === 2 && typeof t4[0] == "number" && typeof t4[1] == "number")
  243. s4 = new j(t4);
  244. else if (t4 instanceof p)
  245. s4 = t4;
  246. else if ("geometry" in t4) {
  247. if (t4.geometry)
  248. s4 = t4.geometry;
  249. else if (t4.layer) {
  250. const e4 = t4.layer, n5 = a3.allLayerViews.find((t5) => t5.layer.id === e4.id);
  251. if ("queryFeatures" in n5) {
  252. const o7 = e4.createQuery();
  253. o7.objectIds = [t4.attributes[e4.objectIdField]], o7.returnGeometry = true;
  254. const a4 = await n5.queryFeatures(o7);
  255. s4 = m(a4, "features", 0, "geometry");
  256. }
  257. }
  258. }
  259. if (t(s4))
  260. return null;
  261. if (u3 = s4.type === "point" ? new M({ xmin: s4.x, ymin: s4.y, xmax: s4.x, ymax: s4.y, spatialReference: s4.spatialReference }) : s4.extent, !u3)
  262. return null;
  263. en() || An(u3.spatialReference, i4) || await tn();
  264. const f2 = rn(u3, i4);
  265. return f2 ? c2 = c2 ? c2.union(f2) : f2 : null;
  266. }
  267. function K(t4) {
  268. if (t4 && (!Array.isArray(t4) || typeof t4[0] != "number") && (typeof t4 == "object" || Array.isArray(t4) && typeof t4[0] == "object")) {
  269. if ("layer" in t4 && t4.layer && t4.layer.minScale && t4.layer.maxScale) {
  270. const e4 = t4.layer;
  271. return { min: e4.minScale, max: e4.maxScale };
  272. }
  273. if (Array.isArray(t4) && t4.length && t4.every((t5) => "layer" in t5)) {
  274. let e4 = 0, n5 = 0;
  275. for (const r8 of t4) {
  276. const t5 = r8.layer;
  277. t5 && t5.minScale && t5.maxScale && (e4 = t5.minScale < e4 ? t5.minScale : e4, n5 = t5.maxScale > n5 ? t5.maxScale : n5);
  278. }
  279. return e4 && n5 ? { min: e4, max: n5 } : null;
  280. }
  281. }
  282. }
  283. function X(t4, e4) {
  284. return E(D(t4), e4) ? t4 : rn(t4, e4);
  285. }
  286. async function Y(e4, r8) {
  287. if (!e4 || !r8)
  288. return new u2({ targetGeometry: new j(), scale: 0, rotation: 0 });
  289. let o7 = r8.spatialReference;
  290. const { constraints: a3, padding: i4, viewpoint: c2, size: s4 } = r8, u3 = [i4 ? s4[0] - i4.left - i4.right : s4[0], i4 ? s4[1] - i4.top - i4.bottom : s4[1]];
  291. let f2 = null;
  292. e4 instanceof u2 ? f2 = e4 : e4.viewpoint ? f2 = e4.viewpoint : e4.target && e4.target.declaredClass === "esri.Viewpoint" && (f2 = e4.target);
  293. let l5 = null;
  294. f2 && f2.targetGeometry ? l5 = f2.targetGeometry : e4 instanceof M ? l5 = e4 : (e4 || e4 && ("center" in e4 || "extent" in e4 || "target" in e4)) && (l5 = await J(e4.center, r8, o7) || await J(e4.extent, r8, o7) || await J(e4.target, r8, o7) || await J(e4, r8, o7)), !l5 && c2 && c2.targetGeometry ? l5 = c2.targetGeometry : !l5 && r8.extent && (l5 = r8.extent), o7 || (o7 = D(r8.spatialReference || r8.extent || l5)), en() || E(l5.spatialReference, o7) || An(l5, o7) || await tn();
  295. const m3 = X(l5.center ? l5.center : l5, o7);
  296. let y2 = null;
  297. if (f2 && r(f2.targetGeometry) && f2.targetGeometry.type === "point")
  298. y2 = f2.scale;
  299. else if ("scale" in e4 && e4.scale)
  300. y2 = e4.scale;
  301. else if ("zoom" in e4 && e4.zoom !== -1 && a3 && a3.effectiveLODs)
  302. y2 = a3.zoomToScale(e4.zoom);
  303. else if (Array.isArray(l5) || l5.type === "point" || l5.type === "extent" && l5.width === 0 && l5.height === 0) {
  304. const t4 = X(r8.extent, o7);
  305. y2 = r(t4) ? H(t4, u3) : r8.extent ? H(r8.extent, u3) : c2.scale;
  306. } else
  307. y2 = H(X(l5.extent, o7), u3);
  308. const p2 = K(e4);
  309. p2 && (p2.min && p2.min > y2 ? y2 = p2.min : p2.max && p2.max < y2 && (y2 = p2.max));
  310. let g = 0;
  311. f2 ? g = f2.rotation : e4.hasOwnProperty("rotation") ? g = e4.rotation : c2 && (g = c2.rotation);
  312. let x2 = new u2({ targetGeometry: m3, scale: y2, rotation: g });
  313. return a3 && (x2 = a3.fit(x2), a3.constrainByGeometry(x2), a3.rotationEnabled || (x2.rotation = g)), x2;
  314. }
  315. function Z(t4, e4) {
  316. const n5 = t4.targetGeometry, r8 = e4.targetGeometry;
  317. return n5.x = r8.x, n5.y = r8.y, n5.spatialReference = r8.spatialReference, t4.scale = e4.scale, t4.rotation = e4.rotation, t4;
  318. }
  319. function $(t4, e4, n5) {
  320. return n5 ? r3(t4, 0.5 * (e4[0] - n5.right + n5.left), 0.5 * (e4[1] - n5.bottom + n5.top)) : l2(t4, e4, 0.5);
  321. }
  322. var _ = function() {
  323. const t4 = n2();
  324. return function(e4, n5, r8) {
  325. const o7 = n5.targetGeometry;
  326. T(t4, o7);
  327. const a3 = 0.5 * ot(n5);
  328. return e4.xmin = t4[0] - a3 * r8[0], e4.ymin = t4[1] - a3 * r8[1], e4.xmax = t4[0] + a3 * r8[0], e4.ymax = t4[1] + a3 * r8[1], e4.spatialReference = o7.spatialReference, e4;
  329. };
  330. }();
  331. function tt(t4, e4, n5, r8, o7) {
  332. return xt(t4, e4, n5.center), t4.scale = H(n5, r8), o7 && o7.constraints && o7.constraints.constrain(t4), t4;
  333. }
  334. function et(t4, e4, n5, r8) {
  335. return ft(t4, e4, n5, r8), r4(t4, t4);
  336. }
  337. var nt = function() {
  338. const t4 = n2();
  339. return function(e4, n5, r8) {
  340. return C(e4, st(e4, n5), $(t4, n5, r8));
  341. };
  342. }();
  343. var rt = function() {
  344. const t4 = e3(), e4 = n2();
  345. return function(n5, r8, o7, a3) {
  346. const i4 = ot(r8), f2 = it(r8);
  347. return r3(e4, i4, i4), M2(t4, e4), e2(t4, t4, f2), i2(t4, t4, nt(e4, o7, a3)), i2(t4, t4, [0, a3.top - a3.bottom]), r3(n5, t4[4], t4[5]);
  348. };
  349. }();
  350. function ot(t4) {
  351. return t4.scale * at(t4.targetGeometry);
  352. }
  353. function at(t4) {
  354. return r(t4) && I(t4.spatialReference) ? 1 / (W(t4.spatialReference) * U * Q) : 1;
  355. }
  356. function it(t4) {
  357. return o2(t4.rotation) || 0;
  358. }
  359. function ct(t4) {
  360. return I(t4) ? W(t4) * U * Q : 1;
  361. }
  362. function st(t4, e4) {
  363. return l2(t4, e4, 0.5);
  364. }
  365. var ut = function() {
  366. const t4 = n2(), e4 = n2(), n5 = n2();
  367. return function(r8, o7, a3, i4, c2, m3) {
  368. return x(t4, o7), l2(e4, a3, 0.5 * m3), r3(n5, 1 / i4 * m3, -1 / i4 * m3), f(r8, e4), c2 && e2(r8, r8, c2), c(r8, r8, n5), i2(r8, r8, t4), r8;
  369. };
  370. }();
  371. var ft = function() {
  372. const t4 = n2();
  373. return function(e4, n5, r8, o7) {
  374. const a3 = ot(n5), i4 = it(n5);
  375. return T(t4, n5.targetGeometry), ut(e4, t4, r8, a3, i4, o7);
  376. };
  377. }();
  378. var lt = function() {
  379. const t4 = n2();
  380. return function(e4, n5, r8, o7) {
  381. const a3 = ot(n5);
  382. return T(t4, n5.targetGeometry), ut(e4, t4, r8, a3, 0, o7);
  383. };
  384. }();
  385. function mt(t4) {
  386. const e4 = R(t4);
  387. return e4 ? e4.valid[1] - e4.valid[0] : 0;
  388. }
  389. function yt(t4, e4) {
  390. return Math.round(mt(t4) / e4);
  391. }
  392. var pt = function() {
  393. const t4 = n2(), e4 = n2(), n5 = [0, 0, 0];
  394. return function(r8, o7, a3) {
  395. o4(t4, r8, o7), v(t4, t4), o4(e4, r8, a3), v(e4, e4), y(n5, t4, e4);
  396. let i4 = Math.acos(j3(t4, e4) / (q(t4) * q(e4))) * B;
  397. return n5[2] < 0 && (i4 = -i4), isNaN(i4) && (i4 = 0), i4;
  398. };
  399. }();
  400. var gt = function() {
  401. const t4 = n2();
  402. return function(e4, n5, r8, o7) {
  403. const a3 = e4.targetGeometry;
  404. return Z(e4, n5), rt(t4, n5, r8, o7), a3.x += t4[0], a3.y += t4[1], e4;
  405. };
  406. }();
  407. var xt = function(t4, e4, n5) {
  408. Z(t4, e4);
  409. const r8 = t4.targetGeometry;
  410. return r8.x = n5.x, r8.y = n5.y, r8.spatialReference = n5.spatialReference, t4;
  411. };
  412. var ht = function() {
  413. const t4 = n2();
  414. return function(e4, n5, r8, o7, a3) {
  415. a3 || (a3 = "center"), C(t4, r8, o7), l2(t4, t4, 0.5);
  416. const i4 = t4[0], c2 = t4[1];
  417. switch (a3) {
  418. case "center":
  419. r3(t4, 0, 0);
  420. break;
  421. case "left":
  422. r3(t4, -i4, 0);
  423. break;
  424. case "top":
  425. r3(t4, 0, c2);
  426. break;
  427. case "right":
  428. r3(t4, i4, 0);
  429. break;
  430. case "bottom":
  431. r3(t4, 0, -c2);
  432. break;
  433. case "top-left":
  434. r3(t4, -i4, c2);
  435. break;
  436. case "bottom-left":
  437. r3(t4, -i4, -c2);
  438. break;
  439. case "top-right":
  440. r3(t4, i4, c2);
  441. break;
  442. case "bottom-right":
  443. r3(t4, i4, -c2);
  444. }
  445. return St(e4, n5, t4), e4;
  446. };
  447. }();
  448. function bt(t4, e4, n5) {
  449. return Z(t4, e4), t4.rotation += n5, t4;
  450. }
  451. function wt(t4, e4, n5) {
  452. return Z(t4, e4), t4.rotation = n5, t4;
  453. }
  454. var dt = function() {
  455. const t4 = n2();
  456. return function(e4, n5, r8, o7, a3) {
  457. return Z(e4, n5), isNaN(r8) || r8 === 0 || (kt(t4, o7, n5, a3), e4.scale = n5.scale * r8, At(t4, t4, e4, a3), St(e4, e4, r3(t4, t4[0] - o7[0], o7[1] - t4[1]))), e4;
  458. };
  459. }();
  460. function jt(t4, e4, n5) {
  461. return Z(t4, e4), t4.scale = n5, t4;
  462. }
  463. var Gt = function() {
  464. const t4 = n2();
  465. return function(e4, n5, r8, o7, a3, i4) {
  466. return Z(e4, n5), isNaN(r8) || r8 === 0 || (kt(t4, a3, n5, i4), e4.scale = n5.scale * r8, e4.rotation += o7, At(t4, t4, e4, i4), St(e4, e4, r3(t4, t4[0] - a3[0], a3[1] - t4[1]))), e4;
  467. };
  468. }();
  469. var Rt = function() {
  470. const t4 = n2(), e4 = n2();
  471. return function(n5, r8, o7, a3, i4, c2, s4) {
  472. return nt(e4, c2, s4), s2(t4, i4, e4), a3 ? Gt(n5, r8, o7, a3, t4, c2) : dt(n5, r8, o7, t4, c2);
  473. };
  474. }();
  475. var kt = function() {
  476. const t4 = e3();
  477. return function(e4, n5, r8, o7) {
  478. return z2(e4, n5, et(t4, r8, o7, 1));
  479. };
  480. }();
  481. var At = function() {
  482. const t4 = e3();
  483. return function(e4, n5, r8, o7) {
  484. return z2(e4, n5, ft(t4, r8, o7, 1));
  485. };
  486. }();
  487. var St = function() {
  488. const t4 = n2(), e4 = e3();
  489. return function(n5, r8, o7) {
  490. Z(n5, r8);
  491. const a3 = ot(r8), i4 = n5.targetGeometry;
  492. return h(e4, it(r8)), c(e4, e4, r5(a3, a3)), z2(t4, o7, e4), i4.x += t4[0], i4.y += t4[1], n5;
  493. };
  494. }();
  495. export {
  496. u2 as u,
  497. e3 as e,
  498. H,
  499. Y,
  500. Z,
  501. $,
  502. _,
  503. tt,
  504. nt,
  505. ot,
  506. ut,
  507. ft,
  508. lt,
  509. mt,
  510. yt,
  511. pt,
  512. gt,
  513. xt,
  514. ht,
  515. bt,
  516. wt,
  517. jt,
  518. Gt,
  519. Rt,
  520. St
  521. };
  522. //# sourceMappingURL=chunk-7BTL34ZE.js.map