dxf-kit 1.0.1 → 1.0.2

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.
package/dist/index.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  'use strict';
2
2
 
3
- (function(_0x33571c,_0x5b016b){const _0x1466cc=_0x20a9,_0x1eaa89=_0x33571c();while(!![]){try{const _0x1112c4=parseInt(_0x1466cc(0x1b6))/0x1+-parseInt(_0x1466cc(0x20e))/0x2+-parseInt(_0x1466cc(0x149))/0x3*(-parseInt(_0x1466cc(0x1bd))/0x4)+-parseInt(_0x1466cc(0x14c))/0x5+parseInt(_0x1466cc(0x15e))/0x6+-parseInt(_0x1466cc(0x1c1))/0x7*(-parseInt(_0x1466cc(0x197))/0x8)+parseInt(_0x1466cc(0x11e))/0x9;if(_0x1112c4===_0x5b016b)break;else _0x1eaa89['push'](_0x1eaa89['shift']());}catch(_0x36d8b1){_0x1eaa89['push'](_0x1eaa89['shift']());}}}(_0x3bfb,0x949fe));function tokenize(_0x4bb59e){const _0x5b5884=_0x20a9,_0x233d0d=_0x4bb59e[_0x5b5884(0x19c)](/\r?\n/),_0x4528d7=[];for(let _0xd368d0=0x0;_0xd368d0+0x1<_0x233d0d[_0x5b5884(0x210)];_0xd368d0+=0x2){const _0x33e881=parseInt(_0x233d0d[_0xd368d0][_0x5b5884(0x130)](),0xa),_0x1a4e0d=_0x233d0d[_0xd368d0+0x1]['trim']();_0x4528d7[_0x5b5884(0x1a0)]({'code':_0x33e881,'value':_0x1a4e0d});}return _0x4528d7;}function autoConvert(_0x4e543a,_0x560bc4){if(_0x4e543a>=0xa&&_0x4e543a<=0x3b||_0x4e543a>=0x6e&&_0x4e543a<=0x95||_0x4e543a>=0xd2&&_0x4e543a<=0xef||_0x4e543a>=0x1cc&&_0x4e543a<=0x1d5||_0x4e543a>=0x3f2&&_0x4e543a<=0x423)return parseFloat(_0x560bc4);if(_0x4e543a>=0x3c&&_0x4e543a<=0x4f||_0x4e543a>=0x5a&&_0x4e543a<=0x63||_0x4e543a>=0xaa&&_0x4e543a<=0xb3||_0x4e543a>=0x10e&&_0x4e543a<=0x121||_0x4e543a>=0x172&&_0x4e543a<=0x185||_0x4e543a>=0x190&&_0x4e543a<=0x199||_0x4e543a>=0x424&&_0x4e543a<=0x437)return parseInt(_0x560bc4,0xa);return _0x560bc4;}function splitSections(_0x267907){const _0x287d15=_0x20a9,_0x3a0388={};let _0x5e2c6b=0x0;while(_0x5e2c6b<_0x267907[_0x287d15(0x210)]){if(_0x267907[_0x5e2c6b][_0x287d15(0x1c9)]===0x0&&_0x267907[_0x5e2c6b]['value']===_0x287d15(0x1af)){_0x5e2c6b++;const _0x1f7ac7=_0x267907[_0x5e2c6b][_0x287d15(0x183)];_0x5e2c6b++;const _0x15842a=_0x5e2c6b;while(_0x5e2c6b<_0x267907[_0x287d15(0x210)]&&!(_0x267907[_0x5e2c6b][_0x287d15(0x1c9)]===0x0&&_0x267907[_0x5e2c6b][_0x287d15(0x183)]===_0x287d15(0x190))){_0x5e2c6b++;}_0x3a0388[_0x1f7ac7]=_0x267907[_0x287d15(0x1e4)](_0x15842a,_0x5e2c6b),_0x5e2c6b++;}else _0x5e2c6b++;}return _0x3a0388;}function parseHeader(_0x231da6){const _0xbdece1=_0x20a9;if(!_0x231da6||_0x231da6['length']===0x0)return {};const _0x424c9a={};let _0x587af4=0x0;while(_0x587af4<_0x231da6[_0xbdece1(0x210)]){if(_0x231da6[_0x587af4][_0xbdece1(0x1c9)]===0x9){const _0x11f7e0=_0x231da6[_0x587af4][_0xbdece1(0x183)];_0x587af4++;const _0x35b1f6={};while(_0x587af4<_0x231da6[_0xbdece1(0x210)]&&_0x231da6[_0x587af4][_0xbdece1(0x1c9)]!==0x9&&_0x231da6[_0x587af4]['code']!==0x0){_0x35b1f6[_0x231da6[_0x587af4][_0xbdece1(0x1c9)]]=autoConvert(_0x231da6[_0x587af4][_0xbdece1(0x1c9)],_0x231da6[_0x587af4][_0xbdece1(0x183)]),_0x587af4++;}const _0x3c9424=Object[_0xbdece1(0x154)](_0x35b1f6);_0x424c9a[_0x11f7e0]=_0x3c9424[_0xbdece1(0x210)]===0x1?_0x35b1f6[_0x3c9424[0x0]]:_0x35b1f6;}else _0x587af4++;}return _0x424c9a;}function parseClasses(_0x403514){const _0x153fb9=_0x20a9;if(!_0x403514||_0x403514[_0x153fb9(0x210)]===0x0)return [];const _0x24b373=[];let _0x581610=0x0;while(_0x581610<_0x403514['length']){if(_0x403514[_0x581610]['code']===0x0&&_0x403514[_0x581610][_0x153fb9(0x183)]===_0x153fb9(0x121)){_0x581610++;const _0x1dda02={};while(_0x581610<_0x403514[_0x153fb9(0x210)]&&_0x403514[_0x581610][_0x153fb9(0x1c9)]!==0x0){switch(_0x403514[_0x581610][_0x153fb9(0x1c9)]){case 0x1:_0x1dda02[_0x153fb9(0x1ce)]=_0x403514[_0x581610][_0x153fb9(0x183)];break;case 0x2:_0x1dda02[_0x153fb9(0x182)]=_0x403514[_0x581610][_0x153fb9(0x183)];break;case 0x3:_0x1dda02['appName']=_0x403514[_0x581610][_0x153fb9(0x183)];break;case 0x5a:_0x1dda02[_0x153fb9(0x117)]=parseInt(_0x403514[_0x581610][_0x153fb9(0x183)],0xa);break;case 0x5b:_0x1dda02[_0x153fb9(0x19f)]=parseInt(_0x403514[_0x581610][_0x153fb9(0x183)],0xa);break;case 0x118:_0x1dda02[_0x153fb9(0x14b)]=parseInt(_0x403514[_0x581610][_0x153fb9(0x183)],0xa);break;case 0x119:_0x1dda02[_0x153fb9(0x193)]=parseInt(_0x403514[_0x581610][_0x153fb9(0x183)],0xa);break;default:_0x1dda02['code_'+_0x403514[_0x581610]['code']]=_0x403514[_0x581610][_0x153fb9(0x183)];}_0x581610++;}_0x24b373[_0x153fb9(0x1a0)](_0x1dda02);}else _0x581610++;}return _0x24b373;}function _0x20a9(_0x34c901,_0x421031){_0x34c901=_0x34c901-0x109;const _0x3bfb3d=_0x3bfb();let _0x20a941=_0x3bfb3d[_0x34c901];return _0x20a941;}function parseTables(_0x10e4d5){const _0x46ff47=_0x20a9;if(!_0x10e4d5||_0x10e4d5[_0x46ff47(0x210)]===0x0)return {};const _0x3262a8={};let _0x562a4a=0x0;while(_0x562a4a<_0x10e4d5[_0x46ff47(0x210)]){if(_0x10e4d5[_0x562a4a]['code']===0x0&&_0x10e4d5[_0x562a4a][_0x46ff47(0x183)]===_0x46ff47(0x11a)){_0x562a4a++;const _0x39926c=_0x10e4d5[_0x562a4a][_0x46ff47(0x183)];_0x562a4a++;const _0x9e42ec=_0x562a4a;while(_0x562a4a<_0x10e4d5[_0x46ff47(0x210)]&&!(_0x10e4d5[_0x562a4a][_0x46ff47(0x1c9)]===0x0&&_0x10e4d5[_0x562a4a][_0x46ff47(0x183)]===_0x46ff47(0x1b7))){_0x562a4a++;}_0x3262a8[_0x39926c]=parseTableEntries(_0x39926c,_0x10e4d5['slice'](_0x9e42ec,_0x562a4a)),_0x562a4a++;}else _0x562a4a++;}return _0x3262a8;}function parseTableEntries(_0x1d7098,_0x29ed88){const _0x25706c=_0x20a9,_0x47899b=[];let _0x198c7c=0x0;while(_0x198c7c<_0x29ed88[_0x25706c(0x210)]){if(_0x29ed88[_0x198c7c]['code']===0x0){const _0x3190ad=_0x29ed88[_0x198c7c][_0x25706c(0x183)];_0x198c7c++;const _0x4e5ffb={'_type':_0x3190ad};while(_0x198c7c<_0x29ed88[_0x25706c(0x210)]&&_0x29ed88[_0x198c7c][_0x25706c(0x1c9)]!==0x0){const _0x320e0e=_0x29ed88[_0x198c7c]['code'],_0x4b821b=autoConvert(_0x320e0e,_0x29ed88[_0x198c7c][_0x25706c(0x183)]);switch(_0x320e0e){case 0x2:_0x4e5ffb[_0x25706c(0x152)]=_0x4b821b;break;case 0x5:_0x4e5ffb[_0x25706c(0x179)]=_0x4b821b;break;case 0x6:_0x4e5ffb[_0x25706c(0x139)]=_0x4b821b;break;case 0x7:_0x4e5ffb[_0x25706c(0x17d)]=_0x4b821b;break;case 0x3e:_0x4e5ffb['colorNumber']=_0x4b821b;break;case 0x46:_0x4e5ffb[_0x25706c(0x1ee)]=_0x4b821b;break;case 0x28:_0x4e5ffb['height']=_0x4b821b;break;case 0x29:_0x4e5ffb[_0x25706c(0x1fe)]=_0x4b821b;break;case 0x32:_0x4e5ffb['angle']=_0x4b821b;break;case 0x64:_0x4e5ffb[_0x25706c(0x1b8)]=_0x4e5ffb[_0x25706c(0x1b8)]?[][_0x25706c(0x1f4)](_0x4e5ffb[_0x25706c(0x1b8)],_0x4b821b):_0x4b821b;break;case 0x14a:_0x4e5ffb[_0x25706c(0x10e)]=_0x4b821b;break;case 0x172:_0x4e5ffb[_0x25706c(0x199)]=_0x4b821b;break;case 0x186:_0x4e5ffb[_0x25706c(0x192)]=_0x4b821b;break;default:_0x4e5ffb[_0x25706c(0x1f2)+_0x320e0e]!==undefined?_0x4e5ffb[_0x25706c(0x1f2)+_0x320e0e]=[][_0x25706c(0x1f4)](_0x4e5ffb[_0x25706c(0x1f2)+_0x320e0e],_0x4b821b):_0x4e5ffb[_0x25706c(0x1f2)+_0x320e0e]=_0x4b821b;}_0x198c7c++;}_0x47899b[_0x25706c(0x1a0)](_0x4e5ffb);}else _0x198c7c++;}return _0x47899b;}function parseBlocks(_0x51302e){const _0x27aa13=_0x20a9;if(!_0x51302e||_0x51302e['length']===0x0)return [];const _0x4317bd=[];let _0x4676f4=0x0;while(_0x4676f4<_0x51302e[_0x27aa13(0x210)]){if(_0x51302e[_0x4676f4][_0x27aa13(0x1c9)]===0x0&&_0x51302e[_0x4676f4][_0x27aa13(0x183)]===_0x27aa13(0x1da)){_0x4676f4++;const _0x96f656={'entities':[]};while(_0x4676f4<_0x51302e['length']&&_0x51302e[_0x4676f4][_0x27aa13(0x1c9)]!==0x0){switch(_0x51302e[_0x4676f4][_0x27aa13(0x1c9)]){case 0x2:_0x96f656[_0x27aa13(0x152)]=_0x51302e[_0x4676f4][_0x27aa13(0x183)];break;case 0x3:_0x96f656['name2']=_0x51302e[_0x4676f4][_0x27aa13(0x183)];break;case 0x5:_0x96f656['handle']=_0x51302e[_0x4676f4][_0x27aa13(0x183)];break;case 0x8:_0x96f656[_0x27aa13(0x15f)]=_0x51302e[_0x4676f4]['value'];break;case 0xa:_0x96f656[_0x27aa13(0x153)]=parseFloat(_0x51302e[_0x4676f4][_0x27aa13(0x183)]);break;case 0x14:_0x96f656[_0x27aa13(0x19b)]=parseFloat(_0x51302e[_0x4676f4][_0x27aa13(0x183)]);break;case 0x1e:_0x96f656['basePointZ']=parseFloat(_0x51302e[_0x4676f4][_0x27aa13(0x183)]);break;case 0x46:_0x96f656[_0x27aa13(0x1ee)]=parseInt(_0x51302e[_0x4676f4][_0x27aa13(0x183)],0xa);break;case 0x64:break;case 0x14a:_0x96f656[_0x27aa13(0x10e)]=_0x51302e[_0x4676f4][_0x27aa13(0x183)];break;default:_0x96f656[_0x27aa13(0x1f2)+_0x51302e[_0x4676f4][_0x27aa13(0x1c9)]]=_0x51302e[_0x4676f4]['value'];}_0x4676f4++;}const _0x56feaf=[];while(_0x4676f4<_0x51302e[_0x27aa13(0x210)]&&!(_0x51302e[_0x4676f4][_0x27aa13(0x1c9)]===0x0&&_0x51302e[_0x4676f4][_0x27aa13(0x183)]===_0x27aa13(0x1cd))){_0x56feaf[_0x27aa13(0x1a0)](_0x51302e[_0x4676f4]),_0x4676f4++;}if(_0x56feaf[_0x27aa13(0x210)]>0x0)_0x96f656[_0x27aa13(0x10b)]=parseEntityList(_0x56feaf);if(_0x4676f4<_0x51302e[_0x27aa13(0x210)]){_0x4676f4++;while(_0x4676f4<_0x51302e[_0x27aa13(0x210)]&&_0x51302e[_0x4676f4][_0x27aa13(0x1c9)]!==0x0)_0x4676f4++;}_0x4317bd[_0x27aa13(0x1a0)](_0x96f656);}else _0x4676f4++;}return _0x4317bd;}function parseEntityList(_0x3a01cb){const _0x275be0=_0x20a9,_0x5e62a0=[];let _0x543f8a=0x0;while(_0x543f8a<_0x3a01cb[_0x275be0(0x210)]){if(_0x3a01cb[_0x543f8a][_0x275be0(0x1c9)]===0x0){const _0x503af8=_0x3a01cb[_0x543f8a][_0x275be0(0x183)];_0x543f8a++;const _0x4a9458=[];while(_0x543f8a<_0x3a01cb[_0x275be0(0x210)]&&_0x3a01cb[_0x543f8a][_0x275be0(0x1c9)]!==0x0){_0x4a9458['push'](_0x3a01cb[_0x543f8a]),_0x543f8a++;}const _0x529bf8=parseOneEntity(_0x503af8,_0x4a9458);if(_0x529bf8)_0x5e62a0[_0x275be0(0x1a0)](_0x529bf8);}else _0x543f8a++;}return _0x5e62a0;}function parseOneEntity(_0x27b1f1,_0x330a29){const _0xfacd16=_0x20a9,_0x13b109={'type':_0x27b1f1};for(const _0x4c08b7 of _0x330a29){switch(_0x4c08b7[_0xfacd16(0x1c9)]){case 0x5:_0x13b109[_0xfacd16(0x179)]=_0x4c08b7[_0xfacd16(0x183)];break;case 0x8:_0x13b109[_0xfacd16(0x15f)]=_0x4c08b7['value'];break;case 0x6:_0x13b109[_0xfacd16(0x139)]=_0x4c08b7[_0xfacd16(0x183)];break;case 0x30:_0x13b109[_0xfacd16(0x172)]=parseFloat(_0x4c08b7[_0xfacd16(0x183)]);break;case 0x3c:_0x13b109[_0xfacd16(0x1bb)]=parseInt(_0x4c08b7['value'],0xa)===0x0;break;case 0x3e:_0x13b109[_0xfacd16(0x160)]=parseInt(_0x4c08b7['value'],0xa);break;case 0x43:_0x13b109['inPaperSpace']=parseInt(_0x4c08b7[_0xfacd16(0x183)],0xa)===0x1;break;case 0x14a:_0x13b109[_0xfacd16(0x10e)]=_0x4c08b7[_0xfacd16(0x183)];break;case 0x172:_0x13b109['lineweight']=parseInt(_0x4c08b7[_0xfacd16(0x183)],0xa);break;case 0x1a4:_0x13b109[_0xfacd16(0x1c0)]=parseInt(_0x4c08b7[_0xfacd16(0x183)],0xa);break;}}switch(_0x27b1f1){case _0xfacd16(0x11b):return parseLineEntity(_0x13b109,_0x330a29);case _0xfacd16(0x208):return parseLWPolylineEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1ff):return parsePolylineEntity(_0x13b109,_0x330a29);case _0xfacd16(0x19a):return parseVertexEntity(_0x13b109,_0x330a29);case 'ARC':return parseArcEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1ea):return parseCircleEntity(_0x13b109,_0x330a29);case _0xfacd16(0x18a):return parseEllipseEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1cf):return parsePointEntity(_0x13b109,_0x330a29);case 'TEXT':return parseTextEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1a4):return parseMTextEntity(_0x13b109,_0x330a29);case 'ATTRIB':return parseAttribEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1d9):return parseAttribEntity(_0x13b109,_0x330a29);case _0xfacd16(0x146):return parseInsertEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1ed):return parseDimensionEntity(_0x13b109,_0x330a29);case 'LEADER':return parseLeaderEntity(_0x13b109,_0x330a29);case 'MLEADER':return parseMLeaderEntity(_0x13b109,_0x330a29);case _0xfacd16(0x17b):return parseHatchEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1f5):return parseSplineEntity(_0x13b109,_0x330a29);case _0xfacd16(0x13c):case _0xfacd16(0x184):case _0xfacd16(0x188):return parseSolidEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1f7):return parse3DFaceEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1a8):case _0xfacd16(0x1a7):return parseRayEntity(_0x13b109,_0x330a29);case 'VIEWPORT':return parseViewportEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1a6):case 'WIPEOUT':return parseImageEntity(_0x13b109,_0x330a29);case 'TOLERANCE':return parseToleranceEntity(_0x13b109,_0x330a29);case _0xfacd16(0x119):return parseHelixEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1bf):return parseMeshEntity(_0x13b109,_0x330a29);case _0xfacd16(0x133):case 'BODY':case _0xfacd16(0x1a9):return parseRegionEntity(_0x13b109,_0x330a29);case _0xfacd16(0x13a):return parseOle2Entity(_0x13b109,_0x330a29);case _0xfacd16(0x11a):return parseTableEntity(_0x13b109,_0x330a29);case _0xfacd16(0x1b9):return parseMLineEntity(_0x13b109,_0x330a29);case _0xfacd16(0x181):return _0x13b109;default:return parseGenericEntity(_0x13b109,_0x330a29);}}function parseLineEntity(_0x163cd8,_0x564b37){const _0x2821aa=_0x20a9;_0x163cd8[_0x2821aa(0x166)]={'x':0x0,'y':0x0,'z':0x0},_0x163cd8[_0x2821aa(0x1e9)]={'x':0x0,'y':0x0,'z':0x0},_0x163cd8[_0x2821aa(0x1a1)]=0x0,_0x163cd8['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x5e074e of _0x564b37){switch(_0x5e074e[_0x2821aa(0x1c9)]){case 0xa:_0x163cd8[_0x2821aa(0x166)]['x']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0x14:_0x163cd8[_0x2821aa(0x166)]['y']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0x1e:_0x163cd8[_0x2821aa(0x166)]['z']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0xb:_0x163cd8[_0x2821aa(0x1e9)]['x']=parseFloat(_0x5e074e['value']);break;case 0x15:_0x163cd8[_0x2821aa(0x1e9)]['y']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0x1f:_0x163cd8[_0x2821aa(0x1e9)]['z']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0x27:_0x163cd8['thickness']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0xd2:_0x163cd8[_0x2821aa(0x1ca)]['x']=parseFloat(_0x5e074e[_0x2821aa(0x183)]);break;case 0xdc:_0x163cd8[_0x2821aa(0x1ca)]['y']=parseFloat(_0x5e074e['value']);break;case 0xe6:_0x163cd8[_0x2821aa(0x1ca)]['z']=parseFloat(_0x5e074e['value']);break;}}return _0x163cd8;}function parseLWPolylineEntity(_0x3ad2d1,_0x1afda0){const _0x47f76c=_0x20a9;_0x3ad2d1['closed']=![],_0x3ad2d1[_0x47f76c(0x1b3)]=0x0,_0x3ad2d1['elevation']=0x0,_0x3ad2d1['thickness']=0x0,_0x3ad2d1[_0x47f76c(0x1a2)]=[],_0x3ad2d1[_0x47f76c(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};let _0xe6da1c=null;for(const _0x23248c of _0x1afda0){switch(_0x23248c[_0x47f76c(0x1c9)]){case 0x46:_0x3ad2d1['closed']=(parseInt(_0x23248c[_0x47f76c(0x183)],0xa)&0x1)===0x1;break;case 0x26:_0x3ad2d1['elevation']=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;case 0x27:_0x3ad2d1[_0x47f76c(0x1a1)]=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;case 0x2b:_0x3ad2d1['constantWidth']=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;case 0x5a:_0x3ad2d1[_0x47f76c(0x1d3)]=parseInt(_0x23248c[_0x47f76c(0x183)],0xa);break;case 0xa:if(_0xe6da1c)_0x3ad2d1[_0x47f76c(0x1a2)][_0x47f76c(0x1a0)](_0xe6da1c);_0xe6da1c={'x':parseFloat(_0x23248c['value']),'y':0x0,'bulge':0x0,'startWidth':0x0,'endWidth':0x0};break;case 0x14:if(_0xe6da1c)_0xe6da1c['y']=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;case 0x28:if(_0xe6da1c)_0xe6da1c[_0x47f76c(0x1c4)]=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;case 0x29:if(_0xe6da1c)_0xe6da1c[_0x47f76c(0x204)]=parseFloat(_0x23248c['value']);break;case 0x2a:if(_0xe6da1c)_0xe6da1c[_0x47f76c(0x200)]=parseFloat(_0x23248c['value']);break;case 0xd2:_0x3ad2d1[_0x47f76c(0x1ca)]['x']=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;case 0xdc:_0x3ad2d1['extrusionDirection']['y']=parseFloat(_0x23248c['value']);break;case 0xe6:_0x3ad2d1[_0x47f76c(0x1ca)]['z']=parseFloat(_0x23248c[_0x47f76c(0x183)]);break;}}if(_0xe6da1c)_0x3ad2d1[_0x47f76c(0x1a2)]['push'](_0xe6da1c);return _0x3ad2d1;}function parsePolylineEntity(_0x5322d8,_0x5cc070){const _0x58946d=_0x20a9;_0x5322d8[_0x58946d(0x150)]=![],_0x5322d8['is3DPolyline']=![],_0x5322d8[_0x58946d(0x1c5)]=![],_0x5322d8['isPolyfaceMesh']=![],_0x5322d8[_0x58946d(0x113)]=0x0,_0x5322d8['meshNVertexCount']=0x0,_0x5322d8[_0x58946d(0x18b)]=0x0,_0x5322d8[_0x58946d(0x1f8)]=0x0,_0x5322d8[_0x58946d(0x132)]=0x0,_0x5322d8[_0x58946d(0x1a2)]=[];for(const _0x47e761 of _0x5cc070){switch(_0x47e761[_0x58946d(0x1c9)]){case 0xa:_0x5322d8[_0x58946d(0x187)]=parseFloat(_0x47e761[_0x58946d(0x183)]);break;case 0x14:_0x5322d8[_0x58946d(0x12c)]=parseFloat(_0x47e761['value']);break;case 0x1e:_0x5322d8[_0x58946d(0x132)]=parseFloat(_0x47e761['value']);break;case 0x27:_0x5322d8['thickness']=parseFloat(_0x47e761['value']);break;case 0x28:_0x5322d8[_0x58946d(0x18b)]=parseFloat(_0x47e761[_0x58946d(0x183)]);break;case 0x29:_0x5322d8[_0x58946d(0x1f8)]=parseFloat(_0x47e761[_0x58946d(0x183)]);break;case 0x46:{const _0x5aea98=parseInt(_0x47e761[_0x58946d(0x183)],0xa);_0x5322d8[_0x58946d(0x150)]=(_0x5aea98&0x1)===0x1,_0x5322d8['is3DPolyline']=(_0x5aea98&0x8)===0x8,_0x5322d8[_0x58946d(0x1c5)]=(_0x5aea98&0x10)===0x10,_0x5322d8[_0x58946d(0x216)]=(_0x5aea98&0x40)===0x40,_0x5322d8[_0x58946d(0x1ee)]=_0x5aea98;break;}case 0x47:_0x5322d8[_0x58946d(0x113)]=parseInt(_0x47e761[_0x58946d(0x183)],0xa);break;case 0x48:_0x5322d8[_0x58946d(0x1d1)]=parseInt(_0x47e761['value'],0xa);break;case 0xd2:(_0x5322d8[_0x58946d(0x1ca)]=_0x5322d8[_0x58946d(0x1ca)]||{})['x']=parseFloat(_0x47e761['value']);break;case 0xdc:(_0x5322d8[_0x58946d(0x1ca)]=_0x5322d8[_0x58946d(0x1ca)]||{})['y']=parseFloat(_0x47e761[_0x58946d(0x183)]);break;case 0xe6:(_0x5322d8[_0x58946d(0x1ca)]=_0x5322d8[_0x58946d(0x1ca)]||{})['z']=parseFloat(_0x47e761[_0x58946d(0x183)]);break;}}return _0x5322d8;}function parseVertexEntity(_0x454dff,_0x1b210d){const _0x1574f9=_0x20a9;_0x454dff[_0x1574f9(0x173)]={'x':0x0,'y':0x0,'z':0x0},_0x454dff[_0x1574f9(0x200)]=0x0,_0x454dff[_0x1574f9(0x1c4)]=0x0,_0x454dff[_0x1574f9(0x204)]=0x0,_0x454dff[_0x1574f9(0x1ee)]=0x0;for(const _0x30ac61 of _0x1b210d){switch(_0x30ac61['code']){case 0xa:_0x454dff[_0x1574f9(0x173)]['x']=parseFloat(_0x30ac61['value']);break;case 0x14:_0x454dff['position']['y']=parseFloat(_0x30ac61[_0x1574f9(0x183)]);break;case 0x1e:_0x454dff['position']['z']=parseFloat(_0x30ac61['value']);break;case 0x28:_0x454dff[_0x1574f9(0x1c4)]=parseFloat(_0x30ac61[_0x1574f9(0x183)]);break;case 0x29:_0x454dff['endWidth']=parseFloat(_0x30ac61[_0x1574f9(0x183)]);break;case 0x2a:_0x454dff[_0x1574f9(0x200)]=parseFloat(_0x30ac61[_0x1574f9(0x183)]);break;case 0x46:_0x454dff['flags']=parseInt(_0x30ac61[_0x1574f9(0x183)],0xa);break;case 0x47:_0x454dff[_0x1574f9(0x1de)]=parseInt(_0x30ac61[_0x1574f9(0x183)],0xa);break;case 0x48:_0x454dff['faceVertex2']=parseInt(_0x30ac61[_0x1574f9(0x183)],0xa);break;case 0x49:_0x454dff[_0x1574f9(0x212)]=parseInt(_0x30ac61[_0x1574f9(0x183)],0xa);break;case 0x4a:_0x454dff['faceVertex4']=parseInt(_0x30ac61[_0x1574f9(0x183)],0xa);break;}}return _0x454dff;}function parseArcEntity(_0x576ee6,_0x3ebf55){const _0x3a4fda=_0x20a9;_0x576ee6[_0x3a4fda(0x155)]={'x':0x0,'y':0x0,'z':0x0},_0x576ee6[_0x3a4fda(0x15a)]=0x0,_0x576ee6[_0x3a4fda(0x1d4)]=0x0,_0x576ee6['endAngle']=0x168,_0x576ee6[_0x3a4fda(0x1a1)]=0x0,_0x576ee6[_0x3a4fda(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x153529 of _0x3ebf55){switch(_0x153529[_0x3a4fda(0x1c9)]){case 0xa:_0x576ee6[_0x3a4fda(0x155)]['x']=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;case 0x14:_0x576ee6['center']['y']=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;case 0x1e:_0x576ee6[_0x3a4fda(0x155)]['z']=parseFloat(_0x153529['value']);break;case 0x27:_0x576ee6['thickness']=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;case 0x28:_0x576ee6[_0x3a4fda(0x15a)]=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;case 0x32:_0x576ee6[_0x3a4fda(0x1d4)]=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;case 0x33:_0x576ee6[_0x3a4fda(0x174)]=parseFloat(_0x153529['value']);break;case 0xd2:_0x576ee6[_0x3a4fda(0x1ca)]['x']=parseFloat(_0x153529['value']);break;case 0xdc:_0x576ee6[_0x3a4fda(0x1ca)]['y']=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;case 0xe6:_0x576ee6[_0x3a4fda(0x1ca)]['z']=parseFloat(_0x153529[_0x3a4fda(0x183)]);break;}}return _0x576ee6;}function parseCircleEntity(_0x45e3b4,_0x3a8c29){const _0x4a44cb=_0x20a9;_0x45e3b4[_0x4a44cb(0x155)]={'x':0x0,'y':0x0,'z':0x0},_0x45e3b4[_0x4a44cb(0x15a)]=0x0,_0x45e3b4[_0x4a44cb(0x1a1)]=0x0,_0x45e3b4[_0x4a44cb(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5139a8 of _0x3a8c29){switch(_0x5139a8[_0x4a44cb(0x1c9)]){case 0xa:_0x45e3b4[_0x4a44cb(0x155)]['x']=parseFloat(_0x5139a8[_0x4a44cb(0x183)]);break;case 0x14:_0x45e3b4[_0x4a44cb(0x155)]['y']=parseFloat(_0x5139a8['value']);break;case 0x1e:_0x45e3b4[_0x4a44cb(0x155)]['z']=parseFloat(_0x5139a8[_0x4a44cb(0x183)]);break;case 0x27:_0x45e3b4[_0x4a44cb(0x1a1)]=parseFloat(_0x5139a8[_0x4a44cb(0x183)]);break;case 0x28:_0x45e3b4['radius']=parseFloat(_0x5139a8[_0x4a44cb(0x183)]);break;case 0xd2:_0x45e3b4[_0x4a44cb(0x1ca)]['x']=parseFloat(_0x5139a8['value']);break;case 0xdc:_0x45e3b4[_0x4a44cb(0x1ca)]['y']=parseFloat(_0x5139a8[_0x4a44cb(0x183)]);break;case 0xe6:_0x45e3b4[_0x4a44cb(0x1ca)]['z']=parseFloat(_0x5139a8['value']);break;}}return _0x45e3b4;}function parseEllipseEntity(_0x47c977,_0x46a042){const _0x4914fd=_0x20a9;_0x47c977[_0x4914fd(0x155)]={'x':0x0,'y':0x0,'z':0x0},_0x47c977[_0x4914fd(0x131)]={'x':0x0,'y':0x0,'z':0x0},_0x47c977[_0x4914fd(0x1c7)]=0x1,_0x47c977[_0x4914fd(0x1d4)]=0x0,_0x47c977[_0x4914fd(0x174)]=Math['PI']*0x2,_0x47c977[_0x4914fd(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x554790 of _0x46a042){switch(_0x554790[_0x4914fd(0x1c9)]){case 0xa:_0x47c977[_0x4914fd(0x155)]['x']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x14:_0x47c977[_0x4914fd(0x155)]['y']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x1e:_0x47c977[_0x4914fd(0x155)]['z']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0xb:_0x47c977[_0x4914fd(0x131)]['x']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x15:_0x47c977[_0x4914fd(0x131)]['y']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x1f:_0x47c977[_0x4914fd(0x131)]['z']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x28:_0x47c977[_0x4914fd(0x1c7)]=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x29:_0x47c977[_0x4914fd(0x1d4)]=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0x2a:_0x47c977[_0x4914fd(0x174)]=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0xd2:_0x47c977[_0x4914fd(0x1ca)]['x']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;case 0xdc:_0x47c977[_0x4914fd(0x1ca)]['y']=parseFloat(_0x554790['value']);break;case 0xe6:_0x47c977[_0x4914fd(0x1ca)]['z']=parseFloat(_0x554790[_0x4914fd(0x183)]);break;}}return _0x47c977;}function parsePointEntity(_0x48bf29,_0x43f2db){const _0x381741=_0x20a9;_0x48bf29[_0x381741(0x173)]={'x':0x0,'y':0x0,'z':0x0},_0x48bf29[_0x381741(0x1a1)]=0x0,_0x48bf29[_0x381741(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x24aab0 of _0x43f2db){switch(_0x24aab0[_0x381741(0x1c9)]){case 0xa:_0x48bf29['position']['x']=parseFloat(_0x24aab0[_0x381741(0x183)]);break;case 0x14:_0x48bf29[_0x381741(0x173)]['y']=parseFloat(_0x24aab0[_0x381741(0x183)]);break;case 0x1e:_0x48bf29[_0x381741(0x173)]['z']=parseFloat(_0x24aab0['value']);break;case 0x27:_0x48bf29['thickness']=parseFloat(_0x24aab0[_0x381741(0x183)]);break;case 0x32:_0x48bf29[_0x381741(0x16e)]=parseFloat(_0x24aab0[_0x381741(0x183)]);break;case 0xd2:_0x48bf29['extrusionDirection']['x']=parseFloat(_0x24aab0[_0x381741(0x183)]);break;case 0xdc:_0x48bf29[_0x381741(0x1ca)]['y']=parseFloat(_0x24aab0[_0x381741(0x183)]);break;case 0xe6:_0x48bf29[_0x381741(0x1ca)]['z']=parseFloat(_0x24aab0[_0x381741(0x183)]);break;}}return _0x48bf29;}function parseTextEntity(_0x46f32,_0x198655){const _0x5d2888=_0x20a9;_0x46f32['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0x46f32['alignmentPoint']={'x':0x0,'y':0x0,'z':0x0},_0x46f32[_0x5d2888(0x20f)]=0x0,_0x46f32['text']='',_0x46f32['rotation']=0x0,_0x46f32[_0x5d2888(0x12a)]=0x1,_0x46f32['oblique']=0x0,_0x46f32[_0x5d2888(0x17d)]=_0x5d2888(0x176),_0x46f32[_0x5d2888(0x1e0)]=0x0,_0x46f32[_0x5d2888(0x1e2)]=0x0,_0x46f32[_0x5d2888(0x1be)]=0x0,_0x46f32[_0x5d2888(0x1a1)]=0x0,_0x46f32[_0x5d2888(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5d4303 of _0x198655){switch(_0x5d4303['code']){case 0x1:_0x46f32[_0x5d2888(0x20a)]=_0x5d4303[_0x5d2888(0x183)];break;case 0x7:_0x46f32[_0x5d2888(0x17d)]=_0x5d4303[_0x5d2888(0x183)];break;case 0xa:_0x46f32[_0x5d2888(0x109)]['x']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x14:_0x46f32[_0x5d2888(0x109)]['y']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x1e:_0x46f32[_0x5d2888(0x109)]['z']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0xb:_0x46f32[_0x5d2888(0x1d6)]['x']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x15:_0x46f32[_0x5d2888(0x1d6)]['y']=parseFloat(_0x5d4303['value']);break;case 0x1f:_0x46f32[_0x5d2888(0x1d6)]['z']=parseFloat(_0x5d4303['value']);break;case 0x27:_0x46f32[_0x5d2888(0x1a1)]=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x28:_0x46f32['height']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x29:_0x46f32[_0x5d2888(0x12a)]=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x32:_0x46f32[_0x5d2888(0x211)]=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x33:_0x46f32[_0x5d2888(0x143)]=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0x47:_0x46f32[_0x5d2888(0x1e0)]=parseInt(_0x5d4303[_0x5d2888(0x183)],0xa);break;case 0x48:_0x46f32[_0x5d2888(0x1e2)]=parseInt(_0x5d4303[_0x5d2888(0x183)],0xa);break;case 0x49:_0x46f32['vAlign']=parseInt(_0x5d4303[_0x5d2888(0x183)],0xa);break;case 0xd2:_0x46f32[_0x5d2888(0x1ca)]['x']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0xdc:_0x46f32[_0x5d2888(0x1ca)]['y']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;case 0xe6:_0x46f32[_0x5d2888(0x1ca)]['z']=parseFloat(_0x5d4303[_0x5d2888(0x183)]);break;}}return _0x46f32;}function _0x3bfb(){const _0x267251=['keys','center','width','insert_list','knotTolerance','edgeCount','radius','normal','join','node','2786874nDmGkl','layer','colorNumber','clippingBoundary','style','version','entryName','viewport_list','startPoint','arrowheadSize','brightness','includes','points','upperLeftCorner','line_list','modelerFormat','angle','hardPointer','patternName','uVector','linetypeScale','position','endAngle','https','STANDARD','lineSpacingStyle','binaryData','handle','middleOfText','HATCH','seedPoints','styleName','softPointer','turnHeight','prompt','SEQEND','cppClassName','value','3DSOLID','textWidth','HTTP\x20','dummyX','TRACE','startTangent','ELLIPSE','defaultStartWidth','dimensionType','patternType','clippingVertices','fitPointCount','ENDSEC','definitionPoint','plotStyleHandle','isEntity','ellipse_list','patternAngle','获取\x20DXF\x20失败:\x20HTTP\x20','1856760mxYTdX','TEXT','lineweight','VERTEX','basePointY','split','test','face3d_list','instanceCount','push','thickness','vertices','scale','MTEXT','imageSize','IMAGE','XLINE','RAY','SURFACE','blocks','ARC','frozenLayers','leaderPoints','Defpoints','SECTION','error','point1','endTangent','constantWidth','data','leaderLength','1012560UXzLKo','ENDTAB','subclassMarker','MLINE','tables','visible','solid','2564xbmaHM','vAlign','MESH','trueColor','7QtMxwo','acisData','weights','startWidth','is3DMesh','polyline_list','axisRatio','circle_list','code','extrusionDirection','viewTwistAngle','perspectiveLensLength','ENDBLK','dxfRecord','POINT','axisVector','meshNVertexCount','styleHandle','vertexCount','startAngle','attachmentPoint','alignmentPoint','viewDirection','undefined','ATTDEF','BLOCK','LEADER','columnSpacing','type','faceVertex1','statusCode','generationFlags','doglegLength','hAlign','patternScale','slice','function','rowCount','rows','hasAttributes','endPoint','CIRCLE','contrast','OBJECTS','DIMENSION','flags','CLASSES','fitPoints','versions','code_','direction','concat','SPLINE','ENTITIES','3DFACE','defaultEndWidth','columnWidths','HEADER','subdivisionLevel','text_list','acisDataString','widthFactor','POLYLINE','bulge','dimension_list','planar','lineSpacing','endWidth','ATTRIB','controlPointCount','columnCount','LWPOLYLINE','turns','text','textStyleId','associative','faceVertex4','2089978YPoLMO','height','length','rotation','faceVertex3','knots','blockName','periodic','isPolyfaceMesh','insertionPoint','\x20—\x20','entities','viewTarget','displayFlags','ownerHandle','rowSpacing','viewCenter','point_list','oleType','meshMVertexCount','arrowheadFlag','mtext_list','status','proxyCapabilities','point2','HELIX','TABLE','LINE','tag','viewHeight','7809687XQcfuc','fitTolerance','columns','CLASS','rowHeights','textHeight','http','TABLES','basePoint','attributes','utf-8','string','xScale','creationType','dummyY','degree','handedness','edges','trim','majorAxisEndPoint','elevation','REGION','tileMode','edgeCreases','contentType','invisibleEdgeFlags','lowerRightCorner','linetypeName','OLE2FRAME','get','SOLID','solid_list','clippingType','constraint','drawingDirection','hooklineFlag','layers','oblique','fade','faces','INSERT','arc_list','axisBasePoint','1077rUZZzl','boundaryPaths','wasProxy','5766205xGLCmF','controlPoints','rational','statusField','closed','WIPEOUT','name','basePointX'];_0x3bfb=function(){return _0x267251;};return _0x3bfb();}function parseMTextEntity(_0x310c6f,_0x325075){const _0x3ab135=_0x20a9;_0x310c6f['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0x310c6f[_0x3ab135(0x1f3)]={'x':0x1,'y':0x0,'z':0x0},_0x310c6f[_0x3ab135(0x20f)]=0x0,_0x310c6f[_0x3ab135(0x156)]=0x0,_0x310c6f[_0x3ab135(0x20a)]='',_0x310c6f[_0x3ab135(0x211)]=0x0,_0x310c6f[_0x3ab135(0x17d)]=_0x3ab135(0x176),_0x310c6f['attachmentPoint']=0x1,_0x310c6f[_0x3ab135(0x140)]=0x1,_0x310c6f['lineSpacing']=0x1,_0x310c6f[_0x3ab135(0x177)]=0x1,_0x310c6f[_0x3ab135(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};let _0x197227=[];for(const _0x273cc5 of _0x325075){switch(_0x273cc5[_0x3ab135(0x1c9)]){case 0x1:_0x197227[_0x3ab135(0x1a0)](_0x273cc5[_0x3ab135(0x183)]);break;case 0x3:_0x197227[_0x3ab135(0x1a0)](_0x273cc5[_0x3ab135(0x183)]);break;case 0x7:_0x310c6f['styleName']=_0x273cc5[_0x3ab135(0x183)];break;case 0xa:_0x310c6f['insertionPoint']['x']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0x14:_0x310c6f[_0x3ab135(0x109)]['y']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0x1e:_0x310c6f[_0x3ab135(0x109)]['z']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0xb:_0x310c6f[_0x3ab135(0x1f3)]['x']=parseFloat(_0x273cc5['value']);break;case 0x15:_0x310c6f[_0x3ab135(0x1f3)]['y']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0x1f:_0x310c6f[_0x3ab135(0x1f3)]['z']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0x28:_0x310c6f[_0x3ab135(0x20f)]=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0x29:_0x310c6f[_0x3ab135(0x156)]=parseFloat(_0x273cc5['value']);break;case 0x2c:_0x310c6f[_0x3ab135(0x203)]=parseFloat(_0x273cc5['value']);break;case 0x32:_0x310c6f[_0x3ab135(0x211)]=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0x47:_0x310c6f[_0x3ab135(0x1d5)]=parseInt(_0x273cc5[_0x3ab135(0x183)],0xa);break;case 0x48:_0x310c6f[_0x3ab135(0x140)]=parseInt(_0x273cc5[_0x3ab135(0x183)],0xa);break;case 0x49:_0x310c6f[_0x3ab135(0x177)]=parseInt(_0x273cc5[_0x3ab135(0x183)],0xa);break;case 0xd2:_0x310c6f['extrusionDirection']['x']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0xdc:_0x310c6f['extrusionDirection']['y']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;case 0xe6:_0x310c6f[_0x3ab135(0x1ca)]['z']=parseFloat(_0x273cc5[_0x3ab135(0x183)]);break;}}return _0x310c6f[_0x3ab135(0x20a)]=_0x197227[_0x3ab135(0x15c)](''),_0x310c6f;}function parseAttribEntity(_0x19661d,_0x21dc6a){const _0x402275=_0x20a9;_0x19661d[_0x402275(0x109)]={'x':0x0,'y':0x0,'z':0x0},_0x19661d['alignmentPoint']={'x':0x0,'y':0x0,'z':0x0},_0x19661d[_0x402275(0x20f)]=0x0,_0x19661d[_0x402275(0x20a)]='',_0x19661d['tag']='',_0x19661d['prompt']='',_0x19661d[_0x402275(0x211)]=0x0,_0x19661d['flags']=0x0,_0x19661d[_0x402275(0x17d)]=_0x402275(0x176);for(const _0x21f472 of _0x21dc6a){switch(_0x21f472[_0x402275(0x1c9)]){case 0x1:_0x19661d[_0x402275(0x20a)]=_0x21f472[_0x402275(0x183)];break;case 0x2:_0x19661d[_0x402275(0x11c)]=_0x21f472[_0x402275(0x183)];break;case 0x3:_0x19661d[_0x402275(0x180)]=_0x21f472[_0x402275(0x183)];break;case 0x7:_0x19661d[_0x402275(0x17d)]=_0x21f472[_0x402275(0x183)];break;case 0xa:_0x19661d[_0x402275(0x109)]['x']=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0x14:_0x19661d['insertionPoint']['y']=parseFloat(_0x21f472['value']);break;case 0x1e:_0x19661d[_0x402275(0x109)]['z']=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0xb:_0x19661d['alignmentPoint']['x']=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0x15:_0x19661d['alignmentPoint']['y']=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0x1f:_0x19661d['alignmentPoint']['z']=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0x28:_0x19661d[_0x402275(0x20f)]=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0x29:_0x19661d[_0x402275(0x12a)]=parseFloat(_0x21f472['value']);break;case 0x32:_0x19661d['rotation']=parseFloat(_0x21f472[_0x402275(0x183)]);break;case 0x46:_0x19661d[_0x402275(0x1ee)]=parseInt(_0x21f472[_0x402275(0x183)],0xa);break;case 0x47:_0x19661d['generationFlags']=parseInt(_0x21f472['value'],0xa);break;case 0x48:_0x19661d[_0x402275(0x1e2)]=parseInt(_0x21f472[_0x402275(0x183)],0xa);break;case 0x49:_0x19661d['vAlign']=parseInt(_0x21f472[_0x402275(0x183)],0xa);break;}}return _0x19661d;}function parseInsertEntity(_0xd75b6e,_0x29b396){const _0x4a42a4=_0x20a9;_0xd75b6e[_0x4a42a4(0x214)]='',_0xd75b6e['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0xd75b6e[_0x4a42a4(0x1a3)]={'x':0x1,'y':0x1,'z':0x1},_0xd75b6e[_0x4a42a4(0x211)]=0x0,_0xd75b6e[_0x4a42a4(0x207)]=0x1,_0xd75b6e[_0x4a42a4(0x1e6)]=0x1,_0xd75b6e[_0x4a42a4(0x1dc)]=0x0,_0xd75b6e['rowSpacing']=0x0,_0xd75b6e[_0x4a42a4(0x1ca)]={'x':0x0,'y':0x0,'z':0x1},_0xd75b6e[_0x4a42a4(0x127)]=[];for(const _0x340fdf of _0x29b396){switch(_0x340fdf[_0x4a42a4(0x1c9)]){case 0x2:_0xd75b6e[_0x4a42a4(0x214)]=_0x340fdf[_0x4a42a4(0x183)];break;case 0xa:_0xd75b6e['insertionPoint']['x']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0x14:_0xd75b6e[_0x4a42a4(0x109)]['y']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0x1e:_0xd75b6e[_0x4a42a4(0x109)]['z']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0x29:_0xd75b6e[_0x4a42a4(0x1a3)]['x']=parseFloat(_0x340fdf['value']);break;case 0x2a:_0xd75b6e[_0x4a42a4(0x1a3)]['y']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0x2b:_0xd75b6e[_0x4a42a4(0x1a3)]['z']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0x2c:_0xd75b6e[_0x4a42a4(0x1dc)]=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0x2d:_0xd75b6e[_0x4a42a4(0x10f)]=parseFloat(_0x340fdf['value']);break;case 0x32:_0xd75b6e[_0x4a42a4(0x211)]=parseFloat(_0x340fdf['value']);break;case 0x42:_0xd75b6e['hasAttributes']=parseInt(_0x340fdf[_0x4a42a4(0x183)],0xa)===0x1;break;case 0x46:_0xd75b6e[_0x4a42a4(0x207)]=parseInt(_0x340fdf[_0x4a42a4(0x183)],0xa);break;case 0x47:_0xd75b6e['rowCount']=parseInt(_0x340fdf[_0x4a42a4(0x183)],0xa);break;case 0xd2:_0xd75b6e['extrusionDirection']['x']=parseFloat(_0x340fdf['value']);break;case 0xdc:_0xd75b6e[_0x4a42a4(0x1ca)]['y']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;case 0xe6:_0xd75b6e[_0x4a42a4(0x1ca)]['z']=parseFloat(_0x340fdf[_0x4a42a4(0x183)]);break;}}return _0xd75b6e;}function parseDimensionEntity(_0x4759ca,_0x249a51){const _0x8dc48e=_0x20a9;_0x4759ca[_0x8dc48e(0x214)]='',_0x4759ca[_0x8dc48e(0x191)]={'x':0x0,'y':0x0,'z':0x0},_0x4759ca[_0x8dc48e(0x17a)]={'x':0x0,'y':0x0,'z':0x0},_0x4759ca[_0x8dc48e(0x109)]={'x':0x0,'y':0x0,'z':0x0},_0x4759ca[_0x8dc48e(0x18c)]=0x0,_0x4759ca['text']='',_0x4759ca[_0x8dc48e(0x17d)]=_0x8dc48e(0x176),_0x4759ca['rotation']=0x0,_0x4759ca[_0x8dc48e(0x1b1)]={'x':0x0,'y':0x0,'z':0x0},_0x4759ca[_0x8dc48e(0x118)]={'x':0x0,'y':0x0,'z':0x0};for(const _0x41b9a8 of _0x249a51){switch(_0x41b9a8[_0x8dc48e(0x1c9)]){case 0x1:_0x4759ca[_0x8dc48e(0x20a)]=_0x41b9a8[_0x8dc48e(0x183)];break;case 0x2:_0x4759ca['blockName']=_0x41b9a8[_0x8dc48e(0x183)];break;case 0x3:_0x4759ca['styleName']=_0x41b9a8[_0x8dc48e(0x183)];break;case 0xa:_0x4759ca[_0x8dc48e(0x191)]['x']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x14:_0x4759ca[_0x8dc48e(0x191)]['y']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x1e:_0x4759ca[_0x8dc48e(0x191)]['z']=parseFloat(_0x41b9a8['value']);break;case 0xb:_0x4759ca['middleOfText']['x']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x15:_0x4759ca[_0x8dc48e(0x17a)]['y']=parseFloat(_0x41b9a8['value']);break;case 0x1f:_0x4759ca[_0x8dc48e(0x17a)]['z']=parseFloat(_0x41b9a8['value']);break;case 0xd:_0x4759ca[_0x8dc48e(0x1b1)]['x']=parseFloat(_0x41b9a8['value']);break;case 0x17:_0x4759ca[_0x8dc48e(0x1b1)]['y']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x21:_0x4759ca[_0x8dc48e(0x1b1)]['z']=parseFloat(_0x41b9a8['value']);break;case 0xe:_0x4759ca['point2']['x']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x18:_0x4759ca[_0x8dc48e(0x118)]['y']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x22:_0x4759ca[_0x8dc48e(0x118)]['z']=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x28:_0x4759ca[_0x8dc48e(0x1b5)]=parseFloat(_0x41b9a8['value']);break;case 0x32:_0x4759ca[_0x8dc48e(0x211)]=parseFloat(_0x41b9a8[_0x8dc48e(0x183)]);break;case 0x46:_0x4759ca[_0x8dc48e(0x18c)]=parseInt(_0x41b9a8[_0x8dc48e(0x183)],0xa);break;case 0x47:_0x4759ca[_0x8dc48e(0x1d5)]=parseInt(_0x41b9a8[_0x8dc48e(0x183)],0xa);break;}}return _0x4759ca;}function parseLeaderEntity(_0x3dd633,_0x40efce){const _0x5d3ad3=_0x20a9;_0x3dd633[_0x5d3ad3(0x17d)]=_0x5d3ad3(0x176),_0x3dd633[_0x5d3ad3(0x114)]=0x1,_0x3dd633['pathType']=0x0,_0x3dd633[_0x5d3ad3(0x12b)]=0x0,_0x3dd633[_0x5d3ad3(0x141)]=0x0,_0x3dd633['vertices']=[],_0x3dd633['annotationReference']=null,_0x3dd633['normal']={'x':0x0,'y':0x0,'z':0x1},_0x3dd633['horizontalDirection']={'x':0x1,'y':0x0,'z':0x0};let _0x23b6b4=null;for(const _0x44cd1c of _0x40efce){switch(_0x44cd1c[_0x5d3ad3(0x1c9)]){case 0x3:_0x3dd633[_0x5d3ad3(0x17d)]=_0x44cd1c[_0x5d3ad3(0x183)];break;case 0xa:_0x23b6b4=parseFloat(_0x44cd1c[_0x5d3ad3(0x183)]);break;case 0x14:_0x23b6b4!==null&&(_0x3dd633[_0x5d3ad3(0x1a2)][_0x5d3ad3(0x1a0)]({'x':_0x23b6b4,'y':parseFloat(_0x44cd1c[_0x5d3ad3(0x183)]),'z':0x0}),_0x23b6b4=null);break;case 0x1e:if(_0x3dd633['vertices'][_0x5d3ad3(0x210)]>0x0)_0x3dd633[_0x5d3ad3(0x1a2)][_0x3dd633['vertices'][_0x5d3ad3(0x210)]-0x1]['z']=parseFloat(_0x44cd1c[_0x5d3ad3(0x183)]);break;case 0x28:_0x3dd633[_0x5d3ad3(0x123)]=parseFloat(_0x44cd1c[_0x5d3ad3(0x183)]);break;case 0x29:_0x3dd633[_0x5d3ad3(0x185)]=parseFloat(_0x44cd1c[_0x5d3ad3(0x183)]);break;case 0x47:_0x3dd633[_0x5d3ad3(0x114)]=parseInt(_0x44cd1c[_0x5d3ad3(0x183)],0xa);break;case 0x48:_0x3dd633['pathType']=parseInt(_0x44cd1c[_0x5d3ad3(0x183)],0xa);break;case 0x49:_0x3dd633[_0x5d3ad3(0x12b)]=parseInt(_0x44cd1c[_0x5d3ad3(0x183)],0xa);break;case 0x4c:_0x3dd633[_0x5d3ad3(0x1d3)]=parseInt(_0x44cd1c[_0x5d3ad3(0x183)],0xa);break;case 0x154:_0x3dd633['annotationReference']=_0x44cd1c[_0x5d3ad3(0x183)];break;}}return _0x3dd633;}function parseMLeaderEntity(_0x497799,_0x44b4b0){const _0x192930=_0x20a9;_0x497799[_0x192930(0x17d)]='',_0x497799[_0x192930(0x20a)]='',_0x497799[_0x192930(0x1ad)]=[],_0x497799[_0x192930(0x136)]=0x0,_0x497799[_0x192930(0x20b)]='';let _0x53a506=null;for(const _0x1f4794 of _0x44b4b0){switch(_0x1f4794['code']){case 0x3:_0x497799[_0x192930(0x17d)]=_0x1f4794[_0x192930(0x183)];break;case 0x130:_0x497799['text']=_0x1f4794['value'];break;case 0xaa:_0x497799['contentType']=parseInt(_0x1f4794[_0x192930(0x183)],0xa);break;case 0x154:_0x497799[_0x192930(0x20b)]=_0x1f4794['value'];break;case 0xa:_0x53a506=parseFloat(_0x1f4794[_0x192930(0x183)]);break;case 0x14:_0x53a506!==null&&(_0x497799[_0x192930(0x1ad)][_0x192930(0x1a0)]({'x':_0x53a506,'y':parseFloat(_0x1f4794[_0x192930(0x183)]),'z':0x0}),_0x53a506=null);break;case 0x1e:if(_0x497799[_0x192930(0x1ad)][_0x192930(0x210)]>0x0)_0x497799[_0x192930(0x1ad)][_0x497799['leaderPoints'][_0x192930(0x210)]-0x1]['z']=parseFloat(_0x1f4794[_0x192930(0x183)]);break;case 0x28:_0x497799[_0x192930(0x1e1)]=parseFloat(_0x1f4794[_0x192930(0x183)]);break;case 0x29:_0x497799[_0x192930(0x167)]=parseFloat(_0x1f4794[_0x192930(0x183)]);break;case 0x2a:_0x497799['textHeight']=parseFloat(_0x1f4794[_0x192930(0x183)]);break;}}return _0x497799;}function parseHatchEntity(_0x1e25aa,_0x3e5a76){const _0x47f04b=_0x20a9;_0x1e25aa[_0x47f04b(0x170)]='',_0x1e25aa[_0x47f04b(0x1bc)]=![],_0x1e25aa[_0x47f04b(0x20c)]=![],_0x1e25aa[_0x47f04b(0x162)]=0x0,_0x1e25aa[_0x47f04b(0x18d)]=0x0,_0x1e25aa[_0x47f04b(0x195)]=0x0,_0x1e25aa[_0x47f04b(0x1e3)]=0x1,_0x1e25aa[_0x47f04b(0x132)]=0x0,_0x1e25aa[_0x47f04b(0x1ca)]={'x':0x0,'y':0x0,'z':0x1},_0x1e25aa[_0x47f04b(0x14a)]=[],_0x1e25aa[_0x47f04b(0x17c)]=[];let _0x500a35=![],_0x29d640=null;for(const _0x4ed32b of _0x3e5a76){switch(_0x4ed32b[_0x47f04b(0x1c9)]){case 0x2:_0x1e25aa[_0x47f04b(0x170)]=_0x4ed32b['value'];break;case 0xa:_0x500a35&&_0x29d640&&(_0x29d640[_0x47f04b(0x16a)]=_0x29d640['points']||[],_0x29d640[_0x47f04b(0x16a)][_0x47f04b(0x1a0)]({'x':parseFloat(_0x4ed32b[_0x47f04b(0x183)])}));break;case 0x14:if(_0x500a35&&_0x29d640&&_0x29d640['points']&&_0x29d640['points'][_0x47f04b(0x210)]>0x0)_0x29d640[_0x47f04b(0x16a)][_0x29d640[_0x47f04b(0x16a)][_0x47f04b(0x210)]-0x1]['y']=parseFloat(_0x4ed32b[_0x47f04b(0x183)]);break;case 0x1e:_0x1e25aa[_0x47f04b(0x132)]=parseFloat(_0x4ed32b['value']);break;case 0x29:_0x1e25aa['patternScale']=parseFloat(_0x4ed32b['value']);break;case 0x34:_0x1e25aa[_0x47f04b(0x195)]=parseFloat(_0x4ed32b['value']);break;case 0x46:_0x1e25aa[_0x47f04b(0x1bc)]=parseInt(_0x4ed32b[_0x47f04b(0x183)],0xa)===0x1;break;case 0x47:_0x1e25aa['associative']=parseInt(_0x4ed32b[_0x47f04b(0x183)],0xa)===0x1;break;case 0x4b:_0x1e25aa['style']=parseInt(_0x4ed32b[_0x47f04b(0x183)],0xa);break;case 0x4c:_0x1e25aa[_0x47f04b(0x18d)]=parseInt(_0x4ed32b[_0x47f04b(0x183)],0xa);break;case 0x5b:_0x500a35=!![];break;case 0x5c:if(_0x29d640)_0x1e25aa[_0x47f04b(0x14a)][_0x47f04b(0x1a0)](_0x29d640);_0x29d640={'type':parseInt(_0x4ed32b[_0x47f04b(0x183)],0xa),'edges':[],'points':[]};break;case 0x5d:if(_0x29d640)_0x29d640[_0x47f04b(0x159)]=parseInt(_0x4ed32b[_0x47f04b(0x183)],0xa);break;case 0x61:if(_0x29d640)_0x1e25aa[_0x47f04b(0x14a)]['push'](_0x29d640);_0x29d640=null,_0x500a35=![];break;case 0xd2:_0x1e25aa[_0x47f04b(0x1ca)]['x']=parseFloat(_0x4ed32b[_0x47f04b(0x183)]);break;case 0xdc:_0x1e25aa[_0x47f04b(0x1ca)]['y']=parseFloat(_0x4ed32b[_0x47f04b(0x183)]);break;case 0xe6:_0x1e25aa[_0x47f04b(0x1ca)]['z']=parseFloat(_0x4ed32b['value']);break;}}if(_0x29d640)_0x1e25aa[_0x47f04b(0x14a)][_0x47f04b(0x1a0)](_0x29d640);return _0x1e25aa;}function parseSplineEntity(_0x297c1c,_0x3b936a){const _0x39058e=_0x20a9;_0x297c1c[_0x39058e(0x15b)]={'x':0x0,'y':0x0,'z':0x1},_0x297c1c[_0x39058e(0x12d)]=0x3,_0x297c1c[_0x39058e(0x150)]=![],_0x297c1c['periodic']=![],_0x297c1c[_0x39058e(0x14e)]=![],_0x297c1c['planar']=![],_0x297c1c[_0x39058e(0x158)]=1e-7,_0x297c1c['controlPointTolerance']=1e-7,_0x297c1c[_0x39058e(0x11f)]=1e-10,_0x297c1c['startTangent']={'x':0x0,'y':0x0,'z':0x0},_0x297c1c[_0x39058e(0x1b2)]={'x':0x0,'y':0x0,'z':0x0},_0x297c1c[_0x39058e(0x213)]=[],_0x297c1c[_0x39058e(0x1c3)]=[],_0x297c1c[_0x39058e(0x14d)]=[],_0x297c1c[_0x39058e(0x1f0)]=[];let _0x5c5d44=null,_0x391a22=null;for(const _0x2430ea of _0x3b936a){switch(_0x2430ea['code']){case 0xa:_0x5c5d44=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x14:_0x5c5d44!==null&&(_0x297c1c[_0x39058e(0x14d)][_0x39058e(0x1a0)]({'x':_0x5c5d44,'y':parseFloat(_0x2430ea[_0x39058e(0x183)]),'z':0x0}),_0x5c5d44=null);break;case 0x1e:if(_0x297c1c['controlPoints'][_0x39058e(0x210)]>0x0)_0x297c1c[_0x39058e(0x14d)][_0x297c1c[_0x39058e(0x14d)][_0x39058e(0x210)]-0x1]['z']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0xb:_0x391a22=parseFloat(_0x2430ea['value']);break;case 0x15:_0x391a22!==null&&(_0x297c1c['fitPoints'][_0x39058e(0x1a0)]({'x':_0x391a22,'y':parseFloat(_0x2430ea['value']),'z':0x0}),_0x391a22=null);break;case 0x1f:if(_0x297c1c[_0x39058e(0x1f0)][_0x39058e(0x210)]>0x0)_0x297c1c[_0x39058e(0x1f0)][_0x297c1c[_0x39058e(0x1f0)]['length']-0x1]['z']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0xc:_0x297c1c[_0x39058e(0x189)]['x']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x16:_0x297c1c[_0x39058e(0x189)]['y']=parseFloat(_0x2430ea['value']);break;case 0x20:_0x297c1c[_0x39058e(0x189)]['z']=parseFloat(_0x2430ea['value']);break;case 0xd:_0x297c1c[_0x39058e(0x1b2)]['x']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x17:_0x297c1c[_0x39058e(0x1b2)]['y']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x21:_0x297c1c[_0x39058e(0x1b2)]['z']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x28:_0x297c1c['knots'][_0x39058e(0x1a0)](parseFloat(_0x2430ea[_0x39058e(0x183)]));break;case 0x29:_0x297c1c[_0x39058e(0x1c3)][_0x39058e(0x1a0)](parseFloat(_0x2430ea[_0x39058e(0x183)]));break;case 0x2a:_0x297c1c[_0x39058e(0x158)]=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x2b:_0x297c1c['controlPointTolerance']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0x2c:_0x297c1c[_0x39058e(0x11f)]=parseFloat(_0x2430ea['value']);break;case 0x46:{const _0x59e470=parseInt(_0x2430ea[_0x39058e(0x183)],0xa);_0x297c1c[_0x39058e(0x150)]=(_0x59e470&0x1)===0x1,_0x297c1c[_0x39058e(0x215)]=(_0x59e470&0x2)===0x2,_0x297c1c['rational']=(_0x59e470&0x4)===0x4,_0x297c1c[_0x39058e(0x202)]=(_0x59e470&0x8)===0x8,_0x297c1c['flags']=_0x59e470;break;}case 0x47:_0x297c1c['degree']=parseInt(_0x2430ea['value'],0xa);break;case 0x48:_0x297c1c['knotCount']=parseInt(_0x2430ea[_0x39058e(0x183)],0xa);break;case 0x49:_0x297c1c[_0x39058e(0x206)]=parseInt(_0x2430ea[_0x39058e(0x183)],0xa);break;case 0x4a:_0x297c1c[_0x39058e(0x18f)]=parseInt(_0x2430ea[_0x39058e(0x183)],0xa);break;case 0xd2:_0x297c1c[_0x39058e(0x15b)]['x']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;case 0xdc:_0x297c1c[_0x39058e(0x15b)]['y']=parseFloat(_0x2430ea['value']);break;case 0xe6:_0x297c1c[_0x39058e(0x15b)]['z']=parseFloat(_0x2430ea[_0x39058e(0x183)]);break;}}return _0x297c1c;}function parseSolidEntity(_0x51fe41,_0x4a213f){const _0x3acd01=_0x20a9;_0x51fe41[_0x3acd01(0x16a)]=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x51fe41[_0x3acd01(0x1a1)]=0x0,_0x51fe41[_0x3acd01(0x1ca)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5069b9 of _0x4a213f){switch(_0x5069b9['code']){case 0xa:_0x51fe41[_0x3acd01(0x16a)][0x0]['x']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0x14:_0x51fe41[_0x3acd01(0x16a)][0x0]['y']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0x1e:_0x51fe41[_0x3acd01(0x16a)][0x0]['z']=parseFloat(_0x5069b9['value']);break;case 0xb:_0x51fe41[_0x3acd01(0x16a)][0x1]['x']=parseFloat(_0x5069b9['value']);break;case 0x15:_0x51fe41['points'][0x1]['y']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0x1f:_0x51fe41[_0x3acd01(0x16a)][0x1]['z']=parseFloat(_0x5069b9['value']);break;case 0xc:_0x51fe41[_0x3acd01(0x16a)][0x2]['x']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0x16:_0x51fe41[_0x3acd01(0x16a)][0x2]['y']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0x20:_0x51fe41['points'][0x2]['z']=parseFloat(_0x5069b9['value']);break;case 0xd:_0x51fe41[_0x3acd01(0x16a)][0x3]['x']=parseFloat(_0x5069b9['value']);break;case 0x17:_0x51fe41[_0x3acd01(0x16a)][0x3]['y']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0x21:_0x51fe41[_0x3acd01(0x16a)][0x3]['z']=parseFloat(_0x5069b9['value']);break;case 0x27:_0x51fe41['thickness']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0xd2:_0x51fe41[_0x3acd01(0x1ca)]['x']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0xdc:_0x51fe41[_0x3acd01(0x1ca)]['y']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;case 0xe6:_0x51fe41[_0x3acd01(0x1ca)]['z']=parseFloat(_0x5069b9[_0x3acd01(0x183)]);break;}}return _0x51fe41;}function parse3DFaceEntity(_0x4ef90c,_0x1a0dfe){const _0x5428d4=_0x20a9;_0x4ef90c['vertices']=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x4ef90c[_0x5428d4(0x137)]=0x0;for(const _0x1b331c of _0x1a0dfe){switch(_0x1b331c[_0x5428d4(0x1c9)]){case 0xa:_0x4ef90c[_0x5428d4(0x1a2)][0x0]['x']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x14:_0x4ef90c[_0x5428d4(0x1a2)][0x0]['y']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x1e:_0x4ef90c[_0x5428d4(0x1a2)][0x0]['z']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0xb:_0x4ef90c[_0x5428d4(0x1a2)][0x1]['x']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x15:_0x4ef90c[_0x5428d4(0x1a2)][0x1]['y']=parseFloat(_0x1b331c['value']);break;case 0x1f:_0x4ef90c[_0x5428d4(0x1a2)][0x1]['z']=parseFloat(_0x1b331c['value']);break;case 0xc:_0x4ef90c[_0x5428d4(0x1a2)][0x2]['x']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x16:_0x4ef90c[_0x5428d4(0x1a2)][0x2]['y']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x20:_0x4ef90c[_0x5428d4(0x1a2)][0x2]['z']=parseFloat(_0x1b331c['value']);break;case 0xd:_0x4ef90c[_0x5428d4(0x1a2)][0x3]['x']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x17:_0x4ef90c['vertices'][0x3]['y']=parseFloat(_0x1b331c['value']);break;case 0x21:_0x4ef90c['vertices'][0x3]['z']=parseFloat(_0x1b331c[_0x5428d4(0x183)]);break;case 0x46:_0x4ef90c[_0x5428d4(0x137)]=parseInt(_0x1b331c[_0x5428d4(0x183)],0xa);break;}}return _0x4ef90c;}function parseRayEntity(_0x2ae14d,_0x2bcc98){const _0x344280=_0x20a9;_0x2ae14d['basePoint']={'x':0x0,'y':0x0,'z':0x0},_0x2ae14d['direction']={'x':0x1,'y':0x0,'z':0x0};for(const _0x1d7ab7 of _0x2bcc98){switch(_0x1d7ab7[_0x344280(0x1c9)]){case 0xa:_0x2ae14d['basePoint']['x']=parseFloat(_0x1d7ab7['value']);break;case 0x14:_0x2ae14d[_0x344280(0x126)]['y']=parseFloat(_0x1d7ab7[_0x344280(0x183)]);break;case 0x1e:_0x2ae14d['basePoint']['z']=parseFloat(_0x1d7ab7[_0x344280(0x183)]);break;case 0xb:_0x2ae14d[_0x344280(0x1f3)]['x']=parseFloat(_0x1d7ab7[_0x344280(0x183)]);break;case 0x15:_0x2ae14d[_0x344280(0x1f3)]['y']=parseFloat(_0x1d7ab7['value']);break;case 0x1f:_0x2ae14d[_0x344280(0x1f3)]['z']=parseFloat(_0x1d7ab7[_0x344280(0x183)]);break;}}return _0x2ae14d;}function parseViewportEntity(_0x5e7f0b,_0x46edcc){const _0x1e818c=_0x20a9;_0x5e7f0b[_0x1e818c(0x155)]={'x':0x0,'y':0x0,'z':0x0},_0x5e7f0b['width']=0x0,_0x5e7f0b[_0x1e818c(0x20f)]=0x0,_0x5e7f0b[_0x1e818c(0x10c)]={'x':0x0,'y':0x0,'z':0x0},_0x5e7f0b[_0x1e818c(0x1d7)]={'x':0x0,'y':0x0,'z':0x1},_0x5e7f0b[_0x1e818c(0x1cb)]=0x0,_0x5e7f0b[_0x1e818c(0x11d)]=0x0,_0x5e7f0b[_0x1e818c(0x110)]={'x':0x0,'y':0x0},_0x5e7f0b[_0x1e818c(0x1cc)]=0x32,_0x5e7f0b['statusField']=0x0,_0x5e7f0b['clippingBoundary']=null,_0x5e7f0b[_0x1e818c(0x1ac)]=[];for(const _0x1e0562 of _0x46edcc){switch(_0x1e0562[_0x1e818c(0x1c9)]){case 0xa:_0x5e7f0b[_0x1e818c(0x155)]['x']=parseFloat(_0x1e0562['value']);break;case 0x14:_0x5e7f0b[_0x1e818c(0x155)]['y']=parseFloat(_0x1e0562[_0x1e818c(0x183)]);break;case 0x1e:_0x5e7f0b['center']['z']=parseFloat(_0x1e0562['value']);break;case 0xc:_0x5e7f0b[_0x1e818c(0x110)]['x']=parseFloat(_0x1e0562[_0x1e818c(0x183)]);break;case 0x16:_0x5e7f0b['viewCenter']['y']=parseFloat(_0x1e0562[_0x1e818c(0x183)]);break;case 0x28:_0x5e7f0b[_0x1e818c(0x156)]=parseFloat(_0x1e0562[_0x1e818c(0x183)]);break;case 0x29:_0x5e7f0b['height']=parseFloat(_0x1e0562['value']);break;case 0x2d:_0x5e7f0b['viewHeight']=parseFloat(_0x1e0562[_0x1e818c(0x183)]);break;case 0x33:_0x5e7f0b[_0x1e818c(0x1cb)]=parseFloat(_0x1e0562[_0x1e818c(0x183)]);break;case 0x44:_0x5e7f0b[_0x1e818c(0x14f)]=parseInt(_0x1e0562[_0x1e818c(0x183)],0xa);break;case 0x45:_0x5e7f0b['id']=parseInt(_0x1e0562[_0x1e818c(0x183)],0xa);break;case 0x14b:_0x5e7f0b['frozenLayers'][_0x1e818c(0x1a0)](_0x1e0562[_0x1e818c(0x183)]);break;case 0x154:_0x5e7f0b[_0x1e818c(0x161)]=_0x1e0562[_0x1e818c(0x183)];break;}}return _0x5e7f0b;}function parseImageEntity(_0x14bd17,_0x4b0471){const _0x37572d=_0x20a9;_0x14bd17[_0x37572d(0x109)]={'x':0x0,'y':0x0,'z':0x0},_0x14bd17[_0x37572d(0x171)]={'x':0x1,'y':0x0,'z':0x0},_0x14bd17['vVector']={'x':0x0,'y':0x1,'z':0x0},_0x14bd17[_0x37572d(0x1a5)]={'u':0x0,'v':0x0},_0x14bd17['imageDefHandle']='',_0x14bd17[_0x37572d(0x10d)]=0x0,_0x14bd17[_0x37572d(0x13e)]=0x0,_0x14bd17[_0x37572d(0x168)]=0x32,_0x14bd17[_0x37572d(0x1eb)]=0x32,_0x14bd17[_0x37572d(0x144)]=0x0,_0x14bd17[_0x37572d(0x18e)]=[];for(const _0x279bb7 of _0x4b0471){switch(_0x279bb7['code']){case 0xa:_0x14bd17['insertionPoint']['x']=parseFloat(_0x279bb7[_0x37572d(0x183)]);break;case 0x14:_0x14bd17['insertionPoint']['y']=parseFloat(_0x279bb7['value']);break;case 0x1e:_0x14bd17[_0x37572d(0x109)]['z']=parseFloat(_0x279bb7[_0x37572d(0x183)]);break;case 0xd:_0x14bd17[_0x37572d(0x1a5)]['u']=parseFloat(_0x279bb7[_0x37572d(0x183)]);break;case 0x17:_0x14bd17[_0x37572d(0x1a5)]['v']=parseFloat(_0x279bb7[_0x37572d(0x183)]);break;case 0xe:_0x14bd17['clippingVertices'][_0x37572d(0x1a0)]({'x':parseFloat(_0x279bb7[_0x37572d(0x183)])});break;case 0x18:if(_0x14bd17[_0x37572d(0x18e)]['length']>0x0)_0x14bd17['clippingVertices'][_0x14bd17[_0x37572d(0x18e)]['length']-0x1]['y']=parseFloat(_0x279bb7['value']);break;case 0x46:_0x14bd17['displayFlags']=parseInt(_0x279bb7[_0x37572d(0x183)],0xa);break;case 0x154:_0x14bd17['imageDefHandle']=_0x279bb7[_0x37572d(0x183)];break;}}return _0x14bd17;}function parseToleranceEntity(_0x59fb0a,_0xc9196d){const _0x349678=_0x20a9;_0x59fb0a[_0x349678(0x109)]={'x':0x0,'y':0x0,'z':0x0},_0x59fb0a[_0x349678(0x1f3)]={'x':0x1,'y':0x0,'z':0x0},_0x59fb0a[_0x349678(0x17d)]=_0x349678(0x176),_0x59fb0a[_0x349678(0x20a)]='';for(const _0x5e5a16 of _0xc9196d){switch(_0x5e5a16['code']){case 0x1:_0x59fb0a[_0x349678(0x20a)]=_0x5e5a16[_0x349678(0x183)];break;case 0x3:_0x59fb0a['styleName']=_0x5e5a16['value'];break;case 0xa:_0x59fb0a['insertionPoint']['x']=parseFloat(_0x5e5a16[_0x349678(0x183)]);break;case 0x14:_0x59fb0a['insertionPoint']['y']=parseFloat(_0x5e5a16['value']);break;case 0x1e:_0x59fb0a[_0x349678(0x109)]['z']=parseFloat(_0x5e5a16[_0x349678(0x183)]);break;case 0xb:_0x59fb0a['direction']['x']=parseFloat(_0x5e5a16[_0x349678(0x183)]);break;case 0x15:_0x59fb0a[_0x349678(0x1f3)]['y']=parseFloat(_0x5e5a16[_0x349678(0x183)]);break;case 0x1f:_0x59fb0a[_0x349678(0x1f3)]['z']=parseFloat(_0x5e5a16['value']);break;}}return _0x59fb0a;}function parseHelixEntity(_0x40f9ed,_0x4d8b6a){const _0xa5d7af=_0x20a9;_0x40f9ed[_0xa5d7af(0x148)]={'x':0x0,'y':0x0,'z':0x0},_0x40f9ed[_0xa5d7af(0x166)]={'x':0x0,'y':0x0,'z':0x0},_0x40f9ed[_0xa5d7af(0x1d0)]={'x':0x0,'y':0x0,'z':0x1},_0x40f9ed['radius']=0x0,_0x40f9ed[_0xa5d7af(0x209)]=0x1,_0x40f9ed[_0xa5d7af(0x17f)]=0x0,_0x40f9ed['handedness']=0x0,_0x40f9ed[_0xa5d7af(0x13f)]=0x0;for(const _0x42b16f of _0x4d8b6a){switch(_0x42b16f[_0xa5d7af(0x1c9)]){case 0xa:_0x40f9ed[_0xa5d7af(0x148)]['x']=parseFloat(_0x42b16f[_0xa5d7af(0x183)]);break;case 0x14:_0x40f9ed[_0xa5d7af(0x148)]['y']=parseFloat(_0x42b16f[_0xa5d7af(0x183)]);break;case 0x1e:_0x40f9ed['axisBasePoint']['z']=parseFloat(_0x42b16f['value']);break;case 0xb:_0x40f9ed['startPoint']['x']=parseFloat(_0x42b16f['value']);break;case 0x15:_0x40f9ed[_0xa5d7af(0x166)]['y']=parseFloat(_0x42b16f[_0xa5d7af(0x183)]);break;case 0x1f:_0x40f9ed[_0xa5d7af(0x166)]['z']=parseFloat(_0x42b16f[_0xa5d7af(0x183)]);break;case 0x28:_0x40f9ed[_0xa5d7af(0x15a)]=parseFloat(_0x42b16f['value']);break;case 0x29:_0x40f9ed[_0xa5d7af(0x209)]=parseFloat(_0x42b16f[_0xa5d7af(0x183)]);break;case 0x2a:_0x40f9ed[_0xa5d7af(0x17f)]=parseFloat(_0x42b16f[_0xa5d7af(0x183)]);break;case 0x122:_0x40f9ed[_0xa5d7af(0x12e)]=parseInt(_0x42b16f[_0xa5d7af(0x183)],0xa);break;case 0x118:_0x40f9ed[_0xa5d7af(0x13f)]=parseInt(_0x42b16f[_0xa5d7af(0x183)],0xa);break;}}return _0x40f9ed;}function parseMeshEntity(_0x422f50,_0x3c369d){const _0x48c448=_0x20a9;_0x422f50[_0x48c448(0x163)]=0x2,_0x422f50[_0x48c448(0x1fb)]=0x0,_0x422f50[_0x48c448(0x1a2)]=[],_0x422f50[_0x48c448(0x145)]=[],_0x422f50[_0x48c448(0x12f)]=[],_0x422f50[_0x48c448(0x135)]=[];let _0x4e3804=null,_0x189d58=![],_0x2b0c20=![],_0x3a9784=![];for(const _0x4b9f27 of _0x3c369d){switch(_0x4b9f27[_0x48c448(0x1c9)]){case 0x47:_0x422f50[_0x48c448(0x163)]=parseInt(_0x4b9f27[_0x48c448(0x183)],0xa);break;case 0x48:_0x422f50[_0x48c448(0x1fb)]=parseInt(_0x4b9f27['value'],0xa);break;case 0x5b:_0x189d58=![];break;case 0x5c:_0x189d58=!![];break;case 0x5d:_0x2b0c20=!![],_0x189d58=![];break;case 0x5e:_0x3a9784=!![],_0x2b0c20=![];break;case 0x5f:_0x3a9784=![];break;case 0xa:_0x4e3804=parseFloat(_0x4b9f27[_0x48c448(0x183)]);break;case 0x14:_0x4e3804!==null&&(_0x422f50[_0x48c448(0x1a2)][_0x48c448(0x1a0)]({'x':_0x4e3804,'y':parseFloat(_0x4b9f27[_0x48c448(0x183)]),'z':0x0}),_0x4e3804=null);break;case 0x1e:if(_0x422f50[_0x48c448(0x1a2)][_0x48c448(0x210)]>0x0)_0x422f50['vertices'][_0x422f50['vertices'][_0x48c448(0x210)]-0x1]['z']=parseFloat(_0x4b9f27['value']);break;case 0x5a:if(_0x189d58)_0x422f50[_0x48c448(0x145)][_0x48c448(0x1a0)](parseInt(_0x4b9f27[_0x48c448(0x183)],0xa));else {if(_0x2b0c20)_0x422f50[_0x48c448(0x12f)][_0x48c448(0x1a0)](parseInt(_0x4b9f27[_0x48c448(0x183)],0xa));}break;case 0x8c:if(_0x3a9784)_0x422f50[_0x48c448(0x135)][_0x48c448(0x1a0)](parseFloat(_0x4b9f27[_0x48c448(0x183)]));break;}}return _0x422f50;}function parseRegionEntity(_0x5acb7f,_0x4c8a1a){const _0x5655cf=_0x20a9;_0x5acb7f[_0x5655cf(0x1c2)]=[];for(const _0x3cff72 of _0x4c8a1a){if(_0x3cff72[_0x5655cf(0x1c9)]===0x1||_0x3cff72['code']===0x3)_0x5acb7f[_0x5655cf(0x1c2)][_0x5655cf(0x1a0)](_0x3cff72[_0x5655cf(0x183)]);if(_0x3cff72[_0x5655cf(0x1c9)]===0x46)_0x5acb7f[_0x5655cf(0x16d)]=parseInt(_0x3cff72[_0x5655cf(0x183)],0xa);}return _0x5acb7f[_0x5655cf(0x1fd)]=_0x5acb7f[_0x5655cf(0x1c2)][_0x5655cf(0x15c)](''),_0x5acb7f;}function parseOle2Entity(_0x40d211,_0x17c050){const _0x507733=_0x20a9;_0x40d211[_0x507733(0x16b)]={'x':0x0,'y':0x0,'z':0x0},_0x40d211[_0x507733(0x138)]={'x':0x0,'y':0x0,'z':0x0},_0x40d211[_0x507733(0x112)]=0x0,_0x40d211[_0x507733(0x134)]=0x0;for(const _0x2b0977 of _0x17c050){switch(_0x2b0977['code']){case 0xa:_0x40d211[_0x507733(0x16b)]['x']=parseFloat(_0x2b0977['value']);break;case 0x14:_0x40d211[_0x507733(0x16b)]['y']=parseFloat(_0x2b0977[_0x507733(0x183)]);break;case 0xb:_0x40d211['lowerRightCorner']['x']=parseFloat(_0x2b0977[_0x507733(0x183)]);break;case 0x15:_0x40d211[_0x507733(0x138)]['y']=parseFloat(_0x2b0977[_0x507733(0x183)]);break;case 0x46:_0x40d211[_0x507733(0x112)]=parseInt(_0x2b0977[_0x507733(0x183)],0xa);break;case 0x47:_0x40d211['tileMode']=parseInt(_0x2b0977[_0x507733(0x183)],0xa);break;case 0x1:case 0x3:_0x40d211[_0x507733(0x178)]=_0x40d211[_0x507733(0x178)]||[],_0x40d211[_0x507733(0x178)][_0x507733(0x1a0)](_0x2b0977['value']);break;}}return _0x40d211;}function parseTableEntity(_0x905fd4,_0x12844b){const _0x58a1a5=_0x20a9;_0x905fd4[_0x58a1a5(0x109)]={'x':0x0,'y':0x0,'z':0x0},_0x905fd4[_0x58a1a5(0x214)]='',_0x905fd4[_0x58a1a5(0x1f3)]={'x':0x1,'y':0x0,'z':0x0},_0x905fd4['rows']=0x0,_0x905fd4[_0x58a1a5(0x120)]=0x0;for(const _0x1fff61 of _0x12844b){switch(_0x1fff61['code']){case 0x2:_0x905fd4[_0x58a1a5(0x214)]=_0x1fff61[_0x58a1a5(0x183)];break;case 0xa:_0x905fd4['insertionPoint']['x']=parseFloat(_0x1fff61[_0x58a1a5(0x183)]);break;case 0x14:_0x905fd4[_0x58a1a5(0x109)]['y']=parseFloat(_0x1fff61[_0x58a1a5(0x183)]);break;case 0xb:_0x905fd4['direction']['x']=parseFloat(_0x1fff61[_0x58a1a5(0x183)]);break;case 0x15:_0x905fd4[_0x58a1a5(0x1f3)]['y']=parseFloat(_0x1fff61[_0x58a1a5(0x183)]);break;case 0x5b:_0x905fd4[_0x58a1a5(0x1e7)]=parseInt(_0x1fff61[_0x58a1a5(0x183)],0xa);break;case 0x5c:_0x905fd4[_0x58a1a5(0x120)]=parseInt(_0x1fff61[_0x58a1a5(0x183)],0xa);break;case 0x8e:_0x905fd4[_0x58a1a5(0x122)]=_0x905fd4[_0x58a1a5(0x122)]||[],_0x905fd4['rowHeights']['push'](parseFloat(_0x1fff61[_0x58a1a5(0x183)]));break;case 0x8d:_0x905fd4[_0x58a1a5(0x1f9)]=_0x905fd4['columnWidths']||[],_0x905fd4[_0x58a1a5(0x1f9)]['push'](parseFloat(_0x1fff61['value']));break;}}return _0x905fd4;}function parseMLineEntity(_0x10762f,_0x3db9dd){const _0x39e6eb=_0x20a9;_0x10762f[_0x39e6eb(0x17d)]=_0x39e6eb(0x176),_0x10762f['scale']=0x1,_0x10762f['justification']=0x0,_0x10762f[_0x39e6eb(0x1ee)]=0x0,_0x10762f[_0x39e6eb(0x166)]={'x':0x0,'y':0x0,'z':0x0},_0x10762f[_0x39e6eb(0x15b)]={'x':0x0,'y':0x0,'z':0x1},_0x10762f[_0x39e6eb(0x1a2)]=[];let _0x11e2f2=null;for(const _0x4cc505 of _0x3db9dd){switch(_0x4cc505['code']){case 0x2:_0x10762f[_0x39e6eb(0x17d)]=_0x4cc505[_0x39e6eb(0x183)];break;case 0xa:_0x10762f[_0x39e6eb(0x166)]['x']=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;case 0x14:_0x10762f['startPoint']['y']=parseFloat(_0x4cc505['value']);break;case 0x1e:_0x10762f[_0x39e6eb(0x166)]['z']=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;case 0xb:_0x11e2f2=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;case 0x15:_0x11e2f2!==null&&(_0x10762f[_0x39e6eb(0x1a2)][_0x39e6eb(0x1a0)]({'x':_0x11e2f2,'y':parseFloat(_0x4cc505[_0x39e6eb(0x183)]),'z':0x0}),_0x11e2f2=null);break;case 0x1f:if(_0x10762f[_0x39e6eb(0x1a2)][_0x39e6eb(0x210)]>0x0)_0x10762f['vertices'][_0x10762f[_0x39e6eb(0x1a2)][_0x39e6eb(0x210)]-0x1]['z']=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;case 0x28:_0x10762f['scale']=parseFloat(_0x4cc505['value']);break;case 0x46:_0x10762f['justification']=parseInt(_0x4cc505[_0x39e6eb(0x183)],0xa);break;case 0x47:_0x10762f[_0x39e6eb(0x1ee)]=parseInt(_0x4cc505[_0x39e6eb(0x183)],0xa);break;case 0x48:_0x10762f[_0x39e6eb(0x1d3)]=parseInt(_0x4cc505['value'],0xa);break;case 0x154:_0x10762f[_0x39e6eb(0x1d2)]=_0x4cc505[_0x39e6eb(0x183)];break;case 0xd2:_0x10762f['normal']['x']=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;case 0xdc:_0x10762f['normal']['y']=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;case 0xe6:_0x10762f['normal']['z']=parseFloat(_0x4cc505[_0x39e6eb(0x183)]);break;}}return _0x10762f;}function parseGenericEntity(_0x4b398b,_0x189ce2){const _0x50f07f=_0x20a9;_0x4b398b[_0x50f07f(0x1b4)]={};for(const _0x4fcbc8 of _0x189ce2){const _0xe91e74=_0x50f07f(0x1f2)+_0x4fcbc8[_0x50f07f(0x1c9)],_0x52a1ec=autoConvert(_0x4fcbc8[_0x50f07f(0x1c9)],_0x4fcbc8[_0x50f07f(0x183)]);if(_0x4b398b[_0x50f07f(0x1b4)][_0xe91e74]!==undefined)_0x4b398b[_0x50f07f(0x1b4)][_0xe91e74]=[][_0x50f07f(0x1f4)](_0x4b398b[_0x50f07f(0x1b4)][_0xe91e74],_0x52a1ec);else _0x4b398b['data'][_0xe91e74]=_0x52a1ec;}return _0x4b398b;}function parseObjects(_0x393e36){const _0x3ebd71=_0x20a9;if(!_0x393e36||_0x393e36[_0x3ebd71(0x210)]===0x0)return [];const _0x1c2fbb=[];let _0x31134e=0x0;while(_0x31134e<_0x393e36[_0x3ebd71(0x210)]){if(_0x393e36[_0x31134e]['code']===0x0){const _0x366696=_0x393e36[_0x31134e][_0x3ebd71(0x183)];_0x31134e++;const _0x442b21={'type':_0x366696};while(_0x31134e<_0x393e36['length']&&_0x393e36[_0x31134e]['code']!==0x0){const _0xf8d15a=_0x393e36[_0x31134e][_0x3ebd71(0x1c9)],_0xd194e7=autoConvert(_0xf8d15a,_0x393e36[_0x31134e][_0x3ebd71(0x183)]);switch(_0xf8d15a){case 0x5:_0x442b21[_0x3ebd71(0x179)]=_0xd194e7;break;case 0x2:_0x442b21[_0x3ebd71(0x152)]=_0xd194e7;break;case 0x3:_0x442b21['entryName']=_0x442b21[_0x3ebd71(0x164)]?[][_0x3ebd71(0x1f4)](_0x442b21[_0x3ebd71(0x164)],_0xd194e7):_0xd194e7;break;case 0x14a:_0x442b21[_0x3ebd71(0x10e)]=_0xd194e7;break;case 0x15e:_0x442b21[_0x3ebd71(0x17e)]=_0x442b21[_0x3ebd71(0x17e)]?[][_0x3ebd71(0x1f4)](_0x442b21['softPointer'],_0xd194e7):_0xd194e7;break;case 0x168:_0x442b21[_0x3ebd71(0x16f)]=_0x442b21[_0x3ebd71(0x16f)]?[][_0x3ebd71(0x1f4)](_0x442b21[_0x3ebd71(0x16f)],_0xd194e7):_0xd194e7;break;default:const _0x2925d4='code_'+_0xf8d15a;if(_0x442b21[_0x2925d4]!==undefined)_0x442b21[_0x2925d4]=[][_0x3ebd71(0x1f4)](_0x442b21[_0x2925d4],_0xd194e7);else _0x442b21[_0x2925d4]=_0xd194e7;}_0x31134e++;}_0x1c2fbb[_0x3ebd71(0x1a0)](_0x442b21);}else _0x31134e++;}return _0x1c2fbb;}function assemblePolylineVertices(_0x5ab783){const _0x9293bf=_0x20a9,_0x4c556b=[];let _0x1dcfef=null;for(const _0x41bf9b of _0x5ab783){if(_0x41bf9b[_0x9293bf(0x1dd)]===_0x9293bf(0x1ff))_0x1dcfef=_0x41bf9b,_0x4c556b[_0x9293bf(0x1a0)](_0x41bf9b);else {if(_0x41bf9b['type']===_0x9293bf(0x19a)&&_0x1dcfef)_0x1dcfef[_0x9293bf(0x1a2)][_0x9293bf(0x1a0)]({'x':_0x41bf9b[_0x9293bf(0x173)]['x'],'y':_0x41bf9b[_0x9293bf(0x173)]['y'],'z':_0x41bf9b[_0x9293bf(0x173)]['z'],'bulge':_0x41bf9b[_0x9293bf(0x200)],'startWidth':_0x41bf9b[_0x9293bf(0x1c4)],'endWidth':_0x41bf9b[_0x9293bf(0x204)],'flags':_0x41bf9b['flags'],'faceVertex1':_0x41bf9b['faceVertex1'],'faceVertex2':_0x41bf9b['faceVertex2'],'faceVertex3':_0x41bf9b[_0x9293bf(0x212)],'faceVertex4':_0x41bf9b[_0x9293bf(0x20d)]});else _0x41bf9b[_0x9293bf(0x1dd)]==='SEQEND'?_0x1dcfef=null:(_0x1dcfef=null,_0x4c556b['push'](_0x41bf9b));}}return _0x4c556b;}function assembleInsertAttributes(_0x5bb747){const _0xac35b9=_0x20a9,_0x4726db=[];let _0x2e071f=null;for(const _0x2175de of _0x5bb747){if(_0x2175de['type']===_0xac35b9(0x146)&&_0x2175de[_0xac35b9(0x1e8)])_0x2e071f=_0x2175de,_0x4726db[_0xac35b9(0x1a0)](_0x2175de);else {if(_0x2175de[_0xac35b9(0x1dd)]===_0xac35b9(0x205)&&_0x2e071f)_0x2e071f[_0xac35b9(0x127)][_0xac35b9(0x1a0)](_0x2175de);else _0x2175de[_0xac35b9(0x1dd)]===_0xac35b9(0x181)?_0x2e071f=null:(_0x2e071f=null,_0x4726db[_0xac35b9(0x1a0)](_0x2175de));}}return _0x4726db;}async function fetchDxfFromUrl(_0x36af16){const _0x108b1c=_0x20a9;if(typeof fetch===_0x108b1c(0x1e5)){const _0x24ac00=await fetch(_0x36af16);if(!_0x24ac00['ok'])throw new Error(_0x108b1c(0x196)+_0x24ac00[_0x108b1c(0x116)]+_0x108b1c(0x10a)+_0x36af16);return await _0x24ac00['text']();}if(typeof process!==_0x108b1c(0x1d8)&&process[_0x108b1c(0x1f1)]?.[_0x108b1c(0x15d)]){const {default:_0x28ba6c}=_0x36af16['startsWith']('https')?await import(_0x108b1c(0x175)):await import(_0x108b1c(0x124));return new Promise((_0x3a64ce,_0x33a55d)=>{const _0x5d0d31=_0x108b1c;_0x28ba6c[_0x5d0d31(0x13b)](_0x36af16,_0x5f5c40=>{const _0x311ce7=_0x5d0d31;if(_0x5f5c40[_0x311ce7(0x1df)]!==0xc8){_0x33a55d(new Error(_0x311ce7(0x186)+_0x5f5c40['statusCode']));return;}let _0x4a3ba7='';_0x5f5c40['setEncoding'](_0x311ce7(0x128)),_0x5f5c40['on']('data',_0x33a56f=>_0x4a3ba7+=_0x33a56f),_0x5f5c40['on']('end',()=>_0x3a64ce(_0x4a3ba7)),_0x5f5c40['on'](_0x311ce7(0x1b0),_0x33a55d);})['on']('error',_0x33a55d);});}throw new Error('当前环境不支持\x20HTTP\x20请求');}async function readLocalFile(_0x4bd8f5){const _0x8fc569=_0x20a9;if(typeof process!==_0x8fc569(0x1d8)&&process[_0x8fc569(0x1f1)]?.[_0x8fc569(0x15d)]){const {readFile:_0x16dc18}=await import('fs/promises');return await _0x16dc18(_0x4bd8f5,'utf-8');}throw new Error('浏览器不支持读取本地路径,请用\x20URL\x20或\x20File\x20对象');}async function parseDxf(_0x390d60){const _0xdab701=_0x20a9;let _0x3e20e1;if(typeof Blob!==_0xdab701(0x1d8)&&_0x390d60 instanceof Blob)_0x3e20e1=await _0x390d60['text']();else {if(typeof _0x390d60===_0xdab701(0x129)){if(_0x390d60[_0xdab701(0x169)]('\x0a')||_0x390d60[_0xdab701(0x169)](_0xdab701(0x1af)))_0x3e20e1=_0x390d60;else /^https?:\/\//i[_0xdab701(0x19d)](_0x390d60)?_0x3e20e1=await fetchDxfFromUrl(_0x390d60):_0x3e20e1=await readLocalFile(_0x390d60);}else throw new Error('parseDxf:\x20请传入\x20DXF\x20字符串、文件路径、URL\x20或\x20File\x20对象');}const _0x2e3182=tokenize(_0x3e20e1),_0x56c4a2=splitSections(_0x2e3182),_0x19a63c={'header':parseHeader(_0x56c4a2[_0xdab701(0x1fa)]),'classes':parseClasses(_0x56c4a2[_0xdab701(0x1ef)]),'tables':parseTables(_0x56c4a2[_0xdab701(0x125)]),'blocks':parseBlocks(_0x56c4a2['BLOCKS']),'entities':parseEntityList(_0x56c4a2[_0xdab701(0x1f6)]||[]),'objects':parseObjects(_0x56c4a2[_0xdab701(0x1ec)])};_0x19a63c[_0xdab701(0x10b)]=assemblePolylineVertices(_0x19a63c[_0xdab701(0x10b)]),_0x19a63c[_0xdab701(0x10b)]=assembleInsertAttributes(_0x19a63c[_0xdab701(0x10b)]);for(const _0x3243fc of _0x19a63c[_0xdab701(0x1aa)]){_0x3243fc['entities']&&_0x3243fc[_0xdab701(0x10b)]['length']>0x0&&(_0x3243fc[_0xdab701(0x10b)]=assemblePolylineVertices(_0x3243fc[_0xdab701(0x10b)]),_0x3243fc['entities']=assembleInsertAttributes(_0x3243fc['entities']));}return _0x19a63c;}
3
+ (function(_0x2a8ff4,_0x2febaf){const _0x430f7c=_0xcf9d,_0x16dbb5=_0x2a8ff4();while(!![]){try{const _0x25b3e5=parseInt(_0x430f7c(0x12a))/0x1+-parseInt(_0x430f7c(0x11f))/0x2*(parseInt(_0x430f7c(0x12d))/0x3)+-parseInt(_0x430f7c(0xbe))/0x4*(-parseInt(_0x430f7c(0x104))/0x5)+parseInt(_0x430f7c(0x131))/0x6*(parseInt(_0x430f7c(0x125))/0x7)+parseInt(_0x430f7c(0x147))/0x8*(parseInt(_0x430f7c(0xfa))/0x9)+parseInt(_0x430f7c(0x103))/0xa+-parseInt(_0x430f7c(0x140))/0xb*(parseInt(_0x430f7c(0xcc))/0xc);if(_0x25b3e5===_0x2febaf)break;else _0x16dbb5['push'](_0x16dbb5['shift']());}catch(_0x3b69b2){_0x16dbb5['push'](_0x16dbb5['shift']());}}}(_0x39c5,0xd2738));function tokenize(_0x5ada44){const _0x23bd34=_0xcf9d,_0x2bee6d=_0x5ada44[_0x23bd34(0xf7)](/\r?\n/),_0x8c5da=[];for(let _0xb9c9f9=0x0;_0xb9c9f9+0x1<_0x2bee6d[_0x23bd34(0x197)];_0xb9c9f9+=0x2){const _0x641f49=parseInt(_0x2bee6d[_0xb9c9f9][_0x23bd34(0xae)](),0xa),_0x3600a9=_0x2bee6d[_0xb9c9f9+0x1][_0x23bd34(0xae)]();_0x8c5da[_0x23bd34(0x174)]({'code':_0x641f49,'value':_0x3600a9});}return _0x8c5da;}function autoConvert(_0x2ca6b4,_0x4d20e1){if(_0x2ca6b4>=0xa&&_0x2ca6b4<=0x3b||_0x2ca6b4>=0x6e&&_0x2ca6b4<=0x95||_0x2ca6b4>=0xd2&&_0x2ca6b4<=0xef||_0x2ca6b4>=0x1cc&&_0x2ca6b4<=0x1d5||_0x2ca6b4>=0x3f2&&_0x2ca6b4<=0x423)return parseFloat(_0x4d20e1);if(_0x2ca6b4>=0x3c&&_0x2ca6b4<=0x4f||_0x2ca6b4>=0x5a&&_0x2ca6b4<=0x63||_0x2ca6b4>=0xaa&&_0x2ca6b4<=0xb3||_0x2ca6b4>=0x10e&&_0x2ca6b4<=0x121||_0x2ca6b4>=0x172&&_0x2ca6b4<=0x185||_0x2ca6b4>=0x190&&_0x2ca6b4<=0x199||_0x2ca6b4>=0x424&&_0x2ca6b4<=0x437)return parseInt(_0x4d20e1,0xa);return _0x4d20e1;}function splitSections(_0x472ba9){const _0x8fa8f0=_0xcf9d,_0x1e4d72={};let _0x568bd1=0x0;while(_0x568bd1<_0x472ba9[_0x8fa8f0(0x197)]){if(_0x472ba9[_0x568bd1]['code']===0x0&&_0x472ba9[_0x568bd1]['value']==='SECTION'){_0x568bd1++;const _0xc50767=_0x472ba9[_0x568bd1]['value'];_0x568bd1++;const _0x455f7c=_0x568bd1;while(_0x568bd1<_0x472ba9[_0x8fa8f0(0x197)]&&!(_0x472ba9[_0x568bd1][_0x8fa8f0(0x155)]===0x0&&_0x472ba9[_0x568bd1][_0x8fa8f0(0xf8)]===_0x8fa8f0(0x152))){_0x568bd1++;}_0x1e4d72[_0xc50767]=_0x472ba9['slice'](_0x455f7c,_0x568bd1),_0x568bd1++;}else _0x568bd1++;}return _0x1e4d72;}function parseHeader(_0x1e76cd){const _0x37de1b=_0xcf9d;if(!_0x1e76cd||_0x1e76cd[_0x37de1b(0x197)]===0x0)return {};const _0x3c59e8={};let _0x1d3d1f=0x0;while(_0x1d3d1f<_0x1e76cd['length']){if(_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]===0x9){const _0x404258=_0x1e76cd[_0x1d3d1f]['value'];_0x1d3d1f++;const _0x35995e={};while(_0x1d3d1f<_0x1e76cd[_0x37de1b(0x197)]&&_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]!==0x9&&_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]!==0x0){_0x35995e[_0x1e76cd[_0x1d3d1f][_0x37de1b(0x155)]]=autoConvert(_0x1e76cd[_0x1d3d1f]['code'],_0x1e76cd[_0x1d3d1f][_0x37de1b(0xf8)]),_0x1d3d1f++;}const _0x358002=Object[_0x37de1b(0x180)](_0x35995e);_0x3c59e8[_0x404258]=_0x358002[_0x37de1b(0x197)]===0x1?_0x35995e[_0x358002[0x0]]:_0x35995e;}else _0x1d3d1f++;}return _0x3c59e8;}function parseClasses(_0x23103c){const _0x5cacd2=_0xcf9d;if(!_0x23103c||_0x23103c[_0x5cacd2(0x197)]===0x0)return [];const _0x2a1bd8=[];let _0x44b57b=0x0;while(_0x44b57b<_0x23103c[_0x5cacd2(0x197)]){if(_0x23103c[_0x44b57b]['code']===0x0&&_0x23103c[_0x44b57b][_0x5cacd2(0xf8)]===_0x5cacd2(0x168)){_0x44b57b++;const _0x3bff98={};while(_0x44b57b<_0x23103c[_0x5cacd2(0x197)]&&_0x23103c[_0x44b57b][_0x5cacd2(0x155)]!==0x0){switch(_0x23103c[_0x44b57b]['code']){case 0x1:_0x3bff98['dxfRecord']=_0x23103c[_0x44b57b]['value'];break;case 0x2:_0x3bff98[_0x5cacd2(0xbc)]=_0x23103c[_0x44b57b][_0x5cacd2(0xf8)];break;case 0x3:_0x3bff98[_0x5cacd2(0xc8)]=_0x23103c[_0x44b57b][_0x5cacd2(0xf8)];break;case 0x5a:_0x3bff98[_0x5cacd2(0x13d)]=parseInt(_0x23103c[_0x44b57b][_0x5cacd2(0xf8)],0xa);break;case 0x5b:_0x3bff98[_0x5cacd2(0x12b)]=parseInt(_0x23103c[_0x44b57b][_0x5cacd2(0xf8)],0xa);break;case 0x118:_0x3bff98['wasProxy']=parseInt(_0x23103c[_0x44b57b]['value'],0xa);break;case 0x119:_0x3bff98[_0x5cacd2(0x1a5)]=parseInt(_0x23103c[_0x44b57b]['value'],0xa);break;default:_0x3bff98[_0x5cacd2(0x134)+_0x23103c[_0x44b57b][_0x5cacd2(0x155)]]=_0x23103c[_0x44b57b][_0x5cacd2(0xf8)];}_0x44b57b++;}_0x2a1bd8['push'](_0x3bff98);}else _0x44b57b++;}return _0x2a1bd8;}function parseTables(_0xa6bf16){const _0x5976e0=_0xcf9d;if(!_0xa6bf16||_0xa6bf16['length']===0x0)return {};const _0x41c994={};let _0x6f8cdd=0x0;while(_0x6f8cdd<_0xa6bf16['length']){if(_0xa6bf16[_0x6f8cdd][_0x5976e0(0x155)]===0x0&&_0xa6bf16[_0x6f8cdd][_0x5976e0(0xf8)]===_0x5976e0(0xea)){_0x6f8cdd++;const _0x4c72d1=_0xa6bf16[_0x6f8cdd][_0x5976e0(0xf8)];_0x6f8cdd++;const _0x12483b=_0x6f8cdd;while(_0x6f8cdd<_0xa6bf16[_0x5976e0(0x197)]&&!(_0xa6bf16[_0x6f8cdd][_0x5976e0(0x155)]===0x0&&_0xa6bf16[_0x6f8cdd][_0x5976e0(0xf8)]===_0x5976e0(0xa5))){_0x6f8cdd++;}_0x41c994[_0x4c72d1]=parseTableEntries(_0x4c72d1,_0xa6bf16[_0x5976e0(0x12f)](_0x12483b,_0x6f8cdd)),_0x6f8cdd++;}else _0x6f8cdd++;}return _0x41c994;}function parseTableEntries(_0x208b89,_0x9c585c){const _0x3047c2=_0xcf9d,_0x4b5117=[];let _0x3798a5=0x0;while(_0x3798a5<_0x9c585c['length']){if(_0x9c585c[_0x3798a5][_0x3047c2(0x155)]===0x0){const _0x347349=_0x9c585c[_0x3798a5][_0x3047c2(0xf8)];_0x3798a5++;const _0x82366c={'_type':_0x347349};while(_0x3798a5<_0x9c585c['length']&&_0x9c585c[_0x3798a5][_0x3047c2(0x155)]!==0x0){const _0x39eb01=_0x9c585c[_0x3798a5]['code'],_0x3f7c3b=autoConvert(_0x39eb01,_0x9c585c[_0x3798a5][_0x3047c2(0xf8)]);switch(_0x39eb01){case 0x2:_0x82366c[_0x3047c2(0x176)]=_0x3f7c3b;break;case 0x5:_0x82366c[_0x3047c2(0xc5)]=_0x3f7c3b;break;case 0x6:_0x82366c[_0x3047c2(0x1b8)]=_0x3f7c3b;break;case 0x7:_0x82366c['styleName']=_0x3f7c3b;break;case 0x3e:_0x82366c[_0x3047c2(0x139)]=_0x3f7c3b;break;case 0x46:_0x82366c[_0x3047c2(0x15e)]=_0x3f7c3b;break;case 0x28:_0x82366c['height']=_0x3f7c3b;break;case 0x29:_0x82366c[_0x3047c2(0x10d)]=_0x3f7c3b;break;case 0x32:_0x82366c[_0x3047c2(0x190)]=_0x3f7c3b;break;case 0x64:_0x82366c[_0x3047c2(0x164)]=_0x82366c[_0x3047c2(0x164)]?[][_0x3047c2(0x19e)](_0x82366c[_0x3047c2(0x164)],_0x3f7c3b):_0x3f7c3b;break;case 0x14a:_0x82366c[_0x3047c2(0x11c)]=_0x3f7c3b;break;case 0x172:_0x82366c['lineweight']=_0x3f7c3b;break;case 0x186:_0x82366c['plotStyleHandle']=_0x3f7c3b;break;default:_0x82366c[_0x3047c2(0x134)+_0x39eb01]!==undefined?_0x82366c['code_'+_0x39eb01]=[][_0x3047c2(0x19e)](_0x82366c['code_'+_0x39eb01],_0x3f7c3b):_0x82366c['code_'+_0x39eb01]=_0x3f7c3b;}_0x3798a5++;}_0x4b5117[_0x3047c2(0x174)](_0x82366c);}else _0x3798a5++;}return _0x4b5117;}function parseBlocks(_0xeb628b){const _0x4e80a4=_0xcf9d;if(!_0xeb628b||_0xeb628b[_0x4e80a4(0x197)]===0x0)return [];const _0x2adc2e=[];let _0x222b34=0x0;while(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]){if(_0xeb628b[_0x222b34][_0x4e80a4(0x155)]===0x0&&_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]===_0x4e80a4(0x181)){_0x222b34++;const _0x27be92={'entities':[]};while(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]&&_0xeb628b[_0x222b34][_0x4e80a4(0x155)]!==0x0){switch(_0xeb628b[_0x222b34][_0x4e80a4(0x155)]){case 0x2:_0x27be92['name']=_0xeb628b[_0x222b34]['value'];break;case 0x3:_0x27be92[_0x4e80a4(0xa8)]=_0xeb628b[_0x222b34]['value'];break;case 0x5:_0x27be92['handle']=_0xeb628b[_0x222b34][_0x4e80a4(0xf8)];break;case 0x8:_0x27be92['layer']=_0xeb628b[_0x222b34]['value'];break;case 0xa:_0x27be92[_0x4e80a4(0x17e)]=parseFloat(_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]);break;case 0x14:_0x27be92[_0x4e80a4(0xbf)]=parseFloat(_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]);break;case 0x1e:_0x27be92[_0x4e80a4(0xd9)]=parseFloat(_0xeb628b[_0x222b34]['value']);break;case 0x46:_0x27be92['flags']=parseInt(_0xeb628b[_0x222b34]['value'],0xa);break;case 0x64:break;case 0x14a:_0x27be92[_0x4e80a4(0x11c)]=_0xeb628b[_0x222b34]['value'];break;default:_0x27be92[_0x4e80a4(0x134)+_0xeb628b[_0x222b34][_0x4e80a4(0x155)]]=_0xeb628b[_0x222b34][_0x4e80a4(0xf8)];}_0x222b34++;}const _0x3291ad=[];while(_0x222b34<_0xeb628b['length']&&!(_0xeb628b[_0x222b34][_0x4e80a4(0x155)]===0x0&&_0xeb628b[_0x222b34][_0x4e80a4(0xf8)]==='ENDBLK')){_0x3291ad[_0x4e80a4(0x174)](_0xeb628b[_0x222b34]),_0x222b34++;}if(_0x3291ad['length']>0x0)_0x27be92[_0x4e80a4(0x1a8)]=parseEntityList(_0x3291ad);if(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]){_0x222b34++;while(_0x222b34<_0xeb628b[_0x4e80a4(0x197)]&&_0xeb628b[_0x222b34][_0x4e80a4(0x155)]!==0x0)_0x222b34++;}_0x2adc2e[_0x4e80a4(0x174)](_0x27be92);}else _0x222b34++;}return _0x2adc2e;}function parseEntityList(_0x476a75){const _0x129f95=_0xcf9d,_0x44da76=[];let _0x50315f=0x0;while(_0x50315f<_0x476a75[_0x129f95(0x197)]){if(_0x476a75[_0x50315f][_0x129f95(0x155)]===0x0){const _0x200558=_0x476a75[_0x50315f]['value'];_0x50315f++;const _0x3e11e7=[];while(_0x50315f<_0x476a75[_0x129f95(0x197)]&&_0x476a75[_0x50315f]['code']!==0x0){_0x3e11e7[_0x129f95(0x174)](_0x476a75[_0x50315f]),_0x50315f++;}const _0x3250d9=parseOneEntity(_0x200558,_0x3e11e7);if(_0x3250d9)_0x44da76['push'](_0x3250d9);}else _0x50315f++;}return _0x44da76;}function parseOneEntity(_0x45188a,_0x2ace8f){const _0x34abf5=_0xcf9d,_0x181464={'type':_0x45188a};for(const _0x1dd780 of _0x2ace8f){switch(_0x1dd780[_0x34abf5(0x155)]){case 0x5:_0x181464['handle']=_0x1dd780['value'];break;case 0x8:_0x181464['layer']=_0x1dd780[_0x34abf5(0xf8)];break;case 0x6:_0x181464[_0x34abf5(0x1b8)]=_0x1dd780[_0x34abf5(0xf8)];break;case 0x30:_0x181464[_0x34abf5(0x18a)]=parseFloat(_0x1dd780[_0x34abf5(0xf8)]);break;case 0x3c:_0x181464[_0x34abf5(0x13e)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa)===0x0;break;case 0x3e:_0x181464[_0x34abf5(0x139)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa);break;case 0x43:_0x181464['inPaperSpace']=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa)===0x1;break;case 0x14a:_0x181464['ownerHandle']=_0x1dd780[_0x34abf5(0xf8)];break;case 0x172:_0x181464[_0x34abf5(0xe3)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa);break;case 0x1a4:_0x181464[_0x34abf5(0x16b)]=parseInt(_0x1dd780[_0x34abf5(0xf8)],0xa);break;}}switch(_0x45188a){case 'LINE':return parseLineEntity(_0x181464,_0x2ace8f);case 'LWPOLYLINE':return parseLWPolylineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x138):return parsePolylineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xf4):return parseVertexEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xc7):return parseArcEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xcd):return parseCircleEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x1a9):return parseEllipseEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x14f):return parsePointEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xd2):return parseTextEntity(_0x181464,_0x2ace8f);case 'MTEXT':return parseMTextEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x163):return parseAttribEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x148):return parseAttribEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x121):return parseInsertEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x187):return parseDimensionEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x183):return parseLeaderEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x102):return parseMLeaderEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xca):return parseHatchEntity(_0x181464,_0x2ace8f);case 'SPLINE':return parseSplineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x1ab):case '3DSOLID':case _0x34abf5(0x117):return parseSolidEntity(_0x181464,_0x2ace8f);case '3DFACE':return parse3DFaceEntity(_0x181464,_0x2ace8f);case 'RAY':case _0x34abf5(0x1a3):return parseRayEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x130):return parseViewportEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x182):case _0x34abf5(0xe8):return parseImageEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x11e):return parseToleranceEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xb4):return parseHelixEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xa6):return parseMeshEntity(_0x181464,_0x2ace8f);case 'REGION':case _0x34abf5(0x1af):case _0x34abf5(0x14b):return parseRegionEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x106):return parseOle2Entity(_0x181464,_0x2ace8f);case _0x34abf5(0xea):return parseTableEntity(_0x181464,_0x2ace8f);case _0x34abf5(0xd4):return parseMLineEntity(_0x181464,_0x2ace8f);case _0x34abf5(0x13c):return _0x181464;default:return parseGenericEntity(_0x181464,_0x2ace8f);}}function parseLineEntity(_0x5f3a2b,_0x5d203a){const _0x4a2922=_0xcf9d;_0x5f3a2b[_0x4a2922(0xab)]={'x':0x0,'y':0x0,'z':0x0},_0x5f3a2b[_0x4a2922(0x11d)]={'x':0x0,'y':0x0,'z':0x0},_0x5f3a2b[_0x4a2922(0x169)]=0x0,_0x5f3a2b['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x485770 of _0x5d203a){switch(_0x485770[_0x4a2922(0x155)]){case 0xa:_0x5f3a2b['startPoint']['x']=parseFloat(_0x485770['value']);break;case 0x14:_0x5f3a2b[_0x4a2922(0xab)]['y']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0x1e:_0x5f3a2b[_0x4a2922(0xab)]['z']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0xb:_0x5f3a2b[_0x4a2922(0x11d)]['x']=parseFloat(_0x485770['value']);break;case 0x15:_0x5f3a2b['endPoint']['y']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0x1f:_0x5f3a2b[_0x4a2922(0x11d)]['z']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0x27:_0x5f3a2b['thickness']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0xd2:_0x5f3a2b[_0x4a2922(0x175)]['x']=parseFloat(_0x485770['value']);break;case 0xdc:_0x5f3a2b['extrusionDirection']['y']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;case 0xe6:_0x5f3a2b[_0x4a2922(0x175)]['z']=parseFloat(_0x485770[_0x4a2922(0xf8)]);break;}}return _0x5f3a2b;}function parseLWPolylineEntity(_0x586971,_0x18f499){const _0x116e7c=_0xcf9d;_0x586971['closed']=![],_0x586971[_0x116e7c(0x136)]=0x0,_0x586971[_0x116e7c(0xf1)]=0x0,_0x586971[_0x116e7c(0x169)]=0x0,_0x586971['vertices']=[],_0x586971[_0x116e7c(0x175)]={'x':0x0,'y':0x0,'z':0x1};let _0x133d0d=null;for(const _0x2c10e9 of _0x18f499){switch(_0x2c10e9['code']){case 0x46:_0x586971[_0x116e7c(0xe9)]=(parseInt(_0x2c10e9[_0x116e7c(0xf8)],0xa)&0x1)===0x1;break;case 0x26:_0x586971[_0x116e7c(0xf1)]=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0x27:_0x586971[_0x116e7c(0x169)]=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0x2b:_0x586971[_0x116e7c(0x136)]=parseFloat(_0x2c10e9['value']);break;case 0x5a:_0x586971[_0x116e7c(0xf5)]=parseInt(_0x2c10e9[_0x116e7c(0xf8)],0xa);break;case 0xa:if(_0x133d0d)_0x586971['vertices'][_0x116e7c(0x174)](_0x133d0d);_0x133d0d={'x':parseFloat(_0x2c10e9[_0x116e7c(0xf8)]),'y':0x0,'bulge':0x0,'startWidth':0x0,'endWidth':0x0};break;case 0x14:if(_0x133d0d)_0x133d0d['y']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0x28:if(_0x133d0d)_0x133d0d['startWidth']=parseFloat(_0x2c10e9['value']);break;case 0x29:if(_0x133d0d)_0x133d0d[_0x116e7c(0x135)]=parseFloat(_0x2c10e9['value']);break;case 0x2a:if(_0x133d0d)_0x133d0d['bulge']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0xd2:_0x586971[_0x116e7c(0x175)]['x']=parseFloat(_0x2c10e9['value']);break;case 0xdc:_0x586971['extrusionDirection']['y']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;case 0xe6:_0x586971['extrusionDirection']['z']=parseFloat(_0x2c10e9[_0x116e7c(0xf8)]);break;}}if(_0x133d0d)_0x586971[_0x116e7c(0x12c)][_0x116e7c(0x174)](_0x133d0d);return _0x586971;}function parsePolylineEntity(_0x566312,_0x5da295){const _0xbccba9=_0xcf9d;_0x566312[_0xbccba9(0xe9)]=![],_0x566312[_0xbccba9(0x122)]=![],_0x566312['is3DMesh']=![],_0x566312[_0xbccba9(0x118)]=![],_0x566312['meshMVertexCount']=0x0,_0x566312[_0xbccba9(0xc3)]=0x0,_0x566312[_0xbccba9(0xd0)]=0x0,_0x566312[_0xbccba9(0x100)]=0x0,_0x566312[_0xbccba9(0xf1)]=0x0,_0x566312[_0xbccba9(0x12c)]=[];for(const _0x1e2fc5 of _0x5da295){switch(_0x1e2fc5[_0xbccba9(0x155)]){case 0xa:_0x566312['dummyX']=parseFloat(_0x1e2fc5['value']);break;case 0x14:_0x566312[_0xbccba9(0x1a2)]=parseFloat(_0x1e2fc5['value']);break;case 0x1e:_0x566312['elevation']=parseFloat(_0x1e2fc5['value']);break;case 0x27:_0x566312['thickness']=parseFloat(_0x1e2fc5['value']);break;case 0x28:_0x566312[_0xbccba9(0xd0)]=parseFloat(_0x1e2fc5['value']);break;case 0x29:_0x566312[_0xbccba9(0x100)]=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;case 0x46:{const _0x49fcb6=parseInt(_0x1e2fc5[_0xbccba9(0xf8)],0xa);_0x566312[_0xbccba9(0xe9)]=(_0x49fcb6&0x1)===0x1,_0x566312[_0xbccba9(0x122)]=(_0x49fcb6&0x8)===0x8,_0x566312[_0xbccba9(0xbd)]=(_0x49fcb6&0x10)===0x10,_0x566312[_0xbccba9(0x118)]=(_0x49fcb6&0x40)===0x40,_0x566312[_0xbccba9(0x15e)]=_0x49fcb6;break;}case 0x47:_0x566312[_0xbccba9(0xb3)]=parseInt(_0x1e2fc5[_0xbccba9(0xf8)],0xa);break;case 0x48:_0x566312['meshNVertexCount']=parseInt(_0x1e2fc5[_0xbccba9(0xf8)],0xa);break;case 0xd2:(_0x566312['extrusionDirection']=_0x566312['extrusionDirection']||{})['x']=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;case 0xdc:(_0x566312[_0xbccba9(0x175)]=_0x566312[_0xbccba9(0x175)]||{})['y']=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;case 0xe6:(_0x566312[_0xbccba9(0x175)]=_0x566312[_0xbccba9(0x175)]||{})['z']=parseFloat(_0x1e2fc5[_0xbccba9(0xf8)]);break;}}return _0x566312;}function parseVertexEntity(_0x3b5b3f,_0x19a204){const _0x2131bd=_0xcf9d;_0x3b5b3f['position']={'x':0x0,'y':0x0,'z':0x0},_0x3b5b3f[_0x2131bd(0x167)]=0x0,_0x3b5b3f['startWidth']=0x0,_0x3b5b3f[_0x2131bd(0x135)]=0x0,_0x3b5b3f[_0x2131bd(0x15e)]=0x0;for(const _0x3866a0 of _0x19a204){switch(_0x3866a0[_0x2131bd(0x155)]){case 0xa:_0x3b5b3f[_0x2131bd(0x128)]['x']=parseFloat(_0x3866a0['value']);break;case 0x14:_0x3b5b3f[_0x2131bd(0x128)]['y']=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x1e:_0x3b5b3f[_0x2131bd(0x128)]['z']=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x28:_0x3b5b3f[_0x2131bd(0x177)]=parseFloat(_0x3866a0['value']);break;case 0x29:_0x3b5b3f['endWidth']=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x2a:_0x3b5b3f[_0x2131bd(0x167)]=parseFloat(_0x3866a0[_0x2131bd(0xf8)]);break;case 0x46:_0x3b5b3f[_0x2131bd(0x15e)]=parseInt(_0x3866a0['value'],0xa);break;case 0x47:_0x3b5b3f[_0x2131bd(0xaf)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;case 0x48:_0x3b5b3f[_0x2131bd(0x115)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;case 0x49:_0x3b5b3f[_0x2131bd(0xb5)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;case 0x4a:_0x3b5b3f[_0x2131bd(0x1b1)]=parseInt(_0x3866a0[_0x2131bd(0xf8)],0xa);break;}}return _0x3b5b3f;}function parseArcEntity(_0x4d8b82,_0x51b070){const _0x495aed=_0xcf9d;_0x4d8b82[_0x495aed(0xba)]={'x':0x0,'y':0x0,'z':0x0},_0x4d8b82[_0x495aed(0x120)]=0x0,_0x4d8b82[_0x495aed(0xb8)]=0x0,_0x4d8b82[_0x495aed(0x156)]=0x168,_0x4d8b82['thickness']=0x0,_0x4d8b82[_0x495aed(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x388ba7 of _0x51b070){switch(_0x388ba7[_0x495aed(0x155)]){case 0xa:_0x4d8b82[_0x495aed(0xba)]['x']=parseFloat(_0x388ba7['value']);break;case 0x14:_0x4d8b82[_0x495aed(0xba)]['y']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x1e:_0x4d8b82[_0x495aed(0xba)]['z']=parseFloat(_0x388ba7['value']);break;case 0x27:_0x4d8b82[_0x495aed(0x169)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x28:_0x4d8b82[_0x495aed(0x120)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x32:_0x4d8b82[_0x495aed(0xb8)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0x33:_0x4d8b82[_0x495aed(0x156)]=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0xd2:_0x4d8b82[_0x495aed(0x175)]['x']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0xdc:_0x4d8b82['extrusionDirection']['y']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;case 0xe6:_0x4d8b82[_0x495aed(0x175)]['z']=parseFloat(_0x388ba7[_0x495aed(0xf8)]);break;}}return _0x4d8b82;}function parseCircleEntity(_0x277b8f,_0x4c59d8){const _0xaf4f66=_0xcf9d;_0x277b8f['center']={'x':0x0,'y':0x0,'z':0x0},_0x277b8f['radius']=0x0,_0x277b8f['thickness']=0x0,_0x277b8f[_0xaf4f66(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5e6aff of _0x4c59d8){switch(_0x5e6aff[_0xaf4f66(0x155)]){case 0xa:_0x277b8f[_0xaf4f66(0xba)]['x']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x14:_0x277b8f['center']['y']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x1e:_0x277b8f[_0xaf4f66(0xba)]['z']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x27:_0x277b8f[_0xaf4f66(0x169)]=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0x28:_0x277b8f[_0xaf4f66(0x120)]=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0xd2:_0x277b8f[_0xaf4f66(0x175)]['x']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0xdc:_0x277b8f[_0xaf4f66(0x175)]['y']=parseFloat(_0x5e6aff[_0xaf4f66(0xf8)]);break;case 0xe6:_0x277b8f['extrusionDirection']['z']=parseFloat(_0x5e6aff['value']);break;}}return _0x277b8f;}function parseEllipseEntity(_0x95f4af,_0x18ee24){const _0x243f41=_0xcf9d;_0x95f4af[_0x243f41(0xba)]={'x':0x0,'y':0x0,'z':0x0},_0x95f4af[_0x243f41(0x11a)]={'x':0x0,'y':0x0,'z':0x0},_0x95f4af[_0x243f41(0x10c)]=0x1,_0x95f4af[_0x243f41(0xb8)]=0x0,_0x95f4af[_0x243f41(0x156)]=Math['PI']*0x2,_0x95f4af['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x2a8983 of _0x18ee24){switch(_0x2a8983[_0x243f41(0x155)]){case 0xa:_0x95f4af['center']['x']=parseFloat(_0x2a8983['value']);break;case 0x14:_0x95f4af[_0x243f41(0xba)]['y']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x1e:_0x95f4af[_0x243f41(0xba)]['z']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0xb:_0x95f4af[_0x243f41(0x11a)]['x']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x15:_0x95f4af[_0x243f41(0x11a)]['y']=parseFloat(_0x2a8983['value']);break;case 0x1f:_0x95f4af['majorAxisEndPoint']['z']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x28:_0x95f4af[_0x243f41(0x10c)]=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x29:_0x95f4af['startAngle']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0x2a:_0x95f4af['endAngle']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;case 0xd2:_0x95f4af[_0x243f41(0x175)]['x']=parseFloat(_0x2a8983['value']);break;case 0xdc:_0x95f4af['extrusionDirection']['y']=parseFloat(_0x2a8983['value']);break;case 0xe6:_0x95f4af[_0x243f41(0x175)]['z']=parseFloat(_0x2a8983[_0x243f41(0xf8)]);break;}}return _0x95f4af;}function parsePointEntity(_0x2457a0,_0x22cc7c){const _0x4caa62=_0xcf9d;_0x2457a0[_0x4caa62(0x128)]={'x':0x0,'y':0x0,'z':0x0},_0x2457a0[_0x4caa62(0x169)]=0x0,_0x2457a0['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x39690a of _0x22cc7c){switch(_0x39690a[_0x4caa62(0x155)]){case 0xa:_0x2457a0[_0x4caa62(0x128)]['x']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x14:_0x2457a0[_0x4caa62(0x128)]['y']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x1e:_0x2457a0[_0x4caa62(0x128)]['z']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x27:_0x2457a0[_0x4caa62(0x169)]=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0x32:_0x2457a0[_0x4caa62(0x190)]=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0xd2:_0x2457a0['extrusionDirection']['x']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0xdc:_0x2457a0[_0x4caa62(0x175)]['y']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;case 0xe6:_0x2457a0[_0x4caa62(0x175)]['z']=parseFloat(_0x39690a[_0x4caa62(0xf8)]);break;}}return _0x2457a0;}function parseTextEntity(_0x2c9e99,_0x30fba4){const _0x1a473f=_0xcf9d;_0x2c9e99[_0x1a473f(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x2c9e99[_0x1a473f(0x108)]={'x':0x0,'y':0x0,'z':0x0},_0x2c9e99[_0x1a473f(0x132)]=0x0,_0x2c9e99[_0x1a473f(0xdb)]='',_0x2c9e99[_0x1a473f(0xe4)]=0x0,_0x2c9e99[_0x1a473f(0x1a6)]=0x1,_0x2c9e99[_0x1a473f(0x142)]=0x0,_0x2c9e99[_0x1a473f(0x1aa)]=_0x1a473f(0x17d),_0x2c9e99['generationFlags']=0x0,_0x2c9e99['hAlign']=0x0,_0x2c9e99['vAlign']=0x0,_0x2c9e99[_0x1a473f(0x169)]=0x0,_0x2c9e99[_0x1a473f(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0xab774c of _0x30fba4){switch(_0xab774c[_0x1a473f(0x155)]){case 0x1:_0x2c9e99['text']=_0xab774c[_0x1a473f(0xf8)];break;case 0x7:_0x2c9e99[_0x1a473f(0x1aa)]=_0xab774c[_0x1a473f(0xf8)];break;case 0xa:_0x2c9e99[_0x1a473f(0x193)]['x']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x14:_0x2c9e99[_0x1a473f(0x193)]['y']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x1e:_0x2c9e99[_0x1a473f(0x193)]['z']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0xb:_0x2c9e99[_0x1a473f(0x108)]['x']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x15:_0x2c9e99[_0x1a473f(0x108)]['y']=parseFloat(_0xab774c['value']);break;case 0x1f:_0x2c9e99['alignmentPoint']['z']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x27:_0x2c9e99[_0x1a473f(0x169)]=parseFloat(_0xab774c['value']);break;case 0x28:_0x2c9e99['height']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x29:_0x2c9e99[_0x1a473f(0x1a6)]=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x32:_0x2c9e99[_0x1a473f(0xe4)]=parseFloat(_0xab774c['value']);break;case 0x33:_0x2c9e99[_0x1a473f(0x142)]=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0x47:_0x2c9e99[_0x1a473f(0x1a0)]=parseInt(_0xab774c['value'],0xa);break;case 0x48:_0x2c9e99[_0x1a473f(0x15a)]=parseInt(_0xab774c[_0x1a473f(0xf8)],0xa);break;case 0x49:_0x2c9e99[_0x1a473f(0x1ad)]=parseInt(_0xab774c[_0x1a473f(0xf8)],0xa);break;case 0xd2:_0x2c9e99['extrusionDirection']['x']=parseFloat(_0xab774c['value']);break;case 0xdc:_0x2c9e99[_0x1a473f(0x175)]['y']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;case 0xe6:_0x2c9e99['extrusionDirection']['z']=parseFloat(_0xab774c[_0x1a473f(0xf8)]);break;}}return _0x2c9e99;}function parseMTextEntity(_0x15ae0a,_0x5b114b){const _0x1f23ba=_0xcf9d;_0x15ae0a['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0x15ae0a[_0x1f23ba(0x1a1)]={'x':0x1,'y':0x0,'z':0x0},_0x15ae0a[_0x1f23ba(0x132)]=0x0,_0x15ae0a['width']=0x0,_0x15ae0a[_0x1f23ba(0xdb)]='',_0x15ae0a[_0x1f23ba(0xe4)]=0x0,_0x15ae0a[_0x1f23ba(0x1aa)]=_0x1f23ba(0x17d),_0x15ae0a[_0x1f23ba(0x113)]=0x1,_0x15ae0a[_0x1f23ba(0xad)]=0x1,_0x15ae0a['lineSpacing']=0x1,_0x15ae0a[_0x1f23ba(0x1b4)]=0x1,_0x15ae0a['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};let _0x53b20d=[];for(const _0x19f07d of _0x5b114b){switch(_0x19f07d[_0x1f23ba(0x155)]){case 0x1:_0x53b20d[_0x1f23ba(0x174)](_0x19f07d['value']);break;case 0x3:_0x53b20d[_0x1f23ba(0x174)](_0x19f07d['value']);break;case 0x7:_0x15ae0a['styleName']=_0x19f07d[_0x1f23ba(0xf8)];break;case 0xa:_0x15ae0a[_0x1f23ba(0x193)]['x']=parseFloat(_0x19f07d['value']);break;case 0x14:_0x15ae0a[_0x1f23ba(0x193)]['y']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x1e:_0x15ae0a[_0x1f23ba(0x193)]['z']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0xb:_0x15ae0a[_0x1f23ba(0x1a1)]['x']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x15:_0x15ae0a[_0x1f23ba(0x1a1)]['y']=parseFloat(_0x19f07d['value']);break;case 0x1f:_0x15ae0a[_0x1f23ba(0x1a1)]['z']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x28:_0x15ae0a['height']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x29:_0x15ae0a[_0x1f23ba(0xf0)]=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x2c:_0x15ae0a[_0x1f23ba(0x16c)]=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0x32:_0x15ae0a[_0x1f23ba(0xe4)]=parseFloat(_0x19f07d['value']);break;case 0x47:_0x15ae0a[_0x1f23ba(0x113)]=parseInt(_0x19f07d['value'],0xa);break;case 0x48:_0x15ae0a[_0x1f23ba(0xad)]=parseInt(_0x19f07d['value'],0xa);break;case 0x49:_0x15ae0a[_0x1f23ba(0x1b4)]=parseInt(_0x19f07d[_0x1f23ba(0xf8)],0xa);break;case 0xd2:_0x15ae0a[_0x1f23ba(0x175)]['x']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0xdc:_0x15ae0a[_0x1f23ba(0x175)]['y']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;case 0xe6:_0x15ae0a[_0x1f23ba(0x175)]['z']=parseFloat(_0x19f07d[_0x1f23ba(0xf8)]);break;}}return _0x15ae0a[_0x1f23ba(0xdb)]=_0x53b20d[_0x1f23ba(0xe5)](''),_0x15ae0a;}function parseAttribEntity(_0x49d25d,_0xd015fe){const _0x56449c=_0xcf9d;_0x49d25d[_0x56449c(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x49d25d['alignmentPoint']={'x':0x0,'y':0x0,'z':0x0},_0x49d25d['height']=0x0,_0x49d25d[_0x56449c(0xdb)]='',_0x49d25d[_0x56449c(0xaa)]='',_0x49d25d[_0x56449c(0x14c)]='',_0x49d25d[_0x56449c(0xe4)]=0x0,_0x49d25d['flags']=0x0,_0x49d25d[_0x56449c(0x1aa)]=_0x56449c(0x17d);for(const _0x47d405 of _0xd015fe){switch(_0x47d405[_0x56449c(0x155)]){case 0x1:_0x49d25d[_0x56449c(0xdb)]=_0x47d405[_0x56449c(0xf8)];break;case 0x2:_0x49d25d[_0x56449c(0xaa)]=_0x47d405[_0x56449c(0xf8)];break;case 0x3:_0x49d25d[_0x56449c(0x14c)]=_0x47d405['value'];break;case 0x7:_0x49d25d['styleName']=_0x47d405[_0x56449c(0xf8)];break;case 0xa:_0x49d25d[_0x56449c(0x193)]['x']=parseFloat(_0x47d405['value']);break;case 0x14:_0x49d25d[_0x56449c(0x193)]['y']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x1e:_0x49d25d['insertionPoint']['z']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0xb:_0x49d25d[_0x56449c(0x108)]['x']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x15:_0x49d25d[_0x56449c(0x108)]['y']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x1f:_0x49d25d['alignmentPoint']['z']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x28:_0x49d25d['height']=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x29:_0x49d25d[_0x56449c(0x1a6)]=parseFloat(_0x47d405['value']);break;case 0x32:_0x49d25d[_0x56449c(0xe4)]=parseFloat(_0x47d405[_0x56449c(0xf8)]);break;case 0x46:_0x49d25d[_0x56449c(0x15e)]=parseInt(_0x47d405[_0x56449c(0xf8)],0xa);break;case 0x47:_0x49d25d[_0x56449c(0x1a0)]=parseInt(_0x47d405['value'],0xa);break;case 0x48:_0x49d25d['hAlign']=parseInt(_0x47d405[_0x56449c(0xf8)],0xa);break;case 0x49:_0x49d25d['vAlign']=parseInt(_0x47d405['value'],0xa);break;}}return _0x49d25d;}function parseInsertEntity(_0x4e91c8,_0x5ea6f1){const _0xd07b06=_0xcf9d;_0x4e91c8[_0xd07b06(0x1b7)]='',_0x4e91c8[_0xd07b06(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x4e91c8[_0xd07b06(0x1b9)]={'x':0x1,'y':0x1,'z':0x1},_0x4e91c8[_0xd07b06(0xe4)]=0x0,_0x4e91c8[_0xd07b06(0x19f)]=0x1,_0x4e91c8[_0xd07b06(0xb9)]=0x1,_0x4e91c8['columnSpacing']=0x0,_0x4e91c8['rowSpacing']=0x0,_0x4e91c8['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1},_0x4e91c8[_0xd07b06(0xbb)]=[];for(const _0x6cd790 of _0x5ea6f1){switch(_0x6cd790[_0xd07b06(0x155)]){case 0x2:_0x4e91c8[_0xd07b06(0x1b7)]=_0x6cd790[_0xd07b06(0xf8)];break;case 0xa:_0x4e91c8['insertionPoint']['x']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x14:_0x4e91c8[_0xd07b06(0x193)]['y']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x1e:_0x4e91c8['insertionPoint']['z']=parseFloat(_0x6cd790['value']);break;case 0x29:_0x4e91c8['scale']['x']=parseFloat(_0x6cd790['value']);break;case 0x2a:_0x4e91c8[_0xd07b06(0x1b9)]['y']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x2b:_0x4e91c8['scale']['z']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x2c:_0x4e91c8[_0xd07b06(0xcb)]=parseFloat(_0x6cd790['value']);break;case 0x2d:_0x4e91c8[_0xd07b06(0x11b)]=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x32:_0x4e91c8[_0xd07b06(0xe4)]=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0x42:_0x4e91c8[_0xd07b06(0x15b)]=parseInt(_0x6cd790[_0xd07b06(0xf8)],0xa)===0x1;break;case 0x46:_0x4e91c8[_0xd07b06(0x19f)]=parseInt(_0x6cd790[_0xd07b06(0xf8)],0xa);break;case 0x47:_0x4e91c8[_0xd07b06(0xb9)]=parseInt(_0x6cd790[_0xd07b06(0xf8)],0xa);break;case 0xd2:_0x4e91c8[_0xd07b06(0x175)]['x']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0xdc:_0x4e91c8['extrusionDirection']['y']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;case 0xe6:_0x4e91c8['extrusionDirection']['z']=parseFloat(_0x6cd790[_0xd07b06(0xf8)]);break;}}return _0x4e91c8;}function parseDimensionEntity(_0x330890,_0x2671f4){const _0x2573a1=_0xcf9d;_0x330890[_0x2573a1(0x1b7)]='',_0x330890[_0x2573a1(0xe2)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x150)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x1a7)]=0x0,_0x330890[_0x2573a1(0xdb)]='',_0x330890['styleName']=_0x2573a1(0x17d),_0x330890[_0x2573a1(0xe4)]=0x0,_0x330890[_0x2573a1(0xc1)]={'x':0x0,'y':0x0,'z':0x0},_0x330890[_0x2573a1(0x178)]={'x':0x0,'y':0x0,'z':0x0};for(const _0x4074e3 of _0x2671f4){switch(_0x4074e3[_0x2573a1(0x155)]){case 0x1:_0x330890[_0x2573a1(0xdb)]=_0x4074e3[_0x2573a1(0xf8)];break;case 0x2:_0x330890[_0x2573a1(0x1b7)]=_0x4074e3[_0x2573a1(0xf8)];break;case 0x3:_0x330890['styleName']=_0x4074e3[_0x2573a1(0xf8)];break;case 0xa:_0x330890[_0x2573a1(0xe2)]['x']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x14:_0x330890[_0x2573a1(0xe2)]['y']=parseFloat(_0x4074e3['value']);break;case 0x1e:_0x330890[_0x2573a1(0xe2)]['z']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0xb:_0x330890[_0x2573a1(0x150)]['x']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x15:_0x330890[_0x2573a1(0x150)]['y']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x1f:_0x330890[_0x2573a1(0x150)]['z']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0xd:_0x330890['point1']['x']=parseFloat(_0x4074e3['value']);break;case 0x17:_0x330890['point1']['y']=parseFloat(_0x4074e3['value']);break;case 0x21:_0x330890[_0x2573a1(0xc1)]['z']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0xe:_0x330890[_0x2573a1(0x178)]['x']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x18:_0x330890['point2']['y']=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x22:_0x330890[_0x2573a1(0x178)]['z']=parseFloat(_0x4074e3['value']);break;case 0x28:_0x330890[_0x2573a1(0x14e)]=parseFloat(_0x4074e3[_0x2573a1(0xf8)]);break;case 0x32:_0x330890[_0x2573a1(0xe4)]=parseFloat(_0x4074e3['value']);break;case 0x46:_0x330890[_0x2573a1(0x1a7)]=parseInt(_0x4074e3['value'],0xa);break;case 0x47:_0x330890['attachmentPoint']=parseInt(_0x4074e3['value'],0xa);break;}}return _0x330890;}function parseLeaderEntity(_0x11e262,_0x5a3440){const _0x13820f=_0xcf9d;_0x11e262[_0x13820f(0x1aa)]=_0x13820f(0x17d),_0x11e262[_0x13820f(0x1ac)]=0x1,_0x11e262[_0x13820f(0x159)]=0x0,_0x11e262[_0x13820f(0xd8)]=0x0,_0x11e262[_0x13820f(0xfd)]=0x0,_0x11e262[_0x13820f(0x12c)]=[],_0x11e262['annotationReference']=null,_0x11e262[_0x13820f(0xe0)]={'x':0x0,'y':0x0,'z':0x1},_0x11e262[_0x13820f(0x17a)]={'x':0x1,'y':0x0,'z':0x0};let _0x5f034a=null;for(const _0x5bb113 of _0x5a3440){switch(_0x5bb113[_0x13820f(0x155)]){case 0x3:_0x11e262[_0x13820f(0x1aa)]=_0x5bb113[_0x13820f(0xf8)];break;case 0xa:_0x5f034a=parseFloat(_0x5bb113[_0x13820f(0xf8)]);break;case 0x14:_0x5f034a!==null&&(_0x11e262[_0x13820f(0x12c)][_0x13820f(0x174)]({'x':_0x5f034a,'y':parseFloat(_0x5bb113[_0x13820f(0xf8)]),'z':0x0}),_0x5f034a=null);break;case 0x1e:if(_0x11e262['vertices']['length']>0x0)_0x11e262['vertices'][_0x11e262[_0x13820f(0x12c)][_0x13820f(0x197)]-0x1]['z']=parseFloat(_0x5bb113[_0x13820f(0xf8)]);break;case 0x28:_0x11e262['textHeight']=parseFloat(_0x5bb113[_0x13820f(0xf8)]);break;case 0x29:_0x11e262[_0x13820f(0x129)]=parseFloat(_0x5bb113['value']);break;case 0x47:_0x11e262[_0x13820f(0x1ac)]=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x48:_0x11e262[_0x13820f(0x159)]=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x49:_0x11e262[_0x13820f(0xd8)]=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x4c:_0x11e262['vertexCount']=parseInt(_0x5bb113[_0x13820f(0xf8)],0xa);break;case 0x154:_0x11e262[_0x13820f(0xef)]=_0x5bb113[_0x13820f(0xf8)];break;}}return _0x11e262;}function parseMLeaderEntity(_0x2dc964,_0x1b9325){const _0x3fca73=_0xcf9d;_0x2dc964[_0x3fca73(0x1aa)]='',_0x2dc964[_0x3fca73(0xdb)]='',_0x2dc964[_0x3fca73(0xda)]=[],_0x2dc964[_0x3fca73(0x170)]=0x0,_0x2dc964[_0x3fca73(0x185)]='';let _0x425c5c=null;for(const _0x4f2d21 of _0x1b9325){switch(_0x4f2d21[_0x3fca73(0x155)]){case 0x3:_0x2dc964[_0x3fca73(0x1aa)]=_0x4f2d21[_0x3fca73(0xf8)];break;case 0x130:_0x2dc964[_0x3fca73(0xdb)]=_0x4f2d21[_0x3fca73(0xf8)];break;case 0xaa:_0x2dc964[_0x3fca73(0x170)]=parseInt(_0x4f2d21['value'],0xa);break;case 0x154:_0x2dc964[_0x3fca73(0x185)]=_0x4f2d21[_0x3fca73(0xf8)];break;case 0xa:_0x425c5c=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;case 0x14:_0x425c5c!==null&&(_0x2dc964[_0x3fca73(0xda)]['push']({'x':_0x425c5c,'y':parseFloat(_0x4f2d21[_0x3fca73(0xf8)]),'z':0x0}),_0x425c5c=null);break;case 0x1e:if(_0x2dc964[_0x3fca73(0xda)]['length']>0x0)_0x2dc964['leaderPoints'][_0x2dc964[_0x3fca73(0xda)][_0x3fca73(0x197)]-0x1]['z']=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;case 0x28:_0x2dc964[_0x3fca73(0x1ba)]=parseFloat(_0x4f2d21['value']);break;case 0x29:_0x2dc964[_0x3fca73(0x165)]=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;case 0x2a:_0x2dc964[_0x3fca73(0xf6)]=parseFloat(_0x4f2d21[_0x3fca73(0xf8)]);break;}}return _0x2dc964;}function parseHatchEntity(_0x4dbc68,_0x4c0921){const _0x4e3179=_0xcf9d;_0x4dbc68['patternName']='',_0x4dbc68['solid']=![],_0x4dbc68[_0x4e3179(0x19a)]=![],_0x4dbc68[_0x4e3179(0x195)]=0x0,_0x4dbc68[_0x4e3179(0x17f)]=0x0,_0x4dbc68[_0x4e3179(0x186)]=0x0,_0x4dbc68[_0x4e3179(0xd1)]=0x1,_0x4dbc68[_0x4e3179(0xf1)]=0x0,_0x4dbc68[_0x4e3179(0x175)]={'x':0x0,'y':0x0,'z':0x1},_0x4dbc68[_0x4e3179(0xff)]=[],_0x4dbc68[_0x4e3179(0x17c)]=[];let _0x408cf2=![],_0x5a86ff=null;for(const _0x3ef8d9 of _0x4c0921){switch(_0x3ef8d9['code']){case 0x2:_0x4dbc68[_0x4e3179(0xd6)]=_0x3ef8d9[_0x4e3179(0xf8)];break;case 0xa:_0x408cf2&&_0x5a86ff&&(_0x5a86ff[_0x4e3179(0x1b2)]=_0x5a86ff[_0x4e3179(0x1b2)]||[],_0x5a86ff[_0x4e3179(0x1b2)][_0x4e3179(0x174)]({'x':parseFloat(_0x3ef8d9[_0x4e3179(0xf8)])}));break;case 0x14:if(_0x408cf2&&_0x5a86ff&&_0x5a86ff[_0x4e3179(0x1b2)]&&_0x5a86ff[_0x4e3179(0x1b2)]['length']>0x0)_0x5a86ff['points'][_0x5a86ff[_0x4e3179(0x1b2)][_0x4e3179(0x197)]-0x1]['y']=parseFloat(_0x3ef8d9['value']);break;case 0x1e:_0x4dbc68[_0x4e3179(0xf1)]=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0x29:_0x4dbc68[_0x4e3179(0xd1)]=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0x34:_0x4dbc68[_0x4e3179(0x186)]=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0x46:_0x4dbc68[_0x4e3179(0xb2)]=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa)===0x1;break;case 0x47:_0x4dbc68['associative']=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa)===0x1;break;case 0x4b:_0x4dbc68[_0x4e3179(0x195)]=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa);break;case 0x4c:_0x4dbc68['patternType']=parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa);break;case 0x5b:_0x408cf2=!![];break;case 0x5c:if(_0x5a86ff)_0x4dbc68[_0x4e3179(0xff)][_0x4e3179(0x174)](_0x5a86ff);_0x5a86ff={'type':parseInt(_0x3ef8d9[_0x4e3179(0xf8)],0xa),'edges':[],'points':[]};break;case 0x5d:if(_0x5a86ff)_0x5a86ff[_0x4e3179(0x192)]=parseInt(_0x3ef8d9['value'],0xa);break;case 0x61:if(_0x5a86ff)_0x4dbc68[_0x4e3179(0xff)][_0x4e3179(0x174)](_0x5a86ff);_0x5a86ff=null,_0x408cf2=![];break;case 0xd2:_0x4dbc68[_0x4e3179(0x175)]['x']=parseFloat(_0x3ef8d9['value']);break;case 0xdc:_0x4dbc68['extrusionDirection']['y']=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;case 0xe6:_0x4dbc68['extrusionDirection']['z']=parseFloat(_0x3ef8d9[_0x4e3179(0xf8)]);break;}}if(_0x5a86ff)_0x4dbc68['boundaryPaths'][_0x4e3179(0x174)](_0x5a86ff);return _0x4dbc68;}function parseSplineEntity(_0x8d5426,_0x5c699e){const _0x8512d9=_0xcf9d;_0x8d5426['normal']={'x':0x0,'y':0x0,'z':0x1},_0x8d5426[_0x8512d9(0x14d)]=0x3,_0x8d5426[_0x8512d9(0xe9)]=![],_0x8d5426[_0x8512d9(0xb1)]=![],_0x8d5426[_0x8512d9(0x173)]=![],_0x8d5426['planar']=![],_0x8d5426[_0x8512d9(0xdd)]=1e-7,_0x8d5426[_0x8512d9(0x141)]=1e-7,_0x8d5426[_0x8512d9(0x198)]=1e-10,_0x8d5426['startTangent']={'x':0x0,'y':0x0,'z':0x0},_0x8d5426['endTangent']={'x':0x0,'y':0x0,'z':0x0},_0x8d5426[_0x8512d9(0x189)]=[],_0x8d5426[_0x8512d9(0x137)]=[],_0x8d5426[_0x8512d9(0xc6)]=[],_0x8d5426['fitPoints']=[];let _0x4c424d=null,_0x3fdea7=null;for(const _0x2df430 of _0x5c699e){switch(_0x2df430[_0x8512d9(0x155)]){case 0xa:_0x4c424d=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x14:_0x4c424d!==null&&(_0x8d5426['controlPoints'][_0x8512d9(0x174)]({'x':_0x4c424d,'y':parseFloat(_0x2df430[_0x8512d9(0xf8)]),'z':0x0}),_0x4c424d=null);break;case 0x1e:if(_0x8d5426[_0x8512d9(0xc6)][_0x8512d9(0x197)]>0x0)_0x8d5426['controlPoints'][_0x8d5426['controlPoints'][_0x8512d9(0x197)]-0x1]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0xb:_0x3fdea7=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x15:_0x3fdea7!==null&&(_0x8d5426[_0x8512d9(0x112)][_0x8512d9(0x174)]({'x':_0x3fdea7,'y':parseFloat(_0x2df430[_0x8512d9(0xf8)]),'z':0x0}),_0x3fdea7=null);break;case 0x1f:if(_0x8d5426[_0x8512d9(0x112)]['length']>0x0)_0x8d5426[_0x8512d9(0x112)][_0x8d5426['fitPoints'][_0x8512d9(0x197)]-0x1]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0xc:_0x8d5426[_0x8512d9(0x1bb)]['x']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x16:_0x8d5426['startTangent']['y']=parseFloat(_0x2df430['value']);break;case 0x20:_0x8d5426[_0x8512d9(0x1bb)]['z']=parseFloat(_0x2df430['value']);break;case 0xd:_0x8d5426[_0x8512d9(0x114)]['x']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x17:_0x8d5426[_0x8512d9(0x114)]['y']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x21:_0x8d5426[_0x8512d9(0x114)]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x28:_0x8d5426[_0x8512d9(0x189)][_0x8512d9(0x174)](parseFloat(_0x2df430[_0x8512d9(0xf8)]));break;case 0x29:_0x8d5426['weights'][_0x8512d9(0x174)](parseFloat(_0x2df430[_0x8512d9(0xf8)]));break;case 0x2a:_0x8d5426[_0x8512d9(0xdd)]=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x2b:_0x8d5426[_0x8512d9(0x141)]=parseFloat(_0x2df430['value']);break;case 0x2c:_0x8d5426[_0x8512d9(0x198)]=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0x46:{const _0xb5d906=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);_0x8d5426[_0x8512d9(0xe9)]=(_0xb5d906&0x1)===0x1,_0x8d5426[_0x8512d9(0xb1)]=(_0xb5d906&0x2)===0x2,_0x8d5426[_0x8512d9(0x173)]=(_0xb5d906&0x4)===0x4,_0x8d5426['planar']=(_0xb5d906&0x8)===0x8,_0x8d5426[_0x8512d9(0x15e)]=_0xb5d906;break;}case 0x47:_0x8d5426[_0x8512d9(0x14d)]=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0x48:_0x8d5426[_0x8512d9(0xfc)]=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0x49:_0x8d5426['controlPointCount']=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0x4a:_0x8d5426[_0x8512d9(0x17b)]=parseInt(_0x2df430[_0x8512d9(0xf8)],0xa);break;case 0xd2:_0x8d5426[_0x8512d9(0xe0)]['x']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;case 0xdc:_0x8d5426[_0x8512d9(0xe0)]['y']=parseFloat(_0x2df430['value']);break;case 0xe6:_0x8d5426[_0x8512d9(0xe0)]['z']=parseFloat(_0x2df430[_0x8512d9(0xf8)]);break;}}return _0x8d5426;}function parseSolidEntity(_0x20fec0,_0x304011){const _0x1d1ea6=_0xcf9d;_0x20fec0['points']=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x20fec0[_0x1d1ea6(0x169)]=0x0,_0x20fec0[_0x1d1ea6(0x175)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x2f084a of _0x304011){switch(_0x2f084a[_0x1d1ea6(0x155)]){case 0xa:_0x20fec0['points'][0x0]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x14:_0x20fec0[_0x1d1ea6(0x1b2)][0x0]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x1e:_0x20fec0[_0x1d1ea6(0x1b2)][0x0]['z']=parseFloat(_0x2f084a['value']);break;case 0xb:_0x20fec0[_0x1d1ea6(0x1b2)][0x1]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x15:_0x20fec0[_0x1d1ea6(0x1b2)][0x1]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x1f:_0x20fec0[_0x1d1ea6(0x1b2)][0x1]['z']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0xc:_0x20fec0[_0x1d1ea6(0x1b2)][0x2]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x16:_0x20fec0[_0x1d1ea6(0x1b2)][0x2]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x20:_0x20fec0[_0x1d1ea6(0x1b2)][0x2]['z']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0xd:_0x20fec0[_0x1d1ea6(0x1b2)][0x3]['x']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x17:_0x20fec0[_0x1d1ea6(0x1b2)][0x3]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0x21:_0x20fec0['points'][0x3]['z']=parseFloat(_0x2f084a['value']);break;case 0x27:_0x20fec0[_0x1d1ea6(0x169)]=parseFloat(_0x2f084a['value']);break;case 0xd2:_0x20fec0[_0x1d1ea6(0x175)]['x']=parseFloat(_0x2f084a['value']);break;case 0xdc:_0x20fec0[_0x1d1ea6(0x175)]['y']=parseFloat(_0x2f084a[_0x1d1ea6(0xf8)]);break;case 0xe6:_0x20fec0['extrusionDirection']['z']=parseFloat(_0x2f084a['value']);break;}}return _0x20fec0;}function _0xcf9d(_0x38e7e1,_0x383932){_0x38e7e1=_0x38e7e1-0xa5;const _0x39c5b3=_0x39c5();let _0xcf9dc9=_0x39c5b3[_0x38e7e1];return _0xcf9dc9;}function parse3DFaceEntity(_0x264a3e,_0x1de57a){const _0x164f2f=_0xcf9d;_0x264a3e[_0x164f2f(0x12c)]=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x264a3e[_0x164f2f(0x1b0)]=0x0;for(const _0x551fda of _0x1de57a){switch(_0x551fda[_0x164f2f(0x155)]){case 0xa:_0x264a3e[_0x164f2f(0x12c)][0x0]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x14:_0x264a3e[_0x164f2f(0x12c)][0x0]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x1e:_0x264a3e[_0x164f2f(0x12c)][0x0]['z']=parseFloat(_0x551fda['value']);break;case 0xb:_0x264a3e['vertices'][0x1]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x15:_0x264a3e[_0x164f2f(0x12c)][0x1]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x1f:_0x264a3e['vertices'][0x1]['z']=parseFloat(_0x551fda['value']);break;case 0xc:_0x264a3e['vertices'][0x2]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x16:_0x264a3e['vertices'][0x2]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x20:_0x264a3e['vertices'][0x2]['z']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0xd:_0x264a3e[_0x164f2f(0x12c)][0x3]['x']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x17:_0x264a3e[_0x164f2f(0x12c)][0x3]['y']=parseFloat(_0x551fda[_0x164f2f(0xf8)]);break;case 0x21:_0x264a3e[_0x164f2f(0x12c)][0x3]['z']=parseFloat(_0x551fda['value']);break;case 0x46:_0x264a3e[_0x164f2f(0x1b0)]=parseInt(_0x551fda['value'],0xa);break;}}return _0x264a3e;}function parseRayEntity(_0x46f4ae,_0xdf12f8){const _0x1834c9=_0xcf9d;_0x46f4ae[_0x1834c9(0x1b5)]={'x':0x0,'y':0x0,'z':0x0},_0x46f4ae[_0x1834c9(0x1a1)]={'x':0x1,'y':0x0,'z':0x0};for(const _0x141432 of _0xdf12f8){switch(_0x141432[_0x1834c9(0x155)]){case 0xa:_0x46f4ae[_0x1834c9(0x1b5)]['x']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x14:_0x46f4ae['basePoint']['y']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x1e:_0x46f4ae['basePoint']['z']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0xb:_0x46f4ae['direction']['x']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x15:_0x46f4ae[_0x1834c9(0x1a1)]['y']=parseFloat(_0x141432[_0x1834c9(0xf8)]);break;case 0x1f:_0x46f4ae['direction']['z']=parseFloat(_0x141432['value']);break;}}return _0x46f4ae;}function parseViewportEntity(_0x43c2ef,_0x251245){const _0x777a80=_0xcf9d;_0x43c2ef['center']={'x':0x0,'y':0x0,'z':0x0},_0x43c2ef[_0x777a80(0xf0)]=0x0,_0x43c2ef[_0x777a80(0x132)]=0x0,_0x43c2ef[_0x777a80(0x151)]={'x':0x0,'y':0x0,'z':0x0},_0x43c2ef[_0x777a80(0x15c)]={'x':0x0,'y':0x0,'z':0x1},_0x43c2ef[_0x777a80(0x153)]=0x0,_0x43c2ef['viewHeight']=0x0,_0x43c2ef[_0x777a80(0x191)]={'x':0x0,'y':0x0},_0x43c2ef[_0x777a80(0x161)]=0x32,_0x43c2ef[_0x777a80(0xb7)]=0x0,_0x43c2ef[_0x777a80(0x158)]=null,_0x43c2ef['frozenLayers']=[];for(const _0x3b2317 of _0x251245){switch(_0x3b2317[_0x777a80(0x155)]){case 0xa:_0x43c2ef[_0x777a80(0xba)]['x']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x14:_0x43c2ef[_0x777a80(0xba)]['y']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x1e:_0x43c2ef[_0x777a80(0xba)]['z']=parseFloat(_0x3b2317['value']);break;case 0xc:_0x43c2ef['viewCenter']['x']=parseFloat(_0x3b2317['value']);break;case 0x16:_0x43c2ef[_0x777a80(0x191)]['y']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x28:_0x43c2ef['width']=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x29:_0x43c2ef[_0x777a80(0x132)]=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x2d:_0x43c2ef[_0x777a80(0xc4)]=parseFloat(_0x3b2317[_0x777a80(0xf8)]);break;case 0x33:_0x43c2ef[_0x777a80(0x153)]=parseFloat(_0x3b2317['value']);break;case 0x44:_0x43c2ef[_0x777a80(0xb7)]=parseInt(_0x3b2317[_0x777a80(0xf8)],0xa);break;case 0x45:_0x43c2ef['id']=parseInt(_0x3b2317[_0x777a80(0xf8)],0xa);break;case 0x14b:_0x43c2ef[_0x777a80(0x10f)][_0x777a80(0x174)](_0x3b2317['value']);break;case 0x154:_0x43c2ef[_0x777a80(0x158)]=_0x3b2317['value'];break;}}return _0x43c2ef;}function parseImageEntity(_0x19347f,_0x524170){const _0x55fe66=_0xcf9d;_0x19347f[_0x55fe66(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x19347f[_0x55fe66(0x13a)]={'x':0x1,'y':0x0,'z':0x0},_0x19347f['vVector']={'x':0x0,'y':0x1,'z':0x0},_0x19347f[_0x55fe66(0x12e)]={'u':0x0,'v':0x0},_0x19347f[_0x55fe66(0xdc)]='',_0x19347f[_0x55fe66(0xf2)]=0x0,_0x19347f[_0x55fe66(0x179)]=0x0,_0x19347f['brightness']=0x32,_0x19347f[_0x55fe66(0x157)]=0x32,_0x19347f[_0x55fe66(0x144)]=0x0,_0x19347f[_0x55fe66(0xdf)]=[];for(const _0x149ed3 of _0x524170){switch(_0x149ed3[_0x55fe66(0x155)]){case 0xa:_0x19347f[_0x55fe66(0x193)]['x']=parseFloat(_0x149ed3['value']);break;case 0x14:_0x19347f[_0x55fe66(0x193)]['y']=parseFloat(_0x149ed3['value']);break;case 0x1e:_0x19347f[_0x55fe66(0x193)]['z']=parseFloat(_0x149ed3[_0x55fe66(0xf8)]);break;case 0xd:_0x19347f[_0x55fe66(0x12e)]['u']=parseFloat(_0x149ed3['value']);break;case 0x17:_0x19347f[_0x55fe66(0x12e)]['v']=parseFloat(_0x149ed3[_0x55fe66(0xf8)]);break;case 0xe:_0x19347f[_0x55fe66(0xdf)]['push']({'x':parseFloat(_0x149ed3['value'])});break;case 0x18:if(_0x19347f[_0x55fe66(0xdf)][_0x55fe66(0x197)]>0x0)_0x19347f[_0x55fe66(0xdf)][_0x19347f[_0x55fe66(0xdf)][_0x55fe66(0x197)]-0x1]['y']=parseFloat(_0x149ed3[_0x55fe66(0xf8)]);break;case 0x46:_0x19347f[_0x55fe66(0xf2)]=parseInt(_0x149ed3[_0x55fe66(0xf8)],0xa);break;case 0x154:_0x19347f[_0x55fe66(0xdc)]=_0x149ed3[_0x55fe66(0xf8)];break;}}return _0x19347f;}function parseToleranceEntity(_0x345944,_0x494ca6){const _0xf9a912=_0xcf9d;_0x345944[_0xf9a912(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x345944[_0xf9a912(0x1a1)]={'x':0x1,'y':0x0,'z':0x0},_0x345944[_0xf9a912(0x1aa)]=_0xf9a912(0x17d),_0x345944[_0xf9a912(0xdb)]='';for(const _0xb0db09 of _0x494ca6){switch(_0xb0db09[_0xf9a912(0x155)]){case 0x1:_0x345944[_0xf9a912(0xdb)]=_0xb0db09[_0xf9a912(0xf8)];break;case 0x3:_0x345944[_0xf9a912(0x1aa)]=_0xb0db09[_0xf9a912(0xf8)];break;case 0xa:_0x345944[_0xf9a912(0x193)]['x']=parseFloat(_0xb0db09['value']);break;case 0x14:_0x345944[_0xf9a912(0x193)]['y']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;case 0x1e:_0x345944[_0xf9a912(0x193)]['z']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;case 0xb:_0x345944[_0xf9a912(0x1a1)]['x']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;case 0x15:_0x345944[_0xf9a912(0x1a1)]['y']=parseFloat(_0xb0db09['value']);break;case 0x1f:_0x345944['direction']['z']=parseFloat(_0xb0db09[_0xf9a912(0xf8)]);break;}}return _0x345944;}function parseHelixEntity(_0x30b03d,_0x439ba7){const _0x44bb37=_0xcf9d;_0x30b03d[_0x44bb37(0xe7)]={'x':0x0,'y':0x0,'z':0x0},_0x30b03d[_0x44bb37(0xab)]={'x':0x0,'y':0x0,'z':0x0},_0x30b03d[_0x44bb37(0x123)]={'x':0x0,'y':0x0,'z':0x1},_0x30b03d[_0x44bb37(0x120)]=0x0,_0x30b03d['turns']=0x1,_0x30b03d[_0x44bb37(0x18c)]=0x0,_0x30b03d['handedness']=0x0,_0x30b03d[_0x44bb37(0x145)]=0x0;for(const _0x4931ee of _0x439ba7){switch(_0x4931ee[_0x44bb37(0x155)]){case 0xa:_0x30b03d['axisBasePoint']['x']=parseFloat(_0x4931ee['value']);break;case 0x14:_0x30b03d['axisBasePoint']['y']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x1e:_0x30b03d['axisBasePoint']['z']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0xb:_0x30b03d[_0x44bb37(0xab)]['x']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x15:_0x30b03d['startPoint']['y']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x1f:_0x30b03d[_0x44bb37(0xab)]['z']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x28:_0x30b03d[_0x44bb37(0x120)]=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x29:_0x30b03d[_0x44bb37(0x15f)]=parseFloat(_0x4931ee['value']);break;case 0x2a:_0x30b03d['turnHeight']=parseFloat(_0x4931ee[_0x44bb37(0xf8)]);break;case 0x122:_0x30b03d[_0x44bb37(0x154)]=parseInt(_0x4931ee[_0x44bb37(0xf8)],0xa);break;case 0x118:_0x30b03d[_0x44bb37(0x145)]=parseInt(_0x4931ee[_0x44bb37(0xf8)],0xa);break;}}return _0x30b03d;}function parseMeshEntity(_0x5119da,_0x12c4a4){const _0xcff820=_0xcf9d;_0x5119da[_0xcff820(0xe1)]=0x2,_0x5119da[_0xcff820(0xce)]=0x0,_0x5119da['vertices']=[],_0x5119da['faces']=[],_0x5119da['edges']=[],_0x5119da[_0xcff820(0x16a)]=[];let _0x11e98c=null,_0x2c215d=![],_0x33370a=![],_0x367508=![];for(const _0x2d252a of _0x12c4a4){switch(_0x2d252a[_0xcff820(0x155)]){case 0x47:_0x5119da[_0xcff820(0xe1)]=parseInt(_0x2d252a[_0xcff820(0xf8)],0xa);break;case 0x48:_0x5119da['subdivisionLevel']=parseInt(_0x2d252a['value'],0xa);break;case 0x5b:_0x2c215d=![];break;case 0x5c:_0x2c215d=!![];break;case 0x5d:_0x33370a=!![],_0x2c215d=![];break;case 0x5e:_0x367508=!![],_0x33370a=![];break;case 0x5f:_0x367508=![];break;case 0xa:_0x11e98c=parseFloat(_0x2d252a[_0xcff820(0xf8)]);break;case 0x14:_0x11e98c!==null&&(_0x5119da[_0xcff820(0x12c)][_0xcff820(0x174)]({'x':_0x11e98c,'y':parseFloat(_0x2d252a[_0xcff820(0xf8)]),'z':0x0}),_0x11e98c=null);break;case 0x1e:if(_0x5119da[_0xcff820(0x12c)][_0xcff820(0x197)]>0x0)_0x5119da[_0xcff820(0x12c)][_0x5119da[_0xcff820(0x12c)][_0xcff820(0x197)]-0x1]['z']=parseFloat(_0x2d252a['value']);break;case 0x5a:if(_0x2c215d)_0x5119da[_0xcff820(0xa7)][_0xcff820(0x174)](parseInt(_0x2d252a[_0xcff820(0xf8)],0xa));else {if(_0x33370a)_0x5119da[_0xcff820(0x1b6)][_0xcff820(0x174)](parseInt(_0x2d252a[_0xcff820(0xf8)],0xa));}break;case 0x8c:if(_0x367508)_0x5119da[_0xcff820(0x16a)][_0xcff820(0x174)](parseFloat(_0x2d252a['value']));break;}}return _0x5119da;}function parseRegionEntity(_0x2eeff5,_0x3d01cd){const _0x1fe24e=_0xcf9d;_0x2eeff5[_0x1fe24e(0x18e)]=[];for(const _0x54a9dd of _0x3d01cd){if(_0x54a9dd[_0x1fe24e(0x155)]===0x1||_0x54a9dd['code']===0x3)_0x2eeff5['acisData'][_0x1fe24e(0x174)](_0x54a9dd['value']);if(_0x54a9dd[_0x1fe24e(0x155)]===0x46)_0x2eeff5[_0x1fe24e(0x10b)]=parseInt(_0x54a9dd[_0x1fe24e(0xf8)],0xa);}return _0x2eeff5[_0x1fe24e(0xac)]=_0x2eeff5['acisData'][_0x1fe24e(0xe5)](''),_0x2eeff5;}function parseOle2Entity(_0x505246,_0x4c9ea2){const _0x122116=_0xcf9d;_0x505246[_0x122116(0xb0)]={'x':0x0,'y':0x0,'z':0x0},_0x505246[_0x122116(0xa9)]={'x':0x0,'y':0x0,'z':0x0},_0x505246[_0x122116(0x133)]=0x0,_0x505246['tileMode']=0x0;for(const _0x596cd7 of _0x4c9ea2){switch(_0x596cd7[_0x122116(0x155)]){case 0xa:_0x505246[_0x122116(0xb0)]['x']=parseFloat(_0x596cd7[_0x122116(0xf8)]);break;case 0x14:_0x505246[_0x122116(0xb0)]['y']=parseFloat(_0x596cd7[_0x122116(0xf8)]);break;case 0xb:_0x505246[_0x122116(0xa9)]['x']=parseFloat(_0x596cd7['value']);break;case 0x15:_0x505246['lowerRightCorner']['y']=parseFloat(_0x596cd7[_0x122116(0xf8)]);break;case 0x46:_0x505246[_0x122116(0x133)]=parseInt(_0x596cd7[_0x122116(0xf8)],0xa);break;case 0x47:_0x505246[_0x122116(0xd3)]=parseInt(_0x596cd7[_0x122116(0xf8)],0xa);break;case 0x1:case 0x3:_0x505246['binaryData']=_0x505246['binaryData']||[],_0x505246['binaryData'][_0x122116(0x174)](_0x596cd7['value']);break;}}return _0x505246;}function parseTableEntity(_0x4606f8,_0x2e1ee4){const _0x526276=_0xcf9d;_0x4606f8[_0x526276(0x193)]={'x':0x0,'y':0x0,'z':0x0},_0x4606f8['blockName']='',_0x4606f8[_0x526276(0x1a1)]={'x':0x1,'y':0x0,'z':0x0},_0x4606f8[_0x526276(0x110)]=0x0,_0x4606f8[_0x526276(0x10e)]=0x0;for(const _0xea9875 of _0x2e1ee4){switch(_0xea9875[_0x526276(0x155)]){case 0x2:_0x4606f8[_0x526276(0x1b7)]=_0xea9875[_0x526276(0xf8)];break;case 0xa:_0x4606f8[_0x526276(0x193)]['x']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0x14:_0x4606f8[_0x526276(0x193)]['y']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0xb:_0x4606f8[_0x526276(0x1a1)]['x']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0x15:_0x4606f8[_0x526276(0x1a1)]['y']=parseFloat(_0xea9875[_0x526276(0xf8)]);break;case 0x5b:_0x4606f8[_0x526276(0x110)]=parseInt(_0xea9875['value'],0xa);break;case 0x5c:_0x4606f8[_0x526276(0x10e)]=parseInt(_0xea9875[_0x526276(0xf8)],0xa);break;case 0x8e:_0x4606f8[_0x526276(0x149)]=_0x4606f8['rowHeights']||[],_0x4606f8[_0x526276(0x149)]['push'](parseFloat(_0xea9875['value']));break;case 0x8d:_0x4606f8[_0x526276(0x127)]=_0x4606f8[_0x526276(0x127)]||[],_0x4606f8['columnWidths']['push'](parseFloat(_0xea9875[_0x526276(0xf8)]));break;}}return _0x4606f8;}function _0x39c5(){const _0x7f3c84=['attachmentPoint','endTangent','faceVertex2','other_list','TRACE','isPolyfaceMesh','get','majorAxisEndPoint','rowSpacing','ownerHandle','endPoint','TOLERANCE','5118KqsbZp','radius','INSERT','is3DPolyline','axisVector','entryName','175IkxgKB','type','columnWidths','position','textWidth','689025fdffDL','instanceCount','vertices','1866fMKbDP','imageSize','slice','VIEWPORT','50910cOWNDF','height','oleType','code_','endWidth','constantWidth','weights','POLYLINE','colorNumber','uVector','arc_list','SEQEND','proxyCapabilities','visible','3DSOLID','11aWaWHn','controlPointTolerance','oblique','data','fade','constraint','styleHandle','8cNKauX','ATTDEF','rowHeights','status','SURFACE','prompt','degree','leaderLength','POINT','middleOfText','viewTarget','ENDSEC','viewTwistAngle','handedness','code','endAngle','contrast','clippingBoundary','pathType','hAlign','hasAttributes','viewDirection','hardPointer','flags','turns','spline_list','perspectiveLensLength','startsWith','ATTRIB','subclassMarker','arrowheadSize','insert_list','bulge','CLASS','thickness','edgeCreases','trueColor','lineSpacing','error','dimension_list','versions','contentType','ellipse_list','face3d_list','rational','push','extrusionDirection','name','startWidth','point2','clippingType','horizontalDirection','fitPointCount','seedPoints','STANDARD','basePointX','patternType','keys','BLOCK','IMAGE','LEADER','includes','textStyleId','patternAngle','DIMENSION','HEADER','knots','linetypeScale','polyline_list','turnHeight','TABLES','acisData','3DFACE','angle','viewCenter','edgeCount','insertionPoint','SECTION','style','获取\x20DXF\x20失败:\x20HTTP\x20','length','fitTolerance','justification','associative','circle_list','OBJECTS','Defpoints','concat','columnCount','generationFlags','direction','dummyY','XLINE','test','isEntity','xScale','dimensionType','entities','ELLIPSE','styleName','SOLID','arrowheadFlag','vAlign','leader_list','BODY','invisibleEdgeFlags','faceVertex4','points','node','lineSpacingStyle','basePoint','edges','blockName','linetypeName','scale','doglegLength','startTangent','ENDTAB','MESH','faces','name2','lowerRightCorner','tag','startPoint','acisDataString','drawingDirection','trim','faceVertex1','upperLeftCorner','periodic','solid','meshMVertexCount','HELIX','faceVertex3','point_list','statusField','startAngle','rowCount','center','attributes','cppClassName','is3DMesh','200YfTeXd','basePointY','LAYER','point1','layers','meshNVertexCount','viewHeight','handle','controlPoints','ARC','appName','mtext_list','HATCH','columnSpacing','12845016dohFbt','CIRCLE','subdivisionLevel','undefined','defaultStartWidth','patternScale','TEXT','tileMode','MLINE','fs/promises','patternName','BLOCKS','creationType','basePointZ','leaderPoints','text','imageDefHandle','knotTolerance','HTTP\x20','clippingVertices','normal','version','definitionPoint','lineweight','rotation','join','softPointer','axisBasePoint','WIPEOUT','closed','TABLE','layer','https','blocks','find','annotationReference','width','elevation','displayFlags','parseDxf:\x20请传入\x20DXF\x20字符串、文件路径、URL\x20或\x20File\x20对象','VERTEX','vertexCount','textHeight','split','value','浏览器不支持读取本地路径,请用\x20URL\x20或\x20File\x20对象','12735783DBaspg','LWPOLYLINE','knotCount','hooklineFlag','setEncoding','boundaryPaths','defaultEndWidth','ENTITIES','MLEADER','8860870GUCcPQ','32180WzxPUD','image_list','OLE2FRAME','statusCode','alignmentPoint','string','LINE','modelerFormat','axisRatio','widthFactor','columns','frozenLayers','rows','MTEXT','fitPoints'];_0x39c5=function(){return _0x7f3c84;};return _0x39c5();}function parseMLineEntity(_0x2ce0fb,_0x1a78e7){const _0x1f2060=_0xcf9d;_0x2ce0fb[_0x1f2060(0x1aa)]=_0x1f2060(0x17d),_0x2ce0fb[_0x1f2060(0x1b9)]=0x1,_0x2ce0fb[_0x1f2060(0x199)]=0x0,_0x2ce0fb[_0x1f2060(0x15e)]=0x0,_0x2ce0fb['startPoint']={'x':0x0,'y':0x0,'z':0x0},_0x2ce0fb[_0x1f2060(0xe0)]={'x':0x0,'y':0x0,'z':0x1},_0x2ce0fb[_0x1f2060(0x12c)]=[];let _0x160ec6=null;for(const _0x494763 of _0x1a78e7){switch(_0x494763[_0x1f2060(0x155)]){case 0x2:_0x2ce0fb[_0x1f2060(0x1aa)]=_0x494763[_0x1f2060(0xf8)];break;case 0xa:_0x2ce0fb['startPoint']['x']=parseFloat(_0x494763['value']);break;case 0x14:_0x2ce0fb[_0x1f2060(0xab)]['y']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x1e:_0x2ce0fb[_0x1f2060(0xab)]['z']=parseFloat(_0x494763['value']);break;case 0xb:_0x160ec6=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x15:_0x160ec6!==null&&(_0x2ce0fb['vertices'][_0x1f2060(0x174)]({'x':_0x160ec6,'y':parseFloat(_0x494763[_0x1f2060(0xf8)]),'z':0x0}),_0x160ec6=null);break;case 0x1f:if(_0x2ce0fb[_0x1f2060(0x12c)]['length']>0x0)_0x2ce0fb[_0x1f2060(0x12c)][_0x2ce0fb[_0x1f2060(0x12c)][_0x1f2060(0x197)]-0x1]['z']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x28:_0x2ce0fb[_0x1f2060(0x1b9)]=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0x46:_0x2ce0fb['justification']=parseInt(_0x494763[_0x1f2060(0xf8)],0xa);break;case 0x47:_0x2ce0fb['flags']=parseInt(_0x494763[_0x1f2060(0xf8)],0xa);break;case 0x48:_0x2ce0fb[_0x1f2060(0xf5)]=parseInt(_0x494763['value'],0xa);break;case 0x154:_0x2ce0fb[_0x1f2060(0x146)]=_0x494763[_0x1f2060(0xf8)];break;case 0xd2:_0x2ce0fb[_0x1f2060(0xe0)]['x']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;case 0xdc:_0x2ce0fb[_0x1f2060(0xe0)]['y']=parseFloat(_0x494763['value']);break;case 0xe6:_0x2ce0fb[_0x1f2060(0xe0)]['z']=parseFloat(_0x494763[_0x1f2060(0xf8)]);break;}}return _0x2ce0fb;}function parseGenericEntity(_0x2c669f,_0x1e6ff5){const _0x363980=_0xcf9d;_0x2c669f[_0x363980(0x143)]={};for(const _0x45e624 of _0x1e6ff5){const _0x23335d=_0x363980(0x134)+_0x45e624[_0x363980(0x155)],_0x444b81=autoConvert(_0x45e624[_0x363980(0x155)],_0x45e624[_0x363980(0xf8)]);if(_0x2c669f[_0x363980(0x143)][_0x23335d]!==undefined)_0x2c669f[_0x363980(0x143)][_0x23335d]=[][_0x363980(0x19e)](_0x2c669f['data'][_0x23335d],_0x444b81);else _0x2c669f[_0x363980(0x143)][_0x23335d]=_0x444b81;}return _0x2c669f;}function parseObjects(_0x38ffd5){const _0x5f5060=_0xcf9d;if(!_0x38ffd5||_0x38ffd5[_0x5f5060(0x197)]===0x0)return [];const _0x21f6aa=[];let _0x7863be=0x0;while(_0x7863be<_0x38ffd5[_0x5f5060(0x197)]){if(_0x38ffd5[_0x7863be][_0x5f5060(0x155)]===0x0){const _0x21dc74=_0x38ffd5[_0x7863be][_0x5f5060(0xf8)];_0x7863be++;const _0x22e856={'type':_0x21dc74};while(_0x7863be<_0x38ffd5['length']&&_0x38ffd5[_0x7863be][_0x5f5060(0x155)]!==0x0){const _0x3e48ba=_0x38ffd5[_0x7863be][_0x5f5060(0x155)],_0xca5cd3=autoConvert(_0x3e48ba,_0x38ffd5[_0x7863be]['value']);switch(_0x3e48ba){case 0x5:_0x22e856[_0x5f5060(0xc5)]=_0xca5cd3;break;case 0x2:_0x22e856[_0x5f5060(0x176)]=_0xca5cd3;break;case 0x3:_0x22e856[_0x5f5060(0x124)]=_0x22e856[_0x5f5060(0x124)]?[][_0x5f5060(0x19e)](_0x22e856['entryName'],_0xca5cd3):_0xca5cd3;break;case 0x14a:_0x22e856['ownerHandle']=_0xca5cd3;break;case 0x15e:_0x22e856[_0x5f5060(0xe6)]=_0x22e856[_0x5f5060(0xe6)]?[][_0x5f5060(0x19e)](_0x22e856[_0x5f5060(0xe6)],_0xca5cd3):_0xca5cd3;break;case 0x168:_0x22e856[_0x5f5060(0x15d)]=_0x22e856['hardPointer']?[][_0x5f5060(0x19e)](_0x22e856[_0x5f5060(0x15d)],_0xca5cd3):_0xca5cd3;break;default:const _0x1cdf4a=_0x5f5060(0x134)+_0x3e48ba;if(_0x22e856[_0x1cdf4a]!==undefined)_0x22e856[_0x1cdf4a]=[][_0x5f5060(0x19e)](_0x22e856[_0x1cdf4a],_0xca5cd3);else _0x22e856[_0x1cdf4a]=_0xca5cd3;}_0x7863be++;}_0x21f6aa[_0x5f5060(0x174)](_0x22e856);}else _0x7863be++;}return _0x21f6aa;}function assemblePolylineVertices(_0x338cad){const _0x5b29ab=_0xcf9d,_0x425f61=[];let _0x75658d=null;for(const _0x21f4f6 of _0x338cad){if(_0x21f4f6[_0x5b29ab(0x126)]===_0x5b29ab(0x138))_0x75658d=_0x21f4f6,_0x425f61[_0x5b29ab(0x174)](_0x21f4f6);else {if(_0x21f4f6[_0x5b29ab(0x126)]==='VERTEX'&&_0x75658d)_0x75658d[_0x5b29ab(0x12c)][_0x5b29ab(0x174)]({'x':_0x21f4f6[_0x5b29ab(0x128)]['x'],'y':_0x21f4f6[_0x5b29ab(0x128)]['y'],'z':_0x21f4f6[_0x5b29ab(0x128)]['z'],'bulge':_0x21f4f6[_0x5b29ab(0x167)],'startWidth':_0x21f4f6[_0x5b29ab(0x177)],'endWidth':_0x21f4f6[_0x5b29ab(0x135)],'flags':_0x21f4f6['flags'],'faceVertex1':_0x21f4f6[_0x5b29ab(0xaf)],'faceVertex2':_0x21f4f6[_0x5b29ab(0x115)],'faceVertex3':_0x21f4f6['faceVertex3'],'faceVertex4':_0x21f4f6[_0x5b29ab(0x1b1)]});else _0x21f4f6[_0x5b29ab(0x126)]===_0x5b29ab(0x13c)?_0x75658d=null:(_0x75658d=null,_0x425f61['push'](_0x21f4f6));}}return _0x425f61;}function assembleInsertAttributes(_0x54761d){const _0x38e7e6=_0xcf9d,_0x4b0a2d=[];let _0xa12f66=null;for(const _0x308cdc of _0x54761d){if(_0x308cdc[_0x38e7e6(0x126)]===_0x38e7e6(0x121)&&_0x308cdc[_0x38e7e6(0x15b)])_0xa12f66=_0x308cdc,_0x4b0a2d['push'](_0x308cdc);else {if(_0x308cdc[_0x38e7e6(0x126)]===_0x38e7e6(0x163)&&_0xa12f66)_0xa12f66['attributes'][_0x38e7e6(0x174)](_0x308cdc);else _0x308cdc[_0x38e7e6(0x126)]==='SEQEND'?_0xa12f66=null:(_0xa12f66=null,_0x4b0a2d[_0x38e7e6(0x174)](_0x308cdc));}}return _0x4b0a2d;}async function fetchDxfFromUrl(_0xbcdd70){const _0xe0c579=_0xcf9d;if(typeof fetch==='function'){const _0x3a02cd=await fetch(_0xbcdd70);if(!_0x3a02cd['ok'])throw new Error(_0xe0c579(0x196)+_0x3a02cd[_0xe0c579(0x14a)]+'\x20—\x20'+_0xbcdd70);return await _0x3a02cd[_0xe0c579(0xdb)]();}if(typeof process!==_0xe0c579(0xcf)&&process['versions']?.['node']){const {default:_0x12a4f}=_0xbcdd70[_0xe0c579(0x162)](_0xe0c579(0xec))?await import(_0xe0c579(0xec)):await import('http');return new Promise((_0x296954,_0x1e3531)=>{const _0x3b9c82=_0xe0c579;_0x12a4f[_0x3b9c82(0x119)](_0xbcdd70,_0x5ae639=>{const _0x1cf06c=_0x3b9c82;if(_0x5ae639[_0x1cf06c(0x107)]!==0xc8){_0x1e3531(new Error(_0x1cf06c(0xde)+_0x5ae639['statusCode']));return;}let _0xb44daf='';_0x5ae639[_0x1cf06c(0xfe)]('utf-8'),_0x5ae639['on'](_0x1cf06c(0x143),_0x5d7af1=>_0xb44daf+=_0x5d7af1),_0x5ae639['on']('end',()=>_0x296954(_0xb44daf)),_0x5ae639['on'](_0x1cf06c(0x16d),_0x1e3531);})['on'](_0x3b9c82(0x16d),_0x1e3531);});}throw new Error('当前环境不支持\x20HTTP\x20请求');}async function readLocalFile(_0x3284b1){const _0x2d4591=_0xcf9d;if(typeof process!==_0x2d4591(0xcf)&&process[_0x2d4591(0x16f)]?.[_0x2d4591(0x1b3)]){const {readFile:_0x2d2781}=await import(_0x2d4591(0xd5));return await _0x2d2781(_0x3284b1,'utf-8');}throw new Error(_0x2d4591(0xf9));}async function parseDxf(_0x586cce){const _0x38d162=_0xcf9d;let _0x4bdc7e;if(typeof Blob!==_0x38d162(0xcf)&&_0x586cce instanceof Blob)_0x4bdc7e=await _0x586cce[_0x38d162(0xdb)]();else {if(typeof _0x586cce===_0x38d162(0x109)){if(_0x586cce['includes']('\x0a')||_0x586cce[_0x38d162(0x184)](_0x38d162(0x194)))_0x4bdc7e=_0x586cce;else /^https?:\/\//i[_0x38d162(0x1a4)](_0x586cce)?_0x4bdc7e=await fetchDxfFromUrl(_0x586cce):_0x4bdc7e=await readLocalFile(_0x586cce);}else throw new Error(_0x38d162(0xf3));}const _0x2c80b9=tokenize(_0x4bdc7e),_0x13cda5=splitSections(_0x2c80b9),_0x3c1df1={'header':parseHeader(_0x13cda5[_0x38d162(0x188)]),'classes':parseClasses(_0x13cda5['CLASSES']),'tables':parseTables(_0x13cda5[_0x38d162(0x18d)]),'blocks':parseBlocks(_0x13cda5[_0x38d162(0xd7)]),'entities':parseEntityList(_0x13cda5[_0x38d162(0x101)]||[]),'objects':parseObjects(_0x13cda5[_0x38d162(0x19c)])};_0x3c1df1[_0x38d162(0x1a8)]=assemblePolylineVertices(_0x3c1df1[_0x38d162(0x1a8)]),_0x3c1df1[_0x38d162(0x1a8)]=assembleInsertAttributes(_0x3c1df1[_0x38d162(0x1a8)]);for(const _0x225045 of _0x3c1df1[_0x38d162(0xed)]){_0x225045[_0x38d162(0x1a8)]&&_0x225045[_0x38d162(0x1a8)]['length']>0x0&&(_0x225045[_0x38d162(0x1a8)]=assemblePolylineVertices(_0x225045[_0x38d162(0x1a8)]),_0x225045['entities']=assembleInsertAttributes(_0x225045['entities']));}return _0x3c1df1;}
4
4
 
5
- const _0x2f0375=_0x4941;(function(_0x47d067,_0x1c4fd9){const _0x4494c8=_0x4941,_0x12a8e5=_0x47d067();while(!![]){try{const _0x8350a9=parseInt(_0x4494c8(0x14e))/0x1*(-parseInt(_0x4494c8(0x178))/0x2)+-parseInt(_0x4494c8(0x1b8))/0x3+-parseInt(_0x4494c8(0x10b))/0x4+-parseInt(_0x4494c8(0x159))/0x5*(-parseInt(_0x4494c8(0x127))/0x6)+parseInt(_0x4494c8(0x13d))/0x7*(-parseInt(_0x4494c8(0x10a))/0x8)+-parseInt(_0x4494c8(0x181))/0x9*(parseInt(_0x4494c8(0x176))/0xa)+parseInt(_0x4494c8(0x10f))/0xb*(parseInt(_0x4494c8(0x165))/0xc);if(_0x8350a9===_0x1c4fd9)break;else _0x12a8e5['push'](_0x12a8e5['shift']());}catch(_0x110130){_0x12a8e5['push'](_0x12a8e5['shift']());}}}(_0x48d4,0x6d95b));function pair(_0x8f6135,_0xdf1b70){if(_0xdf1b70===undefined||_0xdf1b70===null)return '';return '\x20\x20'+_0x8f6135+'\x0a'+_0xdf1b70+'\x0a';}function pairF(_0x377c9b,_0x13e934){if(_0x13e934===undefined||_0x13e934===null)return '';return pair(_0x377c9b,formatFloat(_0x13e934));}function formatFloat(_0x3be9df){const _0x5a76d1=_0x4941;if(typeof _0x3be9df!=='number'||isNaN(_0x3be9df))return '0.0';let _0x22c29f=_0x3be9df[_0x5a76d1(0x155)](0x6);_0x22c29f=_0x22c29f[_0x5a76d1(0x135)](/(\.\d*?)0+$/,'$1');if(_0x22c29f['endsWith']('.'))_0x22c29f+='0';return _0x22c29f;}function pairI(_0x4d3efa,_0x1a56c6){const _0x3ef841=_0x4941;if(_0x1a56c6===undefined||_0x1a56c6===null)return '';return pair(_0x4d3efa,Math[_0x3ef841(0x187)](_0x1a56c6));}function writePoint3D(_0x3f415d,_0x34cc6b){if(!_0x34cc6b)return '';return pairF(_0x3f415d,_0x34cc6b['x'])+pairF(_0x3f415d+0xa,_0x34cc6b['y'])+pairF(_0x3f415d+0x14,_0x34cc6b['z']);}function writePoint2D(_0x5ac6a1,_0x4f8a3b){if(!_0x4f8a3b)return '';return pairF(_0x5ac6a1,_0x4f8a3b['x'])+pairF(_0x5ac6a1+0xa,_0x4f8a3b['y']);}function writeExtrusion(_0x3e72d0){if(!_0x3e72d0)return '';if(_0x3e72d0['x']===0x0&&_0x3e72d0['y']===0x0&&_0x3e72d0['z']===0x1)return '';return pairF(0xd2,_0x3e72d0['x'])+pairF(0xdc,_0x3e72d0['y'])+pairF(0xe6,_0x3e72d0['z']);}function writeHeader(_0x300d07){const _0x1d5c80=_0x4941;if(!_0x300d07||Object[_0x1d5c80(0x104)](_0x300d07)[_0x1d5c80(0x1ee)]===0x0)return '';let _0x2e3620=pair(0x0,_0x1d5c80(0x177))+pair(0x2,_0x1d5c80(0x17c));for(const [_0x28da1e,_0x59a8e5]of Object['entries'](_0x300d07)){_0x2e3620+=pair(0x9,_0x28da1e);if(typeof _0x59a8e5===_0x1d5c80(0x1b5)&&_0x59a8e5!==null&&!Array[_0x1d5c80(0x1d6)](_0x59a8e5))for(const [_0x15687d,_0x2d0944]of Object[_0x1d5c80(0x151)](_0x59a8e5)){_0x2e3620+=pair(parseInt(_0x15687d),_0x2d0944);}else _0x2e3620+=pair(0x1,_0x59a8e5);}return _0x2e3620+=pair(0x0,_0x1d5c80(0x18c)),_0x2e3620;}function writeClasses(_0x1fc6c1){const _0x582f6d=_0x4941;if(!_0x1fc6c1||_0x1fc6c1[_0x582f6d(0x1ee)]===0x0)return '';let _0x4c2ed2=pair(0x0,'SECTION')+pair(0x2,_0x582f6d(0x197));for(const _0x5bc352 of _0x1fc6c1){_0x4c2ed2+=pair(0x0,_0x582f6d(0x210));if(_0x5bc352[_0x582f6d(0x168)])_0x4c2ed2+=pair(0x1,_0x5bc352[_0x582f6d(0x168)]);if(_0x5bc352[_0x582f6d(0x111)])_0x4c2ed2+=pair(0x2,_0x5bc352['cppClassName']);if(_0x5bc352[_0x582f6d(0x1da)])_0x4c2ed2+=pair(0x3,_0x5bc352[_0x582f6d(0x1da)]);if(_0x5bc352['proxyCapabilities']!==undefined)_0x4c2ed2+=pairI(0x5a,_0x5bc352['proxyCapabilities']);if(_0x5bc352[_0x582f6d(0x19d)]!==undefined)_0x4c2ed2+=pairI(0x5b,_0x5bc352[_0x582f6d(0x19d)]);if(_0x5bc352[_0x582f6d(0x133)]!==undefined)_0x4c2ed2+=pairI(0x118,_0x5bc352['wasProxy']);if(_0x5bc352[_0x582f6d(0x192)]!==undefined)_0x4c2ed2+=pairI(0x119,_0x5bc352[_0x582f6d(0x192)]);}return _0x4c2ed2+=pair(0x0,_0x582f6d(0x18c)),_0x4c2ed2;}function writeTables(_0x1735c0){const _0x1a018a=_0x4941;if(!_0x1735c0||Object[_0x1a018a(0x104)](_0x1735c0)[_0x1a018a(0x1ee)]===0x0)return '';let _0x3dddf7=pair(0x0,_0x1a018a(0x177))+pair(0x2,'TABLES');for(const [_0x114473,_0x4055bd]of Object[_0x1a018a(0x151)](_0x1735c0)){_0x3dddf7+=pair(0x0,_0x1a018a(0x1a7)),_0x3dddf7+=pair(0x2,_0x114473);if(_0x4055bd[_0x1a018a(0x1ee)]>0x0){const _0x425d7=_0x4055bd[0x0];if(_0x425d7[_0x1a018a(0x1dd)])_0x3dddf7+=pair(0x5,_0x425d7[_0x1a018a(0x1dd)]);if(_0x425d7[_0x1a018a(0x110)])_0x3dddf7+=pair(0x14a,_0x425d7[_0x1a018a(0x110)]);_0x3dddf7+=pair(0x64,_0x1a018a(0x1be)),_0x3dddf7+=pairI(0x46,_0x4055bd[_0x1a018a(0x1ee)]);}for(const _0x56592f of _0x4055bd){_0x3dddf7+=pair(0x0,_0x56592f['_type']||_0x114473);if(_0x56592f[_0x1a018a(0x1dd)])_0x3dddf7+=pair(0x5,_0x56592f[_0x1a018a(0x1dd)]);if(_0x56592f[_0x1a018a(0x110)])_0x3dddf7+=pair(0x14a,_0x56592f[_0x1a018a(0x110)]);if(_0x56592f[_0x1a018a(0x1c6)]){const _0x301067=[]['concat'](_0x56592f[_0x1a018a(0x1c6)]);for(const _0x365197 of _0x301067){_0x3dddf7+=pair(0x64,_0x365197);}}if(_0x56592f[_0x1a018a(0x157)])_0x3dddf7+=pair(0x2,_0x56592f[_0x1a018a(0x157)]);if(_0x56592f[_0x1a018a(0x142)]!==undefined)_0x3dddf7+=pairI(0x46,_0x56592f[_0x1a018a(0x142)]);if(_0x56592f[_0x1a018a(0x20d)]!==undefined)_0x3dddf7+=pairI(0x3e,_0x56592f[_0x1a018a(0x20d)]);if(_0x56592f[_0x1a018a(0x145)])_0x3dddf7+=pair(0x6,_0x56592f[_0x1a018a(0x145)]);if(_0x56592f['styleName'])_0x3dddf7+=pair(0x7,_0x56592f[_0x1a018a(0x15a)]);if(_0x56592f[_0x1a018a(0x14d)])_0x3dddf7+=pairF(0x28,_0x56592f[_0x1a018a(0x14d)]);if(_0x56592f[_0x1a018a(0x13b)])_0x3dddf7+=pairF(0x29,_0x56592f[_0x1a018a(0x13b)]);if(_0x56592f[_0x1a018a(0x179)])_0x3dddf7+=pairF(0x32,_0x56592f[_0x1a018a(0x179)]);if(_0x56592f[_0x1a018a(0x15b)]!==undefined)_0x3dddf7+=pairI(0x172,_0x56592f[_0x1a018a(0x15b)]);if(_0x56592f['plotStyleHandle'])_0x3dddf7+=pair(0x186,_0x56592f[_0x1a018a(0x1c3)]);if(_0x56592f[_0x1a018a(0x1cd)])for(const [_0x5d2b02,_0x56270e]of Object[_0x1a018a(0x151)](_0x56592f)){if(_0x5d2b02[_0x1a018a(0x108)]('code_')){const _0x5c3ccc=parseInt(_0x5d2b02[_0x1a018a(0x135)](_0x1a018a(0x1cb),'')),_0x3bf785=[][_0x1a018a(0x169)](_0x56270e);for(const _0x54e9f8 of _0x3bf785){_0x3dddf7+=pair(_0x5c3ccc,_0x54e9f8);}}}}_0x3dddf7+=pair(0x0,_0x1a018a(0x15f));}return _0x3dddf7+=pair(0x0,'ENDSEC'),_0x3dddf7;}function writeBlocks(_0x4a2132){const _0x1be0b=_0x4941;if(!_0x4a2132||_0x4a2132['length']===0x0)return '';let _0x856ac=pair(0x0,_0x1be0b(0x177))+pair(0x2,_0x1be0b(0x123));for(const _0x1b56b9 of _0x4a2132){_0x856ac+=pair(0x0,_0x1be0b(0x1ca));if(_0x1b56b9[_0x1be0b(0x1dd)])_0x856ac+=pair(0x5,_0x1b56b9[_0x1be0b(0x1dd)]);if(_0x1b56b9[_0x1be0b(0x110)])_0x856ac+=pair(0x14a,_0x1b56b9[_0x1be0b(0x110)]);_0x856ac+=pair(0x64,_0x1be0b(0x1e8));if(_0x1b56b9[_0x1be0b(0x17f)])_0x856ac+=pair(0x8,_0x1b56b9['layer']);_0x856ac+=pair(0x64,'AcDbBlockBegin');if(_0x1b56b9['name'])_0x856ac+=pair(0x2,_0x1b56b9['name']);if(_0x1b56b9[_0x1be0b(0x142)]!==undefined)_0x856ac+=pairI(0x46,_0x1b56b9['flags']);_0x856ac+=pairF(0xa,_0x1b56b9['basePointX']||_0x1b56b9[_0x1be0b(0x115)]&&_0x1b56b9['basePoint']['x']||0x0),_0x856ac+=pairF(0x14,_0x1b56b9['basePointY']||_0x1b56b9[_0x1be0b(0x115)]&&_0x1b56b9[_0x1be0b(0x115)]['y']||0x0),_0x856ac+=pairF(0x1e,_0x1b56b9['basePointZ']||_0x1b56b9['basePoint']&&_0x1b56b9[_0x1be0b(0x115)]['z']||0x0);if(_0x1b56b9['name2']||_0x1b56b9[_0x1be0b(0x157)])_0x856ac+=pair(0x3,_0x1b56b9['name2']||_0x1b56b9['name']);_0x1b56b9[_0x1be0b(0x154)]&&_0x1b56b9[_0x1be0b(0x154)][_0x1be0b(0x1ee)]>0x0&&(_0x856ac+=writeEntityList(_0x1b56b9[_0x1be0b(0x154)]));_0x856ac+=pair(0x0,'ENDBLK');if(_0x1b56b9[_0x1be0b(0x1dd)])_0x856ac+=pair(0x5,_0x1b56b9['handle']);if(_0x1b56b9[_0x1be0b(0x110)])_0x856ac+=pair(0x14a,_0x1b56b9['ownerHandle']);_0x856ac+=pair(0x64,'AcDbEntity');if(_0x1b56b9[_0x1be0b(0x17f)])_0x856ac+=pair(0x8,_0x1b56b9[_0x1be0b(0x17f)]);_0x856ac+=pair(0x64,'AcDbBlockEnd');}return _0x856ac+=pair(0x0,_0x1be0b(0x18c)),_0x856ac;}function writeEntityList(_0x40bb60){let _0x44f294='';for(const _0x5a2231 of _0x40bb60){_0x44f294+=writeOneEntity(_0x5a2231);}return _0x44f294;}function writeEntitiesSection(_0x30063a){const _0x295a2a=_0x4941;if(!_0x30063a||_0x30063a[_0x295a2a(0x1ee)]===0x0)return '';let _0x1d0b80=pair(0x0,'SECTION')+pair(0x2,_0x295a2a(0x1b1));return _0x1d0b80+=writeEntityList(_0x30063a),_0x1d0b80+=pair(0x0,_0x295a2a(0x18c)),_0x1d0b80;}function writeCommonFields(_0x287ff3){const _0x5bf11a=_0x4941;let _0x403ab1='';if(_0x287ff3['handle'])_0x403ab1+=pair(0x5,_0x287ff3[_0x5bf11a(0x1dd)]);if(_0x287ff3[_0x5bf11a(0x110)])_0x403ab1+=pair(0x14a,_0x287ff3['ownerHandle']);_0x403ab1+=pair(0x64,'AcDbEntity');if(_0x287ff3[_0x5bf11a(0x1b3)])_0x403ab1+=pairI(0x43,0x1);if(_0x287ff3[_0x5bf11a(0x17f)])_0x403ab1+=pair(0x8,_0x287ff3[_0x5bf11a(0x17f)]);if(_0x287ff3[_0x5bf11a(0x145)])_0x403ab1+=pair(0x6,_0x287ff3['linetypeName']);if(_0x287ff3[_0x5bf11a(0x20d)]!==undefined&&_0x287ff3[_0x5bf11a(0x20d)]!==0x0)_0x403ab1+=pairI(0x3e,_0x287ff3[_0x5bf11a(0x20d)]);if(_0x287ff3[_0x5bf11a(0x15b)]!==undefined)_0x403ab1+=pairI(0x172,_0x287ff3[_0x5bf11a(0x15b)]);if(_0x287ff3['linetypeScale']!==undefined&&_0x287ff3[_0x5bf11a(0x1b2)]!==0x1)_0x403ab1+=pairF(0x30,_0x287ff3[_0x5bf11a(0x1b2)]);if(_0x287ff3[_0x5bf11a(0x1ea)]===![])_0x403ab1+=pairI(0x3c,0x1);if(_0x287ff3[_0x5bf11a(0x189)])_0x403ab1+=pairI(0x1a4,_0x287ff3[_0x5bf11a(0x189)]);return _0x403ab1;}function writeOneEntity(_0x4b1058){const _0x57f919=_0x4941;if(!_0x4b1058||!_0x4b1058[_0x57f919(0x1fd)])return '';let _0x425689=pair(0x0,_0x4b1058[_0x57f919(0x1fd)]);_0x425689+=writeCommonFields(_0x4b1058);switch(_0x4b1058[_0x57f919(0x1fd)]){case _0x57f919(0x19c):_0x425689+=writeLineEntity(_0x4b1058);break;case _0x57f919(0x120):_0x425689+=writeLWPolylineEntity(_0x4b1058);break;case _0x57f919(0x161):_0x425689+=writePolylineEntity(_0x4b1058);break;case _0x57f919(0x105):_0x425689+=writeArcEntity(_0x4b1058);break;case _0x57f919(0x213):_0x425689+=writeCircleEntity(_0x4b1058);break;case 'ELLIPSE':_0x425689+=writeEllipseEntity(_0x4b1058);break;case _0x57f919(0x138):_0x425689+=writePointEntity(_0x4b1058);break;case _0x57f919(0x1e6):_0x425689+=writeTextEntity(_0x4b1058);break;case _0x57f919(0x19b):_0x425689+=writeMTextEntity(_0x4b1058);break;case 'ATTRIB':case 'ATTDEF':_0x425689+=writeAttribEntity(_0x4b1058);break;case _0x57f919(0x1af):_0x425689+=writeInsertEntity(_0x4b1058);break;case _0x57f919(0x182):_0x425689+=writeDimensionEntity(_0x4b1058);break;case _0x57f919(0x190):_0x425689+=writeLeaderEntity(_0x4b1058);break;case _0x57f919(0x19f):_0x425689+=writeMLeaderEntity(_0x4b1058);break;case _0x57f919(0x173):_0x425689+=writeHatchEntity(_0x4b1058);break;case _0x57f919(0x1a0):_0x425689+=writeSplineEntity(_0x4b1058);break;case 'SOLID':case _0x57f919(0x124):case _0x57f919(0x174):_0x425689+=writeSolidEntity(_0x4b1058);break;case _0x57f919(0x1e7):_0x425689+=write3DFaceEntity(_0x4b1058);break;case _0x57f919(0x19a):case _0x57f919(0x1a3):_0x425689+=writeRayEntity(_0x4b1058);break;case 'VIEWPORT':_0x425689+=writeViewportEntity(_0x4b1058);break;case 'IMAGE':case _0x57f919(0x1ec):_0x425689+=writeImageEntity(_0x4b1058);break;case _0x57f919(0x188):_0x425689+=writeToleranceEntity(_0x4b1058);break;case _0x57f919(0x1aa):_0x425689+=writeHelixEntity(_0x4b1058);break;case _0x57f919(0x16f):_0x425689+=writeMeshEntity(_0x4b1058);break;case 'REGION':case 'BODY':case _0x57f919(0x14b):_0x425689+=writeRegionEntity(_0x4b1058);break;case _0x57f919(0x20e):_0x425689+=writeOle2Entity(_0x4b1058);break;case _0x57f919(0x1a7):_0x425689+=writeTableEntity(_0x4b1058);break;case _0x57f919(0x175):_0x425689+=writeMLineEntity(_0x4b1058);break;case 'SEQEND':break;default:_0x425689+=writeGenericEntity(_0x4b1058);break;}return _0x425689;}function _0x4941(_0x185c88,_0x2b310e){_0x185c88=_0x185c88-0x101;const _0x48d415=_0x48d4();let _0x4941e9=_0x48d415[_0x185c88];return _0x4941e9;}function writeLineEntity(_0x2375f2){const _0x1f2f50=_0x4941;let _0x417b24=pair(0x64,'AcDbLine');if(_0x2375f2['thickness'])_0x417b24+=pairF(0x27,_0x2375f2[_0x1f2f50(0x1e9)]);return _0x417b24+=writePoint3D(0xa,_0x2375f2['startPoint']),_0x417b24+=writePoint3D(0xb,_0x2375f2[_0x1f2f50(0x1ef)]),_0x417b24+=writeExtrusion(_0x2375f2[_0x1f2f50(0x1f1)]),_0x417b24;}function writeLWPolylineEntity(_0x1832b7){const _0x30ccc3=_0x4941;let _0x3c7729=pair(0x64,'AcDbPolyline');const _0x45fac2=_0x1832b7[_0x30ccc3(0x1bf)]||[];_0x3c7729+=pairI(0x5a,_0x45fac2['length']);let _0x324046=0x0;if(_0x1832b7[_0x30ccc3(0x129)])_0x324046|=0x1;_0x3c7729+=pairI(0x46,_0x324046);if(_0x1832b7[_0x30ccc3(0x201)])_0x3c7729+=pairF(0x2b,_0x1832b7[_0x30ccc3(0x201)]);if(_0x1832b7['elevation'])_0x3c7729+=pairF(0x26,_0x1832b7[_0x30ccc3(0x1f5)]);if(_0x1832b7[_0x30ccc3(0x1e9)])_0x3c7729+=pairF(0x27,_0x1832b7[_0x30ccc3(0x1e9)]);for(const _0x3616a7 of _0x45fac2){_0x3c7729+=pairF(0xa,_0x3616a7['x']),_0x3c7729+=pairF(0x14,_0x3616a7['y']);if(_0x3616a7[_0x30ccc3(0x1e3)])_0x3c7729+=pairF(0x28,_0x3616a7['startWidth']);if(_0x3616a7[_0x30ccc3(0x1d8)])_0x3c7729+=pairF(0x29,_0x3616a7['endWidth']);if(_0x3616a7[_0x30ccc3(0x1eb)])_0x3c7729+=pairF(0x2a,_0x3616a7[_0x30ccc3(0x1eb)]);}return _0x3c7729+=writeExtrusion(_0x1832b7['extrusionDirection']),_0x3c7729;}function writePolylineEntity(_0xc0025){const _0x528feb=_0x4941;let _0x419bbf=pair(0x64,_0x528feb(0x119)),_0x1e9237=_0xc0025[_0x528feb(0x142)]||0x0;if(_0xc0025[_0x528feb(0x129)])_0x1e9237|=0x1;_0x419bbf+=pairI(0x46,_0x1e9237),_0x419bbf+=pairF(0xa,0x0),_0x419bbf+=pairF(0x14,0x0);if(_0xc0025['elevation'])_0x419bbf+=pairF(0x1e,_0xc0025[_0x528feb(0x1f5)]);if(_0xc0025[_0x528feb(0x1e9)])_0x419bbf+=pairF(0x27,_0xc0025['thickness']);if(_0xc0025[_0x528feb(0x12b)])_0x419bbf+=pairF(0x28,_0xc0025[_0x528feb(0x12b)]);if(_0xc0025[_0x528feb(0x16b)])_0x419bbf+=pairF(0x29,_0xc0025[_0x528feb(0x16b)]);if(_0xc0025[_0x528feb(0x216)])_0x419bbf+=pairI(0x47,_0xc0025[_0x528feb(0x216)]);if(_0xc0025[_0x528feb(0x1d7)])_0x419bbf+=pairI(0x48,_0xc0025['meshNVertexCount']);_0x419bbf+=writeExtrusion(_0xc0025[_0x528feb(0x1f1)]);if(_0xc0025[_0x528feb(0x1bf)]&&_0xc0025[_0x528feb(0x1bf)][_0x528feb(0x1ee)]>0x0){for(const _0x168560 of _0xc0025['vertices']){_0x419bbf+=pair(0x0,_0x528feb(0x20a));if(_0xc0025[_0x528feb(0x1dd)])_0x419bbf+=pair(0x5,'');_0x419bbf+=pair(0x64,_0x528feb(0x1e8));if(_0xc0025[_0x528feb(0x17f)])_0x419bbf+=pair(0x8,_0xc0025['layer']);_0x419bbf+=pair(0x64,_0x528feb(0x13f)),_0x419bbf+=pair(0x64,_0x528feb(0x121)),_0x419bbf+=pairF(0xa,_0x168560['x']),_0x419bbf+=pairF(0x14,_0x168560['y']),_0x419bbf+=pairF(0x1e,_0x168560['z']||0x0);if(_0x168560[_0x528feb(0x1e3)])_0x419bbf+=pairF(0x28,_0x168560[_0x528feb(0x1e3)]);if(_0x168560[_0x528feb(0x1d8)])_0x419bbf+=pairF(0x29,_0x168560['endWidth']);if(_0x168560[_0x528feb(0x1eb)])_0x419bbf+=pairF(0x2a,_0x168560[_0x528feb(0x1eb)]);if(_0x168560[_0x528feb(0x142)])_0x419bbf+=pairI(0x46,_0x168560[_0x528feb(0x142)]);}_0x419bbf+=pair(0x0,_0x528feb(0x1c9)),_0x419bbf+=pair(0x64,'AcDbEntity');if(_0xc0025[_0x528feb(0x17f)])_0x419bbf+=pair(0x8,_0xc0025[_0x528feb(0x17f)]);}return _0x419bbf;}function writeArcEntity(_0x428e25){const _0x140363=_0x4941;let _0x367a64=pair(0x64,_0x140363(0x1ed));if(_0x428e25['thickness'])_0x367a64+=pairF(0x27,_0x428e25[_0x140363(0x1e9)]);return _0x367a64+=writePoint3D(0xa,_0x428e25[_0x140363(0x130)]),_0x367a64+=pairF(0x28,_0x428e25[_0x140363(0x103)]),_0x367a64+=writeExtrusion(_0x428e25[_0x140363(0x1f1)]),_0x367a64+=pair(0x64,_0x140363(0x156)),_0x367a64+=pairF(0x32,_0x428e25['startAngle']),_0x367a64+=pairF(0x33,_0x428e25[_0x140363(0x1fe)]),_0x367a64;}function writeCircleEntity(_0xbe8dd){const _0x12ac1d=_0x4941;let _0x33fdc6=pair(0x64,_0x12ac1d(0x1ed));if(_0xbe8dd[_0x12ac1d(0x1e9)])_0x33fdc6+=pairF(0x27,_0xbe8dd[_0x12ac1d(0x1e9)]);return _0x33fdc6+=writePoint3D(0xa,_0xbe8dd[_0x12ac1d(0x130)]),_0x33fdc6+=pairF(0x28,_0xbe8dd[_0x12ac1d(0x103)]),_0x33fdc6+=writeExtrusion(_0xbe8dd[_0x12ac1d(0x1f1)]),_0x33fdc6;}function writeEllipseEntity(_0x37fa6d){const _0x5f7fc3=_0x4941;let _0x3d5666=pair(0x64,_0x5f7fc3(0x1ce));return _0x3d5666+=writePoint3D(0xa,_0x37fa6d[_0x5f7fc3(0x130)]),_0x3d5666+=writePoint3D(0xb,_0x37fa6d[_0x5f7fc3(0x17e)]),_0x3d5666+=writeExtrusion(_0x37fa6d['extrusionDirection']),_0x3d5666+=pairF(0x28,_0x37fa6d['axisRatio']),_0x3d5666+=pairF(0x29,_0x37fa6d[_0x5f7fc3(0x149)]),_0x3d5666+=pairF(0x2a,_0x37fa6d[_0x5f7fc3(0x1fe)]),_0x3d5666;}function writePointEntity(_0x16980d){const _0x438caf=_0x4941;let _0x19aaf6=pair(0x64,_0x438caf(0x1e2));_0x19aaf6+=writePoint3D(0xa,_0x16980d['position']);if(_0x16980d['thickness'])_0x19aaf6+=pairF(0x27,_0x16980d[_0x438caf(0x1e9)]);if(_0x16980d['angle'])_0x19aaf6+=pairF(0x32,_0x16980d[_0x438caf(0x179)]);return _0x19aaf6+=writeExtrusion(_0x16980d[_0x438caf(0x1f1)]),_0x19aaf6;}function writeTextEntity(_0x320161){const _0x1a5d4c=_0x4941;let _0x2a482e=pair(0x64,_0x1a5d4c(0x16c));if(_0x320161['thickness'])_0x2a482e+=pairF(0x27,_0x320161[_0x1a5d4c(0x1e9)]);_0x2a482e+=writePoint3D(0xa,_0x320161[_0x1a5d4c(0x203)]),_0x2a482e+=pairF(0x28,_0x320161[_0x1a5d4c(0x14d)]),_0x2a482e+=pair(0x1,_0x320161[_0x1a5d4c(0x18e)]);if(_0x320161['rotation'])_0x2a482e+=pairF(0x32,_0x320161[_0x1a5d4c(0x1d9)]);if(_0x320161[_0x1a5d4c(0x1fa)]&&_0x320161[_0x1a5d4c(0x1fa)]!==0x1)_0x2a482e+=pairF(0x29,_0x320161['xScale']);if(_0x320161[_0x1a5d4c(0x132)])_0x2a482e+=pairF(0x33,_0x320161['oblique']);if(_0x320161['styleName']&&_0x320161[_0x1a5d4c(0x15a)]!==_0x1a5d4c(0x141))_0x2a482e+=pair(0x7,_0x320161[_0x1a5d4c(0x15a)]);if(_0x320161[_0x1a5d4c(0x16e)])_0x2a482e+=pairI(0x47,_0x320161[_0x1a5d4c(0x16e)]);if(_0x320161[_0x1a5d4c(0x102)])_0x2a482e+=pairI(0x48,_0x320161['hAlign']);_0x2a482e+=writePoint3D(0xb,_0x320161[_0x1a5d4c(0x1df)]),_0x2a482e+=writeExtrusion(_0x320161[_0x1a5d4c(0x1f1)]),_0x2a482e+=pair(0x64,_0x1a5d4c(0x16c));if(_0x320161['vAlign'])_0x2a482e+=pairI(0x49,_0x320161['vAlign']);return _0x2a482e;}function writeMTextEntity(_0x156094){const _0x817f17=_0x4941;let _0x80fe12=pair(0x64,_0x817f17(0x18f));_0x80fe12+=writePoint3D(0xa,_0x156094[_0x817f17(0x203)]),_0x80fe12+=pairF(0x28,_0x156094[_0x817f17(0x14d)]);if(_0x156094[_0x817f17(0x164)])_0x80fe12+=pairF(0x29,_0x156094['width']);if(_0x156094[_0x817f17(0x1c0)])_0x80fe12+=pairI(0x47,_0x156094[_0x817f17(0x1c0)]);if(_0x156094[_0x817f17(0x1ba)])_0x80fe12+=pairI(0x48,_0x156094[_0x817f17(0x1ba)]);const _0x1fc581=_0x156094[_0x817f17(0x18e)]||'';if(_0x1fc581[_0x817f17(0x1ee)]>0xfa){let _0x30014f=_0x1fc581;while(_0x30014f[_0x817f17(0x1ee)]>0xfa){_0x80fe12+=pair(0x3,_0x30014f[_0x817f17(0x208)](0x0,0xfa)),_0x30014f=_0x30014f[_0x817f17(0x208)](0xfa);}_0x80fe12+=pair(0x1,_0x30014f);}else _0x80fe12+=pair(0x1,_0x1fc581);if(_0x156094[_0x817f17(0x15a)]&&_0x156094[_0x817f17(0x15a)]!==_0x817f17(0x141))_0x80fe12+=pair(0x7,_0x156094[_0x817f17(0x15a)]);if(_0x156094[_0x817f17(0x1d9)])_0x80fe12+=pairF(0x32,_0x156094[_0x817f17(0x1d9)]);if(_0x156094[_0x817f17(0x13a)])_0x80fe12+=pairI(0x49,_0x156094[_0x817f17(0x13a)]);if(_0x156094['lineSpacing']&&_0x156094[_0x817f17(0x170)]!==0x1)_0x80fe12+=pairF(0x2c,_0x156094[_0x817f17(0x170)]);return _0x80fe12+=writePoint3D(0xb,_0x156094['direction']),_0x80fe12+=writeExtrusion(_0x156094[_0x817f17(0x1f1)]),_0x80fe12;}function writeAttribEntity(_0x41233a){const _0x4fb8c1=_0x4941,_0xe9a4d4=_0x41233a[_0x4fb8c1(0x1fd)]===_0x4fb8c1(0x162);let _0x423b9d=pair(0x64,_0xe9a4d4?_0x4fb8c1(0x1f7):_0x4fb8c1(0x148));_0x423b9d+=writePoint3D(0xa,_0x41233a['insertionPoint']),_0x423b9d+=pairF(0x28,_0x41233a[_0x4fb8c1(0x14d)]),_0x423b9d+=pair(0x1,_0x41233a['text']);if(_0x41233a[_0x4fb8c1(0x1a9)])_0x423b9d+=pair(0x2,_0x41233a['tag']);if(_0x41233a['prompt'])_0x423b9d+=pair(0x3,_0x41233a[_0x4fb8c1(0x113)]);if(_0x41233a[_0x4fb8c1(0x142)])_0x423b9d+=pairI(0x46,_0x41233a['flags']);if(_0x41233a[_0x4fb8c1(0x1d9)])_0x423b9d+=pairF(0x32,_0x41233a[_0x4fb8c1(0x1d9)]);if(_0x41233a['xScale']&&_0x41233a[_0x4fb8c1(0x1fa)]!==0x1)_0x423b9d+=pairF(0x29,_0x41233a[_0x4fb8c1(0x1fa)]);if(_0x41233a[_0x4fb8c1(0x15a)]&&_0x41233a[_0x4fb8c1(0x15a)]!=='STANDARD')_0x423b9d+=pair(0x7,_0x41233a['styleName']);if(_0x41233a[_0x4fb8c1(0x16e)])_0x423b9d+=pairI(0x47,_0x41233a[_0x4fb8c1(0x16e)]);if(_0x41233a[_0x4fb8c1(0x102)])_0x423b9d+=pairI(0x48,_0x41233a[_0x4fb8c1(0x102)]);if(_0x41233a[_0x4fb8c1(0x1f8)])_0x423b9d+=pairI(0x49,_0x41233a[_0x4fb8c1(0x1f8)]);return _0x423b9d+=writePoint3D(0xb,_0x41233a[_0x4fb8c1(0x1df)]),_0x423b9d;}function writeInsertEntity(_0x35853d){const _0x112836=_0x4941;let _0x2efdc9=pair(0x64,_0x112836(0x191));if(_0x35853d[_0x112836(0x13e)])_0x2efdc9+=pairI(0x42,0x1);_0x2efdc9+=pair(0x2,_0x35853d[_0x112836(0x186)]),_0x2efdc9+=writePoint3D(0xa,_0x35853d[_0x112836(0x203)]);if(_0x35853d[_0x112836(0x160)]){if(_0x35853d[_0x112836(0x160)]['x']!==0x1)_0x2efdc9+=pairF(0x29,_0x35853d[_0x112836(0x160)]['x']);if(_0x35853d[_0x112836(0x160)]['y']!==0x1)_0x2efdc9+=pairF(0x2a,_0x35853d[_0x112836(0x160)]['y']);if(_0x35853d[_0x112836(0x160)]['z']!==0x1)_0x2efdc9+=pairF(0x2b,_0x35853d[_0x112836(0x160)]['z']);}if(_0x35853d['rotation'])_0x2efdc9+=pairF(0x32,_0x35853d[_0x112836(0x1d9)]);if(_0x35853d['columnCount']&&_0x35853d[_0x112836(0x1e4)]!==0x1)_0x2efdc9+=pairI(0x46,_0x35853d[_0x112836(0x1e4)]);if(_0x35853d[_0x112836(0x195)]&&_0x35853d[_0x112836(0x195)]!==0x1)_0x2efdc9+=pairI(0x47,_0x35853d[_0x112836(0x195)]);if(_0x35853d[_0x112836(0x196)])_0x2efdc9+=pairF(0x2c,_0x35853d[_0x112836(0x196)]);if(_0x35853d[_0x112836(0x1c5)])_0x2efdc9+=pairF(0x2d,_0x35853d[_0x112836(0x1c5)]);_0x2efdc9+=writeExtrusion(_0x35853d[_0x112836(0x1f1)]);if(_0x35853d['attributes']&&_0x35853d[_0x112836(0x12c)]['length']>0x0){for(const _0x4c18fb of _0x35853d[_0x112836(0x12c)]){_0x2efdc9+=writeOneEntity(_0x4c18fb);}_0x2efdc9+=pair(0x0,'SEQEND'),_0x2efdc9+=pair(0x64,_0x112836(0x1e8));if(_0x35853d[_0x112836(0x17f)])_0x2efdc9+=pair(0x8,_0x35853d[_0x112836(0x17f)]);}return _0x2efdc9;}function writeDimensionEntity(_0x3858a4){const _0x32d94c=_0x4941;let _0x69802b=pair(0x64,_0x32d94c(0x1a8));if(_0x3858a4['blockName'])_0x69802b+=pair(0x2,_0x3858a4[_0x32d94c(0x186)]);_0x69802b+=writePoint3D(0xa,_0x3858a4['definitionPoint']),_0x69802b+=writePoint3D(0xb,_0x3858a4[_0x32d94c(0x14f)]);if(_0x3858a4[_0x32d94c(0x193)]!==undefined)_0x69802b+=pairI(0x46,_0x3858a4['dimensionType']);if(_0x3858a4['attachmentPoint'])_0x69802b+=pairI(0x47,_0x3858a4[_0x32d94c(0x1c0)]);if(_0x3858a4[_0x32d94c(0x18e)])_0x69802b+=pair(0x1,_0x3858a4[_0x32d94c(0x18e)]);if(_0x3858a4[_0x32d94c(0x15a)]&&_0x3858a4[_0x32d94c(0x15a)]!==_0x32d94c(0x141))_0x69802b+=pair(0x3,_0x3858a4['styleName']);if(_0x3858a4[_0x32d94c(0x1d9)])_0x69802b+=pairF(0x32,_0x3858a4[_0x32d94c(0x1d9)]);const _0x56fd94=(_0x3858a4[_0x32d94c(0x193)]||0x0)&0xf;switch(_0x56fd94){case 0x0:case 0x1:_0x69802b+=pair(0x64,_0x32d94c(0x211)),_0x69802b+=writePoint3D(0xd,_0x3858a4[_0x32d94c(0x199)]),_0x69802b+=writePoint3D(0xe,_0x3858a4[_0x32d94c(0x1e5)]);if(_0x3858a4[_0x32d94c(0x17b)])_0x69802b+=pairF(0x34,_0x3858a4[_0x32d94c(0x17b)]);_0x56fd94===0x0&&(_0x69802b+=pair(0x64,_0x32d94c(0x15e)));break;case 0x2:_0x69802b+=pair(0x64,'AcDb3PointAngularDimension'),_0x69802b+=writePoint3D(0xd,_0x3858a4[_0x32d94c(0x199)]),_0x69802b+=writePoint3D(0xe,_0x3858a4[_0x32d94c(0x1e5)]);if(_0x3858a4[_0x32d94c(0x18d)])_0x69802b+=writePoint3D(0xf,_0x3858a4['point3']);break;case 0x3:case 0x4:_0x69802b+=pair(0x64,_0x56fd94===0x3?_0x32d94c(0x10c):_0x32d94c(0x1d0)),_0x69802b+=writePoint3D(0xf,_0x3858a4[_0x32d94c(0x18d)]||_0x3858a4[_0x32d94c(0x199)]);if(_0x3858a4[_0x32d94c(0x167)])_0x69802b+=pairF(0x28,_0x3858a4[_0x32d94c(0x167)]);break;case 0x5:_0x69802b+=pair(0x64,_0x32d94c(0x101)),_0x69802b+=writePoint3D(0xd,_0x3858a4[_0x32d94c(0x199)]),_0x69802b+=writePoint3D(0xe,_0x3858a4[_0x32d94c(0x1e5)]);if(_0x3858a4[_0x32d94c(0x18d)])_0x69802b+=writePoint3D(0xf,_0x3858a4['point3']);break;case 0x6:_0x69802b+=pair(0x64,'AcDbOrdinateDimension'),_0x69802b+=writePoint3D(0xd,_0x3858a4[_0x32d94c(0x199)]),_0x69802b+=writePoint3D(0xe,_0x3858a4[_0x32d94c(0x1e5)]);break;default:_0x69802b+=writePoint3D(0xd,_0x3858a4[_0x32d94c(0x199)]),_0x69802b+=writePoint3D(0xe,_0x3858a4[_0x32d94c(0x1e5)]);break;}return _0x69802b;}function writeLeaderEntity(_0x5abe32){const _0x5326ee=_0x4941;let _0x2d41a9=pair(0x64,_0x5326ee(0x1c2));if(_0x5abe32[_0x5326ee(0x15a)])_0x2d41a9+=pair(0x3,_0x5abe32[_0x5326ee(0x15a)]);if(_0x5abe32['arrowheadFlag']!==undefined)_0x2d41a9+=pairI(0x47,_0x5abe32[_0x5326ee(0x15c)]);if(_0x5abe32[_0x5326ee(0x10d)]!==undefined)_0x2d41a9+=pairI(0x48,_0x5abe32[_0x5326ee(0x10d)]);if(_0x5abe32['creationType']!==undefined)_0x2d41a9+=pairI(0x49,_0x5abe32['creationType']);if(_0x5abe32[_0x5326ee(0x1a6)]!==undefined)_0x2d41a9+=pairI(0x4a,_0x5abe32['hooklineDirectionFlag']);if(_0x5abe32['hooklineFlag']!==undefined)_0x2d41a9+=pairI(0x4b,_0x5abe32['hooklineFlag']);if(_0x5abe32[_0x5326ee(0x1ac)])_0x2d41a9+=pairF(0x28,_0x5abe32['textHeight']);if(_0x5abe32['textWidth'])_0x2d41a9+=pairF(0x29,_0x5abe32[_0x5326ee(0x1b6)]);const _0x7a50e4=_0x5abe32[_0x5326ee(0x1bf)]||[];_0x2d41a9+=pairI(0x4c,_0x7a50e4[_0x5326ee(0x1ee)]);for(const _0x435a35 of _0x7a50e4){_0x2d41a9+=writePoint3D(0xa,_0x435a35);}if(_0x5abe32[_0x5326ee(0x152)])_0x2d41a9+=pair(0x154,_0x5abe32[_0x5326ee(0x152)]);return _0x5abe32[_0x5326ee(0x16a)]&&(_0x2d41a9+=pairF(0xd2,_0x5abe32[_0x5326ee(0x16a)]['x']),_0x2d41a9+=pairF(0xdc,_0x5abe32[_0x5326ee(0x16a)]['y']),_0x2d41a9+=pairF(0xe6,_0x5abe32[_0x5326ee(0x16a)]['z'])),_0x5abe32[_0x5326ee(0x117)]&&(_0x2d41a9+=pairF(0xd3,_0x5abe32['horizontalDirection']['x']),_0x2d41a9+=pairF(0xdd,_0x5abe32[_0x5326ee(0x117)]['y']),_0x2d41a9+=pairF(0xe7,_0x5abe32[_0x5326ee(0x117)]['z'])),_0x2d41a9;}function writeMLeaderEntity(_0xb2367c){const _0x40392f=_0x4941;let _0x30f232=pair(0x64,_0x40392f(0x153));if(_0xb2367c[_0x40392f(0x15a)])_0x30f232+=pair(0x3,_0xb2367c['styleName']);if(_0xb2367c[_0x40392f(0x200)]!==undefined)_0x30f232+=pairI(0xaa,_0xb2367c[_0x40392f(0x200)]);if(_0xb2367c[_0x40392f(0x18e)])_0x30f232+=pair(0x130,_0xb2367c[_0x40392f(0x18e)]);if(_0xb2367c[_0x40392f(0x122)])_0x30f232+=pair(0x154,_0xb2367c[_0x40392f(0x122)]);if(_0xb2367c[_0x40392f(0x11e)])_0x30f232+=pairF(0x28,_0xb2367c[_0x40392f(0x11e)]);if(_0xb2367c[_0x40392f(0x131)])_0x30f232+=pairF(0x29,_0xb2367c[_0x40392f(0x131)]);if(_0xb2367c[_0x40392f(0x1ac)])_0x30f232+=pairF(0x2a,_0xb2367c[_0x40392f(0x1ac)]);if(_0xb2367c['leaderPoints'])for(const _0x1ab21e of _0xb2367c[_0x40392f(0x126)]){_0x30f232+=writePoint3D(0xa,_0x1ab21e);}return _0x30f232;}function writeHatchEntity(_0x2e39a7){const _0x36f399=_0x4941;let _0x195a9c=pair(0x64,_0x36f399(0x139));_0x195a9c+=pairF(0xa,0x0),_0x195a9c+=pairF(0x14,0x0),_0x195a9c+=pairF(0x1e,_0x2e39a7[_0x36f399(0x1f5)]||0x0),_0x195a9c+=writeExtrusion(_0x2e39a7[_0x36f399(0x1f1)]),_0x195a9c+=pair(0x2,_0x2e39a7['patternName']||''),_0x195a9c+=pairI(0x46,_0x2e39a7[_0x36f399(0x107)]?0x1:0x0),_0x195a9c+=pairI(0x47,_0x2e39a7['associative']?0x1:0x0);const _0x410e20=_0x2e39a7[_0x36f399(0x1cf)]||[];_0x195a9c+=pairI(0x5b,_0x410e20[_0x36f399(0x1ee)]);for(const _0x5d7263 of _0x410e20){_0x195a9c+=pairI(0x5c,_0x5d7263[_0x36f399(0x1fd)]||0x0);if(_0x5d7263[_0x36f399(0x128)]&&_0x5d7263['points'][_0x36f399(0x1ee)]>0x0){_0x195a9c+=pairI(0x5d,_0x5d7263[_0x36f399(0x128)][_0x36f399(0x1ee)]);for(const _0x5f06c5 of _0x5d7263['points']){_0x195a9c+=pairF(0xa,_0x5f06c5['x']),_0x195a9c+=pairF(0x14,_0x5f06c5['y']||0x0);}}}_0x195a9c+=pairI(0x4b,_0x2e39a7[_0x36f399(0x166)]||0x0),_0x195a9c+=pairI(0x4c,_0x2e39a7['patternType']||0x0);if(!_0x2e39a7[_0x36f399(0x107)]){if(_0x2e39a7[_0x36f399(0x1a5)])_0x195a9c+=pairF(0x34,_0x2e39a7[_0x36f399(0x1a5)]);if(_0x2e39a7[_0x36f399(0x18a)])_0x195a9c+=pairF(0x29,_0x2e39a7[_0x36f399(0x18a)]);}const _0x2e8bfe=_0x2e39a7[_0x36f399(0x106)]||[];_0x195a9c+=pairI(0x62,_0x2e8bfe[_0x36f399(0x1ee)]);for(const _0x1d59e8 of _0x2e8bfe){_0x195a9c+=pairF(0xa,_0x1d59e8['x']),_0x195a9c+=pairF(0x14,_0x1d59e8['y']||0x0);}return _0x195a9c;}function writeSplineEntity(_0x1d403b){const _0x5e46af=_0x4941;let _0x4f291b=pair(0x64,_0x5e46af(0x1d3));_0x1d403b[_0x5e46af(0x16a)]&&(_0x4f291b+=pairF(0xd2,_0x1d403b[_0x5e46af(0x16a)]['x']),_0x4f291b+=pairF(0xdc,_0x1d403b[_0x5e46af(0x16a)]['y']),_0x4f291b+=pairF(0xe6,_0x1d403b[_0x5e46af(0x16a)]['z']));let _0x2d4614=_0x1d403b['flags']||0x0;if(_0x1d403b[_0x5e46af(0x129)])_0x2d4614|=0x1;if(_0x1d403b[_0x5e46af(0x20b)])_0x2d4614|=0x2;if(_0x1d403b[_0x5e46af(0x125)])_0x2d4614|=0x4;if(_0x1d403b[_0x5e46af(0x13c)])_0x2d4614|=0x8;_0x4f291b+=pairI(0x46,_0x2d4614),_0x4f291b+=pairI(0x47,_0x1d403b[_0x5e46af(0x217)]||0x3);const _0x499118=_0x1d403b[_0x5e46af(0x1f4)]||[],_0x3d95b7=_0x1d403b[_0x5e46af(0x206)]||[],_0x42bbf8=_0x1d403b['fitPoints']||[];_0x4f291b+=pairI(0x48,_0x499118['length']),_0x4f291b+=pairI(0x49,_0x3d95b7['length']),_0x4f291b+=pairI(0x4a,_0x42bbf8[_0x5e46af(0x1ee)]);if(_0x1d403b['knotTolerance'])_0x4f291b+=pairF(0x2a,_0x1d403b[_0x5e46af(0x1bd)]);if(_0x1d403b[_0x5e46af(0x147)])_0x4f291b+=pairF(0x2b,_0x1d403b[_0x5e46af(0x147)]);if(_0x1d403b[_0x5e46af(0x172)])_0x4f291b+=pairF(0x2c,_0x1d403b[_0x5e46af(0x172)]);if(_0x1d403b[_0x5e46af(0x1a2)])_0x4f291b+=writePoint3D(0xc,_0x1d403b[_0x5e46af(0x1a2)]);if(_0x1d403b[_0x5e46af(0x1f0)])_0x4f291b+=writePoint3D(0xd,_0x1d403b[_0x5e46af(0x1f0)]);for(const _0x157c46 of _0x499118){_0x4f291b+=pairF(0x28,_0x157c46);}if(_0x1d403b[_0x5e46af(0x144)])for(const _0x5d93e5 of _0x1d403b[_0x5e46af(0x144)]){_0x4f291b+=pairF(0x29,_0x5d93e5);}for(const _0x493cb7 of _0x3d95b7){_0x4f291b+=writePoint3D(0xa,_0x493cb7);}for(const _0x3f7d0b of _0x42bbf8){_0x4f291b+=writePoint3D(0xb,_0x3f7d0b);}return _0x4f291b;}function writeSolidEntity(_0x59585b){const _0x2afcb6=_0x4941;let _0x5191bb=_0x2afcb6(0x1fb);if(_0x59585b[_0x2afcb6(0x1fd)]==='SOLID')_0x5191bb=_0x2afcb6(0x1fb);else {if(_0x59585b[_0x2afcb6(0x1fd)]===_0x2afcb6(0x124))_0x5191bb=_0x2afcb6(0x184);}let _0x5270fe=pair(0x64,_0x5191bb);const _0x43c69a=_0x59585b[_0x2afcb6(0x128)]||[];if(_0x43c69a[0x0])_0x5270fe+=writePoint3D(0xa,_0x43c69a[0x0]);if(_0x43c69a[0x1])_0x5270fe+=writePoint3D(0xb,_0x43c69a[0x1]);if(_0x43c69a[0x2])_0x5270fe+=writePoint3D(0xc,_0x43c69a[0x2]);if(_0x43c69a[0x3])_0x5270fe+=writePoint3D(0xd,_0x43c69a[0x3]);if(_0x59585b['thickness'])_0x5270fe+=pairF(0x27,_0x59585b[_0x2afcb6(0x1e9)]);return _0x5270fe+=writeExtrusion(_0x59585b[_0x2afcb6(0x1f1)]),_0x5270fe;}function write3DFaceEntity(_0x1850a0){const _0x40b617=_0x4941;let _0x72497a=pair(0x64,_0x40b617(0x1b0));const _0x40a905=_0x1850a0[_0x40b617(0x1bf)]||[];if(_0x40a905[0x0])_0x72497a+=writePoint3D(0xa,_0x40a905[0x0]);if(_0x40a905[0x1])_0x72497a+=writePoint3D(0xb,_0x40a905[0x1]);if(_0x40a905[0x2])_0x72497a+=writePoint3D(0xc,_0x40a905[0x2]);if(_0x40a905[0x3])_0x72497a+=writePoint3D(0xd,_0x40a905[0x3]);if(_0x1850a0[_0x40b617(0x1b4)])_0x72497a+=pairI(0x46,_0x1850a0['invisibleEdgeFlags']);return _0x72497a;}function writeRayEntity(_0x3cc992){const _0x142053=_0x4941,_0x48535d=_0x3cc992[_0x142053(0x1fd)]===_0x142053(0x19a)?'AcDbRay':_0x142053(0x12a);let _0x14eb4d=pair(0x64,_0x48535d);return _0x14eb4d+=writePoint3D(0xa,_0x3cc992[_0x142053(0x115)]),_0x14eb4d+=writePoint3D(0xb,_0x3cc992[_0x142053(0x17d)]),_0x14eb4d;}function writeViewportEntity(_0xe02b7c){const _0x42f125=_0x4941;let _0x329f22=pair(0x64,_0x42f125(0x12d));_0x329f22+=writePoint3D(0xa,_0xe02b7c[_0x42f125(0x130)]),_0x329f22+=pairF(0x28,_0xe02b7c[_0x42f125(0x164)]),_0x329f22+=pairF(0x29,_0xe02b7c[_0x42f125(0x14d)]);if(_0xe02b7c['id'])_0x329f22+=pairI(0x45,_0xe02b7c['id']);if(_0xe02b7c[_0x42f125(0x1ae)])_0x329f22+=writePoint2D(0xc,_0xe02b7c[_0x42f125(0x1ae)]);if(_0xe02b7c[_0x42f125(0x1c7)])_0x329f22+=writePoint2D(0xd,_0xe02b7c['snapBase']);if(_0xe02b7c[_0x42f125(0x140)])_0x329f22+=writePoint2D(0xe,_0xe02b7c['snapSpacing']);if(_0xe02b7c[_0x42f125(0x11f)])_0x329f22+=writePoint2D(0xf,_0xe02b7c[_0x42f125(0x11f)]);_0x329f22+=writePoint3D(0x10,_0xe02b7c[_0x42f125(0x20c)]),_0x329f22+=writePoint3D(0x11,_0xe02b7c[_0x42f125(0x112)]);if(_0xe02b7c['perspectiveLensLength'])_0x329f22+=pairF(0x2a,_0xe02b7c[_0x42f125(0x137)]);if(_0xe02b7c['frontClipPlane'])_0x329f22+=pairF(0x2b,_0xe02b7c['frontClipPlane']);if(_0xe02b7c[_0x42f125(0x198)])_0x329f22+=pairF(0x2c,_0xe02b7c[_0x42f125(0x198)]);if(_0xe02b7c[_0x42f125(0x1bc)])_0x329f22+=pairF(0x2d,_0xe02b7c['viewHeight']);if(_0xe02b7c[_0x42f125(0x146)])_0x329f22+=pairF(0x32,_0xe02b7c[_0x42f125(0x146)]);if(_0xe02b7c[_0x42f125(0x12f)])_0x329f22+=pairF(0x33,_0xe02b7c['viewTwistAngle']);if(_0xe02b7c[_0x42f125(0x11c)])_0x329f22+=pairI(0x44,_0xe02b7c[_0x42f125(0x11c)]);if(_0xe02b7c['frozenLayers'])for(const _0x22a2d1 of _0xe02b7c['frozenLayers']){_0x329f22+=pair(0x14b,_0x22a2d1);}if(_0xe02b7c[_0x42f125(0x11b)])_0x329f22+=pair(0x154,_0xe02b7c['clippingBoundary']);return _0x329f22;}function writeImageEntity(_0x5f03e5){const _0x18a0af=_0x4941;let _0x3683e4=pair(0x64,_0x5f03e5[_0x18a0af(0x1fd)]===_0x18a0af(0x1ec)?_0x18a0af(0x1a1):_0x18a0af(0x1ff));_0x3683e4+=writePoint3D(0xa,_0x5f03e5[_0x18a0af(0x203)]),_0x3683e4+=writePoint3D(0xb,_0x5f03e5[_0x18a0af(0x17a)]),_0x3683e4+=writePoint3D(0xc,_0x5f03e5[_0x18a0af(0x183)]),_0x3683e4+=pairF(0xd,_0x5f03e5[_0x18a0af(0x1bb)]?_0x5f03e5[_0x18a0af(0x1bb)]['u']:0x0),_0x3683e4+=pairF(0x17,_0x5f03e5[_0x18a0af(0x1bb)]?_0x5f03e5[_0x18a0af(0x1bb)]['v']:0x0);if(_0x5f03e5['imageDefHandle'])_0x3683e4+=pair(0x154,_0x5f03e5['imageDefHandle']);if(_0x5f03e5[_0x18a0af(0x143)])_0x3683e4+=pairI(0x46,_0x5f03e5[_0x18a0af(0x143)]);if(_0x5f03e5[_0x18a0af(0x1c4)])_0x3683e4+=pairI(0x47,_0x5f03e5[_0x18a0af(0x1c4)]);if(_0x5f03e5[_0x18a0af(0x1d5)]!==undefined)_0x3683e4+=pairI(0x118,_0x5f03e5[_0x18a0af(0x1d5)]);if(_0x5f03e5[_0x18a0af(0x1c1)]!==undefined)_0x3683e4+=pairI(0x119,_0x5f03e5['contrast']);if(_0x5f03e5[_0x18a0af(0x11d)]!==undefined)_0x3683e4+=pairI(0x11a,_0x5f03e5[_0x18a0af(0x11d)]);if(_0x5f03e5[_0x18a0af(0x1b9)])for(const _0xe79cb9 of _0x5f03e5[_0x18a0af(0x1b9)]){_0x3683e4+=pairF(0xe,_0xe79cb9['x']),_0x3683e4+=pairF(0x18,_0xe79cb9['y']||0x0);}return _0x3683e4;}function writeToleranceEntity(_0x2c9443){const _0x20d467=_0x4941;let _0x15912a=pair(0x64,_0x20d467(0x1cc));if(_0x2c9443[_0x20d467(0x15a)])_0x15912a+=pair(0x3,_0x2c9443[_0x20d467(0x15a)]);_0x15912a+=writePoint3D(0xa,_0x2c9443[_0x20d467(0x203)]);if(_0x2c9443['text'])_0x15912a+=pair(0x1,_0x2c9443[_0x20d467(0x18e)]);return _0x15912a+=writePoint3D(0xb,_0x2c9443[_0x20d467(0x17d)]),_0x15912a;}function _0x48d4(){const _0x2619b5=['LEADER','AcDbBlockReference','isEntity','dimensionType','acisDataString','rowCount','columnSpacing','CLASSES','backClipPlane','point1','RAY','MTEXT','LINE','instanceCount','AcDbRegion','MLEADER','SPLINE','AcDbWipeout','startTangent','XLINE','application/dxf','patternAngle','hooklineDirectionFlag','TABLE','AcDbDimension','tag','HELIX','AcDbHelix','textHeight','href','viewCenter','INSERT','AcDbFace','ENTITIES','linetypeScale','inPaperSpace','invisibleEdgeFlags','object','textWidth','edgeCreases','2673864CHnhQm','clippingVertices','drawingDirection','imageSize','viewHeight','knotTolerance','AcDbSymbolTable','vertices','attachmentPoint','contrast','AcDbLeader','plotStyleHandle','clippingType','rowSpacing','subclassMarker','snapBase','AcDbMline','SEQEND','BLOCK','code_','AcDbFcf','extra','AcDbEllipse','boundaryPaths','AcDbRadialDimension','undefined','output.dxf','AcDbSpline','startPoint','brightness','isArray','meshNVertexCount','endWidth','rotation','appName','rowHeights','turnHeight','handle','axisVector','alignmentPoint','join','columns','AcDbPoint','startWidth','columnCount','point2','TEXT','3DFACE','AcDbEntity','thickness','visible','bulge','WIPEOUT','AcDbCircle','length','endPoint','endTangent','extrusionDirection','hardPointer','createElement','knots','elevation','axisBasePoint','AcDbAttributeDefinition','vAlign','modelerFormat','xScale','AcDbTrace','turns','type','endAngle','AcDbRasterImage','contentType','constantWidth','entryName','insertionPoint','revokeObjectURL','handedness','controlPoints','edges','substring','AcDbOle2Frame','VERTEX','periodic','viewDirection','colorNumber','OLE2FRAME','AcDbSubDMesh','CLASS','AcDbAlignedDimension','tables','CIRCLE','subdivisionLevel','createObjectURL','meshMVertexCount','degree','AcDb3PointAngularDimension','hAlign','radius','keys','ARC','seedPoints','solid','startsWith','version','40pcehfy','3109832uGNkVx','AcDbDiametricDimension','pathType','styleHandle','948706jZABqN','ownerHandle','cppClassName','viewTarget','prompt','fs/promises','basePoint','classes','horizontalDirection','constraint','AcDb2dPolyline','lowerRightCorner','clippingBoundary','statusField','fade','doglegLength','gridSpacing','LWPOLYLINE','AcDb2dVertex','textStyleId','BLOCKS','3DSOLID','rational','leaderPoints','10986CrxIpJ','points','closed','AcDbXline','defaultStartWidth','attributes','AcDbViewport','elementCount','viewTwistAngle','center','arrowheadSize','oblique','wasProxy','versions','replace','header','perspectiveLensLength','POINT','AcDbHatch','lineSpacingStyle','widthFactor','planar','9758NZnwrv','hasAttributes','AcDbVertex','snapSpacing','STANDARD','flags','displayFlags','weights','linetypeName','snapAngle','controlPointTolerance','AcDbAttribute','startAngle','AcDbBody','SURFACE','columnWidths','height','848110IuoHqq','middleOfText','data','entries','annotationReference','AcDbMLeader','entities','toFixed','AcDbArc','name','writeDxfFile\x20仅支持\x20Node.js\x20环境,浏览器请用\x20downloadDxfFile()','460QBTIIF','styleName','lineweight','arrowheadFlag','click','AcDbRotatedDimension','ENDTAB','scale','POLYLINE','ATTDEF','softPointer','width','396TJJDDN','style','leaderLength','dxfRecord','concat','normal','defaultEndWidth','AcDbText','download','generationFlags','MESH','lineSpacing','tileMode','fitTolerance','HATCH','TRACE','MLINE','50HvXMIh','SECTION','2FGSMYh','angle','uVector','extensionLineAngle','HEADER','direction','majorAxisEndPoint','layer','upperLeftCorner','75393IQiUHx','DIMENSION','vVector','AcDb3dSolid','rows','blockName','round','TOLERANCE','trueColor','patternScale','EOF','ENDSEC','point3','text','AcDbMText'];_0x48d4=function(){return _0x2619b5;};return _0x48d4();}function writeHelixEntity(_0x2e96b9){const _0x353d36=_0x4941;let _0xb5523a=pair(0x64,_0x353d36(0x1ab));_0xb5523a+=writePoint3D(0xa,_0x2e96b9[_0x353d36(0x1f6)]),_0xb5523a+=writePoint3D(0xb,_0x2e96b9[_0x353d36(0x1d4)]),_0xb5523a+=writePoint3D(0xc,_0x2e96b9[_0x353d36(0x1de)]),_0xb5523a+=pairF(0x28,_0x2e96b9['radius']),_0xb5523a+=pairF(0x29,_0x2e96b9[_0x353d36(0x1fc)]),_0xb5523a+=pairF(0x2a,_0x2e96b9[_0x353d36(0x1dc)]);if(_0x2e96b9[_0x353d36(0x205)]!==undefined)_0xb5523a+=pairI(0x122,_0x2e96b9[_0x353d36(0x205)]);if(_0x2e96b9[_0x353d36(0x118)]!==undefined)_0xb5523a+=pairI(0x118,_0x2e96b9[_0x353d36(0x118)]);return _0xb5523a;}function writeMeshEntity(_0x6b02f1){const _0x5237fb=_0x4941;let _0x3ce859=pair(0x64,_0x5237fb(0x20f));_0x3ce859+=pairI(0x47,_0x6b02f1[_0x5237fb(0x109)]||0x2),_0x3ce859+=pairI(0x48,_0x6b02f1[_0x5237fb(0x214)]||0x0);const _0x1c426f=_0x6b02f1[_0x5237fb(0x1bf)]||[];_0x3ce859+=pairI(0x5b,_0x1c426f[_0x5237fb(0x1ee)]);for(const _0x6c59f5 of _0x1c426f){_0x3ce859+=writePoint3D(0xa,_0x6c59f5);}const _0xfa799f=_0x6b02f1['faces']||[];_0x3ce859+=pairI(0x5c,_0xfa799f[_0x5237fb(0x1ee)]);for(const _0x4863d6 of _0xfa799f){_0x3ce859+=pairI(0x5a,_0x4863d6);}const _0x570096=_0x6b02f1[_0x5237fb(0x207)]||[];_0x3ce859+=pairI(0x5d,_0x570096[_0x5237fb(0x1ee)]);for(const _0x2a571f of _0x570096){_0x3ce859+=pairI(0x5a,_0x2a571f);}const _0x3b4f31=_0x6b02f1[_0x5237fb(0x1b7)]||[];_0x3ce859+=pairI(0x5e,_0x3b4f31[_0x5237fb(0x1ee)]);for(const _0x35956d of _0x3b4f31){_0x3ce859+=pairF(0x8c,_0x35956d);}return _0x3ce859;}function writeRegionEntity(_0x40dd10){const _0x2cba03=_0x4941;let _0x2ec55a=_0x2cba03(0x19e);if(_0x40dd10[_0x2cba03(0x1fd)]==='BODY')_0x2ec55a=_0x2cba03(0x14a);else {if(_0x40dd10[_0x2cba03(0x1fd)]===_0x2cba03(0x14b))_0x2ec55a='AcDbSurface';}let _0x46b231=pair(0x64,_0x2ec55a);if(_0x40dd10['modelerFormat']!==undefined)_0x46b231+=pairI(0x46,_0x40dd10[_0x2cba03(0x1f9)]);const _0x237c42=_0x40dd10[_0x2cba03(0x194)]||(_0x40dd10['acisData']||[])[_0x2cba03(0x1e0)]('');if(_0x237c42){let _0x4ccc2c=_0x237c42;while(_0x4ccc2c[_0x2cba03(0x1ee)]>0xff){_0x46b231+=pair(0x3,_0x4ccc2c['substring'](0x0,0xff)),_0x4ccc2c=_0x4ccc2c['substring'](0xff);}_0x46b231+=pair(0x1,_0x4ccc2c);}return _0x46b231;}function writeOle2Entity(_0x5a490c){const _0x273b6b=_0x4941;let _0x589320=pair(0x64,_0x273b6b(0x209));_0x589320+=pairI(0x46,_0x5a490c['oleType']||0x0),_0x589320+=pairI(0x47,_0x5a490c[_0x273b6b(0x171)]||0x0),_0x589320+=writePoint3D(0xa,_0x5a490c[_0x273b6b(0x180)]),_0x589320+=writePoint3D(0xb,_0x5a490c[_0x273b6b(0x11a)]);if(_0x5a490c['binaryData'])for(const _0x3c640c of _0x5a490c['binaryData']){_0x589320+=pair(0x1,_0x3c640c);}return _0x589320;}function writeTableEntity(_0x37009b){const _0xf45616=_0x4941;let _0x2637b7=pair(0x64,_0xf45616(0x191));if(_0x37009b[_0xf45616(0x186)])_0x2637b7+=pair(0x2,_0x37009b[_0xf45616(0x186)]);_0x2637b7+=writePoint3D(0xa,_0x37009b[_0xf45616(0x203)]),_0x2637b7+=pair(0x64,'AcDbTable'),_0x2637b7+=writePoint3D(0xb,_0x37009b[_0xf45616(0x17d)]);if(_0x37009b[_0xf45616(0x185)])_0x2637b7+=pairI(0x5b,_0x37009b[_0xf45616(0x185)]);if(_0x37009b[_0xf45616(0x1e1)])_0x2637b7+=pairI(0x5c,_0x37009b[_0xf45616(0x1e1)]);if(_0x37009b[_0xf45616(0x1db)])for(const _0xdb5b04 of _0x37009b[_0xf45616(0x1db)]){_0x2637b7+=pairF(0x8e,_0xdb5b04);}if(_0x37009b[_0xf45616(0x14c)])for(const _0x52637f of _0x37009b[_0xf45616(0x14c)]){_0x2637b7+=pairF(0x8d,_0x52637f);}return _0x2637b7;}function writeMLineEntity(_0x17c37c){const _0x1fd33a=_0x4941;let _0x3f9d12=pair(0x64,_0x1fd33a(0x1c8));if(_0x17c37c['styleName'])_0x3f9d12+=pair(0x2,_0x17c37c[_0x1fd33a(0x15a)]);if(_0x17c37c[_0x1fd33a(0x10e)])_0x3f9d12+=pair(0x154,_0x17c37c[_0x1fd33a(0x10e)]);_0x3f9d12+=pairF(0x28,_0x17c37c[_0x1fd33a(0x160)]||0x1),_0x3f9d12+=pairI(0x46,_0x17c37c['justification']||0x0),_0x3f9d12+=pairI(0x47,_0x17c37c['flags']||0x0);const _0x3bfa1c=_0x17c37c[_0x1fd33a(0x1bf)]||[];_0x3f9d12+=pairI(0x48,_0x3bfa1c['length']);if(_0x17c37c[_0x1fd33a(0x12e)])_0x3f9d12+=pairI(0x49,_0x17c37c[_0x1fd33a(0x12e)]);_0x3f9d12+=writePoint3D(0xa,_0x17c37c[_0x1fd33a(0x1d4)]);_0x17c37c['normal']&&(_0x3f9d12+=pairF(0xd2,_0x17c37c['normal']['x']),_0x3f9d12+=pairF(0xdc,_0x17c37c[_0x1fd33a(0x16a)]['y']),_0x3f9d12+=pairF(0xe6,_0x17c37c['normal']['z']));for(const _0x22b3da of _0x3bfa1c){_0x3f9d12+=pairF(0xb,_0x22b3da['x']),_0x3f9d12+=pairF(0x15,_0x22b3da['y']),_0x3f9d12+=pairF(0x1f,_0x22b3da['z']||0x0);}return _0x3f9d12;}function writeGenericEntity(_0x1e43b6){const _0x51cd80=_0x4941;let _0x11b76b='';if(_0x1e43b6[_0x51cd80(0x150)])for(const [_0x3fee64,_0x420ba0]of Object['entries'](_0x1e43b6[_0x51cd80(0x150)])){if(_0x3fee64['startsWith']('code_')){const _0x1f5a4a=parseInt(_0x3fee64[_0x51cd80(0x135)](_0x51cd80(0x1cb),'')),_0x37a649=[]['concat'](_0x420ba0);for(const _0x2a7c25 of _0x37a649){_0x11b76b+=pair(_0x1f5a4a,_0x2a7c25);}}}return _0x11b76b;}function writeObjects(_0x30eaa6){const _0x154ed2=_0x4941;if(!_0x30eaa6||_0x30eaa6['length']===0x0)return '';let _0x8477ef=pair(0x0,_0x154ed2(0x177))+pair(0x2,'OBJECTS');for(const _0x160952 of _0x30eaa6){_0x8477ef+=pair(0x0,_0x160952[_0x154ed2(0x1fd)]);if(_0x160952[_0x154ed2(0x1dd)])_0x8477ef+=pair(0x5,_0x160952[_0x154ed2(0x1dd)]);if(_0x160952[_0x154ed2(0x110)])_0x8477ef+=pair(0x14a,_0x160952['ownerHandle']);if(_0x160952['name'])_0x8477ef+=pair(0x2,_0x160952[_0x154ed2(0x157)]);if(_0x160952[_0x154ed2(0x202)]){const _0x32b4c6=[][_0x154ed2(0x169)](_0x160952[_0x154ed2(0x202)]);for(const _0x36daef of _0x32b4c6){_0x8477ef+=pair(0x3,_0x36daef);}}if(_0x160952[_0x154ed2(0x163)]){const _0x3df86a=[][_0x154ed2(0x169)](_0x160952[_0x154ed2(0x163)]);for(const _0x260939 of _0x3df86a){_0x8477ef+=pair(0x15e,_0x260939);}}if(_0x160952['hardPointer']){const _0x402c9d=[][_0x154ed2(0x169)](_0x160952[_0x154ed2(0x1f2)]);for(const _0x5f61d3 of _0x402c9d){_0x8477ef+=pair(0x168,_0x5f61d3);}}for(const [_0x21020b,_0x5dff59]of Object[_0x154ed2(0x151)](_0x160952)){if(_0x21020b[_0x154ed2(0x108)]('code_')){const _0x2f8468=parseInt(_0x21020b[_0x154ed2(0x135)]('code_','')),_0xa80829=[]['concat'](_0x5dff59);for(const _0x3dee4e of _0xa80829){_0x8477ef+=pair(_0x2f8468,_0x3dee4e);}}}}return _0x8477ef+=pair(0x0,_0x154ed2(0x18c)),_0x8477ef;}function writeDxf(_0x27b5be){const _0x310415=_0x4941;let _0x3c4d98='';return _0x3c4d98+=writeHeader(_0x27b5be[_0x310415(0x136)]),_0x3c4d98+=writeClasses(_0x27b5be[_0x310415(0x116)]),_0x3c4d98+=writeTables(_0x27b5be[_0x310415(0x212)]),_0x3c4d98+=writeBlocks(_0x27b5be['blocks']),_0x3c4d98+=writeEntitiesSection(_0x27b5be[_0x310415(0x154)]),_0x3c4d98+=writeObjects(_0x27b5be['objects']),_0x3c4d98+=pair(0x0,_0x310415(0x18b)),_0x3c4d98;}async function writeDxfFile(_0x2e2c06,_0x2d4e2b){const _0x8756a4=_0x4941,_0x138ecf=writeDxf(_0x2e2c06);if(typeof process!==_0x8756a4(0x1d1)&&process[_0x8756a4(0x134)]?.['node']){const {writeFile:_0x107ed0}=await import(_0x8756a4(0x114));await _0x107ed0(_0x2d4e2b,_0x138ecf,'utf-8');}else throw new Error(_0x8756a4(0x158));}function downloadDxfFile(_0x1576c3,_0x1f14ff=_0x2f0375(0x1d2)){const _0x4be0a5=_0x2f0375,_0x3faabb=writeDxf(_0x1576c3),_0x483364=new Blob([_0x3faabb],{'type':_0x4be0a5(0x1a4)}),_0x7d66b6=URL[_0x4be0a5(0x215)](_0x483364),_0x8b48f=document[_0x4be0a5(0x1f3)]('a');_0x8b48f[_0x4be0a5(0x1ad)]=_0x7d66b6,_0x8b48f[_0x4be0a5(0x16d)]=_0x1f14ff,_0x8b48f[_0x4be0a5(0x15d)](),URL[_0x4be0a5(0x204)](_0x7d66b6);}
5
+ function _0x5629(){const _0x30ef16=['extrusionDirection','EOF','AcDb2dVertex','arrowheadSize','SPLINE','instanceCount','SECTION','TABLE','columnSpacing','IMAGE','alignmentPoint','ENDBLK','data','acisDataString','style','26014OxtpYM','AcDbMline','textStyleId','elevation','closed','fade','associative','href','defaultStartWidth','axisVector','binaryData','rowSpacing','ELLIPSE','length','type','AcDbBlockBegin','meshMVertexCount','invisibleEdgeFlags','point3','LWPOLYLINE','drawingDirection','generationFlags','version','middleOfText','inPaperSpace','VERTEX','elementCount','scale','startPoint','direction','point2','8aypvAp','BODY','endsWith','endAngle','blockName','linetypeScale','OBJECTS','versions','frontClipPlane','upperLeftCorner','majorAxisEndPoint','widthFactor','pathType','fitTolerance','AcDb3dSolid','AcDb3PointAngularDimension','angle','cppClassName','imageDefHandle','AcDbAlignedDimension','AcDbTrace','snapAngle','AcDbTable','defaultEndWidth','TABLES','AcDbHatch','plotStyleHandle','DIMENSION','clippingVertices','AcDbMText','constantWidth','weights','extra','hAlign','0.0','HEADER','MTEXT','object','AcDbWipeout','hasAttributes','7YZTGJu','radius','lineSpacing','annotationReference','concat','keys','height','point1','AcDbFcf','128EvUfhU','extensionLineAngle','AcDbVertex','SURFACE','rotation','POLYLINE','ENDSEC','tables','faces','AcDbBlockReference','AcDbSurface','download','insertionPoint','40cehsgX','vVector','BLOCK','AcDbEntity','columnCount','creationType','createObjectURL','endTangent','AcDbPoint','oleType','xScale','startAngle','patternName','substring','controlPointTolerance','AcDbDimension','layer','snapSpacing','width','18PxkDXj','3757070MAGseh','AcDbEllipse','LINE','vertices','meshNVertexCount','round','solid','appName','visible','basePointY','hooklineFlag','AcDbArc','fitPoints','uVector','application/dxf','11MEgPGU','periodic','oblique','AcDbRay','planar','imageSize','contentType','CLASSES','styleHandle','AcDbXline','VIEWPORT','replace','TRACE','vAlign','28rqPnSZ','edgeCreases','horizontalDirection','AcDbMLeader','attachmentPoint','OLE2FRAME','rowCount','trueColor','hooklineDirectionFlag','arrowheadFlag','points','viewDirection','4366921laFQTE','backClipPlane','utf-8','viewCenter','WIPEOUT','viewTwistAngle','7690596JIJlJw','definitionPoint','doglegLength','rowHeights','turns','acisData','columnWidths','modelerFormat','88752vlycCl','AcDbLeader','endWidth','textWidth','endPoint','fs/promises','createElement','STANDARD','AcDbSpline','AcDbCircle','handle','controlPoints','frozenLayers','toFixed','lineSpacingStyle','AcDbDiametricDimension','AcDbAttribute','isArray','AcDbRotatedDimension','brightness','viewTarget','wasProxy','colorNumber','rational','subclassMarker','softPointer','statusField','patternAngle','TOLERANCE','basePointZ','name2','dimensionType','bulge','name','clippingBoundary','header','2284456EYKGIG','basePointX','ARC','entities','rows','dxfRecord','isEntity','leaderPoints','clippingType','seedPoints','SOLID','lineweight','styleName','linetypeName','attributes','prompt','flags','AcDbFace','AcDbOrdinateDimension','MLINE','entryName','ATTDEF','basePoint','SEQEND','textHeight','degree','startWidth','columns','TEXT','AcDbHelix','contrast','displayFlags','number','AcDbRasterImage','subdivisionLevel','startsWith','AcDbPolyline','HELIX','knotTolerance','110301ZaDCbP','normal','leaderLength','patternType','ENDTAB','knots','axisRatio','POINT','AcDbOle2Frame','code_','CLASS','AcDbSubDMesh','thickness','snapBase','perspectiveLensLength','AcDbText','gridSpacing','XLINE','viewHeight','proxyCapabilities','position','entries','center','ownerHandle','writeDxfFile\x20仅支持\x20Node.js\x20环境,浏览器请用\x20downloadDxfFile()','INSERT','text'];_0x5629=function(){return _0x30ef16;};return _0x5629();}(function(_0x383dbc,_0x5e43ea){const _0x454aa4=_0x4940,_0x556b29=_0x383dbc();while(!![]){try{const _0x7ba6cf=parseInt(_0x454aa4(0x1df))/0x1*(parseInt(_0x454aa4(0x1fe))/0x2)+-parseInt(_0x454aa4(0x1b5))/0x3*(-parseInt(_0x454aa4(0x22f))/0x4)+parseInt(_0x454aa4(0x23c))/0x5*(-parseInt(_0x454aa4(0x287))/0x6)+parseInt(_0x454aa4(0x226))/0x7*(parseInt(_0x454aa4(0x18e))/0x8)+parseInt(_0x454aa4(0x24f))/0x9*(-parseInt(_0x454aa4(0x250))/0xa)+parseInt(_0x454aa4(0x25f))/0xb*(-parseInt(_0x454aa4(0x27f))/0xc)+parseInt(_0x454aa4(0x279))/0xd*(parseInt(_0x454aa4(0x26d))/0xe);if(_0x7ba6cf===_0x5e43ea)break;else _0x556b29['push'](_0x556b29['shift']());}catch(_0x4d0f1c){_0x556b29['push'](_0x556b29['shift']());}}}(_0x5629,0xb193e));function pair(_0x3e2592,_0x431c42){if(_0x431c42===undefined||_0x431c42===null)return '';return '\x20\x20'+_0x3e2592+'\x0a'+_0x431c42+'\x0a';}function pairF(_0x2cd20f,_0x2db0be){if(_0x2db0be===undefined||_0x2db0be===null)return '';return pair(_0x2cd20f,formatFloat(_0x2db0be));}function formatFloat(_0x41a35c){const _0x394418=_0x4940;if(typeof _0x41a35c!==_0x394418(0x1ae)||isNaN(_0x41a35c))return _0x394418(0x220);let _0x4ad026=_0x41a35c[_0x394418(0x177)](0x6);_0x4ad026=_0x4ad026[_0x394418(0x26a)](/(\.\d*?)0+$/,'$1');if(_0x4ad026[_0x394418(0x200)]('.'))_0x4ad026+='0';return _0x4ad026;}function pairI(_0x5150eb,_0x2f9ac0){const _0x9204ed=_0x4940;if(_0x2f9ac0===undefined||_0x2f9ac0===null)return '';return pair(_0x5150eb,Math[_0x9204ed(0x255)](_0x2f9ac0));}function writePoint3D(_0xd496c6,_0x2eef6c){if(!_0x2eef6c)return '';return pairF(_0xd496c6,_0x2eef6c['x'])+pairF(_0xd496c6+0xa,_0x2eef6c['y'])+pairF(_0xd496c6+0x14,_0x2eef6c['z']);}function writePoint2D(_0x4c2af3,_0x5ad68d){if(!_0x5ad68d)return '';return pairF(_0x4c2af3,_0x5ad68d['x'])+pairF(_0x4c2af3+0xa,_0x5ad68d['y']);}function writeExtrusion(_0x2a567b){if(!_0x2a567b)return '';if(_0x2a567b['x']===0x0&&_0x2a567b['y']===0x0&&_0x2a567b['z']===0x1)return '';return pairF(0xd2,_0x2a567b['x'])+pairF(0xdc,_0x2a567b['y'])+pairF(0xe6,_0x2a567b['z']);}function writeHeader(_0x3291c8){const _0x19b5fc=_0x4940;if(!_0x3291c8||Object[_0x19b5fc(0x22b)](_0x3291c8)[_0x19b5fc(0x1ec)]===0x0)return '';let _0xdbbb91=pair(0x0,_0x19b5fc(0x1d6))+pair(0x2,_0x19b5fc(0x221));for(const [_0x5eefc6,_0x487511]of Object[_0x19b5fc(0x1ca)](_0x3291c8)){_0xdbbb91+=pair(0x9,_0x5eefc6);if(typeof _0x487511===_0x19b5fc(0x223)&&_0x487511!==null&&!Array[_0x19b5fc(0x17b)](_0x487511))for(const [_0x186381,_0x17377f]of Object[_0x19b5fc(0x1ca)](_0x487511)){_0xdbbb91+=pair(parseInt(_0x186381),_0x17377f);}else _0xdbbb91+=pair(0x1,_0x487511);}return _0xdbbb91+=pair(0x0,_0x19b5fc(0x235)),_0xdbbb91;}function writeClasses(_0x1403d1){const _0xf38a50=_0x4940;if(!_0x1403d1||_0x1403d1['length']===0x0)return '';let _0x406962=pair(0x0,'SECTION')+pair(0x2,_0xf38a50(0x266));for(const _0x2ff060 of _0x1403d1){_0x406962+=pair(0x0,_0xf38a50(0x1bf));if(_0x2ff060[_0xf38a50(0x193)])_0x406962+=pair(0x1,_0x2ff060[_0xf38a50(0x193)]);if(_0x2ff060[_0xf38a50(0x20f)])_0x406962+=pair(0x2,_0x2ff060['cppClassName']);if(_0x2ff060[_0xf38a50(0x257)])_0x406962+=pair(0x3,_0x2ff060[_0xf38a50(0x257)]);if(_0x2ff060[_0xf38a50(0x1c8)]!==undefined)_0x406962+=pairI(0x5a,_0x2ff060['proxyCapabilities']);if(_0x2ff060[_0xf38a50(0x1d5)]!==undefined)_0x406962+=pairI(0x5b,_0x2ff060['instanceCount']);if(_0x2ff060[_0xf38a50(0x17f)]!==undefined)_0x406962+=pairI(0x118,_0x2ff060[_0xf38a50(0x17f)]);if(_0x2ff060[_0xf38a50(0x194)]!==undefined)_0x406962+=pairI(0x119,_0x2ff060['isEntity']);}return _0x406962+=pair(0x0,_0xf38a50(0x235)),_0x406962;}function writeTables(_0x468e0b){const _0x21df97=_0x4940;if(!_0x468e0b||Object[_0x21df97(0x22b)](_0x468e0b)[_0x21df97(0x1ec)]===0x0)return '';let _0x1a1457=pair(0x0,'SECTION')+pair(0x2,_0x21df97(0x216));for(const [_0x472ba9,_0x117e44]of Object[_0x21df97(0x1ca)](_0x468e0b)){_0x1a1457+=pair(0x0,_0x21df97(0x1d7)),_0x1a1457+=pair(0x2,_0x472ba9);if(_0x117e44[_0x21df97(0x1ec)]>0x0){const _0x12f752=_0x117e44[0x0];if(_0x12f752['handle'])_0x1a1457+=pair(0x5,_0x12f752[_0x21df97(0x174)]);if(_0x12f752['ownerHandle'])_0x1a1457+=pair(0x14a,_0x12f752[_0x21df97(0x1cc)]);_0x1a1457+=pair(0x64,'AcDbSymbolTable'),_0x1a1457+=pairI(0x46,_0x117e44['length']);}for(const _0xc4f91e of _0x117e44){_0x1a1457+=pair(0x0,_0xc4f91e['_type']||_0x472ba9);if(_0xc4f91e[_0x21df97(0x174)])_0x1a1457+=pair(0x5,_0xc4f91e['handle']);if(_0xc4f91e['ownerHandle'])_0x1a1457+=pair(0x14a,_0xc4f91e[_0x21df97(0x1cc)]);if(_0xc4f91e[_0x21df97(0x182)]){const _0x39d551=[]['concat'](_0xc4f91e[_0x21df97(0x182)]);for(const _0x50ac94 of _0x39d551){_0x1a1457+=pair(0x64,_0x50ac94);}}if(_0xc4f91e['name'])_0x1a1457+=pair(0x2,_0xc4f91e[_0x21df97(0x18b)]);if(_0xc4f91e[_0x21df97(0x19e)]!==undefined)_0x1a1457+=pairI(0x46,_0xc4f91e[_0x21df97(0x19e)]);if(_0xc4f91e[_0x21df97(0x180)]!==undefined)_0x1a1457+=pairI(0x3e,_0xc4f91e['colorNumber']);if(_0xc4f91e[_0x21df97(0x19b)])_0x1a1457+=pair(0x6,_0xc4f91e[_0x21df97(0x19b)]);if(_0xc4f91e[_0x21df97(0x19a)])_0x1a1457+=pair(0x7,_0xc4f91e[_0x21df97(0x19a)]);if(_0xc4f91e['height'])_0x1a1457+=pairF(0x28,_0xc4f91e[_0x21df97(0x22c)]);if(_0xc4f91e[_0x21df97(0x209)])_0x1a1457+=pairF(0x29,_0xc4f91e['widthFactor']);if(_0xc4f91e['angle'])_0x1a1457+=pairF(0x32,_0xc4f91e[_0x21df97(0x20e)]);if(_0xc4f91e['lineweight']!==undefined)_0x1a1457+=pairI(0x172,_0xc4f91e['lineweight']);if(_0xc4f91e[_0x21df97(0x218)])_0x1a1457+=pair(0x186,_0xc4f91e[_0x21df97(0x218)]);if(_0xc4f91e[_0x21df97(0x21e)])for(const [_0x5a317c,_0x15aa34]of Object[_0x21df97(0x1ca)](_0xc4f91e)){if(_0x5a317c[_0x21df97(0x1b1)](_0x21df97(0x1be))){const _0x313273=parseInt(_0x5a317c['replace'](_0x21df97(0x1be),'')),_0x40dab3=[][_0x21df97(0x22a)](_0x15aa34);for(const _0x43d33f of _0x40dab3){_0x1a1457+=pair(_0x313273,_0x43d33f);}}}}_0x1a1457+=pair(0x0,_0x21df97(0x1b9));}return _0x1a1457+=pair(0x0,_0x21df97(0x235)),_0x1a1457;}function writeBlocks(_0x5cee94){const _0x551077=_0x4940;if(!_0x5cee94||_0x5cee94[_0x551077(0x1ec)]===0x0)return '';let _0x158c68=pair(0x0,_0x551077(0x1d6))+pair(0x2,'BLOCKS');for(const _0x1b58b9 of _0x5cee94){_0x158c68+=pair(0x0,_0x551077(0x23e));if(_0x1b58b9[_0x551077(0x174)])_0x158c68+=pair(0x5,_0x1b58b9[_0x551077(0x174)]);if(_0x1b58b9[_0x551077(0x1cc)])_0x158c68+=pair(0x14a,_0x1b58b9['ownerHandle']);_0x158c68+=pair(0x64,_0x551077(0x23f));if(_0x1b58b9[_0x551077(0x24c)])_0x158c68+=pair(0x8,_0x1b58b9['layer']);_0x158c68+=pair(0x64,_0x551077(0x1ee));if(_0x1b58b9[_0x551077(0x18b)])_0x158c68+=pair(0x2,_0x1b58b9[_0x551077(0x18b)]);if(_0x1b58b9['flags']!==undefined)_0x158c68+=pairI(0x46,_0x1b58b9[_0x551077(0x19e)]);_0x158c68+=pairF(0xa,_0x1b58b9[_0x551077(0x18f)]||_0x1b58b9[_0x551077(0x1a4)]&&_0x1b58b9['basePoint']['x']||0x0),_0x158c68+=pairF(0x14,_0x1b58b9[_0x551077(0x259)]||_0x1b58b9[_0x551077(0x1a4)]&&_0x1b58b9['basePoint']['y']||0x0),_0x158c68+=pairF(0x1e,_0x1b58b9[_0x551077(0x187)]||_0x1b58b9[_0x551077(0x1a4)]&&_0x1b58b9[_0x551077(0x1a4)]['z']||0x0);if(_0x1b58b9[_0x551077(0x188)]||_0x1b58b9['name'])_0x158c68+=pair(0x3,_0x1b58b9[_0x551077(0x188)]||_0x1b58b9[_0x551077(0x18b)]);_0x1b58b9['entities']&&_0x1b58b9[_0x551077(0x191)][_0x551077(0x1ec)]>0x0&&(_0x158c68+=writeEntityList(_0x1b58b9[_0x551077(0x191)]));_0x158c68+=pair(0x0,_0x551077(0x1db));if(_0x1b58b9[_0x551077(0x174)])_0x158c68+=pair(0x5,_0x1b58b9[_0x551077(0x174)]);if(_0x1b58b9['ownerHandle'])_0x158c68+=pair(0x14a,_0x1b58b9[_0x551077(0x1cc)]);_0x158c68+=pair(0x64,_0x551077(0x23f));if(_0x1b58b9['layer'])_0x158c68+=pair(0x8,_0x1b58b9[_0x551077(0x24c)]);_0x158c68+=pair(0x64,'AcDbBlockEnd');}return _0x158c68+=pair(0x0,'ENDSEC'),_0x158c68;}function writeEntityList(_0x46a69e){let _0x40cf27='';for(const _0x2ab39c of _0x46a69e){_0x40cf27+=writeOneEntity(_0x2ab39c);}return _0x40cf27;}function writeEntitiesSection(_0x58a467){const _0x4c4b51=_0x4940;if(!_0x58a467||_0x58a467[_0x4c4b51(0x1ec)]===0x0)return '';let _0x340651=pair(0x0,_0x4c4b51(0x1d6))+pair(0x2,'ENTITIES');return _0x340651+=writeEntityList(_0x58a467),_0x340651+=pair(0x0,_0x4c4b51(0x235)),_0x340651;}function writeCommonFields(_0x2fb9df){const _0x42a2e0=_0x4940;let _0x509f59='';if(_0x2fb9df[_0x42a2e0(0x174)])_0x509f59+=pair(0x5,_0x2fb9df[_0x42a2e0(0x174)]);if(_0x2fb9df[_0x42a2e0(0x1cc)])_0x509f59+=pair(0x14a,_0x2fb9df[_0x42a2e0(0x1cc)]);_0x509f59+=pair(0x64,_0x42a2e0(0x23f));if(_0x2fb9df[_0x42a2e0(0x1f7)])_0x509f59+=pairI(0x43,0x1);if(_0x2fb9df[_0x42a2e0(0x24c)])_0x509f59+=pair(0x8,_0x2fb9df[_0x42a2e0(0x24c)]);if(_0x2fb9df['linetypeName'])_0x509f59+=pair(0x6,_0x2fb9df[_0x42a2e0(0x19b)]);if(_0x2fb9df['colorNumber']!==undefined&&_0x2fb9df['colorNumber']!==0x0)_0x509f59+=pairI(0x3e,_0x2fb9df[_0x42a2e0(0x180)]);if(_0x2fb9df[_0x42a2e0(0x199)]!==undefined)_0x509f59+=pairI(0x172,_0x2fb9df['lineweight']);if(_0x2fb9df[_0x42a2e0(0x203)]!==undefined&&_0x2fb9df[_0x42a2e0(0x203)]!==0x1)_0x509f59+=pairF(0x30,_0x2fb9df[_0x42a2e0(0x203)]);if(_0x2fb9df[_0x42a2e0(0x258)]===![])_0x509f59+=pairI(0x3c,0x1);if(_0x2fb9df['trueColor'])_0x509f59+=pairI(0x1a4,_0x2fb9df[_0x42a2e0(0x274)]);return _0x509f59;}function writeOneEntity(_0x3fe80d){const _0x218b33=_0x4940;if(!_0x3fe80d||!_0x3fe80d['type'])return '';let _0x253638=pair(0x0,_0x3fe80d['type']);_0x253638+=writeCommonFields(_0x3fe80d);switch(_0x3fe80d[_0x218b33(0x1ed)]){case _0x218b33(0x252):_0x253638+=writeLineEntity(_0x3fe80d);break;case _0x218b33(0x1f2):_0x253638+=writeLWPolylineEntity(_0x3fe80d);break;case _0x218b33(0x234):_0x253638+=writePolylineEntity(_0x3fe80d);break;case _0x218b33(0x190):_0x253638+=writeArcEntity(_0x3fe80d);break;case 'CIRCLE':_0x253638+=writeCircleEntity(_0x3fe80d);break;case _0x218b33(0x1eb):_0x253638+=writeEllipseEntity(_0x3fe80d);break;case _0x218b33(0x1bc):_0x253638+=writePointEntity(_0x3fe80d);break;case _0x218b33(0x1aa):_0x253638+=writeTextEntity(_0x3fe80d);break;case _0x218b33(0x222):_0x253638+=writeMTextEntity(_0x3fe80d);break;case 'ATTRIB':case _0x218b33(0x1a3):_0x253638+=writeAttribEntity(_0x3fe80d);break;case _0x218b33(0x1ce):_0x253638+=writeInsertEntity(_0x3fe80d);break;case _0x218b33(0x219):_0x253638+=writeDimensionEntity(_0x3fe80d);break;case 'LEADER':_0x253638+=writeLeaderEntity(_0x3fe80d);break;case 'MLEADER':_0x253638+=writeMLeaderEntity(_0x3fe80d);break;case 'HATCH':_0x253638+=writeHatchEntity(_0x3fe80d);break;case _0x218b33(0x1d4):_0x253638+=writeSplineEntity(_0x3fe80d);break;case _0x218b33(0x198):case '3DSOLID':case _0x218b33(0x26b):_0x253638+=writeSolidEntity(_0x3fe80d);break;case '3DFACE':_0x253638+=write3DFaceEntity(_0x3fe80d);break;case 'RAY':case _0x218b33(0x1c6):_0x253638+=writeRayEntity(_0x3fe80d);break;case _0x218b33(0x269):_0x253638+=writeViewportEntity(_0x3fe80d);break;case _0x218b33(0x1d9):case _0x218b33(0x27d):_0x253638+=writeImageEntity(_0x3fe80d);break;case _0x218b33(0x186):_0x253638+=writeToleranceEntity(_0x3fe80d);break;case _0x218b33(0x1b3):_0x253638+=writeHelixEntity(_0x3fe80d);break;case 'MESH':_0x253638+=writeMeshEntity(_0x3fe80d);break;case 'REGION':case 'BODY':case 'SURFACE':_0x253638+=writeRegionEntity(_0x3fe80d);break;case _0x218b33(0x272):_0x253638+=writeOle2Entity(_0x3fe80d);break;case _0x218b33(0x1d7):_0x253638+=writeTableEntity(_0x3fe80d);break;case _0x218b33(0x1a1):_0x253638+=writeMLineEntity(_0x3fe80d);break;case _0x218b33(0x1a5):break;default:_0x253638+=writeGenericEntity(_0x3fe80d);break;}return _0x253638;}function writeLineEntity(_0x302b9c){const _0xd495ab=_0x4940;let _0x27c0ac=pair(0x64,'AcDbLine');if(_0x302b9c[_0xd495ab(0x1c1)])_0x27c0ac+=pairF(0x27,_0x302b9c[_0xd495ab(0x1c1)]);return _0x27c0ac+=writePoint3D(0xa,_0x302b9c[_0xd495ab(0x1fb)]),_0x27c0ac+=writePoint3D(0xb,_0x302b9c[_0xd495ab(0x28b)]),_0x27c0ac+=writeExtrusion(_0x302b9c[_0xd495ab(0x1d0)]),_0x27c0ac;}function writeLWPolylineEntity(_0x3b49ea){const _0x1ab313=_0x4940;let _0x312695=pair(0x64,_0x1ab313(0x1b2));const _0x560a99=_0x3b49ea['vertices']||[];_0x312695+=pairI(0x5a,_0x560a99[_0x1ab313(0x1ec)]);let _0x5b9df4=0x0;if(_0x3b49ea[_0x1ab313(0x1e3)])_0x5b9df4|=0x1;_0x312695+=pairI(0x46,_0x5b9df4);if(_0x3b49ea[_0x1ab313(0x21c)])_0x312695+=pairF(0x2b,_0x3b49ea['constantWidth']);if(_0x3b49ea['elevation'])_0x312695+=pairF(0x26,_0x3b49ea[_0x1ab313(0x1e2)]);if(_0x3b49ea['thickness'])_0x312695+=pairF(0x27,_0x3b49ea['thickness']);for(const _0x1dff97 of _0x560a99){_0x312695+=pairF(0xa,_0x1dff97['x']),_0x312695+=pairF(0x14,_0x1dff97['y']);if(_0x1dff97[_0x1ab313(0x1a8)])_0x312695+=pairF(0x28,_0x1dff97['startWidth']);if(_0x1dff97[_0x1ab313(0x289)])_0x312695+=pairF(0x29,_0x1dff97['endWidth']);if(_0x1dff97[_0x1ab313(0x18a)])_0x312695+=pairF(0x2a,_0x1dff97[_0x1ab313(0x18a)]);}return _0x312695+=writeExtrusion(_0x3b49ea[_0x1ab313(0x1d0)]),_0x312695;}function writePolylineEntity(_0xd30fd0){const _0x44c5d9=_0x4940;let _0x52a2c2=pair(0x64,'AcDb2dPolyline'),_0x22b8cf=_0xd30fd0['flags']||0x0;if(_0xd30fd0['closed'])_0x22b8cf|=0x1;_0x52a2c2+=pairI(0x46,_0x22b8cf),_0x52a2c2+=pairF(0xa,0x0),_0x52a2c2+=pairF(0x14,0x0);if(_0xd30fd0[_0x44c5d9(0x1e2)])_0x52a2c2+=pairF(0x1e,_0xd30fd0['elevation']);if(_0xd30fd0[_0x44c5d9(0x1c1)])_0x52a2c2+=pairF(0x27,_0xd30fd0[_0x44c5d9(0x1c1)]);if(_0xd30fd0['defaultStartWidth'])_0x52a2c2+=pairF(0x28,_0xd30fd0[_0x44c5d9(0x1e7)]);if(_0xd30fd0[_0x44c5d9(0x215)])_0x52a2c2+=pairF(0x29,_0xd30fd0[_0x44c5d9(0x215)]);if(_0xd30fd0[_0x44c5d9(0x1ef)])_0x52a2c2+=pairI(0x47,_0xd30fd0[_0x44c5d9(0x1ef)]);if(_0xd30fd0[_0x44c5d9(0x254)])_0x52a2c2+=pairI(0x48,_0xd30fd0[_0x44c5d9(0x254)]);_0x52a2c2+=writeExtrusion(_0xd30fd0[_0x44c5d9(0x1d0)]);if(_0xd30fd0['vertices']&&_0xd30fd0[_0x44c5d9(0x253)]['length']>0x0){for(const _0x1bcdda of _0xd30fd0[_0x44c5d9(0x253)]){_0x52a2c2+=pair(0x0,_0x44c5d9(0x1f8));if(_0xd30fd0[_0x44c5d9(0x174)])_0x52a2c2+=pair(0x5,'');_0x52a2c2+=pair(0x64,_0x44c5d9(0x23f));if(_0xd30fd0[_0x44c5d9(0x24c)])_0x52a2c2+=pair(0x8,_0xd30fd0[_0x44c5d9(0x24c)]);_0x52a2c2+=pair(0x64,_0x44c5d9(0x231)),_0x52a2c2+=pair(0x64,_0x44c5d9(0x1d2)),_0x52a2c2+=pairF(0xa,_0x1bcdda['x']),_0x52a2c2+=pairF(0x14,_0x1bcdda['y']),_0x52a2c2+=pairF(0x1e,_0x1bcdda['z']||0x0);if(_0x1bcdda[_0x44c5d9(0x1a8)])_0x52a2c2+=pairF(0x28,_0x1bcdda['startWidth']);if(_0x1bcdda[_0x44c5d9(0x289)])_0x52a2c2+=pairF(0x29,_0x1bcdda[_0x44c5d9(0x289)]);if(_0x1bcdda[_0x44c5d9(0x18a)])_0x52a2c2+=pairF(0x2a,_0x1bcdda['bulge']);if(_0x1bcdda[_0x44c5d9(0x19e)])_0x52a2c2+=pairI(0x46,_0x1bcdda[_0x44c5d9(0x19e)]);}_0x52a2c2+=pair(0x0,_0x44c5d9(0x1a5)),_0x52a2c2+=pair(0x64,_0x44c5d9(0x23f));if(_0xd30fd0[_0x44c5d9(0x24c)])_0x52a2c2+=pair(0x8,_0xd30fd0['layer']);}return _0x52a2c2;}function writeArcEntity(_0x2a17f1){const _0x4903f3=_0x4940;let _0x234ead=pair(0x64,'AcDbCircle');if(_0x2a17f1[_0x4903f3(0x1c1)])_0x234ead+=pairF(0x27,_0x2a17f1[_0x4903f3(0x1c1)]);return _0x234ead+=writePoint3D(0xa,_0x2a17f1['center']),_0x234ead+=pairF(0x28,_0x2a17f1[_0x4903f3(0x227)]),_0x234ead+=writeExtrusion(_0x2a17f1[_0x4903f3(0x1d0)]),_0x234ead+=pair(0x64,_0x4903f3(0x25b)),_0x234ead+=pairF(0x32,_0x2a17f1[_0x4903f3(0x247)]),_0x234ead+=pairF(0x33,_0x2a17f1[_0x4903f3(0x201)]),_0x234ead;}function writeCircleEntity(_0x182320){const _0x89a92=_0x4940;let _0x3e1d4a=pair(0x64,_0x89a92(0x173));if(_0x182320[_0x89a92(0x1c1)])_0x3e1d4a+=pairF(0x27,_0x182320[_0x89a92(0x1c1)]);return _0x3e1d4a+=writePoint3D(0xa,_0x182320[_0x89a92(0x1cb)]),_0x3e1d4a+=pairF(0x28,_0x182320[_0x89a92(0x227)]),_0x3e1d4a+=writeExtrusion(_0x182320[_0x89a92(0x1d0)]),_0x3e1d4a;}function writeEllipseEntity(_0x12dd81){const _0x507d84=_0x4940;let _0x2e12cd=pair(0x64,_0x507d84(0x251));return _0x2e12cd+=writePoint3D(0xa,_0x12dd81[_0x507d84(0x1cb)]),_0x2e12cd+=writePoint3D(0xb,_0x12dd81[_0x507d84(0x208)]),_0x2e12cd+=writeExtrusion(_0x12dd81['extrusionDirection']),_0x2e12cd+=pairF(0x28,_0x12dd81[_0x507d84(0x1bb)]),_0x2e12cd+=pairF(0x29,_0x12dd81[_0x507d84(0x247)]),_0x2e12cd+=pairF(0x2a,_0x12dd81['endAngle']),_0x2e12cd;}function writePointEntity(_0x628bbc){const _0x361158=_0x4940;let _0x50e2ed=pair(0x64,_0x361158(0x244));_0x50e2ed+=writePoint3D(0xa,_0x628bbc[_0x361158(0x1c9)]);if(_0x628bbc['thickness'])_0x50e2ed+=pairF(0x27,_0x628bbc[_0x361158(0x1c1)]);if(_0x628bbc[_0x361158(0x20e)])_0x50e2ed+=pairF(0x32,_0x628bbc[_0x361158(0x20e)]);return _0x50e2ed+=writeExtrusion(_0x628bbc[_0x361158(0x1d0)]),_0x50e2ed;}function writeTextEntity(_0x2a8c3e){const _0x4bdd31=_0x4940;let _0x24ee08=pair(0x64,'AcDbText');if(_0x2a8c3e[_0x4bdd31(0x1c1)])_0x24ee08+=pairF(0x27,_0x2a8c3e[_0x4bdd31(0x1c1)]);_0x24ee08+=writePoint3D(0xa,_0x2a8c3e['insertionPoint']),_0x24ee08+=pairF(0x28,_0x2a8c3e['height']),_0x24ee08+=pair(0x1,_0x2a8c3e[_0x4bdd31(0x1cf)]);if(_0x2a8c3e[_0x4bdd31(0x233)])_0x24ee08+=pairF(0x32,_0x2a8c3e[_0x4bdd31(0x233)]);if(_0x2a8c3e[_0x4bdd31(0x246)]&&_0x2a8c3e[_0x4bdd31(0x246)]!==0x1)_0x24ee08+=pairF(0x29,_0x2a8c3e[_0x4bdd31(0x246)]);if(_0x2a8c3e[_0x4bdd31(0x261)])_0x24ee08+=pairF(0x33,_0x2a8c3e[_0x4bdd31(0x261)]);if(_0x2a8c3e[_0x4bdd31(0x19a)]&&_0x2a8c3e[_0x4bdd31(0x19a)]!=='STANDARD')_0x24ee08+=pair(0x7,_0x2a8c3e[_0x4bdd31(0x19a)]);if(_0x2a8c3e[_0x4bdd31(0x1f4)])_0x24ee08+=pairI(0x47,_0x2a8c3e[_0x4bdd31(0x1f4)]);if(_0x2a8c3e[_0x4bdd31(0x21f)])_0x24ee08+=pairI(0x48,_0x2a8c3e['hAlign']);_0x24ee08+=writePoint3D(0xb,_0x2a8c3e[_0x4bdd31(0x1da)]),_0x24ee08+=writeExtrusion(_0x2a8c3e[_0x4bdd31(0x1d0)]),_0x24ee08+=pair(0x64,_0x4bdd31(0x1c4));if(_0x2a8c3e['vAlign'])_0x24ee08+=pairI(0x49,_0x2a8c3e['vAlign']);return _0x24ee08;}function writeMTextEntity(_0x1274a8){const _0x5036d2=_0x4940;let _0x4dde49=pair(0x64,_0x5036d2(0x21b));_0x4dde49+=writePoint3D(0xa,_0x1274a8['insertionPoint']),_0x4dde49+=pairF(0x28,_0x1274a8[_0x5036d2(0x22c)]);if(_0x1274a8[_0x5036d2(0x24e)])_0x4dde49+=pairF(0x29,_0x1274a8['width']);if(_0x1274a8[_0x5036d2(0x271)])_0x4dde49+=pairI(0x47,_0x1274a8[_0x5036d2(0x271)]);if(_0x1274a8['drawingDirection'])_0x4dde49+=pairI(0x48,_0x1274a8[_0x5036d2(0x1f3)]);const _0x4407d6=_0x1274a8[_0x5036d2(0x1cf)]||'';if(_0x4407d6[_0x5036d2(0x1ec)]>0xfa){let _0x1fddab=_0x4407d6;while(_0x1fddab['length']>0xfa){_0x4dde49+=pair(0x3,_0x1fddab[_0x5036d2(0x249)](0x0,0xfa)),_0x1fddab=_0x1fddab[_0x5036d2(0x249)](0xfa);}_0x4dde49+=pair(0x1,_0x1fddab);}else _0x4dde49+=pair(0x1,_0x4407d6);if(_0x1274a8['styleName']&&_0x1274a8[_0x5036d2(0x19a)]!==_0x5036d2(0x28e))_0x4dde49+=pair(0x7,_0x1274a8[_0x5036d2(0x19a)]);if(_0x1274a8[_0x5036d2(0x233)])_0x4dde49+=pairF(0x32,_0x1274a8[_0x5036d2(0x233)]);if(_0x1274a8[_0x5036d2(0x178)])_0x4dde49+=pairI(0x49,_0x1274a8['lineSpacingStyle']);if(_0x1274a8[_0x5036d2(0x228)]&&_0x1274a8['lineSpacing']!==0x1)_0x4dde49+=pairF(0x2c,_0x1274a8[_0x5036d2(0x228)]);return _0x4dde49+=writePoint3D(0xb,_0x1274a8[_0x5036d2(0x1fc)]),_0x4dde49+=writeExtrusion(_0x1274a8[_0x5036d2(0x1d0)]),_0x4dde49;}function writeAttribEntity(_0x194072){const _0x6ca16d=_0x4940,_0x30cf71=_0x194072['type']==='ATTDEF';let _0x28f3e4=pair(0x64,_0x30cf71?'AcDbAttributeDefinition':_0x6ca16d(0x17a));_0x28f3e4+=writePoint3D(0xa,_0x194072['insertionPoint']),_0x28f3e4+=pairF(0x28,_0x194072[_0x6ca16d(0x22c)]),_0x28f3e4+=pair(0x1,_0x194072[_0x6ca16d(0x1cf)]);if(_0x194072['tag'])_0x28f3e4+=pair(0x2,_0x194072['tag']);if(_0x194072['prompt'])_0x28f3e4+=pair(0x3,_0x194072[_0x6ca16d(0x19d)]);if(_0x194072['flags'])_0x28f3e4+=pairI(0x46,_0x194072[_0x6ca16d(0x19e)]);if(_0x194072['rotation'])_0x28f3e4+=pairF(0x32,_0x194072[_0x6ca16d(0x233)]);if(_0x194072[_0x6ca16d(0x246)]&&_0x194072['xScale']!==0x1)_0x28f3e4+=pairF(0x29,_0x194072[_0x6ca16d(0x246)]);if(_0x194072[_0x6ca16d(0x19a)]&&_0x194072[_0x6ca16d(0x19a)]!==_0x6ca16d(0x28e))_0x28f3e4+=pair(0x7,_0x194072['styleName']);if(_0x194072[_0x6ca16d(0x1f4)])_0x28f3e4+=pairI(0x47,_0x194072[_0x6ca16d(0x1f4)]);if(_0x194072[_0x6ca16d(0x21f)])_0x28f3e4+=pairI(0x48,_0x194072[_0x6ca16d(0x21f)]);if(_0x194072[_0x6ca16d(0x26c)])_0x28f3e4+=pairI(0x49,_0x194072[_0x6ca16d(0x26c)]);return _0x28f3e4+=writePoint3D(0xb,_0x194072[_0x6ca16d(0x1da)]),_0x28f3e4;}function writeInsertEntity(_0x355ce7){const _0x5c27aa=_0x4940;let _0x1c852f=pair(0x64,'AcDbBlockReference');if(_0x355ce7[_0x5c27aa(0x225)])_0x1c852f+=pairI(0x42,0x1);_0x1c852f+=pair(0x2,_0x355ce7[_0x5c27aa(0x202)]),_0x1c852f+=writePoint3D(0xa,_0x355ce7[_0x5c27aa(0x23b)]);if(_0x355ce7[_0x5c27aa(0x1fa)]){if(_0x355ce7[_0x5c27aa(0x1fa)]['x']!==0x1)_0x1c852f+=pairF(0x29,_0x355ce7[_0x5c27aa(0x1fa)]['x']);if(_0x355ce7[_0x5c27aa(0x1fa)]['y']!==0x1)_0x1c852f+=pairF(0x2a,_0x355ce7[_0x5c27aa(0x1fa)]['y']);if(_0x355ce7[_0x5c27aa(0x1fa)]['z']!==0x1)_0x1c852f+=pairF(0x2b,_0x355ce7['scale']['z']);}if(_0x355ce7[_0x5c27aa(0x233)])_0x1c852f+=pairF(0x32,_0x355ce7[_0x5c27aa(0x233)]);if(_0x355ce7['columnCount']&&_0x355ce7[_0x5c27aa(0x240)]!==0x1)_0x1c852f+=pairI(0x46,_0x355ce7[_0x5c27aa(0x240)]);if(_0x355ce7[_0x5c27aa(0x273)]&&_0x355ce7[_0x5c27aa(0x273)]!==0x1)_0x1c852f+=pairI(0x47,_0x355ce7['rowCount']);if(_0x355ce7[_0x5c27aa(0x1d8)])_0x1c852f+=pairF(0x2c,_0x355ce7[_0x5c27aa(0x1d8)]);if(_0x355ce7[_0x5c27aa(0x1ea)])_0x1c852f+=pairF(0x2d,_0x355ce7[_0x5c27aa(0x1ea)]);_0x1c852f+=writeExtrusion(_0x355ce7['extrusionDirection']);if(_0x355ce7[_0x5c27aa(0x19c)]&&_0x355ce7[_0x5c27aa(0x19c)][_0x5c27aa(0x1ec)]>0x0){for(const _0x116568 of _0x355ce7[_0x5c27aa(0x19c)]){_0x1c852f+=writeOneEntity(_0x116568);}_0x1c852f+=pair(0x0,_0x5c27aa(0x1a5)),_0x1c852f+=pair(0x64,_0x5c27aa(0x23f));if(_0x355ce7['layer'])_0x1c852f+=pair(0x8,_0x355ce7[_0x5c27aa(0x24c)]);}return _0x1c852f;}function writeDimensionEntity(_0x32fdcf){const _0x475e25=_0x4940;let _0x5b0d6f=pair(0x64,_0x475e25(0x24b));if(_0x32fdcf['blockName'])_0x5b0d6f+=pair(0x2,_0x32fdcf[_0x475e25(0x202)]);_0x5b0d6f+=writePoint3D(0xa,_0x32fdcf[_0x475e25(0x280)]),_0x5b0d6f+=writePoint3D(0xb,_0x32fdcf[_0x475e25(0x1f6)]);if(_0x32fdcf[_0x475e25(0x189)]!==undefined)_0x5b0d6f+=pairI(0x46,_0x32fdcf[_0x475e25(0x189)]);if(_0x32fdcf[_0x475e25(0x271)])_0x5b0d6f+=pairI(0x47,_0x32fdcf[_0x475e25(0x271)]);if(_0x32fdcf[_0x475e25(0x1cf)])_0x5b0d6f+=pair(0x1,_0x32fdcf[_0x475e25(0x1cf)]);if(_0x32fdcf[_0x475e25(0x19a)]&&_0x32fdcf[_0x475e25(0x19a)]!=='STANDARD')_0x5b0d6f+=pair(0x3,_0x32fdcf['styleName']);if(_0x32fdcf[_0x475e25(0x233)])_0x5b0d6f+=pairF(0x32,_0x32fdcf[_0x475e25(0x233)]);const _0x2bedf5=(_0x32fdcf[_0x475e25(0x189)]||0x0)&0xf;switch(_0x2bedf5){case 0x0:case 0x1:_0x5b0d6f+=pair(0x64,_0x475e25(0x211)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf['point1']),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);if(_0x32fdcf[_0x475e25(0x230)])_0x5b0d6f+=pairF(0x34,_0x32fdcf['extensionLineAngle']);_0x2bedf5===0x0&&(_0x5b0d6f+=pair(0x64,_0x475e25(0x17c)));break;case 0x2:_0x5b0d6f+=pair(0x64,_0x475e25(0x20d)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf['point1']),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);if(_0x32fdcf[_0x475e25(0x1f1)])_0x5b0d6f+=writePoint3D(0xf,_0x32fdcf['point3']);break;case 0x3:case 0x4:_0x5b0d6f+=pair(0x64,_0x2bedf5===0x3?_0x475e25(0x179):'AcDbRadialDimension'),_0x5b0d6f+=writePoint3D(0xf,_0x32fdcf[_0x475e25(0x1f1)]||_0x32fdcf['point1']);if(_0x32fdcf[_0x475e25(0x1b7)])_0x5b0d6f+=pairF(0x28,_0x32fdcf['leaderLength']);break;case 0x5:_0x5b0d6f+=pair(0x64,_0x475e25(0x20d)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf[_0x475e25(0x22d)]),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);if(_0x32fdcf[_0x475e25(0x1f1)])_0x5b0d6f+=writePoint3D(0xf,_0x32fdcf[_0x475e25(0x1f1)]);break;case 0x6:_0x5b0d6f+=pair(0x64,_0x475e25(0x1a0)),_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf[_0x475e25(0x22d)]),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);break;default:_0x5b0d6f+=writePoint3D(0xd,_0x32fdcf[_0x475e25(0x22d)]),_0x5b0d6f+=writePoint3D(0xe,_0x32fdcf[_0x475e25(0x1fd)]);break;}return _0x5b0d6f;}function writeLeaderEntity(_0x49cce5){const _0x2016f8=_0x4940;let _0x4a1ae9=pair(0x64,_0x2016f8(0x288));if(_0x49cce5[_0x2016f8(0x19a)])_0x4a1ae9+=pair(0x3,_0x49cce5[_0x2016f8(0x19a)]);if(_0x49cce5[_0x2016f8(0x276)]!==undefined)_0x4a1ae9+=pairI(0x47,_0x49cce5['arrowheadFlag']);if(_0x49cce5[_0x2016f8(0x20a)]!==undefined)_0x4a1ae9+=pairI(0x48,_0x49cce5[_0x2016f8(0x20a)]);if(_0x49cce5[_0x2016f8(0x241)]!==undefined)_0x4a1ae9+=pairI(0x49,_0x49cce5[_0x2016f8(0x241)]);if(_0x49cce5[_0x2016f8(0x275)]!==undefined)_0x4a1ae9+=pairI(0x4a,_0x49cce5[_0x2016f8(0x275)]);if(_0x49cce5[_0x2016f8(0x25a)]!==undefined)_0x4a1ae9+=pairI(0x4b,_0x49cce5[_0x2016f8(0x25a)]);if(_0x49cce5[_0x2016f8(0x1a6)])_0x4a1ae9+=pairF(0x28,_0x49cce5['textHeight']);if(_0x49cce5[_0x2016f8(0x28a)])_0x4a1ae9+=pairF(0x29,_0x49cce5[_0x2016f8(0x28a)]);const _0x2c0d30=_0x49cce5[_0x2016f8(0x253)]||[];_0x4a1ae9+=pairI(0x4c,_0x2c0d30['length']);for(const _0x8b0392 of _0x2c0d30){_0x4a1ae9+=writePoint3D(0xa,_0x8b0392);}if(_0x49cce5[_0x2016f8(0x229)])_0x4a1ae9+=pair(0x154,_0x49cce5[_0x2016f8(0x229)]);return _0x49cce5[_0x2016f8(0x1b6)]&&(_0x4a1ae9+=pairF(0xd2,_0x49cce5[_0x2016f8(0x1b6)]['x']),_0x4a1ae9+=pairF(0xdc,_0x49cce5[_0x2016f8(0x1b6)]['y']),_0x4a1ae9+=pairF(0xe6,_0x49cce5[_0x2016f8(0x1b6)]['z'])),_0x49cce5[_0x2016f8(0x26f)]&&(_0x4a1ae9+=pairF(0xd3,_0x49cce5[_0x2016f8(0x26f)]['x']),_0x4a1ae9+=pairF(0xdd,_0x49cce5['horizontalDirection']['y']),_0x4a1ae9+=pairF(0xe7,_0x49cce5[_0x2016f8(0x26f)]['z'])),_0x4a1ae9;}function writeMLeaderEntity(_0x2a007a){const _0x57953b=_0x4940;let _0x56b72e=pair(0x64,_0x57953b(0x270));if(_0x2a007a[_0x57953b(0x19a)])_0x56b72e+=pair(0x3,_0x2a007a[_0x57953b(0x19a)]);if(_0x2a007a[_0x57953b(0x265)]!==undefined)_0x56b72e+=pairI(0xaa,_0x2a007a[_0x57953b(0x265)]);if(_0x2a007a['text'])_0x56b72e+=pair(0x130,_0x2a007a['text']);if(_0x2a007a[_0x57953b(0x1e1)])_0x56b72e+=pair(0x154,_0x2a007a[_0x57953b(0x1e1)]);if(_0x2a007a['doglegLength'])_0x56b72e+=pairF(0x28,_0x2a007a[_0x57953b(0x281)]);if(_0x2a007a[_0x57953b(0x1d3)])_0x56b72e+=pairF(0x29,_0x2a007a['arrowheadSize']);if(_0x2a007a[_0x57953b(0x1a6)])_0x56b72e+=pairF(0x2a,_0x2a007a[_0x57953b(0x1a6)]);if(_0x2a007a[_0x57953b(0x195)])for(const _0x3b4ba0 of _0x2a007a[_0x57953b(0x195)]){_0x56b72e+=writePoint3D(0xa,_0x3b4ba0);}return _0x56b72e;}function writeHatchEntity(_0x5b6421){const _0x3b818f=_0x4940;let _0x308ea9=pair(0x64,_0x3b818f(0x217));_0x308ea9+=pairF(0xa,0x0),_0x308ea9+=pairF(0x14,0x0),_0x308ea9+=pairF(0x1e,_0x5b6421[_0x3b818f(0x1e2)]||0x0),_0x308ea9+=writeExtrusion(_0x5b6421[_0x3b818f(0x1d0)]),_0x308ea9+=pair(0x2,_0x5b6421[_0x3b818f(0x248)]||''),_0x308ea9+=pairI(0x46,_0x5b6421[_0x3b818f(0x256)]?0x1:0x0),_0x308ea9+=pairI(0x47,_0x5b6421[_0x3b818f(0x1e5)]?0x1:0x0);const _0x5703d8=_0x5b6421['boundaryPaths']||[];_0x308ea9+=pairI(0x5b,_0x5703d8[_0x3b818f(0x1ec)]);for(const _0x7b356a of _0x5703d8){_0x308ea9+=pairI(0x5c,_0x7b356a[_0x3b818f(0x1ed)]||0x0);if(_0x7b356a[_0x3b818f(0x277)]&&_0x7b356a[_0x3b818f(0x277)]['length']>0x0){_0x308ea9+=pairI(0x5d,_0x7b356a['points'][_0x3b818f(0x1ec)]);for(const _0xb29cab of _0x7b356a[_0x3b818f(0x277)]){_0x308ea9+=pairF(0xa,_0xb29cab['x']),_0x308ea9+=pairF(0x14,_0xb29cab['y']||0x0);}}}_0x308ea9+=pairI(0x4b,_0x5b6421[_0x3b818f(0x1de)]||0x0),_0x308ea9+=pairI(0x4c,_0x5b6421[_0x3b818f(0x1b8)]||0x0);if(!_0x5b6421[_0x3b818f(0x256)]){if(_0x5b6421['patternAngle'])_0x308ea9+=pairF(0x34,_0x5b6421[_0x3b818f(0x185)]);if(_0x5b6421['patternScale'])_0x308ea9+=pairF(0x29,_0x5b6421['patternScale']);}const _0x4ceba8=_0x5b6421[_0x3b818f(0x197)]||[];_0x308ea9+=pairI(0x62,_0x4ceba8[_0x3b818f(0x1ec)]);for(const _0x8f2f34 of _0x4ceba8){_0x308ea9+=pairF(0xa,_0x8f2f34['x']),_0x308ea9+=pairF(0x14,_0x8f2f34['y']||0x0);}return _0x308ea9;}function writeSplineEntity(_0x38d1b4){const _0x238a11=_0x4940;let _0x545f44=pair(0x64,_0x238a11(0x172));_0x38d1b4[_0x238a11(0x1b6)]&&(_0x545f44+=pairF(0xd2,_0x38d1b4[_0x238a11(0x1b6)]['x']),_0x545f44+=pairF(0xdc,_0x38d1b4['normal']['y']),_0x545f44+=pairF(0xe6,_0x38d1b4['normal']['z']));let _0x46344f=_0x38d1b4['flags']||0x0;if(_0x38d1b4[_0x238a11(0x1e3)])_0x46344f|=0x1;if(_0x38d1b4[_0x238a11(0x260)])_0x46344f|=0x2;if(_0x38d1b4[_0x238a11(0x181)])_0x46344f|=0x4;if(_0x38d1b4[_0x238a11(0x263)])_0x46344f|=0x8;_0x545f44+=pairI(0x46,_0x46344f),_0x545f44+=pairI(0x47,_0x38d1b4[_0x238a11(0x1a7)]||0x3);const _0xbba1ac=_0x38d1b4[_0x238a11(0x1ba)]||[],_0x16cb99=_0x38d1b4[_0x238a11(0x175)]||[],_0x571f67=_0x38d1b4[_0x238a11(0x25c)]||[];_0x545f44+=pairI(0x48,_0xbba1ac[_0x238a11(0x1ec)]),_0x545f44+=pairI(0x49,_0x16cb99[_0x238a11(0x1ec)]),_0x545f44+=pairI(0x4a,_0x571f67[_0x238a11(0x1ec)]);if(_0x38d1b4[_0x238a11(0x1b4)])_0x545f44+=pairF(0x2a,_0x38d1b4[_0x238a11(0x1b4)]);if(_0x38d1b4[_0x238a11(0x24a)])_0x545f44+=pairF(0x2b,_0x38d1b4[_0x238a11(0x24a)]);if(_0x38d1b4[_0x238a11(0x20b)])_0x545f44+=pairF(0x2c,_0x38d1b4[_0x238a11(0x20b)]);if(_0x38d1b4['startTangent'])_0x545f44+=writePoint3D(0xc,_0x38d1b4['startTangent']);if(_0x38d1b4['endTangent'])_0x545f44+=writePoint3D(0xd,_0x38d1b4[_0x238a11(0x243)]);for(const _0x447cb1 of _0xbba1ac){_0x545f44+=pairF(0x28,_0x447cb1);}if(_0x38d1b4[_0x238a11(0x21d)])for(const _0x2f510e of _0x38d1b4[_0x238a11(0x21d)]){_0x545f44+=pairF(0x29,_0x2f510e);}for(const _0x2a8ddf of _0x16cb99){_0x545f44+=writePoint3D(0xa,_0x2a8ddf);}for(const _0x341054 of _0x571f67){_0x545f44+=writePoint3D(0xb,_0x341054);}return _0x545f44;}function writeSolidEntity(_0x2d72ea){const _0x34d5e0=_0x4940;let _0x297743=_0x34d5e0(0x212);if(_0x2d72ea[_0x34d5e0(0x1ed)]===_0x34d5e0(0x198))_0x297743='AcDbTrace';else {if(_0x2d72ea[_0x34d5e0(0x1ed)]==='3DSOLID')_0x297743=_0x34d5e0(0x20c);}let _0x5a07c9=pair(0x64,_0x297743);const _0x31fee1=_0x2d72ea[_0x34d5e0(0x277)]||[];if(_0x31fee1[0x0])_0x5a07c9+=writePoint3D(0xa,_0x31fee1[0x0]);if(_0x31fee1[0x1])_0x5a07c9+=writePoint3D(0xb,_0x31fee1[0x1]);if(_0x31fee1[0x2])_0x5a07c9+=writePoint3D(0xc,_0x31fee1[0x2]);if(_0x31fee1[0x3])_0x5a07c9+=writePoint3D(0xd,_0x31fee1[0x3]);if(_0x2d72ea['thickness'])_0x5a07c9+=pairF(0x27,_0x2d72ea[_0x34d5e0(0x1c1)]);return _0x5a07c9+=writeExtrusion(_0x2d72ea[_0x34d5e0(0x1d0)]),_0x5a07c9;}function write3DFaceEntity(_0x140a83){const _0x12a322=_0x4940;let _0x34167e=pair(0x64,_0x12a322(0x19f));const _0x11ab3f=_0x140a83[_0x12a322(0x253)]||[];if(_0x11ab3f[0x0])_0x34167e+=writePoint3D(0xa,_0x11ab3f[0x0]);if(_0x11ab3f[0x1])_0x34167e+=writePoint3D(0xb,_0x11ab3f[0x1]);if(_0x11ab3f[0x2])_0x34167e+=writePoint3D(0xc,_0x11ab3f[0x2]);if(_0x11ab3f[0x3])_0x34167e+=writePoint3D(0xd,_0x11ab3f[0x3]);if(_0x140a83[_0x12a322(0x1f0)])_0x34167e+=pairI(0x46,_0x140a83[_0x12a322(0x1f0)]);return _0x34167e;}function writeRayEntity(_0x158959){const _0x341608=_0x4940,_0xb042ec=_0x158959[_0x341608(0x1ed)]==='RAY'?_0x341608(0x262):_0x341608(0x268);let _0x196c55=pair(0x64,_0xb042ec);return _0x196c55+=writePoint3D(0xa,_0x158959[_0x341608(0x1a4)]),_0x196c55+=writePoint3D(0xb,_0x158959[_0x341608(0x1fc)]),_0x196c55;}function writeViewportEntity(_0x580223){const _0x23238c=_0x4940;let _0x4d1e6a=pair(0x64,'AcDbViewport');_0x4d1e6a+=writePoint3D(0xa,_0x580223['center']),_0x4d1e6a+=pairF(0x28,_0x580223[_0x23238c(0x24e)]),_0x4d1e6a+=pairF(0x29,_0x580223[_0x23238c(0x22c)]);if(_0x580223['id'])_0x4d1e6a+=pairI(0x45,_0x580223['id']);if(_0x580223[_0x23238c(0x27c)])_0x4d1e6a+=writePoint2D(0xc,_0x580223[_0x23238c(0x27c)]);if(_0x580223[_0x23238c(0x1c2)])_0x4d1e6a+=writePoint2D(0xd,_0x580223[_0x23238c(0x1c2)]);if(_0x580223['snapSpacing'])_0x4d1e6a+=writePoint2D(0xe,_0x580223[_0x23238c(0x24d)]);if(_0x580223[_0x23238c(0x1c5)])_0x4d1e6a+=writePoint2D(0xf,_0x580223[_0x23238c(0x1c5)]);_0x4d1e6a+=writePoint3D(0x10,_0x580223[_0x23238c(0x278)]),_0x4d1e6a+=writePoint3D(0x11,_0x580223[_0x23238c(0x17e)]);if(_0x580223[_0x23238c(0x1c3)])_0x4d1e6a+=pairF(0x2a,_0x580223[_0x23238c(0x1c3)]);if(_0x580223[_0x23238c(0x206)])_0x4d1e6a+=pairF(0x2b,_0x580223[_0x23238c(0x206)]);if(_0x580223[_0x23238c(0x27a)])_0x4d1e6a+=pairF(0x2c,_0x580223[_0x23238c(0x27a)]);if(_0x580223[_0x23238c(0x1c7)])_0x4d1e6a+=pairF(0x2d,_0x580223[_0x23238c(0x1c7)]);if(_0x580223[_0x23238c(0x213)])_0x4d1e6a+=pairF(0x32,_0x580223[_0x23238c(0x213)]);if(_0x580223[_0x23238c(0x27e)])_0x4d1e6a+=pairF(0x33,_0x580223[_0x23238c(0x27e)]);if(_0x580223[_0x23238c(0x184)])_0x4d1e6a+=pairI(0x44,_0x580223[_0x23238c(0x184)]);if(_0x580223['frozenLayers'])for(const _0x23aa72 of _0x580223[_0x23238c(0x176)]){_0x4d1e6a+=pair(0x14b,_0x23aa72);}if(_0x580223[_0x23238c(0x18c)])_0x4d1e6a+=pair(0x154,_0x580223[_0x23238c(0x18c)]);return _0x4d1e6a;}function writeImageEntity(_0x4f217e){const _0x33453c=_0x4940;let _0x157dc6=pair(0x64,_0x4f217e[_0x33453c(0x1ed)]===_0x33453c(0x27d)?_0x33453c(0x224):_0x33453c(0x1af));_0x157dc6+=writePoint3D(0xa,_0x4f217e[_0x33453c(0x23b)]),_0x157dc6+=writePoint3D(0xb,_0x4f217e[_0x33453c(0x25d)]),_0x157dc6+=writePoint3D(0xc,_0x4f217e[_0x33453c(0x23d)]),_0x157dc6+=pairF(0xd,_0x4f217e[_0x33453c(0x264)]?_0x4f217e['imageSize']['u']:0x0),_0x157dc6+=pairF(0x17,_0x4f217e[_0x33453c(0x264)]?_0x4f217e[_0x33453c(0x264)]['v']:0x0);if(_0x4f217e[_0x33453c(0x210)])_0x157dc6+=pair(0x154,_0x4f217e[_0x33453c(0x210)]);if(_0x4f217e[_0x33453c(0x1ad)])_0x157dc6+=pairI(0x46,_0x4f217e[_0x33453c(0x1ad)]);if(_0x4f217e['clippingType'])_0x157dc6+=pairI(0x47,_0x4f217e[_0x33453c(0x196)]);if(_0x4f217e[_0x33453c(0x17d)]!==undefined)_0x157dc6+=pairI(0x118,_0x4f217e[_0x33453c(0x17d)]);if(_0x4f217e[_0x33453c(0x1ac)]!==undefined)_0x157dc6+=pairI(0x119,_0x4f217e[_0x33453c(0x1ac)]);if(_0x4f217e[_0x33453c(0x1e4)]!==undefined)_0x157dc6+=pairI(0x11a,_0x4f217e[_0x33453c(0x1e4)]);if(_0x4f217e['clippingVertices'])for(const _0x2f83c6 of _0x4f217e[_0x33453c(0x21a)]){_0x157dc6+=pairF(0xe,_0x2f83c6['x']),_0x157dc6+=pairF(0x18,_0x2f83c6['y']||0x0);}return _0x157dc6;}function writeToleranceEntity(_0x3d9ebc){const _0x377483=_0x4940;let _0x726901=pair(0x64,_0x377483(0x22e));if(_0x3d9ebc[_0x377483(0x19a)])_0x726901+=pair(0x3,_0x3d9ebc['styleName']);_0x726901+=writePoint3D(0xa,_0x3d9ebc[_0x377483(0x23b)]);if(_0x3d9ebc['text'])_0x726901+=pair(0x1,_0x3d9ebc['text']);return _0x726901+=writePoint3D(0xb,_0x3d9ebc['direction']),_0x726901;}function writeHelixEntity(_0x5ce0cd){const _0x88acfb=_0x4940;let _0x3974f8=pair(0x64,_0x88acfb(0x1ab));_0x3974f8+=writePoint3D(0xa,_0x5ce0cd['axisBasePoint']),_0x3974f8+=writePoint3D(0xb,_0x5ce0cd[_0x88acfb(0x1fb)]),_0x3974f8+=writePoint3D(0xc,_0x5ce0cd[_0x88acfb(0x1e8)]),_0x3974f8+=pairF(0x28,_0x5ce0cd[_0x88acfb(0x227)]),_0x3974f8+=pairF(0x29,_0x5ce0cd[_0x88acfb(0x283)]),_0x3974f8+=pairF(0x2a,_0x5ce0cd['turnHeight']);if(_0x5ce0cd['handedness']!==undefined)_0x3974f8+=pairI(0x122,_0x5ce0cd['handedness']);if(_0x5ce0cd['constraint']!==undefined)_0x3974f8+=pairI(0x118,_0x5ce0cd['constraint']);return _0x3974f8;}function writeMeshEntity(_0x5d691c){const _0x343375=_0x4940;let _0x205017=pair(0x64,_0x343375(0x1c0));_0x205017+=pairI(0x47,_0x5d691c[_0x343375(0x1f5)]||0x2),_0x205017+=pairI(0x48,_0x5d691c[_0x343375(0x1b0)]||0x0);const _0x38799c=_0x5d691c[_0x343375(0x253)]||[];_0x205017+=pairI(0x5b,_0x38799c['length']);for(const _0x190571 of _0x38799c){_0x205017+=writePoint3D(0xa,_0x190571);}const _0x309f60=_0x5d691c[_0x343375(0x237)]||[];_0x205017+=pairI(0x5c,_0x309f60[_0x343375(0x1ec)]);for(const _0x30955e of _0x309f60){_0x205017+=pairI(0x5a,_0x30955e);}const _0x59bffe=_0x5d691c['edges']||[];_0x205017+=pairI(0x5d,_0x59bffe[_0x343375(0x1ec)]);for(const _0x315e3e of _0x59bffe){_0x205017+=pairI(0x5a,_0x315e3e);}const _0xc471a4=_0x5d691c[_0x343375(0x26e)]||[];_0x205017+=pairI(0x5e,_0xc471a4[_0x343375(0x1ec)]);for(const _0x3f96b2 of _0xc471a4){_0x205017+=pairF(0x8c,_0x3f96b2);}return _0x205017;}function _0x4940(_0x1126aa,_0x14e928){_0x1126aa=_0x1126aa-0x172;const _0x562943=_0x5629();let _0x49405f=_0x562943[_0x1126aa];return _0x49405f;}function writeRegionEntity(_0x2f33a9){const _0x1dd3b2=_0x4940;let _0x5cf458='AcDbRegion';if(_0x2f33a9[_0x1dd3b2(0x1ed)]===_0x1dd3b2(0x1ff))_0x5cf458='AcDbBody';else {if(_0x2f33a9[_0x1dd3b2(0x1ed)]===_0x1dd3b2(0x232))_0x5cf458=_0x1dd3b2(0x239);}let _0xf904e9=pair(0x64,_0x5cf458);if(_0x2f33a9[_0x1dd3b2(0x286)]!==undefined)_0xf904e9+=pairI(0x46,_0x2f33a9['modelerFormat']);const _0x47a82b=_0x2f33a9[_0x1dd3b2(0x1dd)]||(_0x2f33a9[_0x1dd3b2(0x284)]||[])['join']('');if(_0x47a82b){let _0x377a1d=_0x47a82b;while(_0x377a1d[_0x1dd3b2(0x1ec)]>0xff){_0xf904e9+=pair(0x3,_0x377a1d[_0x1dd3b2(0x249)](0x0,0xff)),_0x377a1d=_0x377a1d['substring'](0xff);}_0xf904e9+=pair(0x1,_0x377a1d);}return _0xf904e9;}function writeOle2Entity(_0x177fab){const _0x48d303=_0x4940;let _0x590847=pair(0x64,_0x48d303(0x1bd));_0x590847+=pairI(0x46,_0x177fab[_0x48d303(0x245)]||0x0),_0x590847+=pairI(0x47,_0x177fab['tileMode']||0x0),_0x590847+=writePoint3D(0xa,_0x177fab[_0x48d303(0x207)]),_0x590847+=writePoint3D(0xb,_0x177fab['lowerRightCorner']);if(_0x177fab[_0x48d303(0x1e9)])for(const _0x377f2b of _0x177fab[_0x48d303(0x1e9)]){_0x590847+=pair(0x1,_0x377f2b);}return _0x590847;}function writeTableEntity(_0x5ef9cc){const _0x4be94e=_0x4940;let _0x1af602=pair(0x64,_0x4be94e(0x238));if(_0x5ef9cc[_0x4be94e(0x202)])_0x1af602+=pair(0x2,_0x5ef9cc[_0x4be94e(0x202)]);_0x1af602+=writePoint3D(0xa,_0x5ef9cc[_0x4be94e(0x23b)]),_0x1af602+=pair(0x64,_0x4be94e(0x214)),_0x1af602+=writePoint3D(0xb,_0x5ef9cc['direction']);if(_0x5ef9cc[_0x4be94e(0x192)])_0x1af602+=pairI(0x5b,_0x5ef9cc[_0x4be94e(0x192)]);if(_0x5ef9cc[_0x4be94e(0x1a9)])_0x1af602+=pairI(0x5c,_0x5ef9cc[_0x4be94e(0x1a9)]);if(_0x5ef9cc[_0x4be94e(0x282)])for(const _0x3f1f01 of _0x5ef9cc[_0x4be94e(0x282)]){_0x1af602+=pairF(0x8e,_0x3f1f01);}if(_0x5ef9cc['columnWidths'])for(const _0x443af4 of _0x5ef9cc[_0x4be94e(0x285)]){_0x1af602+=pairF(0x8d,_0x443af4);}return _0x1af602;}function writeMLineEntity(_0x2ba83c){const _0x39a542=_0x4940;let _0x47446a=pair(0x64,_0x39a542(0x1e0));if(_0x2ba83c[_0x39a542(0x19a)])_0x47446a+=pair(0x2,_0x2ba83c[_0x39a542(0x19a)]);if(_0x2ba83c[_0x39a542(0x267)])_0x47446a+=pair(0x154,_0x2ba83c[_0x39a542(0x267)]);_0x47446a+=pairF(0x28,_0x2ba83c[_0x39a542(0x1fa)]||0x1),_0x47446a+=pairI(0x46,_0x2ba83c['justification']||0x0),_0x47446a+=pairI(0x47,_0x2ba83c['flags']||0x0);const _0x212cfd=_0x2ba83c[_0x39a542(0x253)]||[];_0x47446a+=pairI(0x48,_0x212cfd['length']);if(_0x2ba83c[_0x39a542(0x1f9)])_0x47446a+=pairI(0x49,_0x2ba83c['elementCount']);_0x47446a+=writePoint3D(0xa,_0x2ba83c[_0x39a542(0x1fb)]);_0x2ba83c[_0x39a542(0x1b6)]&&(_0x47446a+=pairF(0xd2,_0x2ba83c[_0x39a542(0x1b6)]['x']),_0x47446a+=pairF(0xdc,_0x2ba83c[_0x39a542(0x1b6)]['y']),_0x47446a+=pairF(0xe6,_0x2ba83c[_0x39a542(0x1b6)]['z']));for(const _0x1140fb of _0x212cfd){_0x47446a+=pairF(0xb,_0x1140fb['x']),_0x47446a+=pairF(0x15,_0x1140fb['y']),_0x47446a+=pairF(0x1f,_0x1140fb['z']||0x0);}return _0x47446a;}function writeGenericEntity(_0x3c4580){const _0x1ace87=_0x4940;let _0xef5118='';if(_0x3c4580['data'])for(const [_0x3185fd,_0x362ef9]of Object[_0x1ace87(0x1ca)](_0x3c4580[_0x1ace87(0x1dc)])){if(_0x3185fd['startsWith'](_0x1ace87(0x1be))){const _0x2f39fe=parseInt(_0x3185fd['replace'](_0x1ace87(0x1be),'')),_0x334cd9=[][_0x1ace87(0x22a)](_0x362ef9);for(const _0x5cd7f8 of _0x334cd9){_0xef5118+=pair(_0x2f39fe,_0x5cd7f8);}}}return _0xef5118;}function writeObjects(_0x59b3d5){const _0x5299ef=_0x4940;if(!_0x59b3d5||_0x59b3d5['length']===0x0)return '';let _0x36e84d=pair(0x0,_0x5299ef(0x1d6))+pair(0x2,_0x5299ef(0x204));for(const _0x4fcd8f of _0x59b3d5){_0x36e84d+=pair(0x0,_0x4fcd8f[_0x5299ef(0x1ed)]);if(_0x4fcd8f[_0x5299ef(0x174)])_0x36e84d+=pair(0x5,_0x4fcd8f[_0x5299ef(0x174)]);if(_0x4fcd8f['ownerHandle'])_0x36e84d+=pair(0x14a,_0x4fcd8f[_0x5299ef(0x1cc)]);if(_0x4fcd8f['name'])_0x36e84d+=pair(0x2,_0x4fcd8f['name']);if(_0x4fcd8f[_0x5299ef(0x1a2)]){const _0x5a5387=[]['concat'](_0x4fcd8f[_0x5299ef(0x1a2)]);for(const _0x2cab58 of _0x5a5387){_0x36e84d+=pair(0x3,_0x2cab58);}}if(_0x4fcd8f[_0x5299ef(0x183)]){const _0x22e806=[][_0x5299ef(0x22a)](_0x4fcd8f[_0x5299ef(0x183)]);for(const _0x3e9f00 of _0x22e806){_0x36e84d+=pair(0x15e,_0x3e9f00);}}if(_0x4fcd8f['hardPointer']){const _0x80f8f7=[][_0x5299ef(0x22a)](_0x4fcd8f['hardPointer']);for(const _0x1b1407 of _0x80f8f7){_0x36e84d+=pair(0x168,_0x1b1407);}}for(const [_0x5685fc,_0xe166ce]of Object['entries'](_0x4fcd8f)){if(_0x5685fc[_0x5299ef(0x1b1)](_0x5299ef(0x1be))){const _0x496feb=parseInt(_0x5685fc[_0x5299ef(0x26a)](_0x5299ef(0x1be),'')),_0x330da6=[][_0x5299ef(0x22a)](_0xe166ce);for(const _0x564fc8 of _0x330da6){_0x36e84d+=pair(_0x496feb,_0x564fc8);}}}}return _0x36e84d+=pair(0x0,_0x5299ef(0x235)),_0x36e84d;}function writeDxf(_0x4db2ea){const _0x33d007=_0x4940;let _0x25b4f5='';return _0x25b4f5+=writeHeader(_0x4db2ea[_0x33d007(0x18d)]),_0x25b4f5+=writeClasses(_0x4db2ea['classes']),_0x25b4f5+=writeTables(_0x4db2ea[_0x33d007(0x236)]),_0x25b4f5+=writeBlocks(_0x4db2ea['blocks']),_0x25b4f5+=writeEntitiesSection(_0x4db2ea[_0x33d007(0x191)]),_0x25b4f5+=writeObjects(_0x4db2ea['objects']),_0x25b4f5+=pair(0x0,_0x33d007(0x1d1)),_0x25b4f5;}async function writeDxfFile(_0x437220,_0x5874bf){const _0x24ec84=_0x4940,_0x314045=writeDxf(_0x437220);if(typeof process!=='undefined'&&process[_0x24ec84(0x205)]?.['node']){const {writeFile:_0x8475b1}=await import(_0x24ec84(0x28c));await _0x8475b1(_0x5874bf,_0x314045,_0x24ec84(0x27b));}else throw new Error(_0x24ec84(0x1cd));}function downloadDxfFile(_0x54b8ec,_0x33289a='output.dxf'){const _0x3d7291=_0x4940,_0x4b3498=writeDxf(_0x54b8ec),_0x4e1f6d=new Blob([_0x4b3498],{'type':_0x3d7291(0x25e)}),_0x3087bd=URL[_0x3d7291(0x242)](_0x4e1f6d),_0x5745f1=document[_0x3d7291(0x28d)]('a');_0x5745f1[_0x3d7291(0x1e6)]=_0x3087bd,_0x5745f1[_0x3d7291(0x23a)]=_0x33289a,_0x5745f1['click'](),URL['revokeObjectURL'](_0x3087bd);}
6
6
 
7
- (function(_0x57f58f,_0x27496b){var _0x3dc311=_0xad8c,_0x114d62=_0x57f58f();while(!![]){try{var _0x2dab9e=-parseInt(_0x3dc311(0x1d6))/0x1+-parseInt(_0x3dc311(0x1d2))/0x2+parseInt(_0x3dc311(0x1d7))/0x3*(-parseInt(_0x3dc311(0x1d0))/0x4)+parseInt(_0x3dc311(0x1d5))/0x5+-parseInt(_0x3dc311(0x1d4))/0x6+-parseInt(_0x3dc311(0x1d8))/0x7+-parseInt(_0x3dc311(0x1d3))/0x8*(-parseInt(_0x3dc311(0x1d1))/0x9);if(_0x2dab9e===_0x27496b)break;else _0x114d62['push'](_0x114d62['shift']());}catch(_0x53c061){_0x114d62['push'](_0x114d62['shift']());}}}(_0x5ed3,0x9eb98));function _0xad8c(_0x2bc13a,_0x4e6825){_0x2bc13a=_0x2bc13a-0x1d0;var _0x5ed3c2=_0x5ed3();var _0xad8c66=_0x5ed3c2[_0x2bc13a];return _0xad8c66;}function _0x5ed3(){var _0x32728f=['3921318xSNqoP','349716UcBuFc','56hSZznS','1282752sjObmH','589645PfoPEx','930241xJnwyl','494469wnJDCP','315385JMVgeK','28FAZLEJ'];_0x5ed3=function(){return _0x32728f;};return _0x5ed3();}
7
+ function _0x4dfe(_0x166e02,_0x219141){_0x166e02=_0x166e02-0x1aa;var _0x12bdd4=_0x12bd();var _0x4dfe02=_0x12bdd4[_0x166e02];return _0x4dfe02;}function _0x12bd(){var _0x3d9ba7=['326016bDBFNX','372ixoLvz','108mxVDJS','124510GoGmkb','6520385RcisvS','7xohYgd','26rwMnSp','719880xtnbTQ','20660SabRwU','1590110xInntp','110slAZtH','36kpBXQt','3200951yLqONx'];_0x12bd=function(){return _0x3d9ba7;};return _0x12bd();}(function(_0x15d144,_0x3b8bed){var _0x308ba2=_0x4dfe,_0x2ec28d=_0x15d144();while(!![]){try{var _0x18ecca=-parseInt(_0x308ba2(0x1aa))/0x1*(-parseInt(_0x308ba2(0x1ad))/0x2)+parseInt(_0x308ba2(0x1b5))/0x3*(parseInt(_0x308ba2(0x1af))/0x4)+parseInt(_0x308ba2(0x1ab))/0x5+-parseInt(_0x308ba2(0x1ae))/0x6*(-parseInt(_0x308ba2(0x1ac))/0x7)+parseInt(_0x308ba2(0x1b4))/0x8*(-parseInt(_0x308ba2(0x1b6))/0x9)+-parseInt(_0x308ba2(0x1b0))/0xa*(parseInt(_0x308ba2(0x1b1))/0xb)+parseInt(_0x308ba2(0x1b2))/0xc*(-parseInt(_0x308ba2(0x1b3))/0xd);if(_0x18ecca===_0x3b8bed)break;else _0x2ec28d['push'](_0x2ec28d['shift']());}catch(_0x5d1ac9){_0x2ec28d['push'](_0x2ec28d['shift']());}}}(_0x12bd,0xd3434));
8
8
 
9
9
  exports.downloadDxfFile = downloadDxfFile;
10
10
  exports.parseDxf = parseDxf;