@mlightcad/data-model 1.3.15 → 1.3.16

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.
@@ -1,4 +1,4 @@
1
- function Qh(i, t) {
1
+ function tu(i, t) {
2
2
  for (var e = 0; e < t.length; e++) {
3
3
  const s = t[e];
4
4
  if (typeof s != "string" && !Array.isArray(s)) {
@@ -159,7 +159,7 @@ const Ds = {
159
159
  whitesmoke: 16119285,
160
160
  yellow: 16776960,
161
161
  yellowgreen: 10145074
162
- }, fi = [
162
+ }, _i = [
163
163
  0,
164
164
  16711680,
165
165
  16776960,
@@ -421,7 +421,7 @@ const Ds = {
421
421
  function ss(i, t, e) {
422
422
  return Math.max(t, Math.min(e, i));
423
423
  }
424
- const Do = class Uo {
424
+ const Vo = class Go {
425
425
  /**
426
426
  * Constructs a new AcCmColor instance.
427
427
  * Initializes the color to "ByLayer" (index 256) and null RGB values.
@@ -511,7 +511,7 @@ const Do = class Uo {
511
511
  * @param {number | null} value - The color index to set (0-256).
512
512
  */
513
513
  set colorIndex(t) {
514
- t == null ? this._colorIndex = null : (this._colorIndex = ss(t, 0, 256), this._colorIndex > 0 && this._colorIndex < 256 ? (this._color = fi[t], this._colorName = this.getColorNameByValue(this._color)) : (this._color = null, this._colorName = null));
514
+ t == null ? this._colorIndex = null : (this._colorIndex = ss(t, 0, 256), this._colorIndex > 0 && this._colorIndex < 256 ? (this._color = _i[t], this._colorName = this.getColorNameByValue(this._color)) : (this._color = null, this._colorName = null));
515
515
  }
516
516
  /**
517
517
  * Gets the name of the current color.
@@ -618,7 +618,7 @@ const Do = class Uo {
618
618
  * @returns {AcCmColor} A new AcCmColor instance with the same color and index.
619
619
  */
620
620
  clone() {
621
- const t = new Uo();
621
+ const t = new Go();
622
622
  return t.colorIndex = this.colorIndex, t.color = this.color, t._colorName = this._colorName, this;
623
623
  }
624
624
  /**
@@ -668,15 +668,15 @@ const Do = class Uo {
668
668
  * @returns {number | null} The color index if found, null otherwise.
669
669
  */
670
670
  getColorIndexByValue(t) {
671
- const e = fi.length - 1;
671
+ const e = _i.length - 1;
672
672
  for (let s = 1; s < e; ++s)
673
- if (fi[s] === t)
673
+ if (_i[s] === t)
674
674
  return s;
675
675
  return null;
676
676
  }
677
677
  };
678
- Do.NAMES = Ds;
679
- let dn = Do;
678
+ Vo.NAMES = Ds;
679
+ let dn = Vo;
680
680
  const Ye = {
681
681
  /**
682
682
  * Throw error ILLEGAL_PARAMETERS when cannot instantiate from given parameter
@@ -713,7 +713,7 @@ const Ye = {
713
713
  return new Error("Not implemented yet");
714
714
  }
715
715
  };
716
- let g0 = class {
716
+ let _0 = class {
717
717
  /**
718
718
  * Creates {@link AcCmEventDispatcher} object.
719
719
  */
@@ -752,7 +752,7 @@ let g0 = class {
752
752
  s[o].call(this, t);
753
753
  }
754
754
  }
755
- }, ce = class {
755
+ }, ie = class {
756
756
  constructor() {
757
757
  this.listeners = [];
758
758
  }
@@ -786,15 +786,15 @@ let g0 = class {
786
786
  s.call(null, t, ...e);
787
787
  }
788
788
  };
789
- var Jh = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
790
- function tu(i) {
789
+ var eu = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
790
+ function ru(i) {
791
791
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
792
792
  }
793
- var Vo = { exports: {} };
793
+ var jo = { exports: {} };
794
794
  (function(i) {
795
795
  (function(t, e) {
796
796
  i.exports ? i.exports = e() : t.log = e();
797
- })(Jh, function() {
797
+ })(eu, function() {
798
798
  var t = function() {
799
799
  }, e = "undefined", s = typeof window !== e && typeof window.navigator !== e && /Trident\/|MSIE /.test(window.navigator.userAgent), o = [
800
800
  "trace",
@@ -935,14 +935,14 @@ var Vo = { exports: {} };
935
935
  return h;
936
936
  }, c.default = c, c;
937
937
  });
938
- })(Vo);
939
- var Go = Vo.exports;
940
- const eu = /* @__PURE__ */ tu(Go), ru = /* @__PURE__ */ Qh({
938
+ })(jo);
939
+ var Wo = jo.exports;
940
+ const nu = /* @__PURE__ */ ru(Wo), su = /* @__PURE__ */ tu({
941
941
  __proto__: null,
942
- default: eu
943
- }, [Go]), y0 = !0, Us = ru;
942
+ default: nu
943
+ }, [Wo]), x0 = !0, Us = su;
944
944
  Us.setLevel("debug");
945
- const v0 = (i) => {
945
+ const b0 = (i) => {
946
946
  try {
947
947
  Us.setLevel(i);
948
948
  } catch (t) {
@@ -959,10 +959,10 @@ function Ps(i, ...t) {
959
959
  Object.prototype.hasOwnProperty.call(e, s) && i[s] === void 0 && (i[s] = e[s]);
960
960
  return i;
961
961
  }
962
- function nu(i, t) {
962
+ function iu(i, t) {
963
963
  return i != null && Object.prototype.hasOwnProperty.call(i, t);
964
964
  }
965
- function su(i) {
965
+ function au(i) {
966
966
  return i == null ? !0 : Array.isArray(i) || typeof i == "string" ? i.length === 0 : i instanceof Map || i instanceof Set ? i.size === 0 : typeof i == "object" ? Object.keys(i).length === 0 : !1;
967
967
  }
968
968
  function As(i, t) {
@@ -998,7 +998,7 @@ function As(i, t) {
998
998
  return !1;
999
999
  return !0;
1000
1000
  }
1001
- let iu = class jo {
1001
+ let ou = class Ho {
1002
1002
  /**
1003
1003
  * Create one object to store attributes. For performance reason, values of attributes passed to constructor
1004
1004
  * will not be cloned to `attributes` property. So it means that value of `attributes` property in this object
@@ -1007,8 +1007,8 @@ let iu = class jo {
1007
1007
  */
1008
1008
  constructor(t, e) {
1009
1009
  this.events = {
1010
- attrChanged: new ce(),
1011
- modelChanged: new ce()
1010
+ attrChanged: new ie(),
1011
+ modelChanged: new ie()
1012
1012
  }, this._changing = !1, this._previousAttributes = {}, this._pending = !1;
1013
1013
  const s = t || {};
1014
1014
  e && Ps(s, e), this.attributes = s, this.changed = {};
@@ -1078,7 +1078,7 @@ let iu = class jo {
1078
1078
  * If you specify an attribute name, determine if that attribute has changed.
1079
1079
  */
1080
1080
  hasChanged(t) {
1081
- return t == null ? !su(this.changed) : nu(this.changed, t);
1081
+ return t == null ? !au(this.changed) : iu(this.changed, t);
1082
1082
  }
1083
1083
  /**
1084
1084
  * Return an object containing all the attributes that have changed. Useful for determining what parts
@@ -1113,9 +1113,9 @@ let iu = class jo {
1113
1113
  */
1114
1114
  clone() {
1115
1115
  const t = Cs(this.attributes);
1116
- return new jo(t);
1116
+ return new Ho(t);
1117
1117
  }
1118
- }, Wo = class bs {
1118
+ }, Yo = class bs {
1119
1119
  /**
1120
1120
  * Private constructor to enforce singleton pattern.
1121
1121
  */
@@ -1174,7 +1174,7 @@ let iu = class jo {
1174
1174
  return this.entries.delete(t);
1175
1175
  }
1176
1176
  };
1177
- class x0 {
1177
+ class w0 {
1178
1178
  /**
1179
1179
  * Converts a byte count to a human-readable string using appropriate size units.
1180
1180
  *
@@ -1203,7 +1203,7 @@ class x0 {
1203
1203
  return `${parseFloat(g.toFixed(o))} ${h[c]}`;
1204
1204
  }
1205
1205
  }
1206
- class au {
1206
+ class lu {
1207
1207
  /**
1208
1208
  * Creates a new task with the specified name.
1209
1209
  *
@@ -1226,7 +1226,7 @@ class au {
1226
1226
  throw new Error("run() must be implemented by subclass");
1227
1227
  }
1228
1228
  }
1229
- class ou {
1229
+ class hu {
1230
1230
  constructor() {
1231
1231
  this.tasks = [], this.onProgress = () => {
1232
1232
  }, this.onComplete = () => {
@@ -1296,7 +1296,7 @@ class ou {
1296
1296
  this.onComplete(s);
1297
1297
  }
1298
1298
  }
1299
- let lu = class {
1299
+ let uu = class {
1300
1300
  /**
1301
1301
  * Create a new AcCmLoadingManager instance
1302
1302
  * @param onLoad this function will be called when all loaders are done.
@@ -1380,14 +1380,14 @@ let lu = class {
1380
1380
  return null;
1381
1381
  }
1382
1382
  };
1383
- const hu = /* @__PURE__ */ new lu();
1384
- let w0 = class {
1383
+ const cu = /* @__PURE__ */ new uu();
1384
+ let S0 = class {
1385
1385
  /**
1386
1386
  * Creates a new AcCmLoader instance.
1387
1387
  * @param manager The loadingManager for the loader to use. Default is DefaultLoadingManager.
1388
1388
  */
1389
1389
  constructor(t) {
1390
- this.manager = t !== void 0 ? t : hu, this.crossOrigin = "anonymous", this.withCredentials = !1, this.path = "", this.resourcePath = "", this.requestHeader = {};
1390
+ this.manager = t !== void 0 ? t : cu, this.crossOrigin = "anonymous", this.withCredentials = !1, this.path = "", this.resourcePath = "", this.requestHeader = {};
1391
1391
  }
1392
1392
  /**
1393
1393
  * This method is equivalent to 'load', but returns a Promise.
@@ -1452,7 +1452,7 @@ let w0 = class {
1452
1452
  return this.requestHeader = t, this;
1453
1453
  }
1454
1454
  };
1455
- class Ho {
1455
+ class qo {
1456
1456
  /**
1457
1457
  * Creates a new AcDbBatchProcessing instance.
1458
1458
  *
@@ -1598,7 +1598,7 @@ class Ho {
1598
1598
  await s();
1599
1599
  }
1600
1600
  }
1601
- var Yo = /* @__PURE__ */ ((i) => (i[i.DecimalDegrees = 0] = "DecimalDegrees", i[i.DegreesMinutesSeconds = 1] = "DegreesMinutesSeconds", i[i.Gradians = 2] = "Gradians", i[i.Radians = 3] = "Radians", i[i.SurveyorsUnits = 4] = "SurveyorsUnits", i))(Yo || {});
1601
+ var Xo = /* @__PURE__ */ ((i) => (i[i.DecimalDegrees = 0] = "DecimalDegrees", i[i.DegreesMinutesSeconds = 1] = "DegreesMinutesSeconds", i[i.Gradians = 2] = "Gradians", i[i.Radians = 3] = "Radians", i[i.SurveyorsUnits = 4] = "SurveyorsUnits", i))(Xo || {});
1602
1602
  class on {
1603
1603
  /**
1604
1604
  * Gets the singleton instance of the rendering cache.
@@ -1741,7 +1741,7 @@ class on {
1741
1741
  const E = e.newIterator();
1742
1742
  let T = !0;
1743
1743
  for (const L of E)
1744
- if (L.color.isByBlock && s ? (yo.copy(L.color), L.color.color = s, this.addEntity(L, g, t), L.color.copy(yo)) : this.addEntity(L, g, t), T) {
1744
+ if (L.color.isByBlock && s ? (vo.copy(L.color), L.color.color = s, this.addEntity(L, g, t), L.color.copy(vo)) : this.addEntity(L, g, t), T) {
1745
1745
  const z = g[0];
1746
1746
  t.basePoint = z.basePoint, T = !1;
1747
1747
  }
@@ -1759,9 +1759,9 @@ class on {
1759
1759
  t.objectId = e.objectId, t.ownerId = e.ownerId, t.layerName = e.layer, t.visible = e.visibility;
1760
1760
  }
1761
1761
  }
1762
- const yo = /* @__PURE__ */ new dn();
1763
- var qo = /* @__PURE__ */ ((i) => (i[i.UTF8 = 0] = "UTF8", i[i.US_ASCII = 1] = "US_ASCII", i[i.ISO_8859_1 = 2] = "ISO_8859_1", i[i.ISO_8859_2 = 3] = "ISO_8859_2", i[i.ISO_8859_3 = 4] = "ISO_8859_3", i[i.ISO_8859_4 = 5] = "ISO_8859_4", i[i.ISO_8859_5 = 6] = "ISO_8859_5", i[i.ISO_8859_6 = 7] = "ISO_8859_6", i[i.ISO_8859_7 = 8] = "ISO_8859_7", i[i.ISO_8859_8 = 9] = "ISO_8859_8", i[i.ISO_8859_9 = 10] = "ISO_8859_9", i[i.CP437 = 11] = "CP437", i[i.CP850 = 12] = "CP850", i[i.CP852 = 13] = "CP852", i[i.CP855 = 14] = "CP855", i[i.CP857 = 15] = "CP857", i[i.CP860 = 16] = "CP860", i[i.CP861 = 17] = "CP861", i[i.CP863 = 18] = "CP863", i[i.CP864 = 19] = "CP864", i[i.CP865 = 20] = "CP865", i[i.CP869 = 21] = "CP869", i[i.CP932 = 22] = "CP932", i[i.MACINTOSH = 23] = "MACINTOSH", i[i.BIG5 = 24] = "BIG5", i[i.CP949 = 25] = "CP949", i[i.JOHAB = 26] = "JOHAB", i[i.CP866 = 27] = "CP866", i[i.ANSI_1250 = 28] = "ANSI_1250", i[i.ANSI_1251 = 29] = "ANSI_1251", i[i.ANSI_1252 = 30] = "ANSI_1252", i[i.GB2312 = 31] = "GB2312", i[i.ANSI_1253 = 32] = "ANSI_1253", i[i.ANSI_1254 = 33] = "ANSI_1254", i[i.ANSI_1255 = 34] = "ANSI_1255", i[i.ANSI_1256 = 35] = "ANSI_1256", i[i.ANSI_1257 = 36] = "ANSI_1257", i[i.ANSI_874 = 37] = "ANSI_874", i[i.ANSI_932 = 38] = "ANSI_932", i[i.ANSI_936 = 39] = "ANSI_936", i[i.ANSI_949 = 40] = "ANSI_949", i[i.ANSI_950 = 41] = "ANSI_950", i[i.ANSI_1361 = 42] = "ANSI_1361", i[i.UTF16 = 43] = "UTF16", i[i.ANSI_1258 = 44] = "ANSI_1258", i[i.UNDEFINED = 255] = "UNDEFINED", i))(qo || {});
1764
- const uu = [
1762
+ const vo = /* @__PURE__ */ new dn();
1763
+ var Ko = /* @__PURE__ */ ((i) => (i[i.UTF8 = 0] = "UTF8", i[i.US_ASCII = 1] = "US_ASCII", i[i.ISO_8859_1 = 2] = "ISO_8859_1", i[i.ISO_8859_2 = 3] = "ISO_8859_2", i[i.ISO_8859_3 = 4] = "ISO_8859_3", i[i.ISO_8859_4 = 5] = "ISO_8859_4", i[i.ISO_8859_5 = 6] = "ISO_8859_5", i[i.ISO_8859_6 = 7] = "ISO_8859_6", i[i.ISO_8859_7 = 8] = "ISO_8859_7", i[i.ISO_8859_8 = 9] = "ISO_8859_8", i[i.ISO_8859_9 = 10] = "ISO_8859_9", i[i.CP437 = 11] = "CP437", i[i.CP850 = 12] = "CP850", i[i.CP852 = 13] = "CP852", i[i.CP855 = 14] = "CP855", i[i.CP857 = 15] = "CP857", i[i.CP860 = 16] = "CP860", i[i.CP861 = 17] = "CP861", i[i.CP863 = 18] = "CP863", i[i.CP864 = 19] = "CP864", i[i.CP865 = 20] = "CP865", i[i.CP869 = 21] = "CP869", i[i.CP932 = 22] = "CP932", i[i.MACINTOSH = 23] = "MACINTOSH", i[i.BIG5 = 24] = "BIG5", i[i.CP949 = 25] = "CP949", i[i.JOHAB = 26] = "JOHAB", i[i.CP866 = 27] = "CP866", i[i.ANSI_1250 = 28] = "ANSI_1250", i[i.ANSI_1251 = 29] = "ANSI_1251", i[i.ANSI_1252 = 30] = "ANSI_1252", i[i.GB2312 = 31] = "GB2312", i[i.ANSI_1253 = 32] = "ANSI_1253", i[i.ANSI_1254 = 33] = "ANSI_1254", i[i.ANSI_1255 = 34] = "ANSI_1255", i[i.ANSI_1256 = 35] = "ANSI_1256", i[i.ANSI_1257 = 36] = "ANSI_1257", i[i.ANSI_874 = 37] = "ANSI_874", i[i.ANSI_932 = 38] = "ANSI_932", i[i.ANSI_936 = 39] = "ANSI_936", i[i.ANSI_949 = 40] = "ANSI_949", i[i.ANSI_950 = 41] = "ANSI_950", i[i.ANSI_1361 = 42] = "ANSI_1361", i[i.UTF16 = 43] = "UTF16", i[i.ANSI_1258 = 44] = "ANSI_1258", i[i.UNDEFINED = 255] = "UNDEFINED", i))(Ko || {});
1764
+ const du = [
1765
1765
  "utf-8",
1766
1766
  // 0
1767
1767
  "utf-8",
@@ -1842,7 +1842,7 @@ const uu = [
1842
1842
  "utf-16le",
1843
1843
  "windows-1258"
1844
1844
  // Vietnamese
1845
- ], cu = (i) => uu[i], Ci = "Continuous", _i = "ByLayer", du = "ByBlock", fe = [
1845
+ ], mu = (i) => du[i], Li = "Continuous", yi = "ByLayer", pu = "ByBlock", fe = [
1846
1846
  "00",
1847
1847
  "01",
1848
1848
  "02",
@@ -2100,113 +2100,113 @@ const uu = [
2100
2100
  "fe",
2101
2101
  "ff"
2102
2102
  ];
2103
- let vo = 1234567;
2104
- const Xo = Math.PI / 180, Ko = 180 / Math.PI;
2105
- function mu() {
2103
+ let xo = 1234567;
2104
+ const $o = Math.PI / 180, Zo = 180 / Math.PI;
2105
+ function gu() {
2106
2106
  const i = Math.random() * 4294967295 | 0, t = Math.random() * 4294967295 | 0, e = Math.random() * 4294967295 | 0, s = Math.random() * 4294967295 | 0;
2107
2107
  return (fe[i & 255] + fe[i >> 8 & 255] + fe[i >> 16 & 255] + fe[i >> 24 & 255] + "-" + fe[t & 255] + fe[t >> 8 & 255] + "-" + fe[t >> 16 & 15 | 64] + fe[t >> 24 & 255] + "-" + fe[e & 63 | 128] + fe[e >> 8 & 255] + "-" + fe[e >> 16 & 255] + fe[e >> 24 & 255] + fe[s & 255] + fe[s >> 8 & 255] + fe[s >> 16 & 255] + fe[s >> 24 & 255]).toLowerCase();
2108
2108
  }
2109
2109
  function Ur(i, t, e) {
2110
2110
  return Math.max(t, Math.min(e, i));
2111
2111
  }
2112
- function $o(i, t) {
2112
+ function Qo(i, t) {
2113
2113
  return (i % t + t) % t;
2114
2114
  }
2115
- function pu(i, t, e, s, o) {
2115
+ function fu(i, t, e, s, o) {
2116
2116
  return s + (i - t) * (o - s) / (e - t);
2117
2117
  }
2118
- function gu(i, t, e) {
2118
+ function _u(i, t, e) {
2119
2119
  return i !== t ? (e - i) / (t - i) : 0;
2120
2120
  }
2121
- function Zo(i, t, e) {
2121
+ function Jo(i, t, e) {
2122
2122
  return (1 - e) * i + e * t;
2123
2123
  }
2124
- function fu(i, t, e, s) {
2125
- return Zo(i, t, 1 - Math.exp(-e * s));
2124
+ function yu(i, t, e, s) {
2125
+ return Jo(i, t, 1 - Math.exp(-e * s));
2126
2126
  }
2127
- function _u(i, t = 1) {
2128
- return t - Math.abs($o(i, t * 2) - t);
2127
+ function vu(i, t = 1) {
2128
+ return t - Math.abs(Qo(i, t * 2) - t);
2129
2129
  }
2130
- function yu(i, t, e) {
2130
+ function xu(i, t, e) {
2131
2131
  return i <= t ? 0 : i >= e ? 1 : (i = (i - t) / (e - t), i * i * (3 - 2 * i));
2132
2132
  }
2133
- function vu(i, t, e) {
2133
+ function bu(i, t, e) {
2134
2134
  return i <= t ? 0 : i >= e ? 1 : (i = (i - t) / (e - t), i * i * i * (i * (i * 6 - 15) + 10));
2135
2135
  }
2136
- function xu(i, t) {
2136
+ function wu(i, t) {
2137
2137
  return i + Math.floor(Math.random() * (t - i + 1));
2138
2138
  }
2139
- function bu(i, t) {
2139
+ function Au(i, t) {
2140
2140
  return i + Math.random() * (t - i);
2141
2141
  }
2142
- function wu(i) {
2142
+ function Su(i) {
2143
2143
  return i * (0.5 - Math.random());
2144
2144
  }
2145
- function Au(i) {
2146
- i !== void 0 && (vo = i);
2147
- let t = vo += 1831565813;
2145
+ function Iu(i) {
2146
+ i !== void 0 && (xo = i);
2147
+ let t = xo += 1831565813;
2148
2148
  return t = Math.imul(t ^ t >>> 15, t | 1), t ^= t + Math.imul(t ^ t >>> 7, t | 61), ((t ^ t >>> 14) >>> 0) / 4294967296;
2149
2149
  }
2150
- function Su(i) {
2151
- return i * Xo;
2150
+ function Pu(i) {
2151
+ return i * $o;
2152
2152
  }
2153
- function Iu(i) {
2154
- return i * Ko;
2153
+ function Eu(i) {
2154
+ return i * Zo;
2155
2155
  }
2156
- function Pu(i) {
2156
+ function ku(i) {
2157
2157
  return (i & i - 1) === 0 && i !== 0;
2158
2158
  }
2159
- function Eu(i) {
2159
+ function Tu(i) {
2160
2160
  return Math.pow(2, Math.ceil(Math.log(i) / Math.LN2));
2161
2161
  }
2162
- function ku(i) {
2162
+ function Mu(i) {
2163
2163
  return Math.pow(2, Math.floor(Math.log(i) / Math.LN2));
2164
2164
  }
2165
2165
  function Vs(i) {
2166
2166
  const t = Math.PI * 2;
2167
2167
  return (i % t + t) % t;
2168
2168
  }
2169
- function Tu(i, t, e) {
2169
+ function Nu(i, t, e) {
2170
2170
  return i > t && i < e || i > e && i < t;
2171
2171
  }
2172
- function Mu(i, t, e, s = !1) {
2172
+ function Cu(i, t, e, s = !1) {
2173
2173
  return i = Vs(i), t = Vs(t), e = Vs(e), s ? t > e ? i <= t && i >= e : i <= t || i >= e : t < e ? i >= t && i <= e : i >= t || i <= e;
2174
2174
  }
2175
- function Qo(i) {
2175
+ function tl(i) {
2176
2176
  return i = Math.abs(i), i < 1 ? 0 : Math.ceil(Math.log10(Math.abs(i) + 1));
2177
2177
  }
2178
- function Nu(i, t = 1e-7) {
2179
- const e = Qo(i);
2178
+ function Lu(i, t = 1e-7) {
2179
+ const e = tl(i);
2180
2180
  return Math.max(Math.pow(10, e) * t, t);
2181
2181
  }
2182
2182
  const kt = {
2183
- DEG2RAD: Xo,
2184
- RAD2DEG: Ko,
2185
- generateUUID: mu,
2183
+ DEG2RAD: $o,
2184
+ RAD2DEG: Zo,
2185
+ generateUUID: gu,
2186
2186
  clamp: Ur,
2187
- euclideanModulo: $o,
2188
- mapLinear: pu,
2189
- inverseLerp: gu,
2190
- lerp: Zo,
2191
- damp: fu,
2192
- pingpong: _u,
2193
- smoothstep: yu,
2194
- smootherstep: vu,
2195
- randInt: xu,
2196
- randFloat: bu,
2197
- randFloatSpread: wu,
2198
- seededRandom: Au,
2199
- degToRad: Su,
2200
- radToDeg: Iu,
2201
- isPowerOfTwo: Pu,
2202
- ceilPowerOfTwo: Eu,
2203
- floorPowerOfTwo: ku,
2187
+ euclideanModulo: Qo,
2188
+ mapLinear: fu,
2189
+ inverseLerp: _u,
2190
+ lerp: Jo,
2191
+ damp: yu,
2192
+ pingpong: vu,
2193
+ smoothstep: xu,
2194
+ smootherstep: bu,
2195
+ randInt: wu,
2196
+ randFloat: Au,
2197
+ randFloatSpread: Su,
2198
+ seededRandom: Iu,
2199
+ degToRad: Pu,
2200
+ radToDeg: Eu,
2201
+ isPowerOfTwo: ku,
2202
+ ceilPowerOfTwo: Tu,
2203
+ floorPowerOfTwo: Mu,
2204
2204
  normalizeAngle: Vs,
2205
- isBetween: Tu,
2206
- isBetweenAngle: Mu,
2207
- intPartLength: Qo,
2208
- relativeEps: Nu
2209
- }, Li = class Jo {
2205
+ isBetween: Nu,
2206
+ isBetweenAngle: Cu,
2207
+ intPartLength: tl,
2208
+ relativeEps: Lu
2209
+ }, Oi = class el {
2210
2210
  /**
2211
2211
  * Construct one vector by two numbers
2212
2212
  */
@@ -2322,7 +2322,7 @@ const kt = {
2322
2322
  * @returns Return the cloned vector
2323
2323
  */
2324
2324
  clone() {
2325
- return new Jo(this.x, this.y);
2325
+ return new el(this.x, this.y);
2326
2326
  }
2327
2327
  /**
2328
2328
  * Copy the values of the passed vector's x and y properties to this vector.
@@ -2702,9 +2702,9 @@ const kt = {
2702
2702
  yield this.x, yield this.y;
2703
2703
  }
2704
2704
  };
2705
- Li.EMPTY = Object.freeze(new Li(0, 0));
2706
- let Zt = Li;
2707
- const Oi = class tl {
2705
+ Oi.EMPTY = Object.freeze(new Oi(0, 0));
2706
+ let Zt = Oi;
2707
+ const zi = class rl {
2708
2708
  /**
2709
2709
  * Create a 3x3 matrix with the given arguments in row-major order. If no arguments are provided,
2710
2710
  * the constructor initializes the Matrix3 to the 3x3 identity matrix.
@@ -2888,7 +2888,7 @@ const Oi = class tl {
2888
2888
  * @returns Return this matrix
2889
2889
  */
2890
2890
  scale(t, e) {
2891
- return this.premultiply(yi.makeScale(t, e)), this;
2891
+ return this.premultiply(vi.makeScale(t, e)), this;
2892
2892
  }
2893
2893
  /**
2894
2894
  * Rotate this matrix by the given angle (in radians).
@@ -2896,7 +2896,7 @@ const Oi = class tl {
2896
2896
  * @returns Return this matrix
2897
2897
  */
2898
2898
  rotate(t) {
2899
- return this.premultiply(yi.makeRotation(-t)), this;
2899
+ return this.premultiply(vi.makeRotation(-t)), this;
2900
2900
  }
2901
2901
  /**
2902
2902
  * Translate this matrix by the given scalar values.
@@ -2905,7 +2905,7 @@ const Oi = class tl {
2905
2905
  * @returns Return this matrix
2906
2906
  */
2907
2907
  translate(t, e) {
2908
- return this.premultiply(yi.makeTranslation(t, e)), this;
2908
+ return this.premultiply(vi.makeTranslation(t, e)), this;
2909
2909
  }
2910
2910
  /**
2911
2911
  * Set this matrix as a 2D translation transform:
@@ -2971,20 +2971,20 @@ const Oi = class tl {
2971
2971
  * @returns Return the cloned matrix
2972
2972
  */
2973
2973
  clone() {
2974
- return new tl().fromArray(this.elements);
2974
+ return new rl().fromArray(this.elements);
2975
2975
  }
2976
2976
  };
2977
- Oi.IDENTITY = Object.freeze(new Oi());
2978
- let ca = Oi;
2979
- const yi = /* @__PURE__ */ new ca(), En = 1e-6, se = 2 * Math.PI, S0 = {
2977
+ zi.IDENTITY = Object.freeze(new zi());
2978
+ let da = zi;
2979
+ const vi = /* @__PURE__ */ new da(), En = 1e-6, se = 2 * Math.PI, P0 = {
2980
2980
  x: 0,
2981
2981
  y: 0
2982
- }, el = {
2982
+ }, nl = {
2983
2983
  x: 0,
2984
2984
  y: 0,
2985
2985
  z: 0
2986
2986
  };
2987
- class rl {
2987
+ class sl {
2988
2988
  /**
2989
2989
  * Create tolerance class with default tolerance values
2990
2990
  */
@@ -3053,8 +3053,8 @@ class rl {
3053
3053
  return t - e < s;
3054
3054
  }
3055
3055
  }
3056
- const nl = new rl();
3057
- function sl(i, t, e = !1) {
3056
+ const il = new sl();
3057
+ function al(i, t, e = !1) {
3058
3058
  const s = i.x, o = i.y;
3059
3059
  let h = !1;
3060
3060
  const c = t.length;
@@ -3065,24 +3065,24 @@ function sl(i, t, e = !1) {
3065
3065
  }
3066
3066
  return h;
3067
3067
  }
3068
- function Cu(i, t) {
3068
+ function Ou(i, t) {
3069
3069
  if (i.length === 0 || t.length === 0)
3070
3070
  return !1;
3071
3071
  const e = new we().setFromPoints(i), s = new we().setFromPoints(t);
3072
3072
  if (!e.intersectsBox(s))
3073
3073
  return !1;
3074
3074
  for (let o = 0; o < i.length; ) {
3075
- if (sl(i[o], t, !0))
3075
+ if (al(i[o], t, !0))
3076
3076
  return !0;
3077
- o < i.length - 1 && nl.equalPoint2d(i[o + 1], i[o]) && ++o, ++o;
3077
+ o < i.length - 1 && il.equalPoint2d(i[o + 1], i[o]) && ++o, ++o;
3078
3078
  }
3079
3079
  return !1;
3080
3080
  }
3081
- const Lu = {
3082
- isPointInPolygon: sl,
3083
- isPolygonIntersect: Cu
3081
+ const zu = {
3082
+ isPointInPolygon: al,
3083
+ isPolygonIntersect: Ou
3084
3084
  };
3085
- function Ou(i, t) {
3085
+ function Ru(i, t) {
3086
3086
  const e = [], s = t - 1, o = i;
3087
3087
  for (let h = 0; h <= o; h++)
3088
3088
  e.push(0);
@@ -3092,7 +3092,7 @@ function Ou(i, t) {
3092
3092
  e.push(s - o + 1);
3093
3093
  return e;
3094
3094
  }
3095
- function zu(i, t) {
3095
+ function Fu(i, t) {
3096
3096
  const e = t.length - 1, s = i, o = [0];
3097
3097
  let h = 0;
3098
3098
  for (let g = 1; g <= e; g++) {
@@ -3110,7 +3110,7 @@ function zu(i, t) {
3110
3110
  c.push(e - s + 1);
3111
3111
  return c;
3112
3112
  }
3113
- function Ru(i, t) {
3113
+ function Bu(i, t) {
3114
3114
  const e = t.length - 1, s = i, o = [0];
3115
3115
  let h = 0;
3116
3116
  for (let g = 1; g <= e; g++) {
@@ -3128,11 +3128,11 @@ function Ru(i, t) {
3128
3128
  c.push(e - s + 1);
3129
3129
  return c;
3130
3130
  }
3131
- function zi(i, t, e, s) {
3131
+ function Ri(i, t, e, s) {
3132
3132
  if (t === 0)
3133
3133
  return e >= s[i] && e < s[i + 1] ? 1 : 0;
3134
3134
  const o = s[i + t] - s[i], h = s[i + t + 1] - s[i + 1], c = o > 1e-10 ? (e - s[i]) / o : 0, g = h > 1e-10 ? (s[i + t + 1] - e) / h : 0;
3135
- return c * zi(i, t - 1, e, s) + g * zi(i + 1, t - 1, e, s);
3135
+ return c * Ri(i, t - 1, e, s) + g * Ri(i + 1, t - 1, e, s);
3136
3136
  }
3137
3137
  function Gs(i, t, e, s, o) {
3138
3138
  const h = s.length - 1, c = t;
@@ -3143,7 +3143,7 @@ function Gs(i, t, e, s, o) {
3143
3143
  const g = [0, 0, 0];
3144
3144
  let x = 0;
3145
3145
  for (let f = 0; f <= h; f++) {
3146
- const w = zi(f, c, i, e), b = o[f] * w;
3146
+ const w = Ri(f, c, i, e), b = o[f] * w;
3147
3147
  g[0] += s[f][0] * b, g[1] += s[f][1] * b, g[2] += s[f][2] * b, x += b;
3148
3148
  }
3149
3149
  if (x < 1e-10) {
@@ -3155,7 +3155,7 @@ function Gs(i, t, e, s, o) {
3155
3155
  }
3156
3156
  return x > 1e-10 && (g[0] /= x, g[1] /= x, g[2] /= x), g;
3157
3157
  }
3158
- function Fu(i, t, e, s) {
3158
+ function Du(i, t, e, s) {
3159
3159
  const o = i, h = t[o], c = t[t.length - o - 1];
3160
3160
  let g = 0;
3161
3161
  const x = 1e3, f = (c - h) / x;
@@ -3179,7 +3179,7 @@ function Fu(i, t, e, s) {
3179
3179
  ), E = b[0] - w[0], T = b[1] - w[1], L = b[2] - w[2];
3180
3180
  return g += Math.sqrt(E * E + T * T + L * L), g;
3181
3181
  }
3182
- function I0(i) {
3182
+ function E0(i) {
3183
3183
  return i.map((t) => [...t]);
3184
3184
  }
3185
3185
  class hn {
@@ -3573,7 +3573,7 @@ class hn {
3573
3573
  yield this._x, yield this._y, yield this._z, yield this._w;
3574
3574
  }
3575
3575
  }
3576
- const Ge = class il {
3576
+ const Ge = class ol {
3577
3577
  /**
3578
3578
  * Vector may be constructed by three points, or by three float numbers,
3579
3579
  * or by array of three numbers
@@ -3690,7 +3690,7 @@ const Ge = class il {
3690
3690
  * @returns Return a new vector3 with the same x, y and z values as this one.
3691
3691
  */
3692
3692
  clone() {
3693
- return new il(this.x, this.y, this.z);
3693
+ return new ol(this.x, this.y, this.z);
3694
3694
  }
3695
3695
  /**
3696
3696
  * Copy the values of the passed vector3's x, y and z properties to this vector3.
@@ -3790,7 +3790,7 @@ const Ge = class il {
3790
3790
  * @returns Return this vector
3791
3791
  */
3792
3792
  applyEuler(t) {
3793
- return this.applyQuaternion(xo.setFromEuler(t));
3793
+ return this.applyQuaternion(bo.setFromEuler(t));
3794
3794
  }
3795
3795
  /**
3796
3796
  * Apply a rotation specified by an axis and an angle to this vector.
@@ -3799,7 +3799,7 @@ const Ge = class il {
3799
3799
  * @returns Return this vector
3800
3800
  */
3801
3801
  applyAxisAngle(t, e) {
3802
- return this.applyQuaternion(xo.setFromAxisAngle(t, e));
3802
+ return this.applyQuaternion(bo.setFromAxisAngle(t, e));
3803
3803
  }
3804
3804
  /**
3805
3805
  * Multipliy this vector by m
@@ -4066,7 +4066,7 @@ const Ge = class il {
4066
4066
  * @returns Return this vector
4067
4067
  */
4068
4068
  projectOnPlane(t) {
4069
- return vi.copy(this).projectOnVector(t), this.sub(vi);
4069
+ return xi.copy(this).projectOnVector(t), this.sub(xi);
4070
4070
  }
4071
4071
  /**
4072
4072
  * Reflect this vector off of plane orthogonal to normal. Normal is assumed to have unit length.
@@ -4074,7 +4074,7 @@ const Ge = class il {
4074
4074
  * @returns Return this vector
4075
4075
  */
4076
4076
  reflect(t) {
4077
- return this.sub(vi.copy(t).multiplyScalar(2 * this.dot(t)));
4077
+ return this.sub(xi.copy(t).multiplyScalar(2 * this.dot(t)));
4078
4078
  }
4079
4079
  /**
4080
4080
  * Return the angle between this vector and vector v in radians.
@@ -4217,7 +4217,7 @@ const Ge = class il {
4217
4217
  };
4218
4218
  Ge.X_AXIS = Object.freeze(new Ge(1, 0, 0)), Ge.NEGATIVE_X_AXIS = Object.freeze(new Ge(-1, 0, 0)), Ge.Y_AXIS = Object.freeze(new Ge(0, 1, 0)), Ge.NEGATIVE_Y_AXIS = Object.freeze(new Ge(0, -1, 0)), Ge.Z_AXIS = Object.freeze(new Ge(0, 0, 1)), Ge.NEGATIVE_Z_AXIS = Object.freeze(new Ge(0, 0, -1));
4219
4219
  let Z = Ge;
4220
- const vi = /* @__PURE__ */ new Z(), xo = /* @__PURE__ */ new hn(), Ri = class al {
4220
+ const xi = /* @__PURE__ */ new Z(), bo = /* @__PURE__ */ new hn(), Fi = class ll {
4221
4221
  /**
4222
4222
  * Create a 4x4 matrix with the given arguments in row-major order. If no arguments are provided,
4223
4223
  * the constructor initializes the Matrix4 to the 4x4 identity matrix.
@@ -4292,7 +4292,7 @@ const vi = /* @__PURE__ */ new Z(), xo = /* @__PURE__ */ new hn(), Ri = class al
4292
4292
  return this.set(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1), this;
4293
4293
  }
4294
4294
  clone() {
4295
- return new al().fromArray(this.elements);
4295
+ return new ll().fromArray(this.elements);
4296
4296
  }
4297
4297
  /**
4298
4298
  * Copy the elements of matrix m into this matrix.
@@ -4344,7 +4344,7 @@ const vi = /* @__PURE__ */ new Z(), xo = /* @__PURE__ */ new hn(), Ri = class al
4344
4344
  * @returns Return this matrix
4345
4345
  */
4346
4346
  setFromExtrusionDirection(t) {
4347
- if (nl.equalPoint3d(t, Z.Z_AXIS))
4347
+ if (il.equalPoint3d(t, Z.Z_AXIS))
4348
4348
  this.identity();
4349
4349
  else {
4350
4350
  const e = new Z(1, 0, 0);
@@ -4530,7 +4530,7 @@ const vi = /* @__PURE__ */ new Z(), xo = /* @__PURE__ */ new hn(), Ri = class al
4530
4530
  * @returns Return this matrix
4531
4531
  */
4532
4532
  makeRotationFromQuaternion(t) {
4533
- return this.compose(Bu, t, Du);
4533
+ return this.compose(Uu, t, Vu);
4534
4534
  }
4535
4535
  /**
4536
4536
  * Construct a rotation matrix, looking from eye towards target oriented by the up vector.
@@ -4566,8 +4566,8 @@ const vi = /* @__PURE__ */ new Z(), xo = /* @__PURE__ */ new hn(), Ri = class al
4566
4566
  * @returns Return this matrix
4567
4567
  */
4568
4568
  multiplyMatrices(t, e) {
4569
- const s = t.elements, o = e.elements, h = this.elements, c = s[0], g = s[4], x = s[8], f = s[12], w = s[1], b = s[5], E = s[9], T = s[13], L = s[2], z = s[6], D = s[10], B = s[14], dt = s[3], yt = s[7], ot = s[11], W = s[15], ut = o[0], st = o[4], Vt = o[8], qt = o[12], Wt = o[1], bt = o[5], Ot = o[9], de = o[13], me = o[2], Me = o[6], Jt = o[10], ie = o[14], Q = o[3], Tt = o[7], ae = o[11], hr = o[15];
4570
- return h[0] = c * ut + g * Wt + x * me + f * Q, h[4] = c * st + g * bt + x * Me + f * Tt, h[8] = c * Vt + g * Ot + x * Jt + f * ae, h[12] = c * qt + g * de + x * ie + f * hr, h[1] = w * ut + b * Wt + E * me + T * Q, h[5] = w * st + b * bt + E * Me + T * Tt, h[9] = w * Vt + b * Ot + E * Jt + T * ae, h[13] = w * qt + b * de + E * ie + T * hr, h[2] = L * ut + z * Wt + D * me + B * Q, h[6] = L * st + z * bt + D * Me + B * Tt, h[10] = L * Vt + z * Ot + D * Jt + B * ae, h[14] = L * qt + z * de + D * ie + B * hr, h[3] = dt * ut + yt * Wt + ot * me + W * Q, h[7] = dt * st + yt * bt + ot * Me + W * Tt, h[11] = dt * Vt + yt * Ot + ot * Jt + W * ae, h[15] = dt * qt + yt * de + ot * ie + W * hr, this;
4569
+ const s = t.elements, o = e.elements, h = this.elements, c = s[0], g = s[4], x = s[8], f = s[12], w = s[1], b = s[5], E = s[9], T = s[13], L = s[2], z = s[6], D = s[10], B = s[14], dt = s[3], yt = s[7], ot = s[11], W = s[15], ut = o[0], st = o[4], Vt = o[8], qt = o[12], Wt = o[1], bt = o[5], Ot = o[9], de = o[13], me = o[2], Me = o[6], Jt = o[10], ae = o[14], Q = o[3], Tt = o[7], oe = o[11], hr = o[15];
4570
+ return h[0] = c * ut + g * Wt + x * me + f * Q, h[4] = c * st + g * bt + x * Me + f * Tt, h[8] = c * Vt + g * Ot + x * Jt + f * oe, h[12] = c * qt + g * de + x * ae + f * hr, h[1] = w * ut + b * Wt + E * me + T * Q, h[5] = w * st + b * bt + E * Me + T * Tt, h[9] = w * Vt + b * Ot + E * Jt + T * oe, h[13] = w * qt + b * de + E * ae + T * hr, h[2] = L * ut + z * Wt + D * me + B * Q, h[6] = L * st + z * bt + D * Me + B * Tt, h[10] = L * Vt + z * Ot + D * Jt + B * oe, h[14] = L * qt + z * de + D * ae + B * hr, h[3] = dt * ut + yt * Wt + ot * me + W * Q, h[7] = dt * st + yt * bt + ot * Me + W * Tt, h[11] = dt * Vt + yt * Ot + ot * Jt + W * oe, h[15] = dt * qt + yt * de + ot * ae + W * hr, this;
4571
4571
  }
4572
4572
  /**
4573
4573
  * Multiply every component of the matrix by a scalar value s.
@@ -4876,9 +4876,9 @@ const vi = /* @__PURE__ */ new Z(), xo = /* @__PURE__ */ new hn(), Ri = class al
4876
4876
  return t[e] = s[0], t[e + 1] = s[1], t[e + 2] = s[2], t[e + 3] = s[3], t[e + 4] = s[4], t[e + 5] = s[5], t[e + 6] = s[6], t[e + 7] = s[7], t[e + 8] = s[8], t[e + 9] = s[9], t[e + 10] = s[10], t[e + 11] = s[11], t[e + 12] = s[12], t[e + 13] = s[13], t[e + 14] = s[14], t[e + 15] = s[15], t;
4877
4877
  }
4878
4878
  };
4879
- Ri.IDENTITY = Object.freeze(new Ri());
4880
- let un = Ri;
4881
- const kn = /* @__PURE__ */ new Z(), tr = /* @__PURE__ */ new un(), Bu = /* @__PURE__ */ new Z(0, 0, 0), Du = /* @__PURE__ */ new Z(1, 1, 1), Dr = /* @__PURE__ */ new Z(), Ls = /* @__PURE__ */ new Z(), ze = /* @__PURE__ */ new Z();
4879
+ Fi.IDENTITY = Object.freeze(new Fi());
4880
+ let un = Fi;
4881
+ const kn = /* @__PURE__ */ new Z(), tr = /* @__PURE__ */ new un(), Uu = /* @__PURE__ */ new Z(0, 0, 0), Vu = /* @__PURE__ */ new Z(1, 1, 1), Dr = /* @__PURE__ */ new Z(), Ls = /* @__PURE__ */ new Z(), ze = /* @__PURE__ */ new Z();
4882
4882
  class Ct {
4883
4883
  /**
4884
4884
  * Create a 3d box bounded by min and max.
@@ -4908,7 +4908,7 @@ class Ct {
4908
4908
  setFromArray(t) {
4909
4909
  this.makeEmpty();
4910
4910
  for (let e = 0, s = t.length; e < s; e += 3)
4911
- this.expandByPoint(xi.fromArray(t, e));
4911
+ this.expandByPoint(bi.fromArray(t, e));
4912
4912
  return this;
4913
4913
  }
4914
4914
  /**
@@ -4929,7 +4929,7 @@ class Ct {
4929
4929
  * @returns Return this box
4930
4930
  */
4931
4931
  setFromCenterAndSize(t, e) {
4932
- const s = xi.copy(e).multiplyScalar(0.5);
4932
+ const s = bi.copy(e).multiplyScalar(0.5);
4933
4933
  return this.min.copy(t).sub(s), this.max.copy(t).add(s), this;
4934
4934
  }
4935
4935
  /**
@@ -5080,7 +5080,7 @@ class Ct {
5080
5080
  * @returns Return the distance from any edge of this box to the specified point.
5081
5081
  */
5082
5082
  distanceToPoint(t) {
5083
- return this.clampPoint(t, xi).distanceTo(t);
5083
+ return this.clampPoint(t, bi).distanceTo(t);
5084
5084
  }
5085
5085
  /**
5086
5086
  * Compute the intersection of this and box, setting the upper bound of this box to the lesser of the
@@ -5136,7 +5136,7 @@ const pr = [
5136
5136
  /* @__PURE__ */ new Z(),
5137
5137
  /* @__PURE__ */ new Z(),
5138
5138
  /* @__PURE__ */ new Z()
5139
- ], xi = /* @__PURE__ */ new Z(), bo = /* @__PURE__ */ new Zt();
5139
+ ], bi = /* @__PURE__ */ new Z(), wo = /* @__PURE__ */ new Zt();
5140
5140
  class we {
5141
5141
  /**
5142
5142
  * Create a 2d box bounded by min and max.
@@ -5176,7 +5176,7 @@ class we {
5176
5176
  * @returns Return this box
5177
5177
  */
5178
5178
  setFromCenterAndSize(t, e) {
5179
- const s = bo.copy(e).multiplyScalar(0.5);
5179
+ const s = wo.copy(e).multiplyScalar(0.5);
5180
5180
  return this.min.copy(t).sub(s), this.max.copy(t).add(s), this;
5181
5181
  }
5182
5182
  /**
@@ -5316,7 +5316,7 @@ class we {
5316
5316
  * @returns Return the distance from any edge of this box to the specified point.
5317
5317
  */
5318
5318
  distanceToPoint(t) {
5319
- return this.clampPoint(t, bo).distanceTo(t);
5319
+ return this.clampPoint(t, wo).distanceTo(t);
5320
5320
  }
5321
5321
  /**
5322
5322
  * Return the intersection of this and box, setting the upper bound of this box to the lesser of the
@@ -5354,8 +5354,8 @@ class we {
5354
5354
  return t.min.equals(this.min) && t.max.equals(this.max);
5355
5355
  }
5356
5356
  }
5357
- const wo = /* @__PURE__ */ new Z(), Uu = /* @__PURE__ */ new Z(), Vu = /* @__PURE__ */ new ca();
5358
- class ai {
5357
+ const Ao = /* @__PURE__ */ new Z(), Gu = /* @__PURE__ */ new Z(), ju = /* @__PURE__ */ new da();
5358
+ class oi {
5359
5359
  /**
5360
5360
  * Create one plane
5361
5361
  * @param normal (optional) Input a unit length Vector3 defining the normal of the plane.
@@ -5403,7 +5403,7 @@ class ai {
5403
5403
  * @returns Return this plane
5404
5404
  */
5405
5405
  setFromCoplanarPoints(t, e, s) {
5406
- const o = wo.subVectors(s, e).cross(Uu.subVectors(t, e)).normalize();
5406
+ const o = Ao.subVectors(s, e).cross(Gu.subVectors(t, e)).normalize();
5407
5407
  return this.setFromNormalAndCoplanarPoint(o, t), this;
5408
5408
  }
5409
5409
  /**
@@ -5505,7 +5505,7 @@ class ai {
5505
5505
  * @returns Return this plane
5506
5506
  */
5507
5507
  applyMatrix4(t, e) {
5508
- const s = e || Vu.getNormalMatrix(t), o = this.coplanarPoint(wo).applyMatrix4(t), h = this.normal.applyMatrix3(s).normalize();
5508
+ const s = e || ju.getNormalMatrix(t), o = this.coplanarPoint(Ao).applyMatrix4(t), h = this.normal.applyMatrix3(s).normalize();
5509
5509
  return this.constant = -o.dot(h), this;
5510
5510
  }
5511
5511
  /**
@@ -5530,7 +5530,7 @@ class ai {
5530
5530
  * @returns Return the cloned plane
5531
5531
  */
5532
5532
  clone() {
5533
- return new ai().copy(this);
5533
+ return new oi().copy(this);
5534
5534
  }
5535
5535
  }
5536
5536
  class Nt extends Zt {
@@ -5560,7 +5560,7 @@ class Y extends Z {
5560
5560
  }), o;
5561
5561
  }
5562
5562
  }
5563
- const Ao = /* @__PURE__ */ new un(), So = /* @__PURE__ */ new hn(), ol = class Fi {
5563
+ const So = /* @__PURE__ */ new un(), Io = /* @__PURE__ */ new hn(), hl = class Bi {
5564
5564
  /**
5565
5565
  * Create one instance of this class
5566
5566
  * @param x (optional) the angle of the x axis in radians. Default is 0.
@@ -5569,7 +5569,7 @@ const Ao = /* @__PURE__ */ new un(), So = /* @__PURE__ */ new hn(), ol = class F
5569
5569
  * @param order (optional) a string representing the order that the rotations are applied,
5570
5570
  * defaults to 'XYZ' (must be upper case).
5571
5571
  */
5572
- constructor(t = 0, e = 0, s = 0, o = Fi.DEFAULT_ORDER) {
5572
+ constructor(t = 0, e = 0, s = 0, o = Bi.DEFAULT_ORDER) {
5573
5573
  this._x = t, this._y = e, this._z = s, this._order = o;
5574
5574
  }
5575
5575
  /**
@@ -5632,7 +5632,7 @@ const Ao = /* @__PURE__ */ new un(), So = /* @__PURE__ */ new hn(), ol = class F
5632
5632
  * @returns Return a new Euler with the same parameters as this one.
5633
5633
  */
5634
5634
  clone() {
5635
- return new Fi(this._x, this._y, this._z, this._order);
5635
+ return new Bi(this._x, this._y, this._z, this._order);
5636
5636
  }
5637
5637
  /**
5638
5638
  * Copy value of euler to this euler.
@@ -5689,7 +5689,7 @@ const Ao = /* @__PURE__ */ new un(), So = /* @__PURE__ */ new hn(), ol = class F
5689
5689
  * @returns Return this euler
5690
5690
  */
5691
5691
  setFromQuaternion(t, e, s = !0) {
5692
- return Ao.makeRotationFromQuaternion(t), this.setFromRotationMatrix(Ao, e, s);
5692
+ return So.makeRotationFromQuaternion(t), this.setFromRotationMatrix(So, e, s);
5693
5693
  }
5694
5694
  /**
5695
5695
  * Set the x, y and z, and optionally update the order.
@@ -5707,7 +5707,7 @@ const Ao = /* @__PURE__ */ new un(), So = /* @__PURE__ */ new hn(), ol = class F
5707
5707
  * @returns Return this euler
5708
5708
  */
5709
5709
  reorder(t) {
5710
- return So.setFromEuler(this), this.setFromQuaternion(So, t);
5710
+ return Io.setFromEuler(this), this.setFromQuaternion(Io, t);
5711
5711
  }
5712
5712
  /**
5713
5713
  * Check for strict equality of this euler and euler.
@@ -5752,9 +5752,9 @@ const Ao = /* @__PURE__ */ new un(), So = /* @__PURE__ */ new hn(), ol = class F
5752
5752
  yield this._x, yield this._y, yield this._z, yield this._order;
5753
5753
  }
5754
5754
  };
5755
- ol.DEFAULT_ORDER = "XYZ";
5756
- let Gu = ol;
5757
- class ll {
5755
+ hl.DEFAULT_ORDER = "XYZ";
5756
+ let Wu = hl;
5757
+ class ul {
5758
5758
  constructor() {
5759
5759
  this._boundingBoxNeedsUpdate = !1;
5760
5760
  }
@@ -5766,12 +5766,12 @@ class ll {
5766
5766
  return this._boundingBoxNeedsUpdate;
5767
5767
  }
5768
5768
  }
5769
- let hl = class extends ll {
5769
+ let cl = class extends ul {
5770
5770
  /**
5771
5771
  * Return new shape translated by given vector.
5772
5772
  */
5773
5773
  translate(t) {
5774
- return this.transform(new ca().makeTranslation(t.x, t.y));
5774
+ return this.transform(new da().makeTranslation(t.x, t.y));
5775
5775
  }
5776
5776
  /**
5777
5777
  * The bounding box of this shape. Because it is a time-consuming operation to calculate the bounding
@@ -5782,7 +5782,7 @@ let hl = class extends ll {
5782
5782
  return (this._box == null || this._boundingBoxNeedsUpdate) && (this._box = this.calculateBoundingBox(), this._boundingBoxNeedsUpdate = !1), this._box;
5783
5783
  }
5784
5784
  };
5785
- class da extends hl {
5785
+ class ma extends cl {
5786
5786
  /**
5787
5787
  * Create one 2d area defined by one outter loop and multiple inner loops
5788
5788
  */
@@ -5850,7 +5850,7 @@ class da extends hl {
5850
5850
  let E = x + 1;
5851
5851
  for (; E < c; E++) {
5852
5852
  const T = o[E], L = e[T];
5853
- if (s[T].containsBox(b) && Lu.isPointInPolygon(
5853
+ if (s[T].containsBox(b) && zu.isPointInPolygon(
5854
5854
  w[kt.randInt(0, w.length - 1)],
5855
5855
  L
5856
5856
  )) {
@@ -5893,7 +5893,7 @@ class da extends hl {
5893
5893
  }), s;
5894
5894
  }
5895
5895
  }
5896
- class Es extends hl {
5896
+ class Es extends cl {
5897
5897
  constructor() {
5898
5898
  super(), this.arcLengthDivisions = 100;
5899
5899
  }
@@ -6271,7 +6271,7 @@ class Ss extends Es {
6271
6271
  return e;
6272
6272
  }
6273
6273
  }
6274
- class ju extends ll {
6274
+ class Hu extends ul {
6275
6275
  /**
6276
6276
  * Return new shape translated by given vector.
6277
6277
  * Translation vector may be also defined by a pair of numbers.
@@ -6288,9 +6288,9 @@ class ju extends ll {
6288
6288
  return (this._box == null || this._boundingBoxNeedsUpdate) && (this._box = this.calculateBoundingBox(), this._boundingBoxNeedsUpdate = !1), this._box;
6289
6289
  }
6290
6290
  }
6291
- class ks extends ju {
6291
+ class ks extends Hu {
6292
6292
  }
6293
- let Bi = class ul extends ks {
6293
+ let Di = class dl extends ks {
6294
6294
  /**
6295
6295
  * This constructor initializes the line object to use start as the start point, and end
6296
6296
  * as the endpoint. Both points must be in WCS coordinates.
@@ -6400,9 +6400,9 @@ let Bi = class ul extends ks {
6400
6400
  * @returns Return a point parameter based on the closest point as projected on the line segment.
6401
6401
  */
6402
6402
  closestPointToPointParameter(t, e) {
6403
- Io.subVectors(t, this._start), Os.subVectors(this.endPoint, this.startPoint);
6403
+ Po.subVectors(t, this._start), Os.subVectors(this.endPoint, this.startPoint);
6404
6404
  const s = Os.dot(Os);
6405
- let o = Os.dot(Io) / s;
6405
+ let o = Os.dot(Po) / s;
6406
6406
  return e && (o = kt.clamp(o, 0, 1)), o;
6407
6407
  }
6408
6408
  /**
@@ -6496,11 +6496,11 @@ let Bi = class ul extends ks {
6496
6496
  * @inheritdoc
6497
6497
  */
6498
6498
  clone() {
6499
- return new ul(this._start.clone(), this._end.clone());
6499
+ return new dl(this._start.clone(), this._end.clone());
6500
6500
  }
6501
6501
  };
6502
- const $r = /* @__PURE__ */ new Z(), Io = /* @__PURE__ */ new Z(), Os = /* @__PURE__ */ new Z();
6503
- let cl = class js extends ks {
6502
+ const $r = /* @__PURE__ */ new Z(), Po = /* @__PURE__ */ new Z(), Os = /* @__PURE__ */ new Z();
6503
+ let ml = class js extends ks {
6504
6504
  /**
6505
6505
  * Compute center point of the arc given three points
6506
6506
  * @param startPoint Input start point of the arc
@@ -6512,7 +6512,7 @@ let cl = class js extends ks {
6512
6512
  const o = new Z().addVectors(t, e).multiplyScalar(0.5), h = new Z().addVectors(t, s).multiplyScalar(0.5), c = new Z().subVectors(e, t), g = new Z().subVectors(s, t), x = new Z().crossVectors(c, g).normalize();
6513
6513
  if (x.lengthSq() === 0)
6514
6514
  return console.error("Points are collinear and cannot form a valid arc."), null;
6515
- const f = new Z().crossVectors(c, x).normalize(), w = new Z().crossVectors(g, x).normalize(), b = f.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), E = w.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), T = new Bi(o, o.clone().add(b)), L = new Bi(h, h.clone().add(E)), z = new Z();
6515
+ const f = new Z().crossVectors(c, x).normalize(), w = new Z().crossVectors(g, x).normalize(), b = f.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), E = w.clone().multiplyScalar(Number.MAX_SAFE_INTEGER), T = new Di(o, o.clone().add(b)), L = new Di(h, h.clone().add(E)), z = new Z();
6516
6516
  return T.closestPointToPoint(L.startPoint, !0, z) ? z : (console.error("Cannot find a valid center for the arc."), null);
6517
6517
  }
6518
6518
  /**
@@ -6684,7 +6684,7 @@ let cl = class js extends ks {
6684
6684
  * @inheritdoc
6685
6685
  */
6686
6686
  transform(t) {
6687
- const e = bi.copy(this.refVec).applyAxisAngle(this.normal, this.startAngle).multiplyScalar(this.radius), s = bi.copy(this.refVec).applyAxisAngle(this.normal, this.endAngle).multiplyScalar(this.radius);
6687
+ const e = wi.copy(this.refVec).applyAxisAngle(this.normal, this.startAngle).multiplyScalar(this.radius), s = wi.copy(this.refVec).applyAxisAngle(this.normal, this.endAngle).multiplyScalar(this.radius);
6688
6688
  return this.center.applyMatrix4(t), e.applyMatrix4(t), s.applyMatrix4(t), this.normal.applyMatrix4(t).normalize(), this.refVec.applyMatrix4(t).normalize(), this.startAngle = this.getAngle(e), this.endAngle = this.getAngle(s), this._boundingBoxNeedsUpdate = !0, this;
6689
6689
  }
6690
6690
  /**
@@ -6713,7 +6713,7 @@ let cl = class js extends ks {
6713
6713
  */
6714
6714
  getAngle(t) {
6715
6715
  return t.sub(this.center), Math.atan2(
6716
- t.dot(bi.crossVectors(this.refVec, this.normal)),
6716
+ t.dot(wi.crossVectors(this.refVec, this.normal)),
6717
6717
  t.dot(this.refVec)
6718
6718
  );
6719
6719
  }
@@ -6737,12 +6737,12 @@ let cl = class js extends ks {
6737
6737
  * Return the plane in which the circular arc lies.
6738
6738
  */
6739
6739
  get plane() {
6740
- const t = new Z(this.center).distanceTo(el);
6741
- return new ai(this.normal, t);
6740
+ const t = new Z(this.center).distanceTo(nl);
6741
+ return new oi(this.normal, t);
6742
6742
  }
6743
6743
  };
6744
- const bi = /* @__PURE__ */ new Z();
6745
- class ma extends Es {
6744
+ const wi = /* @__PURE__ */ new Z();
6745
+ class pa extends Es {
6746
6746
  /**
6747
6747
  * Construct an instance of the ellipse arc.
6748
6748
  * @param center Center point of the ellipse.
@@ -6890,7 +6890,7 @@ class ma extends Es {
6890
6890
  * @inheritdoc
6891
6891
  */
6892
6892
  clone() {
6893
- return new ma(
6893
+ return new pa(
6894
6894
  this.center,
6895
6895
  this.majorAxisRadius,
6896
6896
  this.minorAxisRadius,
@@ -6901,7 +6901,7 @@ class ma extends Es {
6901
6901
  );
6902
6902
  }
6903
6903
  }
6904
- class pa extends ks {
6904
+ class ga extends ks {
6905
6905
  /**
6906
6906
  * Construct an instance of the ellipse arc.
6907
6907
  * @param center Center point of the ellipse.
@@ -7030,7 +7030,7 @@ class pa extends ks {
7030
7030
  * @returns True if the ellipse arc is circular
7031
7031
  */
7032
7032
  get isCircular() {
7033
- return rl.equal(this.majorAxisRadius, this.minorAxisRadius);
7033
+ return sl.equal(this.majorAxisRadius, this.minorAxisRadius);
7034
7034
  }
7035
7035
  get length() {
7036
7036
  if (this.isCircular)
@@ -7128,7 +7128,7 @@ class pa extends ks {
7128
7128
  * @inheritdoc
7129
7129
  */
7130
7130
  clone() {
7131
- return new pa(
7131
+ return new ga(
7132
7132
  this.center,
7133
7133
  this.normal,
7134
7134
  this.majorAxis,
@@ -7142,8 +7142,8 @@ class pa extends ks {
7142
7142
  * Return the plane in which the ellipse arc lies.
7143
7143
  */
7144
7144
  get plane() {
7145
- const t = new Z(this.center).distanceTo(el);
7146
- return new ai(this.normal, t);
7145
+ const t = new Z(this.center).distanceTo(nl);
7146
+ return new oi(this.normal, t);
7147
7147
  }
7148
7148
  }
7149
7149
  class Ln extends Es {
@@ -7283,7 +7283,7 @@ class Ln extends Es {
7283
7283
  return e;
7284
7284
  }
7285
7285
  }
7286
- let Ws = class dl extends Es {
7286
+ let Ws = class pl extends Es {
7287
7287
  /**
7288
7288
  * This constructor initializes the line object to use start as the start point, and end
7289
7289
  * as the endpoint. Both points must be in WCS coordinates.
@@ -7359,9 +7359,9 @@ let Ws = class dl extends Es {
7359
7359
  * @inheritdoc
7360
7360
  */
7361
7361
  clone() {
7362
- return new dl(this._start.clone(), this._end.clone());
7362
+ return new pl(this._start.clone(), this._end.clone());
7363
7363
  }
7364
- }, ml = class extends Es {
7364
+ }, gl = class extends Es {
7365
7365
  /**
7366
7366
  * Create one loop by connected curves
7367
7367
  * @param curves Input one array of connected curves
@@ -7443,10 +7443,10 @@ let Ws = class dl extends Es {
7443
7443
  }), e;
7444
7444
  }
7445
7445
  };
7446
- function Wu(i) {
7446
+ function Yu(i) {
7447
7447
  return i && i.__esModule && Object.prototype.hasOwnProperty.call(i, "default") ? i.default : i;
7448
7448
  }
7449
- var pl = { exports: {} };
7449
+ var fl = { exports: {} };
7450
7450
  (function(i, t) {
7451
7451
  (function(e) {
7452
7452
  i.exports = e();
@@ -7747,7 +7747,7 @@ var pl = { exports: {} };
7747
7747
  this.buf.b += "b";
7748
7748
  for (var M = r, O = M.keys(); O.hasNext(); ) {
7749
7749
  var C = O.next();
7750
- this.serializeString(C), this.serialize(ui[C] != null ? M.getReserved(C) : M.h[C]);
7750
+ this.serializeString(C), this.serialize(ci[C] != null ? M.getReserved(C) : M.h[C]);
7751
7751
  }
7752
7752
  this.buf.b += "h";
7753
7753
  break;
@@ -7787,10 +7787,10 @@ var pl = { exports: {} };
7787
7787
  }
7788
7788
  break;
7789
7789
  case 4:
7790
- if (Tt.__instanceof(r, no)) {
7790
+ if (Tt.__instanceof(r, so)) {
7791
7791
  var It = ut.getClassName(r);
7792
7792
  this.buf.b += "A", this.serializeString(It);
7793
- } else if (Tt.__instanceof(r, so))
7793
+ } else if (Tt.__instanceof(r, io))
7794
7794
  this.buf.b += "B", this.serializeString(ut.getEnumName(r));
7795
7795
  else {
7796
7796
  if (this.useCache && this.serializeRef(r)) return;
@@ -8082,10 +8082,10 @@ var pl = { exports: {} };
8082
8082
  };
8083
8083
  b["haxe.ds.StringMap"] = me, me.__name__ = ["haxe", "ds", "StringMap"], me.__interfaces__ = [st], me.prototype = {
8084
8084
  set: function(r, n) {
8085
- ui[r] != null ? this.setReserved(r, n) : this.h[r] = n;
8085
+ ci[r] != null ? this.setReserved(r, n) : this.h[r] = n;
8086
8086
  },
8087
8087
  get: function(r) {
8088
- return ui[r] != null ? this.getReserved(r) : this.h[r];
8088
+ return ci[r] != null ? this.getReserved(r) : this.h[r];
8089
8089
  },
8090
8090
  setReserved: function(r, n) {
8091
8091
  this.rh == null && (this.rh = {}), this.rh["$" + r] = n;
@@ -8109,7 +8109,7 @@ var pl = { exports: {} };
8109
8109
  __class__: me
8110
8110
  };
8111
8111
  var Me = function(r) {
8112
- this.length = r.byteLength, this.b = new ci(r), this.b.bufferValue = r, r.hxBytes = this, r.bytes = this.b;
8112
+ this.length = r.byteLength, this.b = new di(r), this.b.bufferValue = r, r.hxBytes = this, r.bytes = this.b;
8113
8113
  };
8114
8114
  b["haxe.io.Bytes"] = Me, Me.__name__ = ["haxe", "io", "Bytes"], Me.alloc = function(r) {
8115
8115
  return new Me(new Ns(r));
@@ -8127,12 +8127,12 @@ var pl = { exports: {} };
8127
8127
  var n = ["Custom", 3, r];
8128
8128
  return n.__enum__ = Jt, n.toString = E, n;
8129
8129
  };
8130
- var ie = function() {
8130
+ var ae = function() {
8131
8131
  };
8132
- b["haxe.io.FPHelper"] = ie, ie.__name__ = ["haxe", "io", "FPHelper"], ie.i32ToFloat = function(r) {
8132
+ b["haxe.io.FPHelper"] = ae, ae.__name__ = ["haxe", "io", "FPHelper"], ae.i32ToFloat = function(r) {
8133
8133
  var n = 1 - (r >>> 31 << 1), a = r >>> 23 & 255, l = r & 8388607;
8134
8134
  return l == 0 && a == 0 ? 0 : n * (1 + Math.pow(2, -23) * l) * Math.pow(2, a - 127);
8135
- }, ie.floatToI32 = function(r) {
8135
+ }, ae.floatToI32 = function(r) {
8136
8136
  if (r == 0) return 0;
8137
8137
  var n;
8138
8138
  r < 0 ? n = -r : n = r;
@@ -8140,11 +8140,11 @@ var pl = { exports: {} };
8140
8140
  a < -127 ? a = -127 : a > 128 && (a = 128);
8141
8141
  var l = Math.round((n / Math.pow(2, a) - 1) * 8388608) & 8388607;
8142
8142
  return (r < 0 ? -2147483648 : 0) | a + 127 << 23 | l;
8143
- }, ie.i64ToDouble = function(r, n) {
8143
+ }, ae.i64ToDouble = function(r, n) {
8144
8144
  var a = 1 - (n >>> 31 << 1), l = (n >> 20 & 2047) - 1023, u = (n & 1048575) * 4294967296 + (r >>> 31) * 2147483648 + (r & 2147483647);
8145
8145
  return u == 0 && l == -1023 ? 0 : a * (1 + Math.pow(2, -52) * u) * Math.pow(2, l);
8146
- }, ie.doubleToI64 = function(r) {
8147
- var n = ie.i64tmp;
8146
+ }, ae.doubleToI64 = function(r) {
8147
+ var n = ae.i64tmp;
8148
8148
  if (r == 0)
8149
8149
  n.low = 0, n.high = 0;
8150
8150
  else {
@@ -8235,17 +8235,17 @@ var pl = { exports: {} };
8235
8235
  }, Tt.__instanceof = function(r, n) {
8236
8236
  if (n == null) return !1;
8237
8237
  switch (n) {
8238
- case Fh:
8238
+ case Dh:
8239
8239
  return (r | 0) === r;
8240
- case eo:
8241
- return typeof r == "number";
8242
8240
  case ro:
8241
+ return typeof r == "number";
8242
+ case no:
8243
8243
  return typeof r == "boolean";
8244
8244
  case String:
8245
8245
  return typeof r == "string";
8246
8246
  case Array:
8247
8247
  return r instanceof Array && r.__enum__ == null;
8248
- case Bh:
8248
+ case Uh:
8249
8249
  return !0;
8250
8250
  default:
8251
8251
  if (r != null) {
@@ -8254,7 +8254,7 @@ var pl = { exports: {} };
8254
8254
  } else if (typeof n == "object" && Tt.__isNativeObj(n) && r instanceof n)
8255
8255
  return !0;
8256
8256
  } else return !1;
8257
- return n == no && r.__name__ != null || n == so && r.__ename__ != null ? !0 : r.__enum__ == n;
8257
+ return n == so && r.__name__ != null || n == io && r.__ename__ != null ? !0 : r.__enum__ == n;
8258
8258
  }
8259
8259
  }, Tt.__nativeClassName = function(r) {
8260
8260
  var n = Tt.__toStr.call(r).slice(8, -1);
@@ -8264,7 +8264,7 @@ var pl = { exports: {} };
8264
8264
  }, Tt.__resolveNativeClass = function(r) {
8265
8265
  return w[r];
8266
8266
  };
8267
- var ae = function(r) {
8267
+ var oe = function(r) {
8268
8268
  if (r instanceof Array && r.__enum__ == null)
8269
8269
  this.a = r, this.byteLength = r.length;
8270
8270
  else {
@@ -8277,14 +8277,14 @@ var pl = { exports: {} };
8277
8277
  this.byteLength = n;
8278
8278
  }
8279
8279
  };
8280
- b["js.html.compat.ArrayBuffer"] = ae, ae.__name__ = ["js", "html", "compat", "ArrayBuffer"], ae.sliceImpl = function(r, n) {
8281
- var a = new ci(this, r, n == null ? null : n - r), l = new Ns(a.byteLength), u = new ci(l);
8280
+ b["js.html.compat.ArrayBuffer"] = oe, oe.__name__ = ["js", "html", "compat", "ArrayBuffer"], oe.sliceImpl = function(r, n) {
8281
+ var a = new di(this, r, n == null ? null : n - r), l = new Ns(a.byteLength), u = new di(l);
8282
8282
  return u.set(a), l;
8283
- }, ae.prototype = {
8283
+ }, oe.prototype = {
8284
8284
  slice: function(r, n) {
8285
- return new ae(this.a.slice(r, n));
8285
+ return new oe(this.a.slice(r, n));
8286
8286
  },
8287
- __class__: ae
8287
+ __class__: oe
8288
8288
  };
8289
8289
  var hr = function(r, n, a) {
8290
8290
  if (this.buf = r, n == null ? this.offset = 0 : this.offset = n, a == null ? this.length = r.byteLength - this.offset : this.length = a, this.offset < 0 || this.length < 0 || this.offset + this.length > r.byteLength) throw new Q(Jt.OutsideBounds);
@@ -8313,11 +8313,11 @@ var pl = { exports: {} };
8313
8313
  return a < 0 ? a + 4294967296 : a;
8314
8314
  },
8315
8315
  getFloat32: function(r, n) {
8316
- return ie.i32ToFloat(this.getInt32(r, n));
8316
+ return ae.i32ToFloat(this.getInt32(r, n));
8317
8317
  },
8318
8318
  getFloat64: function(r, n) {
8319
8319
  var a = this.getInt32(r, n), l = this.getInt32(r + 4, n);
8320
- return ie.i64ToDouble(n ? a : l, n ? l : a);
8320
+ return ae.i64ToDouble(n ? a : l, n ? l : a);
8321
8321
  },
8322
8322
  setInt8: function(r, n) {
8323
8323
  n < 0 ? this.buf.a[r + this.offset] = n + 128 & 255 : this.buf.a[r + this.offset] = n & 255;
@@ -8340,10 +8340,10 @@ var pl = { exports: {} };
8340
8340
  a ? (this.buf.a[l++] = n & 255, this.buf.a[l++] = n >> 8 & 255, this.buf.a[l++] = n >> 16 & 255, this.buf.a[l++] = n >>> 24) : (this.buf.a[l++] = n >>> 24, this.buf.a[l++] = n >> 16 & 255, this.buf.a[l++] = n >> 8 & 255, this.buf.a[l++] = n & 255);
8341
8341
  },
8342
8342
  setFloat32: function(r, n, a) {
8343
- this.setUint32(r, ie.floatToI32(n), a);
8343
+ this.setUint32(r, ae.floatToI32(n), a);
8344
8344
  },
8345
8345
  setFloat64: function(r, n, a) {
8346
- var l = ie.doubleToI64(n);
8346
+ var l = ae.doubleToI64(n);
8347
8347
  a ? (this.setUint32(r, l.low), this.setUint32(r, l.high)) : (this.setUint32(r, l.high), this.setUint32(r, l.low));
8348
8348
  },
8349
8349
  __class__: hr
@@ -8358,17 +8358,17 @@ var pl = { exports: {} };
8358
8358
  var d = u++;
8359
8359
  l[d] = 0;
8360
8360
  }
8361
- l.byteLength = l.length, l.byteOffset = 0, l.buffer = new ae(l);
8362
- } else if (Tt.__instanceof(r, ae)) {
8361
+ l.byteLength = l.length, l.byteOffset = 0, l.buffer = new oe(l);
8362
+ } else if (Tt.__instanceof(r, oe)) {
8363
8363
  var p = r;
8364
8364
  n == null && (n = 0), a == null && (a = p.byteLength - n), n == 0 ? l = p.a : l = p.a.slice(n, n + a), l.byteLength = l.length, l.byteOffset = n, l.buffer = p;
8365
8365
  } else if (r instanceof Array && r.__enum__ == null)
8366
- l = r.slice(), l.byteLength = l.length, l.byteOffset = 0, l.buffer = new ae(l);
8366
+ l = r.slice(), l.byteLength = l.length, l.byteOffset = 0, l.buffer = new oe(l);
8367
8367
  else throw new Q("TODO " + dt.string(r));
8368
8368
  return l.subarray = sr._subarray, l.set = sr._set, l;
8369
8369
  }, sr._set = function(r, n) {
8370
8370
  var a = this;
8371
- if (Tt.__instanceof(r.buffer, ae)) {
8371
+ if (Tt.__instanceof(r.buffer, oe)) {
8372
8372
  var l = r;
8373
8373
  if (r.byteLength + n > a.byteLength) throw new Q("set() outside of range");
8374
8374
  for (var u = 0, d = r.byteLength; u < d; ) {
@@ -8706,7 +8706,7 @@ var pl = { exports: {} };
8706
8706
  var n = new Ht(null);
8707
8707
  return this.catchError(function(a) {
8708
8708
  var l = r(a);
8709
- l.then(Le(n, n._resolve)), l._end_promise.then((hi = n._end_promise, Le(hi, hi._resolve)));
8709
+ l.then(Le(n, n._resolve)), l._end_promise.then((ui = n._end_promise, Le(ui, ui._resolve)));
8710
8710
  }), this.then(Le(n, n._resolve)), this._end_promise.then(function(a) {
8711
8711
  n.end();
8712
8712
  }), n;
@@ -9190,7 +9190,7 @@ var pl = { exports: {} };
9190
9190
  };
9191
9191
  b["verb.core.LazyCurveBoundingBoxTree"] = ir, ir.__name__ = ["verb", "core", "LazyCurveBoundingBoxTree"], ir.__interfaces__ = [ur], ir.prototype = {
9192
9192
  split: function() {
9193
- var r = $.first(this._curve.knots), n = $.last(this._curve.knots), a = n - r, l = oe.curveSplit(this._curve, (n + r) / 2 + a * 0.1 * Math.random());
9193
+ var r = $.first(this._curve.knots), n = $.last(this._curve.knots), a = n - r, l = le.curveSplit(this._curve, (n + r) / 2 + a * 0.1 * Math.random());
9194
9194
  return new ee(new ir(l[0], this._knotTol), new ir(l[1], this._knotTol));
9195
9195
  },
9196
9196
  boundingBox: function() {
@@ -9265,7 +9265,7 @@ var pl = { exports: {} };
9265
9265
  split: function() {
9266
9266
  var r, n;
9267
9267
  this._splitV ? (r = $.first(this._surface.knotsV), n = $.last(this._surface.knotsV)) : (r = $.first(this._surface.knotsU), n = $.last(this._surface.knotsU));
9268
- var a = (r + n) / 2, l = oe.surfaceSplit(this._surface, a, this._splitV);
9268
+ var a = (r + n) / 2, l = le.surfaceSplit(this._surface, a, this._splitV);
9269
9269
  return new ee(new Nr(l[0], !this._splitV, this._knotTolU, this._knotTolV), new Nr(l[1], !this._splitV, this._knotTolU, this._knotTolV));
9270
9270
  },
9271
9271
  boundingBox: function() {
@@ -9557,9 +9557,9 @@ var pl = { exports: {} };
9557
9557
  b["verb.core.ISerializable"] = xn, xn.__name__ = ["verb", "core", "ISerializable"], xn.prototype = {
9558
9558
  __class__: xn
9559
9559
  };
9560
- var li = f.core.Deserializer = function() {
9560
+ var hi = f.core.Deserializer = function() {
9561
9561
  };
9562
- b["verb.core.Deserializer"] = li, li.__name__ = ["verb", "core", "Deserializer"], li.deserialize = function(r) {
9562
+ b["verb.core.Deserializer"] = hi, hi.__name__ = ["verb", "core", "Deserializer"], hi.deserialize = function(r) {
9563
9563
  var n = new Wt(r), a = n.unserialize();
9564
9564
  return a;
9565
9565
  };
@@ -9931,9 +9931,9 @@ var pl = { exports: {} };
9931
9931
  if (!We.isValidKnotVector(r.knotsU, r.degreeU) || !We.isValidKnotVector(r.knotsV, r.degreeV)) throw new Q("Invalid knot vector format! Should begin with degree + 1 repeats and end with degree + 1 repeats!");
9932
9932
  return r;
9933
9933
  };
9934
- var oe = f.eval.Divide = function() {
9934
+ var le = f.eval.Divide = function() {
9935
9935
  };
9936
- b["verb.eval.Divide"] = oe, oe.__name__ = ["verb", "eval", "Divide"], oe.surfaceSplit = function(r, n, a) {
9936
+ b["verb.eval.Divide"] = le, le.__name__ = ["verb", "eval", "Divide"], le.surfaceSplit = function(r, n, a) {
9937
9937
  a == null && (a = !1);
9938
9938
  var l, u, d;
9939
9939
  a ? (d = r.controlPoints, l = r.knotsV, u = r.degreeV) : (d = Lt.transpose(r.controlPoints), l = r.knotsU, u = r.degreeU);
@@ -9946,7 +9946,7 @@ var pl = { exports: {} };
9946
9946
  }
9947
9947
  var C = k.knots.slice(0, P + u + 2), F = k.knots.slice(P + 1);
9948
9948
  return a ? [new te(r.degreeU, u, r.knotsU.slice(), C, I), new te(r.degreeU, u, r.knotsU.slice(), F, S)] : (I = Lt.transpose(I), S = Lt.transpose(S), [new te(u, r.degreeV, C, r.knotsV.slice(), I), new te(u, r.degreeV, F, r.knotsV.slice(), S)]);
9949
- }, oe.curveSplit = function(r, n) {
9949
+ }, le.curveSplit = function(r, n) {
9950
9950
  var a = r.degree;
9951
9951
  r.controlPoints;
9952
9952
  for (var l = r.knots, u, d = [], p = 0, _ = a + 1; p < _; )
@@ -9954,10 +9954,10 @@ var pl = { exports: {} };
9954
9954
  u = d;
9955
9955
  var y = ft.curveKnotRefine(r, u), A = N.knotSpan(a, n, l), I = y.knots.slice(0, A + a + 2), S = y.knots.slice(A + 1), P = y.controlPoints.slice(0, A + 1), k = y.controlPoints.slice(A + 1);
9956
9956
  return [new Gt(a, I, P), new Gt(a, S, k)];
9957
- }, oe.rationalCurveByEqualArcLength = function(r, n) {
9957
+ }, le.rationalCurveByEqualArcLength = function(r, n) {
9958
9958
  var a = vt.rationalCurveArcLength(r), l = a / n;
9959
- return oe.rationalCurveByArcLength(r, l);
9960
- }, oe.rationalCurveByArcLength = function(r, n) {
9959
+ return le.rationalCurveByArcLength(r, l);
9960
+ }, le.rationalCurveByArcLength = function(r, n) {
9961
9961
  var a = ft.decomposeCurveIntoBeziers(r), l = a.map(function(P) {
9962
9962
  return vt.rationalBezierCurveArcLength(P);
9963
9963
  }), u = m.sum(l), d = [new wn(r.knots[0], 0)];
@@ -10901,57 +10901,57 @@ var pl = { exports: {} };
10901
10901
  for (var Ze = Ie - It, Qe = [], Je = l; Je > ge; )
10902
10902
  Qe[Je - ge - 1] = Ze / (u[mt + Je] - It), Je--;
10903
10903
  for (var dr = 1, In = nt + 1; dr < In; ) {
10904
- for (var qr = dr++, Dh = nt - qr, di = ge + qr, Xr = l; Xr >= di; )
10905
- A[Xr] = m.add(m.mul(Qe[Xr - di], A[Xr]), m.mul(1 - Qe[Xr - di], A[Xr - 1])), Xr--;
10906
- S[Dh] = A[l];
10904
+ for (var qr = dr++, Vh = nt - qr, mi = ge + qr, Xr = l; Xr >= mi; )
10905
+ A[Xr] = m.add(m.mul(Qe[Xr - mi], A[Xr]), m.mul(1 - Qe[Xr - mi], A[Xr - 1])), Xr--;
10906
+ S[Vh] = A[l];
10907
10907
  }
10908
10908
  }
10909
- for (var io = $e, Uh = k + 1; io < Uh; ) {
10910
- var Pn = io++;
10909
+ for (var ao = $e, Gh = k + 1; ao < Gh; ) {
10910
+ var Pn = ao++;
10911
10911
  I[Pn] = m.zeros1d(_);
10912
- for (var Vh = ft.imin(l, Pn), ao = ft.imax(0, Pn - p), Gh = Vh + 1; ao < Gh; ) {
10913
- var oo = ao++;
10914
- I[Pn] = m.add(I[Pn], m.mul(y[Pn][oo], A[oo]));
10912
+ for (var jh = ft.imin(l, Pn), oo = ft.imax(0, Pn - p), Wh = jh + 1; oo < Wh; ) {
10913
+ var lo = oo++;
10914
+ I[Pn] = m.add(I[Pn], m.mul(y[Pn][lo], A[lo]));
10915
10915
  }
10916
10916
  }
10917
10917
  if (Oe > 1)
10918
- for (var mi = ct - 2, pi = ct, lo = Ie - It, jh = (Ie - C[ct - 1]) / lo, ho = 1; ho < Oe; ) {
10919
- for (var gi = ho++, mr = mi, Kr = pi, Br = Kr - ct + 1; Kr - mr > gi; ) {
10918
+ for (var pi = ct - 2, gi = ct, ho = Ie - It, Hh = (Ie - C[ct - 1]) / ho, uo = 1; uo < Oe; ) {
10919
+ for (var fi = uo++, mr = pi, Kr = gi, Br = Kr - ct + 1; Kr - mr > fi; ) {
10920
10920
  if (mr < gt) {
10921
- var Wh = (Ie - C[mr]) / (It - C[mr]);
10922
- O[mr] = m.lerp(Wh, O[mr], O[mr - 1]);
10921
+ var Yh = (Ie - C[mr]) / (It - C[mr]);
10922
+ O[mr] = m.lerp(Yh, O[mr], O[mr - 1]);
10923
10923
  }
10924
10924
  if (Kr >= $e) {
10925
- if (Kr - gi <= ct - k + Oe) {
10926
- var Hh = (Ie - C[Kr - gi]) / lo;
10927
- I[Br] = m.lerp(Hh, I[Br], I[Br + 1]);
10925
+ if (Kr - fi <= ct - k + Oe) {
10926
+ var qh = (Ie - C[Kr - fi]) / ho;
10927
+ I[Br] = m.lerp(qh, I[Br], I[Br + 1]);
10928
10928
  }
10929
- } else I[Br] = m.lerp(jh, I[Br], I[Br + 1]);
10929
+ } else I[Br] = m.lerp(Hh, I[Br], I[Br + 1]);
10930
10930
  mr = mr + 1, Kr = Kr - 1, Br = Br - 1;
10931
10931
  }
10932
- mi = mi - 1, pi = pi + 1;
10932
+ pi = pi - 1, gi = gi + 1;
10933
10933
  }
10934
10934
  if (mt != l)
10935
- for (var uo = 0, Yh = k - Oe; uo < Yh; )
10936
- uo++, C[ct] = It, ct = ct + 1;
10937
- for (var co = $e, qh = lr + 1; co < qh; ) {
10938
- var Xh = co++;
10939
- O[gt] = I[Xh], gt = gt + 1;
10935
+ for (var co = 0, Xh = k - Oe; co < Xh; )
10936
+ co++, C[ct] = It, ct = ct + 1;
10937
+ for (var mo = $e, Kh = lr + 1; mo < Kh; ) {
10938
+ var $h = mo++;
10939
+ O[gt] = I[$h], gt = gt + 1;
10940
10940
  }
10941
10941
  if (X < P) {
10942
- for (var mo = 0; mo < nt; ) {
10943
- var po = mo++;
10944
- A[po] = S[po];
10942
+ for (var po = 0; po < nt; ) {
10943
+ var go = po++;
10944
+ A[go] = S[go];
10945
10945
  }
10946
- for (var go = nt, Kh = l + 1; go < Kh; ) {
10947
- var fo = go++;
10948
- A[fo] = d[X - l + fo];
10946
+ for (var fo = nt, Zh = l + 1; fo < Zh; ) {
10947
+ var _o = fo++;
10948
+ A[_o] = d[X - l + _o];
10949
10949
  }
10950
10950
  mt = X, X = X + 1, It = Ie;
10951
10951
  } else
10952
- for (var _o = 0, $h = k + 1; _o < $h; ) {
10953
- var Zh = _o++;
10954
- C[ct + Zh] = Ie;
10952
+ for (var yo = 0, Qh = k + 1; yo < Qh; ) {
10953
+ var Jh = yo++;
10954
+ C[ct + Jh] = Ie;
10955
10955
  }
10956
10956
  }
10957
10957
  return new Gt(n, C, O);
@@ -11457,24 +11457,24 @@ var pl = { exports: {} };
11457
11457
  return wt.dispatchMethod(vt, "rationalCurveParamAtArcLength", [this._data, r, n]);
11458
11458
  },
11459
11459
  divideByEqualArcLength: function(r) {
11460
- return oe.rationalCurveByEqualArcLength(this._data, r);
11460
+ return le.rationalCurveByEqualArcLength(this._data, r);
11461
11461
  },
11462
11462
  divideByEqualArcLengthAsync: function(r) {
11463
- return wt.dispatchMethod(oe, "rationalCurveByEqualArcLength", [this._data, r]);
11463
+ return wt.dispatchMethod(le, "rationalCurveByEqualArcLength", [this._data, r]);
11464
11464
  },
11465
11465
  divideByArcLength: function(r) {
11466
- return oe.rationalCurveByArcLength(this._data, r);
11466
+ return le.rationalCurveByArcLength(this._data, r);
11467
11467
  },
11468
11468
  divideByArcLengthAsync: function(r) {
11469
- return wt.dispatchMethod(oe, "rationalCurveByArcLength", [this._data, r]);
11469
+ return wt.dispatchMethod(le, "rationalCurveByArcLength", [this._data, r]);
11470
11470
  },
11471
11471
  split: function(r) {
11472
- return oe.curveSplit(this._data, r).map(function(n) {
11472
+ return le.curveSplit(this._data, r).map(function(n) {
11473
11473
  return new Mt(n);
11474
11474
  });
11475
11475
  },
11476
11476
  splitAsync: function(r) {
11477
- return wt.dispatchMethod(oe, "curveSplit", [this._data, r]).then(function(n) {
11477
+ return wt.dispatchMethod(le, "curveSplit", [this._data, r]).then(function(n) {
11478
11478
  return n.map(function(a) {
11479
11479
  return new Mt(a);
11480
11480
  });
@@ -11614,12 +11614,12 @@ var pl = { exports: {} };
11614
11614
  return wt.dispatchMethod(vt, "rationalSurfaceClosestPoint", [this._data, r]);
11615
11615
  },
11616
11616
  split: function(r, n) {
11617
- return n == null && (n = !1), oe.surfaceSplit(this._data, r, n).map(function(a) {
11617
+ return n == null && (n = !1), le.surfaceSplit(this._data, r, n).map(function(a) {
11618
11618
  return new Pt(a);
11619
11619
  });
11620
11620
  },
11621
11621
  splitAsync: function(r, n) {
11622
- return n == null && (n = !1), wt.dispatchMethod(oe, "surfaceSplit", [this._data, r, n]).then(function(a) {
11622
+ return n == null && (n = !1), wt.dispatchMethod(le, "surfaceSplit", [this._data, r, n]).then(function(a) {
11623
11623
  return a.map(function(l) {
11624
11624
  return new Pt(l);
11625
11625
  });
@@ -11830,21 +11830,21 @@ var pl = { exports: {} };
11830
11830
  return L.iter(r);
11831
11831
  } : typeof r.iterator == "function" ? Le(r, r.iterator) : r.iterator;
11832
11832
  }
11833
- var hi, Rh = 0;
11833
+ var ui, Bh = 0;
11834
11834
  function Le(r, n) {
11835
11835
  if (n == null) return null;
11836
- n.__id__ == null && (n.__id__ = Rh++);
11836
+ n.__id__ == null && (n.__id__ = Bh++);
11837
11837
  var a;
11838
11838
  return r.hx__closures__ == null ? r.hx__closures__ = {} : a = r.hx__closures__[n.__id__], a == null && (a = function() {
11839
11839
  return a.method.apply(a.scope, arguments);
11840
11840
  }, a.scope = r, a.method = n, r.hx__closures__[n.__id__] = a), a;
11841
11841
  }
11842
11842
  b.Math = Math, String.prototype.__class__ = b.String = String, String.__name__ = ["String"], b.Array = Array, Array.__name__ = ["Array"], Date.prototype.__class__ = b.Date = Date, Date.__name__ = ["Date"];
11843
- var Fh = b.Int = { __name__: ["Int"] }, Bh = b.Dynamic = { __name__: ["Dynamic"] }, eo = b.Float = Number;
11844
- eo.__name__ = ["Float"];
11845
- var ro = b.Bool = Boolean;
11846
- ro.__ename__ = ["Bool"];
11847
- var no = b.Class = { __name__: ["Class"] }, so = {};
11843
+ var Dh = b.Int = { __name__: ["Int"] }, Uh = b.Dynamic = { __name__: ["Dynamic"] }, ro = b.Float = Number;
11844
+ ro.__name__ = ["Float"];
11845
+ var no = b.Bool = Boolean;
11846
+ no.__ename__ = ["Bool"];
11847
+ var so = b.Class = { __name__: ["Class"] }, io = {};
11848
11848
  Array.prototype.map == null && (Array.prototype.map = function(r) {
11849
11849
  for (var n = [], a = 0, l = this.length; a < l; ) {
11850
11850
  var u = a++;
@@ -11858,9 +11858,9 @@ var pl = { exports: {} };
11858
11858
  }
11859
11859
  return n;
11860
11860
  });
11861
- var ui = {}, Ns = w.ArrayBuffer || ae;
11862
- Ns.prototype.slice == null && (Ns.prototype.slice = ae.sliceImpl), w.DataView;
11863
- var ci = w.Uint8Array || sr._new;
11861
+ var ci = {}, Ns = w.ArrayBuffer || oe;
11862
+ Ns.prototype.slice == null && (Ns.prototype.slice = oe.sliceImpl), w.DataView;
11863
+ var di = w.Uint8Array || sr._new;
11864
11864
  (function(r, n) {
11865
11865
  if (r.setImmediate)
11866
11866
  return;
@@ -11942,17 +11942,17 @@ var pl = { exports: {} };
11942
11942
  }
11943
11943
  var F = Object.getPrototypeOf && Object.getPrototypeOf(r);
11944
11944
  F = F && F.setTimeout ? F : r, {}.toString.call(r.process) === "[object process]" ? S() : P() ? k() : r.MessageChannel ? M() : d && "onreadystatechange" in d.createElement("script") ? O() : C(), F.setImmediate = p, F.clearImmediate = I;
11945
- })(new Function("return this")()), qt.USE_CACHE = !1, qt.USE_ENUM_INDEX = !1, qt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Wt.DEFAULT_RESOLVER = ut, Wt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Ot.count = 0, ie.i64tmp = function(r) {
11945
+ })(new Function("return this")()), qt.USE_CACHE = !1, qt.USE_ENUM_INDEX = !1, qt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Wt.DEFAULT_RESOLVER = ut, Wt.BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789%:", Ot.count = 0, ae.i64tmp = function(r) {
11946
11946
  var n, a = new Vt(0, 0);
11947
11947
  return n = a, n;
11948
11948
  }(), Tt.__toStr = {}.toString, sr.BYTES_PER_ELEMENT = 1, St.queue = new D(), Ft.memo = new bt(), rt.TOLERANCE = 1e-6, rt.EPSILON = 1e-10, rt.VERSION = "2.0.0", vt.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]], vt.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]], wt.THREADS = 1, wt._init = !1, Or.basePath = "", Yr.uuid = 0, Ts.main();
11949
11949
  }(typeof console < "u" ? console : { log: function() {
11950
11950
  } }, e, typeof c < "u" ? c : typeof s < "u" ? s : typeof self < "u" ? self : this), e;
11951
11951
  });
11952
- })(pl);
11953
- var Hu = pl.exports;
11954
- const Tn = /* @__PURE__ */ Wu(Hu);
11955
- class wi {
11952
+ })(fl);
11953
+ var qu = fl.exports;
11954
+ const Tn = /* @__PURE__ */ Yu(qu);
11955
+ class Ai {
11956
11956
  constructor() {
11957
11957
  this.c0 = 0, this.c1 = 0, this.c2 = 0, this.c3 = 0;
11958
11958
  }
@@ -11988,7 +11988,7 @@ class wi {
11988
11988
  return this.c0 + this.c1 * t + this.c2 * e + this.c3 * s;
11989
11989
  }
11990
11990
  }
11991
- let Yu = class extends ks {
11991
+ let Xu = class extends ks {
11992
11992
  /**
11993
11993
  * Constructs a new Catmull-Rom curve.
11994
11994
  *
@@ -11998,7 +11998,7 @@ let Yu = class extends ks {
11998
11998
  * @param tension - Tension of the curve.
11999
11999
  */
12000
12000
  constructor(t = [], e = !1, s = "centripetal", o = 0.5) {
12001
- super(), this.isCatmullRomCurve3d = !0, this.type = "CatmullRomCurve3d", this._tmp = new Z(), this._px = new wi(), this._py = new wi(), this._pz = new wi(), this._points = t.map((h) => new Y(h)), this._closed = e, this._curveType = s, this._tension = o;
12001
+ super(), this.isCatmullRomCurve3d = !0, this.type = "CatmullRomCurve3d", this._tmp = new Z(), this._px = new Ai(), this._py = new Ai(), this._pz = new Ai(), this._points = t.map((h) => new Y(h)), this._closed = e, this._curveType = s, this._tension = o;
12002
12002
  }
12003
12003
  /**
12004
12004
  * An array of 3D points defining the curve.
@@ -12187,7 +12187,7 @@ class Cn {
12187
12187
  */
12188
12188
  length() {
12189
12189
  const t = this._controlPoints.map((e) => [e.x, e.y, e.z]);
12190
- return Fu(
12190
+ return Du(
12191
12191
  this._degree,
12192
12192
  this._knots,
12193
12193
  t,
@@ -12207,14 +12207,14 @@ class Cn {
12207
12207
  let o;
12208
12208
  switch (s) {
12209
12209
  case "Chord":
12210
- o = zu(e, t);
12210
+ o = Fu(e, t);
12211
12211
  break;
12212
12212
  case "SqrtChord":
12213
- o = Ru(e, t);
12213
+ o = Bu(e, t);
12214
12214
  break;
12215
12215
  case "Uniform":
12216
12216
  default:
12217
- o = Ou(e, t.length);
12217
+ o = Ru(e, t.length);
12218
12218
  break;
12219
12219
  }
12220
12220
  const h = t.map((g) => ({ x: g[0], y: g[1], z: g[2] })), c = new Array(h.length).fill(1);
@@ -12253,7 +12253,7 @@ class Cn {
12253
12253
  static createFitPointsForClosedCurve(t) {
12254
12254
  if (t.length < 4)
12255
12255
  throw new Error("At least 4 points are required for a closed NURBS curve");
12256
- const e = new Yu(
12256
+ const e = new Xu(
12257
12257
  t,
12258
12258
  !0,
12259
12259
  "centripetal"
@@ -12472,13 +12472,13 @@ class cn extends ks {
12472
12472
  return new cn(t, e, s, !0);
12473
12473
  }
12474
12474
  }
12475
- var an = 256, gl = [], Po = 256, zs;
12476
- for (; an--; ) gl[an] = (an + 256).toString(16).substring(1);
12477
- function qu(i) {
12475
+ var an = 256, _l = [], Eo = 256, zs;
12476
+ for (; an--; ) _l[an] = (an + 256).toString(16).substring(1);
12477
+ function Ku(i) {
12478
12478
  var t = 0, e = 11;
12479
- if (!zs || an + e > Po * 2)
12480
- for (zs = "", an = 0; t < Po; t++)
12481
- zs += gl[Math.random() * 256 | 0];
12479
+ if (!zs || an + e > Eo * 2)
12480
+ for (zs = "", an = 0; t < Eo; t++)
12481
+ zs += _l[Math.random() * 256 | 0];
12482
12482
  return zs.substring(an, an++ + e);
12483
12483
  }
12484
12484
  class mn {
@@ -12494,7 +12494,7 @@ class mn {
12494
12494
  * ```
12495
12495
  */
12496
12496
  constructor(t, e) {
12497
- t = t || {}, Ps(t, { objectId: qu() }), this._attrs = new iu(t, e);
12497
+ t = t || {}, Ps(t, { objectId: Ku() }), this._attrs = new ou(t, e);
12498
12498
  }
12499
12499
  /**
12500
12500
  * Gets the attributes object for this AcDbObject.
@@ -12642,7 +12642,7 @@ class mn {
12642
12642
  * ```
12643
12643
  */
12644
12644
  get database() {
12645
- return this._database ? this._database : zh().workingDatabase;
12645
+ return this._database ? this._database : Fh().workingDatabase;
12646
12646
  }
12647
12647
  /**
12648
12648
  * Sets the database for this object.
@@ -12675,9 +12675,9 @@ class mn {
12675
12675
  close() {
12676
12676
  }
12677
12677
  }
12678
- const wa = class wa extends mn {
12678
+ const Aa = class Aa extends mn {
12679
12679
  constructor() {
12680
- super(...arguments), this._layer = "0", this._color = new dn(), this._lineType = _i, this._lineWeight = 1, this._linetypeScale = -1, this._visibility = !0, this._transparency = 0;
12680
+ super(...arguments), this._layer = "0", this._color = new dn(), this._lineType = yi, this._lineWeight = 1, this._linetypeScale = -1, this._visibility = !0, this._transparency = 0;
12681
12681
  }
12682
12682
  /**
12683
12683
  * Gets the type name of this entity.
@@ -12794,7 +12794,7 @@ const wa = class wa extends mn {
12794
12794
  * ```
12795
12795
  */
12796
12796
  set lineType(t) {
12797
- this._lineType = t || _i;
12797
+ this._lineType = t || yi;
12798
12798
  }
12799
12799
  /**
12800
12800
  * Gets the line weight used by this entity.
@@ -13078,11 +13078,11 @@ const wa = class wa extends mn {
13078
13078
  * ```
13079
13079
  */
13080
13080
  getLineType() {
13081
- if (this.lineType == _i) {
13081
+ if (this.lineType == yi) {
13082
13082
  const t = this.database.tables.layerTable.getAt(this.layer);
13083
13083
  if (t && t.linetype) return t.linetype;
13084
- } else return this.lineType == du ? Ci : this.lineType;
13085
- return Ci;
13084
+ } else return this.lineType == pu ? Li : this.lineType;
13085
+ return Li;
13086
13086
  }
13087
13087
  /**
13088
13088
  * Gets the color of the layer this entity belongs to.
@@ -13122,14 +13122,14 @@ const wa = class wa extends mn {
13122
13122
  t && (t.objectId = this.objectId, this.attrs.has("ownerId") && (t.ownerId = this.ownerId), t.layerName = this.layer, t.visible = this.visibility);
13123
13123
  }
13124
13124
  };
13125
- wa.typeName = "Entity";
13126
- let ke = wa;
13127
- const Aa = class Aa extends ke {
13125
+ Aa.typeName = "Entity";
13126
+ let ke = Aa;
13127
+ const Sa = class Sa extends ke {
13128
13128
  };
13129
- Aa.typeName = "Curve";
13130
- let Te = Aa;
13129
+ Sa.typeName = "Curve";
13130
+ let Te = Sa;
13131
13131
  var ws = /* @__PURE__ */ ((i) => (i[i.SimplePoly = 0] = "SimplePoly", i[i.FitCurvePoly = 1] = "FitCurvePoly", i[i.QuadSplinePoly = 2] = "QuadSplinePoly", i[i.CubicSplinePoly = 3] = "CubicSplinePoly", i))(ws || {});
13132
- const Sa = class Sa extends Te {
13132
+ const Ia = class Ia extends Te {
13133
13133
  /**
13134
13134
  * Creates a new empty 2d polyline entity.
13135
13135
  */
@@ -13260,10 +13260,10 @@ const Sa = class Sa extends Te {
13260
13260
  ), t.lines(e, this.lineStyle);
13261
13261
  }
13262
13262
  };
13263
- Sa.typeName = "2dPolyline";
13264
- let Di = Sa;
13265
- var Xu = /* @__PURE__ */ ((i) => (i[i.Vertex = 0] = "Vertex", i[i.CurveFitVertex = 1] = "CurveFitVertex", i[i.SplineFitVertex = 8] = "SplineFitVertex", i[i.SplineCtlVertex = 9] = "SplineCtlVertex", i))(Xu || {});
13266
- const Ia = class Ia extends ke {
13263
+ Ia.typeName = "2dPolyline";
13264
+ let Ui = Ia;
13265
+ var $u = /* @__PURE__ */ ((i) => (i[i.Vertex = 0] = "Vertex", i[i.CurveFitVertex = 1] = "CurveFitVertex", i[i.SplineFitVertex = 8] = "SplineFitVertex", i[i.SplineCtlVertex = 9] = "SplineCtlVertex", i))($u || {});
13266
+ const Pa = class Pa extends ke {
13267
13267
  /**
13268
13268
  * Creates a new 2d vertex entity.
13269
13269
  */
@@ -13391,10 +13391,10 @@ const Ia = class Ia extends ke {
13391
13391
  draw(t) {
13392
13392
  }
13393
13393
  };
13394
- Ia.typeName = "2dVertex";
13395
- let Eo = Ia;
13394
+ Pa.typeName = "2dVertex";
13395
+ let ko = Pa;
13396
13396
  var Hs = /* @__PURE__ */ ((i) => (i[i.SimplePoly = 0] = "SimplePoly", i[i.QuadSplinePoly = 1] = "QuadSplinePoly", i[i.CubicSplinePoly = 2] = "CubicSplinePoly", i))(Hs || {});
13397
- const Pa = class Pa extends Te {
13397
+ const Ea = class Ea extends Te {
13398
13398
  /**
13399
13399
  * Creates a new empty 2d polyline entity.
13400
13400
  */
@@ -13489,10 +13489,10 @@ const Pa = class Pa extends Te {
13489
13489
  ), t.lines(e, this.lineStyle);
13490
13490
  }
13491
13491
  };
13492
- Pa.typeName = "3dPolyline";
13493
- let Ui = Pa;
13494
- var Ku = /* @__PURE__ */ ((i) => (i[i.SimpleVertex = 0] = "SimpleVertex", i[i.ControlVertex = 1] = "ControlVertex", i[i.FitVertex = 2] = "FitVertex", i))(Ku || {});
13495
- const Ea = class Ea extends ke {
13492
+ Ea.typeName = "3dPolyline";
13493
+ let Vi = Ea;
13494
+ var Zu = /* @__PURE__ */ ((i) => (i[i.SimpleVertex = 0] = "SimpleVertex", i[i.ControlVertex = 1] = "ControlVertex", i[i.FitVertex = 2] = "FitVertex", i))(Zu || {});
13495
+ const ka = class ka extends ke {
13496
13496
  /**
13497
13497
  * Creates a new 3d vertex entity.
13498
13498
  */
@@ -13564,9 +13564,9 @@ const Ea = class Ea extends ke {
13564
13564
  draw(t) {
13565
13565
  }
13566
13566
  };
13567
- Ea.typeName = "3dVertex";
13568
- let ko = Ea;
13569
- const ka = class ka extends Te {
13567
+ ka.typeName = "3dVertex";
13568
+ let To = ka;
13569
+ const Ta = class Ta extends Te {
13570
13570
  /**
13571
13571
  * Creates a new arc entity.
13572
13572
  *
@@ -13600,7 +13600,7 @@ const ka = class ka extends Te {
13600
13600
  * ```
13601
13601
  */
13602
13602
  constructor(t, e, s, o, h = Z.Z_AXIS) {
13603
- super(), this._geo = new cl(
13603
+ super(), this._geo = new ml(
13604
13604
  t,
13605
13605
  e,
13606
13606
  s,
@@ -13978,9 +13978,9 @@ const ka = class ka extends Te {
13978
13978
  return t.circularArc(this._geo, this.lineStyle);
13979
13979
  }
13980
13980
  };
13981
- ka.typeName = "Arc";
13982
- let Vi = ka;
13983
- const Ta = class Ta extends ke {
13981
+ Ta.typeName = "Arc";
13982
+ let Gi = Ta;
13983
+ const Ma = class Ma extends ke {
13984
13984
  /**
13985
13985
  * Creates a new block reference entity.
13986
13986
  *
@@ -14293,7 +14293,7 @@ const Ta = class Ta extends ke {
14293
14293
  t.union(c.geometricExtents);
14294
14294
  }
14295
14295
  const s = new hn().setFromEuler(
14296
- new Gu(this.rotation, 0, 0)
14296
+ new Wu(this.rotation, 0, 0)
14297
14297
  ), o = new un();
14298
14298
  return o.compose(this.position, s, this.scaleFactors), t.applyMatrix4(o), t;
14299
14299
  }
@@ -14326,9 +14326,9 @@ const Ta = class Ta extends ke {
14326
14326
  );
14327
14327
  }
14328
14328
  };
14329
- Ta.typeName = "BlockReference";
14330
- let Js = Ta;
14331
- const Ma = class Ma extends Te {
14329
+ Ma.typeName = "BlockReference";
14330
+ let Js = Ma;
14331
+ const Na = class Na extends Te {
14332
14332
  /**
14333
14333
  * Creates a new circle entity.
14334
14334
  *
@@ -14357,7 +14357,7 @@ const Ma = class Ma extends Te {
14357
14357
  * ```
14358
14358
  */
14359
14359
  constructor(t, e, s = Z.Z_AXIS) {
14360
- super(), this._geo = new cl(
14360
+ super(), this._geo = new ml(
14361
14361
  t,
14362
14362
  e,
14363
14363
  0,
@@ -14615,9 +14615,9 @@ const Ma = class Ma extends Te {
14615
14615
  return t.circularArc(this._geo, this.lineStyle);
14616
14616
  }
14617
14617
  };
14618
- Ma.typeName = "Circle";
14619
- let Gi = Ma;
14620
- const Na = class Na extends Te {
14618
+ Na.typeName = "Circle";
14619
+ let ji = Na;
14620
+ const Ca = class Ca extends Te {
14621
14621
  /**
14622
14622
  * Creates a new ellipse entity.
14623
14623
  *
@@ -14658,7 +14658,7 @@ const Na = class Na extends Te {
14658
14658
  * ```
14659
14659
  */
14660
14660
  constructor(t, e, s, o, h, c, g) {
14661
- super(), this._geo = new pa(
14661
+ super(), this._geo = new ga(
14662
14662
  t,
14663
14663
  e,
14664
14664
  s,
@@ -15007,9 +15007,9 @@ const Na = class Na extends Te {
15007
15007
  return t.ellipticalArc(this._geo, this.lineStyle);
15008
15008
  }
15009
15009
  };
15010
- Na.typeName = "Ellipse";
15011
- let ji = Na;
15012
- const Ca = class Ca extends ke {
15010
+ Ca.typeName = "Ellipse";
15011
+ let Wi = Ca;
15012
+ const La = class La extends ke {
15013
15013
  /**
15014
15014
  * Creates a new face entity.
15015
15015
  *
@@ -15174,10 +15174,10 @@ const Ca = class Ca extends ke {
15174
15174
  return t.lineSegments(s, 3, o, this.lineStyle);
15175
15175
  }
15176
15176
  };
15177
- Ca.typeName = "Face";
15178
- let Wi = Ca;
15179
- var $u = /* @__PURE__ */ ((i) => (i[i.UserDefined = 0] = "UserDefined", i[i.Predefined = 1] = "Predefined", i[i.Custom = 2] = "Custom", i))($u || {}), Zu = /* @__PURE__ */ ((i) => (i[i.Normal = 0] = "Normal", i[i.Outer = 1] = "Outer", i[i.Ignore = 2] = "Ignore", i))(Zu || {});
15180
- const La = class La extends ke {
15177
+ La.typeName = "Face";
15178
+ let Hi = La;
15179
+ var Qu = /* @__PURE__ */ ((i) => (i[i.UserDefined = 0] = "UserDefined", i[i.Predefined = 1] = "Predefined", i[i.Custom = 2] = "Custom", i))(Qu || {}), Ju = /* @__PURE__ */ ((i) => (i[i.Normal = 0] = "Normal", i[i.Outer = 1] = "Outer", i[i.Ignore = 2] = "Ignore", i))(Ju || {});
15180
+ const Oa = class Oa extends ke {
15181
15181
  /**
15182
15182
  * Creates a new hatch entity.
15183
15183
  *
@@ -15193,7 +15193,7 @@ const La = class La extends ke {
15193
15193
  * ```
15194
15194
  */
15195
15195
  constructor() {
15196
- super(), this._elevation = 0, this._geo = new da(), this._definitionLines = [], this._patternName = "", this._patternType = 1, this._patternAngle = 0, this._patternScale = 1, this._hatchStyle = 0;
15196
+ super(), this._elevation = 0, this._geo = new ma(), this._definitionLines = [], this._patternName = "", this._patternType = 1, this._patternAngle = 0, this._patternScale = 1, this._hatchStyle = 0;
15197
15197
  }
15198
15198
  /**
15199
15199
  * Gets the definition lines for the hatch pattern.
@@ -15284,10 +15284,10 @@ const La = class La extends ke {
15284
15284
  });
15285
15285
  }
15286
15286
  };
15287
- La.typeName = "Hatch";
15288
- let ti = La;
15289
- var Qu = /* @__PURE__ */ ((i) => (i[i.MText = 0] = "MText", i[i.Fcf = 1] = "Fcf", i[i.BlockReference = 2] = "BlockReference", i[i.NoAnnotation = 3] = "NoAnnotation", i))(Qu || {});
15290
- const Oa = class Oa extends Te {
15287
+ Oa.typeName = "Hatch";
15288
+ let ti = Oa;
15289
+ var tc = /* @__PURE__ */ ((i) => (i[i.MText = 0] = "MText", i[i.Fcf = 1] = "Fcf", i[i.BlockReference = 2] = "BlockReference", i[i.NoAnnotation = 3] = "NoAnnotation", i))(tc || {});
15290
+ const za = class za extends Te {
15291
15291
  /**
15292
15292
  * Creates a new leader entity.
15293
15293
  *
@@ -15515,10 +15515,10 @@ const Oa = class Oa extends Te {
15515
15515
  this.isSplined && this.numVertices >= 2 && (this._splineGeo == null || this._updated) && (this._splineGeo = new cn(this._vertices, "Uniform"), this._updated = !1);
15516
15516
  }
15517
15517
  };
15518
- Oa.typeName = "Leader";
15519
- let Hi = Oa;
15518
+ za.typeName = "Leader";
15519
+ let Yi = za;
15520
15520
  var Nn = /* @__PURE__ */ ((i) => (i[i.EndPoint = 1] = "EndPoint", i[i.MidPoint = 2] = "MidPoint", i[i.Center = 3] = "Center", i[i.Node = 4] = "Node", i[i.Quadrant = 5] = "Quadrant", i[i.Insertion = 7] = "Insertion", i[i.Perpendicular = 8] = "Perpendicular", i[i.Tangent = 9] = "Tangent", i[i.Nearest = 10] = "Nearest", i[i.Centroid = 11] = "Centroid", i))(Nn || {});
15521
- const za = class za extends Te {
15521
+ const Ra = class Ra extends Te {
15522
15522
  /**
15523
15523
  * Creates a new line entity.
15524
15524
  *
@@ -15537,7 +15537,7 @@ const za = class za extends Te {
15537
15537
  * ```
15538
15538
  */
15539
15539
  constructor(t, e) {
15540
- super(), this._geo = new Bi(t, e);
15540
+ super(), this._geo = new Di(t, e);
15541
15541
  }
15542
15542
  /**
15543
15543
  * Gets the starting point of this line.
@@ -15827,10 +15827,10 @@ const za = class za extends Te {
15827
15827
  return t.lines(o, this.lineStyle);
15828
15828
  }
15829
15829
  };
15830
- za.typeName = "Line";
15831
- let Yi = za;
15832
- var fl = /* @__PURE__ */ ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(fl || {}), Vr = /* @__PURE__ */ ((i) => (i[i.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", i[i.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", i[i.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", i[i.BOTTOM_TO_TOP = 4] = "BOTTOM_TO_TOP", i[i.BY_STYLE = 5] = "BY_STYLE", i))(Vr || {}), Ee = /* @__PURE__ */ ((i) => (i[i.TopLeft = 1] = "TopLeft", i[i.TopCenter = 2] = "TopCenter", i[i.TopRight = 3] = "TopRight", i[i.MiddleLeft = 4] = "MiddleLeft", i[i.MiddleCenter = 5] = "MiddleCenter", i[i.MiddleRight = 6] = "MiddleRight", i[i.BottomLeft = 7] = "BottomLeft", i[i.BottomCenter = 8] = "BottomCenter", i[i.BottomRight = 9] = "BottomRight", i))(Ee || {}), _l = /* @__PURE__ */ ((i) => (i[i.OPTIMIZED_2D = 0] = "OPTIMIZED_2D", i[i.WIREFRAME = 1] = "WIREFRAME", i[i.HIDDEN_LINE = 2] = "HIDDEN_LINE", i[i.FLAT_SHADED = 3] = "FLAT_SHADED", i[i.GOURAUD_SHADED = 4] = "GOURAUD_SHADED", i[i.FLAT_SHADED_WITH_WIREFRAME = 5] = "FLAT_SHADED_WITH_WIREFRAME", i[i.GOURAUD_SHADED_WITH_WIREFRAME = 6] = "GOURAUD_SHADED_WITH_WIREFRAME", i))(_l || {}), yl = /* @__PURE__ */ ((i) => (i[i.NON_ORTHOGRAPHIC = 0] = "NON_ORTHOGRAPHIC", i[i.TOP = 1] = "TOP", i[i.BOTTOM = 2] = "BOTTOM", i[i.FRONT = 3] = "FRONT", i[i.BACK = 4] = "BACK", i[i.LEFT = 5] = "LEFT", i[i.RIGHT = 6] = "RIGHT", i))(yl || {}), vl = /* @__PURE__ */ ((i) => (i[i.ONE_DISTANT_LIGHT = 0] = "ONE_DISTANT_LIGHT", i[i.TWO_DISTANT_LIGHTS = 1] = "TWO_DISTANT_LIGHTS", i))(vl || {});
15833
- let Ju = class xl {
15830
+ Ra.typeName = "Line";
15831
+ let qi = Ra;
15832
+ var yl = /* @__PURE__ */ ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(yl || {}), Vr = /* @__PURE__ */ ((i) => (i[i.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", i[i.RIGHT_TO_LEFT = 2] = "RIGHT_TO_LEFT", i[i.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", i[i.BOTTOM_TO_TOP = 4] = "BOTTOM_TO_TOP", i[i.BY_STYLE = 5] = "BY_STYLE", i))(Vr || {}), Ee = /* @__PURE__ */ ((i) => (i[i.TopLeft = 1] = "TopLeft", i[i.TopCenter = 2] = "TopCenter", i[i.TopRight = 3] = "TopRight", i[i.MiddleLeft = 4] = "MiddleLeft", i[i.MiddleCenter = 5] = "MiddleCenter", i[i.MiddleRight = 6] = "MiddleRight", i[i.BottomLeft = 7] = "BottomLeft", i[i.BottomCenter = 8] = "BottomCenter", i[i.BottomRight = 9] = "BottomRight", i))(Ee || {}), vl = /* @__PURE__ */ ((i) => (i[i.OPTIMIZED_2D = 0] = "OPTIMIZED_2D", i[i.WIREFRAME = 1] = "WIREFRAME", i[i.HIDDEN_LINE = 2] = "HIDDEN_LINE", i[i.FLAT_SHADED = 3] = "FLAT_SHADED", i[i.GOURAUD_SHADED = 4] = "GOURAUD_SHADED", i[i.FLAT_SHADED_WITH_WIREFRAME = 5] = "FLAT_SHADED_WITH_WIREFRAME", i[i.GOURAUD_SHADED_WITH_WIREFRAME = 6] = "GOURAUD_SHADED_WITH_WIREFRAME", i))(vl || {}), xl = /* @__PURE__ */ ((i) => (i[i.NON_ORTHOGRAPHIC = 0] = "NON_ORTHOGRAPHIC", i[i.TOP = 1] = "TOP", i[i.BOTTOM = 2] = "BOTTOM", i[i.FRONT = 3] = "FRONT", i[i.BACK = 4] = "BACK", i[i.LEFT = 5] = "LEFT", i[i.RIGHT = 6] = "RIGHT", i))(xl || {}), bl = /* @__PURE__ */ ((i) => (i[i.ONE_DISTANT_LIGHT = 0] = "ONE_DISTANT_LIGHT", i[i.TWO_DISTANT_LIGHTS = 1] = "TWO_DISTANT_LIGHTS", i))(bl || {});
15833
+ let ec = class wl {
15834
15834
  constructor() {
15835
15835
  this._number = -1, this._id = "", this._groupId = "", this._centerPoint = new Y(), this._height = 0, this._width = 0, this._viewCenter = new Y(), this._viewHeight = 0;
15836
15836
  }
@@ -15940,7 +15940,7 @@ let Ju = class xl {
15940
15940
  * @returns Return the cloned instance of this viewport
15941
15941
  */
15942
15942
  clone() {
15943
- const t = new xl();
15943
+ const t = new wl();
15944
15944
  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;
15945
15945
  }
15946
15946
  /**
@@ -15952,7 +15952,7 @@ let Ju = class xl {
15952
15952
  return this.id = t.id, this.groupId = t.groupId, this.number = t.number, this.centerPoint.copy(t.centerPoint), this.height = t.height, this.width = t.width, this.viewCenter.copy(t.viewCenter), this.viewHeight = t.viewHeight, this;
15953
15953
  }
15954
15954
  };
15955
- const Ra = class Ra extends ke {
15955
+ const Fa = class Fa extends ke {
15956
15956
  /**
15957
15957
  * Creates a new multiline text entity.
15958
15958
  *
@@ -16423,9 +16423,9 @@ const Ra = class Ra extends ke {
16423
16423
  return t.mtext(s, o, e);
16424
16424
  }
16425
16425
  };
16426
- Ra.typeName = "MText";
16427
- let qi = Ra;
16428
- const Fa = class Fa extends Te {
16426
+ Fa.typeName = "MText";
16427
+ let Xi = Fa;
16428
+ const Ba = class Ba extends Te {
16429
16429
  constructor(t, e, s, o, h) {
16430
16430
  super();
16431
16431
  const c = +(t !== void 0) + +(e !== void 0) + +(s !== void 0) + +(o !== void 0) + +(h !== void 0);
@@ -16506,9 +16506,9 @@ const Fa = class Fa extends Te {
16506
16506
  return t.lines(e, this.lineStyle);
16507
16507
  }
16508
16508
  };
16509
- Fa.typeName = "Spline";
16510
- let ei = Fa;
16511
- const tc = /* @__PURE__ */ new Z(), Ba = class Ba extends Js {
16509
+ Ba.typeName = "Spline";
16510
+ let ei = Ba;
16511
+ const rc = /* @__PURE__ */ new Z(), Da = class Da extends Js {
16512
16512
  /**
16513
16513
  * Creates a new table entity.
16514
16514
  *
@@ -16738,7 +16738,7 @@ const tc = /* @__PURE__ */ new Z(), Ba = class Ba extends Js {
16738
16738
  text: L.text,
16739
16739
  height: L.textHeight,
16740
16740
  width: B,
16741
- position: tc.set(s, -e, 0).clone().add(W),
16741
+ position: rc.set(s, -e, 0).clone().add(W),
16742
16742
  rotation: this.rotation,
16743
16743
  attachmentPoint: ot
16744
16744
  }, st = {
@@ -16752,7 +16752,7 @@ const tc = /* @__PURE__ */ new Z(), Ba = class Ba extends Js {
16752
16752
  }
16753
16753
  g.push(t.lineSegments(h, 3, o, this.lineStyle));
16754
16754
  const w = t.group(g), b = new hn();
16755
- return b.setFromAxisAngle(Z.Z_AXIS, this.rotation), To.compose(this.position, b, this.scaleFactors), w.applyMatrix(To), this.attachEntityInfo(w), w;
16755
+ return b.setFromAxisAngle(Z.Z_AXIS, this.rotation), Mo.compose(this.position, b, this.scaleFactors), w.applyMatrix(Mo), this.attachEntityInfo(w), w;
16756
16756
  }
16757
16757
  /**
16758
16758
  * Marks cells as visited to handle merged cell rendering.
@@ -16835,11 +16835,11 @@ const tc = /* @__PURE__ */ new Z(), Ba = class Ba extends Js {
16835
16835
  return o;
16836
16836
  }
16837
16837
  };
16838
- Ba.typeName = "Table";
16839
- let Xi = Ba;
16840
- const To = /* @__PURE__ */ new un();
16841
- var ec = /* @__PURE__ */ ((i) => (i[i.LEFT = 0] = "LEFT", i[i.CENTER = 1] = "CENTER", i[i.RIGHT = 2] = "RIGHT", i[i.ALIGNED = 3] = "ALIGNED", i[i.MIDDLE = 4] = "MIDDLE", i[i.FIT = 5] = "FIT", i))(ec || {}), rc = /* @__PURE__ */ ((i) => (i[i.BASELINE = 0] = "BASELINE", i[i.BOTTOM = 1] = "BOTTOM", i[i.MIDDLE = 2] = "MIDDLE", i[i.TOP = 3] = "TOP", i))(rc || {});
16842
- const Da = class Da extends ke {
16838
+ Da.typeName = "Table";
16839
+ let Ki = Da;
16840
+ const Mo = /* @__PURE__ */ new un();
16841
+ var nc = /* @__PURE__ */ ((i) => (i[i.LEFT = 0] = "LEFT", i[i.CENTER = 1] = "CENTER", i[i.RIGHT = 2] = "RIGHT", i[i.ALIGNED = 3] = "ALIGNED", i[i.MIDDLE = 4] = "MIDDLE", i[i.FIT = 5] = "FIT", i))(nc || {}), sc = /* @__PURE__ */ ((i) => (i[i.BASELINE = 0] = "BASELINE", i[i.BOTTOM = 1] = "BOTTOM", i[i.MIDDLE = 2] = "MIDDLE", i[i.TOP = 3] = "TOP", i))(sc || {});
16842
+ const Ua = class Ua extends ke {
16843
16843
  /**
16844
16844
  * Creates a new text entity.
16845
16845
  *
@@ -17338,9 +17338,9 @@ const Da = class Da extends ke {
17338
17338
  return t.mtext(s, o, e);
17339
17339
  }
17340
17340
  };
17341
- Da.typeName = "Text";
17342
- let Ki = Da;
17343
- const Ua = class Ua extends Te {
17341
+ Ua.typeName = "Text";
17342
+ let $i = Ua;
17343
+ const Va = class Va extends Te {
17344
17344
  /**
17345
17345
  * Creates a new trace entity.
17346
17346
  *
@@ -17524,7 +17524,7 @@ const Ua = class Ua extends Te {
17524
17524
  * ```
17525
17525
  */
17526
17526
  draw(t) {
17527
- const e = new Ln(this._vertices, !0), s = new da();
17527
+ const e = new Ln(this._vertices, !0), s = new ma();
17528
17528
  return s.add(e), t.area(s, {
17529
17529
  color: this.rgbColor,
17530
17530
  solidFill: !0,
@@ -17533,9 +17533,9 @@ const Ua = class Ua extends Te {
17533
17533
  });
17534
17534
  }
17535
17535
  };
17536
- Ua.typeName = "Trace";
17537
- let $i = Ua;
17538
- const Va = class Va extends Te {
17536
+ Va.typeName = "Trace";
17537
+ let Zi = Va;
17538
+ const Ga = class Ga extends Te {
17539
17539
  /**
17540
17540
  * Creates a new empty polyline entity.
17541
17541
  *
@@ -17757,9 +17757,9 @@ const Va = class Va extends Te {
17757
17757
  ), t.lines(e, this.lineStyle);
17758
17758
  }
17759
17759
  };
17760
- Va.typeName = "Polyline";
17761
- let Zi = Va;
17762
- const Ga = class Ga extends ke {
17760
+ Ga.typeName = "Polyline";
17761
+ let Qi = Ga;
17762
+ const ja = class ja extends ke {
17763
17763
  /**
17764
17764
  * Creates a new point entity.
17765
17765
  *
@@ -17915,10 +17915,10 @@ const Ga = class Ga extends ke {
17915
17915
  });
17916
17916
  }
17917
17917
  };
17918
- Ga.typeName = "Point";
17919
- let Qi = Ga;
17920
- var nc = /* @__PURE__ */ ((i) => (i[i.Invalid = 0] = "Invalid", i[i.Rect = 1] = "Rect", i[i.Poly = 2] = "Poly", i))(nc || {}), sc = /* @__PURE__ */ ((i) => (i[i.Show = 1] = "Show", i[i.ShowUnAligned = 2] = "ShowUnAligned", i[i.Clip = 4] = "Clip", i[i.Transparent = 8] = "Transparent", i))(sc || {});
17921
- const ja = class ja extends ke {
17918
+ ja.typeName = "Point";
17919
+ let Ji = ja;
17920
+ var ic = /* @__PURE__ */ ((i) => (i[i.Invalid = 0] = "Invalid", i[i.Rect = 1] = "Rect", i[i.Poly = 2] = "Poly", i))(ic || {}), ac = /* @__PURE__ */ ((i) => (i[i.Show = 1] = "Show", i[i.ShowUnAligned = 2] = "ShowUnAligned", i[i.Clip = 4] = "Clip", i[i.Transparent = 8] = "Transparent", i))(ac || {});
17921
+ const Wa = class Wa extends ke {
17922
17922
  /**
17923
17923
  * Creates a new raster image entity.
17924
17924
  *
@@ -18147,18 +18147,18 @@ const ja = class ja extends ke {
18147
18147
  this._position.z
18148
18148
  )
18149
18149
  ), t.push(this._position.clone().setY(this._position.y + this._height)), this._rotation > 0) {
18150
- Mo.copy(t[1]);
18150
+ No.copy(t[1]);
18151
18151
  for (let e = 1; e < 4; e++)
18152
- Rs.copy(t[e]), Rs.rotateAround(Mo, this._rotation), t[e].setX(Rs.x), t[e].setY(Rs.y);
18152
+ Rs.copy(t[e]), Rs.rotateAround(No, this._rotation), t[e].setX(Rs.x), t[e].setY(Rs.y);
18153
18153
  }
18154
18154
  t.push(t[0]);
18155
18155
  }
18156
18156
  return t;
18157
18157
  }
18158
18158
  };
18159
- ja.typeName = "RasterImage";
18160
- let ri = ja;
18161
- const Mo = /* @__PURE__ */ new Nt(), Rs = /* @__PURE__ */ new Nt(), Wa = class Wa extends Te {
18159
+ Wa.typeName = "RasterImage";
18160
+ let ri = Wa;
18161
+ const No = /* @__PURE__ */ new Nt(), Rs = /* @__PURE__ */ new Nt(), Ha = class Ha extends Te {
18162
18162
  /**
18163
18163
  * Creates a new ray entity.
18164
18164
  *
@@ -18395,9 +18395,9 @@ const Mo = /* @__PURE__ */ new Nt(), Rs = /* @__PURE__ */ new Nt(), Wa = class W
18395
18395
  ), t.lines(e, this.lineStyle);
18396
18396
  }
18397
18397
  };
18398
- Wa.typeName = "Ray";
18399
- let Ji = Wa;
18400
- const Ha = class Ha extends ke {
18398
+ Ha.typeName = "Ray";
18399
+ let ta = Ha;
18400
+ const Ya = class Ya extends ke {
18401
18401
  /**
18402
18402
  * Creates a new AcDbViewport instance.
18403
18403
  *
@@ -18555,7 +18555,7 @@ const Ha = class Ha extends ke {
18555
18555
  * @returns An AcGiViewport instance with all viewport properties copied
18556
18556
  */
18557
18557
  toGiViewport() {
18558
- const t = new Ju();
18558
+ const t = new ec();
18559
18559
  return t.id = this.objectId, t.groupId = this.ownerId, t.number = this.number, t.centerPoint = this.centerPoint, t.width = this.width, t.height = this.height, t.viewHeight = this.viewHeight, t.viewCenter = this.viewCenter, t;
18560
18560
  }
18561
18561
  /**
@@ -18639,9 +18639,9 @@ const Ha = class Ha extends ke {
18639
18639
  ), s;
18640
18640
  }
18641
18641
  };
18642
- Ha.typeName = "Viewport";
18643
- let ta = Ha;
18644
- const Ya = class Ya extends ri {
18642
+ Ya.typeName = "Viewport";
18643
+ let ea = Ya;
18644
+ const qa = class qa extends ri {
18645
18645
  /**
18646
18646
  * Draws the wipeout entity.
18647
18647
  *
@@ -18659,7 +18659,7 @@ const Ya = class Ya extends ri {
18659
18659
  * ```
18660
18660
  */
18661
18661
  draw(t) {
18662
- const e = this.boundaryPath(), s = new da();
18662
+ const e = this.boundaryPath(), s = new ma();
18663
18663
  return s.add(new Ln(e)), t.area(s, {
18664
18664
  color: 0,
18665
18665
  solidFill: !0,
@@ -18668,9 +18668,9 @@ const Ya = class Ya extends ri {
18668
18668
  });
18669
18669
  }
18670
18670
  };
18671
- Ya.typeName = "Wipeout";
18672
- let ea = Ya;
18673
- const qa = class qa extends Te {
18671
+ qa.typeName = "Wipeout";
18672
+ let ra = qa;
18673
+ const Xa = class Xa extends Te {
18674
18674
  /**
18675
18675
  * Creates a new xline entity.
18676
18676
  *
@@ -18910,10 +18910,10 @@ const qa = class qa extends Te {
18910
18910
  ), t.lines(e, this.lineStyle);
18911
18911
  }
18912
18912
  };
18913
- qa.typeName = "Xline";
18914
- let ra = qa;
18915
- var ic = /* @__PURE__ */ ((i) => (i[i.AtLeast = 1] = "AtLeast", i[i.Exactly = 2] = "Exactly", i))(ic || {});
18916
- const Xa = class Xa extends ke {
18913
+ Xa.typeName = "Xline";
18914
+ let na = Xa;
18915
+ var oc = /* @__PURE__ */ ((i) => (i[i.AtLeast = 1] = "AtLeast", i[i.Exactly = 2] = "Exactly", i))(oc || {});
18916
+ const Ka = class Ka extends ke {
18917
18917
  /**
18918
18918
  * Creates a new dimension entity.
18919
18919
  *
@@ -19307,12 +19307,12 @@ const Xa = class Xa extends ke {
19307
19307
  */
19308
19308
  getArrowName(t) {
19309
19309
  const e = this.database.tables.blockTable.getIdAt(t);
19310
- return e ? e.name.toUpperCase() : fl.Closed;
19310
+ return e ? e.name.toUpperCase() : yl.Closed;
19311
19311
  }
19312
19312
  };
19313
- Xa.typeName = "Dimension";
19314
- let Wr = Xa;
19315
- const Ka = class Ka extends Wr {
19313
+ Ka.typeName = "Dimension";
19314
+ let Wr = Ka;
19315
+ const $a = class $a extends Wr {
19316
19316
  /**
19317
19317
  * Creates a new three-point angular dimension.
19318
19318
  *
@@ -19405,9 +19405,9 @@ const Ka = class Ka extends Wr {
19405
19405
  return new Ct();
19406
19406
  }
19407
19407
  };
19408
- Ka.typeName = "3PointAngularDimension";
19409
- let na = Ka;
19410
- const $a = class $a extends Wr {
19408
+ $a.typeName = "3PointAngularDimension";
19409
+ let sa = $a;
19410
+ const Za = class Za extends Wr {
19411
19411
  /**
19412
19412
  * Creates a new aligned dimension entity.
19413
19413
  *
@@ -19593,9 +19593,9 @@ const $a = class $a extends Wr {
19593
19593
  return !1;
19594
19594
  }
19595
19595
  };
19596
- $a.typeName = "AlignedDimension";
19597
- let sa = $a;
19598
- const Za = class Za extends Wr {
19596
+ Za.typeName = "AlignedDimension";
19597
+ let ia = Za;
19598
+ const Qa = class Qa extends Wr {
19599
19599
  /**
19600
19600
  * Creates a new arc length dimension.
19601
19601
  *
@@ -19689,9 +19689,9 @@ const Za = class Za extends Wr {
19689
19689
  return new Ct();
19690
19690
  }
19691
19691
  };
19692
- Za.typeName = "ArcDimension";
19693
- let No = Za;
19694
- const Qa = class Qa extends Wr {
19692
+ Qa.typeName = "ArcDimension";
19693
+ let Co = Qa;
19694
+ const Ja = class Ja extends Wr {
19695
19695
  /**
19696
19696
  * Creates a new diametric dimension.
19697
19697
  *
@@ -19862,9 +19862,9 @@ const Qa = class Qa extends Wr {
19862
19862
  });
19863
19863
  }
19864
19864
  };
19865
- Qa.typeName = "DiametricDimension";
19866
- let ia = Qa;
19867
- const Ja = class Ja extends Wr {
19865
+ Ja.typeName = "DiametricDimension";
19866
+ let aa = Ja;
19867
+ const to = class to extends Wr {
19868
19868
  /**
19869
19869
  * Creates a new ordinate dimension.
19870
19870
  *
@@ -19936,9 +19936,9 @@ const Ja = class Ja extends Wr {
19936
19936
  return 0;
19937
19937
  }
19938
19938
  };
19939
- Ja.typeName = "OrdinateDimension";
19940
- let aa = Ja;
19941
- const to = class to extends Wr {
19939
+ to.typeName = "OrdinateDimension";
19940
+ let oa = to;
19941
+ const eo = class eo extends Wr {
19942
19942
  /**
19943
19943
  * Creates a new radial dimension entity.
19944
19944
  *
@@ -20136,9 +20136,9 @@ const to = class to extends Wr {
20136
20136
  };
20137
20137
  }
20138
20138
  };
20139
- to.typeName = "RadialDimension";
20140
- let oa = to;
20141
- class ga extends mn {
20139
+ eo.typeName = "RadialDimension";
20140
+ let la = eo;
20141
+ class fa extends mn {
20142
20142
  /**
20143
20143
  * Creates a new AcDbLayout instance.
20144
20144
  *
@@ -20324,7 +20324,7 @@ class ga extends mn {
20324
20324
  this._extents.copy(t);
20325
20325
  }
20326
20326
  }
20327
- class bl extends mn {
20327
+ class Al extends mn {
20328
20328
  /**
20329
20329
  * Creates a new AcDbDictionary instance.
20330
20330
  *
@@ -20512,10 +20512,10 @@ class bl extends mn {
20512
20512
  * ```
20513
20513
  */
20514
20514
  newIterator() {
20515
- return new fa(this._recordsByName);
20515
+ return new _a(this._recordsByName);
20516
20516
  }
20517
20517
  }
20518
- class ac extends bl {
20518
+ class lc extends Al {
20519
20519
  /**
20520
20520
  * Searches the dictionary for a layout associated with the specified block table record ID.
20521
20521
  *
@@ -20552,7 +20552,7 @@ class ac extends bl {
20552
20552
  }), t;
20553
20553
  }
20554
20554
  }
20555
- class oc extends mn {
20555
+ class hc extends mn {
20556
20556
  /**
20557
20557
  * Creates a new AcDbRasterImageDef instance.
20558
20558
  *
@@ -20592,14 +20592,14 @@ class oc extends mn {
20592
20592
  this._sourceFileName = t;
20593
20593
  }
20594
20594
  }
20595
- class lc {
20595
+ class uc {
20596
20596
  constructor(t) {
20597
20597
  this.db = t;
20598
20598
  }
20599
20599
  createDefaultLayer() {
20600
20600
  const t = new dn();
20601
20601
  return t.colorIndex = 7, this.db.tables.layerTable.add(
20602
- new ba({
20602
+ new wa({
20603
20603
  name: "0",
20604
20604
  standardFlags: 0,
20605
20605
  linetype: "Continuous",
@@ -20636,7 +20636,7 @@ class lc {
20636
20636
  }
20637
20637
  createDefaultTextStyle() {
20638
20638
  this.db.tables.textStyleTable.add(
20639
- new Oh({
20639
+ new Rh({
20640
20640
  name: "Standard",
20641
20641
  standardFlag: 0,
20642
20642
  fixedTextHeight: 0,
@@ -20659,32 +20659,32 @@ class lc {
20659
20659
  );
20660
20660
  }
20661
20661
  createDefaultLayout() {
20662
- const t = new ga();
20662
+ const t = new fa();
20663
20663
  t.layoutName = "Model", t.tabOrder = 0, t.blockTableRecordId = this.db.tables.blockTable.modelSpace.objectId, t.limits.min.copy({ x: 0, y: 0 }), t.limits.max.copy({ x: 1e6, y: 1e6 }), t.extents.min.copy({ x: 0, y: 0, z: 0 }), t.extents.max.copy({ x: 1e6, y: 1e6, z: 0 }), this.db.dictionaries.layouts.setAt(t.layoutName, t), this.db.tables.blockTable.modelSpace.layoutId = t.objectId;
20664
20664
  }
20665
20665
  createArrowBlock() {
20666
20666
  if (!this.db.tables.blockTable.getAt("_CAXARROW")) {
20667
20667
  const e = new ti();
20668
20668
  e.patternName = "SOLID";
20669
- const s = new ml();
20669
+ const s = new gl();
20670
20670
  s.add(new Ws({ x: 0, y: 0 }, { x: -1, y: 0.125 })), s.add(new Ws({ x: -1, y: 0.125 }, { x: -1, y: -0.125 })), s.add(new Ws({ x: -1, y: -0.125 }, { x: 0, y: 0 })), e.add(s);
20671
20671
  const o = new _e();
20672
20672
  o.name = "_CAXARROW", o.appendEntity(e), this.db.tables.blockTable.add(o);
20673
20673
  }
20674
20674
  }
20675
20675
  }
20676
- var wl = /* @__PURE__ */ ((i) => (i[i.Undefined = 0] = "Undefined", i[i.Inches = 1] = "Inches", i[i.Feet = 2] = "Feet", i[i.Miles = 3] = "Miles", i[i.Millimeters = 4] = "Millimeters", i[i.Centimeters = 5] = "Centimeters", i[i.Meters = 6] = "Meters", i[i.Kilometers = 7] = "Kilometers", i[i.Microinches = 8] = "Microinches", i[i.Mils = 9] = "Mils", i[i.Yards = 10] = "Yards", i[i.Angstroms = 11] = "Angstroms", i[i.Nanometers = 12] = "Nanometers", i[i.Microns = 13] = "Microns", i[i.Decimeters = 14] = "Decimeters", i[i.Dekameters = 15] = "Dekameters", i[i.Hectometers = 16] = "Hectometers", i[i.Gigameters = 17] = "Gigameters", i[i.Astronomical = 18] = "Astronomical", i[i.LightYears = 19] = "LightYears", i[i.Parsecs = 20] = "Parsecs", i[i.USSurveyFeet = 21] = "USSurveyFeet", i[i.USSurveyInch = 22] = "USSurveyInch", i[i.USSurveyYard = 23] = "USSurveyYard", i[i.USSurveyMile = 24] = "USSurveyMile", i[
20676
+ var Sl = /* @__PURE__ */ ((i) => (i[i.Undefined = 0] = "Undefined", i[i.Inches = 1] = "Inches", i[i.Feet = 2] = "Feet", i[i.Miles = 3] = "Miles", i[i.Millimeters = 4] = "Millimeters", i[i.Centimeters = 5] = "Centimeters", i[i.Meters = 6] = "Meters", i[i.Kilometers = 7] = "Kilometers", i[i.Microinches = 8] = "Microinches", i[i.Mils = 9] = "Mils", i[i.Yards = 10] = "Yards", i[i.Angstroms = 11] = "Angstroms", i[i.Nanometers = 12] = "Nanometers", i[i.Microns = 13] = "Microns", i[i.Decimeters = 14] = "Decimeters", i[i.Dekameters = 15] = "Dekameters", i[i.Hectometers = 16] = "Hectometers", i[i.Gigameters = 17] = "Gigameters", i[i.Astronomical = 18] = "Astronomical", i[i.LightYears = 19] = "LightYears", i[i.Parsecs = 20] = "Parsecs", i[i.USSurveyFeet = 21] = "USSurveyFeet", i[i.USSurveyInch = 22] = "USSurveyInch", i[i.USSurveyYard = 23] = "USSurveyYard", i[i.USSurveyMile = 24] = "USSurveyMile", i[
20677
20677
  i.Max = 24
20678
20678
  /* USSurveyMile */
20679
- ] = "Max", i))(wl || {});
20680
- function T0(i) {
20679
+ ] = "Max", i))(Sl || {});
20680
+ function N0(i) {
20681
20681
  return i == 4 || i == 5 || i == 6 || i == 7 || i == 12 || i == 13 || i == 14 || i == 15 || i == 16 || i == 17;
20682
20682
  }
20683
- function M0(i) {
20683
+ function C0(i) {
20684
20684
  return i == 1 || i == 2 || i == 3 || i == 8 || i == 9 || i == 10 || i == 21;
20685
20685
  }
20686
- var hc = /* @__PURE__ */ ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(hc || {});
20687
- class fa {
20686
+ var cc = /* @__PURE__ */ ((i) => (i.ClosedFilled = "", i.Dot = "_DOT", i.DotSmall = "_DOTSMALL", i.DotBlank = "_DOTBLANK", i.Origin = "_ORIGIN", i.Origin2 = "_ORIGIN2", i.Open = "_OPEN", i.Open90 = "_OPEN90", i.Open30 = "_OPEN30", i.Closed = "_CLOSED", i.Small = "_SMALL", i.None = "_NONE", i.Oblique = "_OBLIQUE", i.BoxFilled = "_BOXFILLED", i.Box = "_BOXBLANK", i.ClosedBlank = "_CLOSEDBLANK", i.DatumBlank = "_DATUMBLANK", i.DatumFilled = "_DATUMFILLED", i.Integral = "_INTEGRAL", i.ArchTick = "_ARCHTICK", i))(cc || {});
20687
+ class _a {
20688
20688
  /**
20689
20689
  * Creates a new AcDbObjectIterator instance.
20690
20690
  *
@@ -20748,8 +20748,8 @@ class fa {
20748
20748
  return { value: null, done: !0 };
20749
20749
  }
20750
20750
  }
20751
- const Al = "Load Database";
20752
- class Pe extends au {
20751
+ const Il = "Load Database";
20752
+ class Pe extends lu {
20753
20753
  constructor(t, e) {
20754
20754
  super(t.stage), this.data = t, this.progress = e;
20755
20755
  }
@@ -20757,8 +20757,8 @@ class Pe extends au {
20757
20757
  * Executes the task.
20758
20758
  */
20759
20759
  async run(t) {
20760
- const e = Wo.getInstance().getEntry(
20761
- Al
20760
+ const e = Yo.getInstance().getEntry(
20761
+ Il
20762
20762
  ), s = Date.now();
20763
20763
  this.progress && await this.progress(this.data.progress.value, this.data.stage, "START");
20764
20764
  const o = await this.data.task(t);
@@ -20770,7 +20770,7 @@ class Pe extends au {
20770
20770
  ), this.data.progress.value += this.data.step, this.data.progress.value > 100 && (this.data.progress.value = 100)), e && (e.data[this.name] = Date.now() - s), o;
20771
20771
  }
20772
20772
  }
20773
- class Sl {
20773
+ class Pl {
20774
20774
  /**
20775
20775
  * Creates a new instance of the database converter.
20776
20776
  *
@@ -20808,7 +20808,7 @@ class Sl {
20808
20808
  */
20809
20809
  async read(t, e, s, o) {
20810
20810
  const h = {
20811
- name: Al,
20811
+ name: Il,
20812
20812
  data: { total: 0 },
20813
20813
  format() {
20814
20814
  let f = "";
@@ -20818,8 +20818,8 @@ class Sl {
20818
20818
  }), f += `- total: ${this.data.total} ms`, f;
20819
20819
  }
20820
20820
  };
20821
- Wo.getInstance().collect(h), this.progress = o;
20822
- const c = { value: 0 }, g = new ou();
20821
+ Yo.getInstance().collect(h), this.progress = o;
20822
+ const c = { value: 0 }, g = new hu();
20823
20823
  g.setCompleteCallback(() => this.onFinished()), g.setErrorCallback((f) => this.onError(f)), g.addTask(
20824
20824
  new Pe(
20825
20825
  {
@@ -21029,13 +21029,13 @@ class Sl {
21029
21029
  throw new Error("Not impelemented yet!");
21030
21030
  }
21031
21031
  }
21032
- var le, is, Qt, ne, as, er, ve, gr, rr, Zr, os, ls, Qr, Jr, hs, us, cs, Re, fr, Yt, tn, ds, _t, xe, ms, be, ps, _r, yr, nr, gs, en, Fe, vr, rn, Ai, Si, xr, br, fs, _s, wr, ys, Ii, Pi, he, Ar, ue, Be, Ei, ki, Ti, Mi, Sr, De, nn, vs, sn, Ue, Ir, Ve, Pr;
21033
- (le = {})[le.None = 0] = "None", le[le.Anonymous = 1] = "Anonymous", le[le.NonConstant = 2] = "NonConstant", le[le.Xref = 4] = "Xref", le[le.XrefOverlay = 8] = "XrefOverlay", le[le.ExternallyDependent = 16] = "ExternallyDependent", le[le.ResolvedOrDependent = 32] = "ResolvedOrDependent", le[le.ReferencedXref = 64] = "ReferencedXref";
21032
+ var he, is, Qt, ne, as, er, ve, gr, rr, Zr, os, ls, Qr, Jr, hs, us, cs, Re, fr, Yt, tn, ds, _t, xe, ms, be, ps, _r, yr, nr, gs, en, Fe, vr, rn, Si, Ii, xr, br, fs, _s, wr, ys, Pi, Ei, ue, Ar, ce, Be, ki, Ti, Mi, Ni, Sr, De, nn, vs, sn, Ue, Ir, Ve, Pr;
21033
+ (he = {})[he.None = 0] = "None", he[he.Anonymous = 1] = "Anonymous", he[he.NonConstant = 2] = "NonConstant", he[he.Xref = 4] = "Xref", he[he.XrefOverlay = 8] = "XrefOverlay", he[he.ExternallyDependent = 16] = "ExternallyDependent", he[he.ResolvedOrDependent = 32] = "ResolvedOrDependent", he[he.ReferencedXref = 64] = "ReferencedXref";
21034
21034
  (is = {})[is.BYBLOCK = 0] = "BYBLOCK", is[is.BYLAYER = 256] = "BYLAYER";
21035
21035
  (Qt = {})[Qt.Rotated = 0] = "Rotated", Qt[Qt.Aligned = 1] = "Aligned", Qt[Qt.Angular = 2] = "Angular", Qt[Qt.Diameter = 3] = "Diameter", Qt[Qt.Radius = 4] = "Radius", Qt[Qt.Angular3Point = 5] = "Angular3Point", Qt[Qt.Ordinate = 6] = "Ordinate", Qt[Qt.ReferenceIsExclusive = 32] = "ReferenceIsExclusive", Qt[Qt.IsOrdinateXTypeFlag = 64] = "IsOrdinateXTypeFlag", Qt[Qt.IsCustomTextPositionFlag = 128] = "IsCustomTextPositionFlag";
21036
21036
  (ne = {})[ne.TopLeft = 1] = "TopLeft", ne[ne.TopCenter = 2] = "TopCenter", ne[ne.TopRight = 3] = "TopRight", ne[ne.MiddleLeft = 4] = "MiddleLeft", ne[ne.MiddleCenter = 5] = "MiddleCenter", ne[ne.MiddleRight = 6] = "MiddleRight", ne[ne.BottomLeft = 7] = "BottomLeft", ne[ne.BottomCenter = 8] = "BottomCenter", ne[ne.BottomRight = 9] = "BottomRight";
21037
21037
  (as = {})[as.AtLeast = 1] = "AtLeast", as[as.Exact = 2] = "Exact";
21038
- var Co = ((er = {})[er.Center = 0] = "Center", er[er.Above = 1] = "Above", er[er.Outside = 2] = "Outside", er[er.JIS = 3] = "JIS", er[er.Below = 4] = "Below", er), Mn = ((ve = {})[ve.Feet = 0] = "Feet", ve[ve.None = 1] = "None", ve[ve.Inch = 2] = "Inch", ve[ve.FeetAndInch = 3] = "FeetAndInch", ve[ve.Leading = 4] = "Leading", ve[ve.Trailing = 8] = "Trailing", ve[ve.LeadingAndTrailing = 12] = "LeadingAndTrailing", ve), uc = ((gr = {})[gr.None = 0] = "None", gr[gr.Leading = 1] = "Leading", gr[gr.Trailing = 2] = "Trailing", gr[gr.LeadingAndTrailing = 3] = "LeadingAndTrailing", gr), cc = ((rr = {})[rr.Center = 0] = "Center", rr[rr.Left = 1] = "Left", rr[rr.Right = 2] = "Right", rr[rr.OverFirst = 3] = "OverFirst", rr[rr.OverSecond = 4] = "OverSecond", rr), dc = ((Zr = {})[Zr.Bottom = 0] = "Bottom", Zr[Zr.Center = 1] = "Center", Zr[Zr.Top = 2] = "Top", Zr);
21038
+ var Lo = ((er = {})[er.Center = 0] = "Center", er[er.Above = 1] = "Above", er[er.Outside = 2] = "Outside", er[er.JIS = 3] = "JIS", er[er.Below = 4] = "Below", er), Mn = ((ve = {})[ve.Feet = 0] = "Feet", ve[ve.None = 1] = "None", ve[ve.Inch = 2] = "Inch", ve[ve.FeetAndInch = 3] = "FeetAndInch", ve[ve.Leading = 4] = "Leading", ve[ve.Trailing = 8] = "Trailing", ve[ve.LeadingAndTrailing = 12] = "LeadingAndTrailing", ve), dc = ((gr = {})[gr.None = 0] = "None", gr[gr.Leading = 1] = "Leading", gr[gr.Trailing = 2] = "Trailing", gr[gr.LeadingAndTrailing = 3] = "LeadingAndTrailing", gr), mc = ((rr = {})[rr.Center = 0] = "Center", rr[rr.Left = 1] = "Left", rr[rr.Right = 2] = "Right", rr[rr.OverFirst = 3] = "OverFirst", rr[rr.OverSecond = 4] = "OverSecond", rr), pc = ((Zr = {})[Zr.Bottom = 0] = "Bottom", Zr[Zr.Center = 1] = "Center", Zr[Zr.Top = 2] = "Top", Zr);
21039
21039
  (os = {})[os.PatternFill = 0] = "PatternFill", os[os.SolidFill = 1] = "SolidFill";
21040
21040
  (ls = {})[ls.NonAssociative = 0] = "NonAssociative", ls[ls.Associative = 1] = "Associative";
21041
21041
  (Qr = {})[Qr.Normal = 0] = "Normal", Qr[Qr.Outer = 1] = "Outer", Qr[Qr.Ignore = 2] = "Ignore";
@@ -21043,8 +21043,8 @@ var Co = ((er = {})[er.Center = 0] = "Center", er[er.Above = 1] = "Above", er[er
21043
21043
  (hs = {})[hs.NotAnnotated = 0] = "NotAnnotated", hs[hs.Annotated = 1] = "Annotated";
21044
21044
  (us = {})[us.Solid = 0] = "Solid", us[us.Gradient = 1] = "Gradient";
21045
21045
  (cs = {})[cs.TwoColor = 0] = "TwoColor", cs[cs.OneColor = 1] = "OneColor";
21046
- var mc = ((Re = {})[Re.Default = 0] = "Default", Re[Re.External = 1] = "External", Re[Re.Polyline = 2] = "Polyline", Re[Re.Derived = 4] = "Derived", Re[Re.Textbox = 8] = "Textbox", Re[Re.Outermost = 16] = "Outermost", Re), Fs = ((fr = {})[fr.Line = 1] = "Line", fr[fr.Circular = 2] = "Circular", fr[fr.Elliptic = 3] = "Elliptic", fr[fr.Spline = 4] = "Spline", fr), pc = ((Yt = {})[Yt.Off = 0] = "Off", Yt[Yt.Solid = 1] = "Solid", Yt[Yt.Dashed = 2] = "Dashed", Yt[Yt.Dotted = 3] = "Dotted", Yt[Yt.ShotDash = 4] = "ShotDash", Yt[Yt.MediumDash = 5] = "MediumDash", Yt[Yt.LongDash = 6] = "LongDash", Yt[Yt.DoubleShortDash = 7] = "DoubleShortDash", Yt[Yt.DoubleMediumDash = 8] = "DoubleMediumDash", Yt[Yt.DoubleLongDash = 9] = "DoubleLongDash", Yt[Yt.DoubleMediumLongDash = 10] = "DoubleMediumLongDash", Yt[Yt.SparseDot = 11] = "SparseDot", Yt);
21047
- pc.Off;
21046
+ var gc = ((Re = {})[Re.Default = 0] = "Default", Re[Re.External = 1] = "External", Re[Re.Polyline = 2] = "Polyline", Re[Re.Derived = 4] = "Derived", Re[Re.Textbox = 8] = "Textbox", Re[Re.Outermost = 16] = "Outermost", Re), Fs = ((fr = {})[fr.Line = 1] = "Line", fr[fr.Circular = 2] = "Circular", fr[fr.Elliptic = 3] = "Elliptic", fr[fr.Spline = 4] = "Spline", fr), fc = ((Yt = {})[Yt.Off = 0] = "Off", Yt[Yt.Solid = 1] = "Solid", Yt[Yt.Dashed = 2] = "Dashed", Yt[Yt.Dotted = 3] = "Dotted", Yt[Yt.ShotDash = 4] = "ShotDash", Yt[Yt.MediumDash = 5] = "MediumDash", Yt[Yt.LongDash = 6] = "LongDash", Yt[Yt.DoubleShortDash = 7] = "DoubleShortDash", Yt[Yt.DoubleMediumDash = 8] = "DoubleMediumDash", Yt[Yt.DoubleLongDash = 9] = "DoubleLongDash", Yt[Yt.DoubleMediumLongDash = 10] = "DoubleMediumLongDash", Yt[Yt.SparseDot = 11] = "SparseDot", Yt);
21047
+ fc.Off;
21048
21048
  (tn = {})[tn.Standard = -3] = "Standard", tn[tn.ByLayer = -2] = "ByLayer", tn[tn.ByBlock = -1] = "ByBlock";
21049
21049
  (ds = {})[ds.English = 0] = "English", ds[ds.Metric = 1] = "Metric";
21050
21050
  (_t = {})[_t.PERSPECTIVE_MODE = 1] = "PERSPECTIVE_MODE", _t[_t.FRONT_CLIPPING = 2] = "FRONT_CLIPPING", _t[_t.BACK_CLIPPING = 4] = "BACK_CLIPPING", _t[_t.UCS_FOLLOW = 8] = "UCS_FOLLOW", _t[_t.FRONT_CLIP_NOT_AT_EYE = 16] = "FRONT_CLIP_NOT_AT_EYE", _t[_t.UCS_ICON_VISIBILITY = 32] = "UCS_ICON_VISIBILITY", _t[_t.UCS_ICON_AT_ORIGIN = 64] = "UCS_ICON_AT_ORIGIN", _t[_t.FAST_ZOOM = 128] = "FAST_ZOOM", _t[_t.SNAP_MODE = 256] = "SNAP_MODE", _t[_t.GRID_MODE = 512] = "GRID_MODE", _t[_t.ISOMETRIC_SNAP_STYLE = 1024] = "ISOMETRIC_SNAP_STYLE", _t[_t.HIDE_PLOT_MODE = 2048] = "HIDE_PLOT_MODE", _t[_t.K_ISO_PAIR_TOP = 4096] = "K_ISO_PAIR_TOP", _t[_t.K_ISO_PAIR_RIGHT = 8192] = "K_ISO_PAIR_RIGHT", _t[_t.VIEWPORT_ZOOM_LOCKING = 16384] = "VIEWPORT_ZOOM_LOCKING", _t[_t.UNUSED = 32768] = "UNUSED", _t[_t.NON_RECTANGULAR_CLIPPING = 65536] = "NON_RECTANGULAR_CLIPPING", _t[_t.VIEWPORT_OFF = 131072] = "VIEWPORT_OFF", _t[_t.GRID_BEYOND_DRAWING_LIMITS = 262144] = "GRID_BEYOND_DRAWING_LIMITS", _t[_t.ADAPTIVE_GRID_DISPLAY = 524288] = "ADAPTIVE_GRID_DISPLAY", _t[_t.SUBDIVISION_BELOW_SPACING = 1048576] = "SUBDIVISION_BELOW_SPACING", _t[_t.GRID_FOLLOWS_WORKPLANE = 2097152] = "GRID_FOLLOWS_WORKPLANE";
@@ -21063,7 +21063,7 @@ function Rt(i) {
21063
21063
  if (t.x = e.value, (e = i.next()).code !== s + 10) throw Error("Expected code for point value to be 20 but got " + e.code + ".");
21064
21064
  return t.y = e.value, (e = i.next()).code !== s + 20 ? i.rewind() : t.z = e.value, t;
21065
21065
  }
21066
- let _a = Symbol();
21066
+ let ya = Symbol();
21067
21067
  function xt(i, t) {
21068
21068
  return (e, s, o) => {
21069
21069
  let h = function(x, f = !1) {
@@ -21090,7 +21090,7 @@ function xt(i, t) {
21090
21090
  }
21091
21091
  w.isMultiple || x[e.code].pop();
21092
21092
  let { name: b, parser: E, isMultiple: T, isReducible: L } = w, z = E == null ? void 0 : E(e, s, o);
21093
- if (z === _a) {
21093
+ if (z === ya) {
21094
21094
  s.rewind();
21095
21095
  break;
21096
21096
  }
@@ -21100,10 +21100,10 @@ function xt(i, t) {
21100
21100
  if (!ot.length) throw Error("[parserGenerator::getObjectByPath] Invalid empty path");
21101
21101
  let W = dt;
21102
21102
  for (let ut = 0; ut < ot.length - 1; ++ut) {
21103
- let st = Ni(ot[ut]), Vt = Ni(ot[ut + 1]);
21103
+ let st = Ci(ot[ut]), Vt = Ci(ot[ut + 1]);
21104
21104
  Object.prototype.hasOwnProperty.call(W, st) || (typeof Vt == "number" ? W[st] = [] : W[st] = {}), W = W[st];
21105
21105
  }
21106
- return [W, Ni(ot[ot.length - 1])];
21106
+ return [W, Ci(ot[ot.length - 1])];
21107
21107
  }(o, b);
21108
21108
  T && !L ? (Object.prototype.hasOwnProperty.call(D, B) || (D[B] = []), D[B].push(z)) : D[B] = z;
21109
21109
  }
@@ -21112,7 +21112,7 @@ function xt(i, t) {
21112
21112
  return t && Object.setPrototypeOf(o, t), c;
21113
21113
  };
21114
21114
  }
21115
- function Ni(i) {
21115
+ function Ci(i) {
21116
21116
  let t = Number.parseInt(i);
21117
21117
  return Number.isNaN(t) ? i : t;
21118
21118
  }
@@ -21125,8 +21125,8 @@ function j(i, t) {
21125
21125
  function Bt({ value: i }) {
21126
21126
  return !!i;
21127
21127
  }
21128
- let gc = [{ code: 1001, name: "xdata", parser: Il }];
21129
- function Il(i, t) {
21128
+ let _c = [{ code: 1001, name: "xdata", parser: El }];
21129
+ function El(i, t) {
21130
21130
  var o;
21131
21131
  if (!At(i, 1001)) throw Error("XData must starts with code 1001");
21132
21132
  let e = { appName: i.value, value: [] };
@@ -21215,71 +21215,71 @@ function ln(i, t, e) {
21215
21215
  }
21216
21216
  t.rewind();
21217
21217
  }
21218
- let fc = 0;
21219
- function Pl(i) {
21218
+ let yc = 0;
21219
+ function kl(i) {
21220
21220
  if (!i) throw TypeError("entity cannot be undefined or null");
21221
- i.handle || (i.handle = fc++);
21221
+ i.handle || (i.handle = yc++);
21222
21222
  }
21223
- var _c = [0, 16711680, 16776960, 65280, 65535, 255, 16711935, 16777215, 8421504, 12632256, 16711680, 16744319, 13369344, 13395558, 10027008, 10046540, 8323072, 8339263, 4980736, 4990502, 16727808, 16752511, 13382400, 13401958, 10036736, 10051404, 8331008, 8343359, 4985600, 4992806, 16744192, 16760703, 13395456, 13408614, 10046464, 10056268, 8339200, 8347455, 4990464, 4995366, 16760576, 16768895, 13408512, 13415014, 10056192, 10061132, 8347392, 8351551, 4995328, 4997670, 16776960, 16777087, 13421568, 13421670, 10000384, 10000460, 8355584, 8355647, 5000192, 5000230, 12582656, 14679935, 10079232, 11717734, 7510016, 8755276, 6258432, 7307071, 3755008, 4344870, 8388352, 12582783, 6736896, 10079334, 5019648, 7510092, 4161280, 6258495, 2509824, 3755046, 4194048, 10485631, 3394560, 8375398, 2529280, 6264908, 2064128, 5209919, 1264640, 3099686, 65280, 8388479, 52224, 6736998, 38912, 5019724, 32512, 4161343, 19456, 2509862, 65343, 8388511, 52275, 6737023, 38950, 5019743, 32543, 4161359, 19475, 2509871, 65407, 8388543, 52326, 6737049, 38988, 5019762, 32575, 4161375, 19494, 2509881, 65471, 8388575, 52377, 6737074, 39026, 5019781, 32607, 4161391, 19513, 2509890, 65535, 8388607, 52428, 6737100, 39064, 5019800, 32639, 4161407, 19532, 2509900, 49151, 8380415, 39372, 6730444, 29336, 5014936, 24447, 4157311, 14668, 2507340, 32767, 8372223, 26316, 6724044, 19608, 5010072, 16255, 4153215, 9804, 2505036, 16383, 8364031, 13260, 6717388, 9880, 5005208, 8063, 4149119, 4940, 2502476, 255, 8355839, 204, 6710988, 152, 5000344, 127, 4145023, 76, 2500172, 4129023, 10452991, 3342540, 8349388, 2490520, 6245528, 2031743, 5193599, 1245260, 3089996, 8323327, 12550143, 6684876, 10053324, 4980888, 7490712, 4128895, 6242175, 2490444, 3745356, 12517631, 14647295, 10027212, 11691724, 7471256, 8735896, 6226047, 7290751, 3735628, 4335180, 16711935, 16744447, 13369548, 13395660, 9961624, 9981080, 8323199, 8339327, 4980812, 4990540, 16711871, 16744415, 13369497, 13395634, 9961586, 9981061, 8323167, 8339311, 4980793, 4990530, 16711807, 16744383, 13369446, 13395609, 9961548, 9981042, 8323135, 8339295, 4980774, 4990521, 16711743, 16744351, 13369395, 13395583, 9961510, 9981023, 8323103, 8339279, 4980755, 4990511, 3355443, 5987163, 8684676, 11382189, 14079702, 16777215];
21224
- function El(i) {
21225
- return _c[i];
21223
+ var vc = [0, 16711680, 16776960, 65280, 65535, 255, 16711935, 16777215, 8421504, 12632256, 16711680, 16744319, 13369344, 13395558, 10027008, 10046540, 8323072, 8339263, 4980736, 4990502, 16727808, 16752511, 13382400, 13401958, 10036736, 10051404, 8331008, 8343359, 4985600, 4992806, 16744192, 16760703, 13395456, 13408614, 10046464, 10056268, 8339200, 8347455, 4990464, 4995366, 16760576, 16768895, 13408512, 13415014, 10056192, 10061132, 8347392, 8351551, 4995328, 4997670, 16776960, 16777087, 13421568, 13421670, 10000384, 10000460, 8355584, 8355647, 5000192, 5000230, 12582656, 14679935, 10079232, 11717734, 7510016, 8755276, 6258432, 7307071, 3755008, 4344870, 8388352, 12582783, 6736896, 10079334, 5019648, 7510092, 4161280, 6258495, 2509824, 3755046, 4194048, 10485631, 3394560, 8375398, 2529280, 6264908, 2064128, 5209919, 1264640, 3099686, 65280, 8388479, 52224, 6736998, 38912, 5019724, 32512, 4161343, 19456, 2509862, 65343, 8388511, 52275, 6737023, 38950, 5019743, 32543, 4161359, 19475, 2509871, 65407, 8388543, 52326, 6737049, 38988, 5019762, 32575, 4161375, 19494, 2509881, 65471, 8388575, 52377, 6737074, 39026, 5019781, 32607, 4161391, 19513, 2509890, 65535, 8388607, 52428, 6737100, 39064, 5019800, 32639, 4161407, 19532, 2509900, 49151, 8380415, 39372, 6730444, 29336, 5014936, 24447, 4157311, 14668, 2507340, 32767, 8372223, 26316, 6724044, 19608, 5010072, 16255, 4153215, 9804, 2505036, 16383, 8364031, 13260, 6717388, 9880, 5005208, 8063, 4149119, 4940, 2502476, 255, 8355839, 204, 6710988, 152, 5000344, 127, 4145023, 76, 2500172, 4129023, 10452991, 3342540, 8349388, 2490520, 6245528, 2031743, 5193599, 1245260, 3089996, 8323327, 12550143, 6684876, 10053324, 4980888, 7490712, 4128895, 6242175, 2490444, 3745356, 12517631, 14647295, 10027212, 11691724, 7471256, 8735896, 6226047, 7290751, 3735628, 4335180, 16711935, 16744447, 13369548, 13395660, 9961624, 9981080, 8323199, 8339327, 4980812, 4990540, 16711871, 16744415, 13369497, 13395634, 9961586, 9981061, 8323167, 8339311, 4980793, 4990530, 16711807, 16744383, 13369446, 13395609, 9961548, 9981042, 8323135, 8339295, 4980774, 4990521, 16711743, 16744351, 13369395, 13395583, 9961510, 9981023, 8323103, 8339279, 4980755, 4990511, 3355443, 5987163, 8684676, 11382189, 14079702, 16777215];
21224
+ function Tl(i) {
21225
+ return vc[i];
21226
21226
  }
21227
21227
  (yr = {})[yr.CAST_AND_RECEIVE = 0] = "CAST_AND_RECEIVE", yr[yr.CAST = 1] = "CAST", yr[yr.RECEIVE = 2] = "RECEIVE", yr[yr.IGNORE = 3] = "IGNORE";
21228
- let Ut = [...gc, { code: 284, name: "shadowMode", parser: v }, { code: 390, name: "plotStyleHardId", parser: v }, { code: 380, name: "plotStyleType", parser: v }, { code: 440, name: "transparency", parser: v }, { code: 430, name: "colorName", parser: v }, { code: 420, name: "color", parser: v }, { code: 310, name: "proxyEntity", isMultiple: !0, parser: v }, { code: 92, name: "proxyByte", parser: v }, { code: 60, name: "isVisible", parser: Bt }, { code: 48, name: "lineTypeScale", parser: v }, { code: 370, name: "lineweight", parser: v }, { code: 62, name: "colorIndex", parser(i, t, e) {
21228
+ let Ut = [..._c, { code: 284, name: "shadowMode", parser: v }, { code: 390, name: "plotStyleHardId", parser: v }, { code: 380, name: "plotStyleType", parser: v }, { code: 440, name: "transparency", parser: v }, { code: 430, name: "colorName", parser: v }, { code: 420, name: "color", parser: v }, { code: 310, name: "proxyEntity", isMultiple: !0, parser: v }, { code: 92, name: "proxyByte", parser: v }, { code: 60, name: "isVisible", parser: Bt }, { code: 48, name: "lineTypeScale", parser: v }, { code: 370, name: "lineweight", parser: v }, { code: 62, name: "colorIndex", parser(i, t, e) {
21229
21229
  let s = i.value;
21230
- return s > 0 && s < 256 && (e.color = El(Math.abs(s))), s;
21230
+ return s > 0 && s < 256 && (e.color = Tl(Math.abs(s))), s;
21231
21231
  } }, { code: 347, name: "materialObjectHardId", parser: v }, { code: 6, name: "lineType", parser: v }, { code: 8, name: "layer", parser: v }, { code: 410, name: "layoutTabName", parser: v }, { code: 67, name: "isInPaperSpace", parser: Bt }, { code: 100 }, { code: 160 }, { code: 330, name: "ownerBlockRecordSoftId", parser: v }, { code: 102, parser: ln }, { code: 102, parser: ln }, { code: 102, parser: ln }, { code: 5, name: "handle", parser: v }];
21232
- function oi(i) {
21232
+ function li(i) {
21233
21233
  return [{ code: 3, name: i, parser: (t, e, s) => (s._code3text = (s._code3text ?? "") + t.value, s._code3text + (s._code1text ?? "")), isMultiple: !0, isReducible: !0 }, { code: 1, name: i, parser: (t, e, s) => (s._code1text = t.value, (s._code3text ?? "") + s._code1text) }];
21234
21234
  }
21235
- function kl(i, t, e) {
21235
+ function Ml(i, t, e) {
21236
21236
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21237
21237
  }
21238
- let yc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, vc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 51, name: "endAngle", parser: v }, { code: 50, name: "startAngle", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 40, name: "radius", parser: v }, { code: 10, name: "center", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100 }, ...Ut];
21239
- class Tl {
21238
+ let xc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, bc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 51, name: "endAngle", parser: v }, { code: 50, name: "startAngle", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 40, name: "radius", parser: v }, { code: 10, name: "center", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100 }, ...Ut];
21239
+ class Nl {
21240
21240
  parseEntity(t, e) {
21241
21241
  let s = {};
21242
21242
  return this.parser(e, t, s), s;
21243
21243
  }
21244
21244
  constructor() {
21245
- kl(this, "parser", xt(vc, yc));
21245
+ Ml(this, "parser", xt(bc, xc));
21246
21246
  }
21247
21247
  }
21248
- kl(Tl, "ForEntityName", "ARC");
21248
+ Ml(Nl, "ForEntityName", "ARC");
21249
21249
  (nr = {})[nr.NONE = 0] = "NONE", nr[nr.INVISIBLE = 1] = "INVISIBLE", nr[nr.CONSTANT = 2] = "CONSTANT", nr[nr.VERIFICATION_REQUIRED = 4] = "VERIFICATION_REQUIRED", nr[nr.PRESET = 8] = "PRESET";
21250
21250
  (gs = {})[gs.MULTILINE = 2] = "MULTILINE", gs[gs.CONSTANT_MULTILINE = 4] = "CONSTANT_MULTILINE";
21251
21251
  (en = {})[en.NONE = 0] = "NONE", en[en.MIRRORED_X = 2] = "MIRRORED_X", en[en.MIRRORED_Y = 4] = "MIRRORED_Y";
21252
- var xc = ((Fe = {})[Fe.LEFT = 0] = "LEFT", Fe[Fe.CENTER = 1] = "CENTER", Fe[Fe.RIGHT = 2] = "RIGHT", Fe[Fe.ALIGNED = 3] = "ALIGNED", Fe[Fe.MIDDLE = 4] = "MIDDLE", Fe[Fe.FIT = 5] = "FIT", Fe), bc = ((vr = {})[vr.BASELINE = 0] = "BASELINE", vr[vr.BOTTOM = 1] = "BOTTOM", vr[vr.MIDDLE = 2] = "MIDDLE", vr[vr.TOP = 3] = "TOP", vr);
21253
- function Ml(i, t, e) {
21252
+ var wc = ((Fe = {})[Fe.LEFT = 0] = "LEFT", Fe[Fe.CENTER = 1] = "CENTER", Fe[Fe.RIGHT = 2] = "RIGHT", Fe[Fe.ALIGNED = 3] = "ALIGNED", Fe[Fe.MIDDLE = 4] = "MIDDLE", Fe[Fe.FIT = 5] = "FIT", Fe), Ac = ((vr = {})[vr.BASELINE = 0] = "BASELINE", vr[vr.BOTTOM = 1] = "BOTTOM", vr[vr.MIDDLE = 2] = "MIDDLE", vr[vr.TOP = 3] = "TOP", vr);
21253
+ function Cl(i, t, e) {
21254
21254
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21255
21255
  }
21256
- let Nl = { thickness: 0, rotation: 0, xScale: 1, obliqueAngle: 0, styleName: "STANDARD", generationFlag: 0, halign: xc.LEFT, valign: bc.BASELINE, extrusionDirection: { x: 0, y: 0, z: 1 } }, Cl = [{ code: 73, name: "valign", parser: v }, { code: 100 }, { code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "endPoint", parser: j }, { code: 72, name: "valign", parser: v }, { code: 72, name: "halign", parser: v }, { code: 71, name: "generationFlag", parser: v }, { code: 7, name: "styleName", parser: v }, { code: 51, name: "obliqueAngle", parser: v }, { code: 41, name: "xScale", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 1, name: "text", parser: v }, { code: 40, name: "textHeight", parser: v }, { code: 10, name: "startPoint", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21257
- class Ll {
21256
+ let Ll = { thickness: 0, rotation: 0, xScale: 1, obliqueAngle: 0, styleName: "STANDARD", generationFlag: 0, halign: wc.LEFT, valign: Ac.BASELINE, extrusionDirection: { x: 0, y: 0, z: 1 } }, Ol = [{ code: 73, name: "valign", parser: v }, { code: 100 }, { code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "endPoint", parser: j }, { code: 72, name: "valign", parser: v }, { code: 72, name: "halign", parser: v }, { code: 71, name: "generationFlag", parser: v }, { code: 7, name: "styleName", parser: v }, { code: 51, name: "obliqueAngle", parser: v }, { code: 41, name: "xScale", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 1, name: "text", parser: v }, { code: 40, name: "textHeight", parser: v }, { code: 10, name: "startPoint", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21257
+ class zl {
21258
21258
  parseEntity(t, e) {
21259
21259
  let s = {};
21260
21260
  return this.parser(e, t, s), s;
21261
21261
  }
21262
21262
  constructor() {
21263
- Ml(this, "parser", xt(Cl, Nl));
21263
+ Cl(this, "parser", xt(Ol, Ll));
21264
21264
  }
21265
21265
  }
21266
- function Ol(i, t, e) {
21266
+ function Rl(i, t, e) {
21267
21267
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21268
21268
  }
21269
- Ml(Ll, "ForEntityName", "TEXT");
21270
- let wc = { ...Nl }, Ac = [{ code: 2 }, { code: 40, name: "annotationScale", parser: v }, { code: 10, name: "alignmentPoint", parser: j }, { code: 340, name: "secondaryAttributesHardIds", isMultiple: !0, parser: v }, { code: 70, name: "numberOfSecondaryAttributes", parser: v }, { code: 70, name: "isReallyLocked", parser: Bt }, { code: 70, name: "mtextFlag", parser: v }, { code: 280, name: "isDuplicatedRecord", parser: Bt }, { code: 100 }, { code: 280, name: "isLocked", parser: Bt }, { code: 74, name: "valign", parser: v }, { code: 73 }, { code: 70, name: "attributeFlag", parser: v }, { code: 2, name: "tag", parser: v }, { code: 3, name: "prompt", parser: v }, { code: 280 }, { code: 100, name: "subclassMarker", parser: v }, ...Cl.slice(2)];
21271
- class zl {
21269
+ Cl(zl, "ForEntityName", "TEXT");
21270
+ let Sc = { ...Ll }, Ic = [{ code: 2 }, { code: 40, name: "annotationScale", parser: v }, { code: 10, name: "alignmentPoint", parser: j }, { code: 340, name: "secondaryAttributesHardIds", isMultiple: !0, parser: v }, { code: 70, name: "numberOfSecondaryAttributes", parser: v }, { code: 70, name: "isReallyLocked", parser: Bt }, { code: 70, name: "mtextFlag", parser: v }, { code: 280, name: "isDuplicatedRecord", parser: Bt }, { code: 100 }, { code: 280, name: "isLocked", parser: Bt }, { code: 74, name: "valign", parser: v }, { code: 73 }, { code: 70, name: "attributeFlag", parser: v }, { code: 2, name: "tag", parser: v }, { code: 3, name: "prompt", parser: v }, { code: 280 }, { code: 100, name: "subclassMarker", parser: v }, ...Ol.slice(2)];
21271
+ class Fl {
21272
21272
  parseEntity(t, e) {
21273
21273
  let s = {};
21274
21274
  return this.parser(e, t, s), s;
21275
21275
  }
21276
21276
  constructor() {
21277
- Ol(this, "parser", xt(Ac, wc));
21277
+ Rl(this, "parser", xt(Ic, Sc));
21278
21278
  }
21279
21279
  }
21280
- Ol(zl, "ForEntityName", "ATTDEF");
21280
+ Rl(Fl, "ForEntityName", "ATTDEF");
21281
21281
  (rn = {})[rn.LEFT_TO_RIGHT = 1] = "LEFT_TO_RIGHT", rn[rn.TOP_TO_BOTTOM = 3] = "TOP_TO_BOTTOM", rn[rn.BY_STYLE = 5] = "BY_STYLE";
21282
- function Sc(i, t) {
21282
+ function Pc(i, t) {
21283
21283
  let e = {};
21284
21284
  for (let s of i) {
21285
21285
  let o = t(s);
@@ -21293,7 +21293,7 @@ function* ni(i, t = 1 / 0, e = 1) {
21293
21293
  function Gr(i) {
21294
21294
  return { x: i.x ?? 0, y: i.y ?? 0, z: i.z ?? 0 };
21295
21295
  }
21296
- function ya(i, t, e) {
21296
+ function va(i, t, e) {
21297
21297
  if (At(t, 102)) return ln(t, e, i), !0;
21298
21298
  switch (t.code) {
21299
21299
  case 0:
@@ -21318,7 +21318,7 @@ function ya(i, t, e) {
21318
21318
  i.materialObjectHardId = t.value;
21319
21319
  break;
21320
21320
  case 62:
21321
- i.colorIndex = t.value, i.color = El(Math.abs(t.value));
21321
+ i.colorIndex = t.value, i.color = Tl(Math.abs(t.value));
21322
21322
  break;
21323
21323
  case 370:
21324
21324
  i.lineweight = t.value;
@@ -21350,17 +21350,17 @@ function ya(i, t, e) {
21350
21350
  i.shadowMode = t.value;
21351
21351
  break;
21352
21352
  case 1001:
21353
- i.xdata = Il(t, e);
21353
+ i.xdata = El(t, e);
21354
21354
  break;
21355
21355
  default:
21356
21356
  return !1;
21357
21357
  }
21358
21358
  return !0;
21359
21359
  }
21360
- function Rl(i, t, e) {
21360
+ function Bl(i, t, e) {
21361
21361
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21362
21362
  }
21363
- let Ic = { textStyle: "STANDARD", extrusionDirection: { x: 0, y: 0, z: 1 }, rotation: 0 }, Ys = [{ code: 46, name: "annotationHeight", parser: v }, { code: 101, parser(i, t) {
21363
+ let Ec = { textStyle: "STANDARD", extrusionDirection: { x: 0, y: 0, z: 1 }, rotation: 0 }, Ys = [{ code: 46, name: "annotationHeight", parser: v }, { code: 101, parser(i, t) {
21364
21364
  (function(e) {
21365
21365
  e.rewind();
21366
21366
  let s = e.next();
@@ -21370,61 +21370,61 @@ let Ic = { textStyle: "STANDARD", extrusionDirection: { x: 0, y: 0, z: 1 }, rota
21370
21370
  while (s.code !== 0);
21371
21371
  e.rewind();
21372
21372
  })(t);
21373
- } }, { code: 50, name: "columnHeight", parser: v }, { code: 49, name: "columnGutter", parser: v }, { code: 48, name: "columnWidth", parser: v }, { code: 79, name: "columnAutoHeight", parser: v }, { code: 78, name: "columnFlowReversed", parser: v }, { code: 76, name: "columnCount", parser: v }, { code: 75, name: "columnType", parser: v }, { code: 441, name: "backgroundFillTransparency", parser: v }, { code: 63, name: "backgroundFillColor", parser: v }, { code: 45, name: "fillBoxScale", parser: v }, { code: [...ni(430, 440)], name: "backgroundColor", parser: v }, { code: [...ni(420, 430)], name: "backgroundColor", parser: v }, { code: 90, name: "backgroundFill", parser: v }, { code: 44, name: "lineSpacing", parser: v }, { code: 73, name: "lineSpacingStyle", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 43 }, { code: 42 }, { code: 11, name: "direction", parser: j }, { code: 210, name: "extrusionDirection", parser: j }, { code: 7, name: "styleName", parser: v }, ...oi("text"), { code: 72, name: "drawingDirection", parser: v }, { code: 71, name: "attachmentPoint", parser: v }, { code: 41, name: "width", parser: v }, { code: 40, name: "height", parser: v }, { code: 10, name: "insertionPoint", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21374
- class Fl {
21373
+ } }, { code: 50, name: "columnHeight", parser: v }, { code: 49, name: "columnGutter", parser: v }, { code: 48, name: "columnWidth", parser: v }, { code: 79, name: "columnAutoHeight", parser: v }, { code: 78, name: "columnFlowReversed", parser: v }, { code: 76, name: "columnCount", parser: v }, { code: 75, name: "columnType", parser: v }, { code: 441, name: "backgroundFillTransparency", parser: v }, { code: 63, name: "backgroundFillColor", parser: v }, { code: 45, name: "fillBoxScale", parser: v }, { code: [...ni(430, 440)], name: "backgroundColor", parser: v }, { code: [...ni(420, 430)], name: "backgroundColor", parser: v }, { code: 90, name: "backgroundFill", parser: v }, { code: 44, name: "lineSpacing", parser: v }, { code: 73, name: "lineSpacingStyle", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 43 }, { code: 42 }, { code: 11, name: "direction", parser: j }, { code: 210, name: "extrusionDirection", parser: j }, { code: 7, name: "styleName", parser: v }, ...li("text"), { code: 72, name: "drawingDirection", parser: v }, { code: 71, name: "attachmentPoint", parser: v }, { code: 41, name: "width", parser: v }, { code: 40, name: "height", parser: v }, { code: 10, name: "insertionPoint", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21374
+ class Dl {
21375
21375
  parseEntity(t, e) {
21376
21376
  let s = {};
21377
21377
  return this.parser(e, t, s), s;
21378
21378
  }
21379
21379
  constructor() {
21380
- Rl(this, "parser", xt(Ys, Ic));
21380
+ Bl(this, "parser", xt(Ys, Ec));
21381
21381
  }
21382
21382
  }
21383
- function Bl(i, t, e) {
21383
+ function Ul(i, t, e) {
21384
21384
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21385
21385
  }
21386
- Rl(Fl, "ForEntityName", "MTEXT");
21387
- let Pc = { thickness: 0, rotation: 0, scale: 1, obliqueAngle: 0, textStyle: "STANDARD", textGenerationFlag: 0, horizontalJustification: 0, verticalJustification: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Ec = [...Ys.slice(Ys.findIndex(({ name: i }) => i === "columnType"), Ys.findIndex(({ name: i }) => i === "subclassMarker") + 1), { code: 100 }, { code: 0, parser(i) {
21388
- if (!At(i, 0, "MTEXT")) return _a;
21386
+ Bl(Dl, "ForEntityName", "MTEXT");
21387
+ let kc = { thickness: 0, rotation: 0, scale: 1, obliqueAngle: 0, textStyle: "STANDARD", textGenerationFlag: 0, horizontalJustification: 0, verticalJustification: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Tc = [...Ys.slice(Ys.findIndex(({ name: i }) => i === "columnType"), Ys.findIndex(({ name: i }) => i === "subclassMarker") + 1), { code: 100 }, { code: 0, parser(i) {
21388
+ if (!At(i, 0, "MTEXT")) return ya;
21389
21389
  } }, { code: 2, name: "definitionTag", parser: v }, { code: 40, name: "annotationScale", parser: v }, { code: 10, name: "alignmentPoint", parser: j }, { code: 340, name: "secondaryAttributesHardId", parser: v }, { code: 70, name: "numberOfSecondaryAttributes", parser: v }, { code: 70, name: "isReallyLocked", parser: Bt }, { code: 70, name: "mtextFlag", parser: v }, { code: 280, name: "isDuplicatedEntriesKeep", parser: Bt }, { code: 100 }, { code: 280, name: "lockPositionFlag", parser: Bt }, { code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "alignmentPoint", parser: j }, { code: 74, name: "verticalJustification", parser: v }, { code: 72, name: "horizontalJustification", parser: v }, { code: 71, name: "textGenerationFlag", parser: v }, { code: 7, name: "textStyle", parser: v }, { code: 51, name: "obliqueAngle", parser: v }, { code: 41, name: "scale", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 73 }, { code: 70, name: "attributeFlag", parser: v }, { code: 2, name: "tag", parser: v }, { code: 280 }, { code: 100, name: "subclassMarker", parser: v }, { code: 1, name: "text", parser: v }, { code: 40, name: "textHeight", parser: v }, { code: 10, name: "startPoint", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100 }, ...Ut];
21390
- class Dl {
21390
+ class Vl {
21391
21391
  parseEntity(t, e) {
21392
21392
  let s = {};
21393
21393
  return this.parser(e, t, s), s;
21394
21394
  }
21395
21395
  constructor() {
21396
- Bl(this, "parser", xt(Ec, Pc));
21396
+ Ul(this, "parser", xt(Tc, kc));
21397
21397
  }
21398
21398
  }
21399
- function Ul(i, t, e) {
21399
+ function Gl(i, t, e) {
21400
21400
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21401
21401
  }
21402
- Bl(Dl, "ForEntityName", "ATTRIB");
21403
- let kc = [...oi("data"), { code: 70, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21404
- class Vl {
21402
+ Ul(Vl, "ForEntityName", "ATTRIB");
21403
+ let Mc = [...li("data"), { code: 70, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21404
+ class jl {
21405
21405
  parseEntity(t, e) {
21406
21406
  let s = {};
21407
21407
  return this.parser(e, t, s), s;
21408
21408
  }
21409
21409
  constructor() {
21410
- Ul(this, "parser", xt(kc));
21410
+ Gl(this, "parser", xt(Mc));
21411
21411
  }
21412
21412
  }
21413
- function Gl(i, t, e) {
21413
+ function Wl(i, t, e) {
21414
21414
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21415
21415
  }
21416
- Ul(Vl, "ForEntityName", "BODY");
21417
- let Tc = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Mc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 40, name: "radius", parser: v }, { code: 10, name: "center", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21418
- class jl {
21416
+ Gl(jl, "ForEntityName", "BODY");
21417
+ let Nc = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Cc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 40, name: "radius", parser: v }, { code: 10, name: "center", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21418
+ class Hl {
21419
21419
  parseEntity(t, e) {
21420
21420
  let s = {};
21421
21421
  return this.parser(e, t, s), s;
21422
21422
  }
21423
21423
  constructor() {
21424
- Gl(this, "parser", xt(Mc, Tc));
21424
+ Wl(this, "parser", xt(Cc, Nc));
21425
21425
  }
21426
21426
  }
21427
- Gl(jl, "ForEntityName", "CIRCLE");
21427
+ Wl(Hl, "ForEntityName", "CIRCLE");
21428
21428
  class qs {
21429
21429
  parseEntity(t, e) {
21430
21430
  let s = {};
@@ -21505,154 +21505,154 @@ class qs {
21505
21505
  o.styleName = h.value;
21506
21506
  break;
21507
21507
  default:
21508
- ya(o, h, c);
21508
+ va(o, h, c);
21509
21509
  }
21510
21510
  })(s, e, t), e = t.next();
21511
21511
  }
21512
21512
  return s;
21513
21513
  }
21514
21514
  }
21515
- function Wl(i, t, e) {
21515
+ function Yl(i, t, e) {
21516
21516
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21517
21517
  }
21518
- Si = "DIMENSION", (Ai = "ForEntityName") in qs ? Object.defineProperty(qs, Ai, { value: Si, enumerable: !0, configurable: !0, writable: !0 }) : qs[Ai] = Si;
21519
- let Nc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, Cc = [{ code: 42, name: "endAngle", parser: v }, { code: 41, name: "startAngle", parser: v }, { code: 40, name: "axisRatio", parser: v }, { code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "majorAxisEndPoint", parser: j }, { code: 10, name: "center", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21520
- class Hl {
21518
+ Ii = "DIMENSION", (Si = "ForEntityName") in qs ? Object.defineProperty(qs, Si, { value: Ii, enumerable: !0, configurable: !0, writable: !0 }) : qs[Si] = Ii;
21519
+ let Lc = { extrusionDirection: { x: 0, y: 0, z: 1 } }, Oc = [{ code: 42, name: "endAngle", parser: v }, { code: 41, name: "startAngle", parser: v }, { code: 40, name: "axisRatio", parser: v }, { code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "majorAxisEndPoint", parser: j }, { code: 10, name: "center", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21520
+ class ql {
21521
21521
  parseEntity(t, e) {
21522
21522
  let s = {};
21523
21523
  return this.parser(e, t, s), s;
21524
21524
  }
21525
21525
  constructor() {
21526
- Wl(this, "parser", xt(Cc, Nc));
21526
+ Yl(this, "parser", xt(Oc, Lc));
21527
21527
  }
21528
21528
  }
21529
- Wl(Hl, "ForEntityName", "ELLIPSE");
21529
+ Yl(ql, "ForEntityName", "ELLIPSE");
21530
21530
  (xr = {})[xr.First = 1] = "First", xr[xr.Second = 2] = "Second", xr[xr.Third = 4] = "Third", xr[xr.Fourth = 8] = "Fourth";
21531
- function Yl(i, t, e) {
21531
+ function Xl(i, t, e) {
21532
21532
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21533
21533
  }
21534
- let Lc = [{ code: 13, name: "vertices.3", parser: j }, { code: 12, name: "vertices.2", parser: j }, { code: 11, name: "vertices.1", parser: j }, { code: 10, name: "vertices.0", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21535
- class ql {
21534
+ let zc = [{ code: 13, name: "vertices.3", parser: j }, { code: 12, name: "vertices.2", parser: j }, { code: 11, name: "vertices.1", parser: j }, { code: 10, name: "vertices.0", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21535
+ class Kl {
21536
21536
  parseEntity(t, e) {
21537
21537
  let s = {};
21538
21538
  return this.parser(e, t, s), s;
21539
21539
  }
21540
21540
  constructor() {
21541
- Yl(this, "parser", xt(Lc));
21541
+ Xl(this, "parser", xt(zc));
21542
21542
  }
21543
21543
  }
21544
- Yl(ql, "ForEntityName", "3DFACE");
21545
- let Xl = [{ code: 330, name: "sourceBoundaryObjects", parser: v, isMultiple: !0 }, { code: 97, name: "numberOfSourceBoundaryObjects", parser: v }], Oc = [{ code: 11, name: "end", parser: j }, { code: 10, name: "start", parser: j }], zc = [{ code: 73, name: "isCCW", parser: Bt }, { code: 51, name: "endAngle", parser: v }, { code: 50, name: "startAngle", parser: v }, { code: 40, name: "radius", parser: v }, { code: 10, name: "center", parser: j }], Rc = [{ code: 73, name: "isCCW", parser: Bt }, { code: 51, name: "endAngle", parser: v }, { code: 50, name: "startAngle", parser: v }, { code: 40, name: "lengthOfMinorAxis", parser: v }, { code: 11, name: "end", parser: j }, { code: 10, name: "center", parser: j }], Fc = [{ code: 13, name: "endTangent", parser: j }, { code: 12, name: "startTangent", parser: j }, { code: 11, name: "fitDatum", isMultiple: !0, parser: j }, { code: 97, name: "numberOfFitData", parser: v }, { code: 10, name: "controlPoints", isMultiple: !0, parser(i, t) {
21544
+ Xl(Kl, "ForEntityName", "3DFACE");
21545
+ let $l = [{ code: 330, name: "sourceBoundaryObjects", parser: v, isMultiple: !0 }, { code: 97, name: "numberOfSourceBoundaryObjects", parser: v }], Rc = [{ code: 11, name: "end", parser: j }, { code: 10, name: "start", parser: j }], Fc = [{ code: 73, name: "isCCW", parser: Bt }, { code: 51, name: "endAngle", parser: v }, { code: 50, name: "startAngle", parser: v }, { code: 40, name: "radius", parser: v }, { code: 10, name: "center", parser: j }], Bc = [{ code: 73, name: "isCCW", parser: Bt }, { code: 51, name: "endAngle", parser: v }, { code: 50, name: "startAngle", parser: v }, { code: 40, name: "lengthOfMinorAxis", parser: v }, { code: 11, name: "end", parser: j }, { code: 10, name: "center", parser: j }], Dc = [{ code: 13, name: "endTangent", parser: j }, { code: 12, name: "startTangent", parser: j }, { code: 11, name: "fitDatum", isMultiple: !0, parser: j }, { code: 97, name: "numberOfFitData", parser: v }, { code: 10, name: "controlPoints", isMultiple: !0, parser(i, t) {
21546
21546
  let e = { ...Rt(t), weight: 1 };
21547
21547
  return (i = t.next()).code === 42 ? e.weight = i.value : t.rewind(), e;
21548
- } }, { code: 40, name: "knots", isMultiple: !0, parser: v }, { code: 96, name: "numberOfControlPoints", parser: v }, { code: 95, name: "numberOfKnots", parser: v }, { code: 74, name: "isPeriodic", parser: Bt }, { code: 73, name: "splineFlag", parser: v }, { code: 94, name: "degree", parser: v }], Bc = { [Fs.Line]: Oc, [Fs.Circular]: zc, [Fs.Elliptic]: Rc, [Fs.Spline]: Fc }, Dc = [...Xl, { code: 72, name: "edges", parser(i, t) {
21549
- let e = { type: i.value }, s = xt(Bc[e.type]);
21548
+ } }, { code: 40, name: "knots", isMultiple: !0, parser: v }, { code: 96, name: "numberOfControlPoints", parser: v }, { code: 95, name: "numberOfKnots", parser: v }, { code: 74, name: "isPeriodic", parser: Bt }, { code: 73, name: "splineFlag", parser: v }, { code: 94, name: "degree", parser: v }], Uc = { [Fs.Line]: Rc, [Fs.Circular]: Fc, [Fs.Elliptic]: Bc, [Fs.Spline]: Dc }, Vc = [...$l, { code: 72, name: "edges", parser(i, t) {
21549
+ let e = { type: i.value }, s = xt(Uc[e.type]);
21550
21550
  if (!s) throw Error(`Invalid edge type ${e.type}`);
21551
21551
  return s(i = t.next(), t, e), e;
21552
- }, isMultiple: !0 }, { code: 93, name: "numberOfEdges", parser: v }], Uc = [...Xl, { code: 10, name: "vertices", parser(i, t) {
21552
+ }, isMultiple: !0 }, { code: 93, name: "numberOfEdges", parser: v }], Gc = [...$l, { code: 10, name: "vertices", parser(i, t) {
21553
21553
  let e = { ...Rt(t), bulge: 0 };
21554
21554
  return (i = t.next()).code === 42 ? e.bulge = i.value : t.rewind(), e;
21555
- }, isMultiple: !0 }, { code: 93, name: "numberOfVertices", parser: v }, { code: 73, name: "isClosed", parser: Bt }, { code: 72, name: "hasBulge", parser: Bt }], Vc = [{ code: 49, name: "dashLengths", parser: v, isMultiple: !0 }, { code: 79, name: "numberOfDashLengths", parser: v }, { code: 45, name: "offset", parser: Lo }, { code: 43, name: "base", parser: Lo }, { code: 53, name: "angle", parser: v }];
21556
- function Lo(i, t) {
21555
+ }, isMultiple: !0 }, { code: 93, name: "numberOfVertices", parser: v }, { code: 73, name: "isClosed", parser: Bt }, { code: 72, name: "hasBulge", parser: Bt }], jc = [{ code: 49, name: "dashLengths", parser: v, isMultiple: !0 }, { code: 79, name: "numberOfDashLengths", parser: v }, { code: 45, name: "offset", parser: Oo }, { code: 43, name: "base", parser: Oo }, { code: 53, name: "angle", parser: v }];
21556
+ function Oo(i, t) {
21557
21557
  let e = i.code + 1, s = { x: i.value, y: 1 };
21558
21558
  return (i = t.next()).code === e ? s.y = i.value : t.rewind(), s;
21559
21559
  }
21560
- function Kl(i, t, e) {
21560
+ function Zl(i, t, e) {
21561
21561
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21562
21562
  }
21563
- let Gc = { extrusionDirection: { x: 0, y: 0, z: 1 }, gradientRotation: 0, colorTint: 0 }, jc = [{ code: 470 }, { code: 463 }, { code: 462, name: "colorTint", parser: v }, { code: 461, name: "gradientDefinition", parser: v }, { code: 460, name: "gradientRotation", parser: v }, { code: 453, name: "numberOfColors", parser: v }, { code: 452, name: "gradientColorFlag", parser: v }, { code: 451 }, { code: 450, name: "gradientFlag", parser: v }, { code: 10, name: "seedPoints", parser: j, isMultiple: !0 }, { code: 99 }, { code: 11, name: "offsetVector", parser: j }, { code: 98, name: "numberOfSeedPoints", parser: v }, { code: 47, name: "pixelSize", parser: v }, { code: 53, name: "definitionLines", parser: function(i, t) {
21563
+ let Wc = { extrusionDirection: { x: 0, y: 0, z: 1 }, gradientRotation: 0, colorTint: 0 }, Hc = [{ code: 470 }, { code: 463 }, { code: 462, name: "colorTint", parser: v }, { code: 461, name: "gradientDefinition", parser: v }, { code: 460, name: "gradientRotation", parser: v }, { code: 453, name: "numberOfColors", parser: v }, { code: 452, name: "gradientColorFlag", parser: v }, { code: 451 }, { code: 450, name: "gradientFlag", parser: v }, { code: 10, name: "seedPoints", parser: j, isMultiple: !0 }, { code: 99 }, { code: 11, name: "offsetVector", parser: j }, { code: 98, name: "numberOfSeedPoints", parser: v }, { code: 47, name: "pixelSize", parser: v }, { code: 53, name: "definitionLines", parser: function(i, t) {
21564
21564
  let e = {};
21565
- return xt(Vc)(i, t, e), e;
21565
+ return xt(jc)(i, t, e), e;
21566
21566
  }, isMultiple: !0 }, { code: 78, name: "numberOfDefinitionLines", parser: v }, { code: 77, name: "isDouble", parser: Bt }, { code: 73, name: "isAnnotated", parser: Bt }, { code: 41, name: "patternScale", parser: v }, { code: 52, name: "patternAngle", parser: v }, { code: 76, name: "patternType", parser: v }, { code: 75, name: "hatchStyle", parser: v }, { code: 92, name: "boundaryPaths", parser: function(i, t) {
21567
- let e = { boundaryPathTypeFlag: i.value }, s = e.boundaryPathTypeFlag & mc.Polyline;
21568
- return i = t.next(), s ? xt(Uc)(i, t, e) : xt(Dc)(i, t, e), e;
21567
+ let e = { boundaryPathTypeFlag: i.value }, s = e.boundaryPathTypeFlag & gc.Polyline;
21568
+ return i = t.next(), s ? xt(Gc)(i, t, e) : xt(Vc)(i, t, e), e;
21569
21569
  }, isMultiple: !0 }, { code: 91, name: "numberOfBoundaryPaths", parser: v }, { code: 71, name: "associativity", parser: v }, { code: 63, name: "patternFillColor", parser: v }, { code: 70, name: "solidFill", parser: v }, { code: 2, name: "patternName", parser: v }, { code: 210, name: "extrusionDirection", parser: j }, { code: 10, name: "elevationPoint", parser: j }, { code: 100, name: "subclassMarker", parser: v, pushContext: !0 }, ...Ut];
21570
- class $l {
21570
+ class Ql {
21571
21571
  parseEntity(t, e) {
21572
21572
  let s = {};
21573
21573
  return this.parser(e, t, s), s;
21574
21574
  }
21575
21575
  constructor() {
21576
- Kl(this, "parser", xt(jc, Gc));
21576
+ Zl(this, "parser", xt(Hc, Wc));
21577
21577
  }
21578
21578
  }
21579
- Kl($l, "ForEntityName", "HATCH");
21579
+ Zl(Ql, "ForEntityName", "HATCH");
21580
21580
  (br = {})[br.ShowImage = 1] = "ShowImage", br[br.ShowImageWhenNotAlignedWithScreen = 2] = "ShowImageWhenNotAlignedWithScreen", br[br.UseClippingBoundary = 4] = "UseClippingBoundary", br[br.TransparencyIsOn = 8] = "TransparencyIsOn";
21581
21581
  (fs = {})[fs.Rectangular = 1] = "Rectangular", fs[fs.Polygonal = 2] = "Polygonal";
21582
21582
  (_s = {})[_s.Outside = 0] = "Outside", _s[_s.Inside = 1] = "Inside";
21583
- function Zl(i, t, e) {
21583
+ function Jl(i, t, e) {
21584
21584
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21585
21585
  }
21586
- let Wc = { brightness: 50, contrast: 50, fade: 0, clippingBoundaryPath: [] }, Hc = [{ code: 290, name: "clipMode", parser: v }, { code: 14, name: "clippingBoundaryPath", isMultiple: !0, parser: j }, { code: 91, name: "countBoundaryPoints", parser: v }, { code: 71, name: "clippingBoundaryType", parser: v }, { code: 360, name: "imageDefReactorHandle", parser: v }, { code: 283, name: "fade", parser: v }, { code: 282, name: "contrast", parser: v }, { code: 281, name: "brightness", parser: v }, { code: 280, name: "isClipped", parser: Bt }, { code: 70, name: "flags", parser: v }, { code: 340, name: "imageDefHandle", parser: v }, { code: 13, name: "imageSize", parser: j }, { code: 12, name: "vPixel", parser: j }, { code: 11, name: "uPixel", parser: j }, { code: 10, name: "position", parser: j }, { code: 90, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21587
- class Ql {
21586
+ let Yc = { brightness: 50, contrast: 50, fade: 0, clippingBoundaryPath: [] }, qc = [{ code: 290, name: "clipMode", parser: v }, { code: 14, name: "clippingBoundaryPath", isMultiple: !0, parser: j }, { code: 91, name: "countBoundaryPoints", parser: v }, { code: 71, name: "clippingBoundaryType", parser: v }, { code: 360, name: "imageDefReactorHandle", parser: v }, { code: 283, name: "fade", parser: v }, { code: 282, name: "contrast", parser: v }, { code: 281, name: "brightness", parser: v }, { code: 280, name: "isClipped", parser: Bt }, { code: 70, name: "flags", parser: v }, { code: 340, name: "imageDefHandle", parser: v }, { code: 13, name: "imageSize", parser: j }, { code: 12, name: "vPixel", parser: j }, { code: 11, name: "uPixel", parser: j }, { code: 10, name: "position", parser: j }, { code: 90, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21587
+ class th {
21588
21588
  parseEntity(t, e) {
21589
21589
  let s = {};
21590
21590
  return this.parser(e, t, s), s;
21591
21591
  }
21592
21592
  constructor() {
21593
- Zl(this, "parser", xt(Hc, Wc));
21593
+ Jl(this, "parser", xt(qc, Yc));
21594
21594
  }
21595
21595
  }
21596
- function Jl(i, t, e) {
21596
+ function eh(i, t, e) {
21597
21597
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21598
21598
  }
21599
- Zl(Ql, "ForEntityName", "IMAGE");
21600
- let Yc = { xScale: 1, yScale: 1, zScale: 1, rotation: 0, columnCount: 0, rowCount: 0, columnSpacing: 0, rowSpacing: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, qc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 45, name: "rowSpacing", parser: v }, { code: 44, name: "columnSpacing", parser: v }, { code: 71, name: "rowCount", parser: v }, { code: 70, name: "columnCount", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 43, name: "zScale", parser: v }, { code: 42, name: "yScale", parser: v }, { code: 41, name: "xScale", parser: v }, { code: 10, name: "insertionPoint", parser: j }, { code: 2, name: "name", parser: v }, { code: 66, name: "isVariableAttributes", parser: Bt }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21601
- class th {
21599
+ Jl(th, "ForEntityName", "IMAGE");
21600
+ let Xc = { xScale: 1, yScale: 1, zScale: 1, rotation: 0, columnCount: 0, rowCount: 0, columnSpacing: 0, rowSpacing: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Kc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 45, name: "rowSpacing", parser: v }, { code: 44, name: "columnSpacing", parser: v }, { code: 71, name: "rowCount", parser: v }, { code: 70, name: "columnCount", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 43, name: "zScale", parser: v }, { code: 42, name: "yScale", parser: v }, { code: 41, name: "xScale", parser: v }, { code: 10, name: "insertionPoint", parser: j }, { code: 2, name: "name", parser: v }, { code: 66, name: "isVariableAttributes", parser: Bt }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21601
+ class rh {
21602
21602
  parseEntity(t, e) {
21603
21603
  let s = {};
21604
21604
  return this.parser(e, t, s), s;
21605
21605
  }
21606
21606
  constructor() {
21607
- Jl(this, "parser", xt(qc, Yc));
21607
+ eh(this, "parser", xt(Kc, Xc));
21608
21608
  }
21609
21609
  }
21610
- function eh(i, t, e) {
21610
+ function nh(i, t, e) {
21611
21611
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21612
21612
  }
21613
- Jl(th, "ForEntityName", "INSERT");
21614
- let Xc = { isArrowheadEnabled: !0 }, Kc = [{ code: 213, name: "offsetFromAnnotation", parser: j }, { code: 212, name: "offsetFromBlock", parser: j }, { code: 211, name: "horizontalDirection", parser: j }, { code: 210, name: "normal", parser: j }, { code: 340, name: "associatedAnnotation", parser: v }, { code: 77, name: "byBlockColor", parser: v }, { code: 10, name: "vertices", parser: j, isMultiple: !0 }, { code: 76, name: "numberOfVertices", parser: v }, { code: 41, name: "textWidth", parser: v }, { code: 40, name: "textHeight", parser: v }, { code: 75, name: "isHooklineExists", parser: Bt }, { code: 74, name: "isHooklineSameDirection", parser: Bt }, { code: 73, name: "leaderCreationFlag", parser: v }, { code: 72, name: "isSpline", parser: Bt }, { code: 71, name: "isArrowheadEnabled", parser: Bt }, { code: 3, name: "styleName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21615
- class rh {
21613
+ eh(rh, "ForEntityName", "INSERT");
21614
+ let $c = { isArrowheadEnabled: !0 }, Zc = [{ code: 213, name: "offsetFromAnnotation", parser: j }, { code: 212, name: "offsetFromBlock", parser: j }, { code: 211, name: "horizontalDirection", parser: j }, { code: 210, name: "normal", parser: j }, { code: 340, name: "associatedAnnotation", parser: v }, { code: 77, name: "byBlockColor", parser: v }, { code: 10, name: "vertices", parser: j, isMultiple: !0 }, { code: 76, name: "numberOfVertices", parser: v }, { code: 41, name: "textWidth", parser: v }, { code: 40, name: "textHeight", parser: v }, { code: 75, name: "isHooklineExists", parser: Bt }, { code: 74, name: "isHooklineSameDirection", parser: Bt }, { code: 73, name: "leaderCreationFlag", parser: v }, { code: 72, name: "isSpline", parser: Bt }, { code: 71, name: "isArrowheadEnabled", parser: Bt }, { code: 3, name: "styleName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21615
+ class sh {
21616
21616
  parseEntity(t, e) {
21617
21617
  let s = {};
21618
21618
  return this.parser(e, t, s), s;
21619
21619
  }
21620
21620
  constructor() {
21621
- eh(this, "parser", xt(Kc, Xc));
21621
+ nh(this, "parser", xt(Zc, $c));
21622
21622
  }
21623
21623
  }
21624
- eh(rh, "ForEntityName", "LEADER");
21624
+ nh(sh, "ForEntityName", "LEADER");
21625
21625
  (wr = {})[wr.TextAnnotation = 0] = "TextAnnotation", wr[wr.ToleranceAnnotation = 1] = "ToleranceAnnotation", wr[wr.BlockReferenceAnnotation = 2] = "BlockReferenceAnnotation", wr[wr.NoAnnotation = 3] = "NoAnnotation";
21626
- function nh(i, t, e) {
21626
+ function ih(i, t, e) {
21627
21627
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21628
21628
  }
21629
- let $c = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Zc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "endPoint", parser: j }, { code: 10, name: "startPoint", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21630
- class sh {
21629
+ let Qc = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, Jc = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 11, name: "endPoint", parser: j }, { code: 10, name: "startPoint", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21630
+ class ah {
21631
21631
  parseEntity(t, e) {
21632
21632
  let s = {};
21633
21633
  return this.parser(e, t, s), s;
21634
21634
  }
21635
21635
  constructor() {
21636
- nh(this, "parser", xt(Zc, $c));
21636
+ ih(this, "parser", xt(Jc, Qc));
21637
21637
  }
21638
21638
  }
21639
- nh(sh, "ForEntityName", "LINE");
21639
+ ih(ah, "ForEntityName", "LINE");
21640
21640
  (ys = {})[ys.IS_CLOSED = 1] = "IS_CLOSED", ys[ys.PLINE_GEN = 128] = "PLINE_GEN";
21641
- let Qc = { flag: 0, elevation: 0, thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, Jc = { bulge: 0 }, td = [{ code: 42, name: "bulge", parser: v }, { code: 41, name: "endWidth", parser: v }, { code: 40, name: "startWidth", parser: v }, { code: 91, name: "id", parser: v }, { code: 20, name: "y", parser: v }, { code: 10, name: "x", parser: v }], ed = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 10, name: "vertices", isMultiple: !0, parser(i, t) {
21641
+ let td = { flag: 0, elevation: 0, thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, ed = { bulge: 0 }, rd = [{ code: 42, name: "bulge", parser: v }, { code: 41, name: "endWidth", parser: v }, { code: 40, name: "startWidth", parser: v }, { code: 91, name: "id", parser: v }, { code: 20, name: "y", parser: v }, { code: 10, name: "x", parser: v }], nd = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 10, name: "vertices", isMultiple: !0, parser(i, t) {
21642
21642
  let e = {};
21643
- return xt(td, Jc)(i, t, e), e;
21643
+ return xt(rd, ed)(i, t, e), e;
21644
21644
  } }, { code: 39, name: "thickness", parser: v }, { code: 38, name: "elevation", parser: v }, { code: 43, name: "constantWidth", parser: v }, { code: 70, name: "flag", parser: v }, { code: 90, name: "numberOfVertices", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21645
21645
  class Xs {
21646
21646
  parseEntity(t, e) {
21647
21647
  let s = {};
21648
- return xt(ed, Qc)(e, t, s), s;
21648
+ return xt(nd, td)(e, t, s), s;
21649
21649
  }
21650
21650
  }
21651
- function ih(i, t, e) {
21651
+ function oh(i, t, e) {
21652
21652
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21653
21653
  }
21654
- Pi = "LWPOLYLINE", (Ii = "ForEntityName") in Xs ? Object.defineProperty(Xs, Ii, { value: Pi, enumerable: !0, configurable: !0, writable: !0 }) : Xs[Ii] = Pi;
21655
- let rd = [{ code: 90, name: "overridenSubEntityCount", parser: v }, { code: 140, name: "edgeCreaseWeights", parser: v, isMultiple: !0 }, { code: 95, name: "edgeCreaseCount", parser: v }, { code: 94, parser(i, t, e) {
21654
+ Ei = "LWPOLYLINE", (Pi = "ForEntityName") in Xs ? Object.defineProperty(Xs, Pi, { value: Ei, enumerable: !0, configurable: !0, writable: !0 }) : Xs[Pi] = Ei;
21655
+ let sd = [{ code: 90, name: "overridenSubEntityCount", parser: v }, { code: 140, name: "edgeCreaseWeights", parser: v, isMultiple: !0 }, { code: 95, name: "edgeCreaseCount", parser: v }, { code: 94, parser(i, t, e) {
21656
21656
  e.edgeCount = i.value, e.edgeIndices = [];
21657
21657
  for (let s = 0; s < e.edgeCount; ++s) {
21658
21658
  let o = [];
@@ -21671,106 +21671,92 @@ let rd = [{ code: 90, name: "overridenSubEntityCount", parser: v }, { code: 140,
21671
21671
  } }, { code: 10, name: "vertices", parser: j, isMultiple: !0 }, { code: 92, name: "verticesCount", parser: v }, { code: 91, name: "subdivisionLevel", parser: v }, { code: 40, name: "blendCrease", parser: v }, { code: 72, name: "isBlendCreased", parser: Bt }, { code: 71, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: function({ value: i }) {
21672
21672
  return i.trim();
21673
21673
  }, pushContext: !0 }, ...Ut];
21674
- class ah {
21675
- parseEntity(t, e) {
21676
- let s = {};
21677
- return this.parser(e, t, s), s;
21678
- }
21679
- constructor() {
21680
- ih(this, "parser", xt(rd));
21681
- }
21682
- }
21683
- function oh(i, t, e) {
21684
- return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21685
- }
21686
- ih(ah, "ForEntityName", "MESH");
21687
- let nd = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, angle: 0 }, sd = [{ code: 50, name: "angle", parser: v }, { code: 210, name: "extrusionDirection", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 10, name: "position", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21688
21674
  class lh {
21689
21675
  parseEntity(t, e) {
21690
21676
  let s = {};
21691
21677
  return this.parser(e, t, s), s;
21692
21678
  }
21693
21679
  constructor() {
21694
- oh(this, "parser", xt(sd, nd));
21680
+ oh(this, "parser", xt(sd));
21695
21681
  }
21696
21682
  }
21697
- oh(lh, "ForEntityName", "POINT");
21698
- (he = {})[he.CLOSED_POLYLINE = 1] = "CLOSED_POLYLINE", he[he.CURVE_FIT = 2] = "CURVE_FIT", he[he.SPLINE_FIT = 4] = "SPLINE_FIT", he[he.POLYLINE_3D = 8] = "POLYLINE_3D", he[he.POLYGON_3D = 16] = "POLYGON_3D", he[he.CLOSED_POLYGON = 32] = "CLOSED_POLYGON", he[he.POLYFACE = 64] = "POLYFACE", he[he.CONTINUOUS = 128] = "CONTINUOUS";
21699
- var Bs = ((Ar = {})[Ar.NONE = 0] = "NONE", Ar[Ar.QUADRATIC = 5] = "QUADRATIC", Ar[Ar.CUBIC = 6] = "CUBIC", Ar[Ar.BEZIER = 8] = "BEZIER", Ar), id = ((ue = {})[ue.CREATED_BY_CURVE_FIT = 1] = "CREATED_BY_CURVE_FIT", ue[ue.TANGENT_DEFINED = 2] = "TANGENT_DEFINED", ue[ue.NOT_USED = 4] = "NOT_USED", ue[ue.CREATED_BY_SPLINE_FIT = 8] = "CREATED_BY_SPLINE_FIT", ue[ue.SPLINE_CONTROL_POINT = 16] = "SPLINE_CONTROL_POINT", ue[ue.FOR_POLYLINE = 32] = "FOR_POLYLINE", ue[ue.FOR_POLYGON = 64] = "FOR_POLYGON", ue[ue.POLYFACE = 128] = "POLYFACE", ue);
21700
21683
  function hh(i, t, e) {
21701
21684
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21702
21685
  }
21703
- let ad = { startWidth: 0, endWidth: 0, bulge: 0 }, od = [{ code: 91, name: "id", parser: v }, { code: [...ni(71, 75)], name: "faces", isMultiple: !0, parser: v }, { code: 50, name: "tangentDirection", parser: v }, { code: 70, name: "flag", parser: v }, { code: 42, name: "bulge", parser: v }, { code: 41, name: "endWidth", parser: v }, { code: 40, name: "startWidth", parser: v }, { code: 30, name: "z", parser: v }, { code: 20, name: "y", parser: v }, { code: 10, name: "x", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 100 }, ...Ut];
21704
- class va {
21686
+ oh(lh, "ForEntityName", "MESH");
21687
+ let id = { thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, angle: 0 }, ad = [{ code: 50, name: "angle", parser: v }, { code: 210, name: "extrusionDirection", parser: j }, { code: 39, name: "thickness", parser: v }, { code: 10, name: "position", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21688
+ class uh {
21705
21689
  parseEntity(t, e) {
21706
21690
  let s = {};
21707
21691
  return this.parser(e, t, s), s;
21708
21692
  }
21709
21693
  constructor() {
21710
- hh(this, "parser", xt(od, ad));
21694
+ hh(this, "parser", xt(ad, id));
21711
21695
  }
21712
21696
  }
21713
- function uh(i, t, e) {
21697
+ hh(uh, "ForEntityName", "POINT");
21698
+ (ue = {})[ue.CLOSED_POLYLINE = 1] = "CLOSED_POLYLINE", ue[ue.CURVE_FIT = 2] = "CURVE_FIT", ue[ue.SPLINE_FIT = 4] = "SPLINE_FIT", ue[ue.POLYLINE_3D = 8] = "POLYLINE_3D", ue[ue.POLYGON_3D = 16] = "POLYGON_3D", ue[ue.CLOSED_POLYGON = 32] = "CLOSED_POLYGON", ue[ue.POLYFACE = 64] = "POLYFACE", ue[ue.CONTINUOUS = 128] = "CONTINUOUS";
21699
+ var Bs = ((Ar = {})[Ar.NONE = 0] = "NONE", Ar[Ar.QUADRATIC = 5] = "QUADRATIC", Ar[Ar.CUBIC = 6] = "CUBIC", Ar[Ar.BEZIER = 8] = "BEZIER", Ar), od = ((ce = {})[ce.CREATED_BY_CURVE_FIT = 1] = "CREATED_BY_CURVE_FIT", ce[ce.TANGENT_DEFINED = 2] = "TANGENT_DEFINED", ce[ce.NOT_USED = 4] = "NOT_USED", ce[ce.CREATED_BY_SPLINE_FIT = 8] = "CREATED_BY_SPLINE_FIT", ce[ce.SPLINE_CONTROL_POINT = 16] = "SPLINE_CONTROL_POINT", ce[ce.FOR_POLYLINE = 32] = "FOR_POLYLINE", ce[ce.FOR_POLYGON = 64] = "FOR_POLYGON", ce[ce.POLYFACE = 128] = "POLYFACE", ce);
21700
+ function ch(i, t, e) {
21714
21701
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21715
21702
  }
21716
- hh(va, "ForEntityName", "VERTEX");
21717
- let ld = { thickness: 0, flag: 0, startWidth: 0, endWidth: 0, meshMVertexCount: 0, meshNVertexCount: 0, surfaceMDensity: 0, surfaceNDensity: 0, smoothType: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, hd = [{ code: 0, name: "vertices", isMultiple: !0, parser: (i, t) => At(i, 0, "VERTEX") ? (i = t.next(), new va().parseEntity(t, i)) : _a }, { code: 210, name: "extrusionDirection", parser: j }, { code: 75, name: "smoothType", parser: v }, { code: 74, name: "surfaceNDensity", parser: v }, { code: 73, name: "surfaceMDensity", parser: v }, { code: 72, name: "meshNVertexCount", parser: v }, { code: 71, name: "meshMVertexCount", parser: v }, { code: 41, name: "endWidth", parser: v }, { code: 40, name: "startWidth", parser: v }, { code: 70, name: "flag", parser: v }, { code: 39, name: "thickness", parser: v }, { code: 30, name: "elevation", parser: v }, { code: 20 }, { code: 10 }, { code: 66 }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21718
- class ch {
21703
+ let ld = { startWidth: 0, endWidth: 0, bulge: 0 }, hd = [{ code: 91, name: "id", parser: v }, { code: [...ni(71, 75)], name: "faces", isMultiple: !0, parser: v }, { code: 50, name: "tangentDirection", parser: v }, { code: 70, name: "flag", parser: v }, { code: 42, name: "bulge", parser: v }, { code: 41, name: "endWidth", parser: v }, { code: 40, name: "startWidth", parser: v }, { code: 30, name: "z", parser: v }, { code: 20, name: "y", parser: v }, { code: 10, name: "x", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 100 }, ...Ut];
21704
+ class xa {
21719
21705
  parseEntity(t, e) {
21720
21706
  let s = {};
21721
21707
  return this.parser(e, t, s), s;
21722
21708
  }
21723
21709
  constructor() {
21724
- uh(this, "parser", xt(hd, ld));
21710
+ ch(this, "parser", xt(hd, ld));
21725
21711
  }
21726
21712
  }
21727
21713
  function dh(i, t, e) {
21728
21714
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21729
21715
  }
21730
- uh(ch, "ForEntityName", "POLYLINE");
21731
- let ud = [{ code: 11, name: "direction", parser: j }, { code: 10, name: "position", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21716
+ ch(xa, "ForEntityName", "VERTEX");
21717
+ let ud = { thickness: 0, flag: 0, startWidth: 0, endWidth: 0, meshMVertexCount: 0, meshNVertexCount: 0, surfaceMDensity: 0, surfaceNDensity: 0, smoothType: 0, extrusionDirection: { x: 0, y: 0, z: 1 }, vertices: [] }, cd = [{ code: 0, name: "vertices", isMultiple: !0, parser: (i, t) => At(i, 0, "VERTEX") ? (i = t.next(), new xa().parseEntity(t, i)) : ya }, { code: 210, name: "extrusionDirection", parser: j }, { code: 75, name: "smoothType", parser: v }, { code: 74, name: "surfaceNDensity", parser: v }, { code: 73, name: "surfaceMDensity", parser: v }, { code: 72, name: "meshNVertexCount", parser: v }, { code: 71, name: "meshMVertexCount", parser: v }, { code: 41, name: "endWidth", parser: v }, { code: 40, name: "startWidth", parser: v }, { code: 70, name: "flag", parser: v }, { code: 39, name: "thickness", parser: v }, { code: 30, name: "elevation", parser: v }, { code: 20 }, { code: 10 }, { code: 66 }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21732
21718
  class mh {
21733
21719
  parseEntity(t, e) {
21734
21720
  let s = {};
21735
21721
  return this.parser(e, t, s), s;
21736
21722
  }
21737
21723
  constructor() {
21738
- dh(this, "parser", xt(ud));
21724
+ dh(this, "parser", xt(cd, ud));
21739
21725
  }
21740
21726
  }
21741
21727
  function ph(i, t, e) {
21742
21728
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21743
21729
  }
21744
- dh(mh, "ForEntityName", "RAY");
21745
- let cd = [...oi("data"), { code: 70, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21730
+ dh(mh, "ForEntityName", "POLYLINE");
21731
+ let dd = [{ code: 11, name: "direction", parser: j }, { code: 10, name: "position", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21746
21732
  class gh {
21747
21733
  parseEntity(t, e) {
21748
21734
  let s = {};
21749
21735
  return this.parser(e, t, s), s;
21750
21736
  }
21751
21737
  constructor() {
21752
- ph(this, "parser", xt(cd));
21738
+ ph(this, "parser", xt(dd));
21753
21739
  }
21754
21740
  }
21755
21741
  function fh(i, t, e) {
21756
21742
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21757
21743
  }
21758
- ph(gh, "ForEntityName", "REGION");
21759
- let dd = { vertices: [], backLineVertices: [] }, md = [{ code: 360, name: "geometrySettingHardId", parser: v }, { code: 12, name: "backLineVertices", isMultiple: !0, parser: j }, { code: 93, name: "numberOfBackLineVertices", parser: v }, { code: 11, name: "vertices", isMultiple: !0, parser: j }, { code: 92, name: "verticesCount", parser: v }, { code: [63, 411], name: "indicatorColor", parser: v }, { code: 70, name: "indicatorTransparency", parser: v }, { code: 41, name: "bottomHeight", parser: v }, { code: 40, name: "topHeight", parser: v }, { code: 10, name: "verticalDirection", parser: j }, { code: 1, name: "name", parser: v }, { code: 91, name: "flag", parser: v }, { code: 90, name: "state", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21744
+ ph(gh, "ForEntityName", "RAY");
21745
+ let md = [...li("data"), { code: 70, name: "version", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21760
21746
  class _h {
21761
21747
  parseEntity(t, e) {
21762
21748
  let s = {};
21763
21749
  return this.parser(e, t, s), s;
21764
21750
  }
21765
21751
  constructor() {
21766
- fh(this, "parser", xt(md, dd));
21752
+ fh(this, "parser", xt(md));
21767
21753
  }
21768
21754
  }
21769
21755
  function yh(i, t, e) {
21770
21756
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21771
21757
  }
21772
- fh(_h, "ForEntityName", "SECTION");
21773
- let pd = { points: [], thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, gd = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 39, name: "thickness", parser: v }, { code: [...ni(10, 14)], name: "points", isMultiple: !0, parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21758
+ fh(_h, "ForEntityName", "REGION");
21759
+ let pd = { vertices: [], backLineVertices: [] }, gd = [{ code: 360, name: "geometrySettingHardId", parser: v }, { code: 12, name: "backLineVertices", isMultiple: !0, parser: j }, { code: 93, name: "numberOfBackLineVertices", parser: v }, { code: 11, name: "vertices", isMultiple: !0, parser: j }, { code: 92, name: "verticesCount", parser: v }, { code: [63, 411], name: "indicatorColor", parser: v }, { code: 70, name: "indicatorTransparency", parser: v }, { code: 41, name: "bottomHeight", parser: v }, { code: 40, name: "topHeight", parser: v }, { code: 10, name: "verticalDirection", parser: j }, { code: 1, name: "name", parser: v }, { code: 91, name: "flag", parser: v }, { code: 90, name: "state", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21774
21760
  class vh {
21775
21761
  parseEntity(t, e) {
21776
21762
  let s = {};
@@ -21783,33 +21769,47 @@ class vh {
21783
21769
  function xh(i, t, e) {
21784
21770
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21785
21771
  }
21786
- yh(vh, "ForEntityName", "SOLID");
21787
- let fd = [{ code: 350, name: "historyObjectSoftId", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...oi("data"), { code: 70, name: "version", parser: v }, { code: 100 }, ...Ut];
21772
+ yh(vh, "ForEntityName", "SECTION");
21773
+ let fd = { points: [], thickness: 0, extrusionDirection: { x: 0, y: 0, z: 1 } }, _d = [{ code: 210, name: "extrusionDirection", parser: j }, { code: 39, name: "thickness", parser: v }, { code: [...ni(10, 14)], name: "points", isMultiple: !0, parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21788
21774
  class bh {
21789
21775
  parseEntity(t, e) {
21790
21776
  let s = {};
21791
21777
  return this.parser(e, t, s), s;
21792
21778
  }
21793
21779
  constructor() {
21794
- xh(this, "parser", xt(fd));
21780
+ xh(this, "parser", xt(_d, fd));
21795
21781
  }
21796
21782
  }
21797
- xh(bh, "ForEntityName", "3DSOLID");
21798
- (Be = {})[Be.NONE = 0] = "NONE", Be[Be.CLOSED = 1] = "CLOSED", Be[Be.PERIODIC = 2] = "PERIODIC", Be[Be.RATIONAL = 4] = "RATIONAL", Be[Be.PLANAR = 8] = "PLANAR", Be[Be.LINEAR = 16] = "LINEAR";
21799
21783
  function wh(i, t, e) {
21800
21784
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21801
21785
  }
21802
- let _d = { knotTolerance: 1e-6, controlTolerance: 1e-6, fitTolerance: 1e-9, knotValues: [], controlPoints: [], fitPoints: [] }, yd = [{ code: 11, name: "fitPoints", isMultiple: !0, parser: j }, { code: 10, name: "controlPoints", isMultiple: !0, parser: j }, { code: 41, name: "weights", isMultiple: !0, parser: v }, { code: 40, name: "knots", isMultiple: !0, parser: v }, { code: 13, name: "endTangent", parser: j }, { code: 12, name: "startTangent", parser: j }, { code: 44, name: "fitTolerance", parser: v }, { code: 43, name: "controlTolerance", parser: v }, { code: 42, name: "knotTolerance", parser: v }, { code: 74, name: "numberOfFitPoints", parser: v }, { code: 73, name: "numberOfControlPoints", parser: v }, { code: 72, name: "numberOfKnots", parser: v }, { code: 71, name: "degree", parser: v }, { code: 70, name: "flag", parser: v }, { code: 210, name: "normal", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21786
+ xh(bh, "ForEntityName", "SOLID");
21787
+ let yd = [{ code: 350, name: "historyObjectSoftId", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...li("data"), { code: 70, name: "version", parser: v }, { code: 100 }, ...Ut];
21803
21788
  class Ah {
21804
21789
  parseEntity(t, e) {
21805
21790
  let s = {};
21806
21791
  return this.parser(e, t, s), s;
21807
21792
  }
21808
21793
  constructor() {
21809
- wh(this, "parser", xt(yd, _d));
21794
+ wh(this, "parser", xt(yd));
21795
+ }
21796
+ }
21797
+ wh(Ah, "ForEntityName", "3DSOLID");
21798
+ (Be = {})[Be.NONE = 0] = "NONE", Be[Be.CLOSED = 1] = "CLOSED", Be[Be.PERIODIC = 2] = "PERIODIC", Be[Be.RATIONAL = 4] = "RATIONAL", Be[Be.PLANAR = 8] = "PLANAR", Be[Be.LINEAR = 16] = "LINEAR";
21799
+ function Sh(i, t, e) {
21800
+ return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21801
+ }
21802
+ let vd = { knotTolerance: 1e-6, controlTolerance: 1e-6, fitTolerance: 1e-9, knotValues: [], controlPoints: [], fitPoints: [] }, xd = [{ code: 11, name: "fitPoints", isMultiple: !0, parser: j }, { code: 10, name: "controlPoints", isMultiple: !0, parser: j }, { code: 41, name: "weights", isMultiple: !0, parser: v }, { code: 40, name: "knots", isMultiple: !0, parser: v }, { code: 13, name: "endTangent", parser: j }, { code: 12, name: "startTangent", parser: j }, { code: 44, name: "fitTolerance", parser: v }, { code: 43, name: "controlTolerance", parser: v }, { code: 42, name: "knotTolerance", parser: v }, { code: 74, name: "numberOfFitPoints", parser: v }, { code: 73, name: "numberOfControlPoints", parser: v }, { code: 72, name: "numberOfKnots", parser: v }, { code: 71, name: "degree", parser: v }, { code: 70, name: "flag", parser: v }, { code: 210, name: "normal", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21803
+ class Ih {
21804
+ parseEntity(t, e) {
21805
+ let s = {};
21806
+ return this.parser(e, t, s), s;
21807
+ }
21808
+ constructor() {
21809
+ Sh(this, "parser", xt(xd, vd));
21810
21810
  }
21811
21811
  }
21812
- wh(Ah, "ForEntityName", "SPLINE");
21812
+ Sh(Ih, "ForEntityName", "SPLINE");
21813
21813
  class Ks {
21814
21814
  parseEntity(t, e) {
21815
21815
  let s = {};
@@ -21980,27 +21980,27 @@ class Ks {
21980
21980
  }(t, e)), e = t.lastReadGroup;
21981
21981
  break;
21982
21982
  default:
21983
- ya(s, e, t), e = t.next();
21983
+ va(s, e, t), e = t.next();
21984
21984
  }
21985
21985
  }
21986
21986
  return s;
21987
21987
  }
21988
21988
  }
21989
- function Sh(i, t, e) {
21989
+ function Ph(i, t, e) {
21990
21990
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
21991
21991
  }
21992
- ki = "ACAD_TABLE", (Ei = "ForEntityName") in Ks ? Object.defineProperty(Ks, Ei, { value: ki, enumerable: !0, configurable: !0, writable: !0 }) : Ks[Ei] = ki;
21993
- let vd = [{ code: 11, name: "xAxisDirection", parser: j }, { code: 210, name: "extrusionDirection", parser: j }, { code: 1, name: "text", parser: v }, { code: 10, name: "position", parser: j }, { code: 3, name: "styleName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21994
- class Ih {
21992
+ Ti = "ACAD_TABLE", (ki = "ForEntityName") in Ks ? Object.defineProperty(Ks, ki, { value: Ti, enumerable: !0, configurable: !0, writable: !0 }) : Ks[ki] = Ti;
21993
+ let bd = [{ code: 11, name: "xAxisDirection", parser: j }, { code: 210, name: "extrusionDirection", parser: j }, { code: 1, name: "text", parser: v }, { code: 10, name: "position", parser: j }, { code: 3, name: "styleName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
21994
+ class Eh {
21995
21995
  parseEntity(t, e) {
21996
21996
  let s = {};
21997
21997
  return this.parser(e, t, s), s;
21998
21998
  }
21999
21999
  constructor() {
22000
- Sh(this, "parser", xt(vd));
22000
+ Ph(this, "parser", xt(bd));
22001
22001
  }
22002
22002
  }
22003
- Sh(Ih, "ForEntityName", "TOLERANCE");
22003
+ Ph(Eh, "ForEntityName", "TOLERANCE");
22004
22004
  class $s {
22005
22005
  parseEntity(t, e) {
22006
22006
  let s = {};
@@ -22155,45 +22155,45 @@ class $s {
22155
22155
  o.softPointer = c.value;
22156
22156
  }
22157
22157
  return !0;
22158
- }(s, t, e) && ya(s, e, t), e = t.next();
22158
+ }(s, t, e) && va(s, e, t), e = t.next();
22159
22159
  }
22160
22160
  return s;
22161
22161
  }
22162
22162
  }
22163
- Mi = "VIEWPORT", (Ti = "ForEntityName") in $s ? Object.defineProperty($s, Ti, { value: Mi, enumerable: !0, configurable: !0, writable: !0 }) : $s[Ti] = Mi;
22163
+ Ni = "VIEWPORT", (Mi = "ForEntityName") in $s ? Object.defineProperty($s, Mi, { value: Ni, enumerable: !0, configurable: !0, writable: !0 }) : $s[Mi] = Ni;
22164
22164
  (Sr = {})[Sr.ShowImage = 1] = "ShowImage", Sr[Sr.ShowImageWhenNotAligned = 2] = "ShowImageWhenNotAligned", Sr[Sr.UseClippingBoundary = 4] = "UseClippingBoundary", Sr[Sr.Transparency = 8] = "Transparency";
22165
- function Ph(i, t, e) {
22165
+ function kh(i, t, e) {
22166
22166
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
22167
22167
  }
22168
- let xd = { brightness: 50, constrast: 50, fade: 0 }, bd = [{ code: 14, name: "boundary", isMultiple: !0, parser: j }, { code: 91, name: "numberOfVertices", parser: v }, { code: 71, name: "boundaryType", parser: v }, { code: 360, name: "imageDefReactorHardId", parser: v }, { code: 283, name: "fade", parser: v }, { code: 282, name: "contrast", parser: v }, { code: 281, name: "brightness", parser: v }, { code: 280, name: "isClipping", parser: Bt }, { code: 70, name: "displayFlag", parser: v }, { code: 340, name: "imageDefHardId", parser: v }, { code: 13, name: "imageSize", parser: j }, { code: 12, name: "vDirection", parser: j }, { code: 11, name: "uDirection", parser: j }, { code: 10, name: "position", parser: j }, { code: 90, name: "classVersion", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
22169
- class Eh {
22168
+ let wd = { brightness: 50, constrast: 50, fade: 0 }, Ad = [{ code: 14, name: "boundary", isMultiple: !0, parser: j }, { code: 91, name: "numberOfVertices", parser: v }, { code: 71, name: "boundaryType", parser: v }, { code: 360, name: "imageDefReactorHardId", parser: v }, { code: 283, name: "fade", parser: v }, { code: 282, name: "contrast", parser: v }, { code: 281, name: "brightness", parser: v }, { code: 280, name: "isClipping", parser: Bt }, { code: 70, name: "displayFlag", parser: v }, { code: 340, name: "imageDefHardId", parser: v }, { code: 13, name: "imageSize", parser: j }, { code: 12, name: "vDirection", parser: j }, { code: 11, name: "uDirection", parser: j }, { code: 10, name: "position", parser: j }, { code: 90, name: "classVersion", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
22169
+ class Th {
22170
22170
  parseEntity(t, e) {
22171
22171
  let s = {};
22172
22172
  return this.parser(e, t, s), s;
22173
22173
  }
22174
22174
  constructor() {
22175
- Ph(this, "parser", xt(bd, xd));
22175
+ kh(this, "parser", xt(Ad, wd));
22176
22176
  }
22177
22177
  }
22178
- function kh(i, t, e) {
22178
+ function Mh(i, t, e) {
22179
22179
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
22180
22180
  }
22181
- Ph(Eh, "ForEntityName", "WIPEOUT");
22182
- let wd = [{ code: 11, name: "direction", parser: j }, { code: 10, name: "position", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
22183
- class Th {
22181
+ kh(Th, "ForEntityName", "WIPEOUT");
22182
+ let Sd = [{ code: 11, name: "direction", parser: j }, { code: 10, name: "position", parser: j }, { code: 100, name: "subclassMarker", parser: v }, ...Ut];
22183
+ class Nh {
22184
22184
  parseEntity(t, e) {
22185
22185
  let s = {};
22186
22186
  return this.parser(e, t, s), s;
22187
22187
  }
22188
22188
  constructor() {
22189
- kh(this, "parser", xt(wd));
22189
+ Mh(this, "parser", xt(Sd));
22190
22190
  }
22191
22191
  }
22192
- function Mh(i, t, e) {
22192
+ function Ch(i, t, e) {
22193
22193
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
22194
22194
  }
22195
- kh(Th, "ForEntityName", "XLINE");
22196
- let Ad = {}, Sd = [{ code: 170, name: "multileaderType", parser: v }, { code: 291, name: "doglegEnabled", parser: Bt }, { code: 40, name: "doglegLength", parser: v }, { code: 172, name: "contentType", parser: v }, { code: 3, name: "textContent", parser: v }, { code: 12, name: "textAnchor", parser: j }, { code: 344, name: "blockHandle", parser: v }, { code: 15, name: "blockPosition", parser: j }, { code: 302, name: "leaderSections", parser: function(i, t, e) {
22195
+ Mh(Nh, "ForEntityName", "XLINE");
22196
+ let Id = {}, Pd = [{ code: 170, name: "multileaderType", parser: v }, { code: 291, name: "doglegEnabled", parser: Bt }, { code: 40, name: "doglegLength", parser: v }, { code: 172, name: "contentType", parser: v }, { code: 3, name: "textContent", parser: v }, { code: 12, name: "textAnchor", parser: j }, { code: 344, name: "blockHandle", parser: v }, { code: 15, name: "blockPosition", parser: j }, { code: 302, name: "leaderSections", parser: function(i, t, e) {
22197
22197
  let s, o = { leaderLines: [] };
22198
22198
  for (; t.hasNext() && (s = t.next()).code !== 303; )
22199
22199
  switch (s.code) {
@@ -22215,18 +22215,18 @@ let Ad = {}, Sd = [{ code: 170, name: "multileaderType", parser: v }, { code: 29
22215
22215
  }
22216
22216
  return o;
22217
22217
  }, isMultiple: !0 }, ...Ut];
22218
- class Nh {
22218
+ class Lh {
22219
22219
  parseEntity(t, e) {
22220
22220
  let s = {};
22221
22221
  return this.parser(e, t, s), s;
22222
22222
  }
22223
22223
  constructor() {
22224
- Mh(this, "parser", xt(Sd, Ad));
22224
+ Ch(this, "parser", xt(Pd, Id));
22225
22225
  }
22226
22226
  }
22227
- Mh(Nh, "ForEntityName", "MULTILEADER");
22228
- let Id = Object.fromEntries([Tl, zl, Dl, Vl, jl, qs, Hl, ql, Ql, th, rh, sh, Xs, ah, Fl, Nh, lh, ch, mh, gh, _h, vh, bh, Ah, Ks, Ll, Ih, $l, va, $s, Eh, Th].map((i) => [i.ForEntityName, new i()]));
22229
- function Ch(i, t) {
22227
+ Ch(Lh, "ForEntityName", "MULTILEADER");
22228
+ let Ed = Object.fromEntries([Nl, Fl, Vl, jl, Hl, qs, ql, Kl, th, rh, sh, ah, Xs, lh, Dl, Lh, uh, mh, gh, _h, vh, bh, Ah, Ih, Ks, zl, Eh, Ql, xa, $s, Th, Nh].map((i) => [i.ForEntityName, new i()]));
22229
+ function Oh(i, t) {
22230
22230
  let e = [];
22231
22231
  for (; !At(i, 0, "EOF"); ) {
22232
22232
  if (i.code === 0) {
@@ -22234,30 +22234,30 @@ function Ch(i, t) {
22234
22234
  t.rewind();
22235
22235
  break;
22236
22236
  }
22237
- let s = Id[i.value];
22237
+ let s = Ed[i.value];
22238
22238
  if (s) {
22239
22239
  let o = i.value;
22240
22240
  i = t.next();
22241
22241
  let h = s.parseEntity(t, i);
22242
- h.type = o, Pl(h), e.push(h);
22242
+ h.type = o, kl(h), e.push(h);
22243
22243
  } else t.debug && console.warn(`Unsupported ENTITY type: ${i.value}`);
22244
22244
  }
22245
22245
  i = t.next();
22246
22246
  }
22247
22247
  return e;
22248
22248
  }
22249
- function Pd(i, t) {
22249
+ function kd(i, t) {
22250
22250
  let e = {};
22251
22251
  for (; !At(i, 0, "EOF") && !At(i, 0, "ENDSEC"); ) {
22252
22252
  if (At(i, 0, "BLOCK")) {
22253
- let s = Ed(i = t.next(), t);
22254
- Pl(s), s.name && (e[s.name] = s);
22253
+ let s = Td(i = t.next(), t);
22254
+ kl(s), s.name && (e[s.name] = s);
22255
22255
  }
22256
22256
  i = t.next();
22257
22257
  }
22258
22258
  return e;
22259
22259
  }
22260
- function Ed(i, t) {
22260
+ function Td(i, t) {
22261
22261
  let e = {};
22262
22262
  for (; !At(i, 0, "EOF"); ) {
22263
22263
  if (At(i, 0, "ENDBLK")) {
@@ -22298,30 +22298,30 @@ function Ed(i, t) {
22298
22298
  e.ownerHandle = i.value;
22299
22299
  break;
22300
22300
  case 0:
22301
- e.entities = Ch(i, t);
22301
+ e.entities = Oh(i, t);
22302
22302
  }
22303
22303
  i = t.next();
22304
22304
  }
22305
22305
  return e;
22306
22306
  }
22307
- function kd(i, t) {
22307
+ function Md(i, t) {
22308
22308
  let e = null, s = {};
22309
22309
  for (; !At(i, 0, "EOF") && !At(i, 0, "ENDSEC"); ) i.code === 9 ? e = i.value : i.code === 10 ? s[e] = Rt(t) : s[e] = i.value, i = t.next();
22310
22310
  return s;
22311
22311
  }
22312
22312
  (De = {})[De.NOT_APPLICABLE = 0] = "NOT_APPLICABLE", De[De.KEEP_EXISTING = 1] = "KEEP_EXISTING", De[De.USE_CLONE = 2] = "USE_CLONE", De[De.XREF_VALUE_NAME = 3] = "XREF_VALUE_NAME", De[De.VALUE_NAME = 4] = "VALUE_NAME", De[De.UNMANGLE_NAME = 5] = "UNMANGLE_NAME";
22313
- let xa = [{ code: 330, name: "ownerObjectId", parser: v }, { code: 102, parser: ln }, { code: 102, parser: ln }, { code: 102, parser: ln }, { code: 5, name: "handle", parser: v }], Td = [{ code: 3, name: "entries", parser: (i, t) => {
22313
+ let ba = [{ code: 330, name: "ownerObjectId", parser: v }, { code: 102, parser: ln }, { code: 102, parser: ln }, { code: 102, parser: ln }, { code: 5, name: "handle", parser: v }], Nd = [{ code: 3, name: "entries", parser: (i, t) => {
22314
22314
  let e = { name: i.value };
22315
22315
  return (i = t.next()).code === 350 ? e.objectSoftId = i.value : i.code === 360 ? e.objectHardId = i.value : t.rewind(), e;
22316
- }, isMultiple: !0 }, { code: 281, name: "recordCloneFlag", parser: v }, { code: 280, name: "isHardOwned", parser: Bt }, { code: 100, name: "subclassMarker", parser: v }, ...xa], Md = [{ code: 330, name: "imageDefReactorIdSoft", isMultiple: !0, parser: v }, { code: 90, name: "version", parser: v }, { code: 1, name: "fileName", parser: v }, { code: 10, name: "size", parser: j }, { code: 11, name: "sizeOfOnePixel", parser: j }, { code: 280, name: "isLoaded", parser: v }, { code: 281, name: "resolutionUnits", parser: v }, { code: 100, name: "subclassMarker", parser: v }];
22316
+ }, isMultiple: !0 }, { code: 281, name: "recordCloneFlag", parser: v }, { code: 280, name: "isHardOwned", parser: Bt }, { code: 100, name: "subclassMarker", parser: v }, ...ba], Cd = [{ code: 330, name: "imageDefReactorIdSoft", isMultiple: !0, parser: v }, { code: 90, name: "version", parser: v }, { code: 1, name: "fileName", parser: v }, { code: 10, name: "size", parser: j }, { code: 11, name: "sizeOfOnePixel", parser: j }, { code: 280, name: "isLoaded", parser: v }, { code: 281, name: "resolutionUnits", parser: v }, { code: 100, name: "subclassMarker", parser: v }];
22317
22317
  (nn = {})[nn.NOUNIT = 0] = "NOUNIT", nn[nn.CENTIMETERS = 2] = "CENTIMETERS", nn[nn.INCH = 5] = "INCH";
22318
22318
  (vs = {})[vs.PSLTSCALE = 1] = "PSLTSCALE", vs[vs.LIMCHECK = 2] = "LIMCHECK";
22319
22319
  (sn = {})[sn.INCHES = 0] = "INCHES", sn[sn.MILLIMETERS = 1] = "MILLIMETERS", sn[sn.PIXELS = 2] = "PIXELS";
22320
22320
  (Ue = {})[Ue.LAST_SCREEN_DISPLAY = 0] = "LAST_SCREEN_DISPLAY", Ue[Ue.DRAWING_EXTENTS = 1] = "DRAWING_EXTENTS", Ue[Ue.DRAWING_LIMITS = 2] = "DRAWING_LIMITS", Ue[Ue.VIEW_SPECIFIED = 3] = "VIEW_SPECIFIED", Ue[Ue.WINDOW_SPECIFIED = 4] = "WINDOW_SPECIFIED", Ue[Ue.LAYOUT_INFORMATION = 5] = "LAYOUT_INFORMATION";
22321
22321
  (Ir = {})[Ir.AS_DISPLAYED = 0] = "AS_DISPLAYED", Ir[Ir.WIREFRAME = 1] = "WIREFRAME", Ir[Ir.HIDDEN = 2] = "HIDDEN", Ir[Ir.RENDERED = 3] = "RENDERED";
22322
22322
  (Ve = {})[Ve.DRAFT = 0] = "DRAFT", Ve[Ve.PREVIEW = 1] = "PREVIEW", Ve[Ve.NORMAL = 2] = "NORMAL", Ve[Ve.PRESENTATION = 3] = "PRESENTATION", Ve[Ve.MAXIMUM = 4] = "MAXIMUM", Ve[Ve.CUSTOM = 5] = "CUSTOM";
22323
- let Lh = [{ code: 333, name: "shadePlotId", parser: v }, { code: 149, name: "imageOriginY", parser: v }, { code: 148, name: "imageOriginX", parser: v }, { code: 147, name: "scaleFactor", parser: v }, { code: 78, name: "shadePlotCustomDPI", parser: v }, { code: 77, name: "shadePlotResolution", parser: v }, { code: 76, name: "shadePlotMode", parser: v }, { code: 75, name: "standardScaleType", parser: v }, { code: 7, name: "currentStyleSheet", parser: v }, { code: 74, name: "plotType", parser: v }, { code: 73, name: "plotRotation", parser: v }, { code: 72, name: "plotPaperUnit", parser: v }, { code: 70, name: "layoutFlag", parser: v }, { code: 143, name: "printScaleDenominator", parser: v }, { code: 142, name: "printScaleNumerator", parser: v }, { code: 141, name: "windowAreaYMax", parser: v }, { code: 140, name: "windowAreaXMax", parser: v }, { code: 49, name: "windowAreaYMin", parser: v }, { code: 48, name: "windowAreaXMin", parser: v }, { code: 47, name: "plotOriginY", parser: v }, { code: 46, name: "plotOriginX", parser: v }, { code: 45, name: "paperHeight", parser: v }, { code: 44, name: "paperWidth", parser: v }, { code: 43, name: "marginTop", parser: v }, { code: 42, name: "marginRight", parser: v }, { code: 41, name: "marginBottom", parser: v }, { code: 40, name: "marginLeft", parser: v }, { code: 6, name: "plotViewName", parser: v }, { code: 4, name: "paperSize", parser: v }, { code: 2, name: "configName", parser: v }, { code: 1, name: "pageSetupName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...xa], Nd = [{ code: 346, name: "orthographicUcsId", parser: v }, { code: 345, name: "namedUcsId", parser: v }, { code: 331, name: "viewportId", parser: v }, { code: 330, name: "paperSpaceTableId", parser: v }, { code: 76, name: "orthographicType", parser: v }, { code: 17, name: "ucsYAxis", parser: j }, { code: 16, name: "ucsXAxis", parser: j }, { code: 13, name: "ucsOrigin", parser: j }, { code: 146, name: "elevation", parser: v }, { code: 15, name: "maxExtent", parser: j }, { code: 14, name: "minExtent", parser: j }, { code: 12, name: "insertionPoint", parser: j }, { code: 11, name: "maxLimit", parser: j }, { code: 10, name: "minLimit", parser: j }, { code: 71, name: "tabOrder", parser: v }, { code: 70, name: "controlFlag", parser: v }, { code: 1, name: "layoutName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...Lh], Cd = [{ code: 40, name: "wcsToOCSTransform", parser: Oo }, { code: 40, name: "ocsToWCSTransform", parser: Oo }, { code: 41, name: "backClippingDistance", parser: v }, { code: 73, name: "isBackClipping", parser: Bt, pushContext: !0 }, { code: 40, name: "frontClippingDistance", parser: v }, { code: 72, name: "isFrontClipping", parser: Bt, pushContext: !0 }, { code: 71, name: "isClipBoundaryDisplayed", parser: Bt }, { code: 11, name: "position", parser: j }, { code: 210, name: "normal", parser: j }, { code: 10, name: "boundaryVertices", parser: j, isMultiple: !0 }, { code: 70, name: "boundaryCount", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 100 }, ...xa];
22324
- function Oo(i, t) {
22323
+ let zh = [{ code: 333, name: "shadePlotId", parser: v }, { code: 149, name: "imageOriginY", parser: v }, { code: 148, name: "imageOriginX", parser: v }, { code: 147, name: "scaleFactor", parser: v }, { code: 78, name: "shadePlotCustomDPI", parser: v }, { code: 77, name: "shadePlotResolution", parser: v }, { code: 76, name: "shadePlotMode", parser: v }, { code: 75, name: "standardScaleType", parser: v }, { code: 7, name: "currentStyleSheet", parser: v }, { code: 74, name: "plotType", parser: v }, { code: 73, name: "plotRotation", parser: v }, { code: 72, name: "plotPaperUnit", parser: v }, { code: 70, name: "layoutFlag", parser: v }, { code: 143, name: "printScaleDenominator", parser: v }, { code: 142, name: "printScaleNumerator", parser: v }, { code: 141, name: "windowAreaYMax", parser: v }, { code: 140, name: "windowAreaXMax", parser: v }, { code: 49, name: "windowAreaYMin", parser: v }, { code: 48, name: "windowAreaXMin", parser: v }, { code: 47, name: "plotOriginY", parser: v }, { code: 46, name: "plotOriginX", parser: v }, { code: 45, name: "paperHeight", parser: v }, { code: 44, name: "paperWidth", parser: v }, { code: 43, name: "marginTop", parser: v }, { code: 42, name: "marginRight", parser: v }, { code: 41, name: "marginBottom", parser: v }, { code: 40, name: "marginLeft", parser: v }, { code: 6, name: "plotViewName", parser: v }, { code: 4, name: "paperSize", parser: v }, { code: 2, name: "configName", parser: v }, { code: 1, name: "pageSetupName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...ba], Ld = [{ code: 346, name: "orthographicUcsId", parser: v }, { code: 345, name: "namedUcsId", parser: v }, { code: 331, name: "viewportId", parser: v }, { code: 330, name: "paperSpaceTableId", parser: v }, { code: 76, name: "orthographicType", parser: v }, { code: 17, name: "ucsYAxis", parser: j }, { code: 16, name: "ucsXAxis", parser: j }, { code: 13, name: "ucsOrigin", parser: j }, { code: 146, name: "elevation", parser: v }, { code: 15, name: "maxExtent", parser: j }, { code: 14, name: "minExtent", parser: j }, { code: 12, name: "insertionPoint", parser: j }, { code: 11, name: "maxLimit", parser: j }, { code: 10, name: "minLimit", parser: j }, { code: 71, name: "tabOrder", parser: v }, { code: 70, name: "controlFlag", parser: v }, { code: 1, name: "layoutName", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...zh], Od = [{ code: 40, name: "wcsToOCSTransform", parser: zo }, { code: 40, name: "ocsToWCSTransform", parser: zo }, { code: 41, name: "backClippingDistance", parser: v }, { code: 73, name: "isBackClipping", parser: Bt, pushContext: !0 }, { code: 40, name: "frontClippingDistance", parser: v }, { code: 72, name: "isFrontClipping", parser: Bt, pushContext: !0 }, { code: 71, name: "isClipBoundaryDisplayed", parser: Bt }, { code: 11, name: "position", parser: j }, { code: 210, name: "normal", parser: j }, { code: 10, name: "boundaryVertices", parser: j, isMultiple: !0 }, { code: 70, name: "boundaryCount", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 100 }, ...ba];
22324
+ function zo(i, t) {
22325
22325
  let e = [];
22326
22326
  for (let s = 0; s < 3 && At(i, 40); ++s) {
22327
22327
  let o = [];
@@ -22330,39 +22330,39 @@ function Oo(i, t) {
22330
22330
  }
22331
22331
  return t.rewind(), e;
22332
22332
  }
22333
- let Ld = { LAYOUT: Nd, PLOTSETTINGS: Lh, DICTIONARY: Td, SPATIAL_FILTER: Cd, IMAGEDEF: Md };
22334
- function Od(i, t) {
22333
+ let zd = { LAYOUT: Ld, PLOTSETTINGS: zh, DICTIONARY: Nd, SPATIAL_FILTER: Od, IMAGEDEF: Cd };
22334
+ function Rd(i, t) {
22335
22335
  let e = [];
22336
22336
  for (; i.code !== 0 || !["EOF", "ENDSEC"].includes(i.value); ) {
22337
- let s = i.value, o = Ld[s];
22337
+ let s = i.value, o = zd[s];
22338
22338
  if (i.code === 0 && (o != null && o.length)) {
22339
22339
  let h = xt(o), c = { name: s };
22340
22340
  h(i = t.next(), t, c) ? (e.push(c), i = t.peek()) : i = t.next();
22341
22341
  } else i = t.next();
22342
22342
  }
22343
- return { byName: Sc(e, ({ name: s }) => s) };
22343
+ return { byName: Pc(e, ({ name: s }) => s) };
22344
22344
  }
22345
22345
  let On = [{ code: 100, name: "subclassMarker", parser: v }, { code: 330, name: "ownerObjectId", parser: v }, { code: 102, parser(i, t) {
22346
22346
  for (; !At(i, 0, "EOF") && !At(i, 102, "}"); ) i = t.next();
22347
- } }, { code: 5, name: "handle", parser: v }], zd = xt([{ code: 310, name: "bmpPreview", parser: v }, { code: 281, name: "scalability", parser: v }, { code: 280, name: "explodability", parser: v }, { code: 70, name: "insertionUnits", parser: v }, { code: 340, name: "layoutObjects", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), Rd = [{ name: "DIMPOST", code: 3 }, { name: "DIMAPOST", code: 4 }, { name: "DIMBLK_OBSOLETE", code: 5 }, { name: "DIMBLK1_OBSOLETE", code: 6 }, { name: "DIMBLK2_OBSOLETE", code: 7 }, { name: "DIMSCALE", code: 40, defaultValue: 1 }, { name: "DIMASZ", code: 41, defaultValue: 0.25 }, { name: "DIMEXO", code: 42, defaultValue: 0.625, defaultValueImperial: 0.0625 }, { name: "DIMDLI", code: 43, defaultValue: 3.75, defaultValueImperial: 0.38 }, { name: "DIMEXE", code: 44, defaultValue: 2.25, defaultValueImperial: 0.28 }, { name: "DIMRND", code: 45, defaultValue: 0 }, { name: "DIMDLE", code: 46, defaultValue: 0 }, { name: "DIMTP", code: 47, defaultValue: 0 }, { name: "DIMTM", code: 48, defaultValue: 0 }, { name: "DIMTXT", code: 140, defaultValue: 2.5, defaultValueImperial: 0.28 }, { name: "DIMCEN", code: 141, defaultValue: 2.5, defaultValueImperial: 0.09 }, { name: "DIMTSZ", code: 142, defaultValue: 0 }, { name: "DIMALTF", code: 143, defaultValue: 25.4 }, { name: "DIMLFAC", code: 144, defaultValue: 1 }, { name: "DIMTVP", code: 145, defaultValue: 0 }, { name: "DIMTFAC", code: 146, defaultValue: 1 }, { name: "DIMGAP", code: 147, defaultValue: 0.625, defaultValueImperial: 0.09 }, { name: "DIMALTRND", code: 148, defaultValue: 0 }, { name: "DIMTOL", code: 71, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMLIM", code: 72, defaultValue: 0 }, { name: "DIMTIH", code: 73, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMTOH", code: 74, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMSE1", code: 75, defaultValue: 0 }, { name: "DIMSE2", code: 76, defaultValue: 0 }, { name: "DIMTAD", code: 77, defaultValue: Co.Above, defaultValueImperial: Co.Center }, { name: "DIMZIN", code: 78, defaultValue: Mn.Trailing, defaultValueImperial: Mn.Feet }, { name: "DIMAZIN", code: 79, defaultValue: uc.None }, { name: "DIMALT", code: 170, defaultValue: 0 }, { name: "DIMALTD", code: 171, defaultValue: 3, defaultValueImperial: 2 }, { name: "DIMTOFL", code: 172, defaultValue: 1, defaultValueImperial: 0 }, { name: "DIMSAH", code: 173, defaultValue: 0 }, { name: "DIMTIX", code: 174, defaultValue: 0 }, { name: "DIMSOXD", code: 175, defaultValue: 0 }, { name: "DIMCLRD", code: 176, defaultValue: 0 }, { name: "DIMCLRE", code: 177, defaultValue: 0 }, { name: "DIMCLRT", code: 178, defaultValue: 0 }, { name: "DIMADEC", code: 179 }, { name: "DIMUNIT", code: 270 }, { name: "DIMDEC", code: 271, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMTDEC", code: 272, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMALTU", code: 273, defaultValue: 2 }, { name: "DIMALTTD", code: 274, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMAUNIT", code: 275, defaultValue: 0 }, { name: "DIMFRAC", code: 276, defaultValue: 0 }, { name: "DIMLUNIT", code: 277, defaultValue: 2 }, { name: "DIMDSEP", code: 278, defaultValue: ",", defaultValueImperial: "." }, { name: "DIMJUST", code: 280, defaultValue: cc.Center }, { name: "DIMSD1", code: 281, defaultValue: 0 }, { name: "DIMSD2", code: 282, defaultValue: 0 }, { name: "DIMTOLJ", code: 283, defaultValue: dc.Center }, { name: "DIMTZIN", code: 284, defaultValue: Mn.Trailing, defaultValueImperial: Mn.Feet }, { name: "DIMALTZ", code: 285, defaultValue: Mn.Trailing }, { name: "DIMALTTZ", code: 286, defaultValue: Mn.Trailing }, { name: "DIMFIT", code: 287 }, { name: "DIMUPT", code: 288, defaultValue: 0 }, { name: "DIMATFIT", code: 289, defaultValue: 3 }, { name: "DIMTXSTY", code: 340 }, { name: "DIMLDRBLK", code: 341 }, { name: "DIMBLK", code: 342 }, { name: "DIMBLK1", code: 343 }, { name: "DIMBLK2", code: 344 }, { name: "DIMLWD", code: 371, defaultValue: -2 }, { name: "DIMLWD", code: 372, defaultValue: -2 }], Fd = xt([...Rd.map((i) => ({ ...i, parser: v })), { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 105, name: "handle", parser: v }, ...On.filter((i) => i.code !== 5)]), Bd = xt([{ code: 347, name: "materialObjectId", parser: v }, { code: 390, name: "plotStyleNameObjectId", parser: v }, { code: 370, name: "lineweight", parser: v }, { code: 290, name: "isPlotting", parser: Bt }, { code: 6, name: "lineType", parser: v }, { code: 62, name: "colorIndex", parser: v }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]);
22347
+ } }, { code: 5, name: "handle", parser: v }], Fd = xt([{ code: 310, name: "bmpPreview", parser: v }, { code: 281, name: "scalability", parser: v }, { code: 280, name: "explodability", parser: v }, { code: 70, name: "insertionUnits", parser: v }, { code: 340, name: "layoutObjects", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), Bd = [{ name: "DIMPOST", code: 3 }, { name: "DIMAPOST", code: 4 }, { name: "DIMBLK_OBSOLETE", code: 5 }, { name: "DIMBLK1_OBSOLETE", code: 6 }, { name: "DIMBLK2_OBSOLETE", code: 7 }, { name: "DIMSCALE", code: 40, defaultValue: 1 }, { name: "DIMASZ", code: 41, defaultValue: 0.25 }, { name: "DIMEXO", code: 42, defaultValue: 0.625, defaultValueImperial: 0.0625 }, { name: "DIMDLI", code: 43, defaultValue: 3.75, defaultValueImperial: 0.38 }, { name: "DIMEXE", code: 44, defaultValue: 2.25, defaultValueImperial: 0.28 }, { name: "DIMRND", code: 45, defaultValue: 0 }, { name: "DIMDLE", code: 46, defaultValue: 0 }, { name: "DIMTP", code: 47, defaultValue: 0 }, { name: "DIMTM", code: 48, defaultValue: 0 }, { name: "DIMTXT", code: 140, defaultValue: 2.5, defaultValueImperial: 0.28 }, { name: "DIMCEN", code: 141, defaultValue: 2.5, defaultValueImperial: 0.09 }, { name: "DIMTSZ", code: 142, defaultValue: 0 }, { name: "DIMALTF", code: 143, defaultValue: 25.4 }, { name: "DIMLFAC", code: 144, defaultValue: 1 }, { name: "DIMTVP", code: 145, defaultValue: 0 }, { name: "DIMTFAC", code: 146, defaultValue: 1 }, { name: "DIMGAP", code: 147, defaultValue: 0.625, defaultValueImperial: 0.09 }, { name: "DIMALTRND", code: 148, defaultValue: 0 }, { name: "DIMTOL", code: 71, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMLIM", code: 72, defaultValue: 0 }, { name: "DIMTIH", code: 73, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMTOH", code: 74, defaultValue: 0, defaultValueImperial: 1 }, { name: "DIMSE1", code: 75, defaultValue: 0 }, { name: "DIMSE2", code: 76, defaultValue: 0 }, { name: "DIMTAD", code: 77, defaultValue: Lo.Above, defaultValueImperial: Lo.Center }, { name: "DIMZIN", code: 78, defaultValue: Mn.Trailing, defaultValueImperial: Mn.Feet }, { name: "DIMAZIN", code: 79, defaultValue: dc.None }, { name: "DIMALT", code: 170, defaultValue: 0 }, { name: "DIMALTD", code: 171, defaultValue: 3, defaultValueImperial: 2 }, { name: "DIMTOFL", code: 172, defaultValue: 1, defaultValueImperial: 0 }, { name: "DIMSAH", code: 173, defaultValue: 0 }, { name: "DIMTIX", code: 174, defaultValue: 0 }, { name: "DIMSOXD", code: 175, defaultValue: 0 }, { name: "DIMCLRD", code: 176, defaultValue: 0 }, { name: "DIMCLRE", code: 177, defaultValue: 0 }, { name: "DIMCLRT", code: 178, defaultValue: 0 }, { name: "DIMADEC", code: 179 }, { name: "DIMUNIT", code: 270 }, { name: "DIMDEC", code: 271, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMTDEC", code: 272, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMALTU", code: 273, defaultValue: 2 }, { name: "DIMALTTD", code: 274, defaultValue: 2, defaultValueImperial: 4 }, { name: "DIMAUNIT", code: 275, defaultValue: 0 }, { name: "DIMFRAC", code: 276, defaultValue: 0 }, { name: "DIMLUNIT", code: 277, defaultValue: 2 }, { name: "DIMDSEP", code: 278, defaultValue: ",", defaultValueImperial: "." }, { name: "DIMJUST", code: 280, defaultValue: mc.Center }, { name: "DIMSD1", code: 281, defaultValue: 0 }, { name: "DIMSD2", code: 282, defaultValue: 0 }, { name: "DIMTOLJ", code: 283, defaultValue: pc.Center }, { name: "DIMTZIN", code: 284, defaultValue: Mn.Trailing, defaultValueImperial: Mn.Feet }, { name: "DIMALTZ", code: 285, defaultValue: Mn.Trailing }, { name: "DIMALTTZ", code: 286, defaultValue: Mn.Trailing }, { name: "DIMFIT", code: 287 }, { name: "DIMUPT", code: 288, defaultValue: 0 }, { name: "DIMATFIT", code: 289, defaultValue: 3 }, { name: "DIMTXSTY", code: 340 }, { name: "DIMLDRBLK", code: 341 }, { name: "DIMBLK", code: 342 }, { name: "DIMBLK1", code: 343 }, { name: "DIMBLK2", code: 344 }, { name: "DIMLWD", code: 371, defaultValue: -2 }, { name: "DIMLWD", code: 372, defaultValue: -2 }], Dd = xt([...Bd.map((i) => ({ ...i, parser: v })), { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 105, name: "handle", parser: v }, ...On.filter((i) => i.code !== 5)]), Ud = xt([{ code: 347, name: "materialObjectId", parser: v }, { code: 390, name: "plotStyleNameObjectId", parser: v }, { code: 370, name: "lineweight", parser: v }, { code: 290, name: "isPlotting", parser: Bt }, { code: 6, name: "lineType", parser: v }, { code: 62, name: "colorIndex", parser: v }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]);
22348
22348
  (Pr = {})[Pr.NONE = 0] = "NONE", Pr[Pr.AbsoluteRotation = 1] = "AbsoluteRotation", Pr[Pr.TextEmbedded = 2] = "TextEmbedded", Pr[Pr.ShapeEmbedded = 4] = "ShapeEmbedded";
22349
- let Dd = xt([{ code: 9, name: "text", parser: v }, { code: 45, name: "offsetY", parser: v }, { code: 44, name: "offsetX", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 46, name: "scale", parser: v }, { code: 340, name: "styleObjectId", parser: v }, { code: 75, name: "shapeNumber", parser: v }, { code: 74, name: "elementTypeFlag", parser: v }, { code: 49, name: "elementLength", parser: v }], { elementTypeFlag: 0, elementLength: 0 }), Ud = xt([{ code: 49, name: "pattern", parser(i, t) {
22349
+ let Vd = xt([{ code: 9, name: "text", parser: v }, { code: 45, name: "offsetY", parser: v }, { code: 44, name: "offsetX", parser: v }, { code: 50, name: "rotation", parser: v }, { code: 46, name: "scale", parser: v }, { code: 340, name: "styleObjectId", parser: v }, { code: 75, name: "shapeNumber", parser: v }, { code: 74, name: "elementTypeFlag", parser: v }, { code: 49, name: "elementLength", parser: v }], { elementTypeFlag: 0, elementLength: 0 }), Gd = xt([{ code: 49, name: "pattern", parser(i, t) {
22350
22350
  let e = {};
22351
- return Dd(i, t, e), e;
22352
- }, isMultiple: !0 }, { code: 40, name: "totalPatternLength", parser: v }, { code: 73, name: "numberOfLineTypes", parser: v }, { code: 72, parser: v }, { code: 3, name: "description", parser: v }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), Vd = xt([{ code: 1e3, name: "extendedFont", parser: v }, { code: 1001 }, { code: 4, name: "bigFont", parser: v }, { code: 3, name: "font", parser: v }, { code: 42, name: "lastHeight", parser: v }, { code: 71, name: "textGenerationFlag", parser: v }, { code: 50, name: "obliqueAngle", parser: v }, { code: 41, name: "widthFactor", parser: v }, { code: 40, name: "fixedTextHeight", parser: v }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), Gd = xt([{ code: [63, 421, 431], name: "ambientColor", parser: v }, { code: 142, name: "contrast", parser: v }, { code: 141, name: "brightness", parser: v }, { code: 282, name: "defaultLightingType", parser: v }, { code: 292, name: "isDefaultLightingOn", parser: Bt }, { code: 348, name: "visualStyleObjectId", parser: v }, { code: 333, name: "shadePlotObjectId", parser: v }, { code: 332, name: "backgroundObjectId", parser: v }, { code: 61, name: "majorGridLines", parser: v }, { code: 170, name: "shadePlotSetting", parser: v }, { code: 146, name: "elevation", parser: v }, { code: 79, name: "orthographicType", parser: v }, { code: 112, name: "ucsYAxis", parser: j }, { code: 111, name: "ucsXAxis", parser: j }, { code: 110, name: "ucsOrigin", parser: j }, { code: 74, name: "ucsIconSetting", parser: v }, { code: 71, name: "viewMode", parser: v }, { code: 281, name: "renderMode", parser: v }, { code: 1, name: "styleSheet", parser: v }, { code: [331, 441], name: "frozenLayers", parser: v, isMultiple: !0 }, { code: 72, name: "circleSides", parser: v }, { code: 51, name: "viewTwistAngle", parser: v }, { code: 50, name: "snapRotationAngle", parser: v }, { code: 45, name: "viewHeight", parser: v }, { code: 44, name: "backClippingPlane", parser: v }, { code: 43, name: "frontClippingPlane", parser: v }, { code: 42, name: "lensLength", parser: v }, { code: 17, name: "viewTarget", parser: j }, { code: 16, name: "viewDirectionFromTarget", parser: j }, { code: 15, name: "gridSpacing", parser: j }, { code: 14, name: "snapSpacing", parser: j }, { code: 13, name: "snapBasePoint", parser: j }, { code: 12, name: "center", parser: j }, { code: 11, name: "upperRightCorner", parser: j }, { code: 10, name: "lowerLeftCorner", parser: j }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), jd = { BLOCK_RECORD: zd, DIMSTYLE: Fd, LAYER: Bd, LTYPE: Ud, STYLE: Vd, VPORT: Gd }, Wd = xt([{ code: 70, name: "maxNumberOfEntries", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 330, name: "ownerObjectId", parser: v }, { code: 102 }, { code: 360, isMultiple: !0 }, { code: 102 }, { code: 5, name: "handle", parser: v }, { code: 2, name: "name", parser: v }]);
22353
- function Hd(i, t) {
22351
+ return Vd(i, t, e), e;
22352
+ }, isMultiple: !0 }, { code: 40, name: "totalPatternLength", parser: v }, { code: 73, name: "numberOfLineTypes", parser: v }, { code: 72, parser: v }, { code: 3, name: "description", parser: v }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), jd = xt([{ code: 1e3, name: "extendedFont", parser: v }, { code: 1001 }, { code: 4, name: "bigFont", parser: v }, { code: 3, name: "font", parser: v }, { code: 42, name: "lastHeight", parser: v }, { code: 71, name: "textGenerationFlag", parser: v }, { code: 50, name: "obliqueAngle", parser: v }, { code: 41, name: "widthFactor", parser: v }, { code: 40, name: "fixedTextHeight", parser: v }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), Wd = xt([{ code: [63, 421, 431], name: "ambientColor", parser: v }, { code: 142, name: "contrast", parser: v }, { code: 141, name: "brightness", parser: v }, { code: 282, name: "defaultLightingType", parser: v }, { code: 292, name: "isDefaultLightingOn", parser: Bt }, { code: 348, name: "visualStyleObjectId", parser: v }, { code: 333, name: "shadePlotObjectId", parser: v }, { code: 332, name: "backgroundObjectId", parser: v }, { code: 61, name: "majorGridLines", parser: v }, { code: 170, name: "shadePlotSetting", parser: v }, { code: 146, name: "elevation", parser: v }, { code: 79, name: "orthographicType", parser: v }, { code: 112, name: "ucsYAxis", parser: j }, { code: 111, name: "ucsXAxis", parser: j }, { code: 110, name: "ucsOrigin", parser: j }, { code: 74, name: "ucsIconSetting", parser: v }, { code: 71, name: "viewMode", parser: v }, { code: 281, name: "renderMode", parser: v }, { code: 1, name: "styleSheet", parser: v }, { code: [331, 441], name: "frozenLayers", parser: v, isMultiple: !0 }, { code: 72, name: "circleSides", parser: v }, { code: 51, name: "viewTwistAngle", parser: v }, { code: 50, name: "snapRotationAngle", parser: v }, { code: 45, name: "viewHeight", parser: v }, { code: 44, name: "backClippingPlane", parser: v }, { code: 43, name: "frontClippingPlane", parser: v }, { code: 42, name: "lensLength", parser: v }, { code: 17, name: "viewTarget", parser: j }, { code: 16, name: "viewDirectionFromTarget", parser: j }, { code: 15, name: "gridSpacing", parser: j }, { code: 14, name: "snapSpacing", parser: j }, { code: 13, name: "snapBasePoint", parser: j }, { code: 12, name: "center", parser: j }, { code: 11, name: "upperRightCorner", parser: j }, { code: 10, name: "lowerLeftCorner", parser: j }, { code: 70, name: "standardFlag", parser: v }, { code: 2, name: "name", parser: v }, { code: 100, name: "subclassMarker", parser: v }, ...On]), Hd = { BLOCK_RECORD: Fd, DIMSTYLE: Dd, LAYER: Ud, LTYPE: Gd, STYLE: jd, VPORT: Wd }, Yd = xt([{ code: 70, name: "maxNumberOfEntries", parser: v }, { code: 100, name: "subclassMarker", parser: v }, { code: 330, name: "ownerObjectId", parser: v }, { code: 102 }, { code: 360, isMultiple: !0 }, { code: 102 }, { code: 5, name: "handle", parser: v }, { code: 2, name: "name", parser: v }]);
22353
+ function qd(i, t) {
22354
22354
  var s;
22355
22355
  let e = {};
22356
22356
  for (; !At(i, 0, "EOF") && !At(i, 0, "ENDSEC"); ) {
22357
22357
  if (At(i, 0, "TABLE")) {
22358
22358
  i = t.next();
22359
22359
  let o = { entries: [] };
22360
- Wd(i, t, o), e[o.name] = o;
22360
+ Yd(i, t, o), e[o.name] = o;
22361
22361
  }
22362
22362
  if (At(i, 0) && !At(i, 0, "ENDTAB")) {
22363
22363
  let o = i.value;
22364
22364
  i = t.next();
22365
- let h = jd[o];
22365
+ let h = Hd[o];
22366
22366
  if (!h) {
22367
22367
  t.debug && console.warn(`parseTable: Invalid table name '${o}'`), i = t.next();
22368
22368
  continue;
@@ -22377,17 +22377,17 @@ function Hd(i, t) {
22377
22377
  function xs(i, t, e) {
22378
22378
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
22379
22379
  }
22380
- class zo {
22380
+ class Ro {
22381
22381
  next() {
22382
22382
  if (!this.hasNext()) return this._eof ? this.debug && console.warn("Cannot call 'next' after EOF group has been read") : this.debug && console.warn("Unexpected end of input: EOF group not read before end of file. Ended on code " + this._data[this._pointer]), { code: 0, value: "EOF" };
22383
- let t = parseInt(this._data[this._pointer++], 10), e = Ro(t, this._data[this._pointer++], this.debug), s = { code: t, value: e };
22383
+ let t = parseInt(this._data[this._pointer++], 10), e = Fo(t, this._data[this._pointer++], this.debug), s = { code: t, value: e };
22384
22384
  return At(s, 0, "EOF") && (this._eof = !0), this.lastReadGroup = s, s;
22385
22385
  }
22386
22386
  peek() {
22387
22387
  if (!this.hasNext())
22388
22388
  throw this._eof ? Error("Cannot call 'next' after EOF group has been read") : Error("Unexpected end of input: EOF group not read before end of file. Ended on code " + this._data[this._pointer]);
22389
22389
  let t = { code: parseInt(this._data[this._pointer]), value: 0 };
22390
- return t.value = Ro(t.code, this._data[this._pointer + 1], this.debug), t;
22390
+ return t.value = Fo(t.code, this._data[this._pointer + 1], this.debug), t;
22391
22391
  }
22392
22392
  rewind(t) {
22393
22393
  t = t || 1, this._pointer = this._pointer - 2 * t;
@@ -22402,24 +22402,24 @@ class zo {
22402
22402
  xs(this, "_data", void 0), xs(this, "debug", void 0), xs(this, "_pointer", void 0), xs(this, "_eof", void 0), xs(this, "lastReadGroup", void 0), this._data = t, this.debug = e, this.lastReadGroup = { code: 0, value: 0 }, this._pointer = 0, this._eof = !1;
22403
22403
  }
22404
22404
  }
22405
- function Ro(i, t, e = !1) {
22405
+ function Fo(i, t, e = !1) {
22406
22406
  return i <= 9 ? t : i >= 10 && i <= 59 ? parseFloat(t.trim()) : i >= 60 && i <= 99 ? parseInt(t.trim()) : i >= 100 && i <= 109 ? t : i >= 110 && i <= 149 ? parseFloat(t.trim()) : i >= 160 && i <= 179 ? parseInt(t.trim()) : i >= 210 && i <= 239 ? parseFloat(t.trim()) : i >= 270 && i <= 289 ? parseInt(t.trim()) : i >= 290 && i <= 299 ? function(s) {
22407
22407
  if (s === "0") return !1;
22408
22408
  if (s === "1") return !0;
22409
22409
  throw TypeError("String '" + s + "' cannot be cast to Boolean type");
22410
22410
  }(t.trim()) : i >= 300 && i <= 369 ? t : i >= 370 && i <= 389 ? parseInt(t.trim()) : i >= 390 && i <= 399 ? t : i >= 400 && i <= 409 ? parseInt(t.trim()) : i >= 410 && i <= 419 ? t : i >= 420 && i <= 429 ? parseInt(t.trim()) : i >= 430 && i <= 439 ? t : i >= 440 && i <= 459 ? parseInt(t.trim()) : i >= 460 && i <= 469 ? parseFloat(t.trim()) : i >= 470 && i <= 481 || i === 999 || i >= 1e3 && i <= 1009 ? t : i >= 1010 && i <= 1059 ? parseFloat(t.trim()) : i >= 1060 && i <= 1071 ? parseInt(t.trim()) : (e && console.warn("WARNING: Group code does not have a defined type: %j", { code: i, value: t }), t);
22411
22411
  }
22412
- function la(i, t, e) {
22412
+ function ha(i, t, e) {
22413
22413
  return t in i ? Object.defineProperty(i, t, { value: e, enumerable: !0, configurable: !0, writable: !0 }) : i[t] = e, i;
22414
22414
  }
22415
- class Yd {
22415
+ class Xd {
22416
22416
  constructor() {
22417
- la(this, "encoding", "utf-8"), la(this, "encodingFailureFatal", !1);
22417
+ ha(this, "encoding", "utf-8"), ha(this, "encodingFailureFatal", !1);
22418
22418
  }
22419
22419
  }
22420
- class qd extends EventTarget {
22420
+ class Kd extends EventTarget {
22421
22421
  parseSync(t, e = !1) {
22422
- let s = new zo(t.split(/\r\n|\r|\n/g), e);
22422
+ let s = new Ro(t.split(/\r\n|\r|\n/g), e);
22423
22423
  if (!s.hasNext()) throw Error("Empty file");
22424
22424
  return this.parseAll(s);
22425
22425
  }
@@ -22430,7 +22430,7 @@ class qd extends EventTarget {
22430
22430
  e += c;
22431
22431
  }), t.on("end", () => {
22432
22432
  try {
22433
- let c = e.split(/\r\n|\r|\n/g), g = new zo(c);
22433
+ let c = e.split(/\r\n|\r|\n/g), g = new Ro(c);
22434
22434
  if (!g.hasNext()) throw Error("Empty file");
22435
22435
  o(s.parseAll(g));
22436
22436
  } catch (c) {
@@ -22457,14 +22457,14 @@ class qd extends EventTarget {
22457
22457
  }
22458
22458
  parseAll(t) {
22459
22459
  let e = { header: {}, blocks: {}, entities: [], tables: {}, objects: { byName: {}, byTree: void 0 } }, s = t.next();
22460
- for (; !At(s, 0, "EOF"); ) At(s, 0, "SECTION") && (At(s = t.next(), 2, "HEADER") ? (s = t.next(), e.header = kd(s, t)) : At(s, 2, "BLOCKS") ? (s = t.next(), e.blocks = Pd(s, t)) : At(s, 2, "ENTITIES") ? (s = t.next(), e.entities = Ch(s, t)) : At(s, 2, "TABLES") ? (s = t.next(), e.tables = Hd(s, t)) : At(s, 2, "OBJECTS") && (s = t.next(), e.objects = Od(s, t))), s = t.next();
22460
+ for (; !At(s, 0, "EOF"); ) At(s, 0, "SECTION") && (At(s = t.next(), 2, "HEADER") ? (s = t.next(), e.header = Md(s, t)) : At(s, 2, "BLOCKS") ? (s = t.next(), e.blocks = kd(s, t)) : At(s, 2, "ENTITIES") ? (s = t.next(), e.entities = Oh(s, t)) : At(s, 2, "TABLES") ? (s = t.next(), e.tables = qd(s, t)) : At(s, 2, "OBJECTS") && (s = t.next(), e.objects = Rd(s, t))), s = t.next();
22461
22461
  return e;
22462
22462
  }
22463
- constructor(t = new Yd()) {
22464
- super(), la(this, "_decoder", void 0), this._decoder = new TextDecoder(t.encoding, { fatal: t.encodingFailureFatal });
22463
+ constructor(t = new Xd()) {
22464
+ super(), ha(this, "_decoder", void 0), this._decoder = new TextDecoder(t.encoding, { fatal: t.encodingFailureFatal });
22465
22465
  }
22466
22466
  }
22467
- const Fo = [
22467
+ const Bo = [
22468
22468
  { name: "AC1.2", value: 1 },
22469
22469
  { name: "AC1.40", value: 2 },
22470
22470
  { name: "AC1.50", value: 3 },
@@ -22544,7 +22544,7 @@ const Fo = [
22544
22544
  */
22545
22545
  { name: "AC1032", value: 33 }
22546
22546
  ];
22547
- class ha {
22547
+ class ua {
22548
22548
  /**
22549
22549
  * Create a DWG version from a version name or numeric value.
22550
22550
  *
@@ -22557,14 +22557,14 @@ class ha {
22557
22557
  */
22558
22558
  constructor(t) {
22559
22559
  if (typeof t == "string") {
22560
- const e = Fo.find((s) => s.name === t);
22560
+ const e = Bo.find((s) => s.name === t);
22561
22561
  if (!e)
22562
22562
  throw new Error(`Unknown DWG version name: ${t}`);
22563
22563
  this.name = e.name, this.value = e.value;
22564
22564
  return;
22565
22565
  }
22566
22566
  if (typeof t == "number") {
22567
- const e = Fo.find((s) => s.value === t);
22567
+ const e = Bo.find((s) => s.value === t);
22568
22568
  if (!e)
22569
22569
  throw new Error(`Unknown DWG version value: ${t}`);
22570
22570
  this.name = e.name, this.value = e.value;
@@ -22573,9 +22573,9 @@ class ha {
22573
22573
  throw new Error("Invalid constructor argument for AcDbDwgVersion");
22574
22574
  }
22575
22575
  }
22576
- class Xd {
22576
+ class $d {
22577
22577
  parse(t) {
22578
- const e = new qd(), s = this.getDxfInfoFromBuffer(t);
22578
+ const e = new Kd(), s = this.getDxfInfoFromBuffer(t);
22579
22579
  let o = "";
22580
22580
  return s.version && s.version.value <= 23 && s.encoding ? o = new TextDecoder(s.encoding).decode(t) : o = new TextDecoder().decode(t), e.parseSync(o);
22581
22581
  }
@@ -22600,12 +22600,12 @@ class Xd {
22600
22600
  return { version: c, encoding: g };
22601
22601
  if (x && B === "$ACADVER") {
22602
22602
  const dt = (w = z[D + 2]) == null ? void 0 : w.trim();
22603
- dt && (c = new ha(dt));
22603
+ dt && (c = new ua(dt));
22604
22604
  } else if (x && B === "$DWGCODEPAGE") {
22605
22605
  const dt = (b = z[D + 2]) == null ? void 0 : b.trim();
22606
22606
  if (dt) {
22607
- const yt = qo[dt];
22608
- g = cu(yt);
22607
+ const yt = Ko[dt];
22608
+ g = mu(yt);
22609
22609
  }
22610
22610
  }
22611
22611
  if (c && g)
@@ -22615,7 +22615,7 @@ class Xd {
22615
22615
  return { version: c, encoding: g };
22616
22616
  }
22617
22617
  }
22618
- class Bo {
22618
+ class Do {
22619
22619
  /**
22620
22620
  * Converts a DXF entity to an AcDbEntity.
22621
22621
  *
@@ -22665,7 +22665,7 @@ class Bo {
22665
22665
  * @returns The converted AcDbFace entity
22666
22666
  */
22667
22667
  convertFace(t) {
22668
- const e = new Wi();
22668
+ const e = new Hi();
22669
22669
  return t.vertices.forEach(
22670
22670
  (s, o) => e.setVertexAt(o, s)
22671
22671
  ), e;
@@ -22683,7 +22683,7 @@ class Bo {
22683
22683
  * ```
22684
22684
  */
22685
22685
  convertArc(t) {
22686
- return new Vi(
22686
+ return new Gi(
22687
22687
  t.center,
22688
22688
  t.radius,
22689
22689
  kt.degToRad(t.startAngle),
@@ -22704,7 +22704,7 @@ class Bo {
22704
22704
  * ```
22705
22705
  */
22706
22706
  convertCirle(t) {
22707
- return new Gi(
22707
+ return new ji(
22708
22708
  t.center,
22709
22709
  t.radius,
22710
22710
  t.extrusionDirection ?? Z.Z_AXIS
@@ -22724,7 +22724,7 @@ class Bo {
22724
22724
  */
22725
22725
  convertEllipse(t) {
22726
22726
  const e = new Z(t.majorAxisEndPoint), s = e.length();
22727
- return new ji(
22727
+ return new Wi(
22728
22728
  t.center,
22729
22729
  t.extrusionDirection ?? Z.Z_AXIS,
22730
22730
  e,
@@ -22736,7 +22736,7 @@ class Bo {
22736
22736
  }
22737
22737
  convertLine(t) {
22738
22738
  const e = t.startPoint, s = t.endPoint;
22739
- return new Yi(
22739
+ return new qi(
22740
22740
  new Y(e.x, e.y, e.z || 0),
22741
22741
  new Y(s.x, s.y, s.z || 0)
22742
22742
  );
@@ -22770,27 +22770,27 @@ class Bo {
22770
22770
  return null;
22771
22771
  }
22772
22772
  convertPoint(t) {
22773
- const e = new Qi();
22773
+ const e = new Ji();
22774
22774
  return e.position = t.position, e;
22775
22775
  }
22776
22776
  convertSolid(t) {
22777
- const e = new $i();
22777
+ const e = new Zi();
22778
22778
  return t.points.forEach((s, o) => e.setPointAt(o, s)), e.thickness = t.thickness, e;
22779
22779
  }
22780
22780
  convertPolyline(t) {
22781
22781
  const e = !!(t.flag & 1), s = !!(t.flag & 8), o = [], h = [];
22782
22782
  if (t.vertices.map((c) => {
22783
- c.flag & id.SPLINE_CONTROL_POINT || (o.push({
22783
+ c.flag & od.SPLINE_CONTROL_POINT || (o.push({
22784
22784
  x: c.x,
22785
22785
  y: c.y,
22786
22786
  z: c.z
22787
22787
  }), h.push(c.bulge ?? 0));
22788
22788
  }), s) {
22789
22789
  let c = Hs.SimplePoly;
22790
- return t.flag & 4 && (t.smoothType == Bs.CUBIC ? c = Hs.CubicSplinePoly : t.smoothType == Bs.QUADRATIC && (c = Hs.QuadSplinePoly)), new Ui(c, o, e);
22790
+ return t.flag & 4 && (t.smoothType == Bs.CUBIC ? c = Hs.CubicSplinePoly : t.smoothType == Bs.QUADRATIC && (c = Hs.QuadSplinePoly)), new Vi(c, o, e);
22791
22791
  } else {
22792
22792
  let c = ws.SimplePoly;
22793
- return t.flag & 2 ? c = ws.FitCurvePoly : t.flag & 4 && (t.smoothType == Bs.CUBIC ? c = ws.CubicSplinePoly : t.smoothType == Bs.QUADRATIC && (c = ws.QuadSplinePoly)), new Di(
22793
+ return t.flag & 2 ? c = ws.FitCurvePoly : t.flag & 4 && (t.smoothType == Bs.CUBIC ? c = ws.CubicSplinePoly : t.smoothType == Bs.QUADRATIC && (c = ws.QuadSplinePoly)), new Ui(
22794
22794
  c,
22795
22795
  o,
22796
22796
  0,
@@ -22802,7 +22802,7 @@ class Bo {
22802
22802
  }
22803
22803
  }
22804
22804
  convertLWPolyline(t) {
22805
- const e = new Zi();
22805
+ const e = new Qi();
22806
22806
  return e.closed = !!(t.flag & 1), t.vertices.forEach((s, o) => {
22807
22807
  e.addVertexAt(
22808
22808
  o,
@@ -22834,7 +22834,7 @@ class Bo {
22834
22834
  });
22835
22835
  }), e.add(x);
22836
22836
  } else {
22837
- const g = h, x = new ml();
22837
+ const g = h, x = new gl();
22838
22838
  g.edges.forEach((f) => {
22839
22839
  if (f.type == 1) {
22840
22840
  const w = f;
@@ -22859,7 +22859,7 @@ class Bo {
22859
22859
  let L = kt.degToRad(w.startAngle || 0), z = kt.degToRad(w.endAngle || 0);
22860
22860
  const D = Math.atan2(w.end.y, w.end.x);
22861
22861
  w.isCCW || (L = Math.PI * 2 - L, z = Math.PI * 2 - z), x.add(
22862
- new ma(
22862
+ new pa(
22863
22863
  { ...w.center, z: 0 },
22864
22864
  E,
22865
22865
  T,
@@ -22902,7 +22902,7 @@ class Bo {
22902
22902
  }), e;
22903
22903
  }
22904
22904
  convertTable(t) {
22905
- const e = new Xi(
22905
+ const e = new Ki(
22906
22906
  t.name,
22907
22907
  t.rowCount,
22908
22908
  t.columnCount
@@ -22916,29 +22916,29 @@ class Bo {
22916
22916
  }), e;
22917
22917
  }
22918
22918
  convertText(t) {
22919
- const e = new Ki();
22919
+ const e = new $i();
22920
22920
  return e.textString = t.text, e.styleName = t.styleName, e.height = t.textHeight, e.position.copy(t.startPoint), e.rotation = kt.degToRad(t.rotation || 0), e.oblique = t.obliqueAngle ?? 0, e.thickness = t.thickness, e.horizontalMode = t.halign, e.verticalMode = t.valign, e.widthFactor = t.xScale ?? 1, e;
22921
22921
  }
22922
22922
  convertMText(t) {
22923
- const e = new qi();
22923
+ const e = new Xi();
22924
22924
  return e.contents = t.text, t.styleName != null && (e.styleName = t.styleName), e.height = t.height, e.width = t.width, e.rotation = kt.degToRad(t.rotation || 0), e.location = t.insertionPoint, e.attachmentPoint = t.attachmentPoint, t.direction && (e.direction = new Z(t.direction)), e.drawingDirection = t.drawingDirection, e;
22925
22925
  }
22926
22926
  convertLeader(t) {
22927
- const e = new Hi();
22927
+ const e = new Yi();
22928
22928
  return t.vertices.forEach((s) => {
22929
22929
  e.appendVertex(s);
22930
22930
  }), e.hasArrowHead = t.isArrowheadEnabled, e.hasHookLine = t.isHooklineExists, e.isSplined = t.isSpline, e.dimensionStyle = t.styleName, e.annoType = t.leaderCreationFlag, e;
22931
22931
  }
22932
22932
  convertDimension(t) {
22933
22933
  if (t.subclassMarker == "AcDbAlignedDimension" || t.subclassMarker == "AcDbRotatedDimension") {
22934
- const e = t, s = new sa(
22934
+ const e = t, s = new ia(
22935
22935
  e.subDefinitionPoint1,
22936
22936
  e.subDefinitionPoint2,
22937
22937
  e.definitionPoint
22938
22938
  );
22939
22939
  return e.insertionPoint && (s.dimBlockPosition = { ...e.insertionPoint, z: 0 }), s.rotation = kt.degToRad(e.rotationAngle || 0), this.processDimensionCommonAttrs(t, s), s;
22940
22940
  } else if (t.subclassMarker == "AcDb3PointAngularDimension") {
22941
- const e = t, s = new na(
22941
+ const e = t, s = new sa(
22942
22942
  e.centerPoint,
22943
22943
  e.subDefinitionPoint1,
22944
22944
  e.subDefinitionPoint2,
@@ -22946,20 +22946,20 @@ class Bo {
22946
22946
  );
22947
22947
  return this.processDimensionCommonAttrs(t, s), s;
22948
22948
  } else if (t.subclassMarker == "AcDbOrdinateDimension") {
22949
- const e = t, s = new aa(
22949
+ const e = t, s = new oa(
22950
22950
  e.subDefinitionPoint1,
22951
22951
  e.subDefinitionPoint2
22952
22952
  );
22953
22953
  return this.processDimensionCommonAttrs(t, s), s;
22954
22954
  } else if (t.subclassMarker == "AcDbRadialDimension") {
22955
- const e = t, s = new oa(
22955
+ const e = t, s = new la(
22956
22956
  e.definitionPoint,
22957
22957
  e.centerPoint,
22958
22958
  e.leaderLength
22959
22959
  );
22960
22960
  return this.processDimensionCommonAttrs(t, s), s;
22961
22961
  } else if (t.subclassMarker == "AcDbDiametricDimension") {
22962
- const e = t, s = new ia(
22962
+ const e = t, s = new aa(
22963
22963
  e.definitionPoint,
22964
22964
  e.centerPoint,
22965
22965
  e.leaderLength
@@ -22991,19 +22991,19 @@ class Bo {
22991
22991
  ) * t.imageSize.y, e.rotation = Math.atan2(t.uDirection.y, t.uDirection.x);
22992
22992
  }
22993
22993
  convertWipeout(t) {
22994
- const e = new ea();
22994
+ const e = new ra();
22995
22995
  return this.processWipeout(t, e), e;
22996
22996
  }
22997
22997
  convertViewport(t) {
22998
- const e = new ta();
22998
+ const e = new ea();
22999
22999
  return e.number = t.viewportId, e.centerPoint.copy(t.viewportCenter), e.height = t.height, e.width = t.width, e.viewCenter.copy(t.displayCenter), e.viewHeight = t.viewHeight, e;
23000
23000
  }
23001
23001
  convertRay(t) {
23002
- const e = new Ji();
23002
+ const e = new ta();
23003
23003
  return e.basePoint.copy(t.position), e.unitDir.copy(t.direction), e;
23004
23004
  }
23005
23005
  convertXline(t) {
23006
- const e = new ra();
23006
+ const e = new na();
23007
23007
  return e.basePoint.copy(t.position), e.unitDir.copy(t.direction), e;
23008
23008
  }
23009
23009
  convertBlockReference(t) {
@@ -23267,7 +23267,7 @@ const jr = class jr extends zn {
23267
23267
  * ```
23268
23268
  */
23269
23269
  newIterator() {
23270
- return new fa(this._entities);
23270
+ return new _a(this._entities);
23271
23271
  }
23272
23272
  /**
23273
23273
  * Searches for an entity in this block table record with the specified ID.
@@ -23289,7 +23289,7 @@ const jr = class jr extends zn {
23289
23289
  };
23290
23290
  jr.MODEL_SPACE_NAME = "*MODEL_SPACE", jr.PAPER_SPACE_NAME_PREFIX = "*PAPER_SPACE";
23291
23291
  let _e = jr;
23292
- class Kd {
23292
+ class Zd {
23293
23293
  /**
23294
23294
  * Converts a DXF layout object to an AcDbLayout.
23295
23295
  *
@@ -23304,7 +23304,7 @@ class Kd {
23304
23304
  */
23305
23305
  convertLayout(t, e) {
23306
23306
  var o, h;
23307
- const s = new ga();
23307
+ const s = new fa();
23308
23308
  if (s.layoutName = t.layoutName, s.tabOrder = t.tabOrder, t.layoutName === "Model") {
23309
23309
  const c = _e.MODEL_SPACE_NAME;
23310
23310
  (o = e.tables.BLOCK_RECORD) == null || o.entries.some((g) => g.name.toUpperCase() === c ? (s.blockTableRecordId = g.handle, !0) : !1);
@@ -23325,7 +23325,7 @@ class Kd {
23325
23325
  * ```
23326
23326
  */
23327
23327
  convertImageDef(t) {
23328
- const e = new oc();
23328
+ const e = new hc();
23329
23329
  return e.sourceFileName = t.fileName, this.processCommonAttrs(t, e), e;
23330
23330
  }
23331
23331
  /**
@@ -23346,7 +23346,7 @@ class Kd {
23346
23346
  e.objectId = t.handle, e.ownerId = t.ownerObjectId;
23347
23347
  }
23348
23348
  }
23349
- class $d {
23349
+ class Qd {
23350
23350
  constructor(t) {
23351
23351
  this.taskId = 0, this.workers = /* @__PURE__ */ new Map(), this.pendingTasks = /* @__PURE__ */ new Map(), this.config = {
23352
23352
  workerUrl: t.workerUrl,
@@ -23496,9 +23496,9 @@ class $d {
23496
23496
  this.workers.clear();
23497
23497
  }
23498
23498
  }
23499
- class Zd {
23499
+ class Jd {
23500
23500
  constructor(t) {
23501
- this.framework = new $d(t);
23501
+ this.framework = new Qd(t);
23502
23502
  }
23503
23503
  /**
23504
23504
  * Execute a task with optional worker support
@@ -23519,10 +23519,10 @@ class Zd {
23519
23519
  this.framework.destroy();
23520
23520
  }
23521
23521
  }
23522
- function Qd(i) {
23523
- return new Zd(i);
23522
+ function t0(i) {
23523
+ return new Jd(i);
23524
23524
  }
23525
- class N0 {
23525
+ class L0 {
23526
23526
  constructor() {
23527
23527
  this.setupMessageHandler();
23528
23528
  }
@@ -23558,7 +23558,7 @@ class N0 {
23558
23558
  self.postMessage(h);
23559
23559
  }
23560
23560
  }
23561
- class Jd extends Sl {
23561
+ class e0 extends Pl {
23562
23562
  constructor(t = {}) {
23563
23563
  super(t), t.parserWorkerUrl || (t.parserWorkerUrl = "/assets/dxf-parser-worker.js");
23564
23564
  }
@@ -23571,7 +23571,7 @@ class Jd extends Sl {
23571
23571
  */
23572
23572
  async parse(t) {
23573
23573
  if (this.config.useWorker && this.config.parserWorkerUrl) {
23574
- const e = Qd({
23574
+ const e = t0({
23575
23575
  workerUrl: this.config.parserWorkerUrl,
23576
23576
  // One concurrent worker needed for parser
23577
23577
  maxConcurrentWorkers: 1
@@ -23588,7 +23588,7 @@ class Jd extends Sl {
23588
23588
  );
23589
23589
  } else
23590
23590
  return {
23591
- model: new Xd().parse(t),
23591
+ model: new $d().parse(t),
23592
23592
  data: {
23593
23593
  unknownEntityCount: 0
23594
23594
  }
@@ -23692,9 +23692,9 @@ class Jd extends Sl {
23692
23692
  * ```
23693
23693
  */
23694
23694
  async processEntities(t, e, s, o, h) {
23695
- const c = new Bo();
23695
+ const c = new Do();
23696
23696
  let g = t.entities;
23697
- const x = g.length, f = new Ho(
23697
+ const x = g.length, f = new qo(
23698
23698
  x,
23699
23699
  100 - o.value,
23700
23700
  s
@@ -23728,7 +23728,7 @@ class Jd extends Sl {
23728
23728
  * ```
23729
23729
  */
23730
23730
  async processEntitiesInBlock(t, e) {
23731
- const s = new Bo(), o = t.length, h = [];
23731
+ const s = new Do(), o = t.length, h = [];
23732
23732
  for (let c = 0; c < o; c++) {
23733
23733
  const g = t[c], x = s.convert(g);
23734
23734
  x && h.push(x);
@@ -23811,7 +23811,7 @@ class Jd extends Sl {
23811
23811
  * ```
23812
23812
  */
23813
23813
  processObjects(t, e) {
23814
- const s = t.objects.byName, o = new Kd();
23814
+ const s = t.objects.byName, o = new Zd();
23815
23815
  if ("LAYOUT" in s) {
23816
23816
  const h = e.dictionaries.layouts;
23817
23817
  s.LAYOUT.forEach((c) => {
@@ -23851,7 +23851,7 @@ class Jd extends Sl {
23851
23851
  var o, h;
23852
23852
  const s = (h = (o = t.tables) == null ? void 0 : o.VPORT) == null ? void 0 : h.entries;
23853
23853
  s && s.length > 0 && s.forEach((c) => {
23854
- const g = new m0();
23854
+ const g = new g0();
23855
23855
  this.processCommonTableEntryAttrs(c, g), c.circleSides && (g.circleSides = c.circleSides), g.standardFlag = c.standardFlag, g.center.copy(c.center), g.lowerLeftCorner.copy(c.lowerLeftCorner), g.upperRightCorner.copy(c.upperRightCorner), c.snapBasePoint && g.snapBase.copy(c.snapBasePoint), c.snapRotationAngle && (g.snapAngle = c.snapRotationAngle), c.snapSpacing && g.snapIncrements.copy(c.snapSpacing), c.majorGridLines && (g.gridMajor = c.majorGridLines), c.gridSpacing && g.gridIncrements.copy(c.gridSpacing), c.backgroundObjectId && (g.backgroundObjectId = c.backgroundObjectId), g.gsView.center.copy(c.center), g.gsView.viewDirectionFromTarget.copy(c.viewDirectionFromTarget), g.gsView.viewTarget.copy(c.viewTarget), c.lensLength && (g.gsView.lensLength = c.lensLength), c.frontClippingPlane && (g.gsView.frontClippingPlane = c.frontClippingPlane), c.backClippingPlane && (g.gsView.backClippingPlane = c.backClippingPlane), c.viewHeight && (g.gsView.viewHeight = c.viewHeight), c.viewTwistAngle && (g.gsView.viewTwistAngle = c.viewTwistAngle), c.frozenLayers && (g.gsView.frozenLayers = c.frozenLayers), c.styleSheet && (g.gsView.styleSheet = c.styleSheet), c.renderMode && (g.gsView.renderMode = c.renderMode), c.viewMode && (g.gsView.viewMode = c.viewMode), c.ucsIconSetting && (g.gsView.ucsIconSetting = c.ucsIconSetting), c.ucsOrigin && g.gsView.ucsOrigin.copy(c.ucsOrigin), c.ucsXAxis && g.gsView.ucsXAxis.copy(c.ucsXAxis), c.ucsYAxis && g.gsView.ucsYAxis.copy(c.ucsYAxis), c.orthographicType && (g.gsView.orthographicType = c.orthographicType), c.shadePlotSetting && (g.gsView.shadePlotSetting = c.shadePlotSetting), c.shadePlotObjectId && (g.gsView.shadePlotObjectId = c.shadePlotObjectId), c.visualStyleObjectId && (g.gsView.visualStyleObjectId = c.visualStyleObjectId), c.isDefaultLightingOn && (g.gsView.isDefaultLightingOn = c.isDefaultLightingOn), c.defaultLightingType && (g.gsView.defaultLightingType = c.defaultLightingType), c.brightness && (g.gsView.brightness = c.brightness), c.contrast && (g.gsView.contrast = c.contrast), c.ambientColor && (g.gsView.ambientColor = c.ambientColor), e.tables.viewportTable.add(g);
23856
23856
  });
23857
23857
  }
@@ -23876,7 +23876,7 @@ class Jd extends Sl {
23876
23876
  s && s.length > 0 && s.forEach((c) => {
23877
23877
  const g = new dn();
23878
23878
  g.colorIndex = c.colorIndex;
23879
- const x = new ba({
23879
+ const x = new wa({
23880
23880
  name: c.name,
23881
23881
  standardFlags: c.standardFlag,
23882
23882
  linetype: c.lineType,
@@ -23928,7 +23928,7 @@ class Jd extends Sl {
23928
23928
  var o;
23929
23929
  const s = (o = t.tables.STYLE) == null ? void 0 : o.entries;
23930
23930
  s && s.length > 0 && s.forEach((h) => {
23931
- const c = new Oh(h);
23931
+ const c = new Rh(h);
23932
23932
  this.processCommonTableEntryAttrs(h, c), e.tables.textStyleTable.add(c);
23933
23933
  });
23934
23934
  }
@@ -24061,7 +24061,7 @@ class Jd extends Sl {
24061
24061
  return s.flatMap((o) => e[o]);
24062
24062
  }
24063
24063
  }
24064
- class t0 extends Sl {
24064
+ class r0 extends Pl {
24065
24065
  constructor(t) {
24066
24066
  super({}), this._database = t;
24067
24067
  }
@@ -24102,7 +24102,7 @@ class t0 extends Sl {
24102
24102
  */
24103
24103
  async processEntities(t, e, s, o, h) {
24104
24104
  let c = t.tables.blockTable.modelSpace.newIterator().toArray();
24105
- const g = c.length, x = new Ho(
24105
+ const g = c.length, x = new qo(
24106
24106
  g,
24107
24107
  100 - o.value,
24108
24108
  s
@@ -24228,10 +24228,10 @@ class kr {
24228
24228
  constructor() {
24229
24229
  this.events = {
24230
24230
  /** Fired when a converter is registered */
24231
- registered: new ce(),
24231
+ registered: new ie(),
24232
24232
  /** Fired when a converter is unregistered */
24233
- unregistered: new ce()
24234
- }, this._converters = /* @__PURE__ */ new Map(), this.register("dxf", new Jd());
24233
+ unregistered: new ie()
24234
+ }, this._converters = /* @__PURE__ */ new Map(), this.register("dxf", new e0());
24235
24235
  }
24236
24236
  /**
24237
24237
  * Creates a new instance of AcDbDatabaseConverterManager.
@@ -24513,7 +24513,7 @@ class Rn extends mn {
24513
24513
  * ```
24514
24514
  */
24515
24515
  newIterator() {
24516
- return new fa(this._recordsByName);
24516
+ return new _a(this._recordsByName);
24517
24517
  }
24518
24518
  /**
24519
24519
  * Normalizes the name of a symbol table record.
@@ -24532,7 +24532,7 @@ class Rn extends mn {
24532
24532
  return t;
24533
24533
  }
24534
24534
  }
24535
- class e0 extends Rn {
24535
+ class n0 extends Rn {
24536
24536
  /**
24537
24537
  * Creates a new AcDbBlockTable instance.
24538
24538
  *
@@ -24584,7 +24584,7 @@ class e0 extends Rn {
24584
24584
  return e;
24585
24585
  }
24586
24586
  }
24587
- class r0 extends Rn {
24587
+ class s0 extends Rn {
24588
24588
  /**
24589
24589
  * Creates a new AcDbDimStyleTable instance.
24590
24590
  *
@@ -24599,7 +24599,7 @@ class r0 extends Rn {
24599
24599
  super(t);
24600
24600
  }
24601
24601
  }
24602
- class ba extends zn {
24602
+ class wa extends zn {
24603
24603
  /**
24604
24604
  * Creates a new AcDbLayerTableRecord instance.
24605
24605
  *
@@ -24901,7 +24901,7 @@ class ba extends zn {
24901
24901
  this.setAttr("materialId", t);
24902
24902
  }
24903
24903
  }
24904
- class n0 extends Rn {
24904
+ class i0 extends Rn {
24905
24905
  /**
24906
24906
  * Creates a new AcDbLayerTable instance.
24907
24907
  *
@@ -24919,10 +24919,10 @@ class n0 extends Rn {
24919
24919
  super(t);
24920
24920
  const e = new dn();
24921
24921
  e.color = 16777215;
24922
- const s = new ba({
24922
+ const s = new wa({
24923
24923
  name: "0",
24924
24924
  standardFlags: 0,
24925
- linetype: Ci,
24925
+ linetype: Li,
24926
24926
  lineWeight: 1,
24927
24927
  isOff: !1,
24928
24928
  color: e,
@@ -24951,7 +24951,7 @@ class n0 extends Rn {
24951
24951
  });
24952
24952
  }
24953
24953
  }
24954
- class s0 extends Rn {
24954
+ class a0 extends Rn {
24955
24955
  /**
24956
24956
  * Creates a new AcDbLinetypeTable instance.
24957
24957
  *
@@ -24966,7 +24966,7 @@ class s0 extends Rn {
24966
24966
  super(t);
24967
24967
  }
24968
24968
  }
24969
- class i0 extends Rn {
24969
+ class o0 extends Rn {
24970
24970
  /**
24971
24971
  * Creates a new AcDbTextStyleTable instance.
24972
24972
  *
@@ -25012,7 +25012,7 @@ class i0 extends Rn {
25012
25012
  return Array.from(t);
25013
25013
  }
25014
25014
  }
25015
- class a0 extends Rn {
25015
+ class l0 extends Rn {
25016
25016
  /**
25017
25017
  * Creates a new AcDbViewportTable instance.
25018
25018
  *
@@ -25027,40 +25027,40 @@ class a0 extends Rn {
25027
25027
  super(t);
25028
25028
  }
25029
25029
  }
25030
- class C0 extends mn {
25030
+ class O0 extends mn {
25031
25031
  /**
25032
25032
  * Creates a new AcDbDatabase instance.
25033
25033
  */
25034
25034
  constructor() {
25035
25035
  super(), this.events = {
25036
25036
  /** Fired when an object is set to the dictionary */
25037
- dictObjetSet: new ce(),
25037
+ dictObjetSet: new ie(),
25038
25038
  /** Fired when an object in the dictionary is removed */
25039
- dictObjectErased: new ce(),
25039
+ dictObjectErased: new ie(),
25040
25040
  /** Fired when an entity is appended to the database */
25041
- entityAppended: new ce(),
25041
+ entityAppended: new ie(),
25042
25042
  /** Fired when an entity is modified in the database */
25043
- entityModified: new ce(),
25043
+ entityModified: new ie(),
25044
25044
  /** Fired when a layer is appended to the database */
25045
- layerAppended: new ce(),
25045
+ layerAppended: new ie(),
25046
25046
  /** Fired when a layer is modified in the database */
25047
- layerModified: new ce(),
25047
+ layerModified: new ie(),
25048
25048
  /** Fired when a layer is erased from the database */
25049
- layerErased: new ce(),
25049
+ layerErased: new ie(),
25050
25050
  /** Fired during database opening operations to report progress */
25051
- openProgress: new ce(),
25051
+ openProgress: new ie(),
25052
25052
  /** Fired when a header system variable is changed */
25053
- headerSysVarChanged: new ce()
25054
- }, this._version = new ha("AC1014"), this._angBase = 0, this._angDir = 0, this._aunits = Yo.DecimalDegrees, this._celtscale = 1, this._cecolor = new dn(), this._extents = new Ct(), this._insunits = wl.Millimeters, this._ltscale = 1, this._pdmode = 0, this._pdsize = 0, this._tables = {
25055
- blockTable: new e0(this),
25056
- dimStyleTable: new r0(this),
25057
- linetypeTable: new s0(this),
25058
- textStyleTable: new i0(this),
25059
- layerTable: new n0(this),
25060
- viewportTable: new a0(this)
25053
+ headerSysVarChanged: new ie()
25054
+ }, this._version = new ua("AC1014"), this._angBase = 0, this._angDir = 0, this._aunits = Xo.DecimalDegrees, this._celtscale = 1, this._cecolor = new dn(), this._extents = new Ct(), this._insunits = Sl.Millimeters, this._ltscale = 1, this._pdmode = 0, this._pdsize = 0, this._tables = {
25055
+ blockTable: new n0(this),
25056
+ dimStyleTable: new s0(this),
25057
+ linetypeTable: new a0(this),
25058
+ textStyleTable: new o0(this),
25059
+ layerTable: new i0(this),
25060
+ viewportTable: new l0(this)
25061
25061
  }, this._dictionaries = {
25062
- layouts: new ac(this),
25063
- imageDefs: new bl(this)
25062
+ layouts: new lc(this),
25063
+ imageDefs: new Al(this)
25064
25064
  };
25065
25065
  }
25066
25066
  /**
@@ -25169,7 +25169,7 @@ class C0 extends mn {
25169
25169
  * @param value - The version value of the database
25170
25170
  */
25171
25171
  set version(t) {
25172
- this._version = new ha(t), this.triggerHeaderSysVarChangedEvent("version");
25172
+ this._version = new ua(t), this.triggerHeaderSysVarChangedEvent("version");
25173
25173
  }
25174
25174
  /**
25175
25175
  * Gets the drawing-units value for automatic scaling of blocks, images, or xrefs.
@@ -25437,7 +25437,7 @@ class C0 extends mn {
25437
25437
  * Triggers xxxAppended events with data in the database to redraw the associated viewer.
25438
25438
  */
25439
25439
  async regen() {
25440
- await new t0(this).read(
25440
+ await new r0(this).read(
25441
25441
  null,
25442
25442
  this,
25443
25443
  500,
@@ -25464,7 +25464,7 @@ class C0 extends mn {
25464
25464
  dimStyle: !0,
25465
25465
  layout: !0
25466
25466
  }) {
25467
- const e = new lc(this);
25467
+ const e = new uc(this);
25468
25468
  t.layer && e.createDefaultLayer(), t.lineType && e.createDefaultLineType(), t.textStyle && e.createDefaultTextStyle(), t.dimStyle && e.createDefaultDimStyle(), t.layout && e.createDefaultLayout();
25469
25469
  }
25470
25470
  /**
@@ -25516,7 +25516,7 @@ class C0 extends mn {
25516
25516
  }
25517
25517
  }
25518
25518
  }
25519
- var o0 = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Left = 1] = "Left", i[i.Right = 2] = "Right", i[i.OverFirst = 3] = "OverFirst", i[i.OverSecond = 4] = "OverSecond", i))(o0 || {}), l0 = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Above = 1] = "Above", i[i.Outside = 2] = "Outside", i[i.JIS = 3] = "JIS", i[i.Below = 4] = "Below", i))(l0 || {}), h0 = /* @__PURE__ */ ((i) => (i[i.Feet = 0] = "Feet", i[i.None = 1] = "None", i[i.Inch = 2] = "Inch", i[i.FeetAndInch = 3] = "FeetAndInch", i[i.Leading = 4] = "Leading", i[i.Trailing = 8] = "Trailing", i[i.LeadingAndTrailing = 12] = "LeadingAndTrailing", i))(h0 || {}), u0 = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.Leading = 1] = "Leading", i[i.Trailing = 2] = "Trailing", i[i.LeadingAndTrailing = 3] = "LeadingAndTrailing", i))(u0 || {}), c0 = /* @__PURE__ */ ((i) => (i[i.Bottom = 0] = "Bottom", i[i.Middle = 1] = "Middle", i[i.Top = 2] = "Top", i))(c0 || {});
25519
+ var h0 = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Left = 1] = "Left", i[i.Right = 2] = "Right", i[i.OverFirst = 3] = "OverFirst", i[i.OverSecond = 4] = "OverSecond", i))(h0 || {}), u0 = /* @__PURE__ */ ((i) => (i[i.Center = 0] = "Center", i[i.Above = 1] = "Above", i[i.Outside = 2] = "Outside", i[i.JIS = 3] = "JIS", i[i.Below = 4] = "Below", i))(u0 || {}), c0 = /* @__PURE__ */ ((i) => (i[i.Feet = 0] = "Feet", i[i.None = 1] = "None", i[i.Inch = 2] = "Inch", i[i.FeetAndInch = 3] = "FeetAndInch", i[i.Leading = 4] = "Leading", i[i.Trailing = 8] = "Trailing", i[i.LeadingAndTrailing = 12] = "LeadingAndTrailing", i))(c0 || {}), d0 = /* @__PURE__ */ ((i) => (i[i.None = 0] = "None", i[i.Leading = 1] = "Leading", i[i.Trailing = 2] = "Trailing", i[i.LeadingAndTrailing = 3] = "LeadingAndTrailing", i))(d0 || {}), m0 = /* @__PURE__ */ ((i) => (i[i.Bottom = 0] = "Bottom", i[i.Middle = 1] = "Middle", i[i.Top = 2] = "Top", i))(m0 || {});
25520
25520
  const si = class si extends zn {
25521
25521
  constructor(t, e) {
25522
25522
  t = t || {}, Ps(t, si.DEFAULT_DIM_VALUES), super(t, e);
@@ -26513,7 +26513,93 @@ class Qs extends zn {
26513
26513
  return this._linetype.pattern[t].elementLength;
26514
26514
  }
26515
26515
  }
26516
- class Oh extends zn {
26516
+ const ii = class ii {
26517
+ constructor() {
26518
+ this.registry = /* @__PURE__ */ new Map(), this.cache = /* @__PURE__ */ new Map(), this.events = {
26519
+ /**
26520
+ * Fired after a system variable is changed directly through the SETVAR command or
26521
+ * by entering the variable name at the command line.
26522
+ */
26523
+ sysVarChanged: new ie()
26524
+ }, this.registerVar({
26525
+ name: "PICKBOX",
26526
+ type: "number",
26527
+ defaultValue: 0
26528
+ });
26529
+ }
26530
+ /** Singleton accessor */
26531
+ static instance() {
26532
+ return this._instance || (this._instance = new ii()), this._instance;
26533
+ }
26534
+ /**
26535
+ * Register one system variable metadata entry.
26536
+ */
26537
+ registerVar(t) {
26538
+ this.registry.set(t.name.toUpperCase(), t);
26539
+ }
26540
+ /**
26541
+ * Register many system variables.
26542
+ */
26543
+ registerMany(t) {
26544
+ t.forEach((e) => this.registerVar(e));
26545
+ }
26546
+ /**
26547
+ * Get system variable value.
26548
+ */
26549
+ getVar(t) {
26550
+ if (t = t.toUpperCase(), this.cache.has(t))
26551
+ return this.cache.get(t);
26552
+ }
26553
+ /**
26554
+ * Set system variable value.
26555
+ */
26556
+ setVar(t, e) {
26557
+ t = t.toUpperCase();
26558
+ const s = this.getDescriptor(t);
26559
+ if (s) {
26560
+ const o = this.getVar(t);
26561
+ if (this.cache.set(t, e), s.type !== "string" && (typeof e == "string" || e instanceof String))
26562
+ if (s.type === "number") {
26563
+ const h = Number(e);
26564
+ if (Number.isNaN(h))
26565
+ throw new Error("Invalid input!");
26566
+ e = h;
26567
+ } else s.type === "boolean" && (e = this.parseBoolean(e));
26568
+ this.events.sysVarChanged.dispatch({ name: t, newVal: e, oldVal: o });
26569
+ } else
26570
+ throw new Error(`System variable ${t} not found!`);
26571
+ }
26572
+ /**
26573
+ * Get system variable metadata descriptor (if registered).
26574
+ */
26575
+ getDescriptor(t) {
26576
+ return this.registry.get(t.toUpperCase());
26577
+ }
26578
+ /**
26579
+ * Get all registered system variable descriptors.
26580
+ */
26581
+ getAllDescriptors() {
26582
+ return [...this.registry.values()];
26583
+ }
26584
+ /**
26585
+ * Parse one string as one boolean value with case-insensitive by ignoring extra spaces
26586
+ * - "true" / "false"
26587
+ * - "t" / "f"
26588
+ * - "1" / "0"
26589
+ * - "yes" / "no"
26590
+ * - "y" / "n"
26591
+ * @param value - One string
26592
+ * @returns - The parsed boolean value
26593
+ */
26594
+ parseBoolean(t) {
26595
+ if (t == null) return !1;
26596
+ const e = String(t).trim().toLowerCase(), s = /* @__PURE__ */ new Set(["true", "t", "1", "yes", "y"]), o = /* @__PURE__ */ new Set(["false", "f", "0", "no", "n"]);
26597
+ return s.has(e) ? !0 : (o.has(e), !1);
26598
+ }
26599
+ };
26600
+ ii._instance = null;
26601
+ let Uo = ii;
26602
+ class Rh extends zn {
26517
26603
  /**
26518
26604
  * Creates a new AcDbTextStyleTableRecord instance.
26519
26605
  *
@@ -26711,7 +26797,7 @@ class Oh extends zn {
26711
26797
  return t;
26712
26798
  }
26713
26799
  }
26714
- const d0 = {
26800
+ const p0 = {
26715
26801
  center: new Nt(),
26716
26802
  viewDirectionFromTarget: new Y(0, 0, 1),
26717
26803
  viewTarget: new Y(0, 0, 0),
@@ -26722,23 +26808,23 @@ const d0 = {
26722
26808
  viewTwistAngle: 0,
26723
26809
  frozenLayers: [],
26724
26810
  styleSheet: "",
26725
- renderMode: _l.OPTIMIZED_2D,
26811
+ renderMode: vl.OPTIMIZED_2D,
26726
26812
  viewMode: 0,
26727
26813
  ucsIconSetting: 0,
26728
26814
  ucsOrigin: new Y(0, 0, 0),
26729
26815
  ucsXAxis: new Y(1, 0, 0),
26730
26816
  ucsYAxis: new Y(0, 1, 0),
26731
- orthographicType: yl.TOP,
26817
+ orthographicType: xl.TOP,
26732
26818
  shadePlotSetting: 0,
26733
26819
  shadePlotObjectId: void 0,
26734
26820
  visualStyleObjectId: void 0,
26735
26821
  isDefaultLightingOn: !1,
26736
- defaultLightingType: vl.ONE_DISTANT_LIGHT,
26822
+ defaultLightingType: bl.ONE_DISTANT_LIGHT,
26737
26823
  brightness: 0,
26738
26824
  contrast: 0,
26739
26825
  ambientColor: void 0
26740
26826
  };
26741
- class m0 extends zn {
26827
+ class g0 extends zn {
26742
26828
  /**
26743
26829
  * Creates a new AcDbViewportTableRecord instance.
26744
26830
  *
@@ -26748,7 +26834,7 @@ class m0 extends zn {
26748
26834
  * ```
26749
26835
  */
26750
26836
  constructor() {
26751
- super(), this._circleSides = 100, this._center = new Nt(), this._lowerLeftCorner = new Nt(0, 0), this._upperRightCorner = new Nt(1, 1), this._snapBase = new Nt(0, 0), this._snapAngle = 0, this._snapSpacing = new Nt(0, 0), this._standardFlag = 0, this._gridSpacing = new Nt(), this._gridMajor = 10, this._gsView = d0;
26837
+ super(), this._circleSides = 100, this._center = new Nt(), this._lowerLeftCorner = new Nt(0, 0), this._upperRightCorner = new Nt(1, 1), this._snapBase = new Nt(0, 0), this._snapAngle = 0, this._snapSpacing = new Nt(0, 0), this._standardFlag = 0, this._gridSpacing = new Nt(), this._gridMajor = 10, this._gsView = p0;
26752
26838
  }
26753
26839
  /**
26754
26840
  * Gets or sets the circle zoom percent.
@@ -26922,17 +27008,17 @@ class m0 extends zn {
26922
27008
  return this._gsView;
26923
27009
  }
26924
27010
  }
26925
- class p0 {
27011
+ class f0 {
26926
27012
  constructor() {
26927
27013
  this.events = {
26928
27014
  /** Fired when the layout is created */
26929
- layoutCreated: new ce(),
27015
+ layoutCreated: new ie(),
26930
27016
  /** Fired when the layout is removed */
26931
- layoutRemoved: new ce(),
27017
+ layoutRemoved: new ie(),
26932
27018
  /** Fired when the layout is renamed */
26933
- layoutRenamed: new ce(),
27019
+ layoutRenamed: new ie(),
26934
27020
  /** Fired when the layout is switched */
26935
- layoutSwitched: new ce()
27021
+ layoutSwitched: new ie()
26936
27022
  };
26937
27023
  }
26938
27024
  /**
@@ -27089,7 +27175,7 @@ class p0 {
27089
27175
  * @returns Return newly created layout and its associated block table record.
27090
27176
  */
27091
27177
  createLayout(t, e) {
27092
- const s = this.getWorkingDatabase(e), o = new ga();
27178
+ const s = this.getWorkingDatabase(e), o = new fa();
27093
27179
  o.layoutName = t, o.tabOrder = s.dictionaries.layouts.maxTabOrder;
27094
27180
  const h = new _e();
27095
27181
  return h.name = `*Paper_Space${o.tabOrder}`, s.tables.blockTable.add(h), s.dictionaries.layouts.setAt(t, o), this.events.layoutCreated.dispatch({
@@ -27106,7 +27192,7 @@ class p0 {
27106
27192
  return e.dictionaries.layouts.getBtrIdAt(e.currentSpaceId);
27107
27193
  }
27108
27194
  getWorkingDatabase(t) {
27109
- return t || zh().workingDatabase;
27195
+ return t || Fh().workingDatabase;
27110
27196
  }
27111
27197
  setCurrentLayoutInternal(t, e) {
27112
27198
  return t ? (this.events.layoutSwitched.dispatch({
@@ -27114,16 +27200,16 @@ class p0 {
27114
27200
  }), e.currentSpaceId = t.blockTableRecordId, !0) : !1;
27115
27201
  }
27116
27202
  }
27117
- function zh() {
27118
- return ua.instance;
27203
+ function Fh() {
27204
+ return ca.instance;
27119
27205
  }
27120
- const ii = class ii {
27206
+ const ai = class ai {
27121
27207
  /**
27122
27208
  * Private constructor to enforce singleton pattern.
27123
27209
  * Initializes the layout manager.
27124
27210
  */
27125
27211
  constructor() {
27126
- this._workingDatabase = null, this._layoutManager = new p0();
27212
+ this._workingDatabase = null, this._layoutManager = new f0();
27127
27213
  }
27128
27214
  /**
27129
27215
  * Gets the current working database.
@@ -27187,200 +27273,201 @@ const ii = class ii {
27187
27273
  return this._layoutManager;
27188
27274
  }
27189
27275
  };
27190
- ii.instance = new ii();
27191
- let ua = ii;
27276
+ ai.instance = new ai();
27277
+ let ca = ai;
27192
27278
  export {
27193
27279
  dn as AcCmColor,
27194
27280
  Ye as AcCmErrors,
27195
- g0 as AcCmEventDispatcher,
27196
- ce as AcCmEventManager,
27197
- w0 as AcCmLoader,
27198
- lu as AcCmLoadingManager,
27199
- iu as AcCmObject,
27200
- Wo as AcCmPerformanceCollector,
27201
- au as AcCmTask,
27202
- ou as AcCmTaskScheduler,
27203
- Di as AcDb2dPolyline,
27204
- Eo as AcDb2dVertex,
27205
- Xu as AcDb2dVertexType,
27206
- na as AcDb3PointAngularDimension,
27207
- Ui as AcDb3dPolyline,
27208
- ko as AcDb3dVertex,
27209
- Ku as AcDb3dVertexType,
27210
- sa as AcDbAlignedDimension,
27211
- Yo as AcDbAngleUnits,
27212
- Vi as AcDbArc,
27213
- No as AcDbArcDimension,
27214
- N0 as AcDbBaseWorker,
27215
- Ho as AcDbBatchProcessing,
27281
+ _0 as AcCmEventDispatcher,
27282
+ ie as AcCmEventManager,
27283
+ S0 as AcCmLoader,
27284
+ uu as AcCmLoadingManager,
27285
+ ou as AcCmObject,
27286
+ Yo as AcCmPerformanceCollector,
27287
+ lu as AcCmTask,
27288
+ hu as AcCmTaskScheduler,
27289
+ Ui as AcDb2dPolyline,
27290
+ ko as AcDb2dVertex,
27291
+ $u as AcDb2dVertexType,
27292
+ sa as AcDb3PointAngularDimension,
27293
+ Vi as AcDb3dPolyline,
27294
+ To as AcDb3dVertex,
27295
+ Zu as AcDb3dVertexType,
27296
+ ia as AcDbAlignedDimension,
27297
+ Xo as AcDbAngleUnits,
27298
+ Gi as AcDbArc,
27299
+ Co as AcDbArcDimension,
27300
+ L0 as AcDbBaseWorker,
27301
+ qo as AcDbBatchProcessing,
27216
27302
  Js as AcDbBlockReference,
27217
- e0 as AcDbBlockTable,
27303
+ n0 as AcDbBlockTable,
27218
27304
  _e as AcDbBlockTableRecord,
27219
- Gi as AcDbCircle,
27220
- qo as AcDbCodePage,
27305
+ ji as AcDbCircle,
27306
+ Ko as AcDbCodePage,
27221
27307
  Te as AcDbCurve,
27222
- lc as AcDbDataGenerator,
27223
- C0 as AcDbDatabase,
27224
- Sl as AcDbDatabaseConverter,
27308
+ uc as AcDbDataGenerator,
27309
+ O0 as AcDbDatabase,
27310
+ Pl as AcDbDatabaseConverter,
27225
27311
  kr as AcDbDatabaseConverterManager,
27226
- ia as AcDbDiametricDimension,
27227
- bl as AcDbDictionary,
27228
- hc as AcDbDimArrowType,
27229
- r0 as AcDbDimStyleTable,
27312
+ aa as AcDbDiametricDimension,
27313
+ Al as AcDbDictionary,
27314
+ cc as AcDbDimArrowType,
27315
+ s0 as AcDbDimStyleTable,
27230
27316
  Is as AcDbDimStyleTableRecord,
27231
- o0 as AcDbDimTextHorizontal,
27232
- l0 as AcDbDimTextVertical,
27233
- c0 as AcDbDimVerticalJustification,
27234
- h0 as AcDbDimZeroSuppression,
27235
- u0 as AcDbDimZeroSuppressionAngular,
27317
+ h0 as AcDbDimTextHorizontal,
27318
+ u0 as AcDbDimTextVertical,
27319
+ m0 as AcDbDimVerticalJustification,
27320
+ c0 as AcDbDimZeroSuppression,
27321
+ d0 as AcDbDimZeroSuppressionAngular,
27236
27322
  Wr as AcDbDimension,
27237
- ha as AcDbDwgVersion,
27238
- Jd as AcDbDxfConverter,
27239
- ji as AcDbEllipse,
27323
+ ua as AcDbDwgVersion,
27324
+ e0 as AcDbDxfConverter,
27325
+ Wi as AcDbEllipse,
27240
27326
  ke as AcDbEntity,
27241
- Wi as AcDbFace,
27327
+ Hi as AcDbFace,
27242
27328
  Zs as AcDbFileType,
27243
27329
  ti as AcDbHatch,
27244
- $u as AcDbHatchPatternType,
27245
- Zu as AcDbHatchStyle,
27246
- ua as AcDbHostApplicationServices,
27247
- n0 as AcDbLayerTable,
27248
- ba as AcDbLayerTableRecord,
27249
- ga as AcDbLayout,
27250
- ac as AcDbLayoutDictionary,
27251
- p0 as AcDbLayoutManager,
27252
- Hi as AcDbLeader,
27253
- Qu as AcDbLeaderAnnotationType,
27254
- Yi as AcDbLine,
27255
- ic as AcDbLineSpacingStyle,
27256
- s0 as AcDbLinetypeTable,
27330
+ Qu as AcDbHatchPatternType,
27331
+ Ju as AcDbHatchStyle,
27332
+ ca as AcDbHostApplicationServices,
27333
+ i0 as AcDbLayerTable,
27334
+ wa as AcDbLayerTableRecord,
27335
+ fa as AcDbLayout,
27336
+ lc as AcDbLayoutDictionary,
27337
+ f0 as AcDbLayoutManager,
27338
+ Yi as AcDbLeader,
27339
+ tc as AcDbLeaderAnnotationType,
27340
+ qi as AcDbLine,
27341
+ oc as AcDbLineSpacingStyle,
27342
+ a0 as AcDbLinetypeTable,
27257
27343
  Qs as AcDbLinetypeTableRecord,
27258
- qi as AcDbMText,
27344
+ Xi as AcDbMText,
27259
27345
  mn as AcDbObject,
27260
- fa as AcDbObjectIterator,
27261
- aa as AcDbOrdinateDimension,
27346
+ _a as AcDbObjectIterator,
27347
+ oa as AcDbOrdinateDimension,
27262
27348
  Nn as AcDbOsnapMode,
27263
- Qi as AcDbPoint,
27349
+ Ji as AcDbPoint,
27264
27350
  ws as AcDbPoly2dType,
27265
27351
  Hs as AcDbPoly3dType,
27266
- Zi as AcDbPolyline,
27267
- oa as AcDbRadialDimension,
27352
+ Qi as AcDbPolyline,
27353
+ la as AcDbRadialDimension,
27268
27354
  ri as AcDbRasterImage,
27269
- nc as AcDbRasterImageClipBoundaryType,
27270
- oc as AcDbRasterImageDef,
27271
- sc as AcDbRasterImageImageDisplayOpt,
27272
- Ji as AcDbRay,
27273
- t0 as AcDbRegenerator,
27355
+ ic as AcDbRasterImageClipBoundaryType,
27356
+ hc as AcDbRasterImageDef,
27357
+ ac as AcDbRasterImageImageDisplayOpt,
27358
+ ta as AcDbRay,
27359
+ r0 as AcDbRegenerator,
27274
27360
  on as AcDbRenderingCache,
27275
27361
  ei as AcDbSpline,
27276
27362
  Rn as AcDbSymbolTable,
27277
27363
  zn as AcDbSymbolTableRecord,
27278
- Xi as AcDbTable,
27279
- Ki as AcDbText,
27280
- ec as AcDbTextHorizontalMode,
27281
- i0 as AcDbTextStyleTable,
27282
- Oh as AcDbTextStyleTableRecord,
27283
- rc as AcDbTextVerticalMode,
27284
- $i as AcDbTrace,
27285
- wl as AcDbUnitsValue,
27286
- ta as AcDbViewport,
27287
- a0 as AcDbViewportTable,
27288
- m0 as AcDbViewportTableRecord,
27289
- ea as AcDbWipeout,
27290
- Zd as AcDbWorkerApi,
27291
- $d as AcDbWorkerManager,
27292
- ra as AcDbXline,
27293
- da as AcGeArea2d,
27364
+ Uo as AcDbSysVarManager,
27365
+ Ki as AcDbTable,
27366
+ $i as AcDbText,
27367
+ nc as AcDbTextHorizontalMode,
27368
+ o0 as AcDbTextStyleTable,
27369
+ Rh as AcDbTextStyleTableRecord,
27370
+ sc as AcDbTextVerticalMode,
27371
+ Zi as AcDbTrace,
27372
+ Sl as AcDbUnitsValue,
27373
+ ea as AcDbViewport,
27374
+ l0 as AcDbViewportTable,
27375
+ g0 as AcDbViewportTableRecord,
27376
+ ra as AcDbWipeout,
27377
+ Jd as AcDbWorkerApi,
27378
+ Qd as AcDbWorkerManager,
27379
+ na as AcDbXline,
27380
+ ma as AcGeArea2d,
27294
27381
  we as AcGeBox2d,
27295
27382
  Ct as AcGeBox3d,
27296
- Yu as AcGeCatmullRomCurve3d,
27383
+ Xu as AcGeCatmullRomCurve3d,
27297
27384
  Ss as AcGeCircArc2d,
27298
- cl as AcGeCircArc3d,
27385
+ ml as AcGeCircArc3d,
27299
27386
  Es as AcGeCurve2d,
27300
- ma as AcGeEllipseArc2d,
27301
- pa as AcGeEllipseArc3d,
27302
- Gu as AcGeEuler,
27303
- Lu as AcGeGeometryUtil,
27387
+ pa as AcGeEllipseArc2d,
27388
+ ga as AcGeEllipseArc3d,
27389
+ Wu as AcGeEuler,
27390
+ zu as AcGeGeometryUtil,
27304
27391
  Ws as AcGeLine2d,
27305
- Bi as AcGeLine3d,
27306
- ml as AcGeLoop2d,
27392
+ Di as AcGeLine3d,
27393
+ gl as AcGeLoop2d,
27307
27394
  kt as AcGeMathUtil,
27308
- ca as AcGeMatrix2d,
27395
+ da as AcGeMatrix2d,
27309
27396
  un as AcGeMatrix3d,
27310
27397
  Cn as AcGeNurbsCurve,
27311
- ai as AcGePlane,
27398
+ oi as AcGePlane,
27312
27399
  Nt as AcGePoint2d,
27313
27400
  Y as AcGePoint3d,
27314
27401
  Ln as AcGePolyline2d,
27315
27402
  hn as AcGeQuaternion,
27316
- hl as AcGeShape2d,
27403
+ cl as AcGeShape2d,
27317
27404
  cn as AcGeSpline3d,
27318
- rl as AcGeTol,
27405
+ sl as AcGeTol,
27319
27406
  Zt as AcGeVector2d,
27320
27407
  Z as AcGeVector3d,
27321
- fl as AcGiArrowType,
27322
- vl as AcGiDefaultLightingType,
27408
+ yl as AcGiArrowType,
27409
+ bl as AcGiDefaultLightingType,
27323
27410
  Ee as AcGiMTextAttachmentPoint,
27324
27411
  Vr as AcGiMTextFlowDirection,
27325
- yl as AcGiOrthographicType,
27326
- _l as AcGiRenderMode,
27327
- Ju as AcGiViewport,
27328
- x0 as AcTrStringUtil,
27329
- du as ByBlock,
27330
- _i as ByLayer,
27331
- y0 as DEBUG_MODE,
27332
- Ci as DEFAULT_LINE_TYPE,
27333
- nl as DEFAULT_TOL,
27334
- Xo as DEG2RAD,
27335
- hu as DefaultLoadingManager,
27412
+ xl as AcGiOrthographicType,
27413
+ vl as AcGiRenderMode,
27414
+ ec as AcGiViewport,
27415
+ w0 as AcTrStringUtil,
27416
+ pu as ByBlock,
27417
+ yi as ByLayer,
27418
+ x0 as DEBUG_MODE,
27419
+ Li as DEFAULT_LINE_TYPE,
27420
+ il as DEFAULT_TOL,
27421
+ $o as DEG2RAD,
27422
+ cu as DefaultLoadingManager,
27336
27423
  En as FLOAT_TOL,
27337
- S0 as ORIGIN_POINT_2D,
27338
- el as ORIGIN_POINT_3D,
27339
- Ko as RAD2DEG,
27424
+ P0 as ORIGIN_POINT_2D,
27425
+ nl as ORIGIN_POINT_3D,
27426
+ Zo as RAD2DEG,
27340
27427
  se as TAU,
27341
- zh as acdbHostApplicationServices,
27342
- zi as basisFunction,
27343
- Fu as calculateCurveLength,
27344
- Eu as ceilPowerOfTwo,
27428
+ Fh as acdbHostApplicationServices,
27429
+ Ri as basisFunction,
27430
+ Du as calculateCurveLength,
27431
+ Tu as ceilPowerOfTwo,
27345
27432
  Ur as clamp,
27346
27433
  Cs as clone,
27347
- Qd as createWorkerApi,
27348
- fu as damp,
27434
+ t0 as createWorkerApi,
27435
+ yu as damp,
27349
27436
  Ps as defaults,
27350
- Su as degToRad,
27351
- cu as dwgCodePageToEncoding,
27352
- $o as euclideanModulo,
27437
+ Pu as degToRad,
27438
+ mu as dwgCodePageToEncoding,
27439
+ Qo as euclideanModulo,
27353
27440
  Gs as evaluateNurbsPoint,
27354
- ku as floorPowerOfTwo,
27355
- zu as generateChordKnots,
27356
- Ru as generateSqrtChordKnots,
27357
- mu as generateUUID,
27358
- Ou as generateUniformKnots,
27359
- nu as has,
27360
- Qo as intPartLength,
27361
- I0 as interpolateControlPoints,
27362
- gu as inverseLerp,
27363
- Tu as isBetween,
27364
- Mu as isBetweenAngle,
27365
- su as isEmpty,
27441
+ Mu as floorPowerOfTwo,
27442
+ Fu as generateChordKnots,
27443
+ Bu as generateSqrtChordKnots,
27444
+ gu as generateUUID,
27445
+ Ru as generateUniformKnots,
27446
+ iu as has,
27447
+ tl as intPartLength,
27448
+ E0 as interpolateControlPoints,
27449
+ _u as inverseLerp,
27450
+ Nu as isBetween,
27451
+ Cu as isBetweenAngle,
27452
+ au as isEmpty,
27366
27453
  As as isEqual,
27367
- M0 as isImperialUnits,
27368
- T0 as isMetricUnits,
27369
- sl as isPointInPolygon,
27370
- Cu as isPolygonIntersect,
27371
- Pu as isPowerOfTwo,
27372
- Zo as lerp,
27454
+ C0 as isImperialUnits,
27455
+ N0 as isMetricUnits,
27456
+ al as isPointInPolygon,
27457
+ Ou as isPolygonIntersect,
27458
+ ku as isPowerOfTwo,
27459
+ Jo as lerp,
27373
27460
  Us as log,
27374
- pu as mapLinear,
27461
+ fu as mapLinear,
27375
27462
  Vs as normalizeAngle,
27376
- _u as pingpong,
27377
- Iu as radToDeg,
27378
- bu as randFloat,
27379
- wu as randFloatSpread,
27380
- xu as randInt,
27381
- Nu as relativeEps,
27382
- Au as seededRandom,
27383
- v0 as setLogLevel,
27384
- vu as smootherstep,
27385
- yu as smoothstep
27463
+ vu as pingpong,
27464
+ Eu as radToDeg,
27465
+ Au as randFloat,
27466
+ Su as randFloatSpread,
27467
+ wu as randInt,
27468
+ Lu as relativeEps,
27469
+ Iu as seededRandom,
27470
+ b0 as setLogLevel,
27471
+ bu as smootherstep,
27472
+ xu as smoothstep
27386
27473
  };