@mlightcad/data-model 1.3.3 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (328) hide show
  1. package/dist/data-model.cjs +5 -0
  2. package/dist/data-model.js +25523 -0
  3. package/dist/dxf-parser-worker.js +1715 -0
  4. package/lib/base/AcDbHostApplicationServices.d.ts +96 -0
  5. package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -0
  6. package/lib/base/AcDbHostApplicationServices.js +118 -0
  7. package/lib/base/AcDbHostApplicationServices.js.map +1 -0
  8. package/lib/base/AcDbObject.d.ts +205 -0
  9. package/lib/base/AcDbObject.d.ts.map +1 -0
  10. package/lib/base/AcDbObject.js +236 -0
  11. package/lib/base/AcDbObject.js.map +1 -0
  12. package/lib/base/index.d.ts +3 -0
  13. package/lib/base/index.d.ts.map +1 -0
  14. package/lib/base/index.js +3 -0
  15. package/lib/base/index.js.map +1 -0
  16. package/lib/converter/AcDbBatchProcessing.d.ts +146 -0
  17. package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -0
  18. package/lib/converter/AcDbBatchProcessing.js +272 -0
  19. package/lib/converter/AcDbBatchProcessing.js.map +1 -0
  20. package/lib/converter/AcDbDxfConverter.d.ts +272 -0
  21. package/lib/converter/AcDbDxfConverter.d.ts.map +1 -0
  22. package/lib/converter/AcDbDxfConverter.js +874 -0
  23. package/lib/converter/AcDbDxfConverter.js.map +1 -0
  24. package/lib/converter/AcDbDxfParser.d.ts +23 -0
  25. package/lib/converter/AcDbDxfParser.d.ts.map +1 -0
  26. package/lib/converter/AcDbDxfParser.js +85 -0
  27. package/lib/converter/AcDbDxfParser.js.map +1 -0
  28. package/lib/converter/AcDbEntitiyConverter.d.ts +159 -0
  29. package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
  30. package/lib/converter/AcDbEntitiyConverter.js +659 -0
  31. package/lib/converter/AcDbEntitiyConverter.js.map +1 -0
  32. package/lib/converter/AcDbObjectConverter.d.ts +61 -0
  33. package/lib/converter/AcDbObjectConverter.d.ts.map +1 -0
  34. package/lib/converter/AcDbObjectConverter.js +91 -0
  35. package/lib/converter/AcDbObjectConverter.js.map +1 -0
  36. package/lib/converter/AcDbRegenerator.d.ts +101 -0
  37. package/lib/converter/AcDbRegenerator.d.ts.map +1 -0
  38. package/lib/converter/AcDbRegenerator.js +334 -0
  39. package/lib/converter/AcDbRegenerator.js.map +1 -0
  40. package/lib/converter/index.d.ts +5 -0
  41. package/lib/converter/index.d.ts.map +1 -0
  42. package/lib/converter/index.js +5 -0
  43. package/lib/converter/index.js.map +1 -0
  44. package/lib/converter/worker/AcDbBaseWorker.d.ts +36 -0
  45. package/lib/converter/worker/AcDbBaseWorker.d.ts.map +1 -0
  46. package/lib/converter/worker/AcDbBaseWorker.js +93 -0
  47. package/lib/converter/worker/AcDbBaseWorker.js.map +1 -0
  48. package/lib/converter/worker/AcDbDxfParserWorker.d.ts +11 -0
  49. package/lib/converter/worker/AcDbDxfParserWorker.d.ts.map +1 -0
  50. package/lib/converter/worker/AcDbDxfParserWorker.js +75 -0
  51. package/lib/converter/worker/AcDbDxfParserWorker.js.map +1 -0
  52. package/lib/converter/worker/AcDbWorkerManager.d.ts +107 -0
  53. package/lib/converter/worker/AcDbWorkerManager.d.ts.map +1 -0
  54. package/lib/converter/worker/AcDbWorkerManager.js +360 -0
  55. package/lib/converter/worker/AcDbWorkerManager.js.map +1 -0
  56. package/lib/converter/worker/index.d.ts +3 -0
  57. package/lib/converter/worker/index.d.ts.map +1 -0
  58. package/lib/converter/worker/index.js +3 -0
  59. package/lib/converter/worker/index.js.map +1 -0
  60. package/lib/database/AcDbBlockTable.d.ts +56 -0
  61. package/lib/database/AcDbBlockTable.d.ts.map +1 -0
  62. package/lib/database/AcDbBlockTable.js +98 -0
  63. package/lib/database/AcDbBlockTable.js.map +1 -0
  64. package/lib/database/AcDbBlockTableRecord.d.ts +185 -0
  65. package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -0
  66. package/lib/database/AcDbBlockTableRecord.js +261 -0
  67. package/lib/database/AcDbBlockTableRecord.js.map +1 -0
  68. package/lib/database/AcDbDatabase.d.ts +563 -0
  69. package/lib/database/AcDbDatabase.d.ts.map +1 -0
  70. package/lib/database/AcDbDatabase.js +842 -0
  71. package/lib/database/AcDbDatabase.js.map +1 -0
  72. package/lib/database/AcDbDatabaseConverter.d.ts +292 -0
  73. package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -0
  74. package/lib/database/AcDbDatabaseConverter.js +448 -0
  75. package/lib/database/AcDbDatabaseConverter.js.map +1 -0
  76. package/lib/database/AcDbDatabaseConverterManager.d.ts +141 -0
  77. package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -0
  78. package/lib/database/AcDbDatabaseConverterManager.js +173 -0
  79. package/lib/database/AcDbDatabaseConverterManager.js.map +1 -0
  80. package/lib/database/AcDbDimStyleTable.d.ts +31 -0
  81. package/lib/database/AcDbDimStyleTable.d.ts.map +1 -0
  82. package/lib/database/AcDbDimStyleTable.js +49 -0
  83. package/lib/database/AcDbDimStyleTable.js.map +1 -0
  84. package/lib/database/AcDbDimStyleTableRecord.d.ts +797 -0
  85. package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -0
  86. package/lib/database/AcDbDimStyleTableRecord.js +1294 -0
  87. package/lib/database/AcDbDimStyleTableRecord.js.map +1 -0
  88. package/lib/database/AcDbDwgVersion.d.ts +32 -0
  89. package/lib/database/AcDbDwgVersion.d.ts.map +1 -0
  90. package/lib/database/AcDbDwgVersion.js +126 -0
  91. package/lib/database/AcDbDwgVersion.js.map +1 -0
  92. package/lib/database/AcDbLayerTable.d.ts +51 -0
  93. package/lib/database/AcDbLayerTable.d.ts.map +1 -0
  94. package/lib/database/AcDbLayerTable.js +92 -0
  95. package/lib/database/AcDbLayerTable.js.map +1 -0
  96. package/lib/database/AcDbLayerTableRecord.d.ts +278 -0
  97. package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -0
  98. package/lib/database/AcDbLayerTableRecord.js +397 -0
  99. package/lib/database/AcDbLayerTableRecord.js.map +1 -0
  100. package/lib/database/AcDbLinetypeTable.d.ts +30 -0
  101. package/lib/database/AcDbLinetypeTable.d.ts.map +1 -0
  102. package/lib/database/AcDbLinetypeTable.js +48 -0
  103. package/lib/database/AcDbLinetypeTable.js.map +1 -0
  104. package/lib/database/AcDbLinetypeTableRecord.d.ts +79 -0
  105. package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -0
  106. package/lib/database/AcDbLinetypeTableRecord.js +129 -0
  107. package/lib/database/AcDbLinetypeTableRecord.js.map +1 -0
  108. package/lib/database/AcDbSymbolTable.d.ts +199 -0
  109. package/lib/database/AcDbSymbolTable.d.ts.map +1 -0
  110. package/lib/database/AcDbSymbolTable.js +264 -0
  111. package/lib/database/AcDbSymbolTable.js.map +1 -0
  112. package/lib/database/AcDbSymbolTableRecord.d.ts +61 -0
  113. package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -0
  114. package/lib/database/AcDbSymbolTableRecord.js +82 -0
  115. package/lib/database/AcDbSymbolTableRecord.js.map +1 -0
  116. package/lib/database/AcDbTextStyleTable.d.ts +48 -0
  117. package/lib/database/AcDbTextStyleTable.d.ts.map +1 -0
  118. package/lib/database/AcDbTextStyleTable.js +112 -0
  119. package/lib/database/AcDbTextStyleTable.js.map +1 -0
  120. package/lib/database/AcDbTextStyleTableRecord.d.ts +179 -0
  121. package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -0
  122. package/lib/database/AcDbTextStyleTableRecord.js +276 -0
  123. package/lib/database/AcDbTextStyleTableRecord.js.map +1 -0
  124. package/lib/database/AcDbViewportTable.d.ts +31 -0
  125. package/lib/database/AcDbViewportTable.d.ts.map +1 -0
  126. package/lib/database/AcDbViewportTable.js +49 -0
  127. package/lib/database/AcDbViewportTable.js.map +1 -0
  128. package/lib/database/AcDbViewportTableRecord.d.ts +154 -0
  129. package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -0
  130. package/lib/database/AcDbViewportTableRecord.js +318 -0
  131. package/lib/database/AcDbViewportTableRecord.js.map +1 -0
  132. package/lib/database/index.d.ts +19 -0
  133. package/lib/database/index.d.ts.map +1 -0
  134. package/lib/database/index.js +19 -0
  135. package/lib/database/index.js.map +1 -0
  136. package/lib/entity/AcDbArc.d.ts +254 -0
  137. package/lib/entity/AcDbArc.d.ts.map +1 -0
  138. package/lib/entity/AcDbArc.js +340 -0
  139. package/lib/entity/AcDbArc.js.map +1 -0
  140. package/lib/entity/AcDbBlockReference.d.ts +190 -0
  141. package/lib/entity/AcDbBlockReference.d.ts.map +1 -0
  142. package/lib/entity/AcDbBlockReference.js +302 -0
  143. package/lib/entity/AcDbBlockReference.js.map +1 -0
  144. package/lib/entity/AcDbCircle.d.ts +186 -0
  145. package/lib/entity/AcDbCircle.d.ts.map +1 -0
  146. package/lib/entity/AcDbCircle.js +249 -0
  147. package/lib/entity/AcDbCircle.js.map +1 -0
  148. package/lib/entity/AcDbCurve.d.ts +42 -0
  149. package/lib/entity/AcDbCurve.d.ts.map +1 -0
  150. package/lib/entity/AcDbCurve.js +44 -0
  151. package/lib/entity/AcDbCurve.js.map +1 -0
  152. package/lib/entity/AcDbEllipse.d.ts +207 -0
  153. package/lib/entity/AcDbEllipse.d.ts.map +1 -0
  154. package/lib/entity/AcDbEllipse.js +272 -0
  155. package/lib/entity/AcDbEllipse.js.map +1 -0
  156. package/lib/entity/AcDbEntity.d.ts +385 -0
  157. package/lib/entity/AcDbEntity.d.ts.map +1 -0
  158. package/lib/entity/AcDbEntity.js +561 -0
  159. package/lib/entity/AcDbEntity.js.map +1 -0
  160. package/lib/entity/AcDbFace.d.ts +151 -0
  161. package/lib/entity/AcDbFace.d.ts.map +1 -0
  162. package/lib/entity/AcDbFace.js +224 -0
  163. package/lib/entity/AcDbFace.js.map +1 -0
  164. package/lib/entity/AcDbHatch.d.ts +174 -0
  165. package/lib/entity/AcDbHatch.d.ts.map +1 -0
  166. package/lib/entity/AcDbHatch.js +250 -0
  167. package/lib/entity/AcDbHatch.js.map +1 -0
  168. package/lib/entity/AcDbLeader.d.ts +243 -0
  169. package/lib/entity/AcDbLeader.d.ts.map +1 -0
  170. package/lib/entity/AcDbLeader.js +358 -0
  171. package/lib/entity/AcDbLeader.js.map +1 -0
  172. package/lib/entity/AcDbLine.d.ts +198 -0
  173. package/lib/entity/AcDbLine.d.ts.map +1 -0
  174. package/lib/entity/AcDbLine.js +300 -0
  175. package/lib/entity/AcDbLine.js.map +1 -0
  176. package/lib/entity/AcDbMText.d.ts +248 -0
  177. package/lib/entity/AcDbMText.d.ts.map +1 -0
  178. package/lib/entity/AcDbMText.js +414 -0
  179. package/lib/entity/AcDbMText.js.map +1 -0
  180. package/lib/entity/AcDbPoint.d.ts +113 -0
  181. package/lib/entity/AcDbPoint.d.ts.map +1 -0
  182. package/lib/entity/AcDbPoint.js +155 -0
  183. package/lib/entity/AcDbPoint.js.map +1 -0
  184. package/lib/entity/AcDbPolyline.d.ts +221 -0
  185. package/lib/entity/AcDbPolyline.d.ts.map +1 -0
  186. package/lib/entity/AcDbPolyline.js +301 -0
  187. package/lib/entity/AcDbPolyline.js.map +1 -0
  188. package/lib/entity/AcDbRasterImage.d.ts +216 -0
  189. package/lib/entity/AcDbRasterImage.d.ts.map +1 -0
  190. package/lib/entity/AcDbRasterImage.js +451 -0
  191. package/lib/entity/AcDbRasterImage.js.map +1 -0
  192. package/lib/entity/AcDbRay.d.ts +150 -0
  193. package/lib/entity/AcDbRay.d.ts.map +1 -0
  194. package/lib/entity/AcDbRay.js +208 -0
  195. package/lib/entity/AcDbRay.js.map +1 -0
  196. package/lib/entity/AcDbSpline.d.ts +135 -0
  197. package/lib/entity/AcDbSpline.d.ts.map +1 -0
  198. package/lib/entity/AcDbSpline.js +142 -0
  199. package/lib/entity/AcDbSpline.js.map +1 -0
  200. package/lib/entity/AcDbTable.d.ts +260 -0
  201. package/lib/entity/AcDbTable.d.ts.map +1 -0
  202. package/lib/entity/AcDbTable.js +452 -0
  203. package/lib/entity/AcDbTable.js.map +1 -0
  204. package/lib/entity/AcDbText.d.ts +388 -0
  205. package/lib/entity/AcDbText.d.ts.map +1 -0
  206. package/lib/entity/AcDbText.js +523 -0
  207. package/lib/entity/AcDbText.js.map +1 -0
  208. package/lib/entity/AcDbTrace.d.ts +193 -0
  209. package/lib/entity/AcDbTrace.d.ts.map +1 -0
  210. package/lib/entity/AcDbTrace.js +271 -0
  211. package/lib/entity/AcDbTrace.js.map +1 -0
  212. package/lib/entity/AcDbViewport.d.ts +173 -0
  213. package/lib/entity/AcDbViewport.d.ts.map +1 -0
  214. package/lib/entity/AcDbViewport.js +295 -0
  215. package/lib/entity/AcDbViewport.js.map +1 -0
  216. package/lib/entity/AcDbWipeout.d.ts +39 -0
  217. package/lib/entity/AcDbWipeout.d.ts.map +1 -0
  218. package/lib/entity/AcDbWipeout.js +70 -0
  219. package/lib/entity/AcDbWipeout.js.map +1 -0
  220. package/lib/entity/AcDbXline.d.ts +151 -0
  221. package/lib/entity/AcDbXline.d.ts.map +1 -0
  222. package/lib/entity/AcDbXline.js +209 -0
  223. package/lib/entity/AcDbXline.js.map +1 -0
  224. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +92 -0
  225. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -0
  226. package/lib/entity/dimension/AcDb3PointAngularDimension.js +157 -0
  227. package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -0
  228. package/lib/entity/dimension/AcDbAlignedDimension.d.ts +220 -0
  229. package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -0
  230. package/lib/entity/dimension/AcDbAlignedDimension.js +341 -0
  231. package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -0
  232. package/lib/entity/dimension/AcDbArcDimension.d.ts +94 -0
  233. package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -0
  234. package/lib/entity/dimension/AcDbArcDimension.js +159 -0
  235. package/lib/entity/dimension/AcDbArcDimension.js.map +1 -0
  236. package/lib/entity/dimension/AcDbDiametricDimension.d.ts +145 -0
  237. package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -0
  238. package/lib/entity/dimension/AcDbDiametricDimension.js +275 -0
  239. package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -0
  240. package/lib/entity/dimension/AcDbDimension.d.ts +257 -0
  241. package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -0
  242. package/lib/entity/dimension/AcDbDimension.js +466 -0
  243. package/lib/entity/dimension/AcDbDimension.js.map +1 -0
  244. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +78 -0
  245. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -0
  246. package/lib/entity/dimension/AcDbOrdinateDimension.js +133 -0
  247. package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -0
  248. package/lib/entity/dimension/AcDbRadialDimension.d.ts +214 -0
  249. package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -0
  250. package/lib/entity/dimension/AcDbRadialDimension.js +288 -0
  251. package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -0
  252. package/lib/entity/dimension/index.d.ts +8 -0
  253. package/lib/entity/dimension/index.d.ts.map +1 -0
  254. package/lib/entity/dimension/index.js +8 -0
  255. package/lib/entity/dimension/index.js.map +1 -0
  256. package/lib/entity/index.d.ts +24 -0
  257. package/lib/entity/index.d.ts.map +1 -0
  258. package/lib/entity/index.js +24 -0
  259. package/lib/entity/index.js.map +1 -0
  260. package/lib/index.d.ts +10 -0
  261. package/lib/index.d.ts.map +1 -0
  262. package/lib/index.js +10 -0
  263. package/lib/index.js.map +1 -0
  264. package/lib/misc/AcDbAngleUnits.d.ts +20 -0
  265. package/lib/misc/AcDbAngleUnits.d.ts.map +1 -0
  266. package/lib/misc/AcDbAngleUnits.js +21 -0
  267. package/lib/misc/AcDbAngleUnits.js.map +1 -0
  268. package/lib/misc/AcDbCodePage.d.ts +50 -0
  269. package/lib/misc/AcDbCodePage.d.ts.map +1 -0
  270. package/lib/misc/AcDbCodePage.js +100 -0
  271. package/lib/misc/AcDbCodePage.js.map +1 -0
  272. package/lib/misc/AcDbConstants.d.ts +24 -0
  273. package/lib/misc/AcDbConstants.d.ts.map +1 -0
  274. package/lib/misc/AcDbConstants.js +24 -0
  275. package/lib/misc/AcDbConstants.js.map +1 -0
  276. package/lib/misc/AcDbDimArrowType.d.ts +89 -0
  277. package/lib/misc/AcDbDimArrowType.d.ts.map +1 -0
  278. package/lib/misc/AcDbDimArrowType.js +90 -0
  279. package/lib/misc/AcDbDimArrowType.js.map +1 -0
  280. package/lib/misc/AcDbObjectIterator.d.ts +64 -0
  281. package/lib/misc/AcDbObjectIterator.d.ts.map +1 -0
  282. package/lib/misc/AcDbObjectIterator.js +84 -0
  283. package/lib/misc/AcDbObjectIterator.js.map +1 -0
  284. package/lib/misc/AcDbOsnapMode.d.ts +51 -0
  285. package/lib/misc/AcDbOsnapMode.d.ts.map +1 -0
  286. package/lib/misc/AcDbOsnapMode.js +52 -0
  287. package/lib/misc/AcDbOsnapMode.js.map +1 -0
  288. package/lib/misc/AcDbRenderingCache.d.ts +141 -0
  289. package/lib/misc/AcDbRenderingCache.d.ts.map +1 -0
  290. package/lib/misc/AcDbRenderingCache.js +239 -0
  291. package/lib/misc/AcDbRenderingCache.js.map +1 -0
  292. package/lib/misc/AcDbUnitsValue.d.ts +101 -0
  293. package/lib/misc/AcDbUnitsValue.d.ts.map +1 -0
  294. package/lib/misc/AcDbUnitsValue.js +121 -0
  295. package/lib/misc/AcDbUnitsValue.js.map +1 -0
  296. package/lib/misc/index.d.ts +9 -0
  297. package/lib/misc/index.d.ts.map +1 -0
  298. package/lib/misc/index.js +9 -0
  299. package/lib/misc/index.js.map +1 -0
  300. package/lib/object/AcDbDictionary.d.ts +178 -0
  301. package/lib/object/AcDbDictionary.d.ts.map +1 -0
  302. package/lib/object/AcDbDictionary.js +264 -0
  303. package/lib/object/AcDbDictionary.js.map +1 -0
  304. package/lib/object/AcDbRasterImageDef.d.ts +54 -0
  305. package/lib/object/AcDbRasterImageDef.d.ts.map +1 -0
  306. package/lib/object/AcDbRasterImageDef.js +82 -0
  307. package/lib/object/AcDbRasterImageDef.js.map +1 -0
  308. package/lib/object/index.d.ts +4 -0
  309. package/lib/object/index.d.ts.map +1 -0
  310. package/lib/object/index.js +4 -0
  311. package/lib/object/index.js.map +1 -0
  312. package/lib/object/layout/AcDbLayout.d.ts +190 -0
  313. package/lib/object/layout/AcDbLayout.d.ts.map +1 -0
  314. package/lib/object/layout/AcDbLayout.js +253 -0
  315. package/lib/object/layout/AcDbLayout.js.map +1 -0
  316. package/lib/object/layout/AcDbLayoutDictionary.d.ts +47 -0
  317. package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -0
  318. package/lib/object/layout/AcDbLayoutDictionary.js +122 -0
  319. package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -0
  320. package/lib/object/layout/AcDbLayoutManager.d.ts +188 -0
  321. package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -0
  322. package/lib/object/layout/AcDbLayoutManager.js +245 -0
  323. package/lib/object/layout/AcDbLayoutManager.js.map +1 -0
  324. package/lib/object/layout/index.d.ts +4 -0
  325. package/lib/object/layout/index.d.ts.map +1 -0
  326. package/lib/object/layout/index.js +4 -0
  327. package/lib/object/layout/index.js.map +1 -0
  328. package/package.json +4 -4
@@ -0,0 +1,272 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
+ extendStatics(d, b);
12
+ function __() { this.constructor = d; }
13
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
+ };
15
+ })();
16
+ import { AcGeEllipseArc3d } from '@mlightcad/geometry-engine';
17
+ import { AcDbCurve } from './AcDbCurve';
18
+ /**
19
+ * Represents an ellipse entity in AutoCAD.
20
+ *
21
+ * An ellipse is a 2D geometric object defined by its center point, major and minor axes,
22
+ * and optional start and end angles. Ellipses are curved shapes that can be used to
23
+ * create elliptical shapes in drawings. The ellipse is always drawn in the plane
24
+ * defined by its normal vector.
25
+ *
26
+ * @example
27
+ * ```typescript
28
+ * // Create a full ellipse
29
+ * const ellipse = new AcDbEllipse(
30
+ * new AcGePoint3d(0, 0, 0),
31
+ * AcGeVector3d.Z_AXIS,
32
+ * AcGeVector3d.X_AXIS,
33
+ * 10, // major axis radius
34
+ * 5, // minor axis radius
35
+ * 0, // start angle
36
+ * 2 * Math.PI // end angle (full ellipse)
37
+ * );
38
+ *
39
+ * // Access ellipse properties
40
+ * console.log(`Center: ${ellipse.center}`);
41
+ * console.log(`Major radius: ${ellipse.majorAxisRadius}`);
42
+ * console.log(`Minor radius: ${ellipse.minorAxisRadius}`);
43
+ * ```
44
+ */
45
+ var AcDbEllipse = /** @class */ (function (_super) {
46
+ __extends(AcDbEllipse, _super);
47
+ /**
48
+ * Creates a new ellipse entity.
49
+ *
50
+ * This constructor creates an ellipse using the specified center point, normal vector,
51
+ * major axis, and radii. The center point must be in World Coordinate System (WCS) coordinates.
52
+ *
53
+ * @param center - The center point of the ellipse in WCS coordinates
54
+ * @param normal - The normal vector defining the plane of the ellipse
55
+ * @param majorAxis - The major axis vector in WCS coordinates
56
+ * @param majorAxisRadius - The radius of the major axis (must be positive)
57
+ * @param minorAxisRadius - The radius of the minor axis (must be positive)
58
+ * @param startAngle - The starting angle in radians (0 to 2π)
59
+ * @param endAngle - The ending angle in radians (0 to 2π)
60
+ *
61
+ * @example
62
+ * ```typescript
63
+ * // Create a full ellipse in the XY plane
64
+ * const fullEllipse = new AcDbEllipse(
65
+ * new AcGePoint3d(0, 0, 0),
66
+ * AcGeVector3d.Z_AXIS,
67
+ * AcGeVector3d.X_AXIS,
68
+ * 20, // major radius
69
+ * 10, // minor radius
70
+ * 0,
71
+ * 2 * Math.PI
72
+ * );
73
+ *
74
+ * // Create a quarter ellipse
75
+ * const quarterEllipse = new AcDbEllipse(
76
+ * new AcGePoint3d(10, 20, 0),
77
+ * AcGeVector3d.Z_AXIS,
78
+ * AcGeVector3d.X_AXIS,
79
+ * 15,
80
+ * 8,
81
+ * 0,
82
+ * Math.PI / 2
83
+ * );
84
+ * ```
85
+ */
86
+ function AcDbEllipse(center, normal, majorAxis, majorAxisRadius, minorAxisRadius, startAngle, endAngle) {
87
+ var _this = _super.call(this) || this;
88
+ _this._geo = new AcGeEllipseArc3d(center, normal, majorAxis, majorAxisRadius, minorAxisRadius, startAngle, endAngle);
89
+ return _this;
90
+ }
91
+ Object.defineProperty(AcDbEllipse.prototype, "center", {
92
+ /**
93
+ * Gets the center point of this ellipse.
94
+ *
95
+ * @returns The center point as a 3D point
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * const centerPoint = ellipse.center;
100
+ * console.log(`Ellipse center: ${centerPoint.x}, ${centerPoint.y}, ${centerPoint.z}`);
101
+ * ```
102
+ */
103
+ get: function () {
104
+ return this._geo.center;
105
+ },
106
+ /**
107
+ * Sets the center point of this ellipse.
108
+ *
109
+ * @param value - The new center point
110
+ *
111
+ * @example
112
+ * ```typescript
113
+ * ellipse.center = new AcGePoint3d(5, 5, 0);
114
+ * ```
115
+ */
116
+ set: function (value) {
117
+ this._geo.center = value;
118
+ },
119
+ enumerable: false,
120
+ configurable: true
121
+ });
122
+ Object.defineProperty(AcDbEllipse.prototype, "majorAxisRadius", {
123
+ /**
124
+ * Gets the major axis radius of this ellipse.
125
+ *
126
+ * @returns The major axis radius value
127
+ *
128
+ * @example
129
+ * ```typescript
130
+ * const majorRadius = ellipse.majorAxisRadius;
131
+ * console.log(`Major radius: ${majorRadius}`);
132
+ * ```
133
+ */
134
+ get: function () {
135
+ return this._geo.majorAxisRadius;
136
+ },
137
+ /**
138
+ * Sets the major axis radius of this ellipse.
139
+ *
140
+ * @param value - The new major axis radius value (must be positive)
141
+ *
142
+ * @example
143
+ * ```typescript
144
+ * ellipse.majorAxisRadius = 25;
145
+ * ```
146
+ */
147
+ set: function (value) {
148
+ this._geo.majorAxisRadius = value;
149
+ },
150
+ enumerable: false,
151
+ configurable: true
152
+ });
153
+ Object.defineProperty(AcDbEllipse.prototype, "minorAxisRadius", {
154
+ /**
155
+ * Gets the minor axis radius of this ellipse.
156
+ *
157
+ * @returns The minor axis radius value
158
+ *
159
+ * @example
160
+ * ```typescript
161
+ * const minorRadius = ellipse.minorAxisRadius;
162
+ * console.log(`Minor radius: ${minorRadius}`);
163
+ * ```
164
+ */
165
+ get: function () {
166
+ return this._geo.minorAxisRadius;
167
+ },
168
+ /**
169
+ * Sets the minor axis radius of this ellipse.
170
+ *
171
+ * @param value - The new minor axis radius value (must be positive)
172
+ *
173
+ * @example
174
+ * ```typescript
175
+ * ellipse.minorAxisRadius = 12;
176
+ * ```
177
+ */
178
+ set: function (value) {
179
+ this._geo.minorAxisRadius = value;
180
+ },
181
+ enumerable: false,
182
+ configurable: true
183
+ });
184
+ Object.defineProperty(AcDbEllipse.prototype, "normal", {
185
+ /**
186
+ * Gets the normal vector of this ellipse.
187
+ *
188
+ * The normal vector defines the plane in which the ellipse lies.
189
+ *
190
+ * @returns The unit normal vector in WCS coordinates
191
+ *
192
+ * @example
193
+ * ```typescript
194
+ * const normal = ellipse.normal;
195
+ * console.log(`Ellipse normal: ${normal.x}, ${normal.y}, ${normal.z}`);
196
+ * ```
197
+ */
198
+ get: function () {
199
+ return this._geo.normal;
200
+ },
201
+ /**
202
+ * Sets the normal vector of this ellipse.
203
+ *
204
+ * @param value - The new normal vector
205
+ *
206
+ * @example
207
+ * ```typescript
208
+ * ellipse.normal = AcGeVector3d.Y_AXIS;
209
+ * ```
210
+ */
211
+ set: function (value) {
212
+ this._geo.normal = value;
213
+ },
214
+ enumerable: false,
215
+ configurable: true
216
+ });
217
+ Object.defineProperty(AcDbEllipse.prototype, "geometricExtents", {
218
+ /**
219
+ * Gets the geometric extents (bounding box) of this ellipse.
220
+ *
221
+ * @returns The bounding box that encompasses the entire ellipse
222
+ *
223
+ * @example
224
+ * ```typescript
225
+ * const extents = ellipse.geometricExtents;
226
+ * console.log(`Ellipse bounds: ${extents.minPoint} to ${extents.maxPoint}`);
227
+ * ```
228
+ */
229
+ get: function () {
230
+ return this._geo.box;
231
+ },
232
+ enumerable: false,
233
+ configurable: true
234
+ });
235
+ Object.defineProperty(AcDbEllipse.prototype, "closed", {
236
+ /**
237
+ * Gets whether this ellipse is closed.
238
+ *
239
+ * An ellipse is considered closed if the start and end angles are the same
240
+ * (forming a complete ellipse).
241
+ *
242
+ * @returns True if the ellipse is closed (forms a complete ellipse), false otherwise
243
+ */
244
+ get: function () {
245
+ return this._geo.closed;
246
+ },
247
+ enumerable: false,
248
+ configurable: true
249
+ });
250
+ /**
251
+ * Draws this ellipse using the specified renderer.
252
+ *
253
+ * This method renders the ellipse as an elliptical arc using the ellipse's
254
+ * current style properties.
255
+ *
256
+ * @param renderer - The renderer to use for drawing
257
+ * @returns The rendered ellipse entity, or undefined if drawing failed
258
+ *
259
+ * @example
260
+ * ```typescript
261
+ * const renderedEllipse = ellipse.draw(renderer);
262
+ * ```
263
+ */
264
+ AcDbEllipse.prototype.draw = function (renderer) {
265
+ return renderer.ellipticalArc(this._geo, this.lineStyle);
266
+ };
267
+ /** The entity type name */
268
+ AcDbEllipse.typeName = 'Ellipse';
269
+ return AcDbEllipse;
270
+ }(AcDbCurve));
271
+ export { AcDbEllipse };
272
+ //# sourceMappingURL=AcDbEllipse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbEllipse.js","sourceRoot":"","sources":["../../src/entity/AcDbEllipse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;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AI,CAAC,IAAI,CAAC,MAAM,CAAA;QACzB,CAAC;QAED;;;;;;;;;WASG;aACH,UAAW,KAAuB;YAChC,IAAI,CAAC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAA;QAC1B,CAAC;;;OAdA;IA2BD,sBAAI,yCAAgB;QAXpB;;;;;;;;;;WAUG;aACH;YACE,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAA;QACtB,CAAC;;;OAAA;IAUD,sBAAI,+BAAM;QARV;;;;;;;WAOG;aACH;YACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAA;QACzB,CAAC;;;OAAA;IAED;;;;;;;;;;;;;OAaG;IACH,0BAAI,GAAJ,UAAK,QAAsB;QACzB,OAAO,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IAC1D,CAAC;IAnOD,2BAA2B;IACX,oBAAQ,GAAW,SAAS,CAAA;IAmO9C,kBAAC;CAAA,AArOD,CAAiC,SAAS,GAqOzC;SArOY,WAAW"}
@@ -0,0 +1,385 @@
1
+ import { AcCmColor } from '@mlightcad/common';
2
+ import { AcGeBox3d, AcGeMatrix3d, AcGePoint3d } from '@mlightcad/geometry-engine';
3
+ import { AcGiEntity, AcGiLineStyle, AcGiRenderer } from '@mlightcad/graphic-interface';
4
+ import { AcDbObject } from '../base/AcDbObject';
5
+ import { AcDbOsnapMode } from '../misc';
6
+ /**
7
+ * Abstract base class for all drawing entities.
8
+ *
9
+ * This class provides the fundamental functionality for all drawing entities,
10
+ * including layer management, color handling, linetype support, visibility,
11
+ * and geometric operations. All specific entity types (lines, circles, text, etc.)
12
+ * inherit from this class.
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ * class MyEntity extends AcDbEntity {
17
+ * get geometricExtents(): AcGeBox3d {
18
+ * // Implementation for geometric extents
19
+ * }
20
+ *
21
+ * draw(renderer: AcGiRenderer): AcGiEntity | undefined {
22
+ * // Implementation for drawing
23
+ * }
24
+ * }
25
+ * ```
26
+ */
27
+ export declare abstract class AcDbEntity extends AcDbObject {
28
+ /** The entity type name */
29
+ static typeName: string;
30
+ /** The layer name this entity belongs to */
31
+ private _layer;
32
+ /** The color of this entity */
33
+ private _color;
34
+ /** The linetype name for this entity */
35
+ private _lineType;
36
+ /** The line weight for this entity */
37
+ private _lineWeight;
38
+ /** The linetype scale factor for this entity */
39
+ private _linetypeScale;
40
+ /** Whether this entity is visible */
41
+ private _visibility;
42
+ /** The transparency level of this entity (0-1) */
43
+ private _transparency;
44
+ /**
45
+ * Gets the type name of this entity.
46
+ *
47
+ * This method returns the entity type by removing the "AcDb" prefix
48
+ * from the constructor name.
49
+ *
50
+ * @returns The entity type name
51
+ *
52
+ * @example
53
+ * ```typescript
54
+ * const entity = new AcDbLine();
55
+ * console.log(entity.type); // "Line"
56
+ * ```
57
+ */
58
+ get type(): string;
59
+ /**
60
+ * Gets the name of the layer referenced by this entity.
61
+ *
62
+ * @returns The layer name
63
+ *
64
+ * @example
65
+ * ```typescript
66
+ * const layerName = entity.layer;
67
+ * ```
68
+ */
69
+ get layer(): string;
70
+ /**
71
+ * Sets the name of the layer for this entity.
72
+ *
73
+ * @param value - The new layer name
74
+ *
75
+ * @example
76
+ * ```typescript
77
+ * entity.layer = 'MyLayer';
78
+ * ```
79
+ */
80
+ set layer(value: string);
81
+ /**
82
+ * Gets the color information of this entity.
83
+ *
84
+ * @returns The color object for this entity
85
+ *
86
+ * @example
87
+ * ```typescript
88
+ * const color = entity.color;
89
+ * ```
90
+ */
91
+ get color(): AcCmColor;
92
+ /**
93
+ * Sets the color information for this entity.
94
+ *
95
+ * @param value - The new color object
96
+ *
97
+ * @example
98
+ * ```typescript
99
+ * entity.color = new AcCmColor(0xFF0000);
100
+ * ```
101
+ */
102
+ set color(value: AcCmColor);
103
+ /**
104
+ * Gets the RGB color of this entity after converting color index.
105
+ *
106
+ * This method handles the conversion of color indices (including ByLayer and ByBlock)
107
+ * to actual RGB colors. It resolves layer colors and block colors as needed.
108
+ *
109
+ * @returns The RGB color value as a number
110
+ *
111
+ * @example
112
+ * ```typescript
113
+ * const rgbColor = entity.rgbColor;
114
+ * console.log(`RGB: ${rgbColor.toString(16)}`);
115
+ * ```
116
+ */
117
+ get rgbColor(): number;
118
+ /**
119
+ * Gets the name of the line type referenced by this entity.
120
+ *
121
+ * @returns The linetype name
122
+ *
123
+ * @example
124
+ * ```typescript
125
+ * const lineType = entity.lineType;
126
+ * ```
127
+ */
128
+ get lineType(): string;
129
+ /**
130
+ * Sets the name of the line type for this entity.
131
+ *
132
+ * @param value - The new linetype name
133
+ *
134
+ * @example
135
+ * ```typescript
136
+ * entity.lineType = 'DASHED';
137
+ * ```
138
+ */
139
+ set lineType(value: string);
140
+ /**
141
+ * Gets the line weight used by this entity.
142
+ *
143
+ * @returns The line weight value
144
+ *
145
+ * @example
146
+ * ```typescript
147
+ * const weight = entity.lineWeight;
148
+ * ```
149
+ */
150
+ get lineWeight(): number;
151
+ /**
152
+ * Sets the line weight for this entity.
153
+ *
154
+ * @param value - The new line weight value
155
+ *
156
+ * @example
157
+ * ```typescript
158
+ * entity.lineWeight = 2;
159
+ * ```
160
+ */
161
+ set lineWeight(value: number);
162
+ /**
163
+ * Gets the line type scale factor of this entity.
164
+ *
165
+ * When an entity is first instantiated, its line type scale is initialized
166
+ * to an invalid value. When the entity is added to the database, if a
167
+ * linetype scale has not been specified for the entity, it is set to the
168
+ * database's current line type scale value.
169
+ *
170
+ * @returns The linetype scale factor
171
+ *
172
+ * @example
173
+ * ```typescript
174
+ * const scale = entity.linetypeScale;
175
+ * ```
176
+ */
177
+ get linetypeScale(): number;
178
+ /**
179
+ * Sets the line type scale factor for this entity.
180
+ *
181
+ * @param value - The new linetype scale factor
182
+ *
183
+ * @example
184
+ * ```typescript
185
+ * entity.linetypeScale = 2.0;
186
+ * ```
187
+ */
188
+ set linetypeScale(value: number);
189
+ /**
190
+ * Gets whether this entity is visible.
191
+ *
192
+ * @returns True if the entity is visible, false otherwise
193
+ *
194
+ * @example
195
+ * ```typescript
196
+ * const isVisible = entity.visibility;
197
+ * ```
198
+ */
199
+ get visibility(): boolean;
200
+ /**
201
+ * Sets whether this entity is visible.
202
+ *
203
+ * @param value - True to make the entity visible, false to hide it
204
+ *
205
+ * @example
206
+ * ```typescript
207
+ * entity.visibility = false; // Hide the entity
208
+ * ```
209
+ */
210
+ set visibility(value: boolean);
211
+ /**
212
+ * Gets the transparency level of this entity.
213
+ *
214
+ * @returns The transparency value (0-1, where 0 is opaque and 1 is fully transparent)
215
+ *
216
+ * @example
217
+ * ```typescript
218
+ * const transparency = entity.transparency;
219
+ * ```
220
+ */
221
+ get transparency(): number;
222
+ /**
223
+ * Sets the transparency level of this entity.
224
+ *
225
+ * @param value - The transparency value (0-1, where 0 is opaque and 1 is fully transparent)
226
+ *
227
+ * @example
228
+ * ```typescript
229
+ * entity.transparency = 0.5; // 50% transparent
230
+ * ```
231
+ */
232
+ set transparency(value: number);
233
+ /**
234
+ * Gets the grip points for this entity.
235
+ *
236
+ * Grip points are the control points that can be used to modify the entity.
237
+ * This method should be overridden by subclasses to provide entity-specific
238
+ * grip points.
239
+ *
240
+ * @returns Array of grip points as 3D points
241
+ *
242
+ * @example
243
+ * ```typescript
244
+ * const gripPoints = entity.subGetGripPoints();
245
+ * ```
246
+ */
247
+ subGetGripPoints(): AcGePoint3d[];
248
+ /**
249
+ * Gets the object snap points for this entity.
250
+ *
251
+ * Object snap points are the points that can be used for precise positioning
252
+ * when drawing or editing. This method should be overridden by subclasses
253
+ * to provide entity-specific snap points.
254
+ *
255
+ * @param osnapMode - The object snap mode
256
+ * @param gsSelectionMark - The selection mark
257
+ * @param pickPoint - The pick point
258
+ * @param lastPoint - The last point
259
+ * @param snapPoints - Array to populate with snap points
260
+ *
261
+ * @example
262
+ * ```typescript
263
+ * const snapPoints: AcGePoint3d[] = [];
264
+ * entity.subGetOsnapPoints(AcDbOsnapMode.Endpoint, 0, pickPoint, lastPoint, snapPoints);
265
+ * ```
266
+ */
267
+ subGetOsnapPoints(osnapMode: AcDbOsnapMode, gsSelectionMark: number, pickPoint: AcGePoint3d, lastPoint: AcGePoint3d, snapPoints: AcGePoint3d[]): void;
268
+ /**
269
+ * Transforms this entity by the specified matrix.
270
+ *
271
+ * This method applies a geometric transformation to the entity.
272
+ * Subclasses should override this method to provide entity-specific
273
+ * transformation behavior.
274
+ *
275
+ * @param matrix - The transformation matrix to apply
276
+ * @returns This entity after transformation
277
+ *
278
+ * @example
279
+ * ```typescript
280
+ * const matrix = AcGeMatrix3d.translation(10, 0, 0);
281
+ * entity.transformBy(matrix);
282
+ * ```
283
+ */
284
+ transformBy(matrix: AcGeMatrix3d): this;
285
+ /**
286
+ * Gets the geometric extents of this entity.
287
+ *
288
+ * This method should be implemented by subclasses to return the
289
+ * bounding box that encompasses the entire entity.
290
+ *
291
+ * @returns The geometric extents as a 3D bounding box
292
+ *
293
+ * @example
294
+ * ```typescript
295
+ * const extents = entity.geometricExtents;
296
+ * console.log(`Min: ${extents.minPoint}, Max: ${extents.maxPoint}`);
297
+ * ```
298
+ */
299
+ abstract get geometricExtents(): AcGeBox3d;
300
+ /**
301
+ * Draws this entity using the specified renderer.
302
+ *
303
+ * This method should be implemented by subclasses to provide
304
+ * entity-specific drawing behavior.
305
+ *
306
+ * @param renderer - The renderer to use for drawing
307
+ * @param delay - The flag to delay creating one rendered entity and just create one dummy
308
+ * entity. Renderer can delay heavy calculation operation to avoid blocking UI when this flag
309
+ * is true. For now, text and mtext entity supports this flag only. Other types of entities
310
+ * just ignore this flag.
311
+ * @returns The rendered entity, or undefined if drawing failed
312
+ *
313
+ * @example
314
+ * ```typescript
315
+ * const renderedEntity = entity.draw(renderer);
316
+ * ```
317
+ */
318
+ abstract draw(renderer: AcGiRenderer, delay?: boolean): AcGiEntity | undefined;
319
+ /**
320
+ * Triggers a modified event for this entity.
321
+ *
322
+ * This method notifies listeners that the entity has been modified.
323
+ *
324
+ * @example
325
+ * ```typescript
326
+ * entity.triggerModifiedEvent();
327
+ * ```
328
+ */
329
+ triggerModifiedEvent(): void;
330
+ /**
331
+ * Gets the line style for this entity.
332
+ *
333
+ * This method returns the line style based on the entity's linetype
334
+ * and other properties.
335
+ *
336
+ * @returns The line style object
337
+ *
338
+ * @example
339
+ * ```typescript
340
+ * const lineStyle = entity.lineStyle;
341
+ * ```
342
+ */
343
+ protected get lineStyle(): AcGiLineStyle;
344
+ /**
345
+ * Gets the line type for this entity.
346
+ *
347
+ * This method resolves the line type, handling ByLayer and ByBlock
348
+ * references as needed.
349
+ *
350
+ * @returns The resolved line type name
351
+ *
352
+ * @example
353
+ * ```typescript
354
+ * const lineType = entity.getLineType();
355
+ * ```
356
+ */
357
+ private getLineType;
358
+ /**
359
+ * Gets the color of the layer this entity belongs to.
360
+ *
361
+ * This method retrieves the color from the layer table for the
362
+ * layer this entity belongs to.
363
+ *
364
+ * @returns The layer color, or undefined if the layer doesn't exist
365
+ *
366
+ * @example
367
+ * ```typescript
368
+ * const layerColor = entity.getLayerColor();
369
+ * ```
370
+ */
371
+ protected getLayerColor(): AcCmColor | null;
372
+ /**
373
+ * Attaches entity information to a graphic interface entity.
374
+ *
375
+ * This method transfers essential entity properties (object ID, owner ID,
376
+ * layer name, and visibility) from this entity to the target graphic
377
+ * interface entity. This is typically used during the rendering process
378
+ * to ensure the graphic entity has the correct metadata.
379
+ *
380
+ * @param target - The graphic interface entity to attach information to
381
+ *
382
+ */
383
+ protected attachEntityInfo(target: AcGiEntity | null | undefined): void;
384
+ }
385
+ //# sourceMappingURL=AcDbEntity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbEntity.d.ts","sourceRoot":"","sources":["../../src/entity/AcDbEntity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EACL,SAAS,EACT,YAAY,EACZ,WAAW,EACZ,MAAM,4BAA4B,CAAA;AACnC,OAAO,EACL,UAAU,EACV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