UNPKG

@typecad/typecad

Version:

🤖programmatically 💥create 🛰️hardware

1 lines 25.6 kB
function a11_0x3135(){const _0x372d80=['Dxn0igjLignHBa','t2fjzLO','x2DLDfrYywnRra','qsbJDxjYzw50ia','BgvUz3rO','DgHPy2TUzxnZ','mJeWmJHkzhjWquG','CMfJAYbVCgvYyq','Cg93','rNrZsNe','y29WCgvYx3rOAq','CM9Tia','j2zYB20OksCGBq','icD0BYGPjW','ntmZodi1nNPYyLHrsa','vvfrExm','mtHWDeTJrMK','DgLVBIbMywLSzq','y3vYCMvUDfbVCW','igDLDevSzw1LBG','ChvZAa','mJe5ntvVBLzvvwK','AxrPB24','mty0uKvwDKPw','CMvHDgLVBIbVBG','BMv0','Cg93zxjjBMzV','Bw0U','BgvKigjLzM9Yzq','Aw5JBhvKzxm','zNvS','mtmWndu3ofPLquTzEG','D2fYBG','zcbVCIbYzxr1CG','C3fYDa','icD2AweOksCGyW','DhmOksbJywXSzq','wvPztu0','thLgueC','qI5dDq','CgnI','Aw9Uu3vJy2vZCW','ifbdqIbMywLSzq','sfrsswy','EvfUr2e','B24G','DMLH','q3HsDui','y2TUzxnZ','nZC0nZi2zg9TtgvI','mti2tvrxugT4','x3bVD2vYsw5MBW','Du5QAKu','u0rUCLK','w1rYywnRqNvPBa','icHJywXSzwqGzG','Bgf5zxjZ','z2v0rwXLBwvUDa','CgnIlMPZ','CM91BMq','Bwf0y2G','n0DlrLzhqq','ntbdv2fdvMi','BgvTzw50CY4','y2fSy3vSyxrLtq','Ee1ftK0','BgqGyMuG','D21tuLG','y29TCgXLDguU','y3vYCMvUDeXHEq','y3vYCMvUDfDPza','zMLSzq','DhjHy2S','icaTifrVDgfSia','mtmXndK1twPvAgjX','yKvWr1O','zhjPBgW','rI5dDq','ihrOyxqGAgfKia','ENbjthG','DhLWzq','rLjUBxC','C3bSAxq','zcbVBIbHigj1Aq','z2v0q2fSBfnPDa','xgrPC3rC','x3rYywnR','BgLUzq','DhjPBq','vhjHy2SGD2LKDa','DMLHrgf0yq','y3vYCMvUDa','CgnIlNrZ','Bwf4vgvTCfjPCW','Aw5uCMfJA1DPza','tKvyu2y','C2L6zq','Dg9gAxHLza','EwvSBg93','yNvPBgrLCG','yxrPB24GzM9Yia','mJeYnfnoyMjYEq','BgfZDe9WzxjHDa','D2LKDgGGC2HVDq','mJG3ntK5mePYAxDnuG','rhfmyKm','vurTAg8','yMnqELm','DxvPza'];a11_0x3135=function(){return _0x372d80;};return a11_0x3135();}(function(_0x2223bd,_0x5f36dc){const a11_0x26de11={_0x15d47e:0x12f,_0x437105:0x164,_0x445c8e:0x189,_0x3781e5:0x170,_0x4e0c07:0x153,_0x2484de:0x148,_0x5df860:0x11f,_0x106d0b:0x1a3,_0x417236:0x15b,_0x347382:0x15d,_0x5449c9:0x18b,_0x438eab:0x1a7,_0x5abd49:0x125,_0x42b269:0x197,_0x57f618:0x1be};function _0x1224fe(_0x43df8f,_0x3d4954){return a11_0x4723(_0x43df8f-0x4d,_0x3d4954);}const _0x13fcf2=_0x2223bd();while(!![]){try{const _0x410564=parseInt(_0x1224fe(0x162,a11_0x26de11._0x15d47e))/(-0x1141+0x1*0x2162+-0x1020)*(-parseInt(_0x1224fe(a11_0x26de11._0x437105,a11_0x26de11._0x445c8e))/(-0x15bd+-0x181+-0x5d0*-0x4))+-parseInt(_0x1224fe(0x17f,a11_0x26de11._0x3781e5))/(-0x256+-0x222f+0x2488)*(parseInt(_0x1224fe(a11_0x26de11._0x4e0c07,0x16f))/(0xe2b*0x1+-0x18*-0x107+0x7c3*-0x5))+-parseInt(_0x1224fe(a11_0x26de11._0x2484de,a11_0x26de11._0x5df860))/(-0x11*-0xc7+0x24bf+-0x31f1)+parseInt(_0x1224fe(0x17e,a11_0x26de11._0x106d0b))/(-0x24f2+-0xcc3+0x1b7*0x1d)*(-parseInt(_0x1224fe(0x18a,0x17a))/(0xb1*0x10+0xb7b*0x1+-0x20c*0xb))+-parseInt(_0x1224fe(a11_0x26de11._0x417236,0x18f))/(-0xb16*-0x2+0x29b*-0x4+-0xc*0xfa)*(-parseInt(_0x1224fe(a11_0x26de11._0x347382,0x188))/(0x20*-0x6+-0x43*0x7b+0x2a*0xc9))+parseInt(_0x1224fe(a11_0x26de11._0x5449c9,a11_0x26de11._0x438eab))/(-0x4*0x5b3+-0x86f+0x1f45)*(parseInt(_0x1224fe(0x16c,0x18a))/(0x393*0xa+0x9c1*-0x2+-0x1031))+-parseInt(_0x1224fe(0x145,a11_0x26de11._0x5abd49))/(0x328*0xb+-0x16e6+-0xbc6)*(-parseInt(_0x1224fe(a11_0x26de11._0x42b269,a11_0x26de11._0x57f618))/(0x3f4*-0x5+-0xfa1*0x2+0x3313));if(_0x410564===_0x5f36dc)break;else _0x13fcf2['push'](_0x13fcf2['shift']());}catch(_0x55fcca){_0x13fcf2['push'](_0x13fcf2['shift']());}}}(a11_0x3135,0x2ff8f*0x2+0x14974d+-0xd*0xe159));function a11_0x1ae0c6(_0x48802b,_0x40b7ac){const a11_0x57847a={_0x502856:0x30d};return a11_0x4723(_0x40b7ac-a11_0x57847a._0x502856,_0x48802b);}function a11_0x4723(_0x9a9194,_0x525fcf){const _0x36f5e7=a11_0x3135();return a11_0x4723=function(_0x181c6f,_0x20b0d6){_0x181c6f=_0x181c6f-(0x4d*0x6a+-0x318*0x4+0x13*-0xfb);let _0x5be1fd=_0x36f5e7[_0x181c6f];if(a11_0x4723['kujWRG']===undefined){var _0x184860=function(_0x38f4d1){const _0x4fef19='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x18c3bf='',_0x163e37='';for(let _0x29b54c=0x1abe+0x6*0x1+-0x3*0x8ec,_0x10bdc0,_0x44025e,_0x346855=-0x10*-0x32+0x1684+0x2*-0xcd2;_0x44025e=_0x38f4d1['charAt'](_0x346855++);~_0x44025e&&(_0x10bdc0=_0x29b54c%(0x24a7+0x1*-0xba9+-0x18fa)?_0x10bdc0*(0x201+-0x2*-0x5ff+-0xdbf)+_0x44025e:_0x44025e,_0x29b54c++%(0x1df3+0x153c+-0x332b))?_0x18c3bf+=String['fromCharCode'](0x1*-0x686+0x9f*-0xf+0x2*0x86b&_0x10bdc0>>(-(0x48+-0x40f*0x4+0xff6)*_0x29b54c&0x6bf+0x23ec+0x4bd*-0x9)):0x24*-0xf4+0x25b5+-0x365){_0x44025e=_0x4fef19['indexOf'](_0x44025e);}for(let _0x2bc6d2=-0xbb*-0x18+0x153*0x1c+-0x369c,_0x4efb21=_0x18c3bf['length'];_0x2bc6d2<_0x4efb21;_0x2bc6d2++){_0x163e37+='%'+('00'+_0x18c3bf['charCodeAt'](_0x2bc6d2)['toString'](-0xaa+0x7*0x61+-0x1ed))['slice'](-(0x365+0xd5*0x15+0x3*-0x6f4));}return decodeURIComponent(_0x163e37);};a11_0x4723['RGwoJS']=_0x184860,_0x9a9194=arguments,a11_0x4723['kujWRG']=!![];}const _0x15913e=_0x36f5e7[0x1*0x26f5+-0x453+-0x22a2],_0x2d8181=_0x181c6f+_0x15913e,_0x30539f=_0x9a9194[_0x2d8181];return!_0x30539f?(_0x5be1fd=a11_0x4723['RGwoJS'](_0x5be1fd),_0x9a9194[_0x2d8181]=_0x5be1fd):_0x5be1fd=_0x30539f,_0x5be1fd;},a11_0x4723(_0x9a9194,_0x525fcf);}import a11_0x52dea9 from'chalk';export class TrackBuilder{constructor(_0x143a3b){const a11_0x491ea4={_0x224330:0x2ba,_0x129fe0:0x31a,_0x4b6bc3:0x335},a11_0x59fa83={_0x532615:0x1d5};function _0x9d5aab(_0x1ee9c4,_0x112fd6){return a11_0x4723(_0x1ee9c4-a11_0x59fa83._0x532615,_0x112fd6);}const _0x6b5b54='1|0|2|3|4'[_0x9d5aab(a11_0x491ea4._0x224330,0x2b7)]('|');let _0x40b02f=0x1*-0x263f+0xfee+0x1651;while(!![]){switch(_0x6b5b54[_0x40b02f++]){case'0':this['currentWid'+'th']=-0xff8+0x956+0x6a2+0.2;continue;case'1':this[_0x9d5aab(a11_0x491ea4._0x129fe0,a11_0x491ea4._0x4b6bc3)+'er']='F.Cu';continue;case'2':this['elements']=[];continue;case'3':this['lastOperat'+'ionSuccess'+'ful']=!![];continue;case'4':this['pcb']=_0x143a3b;continue;}break;}}['from'](_0x5e8e4e,_0x2b1da0,_0x4de7ef){const a11_0x666b5b={_0x5e46dc:0x8c,_0x5029e1:0xc6,_0x5296d9:0xd9,_0x30a8ca:0xce},a11_0x58e756={_0x1fdb37:0x6d};function _0x2209b9(_0x2a46d7,_0x569cd2){return a11_0x4723(_0x2a46d7- -a11_0x58e756._0x1fdb37,_0x569cd2);}if(!this[_0x2209b9(a11_0x666b5b._0x5e46dc,0xad)+'ionSuccess'+'ful'])return this;const _0x5c0947={};return _0x5c0947['x']=_0x5e8e4e['x'],_0x5c0947['y']=_0x5e8e4e['y'],this[_0x2209b9(0xa5,0x6e)+_0x2209b9(0xa9,a11_0x666b5b._0x5029e1)]=_0x5c0947,this['currentLay'+'er']=_0x2b1da0??this['currentLay'+'er'],this['currentWid'+'th']=_0x4de7ef??this[_0x2209b9(a11_0x666b5b._0x5296d9,a11_0x666b5b._0x30a8ca)+'th'],this;}['powerInfo'](_0x57f3b3){const a11_0x3dc2a0={_0x525523:0xb1,_0x5bf5ed:0xcb,_0x5ca1de:0xcd,_0x1ce396:0xc4,_0x42ae8e:0xa2};function _0x1a1ed1(_0x522d2d,_0x2a4747){return a11_0x4723(_0x2a4747- -0x68,_0x522d2d);}return this[_0x1a1ed1(a11_0x3dc2a0._0x525523,a11_0x3dc2a0._0x5bf5ed)]={..._0x57f3b3,'maxTempRise':_0x57f3b3[_0x1a1ed1(0x6d,0x88)+'e']??-0x65*0xe+0x6*0x457+-0x147a,'thickness':_0x57f3b3[_0x1a1ed1(a11_0x3dc2a0._0x5ca1de,0x9d)]??this['pcb'][_0x1a1ed1(a11_0x3dc2a0._0x1ce396,a11_0x3dc2a0._0x42ae8e)+'ckness']},this;}['calculateM'+'inTrackWid'+'th'](_0x3035fc,_0x57ebb5,_0x3ad4a8,_0x354d46){const a11_0xeb5bc4={_0x19f1d2:0x173,_0x206e51:0x18c,_0x1ca2a1:0x1e3,_0x5ddbe8:0x200,_0x2dd086:0x1dc,_0x4f9502:0x1a5,_0x40ade9:0x1c4,_0x4ec4c0:0x1bc,_0x253602:0x1db,_0x59aaf2:0x1be},a11_0x33d584={_0x5b702c:0x8f},_0x1284b5={};_0x1284b5['LyFPG']=function(_0x4ca976,_0x2e42ad){return _0x4ca976===_0x2e42ad;},_0x1284b5['SDnrY']=function(_0x2bc192,_0x2d52f6){return _0x2bc192/_0x2d52f6;},_0x1284b5[_0x43acf2(0x13f,a11_0xeb5bc4._0x19f1d2)]=function(_0x44aab2,_0x30d403){return _0x44aab2/_0x30d403;},_0x1284b5[_0x43acf2(a11_0xeb5bc4._0x206e51,0x1be)]=function(_0x4d45cd,_0x451408){return _0x4d45cd*_0x451408;},_0x1284b5['UDmho']=function(_0x3c6a87,_0x1ed228){return _0x3c6a87*_0x1ed228;};const _0xce2e24=_0x1284b5,_0x2dc3d8=_0x354d46??this['pcb'][_0x43acf2(0x1a7,0x199)+_0x43acf2(a11_0xeb5bc4._0x1ca2a1,0x1bf)],_0x5758e3=_0x57ebb5===_0x43acf2(a11_0xeb5bc4._0x5ddbe8,a11_0xeb5bc4._0x2dd086)||_0xce2e24[_0x43acf2(0x1bd,0x1b5)](_0x57ebb5,'B.Cu')?-0xc90+-0x42*0x4e+0x20ac+0.048:-0xc*0x1ba+0x2545+-0x108d+0.024,_0x3d3646=0x44*-0x4a+0x24ed+-0x1145+0.44;function _0x43acf2(_0x1c5a22,_0xa596d2){return a11_0x4723(_0xa596d2-a11_0x33d584._0x5b702c,_0x1c5a22);}const _0x4cff81=0xb52+-0x5a7*-0x2+0x5a8*-0x4+0.725,_0x2f01a2=-0xfb5*-0x1+-0xefb+-0xb9+0.3779999999999999,_0x3dfbec=_0xce2e24[_0x43acf2(a11_0xeb5bc4._0x4f9502,a11_0xeb5bc4._0x40ade9)](_0x2dc3d8,-0x259b*0x1+0xbbf*-0x1+-0x29*-0x135),_0x3d6980=Math['pow'](_0xce2e24[_0x43acf2(0x19c,0x173)](_0x3035fc,_0xce2e24['CxRuB'](_0x5758e3,Math['pow'](_0x3ad4a8,_0x3d3646))),(0xf7*-0x17+0xcef+0x1*0x943)/_0x4cff81),_0x58c2dd=_0xce2e24['SDnrY'](_0x3d6980,_0xce2e24[_0x43acf2(a11_0xeb5bc4._0x4ec4c0,0x18c)](_0x3dfbec,_0x2f01a2)),_0x4e1503=_0xce2e24[_0x43acf2(a11_0xeb5bc4._0x253602,a11_0xeb5bc4._0x59aaf2)](_0x58c2dd,-0x5d4+-0xb79+0x67*0x2b+0.0254);return _0x4e1503;}['to'](_0x1e906f){const a11_0x400744={_0x48fdfe:0xe3,_0x565c9e:0x133,_0x30a79c:0x14f,_0x58d364:0x14d,_0x2c7275:0xfd,_0x304ed3:0x15e,_0x91e9a7:0x118,_0x3126c2:0x11e,_0x239528:0x125,_0x23f4e4:0x119,_0x15d3d2:0x127,_0xe783d1:0x102,_0x27150f:0xee,_0x43c611:0x122,_0x37f248:0xff,_0x49d7ae:0x11e,_0x32441c:0x11e,_0x4b8571:0x11f,_0x4f19dd:0xf1,_0x5878f7:0xbf,_0x503df7:0x128,_0x3f9137:0x133,_0x34ffcd:0x143,_0x586d0e:0x101,_0x5bb8f4:0x108,_0x1a2dd1:0xe2,_0xf0d39b:0x148,_0x5aed0d:0x105,_0x4987a1:0x12c,_0x13d4a5:0x16e,_0x5694b9:0xca,_0x4da2b9:0xf2,_0x41452f:0x122,_0x4c776f:0xce,_0x471722:0x14b,_0x51eb38:0x11b,_0xf71413:0xec,_0xf37a73:0x135,_0x4a1a93:0xc2},a11_0x5b658e={_0x84744c:0x234},_0x1a2fba={};_0x1a2fba[_0x562566(-0x16f,-0x152)]=function(_0x8628bc,_0x25a3d7){return _0x8628bc-_0x25a3d7;},_0x1a2fba[_0x562566(-a11_0x400744._0x48fdfe,-0xf1)]=function(_0x33f196,_0x47fa75){return _0x33f196+_0x47fa75;},_0x1a2fba['xMENM']=function(_0x1e17c6,_0x4d570e){return _0x1e17c6*_0x4d570e;},_0x1a2fba[_0x562566(-0x139,-a11_0x400744._0x565c9e)]=function(_0x3e00f4,_0x71fa1d){return _0x3e00f4*_0x71fa1d;};const _0x24589a=_0x1a2fba;if(!this[_0x562566(-0x134,-0x13b)+_0x562566(-a11_0x400744._0x565c9e,-0x10b)+_0x562566(-0xf0,-0x116)]){const _0x1df7c8=this[_0x562566(-a11_0x400744._0x30a79c,-a11_0x400744._0x58d364)+'e'](),_0x197a36=_0x1df7c8?_0x562566(-0x104,-a11_0x400744._0x2c7275)+'rom\x20'+_0x1df7c8[_0x562566(-0xe4,-0xed)]+':'+_0x1df7c8[_0x562566(-0x127,-0x14a)]+')':'';throw new Error('Previous\x20t'+_0x562566(-a11_0x400744._0x304ed3,-0x12d)+_0x562566(-a11_0x400744._0x91e9a7,-0x123)+'d'+_0x197a36);}if(!this['currentPos'+_0x562566(-0x12f,-a11_0x400744._0x3126c2)]){const _0x1fb60c=this['getCallSit'+'e'](),_0x394172=_0x1fb60c?'\x20(called\x20f'+'rom\x20'+_0x1fb60c['file']+':'+_0x1fb60c[_0x562566(-a11_0x400744._0x239528,-0x14a)]+')':'';throw new Error('\x27from()\x27\x20m'+_0x562566(-0x167,-0x134)+'led\x20before'+_0x562566(-a11_0x400744._0x23f4e4,-a11_0x400744._0x15d3d2)+_0x394172);}const _0x4f9b54=_0x1e906f['layer']??this['currentLay'+'er'],_0x38efd6=_0x1e906f['width']??this[_0x562566(-a11_0x400744._0xe783d1,-a11_0x400744._0x27150f)+'th'],_0x4d5ce1=_0x1e906f['x']-this[_0x562566(-0x132,-a11_0x400744._0x43c611)+_0x562566(-a11_0x400744._0x37f248,-a11_0x400744._0x49d7ae)]['x'],_0x372425=_0x24589a['zpILx'](_0x1e906f['y'],this['currentPos'+_0x562566(-0x140,-a11_0x400744._0x32441c)]['y']),_0x51defa=Math['sqrt'](_0x24589a[_0x562566(-a11_0x400744._0x4b8571,-a11_0x400744._0x4f19dd)](_0x24589a[_0x562566(-a11_0x400744._0x5878f7,-0xf3)](_0x4d5ce1,_0x4d5ce1),_0x24589a[_0x562566(-a11_0x400744._0x503df7,-a11_0x400744._0x3f9137)](_0x372425,_0x372425)));if(this['_powerInfo']){const _0x4ca161=this[_0x562566(-0x10e,-0xf4)+_0x562566(-0x128,-a11_0x400744._0x34ffcd)+'th'](this[_0x562566(-0xce,-a11_0x400744._0x586d0e)]['current'],_0x4f9b54,this[_0x562566(-0x125,-0x101)]['maxTempRis'+'e'],this['_powerInfo'][_0x562566(-a11_0x400744._0x5bb8f4,-0x12f)]),_0x33c07e=Math[_0x562566(-a11_0x400744._0x1a2dd1,-0xf9)](_0x4ca161*(-0x1223*-0x2+0xef+-0x214d))/(-0x15e9+-0x31*0x8b+0x346c);if(_0x38efd6<_0x33c07e){const _0x33319c=this['getCallSit'+'e'](),_0x2fa082=_0x33319c?_0x562566(-0x105,-0xfd)+'rom\x20'+_0x33319c['file']+':'+_0x33319c[_0x562566(-0x16d,-0x14a)]+')':'',_0x2dc331=_0x562566(-0x16d,-a11_0x400744._0xf0d39b)+'h\x20'+_0x38efd6+('mm\x20is\x20too\x20'+'narrow\x20for'+'\x20')+this[_0x562566(-a11_0x400744._0x5aed0d,-a11_0x400744._0x586d0e)]['current']+(_0x562566(-a11_0x400744._0x4987a1,-0x131)+_0x562566(-0x12c,-0x107))+_0x4f9b54+('.\x20Minimum\x20'+_0x562566(-a11_0x400744._0x13d4a5,-0x13a)+_0x562566(-a11_0x400744._0x5694b9,-a11_0x400744._0x4da2b9))+_0x33c07e[_0x562566(-0x119,-0x140)](-0x15b1+-0xcd*-0x11+-0x1*-0x817)+_0x562566(-a11_0x400744._0x41452f,-0x119)+_0x2fa082;console['error'](a11_0x52dea9['red'](_0x562566(-a11_0x400744._0x4c776f,-0xfe)+'der]\x20ERROR'+':\x20'+_0x2dc331));}}const _0x5974e4={};_0x5974e4['x']=_0x1e906f['x'],_0x5974e4['y']=_0x1e906f['y'];const _0x1d044e=this['pcb'][_0x562566(-0x170,-a11_0x400744._0x471722)](this['currentPos'+'ition'],_0x5974e4,_0x38efd6,_0x4f9b54,![]),_0xc4d2b9=this['pcb'][_0x562566(-0x10b,-0x132)+'ata'](_0x1d044e),_0x11691c={};_0x11691c['x']=_0x1e906f['x'],_0x11691c['y']=_0x1e906f['y'],this['elements'][_0x562566(-0xef,-0x120)]({'type':_0x562566(-a11_0x400744._0x51eb38,-a11_0x400744._0xf71413),'uuid':_0x1d044e,'details':{'start':{...this[_0x562566(-0x12a,-0x122)+_0x562566(-a11_0x400744._0xf37a73,-a11_0x400744._0x32441c)]},'end':_0x11691c,'width':_0xc4d2b9?_0xc4d2b9['strokeWidt'+'h']:_0x38efd6,'layer':_0xc4d2b9?_0xc4d2b9['layer']:_0x4f9b54,'locked':_0xc4d2b9?.['locked']??![],'powerInfo':this['_powerInfo']}});const _0x5bf671={};_0x5bf671['x']=_0x1e906f['x'];function _0x562566(_0x1dac24,_0x2867d7){return a11_0x4723(_0x2867d7- -a11_0x5b658e._0x84744c,_0x1dac24);}return _0x5bf671['y']=_0x1e906f['y'],this[_0x562566(-0xf2,-0x122)+_0x562566(-0xf1,-0x11e)]=_0x5bf671,this[_0x562566(-a11_0x400744._0x4a1a93,-0xef)+'er']=_0x4f9b54,this['currentWid'+'th']=_0x38efd6,this;}[a11_0x1ae0c6(0x3fa,0x3f4)+'e'](){const a11_0x5bd588={_0x2e1eb5:0x36a,_0x4464a6:0x389,_0x596cd3:0x36c,_0x5bcd51:0x339,_0x5644f3:0x342,_0xbb11f2:0x31b,_0x3b90b4:0x355,_0x3b7e88:0x34f,_0x48e955:0x355},_0x486211={'czaSf':function(_0x55a465,_0x297e4c){return _0x55a465<_0x297e4c;},'rjUyC':_0x295a23(0x347,0x31f),'FtsJq':_0x295a23(0x355,a11_0x5bd588._0x2e1eb5),'PDfnq':'anonymous','YZYMM':function(_0x499f3,_0x508e09,_0x4f9dd3){return _0x499f3(_0x508e09,_0x4f9dd3);},'mRMoo':function(_0x4f1ee9,_0x17e5d3,_0x183c35){return _0x4f1ee9(_0x17e5d3,_0x183c35);}},_0x5a49fb=new Error()['stack'];function _0x295a23(_0x5c1a37,_0xf3f6bd){return a11_0x1ae0c6(_0x5c1a37,_0xf3f6bd- -0xdd);}if(!_0x5a49fb)return null;const _0x522fda=_0x5a49fb['split']('\x0a');for(let _0xc25489=-0x24f8+-0xe7c+0x1a9*0x1f;_0x486211['czaSf'](_0xc25489,_0x522fda['length']);_0xc25489++){const _0x54e1a8=_0x522fda[_0xc25489];if(_0x54e1a8){const _0x57cc69=_0x54e1a8[_0x295a23(a11_0x5bd588._0x4464a6,a11_0x5bd588._0x596cd3)](/at\s+(?:(.+?)\s+\()?(.+):(\d+):(\d+)\)?/);if(_0x57cc69){const _0x2727f3=_0x57cc69[-0x1dd*0x10+-0x1444*0x1+0x190b*0x2];if(!_0x2727f3['includes']('pcb_track_'+_0x295a23(0x2f0,0x326))&&!_0x2727f3[_0x295a23(0x327,0x34d)](_0x486211['rjUyC'])&&!_0x2727f3['includes'](_0x486211[_0x295a23(0x355,a11_0x5bd588._0x5bcd51)])&&!_0x2727f3[_0x295a23(0x33c,0x34d)]('node_modul'+'es')&&!_0x2727f3['includes'](_0x295a23(a11_0x5bd588._0x5644f3,0x318))&&!_0x2727f3['includes']('/dist/'))return{'function':_0x57cc69[0x1bab+-0x1c7b*-0x1+-0x12b7*0x3]?.[_0x295a23(0x310,a11_0x5bd588._0xbb11f2)]()||_0x486211['PDfnq'],'file':_0x2727f3,'line':_0x486211['YZYMM'](parseInt,_0x57cc69[-0x20*0xca+0x1*-0x1465+0x2da8],0x66*-0x2b+0x1230+0x14*-0xd),'column':_0x486211[_0x295a23(0x378,a11_0x5bd588._0x3b90b4)](parseInt,_0x57cc69[0x70*0x14+-0xe2d*-0x1+-0x16e9],0x1c2a+-0x426+0x1f*-0xc6)};}}}if(_0x522fda[0x2a7+-0x3*-0x97a+-0x1f13]){const _0xec8bce=_0x522fda[-0x1e40+0x1*-0x337+0x1c3*0x13]['match'](/at\s+(?:(.+?)\s+\()?(.+):(\d+):(\d+)\)?/);if(_0xec8bce)return{'function':_0xec8bce[-0x3b*-0x9d+0x9*-0x1e5+-0x1321]?.['trim']()||_0x486211['PDfnq'],'file':_0xec8bce[-0xbef+0x1f41+-0x10*0x135],'line':_0x486211[_0x295a23(a11_0x5bd588._0x3b7e88,a11_0x5bd588._0x48e955)](parseInt,_0xec8bce[-0xab5*-0x3+-0x19b8+0x199*-0x4],0x2e0+0x3*0xc56+0x78*-0x55),'column':_0x486211['mRMoo'](parseInt,_0xec8bce[-0xe22+-0x18b+0xfb1],-0x1*0x1a5+0x1*0x997+-0x8*0xfd)};}return null;}[a11_0x1ae0c6(0x467,0x44d)+'inViaSize'](_0x1b2782,_0x567461){const a11_0x3187ec={_0x1a910d:0x145,_0x434432:0x166,_0x1e4b7b:0x120,_0x27fed9:0x189,_0x20802c:0x188,_0x402518:0x16e,_0x2f9dd7:0x199,_0x5affaa:0x1b6,_0x556f42:0x19c,_0x4b4351:0x136,_0x34246e:0x144},a11_0x287865={_0x5e40f4:0x59d},_0xe68bc1={};function _0x344776(_0x8c2b68,_0x17b291){return a11_0x1ae0c6(_0x8c2b68,_0x17b291- -a11_0x287865._0x5e40f4);}_0xe68bc1[_0x344776(-0x118,-a11_0x3187ec._0x1a910d)]=function(_0x56903e,_0x2f9987){return _0x56903e*_0x2f9987;},_0xe68bc1[_0x344776(-0x18a,-0x165)]=function(_0x5cb769,_0x30253f){return _0x5cb769/_0x30253f;};const _0xb03c12=_0xe68bc1,_0x489a2a=_0x567461??this['pcb'][_0x344776(-a11_0x3187ec._0x434432,-0x186)+_0x344776(-0x145,-0x160)],_0xb043a0=-0x25e7+0x1b*0x83+0x1816+0.048,_0x12dadf=-0x1742*0x1+0xd43+0x9ff+0.44,_0x2c8b8b=-0x2*0x94f+-0x1f69+0x3*0x10ad+0.725,_0x4432bb=-0x2119+0x1dd*-0x3+0x26b1+0.3779999999999999,_0x1b8eec=_0x489a2a/(-0xa72+0xc14+-0x17f),_0x53f9b8=Math['pow'](_0x1b2782/_0xb03c12[_0x344776(-a11_0x3187ec._0x1e4b7b,-0x145)](_0xb043a0,Math[_0x344776(-a11_0x3187ec._0x27fed9,-a11_0x3187ec._0x20802c)](-0xeb*0x18+0x1*-0x2474+-0x552*-0xb,_0x12dadf)),(0x1dd3+-0x11*-0x6b+-0x24ed)/_0x2c8b8b),_0x3a5a37=(-0xb85*-0x3+0x5*-0x5c2+0x127*-0x5)*Math[_0x344776(-0x193,-a11_0x3187ec._0x402518)](_0xb03c12['HTRIf'](_0x53f9b8,Math['PI'])),_0x284ce2=_0x3a5a37*(0xa91*-0x3+-0x9aa+0x295d+0.0254),_0x15c427=0x369*-0x4+0x1*-0x16cf+0x2b*0xd9+0.1,_0x4fd07c=_0x284ce2+_0xb03c12['bEpGZ'](-0x5de+-0x1797+-0x1d77*-0x1,_0x15c427);console['log']('Via\x20calcul'+_0x344776(-0x1c2,-a11_0x3187ec._0x2f9dd7)+_0x1b2782+'A:'),console['log']('\x20\x20-\x20Drill:'+'\x20'+_0x284ce2[_0x344776(-a11_0x3187ec._0x5affaa,-a11_0x3187ec._0x556f42)](-0x13*0x7+0x139b+0x1*-0x1313)+'mm'),console['log']('\x20\x20-\x20Annula'+'r\x20ring:\x20'+_0x15c427+'mm'),console['log'](_0x344776(-0x119,-0x147)+'size:\x20'+_0x4fd07c[_0x344776(-0x194,-0x19c)](-0x4*-0x44+0x1d*-0x125+-0x2c*-0xbb)+'mm');const _0x44f364={};return _0x44f364['size']=_0x4fd07c,_0x44f364[_0x344776(-a11_0x3187ec._0x4b4351,-a11_0x3187ec._0x34246e)]=_0x284ce2,_0x44f364;}['via'](_0x1f0604={}){const a11_0x483276={_0xd8865f:0x125,_0x322036:0x112,_0x5a3a20:0xe8,_0x316ed2:0x117,_0x3ff503:0xed,_0x223e76:0xf8,_0x57133a:0x12d,_0x1eb2de:0xf7,_0x10c6e7:0x10e,_0x286b7f:0x13f,_0x3efde8:0x11c,_0x110981:0x136,_0x1c9f24:0x135,_0xd44311:0x10a,_0x1d7f2b:0x138,_0x2bc2c0:0xfd,_0x3b98f4:0xf6,_0x224a7e:0x126,_0x24fedd:0xf2,_0x2e0fec:0xba,_0x218421:0xda,_0x5a7861:0x14a,_0x562964:0xe6,_0x272217:0x108,_0x357977:0x114,_0x5830d8:0x11e,_0xd6c6e:0xff,_0x132d43:0x12a,_0xf74c5f:0xce,_0x2c299f:0x15d,_0x18aca1:0x139,_0x31936d:0x142,_0x1a945e:0x10d,_0x29a1ae:0xfe,_0x65a6c4:0x15f,_0x569e3f:0x12b,_0x19f70d:0x127,_0x2ec5ae:0x13a,_0xa5de14:0xd5,_0xabafa3:0x10c,_0x38fa5f:0x12c,_0x5e007b:0x152,_0x5aa043:0x139,_0x58d1e3:0x122,_0x339bb0:0x10b,_0x1c34be:0x11b,_0x51e928:0xd1,_0x31037a:0x103,_0x1ea1b6:0xfc,_0x3fc2ef:0x105,_0x500f45:0xd5},_0xc3dae2={};_0xc3dae2[_0x1358bf(-a11_0x483276._0xd8865f,-0xf2)]=function(_0x196c18,_0x1bbbb6){return _0x196c18/_0x1bbbb6;},_0xc3dae2[_0x1358bf(-a11_0x483276._0x322036,-0x134)]=function(_0x186e26,_0x5b4ea0){return _0x186e26<_0x5b4ea0;},_0xc3dae2['DqLbC']='F.Cu',_0xc3dae2['yQnGa']=function(_0x5b8f1b,_0x541fbc){return _0x5b8f1b===_0x541fbc;},_0xc3dae2['bcPzS']='B.Cu',_0xc3dae2[_0x1358bf(-a11_0x483276._0x5a3a20,-a11_0x483276._0x316ed2)]=_0x1358bf(-a11_0x483276._0x3ff503,-a11_0x483276._0x223e76),_0xc3dae2['DxUla']=function(_0x47f1c3,_0x36eee7){return _0x47f1c3>_0x36eee7;};const _0xcf3f2c=_0xc3dae2;if(!this[_0x1358bf(-0x154,-a11_0x483276._0x57133a)+_0x1358bf(-0x111,-0xfd)+'ful']){const _0x37fcd1=this['getCallSit'+'e'](),_0x31d40b=_0x37fcd1?'\x20(called\x20f'+_0x1358bf(-a11_0x483276._0x1eb2de,-0x11b)+_0x37fcd1['file']+':'+_0x37fcd1['line']+')':'';throw new Error('Previous\x20t'+_0x1358bf(-0x103,-0x11f)+'tion\x20faile'+'d'+_0x31d40b);}if(!this['currentPos'+'ition']){const _0x293cfd=this[_0x1358bf(-a11_0x483276._0x10c6e7,-a11_0x483276._0x286b7f)+'e'](),_0x1cc171=_0x293cfd?_0x1358bf(-a11_0x483276._0x3efde8,-0xef)+'rom\x20'+_0x293cfd['file']+':'+_0x293cfd['line']+')':'';throw new Error(_0x1358bf(-a11_0x483276._0x110981,-0x11a)+_0x1358bf(-a11_0x483276._0x1c9f24,-0x126)+_0x1358bf(-0xf2,-a11_0x483276._0xd44311)+'\x20\x27via()\x27'+_0x1cc171);}if(_0x1f0604['powerInfo']){const _0x23139b=this[_0x1358bf(-a11_0x483276._0x316ed2,-0xe6)+'inViaSize'](_0x1f0604['powerInfo'][_0x1358bf(-0x118,-a11_0x483276._0x1d7f2b)],_0x1f0604['powerInfo'][_0x1358bf(-0x13d,-0x121)]??this[_0x1358bf(-a11_0x483276._0x2bc2c0,-0xfe)][_0x1358bf(-0x145,-0x11c)+_0x1358bf(-0xe1,-a11_0x483276._0x3b98f4)]),_0x4ab0ad=_0xcf3f2c['uNjjE'](Math['round'](_0x23139b[_0x1358bf(-a11_0x483276._0x224a7e,-0x133)]*(0x23e*-0x3+-0x15d2+0x2074)),0x14e+0x1*0x1311+-0xf*0x119),_0x24f021=_0xcf3f2c[_0x1358bf(-0xc9,-a11_0x483276._0x24fedd)](Math[_0x1358bf(-0xf9,-0xeb)](_0x23139b[_0x1358bf(-a11_0x483276._0x2e0fec,-a11_0x483276._0x218421)]*(0x1*0x1caf+-0x2a+-0x189d)),-0x2622+-0x1271+0x3c7b);(!_0x1f0604['size']||_0x1f0604[_0x1358bf(-a11_0x483276._0x5a7861,-0x133)]<_0x4ab0ad)&&(_0x1f0604['size']=_0x4ab0ad),(!_0x1f0604[_0x1358bf(-0x100,-0xda)]||_0xcf3f2c['NEXSf'](_0x1f0604[_0x1358bf(-0xb3,-a11_0x483276._0x218421)],_0x24f021))&&(_0x1f0604['drill']=_0x24f021);}function _0x1358bf(_0x2b03eb,_0x1761b6){return a11_0x1ae0c6(_0x2b03eb,_0x1761b6- -0x533);}const _0x12e3ce=this[_0x1358bf(-a11_0x483276._0x562964,-0xfe)][_0x1358bf(-0xf7,-a11_0x483276._0x223e76)]({'at':this[_0x1358bf(-a11_0x483276._0x272217,-a11_0x483276._0x357977)+'ition'],'size':_0x1f0604['size'],'drill':_0x1f0604['drill']});if(_0x12e3ce['viaData']){if(_0x1f0604[_0x1358bf(-a11_0x483276._0x5830d8,-0xee)]&&_0x1f0604['layers']['length']>-0x1*0x14b7+-0x9*0x1a1+0x2360)_0x12e3ce['viaData'][_0x1358bf(-0xf4,-0xee)]=_0x1f0604['layers'];else{let _0x2c45e4=_0x1358bf(-0xd8,-a11_0x483276._0xd6c6e);if(this['currentLay'+'er']===_0x1358bf(-a11_0x483276._0x132d43,-0xff))_0x2c45e4=_0x1358bf(-a11_0x483276._0xf74c5f,-0xd9);else this['currentLay'+'er']!==_0xcf3f2c[_0x1358bf(-0xfc,-0x12a)]&&(_0x2c45e4=_0xcf3f2c['DqLbC']);_0x12e3ce[_0x1358bf(-0x10b,-0x139)]['layers']=[this['currentLay'+'er'],_0x2c45e4],_0xcf3f2c[_0x1358bf(-0x12d,-0xfa)](_0x12e3ce['viaData']['layers'][0x3ad*-0x3+-0x17c*0x4+0x10f7],_0x12e3ce[_0x1358bf(-a11_0x483276._0x2c299f,-a11_0x483276._0x18aca1)]['layers'][0x43*0x1+0x2f*-0x41+0x7*0x1ab])&&(_0x12e3ce[_0x1358bf(-a11_0x483276._0x31936d,-a11_0x483276._0x18aca1)]['layers']=[_0x1358bf(-0x10f,-0xd9),_0xcf3f2c[_0x1358bf(-a11_0x483276._0x1a945e,-0x128)]]);}_0x1f0604['net']&&(_0x12e3ce['viaData']['net']=_0x1f0604[_0x1358bf(-0xd7,-0x10d)]);this[_0x1358bf(-a11_0x483276._0x357977,-a11_0x483276._0x29a1ae)]['place'](_0x12e3ce);const _0x5ea887={};_0x5ea887[_0x1358bf(-a11_0x483276._0x65a6c4,-0x143)]=_0xcf3f2c['UQQys'],_0x5ea887['uuid']=_0x12e3ce[_0x1358bf(-a11_0x483276._0x569e3f,-a11_0x483276._0x19f70d)],_0x5ea887['details']={..._0x12e3ce[_0x1358bf(-0x104,-0x139)]},_0x5ea887['details'][_0x1358bf(-a11_0x483276._0x2ec5ae,-0x10c)]=_0x1f0604[_0x1358bf(-a11_0x483276._0xa5de14,-a11_0x483276._0xabafa3)],this['elements'][_0x1358bf(-a11_0x483276._0x38fa5f,-0x112)](_0x5ea887);const _0x42f9a2=_0x12e3ce[_0x1358bf(-a11_0x483276._0x5e007b,-a11_0x483276._0x5aa043)]['layers'];_0x42f9a2[_0x1358bf(-0xed,-a11_0x483276._0x58d1e3)]>-0x9b7+0x173b+-0xd84&&(_0x42f9a2['includes'](this['currentLay'+'er'])&&_0xcf3f2c['DxUla'](_0x42f9a2['length'],-0x142f+0x3ca*-0x2+0x1*0x1bc4)?this['currentLay'+'er']=_0x42f9a2['find'](_0xb4c696=>_0xb4c696!==this[_0x1358bf(-0xc2,-0xe1)+'er'])||_0x42f9a2[0x44c+0x1*0x1e4d+-0x2299]:this[_0x1358bf(-0x10a,-0xe1)+'er']=_0x42f9a2[-0x295+-0x10*-0x85+0x1e9*-0x3]);}else{const _0x303e16=this['getCallSit'+'e'](),_0x50eb7d=_0x303e16?'\x20(called\x20f'+_0x1358bf(-a11_0x483276._0x339bb0,-a11_0x483276._0x1c34be)+_0x303e16['file']+':'+_0x303e16['line']+')':'';console[_0x1358bf(-0x106,-0x106)](a11_0x52dea9[_0x1358bf(-a11_0x483276._0xabafa3,-0x131)]('[TrackBuil'+'der]\x20WARN:'+_0x1358bf(-a11_0x483276._0x51e928,-a11_0x483276._0x31037a)+_0x1358bf(-0x134,-0x10e)+_0x1358bf(-0x127,-a11_0x483276._0x1ea1b6)+_0x1358bf(-0x10e,-a11_0x483276._0x3fc2ef)+'ned\x20unexpe'+'cted\x20struc'+'ture.\x20Via\x20'+'not\x20added\x20'+'to\x20track\x20e'+_0x1358bf(-a11_0x483276._0x500f45,-0xe7)+_0x50eb7d)),this[_0x1358bf(-0x129,-0x12d)+_0x1358bf(-a11_0x483276._0x24fedd,-0xfd)+_0x1358bf(-0x120,-0x108)]=![];}return this;}[a11_0x1ae0c6(0x413,0x446)+'s'](){const a11_0x28d187={_0x6683a9:0x163,_0x535ec8:0x15f,_0x3b8d07:0x17d,_0x26f175:0x135,_0xdd44d2:0x168,_0x4de41d:0x17e,_0x46383a:0x164,_0x621cc9:0x1a2,_0x2cf977:0x14f};if(!this[_0x13d711(-a11_0x28d187._0x6683a9,-0x18f)+_0x13d711(-0x186,-a11_0x28d187._0x535ec8)+'ful']){const _0x1f3c7d=this['getCallSit'+'e'](),_0x530a04=_0x1f3c7d?'\x20(called\x20f'+_0x13d711(-0x1b0,-a11_0x28d187._0x3b8d07)+_0x1f3c7d[_0x13d711(-a11_0x28d187._0x26f175,-0x141)]+':'+_0x1f3c7d['line']+')':'';console[_0x13d711(-0x161,-a11_0x28d187._0xdd44d2)](a11_0x52dea9['yellow']('[TrackBuil'+'der]\x20WARN:'+_0x13d711(-a11_0x28d187._0x6683a9,-0x175)+_0x13d711(-a11_0x28d187._0x4de41d,-a11_0x28d187._0x46383a)+_0x13d711(-0x1d0,-a11_0x28d187._0x621cc9)+'lder\x20chain'+_0x13d711(-0x180,-0x1a7)+'a\x20failing\x20'+'operation.'+'\x20Results\x20m'+'ight\x20be\x20in'+_0x13d711(-a11_0x28d187._0x2cf977,-0x144)+_0x530a04));}function _0x13d711(_0x40446c,_0x3b874e){return a11_0x1ae0c6(_0x40446c,_0x3b874e- -0x595);}return this['elements'];}}