const _0x38ddfc=_0x4763;(function(_0x437d8e,_0x230ed6){const _0x3887a5=_0x4763,_0x5530d0=_0x437d8e();while(!![]){try{const _0x881deb=parseInt(_0x3887a5(0x1e3))/0x1+parseInt(_0x3887a5(0x2ba))/0x2+parseInt(_0x3887a5(0x254))/0x3+-parseInt(_0x3887a5(0x279))/0x4+parseInt(_0x3887a5(0x273))/0x5+parseInt(_0x3887a5(0x1d3))/0x6+-parseInt(_0x3887a5(0x24b))/0x7;if(_0x881deb===_0x230ed6)break;else _0x5530d0['push'](_0x5530d0['shift']());}catch(_0x4f8bd7){_0x5530d0['push'](_0x5530d0['shift']());}}}(_0x1b91,0xc8876));const _0x194a00=(function(){let _0x3113a5=!![];return function(_0x4231e1,_0x2b82d1){const _0x4187dd=_0x3113a5?function(){const _0x2ca7a2=_0x4763;if(_0x2b82d1){const _0x1ddbbc=_0x2b82d1[_0x2ca7a2(0x216)](_0x4231e1,arguments);return _0x2b82d1=null,_0x1ddbbc;}}:function(){};return _0x3113a5=![],_0x4187dd;};}()),_0x1f4684=_0x194a00(this,function(){const _0x47fa77=_0x4763;let _0x43ae6b;try{const _0x2d2774=Function('return\x20(fu'+_0x47fa77(0x1e7)+('{}.constru'+_0x47fa77(0x263)+_0x47fa77(0x29e)+'\x20)')+');');_0x43ae6b=_0x2d2774();}catch(_0x9386e3){_0x43ae6b=window;}const _0x4d0740=_0x43ae6b[_0x47fa77(0x2d7)]=_0x43ae6b[_0x47fa77(0x2d7)]||{},_0x2e4010=[_0x47fa77(0x244),'warn','info',_0x47fa77(0x28e),_0x47fa77(0x249),_0x47fa77(0x294),_0x47fa77(0x206)];for(let _0x281d48=0x0;_0x281d48<_0x2e4010[_0x47fa77(0x25d)];_0x281d48++){const _0x1b84c4=_0x194a00[_0x47fa77(0x1ea)+'r'][_0x47fa77(0x207)][_0x47fa77(0x1ef)](_0x194a00),_0x3e2c50=_0x2e4010[_0x281d48],_0x5d74a1=_0x4d0740[_0x3e2c50]||_0x1b84c4;_0x1b84c4[_0x47fa77(0x2cf)]=_0x194a00[_0x47fa77(0x1ef)](_0x194a00),_0x1b84c4['toString']=_0x5d74a1[_0x47fa77(0x219)][_0x47fa77(0x1ef)](_0x5d74a1),_0x4d0740[_0x3e2c50]=_0x1b84c4;}});_0x1f4684();import{_,jinja2}from'assets://js/lib/cat.js';import*as _0x51b760 from'./utils.js';class User{constructor(){const _0x2de28c=_0x4763;this[_0x2de28c(0x2fe)]='',this[_0x2de28c(0x29b)]='',this[_0x2de28c(0x1c4)]='',this[_0x2de28c(0x29d)+'n']='',this[_0x2de28c(0x2f0)+'en']='',this[_0x2de28c(0x1eb)]=0x0,this[_0x2de28c(0x287)+_0x2de28c(0x2b0)]=0x0;}static[_0x38ddfc(0x257)](_0x5d0161){const _0x32c5d1=_0x38ddfc;if(_[_0x32c5d1(0x2a3)](_0x5d0161))return new User();let _0x1a3225=JSON[_0x32c5d1(0x2fc)](_0x5d0161),_0x488656=new User();_0x488656[_0x32c5d1(0x2fe)]=_0x1a3225[_0x32c5d1(0x2b2)+'ive_id'],_0x488656[_0x32c5d1(0x29b)]=_0x1a3225['user_id'],_0x488656[_0x32c5d1(0x1c4)]=_0x1a3225[_0x32c5d1(0x20b)],_0x488656[_0x32c5d1(0x29d)+'n']=_0x1a3225[_0x32c5d1(0x20c)+'en'],_0x488656[_0x32c5d1(0x2f0)+'en']=_0x1a3225[_0x32c5d1(0x251)+_0x32c5d1(0x23d)],_0x488656[_0x32c5d1(0x1eb)]=_0x1a3225[_0x32c5d1(0x293)];if(typeof _0x1a3225[_0x32c5d1(0x26f)+_0x32c5d1(0x24c)]==_0x32c5d1(0x1cc)){let _0x223dac=new Date()[_0x32c5d1(0x26b)]()/0x3e8;_0x488656[_0x32c5d1(0x287)+_0x32c5d1(0x2b0)]=_0x223dac+_0x488656[_0x32c5d1(0x1eb)];}else _0x488656[_0x32c5d1(0x287)+_0x32c5d1(0x2b0)]=_0x1a3225['expires_ti'+_0x32c5d1(0x24c)];return _0x488656;}[_0x38ddfc(0x1da)](){const _0x4c8cb8=_0x38ddfc;return _[_0x4c8cb8(0x2a3)](this[_0x4c8cb8(0x2fe)])?'':this[_0x4c8cb8(0x2fe)];}[_0x38ddfc(0x274)](){const _0x17b4f6=_0x38ddfc;return _[_0x17b4f6(0x2a3)](this[_0x17b4f6(0x29b)])?'':this['userId'];}[_0x38ddfc(0x22c)+'pe'](){const _0x29b800=_0x38ddfc;return _[_0x29b800(0x2a3)](this[_0x29b800(0x1c4)])?'':this[_0x29b800(0x1c4)];}[_0x38ddfc(0x2d6)+_0x38ddfc(0x2ee)](){const _0x102033=_0x38ddfc;return _[_0x102033(0x2a3)](this[_0x102033(0x29d)+'n'])?'':this['accessToke'+'n'];}[_0x38ddfc(0x2ed)+_0x38ddfc(0x25e)](){const _0xbec228=_0x38ddfc;return _[_0xbec228(0x2a3)](this[_0xbec228(0x2f0)+'en'])?'':this[_0xbec228(0x2f0)+'en'];}[_0x38ddfc(0x220)+'Token'](_0x3d9c50){const _0x151aa2=_0x38ddfc;this[_0x151aa2(0x2f0)+'en']=_0x3d9c50;}[_0x38ddfc(0x27c)+_0x38ddfc(0x1ec)](){const _0x9be502=_0x38ddfc;return this['getTokenTy'+'pe']()+'\x20'+this[_0x9be502(0x2d6)+_0x9be502(0x2ee)]();}[_0x38ddfc(0x300)](){const _0xadf11d=_0x38ddfc;return this[_0xadf11d(0x22c)+'pe']()[_0xadf11d(0x25d)]>0x0&&this['getAccessT'+_0xadf11d(0x2ee)]()[_0xadf11d(0x25d)]>0x0;}[_0x38ddfc(0x2d9)](){const _0x86f8fc=_0x38ddfc;let _0x360dca=new Date()['getTime']()/0x3e8;return _0x360dca>this[_0x86f8fc(0x287)+_0x86f8fc(0x2b0)]-0x5;}[_0x38ddfc(0x21b)](){const _0xbe02b6=_0x38ddfc;return this[_0xbe02b6(0x2f0)+'en']='',this[_0xbe02b6(0x29d)+'n']='',this[_0xbe02b6(0x1eb)]=0x0,this[_0xbe02b6(0x287)+_0xbe02b6(0x2b0)]=0x0,this;}async[_0x38ddfc(0x233)](){const _0x559a77=_0x38ddfc;return await local[_0x559a77(0x230)](_0x559a77(0x1c6),_0x559a77(0x292)+_0x559a77(0x2e1),this[_0x559a77(0x219)]()),this;}['toString'](){const _0x20e2a6=_0x38ddfc;var _0x27795e={'default_drive_id':this[_0x20e2a6(0x1da)](),'user_id':this[_0x20e2a6(0x274)](),'token_type':this[_0x20e2a6(0x22c)+'pe'](),'access_token':this['getAccessT'+_0x20e2a6(0x2ee)](),'refresh_token':this['getRefresh'+_0x20e2a6(0x25e)](),'expires_in':this['expiresIn'],'expires_timestamp':this[_0x20e2a6(0x287)+_0x20e2a6(0x2b0)]};return JSON[_0x20e2a6(0x2ea)](_0x27795e);}}class OAuth{constructor(){const _0x47828c=_0x38ddfc;this[_0x47828c(0x1c4)]='',this[_0x47828c(0x29d)+'n']='',this[_0x47828c(0x2f0)+'en']='',this[_0x47828c(0x1eb)]=0x0,this['expiresTim'+'estamp']=0x0;}static['objectFrom'](_0x35b1b1){const _0x135b44=_0x38ddfc;if(_[_0x135b44(0x2a3)](_0x35b1b1))return new OAuth();let _0x51b1f7=JSON[_0x135b44(0x2fc)](_0x35b1b1),_0x299b6a=new OAuth();_0x299b6a['tokenType']=_0x51b1f7[_0x135b44(0x20b)],_0x299b6a[_0x135b44(0x29d)+'n']=_0x51b1f7[_0x135b44(0x20c)+'en'],_0x299b6a['refreshTok'+'en']=_0x51b1f7[_0x135b44(0x251)+_0x135b44(0x23d)],_0x299b6a['expiresIn']=_0x51b1f7[_0x135b44(0x293)];if(typeof _0x51b1f7[_0x135b44(0x26f)+_0x135b44(0x24c)]=='undefined'){let _0x3f8377=new Date()[_0x135b44(0x26b)]()/0x3e8;_0x299b6a['expiresTim'+_0x135b44(0x2b0)]=_0x3f8377+_0x299b6a[_0x135b44(0x1eb)];}else _0x299b6a['expiresTim'+'estamp']=_0x51b1f7[_0x135b44(0x26f)+_0x135b44(0x24c)];return _0x299b6a;}[_0x38ddfc(0x22c)+'pe'](){const _0x3b4adb=_0x38ddfc;return _['isEmpty'](this['tokenType'])?'':this[_0x3b4adb(0x1c4)];}[_0x38ddfc(0x2d6)+_0x38ddfc(0x2ee)](){const _0x224308=_0x38ddfc;return _[_0x224308(0x2a3)](this['accessToke'+'n'])?'':this['accessToke'+'n'];}[_0x38ddfc(0x2ed)+_0x38ddfc(0x25e)](){const _0x4944e0=_0x38ddfc;return _[_0x4944e0(0x2a3)](this[_0x4944e0(0x2f0)+'en'])?'':this[_0x4944e0(0x2f0)+'en'];}[_0x38ddfc(0x27c)+_0x38ddfc(0x1ec)](){const _0x25b90e=_0x38ddfc;return this[_0x25b90e(0x22c)+'pe']()+'\x20'+this[_0x25b90e(0x2d6)+_0x25b90e(0x2ee)]();}['isAuthed'](){const _0xfce07f=_0x38ddfc;return this[_0xfce07f(0x22c)+'pe']()[_0xfce07f(0x25d)]>0x0&&this[_0xfce07f(0x2d6)+_0xfce07f(0x2ee)]()[_0xfce07f(0x25d)]>0x0;}[_0x38ddfc(0x2d9)](){const _0x1e00ec=_0x38ddfc;let _0x423ed1=new Date()[_0x1e00ec(0x26b)]()/0x3e8;return _0x423ed1>this[_0x1e00ec(0x287)+_0x1e00ec(0x2b0)]-0x5;}['clean'](){const _0x426218=_0x38ddfc;return this[_0x426218(0x2f0)+'en']='',this[_0x426218(0x29d)+'n']='',this[_0x426218(0x1eb)]=0x0,this[_0x426218(0x287)+'estamp']=0x0,this;}async[_0x38ddfc(0x233)](){const _0x534345=_0x38ddfc;return await local[_0x534345(0x230)](_0x534345(0x1c6),'aliyundriv'+_0x534345(0x2e2),this[_0x534345(0x219)]()),this;}[_0x38ddfc(0x219)](){const _0x224cd7=_0x38ddfc;var _0x5613c9={'token_type':this[_0x224cd7(0x22c)+'pe'](),'access_token':this[_0x224cd7(0x2d6)+_0x224cd7(0x2ee)](),'refresh_token':this['getRefresh'+_0x224cd7(0x25e)](),'expires_in':this[_0x224cd7(0x1eb)],'expires_timestamp':this[_0x224cd7(0x287)+'estamp']};return JSON[_0x224cd7(0x2ea)](_0x5613c9);}}class Code{constructor(){const _0x598e08=_0x38ddfc;this[_0x598e08(0x2cd)+'i']='';}static[_0x38ddfc(0x257)](_0x17656d){const _0x2985a8=_0x38ddfc;if(_[_0x2985a8(0x2a3)](_0x17656d))return new Code();let _0x339643=JSON[_0x2985a8(0x2fc)](_0x17656d),_0x46cd03=new Code();return _0x46cd03[_0x2985a8(0x2cd)+'i']=_0x339643[_0x2985a8(0x2cd)+'i'],_0x46cd03;}['getRedirec'+_0x38ddfc(0x26d)](){const _0x25879b=_0x38ddfc;return _[_0x25879b(0x2a3)](this[_0x25879b(0x2cd)+'i'])?'':this['redirectUr'+'i'];}[_0x38ddfc(0x278)](){const _0x331d9e=_0x38ddfc;return this['getRedirec'+'tUri']()[_0x331d9e(0x1e9)](_0x331d9e(0x2c0))[0x1];}}class Item{constructor(_0x4888cb){const _0x37aabc=_0x38ddfc;this['items']=[],this[_0x37aabc(0x2f6)]='',this[_0x37aabc(0x298)]=_0x4888cb,this[_0x37aabc(0x285)]='',this[_0x37aabc(0x1d8)]='',this[_0x37aabc(0x217)]='',this['fileExtens'+_0x37aabc(0x289)]='',this['category']='',this[_0x37aabc(0x1ce)]='',this[_0x37aabc(0x214)]='';}static['objectFrom'](_0xbb889f){const _0x1726c8=_0x38ddfc;if(_[_0x1726c8(0x2a3)](_0xbb889f))return new Item();let _0x20ab99=JSON[_0x1726c8(0x2fc)](_0xbb889f),_0xcdeb74=new Item();return _0xcdeb74[_0x1726c8(0x2f6)]=typeof _0x20ab99[_0x1726c8(0x208)+'r']=='undefined'?'':_0x20ab99[_0x1726c8(0x208)+'r'],_0xcdeb74[_0x1726c8(0x298)]=typeof _0x20ab99['file_id']=='undefined'?'':_0x20ab99[_0x1726c8(0x245)],_0xcdeb74[_0x1726c8(0x285)]=typeof _0x20ab99['share_id']==_0x1726c8(0x1cc)?'':_0x20ab99[_0x1726c8(0x2c8)],_0xcdeb74[_0x1726c8(0x1d8)]=typeof _0x20ab99[_0x1726c8(0x1d8)]=='undefined'?'':_0x20ab99[_0x1726c8(0x1d8)],_0xcdeb74[_0x1726c8(0x217)]=typeof _0x20ab99['type']==_0x1726c8(0x1cc)?'':_0x20ab99['type'],_0xcdeb74[_0x1726c8(0x256)+_0x1726c8(0x289)]=typeof _0x20ab99[_0x1726c8(0x1d1)+_0x1726c8(0x1e6)]=='undefined'?'':_0x20ab99[_0x1726c8(0x1d1)+_0x1726c8(0x1e6)],_0xcdeb74[_0x1726c8(0x2a1)]=typeof _0x20ab99[_0x1726c8(0x2a1)]==_0x1726c8(0x1cc)?'':_0x20ab99['category'],_0xcdeb74['size']=typeof _0x20ab99[_0x1726c8(0x1ce)]=='undefined'?'':_0x20ab99[_0x1726c8(0x1ce)],_0xcdeb74[_0x1726c8(0x214)]=typeof _0x20ab99['parent_fil'+_0x1726c8(0x226)]==_0x1726c8(0x1cc)?'':_0x20ab99['parent_fil'+_0x1726c8(0x226)],typeof _0x20ab99['items']!='undefined'&&Array['isArray'](_0x20ab99[_0x1726c8(0x22d)])&&!_[_0x1726c8(0x2a3)](_0x20ab99[_0x1726c8(0x22d)])&&_0x20ab99[_0x1726c8(0x22d)][_0x1726c8(0x1e0)](function(_0x417eea){const _0x47a1c7=_0x1726c8;let _0xae20b9=Item[_0x47a1c7(0x257)](JSON[_0x47a1c7(0x2ea)](_0x417eea));_0xcdeb74[_0x47a1c7(0x22d)][_0x47a1c7(0x22b)](_0xae20b9);}),_0xcdeb74;}['getItems'](){const _0x4a8e26=_0x38ddfc;return _[_0x4a8e26(0x2a3)](this[_0x4a8e26(0x22d)])?[]:this[_0x4a8e26(0x22d)];}[_0x38ddfc(0x212)+_0x38ddfc(0x229)](){const _0x33473e=_0x38ddfc;return _[_0x33473e(0x2a3)](this['nextMarker'])?'':this[_0x33473e(0x2f6)];}[_0x38ddfc(0x288)](){const _0x35ce38=_0x38ddfc;return _['isEmpty'](this[_0x35ce38(0x298)])?'':this[_0x35ce38(0x298)];}[_0x38ddfc(0x2d0)](){const _0x299ccb=_0x38ddfc;return _['isEmpty'](this[_0x299ccb(0x1d8)])?'':this[_0x299ccb(0x1d8)];}['getType'](){const _0x27a02d=_0x38ddfc;return _[_0x27a02d(0x2a3)](this[_0x27a02d(0x217)])?'':this[_0x27a02d(0x217)];}[_0x38ddfc(0x29c)](){const _0x4fef36=_0x38ddfc;return _[_0x4fef36(0x2a3)](this[_0x4fef36(0x256)+'ion'])?'':this[_0x4fef36(0x256)+'ion'];}['getCategor'+'y'](){const _0xa5da95=_0x38ddfc;return _[_0xa5da95(0x2a3)](this[_0xa5da95(0x2a1)])?'':this['category'];}[_0x38ddfc(0x2b7)](){const _0x1e435e=_0x38ddfc;return this[_0x1e435e(0x1ce)]==0x0?'':'['+_0x51b760[_0x1e435e(0x2b7)](this[_0x1e435e(0x1ce)])+']';}['getParent'](){const _0xc6e27b=_0x38ddfc;return _[_0xc6e27b(0x2a3)](this[_0xc6e27b(0x214)])?'':'['+this[_0xc6e27b(0x214)]+']';}[_0x38ddfc(0x2e8)](_0x3d0518){const _0x349883=_0x38ddfc;return this[_0x349883(0x214)]=_0x3d0518,this;}[_0x38ddfc(0x269)+_0x38ddfc(0x239)](){const _0x80f3e2=_0x38ddfc;return this[_0x80f3e2(0x1dc)]()+'\x20'+this[_0x80f3e2(0x2d0)]()+'\x20'+this[_0x80f3e2(0x2b7)]();}}class Sub{constructor(){const _0x5ae8fb=_0x38ddfc;this[_0x5ae8fb(0x2f9)]='',this[_0x5ae8fb(0x1d8)]='',this[_0x5ae8fb(0x1f0)]='',this['format']='';}static['create'](){return new Sub();}[_0x38ddfc(0x1fa)](_0xeac4df){const _0x11f205=_0x38ddfc;return this[_0x11f205(0x1d8)]=_0xeac4df,this;}['setUrl'](_0x5de418){const _0x19faa8=_0x38ddfc;return this[_0x19faa8(0x2f9)]=_0x5de418,this;}[_0x38ddfc(0x23b)](_0x3f5ca5){const _0x339c03=_0x38ddfc;return this[_0x339c03(0x1f0)]=_0x3f5ca5,this;}[_0x38ddfc(0x1f9)](_0x1de4e7){const _0x2ba339=_0x38ddfc;return this[_0x2ba339(0x1f8)]=_0x1de4e7,this;}[_0x38ddfc(0x243)](_0x32a790){const _0x2a0785=_0x38ddfc;switch(_0x32a790){case _0x2a0785(0x2a9):return this['setFormat'](_0x2a0785(0x236));case _0x2a0785(0x266):case _0x2a0785(0x1ff):return this[_0x2a0785(0x1f9)]('text/x-ssa');default:return this[_0x2a0785(0x1f9)]('applicatio'+'n/x-subrip');}}}class Share{constructor(){const _0x34be71=_0x38ddfc;this[_0x34be71(0x2f8)]=0x0,this[_0x34be71(0x2c8)]='',this[_0x34be71(0x29f)+'n']='',this[_0x34be71(0x2e9)+'e']='',this[_0x34be71(0x293)]='',this[_0x34be71(0x2f4)]='',this[_0x34be71(0x2b6)+'me']='',this[_0x34be71(0x211)+_0x34be71(0x1cd)]='',this[_0x34be71(0x2c6)]='',this[_0x34be71(0x276)]='',this[_0x34be71(0x297)]='',this[_0x34be71(0x1f3)]='',this['share_name']='',this[_0x34be71(0x1c9)+'me']='',this[_0x34be71(0x20f)+'e']='',this[_0x34be71(0x282)]='';}static['objectFrom'](_0x4aff11){const _0xf6f623=_0x38ddfc;if(_['isEmpty'](_0x4aff11))return new Share();let _0x2adb3f=JSON['parse'](_0x4aff11),_0x6740bf=new Share();return _0x6740bf[_0xf6f623(0x2c8)]=typeof _0x2adb3f['share_id']==_0xf6f623(0x1cc)?'':_0x2adb3f['share_id'],_0x6740bf[_0xf6f623(0x29f)+'n']=typeof _0x2adb3f['share_toke'+'n']=='undefined'?'':_0x2adb3f[_0xf6f623(0x29f)+'n'],_0x6740bf[_0xf6f623(0x2e9)+'e']=typeof _0x2adb3f[_0xf6f623(0x2e9)+'e']==_0xf6f623(0x1cc)?'':_0x2adb3f['expire_tim'+'e'],_0x6740bf['expires_in']=typeof _0x2adb3f[_0xf6f623(0x293)]==_0xf6f623(0x1cc)?'':_0x2adb3f[_0xf6f623(0x293)],_0x6740bf[_0xf6f623(0x2f4)]=typeof _0x2adb3f['creator_id']==_0xf6f623(0x1cc)?'':_0x2adb3f[_0xf6f623(0x2f4)],_0x6740bf[_0xf6f623(0x2b6)+'me']=typeof _0x2adb3f['creator_na'+'me']==_0xf6f623(0x1cc)?'':_0x2adb3f[_0xf6f623(0x2b6)+'me'],_0x6740bf[_0xf6f623(0x211)+_0xf6f623(0x1cd)]=typeof _0x2adb3f['creator_ph'+_0xf6f623(0x1cd)]==_0xf6f623(0x1cc)?'':_0x2adb3f[_0xf6f623(0x211)+_0xf6f623(0x1cd)],_0x6740bf[_0xf6f623(0x2c6)]=typeof _0x2adb3f[_0xf6f623(0x2c6)]==_0xf6f623(0x1cc)?'':_0x2adb3f[_0xf6f623(0x2c6)],_0x6740bf[_0xf6f623(0x276)]=typeof _0x2adb3f[_0xf6f623(0x276)]==_0xf6f623(0x1cc)?'':_0x2adb3f[_0xf6f623(0x276)],_0x6740bf[_0xf6f623(0x297)]=typeof _0x2adb3f[_0xf6f623(0x297)]==_0xf6f623(0x1cc)?'':_0x2adb3f['vip'],_0x6740bf[_0xf6f623(0x1f3)]=typeof _0x2adb3f[_0xf6f623(0x1f3)]=='undefined'?'':_0x2adb3f[_0xf6f623(0x1f3)],_0x6740bf['share_name']=typeof _0x2adb3f[_0xf6f623(0x275)]=='undefined'?'':_0x2adb3f['share_name'],_0x6740bf[_0xf6f623(0x1c9)+'me']=typeof _0x2adb3f[_0xf6f623(0x1c9)+'me']=='undefined'?'':_0x2adb3f['display_na'+'me'],_0x6740bf[_0xf6f623(0x20f)+'e']=typeof _0x2adb3f[_0xf6f623(0x20f)+'e']==_0xf6f623(0x1cc)?'':_0x2adb3f['share_titl'+'e'],_0x6740bf[_0xf6f623(0x282)]=typeof _0x2adb3f['has_pwd']=='undefined'?'':_0x2adb3f[_0xf6f623(0x282)],_0x6740bf;}[_0x38ddfc(0x1f4)](){const _0x1812f6=_0x38ddfc;return _[_0x1812f6(0x2a3)](this[_0x1812f6(0x2c8)])?'':this[_0x1812f6(0x2c8)];}[_0x38ddfc(0x252)+_0x38ddfc(0x23d)](){const _0x207b21=_0x38ddfc;return _['isEmpty'](this[_0x207b21(0x29f)+'n'])?'':this[_0x207b21(0x29f)+'n'];}[_0x38ddfc(0x1e1)](){const _0x35d79f=_0x38ddfc;return this[_0x35d79f(0x2f8)]=new Date()[_0x35d79f(0x26b)]()+(this['expires_in']*0x3e8-0xa*0x3e8),this;}[_0x38ddfc(0x259)](_0x43c0da){const _0x5628af=_0x38ddfc;return this[_0x5628af(0x2c8)]=_0x43c0da,this;}[_0x38ddfc(0x1dd)](_0x14b3d7){const _0x49604c=_0x38ddfc;let _0x4a65aa=new Date()['getTime']();return this[_0x49604c(0x1f4)]()==_0x14b3d7&&_0x4a65aa<=this[_0x49604c(0x2f8)];}}const UA='Mozilla/5.'+'0\x20(iPhone;'+_0x38ddfc(0x2cc)+_0x38ddfc(0x2d3)+_0x38ddfc(0x1c8)+_0x38ddfc(0x225)+'leWebKit/6'+_0x38ddfc(0x23e)+_0x38ddfc(0x2ab)+_0x38ddfc(0x2c9)+_0x38ddfc(0x1df)+_0x38ddfc(0x2d2)+_0x38ddfc(0x260)+_0x38ddfc(0x247),CLIENT_ID='76917ccccd'+_0x38ddfc(0x2e3)+_0x38ddfc(0x265)+'2f';let tempIds=[],refreshToken='',share,oauth=new OAuth(),user=new User(),driveInfo={},log=_0x51b760[_0x38ddfc(0x244)];async function getUserCache(){const _0x3f9274=_0x38ddfc;var _0x1406b2=await local['get'](_0x3f9274(0x1c6),_0x3f9274(0x292)+_0x3f9274(0x2e1));return _0x1406b2;}async function getOAuthCache(){const _0x2e7396=_0x38ddfc;var _0x5bad63=await local[_0x2e7396(0x2df)](_0x2e7396(0x1c6),_0x2e7396(0x292)+_0x2e7396(0x2e2));return _0x5bad63;}async function initSome(){const _0x1605dc=_0x38ddfc;tempIds=[];let _0x533d8b=await getOAuthCache();await log(_0x1605dc(0x2d8)+'--oauth-'+_0x533d8b),oauth=OAuth[_0x1605dc(0x257)](_0x533d8b),console[_0x1605dc(0x213)](_0x1605dc(0x2d8)+'--'),console['debug'](oauth);let _0x51b377=await getUserCache();await log(_0x1605dc(0x2d8)+'--user-'+_0x51b377),user=User['objectFrom'](_0x51b377),console[_0x1605dc(0x213)](_0x1605dc(0x2d8)+'--'),console[_0x1605dc(0x213)](user);}function setRefreshToken(_0x5c01ae){refreshToken=_0x5c01ae;}function getToken(){const _0x2dee63=_0x38ddfc;return user[_0x2dee63(0x2ed)+'Token']();}function getHeader(){const _0x2e15f5=_0x38ddfc;var _0x583299={};return _0x583299[_0x2e15f5(0x27b)]=UA,_0x583299[_0x2e15f5(0x267)]=_0x2e15f5(0x1e4)+_0x2e15f5(0x1d6)+'ive.com/',_0x583299;}function getHeaderAuth(){const _0x52e865=_0x38ddfc;var _0x16868e={};_0x16868e[_0x52e865(0x215)+_0x52e865(0x23d)]=share[_0x52e865(0x252)+_0x52e865(0x23d)](),_0x16868e[_0x52e865(0x27f)]='client=And'+'roid,app=a'+'drive,vers'+_0x52e865(0x22f);if(user[_0x52e865(0x300)]())_0x16868e['authorizat'+'ion']=user[_0x52e865(0x27c)+_0x52e865(0x1ec)]();return _0x16868e;}function getHeaderShare(){const _0x10ddbc=_0x38ddfc;var _0x11231c=getHeader();return _0x11231c[_0x10ddbc(0x215)+'ken']=share[_0x10ddbc(0x252)+_0x10ddbc(0x23d)](),_0x11231c[_0x10ddbc(0x27f)]='client=And'+_0x10ddbc(0x238)+_0x10ddbc(0x2d1)+_0x10ddbc(0x22f),_0x11231c;}function getHeaderOpen(){const _0x29a396=_0x38ddfc;var _0xefa1d8={};return console['debug']('getHeaderO'+_0x29a396(0x26e)),console[_0x29a396(0x213)](oauth),_0xefa1d8[_0x29a396(0x25f)+_0x29a396(0x289)]=oauth['getAuthori'+'zation'](),_0xefa1d8;}async function alist(_0x110f2a,_0x2c8f4f){const _0x1f8457=_0x38ddfc;let _0x41cffb='https://ap'+'i.xhofe.to'+_0x1f8457(0x1fd)+_0x1f8457(0x2dd)+_0x110f2a,_0x3de33b=await postJson(_0x41cffb,_0x2c8f4f,getHeader()),_0x8463a9=_0x3de33b[_0x1f8457(0x2ca)];console[_0x1f8457(0x213)](_0x1f8457(0x295)+_0x110f2a),console['debug'](_0x8463a9);if(await isManyRequest(_0x8463a9))return![];return oauth=await OAuth['objectFrom'](_0x8463a9)[_0x1f8457(0x233)](),console[_0x1f8457(0x213)](_0x1f8457(0x1d4)+_0x1f8457(0x2e4)),console[_0x1f8457(0x213)](oauth),console[_0x1f8457(0x213)]('alist--oau'+_0x1f8457(0x2c2)),console['debug'](oauth['toString']()),!![];}async function getString(_0x2e5e34){const _0x4325dc=_0x38ddfc;let _0x13a9e5=await req(_0x2e5e34,{});return _0x13a9e5[_0x4325dc(0x2ca)];}async function postJson(_0x55a781,_0xeaa6bc,_0x57e619){const _0x2506df=_0x38ddfc;_0x57e619['Content-Ty'+'pe']=_0x2506df(0x2ac)+_0x2506df(0x2e6);const _0x537f63={};_0x537f63[_0x2506df(0x281)]=_0x57e619,_0x537f63[_0x2506df(0x2a8)]=_0x2506df(0x246),_0x537f63[_0x2506df(0x2fd)]=_0xeaa6bc;let _0x48d123=await req(_0x55a781,_0x537f63);return _0x48d123;}async function post(_0x17e8e3,_0x3070b3){const _0x4586ff=_0x38ddfc;_0x17e8e3=_0x17e8e3[_0x4586ff(0x2e0)](_0x4586ff(0x2f5))?_0x17e8e3:'https://ap'+_0x4586ff(0x218)+_0x4586ff(0x2be)+_0x17e8e3;let _0x4e6fbb=await postJson(_0x17e8e3,_0x3070b3,getHeader());return _0x4e6fbb[_0x4586ff(0x2ca)];}async function auth(_0x38209d,_0x4bca29){const _0x5b4477=_0x38ddfc;if(!user['isAuthed']()||user[_0x5b4477(0x2d9)]())await refreshAccessToken();_0x38209d=_0x38209d[_0x5b4477(0x2e0)]('https')?_0x38209d:_0x5b4477(0x1f5)+_0x5b4477(0x218)+'ive.com/'+_0x38209d;let _0x297cf8=await postJson(_0x38209d,_0x4bca29,getHeaderAuth());return await log('auth--res-'+'-'+_0x297cf8[_0x5b4477(0x2ca)]),_0x297cf8[_0x5b4477(0x2ca)];}async function shareFunc(_0x2601fb,_0x3c035f){const _0x117a9b=_0x38ddfc;_0x2601fb=_0x2601fb[_0x117a9b(0x2e0)](_0x117a9b(0x2f5))?_0x2601fb:_0x117a9b(0x1f5)+_0x117a9b(0x218)+_0x117a9b(0x2be)+_0x2601fb;let _0x16884a=getHeaderShare(),_0x256114=await postJson(_0x2601fb,_0x3c035f,_0x16884a);return console[_0x117a9b(0x213)]('----shareF'+_0x117a9b(0x223)+_0x2601fb),console['debug'](_0x16884a),console[_0x117a9b(0x213)](_0x3c035f),console[_0x117a9b(0x213)](_0x256114),_0x256114[_0x117a9b(0x2ca)];}async function oauthFunc(_0x2ac1b6,_0x2f28d5){const _0x29f623=_0x38ddfc;if(!oauth[_0x29f623(0x300)]()||oauth[_0x29f623(0x2d9)]())await refreshOpenToken();_0x2ac1b6=_0x2ac1b6['startsWith'](_0x29f623(0x2f5))?_0x2ac1b6:'https://op'+_0x29f623(0x1d9)+_0x29f623(0x1d2)+_0x29f623(0x2bf)+'/'+_0x2ac1b6;let _0x586a0f=await postJson(_0x2ac1b6,_0x2f28d5,getHeaderOpen());return await log(_0x29f623(0x2a6)+_0x29f623(0x1d7)+_0x2ac1b6),await log('oauthFunc-'+_0x29f623(0x1d7)+JSON[_0x29f623(0x2ea)](_0x586a0f)),_0x586a0f[_0x29f623(0x2ca)];}async function isManyRequest(_0x15b237){const _0x3211aa=_0x38ddfc;if(!(_0x15b237['indexOf'](_0x3211aa(0x21a)+_0x3211aa(0x26c))>-0x1))return![];return await oauth['clean']()[_0x3211aa(0x233)](),!![];}async function refreshShareToken(_0x4e33e0){const _0x5e20a7=_0x38ddfc;try{if(share!=null&&share[_0x5e20a7(0x1dd)](_0x4e33e0))return;let _0x118a6f={};_0x118a6f[_0x5e20a7(0x2c8)]=_0x4e33e0,_0x118a6f[_0x5e20a7(0x1cf)]='';let _0xd469f7=await post(_0x5e20a7(0x27a)+_0x5e20a7(0x1db)+_0x5e20a7(0x1fc),_0x118a6f);console[_0x5e20a7(0x213)](_0x5e20a7(0x2a7)+_0x5e20a7(0x2e5)+'n---json--'+'--'),console[_0x5e20a7(0x213)](_0xd469f7),share=Share['objectFrom'](_0xd469f7)[_0x5e20a7(0x259)](_0x4e33e0)[_0x5e20a7(0x1e1)](),console[_0x5e20a7(0x213)]('----refres'+'hShareToke'+_0x5e20a7(0x1d5)+'---'),console[_0x5e20a7(0x213)](share);}catch(_0x5efd21){console[_0x5e20a7(0x213)](_0x5efd21);}}async function refreshAccessToken(){const _0x40bb62=_0x38ddfc;try{let _0x3c7270={},_0x263386=user[_0x40bb62(0x2ed)+_0x40bb62(0x25e)]();_['isEmpty'](_0x263386)&&(_0x263386=refreshToken);_0x263386['startsWith'](_0x40bb62(0x23f))&&(_0x263386=await getString(_0x263386),_0x263386=_0x263386['trim']());_0x3c7270[_0x40bb62(0x251)+_0x40bb62(0x23d)]=_0x263386,_0x3c7270[_0x40bb62(0x1f2)]=_0x40bb62(0x251)+_0x40bb62(0x23d),await log(_0x40bb62(0x2ad)+'essToken--'+'-body--'+JSON[_0x40bb62(0x2ea)](_0x3c7270));let _0x3555b1=await post(_0x40bb62(0x262)+_0x40bb62(0x26a)+_0x40bb62(0x28b)+_0x40bb62(0x1de)+_0x40bb62(0x2bb),_0x3c7270);await log(_0x40bb62(0x2ad)+'essToken--'+_0x40bb62(0x2aa)+_0x3555b1),user=await User['objectFrom'](_0x3555b1)[_0x40bb62(0x233)](),await log(_0x40bb62(0x2ad)+_0x40bb62(0x2de)+_0x40bb62(0x286)+user['toString']());if(_[_0x40bb62(0x2a3)](user[_0x40bb62(0x2d6)+_0x40bb62(0x2ee)]()))throw new Error(_0x3555b1);return!![];}catch(_0x116f96){return await log(_0x40bb62(0x2ad)+_0x40bb62(0x2de)+'-error-'+_0x116f96[_0x40bb62(0x248)]),console['debug'](_0x116f96),await user[_0x40bb62(0x21b)]()[_0x40bb62(0x233)](),!![];}}async function oauthRequest(){const _0x1b2038=_0x38ddfc;try{let _0x432eb6={};_0x432eb6[_0x1b2038(0x221)]=0x1,_0x432eb6[_0x1b2038(0x2b5)]=_0x1b2038(0x20a)+_0x1b2038(0x228)+'ead,file:a'+_0x1b2038(0x1f7);let _0x43cbfa=_0x1b2038(0x261)+_0x1b2038(0x1d9)+_0x1b2038(0x272)+_0x1b2038(0x28c)+_0x1b2038(0x28d)+_0x1b2038(0x1fe)+'='+CLIENT_ID+('&redirect_'+_0x1b2038(0x234)+'//alist.nn'+_0x1b2038(0x242)+'liyundrive'+_0x1b2038(0x2b4)+_0x1b2038(0x2c1)+_0x1b2038(0x209)+':all:read,'+_0x1b2038(0x2ce)+'rite&state'+'='),_0x27574a=await auth(_0x43cbfa,_0x432eb6);return await log(_0x1b2038(0x2c7)+_0x1b2038(0x1c1)+_0x27574a),console['debug']('oauthReque'+_0x1b2038(0x1c1)),console[_0x1b2038(0x213)](_0x27574a),await oauthRedirect(Code['objectFrom'](_0x27574a)[_0x1b2038(0x278)]());}catch(_0x3d2f0b){return console[_0x1b2038(0x213)](_0x3d2f0b),![];}}async function oauthRedirect(_0xfbc94){const _0x11de4c=_0x38ddfc;try{let _0x281b83={};return _0x281b83[_0x11de4c(0x201)]=_0xfbc94,_0x281b83[_0x11de4c(0x1f2)]='authorizat'+_0x11de4c(0x2da),await alist(_0x11de4c(0x201),_0x281b83);}catch(_0x2f2e5b){return console[_0x11de4c(0x213)](_0x2f2e5b),await oauth[_0x11de4c(0x21b)]()[_0x11de4c(0x233)](),![];}}function _0x4763(_0x4e022a,_0x4ca166){const _0x41a7dd=_0x1b91();return _0x4763=function(_0x1f4684,_0x194a00){_0x1f4684=_0x1f4684-0x1c0;let _0x122de9=_0x41a7dd[_0x1f4684];return _0x122de9;},_0x4763(_0x4e022a,_0x4ca166);}async function refreshOpenToken(){const _0x507ef3=_0x38ddfc;try{if(_[_0x507ef3(0x2a3)](oauth['getRefresh'+'Token']()))return await oauthRequest();let _0x44c455={};return _0x44c455['grant_type']='refresh_to'+'ken',_0x44c455[_0x507ef3(0x251)+_0x507ef3(0x23d)]=oauth[_0x507ef3(0x2ed)+'Token'](),await alist(_0x507ef3(0x2bb),_0x44c455);}catch(_0x355c76){return console['debug'](_0x355c76),oauth[_0x507ef3(0x21b)]()[_0x507ef3(0x233)](),![];}}async function getVod(_0x4b07a8,_0x40cf35,_0x42dc40){const _0x576f9f=_0x38ddfc;await refreshShareToken(_0x4b07a8);let _0x486852={};_0x486852[_0x576f9f(0x2c8)]=_0x4b07a8;let _0x42b60f=await post(_0x576f9f(0x2b9)+'share_link'+'/get_share'+'_by_anonym'+_0x576f9f(0x264),_0x486852),_0x526f46=JSON[_0x576f9f(0x2fc)](_0x42b60f),_0x3e686f=[],_0x3405d9=[],_0x1afbc7=getParentFileId(_0x42dc40,_0x526f46),_0x2974f6=new Item(_0x1afbc7);await listFiles(_0x4b07a8,_0x2974f6,_0x3e686f,_0x3405d9);let _0x5d8e51=['原画','普画'],_0x43f054=[],_0x2f0392=[];for(var _0x4f708b of _0x3e686f)_0x43f054[_0x576f9f(0x22b)](_0x4f708b[_0x576f9f(0x269)+_0x576f9f(0x239)]()+'$'+_0x4b07a8+'+'+_0x4f708b[_0x576f9f(0x288)]()+findSubs(_0x4f708b[_0x576f9f(0x2d0)](),_0x3405d9));for(var _0x3444ce=0x0;_0x3444ce<_0x5d8e51[_0x576f9f(0x25d)];_0x3444ce++)_0x2f0392[_0x576f9f(0x22b)](_0x43f054[_0x576f9f(0x1e2)]('#'));let _0x1e8918={'vod_id':_0x40cf35,'vod_content':_0x40cf35,'vod_pic':_0x526f46[_0x576f9f(0x1f3)],'vod_name':_0x526f46[_0x576f9f(0x275)],'vod_play_url':_0x2f0392[_0x576f9f(0x1e2)](_0x576f9f(0x2f2)),'vod_play_from':_0x5d8e51['join']('$$$'),'type_name':'阿里云盘','vod_year':'','vod_area':'','vod_remarks':'','vod_actor':'','vod_director':''};return _0x1e8918;}async function listFiles(_0x1866d3,_0x1ed1fc,_0x42e5c9,_0x18ea9c){return await listFilesMarker(_0x1866d3,_0x1ed1fc,_0x42e5c9,_0x18ea9c,'');}async function listFilesMarker(_0x19f8ce,_0x5e6d34,_0x2be372,_0x135ee9,_0x23f9ed){const _0x31501d=_0x38ddfc;let _0x49ca6a={},_0x48a60c=[];_0x49ca6a[_0x31501d(0x2fa)]=0xc8,_0x49ca6a[_0x31501d(0x2c8)]=_0x19f8ce,_0x49ca6a['parent_fil'+_0x31501d(0x226)]=_0x5e6d34['getFileId'](),_0x49ca6a[_0x31501d(0x210)]=_0x31501d(0x1d8),_0x49ca6a['order_dire'+_0x31501d(0x2f3)]='ASC';if(_0x23f9ed[_0x31501d(0x25d)]>0x0)_0x49ca6a['marker']=_0x23f9ed;let _0x702a55=Item[_0x31501d(0x257)](await shareFunc('adrive/v2/'+'file/list_'+_0x31501d(0x237),_0x49ca6a));for(var _0x2c80b0 of _0x702a55[_0x31501d(0x2c5)]()){if(_0x2c80b0[_0x31501d(0x24f)]()==_0x31501d(0x1c2))_0x48a60c[_0x31501d(0x22b)](_0x2c80b0);else{if(_0x2c80b0[_0x31501d(0x21f)+'y']()==_0x31501d(0x1f1)||_0x2c80b0[_0x31501d(0x21f)+'y']()==_0x31501d(0x1c5))_0x2be372['push'](_0x2c80b0[_0x31501d(0x2e8)](_0x5e6d34[_0x31501d(0x2d0)]()));else _0x51b760['isSub'](_0x2c80b0[_0x31501d(0x29c)]())&&_0x135ee9[_0x31501d(0x22b)](_0x2c80b0);}}_0x702a55['getNextMar'+_0x31501d(0x229)]()[_0x31501d(0x25d)]>0x0&&await listFilesMarker(_0x19f8ce,_0x5e6d34,_0x2be372,_0x135ee9,_0x702a55['getNextMar'+'ker']());for(var _0x22e32e of _0x48a60c){await listFiles(_0x19f8ce,_0x22e32e,_0x2be372,_0x135ee9);}}function getParentFileId(_0x36abe5,_0x317c03){const _0x4248f5=_0x38ddfc;let _0x590402=_0x317c03[_0x4248f5(0x2b8)];if(!_[_0x4248f5(0x2a3)](_0x36abe5))return _0x36abe5;if(_0x590402['length']==0x0)return'';let _0x4416b7=_0x590402[0x0];return _0x4416b7[_0x4248f5(0x217)]==_0x4248f5(0x1c2)?_0x4416b7['file_id']:'root';}function pair(_0xaf5297,_0x29d457,_0x5d6340){const _0x3106e3=_0x38ddfc;for(var _0x5788bd of _0x29d457){var _0x3e6b91=_0x51b760[_0x3106e3(0x290)](_0x5788bd[_0x3106e3(0x2d0)]())[_0x3106e3(0x2ae)+'e']();if(_0xaf5297[_0x3106e3(0x27d)](_0x3e6b91)>-0x1||_0x3e6b91[_0x3106e3(0x27d)](_0xaf5297)>-0x1)_0x5d6340['push'](_0x5788bd);}}function findSubs(_0x4ffdf1,_0x5b0c79){const _0x1d35d6=_0x38ddfc;let _0x39be62=[];pair(_0x51b760['removeExt'](_0x4ffdf1)[_0x1d35d6(0x2ae)+'e'](),_0x5b0c79,_0x39be62);if(_0x39be62[_0x1d35d6(0x25d)]==0x0)for(var _0x3f820a of _0x5b0c79){_0x39be62[_0x1d35d6(0x22b)](_0x3f820a);}let _0x1413a7='';for(var _0x20f288 of _0x39be62){_0x1413a7+='+'+_0x51b760[_0x1d35d6(0x290)](_0x20f288[_0x1d35d6(0x2d0)]())+_0x1d35d6(0x1c0)+_0x20f288['getExt']()+_0x1d35d6(0x1c0)+_0x20f288[_0x1d35d6(0x288)]();}return _0x1413a7;}async function getSubs(_0x373919){const _0x1fa7fa=_0x38ddfc;let _0x5d28c4=[];for(var _0x39d324 of _0x373919){if(!(_0x39d324[_0x1fa7fa(0x27d)](_0x1fa7fa(0x1c0))>-0x1))continue;let _0x502b38=_0x39d324['split'](_0x1fa7fa(0x1c0)),_0x375cf8=_0x502b38[0x0],_0x3f8b3f=_0x502b38[0x1],_0x41e1d8=_0x502b38[0x2],_0x4df72b=await getDownloadUrl(_0x373919[0x0],_0x41e1d8);_0x5d28c4[_0x1fa7fa(0x22b)](Sub[_0x1fa7fa(0x231)]()[_0x1fa7fa(0x1fa)](_0x375cf8)[_0x1fa7fa(0x243)](_0x3f8b3f)['setUrl'](_0x4df72b));}return _0x5d28c4;}async function getDriveInfo(){const _0x2719cf=_0x38ddfc;if(!_[_0x2719cf(0x2a3)](driveInfo)&&!_['isEmpty'](driveInfo[_0x2719cf(0x2b2)+_0x2719cf(0x21e)]))return driveInfo;let _0x2bb046=await oauthFunc(_0x2719cf(0x2fb)+'iveInfo',{}),_0x268720=JSON[_0x2719cf(0x2fc)](_0x2bb046);const _0x27f479={};return _0x27f479[_0x2719cf(0x2b2)+_0x2719cf(0x21e)]=_0x268720[_0x2719cf(0x2b2)+_0x2719cf(0x21e)],_0x27f479[_0x2719cf(0x224)+'rive_id']=_0x268720[_0x2719cf(0x224)+_0x2719cf(0x205)],_0x27f479[_0x2719cf(0x22e)+_0x2719cf(0x2ef)]=_0x268720['backup_dri'+'ve_id'],driveInfo=_0x27f479,driveInfo;}async function getDriveId(){const _0x44adac=_0x38ddfc;let _0x557209=await getDriveInfo();console['debug'](_0x44adac(0x21c)+'fo---'),console[_0x44adac(0x213)](_0x557209);if(!_[_0x44adac(0x2a3)](_0x557209[_0x44adac(0x224)+_0x44adac(0x205)]))return _0x557209[_0x44adac(0x224)+_0x44adac(0x205)];return _0x557209[_0x44adac(0x2b2)+_0x44adac(0x21e)];}async function getDownloadUrl(_0x1d34f9,_0x23a908){const _0x5184fb=_0x38ddfc;await refreshShareToken(_0x1d34f9);let _0x5aea79=await getDriveId();console[_0x5184fb(0x213)](_0x5184fb(0x299)+_0x5184fb(0x21d)+'Id-'),console['debug'](_0x23a908),tempIds[_0x5184fb(0x29a)](await copy(_0x1d34f9,_0x23a908));let _0x5eb691={};_0x5eb691[_0x5184fb(0x245)]=tempIds[0x0],_0x5eb691[_0x5184fb(0x2cb)]=_0x5aea79;let _0x2f12db=await oauthFunc(_0x5184fb(0x20e)+_0x5184fb(0x283)+_0x5184fb(0x2d5),_0x5eb691);return console['debug'](_0x5184fb(0x299)+_0x5184fb(0x2a5)),console[_0x5184fb(0x213)](_0x2f12db),await log(_0x5184fb(0x299)+'dUrl---'+_0x2f12db),await deleteAll(),JSON[_0x5184fb(0x2fc)](_0x2f12db)['url'];}async function getVideoPreviewPlayInfo(_0x2032e9,_0x1b338a){const _0x1bc24d=_0x38ddfc;await refreshShareToken(_0x2032e9);let _0x4e414d=await getDriveId();tempIds[_0x1bc24d(0x29a)](await copy(_0x2032e9,_0x1b338a));let _0x800427={};_0x800427[_0x1bc24d(0x245)]=tempIds[0x0],_0x800427[_0x1bc24d(0x2cb)]=_0x4e414d,_0x800427[_0x1bc24d(0x2a1)]=_0x1bc24d(0x284)+'coding',_0x800427[_0x1bc24d(0x280)+'_sec']='14400';let _0x5f26d7=await oauthFunc(_0x1bc24d(0x20e)+_0x1bc24d(0x2a0)+_0x1bc24d(0x2a2)+'fo',_0x800427);return console[_0x1bc24d(0x213)](_0x1bc24d(0x255)+_0x1bc24d(0x203)+_0x1bc24d(0x23c)),console[_0x1bc24d(0x213)](_0x5f26d7),await deleteAll(),JSON[_0x1bc24d(0x2fc)](_0x5f26d7)['video_prev'+_0x1bc24d(0x24e)+_0x1bc24d(0x2bc)];}async function playerContent(_0x2ac766){const _0x2b10eb=_0x38ddfc;try{let _0x1ca3ce=await getDownloadUrl(_0x2ac766[0x0],_0x2ac766[0x1]),_0x433112=await getSubs(_0x2ac766),_0x54a5f4=[];for(var _0x340eda of _0x433112){const _0x32861c={};_0x32861c[_0x2b10eb(0x2f9)]=_0x340eda[_0x2b10eb(0x2f9)],_0x32861c[_0x2b10eb(0x1f0)]=_0x340eda[_0x2b10eb(0x1f0)],_0x32861c['title']=_0x340eda[_0x2b10eb(0x1d8)],_0x54a5f4[_0x2b10eb(0x22b)](_0x32861c);}const _0x47ca72={};return _0x47ca72['subt']=_0x54a5f4,JSON[_0x2b10eb(0x2ea)]({'parse':0x0,'url':_0x1ca3ce,'header':getHeader(),'extra':_0x47ca72,'format':_0x2b10eb(0x2ac)+_0x2b10eb(0x2f7)+'ream','subs':_0x433112});}catch(_0xb67505){console[_0x2b10eb(0x213)](_0xb67505);}}async function playerContentByFlag(_0x41d409,_0x284b22){const _0x7d33ef=_0x38ddfc;try{let _0x457e5b=await getVideoPreviewPlayInfo(_0x41d409[0x0],_0x41d409[0x1]),_0x9e2e18=getPreviewUrl(_0x457e5b,_0x284b22),_0x2caad7=await getSubs(_0x41d409),_0x4b4431=getSubsByPlayInfo(_0x457e5b);for(var _0x485afc of _0x4b4431){_0x2caad7[_0x7d33ef(0x22b)](_0x485afc);}let _0x14dfd7=[];for(var _0xd3a6a2 of _0x2caad7){const _0x581f39={};_0x581f39[_0x7d33ef(0x2f9)]=_0xd3a6a2['url'],_0x581f39[_0x7d33ef(0x1f0)]=_0xd3a6a2['lang'],_0x581f39[_0x7d33ef(0x1e8)]=_0xd3a6a2['name'],_0x14dfd7[_0x7d33ef(0x22b)](_0x581f39);}const _0x4dc35e={};return _0x4dc35e[_0x7d33ef(0x2b1)]=_0x14dfd7,JSON[_0x7d33ef(0x2ea)]({'parse':0x0,'url':_0x9e2e18,'header':getHeader(),'extra':_0x4dc35e,'format':_0x7d33ef(0x2ac)+'n/x-mpegUR'+'L','subs':_0x2caad7});}catch(_0x55898d){console[_0x7d33ef(0x213)](_0x55898d);}}function getPreviewUrl(_0x546a64,_0x2efd49){const _0x338e59=_0x38ddfc;if(!_0x546a64['hasOwnProp'+_0x338e59(0x235)]('live_trans'+_0x338e59(0x24a)+'k_list'))return'';let _0x4c4ca9=_0x546a64[_0x338e59(0x284)+_0x338e59(0x24a)+_0x338e59(0x1c3)],_0x5d85c0=_0x4c4ca9[_0x338e59(0x301)](),_0x6eca7a=[];for(var _0x46551e=0x0;_0x46551e<_0x5d85c0['length'];++_0x46551e){let _0x420aea=_0x5d85c0[_0x46551e];_0x6eca7a[_0x338e59(0x22b)](_0x420aea[_0x338e59(0x2f1)+'d']),_0x6eca7a[_0x338e59(0x22b)](_0x420aea['url']);}return _0x6eca7a;}function getSubsByPlayInfo(_0x4bbfdd){const _0x353481=_0x38ddfc;if(!_0x4bbfdd[_0x353481(0x2dc)+'erty'](_0x353481(0x284)+'coding_sub'+_0x353481(0x2e7)+_0x353481(0x25a)))return[];let _0x4d6872=_0x4bbfdd[_0x353481(0x284)+_0x353481(0x1ca)+_0x353481(0x2e7)+_0x353481(0x25a)],_0x30cdc1=[];for(var _0x2138bb=0x0;_0x2138bb<_0x4d6872[_0x353481(0x25d)];++_0x2138bb){let _0x531b55=_0x4d6872[_0x2138bb],_0x32006c=_0x531b55['language'],_0x1b46d6=_0x531b55[_0x353481(0x2f9)];_0x30cdc1['push'](Sub[_0x353481(0x231)]()['setUrl'](_0x1b46d6)[_0x353481(0x1fa)](_0x32006c)[_0x353481(0x23b)](_0x32006c)[_0x353481(0x243)](_0x353481(0x2a9)));}return _0x30cdc1;}async function copy(_0x471f97,_0x5cef3e){const _0x4a5637=_0x38ddfc;await log(_0x4a5637(0x270)+'r-'+user['toString']());let _0x48b408='{\x22requests'+'\x22:[{\x22body\x22'+_0x4a5637(0x2c4)+'\x22:\x22{{data.'+_0x4a5637(0x2eb)+_0x4a5637(0x232)+_0x4a5637(0x1fb)+_0x4a5637(0x28f)+'\x22auto_rena'+_0x4a5637(0x253)+_0x4a5637(0x291)+_0x4a5637(0x2c3)+'root\x22,\x22to_'+_0x4a5637(0x204)+'\x22{{data.dr'+'iveId}}\x22},'+_0x4a5637(0x25c)+_0x4a5637(0x200)+_0x4a5637(0x241)+_0x4a5637(0x25b)+_0x4a5637(0x271)+_0x4a5637(0x268)+_0x4a5637(0x27e)+_0x4a5637(0x2d4)+_0x4a5637(0x296)+'],\x22resourc'+'e\x22:\x22file\x22}',_0xa0e1e3=await getDriveId();const _0x387b84={};_0x387b84['fileId']=_0x5cef3e,_0x387b84[_0x4a5637(0x285)]=_0x471f97,_0x387b84[_0x4a5637(0x2fe)]=_0xa0e1e3;let _0x3b37a4=_0x387b84;const _0x3f7449={};_0x3f7449[_0x4a5637(0x2fd)]=_0x3b37a4,_0x48b408=jinja2(_0x48b408,_0x3f7449),await log(_0x4a5637(0x28a)+_0x48b408);let _0x5c06a5=await auth(_0x4a5637(0x23a)+_0x4a5637(0x2db),JSON[_0x4a5637(0x2fc)](_0x48b408));await log(_0x4a5637(0x250)+_0x4a5637(0x2bd)+_0x5c06a5);if(_0x5c06a5['indexOf'](_0x4a5637(0x202)+'oPermissio'+_0x4a5637(0x227))>-0x1)return copy(_0x471f97,_0x5cef3e);return JSON[_0x4a5637(0x2fc)](_0x5c06a5)[_0x4a5637(0x1ed)][0x0]['body'][_0x4a5637(0x245)];}function _0x1b91(){const _0x3d6fda=['error','hareId}}\x22,','removeExt','to_parent_','aliyundriv','expires_in','table','alist---','ile/copy\x22}','vip','fileId','getDownloa','unshift','userId','getExt','accessToke','rn\x20this\x22)(','share_toke','etVideoPre','category','viewPlayIn','isEmpty','resource\x22:','dUrl---','oauthFunc-','----refres','method','vtt','-result--','HTML,\x20like','applicatio','refreshAcc','toLowerCas','\x22:[{\x22body\x22','estamp','subt','default_dr','plication/','/callback&','scope','creator_na','getSize','file_infos','adrive/v3/','2981152HqisIU','token','nfo','ult','ive.com/','drive/v1.0','code=','scope=user','th-string','file_id\x22:\x22',':{\x22file_id','getItems','expiration','oauthReque','share_id','\x20Gecko)\x20Ve','content','drive_id','\x20CPU\x20iPhon','redirectUr','file:all:w','__proto__','getName','drive,vers','.3\x20Mobile/','e\x20OS\x2013_2_',',\x22url\x22:\x22/f','Url','getAccessT','console','initSome--','isExpired','ion_code','batch','hasOwnProp','i_open/','essToken--','get','startsWith','e_user','e_oauth','4441c39457','th-','hShareToke','n/json','title_task','parentFunc','expire_tim','stringify','fileId}}\x22,','\x22:\x22/file/d','getRefresh','oken','ve_id','refreshTok','template_i','$$$','ction','creator_id','https','nextMarker','n/octet-st','time','url','limit','user/getDr','parse','data','driveId','fileId}}\x22}','isAuthed','reverse','@@@','st---','folder','k_list','tokenType','audio','ali','elete\x22}],\x22','3\x20like\x20Mac','display_na','coding_sub',':{\x22Content','undefined','one','size','share_pwd','.driveId}}','file_exten','rive.com/a','9793734XrNUxA','alist--oau','n---share-','w.aliyundr','-res-1-','name','en.aliyund','getDriveId','ink/get_sh','getParent','alive','2/account/','rsion/13.0','forEach','setTime','join','1472978NoyvCg','https://ww','json\x22},\x22id','sion','nction()\x20','title','split','constructo','expiresIn','zation','responses',':{\x22drive_i','bind','lang','video','grant_type','avatar','getShareId','https://ap','{\x22requests','ll:write','format','setFormat','setName',':\x22{{data.s','are_token','p/alist/al','?client_id','ssa','{\x22Content-','code','ForbiddenN','eviewPlayI','drive_id\x22:','rive_id','trace','prototype','next_marke',':base,file','user:base,','token_type','access_tok','status','openFile/g','share_titl','order_by','creator_ph','getNextMar','debug','parent','x-share-to','apply','type','i.aliyundr','toString','Too\x20Many\x20R','clean','curDriveIn','dUrl--file','ive_id','getCategor','setRefresh','authorize','deleteOne-','unc----','resource_d','\x20OS\x20X)\x20App','e_id','n.File','file:all:r','ker','d\x22:\x22{{data','push','getTokenTy','items','backup_dri','ion=v4.3.1','set','create','\x22share_id\x22','save','uri=https:','erty','text/vtt','by_share','roid,app=a','Name','adrive/v2/','setLang','nfo===','ken','05.1.15\x20(K','http','splice','Type\x22:\x22app','.ci/tool/a','setExt','log','file_id','post','ari/604.1','message','exception','coding_tas','41353949otPnNF','mestamp','\x22file\x22}','iew_play_i','getType','copy---res','refresh_to','getShareTo','me\x22:true,\x22','1790220nZKIUe','getVideoPr','fileExtens','objectFrom','\x22,\x22file_id','setShareId','_list','lication/j','\x22headers\x22:','length','Token','authorizat','15E148\x20Saf','https://op','https://au','ctor(\x22retu','ous','a04f6084fb','ass','Referer',':\x220\x22,\x22meth','getDisplay','th.aliyund','getTime','equests','tUri','pen---','expires_ti','copy---use','son\x22},\x22id\x22','rive.com/o','7765385ckihAY','getUserId','share_name','updated_at','-Type\x22:\x22ap','getCode','66348cMtGDl','v2/share_l','User-Agent','getAuthori','indexOf','od\x22:\x22POST\x22','X-Canary','url_expire','headers','has_pwd','etDownload','live_trans','shareId','user-','expiresTim','getFileId','ion','copy---','rive.com/v','auth/users','/authorize'];_0x1b91=function(){return _0x3d6fda;};return _0x1b91();}function deleteAll(){const _0x16bfe0=_0x38ddfc;let _0x4c73f5=tempIds;_0x4c73f5[_0x16bfe0(0x1e0)]((_0x512cdb,_0x19009f)=>{const _0x13d2f1=_0x16bfe0;let _0x45337f=deleteOne(_0x512cdb);if(_0x45337f){let _0x491ece=tempIds[_0x13d2f1(0x27d)](_0x512cdb);_0x491ece>=0x0&&tempIds[_0x13d2f1(0x240)](_0x491ece,0x1);}});}async function deleteOne(_0x3bf58c){const _0xb4c1b8=_0x38ddfc;await log(_0xb4c1b8(0x222)+'--'+_0x3bf58c);let _0x398300=_0xb4c1b8(0x1f6)+_0xb4c1b8(0x2af)+_0xb4c1b8(0x1ee)+_0xb4c1b8(0x22a)+_0xb4c1b8(0x1d0)+_0xb4c1b8(0x258)+'\x22:\x22{{data.'+_0xb4c1b8(0x2ff)+',\x22headers\x22'+_0xb4c1b8(0x1cb)+_0xb4c1b8(0x277)+_0xb4c1b8(0x2b3)+_0xb4c1b8(0x1e5)+'\x22:\x22{{data.'+_0xb4c1b8(0x2eb)+'\x22method\x22:\x22'+'POST\x22,\x22url'+_0xb4c1b8(0x2ec)+_0xb4c1b8(0x1c7)+_0xb4c1b8(0x2a4)+_0xb4c1b8(0x24d),_0x297ffa=await getDriveId();const _0x35c4d8={};_0x35c4d8[_0xb4c1b8(0x298)]=_0x3bf58c,_0x35c4d8[_0xb4c1b8(0x2fe)]=_0x297ffa;let _0x2446ac=_0x35c4d8;const _0xcdb7e5={};_0xcdb7e5[_0xb4c1b8(0x2fd)]=_0x2446ac,_0x398300=jinja2(_0x398300,_0xcdb7e5),await log(_0xb4c1b8(0x222)+'--'+_0x398300);let _0x5cc012=await auth('adrive/v2/'+_0xb4c1b8(0x2db),JSON[_0xb4c1b8(0x2fc)](_0x398300));return await log(_0xb4c1b8(0x222)+'--result'+_0x5cc012),JSON[_0xb4c1b8(0x2fc)](_0x5cc012)[_0xb4c1b8(0x1ed)][0x0][_0xb4c1b8(0x20d)]==0x194;}function setToken(_0x4ee163){setRefreshToken(_0x4ee163);}export{initSome,setToken,getVod,playerContent,playerContentByFlag};