// ==UserScript== // @name MSP2 MOOD // @namespace MSP2 MOOD // @match https://moviestarplanet2.com/* // @grant none // @version 1.0 // @author - // @description 13.07.2025 12:31:29 // ==/UserScript== (function(_0x4fd1b5,_0xa3f041){const _0x131aea=_0x17dc,_0x2167a6=_0x4fd1b5();while(!![]){try{const _0x58ab46=-parseInt(_0x131aea(0x22c))/0x1+parseInt(_0x131aea(0x16f))/0x2+parseInt(_0x131aea(0x13a))/0x3+parseInt(_0x131aea(0x1b3))/0x4*(-parseInt(_0x131aea(0x215))/0x5)+parseInt(_0x131aea(0x234))/0x6*(-parseInt(_0x131aea(0x1ef))/0x7)+parseInt(_0x131aea(0x239))/0x8*(parseInt(_0x131aea(0x220))/0x9)+parseInt(_0x131aea(0x21b))/0xa;if(_0x58ab46===_0xa3f041)break;else _0x2167a6['push'](_0x2167a6['shift']());}catch(_0x836bb3){_0x2167a6['push'](_0x2167a6['shift']());}}}(_0x54f2,0x2b6e2));const _0x4c6778=(function(){let _0x5e57b9=!![];return function(_0x114b0a,_0x469f15){const _0x4dddad=_0x5e57b9?function(){const _0x30a965=_0x17dc;if(_0x469f15){const _0xfe24f=_0x469f15[_0x30a965(0x1e9)](_0x114b0a,arguments);return _0x469f15=null,_0xfe24f;}}:function(){};return _0x5e57b9=![],_0x4dddad;};}()),_0x1ecef2=_0x4c6778(this,function(){const _0x260605=_0x17dc;return _0x1ecef2[_0x260605(0x1b0)]()[_0x260605(0x1f9)](_0x260605(0x19d))['toString']()[_0x260605(0x1db)](_0x1ecef2)['search'](_0x260605(0x19d));});function _0x17dc(_0x6e4a66,_0x10c118){const _0x3e565d=_0x54f2();return _0x17dc=function(_0x491515,_0x4886ba){_0x491515=_0x491515-0x126;let _0x5a41ef=_0x3e565d[_0x491515];return _0x5a41ef;},_0x17dc(_0x6e4a66,_0x10c118);}_0x1ecef2();const _0x4886ba=(function(){let _0x5e93f5=!![];return function(_0x54a850,_0x5df470){const _0x185709=_0x5e93f5?function(){const _0x40c2bd=_0x17dc;if(_0x5df470){const _0x4a68fc=_0x5df470[_0x40c2bd(0x1e9)](_0x54a850,arguments);return _0x5df470=null,_0x4a68fc;}}:function(){};return _0x5e93f5=![],_0x185709;};}()),_0x491515=_0x4886ba(this,function(){const _0x349323=_0x17dc,_0x20146e=function(){const _0x6ef668=_0x17dc;let _0x1c3d04;try{_0x1c3d04=Function(_0x6ef668(0x1dd)+_0x6ef668(0x1a3)+');')();}catch(_0x370248){_0x1c3d04=window;}return _0x1c3d04;},_0x4b9d67=_0x20146e(),_0x5da82e=_0x4b9d67[_0x349323(0x203)]=_0x4b9d67['console']||{},_0x45fb15=[_0x349323(0x23f),_0x349323(0x15a),_0x349323(0x21e),_0x349323(0x23c),'exception',_0x349323(0x12c),_0x349323(0x1d4)];for(let _0x40954a=0x0;_0x40954a<_0x45fb15[_0x349323(0x1a7)];_0x40954a++){const _0x522335=_0x4886ba[_0x349323(0x1db)][_0x349323(0x195)][_0x349323(0x131)](_0x4886ba),_0x3a398e=_0x45fb15[_0x40954a],_0x18841b=_0x5da82e[_0x3a398e]||_0x522335;_0x522335[_0x349323(0x13b)]=_0x4886ba[_0x349323(0x131)](_0x4886ba),_0x522335[_0x349323(0x1b0)]=_0x18841b[_0x349323(0x1b0)][_0x349323(0x131)](_0x18841b),_0x5da82e[_0x3a398e]=_0x522335;}});function _0x54f2(){const _0x63e01a=['clearAutoDisableTimer','6ca07ffa53e3468598e6f2a2e0d20ded','getItem','Token\x20does\x20not\x20start\x20with\x20eyJ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20','mousedown','Invalid\x20token,\x20not\x20saving','warn','0\x200\x2010px\x20','autoDisableTimeout','#status\x20span','\x22\x20style=\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20opacity:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x200;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Status:\x20','Saving\x20token\x20to\x20localStorage','dressup:showoff','Invalid\x20authorization\x20header\x20format','initializeUI','parsePayload','message','https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600&display=swap','rgba(60,\x2060,\x2070,\x200.5)',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20','completePetQuest','allPlayerOutfits','createToggleOption',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20user-select:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20','#ff8900',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','PUT','find','#0063ba','[Dress]\x20Profile\x20ID\x20captured\x20(showoff):','children','dressProfileIds','questApi',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20align-items:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20justify-content:\x20center;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cursor:\x20pointer;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20z-index:\x2010001;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-size:\x2020px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20color:\x20white;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20font-weight:\x20bold;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transition:\x20','cf42a511688e49f795e387d43a78c758','trace','checked','msp2-header','Extracted\x20token:','all\x200.15s\x20cubic-bezier(0.4,\x200,\x200.2,\x201)','Daily\x20Task','dragStart','constructor','createStatusHTML','return\x20(function()\x20','Pet\x20quest\x20completed\x20successfully','updateQuestProgress','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20position:\x20fixed;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20top:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20right:\x2015px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x2040px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20background:\x20','updateQuestState','Auto\x20Dress\x20UP!','[Token\x20Info]','fetch','initialize','createUI','Initializing\x20token\x20interceptor','preventDefault','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','\x22,\x22rating\x22:5}]','getHeaders','questType=',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x20','18SesUeE','No\x20auth\x20token\x20found',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x200\x201px\x203px\x20rgba(0,\x200,\x200,\x200.15);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20','stylesheet','https://raw.githubusercontent.com/mwarcc/ss/refs/heads/main/quiz.json','56552EOtycS','loadQuestions','d7e9cc6e6fbc458892ebb18c40bb9e16','error','42[\x22dressup:readyforjudgment\x22,{\x22ready\x22:true}]','textContent','log','onclick','authorization','stringify','setCurrentQuestion','restore','boxShadow','entries','yOffset','link','questService','rgba(20,\x2020,\x2025,\x200.75)','Token\x20validation\x20passed','[Token\x20Error]','daily_pet_pets','slice','table','Failed\x20to\x20load\x20questions:','send',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border:\x201px\x20solid\x20','fetchQuests','bind','handleGameState','intervalId','translateX(18px)','headers','msp2_auth_token','clientY','completeQuests','https://eu.mspapis.com/pets/v1/pets/','292956xAitkg','__proto__','loadFonts','color','completeDailyQuests','isValidDragTarget','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20MSP2\x20MOOD\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20{'use strict';const _0x11bfb9=_0x17dc;class _0x41ea20{[_0x11bfb9(0x192)](_0x168b3a){const _0x5adec5=_0x11bfb9;if(this['shouldSkipMessage'](_0x168b3a))return null;const _0x320d14=this[_0x5adec5(0x1c8)](_0x168b3a);return _0x320d14?this[_0x5adec5(0x17a)](_0x320d14):null;}[_0x11bfb9(0x187)](_0x3c8f72){const _0x4a5a13=_0x11bfb9;return _0x3c8f72[_0x4a5a13(0x1a9)]('40{\x22jwt\x22:\x22')||_0x3c8f72['match'](/^\d+$/);}[_0x11bfb9(0x1c8)](_0x2e8a7d){const _0xd71b08=_0x11bfb9;return _0x2e8a7d[_0xd71b08(0x1a9)](_0xd71b08(0x163))?_0x2e8a7d['substring'](0x2):_0x2e8a7d;}['parsePayload'](_0x36cdd0){const _0x5aeaf6=_0x11bfb9;try{const [_0xfcc76e,_0x508fe4]=JSON[_0x5aeaf6(0x146)](_0x36cdd0);return _0x508fe4;}catch{return null;}}}class _0x166fa9{constructor(){const _0x10f550=_0x11bfb9;this[_0x10f550(0x188)]=new Map(),this[_0x10f550(0x196)]=null,this['dressProfileIds']=new Set();}async[_0x11bfb9(0x23a)](){const _0x408f95=_0x11bfb9;try{const _0x5e260f=await fetch(_0x408f95(0x238));if(!_0x5e260f['ok'])throw new Error(_0x408f95(0x16c)+_0x5e260f['status']);const _0x3e7c58=await _0x5e260f['json']();Object[_0x408f95(0x246)](_0x3e7c58)[_0x408f95(0x1ba)](([_0x5e33ed,_0x53b7f4])=>{const _0x5836c5=_0x408f95;this[_0x5836c5(0x188)]['set'](_0x5e33ed,_0x53b7f4);});}catch(_0x28712b){console['error'](_0x408f95(0x12d),_0x28712b);}}[_0x11bfb9(0x243)](_0x522a3c){this['currentQuestion']=_0x522a3c;}[_0x11bfb9(0x1c0)](){const _0x3dc3f5=_0x11bfb9;return this[_0x3dc3f5(0x188)][_0x3dc3f5(0x1fb)](this[_0x3dc3f5(0x196)])?.[_0x3dc3f5(0x199)]??null;}['updateQuestionAnswer'](_0x5d6ee9){const _0x504816=_0x11bfb9;if(this[_0x504816(0x196)]){const _0x30c61e=this[_0x504816(0x188)][_0x504816(0x1fb)](this[_0x504816(0x196)])||{'answers':[]};this['questions'][_0x504816(0x1f4)](this[_0x504816(0x196)],{..._0x30c61e,'correctAnswer':_0x5d6ee9});}}['handleDressMessage'](_0x376da6,_0x40b24a,_0xe8ba60){const _0x2ff909=_0x11bfb9;_0x40b24a[_0x2ff909(0x1a9)]('dressup:chal')&&setTimeout(()=>{const _0x2a5b08=_0x2ff909;_0x376da6['send'](_0x2a5b08(0x23d)),console['log']('[Dress]\x20dressup:chal\x20captured,\x20response\x20sent\x20after\x204\x20seconds.');},0xfa0),_0x40b24a===_0x2ff909(0x177)&&_0xe8ba60&&Array[_0x2ff909(0x1bb)](_0xe8ba60[_0x2ff909(0x180)])&&_0xe8ba60[_0x2ff909(0x180)][_0x2ff909(0x1ba)](_0x2b56eb=>{const _0x1d788c=_0x2ff909;_0x2b56eb[_0x1d788c(0x1eb)]&&!this[_0x1d788c(0x1d0)]['has'](_0x2b56eb['profileId'])&&(this[_0x1d788c(0x1d0)]['add'](_0x2b56eb[_0x1d788c(0x1eb)]),console['log'](_0x1d788c(0x1ce),_0x2b56eb[_0x1d788c(0x1eb)]));}),_0x40b24a===_0x2ff909(0x1fe)&&(this[_0x2ff909(0x1d0)][_0x2ff909(0x16a)]>0x0&&(this[_0x2ff909(0x1d0)][_0x2ff909(0x1ba)](_0x2c6e30=>{const _0x1ac93e=_0x2ff909;_0x376da6[_0x1ac93e(0x12e)](_0x1ac93e(0x144)+_0x2c6e30+_0x1ac93e(0x230)),console[_0x1ac93e(0x23f)](_0x1ac93e(0x160)+_0x2c6e30);}),this[_0x2ff909(0x1d0)][_0x2ff909(0x1fd)]()));}}class _0x1dfa4c{constructor(){const _0x51595d=_0x11bfb9;this[_0x51595d(0x202)]=!0x1,this[_0x51595d(0x206)]=new _0x166fa9(),this[_0x51595d(0x145)]=new _0x41ea20();}async['initialize'](){const _0x2facaa=_0x11bfb9;await this[_0x2facaa(0x206)][_0x2facaa(0x23a)]();}[_0x11bfb9(0x167)](_0xc9cbb7,_0x528643){const _0x41aa7f=_0x11bfb9;if(!this[_0x41aa7f(0x202)])return;if(_0x528643['startsWith'](_0x41aa7f(0x163)))try{const _0x5c4e08=JSON[_0x41aa7f(0x146)](_0x528643[_0x41aa7f(0x1c6)](0x2));if(Array[_0x41aa7f(0x1bb)](_0x5c4e08)&&_0x5c4e08[_0x41aa7f(0x1a7)]>=0x2){const [_0x2feea7,_0x2322ac]=_0x5c4e08;typeof _0x2feea7===_0x41aa7f(0x142)&&this[_0x41aa7f(0x206)][_0x41aa7f(0x1b1)](_0xc9cbb7,_0x2feea7,_0x2322ac);}}catch(_0x8c3c7d){console['error'](_0x41aa7f(0x208),_0x8c3c7d);}const _0x3ea7dd=this['messageProcessor'][_0x41aa7f(0x192)](_0x528643);_0x3ea7dd&&this[_0x41aa7f(0x227)](_0xc9cbb7,_0x3ea7dd);}[_0x11bfb9(0x227)](_0x32ffd5,{messageType:_0x140fb1,messageContent:_0xf40132}){const _0x21c621=_0x11bfb9,_0x49686a={'game:state':()=>this[_0x21c621(0x132)](_0x32ffd5,_0xf40132),'quiz:chal':()=>this[_0x21c621(0x222)](_0xf40132),'quiz:reveal':()=>this[_0x21c621(0x14a)](_0xf40132)}[_0x140fb1];_0x49686a&&_0x49686a();}['handleGameState'](_0x1b9121,{newState:_0x223ee2}){const _0x3c2b4f=_0x11bfb9;if(_0x3c2b4f(0x198)!==_0x223ee2)return;const _0x58f248=this[_0x3c2b4f(0x206)][_0x3c2b4f(0x1c0)]()??Math[_0x3c2b4f(0x19b)](0x3*Math['random']())+0x1;this[_0x3c2b4f(0x173)](_0x1b9121,_0x58f248);}['handleQuizChallenge']({question:_0x3694f3,answers:_0x418f4b}){const _0x3bde23=_0x11bfb9;_0x3694f3&&_0x418f4b&&this['quizService'][_0x3bde23(0x243)](_0x3694f3);}[_0x11bfb9(0x14a)]({correctAnswer:_0x4d6fe5}){const _0x1b194e=_0x11bfb9;this[_0x1b194e(0x206)]['updateQuestionAnswer'](_0x4d6fe5);}[_0x11bfb9(0x173)](_0x1d9d7b,_0x3025bb){const _0x471233=_0x11bfb9;_0x1d9d7b[_0x471233(0x12e)]('42'+JSON['stringify']([_0x471233(0x148),{'answer':_0x3025bb}]));}}const _0x583466={'CONNECTING':0x0,'OPEN':0x1,'CLOSING':0x2,'CLOSED':0x3};class _0x25fa66{constructor(_0x4482e1){const _0x135b4f=_0x11bfb9;this[_0x135b4f(0x1c1)]=_0x4482e1,this[_0x135b4f(0x1ac)]=window['WebSocket'];}[_0x11bfb9(0x1e5)](){const _0x52ee49=_0x11bfb9;var _0x51cf20,_0x4efba5;const _0x30c904=((_0x23f2f0,_0x478c5d)=>(_0x23f2f0[_0x52ee49(0x195)]=_0x478c5d[_0x52ee49(0x195)],Object[_0x52ee49(0x246)](_0x583466)[_0x52ee49(0x1ba)](([_0x13a309,_0x30ab81])=>{_0x23f2f0[_0x13a309]=_0x30ab81;}),_0x23f2f0))((_0x51cf20=this[_0x52ee49(0x1ac)],_0x4efba5=this['quizHandler'][_0x52ee49(0x167)]['bind'](this[_0x52ee49(0x1c1)]),function(..._0x506ab2){const _0x3828d3=_0x52ee49,_0x3596f8=new _0x51cf20(..._0x506ab2);return _0x3596f8[_0x3828d3(0x1b2)](_0x3828d3(0x17b),_0x38abdf=>_0x4efba5(_0x3596f8,_0x38abdf[_0x3828d3(0x166)])),_0x3596f8;}),this[_0x52ee49(0x1ac)]);window[_0x52ee49(0x1a5)]=_0x30c904;}[_0x11bfb9(0x244)](){this['originalWebSocket']&&(window['WebSocket']=this['originalWebSocket']);}}const _0x43839d=_0x11bfb9(0x217),_0x1cea03=_0x11bfb9(0x127),_0xdbc816=_0x11bfb9(0x228),_0x6013ca=_0x11bfb9(0x184),_0x29e3ea=_0x11bfb9(0x1ab),_0x35d029=_0x11bfb9(0x1ad),_0x354d70='linear-gradient(180deg,\x20rgba(25,\x2025,\x2030,\x200.95)\x200%,\x20rgba(20,\x2020,\x2025,\x200.9)\x20100%)',_0x4986f2=_0x11bfb9(0x1cd),_0x390454=_0x11bfb9(0x17d),_0x944d70='0\x204px\x2024px\x20rgba(0,\x20136,\x20255,\x200.15)',_0xa1e360=_0x11bfb9(0x1a6),_0xfa0618=_0x11bfb9(0x213),_0x56ca75=_0x11bfb9(0x19f),_0x348259=_0x11bfb9(0x1d8);class _0x517ac4{constructor(_0x179b24,_0x431d76){const _0x206e09=_0x11bfb9;this['container']=document[_0x206e09(0x161)](_0x179b24),this[_0x206e09(0x150)]=document[_0x206e09(0x161)](_0x431d76),this[_0x206e09(0x149)]={'isDragging':!0x1,'currentX':0x0,'currentY':0x0,'initialX':0x0,'initialY':0x0,'xOffset':0x0,'yOffset':0x0},this[_0x206e09(0x1e5)]();}[_0x11bfb9(0x1e5)](){const _0x4cdd34=_0x11bfb9;this[_0x4cdd34(0x14c)]();}[_0x11bfb9(0x14c)](){const _0x44d55d=_0x11bfb9;this[_0x44d55d(0x150)][_0x44d55d(0x1b2)](_0x44d55d(0x22a),this[_0x44d55d(0x1da)][_0x44d55d(0x131)](this)),this[_0x44d55d(0x150)][_0x44d55d(0x1b2)](_0x44d55d(0x204),this['dragEnd']['bind'](this)),this['handle'][_0x44d55d(0x1b2)](_0x44d55d(0x18a),this[_0x44d55d(0x1c5)][_0x44d55d(0x131)](this)),this['handle'][_0x44d55d(0x1b2)](_0x44d55d(0x158),this[_0x44d55d(0x1da)]['bind'](this)),document[_0x44d55d(0x1b2)](_0x44d55d(0x1fc),this[_0x44d55d(0x1c5)]['bind'](this)),document[_0x44d55d(0x1b2)]('mouseup',this['dragEnd'][_0x44d55d(0x131)](this));}['dragStart'](_0x15e116){const _0x441384=_0x11bfb9;if(!this[_0x441384(0x13f)](_0x15e116['target']))return;const {clientX:_0x539bbc,clientY:_0x17a03d}=this['getEventCoordinates'](_0x15e116);this[_0x441384(0x149)]['initialX']=_0x539bbc-this[_0x441384(0x149)]['xOffset'],this[_0x441384(0x149)][_0x441384(0x1b9)]=_0x17a03d-this[_0x441384(0x149)][_0x441384(0x247)],this[_0x441384(0x149)][_0x441384(0x216)]=!0x0,this[_0x441384(0x19c)]();}[_0x11bfb9(0x1bc)](){const _0x5b0f14=_0x11bfb9;this['state'][_0x5b0f14(0x1b7)]=this[_0x5b0f14(0x149)][_0x5b0f14(0x1c2)],this[_0x5b0f14(0x149)][_0x5b0f14(0x1b9)]=this['state'][_0x5b0f14(0x1b5)],this[_0x5b0f14(0x149)][_0x5b0f14(0x216)]=!0x1,this[_0x5b0f14(0x22e)]();}[_0x11bfb9(0x1c5)](_0x2aabbe){const _0x586b57=_0x11bfb9;if(!this['state'][_0x586b57(0x216)])return;_0x2aabbe[_0x586b57(0x1e8)]();const {clientX:_0x5c69f7,clientY:_0x3a5ba5}=this[_0x586b57(0x224)](_0x2aabbe);this[_0x586b57(0x149)][_0x586b57(0x1c2)]=_0x5c69f7-this['state'][_0x586b57(0x1b7)],this[_0x586b57(0x149)][_0x586b57(0x1b5)]=_0x3a5ba5-this[_0x586b57(0x149)][_0x586b57(0x1b9)],this[_0x586b57(0x149)]['xOffset']=this[_0x586b57(0x149)][_0x586b57(0x1c2)],this['state'][_0x586b57(0x247)]=this['state'][_0x586b57(0x1b5)],this[_0x586b57(0x211)]();}[_0x11bfb9(0x224)](_0x12d1e0){const _0x38b310=_0x11bfb9;return{'clientX':'touchmove'===_0x12d1e0['type']?_0x12d1e0[_0x38b310(0x1a2)][0x0][_0x38b310(0x20c)]:_0x12d1e0[_0x38b310(0x20c)],'clientY':_0x38b310(0x18a)===_0x12d1e0[_0x38b310(0x1ae)]?_0x12d1e0[_0x38b310(0x1a2)][0x0][_0x38b310(0x137)]:_0x12d1e0[_0x38b310(0x137)]};}[_0x11bfb9(0x13f)](_0x8a7b1a){const _0x36bb6d=_0x11bfb9;return _0x8a7b1a===this['handle']||_0x8a7b1a[_0x36bb6d(0x1f6)]===this[_0x36bb6d(0x150)];}['updateDragStartStyles'](){const _0x2eb2b1=_0x11bfb9;this[_0x2eb2b1(0x189)]['style'][_0x2eb2b1(0x172)]='none',this['container'][_0x2eb2b1(0x225)][_0x2eb2b1(0x245)]=_0xa1e360+',\x20'+_0xfa0618;}[_0x11bfb9(0x22e)](){const _0x5ee43a=_0x11bfb9;this[_0x5ee43a(0x189)][_0x5ee43a(0x225)]['transition']=_0x56ca75,this[_0x5ee43a(0x189)][_0x5ee43a(0x225)][_0x5ee43a(0x245)]=_0x944d70+',\x20'+_0xfa0618;}[_0x11bfb9(0x211)](){const _0x4c63ae=_0x11bfb9;this[_0x4c63ae(0x189)]['style']['transform']='translate3d('+this[_0x4c63ae(0x149)][_0x4c63ae(0x1c2)]+_0x4c63ae(0x207)+this[_0x4c63ae(0x149)][_0x4c63ae(0x1b5)]+_0x4c63ae(0x21f);}}class _0x474dbb{constructor(_0x33b8b4,_0x3bdb89){const _0x57d446=_0x11bfb9;this[_0x57d446(0x18f)]=document[_0x57d446(0x161)](_0x33b8b4),this[_0x57d446(0x1ec)]=_0x3bdb89,this['initialize']();}['initialize'](){const _0x56d4d5=_0x11bfb9;this[_0x56d4d5(0x18f)]['addEventListener']('change',()=>{const _0x1d5f9e=_0x56d4d5;this[_0x1d5f9e(0x219)](),this[_0x1d5f9e(0x1ec)]?.(this[_0x1d5f9e(0x18f)][_0x1d5f9e(0x1d5)]);});}[_0x11bfb9(0x219)](){const _0x4d9998=_0x11bfb9,_0x3a5672=this[_0x4d9998(0x18f)][_0x4d9998(0x1d5)],_0x3c2bb7=this[_0x4d9998(0x18f)][_0x4d9998(0x1f5)],_0x38f40e=document[_0x4d9998(0x20e)](_0x4d9998(0x15d)),_0x1ca0b8=document[_0x4d9998(0x20e)](_0x4d9998(0x197));_0x3c2bb7[_0x4d9998(0x225)]['backgroundColor']=_0x3a5672?_0x4986f2:_0x390454,_0x3c2bb7[_0x4d9998(0x20e)](_0x4d9998(0x1af))[_0x4d9998(0x225)][_0x4d9998(0x1fa)]=_0x3a5672?'translateX(20px)':_0x4d9998(0x16b),_0x38f40e&&_0x1ca0b8&&this['updateStatus'](_0x38f40e,_0x1ca0b8,_0x3a5672);}['updateStatus'](_0x34a7ab,_0x4dc8c7,_0x1f9b63){const _0x39344b=_0x11bfb9,_0x13bec8=_0x1f9b63?_0x4986f2:_0x390454,_0x56adfc=_0x1f9b63?_0x39344b(0x200):_0x39344b(0x1a1);_0x34a7ab['style'][_0x39344b(0x22d)]=_0x13bec8,_0x34a7ab[_0x39344b(0x225)][_0x39344b(0x245)]=_0x39344b(0x15b)+_0x13bec8,_0x4dc8c7[_0x39344b(0x225)][_0x39344b(0x13d)]=_0x1f9b63?_0x29e3ea:_0x35d029,_0x4dc8c7['innerHTML']=this[_0x39344b(0x1dc)](_0x13bec8,_0x56adfc);}[_0x11bfb9(0x1dc)](_0x1f5a45,_0x5e1b7f){const _0x17c032=_0x11bfb9;return _0x17c032(0x140)+_0x1f5a45+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-radius:\x2050%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20inline-block;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20box-shadow:\x200\x200\x2010px\x20'+_0x1f5a45+_0x17c032(0x175)+_0x5e1b7f+_0x17c032(0x157);}}class _0x52e832{constructor(_0x2bc29a,_0x1466e2){const _0x20f54e=_0x11bfb9;this[_0x20f54e(0x18f)]=document[_0x20f54e(0x161)](_0x2bc29a),this[_0x20f54e(0x126)]=_0x1466e2,this[_0x20f54e(0x15c)]=null,this['initialize']();}['initialize'](){const _0x35d4ed=_0x11bfb9;this[_0x35d4ed(0x18f)][_0x35d4ed(0x1b2)]('change',()=>{const _0x8fcabb=_0x35d4ed;this[_0x8fcabb(0x219)](),this['element'][_0x8fcabb(0x1d5)]?(this[_0x8fcabb(0x126)][_0x8fcabb(0x1a4)](),this['startAutoDisableTimer']()):(this[_0x8fcabb(0x126)][_0x8fcabb(0x1aa)](),this['clearAutoDisableTimer']());});}['startAutoDisableTimer'](){const _0x4a7098=_0x11bfb9;this[_0x4a7098(0x153)](),this[_0x4a7098(0x15c)]=setTimeout(()=>{const _0x1491d0=_0x4a7098;this['element'][_0x1491d0(0x1d5)]=!0x1,this[_0x1491d0(0x219)](),this['questService'][_0x1491d0(0x1aa)]();},0x2710);}[_0x11bfb9(0x153)](){const _0x3877c6=_0x11bfb9;this[_0x3877c6(0x15c)]&&(clearTimeout(this[_0x3877c6(0x15c)]),this[_0x3877c6(0x15c)]=null);}['updateStyles'](){const _0xf1b7ed=_0x11bfb9,_0x4bc40f=this[_0xf1b7ed(0x18f)][_0xf1b7ed(0x1d5)],_0x20d6e2=this[_0xf1b7ed(0x18f)][_0xf1b7ed(0x1f5)];_0x20d6e2[_0xf1b7ed(0x225)]['backgroundColor']=_0x4bc40f?_0x4986f2:_0x390454,_0x20d6e2['querySelector']('.toggle-knob')[_0xf1b7ed(0x225)][_0xf1b7ed(0x1fa)]=_0x4bc40f?_0xf1b7ed(0x134):_0xf1b7ed(0x16b);}}class _0x22aae3{static[_0x11bfb9(0x1e6)](){const _0x33676e=_0x11bfb9,_0x4a5cbe=document[_0x33676e(0x191)](_0x33676e(0x212));_0x4a5cbe['innerHTML']=_0x33676e(0x1ea)+_0x43839d+_0x33676e(0x221)+_0xdbc816+_0x33676e(0x226)+_0x29e3ea+_0x33676e(0x183)+_0x56ca75+_0x33676e(0x1f8)+_0x944d70+_0x33676e(0x1f7)+_0x354d70+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20padding:\x2012px\x2016px;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20border-bottom:\x201px\x20solid\x20'+_0xdbc816+_0x33676e(0x14f)+_0x348259+_0x33676e(0x18d)+_0x1cea03+_0x33676e(0x1ca)+this[_0x33676e(0x181)](_0x33676e(0x170),_0x33676e(0x1e2))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+this[_0x33676e(0x181)]('completeQuests',_0x33676e(0x1d9))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20',this[_0x33676e(0x13c)](),document[_0x33676e(0x165)][_0x33676e(0x1c4)](_0x4a5cbe);const _0x322087=document['createElement'](_0x33676e(0x212));_0x322087['id']=_0x33676e(0x16d),_0x322087[_0x33676e(0x225)][_0x33676e(0x147)]=_0x33676e(0x1e0)+_0x43839d+_0x33676e(0x1d2)+_0x56ca75+_0x33676e(0x12f)+_0xdbc816+_0x33676e(0x233)+_0x944d70+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20',_0x322087[_0x33676e(0x23e)]='+',_0x322087[_0x33676e(0x240)]=()=>{const _0x194aec=_0x33676e;document[_0x194aec(0x161)](_0x194aec(0x193))[_0x194aec(0x225)][_0x194aec(0x1b6)]='block',_0x322087['style'][_0x194aec(0x1b6)]=_0x194aec(0x1f2);},document[_0x33676e(0x165)]['appendChild'](_0x322087);}static['createToggleOption'](_0x5b0b09,_0x4d9b94){const _0x5aeaf0=_0x11bfb9;return _0x5aeaf0(0x218)+_0xdbc816+_0x5aeaf0(0x168)+_0x29e3ea+_0x5aeaf0(0x22f)+_0x4d9b94+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20console[_0x11bfb9(0x23f)]('[Token\x20Debug]',..._0x518851),_0x57926a=(..._0x438805)=>console[_0x11bfb9(0x23f)](_0x11bfb9(0x1e3),..._0x438805),_0x1b2d1d=(..._0x5d9116)=>console[_0x11bfb9(0x15a)](_0x11bfb9(0x223),..._0x5d9116),_0x565a45=(..._0x1c4230)=>console[_0x11bfb9(0x23c)](_0x11bfb9(0x129),..._0x1c4230);function _0x13581b(_0x535c30){const _0x16f048=_0x11bfb9;return _0x535c30?_0x16f048(0x142)!=typeof _0x535c30?(_0x1b2d1d(_0x16f048(0x205)),!0x1):_0x535c30['startsWith']('eyJ')?0x0===_0x535c30[_0x16f048(0x1a7)]?(_0x1b2d1d(_0x16f048(0x1c9)),!0x1):(_0x2c0bf0(_0x16f048(0x128)),!0x0):(_0x1b2d1d(_0x16f048(0x156)),!0x1):(_0x1b2d1d(_0x16f048(0x190)),!0x1);}class _0x36fda9{static [_0x11bfb9(0x186)]=_0x11bfb9(0x136);['saveToken'](_0x4d2abb){const _0x2e55dc=_0x11bfb9;_0x13581b(_0x4d2abb)?(_0x57926a(_0x2e55dc(0x176)),window[_0x2e55dc(0x1f3)][_0x2e55dc(0x1f0)](_0x36fda9[_0x2e55dc(0x186)],_0x4d2abb),_0x2c0bf0('Token\x20saved\x20successfully')):_0x1b2d1d(_0x2e55dc(0x159));}}class _0x361d79{constructor(){const _0x3474fd=_0x11bfb9;this[_0x3474fd(0x210)]=new _0x36fda9(),this[_0x3474fd(0x1e5)]();}[_0x11bfb9(0x1e5)](){const _0x2e7a28=_0x11bfb9;_0x57926a(_0x2e7a28(0x1e7)),_0x57926a('Clearing\x20auth\x20token\x20from\x20localStorage'),window[_0x2e7a28(0x1f3)]['removeItem']('msp2_auth_token'),_0x2c0bf0('Auth\x20token\x20cleared'),this[_0x2e7a28(0x1a0)]();}[_0x11bfb9(0x1a0)](){const _0x16ac6=_0x11bfb9,_0x415f0a=window['fetch'];window[_0x16ac6(0x1e4)]=async(..._0x2f70f0)=>{const _0x1c5825=_0x16ac6,[_0x35f2ee,_0x2a26a5]=_0x2f70f0;try{if(_0x2a26a5?.[_0x1c5825(0x135)]){const _0xc25864=Object[_0x1c5825(0x246)](_0x2a26a5[_0x1c5825(0x135)])[_0x1c5825(0x1cc)](([_0x47974f])=>_0x1c5825(0x241)===_0x47974f[_0x1c5825(0x21d)]())?.[0x1];if(_0xc25864&&(_0x2c0bf0(_0x1c5825(0x16e),_0xc25864),_0xc25864[_0x1c5825(0x1a9)](_0x1c5825(0x209)))){const _0x2ecafa=function(_0xe4fd5b){const _0x240f5d=_0x1c5825;if(!_0xe4fd5b?.['startsWith'](_0x240f5d(0x209)))return _0x1b2d1d(_0x240f5d(0x178)),null;const _0x1bac43=_0xe4fd5b[_0x240f5d(0x141)](_0x240f5d(0x209),'')[_0x240f5d(0x214)]();return _0x2c0bf0(_0x240f5d(0x143)),_0x1bac43;}(_0xc25864);_0x2c0bf0(_0x1c5825(0x1d7),_0x2ecafa),_0x13581b(_0x2ecafa)&&(_0x57926a('Saving\x20valid\x20token'),this['tokenStorage'][_0x1c5825(0x21a)](_0x2ecafa));}}}catch(_0x232da){_0x565a45('Error\x20processing\x20authorization:',_0x232da);}return _0x415f0a[_0x1c5825(0x1e9)](window,_0x2f70f0);};}}const _0x1d2df6=[_0x11bfb9(0x12a),_0x11bfb9(0x201),_0x11bfb9(0x20b)];class _0x617a2b{constructor(_0x143d3d){const _0x4ff1f7=_0x11bfb9;this[_0x4ff1f7(0x1ed)]=_0x143d3d;}[_0x11bfb9(0x231)](){const _0x166b09=_0x11bfb9;return{'authorization':_0x166b09(0x209)+this[_0x166b09(0x1ed)]['getToken'](),'content-type':_0x166b09(0x20f)};}async['fetchQuests'](_0x49beda,_0x37d86a){const _0x2af20f=_0x11bfb9;try{const _0x2ead82=_0x37d86a['map'](_0x477a42=>_0x2af20f(0x232)+_0x477a42)[_0x2af20f(0x21c)]('&'),_0x27aecc=await fetch((_0x451b7d=>_0x2af20f(0x20d)+_0x451b7d+'/games/j68d/quests')(_0x49beda)+'?'+_0x2ead82,{'headers':this[_0x2af20f(0x231)]()});return await _0x27aecc['json']();}catch(_0x157949){return _0x565a45(_0x2af20f(0x18e),_0x157949),null;}}async[_0x11bfb9(0x1df)](_0x17f461,_0x468068,_0x280933=0x1){const _0x5ea3d8=_0x11bfb9;try{await fetch(((_0x3d5839,_0xbb0f2e)=>_0x5ea3d8(0x20d)+_0x3d5839+_0x5ea3d8(0x18b)+_0xbb0f2e+'/progress')(_0x17f461,_0x468068),{'method':_0x5ea3d8(0x1cb),'headers':this[_0x5ea3d8(0x231)](),'body':JSON[_0x5ea3d8(0x242)]({'progress':_0x280933})});}catch(_0x4d47a7){_0x2c0bf0(_0x5ea3d8(0x1b8)+_0x468068+':',_0x4d47a7);}}async['updateQuestState'](_0x769fb5,_0x1f8a91,_0x5f529d='Complete'){const _0x57df8b=_0x11bfb9;try{await fetch(((_0x909675,_0x2a61d0)=>_0x57df8b(0x20d)+_0x909675+_0x57df8b(0x18b)+_0x2a61d0+'/state')(_0x769fb5,_0x1f8a91),{'method':_0x57df8b(0x1cb),'headers':this['getHeaders'](),'body':JSON[_0x57df8b(0x242)]({'state':_0x5f529d})});}catch(_0x2ea047){_0x2c0bf0(_0x57df8b(0x19a)+_0x1f8a91+':',_0x2ea047);}}}class _0x1881b6{[_0x11bfb9(0x20a)](){const _0x17d0aa=_0x11bfb9;return window[_0x17d0aa(0x1f3)][_0x17d0aa(0x155)]('msp2_auth_token')||(_0x1b2d1d(_0x17d0aa(0x235)),null);}[_0x11bfb9(0x1ee)](){const _0x5026cb=_0x11bfb9,_0x2b7ea4=this[_0x5026cb(0x20a)]();return _0x2b7ea4?(_0x5984b3=_0x2b7ea4,_0x5590f1=_0x5026cb(0x1eb),JSON[_0x5026cb(0x146)](function(_0x14f0fc){const _0x5499a4=_0x5026cb,_0x4d713e=_0x14f0fc[_0x5499a4(0x141)](/-/g,'+')[_0x5499a4(0x141)](/_/g,'/'),_0xa393e7='='[_0x5499a4(0x1be)]((0x4-_0x4d713e[_0x5499a4(0x1a7)]%0x4)%0x4);try{return decodeURIComponent(atob(_0x4d713e+_0xa393e7)[_0x5499a4(0x14e)]('')[_0x5499a4(0x14d)](_0x2f5f6f=>'%'+('00'+_0x2f5f6f['charCodeAt'](0x0)[_0x5499a4(0x1b0)](0x10))[_0x5499a4(0x12b)](-0x2))[_0x5499a4(0x21c)](''));}catch(_0x5389d9){return console[_0x5499a4(0x23c)]('Error\x20decoding\x20base64:',_0x5389d9),'';}}(_0x5984b3['split']('.')[0x1]))[_0x5590f1]):null;var _0x5984b3,_0x5590f1;}}const _0x25fe25=[_0x11bfb9(0x152),'cf0589ffe9ed45369d70dcaaa9aa1db2',_0x11bfb9(0x154),'d92645e7672142028f2731aeda6e8e6f',_0x11bfb9(0x169),_0x11bfb9(0x1d3),_0x11bfb9(0x1b4),_0x11bfb9(0x229),_0x11bfb9(0x23b),_0x11bfb9(0x1c7)];class _0x356fcb{constructor(){const _0x1366e1=_0x11bfb9;this[_0x1366e1(0x202)]=!0x1,this[_0x1366e1(0x133)]=null,this[_0x1366e1(0x1bd)]=0x7d0,this[_0x1366e1(0x1bf)]=0x7530,this[_0x1366e1(0x1ed)]=new _0x1881b6(),this[_0x1366e1(0x1d1)]=new _0x617a2b(this[_0x1366e1(0x1ed)]);}async[_0x11bfb9(0x162)](_0x50ef47){const _0x19e996=_0x11bfb9,_0x189ae3=this['tokenProvider'][_0x19e996(0x1ee)]();if(!_0x189ae3)return;const _0x55409=this[_0x19e996(0x1ed)][_0x19e996(0x20a)]();if(_0x55409)try{await fetch(_0x19e996(0x139)+_0x50ef47+_0x19e996(0x1ff),{'method':_0x19e996(0x14b),'headers':{'authorization':_0x19e996(0x209)+_0x55409,'content-type':_0x19e996(0x20f)},'body':JSON[_0x19e996(0x242)]({'profileId':_0x189ae3,'gameId':_0x19e996(0x164)})});}catch(_0x5c8355){_0x565a45(_0x19e996(0x174)+_0x50ef47+':',_0x5c8355);}}async['completePetQuest'](){const _0x17206a=_0x11bfb9,_0x39ce35=this[_0x17206a(0x1ed)][_0x17206a(0x1ee)]();if(_0x39ce35){for(const _0x2178dc of _0x25fe25)await this[_0x17206a(0x162)](_0x2178dc);try{await fetch('https://eu.mspapis.com/quests/v2/profiles/'+_0x39ce35+'/games/j68d/quests/daily_pet_pets/state',{'method':_0x17206a(0x1cb),'headers':{'authorization':_0x17206a(0x209)+this[_0x17206a(0x1ed)]['getToken'](),'content-type':_0x17206a(0x20f)},'body':JSON[_0x17206a(0x242)]({'state':'Complete'})}),_0x2c0bf0(_0x17206a(0x1de));}catch(_0x1db3b5){_0x565a45('Error\x20completing\x20pet\x20quest:',_0x1db3b5);}}}async['completeQuest'](_0x14a659,_0x48224b){const _0xde86f0=_0x11bfb9;await this['questApi'][_0xde86f0(0x1df)](_0x14a659,_0x48224b),await this[_0xde86f0(0x1d1)][_0xde86f0(0x1e1)](_0x14a659,_0x48224b);}async['completeDailyQuests'](_0x16b4c1){const _0x927182=_0x11bfb9,_0x1eaf1f=_0x1d2df6[_0x927182(0x14d)](_0x51abac=>this[_0x927182(0x1d1)]['updateQuestState'](_0x16b4c1,_0x51abac));await Promise[_0x927182(0x18c)](_0x1eaf1f);}async[_0x11bfb9(0x171)](){const _0x511d9b=_0x11bfb9,_0xf1bca5=this['tokenProvider'][_0x511d9b(0x1ee)]();if(!_0xf1bca5)return;await this[_0x511d9b(0x17f)](),await this[_0x511d9b(0x13e)](_0xf1bca5);const _0x4f4987=await this[_0x511d9b(0x1d1)][_0x511d9b(0x130)](_0xf1bca5,['EventQuest',_0x511d9b(0x15f),_0x511d9b(0x19e)]);if(!_0x4f4987?.['quests'])return;const _0x56ef0a=_0x4f4987[_0x511d9b(0x1f1)][_0x511d9b(0x194)](_0x1d47d8=>_0x511d9b(0x200)===_0x1d47d8[_0x511d9b(0x149)])['map'](async _0x2907f0=>{const _0x2421fd=_0x511d9b;if(await this[_0x2421fd(0x151)](_0xf1bca5,_0x2907f0[_0x2421fd(0x1a8)]),_0x2907f0['children']?.[_0x2421fd(0x1a7)]>0x0){const _0x224747=_0x2907f0[_0x2421fd(0x1cf)][_0x2421fd(0x194)](_0x595b2e=>_0x2421fd(0x200)===_0x595b2e['state'])[_0x2421fd(0x14d)](_0x51c4eb=>this[_0x2421fd(0x151)](_0xf1bca5,_0x51c4eb[_0x2421fd(0x1a8)]));await Promise['all'](_0x224747);}});await Promise[_0x511d9b(0x18c)](_0x56ef0a);}[_0x11bfb9(0x1a4)](){const _0x30d467=_0x11bfb9;this[_0x30d467(0x202)]=!0x0,this[_0x30d467(0x171)](),this['intervalId']=setInterval(()=>{const _0x5249ac=_0x30d467;this[_0x5249ac(0x202)]&&this[_0x5249ac(0x171)]();},this[_0x30d467(0x1bd)]),setTimeout(()=>{const _0x34cdad=_0x30d467;this[_0x34cdad(0x1aa)]();},this[_0x30d467(0x1bf)]);}[_0x11bfb9(0x1aa)](){const _0x2aa270=_0x11bfb9;this['enabled']=!0x1,this[_0x2aa270(0x133)]&&(clearInterval(this['intervalId']),this['intervalId']=null);}}new class{async[_0x11bfb9(0x1e5)](){const _0x4a1d1e=_0x11bfb9,_0x2341da=new _0x36fda9(),_0x5a943e=(new _0x361d79(),new _0x356fcb()),_0x54bbf0=new _0x1dfa4c();await _0x54bbf0[_0x4a1d1e(0x1e5)](),new _0x25fa66(_0x54bbf0)[_0x4a1d1e(0x1e5)](),this[_0x4a1d1e(0x179)](_0x54bbf0,_0x5a943e);}[_0x11bfb9(0x179)](_0x3441d5,_0x36fb5b){const _0x1e04c9=_0x11bfb9;_0x22aae3['createUI'](),new _0x517ac4('msp2-client',_0x1e04c9(0x1d6)),new _0x474dbb(_0x1e04c9(0x170),_0x4dd734=>{const _0x324b90=_0x1e04c9;_0x3441d5[_0x324b90(0x202)]=_0x4dd734;}),new _0x52e832(_0x1e04c9(0x138),_0x36fb5b),document['getElementById']('minimize-client')[_0x1e04c9(0x240)]=()=>{const _0x1469fa=_0x1e04c9;document[_0x1469fa(0x161)](_0x1469fa(0x193))['style']['display']='none',document[_0x1469fa(0x161)](_0x1469fa(0x16d))[_0x1469fa(0x225)]['display']='flex';};}}()['initialize']();})());