@mlightcad/data-model 1.7.7 → 1.7.8

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.
@@ -871,6 +871,15 @@ let cn = class {
871
871
  if (t != null)
872
872
  return `rgb(${t >> 16 & 255},${t >> 8 & 255},${t & 255})`;
873
873
  }
874
+ /**
875
+ * Returns a CSS rgba() color string with the specified alpha value.
876
+ * @param alpha - Opacity value between 0 (transparent) and 1 (opaque)
877
+ */
878
+ cssColorAlpha(t) {
879
+ const e = this.RGB;
880
+ if (e != null)
881
+ return `rgba(${e >> 16 & 255},${e >> 8 & 255},${e & 255},${t})`;
882
+ }
874
883
  // ---------------------------------------------------------------------
875
884
  // ACI accessors (ByACI)
876
885
  // ---------------------------------------------------------------------
@@ -1331,7 +1340,7 @@ let he = class {
1331
1340
  s.call(null, t, ...e);
1332
1341
  }
1333
1342
  };
1334
- function Ks(n) {
1343
+ function $s(n) {
1335
1344
  return n === null || typeof n != "object" ? n : Array.isArray(n) ? [...n] : { ...n };
1336
1345
  }
1337
1346
  function Do(n) {
@@ -1446,7 +1455,7 @@ var ml = { exports: {} };
1446
1455
  return f(C) || b.apply(this, arguments);
1447
1456
  }
1448
1457
  function M(C, V) {
1449
- var z = this, at, _t, st, H = "loglevel";
1458
+ var z = this, st, _t, it, H = "loglevel";
1450
1459
  typeof C == "string" ? H += ":" + C : typeof C == "symbol" && (H = void 0);
1451
1460
  function dt(xt) {
1452
1461
  var Bt = (a[xt] || "silent").toUpperCase();
@@ -1462,7 +1471,7 @@ var ml = { exports: {} };
1462
1471
  }
1463
1472
  }
1464
1473
  }
1465
- function it() {
1474
+ function at() {
1466
1475
  var xt;
1467
1476
  if (!(typeof window === e || !H)) {
1468
1477
  try {
@@ -1492,7 +1501,7 @@ var ml = { exports: {} };
1492
1501
  }
1493
1502
  }
1494
1503
  }
1495
- function $t(xt) {
1504
+ function Kt(xt) {
1496
1505
  var Bt = xt;
1497
1506
  if (typeof Bt == "string" && z.levels[Bt.toUpperCase()] !== void 0 && (Bt = z.levels[Bt.toUpperCase()]), typeof Bt == "number" && Bt >= 0 && Bt <= z.levels.SILENT)
1498
1507
  return Bt;
@@ -1506,26 +1515,26 @@ var ml = { exports: {} };
1506
1515
  ERROR: 4,
1507
1516
  SILENT: 5
1508
1517
  }, z.methodFactory = V || E, z.getLevel = function() {
1509
- return st ?? _t ?? at;
1518
+ return it ?? _t ?? st;
1510
1519
  }, z.setLevel = function(xt, Bt) {
1511
- return st = $t(xt), Bt !== !1 && dt(st), x.call(z);
1520
+ return it = Kt(xt), Bt !== !1 && dt(it), x.call(z);
1512
1521
  }, z.setDefaultLevel = function(xt) {
1513
- _t = $t(xt), it() || z.setLevel(xt, !1);
1522
+ _t = Kt(xt), at() || z.setLevel(xt, !1);
1514
1523
  }, z.resetLevel = function() {
1515
- st = null, Dt(), x.call(z);
1524
+ it = null, Dt(), x.call(z);
1516
1525
  }, z.enableAll = function(xt) {
1517
1526
  z.setLevel(z.levels.TRACE, xt);
1518
1527
  }, z.disableAll = function(xt) {
1519
1528
  z.setLevel(z.levels.SILENT, xt);
1520
1529
  }, z.rebuild = function() {
1521
- if (u !== z && (at = $t(u.getLevel())), x.call(z), u === z)
1530
+ if (u !== z && (st = Kt(u.getLevel())), x.call(z), u === z)
1522
1531
  for (var xt in h)
1523
1532
  h[xt].rebuild();
1524
- }, at = $t(
1533
+ }, st = Kt(
1525
1534
  u ? u.getLevel() : "WARN"
1526
1535
  );
1527
- var Xt = it();
1528
- Xt != null && (st = $t(Xt)), x.call(z);
1536
+ var Xt = at();
1537
+ Xt != null && (it = Kt(Xt)), x.call(z);
1529
1538
  }
1530
1539
  u = new M(), u.getLogger = function(C) {
1531
1540
  if (typeof C != "symbol" && typeof C != "string" || C === "")
@@ -1606,7 +1615,7 @@ let Ou = class _l {
1606
1615
  let a;
1607
1616
  typeof t == "object" ? (a = t, s = e) : (a = {}, a[t] = e), s || (s = {});
1608
1617
  const h = s.unset, u = s.silent, p = [], v = this._changing;
1609
- this._changing = !0, v || (this._previousAttributes = Ks(this.attributes), this.changed = {});
1618
+ this._changing = !0, v || (this._previousAttributes = $s(this.attributes), this.changed = {});
1610
1619
  const f = this.attributes, x = this.changed, b = this._previousAttributes;
1611
1620
  for (const E in a)
1612
1621
  e = a[E], zs(f[E], e) || p.push(E), zs(b[E], e) ? delete x[E] : x[E] = e, h ? delete f[E] : f[E] = e;
@@ -1647,7 +1656,7 @@ let Ou = class _l {
1647
1656
  * the model, determining if there *would be* a change.
1648
1657
  */
1649
1658
  changedAttributes(t) {
1650
- if (!t) return this.hasChanged() ? Ks(this.changed) : {};
1659
+ if (!t) return this.hasChanged() ? $s(this.changed) : {};
1651
1660
  const e = this._changing ? this._previousAttributes : this.attributes, s = {};
1652
1661
  for (const a in t) {
1653
1662
  const h = t[a];
@@ -1665,13 +1674,13 @@ let Ou = class _l {
1665
1674
  * Get all of the attributes of the model at the time of the previous `"change"` event.
1666
1675
  */
1667
1676
  previousAttributes() {
1668
- return Ks(this._previousAttributes);
1677
+ return $s(this._previousAttributes);
1669
1678
  }
1670
1679
  /**
1671
1680
  * Create a new model with identical attributes to this one.
1672
1681
  */
1673
1682
  clone() {
1674
- const t = Ks(this.attributes);
1683
+ const t = $s(this.attributes);
1675
1684
  return new _l(t);
1676
1685
  }
1677
1686
  }, fl = class Bs {
@@ -2252,14 +2261,14 @@ class up {
2252
2261
  return this.requestHeader = t, this;
2253
2262
  }
2254
2263
  }
2255
- var xn = 256, yl = [], Ho = 256, $s;
2264
+ var xn = 256, yl = [], Ho = 256, Ks;
2256
2265
  for (; xn--; ) yl[xn] = (xn + 256).toString(16).substring(1);
2257
2266
  function zu(n) {
2258
2267
  var t = 0, e = 11;
2259
- if (!$s || xn + e > Ho * 2)
2260
- for ($s = "", xn = 0; t < Ho; t++)
2261
- $s += yl[Math.random() * 256 | 0];
2262
- return $s.substring(xn, xn++ + e);
2268
+ if (!Ks || xn + e > Ho * 2)
2269
+ for (Ks = "", xn = 0; t < Ho; t++)
2270
+ Ks += yl[Math.random() * 256 | 0];
2271
+ return Ks.substring(xn, xn++ + e);
2263
2272
  }
2264
2273
  let na;
2265
2274
  function Vu(n) {
@@ -3318,10 +3327,10 @@ function Xu(n, t, e) {
3318
3327
  function qu(n, t, e) {
3319
3328
  return n <= t ? 0 : n >= e ? 1 : (n = (n - t) / (e - t), n * n * n * (n * (n * 6 - 15) + 10));
3320
3329
  }
3321
- function Ku(n, t) {
3330
+ function $u(n, t) {
3322
3331
  return n + Math.floor(Math.random() * (t - n + 1));
3323
3332
  }
3324
- function $u(n, t) {
3333
+ function Ku(n, t) {
3325
3334
  return n + Math.random() * (t - n);
3326
3335
  }
3327
3336
  function Zu(n) {
@@ -3377,8 +3386,8 @@ const Et = {
3377
3386
  pingpong: Yu,
3378
3387
  smoothstep: Xu,
3379
3388
  smootherstep: qu,
3380
- randInt: Ku,
3381
- randFloat: $u,
3389
+ randInt: $u,
3390
+ randFloat: Ku,
3382
3391
  randFloatSpread: Zu,
3383
3392
  seededRandom: Qu,
3384
3393
  degToRad: Ju,
@@ -3982,8 +3991,8 @@ const oa = class Ml {
3982
3991
  * @returns Return this matrix
3983
3992
  */
3984
3993
  multiplyMatrices(t, e) {
3985
- const s = t.elements, a = e.elements, h = this.elements, u = s[0], p = s[3], v = s[6], f = s[1], x = s[4], b = s[7], E = s[2], M = s[5], L = s[8], C = a[0], V = a[3], z = a[6], at = a[1], _t = a[4], st = a[7], H = a[2], dt = a[5], it = a[8];
3986
- return h[0] = u * C + p * at + v * H, h[3] = u * V + p * _t + v * dt, h[6] = u * z + p * st + v * it, h[1] = f * C + x * at + b * H, h[4] = f * V + x * _t + b * dt, h[7] = f * z + x * st + b * it, h[2] = E * C + M * at + L * H, h[5] = E * V + M * _t + L * dt, h[8] = E * z + M * st + L * it, this;
3994
+ const s = t.elements, a = e.elements, h = this.elements, u = s[0], p = s[3], v = s[6], f = s[1], x = s[4], b = s[7], E = s[2], M = s[5], L = s[8], C = a[0], V = a[3], z = a[6], st = a[1], _t = a[4], it = a[7], H = a[2], dt = a[5], at = a[8];
3995
+ return h[0] = u * C + p * st + v * H, h[3] = u * V + p * _t + v * dt, h[6] = u * z + p * it + v * at, h[1] = f * C + x * st + b * H, h[4] = f * V + x * _t + b * dt, h[7] = f * z + x * it + b * at, h[2] = E * C + M * st + L * H, h[5] = E * V + M * _t + L * dt, h[8] = E * z + M * it + L * at, this;
3987
3996
  }
3988
3997
  /**
3989
3998
  * Multiply every component of the matrix by the scalar value s.
@@ -4192,7 +4201,7 @@ class Tl {
4192
4201
  * @returns Return true if two poitns are equal with the specified tolerance.
4193
4202
  */
4194
4203
  equalPoint3d(t, e) {
4195
- return new K(t).sub(e).length() < this.equalPointTol;
4204
+ return new $(t).sub(e).length() < this.equalPointTol;
4196
4205
  }
4197
4206
  /**
4198
4207
  * Return true if the value is equal to zero with the specified tolerance.
@@ -4352,8 +4361,8 @@ function dc(n, t, e, s) {
4352
4361
  s
4353
4362
  );
4354
4363
  for (let C = 1; C <= v; C++) {
4355
- const V = h + C * f, z = ii(V, n, t, e, s), at = z[0] - x[0], _t = z[1] - x[1], st = z[2] - x[2];
4356
- p += Math.sqrt(at * at + _t * _t + st * st), x = z;
4364
+ const V = h + C * f, z = ii(V, n, t, e, s), st = z[0] - x[0], _t = z[1] - x[1], it = z[2] - x[2];
4365
+ p += Math.sqrt(st * st + _t * _t + it * it), x = z;
4357
4366
  }
4358
4367
  const b = ii(
4359
4368
  u,
@@ -4367,7 +4376,7 @@ function dc(n, t, e, s) {
4367
4376
  function dp(n) {
4368
4377
  return n.map((t) => [...t]);
4369
4378
  }
4370
- class $n {
4379
+ class Kn {
4371
4380
  /**
4372
4381
  * Create one instance of this class
4373
4382
  * @param x Input x coordinate
@@ -4401,13 +4410,13 @@ class $n {
4401
4410
  }
4402
4411
  if (b !== C || v !== E || f !== M || x !== L) {
4403
4412
  let V = 1 - p;
4404
- const z = v * E + f * M + x * L + b * C, at = z >= 0 ? 1 : -1, _t = 1 - z * z;
4413
+ const z = v * E + f * M + x * L + b * C, st = z >= 0 ? 1 : -1, _t = 1 - z * z;
4405
4414
  if (_t > Number.EPSILON) {
4406
- const H = Math.sqrt(_t), dt = Math.atan2(H, z * at);
4415
+ const H = Math.sqrt(_t), dt = Math.atan2(H, z * st);
4407
4416
  V = Math.sin(V * dt) / H, p = Math.sin(p * dt) / H;
4408
4417
  }
4409
- const st = p * at;
4410
- if (v = v * V + E * st, f = f * V + M * st, x = x * V + L * st, b = b * V + C * st, V === 1 - p) {
4418
+ const it = p * st;
4419
+ if (v = v * V + E * it, f = f * V + M * it, x = x * V + L * it, b = b * V + C * it, V === 1 - p) {
4411
4420
  const H = 1 / Math.sqrt(v * v + f * f + x * x + b * b);
4412
4421
  v *= H, f *= H, x *= H, b *= H;
4413
4422
  }
@@ -4480,7 +4489,7 @@ class $n {
4480
4489
  * @returns Return cloned instance
4481
4490
  */
4482
4491
  clone() {
4483
- return new $n(this._x, this._y, this._z, this._w);
4492
+ return new Kn(this._x, this._y, this._z, this._w);
4484
4493
  }
4485
4494
  /**
4486
4495
  * Copy the x, y, z and w properties of q into this quaternion.
@@ -5401,8 +5410,8 @@ const Ae = class Ol {
5401
5410
  }
5402
5411
  };
5403
5412
  Ae.ORIGIN = Object.freeze(new Ae(0, 0, 0)), Ae.X_AXIS = Object.freeze(new Ae(1, 0, 0)), Ae.NEGATIVE_X_AXIS = Object.freeze(new Ae(-1, 0, 0)), Ae.Y_AXIS = Object.freeze(new Ae(0, 1, 0)), Ae.NEGATIVE_Y_AXIS = Object.freeze(new Ae(0, -1, 0)), Ae.Z_AXIS = Object.freeze(new Ae(0, 0, 1)), Ae.NEGATIVE_Z_AXIS = Object.freeze(new Ae(0, 0, -1));
5404
- let K = Ae;
5405
- const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl {
5413
+ let $ = Ae;
5414
+ const Wi = /* @__PURE__ */ new $(), Xo = /* @__PURE__ */ new Kn(), ha = class Cl {
5406
5415
  /**
5407
5416
  * Create a 4x4 matrix with the given arguments in row-major order. If no arguments are provided,
5408
5417
  * the constructor initializes the Matrix4 to the 4x4 identity matrix.
@@ -5529,11 +5538,11 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
5529
5538
  * @returns Return this matrix
5530
5539
  */
5531
5540
  setFromExtrusionDirection(t) {
5532
- if (Nl.equalPoint3d(t, K.Z_AXIS))
5541
+ if (Nl.equalPoint3d(t, $.Z_AXIS))
5533
5542
  this.identity();
5534
5543
  else {
5535
- const e = new K(1, 0, 0);
5536
- Math.abs(t.x) < 1 / 64 && Math.abs(t.y) < 1 / 64 ? e.crossVectors(K.Y_AXIS, t).normalize() : e.crossVectors(K.Z_AXIS, t).normalize();
5544
+ const e = new $(1, 0, 0);
5545
+ Math.abs(t.x) < 1 / 64 && Math.abs(t.y) < 1 / 64 ? e.crossVectors($.Y_AXIS, t).normalize() : e.crossVectors($.Z_AXIS, t).normalize();
5537
5546
  const s = t.clone().cross(e).normalize();
5538
5547
  this.set(
5539
5548
  e.x,
@@ -5751,8 +5760,8 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
5751
5760
  * @returns Return this matrix
5752
5761
  */
5753
5762
  multiplyMatrices(t, e) {
5754
- const s = t.elements, a = e.elements, h = this.elements, u = s[0], p = s[4], v = s[8], f = s[12], x = s[1], b = s[5], E = s[9], M = s[13], L = s[2], C = s[6], V = s[10], z = s[14], at = s[3], _t = s[7], st = s[11], H = s[15], dt = a[0], it = a[4], Dt = a[8], $t = a[12], Xt = a[1], xt = a[5], Bt = a[9], ve = a[13], we = a[2], ze = a[6], ne = a[10], de = a[14], Q = a[3], Nt = a[7], pe = a[11], vr = a[15];
5755
- return h[0] = u * dt + p * Xt + v * we + f * Q, h[4] = u * it + p * xt + v * ze + f * Nt, h[8] = u * Dt + p * Bt + v * ne + f * pe, h[12] = u * $t + p * ve + v * de + f * vr, h[1] = x * dt + b * Xt + E * we + M * Q, h[5] = x * it + b * xt + E * ze + M * Nt, h[9] = x * Dt + b * Bt + E * ne + M * pe, h[13] = x * $t + b * ve + E * de + M * vr, h[2] = L * dt + C * Xt + V * we + z * Q, h[6] = L * it + C * xt + V * ze + z * Nt, h[10] = L * Dt + C * Bt + V * ne + z * pe, h[14] = L * $t + C * ve + V * de + z * vr, h[3] = at * dt + _t * Xt + st * we + H * Q, h[7] = at * it + _t * xt + st * ze + H * Nt, h[11] = at * Dt + _t * Bt + st * ne + H * pe, h[15] = at * $t + _t * ve + st * de + H * vr, this;
5763
+ const s = t.elements, a = e.elements, h = this.elements, u = s[0], p = s[4], v = s[8], f = s[12], x = s[1], b = s[5], E = s[9], M = s[13], L = s[2], C = s[6], V = s[10], z = s[14], st = s[3], _t = s[7], it = s[11], H = s[15], dt = a[0], at = a[4], Dt = a[8], Kt = a[12], Xt = a[1], xt = a[5], Bt = a[9], ve = a[13], we = a[2], ze = a[6], ne = a[10], de = a[14], Q = a[3], Nt = a[7], pe = a[11], vr = a[15];
5764
+ return h[0] = u * dt + p * Xt + v * we + f * Q, h[4] = u * at + p * xt + v * ze + f * Nt, h[8] = u * Dt + p * Bt + v * ne + f * pe, h[12] = u * Kt + p * ve + v * de + f * vr, h[1] = x * dt + b * Xt + E * we + M * Q, h[5] = x * at + b * xt + E * ze + M * Nt, h[9] = x * Dt + b * Bt + E * ne + M * pe, h[13] = x * Kt + b * ve + E * de + M * vr, h[2] = L * dt + C * Xt + V * we + z * Q, h[6] = L * at + C * xt + V * ze + z * Nt, h[10] = L * Dt + C * Bt + V * ne + z * pe, h[14] = L * Kt + C * ve + V * de + z * vr, h[3] = st * dt + _t * Xt + it * we + H * Q, h[7] = st * at + _t * xt + it * ze + H * Nt, h[11] = st * Dt + _t * Bt + it * ne + H * pe, h[15] = st * Kt + _t * ve + it * de + H * vr, this;
5756
5765
  }
5757
5766
  /**
5758
5767
  * Multiply every component of the matrix by a scalar value s.
@@ -5789,7 +5798,7 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
5789
5798
  */
5790
5799
  setPosition(t, e, s) {
5791
5800
  const a = this.elements;
5792
- return t instanceof K ? (a[12] = t.x, a[13] = t.y, a[14] = t.z) : (a[12] = t, a[13] = e, a[14] = s), this;
5801
+ return t instanceof $ ? (a[12] = t.x, a[13] = t.y, a[14] = t.z) : (a[12] = t, a[13] = e, a[14] = s), this;
5793
5802
  }
5794
5803
  /**
5795
5804
  * Invert this matrix, using the analytic method. You can not invert with a determinant of zero.
@@ -5797,11 +5806,11 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
5797
5806
  * @returns Return this matrix
5798
5807
  */
5799
5808
  invert() {
5800
- const t = this.elements, e = t[0], s = t[1], a = t[2], h = t[3], u = t[4], p = t[5], v = t[6], f = t[7], x = t[8], b = t[9], E = t[10], M = t[11], L = t[12], C = t[13], V = t[14], z = t[15], at = b * V * f - C * E * f + C * v * M - p * V * M - b * v * z + p * E * z, _t = L * E * f - x * V * f - L * v * M + u * V * M + x * v * z - u * E * z, st = x * C * f - L * b * f + L * p * M - u * C * M - x * p * z + u * b * z, H = L * b * v - x * C * v - L * p * E + u * C * E + x * p * V - u * b * V, dt = e * at + s * _t + a * st + h * H;
5809
+ const t = this.elements, e = t[0], s = t[1], a = t[2], h = t[3], u = t[4], p = t[5], v = t[6], f = t[7], x = t[8], b = t[9], E = t[10], M = t[11], L = t[12], C = t[13], V = t[14], z = t[15], st = b * V * f - C * E * f + C * v * M - p * V * M - b * v * z + p * E * z, _t = L * E * f - x * V * f - L * v * M + u * V * M + x * v * z - u * E * z, it = x * C * f - L * b * f + L * p * M - u * C * M - x * p * z + u * b * z, H = L * b * v - x * C * v - L * p * E + u * C * E + x * p * V - u * b * V, dt = e * st + s * _t + a * it + h * H;
5801
5810
  if (dt === 0)
5802
5811
  return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
5803
- const it = 1 / dt;
5804
- return t[0] = at * it, t[1] = (C * E * h - b * V * h - C * a * M + s * V * M + b * a * z - s * E * z) * it, t[2] = (p * V * h - C * v * h + C * a * f - s * V * f - p * a * z + s * v * z) * it, t[3] = (b * v * h - p * E * h - b * a * f + s * E * f + p * a * M - s * v * M) * it, t[4] = _t * it, t[5] = (x * V * h - L * E * h + L * a * M - e * V * M - x * a * z + e * E * z) * it, t[6] = (L * v * h - u * V * h - L * a * f + e * V * f + u * a * z - e * v * z) * it, t[7] = (u * E * h - x * v * h + x * a * f - e * E * f - u * a * M + e * v * M) * it, t[8] = st * it, t[9] = (L * b * h - x * C * h - L * s * M + e * C * M + x * s * z - e * b * z) * it, t[10] = (u * C * h - L * p * h + L * s * f - e * C * f - u * s * z + e * p * z) * it, t[11] = (x * p * h - u * b * h - x * s * f + e * b * f + u * s * M - e * p * M) * it, t[12] = H * it, t[13] = (x * C * a - L * b * a + L * s * E - e * C * E - x * s * V + e * b * V) * it, t[14] = (L * p * a - u * C * a - L * s * v + e * C * v + u * s * V - e * p * V) * it, t[15] = (u * b * a - x * p * a + x * s * v - e * b * v - u * s * E + e * p * E) * it, this;
5812
+ const at = 1 / dt;
5813
+ return t[0] = st * at, t[1] = (C * E * h - b * V * h - C * a * M + s * V * M + b * a * z - s * E * z) * at, t[2] = (p * V * h - C * v * h + C * a * f - s * V * f - p * a * z + s * v * z) * at, t[3] = (b * v * h - p * E * h - b * a * f + s * E * f + p * a * M - s * v * M) * at, t[4] = _t * at, t[5] = (x * V * h - L * E * h + L * a * M - e * V * M - x * a * z + e * E * z) * at, t[6] = (L * v * h - u * V * h - L * a * f + e * V * f + u * a * z - e * v * z) * at, t[7] = (u * E * h - x * v * h + x * a * f - e * E * f - u * a * M + e * v * M) * at, t[8] = it * at, t[9] = (L * b * h - x * C * h - L * s * M + e * C * M + x * s * z - e * b * z) * at, t[10] = (u * C * h - L * p * h + L * s * f - e * C * f - u * s * z + e * p * z) * at, t[11] = (x * p * h - u * b * h - x * s * f + e * b * f + u * s * M - e * p * M) * at, t[12] = H * at, t[13] = (x * C * a - L * b * a + L * s * E - e * C * E - x * s * V + e * b * V) * at, t[14] = (L * p * a - u * C * a - L * s * v + e * C * v + u * s * V - e * p * V) * at, t[15] = (u * b * a - x * p * a + x * s * v - e * b * v - u * s * E + e * p * E) * at, this;
5805
5814
  }
5806
5815
  /**
5807
5816
  * Multiply the columns of this matrix by vector v.
@@ -5828,7 +5837,7 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
5828
5837
  * @returns Return this matrix
5829
5838
  */
5830
5839
  makeTranslation(t, e, s) {
5831
- return t instanceof K ? this.set(1, 0, 0, t.x, 0, 1, 0, t.y, 0, 0, 1, t.z, 0, 0, 0, 1) : this.set(1, 0, 0, t, 0, 1, 0, e, 0, 0, 1, s, 0, 0, 0, 1), this;
5840
+ return t instanceof $ ? this.set(1, 0, 0, t.x, 0, 1, 0, t.y, 0, 0, 1, t.z, 0, 0, 0, 1) : this.set(1, 0, 0, t, 0, 1, 0, e, 0, 0, 1, s, 0, 0, 0, 1), this;
5832
5841
  }
5833
5842
  /**
5834
5843
  * Set this matrix as a rotational transformation around the X axis by theta (θ) radians.
@@ -5915,8 +5924,8 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
5915
5924
  * @returns Return this matrix
5916
5925
  */
5917
5926
  compose(t, e, s) {
5918
- const a = this.elements, h = e.x, u = e.y, p = e.z, v = e.w, f = h + h, x = u + u, b = p + p, E = h * f, M = h * x, L = h * b, C = u * x, V = u * b, z = p * b, at = v * f, _t = v * x, st = v * b, H = s.x, dt = s.y, it = s.z;
5919
- return a[0] = (1 - (C + z)) * H, a[1] = (M + st) * H, a[2] = (L - _t) * H, a[3] = 0, a[4] = (M - st) * dt, a[5] = (1 - (E + z)) * dt, a[6] = (V + at) * dt, a[7] = 0, a[8] = (L + _t) * it, a[9] = (V - at) * it, a[10] = (1 - (E + C)) * it, a[11] = 0, a[12] = t.x, a[13] = t.y, a[14] = t.z, a[15] = 1, this;
5927
+ const a = this.elements, h = e.x, u = e.y, p = e.z, v = e.w, f = h + h, x = u + u, b = p + p, E = h * f, M = h * x, L = h * b, C = u * x, V = u * b, z = p * b, st = v * f, _t = v * x, it = v * b, H = s.x, dt = s.y, at = s.z;
5928
+ return a[0] = (1 - (C + z)) * H, a[1] = (M + it) * H, a[2] = (L - _t) * H, a[3] = 0, a[4] = (M - it) * dt, a[5] = (1 - (E + z)) * dt, a[6] = (V + st) * dt, a[7] = 0, a[8] = (L + _t) * at, a[9] = (V - st) * at, a[10] = (1 - (E + C)) * at, a[11] = 0, a[12] = t.x, a[13] = t.y, a[14] = t.z, a[15] = 1, this;
5920
5929
  }
5921
5930
  /**
5922
5931
  * Decompose this matrix into its position, quaternion and scale components.
@@ -6063,7 +6072,7 @@ const Wi = /* @__PURE__ */ new K(), Xo = /* @__PURE__ */ new $n(), ha = class Cl
6063
6072
  };
6064
6073
  ha.IDENTITY = Object.freeze(new ha());
6065
6074
  let Je = ha;
6066
- const Wn = /* @__PURE__ */ new K(), lr = /* @__PURE__ */ new Je(), pc = /* @__PURE__ */ new K(0, 0, 0), mc = /* @__PURE__ */ new K(1, 1, 1), Zr = /* @__PURE__ */ new K(), Zs = /* @__PURE__ */ new K(), We = /* @__PURE__ */ new K();
6075
+ const Wn = /* @__PURE__ */ new $(), lr = /* @__PURE__ */ new Je(), pc = /* @__PURE__ */ new $(0, 0, 0), mc = /* @__PURE__ */ new $(1, 1, 1), Zr = /* @__PURE__ */ new $(), Zs = /* @__PURE__ */ new $(), We = /* @__PURE__ */ new $();
6067
6076
  class Ot {
6068
6077
  /**
6069
6078
  * Create a 3d box bounded by min and max.
@@ -6073,7 +6082,7 @@ class Ot {
6073
6082
  * Set it to ( - Infinity, - Infinity, - Infinity ) if undefined or null provided.
6074
6083
  */
6075
6084
  constructor(t = void 0, e = void 0) {
6076
- this.min = t == null ? new K(1 / 0, 1 / 0, 1 / 0) : new K(t.x, t.y, t.z), this.max = e == null ? new K(-1 / 0, -1 / 0, -1 / 0) : new K(e.x, e.y, e.z);
6085
+ this.min = t == null ? new $(1 / 0, 1 / 0, 1 / 0) : new $(t.x, t.y, t.z), this.max = e == null ? new $(-1 / 0, -1 / 0, -1 / 0) : new $(e.x, e.y, e.z);
6077
6086
  }
6078
6087
  /**
6079
6088
  * Set the lower and upper (x, y, z) boundaries of this box.
@@ -6167,13 +6176,13 @@ class Ot {
6167
6176
  * Center point of this box
6168
6177
  */
6169
6178
  get center() {
6170
- return this.isEmpty() ? new K(0, 0, 0) : new K(0, 0, 0).addVectors(this.min, this.max).multiplyScalar(0.5);
6179
+ return this.isEmpty() ? new $(0, 0, 0) : new $(0, 0, 0).addVectors(this.min, this.max).multiplyScalar(0.5);
6171
6180
  }
6172
6181
  /**
6173
6182
  * Return the width, height and depth of this box.
6174
6183
  */
6175
6184
  get size() {
6176
- return this.isEmpty() ? new K(0, 0, 0) : new K(0, 0, 0).subVectors(this.max, this.min);
6185
+ return this.isEmpty() ? new $(0, 0, 0) : new $(0, 0, 0).subVectors(this.max, this.min);
6177
6186
  }
6178
6187
  /**
6179
6188
  * Expand the boundaries of this box to include point.
@@ -6313,15 +6322,15 @@ class Ot {
6313
6322
  }
6314
6323
  }
6315
6324
  const Sr = [
6316
- /* @__PURE__ */ new K(),
6317
- /* @__PURE__ */ new K(),
6318
- /* @__PURE__ */ new K(),
6319
- /* @__PURE__ */ new K(),
6320
- /* @__PURE__ */ new K(),
6321
- /* @__PURE__ */ new K(),
6322
- /* @__PURE__ */ new K(),
6323
- /* @__PURE__ */ new K()
6324
- ], Di = /* @__PURE__ */ new K(), qo = /* @__PURE__ */ new ee();
6325
+ /* @__PURE__ */ new $(),
6326
+ /* @__PURE__ */ new $(),
6327
+ /* @__PURE__ */ new $(),
6328
+ /* @__PURE__ */ new $(),
6329
+ /* @__PURE__ */ new $(),
6330
+ /* @__PURE__ */ new $(),
6331
+ /* @__PURE__ */ new $(),
6332
+ /* @__PURE__ */ new $()
6333
+ ], Di = /* @__PURE__ */ new $(), qo = /* @__PURE__ */ new ee();
6325
6334
  class Se {
6326
6335
  /**
6327
6336
  * Create a 2d box bounded by min and max.
@@ -6539,7 +6548,7 @@ class Se {
6539
6548
  return t.min.equals(this.min) && t.max.equals(this.max);
6540
6549
  }
6541
6550
  }
6542
- const Ko = /* @__PURE__ */ new K(), gc = /* @__PURE__ */ new K(), _c = /* @__PURE__ */ new Ba();
6551
+ const $o = /* @__PURE__ */ new $(), gc = /* @__PURE__ */ new $(), _c = /* @__PURE__ */ new Ba();
6543
6552
  class ki {
6544
6553
  /**
6545
6554
  * Create one plane
@@ -6547,7 +6556,7 @@ class ki {
6547
6556
  * Default is (1, 0, 0).
6548
6557
  * @param constant (optional) Input the signed distance from the origin to the plane. Default is 0.
6549
6558
  */
6550
- constructor(t = new K(1, 0, 0), e = 0) {
6559
+ constructor(t = new $(1, 0, 0), e = 0) {
6551
6560
  this.normal = t, this.constant = e;
6552
6561
  }
6553
6562
  /**
@@ -6588,7 +6597,7 @@ class ki {
6588
6597
  * @returns Return this plane
6589
6598
  */
6590
6599
  setFromCoplanarPoints(t, e, s) {
6591
- const a = Ko.subVectors(s, e).cross(gc.subVectors(t, e)).normalize();
6600
+ const a = $o.subVectors(s, e).cross(gc.subVectors(t, e)).normalize();
6592
6601
  return this.setFromNormalAndCoplanarPoint(a, t), this;
6593
6602
  }
6594
6603
  /**
@@ -6690,7 +6699,7 @@ class ki {
6690
6699
  * @returns Return this plane
6691
6700
  */
6692
6701
  applyMatrix4(t, e) {
6693
- const s = e || _c.getNormalMatrix(t), a = this.coplanarPoint(Ko).applyMatrix4(t), h = this.normal.applyMatrix3(s).normalize();
6702
+ const s = e || _c.getNormalMatrix(t), a = this.coplanarPoint($o).applyMatrix4(t), h = this.normal.applyMatrix3(s).normalize();
6694
6703
  return this.constant = -a.dot(h), this;
6695
6704
  }
6696
6705
  /**
@@ -6731,7 +6740,7 @@ class Mt extends ee {
6731
6740
  }), e;
6732
6741
  }
6733
6742
  }
6734
- class W extends K {
6743
+ class W extends $ {
6735
6744
  /**
6736
6745
  * Convert one point array to one number array
6737
6746
  * @param array Input one point array
@@ -6745,7 +6754,7 @@ class W extends K {
6745
6754
  }), a;
6746
6755
  }
6747
6756
  }
6748
- const $o = /* @__PURE__ */ new Je(), Zo = /* @__PURE__ */ new $n(), Bl = class ua {
6757
+ const Ko = /* @__PURE__ */ new Je(), Zo = /* @__PURE__ */ new Kn(), Bl = class ua {
6749
6758
  /**
6750
6759
  * Create one instance of this class
6751
6760
  * @param x (optional) the angle of the x axis in radians. Default is 0.
@@ -6874,7 +6883,7 @@ const $o = /* @__PURE__ */ new Je(), Zo = /* @__PURE__ */ new $n(), Bl = class u
6874
6883
  * @returns Return this euler
6875
6884
  */
6876
6885
  setFromQuaternion(t, e, s = !0) {
6877
- return $o.makeRotationFromQuaternion(t), this.setFromRotationMatrix($o, e, s);
6886
+ return Ko.makeRotationFromQuaternion(t), this.setFromRotationMatrix(Ko, e, s);
6878
6887
  }
6879
6888
  /**
6880
6889
  * Set the x, y and z, and optionally update the order.
@@ -7265,15 +7274,15 @@ class Xn extends Ws {
7265
7274
  * @param p3 Input the end point
7266
7275
  */
7267
7276
  createByThreePoints(t, e, s) {
7268
- const a = (it, Dt) => ({
7269
- x: (it.x + Dt.x) / 2,
7270
- y: (it.y + Dt.y) / 2
7271
- }), h = (it, Dt) => (Dt.y - it.y) / (Dt.x - it.x), u = (it) => -1 / it, p = a(t, e), v = a(e, s), f = h(t, e), x = h(e, s), b = u(f), E = u(x), M = (it, Dt, $t, Xt) => {
7272
- const xt = (Xt - Dt) / (it - $t), Bt = it * xt + Dt;
7277
+ const a = (at, Dt) => ({
7278
+ x: (at.x + Dt.x) / 2,
7279
+ y: (at.y + Dt.y) / 2
7280
+ }), h = (at, Dt) => (Dt.y - at.y) / (Dt.x - at.x), u = (at) => -1 / at, p = a(t, e), v = a(e, s), f = h(t, e), x = h(e, s), b = u(f), E = u(x), M = (at, Dt, Kt, Xt) => {
7281
+ const xt = (Xt - Dt) / (at - Kt), Bt = at * xt + Dt;
7273
7282
  return { x: xt, y: Bt };
7274
7283
  }, L = p.y - b * p.x, C = v.y - E * v.x, V = M(b, L, E, C), z = Math.sqrt(
7275
7284
  Math.pow(t.x - V.x, 2) + Math.pow(t.y - V.y, 2)
7276
- ), at = (it, Dt) => Math.atan2(it.y - Dt.y, it.x - Dt.x), _t = at(t, V), st = at(e, V), H = at(s, V), dt = H > _t && H < st || _t > H && _t < st || st > H && st < _t;
7285
+ ), st = (at, Dt) => Math.atan2(at.y - Dt.y, at.x - Dt.x), _t = st(t, V), it = st(e, V), H = st(s, V), dt = H > _t && H < it || _t > H && _t < it || it > H && it < _t;
7277
7286
  this.center = V, this.radius = z, this._clockwise = !dt, this._startAngle = _t, this._endAngle = H;
7278
7287
  }
7279
7288
  /**
@@ -7531,7 +7540,7 @@ let js = class zl extends Ds {
7531
7540
  * Normalized direction vector of this line
7532
7541
  */
7533
7542
  get direction() {
7534
- return new K().subVectors(this.endPoint, this.startPoint).normalize();
7543
+ return new $().subVectors(this.endPoint, this.startPoint).normalize();
7535
7544
  }
7536
7545
  /**
7537
7546
  * The middle point of this line.
@@ -7717,7 +7726,7 @@ let js = class zl extends Ds {
7717
7726
  return new zl(this._start.clone(), this._end.clone());
7718
7727
  }
7719
7728
  };
7720
- const dn = /* @__PURE__ */ new K(), Qo = /* @__PURE__ */ new K(), Qs = /* @__PURE__ */ new K();
7729
+ const dn = /* @__PURE__ */ new $(), Qo = /* @__PURE__ */ new $(), Qs = /* @__PURE__ */ new $();
7721
7730
  let Vl = class ai extends Ds {
7722
7731
  /**
7723
7732
  * Compute center point of the arc given three points
@@ -7727,10 +7736,10 @@ let Vl = class ai extends Ds {
7727
7736
  * @returns Return center point of the arc
7728
7737
  */
7729
7738
  static computeCenterPoint(t, e, s) {
7730
- const a = new K().addVectors(t, e).multiplyScalar(0.5), h = new K().addVectors(t, s).multiplyScalar(0.5), u = new K().subVectors(e, t), p = new K().subVectors(s, t), v = new K().crossVectors(u, p).normalize();
7739
+ const a = new $().addVectors(t, e).multiplyScalar(0.5), h = new $().addVectors(t, s).multiplyScalar(0.5), u = new $().subVectors(e, t), p = new $().subVectors(s, t), v = new $().crossVectors(u, p).normalize();
7731
7740
  if (v.lengthSq() === 0)
7732
7741
  return console.error("Points are collinear and cannot form a valid arc."), null;
7733
- const f = new K().crossVectors(u, v).normalize(), x = new K().crossVectors(p, v).normalize(), b = f.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), E = x.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), M = new js(a, a.clone().add(b)), L = new js(h, h.clone().add(E)), C = new K();
7742
+ const f = new $().crossVectors(u, v).normalize(), x = new $().crossVectors(p, v).normalize(), b = f.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), E = x.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), M = new js(a, a.clone().add(b)), L = new js(h, h.clone().add(E)), C = new $();
7734
7743
  return M.closestPointToPoint(L.startPoint, !0, C) ? C : (console.error("Cannot find a valid center for the arc."), null);
7735
7744
  }
7736
7745
  /**
@@ -7746,13 +7755,13 @@ let Vl = class ai extends Ds {
7746
7755
  s
7747
7756
  );
7748
7757
  if (a) {
7749
- const h = a.distanceTo(t), u = new K().subVectors(t, a), p = new K().subVectors(e, a), v = Math.atan2(u.y, u.x), f = Math.atan2(p.y, p.x);
7758
+ const h = a.distanceTo(t), u = new $().subVectors(t, a), p = new $().subVectors(e, a), v = Math.atan2(u.y, u.x), f = Math.atan2(p.y, p.x);
7750
7759
  return new ai(
7751
7760
  a,
7752
7761
  h,
7753
7762
  v,
7754
7763
  f,
7755
- K.Z_AXIS
7764
+ $.Z_AXIS
7756
7765
  );
7757
7766
  }
7758
7767
  }
@@ -7765,7 +7774,7 @@ let Vl = class ai extends Ds {
7765
7774
  * @param normal The normal vector of the plane in which the arc lies.
7766
7775
  * @param refVec The reference vector from which angles are measured. Default value is x axis.
7767
7776
  */
7768
- constructor(t, e, s, a, h, u = K.X_AXIS) {
7777
+ constructor(t, e, s, a, h, u = $.X_AXIS) {
7769
7778
  super(), this.center = t, this.radius = e, this.startAngle = s, this.endAngle = a, this.normal = h, this.refVec = u, (a - s) % Jt == 0 ? (this.startAngle = 0, this.endAngle = Jt) : (this.startAngle = s, this.endAngle = a);
7770
7779
  }
7771
7780
  /**
@@ -7830,7 +7839,7 @@ let Vl = class ai extends Ds {
7830
7839
  return this._normal;
7831
7840
  }
7832
7841
  set normal(t) {
7833
- this._normal = new K(t.x, t.y, t.z), this._normal.normalize(), this._boundingBoxNeedsUpdate = !0;
7842
+ this._normal = new $(t.x, t.y, t.z), this._normal.normalize(), this._boundingBoxNeedsUpdate = !0;
7834
7843
  }
7835
7844
  /**
7836
7845
  * The unit reference vector of circular arc
@@ -7839,7 +7848,7 @@ let Vl = class ai extends Ds {
7839
7848
  return this._refVec;
7840
7849
  }
7841
7850
  set refVec(t) {
7842
- this._refVec = new K(t.x, t.y, t.z), this._refVec.normalize(), this._boundingBoxNeedsUpdate = !0;
7851
+ this._refVec = new $(t.x, t.y, t.z), this._refVec.normalize(), this._boundingBoxNeedsUpdate = !0;
7843
7852
  }
7844
7853
  /**
7845
7854
  * The start point of circular arc
@@ -7879,7 +7888,7 @@ let Vl = class ai extends Ds {
7879
7888
  * @param point Input point
7880
7889
  */
7881
7890
  nearestPoint(t) {
7882
- const e = new K(t.x, t.y, t.z || 0), s = this.center, a = this.normal, h = e.clone().sub(s).dot(a), u = e.clone().sub(a.clone().multiplyScalar(h)).clone().sub(s);
7891
+ const e = new $(t.x, t.y, t.z || 0), s = this.center, a = this.normal, h = e.clone().sub(s).dot(a), u = e.clone().sub(a.clone().multiplyScalar(h)).clone().sub(s);
7883
7892
  if (u.lengthSq() === 0)
7884
7893
  return this.startPoint.clone();
7885
7894
  u.normalize().multiplyScalar(this.radius);
@@ -7895,7 +7904,7 @@ let Vl = class ai extends Ds {
7895
7904
  * @returns Array of tangent points on the arc
7896
7905
  */
7897
7906
  tangentPoints(t) {
7898
- const e = [], s = new K(t.x, t.y, t.z || 0), a = this.center, h = this.normal, u = this.radius, p = s.clone().sub(a).dot(h), v = s.clone().sub(h.clone().multiplyScalar(p)), f = a.clone(), x = v.clone().sub(f).length();
7907
+ const e = [], s = new $(t.x, t.y, t.z || 0), a = this.center, h = this.normal, u = this.radius, p = s.clone().sub(a).dot(h), v = s.clone().sub(h.clone().multiplyScalar(p)), f = a.clone(), x = v.clone().sub(f).length();
7899
7908
  if (x < u) return e;
7900
7909
  const b = Math.acos(u / x), E = this.getAngle(v.clone()), M = [E + b, E - b];
7901
7910
  for (const L of M) {
@@ -8009,11 +8018,11 @@ let Vl = class ai extends Ds {
8009
8018
  * Return the plane in which the circular arc lies.
8010
8019
  */
8011
8020
  get plane() {
8012
- const t = new K(this.center).distanceTo(Al);
8021
+ const t = new $(this.center).distanceTo(Al);
8013
8022
  return new ki(this.normal, t);
8014
8023
  }
8015
8024
  };
8016
- const Hi = /* @__PURE__ */ new K();
8025
+ const Hi = /* @__PURE__ */ new $();
8017
8026
  class Mi extends Ws {
8018
8027
  /**
8019
8028
  * Construct an instance of the ellipse arc.
@@ -8262,7 +8271,7 @@ class Fa extends Ds {
8262
8271
  return this._normal;
8263
8272
  }
8264
8273
  set normal(t) {
8265
- this._normal = new K(t.x, t.y, t.z), this._normal.normalize(), this._boundingBoxNeedsUpdate = !0;
8274
+ this._normal = new $(t.x, t.y, t.z), this._normal.normalize(), this._boundingBoxNeedsUpdate = !0;
8266
8275
  }
8267
8276
  /**
8268
8277
  * Unit major axis vector (in WCS coordinates) of the ellipse. The major axis vector is the vector from the
@@ -8272,13 +8281,13 @@ class Fa extends Ds {
8272
8281
  return this._majorAxis;
8273
8282
  }
8274
8283
  set majorAxis(t) {
8275
- this._majorAxis = new K(t.x, t.y, t.z), this._majorAxis.normalize(), this._boundingBoxNeedsUpdate = !0;
8284
+ this._majorAxis = new $(t.x, t.y, t.z), this._majorAxis.normalize(), this._boundingBoxNeedsUpdate = !0;
8276
8285
  }
8277
8286
  /**
8278
8287
  * Unit minor axis vector (in WCS coordinates) of the ellipse.
8279
8288
  */
8280
8289
  get minorAxis() {
8281
- return new K().crossVectors(this.normal, this.majorAxis).normalize();
8290
+ return new $().crossVectors(this.normal, this.majorAxis).normalize();
8282
8291
  }
8283
8292
  /**
8284
8293
  * Compute the start point of the ellipse arc.
@@ -8344,7 +8353,7 @@ class Fa extends Ds {
8344
8353
  * @returns Return bounding box containing the min and max coordinates
8345
8354
  */
8346
8355
  calculateBoundingBox() {
8347
- if (this.majorAxis.equals(K.X_AXIS) || this.majorAxis.equals(K.Y_AXIS) || this.majorAxis.isParallelTo(K.X_AXIS) || this.majorAxis.isParallelTo(K.Y_AXIS)) {
8356
+ if (this.majorAxis.equals($.X_AXIS) || this.majorAxis.equals($.Y_AXIS) || this.majorAxis.isParallelTo($.X_AXIS) || this.majorAxis.isParallelTo($.Y_AXIS)) {
8348
8357
  const t = [this.startAngle, this.endAngle];
8349
8358
  for (let v = 0; v < 2 * Math.PI; v += Math.PI / 2)
8350
8359
  Et.isBetweenAngle(v, this.startAngle, this.endAngle) && t.push(v);
@@ -8404,7 +8413,7 @@ class Fa extends Ds {
8404
8413
  * @returns - True if the point is inside the ellipse, false otherwise.
8405
8414
  */
8406
8415
  contains(t) {
8407
- const e = new K(t).sub(this.center), s = e.dot(this.majorAxis), a = e.dot(this.minorAxis), h = s / this.majorAxisRadius, u = a / this.minorAxisRadius;
8416
+ const e = new $(t).sub(this.center), s = e.dot(this.majorAxis), a = e.dot(this.minorAxis), h = s / this.majorAxisRadius, u = a / this.minorAxisRadius;
8408
8417
  return h * h + u * u <= 1;
8409
8418
  }
8410
8419
  /**
@@ -8437,7 +8446,7 @@ class Fa extends Ds {
8437
8446
  * Return the plane in which the ellipse arc lies.
8438
8447
  */
8439
8448
  get plane() {
8440
- const t = new K(this.center).distanceTo(Al);
8449
+ const t = new $(this.center).distanceTo(Al);
8441
8450
  return new ki(this.normal, t);
8442
8451
  }
8443
8452
  }
@@ -8901,11 +8910,11 @@ var Ul = { exports: {} };
8901
8910
  }, z.deleteField = function(r, i) {
8902
8911
  return Object.prototype.hasOwnProperty.call(r, i) ? (delete r[i], !0) : !1;
8903
8912
  };
8904
- var at = function() {
8913
+ var st = function() {
8905
8914
  };
8906
- b.Std = at, at.__name__ = ["Std"], at.string = function(r) {
8915
+ b.Std = st, st.__name__ = ["Std"], st.string = function(r) {
8907
8916
  return Nt.__string_rec(r, "");
8908
- }, at.parseFloat = function(r) {
8917
+ }, st.parseFloat = function(r) {
8909
8918
  return parseFloat(r);
8910
8919
  };
8911
8920
  var _t = function() {
@@ -8913,13 +8922,13 @@ var Ul = { exports: {} };
8913
8922
  };
8914
8923
  b.StringBuf = _t, _t.__name__ = ["StringBuf"], _t.prototype = {
8915
8924
  add: function(r) {
8916
- this.b += at.string(r);
8925
+ this.b += st.string(r);
8917
8926
  },
8918
8927
  __class__: _t
8919
8928
  };
8920
- var st = function() {
8929
+ var it = function() {
8921
8930
  };
8922
- b.StringTools = st, st.__name__ = ["StringTools"], st.fastCodeAt = function(r, i) {
8931
+ b.StringTools = it, it.__name__ = ["StringTools"], it.fastCodeAt = function(r, i) {
8923
8932
  return r.charCodeAt(i);
8924
8933
  };
8925
8934
  var H = b.ValueType = { __ename__: ["ValueType"], __constructs__: ["TNull", "TInt", "TFloat", "TBool", "TObject", "TFunction", "TClass", "TEnum", "TUnknown"] };
@@ -8983,19 +8992,19 @@ var Ul = { exports: {} };
8983
8992
  return H.TUnknown;
8984
8993
  }
8985
8994
  };
8986
- var it = function() {
8995
+ var at = function() {
8987
8996
  };
8988
- b["haxe.IMap"] = it, it.__name__ = ["haxe", "IMap"];
8997
+ b["haxe.IMap"] = at, at.__name__ = ["haxe", "IMap"];
8989
8998
  var Dt = function(r, i) {
8990
8999
  this.high = r, this.low = i;
8991
9000
  };
8992
9001
  b["haxe._Int64.___Int64"] = Dt, Dt.__name__ = ["haxe", "_Int64", "___Int64"], Dt.prototype = {
8993
9002
  __class__: Dt
8994
9003
  };
8995
- var $t = function() {
8996
- this.buf = new _t(), this.cache = [], this.useCache = $t.USE_CACHE, this.useEnumIndex = $t.USE_ENUM_INDEX, this.shash = new we(), this.scount = 0;
9004
+ var Kt = function() {
9005
+ this.buf = new _t(), this.cache = [], this.useCache = Kt.USE_CACHE, this.useEnumIndex = Kt.USE_ENUM_INDEX, this.shash = new we(), this.scount = 0;
8997
9006
  };
8998
- b["haxe.Serializer"] = $t, $t.__name__ = ["haxe", "Serializer"], $t.prototype = {
9007
+ b["haxe.Serializer"] = Kt, Kt.__name__ = ["haxe", "Serializer"], Kt.prototype = {
8999
9008
  toString: function() {
9000
9009
  return this.buf.b;
9001
9010
  },
@@ -9098,15 +9107,15 @@ var Ul = { exports: {} };
9098
9107
  this.buf.b += "h";
9099
9108
  break;
9100
9109
  case ze:
9101
- for (var G = r, $ = 0, tt = G.length - 2, et = new _t(), ot = $t.BASE64; $ < tt; ) {
9102
- var ct = G.get($++), lt = G.get($++), pt = G.get($++);
9110
+ for (var G = r, K = 0, tt = G.length - 2, et = new _t(), ot = Kt.BASE64; K < tt; ) {
9111
+ var ct = G.get(K++), lt = G.get(K++), pt = G.get(K++);
9103
9112
  et.add(ot.charAt(ct >> 2)), et.add(ot.charAt((ct << 4 | lt >> 4) & 63)), et.add(ot.charAt((lt << 2 | pt >> 6) & 63)), et.add(ot.charAt(pt & 63));
9104
9113
  }
9105
- if ($ == tt) {
9106
- var nt = G.get($++), mt = G.get($++);
9114
+ if (K == tt) {
9115
+ var nt = G.get(K++), mt = G.get(K++);
9107
9116
  et.add(ot.charAt(nt >> 2)), et.add(ot.charAt((nt << 4 | mt >> 4) & 63)), et.add(ot.charAt(mt << 2 & 63));
9108
- } else if ($ == tt + 1) {
9109
- var q = G.get($++);
9117
+ } else if (K == tt + 1) {
9118
+ var q = G.get(K++);
9110
9119
  et.add(ot.charAt(q >> 2)), et.add(ot.charAt(q << 4 & 63));
9111
9120
  }
9112
9121
  var ft = et.b;
@@ -9133,9 +9142,9 @@ var Ul = { exports: {} };
9133
9142
  if (this.serializeRef(r)) return;
9134
9143
  this.cache.pop();
9135
9144
  }
9136
- this.useEnumIndex ? this.buf.b += "j" : this.buf.b += "w", this.serializeString(dt.getEnumName(Yt)), this.useEnumIndex ? (this.buf.b += ":", this.buf.b += at.string(r[1])) : this.serializeString(r[0]), this.buf.b += ":";
9145
+ this.useEnumIndex ? this.buf.b += "j" : this.buf.b += "w", this.serializeString(dt.getEnumName(Yt)), this.useEnumIndex ? (this.buf.b += ":", this.buf.b += st.string(r[1])) : this.serializeString(r[0]), this.buf.b += ":";
9137
9146
  var Zt = r.length;
9138
- this.buf.b += at.string(Zt - 2);
9147
+ this.buf.b += st.string(Zt - 2);
9139
9148
  for (var Ut = 2; Ut < Zt; ) {
9140
9149
  var Qt = Ut++;
9141
9150
  this.serialize(r[Qt]);
@@ -9145,11 +9154,11 @@ var Ul = { exports: {} };
9145
9154
  case 5:
9146
9155
  throw new Q("Cannot serialize function");
9147
9156
  default:
9148
- throw new Q("Cannot serialize " + at.string(r));
9157
+ throw new Q("Cannot serialize " + st.string(r));
9149
9158
  }
9150
9159
  }
9151
9160
  },
9152
- __class__: $t
9161
+ __class__: Kt
9153
9162
  };
9154
9163
  var Xt = function(r) {
9155
9164
  this.buf = r, this.length = r.length, this.pos = 0, this.scache = [], this.cache = [];
@@ -9196,7 +9205,7 @@ var Ul = { exports: {} };
9196
9205
  if (i >= 43 && i < 58 || i == 101 || i == 69) this.pos++;
9197
9206
  else break;
9198
9207
  }
9199
- return at.parseFloat(L.substr(this.buf, r, this.pos - r));
9208
+ return st.parseFloat(L.substr(this.buf, r, this.pos - r));
9200
9209
  },
9201
9210
  unserializeObject: function(r) {
9202
9211
  for (; ; ) {
@@ -9304,8 +9313,8 @@ var Ul = { exports: {} };
9304
9313
  var Y = new xt();
9305
9314
  this.cache.push(Y), this.buf;
9306
9315
  for (var G = this.get(this.pos++); G == 58; ) {
9307
- var $ = this.readDigits();
9308
- Y.set($, this.unserialize()), G = this.get(this.pos++);
9316
+ var K = this.readDigits();
9317
+ Y.set(K, this.unserialize()), G = this.get(this.pos++);
9309
9318
  }
9310
9319
  if (G != 104) throw new Q("Invalid IntMap format");
9311
9320
  return Y;
@@ -9334,17 +9343,17 @@ var Ul = { exports: {} };
9334
9343
  var ft = this.pos, kt = nt & 3, Yt;
9335
9344
  Yt = (nt >> 2) * 3 + (kt >= 2 ? kt - 1 : 0);
9336
9345
  for (var Zt = ft + (nt - kt), Ut = ze.alloc(Yt), Qt = 0; ft < Zt; ) {
9337
- var Le = q[st.fastCodeAt(mt, ft++)], Qe = q[st.fastCodeAt(mt, ft++)];
9346
+ var Le = q[it.fastCodeAt(mt, ft++)], Qe = q[it.fastCodeAt(mt, ft++)];
9338
9347
  Ut.set(Qt++, Le << 2 | Qe >> 4);
9339
- var Pe = q[st.fastCodeAt(mt, ft++)];
9348
+ var Pe = q[it.fastCodeAt(mt, ft++)];
9340
9349
  Ut.set(Qt++, Qe << 4 | Pe >> 2);
9341
- var xe = q[st.fastCodeAt(mt, ft++)];
9350
+ var xe = q[it.fastCodeAt(mt, ft++)];
9342
9351
  Ut.set(Qt++, Pe << 6 | xe);
9343
9352
  }
9344
9353
  if (kt >= 2) {
9345
- var Oe = q[st.fastCodeAt(mt, ft++)], Ge = q[st.fastCodeAt(mt, ft++)];
9354
+ var Oe = q[it.fastCodeAt(mt, ft++)], Ge = q[it.fastCodeAt(mt, ft++)];
9346
9355
  if (Ut.set(Qt++, Oe << 2 | Ge >> 4), kt == 3) {
9347
- var sr = q[st.fastCodeAt(mt, ft++)];
9356
+ var sr = q[it.fastCodeAt(mt, ft++)];
9348
9357
  Ut.set(Qt++, Ge << 4 | sr >> 2);
9349
9358
  }
9350
9359
  }
@@ -9371,7 +9380,7 @@ var Ul = { exports: {} };
9371
9380
  var xt = function() {
9372
9381
  this.h = {};
9373
9382
  };
9374
- b["haxe.ds.IntMap"] = xt, xt.__name__ = ["haxe", "ds", "IntMap"], xt.__interfaces__ = [it], xt.prototype = {
9383
+ b["haxe.ds.IntMap"] = xt, xt.__name__ = ["haxe", "ds", "IntMap"], xt.__interfaces__ = [at], xt.prototype = {
9375
9384
  set: function(r, i) {
9376
9385
  this.h[r] = i;
9377
9386
  },
@@ -9389,7 +9398,7 @@ var Ul = { exports: {} };
9389
9398
  var Bt = function() {
9390
9399
  this.h = {}, this.h.__keys__ = {};
9391
9400
  };
9392
- b["haxe.ds.ObjectMap"] = Bt, Bt.__name__ = ["haxe", "ds", "ObjectMap"], Bt.__interfaces__ = [it], Bt.prototype = {
9401
+ b["haxe.ds.ObjectMap"] = Bt, Bt.__name__ = ["haxe", "ds", "ObjectMap"], Bt.__interfaces__ = [at], Bt.prototype = {
9393
9402
  set: function(r, i) {
9394
9403
  var o = r.__id__ || (r.__id__ = ++Bt.count);
9395
9404
  this.h[o] = i, this.h.__keys__[o] = r;
@@ -9410,7 +9419,7 @@ var Ul = { exports: {} };
9410
9419
  var we = function() {
9411
9420
  this.h = {};
9412
9421
  };
9413
- b["haxe.ds.StringMap"] = we, we.__name__ = ["haxe", "ds", "StringMap"], we.__interfaces__ = [it], we.prototype = {
9422
+ b["haxe.ds.StringMap"] = we, we.__name__ = ["haxe", "ds", "StringMap"], we.__interfaces__ = [at], we.prototype = {
9414
9423
  set: function(r, i) {
9415
9424
  Bi[r] != null ? this.setReserved(r, i) : this.h[r] = i;
9416
9425
  },
@@ -9694,7 +9703,7 @@ var Ul = { exports: {} };
9694
9703
  i == null && (i = 0), o == null && (o = g.byteLength - i), i == 0 ? l = g.a : l = g.a.slice(i, i + o), l.byteLength = l.length, l.byteOffset = i, l.buffer = g;
9695
9704
  } else if (r instanceof Array && r.__enum__ == null)
9696
9705
  l = r.slice(), l.byteLength = l.length, l.byteOffset = 0, l.buffer = new pe(l);
9697
- else throw new Q("TODO " + at.string(r));
9706
+ else throw new Q("TODO " + st.string(r));
9698
9707
  return l.subarray = pr._subarray, l.set = pr._set, l;
9699
9708
  }, pr._set = function(r, i) {
9700
9709
  var o = this;
@@ -10285,7 +10294,7 @@ var Ul = { exports: {} };
10285
10294
  };
10286
10295
  b["verb.core.SerializableBase"] = te, te.__name__ = ["verb", "core", "SerializableBase"], te.prototype = {
10287
10296
  serialize: function() {
10288
- var r = new $t();
10297
+ var r = new Kt();
10289
10298
  return r.serialize(this), r.toString();
10290
10299
  },
10291
10300
  __class__: te
@@ -10388,13 +10397,13 @@ var Ul = { exports: {} };
10388
10397
  b["verb.core.CurveTriPoint"] = Ln, Ln.__name__ = ["verb", "core", "CurveTriPoint"], Ln.prototype = {
10389
10398
  __class__: Ln
10390
10399
  };
10391
- var $e = function(r, i, o, l, c) {
10400
+ var Ke = function(r, i, o, l, c) {
10392
10401
  c == null && (c = !1), l == null && (l = -1), this.uv = o, this.point = r, this.normal = i, this.id = l, this.degen = c;
10393
10402
  };
10394
- b["verb.core.SurfacePoint"] = $e, $e.__name__ = ["verb", "core", "SurfacePoint"], $e.fromUv = function(r, i) {
10395
- return new $e(null, null, [r, i]);
10396
- }, $e.prototype = {
10397
- __class__: $e
10403
+ b["verb.core.SurfacePoint"] = Ke, Ke.__name__ = ["verb", "core", "SurfacePoint"], Ke.fromUv = function(r, i) {
10404
+ return new Ke(null, null, [r, i]);
10405
+ }, Ke.prototype = {
10406
+ __class__: Ke
10398
10407
  };
10399
10408
  var Xs = f.core.CurvePoint = function(r, i) {
10400
10409
  this.u = r, this.pt = i;
@@ -10421,8 +10430,8 @@ var Ul = { exports: {} };
10421
10430
  for (var k, A = S.dimension, T = l.distanceFunction(r, S.kdPoint.point), B, O = [], F = 0, R = l.dim; F < R; )
10422
10431
  F++, O.push(0);
10423
10432
  B = O;
10424
- for (var j, U, X = function($, tt) {
10425
- c.push(new ie($, tt)), c.size() > i && c.pop();
10433
+ for (var j, U, X = function(K, tt) {
10434
+ c.push(new ie(K, tt)), c.size() > i && c.pop();
10426
10435
  }, J = 0, Y = l.dim; J < Y; ) {
10427
10436
  var G = J++;
10428
10437
  G == S.dimension ? B[G] = r[G] : B[G] = S.kdPoint.point[G];
@@ -11141,7 +11150,7 @@ var Ul = { exports: {} };
11141
11150
  return m.add(ln, Yt);
11142
11151
  }; l < o; ) {
11143
11152
  c = J(T), _ = m.sub(c[0][0], i);
11144
- var G = m.norm(_), $ = m.dot(c[1][0], _), tt = m.norm(c[1][0]) * G, et = m.dot(c[0][1], _), ot = m.norm(c[0][1]) * G, ct = $ / tt, lt = et / ot, pt = G < d, nt = ct < g, mt = lt < g;
11153
+ var G = m.norm(_), K = m.dot(c[1][0], _), tt = m.norm(c[1][0]) * G, et = m.dot(c[0][1], _), ot = m.norm(c[0][1]) * G, ct = K / tt, lt = et / ot, pt = G < d, nt = ct < g, mt = lt < g;
11145
11154
  if (pt && nt && mt) return T;
11146
11155
  var q = Y(T, c, _);
11147
11156
  q[0] < y ? k ? q = [I - (q[0] - y), q[1]] : q = [y + rt.EPSILON, q[1]] : q[0] > I && (k ? q = [y + (q[0] - I), q[1]] : q = [I - rt.EPSILON, q[1]]), q[1] < P ? A ? q = [q[0], S - (q[1] - P)] : q = [q[0], P + rt.EPSILON] : q[1] > S && (A ? q = [q[0], P + (q[0] - S)] : q = [q[0], S - rt.EPSILON]);
@@ -11159,14 +11168,14 @@ var Ul = { exports: {} };
11159
11168
  }
11160
11169
  for (var T = 5, B = 0, O, F = 1e-4, R = 5e-4, j, U = r.knots[0], X = Z.last(r.knots), J = m.normSquared(m.sub(r.controlPoints[0], Z.last(r.controlPoints))) < rt.EPSILON, Y = l, G = function(q) {
11161
11170
  return N.rationalCurveDerivatives(r, q, 2);
11162
- }, $ = function(q, ft, kt) {
11171
+ }, K = function(q, ft, kt) {
11163
11172
  var Yt = m.dot(ft[1], kt), Zt = m.dot(ft[2], kt), Ut = m.dot(ft[1], ft[1]), Qt = Zt + Ut;
11164
11173
  return q - Yt / Qt;
11165
11174
  }; B < T; ) {
11166
11175
  O = G(Y), j = m.sub(O[0], i);
11167
11176
  var tt = m.norm(j), et = m.dot(O[1], j), ot = m.norm(O[1]) * tt, ct = et / ot, lt = tt < F, pt = Math.abs(ct) < R;
11168
11177
  if (lt && pt) return Y;
11169
- var nt = $(Y, O, j);
11178
+ var nt = K(Y, O, j);
11170
11179
  nt < U ? J ? nt = X - (nt - U) : nt = U : nt > X && (J ? nt = U + (nt - X) : nt = X);
11171
11180
  var mt = m.norm(m.mul(nt - Y, O[1]));
11172
11181
  if (mt < F) return Y;
@@ -11327,8 +11336,8 @@ var Ul = { exports: {} };
11327
11336
  var X = j++;
11328
11337
  m.subMulMutate(B, zt.get(S, X) * g[X][0], _[S - X][T]);
11329
11338
  for (var J = m.zeros1d(y), Y = 1, G = T + 1; Y < G; ) {
11330
- var $ = Y++;
11331
- m.addMulMutate(J, zt.get(T, $) * g[X][$], _[S - X][T - $]);
11339
+ var K = Y++;
11340
+ m.addMulMutate(J, zt.get(T, K) * g[X][K], _[S - X][T - K]);
11332
11341
  }
11333
11342
  m.subMulMutate(B, zt.get(S, X), J);
11334
11343
  }
@@ -11361,7 +11370,7 @@ var Ul = { exports: {} };
11361
11370
  var A;
11362
11371
  d < _ ? A = d : A = _;
11363
11372
  for (var T = m.zeros3d(d + 1, d + 1, S), B = N.knotSpanGivenN(r, g, l, I), O = N.knotSpanGivenN(i, _, c, P), F = N.derivativeBasisFunctionsGivenNI(B, l, g, r, I), R = N.derivativeBasisFunctionsGivenNI(O, c, _, i, P), j = m.zeros2d(_ + 1, S), U = 0, X = 0, J = k + 1; X < J; ) {
11364
- for (var Y = X++, G = 0, $ = _ + 1; G < $; ) {
11373
+ for (var Y = X++, G = 0, K = _ + 1; G < K; ) {
11365
11374
  var tt = G++;
11366
11375
  j[tt] = m.zeros1d(S);
11367
11376
  for (var et = 0, ot = g + 1; et < ot; ) {
@@ -11414,8 +11423,8 @@ var Ul = { exports: {} };
11414
11423
  var U = j++;
11415
11424
  F.push([]);
11416
11425
  for (var X = 0, J = y - U; X < J; ) {
11417
- for (var Y = X++, G = B[U][Y], $ = 1, tt = Y + 1; $ < tt; ) {
11418
- var et = $++;
11426
+ for (var Y = X++, G = B[U][Y], K = 1, tt = Y + 1; K < tt; ) {
11427
+ var et = K++;
11419
11428
  m.subMulMutate(G, zt.get(Y, et) * O[0][et], F[U][Y - et]);
11420
11429
  }
11421
11430
  for (var ot = 1, ct = U + 1; ot < ct; ) {
@@ -11499,8 +11508,8 @@ var Ul = { exports: {} };
11499
11508
  }
11500
11509
  var G = y - F;
11501
11510
  G < S ? T = G : T = S;
11502
- for (var $ = 0, tt = T + 1; $ < tt; ) {
11503
- var et = $++;
11511
+ for (var K = 0, tt = T + 1; K < tt; ) {
11512
+ var et = K++;
11504
11513
  k[F][et] = m.zeros1d(I);
11505
11514
  for (var ot = 0, ct = i + 1; ot < ct; ) {
11506
11515
  var lt = ot++;
@@ -11542,8 +11551,8 @@ var Ul = { exports: {} };
11542
11551
  return N.volumePointGivenNML(r, c, d, g, i, o, l);
11543
11552
  }, N.volumePointGivenNML = function(r, i, o, l, c, d, g) {
11544
11553
  if (!N.areValidRelations(r.degreeU, r.controlPoints.length, r.knotsU.length) || !N.areValidRelations(r.degreeV, r.controlPoints[0].length, r.knotsV.length) || !N.areValidRelations(r.degreeW, r.controlPoints[0][0].length, r.knotsW.length)) throw new Q("Invalid relations between control points and knot vector");
11545
- for (var _ = r.controlPoints, y = r.degreeU, I = r.degreeV, P = r.degreeW, S = r.knotsU, k = r.knotsV, A = r.knotsW, T = _[0][0][0].length, B = N.knotSpanGivenN(i, y, c, S), O = N.knotSpanGivenN(o, I, d, k), F = N.knotSpanGivenN(l, P, g, A), R = N.basisFunctionsGivenKnotSpanIndex(B, c, y, S), j = N.basisFunctionsGivenKnotSpanIndex(O, d, I, k), U = N.basisFunctionsGivenKnotSpanIndex(F, g, P, A), X = B - y, J = m.zeros1d(T), Y = m.zeros1d(T), G = m.zeros1d(T), $ = 0, tt = P + 1; $ < tt; ) {
11546
- var et = $++;
11554
+ for (var _ = r.controlPoints, y = r.degreeU, I = r.degreeV, P = r.degreeW, S = r.knotsU, k = r.knotsV, A = r.knotsW, T = _[0][0][0].length, B = N.knotSpanGivenN(i, y, c, S), O = N.knotSpanGivenN(o, I, d, k), F = N.knotSpanGivenN(l, P, g, A), R = N.basisFunctionsGivenKnotSpanIndex(B, c, y, S), j = N.basisFunctionsGivenKnotSpanIndex(O, d, I, k), U = N.basisFunctionsGivenKnotSpanIndex(F, g, P, A), X = B - y, J = m.zeros1d(T), Y = m.zeros1d(T), G = m.zeros1d(T), K = 0, tt = P + 1; K < tt; ) {
11555
+ var et = K++;
11547
11556
  G = m.zeros1d(T);
11548
11557
  for (var ot = F - P + et, ct = 0, lt = I + 1; ct < lt; ) {
11549
11558
  var pt = ct++;
@@ -11572,7 +11581,7 @@ var Ul = { exports: {} };
11572
11581
  }
11573
11582
  d[k][k] = y;
11574
11583
  }
11575
- for (var B = m.zeros2d(l + 1, o + 1), O = m.zeros2d(2, o + 1), F = 0, R = 1, j = 0, U = 0, X = 0, J = 0, Y = 0, G = 0, $ = o + 1; G < $; ) {
11584
+ for (var B = m.zeros2d(l + 1, o + 1), O = m.zeros2d(2, o + 1), F = 0, R = 1, j = 0, U = 0, X = 0, J = 0, Y = 0, G = 0, K = o + 1; G < K; ) {
11576
11585
  var tt = G++;
11577
11586
  B[0][tt] = d[tt][o];
11578
11587
  }
@@ -11693,7 +11702,7 @@ var Ul = { exports: {} };
11693
11702
  if (d = N.rationalSurfaceDerivatives(r, o[0], o[1], 1), g = d[0][0], y = d[1][0], I = d[0][1], _ = m.normalized(m.cross(y, I)), P = m.dot(_, g), S = N.rationalSurfaceDerivatives(i, l[0], l[1], 1), k = S[0][0], T = S[1][0], B = S[0][1], A = m.normalized(m.cross(T, B)), O = m.dot(A, k), F = m.distSquared(g, k), F < c * c) break;
11694
11703
  var U = m.normalized(m.cross(_, A)), X = m.dot(U, g), J = ut.threePlanes(_, P, A, O, U, X);
11695
11704
  if (J == null) throw new Q("panic!");
11696
- var Y = m.sub(J, g), G = m.sub(J, k), $ = m.cross(y, _), tt = m.cross(I, _), et = m.cross(T, A), ot = m.cross(B, A), ct = m.dot(tt, Y) / m.dot(tt, y), lt = m.dot($, Y) / m.dot($, I), pt = m.dot(ot, G) / m.dot(ot, T), nt = m.dot(et, G) / m.dot(et, B);
11705
+ var Y = m.sub(J, g), G = m.sub(J, k), K = m.cross(y, _), tt = m.cross(I, _), et = m.cross(T, A), ot = m.cross(B, A), ct = m.dot(tt, Y) / m.dot(tt, y), lt = m.dot(K, Y) / m.dot(K, I), pt = m.dot(ot, G) / m.dot(ot, T), nt = m.dot(et, G) / m.dot(et, B);
11697
11706
  o = m.add([ct, lt], o), l = m.add([pt, nt], l), j++;
11698
11707
  } while (j < R);
11699
11708
  return new ns(o, l, g, F);
@@ -12001,9 +12010,9 @@ var Ul = { exports: {} };
12001
12010
  var J = m.sub(m.mul(Math.cos(O), o), m.mul(Math.sin(O), i)), Y = ut.rays(S, m.mul(1 / m.norm(k), k), X, m.mul(1 / m.norm(J), J)), G = m.add(S, m.mul(Y.u0, k));
12002
12011
  F[B + 1] = P, A[B + 1] = G, B += 2, U < y && (S = X, k = J);
12003
12012
  }
12004
- for (var $ = 2 * y + 1, tt = 0; tt < 3; ) {
12013
+ for (var K = 2 * y + 1, tt = 0; tt < 3; ) {
12005
12014
  var et = tt++;
12006
- T[et] = 0, T[et + $] = 1;
12015
+ T[et] = 0, T[et + K] = 1;
12007
12016
  }
12008
12017
  switch (y) {
12009
12018
  case 2:
@@ -12049,14 +12058,14 @@ var Ul = { exports: {} };
12049
12058
  A += y, B[U] = Math.cos(A), T[U] = Math.sin(A);
12050
12059
  }
12051
12060
  for (var X = 0, J = c.length; X < J; ) {
12052
- var Y = X++, G = je.rayClosestPoint(c[Y], i, o), $ = m.sub(c[Y], G), tt = m.norm($), et = m.cross(o, $);
12053
- tt > rt.EPSILON && ($ = m.mul(1 / tt, $), et = m.mul(1 / tt, et)), O[0][Y] = c[Y];
12061
+ var Y = X++, G = je.rayClosestPoint(c[Y], i, o), K = m.sub(c[Y], G), tt = m.norm(K), et = m.cross(o, K);
12062
+ tt > rt.EPSILON && (K = m.mul(1 / tt, K), et = m.mul(1 / tt, et)), O[0][Y] = c[Y];
12054
12063
  var ot = c[Y];
12055
12064
  F[0][Y] = d[Y];
12056
12065
  for (var ct = et, lt = 0, pt = 1, nt = g + 1; pt < nt; ) {
12057
12066
  var mt = pt++, q;
12058
- tt == 0 ? q = G : q = m.add(G, m.add(m.mul(tt * B[mt], $), m.mul(tt * T[mt], et))), O[lt + 2][Y] = q, F[lt + 2][Y] = d[Y];
12059
- var ft = m.sub(m.mul(B[mt], et), m.mul(T[mt], $));
12067
+ tt == 0 ? q = G : q = m.add(G, m.add(m.mul(tt * B[mt], K), m.mul(tt * T[mt], et))), O[lt + 2][Y] = q, F[lt + 2][Y] = d[Y];
12068
+ var ft = m.sub(m.mul(B[mt], et), m.mul(T[mt], K));
12060
12069
  if (tt == 0) O[lt + 1][Y] = G;
12061
12070
  else {
12062
12071
  var kt = ut.rays(ot, m.mul(1 / m.norm(ct), ct), q, m.mul(1 / m.norm(ft), ft)), Yt = m.add(ot, m.mul(kt.u0, ct));
@@ -12093,7 +12102,7 @@ var Ul = { exports: {} };
12093
12102
  }
12094
12103
  B.push(1 / i * X);
12095
12104
  }
12096
- var G = B.concat(m.rep(i + 1, 1)), $ = [], tt;
12105
+ var G = B.concat(m.rep(i + 1, 1)), K = [], tt;
12097
12106
  O ? tt = r.length + 1 : tt = r.length - 1;
12098
12107
  var et;
12099
12108
  O ? et = r.length - (i - 1) : et = r.length - (i + 1);
@@ -12101,11 +12110,11 @@ var Ul = { exports: {} };
12101
12110
  var ct = d[ot];
12102
12111
  ++ot;
12103
12112
  var lt = N.knotSpanGivenN(tt, i, ct, G), pt = N.basisFunctionsGivenKnotSpanIndex(lt, ct, i, G), nt = lt - i, mt = m.zeros1d(nt), q = m.zeros1d(et - nt);
12104
- $.push(mt.concat(pt).concat(q));
12113
+ K.push(mt.concat(pt).concat(q));
12105
12114
  }
12106
12115
  if (O) {
12107
- var ft = $[0].length - 2, kt = [-1, 1].concat(m.zeros1d(ft)), Yt = m.zeros1d(ft).concat([-1, 1]);
12108
- Z.spliceAndInsert($, 1, 0, kt), Z.spliceAndInsert($, $.length - 1, 0, Yt);
12116
+ var ft = K[0].length - 2, kt = [-1, 1].concat(m.zeros1d(ft)), Yt = m.zeros1d(ft).concat([-1, 1]);
12117
+ Z.spliceAndInsert(K, 1, 0, kt), Z.spliceAndInsert(K, K.length - 1, 0, Yt);
12109
12118
  }
12110
12119
  for (var Zt = r[0].length, Ut = [], Qt = (1 - G[G.length - i - 2]) / i, Le = G[i + 1] / i, Qe = 0; Qe < Zt; ) {
12111
12120
  var Pe = [Qe++], xe;
@@ -12122,7 +12131,7 @@ var Ul = { exports: {} };
12122
12131
  }
12123
12132
  xe.push(Qt * c[Pe[0]]), xe.push(Z.last(r)[Pe[0]]);
12124
12133
  }
12125
- var fr = Ct.solve($, xe);
12134
+ var fr = Ct.solve(K, xe);
12126
12135
  Ut.push(fr);
12127
12136
  }
12128
12137
  var ir = Ct.transpose(Ut);
@@ -12154,8 +12163,8 @@ var Ul = { exports: {} };
12154
12163
  return o;
12155
12164
  }, yt.unifyCurveKnotVectors = function(r) {
12156
12165
  r = r.map(gt.clonedCurve);
12157
- for (var i = C.fold(r, function(G, $) {
12158
- return yt.imax(G.degree, $);
12166
+ for (var i = C.fold(r, function(G, K) {
12167
+ return yt.imax(G.degree, K);
12159
12168
  }, 0), o = 0, l = r.length; o < l; ) {
12160
12169
  var c = o++;
12161
12170
  r[c].degree < i && (r[c] = yt.curveElevateDegree(r[c], i));
@@ -12168,25 +12177,25 @@ var Ul = { exports: {} };
12168
12177
  for (var I = 0, P = r.length; I < P; ) {
12169
12178
  var S = I++, k = [d[S].min];
12170
12179
  r[S].knots = r[S].knots.map(/* @__PURE__ */ function(G) {
12171
- return function($) {
12172
- return $ - G[0];
12180
+ return function(K) {
12181
+ return K - G[0];
12173
12182
  };
12174
12183
  }(k));
12175
12184
  }
12176
12185
  for (var A = d.map(function(G) {
12177
12186
  return G.max - G.min;
12178
- }), T = C.fold(A, function(G, $) {
12179
- return Math.max(G, $);
12187
+ }), T = C.fold(A, function(G, K) {
12188
+ return Math.max(G, K);
12180
12189
  }, 0), B = 0, O = r.length; B < O; ) {
12181
12190
  var F = B++, R = [T / A[F]];
12182
12191
  r[F].knots = r[F].knots.map(/* @__PURE__ */ function(G) {
12183
- return function($) {
12184
- return $ * G[0];
12192
+ return function(K) {
12193
+ return K * G[0];
12185
12194
  };
12186
12195
  }(R));
12187
12196
  }
12188
- for (var j = C.fold(r, function(G, $) {
12189
- return m.sortedSetUnion(G.knots, $);
12197
+ for (var j = C.fold(r, function(G, K) {
12198
+ return m.sortedSetUnion(G.knots, K);
12190
12199
  }, []), U = 0, X = r.length; U < X; ) {
12191
12200
  var J = U++, Y = m.sortedSetSub(j, r[J].knots);
12192
12201
  Y.length == 0 && (r[J] = r[J]), r[J] = yt.curveKnotRefine(r[J], Y);
@@ -12205,8 +12214,8 @@ var Ul = { exports: {} };
12205
12214
  var G = J++;
12206
12215
  y[j][G] = U * zt.get(l, G) * zt.get(g, j - G);
12207
12216
  }
12208
- for (var $ = T + 1; $ < A; )
12209
- for (var tt = $++, et = yt.imin(l, tt), ot = yt.imax(0, tt - g), ct = et + 1; ot < ct; ) {
12217
+ for (var K = T + 1; K < A; )
12218
+ for (var tt = K++, et = yt.imin(l, tt), ot = yt.imax(0, tt - g), ct = et + 1; ot < ct; ) {
12210
12219
  var lt = ot++;
12211
12220
  y[tt][lt] = y[A - tt][l - lt];
12212
12221
  }
@@ -12246,7 +12255,7 @@ var Ul = { exports: {} };
12246
12255
  }
12247
12256
  if (Ge > 1)
12248
12257
  for (var zi = pt - 2, Vi = pt, Oo = Oe - kt, _u = (Oe - O[pt - 1]) / Oo, Co = 1; Co < Ge; ) {
12249
- for (var ji = Co++, Ir = zi, un = Vi, $r = un - pt + 1; un - Ir > ji; ) {
12258
+ for (var ji = Co++, Ir = zi, un = Vi, Kr = un - pt + 1; un - Ir > ji; ) {
12250
12259
  if (Ir < ft) {
12251
12260
  var fu = (Oe - O[Ir]) / (kt - O[Ir]);
12252
12261
  B[Ir] = m.lerp(fu, B[Ir], B[Ir - 1]);
@@ -12254,10 +12263,10 @@ var Ul = { exports: {} };
12254
12263
  if (un >= sr) {
12255
12264
  if (un - ji <= pt - A + Ge) {
12256
12265
  var yu = (Oe - O[un - ji]) / Oo;
12257
- P[$r] = m.lerp(yu, P[$r], P[$r + 1]);
12266
+ P[Kr] = m.lerp(yu, P[Kr], P[Kr + 1]);
12258
12267
  }
12259
- } else P[$r] = m.lerp(_u, P[$r], P[$r + 1]);
12260
- Ir = Ir + 1, un = un - 1, $r = $r - 1;
12268
+ } else P[Kr] = m.lerp(_u, P[Kr], P[Kr + 1]);
12269
+ Ir = Ir + 1, un = un - 1, Kr = Kr - 1;
12261
12270
  }
12262
12271
  zi = zi - 1, Vi = Vi + 1;
12263
12272
  }
@@ -12339,15 +12348,15 @@ var Ul = { exports: {} };
12339
12348
  var Y = X++;
12340
12349
  S[Y + _ + 1] = c[Y];
12341
12350
  }
12342
- for (var G = I + o - 1, $ = I + o + _, tt = _; tt >= 0; ) {
12351
+ for (var G = I + o - 1, K = I + o + _, tt = _; tt >= 0; ) {
12343
12352
  for (; i[tt] <= c[G] && G > y; )
12344
- P[$ - o - 1] = l[G - o - 1], S[$] = c[G], $ = $ - 1, G = G - 1;
12345
- P[$ - o - 1] = P[$ - o];
12353
+ P[K - o - 1] = l[G - o - 1], S[K] = c[G], K = K - 1, G = G - 1;
12354
+ P[K - o - 1] = P[K - o];
12346
12355
  for (var et = 1, ot = o + 1; et < ot; ) {
12347
- var ct = et++, lt = $ - o + ct, pt = S[$ + ct] - i[tt];
12348
- Math.abs(pt) < rt.EPSILON ? P[lt - 1] = P[lt] : (pt = pt / (S[$ + ct] - c[G - o + ct]), P[lt - 1] = m.add(m.mul(pt, P[lt - 1]), m.mul(1 - pt, P[lt])));
12356
+ var ct = et++, lt = K - o + ct, pt = S[K + ct] - i[tt];
12357
+ Math.abs(pt) < rt.EPSILON ? P[lt - 1] = P[lt] : (pt = pt / (S[K + ct] - c[G - o + ct]), P[lt - 1] = m.add(m.mul(pt, P[lt - 1]), m.mul(1 - pt, P[lt])));
12349
12358
  }
12350
- S[$] = i[tt], $ = $ - 1, tt--;
12359
+ S[K] = i[tt], K = K - 1, tt--;
12351
12360
  }
12352
12361
  return new Ht(o, S, P);
12353
12362
  }, yt.curveKnotInsert = function(r, i, o) {
@@ -12368,8 +12377,8 @@ var Ul = { exports: {} };
12368
12377
  S[Y] = c[Y];
12369
12378
  }
12370
12379
  for (var G = y - g; G < _; ) {
12371
- var $ = G++;
12372
- S[$ + o] = c[$];
12380
+ var K = G++;
12381
+ S[K + o] = c[K];
12373
12382
  }
12374
12383
  for (var tt = 0, et = l - g + 1; tt < et; ) {
12375
12384
  var ot = tt++;
@@ -12430,8 +12439,8 @@ var Ul = { exports: {} };
12430
12439
  S.push(J);
12431
12440
  }
12432
12441
  for (var Y = [], G = 0; G < i; )
12433
- for (var $ = G++, tt = 0; tt < o; ) {
12434
- var et = tt++, ot = $ * (o + 1) + et, ct = ($ + 1) * (o + 1) + et, lt = ct + 1, pt = ot + 1, nt = [ot, ct, lt], mt = [ot, lt, pt];
12442
+ for (var K = G++, tt = 0; tt < o; ) {
12443
+ var et = tt++, ot = K * (o + 1) + et, ct = (K + 1) * (o + 1) + et, lt = ct + 1, pt = ot + 1, nt = [ot, ct, lt], mt = [ot, lt, pt];
12435
12444
  Y.push(nt), Y.push(mt);
12436
12445
  }
12437
12446
  return new er(Y, I, S, P);
@@ -12444,12 +12453,12 @@ var Ul = { exports: {} };
12444
12453
  for (var g = Z.last(r.knotsU), _ = r.knotsU[0], y = Z.last(r.knotsV), I = r.knotsV[0], P = (g - _) / c, S = (y - I) / d, k = [], A = [], T = 0, B = d + 1; T < B; ) {
12445
12454
  for (var O = T++, F = [], R = 0, j = c + 1; R < j; ) {
12446
12455
  var U = R++, X = _ + P * U, J = I + S * O, Y = N.rationalSurfaceDerivatives(r, X, J, 1), G = m.normalized(m.cross(Y[0][1], Y[1][0]));
12447
- F.push(new $e(Y[0][0], G, [X, J], -1, m.isZero(G)));
12456
+ F.push(new Ke(Y[0][0], G, [X, J], -1, m.isZero(G)));
12448
12457
  }
12449
12458
  A.push(F);
12450
12459
  }
12451
- for (var $ = 0; $ < d; )
12452
- for (var tt = $++, et = 0; et < c; ) {
12460
+ for (var K = 0; K < d; )
12461
+ for (var tt = K++, et = 0; et < c; ) {
12453
12462
  var ot = et++, ct = [A[d - tt - 1][ot], A[d - tt - 1][ot + 1], A[d - tt][ot + 1], A[d - tt][ot]];
12454
12463
  k.push(new br(r, ct));
12455
12464
  }
@@ -12488,7 +12497,7 @@ var Ul = { exports: {} };
12488
12497
  var br = f.core.AdaptiveRefinementNode = function(r, i, o) {
12489
12498
  if (this.srf = r, o == null ? this.neighbors = [null, null, null, null] : this.neighbors = o, this.corners = i, this.corners == null) {
12490
12499
  var l = r.knotsU[0], c = Z.last(r.knotsU), d = r.knotsV[0], g = Z.last(r.knotsV);
12491
- this.corners = [$e.fromUv(l, d), $e.fromUv(c, d), $e.fromUv(c, g), $e.fromUv(l, g)];
12500
+ this.corners = [Ke.fromUv(l, d), Ke.fromUv(c, d), Ke.fromUv(c, g), Ke.fromUv(l, g)];
12492
12501
  }
12493
12502
  };
12494
12503
  b["verb.eval.AdaptiveRefinementNode"] = br, br.__name__ = ["verb", "eval", "AdaptiveRefinementNode"], br.prototype = {
@@ -12510,7 +12519,7 @@ var Ul = { exports: {} };
12510
12519
  },
12511
12520
  evalSrf: function(r, i, o) {
12512
12521
  var l = N.rationalSurfaceDerivatives(this.srf, r, i, 1), c = l[0][0], d = m.cross(l[0][1], l[1][0]), g = m.isZero(d);
12513
- return g || (d = m.normalized(d)), o != null ? (o.degen = g, o.point = c, o.normal = d, o) : new $e(c, d, [r, i], -1, g);
12522
+ return g || (d = m.normalized(d)), o != null ? (o.degen = g, o.point = c, o.normal = d, o) : new Ke(c, d, [r, i], -1, g);
12514
12523
  },
12515
12524
  getEdgeCorners: function(r) {
12516
12525
  if (this.isLeaf()) return [this.corners[r]];
@@ -13080,21 +13089,21 @@ var Ul = { exports: {} };
13080
13089
  },
13081
13090
  __class__: ms
13082
13091
  });
13083
- var Kr = f.geom.Intersect = function() {
13092
+ var $r = f.geom.Intersect = function() {
13084
13093
  };
13085
- b["verb.geom.Intersect"] = Kr, Kr.__name__ = ["verb", "geom", "Intersect"], Kr.curves = function(r, i, o) {
13094
+ b["verb.geom.Intersect"] = $r, $r.__name__ = ["verb", "geom", "Intersect"], $r.curves = function(r, i, o) {
13086
13095
  return o == null && (o = 1e-3), ut.curves(r.asNurbs(), i.asNurbs(), o);
13087
- }, Kr.curvesAsync = function(r, i, o) {
13096
+ }, $r.curvesAsync = function(r, i, o) {
13088
13097
  return o == null && (o = 1e-3), It.dispatchMethod(ut, "curves", [r.asNurbs(), i.asNurbs(), o]);
13089
- }, Kr.curveAndSurface = function(r, i, o) {
13098
+ }, $r.curveAndSurface = function(r, i, o) {
13090
13099
  return o == null && (o = 1e-3), ut.curveAndSurface(r.asNurbs(), i.asNurbs(), o);
13091
- }, Kr.curveAndSurfaceAsync = function(r, i, o) {
13100
+ }, $r.curveAndSurfaceAsync = function(r, i, o) {
13092
13101
  return o == null && (o = 1e-3), It.dispatchMethod(ut, "curveAndSurface", [r.asNurbs(), i.asNurbs(), o]);
13093
- }, Kr.surfaces = function(r, i, o) {
13102
+ }, $r.surfaces = function(r, i, o) {
13094
13103
  return o == null && (o = 1e-3), ut.surfaces(r.asNurbs(), i.asNurbs(), o).map(function(l) {
13095
13104
  return new Lt(l);
13096
13105
  });
13097
- }, Kr.surfacesAsync = function(r, i, o) {
13106
+ }, $r.surfacesAsync = function(r, i, o) {
13098
13107
  return o == null && (o = 1e-3), It.dispatchMethod(ut, "surfaces", [r.asNurbs(), i.asNurbs(), o]).then(function(l) {
13099
13108
  return l.map(function(c) {
13100
13109
  return new Lt(c);
@@ -13272,7 +13281,7 @@ var Ul = { exports: {} };
13272
13281
  }
13273
13282
  var F = Object.getPrototypeOf && Object.getPrototypeOf(r);
13274
13283
  F = F && F.setTimeout ? F : r, {}.toString.call(r.process) === "[object process]" ? S() : k() ? A() : r.MessageChannel ? T() : d && "onreadystatechange" in d.createElement("script") ? B() : O(), F.setImmediate = g, F.clearImmediate = P;
13275
- })(new Function("return this")()), $t.USE_CACHE = !1, $t.USE_ENUM_INDEX = !1, $t.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Xt.DEFAULT_RESOLVER = dt, Xt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Bt.count = 0, de.i64tmp = function(r) {
13284
+ })(new Function("return this")()), Kt.USE_CACHE = !1, Kt.USE_ENUM_INDEX = !1, Kt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Xt.DEFAULT_RESOLVER = dt, Xt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Bt.count = 0, de.i64tmp = function(r) {
13276
13285
  var i, o = new Dt(0, 0);
13277
13286
  return i = o, i;
13278
13287
  }(), Nt.__toStr = {}.toString, pr.BYTES_PER_ELEMENT = 1, Pt.queue = new V(), zt.memo = new xt(), rt.TOLERANCE = 1e-6, rt.EPSILON = 1e-10, rt.VERSION = "2.0.0", wt.Tvalues = [[], [], [-0.5773502691896257, 0.5773502691896257], [0, -0.7745966692414834, 0.7745966692414834], [-0.33998104358485626, 0.33998104358485626, -0.8611363115940526, 0.8611363115940526], [0, -0.5384693101056831, 0.5384693101056831, -0.906179845938664, 0.906179845938664], [0.6612093864662645, -0.6612093864662645, -0.2386191860831969, 0.2386191860831969, -0.932469514203152, 0.932469514203152], [0, 0.4058451513773972, -0.4058451513773972, -0.7415311855993945, 0.7415311855993945, -0.9491079123427585, 0.9491079123427585], [-0.1834346424956498, 0.1834346424956498, -0.525532409916329, 0.525532409916329, -0.7966664774136267, 0.7966664774136267, -0.9602898564975363, 0.9602898564975363], [0, -0.8360311073266358, 0.8360311073266358, -0.9681602395076261, 0.9681602395076261, -0.3242534234038089, 0.3242534234038089, -0.6133714327005904, 0.6133714327005904], [-0.14887433898163122, 0.14887433898163122, -0.4333953941292472, 0.4333953941292472, -0.6794095682990244, 0.6794095682990244, -0.8650633666889845, 0.8650633666889845, -0.9739065285171717, 0.9739065285171717], [0, -0.26954315595234496, 0.26954315595234496, -0.5190961292068118, 0.5190961292068118, -0.7301520055740494, 0.7301520055740494, -0.8870625997680953, 0.8870625997680953, -0.978228658146057, 0.978228658146057], [-0.1252334085114689, 0.1252334085114689, -0.3678314989981802, 0.3678314989981802, -0.5873179542866175, 0.5873179542866175, -0.7699026741943047, 0.7699026741943047, -0.9041172563704749, 0.9041172563704749, -0.9815606342467192, 0.9815606342467192], [0, -0.2304583159551348, 0.2304583159551348, -0.44849275103644687, 0.44849275103644687, -0.6423493394403402, 0.6423493394403402, -0.8015780907333099, 0.8015780907333099, -0.9175983992229779, 0.9175983992229779, -0.9841830547185881, 0.9841830547185881], [-0.10805494870734367, 0.10805494870734367, -0.31911236892788974, 0.31911236892788974, -0.5152486363581541, 0.5152486363581541, -0.6872929048116855, 0.6872929048116855, -0.827201315069765, 0.827201315069765, -0.9284348836635735, 0.9284348836635735, -0.9862838086968123, 0.9862838086968123], [0, -0.20119409399743451, 0.20119409399743451, -0.3941513470775634, 0.3941513470775634, -0.5709721726085388, 0.5709721726085388, -0.7244177313601701, 0.7244177313601701, -0.8482065834104272, 0.8482065834104272, -0.937273392400706, 0.937273392400706, -0.9879925180204854, 0.9879925180204854], [-0.09501250983763744, 0.09501250983763744, -0.2816035507792589, 0.2816035507792589, -0.45801677765722737, 0.45801677765722737, -0.6178762444026438, 0.6178762444026438, -0.755404408355003, 0.755404408355003, -0.8656312023878318, 0.8656312023878318, -0.9445750230732326, 0.9445750230732326, -0.9894009349916499, 0.9894009349916499], [0, -0.17848418149584785, 0.17848418149584785, -0.3512317634538763, 0.3512317634538763, -0.5126905370864769, 0.5126905370864769, -0.6576711592166907, 0.6576711592166907, -0.7815140038968014, 0.7815140038968014, -0.8802391537269859, 0.8802391537269859, -0.9506755217687678, 0.9506755217687678, -0.9905754753144174, 0.9905754753144174], [-0.0847750130417353, 0.0847750130417353, -0.2518862256915055, 0.2518862256915055, -0.41175116146284263, 0.41175116146284263, -0.5597708310739475, 0.5597708310739475, -0.6916870430603532, 0.6916870430603532, -0.8037049589725231, 0.8037049589725231, -0.8926024664975557, 0.8926024664975557, -0.9558239495713977, 0.9558239495713977, -0.9915651684209309, 0.9915651684209309], [0, -0.16035864564022537, 0.16035864564022537, -0.31656409996362983, 0.31656409996362983, -0.46457074137596094, 0.46457074137596094, -0.600545304661681, 0.600545304661681, -0.7209661773352294, 0.7209661773352294, -0.8227146565371428, 0.8227146565371428, -0.9031559036148179, 0.9031559036148179, -0.96020815213483, 0.96020815213483, -0.9924068438435844, 0.9924068438435844], [-0.07652652113349734, 0.07652652113349734, -0.22778585114164507, 0.22778585114164507, -0.37370608871541955, 0.37370608871541955, -0.5108670019508271, 0.5108670019508271, -0.636053680726515, 0.636053680726515, -0.7463319064601508, 0.7463319064601508, -0.8391169718222188, 0.8391169718222188, -0.912234428251326, 0.912234428251326, -0.9639719272779138, 0.9639719272779138, -0.9931285991850949, 0.9931285991850949], [0, -0.1455618541608951, 0.1455618541608951, -0.2880213168024011, 0.2880213168024011, -0.4243421202074388, 0.4243421202074388, -0.5516188358872198, 0.5516188358872198, -0.6671388041974123, 0.6671388041974123, -0.7684399634756779, 0.7684399634756779, -0.8533633645833173, 0.8533633645833173, -0.9200993341504008, 0.9200993341504008, -0.9672268385663063, 0.9672268385663063, -0.9937521706203895, 0.9937521706203895], [-0.06973927331972223, 0.06973927331972223, -0.20786042668822127, 0.20786042668822127, -0.34193582089208424, 0.34193582089208424, -0.469355837986757, 0.469355837986757, -0.5876404035069116, 0.5876404035069116, -0.6944872631866827, 0.6944872631866827, -0.7878168059792081, 0.7878168059792081, -0.8658125777203002, 0.8658125777203002, -0.926956772187174, 0.926956772187174, -0.9700604978354287, 0.9700604978354287, -0.9942945854823992, 0.9942945854823992], [0, -0.1332568242984661, 0.1332568242984661, -0.26413568097034495, 0.26413568097034495, -0.3903010380302908, 0.3903010380302908, -0.5095014778460075, 0.5095014778460075, -0.6196098757636461, 0.6196098757636461, -0.7186613631319502, 0.7186613631319502, -0.8048884016188399, 0.8048884016188399, -0.8767523582704416, 0.8767523582704416, -0.9329710868260161, 0.9329710868260161, -0.9725424712181152, 0.9725424712181152, -0.9947693349975522, 0.9947693349975522], [-0.06405689286260563, 0.06405689286260563, -0.1911188674736163, 0.1911188674736163, -0.3150426796961634, 0.3150426796961634, -0.4337935076260451, 0.4337935076260451, -0.5454214713888396, 0.5454214713888396, -0.6480936519369755, 0.6480936519369755, -0.7401241915785544, 0.7401241915785544, -0.820001985973903, 0.820001985973903, -0.8864155270044011, 0.8864155270044011, -0.9382745520027328, 0.9382745520027328, -0.9747285559713095, 0.9747285559713095, -0.9951872199970213, 0.9951872199970213]], wt.Cvalues = [[], [], [1, 1], [0.8888888888888888, 0.5555555555555556, 0.5555555555555556], [0.6521451548625461, 0.6521451548625461, 0.34785484513745385, 0.34785484513745385], [0.5688888888888889, 0.47862867049936647, 0.47862867049936647, 0.23692688505618908, 0.23692688505618908], [0.3607615730481386, 0.3607615730481386, 0.46791393457269104, 0.46791393457269104, 0.17132449237917036, 0.17132449237917036], [0.4179591836734694, 0.3818300505051189, 0.3818300505051189, 0.27970539148927664, 0.27970539148927664, 0.1294849661688697, 0.1294849661688697], [0.362683783378362, 0.362683783378362, 0.31370664587788727, 0.31370664587788727, 0.22238103445337448, 0.22238103445337448, 0.10122853629037626, 0.10122853629037626], [0.3302393550012598, 0.1806481606948574, 0.1806481606948574, 0.08127438836157441, 0.08127438836157441, 0.31234707704000286, 0.31234707704000286, 0.26061069640293544, 0.26061069640293544], [0.29552422471475287, 0.29552422471475287, 0.26926671930999635, 0.26926671930999635, 0.21908636251598204, 0.21908636251598204, 0.1494513491505806, 0.1494513491505806, 0.06667134430868814, 0.06667134430868814], [0.2729250867779006, 0.26280454451024665, 0.26280454451024665, 0.23319376459199048, 0.23319376459199048, 0.18629021092773426, 0.18629021092773426, 0.1255803694649046, 0.1255803694649046, 0.05566856711617366, 0.05566856711617366], [0.24914704581340277, 0.24914704581340277, 0.2334925365383548, 0.2334925365383548, 0.20316742672306592, 0.20316742672306592, 0.16007832854334622, 0.16007832854334622, 0.10693932599531843, 0.10693932599531843, 0.04717533638651183, 0.04717533638651183], [0.2325515532308739, 0.22628318026289723, 0.22628318026289723, 0.2078160475368885, 0.2078160475368885, 0.17814598076194574, 0.17814598076194574, 0.13887351021978725, 0.13887351021978725, 0.09212149983772845, 0.09212149983772845, 0.04048400476531588, 0.04048400476531588], [0.2152638534631578, 0.2152638534631578, 0.2051984637212956, 0.2051984637212956, 0.18553839747793782, 0.18553839747793782, 0.15720316715819355, 0.15720316715819355, 0.12151857068790319, 0.12151857068790319, 0.08015808715976021, 0.08015808715976021, 0.03511946033175186, 0.03511946033175186], [0.2025782419255613, 0.19843148532711158, 0.19843148532711158, 0.1861610000155622, 0.1861610000155622, 0.16626920581699392, 0.16626920581699392, 0.13957067792615432, 0.13957067792615432, 0.10715922046717194, 0.10715922046717194, 0.07036604748810812, 0.07036604748810812, 0.03075324199611727, 0.03075324199611727], [0.1894506104550685, 0.1894506104550685, 0.18260341504492358, 0.18260341504492358, 0.16915651939500254, 0.16915651939500254, 0.14959598881657674, 0.14959598881657674, 0.12462897125553388, 0.12462897125553388, 0.09515851168249279, 0.09515851168249279, 0.062253523938647894, 0.062253523938647894, 0.027152459411754096, 0.027152459411754096], [0.17944647035620653, 0.17656270536699264, 0.17656270536699264, 0.16800410215645004, 0.16800410215645004, 0.15404576107681028, 0.15404576107681028, 0.13513636846852548, 0.13513636846852548, 0.11188384719340397, 0.11188384719340397, 0.08503614831717918, 0.08503614831717918, 0.0554595293739872, 0.0554595293739872, 0.02414830286854793, 0.02414830286854793], [0.1691423829631436, 0.1691423829631436, 0.16427648374583273, 0.16427648374583273, 0.15468467512626524, 0.15468467512626524, 0.14064291467065065, 0.14064291467065065, 0.12255520671147846, 0.12255520671147846, 0.10094204410628717, 0.10094204410628717, 0.07642573025488905, 0.07642573025488905, 0.0497145488949698, 0.0497145488949698, 0.02161601352648331, 0.02161601352648331], [0.1610544498487837, 0.15896884339395434, 0.15896884339395434, 0.15276604206585967, 0.15276604206585967, 0.1426067021736066, 0.1426067021736066, 0.12875396253933621, 0.12875396253933621, 0.11156664554733399, 0.11156664554733399, 0.09149002162245, 0.09149002162245, 0.06904454273764123, 0.06904454273764123, 0.0448142267656996, 0.0448142267656996, 0.019461788229726478, 0.019461788229726478], [0.15275338713072584, 0.15275338713072584, 0.14917298647260374, 0.14917298647260374, 0.14209610931838204, 0.14209610931838204, 0.13168863844917664, 0.13168863844917664, 0.11819453196151841, 0.11819453196151841, 0.10193011981724044, 0.10193011981724044, 0.08327674157670475, 0.08327674157670475, 0.06267204833410907, 0.06267204833410907, 0.04060142980038694, 0.04060142980038694, 0.017614007139152118, 0.017614007139152118], [0.14608113364969041, 0.14452440398997005, 0.14452440398997005, 0.13988739479107315, 0.13988739479107315, 0.13226893863333747, 0.13226893863333747, 0.12183141605372853, 0.12183141605372853, 0.10879729916714838, 0.10879729916714838, 0.09344442345603386, 0.09344442345603386, 0.0761001136283793, 0.0761001136283793, 0.057134425426857205, 0.057134425426857205, 0.036953789770852494, 0.036953789770852494, 0.016017228257774335, 0.016017228257774335], [0.13925187285563198, 0.13925187285563198, 0.13654149834601517, 0.13654149834601517, 0.13117350478706238, 0.13117350478706238, 0.12325237681051242, 0.12325237681051242, 0.11293229608053922, 0.11293229608053922, 0.10041414444288096, 0.10041414444288096, 0.08594160621706773, 0.08594160621706773, 0.06979646842452049, 0.06979646842452049, 0.052293335152683286, 0.052293335152683286, 0.03377490158481415, 0.03377490158481415, 0.0146279952982722, 0.0146279952982722], [0.13365457218610619, 0.1324620394046966, 0.1324620394046966, 0.12890572218808216, 0.12890572218808216, 0.12304908430672953, 0.12304908430672953, 0.11499664022241136, 0.11499664022241136, 0.10489209146454141, 0.10489209146454141, 0.09291576606003515, 0.09291576606003515, 0.07928141177671895, 0.07928141177671895, 0.06423242140852585, 0.06423242140852585, 0.04803767173108467, 0.04803767173108467, 0.030988005856979445, 0.030988005856979445, 0.013411859487141771, 0.013411859487141771], [0.12793819534675216, 0.12793819534675216, 0.1258374563468283, 0.1258374563468283, 0.12167047292780339, 0.12167047292780339, 0.1155056680537256, 0.1155056680537256, 0.10744427011596563, 0.10744427011596563, 0.09761865210411388, 0.09761865210411388, 0.08619016153195327, 0.08619016153195327, 0.0733464814110803, 0.0733464814110803, 0.05929858491543678, 0.05929858491543678, 0.04427743881741981, 0.04427743881741981, 0.028531388628933663, 0.028531388628933663, 0.0123412297999872, 0.0123412297999872]], It.THREADS = 1, It._init = !1, Yr.basePath = "", on.uuid = 0, Ys.main();
@@ -13328,7 +13337,7 @@ let wc = class extends Ds {
13328
13337
  * @param tension - Tension of the curve.
13329
13338
  */
13330
13339
  constructor(t = [], e = !1, s = "centripetal", a = 0.5) {
13331
- super(), this.isCatmullRomCurve3d = !0, this.type = "CatmullRomCurve3d", this._tmp = new K(), this._px = new Yi(), this._py = new Yi(), this._pz = new Yi(), this._points = t.map((h) => new W(h)), this._closed = e, this._curveType = s, this._tension = a;
13340
+ super(), this.isCatmullRomCurve3d = !0, this.type = "CatmullRomCurve3d", this._tmp = new $(), this._px = new Yi(), this._py = new Yi(), this._pz = new Yi(), this._points = t.map((h) => new W(h)), this._closed = e, this._curveType = s, this._tension = a;
13332
13341
  }
13333
13342
  /**
13334
13343
  * An array of 3D points defining the curve.
@@ -15728,7 +15737,7 @@ class Cc {
15728
15737
  }
15729
15738
  createDefaultDimStyle() {
15730
15739
  this.db.tables.dimStyleTable.add(
15731
- new Kn({
15740
+ new $n({
15732
15741
  name: oe,
15733
15742
  dimtxsty: oe
15734
15743
  })
@@ -15787,8 +15796,8 @@ function Ip(n) {
15787
15796
  function Sp(n) {
15788
15797
  return n == 1 || n == 2 || n == 3 || n == 8 || n == 9 || n == 10 || n == 21;
15789
15798
  }
15790
- var Yl = /* @__PURE__ */ ((n) => (n.ClosedFilled = "", n.Dot = "_DOT", n.DotSmall = "_DOTSMALL", n.DotBlank = "_DOTBLANK", n.Origin = "_ORIGIN", n.Origin2 = "_ORIGIN2", n.Open = "_OPEN", n.Open90 = "_OPEN90", n.Open30 = "_OPEN30", n.Closed = "_CLOSED", n.Small = "_SMALL", n.None = "_NONE", n.Oblique = "_OBLIQUE", n.BoxFilled = "_BOXFILLED", n.Box = "_BOXBLANK", n.ClosedBlank = "_CLOSEDBLANK", n.DatumBlank = "_DATUMBLANK", n.DatumFilled = "_DATUMFILLED", n.Integral = "_INTEGRAL", n.ArchTick = "_ARCHTICK", n))(Yl || {}), Pn = /* @__PURE__ */ ((n) => (n[n.ByBlock = -2] = "ByBlock", n[n.ByDIPs = -4] = "ByDIPs", n[n.ByLayer = -1] = "ByLayer", n[n.ByLineWeightDefault = -3] = "ByLineWeightDefault", n[n.LineWeight000 = 0] = "LineWeight000", n[n.LineWeight005 = 5] = "LineWeight005", n[n.LineWeight009 = 9] = "LineWeight009", n[n.LineWeight013 = 13] = "LineWeight013", n[n.LineWeight015 = 15] = "LineWeight015", n[n.LineWeight018 = 18] = "LineWeight018", n[n.LineWeight020 = 20] = "LineWeight020", n[n.LineWeight025 = 25] = "LineWeight025", n[n.LineWeight030 = 30] = "LineWeight030", n[n.LineWeight035 = 35] = "LineWeight035", n[n.LineWeight040 = 40] = "LineWeight040", n[n.LineWeight050 = 50] = "LineWeight050", n[n.LineWeight053 = 53] = "LineWeight053", n[n.LineWeight060 = 60] = "LineWeight060", n[n.LineWeight070 = 70] = "LineWeight070", n[n.LineWeight080 = 80] = "LineWeight080", n[n.LineWeight090 = 90] = "LineWeight090", n[n.LineWeight100 = 100] = "LineWeight100", n[n.LineWeight106 = 106] = "LineWeight106", n[n.LineWeight120 = 120] = "LineWeight120", n[n.LineWeight140 = 140] = "LineWeight140", n[n.LineWeight158 = 158] = "LineWeight158", n[n.LineWeight200 = 200] = "LineWeight200", n[n.LineWeight211 = 211] = "LineWeight211", n))(Pn || {}), Jr = /* @__PURE__ */ ((n) => (n[n.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", n[n.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", n[n.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", n[n.BOTTOM_TO_TOP = 4] = "BOTTOM_TO_TOP", n[n.BY_STYLE = 5] = "BY_STYLE", n))(Jr || {}), Te = /* @__PURE__ */ ((n) => (n[n.TopLeft = 1] = "TopLeft", n[n.TopCenter = 2] = "TopCenter", n[n.TopRight = 3] = "TopRight", n[n.MiddleLeft = 4] = "MiddleLeft", n[n.MiddleCenter = 5] = "MiddleCenter", n[n.MiddleRight = 6] = "MiddleRight", n[n.BottomLeft = 7] = "BottomLeft", n[n.BottomCenter = 8] = "BottomCenter", n[n.BottomRight = 9] = "BottomRight", n))(Te || {}), Xl = /* @__PURE__ */ ((n) => (n[n.OPTIMIZED_2D = 0] = "OPTIMIZED_2D", n[n.WIREFRAME = 1] = "WIREFRAME", n[n.HIDDEN_LINE = 2] = "HIDDEN_LINE", n[n.FLAT_SHADED = 3] = "FLAT_SHADED", n[n.GOURAUD_SHADED = 4] = "GOURAUD_SHADED", n[n.FLAT_SHADED_WITH_WIREFRAME = 5] = "FLAT_SHADED_WITH_WIREFRAME", n[n.GOURAUD_SHADED_WITH_WIREFRAME = 6] = "GOURAUD_SHADED_WITH_WIREFRAME", n))(Xl || {}), ql = /* @__PURE__ */ ((n) => (n[n.NON_ORTHOGRAPHIC = 0] = "NON_ORTHOGRAPHIC", n[n.TOP = 1] = "TOP", n[n.BOTTOM = 2] = "BOTTOM", n[n.FRONT = 3] = "FRONT", n[n.BACK = 4] = "BACK", n[n.LEFT = 5] = "LEFT", n[n.RIGHT = 6] = "RIGHT", n))(ql || {}), Kl = /* @__PURE__ */ ((n) => (n[n.ONE_DISTANT_LIGHT = 0] = "ONE_DISTANT_LIGHT", n[n.TWO_DISTANT_LIGHTS = 1] = "TWO_DISTANT_LIGHTS", n))(Kl || {});
15791
- let Rc = class $l {
15799
+ var Yl = /* @__PURE__ */ ((n) => (n.ClosedFilled = "", n.Dot = "_DOT", n.DotSmall = "_DOTSMALL", n.DotBlank = "_DOTBLANK", n.Origin = "_ORIGIN", n.Origin2 = "_ORIGIN2", n.Open = "_OPEN", n.Open90 = "_OPEN90", n.Open30 = "_OPEN30", n.Closed = "_CLOSED", n.Small = "_SMALL", n.None = "_NONE", n.Oblique = "_OBLIQUE", n.BoxFilled = "_BOXFILLED", n.Box = "_BOXBLANK", n.ClosedBlank = "_CLOSEDBLANK", n.DatumBlank = "_DATUMBLANK", n.DatumFilled = "_DATUMFILLED", n.Integral = "_INTEGRAL", n.ArchTick = "_ARCHTICK", n))(Yl || {}), Pn = /* @__PURE__ */ ((n) => (n[n.ByBlock = -2] = "ByBlock", n[n.ByDIPs = -4] = "ByDIPs", n[n.ByLayer = -1] = "ByLayer", n[n.ByLineWeightDefault = -3] = "ByLineWeightDefault", n[n.LineWeight000 = 0] = "LineWeight000", n[n.LineWeight005 = 5] = "LineWeight005", n[n.LineWeight009 = 9] = "LineWeight009", n[n.LineWeight013 = 13] = "LineWeight013", n[n.LineWeight015 = 15] = "LineWeight015", n[n.LineWeight018 = 18] = "LineWeight018", n[n.LineWeight020 = 20] = "LineWeight020", n[n.LineWeight025 = 25] = "LineWeight025", n[n.LineWeight030 = 30] = "LineWeight030", n[n.LineWeight035 = 35] = "LineWeight035", n[n.LineWeight040 = 40] = "LineWeight040", n[n.LineWeight050 = 50] = "LineWeight050", n[n.LineWeight053 = 53] = "LineWeight053", n[n.LineWeight060 = 60] = "LineWeight060", n[n.LineWeight070 = 70] = "LineWeight070", n[n.LineWeight080 = 80] = "LineWeight080", n[n.LineWeight090 = 90] = "LineWeight090", n[n.LineWeight100 = 100] = "LineWeight100", n[n.LineWeight106 = 106] = "LineWeight106", n[n.LineWeight120 = 120] = "LineWeight120", n[n.LineWeight140 = 140] = "LineWeight140", n[n.LineWeight158 = 158] = "LineWeight158", n[n.LineWeight200 = 200] = "LineWeight200", n[n.LineWeight211 = 211] = "LineWeight211", n))(Pn || {}), Jr = /* @__PURE__ */ ((n) => (n[n.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", n[n.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", n[n.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", n[n.BOTTOM_TO_TOP = 4] = "BOTTOM_TO_TOP", n[n.BY_STYLE = 5] = "BY_STYLE", n))(Jr || {}), Te = /* @__PURE__ */ ((n) => (n[n.TopLeft = 1] = "TopLeft", n[n.TopCenter = 2] = "TopCenter", n[n.TopRight = 3] = "TopRight", n[n.MiddleLeft = 4] = "MiddleLeft", n[n.MiddleCenter = 5] = "MiddleCenter", n[n.MiddleRight = 6] = "MiddleRight", n[n.BottomLeft = 7] = "BottomLeft", n[n.BottomCenter = 8] = "BottomCenter", n[n.BottomRight = 9] = "BottomRight", n))(Te || {}), Xl = /* @__PURE__ */ ((n) => (n[n.OPTIMIZED_2D = 0] = "OPTIMIZED_2D", n[n.WIREFRAME = 1] = "WIREFRAME", n[n.HIDDEN_LINE = 2] = "HIDDEN_LINE", n[n.FLAT_SHADED = 3] = "FLAT_SHADED", n[n.GOURAUD_SHADED = 4] = "GOURAUD_SHADED", n[n.FLAT_SHADED_WITH_WIREFRAME = 5] = "FLAT_SHADED_WITH_WIREFRAME", n[n.GOURAUD_SHADED_WITH_WIREFRAME = 6] = "GOURAUD_SHADED_WITH_WIREFRAME", n))(Xl || {}), ql = /* @__PURE__ */ ((n) => (n[n.NON_ORTHOGRAPHIC = 0] = "NON_ORTHOGRAPHIC", n[n.TOP = 1] = "TOP", n[n.BOTTOM = 2] = "BOTTOM", n[n.FRONT = 3] = "FRONT", n[n.BACK = 4] = "BACK", n[n.LEFT = 5] = "LEFT", n[n.RIGHT = 6] = "RIGHT", n))(ql || {}), $l = /* @__PURE__ */ ((n) => (n[n.ONE_DISTANT_LIGHT = 0] = "ONE_DISTANT_LIGHT", n[n.TWO_DISTANT_LIGHTS = 1] = "TWO_DISTANT_LIGHTS", n))($l || {});
15800
+ let Rc = class Kl {
15792
15801
  constructor() {
15793
15802
  this._number = -1, this._id = "", this._groupId = "", this._centerPoint = new W(), this._height = 0, this._width = 0, this._viewCenter = new W(), this._viewHeight = 0;
15794
15803
  }
@@ -15898,7 +15907,7 @@ let Rc = class $l {
15898
15907
  * @returns Return the cloned instance of this viewport
15899
15908
  */
15900
15909
  clone() {
15901
- const t = new $l();
15910
+ const t = new Kl();
15902
15911
  return t.id = this.id, t.groupId = this.groupId, t.number = this.number, t.centerPoint.copy(this.centerPoint), t.height = this.height, t.width = this.width, t.viewCenter.copy(this.viewCenter), t.viewHeight = this.viewHeight, t;
15903
15912
  }
15904
15913
  /**
@@ -17141,7 +17150,7 @@ const qa = class qa extends Fe {
17141
17150
  qa.typeName = "3dPolyline";
17142
17151
  let _i = qa;
17143
17152
  var zc = /* @__PURE__ */ ((n) => (n[n.SimpleVertex = 0] = "SimpleVertex", n[n.ControlVertex = 1] = "ControlVertex", n[n.FitVertex = 2] = "FitVertex", n))(zc || {});
17144
- const Ka = class Ka extends Re {
17153
+ const $a = class $a extends Re {
17145
17154
  /**
17146
17155
  * Creates a new 3d vertex entity.
17147
17156
  */
@@ -17231,9 +17240,9 @@ const Ka = class Ka extends Re {
17231
17240
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbVertex"), t.writeSubclassMarker("AcDb3dPolylineVertex"), t.writePoint3d(10, this.position), t.writeInt16(70, this.vertexType | 32), this;
17232
17241
  }
17233
17242
  };
17234
- Ka.typeName = "3dVertex";
17235
- let el = Ka;
17236
- const $a = class $a extends Fe {
17243
+ $a.typeName = "3dVertex";
17244
+ let el = $a;
17245
+ const Ka = class Ka extends Fe {
17237
17246
  /**
17238
17247
  * Creates a new arc entity.
17239
17248
  *
@@ -17266,14 +17275,14 @@ const $a = class $a extends Fe {
17266
17275
  * );
17267
17276
  * ```
17268
17277
  */
17269
- constructor(t, e, s, a, h = K.Z_AXIS) {
17278
+ constructor(t, e, s, a, h = $.Z_AXIS) {
17270
17279
  super(), this._geo = new Vl(
17271
17280
  t,
17272
17281
  e,
17273
17282
  s,
17274
17283
  a,
17275
17284
  h,
17276
- K.X_AXIS
17285
+ $.X_AXIS
17277
17286
  );
17278
17287
  }
17279
17288
  /**
@@ -17714,8 +17723,8 @@ const $a = class $a extends Fe {
17714
17723
  return super.dxfOutFields(t), t.writeSubclassMarker("AcDbArc"), t.writePoint3d(10, this.center), t.writeDouble(40, this.radius), t.writeAngle(50, this.startAngle), t.writeAngle(51, this.endAngle), t.writeVector3d(210, this.normal), this;
17715
17724
  }
17716
17725
  };
17717
- $a.typeName = "Arc";
17718
- let da = $a;
17726
+ Ka.typeName = "Arc";
17727
+ let da = Ka;
17719
17728
  var Vc = /* @__PURE__ */ ((n) => (n[n.LEFT = 0] = "LEFT", n[n.CENTER = 1] = "CENTER", n[n.RIGHT = 2] = "RIGHT", n[n.ALIGNED = 3] = "ALIGNED", n[n.MIDDLE = 4] = "MIDDLE", n[n.FIT = 5] = "FIT", n))(Vc || {}), jc = /* @__PURE__ */ ((n) => (n[n.BASELINE = 0] = "BASELINE", n[n.BOTTOM = 1] = "BOTTOM", n[n.MIDDLE = 2] = "MIDDLE", n[n.TOP = 3] = "TOP", n))(jc || {});
17720
17729
  const Za = class Za extends Re {
17721
17730
  /**
@@ -18586,7 +18595,7 @@ const to = class to extends Re {
18586
18595
  * ```
18587
18596
  */
18588
18597
  constructor(t) {
18589
- super(), this._blockName = t, this._position = new W(), this._rotation = 0, this._normal = new K(0, 0, 1), this._scaleFactors = new W(1, 1, 1), this._attribs = /* @__PURE__ */ new Map();
18598
+ super(), this._blockName = t, this._position = new W(), this._rotation = 0, this._normal = new $(0, 0, 1), this._scaleFactors = new W(1, 1, 1), this._attribs = /* @__PURE__ */ new Map();
18590
18599
  }
18591
18600
  /**
18592
18601
  * Gets the WCS position point (insertion point) of the block reference.
@@ -18796,8 +18805,8 @@ const to = class to extends Re {
18796
18805
  this._scaleFactors.x,
18797
18806
  this._scaleFactors.y,
18798
18807
  this._scaleFactors.z
18799
- ), h = new $n().setFromAxisAngle(
18800
- K.Z_AXIS,
18808
+ ), h = new Kn().setFromAxisAngle(
18809
+ $.Z_AXIS,
18801
18810
  this._rotation
18802
18811
  ), u = new Je().makeRotationFromQuaternion(h), p = new Je().makeTranslation(
18803
18812
  this._position.x,
@@ -19099,14 +19108,14 @@ const eo = class eo extends Fe {
19099
19108
  * );
19100
19109
  * ```
19101
19110
  */
19102
- constructor(t, e, s = K.Z_AXIS) {
19111
+ constructor(t, e, s = $.Z_AXIS) {
19103
19112
  super(), this._geo = new Vl(
19104
19113
  t,
19105
19114
  e,
19106
19115
  0,
19107
19116
  Jt,
19108
19117
  s,
19109
- K.X_AXIS
19118
+ $.X_AXIS
19110
19119
  );
19111
19120
  }
19112
19121
  /**
@@ -20876,7 +20885,7 @@ const oo = class oo extends Re {
20876
20885
  * ```
20877
20886
  */
20878
20887
  constructor() {
20879
- super(), this._contents = "", this._height = 0, this._width = 0, this._lineSpacingFactor = 0.25, this._lineSpacingStyle = 0, this._backgroundFill = !1, this._backgroundFillColor = 13158600, this._backgroundFillTransparency = 1, this._backgroundScaleFactor = 1, this._rotation = 0, this._styleName = "", this._location = new W(), this._attachmentPoint = Te.TopLeft, this._direction = new K(1, 0, 0), this._drawingDirection = Jr.LEFT_TO_RIGHT;
20888
+ super(), this._contents = "", this._height = 0, this._width = 0, this._lineSpacingFactor = 0.25, this._lineSpacingStyle = 0, this._backgroundFill = !1, this._backgroundFillColor = 13158600, this._backgroundFillTransparency = 1, this._backgroundScaleFactor = 1, this._rotation = 0, this._styleName = "", this._location = new W(), this._attachmentPoint = Te.TopLeft, this._direction = new $(1, 0, 0), this._drawingDirection = Jr.LEFT_TO_RIGHT;
20880
20889
  }
20881
20890
  /**
20882
20891
  * Gets the contents of the mtext object.
@@ -21454,7 +21463,7 @@ const lo = class lo extends Fe {
21454
21463
  };
21455
21464
  lo.typeName = "Spline";
21456
21465
  let wi = lo;
21457
- const Wc = /* @__PURE__ */ new K(), ho = class ho extends qn {
21466
+ const Wc = /* @__PURE__ */ new $(), ho = class ho extends qn {
21458
21467
  /**
21459
21468
  * Creates a new table entity.
21460
21469
  *
@@ -21769,12 +21778,12 @@ const Wc = /* @__PURE__ */ new K(), ho = class ho extends qn {
21769
21778
  C,
21770
21779
  V
21771
21780
  ), a[u++] = E + M * (this.numColumns + 1), a[u++] = E + M * (this.numColumns + 1) + C;
21772
- const z = h[a[u - 1] * 3] - s, at = E + (M + V) * (this.numColumns + 1) + C;
21773
- E + C == this.numColumns && (a[u++] = E + M * (this.numColumns + 1) + C, a[u++] = at);
21774
- const _t = -h[at * 3 + 1] - e;
21781
+ const z = h[a[u - 1] * 3] - s, st = E + (M + V) * (this.numColumns + 1) + C;
21782
+ E + C == this.numColumns && (a[u++] = E + M * (this.numColumns + 1) + C, a[u++] = st);
21783
+ const _t = -h[st * 3 + 1] - e;
21775
21784
  if (M + V == this.numRows && (a[u++] = E + (M + V) * (this.numColumns + 1) + V, a[u++] = E + (M + V) * (this.numColumns + 1)), a[u++] = E + (M + V) * (this.numColumns + 1), a[u++] = E + M * (this.numColumns + 1), L.text) {
21776
- const st = L.attachmentPoint || this.attachmentPoint || Te.MiddleCenter, H = this.getTableTextOffset(
21777
- st,
21785
+ const it = L.attachmentPoint || this.attachmentPoint || Te.MiddleCenter, H = this.getTableTextOffset(
21786
+ it,
21778
21787
  z,
21779
21788
  _t
21780
21789
  ), dt = {
@@ -21783,16 +21792,16 @@ const Wc = /* @__PURE__ */ new K(), ho = class ho extends qn {
21783
21792
  width: z,
21784
21793
  position: Wc.set(s, -e, 0).clone().add(H),
21785
21794
  rotation: this.rotation,
21786
- attachmentPoint: st
21787
- }, it = this.getTextStyle(L);
21788
- p.push(t.mtext(dt, it));
21795
+ attachmentPoint: it
21796
+ }, at = this.getTextStyle(L);
21797
+ p.push(t.mtext(dt, at));
21789
21798
  }
21790
21799
  }
21791
21800
  }
21792
21801
  }
21793
21802
  p.push(t.lineSegments(h, 3, a));
21794
- const x = t.group(p), b = new $n();
21795
- return b.setFromAxisAngle(K.Z_AXIS, this.rotation), rl.compose(this.position, b, this.scaleFactors), x.applyMatrix(rl), x;
21803
+ const x = t.group(p), b = new Kn();
21804
+ return b.setFromAxisAngle($.Z_AXIS, this.rotation), rl.compose(this.position, b, this.scaleFactors), x.applyMatrix(rl), x;
21796
21805
  }
21797
21806
  /**
21798
21807
  * Marks cells as visited to handle merged cell rendering.
@@ -21843,7 +21852,7 @@ const Wc = /* @__PURE__ */ new K(), ho = class ho extends qn {
21843
21852
  * @private
21844
21853
  */
21845
21854
  getTableTextOffset(t, e, s) {
21846
- const a = new K();
21855
+ const a = new $();
21847
21856
  switch (t) {
21848
21857
  case 1:
21849
21858
  break;
@@ -22877,7 +22886,7 @@ const nl = /* @__PURE__ */ new Mt(), Js = /* @__PURE__ */ new Mt(), go = class g
22877
22886
  * ```
22878
22887
  */
22879
22888
  constructor() {
22880
- super(), this._basePoint = new W(), this._unitDir = new K();
22889
+ super(), this._basePoint = new W(), this._unitDir = new $();
22881
22890
  }
22882
22891
  /**
22883
22892
  * Gets the base point of this ray.
@@ -23389,7 +23398,7 @@ const yo = class yo extends Fe {
23389
23398
  * ```
23390
23399
  */
23391
23400
  constructor() {
23392
- super(), this._basePoint = new W(), this._unitDir = new K();
23401
+ super(), this._basePoint = new W(), this._unitDir = new $();
23393
23402
  }
23394
23403
  /**
23395
23404
  * Gets the base point of this xline.
@@ -23630,7 +23639,7 @@ const vo = class vo extends Re {
23630
23639
  * ```
23631
23640
  */
23632
23641
  constructor() {
23633
- super(), this._dimBlockId = null, this._dimBlockPosition = new W(), this._dimensionStyleName = null, this._dimensionText = null, this._textLineSpacingFactor = 1, this._textLineSpacingStyle = 1, this._textPosition = new W(), this._textRotation = 0, this._normal = new K(0, 0, 1);
23642
+ super(), this._dimBlockId = null, this._dimBlockPosition = new W(), this._dimensionStyleName = null, this._dimensionText = null, this._textLineSpacingFactor = 1, this._textLineSpacingStyle = 1, this._textPosition = new W(), this._textRotation = 0, this._normal = new $(0, 0, 1);
23634
23643
  }
23635
23644
  /**
23636
23645
  * Gets the block table record ID containing the entities that this dimension displays.
@@ -23753,7 +23762,7 @@ const vo = class vo extends Re {
23753
23762
  let t;
23754
23763
  this.dimensionStyleName && (t = this.database.tables.dimStyleTable.getAt(
23755
23764
  this.dimensionStyleName
23756
- )), t == null && (t = new Kn()), this._dimStyle = t;
23765
+ )), t == null && (t = new $n()), this._dimStyle = t;
23757
23766
  }
23758
23767
  return this._dimStyle;
23759
23768
  }
@@ -24399,8 +24408,8 @@ const bo = class bo extends nn {
24399
24408
  * @returns Returns the intersection point of 'line1' and 'line2'.
24400
24409
  */
24401
24410
  findIntersectionPoint(t, e) {
24402
- const s = t.startPoint, a = t.endPoint, h = new K().subVectors(a, s).normalize(), p = new K().subVectors(e, s).dot(h), v = new K().copy(h).multiplyScalar(p);
24403
- return new K().addVectors(s, v);
24411
+ const s = t.startPoint, a = t.endPoint, h = new $().subVectors(a, s).normalize(), p = new $().subVectors(e, s).dot(h), v = new $().copy(h).multiplyScalar(p);
24412
+ return new $().addVectors(s, v);
24404
24413
  }
24405
24414
  calculateRotation() {
24406
24415
  const t = this._xLine1Point, e = this._xLine2Point, s = e.x - t.x, a = e.y - t.y;
@@ -25270,7 +25279,7 @@ class qc extends Mn {
25270
25279
  super(t);
25271
25280
  }
25272
25281
  }
25273
- var Kc = /* @__PURE__ */ ((n) => (n[n.Center = 0] = "Center", n[n.Left = 1] = "Left", n[n.Right = 2] = "Right", n[n.OverFirst = 3] = "OverFirst", n[n.OverSecond = 4] = "OverSecond", n))(Kc || {}), $c = /* @__PURE__ */ ((n) => (n[n.Center = 0] = "Center", n[n.Above = 1] = "Above", n[n.Outside = 2] = "Outside", n[n.JIS = 3] = "JIS", n[n.Below = 4] = "Below", n))($c || {}), Zc = /* @__PURE__ */ ((n) => (n[n.Feet = 0] = "Feet", n[n.None = 1] = "None", n[n.Inch = 2] = "Inch", n[n.FeetAndInch = 3] = "FeetAndInch", n[n.Leading = 4] = "Leading", n[n.Trailing = 8] = "Trailing", n[n.LeadingAndTrailing = 12] = "LeadingAndTrailing", n))(Zc || {}), Qc = /* @__PURE__ */ ((n) => (n[n.None = 0] = "None", n[n.Leading = 1] = "Leading", n[n.Trailing = 2] = "Trailing", n[n.LeadingAndTrailing = 3] = "LeadingAndTrailing", n))(Qc || {}), Jc = /* @__PURE__ */ ((n) => (n[n.Bottom = 0] = "Bottom", n[n.Middle = 1] = "Middle", n[n.Top = 2] = "Top", n))(Jc || {});
25282
+ var $c = /* @__PURE__ */ ((n) => (n[n.Center = 0] = "Center", n[n.Left = 1] = "Left", n[n.Right = 2] = "Right", n[n.OverFirst = 3] = "OverFirst", n[n.OverSecond = 4] = "OverSecond", n))($c || {}), Kc = /* @__PURE__ */ ((n) => (n[n.Center = 0] = "Center", n[n.Above = 1] = "Above", n[n.Outside = 2] = "Outside", n[n.JIS = 3] = "JIS", n[n.Below = 4] = "Below", n))(Kc || {}), Zc = /* @__PURE__ */ ((n) => (n[n.Feet = 0] = "Feet", n[n.None = 1] = "None", n[n.Inch = 2] = "Inch", n[n.FeetAndInch = 3] = "FeetAndInch", n[n.Leading = 4] = "Leading", n[n.Trailing = 8] = "Trailing", n[n.LeadingAndTrailing = 12] = "LeadingAndTrailing", n))(Zc || {}), Qc = /* @__PURE__ */ ((n) => (n[n.None = 0] = "None", n[n.Leading = 1] = "Leading", n[n.Trailing = 2] = "Trailing", n[n.LeadingAndTrailing = 3] = "LeadingAndTrailing", n))(Qc || {}), Jc = /* @__PURE__ */ ((n) => (n[n.Bottom = 0] = "Bottom", n[n.Middle = 1] = "Middle", n[n.Top = 2] = "Top", n))(Jc || {});
25274
25283
  const Si = class Si extends kn {
25275
25284
  constructor(t, e) {
25276
25285
  t = t || {}, Gs(t, Si.DEFAULT_DIM_VALUES), super(t, e);
@@ -26194,7 +26203,7 @@ Si.DEFAULT_DIM_VALUES = {
26194
26203
  dimlwd: -2,
26195
26204
  dimlwe: -2
26196
26205
  };
26197
- let Kn = Si;
26206
+ let $n = Si;
26198
26207
  class Ni extends kn {
26199
26208
  /**
26200
26209
  * Creates a new AcDbLayerTableRecord instance.
@@ -26929,7 +26938,7 @@ const sd = {
26929
26938
  shadePlotObjectId: void 0,
26930
26939
  visualStyleObjectId: void 0,
26931
26940
  isDefaultLightingOn: !1,
26932
- defaultLightingType: Kl.ONE_DISTANT_LIGHT,
26941
+ defaultLightingType: $l.ONE_DISTANT_LIGHT,
26933
26942
  brightness: 0,
26934
26943
  contrast: 0,
26935
26944
  ambientColor: void 0
@@ -28058,7 +28067,7 @@ const Ei = class Ei extends sn {
28058
28067
  extendedFont: "SimKai"
28059
28068
  })
28060
28069
  ), this.tables.dimStyleTable.has(oe) || this.tables.dimStyleTable.add(
28061
- new Kn({
28070
+ new $n({
28062
28071
  name: oe,
28063
28072
  dimtxsty: oe
28064
28073
  })
@@ -28538,7 +28547,7 @@ class Jl {
28538
28547
  throw new Error("Not impelemented yet!");
28539
28548
  }
28540
28549
  }
28541
- var ge, vs, re, le, ws, hr, Ee, Pr, ur, pn, bs, xs, mn, gn, Is, Ss, Ps, De, Er, Kt, _n, Es, vt, ke, ks, Me, Ms, kr, Mr, cr, As, fn, He, Ar, yn, qi, Ki, Tr, Nr, Ts, Ns, Lr, Ls, $i, Zi, _e, Or, fe, Ye, Qi, Ji, ta, ea, Cr, Xe, vn, Os, wn, qe, Br, Ke, Rr;
28550
+ var ge, vs, re, le, ws, hr, Ee, Pr, ur, pn, bs, xs, mn, gn, Is, Ss, Ps, De, Er, $t, _n, Es, vt, ke, ks, Me, Ms, kr, Mr, cr, As, fn, He, Ar, yn, qi, $i, Tr, Nr, Ts, Ns, Lr, Ls, Ki, Zi, _e, Or, fe, Ye, Qi, Ji, ta, ea, Cr, Xe, vn, Os, wn, qe, Br, $e, Rr;
28542
28551
  (ge = {})[ge.None = 0] = "None", ge[ge.Anonymous = 1] = "Anonymous", ge[ge.NonConstant = 2] = "NonConstant", ge[ge.Xref = 4] = "Xref", ge[ge.XrefOverlay = 8] = "XrefOverlay", ge[ge.ExternallyDependent = 16] = "ExternallyDependent", ge[ge.ResolvedOrDependent = 32] = "ResolvedOrDependent", ge[ge.ReferencedXref = 64] = "ReferencedXref";
28543
28552
  (vs = {})[vs.BYBLOCK = 0] = "BYBLOCK", vs[vs.BYLAYER = 256] = "BYLAYER";
28544
28553
  (re = {})[re.Rotated = 0] = "Rotated", re[re.Aligned = 1] = "Aligned", re[re.Angular = 2] = "Angular", re[re.Diameter = 3] = "Diameter", re[re.Radius = 4] = "Radius", re[re.Angular3Point = 5] = "Angular3Point", re[re.Ordinate = 6] = "Ordinate", re[re.ReferenceIsExclusive = 32] = "ReferenceIsExclusive", re[re.IsOrdinateXTypeFlag = 64] = "IsOrdinateXTypeFlag", re[re.IsCustomTextPositionFlag = 128] = "IsCustomTextPositionFlag";
@@ -28551,7 +28560,7 @@ var ol = ((hr = {})[hr.Center = 0] = "Center", hr[hr.Above = 1] = "Above", hr[hr
28551
28560
  (Is = {})[Is.NotAnnotated = 0] = "NotAnnotated", Is[Is.Annotated = 1] = "Annotated";
28552
28561
  (Ss = {})[Ss.Solid = 0] = "Solid", Ss[Ss.Gradient = 1] = "Gradient";
28553
28562
  (Ps = {})[Ps.TwoColor = 0] = "TwoColor", Ps[Ps.OneColor = 1] = "OneColor";
28554
- var pd = ((De = {})[De.Default = 0] = "Default", De[De.External = 1] = "External", De[De.Polyline = 2] = "Polyline", De[De.Derived = 4] = "Derived", De[De.Textbox = 8] = "Textbox", De[De.Outermost = 16] = "Outermost", De), ti = ((Er = {})[Er.Line = 1] = "Line", Er[Er.Circular = 2] = "Circular", Er[Er.Elliptic = 3] = "Elliptic", Er[Er.Spline = 4] = "Spline", Er), md = ((Kt = {})[Kt.Off = 0] = "Off", Kt[Kt.Solid = 1] = "Solid", Kt[Kt.Dashed = 2] = "Dashed", Kt[Kt.Dotted = 3] = "Dotted", Kt[Kt.ShotDash = 4] = "ShotDash", Kt[Kt.MediumDash = 5] = "MediumDash", Kt[Kt.LongDash = 6] = "LongDash", Kt[Kt.DoubleShortDash = 7] = "DoubleShortDash", Kt[Kt.DoubleMediumDash = 8] = "DoubleMediumDash", Kt[Kt.DoubleLongDash = 9] = "DoubleLongDash", Kt[Kt.DoubleMediumLongDash = 10] = "DoubleMediumLongDash", Kt[Kt.SparseDot = 11] = "SparseDot", Kt);
28563
+ var pd = ((De = {})[De.Default = 0] = "Default", De[De.External = 1] = "External", De[De.Polyline = 2] = "Polyline", De[De.Derived = 4] = "Derived", De[De.Textbox = 8] = "Textbox", De[De.Outermost = 16] = "Outermost", De), ti = ((Er = {})[Er.Line = 1] = "Line", Er[Er.Circular = 2] = "Circular", Er[Er.Elliptic = 3] = "Elliptic", Er[Er.Spline = 4] = "Spline", Er), md = (($t = {})[$t.Off = 0] = "Off", $t[$t.Solid = 1] = "Solid", $t[$t.Dashed = 2] = "Dashed", $t[$t.Dotted = 3] = "Dotted", $t[$t.ShotDash = 4] = "ShotDash", $t[$t.MediumDash = 5] = "MediumDash", $t[$t.LongDash = 6] = "LongDash", $t[$t.DoubleShortDash = 7] = "DoubleShortDash", $t[$t.DoubleMediumDash = 8] = "DoubleMediumDash", $t[$t.DoubleLongDash = 9] = "DoubleLongDash", $t[$t.DoubleMediumLongDash = 10] = "DoubleMediumLongDash", $t[$t.SparseDot = 11] = "SparseDot", $t);
28555
28564
  md.Off;
28556
28565
  (_n = {})[_n.Standard = -3] = "Standard", _n[_n.ByLayer = -2] = "ByLayer", _n[_n.ByBlock = -1] = "ByBlock";
28557
28566
  (Es = {})[Es.English = 0] = "English", Es[Es.Metric = 1] = "Metric";
@@ -28586,10 +28595,10 @@ function bt(n, t) {
28586
28595
  }, [{}]);
28587
28596
  }(n, s.debug), u = !1, p = h.length - 1;
28588
28597
  for (; !St(e, 0, "EOF"); ) {
28589
- let v = function(V, z, at) {
28590
- return V.find((_t, st) => {
28598
+ let v = function(V, z, st) {
28599
+ return V.find((_t, it) => {
28591
28600
  var H;
28592
- return st >= at && ((H = _t[z]) == null ? void 0 : H.length);
28601
+ return it >= st && ((H = _t[z]) == null ? void 0 : H.length);
28593
28602
  });
28594
28603
  }(h, e.code, p), f = v == null ? void 0 : v[e.code], x = f == null ? void 0 : f[f.length - 1];
28595
28604
  if (!v || !x) {
@@ -28603,15 +28612,15 @@ function bt(n, t) {
28603
28612
  break;
28604
28613
  }
28605
28614
  if (b) {
28606
- let [V, z] = function(at, _t) {
28607
- let st = _t.split(".");
28608
- if (!st.length) throw Error("[parserGenerator::getObjectByPath] Invalid empty path");
28609
- let H = at;
28610
- for (let dt = 0; dt < st.length - 1; ++dt) {
28611
- let it = ra(st[dt]), Dt = ra(st[dt + 1]);
28612
- Object.prototype.hasOwnProperty.call(H, it) || (typeof Dt == "number" ? H[it] = [] : H[it] = {}), H = H[it];
28615
+ let [V, z] = function(st, _t) {
28616
+ let it = _t.split(".");
28617
+ if (!it.length) throw Error("[parserGenerator::getObjectByPath] Invalid empty path");
28618
+ let H = st;
28619
+ for (let dt = 0; dt < it.length - 1; ++dt) {
28620
+ let at = ra(it[dt]), Dt = ra(it[dt + 1]);
28621
+ Object.prototype.hasOwnProperty.call(H, at) || (typeof Dt == "number" ? H[at] = [] : H[at] = {}), H = H[at];
28613
28622
  }
28614
- return [H, ra(st[st.length - 1])];
28623
+ return [H, ra(it[it.length - 1])];
28615
28624
  }(a, b);
28616
28625
  M && !L ? (Object.prototype.hasOwnProperty.call(V, z) || (V[z] = []), V[z].push(C)) : V[z] = C;
28617
28626
  }
@@ -29023,7 +29032,7 @@ class ci {
29023
29032
  function vh(n, t, e) {
29024
29033
  return t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
29025
29034
  }
29026
- Ki = "DIMENSION", (qi = "ForEntityName") in ci ? Object.defineProperty(ci, qi, { value: Ki, enumerable: !0, configurable: !0, writable: !0 }) : ci[qi] = Ki;
29035
+ $i = "DIMENSION", (qi = "ForEntityName") in ci ? Object.defineProperty(ci, qi, { value: $i, enumerable: !0, configurable: !0, writable: !0 }) : ci[qi] = $i;
29027
29036
  let Nd = { extrusionDirection: { x: 0, y: 0, z: 1 } }, Ld = [{ code: 42, name: "endAngle", parser: w }, { code: 41, name: "startAngle", parser: w }, { code: 40, name: "axisRatio", parser: w }, { code: 210, name: "extrusionDirection", parser: D }, { code: 11, name: "majorAxisEndPoint", parser: D }, { code: 10, name: "center", parser: D }, { code: 100, name: "subclassMarker", parser: w }, ...Wt];
29028
29037
  class wh {
29029
29038
  parseEntity(t, e) {
@@ -29119,14 +29128,14 @@ function Th(n, t, e) {
29119
29128
  return t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
29120
29129
  }
29121
29130
  Mh(Ah, "ForEntityName", "INSERT");
29122
- let qd = { isArrowheadEnabled: !0 }, Kd = [{ code: 213, name: "offsetFromAnnotation", parser: D }, { code: 212, name: "offsetFromBlock", parser: D }, { code: 211, name: "horizontalDirection", parser: D }, { code: 210, name: "normal", parser: D }, { code: 340, name: "associatedAnnotation", parser: w }, { code: 77, name: "byBlockColor", parser: w }, { code: 10, name: "vertices", parser: D, isMultiple: !0 }, { code: 76, name: "numberOfVertices", parser: w }, { code: 41, name: "textWidth", parser: w }, { code: 40, name: "textHeight", parser: w }, { code: 75, name: "isHooklineExists", parser: jt }, { code: 74, name: "isHooklineSameDirection", parser: jt }, { code: 73, name: "leaderCreationFlag", parser: w }, { code: 72, name: "isSpline", parser: jt }, { code: 71, name: "isArrowheadEnabled", parser: jt }, { code: 3, name: "styleName", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...Wt];
29131
+ let qd = { isArrowheadEnabled: !0 }, $d = [{ code: 213, name: "offsetFromAnnotation", parser: D }, { code: 212, name: "offsetFromBlock", parser: D }, { code: 211, name: "horizontalDirection", parser: D }, { code: 210, name: "normal", parser: D }, { code: 340, name: "associatedAnnotation", parser: w }, { code: 77, name: "byBlockColor", parser: w }, { code: 10, name: "vertices", parser: D, isMultiple: !0 }, { code: 76, name: "numberOfVertices", parser: w }, { code: 41, name: "textWidth", parser: w }, { code: 40, name: "textHeight", parser: w }, { code: 75, name: "isHooklineExists", parser: jt }, { code: 74, name: "isHooklineSameDirection", parser: jt }, { code: 73, name: "leaderCreationFlag", parser: w }, { code: 72, name: "isSpline", parser: jt }, { code: 71, name: "isArrowheadEnabled", parser: jt }, { code: 3, name: "styleName", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...Wt];
29123
29132
  class Nh {
29124
29133
  parseEntity(t, e) {
29125
29134
  let s = {};
29126
29135
  return this.parser(e, t, s), s;
29127
29136
  }
29128
29137
  constructor() {
29129
- Th(this, "parser", bt(Kd, qd));
29138
+ Th(this, "parser", bt($d, qd));
29130
29139
  }
29131
29140
  }
29132
29141
  Th(Nh, "ForEntityName", "LEADER");
@@ -29134,14 +29143,14 @@ Th(Nh, "ForEntityName", "LEADER");
29134
29143
  function Lh(n, t, e) {
29135
29144
  return t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
29136
29145
  }
29137
- let $d = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Zd = [{ code: 210, name: "extrusionDirection", parser: D }, { code: 11, name: "endPoint", parser: D }, { code: 10, name: "startPoint", parser: D }, { code: 39, name: "thickness", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...Wt];
29146
+ let Kd = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Zd = [{ code: 210, name: "extrusionDirection", parser: D }, { code: 11, name: "endPoint", parser: D }, { code: 10, name: "startPoint", parser: D }, { code: 39, name: "thickness", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...Wt];
29138
29147
  class Oh {
29139
29148
  parseEntity(t, e) {
29140
29149
  let s = {};
29141
29150
  return this.parser(e, t, s), s;
29142
29151
  }
29143
29152
  constructor() {
29144
- Lh(this, "parser", bt(Zd, $d));
29153
+ Lh(this, "parser", bt(Zd, Kd));
29145
29154
  }
29146
29155
  }
29147
29156
  Lh(Oh, "ForEntityName", "LINE");
@@ -29159,7 +29168,7 @@ class di {
29159
29168
  function Ch(n, t, e) {
29160
29169
  return t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
29161
29170
  }
29162
- Zi = "LWPOLYLINE", ($i = "ForEntityName") in di ? Object.defineProperty(di, $i, { value: Zi, enumerable: !0, configurable: !0, writable: !0 }) : di[$i] = Zi;
29171
+ Zi = "LWPOLYLINE", (Ki = "ForEntityName") in di ? Object.defineProperty(di, Ki, { value: Zi, enumerable: !0, configurable: !0, writable: !0 }) : di[Ki] = Zi;
29163
29172
  let r0 = [{ code: 90, name: "overridenSubEntityCount", parser: w }, { code: 140, name: "edgeCreaseWeights", parser: w, isMultiple: !0 }, { code: 95, name: "edgeCreaseCount", parser: w }, { code: 94, parser(n, t, e) {
29164
29173
  e.edgeCount = n.value, e.edgeIndices = [];
29165
29174
  for (let s = 0; s < e.edgeCount; ++s) {
@@ -29288,21 +29297,21 @@ class qh {
29288
29297
  Xh(this, "parser", bt(g0, m0));
29289
29298
  }
29290
29299
  }
29291
- function Kh(n, t, e) {
29300
+ function $h(n, t, e) {
29292
29301
  return t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
29293
29302
  }
29294
29303
  Xh(qh, "ForEntityName", "SOLID");
29295
29304
  let _0 = [{ code: 350, name: "historyObjectSoftId", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...Li("data"), { code: 70, name: "version", parser: w }, { code: 100 }, ...Wt];
29296
- class $h {
29305
+ class Kh {
29297
29306
  parseEntity(t, e) {
29298
29307
  let s = {};
29299
29308
  return this.parser(e, t, s), s;
29300
29309
  }
29301
29310
  constructor() {
29302
- Kh(this, "parser", bt(_0));
29311
+ $h(this, "parser", bt(_0));
29303
29312
  }
29304
29313
  }
29305
- Kh($h, "ForEntityName", "3DSOLID");
29314
+ $h(Kh, "ForEntityName", "3DSOLID");
29306
29315
  (Ye = {})[Ye.NONE = 0] = "NONE", Ye[Ye.CLOSED = 1] = "CLOSED", Ye[Ye.PERIODIC = 2] = "PERIODIC", Ye[Ye.RATIONAL = 4] = "RATIONAL", Ye[Ye.PLANAR = 8] = "PLANAR", Ye[Ye.LINEAR = 16] = "LINEAR";
29307
29316
  function Zh(n, t, e) {
29308
29317
  return t in n ? Object.defineProperty(n, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : n[t] = e, n;
@@ -29733,7 +29742,7 @@ class au {
29733
29742
  }
29734
29743
  }
29735
29744
  iu(au, "ForEntityName", "MULTILEADER");
29736
- let P0 = Object.fromEntries([sh, uh, mh, _h, yh, ci, wh, xh, kh, Ah, Nh, Oh, di, Bh, dh, au, Fh, jh, Gh, Dh, Yh, qh, $h, Qh, pi, lh, tu, Ph, Ga, mi, ru, su].map((n) => [n.ForEntityName, new n()]));
29745
+ let P0 = Object.fromEntries([sh, uh, mh, _h, yh, ci, wh, xh, kh, Ah, Nh, Oh, di, Bh, dh, au, Fh, jh, Gh, Dh, Yh, qh, Kh, Qh, pi, lh, tu, Ph, Ga, mi, ru, su].map((n) => [n.ForEntityName, new n()]));
29737
29746
  function ou(n, t) {
29738
29747
  let e = [];
29739
29748
  for (; !St(n, 0, "EOF"); ) {
@@ -29827,7 +29836,7 @@ let Wa = [{ code: 330, name: "ownerObjectId", parser: w }, { code: 102, parser:
29827
29836
  (wn = {})[wn.INCHES = 0] = "INCHES", wn[wn.MILLIMETERS = 1] = "MILLIMETERS", wn[wn.PIXELS = 2] = "PIXELS";
29828
29837
  (qe = {})[qe.LAST_SCREEN_DISPLAY = 0] = "LAST_SCREEN_DISPLAY", qe[qe.DRAWING_EXTENTS = 1] = "DRAWING_EXTENTS", qe[qe.DRAWING_LIMITS = 2] = "DRAWING_LIMITS", qe[qe.VIEW_SPECIFIED = 3] = "VIEW_SPECIFIED", qe[qe.WINDOW_SPECIFIED = 4] = "WINDOW_SPECIFIED", qe[qe.LAYOUT_INFORMATION = 5] = "LAYOUT_INFORMATION";
29829
29838
  (Br = {})[Br.AS_DISPLAYED = 0] = "AS_DISPLAYED", Br[Br.WIREFRAME = 1] = "WIREFRAME", Br[Br.HIDDEN = 2] = "HIDDEN", Br[Br.RENDERED = 3] = "RENDERED";
29830
- (Ke = {})[Ke.DRAFT = 0] = "DRAFT", Ke[Ke.PREVIEW = 1] = "PREVIEW", Ke[Ke.NORMAL = 2] = "NORMAL", Ke[Ke.PRESENTATION = 3] = "PRESENTATION", Ke[Ke.MAXIMUM = 4] = "MAXIMUM", Ke[Ke.CUSTOM = 5] = "CUSTOM";
29839
+ ($e = {})[$e.DRAFT = 0] = "DRAFT", $e[$e.PREVIEW = 1] = "PREVIEW", $e[$e.NORMAL = 2] = "NORMAL", $e[$e.PRESENTATION = 3] = "PRESENTATION", $e[$e.MAXIMUM = 4] = "MAXIMUM", $e[$e.CUSTOM = 5] = "CUSTOM";
29831
29840
  let lu = [{ code: 333, name: "shadePlotId", parser: w }, { code: 149, name: "imageOriginY", parser: w }, { code: 148, name: "imageOriginX", parser: w }, { code: 147, name: "scaleFactor", parser: w }, { code: 78, name: "shadePlotCustomDPI", parser: w }, { code: 77, name: "shadePlotResolution", parser: w }, { code: 76, name: "shadePlotMode", parser: w }, { code: 75, name: "standardScaleType", parser: w }, { code: 7, name: "currentStyleSheet", parser: w }, { code: 74, name: "plotType", parser: w }, { code: 73, name: "plotRotation", parser: w }, { code: 72, name: "plotPaperUnit", parser: w }, { code: 70, name: "layoutFlag", parser: w }, { code: 143, name: "printScaleDenominator", parser: w }, { code: 142, name: "printScaleNumerator", parser: w }, { code: 141, name: "windowAreaYMax", parser: w }, { code: 140, name: "windowAreaXMax", parser: w }, { code: 49, name: "windowAreaYMin", parser: w }, { code: 48, name: "windowAreaXMin", parser: w }, { code: 47, name: "plotOriginY", parser: w }, { code: 46, name: "plotOriginX", parser: w }, { code: 45, name: "paperHeight", parser: w }, { code: 44, name: "paperWidth", parser: w }, { code: 43, name: "marginTop", parser: w }, { code: 42, name: "marginRight", parser: w }, { code: 41, name: "marginBottom", parser: w }, { code: 40, name: "marginLeft", parser: w }, { code: 6, name: "plotViewName", parser: w }, { code: 4, name: "paperSize", parser: w }, { code: 2, name: "configName", parser: w }, { code: 1, name: "pageSetupName", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...Wa], N0 = [{ code: 346, name: "orthographicUcsId", parser: w }, { code: 345, name: "namedUcsId", parser: w }, { code: 331, name: "viewportId", parser: w }, { code: 330, name: "paperSpaceTableId", parser: w }, { code: 76, name: "orthographicType", parser: w }, { code: 17, name: "ucsYAxis", parser: D }, { code: 16, name: "ucsXAxis", parser: D }, { code: 13, name: "ucsOrigin", parser: D }, { code: 146, name: "elevation", parser: w }, { code: 15, name: "maxExtent", parser: D }, { code: 14, name: "minExtent", parser: D }, { code: 12, name: "insertionPoint", parser: D }, { code: 11, name: "maxLimit", parser: D }, { code: 10, name: "minLimit", parser: D }, { code: 71, name: "tabOrder", parser: w }, { code: 70, name: "controlFlag", parser: w }, { code: 1, name: "layoutName", parser: w }, { code: 100, name: "subclassMarker", parser: w }, ...lu], L0 = [{ code: 40, name: "wcsToOCSTransform", parser: hl }, { code: 40, name: "ocsToWCSTransform", parser: hl }, { code: 41, name: "backClippingDistance", parser: w }, { code: 73, name: "isBackClipping", parser: jt, pushContext: !0 }, { code: 40, name: "frontClippingDistance", parser: w }, { code: 72, name: "isFrontClipping", parser: jt, pushContext: !0 }, { code: 71, name: "isClipBoundaryDisplayed", parser: jt }, { code: 11, name: "position", parser: D }, { code: 210, name: "normal", parser: D }, { code: 10, name: "boundaryVertices", parser: D, isMultiple: !0 }, { code: 70, name: "boundaryCount", parser: w }, { code: 100, name: "subclassMarker", parser: w }, { code: 100 }, ...Wa];
29832
29841
  function hl(n, t) {
29833
29842
  let e = [];
@@ -29998,12 +30007,12 @@ class q0 {
29998
30007
  else if (z === "ENDSEC" && v)
29999
30008
  return { version: u, encoding: p };
30000
30009
  if (v && z === "$ACADVER") {
30001
- const at = (x = C[V + 2]) == null ? void 0 : x.trim();
30002
- at && (u = new dr(at));
30010
+ const st = (x = C[V + 2]) == null ? void 0 : x.trim();
30011
+ st && (u = new dr(st));
30003
30012
  } else if (v && z === "$DWGCODEPAGE") {
30004
- const at = (b = C[V + 2]) == null ? void 0 : b.trim();
30005
- if (at) {
30006
- const _t = Wl[at];
30013
+ const st = (b = C[V + 2]) == null ? void 0 : b.trim();
30014
+ if (st) {
30015
+ const _t = Wl[st];
30007
30016
  p = xc(_t);
30008
30017
  }
30009
30018
  }
@@ -30087,7 +30096,7 @@ class dl {
30087
30096
  t.radius,
30088
30097
  Et.degToRad(t.startAngle),
30089
30098
  Et.degToRad(t.endAngle),
30090
- t.extrusionDirection ?? K.Z_AXIS
30099
+ t.extrusionDirection ?? $.Z_AXIS
30091
30100
  );
30092
30101
  }
30093
30102
  convertAttributeCommon(t, e) {
@@ -30117,7 +30126,7 @@ class dl {
30117
30126
  return new ga(
30118
30127
  t.center,
30119
30128
  t.radius,
30120
- t.extrusionDirection ?? K.Z_AXIS
30129
+ t.extrusionDirection ?? $.Z_AXIS
30121
30130
  );
30122
30131
  }
30123
30132
  /**
@@ -30133,10 +30142,10 @@ class dl {
30133
30142
  * ```
30134
30143
  */
30135
30144
  convertEllipse(t) {
30136
- const e = new K(t.majorAxisEndPoint), s = e.length();
30145
+ const e = new $(t.majorAxisEndPoint), s = e.length();
30137
30146
  return new _a(
30138
30147
  t.center,
30139
- t.extrusionDirection ?? K.Z_AXIS,
30148
+ t.extrusionDirection ?? $.Z_AXIS,
30140
30149
  e,
30141
30150
  s,
30142
30151
  s * t.axisRatio,
@@ -30331,7 +30340,7 @@ class dl {
30331
30340
  }
30332
30341
  convertMText(t) {
30333
30342
  const e = new vi();
30334
- return e.contents = t.text, t.styleName != null && (e.styleName = t.styleName), e.height = t.height, e.width = t.width, e.rotation = Et.degToRad(t.rotation || 0), e.location = t.insertionPoint, e.attachmentPoint = t.attachmentPoint, t.direction && (e.direction = new K(t.direction)), e.drawingDirection = t.drawingDirection, e;
30343
+ return e.contents = t.text, t.styleName != null && (e.styleName = t.styleName), e.height = t.height, e.width = t.width, e.rotation = Et.degToRad(t.rotation || 0), e.location = t.insertionPoint, e.attachmentPoint = t.attachmentPoint, t.direction && (e.direction = new $(t.direction)), e.drawingDirection = t.drawingDirection, e;
30335
30344
  }
30336
30345
  convertLeader(t) {
30337
30346
  const e = new ya();
@@ -30476,7 +30485,7 @@ class dl {
30476
30485
  return h;
30477
30486
  }
30478
30487
  }
30479
- class K0 {
30488
+ class $0 {
30480
30489
  /**
30481
30490
  * Converts a DXF layout object to an AcDbLayout.
30482
30491
  *
@@ -30541,11 +30550,11 @@ class K0 {
30541
30550
  })(), t.shadePlotCustomDPI != null && (s.shadePlotCustomDPI = t.shadePlotCustomDPI), t.shadePlotId && (s.shadePlotId = t.shadePlotId);
30542
30551
  const a = t.layoutFlag ?? 0;
30543
30552
  if (s.plotViewportBorders = (a & 1) !== 0, s.showPlotStyles = (a & 2) !== 0, s.plotCentered = (a & 4) !== 0, s.plotHidden = (a & 8) !== 0, s.useStandardScale = (a & 16) !== 0, s.plotPlotStyles = (a & 32) !== 0, s.scaleLineweights = (a & 64) !== 0, s.printLineweights = (a & 128) !== 0, s.drawViewportsFirst = (a & 512) !== 0, s.modelType = (a & 1024) !== 0, t.layoutName === "Model") {
30544
- const p = ue.MODEL_SPACE_NAME;
30553
+ const p = ue.MODEL_SPACE_NAME.toUpperCase();
30545
30554
  (h = e.tables.BLOCK_RECORD) == null || h.entries.some((v) => v.name.toUpperCase() === p ? (s.blockTableRecordId = v.handle, !0) : !1);
30546
30555
  } else
30547
30556
  (u = e.tables.BLOCK_RECORD) == null || u.entries.some((p) => p.layoutObjects === t.handle ? (s.blockTableRecordId = p.handle, !0) : !1), s.blockTableRecordId || (s.blockTableRecordId = t.paperSpaceTableId);
30548
- return s.limits.min.copy(t.minLimit), s.limits.max.copy(t.maxLimit), s.extents.min.copy(t.minExtent), s.extents.max.copy(t.maxExtent), this.processCommonAttrs(t, s), s;
30557
+ return t.minLimit && s.limits.min.copy(t.minLimit), t.maxLimit && s.limits.max.copy(t.maxLimit), t.minExtent && s.extents.min.copy(t.minExtent), t.maxExtent && s.extents.max.copy(t.maxExtent), this.processCommonAttrs(t, s), s;
30549
30558
  }
30550
30559
  /**
30551
30560
  * Converts a DXF image definition object to an AcDbRasterImageDef.
@@ -30581,7 +30590,7 @@ class K0 {
30581
30590
  e.objectId = t.handle, e.ownerId = t.ownerObjectId;
30582
30591
  }
30583
30592
  }
30584
- class $0 {
30593
+ class K0 {
30585
30594
  constructor(t) {
30586
30595
  this.taskId = 0, this.workers = /* @__PURE__ */ new Map(), this.pendingTasks = /* @__PURE__ */ new Map(), this.config = {
30587
30596
  workerUrl: t.workerUrl,
@@ -30733,7 +30742,7 @@ class $0 {
30733
30742
  }
30734
30743
  class Z0 {
30735
30744
  constructor(t) {
30736
- this.framework = new $0(t);
30745
+ this.framework = new K0(t);
30737
30746
  }
30738
30747
  /**
30739
30748
  * Execute a task with optional worker support
@@ -30952,13 +30961,13 @@ class J0 extends Jl {
30952
30961
  await f.processChunk(async (E, M) => {
30953
30962
  let L = [], C = E < M ? p[E].type : "";
30954
30963
  for (let z = E; z < M; z++) {
30955
- const at = p[z];
30956
- if (at.type !== "ATTRIB") {
30957
- const _t = u.convert(at);
30964
+ const st = p[z];
30965
+ if (!(st.ownerBlockRecordSoftId && st.ownerBlockRecordSoftId !== b.objectId) && st.type !== "ATTRIB") {
30966
+ const _t = u.convert(st);
30958
30967
  if (_t) {
30959
- if (this.config.convertByEntityType && at.type !== C && (b.appendEntity(L), L = [], C = at.type), at.type === "INSERT") {
30960
- const st = x.get(_t.objectId);
30961
- st && st.length > 0 && st.forEach((H) => {
30968
+ if (this.config.convertByEntityType && st.type !== C && (b.appendEntity(L), L = [], C = st.type), st.type === "INSERT") {
30969
+ const it = x.get(_t.objectId);
30970
+ it && it.length > 0 && it.forEach((H) => {
30962
30971
  _t.appendAttributes(H);
30963
30972
  });
30964
30973
  }
@@ -31077,7 +31086,7 @@ class J0 extends Jl {
31077
31086
  * ```
31078
31087
  */
31079
31088
  processObjects(t, e) {
31080
- const s = t.objects.byName, a = new K0();
31089
+ const s = t.objects.byName, a = new $0();
31081
31090
  if ("LAYOUT" in s) {
31082
31091
  const h = e.objects.layout;
31083
31092
  s.LAYOUT.forEach((u) => {
@@ -31286,7 +31295,7 @@ class J0 extends Jl {
31286
31295
  dimblk2: h.DIMBLK2 || "",
31287
31296
  dimlwd: h.DIMLWD,
31288
31297
  dimlwe: h.DIMLWE
31289
- }, p = new Kn(u);
31298
+ }, p = new $n(u);
31290
31299
  this.processCommonTableEntryAttrs(h, p), e.tables.dimStyleTable.add(p);
31291
31300
  });
31292
31301
  }
@@ -31532,9 +31541,9 @@ export {
31532
31541
  oi as AcDbDictionary,
31533
31542
  Bc as AcDbDimArrowType,
31534
31543
  qc as AcDbDimStyleTable,
31535
- Kn as AcDbDimStyleTableRecord,
31536
- Kc as AcDbDimTextHorizontal,
31537
- $c as AcDbDimTextVertical,
31544
+ $n as AcDbDimStyleTableRecord,
31545
+ $c as AcDbDimTextHorizontal,
31546
+ Kc as AcDbDimTextVertical,
31538
31547
  Jc as AcDbDimVerticalJustification,
31539
31548
  Zc as AcDbDimZeroSuppression,
31540
31549
  Qc as AcDbDimZeroSuppressionAngular,
@@ -31609,7 +31618,7 @@ export {
31609
31618
  Zl as AcDbViewportTableRecord,
31610
31619
  Pa as AcDbWipeout,
31611
31620
  Z0 as AcDbWorkerApi,
31612
- $0 as AcDbWorkerManager,
31621
+ K0 as AcDbWorkerManager,
31613
31622
  Ea as AcDbXline,
31614
31623
  Dl as AcDbXrecord,
31615
31624
  Ra as AcGeArea2d,
@@ -31634,14 +31643,14 @@ export {
31634
31643
  Mt as AcGePoint2d,
31635
31644
  W as AcGePoint3d,
31636
31645
  En as AcGePolyline2d,
31637
- $n as AcGeQuaternion,
31646
+ Kn as AcGeQuaternion,
31638
31647
  Fl as AcGeShape2d,
31639
31648
  rn as AcGeSpline3d,
31640
31649
  Tl as AcGeTol,
31641
31650
  ee as AcGeVector2d,
31642
- K as AcGeVector3d,
31651
+ $ as AcGeVector3d,
31643
31652
  Yl as AcGiArrowType,
31644
- Kl as AcGiDefaultLightingType,
31653
+ $l as AcGiDefaultLightingType,
31645
31654
  Pn as AcGiLineWeight,
31646
31655
  Te as AcGiMTextAttachmentPoint,
31647
31656
  Jr as AcGiMTextFlowDirection,
@@ -31673,7 +31682,7 @@ export {
31673
31682
  dc as calculateCurveLength,
31674
31683
  rc as ceilPowerOfTwo,
31675
31684
  Qr as clamp,
31676
- Ks as clone,
31685
+ $s as clone,
31677
31686
  Q0 as createWorkerApi,
31678
31687
  Hu as damp,
31679
31688
  Do as deepClone,
@@ -31706,9 +31715,9 @@ export {
31706
31715
  si as normalizeAngle,
31707
31716
  Yu as pingpong,
31708
31717
  tc as radToDeg,
31709
- $u as randFloat,
31718
+ Ku as randFloat,
31710
31719
  Zu as randFloatSpread,
31711
- Ku as randInt,
31720
+ $u as randInt,
31712
31721
  ac as relativeEps,
31713
31722
  Qu as seededRandom,
31714
31723
  Vu as setAcDbHostApplicationServicesProvider,