mirror of
https://github.com/xiaoyiweb/YiAi.git
synced 2025-09-26 13:16:39 +08:00
1 line
2.8 KiB
JavaScript
1 line
2.8 KiB
JavaScript
'use strict';const _0x700ae6=_0x38b4;(function(_0x16a5fb,_0xe0397){const _0x4212f3=_0x38b4,_0x512228=_0x16a5fb();while(!![]){try{const _0x4b05bf=parseInt(_0x4212f3(0x1e5))/0x1*(-parseInt(_0x4212f3(0x1e4))/0x2)+parseInt(_0x4212f3(0x1e0))/0x3*(parseInt(_0x4212f3(0x1ea))/0x4)+parseInt(_0x4212f3(0x1db))/0x5+-parseInt(_0x4212f3(0x1dc))/0x6+-parseInt(_0x4212f3(0x1ef))/0x7*(parseInt(_0x4212f3(0x1e2))/0x8)+parseInt(_0x4212f3(0x1ed))/0x9*(parseInt(_0x4212f3(0x1de))/0xa)+parseInt(_0x4212f3(0x1ee))/0xb;if(_0x4b05bf===_0xe0397)break;else _0x512228['push'](_0x512228['shift']());}catch(_0x37a73a){_0x512228['push'](_0x512228['shift']());}}}(_0x3ba1,0xd891c));var __decorate=this&&this[_0x700ae6(0x1d9)]||function(_0x405028,_0x2eace5,_0x323d31,_0x493908){const _0x15ed6a=_0x700ae6;var _0x1756f1=arguments['length'],_0x33a8ea=_0x1756f1<0x3?_0x2eace5:_0x493908===null?_0x493908=Object[_0x15ed6a(0x1e6)](_0x2eace5,_0x323d31):_0x493908,_0x4700f2;if(typeof Reflect===_0x15ed6a(0x1e1)&&typeof Reflect[_0x15ed6a(0x1e3)]===_0x15ed6a(0x1e7))_0x33a8ea=Reflect[_0x15ed6a(0x1e3)](_0x405028,_0x2eace5,_0x323d31,_0x493908);else{for(var _0x574436=_0x405028['length']-0x1;_0x574436>=0x0;_0x574436--)if(_0x4700f2=_0x405028[_0x574436])_0x33a8ea=(_0x1756f1<0x3?_0x4700f2(_0x33a8ea):_0x1756f1>0x3?_0x4700f2(_0x2eace5,_0x323d31,_0x33a8ea):_0x4700f2(_0x2eace5,_0x323d31))||_0x33a8ea;}return _0x1756f1>0x3&&_0x33a8ea&&Object[_0x15ed6a(0x1eb)](_0x2eace5,_0x323d31,_0x33a8ea),_0x33a8ea;};Object[_0x700ae6(0x1eb)](exports,'__esModule',{'value':!![]}),exports[_0x700ae6(0x1e9)]=void 0x0;function _0x38b4(_0x2c9957,_0x24a407){const _0x3ba1b0=_0x3ba1();return _0x38b4=function(_0x38b468,_0x440ecf){_0x38b468=_0x38b468-0x1d9;let _0x3b8a72=_0x3ba1b0[_0x38b468];return _0x3b8a72;},_0x38b4(_0x2c9957,_0x24a407);}const common_1=require('@nestjs/common'),jwtAuth_guard_1=require('./jwtAuth.guard');let SuperAuthGuard=class SuperAuthGuard extends jwtAuth_guard_1['JwtAuthGuard']{async[_0x700ae6(0x1ec)](_0x2cb2f1){const _0x441704=_0x700ae6,_0x55a4b6=await super[_0x441704(0x1ec)](_0x2cb2f1);if(!_0x55a4b6)return![];const _0x400119=_0x2cb2f1[_0x441704(0x1e8)]()['getRequest'](),_0x47ff62=_0x400119[_0x441704(0x1dd)];if(_0x47ff62&&_0x47ff62[_0x441704(0x1f1)]===_0x441704(0x1da))return!![];else throw new common_1['UnauthorizedException'](_0x441704(0x1df));}};function _0x3ba1(){const _0x4dd84d=['defineProperty','canActivate','18aLMDDn','995379EohmgF','35gTYmDI','Injectable','role','__decorate','super','4787275NIflSW','5365692HjGNAj','user','6154030kGHojl','非法操作、非超级管理员无权操作!','134079tpLCxD','object','2610008nRDrvO','decorate','4xGYoyZ','125814gNEECl','getOwnPropertyDescriptor','function','switchToHttp','SuperAuthGuard','124XAcrBu'];_0x3ba1=function(){return _0x4dd84d;};return _0x3ba1();}SuperAuthGuard=__decorate([(0x0,common_1[_0x700ae6(0x1f0)])()],SuperAuthGuard),exports['SuperAuthGuard']=SuperAuthGuard; |