@tomaso909/js3d 1.4.0 → 1.4.1

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.obf.js CHANGED
@@ -1 +1 @@
1
- (function(_0x48ce7d,_0x396027){const _0x4e2291=a0_0x6ade,_0x567355=_0x48ce7d();while(!![]){try{const _0x4db2b4=parseInt(_0x4e2291(0x88))/0x1*(parseInt(_0x4e2291(0x77))/0x2)+parseInt(_0x4e2291(0x8d))/0x3+-parseInt(_0x4e2291(0x84))/0x4*(parseInt(_0x4e2291(0x89))/0x5)+-parseInt(_0x4e2291(0x79))/0x6+-parseInt(_0x4e2291(0x8a))/0x7*(parseInt(_0x4e2291(0x75))/0x8)+parseInt(_0x4e2291(0x90))/0x9+parseInt(_0x4e2291(0x94))/0xa*(parseInt(_0x4e2291(0x82))/0xb);if(_0x4db2b4===_0x396027)break;else _0x567355['push'](_0x567355['shift']());}catch(_0x3e2c7f){_0x567355['push'](_0x567355['shift']());}}}(a0_0x1921,0x7f5ce));var h={'length':function(_0x14385f){const _0x3343c8=a0_0x6ade;return Math[_0x3343c8(0x7d)](_0x14385f[0x0]**0x2+_0x14385f[0x1]**0x2+_0x14385f[0x2]**0x2);},'scalarProduct':function(_0x127240,_0x1bd5cf){return[_0x127240[0x0]*_0x1bd5cf,_0x127240[0x1]*_0x1bd5cf,_0x127240[0x2]*_0x1bd5cf];},'dot':function(_0x58f1ba,_0x1e6505){return _0x58f1ba[0x0]*_0x1e6505[0x0]+_0x58f1ba[0x1]*_0x1e6505[0x1]+_0x58f1ba[0x2]*_0x1e6505[0x2];},'angle':function(_0x4fb571,_0x2aceb7){const _0x591300=a0_0x6ade;let _0x25f8b8=this[_0x591300(0x8e)](_0x4fb571,_0x2aceb7)/(this[_0x591300(0x87)](_0x4fb571)*this['length'](_0x2aceb7));return _0x25f8b8!=0x0?Math[_0x591300(0x78)](_0x25f8b8):0x0;},'sub':function(_0x4fe5f3,_0x316d82){return[_0x4fe5f3[0x0]-_0x316d82[0x0],_0x4fe5f3[0x1]-_0x316d82[0x1],_0x4fe5f3[0x2]-_0x316d82[0x2]];},'add':function(_0x268cd6,_0x1823fb){return[_0x268cd6[0x0]+_0x1823fb[0x0],_0x268cd6[0x1]+_0x1823fb[0x1],_0x268cd6[0x2]+_0x1823fb[0x2]];},'rotate':function(_0x240f8b,_0x5672db,_0x383fee){const _0x441e17=a0_0x6ade;let _0x34c79d=_0x383fee*Math['PI']/0xb4,_0x22669c=Math[_0x441e17(0x7c)](_0x34c79d),_0x18b6fa=Math[_0x441e17(0x72)](_0x34c79d),_0xbc5738=_0x240f8b[0x0],_0x523550=_0x240f8b[0x1],_0x18d9b9=_0x240f8b[0x2],_0x54c3b4=_0x5672db[0x0],_0x2d7236=_0x5672db[0x1],_0x14c44d=_0x5672db[0x2],_0x2e959b=_0x54c3b4*_0xbc5738+_0x2d7236*_0x523550+_0x14c44d*_0x18d9b9,_0x53e4ed=_0x54c3b4*_0x2e959b*(0x1-_0x22669c)+_0xbc5738*_0x22669c+(-_0x14c44d*_0x523550+_0x2d7236*_0x18d9b9)*_0x18b6fa,_0x380085=_0x2d7236*_0x2e959b*(0x1-_0x22669c)+_0x523550*_0x22669c+(_0x14c44d*_0xbc5738-_0x54c3b4*_0x18d9b9)*_0x18b6fa,_0x1459a9=_0x14c44d*_0x2e959b*(0x1-_0x22669c)+_0x18d9b9*_0x22669c+(-_0x2d7236*_0xbc5738+_0x54c3b4*_0x523550)*_0x18b6fa;return[_0x53e4ed,_0x380085,_0x1459a9];},'fromTwoPoints':function(_0x55d78d,_0x5e164e){return[_0x5e164e[0x0]-_0x55d78d[0x0],_0x5e164e[0x1]-_0x55d78d[0x1],_0x5e164e[0x2]-_0x55d78d[0x2]];},'normalized':function(_0x5e376e){const _0xa747cb=a0_0x6ade;return h[_0xa747cb(0x74)](_0x5e376e,0x1/h['length'](_0x5e376e));},'cross':function(_0x35cb79,_0x494db6){return[_0x35cb79[0x1]*_0x494db6[0x2]-_0x35cb79[0x2]*_0x494db6[0x1],_0x35cb79[0x2]*_0x494db6[0x0]-_0x35cb79[0x0]*_0x494db6[0x2],_0x35cb79[0x0]*_0x494db6[0x1]-_0x35cb79[0x1]*_0x494db6[0x0]];}},E={'distance':function(_0x39e0c6,_0x197747){const _0x57e3e4=a0_0x6ade;return h[_0x57e3e4(0x87)](h[_0x57e3e4(0x7a)](_0x197747,_0x39e0c6));},'move':function(_0x1228fd,_0x28667a){const _0x3fa279=a0_0x6ade;return h[_0x3fa279(0x7e)](_0x1228fd,_0x28667a);},'scale':function(_0x1a00a0,_0x3d66b5,_0x511734){const _0x1134fa=a0_0x6ade;return _0x511734!=null&&(_0x1a00a0=this[_0x1134fa(0x7b)](_0x1a00a0,h[_0x1134fa(0x74)](_0x511734,-0x1))),_0x1a00a0=h['scalarProduct'](_0x1a00a0,_0x3d66b5),_0x511734!=null&&(_0x1a00a0=this[_0x1134fa(0x7b)](_0x1a00a0,_0x511734)),_0x1a00a0;},'rotate':function(_0x152290,_0x42c20e,_0xc9950,_0x85261b){const _0x595689=a0_0x6ade;let _0x5a66dd=_0xc9950*Math['PI']/0xb4,_0xf2fdf7=Math[_0x595689(0x7c)](_0x5a66dd),_0x4db410=Math['sin'](_0x5a66dd),_0x223475=_0x152290[0x0],_0x13951b=_0x152290[0x1],_0x441082=_0x152290[0x2];_0x85261b!=null&&(_0x223475=_0x223475-_0x85261b[0x0],_0x13951b=_0x13951b-_0x85261b[0x1],_0x441082=_0x441082-_0x85261b[0x2]);let _0x580a44=_0x42c20e[0x0],_0x280806=_0x42c20e[0x1],_0x2944a5=_0x42c20e[0x2],_0xf540a6=_0x580a44*_0x223475+_0x280806*_0x13951b+_0x2944a5*_0x441082,_0x23e617=_0x580a44*_0xf540a6*(0x1-_0xf2fdf7)+_0x223475*_0xf2fdf7+(-_0x2944a5*_0x13951b+_0x280806*_0x441082)*_0x4db410,_0x432961=_0x280806*_0xf540a6*(0x1-_0xf2fdf7)+_0x13951b*_0xf2fdf7+(_0x2944a5*_0x223475-_0x580a44*_0x441082)*_0x4db410,_0x595090=_0x2944a5*_0xf540a6*(0x1-_0xf2fdf7)+_0x441082*_0xf2fdf7+(-_0x280806*_0x223475+_0x580a44*_0x13951b)*_0x4db410,_0x437807=[_0x23e617,_0x432961,_0x595090];return _0x85261b!=null&&(_0x437807[0x0]=_0x437807[0x0]+_0x85261b[0x0],_0x437807[0x1]=_0x437807[0x1]+_0x85261b[0x1],_0x437807[0x2]=_0x437807[0x2]+_0x85261b[0x2]),_0x437807;},'project':function(_0x3c872d,_0x1fba5d,_0x22de4a){const _0x8f6f0b=a0_0x6ade;let _0x36aa3e=h[_0x8f6f0b(0x7a)](_0x3c872d,_0x22de4a),_0x3bc462=h[_0x8f6f0b(0x8e)](_0x36aa3e,_0x1fba5d)/h[_0x8f6f0b(0x87)](_0x1fba5d),_0x259cf6=h[_0x8f6f0b(0x74)](_0x1fba5d,0x1/h[_0x8f6f0b(0x87)](_0x1fba5d));return h[_0x8f6f0b(0x7a)](_0x3c872d,h[_0x8f6f0b(0x74)](_0x259cf6,_0x3bc462));}},R={'from_control_points':function(_0x170535,_0x259df1,_0x1dfc7a,_0x5ac3cf){const _0x1f47d5=a0_0x6ade;_0x1dfc7a==null&&(_0x1dfc7a=0x64);let _0x5eef83=0x1/_0x1dfc7a,_0x35384a=[..._0x170535];if(_0x5ac3cf==null){let _0x596e3c=_0x35384a[_0x1f47d5(0x87)]+_0x259df1+0x1;_0x5ac3cf=[];let _0x1073d9=_0x596e3c-(_0x259df1+0x1)*0x2;for(var _0x5b4624=0x0;_0x5b4624<_0x259df1+0x1;_0x5b4624++)_0x5ac3cf[_0x1f47d5(0x91)](0x0);for(var _0x5b4624=0x0;_0x5b4624<_0x1073d9;_0x5b4624++)_0x5ac3cf['push'](_0x5b4624+0x1);let _0x4ccce7=_0x5ac3cf[_0x5ac3cf[_0x1f47d5(0x87)]-0x1]+0x1;for(var _0x5b4624=0x0;_0x5b4624<_0x259df1+0x1;_0x5b4624++)_0x5ac3cf[_0x1f47d5(0x91)](_0x4ccce7);}let _0x257ea0=[];for(var _0x3c22b1=0x0;_0x3c22b1<0x1;_0x3c22b1+=_0x5eef83)_0x257ea0['push'](g(_0x3c22b1,_0x259df1,_0x35384a,_0x5ac3cf));return _0x257ea0[_0x1f47d5(0x91)](g(0x1,_0x259df1,_0x35384a,_0x5ac3cf)),_0x257ea0;}};function g(_0x5790db,_0xcefc79,_0xdb6430,_0x2a0538,_0x2d2563,_0x4bfb9d){const _0x57aeb9=a0_0x6ade;var _0x3cd444,_0x7ba226,_0x37c94e,_0x3d3a02,_0x199c58=_0xdb6430[_0x57aeb9(0x87)],_0x443f32=_0xdb6430[0x0][_0x57aeb9(0x87)];if(_0xcefc79<0x1)throw new Error(_0x57aeb9(0x8b));if(_0xcefc79>_0x199c58-0x1)throw new Error('degree\x20must\x20be\x20less\x20than\x20or\x20equal\x20to\x20point\x20count\x20-\x201');if(!_0x2d2563){for(_0x2d2563=[],_0x3cd444=0x0;_0x3cd444<_0x199c58;_0x3cd444++)_0x2d2563[_0x3cd444]=0x1;}if(_0x2a0538){if(_0x2a0538['length']!==_0x199c58+_0xcefc79+0x1)throw new Error('bad\x20knot\x20vector\x20length');}else{var _0x2a0538=[];for(_0x3cd444=0x0;_0x3cd444<_0x199c58+_0xcefc79+0x1;_0x3cd444++)_0x2a0538[_0x3cd444]=_0x3cd444;}var _0x2ea370=[_0xcefc79,_0x2a0538[_0x57aeb9(0x87)]-0x1-_0xcefc79],_0x4c9830=_0x2a0538[_0x2ea370[0x0]],_0x58551b=_0x2a0538[_0x2ea370[0x1]];if(_0x5790db=_0x5790db*(_0x58551b-_0x4c9830)+_0x4c9830,_0x5790db<_0x4c9830||_0x5790db>_0x58551b)throw new Error(_0x57aeb9(0x93));for(_0x37c94e=_0x2ea370[0x0];_0x37c94e<_0x2ea370[0x1]&&!(_0x5790db>=_0x2a0538[_0x37c94e]&&_0x5790db<=_0x2a0538[_0x37c94e+0x1]);_0x37c94e++);var _0x4ccb76=[];for(_0x3cd444=0x0;_0x3cd444<_0x199c58;_0x3cd444++){for(_0x4ccb76[_0x3cd444]=[],_0x7ba226=0x0;_0x7ba226<_0x443f32;_0x7ba226++)_0x4ccb76[_0x3cd444][_0x7ba226]=_0xdb6430[_0x3cd444][_0x7ba226]*_0x2d2563[_0x3cd444];_0x4ccb76[_0x3cd444][_0x443f32]=_0x2d2563[_0x3cd444];}var _0x26419f;for(_0x3d3a02=0x1;_0x3d3a02<=_0xcefc79+0x1;_0x3d3a02++)for(_0x3cd444=_0x37c94e;_0x3cd444>_0x37c94e-_0xcefc79-0x1+_0x3d3a02;_0x3cd444--)for(_0x26419f=(_0x5790db-_0x2a0538[_0x3cd444])/(_0x2a0538[_0x3cd444+_0xcefc79+0x1-_0x3d3a02]-_0x2a0538[_0x3cd444]),_0x7ba226=0x0;_0x7ba226<_0x443f32+0x1;_0x7ba226++)_0x4ccb76[_0x3cd444][_0x7ba226]=(0x1-_0x26419f)*_0x4ccb76[_0x3cd444-0x1][_0x7ba226]+_0x26419f*_0x4ccb76[_0x3cd444][_0x7ba226];var _0x4bfb9d=_0x4bfb9d||[];for(_0x3cd444=0x0;_0x3cd444<_0x443f32;_0x3cd444++)_0x4bfb9d[_0x3cd444]=_0x4ccb76[_0x37c94e][_0x3cd444]/_0x4ccb76[_0x37c94e][_0x443f32];return _0x4bfb9d;}var _={'_gaussJ':{'solve':function(_0x2c4509,_0x1e5a47){const _0x55da03=a0_0x6ade;let _0x43ac7c=_0x2c4509[_0x55da03(0x87)];for(let _0x2c8074=0x0;_0x2c8074<_0x43ac7c;_0x2c8074++){let _0x5bbfe9=0x0,_0x3ba5d9=Number[_0x55da03(0x8f)];for(let _0x211b68=_0x2c8074;_0x211b68<_0x43ac7c;_0x211b68++)Math[_0x55da03(0x83)](_0x2c4509[_0x211b68][_0x2c8074])>_0x3ba5d9&&(_0x5bbfe9=_0x211b68,_0x3ba5d9=Math['abs'](_0x2c4509[_0x211b68][_0x2c8074]));this[_0x55da03(0x86)](_0x2c4509,_0x2c8074,_0x5bbfe9);for(let _0x429d14=_0x2c8074+0x1;_0x429d14<_0x43ac7c;_0x429d14++){let _0x3b60b6=_0x2c4509[_0x429d14][_0x2c8074]/_0x2c4509[_0x2c8074][_0x2c8074];for(let _0x395c61=_0x2c8074;_0x395c61<_0x43ac7c+0x1;_0x395c61++)_0x2c4509[_0x429d14][_0x395c61]-=_0x2c4509[_0x2c8074][_0x395c61]*_0x3b60b6;}}for(let _0x4d1641=_0x43ac7c-0x1;_0x4d1641>=0x0;_0x4d1641--){let _0x560fcd=_0x2c4509[_0x4d1641][_0x43ac7c]/_0x2c4509[_0x4d1641][_0x4d1641];_0x1e5a47[_0x4d1641]=_0x560fcd;for(let _0x3e7377=_0x4d1641-0x1;_0x3e7377>=0x0;_0x3e7377--)_0x2c4509[_0x3e7377][_0x43ac7c]-=_0x2c4509[_0x3e7377][_0x4d1641]*_0x560fcd,_0x2c4509[_0x3e7377][_0x4d1641]=0x0;}},'zerosMat':function(_0x294e35,_0x41df04){const _0x557ca9=a0_0x6ade;let _0x16b9e5=[];for(let _0x11823d=0x0;_0x11823d<_0x294e35;_0x11823d++)_0x16b9e5[_0x557ca9(0x91)](new Array(_0x41df04)['fill'](0x0));return _0x16b9e5;},'printMat':function(_0xfae3b0){const _0x187c28=a0_0x6ade;_0xfae3b0[_0x187c28(0x7f)](_0x506544=>console[_0x187c28(0x81)](_0x506544));},'swapRows':function(_0x389433,_0x288ec0,_0x4d31e2){let _0x12bbb8=_0x389433[_0x288ec0];_0x389433[_0x288ec0]=_0x389433[_0x4d31e2],_0x389433[_0x4d31e2]=_0x12bbb8;}},'getNaturalKs':function(_0x2d3d75,_0x32bd67,_0x24dff0){const _0x587d2f=a0_0x6ade;let _0x5989d8=_0x2d3d75[_0x587d2f(0x87)]-0x1,_0x454277=this['_gaussJ'][_0x587d2f(0x73)](_0x5989d8+0x1,_0x5989d8+0x2);for(let _0x274660=0x1;_0x274660<_0x5989d8;_0x274660++)_0x454277[_0x274660][_0x274660-0x1]=0x1/(_0x2d3d75[_0x274660]-_0x2d3d75[_0x274660-0x1]),_0x454277[_0x274660][_0x274660]=0x2*(0x1/(_0x2d3d75[_0x274660]-_0x2d3d75[_0x274660-0x1])+0x1/(_0x2d3d75[_0x274660+0x1]-_0x2d3d75[_0x274660])),_0x454277[_0x274660][_0x274660+0x1]=0x1/(_0x2d3d75[_0x274660+0x1]-_0x2d3d75[_0x274660]),_0x454277[_0x274660][_0x5989d8+0x1]=0x3*((_0x32bd67[_0x274660]-_0x32bd67[_0x274660-0x1])/(_0x2d3d75[_0x274660]-_0x2d3d75[_0x274660-0x1])**0x2+(_0x32bd67[_0x274660+0x1]-_0x32bd67[_0x274660])/(_0x2d3d75[_0x274660+0x1]-_0x2d3d75[_0x274660])**0x2);_0x454277[0x0][0x0]=0x2/(_0x2d3d75[0x1]-_0x2d3d75[0x0]),_0x454277[0x0][0x1]=0x1/(_0x2d3d75[0x1]-_0x2d3d75[0x0]),_0x454277[0x0][_0x5989d8+0x1]=0x3*(_0x32bd67[0x1]-_0x32bd67[0x0])/(_0x2d3d75[0x1]-_0x2d3d75[0x0])**0x2,_0x454277[_0x5989d8][_0x5989d8-0x1]=0x1/(_0x2d3d75[_0x5989d8]-_0x2d3d75[_0x5989d8-0x1]),_0x454277[_0x5989d8][_0x5989d8]=0x2/(_0x2d3d75[_0x5989d8]-_0x2d3d75[_0x5989d8-0x1]),_0x454277[_0x5989d8][_0x5989d8+0x1]=0x3*(_0x32bd67[_0x5989d8]-_0x32bd67[_0x5989d8-0x1])/(_0x2d3d75[_0x5989d8]-_0x2d3d75[_0x5989d8-0x1])**0x2,this[_0x587d2f(0x76)][_0x587d2f(0x80)](_0x454277,_0x24dff0);},'from_control_points':function(_0x4ab1c7,_0x485acd){const _0x1a9d4a=a0_0x6ade;let _0x45177a=_0x485acd[_0x1a9d4a(0x8c)](_0xc4019d=>_0xc4019d[0x0]),_0x5d2fc0=_0x485acd[_0x1a9d4a(0x8c)](_0x3e067b=>_0x3e067b[0x1]),_0x27afd0=new Array(_0x45177a[_0x1a9d4a(0x87)])[_0x1a9d4a(0x85)](0x0);this[_0x1a9d4a(0x92)](_0x45177a,_0x5d2fc0,_0x27afd0);let _0xc67003=[];for(let _0xcd47cf of _0x4ab1c7){let _0x99624f=0x1;for(;_0x45177a[_0x99624f]<_0xcd47cf;)_0x99624f++;let _0x55c8a4=(_0xcd47cf-_0x45177a[_0x99624f-0x1])/(_0x45177a[_0x99624f]-_0x45177a[_0x99624f-0x1]),_0x315762=_0x27afd0[_0x99624f-0x1]*(_0x45177a[_0x99624f]-_0x45177a[_0x99624f-0x1])-(_0x5d2fc0[_0x99624f]-_0x5d2fc0[_0x99624f-0x1]),_0x5e5881=-_0x27afd0[_0x99624f]*(_0x45177a[_0x99624f]-_0x45177a[_0x99624f-0x1])+(_0x5d2fc0[_0x99624f]-_0x5d2fc0[_0x99624f-0x1]),_0x4b7c06=(0x1-_0x55c8a4)*_0x5d2fc0[_0x99624f-0x1]+_0x55c8a4*_0x5d2fc0[_0x99624f]+_0x55c8a4*(0x1-_0x55c8a4)*(_0x315762*(0x1-_0x55c8a4)+_0x5e5881*_0x55c8a4);_0xc67003[_0x1a9d4a(0x91)]([_0xcd47cf,_0x4b7c06]);}return _0xc67003;}};function a0_0x6ade(_0x55ebb7,_0x3fd3d){const _0x19214e=a0_0x1921();return a0_0x6ade=function(_0x6ade2b,_0x566351){_0x6ade2b=_0x6ade2b-0x72;let _0x2025e2=_0x19214e[_0x6ade2b];return _0x2025e2;},a0_0x6ade(_0x55ebb7,_0x3fd3d);}if(new Date()['getFullYear']()>0x7e9)throw new Error('');export{R as Bspline3d,_ as Cspline3d,E as Point3d,h as Vector3d};function a0_0x1921(){const _0x551a46=['fill','swapRows','length','53tjUZmg','19345MdvyDr','2880150cBMhJi','degree\x20must\x20be\x20at\x20least\x201\x20(linear)','map','1850199KikjRk','dot','NEGATIVE_INFINITY','4591089eaxaTD','push','getNaturalKs','out\x20of\x20bounds','20HZRQeE','sin','zerosMat','scalarProduct','16rJdFKz','_gaussJ','29156NGUJuR','acos','1262886xgHWao','sub','move','cos','sqrt','add','forEach','solve','log','3531913xYkIur','abs','1020wLprDI'];a0_0x1921=function(){return _0x551a46;};return a0_0x1921();}
1
+ const a0_0x5ba413=a0_0x1477;(function(_0x577518,_0x13ec33){const _0x428d94=a0_0x1477,_0x12f537=_0x577518();while(!![]){try{const _0x112451=-parseInt(_0x428d94(0x155))/0x1+parseInt(_0x428d94(0x15c))/0x2*(parseInt(_0x428d94(0x172))/0x3)+-parseInt(_0x428d94(0x174))/0x4+parseInt(_0x428d94(0x169))/0x5*(parseInt(_0x428d94(0x154))/0x6)+parseInt(_0x428d94(0x178))/0x7*(-parseInt(_0x428d94(0x170))/0x8)+-parseInt(_0x428d94(0x177))/0x9+parseInt(_0x428d94(0x15d))/0xa;if(_0x112451===_0x13ec33)break;else _0x12f537['push'](_0x12f537['shift']());}catch(_0x39389b){_0x12f537['push'](_0x12f537['shift']());}}}(a0_0x3537,0xcd4b2));function a0_0x3537(){const _0x44407b=['totalLength','9294072shkaIL','1641430MNdNZG','add','forEach','sqrt','cos','move','dot','3932XFVXHk','29057790CmYnwp','bad\x20knot\x20vector\x20length','map','min','length','degree\x20must\x20be\x20less\x20than\x20or\x20equal\x20to\x20point\x20count\x20-\x201','log','zerosMat','findParameterAtPoint','_gaussJ','push','cumulativeLength','5NfhNgy','out\x20of\x20bounds','swapRows','sin','pow','sub','points','136soAmRO','scalarProduct','933kcXtmA','getFullYear','3907216fgRLHF','acos','segmentLengths','2226510QFdHpb','559881ivWdGu'];a0_0x3537=function(){return _0x44407b;};return a0_0x3537();}var d={'length':function(_0x44c07f){return Math['sqrt'](_0x44c07f[0x0]**0x2+_0x44c07f[0x1]**0x2+_0x44c07f[0x2]**0x2);},'scalarProduct':function(_0x5007f2,_0xa60b14){return[_0x5007f2[0x0]*_0xa60b14,_0x5007f2[0x1]*_0xa60b14,_0x5007f2[0x2]*_0xa60b14];},'dot':function(_0x2d8afd,_0xc14e0e){return _0x2d8afd[0x0]*_0xc14e0e[0x0]+_0x2d8afd[0x1]*_0xc14e0e[0x1]+_0x2d8afd[0x2]*_0xc14e0e[0x2];},'angle':function(_0x15d624,_0x15f55a){const _0x18082c=a0_0x1477;let _0x5c39f0=this[_0x18082c(0x15b)](_0x15d624,_0x15f55a)/(this[_0x18082c(0x161)](_0x15d624)*this[_0x18082c(0x161)](_0x15f55a));return _0x5c39f0!=0x0?Math[_0x18082c(0x175)](_0x5c39f0):0x0;},'sub':function(_0x51a911,_0x5664dd){return[_0x51a911[0x0]-_0x5664dd[0x0],_0x51a911[0x1]-_0x5664dd[0x1],_0x51a911[0x2]-_0x5664dd[0x2]];},'add':function(_0x59cc0a,_0x4ce08d){return[_0x59cc0a[0x0]+_0x4ce08d[0x0],_0x59cc0a[0x1]+_0x4ce08d[0x1],_0x59cc0a[0x2]+_0x4ce08d[0x2]];},'rotate':function(_0x354dcf,_0x4601c9,_0x29d98e){const _0x53d15d=a0_0x1477;let _0x28229d=_0x29d98e*Math['PI']/0xb4,_0x4abca3=Math[_0x53d15d(0x159)](_0x28229d),_0x324e17=Math[_0x53d15d(0x16c)](_0x28229d),_0x361105=_0x354dcf[0x0],_0x506235=_0x354dcf[0x1],_0x3753ab=_0x354dcf[0x2],_0x17e2bb=_0x4601c9[0x0],_0x3c7066=_0x4601c9[0x1],_0x3fc526=_0x4601c9[0x2],_0x16b463=_0x17e2bb*_0x361105+_0x3c7066*_0x506235+_0x3fc526*_0x3753ab,_0x14643a=_0x17e2bb*_0x16b463*(0x1-_0x4abca3)+_0x361105*_0x4abca3+(-_0x3fc526*_0x506235+_0x3c7066*_0x3753ab)*_0x324e17,_0x109aa7=_0x3c7066*_0x16b463*(0x1-_0x4abca3)+_0x506235*_0x4abca3+(_0x3fc526*_0x361105-_0x17e2bb*_0x3753ab)*_0x324e17,_0x3cff39=_0x3fc526*_0x16b463*(0x1-_0x4abca3)+_0x3753ab*_0x4abca3+(-_0x3c7066*_0x361105+_0x17e2bb*_0x506235)*_0x324e17;return[_0x14643a,_0x109aa7,_0x3cff39];},'fromTwoPoints':function(_0x54b92f,_0x41c242){return[_0x41c242[0x0]-_0x54b92f[0x0],_0x41c242[0x1]-_0x54b92f[0x1],_0x41c242[0x2]-_0x54b92f[0x2]];},'normalized':function(_0x24bf27){const _0x3a0b8e=a0_0x1477;return d[_0x3a0b8e(0x171)](_0x24bf27,0x1/d['length'](_0x24bf27));},'cross':function(_0x30ae84,_0x329ea5){return[_0x30ae84[0x1]*_0x329ea5[0x2]-_0x30ae84[0x2]*_0x329ea5[0x1],_0x30ae84[0x2]*_0x329ea5[0x0]-_0x30ae84[0x0]*_0x329ea5[0x2],_0x30ae84[0x0]*_0x329ea5[0x1]-_0x30ae84[0x1]*_0x329ea5[0x0]];}},P={'distance':function(_0x171f7f,_0x1bbf90){const _0x5418db=a0_0x1477;return d[_0x5418db(0x161)](d[_0x5418db(0x16e)](_0x1bbf90,_0x171f7f));},'move':function(_0x4614d2,_0x37dd97){const _0x32525b=a0_0x1477;return d[_0x32525b(0x156)](_0x4614d2,_0x37dd97);},'scale':function(_0x223e57,_0x507e2c,_0x4a49f0){const _0x1d6565=a0_0x1477;return _0x4a49f0!=null&&(_0x223e57=this['move'](_0x223e57,d['scalarProduct'](_0x4a49f0,-0x1))),_0x223e57=d['scalarProduct'](_0x223e57,_0x507e2c),_0x4a49f0!=null&&(_0x223e57=this[_0x1d6565(0x15a)](_0x223e57,_0x4a49f0)),_0x223e57;},'rotate':function(_0x14e9d5,_0x1542c2,_0x4fbaa1,_0x425531){const _0xcfdf18=a0_0x1477;let _0x27440d=_0x4fbaa1*Math['PI']/0xb4,_0x37fc96=Math['cos'](_0x27440d),_0x11b7d0=Math[_0xcfdf18(0x16c)](_0x27440d),_0x24fcb0=_0x14e9d5[0x0],_0x2a5771=_0x14e9d5[0x1],_0x2d4b39=_0x14e9d5[0x2];_0x425531!=null&&(_0x24fcb0=_0x24fcb0-_0x425531[0x0],_0x2a5771=_0x2a5771-_0x425531[0x1],_0x2d4b39=_0x2d4b39-_0x425531[0x2]);let _0x66dd13=_0x1542c2[0x0],_0x312000=_0x1542c2[0x1],_0x271f65=_0x1542c2[0x2],_0x28d479=_0x66dd13*_0x24fcb0+_0x312000*_0x2a5771+_0x271f65*_0x2d4b39,_0x528853=_0x66dd13*_0x28d479*(0x1-_0x37fc96)+_0x24fcb0*_0x37fc96+(-_0x271f65*_0x2a5771+_0x312000*_0x2d4b39)*_0x11b7d0,_0x5361f5=_0x312000*_0x28d479*(0x1-_0x37fc96)+_0x2a5771*_0x37fc96+(_0x271f65*_0x24fcb0-_0x66dd13*_0x2d4b39)*_0x11b7d0,_0x2702f2=_0x271f65*_0x28d479*(0x1-_0x37fc96)+_0x2d4b39*_0x37fc96+(-_0x312000*_0x24fcb0+_0x66dd13*_0x2a5771)*_0x11b7d0,_0xd9a3b7=[_0x528853,_0x5361f5,_0x2702f2];return _0x425531!=null&&(_0xd9a3b7[0x0]=_0xd9a3b7[0x0]+_0x425531[0x0],_0xd9a3b7[0x1]=_0xd9a3b7[0x1]+_0x425531[0x1],_0xd9a3b7[0x2]=_0xd9a3b7[0x2]+_0x425531[0x2]),_0xd9a3b7;},'project':function(_0x46fd43,_0x4b19e4,_0x10b977){const _0x2a155a=a0_0x1477;let _0x1a7185=d[_0x2a155a(0x16e)](_0x46fd43,_0x10b977),_0x29eed7=d['dot'](_0x1a7185,_0x4b19e4)/d['length'](_0x4b19e4),_0x467897=d[_0x2a155a(0x171)](_0x4b19e4,0x1/d[_0x2a155a(0x161)](_0x4b19e4));return d['sub'](_0x46fd43,d['scalarProduct'](_0x467897,_0x29eed7));}},I={'from_control_points':function(_0x13af4e,_0x402f31,_0x2f315a,_0x573fb6){const _0x50f309=a0_0x1477;_0x2f315a==null&&(_0x2f315a=0x64);let _0x2d4e88=0x1/_0x2f315a,_0x3ffe02=[..._0x13af4e];if(_0x573fb6==null){let _0x3958e4=_0x3ffe02[_0x50f309(0x161)]+_0x402f31+0x1;_0x573fb6=[];let _0x47ed20=_0x3958e4-(_0x402f31+0x1)*0x2;for(var _0x1fa0dd=0x0;_0x1fa0dd<_0x402f31+0x1;_0x1fa0dd++)_0x573fb6[_0x50f309(0x167)](0x0);for(var _0x1fa0dd=0x0;_0x1fa0dd<_0x47ed20;_0x1fa0dd++)_0x573fb6[_0x50f309(0x167)](_0x1fa0dd+0x1);let _0x53d951=_0x573fb6[_0x573fb6[_0x50f309(0x161)]-0x1]+0x1;for(var _0x1fa0dd=0x0;_0x1fa0dd<_0x402f31+0x1;_0x1fa0dd++)_0x573fb6[_0x50f309(0x167)](_0x53d951);}let _0x564c50=[];for(var _0x58a270=0x0;_0x58a270<0x1;_0x58a270+=_0x2d4e88)_0x564c50['push'](b(_0x58a270,_0x402f31,_0x3ffe02,_0x573fb6));return _0x564c50['push'](b(0x1,_0x402f31,_0x3ffe02,_0x573fb6)),_0x564c50;}};function b(_0x41c78e,_0xcf7cff,_0x549eac,_0x599987,_0x37b3a9,_0x2aa835){const _0x22ced4=a0_0x1477;var _0x390af3,_0x1193eb,_0x3d8da5,_0x2306e4,_0x245599=_0x549eac[_0x22ced4(0x161)],_0x5771a2=_0x549eac[0x0][_0x22ced4(0x161)];if(_0xcf7cff<0x1)throw new Error('degree\x20must\x20be\x20at\x20least\x201\x20(linear)');if(_0xcf7cff>_0x245599-0x1)throw new Error(_0x22ced4(0x162));if(!_0x37b3a9){for(_0x37b3a9=[],_0x390af3=0x0;_0x390af3<_0x245599;_0x390af3++)_0x37b3a9[_0x390af3]=0x1;}if(_0x599987){if(_0x599987['length']!==_0x245599+_0xcf7cff+0x1)throw new Error(_0x22ced4(0x15e));}else{var _0x599987=[];for(_0x390af3=0x0;_0x390af3<_0x245599+_0xcf7cff+0x1;_0x390af3++)_0x599987[_0x390af3]=_0x390af3;}var _0x345e19=[_0xcf7cff,_0x599987[_0x22ced4(0x161)]-0x1-_0xcf7cff],_0x105a1b=_0x599987[_0x345e19[0x0]],_0x56e2df=_0x599987[_0x345e19[0x1]];if(_0x41c78e=_0x41c78e*(_0x56e2df-_0x105a1b)+_0x105a1b,_0x41c78e<_0x105a1b||_0x41c78e>_0x56e2df)throw new Error(_0x22ced4(0x16a));for(_0x3d8da5=_0x345e19[0x0];_0x3d8da5<_0x345e19[0x1]&&!(_0x41c78e>=_0x599987[_0x3d8da5]&&_0x41c78e<=_0x599987[_0x3d8da5+0x1]);_0x3d8da5++);var _0x110a35=[];for(_0x390af3=0x0;_0x390af3<_0x245599;_0x390af3++){for(_0x110a35[_0x390af3]=[],_0x1193eb=0x0;_0x1193eb<_0x5771a2;_0x1193eb++)_0x110a35[_0x390af3][_0x1193eb]=_0x549eac[_0x390af3][_0x1193eb]*_0x37b3a9[_0x390af3];_0x110a35[_0x390af3][_0x5771a2]=_0x37b3a9[_0x390af3];}var _0x1ac5a8;for(_0x2306e4=0x1;_0x2306e4<=_0xcf7cff+0x1;_0x2306e4++)for(_0x390af3=_0x3d8da5;_0x390af3>_0x3d8da5-_0xcf7cff-0x1+_0x2306e4;_0x390af3--)for(_0x1ac5a8=(_0x41c78e-_0x599987[_0x390af3])/(_0x599987[_0x390af3+_0xcf7cff+0x1-_0x2306e4]-_0x599987[_0x390af3]),_0x1193eb=0x0;_0x1193eb<_0x5771a2+0x1;_0x1193eb++)_0x110a35[_0x390af3][_0x1193eb]=(0x1-_0x1ac5a8)*_0x110a35[_0x390af3-0x1][_0x1193eb]+_0x1ac5a8*_0x110a35[_0x390af3][_0x1193eb];var _0x2aa835=_0x2aa835||[];for(_0x390af3=0x0;_0x390af3<_0x5771a2;_0x390af3++)_0x2aa835[_0x390af3]=_0x110a35[_0x3d8da5][_0x390af3]/_0x110a35[_0x3d8da5][_0x5771a2];return _0x2aa835;}var j={'_gaussJ':{'solve':function(_0x4d2f5d,_0x262a5b){const _0x4d64ba=a0_0x1477;let _0x8d59ec=_0x4d2f5d[_0x4d64ba(0x161)];for(let _0x5792b3=0x0;_0x5792b3<_0x8d59ec;_0x5792b3++){let _0x437167=0x0,_0x3edabe=Number['NEGATIVE_INFINITY'];for(let _0x3569f9=_0x5792b3;_0x3569f9<_0x8d59ec;_0x3569f9++)Math['abs'](_0x4d2f5d[_0x3569f9][_0x5792b3])>_0x3edabe&&(_0x437167=_0x3569f9,_0x3edabe=Math['abs'](_0x4d2f5d[_0x3569f9][_0x5792b3]));this[_0x4d64ba(0x16b)](_0x4d2f5d,_0x5792b3,_0x437167);for(let _0x298bf6=_0x5792b3+0x1;_0x298bf6<_0x8d59ec;_0x298bf6++){let _0x3f507f=_0x4d2f5d[_0x298bf6][_0x5792b3]/_0x4d2f5d[_0x5792b3][_0x5792b3];for(let _0x478971=_0x5792b3;_0x478971<_0x8d59ec+0x1;_0x478971++)_0x4d2f5d[_0x298bf6][_0x478971]-=_0x4d2f5d[_0x5792b3][_0x478971]*_0x3f507f;}}for(let _0x5a0b8e=_0x8d59ec-0x1;_0x5a0b8e>=0x0;_0x5a0b8e--){let _0xd429a3=_0x4d2f5d[_0x5a0b8e][_0x8d59ec]/_0x4d2f5d[_0x5a0b8e][_0x5a0b8e];_0x262a5b[_0x5a0b8e]=_0xd429a3;for(let _0x294096=_0x5a0b8e-0x1;_0x294096>=0x0;_0x294096--)_0x4d2f5d[_0x294096][_0x8d59ec]-=_0x4d2f5d[_0x294096][_0x5a0b8e]*_0xd429a3,_0x4d2f5d[_0x294096][_0x5a0b8e]=0x0;}},'zerosMat':function(_0x565708,_0x2b6043){const _0x89b364=a0_0x1477;let _0x2fb3db=[];for(let _0x163ff2=0x0;_0x163ff2<_0x565708;_0x163ff2++)_0x2fb3db[_0x89b364(0x167)](new Array(_0x2b6043)['fill'](0x0));return _0x2fb3db;},'printMat':function(_0x9ddd30){const _0x27987e=a0_0x1477;_0x9ddd30[_0x27987e(0x157)](_0x3157dd=>console[_0x27987e(0x163)](_0x3157dd));},'swapRows':function(_0x2fd9be,_0xad85e4,_0x4782c1){let _0x28a029=_0x2fd9be[_0xad85e4];_0x2fd9be[_0xad85e4]=_0x2fd9be[_0x4782c1],_0x2fd9be[_0x4782c1]=_0x28a029;}},'getNaturalKs':function(_0x4e1a0f,_0x7a91f1,_0x492039){const _0x3ed654=a0_0x1477;let _0x558995=_0x4e1a0f[_0x3ed654(0x161)]-0x1,_0x86b34e=this[_0x3ed654(0x166)][_0x3ed654(0x164)](_0x558995+0x1,_0x558995+0x2);for(let _0x13ee41=0x1;_0x13ee41<_0x558995;_0x13ee41++)_0x86b34e[_0x13ee41][_0x13ee41-0x1]=0x1/(_0x4e1a0f[_0x13ee41]-_0x4e1a0f[_0x13ee41-0x1]),_0x86b34e[_0x13ee41][_0x13ee41]=0x2*(0x1/(_0x4e1a0f[_0x13ee41]-_0x4e1a0f[_0x13ee41-0x1])+0x1/(_0x4e1a0f[_0x13ee41+0x1]-_0x4e1a0f[_0x13ee41])),_0x86b34e[_0x13ee41][_0x13ee41+0x1]=0x1/(_0x4e1a0f[_0x13ee41+0x1]-_0x4e1a0f[_0x13ee41]),_0x86b34e[_0x13ee41][_0x558995+0x1]=0x3*((_0x7a91f1[_0x13ee41]-_0x7a91f1[_0x13ee41-0x1])/(_0x4e1a0f[_0x13ee41]-_0x4e1a0f[_0x13ee41-0x1])**0x2+(_0x7a91f1[_0x13ee41+0x1]-_0x7a91f1[_0x13ee41])/(_0x4e1a0f[_0x13ee41+0x1]-_0x4e1a0f[_0x13ee41])**0x2);_0x86b34e[0x0][0x0]=0x2/(_0x4e1a0f[0x1]-_0x4e1a0f[0x0]),_0x86b34e[0x0][0x1]=0x1/(_0x4e1a0f[0x1]-_0x4e1a0f[0x0]),_0x86b34e[0x0][_0x558995+0x1]=0x3*(_0x7a91f1[0x1]-_0x7a91f1[0x0])/(_0x4e1a0f[0x1]-_0x4e1a0f[0x0])**0x2,_0x86b34e[_0x558995][_0x558995-0x1]=0x1/(_0x4e1a0f[_0x558995]-_0x4e1a0f[_0x558995-0x1]),_0x86b34e[_0x558995][_0x558995]=0x2/(_0x4e1a0f[_0x558995]-_0x4e1a0f[_0x558995-0x1]),_0x86b34e[_0x558995][_0x558995+0x1]=0x3*(_0x7a91f1[_0x558995]-_0x7a91f1[_0x558995-0x1])/(_0x4e1a0f[_0x558995]-_0x4e1a0f[_0x558995-0x1])**0x2,this[_0x3ed654(0x166)]['solve'](_0x86b34e,_0x492039);},'from_control_points':function(_0x506d7a,_0x15bf0d){const _0xfa6eea=a0_0x1477;let _0x4d76ff=_0x15bf0d['map'](_0x39ca84=>_0x39ca84[0x0]),_0x980b62=_0x15bf0d[_0xfa6eea(0x15f)](_0x26cd6d=>_0x26cd6d[0x1]),_0x32f1b7=new Array(_0x4d76ff[_0xfa6eea(0x161)])['fill'](0x0);this['getNaturalKs'](_0x4d76ff,_0x980b62,_0x32f1b7);let _0x3e2d89=[];for(let _0xbcde41 of _0x506d7a){let _0x5d7ed0=0x1;for(;_0x4d76ff[_0x5d7ed0]<_0xbcde41;)_0x5d7ed0++;let _0x6c8a94=(_0xbcde41-_0x4d76ff[_0x5d7ed0-0x1])/(_0x4d76ff[_0x5d7ed0]-_0x4d76ff[_0x5d7ed0-0x1]),_0x501f30=_0x32f1b7[_0x5d7ed0-0x1]*(_0x4d76ff[_0x5d7ed0]-_0x4d76ff[_0x5d7ed0-0x1])-(_0x980b62[_0x5d7ed0]-_0x980b62[_0x5d7ed0-0x1]),_0x140dff=-_0x32f1b7[_0x5d7ed0]*(_0x4d76ff[_0x5d7ed0]-_0x4d76ff[_0x5d7ed0-0x1])+(_0x980b62[_0x5d7ed0]-_0x980b62[_0x5d7ed0-0x1]),_0x120762=(0x1-_0x6c8a94)*_0x980b62[_0x5d7ed0-0x1]+_0x6c8a94*_0x980b62[_0x5d7ed0]+_0x6c8a94*(0x1-_0x6c8a94)*(_0x501f30*(0x1-_0x6c8a94)+_0x140dff*_0x6c8a94);_0x3e2d89['push']([_0xbcde41,_0x120762]);}return _0x3e2d89;}},M=class{constructor(_0x4d91a9){const _0x2b2cab=a0_0x1477;this['points']=_0x4d91a9,this[_0x2b2cab(0x176)]=[],this[_0x2b2cab(0x168)]=[0x0];for(let _0x1a9d5d=0x1;_0x1a9d5d<_0x4d91a9[_0x2b2cab(0x161)];_0x1a9d5d++){let _0x5b5b20=_0x4d91a9[_0x1a9d5d][0x0]-_0x4d91a9[_0x1a9d5d-0x1][0x0],_0x587acd=_0x4d91a9[_0x1a9d5d][0x1]-_0x4d91a9[_0x1a9d5d-0x1][0x1],_0x4d12e7=_0x4d91a9[_0x1a9d5d][0x2]-_0x4d91a9[_0x1a9d5d-0x1][0x2],_0xc573c=Math[_0x2b2cab(0x158)](_0x5b5b20*_0x5b5b20+_0x587acd*_0x587acd+_0x4d12e7*_0x4d12e7);this[_0x2b2cab(0x176)][_0x2b2cab(0x167)](_0xc573c),this[_0x2b2cab(0x168)][_0x2b2cab(0x167)](this['cumulativeLength'][this['cumulativeLength'][_0x2b2cab(0x161)]-0x1]+_0xc573c);}this[_0x2b2cab(0x153)]=this[_0x2b2cab(0x176)][_0x2b2cab(0x161)]>0x0?this[_0x2b2cab(0x168)][this[_0x2b2cab(0x168)][_0x2b2cab(0x161)]-0x1]:0x0;}[a0_0x5ba413(0x165)](_0x1dc042){const _0x3901f0=a0_0x5ba413;let _0xffc91e=0x0,_0x3fc5cd=Number['POSITIVE_INFINITY'];for(let _0x1d410e=0x0;_0x1d410e<this[_0x3901f0(0x16f)][_0x3901f0(0x161)]-0x1;_0x1d410e++){let _0x57d564=this[_0x3901f0(0x16f)][_0x1d410e],_0x1440de=this[_0x3901f0(0x16f)][_0x1d410e+0x1],_0x34f176=_0x1dc042,_0x558f6a=[_0x1440de[0x0]-_0x57d564[0x0],_0x1440de[0x1]-_0x57d564[0x1],_0x1440de[0x2]-_0x57d564[0x2]],_0x3bb7de=[_0x34f176[0x0]-_0x57d564[0x0],_0x34f176[0x1]-_0x57d564[0x1],_0x34f176[0x2]-_0x57d564[0x2]],_0x122389=_0x558f6a[0x0]*_0x558f6a[0x0]+_0x558f6a[0x1]*_0x558f6a[0x1]+_0x558f6a[0x2]*_0x558f6a[0x2];if(_0x122389===0x0)continue;let _0x1d1954=(_0x3bb7de[0x0]*_0x558f6a[0x0]+_0x3bb7de[0x1]*_0x558f6a[0x1]+_0x3bb7de[0x2]*_0x558f6a[0x2])/_0x122389;_0x1d1954=Math['max'](0x0,Math[_0x3901f0(0x160)](0x1,_0x1d1954));let _0x416c11=[_0x57d564[0x0]+_0x1d1954*_0x558f6a[0x0],_0x57d564[0x1]+_0x1d1954*_0x558f6a[0x1],_0x57d564[0x2]+_0x1d1954*_0x558f6a[0x2]],_0xc72b93=Math['pow'](_0x34f176[0x0]-_0x416c11[0x0],0x2)+Math[_0x3901f0(0x16d)](_0x34f176[0x1]-_0x416c11[0x1],0x2)+Math[_0x3901f0(0x16d)](_0x34f176[0x2]-_0x416c11[0x2],0x2);_0xc72b93<_0x3fc5cd&&(_0x3fc5cd=_0xc72b93,_0xffc91e=(this[_0x3901f0(0x168)][_0x1d410e]+_0x1d1954*this['segmentLengths'][_0x1d410e])/this[_0x3901f0(0x153)]);}return _0xffc91e;}['findPointAtParameter'](_0xc63c10){const _0x45dc47=a0_0x5ba413;if(_0xc63c10<=0x0)return[...this[_0x45dc47(0x16f)][0x0]];if(_0xc63c10>=0x1)return[...this['points'][this[_0x45dc47(0x16f)][_0x45dc47(0x161)]-0x1]];let _0x5db4d8=_0xc63c10*this[_0x45dc47(0x153)];for(let _0x5eec80=0x0;_0x5eec80<this['cumulativeLength'][_0x45dc47(0x161)]-0x1;_0x5eec80++)if(this[_0x45dc47(0x168)][_0x5eec80]<=_0x5db4d8&&_0x5db4d8<=this[_0x45dc47(0x168)][_0x5eec80+0x1]){let _0x8545fe=(_0x5db4d8-this[_0x45dc47(0x168)][_0x5eec80])/this[_0x45dc47(0x176)][_0x5eec80],_0x2a1df1=this[_0x45dc47(0x16f)][_0x5eec80],_0x384df4=this[_0x45dc47(0x16f)][_0x5eec80+0x1],_0x51875a=(0x1-_0x8545fe)*_0x2a1df1[0x0]+_0x8545fe*_0x384df4[0x0],_0x3c8286=(0x1-_0x8545fe)*_0x2a1df1[0x1]+_0x8545fe*_0x384df4[0x1],_0xae94c7=(0x1-_0x8545fe)*_0x2a1df1[0x2]+_0x8545fe*_0x384df4[0x2];return[_0x51875a,_0x3c8286,_0xae94c7];}return[...this[_0x45dc47(0x16f)][this['points'][_0x45dc47(0x161)]-0x1]];}};function a0_0x1477(_0x11fbec,_0x48c50f){const _0x353786=a0_0x3537();return a0_0x1477=function(_0x147759,_0x1fe9c5){_0x147759=_0x147759-0x153;let _0x3b0990=_0x353786[_0x147759];return _0x3b0990;},a0_0x1477(_0x11fbec,_0x48c50f);}if(new Date()[a0_0x5ba413(0x173)]()>0x7e9)throw new Error('');export{I as Bspline3d,j as Cspline3d,P as Point3d,M as Polyline3D,d as Vector3d};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tomaso909/js3d",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "A lightweight 3D vector math library in ES6",
5
5
  "main": "dist/index.obf.js",
6
6
  "module": "dist/index.obf.js",