wtracker.js 80 KB

1
  1. function a0_0x36f1(){var _0xf9df0=['csRIU','dot','gamma','KSghe','line','cameraPaused','lasti','start','jwUNK','add','latitude','MAX_DETECT_RADIUS_1','isLandscapeRight','cos','userAgent','granted','oXcQa','message','Error\x20getting\x20GPS\x20position:\x20not\x20started','IcrSu','delete','src','top','statePost','max','webkitCompassAccuracy','mul','6DOF','xlXuV','startTime','warn','alpha','WluUU','clearWatch','iPhone','resetOrigin','getGPSPosition','getCurrentPosition','fYWVR','createElement','mSyqG','KtDNp','1041747dRrrGS','DEPTHMODE','12152007OhgUaM','quPdD','KCYWh','setValues','iPod','indexOf','rotation','display','USE_COMPASS','can\x27t\x20achieve\x20target\x20framerate','asin','isPortrait','VtuOK','xhwLv','calculateCompassHeading','opencv.js','forEach','update','zwZsc','confidence','UpdateCameraTransform_6DOF','ksemW','ALslC','unsubscribeToGPSPositionChanges','Mat','weightedMean','videoBackground','2404920iiPpqX','auto','push','isLandscapeLeft','placeOrigin','requestPermission','tSGOU','increase[','IDLE','size','Fkqcz','matFromArray','HdheH','ARM_LENGTH','DMbKa','reset6DOF','gpsWatchId','SSX','innerHeight','mul_dont_normalize','ZdCWR','findHomography','rJGju','INTER_AREA','OnGPSPosition','splice','bWEWH','TermCriteria_EPS','8FKENps','COLOR_RGBA2GRAY','watchPosition','sin','CANVAS_HEIGHT','getInv','getRotMat','stdev','DeviceOrientationEvent','iPod\x20Simulator','53255RkKgyR','zkCjd','keys','yyCEp','GPSStarted','calculateCompassHeadingFromRotMat','BEOsq','resizeWithDelay','GaJeX','quaternion','AmTdZ','onerror','AmGGL','toString','stable:','CRGii','ddx','lastMotionUpdateTime','isStarted','sFZBk','50227aWvPNo','464FDDHbP','beta','ZxytU','constructor','setCamDims','predict','goodFeaturesToTrack','startGPS','ohLvU','LherZ','Kctyl','yBzhY','absolute','left','Error\x20getting\x20GPS\x20position:\x20','XOroT','MeJER','rZNYk','MAX_ERRORS','orientation','floor','remove','MAX_PIXELS','SetCameraFov','TRACKER_NAME','Geolocation\x20is\x20not\x20available\x20in\x20this\x20browser.','CV_32FC2','errorCovPre','yMmkY','script','geolocation','ZgAAK','videoCapture','startTracker','iPad','subscribeToWebcamUpdates','SDloD','wTracker','CAM_DIST_MAT','TermCriteria_COUNT','height','fAPjq','MODE','3DOF_ORBIT','100%','none','split','webkitCompassHeading','includes','0.0.0','atan','lastw','style','UUpYt','lastk','reject','average','cvtColor','reduce','lGDTU','IxfEd','3DOF','target','unfNu','LHcsS','getForwardVector','CV_64F','YtMGG','gqfkd','uQznA','unityInstance','IyNFa','devicemotion','state','wAELs','lNCkT','min','getBoundingClientRect','subscribe\x20acceleration','device\x20does\x20not\x20support\x20gyroscope\x20and\x20accelerometer','body','YALtn','absoluteMatrix','canvas','getElementById','(((.+)+)+)+$','KalmanFilter','coords','apply','rOjyi','CV_32F','iPhone\x20Simulator','OpdKy','unityCanvas','getUpVector','START_ORIENTATION','angles','IKrsH','ccTiP','RANSAC','hyduz','42TGRRMl','quaternionToHeading','START_ALPHA','hasPrediction','mORqO','copyTo','processNoiseCov','random','resizeCanvas','Point','uiJWs','WaUov','search','meas','OnGPSPositionError','Z_MGC','log','pnMRL','setFromAngles','HftNe','deviceorientation','FRAMERATE','transform','indices','speed','4548738uPgauN','lrrvf','loadOpenCV','platform','SSY','width','CAM_START_HEIGHT','true','gQfkx','scale','Scalar','setTrackerSettings','startAngles','appendChild','WorldTracker','SendMessage','toFixed','compassHeading','length','initialize','heading','GULzU','LAST_Z','jxuaM','data32F','21590460xasflF','Unity\x20build\x20is\x20using\x20a\x20different\x20plugin\x20version\x20and\x20may\x20not\x20function\x20properly\x20-\x20Please\x20rebuild\x20your\x20unity\x20project','LkWPI','position','CANVAS_WIDTH','correct','TCYii','JKUrL','xYGfe','START_Z','debugIds','cumAlpha','aGWmN','ddy','lastj','mul_constant','UpdateCameraTransform_3DOF','nwYnc','parentElement','lastUpdateTime','CAM_MAT','kgNVs','Vfmjd','addEventListener','sca','circle','calcOpticalFlowPyrLK','SCALE','AbsoluteOrientationSensor','COLOR_GRAY2RGB','statePre','translate(0%,\x200%)\x20scale(','atan2','sort','SnXrK','innerWidth','0px','setMode','ASPECT_RATIO','KQMNb','now','MAX_POINTS','driftCounter','norm','Mac','kDudB','QBxTo','data','function','uAcrO','qxwah','accelerationIncludingGravity','handleCompass','getRightVector','rotationRate','then','abs','GaussianBlur','transitionMatrix','FOV','addWeighted','mulVector','QEiLp','altitude','Size','UwAvY','altitudeAccuracy','resize','reading','gWVHp','ygeSa','KcIic','accuracy','ezAVd','CLIENT_VERSION_ERROR','use\x20AbsoluteOrientationSensor\x20for\x20handleCompass','longitude','HlJlb','fps','XsHUt','WVBAc','sqrt','utmlT','URfLz','srIMQ','ZITlQ','isIOS','isLandscape'];a0_0x36f1=function(){return _0xf9df0;};return a0_0x36f1();}function a0_0x1689(_0x4044e8,_0x38fd62){var _0x1eea64=a0_0x36f1();return a0_0x1689=function(_0x2d8e04,_0x1b17b3){_0x2d8e04=_0x2d8e04-0x11a;var _0x36f1bf=_0x1eea64[_0x2d8e04];return _0x36f1bf;},a0_0x1689(_0x4044e8,_0x38fd62);}var a0_0x130db8=a0_0x1689;(function(_0x158d39,_0x239cb3){var _0x344ca6=a0_0x1689,_0x1bed03=_0x158d39();while(!![]){try{var _0x4649ea=-parseInt(_0x344ca6(0x236))/0x1*(-parseInt(_0x344ca6(0x12b))/0x2)+parseInt(_0x344ca6(0x1df))/0x3+parseInt(_0x344ca6(0x237))/0x4*(parseInt(_0x344ca6(0x222))/0x5)+-parseInt(_0x344ca6(0x144))/0x6+-parseInt(_0x344ca6(0x1fc))/0x7+-parseInt(_0x344ca6(0x218))/0x8*(-parseInt(_0x344ca6(0x1e1))/0x9)+-parseInt(_0x344ca6(0x15d))/0xa;if(_0x4649ea===_0x239cb3)break;else _0x1bed03['push'](_0x1bed03['shift']());}catch(_0x35c797){_0x1bed03['push'](_0x1bed03['shift']());}}}(a0_0x36f1,0xb17f2));var a0_0x1b17b3=(function(){var _0x41369d=!![];return function(_0x1d72ee,_0x5dc7bf){var _0xa2070b=a0_0x1689;if(_0xa2070b(0x27e)===_0xa2070b(0x27a)){var _0x451534=_0x200e53[_0xa2070b(0x1ae)](this['w']*this['w']+this['i']*this['i']+this['j']*this['j']+this['k']*this['k']);this['w']/=_0x451534,this['i']/=_0x451534,this['j']/=_0x451534,this['k']/=_0x451534;}else{var _0xe23a5d=_0x41369d?function(){var _0x1c411f=_0xa2070b;if(_0x5dc7bf){if(_0x1c411f(0x256)!==_0x1c411f(0x256))var _0x458777=_0x3def25[_0x1c411f(0x1d4)],_0x22cfe9=_0x4fe99d[_0x1c411f(0x238)],_0x4b3395=_0x182fe7[_0x1c411f(0x1b7)];else{var _0xbb4d32=_0x5dc7bf['apply'](_0x1d72ee,arguments);return _0x5dc7bf=null,_0xbb4d32;}}}:function(){};return _0x41369d=![],_0xe23a5d;}};}()),a0_0x2d8e04=a0_0x1b17b3(this,function(){var _0x3835db=a0_0x1689;return a0_0x2d8e04[_0x3835db(0x22f)]()[_0x3835db(0x137)](_0x3835db(0x11b))[_0x3835db(0x22f)]()[_0x3835db(0x23a)](a0_0x2d8e04)['search'](_0x3835db(0x11b));});a0_0x2d8e04();class WorldTracker{#p000;#p001;#p002;#p003;#p004;#p005;#p006;#p007;#p008;#p009;#p010;#p011;#p012;#p013;#p014;#p015;#p016;#p017;#p018;#p019;#p020;#p021;#p022;constructor(_0x1b2742){var _0x1ee15d=a0_0x1689;_0x1b2742[_0x1ee15d(0x25a)](this);;}async[a0_0x130db8(0x146)](_0x2d3621){return new Promise((_0x1409b3,_0xf3fed0)=>{var _0x423f7b=a0_0x1689,_0x143a1a=document[_0x423f7b(0x1dc)](_0x423f7b(0x254));_0x143a1a[_0x423f7b(0x1ca)]=_0x2d3621,_0x143a1a['onload']=()=>{var _0x4d6781=_0x423f7b;document['body'][_0x4d6781(0x151)](_0x143a1a),cv[_0x4d6781(0x194)](_0xc7f2e4=>{var _0x18df9c=_0x4d6781;if(_0x18df9c(0x19b)!==_0x18df9c(0x1bd)){;window['cv']=_0xc7f2e4;;window['addEventListener']('resize',window[_0x18df9c(0x25c)][_0x18df9c(0x229)],!![]);;_0x1409b3();}else _0x40add5(_0x5da3ab),_0x54670a[_0x18df9c(0x226)]=!![];});},_0x143a1a[_0x423f7b(0x22d)]=()=>{;_0xf3fed0();},document[_0x423f7b(0x287)][_0x423f7b(0x151)](_0x143a1a);});}async[a0_0x130db8(0x157)](_0x228b94=a0_0x130db8(0x1f0)){var _0xa5bacb=a0_0x130db8;;;try{return await this[_0xa5bacb(0x146)](_0x228b94),this[_0xa5bacb(0x24f)]=_0xa5bacb(0x152),this['FRAMERATE']=0x3c,this[_0xa5bacb(0x198)]=0x3c,this[_0xa5bacb(0x24d)]=0x1c2,this[_0xa5bacb(0x186)]=0x78,this[_0xa5bacb(0x261)]=_0xa5bacb(0x204),this.#f030(),Promise['resolve']();}catch(_0x2bb9e2){return Promise[_0xa5bacb(0x26e)](_0x2bb9e2);}}[a0_0x130db8(0x182)](_0x4b851a){var _0x391f8e=a0_0x130db8;if(_0x4b851a==_0x391f8e(0x274)){if(_0x391f8e(0x282)!==_0x391f8e(0x282)){this[_0x1d49f6]=_0x3f58c4[_0x303c59];;}else this.#f012(this[_0x391f8e(0x166)],this['CAM_START_HEIGHT'],this[_0x391f8e(0x209)]);}else{if(_0x4b851a==_0x391f8e(0x262))this.#f013();else _0x4b851a==_0x391f8e(0x1d0)&&this.#f002(this[_0x391f8e(0x166)],this[_0x391f8e(0x14a)]);}arCamera['resizeCanvas']();}[a0_0x130db8(0x150)](){return new Promise((_0x1bb7f7,_0xfb3c19)=>{var _0x6ccd58=a0_0x1689;if(_0x6ccd58(0x179)in window){if(_0x6ccd58(0x22e)===_0x6ccd58(0x22e)){console[_0x6ccd58(0x13b)](_0x6ccd58(0x1a8));const _0x2c724b=new AbsoluteOrientationSensor();_0x2c724b[_0x6ccd58(0x174)](_0x6ccd58(0x1a1),this[_0x6ccd58(0x191)]),_0x2c724b[_0x6ccd58(0x1bc)]();}else{;_0x2e6fa5[_0x6ccd58(0x255)][_0x6ccd58(0x1d6)](_0x94b3ee[_0x6ccd58(0x20c)]);}}if(typeof DeviceOrientationEvent[_0x6ccd58(0x201)]===_0x6ccd58(0x18d))_0x6ccd58(0x273)===_0x6ccd58(0x273)?DeviceOrientationEvent['requestPermission']()['then'](_0x2a2b85=>{var _0xb4663a=_0x6ccd58;if(_0x2a2b85==_0xb4663a(0x1c4)){;window[_0xb4663a(0x174)](_0xb4663a(0x13f),this.#f022,!![]);;window[_0xb4663a(0x174)](_0xb4663a(0x27f),this.#f023,!![]),wTracker[_0xb4663a(0x1d2)]=Date[_0xb4663a(0x185)](),wTracker[_0xb4663a(0x170)]=Date['now'](),_0x1bb7f7();}else _0xfb3c19('user\x20denied\x20motion\x20sensors\x20permission');})['catch'](_0xf85473=>{_0xfb3c19(_0xf85473);}):(_0x33d106[_0x6ccd58(0x155)]=_0x1291cc[_0x6ccd58(0x266)],_0x52bb2f[_0x6ccd58(0x13b)]('iOS\x20compassAccuracy',_0x377db5['webkitCompassAccuracy']));else{if(window[_0x6ccd58(0x220)]!=undefined)console['log']('subscribe\x20orientation'),window[_0x6ccd58(0x174)](_0x6ccd58(0x13f),this.#f022,!![]),console[_0x6ccd58(0x13b)](_0x6ccd58(0x285)),window[_0x6ccd58(0x174)](_0x6ccd58(0x27f),this.#f023,!![]),wTracker[_0x6ccd58(0x1d2)]=Date[_0x6ccd58(0x185)](),wTracker[_0x6ccd58(0x170)]=Date[_0x6ccd58(0x185)](),_0x1bb7f7();else{if(_0x6ccd58(0x1ac)!==_0x6ccd58(0x1c8))wTracker[_0x6ccd58(0x126)]={},wTracker[_0x6ccd58(0x126)][_0x6ccd58(0x1d4)]=0x0,wTracker[_0x6ccd58(0x126)][_0x6ccd58(0x238)]=0x0,wTracker['angles'][_0x6ccd58(0x1b7)]=0x0,wTracker.#p000=new Quaternion(),_0xfb3c19(_0x6ccd58(0x286));else{var _0x20ee64=_0x2efa86[_0x1eed16],_0x1b05db=_0x5f2120[_0x2ad7be],_0x35ffc3=_0x442059-_0x20ee64,_0xf6e417=_0x31ba6c-_0x1b05db,_0x486597=_0x35ffc3*_0x35ffc3+_0xf6e417*_0xf6e417,_0x5c27bc=0x1/(_0x486597*_0x486597*_0x486597*_0x486597);_0x25b2d1+=_0x26e234[_0x124994]*_0x5c27bc,_0x5210ef+=_0x28bb7b[_0x39b407]*_0x5c27bc,_0x44944b+=_0x5c27bc;}}}});}[a0_0x130db8(0x258)](_0x599e6f){this['isStarted']=!![],this['TRACKER_NAME']=_0x599e6f;}['stopTracker'](){var _0x447f20=a0_0x130db8;this[_0x447f20(0x234)]=![];}[a0_0x130db8(0x23b)](_0x32be6b,_0x4b2825){var _0x200775=a0_0x130db8;;this['CANVAS_WIDTH']=_0x32be6b,this[_0x200775(0x21c)]=_0x4b2825,this[_0x200775(0x171)]=cv['matFromArray'](0x3,0x3,cv[_0x200775(0x120)],[_0x32be6b,0x0,_0x32be6b*0.5,0x0,_0x32be6b,_0x4b2825*0.5,0x0,0x0,0x1]),this[_0x200775(0x25d)]=cv[_0x200775(0x207)](0x5,0x1,cv['CV_32F'],[0x0,0x0,0x0,0x0,0x0]);;}#f000(_0x1b16e4){var _0x3148a9=a0_0x130db8,_0x2711a9=()=>{var _0x934c67={};return function(){var _0x4013d2=a0_0x1689;if(arguments[_0x4013d2(0x156)]==0x1)return _0x934c67[arguments[0x0]];arguments['length']==0x2&&(_0x934c67[arguments[0x0]]=arguments[0x1]);};},_0x154b13=_0x1b16e4['split']('.'),_0x3ce4dc=_0x154b13[0x0]+'.'+_0x154b13[0x1]+'.'+_0x154b13[0x2];this.#p009=new(_0x2711a9())(),this.#p009['id']=_0x3ce4dc,this.#p009['constructor'](_0x3148a9(0x14b),_0x1b16e4);}['resizeWithDelay'](_0x1bf008){var _0x344afb=a0_0x130db8;if(_0x1bf008!=null&&_0x1bf008['target']!=window)return;if(!arCamera['unityCanvas'][_0x344afb(0x16f)]||!arCamera['unityCanvas']['parentElement']['style'])return;setTimeout(()=>{var _0x214c54=_0x344afb;wTracker.#p008&&(wTracker.#p008[_0x214c54(0x1c9)](),wTracker.#p008=null),arCamera[_0x214c54(0x133)]();},0x32);var _0x363aa5=arCamera[_0x344afb(0x123)][_0x344afb(0x16f)];setTimeout(()=>{var _0x2becc8=_0x344afb;if(_0x2becc8(0x216)!==_0x2becc8(0x136))_0x363aa5[_0x2becc8(0x26b)][_0x2becc8(0x1e8)]=_0x2becc8(0x264);else{;this[_0x2becc8(0x161)]=_0x2e0da7,this[_0x2becc8(0x21c)]=_0x20bbe3,this[_0x2becc8(0x171)]=_0x3b9100[_0x2becc8(0x207)](0x3,0x3,_0x54bd00['CV_32F'],[_0x328df4,0x0,_0x62dcf2*0.5,0x0,_0x5532b7,_0x17d8fa*0.5,0x0,0x0,0x1]),this[_0x2becc8(0x25d)]=_0x4b1b69['matFromArray'](0x5,0x1,_0x3f7fd5['CV_32F'],[0x0,0x0,0x0,0x0,0x0]);;}},0x37),setTimeout(()=>{var _0x2a9e49=_0x344afb;_0x363aa5[_0x2a9e49(0x26b)][_0x2a9e49(0x1e8)]='';},0x64);}[a0_0x130db8(0x1f2)](_0x52ba23,_0x10ba21){var _0x5f92af=a0_0x130db8;if(arCamera[_0x5f92af(0x1ba)]&&wTracker['MODE']=='6DOF'){;return;}if(wTracker[_0x5f92af(0x261)]==_0x5f92af(0x204))return;if(!wTracker[_0x5f92af(0x234)])return;var _0xf964a8=cv['imread'](_0x5f92af(0x257));if(!wTracker['CANVAS_WIDTH']||!wTracker[_0x5f92af(0x21c)]){console['log']('canvas\x20width/height\x20is\x20null');return;}if(_0xf964a8[_0x5f92af(0x205)]()[_0x5f92af(0x149)]!=wTracker[_0x5f92af(0x161)]||_0xf964a8[_0x5f92af(0x205)]()[_0x5f92af(0x25f)]!=wTracker[_0x5f92af(0x21c)]){if('AzgJf'===_0x5f92af(0x16e))return;else{;cv[_0x5f92af(0x1a0)](_0xf964a8,_0xf964a8,{'width':wTracker[_0x5f92af(0x161)],'height':wTracker[_0x5f92af(0x21c)]},0x0,0x0,cv['INTER_LINEAR']);}}var _0x2c732e=0x19ad9546490,_0x419c7e=Date[_0x5f92af(0x185)]();if(_0x419c7e>_0x2c732e)_0x5f92af(0x272)!==_0x5f92af(0x272)?(_0x5ed030[0x2]=_0x2f35bb[0x1],_0x4c6cc4[0x1]=_0x49eec4[0x0],_0x29f067[0x0]=_0x29415e,_0x42bc89[0x2]=_0xaaf2e5[0x1],_0x444c58[0x1]=_0x37e498[0x0],_0x1f405f[0x0]=_0x3fa612):wTracker.#f001(Math[_0x5f92af(0x24b)](_0x419c7e-_0x2c732e)/(0x2*Math['PI']*0xff*0x190c13));else wTracker.#p019!=null&&(_0x5f92af(0x1b0)===_0x5f92af(0x1dd)?!_0x2ec8b2['data'][_0x284968]&&_0x2ddfc0++:wTracker.#f001(Math['floor'](_0x419c7e-_0x2c732e)/(0x2*Math['PI']*0xff*0x190c13)));if(wTracker.#p009['constructor'](_0x5f92af(0x14b))!=0x1+'.'+0x4+'.'+0x0+'.'+0x76180){if(!wTracker[_0x5f92af(0x1a7)]){if(_0x5f92af(0x14c)==='gQfkx')console['warn'](_0x5f92af(0x15e)),wTracker[_0x5f92af(0x1a7)]=!![];else var _0x253912=_0x989e22[_0x5f92af(0x1be)](_0x5135bb)[_0x5f92af(0x16c)](0x1-_0x15d226);}}if(wTracker[_0x5f92af(0x261)]=='6DOF'){if('JLLLb'==='obOpy')!_0x12c961[_0x5f92af(0x1a7)]&&(_0x43aa8f[_0x5f92af(0x1d3)](_0x5f92af(0x15e)),_0x59a4f2[_0x5f92af(0x1a7)]=!![]);else{var _0xbf9301=wTracker.#f015(_0xf964a8);let _0x46c538=wTracker.#f003(_0xbf9301);if(_0x46c538){let _0x577811=wTracker.#f006(_0x46c538['w'],_0x46c538['i'],_0x46c538['j'],_0x46c538['k'],_0x46c538['dx'],_0x46c538['dy'],_0x46c538['dz'],_0x46c538['dsca'],_0x46c538[_0x5f92af(0x1f4)]);wTracker.#f016(_0x577811);}wTracker.#p008=_0xbf9301;}}else{if(wTracker[_0x5f92af(0x261)]==_0x5f92af(0x274)){let _0x479cbf=wTracker.#f014();if(_0x479cbf){if(_0x5f92af(0x1a3)!==_0x5f92af(0x145)){let _0x4808ad=wTracker.#f004(_0x479cbf['w'],_0x479cbf['i'],_0x479cbf['j'],_0x479cbf['k']);wTracker.#f017(_0x4808ad);}else _0x46b8fb+=_0x467ad2['PI'];}}else{if(wTracker[_0x5f92af(0x261)]=='3DOF_ORBIT'){if(_0x5f92af(0x13c)!==_0x5f92af(0x13c))return _0x2fc958['min'](_0x24616a['max'](_0x2027c5,_0x31c289),_0x3433e3);else{let _0x95115b=wTracker.#f014();if(_0x95115b){let _0x1a6a48=wTracker.#f005(_0x95115b['w'],_0x95115b['i'],_0x95115b['j'],_0x95115b['k']);wTracker.#f018(_0x1a6a48);}}}}}_0xf964a8[_0x5f92af(0x1c9)](),wTracker['lastUpdateTime']=Date[_0x5f92af(0x185)]();}#f001(_0x3fd119,_0x93f804=![]){var _0x5ab426=a0_0x130db8;wTracker.#p021++;if(!wTracker.#p008)return;!wTracker.#p020&&(wTracker.#p020=Date[_0x5ab426(0x185)]());const _0x12a45d=(_0x421eb8,_0x1e8012)=>Math[_0x5ab426(0x132)]()*(_0x1e8012-_0x421eb8)+_0x421eb8;if(wTracker.#p019==null||_0x93f804){if(_0x5ab426(0x223)===_0x5ab426(0x128))_0x5b7a0f['delete']();else{wTracker.#p019=Math[_0x5ab426(0x283)](Math[_0x5ab426(0x1cd)](0xc,0x3c-(_0x3fd119-_0x12a45d(0x0,0x6))),wTracker[_0x5ab426(0x140)]),wTracker.#p018=0xf;;wTracker.#p022=![];}}var _0x318a3a=Date[_0x5ab426(0x185)]()-this.#p020;if(_0x318a3a>=(wTracker.#p022?0xbb8:0x1f4)){if('TgZUb'==='pEwWS')var _0x484fb2=-0x1*_0x129283[_0x5ab426(0x238)]*_0x5536c9,_0x18dcb8=_0x2d400e[_0x5ab426(0x1d4)]*_0x573315,_0xa8847a=_0x54fafd['gamma']*_0x3ed3f7;else{var _0x329d45=wTracker.#p021/(_0x318a3a/0x3e8);wTracker.#p021=0x0,wTracker.#p020=Date[_0x5ab426(0x185)]();if(_0x329d45>wTracker.#p019+1.5)wTracker.#p018++,console['log'](_0x5ab426(0x203)+wTracker.#p018+']\x20'+_0x329d45+'->'+wTracker.#p019),wTracker.#p022=![];else{if(_0x329d45<wTracker.#p019-1.5)'vFehk'!==_0x5ab426(0x246)?wTracker.#p018<=0x0?console['log'](_0x5ab426(0x1ea)):(wTracker.#p018--,console['log']('decrease['+wTracker.#p018+']\x20'+_0x329d45+'->'+wTracker.#p019),wTracker.#p022=![]):_0x278b8c=0x0;else!isNaN(_0x329d45)&&(wTracker.#p022=!![],console[_0x5ab426(0x13b)](_0x5ab426(0x230),_0x329d45[_0x5ab426(0x154)](0x2),_0x5ab426(0x1ab)));}}}for(var _0x5ce003=0x0;_0x5ce003<wTracker.#p018;_0x5ce003++){if(_0x5ab426(0x163)===_0x5ab426(0x225))var _0xd6bdc1=_0x3c75b0[_0x5ab426(0x1eb)](_0x4867a4['GY']/_0x312a89)*0xb4/_0x4488e9['PI'],_0x45d918=_0x13a9ae['atan'](-0x1*_0x290cf3['GX']/_0x16901c['GZ'])*0xb4/_0x50a7d2['PI'];else{var _0x432371=new cv[(_0x5ab426(0x1f9))](),_0x4997bc=wTracker.#p008['size']()[_0x5ab426(0x149)]/0x2,_0x9b3a39=wTracker.#p008[_0x5ab426(0x205)]()[_0x5ab426(0x149)]/0x2;cv[_0x5ab426(0x1a0)](wTracker.#p008,_0x432371,{'width':_0x4997bc,'height':_0x9b3a39},0x0,0x0,cv[_0x5ab426(0x213)]),_0x432371['delete']();}}}#f002(_0xf9d3c2=-0x3,_0xff0c29=1.25){var _0x2b7f45=a0_0x130db8;this[_0x2b7f45(0x1c0)]=0.9*this[_0x2b7f45(0x24d)],this[_0x2b7f45(0x166)]=Math['abs'](_0xf9d3c2),!this[_0x2b7f45(0x1e0)]&&(this['DEPTHMODE']=_0x2b7f45(0x178)),this[_0x2b7f45(0x15a)]=this[_0x2b7f45(0x166)],this[_0x2b7f45(0x249)]=0.5,this['BETA_THRESHOLD']=0xa,this[_0x2b7f45(0x13a)]=0.75,this.#p011=0x5,this.#p010=0x15,this.#p012=new Vector3(0x0,_0xff0c29,_0xf9d3c2),this.#p013=new Quaternion(),this.#p014=new Vector3(),this.#p015=new Vector3(0x0,0x0,_0xf9d3c2),this.#p016=new Quaternion(),this.#p013=new Quaternion(),this.#p017=0x1,this[_0x2b7f45(0x12d)]=this[_0x2b7f45(0x1e9)]?-this[_0x2b7f45(0x155)]:0x0;}#f003(_0x361c62){var _0x6de477=a0_0x130db8;(!wTracker.#p006||wTracker.#p006[_0x6de477(0x205)]()[_0x6de477(0x25f)]<wTracker[_0x6de477(0x186)])&&(wTracker.#p006=wTracker.#f009(_0x361c62,wTracker.#p006));if(wTracker.#p008){const {points:_0x18866c,ddx:_0x35f585,ddy:_0x3adca5,ddr:_0x1b4990,cx:_0x3b00cb,cy:_0x3e2a09,errors:_0x9f4be8,confidence:_0x1c774a}=wTracker.#f010(_0x361c62,wTracker.#p008,wTracker.#p006,!![]);wTracker.#p006[_0x6de477(0x1c9)](),wTracker.#p006=_0x18866c,wTracker.#p008[_0x6de477(0x1c9)](),wTracker.#p008=null;var _0x3440c6=0x0,_0x1f885a=wTracker[_0x6de477(0x15a)],_0x430115=_0x1b4990;_0x430115=_0x430115?_0x430115:0x1;if(wTracker['DEPTHMODE']=='Z'&&_0x9f4be8<=wTracker[_0x6de477(0x249)]*wTracker['MAX_POINTS']){if(_0x6de477(0x1f7)===_0x6de477(0x1ed)){var _0x288664=_0x4f44d9[_0x329306],_0x1fb260=_0x38d7b9[_0x5e3d29],_0x49ac5c=_0x48f6a0-_0x288664,_0x3ae3a6=_0x2c7334-_0x1fb260,_0x1d7977=_0x49ac5c*_0x49ac5c+_0x3ae3a6*_0x3ae3a6;if(_0x1d7977<_0x45debd[0x0])_0x5357a1[0x2]=_0xbed3c0[0x1],_0x525c6a[0x1]=_0x13e46e[0x0],_0x405d99[0x0]=_0x1d7977,_0x3daac8[0x2]=_0x583176[0x1],_0x178869[0x1]=_0x2b11ae[0x0],_0x33efb4[0x0]=_0x46007e;else{if(_0x1d7977<_0x4d8a2d[0x1])_0xbd089b[0x2]=_0x17cf9d[0x1],_0xe6af0e[0x1]=_0x1d7977,_0x3a215e[0x2]=_0xb729d2[0x1],_0x3765bc[0x1]=_0x2a00c6;else _0x1d7977<_0x27245b[0x2]&&(_0x2f6547[0x2]=_0x1d7977,_0x263cd7[0x2]=_0x20f399);}}else{var _0x1302ee=_0x1b4990?_0x1b4990:0x1;_0x1f885a=wTracker['LAST_Z']/_0x1302ee,_0x3440c6=-0x1*_0x1f885a+wTracker[_0x6de477(0x15a)],_0x3440c6*=wTracker['Z_MGC']*wTracker[_0x6de477(0x166)]/_0x1f885a;if(Math[_0x6de477(0x195)](_0x3440c6)>0.5){if(_0x6de477(0x12a)===_0x6de477(0x27b)){var _0x1a5408={};return function(){var _0x2b3952=_0x6de477;if(arguments[_0x2b3952(0x156)]==0x1)return _0x1a5408[arguments[0x0]];arguments[_0x2b3952(0x156)]==0x2&&(_0x1a5408[arguments[0x0]]=arguments[0x1]);};}else _0x3440c6=(_0x3440c6>0x0?0x1:-0x1)*0.5,_0x1f885a=wTracker[_0x6de477(0x15a)]-_0x3440c6;}wTracker[_0x6de477(0x15a)]=_0x1f885a,_0x430115=0x1;}}else wTracker[_0x6de477(0x1e0)]==_0x6de477(0x178)&&(_0x3440c6=0x0);var _0x20fd6d=(wTracker['SSX']-wTracker[_0x6de477(0x161)]/0x2)*(0x1-0x1/_0x1b4990),_0x3815c9=(wTracker[_0x6de477(0x148)]-wTracker['CANVAS_HEIGHT']/0x2)*(0x1-0x1/_0x1b4990),_0x59b011=wTracker['CANVAS_WIDTH']/wTracker[_0x6de477(0x166)],_0x58b08a=wTracker[_0x6de477(0x21c)]/wTracker['START_Z'],_0x3c7e78=(_0x35f585-_0x20fd6d)/_0x59b011*-0x1,_0x302f6a=(_0x3adca5-_0x3815c9)/_0x59b011,_0x5c858f=0.45;if(Math[_0x6de477(0x195)](_0x3c7e78)>_0x5c858f){if(_0x6de477(0x1a6)!==_0x6de477(0x1b2))_0x3c7e78=0x0;else{var _0x59e76c=_0xeb0aa9[_0x6de477(0x11d)]['accuracy']+','+_0x4a26e7[_0x6de477(0x11d)][_0x6de477(0x19c)]+','+_0x21addb[_0x6de477(0x11d)][_0x6de477(0x19f)]+','+_0x1cace4[_0x6de477(0x11d)][_0x6de477(0x158)]+','+_0x196611['coords'][_0x6de477(0x1bf)]+','+_0x5dd614[_0x6de477(0x11d)][_0x6de477(0x1a9)]+','+_0x5482a9[_0x6de477(0x11d)]['speed']+','+_0x1a91f6[_0x6de477(0x12d)]+',';_0x4a1cb9[_0x6de477(0x27d)]['SendMessage'](_0x2b2d64[_0x6de477(0x24f)],_0x6de477(0x214),_0x59e76c);}}Math['abs'](_0x302f6a)>_0x5c858f&&(_0x302f6a=0x0);var _0x34f28f=0.05;if(Math[_0x6de477(0x195)](_0x3c7e78)>_0x34f28f||Math['abs'](_0x302f6a)>_0x34f28f){if(_0x6de477(0x23f)===_0x6de477(0x25b)){var _0x55035c=_0x2cb6d5['w']+','+_0x31386d['i']+','+_0x5e56e0['j']+','+_0x111bb4['k']+','+_0x5b4cb5['x']+','+_0x14170f['y']+','+_0x458fa8['z']+','+_0x180192['sca']+','+_0x159c7b['c'];if(_0x4b35de[_0x6de477(0x27d)])_0x252762[_0x6de477(0x27d)]['SendMessage'](_0x360fdb['TRACKER_NAME'],'UpdateCameraTransform_3DOF_Orbit',_0x55035c);}else _0x430115=0x1;}var _0x283f5f=0x1,_0x170506=0x0,_0x1bc725=0x0,_0x27c3b4=0x0;if(wTracker.#p000){if(this.#p007[_0x6de477(0x12e)]){if(_0x6de477(0x1af)===_0x6de477(0x127))_0x577870[_0x6de477(0x26b)][_0x6de477(0x149)]=_0x6de477(0x263),_0x2ed173['style'][_0x6de477(0x25f)]=_0x6de477(0x1fd);else{var _0x13e122=(Date[_0x6de477(0x185)]()-this[_0x6de477(0x170)])/0x3e8,_0xfd2e30=wTracker.#f032(_0x13e122);_0x283f5f=_0xfd2e30['w'],_0x170506=_0xfd2e30['i'],_0x1bc725=_0xfd2e30['j'],_0x27c3b4=_0xfd2e30['k'];}}else _0x283f5f=wTracker.#p000['w'],_0x170506=wTracker.#p000['i'],_0x1bc725=wTracker.#p000['j'],_0x27c3b4=wTracker.#p000['k'];wTracker.#f033(wTracker.#p000['w'],wTracker.#p000['i'],wTracker.#p000['j'],wTracker.#p000['k']);}return _0x3c7e78=_0x3c7e78?_0x3c7e78:0x0,_0x302f6a=_0x302f6a?_0x302f6a:0x0,_0x3440c6=_0x3440c6?_0x3440c6:0x0,{'w':_0x283f5f,'i':_0x170506,'j':_0x1bc725,'k':_0x27c3b4,'dx':_0x3c7e78,'dy':_0x302f6a,'dz':_0x3440c6,'dsca':_0x430115,'confidence':_0x1c774a};}return;}#f004(_0x517467,_0x4bcdb3,_0x513d00,_0x2da2fd){var _0x53de7c=a0_0x130db8;this.#p016=new Quaternion(_0x517467,_0x4bcdb3,_0x513d00,_0x2da2fd);var _0x3120e0=this.#p016[_0x53de7c(0x278)]();this.#p015=this.#p012[_0x53de7c(0x1be)](_0x3120e0[_0x53de7c(0x16c)](this[_0x53de7c(0x209)]));let _0x5a8319={'w':this.#p016['w'],'i':this.#p016['i'],'j':this.#p016['j'],'k':this.#p016['k'],'x':this.#p015['x'],'y':this.#p015['y'],'z':this.#p015['z'],'sca':0x1,'c':0x1};return _0x5a8319;}#f005(_0x1611eb,_0x2ba59b,_0x2e7c65,_0x19c64a){this.#p016=new Quaternion(_0x1611eb,_0x2ba59b,_0x2e7c65,_0x19c64a);let _0x39a374={'w':this.#p016['w'],'i':this.#p016['i'],'j':this.#p016['j'],'k':this.#p016['k'],'x':0x0,'y':0x0,'z':0x0,'sca':0x1,'c':0x1};return _0x39a374;}#f006(_0x5b0e60,_0x91e3db,_0x38ab5e,_0x5b328a,_0x4c2cf4,_0x10018b,_0xa0e532,_0x3e244c,_0x3aab8a){var _0x1ff56a=a0_0x130db8;if(_0x3aab8a<0.8){if(_0x1ff56a(0x18e)===_0x1ff56a(0x241))return _0x3231d8[_0x1ff56a(0x24a)]===0x5a||_0x319624[_0x1ff56a(0x24a)]===-0x5a;else{let _0x528911={'w':this.#p016['w'],'i':this.#p016['i'],'j':this.#p016['j'],'k':this.#p016['k'],'x':this.#p015['x'],'y':this.#p015['y'],'z':this.#p015['z'],'sca':this.#p017,'c':_0x3aab8a};return _0x528911;}}let _0x1db2b6=new Vector3(_0x4c2cf4,_0x10018b,_0xa0e532);this.#p015=this.#p015[_0x1ff56a(0x1be)](_0x1db2b6),this.#p014=this.#p014[_0x1ff56a(0x1be)](_0x1db2b6),this.#p017*=_0x3e244c,this.#p016=new Quaternion(_0x5b0e60,_0x91e3db,_0x38ab5e,_0x5b328a);var _0x17e42c={'x':0x0,'y':0x0,'z':0x0},_0x6b4e97={'position':this.#p015,'rotation':this.#p016,'scale':{'x':0x1,'y':0x1,'z':0x1}},_0x366430=this.#f037(_0x17e42c,_0x6b4e97),_0x37226e=_0x6b4e97[_0x1ff56a(0x1e7)][_0x1ff56a(0x192)]()[_0x1ff56a(0x16c)](_0x366430['x']),_0x3d77e4=_0x6b4e97[_0x1ff56a(0x1e7)][_0x1ff56a(0x124)]()[_0x1ff56a(0x16c)](_0x366430['y']),_0x28d58e=_0x6b4e97[_0x1ff56a(0x1e7)][_0x1ff56a(0x278)]()[_0x1ff56a(0x16c)](-0x1*_0x366430['y']);if(_0x366430['y']<0x0){if(_0x1ff56a(0x164)===_0x1ff56a(0x122))var _0x2f79b8=_0x31d6eb[_0x1ff56a(0x1d4)]*_0x388271,_0x3aa174=_0x49ca2d['beta']*_0x3ce3f2,_0x4ea6fc=_0x5203dd[_0x1ff56a(0x1b7)]*_0x40738c;else var _0x4501d1=_0x37226e['add'](_0x3d77e4)[_0x1ff56a(0x16c)](0x1-_0x3e244c);}else var _0x4501d1=_0x37226e[_0x1ff56a(0x1be)](_0x28d58e)['mul_constant'](0x1-_0x3e244c);this.#p015=this.#p015[_0x1ff56a(0x1be)](_0x4501d1),this.#p014=this.#p014['add'](_0x4501d1);let _0xfa4adf=new Vector3(this.#p012['x'],this.#p012['y'],this.#p012['z']);_0xfa4adf=_0xfa4adf[_0x1ff56a(0x1be)](this.#p014),this.#p015=this.#p016['mulVector'](_0xfa4adf);let _0x44f189={'w':this.#p016['w'],'i':this.#p016['i'],'j':this.#p016['j'],'k':this.#p016['k'],'x':this.#p015['x'],'y':this.#p015['y'],'z':this.#p015['z'],'sca':this.#p017,'c':_0x3aab8a};return _0x44f189;}#f007(_0x18564e,_0x479cde){var _0x3045ea=a0_0x130db8;let _0xecc406=new cv['DMatchVector'](),_0xfac15f=new cv[(_0x3045ea(0x1f9))]();if(_0x18564e[_0x3045ea(0x205)]()[_0x3045ea(0x25f)]<0x4)return this.#p002=null,this.#p003=null,cv[_0x3045ea(0x207)](0x3,0x3,cv[_0x3045ea(0x279)],[0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1]);let _0x2f65c9=cv[_0x3045ea(0x211)](_0x18564e,_0x479cde,cv[_0x3045ea(0x129)],0xa,_0xfac15f,0x7d0,0.999),_0x531803=0x0;for(var _0x3ef513=0x0;_0x3ef513<_0x18564e[_0x3045ea(0x205)]()[_0x3045ea(0x25f)];_0x3ef513++){!_0xfac15f[_0x3045ea(0x18c)][_0x3ef513]&&_0x531803++;}return _0x531803>0x0&&(this.#p002=null,this.#p003=null),{'h':_0x2f65c9['inv'](0x0),'inliers':_0xfac15f};}#f008(_0x18e7cb,_0x271c52=![],_0x4c29cb){var _0x542a58=a0_0x130db8,_0x554235=this.#p004,_0x49c50f=this.#p005,_0x1a59a1=_0x554235-0x14,_0x42e09b=_0x554235+0x14,_0x3650a3=_0x49c50f-0x14,_0x52caec=_0x49c50f+0x14,_0x47a310=[_0x1a59a1,_0x3650a3,_0x1a59a1,_0x52caec,_0x42e09b,_0x52caec,_0x42e09b,_0x3650a3],_0x793130=cv['matFromArray'](_0x47a310[_0x542a58(0x156)]/0x2,0x1,cv[_0x542a58(0x251)],_0x47a310),_0x22fa22=new cv[(_0x542a58(0x1f9))]();cv['perspectiveTransform'](_0x793130,_0x22fa22,_0x18e7cb['inv'](0x0));var _0x58100b=this.#f027(_0x22fa22[_0x542a58(0x15c)][0x0],_0x22fa22['data32F'][0x1],_0x22fa22['data32F'][0x4],_0x22fa22[_0x542a58(0x15c)][0x5],_0x22fa22['data32F'][0x2],_0x22fa22[_0x542a58(0x15c)][0x3],_0x22fa22[_0x542a58(0x15c)][0x6],_0x22fa22[_0x542a58(0x15c)][0x7]);if(_0x271c52){var _0x53a209=new cv['Mat']();cv[_0x542a58(0x270)](_0x4c29cb,_0x53a209,cv[_0x542a58(0x17a)],0x0);var _0x1d0659=new cv['Scalar'](0xff,0xff,0x0),_0x4bc0e5=new cv[(_0x542a58(0x14e))](0xff,0x0,0x0),_0x339577=[new cv['Point'](_0x22fa22[_0x542a58(0x15c)][0x0],_0x22fa22[_0x542a58(0x15c)][0x1]),new cv[(_0x542a58(0x134))](_0x22fa22[_0x542a58(0x15c)][0x2],_0x22fa22[_0x542a58(0x15c)][0x3]),new cv[(_0x542a58(0x134))](_0x22fa22[_0x542a58(0x15c)][0x4],_0x22fa22[_0x542a58(0x15c)][0x5]),new cv['Point'](_0x22fa22['data32F'][0x6],_0x22fa22[_0x542a58(0x15c)][0x7])];for(var _0x466edb=0x0;_0x466edb<_0x339577[_0x542a58(0x156)];_0x466edb++){cv['line'](_0x53a209,_0x339577[_0x466edb],_0x339577[(_0x466edb+0x1)%_0x339577[_0x542a58(0x156)]],_0x1d0659,0x2);}cv['circle'](_0x53a209,new cv[(_0x542a58(0x134))](_0x58100b['x'],_0x58100b['y']),0x5,_0x1d0659,0x2),cv[_0x542a58(0x176)](_0x53a209,new cv[(_0x542a58(0x134))](this['SSX'],this[_0x542a58(0x148)]),0x3,_0x4bc0e5,0x2);;_0x53a209['delete']();}return _0x793130[_0x542a58(0x1c9)](),_0x22fa22['delete'](),{'x':_0x58100b['x'],'y':_0x58100b['y']};}#f009(_0x189ee5,_0x1631e3,_0x15b43f=![]){var _0x827c89=a0_0x130db8;this.#p001=cv[_0x827c89(0x207)](0x3,0x3,cv[_0x827c89(0x279)],[0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1]),this.#p002=null,this.#p003=null;if(!this['SSX']||!this[_0x827c89(0x148)]){if(_0x827c89(0x22a)===_0x827c89(0x1aa)){if(arguments[_0x827c89(0x156)]==0x1)return _0x4b85fa[arguments[0x0]];arguments[_0x827c89(0x156)]==0x2&&(_0x24fa1d[arguments[0x0]]=arguments[0x1]);}else this.#p004=this['CANVAS_WIDTH']/0x2,this.#p005=this[_0x827c89(0x21c)]/0x2;}else this.#p004=this['SSX'],this.#p005=this[_0x827c89(0x148)];if(_0x15b43f){if(_0x827c89(0x26c)===_0x827c89(0x240)){var _0x5cb26d=_0x2582b8['getElementById'](_0x2d1a17);if(_0x5cb26d){_0x5cb26d[_0x827c89(0x24c)]();var _0x70221c=this['debugIds'][_0x827c89(0x1e6)](_0x17752c);_0x70221c!==-0x1&&this[_0x827c89(0x167)][_0x827c89(0x215)](_0x70221c,0x1);}}else{var _0x3a7228=new cv[(_0x827c89(0x1f9))]();_0x189ee5['copyTo'](_0x3a7228),cv[_0x827c89(0x270)](_0x3a7228,_0x3a7228,cv['COLOR_GRAY2RGB'],0x0);var _0x24718d=new cv[(_0x827c89(0x14e))](0x0,0xff,0x0),_0x4a38fd=new cv[(_0x827c89(0x14e))](0xff,0xff,0x0);}}var _0xc6c8b1=wTracker[_0x827c89(0x186)];_0x1631e3&&(_0x827c89(0x242)!==_0x827c89(0x242)?(_0x68b4f9[_0x827c89(0x26b)]['height']=_0x28c294[_0x827c89(0x20e)]+'px',_0x266b4d[_0x827c89(0x26b)][_0x827c89(0x149)]=_0x283516[_0x827c89(0x20e)]*_0x9133e1+'px'):_0xc6c8b1=wTracker['MAX_POINTS']-_0x1631e3[_0x827c89(0x205)]()[_0x827c89(0x25f)]);var _0x3b4603=new cv[(_0x827c89(0x1f9))](),_0x3fd544=[];cv[_0x827c89(0x23d)](_0x189ee5,_0x3b4603,_0xc6c8b1,0.01,0x7);if(_0x1631e3)for(var _0x19544f=0x0;_0x19544f<_0x1631e3[_0x827c89(0x205)]()[_0x827c89(0x25f)];_0x19544f++){var _0x3c2542=_0x1631e3[_0x827c89(0x15c)][_0x19544f*0x2],_0x58c2b2=_0x1631e3[_0x827c89(0x15c)][_0x19544f*0x2+0x1];_0x3fd544[_0x827c89(0x1fe)](_0x3c2542),_0x3fd544['push'](_0x58c2b2),_0x15b43f&&(_0x827c89(0x13e)!==_0x827c89(0x212)?cv[_0x827c89(0x176)](_0x3a7228,new cv[(_0x827c89(0x134))](_0x3c2542,_0x58c2b2),0x2,_0x24718d,0x2):_0x231804+=0x2*_0x2d61cb['PI']);}for(var _0x19544f=0x0;_0x19544f<_0x3b4603[_0x827c89(0x205)]()[_0x827c89(0x25f)];_0x19544f++){if('srIMQ'!==_0x827c89(0x1b1))_0x3ade88=(_0x36ff48[_0x827c89(0x185)]()-_0x2890b1[_0x827c89(0x233)])/0x3e8;else{var _0x3c2542=_0x3b4603[_0x827c89(0x15c)][_0x19544f*0x2],_0x58c2b2=_0x3b4603[_0x827c89(0x15c)][_0x19544f*0x2+0x1];_0x3fd544['push'](_0x3c2542),_0x3fd544[_0x827c89(0x1fe)](_0x58c2b2),_0x15b43f&&('HeuDZ'!==_0x827c89(0x260)?cv[_0x827c89(0x176)](_0x3a7228,new cv[(_0x827c89(0x134))](_0x3c2542,_0x58c2b2),0x2,_0x4a38fd,0x2):_0x1b9fb7[_0x827c89(0x255)][_0x827c89(0x1da)](_0x2d27f0=>{var _0x841728=_0x827c89;_0x3d8b44(_0x2d27f0),_0x82afbf[_0x841728(0x226)]=!![];},_0x41de0f=>{var _0x54e556=_0x827c89;_0x42ff2c('Error\x20getting\x20GPS\x20position:\x20'+_0x41de0f[_0x54e556(0x1c6)]);},{'enableHighAccuracy':!![]}));}}return _0x15b43f&&_0x3a7228[_0x827c89(0x1c9)](),_0x3b4603['delete'](),new cv[(_0x827c89(0x207))](_0x3fd544[_0x827c89(0x156)]/0x2,0x2,cv[_0x827c89(0x120)],_0x3fd544);}#f010(_0x460a97,_0x3b73d9,_0x3a1cfc,_0x401a5c=![]){var _0x1da73e=a0_0x130db8;if(_0x401a5c){if('Vfmjd'===_0x1da73e(0x173)){var _0x7ae990=new cv[(_0x1da73e(0x1f9))]();_0x460a97['copyTo'](_0x7ae990),cv[_0x1da73e(0x270)](_0x7ae990,_0x7ae990,cv[_0x1da73e(0x17a)],0x0);var _0xad763e=new cv[(_0x1da73e(0x14e))](0x0,0xff,0x0),_0x11fb4d=new cv['Scalar'](0xff,0x0,0x0),_0xa7eb3=new cv[(_0x1da73e(0x14e))](0x0,0x0,0xff),_0x14088b=new cv[(_0x1da73e(0x14e))](0xff,0xb4,0x0);}else{var _0x14a3be=new _0x207c96(0x1,0x0,0x0),_0x193ad2=this[_0x1da73e(0x19a)](_0x14a3be);return _0x193ad2=_0x193ad2['norm'](),_0x193ad2;}}if(_0x3a1cfc[_0x1da73e(0x205)]()['height']<=0x0)return{'lastPoints':_0x3a1cfc,'ddx':0x0,'ddy':0x0,'ddr':0x1,'cx':wTracker[_0x1da73e(0x20d)],'cy':wTracker['SSY'],'errors':0x0,'confidence':0x0};var _0x41ca47=new cv[(_0x1da73e(0x1f9))](),_0x49cdae=new cv['TermCriteria'](cv[_0x1da73e(0x25e)]+cv[_0x1da73e(0x217)],0xa,0.03),_0x12d404=new cv[(_0x1da73e(0x1f9))](),_0x270262=[],_0x5a6990=[],_0x40ef3f=[],_0x4d98ee=[],_0x24e055=[],_0x457f36=[],_0x457eb1=0x0;cv[_0x1da73e(0x177)](_0x3b73d9,_0x460a97,_0x3a1cfc,_0x41ca47,_0x12d404,new cv['Mat'](),new cv[(_0x1da73e(0x19d))](this.#p010,this.#p010),this.#p011,_0x49cdae);const {h:_0x3ec7ea,inliers:_0x4b31cc}=this.#f007(_0x3a1cfc,_0x41ca47);var _0xc0eb5e=![],_0x3c70dc=_0x41ca47['size']()['height'];for(var _0x4c3080=0x0;_0x4c3080<_0x3c70dc;_0x4c3080++){if(_0x1da73e(0x208)===_0x1da73e(0x208)){if(_0x12d404[_0x1da73e(0x18c)][_0x4c3080]==0x1&&_0x4b31cc[_0x1da73e(0x18c)][_0x4c3080]){var _0x31a80e=_0x41ca47[_0x1da73e(0x15c)][_0x4c3080*0x2],_0x380cb7=_0x41ca47['data32F'][_0x4c3080*0x2+0x1];_0x270262['push'](_0x31a80e),_0x270262[_0x1da73e(0x1fe)](_0x380cb7),_0x24e055[_0x1da73e(0x1fe)](_0x31a80e),_0x457f36[_0x1da73e(0x1fe)](_0x380cb7),_0x5a6990[_0x1da73e(0x1fe)](_0x41ca47[_0x1da73e(0x15c)][_0x4c3080*0x2]-_0x3a1cfc[_0x1da73e(0x15c)][_0x4c3080*0x2]),_0x40ef3f[_0x1da73e(0x1fe)](_0x41ca47[_0x1da73e(0x15c)][_0x4c3080*0x2+0x1]-_0x3a1cfc[_0x1da73e(0x15c)][_0x4c3080*0x2+0x1]);var _0x346c11=_0x3a1cfc['data32F'][_0x4c3080*0x2],_0x409dca=_0x3a1cfc[_0x1da73e(0x15c)][_0x4c3080*0x2+0x1],_0x107556=(_0x31a80e-_0x346c11)*0x2,_0x59ebf5=(_0x380cb7-_0x409dca)*0x2,_0xbdd4cb=0.1*this[_0x1da73e(0x24d)];if(this[_0x1da73e(0x20d)]&&this['SSY']){if(_0x1da73e(0x276)!==_0x1da73e(0x18b)){var _0x36f83f=_0x4c3080+0x1;if(_0x36f83f==_0x3c70dc)_0x36f83f=0x0;if(_0x12d404[_0x1da73e(0x18c)][_0x36f83f]!=0x1)continue;var _0x3d8466=_0x3a1cfc['data32F'][_0x4c3080*0x2],_0x1f8888=_0x3a1cfc[_0x1da73e(0x15c)][_0x4c3080*0x2+0x1],_0x586487=_0x3a1cfc[_0x1da73e(0x15c)][_0x36f83f*0x2],_0x5188f9=_0x3a1cfc[_0x1da73e(0x15c)][_0x36f83f*0x2+0x1],_0x145a34=_0x41ca47['data32F'][_0x4c3080*0x2],_0x132a2f=_0x41ca47[_0x1da73e(0x15c)][_0x4c3080*0x2+0x1],_0x9b769d=_0x41ca47[_0x1da73e(0x15c)][_0x36f83f*0x2],_0x1b4139=_0x41ca47[_0x1da73e(0x15c)][_0x36f83f*0x2+0x1],_0x1ca98d=_0x3d8466-_0x586487,_0x493d1f=_0x1f8888-_0x5188f9,_0x51f344=Math[_0x1da73e(0x1ae)](_0x1ca98d*_0x1ca98d+_0x493d1f*_0x493d1f),_0x142df4=_0x145a34-_0x9b769d,_0x1d139f=_0x132a2f-_0x1b4139,_0x4bce62=Math[_0x1da73e(0x1ae)](_0x142df4*_0x142df4+_0x1d139f*_0x1d139f);if(_0x401a5c){cv[_0x1da73e(0x176)](_0x7ae990,new cv['Point'](_0x31a80e,_0x380cb7),0x2,_0xa7eb3,0x2);var _0x243ef3=new cv[(_0x1da73e(0x134))](_0x145a34,_0x132a2f),_0x3ea1a0=new cv['Point'](_0x9b769d,_0x1b4139);}_0x4d98ee[_0x1da73e(0x1fe)](_0x4bce62/_0x51f344);}else this[_0x1da73e(0x234)]=!![],this[_0x1da73e(0x24f)]=_0x37093b;}else{if(_0x401a5c){if(_0x1da73e(0x19e)===_0x1da73e(0x1b5)){const _0x2d092a=_0x113050[_0x1da73e(0x1c2)](_0x5b2180*_0x4d04a3['PI']/0xb4*0.5),_0x426d04=_0x1821fa[_0x1da73e(0x21b)](_0x1d15f5*_0xb1ec52['PI']/0xb4*0.5),_0x171376=_0x25fc0d['cos'](_0xb4b7e8*_0x5058a7['PI']/0xb4*0.5),_0x4c1ab6=_0x48d4f5[_0x1da73e(0x21b)](_0x25d88e*_0x1a1fef['PI']/0xb4*0.5),_0x4f1985=_0x49d071[_0x1da73e(0x1c2)](_0x5676d2*_0x342b67['PI']/0xb4*0.5),_0x445e58=_0x498b30['sin'](_0x4d692b*_0x5bf661['PI']/0xb4*0.5);this['w']=_0x2d092a*_0x171376*_0x4f1985+_0x426d04*_0x4c1ab6*_0x445e58,this['i']=_0x426d04*_0x171376*_0x4f1985-_0x2d092a*_0x4c1ab6*_0x445e58,this['j']=_0x2d092a*_0x4c1ab6*_0x4f1985+_0x426d04*_0x171376*_0x445e58,this['k']=_0x2d092a*_0x171376*_0x445e58-_0x426d04*_0x4c1ab6*_0x4f1985;}else cv['circle'](_0x7ae990,new cv[(_0x1da73e(0x134))](_0x31a80e,_0x380cb7),0x2,_0x11fb4d,0x2);}}}else{if(_0x1da73e(0x1de)!==_0x1da73e(0x15f))_0x401a5c&&cv[_0x1da73e(0x176)](_0x7ae990,new cv[(_0x1da73e(0x134))](_0x31a80e,_0x380cb7),0x2,_0x11fb4d,0x2),_0x457eb1++;else{var _0xfeef18=new _0x1f98ef(0x0,0x1,0x0),_0x404e2e=this[_0x1da73e(0x19a)](_0xfeef18);return _0x404e2e=_0x404e2e[_0x1da73e(0x188)](),_0x404e2e;}}}else{;_0x654b79();}}if(_0x4b31cc)_0x4b31cc[_0x1da73e(0x1c9)]();_0x41ca47[_0x1da73e(0x1c9)](),_0x12d404[_0x1da73e(0x1c9)]();var _0x1b8245=new cv[(_0x1da73e(0x207))](_0x270262[_0x1da73e(0x156)]/0x2,0x2,cv['CV_32F'],_0x270262);cv['gemm'](this.#p001,_0x3ec7ea,0x1,_0x3ec7ea,0x0,this.#p001,0x0),_0x3ec7ea['delete']();let _0x598b79=this.#f008(this.#p001,_0x401a5c,_0x460a97);var _0x2b53ec=0x0,_0x4c7f46=0x0,_0x233540=(_0x5a6990[_0x1da73e(0x156)]+_0x40ef3f[_0x1da73e(0x156)]+_0x4d98ee[_0x1da73e(0x156)])/0x3/this[_0x1da73e(0x186)];if(_0x5a6990['length']==0x0||_0x40ef3f[_0x1da73e(0x156)]==0x0||_0x4d98ee[_0x1da73e(0x156)]==0x0){if('dHuud'!=='Hxgul')return{'points':_0x1b8245,'ddx':0x0,'ddy':0x0,'ddr':0x1,'cx':_0x32bcce,'cy':_0x294643,'errors':_0x457eb1,'confidence':_0x233540};else _0x160613[_0x1da73e(0x176)](_0x46a50c,new _0x336a9c[(_0x1da73e(0x134))](_0x4efa4c,_0x505a4f),0x2,_0x2d34d8,0x2);}var _0x892c6c=this[_0x1da73e(0x21f)](_0x5a6990),_0x722df5=this[_0x1da73e(0x21f)](_0x40ef3f);if(this.#p002&&this.#p003&&(_0x892c6c>0.1||_0x722df5>0.1))'KcIic'!==_0x1da73e(0x1a4)?_0x5340be=0x1:(_0x2b53ec=_0x598b79['x']-this.#p002,_0x4c7f46=_0x598b79['y']-this.#p003);else{var _0x30977e=this[_0x1da73e(0x1fa)](_0x5a6990,_0x40ef3f,_0x24e055,_0x457f36,wTracker[_0x1da73e(0x20d)],wTracker[_0x1da73e(0x148)]);_0x2b53ec=_0x30977e[_0x1da73e(0x232)],_0x4c7f46=_0x30977e[_0x1da73e(0x16a)];}this.#p002=_0x598b79['x'],this.#p003=_0x598b79['y'];if(_0x4d98ee[_0x1da73e(0x156)]>0x0)var _0x48686b=this.#f028(_0x4d98ee);else var _0x48686b=0x1;var _0x32bcce=_0x598b79['x'],_0x294643=_0x598b79['y'];if(_0x401a5c){if('bYmJg'==='CEjRX'){var _0x5cf84b=_0x53f577?_0x3c52ef:0x1;_0x577d7e=_0xe16214[_0x1da73e(0x15a)]/_0x5cf84b,_0x4a15b4=-0x1*_0x27b507+_0x181f38['LAST_Z'],_0x4b6cf3*=_0xf71ff[_0x1da73e(0x13a)]*_0x19fddf[_0x1da73e(0x166)]/_0x4c8f9b,_0x440bda['abs'](_0x506f64)>0.5&&(_0x3fcbda=(_0x89fdfe>0x0?0x1:-0x1)*0.5,_0x5bf582=_0x3d2d58[_0x1da73e(0x15a)]-_0x438772),_0x507a9b['LAST_Z']=_0x1e9bce,_0x55c9cf=0x1;}else{cv['circle'](_0x7ae990,new cv['Point'](_0x32bcce,_0x294643),0xa,_0xa7eb3,0x2);;_0x7ae990[_0x1da73e(0x1c9)]();}}return{'points':_0x1b8245,'ddx':_0x2b53ec,'ddy':_0x4c7f46,'ddr':_0x48686b,'cx':_0x32bcce,'cy':_0x294643,'errors':_0x457eb1,'confidence':_0x233540};}#f011(_0xdd511,_0x36c256,_0x290c56=![],_0x23cc16,_0x4be9c6,_0x26a319){var _0x334afe=a0_0x130db8;if(!_0xdd511||!_0x36c256)return;wTracker[_0x334afe(0x20d)]+=_0xdd511,wTracker['SSY']+=_0x36c256;if(_0x290c56){if(_0x334afe(0x239)!==_0x334afe(0x239))return _0x337e5c[_0x334afe(0x26e)](_0x397586);else{var _0x520969=new cv[(_0x334afe(0x1f9))]();_0x23cc16['copyTo'](_0x520969),cv[_0x334afe(0x270)](_0x520969,_0x520969,cv[_0x334afe(0x17a)],0x0);var _0x572481=new cv[(_0x334afe(0x14e))](0xff,0x0,0xff),_0x2d79f2=new cv['Scalar'](0xff,0xff,0x0);cv[_0x334afe(0x176)](_0x520969,new cv[(_0x334afe(0x134))](wTracker[_0x334afe(0x20d)],wTracker[_0x334afe(0x148)]),0x4,_0x572481,0x2);if(_0x4be9c6&&_0x26a319)cv[_0x334afe(0x176)](_0x520969,new cv[(_0x334afe(0x134))](_0x4be9c6,_0x26a319),0x6,_0x2d79f2,0x4);;_0x520969['delete']();}}}['syncSSPos'](_0x40f1bf){var _0x4a49c5=a0_0x130db8;const _0x347e2a=_0x40f1bf[_0x4a49c5(0x265)](',');wTracker['SSX']=_0x347e2a[0x0]*wTracker['CANVAS_WIDTH'],wTracker[_0x4a49c5(0x148)]=(0x1-_0x347e2a[0x1])*wTracker[_0x4a49c5(0x21c)];}#f012(_0x4262f8=-0x3,_0x292405=1.25,_0xf07c2b=0.4){var _0x5449d5=a0_0x130db8;this[_0x5449d5(0x12d)]=this[_0x5449d5(0x1e9)]?-this['compassHeading']:0x0,this[_0x5449d5(0x125)]=0x0,this.#p000=new Quaternion(),this[_0x5449d5(0x209)]=_0xf07c2b,this.#p012=new Vector3(0x0,_0x292405,_0x4262f8);}#f013(_0x6e82c7=-0x3,_0x277b85=1.25,_0x4db3f1=0.4){var _0x34a365=a0_0x130db8;this[_0x34a365(0x12d)]=this[_0x34a365(0x1e9)]?-this[_0x34a365(0x155)]:0x0,this[_0x34a365(0x125)]=0x0,this.#p000=new Quaternion(),this[_0x34a365(0x209)]=_0x4db3f1,this.#p012=new Vector3(0x0,_0x277b85,_0x6e82c7);}#f014(){var _0x3807d3=a0_0x130db8,_0x142b54=0x1,_0x151d78=0x0,_0x1317e7=0x0,_0x16cbd1=0x0;if(wTracker.#p000){if('yJMPc'!==_0x3807d3(0x1e3)){if(this.#p007['hasPrediction']){if(_0x3807d3(0x228)!==_0x3807d3(0x22c)){var _0x7316ae=(Date['now']()-this[_0x3807d3(0x170)])/0x3e8,_0x67aa85=wTracker.#f032(_0x7316ae);_0x142b54=_0x67aa85['w'],_0x151d78=_0x67aa85['i'],_0x1317e7=_0x67aa85['j'],_0x16cbd1=_0x67aa85['k'];}else{;return![];}}else _0x142b54=wTracker.#p000['w'],_0x151d78=wTracker.#p000['i'],_0x1317e7=wTracker.#p000['j'],_0x16cbd1=wTracker.#p000['k'];wTracker.#f033(wTracker.#p000['w'],wTracker.#p000['i'],wTracker.#p000['j'],wTracker.#p000['k']);}else _0x1d05f7[_0x3807d3(0x287)][_0x3807d3(0x151)](_0x4de7ba),_0x3eb7c3[_0x3807d3(0x194)](_0x3f568a=>{var _0x2b87e8=_0x3807d3;;_0x58aa1a['cv']=_0x3f568a;;_0x411170[_0x2b87e8(0x174)]('resize',_0x50e574[_0x2b87e8(0x25c)][_0x2b87e8(0x229)],!![]);;_0x1b5aab();});}return{'w':_0x142b54,'i':_0x151d78,'j':_0x1317e7,'k':_0x16cbd1};}#f015(_0x2d539e,_0x1e7b09=![]){var _0x33275c=a0_0x130db8,_0xa948ce=new cv['Mat']();cv['cvtColor'](_0x2d539e,_0xa948ce,cv[_0x33275c(0x219)],0x0);var _0x57c2c1=new cv[(_0x33275c(0x1f9))]();cv[_0x33275c(0x196)](_0xa948ce,_0x57c2c1,new cv[(_0x33275c(0x19d))](0x0,0x0),0x3),cv[_0x33275c(0x199)](_0xa948ce,0x4,_0x57c2c1,-0x3,0x0,_0x57c2c1),_0xa948ce[_0x33275c(0x1c9)]();if(_0x1e7b09);return _0x57c2c1;}[a0_0x130db8(0x200)](_0x558613){var _0x1e96d3=a0_0x130db8;;var _0x1ac0dc=_0x558613[_0x1e96d3(0x265)](','),_0x363b16=new Vector3(parseFloat(_0x1ac0dc[0x0]),parseFloat(_0x1ac0dc[0x1]),parseFloat(_0x1ac0dc[0x2]));this.#p012=new Vector3(_0x363b16['x'],_0x363b16['y'],_0x363b16['z']),this.#p015=_0x363b16,this[_0x1e96d3(0x166)]=Math[_0x1e96d3(0x195)](_0x363b16['z']),this[_0x1e96d3(0x15a)]=this['START_Z'],this[_0x1e96d3(0x1d8)](),this[_0x1e96d3(0x20b)](_0x363b16);}[a0_0x130db8(0x14f)](_0x3716ec,_0x2f9251=a0_0x130db8(0x268)){var _0x158376=a0_0x130db8;console[_0x158376(0x13b)](_0x3716ec),this.#f000(_0x2f9251);;var _0x36d4b1=JSON['parse'](_0x3716ec);;Object[_0x158376(0x224)](_0x36d4b1)[_0x158376(0x1f1)](_0x3fe947=>{var _0xd4c922=_0x158376;if(_0xd4c922(0x277)!=='NbWdg'){if(this[_0x3fe947]!=_0x36d4b1[_0x3fe947]){this[_0x3fe947]=_0x36d4b1[_0x3fe947];;}}else{var _0x225442=_0x233aa0['w']+','+_0x14a8b4['i']+','+_0x2de038['j']+','+_0xecb681['k']+','+_0x4b84c3['x']+','+_0x4b7aa2['y']+','+_0x19d613['z']+','+_0x228f89[_0xd4c922(0x175)]+','+_0x53beb5['c'];if(_0xd5dcb1[_0xd4c922(0x27d)])_0x251283[_0xd4c922(0x27d)]['SendMessage'](_0x442d51['TRACKER_NAME'],_0xd4c922(0x1f5),_0x225442);}});if(this.#p008){if('xYGfe'===_0x158376(0x165))this.#p008['delete'](),this.#p008=null;else{var _0x568b42=new _0x55900f[(_0x158376(0x1f9))]();_0x3ec38e[_0x158376(0x270)](_0x2f10cb,_0x568b42,_0xdbad1b['COLOR_GRAY2RGB'],0x0);var _0x54b0a7=new _0x28cd77[(_0x158376(0x14e))](0xff,0xff,0x0),_0x4d99c4=new _0x19c951[(_0x158376(0x14e))](0xff,0x0,0x0),_0xe7771a=[new _0x47d4bc[(_0x158376(0x134))](_0x5ddb76['data32F'][0x0],_0x4b4342[_0x158376(0x15c)][0x1]),new _0x999c95[(_0x158376(0x134))](_0x5efb36[_0x158376(0x15c)][0x2],_0x2dc7d6[_0x158376(0x15c)][0x3]),new _0x555535['Point'](_0x34bae9[_0x158376(0x15c)][0x4],_0x2b0ad7[_0x158376(0x15c)][0x5]),new _0x554770[(_0x158376(0x134))](_0x1fe1d8[_0x158376(0x15c)][0x6],_0x5d9549[_0x158376(0x15c)][0x7])];for(var _0x1a7d47=0x0;_0x1a7d47<_0xe7771a[_0x158376(0x156)];_0x1a7d47++){_0x443a40[_0x158376(0x1b9)](_0x568b42,_0xe7771a[_0x1a7d47],_0xe7771a[(_0x1a7d47+0x1)%_0xe7771a[_0x158376(0x156)]],_0x54b0a7,0x2);}_0xb51d92[_0x158376(0x176)](_0x568b42,new _0xb85f3b[(_0x158376(0x134))](_0x52018d['x'],_0x319396['y']),0x5,_0x54b0a7,0x2),_0x164250[_0x158376(0x176)](_0x568b42,new _0x14da99[(_0x158376(0x134))](this[_0x158376(0x20d)],this[_0x158376(0x148)]),0x3,_0x4d99c4,0x2);;_0x568b42[_0x158376(0x1c9)]();}}this[_0x158376(0x182)](this['MODE']);}[a0_0x130db8(0x1d8)](){var _0x3e65ec=a0_0x130db8;if(this.#p006)this.#p006[_0x3e65ec(0x1c9)]();this.#p006=null,this['SSX']=this[_0x3e65ec(0x161)]/0x2,this[_0x3e65ec(0x148)]=this[_0x3e65ec(0x21c)]/0x2,this.#p002=this[_0x3e65ec(0x20d)],this.#p003=this[_0x3e65ec(0x148)],wTracker.#p001=cv[_0x3e65ec(0x207)](0x3,0x3,cv[_0x3e65ec(0x279)],[0x1,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x1]),this.#f031();}[a0_0x130db8(0x20b)](_0x16515f){var _0x4de574=a0_0x130db8;this.#p014[_0x4de574(0x1e4)](0x0,0x0,0x0),this.#p015[_0x4de574(0x1e4)](_0x16515f['x'],_0x16515f['y'],_0x16515f['z']),this.#p017=0x1;}#f016(_0x1ebd85){var _0x124089=a0_0x130db8;if(_0x1ebd85){var _0x531f27=_0x1ebd85['w']+','+_0x1ebd85['i']+','+_0x1ebd85['j']+','+_0x1ebd85['k']+','+_0x1ebd85['x']+','+_0x1ebd85['y']+','+_0x1ebd85['z']+','+_0x1ebd85[_0x124089(0x175)]+','+_0x1ebd85['c'];if(window['unityInstance'])window[_0x124089(0x27d)][_0x124089(0x153)](wTracker[_0x124089(0x24f)],_0x124089(0x1f5),_0x531f27);}}#f017(_0x1f6824){var _0x3e6fbf=a0_0x130db8;if(_0x1f6824){if('resRB'===_0x3e6fbf(0x235))_0x1edf87[0x2]=_0x410da4,_0x309b1c[0x2]=_0x3b0793;else{var _0x21a739=_0x1f6824['w']+','+_0x1f6824['i']+','+_0x1f6824['j']+','+_0x1f6824['k']+','+_0x1f6824['x']+','+_0x1f6824['y']+','+_0x1f6824['z']+','+_0x1f6824[_0x3e6fbf(0x175)]+','+_0x1f6824['c'];if(window[_0x3e6fbf(0x27d)])window[_0x3e6fbf(0x27d)][_0x3e6fbf(0x153)](wTracker[_0x3e6fbf(0x24f)],_0x3e6fbf(0x16d),_0x21a739);}}}#f018(_0x3b4d5f){var _0x3da12b=a0_0x130db8;if(_0x3b4d5f){if(_0x3da12b(0x206)===_0x3da12b(0x11f))return;else{var _0x5d54dd=_0x3b4d5f['w']+','+_0x3b4d5f['i']+','+_0x3b4d5f['j']+','+_0x3b4d5f['k']+','+_0x3b4d5f['x']+','+_0x3b4d5f['y']+','+_0x3b4d5f['z']+','+_0x3b4d5f['sca']+','+_0x3b4d5f['c'];if(window[_0x3da12b(0x27d)])window[_0x3da12b(0x27d)][_0x3da12b(0x153)](wTracker[_0x3da12b(0x24f)],'UpdateCameraTransform_3DOF_Orbit',_0x5d54dd);}}}#f019(){var _0x4630e3=a0_0x130db8;if(!wTracker[_0x4630e3(0x161)]){if('qxwah'!==_0x4630e3(0x18f))_0x4b9b25[_0x4630e3(0x255)][_0x4630e3(0x1da)](_0xee5617=>{var _0x3817b3=_0x4630e3,_0x272434=_0xee5617[_0x3817b3(0x11d)][_0x3817b3(0x1a5)]+','+_0xee5617[_0x3817b3(0x11d)][_0x3817b3(0x19c)]+','+_0xee5617[_0x3817b3(0x11d)][_0x3817b3(0x19f)]+','+_0xee5617[_0x3817b3(0x11d)][_0x3817b3(0x158)]+','+_0xee5617[_0x3817b3(0x11d)][_0x3817b3(0x1bf)]+','+_0xee5617[_0x3817b3(0x11d)]['longitude']+','+_0xee5617[_0x3817b3(0x11d)][_0x3817b3(0x143)]+','+_0x327538['START_ALPHA']+',';_0x6c816d[_0x3817b3(0x27d)][_0x3817b3(0x153)](_0x20d885[_0x3817b3(0x24f)],_0x3817b3(0x214),_0x272434);},_0x5b963a=>{var _0x33dca9=_0x4630e3;_0x5d96de[_0x33dca9(0x27d)][_0x33dca9(0x153)](_0x28e89b[_0x33dca9(0x24f)],_0x33dca9(0x139),'Error\x20getting\x20GPS\x20position:\x20'+_0x5b963a[_0x33dca9(0x1c6)]);},{'enableHighAccuracy':!![]});else return;}var _0x67e307=wTracker['unityCanvas'],_0x3e6bb3=navigator[_0x4630e3(0x1c3)]['match'](/SamsungBrowser/i);if(_0x3e6bb3){if(_0x4630e3(0x231)!==_0x4630e3(0x231))_0x57d4ab*=-0x1,_0x3bd21b*=-0x1,_0x3ebc85*=-0x1,_0x1c7ec8*=-0x1;else{_0x67e307['style']['width']=_0x4630e3(0x263),_0x67e307['style']['height']=_0x4630e3(0x263);;}}else'GFyJq'!=='HnyjD'?(_0x67e307[_0x4630e3(0x26b)][_0x4630e3(0x149)]=window[_0x4630e3(0x180)]+'px',_0x67e307[_0x4630e3(0x26b)][_0x4630e3(0x25f)]=window[_0x4630e3(0x20e)]+'px'):_0x26a309['unityInstance']['SendMessage'](_0x56094c[_0x4630e3(0x24f)],_0x4630e3(0x139),_0x4630e3(0x1c7));var _0x22e13d=wTracker['videoBackground'],_0x380cae=this[_0x4630e3(0x1fb)][_0x4630e3(0x284)]();;var _0x3f948e=wTracker['ASPECT_RATIO'],_0x685843=window['innerWidth'],_0x1253e0=window['innerHeight'],_0x4a4f78=_0x685843/_0x1253e0;;if(_0x4a4f78>_0x3f948e){document[_0x4630e3(0x287)]['style'][_0x4630e3(0x25f)]=window['innerHeight']+'px';var _0x52d522=window[_0x4630e3(0x20e)];_0x3f948e*=window[_0x4630e3(0x20e)]/_0x52d522;if(_0x3e6bb3){if(_0x4630e3(0x1f3)===_0x4630e3(0x1f3))_0x22e13d[_0x4630e3(0x26b)][_0x4630e3(0x149)]=_0x4630e3(0x263),_0x22e13d['style'][_0x4630e3(0x25f)]=_0x4630e3(0x1fd);else{_0x1b8386[_0x4630e3(0x287)][_0x4630e3(0x26b)]['height']=_0x215889[_0x4630e3(0x20e)]+'px';var _0x505965=_0x5185b3[_0x4630e3(0x20e)];_0x4095ae*=_0x39d084[_0x4630e3(0x20e)]/_0x505965;;_0x338bc4?(_0x4b4c50[_0x4630e3(0x26b)][_0x4630e3(0x25f)]=_0x4630e3(0x263),_0x1c4641[_0x4630e3(0x26b)][_0x4630e3(0x149)]='auto'):(_0x4e9790[_0x4630e3(0x26b)][_0x4630e3(0x25f)]=_0x43ee2e[_0x4630e3(0x20e)]+'px',_0x2df263[_0x4630e3(0x26b)][_0x4630e3(0x149)]=_0x1ca821[_0x4630e3(0x20e)]*_0x49e27b+'px');}}else _0x22e13d['style'][_0x4630e3(0x149)]=window[_0x4630e3(0x180)]+'px',_0x22e13d[_0x4630e3(0x26b)]['height']=window[_0x4630e3(0x180)]/_0x3f948e+'px';_0x3f948e=wTracker[_0x4630e3(0x183)]*(window[_0x4630e3(0x180)]/wTracker['ASPECT_RATIO']/_0x52d522);}else{document[_0x4630e3(0x287)][_0x4630e3(0x26b)][_0x4630e3(0x25f)]=window[_0x4630e3(0x20e)]+'px';var _0x52d522=window[_0x4630e3(0x20e)];_0x3f948e*=window[_0x4630e3(0x20e)]/_0x52d522;;if(_0x3e6bb3)_0x22e13d['style'][_0x4630e3(0x25f)]='100%',_0x22e13d[_0x4630e3(0x26b)]['width']=_0x4630e3(0x1fd);else{if(_0x4630e3(0x159)===_0x4630e3(0x17f)){var _0xdb66ff=_0x79bebd[_0x4630e3(0x11e)](_0x7aa3f6,arguments);return _0x380780=null,_0xdb66ff;}else _0x22e13d[_0x4630e3(0x26b)]['height']=window['innerHeight']+'px',_0x22e13d['style'][_0x4630e3(0x149)]=window[_0x4630e3(0x20e)]*_0x3f948e+'px';}}var _0x2a4a7c=0.5*wTracker['CANVAS_WIDTH']/_0x3f948e,_0x345cf8=wTracker[_0x4630e3(0x161)],_0x4df7d5=0x2*Math['atan'](_0x2a4a7c/_0x345cf8)*0xb4/Math['PI'];this[_0x4630e3(0x198)]=_0x4df7d5;;if(window['unityInstance'])window['unityInstance'][_0x4630e3(0x153)](this['TRACKER_NAME'],_0x4630e3(0x24e),_0x4df7d5);else;}#f020(_0x254557,_0xeb1325){var _0x2454c6=a0_0x130db8,_0x406c91=0.5,_0x11e54a=document[_0x2454c6(0x11a)](_0xeb1325);if(!_0x11e54a){_0x11e54a=document[_0x2454c6(0x1dc)](_0x2454c6(0x28a)),_0x11e54a['id']=_0xeb1325,document[_0x2454c6(0x287)][_0x2454c6(0x151)](_0x11e54a);if(!this['debugIds'])this[_0x2454c6(0x167)]=[];this[_0x2454c6(0x167)]['push'](_0xeb1325),_0x11e54a[_0x2454c6(0x26b)][_0x2454c6(0x160)]=_0x2454c6(0x243),_0x11e54a['style']['top']=_0x2454c6(0x181),_0x11e54a[_0x2454c6(0x26b)][_0x2454c6(0x244)]='0px',_0x11e54a[_0x2454c6(0x26b)][_0x2454c6(0x141)]=_0x2454c6(0x17c)+_0x406c91+')';}cv['imshow'](_0xeb1325,_0x254557);var _0x5f6410=this['debugIds'][_0x2454c6(0x1e6)](_0xeb1325);if(_0x5f6410!=-0x1){if('xhwLv'===_0x2454c6(0x1ee))_0x11e54a[_0x2454c6(0x26b)]['left']=_0x5f6410*_0x254557[_0x2454c6(0x205)]()['width']*_0x406c91+'px';else{var _0x1f0cb5=new _0x4069c6(this['w'],-0x1*this['i'],-0x1*this['j'],-0x1*this['k']);return _0x1f0cb5;}}}#f021(_0x3b2570){var _0x6fb66a=a0_0x130db8,_0x27fc1f=document[_0x6fb66a(0x11a)](_0x3b2570);if(_0x27fc1f){if(_0x6fb66a(0x1f6)===_0x6fb66a(0x1f6)){_0x27fc1f[_0x6fb66a(0x24c)]();var _0x9f90ae=this[_0x6fb66a(0x167)][_0x6fb66a(0x1e6)](_0x3b2570);_0x9f90ae!==-0x1&&this[_0x6fb66a(0x167)][_0x6fb66a(0x215)](_0x9f90ae,0x1);}else var _0x5f198b=_0x334b64[_0x6fb66a(0x1eb)](_0xadb8c1['GY']/_0x53d56c)*0xb4/_0x1496e3['PI']*-0x1,_0x164eee=_0x135716[_0x6fb66a(0x269)](-0x1*_0x4bf851['GX']/_0x3b4cec['GZ'])*0xb4/_0x2b498d['PI']*-0x1;}}#f022(_0x5b3780){var _0x5a8679=a0_0x130db8;if(!wTracker['isStarted'])return;if(_0x5b3780[_0x5a8679(0x266)])_0x5a8679(0x281)!==_0x5a8679(0x247)?(wTracker['compassHeading']=_0x5b3780[_0x5a8679(0x266)],console[_0x5a8679(0x13b)]('iOS\x20compassAccuracy',_0x5b3780[_0x5a8679(0x1ce)])):(_0x3d76cd=(_0x3b8af8>0x0?0x1:-0x1)*0.5,_0x198c99=_0x3b6ad2[_0x5a8679(0x15a)]-_0x1019a4);else{if(_0x5a8679(0x179)in window){}else wTracker[_0x5a8679(0x155)]=wTracker[_0x5a8679(0x1ef)](_0x5b3780[_0x5a8679(0x1d4)],_0x5b3780['beta'],_0x5b3780[_0x5a8679(0x1b7)]);}return;!wTracker[_0x5a8679(0x126)]&&(wTracker[_0x5a8679(0x12d)]=-wTracker['compassHeading'],wTracker[_0x5a8679(0x125)]=window[_0x5a8679(0x24a)]||0x0,wTracker[_0x5a8679(0x126)]={});if(wTracker[_0x5a8679(0x1ec)]()){if(_0x5a8679(0x169)===_0x5a8679(0x169))var _0x34ff28=_0x5b3780[_0x5a8679(0x1d4)],_0x4b4bca=_0x5b3780[_0x5a8679(0x238)],_0x2a7e06=_0x5b3780[_0x5a8679(0x1b7)];else{;_0xee0b2c[_0x5a8679(0x20c)]=_0x4caca5[_0x5a8679(0x255)][_0x5a8679(0x21a)](_0x573860=>{var _0x4e56d8=_0x5a8679,_0x51ec58=_0x573860[_0x4e56d8(0x11d)][_0x4e56d8(0x1a5)]+','+_0x573860[_0x4e56d8(0x11d)][_0x4e56d8(0x19c)]+','+_0x573860[_0x4e56d8(0x11d)][_0x4e56d8(0x19f)]+','+_0x573860['coords'][_0x4e56d8(0x158)]+','+_0x573860[_0x4e56d8(0x11d)]['latitude']+','+_0x573860['coords'][_0x4e56d8(0x1a9)]+','+_0x573860[_0x4e56d8(0x11d)][_0x4e56d8(0x143)]+','+_0x6d1eb6[_0x4e56d8(0x12d)]+',';_0x276a98[_0x4e56d8(0x27d)]['SendMessage'](_0x4a878c[_0x4e56d8(0x24f)],'OnGPSPosition',_0x51ec58);},_0x22f008=>{var _0x31980e=_0x5a8679;_0x279428['unityInstance']['SendMessage'](_0x28ee63[_0x31980e(0x24f)],_0x31980e(0x139),_0x31980e(0x245)+_0x22f008['message']);},{'enableHighAccuracy':!![]});}}else{if(wTracker[_0x5a8679(0x1ff)]())var _0x34ff28=_0x5b3780[_0x5a8679(0x1d4)],_0x4b4bca=-0x1*_0x5b3780[_0x5a8679(0x1b7)],_0x2a7e06=_0x5b3780[_0x5a8679(0x238)];else{if(wTracker[_0x5a8679(0x1c1)]())var _0x34ff28=_0x5b3780[_0x5a8679(0x1d4)],_0x4b4bca=_0x5b3780['gamma'],_0x2a7e06=-0x1*_0x5b3780[_0x5a8679(0x238)];}}wTracker[_0x5a8679(0x126)][_0x5a8679(0x1d4)]=_0x34ff28,wTracker[_0x5a8679(0x126)]['beta']=_0x4b4bca,wTracker[_0x5a8679(0x126)][_0x5a8679(0x1b7)]=_0x2a7e06;return;}#f023(_0x11919b){var _0x35b44c=a0_0x130db8;if(!wTracker[_0x35b44c(0x234)])return;var _0x3eb274=wTracker[_0x35b44c(0x1b3)]()?0x1:-0x1;wTracker['GX']=_0x11919b['accelerationIncludingGravity']['x']*_0x3eb274,wTracker['GY']=_0x11919b[_0x35b44c(0x190)]['y']*_0x3eb274,wTracker['GZ']=_0x11919b[_0x35b44c(0x190)]['z']*_0x3eb274;var _0x1c6db1=wTracker.#f024();if(!wTracker.#p000&&Date[_0x35b44c(0x185)]()-wTracker[_0x35b44c(0x1d2)]>0xbb8){if(_0x35b44c(0x1e2)!==_0x35b44c(0x1e2)){var _0x5388bf=this[_0x35b44c(0x1fa)](_0x41881e,_0x5912cf,_0x5b4fbd,_0x44da49,_0x515b83['SSX'],_0x17f5c1[_0x35b44c(0x148)]);_0x1c8b49=_0x5388bf[_0x35b44c(0x232)],_0x4b10aa=_0x5388bf[_0x35b44c(0x16a)];}else wTracker.#p000=new Quaternion(),wTracker.#p000=_0x1c6db1;}if(!wTracker.#p000)return;if(wTracker[_0x35b44c(0x12d)]==null)return;var _0x5517cf=wTracker.#p000[_0x35b44c(0x21e)](),_0x679e62=_0x1c6db1[_0x35b44c(0x21e)](),_0x1c2a2b=new cv[(_0x35b44c(0x1f9))](0x3,0x1,cv[_0x35b44c(0x120)]);_0x1c2a2b['data32F'][0x0]=_0x5517cf['data32F'][0x3],_0x1c2a2b[_0x35b44c(0x15c)][0x1]=_0x5517cf[_0x35b44c(0x15c)][0x4],_0x1c2a2b[_0x35b44c(0x15c)][0x2]=_0x5517cf[_0x35b44c(0x15c)][0x5];var _0x525a25=new cv[(_0x35b44c(0x1f9))](0x3,0x1,cv[_0x35b44c(0x120)]);_0x525a25[_0x35b44c(0x15c)][0x0]=_0x679e62[_0x35b44c(0x15c)][0x3],_0x525a25['data32F'][0x1]=_0x679e62[_0x35b44c(0x15c)][0x4],_0x525a25[_0x35b44c(0x15c)][0x2]=_0x679e62[_0x35b44c(0x15c)][0x5];var _0x5abf27=0x1-_0x1c2a2b[_0x35b44c(0x1b6)](_0x525a25);_0x5517cf['delete'](),_0x679e62[_0x35b44c(0x1c9)](),_0x1c2a2b[_0x35b44c(0x1c9)](),_0x525a25[_0x35b44c(0x1c9)]();if(_0x5abf27>0.025){if(!wTracker[_0x35b44c(0x187)])wTracker['driftCounter']=0x0;wTracker[_0x35b44c(0x187)]++;if(wTracker['driftCounter']>0x14){wTracker.#p000=_0x1c6db1,wTracker[_0x35b44c(0x187)]=0x0;;}}else wTracker[_0x35b44c(0x187)]--,wTracker[_0x35b44c(0x187)]=wTracker[_0x35b44c(0x187)]<0x0?0x0:wTracker['driftCounter'];var _0x7a935f=_0x11919b[_0x35b44c(0x193)];wTracker['rotationRate']=_0x7a935f;var _0xecc84f=0x0;if(wTracker[_0x35b44c(0x233)]){if(_0x35b44c(0x135)!==_0x35b44c(0x135)){const _0x7bf497=_0x35ef9f['floor'](_0x286d43['length']/0x2),_0x2d34c9=[..._0x8c5cb4][_0x35b44c(0x17e)]((_0x37386e,_0x3c94d4)=>_0x37386e-_0x3c94d4);return _0x751eb7['length']%0x2!==0x0?_0x2d34c9[_0x7bf497]:(_0x2d34c9[_0x7bf497-0x1]+_0x2d34c9[_0x7bf497])/0x2;}else _0xecc84f=(Date[_0x35b44c(0x185)]()-wTracker['lastMotionUpdateTime'])/0x3e8;}wTracker['lastMotionUpdateTime']=Date['now']();if(wTracker['isPortrait']())var _0x3411ec=_0x7a935f['alpha']*_0xecc84f,_0x1a7f1d=_0x7a935f[_0x35b44c(0x238)]*_0xecc84f,_0x41d242=_0x7a935f[_0x35b44c(0x1b7)]*_0xecc84f;else{if(wTracker[_0x35b44c(0x1ff)]()){if(_0x35b44c(0x248)==='xSEQC'){var _0x4d98f0=new _0x3bce6a['Mat']();_0x128ca8[_0x35b44c(0x270)](_0x965046,_0x4d98f0,_0x5bad4e[_0x35b44c(0x219)],0x0);var _0x3cdbae=new _0x4dc5c6[(_0x35b44c(0x1f9))]();_0x233e8c[_0x35b44c(0x196)](_0x4d98f0,_0x3cdbae,new _0x3c3ce3[(_0x35b44c(0x19d))](0x0,0x0),0x3),_0x422c8e['addWeighted'](_0x4d98f0,0x4,_0x3cdbae,-0x3,0x0,_0x3cdbae),_0x4d98f0[_0x35b44c(0x1c9)]();if(_0x5e5428);return _0x3cdbae;}else var _0x3411ec=-0x1*_0x7a935f[_0x35b44c(0x238)]*_0xecc84f,_0x1a7f1d=_0x7a935f[_0x35b44c(0x1d4)]*_0xecc84f,_0x41d242=_0x7a935f['gamma']*_0xecc84f;}else{if(wTracker[_0x35b44c(0x1c1)]()){if(_0x35b44c(0x184)===_0x35b44c(0x184))var _0x3411ec=_0x7a935f[_0x35b44c(0x238)]*_0xecc84f,_0x1a7f1d=-0x1*_0x7a935f[_0x35b44c(0x1d4)]*_0xecc84f,_0x41d242=_0x7a935f[_0x35b44c(0x1b7)]*_0xecc84f;else return _0x54d6db[arguments[0x0]];}}}if(!_0x3411ec||!_0x1a7f1d||!_0x41d242){if(_0x35b44c(0x20a)!=='DMbKa')return _0x1b8360[_0x35b44c(0x24a)]===0x5a;else _0x3411ec=0x0,_0x1a7f1d=0x0,_0x41d242=0x0;}if(wTracker[_0x35b44c(0x168)]==null)wTracker[_0x35b44c(0x168)]=wTracker[_0x35b44c(0x12d)];wTracker['cumAlpha']+=_0x1a7f1d,wTracker['cumAlpha']=wTracker[_0x35b44c(0x168)]%0x168;;var _0x5d5f85=new Quaternion();_0x5d5f85['setFromAngles'](_0x41d242,-0x1*_0x1a7f1d,-0x1*_0x3411ec);;wTracker.#p000=wTracker.#p000[_0x35b44c(0x1cf)](_0x5d5f85);}#f024(){var _0xfe4881=a0_0x130db8,_0x1fa2e2=Math['sqrt'](wTracker['GX']*wTracker['GX']+wTracker['GY']*wTracker['GY']+wTracker['GZ']*wTracker['GZ']);if(wTracker[_0xfe4881(0x1ec)]()){if(_0xfe4881(0x1db)==='psTmT')this['w']=_0x5b2f86,this['i']=_0x145995,this['j']=_0x4498a7,this['k']=_0x1a6ec9;else var _0x4f0ecf=Math[_0xfe4881(0x1eb)](wTracker['GX']/_0x1fa2e2)*0xb4/Math['PI']*-0x1,_0x107f31=Math[_0xfe4881(0x269)](wTracker['GY']/wTracker['GZ'])*0xb4/Math['PI']*-0x1;}else{if(wTracker[_0xfe4881(0x1ff)]()){if('yYWul'==='eouzj'){var _0x39cf38=this[_0xfe4881(0x26a)]-_0x3cbba8,_0x135f4a=this['lasti']-_0x381773,_0x33a6bb=this['lastj']-_0x1684db,_0xe41f=this['lastk']-_0x552689;(_0x39cf38*_0x39cf38>0x1||_0x135f4a*_0x135f4a>0x1||_0x33a6bb*_0x33a6bb>0x1||_0xe41f*_0xe41f>0x1)&&(_0x89f64c*=-0x1,_0x3dc7ca*=-0x1,_0x3f540f*=-0x1,_0xc310f0*=-0x1);}else var _0x4f0ecf=Math['asin'](wTracker['GY']/_0x1fa2e2)*0xb4/Math['PI'],_0x107f31=Math['atan'](-0x1*wTracker['GX']/wTracker['GZ'])*0xb4/Math['PI'];}else{if(wTracker[_0xfe4881(0x1c1)]())var _0x4f0ecf=Math[_0xfe4881(0x1eb)](wTracker['GY']/_0x1fa2e2)*0xb4/Math['PI']*-0x1,_0x107f31=Math[_0xfe4881(0x269)](-0x1*wTracker['GX']/wTracker['GZ'])*0xb4/Math['PI']*-0x1;}}if(wTracker['GZ']<0x0)_0x107f31+=0x5a;else _0x107f31-=0x5a;var _0x5e4186=new Quaternion();_0x5e4186['setFromAngles'](_0x4f0ecf,0x0,_0x107f31);var _0x3a4d0f=new Quaternion(),_0x4288bd=wTracker[_0xfe4881(0x155)];return _0x3a4d0f[_0xfe4881(0x13d)](0x0,_0x4288bd,0x0),_0x5e4186=_0x3a4d0f[_0xfe4881(0x1cf)](_0x5e4186),_0x5e4186;}[a0_0x130db8(0x191)](_0x36554a){var _0x228143=a0_0x130db8;const _0xfd6d83=_0x36554a[_0x228143(0x275)][_0x228143(0x289)],_0x4690d5=wTracker['quaternionToHeading'](_0x36554a[_0x228143(0x275)][_0x228143(0x22b)]);wTracker['compassHeading']=_0x4690d5;}['quaternionToHeading'](_0x1e1af){var _0x11d525=a0_0x130db8;let [_0x799e08,_0x5b29a0,_0x191c2d,_0x26355b]=_0x1e1af,_0x113b57=Math[_0x11d525(0x17d)](0x2*_0x799e08*_0x5b29a0+0x2*_0x191c2d*_0x26355b,0x1-0x2*_0x5b29a0*_0x5b29a0-0x2*_0x191c2d*_0x191c2d)*(0xb4/Math['PI']);if(_0x113b57<0x0)_0x113b57=0x168+_0x113b57;return(0x168-_0x113b57)[_0x11d525(0x154)](0x1);}[a0_0x130db8(0x23e)](){return new Promise((_0x1aa275,_0x58d6c0)=>{var _0x3daecf=a0_0x1689;_0x3daecf(0x255)in navigator?navigator[_0x3daecf(0x255)]['getCurrentPosition'](_0x669a14=>{var _0x494769=_0x3daecf;_0x1aa275(_0x669a14),wTracker[_0x494769(0x226)]=!![];},_0x30c036=>{var _0x5c26e6=_0x3daecf;if('VjUtm'==='sJAql'){if(_0x1dcb17){var _0x36d3f2=_0x4428d2['w']+','+_0x513c98['i']+','+_0x1646b9['j']+','+_0x95db16['k']+','+_0x3c7cd9['x']+','+_0xbf168f['y']+','+_0x3d8420['z']+','+_0x230fe8['sca']+','+_0x1435af['c'];if(_0x52f929[_0x5c26e6(0x27d)])_0x324f67['unityInstance'][_0x5c26e6(0x153)](_0x5628ef['TRACKER_NAME'],'UpdateCameraTransform_3DOF',_0x36d3f2);}}else _0x58d6c0(_0x5c26e6(0x245)+_0x30c036[_0x5c26e6(0x1c6)]);},{'enableHighAccuracy':!![]}):_0x58d6c0(_0x3daecf(0x250));});}[a0_0x130db8(0x1d9)](){var _0x50f479=a0_0x130db8;wTracker[_0x50f479(0x226)]?_0x50f479(0x1d1)!==_0x50f479(0x1d1)?(_0x51610b=0x0,_0x1a47d5=0x0,_0x45a67b=0x0):navigator[_0x50f479(0x255)][_0x50f479(0x1da)](_0x1c0e61=>{var _0x4b1362=_0x50f479,_0x1a3b8c=_0x1c0e61['coords'][_0x4b1362(0x1a5)]+','+_0x1c0e61['coords'][_0x4b1362(0x19c)]+','+_0x1c0e61[_0x4b1362(0x11d)]['altitudeAccuracy']+','+_0x1c0e61[_0x4b1362(0x11d)][_0x4b1362(0x158)]+','+_0x1c0e61[_0x4b1362(0x11d)]['latitude']+','+_0x1c0e61[_0x4b1362(0x11d)][_0x4b1362(0x1a9)]+','+_0x1c0e61[_0x4b1362(0x11d)][_0x4b1362(0x143)]+','+wTracker[_0x4b1362(0x12d)]+',';window[_0x4b1362(0x27d)][_0x4b1362(0x153)](wTracker[_0x4b1362(0x24f)],_0x4b1362(0x214),_0x1a3b8c);},_0x5585ba=>{var _0x22ae78=_0x50f479;'QstDo'===_0x22ae78(0x1c5)?_0x55fd7a+=0x2*_0x81e833['PI']:window[_0x22ae78(0x27d)][_0x22ae78(0x153)](wTracker[_0x22ae78(0x24f)],'OnGPSPositionError',_0x22ae78(0x245)+_0x5585ba[_0x22ae78(0x1c6)]);},{'enableHighAccuracy':!![]}):_0x50f479(0x1b8)===_0x50f479(0x1b8)?window[_0x50f479(0x27d)]['SendMessage'](wTracker['TRACKER_NAME'],_0x50f479(0x139),_0x50f479(0x1c7)):_0x23729a['log'](_0x50f479(0x1ea));}['subscribeToGPSPositionChanges'](){var _0x124dc4=a0_0x130db8;if(wTracker[_0x124dc4(0x226)]){if(_0x124dc4(0x12f)==='mORqO'){;wTracker['gpsWatchId']=navigator[_0x124dc4(0x255)][_0x124dc4(0x21a)](_0x3c9a55=>{var _0x4ffb8c=_0x124dc4,_0x393921=_0x3c9a55[_0x4ffb8c(0x11d)][_0x4ffb8c(0x1a5)]+','+_0x3c9a55[_0x4ffb8c(0x11d)]['altitude']+','+_0x3c9a55[_0x4ffb8c(0x11d)][_0x4ffb8c(0x19f)]+','+_0x3c9a55['coords'][_0x4ffb8c(0x158)]+','+_0x3c9a55[_0x4ffb8c(0x11d)][_0x4ffb8c(0x1bf)]+','+_0x3c9a55['coords']['longitude']+','+_0x3c9a55[_0x4ffb8c(0x11d)]['speed']+','+wTracker[_0x4ffb8c(0x12d)]+',';window[_0x4ffb8c(0x27d)][_0x4ffb8c(0x153)](wTracker[_0x4ffb8c(0x24f)],_0x4ffb8c(0x214),_0x393921);},_0x3b2af8=>{var _0x56692b=_0x124dc4;if(_0x56692b(0x210)===_0x56692b(0x172)){var _0x3505c7=_0x5191e3*(_0x2a70fa['PI']/0xb4),_0x22421c=_0x21c484*(_0x81cc33['PI']/0xb4),_0x458e19=_0x4f6de2*(_0x1a01c3['PI']/0xb4),_0x4b81a4=_0x554990[_0x56692b(0x1c2)](_0x3505c7),_0x525206=_0x1c2e54[_0x56692b(0x21b)](_0x3505c7),_0x5a2723=_0x5a7b35[_0x56692b(0x1c2)](_0x22421c),_0x4f9448=_0x50ddcc[_0x56692b(0x21b)](_0x22421c),_0x173b9a=_0x451b66[_0x56692b(0x1c2)](_0x458e19),_0x4e7e5e=_0x4f893c[_0x56692b(0x21b)](_0x458e19),_0x4c9d37=-_0x4b81a4*_0x4e7e5e-_0x525206*_0x4f9448*_0x173b9a,_0x454fbd=-_0x525206*_0x4e7e5e+_0x4b81a4*_0x4f9448*_0x173b9a,_0x5ae7c4=-_0x5a2723*_0x173b9a,_0x3c466d=_0x33665e[_0x56692b(0x269)](_0x4c9d37/_0x454fbd);if(_0x454fbd<0x0)_0x3c466d+=_0x2d11d4['PI'];else _0x4c9d37<0x0&&(_0x3c466d+=0x2*_0x329faf['PI']);return _0x3c466d*=0xb4/_0x7d7944['PI'],_0x3c466d;}else window[_0x56692b(0x27d)][_0x56692b(0x153)](wTracker[_0x56692b(0x24f)],'OnGPSPositionError',_0x56692b(0x245)+_0x3b2af8['message']);},{'enableHighAccuracy':!![]});}else{var _0x1a6589=0x0,_0x3827a5=0x0,_0x5917f3=0x0;for(var _0x1a2d10=0x0;_0x1a2d10<_0x2a2732[_0x124dc4(0x156)];_0x1a2d10++){var _0x58447a=_0x5b9677[_0x1a2d10],_0x147989=_0x36374b[_0x1a2d10],_0x3da350=_0x9f9db5-_0x58447a,_0x3769b2=_0x4bdae8-_0x147989,_0x3e9510=_0x3da350*_0x3da350+_0x3769b2*_0x3769b2,_0x458c11=0x1/(_0x3e9510*_0x3e9510*_0x3e9510*_0x3e9510);_0x3827a5+=_0x366d76[_0x1a2d10]*_0x458c11,_0x5917f3+=_0x434d8f[_0x1a2d10]*_0x458c11,_0x1a6589+=_0x458c11;}return{'ddx':_0x3827a5/_0x1a6589,'ddy':_0x5917f3/_0x1a6589};}}else window['unityInstance'][_0x124dc4(0x153)](wTracker[_0x124dc4(0x24f)],'OnGPSPositionError',_0x124dc4(0x1c7));}[a0_0x130db8(0x1f8)](){var _0x4c165c=a0_0x130db8;if(wTracker['gpsWatchId']){;navigator[_0x4c165c(0x255)][_0x4c165c(0x1d6)](wTracker[_0x4c165c(0x20c)]);}}[a0_0x130db8(0x227)](_0x2b4ed0){var _0x15ce36=a0_0x130db8;const _0x49aa43=_0x2b4ed0[0x0],_0x356795=_0x2b4ed0[0x1];let _0x3f1057=Math['atan2'](_0x356795,_0x49aa43);return _0x3f1057<0x0&&(_0x15ce36(0x15b)==='mbdxS'?(this['x']=_0x43d1ce,this['y']=_0x37d914,this['z']=_0x82da5b):_0x3f1057+=0x2*Math['PI']),_0x3f1057*=0xb4/Math['PI'],_0x3f1057;}[a0_0x130db8(0x1ef)](_0x3134bc,_0x35233a,_0x5c1b16){var _0x134919=a0_0x130db8,_0x5a3a78=_0x3134bc*(Math['PI']/0xb4),_0x229ae4=_0x35233a*(Math['PI']/0xb4),_0x2f0db6=_0x5c1b16*(Math['PI']/0xb4),_0x5ba9fd=Math[_0x134919(0x1c2)](_0x5a3a78),_0x56bb64=Math[_0x134919(0x21b)](_0x5a3a78),_0x2324ca=Math[_0x134919(0x1c2)](_0x229ae4),_0x2fe8a4=Math['sin'](_0x229ae4),_0x2c3dad=Math[_0x134919(0x1c2)](_0x2f0db6),_0x19e5b4=Math[_0x134919(0x21b)](_0x2f0db6),_0x527cde=-_0x5ba9fd*_0x19e5b4-_0x56bb64*_0x2fe8a4*_0x2c3dad,_0x11ab9e=-_0x56bb64*_0x19e5b4+_0x5ba9fd*_0x2fe8a4*_0x2c3dad,_0x46245f=-_0x2324ca*_0x2c3dad,_0x35dc4a=Math[_0x134919(0x269)](_0x527cde/_0x11ab9e);if(_0x11ab9e<0x0){if(_0x134919(0x288)!==_0x134919(0x1a2))_0x35dc4a+=Math['PI'];else{var _0x50042f=new _0x13a764(0x0,_0x142cd3['x'],_0x1cc254['y'],_0x8057c6['z']),_0x4dc831=this[_0x134919(0x21d)](),_0xe8e1d=this['mul_dont_normalize'](_0x50042f);_0xe8e1d=_0xe8e1d['mul_dont_normalize'](_0x4dc831);var _0x5388a8=new _0x526c6e(_0xe8e1d['i'],_0xe8e1d['j'],_0xe8e1d['k']);return _0x5388a8;}}else _0x527cde<0x0&&(_0x35dc4a+=0x2*Math['PI']);return _0x35dc4a*=0xb4/Math['PI'],_0x35dc4a;}#f025(_0x44804d){return Math['round'](_0x44804d*0x3e8)/0x3e8;}#f026(_0x5134a6,_0x3ea4cb,_0x542ad3){var _0x4c3c12=a0_0x130db8;return Math[_0x4c3c12(0x283)](Math[_0x4c3c12(0x1cd)](_0x5134a6,_0x3ea4cb),_0x542ad3);}#f027(_0x1f1393,_0x105afe,_0x728983,_0x2aa418,_0x55616b,_0x18795c,_0x53db6f,_0x40d75f){var _0x463d88=a0_0x130db8;if(_0x1f1393===_0x728983&&_0x105afe===_0x2aa418||_0x55616b===_0x53db6f&&_0x18795c===_0x40d75f){;return![];}let _0x424fb9=(_0x40d75f-_0x18795c)*(_0x728983-_0x1f1393)-(_0x53db6f-_0x55616b)*(_0x2aa418-_0x105afe);if(_0x424fb9===0x0){if(_0x463d88(0x27c)!==_0x463d88(0x253)){;return![];}else{const _0x37cb89=_0x256f8[_0x463d88(0x275)][_0x463d88(0x289)],_0x353b7a=_0x2fdfb8[_0x463d88(0x12c)](_0x588883[_0x463d88(0x275)][_0x463d88(0x22b)]);_0x4eb905['compassHeading']=_0x353b7a;}}let _0x413db=((_0x53db6f-_0x55616b)*(_0x105afe-_0x18795c)-(_0x40d75f-_0x18795c)*(_0x1f1393-_0x55616b))/_0x424fb9,_0x4d1842=((_0x728983-_0x1f1393)*(_0x105afe-_0x18795c)-(_0x2aa418-_0x105afe)*(_0x1f1393-_0x55616b))/_0x424fb9,_0x94e467=_0x1f1393+_0x413db*(_0x728983-_0x1f1393),_0x1d61d7=_0x105afe+_0x413db*(_0x2aa418-_0x105afe);return{'x':_0x94e467,'y':_0x1d61d7};}#f028(_0x1f34ec){var _0x118764=a0_0x130db8;const _0x299add=Math[_0x118764(0x24b)](_0x1f34ec['length']/0x2),_0x46c7b4=[..._0x1f34ec][_0x118764(0x17e)]((_0x265f31,_0x28276d)=>_0x265f31-_0x28276d);return _0x1f34ec['length']%0x2!==0x0?_0x46c7b4[_0x299add]:(_0x46c7b4[_0x299add-0x1]+_0x46c7b4[_0x299add])/0x2;}[a0_0x130db8(0x26f)](_0x3fe515){var _0x104ca6=a0_0x130db8;_0x3fe515['reduce']((_0x21ce67,_0x2b76f2)=>_0x21ce67+_0x2b76f2)/_0x3fe515[_0x104ca6(0x156)];}[a0_0x130db8(0x21f)](_0x29a638){var _0x4ab3b7=a0_0x130db8;const _0x3476ed=_0x29a638['length'],_0x5b14ae=_0x29a638[_0x4ab3b7(0x271)]((_0x2d9f30,_0x566d52)=>_0x2d9f30+_0x566d52)/_0x3476ed;return _0x29a638['map'](_0x14617c=>Math['pow'](_0x14617c-_0x5b14ae,0x2))['reduce']((_0x91f934,_0x291335)=>_0x91f934+_0x291335)/_0x3476ed;}[a0_0x130db8(0x1fa)](_0x28137a,_0x548c3b,_0x1a5c59,_0x3fa297,_0x376d65,_0x1ef4ad){var _0x131259=a0_0x130db8,_0x462dbd=0x0,_0x108458=0x0,_0x2f5c95=0x0;for(var _0x330299=0x0;_0x330299<_0x28137a[_0x131259(0x156)];_0x330299++){var _0x228350=_0x1a5c59[_0x330299],_0x59c888=_0x3fa297[_0x330299],_0x14642d=_0x376d65-_0x228350,_0x2626f0=_0x1ef4ad-_0x59c888,_0x2bf58c=_0x14642d*_0x14642d+_0x2626f0*_0x2626f0,_0x578408=0x1/(_0x2bf58c*_0x2bf58c*_0x2bf58c*_0x2bf58c);_0x108458+=_0x28137a[_0x330299]*_0x578408,_0x2f5c95+=_0x548c3b[_0x330299]*_0x578408,_0x462dbd+=_0x578408;}return{'ddx':_0x108458/_0x462dbd,'ddy':_0x2f5c95/_0x462dbd};}#f029(_0x46cf4a,_0x1ce36c,_0xeee965,_0x5b5deb,_0x21e8ad,_0x1fea89){var _0x3e05ae=a0_0x130db8;let _0x204d50=[],_0x34270e=[Infinity,Infinity,Infinity];for(let _0x1e57d9=0x0;_0x1e57d9<_0xeee965[_0x3e05ae(0x156)];_0x1e57d9++){if(_0x3e05ae(0x202)===_0x3e05ae(0x1ad)){var _0x1caf9f=new _0x35aab2['Mat']();_0x246fd3[_0x3e05ae(0x130)](_0x1caf9f),_0x52e7e9[_0x3e05ae(0x270)](_0x1caf9f,_0x1caf9f,_0x3bc6c1['COLOR_GRAY2RGB'],0x0);var _0x501c5a=new _0x3f8d75[(_0x3e05ae(0x14e))](0xff,0x0,0xff),_0x356b1e=new _0x1d9d80['Scalar'](0xff,0xff,0x0);_0x2c1bf6[_0x3e05ae(0x176)](_0x1caf9f,new _0x3b0d6e['Point'](_0x4b9f40[_0x3e05ae(0x20d)],_0x1d7f92['SSY']),0x4,_0x501c5a,0x2);if(_0x431c1f&&_0x4d33e1)_0x19f9c1['circle'](_0x1caf9f,new _0x234b61[(_0x3e05ae(0x134))](_0x1d8842,_0x274b8f),0x6,_0x356b1e,0x4);;_0x1caf9f['delete']();}else{var _0xd3fff9=_0xeee965[_0x1e57d9],_0x311504=_0x5b5deb[_0x1e57d9],_0x126d62=_0x21e8ad-_0xd3fff9,_0x43a2f1=_0x1fea89-_0x311504,_0x3756e8=_0x126d62*_0x126d62+_0x43a2f1*_0x43a2f1;if(_0x3756e8<_0x34270e[0x0])_0x34270e[0x2]=_0x34270e[0x1],_0x34270e[0x1]=_0x34270e[0x0],_0x34270e[0x0]=_0x3756e8,_0x204d50[0x2]=_0x204d50[0x1],_0x204d50[0x1]=_0x204d50[0x0],_0x204d50[0x0]=_0x1e57d9;else{if(_0x3756e8<_0x34270e[0x1])'kDudB'!==_0x3e05ae(0x18a)?_0x2858a9(_0x2fab3b):(_0x34270e[0x2]=_0x34270e[0x1],_0x34270e[0x1]=_0x3756e8,_0x204d50[0x2]=_0x204d50[0x1],_0x204d50[0x1]=_0x1e57d9);else{if(_0x3756e8<_0x34270e[0x2]){if(_0x3e05ae(0x1d5)!=='WluUU'){_0x21e942=_0x199126['createElement'](_0x3e05ae(0x28a)),_0x1cc53f['id']=_0xfd68e9,_0x8d5a8a['body'][_0x3e05ae(0x151)](_0xc0cc43);if(!this[_0x3e05ae(0x167)])this[_0x3e05ae(0x167)]=[];this[_0x3e05ae(0x167)]['push'](_0x1e1f7b),_0x165a8d[_0x3e05ae(0x26b)][_0x3e05ae(0x160)]=_0x3e05ae(0x243),_0x19d04f[_0x3e05ae(0x26b)][_0x3e05ae(0x1cb)]='0px',_0x47137e[_0x3e05ae(0x26b)]['left']=_0x3e05ae(0x181),_0x378e0c[_0x3e05ae(0x26b)][_0x3e05ae(0x141)]=_0x3e05ae(0x17c)+_0x507869+')';}else _0x34270e[0x2]=_0x3756e8,_0x204d50[0x2]=_0x1e57d9;}}}}}console[_0x3e05ae(0x13b)](_0x3e05ae(0x142),_0x204d50);var _0x1b2fe1=_0xeee965[_0x204d50[0x0]],_0x21ae9d=_0x5b5deb[_0x204d50[0x0]],_0x467d61=(_0x21e8ad-_0x1b2fe1)*(_0x21e8ad-_0x1b2fe1)+(_0x1fea89-_0x21ae9d)*(_0x1fea89-_0x21ae9d),_0x25f7eb=_0xeee965[_0x204d50[0x1]],_0x1270c7=_0x5b5deb[_0x204d50[0x1]],_0x5c5f45=(_0x21e8ad-_0x25f7eb)*(_0x21e8ad-_0x25f7eb)+(_0x1fea89-_0x1270c7)*(_0x1fea89-_0x1270c7),_0xd741d8=_0xeee965[_0x204d50[0x2]],_0x6416cd=_0x5b5deb[_0x204d50[0x2]],_0x36a905=(_0x21e8ad-_0xd741d8)*(_0x21e8ad-_0xd741d8)+(_0x1fea89-_0x6416cd)*(_0x1fea89-_0x6416cd),_0x422f2c=0x2*_0x25f7eb-0x2*_0x1b2fe1,_0xf03cb9=0x2*_0x1270c7-0x2*_0x21ae9d,_0x2a7f5a=_0x467d61*_0x467d61-_0x5c5f45*_0x5c5f45-_0x1b2fe1*_0x1b2fe1+_0x25f7eb*_0x25f7eb-_0x21ae9d*_0x21ae9d+_0x1270c7*_0x1270c7,_0x236657=0x2*_0xd741d8-0x2*_0x25f7eb,_0x4562cf=0x2*_0x6416cd-0x2*_0x1270c7,_0x1c1137=_0x5c5f45*_0x5c5f45-_0x36a905*_0x36a905-_0x25f7eb*_0x25f7eb+_0xd741d8*_0xd741d8-_0x1270c7*_0x1270c7+_0x6416cd*_0x6416cd,_0x2ad9e2=(_0x2a7f5a*_0x4562cf-_0x1c1137*_0xf03cb9)/(_0x4562cf*_0x422f2c-_0xf03cb9*_0x236657),_0x31fcbe=(_0x2a7f5a*_0x236657-_0x422f2c*_0x1c1137)/(_0xf03cb9*_0x236657-_0x422f2c*_0x4562cf),_0xafae10=new cv[(_0x3e05ae(0x134))](_0x2ad9e2,_0x31fcbe);return{'ddx':_0x2ad9e2-_0x21e8ad,'ddy':_0x31fcbe-_0x1fea89};}[a0_0x130db8(0x1ec)](){var _0x23de6a=a0_0x130db8;return!window[_0x23de6a(0x24a)]||window['orientation']===0x0;}[a0_0x130db8(0x1b4)](){var _0xc77f72=a0_0x130db8;return window['orientation']===0x5a||window[_0xc77f72(0x24a)]===-0x5a;}[a0_0x130db8(0x1ff)](){var _0x52615e=a0_0x130db8;return window[_0x52615e(0x24a)]===0x5a;}[a0_0x130db8(0x1c1)](){var _0x42791f=a0_0x130db8;return window[_0x42791f(0x24a)]===-0x5a;}[a0_0x130db8(0x1b3)](){var _0x4b5086=a0_0x130db8;return['iPad\x20Simulator',_0x4b5086(0x121),_0x4b5086(0x221),_0x4b5086(0x259),_0x4b5086(0x1d7),_0x4b5086(0x1e5)][_0x4b5086(0x267)](navigator[_0x4b5086(0x147)])||navigator[_0x4b5086(0x1c3)][_0x4b5086(0x267)](_0x4b5086(0x189))&&'ontouchend'in document;}#f030(){var _0x832d7d=a0_0x130db8;this.#p007={},this.#p007['kf']=new cv[(_0x832d7d(0x11c))](0xc,0x4,0x0,cv['CV_32F']),this.#p007[_0x832d7d(0x280)]=new cv['Mat'](0xc,0x1,cv[_0x832d7d(0x120)]),this.#p007[_0x832d7d(0x138)]=new cv[(_0x832d7d(0x1f9))](0x4,0x1,cv['CV_32F']),this.#f034(this.#p007['kf'],0x1/this['FRAMERATE']),this.#p007['kf']['measurementMatrix']=cv[_0x832d7d(0x207)](0x4,0xc,cv['CV_32F'],[0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0]),this.#p007['kf'][_0x832d7d(0x131)]=this.#f035(),this.#p007['kf']['measurementNoiseCov']=this.#f036(),this.#p007[_0x832d7d(0x280)][_0x832d7d(0x130)](this.#p007['kf'][_0x832d7d(0x17b)]),this.#p007['state'][_0x832d7d(0x130)](this.#p007['kf'][_0x832d7d(0x1cc)]),this.#p007['hasPrediction']=![];}#f031(){var _0x59aa6b=a0_0x130db8;;this.#p007['kf']['errorCovPre'][_0x59aa6b(0x1c9)](),this.#p007['kf'][_0x59aa6b(0x252)]=this.#f035(),this.#p007[_0x59aa6b(0x280)]=cv['matFromArray'](0xc,0x1,cv['CV_32F'],[this.#p007['meas'][_0x59aa6b(0x15c)][0x0],this.#p007[_0x59aa6b(0x138)][_0x59aa6b(0x15c)][0x1],this.#p007['meas'][_0x59aa6b(0x15c)][0x2],this.#p007[_0x59aa6b(0x138)][_0x59aa6b(0x15c)][0x3],0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0]),this.#p007['kf']['statePost'][_0x59aa6b(0x1c9)](),this.#p007['kf']['statePre'][_0x59aa6b(0x1c9)](),this.#p007['state'][_0x59aa6b(0x130)](this.#p007['kf'][_0x59aa6b(0x1cc)]),this.#p007[_0x59aa6b(0x280)]['copyTo'](this.#p007['kf'][_0x59aa6b(0x17b)]),this.#p007[_0x59aa6b(0x12e)]=![];}#f032(_0x5eb57f){var _0x4f587d=a0_0x130db8;this.#f034(_0x5eb57f),this.#p007[_0x4f587d(0x280)][_0x4f587d(0x1c9)](),this.#p007['state']=this.#p007['kf'][_0x4f587d(0x23c)]();var _0x66262a=this.#p007[_0x4f587d(0x280)][_0x4f587d(0x15c)][0x0],_0x275332=this.#p007['state']['data32F'][0x1],_0x3bf974=this.#p007['state'][_0x4f587d(0x15c)][0x2],_0x2eee30=this.#p007['state'][_0x4f587d(0x15c)][0x3];;var _0x44a561=Math['sqrt'](_0x66262a*_0x66262a+_0x275332*_0x275332+_0x3bf974*_0x3bf974+_0x2eee30*_0x2eee30);return _0x44a561=_0x44a561<=0x0?0x1:_0x44a561,_0x66262a/=_0x44a561,_0x275332/=_0x44a561,_0x3bf974/=_0x44a561,_0x2eee30/=_0x44a561,{'w':_0x66262a,'i':_0x275332,'j':_0x3bf974,'k':_0x2eee30};}#f033(_0xda7210,_0x52d4c0,_0x246ad7,_0x4f66f3){var _0x365b5b=a0_0x130db8;if(this[_0x365b5b(0x26a)]){var _0x5fccff=this['lastw']-_0xda7210,_0x45d6be=this['lasti']-_0x52d4c0,_0x16ccd0=this[_0x365b5b(0x16b)]-_0x246ad7,_0x2892a5=this[_0x365b5b(0x26d)]-_0x4f66f3;(_0x5fccff*_0x5fccff>0x1||_0x45d6be*_0x45d6be>0x1||_0x16ccd0*_0x16ccd0>0x1||_0x2892a5*_0x2892a5>0x1)&&(_0xda7210*=-0x1,_0x52d4c0*=-0x1,_0x246ad7*=-0x1,_0x4f66f3*=-0x1);}this['lastw']=_0xda7210,this[_0x365b5b(0x1bb)]=_0x52d4c0,this['lastj']=_0x246ad7,this[_0x365b5b(0x26d)]=_0x4f66f3;if(!this.#p007[_0x365b5b(0x12e)]){;;this.#p007[_0x365b5b(0x280)][_0x365b5b(0x1c9)](),this.#p007[_0x365b5b(0x280)]=cv['matFromArray'](0xc,0x1,cv['CV_32F'],[_0xda7210,_0x52d4c0,_0x246ad7,_0x4f66f3,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0]),this.#p007['kf'][_0x365b5b(0x17b)][_0x365b5b(0x1c9)](),this.#p007[_0x365b5b(0x280)][_0x365b5b(0x130)](this.#p007['kf'][_0x365b5b(0x17b)]),this.#p007['kf'][_0x365b5b(0x1cc)]['delete'](),this.#p007[_0x365b5b(0x280)]['copyTo'](this.#p007['kf'][_0x365b5b(0x1cc)]);;;;this[_0x365b5b(0x26a)]=null;}this.#p007['meas']['data32F'][0x0]=_0xda7210,this.#p007[_0x365b5b(0x138)][_0x365b5b(0x15c)][0x1]=_0x52d4c0,this.#p007[_0x365b5b(0x138)][_0x365b5b(0x15c)][0x2]=_0x246ad7,this.#p007[_0x365b5b(0x138)]['data32F'][0x3]=_0x4f66f3,this.#p007['kf'][_0x365b5b(0x162)](this.#p007['meas']),this.#p007[_0x365b5b(0x12e)]=!![];}#f034(_0x14f0cb){var _0x36caea=a0_0x130db8,_0x59716c=this.#p007['kf'],_0x4d6b6a=0.5*_0x14f0cb*_0x14f0cb;_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x4]=_0x14f0cb,_0x59716c['transitionMatrix'][_0x36caea(0x15c)][0x11]=_0x14f0cb,_0x59716c[_0x36caea(0x197)]['data32F'][0x1e]=_0x14f0cb,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x2b]=_0x14f0cb,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x38]=_0x14f0cb,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x45]=_0x14f0cb,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x52]=_0x14f0cb,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x5f]=_0x14f0cb,_0x59716c['transitionMatrix'][_0x36caea(0x15c)][0x8]=_0x4d6b6a,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x15]=_0x4d6b6a,_0x59716c[_0x36caea(0x197)]['data32F'][0x22]=_0x4d6b6a,_0x59716c[_0x36caea(0x197)][_0x36caea(0x15c)][0x2f]=_0x4d6b6a;}#f035(){var _0x1d4cc1=0.001,_0x478789=0.001,_0x3f3699=0.001;return cv['matFromArray'](0xc,0xc,cv['CV_32F'],[_0x1d4cc1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x1d4cc1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x1d4cc1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x1d4cc1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x478789,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x478789,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x478789,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x478789,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x3f3699,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x3f3699,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x3f3699,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,_0x3f3699]);}#f036(){var _0x51a009=a0_0x130db8,_0x33cf0c=0.0001;return cv[_0x51a009(0x207)](0x4,0x4,cv['CV_32F'],[_0x33cf0c,0x0,0x0,0x0,0x0,_0x33cf0c,0x0,0x0,0x0,0x0,_0x33cf0c,0x0,0x0,0x0,0x0,_0x33cf0c]);}#f037(_0x5cc7fa,_0x1044cc){var _0x431a51=a0_0x130db8,_0x4002ca=new Vector3();_0x4002ca[_0x431a51(0x1e4)]((_0x5cc7fa['x']-_0x1044cc['position']['x'])/_0x1044cc[_0x431a51(0x14d)]['x'],(_0x5cc7fa['y']-_0x1044cc['position']['y'])/_0x1044cc[_0x431a51(0x14d)]['y'],(_0x5cc7fa['z']-_0x1044cc['position']['z'])/_0x1044cc[_0x431a51(0x14d)]['z']);var _0x388779=_0x1044cc[_0x431a51(0x1e7)][_0x431a51(0x21d)]();_0x388779[_0x431a51(0x188)]();var _0x269818=_0x388779[_0x431a51(0x19a)](_0x4002ca);return _0x269818;}};class Vector3{constructor(_0x3ad469=0x0,_0x1719f0=0x0,_0x4e3a07=0x0){this['x']=_0x3ad469,this['y']=_0x1719f0,this['z']=_0x4e3a07;}[a0_0x130db8(0x1e4)](_0x4b7e6d,_0xb6b4f8,_0x62d4cb){this['x']=_0x4b7e6d,this['y']=_0xb6b4f8,this['z']=_0x62d4cb;}[a0_0x130db8(0x1be)](_0x1f3996){var _0x162697=new Vector3(this['x']+_0x1f3996['x'],this['y']+_0x1f3996['y'],this['z']+_0x1f3996['z']);return _0x162697;}[a0_0x130db8(0x16c)](_0x1d2d4c){var _0x2a1b1b=new Vector3(this['x']*_0x1d2d4c,this['y']*_0x1d2d4c,this['z']*_0x1d2d4c);return _0x2a1b1b;}[a0_0x130db8(0x188)](){var _0x3995b3=a0_0x130db8,_0x19c33d=Math[_0x3995b3(0x1ae)](this['x']*this['x']+this['y']*this['y']+this['z']*this['z']),_0x3323b9=new Vector3(this['x']/_0x19c33d,this['y']/_0x19c33d,this['z']/_0x19c33d);return _0x3323b9;}}class Quaternion{constructor(_0x9507ff=0x1,_0x21e9ce=0x0,_0x57553e=0x0,_0x265db8=0x0){this['w']=_0x9507ff,this['i']=_0x21e9ce,this['j']=_0x57553e,this['k']=_0x265db8;}['setValues'](_0x4b2791,_0x2cd158,_0x10d4a4,_0x1977e3){this['w']=_0x4b2791,this['i']=_0x2cd158,this['j']=_0x10d4a4,this['k']=_0x1977e3;}[a0_0x130db8(0x13d)](_0x4392b6,_0x433008,_0x15c038){var _0x29ad09=a0_0x130db8;const _0x13c94b=Math[_0x29ad09(0x1c2)](_0x15c038*Math['PI']/0xb4*0.5),_0x18c105=Math[_0x29ad09(0x21b)](_0x15c038*Math['PI']/0xb4*0.5),_0x296329=Math['cos'](_0x433008*Math['PI']/0xb4*0.5),_0x944ac4=Math[_0x29ad09(0x21b)](_0x433008*Math['PI']/0xb4*0.5),_0x53c410=Math[_0x29ad09(0x1c2)](_0x4392b6*Math['PI']/0xb4*0.5),_0x4837d5=Math[_0x29ad09(0x21b)](_0x4392b6*Math['PI']/0xb4*0.5);this['w']=_0x13c94b*_0x296329*_0x53c410+_0x18c105*_0x944ac4*_0x4837d5,this['i']=_0x18c105*_0x296329*_0x53c410-_0x13c94b*_0x944ac4*_0x4837d5,this['j']=_0x13c94b*_0x944ac4*_0x53c410+_0x18c105*_0x296329*_0x4837d5,this['k']=_0x13c94b*_0x296329*_0x4837d5-_0x18c105*_0x944ac4*_0x53c410;}['getEulerAngles'](){var _0x26c0f5=a0_0x130db8,_0x3e2159=Math[_0x26c0f5(0x17d)](0x2*(this['j']*this['k']+this['k']*this['i']),this['k']*this['k']-this['i']*this['i']-this['j']*this['j']+this['k']*this['k'])*0xb4/Math['PI'],_0x3f3a1b=Math[_0x26c0f5(0x1eb)](-0x2*(this['i']*this['k']-this['k']*this['j']))*0xb4/Math['PI'],_0x3d09c6=Math[_0x26c0f5(0x17d)](0x2*(this['i']*this['j']+this['k']*this['k']),this['k']*this['k']+this['i']*this['i']-this['j']*this['j']-this['k']*this['k'])*0xb4/Math['PI'];return{'aa':_0x3e2159,'bb':_0x3f3a1b,'gg':_0x3d09c6};}[a0_0x130db8(0x21e)](){var _0x37aa02=this['w'],_0x5c6c1d=this['i'],_0x51008f=this['j'],_0x561737=this['k'],_0x54cb9e=cv['matFromArray'](0x3,0x3,cv['CV_32F'],[_0x37aa02*_0x37aa02+_0x5c6c1d*_0x5c6c1d+_0x51008f*_0x51008f+_0x561737*_0x561737,0x2*(_0x5c6c1d*_0x51008f-_0x37aa02*_0x561737),0x2*(_0x5c6c1d*_0x561737+_0x37aa02*_0x51008f),0x2*(_0x5c6c1d*_0x51008f+_0x37aa02*_0x561737),_0x37aa02*_0x37aa02-_0x5c6c1d*_0x5c6c1d+_0x51008f*_0x51008f-_0x561737*_0x561737,0x2*(_0x51008f*_0x561737-_0x37aa02*_0x5c6c1d),0x2*(_0x5c6c1d*_0x561737-_0x37aa02*_0x51008f),0x2*(_0x51008f*_0x561737+_0x37aa02*_0x5c6c1d),_0x37aa02*_0x37aa02-_0x5c6c1d*_0x5c6c1d-_0x51008f*_0x51008f+_0x561737*_0x561737]);return _0x54cb9e;}[a0_0x130db8(0x1cf)](_0x38a480){var _0x1352e4=a0_0x130db8,_0x3fa4b=this[_0x1352e4(0x20f)](_0x38a480);return _0x3fa4b[_0x1352e4(0x188)](),_0x3fa4b;}[a0_0x130db8(0x20f)](_0x26133e){var _0x44e925=this['w'],_0x508fe8=this['i'],_0x18d8f9=this['j'],_0x37d527=this['k'],_0xaf5da1=_0x26133e['w'],_0x28a82a=_0x26133e['i'],_0x51ea08=_0x26133e['j'],_0x5d71e4=_0x26133e['k'],_0xd0211a=new Quaternion(_0x44e925*_0xaf5da1-_0x508fe8*_0x28a82a-_0x18d8f9*_0x51ea08-_0x37d527*_0x5d71e4,_0x508fe8*_0xaf5da1+_0x44e925*_0x28a82a+_0x18d8f9*_0x5d71e4-_0x37d527*_0x51ea08,_0x44e925*_0x51ea08-_0x508fe8*_0x5d71e4+_0x18d8f9*_0xaf5da1+_0x37d527*_0x28a82a,_0x44e925*_0x5d71e4+_0x508fe8*_0x51ea08-_0x18d8f9*_0x28a82a+_0x37d527*_0xaf5da1);return _0xd0211a;}['norm'](){var _0x15160e=a0_0x130db8,_0x4e2b86=Math[_0x15160e(0x1ae)](this['w']*this['w']+this['i']*this['i']+this['j']*this['j']+this['k']*this['k']);this['w']/=_0x4e2b86,this['i']/=_0x4e2b86,this['j']/=_0x4e2b86,this['k']/=_0x4e2b86;}[a0_0x130db8(0x21d)](){var _0x466d58=new Quaternion(this['w'],-0x1*this['i'],-0x1*this['j'],-0x1*this['k']);return _0x466d58;}[a0_0x130db8(0x19a)](_0x2cc9ea){var _0x5483c0=a0_0x130db8,_0x521749=new Quaternion(0x0,_0x2cc9ea['x'],_0x2cc9ea['y'],_0x2cc9ea['z']),_0x2bda38=this['getInv'](),_0x4a84e9=this[_0x5483c0(0x20f)](_0x521749);_0x4a84e9=_0x4a84e9[_0x5483c0(0x20f)](_0x2bda38);var _0x5eec0c=new Vector3(_0x4a84e9['i'],_0x4a84e9['j'],_0x4a84e9['k']);return _0x5eec0c;}[a0_0x130db8(0x192)](){var _0x4c07e5=a0_0x130db8,_0x54dd1a=new Vector3(0x1,0x0,0x0),_0x30cf72=this[_0x4c07e5(0x19a)](_0x54dd1a);return _0x30cf72=_0x30cf72[_0x4c07e5(0x188)](),_0x30cf72;}[a0_0x130db8(0x124)](){var _0xd2dd1=a0_0x130db8,_0x2fd2df=new Vector3(0x0,0x1,0x0),_0x4ef1b9=this[_0xd2dd1(0x19a)](_0x2fd2df);return _0x4ef1b9=_0x4ef1b9[_0xd2dd1(0x188)](),_0x4ef1b9;}[a0_0x130db8(0x278)](){var _0x195678=a0_0x130db8,_0x22e89b=new Vector3(0x0,0x0,0x1),_0x93c2b=this[_0x195678(0x19a)](_0x22e89b);return _0x93c2b=_0x93c2b[_0x195678(0x188)](),_0x93c2b;}}