@univerjs-pro/collaboration-client 0.5.5-nightly.202501201606 → 0.5.5-nightly.202501210404

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x121e15,_0x21260a){var _0x433cde=_0x2d7e,_0x5bc63b=_0x121e15();while(!![]){try{var _0x253d67=parseInt(_0x433cde(0x440))/0x1*(-parseInt(_0x433cde(0x383))/0x2)+-parseInt(_0x433cde(0x377))/0x3+parseInt(_0x433cde(0x27c))/0x4+parseInt(_0x433cde(0x510))/0x5*(-parseInt(_0x433cde(0x265))/0x6)+parseInt(_0x433cde(0x514))/0x7+parseInt(_0x433cde(0x48a))/0x8*(-parseInt(_0x433cde(0x210))/0x9)+parseInt(_0x433cde(0x295))/0xa;if(_0x253d67===_0x21260a)break;else _0x5bc63b['push'](_0x5bc63b['shift']());}catch(_0x1dd3e7){_0x5bc63b['push'](_0x5bc63b['shift']());}}}(_0x12f2,0xec376),function(_0x108d88,_0x2d00ff){var _0x17c11b=_0x2d7e;typeof exports==_0x17c11b(0x304)&&typeof module<'u'?_0x2d00ff(exports,require('@univerjs/core'),require(_0x17c11b(0x308)),require(_0x17c11b(0x535)),require(_0x17c11b(0x3bc)),require(_0x17c11b(0x3f9)),require(_0x17c11b(0x283)),require(_0x17c11b(0x227)),require(_0x17c11b(0x544)),require('@univerjs/drawing'),require(_0x17c11b(0x502))):typeof define=='function'&&define[_0x17c11b(0x230)]?define([_0x17c11b(0x4da),_0x17c11b(0x40c),_0x17c11b(0x308),'rxjs/operators','@univerjs/network','@univerjs-pro/collaboration',_0x17c11b(0x283),_0x17c11b(0x227),_0x17c11b(0x544),_0x17c11b(0x303),_0x17c11b(0x502)],_0x2d00ff):(_0x108d88=typeof globalThis<'u'?globalThis:_0x108d88||self,_0x2d00ff(_0x108d88['UniverProCollaborationClient']={},_0x108d88['UniverCore'],_0x108d88['rxjs'],_0x108d88[_0x17c11b(0x308)][_0x17c11b(0x548)],_0x108d88[_0x17c11b(0x281)],_0x108d88[_0x17c11b(0x2fb)],_0x108d88[_0x17c11b(0x534)],_0x108d88[_0x17c11b(0x389)],_0x108d88['UniverSheets'],_0x108d88['UniverDrawing'],_0x108d88[_0x17c11b(0x39f)]));}(this,function(_0x39a6cf,_0x2317f6,_0x319114,_0x2a56f4,_0x1b5960,_0x4cecf,_0x2fddf7,_0x1b6b53,_0x614b46,_0x417eb2,_0x4afec2){'use strict';var _0x451c39=_0x2d7e;var _0x34fd0d=Object[_0x451c39(0x272)],_0x59cf6c=(_0x3ec6bf,_0x309001,_0x328ba0)=>_0x309001 in _0x3ec6bf?_0x34fd0d(_0x3ec6bf,_0x309001,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x328ba0}):_0x3ec6bf[_0x309001]=_0x328ba0,_0x51bd32=(_0x5b9849,_0x1d96ea,_0x4b8d36)=>_0x59cf6c(_0x5b9849,typeof _0x1d96ea!='symbol'?_0x1d96ea+'':_0x1d96ea,_0x4b8d36);const _0x1c7497=_0x451c39(0x3cd),_0x2928c=_0x451c39(0x3c6),_0x4ba355='SNAPSHOT_URL_KEY',_0x195685='SEND_CHANGESET_TIMEOUT',_0x2b3f23=_0x451c39(0x330),_0x5cfa0e='ws://127.0.0.1:8000/universer-api/comb/connect',_0x4062f9='/universer-api/user/session-ticket',_0x29f3e9=_0x451c39(0x30a),_0x4f600b='HEARTBEAT_TIMEOUT',_0x57f1be='RETRY_CONNECTING_MAX_COUNT',_0x42100b=_0x451c39(0x305),_0xed41dc=_0x451c39(0x1e8),_0x41bf9e=_0x451c39(0x36e),_0x1c7cd6=_0x451c39(0x282),_0x1e382=_0x451c39(0x46c),_0x20c477=_0x451c39(0x451),_0x4123d4=_0x451c39(0x29e);var _0x3c73e9=(_0x226cfc=>(_0x226cfc[_0x226cfc[_0x451c39(0x21b)]=0x0]=_0x451c39(0x21b),_0x226cfc[_0x226cfc['OK']=0x1]='OK',_0x226cfc[_0x226cfc[_0x451c39(0x43f)]=0x2]=_0x451c39(0x43f),_0x226cfc[_0x226cfc[_0x451c39(0x42a)]=0x3]=_0x451c39(0x42a),_0x226cfc[_0x226cfc[_0x451c39(0x3fb)]=0x4]='NOT_FOUND',_0x226cfc[_0x226cfc['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x226cfc[_0x226cfc[_0x451c39(0x456)]=0x6]=_0x451c39(0x456),_0x226cfc[_0x226cfc['INVALID_ARGUMENT']=0x7]=_0x451c39(0x331),_0x226cfc[_0x226cfc[_0x451c39(0x538)]=0x8]=_0x451c39(0x538),_0x226cfc[_0x226cfc[_0x451c39(0x338)]=0x9]=_0x451c39(0x338),_0x226cfc[_0x226cfc[_0x451c39(0x289)]=0x1389]=_0x451c39(0x289),_0x226cfc[_0x226cfc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x451c39(0x28c),_0x226cfc[_0x226cfc['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x451c39(0x4d4),_0x226cfc[_0x226cfc['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x451c39(0x412),_0x226cfc[_0x226cfc[_0x451c39(0x513)]=0x1b59]=_0x451c39(0x513),_0x226cfc[_0x226cfc[_0x451c39(0x465)]=0x1b5a]=_0x451c39(0x465),_0x226cfc[_0x226cfc[_0x451c39(0x257)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x226cfc[_0x226cfc[_0x451c39(0x463)]=0x1b5c]=_0x451c39(0x463),_0x226cfc[_0x226cfc[_0x451c39(0x4e2)]=0x1b5d]=_0x451c39(0x4e2),_0x226cfc[_0x226cfc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x451c39(0x37c),_0x226cfc[_0x226cfc[_0x451c39(0x28d)]=0x2329]=_0x451c39(0x28d),_0x226cfc[_0x226cfc[_0x451c39(0x3e0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x226cfc[_0x226cfc[_0x451c39(0x364)]=0x232b]=_0x451c39(0x364),_0x226cfc[_0x226cfc[_0x451c39(0x444)]=0x232c]=_0x451c39(0x444),_0x226cfc[_0x226cfc[_0x451c39(0x2e1)]=0x232d]=_0x451c39(0x2e1),_0x226cfc[_0x226cfc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x451c39(0x3b7),_0x226cfc[_0x226cfc[_0x451c39(0x550)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x226cfc[_0x226cfc[_0x451c39(0x25e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x226cfc[_0x226cfc[_0x451c39(0x555)]=0x2714]=_0x451c39(0x555),_0x226cfc[_0x226cfc[_0x451c39(0x20b)]=0x2af9]=_0x451c39(0x20b),_0x226cfc[_0x226cfc[_0x451c39(0x23e)]=-0x1]=_0x451c39(0x23e),_0x226cfc))(_0x3c73e9||{}),_0x49ad07=(_0x5e14f5=>(_0x5e14f5[_0x5e14f5[_0x451c39(0x246)]=0x0]=_0x451c39(0x246),_0x5e14f5[_0x5e14f5['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x5e14f5[_0x5e14f5['UNIVER_SHEET']=0x2]=_0x451c39(0x39e),_0x5e14f5[_0x5e14f5[_0x451c39(0x49f)]=0x3]=_0x451c39(0x49f),_0x5e14f5[_0x5e14f5[_0x451c39(0x2c9)]=0x4]=_0x451c39(0x2c9),_0x5e14f5[_0x5e14f5['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5e14f5))(_0x49ad07||{}),_0x428542=(_0x3fbf09=>(_0x3fbf09[_0x3fbf09['UNKNOWN_CMD']=0x0]=_0x451c39(0x30b),_0x3fbf09[_0x3fbf09[_0x451c39(0x1e7)]=0x1]=_0x451c39(0x1e7),_0x3fbf09[_0x3fbf09[_0x451c39(0x478)]=0x2]=_0x451c39(0x478),_0x3fbf09[_0x3fbf09[_0x451c39(0x511)]=0x3]=_0x451c39(0x511),_0x3fbf09[_0x3fbf09['INGEST']=0x4]='INGEST',_0x3fbf09[_0x3fbf09[_0x451c39(0x4ec)]=0x5]='HEARTBEAT',_0x3fbf09[_0x3fbf09[_0x451c39(0x209)]=0x6]=_0x451c39(0x209),_0x3fbf09[_0x3fbf09[_0x451c39(0x23e)]=-0x1]=_0x451c39(0x23e),_0x3fbf09))(_0x428542||{}),_0x1240de=(_0x309fde=>(_0x309fde[_0x309fde[_0x451c39(0x2be)]=0x0]=_0x451c39(0x2be),_0x309fde[_0x309fde['OK']=0x1]='OK',_0x309fde[_0x309fde[_0x451c39(0x406)]=0x2]=_0x451c39(0x406),_0x309fde[_0x309fde['JOIN_ROOM_FULL']=0x3e9]=_0x451c39(0x314),_0x309fde[_0x309fde[_0x451c39(0x467)]=0x3ea]=_0x451c39(0x467),_0x309fde[_0x309fde[_0x451c39(0x29b)]=0x3eb]=_0x451c39(0x29b),_0x309fde[_0x309fde[_0x451c39(0x23c)]=0x3ec]=_0x451c39(0x23c),_0x309fde[_0x309fde['UNRECOGNIZED']=-0x1]=_0x451c39(0x23e),_0x309fde))(_0x1240de||{}),_0x266ad4=(_0x452b40=>(_0x452b40[_0x452b40['Undefined']=0x0]=_0x451c39(0x46e),_0x452b40[_0x452b40[_0x451c39(0x252)]=0x1]=_0x451c39(0x252),_0x452b40[_0x452b40[_0x451c39(0x288)]=0x2]=_0x451c39(0x288),_0x452b40[_0x452b40[_0x451c39(0x4fe)]=0x3]=_0x451c39(0x4fe),_0x452b40[_0x452b40[_0x451c39(0x22e)]=0x4]='UnitSnapshot',_0x452b40[_0x452b40[_0x451c39(0x23e)]=-0x1]=_0x451c39(0x23e),_0x452b40))(_0x266ad4||{});const _0x33ccdf=_0x451c39(0x38c),_0xa4c703={};var _0x3e06d8=(_0xb85d0d=>(_0xb85d0d['OTHER_CLIENT_EDITING']=_0x451c39(0x2cb),_0xb85d0d[_0x451c39(0x42a)]=_0x451c39(0x42a),_0xb85d0d[_0x451c39(0x4dd)]=_0x451c39(0x4dd),_0xb85d0d[_0x451c39(0x36f)]=_0x451c39(0x36f),_0xb85d0d[_0x451c39(0x2c0)]='JOIN_ROOM_FAILED',_0xb85d0d[_0x451c39(0x350)]=_0x451c39(0x350),_0xb85d0d['SOCKET_FAILED']=_0x451c39(0x287),_0xb85d0d[_0x451c39(0x370)]=_0x451c39(0x370),_0xb85d0d))(_0x3e06d8||{});class _0x55eade{constructor(){var _0x26d373=_0x451c39;_0x51bd32(this,_0x26d373(0x4cd),new _0x319114[(_0x26d373(0x3d7))]()),_0x51bd32(this,'event$',this[_0x26d373(0x4cd)][_0x26d373(0x368)]());}[_0x451c39(0x3f5)](_0x556f19){var _0x35c39f=_0x451c39;this[_0x35c39f(0x4cd)][_0x35c39f(0x48d)](_0x556f19);}}const _0x2420dd=_0x2317f6['createIdentifier'](_0x451c39(0x1e5));function _0x565f30(_0x21aa26){var _0x21c848=_0x451c39,_0xce75a3,_0x453118,_0x229fdf,_0x427e0b,_0x12e3da;const _0x234879=_0x21aa26[_0x21c848(0x2a8)],_0x3ab6fd=JSON[_0x21c848(0x37a)](_0x234879);switch(_0x3ab6fd['cmd']){case _0x428542['HEARTBEAT']:case _0x428542['HELLO']:{const _0x2b66ec=_0x3ab6fd[_0x21c848(0x362)];return{..._0x3ab6fd,'data':_0x2b66ec,'cmd':_0x3ab6fd[_0x21c848(0x414)]};}case _0x428542[_0x21c848(0x478)]:{const _0x3fbc96=_0x3ab6fd['joinRsp'];return{..._0x3ab6fd,'data':_0x3fbc96,'cmd':_0x3ab6fd[_0x21c848(0x414)]};}case _0x428542['RECV']:{const _0x5a5390=_0x3ab6fd[_0x21c848(0x479)];switch(_0x5a5390[_0x21c848(0x319)]){case _0x4cecf[_0x21c848(0x318)]['PERMISSION_REJ']:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':(_0xce75a3=_0x5a5390[_0x21c848(0x359)])==null?void 0x0:_0xce75a3['cs']},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x3af)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':(_0x453118=_0x5a5390[_0x21c848(0x1f6)])==null?void 0x0:_0x453118['cs']},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)]['NEW_CHANGESETS']:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':(_0x229fdf=_0x5a5390[_0x21c848(0x469)])==null?void 0x0:_0x229fdf['cs']},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)]['CHANGESET_REJ']:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':(_0x427e0b=_0x5a5390['csRejEvent'])==null?void 0x0:_0x427e0b['cs']},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x214)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':(_0x12e3da=_0x5a5390['csShouldRetryEvent'])==null?void 0x0:_0x12e3da['cs']},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x46b)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x491)]},'cmd':_0x3ab6fd['cmd']};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x50c)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x1ea)]},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf['CollaborationEvent'][_0x21c848(0x232)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x4fc)]},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x403)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x351)]},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x2c1)]:case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x344)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390['liveShareOperation']},'cmd':_0x3ab6fd['cmd']};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x2b9)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390['liveShareNewHost']},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x202)]:return{..._0x3ab6fd,'data':_0x5a5390,'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf['CollaborationEvent'][_0x21c848(0x2a9)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x2c4)]},'cmd':_0x3ab6fd['cmd']};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x33b)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x4f6)]},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)]['SHOULD_CLOSE_CONN']:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x2a0)]},'cmd':_0x3ab6fd[_0x21c848(0x414)]};case _0x4cecf[_0x21c848(0x318)][_0x21c848(0x23a)]:return{..._0x3ab6fd,'data':{..._0x5a5390,'data':_0x5a5390[_0x21c848(0x2ba)]},'cmd':_0x3ab6fd[_0x21c848(0x414)]};default:return _0x3ab6fd;}}default:return _0x3ab6fd;}}function _0x2323e5(_0x2c9e2f){var _0x542c41=_0x451c39;switch(_0x2c9e2f[_0x542c41(0x414)]){case _0x428542[_0x542c41(0x4ec)]:case _0x428542[_0x542c41(0x1e7)]:return JSON[_0x542c41(0x4a2)]({'cmd':_0x2c9e2f[_0x542c41(0x414)],'routeKey':_0x2c9e2f['routeKey']});case _0x428542[_0x542c41(0x4b2)]:{let _0x671d9d;switch(_0x2c9e2f[_0x542c41(0x2a8)][_0x542c41(0x319)]){case _0x4cecf['CollaborationEvent'][_0x542c41(0x46b)]:{_0x671d9d={'eventID':_0x4cecf[_0x542c41(0x318)][_0x542c41(0x46b)],'updateCursorEvent':_0x2c9e2f[_0x542c41(0x2a8)]['data']};break;}case _0x4cecf['CollaborationEvent'][_0x542c41(0x232)]:{_0x671d9d={'eventID':_0x4cecf['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x2c9e2f[_0x542c41(0x2a8)][_0x542c41(0x2a8)]};break;}case _0x4cecf[_0x542c41(0x318)][_0x542c41(0x50c)]:{_0x671d9d={'eventID':_0x4cecf['CollaborationEvent'][_0x542c41(0x50c)],'joinEvent':_0x2c9e2f[_0x542c41(0x2a8)]['data']};break;}case _0x4cecf[_0x542c41(0x318)]['LIVESHARE_NEW_HOST']:{_0x671d9d={'eventID':_0x4cecf[_0x542c41(0x318)][_0x542c41(0x403)],'liveShareNewHost':_0x2c9e2f[_0x542c41(0x2a8)][_0x542c41(0x2a8)]};break;}case _0x4cecf[_0x542c41(0x318)][_0x542c41(0x344)]:{_0x671d9d={'eventID':_0x4cecf[_0x542c41(0x318)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x2c9e2f['data'][_0x542c41(0x2a8)]};break;}case _0x4cecf[_0x542c41(0x318)]['LIVESHARE_TERMINATE']:{_0x671d9d={'eventID':_0x4cecf['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x2c9e2f[_0x542c41(0x2a8)][_0x542c41(0x2a8)]};break;}case _0x4cecf[_0x542c41(0x318)][_0x542c41(0x254)]:{_0x671d9d={'eventID':_0x4cecf[_0x542c41(0x318)][_0x542c41(0x254)],'liveShareRequestHost':_0x2c9e2f[_0x542c41(0x2a8)][_0x542c41(0x2a8)]};break;}case _0x4cecf[_0x542c41(0x318)]['LIVESHARE_FETCH_OPERATIONS']:{_0x671d9d={'eventID':_0x4cecf[_0x542c41(0x318)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x671d9d={'eventID':_0x2c9e2f[_0x542c41(0x2a8)][_0x542c41(0x319)]};}return JSON['stringify']({'cmd':_0x2c9e2f[_0x542c41(0x414)],'routeKey':_0x2c9e2f[_0x542c41(0x30e)],'collaMsg':_0x671d9d});}case _0x428542[_0x542c41(0x478)]:return JSON[_0x542c41(0x4a2)]({'cmd':_0x2c9e2f[_0x542c41(0x414)],'routeKey':_0x2c9e2f['routeKey'],'joinReq':_0x2c9e2f[_0x542c41(0x2a8)]});case _0x428542['LEAVE']:return JSON[_0x542c41(0x4a2)]({'cmd':_0x2c9e2f[_0x542c41(0x414)],'routeKey':_0x2c9e2f['routeKey'],'leaveReq':_0x2c9e2f['data']});default:throw new Error(_0x542c41(0x40e));}}var _0x598a39=Object[_0x451c39(0x272)],_0x5051da=Object['getOwnPropertyDescriptor'],_0x3e5f1c=(_0x225dfe,_0x42152c,_0x3e21ef,_0x1fce19)=>{var _0x168c2e=_0x451c39;for(var _0x1f6b3f=_0x1fce19>0x1?void 0x0:_0x1fce19?_0x5051da(_0x42152c,_0x3e21ef):_0x42152c,_0x1b0c34=_0x225dfe[_0x168c2e(0x429)]-0x1,_0x2dbe18;_0x1b0c34>=0x0;_0x1b0c34--)(_0x2dbe18=_0x225dfe[_0x1b0c34])&&(_0x1f6b3f=(_0x1fce19?_0x2dbe18(_0x42152c,_0x3e21ef,_0x1f6b3f):_0x2dbe18(_0x1f6b3f))||_0x1f6b3f);return _0x1fce19&&_0x1f6b3f&&_0x598a39(_0x42152c,_0x3e21ef,_0x1f6b3f),_0x1f6b3f;},_0x530e9d=(_0x3b19d3,_0x19198e)=>(_0x16e597,_0x27e9f8)=>_0x19198e(_0x16e597,_0x27e9f8,_0x3b19d3);const _0x4b836a=_0x2317f6[_0x451c39(0x36c)](_0x451c39(0x239));function _0x585752(_0x297000,_0x385e76,_0x3159d2){var _0x1f52a3=_0x451c39;return _0x297000+'/'+_0x385e76+_0x1f52a3(0x431)+_0x3159d2+_0x1f52a3(0x4d7);}_0x39a6cf[_0x451c39(0x245)]=class extends _0x2317f6[_0x451c39(0x4b9)]{constructor(_0x211a6a,_0x21023f,_0x390fcb,_0x5553a8,_0x6eab1){var _0x344f8a=_0x451c39;super(),this['_injector']=_0x211a6a,this[_0x344f8a(0x4bf)]=_0x21023f,this['_configService']=_0x390fcb,this['_logService']=_0x5553a8,this[_0x344f8a(0x369)]=_0x6eab1;}[_0x451c39(0x41b)](_0x296f21){var _0x1dad4a=_0x451c39;const _0x1b12bd=this['_injector'][_0x1dad4a(0x537)](_0x1b5960[_0x1dad4a(0x27a)]);if(!_0x1b12bd)throw new Error(_0x1dad4a(0x250));const _0x47dbc2=_0x1b12bd[_0x1dad4a(0x41b)](_0x296f21);if(!_0x47dbc2)throw new Error(_0x1dad4a(0x4cb));const _0x1a2e63=new _0x2317f6['DisposableCollection'](),_0x1b6f45=new _0x319114[(_0x1dad4a(0x3d7))]();_0x1a2e63[_0x1dad4a(0x449)](_0x47dbc2[_0x1dad4a(0x4c0)][_0x1dad4a(0x397)](_0x101835=>_0x1b6f45[_0x1dad4a(0x48d)](_0x101835))),_0x1a2e63[_0x1dad4a(0x449)](_0x2317f6[_0x1dad4a(0x226)](()=>_0x1b6f45[_0x1dad4a(0x274)]()));const _0x34faaf=new _0x319114[(_0x1dad4a(0x3d7))]();_0x1a2e63[_0x1dad4a(0x449)](_0x47dbc2['error$'][_0x1dad4a(0x397)](_0xe69e9c=>_0x34faaf[_0x1dad4a(0x48d)](_0xe69e9c))),_0x1a2e63['add'](_0x2317f6[_0x1dad4a(0x226)](()=>_0x34faaf[_0x1dad4a(0x274)]()));const _0x92f932=new _0x319114[(_0x1dad4a(0x3d7))]();_0x1a2e63[_0x1dad4a(0x449)](_0x47dbc2[_0x1dad4a(0x1fb)]['subscribe'](_0x5e0e88=>{var _0x236ac8=_0x1dad4a;const _0x94645f=_0x565f30(_0x5e0e88);_0x92f932[_0x236ac8(0x48d)](_0x94645f);})),_0x1a2e63[_0x1dad4a(0x449)](_0x2317f6['toDisposable'](()=>_0x92f932[_0x1dad4a(0x274)]()));let _0x42f70d;const _0x16553c=()=>{var _0x1ad112=_0x1dad4a;_0x34faaf[_0x1ad112(0x48d)](new Event(_0x1ad112(0x4b5))),_0x1b6f45['next'](new CloseEvent(_0x1ad112(0x4b5))),_0x42f70d['close']();};return _0x42f70d={'memberID':'','close$':_0x1b6f45[_0x1dad4a(0x368)](),'error$':_0x34faaf[_0x1dad4a(0x368)](),'open$':_0x47dbc2[_0x1dad4a(0x42d)],'message$':_0x92f932['asObservable'](),'send':_0x3875d3=>{var _0x524761=_0x1dad4a;if(_0x3875d3['cmd']===_0x428542['INGEST']){if(_0x3875d3[_0x524761(0x2a8)][_0x524761(0x319)]===_0x4cecf['CollaborationEvent'][_0x524761(0x32d)]){this[_0x524761(0x25a)](_0x42f70d,_0x3875d3['data'])[_0x524761(0x296)](_0x55df29=>{var _0x115f91=_0x524761;this[_0x115f91(0x2af)]['error'](_0x55df29),_0x16553c();});return;}if(_0x3875d3[_0x524761(0x2a8)]['eventID']===_0x4cecf[_0x524761(0x318)][_0x524761(0x1f0)]){const _0x5694eb=_0x3875d3[_0x524761(0x2a8)];this['_fetchMissChangesets'](_0x5694eb)[_0x524761(0x516)](_0x239e28=>{var _0x5c38e4=_0x524761;_0x92f932[_0x5c38e4(0x48d)]({'cmd':_0x428542[_0x5c38e4(0x209)],'code':_0x1240de['OK'],'routeKey':_0x5694eb[_0x5c38e4(0x2a8)][_0x5c38e4(0x217)],'routeType':'','data':{'eventID':_0x4cecf[_0x5c38e4(0x318)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x239e28}}});})['catch'](_0x210ca8=>{var _0x4e5320=_0x524761;this[_0x4e5320(0x2af)]['error'](_0x210ca8),_0x16553c();});return;}}_0x47dbc2[_0x524761(0x263)](_0x2323e5(_0x3875d3));},'close':()=>{var _0x3da497=_0x1dad4a;_0x47dbc2[_0x3da497(0x298)](),_0x1a2e63[_0x3da497(0x4c3)]();}},_0x42f70d;}async[_0x451c39(0x25a)](_0x12001d,_0x133f43){var _0x277e5e=_0x451c39,_0x188517,_0x529656;const {unitType:_0x5ae299,unitID:_0xbf77ff,changeset:_0x2552ca}=_0x133f43['data'],_0x38c47d={'unitID':_0xbf77ff,'memberID':_0x12001d[_0x277e5e(0x35f)],'type':_0x5ae299,'changeset':_0x4cecf[_0x277e5e(0x483)](_0x2552ca)},_0x170d45=this['_configService'][_0x277e5e(0x328)](_0xed41dc),_0xa01d5f=this[_0x277e5e(0x448)][_0x277e5e(0x328)](_0x33ccdf),_0x205539=_0x585752((_0x529656=(_0x188517=_0xa01d5f==null?void 0x0:_0xa01d5f['collabSubmitChangesetUrl'])!=null?_0x188517:_0x170d45)!=null?_0x529656:_0x41bf9e,_0x5ae299,_0xbf77ff);try{await this['_http'][_0x277e5e(0x466)](_0x205539,{'body':_0x38c47d});}catch(_0x513da){throw this[_0x277e5e(0x2af)]['error'](_0x277e5e(0x277),'submit\x20changeset\x20error!'),_0x513da;}}async[_0x451c39(0x50a)](_0x2a4a8f){var _0x528b29=_0x451c39;const {unitID:_0x422449,from:_0x237095,to:_0x1c7316,unitType:_0x2efc94}=_0x2a4a8f[_0x528b29(0x2a8)];return(await this['_snapshotServerService'][_0x528b29(0x345)]({'metadata':void 0x0},{'unitID':_0x422449,'type':_0x2efc94,'from':_0x237095,'to':_0x1c7316}))[_0x528b29(0x505)];}},_0x39a6cf[_0x451c39(0x245)]=_0x3e5f1c([_0x530e9d(0x0,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x334)])),_0x530e9d(0x1,_0x2317f6['Inject'](_0x1b5960[_0x451c39(0x352)])),_0x530e9d(0x2,_0x2317f6[_0x451c39(0x1e4)]),_0x530e9d(0x3,_0x2317f6[_0x451c39(0x536)]),_0x530e9d(0x4,_0x4cecf[_0x451c39(0x4f2)])],_0x39a6cf[_0x451c39(0x245)]);const _0x1bb5ff=_0x451c39(0x3ef);function _0x38ed36(_0x1f16e2){var _0x4379f5=_0x451c39;return JSON[_0x4379f5(0x4a2)](_0x1f16e2)[_0x4379f5(0x429)];}class _0x3939b7{constructor(){var _0x114fb6=_0x451c39;_0x51bd32(this,_0x114fb6(0x4f1),new _0x319114['Subject']()),_0x51bd32(this,_0x114fb6(0x2f1),this['_commentUpdate$']['asObservable']());}[_0x451c39(0x231)](_0x448025){var _0xb93bff=_0x451c39;this[_0xb93bff(0x4f1)][_0xb93bff(0x48d)](_0x448025);}}var _0x253410=Object[_0x451c39(0x272)],_0x4ed568=Object['getOwnPropertyDescriptor'],_0x5c0c26=(_0x1e36e4,_0x2ae3dd,_0x501ce9,_0x403786)=>{var _0x3459ba=_0x451c39;for(var _0x10c0f2=_0x403786>0x1?void 0x0:_0x403786?_0x4ed568(_0x2ae3dd,_0x501ce9):_0x2ae3dd,_0x321751=_0x1e36e4[_0x3459ba(0x429)]-0x1,_0x25215c;_0x321751>=0x0;_0x321751--)(_0x25215c=_0x1e36e4[_0x321751])&&(_0x10c0f2=(_0x403786?_0x25215c(_0x2ae3dd,_0x501ce9,_0x10c0f2):_0x25215c(_0x10c0f2))||_0x10c0f2);return _0x403786&&_0x10c0f2&&_0x253410(_0x2ae3dd,_0x501ce9,_0x10c0f2),_0x10c0f2;},_0x26ff3f=(_0x367d99,_0x137b74)=>(_0x52ed68,_0x18561a)=>_0x137b74(_0x52ed68,_0x18561a,_0x367d99);_0x39a6cf[_0x451c39(0x4cc)]=class extends _0x2317f6[_0x451c39(0x4b9)]{constructor(_0x38fef8,_0x503533){var _0x480c41=_0x451c39;super(),_0x51bd32(this,'_roomMembers',new Map()),_0x51bd32(this,'_roomCreated$',new _0x319114[(_0x480c41(0x3d7))]()),(this[_0x480c41(0x552)]=_0x38fef8,this[_0x480c41(0x3c4)]=_0x503533,this[_0x480c41(0x40a)](_0x319114[_0x480c41(0x269)](this[_0x480c41(0x552)]['getTypeOfUnitDisposed$'](_0x2317f6[_0x480c41(0x2f2)][_0x480c41(0x39e)])[_0x480c41(0x49b)](_0x2a56f4[_0x480c41(0x427)](_0x516a93=>_0x516a93['getUnitId']())),this[_0x480c41(0x552)]['getTypeOfUnitDisposed$'](_0x2317f6[_0x480c41(0x2f2)]['UNIVER_DOC'])[_0x480c41(0x49b)](_0x2a56f4['map'](_0x28f9e2=>_0x28f9e2[_0x480c41(0x276)]())),this[_0x480c41(0x552)][_0x480c41(0x218)](_0x2317f6['UniverInstanceType']['UNIVER_SLIDE'])['pipe'](_0x2a56f4[_0x480c41(0x427)](_0x30ed7b=>_0x30ed7b[_0x480c41(0x276)]())))[_0x480c41(0x397)](_0x266060=>this[_0x480c41(0x2ff)](_0x266060))));}[_0x451c39(0x4a4)](_0x143c75){var _0x1d1030=_0x451c39;return this['_roomMembers'][_0x1d1030(0x437)](_0x143c75)?_0x319114['of'](this[_0x1d1030(0x521)][_0x1d1030(0x537)](_0x143c75)):this[_0x1d1030(0x395)][_0x1d1030(0x49b)](_0x2a56f4['map'](_0x6d08eb=>{var _0x30b437=_0x1d1030;if(_0x6d08eb===_0x143c75)return this['_roomMembers'][_0x30b437(0x537)](_0x6d08eb);}));}['setCurrentUser'](_0x132ab3){var _0x2147dd=_0x451c39;this[_0x2147dd(0x3c4)][_0x2147dd(0x26b)](_0x132ab3);}[_0x451c39(0x2fe)](){var _0x1b265f=_0x451c39;return this[_0x1b265f(0x3c4)]['getCurrentUser']();}[_0x451c39(0x29f)](_0xb36b25,_0x543e05){var _0x3dedd2=_0x451c39;let _0x5a58c4=this[_0x3dedd2(0x521)][_0x3dedd2(0x537)](_0xb36b25);_0x5a58c4||(_0x5a58c4=new _0x16a447(),this[_0x3dedd2(0x521)][_0x3dedd2(0x321)](_0xb36b25,_0x5a58c4),this['_roomCreated$'][_0x3dedd2(0x48d)](_0xb36b25)),_0x5a58c4[_0x3dedd2(0x29f)](_0x543e05);}[_0x451c39(0x420)](_0xcf3dec,_0x45a73e){var _0x3a7298=_0x451c39;const _0x917856=this[_0x3a7298(0x521)][_0x3a7298(0x537)](_0xcf3dec);_0x917856&&_0x917856[_0x3a7298(0x420)](_0x45a73e);}[_0x451c39(0x31f)](_0x2b6718){var _0x3ca600=_0x451c39;return this[_0x3ca600(0x521)][_0x3ca600(0x537)](_0x2b6718);}['getMember'](_0x52b74d,_0x569f30){var _0x4aa7ae=_0x451c39;const _0x40915c=this['_roomMembers'][_0x4aa7ae(0x537)](_0x52b74d);if(_0x40915c)return _0x40915c['getMember'](_0x569f30);}[_0x451c39(0x2ff)](_0xfc212e){var _0x507d9d=_0x451c39;const _0x156f81=this[_0x507d9d(0x521)][_0x507d9d(0x537)](_0xfc212e);_0x156f81&&(_0x156f81['dispose'](),this[_0x507d9d(0x521)][_0x507d9d(0x34f)](_0xfc212e));}[_0x451c39(0x4c3)](){var _0x30a338=_0x451c39;this[_0x30a338(0x521)]['forEach'](_0x29f348=>_0x29f348['dispose']()),this['_roomMembers']['clear'](),this[_0x30a338(0x395)]['complete']();}},_0x39a6cf[_0x451c39(0x4cc)]=_0x5c0c26([_0x26ff3f(0x0,_0x2317f6[_0x451c39(0x2db)]),_0x26ff3f(0x1,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6['UserManagerService']))],_0x39a6cf[_0x451c39(0x4cc)]);class _0x16a447 extends _0x2317f6[_0x451c39(0x4b9)]{constructor(){var _0x44c982=_0x451c39;super(...arguments),_0x51bd32(this,_0x44c982(0x3d5),new Map()),_0x51bd32(this,'_members$',new _0x319114[(_0x44c982(0x475))](this[_0x44c982(0x3d5)])),_0x51bd32(this,'members$',this['_members$'][_0x44c982(0x368)]());}['dispose'](){var _0x99ef28=_0x451c39;this[_0x99ef28(0x3d5)][_0x99ef28(0x54f)]();}[_0x451c39(0x29f)](_0x11a012){var _0x1886a1=_0x451c39;this[_0x1886a1(0x3d5)]['set'](_0x11a012[_0x1886a1(0x35f)],_0x11a012),this['_emitMembers']();}[_0x451c39(0x420)](_0x2c6390){var _0xcc6c7c=_0x451c39;this['_members'][_0xcc6c7c(0x34f)](_0x2c6390);}[_0x451c39(0x341)](_0x60a7b0){var _0x4c1941=_0x451c39;return this[_0x4c1941(0x3d5)][_0x4c1941(0x537)](_0x60a7b0);}[_0x451c39(0x347)](){var _0x5e587c=_0x451c39;return Array['from'](this[_0x5e587c(0x3d5)][_0x5e587c(0x2bd)]());}['_emitMembers'](){var _0x3d0d62=_0x451c39;this[_0x3d0d62(0x418)][_0x3d0d62(0x48d)](this[_0x3d0d62(0x3d5)]);}}var _0x326e02=Object[_0x451c39(0x272)],_0x4679f7=Object[_0x451c39(0x1f7)],_0x58b721=(_0x276f07,_0x3f2e8c,_0x476a9d,_0x43bc81)=>{var _0x248e2f=_0x451c39;for(var _0x5b020c=_0x43bc81>0x1?void 0x0:_0x43bc81?_0x4679f7(_0x3f2e8c,_0x476a9d):_0x3f2e8c,_0x217fa=_0x276f07[_0x248e2f(0x429)]-0x1,_0x5a6d46;_0x217fa>=0x0;_0x217fa--)(_0x5a6d46=_0x276f07[_0x217fa])&&(_0x5b020c=(_0x43bc81?_0x5a6d46(_0x3f2e8c,_0x476a9d,_0x5b020c):_0x5a6d46(_0x5b020c))||_0x5b020c);return _0x43bc81&&_0x5b020c&&_0x326e02(_0x3f2e8c,_0x476a9d,_0x5b020c),_0x5b020c;},_0x5c2fb3=(_0x42a074,_0x32381f)=>(_0x30a30d,_0x5aec92)=>_0x32381f(_0x30a30d,_0x5aec92,_0x42a074),_0x140f3d=(_0x5f687b=>(_0x5f687b[_0x5f687b[_0x451c39(0x3d8)]=0x0]=_0x451c39(0x3d8),_0x5f687b[_0x5f687b[_0x451c39(0x264)]=0x1]='JOINING',_0x5f687b[_0x5f687b[_0x451c39(0x3d4)]=0x2]=_0x451c39(0x3d4),_0x5f687b[_0x5f687b['ONLINE']=0x3]=_0x451c39(0x42e),_0x5f687b))(_0x140f3d||{});const _0x5b77ad={[_0x1240de['FAIL']]:_0x451c39(0x39b),[_0x1240de[_0x451c39(0x314)]]:'session.room-full',[_0x1240de[_0x451c39(0x467)]]:_0x451c39(0x3ae),[_0x1240de['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x1240de[_0x451c39(0x23c)]]:_0x451c39(0x4ab)};_0x39a6cf['CollaborationSession']=class extends _0x2317f6[_0x451c39(0x36d)]{constructor(_0x2369b0,_0x7f0108,_0x457a92,_0x2f5ed4,_0x2c9271,_0x1f3154,_0xfe3513,_0x1c073f,_0x504227){var _0x1cd785=_0x451c39;super(),_0x51bd32(this,'_sessionStatus$',new _0x319114['BehaviorSubject'](0x0)),_0x51bd32(this,_0x1cd785(0x459),this[_0x1cd785(0x462)][_0x1cd785(0x368)]()),_0x51bd32(this,_0x1cd785(0x4cd),new _0x319114[(_0x1cd785(0x3d7))]()),_0x51bd32(this,_0x1cd785(0x3aa),this[_0x1cd785(0x4cd)][_0x1cd785(0x368)]()),_0x51bd32(this,_0x1cd785(0x4bd)),_0x51bd32(this,_0x1cd785(0x531)),_0x51bd32(this,_0x1cd785(0x2d1)),_0x51bd32(this,'_shouldReportTelemetry',!0x1),_0x51bd32(this,_0x1cd785(0x532),null),(this[_0x1cd785(0x487)]=_0x2369b0,this['_logService']=_0x457a92,this[_0x1cd785(0x448)]=_0x2f5ed4,this[_0x1cd785(0x4b1)]=_0x2c9271,this[_0x1cd785(0x1e9)]=_0x1f3154,this[_0x1cd785(0x3ec)]=_0xfe3513,this[_0x1cd785(0x313)]=_0x1c073f,this[_0x1cd785(0x4de)]=_0x504227,this[_0x1cd785(0x240)]=!!this[_0x1cd785(0x4de)],_0x7f0108[_0x1cd785(0x49b)](_0x319114['takeUntil'](this[_0x1cd785(0x219)]))['subscribe'](_0x549b3e=>{var _0x30b08f=_0x1cd785,_0x3bb304;typeof _0x549b3e>'u'||(this['_socket']=_0x549b3e,_0x549b3e?(this['_joinRoom'](_0x549b3e),this[_0x30b08f(0x531)]=_0x549b3e[_0x30b08f(0x1fb)][_0x30b08f(0x397)](_0x11321d=>{var _0x3692ca=_0x30b08f;_0x11321d['routeKey']===this[_0x3692ca(0x487)]&&this[_0x3692ca(0x4eb)](_0x11321d);})):(this[_0x30b08f(0x51c)](),this[_0x30b08f(0x462)][_0x30b08f(0x48d)](0x2),(_0x3bb304=this[_0x30b08f(0x531)])==null||_0x3bb304[_0x30b08f(0x426)](),this[_0x30b08f(0x531)]=null));}));}get['sessionStatus'](){var _0x281153=_0x451c39;return this[_0x281153(0x462)][_0x281153(0x21a)]();}[_0x451c39(0x243)](){var _0x5573c7=_0x451c39,_0x151398,_0x504ecc;return(_0x504ecc=(_0x151398=this[_0x5573c7(0x4bd)])==null?void 0x0:_0x151398[_0x5573c7(0x35f)])!=null?_0x504ecc:null;}[_0x451c39(0x4c3)](){var _0xfadcc5=_0x451c39;super['dispose'](),this[_0xfadcc5(0x219)][_0xfadcc5(0x48d)](),this['dispose$']['complete']();}[_0x451c39(0x298)](){var _0x2aa204=_0x451c39,_0x5e13c4,_0x3e9bb9;this[_0x2aa204(0x51c)](),(_0x5e13c4=this['_socket'])==null||_0x5e13c4['send']({'cmd':_0x428542['LEAVE'],'data':{'roomID':this[_0x2aa204(0x487)]}}),(_0x3e9bb9=this[_0x2aa204(0x4bd)])==null||_0x3e9bb9[_0x2aa204(0x298)](),this[_0x2aa204(0x4cd)][_0x2aa204(0x274)](),this[_0x2aa204(0x462)][_0x2aa204(0x274)](),this[_0x2aa204(0x4c3)]();}[_0x451c39(0x4eb)](_0x328275){var _0x2078a3=_0x451c39;_0x328275[_0x2078a3(0x414)]===_0x428542[_0x2078a3(0x478)]?this[_0x2078a3(0x438)](_0x328275):_0x328275[_0x2078a3(0x414)]===_0x428542[_0x2078a3(0x209)]&&this[_0x2078a3(0x38d)](_0x328275);}[_0x451c39(0x38a)](_0x16bd0f){var _0x2b1c19=_0x451c39;this[_0x2b1c19(0x462)][_0x2b1c19(0x48d)](0x1),_0x16bd0f[_0x2b1c19(0x263)]({'cmd':_0x428542[_0x2b1c19(0x478)],'routeKey':this[_0x2b1c19(0x487)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2b1c19(0x487)]}]}});}[_0x451c39(0x438)](_0x9e2395){var _0x34b7ec=_0x451c39,_0xae0483;if(_0x9e2395[_0x34b7ec(0x342)]in _0x5b77ad){this[_0x34b7ec(0x313)][_0x34b7ec(0x3f5)]({'id':_0x3e06d8[_0x34b7ec(0x2c0)],'data':_0x5b77ad[_0x9e2395[_0x34b7ec(0x342)]]}),this[_0x34b7ec(0x462)]['next'](0x2);return;}this[_0x34b7ec(0x462)][_0x34b7ec(0x48d)](0x3);const _0x44e0f3=(_0xae0483=_0x9e2395['data'][_0x34b7ec(0x3d0)][this[_0x34b7ec(0x487)]])==null?void 0x0:_0xae0483[_0x34b7ec(0x476)];_0x44e0f3&&_0x44e0f3[_0x34b7ec(0x43b)](_0x498e2c=>this[_0x34b7ec(0x1e9)][_0x34b7ec(0x29f)](this[_0x34b7ec(0x487)],_0x498e2c));}[_0x451c39(0x38d)](_0x4ac80c){var _0x3fbb56=_0x451c39;try{const _0x1f28e2=_0x4ac80c[_0x3fbb56(0x2a8)];switch(_0x1f28e2[_0x3fbb56(0x319)]){case _0x4cecf['CollaborationEvent'][_0x3fbb56(0x50c)]:this['_onUserJoin'](_0x1f28e2),this[_0x3fbb56(0x4cd)]['next'](_0x1f28e2);break;case _0x4cecf['CollaborationEvent'][_0x3fbb56(0x232)]:this['_onUserLeave'](_0x1f28e2),this[_0x3fbb56(0x4cd)][_0x3fbb56(0x48d)](_0x1f28e2);break;case _0x4cecf[_0x3fbb56(0x318)]['CHANGESET_ACK']:case _0x4cecf[_0x3fbb56(0x318)][_0x3fbb56(0x214)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3fbb56(0x3f1)](),this[_0x3fbb56(0x4cd)][_0x3fbb56(0x48d)](_0x1f28e2);break;case _0x4cecf['CollaborationEvent'][_0x3fbb56(0x202)]:this[_0x3fbb56(0x2af)]['error'](_0x3fbb56(0x494)+JSON[_0x3fbb56(0x4a2)](_0x1f28e2)),this[_0x3fbb56(0x4cd)][_0x3fbb56(0x48d)](_0x1f28e2);break;case _0x4cecf[_0x3fbb56(0x318)][_0x3fbb56(0x2a9)]:this['_commentService'][_0x3fbb56(0x231)](_0x1f28e2['data']),this[_0x3fbb56(0x4cd)][_0x3fbb56(0x48d)](_0x1f28e2);break;default:this[_0x3fbb56(0x4cd)]['next'](_0x1f28e2);}}catch(_0x3d1481){this[_0x3fbb56(0x2af)][_0x3fbb56(0x2d3)](_0x3d1481,_0x4ac80c);}}[_0x451c39(0x3a9)](_0x312243){var _0x4d9b33=_0x451c39;this[_0x4d9b33(0x1e9)]['updateMember'](this[_0x4d9b33(0x487)],_0x312243[_0x4d9b33(0x2a8)]);}[_0x451c39(0x495)](_0x4456ed){var _0x24599d=_0x451c39;this[_0x24599d(0x1e9)]['removeMember'](this[_0x24599d(0x487)],_0x4456ed[_0x24599d(0x2a8)][_0x24599d(0x35f)]);}async['send'](_0x5600a7,_0x585b33){var _0x4e160=_0x451c39;if(this[_0x4e160(0x2d7)]!==0x3||!this[_0x4e160(0x4bd)])throw new Error(_0x4e160(0x3f3));try{_0x5600a7[_0x4e160(0x319)]===_0x4cecf[_0x4e160(0x318)][_0x4e160(0x32d)]&&(this[_0x4e160(0x1fd)](),this['_startTelemetryCollaborationNewChangeset'](_0x5600a7)),this['_socket'][_0x4e160(0x263)]({'cmd':_0x428542['INGEST'],'routeKey':_0x585b33,'routeType':'','data':_0x5600a7});}catch(_0x50744c){this[_0x4e160(0x2af)]['error'](_0x50744c);}}['_scheduleCollaborationTimeoutTimer'](){var _0x413128=_0x451c39,_0x387da0;this[_0x413128(0x2d1)]=setTimeout(()=>{var _0x3a80a8=_0x413128;this[_0x3a80a8(0x2d1)]=null,this[_0x3a80a8(0x313)][_0x3a80a8(0x3f5)]({'id':_0x3e06d8[_0x3a80a8(0x370)]});},(_0x387da0=this[_0x413128(0x448)][_0x413128(0x328)](_0x4f600b))!=null?_0x387da0:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x31e7ff=_0x451c39;this[_0x31e7ff(0x2d1)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x31e7ff(0x2d1)]=null);}[_0x451c39(0x4ba)](_0x2089d9){var _0x5ade79=_0x451c39;if(!this[_0x5ade79(0x240)])return;const {data:_0x44fa62}=_0x2089d9,{unitID:_0x37c161,changeset:_0xf18792}=_0x44fa62,{mutations:_0xf8ae1c,type:_0x37a7df}=_0xf18792;this[_0x5ade79(0x532)]={'unitId':_0x37c161,'type':_0x37a7df,'startTime':performance[_0x5ade79(0x1f4)](),'stopTime':0x0,'duration':0x0,'size':_0x38ed36(_0xf8ae1c)};}[_0x451c39(0x52e)](){var _0xf8e65b=_0x451c39;if(this['_shouldReportTelemetry']){if(!this[_0xf8e65b(0x532)]){this['_logService'][_0xf8e65b(0x2d3)](_0xf8e65b(0x277),_0xf8e65b(0x44f));return;}this[_0xf8e65b(0x532)][_0xf8e65b(0x2cd)]=performance['now'](),this[_0xf8e65b(0x532)][_0xf8e65b(0x2e2)]=this[_0xf8e65b(0x532)][_0xf8e65b(0x2cd)]-this[_0xf8e65b(0x532)][_0xf8e65b(0x4d6)],this[_0xf8e65b(0x4de)]['capture'](_0x1bb5ff,this[_0xf8e65b(0x532)]),this[_0xf8e65b(0x532)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x18bd81=_0x451c39;this[_0x18bd81(0x532)]=null;}},_0x39a6cf[_0x451c39(0x2f7)]=_0x58b721([_0x5c2fb3(0x2,_0x2317f6[_0x451c39(0x536)]),_0x5c2fb3(0x3,_0x2317f6[_0x451c39(0x1e4)]),_0x5c2fb3(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x280)])),_0x5c2fb3(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x39a6cf['MemberService'])),_0x5c2fb3(0x6,_0x2317f6['Inject'](_0x3939b7)),_0x5c2fb3(0x7,_0x2317f6[_0x451c39(0x2b8)](_0x55eade)),_0x5c2fb3(0x8,_0x2317f6[_0x451c39(0x3ad)](_0x2fddf7['ITelemetryService']))],_0x39a6cf[_0x451c39(0x2f7)]);var _0x21fdf6=Object['defineProperty'],_0x3bb6a6=Object[_0x451c39(0x1f7)],_0x21e9e5=(_0x2e2e72,_0x423605,_0x11b8c7,_0x2a3273)=>{var _0x313663=_0x451c39;for(var _0x2bc190=_0x2a3273>0x1?void 0x0:_0x2a3273?_0x3bb6a6(_0x423605,_0x11b8c7):_0x423605,_0x20827b=_0x2e2e72[_0x313663(0x429)]-0x1,_0x3914b1;_0x20827b>=0x0;_0x20827b--)(_0x3914b1=_0x2e2e72[_0x20827b])&&(_0x2bc190=(_0x2a3273?_0x3914b1(_0x423605,_0x11b8c7,_0x2bc190):_0x3914b1(_0x2bc190))||_0x2bc190);return _0x2a3273&&_0x2bc190&&_0x21fdf6(_0x423605,_0x11b8c7,_0x2bc190),_0x2bc190;},_0x520629=(_0x4af9cb,_0x3e0258)=>(_0x5235b7,_0x1011a4)=>_0x3e0258(_0x5235b7,_0x1011a4,_0x4af9cb);_0x39a6cf[_0x451c39(0x2f3)]=class extends _0x2317f6[_0x451c39(0x4b9)]{constructor(_0x238011,_0x4da112,_0x35d30b,_0x1a899e,_0x531965,_0x2d530f,_0x2b61ab){var _0x1c8da7=_0x451c39;super(),_0x51bd32(this,'_socket$',new _0x319114[(_0x1c8da7(0x475))](void 0x0)),_0x51bd32(this,_0x1c8da7(0x2a1),this['_socket$'][_0x1c8da7(0x368)]()),_0x51bd32(this,'_candidateSocket',null),_0x51bd32(this,_0x1c8da7(0x4e4),new Map()),_0x51bd32(this,_0x1c8da7(0x315),new _0x319114[(_0x1c8da7(0x475))](_0x140f3d['IDLE'])),_0x51bd32(this,_0x1c8da7(0x2a7),this[_0x1c8da7(0x315)][_0x1c8da7(0x368)]()),_0x51bd32(this,'_socketReady',!0x1),_0x51bd32(this,_0x1c8da7(0x200)),_0x51bd32(this,'_retryCount',0x0),_0x51bd32(this,_0x1c8da7(0x468)),_0x51bd32(this,_0x1c8da7(0x503)),(this[_0x1c8da7(0x24a)]=_0x238011,this[_0x1c8da7(0x2af)]=_0x4da112,this[_0x1c8da7(0x448)]=_0x35d30b,this[_0x1c8da7(0x23f)]=_0x1a899e,this['_httpService']=_0x531965,this['_collaborationUIEventService']=_0x2d530f,this[_0x1c8da7(0x477)]=_0x2b61ab,this[_0x1c8da7(0x3c7)]());}get['_socket'](){var _0x3d6c37=_0x451c39;return this['_socket$'][_0x3d6c37(0x21a)]();}[_0x451c39(0x3c7)](){var _0x9456c0=_0x451c39;this['_networkConditionService']&&this[_0x9456c0(0x40a)](this['_networkConditionService'][_0x9456c0(0x292)][_0x9456c0(0x397)](_0x355189=>{var _0x2c3f0e=_0x9456c0;_0x355189&&!this[_0x2c3f0e(0x4bd)]&&this[_0x2c3f0e(0x29d)](),_0x355189||this['_onOffline']();}));}[_0x451c39(0x4c3)](){var _0x40aa7c=_0x451c39;super['dispose'](),this[_0x40aa7c(0x4e4)][_0x40aa7c(0x43b)](_0x4a6bd9=>_0x4a6bd9[_0x40aa7c(0x4c3)]()),this[_0x40aa7c(0x4e4)]['clear'](),this[_0x40aa7c(0x315)][_0x40aa7c(0x274)]();}async[_0x451c39(0x3e4)](_0x16c218){var _0x2998cb=_0x451c39;if(this[_0x2998cb(0x4e4)][_0x2998cb(0x437)](_0x16c218))return this[_0x2998cb(0x4e4)][_0x2998cb(0x537)](_0x16c218);this[_0x2998cb(0x53d)]();const _0x21b2f5=this['_injector'][_0x2998cb(0x398)](_0x39a6cf[_0x2998cb(0x2f7)],_0x16c218,this[_0x2998cb(0x37f)][_0x2998cb(0x368)]());return this[_0x2998cb(0x4e4)][_0x2998cb(0x321)](_0x16c218,_0x21b2f5),_0x21b2f5;}[_0x451c39(0x4d8)](_0xec8b17){var _0x3e7207=_0x451c39,_0x4e9bc9;const _0x269413=this['_sessions'][_0x3e7207(0x537)](_0xec8b17);_0x269413&&(this[_0x3e7207(0x4e4)]['delete'](_0xec8b17),_0x269413[_0x3e7207(0x298)]()),this[_0x3e7207(0x4e4)][_0x3e7207(0x530)]||(_0x4e9bc9=this[_0x3e7207(0x4bd)])==null||_0x4e9bc9['close']();}[_0x451c39(0x29d)](){var _0x4aec7c=_0x451c39;this[_0x4aec7c(0x3e1)]=0x0,this[_0x4aec7c(0x200)]!=null&&(clearTimeout(this[_0x4aec7c(0x200)]),this[_0x4aec7c(0x200)]=null),this[_0x4aec7c(0x244)]();}async[_0x451c39(0x543)](){var _0x2d28ce=_0x451c39,_0x20d0c9,_0x217c26,_0x45288a;const _0x31b206=this[_0x2d28ce(0x448)][_0x2d28ce(0x328)](_0x33ccdf),_0x5b1017=(_0x20d0c9=_0x31b206==null?void 0x0:_0x31b206['wsSessionTicketUrl'])!=null?_0x20d0c9:_0x4062f9;return(_0x45288a=(_0x217c26=(await this[_0x2d28ce(0x52d)][_0x2d28ce(0x537)](_0x5b1017,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x217c26[_0x2d28ce(0x441)])!=null?_0x45288a:'';}['_createSocketURL'](_0x511649){var _0x1a95bf=_0x451c39,_0x5dac0f,_0x20c414;const _0x19be31=this[_0x1a95bf(0x448)][_0x1a95bf(0x328)](_0x2b3f23),_0x3dbee5=this['_configService']['getConfig'](_0x33ccdf),_0x4ff408=(_0x20c414=(_0x5dac0f=_0x3dbee5==null?void 0x0:_0x3dbee5['collabWebSocketUrl'])!=null?_0x5dac0f:_0x19be31)!=null?_0x20c414:_0x5cfa0e,_0xe1bbad=typeof window>'u'?new URL(_0x4ff408):new URL(_0x4ff408,window[_0x1a95bf(0x1ec)][_0x1a95bf(0x3d9)]);_0xe1bbad['searchParams'][_0x1a95bf(0x321)]('sessionTicket',_0x511649);const _0x2908eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1a95bf(0x229)]);return _0x2908eb[_0x1a95bf(0x537)](_0x1a95bf(0x38b))&&_0xe1bbad['searchParams'][_0x1a95bf(0x321)](_0x1a95bf(0x38b),_0x2908eb[_0x1a95bf(0x537)](_0x1a95bf(0x38b))),_0xe1bbad[_0x1a95bf(0x216)]();}async['_createSocket'](){var _0x2c14e1=_0x451c39;const _0x11b5a2=await this[_0x2c14e1(0x543)](),_0x5961e5=this[_0x2c14e1(0x3a5)](_0x11b5a2),_0x214030=this[_0x2c14e1(0x23f)]['createSocket'](_0x5961e5);return this[_0x2c14e1(0x391)]=_0x214030,_0x214030;}async[_0x451c39(0x53d)](){var _0x1492fb=_0x451c39,_0x4e0dfa,_0x3ea01f;try{const _0x2e9d66=(_0x3ea01f=(_0x4e0dfa=this[_0x1492fb(0x4bd)])!=null?_0x4e0dfa:this[_0x1492fb(0x391)])!=null?_0x3ea01f:await this['_createSocket']();if(_0x2e9d66){const _0x109cb4=_0x2e9d66['send'];_0x2e9d66[_0x1492fb(0x263)]=_0x2e1a7a=>(this[_0x1492fb(0x4b0)](),_0x109cb4[_0x1492fb(0x27d)](_0x2e9d66,[_0x2e1a7a])),_0x2e9d66[_0x1492fb(0x1fb)][_0x1492fb(0x397)](_0x314217=>this[_0x1492fb(0x2d5)](_0x2e9d66,_0x314217)),_0x2e9d66[_0x1492fb(0x20f)][_0x1492fb(0x49b)](_0x2a56f4[_0x1492fb(0x3f0)](0x1))[_0x1492fb(0x397)](_0x2abead=>this[_0x1492fb(0x2af)][_0x1492fb(0x2d3)]('[CollaborationSessionService]:\x20socket\x20error',_0x2abead)),_0x2e9d66[_0x1492fb(0x42d)][_0x1492fb(0x49b)](_0x2a56f4[_0x1492fb(0x3f0)](0x1))['subscribe'](()=>{var _0x13cf15=_0x1492fb;this[_0x13cf15(0x2b7)](_0x2e9d66);}),_0x2e9d66[_0x1492fb(0x4c0)][_0x1492fb(0x49b)](_0x2a56f4[_0x1492fb(0x3f0)](0x1))[_0x1492fb(0x397)](_0x122780=>{var _0x68a375=_0x1492fb;this[_0x68a375(0x2af)][_0x68a375(0x325)](_0x68a375(0x300),'socket\x20close',_0x122780),this[_0x68a375(0x3ca)]();});}}catch(_0x531240){this[_0x1492fb(0x2af)][_0x1492fb(0x2d3)](_0x531240),this['_onConnectionFailed']();}}[_0x451c39(0x2b7)](_0x59da5d){var _0x17d19b=_0x451c39;this[_0x17d19b(0x2af)][_0x17d19b(0x325)](_0x17d19b(0x300),_0x17d19b(0x279)),_0x59da5d[_0x17d19b(0x263)]({'cmd':_0x428542['HELLO']}),this['_rescheduleHeartbeat']();}[_0x451c39(0x378)](){var _0x850317=_0x451c39;this['_socketReady']=!0x1,this[_0x850317(0x391)]=null,this[_0x850317(0x315)]['next'](_0x140f3d[_0x850317(0x3d4)]),this[_0x850317(0x37f)]['next'](null),this[_0x850317(0x4ca)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x3dbbd0=_0x451c39,_0x1e592f;this[_0x3dbbd0(0x378)](),this['_retryCount']<((_0x1e592f=this[_0x3dbbd0(0x448)]['getConfig'](_0x57f1be))!=null?_0x1e592f:0x3)?(this[_0x3dbbd0(0x313)][_0x3dbbd0(0x3f5)]({'id':_0x3e06d8[_0x3dbbd0(0x350)]}),this[_0x3dbbd0(0x244)]()):this[_0x3dbbd0(0x313)][_0x3dbbd0(0x3f5)]({'id':_0x3e06d8['SOCKET_FAILED']});}[_0x451c39(0x244)](){var _0x52c5cc=_0x451c39,_0x1207f7;const _0x4729e6=this[_0x52c5cc(0x3e1)],_0x590388=this[_0x52c5cc(0x448)][_0x52c5cc(0x328)](_0x33ccdf),_0x5c4f80=_0x4729e6===0x0?0x0:((_0x1207f7=_0x590388==null?void 0x0:_0x590388[_0x52c5cc(0x22a)])!=null?_0x1207f7:0x4e20)*0x2**_0x4729e6;this[_0x52c5cc(0x200)]=setTimeout(()=>{var _0x45fa19=_0x52c5cc;clearTimeout(this['_retryConnectingTimer']),this[_0x45fa19(0x200)]=null,this[_0x45fa19(0x53d)]();},_0x5c4f80),this['_retryCount']+=0x1;}[_0x451c39(0x2d5)](_0x5da137,_0x43aada){var _0x3cf42b=_0x451c39;const {cmd:_0xf3909c}=_0x43aada;_0xf3909c===_0x428542[_0x3cf42b(0x1e7)]&&!this[_0x3cf42b(0x52f)]&&(_0x5da137['memberID']=_0x43aada[_0x3cf42b(0x2a8)][_0x3cf42b(0x35f)],this[_0x3cf42b(0x37f)][_0x3cf42b(0x48d)](_0x5da137),this['_status$'][_0x3cf42b(0x48d)](_0x140f3d[_0x3cf42b(0x42e)]),this[_0x3cf42b(0x52f)]=!0x0,this[_0x3cf42b(0x391)]=null),_0xf3909c===_0x428542['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x3cf42b(0x4b0)]();}['_rescheduleHeartbeat'](){var _0x28001b=_0x451c39,_0x52b291;this['_clearHeartbeatTimer'](),this[_0x28001b(0x468)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x52b291=this[_0x28001b(0x448)][_0x28001b(0x328)](_0x29f3e9))!=null?_0x52b291:0x7530);}[_0x451c39(0x2b2)](){var _0x137f28=_0x451c39;this['_socket'][_0x137f28(0x263)]({'cmd':_0x428542[_0x137f28(0x4ec)]}),this[_0x137f28(0x458)]();}['_waitForHeartbeatResponse'](){var _0x4ab819=_0x451c39,_0x2e998c;this['_timeoutTimer']=setTimeout(()=>this[_0x4ab819(0x3ca)](),(_0x2e998c=this['_configService'][_0x4ab819(0x328)](_0x4f600b))!=null?_0x2e998c:0x4e20);}['_clearHeartbeatTimer'](){var _0x5e5a86=_0x451c39;this[_0x5e5a86(0x468)]!=null&&(clearTimeout(this[_0x5e5a86(0x468)]),this[_0x5e5a86(0x468)]=null);}[_0x451c39(0x4ca)](){var _0x424f40=_0x451c39;this[_0x424f40(0x503)]!=null&&(clearTimeout(this[_0x424f40(0x503)]),this['_timeoutTimer']=null);}},_0x39a6cf[_0x451c39(0x2f3)]=_0x21e9e5([_0x520629(0x0,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x520629(0x1,_0x2317f6[_0x451c39(0x536)]),_0x520629(0x2,_0x2317f6[_0x451c39(0x1e4)]),_0x520629(0x3,_0x4b836a),_0x520629(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x1b5960['HTTPService'])),_0x520629(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x55eade)),_0x520629(0x6,_0x2317f6[_0x451c39(0x3ad)](_0x2420dd))],_0x39a6cf[_0x451c39(0x2f3)]);const _0x268821=[];for(let _0x2bebb7=0x0;_0x2bebb7<0x100;++_0x2bebb7)_0x268821[_0x451c39(0x28b)]((_0x2bebb7+0x100)[_0x451c39(0x216)](0x10)[_0x451c39(0x3ff)](0x1));function _0x47b2e4(_0x1151fc,_0x4b1eba=0x0){var _0x28e02f=_0x451c39;return(_0x268821[_0x1151fc[_0x4b1eba+0x0]]+_0x268821[_0x1151fc[_0x4b1eba+0x1]]+_0x268821[_0x1151fc[_0x4b1eba+0x2]]+_0x268821[_0x1151fc[_0x4b1eba+0x3]]+'-'+_0x268821[_0x1151fc[_0x4b1eba+0x4]]+_0x268821[_0x1151fc[_0x4b1eba+0x5]]+'-'+_0x268821[_0x1151fc[_0x4b1eba+0x6]]+_0x268821[_0x1151fc[_0x4b1eba+0x7]]+'-'+_0x268821[_0x1151fc[_0x4b1eba+0x8]]+_0x268821[_0x1151fc[_0x4b1eba+0x9]]+'-'+_0x268821[_0x1151fc[_0x4b1eba+0xa]]+_0x268821[_0x1151fc[_0x4b1eba+0xb]]+_0x268821[_0x1151fc[_0x4b1eba+0xc]]+_0x268821[_0x1151fc[_0x4b1eba+0xd]]+_0x268821[_0x1151fc[_0x4b1eba+0xe]]+_0x268821[_0x1151fc[_0x4b1eba+0xf]])[_0x28e02f(0x253)]();}let _0x142d4b;const _0x2478b6=new Uint8Array(0x10);function _0x16eb0a(){var _0x5b41d2=_0x451c39;if(!_0x142d4b){if(typeof crypto>'u'||!crypto[_0x5b41d2(0x4be)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x142d4b=crypto[_0x5b41d2(0x4be)][_0x5b41d2(0x46a)](crypto);}return _0x142d4b(_0x2478b6);}const _0x2e00c8={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x451c39(0x1f9)][_0x451c39(0x46a)](crypto)};function _0x105b17(_0x3b75ad,_0x372994,_0x5d4e21){var _0xd256d2=_0x451c39,_0x2d10f1,_0x3e0a0d,_0x1ad294;if(_0x2e00c8[_0xd256d2(0x1f9)]&&!_0x3b75ad)return _0x2e00c8['randomUUID']();_0x3b75ad=_0x3b75ad||{};const _0x443e01=(_0x1ad294=(_0x3e0a0d=_0x3b75ad[_0xd256d2(0x2a5)])!=null?_0x3e0a0d:(_0x2d10f1=_0x3b75ad['rng'])==null?void 0x0:_0x2d10f1[_0xd256d2(0x4b7)](_0x3b75ad))!=null?_0x1ad294:_0x16eb0a();if(_0x443e01[_0xd256d2(0x429)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x443e01[0x6]=_0x443e01[0x6]&0xf|0x40,_0x443e01[0x8]=_0x443e01[0x8]&0x3f|0x80,_0x47b2e4(_0x443e01);}const _0x57d8af=_0x2317f6[_0x451c39(0x36c)](_0x451c39(0x2e3));function _0x38db53(_0x1f2bde){var _0x301974=_0x451c39;return _0x301974(0x480)+_0x1f2bde;}var _0x33c18e=Object[_0x451c39(0x272)],_0x459776=Object[_0x451c39(0x1f7)],_0x3a3fe3=(_0x3d2766,_0x1728e1,_0x544540,_0x4f1089)=>{var _0x27e8ad=_0x451c39;for(var _0x43be86=_0x4f1089>0x1?void 0x0:_0x4f1089?_0x459776(_0x1728e1,_0x544540):_0x1728e1,_0x34f2c5=_0x3d2766[_0x27e8ad(0x429)]-0x1,_0x13b19b;_0x34f2c5>=0x0;_0x34f2c5--)(_0x13b19b=_0x3d2766[_0x34f2c5])&&(_0x43be86=(_0x4f1089?_0x13b19b(_0x1728e1,_0x544540,_0x43be86):_0x13b19b(_0x43be86))||_0x43be86);return _0x4f1089&&_0x43be86&&_0x33c18e(_0x1728e1,_0x544540,_0x43be86),_0x43be86;},_0x3d49b5=(_0x26417c,_0x1489d6)=>(_0x5ce066,_0x2cc3a5)=>_0x1489d6(_0x5ce066,_0x2cc3a5,_0x26417c);function _0x3bf3f0(_0x3d106f){var _0xcc793a=_0x451c39;const {unitID:_0x50756e,mutations:_0x2f9c5f}=_0x3d106f;return{'unitId':_0x50756e,'subUnitId':_0x2f9c5f[0x0]['params'][_0xcc793a(0x24d)]};}_0x39a6cf[_0x451c39(0x4c7)]=class{constructor(_0x342fd6,_0x5b409d,_0x458997){var _0x3ff9a0=_0x451c39;this['_injector']=_0x342fd6,this['_transformService']=_0x5b409d,this[_0x3ff9a0(0x30c)]=_0x458997;}[_0x451c39(0x346)](_0x21a65c){var _0x2f8f1f=_0x451c39,_0x42f557,_0x3b6b36,_0x2f4d37,_0xafdff4;const _0x3e524b=this[_0x2f8f1f(0x24a)][_0x2f8f1f(0x537)](_0x614b46[_0x2f8f1f(0x43a)]),{unitId:_0x3b4ac3,subUnitId:_0x2d468d}=_0x3bf3f0(_0x21a65c),_0x311f71=_0x3e524b==null?void 0x0:_0x3e524b[_0x2f8f1f(0x259)](_0x3b4ac3)[_0x2f8f1f(0x3ce)](),_0x59df8d=(_0x3b6b36=(_0x42f557=this[_0x2f8f1f(0x30c)][_0x2f8f1f(0x490)](_0x3b4ac3))==null?void 0x0:_0x42f557[_0x2f8f1f(0x450)]())==null?void 0x0:_0x3b6b36['getSheetId']();if(_0x311f71['length']===0x0||!_0x3b4ac3||!_0x2d468d)return;const _0xc8f0d3=[{'id':_0x614b46['SetSelectionsOperation']['id'],'params':{'unitId':_0x3b4ac3,'subUnitId':_0x59df8d,'selections':_0x2317f6[_0x2f8f1f(0x519)][_0x2f8f1f(0x439)](_0x311f71)}}],_0x335ce5=this[_0x2f8f1f(0x2e4)][_0x2f8f1f(0x2e6)](_0x21a65c,_0xc8f0d3);if(!_0x4cecf[_0x2f8f1f(0x461)](_0x335ce5))throw _0x335ce5[_0x2f8f1f(0x2d3)];const _0x1e56da=(_0xafdff4=(_0x2f4d37=_0x335ce5[_0x2f8f1f(0x2ab)][0x0])==null?void 0x0:_0x2f4d37[_0x2f8f1f(0x22d)])==null?void 0x0:_0xafdff4[_0x2f8f1f(0x486)];if(Array[_0x2f8f1f(0x24c)](_0x1e56da)&&_0x1e56da['length']){if(_0x1e56da[_0x2f8f1f(0x429)]===_0xc8f0d3[0x0]['params'][_0x2f8f1f(0x486)][_0x2f8f1f(0x429)]&&_0x1e56da[_0x2f8f1f(0x225)]((_0x1136c9,_0x987ecf)=>_0x2317f6[_0x2f8f1f(0x212)]['equals'](_0x1136c9[_0x2f8f1f(0x4b8)],_0xc8f0d3[0x0][_0x2f8f1f(0x22d)][_0x2f8f1f(0x486)][_0x987ecf][_0x2f8f1f(0x4b8)])))return;this[_0x2f8f1f(0x24a)][_0x2f8f1f(0x537)](_0x2317f6['ICommandService'])[_0x2f8f1f(0x40b)](_0x614b46[_0x2f8f1f(0x380)]['id'],{'unitId':_0x3b4ac3,'subUnitId':_0x59df8d,'selections':_0x1e56da});}}},_0x39a6cf[_0x451c39(0x4c7)]=_0x3a3fe3([_0x3d49b5(0x0,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x3d49b5(0x1,_0x4cecf[_0x451c39(0x20c)]),_0x3d49b5(0x2,_0x2317f6[_0x451c39(0x2db)])],_0x39a6cf['SheetTransformSelectionsService']);const _0x2edb94=_0x2317f6[_0x451c39(0x36c)]('univer-pro.collaboration-client.single-active-unit-service');var _0x1246ec=(_0x3a5a57=>(_0x3a5a57[_0x3a5a57['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3a5a57[_0x3a5a57['OTHER_CLIENTS_EDITING']=0x1]=_0x451c39(0x382),_0x3a5a57))(_0x1246ec||{});const _0x45d830=new Set([_0x614b46[_0x451c39(0x291)]['id']]);function _0x5542cc(_0x14f316,_0x1316e9,_0x57efef,_0x1c5cab,_0x326c94){var _0x168b8b=_0x451c39,_0x1f12da,_0x2bdc1b,_0x4dcae6,_0x599841;const _0x504e61=[];for(const _0xa9180b of _0x14f316)if(_0x45d830[_0x168b8b(0x437)](_0xa9180b['id'])){if(_0x504e61[_0x168b8b(0x429)]>0x0)break;_0x504e61[_0x168b8b(0x28b)](_0xa9180b);break;}else _0x504e61[_0x168b8b(0x28b)](_0xa9180b);const _0x247d1f=(_0x2bdc1b=(_0x1f12da=_0x326c94['getCurrentUser']())==null?void 0x0:_0x1f12da[_0x168b8b(0x27b)])!=null?_0x2bdc1b:'unknown',_0x1c919b=(_0x599841=(_0x4dcae6=_0x326c94[_0x168b8b(0x2fe)]())==null?void 0x0:_0x4dcae6['memberID'])!=null?_0x599841:_0x168b8b(0x47c);return{'changeset':{'unitID':_0x1316e9,'type':_0x4cecf[_0x168b8b(0x504)](_0x57efef[_0x168b8b(0x3be)](_0x1316e9)),'baseRev':_0x1c5cab[_0x168b8b(0x3a7)](_0x1316e9),'revision':0x0,'userID':_0x247d1f,'memberID':_0x1c919b,'mutations':_0x504e61},'pendingMutations':_0x14f316[_0x168b8b(0x3ff)](_0x504e61[_0x168b8b(0x429)])};}function _0x4e3321(_0x88657c,_0x24caf2,_0x14581b,_0x17c8bc,_0x28b3e7){var _0x269a88=_0x451c39,_0x2347f8,_0x2b2709,_0x3e7c77,_0xd6f1f2;const _0x54360a=[_0x88657c[_0x269a88(0x399)]((_0x5e3e54,_0x361cee)=>{var _0x3c88cf=_0x269a88,_0x101508;const {id:_0x447d4d}=_0x5e3e54,{id:_0x1e729a,type:_0x586164}=_0x361cee,_0x38b7ef=(_0x101508=_0x5e3e54[_0x3c88cf(0x22d)])!=null?_0x101508:{'actions':null},_0x36ab88=_0x361cee[_0x3c88cf(0x22d)];if(_0x447d4d&&_0x447d4d!==_0x1e729a)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x447d4d+_0x3c88cf(0x2b4)+_0x1e729a+'.');return{..._0x5e3e54,'id':_0x1e729a,'type':_0x586164,'params':{'unitId':_0x36ab88['unitId'],'textRanges':_0x36ab88[_0x3c88cf(0x526)],'actions':_0x2317f6[_0x3c88cf(0x4e6)][_0x3c88cf(0x37d)](_0x38b7ef['actions'],_0x36ab88[_0x3c88cf(0x221)])}};},{})],_0x101c25=(_0x2b2709=(_0x2347f8=_0x28b3e7['getCurrentUser']())==null?void 0x0:_0x2347f8['userID'])!=null?_0x2b2709:_0x269a88(0x47c),_0x426a1c=(_0xd6f1f2=(_0x3e7c77=_0x28b3e7[_0x269a88(0x2fe)]())==null?void 0x0:_0x3e7c77[_0x269a88(0x35f)])!=null?_0xd6f1f2:_0x269a88(0x47c);return{'changeset':{'unitID':_0x24caf2,'type':_0x4cecf[_0x269a88(0x504)](_0x14581b[_0x269a88(0x3be)](_0x24caf2)),'baseRev':_0x17c8bc[_0x269a88(0x3a7)](_0x24caf2),'revision':0x0,'userID':_0x101c25,'memberID':_0x426a1c,'mutations':_0x54360a},'pendingMutations':[]};}function _0x36fc6f(_0x2fe5a7,_0x536300){var _0x29eac8=_0x451c39;const _0x416dd2=new _0x319114['ReplaySubject'](0x1);return setTimeout(()=>_0x416dd2[_0x29eac8(0x48d)](_0x536300),_0x2fe5a7),_0x416dd2['asObservable']()[_0x29eac8(0x49b)](_0x319114[_0x29eac8(0x3f0)](0x1));}const _0x442d78={'id':_0x614b46[_0x451c39(0x512)]['id'],'type':_0x2317f6[_0x451c39(0x4d5)][_0x451c39(0x2a6)],'params':{}};var _0x2f8b42=Object[_0x451c39(0x272)],_0x1bd11=Object[_0x451c39(0x1f7)],_0x4f8080=(_0x40d347,_0x1b965f,_0xa268d8,_0x193ee6)=>{var _0x12d8bd=_0x451c39;for(var _0x1161c3=_0x193ee6>0x1?void 0x0:_0x193ee6?_0x1bd11(_0x1b965f,_0xa268d8):_0x1b965f,_0x12223c=_0x40d347[_0x12d8bd(0x429)]-0x1,_0x1f1917;_0x12223c>=0x0;_0x12223c--)(_0x1f1917=_0x40d347[_0x12223c])&&(_0x1161c3=(_0x193ee6?_0x1f1917(_0x1b965f,_0xa268d8,_0x1161c3):_0x1f1917(_0x1161c3))||_0x1161c3);return _0x193ee6&&_0x1161c3&&_0x2f8b42(_0x1b965f,_0xa268d8,_0x1161c3),_0x1161c3;},_0x1e033f=(_0x13a7a6,_0x5549c2)=>(_0x349bd7,_0x308fde)=>_0x5549c2(_0x349bd7,_0x308fde,_0x13a7a6),_0x2d9cc5=(_0x126f5c=>(_0x126f5c['NOT_COLLAB']=_0x451c39(0x4f0),_0x126f5c[_0x451c39(0x3ea)]=_0x451c39(0x413),_0x126f5c[_0x451c39(0x299)]='pending',_0x126f5c[_0x451c39(0x3d1)]=_0x451c39(0x336),_0x126f5c[_0x451c39(0x4c9)]='awaiting_with_pending',_0x126f5c['FETCH_MISS']=_0x451c39(0x44c),_0x126f5c[_0x451c39(0x4dd)]=_0x451c39(0x2c6),_0x126f5c['OFFLINE']=_0x451c39(0x4c6),_0x126f5c))(_0x2d9cc5||{});const _0x5f4d2b=0xea60;class _0x592a64{constructor(_0x3c786b,_0x105b29,_0x5b3d93,_0x327bfe,_0x489ff9,_0x41bd2a,_0x44a3c7,_0x375064,_0xee35af){var _0x32875e=_0x451c39;_0x51bd32(this,_0x32875e(0x3df),null),_0x51bd32(this,'_pendingMutations',[]),(this[_0x32875e(0x217)]=_0x3c786b,this[_0x32875e(0x509)]=_0x105b29,this['_handler']=_0x489ff9,this['_commandService']=_0x41bd2a,this['_undoRedoService']=_0x44a3c7,this['_revisionService']=_0x375064,this['_localCacheService']=_0xee35af,this[_0x32875e(0x3df)]=_0x5b3d93,this[_0x32875e(0x2f5)]=_0x327bfe);}[_0x451c39(0x22c)](_0x49a1b3){var _0xed00e5=_0x451c39;const _0x14c74d=this[_0xed00e5(0x41a)][_0xed00e5(0x3a7)](this[_0xed00e5(0x217)]);return _0x49a1b3['revision']>_0x14c74d+0x1?(this[_0xed00e5(0x2f6)][_0xed00e5(0x247)]({'from':_0x14c74d,'to':_0x49a1b3[_0xed00e5(0x32e)]-0x1}),!0x0):!0x1;}[_0x451c39(0x3b0)](_0x14436b){var _0x55b596=_0x451c39;this[_0x55b596(0x542)]['transformUndoRedo'](this[_0x55b596(0x217)],_0x14436b);}[_0x451c39(0x432)](_0x8ac494){var _0xe38e42=_0x451c39,_0x2658f7,_0x36f382;(_0x36f382=(_0x2658f7=this[_0xe38e42(0x2f6)])[_0xe38e42(0x21c)])==null||_0x36f382['call'](_0x2658f7,_0x8ac494);}['_transformIMECache'](_0x1ab060){var _0x247870=_0x451c39,_0xbfff64,_0x20161e;return(_0x20161e=(_0xbfff64=this[_0x247870(0x2f6)])[_0x247870(0x326)])==null?void 0x0:_0x20161e[_0x247870(0x4b7)](_0xbfff64,_0x1ab060);}['_transformStateCache'](_0x4d1f4a){var _0x5e28cd=_0x451c39,_0x2b5f58,_0x9c31fe;return(_0x9c31fe=(_0x2b5f58=this['_handler'])[_0x5e28cd(0x4a3)])==null?void 0x0:_0x9c31fe[_0x5e28cd(0x4b7)](_0x2b5f58,_0x4d1f4a);}[_0x451c39(0x4df)](_0x1e5925){var _0x2bc4b5=_0x451c39,_0x4260da,_0x55d9d4,_0x3105f6;return(_0x3105f6=(_0x55d9d4=(_0x4260da=this[_0x2bc4b5(0x2f6)])[_0x2bc4b5(0x267)])==null?void 0x0:_0x55d9d4[_0x2bc4b5(0x4b7)](_0x4260da,_0x1e5925))!=null?_0x3105f6:_0x1e5925;}[_0x451c39(0x355)](_0x27bc59){var _0x5a7cde=_0x451c39,_0x36d885,_0x22e639,_0x126c64;return(_0x126c64=(_0x22e639=(_0x36d885=this[_0x5a7cde(0x2f6)])[_0x5a7cde(0x407)])==null?void 0x0:_0x22e639['call'](_0x36d885,_0x27bc59))!=null?_0x126c64:_0x27bc59;}[_0x451c39(0x26f)](_0x17e901){var _0x52119b=_0x451c39,_0xa25dd5,_0x4df258;if(this['type']===_0x49ad07['UNIVER_DOC']){const {unitID:_0x47cd8c,mutations:_0x5ac066,memberID:_0x41ec99}=_0x17e901,_0x30f016=_0x5ac066[0x0]['params'][_0x52119b(0x526)];Array[_0x52119b(0x24c)](_0x30f016)&&_0x30f016['length']>0x0&&((_0x4df258=(_0xa25dd5=this[_0x52119b(0x2f6)])[_0x52119b(0x1fc)])==null||_0x4df258[_0x52119b(0x4b7)](_0xa25dd5,{'unitID':_0x47cd8c,'memberID':_0x41ec99,'textRanges':_0x30f016}));}}[_0x451c39(0x376)](){var _0x3ba797=_0x451c39,_0x5718c1;(_0x5718c1=this[_0x3ba797(0x337)])==null||_0x5718c1['updateOfflineData'](this['unitID'],this[_0x3ba797(0x509)],this[_0x3ba797(0x3df)],this['_pendingMutations']);}[_0x451c39(0x213)](){var _0x51b17a=_0x451c39;return this[_0x51b17a(0x41a)][_0x51b17a(0x3a7)](this[_0x51b17a(0x217)]);}[_0x451c39(0x1f8)](){var _0x1d8847=_0x451c39;this[_0x1d8847(0x41a)][_0x1d8847(0x498)](this[_0x1d8847(0x217)]);}[_0x451c39(0x3a3)](_0x311eb3){var _0x49b08=_0x451c39,_0x180fed;let _0xef8d7a=this[_0x49b08(0x4df)](_0x311eb3);_0xef8d7a=this[_0x49b08(0x355)](_0xef8d7a);const _0x4823b5=_0x2317f6['sequenceExecute'](_0xef8d7a[_0x49b08(0x241)],this['_commandService'],{'fromCollab':!0x0});if(!_0x4823b5[_0x49b08(0x3b4)])throw _0x4823b5[_0x49b08(0x2d3)]instanceof Error?_0x4823b5[_0x49b08(0x2d3)]:new Error((_0x180fed=_0x4823b5['error'])!=null?_0x180fed:_0x49b08(0x306));this['_transformIMECache'](_0xef8d7a),this[_0x49b08(0x481)](_0xef8d7a),this[_0x49b08(0x3b0)](_0x311eb3),this[_0x49b08(0x432)](_0xef8d7a),this['_syncEditingCollabCursor'](_0xef8d7a),this[_0x49b08(0x1f8)]();}}_0x39a6cf[_0x451c39(0x4d1)]=class extends _0x592a64{constructor(_0x2900ce,_0x264f2c,_0x8b7be3,_0x1af4a3,_0x51cb74,_0xa62683,_0x1d3729,_0x504ce9,_0x446f3c,_0x526030){var _0x46e893=_0x451c39;super(_0x2900ce,_0x264f2c,null,[],_0x8b7be3,_0x1d3729,_0xa62683,_0x1af4a3,_0x526030),_0x51bd32(this,_0x46e893(0x33f),_0x46e893(0x413)),(this['_injector']=_0x51cb74,this[_0x46e893(0x2af)]=_0x504ce9,this[_0x46e893(0x2e4)]=_0x446f3c,this[_0x46e893(0x4e9)]=_0x526030);}[_0x451c39(0x42c)](_0x58019a){var _0x1b3bc7=_0x451c39;const _0x15a8fc=this[_0x1b3bc7(0x24a)][_0x1b3bc7(0x398)](_0x39a6cf['PendingState'],this[_0x1b3bc7(0x217)],this[_0x1b3bc7(0x509)],[_0x58019a],this[_0x1b3bc7(0x2f6)]);return _0x15a8fc['_schedule'](),_0x15a8fc[_0x1b3bc7(0x376)](),_0x15a8fc;}[_0x451c39(0x3b8)](_0x64b575){var _0x51dfe8=_0x451c39;if(this['_checkMissing'](_0x64b575))return this[_0x51dfe8(0x24a)][_0x51dfe8(0x398)](_0x39a6cf['FetchingMissState'],this[_0x51dfe8(0x217)],this['type'],null,[],null,[_0x64b575],this[_0x51dfe8(0x2f6)]);try{const _0x870fd3=this['_transformService']['transformMutationsWithChangeset'](_0x64b575,[_0x442d78]);if(_0x4cecf[_0x51dfe8(0x461)](_0x870fd3)){const {c1Prime:_0x5ac8ab}=_0x870fd3;return this['_executeRemoteChangeset'](_0x5ac8ab),this;}throw _0x870fd3[_0x51dfe8(0x2d3)];}catch(_0x3bb314){return this[_0x51dfe8(0x2af)][_0x51dfe8(0x2d3)](_0x3bb314),this[_0x51dfe8(0x340)](!0x1);}}[_0x451c39(0x340)](_0x34a368){var _0x160485=_0x451c39;return this['_injector'][_0x160485(0x398)](_0x39a6cf[_0x160485(0x35b)],this[_0x160485(0x217)],this['type'],null,[],this[_0x160485(0x2f6)],_0x34a368);}[_0x451c39(0x20e)](){var _0x294a71=_0x451c39;throw new Error(_0x294a71(0x2ca));}['onRemoteRej'](){var _0x1b8d40=_0x451c39;throw new Error(_0x1b8d40(0x24f));}[_0x451c39(0x4dc)](){return this;}[_0x451c39(0x329)](){var _0x47f1b1=_0x451c39;return this[_0x47f1b1(0x24a)][_0x47f1b1(0x398)](_0x39a6cf[_0x47f1b1(0x3fe)],this[_0x47f1b1(0x217)],this[_0x47f1b1(0x509)],null,[],this['_handler']);}[_0x451c39(0x3a8)](){return this;}['resend'](){var _0x59480e=_0x451c39;throw new Error(_0x59480e(0x4a6));}[_0x451c39(0x348)](){var _0x42e8ba=_0x451c39;const _0x1f37be=this[_0x42e8ba(0x41a)][_0x42e8ba(0x3a7)](this[_0x42e8ba(0x217)]);return this[_0x42e8ba(0x2f6)][_0x42e8ba(0x247)]({'from':_0x1f37be,'to':0x0}),this[_0x42e8ba(0x24a)]['createInstance'](_0x39a6cf[_0x42e8ba(0x273)],this[_0x42e8ba(0x217)],this[_0x42e8ba(0x509)],null,[],null,[],this[_0x42e8ba(0x2f6)]);}},_0x39a6cf[_0x451c39(0x4d1)]=_0x4f8080([_0x1e033f(0x3,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x1e033f(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x1e033f(0x5,_0x2317f6[_0x451c39(0x43e)]),_0x1e033f(0x6,_0x2317f6[_0x451c39(0x207)]),_0x1e033f(0x7,_0x2317f6['ILogService']),_0x1e033f(0x8,_0x4cecf[_0x451c39(0x20c)]),_0x1e033f(0x9,_0x2317f6['Optional'](_0x57d8af))],_0x39a6cf['SyncedState']),_0x39a6cf[_0x451c39(0x2dd)]=class extends _0x592a64{constructor(_0x1b3e10,_0x4fda72,_0x13fb10,_0x1b4b69,_0x4fabfc,_0x37e898,_0xbb2ecf,_0x5b7b1f,_0x1c8563,_0x53b499,_0xc572f1,_0x5e8f45,_0x4ba560,_0x551158){var _0x843343=_0x451c39;super(_0x1b3e10,_0x4fda72,null,_0x13fb10,_0x1b4b69,_0x1c8563,_0x4ba560,_0x37e898,_0x551158),_0x51bd32(this,'status','pending'),_0x51bd32(this,_0x843343(0x443),null),_0x51bd32(this,_0x843343(0x290),null),(this[_0x843343(0x24a)]=_0x4fabfc,this[_0x843343(0x1e9)]=_0xbb2ecf,this[_0x843343(0x2af)]=_0x5b7b1f,this[_0x843343(0x448)]=_0x53b499,this['_transformService']=_0xc572f1,this[_0x843343(0x552)]=_0x5e8f45);}[_0x451c39(0x42c)](_0x171a2b){var _0x5bb78b=_0x451c39;return this['_pendingMutations'][_0x5bb78b(0x28b)](_0x171a2b),this['_updateLocalCache'](),this;}[_0x451c39(0x3b8)](_0x50ccc8){var _0x32afe2=_0x451c39;if(this[_0x32afe2(0x22c)](_0x50ccc8))return this[_0x32afe2(0x34b)](),this[_0x32afe2(0x24a)][_0x32afe2(0x398)](_0x39a6cf[_0x32afe2(0x273)],this[_0x32afe2(0x217)],this[_0x32afe2(0x509)],null,this['_pendingMutations'],null,[_0x50ccc8],this[_0x32afe2(0x2f6)]);try{const _0x2bc105=this[_0x32afe2(0x2e4)][_0x32afe2(0x2e6)](_0x50ccc8,this['_pendingMutations']);if(_0x4cecf[_0x32afe2(0x461)](_0x2bc105)){const {c1Prime:_0x19283c,m2Prime:_0x59206d}=_0x2bc105;this[_0x32afe2(0x3a3)](_0x19283c);const _0x6bc1ca=this[_0x32afe2(0x24a)][_0x32afe2(0x398)](_0x39a6cf[_0x32afe2(0x2dd)],this[_0x32afe2(0x217)],this['type'],_0x59206d,this['_handler']);this[_0x32afe2(0x34b)]();const _0x20636c=new Date()[_0x32afe2(0x3fd)](),_0x56a289=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x32afe2(0x443)]-_0x20636c,0x0):this[_0x32afe2(0x45f)]();return _0x6bc1ca['_schedule'](_0x56a289),_0x6bc1ca;}throw _0x2bc105['error'];}catch(_0x3614cf){return this[_0x32afe2(0x2af)][_0x32afe2(0x2d3)](_0x3614cf),this[_0x32afe2(0x340)](!0x1);}}[_0x451c39(0x20e)](){var _0xb18d6f=_0x451c39;throw new Error(_0xb18d6f(0x52b));}[_0x451c39(0x284)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0xb824ef=_0x451c39;return this['_clearScheduledTask'](),this[_0xb824ef(0x24a)]['createInstance'](_0x39a6cf[_0xb824ef(0x3fe)],this[_0xb824ef(0x217)],this[_0xb824ef(0x509)],null,this[_0xb824ef(0x2f5)],this[_0xb824ef(0x2f6)]);}[_0x451c39(0x3a8)](){return this;}[_0x451c39(0x2bf)](_0x3b0add){var _0x3e1ef5=_0x451c39;const _0x5699e9=_0x3b0add!=null?_0x3b0add:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x3e1ef5(0x3fd)]()+_0x5699e9,this[_0x3e1ef5(0x290)]=setTimeout(()=>{var _0x23e424=_0x3e1ef5;this['_clearScheduledTask']();let _0xf69505=null;switch(this[_0x23e424(0x509)]){case _0x49ad07[_0x23e424(0x39e)]:{_0xf69505=_0x5542cc(this[_0x23e424(0x2f5)],this[_0x23e424(0x217)],this[_0x23e424(0x552)],this[_0x23e424(0x41a)],this[_0x23e424(0x1e9)]);break;}case _0x49ad07[_0x23e424(0x2b6)]:{this[_0x23e424(0x2f5)]['every'](_0x2db04c=>_0x2db04c['id']===_0x1b6b53[_0x23e424(0x2b0)]['id'])?_0xf69505=_0x4e3321(this[_0x23e424(0x2f5)],this[_0x23e424(0x217)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0xf69505=_0x5542cc(this['_pendingMutations'],this[_0x23e424(0x217)],this[_0x23e424(0x552)],this[_0x23e424(0x41a)],this['_memberService']);break;}default:throw new Error(_0x23e424(0x47f)+this[_0x23e424(0x509)]+_0x23e424(0x237));}const {changeset:_0x43ff13,pendingMutations:_0x417bb2}=_0xf69505;this[_0x23e424(0x2f6)][_0x23e424(0x1f5)](_0x43ff13);const _0x118e87=_0x417bb2[_0x23e424(0x429)]?this['_injector'][_0x23e424(0x398)](_0x39a6cf[_0x23e424(0x2fc)],this['unitID'],this[_0x23e424(0x509)],_0x43ff13,_0x417bb2,this['_handler'],void 0x0):this['_injector'][_0x23e424(0x398)](_0x39a6cf[_0x23e424(0x3de)],this[_0x23e424(0x217)],this[_0x23e424(0x509)],_0x43ff13,this[_0x23e424(0x2f6)]);_0x118e87['_updateLocalCache'](),this[_0x23e424(0x2f6)][_0x23e424(0x2de)](this,_0x118e87);},_0x5699e9);}[_0x451c39(0x45f)](){var _0x101cb6=_0x451c39,_0xd4cdac;const _0x3f1f91=this[_0x101cb6(0x448)]['getConfig'](_0x33ccdf);return(_0xd4cdac=_0x3f1f91==null?void 0x0:_0x3f1f91['sendChangesetTimeout'])!=null?_0xd4cdac:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x451c39(0x34b)](){var _0x5b8fb6=_0x451c39;this[_0x5b8fb6(0x290)]!=null&&(clearTimeout(this[_0x5b8fb6(0x290)]),this[_0x5b8fb6(0x290)]=null);}[_0x451c39(0x340)](_0x1589c5){var _0x113bbb=_0x451c39;return this[_0x113bbb(0x34b)](),this[_0x113bbb(0x24a)][_0x113bbb(0x398)](_0x39a6cf[_0x113bbb(0x35b)],this[_0x113bbb(0x217)],this['type'],null,this[_0x113bbb(0x2f5)],this[_0x113bbb(0x2f6)],_0x1589c5);}},_0x39a6cf[_0x451c39(0x2dd)]=_0x4f8080([_0x1e033f(0x4,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x334)])),_0x1e033f(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x1e033f(0x6,_0x2317f6[_0x451c39(0x2b8)](_0x39a6cf[_0x451c39(0x4cc)])),_0x1e033f(0x7,_0x2317f6[_0x451c39(0x536)]),_0x1e033f(0x8,_0x2317f6[_0x451c39(0x207)]),_0x1e033f(0x9,_0x2317f6[_0x451c39(0x1e4)]),_0x1e033f(0xa,_0x4cecf[_0x451c39(0x20c)]),_0x1e033f(0xb,_0x2317f6[_0x451c39(0x2db)]),_0x1e033f(0xc,_0x2317f6[_0x451c39(0x43e)]),_0x1e033f(0xd,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf['PendingState']),_0x39a6cf[_0x451c39(0x3de)]=class extends _0x592a64{constructor(_0x56a310,_0x251391,_0x68072c,_0x1e22ae,_0xc4cc65,_0x249c3a,_0x4d4799,_0x5a36cd,_0x3210fc,_0x203dcd,_0x5bef7a){var _0xb138d6=_0x451c39;super(_0x56a310,_0x251391,_0x68072c,[],_0x1e22ae,_0x4d4799,_0x203dcd,_0x249c3a,_0x5bef7a),_0x51bd32(this,_0xb138d6(0x33f),'awaiting'),_0x51bd32(this,_0xb138d6(0x3bb),0x0),_0x51bd32(this,_0xb138d6(0x4f5)),_0x51bd32(this,'_sender'),(this[_0xb138d6(0x24a)]=_0xc4cc65,this[_0xb138d6(0x2af)]=_0x5a36cd,this[_0xb138d6(0x2e4)]=_0x3210fc);}['appendMutation'](_0x20eea6){var _0x6fd99f=_0x451c39;this[_0x6fd99f(0x34b)]();const _0x5dbaf1=this[_0x6fd99f(0x24a)][_0x6fd99f(0x398)](_0x39a6cf[_0x6fd99f(0x2fc)],this[_0x6fd99f(0x217)],this[_0x6fd99f(0x509)],this[_0x6fd99f(0x3df)],[_0x20eea6],this['_handler'],this[_0x6fd99f(0x4f5)]);return _0x5dbaf1[_0x6fd99f(0x376)](),_0x5dbaf1;}[_0x451c39(0x3b8)](_0x348804){var _0x6888d6=_0x451c39;if(this[_0x6888d6(0x22c)](_0x348804))return this[_0x6888d6(0x34b)](),this['_injector']['createInstance'](_0x39a6cf[_0x6888d6(0x273)],this[_0x6888d6(0x217)],this[_0x6888d6(0x509)],this['_awaitingChangeset'],[],null,[_0x348804],this['_handler']);try{const _0x4f9ae5=this['_transformService'][_0x6888d6(0x285)]([_0x348804],[this[_0x6888d6(0x3df)]],!0x1);if(_0x4cecf[_0x6888d6(0x44d)](_0x4f9ae5)){const {c1Prime:_0x44011d,c2Prime:_0x39b2be}=_0x4f9ae5;this[_0x6888d6(0x3a3)](_0x44011d[0x0]),_0x39b2be[0x0]['baseRev']=this[_0x6888d6(0x213)](),this[_0x6888d6(0x34b)]();const _0x5ea0f6=this[_0x6888d6(0x24a)][_0x6888d6(0x398)](_0x39a6cf[_0x6888d6(0x3de)],this[_0x6888d6(0x217)],this[_0x6888d6(0x509)],_0x39b2be[0x0],this[_0x6888d6(0x2f6)]);return _0x5ea0f6[_0x6888d6(0x376)](),_0x5ea0f6;}return this['_onConflict'](!0x1);}catch(_0x19b7e2){return this[_0x6888d6(0x2af)]['error'](_0x19b7e2),this['_onConflict'](!0x1);}}[_0x451c39(0x20e)](_0x517b06){var _0x4072b9=_0x451c39;this[_0x4072b9(0x34b)]();const _0x382446=this[_0x4072b9(0x41a)][_0x4072b9(0x3a7)](this['unitID']);if(_0x517b06[_0x4072b9(0x32e)]<_0x382446-0x1)return this;if(this[_0x4072b9(0x22c)](_0x517b06))return this[_0x4072b9(0x24a)][_0x4072b9(0x398)](_0x39a6cf['FetchingMissState'],this['unitID'],this['type'],null,[],this[_0x4072b9(0x3df)],[],this[_0x4072b9(0x2f6)]);this[_0x4072b9(0x1f8)]();const _0x42126e=this[_0x4072b9(0x24a)][_0x4072b9(0x398)](_0x39a6cf['SyncedState'],this[_0x4072b9(0x217)],this[_0x4072b9(0x509)],this[_0x4072b9(0x2f6)]);return _0x42126e[_0x4072b9(0x376)](),_0x42126e;}[_0x451c39(0x284)](_0x222ac7){var _0x2e363d=_0x451c39;return this[_0x2e363d(0x340)](!!(_0x222ac7!=null&&_0x222ac7[_0x2e363d(0x4fb)]));}['onRemoteRetry'](_0x146c4e){var _0x2b5f88=_0x451c39;return this[_0x2b5f88(0x3bb)]>_0x5f4d2b?this[_0x2b5f88(0x329)]():(this[_0x2b5f88(0x4f5)]=_0x36fc6f(this[_0x2b5f88(0x3bb)],{'timeout':this['_resendTimeout'],'reqId':_0x146c4e[_0x2b5f88(0x520)]}),this[_0x2b5f88(0x251)]=this['_resendTimer'][_0x2b5f88(0x397)](({reqId:_0x52d9f6,timeout:_0x137fc1})=>{var _0x339134=_0x2b5f88;this[_0x339134(0x3e9)](_0x52d9f6,_0x137fc1);}),this);}['toggleOffline'](){var _0x23193d=_0x451c39;return this['_clearScheduledTask'](),this[_0x23193d(0x24a)][_0x23193d(0x398)](_0x39a6cf[_0x23193d(0x3fe)],this[_0x23193d(0x217)],this[_0x23193d(0x509)],this[_0x23193d(0x3df)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x451c39(0x3c2)](){var _0x117f64=_0x451c39;this[_0x117f64(0x2f6)][_0x117f64(0x1f5)](this[_0x117f64(0x3df)]);}[_0x451c39(0x340)](_0x3116f7){var _0x49baf6=_0x451c39;return this[_0x49baf6(0x34b)](),this[_0x49baf6(0x24a)]['createInstance'](_0x39a6cf[_0x49baf6(0x35b)],this['unitID'],this[_0x49baf6(0x509)],this[_0x49baf6(0x3df)],[],this[_0x49baf6(0x2f6)],_0x3116f7);}[_0x451c39(0x3e9)](_0x487c16,_0x3d501e){var _0x362559=_0x451c39,_0x1a2f8d;_0x487c16===((_0x1a2f8d=this[_0x362559(0x3df)])==null?void 0x0:_0x1a2f8d[_0x362559(0x520)])&&(this[_0x362559(0x3c2)](),this[_0x362559(0x3bb)]=_0x3d501e===0x0?0x3e8:_0x3d501e*0x2);}[_0x451c39(0x34b)](){var _0x374ac3=_0x451c39,_0x5c5728;(_0x5c5728=this['_sender'])==null||_0x5c5728[_0x374ac3(0x426)](),this[_0x374ac3(0x3bb)]=0x0;}},_0x39a6cf['AwaitingState']=_0x4f8080([_0x1e033f(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x1e033f(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x1e033f(0x6,_0x2317f6[_0x451c39(0x207)]),_0x1e033f(0x7,_0x2317f6['ILogService']),_0x1e033f(0x8,_0x4cecf['ITransformService']),_0x1e033f(0x9,_0x2317f6[_0x451c39(0x43e)]),_0x1e033f(0xa,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x3de)]),_0x39a6cf['AwaitingWithPendingState']=class extends _0x592a64{constructor(_0x11aae3,_0x2d0e5e,_0x96fd19,_0x278faf,_0x407f59,_0x161f89,_0x112e12,_0x8bfa99,_0x1bcd58,_0x181bbf,_0x4f8caf,_0x159960,_0x3dfc7b){var _0x34eb48=_0x451c39;super(_0x11aae3,_0x2d0e5e,_0x96fd19,_0x278faf,_0x407f59,_0x1bcd58,_0x159960,_0x8bfa99,_0x3dfc7b),_0x51bd32(this,_0x34eb48(0x33f),_0x34eb48(0x36a)),_0x51bd32(this,_0x34eb48(0x3bb),0x0),_0x51bd32(this,_0x34eb48(0x4f5)),_0x51bd32(this,'_sender'),(this['_injector']=_0x112e12,this['_logService']=_0x181bbf,this['_transformService']=_0x4f8caf,this[_0x34eb48(0x4e9)]=_0x3dfc7b,_0x161f89&&(this[_0x34eb48(0x4f5)]=_0x161f89,this[_0x34eb48(0x251)]=this[_0x34eb48(0x4f5)]['subscribe'](({reqId:_0x51f1c6,timeout:_0x18093e})=>{this['_resendWithTimeout'](_0x51f1c6,_0x18093e);})));}['appendMutation'](_0x5d3418){var _0x2cc266=_0x451c39;return this['_pendingMutations'][_0x2cc266(0x28b)](_0x5d3418),this;}['onRemoteChangeset'](_0x4e9c87){var _0x5be9dc=_0x451c39;if(this[_0x5be9dc(0x22c)](_0x4e9c87))return this[_0x5be9dc(0x34b)](),this[_0x5be9dc(0x24a)][_0x5be9dc(0x398)](_0x39a6cf[_0x5be9dc(0x273)],this[_0x5be9dc(0x217)],this['type'],this['_awaitingChangeset'],this[_0x5be9dc(0x2f5)],null,[_0x4e9c87],this[_0x5be9dc(0x2f6)]);try{const _0x2eb91d=this[_0x5be9dc(0x2e4)]['transformChangesets']([_0x4e9c87],[this[_0x5be9dc(0x3df)]],!0x1);if(_0x4cecf['isTransformChangesetsSuccess'](_0x2eb91d)){const {c1Prime:_0xe7b2bc,c2Prime:_0x307098}=_0x2eb91d,_0x42d280=this[_0x5be9dc(0x2e4)][_0x5be9dc(0x2e6)](_0xe7b2bc[0x0],this[_0x5be9dc(0x2f5)]);if(_0x4cecf[_0x5be9dc(0x461)](_0x42d280)){const {c1Prime:_0x245f7b,m2Prime:_0x3c14c6}=_0x42d280;return this['_executeRemoteChangeset'](_0x245f7b),_0x307098[0x0][_0x5be9dc(0x506)]=this['_getCurrentRevision'](),this[_0x5be9dc(0x34b)](),this[_0x5be9dc(0x24a)][_0x5be9dc(0x398)](_0x39a6cf[_0x5be9dc(0x2fc)],this[_0x5be9dc(0x217)],this[_0x5be9dc(0x509)],_0x307098[0x0],_0x3c14c6,this[_0x5be9dc(0x2f6)],void 0x0);}throw _0x42d280[_0x5be9dc(0x2d3)];}throw _0x2eb91d['error'];}catch(_0xf0f9b6){return this[_0x5be9dc(0x2af)]['error'](_0xf0f9b6),this[_0x5be9dc(0x340)](!0x1);}}[_0x451c39(0x20e)](_0x103d2f){var _0x5eaf36=_0x451c39;if(this[_0x5eaf36(0x34b)](),this[_0x5eaf36(0x22c)](_0x103d2f))return this[_0x5eaf36(0x24a)][_0x5eaf36(0x398)](_0x39a6cf[_0x5eaf36(0x273)],this[_0x5eaf36(0x217)],this['type'],null,this[_0x5eaf36(0x2f5)],this[_0x5eaf36(0x3df)],[],this[_0x5eaf36(0x2f6)]);this[_0x5eaf36(0x1f8)]();const _0x58fc1d=this[_0x5eaf36(0x24a)]['createInstance'](_0x39a6cf[_0x5eaf36(0x2dd)],this[_0x5eaf36(0x217)],this[_0x5eaf36(0x509)],this[_0x5eaf36(0x2f5)],this[_0x5eaf36(0x2f6)]);return _0x58fc1d[_0x5eaf36(0x2bf)](),_0x58fc1d['_updateLocalCache'](),_0x58fc1d;}[_0x451c39(0x284)](_0x3beedd){var _0x51fa0f=_0x451c39;return this[_0x51fa0f(0x340)](!!(_0x3beedd!=null&&_0x3beedd[_0x51fa0f(0x4fb)]));}['onRemoteRetry'](_0x4c855c){var _0xe249c3=_0x451c39;return this['_resendTimeout']>_0x5f4d2b?this['toggleOffline']():(this[_0xe249c3(0x4f5)]=_0x36fc6f(this[_0xe249c3(0x3bb)],{'timeout':this[_0xe249c3(0x3bb)],'reqId':_0x4c855c[_0xe249c3(0x520)]}),this['_sender']=this[_0xe249c3(0x4f5)][_0xe249c3(0x397)](({reqId:_0x115452,timeout:_0x3df5c8})=>{var _0x3724e1=_0xe249c3;this[_0x3724e1(0x3e9)](_0x115452,_0x3df5c8);}),this);}[_0x451c39(0x329)](){var _0x3da907=_0x451c39;return this[_0x3da907(0x34b)](),this[_0x3da907(0x24a)][_0x3da907(0x398)](_0x39a6cf[_0x3da907(0x3fe)],this[_0x3da907(0x217)],this[_0x3da907(0x509)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x451c39(0x3a8)](){return this;}['resend'](){var _0x2d457f=_0x451c39;this[_0x2d457f(0x2f6)][_0x2d457f(0x1f5)](this[_0x2d457f(0x3df)]);}[_0x451c39(0x340)](_0x5d90c6){var _0x4c5325=_0x451c39;return this[_0x4c5325(0x34b)](),this[_0x4c5325(0x24a)][_0x4c5325(0x398)](_0x39a6cf[_0x4c5325(0x35b)],this['unitID'],this[_0x4c5325(0x509)],null,this['_pendingMutations'],this[_0x4c5325(0x2f6)],_0x5d90c6);}[_0x451c39(0x3e9)](_0x4f812c,_0xfae06c){var _0x36195d=_0x451c39,_0x28c624;_0x4f812c===((_0x28c624=this[_0x36195d(0x3df)])==null?void 0x0:_0x28c624[_0x36195d(0x520)])&&(this[_0x36195d(0x3c2)](),this['_resendTimeout']=_0xfae06c===0x0?0x3e8:_0xfae06c*0x2);}[_0x451c39(0x34b)](){var _0x69704f=_0x451c39,_0xb6fe29;(_0xb6fe29=this['_sender'])==null||_0xb6fe29['unsubscribe'](),this[_0x69704f(0x3bb)]=0x0;}},_0x39a6cf[_0x451c39(0x2fc)]=_0x4f8080([_0x1e033f(0x6,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x1e033f(0x7,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x1e033f(0x8,_0x2317f6['ICommandService']),_0x1e033f(0x9,_0x2317f6['ILogService']),_0x1e033f(0xa,_0x4cecf[_0x451c39(0x20c)]),_0x1e033f(0xb,_0x2317f6['IUndoRedoService']),_0x1e033f(0xc,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x2fc)]),_0x39a6cf['ConflictState']=class extends _0x592a64{constructor(_0x4565a0,_0x183c0f,_0x5b9e7b,_0x29d2fc,_0x276f35,_0x7af71a=!0x1,_0x113fb6,_0x19df42,_0x51db33,_0x7d7968,_0x27bd19,_0x532b3a,_0x54f376){var _0x5df4e1=_0x451c39;super(_0x4565a0,_0x183c0f,_0x5b9e7b,_0x29d2fc,_0x276f35,_0x19df42,_0x51db33,_0x7d7968,_0x54f376),_0x51bd32(this,_0x5df4e1(0x33f),_0x5df4e1(0x2c6)),(this['_isPermissionRej']=_0x7af71a,this[_0x5df4e1(0x1f2)]=_0x113fb6,this[_0x5df4e1(0x4b1)]=_0x27bd19,this['_collaborationUIEventService']=_0x532b3a,this['localCacheService']=_0x54f376,this[_0x5df4e1(0x2ce)](),this[_0x5df4e1(0x1e2)](),this[_0x5df4e1(0x394)]());}[_0x451c39(0x42c)](){return this;}['onRemoteChangeset'](){return this;}[_0x451c39(0x20e)](){return this;}[_0x451c39(0x284)](){return this;}[_0x451c39(0x4dc)](){return this;}[_0x451c39(0x329)](){return this;}[_0x451c39(0x3a8)](){return this;}[_0x451c39(0x3c2)](){var _0x3339c3=_0x451c39;throw new Error(_0x3339c3(0x4ea));}[_0x451c39(0x1e2)](){var _0x4a6897=_0x451c39,_0x2586fd;(_0x2586fd=this[_0x4a6897(0x337)])==null||_0x2586fd[_0x4a6897(0x455)](this[_0x4a6897(0x217)],this[_0x4a6897(0x509)],null,[]);}[_0x451c39(0x2ce)](){var _0x47ae07=_0x451c39;this[_0x47ae07(0x442)]?this[_0x47ae07(0x313)][_0x47ae07(0x3f5)]({'id':_0x3e06d8[_0x47ae07(0x42a)]}):this[_0x47ae07(0x313)][_0x47ae07(0x3f5)]({'id':_0x3e06d8[_0x47ae07(0x4dd)]});}[_0x451c39(0x394)](){var _0x37e648=_0x451c39;this[_0x37e648(0x1f2)][_0x37e648(0x425)](new _0x614b46[(_0x37e648(0x3e6))](this[_0x37e648(0x217)])['id'],!0x1);}},_0x39a6cf['ConflictState']=_0x4f8080([_0x1e033f(0x6,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x2ae)])),_0x1e033f(0x7,_0x2317f6[_0x451c39(0x207)]),_0x1e033f(0x8,_0x2317f6[_0x451c39(0x43e)]),_0x1e033f(0x9,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf['RevisionService'])),_0x1e033f(0xa,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x280)])),_0x1e033f(0xb,_0x2317f6['Inject'](_0x55eade)),_0x1e033f(0xc,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x35b)]),_0x39a6cf[_0x451c39(0x3fe)]=class extends _0x592a64{constructor(_0x4e716b,_0x5570b7,_0x12471c,_0x45d646,_0x56729b,_0x43fa72,_0x1f3e7f,_0x241d18,_0x4ec3c0,_0x5759f5){super(_0x4e716b,_0x5570b7,_0x12471c,_0x45d646,_0x56729b,_0x241d18,_0x4ec3c0,_0x1f3e7f,_0x5759f5),_0x51bd32(this,'status','offline'),this['_injector']=_0x43fa72;}['appendMutation'](_0x47ce33){var _0x2ddc59=_0x451c39;return this[_0x2ddc59(0x2f5)][_0x2ddc59(0x28b)](_0x47ce33),this[_0x2ddc59(0x376)](),this;}[_0x451c39(0x3b8)](_0x11c56c){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x451c39(0x20e)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x451c39(0x284)](){var _0x584c40=_0x451c39;throw new Error(_0x584c40(0x470));}[_0x451c39(0x4dc)](){return this;}[_0x451c39(0x329)](){return this;}[_0x451c39(0x3a8)](){var _0x3a0664=_0x451c39;const {_injector:_0x24cf45,_pendingMutations:_0x552d7b,_awaitingChangeset:_0x55d2fa,unitID:_0x52fd63,_handler:_0x5ab887,type:_0x202f31}=this,_0x32810c=_0x2d7c8f(_0x24cf45,_0x52fd63,_0x202f31,_0x55d2fa,_0x552d7b,_0x5ab887);return _0x32810c instanceof _0x39a6cf[_0x3a0664(0x2dd)]?_0x32810c['_schedule']():(_0x32810c instanceof _0x39a6cf['AwaitingWithPendingState']||_0x32810c instanceof _0x39a6cf[_0x3a0664(0x3de)])&&_0x32810c[_0x3a0664(0x3c2)](),_0x32810c;}[_0x451c39(0x3c2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},_0x39a6cf['OfflineState']=_0x4f8080([_0x1e033f(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x1e033f(0x6,_0x2317f6['Inject'](_0x4cecf[_0x451c39(0x21f)])),_0x1e033f(0x7,_0x2317f6[_0x451c39(0x207)]),_0x1e033f(0x8,_0x2317f6[_0x451c39(0x43e)]),_0x1e033f(0x9,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x3fe)]),_0x39a6cf['FetchingMissState']=class extends _0x592a64{constructor(_0x3b0fc9,_0x12cbd5,_0x3be14d,_0x575e7c,_0x2a652e,_0x237bfd,_0x56fb5a,_0x319aee,_0x542502,_0x317f0e,_0x23bfe9,_0xbe2a74,_0x154ee3,_0x29a67b){var _0x368c10=_0x451c39;super(_0x3b0fc9,_0x12cbd5,_0x3be14d,_0x575e7c,_0x56fb5a,_0x23bfe9,_0xbe2a74,_0x542502,_0x29a67b),_0x51bd32(this,_0x368c10(0x33f),_0x368c10(0x44c)),(this[_0x368c10(0x2b3)]=_0x2a652e,this[_0x368c10(0x471)]=_0x237bfd,this[_0x368c10(0x24a)]=_0x319aee,this[_0x368c10(0x2af)]=_0x317f0e,this['_transformService']=_0x154ee3,this[_0x368c10(0x4e9)]=_0x29a67b);}[_0x451c39(0x275)](_0x30590c){var _0x26d82d=_0x451c39;try{const _0x1d2702=[..._0x30590c,...this['_queuedRemoteChangesets']],_0x2f3b09=[this[_0x26d82d(0x3df)]||this[_0x26d82d(0x2b3)]][_0x26d82d(0x3b9)](_0x38a68c=>!!_0x38a68c);let _0x208d39,_0x1ba4f4;if(_0x2f3b09[_0x26d82d(0x429)]){const _0x478a23=this[_0x26d82d(0x2e4)][_0x26d82d(0x285)](_0x1d2702,_0x2f3b09,!0x1);if(!_0x4cecf[_0x26d82d(0x44d)](_0x478a23))throw _0x478a23[_0x26d82d(0x2d3)];_0x208d39=_0x478a23[_0x26d82d(0x4a9)],_0x1ba4f4=_0x478a23['c2Prime'];}else _0x208d39=_0x1d2702,_0x1ba4f4=[];let _0x4c11d4=this[_0x26d82d(0x2f5)];_0x208d39[_0x26d82d(0x43b)](_0x5d4539=>{var _0x2ba35a=_0x26d82d;let _0x61314e;if(_0x4c11d4[_0x2ba35a(0x429)]){const _0x35fdfa=this[_0x2ba35a(0x2e4)]['transformMutationsWithChangeset'](_0x5d4539,_0x4c11d4);if(!_0x4cecf[_0x2ba35a(0x461)](_0x35fdfa))throw _0x35fdfa[_0x2ba35a(0x2d3)];_0x61314e=_0x35fdfa[_0x2ba35a(0x4a9)],_0x4c11d4=_0x35fdfa[_0x2ba35a(0x2ab)];}else _0x61314e=_0x5d4539;this['_executeRemoteChangeset'](_0x61314e);}),this[_0x26d82d(0x2b3)]&&this[_0x26d82d(0x1f8)](),this[_0x26d82d(0x3df)]&&_0x1ba4f4['length']&&(_0x1ba4f4[0x0][_0x26d82d(0x506)]=this['_getCurrentRevision']());let _0x541ecc;if(this['_awaitingChangeset']&&_0x4c11d4[_0x26d82d(0x429)]!==0x0)_0x541ecc=this['_injector'][_0x26d82d(0x398)](_0x39a6cf[_0x26d82d(0x2fc)],this[_0x26d82d(0x217)],this[_0x26d82d(0x509)],_0x1ba4f4[0x0],_0x4c11d4,this[_0x26d82d(0x2f6)],void 0x0);else{if(this[_0x26d82d(0x3df)]&&_0x4c11d4['length']===0x0)_0x1ba4f4[0x0][_0x26d82d(0x506)]=this[_0x26d82d(0x213)](),_0x541ecc=this['_injector'][_0x26d82d(0x398)](_0x39a6cf[_0x26d82d(0x3de)],this['unitID'],this[_0x26d82d(0x509)],_0x1ba4f4[0x0],this[_0x26d82d(0x2f6)]);else{if(_0x4c11d4[_0x26d82d(0x429)]!==0x0){const _0xe6346a=this[_0x26d82d(0x24a)][_0x26d82d(0x398)](_0x39a6cf[_0x26d82d(0x2dd)],this[_0x26d82d(0x217)],this[_0x26d82d(0x509)],_0x4c11d4,this['_handler']);_0xe6346a['_schedule'](),_0x541ecc=_0xe6346a;}else _0x541ecc=this[_0x26d82d(0x24a)][_0x26d82d(0x398)](_0x39a6cf[_0x26d82d(0x4d1)],this['unitID'],this[_0x26d82d(0x509)],this[_0x26d82d(0x2f6)]);}}return _0x541ecc[_0x26d82d(0x376)](),_0x541ecc;}catch(_0x4774e6){return this[_0x26d82d(0x2af)]['error']('[FetchMissState]',_0x26d82d(0x419),_0x4774e6),this[_0x26d82d(0x24a)][_0x26d82d(0x398)](_0x39a6cf[_0x26d82d(0x35b)],this['unitID'],this[_0x26d82d(0x509)],this['_awaitingChangeset'],this[_0x26d82d(0x2f5)],this['_handler'],!0x1);}}[_0x451c39(0x3c2)](){var _0x5a53a3=_0x451c39;throw new Error(_0x5a53a3(0x233));}[_0x451c39(0x42c)](_0x22e3c6){var _0x457ba9=_0x451c39;return this[_0x457ba9(0x2f5)][_0x457ba9(0x28b)](_0x22e3c6),this;}[_0x451c39(0x3b8)](_0x2f03e6){var _0x1f0f29=_0x451c39;return this['_queuedRemoteChangesets'][_0x1f0f29(0x28b)](_0x2f03e6),this;}[_0x451c39(0x20e)](_0x1cc07c){var _0x40f502=_0x451c39;if(this[_0x40f502(0x3df)])return this[_0x40f502(0x2b3)]=this[_0x40f502(0x3df)],this['_awaitingChangeset']=null,this;throw new Error(_0x40f502(0x50b));}[_0x451c39(0x284)](_0x323c6c){var _0x3d0829=_0x451c39;return this[_0x3d0829(0x340)](!!(_0x323c6c!=null&&_0x323c6c[_0x3d0829(0x4fb)]));}[_0x451c39(0x4dc)](){return this;}[_0x451c39(0x329)](){var _0x26766e=_0x451c39;return this['_injector'][_0x26766e(0x398)](_0x39a6cf['OfflineState'],this['unitID'],this[_0x26766e(0x509)],this['_awaitingChangeset'],this[_0x26766e(0x2f5)],this[_0x26766e(0x2f6)]);}[_0x451c39(0x3a8)](){return this;}['_onConflict'](_0x33a5f0){var _0x5b678f=_0x451c39;return this[_0x5b678f(0x24a)][_0x5b678f(0x398)](_0x39a6cf['ConflictState'],this[_0x5b678f(0x217)],this[_0x5b678f(0x509)],this['_awaitingChangeset'],this[_0x5b678f(0x2f5)],this['_handler'],_0x33a5f0);}},_0x39a6cf[_0x451c39(0x273)]=_0x4f8080([_0x1e033f(0x7,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x334)])),_0x1e033f(0x8,_0x2317f6['Inject'](_0x4cecf[_0x451c39(0x21f)])),_0x1e033f(0x9,_0x2317f6[_0x451c39(0x536)]),_0x1e033f(0xa,_0x2317f6[_0x451c39(0x207)]),_0x1e033f(0xb,_0x2317f6['IUndoRedoService']),_0x1e033f(0xc,_0x4cecf[_0x451c39(0x20c)]),_0x1e033f(0xd,_0x2317f6['Optional'](_0x57d8af))],_0x39a6cf[_0x451c39(0x273)]);function _0x2d7c8f(_0x5397aa,_0x3162cd,_0x5898bd,_0xb24229,_0x2aaaa1,_0x382827){var _0xbe5a0e=_0x451c39;return _0xb24229&&_0x2aaaa1[_0xbe5a0e(0x429)]?_0x5397aa[_0xbe5a0e(0x398)](_0x39a6cf[_0xbe5a0e(0x2fc)],_0x3162cd,_0x5898bd,_0xb24229,_0x2aaaa1,_0x382827,void 0x0):_0xb24229?_0x5397aa['createInstance'](_0x39a6cf[_0xbe5a0e(0x3de)],_0x3162cd,_0x5898bd,_0xb24229,_0x382827):_0x2aaaa1[_0xbe5a0e(0x429)]?_0x5397aa[_0xbe5a0e(0x398)](_0x39a6cf['PendingState'],_0x3162cd,_0x5898bd,_0x2aaaa1,_0x382827):_0x5397aa[_0xbe5a0e(0x398)](_0x39a6cf[_0xbe5a0e(0x4d1)],_0x3162cd,_0x5898bd,_0x382827);}var _0x47ada2=Object[_0x451c39(0x272)],_0x1b3cb7=Object[_0x451c39(0x1f7)],_0x1f9ecd=(_0x4a4354,_0x446050,_0x5d35c4,_0x41c049)=>{for(var _0x571dc=_0x41c049>0x1?void 0x0:_0x41c049?_0x1b3cb7(_0x446050,_0x5d35c4):_0x446050,_0x10ae93=_0x4a4354['length']-0x1,_0x3bc456;_0x10ae93>=0x0;_0x10ae93--)(_0x3bc456=_0x4a4354[_0x10ae93])&&(_0x571dc=(_0x41c049?_0x3bc456(_0x446050,_0x5d35c4,_0x571dc):_0x3bc456(_0x571dc))||_0x571dc);return _0x41c049&&_0x571dc&&_0x47ada2(_0x446050,_0x5d35c4,_0x571dc),_0x571dc;},_0x22c750=(_0x20c301,_0x1f3bfd)=>(_0x2209e5,_0x2b3464)=>_0x1f3bfd(_0x2209e5,_0x2b3464,_0x20c301);_0x39a6cf[_0x451c39(0x2a3)]=class extends _0x2317f6[_0x451c39(0x36d)]{constructor(_0x3eb596,_0x17421d,_0x53e006,_0x11f0a8,_0xf8ba5d,_0x57b4bb,_0x2e2622,_0xb4ed9d,_0x184cfd,_0x48a5c8,_0x251fcb,_0x156a98,_0x6c4a5d){var _0x17391f=_0x451c39;super(),_0x51bd32(this,'_state$',new _0x319114[(_0x17391f(0x475))](null)),_0x51bd32(this,_0x17391f(0x3f6),this['_state$']['asObservable']()),_0x51bd32(this,_0x17391f(0x33e)),_0x51bd32(this,_0x17391f(0x392),!0x1),_0x51bd32(this,'_changesetSessionId',''),_0x51bd32(this,'_changesetReqId',0x0),_0x51bd32(this,_0x17391f(0x2a7),this[_0x17391f(0x3f6)][_0x17391f(0x49b)](_0x319114[_0x17391f(0x427)](_0x256b15=>_0x256b15?_0x256b15[_0x17391f(0x33f)]:_0x2d9cc5[_0x17391f(0x3d4)]),_0x319114['shareReplay'](0x1))),_0x51bd32(this,'_transitionLocked',!0x1),_0x51bd32(this,_0x17391f(0x539),[]),(this[_0x17391f(0x217)]=_0x3eb596,this[_0x17391f(0x44b)]=_0x17421d,this[_0x17391f(0x545)]=_0x53e006,this[_0x17391f(0x24a)]=_0x11f0a8,this['_compressMutationService']=_0xf8ba5d,this[_0x17391f(0x4b1)]=_0x57b4bb,this['_revisionService']=_0x2e2622,this[_0x17391f(0x3e3)]=_0xb4ed9d,this[_0x17391f(0x2af)]=_0x184cfd,this[_0x17391f(0x4ce)]=_0x48a5c8,this[_0x17391f(0x1f2)]=_0x251fcb,this['_singleActiveUnitService']=_0x156a98,this[_0x17391f(0x337)]=_0x6c4a5d);}get['state'](){return this['_state'];}async['init'](){var _0x168a27=_0x451c39;if(this['state'])throw new Error(_0x168a27(0x421));await this['_init']();}[_0x451c39(0x4e0)](){return this['_collaborationPaused']=!0x0,_0x2317f6['toDisposable'](()=>{var _0x817e40=_0x2d7e;this[_0x817e40(0x392)]=!0x1,this[_0x817e40(0x320)]();});}['onLocalMutation'](_0x2882f2){var _0x1ec86c=_0x451c39;this[_0x1ec86c(0x4c1)](_0x2882f2);}[_0x451c39(0x435)](_0x198b14){var _0x4a84c9=_0x451c39;this[_0x4a84c9(0x33e)]=_0x198b14,this[_0x4a84c9(0x3e5)][_0x4a84c9(0x48d)](_0x198b14);}async[_0x451c39(0x453)](){var _0x30af00=_0x451c39,_0x180f79;this[_0x30af00(0x435)](await this['_createInitialState']()),this[_0x30af00(0x24b)]&&((_0x180f79=this[_0x30af00(0x24b)])==null||_0x180f79[_0x30af00(0x353)](this[_0x30af00(0x217)]),this[_0x30af00(0x40a)](this[_0x30af00(0x24b)][_0x30af00(0x49a)](this[_0x30af00(0x217)])[_0x30af00(0x397)](_0x17c6c5=>{var _0x823e49=_0x30af00;this['_logService'][_0x823e49(0x325)](_0x823e49(0x546),_0x823e49(0x235),_0x17c6c5),_0x17c6c5===_0x1246ec[_0x823e49(0x382)]?(this['_eventService']['emitEvent']({'id':_0x3e06d8[_0x823e49(0x2cb)]}),this['_permissionService'][_0x823e49(0x425)](new _0x614b46[(_0x823e49(0x3e6))](this[_0x823e49(0x217)])['id'],!0x1),this['_permissionService'][_0x823e49(0x31b)](!0x1)):(this[_0x823e49(0x1f2)]['updatePermissionPoint'](new _0x614b46['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x823e49(0x1f2)][_0x823e49(0x31b)](!0x0));})));let _0x1a6f7d=!0x1;return this[_0x30af00(0x40a)](this[_0x30af00(0x44b)][_0x30af00(0x459)]['subscribe'](_0x4771e0=>{var _0x1cd847=_0x30af00;_0x4771e0===_0x140f3d['ONLINE']?this[_0x1cd847(0x3d2)](_0x1a6f7d):_0x4771e0===_0x140f3d['OFFLINE']&&(_0x1a6f7d=!0x0,this[_0x1cd847(0x3c3)]());})),this[_0x30af00(0x40a)](this[_0x30af00(0x44b)][_0x30af00(0x3aa)]['subscribe'](_0x34a86c=>{var _0x265b88=_0x30af00;try{switch(_0x34a86c[_0x265b88(0x319)]){case _0x4cecf['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x265b88(0x4ad)](_0x4cecf['parseProtocolChangeset'](_0x34a86c['data']));break;}case _0x4cecf['CollaborationEvent'][_0x265b88(0x3af)]:{this[_0x265b88(0x3f8)](_0x34a86c[_0x265b88(0x2a8)]);break;}case _0x4cecf['CollaborationEvent'][_0x265b88(0x3ab)]:{this[_0x265b88(0x522)]();break;}case _0x4cecf[_0x265b88(0x318)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x34a86c[_0x265b88(0x2a8)]);break;}case _0x4cecf[_0x265b88(0x318)][_0x265b88(0x2d4)]:{this[_0x265b88(0x31d)](_0x34a86c[_0x265b88(0x2a8)][_0x265b88(0x505)]['map'](_0x5adc22=>_0x4cecf[_0x265b88(0x1ef)](_0x5adc22)));break;}case _0x4cecf[_0x265b88(0x318)][_0x265b88(0x386)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x4cecf[_0x265b88(0x318)][_0x265b88(0x23a)]:break;}}catch(_0x4b9f37){throw console['error'](_0x265b88(0x53a),_0x4b9f37),_0x4b9f37;}})),this[_0x30af00(0x33e)];}[_0x451c39(0x423)](){var _0x13af7f=_0x451c39;this[_0x13af7f(0x3cb)]=!0x1;}[_0x451c39(0x2ec)](){var _0x1bf7d2=_0x451c39;if(this[_0x1bf7d2(0x3cb)])throw new Error(_0x1bf7d2(0x34d));this[_0x1bf7d2(0x3cb)]=!0x0;}[_0x451c39(0x4c1)](_0x36a864){var _0x169811=_0x451c39;this[_0x169811(0x2ec)](),this['_updateState'](this['_state'][_0x169811(0x42c)](_0x36a864)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x27317a){var _0x1d8dd2=_0x451c39;if(!(_0x27317a['revision']<=this[_0x1d8dd2(0x41a)]['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x1d8dd2(0x392)]){this[_0x1d8dd2(0x539)][_0x1d8dd2(0x28b)](_0x27317a);return;}this[_0x1d8dd2(0x416)](_0x27317a);}}[_0x451c39(0x320)](){var _0x1f04c8=_0x451c39;this[_0x1f04c8(0x539)]['forEach'](_0x2c0a39=>this[_0x1f04c8(0x416)](_0x2c0a39)),this['_remoteChangesetQueue']=[];}[_0x451c39(0x416)](_0x4aab6f){var _0x123036=_0x451c39;const _0x1644b0=this[_0x123036(0x42f)][_0x123036(0x25f)][_0x123036(0x50d)](this[_0x123036(0x42f)][_0x123036(0x25f)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4aab6f[_0x123036(0x241)],null)||_0x4aab6f[_0x123036(0x241)],_0x20333f={..._0x4aab6f,'mutations':_0x1644b0};this['_lockTransition'](),this[_0x123036(0x435)](this[_0x123036(0x33e)]['onRemoteChangeset'](_0x20333f)),this[_0x123036(0x423)]();}[_0x451c39(0x3f8)](_0x45f95d){var _0x27b3fa=_0x451c39;this[_0x27b3fa(0x2ec)](),this['_updateState'](this[_0x27b3fa(0x33e)][_0x27b3fa(0x20e)](_0x45f95d)),this[_0x27b3fa(0x423)]();}[_0x451c39(0x522)](_0x170a00){var _0x28b632=_0x451c39;this[_0x28b632(0x2ec)](),this[_0x28b632(0x435)](this[_0x28b632(0x33e)][_0x28b632(0x284)](_0x170a00)),this[_0x28b632(0x423)]();}['_onRemoteRetry'](_0x5cd8ac){var _0x2d4cb8=_0x451c39;this[_0x2d4cb8(0x2ec)](),this[_0x2d4cb8(0x435)](this[_0x2d4cb8(0x33e)]['onRemoteRetry'](_0x5cd8ac)),this[_0x2d4cb8(0x423)]();}[_0x451c39(0x31d)](_0x5d37a6){var _0xcc818e=_0x451c39;if(!(this['_state']instanceof _0x39a6cf['FetchingMissState']))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x41cc1f=_0x5d37a6[_0xcc818e(0x427)](_0x5b6dc0=>{var _0x333ab3=_0xcc818e;const _0x21d9c8=this[_0x333ab3(0x42f)][_0x333ab3(0x25f)]['fetchThroughInterceptors'](this[_0x333ab3(0x42f)]['interceptor'][_0x333ab3(0x54d)]()['COMPRESS_MUTATION_APPLY'])(_0x5b6dc0[_0x333ab3(0x241)],null)||_0x5b6dc0['mutations'];return{..._0x5b6dc0,'mutations':_0x21d9c8};});this[_0xcc818e(0x2ec)](),this['_updateState'](this[_0xcc818e(0x33e)][_0xcc818e(0x275)](_0x41cc1f)),this[_0xcc818e(0x423)]();}[_0x451c39(0x3c3)](){var _0x53effc=_0x451c39;this[_0x53effc(0x2ec)](),this['_updateState'](this['_state'][_0x53effc(0x329)]()),this[_0x53effc(0x423)]();}['_toggleOnline'](_0x387976=!0x1){var _0x21f1b8=_0x451c39;this[_0x21f1b8(0x2ec)](),this['_updateState'](this[_0x21f1b8(0x33e)][_0x21f1b8(0x3a8)]()),this[_0x21f1b8(0x423)]();const _0x42560b=this['_state'];_0x387976&&_0x42560b instanceof _0x39a6cf[_0x21f1b8(0x4d1)]&&(this[_0x21f1b8(0x2ec)](),this[_0x21f1b8(0x435)](_0x42560b[_0x21f1b8(0x348)]()),this[_0x21f1b8(0x423)]());}async[_0x451c39(0x31e)](){return new Promise(_0xca7f9a=>{var _0x438f0e=_0x2d7e;this['session'][_0x438f0e(0x459)]['pipe'](_0x319114[_0x438f0e(0x3f0)](0x1))[_0x438f0e(0x397)](async _0x306e33=>{var _0x539210=_0x438f0e;_0xca7f9a(await this[_0x539210(0x436)](_0x306e33===_0x140f3d[_0x539210(0x42e)]));});});}[_0x451c39(0x25d)](){var _0x27c5b5=_0x451c39;const _0x20ef56=this[_0x27c5b5(0x217)];return{'onStateChange':(_0xd8ffe6,_0x5415da)=>{var _0x52902e=_0x27c5b5;if(_0xd8ffe6!==this[_0x52902e(0x33e)])throw new Error(_0x52902e(0x33a)+_0xd8ffe6['status']+_0x52902e(0x417)+_0x5415da['status']+_0x52902e(0x473)+this[_0x52902e(0x33e)]['status']);this[_0x52902e(0x435)](_0x5415da);},'onSendChangeset':_0xc6eea9=>{var _0x546943=_0x27c5b5;_0xc6eea9['sid']||(_0xc6eea9[_0x546943(0x2e5)]=this[_0x546943(0x32a)],_0xc6eea9['reqId']=++this['_changesetReqId']);const _0xeaf08b={'eventID':_0x4cecf['CollaborationEvent'][_0x546943(0x32d)],'data':{'unitID':_0xc6eea9[_0x546943(0x217)],'unitType':this[_0x546943(0x545)],'changeset':_0xc6eea9,'memberID':this[_0x546943(0x44b)][_0x546943(0x243)]()}};this['session'][_0x546943(0x263)](_0xeaf08b,this[_0x546943(0x217)]);},'onMissingChangesets':({from:_0x376fcc,to:_0x2f4d8a})=>{var _0x27e3b0=_0x27c5b5;this['_logService'][_0x27e3b0(0x325)](_0x27e3b0(0x546),_0x27e3b0(0x1eb)+_0x376fcc+_0x27e3b0(0x447)+_0x2f4d8a);const _0x22a205={'eventID':_0x4cecf[_0x27e3b0(0x318)]['FETCH_MISSING'],'data':{'unitID':_0x20ef56,'unitType':this[_0x27e3b0(0x545)],'from':_0x376fcc,'to':_0x2f4d8a}};this[_0x27e3b0(0x44b)][_0x27e3b0(0x263)](_0x22a205,this[_0x27e3b0(0x217)]);}};}async['_createInitialStateImpl'](_0x4ab3c2){var _0x2ad964=_0x451c39,_0x2edd4a,_0x2ee0c9,_0x5797e2;const _0x49a43f=await((_0x2edd4a=this[_0x2ad964(0x337)])==null?void 0x0:_0x2edd4a['loadOfflineData'](this[_0x2ad964(0x217)])),_0x3cf375=(_0x2ee0c9=_0x49a43f==null?void 0x0:_0x49a43f[_0x2ad964(0x241)])!=null?_0x2ee0c9:[],_0x40973a=(_0x5797e2=_0x49a43f==null?void 0x0:_0x49a43f['awaitingChangeset'])!=null?_0x5797e2:null,_0x2adedf=!!(_0x40973a!=null&&_0x40973a[_0x2ad964(0x2e5)])&&!!(_0x40973a!=null&&_0x40973a[_0x2ad964(0x520)]);this[_0x2ad964(0x32a)]=_0x2adedf?_0x40973a[_0x2ad964(0x2e5)]:_0x105b17(),this[_0x2ad964(0x37e)]=_0x2adedf?_0x40973a[_0x2ad964(0x520)]:0x0;const _0x5612af=this[_0x2ad964(0x217)];try{this[_0x2ad964(0x30f)](_0x40973a,_0x3cf375);}catch(_0x38238c){this[_0x2ad964(0x2af)]['error'](_0x38238c);}const _0x4c380b=this[_0x2ad964(0x25d)]();if(_0x4ab3c2){const _0x319a33=_0x2d7c8f(this[_0x2ad964(0x24a)],_0x5612af,this['_type'],_0x40973a,_0x3cf375,_0x4c380b);return _0x319a33 instanceof _0x39a6cf['PendingState']?_0x319a33[_0x2ad964(0x2bf)]():(_0x319a33 instanceof _0x39a6cf[_0x2ad964(0x2fc)]||_0x319a33 instanceof _0x39a6cf[_0x2ad964(0x3de)])&&_0x319a33['resend'](),_0x319a33;}return this['_injector'][_0x2ad964(0x398)](_0x39a6cf['OfflineState'],_0x5612af,this[_0x2ad964(0x545)],_0x40973a,_0x3cf375,_0x4c380b);}[_0x451c39(0x30f)](_0xf3a8d1,_0x55b338){var _0xeb4753=_0x451c39,_0x2a12b7,_0x421a5b;const _0x3934cf=this['_compressMutationService'][_0xeb4753(0x25f)][_0xeb4753(0x50d)](this[_0xeb4753(0x42f)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x2a12b7=_0x3934cf((_0xf3a8d1==null?void 0x0:_0xf3a8d1[_0xeb4753(0x241)])||[],null))==null||_0x2a12b7['forEach'](_0x262f11=>this[_0xeb4753(0x4ce)][_0xeb4753(0x40b)](_0x262f11['id'],_0x262f11['params'])),(_0x421a5b=_0x3934cf(_0x55b338||[],null))==null||_0x421a5b[_0xeb4753(0x43b)](_0x1f9cbb=>this['_commandService'][_0xeb4753(0x40b)](_0x1f9cbb['id'],_0x1f9cbb[_0xeb4753(0x22d)]));}},_0x39a6cf['CollaborationEntity']=_0x1f9ecd([_0x22c750(0x3,_0x2317f6['Inject'](_0x2317f6['Injector'])),_0x22c750(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x22f)])),_0x22c750(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x280)])),_0x22c750(0x6,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x22c750(0x7,_0x2317f6['Inject'](_0x55eade)),_0x22c750(0x8,_0x2317f6[_0x451c39(0x536)]),_0x22c750(0x9,_0x2317f6['ICommandService']),_0x22c750(0xa,_0x2317f6[_0x451c39(0x2ae)]),_0x22c750(0xb,_0x2317f6[_0x451c39(0x3ad)](_0x2edb94)),_0x22c750(0xc,_0x2317f6['Optional'](_0x57d8af))],_0x39a6cf[_0x451c39(0x2a3)]),_0x39a6cf[_0x451c39(0x2d6)]=class extends _0x39a6cf[_0x451c39(0x2a3)]{constructor(_0x2b9cfc,_0x2cdfff,_0x5292b1,_0x18e35d,_0x3bf2c7,_0x46ab5e,_0x2474bf,_0x5c48b5,_0xd65f26,_0xf1f034,_0x79b426,_0x439c5d,_0x3217bf){var _0x1b9906=_0x451c39;super(_0x2b9cfc,_0x5292b1,_0x2cdfff,_0x18e35d,_0x3bf2c7,_0x46ab5e,_0x2474bf,_0x5c48b5,_0xd65f26,_0xf1f034,_0x79b426,_0x439c5d,_0x3217bf),_0x51bd32(this,_0x1b9906(0x45a),null),(this[_0x1b9906(0x217)]=_0x2b9cfc,this[_0x1b9906(0x509)]=_0x2cdfff);}[_0x451c39(0x312)](_0x1e5987){var _0xe5fa26=_0x451c39;this[_0xe5fa26(0x45a)]=_0x1e5987;}[_0x451c39(0x4c3)](){var _0x540147=_0x451c39;this[_0x540147(0x45a)]=null,super[_0x540147(0x4c3)]();}[_0x451c39(0x25d)](){var _0x5a53ad=_0x451c39;const _0x32c3c4=super[_0x5a53ad(0x25d)]();return _0x32c3c4[_0x5a53ad(0x326)]=_0x4a5cac=>{var _0x478f8=_0x5a53ad,_0x211b43,_0x243cfb;return(_0x243cfb=(_0x211b43=this[_0x478f8(0x45a)])==null?void 0x0:_0x211b43[_0x478f8(0x326)])==null?void 0x0:_0x243cfb[_0x478f8(0x4b7)](_0x211b43,_0x4a5cac);},_0x32c3c4['onTransformState']=_0x21870a=>{var _0x5448a8=_0x5a53ad,_0x484705,_0x1678c7;return(_0x1678c7=(_0x484705=this[_0x5448a8(0x45a)])==null?void 0x0:_0x484705[_0x5448a8(0x4a3)])==null?void 0x0:_0x1678c7[_0x5448a8(0x4b7)](_0x484705,_0x21870a);},_0x32c3c4[_0x5a53ad(0x21c)]=_0x8b0ff1=>{var _0x6b7b13=_0x5a53ad,_0x208438,_0x5b4b51;return(_0x5b4b51=(_0x208438=this[_0x6b7b13(0x45a)])==null?void 0x0:_0x208438[_0x6b7b13(0x21c)])==null?void 0x0:_0x5b4b51[_0x6b7b13(0x4b7)](_0x208438,_0x8b0ff1);},_0x32c3c4[_0x5a53ad(0x1fc)]=_0x22df7c=>{var _0x1208ad=_0x5a53ad,_0x22a8aa,_0x5dd2b2;return(_0x5dd2b2=(_0x22a8aa=this[_0x1208ad(0x45a)])==null?void 0x0:_0x22a8aa[_0x1208ad(0x1fc)])==null?void 0x0:_0x5dd2b2[_0x1208ad(0x4b7)](_0x22a8aa,_0x22df7c);},_0x32c3c4[_0x5a53ad(0x267)]=_0x3f66ad=>{var _0x4cec08=_0x5a53ad,_0x3d6574,_0x370100,_0x49ec1c;if(!((_0x3d6574=this[_0x4cec08(0x45a)])!=null&&_0x3d6574['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x49ec1c=(_0x370100=this['_handlerCallback'])==null?void 0x0:_0x370100['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x49ec1c[_0x4cec08(0x4b7)](_0x370100,_0x3f66ad);},_0x32c3c4[_0x5a53ad(0x407)]=_0x5f4125=>{var _0x54e84d=_0x5a53ad,_0x1bfbd2,_0x1e4b80,_0x38c685;if(!((_0x1bfbd2=this[_0x54e84d(0x45a)])!=null&&_0x1bfbd2[_0x54e84d(0x407)]))throw new Error(_0x54e84d(0x500));return(_0x38c685=(_0x1e4b80=this[_0x54e84d(0x45a)])==null?void 0x0:_0x1e4b80[_0x54e84d(0x407)])==null?void 0x0:_0x38c685[_0x54e84d(0x4b7)](_0x1e4b80,_0x5f4125);},_0x32c3c4;}async['_init'](){var _0x28d893=_0x451c39;const _0x5689d6=await super[_0x28d893(0x453)]();return this[_0x28d893(0x40a)](this[_0x28d893(0x4ce)][_0x28d893(0x374)]((_0x51cb71,_0x38705c)=>{var _0x3b48cd=_0x28d893;if(_0x51cb71[_0x3b48cd(0x509)]!==_0x2317f6[_0x3b48cd(0x4d5)]['MUTATION']||_0x38705c!=null&&_0x38705c[_0x3b48cd(0x46d)]||_0x38705c!=null&&_0x38705c[_0x3b48cd(0x1f1)]||_0x51cb71['id']===_0x1b6b53['RichTextEditingMutation']['id'])return;const _0x11eb4b=_0x51cb71['params'];if((_0x11eb4b==null?void 0x0:_0x11eb4b[_0x3b48cd(0x236)])!==this[_0x3b48cd(0x217)])return;const _0x2467db=_0x51cb71,_0x449463=this['_compressMutationService'][_0x3b48cd(0x25f)][_0x3b48cd(0x50d)](this[_0x3b48cd(0x42f)][_0x3b48cd(0x25f)][_0x3b48cd(0x54d)]()[_0x3b48cd(0x36b)])([_0x2467db],null)||[_0x2467db];this['_onLocalMutation'](_0x449463[0x0]);})),_0x5689d6;}},_0x39a6cf[_0x451c39(0x2d6)]=_0x1f9ecd([_0x22c750(0x3,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x334)])),_0x22c750(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x22f)])),_0x22c750(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x280)])),_0x22c750(0x6,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x22c750(0x7,_0x2317f6[_0x451c39(0x2b8)](_0x55eade)),_0x22c750(0x8,_0x2317f6[_0x451c39(0x536)]),_0x22c750(0x9,_0x2317f6['ICommandService']),_0x22c750(0xa,_0x2317f6[_0x451c39(0x2ae)]),_0x22c750(0xb,_0x2317f6[_0x451c39(0x3ad)](_0x2edb94)),_0x22c750(0xc,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x2d6)]),_0x39a6cf['SheetCollaborationEntity']=class extends _0x39a6cf['CollaborationEntity']{constructor(_0x41f319,_0x59eebd,_0x1bf7c0,_0x31d74b,_0x2e2dea,_0xfcffca,_0x569bce,_0x35ff1f,_0x5ceeeb,_0x3ea102,_0x2c24d9,_0xa4c3f1,_0x3f3270,_0x243f4e){var _0x29afc6=_0x451c39;super(_0x41f319,_0x1bf7c0,_0x59eebd,_0x31d74b,_0x2e2dea,_0xfcffca,_0x569bce,_0x5ceeeb,_0x3ea102,_0x2c24d9,_0xa4c3f1,_0x3f3270,_0x243f4e),this['unitID']=_0x41f319,this[_0x29afc6(0x509)]=_0x59eebd,this[_0x29afc6(0x1e3)]=_0x35ff1f;}[_0x451c39(0x25d)](){var _0x262f67=_0x451c39;const _0x2f2bad=super['_createHandler']();return _0x2f2bad['onTransformSelections']=_0x19e20c=>this[_0x262f67(0x1e3)][_0x262f67(0x346)](_0x19e20c),_0x2f2bad;}async[_0x451c39(0x453)](){var _0x2c1e10=_0x451c39;const _0x54cb95=await super[_0x2c1e10(0x453)]();return this[_0x2c1e10(0x40a)](this[_0x2c1e10(0x4ce)]['onCommandExecuted']((_0xcfb87,_0x4f723b)=>{var _0x5dfe0a=_0x2c1e10;if(_0xcfb87[_0x5dfe0a(0x509)]!==_0x2317f6['CommandType']['MUTATION']||_0x4f723b!=null&&_0x4f723b[_0x5dfe0a(0x46d)]||_0x4f723b!=null&&_0x4f723b[_0x5dfe0a(0x1f1)])return;const _0x4d2a1b=_0xcfb87['params'];if((_0x4d2a1b==null?void 0x0:_0x4d2a1b[_0x5dfe0a(0x236)])!==this[_0x5dfe0a(0x217)])return;const _0x10a9b0=_0xcfb87,_0x460d85=this['_compressMutationService']['interceptor'][_0x5dfe0a(0x50d)](this[_0x5dfe0a(0x42f)][_0x5dfe0a(0x25f)]['getInterceptPoints']()[_0x5dfe0a(0x36b)])([_0x10a9b0],null)||[_0x10a9b0];this[_0x5dfe0a(0x4c1)](_0x460d85[0x0]);})),_0x54cb95;}},_0x39a6cf[_0x451c39(0x24e)]=_0x1f9ecd([_0x22c750(0x3,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x334)])),_0x22c750(0x4,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x22f)])),_0x22c750(0x5,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x280)])),_0x22c750(0x6,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf[_0x451c39(0x21f)])),_0x22c750(0x7,_0x2317f6[_0x451c39(0x2b8)](_0x39a6cf[_0x451c39(0x4c7)])),_0x22c750(0x8,_0x2317f6[_0x451c39(0x2b8)](_0x55eade)),_0x22c750(0x9,_0x2317f6[_0x451c39(0x536)]),_0x22c750(0xa,_0x2317f6['ICommandService']),_0x22c750(0xb,_0x2317f6[_0x451c39(0x2ae)]),_0x22c750(0xc,_0x2317f6[_0x451c39(0x3ad)](_0x2edb94)),_0x22c750(0xd,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x24e)]);var _0x38b5bb=Object[_0x451c39(0x272)],_0x4d2c9d=Object[_0x451c39(0x1f7)],_0x4b7d45=(_0x399047,_0x4a21df,_0x3ee9d9,_0x2db97c)=>{var _0x114ce2=_0x451c39;for(var _0x5805a6=_0x2db97c>0x1?void 0x0:_0x2db97c?_0x4d2c9d(_0x4a21df,_0x3ee9d9):_0x4a21df,_0x1baa1c=_0x399047[_0x114ce2(0x429)]-0x1,_0xd53cb9;_0x1baa1c>=0x0;_0x1baa1c--)(_0xd53cb9=_0x399047[_0x1baa1c])&&(_0x5805a6=(_0x2db97c?_0xd53cb9(_0x4a21df,_0x3ee9d9,_0x5805a6):_0xd53cb9(_0x5805a6))||_0x5805a6);return _0x2db97c&&_0x5805a6&&_0x38b5bb(_0x4a21df,_0x3ee9d9,_0x5805a6),_0x5805a6;},_0x5796b7=(_0xec13f7,_0x56184d)=>(_0x7ef535,_0x1ad0e8)=>_0x56184d(_0x7ef535,_0x1ad0e8,_0xec13f7);_0x39a6cf['CollaborationController']=class extends _0x2317f6[_0x451c39(0x36d)]{constructor(_0x484955,_0x41a39d,_0x3afd3a){var _0x3a93bd=_0x451c39;super(),_0x51bd32(this,'_entities',new Map()),_0x51bd32(this,_0x3a93bd(0x360),new _0x319114[(_0x3a93bd(0x3d7))]()),_0x51bd32(this,_0x3a93bd(0x20a),this[_0x3a93bd(0x360)][_0x3a93bd(0x368)]()),(this['_injector']=_0x484955,this['_collabSessionService']=_0x41a39d,this['_univerInstanceService']=_0x3afd3a,this['_init']());}[_0x451c39(0x4c3)](){var _0x5b91fc=_0x451c39;super[_0x5b91fc(0x4c3)](),this[_0x5b91fc(0x323)][_0x5b91fc(0x43b)](_0x34a1a8=>_0x34a1a8[_0x5b91fc(0x4c3)]()),this['_entities'][_0x5b91fc(0x54f)]();}[_0x451c39(0x222)](_0x249035){var _0x479845=_0x451c39,_0x33ce05;return(_0x33ce05=this[_0x479845(0x323)]['get'](_0x249035))!=null?_0x33ce05:null;}[_0x451c39(0x3bd)](_0x1b3118){var _0xfd3333=_0x451c39;const _0xdc10fe=this['getCollabEntity'](_0x1b3118);return _0xdc10fe?_0x319114['of'](_0xdc10fe):this[_0xfd3333(0x360)][_0xfd3333(0x49b)](_0x2a56f4[_0xfd3333(0x3b9)](_0x142175=>_0x142175[_0xfd3333(0x217)]===_0x1b3118));}[_0x451c39(0x409)](_0x55fff1){var _0x4bf20d=_0x451c39;return _0x319114[_0x4bf20d(0x4b6)](this[_0x4bf20d(0x3bd)](_0x55fff1)[_0x4bf20d(0x49b)](_0x2a56f4[_0x4bf20d(0x427)](()=>{})));}[_0x451c39(0x453)](){var _0x14ce30=_0x451c39;this[_0x14ce30(0x552)]['getTypeOfUnitAdded$'](_0x2317f6[_0x14ce30(0x2f2)][_0x14ce30(0x39e)])[_0x14ce30(0x49b)](_0x319114[_0x14ce30(0x2b1)](this['dispose$']),_0x2a56f4[_0x14ce30(0x4e5)](0x10))[_0x14ce30(0x397)](async _0x2ceca2=>{var _0x28a000=_0x14ce30;const _0x55bbf0=_0x2ceca2[_0x28a000(0x276)](),_0x28c660=await this[_0x28a000(0x3ed)](_0x55bbf0,_0x49ad07['UNIVER_SHEET']);this[_0x28a000(0x323)][_0x28a000(0x321)](_0x55bbf0,_0x28c660);}),this[_0x14ce30(0x552)][_0x14ce30(0x3d6)](_0x2317f6['UniverInstanceType'][_0x14ce30(0x2b6)])[_0x14ce30(0x49b)](_0x319114[_0x14ce30(0x2b1)](this[_0x14ce30(0x219)]),_0x2a56f4[_0x14ce30(0x4e5)](0x10))[_0x14ce30(0x49b)](_0x2a56f4[_0x14ce30(0x3b9)](_0x3b89e9=>!_0x3b89e9[_0x14ce30(0x276)]()['startsWith']('__')))[_0x14ce30(0x397)](async _0xddbf01=>{var _0x49121f=_0x14ce30;const _0x301844=_0xddbf01[_0x49121f(0x276)](),_0x10a1d6=await this[_0x49121f(0x3ed)](_0x301844,_0x49ad07['UNIVER_DOC']);this[_0x49121f(0x323)][_0x49121f(0x321)](_0x301844,_0x10a1d6);}),_0x319114[_0x14ce30(0x269)](this[_0x14ce30(0x552)][_0x14ce30(0x218)](_0x2317f6[_0x14ce30(0x2f2)][_0x14ce30(0x39e)]),this[_0x14ce30(0x552)][_0x14ce30(0x218)](_0x2317f6[_0x14ce30(0x2f2)][_0x14ce30(0x2b6)]))[_0x14ce30(0x49b)](_0x319114['takeUntil'](this[_0x14ce30(0x219)]))[_0x14ce30(0x397)](_0x44f3c0=>{var _0xe00118=_0x14ce30;const _0x3882d3=_0x44f3c0[_0xe00118(0x276)](),_0xc3e89c=this[_0xe00118(0x323)][_0xe00118(0x537)](_0x3882d3);_0xc3e89c&&(_0xc3e89c['dispose'](),this[_0xe00118(0x323)]['delete'](_0x3882d3));});}async[_0x451c39(0x3ed)](_0x48dd59,_0x1e05fd){var _0x1601ff=_0x451c39;const _0x3f12ba=await this[_0x1601ff(0x47e)][_0x1601ff(0x3e4)](_0x48dd59),_0x2df3a1=this[_0x1601ff(0x24a)][_0x1601ff(0x398)](this[_0x1601ff(0x4ae)](_0x1e05fd),_0x48dd59,_0x1e05fd,_0x3f12ba);return await _0x2df3a1[_0x1601ff(0x390)](),this[_0x1601ff(0x360)]['next'](_0x2df3a1),_0x2df3a1;}[_0x451c39(0x4ae)](_0x3073e7){var _0x3e496e=_0x451c39;switch(_0x3073e7){case _0x49ad07['UNIVER_DOC']:return _0x39a6cf[_0x3e496e(0x2d6)];case _0x49ad07[_0x3e496e(0x39e)]:return _0x39a6cf[_0x3e496e(0x24e)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3073e7);}}},_0x39a6cf['CollaborationController']=_0x4b7d45([_0x5796b7(0x0,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x5796b7(0x1,_0x2317f6[_0x451c39(0x2b8)](_0x39a6cf[_0x451c39(0x2f3)])),_0x5796b7(0x2,_0x2317f6[_0x451c39(0x2db)])],_0x39a6cf[_0x451c39(0x27f)]);var _0x439488=Object[_0x451c39(0x272)],_0x288042=Object[_0x451c39(0x1f7)],_0x479bd9=(_0xd720d3,_0x744529,_0x4acf23,_0xee5195)=>{var _0x4effde=_0x451c39;for(var _0x1389c3=_0xee5195>0x1?void 0x0:_0xee5195?_0x288042(_0x744529,_0x4acf23):_0x744529,_0x310a76=_0xd720d3[_0x4effde(0x429)]-0x1,_0x100836;_0x310a76>=0x0;_0x310a76--)(_0x100836=_0xd720d3[_0x310a76])&&(_0x1389c3=(_0xee5195?_0x100836(_0x744529,_0x4acf23,_0x1389c3):_0x100836(_0x1389c3))||_0x1389c3);return _0xee5195&&_0x1389c3&&_0x439488(_0x744529,_0x4acf23,_0x1389c3),_0x1389c3;},_0x5ea7c9=(_0x4211b8,_0x5be469)=>(_0x1e48be,_0x51f93b)=>_0x5be469(_0x1e48be,_0x51f93b,_0x4211b8);const _0x73f2e1=_0x451c39(0x489),_0x5c1214='Univer';let _0x397363=class extends _0x2317f6['Disposable']{constructor(_0x26c362,_0x1e0db0){var _0x260e9b=_0x451c39;super(),this['_univerInstanceService']=_0x26c362,this[_0x260e9b(0x448)]=_0x1e0db0,this[_0x260e9b(0x453)]();}[_0x451c39(0x453)](){var _0x4b3075=_0x451c39;this[_0x4b3075(0x40a)](this[_0x4b3075(0x552)][_0x4b3075(0x3f4)][_0x4b3075(0x397)](()=>{var _0x2b1332=_0x4b3075,_0x1028b5;const _0x4940b0=this[_0x2b1332(0x552)][_0x2b1332(0x540)]();let _0x35b651=(_0x1028b5=this[_0x2b1332(0x448)][_0x2b1332(0x328)](_0x73f2e1))!=null?_0x1028b5:_0x5c1214;_0x4940b0 instanceof _0x2317f6[_0x2b1332(0x549)]&&(_0x35b651=_0x4940b0['name']),document[_0x2b1332(0x2ed)]=_0x35b651;}));}};_0x397363=_0x479bd9([_0x5ea7c9(0x0,_0x2317f6['IUniverInstanceService']),_0x5ea7c9(0x1,_0x2317f6[_0x451c39(0x1e4)])],_0x397363);var _0x43a935=Object[_0x451c39(0x272)],_0x1166f3=Object[_0x451c39(0x1f7)],_0x1c6b98=(_0x293eca,_0x2f846f,_0x2bc877,_0x305ecc)=>{var _0x26b9a0=_0x451c39;for(var _0xc82529=_0x305ecc>0x1?void 0x0:_0x305ecc?_0x1166f3(_0x2f846f,_0x2bc877):_0x2f846f,_0x104d00=_0x293eca[_0x26b9a0(0x429)]-0x1,_0x59c55b;_0x104d00>=0x0;_0x104d00--)(_0x59c55b=_0x293eca[_0x104d00])&&(_0xc82529=(_0x305ecc?_0x59c55b(_0x2f846f,_0x2bc877,_0xc82529):_0x59c55b(_0xc82529))||_0xc82529);return _0x305ecc&&_0xc82529&&_0x43a935(_0x2f846f,_0x2bc877,_0xc82529),_0xc82529;},_0x2b5b70=(_0x56faea,_0x6a474d)=>(_0x1287d3,_0x5f0f2f)=>_0x6a474d(_0x1287d3,_0x5f0f2f,_0x56faea);let _0x123313=class{constructor(_0x39b885,_0x595052,_0x3acc75){var _0x570c31=_0x451c39;this[_0x570c31(0x448)]=_0x39b885,this['_httpService']=_0x595052,this[_0x570c31(0x309)]=_0x3acc75,this[_0x570c31(0x390)]();}[_0x451c39(0x390)](){var _0x90da6e=_0x451c39;this[_0x90da6e(0x52d)][_0x90da6e(0x45e)]({'priority':0x1,'interceptor':(_0x1ff930,_0x49ae71)=>_0x49ae71(_0x1ff930)[_0x90da6e(0x49b)](_0x319114[_0x90da6e(0x415)](async _0x43b01d=>{var _0x5bea2c=_0x90da6e;const _0x490fbc=_0x43b01d;if(_0x490fbc[_0x5bea2c(0x33f)]===0x191){if(typeof window>'u')throw new Error(_0x5bea2c(0x262));if(window[_0x5bea2c(0x26d)](this[_0x5bea2c(0x309)]['t']('auth.needGotoLoginAlert'))){const _0x2fa42b=window['encodeURIComponent'](window['location'][_0x5bea2c(0x4af)]);window[_0x5bea2c(0x1ec)][_0x5bea2c(0x4af)]=this[_0x5bea2c(0x28f)]()+_0x5bea2c(0x488)+_0x2fa42b;}}return _0x490fbc;}))});}[_0x451c39(0x28f)](){var _0x324551=_0x451c39,_0x48127f,_0x7427f9;const _0x31aa32=this[_0x324551(0x448)][_0x324551(0x328)](_0x1c7cd6),_0x5be799=this['_configService'][_0x324551(0x328)](_0x33ccdf);return(_0x7427f9=(_0x48127f=_0x5be799==null?void 0x0:_0x5be799['loginUrlKey'])!=null?_0x48127f:_0x31aa32)!=null?_0x7427f9:_0x1e382;}};_0x123313=_0x1c6b98([_0x2b5b70(0x0,_0x2317f6['IConfigService']),_0x2b5b70(0x1,_0x2317f6[_0x451c39(0x2b8)](_0x1b5960[_0x451c39(0x352)])),_0x2b5b70(0x2,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6['LocaleService']))],_0x123313);var _0x403001=Object[_0x451c39(0x272)],_0x5b7b65=Object[_0x451c39(0x1f7)],_0x49e1f7=(_0x4efed5,_0x1dc582,_0x562fa5,_0x40a9a7)=>{var _0x46dc7f=_0x451c39;for(var _0x2d6294=_0x40a9a7>0x1?void 0x0:_0x40a9a7?_0x5b7b65(_0x1dc582,_0x562fa5):_0x1dc582,_0x3b61ca=_0x4efed5[_0x46dc7f(0x429)]-0x1,_0x50a385;_0x3b61ca>=0x0;_0x3b61ca--)(_0x50a385=_0x4efed5[_0x3b61ca])&&(_0x2d6294=(_0x40a9a7?_0x50a385(_0x1dc582,_0x562fa5,_0x2d6294):_0x50a385(_0x2d6294))||_0x2d6294);return _0x40a9a7&&_0x2d6294&&_0x403001(_0x1dc582,_0x562fa5,_0x2d6294),_0x2d6294;},_0x206fb7=(_0x300633,_0x1fa118)=>(_0x30605e,_0x35e3ce)=>_0x1fa118(_0x30605e,_0x35e3ce,_0x300633);const _0x3272af=_0x451c39(0x381),_0x4b3a41=_0x451c39(0x445);_0x39a6cf[_0x451c39(0x34a)]=class extends _0x2317f6[_0x451c39(0x4b9)]{constructor(_0x31472a,_0x1d78a8){var _0x459901=_0x451c39;super(),this['_HTTPService']=_0x31472a,this[_0x459901(0x448)]=_0x1d78a8,this[_0x459901(0x44a)]();}[_0x451c39(0x44a)](){var _0x4d1b3e=_0x451c39;const _0xb72b55=this;this[_0x4d1b3e(0x40a)](this[_0x4d1b3e(0x234)][_0x4d1b3e(0x45e)]({'priority':0x3e7,'interceptor':_0x1b5960['MergeInterceptorFactory']({'isMatch'(_0x138eca){var _0x34665f=_0x4d1b3e,_0x48591c;if(_0x138eca[_0x34665f(0x258)]===_0x34665f(0x2fd)&&((_0x48591c=_0x138eca['requestParams'])!=null&&_0x48591c[_0x34665f(0x53f)])){const {objectID:_0x187e5c,objectType:_0x4468ca}=_0x138eca[_0x34665f(0x310)][_0x34665f(0x53f)]||{};if(!_0x187e5c||_0x4468ca===void 0x0)return!0x1;const _0x52b4c8=_0xb72b55[_0x34665f(0x3c1)]()+'/'+_0x4468ca+_0x34665f(0x3dd)+_0x187e5c+_0x34665f(0x31a);if(_0x138eca[_0x34665f(0x26a)]===_0x52b4c8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x257e4b){var _0x5c95f2=_0x4d1b3e,_0x599fbd;return(_0x599fbd=_0x257e4b[_0x5c95f2(0x310)])==null?void 0x0:_0x599fbd[_0x5c95f2(0x53f)];},'mergeParamsToRequest'(_0x4d603e,_0x5985b1){var _0x1faca7=_0x4d1b3e;const _0x55fef7=_0xb72b55[_0x1faca7(0x3c1)]()+_0x1faca7(0x4c8),_0x1b3755=_0x4d603e[_0x1faca7(0x399)]((_0x1be888,_0x8b587e)=>{var _0x400e2a=_0x1faca7;const {unitID:_0x15591f,objectID:_0x3a0f2d,objectType:_0x57b162,actions:_0x20fb05}=_0x8b587e;return _0x1be888[_0x15591f]||(_0x1be888[_0x15591f]={}),_0x1be888[_0x15591f][_0x3a0f2d]||(_0x1be888[_0x15591f][_0x3a0f2d]={'objectID':_0x3a0f2d,'objectType':_0x57b162,'actions':[]}),_0x1be888[_0x15591f][_0x3a0f2d][_0x400e2a(0x221)][_0x400e2a(0x28b)](..._0x20fb05),_0x1be888;},{}),_0x4f2308=[];for(const _0x4d6e6b in _0x1b3755)for(const _0x264698 in _0x1b3755[_0x4d6e6b]){const {actions:_0x553503,objectType:_0x4e2c2f}=_0x1b3755[_0x4d6e6b][_0x264698],_0x1f0290=[...new Set(_0x553503)];_0x4f2308['push']({'unitID':_0x4d6e6b,'objectID':_0x264698,'objectType':_0x4e2c2f,'actions':_0x1f0290});}return new _0x1b5960[(_0x1faca7(0x361))](_0x1faca7(0x2fd),_0x55fef7,{'headers':_0x5985b1[_0x1faca7(0x3a2)],'withCredentials':_0x5985b1[_0x1faca7(0x332)],'responseType':_0x5985b1['responseType'],'body':{'requests':_0x4f2308}});}},{'distributeResult'(_0x5e7cdc,_0x3a0658){var _0x4375e3=_0x4d1b3e;const {objectActions:_0x5cadee}=_0x5e7cdc;return _0x3a0658[_0x4375e3(0x427)](_0x233655=>{var _0x661e5f=_0x4375e3;const {unitID:_0x3f6ee4,objectID:_0x19b2be,actions:_0x40b2d3}=_0x233655,_0x3eb12c=_0x5cadee[_0x661e5f(0x51b)](_0x58e433=>_0x58e433['unitID']===_0x3f6ee4&&_0x58e433[_0x661e5f(0x2d2)]===_0x19b2be),_0x5cf84b=_0x40b2d3[_0x661e5f(0x427)](_0x47b931=>_0x3eb12c==null?void 0x0:_0x3eb12c[_0x661e5f(0x221)][_0x661e5f(0x51b)](_0xc58f38=>_0xc58f38['action']===_0x47b931))[_0x661e5f(0x3b9)](_0x50b29d=>!!_0x50b29d);return{'config':_0x233655,'result':{'actions':_0x5cf84b,'error':_0x5e7cdc['error']}};});}})}));}[_0x451c39(0x3c1)](){var _0x4a44d3=_0x451c39,_0x1cf97e,_0x584247;const _0x2ae2c9=this[_0x4a44d3(0x448)][_0x4a44d3(0x328)](_0x3272af),_0x2318e7=this[_0x4a44d3(0x448)][_0x4a44d3(0x328)](_0x33ccdf);return(_0x584247=(_0x1cf97e=_0x2318e7==null?void 0x0:_0x2318e7[_0x4a44d3(0x4a8)])!=null?_0x1cf97e:_0x2ae2c9)!=null?_0x584247:_0x4b3a41;}async[_0x451c39(0x2a2)](_0x59dbf2){var _0x4a4a6f=_0x451c39;const _0x3dc4ad=this[_0x4a4a6f(0x3c1)]()+'/'+_0x59dbf2['objectType']+'/object';return(await this['_HTTPService']['post'](_0x3dc4ad,{'body':_0x59dbf2}))[_0x4a4a6f(0x53f)]['objectID']||'';}async[_0x451c39(0x457)](_0x5dba07){var _0xe0d604=_0x451c39;const _0x4ce157=this[_0xe0d604(0x3c1)]()+_0xe0d604(0x525);return(await this[_0xe0d604(0x234)]['post'](_0x4ce157,{'body':_0x5dba07}))[_0xe0d604(0x53f)][_0xe0d604(0x49c)];}async[_0x451c39(0x51d)](_0x1d6bc4){var _0x4809c2=_0x451c39;const _0x12adf2=this['_getAPIPrefixPath']()+'/'+_0x1d6bc4[_0x4809c2(0x1fe)]+'/object/'+_0x1d6bc4['objectID'];await this[_0x4809c2(0x234)][_0x4809c2(0x4b4)](_0x12adf2,{'body':_0x1d6bc4});}async['allowed'](_0x14c63b){var _0x54d406=_0x451c39;const _0x4d7ad6=this[_0x54d406(0x3c1)]()+'/'+_0x14c63b[_0x54d406(0x1fe)]+_0x54d406(0x3dd)+_0x14c63b[_0x54d406(0x2d2)]+_0x54d406(0x31a);return(await this[_0x54d406(0x234)][_0x54d406(0x466)](_0x4d7ad6,{'body':_0x14c63b}))[_0x54d406(0x53f)][_0x54d406(0x221)];}async['batchAllowed'](_0x46a5ec){var _0x4884d5=_0x451c39;const _0x21eecd=this[_0x4884d5(0x3c1)]()+_0x4884d5(0x4c8);return(await this[_0x4884d5(0x234)]['post'](_0x21eecd,{'body':{'requests':_0x46a5ec}}))[_0x4884d5(0x53f)][_0x4884d5(0x517)];}async[_0x451c39(0x354)](_0xac388e){var _0x37bb04=_0x451c39;const _0x1c9378=this['_getAPIPrefixPath']()+'/'+_0xac388e[_0x37bb04(0x1fe)]+_0x37bb04(0x39d),_0xb14626=await this['_HTTPService'][_0x37bb04(0x466)](_0x1c9378,{'body':_0xac388e});return{'roles':_0xb14626[_0x37bb04(0x53f)][_0x37bb04(0x33c)],'actions':_0xb14626['body'][_0x37bb04(0x221)]};}async[_0x451c39(0x388)](_0x50f8eb){var _0x183f9e=_0x451c39;const _0x5449f0=this[_0x183f9e(0x3c1)]()+_0x183f9e(0x228);await this[_0x183f9e(0x234)][_0x183f9e(0x34f)](_0x5449f0,{'params':{'collaboratorID':_0x50f8eb['collaboratorID'],'objectID':_0x50f8eb[_0x183f9e(0x2d2)],'unitID':_0x50f8eb[_0x183f9e(0x217)]}});}async['updateCollaborator'](_0x51b74e){var _0x341d54=_0x451c39;const _0x191714=this[_0x341d54(0x3c1)]()+_0x341d54(0x228);await this['_HTTPService'][_0x341d54(0x551)](_0x191714,{'body':_0x51b74e});}async[_0x451c39(0x3ba)](_0x23d45c){var _0xb91e83=_0x451c39;const _0x53a4d1=this[_0xb91e83(0x3c1)]()+'/collaborator';await this['_HTTPService'][_0xb91e83(0x466)](_0x53a4d1,{'body':_0x23d45c});}async[_0x451c39(0x1df)](_0x19b1b6){var _0x3d99a6=_0x451c39;const _0x26f8d9=this[_0x3d99a6(0x3c1)]()+_0x3d99a6(0x228);return(await this['_HTTPService'][_0x3d99a6(0x537)](_0x26f8d9,{'params':{'objectID':_0x19b1b6[_0x3d99a6(0x2d2)],'unitID':_0x19b1b6[_0x3d99a6(0x217)]}}))[_0x3d99a6(0x53f)][_0x3d99a6(0x508)];}async[_0x451c39(0x54a)](_0x161a4c){var _0x2bee59=_0x451c39;const _0x262c0b=this[_0x2bee59(0x3c1)]()+_0x2bee59(0x228);await this[_0x2bee59(0x234)]['put'](_0x262c0b,{'body':_0x161a4c});}},_0x39a6cf[_0x451c39(0x34a)]=_0x49e1f7([_0x206fb7(0x0,_0x2317f6[_0x451c39(0x2b8)](_0x1b5960['HTTPService'])),_0x206fb7(0x1,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x1e4)]))],_0x39a6cf['AuthzIoHttpService']);var _0x4ec6e2=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x11af2b(_0x2f4894){var _0xf04efa=_0x451c39;return _0x2f4894&&_0x2f4894[_0xf04efa(0x3dc)]&&Object[_0xf04efa(0x34e)]['hasOwnProperty'][_0xf04efa(0x4b7)](_0x2f4894,_0xf04efa(0x45b))?_0x2f4894[_0xf04efa(0x45b)]:_0x2f4894;}var _0x27d8c7={'exports':{}};function _0x3cac03(_0x297872){var _0x5110d3=_0x451c39;throw new Error(_0x5110d3(0x3bf)+_0x297872+_0x5110d3(0x372));}var _0x25d207={'exports':{}},_0x38d8dc=_0x25d207[_0x451c39(0x4da)],_0x9983d2;function _0xd86a95(){var _0x4c3dca=_0x451c39;return _0x9983d2||(_0x9983d2=0x1,function(_0x22b33d,_0x245b91){(function(_0x31ab3c,_0x1f248c){var _0x438ba6=_0x2d7e;_0x22b33d[_0x438ba6(0x4da)]=_0x1f248c();}(_0x38d8dc,function(){var _0x52dff9=_0x52dff9||function(_0x1c969d,_0x35ed7f){var _0x4a9080=_0x2d7e,_0x366194;if(typeof window<'u'&&window['crypto']&&(_0x366194=window[_0x4a9080(0x224)]),typeof self<'u'&&self[_0x4a9080(0x224)]&&(_0x366194=self[_0x4a9080(0x224)]),typeof globalThis<'u'&&globalThis[_0x4a9080(0x224)]&&(_0x366194=globalThis[_0x4a9080(0x224)]),!_0x366194&&typeof window<'u'&&window[_0x4a9080(0x54e)]&&(_0x366194=window[_0x4a9080(0x54e)]),!_0x366194&&typeof _0x4ec6e2<'u'&&_0x4ec6e2['crypto']&&(_0x366194=_0x4ec6e2[_0x4a9080(0x224)]),!_0x366194&&typeof _0x3cac03==_0x4a9080(0x261))try{_0x366194=require(_0x4a9080(0x224));}catch{}var _0xa4ec71=function(){var _0x20286f=_0x4a9080;if(_0x366194){if(typeof _0x366194[_0x20286f(0x4be)]==_0x20286f(0x261))try{return _0x366194[_0x20286f(0x4be)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x366194[_0x20286f(0x393)]=='function')try{return _0x366194[_0x20286f(0x393)](0x4)[_0x20286f(0x25c)]();}catch{}}throw new Error(_0x20286f(0x507));},_0x3deb86=Object['create']||(function(){function _0x12aa10(){}return function(_0x37736f){var _0x13134b=_0x2d7e,_0x48625e;return _0x12aa10[_0x13134b(0x34e)]=_0x37736f,_0x48625e=new _0x12aa10(),_0x12aa10['prototype']=null,_0x48625e;};}()),_0x44b444={},_0x17fec8=_0x44b444[_0x4a9080(0x28a)]={},_0x4229cb=_0x17fec8['Base']=(function(){return{'extend':function(_0x5204b9){var _0x4da01f=_0x2d7e,_0x573683=_0x3deb86(this);return _0x5204b9&&_0x573683['mixIn'](_0x5204b9),(!_0x573683['hasOwnProperty'](_0x4da01f(0x390))||this[_0x4da01f(0x390)]===_0x573683[_0x4da01f(0x390)])&&(_0x573683[_0x4da01f(0x390)]=function(){var _0x2f77e0=_0x4da01f;_0x573683[_0x2f77e0(0x411)]['init']['apply'](this,arguments);}),_0x573683[_0x4da01f(0x390)]['prototype']=_0x573683,_0x573683[_0x4da01f(0x411)]=this,_0x573683;},'create':function(){var _0x5c8b75=_0x2d7e,_0x172304=this['extend']();return _0x172304[_0x5c8b75(0x390)]['apply'](_0x172304,arguments),_0x172304;},'init':function(){},'mixIn':function(_0x112a4d){var _0x1f1058=_0x2d7e;for(var _0x5ce3dc in _0x112a4d)_0x112a4d['hasOwnProperty'](_0x5ce3dc)&&(this[_0x5ce3dc]=_0x112a4d[_0x5ce3dc]);_0x112a4d[_0x1f1058(0x452)]('toString')&&(this[_0x1f1058(0x216)]=_0x112a4d[_0x1f1058(0x216)]);},'clone':function(){var _0x26f555=_0x2d7e;return this[_0x26f555(0x390)][_0x26f555(0x34e)][_0x26f555(0x242)](this);}};}()),_0x485480=_0x17fec8[_0x4a9080(0x52c)]=_0x4229cb[_0x4a9080(0x242)]({'init':function(_0x128b9f,_0x47b8f2){var _0x13a0b6=_0x4a9080;_0x128b9f=this[_0x13a0b6(0x2f9)]=_0x128b9f||[],_0x47b8f2!=_0x35ed7f?this[_0x13a0b6(0x366)]=_0x47b8f2:this[_0x13a0b6(0x366)]=_0x128b9f[_0x13a0b6(0x429)]*0x4;},'toString':function(_0x5d3a9e){var _0x554a8e=_0x4a9080;return(_0x5d3a9e||_0x206aaf)[_0x554a8e(0x4a2)](this);},'concat':function(_0x3c2ee0){var _0x5e5862=_0x4a9080,_0x65ad46=this[_0x5e5862(0x2f9)],_0x39fd42=_0x3c2ee0[_0x5e5862(0x2f9)],_0x31cde9=this[_0x5e5862(0x366)],_0x120098=_0x3c2ee0[_0x5e5862(0x366)];if(this[_0x5e5862(0x48f)](),_0x31cde9%0x4)for(var _0x58367d=0x0;_0x58367d<_0x120098;_0x58367d++){var _0x5249bf=_0x39fd42[_0x58367d>>>0x2]>>>0x18-_0x58367d%0x4*0x8&0xff;_0x65ad46[_0x31cde9+_0x58367d>>>0x2]|=_0x5249bf<<0x18-(_0x31cde9+_0x58367d)%0x4*0x8;}else{for(var _0x45451a=0x0;_0x45451a<_0x120098;_0x45451a+=0x4)_0x65ad46[_0x31cde9+_0x45451a>>>0x2]=_0x39fd42[_0x45451a>>>0x2];}return this[_0x5e5862(0x366)]+=_0x120098,this;},'clamp':function(){var _0x35aa64=_0x4a9080,_0x1d8ddb=this[_0x35aa64(0x2f9)],_0x24a2b0=this[_0x35aa64(0x366)];_0x1d8ddb[_0x24a2b0>>>0x2]&=0xffffffff<<0x20-_0x24a2b0%0x4*0x8,_0x1d8ddb[_0x35aa64(0x429)]=_0x1c969d['ceil'](_0x24a2b0/0x4);},'clone':function(){var _0x12f531=_0x4a9080,_0x116288=_0x4229cb[_0x12f531(0x301)][_0x12f531(0x4b7)](this);return _0x116288[_0x12f531(0x2f9)]=this[_0x12f531(0x2f9)]['slice'](0x0),_0x116288;},'random':function(_0x3c359f){var _0x17cdb0=_0x4a9080;for(var _0x1977bb=[],_0x319acf=0x0;_0x319acf<_0x3c359f;_0x319acf+=0x4)_0x1977bb[_0x17cdb0(0x28b)](_0xa4ec71());return new _0x485480[(_0x17cdb0(0x390))](_0x1977bb,_0x3c359f);}}),_0x3f2062=_0x44b444['enc']={},_0x206aaf=_0x3f2062[_0x4a9080(0x1fa)]={'stringify':function(_0x1bebdc){var _0x54a542=_0x4a9080;for(var _0x30729d=_0x1bebdc[_0x54a542(0x2f9)],_0x423263=_0x1bebdc['sigBytes'],_0x302bec=[],_0x13df3c=0x0;_0x13df3c<_0x423263;_0x13df3c++){var _0x599810=_0x30729d[_0x13df3c>>>0x2]>>>0x18-_0x13df3c%0x4*0x8&0xff;_0x302bec[_0x54a542(0x28b)]((_0x599810>>>0x4)[_0x54a542(0x216)](0x10)),_0x302bec[_0x54a542(0x28b)]((_0x599810&0xf)[_0x54a542(0x216)](0x10));}return _0x302bec[_0x54a542(0x4ef)]('');},'parse':function(_0x53a8cd){var _0x5b7e17=_0x4a9080;for(var _0x32335c=_0x53a8cd[_0x5b7e17(0x429)],_0x130b7a=[],_0x533bf9=0x0;_0x533bf9<_0x32335c;_0x533bf9+=0x2)_0x130b7a[_0x533bf9>>>0x3]|=parseInt(_0x53a8cd['substr'](_0x533bf9,0x2),0x10)<<0x18-_0x533bf9%0x8*0x4;return new _0x485480['init'](_0x130b7a,_0x32335c/0x2);}},_0x3720b4=_0x3f2062['Latin1']={'stringify':function(_0x599b15){var _0x16a133=_0x4a9080;for(var _0x36302e=_0x599b15[_0x16a133(0x2f9)],_0x20a11e=_0x599b15['sigBytes'],_0x4ab19b=[],_0x18e00a=0x0;_0x18e00a<_0x20a11e;_0x18e00a++){var _0x232469=_0x36302e[_0x18e00a>>>0x2]>>>0x18-_0x18e00a%0x4*0x8&0xff;_0x4ab19b[_0x16a133(0x28b)](String[_0x16a133(0x201)](_0x232469));}return _0x4ab19b[_0x16a133(0x4ef)]('');},'parse':function(_0x5a77ad){var _0x3b3e0d=_0x4a9080;for(var _0x557353=_0x5a77ad[_0x3b3e0d(0x429)],_0x307f9b=[],_0x1fc029=0x0;_0x1fc029<_0x557353;_0x1fc029++)_0x307f9b[_0x1fc029>>>0x2]|=(_0x5a77ad[_0x3b3e0d(0x4d9)](_0x1fc029)&0xff)<<0x18-_0x1fc029%0x4*0x8;return new _0x485480[(_0x3b3e0d(0x390))](_0x307f9b,_0x557353);}},_0x1cbccd=_0x3f2062[_0x4a9080(0x4a5)]={'stringify':function(_0x1bf14f){var _0x3c0d52=_0x4a9080;try{return decodeURIComponent(escape(_0x3720b4[_0x3c0d52(0x4a2)](_0x1bf14f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x25e961){return _0x3720b4['parse'](unescape(encodeURIComponent(_0x25e961)));}},_0x55d5bb=_0x17fec8[_0x4a9080(0x2d9)]=_0x4229cb[_0x4a9080(0x242)]({'reset':function(){var _0x1f3c6b=_0x4a9080;this[_0x1f3c6b(0x38f)]=new _0x485480[(_0x1f3c6b(0x390))](),this['_nDataBytes']=0x0;},'_append':function(_0x241a7a){var _0x41e72d=_0x4a9080;typeof _0x241a7a==_0x41e72d(0x20d)&&(_0x241a7a=_0x1cbccd[_0x41e72d(0x37a)](_0x241a7a)),this['_data'][_0x41e72d(0x410)](_0x241a7a),this[_0x41e72d(0x464)]+=_0x241a7a[_0x41e72d(0x366)];},'_process':function(_0x2d1780){var _0x497451=_0x4a9080,_0x5a1e82,_0xa29f36=this[_0x497451(0x38f)],_0x5b7801=_0xa29f36[_0x497451(0x2f9)],_0x2a72ce=_0xa29f36[_0x497451(0x366)],_0x3ff9ca=this['blockSize'],_0x50b06b=_0x3ff9ca*0x4,_0x40f4ad=_0x2a72ce/_0x50b06b;_0x2d1780?_0x40f4ad=_0x1c969d[_0x497451(0x4ac)](_0x40f4ad):_0x40f4ad=_0x1c969d[_0x497451(0x547)]((_0x40f4ad|0x0)-this[_0x497451(0x48b)],0x0);var _0x10e0e5=_0x40f4ad*_0x3ff9ca,_0x563f67=_0x1c969d['min'](_0x10e0e5*0x4,_0x2a72ce);if(_0x10e0e5){for(var _0x259a36=0x0;_0x259a36<_0x10e0e5;_0x259a36+=_0x3ff9ca)this['_doProcessBlock'](_0x5b7801,_0x259a36);_0x5a1e82=_0x5b7801[_0x497451(0x497)](0x0,_0x10e0e5),_0xa29f36[_0x497451(0x366)]-=_0x563f67;}return new _0x485480[(_0x497451(0x390))](_0x5a1e82,_0x563f67);},'clone':function(){var _0x342e3a=_0x4a9080,_0x570520=_0x4229cb[_0x342e3a(0x301)][_0x342e3a(0x4b7)](this);return _0x570520[_0x342e3a(0x38f)]=this[_0x342e3a(0x38f)]['clone'](),_0x570520;},'_minBufferSize':0x0});_0x17fec8[_0x4a9080(0x3b1)]=_0x55d5bb[_0x4a9080(0x242)]({'cfg':_0x4229cb[_0x4a9080(0x242)](),'init':function(_0xaf70f7){var _0x4d73f6=_0x4a9080;this[_0x4d73f6(0x54b)]=this[_0x4d73f6(0x54b)]['extend'](_0xaf70f7),this[_0x4d73f6(0x4d3)]();},'reset':function(){var _0x2a0747=_0x4a9080;_0x55d5bb[_0x2a0747(0x4d3)]['call'](this),this[_0x2a0747(0x40d)]();},'update':function(_0x194258){return this['_append'](_0x194258),this['_process'](),this;},'finalize':function(_0x4417ed){var _0x59d7e1=_0x4a9080;_0x4417ed&&this[_0x59d7e1(0x2e0)](_0x4417ed);var _0x4cc874=this[_0x59d7e1(0x22b)]();return _0x4cc874;},'blockSize':0x10,'_createHelper':function(_0x3cd514){return function(_0xc2212b,_0x2a5975){return new _0x3cd514['init'](_0x2a5975)['finalize'](_0xc2212b);};},'_createHmacHelper':function(_0x416075){return function(_0x3cf205,_0xb58b42){var _0x4f4bfa=_0x2d7e;return new _0x253609[(_0x4f4bfa(0x278))]['init'](_0x416075,_0xb58b42)['finalize'](_0x3cf205);};}});var _0x253609=_0x44b444[_0x4a9080(0x492)]={};return _0x44b444;}(Math);return _0x52dff9;}));}(_0x25d207)),_0x25d207[_0x4c3dca(0x4da)];}var _0x129ae9={'exports':{}},_0x260efe=_0x129ae9['exports'],_0x4515c1;function _0x5d3da0(){var _0x595059=_0x451c39;return _0x4515c1||(_0x4515c1=0x1,function(_0x7cdaff,_0x34f096){(function(_0x533cf5,_0x3ece16){var _0xa0d156=_0x2d7e;_0x7cdaff[_0xa0d156(0x4da)]=_0x3ece16(_0xd86a95());}(_0x260efe,function(_0x4937b2){var _0xd699fc=_0x2d7e;return(function(){var _0x4e9e13=_0x2d7e,_0x8e4bd=_0x4937b2,_0x100ee2=_0x8e4bd['lib'],_0xf35661=_0x100ee2[_0x4e9e13(0x52c)],_0x8b5bfe=_0x8e4bd[_0x4e9e13(0x35a)];_0x8b5bfe[_0x4e9e13(0x50f)]={'stringify':function(_0x56652d){var _0x2dacc0=_0x4e9e13,_0x419c6c=_0x56652d['words'],_0x1be365=_0x56652d[_0x2dacc0(0x366)],_0x468590=this[_0x2dacc0(0x460)];_0x56652d[_0x2dacc0(0x48f)]();for(var _0x31c0a5=[],_0x12c7e2=0x0;_0x12c7e2<_0x1be365;_0x12c7e2+=0x3)for(var _0x1a359c=_0x419c6c[_0x12c7e2>>>0x2]>>>0x18-_0x12c7e2%0x4*0x8&0xff,_0x2fdc8a=_0x419c6c[_0x12c7e2+0x1>>>0x2]>>>0x18-(_0x12c7e2+0x1)%0x4*0x8&0xff,_0x215675=_0x419c6c[_0x12c7e2+0x2>>>0x2]>>>0x18-(_0x12c7e2+0x2)%0x4*0x8&0xff,_0x551b5b=_0x1a359c<<0x10|_0x2fdc8a<<0x8|_0x215675,_0x1d2984=0x0;_0x1d2984<0x4&&_0x12c7e2+_0x1d2984*0.75<_0x1be365;_0x1d2984++)_0x31c0a5['push'](_0x468590[_0x2dacc0(0x43d)](_0x551b5b>>>0x6*(0x3-_0x1d2984)&0x3f));var _0x40f4de=_0x468590['charAt'](0x40);if(_0x40f4de){for(;_0x31c0a5[_0x2dacc0(0x429)]%0x4;)_0x31c0a5['push'](_0x40f4de);}return _0x31c0a5[_0x2dacc0(0x4ef)]('');},'parse':function(_0x3c0949){var _0x3b028e=_0x4e9e13,_0xb9f840=_0x3c0949['length'],_0x18fc17=this['_map'],_0x3f8bf6=this['_reverseMap'];if(!_0x3f8bf6){_0x3f8bf6=this[_0x3b028e(0x2ea)]=[];for(var _0x199ec0=0x0;_0x199ec0<_0x18fc17[_0x3b028e(0x429)];_0x199ec0++)_0x3f8bf6[_0x18fc17['charCodeAt'](_0x199ec0)]=_0x199ec0;}var _0x465e50=_0x18fc17[_0x3b028e(0x43d)](0x40);if(_0x465e50){var _0x5959a3=_0x3c0949[_0x3b028e(0x211)](_0x465e50);_0x5959a3!==-0x1&&(_0xb9f840=_0x5959a3);}return _0x39e905(_0x3c0949,_0xb9f840,_0x3f8bf6);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x39e905(_0x568d07,_0xcd62a5,_0x1b905e){var _0x121e2a=_0x4e9e13;for(var _0x208123=[],_0x437277=0x0,_0x1bd2ac=0x0;_0x1bd2ac<_0xcd62a5;_0x1bd2ac++)if(_0x1bd2ac%0x4){var _0x5985cc=_0x1b905e[_0x568d07['charCodeAt'](_0x1bd2ac-0x1)]<<_0x1bd2ac%0x4*0x2,_0x2fd6aa=_0x1b905e[_0x568d07[_0x121e2a(0x4d9)](_0x1bd2ac)]>>>0x6-_0x1bd2ac%0x4*0x2,_0x338f70=_0x5985cc|_0x2fd6aa;_0x208123[_0x437277>>>0x2]|=_0x338f70<<0x18-_0x437277%0x4*0x8,_0x437277++;}return _0xf35661[_0x121e2a(0x2a2)](_0x208123,_0x437277);}}()),_0x4937b2[_0xd699fc(0x35a)][_0xd699fc(0x50f)];}));}(_0x129ae9)),_0x129ae9[_0x595059(0x4da)];}var _0x462148={'exports':{}},_0x3738a9=_0x462148['exports'],_0x1aa1c8;function _0x1548cd(){return _0x1aa1c8||(_0x1aa1c8=0x1,function(_0x110783,_0x37ceba){(function(_0x3cbda6,_0x3fe246){var _0x548c25=_0x2d7e;_0x110783[_0x548c25(0x4da)]=_0x3fe246(_0xd86a95());}(_0x3738a9,function(_0x17fa06){var _0x242b8f=_0x2d7e;return function(_0x970b1e){var _0x103d7a=_0x2d7e,_0x34376d=_0x17fa06,_0x20fd14=_0x34376d['lib'],_0x52b1c2=_0x20fd14['WordArray'],_0x74b0b5=_0x20fd14[_0x103d7a(0x3b1)],_0x4d7177=_0x34376d[_0x103d7a(0x492)],_0xafc170=[];(function(){var _0x4418c6=_0x103d7a;for(var _0x4daf2c=0x0;_0x4daf2c<0x40;_0x4daf2c++)_0xafc170[_0x4daf2c]=_0x970b1e[_0x4418c6(0x2dc)](_0x970b1e[_0x4418c6(0x541)](_0x4daf2c+0x1))*0x100000000|0x0;}());var _0x3d84c0=_0x4d7177[_0x103d7a(0x430)]=_0x74b0b5['extend']({'_doReset':function(){this['_hash']=new _0x52b1c2['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4796db,_0x5b87f8){var _0x1debee=_0x103d7a;for(var _0x30b0af=0x0;_0x30b0af<0x10;_0x30b0af++){var _0x263c57=_0x5b87f8+_0x30b0af,_0x143aba=_0x4796db[_0x263c57];_0x4796db[_0x263c57]=(_0x143aba<<0x8|_0x143aba>>>0x18)&0xff00ff|(_0x143aba<<0x18|_0x143aba>>>0x8)&0xff00ff00;}var _0x3c8151=this[_0x1debee(0x501)][_0x1debee(0x2f9)],_0x47c104=_0x4796db[_0x5b87f8+0x0],_0x5238e7=_0x4796db[_0x5b87f8+0x1],_0x2a876e=_0x4796db[_0x5b87f8+0x2],_0x456406=_0x4796db[_0x5b87f8+0x3],_0x156ae5=_0x4796db[_0x5b87f8+0x4],_0x1ab146=_0x4796db[_0x5b87f8+0x5],_0x1fc228=_0x4796db[_0x5b87f8+0x6],_0x29223f=_0x4796db[_0x5b87f8+0x7],_0x458706=_0x4796db[_0x5b87f8+0x8],_0x26b4b3=_0x4796db[_0x5b87f8+0x9],_0x1f8f6e=_0x4796db[_0x5b87f8+0xa],_0x5d25be=_0x4796db[_0x5b87f8+0xb],_0x4c1d51=_0x4796db[_0x5b87f8+0xc],_0x50a965=_0x4796db[_0x5b87f8+0xd],_0x117ab3=_0x4796db[_0x5b87f8+0xe],_0x1d6735=_0x4796db[_0x5b87f8+0xf],_0x4d5a0c=_0x3c8151[0x0],_0x53d404=_0x3c8151[0x1],_0x3e7efc=_0x3c8151[0x2],_0xd69d65=_0x3c8151[0x3];_0x4d5a0c=_0x1269f3(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x47c104,0x7,_0xafc170[0x0]),_0xd69d65=_0x1269f3(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x5238e7,0xc,_0xafc170[0x1]),_0x3e7efc=_0x1269f3(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x2a876e,0x11,_0xafc170[0x2]),_0x53d404=_0x1269f3(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x456406,0x16,_0xafc170[0x3]),_0x4d5a0c=_0x1269f3(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x156ae5,0x7,_0xafc170[0x4]),_0xd69d65=_0x1269f3(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x1ab146,0xc,_0xafc170[0x5]),_0x3e7efc=_0x1269f3(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x1fc228,0x11,_0xafc170[0x6]),_0x53d404=_0x1269f3(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x29223f,0x16,_0xafc170[0x7]),_0x4d5a0c=_0x1269f3(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x458706,0x7,_0xafc170[0x8]),_0xd69d65=_0x1269f3(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x26b4b3,0xc,_0xafc170[0x9]),_0x3e7efc=_0x1269f3(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x1f8f6e,0x11,_0xafc170[0xa]),_0x53d404=_0x1269f3(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x5d25be,0x16,_0xafc170[0xb]),_0x4d5a0c=_0x1269f3(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x4c1d51,0x7,_0xafc170[0xc]),_0xd69d65=_0x1269f3(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x50a965,0xc,_0xafc170[0xd]),_0x3e7efc=_0x1269f3(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x117ab3,0x11,_0xafc170[0xe]),_0x53d404=_0x1269f3(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x1d6735,0x16,_0xafc170[0xf]),_0x4d5a0c=_0x3ce48e(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x5238e7,0x5,_0xafc170[0x10]),_0xd69d65=_0x3ce48e(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x1fc228,0x9,_0xafc170[0x11]),_0x3e7efc=_0x3ce48e(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x5d25be,0xe,_0xafc170[0x12]),_0x53d404=_0x3ce48e(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x47c104,0x14,_0xafc170[0x13]),_0x4d5a0c=_0x3ce48e(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x1ab146,0x5,_0xafc170[0x14]),_0xd69d65=_0x3ce48e(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x1f8f6e,0x9,_0xafc170[0x15]),_0x3e7efc=_0x3ce48e(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x1d6735,0xe,_0xafc170[0x16]),_0x53d404=_0x3ce48e(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x156ae5,0x14,_0xafc170[0x17]),_0x4d5a0c=_0x3ce48e(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x26b4b3,0x5,_0xafc170[0x18]),_0xd69d65=_0x3ce48e(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x117ab3,0x9,_0xafc170[0x19]),_0x3e7efc=_0x3ce48e(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x456406,0xe,_0xafc170[0x1a]),_0x53d404=_0x3ce48e(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x458706,0x14,_0xafc170[0x1b]),_0x4d5a0c=_0x3ce48e(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x50a965,0x5,_0xafc170[0x1c]),_0xd69d65=_0x3ce48e(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x2a876e,0x9,_0xafc170[0x1d]),_0x3e7efc=_0x3ce48e(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x29223f,0xe,_0xafc170[0x1e]),_0x53d404=_0x3ce48e(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x4c1d51,0x14,_0xafc170[0x1f]),_0x4d5a0c=_0x32ce10(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x1ab146,0x4,_0xafc170[0x20]),_0xd69d65=_0x32ce10(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x458706,0xb,_0xafc170[0x21]),_0x3e7efc=_0x32ce10(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x5d25be,0x10,_0xafc170[0x22]),_0x53d404=_0x32ce10(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x117ab3,0x17,_0xafc170[0x23]),_0x4d5a0c=_0x32ce10(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x5238e7,0x4,_0xafc170[0x24]),_0xd69d65=_0x32ce10(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x156ae5,0xb,_0xafc170[0x25]),_0x3e7efc=_0x32ce10(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x29223f,0x10,_0xafc170[0x26]),_0x53d404=_0x32ce10(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x1f8f6e,0x17,_0xafc170[0x27]),_0x4d5a0c=_0x32ce10(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x50a965,0x4,_0xafc170[0x28]),_0xd69d65=_0x32ce10(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x47c104,0xb,_0xafc170[0x29]),_0x3e7efc=_0x32ce10(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x456406,0x10,_0xafc170[0x2a]),_0x53d404=_0x32ce10(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x1fc228,0x17,_0xafc170[0x2b]),_0x4d5a0c=_0x32ce10(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x26b4b3,0x4,_0xafc170[0x2c]),_0xd69d65=_0x32ce10(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x4c1d51,0xb,_0xafc170[0x2d]),_0x3e7efc=_0x32ce10(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x1d6735,0x10,_0xafc170[0x2e]),_0x53d404=_0x32ce10(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x2a876e,0x17,_0xafc170[0x2f]),_0x4d5a0c=_0x740c69(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x47c104,0x6,_0xafc170[0x30]),_0xd69d65=_0x740c69(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x29223f,0xa,_0xafc170[0x31]),_0x3e7efc=_0x740c69(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x117ab3,0xf,_0xafc170[0x32]),_0x53d404=_0x740c69(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x1ab146,0x15,_0xafc170[0x33]),_0x4d5a0c=_0x740c69(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x4c1d51,0x6,_0xafc170[0x34]),_0xd69d65=_0x740c69(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x456406,0xa,_0xafc170[0x35]),_0x3e7efc=_0x740c69(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x1f8f6e,0xf,_0xafc170[0x36]),_0x53d404=_0x740c69(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x5238e7,0x15,_0xafc170[0x37]),_0x4d5a0c=_0x740c69(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x458706,0x6,_0xafc170[0x38]),_0xd69d65=_0x740c69(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x1d6735,0xa,_0xafc170[0x39]),_0x3e7efc=_0x740c69(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x1fc228,0xf,_0xafc170[0x3a]),_0x53d404=_0x740c69(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x50a965,0x15,_0xafc170[0x3b]),_0x4d5a0c=_0x740c69(_0x4d5a0c,_0x53d404,_0x3e7efc,_0xd69d65,_0x156ae5,0x6,_0xafc170[0x3c]),_0xd69d65=_0x740c69(_0xd69d65,_0x4d5a0c,_0x53d404,_0x3e7efc,_0x5d25be,0xa,_0xafc170[0x3d]),_0x3e7efc=_0x740c69(_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x53d404,_0x2a876e,0xf,_0xafc170[0x3e]),_0x53d404=_0x740c69(_0x53d404,_0x3e7efc,_0xd69d65,_0x4d5a0c,_0x26b4b3,0x15,_0xafc170[0x3f]),_0x3c8151[0x0]=_0x3c8151[0x0]+_0x4d5a0c|0x0,_0x3c8151[0x1]=_0x3c8151[0x1]+_0x53d404|0x0,_0x3c8151[0x2]=_0x3c8151[0x2]+_0x3e7efc|0x0,_0x3c8151[0x3]=_0x3c8151[0x3]+_0xd69d65|0x0;},'_doFinalize':function(){var _0x264aaf=_0x103d7a,_0x483160=this[_0x264aaf(0x38f)],_0x5d6029=_0x483160[_0x264aaf(0x2f9)],_0x140f30=this[_0x264aaf(0x464)]*0x8,_0x154f9b=_0x483160[_0x264aaf(0x366)]*0x8;_0x5d6029[_0x154f9b>>>0x5]|=0x80<<0x18-_0x154f9b%0x20;var _0x4c45aa=_0x970b1e[_0x264aaf(0x49d)](_0x140f30/0x100000000),_0x5f39f7=_0x140f30;_0x5d6029[(_0x154f9b+0x40>>>0x9<<0x4)+0xf]=(_0x4c45aa<<0x8|_0x4c45aa>>>0x18)&0xff00ff|(_0x4c45aa<<0x18|_0x4c45aa>>>0x8)&0xff00ff00,_0x5d6029[(_0x154f9b+0x40>>>0x9<<0x4)+0xe]=(_0x5f39f7<<0x8|_0x5f39f7>>>0x18)&0xff00ff|(_0x5f39f7<<0x18|_0x5f39f7>>>0x8)&0xff00ff00,_0x483160[_0x264aaf(0x366)]=(_0x5d6029['length']+0x1)*0x4,this[_0x264aaf(0x3a6)]();for(var _0x5ed254=this[_0x264aaf(0x501)],_0x185392=_0x5ed254[_0x264aaf(0x2f9)],_0x13dd56=0x0;_0x13dd56<0x4;_0x13dd56++){var _0x1c5e16=_0x185392[_0x13dd56];_0x185392[_0x13dd56]=(_0x1c5e16<<0x8|_0x1c5e16>>>0x18)&0xff00ff|(_0x1c5e16<<0x18|_0x1c5e16>>>0x8)&0xff00ff00;}return _0x5ed254;},'clone':function(){var _0x1d413d=_0x103d7a,_0x4152bc=_0x74b0b5[_0x1d413d(0x301)][_0x1d413d(0x4b7)](this);return _0x4152bc[_0x1d413d(0x501)]=this[_0x1d413d(0x501)][_0x1d413d(0x301)](),_0x4152bc;}});function _0x1269f3(_0x2e988b,_0x1320e0,_0x3e6cb8,_0x5a808f,_0x3553d3,_0x394f6,_0x4f4f0f){var _0x497d6b=_0x2e988b+(_0x1320e0&_0x3e6cb8|~_0x1320e0&_0x5a808f)+_0x3553d3+_0x4f4f0f;return(_0x497d6b<<_0x394f6|_0x497d6b>>>0x20-_0x394f6)+_0x1320e0;}function _0x3ce48e(_0x56df97,_0x197f22,_0x3ce008,_0x3ba455,_0x53e2a5,_0x6740aa,_0x35e959){var _0x441bec=_0x56df97+(_0x197f22&_0x3ba455|_0x3ce008&~_0x3ba455)+_0x53e2a5+_0x35e959;return(_0x441bec<<_0x6740aa|_0x441bec>>>0x20-_0x6740aa)+_0x197f22;}function _0x32ce10(_0x4b70c3,_0x21e9db,_0x29e4b8,_0x1cc623,_0x45e66b,_0xf69b90,_0x325c7f){var _0x50ebea=_0x4b70c3+(_0x21e9db^_0x29e4b8^_0x1cc623)+_0x45e66b+_0x325c7f;return(_0x50ebea<<_0xf69b90|_0x50ebea>>>0x20-_0xf69b90)+_0x21e9db;}function _0x740c69(_0x28ca11,_0x35591a,_0x59ed7a,_0x502ee1,_0x2a7cb7,_0x557932,_0x596811){var _0xd4dc18=_0x28ca11+(_0x59ed7a^(_0x35591a|~_0x502ee1))+_0x2a7cb7+_0x596811;return(_0xd4dc18<<_0x557932|_0xd4dc18>>>0x20-_0x557932)+_0x35591a;}_0x34376d[_0x103d7a(0x430)]=_0x74b0b5[_0x103d7a(0x51a)](_0x3d84c0),_0x34376d[_0x103d7a(0x515)]=_0x74b0b5[_0x103d7a(0x322)](_0x3d84c0);}(Math),_0x17fa06[_0x242b8f(0x430)];}));}(_0x462148)),_0x462148['exports'];}var _0x2ce141={'exports':{}},_0x8561f9={'exports':{}},_0x1ac253=_0x8561f9['exports'],_0x2e0cef;function _0x4ef5e4(){var _0x1678da=_0x451c39;return _0x2e0cef||(_0x2e0cef=0x1,function(_0x55ab3c,_0x23785d){(function(_0x19960c,_0x20ea2b){var _0x31f06c=_0x2d7e;_0x55ab3c[_0x31f06c(0x4da)]=_0x20ea2b(_0xd86a95());}(_0x1ac253,function(_0x50cfe3){return(function(){var _0x1e10ad=_0x2d7e,_0x51308e=_0x50cfe3,_0x4052d7=_0x51308e[_0x1e10ad(0x28a)],_0x351fa9=_0x4052d7[_0x1e10ad(0x52c)],_0x6fddf8=_0x4052d7[_0x1e10ad(0x3b1)],_0x5cf348=_0x51308e['algo'],_0x28b80e=[],_0x439660=_0x5cf348['SHA1']=_0x6fddf8[_0x1e10ad(0x242)]({'_doReset':function(){var _0xdd92c6=_0x1e10ad;this[_0xdd92c6(0x501)]=new _0x351fa9[(_0xdd92c6(0x390))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x594a35,_0x59cbea){var _0xc966c2=_0x1e10ad;for(var _0x111c51=this[_0xc966c2(0x501)][_0xc966c2(0x2f9)],_0x2644d2=_0x111c51[0x0],_0x5d602b=_0x111c51[0x1],_0x4b1900=_0x111c51[0x2],_0x5c1947=_0x111c51[0x3],_0x2a9786=_0x111c51[0x4],_0x5a38b0=0x0;_0x5a38b0<0x50;_0x5a38b0++){if(_0x5a38b0<0x10)_0x28b80e[_0x5a38b0]=_0x594a35[_0x59cbea+_0x5a38b0]|0x0;else{var _0x5db032=_0x28b80e[_0x5a38b0-0x3]^_0x28b80e[_0x5a38b0-0x8]^_0x28b80e[_0x5a38b0-0xe]^_0x28b80e[_0x5a38b0-0x10];_0x28b80e[_0x5a38b0]=_0x5db032<<0x1|_0x5db032>>>0x1f;}var _0x82f32d=(_0x2644d2<<0x5|_0x2644d2>>>0x1b)+_0x2a9786+_0x28b80e[_0x5a38b0];_0x5a38b0<0x14?_0x82f32d+=(_0x5d602b&_0x4b1900|~_0x5d602b&_0x5c1947)+0x5a827999:_0x5a38b0<0x28?_0x82f32d+=(_0x5d602b^_0x4b1900^_0x5c1947)+0x6ed9eba1:_0x5a38b0<0x3c?_0x82f32d+=(_0x5d602b&_0x4b1900|_0x5d602b&_0x5c1947|_0x4b1900&_0x5c1947)-0x70e44324:_0x82f32d+=(_0x5d602b^_0x4b1900^_0x5c1947)-0x359d3e2a,_0x2a9786=_0x5c1947,_0x5c1947=_0x4b1900,_0x4b1900=_0x5d602b<<0x1e|_0x5d602b>>>0x2,_0x5d602b=_0x2644d2,_0x2644d2=_0x82f32d;}_0x111c51[0x0]=_0x111c51[0x0]+_0x2644d2|0x0,_0x111c51[0x1]=_0x111c51[0x1]+_0x5d602b|0x0,_0x111c51[0x2]=_0x111c51[0x2]+_0x4b1900|0x0,_0x111c51[0x3]=_0x111c51[0x3]+_0x5c1947|0x0,_0x111c51[0x4]=_0x111c51[0x4]+_0x2a9786|0x0;},'_doFinalize':function(){var _0x20b68e=_0x1e10ad,_0x47040a=this[_0x20b68e(0x38f)],_0x2d5823=_0x47040a[_0x20b68e(0x2f9)],_0x5af5cd=this[_0x20b68e(0x464)]*0x8,_0x42c859=_0x47040a[_0x20b68e(0x366)]*0x8;return _0x2d5823[_0x42c859>>>0x5]|=0x80<<0x18-_0x42c859%0x20,_0x2d5823[(_0x42c859+0x40>>>0x9<<0x4)+0xe]=Math[_0x20b68e(0x49d)](_0x5af5cd/0x100000000),_0x2d5823[(_0x42c859+0x40>>>0x9<<0x4)+0xf]=_0x5af5cd,_0x47040a[_0x20b68e(0x366)]=_0x2d5823[_0x20b68e(0x429)]*0x4,this[_0x20b68e(0x3a6)](),this[_0x20b68e(0x501)];},'clone':function(){var _0x4d2086=_0x1e10ad,_0x104f3d=_0x6fddf8[_0x4d2086(0x301)][_0x4d2086(0x4b7)](this);return _0x104f3d[_0x4d2086(0x501)]=this[_0x4d2086(0x501)][_0x4d2086(0x301)](),_0x104f3d;}});_0x51308e[_0x1e10ad(0x2d8)]=_0x6fddf8['_createHelper'](_0x439660),_0x51308e[_0x1e10ad(0x51f)]=_0x6fddf8[_0x1e10ad(0x322)](_0x439660);}()),_0x50cfe3['SHA1'];}));}(_0x8561f9)),_0x8561f9[_0x1678da(0x4da)];}var _0x1f5c2c={'exports':{}},_0x2002b9=_0x1f5c2c[_0x451c39(0x4da)],_0x152e99;function _0x23d8b5(){var _0x437880=_0x451c39;return _0x152e99||(_0x152e99=0x1,function(_0x176522,_0x2462d4){(function(_0x531229,_0x23bed3){var _0xa0acd7=_0x2d7e;_0x176522[_0xa0acd7(0x4da)]=_0x23bed3(_0xd86a95());}(_0x2002b9,function(_0x460e54){(function(){var _0x4152f3=_0x2d7e,_0x1930cc=_0x460e54,_0x5dde87=_0x1930cc[_0x4152f3(0x28a)],_0x117b1b=_0x5dde87[_0x4152f3(0x373)],_0xa89084=_0x1930cc['enc'],_0x53e2b5=_0xa89084[_0x4152f3(0x4a5)],_0x1ec0f4=_0x1930cc[_0x4152f3(0x492)];_0x1ec0f4[_0x4152f3(0x278)]=_0x117b1b[_0x4152f3(0x242)]({'init':function(_0x4c3e09,_0x37093b){var _0x29481c=_0x4152f3;_0x4c3e09=this['_hasher']=new _0x4c3e09['init'](),typeof _0x37093b==_0x29481c(0x20d)&&(_0x37093b=_0x53e2b5[_0x29481c(0x37a)](_0x37093b));var _0x49226a=_0x4c3e09[_0x29481c(0x4ee)],_0x8baebd=_0x49226a*0x4;_0x37093b[_0x29481c(0x366)]>_0x8baebd&&(_0x37093b=_0x4c3e09[_0x29481c(0x1e0)](_0x37093b)),_0x37093b[_0x29481c(0x48f)]();for(var _0x40765c=this[_0x29481c(0x401)]=_0x37093b['clone'](),_0x3c4e02=this[_0x29481c(0x270)]=_0x37093b[_0x29481c(0x301)](),_0x4a4c68=_0x40765c[_0x29481c(0x2f9)],_0x3755bb=_0x3c4e02[_0x29481c(0x2f9)],_0x2c387b=0x0;_0x2c387b<_0x49226a;_0x2c387b++)_0x4a4c68[_0x2c387b]^=0x5c5c5c5c,_0x3755bb[_0x2c387b]^=0x36363636;_0x40765c[_0x29481c(0x366)]=_0x3c4e02[_0x29481c(0x366)]=_0x8baebd,this['reset']();},'reset':function(){var _0x2b8e83=_0x4152f3,_0x5b97b9=this[_0x2b8e83(0x3e8)];_0x5b97b9[_0x2b8e83(0x4d3)](),_0x5b97b9[_0x2b8e83(0x51d)](this[_0x2b8e83(0x270)]);},'update':function(_0x9fc1c){var _0x536c58=_0x4152f3;return this['_hasher'][_0x536c58(0x51d)](_0x9fc1c),this;},'finalize':function(_0x39433c){var _0x4d5cc2=_0x4152f3,_0x47c750=this['_hasher'],_0x52dbc6=_0x47c750['finalize'](_0x39433c);_0x47c750[_0x4d5cc2(0x4d3)]();var _0x43ca18=_0x47c750[_0x4d5cc2(0x1e0)](this[_0x4d5cc2(0x401)][_0x4d5cc2(0x301)]()['concat'](_0x52dbc6));return _0x43ca18;}});}());}));}(_0x1f5c2c)),_0x1f5c2c[_0x437880(0x4da)];}var _0x500ee7=_0x2ce141[_0x451c39(0x4da)],_0x55777c;function _0x41bf26(){var _0x3f8941=_0x451c39;return _0x55777c||(_0x55777c=0x1,function(_0x331948,_0x245a16){(function(_0x1f636d,_0x23fef5,_0xcac690){_0x331948['exports']=_0x23fef5(_0xd86a95(),_0x4ef5e4(),_0x23d8b5());}(_0x500ee7,function(_0x2f7994){var _0x2129ca=_0x2d7e;return(function(){var _0x41505f=_0x2d7e,_0x509f4f=_0x2f7994,_0x1fff32=_0x509f4f[_0x41505f(0x28a)],_0x5f5dd2=_0x1fff32[_0x41505f(0x373)],_0x31a2db=_0x1fff32[_0x41505f(0x52c)],_0x58a0d5=_0x509f4f[_0x41505f(0x492)],_0x4e3d68=_0x58a0d5['MD5'],_0x5ac5a8=_0x58a0d5['EvpKDF']=_0x5f5dd2[_0x41505f(0x242)]({'cfg':_0x5f5dd2[_0x41505f(0x242)]({'keySize':0x80/0x20,'hasher':_0x4e3d68,'iterations':0x1}),'init':function(_0x5c5d8b){var _0x10f017=_0x41505f;this[_0x10f017(0x54b)]=this[_0x10f017(0x54b)][_0x10f017(0x242)](_0x5c5d8b);},'compute':function(_0x2e33b5,_0x1c8cb5){var _0x3fe96a=_0x41505f;for(var _0x499fbc,_0x107495=this[_0x3fe96a(0x54b)],_0x11f76a=_0x107495[_0x3fe96a(0x23d)][_0x3fe96a(0x2a2)](),_0x1da36e=_0x31a2db[_0x3fe96a(0x2a2)](),_0x37bc63=_0x1da36e[_0x3fe96a(0x2f9)],_0x30caaf=_0x107495[_0x3fe96a(0x53e)],_0x4695e=_0x107495[_0x3fe96a(0x2df)];_0x37bc63['length']<_0x30caaf;){_0x499fbc&&_0x11f76a['update'](_0x499fbc),_0x499fbc=_0x11f76a[_0x3fe96a(0x51d)](_0x2e33b5)[_0x3fe96a(0x1e0)](_0x1c8cb5),_0x11f76a['reset']();for(var _0x52eb88=0x1;_0x52eb88<_0x4695e;_0x52eb88++)_0x499fbc=_0x11f76a[_0x3fe96a(0x1e0)](_0x499fbc),_0x11f76a['reset']();_0x1da36e[_0x3fe96a(0x410)](_0x499fbc);}return _0x1da36e['sigBytes']=_0x30caaf*0x4,_0x1da36e;}});_0x509f4f[_0x41505f(0x311)]=function(_0x3f3516,_0x238d11,_0x13d896){var _0x383f50=_0x41505f;return _0x5ac5a8[_0x383f50(0x2a2)](_0x13d896)[_0x383f50(0x25b)](_0x3f3516,_0x238d11);};}()),_0x2f7994[_0x2129ca(0x311)];}));}(_0x2ce141)),_0x2ce141[_0x3f8941(0x4da)];}var _0x4b7f81={'exports':{}},_0x5f2c9d=_0x4b7f81[_0x451c39(0x4da)],_0x1806f0;function _0x5d42b5(){var _0x14c57b=_0x451c39;return _0x1806f0||(_0x1806f0=0x1,function(_0x587904,_0x287b69){(function(_0xa353ab,_0x555f10,_0x43acb9){var _0x1ef16f=_0x2d7e;_0x587904[_0x1ef16f(0x4da)]=_0x555f10(_0xd86a95(),_0x41bf26());}(_0x5f2c9d,function(_0x5c1479){var _0x2c350f=_0x2d7e;_0x5c1479[_0x2c350f(0x28a)]['Cipher']||function(_0x459214){var _0x4a0381=_0x2c350f,_0x4fb047=_0x5c1479,_0x137db0=_0x4fb047[_0x4a0381(0x28a)],_0x267f01=_0x137db0[_0x4a0381(0x373)],_0x279810=_0x137db0[_0x4a0381(0x52c)],_0x43284d=_0x137db0[_0x4a0381(0x2d9)],_0x27bbb1=_0x4fb047[_0x4a0381(0x35a)];_0x27bbb1[_0x4a0381(0x4a5)];var _0x129481=_0x27bbb1[_0x4a0381(0x50f)],_0x1d8a66=_0x4fb047[_0x4a0381(0x492)],_0x195065=_0x1d8a66[_0x4a0381(0x311)],_0x339ea7=_0x137db0['Cipher']=_0x43284d[_0x4a0381(0x242)]({'cfg':_0x267f01['extend'](),'createEncryptor':function(_0x227e19,_0x255a92){var _0x190a3c=_0x4a0381;return this[_0x190a3c(0x2a2)](this[_0x190a3c(0x434)],_0x227e19,_0x255a92);},'createDecryptor':function(_0x3999a3,_0x160c3f){var _0x27ee41=_0x4a0381;return this[_0x27ee41(0x2a2)](this[_0x27ee41(0x3c8)],_0x3999a3,_0x160c3f);},'init':function(_0x1cfcbf,_0x4ea076,_0x530659){var _0x299423=_0x4a0381;this['cfg']=this[_0x299423(0x54b)][_0x299423(0x242)](_0x530659),this[_0x299423(0x4bc)]=_0x1cfcbf,this[_0x299423(0x2d0)]=_0x4ea076,this[_0x299423(0x4d3)]();},'reset':function(){var _0xc91878=_0x4a0381;_0x43284d['reset'][_0xc91878(0x4b7)](this),this[_0xc91878(0x40d)]();},'process':function(_0x5bc15a){var _0x5c955a=_0x4a0381;return this[_0x5c955a(0x2e0)](_0x5bc15a),this['_process']();},'finalize':function(_0x1756b9){var _0x397220=_0x4a0381;_0x1756b9&&this[_0x397220(0x2e0)](_0x1756b9);var _0x5bd937=this[_0x397220(0x22b)]();return _0x5bd937;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4d5efe(_0x522c5b){return typeof _0x522c5b=='string'?_0x2b62ef:_0x24ddf6;}return function(_0x1531a4){return{'encrypt':function(_0x169152,_0x346c44,_0x2be92c){var _0x597556=_0x2d7e;return _0x4d5efe(_0x346c44)[_0x597556(0x496)](_0x1531a4,_0x169152,_0x346c44,_0x2be92c);},'decrypt':function(_0x360b85,_0x6faed9,_0x3689d0){var _0x1afe80=_0x2d7e;return _0x4d5efe(_0x6faed9)[_0x1afe80(0x41d)](_0x1531a4,_0x360b85,_0x6faed9,_0x3689d0);}};};}())});_0x137db0[_0x4a0381(0x485)]=_0x339ea7[_0x4a0381(0x242)]({'_doFinalize':function(){var _0x5b9f4c=this['_process'](!0x0);return _0x5b9f4c;},'blockSize':0x1});var _0x514584=_0x4fb047[_0x4a0381(0x446)]={},_0x5136c0=_0x137db0[_0x4a0381(0x249)]=_0x267f01[_0x4a0381(0x242)]({'createEncryptor':function(_0x419182,_0x37b79d){var _0x25956f=_0x4a0381;return this['Encryptor'][_0x25956f(0x2a2)](_0x419182,_0x37b79d);},'createDecryptor':function(_0x134b8d,_0x168705){var _0x5297f0=_0x4a0381;return this[_0x5297f0(0x375)]['create'](_0x134b8d,_0x168705);},'init':function(_0x1218d8,_0x8e74c4){var _0x295b17=_0x4a0381;this['_cipher']=_0x1218d8,this[_0x295b17(0x400)]=_0x8e74c4;}}),_0x24573d=_0x514584[_0x4a0381(0x474)]=(function(){var _0x470c83=_0x4a0381,_0x17c1e5=_0x5136c0[_0x470c83(0x242)]();_0x17c1e5[_0x470c83(0x3c5)]=_0x17c1e5[_0x470c83(0x242)]({'processBlock':function(_0x5da8e6,_0x2ebb10){var _0x133f4a=_0x470c83,_0x165b79=this[_0x133f4a(0x343)],_0x11bec8=_0x165b79[_0x133f4a(0x4ee)];_0x3a7414[_0x133f4a(0x4b7)](this,_0x5da8e6,_0x2ebb10,_0x11bec8),_0x165b79[_0x133f4a(0x3e7)](_0x5da8e6,_0x2ebb10),this['_prevBlock']=_0x5da8e6['slice'](_0x2ebb10,_0x2ebb10+_0x11bec8);}}),_0x17c1e5[_0x470c83(0x375)]=_0x17c1e5['extend']({'processBlock':function(_0x2225bf,_0x4ed113){var _0x2e01d5=_0x470c83,_0x3dfe5e=this[_0x2e01d5(0x343)],_0x3cb9f6=_0x3dfe5e[_0x2e01d5(0x4ee)],_0x27b36d=_0x2225bf[_0x2e01d5(0x3ff)](_0x4ed113,_0x4ed113+_0x3cb9f6);_0x3dfe5e[_0x2e01d5(0x1ed)](_0x2225bf,_0x4ed113),_0x3a7414['call'](this,_0x2225bf,_0x4ed113,_0x3cb9f6),this[_0x2e01d5(0x2ac)]=_0x27b36d;}});function _0x3a7414(_0x2b8bb8,_0x370d92,_0x227b0c){var _0x54bc31,_0x23f174=this['_iv'];_0x23f174?(_0x54bc31=_0x23f174,this['_iv']=_0x459214):_0x54bc31=this['_prevBlock'];for(var _0x736a0f=0x0;_0x736a0f<_0x227b0c;_0x736a0f++)_0x2b8bb8[_0x370d92+_0x736a0f]^=_0x54bc31[_0x736a0f];}return _0x17c1e5;}()),_0x639359=_0x4fb047[_0x4a0381(0x2fa)]={},_0x2fe220=_0x639359['Pkcs7']={'pad':function(_0x13c9d3,_0x30253c){var _0x225c68=_0x4a0381;for(var _0x1a745b=_0x30253c*0x4,_0x48dda9=_0x1a745b-_0x13c9d3[_0x225c68(0x366)]%_0x1a745b,_0x391532=_0x48dda9<<0x18|_0x48dda9<<0x10|_0x48dda9<<0x8|_0x48dda9,_0x1b459b=[],_0x123c45=0x0;_0x123c45<_0x48dda9;_0x123c45+=0x4)_0x1b459b[_0x225c68(0x28b)](_0x391532);var _0x153cbd=_0x279810[_0x225c68(0x2a2)](_0x1b459b,_0x48dda9);_0x13c9d3['concat'](_0x153cbd);},'unpad':function(_0x4652c3){var _0x20bd79=_0x4a0381,_0x55d742=_0x4652c3['words'][_0x4652c3[_0x20bd79(0x366)]-0x1>>>0x2]&0xff;_0x4652c3[_0x20bd79(0x366)]-=_0x55d742;}};_0x137db0[_0x4a0381(0x51e)]=_0x339ea7[_0x4a0381(0x242)]({'cfg':_0x339ea7['cfg'][_0x4a0381(0x242)]({'mode':_0x24573d,'padding':_0x2fe220}),'reset':function(){var _0x3bd722=_0x4a0381,_0x10c3e6;_0x339ea7[_0x3bd722(0x4d3)][_0x3bd722(0x4b7)](this);var _0x5476c0=this['cfg'],_0x1258ce=_0x5476c0['iv'],_0x58826e=_0x5476c0[_0x3bd722(0x446)];this[_0x3bd722(0x4bc)]==this[_0x3bd722(0x434)]?_0x10c3e6=_0x58826e[_0x3bd722(0x454)]:(_0x10c3e6=_0x58826e[_0x3bd722(0x4c5)],this[_0x3bd722(0x48b)]=0x1),this[_0x3bd722(0x428)]&&this[_0x3bd722(0x428)][_0x3bd722(0x2bb)]==_0x10c3e6?this[_0x3bd722(0x428)][_0x3bd722(0x390)](this,_0x1258ce&&_0x1258ce[_0x3bd722(0x2f9)]):(this['_mode']=_0x10c3e6[_0x3bd722(0x4b7)](_0x58826e,this,_0x1258ce&&_0x1258ce[_0x3bd722(0x2f9)]),this[_0x3bd722(0x428)][_0x3bd722(0x2bb)]=_0x10c3e6);},'_doProcessBlock':function(_0xc60b4b,_0x3e3ef3){var _0x11bf22=_0x4a0381;this[_0x11bf22(0x428)]['processBlock'](_0xc60b4b,_0x3e3ef3);},'_doFinalize':function(){var _0x13802e=_0x4a0381,_0x233dcc,_0x54a8cf=this[_0x13802e(0x54b)]['padding'];return this[_0x13802e(0x4bc)]==this[_0x13802e(0x434)]?(_0x54a8cf[_0x13802e(0x2fa)](this[_0x13802e(0x38f)],this['blockSize']),_0x233dcc=this[_0x13802e(0x3a6)](!0x0)):(_0x233dcc=this['_process'](!0x0),_0x54a8cf[_0x13802e(0x3a4)](_0x233dcc)),_0x233dcc;},'blockSize':0x80/0x20});var _0x513e49=_0x137db0['CipherParams']=_0x267f01[_0x4a0381(0x242)]({'init':function(_0x4c6b7a){var _0x2cba15=_0x4a0381;this[_0x2cba15(0x208)](_0x4c6b7a);},'toString':function(_0x2d2a66){var _0x37ce2a=_0x4a0381;return(_0x2d2a66||this[_0x37ce2a(0x363)])[_0x37ce2a(0x4a2)](this);}}),_0x277dad=_0x4fb047['format']={},_0x3ed8d7=_0x277dad[_0x4a0381(0x2e7)]={'stringify':function(_0x53e2cc){var _0x19b9e2=_0x4a0381,_0x425856,_0x3dc386=_0x53e2cc[_0x19b9e2(0x405)],_0x87e715=_0x53e2cc[_0x19b9e2(0x297)];return _0x87e715?_0x425856=_0x279810[_0x19b9e2(0x2a2)]([0x53616c74,0x65645f5f])[_0x19b9e2(0x410)](_0x87e715)[_0x19b9e2(0x410)](_0x3dc386):_0x425856=_0x3dc386,_0x425856[_0x19b9e2(0x216)](_0x129481);},'parse':function(_0x3bef41){var _0x4fc22f=_0x4a0381,_0x1b8329,_0x1ec222=_0x129481[_0x4fc22f(0x37a)](_0x3bef41),_0x43c377=_0x1ec222[_0x4fc22f(0x2f9)];return _0x43c377[0x0]==0x53616c74&&_0x43c377[0x1]==0x65645f5f&&(_0x1b8329=_0x279810[_0x4fc22f(0x2a2)](_0x43c377[_0x4fc22f(0x3ff)](0x2,0x4)),_0x43c377[_0x4fc22f(0x497)](0x0,0x4),_0x1ec222['sigBytes']-=0x10),_0x513e49[_0x4fc22f(0x2a2)]({'ciphertext':_0x1ec222,'salt':_0x1b8329});}},_0x24ddf6=_0x137db0[_0x4a0381(0x356)]=_0x267f01[_0x4a0381(0x242)]({'cfg':_0x267f01['extend']({'format':_0x3ed8d7}),'encrypt':function(_0xd1ab72,_0x36bfc9,_0x55411a,_0x4908c5){var _0x6c9a59=_0x4a0381;_0x4908c5=this['cfg']['extend'](_0x4908c5);var _0x7e0d03=_0xd1ab72[_0x6c9a59(0x454)](_0x55411a,_0x4908c5),_0x2759fa=_0x7e0d03['finalize'](_0x36bfc9),_0x4c02e1=_0x7e0d03['cfg'];return _0x513e49[_0x6c9a59(0x2a2)]({'ciphertext':_0x2759fa,'key':_0x55411a,'iv':_0x4c02e1['iv'],'algorithm':_0xd1ab72,'mode':_0x4c02e1[_0x6c9a59(0x446)],'padding':_0x4c02e1[_0x6c9a59(0x268)],'blockSize':_0xd1ab72['blockSize'],'formatter':_0x4908c5[_0x6c9a59(0x206)]});},'decrypt':function(_0x50f0ba,_0x3d3a2c,_0x4afbef,_0x287022){var _0x70e50b=_0x4a0381;_0x287022=this['cfg'][_0x70e50b(0x242)](_0x287022),_0x3d3a2c=this[_0x70e50b(0x248)](_0x3d3a2c,_0x287022[_0x70e50b(0x206)]);var _0x1ab4bd=_0x50f0ba['createDecryptor'](_0x4afbef,_0x287022)[_0x70e50b(0x1e0)](_0x3d3a2c[_0x70e50b(0x405)]);return _0x1ab4bd;},'_parse':function(_0x38c339,_0x2a580d){var _0x2135cb=_0x4a0381;return typeof _0x38c339==_0x2135cb(0x20d)?_0x2a580d['parse'](_0x38c339,this):_0x38c339;}}),_0x41c584=_0x4fb047[_0x4a0381(0x52a)]={},_0xb8779=_0x41c584[_0x4a0381(0x2e7)]={'execute':function(_0x3de3b6,_0x1abf6d,_0x22f148,_0x3baf7c,_0x15cdfd){var _0xcd13d2=_0x4a0381;if(_0x3baf7c||(_0x3baf7c=_0x279810[_0xcd13d2(0x2a5)](0x40/0x8)),_0x15cdfd)var _0x23f656=_0x195065[_0xcd13d2(0x2a2)]({'keySize':_0x1abf6d+_0x22f148,'hasher':_0x15cdfd})['compute'](_0x3de3b6,_0x3baf7c);else var _0x23f656=_0x195065[_0xcd13d2(0x2a2)]({'keySize':_0x1abf6d+_0x22f148})[_0xcd13d2(0x25b)](_0x3de3b6,_0x3baf7c);var _0x513e29=_0x279810[_0xcd13d2(0x2a2)](_0x23f656['words']['slice'](_0x1abf6d),_0x22f148*0x4);return _0x23f656[_0xcd13d2(0x366)]=_0x1abf6d*0x4,_0x513e49[_0xcd13d2(0x2a2)]({'key':_0x23f656,'iv':_0x513e29,'salt':_0x3baf7c});}},_0x2b62ef=_0x137db0['PasswordBasedCipher']=_0x24ddf6[_0x4a0381(0x242)]({'cfg':_0x24ddf6[_0x4a0381(0x54b)][_0x4a0381(0x242)]({'kdf':_0xb8779}),'encrypt':function(_0x11da39,_0x25d879,_0x55c9c6,_0x31306a){var _0x28b927=_0x4a0381;_0x31306a=this[_0x28b927(0x54b)]['extend'](_0x31306a);var _0x2bd6ad=_0x31306a[_0x28b927(0x52a)][_0x28b927(0x404)](_0x55c9c6,_0x11da39[_0x28b927(0x53e)],_0x11da39[_0x28b927(0x1e1)],_0x31306a[_0x28b927(0x297)],_0x31306a['hasher']);_0x31306a['iv']=_0x2bd6ad['iv'];var _0x5ba6cf=_0x24ddf6['encrypt'][_0x28b927(0x4b7)](this,_0x11da39,_0x25d879,_0x2bd6ad[_0x28b927(0x40f)],_0x31306a);return _0x5ba6cf[_0x28b927(0x208)](_0x2bd6ad),_0x5ba6cf;},'decrypt':function(_0x175844,_0x52dc75,_0x27a979,_0x4cf044){var _0x315bff=_0x4a0381;_0x4cf044=this[_0x315bff(0x54b)]['extend'](_0x4cf044),_0x52dc75=this[_0x315bff(0x248)](_0x52dc75,_0x4cf044[_0x315bff(0x206)]);var _0x58c51d=_0x4cf044[_0x315bff(0x52a)][_0x315bff(0x404)](_0x27a979,_0x175844['keySize'],_0x175844[_0x315bff(0x1e1)],_0x52dc75[_0x315bff(0x297)],_0x4cf044[_0x315bff(0x23d)]);_0x4cf044['iv']=_0x58c51d['iv'];var _0x8b1b9e=_0x24ddf6[_0x315bff(0x41d)][_0x315bff(0x4b7)](this,_0x175844,_0x52dc75,_0x58c51d[_0x315bff(0x40f)],_0x4cf044);return _0x8b1b9e;}});}();}));}(_0x4b7f81)),_0x4b7f81[_0x14c57b(0x4da)];}var _0x56afed=_0x27d8c7[_0x451c39(0x4da)],_0x40aade;function _0x452132(){var _0x179450=_0x451c39;return _0x40aade||(_0x40aade=0x1,function(_0x521810,_0x5d2bfe){(function(_0x3116cd,_0x4d1102,_0x508748){var _0x1fe447=_0x2d7e;_0x521810[_0x1fe447(0x4da)]=_0x4d1102(_0xd86a95(),_0x5d3da0(),_0x1548cd(),_0x41bf26(),_0x5d42b5());}(_0x56afed,function(_0x39f23c){var _0x49c41b=_0x2d7e;return(function(){var _0x498ed4=_0x2d7e,_0x52dc2d=_0x39f23c,_0x4a5ae8=_0x52dc2d['lib'],_0x1db52f=_0x4a5ae8[_0x498ed4(0x51e)],_0x3d2b2b=_0x52dc2d[_0x498ed4(0x492)],_0x1328f2=[],_0x3f0191=[],_0x29351f=[],_0x26066b=[],_0x34fcbb=[],_0x4c5743=[],_0x26f1ab=[],_0x5e2b9e=[],_0x61d415=[],_0x221aca=[];(function(){for(var _0x3ebe89=[],_0xcf7c8d=0x0;_0xcf7c8d<0x100;_0xcf7c8d++)_0xcf7c8d<0x80?_0x3ebe89[_0xcf7c8d]=_0xcf7c8d<<0x1:_0x3ebe89[_0xcf7c8d]=_0xcf7c8d<<0x1^0x11b;for(var _0x13e51f=0x0,_0x1db3fa=0x0,_0xcf7c8d=0x0;_0xcf7c8d<0x100;_0xcf7c8d++){var _0x18d4eb=_0x1db3fa^_0x1db3fa<<0x1^_0x1db3fa<<0x2^_0x1db3fa<<0x3^_0x1db3fa<<0x4;_0x18d4eb=_0x18d4eb>>>0x8^_0x18d4eb&0xff^0x63,_0x1328f2[_0x13e51f]=_0x18d4eb,_0x3f0191[_0x18d4eb]=_0x13e51f;var _0x5c5bb1=_0x3ebe89[_0x13e51f],_0x59f13b=_0x3ebe89[_0x5c5bb1],_0x2f4b7b=_0x3ebe89[_0x59f13b],_0x567f9c=_0x3ebe89[_0x18d4eb]*0x101^_0x18d4eb*0x1010100;_0x29351f[_0x13e51f]=_0x567f9c<<0x18|_0x567f9c>>>0x8,_0x26066b[_0x13e51f]=_0x567f9c<<0x10|_0x567f9c>>>0x10,_0x34fcbb[_0x13e51f]=_0x567f9c<<0x8|_0x567f9c>>>0x18,_0x4c5743[_0x13e51f]=_0x567f9c;var _0x567f9c=_0x2f4b7b*0x1010101^_0x59f13b*0x10001^_0x5c5bb1*0x101^_0x13e51f*0x1010100;_0x26f1ab[_0x18d4eb]=_0x567f9c<<0x18|_0x567f9c>>>0x8,_0x5e2b9e[_0x18d4eb]=_0x567f9c<<0x10|_0x567f9c>>>0x10,_0x61d415[_0x18d4eb]=_0x567f9c<<0x8|_0x567f9c>>>0x18,_0x221aca[_0x18d4eb]=_0x567f9c,_0x13e51f?(_0x13e51f=_0x5c5bb1^_0x3ebe89[_0x3ebe89[_0x3ebe89[_0x2f4b7b^_0x5c5bb1]]],_0x1db3fa^=_0x3ebe89[_0x3ebe89[_0x1db3fa]]):_0x13e51f=_0x1db3fa=0x1;}}());var _0x2b0a90=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x504e14=_0x3d2b2b[_0x498ed4(0x3f7)]=_0x1db52f['extend']({'_doReset':function(){var _0x5b8d18=_0x498ed4,_0xd0d892;if(!(this[_0x5b8d18(0x367)]&&this[_0x5b8d18(0x34c)]===this[_0x5b8d18(0x2d0)])){for(var _0x550b45=this[_0x5b8d18(0x34c)]=this[_0x5b8d18(0x2d0)],_0x1a2884=_0x550b45[_0x5b8d18(0x2f9)],_0xa16462=_0x550b45['sigBytes']/0x4,_0x50ee7e=this[_0x5b8d18(0x367)]=_0xa16462+0x6,_0x5779a7=(_0x50ee7e+0x1)*0x4,_0x4b86c2=this[_0x5b8d18(0x4b3)]=[],_0x148373=0x0;_0x148373<_0x5779a7;_0x148373++)_0x148373<_0xa16462?_0x4b86c2[_0x148373]=_0x1a2884[_0x148373]:(_0xd0d892=_0x4b86c2[_0x148373-0x1],_0x148373%_0xa16462?_0xa16462>0x6&&_0x148373%_0xa16462==0x4&&(_0xd0d892=_0x1328f2[_0xd0d892>>>0x18]<<0x18|_0x1328f2[_0xd0d892>>>0x10&0xff]<<0x10|_0x1328f2[_0xd0d892>>>0x8&0xff]<<0x8|_0x1328f2[_0xd0d892&0xff]):(_0xd0d892=_0xd0d892<<0x8|_0xd0d892>>>0x18,_0xd0d892=_0x1328f2[_0xd0d892>>>0x18]<<0x18|_0x1328f2[_0xd0d892>>>0x10&0xff]<<0x10|_0x1328f2[_0xd0d892>>>0x8&0xff]<<0x8|_0x1328f2[_0xd0d892&0xff],_0xd0d892^=_0x2b0a90[_0x148373/_0xa16462|0x0]<<0x18),_0x4b86c2[_0x148373]=_0x4b86c2[_0x148373-_0xa16462]^_0xd0d892);for(var _0x5bc676=this[_0x5b8d18(0x39c)]=[],_0x57a363=0x0;_0x57a363<_0x5779a7;_0x57a363++){var _0x148373=_0x5779a7-_0x57a363;if(_0x57a363%0x4)var _0xd0d892=_0x4b86c2[_0x148373];else var _0xd0d892=_0x4b86c2[_0x148373-0x4];_0x57a363<0x4||_0x148373<=0x4?_0x5bc676[_0x57a363]=_0xd0d892:_0x5bc676[_0x57a363]=_0x26f1ab[_0x1328f2[_0xd0d892>>>0x18]]^_0x5e2b9e[_0x1328f2[_0xd0d892>>>0x10&0xff]]^_0x61d415[_0x1328f2[_0xd0d892>>>0x8&0xff]]^_0x221aca[_0x1328f2[_0xd0d892&0xff]];}}},'encryptBlock':function(_0x13eda0,_0x30f270){var _0x41df60=_0x498ed4;this[_0x41df60(0x255)](_0x13eda0,_0x30f270,this[_0x41df60(0x4b3)],_0x29351f,_0x26066b,_0x34fcbb,_0x4c5743,_0x1328f2);},'decryptBlock':function(_0x211697,_0x589329){var _0x40fd4d=_0x498ed4,_0x10bd03=_0x211697[_0x589329+0x1];_0x211697[_0x589329+0x1]=_0x211697[_0x589329+0x3],_0x211697[_0x589329+0x3]=_0x10bd03,this['_doCryptBlock'](_0x211697,_0x589329,this[_0x40fd4d(0x39c)],_0x26f1ab,_0x5e2b9e,_0x61d415,_0x221aca,_0x3f0191);var _0x10bd03=_0x211697[_0x589329+0x1];_0x211697[_0x589329+0x1]=_0x211697[_0x589329+0x3],_0x211697[_0x589329+0x3]=_0x10bd03;},'_doCryptBlock':function(_0x45289c,_0x513b49,_0x3b7370,_0x45f19c,_0x42cb74,_0x139f2a,_0x1e7794,_0x20890f){for(var _0x29d762=this['_nRounds'],_0x2ca051=_0x45289c[_0x513b49]^_0x3b7370[0x0],_0x31015c=_0x45289c[_0x513b49+0x1]^_0x3b7370[0x1],_0x6baf5=_0x45289c[_0x513b49+0x2]^_0x3b7370[0x2],_0x38ff89=_0x45289c[_0x513b49+0x3]^_0x3b7370[0x3],_0x36ec3e=0x4,_0xa4118=0x1;_0xa4118<_0x29d762;_0xa4118++){var _0xf3d45e=_0x45f19c[_0x2ca051>>>0x18]^_0x42cb74[_0x31015c>>>0x10&0xff]^_0x139f2a[_0x6baf5>>>0x8&0xff]^_0x1e7794[_0x38ff89&0xff]^_0x3b7370[_0x36ec3e++],_0x466f62=_0x45f19c[_0x31015c>>>0x18]^_0x42cb74[_0x6baf5>>>0x10&0xff]^_0x139f2a[_0x38ff89>>>0x8&0xff]^_0x1e7794[_0x2ca051&0xff]^_0x3b7370[_0x36ec3e++],_0x15d340=_0x45f19c[_0x6baf5>>>0x18]^_0x42cb74[_0x38ff89>>>0x10&0xff]^_0x139f2a[_0x2ca051>>>0x8&0xff]^_0x1e7794[_0x31015c&0xff]^_0x3b7370[_0x36ec3e++],_0x29bfda=_0x45f19c[_0x38ff89>>>0x18]^_0x42cb74[_0x2ca051>>>0x10&0xff]^_0x139f2a[_0x31015c>>>0x8&0xff]^_0x1e7794[_0x6baf5&0xff]^_0x3b7370[_0x36ec3e++];_0x2ca051=_0xf3d45e,_0x31015c=_0x466f62,_0x6baf5=_0x15d340,_0x38ff89=_0x29bfda;}var _0xf3d45e=(_0x20890f[_0x2ca051>>>0x18]<<0x18|_0x20890f[_0x31015c>>>0x10&0xff]<<0x10|_0x20890f[_0x6baf5>>>0x8&0xff]<<0x8|_0x20890f[_0x38ff89&0xff])^_0x3b7370[_0x36ec3e++],_0x466f62=(_0x20890f[_0x31015c>>>0x18]<<0x18|_0x20890f[_0x6baf5>>>0x10&0xff]<<0x10|_0x20890f[_0x38ff89>>>0x8&0xff]<<0x8|_0x20890f[_0x2ca051&0xff])^_0x3b7370[_0x36ec3e++],_0x15d340=(_0x20890f[_0x6baf5>>>0x18]<<0x18|_0x20890f[_0x38ff89>>>0x10&0xff]<<0x10|_0x20890f[_0x2ca051>>>0x8&0xff]<<0x8|_0x20890f[_0x31015c&0xff])^_0x3b7370[_0x36ec3e++],_0x29bfda=(_0x20890f[_0x38ff89>>>0x18]<<0x18|_0x20890f[_0x2ca051>>>0x10&0xff]<<0x10|_0x20890f[_0x31015c>>>0x8&0xff]<<0x8|_0x20890f[_0x6baf5&0xff])^_0x3b7370[_0x36ec3e++];_0x45289c[_0x513b49]=_0xf3d45e,_0x45289c[_0x513b49+0x1]=_0x466f62,_0x45289c[_0x513b49+0x2]=_0x15d340,_0x45289c[_0x513b49+0x3]=_0x29bfda;},'keySize':0x100/0x20});_0x52dc2d['AES']=_0x1db52f['_createHelper'](_0x504e14);}()),_0x39f23c[_0x49c41b(0x3f7)];}));}(_0x27d8c7)),_0x27d8c7[_0x179450(0x4da)];}var _0x44b331=_0x452132();const _0x50f759=_0x11af2b(_0x44b331);var _0x4a9e43=_0x5d3da0();const _0x599ed3=_0x11af2b(_0x4a9e43);var _0x289870={'exports':{}},_0x406ff9=_0x289870['exports'],_0x336925;function _0x2c7f26(){return _0x336925||(_0x336925=0x1,function(_0x199a07,_0x282906){(function(_0x308e18,_0x3b6a59){var _0x4f4444=_0x2d7e;_0x199a07[_0x4f4444(0x4da)]=_0x3b6a59(_0xd86a95());}(_0x406ff9,function(_0x4e9479){var _0x383640=_0x2d7e;return _0x4e9479[_0x383640(0x35a)][_0x383640(0x4a5)];}));}(_0x289870)),_0x289870['exports'];}var _0x409675=_0x2c7f26();const _0x245354=_0x11af2b(_0x409675);var _0x3a6fe1={'exports':{}},_0x3c1cb4=_0x3a6fe1[_0x451c39(0x4da)],_0x5b3810;function _0x1ca14d(){var _0x513416=_0x451c39;return _0x5b3810||(_0x5b3810=0x1,function(_0x16dbde,_0x14f9a4){(function(_0x57ee0b,_0x473801){var _0x2960bc=_0x2d7e;_0x16dbde[_0x2960bc(0x4da)]=_0x473801(_0xd86a95());}(_0x3c1cb4,function(_0x1aaffd){var _0xccb788=_0x2d7e;return(function(){var _0x2076e2=_0x2d7e;if(typeof ArrayBuffer==_0x2076e2(0x261)){var _0x34e010=_0x1aaffd,_0xbaf52d=_0x34e010[_0x2076e2(0x28a)],_0xd53c0c=_0xbaf52d[_0x2076e2(0x52c)],_0xf52e92=_0xd53c0c[_0x2076e2(0x390)],_0x16451b=_0xd53c0c[_0x2076e2(0x390)]=function(_0x35e557){var _0x11fda0=_0x2076e2;if(_0x35e557 instanceof ArrayBuffer&&(_0x35e557=new Uint8Array(_0x35e557)),(_0x35e557 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x35e557 instanceof Uint8ClampedArray||_0x35e557 instanceof Int16Array||_0x35e557 instanceof Uint16Array||_0x35e557 instanceof Int32Array||_0x35e557 instanceof Uint32Array||_0x35e557 instanceof Float32Array||_0x35e557 instanceof Float64Array)&&(_0x35e557=new Uint8Array(_0x35e557[_0x11fda0(0x47d)],_0x35e557[_0x11fda0(0x4e8)],_0x35e557[_0x11fda0(0x47b)])),_0x35e557 instanceof Uint8Array){for(var _0x38a25d=_0x35e557[_0x11fda0(0x47b)],_0x50b3da=[],_0x270983=0x0;_0x270983<_0x38a25d;_0x270983++)_0x50b3da[_0x270983>>>0x2]|=_0x35e557[_0x270983]<<0x18-_0x270983%0x4*0x8;_0xf52e92[_0x11fda0(0x4b7)](this,_0x50b3da,_0x38a25d);}else _0xf52e92[_0x11fda0(0x27d)](this,arguments);};_0x16451b[_0x2076e2(0x34e)]=_0xd53c0c;}}()),_0x1aaffd[_0xccb788(0x28a)][_0xccb788(0x52c)];}));}(_0x3a6fe1)),_0x3a6fe1[_0x513416(0x4da)];}var _0x418b2f=_0x1ca14d();const _0x14a5d0=_0x11af2b(_0x418b2f);var _0x51ea93={'exports':{}},_0x302eaf=_0x51ea93[_0x451c39(0x4da)],_0xe1e19;function _0x53ef3a(){return _0xe1e19||(_0xe1e19=0x1,function(_0x34a12e,_0x55dea0){(function(_0xf1411,_0x3f4321,_0x28a7d4){var _0x3ba425=_0x2d7e;_0x34a12e[_0x3ba425(0x4da)]=_0x3f4321(_0xd86a95(),_0x5d42b5());}(_0x302eaf,function(_0x1da297){var _0xb96026=_0x2d7e;return _0x1da297[_0xb96026(0x2fa)][_0xb96026(0x21e)]={'pad':function(){},'unpad':function(){}},_0x1da297[_0xb96026(0x2fa)]['NoPadding'];}));}(_0x51ea93)),_0x51ea93['exports'];}var _0x53c60b=_0x53ef3a();const _0x33ebf7=_0x11af2b(_0x53c60b);function _0x3dcc48(_0x148637,_0x8dd58){var _0xd964a7=_0x451c39;const _0x308daa=_0x8dd58-_0x148637[_0xd964a7(0x429)]%_0x8dd58,_0x460782=String[_0xd964a7(0x201)](_0x308daa)[_0xd964a7(0x32f)](_0x308daa);return _0x148637+_0x460782;}function _0x45748e(_0x5d5acd,_0xeaa3d1){var _0x246bfc=_0x451c39;const _0x41543a=_0x14a5d0[_0x246bfc(0x2a5)](0x10),_0x55f313=_0x3dcc48(_0x5d5acd,0x10),_0x210112=_0x50f759[_0x246bfc(0x496)](_0x245354[_0x246bfc(0x37a)](_0x55f313),_0x599ed3[_0x246bfc(0x37a)](_0xeaa3d1),{'iv':_0x41543a,'padding':_0x33ebf7});return _0x41543a[_0x246bfc(0x410)](_0x210112[_0x246bfc(0x405)])[_0x246bfc(0x216)](_0x599ed3);}function _0x308d0c(){var _0xdf9602=_0x451c39;const _0x3b9bbf=_0x4afec2[_0xdf9602(0x3b6)]()[_0xdf9602(0x3eb)];if(_0x3b9bbf){const _0xb78dcb={'time':Math[_0xdf9602(0x49d)](Date[_0xdf9602(0x1f4)]()/0x3e8),'domain':location[_0xdf9602(0x302)]};return _0x45748e(JSON['stringify'](_0xb78dcb),_0x3b9bbf);}}var _0x376165=Object[_0x451c39(0x272)],_0x17e188=Object[_0x451c39(0x1f7)],_0x4e0b54=(_0x11b7f3,_0x5965f4,_0x120141,_0x2fb87c)=>{var _0x9d9c5=_0x451c39;for(var _0x52dfd4=_0x2fb87c>0x1?void 0x0:_0x2fb87c?_0x17e188(_0x5965f4,_0x120141):_0x5965f4,_0x192df7=_0x11b7f3[_0x9d9c5(0x429)]-0x1,_0x4358c0;_0x192df7>=0x0;_0x192df7--)(_0x4358c0=_0x11b7f3[_0x192df7])&&(_0x52dfd4=(_0x2fb87c?_0x4358c0(_0x5965f4,_0x120141,_0x52dfd4):_0x4358c0(_0x52dfd4))||_0x52dfd4);return _0x2fb87c&&_0x52dfd4&&_0x376165(_0x5965f4,_0x120141,_0x52dfd4),_0x52dfd4;},_0x1e4a2d=(_0x302e56,_0x14a67b)=>(_0x131f74,_0x4fead7)=>_0x14a67b(_0x131f74,_0x4fead7,_0x302e56);let _0x2e430b=class{constructor(_0x464e68){var _0x341698=_0x451c39;this['_httpService']=_0x464e68,this[_0x341698(0x4e3)]();}[_0x451c39(0x4e3)](){var _0x23b133=_0x451c39;this[_0x23b133(0x52d)]['registerHTTPInterceptor']({'interceptor':(_0x30e9e2,_0x5f4f69)=>{var _0x8304fa=_0x23b133;const _0x551562=_0x30e9e2['headers'],_0x56cd94=_0x308d0c();return _0x56cd94&&_0x551562[_0x8304fa(0x321)](_0x8304fa(0x41c),_0x56cd94),_0x5f4f69(_0x30e9e2);}});}};_0x2e430b=_0x4e0b54([_0x1e4a2d(0x0,_0x2317f6[_0x451c39(0x2b8)](_0x1b5960[_0x451c39(0x352)]))],_0x2e430b);var _0x2f709a=Object[_0x451c39(0x272)],_0x16c189=Object[_0x451c39(0x1f7)],_0x2b08c3=(_0xfba6c7,_0x3e9d53,_0x160c29,_0x26ff6a)=>{var _0x191a86=_0x451c39;for(var _0x31bdec=_0x26ff6a>0x1?void 0x0:_0x26ff6a?_0x16c189(_0x3e9d53,_0x160c29):_0x3e9d53,_0x16e3b3=_0xfba6c7[_0x191a86(0x429)]-0x1,_0x31803b;_0x16e3b3>=0x0;_0x16e3b3--)(_0x31803b=_0xfba6c7[_0x16e3b3])&&(_0x31bdec=(_0x26ff6a?_0x31803b(_0x3e9d53,_0x160c29,_0x31bdec):_0x31803b(_0x31bdec))||_0x31bdec);return _0x26ff6a&&_0x31bdec&&_0x2f709a(_0x3e9d53,_0x160c29,_0x31bdec),_0x31bdec;},_0x45ec30=(_0xf720ea,_0x5665d0)=>(_0x2875eb,_0x1df396)=>_0x5665d0(_0x2875eb,_0x1df396,_0xf720ea);_0x39a6cf[_0x451c39(0x422)]=class extends _0x2317f6[_0x451c39(0x36d)]{constructor(_0x9c6699,_0x10bf86,_0x441acc){var _0xdb1d78=_0x451c39;super(),_0x51bd32(this,_0xdb1d78(0x31c),new _0x319114['BehaviorSubject'](null)),_0x51bd32(this,_0xdb1d78(0x484),this[_0xdb1d78(0x31c)][_0xdb1d78(0x368)]()),(this['_logService']=_0x9c6699,this[_0xdb1d78(0x3cc)]=_0x10bf86,this[_0xdb1d78(0x337)]=_0x441acc);}async[_0x451c39(0x48c)](_0x5ba047,_0x5b430d,_0x162bc6){var _0x5ddc77=_0x451c39;this[_0x5ddc77(0x31c)]['next']({'unitId':_0x5ba047,'type':_0x5b430d,'subUnitId':_0x162bc6});let _0x1f89e9=null;switch(_0x5b430d){case _0x49ad07[_0x5ddc77(0x39e)]:{_0x1f89e9=await this['_loadSheet'](_0x5ba047);break;}case _0x49ad07[_0x5ddc77(0x2b6)]:{_0x1f89e9=await this['_loadDoc'](_0x5ba047);break;}default:{this['_logService'][_0x5ddc77(0x2d3)]('[DataLoaderService]',_0x5ddc77(0x2e8));break;}}return _0x1f89e9;}async[_0x451c39(0x4f8)](_0x127c15){var _0xe32ec0=_0x451c39,_0x39f369;let _0x3ca0e2=0x0;const _0x5f00f9=await((_0x39f369=this[_0xe32ec0(0x337)])==null?void 0x0:_0x39f369[_0xe32ec0(0x23b)](_0x127c15));return _0x5f00f9&&(_0x5f00f9[_0xe32ec0(0x2bc)]||_0x5f00f9[_0xe32ec0(0x241)]['length']!==0x0)&&(_0x3ca0e2=_0x5f00f9[_0xe32ec0(0x35d)]),_0x3ca0e2===0x0&&this[_0xe32ec0(0x2af)]['debug'](_0xe32ec0(0x2aa),_0xe32ec0(0x402)),this['_snapshotService']['loadSheet'](_0x127c15,_0x3ca0e2);}async['_loadDoc'](_0x343a61){var _0x5503bd=_0x451c39,_0x81fffe;let _0x31f6e6=0x0;const _0x3b45e8=await((_0x81fffe=this['_localCacheService'])==null?void 0x0:_0x81fffe[_0x5503bd(0x23b)](_0x343a61));return _0x3b45e8&&(_0x3b45e8['awaitingChangeset']||_0x3b45e8[_0x5503bd(0x241)][_0x5503bd(0x429)]!==0x0)&&(_0x31f6e6=_0x3b45e8[_0x5503bd(0x35d)]),_0x31f6e6===0x0&&this[_0x5503bd(0x2af)][_0x5503bd(0x325)]('[DataLoaderService]',_0x5503bd(0x402)),this[_0x5503bd(0x3cc)][_0x5503bd(0x4f4)](_0x343a61,_0x31f6e6);}},_0x39a6cf['DataLoaderService']=_0x2b08c3([_0x45ec30(0x0,_0x2317f6['ILogService']),_0x45ec30(0x1,_0x2317f6[_0x451c39(0x2b8)](_0x4cecf['SnapshotService'])),_0x45ec30(0x2,_0x2317f6[_0x451c39(0x3ad)](_0x57d8af))],_0x39a6cf[_0x451c39(0x422)]);var _0x44ce18=Object['defineProperty'],_0x2c9604=Object['getOwnPropertyDescriptor'],_0x59cb68=(_0x304887,_0x27335b,_0x109272,_0x5c4337)=>{var _0x4fc650=_0x451c39;for(var _0x3e381d=_0x5c4337>0x1?void 0x0:_0x5c4337?_0x2c9604(_0x27335b,_0x109272):_0x27335b,_0x25ed55=_0x304887[_0x4fc650(0x429)]-0x1,_0x1c67b1;_0x25ed55>=0x0;_0x25ed55--)(_0x1c67b1=_0x304887[_0x25ed55])&&(_0x3e381d=(_0x5c4337?_0x1c67b1(_0x27335b,_0x109272,_0x3e381d):_0x1c67b1(_0x3e381d))||_0x3e381d);return _0x5c4337&&_0x3e381d&&_0x44ce18(_0x27335b,_0x109272,_0x3e381d),_0x3e381d;},_0x1bc38a=(_0x1a0dd1,_0x3b2b77)=>(_0x3e96f3,_0x17d848)=>_0x3b2b77(_0x3e96f3,_0x17d848,_0x1a0dd1);const _0xe5e238=['image/png','image/jpeg',_0x451c39(0x357),_0x451c39(0x533),_0x451c39(0x527)],_0x31056b=0x5*0x400*0x400,_0x15d1aa=_0x451c39(0x482),_0x1e761e=_0x451c39(0x3cf),_0x13cff0=_0x451c39(0x529),_0x3e054d=_0x451c39(0x38e);_0x39a6cf['CollaborationImageIoService']=class{constructor(_0x16d951,_0x4c024e,_0x22ef03){var _0x4af34e=_0x451c39;_0x51bd32(this,_0x4af34e(0x333),0x0),_0x51bd32(this,_0x4af34e(0x2c5),new _0x319114[(_0x4af34e(0x3d7))]()),_0x51bd32(this,_0x4af34e(0x2ad),this[_0x4af34e(0x2c5)]),_0x51bd32(this,_0x4af34e(0x384),new Map()),(this[_0x4af34e(0x52d)]=_0x16d951,this['_configService']=_0x4c024e,this[_0x4af34e(0x552)]=_0x22ef03);}[_0x451c39(0x32c)](_0x5a5352){var _0xa38b03=_0x451c39;this['_waitCount']=_0x5a5352,this['_change$'][_0xa38b03(0x48d)](_0x5a5352);}['getImageSourceCache'](_0x5ee18c,_0x131e61){var _0x3fb7ea=_0x451c39;if(_0x131e61===_0x417eb2[_0x3fb7ea(0x424)]['BASE64']){const _0x2d3cd7=new Image();return _0x2d3cd7[_0x3fb7ea(0x44e)]=_0x5ee18c,_0x2d3cd7;}return this['_imageSourceCache'][_0x3fb7ea(0x537)](_0x5ee18c);}[_0x451c39(0x203)](_0x3524ff,_0x114838,_0x2adb51){var _0xe97905=_0x451c39;_0x114838===_0x417eb2['ImageSourceType'][_0xe97905(0x499)]||_0x2adb51==null||this['_imageSourceCache'][_0xe97905(0x321)](_0x3524ff,_0x2adb51);}async[_0x451c39(0x2eb)](_0x3c9760){var _0x1987f7=_0x451c39;try{const _0x32f08f=this[_0x1987f7(0x3ac)](this['_getSignURL'](),''+_0x3c9760),_0x2499b9=(await this['_httpService'][_0x1987f7(0x537)](_0x32f08f))[_0x1987f7(0x53f)];if(_0x2499b9['error']&&_0x2499b9[_0x1987f7(0x2d3)][_0x1987f7(0x342)]===_0x3c73e9['OK']){const _0x56a029=new URL(_0x2499b9[_0x1987f7(0x26a)],this[_0x1987f7(0x2c2)]())[_0x1987f7(0x216)]();return Promise[_0x1987f7(0x46f)](_0x56a029);}return Promise[_0x1987f7(0x29c)](_0x2499b9['error']);}catch(_0x358549){return Promise[_0x1987f7(0x29c)](_0x358549);}}async[_0x451c39(0x26c)](_0x5c0e3f){var _0x1d835a=_0x451c39;let _0x5504e3='';if(!_0xe5e238['includes'](_0x5c0e3f['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x417eb2['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0x5c0e3f['size']>_0x31056b)return this['_decreaseWaiting'](),Promise[_0x1d835a(0x29c)](new Error(_0x417eb2['ImageUploadStatusType'][_0x1d835a(0x4d0)]));try{const _0x53afdb=new FormData();_0x53afdb['append'](_0x1d835a(0x54c),_0x5c0e3f);const _0x5b8771=this['_univerInstanceService'][_0x1d835a(0x540)](),_0x4945a7=_0x5b8771==null?void 0x0:_0x5b8771[_0x1d835a(0x276)]();if(!_0x4945a7)throw new Error(_0x1d835a(0x316));const _0x55177c=this[_0x1d835a(0x215)]()+_0x1d835a(0x2da)+_0x5c0e3f['size']['toString']()+_0x1d835a(0x220)+_0x266ad4['UnitEmbedded']+'&assign='+encodeURIComponent(_0x4945a7),_0x302f88=await(await fetch(_0x55177c,{'method':'POST','body':_0x53afdb}))[_0x1d835a(0x4f7)]();if(typeof _0x302f88['FileId']!=_0x1d835a(0x20d))return this[_0x1d835a(0x50e)](),Promise['reject'](new Error(_0x417eb2[_0x1d835a(0x387)][_0x1d835a(0x43c)]));_0x5504e3=_0x302f88[_0x1d835a(0x553)];}catch{return this[_0x1d835a(0x50e)](),Promise[_0x1d835a(0x29c)](new Error(_0x417eb2[_0x1d835a(0x387)][_0x1d835a(0x43c)]));}return new Promise((_0x321ad2,_0x2c270a)=>{var _0x213463=_0x1d835a;const _0x38ec2a=new FileReader();_0x38ec2a[_0x213463(0x3ee)](_0x5c0e3f),_0x38ec2a['onload']=_0x19baff=>{var _0x52b6df=_0x213463,_0x35e0c7;const _0x4af2f6=(_0x35e0c7=_0x19baff[_0x52b6df(0x4e7)])==null?void 0x0:_0x35e0c7[_0x52b6df(0x3b4)];if(_0x4af2f6==null){this['_decreaseWaiting'](),_0x2c270a(new Error(_0x417eb2['ImageUploadStatusType'][_0x52b6df(0x43c)]));return;}const _0xd758a5=_0x2317f6[_0x52b6df(0x519)][_0x52b6df(0x21d)](0x6);_0x321ad2({'imageId':_0xd758a5,'imageSourceType':_0x417eb2['ImageSourceType'][_0x52b6df(0x3e2)],'source':_0x5504e3,'base64Cache':_0x4af2f6,'status':_0x417eb2[_0x52b6df(0x387)]['SUCCUSS']}),this[_0x52b6df(0x50e)]();};});}[_0x451c39(0x215)](){var _0x438c40=_0x451c39,_0x480060,_0x20797d;const _0x536973=this[_0x438c40(0x448)][_0x438c40(0x328)](_0x15d1aa),_0x4f2993=this[_0x438c40(0x448)][_0x438c40(0x328)](_0x33ccdf);return(_0x20797d=(_0x480060=_0x4f2993==null?void 0x0:_0x4f2993[_0x438c40(0x27e)])!=null?_0x480060:_0x536973)!=null?_0x20797d:_0x1e761e;}['_getSignURL'](){var _0x1a00bf=_0x451c39,_0x1e27fa,_0x15c0d8;const _0x1fdc74=this[_0x1a00bf(0x448)][_0x1a00bf(0x328)](_0x13cff0),_0x532e40=this[_0x1a00bf(0x448)][_0x1a00bf(0x328)](_0x33ccdf);return(_0x15c0d8=(_0x1e27fa=_0x532e40==null?void 0x0:_0x532e40['signUrlServerUrl'])!=null?_0x1e27fa:_0x1fdc74)!=null?_0x15c0d8:_0x3e054d;}[_0x451c39(0x2c2)](){var _0x39e297=_0x451c39,_0x183aae;const _0x3b5351=this[_0x39e297(0x448)]['getConfig'](_0x33ccdf);return(_0x183aae=_0x3b5351==null?void 0x0:_0x3b5351[_0x39e297(0x408)])!=null?_0x183aae:location[_0x39e297(0x3d9)];}[_0x451c39(0x3ac)](_0xf23e41,_0x3b30ee){var _0x34fe14=_0x451c39;return _0xf23e41['replace'](_0x34fe14(0x4db),_0x3b30ee);}[_0x451c39(0x50e)](){var _0x49e5ae=_0x451c39;this['_waitCount']-=0x1,this[_0x49e5ae(0x2c5)][_0x49e5ae(0x48d)](this['_waitCount']);}},_0x39a6cf[_0x451c39(0x4fd)]=_0x59cb68([_0x1bc38a(0x0,_0x2317f6['Inject'](_0x1b5960[_0x451c39(0x352)])),_0x1bc38a(0x1,_0x2317f6[_0x451c39(0x1e4)]),_0x1bc38a(0x2,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x2db)]))],_0x39a6cf['CollaborationImageIoService']);var _0x36193c=Object['defineProperty'],_0x5afd14=Object[_0x451c39(0x1f7)],_0x1fb984=(_0x557c66,_0x58b351,_0xc34d7f,_0x3a8048)=>{var _0x458e2e=_0x451c39;for(var _0x280b31=_0x3a8048>0x1?void 0x0:_0x3a8048?_0x5afd14(_0x58b351,_0xc34d7f):_0x58b351,_0x1fcf0f=_0x557c66[_0x458e2e(0x429)]-0x1,_0x1c544b;_0x1fcf0f>=0x0;_0x1fcf0f--)(_0x1c544b=_0x557c66[_0x1fcf0f])&&(_0x280b31=(_0x3a8048?_0x1c544b(_0x58b351,_0xc34d7f,_0x280b31):_0x1c544b(_0x280b31))||_0x280b31);return _0x3a8048&&_0x280b31&&_0x36193c(_0x58b351,_0xc34d7f,_0x280b31),_0x280b31;},_0x5943bc=(_0x495a56,_0x33792d)=>(_0x34a906,_0x5eb997)=>_0x33792d(_0x34a906,_0x5eb997,_0x495a56);const _0x745da7=_0x451c39(0x445);_0x39a6cf['MentionIoHttpService']=class{constructor(_0x103152,_0x3abc23){var _0x410f0f=_0x451c39;this[_0x410f0f(0x448)]=_0x103152,this['_HTTPService']=_0x3abc23;}[_0x451c39(0x3c1)](){var _0xbbad69=_0x451c39,_0x56654a,_0x541a1b;const _0x606231=this[_0xbbad69(0x448)][_0xbbad69(0x328)](_0x3272af),_0x2e2277=this[_0xbbad69(0x448)][_0xbbad69(0x328)](_0x33ccdf);return(_0x541a1b=(_0x56654a=_0x2e2277==null?void 0x0:_0x2e2277['authzUrl'])!=null?_0x56654a:_0x606231)!=null?_0x541a1b:_0x745da7;}async[_0x451c39(0x457)](_0x46f78f){var _0x4c5406=_0x451c39;const _0x104158=this[_0x4c5406(0x3c1)]()+_0x4c5406(0x228);return{'list':[{'title':_0x4c5406(0x2f4),'mentions':(await this[_0x4c5406(0x234)][_0x4c5406(0x537)](_0x104158,{'params':{'objectID':_0x46f78f[_0x4c5406(0x236)],'unitID':_0x46f78f[_0x4c5406(0x236)]}}))['body']['collaborators'][_0x4c5406(0x427)](_0x40a039=>({'objectId':_0x40a039['id'],'name':_0x40a039[_0x4c5406(0x49e)][_0x4c5406(0x26e)],'metadata':{'icon':_0x40a039[_0x4c5406(0x49e)]['avatar']},'label':_0x40a039[_0x4c5406(0x49e)]['name'],'objectType':_0x2317f6[_0x4c5406(0x2ef)][_0x4c5406(0x385)]})),'metadata':{},'type':_0x2317f6[_0x4c5406(0x2ef)][_0x4c5406(0x385)]}]};}},_0x39a6cf[_0x451c39(0x4f9)]=_0x1fb984([_0x5943bc(0x0,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x1e4)])),_0x5943bc(0x1,_0x2317f6['Inject'](_0x1b5960[_0x451c39(0x352)]))],_0x39a6cf[_0x451c39(0x4f9)]);var _0x1d769a=Object[_0x451c39(0x272)],_0xd8fb6a=Object[_0x451c39(0x1f7)],_0x5c679d=(_0x34d3a3,_0x4edc65,_0x3af799,_0x14052a)=>{var _0x218cb1=_0x451c39;for(var _0x44ffe0=_0x14052a>0x1?void 0x0:_0x14052a?_0xd8fb6a(_0x4edc65,_0x3af799):_0x4edc65,_0x29b7ae=_0x34d3a3[_0x218cb1(0x429)]-0x1,_0x4203b0;_0x29b7ae>=0x0;_0x29b7ae--)(_0x4203b0=_0x34d3a3[_0x29b7ae])&&(_0x44ffe0=(_0x14052a?_0x4203b0(_0x4edc65,_0x3af799,_0x44ffe0):_0x4203b0(_0x44ffe0))||_0x44ffe0);return _0x14052a&&_0x44ffe0&&_0x1d769a(_0x4edc65,_0x3af799,_0x44ffe0),_0x44ffe0;},_0x5affb9=(_0x14701e,_0x2d21d1)=>(_0x3648e5,_0x5715cc)=>_0x2d21d1(_0x3648e5,_0x5715cc,_0x14701e);let _0x331772=class extends _0x2317f6[_0x451c39(0x36d)]{constructor(_0x38f2b4,_0x57a68b,_0x5212a2,_0x322ecd,_0x5e7047,_0x3ce52c,_0x38da01){var _0x225d0c=_0x451c39;super(),this[_0x225d0c(0x24a)]=_0x38f2b4,this[_0x225d0c(0x552)]=_0x57a68b,this[_0x225d0c(0x1f2)]=_0x5212a2,this[_0x225d0c(0x3da)]=_0x322ecd,this[_0x225d0c(0x313)]=_0x5e7047,this[_0x225d0c(0x3c9)]=_0x3ce52c,this[_0x225d0c(0x542)]=_0x38da01,this['_initUnitPermissionChange'](),this[_0x225d0c(0x2c8)]();}['_initCloseConn'](){var _0x33d28e=_0x451c39;const _0x3216ba=async _0x1cb797=>{var _0x374516=_0x2d7e;(await this[_0x374516(0x3da)]['requireSession'](_0x1cb797))[_0x374516(0x3aa)][_0x374516(0x49b)](_0x2a56f4[_0x374516(0x3b9)](_0x3130dc=>_0x3130dc['eventID']===_0x4cecf[_0x374516(0x318)][_0x374516(0x339)]),_0x2a56f4[_0x374516(0x2b1)](this[_0x374516(0x219)]))[_0x374516(0x397)](_0x500e8a=>{var _0x3093fd=_0x374516;const _0x3c8cf2=_0x500e8a,{reason:_0x3d0a53}=_0x3c8cf2[_0x3093fd(0x2a8)];this[_0x3093fd(0x313)][_0x3093fd(0x3f5)]({'id':_0x3e06d8[_0x3093fd(0x36f)],'data':_0x3d0a53}),this['_permissionService'][_0x3093fd(0x425)](new _0x614b46[(_0x3093fd(0x3e6))](_0x1cb797)['id'],!0x1),this[_0x3093fd(0x3da)]['closeSession'](_0x1cb797);});};_0x319114['merge'](this[_0x33d28e(0x552)][_0x33d28e(0x3d6)](_0x2317f6[_0x33d28e(0x2f2)][_0x33d28e(0x39e)]),this[_0x33d28e(0x552)][_0x33d28e(0x3d6)](_0x2317f6['UniverInstanceType']['UNIVER_DOC']))[_0x33d28e(0x49b)](_0x2a56f4[_0x33d28e(0x427)](_0x279bbe=>_0x279bbe[_0x33d28e(0x276)]()),_0x2a56f4['filter'](_0x215ec2=>!_0x2317f6['isInternalEditorID'](_0x215ec2)),_0x2a56f4['takeUntil'](this['dispose$']))[_0x33d28e(0x397)](_0x276bad=>{_0x3216ba(_0x276bad);});}[_0x451c39(0x4c4)](){var _0x260926=_0x451c39;const _0x39dce9=async _0x57f4d9=>{var _0x535b28=_0x2d7e;const _0x118ea6=await this[_0x535b28(0x3da)][_0x535b28(0x3e4)](_0x57f4d9),_0x4f8918=this['_injector'][_0x535b28(0x537)](_0x614b46[_0x535b28(0x4a7)]);_0x118ea6[_0x535b28(0x3aa)][_0x535b28(0x49b)](_0x2a56f4[_0x535b28(0x3b9)](_0x45e346=>_0x45e346[_0x535b28(0x319)]===_0x4cecf[_0x535b28(0x318)]['UPDATE_PERMISSION_OBJ']),_0x2a56f4[_0x535b28(0x2b1)](this['dispose$']))[_0x535b28(0x397)](_0x252362=>{var _0x531885=_0x535b28;const _0x168579=_0x252362,{objectId:_0xbb6d34}=_0x168579[_0x531885(0x2a8)];_0xbb6d34===_0x57f4d9?_0x4f8918[_0x531885(0x2b5)](_0x57f4d9):_0x4f8918['refreshPermission'](_0x57f4d9,_0xbb6d34);});};_0x319114['merge'](this[_0x260926(0x552)][_0x260926(0x3d6)](_0x2317f6['UniverInstanceType'][_0x260926(0x39e)]),this[_0x260926(0x552)][_0x260926(0x3d6)](_0x2317f6['UniverInstanceType'][_0x260926(0x2b6)]))[_0x260926(0x49b)](_0x2a56f4[_0x260926(0x427)](_0x1e22f6=>_0x1e22f6['getUnitId']()),_0x2a56f4[_0x260926(0x3b9)](_0x1237f7=>!_0x2317f6[_0x260926(0x324)](_0x1237f7)),_0x2a56f4[_0x260926(0x2b1)](this[_0x260926(0x219)]))[_0x260926(0x397)](_0x243227=>{_0x39dce9(_0x243227);});}};_0x331772=_0x5c679d([_0x5affb9(0x0,_0x2317f6['Inject'](_0x2317f6[_0x451c39(0x334)])),_0x5affb9(0x1,_0x2317f6[_0x451c39(0x2db)]),_0x5affb9(0x2,_0x2317f6[_0x451c39(0x2ae)]),_0x5affb9(0x3,_0x2317f6['Inject'](_0x39a6cf[_0x451c39(0x2f3)])),_0x5affb9(0x4,_0x2317f6['Inject'](_0x55eade)),_0x5affb9(0x5,_0x2317f6[_0x451c39(0x2ee)]),_0x5affb9(0x6,_0x2317f6[_0x451c39(0x43e)])],_0x331772);var _0xe9ae0e=Object[_0x451c39(0x272)],_0x4bab88=Object[_0x451c39(0x1f7)],_0x5d3c14=(_0x9dcf63,_0x37e7da,_0x25605a,_0x13f82c)=>{var _0x558eb9=_0x451c39;for(var _0x50edab=_0x13f82c>0x1?void 0x0:_0x13f82c?_0x4bab88(_0x37e7da,_0x25605a):_0x37e7da,_0x9991b4=_0x9dcf63[_0x558eb9(0x429)]-0x1,_0x45f094;_0x9991b4>=0x0;_0x9991b4--)(_0x45f094=_0x9dcf63[_0x9991b4])&&(_0x50edab=(_0x13f82c?_0x45f094(_0x37e7da,_0x25605a,_0x50edab):_0x45f094(_0x50edab))||_0x50edab);return _0x13f82c&&_0x50edab&&_0xe9ae0e(_0x37e7da,_0x25605a,_0x50edab),_0x50edab;},_0x527873=(_0x92388e,_0x31072d)=>(_0x3150bc,_0x12415b)=>_0x31072d(_0x3150bc,_0x12415b,_0x92388e);_0x39a6cf[_0x451c39(0x317)]=class{constructor(_0x4a3572,_0x1a1041){this['_configService']=_0x4a3572,this['_httpService']=_0x1a1041;}async[_0x451c39(0x53b)](_0x3c294c,_0x4f13ae){var _0x162edf=_0x451c39,_0x5cd488;const {unitID:_0x53a844,type:_0xe150dd,revision:_0x55a5ec=0x0}=_0x4f13ae,_0x51f0c4=this[_0x162edf(0x2f8)]()+'/'+_0xe150dd+'/unit/'+_0x53a844+_0x162edf(0x4d2)+_0x55a5ec,_0x29d128=(await this['_httpService'][_0x162edf(0x537)](_0x51f0c4))[_0x162edf(0x53f)],_0x5edc14=(_0x5cd488=_0x29d128[_0x162edf(0x205)])==null?void 0x0:_0x5cd488[_0x162edf(0x35c)];if(_0x5edc14){const _0x5d9bd8=_0x5edc14==null?void 0x0:_0x5edc14['originalMeta'],_0x5db68f=_0x4cecf[_0x162edf(0x493)][_0x162edf(0x30d)](_0x4cecf['b64DecodeUnicode'](_0x5d9bd8));_0x5edc14['originalMeta']=_0x5db68f,Object['entries'](_0x5edc14['sheets'])[_0x162edf(0x43b)](([,_0x5e8525])=>{var _0x8a4e6c=_0x162edf;const _0x5aaff0=_0x5e8525[_0x8a4e6c(0x335)],_0x536cc2=_0x4cecf['textEncoder'][_0x8a4e6c(0x30d)](_0x4cecf['b64DecodeUnicode'](_0x5aaff0));_0x5e8525[_0x8a4e6c(0x335)]=_0x536cc2;});}return _0x29d128;}async[_0x451c39(0x349)](_0x8d20fb,_0x31d1ac){var _0x29b423=_0x451c39;const {unitID:_0x5e4867,type:_0x278c1c,blockID:_0x59404a}=_0x31d1ac,_0x561bd9=this[_0x29b423(0x1f3)]()+'/'+_0x278c1c+_0x29b423(0x431)+_0x5e4867+_0x29b423(0x204)+_0x59404a;return(await this['_httpService']['get'](_0x561bd9))[_0x29b423(0x53f)];}async[_0x451c39(0x238)](_0x14f536,_0x19824d){var _0x4b86cb=_0x451c39;const {unitID:_0xd48c1a,type:_0x54e942,blockID:_0x1cdf04}=_0x19824d,_0x19f947=this[_0x4b86cb(0x1f3)]()+_0x4b86cb(0x204)+_0x54e942+_0x4b86cb(0x431)+_0xd48c1a+_0x4b86cb(0x204)+_0x1cdf04;return(await this['_httpService'][_0x4b86cb(0x537)](_0x19f947))[_0x4b86cb(0x53f)];}async[_0x451c39(0x345)](_0x12463d,_0x2e6c39){var _0x39b6f9=_0x451c39;const {unitID:_0x51db30,type:_0x5d6c95,from:_0x3958c9,to:_0xa056f}=_0x2e6c39,_0x22f75c=this['_getAPIPrefix']()+'/'+_0x5d6c95+'/unit/'+_0x51db30+'/fetchmissing?from='+_0x3958c9+_0x39b6f9(0x371)+_0xa056f;return(await this[_0x39b6f9(0x52d)][_0x39b6f9(0x537)](_0x22f75c))[_0x39b6f9(0x53f)];}[_0x451c39(0x2f8)](){var _0x2172c9=_0x451c39,_0x43d937;return(_0x43d937=this[_0x2172c9(0x448)][_0x2172c9(0x328)](_0x4ba355))!=null?_0x43d937:this[_0x2172c9(0x1f3)]();}[_0x451c39(0x1f3)](){var _0x25ec82=_0x451c39,_0x131528,_0x4adab6;const _0x48bb03=this[_0x25ec82(0x448)]['getConfig'](_0x1c7497),_0x3724b3=this['_configService'][_0x25ec82(0x328)](_0x33ccdf);return(_0x4adab6=(_0x131528=_0x3724b3==null?void 0x0:_0x3724b3[_0x25ec82(0x379)])!=null?_0x131528:_0x48bb03)!=null?_0x4adab6:_0x2928c;}async[_0x451c39(0x28e)](_0x2db04e,_0x4bb6c6){var _0x1c029a=_0x451c39;const _0x3be91e=_0x1c029a(0x4a0)+_0x4bb6c6['type']+_0x1c029a(0x431)+_0x4bb6c6['unitID']+_0x1c029a(0x4c2);return(await this[_0x1c029a(0x52d)][_0x1c029a(0x537)](_0x3be91e,{'params':{'resourceId':JSON[_0x1c029a(0x4a2)](_0x4bb6c6[_0x1c029a(0x53c)])}}))[_0x1c029a(0x53f)];}[_0x451c39(0x327)](){var _0x349446=_0x451c39;throw new Error(_0x349446(0x2cf));}['saveSheetBlock'](){var _0x318841=_0x451c39;throw new Error(_0x318841(0x2cf));}['saveChangeset'](){var _0x4b3d25=_0x451c39;throw new Error(_0x4b3d25(0x2cf));}[_0x451c39(0x396)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x451c39(0x2e9)](){var _0x390891=_0x451c39;throw new Error(_0x390891(0x2cf));}},_0x39a6cf[_0x451c39(0x317)]=_0x5d3c14([_0x527873(0x0,_0x2317f6[_0x451c39(0x1e4)]),_0x527873(0x1,_0x2317f6[_0x451c39(0x2b8)](_0x1b5960[_0x451c39(0x352)]))],_0x39a6cf[_0x451c39(0x317)]);var _0x5d1f07=Object[_0x451c39(0x272)],_0x1337c6=Object[_0x451c39(0x1f7)],_0xb6b852=(_0x5c4991,_0x1b8585,_0x2f1151,_0x37642d)=>{var _0x22b2a3=_0x451c39;for(var _0x1671b8=_0x37642d>0x1?void 0x0:_0x37642d?_0x1337c6(_0x1b8585,_0x2f1151):_0x1b8585,_0x54fb18=_0x5c4991[_0x22b2a3(0x429)]-0x1,_0x1195be;_0x54fb18>=0x0;_0x54fb18--)(_0x1195be=_0x5c4991[_0x54fb18])&&(_0x1671b8=(_0x37642d?_0x1195be(_0x1b8585,_0x2f1151,_0x1671b8):_0x1195be(_0x1671b8))||_0x1671b8);return _0x37642d&&_0x1671b8&&_0x5d1f07(_0x1b8585,_0x2f1151,_0x1671b8),_0x1671b8;},_0x117a7f=(_0x2b0912,_0xbd3e68)=>(_0x3dc96e,_0x1c4288)=>_0xbd3e68(_0x3dc96e,_0x1c4288,_0x2b0912);_0x39a6cf[_0x451c39(0x3fc)]=class extends _0x2317f6[_0x451c39(0x32b)]{constructor(_0x50fc86,_0x293c3d,_0x42408a,_0x4178c3,_0x1f028e){var _0x5e2b78=_0x451c39;super(_0x50fc86,_0x293c3d,_0x42408a),this[_0x5e2b78(0x2e4)]=_0x4178c3,this['_logService']=_0x1f028e;}[_0x451c39(0x528)](_0x273b83,_0x5d1211){var _0xbdfe00=_0x451c39;const _0xe642f0=this[_0xbdfe00(0x4aa)](_0x273b83);if(_0xe642f0)try{const _0x116a02=this['_transformStack'](_0xe642f0,_0x5d1211);this['_substituteUndoStack'](_0x273b83,_0x116a02);}catch(_0x3b0f9e){this[_0xbdfe00(0x2af)][_0xbdfe00(0x2d3)](_0xbdfe00(0x2c3),_0x3b0f9e),this[_0xbdfe00(0x37b)](_0x273b83);}const _0xf29710=this['_getRedoStack'](_0x273b83);if(_0xf29710)try{const _0x10f28d=this[_0xbdfe00(0x260)](_0xf29710,_0x5d1211);this['_substituteRedoStack'](_0x273b83,_0x10f28d);}catch(_0x1a3797){this[_0xbdfe00(0x2af)]['error'](_0x1a3797),this[_0xbdfe00(0x3b3)](_0x273b83);}}[_0x451c39(0x37b)](_0x50311b){var _0x40192b=_0x451c39;const _0x227faf=this[_0x40192b(0x4aa)](_0x50311b);_0x227faf&&(_0x227faf[_0x40192b(0x429)]=0x0,this[_0x40192b(0x39a)]());}['_clearRedo'](_0x5cc07f){var _0xa99f63=_0x451c39;const _0x1b762d=this[_0xa99f63(0x4ed)](_0x5cc07f);_0x1b762d&&(_0x1b762d['length']=0x0,this['_updateStatus']());}[_0x451c39(0x472)](_0x4e44ce,_0x1f50d0){var _0x51d628=_0x451c39;this[_0x51d628(0x42b)][_0x51d628(0x321)](_0x4e44ce,_0x1f50d0),this['_updateStatus']();}[_0x451c39(0x358)](_0xba8402,_0x3f6e63){var _0x341d5e=_0x451c39;this[_0x341d5e(0x307)][_0x341d5e(0x321)](_0xba8402,_0x3f6e63),this['_updateStatus']();}[_0x451c39(0x260)](_0x3d7765,_0x345484){var _0x212b2f=_0x451c39;const _0x225687=[];let _0x52a541=_0x345484,_0xc788fa=_0x345484;for(let _0x3472b4=_0x3d7765['length']-0x1;_0x3472b4>=0x0;_0x3472b4--){const {unitID:_0x36ebb4,undoMutations:_0x2baea5,redoMutations:_0x2c88e4}=_0x3d7765[_0x3472b4],_0x3ec682=this[_0x212b2f(0x2e4)][_0x212b2f(0x2e6)](_0x52a541,_0x2baea5),_0x50468f=this[_0x212b2f(0x2e4)][_0x212b2f(0x2e6)](_0xc788fa,_0x2c88e4);if(_0x4cecf[_0x212b2f(0x433)](_0x3ec682)||_0x4cecf[_0x212b2f(0x433)](_0x50468f)){this[_0x212b2f(0x2af)][_0x212b2f(0x2d3)](_0x212b2f(0x2c3),_0x212b2f(0x35e),_0x3ec682,_0x50468f);break;}_0x52a541=_0x3ec682['c1Prime'],_0xc788fa=_0x50468f[_0x212b2f(0x4a9)],_0x225687['push']({'unitID':_0x36ebb4,'undoMutations':_0x3ec682[_0x212b2f(0x2ab)],'redoMutations':_0x50468f[_0x212b2f(0x2ab)]});}return _0x225687['reverse']();}},_0x39a6cf[_0x451c39(0x3fc)]=_0xb6b852([_0x117a7f(0x0,_0x2317f6[_0x451c39(0x2db)]),_0x117a7f(0x1,_0x2317f6['ICommandService']),_0x117a7f(0x2,_0x2317f6[_0x451c39(0x223)]),_0x117a7f(0x3,_0x4cecf[_0x451c39(0x20c)]),_0x117a7f(0x4,_0x2317f6[_0x451c39(0x536)])],_0x39a6cf[_0x451c39(0x3fc)]);var _0x308836=Object[_0x451c39(0x272)],_0x588e03=Object[_0x451c39(0x1f7)],_0x4e407b=(_0x3b827e,_0x48b4c2,_0x354db3)=>_0x48b4c2 in _0x3b827e?_0x308836(_0x3b827e,_0x48b4c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x354db3}):_0x3b827e[_0x48b4c2]=_0x354db3,_0x12acc4=(_0x5a8697,_0x4eb9c7,_0x4885ef,_0x3e38d1)=>{for(var _0x49eceb=_0x3e38d1>0x1?void 0x0:_0x3e38d1?_0x588e03(_0x4eb9c7,_0x4885ef):_0x4eb9c7,_0x355a68=_0x5a8697['length']-0x1,_0x1dcd23;_0x355a68>=0x0;_0x355a68--)(_0x1dcd23=_0x5a8697[_0x355a68])&&(_0x49eceb=(_0x3e38d1?_0x1dcd23(_0x4eb9c7,_0x4885ef,_0x49eceb):_0x1dcd23(_0x49eceb))||_0x49eceb);return _0x3e38d1&&_0x49eceb&&_0x308836(_0x4eb9c7,_0x4885ef,_0x49eceb),_0x49eceb;},_0x3b1857=(_0x93a0da,_0x18660c)=>(_0x1d2116,_0x1eac1b)=>_0x18660c(_0x1d2116,_0x1eac1b,_0x93a0da),_0x3d8431=(_0x2b1de1,_0x18e7ed,_0x505031)=>_0x4e407b(_0x2b1de1,_0x18e7ed+'',_0x505031);const _0x5955a7='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x39a6cf[_0x451c39(0x4e1)]=class extends _0x2317f6[_0x451c39(0x524)]{constructor(_0x44db6e=_0xa4c703,_0x237c5f,_0x16bb1e,_0x427529){var _0x35ecee=_0x451c39;super(),this[_0x35ecee(0x523)]=_0x44db6e,this['_logService']=_0x237c5f,this[_0x35ecee(0x24a)]=_0x16bb1e,this[_0x35ecee(0x448)]=_0x427529;const {..._0xf8ac85}=_0x2317f6[_0x35ecee(0x269)]({},_0xa4c703,this[_0x35ecee(0x523)]);this[_0x35ecee(0x448)]['setConfig'](_0x33ccdf,_0xf8ac85);}[_0x451c39(0x29a)](){var _0x4b4961=_0x451c39;this[_0x4b4961(0x4cf)](),this[_0x4b4961(0x4f3)]();}[_0x451c39(0x4cf)](){var _0x8f6b9a=_0x451c39,_0x4757a2,_0xa6223a,_0x109d8e,_0x80e3db;this[_0x8f6b9a(0x24a)][_0x8f6b9a(0x437)](_0x2317f6['IUndoRedoService'])&&this['_logService']['error'](_0x8f6b9a(0x47a),_0x8f6b9a(0x4a1));const _0x19c2ba=_0x2317f6['mergeOverrideWithDependencies']([[_0x2317f6['IUndoRedoService'],{'useClass':_0x39a6cf[_0x8f6b9a(0x3fc)]}],[_0x39a6cf['CollaborationSessionService']],[_0x39a6cf[_0x8f6b9a(0x4cc)]],[_0x39a6cf['SheetTransformSelectionsService']],[_0x123313],[_0x2e430b],[_0x3939b7],[_0x331772],[_0x55eade],[_0x39a6cf[_0x8f6b9a(0x422)]],[_0x4b836a,{'useClass':(_0xa6223a=(_0x4757a2=this[_0x8f6b9a(0x523)])==null?void 0x0:_0x4757a2['socketService'])!=null?_0xa6223a:_0x39a6cf['CollaborationSocketService']}],[_0x4cecf[_0x8f6b9a(0x4f2)],{'useClass':_0x39a6cf['SnapshotServerOverHTTPService']}],[_0x2317f6['IAuthzIoService'],{'useClass':_0x39a6cf[_0x8f6b9a(0x34a)]}],[_0x417eb2[_0x8f6b9a(0x518)],{'useClass':_0x39a6cf['CollaborationImageIoService']}],[_0x2317f6['IMentionIOService'],{'useClass':_0x39a6cf[_0x8f6b9a(0x4f9)]}],[_0x39a6cf[_0x8f6b9a(0x27f)]],[_0x397363]],(_0x109d8e=this[_0x8f6b9a(0x523)])==null?void 0x0:_0x109d8e[_0x8f6b9a(0x3d3)]);if(!((_0x80e3db=this[_0x8f6b9a(0x523)])!=null&&_0x80e3db[_0x8f6b9a(0x294)])){const _0x5c76ea=_0x19c2ba[_0x8f6b9a(0x3c0)](([_0x5734f5])=>_0x5734f5===_0x2edb94);_0x5c76ea!==-0x1&&_0x19c2ba['splice'](_0x5c76ea,0x1);}_0x2317f6[_0x8f6b9a(0x256)](this['_injector'],_0x19c2ba);}['_initDependencies'](){var _0x388341=_0x451c39,_0x52eab0,_0x57ebc9,_0x479219;this['_injector'][_0x388341(0x537)](_0x1b5960[_0x388341(0x352)])[_0x388341(0x45e)]({'priority':0x14,'interceptor':_0x1b5960[_0x388341(0x3a1)]({'maxParallel':0x6})}),(_0x52eab0=this[_0x388341(0x523)])!=null&&_0x52eab0[_0x388341(0x293)]||(_0x57ebc9=this[_0x388341(0x24a)][_0x388341(0x537)](_0x57d8af,_0x2317f6['Quantity']['OPTIONAL']))==null||_0x57ebc9['disableLocalCache'](),(_0x479219=this[_0x388341(0x523)])!=null&&_0x479219[_0x388341(0x4bb)]&&_0x2317f6[_0x388341(0x271)](this[_0x388341(0x24a)],[[_0x123313]]),_0x2317f6[_0x388341(0x271)](this[_0x388341(0x24a)],[[_0x2e430b],[_0x39a6cf[_0x388341(0x27f)]],[_0x331772]]);}},_0x3d8431(_0x39a6cf[_0x451c39(0x4e1)],'pluginName',_0x5955a7),_0x39a6cf[_0x451c39(0x4e1)]=_0x12acc4([_0x2317f6[_0x451c39(0x3b2)](_0x4cecf['UniverCollaborationPlugin'],_0x614b46[_0x451c39(0x3db)],_0x1b5960[_0x451c39(0x286)]),_0x3b1857(0x1,_0x2317f6[_0x451c39(0x536)]),_0x3b1857(0x2,_0x2317f6[_0x451c39(0x2b8)](_0x2317f6[_0x451c39(0x334)])),_0x3b1857(0x3,_0x2317f6['IConfigService'])],_0x39a6cf['UniverCollaborationClientPlugin']),_0x39a6cf['AUTHZ_URL_KEY']=_0x3272af,_0x39a6cf[_0x451c39(0x4fa)]=_0x33ccdf,_0x39a6cf[_0x451c39(0x4ff)]=_0xed41dc,_0x39a6cf[_0x451c39(0x33d)]=_0x2b3f23,_0x39a6cf[_0x451c39(0x365)]=_0x2d9cc5,_0x39a6cf[_0x451c39(0x3f2)]=_0x3e06d8,_0x39a6cf[_0x451c39(0x2f0)]=_0x55eade,_0x39a6cf['CommentService']=_0x3939b7,_0x39a6cf[_0x451c39(0x45c)]=_0x5cfa0e,_0x39a6cf[_0x451c39(0x41e)]=_0x4123d4,_0x39a6cf['HEARTBEAT_INTERVAL_KEY']=_0x29f3e9,_0x39a6cf[_0x451c39(0x1e6)]=_0x4f600b,_0x39a6cf[_0x451c39(0x3a0)]=_0x4b836a,_0x39a6cf['ILocalCacheService']=_0x57d8af,_0x39a6cf[_0x451c39(0x266)]=_0x2420dd,_0x39a6cf[_0x451c39(0x554)]=_0x2edb94,_0x39a6cf[_0x451c39(0x305)]=0x3e8,_0x39a6cf[_0x451c39(0x2c7)]=_0x42100b,_0x39a6cf[_0x451c39(0x282)]=_0x1c7cd6,_0x39a6cf[_0x451c39(0x3b5)]=_0x20c477,_0x39a6cf[_0x451c39(0x45d)]=_0x57f1be,_0x39a6cf[_0x451c39(0x41f)]=_0x195685,_0x39a6cf[_0x451c39(0x3cd)]=_0x1c7497,_0x39a6cf[_0x451c39(0x48e)]=_0x4ba355,_0x39a6cf[_0x451c39(0x2a4)]=_0x140f3d,_0x39a6cf[_0x451c39(0x2cc)]=_0x1246ec,_0x39a6cf['deserializeToCombResponse']=_0x565f30,_0x39a6cf[_0x451c39(0x1ee)]=_0x38db53,_0x39a6cf[_0x451c39(0x3fa)]=_0x2323e5,Object[_0x451c39(0x272)](_0x39a6cf,Symbol['toStringTag'],{'value':_0x451c39(0x1ff)});}));function _0x2d7e(_0x4c44a4,_0xfbd9c3){var _0x12f21f=_0x12f2();return _0x2d7e=function(_0x2d7ed2,_0x384672){_0x2d7ed2=_0x2d7ed2-0x1df;var _0x559e96=_0x12f21f[_0x2d7ed2];return _0x559e96;},_0x2d7e(_0x4c44a4,_0xfbd9c3);}function _0x12f2(){var _0x59d3a1=['getTypeOfUnitAdded$','Subject','IDLE','origin','_collaborationSessionService','UniverSheetsPlugin','__esModule','/object/','AwaitingState','_awaitingChangeset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_retryCount','UUID','_eventService','requireSession','_state$','WorkbookEditablePermission','encryptBlock','_hasher','_resendWithTimeout','SYNCED','__Key__','_commentService','_startCollaboration','readAsDataURL','collaboration_new_changeset','take','_clearCollaborationTimeoutTimer','CollaborationUIEventId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','focused$','emitEvent','state$','AES','_onRemoteACK','@univerjs-pro/collaboration','serializeCombRequest','NOT_FOUND','CollaborativeUndoRedoService','getTime','OfflineState','slice','_iv','_oKey','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','LIVESHARE_NEW_HOST','execute','ciphertext','FAIL','onTransformRemoteChangesetByStateCache','downloadEndpointUrl','readyForCollab','disposeWithMe','executeCommand','@univerjs/core','_doReset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','key','concat','$super','ENSURE_SNAPSHOT_EXECUTION','synced','cmd','concatMap','_applyRemoteChangeset','\x0aAfter:\x20','_members$','failed\x20to\x20apply\x20missed\x20changesets!','_revisionService','createSocket','x-univer-host','decrypt','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SEND_CHANGESET_TIMEOUT_KEY','removeMember','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','DataLoaderService','_unlockTransition','ImageSourceType','updatePermissionPoint','unsubscribe','map','_mode','length','PERMISSION_DENIED','_undoStacks','appendMutation','open$','ONLINE','_compressMutationService','MD5','/unit/','_transformSelections','isTransformMutationsWithChangesetFailure','_ENC_XFORM_MODE','_updateState','_createInitialStateImpl','has','_onJoinRoomEvent','deepClone','SheetsSelectionsService','forEach','ERROR_IMAGE','charAt','IUndoRedoService','INTERNAL_ERROR','142963rwlcqI','ticket','_isPermissionRej','_scheduleCompleteTimestamp','LICENSE_EXPORT_SIZE_EXCEEDED','/universer-api/authz','mode','\x20to\x20','_configService','add','_initMergeInterceptor','session','fetch_missing','isTransformChangesetsSuccess','src','telemetry\x20info\x20is\x20not\x20initialized','getActiveSheet','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','hasOwnProperty','_init','createEncryptor','updateOfflineData','ALREADY_EXISTS','list','_waitForHeartbeatResponse','sessionStatus$','_handlerCallback','default','DEFAULT_COLLAB_WEB_SOCKET_URL','RETRY_CONNECTING_MAX_COUNT_KEY','registerHTTPInterceptor','_getSendChangesetTimeout','_map','isTransformMutationsWithChangesetSuccess','_sessionStatus$','APPLY_PERMISSION_DENIED','_nDataBytes','APPLY_NON_SEQUENTIAL_REVISION','post','JOIN_ROOM_NOT_EXISTS','_sendHeartbeatTimer','newCsEvent','bind','UPDATE_CURSOR','/universer-api/oidc/authpage','fromCollab','Undefined','resolve','[OfflineState]:\x20received\x20rejection.','_queuedRemoteChangesets','_substituteUndoStack','\x0aCurrent:\x20','CBC','BehaviorSubject','members','_networkConditionService','JOIN','collaMsg','[UniverCollaborationClientPlugin]','byteLength','unknown','buffer','_collabSessionService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','unit-cache-','_transformStateCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','parseChangesetToProtocol','unitInfo$','StreamCipher','selections','_unitID','?url=','DEFAULT_FILE_NAME','9176yEVeRU','_minBufferSize','loadUnit','next','SNAPSHOT_URL_KEY','clamp','getUnit','updateCursorEvent','algo','textEncoder','save\x20fail\x20reason\x20is\x20','_onUserLeave','encrypt','splice','incrementRevOfUnit','BASE64','getUnitStatus$','pipe','objects','floor','subject','UNIVER_SLIDE','/universer-api/snapshot/','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','stringify','onTransformState','waitForRoom$','Utf8','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','SheetPermissionInitController','authzUrl','c1Prime','_getUndoStack','session.room-cnt-exceeds','ceil','_onRemoteChangeset','_getCtorByUniverType','href','_rescheduleHeartbeat','_localeService','INGEST','_keySchedule','put','connection\x20error','firstValueFrom','call','range','Disposable','_startTelemetryCollaborationNewChangeset','enableAuthServer','_xformMode','_socket','getRandomValues','_http','close$','_onLocalMutation','/resources','dispose','_initUnitPermissionChange','createDecryptor','offline','SheetTransformSelectionsService','/-/object/-/batch_allowed','AWAITING_WITH_PENDING','_clearTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','MemberService','_event$','_commandService','_registerDependencies','ERROR_EXCEED_SIZE','SyncedState','/rev/','reset','SNAPSHOT_HAS_BEEN_REMOVED','CommandType','startTime','/new_changes','closeSession','charCodeAt','exports','{fileID}','onRemoteRetry','CONFLICT','_telemetryService','_transformRemoteChangesetByIMECache','pauseCollaboration','UniverCollaborationClientPlugin','APPLY_DUPLICATED','_initRequestHeader','_sessions','delay','JSONX','target','byteOffset','localCacheService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onCombEvent','HEARTBEAT','_getRedoStack','blockSize','join','not_collab','_commentUpdate$','ISnapshotServerService','_initDependencies','loadDoc','_resendTimer','updatePermissionObjEvent','json','_loadSheet','MentionIoHttpService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isPermissionRej','leaveEvent','CollaborationImageIoService','UnitEmbedded','COLLAB_SUBMIT_CHANGESET_URL_KEY','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_hash','@univerjs-pro/license','_timeoutTimer','mapDocumentTypeToUniverType','changesets','baseRev','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','collaborators','type','_fetchMissChangesets','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','USERS_ENTER','fetchThroughInterceptors','_decreaseWaiting','Base64','1090tFCdkY','LEAVE','EmptyMutation','APPLY_REJECT','2693411Lolucg','HmacMD5','then','objectActions','IImageIoService','Tools','_createHelper','find','_throwTelemetryCollaborationNewChangeset','update','BlockCipher','HmacSHA1','reqId','_roomMembers','_onRemoteRejected','_config','Plugin','/-/object/list','textRanges','image/bmp','transformUndoRedo','EXCHANGE_SIGN_URL_SERVER_URL_KEY','kdf','[PendingState]:\x20received\x20acknowledgement.','WordArray','_httpService','_stopTelemetryCollaborationNewChangeset','_socketReady','size','_socketMessageSubscription','_telemetryInfo','image/gif','UniverTelemetry','rxjs/operators','ILogService','get','TOO_MANY_REQUESTS','_remoteChangesetQueue','Error\x20on\x20receiving\x20event','getUnitOnRev','resourceIDs','_tryEnsureSocket','keySize','body','getFocusedUnit','sin','_undoRedoService','_getSessionTicket','@univerjs/sheets','_type','[CollaborationEntity]','max','operators','Workbook','putCollaborators','cfg','file','getInterceptPoints','msCrypto','clear','YUUMI_URL_COL_OUT_OF_RANGE','patch','_univerInstanceService','FileId','ISingleActiveUnitService','YUUMI_SUBSCRIPTION_NOT_FOUND','listCollaborators','finalize','ivSize','_clearLocalCache','_sheetTransformSelectionsService','IConfigService','univer-pro.collaboration-client.network-condition.service','HEARTBEAT_TIMEOUT_KEY','HELLO','COLLAB_SUBMIT_CHANGESET_URL','_memberService','joinEvent','fetching\x20missing\x20changesets\x20from\x20','location','decryptBlock','getLocalCacheKey','parseProtocolChangeset','FETCH_MISSING','onlyLocal','_permissionService','_getAPIPrefix','now','onSendChangeset','csAckEvent','getOwnPropertyDescriptor','_incrementRevisionNumber','randomUUID','Hex','message$','onSyncEditingCollabCursor','_scheduleCollaborationTimeoutTimer','objectType','Module','_retryConnectingTimer','fromCharCode','MSG_FOR_ERROR','addImageSourceCache','/block/','snapshot','format','ICommandService','mixIn','RECV','entityInit$','PY_RUNTIME_SCRIPT_ERROR','ITransformService','string','onRemoteAck','error$','9621bAbHbt','indexOf','Rectangle','_getCurrentRevision','CHANGESET_SHOULD_RETRY','_getUploadFileURL','toString','unitID','getTypeOfUnitDisposed$','dispose$','getValue','UNDEFINED','onTransformSelections','generateRandomId','NoPadding','RevisionService','&source=','actions','getCollabEntity','IContextService','crypto','every','toDisposable','@univerjs/docs','/collaborator','search','retryConnectingInterval','_doFinalize','_checkMissing','params','UnitSnapshot','CompressMutationService','amd','onCommentUpdate','USERS_LEAVE','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','editing\x20status\x20changed\x20to','unitId','\x20in\x20_schedule.','getDeserializedSheetBlock','univer-pro.collaboration-client-socket-service','UNISCRIPT_RUN','loadOfflineData','GLOBAL_ROOMS_CNT_EXCEEDS','hasher','UNRECOGNIZED','_socketService','_shouldReportTelemetry','mutations','extend','getMemberID','_tryReconnect','CollaborationSocketService','UNIVER_UNKNOWN','onMissingChangesets','_parse','BlockCipherMode','_injector','_singleActiveUnitService','isArray','subUnitId','SheetCollaborationEntity','[SyncedState]:\x20received\x20rejection.','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_sender','HttpImport','toLowerCase','LIVESHARE_REQUEST_HOST','_doCryptBlock','registerDependencies','APPLY_REVISION_CONFILICT','method','getWorkbookSelections','_submitChangeset','compute','readInt32LE','_createHandler','YUUMI_RATE_OVER_LIMIT','interceptor','_transformStack','function','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','send','JOINING','9276OTEyqL','INetworkConditionService','onTransformRemoteChangesetByIMECache','padding','merge','url','setCurrentUser','saveImage','confirm','name','_syncEditingCollabCursor','_iKey','touchDependencies','defineProperty','FetchingMissState','complete','onMissedChangesetFetched','getUnitId','[CollaborationSession]','HMAC','socket\x20open.','ISocketService','userID','6830624ikMtYA','apply','uploadFileServerUrl','CollaborationController','LocaleService','UniverNetwork','LOGIN_URL_KEY','@univerjs/telemetry','onRemoteRej','transformChangesets','UniverNetworkPlugin','SOCKET_FAILED','HttpExport','CHANGESET_REVISION_CONFILICT','lib','push','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_MAX_UNITS_EXCEEDED','getResourcesRequest','_getLoginPath','_sendingTimer','InsertSheetMutation','online$','enableOfflineEditing','enableSingleActiveInstanceLock','20183920uDSPDr','catch','salt','close','PENDING','onStarting','JOIN_ROOM_PERMISSION_DENIED','reject','reconnect','/universer-api/uniscript','updateMember','shouldCloseConn','socket$','create','CollaborationEntity','SessionStatus','random','MUTATION','status$','data','COMMENT_UPDATE','[DataLoaderService]','m2Prime','_prevBlock','change$','IPermissionService','_logService','RichTextEditingMutation','takeUntil','_sendHeartbeat','_acknowledgedAwaitingChangeset','\x20-\x20','initWorkbookPermissionChange','UNIVER_DOC','_onConnectionOpen','Inject','LIVESHARE_TERMINATE','uniscriptRunEvent','__creator','awaitingChangeset','values','UNKNOWN_CODE','_schedule','JOIN_ROOM_FAILED','LIVESHARE_FETCH_OPERATIONS','_getDownloadEndpointURL','[CollaborationUndoRedoService]','commentUpdateEvent','_change$','conflict','LOCAL_CACHE_INTERVAL_KEY','_initCloseConn','UNIVER_PROJECT','[SyncedState]:\x20received\x20acknowledgement.','OTHER_CLIENT_EDITING','UnitStatus','stopTime','_showConflictNotification','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_key','_collaborationTimeoutTimer','objectID','error','PSEUDO_FETCH_MISSING_RESULT','_onMessage','DocCollaborationEntity','sessionStatus','SHA1','BufferedBlockAlgorithm','?size=','IUniverInstanceService','abs','PendingState','onStateChange','iterations','_append','LICENSE_DISTRO_REJECTED','duration','collaboration-client.local-cache-service','_transformService','sid','transformMutationsWithChangeset','OpenSSL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getLatestCsReqIdBySid','_reverseMap','getImage','_lockTransition','title','IAuthzIoService','MentionType','CollaborationUIEventService','commentUpdate$','UniverInstanceType','CollaborationSessionService','People','_pendingMutations','_handler','CollaborationSession','getSnapshotAPIPath','words','pad','UniverProCollaboration','AwaitingWithPendingState','POST','getCurrentUser','_removeRoom','[CollaborationSessionService]','clone','hostname','@univerjs/drawing','object','LOCAL_CACHE_INTERVAL','[CollaborationState]:\x20apply\x20error!','_redoStacks','rxjs','localeService','HEARTBEAT_INTERVAL','UNKNOWN_CMD','_instanceService','encode','routeKey','_replayCachedMutations','requestParams','EvpKDF','addHandlerCallback','_collaborationUIEventService','JOIN_ROOM_FULL','_status$','unitId\x20is\x20not\x20found','SnapshotServerOverHTTPService','CollaborationEvent','eventID','/allowed','setShowComponents','_unitInfo$','_onFetchMissResult','_createInitialState','getRoom','_exhaustRemoteChangesetQueue','set','_createHmacHelper','_entities','isInternalEditorID','debug','onTransformIME','saveSnapshot','getConfig','toggleOffline','_changesetSessionId','LocalUndoRedoService','setWaitCount','SUBMIT_CHANGESET','revision','repeat','COLLAB_WEB_SOCKET_URL','INVALID_ARGUMENT','withCredentials','_waitCount','Injector','originalMeta','awaiting','_localCacheService','COMPLETION_FINISHED','SHOULD_CLOSE_CONN','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','UPDATE_PERMISSION_OBJ','roles','COLLAB_WEB_SOCKET_URL_KEY','_state','status','_onConflict','getMember','code','_cipher','LIVESHARE_OPERATION','fetchMissingChangesets','transformSelections','getAllMembers','fetchMiss','getSheetBlock','AuthzIoHttpService','_clearScheduledTask','_keyPriorReset','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','prototype','delete','SOCKET_FAILED_RETRY','liveShareNewHost','HTTPService','editingUnit','listRoles','_transformRemoteChangesetByStateCache','SerializableCipher','image/jpg','_substituteRedoStack','permissionRejEvent','enc','ConflictState','workbook','rev','transformStack\x20failed!','memberID','_entityInit$','HTTPRequest','infoRsp','formatter','LICENSE_IMPORT_SIZE_EXCEEDED','CollaborationStatus','sigBytes','_nRounds','asObservable','_snapshotServerService','awaiting_with_pending','COMPRESS_MUTATION_SEND','createIdentifier','RxDisposable','/universer-api/comb','CLOSE_ROOM','SUBMIT_CHANGESET_TIMEOUT','&to=','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','Base','onCommandExecuted','Decryptor','_updateLocalCache','3453657BIIehK','_onOffline','snapshotServerUrl','parse','_clearUndo','CONNECTOR_DATA_TOO_LARGE','compose','_changesetReqId','_socket$','SetSelectionsOperation','AUTHZ_URL_KEY','OTHER_CLIENTS_EDITING','6qpqayW','_imageSourceCache','PERSON','PERMISSION_REJ','ImageUploadStatusType','deleteCollaborator','UniverDocs','_joinRoom','runId','collaboration-client.config','_onRecvEvent','/universer-api/file/{fileID}/sign-url','_data','init','_candidateSocket','_collaborationPaused','randomBytes','_disableEditing','_roomCreated$','copyFileMeta','subscribe','createInstance','reduce','_updateStatus','session.join-failed','_invKeySchedule','/role','UNIVER_SHEET','UniverProLicense','ICollaborationSocketService','ThresholdInterceptorFactory','headers','_executeRemoteChangeset','unpad','_createSocketURL','_process','getCurrentRevOfUnit','toggleOnline','_onUserJoin','event$','CHANGESET_REJ','_replaceFileID','Optional','session.room-not-exists','CHANGESET_ACK','_transformUndoredo','Hasher','DependentOn','_clearRedo','result','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getGlobalObject','YUUMI_UNABLE_LOAD_URL','onRemoteChangeset','filter','createCollaborator','_resendTimeout','@univerjs/network','getCollabEntity$','getUnitType','Could\x20not\x20dynamically\x20require\x20\x22','findIndex','_getAPIPrefixPath','resend','_toggleOffline','_userManagerService','Encryptor','/universer-api/snapshot','_listenToNetworkCondition','_DEC_XFORM_MODE','_authzIoService','_onConnectionFailed','_transitionLocked','_snapshotService','SNAPSHOT_SERVER_URL_KEY','getCurrentSelections','/universer-api/stream/file/upload','roomInfos','AWAITING','_toggleOnline','override','OFFLINE','_members'];_0x12f2=function(){return _0x59d3a1;};return _0x12f2();}
1
+ function _0x12a7(){var _0x3bf3b3=['state$','registerDependencies','collaborators','operators','body','lib','every','_createHelper','_logService','AuthzIoHttpService','objectType','send','roomInfos','LIVESHARE_OPERATION','connection\x20error','UnitEmbedded','36863134lAWfSB','getMember','socket$','_transformRemoteChangesetByStateCache','session.room-cnt-exceeds','commentUpdate$','_invKeySchedule','action','_keyPriorReset','_snapshotService','_roomCreated$','online$','isTransformChangesetsSuccess','exports','sigBytes','_singleActiveUnitService','toggleOffline','ERROR_IMAGE','clamp','_clearCollaborationTimeoutTimer','_sessions','PY_RUNTIME_SCRIPT_ERROR','setShowComponents','readInt32LE','_transformService','JSONX','name','debug','IUniverInstanceService','asObservable','searchParams','BehaviorSubject','/universer-api/authz','startTime','$super','onMissingChangesets','[SyncedState]:\x20received\x20rejection.','session','ImageUploadStatusType','localeService','_queuedRemoteChangesets','DataLoaderService','AES','onCommandExecuted','/universer-api/stream/file/upload','/universer-api/comb','EvpKDF','_nRounds','SHOULD_CLOSE_CONN','push','range','_init','_compressMutationService','FileId','from','string','roles','delete','/universer-api/user/session-ticket','_throwTelemetryCollaborationNewChangeset','abs','max','_resendWithTimeout','_collaborationSessionService','_toggleOffline','reconnect','enableOfflineEditing','_http','_config','_entityInit$','/unit/','refreshPermission','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/object/','close$','reject','NEW_CHANGESETS','onCommentUpdate','x-univer-host','DisposableCollection','UniverSheetsPlugin','BufferedBlockAlgorithm','_socket','Cipher','event$','SnapshotServerOverHTTPService','memberID','mixIn','pending','encrypt','univer-pro.collaboration-client.single-active-unit-service','session.room-permission-denied','\x20in\x20_schedule.','_schedule','MentionIoHttpService','ivSize','SheetTransformSelectionsService','UNKNOWN_CODE','_onUserLeave','_onRemoteACK','originalMeta','@univerjs/sheets','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LIVESHARE_TERMINATE','_startCollaboration','IPermissionService','ISingleActiveUnitService','amd','init','\x20-\x20','sequenceExecute','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_localCacheService','_eventService','decryptBlock','171kMyaMA','_resendTimeout','RxDisposable','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','ALREADY_EXISTS','deleteCollaborator','updateCollaborator','awaiting','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','CollaborationEntity','CONNECTOR_DATA_TOO_LARGE','HmacMD5','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_removeRoom','kdf','FetchingMissState','_imageSourceCache','IImageIoService','unknown','_transformSelections','capture','isTransformMutationsWithChangesetSuccess','ImageSourceType','_shouldReportTelemetry','executeCommand','AWAITING_WITH_PENDING','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_roomMembers','getDeserializedSheetBlock','Injector','getImage','values','_clearScheduledTask','loginUrlKey','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','LICENSE_DISTRO_REJECTED','_redoStacks','YUUMI_UNABLE_LOAD_URL','registerHTTPInterceptor','getMemberID','_ENC_XFORM_MODE','resolve','_state$','SNAPSHOT_INVALID_SNAPSHOT','takeUntil','saveSnapshot','_onLocalMutation','readyForCollab','encodeURIComponent','Base64','_unitInfo$','_listenToNetworkCondition','mapDocumentTypeToUniverType','hostname','waitForRoom$','Encryptor','location','/universer-api/snapshot','reqId','updatePermissionObjEvent','CipherParams','processBlock','prototype','YUUMI_URL_COL_OUT_OF_RANGE','_socketService','/role','_collaborationPaused','_updateState','compute','_acknowledgedAwaitingChangeset','stopTime','ONLINE','uniscriptRunEvent','getUnitStatus$','_cipher','saveImage','&to=','isTransformMutationsWithChangesetFailure','textEncoder','APPLY_NON_SEQUENTIAL_REVISION','disposeWithMe','_sendHeartbeatTimer','addImageSourceCache','_httpService','/-/object/list','_entities','[SyncedState]:\x20received\x20acknowledgement.','unsubscribe','mutations','LOCAL_CACHE_INTERVAL_KEY','_minBufferSize','objectID','snapshotServerUrl','INTERNAL_ERROR','_permissionService','@univerjs-pro/license','/fetchmissing?from=','_socketReady','_getDownloadEndpointURL','reduce','finalize','NOT_COLLAB','/universer-api/snapshot/','clear','not_collab','Subject','code','UNIVER_COLLABORATION_CLIENT_PLUGIN','YUUMI_SUBSCRIPTION_NOT_FOUND','_data','delay','UnitSnapshot','_tryEnsureSocket','UniverProCollaborationClient','LEAVE','UniverTelemetry','_waitCount','_onRecvEvent','liveShareOperation','findIndex','_joinRoom','CHANGESET_SHOULD_RETRY','DependentOn','closeSession','Univer','_lockTransition','enc','_xformMode','UniverProLicense','open$','_reverseMap','offline','SYNCED','_onUserJoin','_unitID','getAllMembers','_onCombEvent','_stopTelemetryCollaborationNewChangeset','getUnitId','loadUnit','append','override','USERS_ENTER','randomUUID','_clearTimeoutTimer','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','then','[CollaborationSessionService]:\x20socket\x20error','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','APPLY_REJECT','extend','[CollaborationEntity]','dispose$','CollaborationSessionService','UniverCollaborationClientPlugin','IAuthzIoService','COLLAB_WEB_SOCKET_URL_KEY','CollaborationUIEventService','_event$','HEARTBEAT_TIMEOUT_KEY','session.join-failed','sessionStatus','People','@univerjs/telemetry','RECV','resourceIDs','file','save\x20fail\x20reason\x20is\x20','[CollaborationSession]','rng','conflict','_startTelemetryCollaborationNewChangeset','enableAuthServer','subUnitId','hasOwnProperty','ReplaySubject','ITelemetryService','getTypeOfUnitAdded$','_instanceService','_initRequestHeader','rxjs/operators','_sender','objects','unitId\x20is\x20not\x20found','_createHmacHelper','updateOfflineData','fetchThroughInterceptors','SOCKET_FAILED','_status$','_revisionService','object','_mode','_clearUndo','SUBMIT_CHANGESET','createSocket','_replaceFileID','getActiveSheet','stringify','awaiting_with_pending','/allowed','Quantity','equals','_doFinalize','eventID','[PendingState]:\x20received\x20rejection.','sin','blockSize','getFocusedUnit','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_userManagerService','_syncEditingCollabCursor','ENSURE_SNAPSHOT_EXECUTION','readAsDataURL','target','_retryConnectingTimer','_clearRedo','JOIN_ROOM_FULL','HttpExport','authzUrl','dispose','_snapshotServerService','length','confirm','UniverCollaborationPlugin','getCurrentSelections','onlyLocal','_getUploadFileURL','onRemoteChangeset','SheetCollaborationEntity','10IfNNyi','interceptor','fromCharCode','CHANGESET_REJ','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_createInitialState','encryptBlock','_createHandler','ws://127.0.0.1:8000/universer-api/comb/connect','NO_OTHER_CLIENTS_EDITING','iterations','url','getTime','LocaleService','SyncedState','UNDEFINED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[UniverCollaborationClientPlugin]','Decryptor','startsWith','parse','COLLAB_SUBMIT_CHANGESET_URL_KEY','onRemoteAck','encode','create','listRoles','__esModule','generateRandomId','pad','COLLAB_SUBMIT_CHANGESET_URL','SerializableCipher','merge','createIdentifier','_transitionLocked','_onFetchMissResult','loadSheet','unit-cache-','algo','loadDoc','SEND_CHANGESET_TIMEOUT','patch','IMentionIOService','cfg','CONFLICT','salt','clone','SessionStatus','Workbook','_sessionStatus$','listCollaborators','headers','concat','synced','type','_getUndoStack','updateCursorEvent','UniverProCollaboration','set','transformStack\x20failed!','requestParams','_emitMembers','UPDATE_CURSOR','getCollabEntity$','default','_candidateSocket','PERMISSION_DENIED','transformChangesets','_getSessionTicket','_collaborationUIEventService','_doCryptBlock','Utf8','Plugin','COMPLETION_FINISHED','HTTPRequest','_getCurrentRevision','HmacSHA1','onTransformRemoteChangesetByIMECache','Inject','reset','[OfflineState]:\x20received\x20changeset.','collaboration-client.local-cache-service','AwaitingWithPendingState','compose','HMAC','changesets','HEARTBEAT_INTERVAL_KEY','OFFLINE','_handler','isInternalEditorID','_onMessage','_exhaustRemoteChangesetQueue','sid','FETCH_MISSING','members$','_transformStack','transformUndoRedo','SheetPermissionInitController','updateMember','_onRemoteChangeset','getCurrentRevOfUnit','_onRemoteRetry','_unlockTransition','34796NGzqCp','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onJoinRoomEvent','hasher','_univerInstanceService','_undoStacks','SOCKET_FAILED_RETRY','duration','[FetchMissState]','ILocalCacheService','_localeService','_changesetReqId','get','PSEUDO_FETCH_MISSING_RESULT','_commandService','application/json','join','csShouldRetryEvent','touchDependencies','HEARTBEAT','&assign=','CHANGESET_REVISION_CONFILICT','saveSheetBlock','[OfflineState]:\x20received\x20rejection.','UNIVER_DOC','members','next','BlockCipher','SNAPSHOT_SERVER_URL_KEY','signUrlServerUrl','onMissedChangesetFetched','sessionStatus$','sheets','_remoteChangesetQueue','_updateLocalCache','collaMsg','@univerjs-pro/collaboration','PasswordBasedCipher','MentionType','\x20to\x20','_scheduleCollaborationTimeoutTimer','FETCH_MISS','?url=','COMPRESS_MUTATION_APPLY','status$','_sendHeartbeat','repeat','c1Prime','[DataLoaderService]','POST','getCurrentUser','UUID','ITransformService','getResourcesRequest','getWorkbookSelections','InsertSheetMutation','toStringTag','UniverInstanceType','AUTHZ_URL_KEY','getRandomValues','&source=','getConfig','CollaborationEvent','format','csAckEvent','byteOffset','CollaborationImageIoService','updatePermissionPoint','UNIVER_SLIDE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','IDLE','_prevBlock','COLLAB_WEB_SOCKET_URL','JOINING','incrementRevOfUnit','APPLY_DUPLICATED','onTransformState','cmd','_injector','_createInitialStateImpl','words','_rescheduleHeartbeat','_clearHeartbeatTimer','_getSignURL','SnapshotService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_socket$','_undoRedoService','appendMutation','RETRY_CONNECTING_MAX_COUNT','collabWebSocketUrl','complete','LIVESHARE_REQUEST_HOST','withCredentials','UNIVER_SHEET','_getSendChangesetTimeout','UniverDrawing','_commentUpdate$','Malformed\x20UTF-8\x20data','BlockCipherMode','fetch_missing','image/gif','INGEST','_pendingMutations','_state','SNAPSHOT_URL_KEY','UnitStatus','5508505HBYzNh','_onConflict','editing\x20status\x20changed\x20to','getInterceptPoints','@univerjs/docs','_substituteRedoStack','COMPRESS_MUTATION_SEND','ICollaborationSocketService','_getAPIPrefixPath','[CollaborationSessionService]','_registerDependencies','selections','baseRev','/rev/','_updateStatus','ERROR_IMAGE_TYPE','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/drawing','LOCAL_CACHE_INTERVAL','ERROR_EXCEED_SIZE','emitEvent','_doReset','SUBMIT_CHANGESET_TIMEOUT','WorkbookEditablePermission','revision','JOIN_ROOM_PERMISSION_DENIED','_append','pipe','GLOBAL_ROOMS_CNT_EXCEEDS','UNAUTHENTICATED','APPLY_REVISION_CONFILICT','_substituteUndoStack','mode','LocalUndoRedoService','error','TOO_MANY_REQUESTS','CollaborativeUndoRedoService','RichTextEditingMutation','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','AwaitingState','CompressMutationService','createDecryptor','_transformRemoteChangesetByIMECache','_incrementRevisionNumber','c2Prime','crypto','Error\x20on\x20receiving\x20event','_submitChangeset','sessionTicket','PendingState','add','pauseCollaboration','_telemetryInfo','_parse','SHA1','getLocalCacheKey','getSheetId','_socketMessageSubscription','change$','transformMutationsWithChangeset','_change$','getUnitOnRev','filter','getSheetBlock','UNISCRIPT_RUN','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','defineProperty','isPermissionRej','OfflineState','_initMergeInterceptor','HELLO','_createSocket','failed\x20to\x20apply\x20missed\x20changesets!','data','_transformUndoredo','method','BASE64','getOwnPropertyDescriptor','take','_getCtorByUniverType','indexOf','?size=','subscribe','leaveEvent','/universer-api/uniscript','SetSelectionsOperation','onload','_fetchMissChangesets','disableLocalCache','Optional','onStateChange','\x0aCurrent:\x20','list','randomBytes','toString','origin','YUUMI_RATE_OVER_LIMIT','INetworkConditionService','_initCloseConn','_oKey','parseProtocolChangeset','2LspPkz','image/png','getUnitType','onLocalMutation','entityInit$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HttpImport','[PendingState]:\x20received\x20acknowledgement.','_networkConditionService','_DEC_XFORM_MODE','deepClone','apply','downloadEndpointUrl','DocCollaborationEntity','[CollaborationState]:\x20apply\x20error!','PERSON','workbook','charCodeAt','runId','routeKey','SheetsSelectionsService','RETRY_CONNECTING_MAX_COUNT_KEY','has','_map','permissionRejEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IConfigService','ILogService','rxjs','createEncryptor','padding','842605NcAMpK','_nDataBytes','getUnit','_onRemoteRejected','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','INVALID_ARGUMENT','@univerjs/core','ISnapshotServerService','toggleOnline','_timeoutTimer','transformSelections','message$','CommentService','fromCollab','_memberService','_checkMissing','_getRedoStack','_handlerCallback','CollaborationSocketService','_changesetSessionId','\x0aAfter:\x20','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','6kyoKlC','/block/','userID','charAt','_key','params','MUTATION','sendChangesetTimeout','getGlobalObject','loadOfflineData','shouldCloseConn','_process','focused$','CLOSE_ROOM','_onOffline','catch','Tools','APPLY_PERMISSION_DENIED','ceil','/universer-api/file/{fileID}/sign-url','post','SUCCUSS','put','_initDependencies','setCurrentUser','_HTTPService','serializeCombRequest','onSyncEditingCollabCursor','_members','OpenSSL','NOT_FOUND','Module','decrypt','UserManagerService','UniverSheets','HTTPService','onTransformSelections','close','getValue','reverse','_scheduleCompleteTimestamp','collaboration-client.config','now','toDisposable','Hex','JOIN_ROOM_NOT_EXISTS','m2Prime','CollaborationSession','key','CommandType','_type','_hash','getImageSourceCache','_awaitingChangeset','Undefined','Base','_collaborationTimeoutTimer','splice','4966672kErOgV','RevisionService','execute','ciphertext','_replayCachedMutations','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','session.room-not-exists','LIVESHARE_FETCH_OPERATIONS','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','/resources','keySize','function','rev','putCollaborators','_decreaseWaiting','LIVESHARE_NEW_HOST','find','_members$','CHANGESET_ACK','localCacheService','USERS_LEAVE','ICommandService','auth.needGotoLoginAlert','JOIN_ROOM_FAILED','_sheetTransformSelectionsService','JOIN','LICENSE_IMPORT_SIZE_EXCEEDED','_executeRemoteChangeset','NoPadding','PERMISSION_REJ','MD5','UNKNOWN_CMD','substr','unitId','_iKey','_onConnectionFailed','collaboratorID','floor','resend','UNIVER_UNKNOWN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','PENDING','byteLength','/collaborator','univer-pro.collaboration-client-socket-service','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Hasher','src','unpad','UNRECOGNIZED','removeMember','slice','CollaborationController','ConflictState','onSendChangeset','onTransformIME','OTHER_CLIENT_EDITING','replace','12767787MDxKNx','IUndoRedoService','_clearLocalCache','bind','random','href','FAIL','shareReplay','uploadFileServerUrl','update','UNIVER_PROJECT','_toggleOnline','symbol','__creator','WordArray','enableSingleActiveInstanceLock','_onConnectionOpen','LICENSE_EXPORT_SIZE_EXCEEDED','MSG_FOR_ERROR','@univerjs/network','image/jpeg','1603602xYiqPE','LICENSE_MAX_UNITS_EXCEEDED','_commentService','_retryCount','_getAPIPrefix','socket\x20open.','Latin1','onRemoteRetry','_telemetryService','UniverNetwork','unitID','_resendTimer','actions','_configService','fetchMissingChangesets','state','_transformStateCache','ThresholdInterceptorFactory','result','__Key__','COMMENT_UPDATE','fetchMiss','_hasher','batchAllowed','size','awaitingChangeset','MemberService','joinRsp','[OfflineState]:\x20received\x20acknowledgement.','map','_disableEditing','/-/object/-/batch_allowed','CollaborationStatus','copyFileMeta','_authzIoService','status','OTHER_CLIENTS_EDITING','liveShareNewHost','_iv','createInstance','forEach','isArray','call','/object','Disposable','getTypeOfUnitDisposed$','_sendingTimer','onRemoteRej','LOGIN_URL_KEY','requireSession','ISocketService','onTransformRemoteChangesetByStateCache','IContextService','subject'];_0x12a7=function(){return _0x3bf3b3;};return _0x12a7();}function _0x1553(_0x159f83,_0x19cf58){var _0x12a7eb=_0x12a7();return _0x1553=function(_0x1553f7,_0x1f46c3){_0x1553f7=_0x1553f7-0x78;var _0x19e5ab=_0x12a7eb[_0x1553f7];return _0x19e5ab;},_0x1553(_0x159f83,_0x19cf58);}(function(_0x4189bb,_0x8acc6a){var _0x429b09=_0x1553,_0x545df8=_0x4189bb();while(!![]){try{var _0x3a0b7a=-parseInt(_0x429b09(0x216))/0x1*(-parseInt(_0x429b09(0x1f7))/0x2)+parseInt(_0x429b09(0x36e))/0x3*(-parseInt(_0x429b09(0x127))/0x4)+-parseInt(_0x429b09(0x192))/0x5*(parseInt(_0x429b09(0x22c))/0x6)+parseInt(_0x429b09(0x2b5))/0x7+-parseInt(_0x429b09(0x266))/0x8+-parseInt(_0x429b09(0x2a0))/0x9*(parseInt(_0x429b09(0xc1))/0xa)+parseInt(_0x429b09(0x2fb))/0xb;if(_0x3a0b7a===_0x8acc6a)break;else _0x545df8['push'](_0x545df8['shift']());}catch(_0x21ac2e){_0x545df8['push'](_0x545df8['shift']());}}}(_0x12a7,0xbfdc8),function(_0x2153de,_0x5189ad){var _0x113217=_0x1553;typeof exports==_0x113217(0x9a)&&typeof module<'u'?_0x5189ad(exports,require(_0x113217(0x21c)),require(_0x113217(0x213)),require(_0x113217(0x90)),require(_0x113217(0x2b3)),require(_0x113217(0x14b)),require(_0x113217(0x7f)),require(_0x113217(0x196)),require(_0x113217(0x360)),require(_0x113217(0x1a3)),require(_0x113217(0x3cd))):typeof define==_0x113217(0x271)&&define[_0x113217(0x366)]?define([_0x113217(0x308),_0x113217(0x21c),'rxjs','rxjs/operators',_0x113217(0x2b3),_0x113217(0x14b),_0x113217(0x7f),'@univerjs/docs',_0x113217(0x360),_0x113217(0x1a3),_0x113217(0x3cd)],_0x5189ad):(_0x2153de=typeof globalThis<'u'?globalThis:_0x2153de||self,_0x5189ad(_0x2153de[_0x113217(0x3df)]={},_0x2153de['UniverCore'],_0x2153de[_0x113217(0x213)],_0x2153de[_0x113217(0x213)][_0x113217(0x2ee)],_0x2153de[_0x113217(0x2be)],_0x2153de[_0x113217(0xf9)],_0x2153de[_0x113217(0x3e1)],_0x2153de['UniverDocs'],_0x2153de[_0x113217(0x24e)],_0x2153de[_0x113217(0x187)],_0x2153de[_0x113217(0x3ee)]));}(this,function(_0x316282,_0x46ccef,_0x1d01ce,_0x512aa4,_0x2bc71c,_0x9e3a93,_0x22caa7,_0xa0cfaa,_0xa6c87d,_0x3ebb23,_0x48369d){'use strict';var _0x4e2a03=_0x1553;var _0x318abe=Object['defineProperty'],_0x5d255b=(_0x5de7ce,_0x346bcf,_0x27a93d)=>_0x346bcf in _0x5de7ce?_0x318abe(_0x5de7ce,_0x346bcf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27a93d}):_0x5de7ce[_0x346bcf]=_0x27a93d,_0x1bee61=(_0x455ad8,_0xc2a378,_0x470fe8)=>_0x5d255b(_0x455ad8,typeof _0xc2a378!=_0x4e2a03(0x2ac)?_0xc2a378+'':_0xc2a378,_0x470fe8);const _0x1e9c83=_0x4e2a03(0x143),_0x2b7a67=_0x4e2a03(0x3a7),_0x3502aa='SNAPSHOT_URL_KEY',_0x56bcc1=_0x4e2a03(0xe8),_0x4f902b=_0x4e2a03(0x16f),_0x56652f=_0x4e2a03(0xc9),_0x289f6f=_0x4e2a03(0x335),_0x234784='HEARTBEAT_INTERVAL',_0x2ff010='HEARTBEAT_TIMEOUT',_0x541a71=_0x4e2a03(0x180),_0x4b3d11='LOCAL_CACHE_INTERVAL',_0x2f03d2=_0x4e2a03(0xde),_0x1dbf01=_0x4e2a03(0x328),_0x596bd4=_0x4e2a03(0x2e5),_0x26f325='/universer-api/oidc/authpage',_0xe633e8=_0x4e2a03(0x37a),_0x3c4394=_0x4e2a03(0x1e6);var _0x4246a6=(_0x3def92=>(_0x3def92[_0x3def92[_0x4e2a03(0xd0)]=0x0]=_0x4e2a03(0xd0),_0x3def92[_0x3def92['OK']=0x1]='OK',_0x3def92[_0x3def92[_0x4e2a03(0x3cb)]=0x2]=_0x4e2a03(0x3cb),_0x3def92[_0x3def92[_0x4e2a03(0x102)]=0x3]='PERMISSION_DENIED',_0x3def92[_0x3def92[_0x4e2a03(0x24a)]=0x4]=_0x4e2a03(0x24a),_0x3def92[_0x3def92[_0x4e2a03(0x1af)]=0x5]=_0x4e2a03(0x1af),_0x3def92[_0x3def92[_0x4e2a03(0x372)]=0x6]='ALREADY_EXISTS',_0x3def92[_0x3def92[_0x4e2a03(0x21b)]=0x7]=_0x4e2a03(0x21b),_0x3def92[_0x3def92[_0x4e2a03(0x1b5)]=0x8]=_0x4e2a03(0x1b5),_0x3def92[_0x3def92[_0x4e2a03(0x109)]=0x9]=_0x4e2a03(0x109),_0x3def92[_0x3def92[_0x4e2a03(0x13c)]=0x1389]=_0x4e2a03(0x13c),_0x3def92[_0x3def92[_0x4e2a03(0x399)]=0x1771]=_0x4e2a03(0x399),_0x3def92[_0x3def92['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4e2a03(0x1a2),_0x3def92[_0x3def92[_0x4e2a03(0xaf)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3def92[_0x3def92[_0x4e2a03(0x403)]=0x1b59]='APPLY_REJECT',_0x3def92[_0x3def92[_0x4e2a03(0x3bd)]=0x1b5a]=_0x4e2a03(0x3bd),_0x3def92[_0x3def92[_0x4e2a03(0x1b0)]=0x1b5b]=_0x4e2a03(0x1b0),_0x3def92[_0x3def92['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4e2a03(0x23d),_0x3def92[_0x3def92[_0x4e2a03(0x172)]=0x1b5d]=_0x4e2a03(0x172),_0x3def92[_0x3def92[_0x4e2a03(0x378)]=0x1f41]=_0x4e2a03(0x378),_0x3def92[_0x3def92['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4e2a03(0x2b6),_0x3def92[_0x3def92[_0x4e2a03(0xd1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3def92[_0x3def92[_0x4e2a03(0x280)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3def92[_0x3def92[_0x4e2a03(0x2b1)]=0x232c]=_0x4e2a03(0x2b1),_0x3def92[_0x3def92[_0x4e2a03(0x391)]=0x232d]=_0x4e2a03(0x391),_0x3def92[_0x3def92[_0x4e2a03(0x393)]=0x2711]=_0x4e2a03(0x393),_0x3def92[_0x3def92[_0x4e2a03(0x3ad)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3def92[_0x3def92['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4e2a03(0x1f2),_0x3def92[_0x3def92[_0x4e2a03(0x3da)]=0x2714]=_0x4e2a03(0x3da),_0x3def92[_0x3def92['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4e2a03(0x310),_0x3def92[_0x3def92[_0x4e2a03(0x297)]=-0x1]=_0x4e2a03(0x297),_0x3def92))(_0x4246a6||{}),_0x392914=(_0x37e6e2=>(_0x37e6e2[_0x37e6e2[_0x4e2a03(0x28d)]=0x0]=_0x4e2a03(0x28d),_0x37e6e2[_0x37e6e2['UNIVER_DOC']=0x1]=_0x4e2a03(0x13f),_0x37e6e2[_0x37e6e2[_0x4e2a03(0x185)]=0x2]='UNIVER_SHEET',_0x37e6e2[_0x37e6e2[_0x4e2a03(0x16b)]=0x3]='UNIVER_SLIDE',_0x37e6e2[_0x37e6e2[_0x4e2a03(0x2aa)]=0x4]=_0x4e2a03(0x2aa),_0x37e6e2[_0x37e6e2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x37e6e2))(_0x392914||{}),_0x7dff3=(_0x421f6e=>(_0x421f6e[_0x421f6e[_0x4e2a03(0x285)]=0x0]=_0x4e2a03(0x285),_0x421f6e[_0x421f6e['HELLO']=0x1]=_0x4e2a03(0x1d8),_0x421f6e[_0x421f6e['JOIN']=0x2]=_0x4e2a03(0x27f),_0x421f6e[_0x421f6e[_0x4e2a03(0x3e0)]=0x3]=_0x4e2a03(0x3e0),_0x421f6e[_0x421f6e['INGEST']=0x4]=_0x4e2a03(0x18d),_0x421f6e[_0x421f6e['HEARTBEAT']=0x5]='HEARTBEAT',_0x421f6e[_0x421f6e[_0x4e2a03(0x80)]=0x6]=_0x4e2a03(0x80),_0x421f6e[_0x421f6e[_0x4e2a03(0x297)]=-0x1]=_0x4e2a03(0x297),_0x421f6e))(_0x7dff3||{}),_0x5563d2=(_0x7b05b0=>(_0x7b05b0[_0x7b05b0[_0x4e2a03(0x35c)]=0x0]=_0x4e2a03(0x35c),_0x7b05b0[_0x7b05b0['OK']=0x1]='OK',_0x7b05b0[_0x7b05b0[_0x4e2a03(0x2a6)]=0x2]=_0x4e2a03(0x2a6),_0x7b05b0[_0x7b05b0['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x7b05b0[_0x7b05b0[_0x4e2a03(0x259)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x7b05b0[_0x7b05b0[_0x4e2a03(0x1ab)]=0x3eb]=_0x4e2a03(0x1ab),_0x7b05b0[_0x7b05b0[_0x4e2a03(0x1ae)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x7b05b0[_0x7b05b0['UNRECOGNIZED']=-0x1]=_0x4e2a03(0x297),_0x7b05b0))(_0x5563d2||{}),_0x547638=(_0x25e285=>(_0x25e285[_0x25e285['Undefined']=0x0]=_0x4e2a03(0x262),_0x25e285[_0x25e285[_0x4e2a03(0x1fd)]=0x1]='HttpImport',_0x25e285[_0x25e285[_0x4e2a03(0xb5)]=0x2]=_0x4e2a03(0xb5),_0x25e285[_0x25e285[_0x4e2a03(0x2fa)]=0x3]=_0x4e2a03(0x2fa),_0x25e285[_0x25e285[_0x4e2a03(0x3dd)]=0x4]=_0x4e2a03(0x3dd),_0x25e285[_0x25e285[_0x4e2a03(0x297)]=-0x1]=_0x4e2a03(0x297),_0x25e285))(_0x547638||{});const _0x439518=_0x4e2a03(0x255),_0x39b5d4={};var _0x476bcb=(_0xa54ac9=>(_0xa54ac9[_0x4e2a03(0x29e)]=_0x4e2a03(0x29e),_0xa54ac9[_0x4e2a03(0x102)]=_0x4e2a03(0x102),_0xa54ac9[_0x4e2a03(0xec)]='CONFLICT',_0xa54ac9['CLOSE_ROOM']='CLOSE_ROOM',_0xa54ac9[_0x4e2a03(0x27d)]=_0x4e2a03(0x27d),_0xa54ac9[_0x4e2a03(0x12d)]=_0x4e2a03(0x12d),_0xa54ac9[_0x4e2a03(0x97)]=_0x4e2a03(0x97),_0xa54ac9[_0x4e2a03(0x1a8)]=_0x4e2a03(0x1a8),_0xa54ac9))(_0x476bcb||{});class _0x5d33c9{constructor(){var _0x3f9054=_0x4e2a03;_0x1bee61(this,'_event$',new _0x1d01ce[(_0x3f9054(0x3d7))]()),_0x1bee61(this,_0x3f9054(0x34f),this['_event$'][_0x3f9054(0x318)]());}[_0x4e2a03(0x1a6)](_0x43d55a){var _0x37fa9d=_0x4e2a03;this[_0x37fa9d(0x7a)][_0x37fa9d(0x141)](_0x43d55a);}}const _0x4f45ee=_0x46ccef[_0x4e2a03(0xe1)]('univer-pro.collaboration-client.network-condition.service');function _0x14b5b4(_0x3a2829){var _0x57eb8c=_0x4e2a03,_0x23b56e,_0x32fb28,_0x2e698e,_0x1f1e74,_0x11cec6;const _0x5adaac=_0x3a2829['data'],_0x243a8d=JSON[_0x57eb8c(0xd5)](_0x5adaac);switch(_0x243a8d['cmd']){case _0x7dff3['HEARTBEAT']:case _0x7dff3[_0x57eb8c(0x1d8)]:{const _0x143aac=_0x243a8d['infoRsp'];return{..._0x243a8d,'data':_0x143aac,'cmd':_0x243a8d[_0x57eb8c(0x174)]};}case _0x7dff3[_0x57eb8c(0x27f)]:{const _0x3043a2=_0x243a8d[_0x57eb8c(0x2d0)];return{..._0x243a8d,'data':_0x3043a2,'cmd':_0x243a8d[_0x57eb8c(0x174)]};}case _0x7dff3[_0x57eb8c(0x80)]:{const _0x52df13=_0x243a8d[_0x57eb8c(0x14a)];switch(_0x52df13[_0x57eb8c(0xa7)]){case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x283)]:return{..._0x243a8d,'data':{..._0x52df13,'data':(_0x23b56e=_0x52df13[_0x57eb8c(0x20f)])==null?void 0x0:_0x23b56e['cs']},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93['CollaborationEvent']['CHANGESET_ACK']:return{..._0x243a8d,'data':{..._0x52df13,'data':(_0x32fb28=_0x52df13[_0x57eb8c(0x167)])==null?void 0x0:_0x32fb28['cs']},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93['CollaborationEvent'][_0x57eb8c(0x347)]:return{..._0x243a8d,'data':{..._0x52df13,'data':(_0x2e698e=_0x52df13['newCsEvent'])==null?void 0x0:_0x2e698e['cs']},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93['CollaborationEvent'][_0x57eb8c(0xc4)]:return{..._0x243a8d,'data':{..._0x52df13,'data':(_0x1f1e74=_0x52df13['csRejEvent'])==null?void 0x0:_0x1f1e74['cs']},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x3e7)]:return{..._0x243a8d,'data':{..._0x52df13,'data':(_0x11cec6=_0x52df13[_0x57eb8c(0x138)])==null?void 0x0:_0x11cec6['cs']},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)]['UPDATE_CURSOR']:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0xf8)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x3fc)]:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13['joinEvent']},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)]['USERS_LEAVE']:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x1e5)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)]['LIVESHARE_NEW_HOST']:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x2da)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x26d)]:case _0x9e3a93[_0x57eb8c(0x165)]['LIVESHARE_OPERATION']:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x3e4)]},'cmd':_0x243a8d['cmd']};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x362)]:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x2da)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)]['MSG_FOR_ERROR']:return{..._0x243a8d,'data':_0x52df13,'cmd':_0x243a8d['cmd']};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x2c9)]:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13['commentUpdateEvent']},'cmd':_0x243a8d['cmd']};case _0x9e3a93[_0x57eb8c(0x165)]['UPDATE_PERMISSION_OBJ']:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x3a9)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x32b)]:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x236)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};case _0x9e3a93[_0x57eb8c(0x165)][_0x57eb8c(0x1d2)]:return{..._0x243a8d,'data':{..._0x52df13,'data':_0x52df13[_0x57eb8c(0x3b6)]},'cmd':_0x243a8d[_0x57eb8c(0x174)]};default:return _0x243a8d;}}default:return _0x243a8d;}}function _0x3b8167(_0x486686){var _0x4a44c4=_0x4e2a03;switch(_0x486686[_0x4a44c4(0x174)]){case _0x7dff3[_0x4a44c4(0x13a)]:case _0x7dff3[_0x4a44c4(0x1d8)]:return JSON[_0x4a44c4(0xa1)]({'cmd':_0x486686[_0x4a44c4(0x174)],'routeKey':_0x486686[_0x4a44c4(0x20a)]});case _0x7dff3[_0x4a44c4(0x18d)]:{let _0x5acb41;switch(_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0xa7)]){case _0x9e3a93['CollaborationEvent'][_0x4a44c4(0xfe)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)]['UPDATE_CURSOR'],'updateCursorEvent':_0x486686['data'][_0x4a44c4(0x1db)]};break;}case _0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x27a)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x27a)],'leaveEvent':_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0x1db)]};break;}case _0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x3fc)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x3fc)],'joinEvent':_0x486686['data'][_0x4a44c4(0x1db)]};break;}case _0x9e3a93[_0x4a44c4(0x165)]['LIVESHARE_NEW_HOST']:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x275)],'liveShareNewHost':_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0x1db)]};break;}case _0x9e3a93['CollaborationEvent'][_0x4a44c4(0x2f8)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x2f8)],'liveShareOperation':_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0x1db)]};break;}case _0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x362)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x362)],'liveShareTerminate':_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0x1db)]};break;}case _0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x183)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x183)],'liveShareRequestHost':_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0x1db)]};break;}case _0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x26d)]:{_0x5acb41={'eventID':_0x9e3a93[_0x4a44c4(0x165)][_0x4a44c4(0x26d)]};break;}default:_0x5acb41={'eventID':_0x486686[_0x4a44c4(0x1db)][_0x4a44c4(0xa7)]};}return JSON['stringify']({'cmd':_0x486686[_0x4a44c4(0x174)],'routeKey':_0x486686[_0x4a44c4(0x20a)],'collaMsg':_0x5acb41});}case _0x7dff3[_0x4a44c4(0x27f)]:return JSON[_0x4a44c4(0xa1)]({'cmd':_0x486686[_0x4a44c4(0x174)],'routeKey':_0x486686[_0x4a44c4(0x20a)],'joinReq':_0x486686[_0x4a44c4(0x1db)]});case _0x7dff3[_0x4a44c4(0x3e0)]:return JSON[_0x4a44c4(0xa1)]({'cmd':_0x486686[_0x4a44c4(0x174)],'routeKey':_0x486686[_0x4a44c4(0x20a)],'leaveReq':_0x486686[_0x4a44c4(0x1db)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x5c3d62=Object[_0x4e2a03(0x1d4)],_0x1f0887=Object['getOwnPropertyDescriptor'],_0xb611b0=(_0x21e1bb,_0x4d6383,_0x299a41,_0x4b1942)=>{var _0x48e9d3=_0x4e2a03;for(var _0x2bfb09=_0x4b1942>0x1?void 0x0:_0x4b1942?_0x1f0887(_0x4d6383,_0x299a41):_0x4d6383,_0x367c5a=_0x21e1bb[_0x48e9d3(0xb9)]-0x1,_0x130000;_0x367c5a>=0x0;_0x367c5a--)(_0x130000=_0x21e1bb[_0x367c5a])&&(_0x2bfb09=(_0x4b1942?_0x130000(_0x4d6383,_0x299a41,_0x2bfb09):_0x130000(_0x2bfb09))||_0x2bfb09);return _0x4b1942&&_0x2bfb09&&_0x5c3d62(_0x4d6383,_0x299a41,_0x2bfb09),_0x2bfb09;},_0x2f20d2=(_0x991e71,_0x2e08b1)=>(_0x332315,_0x42fb39)=>_0x2e08b1(_0x332315,_0x42fb39,_0x991e71);const _0xe05f11=_0x46ccef['createIdentifier'](_0x4e2a03(0x292));function _0x25e632(_0x22bab5,_0x44f9e6,_0x2f4fbb){return _0x22bab5+'/'+_0x44f9e6+'/unit/'+_0x2f4fbb+'/new_changes';}_0x316282[_0x4e2a03(0x228)]=class extends _0x46ccef[_0x4e2a03(0x2e1)]{constructor(_0x50f2ed,_0x2c2ccc,_0x4f4f98,_0x585284,_0x3a8ad2){var _0x683faf=_0x4e2a03;super(),this[_0x683faf(0x175)]=_0x50f2ed,this[_0x683faf(0x33e)]=_0x2c2ccc,this[_0x683faf(0x2c2)]=_0x4f4f98,this['_logService']=_0x585284,this[_0x683faf(0xb8)]=_0x3a8ad2;}[_0x4e2a03(0x9e)](_0x4387c1){var _0x5afd72=_0x4e2a03;const _0x3164db=this[_0x5afd72(0x175)][_0x5afd72(0x133)](_0x2bc71c[_0x5afd72(0x2e7)]);if(!_0x3164db)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x156ea7=_0x3164db['createSocket'](_0x4387c1);if(!_0x156ea7)throw new Error(_0x5afd72(0xc5));const _0x2c5106=new _0x46ccef[(_0x5afd72(0x34a))](),_0x4d5d5f=new _0x1d01ce[(_0x5afd72(0x3d7))]();_0x2c5106[_0x5afd72(0x1c4)](_0x156ea7['close$'][_0x5afd72(0x1e4)](_0x4f8c77=>_0x4d5d5f[_0x5afd72(0x141)](_0x4f8c77))),_0x2c5106[_0x5afd72(0x1c4)](_0x46ccef['toDisposable'](()=>_0x4d5d5f[_0x5afd72(0x182)]()));const _0x4c0736=new _0x1d01ce[(_0x5afd72(0x3d7))]();_0x2c5106[_0x5afd72(0x1c4)](_0x156ea7['error$'][_0x5afd72(0x1e4)](_0x33430e=>_0x4c0736[_0x5afd72(0x141)](_0x33430e))),_0x2c5106[_0x5afd72(0x1c4)](_0x46ccef['toDisposable'](()=>_0x4c0736[_0x5afd72(0x182)]()));const _0x5c7ef1=new _0x1d01ce['Subject']();_0x2c5106[_0x5afd72(0x1c4)](_0x156ea7[_0x5afd72(0x221)][_0x5afd72(0x1e4)](_0x6087cc=>{var _0x2d992b=_0x5afd72;const _0x46d239=_0x14b5b4(_0x6087cc);_0x5c7ef1[_0x2d992b(0x141)](_0x46d239);})),_0x2c5106['add'](_0x46ccef[_0x5afd72(0x257)](()=>_0x5c7ef1[_0x5afd72(0x182)]()));let _0xdc28f8;const _0x5c9cea=()=>{var _0x100703=_0x5afd72;_0x4c0736[_0x100703(0x141)](new Event(_0x100703(0x2f9))),_0x4d5d5f[_0x100703(0x141)](new CloseEvent(_0x100703(0x2f9))),_0xdc28f8['close']();};return _0xdc28f8={'memberID':'','close$':_0x4d5d5f[_0x5afd72(0x318)](),'error$':_0x4c0736[_0x5afd72(0x318)](),'open$':_0x156ea7[_0x5afd72(0x3ef)],'message$':_0x5c7ef1[_0x5afd72(0x318)](),'send':_0x308e55=>{var _0x2fb90d=_0x5afd72;if(_0x308e55[_0x2fb90d(0x174)]===_0x7dff3['INGEST']){if(_0x308e55[_0x2fb90d(0x1db)][_0x2fb90d(0xa7)]===_0x9e3a93[_0x2fb90d(0x165)][_0x2fb90d(0x9d)]){this[_0x2fb90d(0x1c1)](_0xdc28f8,_0x308e55['data'])[_0x2fb90d(0x23b)](_0x636e28=>{var _0x445a8e=_0x2fb90d;this[_0x445a8e(0x2f3)]['error'](_0x636e28),_0x5c9cea();});return;}if(_0x308e55['data'][_0x2fb90d(0xa7)]===_0x9e3a93[_0x2fb90d(0x165)][_0x2fb90d(0x11d)]){const _0x3c0778=_0x308e55[_0x2fb90d(0x1db)];this['_fetchMissChangesets'](_0x3c0778)[_0x2fb90d(0x400)](_0x53b35b=>{var _0x268511=_0x2fb90d;_0x5c7ef1[_0x268511(0x141)]({'cmd':_0x7dff3[_0x268511(0x80)],'code':_0x5563d2['OK'],'routeKey':_0x3c0778['data']['unitID'],'routeType':'','data':{'eventID':_0x9e3a93[_0x268511(0x165)][_0x268511(0x134)],'data':{'changesets':_0x53b35b}}});})[_0x2fb90d(0x23b)](_0x2e483e=>{var _0x4095b2=_0x2fb90d;this['_logService'][_0x4095b2(0x1b4)](_0x2e483e),_0x5c9cea();});return;}}_0x156ea7[_0x2fb90d(0x2f6)](_0x3b8167(_0x308e55));},'close':()=>{var _0x17d93b=_0x5afd72;_0x156ea7[_0x17d93b(0x251)](),_0x2c5106['dispose']();}},_0xdc28f8;}async['_submitChangeset'](_0x39ec33,_0xc5442){var _0x133c67=_0x4e2a03,_0x43f3d9,_0x120b27;const {unitType:_0x3354f7,unitID:_0x189be1,changeset:_0x4d6c74}=_0xc5442[_0x133c67(0x1db)],_0x1d074c={'unitID':_0x189be1,'memberID':_0x39ec33['memberID'],'type':_0x3354f7,'changeset':_0x9e3a93['parseChangesetToProtocol'](_0x4d6c74)},_0x4597c2=this[_0x133c67(0x2c2)][_0x133c67(0x164)](_0x2f03d2),_0x3cee47=this[_0x133c67(0x2c2)][_0x133c67(0x164)](_0x439518),_0x27516f=_0x25e632((_0x120b27=(_0x43f3d9=_0x3cee47==null?void 0x0:_0x3cee47['collabSubmitChangesetUrl'])!=null?_0x43f3d9:_0x4597c2)!=null?_0x120b27:_0x1dbf01,_0x3354f7,_0x189be1);try{await this[_0x133c67(0x33e)][_0x133c67(0x240)](_0x27516f,{'body':_0x1d074c});}catch(_0x1ef944){throw this[_0x133c67(0x2f3)][_0x133c67(0x1b4)](_0x133c67(0x84),'submit\x20changeset\x20error!'),_0x1ef944;}}async[_0x4e2a03(0x1e9)](_0x11db6f){var _0x53401e=_0x4e2a03;const {unitID:_0x4d7322,from:_0x390592,to:_0x57026b,unitType:_0x5e86ae}=_0x11db6f[_0x53401e(0x1db)];return(await this[_0x53401e(0xb8)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4d7322,'type':_0x5e86ae,'from':_0x390592,'to':_0x57026b}))[_0x53401e(0x115)];}},_0x316282[_0x4e2a03(0x228)]=_0xb611b0([_0x2f20d2(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['Injector'])),_0x2f20d2(0x1,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c[_0x4e2a03(0x24f)])),_0x2f20d2(0x2,_0x46ccef['IConfigService']),_0x2f20d2(0x3,_0x46ccef[_0x4e2a03(0x212)]),_0x2f20d2(0x4,_0x9e3a93[_0x4e2a03(0x21d)])],_0x316282[_0x4e2a03(0x228)]);const _0x159f51='collaboration_new_changeset';function _0x3a9839(_0x2d9491){var _0xa4d0c9=_0x4e2a03;return JSON[_0xa4d0c9(0xa1)](_0x2d9491)[_0xa4d0c9(0xb9)];}class _0x329d13{constructor(){var _0x36d11b=_0x4e2a03;_0x1bee61(this,_0x36d11b(0x188),new _0x1d01ce['Subject']()),_0x1bee61(this,_0x36d11b(0x300),this[_0x36d11b(0x188)][_0x36d11b(0x318)]());}[_0x4e2a03(0x348)](_0x2a6716){var _0x5f09fe=_0x4e2a03;this[_0x5f09fe(0x188)]['next'](_0x2a6716);}}var _0x4eaa26=Object['defineProperty'],_0x2c2faf=Object[_0x4e2a03(0x1df)],_0xe92f51=(_0x5d2940,_0x2fb0e1,_0xb0ecc1,_0xad547a)=>{var _0x57d9a1=_0x4e2a03;for(var _0x454e2d=_0xad547a>0x1?void 0x0:_0xad547a?_0x2c2faf(_0x2fb0e1,_0xb0ecc1):_0x2fb0e1,_0x27f92b=_0x5d2940[_0x57d9a1(0xb9)]-0x1,_0x216cf1;_0x27f92b>=0x0;_0x27f92b--)(_0x216cf1=_0x5d2940[_0x27f92b])&&(_0x454e2d=(_0xad547a?_0x216cf1(_0x2fb0e1,_0xb0ecc1,_0x454e2d):_0x216cf1(_0x454e2d))||_0x454e2d);return _0xad547a&&_0x454e2d&&_0x4eaa26(_0x2fb0e1,_0xb0ecc1,_0x454e2d),_0x454e2d;},_0x3f33de=(_0x20c0be,_0xbeb997)=>(_0x486ed3,_0x3faaa7)=>_0xbeb997(_0x486ed3,_0x3faaa7,_0x20c0be);_0x316282[_0x4e2a03(0x2cf)]=class extends _0x46ccef[_0x4e2a03(0x2e1)]{constructor(_0x5c1deb,_0x24f3f0){var _0x45f073=_0x4e2a03;super(),_0x1bee61(this,_0x45f073(0x389),new Map()),_0x1bee61(this,_0x45f073(0x305),new _0x1d01ce['Subject']()),(this[_0x45f073(0x12b)]=_0x5c1deb,this['_userManagerService']=_0x24f3f0,this[_0x45f073(0x3be)](_0x1d01ce[_0x45f073(0xe0)](this[_0x45f073(0x12b)][_0x45f073(0x2e2)](_0x46ccef[_0x45f073(0x160)]['UNIVER_SHEET'])[_0x45f073(0x1ad)](_0x512aa4[_0x45f073(0x2d2)](_0x1f8e8f=>_0x1f8e8f['getUnitId']())),this[_0x45f073(0x12b)][_0x45f073(0x2e2)](_0x46ccef['UniverInstanceType'][_0x45f073(0x13f)])['pipe'](_0x512aa4['map'](_0x3efa8c=>_0x3efa8c[_0x45f073(0x3f8)]())),this[_0x45f073(0x12b)][_0x45f073(0x2e2)](_0x46ccef[_0x45f073(0x160)][_0x45f073(0x16b)])[_0x45f073(0x1ad)](_0x512aa4['map'](_0x2cd013=>_0x2cd013[_0x45f073(0x3f8)]())))[_0x45f073(0x1e4)](_0xde39c2=>this[_0x45f073(0x37b)](_0xde39c2))));}[_0x4e2a03(0x3a4)](_0x2a2a21){var _0x350a17=_0x4e2a03;return this[_0x350a17(0x389)][_0x350a17(0x20d)](_0x2a2a21)?_0x1d01ce['of'](this[_0x350a17(0x389)][_0x350a17(0x133)](_0x2a2a21)):this[_0x350a17(0x305)][_0x350a17(0x1ad)](_0x512aa4[_0x350a17(0x2d2)](_0x2e8913=>{var _0x857c9a=_0x350a17;if(_0x2e8913===_0x2a2a21)return this[_0x857c9a(0x389)][_0x857c9a(0x133)](_0x2e8913);}));}[_0x4e2a03(0x244)](_0x2c4f5b){var _0x189e32=_0x4e2a03;this[_0x189e32(0xad)][_0x189e32(0x244)](_0x2c4f5b);}[_0x4e2a03(0x159)](){var _0x40009b=_0x4e2a03;return this[_0x40009b(0xad)][_0x40009b(0x159)]();}[_0x4e2a03(0x122)](_0x5eea80,_0x5f8088){var _0x710e44=_0x4e2a03;let _0x615cab=this['_roomMembers'][_0x710e44(0x133)](_0x5eea80);_0x615cab||(_0x615cab=new _0x51d0b5(),this['_roomMembers'][_0x710e44(0xfa)](_0x5eea80,_0x615cab),this['_roomCreated$'][_0x710e44(0x141)](_0x5eea80)),_0x615cab[_0x710e44(0x122)](_0x5f8088);}[_0x4e2a03(0x298)](_0xe24233,_0x25d106){var _0x5811b2=_0x4e2a03;const _0x2abb26=this[_0x5811b2(0x389)]['get'](_0xe24233);_0x2abb26&&_0x2abb26['removeMember'](_0x25d106);}['getRoom'](_0x53a6af){var _0x4c7514=_0x4e2a03;return this[_0x4c7514(0x389)][_0x4c7514(0x133)](_0x53a6af);}[_0x4e2a03(0x2fc)](_0x349d2d,_0x103f24){var _0xa3b599=_0x4e2a03;const _0x162240=this[_0xa3b599(0x389)][_0xa3b599(0x133)](_0x349d2d);if(_0x162240)return _0x162240[_0xa3b599(0x2fc)](_0x103f24);}['_removeRoom'](_0x125e0a){var _0x1c38cd=_0x4e2a03;const _0x495c5b=this[_0x1c38cd(0x389)]['get'](_0x125e0a);_0x495c5b&&(_0x495c5b['dispose'](),this[_0x1c38cd(0x389)][_0x1c38cd(0x334)](_0x125e0a));}[_0x4e2a03(0xb7)](){var _0x59bfa1=_0x4e2a03;this['_roomMembers'][_0x59bfa1(0x2dd)](_0x1bdf24=>_0x1bdf24[_0x59bfa1(0xb7)]()),this['_roomMembers'][_0x59bfa1(0x3d5)](),this[_0x59bfa1(0x305)][_0x59bfa1(0x182)]();}},_0x316282[_0x4e2a03(0x2cf)]=_0xe92f51([_0x3f33de(0x0,_0x46ccef['IUniverInstanceService']),_0x3f33de(0x1,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x24d)]))],_0x316282['MemberService']);class _0x51d0b5 extends _0x46ccef[_0x4e2a03(0x2e1)]{constructor(){var _0x3ec403=_0x4e2a03;super(...arguments),_0x1bee61(this,_0x3ec403(0x248),new Map()),_0x1bee61(this,_0x3ec403(0x277),new _0x1d01ce[(_0x3ec403(0x31a))](this[_0x3ec403(0x248)])),_0x1bee61(this,_0x3ec403(0x11e),this[_0x3ec403(0x277)][_0x3ec403(0x318)]());}[_0x4e2a03(0xb7)](){var _0x41177d=_0x4e2a03;this[_0x41177d(0x248)][_0x41177d(0x3d5)]();}[_0x4e2a03(0x122)](_0x55cf56){var _0x3f621d=_0x4e2a03;this[_0x3f621d(0x248)]['set'](_0x55cf56[_0x3f621d(0x351)],_0x55cf56),this[_0x3f621d(0xfd)]();}['removeMember'](_0x484900){var _0x164f4=_0x4e2a03;this[_0x164f4(0x248)][_0x164f4(0x334)](_0x484900);}['getMember'](_0x57f5b7){var _0x5d5252=_0x4e2a03;return this[_0x5d5252(0x248)]['get'](_0x57f5b7);}[_0x4e2a03(0x3f5)](){var _0x505043=_0x4e2a03;return Array[_0x505043(0x331)](this[_0x505043(0x248)][_0x505043(0x38d)]());}[_0x4e2a03(0xfd)](){var _0x1d9fc6=_0x4e2a03;this[_0x1d9fc6(0x277)][_0x1d9fc6(0x141)](this[_0x1d9fc6(0x248)]);}}var _0x26e19c=Object[_0x4e2a03(0x1d4)],_0x4871d9=Object[_0x4e2a03(0x1df)],_0xab1d30=(_0x22b7b9,_0x31259a,_0x31dabd,_0x42d5b8)=>{var _0x4afd3c=_0x4e2a03;for(var _0x4a47a2=_0x42d5b8>0x1?void 0x0:_0x42d5b8?_0x4871d9(_0x31259a,_0x31dabd):_0x31259a,_0x5c781a=_0x22b7b9[_0x4afd3c(0xb9)]-0x1,_0x5de6f4;_0x5c781a>=0x0;_0x5c781a--)(_0x5de6f4=_0x22b7b9[_0x5c781a])&&(_0x4a47a2=(_0x42d5b8?_0x5de6f4(_0x31259a,_0x31dabd,_0x4a47a2):_0x5de6f4(_0x4a47a2))||_0x4a47a2);return _0x42d5b8&&_0x4a47a2&&_0x26e19c(_0x31259a,_0x31dabd,_0x4a47a2),_0x4a47a2;},_0x31eebf=(_0x6e0b5c,_0x5ed8d4)=>(_0x1669b4,_0x19ef7f)=>_0x5ed8d4(_0x1669b4,_0x19ef7f,_0x6e0b5c),_0x18bd06=(_0x936914=>(_0x936914[_0x936914[_0x4e2a03(0x16d)]=0x0]=_0x4e2a03(0x16d),_0x936914[_0x936914[_0x4e2a03(0x170)]=0x1]=_0x4e2a03(0x170),_0x936914[_0x936914[_0x4e2a03(0x117)]=0x2]=_0x4e2a03(0x117),_0x936914[_0x936914[_0x4e2a03(0x3b5)]=0x3]=_0x4e2a03(0x3b5),_0x936914))(_0x18bd06||{});const _0x57615c={[_0x5563d2['FAIL']]:_0x4e2a03(0x7c),[_0x5563d2[_0x4e2a03(0xb4)]]:'session.room-full',[_0x5563d2[_0x4e2a03(0x259)]]:_0x4e2a03(0x26c),[_0x5563d2[_0x4e2a03(0x1ab)]]:_0x4e2a03(0x356),[_0x5563d2[_0x4e2a03(0x1ae)]]:_0x4e2a03(0x2ff)};_0x316282[_0x4e2a03(0x25b)]=class extends _0x46ccef[_0x4e2a03(0x370)]{constructor(_0x5eaf78,_0x537199,_0x3e32ed,_0x4086dd,_0x6a3438,_0x5a953a,_0x5b169e,_0x1f9982,_0x4171c0){var _0x510511=_0x4e2a03;super(),_0x1bee61(this,_0x510511(0xf1),new _0x1d01ce[(_0x510511(0x31a))](0x0)),_0x1bee61(this,'sessionStatus$',this[_0x510511(0xf1)][_0x510511(0x318)]()),_0x1bee61(this,_0x510511(0x7a),new _0x1d01ce[(_0x510511(0x3d7))]()),_0x1bee61(this,_0x510511(0x34f),this[_0x510511(0x7a)][_0x510511(0x318)]()),_0x1bee61(this,_0x510511(0x34d)),_0x1bee61(this,_0x510511(0x1cb)),_0x1bee61(this,_0x510511(0x264)),_0x1bee61(this,_0x510511(0x385),!0x1),_0x1bee61(this,_0x510511(0x1c6),null),(this['_unitID']=_0x5eaf78,this[_0x510511(0x2f3)]=_0x3e32ed,this['_configService']=_0x4086dd,this['_localeService']=_0x6a3438,this[_0x510511(0x224)]=_0x5a953a,this[_0x510511(0x2b7)]=_0x5b169e,this[_0x510511(0x105)]=_0x1f9982,this[_0x510511(0x2bd)]=_0x4171c0,this[_0x510511(0x385)]=!!this[_0x510511(0x2bd)],_0x537199[_0x510511(0x1ad)](_0x1d01ce['takeUntil'](this[_0x510511(0x406)]))[_0x510511(0x1e4)](_0x366786=>{var _0x13b29d=_0x510511,_0x43d8b4;typeof _0x366786>'u'||(this[_0x13b29d(0x34d)]=_0x366786,_0x366786?(this['_joinRoom'](_0x366786),this[_0x13b29d(0x1cb)]=_0x366786[_0x13b29d(0x221)][_0x13b29d(0x1e4)](_0x6ef6d2=>{var _0x489a62=_0x13b29d;_0x6ef6d2[_0x489a62(0x20a)]===this['_unitID']&&this[_0x489a62(0x3f6)](_0x6ef6d2);})):(this[_0x13b29d(0x336)](),this[_0x13b29d(0xf1)][_0x13b29d(0x141)](0x2),(_0x43d8b4=this[_0x13b29d(0x1cb)])==null||_0x43d8b4[_0x13b29d(0x3c5)](),this[_0x13b29d(0x1cb)]=null));}));}get[_0x4e2a03(0x7d)](){var _0x5f52f7=_0x4e2a03;return this[_0x5f52f7(0xf1)][_0x5f52f7(0x252)]();}['getMemberID'](){var _0xc86780=_0x4e2a03,_0x46de38,_0x2ee5cc;return(_0x2ee5cc=(_0x46de38=this['_socket'])==null?void 0x0:_0x46de38[_0xc86780(0x351)])!=null?_0x2ee5cc:null;}[_0x4e2a03(0xb7)](){var _0x1daeab=_0x4e2a03;super['dispose'](),this['dispose$'][_0x1daeab(0x141)](),this[_0x1daeab(0x406)][_0x1daeab(0x182)]();}['close'](){var _0x483c6e=_0x4e2a03,_0x521e65,_0x27164c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x521e65=this['_socket'])==null||_0x521e65[_0x483c6e(0x2f6)]({'cmd':_0x7dff3[_0x483c6e(0x3e0)],'data':{'roomID':this[_0x483c6e(0x3f4)]}}),(_0x27164c=this[_0x483c6e(0x34d)])==null||_0x27164c[_0x483c6e(0x251)](),this[_0x483c6e(0x7a)][_0x483c6e(0x182)](),this[_0x483c6e(0xf1)]['complete'](),this[_0x483c6e(0xb7)]();}[_0x4e2a03(0x3f6)](_0x2095ab){var _0x2c9767=_0x4e2a03;_0x2095ab[_0x2c9767(0x174)]===_0x7dff3[_0x2c9767(0x27f)]?this[_0x2c9767(0x129)](_0x2095ab):_0x2095ab[_0x2c9767(0x174)]===_0x7dff3[_0x2c9767(0x80)]&&this[_0x2c9767(0x3e3)](_0x2095ab);}[_0x4e2a03(0x3e6)](_0x4e99ff){var _0x3c3b7e=_0x4e2a03;this[_0x3c3b7e(0xf1)]['next'](0x1),_0x4e99ff[_0x3c3b7e(0x2f6)]({'cmd':_0x7dff3[_0x3c3b7e(0x27f)],'routeKey':this[_0x3c3b7e(0x3f4)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x4e2a03(0x129)](_0x44e509){var _0x1a2fe7=_0x4e2a03,_0xc4012d;if(_0x44e509[_0x1a2fe7(0x3d8)]in _0x57615c){this[_0x1a2fe7(0x105)][_0x1a2fe7(0x1a6)]({'id':_0x476bcb[_0x1a2fe7(0x27d)],'data':_0x57615c[_0x44e509[_0x1a2fe7(0x3d8)]]}),this[_0x1a2fe7(0xf1)][_0x1a2fe7(0x141)](0x2);return;}this['_sessionStatus$'][_0x1a2fe7(0x141)](0x3);const _0x855ba0=(_0xc4012d=_0x44e509['data'][_0x1a2fe7(0x2f7)][this[_0x1a2fe7(0x3f4)]])==null?void 0x0:_0xc4012d[_0x1a2fe7(0x140)];_0x855ba0&&_0x855ba0[_0x1a2fe7(0x2dd)](_0x5b63ea=>this[_0x1a2fe7(0x224)][_0x1a2fe7(0x122)](this[_0x1a2fe7(0x3f4)],_0x5b63ea));}['_onRecvEvent'](_0x8a45cd){var _0x533901=_0x4e2a03;try{const _0x1c8993=_0x8a45cd[_0x533901(0x1db)];switch(_0x1c8993['eventID']){case _0x9e3a93[_0x533901(0x165)][_0x533901(0x3fc)]:this[_0x533901(0x3f3)](_0x1c8993),this[_0x533901(0x7a)]['next'](_0x1c8993);break;case _0x9e3a93['CollaborationEvent']['USERS_LEAVE']:this['_onUserLeave'](_0x1c8993),this[_0x533901(0x7a)]['next'](_0x1c8993);break;case _0x9e3a93[_0x533901(0x165)][_0x533901(0x278)]:case _0x9e3a93[_0x533901(0x165)][_0x533901(0x3e7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x533901(0x30e)](),this['_event$'][_0x533901(0x141)](_0x1c8993);break;case _0x9e3a93[_0x533901(0x165)][_0x533901(0x2b2)]:this[_0x533901(0x2f3)][_0x533901(0x1b4)](_0x533901(0x83)+JSON[_0x533901(0xa1)](_0x1c8993)),this[_0x533901(0x7a)][_0x533901(0x141)](_0x1c8993);break;case _0x9e3a93[_0x533901(0x165)][_0x533901(0x2c9)]:this['_commentService']['onCommentUpdate'](_0x1c8993[_0x533901(0x1db)]),this[_0x533901(0x7a)]['next'](_0x1c8993);break;default:this['_event$']['next'](_0x1c8993);}}catch(_0x1c0fe1){this[_0x533901(0x2f3)][_0x533901(0x1b4)](_0x1c0fe1,_0x8a45cd);}}[_0x4e2a03(0x3f3)](_0x385bba){var _0x48fbb2=_0x4e2a03;this[_0x48fbb2(0x224)][_0x48fbb2(0x122)](this[_0x48fbb2(0x3f4)],_0x385bba[_0x48fbb2(0x1db)]);}[_0x4e2a03(0x35d)](_0x1e9c7e){var _0x24775e=_0x4e2a03;this[_0x24775e(0x224)][_0x24775e(0x298)](this[_0x24775e(0x3f4)],_0x1e9c7e[_0x24775e(0x1db)][_0x24775e(0x351)]);}async[_0x4e2a03(0x2f6)](_0xe08067,_0x18fdc7){var _0x233bc9=_0x4e2a03;if(this[_0x233bc9(0x7d)]!==0x3||!this[_0x233bc9(0x34d)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0xe08067[_0x233bc9(0xa7)]===_0x9e3a93['CollaborationEvent'][_0x233bc9(0x9d)]&&(this[_0x233bc9(0x14f)](),this[_0x233bc9(0x87)](_0xe08067)),this[_0x233bc9(0x34d)][_0x233bc9(0x2f6)]({'cmd':_0x7dff3[_0x233bc9(0x18d)],'routeKey':_0x18fdc7,'routeType':'','data':_0xe08067});}catch(_0x5a5f76){this['_logService'][_0x233bc9(0x1b4)](_0x5a5f76);}}[_0x4e2a03(0x14f)](){var _0x5ec264=_0x4e2a03,_0x57be36;this[_0x5ec264(0x264)]=setTimeout(()=>{var _0x2d7aac=_0x5ec264;this[_0x2d7aac(0x264)]=null,this[_0x2d7aac(0x105)][_0x2d7aac(0x1a6)]({'id':_0x476bcb[_0x2d7aac(0x1a8)]});},(_0x57be36=this[_0x5ec264(0x2c2)][_0x5ec264(0x164)](_0x2ff010))!=null?_0x57be36:0x4e20);}[_0x4e2a03(0x30e)](){var _0x47452c=_0x4e2a03;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x47452c(0x264)]),this[_0x47452c(0x264)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x3d631b){var _0x25b992=_0x4e2a03;if(!this[_0x25b992(0x385)])return;const {data:_0x211efc}=_0x3d631b,{unitID:_0x1f0a50,changeset:_0x3ecffa}=_0x211efc,{mutations:_0x3f8e87,type:_0x264d8a}=_0x3ecffa;this[_0x25b992(0x1c6)]={'unitId':_0x1f0a50,'type':_0x264d8a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x3a9839(_0x3f8e87)};}[_0x4e2a03(0x3f7)](){var _0x513524=_0x4e2a03;if(this[_0x513524(0x385)]){if(!this[_0x513524(0x1c6)]){this[_0x513524(0x2f3)][_0x513524(0x1b4)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x513524(0x1c6)][_0x513524(0x3b4)]=performance[_0x513524(0x256)](),this[_0x513524(0x1c6)][_0x513524(0x12e)]=this['_telemetryInfo'][_0x513524(0x3b4)]-this[_0x513524(0x1c6)][_0x513524(0x31c)],this[_0x513524(0x2bd)][_0x513524(0x382)](_0x159f51,this['_telemetryInfo']),this[_0x513524(0x1c6)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}},_0x316282['CollaborationSession']=_0xab1d30([_0x31eebf(0x2,_0x46ccef[_0x4e2a03(0x212)]),_0x31eebf(0x3,_0x46ccef[_0x4e2a03(0x211)]),_0x31eebf(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0xce)])),_0x31eebf(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x316282['MemberService'])),_0x31eebf(0x6,_0x46ccef[_0x4e2a03(0x10e)](_0x329d13)),_0x31eebf(0x7,_0x46ccef[_0x4e2a03(0x10e)](_0x5d33c9)),_0x31eebf(0x8,_0x46ccef[_0x4e2a03(0x1eb)](_0x22caa7[_0x4e2a03(0x8c)]))],_0x316282[_0x4e2a03(0x25b)]);var _0x2ccbe2=Object[_0x4e2a03(0x1d4)],_0x504676=Object[_0x4e2a03(0x1df)],_0x5c383e=(_0x1bd0f7,_0x548477,_0x51eee2,_0x203cf2)=>{for(var _0x1b7e2a=_0x203cf2>0x1?void 0x0:_0x203cf2?_0x504676(_0x548477,_0x51eee2):_0x548477,_0x4b5d7f=_0x1bd0f7['length']-0x1,_0x293f13;_0x4b5d7f>=0x0;_0x4b5d7f--)(_0x293f13=_0x1bd0f7[_0x4b5d7f])&&(_0x1b7e2a=(_0x203cf2?_0x293f13(_0x548477,_0x51eee2,_0x1b7e2a):_0x293f13(_0x1b7e2a))||_0x1b7e2a);return _0x203cf2&&_0x1b7e2a&&_0x2ccbe2(_0x548477,_0x51eee2,_0x1b7e2a),_0x1b7e2a;},_0x2a80d4=(_0x181331,_0x57ea44)=>(_0x2320d3,_0x1921d8)=>_0x57ea44(_0x2320d3,_0x1921d8,_0x181331);_0x316282[_0x4e2a03(0x407)]=class extends _0x46ccef[_0x4e2a03(0x2e1)]{constructor(_0x55b665,_0x2c3c3d,_0x1261b2,_0x36b3d1,_0x5c6218,_0x88ef1b,_0x1826c5){var _0x34853e=_0x4e2a03;super(),_0x1bee61(this,_0x34853e(0x17d),new _0x1d01ce[(_0x34853e(0x31a))](void 0x0)),_0x1bee61(this,_0x34853e(0x2fd),this[_0x34853e(0x17d)][_0x34853e(0x318)]()),_0x1bee61(this,_0x34853e(0x101),null),_0x1bee61(this,'_sessions',new Map()),_0x1bee61(this,_0x34853e(0x98),new _0x1d01ce[(_0x34853e(0x31a))](_0x18bd06[_0x34853e(0x16d)])),_0x1bee61(this,_0x34853e(0x153),this['_status$'][_0x34853e(0x318)]()),_0x1bee61(this,_0x34853e(0x3cf),!0x1),_0x1bee61(this,_0x34853e(0xb2)),_0x1bee61(this,_0x34853e(0x2b8),0x0),_0x1bee61(this,'_sendHeartbeatTimer'),_0x1bee61(this,'_timeoutTimer'),(this[_0x34853e(0x175)]=_0x55b665,this[_0x34853e(0x2f3)]=_0x2c3c3d,this[_0x34853e(0x2c2)]=_0x1261b2,this[_0x34853e(0x3ae)]=_0x36b3d1,this[_0x34853e(0x3c1)]=_0x5c6218,this['_collaborationUIEventService']=_0x88ef1b,this[_0x34853e(0x1ff)]=_0x1826c5,this['_listenToNetworkCondition']());}get[_0x4e2a03(0x34d)](){var _0x47dea8=_0x4e2a03;return this[_0x47dea8(0x17d)][_0x47dea8(0x252)]();}[_0x4e2a03(0x3a1)](){var _0x444eaa=_0x4e2a03;this[_0x444eaa(0x1ff)]&&this['disposeWithMe'](this[_0x444eaa(0x1ff)][_0x444eaa(0x306)][_0x444eaa(0x1e4)](_0x9f75de=>{var _0x2cef71=_0x444eaa;_0x9f75de&&!this[_0x2cef71(0x34d)]&&this[_0x2cef71(0x33c)](),_0x9f75de||this[_0x2cef71(0x23a)]();}));}['dispose'](){var _0x4e3f66=_0x4e2a03;super[_0x4e3f66(0xb7)](),this[_0x4e3f66(0x30f)][_0x4e3f66(0x2dd)](_0x17be86=>_0x17be86[_0x4e3f66(0xb7)]()),this['_sessions'][_0x4e3f66(0x3d5)](),this[_0x4e3f66(0x98)][_0x4e3f66(0x182)]();}async[_0x4e2a03(0x2e6)](_0x24c723){var _0x16a9de=_0x4e2a03;if(this[_0x16a9de(0x30f)][_0x16a9de(0x20d)](_0x24c723))return this[_0x16a9de(0x30f)]['get'](_0x24c723);this[_0x16a9de(0x3de)]();const _0x4f4124=this[_0x16a9de(0x175)]['createInstance'](_0x316282[_0x16a9de(0x25b)],_0x24c723,this[_0x16a9de(0x17d)][_0x16a9de(0x318)]());return this[_0x16a9de(0x30f)][_0x16a9de(0xfa)](_0x24c723,_0x4f4124),_0x4f4124;}[_0x4e2a03(0x3e9)](_0x2011bf){var _0x2f6e2a=_0x4e2a03,_0x113194;const _0x2b468a=this[_0x2f6e2a(0x30f)][_0x2f6e2a(0x133)](_0x2011bf);_0x2b468a&&(this[_0x2f6e2a(0x30f)][_0x2f6e2a(0x334)](_0x2011bf),_0x2b468a['close']()),this['_sessions'][_0x2f6e2a(0x2cd)]||(_0x113194=this['_socket'])==null||_0x113194[_0x2f6e2a(0x251)]();}[_0x4e2a03(0x33c)](){var _0x15ad02=_0x4e2a03;this[_0x15ad02(0x2b8)]=0x0,this[_0x15ad02(0xb2)]!=null&&(clearTimeout(this[_0x15ad02(0xb2)]),this[_0x15ad02(0xb2)]=null),this['_tryReconnect']();}async['_getSessionTicket'](){var _0x2d2f5e=_0x4e2a03,_0x16ec7c,_0x5d7873,_0x42c88e;const _0x338b86=this['_configService'][_0x2d2f5e(0x164)](_0x439518),_0x45ee8a=(_0x16ec7c=_0x338b86==null?void 0x0:_0x338b86['wsSessionTicketUrl'])!=null?_0x16ec7c:_0x289f6f;return(_0x42c88e=(_0x5d7873=(await this['_httpService'][_0x2d2f5e(0x133)](_0x45ee8a,{'headers':{'Content-Type':_0x2d2f5e(0x136)}}))[_0x2d2f5e(0x2ef)])==null?void 0x0:_0x5d7873['ticket'])!=null?_0x42c88e:'';}['_createSocketURL'](_0x487ab9){var _0x2a5638=_0x4e2a03,_0x436959,_0x493b55;const _0x2868ba=this[_0x2a5638(0x2c2)][_0x2a5638(0x164)](_0x4f902b),_0x1092a6=this[_0x2a5638(0x2c2)][_0x2a5638(0x164)](_0x439518),_0x35ed9d=(_0x493b55=(_0x436959=_0x1092a6==null?void 0x0:_0x1092a6[_0x2a5638(0x181)])!=null?_0x436959:_0x2868ba)!=null?_0x493b55:_0x56652f,_0x46c7f1=typeof window>'u'?new URL(_0x35ed9d):new URL(_0x35ed9d,window[_0x2a5638(0x3a6)]['origin']);_0x46c7f1[_0x2a5638(0x319)]['set'](_0x2a5638(0x1c2),_0x487ab9);const _0x5505da=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a5638(0x3a6)]['search']);return _0x5505da[_0x2a5638(0x133)](_0x2a5638(0x209))&&_0x46c7f1['searchParams'][_0x2a5638(0xfa)]('runId',_0x5505da['get']('runId')),_0x46c7f1[_0x2a5638(0x1f0)]();}async[_0x4e2a03(0x1d9)](){var _0x4be918=_0x4e2a03;const _0x3582c5=await this[_0x4be918(0x104)](),_0x4f356b=this['_createSocketURL'](_0x3582c5),_0x3fabab=this[_0x4be918(0x3ae)]['createSocket'](_0x4f356b);return this[_0x4be918(0x101)]=_0x3fabab,_0x3fabab;}async['_tryEnsureSocket'](){var _0x141953=_0x4e2a03,_0x34cf93,_0x42843b;try{const _0x4d2e22=(_0x42843b=(_0x34cf93=this['_socket'])!=null?_0x34cf93:this['_candidateSocket'])!=null?_0x42843b:await this[_0x141953(0x1d9)]();if(_0x4d2e22){const _0x965407=_0x4d2e22[_0x141953(0x2f6)];_0x4d2e22[_0x141953(0x2f6)]=_0x5ab2d0=>(this[_0x141953(0x178)](),_0x965407[_0x141953(0x202)](_0x4d2e22,[_0x5ab2d0])),_0x4d2e22[_0x141953(0x221)]['subscribe'](_0x511bf7=>this[_0x141953(0x11a)](_0x4d2e22,_0x511bf7)),_0x4d2e22['error$'][_0x141953(0x1ad)](_0x512aa4[_0x141953(0x1e0)](0x1))['subscribe'](_0x331620=>this[_0x141953(0x2f3)]['error'](_0x141953(0x401),_0x331620)),_0x4d2e22[_0x141953(0x3ef)][_0x141953(0x1ad)](_0x512aa4[_0x141953(0x1e0)](0x1))[_0x141953(0x1e4)](()=>{var _0x567de6=_0x141953;this[_0x567de6(0x2b0)](_0x4d2e22);}),_0x4d2e22[_0x141953(0x345)][_0x141953(0x1ad)](_0x512aa4['take'](0x1))[_0x141953(0x1e4)](_0x12cefb=>{var _0xe1607a=_0x141953;this['_logService'][_0xe1607a(0x316)](_0xe1607a(0x19b),'socket\x20close',_0x12cefb),this[_0xe1607a(0x289)]();});}}catch(_0x4d32c9){this[_0x141953(0x2f3)][_0x141953(0x1b4)](_0x4d32c9),this[_0x141953(0x289)]();}}[_0x4e2a03(0x2b0)](_0x5dfb76){var _0x4902d4=_0x4e2a03;this['_logService']['debug'](_0x4902d4(0x19b),_0x4902d4(0x2ba)),_0x5dfb76[_0x4902d4(0x2f6)]({'cmd':_0x7dff3['HELLO']}),this[_0x4902d4(0x178)]();}[_0x4e2a03(0x23a)](){var _0x1da516=_0x4e2a03;this['_socketReady']=!0x1,this[_0x1da516(0x101)]=null,this[_0x1da516(0x98)][_0x1da516(0x141)](_0x18bd06[_0x1da516(0x117)]),this[_0x1da516(0x17d)][_0x1da516(0x141)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x4e2a03(0x289)](){var _0x5af2f3=_0x4e2a03,_0x40024a;this[_0x5af2f3(0x23a)](),this['_retryCount']<((_0x40024a=this[_0x5af2f3(0x2c2)][_0x5af2f3(0x164)](_0x541a71))!=null?_0x40024a:0x3)?(this[_0x5af2f3(0x105)][_0x5af2f3(0x1a6)]({'id':_0x476bcb[_0x5af2f3(0x12d)]}),this['_tryReconnect']()):this[_0x5af2f3(0x105)][_0x5af2f3(0x1a6)]({'id':_0x476bcb['SOCKET_FAILED']});}['_tryReconnect'](){var _0x340535=_0x4e2a03,_0x44f1c1;const _0x2297f8=this[_0x340535(0x2b8)],_0x34246e=this[_0x340535(0x2c2)]['getConfig'](_0x439518),_0xcee8c7=_0x2297f8===0x0?0x0:((_0x44f1c1=_0x34246e==null?void 0x0:_0x34246e['retryConnectingInterval'])!=null?_0x44f1c1:0x4e20)*0x2**_0x2297f8;this[_0x340535(0xb2)]=setTimeout(()=>{var _0x1b4c84=_0x340535;clearTimeout(this[_0x1b4c84(0xb2)]),this['_retryConnectingTimer']=null,this[_0x1b4c84(0x3de)]();},_0xcee8c7),this[_0x340535(0x2b8)]+=0x1;}[_0x4e2a03(0x11a)](_0x4026fd,_0x281733){var _0x5b8535=_0x4e2a03;const {cmd:_0x36cb42}=_0x281733;_0x36cb42===_0x7dff3[_0x5b8535(0x1d8)]&&!this[_0x5b8535(0x3cf)]&&(_0x4026fd['memberID']=_0x281733[_0x5b8535(0x1db)][_0x5b8535(0x351)],this[_0x5b8535(0x17d)]['next'](_0x4026fd),this[_0x5b8535(0x98)][_0x5b8535(0x141)](_0x18bd06[_0x5b8535(0x3b5)]),this[_0x5b8535(0x3cf)]=!0x0,this[_0x5b8535(0x101)]=null),_0x36cb42===_0x7dff3['HEARTBEAT']&&this[_0x5b8535(0x3fe)](),this['_rescheduleHeartbeat']();}[_0x4e2a03(0x178)](){var _0x149aa2=_0x4e2a03,_0x49bc1a;this[_0x149aa2(0x179)](),this[_0x149aa2(0x3bf)]=setTimeout(()=>this[_0x149aa2(0x154)](),(_0x49bc1a=this['_configService']['getConfig'](_0x234784))!=null?_0x49bc1a:0x7530);}[_0x4e2a03(0x154)](){var _0x5943e2=_0x4e2a03;this[_0x5943e2(0x34d)][_0x5943e2(0x2f6)]({'cmd':_0x7dff3['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}['_waitForHeartbeatResponse'](){var _0x3e8d15=_0x4e2a03,_0xe766d9;this[_0x3e8d15(0x21f)]=setTimeout(()=>this[_0x3e8d15(0x289)](),(_0xe766d9=this['_configService'][_0x3e8d15(0x164)](_0x2ff010))!=null?_0xe766d9:0x4e20);}[_0x4e2a03(0x179)](){var _0x3b4874=_0x4e2a03;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x3b4874(0x3bf)]),this['_sendHeartbeatTimer']=null);}[_0x4e2a03(0x3fe)](){var _0x233564=_0x4e2a03;this[_0x233564(0x21f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x233564(0x21f)]=null);}},_0x316282['CollaborationSessionService']=_0x5c383e([_0x2a80d4(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['Injector'])),_0x2a80d4(0x1,_0x46ccef[_0x4e2a03(0x212)]),_0x2a80d4(0x2,_0x46ccef[_0x4e2a03(0x211)]),_0x2a80d4(0x3,_0xe05f11),_0x2a80d4(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c['HTTPService'])),_0x2a80d4(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x5d33c9)),_0x2a80d4(0x6,_0x46ccef['Optional'](_0x4f45ee))],_0x316282[_0x4e2a03(0x407)]);const _0x51a462=[];for(let _0x1d06ad=0x0;_0x1d06ad<0x100;++_0x1d06ad)_0x51a462['push']((_0x1d06ad+0x100)[_0x4e2a03(0x1f0)](0x10)[_0x4e2a03(0x299)](0x1));function _0x1cd216(_0x5b2879,_0x17b0fe=0x0){return(_0x51a462[_0x5b2879[_0x17b0fe+0x0]]+_0x51a462[_0x5b2879[_0x17b0fe+0x1]]+_0x51a462[_0x5b2879[_0x17b0fe+0x2]]+_0x51a462[_0x5b2879[_0x17b0fe+0x3]]+'-'+_0x51a462[_0x5b2879[_0x17b0fe+0x4]]+_0x51a462[_0x5b2879[_0x17b0fe+0x5]]+'-'+_0x51a462[_0x5b2879[_0x17b0fe+0x6]]+_0x51a462[_0x5b2879[_0x17b0fe+0x7]]+'-'+_0x51a462[_0x5b2879[_0x17b0fe+0x8]]+_0x51a462[_0x5b2879[_0x17b0fe+0x9]]+'-'+_0x51a462[_0x5b2879[_0x17b0fe+0xa]]+_0x51a462[_0x5b2879[_0x17b0fe+0xb]]+_0x51a462[_0x5b2879[_0x17b0fe+0xc]]+_0x51a462[_0x5b2879[_0x17b0fe+0xd]]+_0x51a462[_0x5b2879[_0x17b0fe+0xe]]+_0x51a462[_0x5b2879[_0x17b0fe+0xf]])['toLowerCase']();}let _0x309180;const _0xb4e37f=new Uint8Array(0x10);function _0x4b359b(){var _0x252a9b=_0x4e2a03;if(!_0x309180){if(typeof crypto>'u'||!crypto[_0x252a9b(0x162)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');_0x309180=crypto[_0x252a9b(0x162)][_0x252a9b(0x2a3)](crypto);}return _0x309180(_0xb4e37f);}const _0xe57c36={'randomUUID':typeof crypto<'u'&&crypto[_0x4e2a03(0x3fd)]&&crypto[_0x4e2a03(0x3fd)]['bind'](crypto)};function _0x72b1d2(_0x27c754,_0x25b70a,_0x22a72d){var _0x26bc21=_0x4e2a03,_0x53e16e,_0x3b0009,_0x26ee81;if(_0xe57c36['randomUUID']&&!_0x27c754)return _0xe57c36[_0x26bc21(0x3fd)]();_0x27c754=_0x27c754||{};const _0x3f26f1=(_0x26ee81=(_0x3b0009=_0x27c754['random'])!=null?_0x3b0009:(_0x53e16e=_0x27c754[_0x26bc21(0x85)])==null?void 0x0:_0x53e16e[_0x26bc21(0x2df)](_0x27c754))!=null?_0x26ee81:_0x4b359b();if(_0x3f26f1['length']<0x10)throw new Error(_0x26bc21(0x1b8));return _0x3f26f1[0x6]=_0x3f26f1[0x6]&0xf|0x40,_0x3f26f1[0x8]=_0x3f26f1[0x8]&0x3f|0x80,_0x1cd216(_0x3f26f1);}const _0x37ffdb=_0x46ccef[_0x4e2a03(0xe1)](_0x4e2a03(0x111));function _0x52e299(_0x35d8d4){var _0x5bac58=_0x4e2a03;return _0x5bac58(0xe5)+_0x35d8d4;}var _0x4352af=Object[_0x4e2a03(0x1d4)],_0x4a9f0d=Object[_0x4e2a03(0x1df)],_0x28426b=(_0x4f18bf,_0x4486e2,_0x15cf28,_0x4c57ad)=>{var _0x1defa2=_0x4e2a03;for(var _0x30c9b1=_0x4c57ad>0x1?void 0x0:_0x4c57ad?_0x4a9f0d(_0x4486e2,_0x15cf28):_0x4486e2,_0x56b815=_0x4f18bf[_0x1defa2(0xb9)]-0x1,_0x93ae72;_0x56b815>=0x0;_0x56b815--)(_0x93ae72=_0x4f18bf[_0x56b815])&&(_0x30c9b1=(_0x4c57ad?_0x93ae72(_0x4486e2,_0x15cf28,_0x30c9b1):_0x93ae72(_0x30c9b1))||_0x30c9b1);return _0x4c57ad&&_0x30c9b1&&_0x4352af(_0x4486e2,_0x15cf28,_0x30c9b1),_0x30c9b1;},_0x18a1e2=(_0x141c98,_0x448180)=>(_0x469048,_0x39f21a)=>_0x448180(_0x469048,_0x39f21a,_0x141c98);function _0x4365ea(_0x11e409){var _0x967b96=_0x4e2a03;const {unitID:_0x5c20d4,mutations:_0x1a327e}=_0x11e409;return{'unitId':_0x5c20d4,'subUnitId':_0x1a327e[0x0][_0x967b96(0x231)][_0x967b96(0x89)]};}_0x316282[_0x4e2a03(0x35b)]=class{constructor(_0x46ef3a,_0x2652b9,_0x317265){var _0xe1fccf=_0x4e2a03;this[_0xe1fccf(0x175)]=_0x46ef3a,this[_0xe1fccf(0x313)]=_0x2652b9,this[_0xe1fccf(0x8e)]=_0x317265;}[_0x4e2a03(0x220)](_0x272696){var _0x12a73a=_0x4e2a03,_0x26fa7d,_0x2af637,_0x4fca62,_0x5e12a1;const _0xfcfd46=this['_injector']['get'](_0xa6c87d[_0x12a73a(0x20b)]),{unitId:_0x107f59,subUnitId:_0x5c219f}=_0x4365ea(_0x272696),_0x4e19a7=_0xfcfd46==null?void 0x0:_0xfcfd46[_0x12a73a(0x15d)](_0x107f59)[_0x12a73a(0xbc)](),_0x6ffe13=(_0x2af637=(_0x26fa7d=this['_instanceService'][_0x12a73a(0x218)](_0x107f59))==null?void 0x0:_0x26fa7d[_0x12a73a(0xa0)]())==null?void 0x0:_0x2af637[_0x12a73a(0x1ca)]();if(_0x4e19a7[_0x12a73a(0xb9)]===0x0||!_0x107f59||!_0x5c219f)return;const _0x4f60a0=[{'id':_0xa6c87d['SetSelectionsOperation']['id'],'params':{'unitId':_0x107f59,'subUnitId':_0x6ffe13,'selections':_0x46ccef[_0x12a73a(0x23c)][_0x12a73a(0x201)](_0x4e19a7)}}],_0x3e46a6=this[_0x12a73a(0x313)]['transformMutationsWithChangeset'](_0x272696,_0x4f60a0);if(!_0x9e3a93[_0x12a73a(0x383)](_0x3e46a6))throw _0x3e46a6[_0x12a73a(0x1b4)];const _0x1dd4e9=(_0x5e12a1=(_0x4fca62=_0x3e46a6['m2Prime'][0x0])==null?void 0x0:_0x4fca62['params'])==null?void 0x0:_0x5e12a1[_0x12a73a(0x19d)];if(Array[_0x12a73a(0x2de)](_0x1dd4e9)&&_0x1dd4e9[_0x12a73a(0xb9)]){if(_0x1dd4e9[_0x12a73a(0xb9)]===_0x4f60a0[0x0][_0x12a73a(0x231)][_0x12a73a(0x19d)][_0x12a73a(0xb9)]&&_0x1dd4e9[_0x12a73a(0x2f1)]((_0xe3b398,_0x24432e)=>_0x46ccef['Rectangle'][_0x12a73a(0xa5)](_0xe3b398[_0x12a73a(0x32d)],_0x4f60a0[0x0][_0x12a73a(0x231)][_0x12a73a(0x19d)][_0x24432e][_0x12a73a(0x32d)])))return;this['_injector'][_0x12a73a(0x133)](_0x46ccef[_0x12a73a(0x27b)])[_0x12a73a(0x386)](_0xa6c87d[_0x12a73a(0x1e7)]['id'],{'unitId':_0x107f59,'subUnitId':_0x6ffe13,'selections':_0x1dd4e9});}}},_0x316282[_0x4e2a03(0x35b)]=_0x28426b([_0x18a1e2(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x18a1e2(0x1,_0x9e3a93[_0x4e2a03(0x15b)]),_0x18a1e2(0x2,_0x46ccef['IUniverInstanceService'])],_0x316282[_0x4e2a03(0x35b)]);const _0x20811f=_0x46ccef[_0x4e2a03(0xe1)](_0x4e2a03(0x355));var _0x3a7e8e=(_0x148e26=>(_0x148e26[_0x148e26[_0x4e2a03(0xca)]=0x0]=_0x4e2a03(0xca),_0x148e26[_0x148e26['OTHER_CLIENTS_EDITING']=0x1]=_0x4e2a03(0x2d9),_0x148e26))(_0x3a7e8e||{});const _0x270133=new Set([_0xa6c87d[_0x4e2a03(0x15e)]['id']]);function _0x3df76e(_0x10ee4b,_0x482ed2,_0x397157,_0x253542,_0x1212fc){var _0x795a0d=_0x4e2a03,_0x3ca9fb,_0x17d5d9,_0x4f44d1,_0x230633;const _0x58905e=[];for(const _0x5d7b9f of _0x10ee4b)if(_0x270133['has'](_0x5d7b9f['id'])){if(_0x58905e[_0x795a0d(0xb9)]>0x0)break;_0x58905e[_0x795a0d(0x32c)](_0x5d7b9f);break;}else _0x58905e[_0x795a0d(0x32c)](_0x5d7b9f);const _0x3fbe5e=(_0x17d5d9=(_0x3ca9fb=_0x1212fc[_0x795a0d(0x159)]())==null?void 0x0:_0x3ca9fb[_0x795a0d(0x22e)])!=null?_0x17d5d9:_0x795a0d(0x380),_0x6fcaa6=(_0x230633=(_0x4f44d1=_0x1212fc[_0x795a0d(0x159)]())==null?void 0x0:_0x4f44d1[_0x795a0d(0x351)])!=null?_0x230633:_0x795a0d(0x380);return{'changeset':{'unitID':_0x482ed2,'type':_0x9e3a93[_0x795a0d(0x3a2)](_0x397157[_0x795a0d(0x1f9)](_0x482ed2)),'baseRev':_0x253542[_0x795a0d(0x124)](_0x482ed2),'revision':0x0,'userID':_0x3fbe5e,'memberID':_0x6fcaa6,'mutations':_0x58905e},'pendingMutations':_0x10ee4b[_0x795a0d(0x299)](_0x58905e['length'])};}function _0x97ac55(_0x1fd9ba,_0x4d91e4,_0x1575b2,_0x51f1fe,_0x230687){var _0x3034f4=_0x4e2a03,_0x1e59b5,_0x3dc869,_0x64b408,_0x5eeba3;const _0x1d96f0=[_0x1fd9ba[_0x3034f4(0x3d1)]((_0x4714e5,_0x4f3f56)=>{var _0x2a6078=_0x3034f4,_0x315c07;const {id:_0x5bd165}=_0x4714e5,{id:_0x3571be,type:_0x209e83}=_0x4f3f56,_0xdaf72b=(_0x315c07=_0x4714e5[_0x2a6078(0x231)])!=null?_0x315c07:{'actions':null},_0x4eba63=_0x4f3f56[_0x2a6078(0x231)];if(_0x5bd165&&_0x5bd165!==_0x3571be)throw new Error(_0x2a6078(0x22b)+_0x5bd165+_0x2a6078(0x368)+_0x3571be+'.');return{..._0x4714e5,'id':_0x3571be,'type':_0x209e83,'params':{'unitId':_0x4eba63[_0x2a6078(0x287)],'textRanges':_0x4eba63['textRanges'],'actions':_0x46ccef[_0x2a6078(0x314)][_0x2a6078(0x113)](_0xdaf72b[_0x2a6078(0x2c1)],_0x4eba63[_0x2a6078(0x2c1)])}};},{})],_0x53dceb=(_0x3dc869=(_0x1e59b5=_0x230687['getCurrentUser']())==null?void 0x0:_0x1e59b5[_0x3034f4(0x22e)])!=null?_0x3dc869:_0x3034f4(0x380),_0x11db00=(_0x5eeba3=(_0x64b408=_0x230687[_0x3034f4(0x159)]())==null?void 0x0:_0x64b408[_0x3034f4(0x351)])!=null?_0x5eeba3:'unknown';return{'changeset':{'unitID':_0x4d91e4,'type':_0x9e3a93[_0x3034f4(0x3a2)](_0x1575b2[_0x3034f4(0x1f9)](_0x4d91e4)),'baseRev':_0x51f1fe[_0x3034f4(0x124)](_0x4d91e4),'revision':0x0,'userID':_0x53dceb,'memberID':_0x11db00,'mutations':_0x1d96f0},'pendingMutations':[]};}function _0x259fca(_0x2fa1c6,_0x31e512){var _0x4b2768=_0x4e2a03;const _0x4caafd=new _0x1d01ce[(_0x4b2768(0x8b))](0x1);return setTimeout(()=>_0x4caafd[_0x4b2768(0x141)](_0x31e512),_0x2fa1c6),_0x4caafd['asObservable']()['pipe'](_0x1d01ce[_0x4b2768(0x1e0)](0x1));}const _0x210289={'id':_0xa6c87d['EmptyMutation']['id'],'type':_0x46ccef[_0x4e2a03(0x25d)][_0x4e2a03(0x232)],'params':{}};var _0x385d2d=Object[_0x4e2a03(0x1d4)],_0x46e499=Object['getOwnPropertyDescriptor'],_0x496031=(_0xa8eb3e,_0x22b337,_0x5ab4d4,_0x39c6d1)=>{for(var _0x509bee=_0x39c6d1>0x1?void 0x0:_0x39c6d1?_0x46e499(_0x22b337,_0x5ab4d4):_0x22b337,_0x20cdcd=_0xa8eb3e['length']-0x1,_0x5c0e8a;_0x20cdcd>=0x0;_0x20cdcd--)(_0x5c0e8a=_0xa8eb3e[_0x20cdcd])&&(_0x509bee=(_0x39c6d1?_0x5c0e8a(_0x22b337,_0x5ab4d4,_0x509bee):_0x5c0e8a(_0x509bee))||_0x509bee);return _0x39c6d1&&_0x509bee&&_0x385d2d(_0x22b337,_0x5ab4d4,_0x509bee),_0x509bee;},_0x2dab9d=(_0x2219dc,_0xaa4c78)=>(_0x588713,_0x47bab9)=>_0xaa4c78(_0x588713,_0x47bab9,_0x2219dc),_0x51cebd=(_0xd83846=>(_0xd83846[_0x4e2a03(0x3d3)]=_0x4e2a03(0x3d6),_0xd83846[_0x4e2a03(0x3f2)]=_0x4e2a03(0xf5),_0xd83846[_0x4e2a03(0x28f)]=_0x4e2a03(0x353),_0xd83846['AWAITING']=_0x4e2a03(0x375),_0xd83846[_0x4e2a03(0x387)]='awaiting_with_pending',_0xd83846[_0x4e2a03(0x150)]='fetch_missing',_0xd83846[_0x4e2a03(0xec)]=_0x4e2a03(0x86),_0xd83846['OFFLINE']=_0x4e2a03(0x3f1),_0xd83846))(_0x51cebd||{});const _0x4d89bf=0xea60;class _0x201738{constructor(_0xcf25e9,_0xeaa68d,_0x431a24,_0x2ad22b,_0x5c716f,_0x35ea56,_0x56de04,_0xd3cb58,_0x11b192){var _0x4055c9=_0x4e2a03;_0x1bee61(this,'_awaitingChangeset',null),_0x1bee61(this,_0x4055c9(0x18e),[]),(this['unitID']=_0xcf25e9,this[_0x4055c9(0xf6)]=_0xeaa68d,this[_0x4055c9(0x118)]=_0x5c716f,this[_0x4055c9(0x135)]=_0x35ea56,this['_undoRedoService']=_0x56de04,this[_0x4055c9(0x99)]=_0xd3cb58,this[_0x4055c9(0x36b)]=_0x11b192,this[_0x4055c9(0x261)]=_0x431a24,this[_0x4055c9(0x18e)]=_0x2ad22b);}['_checkMissing'](_0x241c8a){var _0x4d48ab=_0x4e2a03;const _0x538b42=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return _0x241c8a['revision']>_0x538b42+0x1?(this['_handler'][_0x4d48ab(0x31e)]({'from':_0x538b42,'to':_0x241c8a[_0x4d48ab(0x1aa)]-0x1}),!0x0):!0x1;}[_0x4e2a03(0x1dc)](_0x1bd19f){var _0x37ba80=_0x4e2a03;this[_0x37ba80(0x17e)][_0x37ba80(0x120)](this[_0x37ba80(0x2bf)],_0x1bd19f);}[_0x4e2a03(0x381)](_0x5abdd4){var _0x77db9a=_0x4e2a03,_0x394460,_0x569662;(_0x569662=(_0x394460=this[_0x77db9a(0x118)])[_0x77db9a(0x250)])==null||_0x569662[_0x77db9a(0x2df)](_0x394460,_0x5abdd4);}['_transformIMECache'](_0x459981){var _0x58ec92=_0x4e2a03,_0x1ded72,_0x24d7f8;return(_0x24d7f8=(_0x1ded72=this['_handler'])[_0x58ec92(0x29d)])==null?void 0x0:_0x24d7f8['call'](_0x1ded72,_0x459981);}[_0x4e2a03(0x2c5)](_0x2bfe9a){var _0x204833=_0x4e2a03,_0x34e08f,_0x57c865;return(_0x57c865=(_0x34e08f=this[_0x204833(0x118)])[_0x204833(0x173)])==null?void 0x0:_0x57c865[_0x204833(0x2df)](_0x34e08f,_0x2bfe9a);}[_0x4e2a03(0x1bc)](_0x346157){var _0x1f1caa=_0x4e2a03,_0x1f5ebe,_0x421d8d,_0x207229;return(_0x207229=(_0x421d8d=(_0x1f5ebe=this['_handler'])[_0x1f1caa(0x10d)])==null?void 0x0:_0x421d8d[_0x1f1caa(0x2df)](_0x1f5ebe,_0x346157))!=null?_0x207229:_0x346157;}[_0x4e2a03(0x2fe)](_0x5e8ba5){var _0x452e6b=_0x4e2a03,_0x2cc3ed,_0x3ce279,_0x4fe29c;return(_0x4fe29c=(_0x3ce279=(_0x2cc3ed=this[_0x452e6b(0x118)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3ce279[_0x452e6b(0x2df)](_0x2cc3ed,_0x5e8ba5))!=null?_0x4fe29c:_0x5e8ba5;}[_0x4e2a03(0xae)](_0x110e11){var _0x43fe37=_0x4e2a03,_0x41ee45,_0x23df22;if(this[_0x43fe37(0xf6)]===_0x392914[_0x43fe37(0x13f)]){const {unitID:_0x33ae59,mutations:_0x468ca2,memberID:_0x1a325d}=_0x110e11,_0x357fa8=_0x468ca2[0x0]['params']['textRanges'];Array[_0x43fe37(0x2de)](_0x357fa8)&&_0x357fa8[_0x43fe37(0xb9)]>0x0&&((_0x23df22=(_0x41ee45=this[_0x43fe37(0x118)])[_0x43fe37(0x247)])==null||_0x23df22['call'](_0x41ee45,{'unitID':_0x33ae59,'memberID':_0x1a325d,'textRanges':_0x357fa8}));}}[_0x4e2a03(0x149)](){var _0x363855=_0x4e2a03,_0x2889cb;(_0x2889cb=this[_0x363855(0x36b)])==null||_0x2889cb[_0x363855(0x95)](this[_0x363855(0x2bf)],this[_0x363855(0xf6)],this[_0x363855(0x261)],this[_0x363855(0x18e)]);}[_0x4e2a03(0x10b)](){var _0x5bb564=_0x4e2a03;return this[_0x5bb564(0x99)][_0x5bb564(0x124)](this[_0x5bb564(0x2bf)]);}[_0x4e2a03(0x1bd)](){var _0xb41ccc=_0x4e2a03;this[_0xb41ccc(0x99)][_0xb41ccc(0x171)](this[_0xb41ccc(0x2bf)]);}[_0x4e2a03(0x281)](_0x5f44f8){var _0x25aad1=_0x4e2a03,_0x4de6ae;let _0x2138da=this[_0x25aad1(0x1bc)](_0x5f44f8);_0x2138da=this[_0x25aad1(0x2fe)](_0x2138da);const _0x3ad8c4=_0x46ccef[_0x25aad1(0x369)](_0x2138da[_0x25aad1(0x3c6)],this['_commandService'],{'fromCollab':!0x0});if(!_0x3ad8c4[_0x25aad1(0x2c7)])throw _0x3ad8c4[_0x25aad1(0x1b4)]instanceof Error?_0x3ad8c4['error']:new Error((_0x4de6ae=_0x3ad8c4['error'])!=null?_0x4de6ae:_0x25aad1(0x205));this['_transformIMECache'](_0x2138da),this['_transformStateCache'](_0x2138da),this['_transformUndoredo'](_0x5f44f8),this[_0x25aad1(0x381)](_0x2138da),this[_0x25aad1(0xae)](_0x2138da),this[_0x25aad1(0x1bd)]();}}_0x316282[_0x4e2a03(0xcf)]=class extends _0x201738{constructor(_0x4d0304,_0x5dd468,_0x328481,_0x1a4de8,_0x2e7ebf,_0x3ad766,_0x398af1,_0x41af3c,_0x9c2520,_0x312648){var _0x34f59d=_0x4e2a03;super(_0x4d0304,_0x5dd468,null,[],_0x328481,_0x398af1,_0x3ad766,_0x1a4de8,_0x312648),_0x1bee61(this,_0x34f59d(0x2d8),_0x34f59d(0xf5)),(this[_0x34f59d(0x175)]=_0x2e7ebf,this[_0x34f59d(0x2f3)]=_0x41af3c,this[_0x34f59d(0x313)]=_0x9c2520,this[_0x34f59d(0x279)]=_0x312648);}[_0x4e2a03(0x17f)](_0x2192ed){var _0x36d519=_0x4e2a03;const _0xabc5ed=this[_0x36d519(0x175)][_0x36d519(0x2dc)](_0x316282[_0x36d519(0x1c3)],this['unitID'],this['type'],[_0x2192ed],this[_0x36d519(0x118)]);return _0xabc5ed[_0x36d519(0x358)](),_0xabc5ed[_0x36d519(0x149)](),_0xabc5ed;}[_0x4e2a03(0xbf)](_0x27848e){var _0x2682d6=_0x4e2a03;if(this['_checkMissing'](_0x27848e))return this[_0x2682d6(0x175)][_0x2682d6(0x2dc)](_0x316282[_0x2682d6(0x37d)],this[_0x2682d6(0x2bf)],this['type'],null,[],null,[_0x27848e],this[_0x2682d6(0x118)]);try{const _0xeb3767=this[_0x2682d6(0x313)][_0x2682d6(0x1cd)](_0x27848e,[_0x210289]);if(_0x9e3a93[_0x2682d6(0x383)](_0xeb3767)){const {c1Prime:_0x4aab8d}=_0xeb3767;return this[_0x2682d6(0x281)](_0x4aab8d),this;}throw _0xeb3767[_0x2682d6(0x1b4)];}catch(_0x21e2a4){return this[_0x2682d6(0x2f3)]['error'](_0x21e2a4),this[_0x2682d6(0x193)](!0x1);}}[_0x4e2a03(0x193)](_0x380b3d){var _0xf7b148=_0x4e2a03;return this['_injector']['createInstance'](_0x316282['ConflictState'],this[_0xf7b148(0x2bf)],this[_0xf7b148(0xf6)],null,[],this[_0xf7b148(0x118)],_0x380b3d);}[_0x4e2a03(0xd7)](){var _0xfcd05b=_0x4e2a03;throw new Error(_0xfcd05b(0x3c4));}['onRemoteRej'](){var _0x2cebeb=_0x4e2a03;throw new Error(_0x2cebeb(0x31f));}[_0x4e2a03(0x2bc)](){return this;}[_0x4e2a03(0x30b)](){var _0x5dedac=_0x4e2a03;return this[_0x5dedac(0x175)][_0x5dedac(0x2dc)](_0x316282['OfflineState'],this[_0x5dedac(0x2bf)],this[_0x5dedac(0xf6)],null,[],this[_0x5dedac(0x118)]);}[_0x4e2a03(0x21e)](){return this;}[_0x4e2a03(0x28c)](){var _0x5a3d11=_0x4e2a03;throw new Error(_0x5a3d11(0x376));}[_0x4e2a03(0x2ca)](){var _0x2d3f48=_0x4e2a03;const _0x31ce71=this[_0x2d3f48(0x99)][_0x2d3f48(0x124)](this[_0x2d3f48(0x2bf)]);return this[_0x2d3f48(0x118)][_0x2d3f48(0x31e)]({'from':_0x31ce71,'to':0x0}),this[_0x2d3f48(0x175)][_0x2d3f48(0x2dc)](_0x316282[_0x2d3f48(0x37d)],this[_0x2d3f48(0x2bf)],this[_0x2d3f48(0xf6)],null,[],null,[],this[_0x2d3f48(0x118)]);}},_0x316282['SyncedState']=_0x496031([_0x2dab9d(0x3,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x267)])),_0x2dab9d(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x2dab9d(0x5,_0x46ccef['IUndoRedoService']),_0x2dab9d(0x6,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0x7,_0x46ccef['ILogService']),_0x2dab9d(0x8,_0x9e3a93['ITransformService']),_0x2dab9d(0x9,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282[_0x4e2a03(0xcf)]),_0x316282['PendingState']=class extends _0x201738{constructor(_0x3ba194,_0x12ce31,_0x3057de,_0x22a013,_0xf7c39d,_0x237b1e,_0x4ecdfe,_0x244f2d,_0x2e74be,_0x335b0d,_0x596cd7,_0x1a5795,_0x4dbc92,_0x5ec56e){var _0x549f1e=_0x4e2a03;super(_0x3ba194,_0x12ce31,null,_0x3057de,_0x22a013,_0x2e74be,_0x4dbc92,_0x237b1e,_0x5ec56e),_0x1bee61(this,_0x549f1e(0x2d8),_0x549f1e(0x353)),_0x1bee61(this,_0x549f1e(0x254),null),_0x1bee61(this,_0x549f1e(0x2e3),null),(this[_0x549f1e(0x175)]=_0xf7c39d,this['_memberService']=_0x4ecdfe,this[_0x549f1e(0x2f3)]=_0x244f2d,this[_0x549f1e(0x2c2)]=_0x335b0d,this[_0x549f1e(0x313)]=_0x596cd7,this[_0x549f1e(0x12b)]=_0x1a5795);}[_0x4e2a03(0x17f)](_0x40cace){var _0x2babae=_0x4e2a03;return this[_0x2babae(0x18e)][_0x2babae(0x32c)](_0x40cace),this[_0x2babae(0x149)](),this;}[_0x4e2a03(0xbf)](_0x29a140){var _0x5e39e9=_0x4e2a03;if(this[_0x5e39e9(0x225)](_0x29a140))return this[_0x5e39e9(0x38e)](),this[_0x5e39e9(0x175)][_0x5e39e9(0x2dc)](_0x316282['FetchingMissState'],this['unitID'],this[_0x5e39e9(0xf6)],null,this['_pendingMutations'],null,[_0x29a140],this[_0x5e39e9(0x118)]);try{const _0x19c1e0=this['_transformService']['transformMutationsWithChangeset'](_0x29a140,this['_pendingMutations']);if(_0x9e3a93[_0x5e39e9(0x383)](_0x19c1e0)){const {c1Prime:_0x83980a,m2Prime:_0x421ffb}=_0x19c1e0;this['_executeRemoteChangeset'](_0x83980a);const _0x2e805f=this['_injector']['createInstance'](_0x316282[_0x5e39e9(0x1c3)],this[_0x5e39e9(0x2bf)],this['type'],_0x421ffb,this[_0x5e39e9(0x118)]);this['_clearScheduledTask']();const _0x35a751=new Date()[_0x5e39e9(0xcd)](),_0x58e96b=this['_scheduleCompleteTimestamp']?Math[_0x5e39e9(0x338)](this[_0x5e39e9(0x254)]-_0x35a751,0x0):this[_0x5e39e9(0x186)]();return _0x2e805f[_0x5e39e9(0x358)](_0x58e96b),_0x2e805f;}throw _0x19c1e0[_0x5e39e9(0x1b4)];}catch(_0x5c3c68){return this[_0x5e39e9(0x2f3)][_0x5e39e9(0x1b4)](_0x5c3c68),this[_0x5e39e9(0x193)](!0x1);}}[_0x4e2a03(0xd7)](){var _0x3dbe3f=_0x4e2a03;throw new Error(_0x3dbe3f(0x1fe));}[_0x4e2a03(0x2e4)](){var _0x3dd77c=_0x4e2a03;throw new Error(_0x3dd77c(0xa8));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x369efb=_0x4e2a03;return this[_0x369efb(0x38e)](),this['_injector'][_0x369efb(0x2dc)](_0x316282[_0x369efb(0x1d6)],this['unitID'],this[_0x369efb(0xf6)],null,this[_0x369efb(0x18e)],this[_0x369efb(0x118)]);}['toggleOnline'](){return this;}['_schedule'](_0x3180a5){var _0x15cf19=_0x4e2a03;const _0x18e9d6=_0x3180a5!=null?_0x3180a5:this[_0x15cf19(0x186)]();this[_0x15cf19(0x254)]=new Date()[_0x15cf19(0xcd)]()+_0x18e9d6,this['_sendingTimer']=setTimeout(()=>{var _0x27d5a0=_0x15cf19;this[_0x27d5a0(0x38e)]();let _0x2dbb66=null;switch(this[_0x27d5a0(0xf6)]){case _0x392914[_0x27d5a0(0x185)]:{_0x2dbb66=_0x3df76e(this[_0x27d5a0(0x18e)],this[_0x27d5a0(0x2bf)],this['_univerInstanceService'],this[_0x27d5a0(0x99)],this['_memberService']);break;}case _0x392914['UNIVER_DOC']:{this[_0x27d5a0(0x18e)][_0x27d5a0(0x2f1)](_0x5551bb=>_0x5551bb['id']===_0xa0cfaa[_0x27d5a0(0x1b7)]['id'])?_0x2dbb66=_0x97ac55(this[_0x27d5a0(0x18e)],this[_0x27d5a0(0x2bf)],this[_0x27d5a0(0x12b)],this['_revisionService'],this['_memberService']):_0x2dbb66=_0x3df76e(this[_0x27d5a0(0x18e)],this[_0x27d5a0(0x2bf)],this[_0x27d5a0(0x12b)],this['_revisionService'],this[_0x27d5a0(0x224)]);break;}default:throw new Error(_0x27d5a0(0xac)+this[_0x27d5a0(0xf6)]+_0x27d5a0(0x357));}const {changeset:_0x14eafd,pendingMutations:_0x1c2cca}=_0x2dbb66;this['_handler'][_0x27d5a0(0x29c)](_0x14eafd);const _0x56bfdf=_0x1c2cca[_0x27d5a0(0xb9)]?this[_0x27d5a0(0x175)]['createInstance'](_0x316282[_0x27d5a0(0x112)],this[_0x27d5a0(0x2bf)],this[_0x27d5a0(0xf6)],_0x14eafd,_0x1c2cca,this[_0x27d5a0(0x118)],void 0x0):this[_0x27d5a0(0x175)][_0x27d5a0(0x2dc)](_0x316282[_0x27d5a0(0x1b9)],this[_0x27d5a0(0x2bf)],this[_0x27d5a0(0xf6)],_0x14eafd,this[_0x27d5a0(0x118)]);_0x56bfdf[_0x27d5a0(0x149)](),this['_handler'][_0x27d5a0(0x1ec)](this,_0x56bfdf);},_0x18e9d6);}[_0x4e2a03(0x186)](){var _0x10debd=_0x4e2a03,_0x33eace;const _0x3fb362=this[_0x10debd(0x2c2)][_0x10debd(0x164)](_0x439518);return(_0x33eace=_0x3fb362==null?void 0x0:_0x3fb362[_0x10debd(0x233)])!=null?_0x33eace:0x7d0;}[_0x4e2a03(0x28c)](){var _0xf258c5=_0x4e2a03;throw new Error(_0xf258c5(0x28e));}['_clearScheduledTask'](){var _0x291b70=_0x4e2a03;this[_0x291b70(0x2e3)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x4e2a03(0x193)](_0x82a92d){var _0x3b2a16=_0x4e2a03;return this[_0x3b2a16(0x38e)](),this[_0x3b2a16(0x175)]['createInstance'](_0x316282['ConflictState'],this['unitID'],this[_0x3b2a16(0xf6)],null,this[_0x3b2a16(0x18e)],this[_0x3b2a16(0x118)],_0x82a92d);}},_0x316282['PendingState']=_0x496031([_0x2dab9d(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x2dab9d(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x267)])),_0x2dab9d(0x6,_0x46ccef[_0x4e2a03(0x10e)](_0x316282['MemberService'])),_0x2dab9d(0x7,_0x46ccef[_0x4e2a03(0x212)]),_0x2dab9d(0x8,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0x9,_0x46ccef['IConfigService']),_0x2dab9d(0xa,_0x9e3a93[_0x4e2a03(0x15b)]),_0x2dab9d(0xb,_0x46ccef['IUniverInstanceService']),_0x2dab9d(0xc,_0x46ccef[_0x4e2a03(0x2a1)]),_0x2dab9d(0xd,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282[_0x4e2a03(0x1c3)]),_0x316282[_0x4e2a03(0x1b9)]=class extends _0x201738{constructor(_0x4b371c,_0x28fc0f,_0x4086ba,_0xf4f75d,_0x32761e,_0x268b11,_0x58621d,_0x283a8e,_0x2ef6b1,_0x5c60da,_0xf7e9b2){var _0x2fbae7=_0x4e2a03;super(_0x4b371c,_0x28fc0f,_0x4086ba,[],_0xf4f75d,_0x58621d,_0x5c60da,_0x268b11,_0xf7e9b2),_0x1bee61(this,'status',_0x2fbae7(0x375)),_0x1bee61(this,_0x2fbae7(0x36f),0x0),_0x1bee61(this,'_resendTimer'),_0x1bee61(this,'_sender'),(this[_0x2fbae7(0x175)]=_0x32761e,this['_logService']=_0x283a8e,this[_0x2fbae7(0x313)]=_0x2ef6b1);}['appendMutation'](_0x51e103){var _0x1e912f=_0x4e2a03;this['_clearScheduledTask']();const _0x52b713=this[_0x1e912f(0x175)][_0x1e912f(0x2dc)](_0x316282[_0x1e912f(0x112)],this[_0x1e912f(0x2bf)],this[_0x1e912f(0xf6)],this[_0x1e912f(0x261)],[_0x51e103],this['_handler'],this[_0x1e912f(0x2c0)]);return _0x52b713[_0x1e912f(0x149)](),_0x52b713;}[_0x4e2a03(0xbf)](_0x71b0b8){var _0xf50f06=_0x4e2a03;if(this[_0xf50f06(0x225)](_0x71b0b8))return this[_0xf50f06(0x38e)](),this[_0xf50f06(0x175)][_0xf50f06(0x2dc)](_0x316282['FetchingMissState'],this[_0xf50f06(0x2bf)],this[_0xf50f06(0xf6)],this['_awaitingChangeset'],[],null,[_0x71b0b8],this[_0xf50f06(0x118)]);try{const _0x5ae73d=this[_0xf50f06(0x313)][_0xf50f06(0x103)]([_0x71b0b8],[this['_awaitingChangeset']],!0x1);if(_0x9e3a93[_0xf50f06(0x307)](_0x5ae73d)){const {c1Prime:_0x593b91,c2Prime:_0x57b084}=_0x5ae73d;this[_0xf50f06(0x281)](_0x593b91[0x0]),_0x57b084[0x0]['baseRev']=this[_0xf50f06(0x10b)](),this['_clearScheduledTask']();const _0x3e7b29=this[_0xf50f06(0x175)][_0xf50f06(0x2dc)](_0x316282[_0xf50f06(0x1b9)],this[_0xf50f06(0x2bf)],this[_0xf50f06(0xf6)],_0x57b084[0x0],this[_0xf50f06(0x118)]);return _0x3e7b29[_0xf50f06(0x149)](),_0x3e7b29;}return this[_0xf50f06(0x193)](!0x1);}catch(_0x4d5ce1){return this['_logService']['error'](_0x4d5ce1),this[_0xf50f06(0x193)](!0x1);}}[_0x4e2a03(0xd7)](_0x483a7b){var _0x85860e=_0x4e2a03;this[_0x85860e(0x38e)]();const _0xe6368c=this[_0x85860e(0x99)][_0x85860e(0x124)](this[_0x85860e(0x2bf)]);if(_0x483a7b['revision']<_0xe6368c-0x1)return this;if(this['_checkMissing'](_0x483a7b))return this[_0x85860e(0x175)]['createInstance'](_0x316282[_0x85860e(0x37d)],this[_0x85860e(0x2bf)],this[_0x85860e(0xf6)],null,[],this[_0x85860e(0x261)],[],this['_handler']);this[_0x85860e(0x1bd)]();const _0x3b0099=this['_injector']['createInstance'](_0x316282[_0x85860e(0xcf)],this[_0x85860e(0x2bf)],this[_0x85860e(0xf6)],this[_0x85860e(0x118)]);return _0x3b0099[_0x85860e(0x149)](),_0x3b0099;}['onRemoteRej'](_0x13536f){var _0x3e26f7=_0x4e2a03;return this[_0x3e26f7(0x193)](!!(_0x13536f!=null&&_0x13536f[_0x3e26f7(0x1d5)]));}['onRemoteRetry'](_0xeb21b5){var _0xa297c=_0x4e2a03;return this[_0xa297c(0x36f)]>_0x4d89bf?this[_0xa297c(0x30b)]():(this[_0xa297c(0x2c0)]=_0x259fca(this['_resendTimeout'],{'timeout':this[_0xa297c(0x36f)],'reqId':_0xeb21b5[_0xa297c(0x3a8)]}),this[_0xa297c(0x91)]=this[_0xa297c(0x2c0)]['subscribe'](({reqId:_0x236a30,timeout:_0x81db92})=>{this['_resendWithTimeout'](_0x236a30,_0x81db92);}),this);}[_0x4e2a03(0x30b)](){var _0x49cd82=_0x4e2a03;return this[_0x49cd82(0x38e)](),this[_0x49cd82(0x175)][_0x49cd82(0x2dc)](_0x316282[_0x49cd82(0x1d6)],this['unitID'],this[_0x49cd82(0xf6)],this[_0x49cd82(0x261)],[],this[_0x49cd82(0x118)]);}[_0x4e2a03(0x21e)](){return this;}['resend'](){var _0x454d15=_0x4e2a03;this[_0x454d15(0x118)][_0x454d15(0x29c)](this['_awaitingChangeset']);}['_onConflict'](_0x4cc2fc){var _0x556199=_0x4e2a03;return this[_0x556199(0x38e)](),this[_0x556199(0x175)][_0x556199(0x2dc)](_0x316282[_0x556199(0x29b)],this[_0x556199(0x2bf)],this[_0x556199(0xf6)],this[_0x556199(0x261)],[],this[_0x556199(0x118)],_0x4cc2fc);}[_0x4e2a03(0x339)](_0x5f5020,_0x39d692){var _0x3a0215=_0x4e2a03,_0x265851;_0x5f5020===((_0x265851=this[_0x3a0215(0x261)])==null?void 0x0:_0x265851[_0x3a0215(0x3a8)])&&(this[_0x3a0215(0x28c)](),this[_0x3a0215(0x36f)]=_0x39d692===0x0?0x3e8:_0x39d692*0x2);}[_0x4e2a03(0x38e)](){var _0x23ea9e=_0x4e2a03,_0x1e4829;(_0x1e4829=this[_0x23ea9e(0x91)])==null||_0x1e4829['unsubscribe'](),this[_0x23ea9e(0x36f)]=0x0;}},_0x316282[_0x4e2a03(0x1b9)]=_0x496031([_0x2dab9d(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['Injector'])),_0x2dab9d(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93['RevisionService'])),_0x2dab9d(0x6,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0x7,_0x46ccef[_0x4e2a03(0x212)]),_0x2dab9d(0x8,_0x9e3a93[_0x4e2a03(0x15b)]),_0x2dab9d(0x9,_0x46ccef[_0x4e2a03(0x2a1)]),_0x2dab9d(0xa,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282[_0x4e2a03(0x1b9)]),_0x316282['AwaitingWithPendingState']=class extends _0x201738{constructor(_0x135201,_0x49e4d0,_0x379f96,_0x107739,_0x179b27,_0x2e300c,_0x896685,_0x28f61d,_0x2f5af2,_0x2073ff,_0x375786,_0x5f3dc9,_0x43105e){var _0x1968d7=_0x4e2a03;super(_0x135201,_0x49e4d0,_0x379f96,_0x107739,_0x179b27,_0x2f5af2,_0x5f3dc9,_0x28f61d,_0x43105e),_0x1bee61(this,_0x1968d7(0x2d8),_0x1968d7(0xa2)),_0x1bee61(this,_0x1968d7(0x36f),0x0),_0x1bee61(this,'_resendTimer'),_0x1bee61(this,_0x1968d7(0x91)),(this[_0x1968d7(0x175)]=_0x896685,this[_0x1968d7(0x2f3)]=_0x2073ff,this[_0x1968d7(0x313)]=_0x375786,this[_0x1968d7(0x279)]=_0x43105e,_0x2e300c&&(this['_resendTimer']=_0x2e300c,this[_0x1968d7(0x91)]=this[_0x1968d7(0x2c0)]['subscribe'](({reqId:_0x3e7ecd,timeout:_0x4b3deb})=>{var _0x1bcba4=_0x1968d7;this[_0x1bcba4(0x339)](_0x3e7ecd,_0x4b3deb);})));}[_0x4e2a03(0x17f)](_0x44a314){var _0x85bc5a=_0x4e2a03;return this[_0x85bc5a(0x18e)][_0x85bc5a(0x32c)](_0x44a314),this;}['onRemoteChangeset'](_0x1931d9){var _0x14551b=_0x4e2a03;if(this[_0x14551b(0x225)](_0x1931d9))return this['_clearScheduledTask'](),this['_injector'][_0x14551b(0x2dc)](_0x316282[_0x14551b(0x37d)],this[_0x14551b(0x2bf)],this['type'],this['_awaitingChangeset'],this[_0x14551b(0x18e)],null,[_0x1931d9],this[_0x14551b(0x118)]);try{const _0x18e9f4=this[_0x14551b(0x313)][_0x14551b(0x103)]([_0x1931d9],[this[_0x14551b(0x261)]],!0x1);if(_0x9e3a93[_0x14551b(0x307)](_0x18e9f4)){const {c1Prime:_0x495af3,c2Prime:_0x62de12}=_0x18e9f4,_0x2c3246=this[_0x14551b(0x313)][_0x14551b(0x1cd)](_0x495af3[0x0],this[_0x14551b(0x18e)]);if(_0x9e3a93['isTransformMutationsWithChangesetSuccess'](_0x2c3246)){const {c1Prime:_0x1a8284,m2Prime:_0x4fae51}=_0x2c3246;return this[_0x14551b(0x281)](_0x1a8284),_0x62de12[0x0][_0x14551b(0x19e)]=this['_getCurrentRevision'](),this[_0x14551b(0x38e)](),this[_0x14551b(0x175)][_0x14551b(0x2dc)](_0x316282[_0x14551b(0x112)],this[_0x14551b(0x2bf)],this[_0x14551b(0xf6)],_0x62de12[0x0],_0x4fae51,this[_0x14551b(0x118)],void 0x0);}throw _0x2c3246[_0x14551b(0x1b4)];}throw _0x18e9f4[_0x14551b(0x1b4)];}catch(_0x2ba441){return this['_logService'][_0x14551b(0x1b4)](_0x2ba441),this[_0x14551b(0x193)](!0x1);}}['onRemoteAck'](_0x5704cd){var _0x3da633=_0x4e2a03;if(this[_0x3da633(0x38e)](),this['_checkMissing'](_0x5704cd))return this[_0x3da633(0x175)][_0x3da633(0x2dc)](_0x316282['FetchingMissState'],this['unitID'],this[_0x3da633(0xf6)],null,this[_0x3da633(0x18e)],this[_0x3da633(0x261)],[],this[_0x3da633(0x118)]);this['_incrementRevisionNumber']();const _0x538e2b=this[_0x3da633(0x175)]['createInstance'](_0x316282[_0x3da633(0x1c3)],this['unitID'],this['type'],this[_0x3da633(0x18e)],this[_0x3da633(0x118)]);return _0x538e2b[_0x3da633(0x358)](),_0x538e2b[_0x3da633(0x149)](),_0x538e2b;}['onRemoteRej'](_0x10d21e){var _0x693c01=_0x4e2a03;return this[_0x693c01(0x193)](!!(_0x10d21e!=null&&_0x10d21e['isPermissionRej']));}[_0x4e2a03(0x2bc)](_0x31cae9){var _0x42d6a4=_0x4e2a03;return this[_0x42d6a4(0x36f)]>_0x4d89bf?this[_0x42d6a4(0x30b)]():(this[_0x42d6a4(0x2c0)]=_0x259fca(this[_0x42d6a4(0x36f)],{'timeout':this[_0x42d6a4(0x36f)],'reqId':_0x31cae9['reqId']}),this[_0x42d6a4(0x91)]=this[_0x42d6a4(0x2c0)][_0x42d6a4(0x1e4)](({reqId:_0x5e1063,timeout:_0x4befd9})=>{this['_resendWithTimeout'](_0x5e1063,_0x4befd9);}),this);}[_0x4e2a03(0x30b)](){var _0x3c2f37=_0x4e2a03;return this[_0x3c2f37(0x38e)](),this['_injector'][_0x3c2f37(0x2dc)](_0x316282[_0x3c2f37(0x1d6)],this[_0x3c2f37(0x2bf)],this[_0x3c2f37(0xf6)],this[_0x3c2f37(0x261)],this['_pendingMutations'],this[_0x3c2f37(0x118)]);}[_0x4e2a03(0x21e)](){return this;}[_0x4e2a03(0x28c)](){var _0x24e226=_0x4e2a03;this[_0x24e226(0x118)][_0x24e226(0x29c)](this[_0x24e226(0x261)]);}[_0x4e2a03(0x193)](_0x48d2c4){var _0x15554a=_0x4e2a03;return this[_0x15554a(0x38e)](),this['_injector'][_0x15554a(0x2dc)](_0x316282[_0x15554a(0x29b)],this['unitID'],this[_0x15554a(0xf6)],null,this[_0x15554a(0x18e)],this[_0x15554a(0x118)],_0x48d2c4);}[_0x4e2a03(0x339)](_0x130570,_0x384c2a){var _0x5c4676=_0x4e2a03,_0x30ccb5;_0x130570===((_0x30ccb5=this[_0x5c4676(0x261)])==null?void 0x0:_0x30ccb5[_0x5c4676(0x3a8)])&&(this[_0x5c4676(0x28c)](),this['_resendTimeout']=_0x384c2a===0x0?0x3e8:_0x384c2a*0x2);}[_0x4e2a03(0x38e)](){var _0x318109=_0x4e2a03,_0x20adb5;(_0x20adb5=this['_sender'])==null||_0x20adb5[_0x318109(0x3c5)](),this[_0x318109(0x36f)]=0x0;}},_0x316282[_0x4e2a03(0x112)]=_0x496031([_0x2dab9d(0x6,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['Injector'])),_0x2dab9d(0x7,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x267)])),_0x2dab9d(0x8,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0x9,_0x46ccef['ILogService']),_0x2dab9d(0xa,_0x9e3a93[_0x4e2a03(0x15b)]),_0x2dab9d(0xb,_0x46ccef[_0x4e2a03(0x2a1)]),_0x2dab9d(0xc,_0x46ccef['Optional'](_0x37ffdb))],_0x316282[_0x4e2a03(0x112)]),_0x316282[_0x4e2a03(0x29b)]=class extends _0x201738{constructor(_0x2b4160,_0x51fb21,_0x2c47b1,_0x3f3705,_0x3776d2,_0x405a3c=!0x1,_0xca5e79,_0x302db0,_0x4d658a,_0x437bb5,_0x39b269,_0x2cab2e,_0x16a2a1){var _0xab201e=_0x4e2a03;super(_0x2b4160,_0x51fb21,_0x2c47b1,_0x3f3705,_0x3776d2,_0x302db0,_0x4d658a,_0x437bb5,_0x16a2a1),_0x1bee61(this,_0xab201e(0x2d8),_0xab201e(0x86)),(this['_isPermissionRej']=_0x405a3c,this[_0xab201e(0x3cc)]=_0xca5e79,this[_0xab201e(0x131)]=_0x39b269,this[_0xab201e(0x105)]=_0x2cab2e,this[_0xab201e(0x279)]=_0x16a2a1,this['_showConflictNotification'](),this[_0xab201e(0x2a2)](),this[_0xab201e(0x2d3)]());}[_0x4e2a03(0x17f)](){return this;}[_0x4e2a03(0xbf)](){return this;}[_0x4e2a03(0xd7)](){return this;}['onRemoteRej'](){return this;}[_0x4e2a03(0x2bc)](){return this;}[_0x4e2a03(0x30b)](){return this;}[_0x4e2a03(0x21e)](){return this;}[_0x4e2a03(0x28c)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4e2a03(0x2a2)](){var _0x1bca53=_0x4e2a03,_0xe7ade5;(_0xe7ade5=this[_0x1bca53(0x36b)])==null||_0xe7ade5[_0x1bca53(0x95)](this[_0x1bca53(0x2bf)],this[_0x1bca53(0xf6)],null,[]);}['_showConflictNotification'](){var _0x198595=_0x4e2a03;this['_isPermissionRej']?this[_0x198595(0x105)][_0x198595(0x1a6)]({'id':_0x476bcb[_0x198595(0x102)]}):this[_0x198595(0x105)][_0x198595(0x1a6)]({'id':_0x476bcb[_0x198595(0xec)]});}[_0x4e2a03(0x2d3)](){var _0x5e1936=_0x4e2a03;this['_permissionService']['updatePermissionPoint'](new _0xa6c87d[(_0x5e1936(0x1a9))](this[_0x5e1936(0x2bf)])['id'],!0x1);}},_0x316282[_0x4e2a03(0x29b)]=_0x496031([_0x2dab9d(0x6,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x364)])),_0x2dab9d(0x7,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0x8,_0x46ccef[_0x4e2a03(0x2a1)]),_0x2dab9d(0x9,_0x46ccef['Inject'](_0x9e3a93[_0x4e2a03(0x267)])),_0x2dab9d(0xa,_0x46ccef['Inject'](_0x46ccef[_0x4e2a03(0xce)])),_0x2dab9d(0xb,_0x46ccef[_0x4e2a03(0x10e)](_0x5d33c9)),_0x2dab9d(0xc,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282[_0x4e2a03(0x29b)]),_0x316282[_0x4e2a03(0x1d6)]=class extends _0x201738{constructor(_0x1210c9,_0x5be8b8,_0x326d14,_0x402b92,_0x3cbdcc,_0x20107b,_0x1c62fc,_0x597005,_0x4593bb,_0x5c55e9){var _0x5b45bd=_0x4e2a03;super(_0x1210c9,_0x5be8b8,_0x326d14,_0x402b92,_0x3cbdcc,_0x597005,_0x4593bb,_0x1c62fc,_0x5c55e9),_0x1bee61(this,_0x5b45bd(0x2d8),_0x5b45bd(0x3f1)),this[_0x5b45bd(0x175)]=_0x20107b;}['appendMutation'](_0x19f095){var _0x17c63b=_0x4e2a03;return this[_0x17c63b(0x18e)]['push'](_0x19f095),this['_updateLocalCache'](),this;}[_0x4e2a03(0xbf)](_0x29f609){var _0x9d06c9=_0x4e2a03;throw new Error(_0x9d06c9(0x110));}[_0x4e2a03(0xd7)](){var _0x4b2df1=_0x4e2a03;throw new Error(_0x4b2df1(0x2d1));}[_0x4e2a03(0x2e4)](){var _0x3e873a=_0x4e2a03;throw new Error(_0x3e873a(0x13e));}[_0x4e2a03(0x2bc)](){return this;}['toggleOffline'](){return this;}[_0x4e2a03(0x21e)](){var _0x342665=_0x4e2a03;const {_injector:_0x1b8061,_pendingMutations:_0x1cbb99,_awaitingChangeset:_0x8b4770,unitID:_0x48b5cb,_handler:_0x580fe7,type:_0x1b68fd}=this,_0x27a775=_0x51558e(_0x1b8061,_0x48b5cb,_0x1b68fd,_0x8b4770,_0x1cbb99,_0x580fe7);return _0x27a775 instanceof _0x316282[_0x342665(0x1c3)]?_0x27a775['_schedule']():(_0x27a775 instanceof _0x316282[_0x342665(0x112)]||_0x27a775 instanceof _0x316282['AwaitingState'])&&_0x27a775[_0x342665(0x28c)](),_0x27a775;}[_0x4e2a03(0x28c)](){var _0x1d0e58=_0x4e2a03;throw new Error(_0x1d0e58(0x26e));}},_0x316282[_0x4e2a03(0x1d6)]=_0x496031([_0x2dab9d(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['Injector'])),_0x2dab9d(0x6,_0x46ccef['Inject'](_0x9e3a93[_0x4e2a03(0x267)])),_0x2dab9d(0x7,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0x8,_0x46ccef['IUndoRedoService']),_0x2dab9d(0x9,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282['OfflineState']),_0x316282[_0x4e2a03(0x37d)]=class extends _0x201738{constructor(_0x26e738,_0x1c43f5,_0x15d056,_0x3a6546,_0x1bd95b,_0x49175b,_0x18e5b8,_0x39a31a,_0x5c602d,_0x373d8b,_0x5bbb35,_0x160e96,_0x54e67d,_0x1dda4b){var _0x1afabc=_0x4e2a03;super(_0x26e738,_0x1c43f5,_0x15d056,_0x3a6546,_0x18e5b8,_0x5bbb35,_0x160e96,_0x5c602d,_0x1dda4b),_0x1bee61(this,_0x1afabc(0x2d8),_0x1afabc(0x18b)),(this[_0x1afabc(0x3b3)]=_0x1bd95b,this[_0x1afabc(0x323)]=_0x49175b,this[_0x1afabc(0x175)]=_0x39a31a,this[_0x1afabc(0x2f3)]=_0x373d8b,this[_0x1afabc(0x313)]=_0x54e67d,this['localCacheService']=_0x1dda4b);}[_0x4e2a03(0x145)](_0x427b4f){var _0x981b=_0x4e2a03;try{const _0x13a0be=[..._0x427b4f,...this['_queuedRemoteChangesets']],_0x480c46=[this[_0x981b(0x261)]||this[_0x981b(0x3b3)]][_0x981b(0x1d0)](_0x19c28d=>!!_0x19c28d);let _0x577178,_0x219b81;if(_0x480c46[_0x981b(0xb9)]){const _0x38305a=this[_0x981b(0x313)][_0x981b(0x103)](_0x13a0be,_0x480c46,!0x1);if(!_0x9e3a93[_0x981b(0x307)](_0x38305a))throw _0x38305a[_0x981b(0x1b4)];_0x577178=_0x38305a['c1Prime'],_0x219b81=_0x38305a[_0x981b(0x1be)];}else _0x577178=_0x13a0be,_0x219b81=[];let _0x10e903=this[_0x981b(0x18e)];_0x577178['forEach'](_0x194d40=>{var _0x480759=_0x981b;let _0x53dd38;if(_0x10e903[_0x480759(0xb9)]){const _0x6eb651=this[_0x480759(0x313)][_0x480759(0x1cd)](_0x194d40,_0x10e903);if(!_0x9e3a93[_0x480759(0x383)](_0x6eb651))throw _0x6eb651[_0x480759(0x1b4)];_0x53dd38=_0x6eb651['c1Prime'],_0x10e903=_0x6eb651['m2Prime'];}else _0x53dd38=_0x194d40;this[_0x480759(0x281)](_0x53dd38);}),this['_acknowledgedAwaitingChangeset']&&this[_0x981b(0x1bd)](),this[_0x981b(0x261)]&&_0x219b81['length']&&(_0x219b81[0x0]['baseRev']=this[_0x981b(0x10b)]());let _0x5a900e;if(this['_awaitingChangeset']&&_0x10e903[_0x981b(0xb9)]!==0x0)_0x5a900e=this[_0x981b(0x175)][_0x981b(0x2dc)](_0x316282['AwaitingWithPendingState'],this['unitID'],this[_0x981b(0xf6)],_0x219b81[0x0],_0x10e903,this[_0x981b(0x118)],void 0x0);else{if(this[_0x981b(0x261)]&&_0x10e903[_0x981b(0xb9)]===0x0)_0x219b81[0x0]['baseRev']=this[_0x981b(0x10b)](),_0x5a900e=this['_injector'][_0x981b(0x2dc)](_0x316282[_0x981b(0x1b9)],this['unitID'],this[_0x981b(0xf6)],_0x219b81[0x0],this[_0x981b(0x118)]);else{if(_0x10e903[_0x981b(0xb9)]!==0x0){const _0x16952c=this[_0x981b(0x175)][_0x981b(0x2dc)](_0x316282[_0x981b(0x1c3)],this[_0x981b(0x2bf)],this['type'],_0x10e903,this[_0x981b(0x118)]);_0x16952c['_schedule'](),_0x5a900e=_0x16952c;}else _0x5a900e=this['_injector']['createInstance'](_0x316282['SyncedState'],this[_0x981b(0x2bf)],this[_0x981b(0xf6)],this[_0x981b(0x118)]);}}return _0x5a900e[_0x981b(0x149)](),_0x5a900e;}catch(_0x15b632){return this[_0x981b(0x2f3)][_0x981b(0x1b4)](_0x981b(0x12f),_0x981b(0x1da),_0x15b632),this[_0x981b(0x175)][_0x981b(0x2dc)](_0x316282['ConflictState'],this[_0x981b(0x2bf)],this[_0x981b(0xf6)],this[_0x981b(0x261)],this[_0x981b(0x18e)],this[_0x981b(0x118)],!0x1);}}[_0x4e2a03(0x28c)](){var _0x584d8c=_0x4e2a03;throw new Error(_0x584d8c(0x388));}['appendMutation'](_0x5704a4){var _0xc41af3=_0x4e2a03;return this[_0xc41af3(0x18e)][_0xc41af3(0x32c)](_0x5704a4),this;}[_0x4e2a03(0xbf)](_0x1d99b2){var _0x2a8263=_0x4e2a03;return this[_0x2a8263(0x323)]['push'](_0x1d99b2),this;}[_0x4e2a03(0xd7)](_0x3b71f9){var _0x484de7=_0x4e2a03;if(this[_0x484de7(0x261)])return this[_0x484de7(0x3b3)]=this[_0x484de7(0x261)],this[_0x484de7(0x261)]=null,this;throw new Error(_0x484de7(0x36a));}[_0x4e2a03(0x2e4)](_0x58a3b0){var _0x19c7be=_0x4e2a03;return this[_0x19c7be(0x193)](!!(_0x58a3b0!=null&&_0x58a3b0[_0x19c7be(0x1d5)]));}[_0x4e2a03(0x2bc)](){return this;}[_0x4e2a03(0x30b)](){var _0xb36212=_0x4e2a03;return this['_injector']['createInstance'](_0x316282[_0xb36212(0x1d6)],this[_0xb36212(0x2bf)],this[_0xb36212(0xf6)],this['_awaitingChangeset'],this[_0xb36212(0x18e)],this['_handler']);}[_0x4e2a03(0x21e)](){return this;}[_0x4e2a03(0x193)](_0x9496cd){var _0x314efd=_0x4e2a03;return this[_0x314efd(0x175)][_0x314efd(0x2dc)](_0x316282[_0x314efd(0x29b)],this['unitID'],this[_0x314efd(0xf6)],this[_0x314efd(0x261)],this[_0x314efd(0x18e)],this[_0x314efd(0x118)],_0x9496cd);}},_0x316282[_0x4e2a03(0x37d)]=_0x496031([_0x2dab9d(0x7,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x2dab9d(0x8,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x267)])),_0x2dab9d(0x9,_0x46ccef[_0x4e2a03(0x212)]),_0x2dab9d(0xa,_0x46ccef[_0x4e2a03(0x27b)]),_0x2dab9d(0xb,_0x46ccef[_0x4e2a03(0x2a1)]),_0x2dab9d(0xc,_0x9e3a93['ITransformService']),_0x2dab9d(0xd,_0x46ccef['Optional'](_0x37ffdb))],_0x316282['FetchingMissState']);function _0x51558e(_0x27821d,_0x15264d,_0xfe7dbf,_0x3b0d16,_0x1f8677,_0x308923){var _0x308525=_0x4e2a03;return _0x3b0d16&&_0x1f8677['length']?_0x27821d[_0x308525(0x2dc)](_0x316282['AwaitingWithPendingState'],_0x15264d,_0xfe7dbf,_0x3b0d16,_0x1f8677,_0x308923,void 0x0):_0x3b0d16?_0x27821d[_0x308525(0x2dc)](_0x316282[_0x308525(0x1b9)],_0x15264d,_0xfe7dbf,_0x3b0d16,_0x308923):_0x1f8677[_0x308525(0xb9)]?_0x27821d[_0x308525(0x2dc)](_0x316282[_0x308525(0x1c3)],_0x15264d,_0xfe7dbf,_0x1f8677,_0x308923):_0x27821d['createInstance'](_0x316282['SyncedState'],_0x15264d,_0xfe7dbf,_0x308923);}var _0x2cff96=Object['defineProperty'],_0x24a785=Object[_0x4e2a03(0x1df)],_0x34e0f3=(_0xde888c,_0x351f3f,_0x436b3e,_0x2f370a)=>{var _0x3cd0da=_0x4e2a03;for(var _0x570374=_0x2f370a>0x1?void 0x0:_0x2f370a?_0x24a785(_0x351f3f,_0x436b3e):_0x351f3f,_0x2872e9=_0xde888c[_0x3cd0da(0xb9)]-0x1,_0x50c824;_0x2872e9>=0x0;_0x2872e9--)(_0x50c824=_0xde888c[_0x2872e9])&&(_0x570374=(_0x2f370a?_0x50c824(_0x351f3f,_0x436b3e,_0x570374):_0x50c824(_0x570374))||_0x570374);return _0x2f370a&&_0x570374&&_0x2cff96(_0x351f3f,_0x436b3e,_0x570374),_0x570374;},_0x1c36d6=(_0x1094d1,_0x4ccbab)=>(_0x2038b9,_0x40f447)=>_0x4ccbab(_0x2038b9,_0x40f447,_0x1094d1);_0x316282[_0x4e2a03(0x377)]=class extends _0x46ccef['RxDisposable']{constructor(_0x54ead8,_0x3cf70e,_0x4b56c6,_0x56a057,_0x5a8674,_0xd9ef43,_0x4b740c,_0xdc1ae9,_0xc7ba01,_0x4e16e4,_0x514407,_0xd5ce07,_0x398b7b){var _0x5db91c=_0x4e2a03;super(),_0x1bee61(this,_0x5db91c(0x398),new _0x1d01ce[(_0x5db91c(0x31a))](null)),_0x1bee61(this,_0x5db91c(0x2eb),this[_0x5db91c(0x398)][_0x5db91c(0x318)]()),_0x1bee61(this,_0x5db91c(0x18f)),_0x1bee61(this,_0x5db91c(0x3b0),!0x1),_0x1bee61(this,'_changesetSessionId',''),_0x1bee61(this,_0x5db91c(0x132),0x0),_0x1bee61(this,'status$',this[_0x5db91c(0x2eb)]['pipe'](_0x1d01ce[_0x5db91c(0x2d2)](_0x58a5db=>_0x58a5db?_0x58a5db['status']:_0x51cebd[_0x5db91c(0x117)]),_0x1d01ce[_0x5db91c(0x2a7)](0x1))),_0x1bee61(this,_0x5db91c(0xe2),!0x1),_0x1bee61(this,_0x5db91c(0x148),[]),(this[_0x5db91c(0x2bf)]=_0x54ead8,this['session']=_0x3cf70e,this[_0x5db91c(0x25e)]=_0x4b56c6,this[_0x5db91c(0x175)]=_0x56a057,this['_compressMutationService']=_0x5a8674,this[_0x5db91c(0x131)]=_0xd9ef43,this[_0x5db91c(0x99)]=_0x4b740c,this[_0x5db91c(0x36c)]=_0xdc1ae9,this['_logService']=_0xc7ba01,this[_0x5db91c(0x135)]=_0x4e16e4,this[_0x5db91c(0x3cc)]=_0x514407,this['_singleActiveUnitService']=_0xd5ce07,this[_0x5db91c(0x36b)]=_0x398b7b);}get[_0x4e2a03(0x2c4)](){return this['_state'];}async[_0x4e2a03(0x367)](){var _0x509136=_0x4e2a03;if(this[_0x509136(0x2c4)])throw new Error(_0x509136(0x17c));await this[_0x509136(0x32e)]();}[_0x4e2a03(0x1c5)](){var _0x4a0b26=_0x4e2a03;return this[_0x4a0b26(0x3b0)]=!0x0,_0x46ccef['toDisposable'](()=>{var _0x51cfc9=_0x4a0b26;this['_collaborationPaused']=!0x1,this[_0x51cfc9(0x11b)]();});}[_0x4e2a03(0x1fa)](_0x27f866){var _0x3ac036=_0x4e2a03;this[_0x3ac036(0x39c)](_0x27f866);}[_0x4e2a03(0x3b1)](_0xa752c0){var _0x117ca5=_0x4e2a03;this[_0x117ca5(0x18f)]=_0xa752c0,this[_0x117ca5(0x398)][_0x117ca5(0x141)](_0xa752c0);}async[_0x4e2a03(0x32e)](){var _0x507920=_0x4e2a03,_0x78839e;this[_0x507920(0x3b1)](await this[_0x507920(0xc6)]()),this[_0x507920(0x30a)]&&((_0x78839e=this['_singleActiveUnitService'])==null||_0x78839e['editingUnit'](this[_0x507920(0x2bf)]),this[_0x507920(0x3be)](this[_0x507920(0x30a)][_0x507920(0x3b7)](this[_0x507920(0x2bf)])['subscribe'](_0x7dc3f9=>{var _0x4fe702=_0x507920;this[_0x4fe702(0x2f3)][_0x4fe702(0x316)]('[CollaborationEntity]',_0x4fe702(0x194),_0x7dc3f9),_0x7dc3f9===_0x3a7e8e[_0x4fe702(0x2d9)]?(this[_0x4fe702(0x36c)][_0x4fe702(0x1a6)]({'id':_0x476bcb[_0x4fe702(0x29e)]}),this[_0x4fe702(0x3cc)][_0x4fe702(0x16a)](new _0xa6c87d[(_0x4fe702(0x1a9))](this[_0x4fe702(0x2bf)])['id'],!0x1),this[_0x4fe702(0x3cc)]['setShowComponents'](!0x1)):(this[_0x4fe702(0x3cc)]['updatePermissionPoint'](new _0xa6c87d['WorkbookEditablePermission'](this['unitID'])['id'],!0x0),this[_0x4fe702(0x3cc)][_0x4fe702(0x311)](!0x0));})));let _0x2bd5d0=!0x1;return this[_0x507920(0x3be)](this[_0x507920(0x320)][_0x507920(0x146)][_0x507920(0x1e4)](_0x4e4f2c=>{var _0x39bc96=_0x507920;_0x4e4f2c===_0x18bd06[_0x39bc96(0x3b5)]?this[_0x39bc96(0x2ab)](_0x2bd5d0):_0x4e4f2c===_0x18bd06['OFFLINE']&&(_0x2bd5d0=!0x0,this[_0x39bc96(0x33b)]());})),this[_0x507920(0x3be)](this[_0x507920(0x320)][_0x507920(0x34f)][_0x507920(0x1e4)](_0x597dea=>{var _0x173c44=_0x507920;try{switch(_0x597dea[_0x173c44(0xa7)]){case _0x9e3a93['CollaborationEvent']['NEW_CHANGESETS']:{this[_0x173c44(0x123)](_0x9e3a93[_0x173c44(0x1f6)](_0x597dea[_0x173c44(0x1db)]));break;}case _0x9e3a93[_0x173c44(0x165)][_0x173c44(0x278)]:{this[_0x173c44(0x35e)](_0x597dea[_0x173c44(0x1db)]);break;}case _0x9e3a93[_0x173c44(0x165)][_0x173c44(0xc4)]:{this[_0x173c44(0x219)]();break;}case _0x9e3a93[_0x173c44(0x165)]['CHANGESET_SHOULD_RETRY']:{this[_0x173c44(0x125)](_0x597dea[_0x173c44(0x1db)]);break;}case _0x9e3a93['CollaborationEvent'][_0x173c44(0x134)]:{this[_0x173c44(0xe3)](_0x597dea[_0x173c44(0x1db)][_0x173c44(0x115)][_0x173c44(0x2d2)](_0x4fa3a0=>_0x9e3a93[_0x173c44(0x1f6)](_0x4fa3a0)));break;}case _0x9e3a93['CollaborationEvent'][_0x173c44(0x283)]:{this[_0x173c44(0x219)]({'isPermissionRej':!0x0});break;}case _0x9e3a93[_0x173c44(0x165)][_0x173c44(0x1d2)]:break;}}catch(_0x386aec){throw console['error'](_0x173c44(0x1c0),_0x386aec),_0x386aec;}})),this['_state'];}[_0x4e2a03(0x126)](){var _0x359d0a=_0x4e2a03;this[_0x359d0a(0xe2)]=!0x1;}[_0x4e2a03(0x3eb)](){var _0x531061=_0x4e2a03;if(this[_0x531061(0xe2)])throw new Error(_0x531061(0x3ff));this['_transitionLocked']=!0x0;}[_0x4e2a03(0x39c)](_0x4691c3){var _0x3073ae=_0x4e2a03;this[_0x3073ae(0x3eb)](),this[_0x3073ae(0x3b1)](this[_0x3073ae(0x18f)][_0x3073ae(0x17f)](_0x4691c3)),this[_0x3073ae(0x126)]();}['_onRemoteChangeset'](_0x166ea0){var _0x27bd70=_0x4e2a03;if(!(_0x166ea0[_0x27bd70(0x1aa)]<=this[_0x27bd70(0x99)][_0x27bd70(0x124)](this[_0x27bd70(0x2bf)]))){if(this[_0x27bd70(0x3b0)]){this[_0x27bd70(0x148)][_0x27bd70(0x32c)](_0x166ea0);return;}this['_applyRemoteChangeset'](_0x166ea0);}}['_exhaustRemoteChangesetQueue'](){var _0x46e863=_0x4e2a03;this['_remoteChangesetQueue'][_0x46e863(0x2dd)](_0x14dd1d=>this['_applyRemoteChangeset'](_0x14dd1d)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x2817b5){var _0x5d0bf7=_0x4e2a03;const _0x483297=this[_0x5d0bf7(0x32f)][_0x5d0bf7(0xc2)][_0x5d0bf7(0x96)](this[_0x5d0bf7(0x32f)][_0x5d0bf7(0xc2)][_0x5d0bf7(0x195)]()[_0x5d0bf7(0x152)])(_0x2817b5[_0x5d0bf7(0x3c6)],null)||_0x2817b5[_0x5d0bf7(0x3c6)],_0x2f4b2f={..._0x2817b5,'mutations':_0x483297};this[_0x5d0bf7(0x3eb)](),this[_0x5d0bf7(0x3b1)](this[_0x5d0bf7(0x18f)][_0x5d0bf7(0xbf)](_0x2f4b2f)),this[_0x5d0bf7(0x126)]();}[_0x4e2a03(0x35e)](_0x1eb92d){var _0x37d744=_0x4e2a03;this[_0x37d744(0x3eb)](),this[_0x37d744(0x3b1)](this[_0x37d744(0x18f)][_0x37d744(0xd7)](_0x1eb92d)),this[_0x37d744(0x126)]();}[_0x4e2a03(0x219)](_0x32e022){var _0x25825b=_0x4e2a03;this[_0x25825b(0x3eb)](),this[_0x25825b(0x3b1)](this[_0x25825b(0x18f)]['onRemoteRej'](_0x32e022)),this[_0x25825b(0x126)]();}['_onRemoteRetry'](_0x593312){var _0x4e0939=_0x4e2a03;this[_0x4e0939(0x3eb)](),this[_0x4e0939(0x3b1)](this['_state'][_0x4e0939(0x2bc)](_0x593312)),this[_0x4e0939(0x126)]();}[_0x4e2a03(0xe3)](_0x1aa375){var _0x4368ac=_0x4e2a03;if(!(this[_0x4368ac(0x18f)]instanceof _0x316282[_0x4368ac(0x37d)]))throw new TypeError(_0x4368ac(0x26b));const _0x5ce42d=_0x1aa375[_0x4368ac(0x2d2)](_0x13cb6a=>{var _0x125b8e=_0x4368ac;const _0x183e61=this['_compressMutationService']['interceptor'][_0x125b8e(0x96)](this['_compressMutationService'][_0x125b8e(0xc2)][_0x125b8e(0x195)]()[_0x125b8e(0x152)])(_0x13cb6a[_0x125b8e(0x3c6)],null)||_0x13cb6a[_0x125b8e(0x3c6)];return{..._0x13cb6a,'mutations':_0x183e61};});this[_0x4368ac(0x3eb)](),this[_0x4368ac(0x3b1)](this[_0x4368ac(0x18f)]['onMissedChangesetFetched'](_0x5ce42d)),this['_unlockTransition']();}[_0x4e2a03(0x33b)](){var _0x195f1b=_0x4e2a03;this[_0x195f1b(0x3eb)](),this[_0x195f1b(0x3b1)](this[_0x195f1b(0x18f)][_0x195f1b(0x30b)]()),this[_0x195f1b(0x126)]();}[_0x4e2a03(0x2ab)](_0x50e635=!0x1){var _0x5aec04=_0x4e2a03;this[_0x5aec04(0x3eb)](),this[_0x5aec04(0x3b1)](this['_state']['toggleOnline']()),this[_0x5aec04(0x126)]();const _0xadb4b3=this['_state'];_0x50e635&&_0xadb4b3 instanceof _0x316282[_0x5aec04(0xcf)]&&(this[_0x5aec04(0x3eb)](),this[_0x5aec04(0x3b1)](_0xadb4b3[_0x5aec04(0x2ca)]()),this[_0x5aec04(0x126)]());}async['_createInitialState'](){return new Promise(_0x336ece=>{var _0x488850=_0x1553;this[_0x488850(0x320)][_0x488850(0x146)]['pipe'](_0x1d01ce['take'](0x1))['subscribe'](async _0x12ed01=>{var _0x6738fd=_0x488850;_0x336ece(await this[_0x6738fd(0x176)](_0x12ed01===_0x18bd06[_0x6738fd(0x3b5)]));});});}[_0x4e2a03(0xc8)](){var _0x200878=_0x4e2a03;const _0x57d8b6=this[_0x200878(0x2bf)];return{'onStateChange':(_0x353317,_0x478b46)=>{var _0x30f681=_0x200878;if(_0x353317!==this[_0x30f681(0x18f)])throw new Error(_0x30f681(0x128)+_0x353317[_0x30f681(0x2d8)]+_0x30f681(0x22a)+_0x478b46[_0x30f681(0x2d8)]+_0x30f681(0x1ed)+this[_0x30f681(0x18f)][_0x30f681(0x2d8)]);this['_updateState'](_0x478b46);},'onSendChangeset':_0x1c3104=>{var _0x465f3a=_0x200878;_0x1c3104['sid']||(_0x1c3104[_0x465f3a(0x11c)]=this['_changesetSessionId'],_0x1c3104[_0x465f3a(0x3a8)]=++this[_0x465f3a(0x132)]);const _0x2a8039={'eventID':_0x9e3a93[_0x465f3a(0x165)][_0x465f3a(0x9d)],'data':{'unitID':_0x1c3104[_0x465f3a(0x2bf)],'unitType':this[_0x465f3a(0x25e)],'changeset':_0x1c3104,'memberID':this[_0x465f3a(0x320)][_0x465f3a(0x395)]()}};this[_0x465f3a(0x320)][_0x465f3a(0x2f6)](_0x2a8039,this[_0x465f3a(0x2bf)]);},'onMissingChangesets':({from:_0x2ea29b,to:_0x516b75})=>{var _0x6073c7=_0x200878;this[_0x6073c7(0x2f3)]['debug'](_0x6073c7(0x405),'fetching\x20missing\x20changesets\x20from\x20'+_0x2ea29b+_0x6073c7(0x14e)+_0x516b75);const _0x5bb4a2={'eventID':_0x9e3a93[_0x6073c7(0x165)][_0x6073c7(0x11d)],'data':{'unitID':_0x57d8b6,'unitType':this[_0x6073c7(0x25e)],'from':_0x2ea29b,'to':_0x516b75}};this[_0x6073c7(0x320)][_0x6073c7(0x2f6)](_0x5bb4a2,this['unitID']);}};}async[_0x4e2a03(0x176)](_0x504d3f){var _0x674883=_0x4e2a03,_0x3cc7f1,_0x28cc1a,_0xbac2c4;const _0x4117ad=await((_0x3cc7f1=this['_localCacheService'])==null?void 0x0:_0x3cc7f1[_0x674883(0x235)](this[_0x674883(0x2bf)])),_0x392d38=(_0x28cc1a=_0x4117ad==null?void 0x0:_0x4117ad[_0x674883(0x3c6)])!=null?_0x28cc1a:[],_0x588d88=(_0xbac2c4=_0x4117ad==null?void 0x0:_0x4117ad[_0x674883(0x2ce)])!=null?_0xbac2c4:null,_0x46eda6=!!(_0x588d88!=null&&_0x588d88['sid'])&&!!(_0x588d88!=null&&_0x588d88[_0x674883(0x3a8)]);this[_0x674883(0x229)]=_0x46eda6?_0x588d88[_0x674883(0x11c)]:_0x72b1d2(),this[_0x674883(0x132)]=_0x46eda6?_0x588d88['reqId']:0x0;const _0x59faa8=this[_0x674883(0x2bf)];try{this['_replayCachedMutations'](_0x588d88,_0x392d38);}catch(_0x4aae1b){this[_0x674883(0x2f3)][_0x674883(0x1b4)](_0x4aae1b);}const _0x202268=this[_0x674883(0xc8)]();if(_0x504d3f){const _0x10f80a=_0x51558e(this[_0x674883(0x175)],_0x59faa8,this['_type'],_0x588d88,_0x392d38,_0x202268);return _0x10f80a instanceof _0x316282[_0x674883(0x1c3)]?_0x10f80a[_0x674883(0x358)]():(_0x10f80a instanceof _0x316282[_0x674883(0x112)]||_0x10f80a instanceof _0x316282[_0x674883(0x1b9)])&&_0x10f80a[_0x674883(0x28c)](),_0x10f80a;}return this['_injector']['createInstance'](_0x316282['OfflineState'],_0x59faa8,this[_0x674883(0x25e)],_0x588d88,_0x392d38,_0x202268);}[_0x4e2a03(0x26a)](_0x3a3359,_0x590193){var _0x4625ba=_0x4e2a03,_0x38ad60,_0x1bb981;const _0x110498=this[_0x4625ba(0x32f)][_0x4625ba(0xc2)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x4625ba(0x195)]()[_0x4625ba(0x152)]);(_0x38ad60=_0x110498((_0x3a3359==null?void 0x0:_0x3a3359[_0x4625ba(0x3c6)])||[],null))==null||_0x38ad60['forEach'](_0x3a2b70=>this[_0x4625ba(0x135)][_0x4625ba(0x386)](_0x3a2b70['id'],_0x3a2b70[_0x4625ba(0x231)])),(_0x1bb981=_0x110498(_0x590193||[],null))==null||_0x1bb981[_0x4625ba(0x2dd)](_0x2852b5=>this[_0x4625ba(0x135)][_0x4625ba(0x386)](_0x2852b5['id'],_0x2852b5[_0x4625ba(0x231)]));}},_0x316282[_0x4e2a03(0x377)]=_0x34e0f3([_0x1c36d6(0x3,_0x46ccef['Inject'](_0x46ccef[_0x4e2a03(0x38b)])),_0x1c36d6(0x4,_0x46ccef['Inject'](_0x9e3a93[_0x4e2a03(0x1ba)])),_0x1c36d6(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['LocaleService'])),_0x1c36d6(0x6,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x267)])),_0x1c36d6(0x7,_0x46ccef['Inject'](_0x5d33c9)),_0x1c36d6(0x8,_0x46ccef[_0x4e2a03(0x212)]),_0x1c36d6(0x9,_0x46ccef[_0x4e2a03(0x27b)]),_0x1c36d6(0xa,_0x46ccef[_0x4e2a03(0x364)]),_0x1c36d6(0xb,_0x46ccef[_0x4e2a03(0x1eb)](_0x20811f)),_0x1c36d6(0xc,_0x46ccef['Optional'](_0x37ffdb))],_0x316282[_0x4e2a03(0x377)]),_0x316282['DocCollaborationEntity']=class extends _0x316282[_0x4e2a03(0x377)]{constructor(_0x3e7b37,_0x247d70,_0x4743d2,_0x6b1c2b,_0x48f3b4,_0xb8792a,_0x563bc5,_0x5e459c,_0xc894cb,_0xf17b56,_0x3a0674,_0x34c7cd,_0x440209){var _0xe24b43=_0x4e2a03;super(_0x3e7b37,_0x4743d2,_0x247d70,_0x6b1c2b,_0x48f3b4,_0xb8792a,_0x563bc5,_0x5e459c,_0xc894cb,_0xf17b56,_0x3a0674,_0x34c7cd,_0x440209),_0x1bee61(this,_0xe24b43(0x227),null),(this[_0xe24b43(0x2bf)]=_0x3e7b37,this['type']=_0x247d70);}['addHandlerCallback'](_0x3117e4){this['_handlerCallback']=_0x3117e4;}[_0x4e2a03(0xb7)](){var _0x14c825=_0x4e2a03;this[_0x14c825(0x227)]=null,super[_0x14c825(0xb7)]();}[_0x4e2a03(0xc8)](){var _0x434727=_0x4e2a03;const _0x559cfc=super[_0x434727(0xc8)]();return _0x559cfc[_0x434727(0x29d)]=_0xd594bc=>{var _0x8275db=_0x434727,_0x3f928e,_0x46ac45;return(_0x46ac45=(_0x3f928e=this[_0x8275db(0x227)])==null?void 0x0:_0x3f928e['onTransformIME'])==null?void 0x0:_0x46ac45['call'](_0x3f928e,_0xd594bc);},_0x559cfc['onTransformState']=_0x2fffba=>{var _0x1d9cda=_0x434727,_0x2bec58,_0x5cb6ae;return(_0x5cb6ae=(_0x2bec58=this[_0x1d9cda(0x227)])==null?void 0x0:_0x2bec58[_0x1d9cda(0x173)])==null?void 0x0:_0x5cb6ae[_0x1d9cda(0x2df)](_0x2bec58,_0x2fffba);},_0x559cfc[_0x434727(0x250)]=_0x3a5653=>{var _0xa3cbb1=_0x434727,_0x5c4fe2,_0x1b4cdc;return(_0x1b4cdc=(_0x5c4fe2=this[_0xa3cbb1(0x227)])==null?void 0x0:_0x5c4fe2[_0xa3cbb1(0x250)])==null?void 0x0:_0x1b4cdc[_0xa3cbb1(0x2df)](_0x5c4fe2,_0x3a5653);},_0x559cfc['onSyncEditingCollabCursor']=_0xa67ee4=>{var _0x468904=_0x434727,_0x20b9f9,_0x677000;return(_0x677000=(_0x20b9f9=this['_handlerCallback'])==null?void 0x0:_0x20b9f9[_0x468904(0x247)])==null?void 0x0:_0x677000[_0x468904(0x2df)](_0x20b9f9,_0xa67ee4);},_0x559cfc[_0x434727(0x10d)]=_0x3cb10a=>{var _0x11b299=_0x434727,_0x1effd1,_0x1614b6,_0x1c9360;if(!((_0x1effd1=this[_0x11b299(0x227)])!=null&&_0x1effd1[_0x11b299(0x10d)]))throw new Error(_0x11b299(0x402));return(_0x1c9360=(_0x1614b6=this[_0x11b299(0x227)])==null?void 0x0:_0x1614b6['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1c9360[_0x11b299(0x2df)](_0x1614b6,_0x3cb10a);},_0x559cfc[_0x434727(0x2e8)]=_0x17e976=>{var _0xe253aa=_0x434727,_0x4f06b9,_0xa4317e,_0x5ad07f;if(!((_0x4f06b9=this[_0xe253aa(0x227)])!=null&&_0x4f06b9['onTransformRemoteChangesetByStateCache']))throw new Error(_0xe253aa(0x361));return(_0x5ad07f=(_0xa4317e=this[_0xe253aa(0x227)])==null?void 0x0:_0xa4317e[_0xe253aa(0x2e8)])==null?void 0x0:_0x5ad07f[_0xe253aa(0x2df)](_0xa4317e,_0x17e976);},_0x559cfc;}async[_0x4e2a03(0x32e)](){var _0x72a489=_0x4e2a03;const _0x1560a0=await super['_init']();return this[_0x72a489(0x3be)](this['_commandService'][_0x72a489(0x326)]((_0x3f38ed,_0xd0796f)=>{var _0x2ef425=_0x72a489;if(_0x3f38ed[_0x2ef425(0xf6)]!==_0x46ccef[_0x2ef425(0x25d)][_0x2ef425(0x232)]||_0xd0796f!=null&&_0xd0796f[_0x2ef425(0x223)]||_0xd0796f!=null&&_0xd0796f['onlyLocal']||_0x3f38ed['id']===_0xa0cfaa[_0x2ef425(0x1b7)]['id'])return;const _0x12e4a2=_0x3f38ed[_0x2ef425(0x231)];if((_0x12e4a2==null?void 0x0:_0x12e4a2['unitId'])!==this['unitID'])return;const _0x47bc4f=_0x3f38ed,_0x4dc413=this[_0x2ef425(0x32f)][_0x2ef425(0xc2)]['fetchThroughInterceptors'](this[_0x2ef425(0x32f)][_0x2ef425(0xc2)][_0x2ef425(0x195)]()[_0x2ef425(0x198)])([_0x47bc4f],null)||[_0x47bc4f];this['_onLocalMutation'](_0x4dc413[0x0]);})),_0x1560a0;}},_0x316282[_0x4e2a03(0x204)]=_0x34e0f3([_0x1c36d6(0x3,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x1c36d6(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x1ba)])),_0x1c36d6(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['LocaleService'])),_0x1c36d6(0x6,_0x46ccef['Inject'](_0x9e3a93['RevisionService'])),_0x1c36d6(0x7,_0x46ccef[_0x4e2a03(0x10e)](_0x5d33c9)),_0x1c36d6(0x8,_0x46ccef[_0x4e2a03(0x212)]),_0x1c36d6(0x9,_0x46ccef['ICommandService']),_0x1c36d6(0xa,_0x46ccef['IPermissionService']),_0x1c36d6(0xb,_0x46ccef[_0x4e2a03(0x1eb)](_0x20811f)),_0x1c36d6(0xc,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282[_0x4e2a03(0x204)]),_0x316282[_0x4e2a03(0xc0)]=class extends _0x316282[_0x4e2a03(0x377)]{constructor(_0x5b6259,_0x2dd2bb,_0x5213e4,_0x154a1f,_0x45525a,_0x5f512b,_0x177def,_0x243118,_0xd72605,_0x2caf4a,_0x336b59,_0x41a989,_0x1d2971,_0x2be855){var _0x10033b=_0x4e2a03;super(_0x5b6259,_0x5213e4,_0x2dd2bb,_0x154a1f,_0x45525a,_0x5f512b,_0x177def,_0xd72605,_0x2caf4a,_0x336b59,_0x41a989,_0x1d2971,_0x2be855),this['unitID']=_0x5b6259,this[_0x10033b(0xf6)]=_0x2dd2bb,this['_sheetTransformSelectionsService']=_0x243118;}[_0x4e2a03(0xc8)](){var _0x11153a=_0x4e2a03;const _0x4942f4=super[_0x11153a(0xc8)]();return _0x4942f4[_0x11153a(0x250)]=_0x190913=>this[_0x11153a(0x27e)][_0x11153a(0x220)](_0x190913),_0x4942f4;}async[_0x4e2a03(0x32e)](){var _0x4df87c=_0x4e2a03;const _0x138d9e=await super[_0x4df87c(0x32e)]();return this[_0x4df87c(0x3be)](this['_commandService'][_0x4df87c(0x326)]((_0x1aa1f9,_0x6f1b37)=>{var _0xb76efb=_0x4df87c;if(_0x1aa1f9[_0xb76efb(0xf6)]!==_0x46ccef[_0xb76efb(0x25d)][_0xb76efb(0x232)]||_0x6f1b37!=null&&_0x6f1b37[_0xb76efb(0x223)]||_0x6f1b37!=null&&_0x6f1b37[_0xb76efb(0xbd)])return;const _0x19401b=_0x1aa1f9['params'];if((_0x19401b==null?void 0x0:_0x19401b['unitId'])!==this[_0xb76efb(0x2bf)])return;const _0x4b86c7=_0x1aa1f9,_0x3400e2=this[_0xb76efb(0x32f)][_0xb76efb(0xc2)][_0xb76efb(0x96)](this[_0xb76efb(0x32f)]['interceptor']['getInterceptPoints']()[_0xb76efb(0x198)])([_0x4b86c7],null)||[_0x4b86c7];this[_0xb76efb(0x39c)](_0x3400e2[0x0]);})),_0x138d9e;}},_0x316282['SheetCollaborationEntity']=_0x34e0f3([_0x1c36d6(0x3,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['Injector'])),_0x1c36d6(0x4,_0x46ccef['Inject'](_0x9e3a93['CompressMutationService'])),_0x1c36d6(0x5,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0xce)])),_0x1c36d6(0x6,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x267)])),_0x1c36d6(0x7,_0x46ccef[_0x4e2a03(0x10e)](_0x316282[_0x4e2a03(0x35b)])),_0x1c36d6(0x8,_0x46ccef['Inject'](_0x5d33c9)),_0x1c36d6(0x9,_0x46ccef[_0x4e2a03(0x212)]),_0x1c36d6(0xa,_0x46ccef['ICommandService']),_0x1c36d6(0xb,_0x46ccef['IPermissionService']),_0x1c36d6(0xc,_0x46ccef['Optional'](_0x20811f)),_0x1c36d6(0xd,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282['SheetCollaborationEntity']);var _0x334df8=Object[_0x4e2a03(0x1d4)],_0x4c1dd9=Object[_0x4e2a03(0x1df)],_0x33f02e=(_0x24bcb6,_0x552133,_0x34fcfd,_0x7b3b3a)=>{var _0x5c4447=_0x4e2a03;for(var _0x4fe0a5=_0x7b3b3a>0x1?void 0x0:_0x7b3b3a?_0x4c1dd9(_0x552133,_0x34fcfd):_0x552133,_0x29ac38=_0x24bcb6[_0x5c4447(0xb9)]-0x1,_0x2dbe91;_0x29ac38>=0x0;_0x29ac38--)(_0x2dbe91=_0x24bcb6[_0x29ac38])&&(_0x4fe0a5=(_0x7b3b3a?_0x2dbe91(_0x552133,_0x34fcfd,_0x4fe0a5):_0x2dbe91(_0x4fe0a5))||_0x4fe0a5);return _0x7b3b3a&&_0x4fe0a5&&_0x334df8(_0x552133,_0x34fcfd,_0x4fe0a5),_0x4fe0a5;},_0x2cc4a7=(_0x2ce2e,_0x374bdd)=>(_0x9411e0,_0x5d1256)=>_0x374bdd(_0x9411e0,_0x5d1256,_0x2ce2e);_0x316282[_0x4e2a03(0x29a)]=class extends _0x46ccef[_0x4e2a03(0x370)]{constructor(_0x5a470d,_0x34823c,_0x4c30fa){var _0x478fe2=_0x4e2a03;super(),_0x1bee61(this,_0x478fe2(0x3c3),new Map()),_0x1bee61(this,'_entityInit$',new _0x1d01ce[(_0x478fe2(0x3d7))]()),_0x1bee61(this,_0x478fe2(0x1fb),this[_0x478fe2(0x340)][_0x478fe2(0x318)]()),(this[_0x478fe2(0x175)]=_0x5a470d,this['_collabSessionService']=_0x34823c,this[_0x478fe2(0x12b)]=_0x4c30fa,this[_0x478fe2(0x32e)]());}[_0x4e2a03(0xb7)](){var _0x1d3ace=_0x4e2a03;super[_0x1d3ace(0xb7)](),this[_0x1d3ace(0x3c3)]['forEach'](_0x2c2c4d=>_0x2c2c4d[_0x1d3ace(0xb7)]()),this['_entities'][_0x1d3ace(0x3d5)]();}['getCollabEntity'](_0x4c537a){var _0x34388b=_0x4e2a03,_0x399c95;return(_0x399c95=this[_0x34388b(0x3c3)][_0x34388b(0x133)](_0x4c537a))!=null?_0x399c95:null;}['getCollabEntity$'](_0x16f077){var _0x36ddbe=_0x4e2a03;const _0x5569fd=this['getCollabEntity'](_0x16f077);return _0x5569fd?_0x1d01ce['of'](_0x5569fd):this['_entityInit$'][_0x36ddbe(0x1ad)](_0x512aa4[_0x36ddbe(0x1d0)](_0x3dcab8=>_0x3dcab8[_0x36ddbe(0x2bf)]===_0x16f077));}[_0x4e2a03(0x39d)](_0x1b1428){var _0x184bf4=_0x4e2a03;return _0x1d01ce['firstValueFrom'](this[_0x184bf4(0xff)](_0x1b1428)[_0x184bf4(0x1ad)](_0x512aa4['map'](()=>{})));}[_0x4e2a03(0x32e)](){var _0x440f7b=_0x4e2a03;this[_0x440f7b(0x12b)][_0x440f7b(0x8d)](_0x46ccef[_0x440f7b(0x160)][_0x440f7b(0x185)])[_0x440f7b(0x1ad)](_0x1d01ce['takeUntil'](this['dispose$']),_0x512aa4[_0x440f7b(0x3dc)](0x10))[_0x440f7b(0x1e4)](async _0x31013e=>{var _0x6a2911=_0x440f7b;const _0x3dd2ca=_0x31013e['getUnitId'](),_0x54fa58=await this[_0x6a2911(0x363)](_0x3dd2ca,_0x392914['UNIVER_SHEET']);this[_0x6a2911(0x3c3)][_0x6a2911(0xfa)](_0x3dd2ca,_0x54fa58);}),this[_0x440f7b(0x12b)]['getTypeOfUnitAdded$'](_0x46ccef[_0x440f7b(0x160)][_0x440f7b(0x13f)])[_0x440f7b(0x1ad)](_0x1d01ce[_0x440f7b(0x39a)](this[_0x440f7b(0x406)]),_0x512aa4[_0x440f7b(0x3dc)](0x10))['pipe'](_0x512aa4[_0x440f7b(0x1d0)](_0x4a97ce=>!_0x4a97ce[_0x440f7b(0x3f8)]()[_0x440f7b(0xd4)]('__')))['subscribe'](async _0x9fc6ef=>{var _0x709df6=_0x440f7b;const _0x3455a4=_0x9fc6ef[_0x709df6(0x3f8)](),_0x4c595f=await this[_0x709df6(0x363)](_0x3455a4,_0x392914[_0x709df6(0x13f)]);this[_0x709df6(0x3c3)][_0x709df6(0xfa)](_0x3455a4,_0x4c595f);}),_0x1d01ce['merge'](this[_0x440f7b(0x12b)][_0x440f7b(0x2e2)](_0x46ccef['UniverInstanceType']['UNIVER_SHEET']),this[_0x440f7b(0x12b)][_0x440f7b(0x2e2)](_0x46ccef[_0x440f7b(0x160)][_0x440f7b(0x13f)]))['pipe'](_0x1d01ce[_0x440f7b(0x39a)](this[_0x440f7b(0x406)]))[_0x440f7b(0x1e4)](_0x2f548c=>{var _0x581054=_0x440f7b;const _0x41a92c=_0x2f548c['getUnitId'](),_0x588452=this[_0x581054(0x3c3)]['get'](_0x41a92c);_0x588452&&(_0x588452[_0x581054(0xb7)](),this[_0x581054(0x3c3)]['delete'](_0x41a92c));});}async[_0x4e2a03(0x363)](_0x25d45e,_0x333bc4){var _0x521008=_0x4e2a03;const _0x4027a5=await this['_collabSessionService'][_0x521008(0x2e6)](_0x25d45e),_0xdc79d0=this[_0x521008(0x175)]['createInstance'](this['_getCtorByUniverType'](_0x333bc4),_0x25d45e,_0x333bc4,_0x4027a5);return await _0xdc79d0[_0x521008(0x367)](),this[_0x521008(0x340)][_0x521008(0x141)](_0xdc79d0),_0xdc79d0;}[_0x4e2a03(0x1e1)](_0x2445d4){var _0x55160e=_0x4e2a03;switch(_0x2445d4){case _0x392914[_0x55160e(0x13f)]:return _0x316282[_0x55160e(0x204)];case _0x392914['UNIVER_SHEET']:return _0x316282[_0x55160e(0xc0)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2445d4);}}},_0x316282[_0x4e2a03(0x29a)]=_0x33f02e([_0x2cc4a7(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x2cc4a7(0x1,_0x46ccef['Inject'](_0x316282['CollaborationSessionService'])),_0x2cc4a7(0x2,_0x46ccef[_0x4e2a03(0x317)])],_0x316282['CollaborationController']);var _0x397456=Object[_0x4e2a03(0x1d4)],_0x33898d=Object[_0x4e2a03(0x1df)],_0x46b19c=(_0x23e2dc,_0x15e688,_0x23bb33,_0x41e9ab)=>{var _0x589f03=_0x4e2a03;for(var _0x3046c4=_0x41e9ab>0x1?void 0x0:_0x41e9ab?_0x33898d(_0x15e688,_0x23bb33):_0x15e688,_0x10d77e=_0x23e2dc[_0x589f03(0xb9)]-0x1,_0x365452;_0x10d77e>=0x0;_0x10d77e--)(_0x365452=_0x23e2dc[_0x10d77e])&&(_0x3046c4=(_0x41e9ab?_0x365452(_0x15e688,_0x23bb33,_0x3046c4):_0x365452(_0x3046c4))||_0x3046c4);return _0x41e9ab&&_0x3046c4&&_0x397456(_0x15e688,_0x23bb33,_0x3046c4),_0x3046c4;},_0x3fb4f6=(_0x315cbf,_0x1b6f53)=>(_0x562097,_0x5e2d47)=>_0x1b6f53(_0x562097,_0x5e2d47,_0x315cbf);const _0x505c17='DEFAULT_FILE_NAME',_0x2a8bc7=_0x4e2a03(0x3ea);let _0x148188=class extends _0x46ccef[_0x4e2a03(0x2e1)]{constructor(_0x293963,_0x3e3c03){var _0x11c302=_0x4e2a03;super(),this[_0x11c302(0x12b)]=_0x293963,this[_0x11c302(0x2c2)]=_0x3e3c03,this['_init']();}[_0x4e2a03(0x32e)](){var _0x1d48b9=_0x4e2a03;this[_0x1d48b9(0x3be)](this['_univerInstanceService'][_0x1d48b9(0x238)][_0x1d48b9(0x1e4)](()=>{var _0x373ad5=_0x1d48b9,_0x113c02;const _0x57afcf=this[_0x373ad5(0x12b)]['getFocusedUnit']();let _0x4edec0=(_0x113c02=this[_0x373ad5(0x2c2)][_0x373ad5(0x164)](_0x505c17))!=null?_0x113c02:_0x2a8bc7;_0x57afcf instanceof _0x46ccef[_0x373ad5(0xf0)]&&(_0x4edec0=_0x57afcf[_0x373ad5(0x315)]),document['title']=_0x4edec0;}));}};_0x148188=_0x46b19c([_0x3fb4f6(0x0,_0x46ccef[_0x4e2a03(0x317)]),_0x3fb4f6(0x1,_0x46ccef[_0x4e2a03(0x211)])],_0x148188);var _0x24a1d6=Object[_0x4e2a03(0x1d4)],_0x1ce800=Object[_0x4e2a03(0x1df)],_0x13de15=(_0x3a3fff,_0x429778,_0x158910,_0x2cdab3)=>{var _0x4d38c5=_0x4e2a03;for(var _0x59ddc6=_0x2cdab3>0x1?void 0x0:_0x2cdab3?_0x1ce800(_0x429778,_0x158910):_0x429778,_0x583a72=_0x3a3fff[_0x4d38c5(0xb9)]-0x1,_0x3682d9;_0x583a72>=0x0;_0x583a72--)(_0x3682d9=_0x3a3fff[_0x583a72])&&(_0x59ddc6=(_0x2cdab3?_0x3682d9(_0x429778,_0x158910,_0x59ddc6):_0x3682d9(_0x59ddc6))||_0x59ddc6);return _0x2cdab3&&_0x59ddc6&&_0x24a1d6(_0x429778,_0x158910,_0x59ddc6),_0x59ddc6;},_0x48d192=(_0x397767,_0x3430ce)=>(_0x16b12a,_0x1cf164)=>_0x3430ce(_0x16b12a,_0x1cf164,_0x397767);let _0x466d77=class{constructor(_0x44e3a8,_0x376fc3,_0x3c357d){var _0x58d9c5=_0x4e2a03;this[_0x58d9c5(0x2c2)]=_0x44e3a8,this[_0x58d9c5(0x3c1)]=_0x376fc3,this[_0x58d9c5(0x322)]=_0x3c357d,this[_0x58d9c5(0x367)]();}['init'](){var _0x2ab14d=_0x4e2a03;this[_0x2ab14d(0x3c1)][_0x2ab14d(0x394)]({'priority':0x1,'interceptor':(_0x82ed88,_0x4c0809)=>_0x4c0809(_0x82ed88)[_0x2ab14d(0x1ad)](_0x1d01ce['concatMap'](async _0x1d6231=>{var _0x4df01c=_0x2ab14d;const _0x110732=_0x1d6231;if(_0x110732[_0x4df01c(0x2d8)]===0x191){if(typeof window>'u')throw new Error(_0x4df01c(0x371));if(window[_0x4df01c(0xba)](this['localeService']['t'](_0x4df01c(0x27c)))){const _0xe9c54c=window[_0x4df01c(0x39e)](window[_0x4df01c(0x3a6)]['href']);window[_0x4df01c(0x3a6)][_0x4df01c(0x2a5)]=this['_getLoginPath']()+_0x4df01c(0x151)+_0xe9c54c;}}return _0x110732;}))});}['_getLoginPath'](){var _0xf74a37=_0x4e2a03,_0x3f9369,_0x24d6b5;const _0x4ceae8=this[_0xf74a37(0x2c2)]['getConfig'](_0x596bd4),_0x96373d=this[_0xf74a37(0x2c2)][_0xf74a37(0x164)](_0x439518);return(_0x24d6b5=(_0x3f9369=_0x96373d==null?void 0x0:_0x96373d[_0xf74a37(0x38f)])!=null?_0x3f9369:_0x4ceae8)!=null?_0x24d6b5:_0x26f325;}};_0x466d77=_0x13de15([_0x48d192(0x0,_0x46ccef['IConfigService']),_0x48d192(0x1,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c[_0x4e2a03(0x24f)])),_0x48d192(0x2,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['LocaleService']))],_0x466d77);var _0x29a3f3=Object[_0x4e2a03(0x1d4)],_0x18b611=Object[_0x4e2a03(0x1df)],_0x2ff349=(_0x52e7d1,_0x2a247b,_0x51c1e2,_0x500f5f)=>{var _0x90e294=_0x4e2a03;for(var _0x1e789a=_0x500f5f>0x1?void 0x0:_0x500f5f?_0x18b611(_0x2a247b,_0x51c1e2):_0x2a247b,_0x2019ac=_0x52e7d1[_0x90e294(0xb9)]-0x1,_0xb09e25;_0x2019ac>=0x0;_0x2019ac--)(_0xb09e25=_0x52e7d1[_0x2019ac])&&(_0x1e789a=(_0x500f5f?_0xb09e25(_0x2a247b,_0x51c1e2,_0x1e789a):_0xb09e25(_0x1e789a))||_0x1e789a);return _0x500f5f&&_0x1e789a&&_0x29a3f3(_0x2a247b,_0x51c1e2,_0x1e789a),_0x1e789a;},_0x4cbbad=(_0x44afed,_0xc32f6a)=>(_0x321c97,_0x857349)=>_0xc32f6a(_0x321c97,_0x857349,_0x44afed);const _0x11e79f=_0x4e2a03(0x161),_0x11820b=_0x4e2a03(0x31b);_0x316282[_0x4e2a03(0x2f4)]=class extends _0x46ccef[_0x4e2a03(0x2e1)]{constructor(_0x292818,_0x38d082){var _0x47a138=_0x4e2a03;super(),this[_0x47a138(0x245)]=_0x292818,this[_0x47a138(0x2c2)]=_0x38d082,this[_0x47a138(0x1d7)]();}[_0x4e2a03(0x1d7)](){var _0x546acf=_0x4e2a03;const _0xa8e051=this;this[_0x546acf(0x3be)](this[_0x546acf(0x245)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2bc71c['MergeInterceptorFactory']({'isMatch'(_0x1b1102){var _0xc06dc3=_0x546acf,_0x3d762d;if(_0x1b1102[_0xc06dc3(0x1dd)]==='POST'&&((_0x3d762d=_0x1b1102[_0xc06dc3(0xfc)])!=null&&_0x3d762d[_0xc06dc3(0x2ef)])){const {objectID:_0x4056c4,objectType:_0x1510ed}=_0x1b1102[_0xc06dc3(0xfc)][_0xc06dc3(0x2ef)]||{};if(!_0x4056c4||_0x1510ed===void 0x0)return!0x1;const _0xa3bc47=_0xa8e051['_getAPIPrefixPath']()+'/'+_0x1510ed+'/object/'+_0x4056c4+_0xc06dc3(0xa3);if(_0x1b1102['url']===_0xa3bc47)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x392b37){var _0x2fbd10;return(_0x2fbd10=_0x392b37['requestParams'])==null?void 0x0:_0x2fbd10['body'];},'mergeParamsToRequest'(_0x49e0ae,_0xd15698){var _0x354314=_0x546acf;const _0x1bc42e=_0xa8e051[_0x354314(0x19a)]()+_0x354314(0x2d4),_0x5cb220=_0x49e0ae[_0x354314(0x3d1)]((_0x1d9b92,_0x360c0d)=>{var _0x1216ce=_0x354314;const {unitID:_0x3a17a7,objectID:_0x27c062,objectType:_0x45c8ae,actions:_0x407bea}=_0x360c0d;return _0x1d9b92[_0x3a17a7]||(_0x1d9b92[_0x3a17a7]={}),_0x1d9b92[_0x3a17a7][_0x27c062]||(_0x1d9b92[_0x3a17a7][_0x27c062]={'objectID':_0x27c062,'objectType':_0x45c8ae,'actions':[]}),_0x1d9b92[_0x3a17a7][_0x27c062][_0x1216ce(0x2c1)][_0x1216ce(0x32c)](..._0x407bea),_0x1d9b92;},{}),_0x384f1e=[];for(const _0x221575 in _0x5cb220)for(const _0x2be186 in _0x5cb220[_0x221575]){const {actions:_0x2b67cc,objectType:_0x277329}=_0x5cb220[_0x221575][_0x2be186],_0xc56325=[...new Set(_0x2b67cc)];_0x384f1e[_0x354314(0x32c)]({'unitID':_0x221575,'objectID':_0x2be186,'objectType':_0x277329,'actions':_0xc56325});}return new _0x2bc71c[(_0x354314(0x10a))](_0x354314(0x158),_0x1bc42e,{'headers':_0xd15698[_0x354314(0xf3)],'withCredentials':_0xd15698[_0x354314(0x184)],'responseType':_0xd15698['responseType'],'body':{'requests':_0x384f1e}});}},{'distributeResult'(_0x46463c,_0x2c6fff){const {objectActions:_0x4251a8}=_0x46463c;return _0x2c6fff['map'](_0x571dc1=>{var _0x103528=_0x1553;const {unitID:_0x3894fe,objectID:_0xe3d89c,actions:_0x5b39a8}=_0x571dc1,_0x49c17b=_0x4251a8['find'](_0x345e56=>_0x345e56['unitID']===_0x3894fe&&_0x345e56[_0x103528(0x3c9)]===_0xe3d89c),_0x424b79=_0x5b39a8[_0x103528(0x2d2)](_0x5da34a=>_0x49c17b==null?void 0x0:_0x49c17b['actions'][_0x103528(0x276)](_0x1a4351=>_0x1a4351[_0x103528(0x302)]===_0x5da34a))[_0x103528(0x1d0)](_0x236817=>!!_0x236817);return{'config':_0x571dc1,'result':{'actions':_0x424b79,'error':_0x46463c[_0x103528(0x1b4)]}};});}})}));}['_getAPIPrefixPath'](){var _0x41c91f=_0x4e2a03,_0x41d8f0,_0x5610f7;const _0x4a0fa8=this[_0x41c91f(0x2c2)][_0x41c91f(0x164)](_0x11e79f),_0x5b6f17=this[_0x41c91f(0x2c2)][_0x41c91f(0x164)](_0x439518);return(_0x5610f7=(_0x41d8f0=_0x5b6f17==null?void 0x0:_0x5b6f17[_0x41c91f(0xb6)])!=null?_0x41d8f0:_0x4a0fa8)!=null?_0x5610f7:_0x11820b;}async[_0x4e2a03(0xd9)](_0x52d004){var _0x11e9c9=_0x4e2a03;const _0x197c51=this['_getAPIPrefixPath']()+'/'+_0x52d004[_0x11e9c9(0x2f5)]+_0x11e9c9(0x2e0);return(await this[_0x11e9c9(0x245)]['post'](_0x197c51,{'body':_0x52d004}))[_0x11e9c9(0x2ef)]['objectID']||'';}async['list'](_0x45599f){var _0x4da02f=_0x4e2a03;const _0x27ce11=this[_0x4da02f(0x19a)]()+_0x4da02f(0x3c2);return(await this['_HTTPService'][_0x4da02f(0x240)](_0x27ce11,{'body':_0x45599f}))[_0x4da02f(0x2ef)][_0x4da02f(0x92)];}async[_0x4e2a03(0x2a9)](_0x274d7d){var _0x5733e9=_0x4e2a03;const _0x4d278e=this[_0x5733e9(0x19a)]()+'/'+_0x274d7d[_0x5733e9(0x2f5)]+_0x5733e9(0x344)+_0x274d7d[_0x5733e9(0x3c9)];await this['_HTTPService'][_0x5733e9(0x242)](_0x4d278e,{'body':_0x274d7d});}async['allowed'](_0xb5886a){var _0x3babda=_0x4e2a03;const _0x565074=this[_0x3babda(0x19a)]()+'/'+_0xb5886a[_0x3babda(0x2f5)]+_0x3babda(0x344)+_0xb5886a[_0x3babda(0x3c9)]+'/allowed';return(await this[_0x3babda(0x245)][_0x3babda(0x240)](_0x565074,{'body':_0xb5886a}))[_0x3babda(0x2ef)][_0x3babda(0x2c1)];}async[_0x4e2a03(0x2cc)](_0x770e83){var _0x515707=_0x4e2a03;const _0x3c7fec=this[_0x515707(0x19a)]()+_0x515707(0x2d4);return(await this[_0x515707(0x245)][_0x515707(0x240)](_0x3c7fec,{'body':{'requests':_0x770e83}}))['body']['objectActions'];}async[_0x4e2a03(0xda)](_0x419904){var _0x17359e=_0x4e2a03;const _0x41c3ff=this[_0x17359e(0x19a)]()+'/'+_0x419904['objectType']+_0x17359e(0x3af),_0x251ccd=await this[_0x17359e(0x245)][_0x17359e(0x240)](_0x41c3ff,{'body':_0x419904});return{'roles':_0x251ccd[_0x17359e(0x2ef)][_0x17359e(0x333)],'actions':_0x251ccd['body'][_0x17359e(0x2c1)]};}async[_0x4e2a03(0x373)](_0x40f293){var _0x103b20=_0x4e2a03;const _0x275596=this['_getAPIPrefixPath']()+_0x103b20(0x291);await this['_HTTPService']['delete'](_0x275596,{'params':{'collaboratorID':_0x40f293[_0x103b20(0x28a)],'objectID':_0x40f293[_0x103b20(0x3c9)],'unitID':_0x40f293[_0x103b20(0x2bf)]}});}async[_0x4e2a03(0x374)](_0x296e6e){var _0x1669c9=_0x4e2a03;const _0x3aff3f=this['_getAPIPrefixPath']()+_0x1669c9(0x291);await this['_HTTPService'][_0x1669c9(0xe9)](_0x3aff3f,{'body':_0x296e6e});}async['createCollaborator'](_0x1e0b09){var _0xd4693d=_0x4e2a03;const _0x1ee114=this[_0xd4693d(0x19a)]()+_0xd4693d(0x291);await this[_0xd4693d(0x245)][_0xd4693d(0x240)](_0x1ee114,{'body':_0x1e0b09});}async[_0x4e2a03(0xf2)](_0x244592){var _0x114b7d=_0x4e2a03;const _0x42b392=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x114b7d(0x245)][_0x114b7d(0x133)](_0x42b392,{'params':{'objectID':_0x244592['objectID'],'unitID':_0x244592[_0x114b7d(0x2bf)]}}))[_0x114b7d(0x2ef)]['collaborators'];}async[_0x4e2a03(0x273)](_0x42a78d){var _0x363b0d=_0x4e2a03;const _0x3ae8da=this[_0x363b0d(0x19a)]()+_0x363b0d(0x291);await this[_0x363b0d(0x245)][_0x363b0d(0x242)](_0x3ae8da,{'body':_0x42a78d});}},_0x316282[_0x4e2a03(0x2f4)]=_0x2ff349([_0x4cbbad(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c[_0x4e2a03(0x24f)])),_0x4cbbad(0x1,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef['IConfigService']))],_0x316282[_0x4e2a03(0x2f4)]);var _0x465e07=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1b2f0a(_0x38ce66){var _0x4ea818=_0x4e2a03;return _0x38ce66&&_0x38ce66[_0x4ea818(0xdb)]&&Object[_0x4ea818(0x3ac)][_0x4ea818(0x8a)][_0x4ea818(0x2df)](_0x38ce66,_0x4ea818(0x100))?_0x38ce66[_0x4ea818(0x100)]:_0x38ce66;}var _0x5054ae={'exports':{}};function _0x2fba6a(_0x43d4db){var _0x3d2ab5=_0x4e2a03;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x43d4db+_0x3d2ab5(0x1fc));}var _0x3e374a={'exports':{}},_0x16f9ca=_0x3e374a[_0x4e2a03(0x308)],_0x31b9a7;function _0x2163f0(){return _0x31b9a7||(_0x31b9a7=0x1,function(_0x5ccc34,_0x489426){(function(_0x4dda53,_0x11d6e0){var _0x3cb6cb=_0x1553;_0x5ccc34[_0x3cb6cb(0x308)]=_0x11d6e0();}(_0x16f9ca,function(){var _0x3f3b70=_0x3f3b70||function(_0x1f0859,_0x171cbc){var _0x4beab9=_0x1553,_0x50bf69;if(typeof window<'u'&&window[_0x4beab9(0x1bf)]&&(_0x50bf69=window[_0x4beab9(0x1bf)]),typeof self<'u'&&self[_0x4beab9(0x1bf)]&&(_0x50bf69=self['crypto']),typeof globalThis<'u'&&globalThis[_0x4beab9(0x1bf)]&&(_0x50bf69=globalThis[_0x4beab9(0x1bf)]),!_0x50bf69&&typeof window<'u'&&window['msCrypto']&&(_0x50bf69=window['msCrypto']),!_0x50bf69&&typeof _0x465e07<'u'&&_0x465e07[_0x4beab9(0x1bf)]&&(_0x50bf69=_0x465e07['crypto']),!_0x50bf69&&typeof _0x2fba6a==_0x4beab9(0x271))try{_0x50bf69=require('crypto');}catch{}var _0x3b2968=function(){var _0x190c4b=_0x4beab9;if(_0x50bf69){if(typeof _0x50bf69[_0x190c4b(0x162)]==_0x190c4b(0x271))try{return _0x50bf69['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x50bf69[_0x190c4b(0x1ef)]==_0x190c4b(0x271))try{return _0x50bf69[_0x190c4b(0x1ef)](0x4)[_0x190c4b(0x312)]();}catch{}}throw new Error(_0x190c4b(0x16c));},_0x5d6476=Object[_0x4beab9(0xd9)]||(function(){function _0x2d995a(){}return function(_0x4d6ca4){var _0x4c897a=_0x1553,_0x46fbad;return _0x2d995a[_0x4c897a(0x3ac)]=_0x4d6ca4,_0x46fbad=new _0x2d995a(),_0x2d995a[_0x4c897a(0x3ac)]=null,_0x46fbad;};}()),_0x21ee1a={},_0x43ad25=_0x21ee1a['lib']={},_0x583ee9=_0x43ad25[_0x4beab9(0x263)]=(function(){return{'extend':function(_0x5465a5){var _0x3da1f3=_0x1553,_0x12d71=_0x5d6476(this);return _0x5465a5&&_0x12d71['mixIn'](_0x5465a5),(!_0x12d71[_0x3da1f3(0x8a)](_0x3da1f3(0x367))||this[_0x3da1f3(0x367)]===_0x12d71['init'])&&(_0x12d71[_0x3da1f3(0x367)]=function(){var _0x57e9b3=_0x3da1f3;_0x12d71['$super'][_0x57e9b3(0x367)][_0x57e9b3(0x202)](this,arguments);}),_0x12d71[_0x3da1f3(0x367)][_0x3da1f3(0x3ac)]=_0x12d71,_0x12d71[_0x3da1f3(0x31d)]=this,_0x12d71;},'create':function(){var _0x45c4fd=_0x1553,_0x1e1ade=this[_0x45c4fd(0x404)]();return _0x1e1ade[_0x45c4fd(0x367)][_0x45c4fd(0x202)](_0x1e1ade,arguments),_0x1e1ade;},'init':function(){},'mixIn':function(_0x5d5400){var _0x1dc75c=_0x1553;for(var _0x221f88 in _0x5d5400)_0x5d5400[_0x1dc75c(0x8a)](_0x221f88)&&(this[_0x221f88]=_0x5d5400[_0x221f88]);_0x5d5400[_0x1dc75c(0x8a)](_0x1dc75c(0x1f0))&&(this[_0x1dc75c(0x1f0)]=_0x5d5400[_0x1dc75c(0x1f0)]);},'clone':function(){var _0x4b3a2c=_0x1553;return this[_0x4b3a2c(0x367)][_0x4b3a2c(0x3ac)][_0x4b3a2c(0x404)](this);}};}()),_0x4b238b=_0x43ad25[_0x4beab9(0x2ae)]=_0x583ee9[_0x4beab9(0x404)]({'init':function(_0x4b5fcf,_0x34bec0){var _0x177dbb=_0x4beab9;_0x4b5fcf=this[_0x177dbb(0x177)]=_0x4b5fcf||[],_0x34bec0!=_0x171cbc?this['sigBytes']=_0x34bec0:this[_0x177dbb(0x309)]=_0x4b5fcf[_0x177dbb(0xb9)]*0x4;},'toString':function(_0x51fddd){var _0x654b95=_0x4beab9;return(_0x51fddd||_0x177818)[_0x654b95(0xa1)](this);},'concat':function(_0x349c35){var _0x106ef2=_0x4beab9,_0x37693c=this[_0x106ef2(0x177)],_0x1a9b26=_0x349c35[_0x106ef2(0x177)],_0x267d07=this[_0x106ef2(0x309)],_0x5c20a1=_0x349c35['sigBytes'];if(this['clamp'](),_0x267d07%0x4)for(var _0x594149=0x0;_0x594149<_0x5c20a1;_0x594149++){var _0x4eafb9=_0x1a9b26[_0x594149>>>0x2]>>>0x18-_0x594149%0x4*0x8&0xff;_0x37693c[_0x267d07+_0x594149>>>0x2]|=_0x4eafb9<<0x18-(_0x267d07+_0x594149)%0x4*0x8;}else{for(var _0x473fd2=0x0;_0x473fd2<_0x5c20a1;_0x473fd2+=0x4)_0x37693c[_0x267d07+_0x473fd2>>>0x2]=_0x1a9b26[_0x473fd2>>>0x2];}return this[_0x106ef2(0x309)]+=_0x5c20a1,this;},'clamp':function(){var _0x17c72c=_0x4beab9,_0x5c5892=this[_0x17c72c(0x177)],_0x5e7fd2=this[_0x17c72c(0x309)];_0x5c5892[_0x5e7fd2>>>0x2]&=0xffffffff<<0x20-_0x5e7fd2%0x4*0x8,_0x5c5892[_0x17c72c(0xb9)]=_0x1f0859[_0x17c72c(0x23e)](_0x5e7fd2/0x4);},'clone':function(){var _0xa6b21f=_0x4beab9,_0x3d5abd=_0x583ee9['clone'][_0xa6b21f(0x2df)](this);return _0x3d5abd[_0xa6b21f(0x177)]=this['words']['slice'](0x0),_0x3d5abd;},'random':function(_0x4ef7d1){var _0x5dd070=_0x4beab9;for(var _0x5d8538=[],_0x2d6ff7=0x0;_0x2d6ff7<_0x4ef7d1;_0x2d6ff7+=0x4)_0x5d8538[_0x5dd070(0x32c)](_0x3b2968());return new _0x4b238b[(_0x5dd070(0x367))](_0x5d8538,_0x4ef7d1);}}),_0x5c76ed=_0x21ee1a[_0x4beab9(0x3ec)]={},_0x177818=_0x5c76ed[_0x4beab9(0x258)]={'stringify':function(_0x21f3f6){var _0x524b40=_0x4beab9;for(var _0x33aa76=_0x21f3f6['words'],_0x172ce6=_0x21f3f6[_0x524b40(0x309)],_0x3046dc=[],_0x1c240e=0x0;_0x1c240e<_0x172ce6;_0x1c240e++){var _0x3d14d9=_0x33aa76[_0x1c240e>>>0x2]>>>0x18-_0x1c240e%0x4*0x8&0xff;_0x3046dc['push']((_0x3d14d9>>>0x4)[_0x524b40(0x1f0)](0x10)),_0x3046dc['push']((_0x3d14d9&0xf)[_0x524b40(0x1f0)](0x10));}return _0x3046dc[_0x524b40(0x137)]('');},'parse':function(_0x321526){var _0x21d938=_0x4beab9;for(var _0x48df87=_0x321526[_0x21d938(0xb9)],_0xaed424=[],_0x5d6d54=0x0;_0x5d6d54<_0x48df87;_0x5d6d54+=0x2)_0xaed424[_0x5d6d54>>>0x3]|=parseInt(_0x321526[_0x21d938(0x286)](_0x5d6d54,0x2),0x10)<<0x18-_0x5d6d54%0x8*0x4;return new _0x4b238b[(_0x21d938(0x367))](_0xaed424,_0x48df87/0x2);}},_0x3bf721=_0x5c76ed[_0x4beab9(0x2bb)]={'stringify':function(_0x38489f){var _0x21dc38=_0x4beab9;for(var _0x3e1a2d=_0x38489f['words'],_0x27aaaf=_0x38489f[_0x21dc38(0x309)],_0x1f2753=[],_0x3e323f=0x0;_0x3e323f<_0x27aaaf;_0x3e323f++){var _0x356a87=_0x3e1a2d[_0x3e323f>>>0x2]>>>0x18-_0x3e323f%0x4*0x8&0xff;_0x1f2753['push'](String[_0x21dc38(0xc3)](_0x356a87));}return _0x1f2753[_0x21dc38(0x137)]('');},'parse':function(_0x35dac4){var _0x5e0fda=_0x4beab9;for(var _0xa4268a=_0x35dac4[_0x5e0fda(0xb9)],_0x51133b=[],_0x3f6816=0x0;_0x3f6816<_0xa4268a;_0x3f6816++)_0x51133b[_0x3f6816>>>0x2]|=(_0x35dac4[_0x5e0fda(0x208)](_0x3f6816)&0xff)<<0x18-_0x3f6816%0x4*0x8;return new _0x4b238b[(_0x5e0fda(0x367))](_0x51133b,_0xa4268a);}},_0x342f9a=_0x5c76ed['Utf8']={'stringify':function(_0x558b22){var _0x46239d=_0x4beab9;try{return decodeURIComponent(escape(_0x3bf721[_0x46239d(0xa1)](_0x558b22)));}catch{throw new Error(_0x46239d(0x189));}},'parse':function(_0x233cdc){var _0x493865=_0x4beab9;return _0x3bf721[_0x493865(0xd5)](unescape(encodeURIComponent(_0x233cdc)));}},_0x32e1ab=_0x43ad25['BufferedBlockAlgorithm']=_0x583ee9[_0x4beab9(0x404)]({'reset':function(){var _0x43b933=_0x4beab9;this[_0x43b933(0x3db)]=new _0x4b238b['init'](),this[_0x43b933(0x217)]=0x0;},'_append':function(_0x3c594b){var _0x352724=_0x4beab9;typeof _0x3c594b==_0x352724(0x332)&&(_0x3c594b=_0x342f9a[_0x352724(0xd5)](_0x3c594b)),this[_0x352724(0x3db)][_0x352724(0xf4)](_0x3c594b),this['_nDataBytes']+=_0x3c594b['sigBytes'];},'_process':function(_0x1ff6e9){var _0x12a89d=_0x4beab9,_0x5142c2,_0x47e77c=this[_0x12a89d(0x3db)],_0x48cdd9=_0x47e77c[_0x12a89d(0x177)],_0x46c607=_0x47e77c[_0x12a89d(0x309)],_0x4bd4b5=this['blockSize'],_0x58e120=_0x4bd4b5*0x4,_0x5dc9f0=_0x46c607/_0x58e120;_0x1ff6e9?_0x5dc9f0=_0x1f0859['ceil'](_0x5dc9f0):_0x5dc9f0=_0x1f0859[_0x12a89d(0x338)]((_0x5dc9f0|0x0)-this[_0x12a89d(0x3c8)],0x0);var _0x4a97b7=_0x5dc9f0*_0x4bd4b5,_0x49e979=_0x1f0859['min'](_0x4a97b7*0x4,_0x46c607);if(_0x4a97b7){for(var _0x2f328c=0x0;_0x2f328c<_0x4a97b7;_0x2f328c+=_0x4bd4b5)this['_doProcessBlock'](_0x48cdd9,_0x2f328c);_0x5142c2=_0x48cdd9['splice'](0x0,_0x4a97b7),_0x47e77c[_0x12a89d(0x309)]-=_0x49e979;}return new _0x4b238b[(_0x12a89d(0x367))](_0x5142c2,_0x49e979);},'clone':function(){var _0x313aa8=_0x4beab9,_0x53645a=_0x583ee9[_0x313aa8(0xee)][_0x313aa8(0x2df)](this);return _0x53645a[_0x313aa8(0x3db)]=this[_0x313aa8(0x3db)][_0x313aa8(0xee)](),_0x53645a;},'_minBufferSize':0x0});_0x43ad25['Hasher']=_0x32e1ab[_0x4beab9(0x404)]({'cfg':_0x583ee9[_0x4beab9(0x404)](),'init':function(_0x41e417){var _0x47fb92=_0x4beab9;this[_0x47fb92(0xeb)]=this[_0x47fb92(0xeb)][_0x47fb92(0x404)](_0x41e417),this[_0x47fb92(0x10f)]();},'reset':function(){var _0x321eef=_0x4beab9;_0x32e1ab[_0x321eef(0x10f)][_0x321eef(0x2df)](this),this[_0x321eef(0x1a7)]();},'update':function(_0x18b714){var _0x32504a=_0x4beab9;return this[_0x32504a(0x1ac)](_0x18b714),this['_process'](),this;},'finalize':function(_0x2966f7){var _0x211ce4=_0x4beab9;_0x2966f7&&this[_0x211ce4(0x1ac)](_0x2966f7);var _0x22732e=this[_0x211ce4(0xa6)]();return _0x22732e;},'blockSize':0x10,'_createHelper':function(_0x4f5b8b){return function(_0x52fb8a,_0x22e684){var _0x44272a=_0x1553;return new _0x4f5b8b[(_0x44272a(0x367))](_0x22e684)[_0x44272a(0x3d2)](_0x52fb8a);};},'_createHmacHelper':function(_0x2f3a29){return function(_0x896792,_0x4fa6bb){var _0x2fc412=_0x1553;return new _0xd370e5[(_0x2fc412(0x114))][(_0x2fc412(0x367))](_0x2f3a29,_0x4fa6bb)[_0x2fc412(0x3d2)](_0x896792);};}});var _0xd370e5=_0x21ee1a[_0x4beab9(0xe6)]={};return _0x21ee1a;}(Math);return _0x3f3b70;}));}(_0x3e374a)),_0x3e374a['exports'];}var _0x2fd056={'exports':{}},_0x17ff64=_0x2fd056['exports'],_0x4bae3f;function _0x2fcae7(){var _0x33f529=_0x4e2a03;return _0x4bae3f||(_0x4bae3f=0x1,function(_0x57ff02,_0x3054fc){(function(_0x262193,_0x2748dc){var _0x39f6ed=_0x1553;_0x57ff02[_0x39f6ed(0x308)]=_0x2748dc(_0x2163f0());}(_0x17ff64,function(_0x3233bb){var _0x184f3e=_0x1553;return(function(){var _0x30b3e4=_0x1553,_0x1bc250=_0x3233bb,_0x3d35fb=_0x1bc250['lib'],_0x440157=_0x3d35fb[_0x30b3e4(0x2ae)],_0xc7ad1d=_0x1bc250[_0x30b3e4(0x3ec)];_0xc7ad1d['Base64']={'stringify':function(_0x12214e){var _0x2edf94=_0x30b3e4,_0x52e4e7=_0x12214e[_0x2edf94(0x177)],_0x5c2cf1=_0x12214e[_0x2edf94(0x309)],_0x66fe1d=this[_0x2edf94(0x20e)];_0x12214e[_0x2edf94(0x30d)]();for(var _0xf83c8b=[],_0x291447=0x0;_0x291447<_0x5c2cf1;_0x291447+=0x3)for(var _0x53cb41=_0x52e4e7[_0x291447>>>0x2]>>>0x18-_0x291447%0x4*0x8&0xff,_0x57dcb4=_0x52e4e7[_0x291447+0x1>>>0x2]>>>0x18-(_0x291447+0x1)%0x4*0x8&0xff,_0xd6bf68=_0x52e4e7[_0x291447+0x2>>>0x2]>>>0x18-(_0x291447+0x2)%0x4*0x8&0xff,_0x403e12=_0x53cb41<<0x10|_0x57dcb4<<0x8|_0xd6bf68,_0x369dc5=0x0;_0x369dc5<0x4&&_0x291447+_0x369dc5*0.75<_0x5c2cf1;_0x369dc5++)_0xf83c8b[_0x2edf94(0x32c)](_0x66fe1d['charAt'](_0x403e12>>>0x6*(0x3-_0x369dc5)&0x3f));var _0x94c45f=_0x66fe1d[_0x2edf94(0x22f)](0x40);if(_0x94c45f){for(;_0xf83c8b[_0x2edf94(0xb9)]%0x4;)_0xf83c8b['push'](_0x94c45f);}return _0xf83c8b['join']('');},'parse':function(_0x4a6a20){var _0x3b5f69=_0x30b3e4,_0x126b99=_0x4a6a20['length'],_0x1dfbc3=this[_0x3b5f69(0x20e)],_0x256f70=this[_0x3b5f69(0x3f0)];if(!_0x256f70){_0x256f70=this['_reverseMap']=[];for(var _0x5a6387=0x0;_0x5a6387<_0x1dfbc3[_0x3b5f69(0xb9)];_0x5a6387++)_0x256f70[_0x1dfbc3[_0x3b5f69(0x208)](_0x5a6387)]=_0x5a6387;}var _0x5e4f77=_0x1dfbc3[_0x3b5f69(0x22f)](0x40);if(_0x5e4f77){var _0x507e24=_0x4a6a20[_0x3b5f69(0x1e2)](_0x5e4f77);_0x507e24!==-0x1&&(_0x126b99=_0x507e24);}return _0x2255e2(_0x4a6a20,_0x126b99,_0x256f70);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x2255e2(_0x5a0b1a,_0x42d8d3,_0x289143){var _0x5582f9=_0x30b3e4;for(var _0x4e36d8=[],_0x2e5fb8=0x0,_0x470d01=0x0;_0x470d01<_0x42d8d3;_0x470d01++)if(_0x470d01%0x4){var _0x118f04=_0x289143[_0x5a0b1a[_0x5582f9(0x208)](_0x470d01-0x1)]<<_0x470d01%0x4*0x2,_0x180fc6=_0x289143[_0x5a0b1a[_0x5582f9(0x208)](_0x470d01)]>>>0x6-_0x470d01%0x4*0x2,_0x289e52=_0x118f04|_0x180fc6;_0x4e36d8[_0x2e5fb8>>>0x2]|=_0x289e52<<0x18-_0x2e5fb8%0x4*0x8,_0x2e5fb8++;}return _0x440157['create'](_0x4e36d8,_0x2e5fb8);}}()),_0x3233bb[_0x184f3e(0x3ec)][_0x184f3e(0x39f)];}));}(_0x2fd056)),_0x2fd056[_0x33f529(0x308)];}var _0x3bb024={'exports':{}},_0x3be88f=_0x3bb024[_0x4e2a03(0x308)],_0x5ca1f3;function _0xa16f46(){var _0x3fa5bf=_0x4e2a03;return _0x5ca1f3||(_0x5ca1f3=0x1,function(_0xd8f4c4,_0x5860fa){(function(_0x7a073e,_0x1ee546){var _0x3d6eb3=_0x1553;_0xd8f4c4[_0x3d6eb3(0x308)]=_0x1ee546(_0x2163f0());}(_0x3be88f,function(_0x8c157a){return function(_0x390103){var _0x2ad6cf=_0x1553,_0x3e3ad8=_0x8c157a,_0x163bee=_0x3e3ad8[_0x2ad6cf(0x2f0)],_0x34ded5=_0x163bee[_0x2ad6cf(0x2ae)],_0x52335b=_0x163bee['Hasher'],_0x4b1252=_0x3e3ad8['algo'],_0x5d2a5d=[];(function(){var _0x1ab742=_0x2ad6cf;for(var _0x53069c=0x0;_0x53069c<0x40;_0x53069c++)_0x5d2a5d[_0x53069c]=_0x390103[_0x1ab742(0x337)](_0x390103[_0x1ab742(0xa9)](_0x53069c+0x1))*0x100000000|0x0;}());var _0x3272de=_0x4b1252['MD5']=_0x52335b[_0x2ad6cf(0x404)]({'_doReset':function(){this['_hash']=new _0x34ded5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xbf69a9,_0x294a17){var _0x5e84f2=_0x2ad6cf;for(var _0x49ea2b=0x0;_0x49ea2b<0x10;_0x49ea2b++){var _0x384036=_0x294a17+_0x49ea2b,_0x7766c7=_0xbf69a9[_0x384036];_0xbf69a9[_0x384036]=(_0x7766c7<<0x8|_0x7766c7>>>0x18)&0xff00ff|(_0x7766c7<<0x18|_0x7766c7>>>0x8)&0xff00ff00;}var _0x410a7d=this['_hash'][_0x5e84f2(0x177)],_0xd73e84=_0xbf69a9[_0x294a17+0x0],_0x524076=_0xbf69a9[_0x294a17+0x1],_0x327215=_0xbf69a9[_0x294a17+0x2],_0x163cdb=_0xbf69a9[_0x294a17+0x3],_0x39bf16=_0xbf69a9[_0x294a17+0x4],_0x1903f6=_0xbf69a9[_0x294a17+0x5],_0x2ed57e=_0xbf69a9[_0x294a17+0x6],_0x4a3d0f=_0xbf69a9[_0x294a17+0x7],_0x4812e4=_0xbf69a9[_0x294a17+0x8],_0x543689=_0xbf69a9[_0x294a17+0x9],_0x5a5107=_0xbf69a9[_0x294a17+0xa],_0x48dc50=_0xbf69a9[_0x294a17+0xb],_0x146a32=_0xbf69a9[_0x294a17+0xc],_0x4bed3f=_0xbf69a9[_0x294a17+0xd],_0x1de57c=_0xbf69a9[_0x294a17+0xe],_0x323f50=_0xbf69a9[_0x294a17+0xf],_0x37ae36=_0x410a7d[0x0],_0xa0cf92=_0x410a7d[0x1],_0x2626e8=_0x410a7d[0x2],_0x4dc6c9=_0x410a7d[0x3];_0x37ae36=_0x5a49fc(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0xd73e84,0x7,_0x5d2a5d[0x0]),_0x4dc6c9=_0x5a49fc(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x524076,0xc,_0x5d2a5d[0x1]),_0x2626e8=_0x5a49fc(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x327215,0x11,_0x5d2a5d[0x2]),_0xa0cf92=_0x5a49fc(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x163cdb,0x16,_0x5d2a5d[0x3]),_0x37ae36=_0x5a49fc(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x39bf16,0x7,_0x5d2a5d[0x4]),_0x4dc6c9=_0x5a49fc(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x1903f6,0xc,_0x5d2a5d[0x5]),_0x2626e8=_0x5a49fc(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2ed57e,0x11,_0x5d2a5d[0x6]),_0xa0cf92=_0x5a49fc(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x4a3d0f,0x16,_0x5d2a5d[0x7]),_0x37ae36=_0x5a49fc(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x4812e4,0x7,_0x5d2a5d[0x8]),_0x4dc6c9=_0x5a49fc(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x543689,0xc,_0x5d2a5d[0x9]),_0x2626e8=_0x5a49fc(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x5a5107,0x11,_0x5d2a5d[0xa]),_0xa0cf92=_0x5a49fc(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x48dc50,0x16,_0x5d2a5d[0xb]),_0x37ae36=_0x5a49fc(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x146a32,0x7,_0x5d2a5d[0xc]),_0x4dc6c9=_0x5a49fc(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x4bed3f,0xc,_0x5d2a5d[0xd]),_0x2626e8=_0x5a49fc(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x1de57c,0x11,_0x5d2a5d[0xe]),_0xa0cf92=_0x5a49fc(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x323f50,0x16,_0x5d2a5d[0xf]),_0x37ae36=_0x10ba2c(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x524076,0x5,_0x5d2a5d[0x10]),_0x4dc6c9=_0x10ba2c(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x2ed57e,0x9,_0x5d2a5d[0x11]),_0x2626e8=_0x10ba2c(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x48dc50,0xe,_0x5d2a5d[0x12]),_0xa0cf92=_0x10ba2c(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0xd73e84,0x14,_0x5d2a5d[0x13]),_0x37ae36=_0x10ba2c(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x1903f6,0x5,_0x5d2a5d[0x14]),_0x4dc6c9=_0x10ba2c(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x5a5107,0x9,_0x5d2a5d[0x15]),_0x2626e8=_0x10ba2c(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x323f50,0xe,_0x5d2a5d[0x16]),_0xa0cf92=_0x10ba2c(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x39bf16,0x14,_0x5d2a5d[0x17]),_0x37ae36=_0x10ba2c(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x543689,0x5,_0x5d2a5d[0x18]),_0x4dc6c9=_0x10ba2c(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x1de57c,0x9,_0x5d2a5d[0x19]),_0x2626e8=_0x10ba2c(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x163cdb,0xe,_0x5d2a5d[0x1a]),_0xa0cf92=_0x10ba2c(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x4812e4,0x14,_0x5d2a5d[0x1b]),_0x37ae36=_0x10ba2c(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x4bed3f,0x5,_0x5d2a5d[0x1c]),_0x4dc6c9=_0x10ba2c(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x327215,0x9,_0x5d2a5d[0x1d]),_0x2626e8=_0x10ba2c(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x4a3d0f,0xe,_0x5d2a5d[0x1e]),_0xa0cf92=_0x10ba2c(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x146a32,0x14,_0x5d2a5d[0x1f]),_0x37ae36=_0x39c4c5(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x1903f6,0x4,_0x5d2a5d[0x20]),_0x4dc6c9=_0x39c4c5(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x4812e4,0xb,_0x5d2a5d[0x21]),_0x2626e8=_0x39c4c5(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x48dc50,0x10,_0x5d2a5d[0x22]),_0xa0cf92=_0x39c4c5(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x1de57c,0x17,_0x5d2a5d[0x23]),_0x37ae36=_0x39c4c5(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x524076,0x4,_0x5d2a5d[0x24]),_0x4dc6c9=_0x39c4c5(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x39bf16,0xb,_0x5d2a5d[0x25]),_0x2626e8=_0x39c4c5(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x4a3d0f,0x10,_0x5d2a5d[0x26]),_0xa0cf92=_0x39c4c5(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x5a5107,0x17,_0x5d2a5d[0x27]),_0x37ae36=_0x39c4c5(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x4bed3f,0x4,_0x5d2a5d[0x28]),_0x4dc6c9=_0x39c4c5(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0xd73e84,0xb,_0x5d2a5d[0x29]),_0x2626e8=_0x39c4c5(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x163cdb,0x10,_0x5d2a5d[0x2a]),_0xa0cf92=_0x39c4c5(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x2ed57e,0x17,_0x5d2a5d[0x2b]),_0x37ae36=_0x39c4c5(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x543689,0x4,_0x5d2a5d[0x2c]),_0x4dc6c9=_0x39c4c5(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x146a32,0xb,_0x5d2a5d[0x2d]),_0x2626e8=_0x39c4c5(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x323f50,0x10,_0x5d2a5d[0x2e]),_0xa0cf92=_0x39c4c5(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x327215,0x17,_0x5d2a5d[0x2f]),_0x37ae36=_0x674974(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0xd73e84,0x6,_0x5d2a5d[0x30]),_0x4dc6c9=_0x674974(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x4a3d0f,0xa,_0x5d2a5d[0x31]),_0x2626e8=_0x674974(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x1de57c,0xf,_0x5d2a5d[0x32]),_0xa0cf92=_0x674974(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x1903f6,0x15,_0x5d2a5d[0x33]),_0x37ae36=_0x674974(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x146a32,0x6,_0x5d2a5d[0x34]),_0x4dc6c9=_0x674974(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x163cdb,0xa,_0x5d2a5d[0x35]),_0x2626e8=_0x674974(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x5a5107,0xf,_0x5d2a5d[0x36]),_0xa0cf92=_0x674974(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x524076,0x15,_0x5d2a5d[0x37]),_0x37ae36=_0x674974(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x4812e4,0x6,_0x5d2a5d[0x38]),_0x4dc6c9=_0x674974(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x323f50,0xa,_0x5d2a5d[0x39]),_0x2626e8=_0x674974(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2ed57e,0xf,_0x5d2a5d[0x3a]),_0xa0cf92=_0x674974(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x4bed3f,0x15,_0x5d2a5d[0x3b]),_0x37ae36=_0x674974(_0x37ae36,_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x39bf16,0x6,_0x5d2a5d[0x3c]),_0x4dc6c9=_0x674974(_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x2626e8,_0x48dc50,0xa,_0x5d2a5d[0x3d]),_0x2626e8=_0x674974(_0x2626e8,_0x4dc6c9,_0x37ae36,_0xa0cf92,_0x327215,0xf,_0x5d2a5d[0x3e]),_0xa0cf92=_0x674974(_0xa0cf92,_0x2626e8,_0x4dc6c9,_0x37ae36,_0x543689,0x15,_0x5d2a5d[0x3f]),_0x410a7d[0x0]=_0x410a7d[0x0]+_0x37ae36|0x0,_0x410a7d[0x1]=_0x410a7d[0x1]+_0xa0cf92|0x0,_0x410a7d[0x2]=_0x410a7d[0x2]+_0x2626e8|0x0,_0x410a7d[0x3]=_0x410a7d[0x3]+_0x4dc6c9|0x0;},'_doFinalize':function(){var _0x8d69dc=_0x2ad6cf,_0x34f1a3=this['_data'],_0x4c1841=_0x34f1a3[_0x8d69dc(0x177)],_0x3d28aa=this[_0x8d69dc(0x217)]*0x8,_0x1548a2=_0x34f1a3['sigBytes']*0x8;_0x4c1841[_0x1548a2>>>0x5]|=0x80<<0x18-_0x1548a2%0x20;var _0x431d99=_0x390103[_0x8d69dc(0x28b)](_0x3d28aa/0x100000000),_0x4a5eab=_0x3d28aa;_0x4c1841[(_0x1548a2+0x40>>>0x9<<0x4)+0xf]=(_0x431d99<<0x8|_0x431d99>>>0x18)&0xff00ff|(_0x431d99<<0x18|_0x431d99>>>0x8)&0xff00ff00,_0x4c1841[(_0x1548a2+0x40>>>0x9<<0x4)+0xe]=(_0x4a5eab<<0x8|_0x4a5eab>>>0x18)&0xff00ff|(_0x4a5eab<<0x18|_0x4a5eab>>>0x8)&0xff00ff00,_0x34f1a3['sigBytes']=(_0x4c1841[_0x8d69dc(0xb9)]+0x1)*0x4,this[_0x8d69dc(0x237)]();for(var _0xe870fc=this[_0x8d69dc(0x25f)],_0x5c5859=_0xe870fc[_0x8d69dc(0x177)],_0x3be16c=0x0;_0x3be16c<0x4;_0x3be16c++){var _0x160bbb=_0x5c5859[_0x3be16c];_0x5c5859[_0x3be16c]=(_0x160bbb<<0x8|_0x160bbb>>>0x18)&0xff00ff|(_0x160bbb<<0x18|_0x160bbb>>>0x8)&0xff00ff00;}return _0xe870fc;},'clone':function(){var _0x4c9bc0=_0x2ad6cf,_0x349e93=_0x52335b['clone'][_0x4c9bc0(0x2df)](this);return _0x349e93[_0x4c9bc0(0x25f)]=this[_0x4c9bc0(0x25f)][_0x4c9bc0(0xee)](),_0x349e93;}});function _0x5a49fc(_0x47dbdd,_0x306111,_0xb9a9ee,_0x4d5986,_0x3f422c,_0x5bc2e0,_0xf281e2){var _0x177386=_0x47dbdd+(_0x306111&_0xb9a9ee|~_0x306111&_0x4d5986)+_0x3f422c+_0xf281e2;return(_0x177386<<_0x5bc2e0|_0x177386>>>0x20-_0x5bc2e0)+_0x306111;}function _0x10ba2c(_0x204a4f,_0xecbaf4,_0x3d0a20,_0x15b792,_0x445d5a,_0x2e90b6,_0x44317a){var _0x97a155=_0x204a4f+(_0xecbaf4&_0x15b792|_0x3d0a20&~_0x15b792)+_0x445d5a+_0x44317a;return(_0x97a155<<_0x2e90b6|_0x97a155>>>0x20-_0x2e90b6)+_0xecbaf4;}function _0x39c4c5(_0x479a17,_0x476e0b,_0x2b9a85,_0x2f6496,_0x55a9db,_0x209413,_0x5c88bd){var _0x3a7033=_0x479a17+(_0x476e0b^_0x2b9a85^_0x2f6496)+_0x55a9db+_0x5c88bd;return(_0x3a7033<<_0x209413|_0x3a7033>>>0x20-_0x209413)+_0x476e0b;}function _0x674974(_0x439897,_0x24a273,_0x4f10ed,_0x4f3a52,_0x327c03,_0x3c80bd,_0x5cc0a7){var _0x57282a=_0x439897+(_0x4f10ed^(_0x24a273|~_0x4f3a52))+_0x327c03+_0x5cc0a7;return(_0x57282a<<_0x3c80bd|_0x57282a>>>0x20-_0x3c80bd)+_0x24a273;}_0x3e3ad8[_0x2ad6cf(0x284)]=_0x52335b['_createHelper'](_0x3272de),_0x3e3ad8[_0x2ad6cf(0x379)]=_0x52335b[_0x2ad6cf(0x94)](_0x3272de);}(Math),_0x8c157a['MD5'];}));}(_0x3bb024)),_0x3bb024[_0x3fa5bf(0x308)];}var _0x3b1292={'exports':{}},_0x2a2114={'exports':{}},_0x26cf30=_0x2a2114['exports'],_0x3434c4;function _0x4ddcf2(){var _0x2e6d7f=_0x4e2a03;return _0x3434c4||(_0x3434c4=0x1,function(_0x2225d0,_0x58d415){(function(_0x101a79,_0x1876ca){var _0x416bcf=_0x1553;_0x2225d0[_0x416bcf(0x308)]=_0x1876ca(_0x2163f0());}(_0x26cf30,function(_0x5e4b95){return(function(){var _0x3e285e=_0x1553,_0x10c31a=_0x5e4b95,_0x4bdee3=_0x10c31a[_0x3e285e(0x2f0)],_0x454ee8=_0x4bdee3[_0x3e285e(0x2ae)],_0x3edf67=_0x4bdee3[_0x3e285e(0x294)],_0x1b1e88=_0x10c31a[_0x3e285e(0xe6)],_0x3e62b2=[],_0x4c1edd=_0x1b1e88[_0x3e285e(0x1c8)]=_0x3edf67[_0x3e285e(0x404)]({'_doReset':function(){var _0x414a98=_0x3e285e;this[_0x414a98(0x25f)]=new _0x454ee8['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3514ea,_0x93b885){for(var _0x3e3c16=this['_hash']['words'],_0x3ca994=_0x3e3c16[0x0],_0x26e924=_0x3e3c16[0x1],_0x4e49ec=_0x3e3c16[0x2],_0x58fd1d=_0x3e3c16[0x3],_0x97707a=_0x3e3c16[0x4],_0x37d625=0x0;_0x37d625<0x50;_0x37d625++){if(_0x37d625<0x10)_0x3e62b2[_0x37d625]=_0x3514ea[_0x93b885+_0x37d625]|0x0;else{var _0x21fcc9=_0x3e62b2[_0x37d625-0x3]^_0x3e62b2[_0x37d625-0x8]^_0x3e62b2[_0x37d625-0xe]^_0x3e62b2[_0x37d625-0x10];_0x3e62b2[_0x37d625]=_0x21fcc9<<0x1|_0x21fcc9>>>0x1f;}var _0x217743=(_0x3ca994<<0x5|_0x3ca994>>>0x1b)+_0x97707a+_0x3e62b2[_0x37d625];_0x37d625<0x14?_0x217743+=(_0x26e924&_0x4e49ec|~_0x26e924&_0x58fd1d)+0x5a827999:_0x37d625<0x28?_0x217743+=(_0x26e924^_0x4e49ec^_0x58fd1d)+0x6ed9eba1:_0x37d625<0x3c?_0x217743+=(_0x26e924&_0x4e49ec|_0x26e924&_0x58fd1d|_0x4e49ec&_0x58fd1d)-0x70e44324:_0x217743+=(_0x26e924^_0x4e49ec^_0x58fd1d)-0x359d3e2a,_0x97707a=_0x58fd1d,_0x58fd1d=_0x4e49ec,_0x4e49ec=_0x26e924<<0x1e|_0x26e924>>>0x2,_0x26e924=_0x3ca994,_0x3ca994=_0x217743;}_0x3e3c16[0x0]=_0x3e3c16[0x0]+_0x3ca994|0x0,_0x3e3c16[0x1]=_0x3e3c16[0x1]+_0x26e924|0x0,_0x3e3c16[0x2]=_0x3e3c16[0x2]+_0x4e49ec|0x0,_0x3e3c16[0x3]=_0x3e3c16[0x3]+_0x58fd1d|0x0,_0x3e3c16[0x4]=_0x3e3c16[0x4]+_0x97707a|0x0;},'_doFinalize':function(){var _0x5aac9c=_0x3e285e,_0xe4a3cb=this['_data'],_0x458aec=_0xe4a3cb[_0x5aac9c(0x177)],_0x352c0c=this[_0x5aac9c(0x217)]*0x8,_0x3a617c=_0xe4a3cb[_0x5aac9c(0x309)]*0x8;return _0x458aec[_0x3a617c>>>0x5]|=0x80<<0x18-_0x3a617c%0x20,_0x458aec[(_0x3a617c+0x40>>>0x9<<0x4)+0xe]=Math[_0x5aac9c(0x28b)](_0x352c0c/0x100000000),_0x458aec[(_0x3a617c+0x40>>>0x9<<0x4)+0xf]=_0x352c0c,_0xe4a3cb[_0x5aac9c(0x309)]=_0x458aec[_0x5aac9c(0xb9)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x275883=_0x3e285e,_0x3628ff=_0x3edf67[_0x275883(0xee)]['call'](this);return _0x3628ff[_0x275883(0x25f)]=this['_hash'][_0x275883(0xee)](),_0x3628ff;}});_0x10c31a[_0x3e285e(0x1c8)]=_0x3edf67[_0x3e285e(0x2f2)](_0x4c1edd),_0x10c31a[_0x3e285e(0x10c)]=_0x3edf67['_createHmacHelper'](_0x4c1edd);}()),_0x5e4b95['SHA1'];}));}(_0x2a2114)),_0x2a2114[_0x2e6d7f(0x308)];}var _0x146369={'exports':{}},_0x1a0b5a=_0x146369[_0x4e2a03(0x308)],_0x1d2a5b;function _0x43e34b(){return _0x1d2a5b||(_0x1d2a5b=0x1,function(_0x46b37a,_0x2d9936){(function(_0x2eb0b1,_0x419093){_0x46b37a['exports']=_0x419093(_0x2163f0());}(_0x1a0b5a,function(_0x38b3cb){(function(){var _0x38d54d=_0x1553,_0x37965d=_0x38b3cb,_0x176037=_0x37965d[_0x38d54d(0x2f0)],_0x18e193=_0x176037['Base'],_0x5d34a5=_0x37965d['enc'],_0x23f841=_0x5d34a5[_0x38d54d(0x107)],_0x34e682=_0x37965d[_0x38d54d(0xe6)];_0x34e682[_0x38d54d(0x114)]=_0x18e193['extend']({'init':function(_0x2b8286,_0x3f0a01){var _0x41ff57=_0x38d54d;_0x2b8286=this['_hasher']=new _0x2b8286[(_0x41ff57(0x367))](),typeof _0x3f0a01==_0x41ff57(0x332)&&(_0x3f0a01=_0x23f841[_0x41ff57(0xd5)](_0x3f0a01));var _0x47b7dd=_0x2b8286[_0x41ff57(0xaa)],_0x25e784=_0x47b7dd*0x4;_0x3f0a01[_0x41ff57(0x309)]>_0x25e784&&(_0x3f0a01=_0x2b8286['finalize'](_0x3f0a01)),_0x3f0a01['clamp']();for(var _0x10ecbf=this['_oKey']=_0x3f0a01[_0x41ff57(0xee)](),_0x35fe17=this[_0x41ff57(0x288)]=_0x3f0a01['clone'](),_0x769065=_0x10ecbf['words'],_0x1b5695=_0x35fe17[_0x41ff57(0x177)],_0x268be6=0x0;_0x268be6<_0x47b7dd;_0x268be6++)_0x769065[_0x268be6]^=0x5c5c5c5c,_0x1b5695[_0x268be6]^=0x36363636;_0x10ecbf[_0x41ff57(0x309)]=_0x35fe17[_0x41ff57(0x309)]=_0x25e784,this[_0x41ff57(0x10f)]();},'reset':function(){var _0x39942b=_0x38d54d,_0x3d762f=this['_hasher'];_0x3d762f['reset'](),_0x3d762f[_0x39942b(0x2a9)](this[_0x39942b(0x288)]);},'update':function(_0x3256d6){var _0x903be7=_0x38d54d;return this[_0x903be7(0x2cb)]['update'](_0x3256d6),this;},'finalize':function(_0x37e4a0){var _0x43d0a4=_0x38d54d,_0x4bf250=this['_hasher'],_0x43dd02=_0x4bf250[_0x43d0a4(0x3d2)](_0x37e4a0);_0x4bf250[_0x43d0a4(0x10f)]();var _0x4ac4b7=_0x4bf250[_0x43d0a4(0x3d2)](this[_0x43d0a4(0x1f5)][_0x43d0a4(0xee)]()[_0x43d0a4(0xf4)](_0x43dd02));return _0x4ac4b7;}});}());}));}(_0x146369)),_0x146369['exports'];}var _0x3f54fa=_0x3b1292[_0x4e2a03(0x308)],_0x4299d3;function _0x377f34(){var _0x19a924=_0x4e2a03;return _0x4299d3||(_0x4299d3=0x1,function(_0x4c4467,_0x2d5157){(function(_0x419958,_0x2a6629,_0x54da59){_0x4c4467['exports']=_0x2a6629(_0x2163f0(),_0x4ddcf2(),_0x43e34b());}(_0x3f54fa,function(_0xfb8610){return(function(){var _0xe4558a=_0x1553,_0xe90a0a=_0xfb8610,_0x2018b0=_0xe90a0a['lib'],_0x4c9c49=_0x2018b0['Base'],_0x443c60=_0x2018b0[_0xe4558a(0x2ae)],_0x134d84=_0xe90a0a[_0xe4558a(0xe6)],_0x5a57a3=_0x134d84['MD5'],_0x257bf1=_0x134d84[_0xe4558a(0x329)]=_0x4c9c49[_0xe4558a(0x404)]({'cfg':_0x4c9c49[_0xe4558a(0x404)]({'keySize':0x80/0x20,'hasher':_0x5a57a3,'iterations':0x1}),'init':function(_0x3ea6fd){var _0x59db72=_0xe4558a;this[_0x59db72(0xeb)]=this['cfg']['extend'](_0x3ea6fd);},'compute':function(_0x2c2ac9,_0x39366c){var _0x1da2c3=_0xe4558a;for(var _0xe2751b,_0x31dd61=this[_0x1da2c3(0xeb)],_0x498b4f=_0x31dd61[_0x1da2c3(0x12a)]['create'](),_0x1785be=_0x443c60[_0x1da2c3(0xd9)](),_0x139d69=_0x1785be[_0x1da2c3(0x177)],_0x580ac1=_0x31dd61[_0x1da2c3(0x270)],_0x1a5ee4=_0x31dd61[_0x1da2c3(0xcb)];_0x139d69['length']<_0x580ac1;){_0xe2751b&&_0x498b4f['update'](_0xe2751b),_0xe2751b=_0x498b4f[_0x1da2c3(0x2a9)](_0x2c2ac9)[_0x1da2c3(0x3d2)](_0x39366c),_0x498b4f['reset']();for(var _0x18f16d=0x1;_0x18f16d<_0x1a5ee4;_0x18f16d++)_0xe2751b=_0x498b4f[_0x1da2c3(0x3d2)](_0xe2751b),_0x498b4f[_0x1da2c3(0x10f)]();_0x1785be[_0x1da2c3(0xf4)](_0xe2751b);}return _0x1785be[_0x1da2c3(0x309)]=_0x580ac1*0x4,_0x1785be;}});_0xe90a0a[_0xe4558a(0x329)]=function(_0x3e730c,_0x18b694,_0xa6cc5c){var _0x903b99=_0xe4558a;return _0x257bf1[_0x903b99(0xd9)](_0xa6cc5c)[_0x903b99(0x3b2)](_0x3e730c,_0x18b694);};}()),_0xfb8610['EvpKDF'];}));}(_0x3b1292)),_0x3b1292[_0x19a924(0x308)];}var _0x44289a={'exports':{}},_0x723a24=_0x44289a['exports'],_0x328b4b;function _0x5cc561(){var _0x900564=_0x4e2a03;return _0x328b4b||(_0x328b4b=0x1,function(_0x488ee5,_0x577584){(function(_0x3522e7,_0x52a56b,_0x50cd78){var _0x136b4e=_0x1553;_0x488ee5[_0x136b4e(0x308)]=_0x52a56b(_0x2163f0(),_0x377f34());}(_0x723a24,function(_0x90e72c){var _0x3cdff2=_0x1553;_0x90e72c[_0x3cdff2(0x2f0)][_0x3cdff2(0x34e)]||function(_0x50f95d){var _0x3945a4=_0x3cdff2,_0x5bf94f=_0x90e72c,_0x5be567=_0x5bf94f[_0x3945a4(0x2f0)],_0x4e7a72=_0x5be567[_0x3945a4(0x263)],_0x2b5634=_0x5be567[_0x3945a4(0x2ae)],_0x2616a=_0x5be567[_0x3945a4(0x34c)],_0x2d7c87=_0x5bf94f[_0x3945a4(0x3ec)];_0x2d7c87[_0x3945a4(0x107)];var _0x361ba9=_0x2d7c87[_0x3945a4(0x39f)],_0x49e708=_0x5bf94f[_0x3945a4(0xe6)],_0x39b1f5=_0x49e708[_0x3945a4(0x329)],_0x5401cc=_0x5be567[_0x3945a4(0x34e)]=_0x2616a[_0x3945a4(0x404)]({'cfg':_0x4e7a72['extend'](),'createEncryptor':function(_0x3920e1,_0x4176b8){var _0x2723f3=_0x3945a4;return this[_0x2723f3(0xd9)](this[_0x2723f3(0x396)],_0x3920e1,_0x4176b8);},'createDecryptor':function(_0x139cba,_0x3facf6){var _0xf69e86=_0x3945a4;return this[_0xf69e86(0xd9)](this[_0xf69e86(0x200)],_0x139cba,_0x3facf6);},'init':function(_0x3635c4,_0x247dbf,_0x2db351){var _0x10bd7a=_0x3945a4;this['cfg']=this[_0x10bd7a(0xeb)]['extend'](_0x2db351),this['_xformMode']=_0x3635c4,this[_0x10bd7a(0x230)]=_0x247dbf,this['reset']();},'reset':function(){var _0x439815=_0x3945a4;_0x2616a[_0x439815(0x10f)][_0x439815(0x2df)](this),this['_doReset']();},'process':function(_0x13b019){var _0x41c0fe=_0x3945a4;return this['_append'](_0x13b019),this[_0x41c0fe(0x237)]();},'finalize':function(_0x5cd68c){var _0x3668bc=_0x3945a4;_0x5cd68c&&this[_0x3668bc(0x1ac)](_0x5cd68c);var _0x301844=this[_0x3668bc(0xa6)]();return _0x301844;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4ca9fc(_0x45ccdd){return typeof _0x45ccdd=='string'?_0x200c13:_0x2a3872;}return function(_0x2cd276){return{'encrypt':function(_0x497ba5,_0x4919dd,_0x4d3e16){var _0x361d45=_0x1553;return _0x4ca9fc(_0x4919dd)[_0x361d45(0x354)](_0x2cd276,_0x497ba5,_0x4919dd,_0x4d3e16);},'decrypt':function(_0x2674ca,_0x5e2108,_0x5812ca){var _0x3872cd=_0x1553;return _0x4ca9fc(_0x5e2108)[_0x3872cd(0x24c)](_0x2cd276,_0x2674ca,_0x5e2108,_0x5812ca);}};};}())});_0x5be567['StreamCipher']=_0x5401cc['extend']({'_doFinalize':function(){var _0x1439f2=this['_process'](!0x0);return _0x1439f2;},'blockSize':0x1});var _0x32a7c3=_0x5bf94f[_0x3945a4(0x1b2)]={},_0xa43636=_0x5be567[_0x3945a4(0x18a)]=_0x4e7a72[_0x3945a4(0x404)]({'createEncryptor':function(_0x5b49eb,_0x5c0d2e){var _0x4e579e=_0x3945a4;return this[_0x4e579e(0x3a5)][_0x4e579e(0xd9)](_0x5b49eb,_0x5c0d2e);},'createDecryptor':function(_0x153ca8,_0x195607){return this['Decryptor']['create'](_0x153ca8,_0x195607);},'init':function(_0x58ea81,_0x3fd486){var _0xb6bf07=_0x3945a4;this[_0xb6bf07(0x3b8)]=_0x58ea81,this['_iv']=_0x3fd486;}}),_0x55bbdb=_0x32a7c3['CBC']=(function(){var _0x2ff46e=_0x3945a4,_0x2abf8f=_0xa43636[_0x2ff46e(0x404)]();_0x2abf8f[_0x2ff46e(0x3a5)]=_0x2abf8f[_0x2ff46e(0x404)]({'processBlock':function(_0x366196,_0x21a1a2){var _0x355125=_0x2ff46e,_0x2f428f=this[_0x355125(0x3b8)],_0x3dbc3f=_0x2f428f[_0x355125(0xaa)];_0x4118e7['call'](this,_0x366196,_0x21a1a2,_0x3dbc3f),_0x2f428f[_0x355125(0xc7)](_0x366196,_0x21a1a2),this[_0x355125(0x16e)]=_0x366196[_0x355125(0x299)](_0x21a1a2,_0x21a1a2+_0x3dbc3f);}}),_0x2abf8f[_0x2ff46e(0xd3)]=_0x2abf8f['extend']({'processBlock':function(_0x57ffa7,_0x34e0d9){var _0x344c2e=_0x2ff46e,_0x67afe6=this[_0x344c2e(0x3b8)],_0x3a0a02=_0x67afe6[_0x344c2e(0xaa)],_0xea93c0=_0x57ffa7['slice'](_0x34e0d9,_0x34e0d9+_0x3a0a02);_0x67afe6[_0x344c2e(0x36d)](_0x57ffa7,_0x34e0d9),_0x4118e7['call'](this,_0x57ffa7,_0x34e0d9,_0x3a0a02),this[_0x344c2e(0x16e)]=_0xea93c0;}});function _0x4118e7(_0x1dd7a0,_0x508d19,_0x378f24){var _0x4c1ab8=_0x2ff46e,_0x1aafaf,_0x283a0d=this['_iv'];_0x283a0d?(_0x1aafaf=_0x283a0d,this[_0x4c1ab8(0x2db)]=_0x50f95d):_0x1aafaf=this[_0x4c1ab8(0x16e)];for(var _0x4e1a9e=0x0;_0x4e1a9e<_0x378f24;_0x4e1a9e++)_0x1dd7a0[_0x508d19+_0x4e1a9e]^=_0x1aafaf[_0x4e1a9e];}return _0x2abf8f;}()),_0x1e0508=_0x5bf94f[_0x3945a4(0xdd)]={},_0x251d82=_0x1e0508['Pkcs7']={'pad':function(_0x344b2e,_0x5f2e27){var _0x25fd88=_0x3945a4;for(var _0x1aea85=_0x5f2e27*0x4,_0x646abc=_0x1aea85-_0x344b2e[_0x25fd88(0x309)]%_0x1aea85,_0x59efc7=_0x646abc<<0x18|_0x646abc<<0x10|_0x646abc<<0x8|_0x646abc,_0x478462=[],_0x2e0bfe=0x0;_0x2e0bfe<_0x646abc;_0x2e0bfe+=0x4)_0x478462[_0x25fd88(0x32c)](_0x59efc7);var _0xa0901b=_0x2b5634['create'](_0x478462,_0x646abc);_0x344b2e[_0x25fd88(0xf4)](_0xa0901b);},'unpad':function(_0x5a30d2){var _0xc12ea2=_0x3945a4,_0x112ad6=_0x5a30d2['words'][_0x5a30d2[_0xc12ea2(0x309)]-0x1>>>0x2]&0xff;_0x5a30d2[_0xc12ea2(0x309)]-=_0x112ad6;}};_0x5be567['BlockCipher']=_0x5401cc['extend']({'cfg':_0x5401cc[_0x3945a4(0xeb)][_0x3945a4(0x404)]({'mode':_0x55bbdb,'padding':_0x251d82}),'reset':function(){var _0x44ac62=_0x3945a4,_0x3b67b8;_0x5401cc['reset']['call'](this);var _0x39a0d3=this[_0x44ac62(0xeb)],_0x297e69=_0x39a0d3['iv'],_0x541703=_0x39a0d3[_0x44ac62(0x1b2)];this[_0x44ac62(0x3ed)]==this[_0x44ac62(0x396)]?_0x3b67b8=_0x541703[_0x44ac62(0x214)]:(_0x3b67b8=_0x541703[_0x44ac62(0x1bb)],this[_0x44ac62(0x3c8)]=0x1),this[_0x44ac62(0x9b)]&&this[_0x44ac62(0x9b)][_0x44ac62(0x2ad)]==_0x3b67b8?this[_0x44ac62(0x9b)]['init'](this,_0x297e69&&_0x297e69[_0x44ac62(0x177)]):(this['_mode']=_0x3b67b8[_0x44ac62(0x2df)](_0x541703,this,_0x297e69&&_0x297e69[_0x44ac62(0x177)]),this[_0x44ac62(0x9b)][_0x44ac62(0x2ad)]=_0x3b67b8);},'_doProcessBlock':function(_0x5b86d0,_0x2255e0){var _0x501c13=_0x3945a4;this[_0x501c13(0x9b)][_0x501c13(0x3ab)](_0x5b86d0,_0x2255e0);},'_doFinalize':function(){var _0x52c079=_0x3945a4,_0x571e97,_0x72f63a=this[_0x52c079(0xeb)][_0x52c079(0x215)];return this[_0x52c079(0x3ed)]==this['_ENC_XFORM_MODE']?(_0x72f63a[_0x52c079(0xdd)](this[_0x52c079(0x3db)],this[_0x52c079(0xaa)]),_0x571e97=this['_process'](!0x0)):(_0x571e97=this[_0x52c079(0x237)](!0x0),_0x72f63a[_0x52c079(0x296)](_0x571e97)),_0x571e97;},'blockSize':0x80/0x20});var _0x37742b=_0x5be567[_0x3945a4(0x3aa)]=_0x4e7a72[_0x3945a4(0x404)]({'init':function(_0x3e8123){var _0x5aed4b=_0x3945a4;this[_0x5aed4b(0x352)](_0x3e8123);},'toString':function(_0x33e4d6){var _0x54845f=_0x3945a4;return(_0x33e4d6||this['formatter'])[_0x54845f(0xa1)](this);}}),_0xd06c02=_0x5bf94f[_0x3945a4(0x166)]={},_0x4075e7=_0xd06c02[_0x3945a4(0x249)]={'stringify':function(_0x2ccd91){var _0x1d4497=_0x3945a4,_0xf7121d,_0x61e5ea=_0x2ccd91['ciphertext'],_0x23eb1c=_0x2ccd91[_0x1d4497(0xed)];return _0x23eb1c?_0xf7121d=_0x2b5634[_0x1d4497(0xd9)]([0x53616c74,0x65645f5f])[_0x1d4497(0xf4)](_0x23eb1c)['concat'](_0x61e5ea):_0xf7121d=_0x61e5ea,_0xf7121d['toString'](_0x361ba9);},'parse':function(_0x2cc45f){var _0x55af4f=_0x3945a4,_0x5cbc5a,_0x2a9891=_0x361ba9[_0x55af4f(0xd5)](_0x2cc45f),_0x19b11f=_0x2a9891[_0x55af4f(0x177)];return _0x19b11f[0x0]==0x53616c74&&_0x19b11f[0x1]==0x65645f5f&&(_0x5cbc5a=_0x2b5634[_0x55af4f(0xd9)](_0x19b11f['slice'](0x2,0x4)),_0x19b11f['splice'](0x0,0x4),_0x2a9891['sigBytes']-=0x10),_0x37742b[_0x55af4f(0xd9)]({'ciphertext':_0x2a9891,'salt':_0x5cbc5a});}},_0x2a3872=_0x5be567[_0x3945a4(0xdf)]=_0x4e7a72[_0x3945a4(0x404)]({'cfg':_0x4e7a72[_0x3945a4(0x404)]({'format':_0x4075e7}),'encrypt':function(_0x1ad3ea,_0x31198f,_0x207fcf,_0x7b13bd){var _0x276bec=_0x3945a4;_0x7b13bd=this[_0x276bec(0xeb)]['extend'](_0x7b13bd);var _0x5a4926=_0x1ad3ea[_0x276bec(0x214)](_0x207fcf,_0x7b13bd),_0x1623a2=_0x5a4926[_0x276bec(0x3d2)](_0x31198f),_0x3886d3=_0x5a4926[_0x276bec(0xeb)];return _0x37742b[_0x276bec(0xd9)]({'ciphertext':_0x1623a2,'key':_0x207fcf,'iv':_0x3886d3['iv'],'algorithm':_0x1ad3ea,'mode':_0x3886d3['mode'],'padding':_0x3886d3['padding'],'blockSize':_0x1ad3ea[_0x276bec(0xaa)],'formatter':_0x7b13bd[_0x276bec(0x166)]});},'decrypt':function(_0x579ed1,_0x22134b,_0x5b7cb9,_0x4d6677){var _0x2be182=_0x3945a4;_0x4d6677=this['cfg'][_0x2be182(0x404)](_0x4d6677),_0x22134b=this[_0x2be182(0x1c7)](_0x22134b,_0x4d6677[_0x2be182(0x166)]);var _0x25e83f=_0x579ed1[_0x2be182(0x1bb)](_0x5b7cb9,_0x4d6677)['finalize'](_0x22134b[_0x2be182(0x269)]);return _0x25e83f;},'_parse':function(_0xf74d60,_0x5ea04d){var _0x536bde=_0x3945a4;return typeof _0xf74d60==_0x536bde(0x332)?_0x5ea04d[_0x536bde(0xd5)](_0xf74d60,this):_0xf74d60;}}),_0x1d513c=_0x5bf94f[_0x3945a4(0x37c)]={},_0x63658f=_0x1d513c[_0x3945a4(0x249)]={'execute':function(_0x593d91,_0x43c5d3,_0x49a8d8,_0x177edf,_0x1ee18d){var _0x3e3793=_0x3945a4;if(_0x177edf||(_0x177edf=_0x2b5634[_0x3e3793(0x2a4)](0x40/0x8)),_0x1ee18d)var _0x574a12=_0x39b1f5[_0x3e3793(0xd9)]({'keySize':_0x43c5d3+_0x49a8d8,'hasher':_0x1ee18d})[_0x3e3793(0x3b2)](_0x593d91,_0x177edf);else var _0x574a12=_0x39b1f5[_0x3e3793(0xd9)]({'keySize':_0x43c5d3+_0x49a8d8})[_0x3e3793(0x3b2)](_0x593d91,_0x177edf);var _0xce0a6f=_0x2b5634['create'](_0x574a12[_0x3e3793(0x177)]['slice'](_0x43c5d3),_0x49a8d8*0x4);return _0x574a12[_0x3e3793(0x309)]=_0x43c5d3*0x4,_0x37742b[_0x3e3793(0xd9)]({'key':_0x574a12,'iv':_0xce0a6f,'salt':_0x177edf});}},_0x200c13=_0x5be567[_0x3945a4(0x14c)]=_0x2a3872['extend']({'cfg':_0x2a3872['cfg'][_0x3945a4(0x404)]({'kdf':_0x63658f}),'encrypt':function(_0x42784f,_0xe0961f,_0x58c49c,_0x52829e){var _0x56c81b=_0x3945a4;_0x52829e=this['cfg'][_0x56c81b(0x404)](_0x52829e);var _0x1d048a=_0x52829e['kdf']['execute'](_0x58c49c,_0x42784f[_0x56c81b(0x270)],_0x42784f[_0x56c81b(0x35a)],_0x52829e[_0x56c81b(0xed)],_0x52829e[_0x56c81b(0x12a)]);_0x52829e['iv']=_0x1d048a['iv'];var _0x4655a0=_0x2a3872['encrypt']['call'](this,_0x42784f,_0xe0961f,_0x1d048a['key'],_0x52829e);return _0x4655a0[_0x56c81b(0x352)](_0x1d048a),_0x4655a0;},'decrypt':function(_0x12b680,_0x59dba5,_0x211ff6,_0x375d8e){var _0x83cd68=_0x3945a4;_0x375d8e=this[_0x83cd68(0xeb)][_0x83cd68(0x404)](_0x375d8e),_0x59dba5=this[_0x83cd68(0x1c7)](_0x59dba5,_0x375d8e[_0x83cd68(0x166)]);var _0x58fae5=_0x375d8e[_0x83cd68(0x37c)][_0x83cd68(0x268)](_0x211ff6,_0x12b680[_0x83cd68(0x270)],_0x12b680[_0x83cd68(0x35a)],_0x59dba5[_0x83cd68(0xed)],_0x375d8e[_0x83cd68(0x12a)]);_0x375d8e['iv']=_0x58fae5['iv'];var _0x26e634=_0x2a3872[_0x83cd68(0x24c)][_0x83cd68(0x2df)](this,_0x12b680,_0x59dba5,_0x58fae5[_0x83cd68(0x25c)],_0x375d8e);return _0x26e634;}});}();}));}(_0x44289a)),_0x44289a[_0x900564(0x308)];}var _0x56a29a=_0x5054ae[_0x4e2a03(0x308)],_0xcc2883;function _0x2ab7bc(){var _0x379a05=_0x4e2a03;return _0xcc2883||(_0xcc2883=0x1,function(_0x79bad2,_0x371b7d){(function(_0x5f08dd,_0x23a026,_0x12b5d0){var _0x1852bd=_0x1553;_0x79bad2[_0x1852bd(0x308)]=_0x23a026(_0x2163f0(),_0x2fcae7(),_0xa16f46(),_0x377f34(),_0x5cc561());}(_0x56a29a,function(_0x240d0f){var _0x334c2e=_0x1553;return(function(){var _0x4ed801=_0x1553,_0x41385a=_0x240d0f,_0x39fda1=_0x41385a[_0x4ed801(0x2f0)],_0x488f77=_0x39fda1[_0x4ed801(0x142)],_0x3db727=_0x41385a[_0x4ed801(0xe6)],_0x140046=[],_0x4a9d4c=[],_0x1ba28a=[],_0x1cce4b=[],_0x582ffc=[],_0x139b28=[],_0x5426ae=[],_0x1daee5=[],_0xd04ee6=[],_0x388d94=[];(function(){for(var _0x33b14f=[],_0x2db792=0x0;_0x2db792<0x100;_0x2db792++)_0x2db792<0x80?_0x33b14f[_0x2db792]=_0x2db792<<0x1:_0x33b14f[_0x2db792]=_0x2db792<<0x1^0x11b;for(var _0x3c99a7=0x0,_0x8027b1=0x0,_0x2db792=0x0;_0x2db792<0x100;_0x2db792++){var _0x479130=_0x8027b1^_0x8027b1<<0x1^_0x8027b1<<0x2^_0x8027b1<<0x3^_0x8027b1<<0x4;_0x479130=_0x479130>>>0x8^_0x479130&0xff^0x63,_0x140046[_0x3c99a7]=_0x479130,_0x4a9d4c[_0x479130]=_0x3c99a7;var _0x306ebd=_0x33b14f[_0x3c99a7],_0x216eea=_0x33b14f[_0x306ebd],_0x57d57c=_0x33b14f[_0x216eea],_0x31515d=_0x33b14f[_0x479130]*0x101^_0x479130*0x1010100;_0x1ba28a[_0x3c99a7]=_0x31515d<<0x18|_0x31515d>>>0x8,_0x1cce4b[_0x3c99a7]=_0x31515d<<0x10|_0x31515d>>>0x10,_0x582ffc[_0x3c99a7]=_0x31515d<<0x8|_0x31515d>>>0x18,_0x139b28[_0x3c99a7]=_0x31515d;var _0x31515d=_0x57d57c*0x1010101^_0x216eea*0x10001^_0x306ebd*0x101^_0x3c99a7*0x1010100;_0x5426ae[_0x479130]=_0x31515d<<0x18|_0x31515d>>>0x8,_0x1daee5[_0x479130]=_0x31515d<<0x10|_0x31515d>>>0x10,_0xd04ee6[_0x479130]=_0x31515d<<0x8|_0x31515d>>>0x18,_0x388d94[_0x479130]=_0x31515d,_0x3c99a7?(_0x3c99a7=_0x306ebd^_0x33b14f[_0x33b14f[_0x33b14f[_0x57d57c^_0x306ebd]]],_0x8027b1^=_0x33b14f[_0x33b14f[_0x8027b1]]):_0x3c99a7=_0x8027b1=0x1;}}());var _0x4564e6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x48ce77=_0x3db727['AES']=_0x488f77[_0x4ed801(0x404)]({'_doReset':function(){var _0x22f29f=_0x4ed801,_0x518d5e;if(!(this[_0x22f29f(0x32a)]&&this[_0x22f29f(0x303)]===this[_0x22f29f(0x230)])){for(var _0x5d111e=this['_keyPriorReset']=this['_key'],_0x550c7f=_0x5d111e[_0x22f29f(0x177)],_0x1f8f41=_0x5d111e[_0x22f29f(0x309)]/0x4,_0x33de9c=this['_nRounds']=_0x1f8f41+0x6,_0x3191e0=(_0x33de9c+0x1)*0x4,_0x519284=this['_keySchedule']=[],_0xd37092=0x0;_0xd37092<_0x3191e0;_0xd37092++)_0xd37092<_0x1f8f41?_0x519284[_0xd37092]=_0x550c7f[_0xd37092]:(_0x518d5e=_0x519284[_0xd37092-0x1],_0xd37092%_0x1f8f41?_0x1f8f41>0x6&&_0xd37092%_0x1f8f41==0x4&&(_0x518d5e=_0x140046[_0x518d5e>>>0x18]<<0x18|_0x140046[_0x518d5e>>>0x10&0xff]<<0x10|_0x140046[_0x518d5e>>>0x8&0xff]<<0x8|_0x140046[_0x518d5e&0xff]):(_0x518d5e=_0x518d5e<<0x8|_0x518d5e>>>0x18,_0x518d5e=_0x140046[_0x518d5e>>>0x18]<<0x18|_0x140046[_0x518d5e>>>0x10&0xff]<<0x10|_0x140046[_0x518d5e>>>0x8&0xff]<<0x8|_0x140046[_0x518d5e&0xff],_0x518d5e^=_0x4564e6[_0xd37092/_0x1f8f41|0x0]<<0x18),_0x519284[_0xd37092]=_0x519284[_0xd37092-_0x1f8f41]^_0x518d5e);for(var _0x1daa43=this[_0x22f29f(0x301)]=[],_0x38e5f2=0x0;_0x38e5f2<_0x3191e0;_0x38e5f2++){var _0xd37092=_0x3191e0-_0x38e5f2;if(_0x38e5f2%0x4)var _0x518d5e=_0x519284[_0xd37092];else var _0x518d5e=_0x519284[_0xd37092-0x4];_0x38e5f2<0x4||_0xd37092<=0x4?_0x1daa43[_0x38e5f2]=_0x518d5e:_0x1daa43[_0x38e5f2]=_0x5426ae[_0x140046[_0x518d5e>>>0x18]]^_0x1daee5[_0x140046[_0x518d5e>>>0x10&0xff]]^_0xd04ee6[_0x140046[_0x518d5e>>>0x8&0xff]]^_0x388d94[_0x140046[_0x518d5e&0xff]];}}},'encryptBlock':function(_0x420547,_0x762391){var _0x5e0963=_0x4ed801;this[_0x5e0963(0x106)](_0x420547,_0x762391,this['_keySchedule'],_0x1ba28a,_0x1cce4b,_0x582ffc,_0x139b28,_0x140046);},'decryptBlock':function(_0x19ed8b,_0x412f9c){var _0x4bbd07=_0x4ed801,_0x546699=_0x19ed8b[_0x412f9c+0x1];_0x19ed8b[_0x412f9c+0x1]=_0x19ed8b[_0x412f9c+0x3],_0x19ed8b[_0x412f9c+0x3]=_0x546699,this[_0x4bbd07(0x106)](_0x19ed8b,_0x412f9c,this[_0x4bbd07(0x301)],_0x5426ae,_0x1daee5,_0xd04ee6,_0x388d94,_0x4a9d4c);var _0x546699=_0x19ed8b[_0x412f9c+0x1];_0x19ed8b[_0x412f9c+0x1]=_0x19ed8b[_0x412f9c+0x3],_0x19ed8b[_0x412f9c+0x3]=_0x546699;},'_doCryptBlock':function(_0x463549,_0x200e90,_0x5342c7,_0xc8c52b,_0xcefc33,_0x230c67,_0x1a96fb,_0x39fd8e){var _0x48e931=_0x4ed801;for(var _0x1a4e1a=this[_0x48e931(0x32a)],_0x5296ff=_0x463549[_0x200e90]^_0x5342c7[0x0],_0x4054c4=_0x463549[_0x200e90+0x1]^_0x5342c7[0x1],_0x10df1d=_0x463549[_0x200e90+0x2]^_0x5342c7[0x2],_0x3d5801=_0x463549[_0x200e90+0x3]^_0x5342c7[0x3],_0x4043b6=0x4,_0x46d1cd=0x1;_0x46d1cd<_0x1a4e1a;_0x46d1cd++){var _0x594195=_0xc8c52b[_0x5296ff>>>0x18]^_0xcefc33[_0x4054c4>>>0x10&0xff]^_0x230c67[_0x10df1d>>>0x8&0xff]^_0x1a96fb[_0x3d5801&0xff]^_0x5342c7[_0x4043b6++],_0x10c752=_0xc8c52b[_0x4054c4>>>0x18]^_0xcefc33[_0x10df1d>>>0x10&0xff]^_0x230c67[_0x3d5801>>>0x8&0xff]^_0x1a96fb[_0x5296ff&0xff]^_0x5342c7[_0x4043b6++],_0x3fb4ef=_0xc8c52b[_0x10df1d>>>0x18]^_0xcefc33[_0x3d5801>>>0x10&0xff]^_0x230c67[_0x5296ff>>>0x8&0xff]^_0x1a96fb[_0x4054c4&0xff]^_0x5342c7[_0x4043b6++],_0xfd0a25=_0xc8c52b[_0x3d5801>>>0x18]^_0xcefc33[_0x5296ff>>>0x10&0xff]^_0x230c67[_0x4054c4>>>0x8&0xff]^_0x1a96fb[_0x10df1d&0xff]^_0x5342c7[_0x4043b6++];_0x5296ff=_0x594195,_0x4054c4=_0x10c752,_0x10df1d=_0x3fb4ef,_0x3d5801=_0xfd0a25;}var _0x594195=(_0x39fd8e[_0x5296ff>>>0x18]<<0x18|_0x39fd8e[_0x4054c4>>>0x10&0xff]<<0x10|_0x39fd8e[_0x10df1d>>>0x8&0xff]<<0x8|_0x39fd8e[_0x3d5801&0xff])^_0x5342c7[_0x4043b6++],_0x10c752=(_0x39fd8e[_0x4054c4>>>0x18]<<0x18|_0x39fd8e[_0x10df1d>>>0x10&0xff]<<0x10|_0x39fd8e[_0x3d5801>>>0x8&0xff]<<0x8|_0x39fd8e[_0x5296ff&0xff])^_0x5342c7[_0x4043b6++],_0x3fb4ef=(_0x39fd8e[_0x10df1d>>>0x18]<<0x18|_0x39fd8e[_0x3d5801>>>0x10&0xff]<<0x10|_0x39fd8e[_0x5296ff>>>0x8&0xff]<<0x8|_0x39fd8e[_0x4054c4&0xff])^_0x5342c7[_0x4043b6++],_0xfd0a25=(_0x39fd8e[_0x3d5801>>>0x18]<<0x18|_0x39fd8e[_0x5296ff>>>0x10&0xff]<<0x10|_0x39fd8e[_0x4054c4>>>0x8&0xff]<<0x8|_0x39fd8e[_0x10df1d&0xff])^_0x5342c7[_0x4043b6++];_0x463549[_0x200e90]=_0x594195,_0x463549[_0x200e90+0x1]=_0x10c752,_0x463549[_0x200e90+0x2]=_0x3fb4ef,_0x463549[_0x200e90+0x3]=_0xfd0a25;},'keySize':0x100/0x20});_0x41385a[_0x4ed801(0x325)]=_0x488f77[_0x4ed801(0x2f2)](_0x48ce77);}()),_0x240d0f[_0x334c2e(0x325)];}));}(_0x5054ae)),_0x5054ae[_0x379a05(0x308)];}var _0x5d87af=_0x2ab7bc();const _0x4b20b9=_0x1b2f0a(_0x5d87af);var _0x2244d2=_0x2fcae7();const _0x31e26d=_0x1b2f0a(_0x2244d2);var _0x24132f={'exports':{}},_0x418781=_0x24132f[_0x4e2a03(0x308)],_0x4f0117;function _0x17060a(){var _0x49a460=_0x4e2a03;return _0x4f0117||(_0x4f0117=0x1,function(_0x3334ad,_0x18ef21){(function(_0xaae45a,_0x56bfa4){var _0x363c36=_0x1553;_0x3334ad[_0x363c36(0x308)]=_0x56bfa4(_0x2163f0());}(_0x418781,function(_0x5f02ed){var _0x2548da=_0x1553;return _0x5f02ed[_0x2548da(0x3ec)][_0x2548da(0x107)];}));}(_0x24132f)),_0x24132f[_0x49a460(0x308)];}var _0x4458b8=_0x17060a();const _0x146c44=_0x1b2f0a(_0x4458b8);var _0x511656={'exports':{}},_0x22cc84=_0x511656[_0x4e2a03(0x308)],_0x417222;function _0x5d77b5(){var _0x5e6376=_0x4e2a03;return _0x417222||(_0x417222=0x1,function(_0x2949d6,_0x30ae18){(function(_0x58877b,_0x7e4025){var _0x47fe9e=_0x1553;_0x2949d6[_0x47fe9e(0x308)]=_0x7e4025(_0x2163f0());}(_0x22cc84,function(_0xd04bd6){var _0x31819b=_0x1553;return(function(){var _0x6525e7=_0x1553;if(typeof ArrayBuffer==_0x6525e7(0x271)){var _0x137509=_0xd04bd6,_0x3c836a=_0x137509['lib'],_0x2eaf68=_0x3c836a['WordArray'],_0x2221da=_0x2eaf68[_0x6525e7(0x367)],_0x4192c7=_0x2eaf68[_0x6525e7(0x367)]=function(_0x30ab6b){var _0x13f7d0=_0x6525e7;if(_0x30ab6b instanceof ArrayBuffer&&(_0x30ab6b=new Uint8Array(_0x30ab6b)),(_0x30ab6b instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x30ab6b instanceof Uint8ClampedArray||_0x30ab6b instanceof Int16Array||_0x30ab6b instanceof Uint16Array||_0x30ab6b instanceof Int32Array||_0x30ab6b instanceof Uint32Array||_0x30ab6b instanceof Float32Array||_0x30ab6b instanceof Float64Array)&&(_0x30ab6b=new Uint8Array(_0x30ab6b['buffer'],_0x30ab6b[_0x13f7d0(0x168)],_0x30ab6b[_0x13f7d0(0x290)])),_0x30ab6b instanceof Uint8Array){for(var _0x126f4a=_0x30ab6b[_0x13f7d0(0x290)],_0x135a57=[],_0x34e701=0x0;_0x34e701<_0x126f4a;_0x34e701++)_0x135a57[_0x34e701>>>0x2]|=_0x30ab6b[_0x34e701]<<0x18-_0x34e701%0x4*0x8;_0x2221da['call'](this,_0x135a57,_0x126f4a);}else _0x2221da[_0x13f7d0(0x202)](this,arguments);};_0x4192c7[_0x6525e7(0x3ac)]=_0x2eaf68;}}()),_0xd04bd6[_0x31819b(0x2f0)][_0x31819b(0x2ae)];}));}(_0x511656)),_0x511656[_0x5e6376(0x308)];}var _0x50b3e0=_0x5d77b5();const _0x5e537e=_0x1b2f0a(_0x50b3e0);var _0x58b61a={'exports':{}},_0x3c7fab=_0x58b61a[_0x4e2a03(0x308)],_0x3eb123;function _0x4f190b(){var _0x52113b=_0x4e2a03;return _0x3eb123||(_0x3eb123=0x1,function(_0xd57a40,_0x54ea3a){(function(_0x191386,_0x46c811,_0xf6a169){var _0x41f056=_0x1553;_0xd57a40[_0x41f056(0x308)]=_0x46c811(_0x2163f0(),_0x5cc561());}(_0x3c7fab,function(_0x25cf24){var _0x46a004=_0x1553;return _0x25cf24[_0x46a004(0xdd)][_0x46a004(0x282)]={'pad':function(){},'unpad':function(){}},_0x25cf24['pad']['NoPadding'];}));}(_0x58b61a)),_0x58b61a[_0x52113b(0x308)];}var _0x1cc849=_0x4f190b();const _0x17e512=_0x1b2f0a(_0x1cc849);function _0x9dda57(_0x4b7881,_0x104e45){var _0x15c689=_0x4e2a03;const _0x381c0c=_0x104e45-_0x4b7881['length']%_0x104e45,_0x3249f8=String[_0x15c689(0xc3)](_0x381c0c)[_0x15c689(0x155)](_0x381c0c);return _0x4b7881+_0x3249f8;}function _0x45c265(_0x56011b,_0x44b48c){var _0x56e92d=_0x4e2a03;const _0x7e8d62=_0x5e537e[_0x56e92d(0x2a4)](0x10),_0x3d0ea0=_0x9dda57(_0x56011b,0x10),_0x3dc133=_0x4b20b9[_0x56e92d(0x354)](_0x146c44[_0x56e92d(0xd5)](_0x3d0ea0),_0x31e26d[_0x56e92d(0xd5)](_0x44b48c),{'iv':_0x7e8d62,'padding':_0x17e512});return _0x7e8d62['concat'](_0x3dc133['ciphertext'])['toString'](_0x31e26d);}function _0x386a0f(){var _0x28663d=_0x4e2a03;const _0x83d836=_0x48369d[_0x28663d(0x234)]()[_0x28663d(0x2c8)];if(_0x83d836){const _0xc91e33={'time':Math[_0x28663d(0x28b)](Date[_0x28663d(0x256)]()/0x3e8),'domain':location[_0x28663d(0x3a3)]};return _0x45c265(JSON[_0x28663d(0xa1)](_0xc91e33),_0x83d836);}}var _0x39f953=Object['defineProperty'],_0x4f66e8=Object[_0x4e2a03(0x1df)],_0x1f8fa2=(_0x5729f3,_0xf606df,_0x16bff5,_0x3498ba)=>{var _0x3b9bc5=_0x4e2a03;for(var _0x1bbc98=_0x3498ba>0x1?void 0x0:_0x3498ba?_0x4f66e8(_0xf606df,_0x16bff5):_0xf606df,_0x5edd3c=_0x5729f3[_0x3b9bc5(0xb9)]-0x1,_0x3e4d39;_0x5edd3c>=0x0;_0x5edd3c--)(_0x3e4d39=_0x5729f3[_0x5edd3c])&&(_0x1bbc98=(_0x3498ba?_0x3e4d39(_0xf606df,_0x16bff5,_0x1bbc98):_0x3e4d39(_0x1bbc98))||_0x1bbc98);return _0x3498ba&&_0x1bbc98&&_0x39f953(_0xf606df,_0x16bff5,_0x1bbc98),_0x1bbc98;},_0x5c9552=(_0x56e66c,_0x4f1fa4)=>(_0x2ecd0e,_0x5c3a6f)=>_0x4f1fa4(_0x2ecd0e,_0x5c3a6f,_0x56e66c);let _0x21b6d5=class{constructor(_0x546398){var _0x43c2ad=_0x4e2a03;this[_0x43c2ad(0x3c1)]=_0x546398,this[_0x43c2ad(0x8f)]();}[_0x4e2a03(0x8f)](){var _0x1fabbd=_0x4e2a03;this[_0x1fabbd(0x3c1)][_0x1fabbd(0x394)]({'interceptor':(_0x17d655,_0x114a41)=>{var _0x29f458=_0x1fabbd;const _0x288560=_0x17d655[_0x29f458(0xf3)],_0x5a6e56=_0x386a0f();return _0x5a6e56&&_0x288560[_0x29f458(0xfa)](_0x29f458(0x349),_0x5a6e56),_0x114a41(_0x17d655);}});}};_0x21b6d5=_0x1f8fa2([_0x5c9552(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c['HTTPService']))],_0x21b6d5);var _0x32776c=Object[_0x4e2a03(0x1d4)],_0x143c5f=Object[_0x4e2a03(0x1df)],_0x17c597=(_0x50ddec,_0x26f5f0,_0xd463ad,_0x42968b)=>{var _0x5329b4=_0x4e2a03;for(var _0x42b743=_0x42968b>0x1?void 0x0:_0x42968b?_0x143c5f(_0x26f5f0,_0xd463ad):_0x26f5f0,_0x4190b2=_0x50ddec[_0x5329b4(0xb9)]-0x1,_0x4b5360;_0x4190b2>=0x0;_0x4190b2--)(_0x4b5360=_0x50ddec[_0x4190b2])&&(_0x42b743=(_0x42968b?_0x4b5360(_0x26f5f0,_0xd463ad,_0x42b743):_0x4b5360(_0x42b743))||_0x42b743);return _0x42968b&&_0x42b743&&_0x32776c(_0x26f5f0,_0xd463ad,_0x42b743),_0x42b743;},_0x213ef0=(_0x4dda5c,_0x126a92)=>(_0x4b5dd4,_0x4f5135)=>_0x126a92(_0x4b5dd4,_0x4f5135,_0x4dda5c);_0x316282[_0x4e2a03(0x324)]=class extends _0x46ccef['RxDisposable']{constructor(_0x598f1d,_0x425ff5,_0x4d9f29){var _0x3f7ff4=_0x4e2a03;super(),_0x1bee61(this,_0x3f7ff4(0x3a0),new _0x1d01ce['BehaviorSubject'](null)),_0x1bee61(this,'unitInfo$',this[_0x3f7ff4(0x3a0)]['asObservable']()),(this[_0x3f7ff4(0x2f3)]=_0x598f1d,this[_0x3f7ff4(0x304)]=_0x425ff5,this[_0x3f7ff4(0x36b)]=_0x4d9f29);}async[_0x4e2a03(0x3f9)](_0x1eb481,_0x290892,_0x3d3beb){var _0x1b60dc=_0x4e2a03;this[_0x1b60dc(0x3a0)][_0x1b60dc(0x141)]({'unitId':_0x1eb481,'type':_0x290892,'subUnitId':_0x3d3beb});let _0x178cfe=null;switch(_0x290892){case _0x392914[_0x1b60dc(0x185)]:{_0x178cfe=await this['_loadSheet'](_0x1eb481);break;}case _0x392914['UNIVER_DOC']:{_0x178cfe=await this['_loadDoc'](_0x1eb481);break;}default:{this[_0x1b60dc(0x2f3)]['error']('[DataLoaderService]',_0x1b60dc(0x210));break;}}return _0x178cfe;}async['_loadSheet'](_0x1b5af9){var _0x28ad30=_0x4e2a03,_0xc45564;let _0x3182da=0x0;const _0x586350=await((_0xc45564=this[_0x28ad30(0x36b)])==null?void 0x0:_0xc45564['loadOfflineData'](_0x1b5af9));return _0x586350&&(_0x586350['awaitingChangeset']||_0x586350[_0x28ad30(0x3c6)][_0x28ad30(0xb9)]!==0x0)&&(_0x3182da=_0x586350[_0x28ad30(0x272)]),_0x3182da===0x0&&this[_0x28ad30(0x2f3)]['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x28ad30(0x304)][_0x28ad30(0xe4)](_0x1b5af9,_0x3182da);}async['_loadDoc'](_0x10ea65){var _0x3e8552=_0x4e2a03,_0x30c452;let _0x44d3a1=0x0;const _0x34f833=await((_0x30c452=this[_0x3e8552(0x36b)])==null?void 0x0:_0x30c452[_0x3e8552(0x235)](_0x10ea65));return _0x34f833&&(_0x34f833[_0x3e8552(0x2ce)]||_0x34f833['mutations'][_0x3e8552(0xb9)]!==0x0)&&(_0x44d3a1=_0x34f833['rev']),_0x44d3a1===0x0&&this[_0x3e8552(0x2f3)]['debug'](_0x3e8552(0x157),_0x3e8552(0x21a)),this[_0x3e8552(0x304)][_0x3e8552(0xe7)](_0x10ea65,_0x44d3a1);}},_0x316282[_0x4e2a03(0x324)]=_0x17c597([_0x213ef0(0x0,_0x46ccef[_0x4e2a03(0x212)]),_0x213ef0(0x1,_0x46ccef[_0x4e2a03(0x10e)](_0x9e3a93[_0x4e2a03(0x17b)])),_0x213ef0(0x2,_0x46ccef[_0x4e2a03(0x1eb)](_0x37ffdb))],_0x316282[_0x4e2a03(0x324)]);var _0x2e510f=Object[_0x4e2a03(0x1d4)],_0x1a95f0=Object[_0x4e2a03(0x1df)],_0x201db4=(_0x33828f,_0x38592f,_0x5d8fef,_0x5a5302)=>{var _0x5dd3e8=_0x4e2a03;for(var _0x1310e4=_0x5a5302>0x1?void 0x0:_0x5a5302?_0x1a95f0(_0x38592f,_0x5d8fef):_0x38592f,_0x5a7f3f=_0x33828f[_0x5dd3e8(0xb9)]-0x1,_0x1eaaf8;_0x5a7f3f>=0x0;_0x5a7f3f--)(_0x1eaaf8=_0x33828f[_0x5a7f3f])&&(_0x1310e4=(_0x5a5302?_0x1eaaf8(_0x38592f,_0x5d8fef,_0x1310e4):_0x1eaaf8(_0x1310e4))||_0x1310e4);return _0x5a5302&&_0x1310e4&&_0x2e510f(_0x38592f,_0x5d8fef,_0x1310e4),_0x1310e4;},_0x1d33f0=(_0xd4f266,_0x3c0c1c)=>(_0x1d69c4,_0xf694c2)=>_0x3c0c1c(_0x1d69c4,_0xf694c2,_0xd4f266);const _0x16a650=[_0x4e2a03(0x1f8),_0x4e2a03(0x2b4),'image/jpg',_0x4e2a03(0x18c),'image/bmp'],_0x534458=0x5*0x400*0x400,_0x3ec0a4=_0x4e2a03(0x293),_0x362bb4=_0x4e2a03(0x327),_0x3fa207='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x5ab2fb=_0x4e2a03(0x23f);_0x316282[_0x4e2a03(0x169)]=class{constructor(_0x187127,_0x4c7c82,_0x31784b){var _0x4cdd65=_0x4e2a03;_0x1bee61(this,_0x4cdd65(0x3e2),0x0),_0x1bee61(this,_0x4cdd65(0x1ce),new _0x1d01ce[(_0x4cdd65(0x3d7))]()),_0x1bee61(this,_0x4cdd65(0x1cc),this[_0x4cdd65(0x1ce)]),_0x1bee61(this,'_imageSourceCache',new Map()),(this[_0x4cdd65(0x3c1)]=_0x187127,this[_0x4cdd65(0x2c2)]=_0x4c7c82,this[_0x4cdd65(0x12b)]=_0x31784b);}['setWaitCount'](_0x1d1ef7){var _0x1e9740=_0x4e2a03;this[_0x1e9740(0x3e2)]=_0x1d1ef7,this[_0x1e9740(0x1ce)][_0x1e9740(0x141)](_0x1d1ef7);}[_0x4e2a03(0x260)](_0x476d79,_0x2abace){var _0x5864ab=_0x4e2a03;if(_0x2abace===_0x3ebb23[_0x5864ab(0x384)][_0x5864ab(0x1de)]){const _0x4e800e=new Image();return _0x4e800e[_0x5864ab(0x295)]=_0x476d79,_0x4e800e;}return this[_0x5864ab(0x37e)][_0x5864ab(0x133)](_0x476d79);}[_0x4e2a03(0x3c0)](_0x19a903,_0x2d9fc9,_0x508cac){var _0xfbfa3b=_0x4e2a03;_0x2d9fc9===_0x3ebb23[_0xfbfa3b(0x384)][_0xfbfa3b(0x1de)]||_0x508cac==null||this['_imageSourceCache']['set'](_0x19a903,_0x508cac);}async[_0x4e2a03(0x38c)](_0x51a273){var _0x118800=_0x4e2a03;try{const _0x2ed083=this['_replaceFileID'](this['_getSignURL'](),''+_0x51a273),_0xcc9597=(await this[_0x118800(0x3c1)][_0x118800(0x133)](_0x2ed083))[_0x118800(0x2ef)];if(_0xcc9597[_0x118800(0x1b4)]&&_0xcc9597[_0x118800(0x1b4)]['code']===_0x4246a6['OK']){const _0xaf4c61=new URL(_0xcc9597[_0x118800(0xcc)],this[_0x118800(0x3d0)]())[_0x118800(0x1f0)]();return Promise[_0x118800(0x397)](_0xaf4c61);}return Promise[_0x118800(0x346)](_0xcc9597[_0x118800(0x1b4)]);}catch(_0x5112b0){return Promise[_0x118800(0x346)](_0x5112b0);}}async[_0x4e2a03(0x3b9)](_0x126c09){var _0x6eca00=_0x4e2a03;let _0x40ed6c='';if(!_0x16a650['includes'](_0x126c09[_0x6eca00(0xf6)]))return this[_0x6eca00(0x274)](),Promise[_0x6eca00(0x346)](new Error(_0x3ebb23[_0x6eca00(0x321)][_0x6eca00(0x1a1)]));if(_0x126c09[_0x6eca00(0x2cd)]>_0x534458)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3ebb23['ImageUploadStatusType'][_0x6eca00(0x1a5)]));try{const _0x3911fa=new FormData();_0x3911fa[_0x6eca00(0x3fa)](_0x6eca00(0x82),_0x126c09);const _0x1a2a3f=this[_0x6eca00(0x12b)][_0x6eca00(0xab)](),_0x339349=_0x1a2a3f==null?void 0x0:_0x1a2a3f['getUnitId']();if(!_0x339349)throw new Error(_0x6eca00(0x93));const _0x48f3c6=this[_0x6eca00(0xbe)]()+_0x6eca00(0x1e3)+_0x126c09['size'][_0x6eca00(0x1f0)]()+_0x6eca00(0x163)+_0x547638[_0x6eca00(0x2fa)]+_0x6eca00(0x13b)+encodeURIComponent(_0x339349),_0x38f8d4=await(await fetch(_0x48f3c6,{'method':_0x6eca00(0x158),'body':_0x3911fa}))['json']();if(typeof _0x38f8d4[_0x6eca00(0x330)]!=_0x6eca00(0x332))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3ebb23[_0x6eca00(0x321)][_0x6eca00(0x30c)]));_0x40ed6c=_0x38f8d4[_0x6eca00(0x330)];}catch{return this[_0x6eca00(0x274)](),Promise['reject'](new Error(_0x3ebb23['ImageUploadStatusType'][_0x6eca00(0x30c)]));}return new Promise((_0x3f2a01,_0x53d00f)=>{var _0x3beb5c=_0x6eca00;const _0x7c3db7=new FileReader();_0x7c3db7[_0x3beb5c(0xb0)](_0x126c09),_0x7c3db7[_0x3beb5c(0x1e8)]=_0x3c37f5=>{var _0x3196bc=_0x3beb5c,_0x120626;const _0x4d54dd=(_0x120626=_0x3c37f5[_0x3196bc(0xb1)])==null?void 0x0:_0x120626[_0x3196bc(0x2c7)];if(_0x4d54dd==null){this[_0x3196bc(0x274)](),_0x53d00f(new Error(_0x3ebb23['ImageUploadStatusType'][_0x3196bc(0x30c)]));return;}const _0x4817c6=_0x46ccef[_0x3196bc(0x23c)][_0x3196bc(0xdc)](0x6);_0x3f2a01({'imageId':_0x4817c6,'imageSourceType':_0x3ebb23[_0x3196bc(0x384)][_0x3196bc(0x15a)],'source':_0x40ed6c,'base64Cache':_0x4d54dd,'status':_0x3ebb23[_0x3196bc(0x321)][_0x3196bc(0x241)]}),this[_0x3196bc(0x274)]();};});}['_getUploadFileURL'](){var _0xa27060=_0x4e2a03,_0x294ac8,_0x384c53;const _0x14c5c8=this[_0xa27060(0x2c2)][_0xa27060(0x164)](_0x3ec0a4),_0x23f7ac=this[_0xa27060(0x2c2)]['getConfig'](_0x439518);return(_0x384c53=(_0x294ac8=_0x23f7ac==null?void 0x0:_0x23f7ac[_0xa27060(0x2a8)])!=null?_0x294ac8:_0x14c5c8)!=null?_0x384c53:_0x362bb4;}[_0x4e2a03(0x17a)](){var _0x409bad=_0x4e2a03,_0x492b8a,_0x5e3439;const _0x3be231=this[_0x409bad(0x2c2)]['getConfig'](_0x3fa207),_0x3e68e9=this[_0x409bad(0x2c2)][_0x409bad(0x164)](_0x439518);return(_0x5e3439=(_0x492b8a=_0x3e68e9==null?void 0x0:_0x3e68e9[_0x409bad(0x144)])!=null?_0x492b8a:_0x3be231)!=null?_0x5e3439:_0x5ab2fb;}[_0x4e2a03(0x3d0)](){var _0x24ade4=_0x4e2a03,_0x313391;const _0x23f36f=this[_0x24ade4(0x2c2)][_0x24ade4(0x164)](_0x439518);return(_0x313391=_0x23f36f==null?void 0x0:_0x23f36f[_0x24ade4(0x203)])!=null?_0x313391:location[_0x24ade4(0x1f1)];}[_0x4e2a03(0x9f)](_0x565db0,_0x2a787e){var _0x57b3df=_0x4e2a03;return _0x565db0[_0x57b3df(0x29f)]('{fileID}',_0x2a787e);}[_0x4e2a03(0x274)](){var _0x113cef=_0x4e2a03;this['_waitCount']-=0x1,this[_0x113cef(0x1ce)][_0x113cef(0x141)](this[_0x113cef(0x3e2)]);}},_0x316282[_0x4e2a03(0x169)]=_0x201db4([_0x1d33f0(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c['HTTPService'])),_0x1d33f0(0x1,_0x46ccef[_0x4e2a03(0x211)]),_0x1d33f0(0x2,_0x46ccef['Inject'](_0x46ccef[_0x4e2a03(0x317)]))],_0x316282['CollaborationImageIoService']);var _0x34a9bd=Object['defineProperty'],_0x15638c=Object['getOwnPropertyDescriptor'],_0x41d84d=(_0x3bf902,_0x550668,_0x3c2c43,_0x298cd5)=>{var _0x4b2eb4=_0x4e2a03;for(var _0x15c5d=_0x298cd5>0x1?void 0x0:_0x298cd5?_0x15638c(_0x550668,_0x3c2c43):_0x550668,_0x12f849=_0x3bf902[_0x4b2eb4(0xb9)]-0x1,_0x1ad32e;_0x12f849>=0x0;_0x12f849--)(_0x1ad32e=_0x3bf902[_0x12f849])&&(_0x15c5d=(_0x298cd5?_0x1ad32e(_0x550668,_0x3c2c43,_0x15c5d):_0x1ad32e(_0x15c5d))||_0x15c5d);return _0x298cd5&&_0x15c5d&&_0x34a9bd(_0x550668,_0x3c2c43,_0x15c5d),_0x15c5d;},_0x293594=(_0x45d1a6,_0x240d60)=>(_0x2e3620,_0x5a3c41)=>_0x240d60(_0x2e3620,_0x5a3c41,_0x45d1a6);const _0x4fb210='/universer-api/authz';_0x316282[_0x4e2a03(0x359)]=class{constructor(_0x24ad0e,_0x52b348){var _0x44654c=_0x4e2a03;this[_0x44654c(0x2c2)]=_0x24ad0e,this['_HTTPService']=_0x52b348;}[_0x4e2a03(0x19a)](){var _0x475ff8=_0x4e2a03,_0x18b6f5,_0x36894d;const _0x562e6d=this[_0x475ff8(0x2c2)][_0x475ff8(0x164)](_0x11e79f),_0x5572c7=this[_0x475ff8(0x2c2)][_0x475ff8(0x164)](_0x439518);return(_0x36894d=(_0x18b6f5=_0x5572c7==null?void 0x0:_0x5572c7[_0x475ff8(0xb6)])!=null?_0x18b6f5:_0x562e6d)!=null?_0x36894d:_0x4fb210;}async[_0x4e2a03(0x1ee)](_0x23622f){var _0x47ea47=_0x4e2a03;const _0x2ed79c=this[_0x47ea47(0x19a)]()+_0x47ea47(0x291);return{'list':[{'title':_0x47ea47(0x7e),'mentions':(await this[_0x47ea47(0x245)][_0x47ea47(0x133)](_0x2ed79c,{'params':{'objectID':_0x23622f[_0x47ea47(0x287)],'unitID':_0x23622f['unitId']}}))[_0x47ea47(0x2ef)][_0x47ea47(0x2ed)][_0x47ea47(0x2d2)](_0x4f1c54=>({'objectId':_0x4f1c54['id'],'name':_0x4f1c54[_0x47ea47(0x2ea)][_0x47ea47(0x315)],'metadata':{'icon':_0x4f1c54['subject']['avatar']},'label':_0x4f1c54['subject'][_0x47ea47(0x315)],'objectType':_0x46ccef[_0x47ea47(0x14d)][_0x47ea47(0x206)]})),'metadata':{},'type':_0x46ccef[_0x47ea47(0x14d)]['PERSON']}]};}},_0x316282['MentionIoHttpService']=_0x41d84d([_0x293594(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x211)])),_0x293594(0x1,_0x46ccef['Inject'](_0x2bc71c[_0x4e2a03(0x24f)]))],_0x316282[_0x4e2a03(0x359)]);var _0x3df9e4=Object[_0x4e2a03(0x1d4)],_0x27eb70=Object['getOwnPropertyDescriptor'],_0x4deb38=(_0x5093e7,_0x35467b,_0x5e63d4,_0x668848)=>{var _0x34525a=_0x4e2a03;for(var _0x2c3353=_0x668848>0x1?void 0x0:_0x668848?_0x27eb70(_0x35467b,_0x5e63d4):_0x35467b,_0x23bdd4=_0x5093e7[_0x34525a(0xb9)]-0x1,_0x5b3ec4;_0x23bdd4>=0x0;_0x23bdd4--)(_0x5b3ec4=_0x5093e7[_0x23bdd4])&&(_0x2c3353=(_0x668848?_0x5b3ec4(_0x35467b,_0x5e63d4,_0x2c3353):_0x5b3ec4(_0x2c3353))||_0x2c3353);return _0x668848&&_0x2c3353&&_0x3df9e4(_0x35467b,_0x5e63d4,_0x2c3353),_0x2c3353;},_0x52d990=(_0xfe7466,_0x21a96b)=>(_0x3fd255,_0x13efcb)=>_0x21a96b(_0x3fd255,_0x13efcb,_0xfe7466);let _0x2e12bd=class extends _0x46ccef[_0x4e2a03(0x370)]{constructor(_0x1735fe,_0xb7df81,_0x3ce6bd,_0x2aa82f,_0x2771bd,_0x296534,_0x468d7e){var _0x5b4513=_0x4e2a03;super(),this[_0x5b4513(0x175)]=_0x1735fe,this[_0x5b4513(0x12b)]=_0xb7df81,this['_permissionService']=_0x3ce6bd,this[_0x5b4513(0x33a)]=_0x2aa82f,this[_0x5b4513(0x105)]=_0x2771bd,this[_0x5b4513(0x2d7)]=_0x296534,this[_0x5b4513(0x17e)]=_0x468d7e,this['_initUnitPermissionChange'](),this[_0x5b4513(0x1f4)]();}[_0x4e2a03(0x1f4)](){var _0x5cb4e8=_0x4e2a03;const _0x2bc9cb=async _0x48cb3d=>{var _0x540d8a=_0x1553;(await this['_collaborationSessionService']['requireSession'](_0x48cb3d))[_0x540d8a(0x34f)][_0x540d8a(0x1ad)](_0x512aa4[_0x540d8a(0x1d0)](_0x15cf6a=>_0x15cf6a[_0x540d8a(0xa7)]===_0x9e3a93[_0x540d8a(0x165)]['SHOULD_CLOSE_CONN']),_0x512aa4['takeUntil'](this[_0x540d8a(0x406)]))[_0x540d8a(0x1e4)](_0x43b7c2=>{var _0x463609=_0x540d8a;const _0x39de0b=_0x43b7c2,{reason:_0x68a9e8}=_0x39de0b[_0x463609(0x1db)];this[_0x463609(0x105)][_0x463609(0x1a6)]({'id':_0x476bcb[_0x463609(0x239)],'data':_0x68a9e8}),this[_0x463609(0x3cc)][_0x463609(0x16a)](new _0xa6c87d[(_0x463609(0x1a9))](_0x48cb3d)['id'],!0x1),this[_0x463609(0x33a)][_0x463609(0x3e9)](_0x48cb3d);});};_0x1d01ce[_0x5cb4e8(0xe0)](this[_0x5cb4e8(0x12b)]['getTypeOfUnitAdded$'](_0x46ccef[_0x5cb4e8(0x160)][_0x5cb4e8(0x185)]),this[_0x5cb4e8(0x12b)][_0x5cb4e8(0x8d)](_0x46ccef[_0x5cb4e8(0x160)]['UNIVER_DOC']))[_0x5cb4e8(0x1ad)](_0x512aa4[_0x5cb4e8(0x2d2)](_0x2c25b8=>_0x2c25b8[_0x5cb4e8(0x3f8)]()),_0x512aa4[_0x5cb4e8(0x1d0)](_0xec4d0a=>!_0x46ccef[_0x5cb4e8(0x119)](_0xec4d0a)),_0x512aa4[_0x5cb4e8(0x39a)](this[_0x5cb4e8(0x406)]))['subscribe'](_0x99013e=>{_0x2bc9cb(_0x99013e);});}['_initUnitPermissionChange'](){var _0x4f6683=_0x4e2a03;const _0x50a893=async _0x4f5861=>{var _0x4efc6f=_0x1553;const _0x2074d6=await this[_0x4efc6f(0x33a)][_0x4efc6f(0x2e6)](_0x4f5861),_0x21a6fd=this[_0x4efc6f(0x175)][_0x4efc6f(0x133)](_0xa6c87d[_0x4efc6f(0x121)]);_0x2074d6['event$'][_0x4efc6f(0x1ad)](_0x512aa4[_0x4efc6f(0x1d0)](_0xe254e4=>_0xe254e4['eventID']===_0x9e3a93[_0x4efc6f(0x165)]['UPDATE_PERMISSION_OBJ']),_0x512aa4['takeUntil'](this[_0x4efc6f(0x406)]))[_0x4efc6f(0x1e4)](_0x2b795a=>{var _0x2d2347=_0x4efc6f;const _0x29b4d3=_0x2b795a,{objectId:_0x5782b}=_0x29b4d3[_0x2d2347(0x1db)];_0x5782b===_0x4f5861?_0x21a6fd['initWorkbookPermissionChange'](_0x4f5861):_0x21a6fd[_0x2d2347(0x342)](_0x4f5861,_0x5782b);});};_0x1d01ce[_0x4f6683(0xe0)](this[_0x4f6683(0x12b)][_0x4f6683(0x8d)](_0x46ccef[_0x4f6683(0x160)][_0x4f6683(0x185)]),this['_univerInstanceService'][_0x4f6683(0x8d)](_0x46ccef[_0x4f6683(0x160)][_0x4f6683(0x13f)]))[_0x4f6683(0x1ad)](_0x512aa4[_0x4f6683(0x2d2)](_0x37cdd3=>_0x37cdd3[_0x4f6683(0x3f8)]()),_0x512aa4[_0x4f6683(0x1d0)](_0x2be19c=>!_0x46ccef['isInternalEditorID'](_0x2be19c)),_0x512aa4[_0x4f6683(0x39a)](this[_0x4f6683(0x406)]))[_0x4f6683(0x1e4)](_0x50cd92=>{_0x50a893(_0x50cd92);});}};_0x2e12bd=_0x4deb38([_0x52d990(0x0,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x52d990(0x1,_0x46ccef[_0x4e2a03(0x317)]),_0x52d990(0x2,_0x46ccef[_0x4e2a03(0x364)]),_0x52d990(0x3,_0x46ccef[_0x4e2a03(0x10e)](_0x316282['CollaborationSessionService'])),_0x52d990(0x4,_0x46ccef[_0x4e2a03(0x10e)](_0x5d33c9)),_0x52d990(0x5,_0x46ccef[_0x4e2a03(0x409)]),_0x52d990(0x6,_0x46ccef[_0x4e2a03(0x2a1)])],_0x2e12bd);var _0x9ce47b=Object['defineProperty'],_0x2ee83e=Object[_0x4e2a03(0x1df)],_0x3917a0=(_0x58219c,_0x39b89e,_0x3fb965,_0x444620)=>{for(var _0x2bd514=_0x444620>0x1?void 0x0:_0x444620?_0x2ee83e(_0x39b89e,_0x3fb965):_0x39b89e,_0x295e90=_0x58219c['length']-0x1,_0x167db3;_0x295e90>=0x0;_0x295e90--)(_0x167db3=_0x58219c[_0x295e90])&&(_0x2bd514=(_0x444620?_0x167db3(_0x39b89e,_0x3fb965,_0x2bd514):_0x167db3(_0x2bd514))||_0x2bd514);return _0x444620&&_0x2bd514&&_0x9ce47b(_0x39b89e,_0x3fb965,_0x2bd514),_0x2bd514;},_0x50c159=(_0x5df1f6,_0x36bab2)=>(_0x14bbda,_0x14f0de)=>_0x36bab2(_0x14bbda,_0x14f0de,_0x5df1f6);_0x316282['SnapshotServerOverHTTPService']=class{constructor(_0xf9d950,_0x166b84){var _0x311375=_0x4e2a03;this[_0x311375(0x2c2)]=_0xf9d950,this[_0x311375(0x3c1)]=_0x166b84;}async[_0x4e2a03(0x1cf)](_0x4ee2a2,_0x26ec36){var _0x58c964=_0x4e2a03,_0x434a8f;const {unitID:_0x37e679,type:_0xba6414,revision:_0x4d58d3=0x0}=_0x26ec36,_0x2503bb=this['getSnapshotAPIPath']()+'/'+_0xba6414+'/unit/'+_0x37e679+_0x58c964(0x19f)+_0x4d58d3,_0x4ce612=(await this[_0x58c964(0x3c1)][_0x58c964(0x133)](_0x2503bb))[_0x58c964(0x2ef)],_0x3e8dfa=(_0x434a8f=_0x4ce612['snapshot'])==null?void 0x0:_0x434a8f[_0x58c964(0x207)];if(_0x3e8dfa){const _0x3e1a8f=_0x3e8dfa==null?void 0x0:_0x3e8dfa[_0x58c964(0x35f)],_0x3c72c2=_0x9e3a93['textEncoder']['encode'](_0x9e3a93['b64DecodeUnicode'](_0x3e1a8f));_0x3e8dfa[_0x58c964(0x35f)]=_0x3c72c2,Object['entries'](_0x3e8dfa[_0x58c964(0x147)])[_0x58c964(0x2dd)](([,_0x5ea512])=>{var _0x3c1c5b=_0x58c964;const _0x44fe40=_0x5ea512[_0x3c1c5b(0x35f)],_0x2cbc4e=_0x9e3a93[_0x3c1c5b(0x3bc)][_0x3c1c5b(0xd8)](_0x9e3a93['b64DecodeUnicode'](_0x44fe40));_0x5ea512[_0x3c1c5b(0x35f)]=_0x2cbc4e;});}return _0x4ce612;}async[_0x4e2a03(0x1d1)](_0x1fae74,_0x5728e0){var _0x75290=_0x4e2a03;const {unitID:_0x45fb87,type:_0x55639d,blockID:_0x524c4a}=_0x5728e0,_0x10f639=this[_0x75290(0x2b9)]()+'/'+_0x55639d+'/unit/'+_0x45fb87+_0x75290(0x22d)+_0x524c4a;return(await this[_0x75290(0x3c1)][_0x75290(0x133)](_0x10f639))[_0x75290(0x2ef)];}async[_0x4e2a03(0x38a)](_0x543041,_0x4a7e4d){var _0x1031f6=_0x4e2a03;const {unitID:_0x239a67,type:_0x4a8a61,blockID:_0x567517}=_0x4a7e4d,_0x4c2575=this['_getAPIPrefix']()+_0x1031f6(0x22d)+_0x4a8a61+_0x1031f6(0x341)+_0x239a67+'/block/'+_0x567517;return(await this[_0x1031f6(0x3c1)]['get'](_0x4c2575))[_0x1031f6(0x2ef)];}async[_0x4e2a03(0x2c3)](_0x2a2573,_0x1fefa8){var _0x4a10a8=_0x4e2a03;const {unitID:_0x156f75,type:_0x3460c9,from:_0x35ce63,to:_0x5c5c3d}=_0x1fefa8,_0xb3efa7=this[_0x4a10a8(0x2b9)]()+'/'+_0x3460c9+_0x4a10a8(0x341)+_0x156f75+_0x4a10a8(0x3ce)+_0x35ce63+_0x4a10a8(0x3ba)+_0x5c5c3d;return(await this['_httpService']['get'](_0xb3efa7))[_0x4a10a8(0x2ef)];}['getSnapshotAPIPath'](){var _0x10f25b=_0x4e2a03,_0x78487b;return(_0x78487b=this[_0x10f25b(0x2c2)][_0x10f25b(0x164)](_0x3502aa))!=null?_0x78487b:this['_getAPIPrefix']();}[_0x4e2a03(0x2b9)](){var _0x4f5244=_0x4e2a03,_0x2f108c,_0x2b6e2a;const _0x5a145e=this[_0x4f5244(0x2c2)][_0x4f5244(0x164)](_0x1e9c83),_0x3facc4=this[_0x4f5244(0x2c2)][_0x4f5244(0x164)](_0x439518);return(_0x2b6e2a=(_0x2f108c=_0x3facc4==null?void 0x0:_0x3facc4[_0x4f5244(0x3ca)])!=null?_0x2f108c:_0x5a145e)!=null?_0x2b6e2a:_0x2b7a67;}async[_0x4e2a03(0x15c)](_0x4ddbe4,_0x38d8c7){var _0x4ac0ff=_0x4e2a03;const _0x2d1d65=_0x4ac0ff(0x3d4)+_0x38d8c7[_0x4ac0ff(0xf6)]+_0x4ac0ff(0x341)+_0x38d8c7[_0x4ac0ff(0x2bf)]+_0x4ac0ff(0x26f);return(await this[_0x4ac0ff(0x3c1)][_0x4ac0ff(0x133)](_0x2d1d65,{'params':{'resourceId':JSON[_0x4ac0ff(0xa1)](_0x38d8c7[_0x4ac0ff(0x81)])}}))['body'];}[_0x4e2a03(0x39b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4e2a03(0x13d)](){var _0x542981=_0x4e2a03;throw new Error(_0x542981(0x390));}['saveChangeset'](){var _0x317c9a=_0x4e2a03;throw new Error(_0x317c9a(0x390));}[_0x4e2a03(0x2d6)](){var _0x147db1=_0x4e2a03;throw new Error(_0x147db1(0x390));}['getLatestCsReqIdBySid'](){var _0x5ee7c7=_0x4e2a03;throw new Error(_0x5ee7c7(0x390));}},_0x316282['SnapshotServerOverHTTPService']=_0x3917a0([_0x50c159(0x0,_0x46ccef[_0x4e2a03(0x211)]),_0x50c159(0x1,_0x46ccef[_0x4e2a03(0x10e)](_0x2bc71c[_0x4e2a03(0x24f)]))],_0x316282[_0x4e2a03(0x350)]);var _0x5eb295=Object[_0x4e2a03(0x1d4)],_0x50d9d7=Object[_0x4e2a03(0x1df)],_0x1f7fe9=(_0x2b60c0,_0x395d67,_0x39b88f,_0x105925)=>{for(var _0x447bfa=_0x105925>0x1?void 0x0:_0x105925?_0x50d9d7(_0x395d67,_0x39b88f):_0x395d67,_0x5cd186=_0x2b60c0['length']-0x1,_0x1acb5f;_0x5cd186>=0x0;_0x5cd186--)(_0x1acb5f=_0x2b60c0[_0x5cd186])&&(_0x447bfa=(_0x105925?_0x1acb5f(_0x395d67,_0x39b88f,_0x447bfa):_0x1acb5f(_0x447bfa))||_0x447bfa);return _0x105925&&_0x447bfa&&_0x5eb295(_0x395d67,_0x39b88f,_0x447bfa),_0x447bfa;},_0x5ece87=(_0x3c1888,_0x5a6e3b)=>(_0x41ab60,_0x1a6814)=>_0x5a6e3b(_0x41ab60,_0x1a6814,_0x3c1888);_0x316282[_0x4e2a03(0x1b6)]=class extends _0x46ccef[_0x4e2a03(0x1b3)]{constructor(_0x20154e,_0x3f5c35,_0x1f4e82,_0x58b8d9,_0x1d2f53){var _0x33dde3=_0x4e2a03;super(_0x20154e,_0x3f5c35,_0x1f4e82),this[_0x33dde3(0x313)]=_0x58b8d9,this[_0x33dde3(0x2f3)]=_0x1d2f53;}[_0x4e2a03(0x120)](_0x1c1244,_0x3ec361){var _0x43b41a=_0x4e2a03;const _0x3696f2=this[_0x43b41a(0xf7)](_0x1c1244);if(_0x3696f2)try{const _0x318546=this['_transformStack'](_0x3696f2,_0x3ec361);this[_0x43b41a(0x1b1)](_0x1c1244,_0x318546);}catch(_0x36fcfa){this[_0x43b41a(0x2f3)]['error']('[CollaborationUndoRedoService]',_0x36fcfa),this[_0x43b41a(0x9c)](_0x1c1244);}const _0x580589=this['_getRedoStack'](_0x1c1244);if(_0x580589)try{const _0x276a2d=this[_0x43b41a(0x11f)](_0x580589,_0x3ec361);this[_0x43b41a(0x197)](_0x1c1244,_0x276a2d);}catch(_0x42b13b){this[_0x43b41a(0x2f3)][_0x43b41a(0x1b4)](_0x42b13b),this[_0x43b41a(0xb3)](_0x1c1244);}}[_0x4e2a03(0x9c)](_0x14b4e0){var _0x57726d=_0x4e2a03;const _0x2c1a58=this[_0x57726d(0xf7)](_0x14b4e0);_0x2c1a58&&(_0x2c1a58[_0x57726d(0xb9)]=0x0,this[_0x57726d(0x1a0)]());}['_clearRedo'](_0x221305){var _0x57e374=_0x4e2a03;const _0xc4da98=this[_0x57e374(0x226)](_0x221305);_0xc4da98&&(_0xc4da98['length']=0x0,this[_0x57e374(0x1a0)]());}[_0x4e2a03(0x1b1)](_0x177f9e,_0x310ed2){var _0x37b70d=_0x4e2a03;this[_0x37b70d(0x12c)][_0x37b70d(0xfa)](_0x177f9e,_0x310ed2),this[_0x37b70d(0x1a0)]();}['_substituteRedoStack'](_0x577998,_0x572cf6){var _0x41febf=_0x4e2a03;this[_0x41febf(0x392)][_0x41febf(0xfa)](_0x577998,_0x572cf6),this[_0x41febf(0x1a0)]();}[_0x4e2a03(0x11f)](_0x421f32,_0x141010){var _0x4e5728=_0x4e2a03;const _0x39b73f=[];let _0x55578b=_0x141010,_0x36349d=_0x141010;for(let _0x800da9=_0x421f32[_0x4e5728(0xb9)]-0x1;_0x800da9>=0x0;_0x800da9--){const {unitID:_0x570359,undoMutations:_0x57fe30,redoMutations:_0x2583dd}=_0x421f32[_0x800da9],_0x49ae96=this[_0x4e5728(0x313)][_0x4e5728(0x1cd)](_0x55578b,_0x57fe30),_0x3be528=this[_0x4e5728(0x313)][_0x4e5728(0x1cd)](_0x36349d,_0x2583dd);if(_0x9e3a93['isTransformMutationsWithChangesetFailure'](_0x49ae96)||_0x9e3a93[_0x4e5728(0x3bb)](_0x3be528)){this[_0x4e5728(0x2f3)][_0x4e5728(0x1b4)]('[CollaborationUndoRedoService]',_0x4e5728(0xfb),_0x49ae96,_0x3be528);break;}_0x55578b=_0x49ae96['c1Prime'],_0x36349d=_0x3be528[_0x4e5728(0x156)],_0x39b73f[_0x4e5728(0x32c)]({'unitID':_0x570359,'undoMutations':_0x49ae96[_0x4e5728(0x25a)],'redoMutations':_0x3be528['m2Prime']});}return _0x39b73f[_0x4e5728(0x253)]();}},_0x316282[_0x4e2a03(0x1b6)]=_0x1f7fe9([_0x5ece87(0x0,_0x46ccef['IUniverInstanceService']),_0x5ece87(0x1,_0x46ccef[_0x4e2a03(0x27b)]),_0x5ece87(0x2,_0x46ccef[_0x4e2a03(0x2e9)]),_0x5ece87(0x3,_0x9e3a93[_0x4e2a03(0x15b)]),_0x5ece87(0x4,_0x46ccef['ILogService'])],_0x316282[_0x4e2a03(0x1b6)]);var _0x5e85ab=Object[_0x4e2a03(0x1d4)],_0x5dea5f=Object[_0x4e2a03(0x1df)],_0x5739a8=(_0x14785d,_0x5aa8b7,_0x41edfb)=>_0x5aa8b7 in _0x14785d?_0x5e85ab(_0x14785d,_0x5aa8b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41edfb}):_0x14785d[_0x5aa8b7]=_0x41edfb,_0x2d6ccf=(_0x35dbd6,_0x2c57ad,_0x287625,_0x49489b)=>{var _0x365d54=_0x4e2a03;for(var _0x5700bb=_0x49489b>0x1?void 0x0:_0x49489b?_0x5dea5f(_0x2c57ad,_0x287625):_0x2c57ad,_0x4571b4=_0x35dbd6[_0x365d54(0xb9)]-0x1,_0x1d2768;_0x4571b4>=0x0;_0x4571b4--)(_0x1d2768=_0x35dbd6[_0x4571b4])&&(_0x5700bb=(_0x49489b?_0x1d2768(_0x2c57ad,_0x287625,_0x5700bb):_0x1d2768(_0x5700bb))||_0x5700bb);return _0x49489b&&_0x5700bb&&_0x5e85ab(_0x2c57ad,_0x287625,_0x5700bb),_0x5700bb;},_0x3abeac=(_0x3857f4,_0x59dbbb)=>(_0xfce50a,_0xb3cb32)=>_0x59dbbb(_0xfce50a,_0xb3cb32,_0x3857f4),_0x1a9325=(_0x374345,_0x5a987c,_0x37cd66)=>_0x5739a8(_0x374345,_0x5a987c+'',_0x37cd66);const _0x223353=_0x4e2a03(0x3d9);_0x316282[_0x4e2a03(0x408)]=class extends _0x46ccef[_0x4e2a03(0x108)]{constructor(_0x36320e=_0x39b5d4,_0x434820,_0x416890,_0x144c56){var _0x48ccac=_0x4e2a03;super(),this[_0x48ccac(0x33f)]=_0x36320e,this[_0x48ccac(0x2f3)]=_0x434820,this[_0x48ccac(0x175)]=_0x416890,this[_0x48ccac(0x2c2)]=_0x144c56;const {..._0x5b4c16}=_0x46ccef[_0x48ccac(0xe0)]({},_0x39b5d4,this['_config']);this[_0x48ccac(0x2c2)]['setConfig'](_0x439518,_0x5b4c16);}['onStarting'](){var _0x55c97c=_0x4e2a03;this[_0x55c97c(0x19c)](),this[_0x55c97c(0x243)]();}['_registerDependencies'](){var _0x24afd7=_0x4e2a03,_0x574805,_0x32510e,_0x4da7f1,_0x1b7776;this[_0x24afd7(0x175)][_0x24afd7(0x20d)](_0x46ccef['IUndoRedoService'])&&this['_logService'][_0x24afd7(0x1b4)](_0x24afd7(0xd2),_0x24afd7(0x343));const _0x4bef21=_0x46ccef['mergeOverrideWithDependencies']([[_0x46ccef['IUndoRedoService'],{'useClass':_0x316282['CollaborativeUndoRedoService']}],[_0x316282[_0x24afd7(0x407)]],[_0x316282['MemberService']],[_0x316282['SheetTransformSelectionsService']],[_0x466d77],[_0x21b6d5],[_0x329d13],[_0x2e12bd],[_0x5d33c9],[_0x316282['DataLoaderService']],[_0xe05f11,{'useClass':(_0x32510e=(_0x574805=this['_config'])==null?void 0x0:_0x574805['socketService'])!=null?_0x32510e:_0x316282[_0x24afd7(0x228)]}],[_0x9e3a93[_0x24afd7(0x21d)],{'useClass':_0x316282[_0x24afd7(0x350)]}],[_0x46ccef[_0x24afd7(0x409)],{'useClass':_0x316282[_0x24afd7(0x2f4)]}],[_0x3ebb23[_0x24afd7(0x37f)],{'useClass':_0x316282[_0x24afd7(0x169)]}],[_0x46ccef[_0x24afd7(0xea)],{'useClass':_0x316282['MentionIoHttpService']}],[_0x316282[_0x24afd7(0x29a)]],[_0x148188]],(_0x4da7f1=this[_0x24afd7(0x33f)])==null?void 0x0:_0x4da7f1[_0x24afd7(0x3fb)]);if(!((_0x1b7776=this[_0x24afd7(0x33f)])!=null&&_0x1b7776[_0x24afd7(0x2af)])){const _0x201faa=_0x4bef21[_0x24afd7(0x3e5)](([_0x2937c8])=>_0x2937c8===_0x20811f);_0x201faa!==-0x1&&_0x4bef21[_0x24afd7(0x265)](_0x201faa,0x1);}_0x46ccef[_0x24afd7(0x2ec)](this[_0x24afd7(0x175)],_0x4bef21);}['_initDependencies'](){var _0x1293ae=_0x4e2a03,_0x1709c8,_0x3ceba9,_0x374e3a;this[_0x1293ae(0x175)]['get'](_0x2bc71c['HTTPService'])[_0x1293ae(0x394)]({'priority':0x14,'interceptor':_0x2bc71c[_0x1293ae(0x2c6)]({'maxParallel':0x6})}),(_0x1709c8=this[_0x1293ae(0x33f)])!=null&&_0x1709c8[_0x1293ae(0x33d)]||(_0x3ceba9=this['_injector']['get'](_0x37ffdb,_0x46ccef[_0x1293ae(0xa4)]['OPTIONAL']))==null||_0x3ceba9[_0x1293ae(0x1ea)](),(_0x374e3a=this[_0x1293ae(0x33f)])!=null&&_0x374e3a[_0x1293ae(0x88)]&&_0x46ccef[_0x1293ae(0x139)](this['_injector'],[[_0x466d77]]),_0x46ccef[_0x1293ae(0x139)](this['_injector'],[[_0x21b6d5],[_0x316282[_0x1293ae(0x29a)]],[_0x2e12bd]]);}},_0x1a9325(_0x316282[_0x4e2a03(0x408)],'pluginName',_0x223353),_0x316282[_0x4e2a03(0x408)]=_0x2d6ccf([_0x46ccef[_0x4e2a03(0x3e8)](_0x9e3a93[_0x4e2a03(0xbb)],_0xa6c87d[_0x4e2a03(0x34b)],_0x2bc71c['UniverNetworkPlugin']),_0x3abeac(0x1,_0x46ccef['ILogService']),_0x3abeac(0x2,_0x46ccef[_0x4e2a03(0x10e)](_0x46ccef[_0x4e2a03(0x38b)])),_0x3abeac(0x3,_0x46ccef[_0x4e2a03(0x211)])],_0x316282[_0x4e2a03(0x408)]),_0x316282[_0x4e2a03(0x161)]=_0x11e79f,_0x316282['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']=_0x439518,_0x316282[_0x4e2a03(0xd6)]=_0x2f03d2,_0x316282[_0x4e2a03(0x78)]=_0x4f902b,_0x316282[_0x4e2a03(0x2d5)]=_0x51cebd,_0x316282['CollaborationUIEventId']=_0x476bcb,_0x316282[_0x4e2a03(0x79)]=_0x5d33c9,_0x316282[_0x4e2a03(0x222)]=_0x329d13,_0x316282['DEFAULT_COLLAB_WEB_SOCKET_URL']=_0x56652f,_0x316282[_0x4e2a03(0x1d3)]=_0x3c4394,_0x316282[_0x4e2a03(0x116)]=_0x234784,_0x316282[_0x4e2a03(0x7b)]=_0x2ff010,_0x316282[_0x4e2a03(0x199)]=_0xe05f11,_0x316282[_0x4e2a03(0x130)]=_0x37ffdb,_0x316282[_0x4e2a03(0x1f3)]=_0x4f45ee,_0x316282[_0x4e2a03(0x365)]=_0x20811f,_0x316282[_0x4e2a03(0x1a4)]=0x3e8,_0x316282[_0x4e2a03(0x3c7)]=_0x4b3d11,_0x316282[_0x4e2a03(0x2e5)]=_0x596bd4,_0x316282['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0xe633e8,_0x316282[_0x4e2a03(0x20c)]=_0x541a71,_0x316282['SEND_CHANGESET_TIMEOUT_KEY']=_0x56bcc1,_0x316282[_0x4e2a03(0x143)]=_0x1e9c83,_0x316282[_0x4e2a03(0x190)]=_0x3502aa,_0x316282[_0x4e2a03(0xef)]=_0x18bd06,_0x316282[_0x4e2a03(0x191)]=_0x3a7e8e,_0x316282['deserializeToCombResponse']=_0x14b5b4,_0x316282[_0x4e2a03(0x1c9)]=_0x52e299,_0x316282[_0x4e2a03(0x246)]=_0x3b8167,Object['defineProperty'](_0x316282,Symbol[_0x4e2a03(0x15f)],{'value':_0x4e2a03(0x24b)});}));