dxf-kit 1.0.1 → 1.0.3

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(_0x411782,_0x16ce16){const _0x5c4ffe=_0x1204,_0x1ea9c9=_0x411782();while(!![]){try{const _0x4a10a4=-parseInt(_0x5c4ffe(0x1f5))/0x1+parseInt(_0x5c4ffe(0x2b2))/0x2*(parseInt(_0x5c4ffe(0x22a))/0x3)+parseInt(_0x5c4ffe(0x1ef))/0x4+-parseInt(_0x5c4ffe(0x2c1))/0x5+-parseInt(_0x5c4ffe(0x20b))/0x6*(parseInt(_0x5c4ffe(0x1ee))/0x7)+parseInt(_0x5c4ffe(0x212))/0x8*(-parseInt(_0x5c4ffe(0x247))/0x9)+parseInt(_0x5c4ffe(0x1ed))/0xa*(parseInt(_0x5c4ffe(0x245))/0xb);if(_0x4a10a4===_0x16ce16)break;else _0x1ea9c9['push'](_0x1ea9c9['shift']());}catch(_0x18a812){_0x1ea9c9['push'](_0x1ea9c9['shift']());}}}(_0x3de5,0x77f75));function _0x1204(_0x213df1,_0x5aa791){_0x213df1=_0x213df1-0x1c1;const _0x3de5c2=_0x3de5();let _0x1204f2=_0x3de5c2[_0x213df1];return _0x1204f2;}function tokenize(_0x262b09){const _0x457bd1=_0x1204,_0x15c9c0=_0x262b09[_0x457bd1(0x1eb)](/\r?\n/),_0x21c324=[];for(let _0x47279e=0x0;_0x47279e+0x1<_0x15c9c0[_0x457bd1(0x264)];_0x47279e+=0x2){const _0x3d37e8=parseInt(_0x15c9c0[_0x47279e][_0x457bd1(0x21e)](),0xa),_0x15b0ce=_0x15c9c0[_0x47279e+0x1][_0x457bd1(0x21e)]();_0x21c324[_0x457bd1(0x262)]({'code':_0x3d37e8,'value':_0x15b0ce});}return _0x21c324;}function autoConvert(_0x25f48a,_0x3377c7){if(_0x25f48a>=0xa&&_0x25f48a<=0x3b||_0x25f48a>=0x6e&&_0x25f48a<=0x95||_0x25f48a>=0xd2&&_0x25f48a<=0xef||_0x25f48a>=0x1cc&&_0x25f48a<=0x1d5||_0x25f48a>=0x3f2&&_0x25f48a<=0x423)return parseFloat(_0x3377c7);if(_0x25f48a>=0x3c&&_0x25f48a<=0x4f||_0x25f48a>=0x5a&&_0x25f48a<=0x63||_0x25f48a>=0xaa&&_0x25f48a<=0xb3||_0x25f48a>=0x10e&&_0x25f48a<=0x121||_0x25f48a>=0x172&&_0x25f48a<=0x185||_0x25f48a>=0x190&&_0x25f48a<=0x199||_0x25f48a>=0x424&&_0x25f48a<=0x437)return parseInt(_0x3377c7,0xa);return _0x3377c7;}function splitSections(_0x20cda7){const _0x37ab35=_0x1204,_0x3269ff={};let _0x164c43=0x0;while(_0x164c43<_0x20cda7['length']){if(_0x20cda7[_0x164c43][_0x37ab35(0x2b5)]===0x0&&_0x20cda7[_0x164c43][_0x37ab35(0x298)]==='SECTION'){_0x164c43++;const _0x1828a7=_0x20cda7[_0x164c43]['value'];_0x164c43++;const _0x274292=_0x164c43;while(_0x164c43<_0x20cda7[_0x37ab35(0x264)]&&!(_0x20cda7[_0x164c43]['code']===0x0&&_0x20cda7[_0x164c43][_0x37ab35(0x298)]===_0x37ab35(0x246))){_0x164c43++;}_0x3269ff[_0x1828a7]=_0x20cda7[_0x37ab35(0x267)](_0x274292,_0x164c43),_0x164c43++;}else _0x164c43++;}return _0x3269ff;}function parseHeader(_0xfe8adf){const _0x3853b5=_0x1204;if(!_0xfe8adf||_0xfe8adf['length']===0x0)return {};const _0x29712d={};let _0x167696=0x0;while(_0x167696<_0xfe8adf[_0x3853b5(0x264)]){if(_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]===0x9){const _0x5f0508=_0xfe8adf[_0x167696]['value'];_0x167696++;const _0x17f31a={};while(_0x167696<_0xfe8adf[_0x3853b5(0x264)]&&_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]!==0x9&&_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]!==0x0){_0x17f31a[_0xfe8adf[_0x167696][_0x3853b5(0x2b5)]]=autoConvert(_0xfe8adf[_0x167696]['code'],_0xfe8adf[_0x167696]['value']),_0x167696++;}const _0x29f14c=Object[_0x3853b5(0x277)](_0x17f31a);_0x29712d[_0x5f0508]=_0x29f14c[_0x3853b5(0x264)]===0x1?_0x17f31a[_0x29f14c[0x0]]:_0x17f31a;}else _0x167696++;}return _0x29712d;}function parseClasses(_0x5dfcc9){const _0xf53f93=_0x1204;if(!_0x5dfcc9||_0x5dfcc9[_0xf53f93(0x264)]===0x0)return [];const _0xb0481=[];let _0x2fef73=0x0;while(_0x2fef73<_0x5dfcc9[_0xf53f93(0x264)]){if(_0x5dfcc9[_0x2fef73][_0xf53f93(0x2b5)]===0x0&&_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)]===_0xf53f93(0x1e9)){_0x2fef73++;const _0xbf45e9={};while(_0x2fef73<_0x5dfcc9[_0xf53f93(0x264)]&&_0x5dfcc9[_0x2fef73][_0xf53f93(0x2b5)]!==0x0){switch(_0x5dfcc9[_0x2fef73]['code']){case 0x1:_0xbf45e9[_0xf53f93(0x1ff)]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];break;case 0x2:_0xbf45e9[_0xf53f93(0x286)]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];break;case 0x3:_0xbf45e9[_0xf53f93(0x1ea)]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];break;case 0x5a:_0xbf45e9['proxyCapabilities']=parseInt(_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)],0xa);break;case 0x5b:_0xbf45e9[_0xf53f93(0x234)]=parseInt(_0x5dfcc9[_0x2fef73]['value'],0xa);break;case 0x118:_0xbf45e9[_0xf53f93(0x1e0)]=parseInt(_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)],0xa);break;case 0x119:_0xbf45e9[_0xf53f93(0x1d3)]=parseInt(_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)],0xa);break;default:_0xbf45e9[_0xf53f93(0x2ad)+_0x5dfcc9[_0x2fef73][_0xf53f93(0x2b5)]]=_0x5dfcc9[_0x2fef73][_0xf53f93(0x298)];}_0x2fef73++;}_0xb0481[_0xf53f93(0x262)](_0xbf45e9);}else _0x2fef73++;}return _0xb0481;}function parseTables(_0x35023a){const _0x37fb38=_0x1204;if(!_0x35023a||_0x35023a[_0x37fb38(0x264)]===0x0)return {};const _0x163218={};let _0x4fae6d=0x0;while(_0x4fae6d<_0x35023a['length']){if(_0x35023a[_0x4fae6d][_0x37fb38(0x2b5)]===0x0&&_0x35023a[_0x4fae6d]['value']===_0x37fb38(0x2ae)){_0x4fae6d++;const _0x184ccb=_0x35023a[_0x4fae6d][_0x37fb38(0x298)];_0x4fae6d++;const _0x5b4676=_0x4fae6d;while(_0x4fae6d<_0x35023a[_0x37fb38(0x264)]&&!(_0x35023a[_0x4fae6d]['code']===0x0&&_0x35023a[_0x4fae6d][_0x37fb38(0x298)]===_0x37fb38(0x21d))){_0x4fae6d++;}_0x163218[_0x184ccb]=parseTableEntries(_0x184ccb,_0x35023a['slice'](_0x5b4676,_0x4fae6d)),_0x4fae6d++;}else _0x4fae6d++;}return _0x163218;}function parseTableEntries(_0x4a1f06,_0x44076c){const _0x1af0ad=_0x1204,_0x47d344=[];let _0x31e642=0x0;while(_0x31e642<_0x44076c[_0x1af0ad(0x264)]){if(_0x44076c[_0x31e642]['code']===0x0){const _0x3e4c0b=_0x44076c[_0x31e642][_0x1af0ad(0x298)];_0x31e642++;const _0x47a193={'_type':_0x3e4c0b};while(_0x31e642<_0x44076c[_0x1af0ad(0x264)]&&_0x44076c[_0x31e642][_0x1af0ad(0x2b5)]!==0x0){const _0x4954a6=_0x44076c[_0x31e642][_0x1af0ad(0x2b5)],_0xa578bd=autoConvert(_0x4954a6,_0x44076c[_0x31e642][_0x1af0ad(0x298)]);switch(_0x4954a6){case 0x2:_0x47a193[_0x1af0ad(0x222)]=_0xa578bd;break;case 0x5:_0x47a193['handle']=_0xa578bd;break;case 0x6:_0x47a193[_0x1af0ad(0x26a)]=_0xa578bd;break;case 0x7:_0x47a193[_0x1af0ad(0x25d)]=_0xa578bd;break;case 0x3e:_0x47a193[_0x1af0ad(0x1f0)]=_0xa578bd;break;case 0x46:_0x47a193[_0x1af0ad(0x2c5)]=_0xa578bd;break;case 0x28:_0x47a193[_0x1af0ad(0x233)]=_0xa578bd;break;case 0x29:_0x47a193[_0x1af0ad(0x2c6)]=_0xa578bd;break;case 0x32:_0x47a193[_0x1af0ad(0x20a)]=_0xa578bd;break;case 0x64:_0x47a193[_0x1af0ad(0x29a)]=_0x47a193[_0x1af0ad(0x29a)]?[][_0x1af0ad(0x1f3)](_0x47a193[_0x1af0ad(0x29a)],_0xa578bd):_0xa578bd;break;case 0x14a:_0x47a193[_0x1af0ad(0x2bc)]=_0xa578bd;break;case 0x172:_0x47a193[_0x1af0ad(0x2a0)]=_0xa578bd;break;case 0x186:_0x47a193[_0x1af0ad(0x2a1)]=_0xa578bd;break;default:_0x47a193[_0x1af0ad(0x2ad)+_0x4954a6]!==undefined?_0x47a193['code_'+_0x4954a6]=[]['concat'](_0x47a193[_0x1af0ad(0x2ad)+_0x4954a6],_0xa578bd):_0x47a193['code_'+_0x4954a6]=_0xa578bd;}_0x31e642++;}_0x47d344[_0x1af0ad(0x262)](_0x47a193);}else _0x31e642++;}return _0x47d344;}function parseBlocks(_0x421ab3){const _0x4dc0d9=_0x1204;if(!_0x421ab3||_0x421ab3['length']===0x0)return [];const _0x36b98b=[];let _0x1698ed=0x0;while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]){if(_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]===0x0&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]==='BLOCK'){_0x1698ed++;const _0x3691c2={'entities':[]};while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]!==0x0){switch(_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]){case 0x2:_0x3691c2[_0x4dc0d9(0x222)]=_0x421ab3[_0x1698ed]['value'];break;case 0x3:_0x3691c2['name2']=_0x421ab3[_0x1698ed]['value'];break;case 0x5:_0x3691c2['handle']=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];break;case 0x8:_0x3691c2['layer']=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];break;case 0xa:_0x3691c2[_0x4dc0d9(0x203)]=parseFloat(_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]);break;case 0x14:_0x3691c2[_0x4dc0d9(0x297)]=parseFloat(_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]);break;case 0x1e:_0x3691c2[_0x4dc0d9(0x1d7)]=parseFloat(_0x421ab3[_0x1698ed]['value']);break;case 0x46:_0x3691c2['flags']=parseInt(_0x421ab3[_0x1698ed]['value'],0xa);break;case 0x64:break;case 0x14a:_0x3691c2['ownerHandle']=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];break;default:_0x3691c2[_0x4dc0d9(0x2ad)+_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]]=_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)];}_0x1698ed++;}const _0x3ec043=[];while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]&&!(_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]===0x0&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x298)]==='ENDBLK')){_0x3ec043[_0x4dc0d9(0x262)](_0x421ab3[_0x1698ed]),_0x1698ed++;}if(_0x3ec043[_0x4dc0d9(0x264)]>0x0)_0x3691c2['entities']=parseEntityList(_0x3ec043);if(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]){_0x1698ed++;while(_0x1698ed<_0x421ab3[_0x4dc0d9(0x264)]&&_0x421ab3[_0x1698ed][_0x4dc0d9(0x2b5)]!==0x0)_0x1698ed++;}_0x36b98b[_0x4dc0d9(0x262)](_0x3691c2);}else _0x1698ed++;}return _0x36b98b;}function parseEntityList(_0x21308c){const _0x5c916e=_0x1204,_0x9ea50b=[];let _0x331714=0x0;while(_0x331714<_0x21308c[_0x5c916e(0x264)]){if(_0x21308c[_0x331714][_0x5c916e(0x2b5)]===0x0){const _0x3e822a=_0x21308c[_0x331714][_0x5c916e(0x298)];_0x331714++;const _0x11bced=[];while(_0x331714<_0x21308c[_0x5c916e(0x264)]&&_0x21308c[_0x331714][_0x5c916e(0x2b5)]!==0x0){_0x11bced[_0x5c916e(0x262)](_0x21308c[_0x331714]),_0x331714++;}const _0x54b26c=parseOneEntity(_0x3e822a,_0x11bced);if(_0x54b26c)_0x9ea50b[_0x5c916e(0x262)](_0x54b26c);}else _0x331714++;}return _0x9ea50b;}function parseOneEntity(_0x108c1c,_0x439360){const _0x36b147=_0x1204,_0x2336e5={'type':_0x108c1c};for(const _0x4b585d of _0x439360){switch(_0x4b585d[_0x36b147(0x2b5)]){case 0x5:_0x2336e5[_0x36b147(0x291)]=_0x4b585d[_0x36b147(0x298)];break;case 0x8:_0x2336e5[_0x36b147(0x2bf)]=_0x4b585d[_0x36b147(0x298)];break;case 0x6:_0x2336e5['linetypeName']=_0x4b585d[_0x36b147(0x298)];break;case 0x30:_0x2336e5[_0x36b147(0x28e)]=parseFloat(_0x4b585d[_0x36b147(0x298)]);break;case 0x3c:_0x2336e5[_0x36b147(0x207)]=parseInt(_0x4b585d['value'],0xa)===0x0;break;case 0x3e:_0x2336e5[_0x36b147(0x1f0)]=parseInt(_0x4b585d[_0x36b147(0x298)],0xa);break;case 0x43:_0x2336e5['inPaperSpace']=parseInt(_0x4b585d[_0x36b147(0x298)],0xa)===0x1;break;case 0x14a:_0x2336e5[_0x36b147(0x2bc)]=_0x4b585d[_0x36b147(0x298)];break;case 0x172:_0x2336e5[_0x36b147(0x2a0)]=parseInt(_0x4b585d['value'],0xa);break;case 0x1a4:_0x2336e5[_0x36b147(0x201)]=parseInt(_0x4b585d[_0x36b147(0x298)],0xa);break;}}switch(_0x108c1c){case 'LINE':return parseLineEntity(_0x2336e5,_0x439360);case _0x36b147(0x242):return parseLWPolylineEntity(_0x2336e5,_0x439360);case _0x36b147(0x1f9):return parsePolylineEntity(_0x2336e5,_0x439360);case _0x36b147(0x1f6):return parseVertexEntity(_0x2336e5,_0x439360);case 'ARC':return parseArcEntity(_0x2336e5,_0x439360);case _0x36b147(0x295):return parseCircleEntity(_0x2336e5,_0x439360);case _0x36b147(0x221):return parseEllipseEntity(_0x2336e5,_0x439360);case 'POINT':return parsePointEntity(_0x2336e5,_0x439360);case _0x36b147(0x1d0):return parseTextEntity(_0x2336e5,_0x439360);case _0x36b147(0x2ca):return parseMTextEntity(_0x2336e5,_0x439360);case _0x36b147(0x28c):return parseAttribEntity(_0x2336e5,_0x439360);case 'ATTDEF':return parseAttribEntity(_0x2336e5,_0x439360);case _0x36b147(0x235):return parseInsertEntity(_0x2336e5,_0x439360);case 'DIMENSION':return parseDimensionEntity(_0x2336e5,_0x439360);case _0x36b147(0x239):return parseLeaderEntity(_0x2336e5,_0x439360);case _0x36b147(0x1fc):return parseMLeaderEntity(_0x2336e5,_0x439360);case 'HATCH':return parseHatchEntity(_0x2336e5,_0x439360);case _0x36b147(0x2a3):return parseSplineEntity(_0x2336e5,_0x439360);case _0x36b147(0x204):case _0x36b147(0x1d4):case _0x36b147(0x21c):return parseSolidEntity(_0x2336e5,_0x439360);case '3DFACE':return parse3DFaceEntity(_0x2336e5,_0x439360);case _0x36b147(0x25e):case _0x36b147(0x279):return parseRayEntity(_0x2336e5,_0x439360);case _0x36b147(0x1c7):return parseViewportEntity(_0x2336e5,_0x439360);case _0x36b147(0x1f4):case 'WIPEOUT':return parseImageEntity(_0x2336e5,_0x439360);case _0x36b147(0x1c9):return parseToleranceEntity(_0x2336e5,_0x439360);case _0x36b147(0x26e):return parseHelixEntity(_0x2336e5,_0x439360);case _0x36b147(0x1fa):return parseMeshEntity(_0x2336e5,_0x439360);case 'REGION':case 'BODY':case _0x36b147(0x2c2):return parseRegionEntity(_0x2336e5,_0x439360);case 'OLE2FRAME':return parseOle2Entity(_0x2336e5,_0x439360);case 'TABLE':return parseTableEntity(_0x2336e5,_0x439360);case 'MLINE':return parseMLineEntity(_0x2336e5,_0x439360);case 'SEQEND':return _0x2336e5;default:return parseGenericEntity(_0x2336e5,_0x439360);}}function _0x3de5(){const _0xba5558=['POINT','axisVector','version','blockName','meshMVertexCount','contrast','TEXT','viewport_list','controlPoints','isEntity','3DSOLID','softPointer','subdivisionLevel','basePointZ','error','annotationReference','faceVertex4','solid_list','lineSpacingStyle','knotTolerance','oblique','\x20—\x20','wasProxy','STANDARD','faces','vAlign','weights','lowerRightCorner','isPolyfaceMesh','upperLeftCorner','data','CLASS','appName','split','binaryData','911720FEyPkQ','232043otuIWu','2062700WpCZcQ','colorNumber','hAlign','textStyleId','concat','IMAGE','933237QooRPS','VERTEX','arrowheadSize','imageSize','POLYLINE','MESH','entryName','MLEADER','defaultEndWidth','uVector','dxfRecord','degree','trueColor','leaderPoints','basePointX','SOLID','defaultStartWidth','CLASSES','visible','majorAxisEndPoint','middleOfText','angle','30rlzdzB','periodic','elevation','image_list','definitionPoint','statusCode','invisibleEdgeFlags','16MwuCfc','acisData','other_list','columnWidths','clippingBoundary','face3d_list','textWidth','function','startPoint','points','TRACE','ENDTAB','trim','tag','constantWidth','ELLIPSE','name','textHeight','closed','scale','attributes','TABLES','contentType','columns','72DrbQgr','fade','fitTolerance','string','extrusionDirection','patternAngle','patternType','radius','OBJECTS','height','instanceCount','INSERT','clippingVertices','alignmentPoint','solid','LEADER','planar','columnCount','rowHeights','is3DMesh','insert_list','justification','style','text','LWPOLYLINE','dimensionType','test','253dLTtWZ','ENDSEC','3179367uKjAdE','handedness','knotCount','endWidth','tables','polyline_list','dimension_list','controlPointTolerance','SECTION','frozenLayers','horizontalDirection','BLOCKS','node','creationType','arrowheadFlag','patternScale','is3DPolyline','blocks','imageDefHandle','spline_list','rows','position','styleName','RAY','basePoint','endTangent','startsWith','push','startAngle','length','vVector','fitPoints','slice','leaderLength','displayFlags','linetypeName','circle_list','width','pathType','HELIX','acisDataString','MLINE','WIPEOUT','dummyY','viewCenter','ENTITIES','setEncoding','startTangent','keys','columnSpacing','XLINE','bulge','statusField','seedPoints','faceVertex1','oleType','join','hasAttributes','ellipse_list','vertexCount','3DFACE','type','hatch_list','cppClassName','faceVertex2','faceVertex3','hardPointer','dummyX','fs/promises','ATTRIB','fitPointCount','linetypeScale','endAngle','utf-8','handle','viewHeight','SEQEND','controlPointCount','CIRCLE','endPoint','basePointY','value','viewTarget','subclassMarker','rowCount','point2','turnHeight','includes','当前环境不支持\x20HTTP\x20请求','lineweight','plotStyleHandle','axisRatio','SPLINE','viewTwistAngle','knots','attachmentPoint','ARC','vertices','doglegLength','drawingDirection','brightness','rational','code_','TABLE','entities','undefined','constraint','30432IlKGDk','point_list','insertionPoint','code','edges','HTTP\x20','end','normal','LINE','arc_list','ownerHandle','clippingType','boundaryPaths','layer','startWidth','3404630ZovUQz','SURFACE','thickness','status','flags','widthFactor','point1','line_list','turns','MTEXT','lineSpacing','patternName','layers','center','https','Defpoints','rotation','generationFlags','HATCH','tileMode','direction','prompt','VIEWPORT','axisBasePoint','TOLERANCE'];_0x3de5=function(){return _0xba5558;};return _0x3de5();}function parseLineEntity(_0x3afaff,_0x25b350){const _0x4218c9=_0x1204;_0x3afaff[_0x4218c9(0x21a)]={'x':0x0,'y':0x0,'z':0x0},_0x3afaff[_0x4218c9(0x296)]={'x':0x0,'y':0x0,'z':0x0},_0x3afaff[_0x4218c9(0x2c3)]=0x0,_0x3afaff[_0x4218c9(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x2fa8ee of _0x25b350){switch(_0x2fa8ee['code']){case 0xa:_0x3afaff[_0x4218c9(0x21a)]['x']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x14:_0x3afaff[_0x4218c9(0x21a)]['y']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x1e:_0x3afaff['startPoint']['z']=parseFloat(_0x2fa8ee['value']);break;case 0xb:_0x3afaff[_0x4218c9(0x296)]['x']=parseFloat(_0x2fa8ee['value']);break;case 0x15:_0x3afaff[_0x4218c9(0x296)]['y']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x1f:_0x3afaff[_0x4218c9(0x296)]['z']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;case 0x27:_0x3afaff[_0x4218c9(0x2c3)]=parseFloat(_0x2fa8ee['value']);break;case 0xd2:_0x3afaff[_0x4218c9(0x22e)]['x']=parseFloat(_0x2fa8ee['value']);break;case 0xdc:_0x3afaff[_0x4218c9(0x22e)]['y']=parseFloat(_0x2fa8ee['value']);break;case 0xe6:_0x3afaff['extrusionDirection']['z']=parseFloat(_0x2fa8ee[_0x4218c9(0x298)]);break;}}return _0x3afaff;}function parseLWPolylineEntity(_0x4ec9e7,_0x3601a9){const _0x3721e0=_0x1204;_0x4ec9e7['closed']=![],_0x4ec9e7[_0x3721e0(0x220)]=0x0,_0x4ec9e7['elevation']=0x0,_0x4ec9e7['thickness']=0x0,_0x4ec9e7[_0x3721e0(0x2a8)]=[],_0x4ec9e7[_0x3721e0(0x22e)]={'x':0x0,'y':0x0,'z':0x1};let _0x21207f=null;for(const _0x3d1770 of _0x3601a9){switch(_0x3d1770[_0x3721e0(0x2b5)]){case 0x46:_0x4ec9e7[_0x3721e0(0x224)]=(parseInt(_0x3d1770[_0x3721e0(0x298)],0xa)&0x1)===0x1;break;case 0x26:_0x4ec9e7[_0x3721e0(0x20d)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x27:_0x4ec9e7[_0x3721e0(0x2c3)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x2b:_0x4ec9e7[_0x3721e0(0x220)]=parseFloat(_0x3d1770['value']);break;case 0x5a:_0x4ec9e7[_0x3721e0(0x282)]=parseInt(_0x3d1770[_0x3721e0(0x298)],0xa);break;case 0xa:if(_0x21207f)_0x4ec9e7[_0x3721e0(0x2a8)][_0x3721e0(0x262)](_0x21207f);_0x21207f={'x':parseFloat(_0x3d1770[_0x3721e0(0x298)]),'y':0x0,'bulge':0x0,'startWidth':0x0,'endWidth':0x0};break;case 0x14:if(_0x21207f)_0x21207f['y']=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x28:if(_0x21207f)_0x21207f['startWidth']=parseFloat(_0x3d1770['value']);break;case 0x29:if(_0x21207f)_0x21207f[_0x3721e0(0x24a)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0x2a:if(_0x21207f)_0x21207f[_0x3721e0(0x27a)]=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0xd2:_0x4ec9e7['extrusionDirection']['x']=parseFloat(_0x3d1770['value']);break;case 0xdc:_0x4ec9e7[_0x3721e0(0x22e)]['y']=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;case 0xe6:_0x4ec9e7[_0x3721e0(0x22e)]['z']=parseFloat(_0x3d1770[_0x3721e0(0x298)]);break;}}if(_0x21207f)_0x4ec9e7[_0x3721e0(0x2a8)][_0x3721e0(0x262)](_0x21207f);return _0x4ec9e7;}function parsePolylineEntity(_0x204511,_0x5b8d4d){const _0x51489f=_0x1204;_0x204511[_0x51489f(0x224)]=![],_0x204511['is3DPolyline']=![],_0x204511['is3DMesh']=![],_0x204511[_0x51489f(0x1e6)]=![],_0x204511[_0x51489f(0x1ce)]=0x0,_0x204511['meshNVertexCount']=0x0,_0x204511[_0x51489f(0x205)]=0x0,_0x204511[_0x51489f(0x1fd)]=0x0,_0x204511[_0x51489f(0x20d)]=0x0,_0x204511['vertices']=[];for(const _0xace95a of _0x5b8d4d){switch(_0xace95a[_0x51489f(0x2b5)]){case 0xa:_0x204511[_0x51489f(0x28a)]=parseFloat(_0xace95a['value']);break;case 0x14:_0x204511[_0x51489f(0x272)]=parseFloat(_0xace95a['value']);break;case 0x1e:_0x204511[_0x51489f(0x20d)]=parseFloat(_0xace95a[_0x51489f(0x298)]);break;case 0x27:_0x204511[_0x51489f(0x2c3)]=parseFloat(_0xace95a[_0x51489f(0x298)]);break;case 0x28:_0x204511['defaultStartWidth']=parseFloat(_0xace95a[_0x51489f(0x298)]);break;case 0x29:_0x204511['defaultEndWidth']=parseFloat(_0xace95a['value']);break;case 0x46:{const _0x58836e=parseInt(_0xace95a[_0x51489f(0x298)],0xa);_0x204511[_0x51489f(0x224)]=(_0x58836e&0x1)===0x1,_0x204511[_0x51489f(0x257)]=(_0x58836e&0x8)===0x8,_0x204511[_0x51489f(0x23d)]=(_0x58836e&0x10)===0x10,_0x204511[_0x51489f(0x1e6)]=(_0x58836e&0x40)===0x40,_0x204511[_0x51489f(0x2c5)]=_0x58836e;break;}case 0x47:_0x204511[_0x51489f(0x1ce)]=parseInt(_0xace95a[_0x51489f(0x298)],0xa);break;case 0x48:_0x204511['meshNVertexCount']=parseInt(_0xace95a[_0x51489f(0x298)],0xa);break;case 0xd2:(_0x204511[_0x51489f(0x22e)]=_0x204511[_0x51489f(0x22e)]||{})['x']=parseFloat(_0xace95a['value']);break;case 0xdc:(_0x204511[_0x51489f(0x22e)]=_0x204511[_0x51489f(0x22e)]||{})['y']=parseFloat(_0xace95a['value']);break;case 0xe6:(_0x204511['extrusionDirection']=_0x204511['extrusionDirection']||{})['z']=parseFloat(_0xace95a[_0x51489f(0x298)]);break;}}return _0x204511;}function parseVertexEntity(_0x19c15d,_0x42d141){const _0x33fa06=_0x1204;_0x19c15d[_0x33fa06(0x25c)]={'x':0x0,'y':0x0,'z':0x0},_0x19c15d[_0x33fa06(0x27a)]=0x0,_0x19c15d[_0x33fa06(0x2c0)]=0x0,_0x19c15d[_0x33fa06(0x24a)]=0x0,_0x19c15d['flags']=0x0;for(const _0x728973 of _0x42d141){switch(_0x728973[_0x33fa06(0x2b5)]){case 0xa:_0x19c15d[_0x33fa06(0x25c)]['x']=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x14:_0x19c15d[_0x33fa06(0x25c)]['y']=parseFloat(_0x728973['value']);break;case 0x1e:_0x19c15d[_0x33fa06(0x25c)]['z']=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x28:_0x19c15d[_0x33fa06(0x2c0)]=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x29:_0x19c15d['endWidth']=parseFloat(_0x728973[_0x33fa06(0x298)]);break;case 0x2a:_0x19c15d[_0x33fa06(0x27a)]=parseFloat(_0x728973['value']);break;case 0x46:_0x19c15d[_0x33fa06(0x2c5)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x47:_0x19c15d[_0x33fa06(0x27d)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x48:_0x19c15d['faceVertex2']=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x49:_0x19c15d[_0x33fa06(0x288)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;case 0x4a:_0x19c15d[_0x33fa06(0x1da)]=parseInt(_0x728973[_0x33fa06(0x298)],0xa);break;}}return _0x19c15d;}function parseArcEntity(_0x1869cb,_0x2a42a1){const _0xd79521=_0x1204;_0x1869cb[_0xd79521(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x1869cb[_0xd79521(0x231)]=0x0,_0x1869cb[_0xd79521(0x263)]=0x0,_0x1869cb[_0xd79521(0x28f)]=0x168,_0x1869cb[_0xd79521(0x2c3)]=0x0,_0x1869cb['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};for(const _0x23cb05 of _0x2a42a1){switch(_0x23cb05[_0xd79521(0x2b5)]){case 0xa:_0x1869cb[_0xd79521(0x2ce)]['x']=parseFloat(_0x23cb05['value']);break;case 0x14:_0x1869cb[_0xd79521(0x2ce)]['y']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0x1e:_0x1869cb[_0xd79521(0x2ce)]['z']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0x27:_0x1869cb['thickness']=parseFloat(_0x23cb05['value']);break;case 0x28:_0x1869cb[_0xd79521(0x231)]=parseFloat(_0x23cb05['value']);break;case 0x32:_0x1869cb['startAngle']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0x33:_0x1869cb[_0xd79521(0x28f)]=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0xd2:_0x1869cb[_0xd79521(0x22e)]['x']=parseFloat(_0x23cb05['value']);break;case 0xdc:_0x1869cb['extrusionDirection']['y']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;case 0xe6:_0x1869cb['extrusionDirection']['z']=parseFloat(_0x23cb05[_0xd79521(0x298)]);break;}}return _0x1869cb;}function parseCircleEntity(_0x553b92,_0x32f537){const _0x258d4e=_0x1204;_0x553b92[_0x258d4e(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x553b92[_0x258d4e(0x231)]=0x0,_0x553b92[_0x258d4e(0x2c3)]=0x0,_0x553b92[_0x258d4e(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x28a943 of _0x32f537){switch(_0x28a943[_0x258d4e(0x2b5)]){case 0xa:_0x553b92[_0x258d4e(0x2ce)]['x']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x14:_0x553b92[_0x258d4e(0x2ce)]['y']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x1e:_0x553b92[_0x258d4e(0x2ce)]['z']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x27:_0x553b92[_0x258d4e(0x2c3)]=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0x28:_0x553b92['radius']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0xd2:_0x553b92[_0x258d4e(0x22e)]['x']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0xdc:_0x553b92[_0x258d4e(0x22e)]['y']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;case 0xe6:_0x553b92['extrusionDirection']['z']=parseFloat(_0x28a943[_0x258d4e(0x298)]);break;}}return _0x553b92;}function parseEllipseEntity(_0x2f645b,_0x102a40){const _0x3f4b70=_0x1204;_0x2f645b[_0x3f4b70(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x2f645b[_0x3f4b70(0x208)]={'x':0x0,'y':0x0,'z':0x0},_0x2f645b[_0x3f4b70(0x2a2)]=0x1,_0x2f645b[_0x3f4b70(0x263)]=0x0,_0x2f645b[_0x3f4b70(0x28f)]=Math['PI']*0x2,_0x2f645b[_0x3f4b70(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x1189d8 of _0x102a40){switch(_0x1189d8[_0x3f4b70(0x2b5)]){case 0xa:_0x2f645b['center']['x']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x14:_0x2f645b[_0x3f4b70(0x2ce)]['y']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x1e:_0x2f645b[_0x3f4b70(0x2ce)]['z']=parseFloat(_0x1189d8['value']);break;case 0xb:_0x2f645b[_0x3f4b70(0x208)]['x']=parseFloat(_0x1189d8['value']);break;case 0x15:_0x2f645b[_0x3f4b70(0x208)]['y']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x1f:_0x2f645b['majorAxisEndPoint']['z']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x28:_0x2f645b[_0x3f4b70(0x2a2)]=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0x29:_0x2f645b['startAngle']=parseFloat(_0x1189d8['value']);break;case 0x2a:_0x2f645b[_0x3f4b70(0x28f)]=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0xd2:_0x2f645b['extrusionDirection']['x']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0xdc:_0x2f645b['extrusionDirection']['y']=parseFloat(_0x1189d8[_0x3f4b70(0x298)]);break;case 0xe6:_0x2f645b['extrusionDirection']['z']=parseFloat(_0x1189d8['value']);break;}}return _0x2f645b;}function parsePointEntity(_0x31892a,_0x19a66b){const _0x2903b4=_0x1204;_0x31892a[_0x2903b4(0x25c)]={'x':0x0,'y':0x0,'z':0x0},_0x31892a[_0x2903b4(0x2c3)]=0x0,_0x31892a[_0x2903b4(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0xdea34d of _0x19a66b){switch(_0xdea34d[_0x2903b4(0x2b5)]){case 0xa:_0x31892a[_0x2903b4(0x25c)]['x']=parseFloat(_0xdea34d['value']);break;case 0x14:_0x31892a['position']['y']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0x1e:_0x31892a['position']['z']=parseFloat(_0xdea34d['value']);break;case 0x27:_0x31892a['thickness']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0x32:_0x31892a[_0x2903b4(0x20a)]=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0xd2:_0x31892a[_0x2903b4(0x22e)]['x']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0xdc:_0x31892a[_0x2903b4(0x22e)]['y']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;case 0xe6:_0x31892a['extrusionDirection']['z']=parseFloat(_0xdea34d[_0x2903b4(0x298)]);break;}}return _0x31892a;}function parseTextEntity(_0x351b4e,_0x50e9ca){const _0x1bb3e0=_0x1204;_0x351b4e[_0x1bb3e0(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x351b4e[_0x1bb3e0(0x237)]={'x':0x0,'y':0x0,'z':0x0},_0x351b4e[_0x1bb3e0(0x233)]=0x0,_0x351b4e[_0x1bb3e0(0x241)]='',_0x351b4e[_0x1bb3e0(0x1c1)]=0x0,_0x351b4e['xScale']=0x1,_0x351b4e['oblique']=0x0,_0x351b4e[_0x1bb3e0(0x25d)]=_0x1bb3e0(0x1e1),_0x351b4e[_0x1bb3e0(0x1c2)]=0x0,_0x351b4e[_0x1bb3e0(0x1f1)]=0x0,_0x351b4e['vAlign']=0x0,_0x351b4e[_0x1bb3e0(0x2c3)]=0x0,_0x351b4e[_0x1bb3e0(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x5e1616 of _0x50e9ca){switch(_0x5e1616[_0x1bb3e0(0x2b5)]){case 0x1:_0x351b4e[_0x1bb3e0(0x241)]=_0x5e1616[_0x1bb3e0(0x298)];break;case 0x7:_0x351b4e[_0x1bb3e0(0x25d)]=_0x5e1616['value'];break;case 0xa:_0x351b4e['insertionPoint']['x']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x14:_0x351b4e[_0x1bb3e0(0x2b4)]['y']=parseFloat(_0x5e1616['value']);break;case 0x1e:_0x351b4e[_0x1bb3e0(0x2b4)]['z']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0xb:_0x351b4e['alignmentPoint']['x']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x15:_0x351b4e[_0x1bb3e0(0x237)]['y']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x1f:_0x351b4e['alignmentPoint']['z']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x27:_0x351b4e[_0x1bb3e0(0x2c3)]=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x28:_0x351b4e[_0x1bb3e0(0x233)]=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x29:_0x351b4e['xScale']=parseFloat(_0x5e1616['value']);break;case 0x32:_0x351b4e['rotation']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0x33:_0x351b4e[_0x1bb3e0(0x1de)]=parseFloat(_0x5e1616['value']);break;case 0x47:_0x351b4e[_0x1bb3e0(0x1c2)]=parseInt(_0x5e1616['value'],0xa);break;case 0x48:_0x351b4e[_0x1bb3e0(0x1f1)]=parseInt(_0x5e1616[_0x1bb3e0(0x298)],0xa);break;case 0x49:_0x351b4e[_0x1bb3e0(0x1e3)]=parseInt(_0x5e1616['value'],0xa);break;case 0xd2:_0x351b4e[_0x1bb3e0(0x22e)]['x']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0xdc:_0x351b4e['extrusionDirection']['y']=parseFloat(_0x5e1616[_0x1bb3e0(0x298)]);break;case 0xe6:_0x351b4e['extrusionDirection']['z']=parseFloat(_0x5e1616['value']);break;}}return _0x351b4e;}function parseMTextEntity(_0x2b646a,_0x1144b1){const _0x215bba=_0x1204;_0x2b646a[_0x215bba(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x2b646a[_0x215bba(0x1c5)]={'x':0x1,'y':0x0,'z':0x0},_0x2b646a[_0x215bba(0x233)]=0x0,_0x2b646a['width']=0x0,_0x2b646a['text']='',_0x2b646a[_0x215bba(0x1c1)]=0x0,_0x2b646a['styleName']=_0x215bba(0x1e1),_0x2b646a[_0x215bba(0x2a6)]=0x1,_0x2b646a[_0x215bba(0x2aa)]=0x1,_0x2b646a[_0x215bba(0x2cb)]=0x1,_0x2b646a[_0x215bba(0x1dc)]=0x1,_0x2b646a['extrusionDirection']={'x':0x0,'y':0x0,'z':0x1};let _0x1c6133=[];for(const _0x39feee of _0x1144b1){switch(_0x39feee[_0x215bba(0x2b5)]){case 0x1:_0x1c6133[_0x215bba(0x262)](_0x39feee[_0x215bba(0x298)]);break;case 0x3:_0x1c6133[_0x215bba(0x262)](_0x39feee['value']);break;case 0x7:_0x2b646a['styleName']=_0x39feee[_0x215bba(0x298)];break;case 0xa:_0x2b646a[_0x215bba(0x2b4)]['x']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x14:_0x2b646a['insertionPoint']['y']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x1e:_0x2b646a[_0x215bba(0x2b4)]['z']=parseFloat(_0x39feee['value']);break;case 0xb:_0x2b646a['direction']['x']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x15:_0x2b646a[_0x215bba(0x1c5)]['y']=parseFloat(_0x39feee['value']);break;case 0x1f:_0x2b646a[_0x215bba(0x1c5)]['z']=parseFloat(_0x39feee['value']);break;case 0x28:_0x2b646a[_0x215bba(0x233)]=parseFloat(_0x39feee['value']);break;case 0x29:_0x2b646a[_0x215bba(0x26c)]=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x2c:_0x2b646a['lineSpacing']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x32:_0x2b646a[_0x215bba(0x1c1)]=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0x47:_0x2b646a['attachmentPoint']=parseInt(_0x39feee[_0x215bba(0x298)],0xa);break;case 0x48:_0x2b646a['drawingDirection']=parseInt(_0x39feee[_0x215bba(0x298)],0xa);break;case 0x49:_0x2b646a['lineSpacingStyle']=parseInt(_0x39feee[_0x215bba(0x298)],0xa);break;case 0xd2:_0x2b646a[_0x215bba(0x22e)]['x']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0xdc:_0x2b646a[_0x215bba(0x22e)]['y']=parseFloat(_0x39feee[_0x215bba(0x298)]);break;case 0xe6:_0x2b646a[_0x215bba(0x22e)]['z']=parseFloat(_0x39feee['value']);break;}}return _0x2b646a['text']=_0x1c6133['join'](''),_0x2b646a;}function parseAttribEntity(_0x21e9ce,_0x30702f){const _0x58bd62=_0x1204;_0x21e9ce['insertionPoint']={'x':0x0,'y':0x0,'z':0x0},_0x21e9ce[_0x58bd62(0x237)]={'x':0x0,'y':0x0,'z':0x0},_0x21e9ce['height']=0x0,_0x21e9ce[_0x58bd62(0x241)]='',_0x21e9ce[_0x58bd62(0x21f)]='',_0x21e9ce[_0x58bd62(0x1c6)]='',_0x21e9ce[_0x58bd62(0x1c1)]=0x0,_0x21e9ce[_0x58bd62(0x2c5)]=0x0,_0x21e9ce['styleName']='STANDARD';for(const _0x434795 of _0x30702f){switch(_0x434795[_0x58bd62(0x2b5)]){case 0x1:_0x21e9ce['text']=_0x434795[_0x58bd62(0x298)];break;case 0x2:_0x21e9ce['tag']=_0x434795[_0x58bd62(0x298)];break;case 0x3:_0x21e9ce[_0x58bd62(0x1c6)]=_0x434795['value'];break;case 0x7:_0x21e9ce[_0x58bd62(0x25d)]=_0x434795[_0x58bd62(0x298)];break;case 0xa:_0x21e9ce[_0x58bd62(0x2b4)]['x']=parseFloat(_0x434795['value']);break;case 0x14:_0x21e9ce[_0x58bd62(0x2b4)]['y']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x1e:_0x21e9ce[_0x58bd62(0x2b4)]['z']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0xb:_0x21e9ce['alignmentPoint']['x']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x15:_0x21e9ce['alignmentPoint']['y']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x1f:_0x21e9ce['alignmentPoint']['z']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x28:_0x21e9ce['height']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x29:_0x21e9ce['xScale']=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x32:_0x21e9ce[_0x58bd62(0x1c1)]=parseFloat(_0x434795[_0x58bd62(0x298)]);break;case 0x46:_0x21e9ce['flags']=parseInt(_0x434795[_0x58bd62(0x298)],0xa);break;case 0x47:_0x21e9ce['generationFlags']=parseInt(_0x434795['value'],0xa);break;case 0x48:_0x21e9ce[_0x58bd62(0x1f1)]=parseInt(_0x434795[_0x58bd62(0x298)],0xa);break;case 0x49:_0x21e9ce[_0x58bd62(0x1e3)]=parseInt(_0x434795['value'],0xa);break;}}return _0x21e9ce;}function parseInsertEntity(_0x14cbe4,_0x416dc7){const _0x319292=_0x1204;_0x14cbe4[_0x319292(0x1cd)]='',_0x14cbe4[_0x319292(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x14cbe4[_0x319292(0x225)]={'x':0x1,'y':0x1,'z':0x1},_0x14cbe4[_0x319292(0x1c1)]=0x0,_0x14cbe4[_0x319292(0x23b)]=0x1,_0x14cbe4[_0x319292(0x29b)]=0x1,_0x14cbe4[_0x319292(0x278)]=0x0,_0x14cbe4['rowSpacing']=0x0,_0x14cbe4[_0x319292(0x22e)]={'x':0x0,'y':0x0,'z':0x1},_0x14cbe4['attributes']=[];for(const _0x5da618 of _0x416dc7){switch(_0x5da618[_0x319292(0x2b5)]){case 0x2:_0x14cbe4[_0x319292(0x1cd)]=_0x5da618[_0x319292(0x298)];break;case 0xa:_0x14cbe4[_0x319292(0x2b4)]['x']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x14:_0x14cbe4[_0x319292(0x2b4)]['y']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x1e:_0x14cbe4[_0x319292(0x2b4)]['z']=parseFloat(_0x5da618['value']);break;case 0x29:_0x14cbe4[_0x319292(0x225)]['x']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x2a:_0x14cbe4['scale']['y']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x2b:_0x14cbe4[_0x319292(0x225)]['z']=parseFloat(_0x5da618['value']);break;case 0x2c:_0x14cbe4[_0x319292(0x278)]=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x2d:_0x14cbe4['rowSpacing']=parseFloat(_0x5da618['value']);break;case 0x32:_0x14cbe4[_0x319292(0x1c1)]=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0x42:_0x14cbe4[_0x319292(0x280)]=parseInt(_0x5da618['value'],0xa)===0x1;break;case 0x46:_0x14cbe4[_0x319292(0x23b)]=parseInt(_0x5da618[_0x319292(0x298)],0xa);break;case 0x47:_0x14cbe4[_0x319292(0x29b)]=parseInt(_0x5da618[_0x319292(0x298)],0xa);break;case 0xd2:_0x14cbe4['extrusionDirection']['x']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0xdc:_0x14cbe4[_0x319292(0x22e)]['y']=parseFloat(_0x5da618[_0x319292(0x298)]);break;case 0xe6:_0x14cbe4[_0x319292(0x22e)]['z']=parseFloat(_0x5da618[_0x319292(0x298)]);break;}}return _0x14cbe4;}function parseDimensionEntity(_0x48ab5b,_0x4ac16f){const _0x4264ad=_0x1204;_0x48ab5b['blockName']='',_0x48ab5b[_0x4264ad(0x20f)]={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b[_0x4264ad(0x209)]={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b[_0x4264ad(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b[_0x4264ad(0x243)]=0x0,_0x48ab5b[_0x4264ad(0x241)]='',_0x48ab5b[_0x4264ad(0x25d)]=_0x4264ad(0x1e1),_0x48ab5b[_0x4264ad(0x1c1)]=0x0,_0x48ab5b['point1']={'x':0x0,'y':0x0,'z':0x0},_0x48ab5b['point2']={'x':0x0,'y':0x0,'z':0x0};for(const _0x604fed of _0x4ac16f){switch(_0x604fed['code']){case 0x1:_0x48ab5b[_0x4264ad(0x241)]=_0x604fed[_0x4264ad(0x298)];break;case 0x2:_0x48ab5b[_0x4264ad(0x1cd)]=_0x604fed[_0x4264ad(0x298)];break;case 0x3:_0x48ab5b[_0x4264ad(0x25d)]=_0x604fed[_0x4264ad(0x298)];break;case 0xa:_0x48ab5b[_0x4264ad(0x20f)]['x']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x14:_0x48ab5b[_0x4264ad(0x20f)]['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x1e:_0x48ab5b[_0x4264ad(0x20f)]['z']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0xb:_0x48ab5b[_0x4264ad(0x209)]['x']=parseFloat(_0x604fed['value']);break;case 0x15:_0x48ab5b[_0x4264ad(0x209)]['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x1f:_0x48ab5b[_0x4264ad(0x209)]['z']=parseFloat(_0x604fed['value']);break;case 0xd:_0x48ab5b[_0x4264ad(0x2c7)]['x']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x17:_0x48ab5b[_0x4264ad(0x2c7)]['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x21:_0x48ab5b[_0x4264ad(0x2c7)]['z']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0xe:_0x48ab5b[_0x4264ad(0x29c)]['x']=parseFloat(_0x604fed['value']);break;case 0x18:_0x48ab5b['point2']['y']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x22:_0x48ab5b['point2']['z']=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x28:_0x48ab5b[_0x4264ad(0x268)]=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x32:_0x48ab5b[_0x4264ad(0x1c1)]=parseFloat(_0x604fed[_0x4264ad(0x298)]);break;case 0x46:_0x48ab5b['dimensionType']=parseInt(_0x604fed['value'],0xa);break;case 0x47:_0x48ab5b[_0x4264ad(0x2a6)]=parseInt(_0x604fed[_0x4264ad(0x298)],0xa);break;}}return _0x48ab5b;}function parseLeaderEntity(_0x291979,_0x599073){const _0x2458f0=_0x1204;_0x291979[_0x2458f0(0x25d)]=_0x2458f0(0x1e1),_0x291979[_0x2458f0(0x255)]=0x1,_0x291979[_0x2458f0(0x26d)]=0x0,_0x291979[_0x2458f0(0x254)]=0x0,_0x291979['hooklineFlag']=0x0,_0x291979[_0x2458f0(0x2a8)]=[],_0x291979[_0x2458f0(0x1d9)]=null,_0x291979['normal']={'x':0x0,'y':0x0,'z':0x1},_0x291979[_0x2458f0(0x251)]={'x':0x1,'y':0x0,'z':0x0};let _0x209e63=null;for(const _0x3881cd of _0x599073){switch(_0x3881cd[_0x2458f0(0x2b5)]){case 0x3:_0x291979[_0x2458f0(0x25d)]=_0x3881cd['value'];break;case 0xa:_0x209e63=parseFloat(_0x3881cd[_0x2458f0(0x298)]);break;case 0x14:_0x209e63!==null&&(_0x291979[_0x2458f0(0x2a8)]['push']({'x':_0x209e63,'y':parseFloat(_0x3881cd['value']),'z':0x0}),_0x209e63=null);break;case 0x1e:if(_0x291979['vertices'][_0x2458f0(0x264)]>0x0)_0x291979[_0x2458f0(0x2a8)][_0x291979[_0x2458f0(0x2a8)][_0x2458f0(0x264)]-0x1]['z']=parseFloat(_0x3881cd[_0x2458f0(0x298)]);break;case 0x28:_0x291979[_0x2458f0(0x223)]=parseFloat(_0x3881cd['value']);break;case 0x29:_0x291979[_0x2458f0(0x218)]=parseFloat(_0x3881cd[_0x2458f0(0x298)]);break;case 0x47:_0x291979[_0x2458f0(0x255)]=parseInt(_0x3881cd[_0x2458f0(0x298)],0xa);break;case 0x48:_0x291979[_0x2458f0(0x26d)]=parseInt(_0x3881cd['value'],0xa);break;case 0x49:_0x291979['creationType']=parseInt(_0x3881cd[_0x2458f0(0x298)],0xa);break;case 0x4c:_0x291979['vertexCount']=parseInt(_0x3881cd[_0x2458f0(0x298)],0xa);break;case 0x154:_0x291979[_0x2458f0(0x1d9)]=_0x3881cd['value'];break;}}return _0x291979;}function parseMLeaderEntity(_0x44400e,_0x11fe2f){const _0x1f7797=_0x1204;_0x44400e[_0x1f7797(0x25d)]='',_0x44400e[_0x1f7797(0x241)]='',_0x44400e[_0x1f7797(0x202)]=[],_0x44400e[_0x1f7797(0x228)]=0x0,_0x44400e[_0x1f7797(0x1f2)]='';let _0x292edb=null;for(const _0x15d0e2 of _0x11fe2f){switch(_0x15d0e2['code']){case 0x3:_0x44400e[_0x1f7797(0x25d)]=_0x15d0e2[_0x1f7797(0x298)];break;case 0x130:_0x44400e[_0x1f7797(0x241)]=_0x15d0e2[_0x1f7797(0x298)];break;case 0xaa:_0x44400e[_0x1f7797(0x228)]=parseInt(_0x15d0e2[_0x1f7797(0x298)],0xa);break;case 0x154:_0x44400e[_0x1f7797(0x1f2)]=_0x15d0e2[_0x1f7797(0x298)];break;case 0xa:_0x292edb=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x14:_0x292edb!==null&&(_0x44400e[_0x1f7797(0x202)]['push']({'x':_0x292edb,'y':parseFloat(_0x15d0e2[_0x1f7797(0x298)]),'z':0x0}),_0x292edb=null);break;case 0x1e:if(_0x44400e[_0x1f7797(0x202)][_0x1f7797(0x264)]>0x0)_0x44400e['leaderPoints'][_0x44400e[_0x1f7797(0x202)][_0x1f7797(0x264)]-0x1]['z']=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x28:_0x44400e[_0x1f7797(0x2a9)]=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x29:_0x44400e[_0x1f7797(0x1f7)]=parseFloat(_0x15d0e2[_0x1f7797(0x298)]);break;case 0x2a:_0x44400e[_0x1f7797(0x223)]=parseFloat(_0x15d0e2['value']);break;}}return _0x44400e;}function parseHatchEntity(_0x1cf0a3,_0x3364e0){const _0x2238a4=_0x1204;_0x1cf0a3[_0x2238a4(0x2cc)]='',_0x1cf0a3[_0x2238a4(0x238)]=![],_0x1cf0a3['associative']=![],_0x1cf0a3[_0x2238a4(0x240)]=0x0,_0x1cf0a3['patternType']=0x0,_0x1cf0a3[_0x2238a4(0x22f)]=0x0,_0x1cf0a3[_0x2238a4(0x256)]=0x1,_0x1cf0a3[_0x2238a4(0x20d)]=0x0,_0x1cf0a3[_0x2238a4(0x22e)]={'x':0x0,'y':0x0,'z':0x1},_0x1cf0a3['boundaryPaths']=[],_0x1cf0a3[_0x2238a4(0x27c)]=[];let _0x10c4f4=![],_0x41d580=null;for(const _0x3d8de0 of _0x3364e0){switch(_0x3d8de0[_0x2238a4(0x2b5)]){case 0x2:_0x1cf0a3[_0x2238a4(0x2cc)]=_0x3d8de0[_0x2238a4(0x298)];break;case 0xa:_0x10c4f4&&_0x41d580&&(_0x41d580['points']=_0x41d580[_0x2238a4(0x21b)]||[],_0x41d580[_0x2238a4(0x21b)][_0x2238a4(0x262)]({'x':parseFloat(_0x3d8de0[_0x2238a4(0x298)])}));break;case 0x14:if(_0x10c4f4&&_0x41d580&&_0x41d580[_0x2238a4(0x21b)]&&_0x41d580[_0x2238a4(0x21b)][_0x2238a4(0x264)]>0x0)_0x41d580[_0x2238a4(0x21b)][_0x41d580[_0x2238a4(0x21b)][_0x2238a4(0x264)]-0x1]['y']=parseFloat(_0x3d8de0['value']);break;case 0x1e:_0x1cf0a3[_0x2238a4(0x20d)]=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0x29:_0x1cf0a3[_0x2238a4(0x256)]=parseFloat(_0x3d8de0['value']);break;case 0x34:_0x1cf0a3[_0x2238a4(0x22f)]=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0x46:_0x1cf0a3[_0x2238a4(0x238)]=parseInt(_0x3d8de0[_0x2238a4(0x298)],0xa)===0x1;break;case 0x47:_0x1cf0a3['associative']=parseInt(_0x3d8de0[_0x2238a4(0x298)],0xa)===0x1;break;case 0x4b:_0x1cf0a3[_0x2238a4(0x240)]=parseInt(_0x3d8de0['value'],0xa);break;case 0x4c:_0x1cf0a3[_0x2238a4(0x230)]=parseInt(_0x3d8de0['value'],0xa);break;case 0x5b:_0x10c4f4=!![];break;case 0x5c:if(_0x41d580)_0x1cf0a3[_0x2238a4(0x2be)]['push'](_0x41d580);_0x41d580={'type':parseInt(_0x3d8de0[_0x2238a4(0x298)],0xa),'edges':[],'points':[]};break;case 0x5d:if(_0x41d580)_0x41d580['edgeCount']=parseInt(_0x3d8de0['value'],0xa);break;case 0x61:if(_0x41d580)_0x1cf0a3['boundaryPaths']['push'](_0x41d580);_0x41d580=null,_0x10c4f4=![];break;case 0xd2:_0x1cf0a3[_0x2238a4(0x22e)]['x']=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0xdc:_0x1cf0a3[_0x2238a4(0x22e)]['y']=parseFloat(_0x3d8de0[_0x2238a4(0x298)]);break;case 0xe6:_0x1cf0a3['extrusionDirection']['z']=parseFloat(_0x3d8de0['value']);break;}}if(_0x41d580)_0x1cf0a3[_0x2238a4(0x2be)][_0x2238a4(0x262)](_0x41d580);return _0x1cf0a3;}function parseSplineEntity(_0x2bbbb2,_0x5ee3cb){const _0xa4968f=_0x1204;_0x2bbbb2[_0xa4968f(0x2b9)]={'x':0x0,'y':0x0,'z':0x1},_0x2bbbb2['degree']=0x3,_0x2bbbb2[_0xa4968f(0x224)]=![],_0x2bbbb2[_0xa4968f(0x20c)]=![],_0x2bbbb2['rational']=![],_0x2bbbb2[_0xa4968f(0x23a)]=![],_0x2bbbb2[_0xa4968f(0x1dd)]=1e-7,_0x2bbbb2[_0xa4968f(0x24e)]=1e-7,_0x2bbbb2['fitTolerance']=1e-10,_0x2bbbb2[_0xa4968f(0x276)]={'x':0x0,'y':0x0,'z':0x0},_0x2bbbb2[_0xa4968f(0x260)]={'x':0x0,'y':0x0,'z':0x0},_0x2bbbb2['knots']=[],_0x2bbbb2[_0xa4968f(0x1e4)]=[],_0x2bbbb2[_0xa4968f(0x1d2)]=[],_0x2bbbb2[_0xa4968f(0x266)]=[];let _0xcc9475=null,_0x3dfa9f=null;for(const _0x2f5b0a of _0x5ee3cb){switch(_0x2f5b0a['code']){case 0xa:_0xcc9475=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x14:_0xcc9475!==null&&(_0x2bbbb2[_0xa4968f(0x1d2)]['push']({'x':_0xcc9475,'y':parseFloat(_0x2f5b0a[_0xa4968f(0x298)]),'z':0x0}),_0xcc9475=null);break;case 0x1e:if(_0x2bbbb2[_0xa4968f(0x1d2)][_0xa4968f(0x264)]>0x0)_0x2bbbb2['controlPoints'][_0x2bbbb2[_0xa4968f(0x1d2)]['length']-0x1]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0xb:_0x3dfa9f=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x15:_0x3dfa9f!==null&&(_0x2bbbb2['fitPoints'][_0xa4968f(0x262)]({'x':_0x3dfa9f,'y':parseFloat(_0x2f5b0a[_0xa4968f(0x298)]),'z':0x0}),_0x3dfa9f=null);break;case 0x1f:if(_0x2bbbb2[_0xa4968f(0x266)][_0xa4968f(0x264)]>0x0)_0x2bbbb2[_0xa4968f(0x266)][_0x2bbbb2[_0xa4968f(0x266)][_0xa4968f(0x264)]-0x1]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0xc:_0x2bbbb2['startTangent']['x']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x16:_0x2bbbb2[_0xa4968f(0x276)]['y']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x20:_0x2bbbb2[_0xa4968f(0x276)]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0xd:_0x2bbbb2['endTangent']['x']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x17:_0x2bbbb2['endTangent']['y']=parseFloat(_0x2f5b0a['value']);break;case 0x21:_0x2bbbb2['endTangent']['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x28:_0x2bbbb2[_0xa4968f(0x2a5)][_0xa4968f(0x262)](parseFloat(_0x2f5b0a[_0xa4968f(0x298)]));break;case 0x29:_0x2bbbb2['weights'][_0xa4968f(0x262)](parseFloat(_0x2f5b0a[_0xa4968f(0x298)]));break;case 0x2a:_0x2bbbb2[_0xa4968f(0x1dd)]=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x2b:_0x2bbbb2[_0xa4968f(0x24e)]=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x2c:_0x2bbbb2[_0xa4968f(0x22c)]=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;case 0x46:{const _0x5704f1=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);_0x2bbbb2['closed']=(_0x5704f1&0x1)===0x1,_0x2bbbb2[_0xa4968f(0x20c)]=(_0x5704f1&0x2)===0x2,_0x2bbbb2[_0xa4968f(0x2ac)]=(_0x5704f1&0x4)===0x4,_0x2bbbb2[_0xa4968f(0x23a)]=(_0x5704f1&0x8)===0x8,_0x2bbbb2['flags']=_0x5704f1;break;}case 0x47:_0x2bbbb2[_0xa4968f(0x200)]=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);break;case 0x48:_0x2bbbb2[_0xa4968f(0x249)]=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);break;case 0x49:_0x2bbbb2[_0xa4968f(0x294)]=parseInt(_0x2f5b0a['value'],0xa);break;case 0x4a:_0x2bbbb2[_0xa4968f(0x28d)]=parseInt(_0x2f5b0a[_0xa4968f(0x298)],0xa);break;case 0xd2:_0x2bbbb2[_0xa4968f(0x2b9)]['x']=parseFloat(_0x2f5b0a['value']);break;case 0xdc:_0x2bbbb2[_0xa4968f(0x2b9)]['y']=parseFloat(_0x2f5b0a['value']);break;case 0xe6:_0x2bbbb2[_0xa4968f(0x2b9)]['z']=parseFloat(_0x2f5b0a[_0xa4968f(0x298)]);break;}}return _0x2bbbb2;}function parseSolidEntity(_0x34ac3c,_0x154ce7){const _0x1f1fc9=_0x1204;_0x34ac3c[_0x1f1fc9(0x21b)]=[{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0},{'x':0x0,'y':0x0,'z':0x0}],_0x34ac3c['thickness']=0x0,_0x34ac3c[_0x1f1fc9(0x22e)]={'x':0x0,'y':0x0,'z':0x1};for(const _0x212c74 of _0x154ce7){switch(_0x212c74[_0x1f1fc9(0x2b5)]){case 0xa:_0x34ac3c[_0x1f1fc9(0x21b)][0x0]['x']=parseFloat(_0x212c74['value']);break;case 0x14:_0x34ac3c[_0x1f1fc9(0x21b)][0x0]['y']=parseFloat(_0x212c74['value']);break;case 0x1e:_0x34ac3c['points'][0x0]['z']=parseFloat(_0x212c74['value']);break;case 0xb:_0x34ac3c[_0x1f1fc9(0x21b)][0x1]['x']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x15:_0x34ac3c['points'][0x1]['y']=parseFloat(_0x212c74['value']);break;case 0x1f:_0x34ac3c[_0x1f1fc9(0x21b)][0x1]['z']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xc:_0x34ac3c[_0x1f1fc9(0x21b)][0x2]['x']=parseFloat(_0x212c74['value']);break;case 0x16:_0x34ac3c[_0x1f1fc9(0x21b)][0x2]['y']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x20:_0x34ac3c[_0x1f1fc9(0x21b)][0x2]['z']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xd:_0x34ac3c[_0x1f1fc9(0x21b)][0x3]['x']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x17:_0x34ac3c[_0x1f1fc9(0x21b)][0x3]['y']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x21:_0x34ac3c[_0x1f1fc9(0x21b)][0x3]['z']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0x27:_0x34ac3c[_0x1f1fc9(0x2c3)]=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xd2:_0x34ac3c['extrusionDirection']['x']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xdc:_0x34ac3c[_0x1f1fc9(0x22e)]['y']=parseFloat(_0x212c74[_0x1f1fc9(0x298)]);break;case 0xe6:_0x34ac3c['extrusionDirection']['z']=parseFloat(_0x212c74['value']);break;}}return _0x34ac3c;}function parse3DFaceEntity(_0x556b04,_0x2989f7){const _0x1cdcef=_0x1204;_0x556b04['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}],_0x556b04[_0x1cdcef(0x211)]=0x0;for(const _0x2d9925 of _0x2989f7){switch(_0x2d9925[_0x1cdcef(0x2b5)]){case 0xa:_0x556b04[_0x1cdcef(0x2a8)][0x0]['x']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x14:_0x556b04['vertices'][0x0]['y']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x1e:_0x556b04[_0x1cdcef(0x2a8)][0x0]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0xb:_0x556b04[_0x1cdcef(0x2a8)][0x1]['x']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x15:_0x556b04[_0x1cdcef(0x2a8)][0x1]['y']=parseFloat(_0x2d9925['value']);break;case 0x1f:_0x556b04[_0x1cdcef(0x2a8)][0x1]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0xc:_0x556b04[_0x1cdcef(0x2a8)][0x2]['x']=parseFloat(_0x2d9925['value']);break;case 0x16:_0x556b04['vertices'][0x2]['y']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x20:_0x556b04[_0x1cdcef(0x2a8)][0x2]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0xd:_0x556b04['vertices'][0x3]['x']=parseFloat(_0x2d9925['value']);break;case 0x17:_0x556b04[_0x1cdcef(0x2a8)][0x3]['y']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x21:_0x556b04[_0x1cdcef(0x2a8)][0x3]['z']=parseFloat(_0x2d9925[_0x1cdcef(0x298)]);break;case 0x46:_0x556b04[_0x1cdcef(0x211)]=parseInt(_0x2d9925[_0x1cdcef(0x298)],0xa);break;}}return _0x556b04;}function parseRayEntity(_0x43f448,_0x6223af){const _0x2a9829=_0x1204;_0x43f448['basePoint']={'x':0x0,'y':0x0,'z':0x0},_0x43f448[_0x2a9829(0x1c5)]={'x':0x1,'y':0x0,'z':0x0};for(const _0x25ce90 of _0x6223af){switch(_0x25ce90[_0x2a9829(0x2b5)]){case 0xa:_0x43f448[_0x2a9829(0x25f)]['x']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0x14:_0x43f448[_0x2a9829(0x25f)]['y']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0x1e:_0x43f448['basePoint']['z']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0xb:_0x43f448[_0x2a9829(0x1c5)]['x']=parseFloat(_0x25ce90['value']);break;case 0x15:_0x43f448[_0x2a9829(0x1c5)]['y']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;case 0x1f:_0x43f448['direction']['z']=parseFloat(_0x25ce90[_0x2a9829(0x298)]);break;}}return _0x43f448;}function parseViewportEntity(_0x5cf175,_0x366150){const _0x549e9c=_0x1204;_0x5cf175[_0x549e9c(0x2ce)]={'x':0x0,'y':0x0,'z':0x0},_0x5cf175['width']=0x0,_0x5cf175[_0x549e9c(0x233)]=0x0,_0x5cf175[_0x549e9c(0x299)]={'x':0x0,'y':0x0,'z':0x0},_0x5cf175['viewDirection']={'x':0x0,'y':0x0,'z':0x1},_0x5cf175[_0x549e9c(0x2a4)]=0x0,_0x5cf175[_0x549e9c(0x292)]=0x0,_0x5cf175['viewCenter']={'x':0x0,'y':0x0},_0x5cf175['perspectiveLensLength']=0x32,_0x5cf175['statusField']=0x0,_0x5cf175[_0x549e9c(0x216)]=null,_0x5cf175[_0x549e9c(0x250)]=[];for(const _0x38bd90 of _0x366150){switch(_0x38bd90[_0x549e9c(0x2b5)]){case 0xa:_0x5cf175[_0x549e9c(0x2ce)]['x']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x14:_0x5cf175['center']['y']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x1e:_0x5cf175['center']['z']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0xc:_0x5cf175[_0x549e9c(0x273)]['x']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x16:_0x5cf175[_0x549e9c(0x273)]['y']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x28:_0x5cf175[_0x549e9c(0x26c)]=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x29:_0x5cf175[_0x549e9c(0x233)]=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x2d:_0x5cf175[_0x549e9c(0x292)]=parseFloat(_0x38bd90['value']);break;case 0x33:_0x5cf175['viewTwistAngle']=parseFloat(_0x38bd90[_0x549e9c(0x298)]);break;case 0x44:_0x5cf175[_0x549e9c(0x27b)]=parseInt(_0x38bd90[_0x549e9c(0x298)],0xa);break;case 0x45:_0x5cf175['id']=parseInt(_0x38bd90[_0x549e9c(0x298)],0xa);break;case 0x14b:_0x5cf175[_0x549e9c(0x250)][_0x549e9c(0x262)](_0x38bd90[_0x549e9c(0x298)]);break;case 0x154:_0x5cf175[_0x549e9c(0x216)]=_0x38bd90['value'];break;}}return _0x5cf175;}function parseImageEntity(_0x1d4145,_0x1b542a){const _0xf41e1f=_0x1204;_0x1d4145[_0xf41e1f(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x1d4145[_0xf41e1f(0x1fe)]={'x':0x1,'y':0x0,'z':0x0},_0x1d4145[_0xf41e1f(0x265)]={'x':0x0,'y':0x1,'z':0x0},_0x1d4145[_0xf41e1f(0x1f8)]={'u':0x0,'v':0x0},_0x1d4145['imageDefHandle']='',_0x1d4145[_0xf41e1f(0x269)]=0x0,_0x1d4145[_0xf41e1f(0x2bd)]=0x0,_0x1d4145[_0xf41e1f(0x2ab)]=0x32,_0x1d4145[_0xf41e1f(0x1cf)]=0x32,_0x1d4145[_0xf41e1f(0x22b)]=0x0,_0x1d4145[_0xf41e1f(0x236)]=[];for(const _0x512aed of _0x1b542a){switch(_0x512aed['code']){case 0xa:_0x1d4145[_0xf41e1f(0x2b4)]['x']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x14:_0x1d4145[_0xf41e1f(0x2b4)]['y']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x1e:_0x1d4145[_0xf41e1f(0x2b4)]['z']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0xd:_0x1d4145[_0xf41e1f(0x1f8)]['u']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x17:_0x1d4145[_0xf41e1f(0x1f8)]['v']=parseFloat(_0x512aed['value']);break;case 0xe:_0x1d4145['clippingVertices']['push']({'x':parseFloat(_0x512aed[_0xf41e1f(0x298)])});break;case 0x18:if(_0x1d4145[_0xf41e1f(0x236)]['length']>0x0)_0x1d4145[_0xf41e1f(0x236)][_0x1d4145[_0xf41e1f(0x236)][_0xf41e1f(0x264)]-0x1]['y']=parseFloat(_0x512aed[_0xf41e1f(0x298)]);break;case 0x46:_0x1d4145['displayFlags']=parseInt(_0x512aed['value'],0xa);break;case 0x154:_0x1d4145[_0xf41e1f(0x259)]=_0x512aed[_0xf41e1f(0x298)];break;}}return _0x1d4145;}function parseToleranceEntity(_0x625359,_0x3751a6){const _0x5caf2a=_0x1204;_0x625359[_0x5caf2a(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x625359[_0x5caf2a(0x1c5)]={'x':0x1,'y':0x0,'z':0x0},_0x625359[_0x5caf2a(0x25d)]=_0x5caf2a(0x1e1),_0x625359[_0x5caf2a(0x241)]='';for(const _0x12abc6 of _0x3751a6){switch(_0x12abc6[_0x5caf2a(0x2b5)]){case 0x1:_0x625359['text']=_0x12abc6[_0x5caf2a(0x298)];break;case 0x3:_0x625359[_0x5caf2a(0x25d)]=_0x12abc6[_0x5caf2a(0x298)];break;case 0xa:_0x625359[_0x5caf2a(0x2b4)]['x']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0x14:_0x625359[_0x5caf2a(0x2b4)]['y']=parseFloat(_0x12abc6['value']);break;case 0x1e:_0x625359['insertionPoint']['z']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0xb:_0x625359[_0x5caf2a(0x1c5)]['x']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0x15:_0x625359[_0x5caf2a(0x1c5)]['y']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;case 0x1f:_0x625359['direction']['z']=parseFloat(_0x12abc6[_0x5caf2a(0x298)]);break;}}return _0x625359;}function parseHelixEntity(_0x1285ea,_0x35d774){const _0x204502=_0x1204;_0x1285ea[_0x204502(0x1c8)]={'x':0x0,'y':0x0,'z':0x0},_0x1285ea[_0x204502(0x21a)]={'x':0x0,'y':0x0,'z':0x0},_0x1285ea[_0x204502(0x1cb)]={'x':0x0,'y':0x0,'z':0x1},_0x1285ea['radius']=0x0,_0x1285ea[_0x204502(0x2c9)]=0x1,_0x1285ea[_0x204502(0x29d)]=0x0,_0x1285ea[_0x204502(0x248)]=0x0,_0x1285ea[_0x204502(0x2b1)]=0x0;for(const _0x4771e4 of _0x35d774){switch(_0x4771e4['code']){case 0xa:_0x1285ea[_0x204502(0x1c8)]['x']=parseFloat(_0x4771e4['value']);break;case 0x14:_0x1285ea[_0x204502(0x1c8)]['y']=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x1e:_0x1285ea['axisBasePoint']['z']=parseFloat(_0x4771e4['value']);break;case 0xb:_0x1285ea[_0x204502(0x21a)]['x']=parseFloat(_0x4771e4['value']);break;case 0x15:_0x1285ea[_0x204502(0x21a)]['y']=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x1f:_0x1285ea[_0x204502(0x21a)]['z']=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x28:_0x1285ea[_0x204502(0x231)]=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x29:_0x1285ea[_0x204502(0x2c9)]=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x2a:_0x1285ea[_0x204502(0x29d)]=parseFloat(_0x4771e4[_0x204502(0x298)]);break;case 0x122:_0x1285ea[_0x204502(0x248)]=parseInt(_0x4771e4['value'],0xa);break;case 0x118:_0x1285ea[_0x204502(0x2b1)]=parseInt(_0x4771e4[_0x204502(0x298)],0xa);break;}}return _0x1285ea;}function parseMeshEntity(_0x272987,_0x5c3ceb){const _0x1017a2=_0x1204;_0x272987[_0x1017a2(0x1cc)]=0x2,_0x272987[_0x1017a2(0x1d6)]=0x0,_0x272987[_0x1017a2(0x2a8)]=[],_0x272987[_0x1017a2(0x1e2)]=[],_0x272987[_0x1017a2(0x2b6)]=[],_0x272987['edgeCreases']=[];let _0x573905=null,_0x377672=![],_0xf10d=![],_0xe763f3=![];for(const _0x8ac4bf of _0x5c3ceb){switch(_0x8ac4bf[_0x1017a2(0x2b5)]){case 0x47:_0x272987[_0x1017a2(0x1cc)]=parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa);break;case 0x48:_0x272987[_0x1017a2(0x1d6)]=parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa);break;case 0x5b:_0x377672=![];break;case 0x5c:_0x377672=!![];break;case 0x5d:_0xf10d=!![],_0x377672=![];break;case 0x5e:_0xe763f3=!![],_0xf10d=![];break;case 0x5f:_0xe763f3=![];break;case 0xa:_0x573905=parseFloat(_0x8ac4bf['value']);break;case 0x14:_0x573905!==null&&(_0x272987['vertices'][_0x1017a2(0x262)]({'x':_0x573905,'y':parseFloat(_0x8ac4bf['value']),'z':0x0}),_0x573905=null);break;case 0x1e:if(_0x272987[_0x1017a2(0x2a8)][_0x1017a2(0x264)]>0x0)_0x272987[_0x1017a2(0x2a8)][_0x272987[_0x1017a2(0x2a8)]['length']-0x1]['z']=parseFloat(_0x8ac4bf[_0x1017a2(0x298)]);break;case 0x5a:if(_0x377672)_0x272987[_0x1017a2(0x1e2)]['push'](parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa));else {if(_0xf10d)_0x272987[_0x1017a2(0x2b6)][_0x1017a2(0x262)](parseInt(_0x8ac4bf[_0x1017a2(0x298)],0xa));}break;case 0x8c:if(_0xe763f3)_0x272987['edgeCreases'][_0x1017a2(0x262)](parseFloat(_0x8ac4bf[_0x1017a2(0x298)]));break;}}return _0x272987;}function parseRegionEntity(_0x26dc85,_0x2c0e04){const _0x6dfc91=_0x1204;_0x26dc85[_0x6dfc91(0x213)]=[];for(const _0x54461c of _0x2c0e04){if(_0x54461c[_0x6dfc91(0x2b5)]===0x1||_0x54461c[_0x6dfc91(0x2b5)]===0x3)_0x26dc85[_0x6dfc91(0x213)][_0x6dfc91(0x262)](_0x54461c[_0x6dfc91(0x298)]);if(_0x54461c['code']===0x46)_0x26dc85['modelerFormat']=parseInt(_0x54461c[_0x6dfc91(0x298)],0xa);}return _0x26dc85[_0x6dfc91(0x26f)]=_0x26dc85[_0x6dfc91(0x213)][_0x6dfc91(0x27f)](''),_0x26dc85;}function parseOle2Entity(_0x183957,_0x33ca47){const _0x1f08bd=_0x1204;_0x183957['upperLeftCorner']={'x':0x0,'y':0x0,'z':0x0},_0x183957[_0x1f08bd(0x1e5)]={'x':0x0,'y':0x0,'z':0x0},_0x183957[_0x1f08bd(0x27e)]=0x0,_0x183957[_0x1f08bd(0x1c4)]=0x0;for(const _0x21f6c3 of _0x33ca47){switch(_0x21f6c3[_0x1f08bd(0x2b5)]){case 0xa:_0x183957[_0x1f08bd(0x1e7)]['x']=parseFloat(_0x21f6c3['value']);break;case 0x14:_0x183957[_0x1f08bd(0x1e7)]['y']=parseFloat(_0x21f6c3[_0x1f08bd(0x298)]);break;case 0xb:_0x183957['lowerRightCorner']['x']=parseFloat(_0x21f6c3[_0x1f08bd(0x298)]);break;case 0x15:_0x183957[_0x1f08bd(0x1e5)]['y']=parseFloat(_0x21f6c3['value']);break;case 0x46:_0x183957[_0x1f08bd(0x27e)]=parseInt(_0x21f6c3[_0x1f08bd(0x298)],0xa);break;case 0x47:_0x183957[_0x1f08bd(0x1c4)]=parseInt(_0x21f6c3[_0x1f08bd(0x298)],0xa);break;case 0x1:case 0x3:_0x183957[_0x1f08bd(0x1ec)]=_0x183957[_0x1f08bd(0x1ec)]||[],_0x183957['binaryData'][_0x1f08bd(0x262)](_0x21f6c3[_0x1f08bd(0x298)]);break;}}return _0x183957;}function parseTableEntity(_0x4ead2f,_0x15be55){const _0x2758df=_0x1204;_0x4ead2f[_0x2758df(0x2b4)]={'x':0x0,'y':0x0,'z':0x0},_0x4ead2f[_0x2758df(0x1cd)]='',_0x4ead2f[_0x2758df(0x1c5)]={'x':0x1,'y':0x0,'z':0x0},_0x4ead2f['rows']=0x0,_0x4ead2f['columns']=0x0;for(const _0x27650e of _0x15be55){switch(_0x27650e[_0x2758df(0x2b5)]){case 0x2:_0x4ead2f[_0x2758df(0x1cd)]=_0x27650e[_0x2758df(0x298)];break;case 0xa:_0x4ead2f[_0x2758df(0x2b4)]['x']=parseFloat(_0x27650e[_0x2758df(0x298)]);break;case 0x14:_0x4ead2f[_0x2758df(0x2b4)]['y']=parseFloat(_0x27650e['value']);break;case 0xb:_0x4ead2f['direction']['x']=parseFloat(_0x27650e[_0x2758df(0x298)]);break;case 0x15:_0x4ead2f['direction']['y']=parseFloat(_0x27650e[_0x2758df(0x298)]);break;case 0x5b:_0x4ead2f[_0x2758df(0x25b)]=parseInt(_0x27650e[_0x2758df(0x298)],0xa);break;case 0x5c:_0x4ead2f[_0x2758df(0x229)]=parseInt(_0x27650e[_0x2758df(0x298)],0xa);break;case 0x8e:_0x4ead2f[_0x2758df(0x23c)]=_0x4ead2f['rowHeights']||[],_0x4ead2f[_0x2758df(0x23c)][_0x2758df(0x262)](parseFloat(_0x27650e[_0x2758df(0x298)]));break;case 0x8d:_0x4ead2f[_0x2758df(0x215)]=_0x4ead2f[_0x2758df(0x215)]||[],_0x4ead2f['columnWidths'][_0x2758df(0x262)](parseFloat(_0x27650e[_0x2758df(0x298)]));break;}}return _0x4ead2f;}function parseMLineEntity(_0x131ace,_0x30374b){const _0x3d0431=_0x1204;_0x131ace[_0x3d0431(0x25d)]='STANDARD',_0x131ace[_0x3d0431(0x225)]=0x1,_0x131ace[_0x3d0431(0x23f)]=0x0,_0x131ace[_0x3d0431(0x2c5)]=0x0,_0x131ace[_0x3d0431(0x21a)]={'x':0x0,'y':0x0,'z':0x0},_0x131ace[_0x3d0431(0x2b9)]={'x':0x0,'y':0x0,'z':0x1},_0x131ace[_0x3d0431(0x2a8)]=[];let _0x99c5e=null;for(const _0x3402cb of _0x30374b){switch(_0x3402cb[_0x3d0431(0x2b5)]){case 0x2:_0x131ace[_0x3d0431(0x25d)]=_0x3402cb[_0x3d0431(0x298)];break;case 0xa:_0x131ace[_0x3d0431(0x21a)]['x']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x14:_0x131ace[_0x3d0431(0x21a)]['y']=parseFloat(_0x3402cb['value']);break;case 0x1e:_0x131ace['startPoint']['z']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0xb:_0x99c5e=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x15:_0x99c5e!==null&&(_0x131ace[_0x3d0431(0x2a8)][_0x3d0431(0x262)]({'x':_0x99c5e,'y':parseFloat(_0x3402cb['value']),'z':0x0}),_0x99c5e=null);break;case 0x1f:if(_0x131ace['vertices']['length']>0x0)_0x131ace[_0x3d0431(0x2a8)][_0x131ace[_0x3d0431(0x2a8)][_0x3d0431(0x264)]-0x1]['z']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x28:_0x131ace[_0x3d0431(0x225)]=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0x46:_0x131ace[_0x3d0431(0x23f)]=parseInt(_0x3402cb[_0x3d0431(0x298)],0xa);break;case 0x47:_0x131ace[_0x3d0431(0x2c5)]=parseInt(_0x3402cb[_0x3d0431(0x298)],0xa);break;case 0x48:_0x131ace[_0x3d0431(0x282)]=parseInt(_0x3402cb[_0x3d0431(0x298)],0xa);break;case 0x154:_0x131ace['styleHandle']=_0x3402cb[_0x3d0431(0x298)];break;case 0xd2:_0x131ace[_0x3d0431(0x2b9)]['x']=parseFloat(_0x3402cb['value']);break;case 0xdc:_0x131ace['normal']['y']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;case 0xe6:_0x131ace['normal']['z']=parseFloat(_0x3402cb[_0x3d0431(0x298)]);break;}}return _0x131ace;}function parseGenericEntity(_0x13f923,_0x4a896a){const _0x1904bb=_0x1204;_0x13f923['data']={};for(const _0x45ae14 of _0x4a896a){const _0x53a9d3=_0x1904bb(0x2ad)+_0x45ae14[_0x1904bb(0x2b5)],_0x37bf38=autoConvert(_0x45ae14[_0x1904bb(0x2b5)],_0x45ae14['value']);if(_0x13f923[_0x1904bb(0x1e8)][_0x53a9d3]!==undefined)_0x13f923[_0x1904bb(0x1e8)][_0x53a9d3]=[][_0x1904bb(0x1f3)](_0x13f923[_0x1904bb(0x1e8)][_0x53a9d3],_0x37bf38);else _0x13f923[_0x1904bb(0x1e8)][_0x53a9d3]=_0x37bf38;}return _0x13f923;}function parseObjects(_0x15e1ab){const _0x4c37c3=_0x1204;if(!_0x15e1ab||_0x15e1ab[_0x4c37c3(0x264)]===0x0)return [];const _0x6e67ad=[];let _0x5ba463=0x0;while(_0x5ba463<_0x15e1ab[_0x4c37c3(0x264)]){if(_0x15e1ab[_0x5ba463][_0x4c37c3(0x2b5)]===0x0){const _0x13144c=_0x15e1ab[_0x5ba463]['value'];_0x5ba463++;const _0x323f47={'type':_0x13144c};while(_0x5ba463<_0x15e1ab[_0x4c37c3(0x264)]&&_0x15e1ab[_0x5ba463]['code']!==0x0){const _0x22c3f2=_0x15e1ab[_0x5ba463][_0x4c37c3(0x2b5)],_0x307ac9=autoConvert(_0x22c3f2,_0x15e1ab[_0x5ba463]['value']);switch(_0x22c3f2){case 0x5:_0x323f47[_0x4c37c3(0x291)]=_0x307ac9;break;case 0x2:_0x323f47[_0x4c37c3(0x222)]=_0x307ac9;break;case 0x3:_0x323f47[_0x4c37c3(0x1fb)]=_0x323f47[_0x4c37c3(0x1fb)]?[][_0x4c37c3(0x1f3)](_0x323f47[_0x4c37c3(0x1fb)],_0x307ac9):_0x307ac9;break;case 0x14a:_0x323f47['ownerHandle']=_0x307ac9;break;case 0x15e:_0x323f47[_0x4c37c3(0x1d5)]=_0x323f47['softPointer']?[]['concat'](_0x323f47['softPointer'],_0x307ac9):_0x307ac9;break;case 0x168:_0x323f47['hardPointer']=_0x323f47['hardPointer']?[]['concat'](_0x323f47[_0x4c37c3(0x289)],_0x307ac9):_0x307ac9;break;default:const _0x4437e6=_0x4c37c3(0x2ad)+_0x22c3f2;if(_0x323f47[_0x4437e6]!==undefined)_0x323f47[_0x4437e6]=[][_0x4c37c3(0x1f3)](_0x323f47[_0x4437e6],_0x307ac9);else _0x323f47[_0x4437e6]=_0x307ac9;}_0x5ba463++;}_0x6e67ad[_0x4c37c3(0x262)](_0x323f47);}else _0x5ba463++;}return _0x6e67ad;}function assemblePolylineVertices(_0x45980d){const _0x4765a9=_0x1204,_0x45a071=[];let _0x20c12e=null;for(const _0x555db7 of _0x45980d){if(_0x555db7[_0x4765a9(0x284)]===_0x4765a9(0x1f9))_0x20c12e=_0x555db7,_0x45a071['push'](_0x555db7);else {if(_0x555db7[_0x4765a9(0x284)]===_0x4765a9(0x1f6)&&_0x20c12e)_0x20c12e[_0x4765a9(0x2a8)][_0x4765a9(0x262)]({'x':_0x555db7[_0x4765a9(0x25c)]['x'],'y':_0x555db7['position']['y'],'z':_0x555db7[_0x4765a9(0x25c)]['z'],'bulge':_0x555db7[_0x4765a9(0x27a)],'startWidth':_0x555db7[_0x4765a9(0x2c0)],'endWidth':_0x555db7['endWidth'],'flags':_0x555db7['flags'],'faceVertex1':_0x555db7[_0x4765a9(0x27d)],'faceVertex2':_0x555db7[_0x4765a9(0x287)],'faceVertex3':_0x555db7['faceVertex3'],'faceVertex4':_0x555db7[_0x4765a9(0x1da)]});else _0x555db7['type']===_0x4765a9(0x293)?_0x20c12e=null:(_0x20c12e=null,_0x45a071[_0x4765a9(0x262)](_0x555db7));}}return _0x45a071;}function assembleInsertAttributes(_0x296da1){const _0x496fe6=_0x1204,_0x322bf1=[];let _0x327639=null;for(const _0x4e8bd0 of _0x296da1){if(_0x4e8bd0['type']===_0x496fe6(0x235)&&_0x4e8bd0[_0x496fe6(0x280)])_0x327639=_0x4e8bd0,_0x322bf1['push'](_0x4e8bd0);else {if(_0x4e8bd0[_0x496fe6(0x284)]===_0x496fe6(0x28c)&&_0x327639)_0x327639[_0x496fe6(0x226)][_0x496fe6(0x262)](_0x4e8bd0);else _0x4e8bd0[_0x496fe6(0x284)]==='SEQEND'?_0x327639=null:(_0x327639=null,_0x322bf1[_0x496fe6(0x262)](_0x4e8bd0));}}return _0x322bf1;}async function fetchDxfFromUrl(_0x31fcf5){const _0x1052ce=_0x1204;if(typeof fetch===_0x1052ce(0x219)){const _0x15db8e=await fetch(_0x31fcf5);if(!_0x15db8e['ok'])throw new Error('获取\x20DXF\x20失败:\x20HTTP\x20'+_0x15db8e[_0x1052ce(0x2c4)]+_0x1052ce(0x1df)+_0x31fcf5);return await _0x15db8e[_0x1052ce(0x241)]();}if(typeof process!=='undefined'&&process['versions']?.[_0x1052ce(0x253)]){const {default:_0x490ad4}=_0x31fcf5[_0x1052ce(0x261)](_0x1052ce(0x2cf))?await import(_0x1052ce(0x2cf)):await import('http');return new Promise((_0x2419cb,_0x41732d)=>{const _0x2a2990=_0x1052ce;_0x490ad4['get'](_0x31fcf5,_0x511442=>{const _0xc95e81=_0x1204;if(_0x511442[_0xc95e81(0x210)]!==0xc8){_0x41732d(new Error(_0xc95e81(0x2b7)+_0x511442[_0xc95e81(0x210)]));return;}let _0x147e94='';_0x511442[_0xc95e81(0x275)](_0xc95e81(0x290)),_0x511442['on']('data',_0x29e3c7=>_0x147e94+=_0x29e3c7),_0x511442['on'](_0xc95e81(0x2b8),()=>_0x2419cb(_0x147e94)),_0x511442['on'](_0xc95e81(0x1d8),_0x41732d);})['on'](_0x2a2990(0x1d8),_0x41732d);});}throw new Error(_0x1052ce(0x29f));}async function readLocalFile(_0x32f688){const _0x104b89=_0x1204;if(typeof process!==_0x104b89(0x2b0)&&process['versions']?.['node']){const {readFile:_0x5cdde7}=await import(_0x104b89(0x28b));return await _0x5cdde7(_0x32f688,_0x104b89(0x290));}throw new Error('浏览器不支持读取本地路径,请用\x20URL\x20或\x20File\x20对象');}async function parseDxf(_0x583ff2){const _0x1ccf74=_0x1204;let _0xb3dd62;if(typeof Blob!=='undefined'&&_0x583ff2 instanceof Blob)_0xb3dd62=await _0x583ff2[_0x1ccf74(0x241)]();else {if(typeof _0x583ff2===_0x1ccf74(0x22d)){if(_0x583ff2[_0x1ccf74(0x29e)]('\x0a')||_0x583ff2['includes'](_0x1ccf74(0x24f)))_0xb3dd62=_0x583ff2;else /^https?:\/\//i[_0x1ccf74(0x244)](_0x583ff2)?_0xb3dd62=await fetchDxfFromUrl(_0x583ff2):_0xb3dd62=await readLocalFile(_0x583ff2);}else throw new Error('parseDxf:\x20请传入\x20DXF\x20字符串、文件路径、URL\x20或\x20File\x20对象');}const _0x38df46=tokenize(_0xb3dd62),_0x4a9b68=splitSections(_0x38df46),_0x101240={'header':parseHeader(_0x4a9b68['HEADER']),'classes':parseClasses(_0x4a9b68[_0x1ccf74(0x206)]),'tables':parseTables(_0x4a9b68[_0x1ccf74(0x227)]),'blocks':parseBlocks(_0x4a9b68[_0x1ccf74(0x252)]),'entities':parseEntityList(_0x4a9b68[_0x1ccf74(0x274)]||[]),'objects':parseObjects(_0x4a9b68[_0x1ccf74(0x232)])};_0x101240[_0x1ccf74(0x2af)]=assemblePolylineVertices(_0x101240[_0x1ccf74(0x2af)]),_0x101240[_0x1ccf74(0x2af)]=assembleInsertAttributes(_0x101240[_0x1ccf74(0x2af)]);for(const _0x7167bb of _0x101240[_0x1ccf74(0x258)]){_0x7167bb[_0x1ccf74(0x2af)]&&_0x7167bb['entities'][_0x1ccf74(0x264)]>0x0&&(_0x7167bb[_0x1ccf74(0x2af)]=assemblePolylineVertices(_0x7167bb[_0x1ccf74(0x2af)]),_0x7167bb[_0x1ccf74(0x2af)]=assembleInsertAttributes(_0x7167bb[_0x1ccf74(0x2af)]));}return _0x101240;}
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
+ const _0x1cdf2c=_0x2fa3;(function(_0xdc3ca0,_0x59fb8a){const _0x538f9a=_0x2fa3,_0x660d05=_0xdc3ca0();while(!![]){try{const _0x4d4ff6=-parseInt(_0x538f9a(0x23b))/0x1*(parseInt(_0x538f9a(0x22e))/0x2)+-parseInt(_0x538f9a(0x237))/0x3+-parseInt(_0x538f9a(0x286))/0x4*(-parseInt(_0x538f9a(0x275))/0x5)+-parseInt(_0x538f9a(0x297))/0x6+parseInt(_0x538f9a(0x245))/0x7*(parseInt(_0x538f9a(0x291))/0x8)+parseInt(_0x538f9a(0x27c))/0x9*(-parseInt(_0x538f9a(0x256))/0xa)+parseInt(_0x538f9a(0x27b))/0xb;if(_0x4d4ff6===_0x59fb8a)break;else _0x660d05['push'](_0x660d05['shift']());}catch(_0x431f85){_0x660d05['push'](_0x660d05['shift']());}}}(_0x4fb0,0x70f4e));function pair(_0x290d8e,_0x17aee1){if(_0x17aee1===undefined||_0x17aee1===null)return '';return '\x20\x20'+_0x290d8e+'\x0a'+_0x17aee1+'\x0a';}function _0x4fb0(){const _0x14b02e=['constantWidth','AcDbTrace','ATTRIB','TABLES','SECTION','binaryData','AcDbWipeout','pathType','AcDbPoint','6CcCXKj','AcDbFcf','patternAngle','edges','VERTEX','point3','frozenLayers','lineSpacingStyle','widthFactor','792879TWuVHS','closed','substring','ATTDEF','196347XYbWuf','planar','vertices','AcDb3PointAngularDimension','extra','replace','RAY','HELIX','TOLERANCE','columnCount','21UIHdnb','round','HATCH','hAlign','AcDbRadialDimension','LINE','LEADER','AcDbBlockReference','viewTarget','AcDbFace','subclassMarker','visible','header','SEQEND','SURFACE','MLINE','annotationReference','3310dDOrQc','BODY','handedness','AcDbVertex','seedPoints','ownerHandle','AcDbViewport','proxyCapabilities','AcDbMLeader','invisibleEdgeFlags','startAngle','trueColor','ELLIPSE','VIEWPORT','controlPoints','fs/promises','styleName','startsWith','name2','solid','lineweight','imageSize','undefined','AcDbRay','patternScale','position','weights','AcDbHelix','rowSpacing','AcDbAlignedDimension','turnHeight','1574945UoVhiP','REGION','endAngle','AcDbCircle','flags','output.dxf','20627321Yxvgih','8181Qhahkp','linetypeScale','defaultEndWidth','radius','AcDbTable','xScale','imageDefHandle','SPLINE','AcDbMline','scale','4moqyah','ARC','BLOCKS','backClipPlane','doglegLength','AcDb2dVertex','fade','hooklineFlag','alignmentPoint','writeDxfFile\x20仅支持\x20Node.js\x20环境,浏览器请用\x20downloadDxfFile()','subdivisionLevel','113576toJyBF','POLYLINE','snapAngle','frontClipPlane','AcDbBlockBegin','displayFlags','3695448FyPaMr','colorNumber','AcDbDimension','associative','attachmentPoint','AcDb2dPolyline','oblique','createElement','IMAGE','hooklineDirectionFlag','concat','brightness','type','endPoint','keys','_type','CLASS','objects','AcDbSpline','AcDbOle2Frame','horizontalDirection','wasProxy','AcDbEntity','endWidth','ENDBLK','TABLE','columnSpacing','thickness','endsWith','BLOCK','viewTwistAngle','statusField','versions','contrast','LWPOLYLINE','TEXT','vVector','ENDSEC','turns','CLASSES','blocks','AcDbLine','constraint','styleHandle','uVector','degree','tables','EOF','softPointer','extrusionDirection','AcDbBody','faces','MTEXT','center','TRACE','tileMode','attributes','OBJECTS','3DFACE','rowHeights','insertionPoint','leaderPoints','height','angle','object','dxfRecord','POINT','toFixed','appName','createObjectURL','elevation','bulge','acisDataString','generationFlags','boundaryPaths','gridSpacing','width','patternName','AcDbSubDMesh','basePointZ','handle','XLINE','AcDb3dSolid','lineSpacing','entries','CIRCLE','edgeCreases','linetypeName','AcDbAttribute','points','data','utf-8','AcDbEllipse','AcDbRotatedDimension','justification','snapSpacing','viewHeight','style','drawingDirection','vAlign','3DSOLID','endTangent','ENTITIES','AcDbXline','startTangent','creationType','AcDbLeader','entities','classes','entryName','fitTolerance','elementCount','rows','columnWidths','AcDbBlockEnd','STANDARD','lowerRightCorner','modelerFormat','AcDbPolyline','controlPointTolerance','OLE2FRAME','node','plotStyleHandle','arrowheadSize','clippingType','viewDirection','blockName','DIMENSION','isEntity','normal','basePoint','length','layer','arrowheadFlag','AcDbArc','clippingBoundary','patternType','rotation','SOLID','middleOfText','defaultStartWidth','AcDbMText','code_','version','majorAxisEndPoint','knotTolerance','fitPoints','startWidth','hardPointer','direction','rowCount','0.0','name','extensionLineAngle','perspectiveLensLength','AcDbSurface','textStyleId','upperLeftCorner','startPoint','click','contentType','meshMVertexCount','prompt','point1','text','instanceCount','ENDTAB','textHeight','leaderLength','AcDbAttributeDefinition','meshNVertexCount','snapBase','axisRatio','tag','download','point2'];_0x4fb0=function(){return _0x14b02e;};return _0x4fb0();}function pairF(_0x2a73d8,_0x8d57ab){if(_0x8d57ab===undefined||_0x8d57ab===null)return '';return pair(_0x2a73d8,formatFloat(_0x8d57ab));}function formatFloat(_0x4c1328){const _0xc1b44f=_0x2fa3;if(typeof _0x4c1328!=='number'||isNaN(_0x4c1328))return _0xc1b44f(0x20c);let _0x55fefc=_0x4c1328[_0xc1b44f(0x1b8)](0x6);_0x55fefc=_0x55fefc[_0xc1b44f(0x240)](/(\.\d*?)0+$/,'$1');if(_0x55fefc[_0xc1b44f(0x2b3)]('.'))_0x55fefc+='0';return _0x55fefc;}function pairI(_0x5ba544,_0x2eab8b){const _0x538188=_0x2fa3;if(_0x2eab8b===undefined||_0x2eab8b===null)return '';return pair(_0x5ba544,Math[_0x538188(0x246)](_0x2eab8b));}function writePoint3D(_0x1badb5,_0x214ac7){if(!_0x214ac7)return '';return pairF(_0x1badb5,_0x214ac7['x'])+pairF(_0x1badb5+0xa,_0x214ac7['y'])+pairF(_0x1badb5+0x14,_0x214ac7['z']);}function writePoint2D(_0x4f4aa4,_0x2b8c25){if(!_0x2b8c25)return '';return pairF(_0x4f4aa4,_0x2b8c25['x'])+pairF(_0x4f4aa4+0xa,_0x2b8c25['y']);}function writeExtrusion(_0x332e29){if(!_0x332e29)return '';if(_0x332e29['x']===0x0&&_0x332e29['y']===0x0&&_0x332e29['z']===0x1)return '';return pairF(0xd2,_0x332e29['x'])+pairF(0xdc,_0x332e29['y'])+pairF(0xe6,_0x332e29['z']);}function writeHeader(_0x493d21){const _0x4da9a6=_0x2fa3;if(!_0x493d21||Object[_0x4da9a6(0x2a5)](_0x493d21)[_0x4da9a6(0x1f8)]===0x0)return '';let _0x9b0f80=pair(0x0,'SECTION')+pair(0x2,'HEADER');for(const [_0x35a6bb,_0xeb2ae5]of Object[_0x4da9a6(0x1c9)](_0x493d21)){_0x9b0f80+=pair(0x9,_0x35a6bb);if(typeof _0xeb2ae5===_0x4da9a6(0x1b5)&&_0xeb2ae5!==null&&!Array['isArray'](_0xeb2ae5))for(const [_0x1b5cec,_0x382307]of Object['entries'](_0xeb2ae5)){_0x9b0f80+=pair(parseInt(_0x1b5cec),_0x382307);}else _0x9b0f80+=pair(0x1,_0xeb2ae5);}return _0x9b0f80+=pair(0x0,_0x4da9a6(0x2bc)),_0x9b0f80;}function writeClasses(_0x2b83e7){const _0x385ee4=_0x2fa3;if(!_0x2b83e7||_0x2b83e7['length']===0x0)return '';let _0xed764e=pair(0x0,'SECTION')+pair(0x2,_0x385ee4(0x2be));for(const _0x14e677 of _0x2b83e7){_0xed764e+=pair(0x0,_0x385ee4(0x2a7));if(_0x14e677[_0x385ee4(0x1b6)])_0xed764e+=pair(0x1,_0x14e677['dxfRecord']);if(_0x14e677['cppClassName'])_0xed764e+=pair(0x2,_0x14e677['cppClassName']);if(_0x14e677['appName'])_0xed764e+=pair(0x3,_0x14e677[_0x385ee4(0x1b9)]);if(_0x14e677[_0x385ee4(0x25d)]!==undefined)_0xed764e+=pairI(0x5a,_0x14e677['proxyCapabilities']);if(_0x14e677[_0x385ee4(0x21a)]!==undefined)_0xed764e+=pairI(0x5b,_0x14e677[_0x385ee4(0x21a)]);if(_0x14e677[_0x385ee4(0x2ac)]!==undefined)_0xed764e+=pairI(0x118,_0x14e677[_0x385ee4(0x2ac)]);if(_0x14e677[_0x385ee4(0x1f5)]!==undefined)_0xed764e+=pairI(0x119,_0x14e677[_0x385ee4(0x1f5)]);}return _0xed764e+=pair(0x0,'ENDSEC'),_0xed764e;}function writeTables(_0x363bc4){const _0x345b05=_0x2fa3;if(!_0x363bc4||Object[_0x345b05(0x2a5)](_0x363bc4)[_0x345b05(0x1f8)]===0x0)return '';let _0x45be3a=pair(0x0,_0x345b05(0x229))+pair(0x2,_0x345b05(0x228));for(const [_0xa56cd9,_0x1fe5ae]of Object['entries'](_0x363bc4)){_0x45be3a+=pair(0x0,_0x345b05(0x2b0)),_0x45be3a+=pair(0x2,_0xa56cd9);if(_0x1fe5ae[_0x345b05(0x1f8)]>0x0){const _0x3da02e=_0x1fe5ae[0x0];if(_0x3da02e[_0x345b05(0x1c5)])_0x45be3a+=pair(0x5,_0x3da02e['handle']);if(_0x3da02e[_0x345b05(0x25b)])_0x45be3a+=pair(0x14a,_0x3da02e[_0x345b05(0x25b)]);_0x45be3a+=pair(0x64,'AcDbSymbolTable'),_0x45be3a+=pairI(0x46,_0x1fe5ae[_0x345b05(0x1f8)]);}for(const _0xe0eb6f of _0x1fe5ae){_0x45be3a+=pair(0x0,_0xe0eb6f[_0x345b05(0x2a6)]||_0xa56cd9);if(_0xe0eb6f[_0x345b05(0x1c5)])_0x45be3a+=pair(0x5,_0xe0eb6f[_0x345b05(0x1c5)]);if(_0xe0eb6f[_0x345b05(0x25b)])_0x45be3a+=pair(0x14a,_0xe0eb6f['ownerHandle']);if(_0xe0eb6f['subclassMarker']){const _0x40feb7=[]['concat'](_0xe0eb6f[_0x345b05(0x24f)]);for(const _0x4b1e27 of _0x40feb7){_0x45be3a+=pair(0x64,_0x4b1e27);}}if(_0xe0eb6f[_0x345b05(0x20d)])_0x45be3a+=pair(0x2,_0xe0eb6f[_0x345b05(0x20d)]);if(_0xe0eb6f[_0x345b05(0x279)]!==undefined)_0x45be3a+=pairI(0x46,_0xe0eb6f[_0x345b05(0x279)]);if(_0xe0eb6f['colorNumber']!==undefined)_0x45be3a+=pairI(0x3e,_0xe0eb6f[_0x345b05(0x298)]);if(_0xe0eb6f[_0x345b05(0x1cc)])_0x45be3a+=pair(0x6,_0xe0eb6f[_0x345b05(0x1cc)]);if(_0xe0eb6f['styleName'])_0x45be3a+=pair(0x7,_0xe0eb6f[_0x345b05(0x266)]);if(_0xe0eb6f['height'])_0x45be3a+=pairF(0x28,_0xe0eb6f[_0x345b05(0x1b3)]);if(_0xe0eb6f['widthFactor'])_0x45be3a+=pairF(0x29,_0xe0eb6f[_0x345b05(0x236)]);if(_0xe0eb6f['angle'])_0x45be3a+=pairF(0x32,_0xe0eb6f['angle']);if(_0xe0eb6f[_0x345b05(0x26a)]!==undefined)_0x45be3a+=pairI(0x172,_0xe0eb6f[_0x345b05(0x26a)]);if(_0xe0eb6f[_0x345b05(0x1ef)])_0x45be3a+=pair(0x186,_0xe0eb6f[_0x345b05(0x1ef)]);if(_0xe0eb6f[_0x345b05(0x23f)])for(const [_0x30d8d9,_0x40dcf3]of Object[_0x345b05(0x1c9)](_0xe0eb6f)){if(_0x30d8d9['startsWith']('code_')){const _0x498118=parseInt(_0x30d8d9['replace']('code_','')),_0x5032ce=[][_0x345b05(0x2a1)](_0x40dcf3);for(const _0x76b4f3 of _0x5032ce){_0x45be3a+=pair(_0x498118,_0x76b4f3);}}}}_0x45be3a+=pair(0x0,_0x345b05(0x21b));}return _0x45be3a+=pair(0x0,_0x345b05(0x2bc)),_0x45be3a;}function writeBlocks(_0x3adee1){const _0x482381=_0x2fa3;if(!_0x3adee1||_0x3adee1[_0x482381(0x1f8)]===0x0)return '';let _0x113db1=pair(0x0,_0x482381(0x229))+pair(0x2,_0x482381(0x288));for(const _0x22113e of _0x3adee1){_0x113db1+=pair(0x0,_0x482381(0x2b4));if(_0x22113e['handle'])_0x113db1+=pair(0x5,_0x22113e[_0x482381(0x1c5)]);if(_0x22113e[_0x482381(0x25b)])_0x113db1+=pair(0x14a,_0x22113e['ownerHandle']);_0x113db1+=pair(0x64,_0x482381(0x2ad));if(_0x22113e[_0x482381(0x1f9)])_0x113db1+=pair(0x8,_0x22113e[_0x482381(0x1f9)]);_0x113db1+=pair(0x64,_0x482381(0x295));if(_0x22113e[_0x482381(0x20d)])_0x113db1+=pair(0x2,_0x22113e[_0x482381(0x20d)]);if(_0x22113e['flags']!==undefined)_0x113db1+=pairI(0x46,_0x22113e[_0x482381(0x279)]);_0x113db1+=pairF(0xa,_0x22113e['basePointX']||_0x22113e[_0x482381(0x1f7)]&&_0x22113e[_0x482381(0x1f7)]['x']||0x0),_0x113db1+=pairF(0x14,_0x22113e['basePointY']||_0x22113e['basePoint']&&_0x22113e['basePoint']['y']||0x0),_0x113db1+=pairF(0x1e,_0x22113e[_0x482381(0x1c4)]||_0x22113e[_0x482381(0x1f7)]&&_0x22113e['basePoint']['z']||0x0);if(_0x22113e[_0x482381(0x268)]||_0x22113e[_0x482381(0x20d)])_0x113db1+=pair(0x3,_0x22113e[_0x482381(0x268)]||_0x22113e[_0x482381(0x20d)]);_0x22113e[_0x482381(0x1e0)]&&_0x22113e[_0x482381(0x1e0)]['length']>0x0&&(_0x113db1+=writeEntityList(_0x22113e['entities']));_0x113db1+=pair(0x0,_0x482381(0x2af));if(_0x22113e[_0x482381(0x1c5)])_0x113db1+=pair(0x5,_0x22113e[_0x482381(0x1c5)]);if(_0x22113e[_0x482381(0x25b)])_0x113db1+=pair(0x14a,_0x22113e[_0x482381(0x25b)]);_0x113db1+=pair(0x64,'AcDbEntity');if(_0x22113e['layer'])_0x113db1+=pair(0x8,_0x22113e['layer']);_0x113db1+=pair(0x64,_0x482381(0x1e7));}return _0x113db1+=pair(0x0,_0x482381(0x2bc)),_0x113db1;}function writeEntityList(_0x470080){let _0x19c9b3='';for(const _0x166589 of _0x470080){_0x19c9b3+=writeOneEntity(_0x166589);}return _0x19c9b3;}function _0x2fa3(_0xe35058,_0x2de00c){_0xe35058=_0xe35058-0x1a3;const _0x4fb097=_0x4fb0();let _0x2fa3b4=_0x4fb097[_0xe35058];return _0x2fa3b4;}function writeEntitiesSection(_0x5e4e7b){const _0x161c98=_0x2fa3;if(!_0x5e4e7b||_0x5e4e7b['length']===0x0)return '';let _0x514a15=pair(0x0,_0x161c98(0x229))+pair(0x2,_0x161c98(0x1db));return _0x514a15+=writeEntityList(_0x5e4e7b),_0x514a15+=pair(0x0,'ENDSEC'),_0x514a15;}function writeCommonFields(_0x559108){const _0x150770=_0x2fa3;let _0x401429='';if(_0x559108[_0x150770(0x1c5)])_0x401429+=pair(0x5,_0x559108[_0x150770(0x1c5)]);if(_0x559108[_0x150770(0x25b)])_0x401429+=pair(0x14a,_0x559108[_0x150770(0x25b)]);_0x401429+=pair(0x64,_0x150770(0x2ad));if(_0x559108['inPaperSpace'])_0x401429+=pairI(0x43,0x1);if(_0x559108['layer'])_0x401429+=pair(0x8,_0x559108['layer']);if(_0x559108['linetypeName'])_0x401429+=pair(0x6,_0x559108['linetypeName']);if(_0x559108[_0x150770(0x298)]!==undefined&&_0x559108[_0x150770(0x298)]!==0x0)_0x401429+=pairI(0x3e,_0x559108[_0x150770(0x298)]);if(_0x559108[_0x150770(0x26a)]!==undefined)_0x401429+=pairI(0x172,_0x559108[_0x150770(0x26a)]);if(_0x559108[_0x150770(0x27d)]!==undefined&&_0x559108['linetypeScale']!==0x1)_0x401429+=pairF(0x30,_0x559108[_0x150770(0x27d)]);if(_0x559108[_0x150770(0x250)]===![])_0x401429+=pairI(0x3c,0x1);if(_0x559108[_0x150770(0x261)])_0x401429+=pairI(0x1a4,_0x559108[_0x150770(0x261)]);return _0x401429;}function writeOneEntity(_0x426a51){const _0x13cdf9=_0x2fa3;if(!_0x426a51||!_0x426a51[_0x13cdf9(0x2a3)])return '';let _0x5119f0=pair(0x0,_0x426a51[_0x13cdf9(0x2a3)]);_0x5119f0+=writeCommonFields(_0x426a51);switch(_0x426a51[_0x13cdf9(0x2a3)]){case _0x13cdf9(0x24a):_0x5119f0+=writeLineEntity(_0x426a51);break;case _0x13cdf9(0x2b9):_0x5119f0+=writeLWPolylineEntity(_0x426a51);break;case _0x13cdf9(0x292):_0x5119f0+=writePolylineEntity(_0x426a51);break;case _0x13cdf9(0x287):_0x5119f0+=writeArcEntity(_0x426a51);break;case _0x13cdf9(0x1ca):_0x5119f0+=writeCircleEntity(_0x426a51);break;case _0x13cdf9(0x262):_0x5119f0+=writeEllipseEntity(_0x426a51);break;case _0x13cdf9(0x1b7):_0x5119f0+=writePointEntity(_0x426a51);break;case _0x13cdf9(0x2ba):_0x5119f0+=writeTextEntity(_0x426a51);break;case _0x13cdf9(0x1a9):_0x5119f0+=writeMTextEntity(_0x426a51);break;case _0x13cdf9(0x227):case _0x13cdf9(0x23a):_0x5119f0+=writeAttribEntity(_0x426a51);break;case 'INSERT':_0x5119f0+=writeInsertEntity(_0x426a51);break;case _0x13cdf9(0x1f4):_0x5119f0+=writeDimensionEntity(_0x426a51);break;case _0x13cdf9(0x24b):_0x5119f0+=writeLeaderEntity(_0x426a51);break;case 'MLEADER':_0x5119f0+=writeMLeaderEntity(_0x426a51);break;case _0x13cdf9(0x247):_0x5119f0+=writeHatchEntity(_0x426a51);break;case _0x13cdf9(0x283):_0x5119f0+=writeSplineEntity(_0x426a51);break;case 'SOLID':case _0x13cdf9(0x1d9):case _0x13cdf9(0x1ab):_0x5119f0+=writeSolidEntity(_0x426a51);break;case _0x13cdf9(0x1af):_0x5119f0+=write3DFaceEntity(_0x426a51);break;case _0x13cdf9(0x241):case _0x13cdf9(0x1c6):_0x5119f0+=writeRayEntity(_0x426a51);break;case _0x13cdf9(0x263):_0x5119f0+=writeViewportEntity(_0x426a51);break;case _0x13cdf9(0x29f):case 'WIPEOUT':_0x5119f0+=writeImageEntity(_0x426a51);break;case _0x13cdf9(0x243):_0x5119f0+=writeToleranceEntity(_0x426a51);break;case _0x13cdf9(0x242):_0x5119f0+=writeHelixEntity(_0x426a51);break;case 'MESH':_0x5119f0+=writeMeshEntity(_0x426a51);break;case _0x13cdf9(0x276):case _0x13cdf9(0x257):case _0x13cdf9(0x253):_0x5119f0+=writeRegionEntity(_0x426a51);break;case _0x13cdf9(0x1ed):_0x5119f0+=writeOle2Entity(_0x426a51);break;case _0x13cdf9(0x2b0):_0x5119f0+=writeTableEntity(_0x426a51);break;case _0x13cdf9(0x254):_0x5119f0+=writeMLineEntity(_0x426a51);break;case _0x13cdf9(0x252):break;default:_0x5119f0+=writeGenericEntity(_0x426a51);break;}return _0x5119f0;}function writeLineEntity(_0x4dbed4){const _0x5bbcfb=_0x2fa3;let _0x158d2e=pair(0x64,_0x5bbcfb(0x2c0));if(_0x4dbed4['thickness'])_0x158d2e+=pairF(0x27,_0x4dbed4[_0x5bbcfb(0x2b2)]);return _0x158d2e+=writePoint3D(0xa,_0x4dbed4[_0x5bbcfb(0x213)]),_0x158d2e+=writePoint3D(0xb,_0x4dbed4[_0x5bbcfb(0x2a4)]),_0x158d2e+=writeExtrusion(_0x4dbed4['extrusionDirection']),_0x158d2e;}function writeLWPolylineEntity(_0x41f75e){const _0x4a99c1=_0x2fa3;let _0x347ee7=pair(0x64,_0x4a99c1(0x1eb));const _0x5b4072=_0x41f75e[_0x4a99c1(0x23d)]||[];_0x347ee7+=pairI(0x5a,_0x5b4072[_0x4a99c1(0x1f8)]);let _0x423ecc=0x0;if(_0x41f75e[_0x4a99c1(0x238)])_0x423ecc|=0x1;_0x347ee7+=pairI(0x46,_0x423ecc);if(_0x41f75e[_0x4a99c1(0x225)])_0x347ee7+=pairF(0x2b,_0x41f75e['constantWidth']);if(_0x41f75e[_0x4a99c1(0x1bb)])_0x347ee7+=pairF(0x26,_0x41f75e[_0x4a99c1(0x1bb)]);if(_0x41f75e[_0x4a99c1(0x2b2)])_0x347ee7+=pairF(0x27,_0x41f75e[_0x4a99c1(0x2b2)]);for(const _0x4355cc of _0x5b4072){_0x347ee7+=pairF(0xa,_0x4355cc['x']),_0x347ee7+=pairF(0x14,_0x4355cc['y']);if(_0x4355cc['startWidth'])_0x347ee7+=pairF(0x28,_0x4355cc[_0x4a99c1(0x208)]);if(_0x4355cc[_0x4a99c1(0x2ae)])_0x347ee7+=pairF(0x29,_0x4355cc[_0x4a99c1(0x2ae)]);if(_0x4355cc[_0x4a99c1(0x1bc)])_0x347ee7+=pairF(0x2a,_0x4355cc[_0x4a99c1(0x1bc)]);}return _0x347ee7+=writeExtrusion(_0x41f75e[_0x4a99c1(0x1a6)]),_0x347ee7;}function writePolylineEntity(_0x49c8ee){const _0x42b5de=_0x2fa3;let _0x881821=pair(0x64,_0x42b5de(0x29c)),_0x1bd837=_0x49c8ee[_0x42b5de(0x279)]||0x0;if(_0x49c8ee[_0x42b5de(0x238)])_0x1bd837|=0x1;_0x881821+=pairI(0x46,_0x1bd837),_0x881821+=pairF(0xa,0x0),_0x881821+=pairF(0x14,0x0);if(_0x49c8ee[_0x42b5de(0x1bb)])_0x881821+=pairF(0x1e,_0x49c8ee[_0x42b5de(0x1bb)]);if(_0x49c8ee['thickness'])_0x881821+=pairF(0x27,_0x49c8ee['thickness']);if(_0x49c8ee[_0x42b5de(0x201)])_0x881821+=pairF(0x28,_0x49c8ee[_0x42b5de(0x201)]);if(_0x49c8ee[_0x42b5de(0x27e)])_0x881821+=pairF(0x29,_0x49c8ee[_0x42b5de(0x27e)]);if(_0x49c8ee[_0x42b5de(0x216)])_0x881821+=pairI(0x47,_0x49c8ee[_0x42b5de(0x216)]);if(_0x49c8ee[_0x42b5de(0x21f)])_0x881821+=pairI(0x48,_0x49c8ee['meshNVertexCount']);_0x881821+=writeExtrusion(_0x49c8ee[_0x42b5de(0x1a6)]);if(_0x49c8ee[_0x42b5de(0x23d)]&&_0x49c8ee[_0x42b5de(0x23d)][_0x42b5de(0x1f8)]>0x0){for(const _0x42a96c of _0x49c8ee['vertices']){_0x881821+=pair(0x0,_0x42b5de(0x232));if(_0x49c8ee['handle'])_0x881821+=pair(0x5,'');_0x881821+=pair(0x64,'AcDbEntity');if(_0x49c8ee[_0x42b5de(0x1f9)])_0x881821+=pair(0x8,_0x49c8ee[_0x42b5de(0x1f9)]);_0x881821+=pair(0x64,_0x42b5de(0x259)),_0x881821+=pair(0x64,_0x42b5de(0x28b)),_0x881821+=pairF(0xa,_0x42a96c['x']),_0x881821+=pairF(0x14,_0x42a96c['y']),_0x881821+=pairF(0x1e,_0x42a96c['z']||0x0);if(_0x42a96c[_0x42b5de(0x208)])_0x881821+=pairF(0x28,_0x42a96c[_0x42b5de(0x208)]);if(_0x42a96c['endWidth'])_0x881821+=pairF(0x29,_0x42a96c['endWidth']);if(_0x42a96c['bulge'])_0x881821+=pairF(0x2a,_0x42a96c[_0x42b5de(0x1bc)]);if(_0x42a96c[_0x42b5de(0x279)])_0x881821+=pairI(0x46,_0x42a96c[_0x42b5de(0x279)]);}_0x881821+=pair(0x0,_0x42b5de(0x252)),_0x881821+=pair(0x64,'AcDbEntity');if(_0x49c8ee[_0x42b5de(0x1f9)])_0x881821+=pair(0x8,_0x49c8ee[_0x42b5de(0x1f9)]);}return _0x881821;}function writeArcEntity(_0x49bbd6){const _0x591cae=_0x2fa3;let _0x80f82a=pair(0x64,'AcDbCircle');if(_0x49bbd6[_0x591cae(0x2b2)])_0x80f82a+=pairF(0x27,_0x49bbd6[_0x591cae(0x2b2)]);return _0x80f82a+=writePoint3D(0xa,_0x49bbd6[_0x591cae(0x1aa)]),_0x80f82a+=pairF(0x28,_0x49bbd6[_0x591cae(0x27f)]),_0x80f82a+=writeExtrusion(_0x49bbd6['extrusionDirection']),_0x80f82a+=pair(0x64,_0x591cae(0x1fb)),_0x80f82a+=pairF(0x32,_0x49bbd6[_0x591cae(0x260)]),_0x80f82a+=pairF(0x33,_0x49bbd6['endAngle']),_0x80f82a;}function writeCircleEntity(_0x5ac71a){const _0x5cc5b4=_0x2fa3;let _0xfb91a8=pair(0x64,_0x5cc5b4(0x278));if(_0x5ac71a[_0x5cc5b4(0x2b2)])_0xfb91a8+=pairF(0x27,_0x5ac71a[_0x5cc5b4(0x2b2)]);return _0xfb91a8+=writePoint3D(0xa,_0x5ac71a[_0x5cc5b4(0x1aa)]),_0xfb91a8+=pairF(0x28,_0x5ac71a[_0x5cc5b4(0x27f)]),_0xfb91a8+=writeExtrusion(_0x5ac71a[_0x5cc5b4(0x1a6)]),_0xfb91a8;}function writeEllipseEntity(_0x5d0e4c){const _0x2c05c8=_0x2fa3;let _0x545ca4=pair(0x64,_0x2c05c8(0x1d1));return _0x545ca4+=writePoint3D(0xa,_0x5d0e4c[_0x2c05c8(0x1aa)]),_0x545ca4+=writePoint3D(0xb,_0x5d0e4c[_0x2c05c8(0x205)]),_0x545ca4+=writeExtrusion(_0x5d0e4c[_0x2c05c8(0x1a6)]),_0x545ca4+=pairF(0x28,_0x5d0e4c[_0x2c05c8(0x221)]),_0x545ca4+=pairF(0x29,_0x5d0e4c[_0x2c05c8(0x260)]),_0x545ca4+=pairF(0x2a,_0x5d0e4c[_0x2c05c8(0x277)]),_0x545ca4;}function writePointEntity(_0x4886d9){const _0x9a6594=_0x2fa3;let _0x47f963=pair(0x64,_0x9a6594(0x22d));_0x47f963+=writePoint3D(0xa,_0x4886d9[_0x9a6594(0x26f)]);if(_0x4886d9[_0x9a6594(0x2b2)])_0x47f963+=pairF(0x27,_0x4886d9[_0x9a6594(0x2b2)]);if(_0x4886d9[_0x9a6594(0x1b4)])_0x47f963+=pairF(0x32,_0x4886d9[_0x9a6594(0x1b4)]);return _0x47f963+=writeExtrusion(_0x4886d9[_0x9a6594(0x1a6)]),_0x47f963;}function writeTextEntity(_0x287fd3){const _0x2e3fd7=_0x2fa3;let _0x470470=pair(0x64,'AcDbText');if(_0x287fd3['thickness'])_0x470470+=pairF(0x27,_0x287fd3[_0x2e3fd7(0x2b2)]);_0x470470+=writePoint3D(0xa,_0x287fd3['insertionPoint']),_0x470470+=pairF(0x28,_0x287fd3['height']),_0x470470+=pair(0x1,_0x287fd3[_0x2e3fd7(0x219)]);if(_0x287fd3[_0x2e3fd7(0x1fe)])_0x470470+=pairF(0x32,_0x287fd3[_0x2e3fd7(0x1fe)]);if(_0x287fd3[_0x2e3fd7(0x281)]&&_0x287fd3[_0x2e3fd7(0x281)]!==0x1)_0x470470+=pairF(0x29,_0x287fd3[_0x2e3fd7(0x281)]);if(_0x287fd3[_0x2e3fd7(0x29d)])_0x470470+=pairF(0x33,_0x287fd3[_0x2e3fd7(0x29d)]);if(_0x287fd3['styleName']&&_0x287fd3[_0x2e3fd7(0x266)]!==_0x2e3fd7(0x1e8))_0x470470+=pair(0x7,_0x287fd3[_0x2e3fd7(0x266)]);if(_0x287fd3['generationFlags'])_0x470470+=pairI(0x47,_0x287fd3[_0x2e3fd7(0x1be)]);if(_0x287fd3['hAlign'])_0x470470+=pairI(0x48,_0x287fd3[_0x2e3fd7(0x248)]);_0x470470+=writePoint3D(0xb,_0x287fd3[_0x2e3fd7(0x28e)]),_0x470470+=writeExtrusion(_0x287fd3[_0x2e3fd7(0x1a6)]),_0x470470+=pair(0x64,'AcDbText');if(_0x287fd3[_0x2e3fd7(0x1d8)])_0x470470+=pairI(0x49,_0x287fd3[_0x2e3fd7(0x1d8)]);return _0x470470;}function writeMTextEntity(_0x445702){const _0x4486fb=_0x2fa3;let _0x1aff1c=pair(0x64,_0x4486fb(0x202));_0x1aff1c+=writePoint3D(0xa,_0x445702[_0x4486fb(0x1b1)]),_0x1aff1c+=pairF(0x28,_0x445702[_0x4486fb(0x1b3)]);if(_0x445702[_0x4486fb(0x1c1)])_0x1aff1c+=pairF(0x29,_0x445702[_0x4486fb(0x1c1)]);if(_0x445702[_0x4486fb(0x29b)])_0x1aff1c+=pairI(0x47,_0x445702[_0x4486fb(0x29b)]);if(_0x445702[_0x4486fb(0x1d7)])_0x1aff1c+=pairI(0x48,_0x445702[_0x4486fb(0x1d7)]);const _0x38e3f9=_0x445702[_0x4486fb(0x219)]||'';if(_0x38e3f9[_0x4486fb(0x1f8)]>0xfa){let _0x32c388=_0x38e3f9;while(_0x32c388[_0x4486fb(0x1f8)]>0xfa){_0x1aff1c+=pair(0x3,_0x32c388[_0x4486fb(0x239)](0x0,0xfa)),_0x32c388=_0x32c388[_0x4486fb(0x239)](0xfa);}_0x1aff1c+=pair(0x1,_0x32c388);}else _0x1aff1c+=pair(0x1,_0x38e3f9);if(_0x445702[_0x4486fb(0x266)]&&_0x445702['styleName']!==_0x4486fb(0x1e8))_0x1aff1c+=pair(0x7,_0x445702[_0x4486fb(0x266)]);if(_0x445702[_0x4486fb(0x1fe)])_0x1aff1c+=pairF(0x32,_0x445702[_0x4486fb(0x1fe)]);if(_0x445702['lineSpacingStyle'])_0x1aff1c+=pairI(0x49,_0x445702[_0x4486fb(0x235)]);if(_0x445702[_0x4486fb(0x1c8)]&&_0x445702[_0x4486fb(0x1c8)]!==0x1)_0x1aff1c+=pairF(0x2c,_0x445702[_0x4486fb(0x1c8)]);return _0x1aff1c+=writePoint3D(0xb,_0x445702[_0x4486fb(0x20a)]),_0x1aff1c+=writeExtrusion(_0x445702[_0x4486fb(0x1a6)]),_0x1aff1c;}function writeAttribEntity(_0x1a756a){const _0x11b2ab=_0x2fa3,_0xc19680=_0x1a756a[_0x11b2ab(0x2a3)]===_0x11b2ab(0x23a);let _0x747861=pair(0x64,_0xc19680?_0x11b2ab(0x21e):_0x11b2ab(0x1cd));_0x747861+=writePoint3D(0xa,_0x1a756a[_0x11b2ab(0x1b1)]),_0x747861+=pairF(0x28,_0x1a756a[_0x11b2ab(0x1b3)]),_0x747861+=pair(0x1,_0x1a756a['text']);if(_0x1a756a[_0x11b2ab(0x222)])_0x747861+=pair(0x2,_0x1a756a[_0x11b2ab(0x222)]);if(_0x1a756a[_0x11b2ab(0x217)])_0x747861+=pair(0x3,_0x1a756a[_0x11b2ab(0x217)]);if(_0x1a756a['flags'])_0x747861+=pairI(0x46,_0x1a756a[_0x11b2ab(0x279)]);if(_0x1a756a[_0x11b2ab(0x1fe)])_0x747861+=pairF(0x32,_0x1a756a[_0x11b2ab(0x1fe)]);if(_0x1a756a[_0x11b2ab(0x281)]&&_0x1a756a[_0x11b2ab(0x281)]!==0x1)_0x747861+=pairF(0x29,_0x1a756a[_0x11b2ab(0x281)]);if(_0x1a756a['styleName']&&_0x1a756a[_0x11b2ab(0x266)]!==_0x11b2ab(0x1e8))_0x747861+=pair(0x7,_0x1a756a[_0x11b2ab(0x266)]);if(_0x1a756a[_0x11b2ab(0x1be)])_0x747861+=pairI(0x47,_0x1a756a[_0x11b2ab(0x1be)]);if(_0x1a756a[_0x11b2ab(0x248)])_0x747861+=pairI(0x48,_0x1a756a[_0x11b2ab(0x248)]);if(_0x1a756a[_0x11b2ab(0x1d8)])_0x747861+=pairI(0x49,_0x1a756a['vAlign']);return _0x747861+=writePoint3D(0xb,_0x1a756a[_0x11b2ab(0x28e)]),_0x747861;}function writeInsertEntity(_0x6861f4){const _0x550bf8=_0x2fa3;let _0x5c1355=pair(0x64,_0x550bf8(0x24c));if(_0x6861f4['hasAttributes'])_0x5c1355+=pairI(0x42,0x1);_0x5c1355+=pair(0x2,_0x6861f4[_0x550bf8(0x1f3)]),_0x5c1355+=writePoint3D(0xa,_0x6861f4[_0x550bf8(0x1b1)]);if(_0x6861f4[_0x550bf8(0x285)]){if(_0x6861f4[_0x550bf8(0x285)]['x']!==0x1)_0x5c1355+=pairF(0x29,_0x6861f4[_0x550bf8(0x285)]['x']);if(_0x6861f4[_0x550bf8(0x285)]['y']!==0x1)_0x5c1355+=pairF(0x2a,_0x6861f4[_0x550bf8(0x285)]['y']);if(_0x6861f4[_0x550bf8(0x285)]['z']!==0x1)_0x5c1355+=pairF(0x2b,_0x6861f4[_0x550bf8(0x285)]['z']);}if(_0x6861f4[_0x550bf8(0x1fe)])_0x5c1355+=pairF(0x32,_0x6861f4[_0x550bf8(0x1fe)]);if(_0x6861f4[_0x550bf8(0x244)]&&_0x6861f4[_0x550bf8(0x244)]!==0x1)_0x5c1355+=pairI(0x46,_0x6861f4[_0x550bf8(0x244)]);if(_0x6861f4[_0x550bf8(0x20b)]&&_0x6861f4[_0x550bf8(0x20b)]!==0x1)_0x5c1355+=pairI(0x47,_0x6861f4['rowCount']);if(_0x6861f4[_0x550bf8(0x2b1)])_0x5c1355+=pairF(0x2c,_0x6861f4[_0x550bf8(0x2b1)]);if(_0x6861f4[_0x550bf8(0x272)])_0x5c1355+=pairF(0x2d,_0x6861f4[_0x550bf8(0x272)]);_0x5c1355+=writeExtrusion(_0x6861f4[_0x550bf8(0x1a6)]);if(_0x6861f4[_0x550bf8(0x1ad)]&&_0x6861f4[_0x550bf8(0x1ad)][_0x550bf8(0x1f8)]>0x0){for(const _0x3abaf2 of _0x6861f4['attributes']){_0x5c1355+=writeOneEntity(_0x3abaf2);}_0x5c1355+=pair(0x0,'SEQEND'),_0x5c1355+=pair(0x64,_0x550bf8(0x2ad));if(_0x6861f4[_0x550bf8(0x1f9)])_0x5c1355+=pair(0x8,_0x6861f4[_0x550bf8(0x1f9)]);}return _0x5c1355;}function writeDimensionEntity(_0x408ea1){const _0x24d7af=_0x2fa3;let _0x314ec7=pair(0x64,_0x24d7af(0x299));if(_0x408ea1[_0x24d7af(0x1f3)])_0x314ec7+=pair(0x2,_0x408ea1[_0x24d7af(0x1f3)]);_0x314ec7+=writePoint3D(0xa,_0x408ea1['definitionPoint']),_0x314ec7+=writePoint3D(0xb,_0x408ea1[_0x24d7af(0x200)]);if(_0x408ea1['dimensionType']!==undefined)_0x314ec7+=pairI(0x46,_0x408ea1['dimensionType']);if(_0x408ea1[_0x24d7af(0x29b)])_0x314ec7+=pairI(0x47,_0x408ea1[_0x24d7af(0x29b)]);if(_0x408ea1[_0x24d7af(0x219)])_0x314ec7+=pair(0x1,_0x408ea1[_0x24d7af(0x219)]);if(_0x408ea1[_0x24d7af(0x266)]&&_0x408ea1[_0x24d7af(0x266)]!==_0x24d7af(0x1e8))_0x314ec7+=pair(0x3,_0x408ea1[_0x24d7af(0x266)]);if(_0x408ea1['rotation'])_0x314ec7+=pairF(0x32,_0x408ea1[_0x24d7af(0x1fe)]);const _0x351958=(_0x408ea1['dimensionType']||0x0)&0xf;switch(_0x351958){case 0x0:case 0x1:_0x314ec7+=pair(0x64,_0x24d7af(0x273)),_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1[_0x24d7af(0x224)]);if(_0x408ea1['extensionLineAngle'])_0x314ec7+=pairF(0x34,_0x408ea1[_0x24d7af(0x20e)]);_0x351958===0x0&&(_0x314ec7+=pair(0x64,_0x24d7af(0x1d2)));break;case 0x2:_0x314ec7+=pair(0x64,_0x24d7af(0x23e)),_0x314ec7+=writePoint3D(0xd,_0x408ea1['point1']),_0x314ec7+=writePoint3D(0xe,_0x408ea1['point2']);if(_0x408ea1[_0x24d7af(0x233)])_0x314ec7+=writePoint3D(0xf,_0x408ea1['point3']);break;case 0x3:case 0x4:_0x314ec7+=pair(0x64,_0x351958===0x3?'AcDbDiametricDimension':_0x24d7af(0x249)),_0x314ec7+=writePoint3D(0xf,_0x408ea1[_0x24d7af(0x233)]||_0x408ea1['point1']);if(_0x408ea1[_0x24d7af(0x21d)])_0x314ec7+=pairF(0x28,_0x408ea1['leaderLength']);break;case 0x5:_0x314ec7+=pair(0x64,_0x24d7af(0x23e)),_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1[_0x24d7af(0x224)]);if(_0x408ea1[_0x24d7af(0x233)])_0x314ec7+=writePoint3D(0xf,_0x408ea1[_0x24d7af(0x233)]);break;case 0x6:_0x314ec7+=pair(0x64,'AcDbOrdinateDimension'),_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1['point2']);break;default:_0x314ec7+=writePoint3D(0xd,_0x408ea1[_0x24d7af(0x218)]),_0x314ec7+=writePoint3D(0xe,_0x408ea1['point2']);break;}return _0x314ec7;}function writeLeaderEntity(_0x1b0cb6){const _0x8a8608=_0x2fa3;let _0x20672f=pair(0x64,_0x8a8608(0x1df));if(_0x1b0cb6[_0x8a8608(0x266)])_0x20672f+=pair(0x3,_0x1b0cb6[_0x8a8608(0x266)]);if(_0x1b0cb6[_0x8a8608(0x1fa)]!==undefined)_0x20672f+=pairI(0x47,_0x1b0cb6['arrowheadFlag']);if(_0x1b0cb6['pathType']!==undefined)_0x20672f+=pairI(0x48,_0x1b0cb6[_0x8a8608(0x22c)]);if(_0x1b0cb6[_0x8a8608(0x1de)]!==undefined)_0x20672f+=pairI(0x49,_0x1b0cb6[_0x8a8608(0x1de)]);if(_0x1b0cb6[_0x8a8608(0x2a0)]!==undefined)_0x20672f+=pairI(0x4a,_0x1b0cb6['hooklineDirectionFlag']);if(_0x1b0cb6[_0x8a8608(0x28d)]!==undefined)_0x20672f+=pairI(0x4b,_0x1b0cb6['hooklineFlag']);if(_0x1b0cb6['textHeight'])_0x20672f+=pairF(0x28,_0x1b0cb6[_0x8a8608(0x21c)]);if(_0x1b0cb6['textWidth'])_0x20672f+=pairF(0x29,_0x1b0cb6['textWidth']);const _0x562d1b=_0x1b0cb6['vertices']||[];_0x20672f+=pairI(0x4c,_0x562d1b[_0x8a8608(0x1f8)]);for(const _0x32011f of _0x562d1b){_0x20672f+=writePoint3D(0xa,_0x32011f);}if(_0x1b0cb6[_0x8a8608(0x255)])_0x20672f+=pair(0x154,_0x1b0cb6[_0x8a8608(0x255)]);return _0x1b0cb6[_0x8a8608(0x1f6)]&&(_0x20672f+=pairF(0xd2,_0x1b0cb6['normal']['x']),_0x20672f+=pairF(0xdc,_0x1b0cb6[_0x8a8608(0x1f6)]['y']),_0x20672f+=pairF(0xe6,_0x1b0cb6['normal']['z'])),_0x1b0cb6[_0x8a8608(0x2ab)]&&(_0x20672f+=pairF(0xd3,_0x1b0cb6[_0x8a8608(0x2ab)]['x']),_0x20672f+=pairF(0xdd,_0x1b0cb6['horizontalDirection']['y']),_0x20672f+=pairF(0xe7,_0x1b0cb6[_0x8a8608(0x2ab)]['z'])),_0x20672f;}function writeMLeaderEntity(_0x3bb4f2){const _0x58569d=_0x2fa3;let _0x3f61bf=pair(0x64,_0x58569d(0x25e));if(_0x3bb4f2['styleName'])_0x3f61bf+=pair(0x3,_0x3bb4f2[_0x58569d(0x266)]);if(_0x3bb4f2['contentType']!==undefined)_0x3f61bf+=pairI(0xaa,_0x3bb4f2[_0x58569d(0x215)]);if(_0x3bb4f2[_0x58569d(0x219)])_0x3f61bf+=pair(0x130,_0x3bb4f2[_0x58569d(0x219)]);if(_0x3bb4f2[_0x58569d(0x211)])_0x3f61bf+=pair(0x154,_0x3bb4f2[_0x58569d(0x211)]);if(_0x3bb4f2[_0x58569d(0x28a)])_0x3f61bf+=pairF(0x28,_0x3bb4f2[_0x58569d(0x28a)]);if(_0x3bb4f2[_0x58569d(0x1f0)])_0x3f61bf+=pairF(0x29,_0x3bb4f2[_0x58569d(0x1f0)]);if(_0x3bb4f2['textHeight'])_0x3f61bf+=pairF(0x2a,_0x3bb4f2[_0x58569d(0x21c)]);if(_0x3bb4f2[_0x58569d(0x1b2)])for(const _0x4f4597 of _0x3bb4f2[_0x58569d(0x1b2)]){_0x3f61bf+=writePoint3D(0xa,_0x4f4597);}return _0x3f61bf;}function writeHatchEntity(_0x3fa664){const _0x4972f1=_0x2fa3;let _0x4ec512=pair(0x64,'AcDbHatch');_0x4ec512+=pairF(0xa,0x0),_0x4ec512+=pairF(0x14,0x0),_0x4ec512+=pairF(0x1e,_0x3fa664[_0x4972f1(0x1bb)]||0x0),_0x4ec512+=writeExtrusion(_0x3fa664[_0x4972f1(0x1a6)]),_0x4ec512+=pair(0x2,_0x3fa664[_0x4972f1(0x1c2)]||''),_0x4ec512+=pairI(0x46,_0x3fa664[_0x4972f1(0x269)]?0x1:0x0),_0x4ec512+=pairI(0x47,_0x3fa664[_0x4972f1(0x29a)]?0x1:0x0);const _0x1769f6=_0x3fa664[_0x4972f1(0x1bf)]||[];_0x4ec512+=pairI(0x5b,_0x1769f6[_0x4972f1(0x1f8)]);for(const _0x3f8287 of _0x1769f6){_0x4ec512+=pairI(0x5c,_0x3f8287[_0x4972f1(0x2a3)]||0x0);if(_0x3f8287[_0x4972f1(0x1ce)]&&_0x3f8287['points'][_0x4972f1(0x1f8)]>0x0){_0x4ec512+=pairI(0x5d,_0x3f8287[_0x4972f1(0x1ce)][_0x4972f1(0x1f8)]);for(const _0x3cdd3d of _0x3f8287[_0x4972f1(0x1ce)]){_0x4ec512+=pairF(0xa,_0x3cdd3d['x']),_0x4ec512+=pairF(0x14,_0x3cdd3d['y']||0x0);}}}_0x4ec512+=pairI(0x4b,_0x3fa664[_0x4972f1(0x1d6)]||0x0),_0x4ec512+=pairI(0x4c,_0x3fa664[_0x4972f1(0x1fd)]||0x0);if(!_0x3fa664[_0x4972f1(0x269)]){if(_0x3fa664['patternAngle'])_0x4ec512+=pairF(0x34,_0x3fa664[_0x4972f1(0x230)]);if(_0x3fa664[_0x4972f1(0x26e)])_0x4ec512+=pairF(0x29,_0x3fa664[_0x4972f1(0x26e)]);}const _0x2d2aec=_0x3fa664[_0x4972f1(0x25a)]||[];_0x4ec512+=pairI(0x62,_0x2d2aec[_0x4972f1(0x1f8)]);for(const _0x53bdd4 of _0x2d2aec){_0x4ec512+=pairF(0xa,_0x53bdd4['x']),_0x4ec512+=pairF(0x14,_0x53bdd4['y']||0x0);}return _0x4ec512;}function writeSplineEntity(_0x3f69b0){const _0x5149d0=_0x2fa3;let _0x245b9c=pair(0x64,_0x5149d0(0x2a9));_0x3f69b0[_0x5149d0(0x1f6)]&&(_0x245b9c+=pairF(0xd2,_0x3f69b0[_0x5149d0(0x1f6)]['x']),_0x245b9c+=pairF(0xdc,_0x3f69b0[_0x5149d0(0x1f6)]['y']),_0x245b9c+=pairF(0xe6,_0x3f69b0[_0x5149d0(0x1f6)]['z']));let _0x2d6387=_0x3f69b0[_0x5149d0(0x279)]||0x0;if(_0x3f69b0[_0x5149d0(0x238)])_0x2d6387|=0x1;if(_0x3f69b0['periodic'])_0x2d6387|=0x2;if(_0x3f69b0['rational'])_0x2d6387|=0x4;if(_0x3f69b0[_0x5149d0(0x23c)])_0x2d6387|=0x8;_0x245b9c+=pairI(0x46,_0x2d6387),_0x245b9c+=pairI(0x47,_0x3f69b0[_0x5149d0(0x2c4)]||0x3);const _0x2c5f07=_0x3f69b0['knots']||[],_0x46cd74=_0x3f69b0[_0x5149d0(0x264)]||[],_0x46e03b=_0x3f69b0[_0x5149d0(0x207)]||[];_0x245b9c+=pairI(0x48,_0x2c5f07[_0x5149d0(0x1f8)]),_0x245b9c+=pairI(0x49,_0x46cd74[_0x5149d0(0x1f8)]),_0x245b9c+=pairI(0x4a,_0x46e03b['length']);if(_0x3f69b0[_0x5149d0(0x206)])_0x245b9c+=pairF(0x2a,_0x3f69b0[_0x5149d0(0x206)]);if(_0x3f69b0[_0x5149d0(0x1ec)])_0x245b9c+=pairF(0x2b,_0x3f69b0['controlPointTolerance']);if(_0x3f69b0['fitTolerance'])_0x245b9c+=pairF(0x2c,_0x3f69b0[_0x5149d0(0x1e3)]);if(_0x3f69b0[_0x5149d0(0x1dd)])_0x245b9c+=writePoint3D(0xc,_0x3f69b0[_0x5149d0(0x1dd)]);if(_0x3f69b0['endTangent'])_0x245b9c+=writePoint3D(0xd,_0x3f69b0[_0x5149d0(0x1da)]);for(const _0x5e5ad8 of _0x2c5f07){_0x245b9c+=pairF(0x28,_0x5e5ad8);}if(_0x3f69b0[_0x5149d0(0x270)])for(const _0x35a15c of _0x3f69b0[_0x5149d0(0x270)]){_0x245b9c+=pairF(0x29,_0x35a15c);}for(const _0x5d4033 of _0x46cd74){_0x245b9c+=writePoint3D(0xa,_0x5d4033);}for(const _0x35717b of _0x46e03b){_0x245b9c+=writePoint3D(0xb,_0x35717b);}return _0x245b9c;}function writeSolidEntity(_0x3b1dfe){const _0x4a573e=_0x2fa3;let _0x30ba38=_0x4a573e(0x226);if(_0x3b1dfe[_0x4a573e(0x2a3)]===_0x4a573e(0x1ff))_0x30ba38='AcDbTrace';else {if(_0x3b1dfe[_0x4a573e(0x2a3)]==='3DSOLID')_0x30ba38=_0x4a573e(0x1c7);}let _0xcf4872=pair(0x64,_0x30ba38);const _0x59bc7b=_0x3b1dfe['points']||[];if(_0x59bc7b[0x0])_0xcf4872+=writePoint3D(0xa,_0x59bc7b[0x0]);if(_0x59bc7b[0x1])_0xcf4872+=writePoint3D(0xb,_0x59bc7b[0x1]);if(_0x59bc7b[0x2])_0xcf4872+=writePoint3D(0xc,_0x59bc7b[0x2]);if(_0x59bc7b[0x3])_0xcf4872+=writePoint3D(0xd,_0x59bc7b[0x3]);if(_0x3b1dfe[_0x4a573e(0x2b2)])_0xcf4872+=pairF(0x27,_0x3b1dfe['thickness']);return _0xcf4872+=writeExtrusion(_0x3b1dfe[_0x4a573e(0x1a6)]),_0xcf4872;}function write3DFaceEntity(_0x5ebfe0){const _0x47fc58=_0x2fa3;let _0x2d1acc=pair(0x64,_0x47fc58(0x24e));const _0x3357cd=_0x5ebfe0[_0x47fc58(0x23d)]||[];if(_0x3357cd[0x0])_0x2d1acc+=writePoint3D(0xa,_0x3357cd[0x0]);if(_0x3357cd[0x1])_0x2d1acc+=writePoint3D(0xb,_0x3357cd[0x1]);if(_0x3357cd[0x2])_0x2d1acc+=writePoint3D(0xc,_0x3357cd[0x2]);if(_0x3357cd[0x3])_0x2d1acc+=writePoint3D(0xd,_0x3357cd[0x3]);if(_0x5ebfe0[_0x47fc58(0x25f)])_0x2d1acc+=pairI(0x46,_0x5ebfe0[_0x47fc58(0x25f)]);return _0x2d1acc;}function writeRayEntity(_0x254b91){const _0x2cb067=_0x2fa3,_0x3ed49=_0x254b91[_0x2cb067(0x2a3)]==='RAY'?_0x2cb067(0x26d):_0x2cb067(0x1dc);let _0x2417b9=pair(0x64,_0x3ed49);return _0x2417b9+=writePoint3D(0xa,_0x254b91[_0x2cb067(0x1f7)]),_0x2417b9+=writePoint3D(0xb,_0x254b91['direction']),_0x2417b9;}function writeViewportEntity(_0x1d57cd){const _0x19a2ba=_0x2fa3;let _0x4bf36d=pair(0x64,_0x19a2ba(0x25c));_0x4bf36d+=writePoint3D(0xa,_0x1d57cd[_0x19a2ba(0x1aa)]),_0x4bf36d+=pairF(0x28,_0x1d57cd[_0x19a2ba(0x1c1)]),_0x4bf36d+=pairF(0x29,_0x1d57cd['height']);if(_0x1d57cd['id'])_0x4bf36d+=pairI(0x45,_0x1d57cd['id']);if(_0x1d57cd['viewCenter'])_0x4bf36d+=writePoint2D(0xc,_0x1d57cd['viewCenter']);if(_0x1d57cd['snapBase'])_0x4bf36d+=writePoint2D(0xd,_0x1d57cd[_0x19a2ba(0x220)]);if(_0x1d57cd[_0x19a2ba(0x1d4)])_0x4bf36d+=writePoint2D(0xe,_0x1d57cd[_0x19a2ba(0x1d4)]);if(_0x1d57cd[_0x19a2ba(0x1c0)])_0x4bf36d+=writePoint2D(0xf,_0x1d57cd[_0x19a2ba(0x1c0)]);_0x4bf36d+=writePoint3D(0x10,_0x1d57cd[_0x19a2ba(0x1f2)]),_0x4bf36d+=writePoint3D(0x11,_0x1d57cd[_0x19a2ba(0x24d)]);if(_0x1d57cd[_0x19a2ba(0x20f)])_0x4bf36d+=pairF(0x2a,_0x1d57cd['perspectiveLensLength']);if(_0x1d57cd[_0x19a2ba(0x294)])_0x4bf36d+=pairF(0x2b,_0x1d57cd[_0x19a2ba(0x294)]);if(_0x1d57cd[_0x19a2ba(0x289)])_0x4bf36d+=pairF(0x2c,_0x1d57cd[_0x19a2ba(0x289)]);if(_0x1d57cd['viewHeight'])_0x4bf36d+=pairF(0x2d,_0x1d57cd[_0x19a2ba(0x1d5)]);if(_0x1d57cd[_0x19a2ba(0x293)])_0x4bf36d+=pairF(0x32,_0x1d57cd[_0x19a2ba(0x293)]);if(_0x1d57cd[_0x19a2ba(0x2b5)])_0x4bf36d+=pairF(0x33,_0x1d57cd[_0x19a2ba(0x2b5)]);if(_0x1d57cd[_0x19a2ba(0x2b6)])_0x4bf36d+=pairI(0x44,_0x1d57cd[_0x19a2ba(0x2b6)]);if(_0x1d57cd[_0x19a2ba(0x234)])for(const _0x17cfbc of _0x1d57cd[_0x19a2ba(0x234)]){_0x4bf36d+=pair(0x14b,_0x17cfbc);}if(_0x1d57cd['clippingBoundary'])_0x4bf36d+=pair(0x154,_0x1d57cd[_0x19a2ba(0x1fc)]);return _0x4bf36d;}function writeImageEntity(_0x32bcb9){const _0x75b347=_0x2fa3;let _0x233eca=pair(0x64,_0x32bcb9[_0x75b347(0x2a3)]==='WIPEOUT'?_0x75b347(0x22b):'AcDbRasterImage');_0x233eca+=writePoint3D(0xa,_0x32bcb9[_0x75b347(0x1b1)]),_0x233eca+=writePoint3D(0xb,_0x32bcb9[_0x75b347(0x2c3)]),_0x233eca+=writePoint3D(0xc,_0x32bcb9[_0x75b347(0x2bb)]),_0x233eca+=pairF(0xd,_0x32bcb9[_0x75b347(0x26b)]?_0x32bcb9['imageSize']['u']:0x0),_0x233eca+=pairF(0x17,_0x32bcb9[_0x75b347(0x26b)]?_0x32bcb9['imageSize']['v']:0x0);if(_0x32bcb9[_0x75b347(0x282)])_0x233eca+=pair(0x154,_0x32bcb9[_0x75b347(0x282)]);if(_0x32bcb9[_0x75b347(0x296)])_0x233eca+=pairI(0x46,_0x32bcb9[_0x75b347(0x296)]);if(_0x32bcb9[_0x75b347(0x1f1)])_0x233eca+=pairI(0x47,_0x32bcb9[_0x75b347(0x1f1)]);if(_0x32bcb9[_0x75b347(0x2a2)]!==undefined)_0x233eca+=pairI(0x118,_0x32bcb9[_0x75b347(0x2a2)]);if(_0x32bcb9[_0x75b347(0x2b8)]!==undefined)_0x233eca+=pairI(0x119,_0x32bcb9[_0x75b347(0x2b8)]);if(_0x32bcb9[_0x75b347(0x28c)]!==undefined)_0x233eca+=pairI(0x11a,_0x32bcb9[_0x75b347(0x28c)]);if(_0x32bcb9['clippingVertices'])for(const _0x22d370 of _0x32bcb9['clippingVertices']){_0x233eca+=pairF(0xe,_0x22d370['x']),_0x233eca+=pairF(0x18,_0x22d370['y']||0x0);}return _0x233eca;}function writeToleranceEntity(_0x83235d){const _0x301b0b=_0x2fa3;let _0x257d0f=pair(0x64,_0x301b0b(0x22f));if(_0x83235d[_0x301b0b(0x266)])_0x257d0f+=pair(0x3,_0x83235d[_0x301b0b(0x266)]);_0x257d0f+=writePoint3D(0xa,_0x83235d['insertionPoint']);if(_0x83235d[_0x301b0b(0x219)])_0x257d0f+=pair(0x1,_0x83235d[_0x301b0b(0x219)]);return _0x257d0f+=writePoint3D(0xb,_0x83235d[_0x301b0b(0x20a)]),_0x257d0f;}function writeHelixEntity(_0x57c575){const _0x549344=_0x2fa3;let _0x4f5415=pair(0x64,_0x549344(0x271));_0x4f5415+=writePoint3D(0xa,_0x57c575['axisBasePoint']),_0x4f5415+=writePoint3D(0xb,_0x57c575[_0x549344(0x213)]),_0x4f5415+=writePoint3D(0xc,_0x57c575['axisVector']),_0x4f5415+=pairF(0x28,_0x57c575[_0x549344(0x27f)]),_0x4f5415+=pairF(0x29,_0x57c575[_0x549344(0x2bd)]),_0x4f5415+=pairF(0x2a,_0x57c575[_0x549344(0x274)]);if(_0x57c575[_0x549344(0x258)]!==undefined)_0x4f5415+=pairI(0x122,_0x57c575[_0x549344(0x258)]);if(_0x57c575['constraint']!==undefined)_0x4f5415+=pairI(0x118,_0x57c575[_0x549344(0x2c1)]);return _0x4f5415;}function writeMeshEntity(_0x20fd82){const _0x1ffb4d=_0x2fa3;let _0x36d168=pair(0x64,_0x1ffb4d(0x1c3));_0x36d168+=pairI(0x47,_0x20fd82[_0x1ffb4d(0x204)]||0x2),_0x36d168+=pairI(0x48,_0x20fd82[_0x1ffb4d(0x290)]||0x0);const _0x2db528=_0x20fd82[_0x1ffb4d(0x23d)]||[];_0x36d168+=pairI(0x5b,_0x2db528[_0x1ffb4d(0x1f8)]);for(const _0x38f491 of _0x2db528){_0x36d168+=writePoint3D(0xa,_0x38f491);}const _0x58193d=_0x20fd82[_0x1ffb4d(0x1a8)]||[];_0x36d168+=pairI(0x5c,_0x58193d[_0x1ffb4d(0x1f8)]);for(const _0x376e72 of _0x58193d){_0x36d168+=pairI(0x5a,_0x376e72);}const _0x247653=_0x20fd82[_0x1ffb4d(0x231)]||[];_0x36d168+=pairI(0x5d,_0x247653[_0x1ffb4d(0x1f8)]);for(const _0x2e2f3f of _0x247653){_0x36d168+=pairI(0x5a,_0x2e2f3f);}const _0x1e4b8e=_0x20fd82[_0x1ffb4d(0x1cb)]||[];_0x36d168+=pairI(0x5e,_0x1e4b8e[_0x1ffb4d(0x1f8)]);for(const _0x381d4d of _0x1e4b8e){_0x36d168+=pairF(0x8c,_0x381d4d);}return _0x36d168;}function writeRegionEntity(_0x2bf59c){const _0x344e1f=_0x2fa3;let _0x308c87='AcDbRegion';if(_0x2bf59c[_0x344e1f(0x2a3)]===_0x344e1f(0x257))_0x308c87=_0x344e1f(0x1a7);else {if(_0x2bf59c['type']===_0x344e1f(0x253))_0x308c87=_0x344e1f(0x210);}let _0x3e5820=pair(0x64,_0x308c87);if(_0x2bf59c[_0x344e1f(0x1ea)]!==undefined)_0x3e5820+=pairI(0x46,_0x2bf59c[_0x344e1f(0x1ea)]);const _0x292aa8=_0x2bf59c[_0x344e1f(0x1bd)]||(_0x2bf59c['acisData']||[])['join']('');if(_0x292aa8){let _0x136344=_0x292aa8;while(_0x136344['length']>0xff){_0x3e5820+=pair(0x3,_0x136344[_0x344e1f(0x239)](0x0,0xff)),_0x136344=_0x136344[_0x344e1f(0x239)](0xff);}_0x3e5820+=pair(0x1,_0x136344);}return _0x3e5820;}function writeOle2Entity(_0x54fdf8){const _0x4288b6=_0x2fa3;let _0x496329=pair(0x64,_0x4288b6(0x2aa));_0x496329+=pairI(0x46,_0x54fdf8['oleType']||0x0),_0x496329+=pairI(0x47,_0x54fdf8[_0x4288b6(0x1ac)]||0x0),_0x496329+=writePoint3D(0xa,_0x54fdf8[_0x4288b6(0x212)]),_0x496329+=writePoint3D(0xb,_0x54fdf8[_0x4288b6(0x1e9)]);if(_0x54fdf8[_0x4288b6(0x22a)])for(const _0x117a2c of _0x54fdf8[_0x4288b6(0x22a)]){_0x496329+=pair(0x1,_0x117a2c);}return _0x496329;}function writeTableEntity(_0x130b5b){const _0x2e63a5=_0x2fa3;let _0x2dff9b=pair(0x64,_0x2e63a5(0x24c));if(_0x130b5b[_0x2e63a5(0x1f3)])_0x2dff9b+=pair(0x2,_0x130b5b['blockName']);_0x2dff9b+=writePoint3D(0xa,_0x130b5b[_0x2e63a5(0x1b1)]),_0x2dff9b+=pair(0x64,_0x2e63a5(0x280)),_0x2dff9b+=writePoint3D(0xb,_0x130b5b[_0x2e63a5(0x20a)]);if(_0x130b5b['rows'])_0x2dff9b+=pairI(0x5b,_0x130b5b[_0x2e63a5(0x1e5)]);if(_0x130b5b['columns'])_0x2dff9b+=pairI(0x5c,_0x130b5b['columns']);if(_0x130b5b[_0x2e63a5(0x1b0)])for(const _0x359fe3 of _0x130b5b['rowHeights']){_0x2dff9b+=pairF(0x8e,_0x359fe3);}if(_0x130b5b[_0x2e63a5(0x1e6)])for(const _0x2f5ab0 of _0x130b5b[_0x2e63a5(0x1e6)]){_0x2dff9b+=pairF(0x8d,_0x2f5ab0);}return _0x2dff9b;}function writeMLineEntity(_0x38064f){const _0x54f32a=_0x2fa3;let _0xc81d46=pair(0x64,_0x54f32a(0x284));if(_0x38064f[_0x54f32a(0x266)])_0xc81d46+=pair(0x2,_0x38064f['styleName']);if(_0x38064f['styleHandle'])_0xc81d46+=pair(0x154,_0x38064f[_0x54f32a(0x2c2)]);_0xc81d46+=pairF(0x28,_0x38064f[_0x54f32a(0x285)]||0x1),_0xc81d46+=pairI(0x46,_0x38064f[_0x54f32a(0x1d3)]||0x0),_0xc81d46+=pairI(0x47,_0x38064f[_0x54f32a(0x279)]||0x0);const _0x112aab=_0x38064f[_0x54f32a(0x23d)]||[];_0xc81d46+=pairI(0x48,_0x112aab[_0x54f32a(0x1f8)]);if(_0x38064f[_0x54f32a(0x1e4)])_0xc81d46+=pairI(0x49,_0x38064f[_0x54f32a(0x1e4)]);_0xc81d46+=writePoint3D(0xa,_0x38064f['startPoint']);_0x38064f[_0x54f32a(0x1f6)]&&(_0xc81d46+=pairF(0xd2,_0x38064f[_0x54f32a(0x1f6)]['x']),_0xc81d46+=pairF(0xdc,_0x38064f['normal']['y']),_0xc81d46+=pairF(0xe6,_0x38064f[_0x54f32a(0x1f6)]['z']));for(const _0x509712 of _0x112aab){_0xc81d46+=pairF(0xb,_0x509712['x']),_0xc81d46+=pairF(0x15,_0x509712['y']),_0xc81d46+=pairF(0x1f,_0x509712['z']||0x0);}return _0xc81d46;}function writeGenericEntity(_0x51fb0a){const _0x4105b1=_0x2fa3;let _0x29e419='';if(_0x51fb0a[_0x4105b1(0x1cf)])for(const [_0x10c9c1,_0x55b09a]of Object[_0x4105b1(0x1c9)](_0x51fb0a[_0x4105b1(0x1cf)])){if(_0x10c9c1[_0x4105b1(0x267)]('code_')){const _0x188e52=parseInt(_0x10c9c1['replace'](_0x4105b1(0x203),'')),_0x4ba73b=[][_0x4105b1(0x2a1)](_0x55b09a);for(const _0x3506ae of _0x4ba73b){_0x29e419+=pair(_0x188e52,_0x3506ae);}}}return _0x29e419;}function writeObjects(_0x503996){const _0xb9c780=_0x2fa3;if(!_0x503996||_0x503996[_0xb9c780(0x1f8)]===0x0)return '';let _0x16bc56=pair(0x0,_0xb9c780(0x229))+pair(0x2,_0xb9c780(0x1ae));for(const _0xff6250 of _0x503996){_0x16bc56+=pair(0x0,_0xff6250[_0xb9c780(0x2a3)]);if(_0xff6250[_0xb9c780(0x1c5)])_0x16bc56+=pair(0x5,_0xff6250['handle']);if(_0xff6250[_0xb9c780(0x25b)])_0x16bc56+=pair(0x14a,_0xff6250['ownerHandle']);if(_0xff6250[_0xb9c780(0x20d)])_0x16bc56+=pair(0x2,_0xff6250[_0xb9c780(0x20d)]);if(_0xff6250[_0xb9c780(0x1e2)]){const _0x63b035=[][_0xb9c780(0x2a1)](_0xff6250[_0xb9c780(0x1e2)]);for(const _0x274c0d of _0x63b035){_0x16bc56+=pair(0x3,_0x274c0d);}}if(_0xff6250[_0xb9c780(0x1a5)]){const _0x57f183=[][_0xb9c780(0x2a1)](_0xff6250[_0xb9c780(0x1a5)]);for(const _0x5bc99b of _0x57f183){_0x16bc56+=pair(0x15e,_0x5bc99b);}}if(_0xff6250[_0xb9c780(0x209)]){const _0x45a1f3=[][_0xb9c780(0x2a1)](_0xff6250[_0xb9c780(0x209)]);for(const _0x286e86 of _0x45a1f3){_0x16bc56+=pair(0x168,_0x286e86);}}for(const [_0x2c420c,_0x259d4d]of Object[_0xb9c780(0x1c9)](_0xff6250)){if(_0x2c420c[_0xb9c780(0x267)](_0xb9c780(0x203))){const _0x5a59e4=parseInt(_0x2c420c[_0xb9c780(0x240)]('code_','')),_0x504889=[][_0xb9c780(0x2a1)](_0x259d4d);for(const _0x1af09d of _0x504889){_0x16bc56+=pair(_0x5a59e4,_0x1af09d);}}}}return _0x16bc56+=pair(0x0,'ENDSEC'),_0x16bc56;}function writeDxf(_0x5ac3b2){const _0x2f0b06=_0x2fa3;let _0x2f3313='';return _0x2f3313+=writeHeader(_0x5ac3b2[_0x2f0b06(0x251)]),_0x2f3313+=writeClasses(_0x5ac3b2[_0x2f0b06(0x1e1)]),_0x2f3313+=writeTables(_0x5ac3b2[_0x2f0b06(0x1a3)]),_0x2f3313+=writeBlocks(_0x5ac3b2[_0x2f0b06(0x2bf)]),_0x2f3313+=writeEntitiesSection(_0x5ac3b2[_0x2f0b06(0x1e0)]),_0x2f3313+=writeObjects(_0x5ac3b2[_0x2f0b06(0x2a8)]),_0x2f3313+=pair(0x0,_0x2f0b06(0x1a4)),_0x2f3313;}async function writeDxfFile(_0x340790,_0x4edff9){const _0x156a48=_0x2fa3,_0x979df9=writeDxf(_0x340790);if(typeof process!==_0x156a48(0x26c)&&process[_0x156a48(0x2b7)]?.[_0x156a48(0x1ee)]){const {writeFile:_0x24c327}=await import(_0x156a48(0x265));await _0x24c327(_0x4edff9,_0x979df9,_0x156a48(0x1d0));}else throw new Error(_0x156a48(0x28f));}function downloadDxfFile(_0xa98cd1,_0x4a0385=_0x1cdf2c(0x27a)){const _0x32bb2b=_0x1cdf2c,_0x23fc18=writeDxf(_0xa98cd1),_0x14c4bf=new Blob([_0x23fc18],{'type':'application/dxf'}),_0x424422=URL[_0x32bb2b(0x1ba)](_0x14c4bf),_0x51818c=document[_0x32bb2b(0x29e)]('a');_0x51818c['href']=_0x424422,_0x51818c[_0x32bb2b(0x223)]=_0x4a0385,_0x51818c[_0x32bb2b(0x214)](),URL['revokeObjectURL'](_0x424422);}
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(_0x2cba8a,_0x5306a5){var _0x5858e0=_0x4f80,_0x6f7526=_0x2cba8a();while(!![]){try{var _0x3796d7=-parseInt(_0x5858e0(0xd9))/0x1+parseInt(_0x5858e0(0xe2))/0x2*(parseInt(_0x5858e0(0xdc))/0x3)+-parseInt(_0x5858e0(0xda))/0x4+parseInt(_0x5858e0(0xdd))/0x5+parseInt(_0x5858e0(0xdf))/0x6*(-parseInt(_0x5858e0(0xe0))/0x7)+parseInt(_0x5858e0(0xe1))/0x8*(-parseInt(_0x5858e0(0xdb))/0x9)+parseInt(_0x5858e0(0xde))/0xa;if(_0x3796d7===_0x5306a5)break;else _0x6f7526['push'](_0x6f7526['shift']());}catch(_0x5b9645){_0x6f7526['push'](_0x6f7526['shift']());}}}(_0x59d8,0x40898));function _0x4f80(_0x12940f,_0x347bd4){_0x12940f=_0x12940f-0xd9;var _0x59d8eb=_0x59d8();var _0x4f804a=_0x59d8eb[_0x12940f];return _0x4f804a;}function _0x59d8(){var _0x3ac8ce=['12NTVTMY','892549WOBphJ','3464AXKXXS','4OumKoY','305505NRaRUS','13316YkNRpg','3591tPIxnl','740433UemKht','591370reqxoS','3890630vEUtEW'];_0x59d8=function(){return _0x3ac8ce;};return _0x59d8();}
8
8
 
9
9
  exports.downloadDxfFile = downloadDxfFile;
10
10
  exports.parseDxf = parseDxf;