@univerjs-pro/collaboration-client 0.1.16 → 0.2.0
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/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/collab-cursor/__tests__/doc-collab-cursor.controller.spec.d.ts +25 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -1
- package/lib/types/services/comment/comment.service.d.ts +7 -0
- package/lib/umd/index.js +1 -1
- package/package.json +35 -34
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x23df(_0x4a6b66,_0x5535a4){const _0x23f57a=_0x23f5();return _0x23df=function(_0x23df24,_0x264471){_0x23df24=_0x23df24-0x1bc;let _0xde55b0=_0x23f57a[_0x23df24];return _0xde55b0;},_0x23df(_0x4a6b66,_0x5535a4);}(function(_0x3b5619,_0x5d0c53){const _0x4e02ed=_0x23df,_0x507801=_0x3b5619();while(!![]){try{const _0x5a64ab=parseInt(_0x4e02ed(0x39d))/0x1*(parseInt(_0x4e02ed(0x21a))/0x2)+-parseInt(_0x4e02ed(0x3ee))/0x3+parseInt(_0x4e02ed(0x27c))/0x4*(-parseInt(_0x4e02ed(0x564))/0x5)+-parseInt(_0x4e02ed(0x566))/0x6+-parseInt(_0x4e02ed(0x3e5))/0x7*(-parseInt(_0x4e02ed(0x49e))/0x8)+-parseInt(_0x4e02ed(0x47d))/0x9+parseInt(_0x4e02ed(0x272))/0xa;if(_0x5a64ab===_0x5d0c53)break;else _0x507801['push'](_0x507801['shift']());}catch(_0x453c05){_0x507801['push'](_0x507801['shift']());}}}(_0x23f5,0xa3e40),function(_0x110dca,_0x2005eb){const _0x4106a1=_0x23df;typeof exports=='object'&&typeof module<'u'?_0x2005eb(exports,require('@univerjs/core'),require(_0x4106a1(0x281)),require(_0x4106a1(0x1cc)),require(_0x4106a1(0x3e1)),require(_0x4106a1(0x296)),require('@wendellhu/redi'),require(_0x4106a1(0x25a)),require(_0x4106a1(0x201)),require(_0x4106a1(0x284)),require(_0x4106a1(0x32d)),require(_0x4106a1(0x419)),require(_0x4106a1(0x555)),require('lodash/debounce'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require(_0x4106a1(0x547)),require(_0x4106a1(0x562)),require(_0x4106a1(0x214)),require('@univerjs/rpc')):typeof define==_0x4106a1(0x3c4)&&define[_0x4106a1(0x1d0)]?define([_0x4106a1(0x4dd),_0x4106a1(0x41a),_0x4106a1(0x281),_0x4106a1(0x1cc),_0x4106a1(0x3e1),_0x4106a1(0x296),_0x4106a1(0x235),_0x4106a1(0x25a),'rxjs/operators',_0x4106a1(0x284),_0x4106a1(0x32d),_0x4106a1(0x419),_0x4106a1(0x555),_0x4106a1(0x2c2),_0x4106a1(0x3c1),_0x4106a1(0x394),_0x4106a1(0x547),_0x4106a1(0x562),_0x4106a1(0x214),_0x4106a1(0x4ed)],_0x2005eb):(_0x110dca=typeof globalThis<'u'?globalThis:_0x110dca||self,_0x2005eb(_0x110dca[_0x4106a1(0x254)]={},_0x110dca['UniverCore'],_0x110dca['UniverSheets'],_0x110dca['UniverDesign'],_0x110dca[_0x4106a1(0x412)],_0x110dca['UniverCollaboration'],_0x110dca[_0x4106a1(0x235)],_0x110dca['rxjs'],_0x110dca[_0x4106a1(0x25a)]['operators'],_0x110dca[_0x4106a1(0x337)],_0x110dca[_0x4106a1(0x2a2)],_0x110dca[_0x4106a1(0x50d)],_0x110dca['UniverEngineFormula'],_0x110dca[_0x4106a1(0x55d)]['debounce'],_0x110dca[_0x4106a1(0x521)],_0x110dca[_0x4106a1(0x4cb)],_0x110dca['@wendellhu/redi/react-bindings'],_0x110dca[_0x4106a1(0x1e5)],_0x110dca[_0x4106a1(0x214)],_0x110dca['UniverRpc']));}(this,function(_0x3f3314,_0x4cdaf4,_0x3a01f6,_0x4fb88a,_0x4ff465,_0x329b63,_0x12925a,_0x4bb16b,_0x4ac749,_0x3fcd1a,_0xfde0ab,_0x46f32c,_0x29b663,_0x7451ba,_0x499dcd,_0x4ad633,_0x263934,_0x48aaee,_0x504a8c,_0x10d289){'use strict';const _0x57b986=_0x23df;var _0x2d8c76=Object[_0x57b986(0x1f4)],_0x325d2c=(_0x5a168f,_0x1c3df5,_0x3ecba6)=>_0x1c3df5 in _0x5a168f?_0x2d8c76(_0x5a168f,_0x1c3df5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ecba6}):_0x5a168f[_0x1c3df5]=_0x3ecba6,_0x53d09f=(_0x275205,_0x53be7a,_0x4419bc)=>_0x325d2c(_0x275205,typeof _0x53be7a!=_0x57b986(0x2ba)?_0x53be7a+'':_0x53be7a,_0x4419bc);const _0x514f86=_0x57b986(0x4ba),_0x1b973b=_0x57b986(0x4b7),_0x5cc7aa=_0x57b986(0x2b2),_0x20edc7=_0x57b986(0x2b3),_0x28607c=_0x57b986(0x38b),_0x5d6701='ws://127.0.0.1:8000/universer-api/comb/connect',_0x1e7060=_0x57b986(0x1db),_0x3287b4=_0x57b986(0x4c5),_0x192ae1=_0x57b986(0x204),_0x31e01f='RETRY_CONNECTING_MAX_COUNT',_0x1e2fa3=_0x57b986(0x2d3),_0x3050c7=_0x57b986(0x439),_0xf9a59b=_0x57b986(0x554),_0x23ca2e='LOGIN_URL_KEY',_0x1c47c8=_0x57b986(0x53d);var _0x383d49=(_0x362a53=>(_0x362a53[_0x362a53[_0x57b986(0x368)]=0x0]='UNDEFINED',_0x362a53[_0x362a53['OK']=0x1]='OK',_0x362a53[_0x362a53['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x362a53[_0x362a53['PERMISSION_DENIED']=0x3]=_0x57b986(0x418),_0x362a53[_0x362a53[_0x57b986(0x565)]=0x4]=_0x57b986(0x565),_0x362a53[_0x362a53['UNAUTHENTICATED']=0x5]=_0x57b986(0x4df),_0x362a53[_0x362a53['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x362a53[_0x362a53[_0x57b986(0x454)]=0x7]=_0x57b986(0x454),_0x362a53[_0x362a53[_0x57b986(0x23c)]=0x8]=_0x57b986(0x23c),_0x362a53[_0x362a53[_0x57b986(0x462)]=0x9]=_0x57b986(0x462),_0x362a53[_0x362a53[_0x57b986(0x52d)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x362a53[_0x362a53[_0x57b986(0x302)]=0x1771]=_0x57b986(0x302),_0x362a53[_0x362a53['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x57b986(0x365),_0x362a53[_0x362a53['APPLY_REJECT']=0x1b59]=_0x57b986(0x466),_0x362a53[_0x362a53['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x57b986(0x43f),_0x362a53[_0x362a53[_0x57b986(0x54f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x362a53[_0x362a53[_0x57b986(0x4d4)]=0x1b5c]=_0x57b986(0x4d4),_0x362a53[_0x362a53[_0x57b986(0x52c)]=0x1f41]=_0x57b986(0x52c),_0x362a53[_0x362a53[_0x57b986(0x1eb)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x362a53[_0x362a53[_0x57b986(0x324)]=0x232a]=_0x57b986(0x324),_0x362a53[_0x362a53[_0x57b986(0x379)]=0x232b]=_0x57b986(0x379),_0x362a53[_0x362a53[_0x57b986(0x3d3)]=0x232c]=_0x57b986(0x3d3),_0x362a53[_0x362a53[_0x57b986(0x500)]=0x232d]=_0x57b986(0x500),_0x362a53[_0x362a53[_0x57b986(0x216)]=0x2711]=_0x57b986(0x216),_0x362a53[_0x362a53[_0x57b986(0x551)]=0x2712]=_0x57b986(0x551),_0x362a53[_0x362a53['UNRECOGNIZED']=-0x1]=_0x57b986(0x340),_0x362a53))(_0x383d49||{}),_0x1f330d=(_0x4d2ecc=>(_0x4d2ecc[_0x4d2ecc['UNIVER_UNKNOWN']=0x0]=_0x57b986(0x518),_0x4d2ecc[_0x4d2ecc[_0x57b986(0x510)]=0x1]=_0x57b986(0x510),_0x4d2ecc[_0x4d2ecc[_0x57b986(0x1ed)]=0x2]=_0x57b986(0x1ed),_0x4d2ecc[_0x4d2ecc[_0x57b986(0x579)]=0x3]='UNIVER_SLIDE',_0x4d2ecc[_0x4d2ecc['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4d2ecc))(_0x1f330d||{}),_0x1ab374=(_0x2b4c4d=>(_0x2b4c4d[_0x2b4c4d[_0x57b986(0x2e7)]=0x0]='UNKNOWN_CMD',_0x2b4c4d[_0x2b4c4d[_0x57b986(0x261)]=0x1]=_0x57b986(0x261),_0x2b4c4d[_0x2b4c4d[_0x57b986(0x2e0)]=0x2]='JOIN',_0x2b4c4d[_0x2b4c4d['LEAVE']=0x3]='LEAVE',_0x2b4c4d[_0x2b4c4d[_0x57b986(0x351)]=0x4]=_0x57b986(0x351),_0x2b4c4d[_0x2b4c4d['HEARTBEAT']=0x5]=_0x57b986(0x36f),_0x2b4c4d[_0x2b4c4d[_0x57b986(0x24d)]=0x6]=_0x57b986(0x24d),_0x2b4c4d[_0x2b4c4d['UNRECOGNIZED']=-0x1]=_0x57b986(0x340),_0x2b4c4d))(_0x1ab374||{}),_0x401f1c=(_0x3433f2=>(_0x3433f2[_0x3433f2[_0x57b986(0x303)]=0x0]=_0x57b986(0x303),_0x3433f2[_0x3433f2['OK']=0x1]='OK',_0x3433f2[_0x3433f2[_0x57b986(0x27d)]=0x2]='FAIL',_0x3433f2[_0x3433f2[_0x57b986(0x340)]=-0x1]=_0x57b986(0x340),_0x3433f2))(_0x401f1c||{}),_0x48573c=Object['defineProperty'],_0xbd8903=Object['getOwnPropertyDescriptor'],_0x3006f3=(_0x50cfc8,_0x3dfb77,_0x46fa12,_0x44e711)=>{const _0x24782d=_0x57b986;for(var _0x5bc645=_0x44e711>0x1?void 0x0:_0x44e711?_0xbd8903(_0x3dfb77,_0x46fa12):_0x3dfb77,_0x354804=_0x50cfc8[_0x24782d(0x397)]-0x1,_0x481dba;_0x354804>=0x0;_0x354804--)(_0x481dba=_0x50cfc8[_0x354804])&&(_0x5bc645=(_0x44e711?_0x481dba(_0x3dfb77,_0x46fa12,_0x5bc645):_0x481dba(_0x5bc645))||_0x5bc645);return _0x44e711&&_0x5bc645&&_0x48573c(_0x3dfb77,_0x46fa12,_0x5bc645),_0x5bc645;},_0x332ec9=(_0x2bc75f,_0x4133f4)=>(_0xe8589e,_0xa9320c)=>_0x4133f4(_0xe8589e,_0xa9320c,_0x2bc75f);let _0x4495e7=class extends _0x4cdaf4[_0x57b986(0x310)]{constructor(_0x30af3b,_0x4716ac){const _0x59005b=_0x57b986;super(),_0x53d09f(this,'_roomMembers',new Map()),(this[_0x59005b(0x3d9)]=_0x30af3b,this['_userManagerService']=_0x4716ac,this[_0x59005b(0x250)](_0x4cdaf4[_0x59005b(0x56b)](_0x4bb16b[_0x59005b(0x468)](this[_0x59005b(0x3d9)][_0x59005b(0x29d)](_0x4cdaf4[_0x59005b(0x514)][_0x59005b(0x1ed)])[_0x59005b(0x334)](_0x4ac749['map'](_0xe2da73=>_0xe2da73[_0x59005b(0x3d4)]())),this[_0x59005b(0x3d9)]['getTypeOfUnitDisposed$'](_0x4cdaf4['UniverInstanceType']['UNIVER_DOC'])[_0x59005b(0x334)](_0x4ac749[_0x59005b(0x2d2)](_0x42dbbf=>_0x42dbbf['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4cdaf4[_0x59005b(0x514)][_0x59005b(0x579)])['pipe'](_0x4ac749['map'](_0x4046c6=>_0x4046c6[_0x59005b(0x3d4)]())))[_0x59005b(0x29e)](_0x3569d7=>this[_0x59005b(0x557)](_0x3569d7)))));}[_0x57b986(0x51b)](_0x40c93e){const _0x2f7ce2=_0x57b986;this[_0x2f7ce2(0x2f9)][_0x2f7ce2(0x51b)](_0x40c93e);}[_0x57b986(0x227)](){const _0x539c48=_0x57b986;return this[_0x539c48(0x2f9)][_0x539c48(0x227)]();}['updateMember'](_0x2bfe64,_0x10cc25){let _0x43148f=this['_roomMembers']['get'](_0x2bfe64);_0x43148f||(_0x43148f=new _0x48b0c1(),this['_roomMembers']['set'](_0x2bfe64,_0x43148f)),_0x43148f['updateMember'](_0x10cc25);}[_0x57b986(0x570)](_0x5ad3d0,_0x20213f){const _0x1a2bc7=_0x57b986,_0x1be031=this[_0x1a2bc7(0x495)][_0x1a2bc7(0x408)](_0x5ad3d0);_0x1be031&&_0x1be031[_0x1a2bc7(0x570)](_0x20213f);}[_0x57b986(0x4ec)](_0x2444ce){const _0x2770bd=_0x57b986;return this[_0x2770bd(0x495)][_0x2770bd(0x408)](_0x2444ce);}[_0x57b986(0x44f)](_0x44b11e,_0x952636){const _0x1280fb=_0x57b986,_0x4e471a=this['_roomMembers'][_0x1280fb(0x408)](_0x44b11e);if(_0x4e471a)return _0x4e471a[_0x1280fb(0x44f)](_0x952636);}[_0x57b986(0x557)](_0x90c0f9){const _0xb3f683=_0x57b986,_0x3c6706=this[_0xb3f683(0x495)][_0xb3f683(0x408)](_0x90c0f9);_0x3c6706&&(_0x3c6706[_0xb3f683(0x46e)](),this[_0xb3f683(0x495)][_0xb3f683(0x391)](_0x90c0f9));}[_0x57b986(0x46e)](){const _0x5a897f=_0x57b986;this['_roomMembers'][_0x5a897f(0x2bc)](_0x4d938c=>_0x4d938c[_0x5a897f(0x46e)]()),this[_0x5a897f(0x495)][_0x5a897f(0x46b)]();}};_0x4495e7=_0x3006f3([_0x332ec9(0x0,_0x4cdaf4[_0x57b986(0x28e)]),_0x332ec9(0x1,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x30a)]))],_0x4495e7);class _0x48b0c1 extends _0x4cdaf4[_0x57b986(0x310)]{constructor(){const _0x959e4e=_0x57b986;super(...arguments),_0x53d09f(this,_0x959e4e(0x3c3),new Map());}[_0x57b986(0x46e)](){const _0x5daf0a=_0x57b986;this[_0x5daf0a(0x3c3)][_0x5daf0a(0x46b)]();}['updateMember'](_0x2abb50){const _0x583848=_0x57b986;this[_0x583848(0x3c3)][_0x583848(0x2c3)](_0x2abb50[_0x583848(0x537)],_0x2abb50);}[_0x57b986(0x570)](_0x37c1c0){const _0x2fb621=_0x57b986;this[_0x2fb621(0x3c3)][_0x2fb621(0x391)](_0x37c1c0);}[_0x57b986(0x44f)](_0x4c63bc){const _0x178728=_0x57b986;return this[_0x178728(0x3c3)]['get'](_0x4c63bc);}}function _0x4e7170(_0x14928a){const _0x136503=_0x57b986;var _0x24af05,_0x472251,_0x2c3cca,_0x38f86a;const _0x15b659=_0x14928a[_0x136503(0x4a7)],_0xb5d00b=JSON[_0x136503(0x4d5)](_0x15b659);switch(_0xb5d00b[_0x136503(0x2e6)]){case _0x1ab374[_0x136503(0x36f)]:case _0x1ab374['HELLO']:{const _0x2c0445=_0xb5d00b[_0x136503(0x207)];return{..._0xb5d00b,'data':_0x2c0445,'cmd':_0xb5d00b[_0x136503(0x2e6)]};}case _0x1ab374[_0x136503(0x2e0)]:{const _0x313b55=_0xb5d00b[_0x136503(0x434)];return{..._0xb5d00b,'data':_0x313b55,'cmd':_0xb5d00b[_0x136503(0x2e6)]};}case _0x1ab374[_0x136503(0x24d)]:{const _0x3312ed=_0xb5d00b[_0x136503(0x48e)];switch(_0x3312ed[_0x136503(0x558)]){case _0x329b63[_0x136503(0x3dc)][_0x136503(0x271)]:return{..._0xb5d00b,'data':{..._0x3312ed,'data':(_0x24af05=_0x3312ed[_0x136503(0x4c3)])==null?void 0x0:_0x24af05['cs']},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63[_0x136503(0x3dc)][_0x136503(0x396)]:return{..._0xb5d00b,'data':{..._0x3312ed,'data':(_0x472251=_0x3312ed[_0x136503(0x41d)])==null?void 0x0:_0x472251['cs']},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63['CollaborationEvent']['NEW_CHANGESETS']:return{..._0xb5d00b,'data':{..._0x3312ed,'data':(_0x2c3cca=_0x3312ed['newCsEvent'])==null?void 0x0:_0x2c3cca['cs']},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63[_0x136503(0x3dc)][_0x136503(0x429)]:return{..._0xb5d00b,'data':{..._0x3312ed,'data':(_0x38f86a=_0x3312ed[_0x136503(0x569)])==null?void 0x0:_0x38f86a['cs']},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63[_0x136503(0x3dc)][_0x136503(0x2c9)]:return{..._0xb5d00b,'data':{..._0x3312ed,'data':_0x3312ed[_0x136503(0x444)]},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63[_0x136503(0x3dc)]['USERS_ENTER']:return{..._0xb5d00b,'data':{..._0x3312ed,'data':_0x3312ed[_0x136503(0x2e5)]},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63['CollaborationEvent']['USERS_LEAVE']:return{..._0xb5d00b,'data':{..._0x3312ed,'data':_0x3312ed[_0x136503(0x348)]},'cmd':_0xb5d00b['cmd']};case _0x329b63['CollaborationEvent'][_0x136503(0x47f)]:return{..._0xb5d00b,'data':{..._0x3312ed,'data':_0x3312ed[_0x136503(0x4c7)]},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63[_0x136503(0x3dc)][_0x136503(0x51c)]:case _0x329b63[_0x136503(0x3dc)]['LIVESHARE_OPERATION']:return{..._0xb5d00b,'data':{..._0x3312ed,'data':_0x3312ed[_0x136503(0x3cf)]},'cmd':_0xb5d00b[_0x136503(0x2e6)]};case _0x329b63[_0x136503(0x3dc)][_0x136503(0x37c)]:return{..._0xb5d00b,'data':{..._0x3312ed,'data':_0x3312ed[_0x136503(0x4c7)]},'cmd':_0xb5d00b['cmd']};case _0x329b63[_0x136503(0x3dc)][_0x136503(0x325)]:return{..._0xb5d00b,'data':_0x3312ed,'cmd':_0xb5d00b[_0x136503(0x2e6)]};default:return _0xb5d00b;}}default:return _0xb5d00b;}}function _0x573082(_0xc3257c){const _0x326425=_0x57b986;switch(_0xc3257c[_0x326425(0x2e6)]){case _0x1ab374[_0x326425(0x36f)]:case _0x1ab374['HELLO']:return JSON[_0x326425(0x528)]({'cmd':_0xc3257c[_0x326425(0x2e6)],'routeKey':_0xc3257c[_0x326425(0x4da)]});case _0x1ab374[_0x326425(0x351)]:{let _0x4ed452;switch(_0xc3257c[_0x326425(0x4a7)][_0x326425(0x558)]){case _0x329b63[_0x326425(0x3dc)]['UPDATE_CURSOR']:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)][_0x326425(0x2c9)],'updateCursorEvent':_0xc3257c[_0x326425(0x4a7)]['data']};break;}case _0x329b63['CollaborationEvent'][_0x326425(0x1f0)]:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)]['USERS_LEAVE'],'leaveEvent':_0xc3257c[_0x326425(0x4a7)]['data']};break;}case _0x329b63['CollaborationEvent'][_0x326425(0x480)]:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)][_0x326425(0x480)],'joinEvent':_0xc3257c[_0x326425(0x4a7)][_0x326425(0x4a7)]};break;}case _0x329b63[_0x326425(0x3dc)]['LIVESHARE_NEW_HOST']:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0xc3257c[_0x326425(0x4a7)][_0x326425(0x4a7)]};break;}case _0x329b63[_0x326425(0x3dc)]['LIVESHARE_OPERATION']:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)][_0x326425(0x219)],'liveShareOperation':_0xc3257c[_0x326425(0x4a7)][_0x326425(0x4a7)]};break;}case _0x329b63[_0x326425(0x3dc)][_0x326425(0x37c)]:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0xc3257c['data'][_0x326425(0x4a7)]};break;}case _0x329b63['CollaborationEvent'][_0x326425(0x376)]:{_0x4ed452={'eventID':_0x329b63['CollaborationEvent'][_0x326425(0x376)],'liveShareRequestHost':_0xc3257c['data']['data']};break;}case _0x329b63[_0x326425(0x3dc)][_0x326425(0x51c)]:{_0x4ed452={'eventID':_0x329b63[_0x326425(0x3dc)][_0x326425(0x51c)]};break;}default:_0x4ed452={'eventID':_0xc3257c[_0x326425(0x4a7)][_0x326425(0x558)]};}return JSON[_0x326425(0x528)]({'cmd':_0xc3257c[_0x326425(0x2e6)],'routeKey':_0xc3257c['routeKey'],'collaMsg':_0x4ed452});}case _0x1ab374[_0x326425(0x2e0)]:return JSON[_0x326425(0x528)]({'cmd':_0xc3257c[_0x326425(0x2e6)],'routeKey':_0xc3257c[_0x326425(0x4da)],'joinReq':_0xc3257c[_0x326425(0x4a7)]});case _0x1ab374['LEAVE']:return JSON[_0x326425(0x528)]({'cmd':_0xc3257c[_0x326425(0x2e6)],'routeKey':_0xc3257c[_0x326425(0x4da)],'leaveReq':_0xc3257c[_0x326425(0x4a7)]});default:throw new Error(_0x326425(0x43b));}}var _0x4bd5cb=Object['defineProperty'],_0x21f6e5=Object['getOwnPropertyDescriptor'],_0x4bbf72=(_0x37deef,_0x57ac4f,_0x442538,_0x3d4143)=>{const _0x32a251=_0x57b986;for(var _0x23492d=_0x3d4143>0x1?void 0x0:_0x3d4143?_0x21f6e5(_0x57ac4f,_0x442538):_0x57ac4f,_0x3dbff2=_0x37deef[_0x32a251(0x397)]-0x1,_0x5922c5;_0x3dbff2>=0x0;_0x3dbff2--)(_0x5922c5=_0x37deef[_0x3dbff2])&&(_0x23492d=(_0x3d4143?_0x5922c5(_0x57ac4f,_0x442538,_0x23492d):_0x5922c5(_0x23492d))||_0x23492d);return _0x3d4143&&_0x23492d&&_0x4bd5cb(_0x57ac4f,_0x442538,_0x23492d),_0x23492d;},_0x54ea29=(_0x51dfa7,_0x5f3abc)=>(_0x1f6d2d,_0x329aa4)=>_0x5f3abc(_0x1f6d2d,_0x329aa4,_0x51dfa7);const _0x20ab21=_0x12925a[_0x57b986(0x249)](_0x57b986(0x23a));function _0x248c50(_0x3eff7b,_0x293a23,_0x2cdca4){return _0x3eff7b+'/'+_0x293a23+'/unit/'+_0x2cdca4+'/new_changes';}_0x3f3314[_0x57b986(0x4a5)]=class{constructor(_0x22b26d,_0x157797,_0x5a49e2,_0x422464,_0xd6c2d6){const _0x237850=_0x57b986;this[_0x237850(0x38e)]=_0x22b26d,this[_0x237850(0x572)]=_0x157797,this[_0x237850(0x323)]=_0x5a49e2,this[_0x237850(0x314)]=_0x422464,this[_0x237850(0x1e8)]=_0xd6c2d6;}[_0x57b986(0x210)](_0x4cf21f){const _0x19ecad=_0x57b986,_0x3976a7=this[_0x19ecad(0x572)][_0x19ecad(0x210)](_0x4cf21f);if(!_0x3976a7)throw new Error(_0x19ecad(0x2f3));const _0x2f74a1=new _0x4cdaf4[(_0x19ecad(0x392))](),_0x2c4f27=new _0x4bb16b[(_0x19ecad(0x42d))]();_0x2f74a1[_0x19ecad(0x2b7)](_0x4cdaf4[_0x19ecad(0x56b)](_0x3976a7['close$'][_0x19ecad(0x29e)](_0x246393=>_0x2c4f27[_0x19ecad(0x1bd)](_0x246393)))),_0x2f74a1['add'](_0x4cdaf4[_0x19ecad(0x56b)](()=>_0x2c4f27[_0x19ecad(0x461)]()));const _0x1762fb=new _0x4bb16b[(_0x19ecad(0x42d))]();_0x2f74a1[_0x19ecad(0x2b7)](_0x4cdaf4[_0x19ecad(0x56b)](_0x3976a7[_0x19ecad(0x525)][_0x19ecad(0x29e)](_0x35beb5=>_0x1762fb[_0x19ecad(0x1bd)](_0x35beb5)))),_0x2f74a1[_0x19ecad(0x2b7)](_0x4cdaf4[_0x19ecad(0x56b)](()=>_0x1762fb[_0x19ecad(0x461)]()));const _0x5f35c8=new _0x4bb16b[(_0x19ecad(0x42d))]();_0x2f74a1[_0x19ecad(0x2b7)](_0x4cdaf4['toDisposable'](_0x3976a7[_0x19ecad(0x543)]['subscribe'](_0x5842c4=>{const _0x505557=_0x19ecad,_0x272667=_0x4e7170(_0x5842c4);_0x5f35c8[_0x505557(0x1bd)](_0x272667);}))),_0x2f74a1[_0x19ecad(0x2b7)](_0x4cdaf4[_0x19ecad(0x56b)](()=>_0x5f35c8[_0x19ecad(0x461)]()));const _0x20f693=()=>{const _0xae61c=_0x19ecad;_0x1762fb['next'](new Event(_0xae61c(0x283))),_0x2c4f27[_0xae61c(0x1bd)](new CloseEvent(_0xae61c(0x283))),_0x1e973e[_0xae61c(0x542)]();},_0x1e973e={'memberID':'','close$':_0x2c4f27[_0x19ecad(0x534)](),'error$':_0x1762fb[_0x19ecad(0x534)](),'open$':_0x3976a7[_0x19ecad(0x45b)],'message$':_0x5f35c8[_0x19ecad(0x534)](),'send':_0x378e67=>{const _0x17414c=_0x19ecad;if(_0x378e67[_0x17414c(0x2e6)]===_0x1ab374[_0x17414c(0x351)]){if(_0x378e67['data'][_0x17414c(0x558)]===_0x329b63[_0x17414c(0x3dc)]['SUBMIT_CHANGESET']){this[_0x17414c(0x307)](_0x1e973e,_0x378e67[_0x17414c(0x4a7)])[_0x17414c(0x383)](_0x4b7fea=>{const _0x2df088=_0x17414c;this['_logService'][_0x2df088(0x4a4)](_0x4b7fea),_0x20f693();});return;}if(_0x378e67[_0x17414c(0x4a7)][_0x17414c(0x558)]===_0x329b63[_0x17414c(0x3dc)][_0x17414c(0x355)]){const _0x2b0fac=_0x378e67[_0x17414c(0x4a7)];this['_fetchMissChangesets'](_0x2b0fac)[_0x17414c(0x4c6)](_0x23fb44=>{const _0x20e692=_0x17414c;_0x5f35c8[_0x20e692(0x1bd)]({'cmd':_0x1ab374[_0x20e692(0x24d)],'code':_0x401f1c['OK'],'routeKey':_0x2b0fac['data'][_0x20e692(0x40f)],'routeType':'','data':{'eventID':_0x329b63[_0x20e692(0x3dc)][_0x20e692(0x430)],'data':{'changesets':_0x23fb44}}});})['catch'](_0x5b8c16=>{const _0x4d3a6b=_0x17414c;this[_0x4d3a6b(0x314)]['error'](_0x5b8c16),_0x20f693();});return;}}_0x3976a7[_0x17414c(0x4aa)](_0x573082(_0x378e67));},'close':()=>{const _0x2a13e5=_0x19ecad;_0x3976a7['close'](),_0x2f74a1[_0x2a13e5(0x46e)]();}};return _0x1e973e;}async[_0x57b986(0x307)](_0x36e1b0,_0x4cbeba){const _0x4ade6a=_0x57b986;var _0x2174a8;const {unitType:_0x258de9,unitID:_0xc2c26,changeset:_0x1dae77}=_0x4cbeba['data'],_0x6fbdb3={'unitID':_0xc2c26,'memberID':_0x36e1b0[_0x4ade6a(0x537)],'type':_0x258de9,'changeset':_0x329b63[_0x4ade6a(0x298)](_0x1dae77)},_0xdc0bc=_0x248c50((_0x2174a8=this[_0x4ade6a(0x323)][_0x4ade6a(0x51f)](_0x3050c7))!=null?_0x2174a8:_0xf9a59b,_0x258de9,_0xc2c26);try{await this[_0x4ade6a(0x38e)][_0x4ade6a(0x45d)](_0xdc0bc,{'body':_0x6fbdb3});}catch(_0x1b3b96){throw this['_logService'][_0x4ade6a(0x4a4)](_0x4ade6a(0x30c),_0x4ade6a(0x375)),_0x1b3b96;}}async[_0x57b986(0x425)](_0x4c6691){const _0xe55740=_0x57b986,{unitID:_0x118e48,from:_0x4ced83,to:_0x185985,unitType:_0x286852}=_0x4c6691[_0xe55740(0x4a7)];return(await this[_0xe55740(0x1e8)][_0xe55740(0x305)]({'metadata':void 0x0},{'unitID':_0x118e48,'type':_0x286852,'from':_0x4ced83,'to':_0x185985}))[_0xe55740(0x2ce)];}},_0x3f3314[_0x57b986(0x4a5)]=_0x4bbf72([_0x54ea29(0x0,_0x12925a[_0x57b986(0x42c)](_0xfde0ab[_0x57b986(0x280)])),_0x54ea29(0x1,_0x12925a[_0x57b986(0x42c)](_0xfde0ab['WebSocketService'])),_0x54ea29(0x2,_0x4cdaf4[_0x57b986(0x4f1)]),_0x54ea29(0x3,_0x4cdaf4[_0x57b986(0x41c)]),_0x54ea29(0x4,_0x4cdaf4[_0x57b986(0x3ea)])],_0x3f3314[_0x57b986(0x4a5)]);var _0x37ac7e=Object[_0x57b986(0x1f4)],_0x49ccb3=Object[_0x57b986(0x405)],_0xc86922=(_0x65f0d1,_0x1a66a9,_0x123dd2,_0x1c22c6)=>{const _0x206d8c=_0x57b986;for(var _0x56fb3e=_0x1c22c6>0x1?void 0x0:_0x1c22c6?_0x49ccb3(_0x1a66a9,_0x123dd2):_0x1a66a9,_0x3b7a86=_0x65f0d1[_0x206d8c(0x397)]-0x1,_0xfc54b5;_0x3b7a86>=0x0;_0x3b7a86--)(_0xfc54b5=_0x65f0d1[_0x3b7a86])&&(_0x56fb3e=(_0x1c22c6?_0xfc54b5(_0x1a66a9,_0x123dd2,_0x56fb3e):_0xfc54b5(_0x56fb3e))||_0x56fb3e);return _0x1c22c6&&_0x56fb3e&&_0x37ac7e(_0x1a66a9,_0x123dd2,_0x56fb3e),_0x56fb3e;},_0x4b46e7=(_0x4e5012,_0x5dd051)=>(_0x2bcf71,_0x3d5019)=>_0x5dd051(_0x2bcf71,_0x3d5019,_0x4e5012),_0x585a5c=(_0x3dd872=>(_0x3dd872[_0x3dd872[_0x57b986(0x33b)]=0x0]=_0x57b986(0x33b),_0x3dd872[_0x3dd872[_0x57b986(0x236)]=0x1]=_0x57b986(0x236),_0x3dd872[_0x3dd872[_0x57b986(0x26f)]=0x2]=_0x57b986(0x26f),_0x3dd872[_0x3dd872[_0x57b986(0x1c1)]=0x3]='ONLINE',_0x3dd872))(_0x585a5c||{});_0x3f3314[_0x57b986(0x4d7)]=class extends _0x4cdaf4[_0x57b986(0x499)]{constructor(_0x56ee23,_0x1f192e,_0x53a19c,_0x11cdd8,_0x297276,_0x54cc25,_0x4e8ecc,_0x59b673){const _0xb51d5f=_0x57b986;super(),_0x53d09f(this,'_sessionStatus$',new _0x4bb16b[(_0xb51d5f(0x2e9))](0x0)),_0x53d09f(this,_0xb51d5f(0x46d),this['_sessionStatus$'][_0xb51d5f(0x534)]()),_0x53d09f(this,_0xb51d5f(0x259),new _0x4bb16b[(_0xb51d5f(0x42d))]()),_0x53d09f(this,_0xb51d5f(0x24c),this['_event$'][_0xb51d5f(0x534)]()),_0x53d09f(this,'_socket'),_0x53d09f(this,_0xb51d5f(0x460)),_0x53d09f(this,_0xb51d5f(0x48d)),(this[_0xb51d5f(0x456)]=_0x56ee23,this[_0xb51d5f(0x314)]=_0x53a19c,this[_0xb51d5f(0x212)]=_0x11cdd8,this['_messageService']=_0x297276,this[_0xb51d5f(0x323)]=_0x54cc25,this[_0xb51d5f(0x247)]=_0x4e8ecc,this[_0xb51d5f(0x1d3)]=_0x59b673,_0x1f192e[_0xb51d5f(0x334)](_0x4ac749['takeUntil'](this[_0xb51d5f(0x2e3)]))[_0xb51d5f(0x29e)](_0x39502a=>{const _0x13f907=_0xb51d5f;var _0xacdefa;typeof _0x39502a>'u'||(this[_0x13f907(0x453)]=_0x39502a,_0x39502a?(this[_0x13f907(0x311)](_0x39502a),this[_0x13f907(0x460)]=this[_0x13f907(0x453)][_0x13f907(0x543)][_0x13f907(0x29e)](_0x301622=>{const _0x595edd=_0x13f907;_0x301622[_0x595edd(0x4da)]===this['_unitID']&&this['_onCombEvent'](_0x301622);})):(this['_sessionStatus$'][_0x13f907(0x1bd)](0x2),(_0xacdefa=this[_0x13f907(0x460)])==null||_0xacdefa['unsubscribe'](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0xb51d5f(0x212)][_0xb51d5f(0x4d3)](()=>{const _0x3f2df8=_0xb51d5f;var _0x155a6a;(_0x155a6a=this[_0x3f2df8(0x453)])==null||_0x155a6a[_0x3f2df8(0x4aa)]({'cmd':_0x1ab374[_0x3f2df8(0x29b)],'data':{'roomID':this[_0x3f2df8(0x456)]}});})));}get[_0x57b986(0x2b1)](){const _0x16159f=_0x57b986;return this['_sessionStatus$'][_0x16159f(0x424)]();}[_0x57b986(0x46a)](){var _0x11dd7e,_0x2aa8a3;return(_0x2aa8a3=(_0x11dd7e=this['_socket'])==null?void 0x0:_0x11dd7e['memberID'])!=null?_0x2aa8a3:null;}[_0x57b986(0x46e)](){const _0x46eada=_0x57b986;super[_0x46eada(0x46e)](),this[_0x46eada(0x2e3)][_0x46eada(0x1bd)](),this[_0x46eada(0x2e3)][_0x46eada(0x461)]();}[_0x57b986(0x539)](_0x42283e){const _0x565c03=_0x57b986;_0x42283e['cmd']===_0x1ab374[_0x565c03(0x2e0)]?this[_0x565c03(0x56c)](_0x42283e):_0x42283e[_0x565c03(0x2e6)]===_0x1ab374[_0x565c03(0x24d)]&&this[_0x565c03(0x237)](_0x42283e);}[_0x57b986(0x311)](_0x3d2524){const _0x445c2a=_0x57b986;this[_0x445c2a(0x39f)][_0x445c2a(0x1bd)](0x1),_0x3d2524['send']({'cmd':_0x1ab374[_0x445c2a(0x2e0)],'routeKey':this[_0x445c2a(0x456)],'routeType':'','data':{'rooms':[{'roomID':this[_0x445c2a(0x456)]}]}});}['_onJoinRoomEvent'](_0x1d666e){const _0x46a7ec=_0x57b986;var _0x2ae3f0;if(_0x1d666e[_0x46a7ec(0x35d)]===_0x401f1c['FAIL']){this[_0x46a7ec(0x2fc)]['show']({'type':_0x4fb88a['MessageType'][_0x46a7ec(0x2bb)],'content':this[_0x46a7ec(0x247)]['t']('session.room-full')}),this[_0x46a7ec(0x39f)][_0x46a7ec(0x1bd)](0x2);return;}this[_0x46a7ec(0x39f)][_0x46a7ec(0x1bd)](0x3);const _0x4af070=(_0x2ae3f0=_0x1d666e[_0x46a7ec(0x4a7)][_0x46a7ec(0x3dd)][this[_0x46a7ec(0x456)]])==null?void 0x0:_0x2ae3f0[_0x46a7ec(0x36e)];_0x4af070&&_0x4af070['forEach'](_0x1ebbb1=>this['_memberService'][_0x46a7ec(0x3f7)](this['_unitID'],_0x1ebbb1));}[_0x57b986(0x237)](_0x19b392){const _0x1d3292=_0x57b986;try{const _0x156774=_0x19b392[_0x1d3292(0x4a7)];switch(_0x156774[_0x1d3292(0x558)]){case _0x329b63[_0x1d3292(0x3dc)]['USERS_ENTER']:this[_0x1d3292(0x3bf)](_0x156774),this['_event$'][_0x1d3292(0x1bd)](_0x156774);break;case _0x329b63[_0x1d3292(0x3dc)][_0x1d3292(0x1f0)]:this[_0x1d3292(0x486)](_0x156774),this[_0x1d3292(0x259)][_0x1d3292(0x1bd)](_0x156774);break;case _0x329b63[_0x1d3292(0x3dc)][_0x1d3292(0x396)]:this[_0x1d3292(0x37e)](),this[_0x1d3292(0x259)]['next'](_0x156774);break;case _0x329b63['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService'][_0x1d3292(0x4a4)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x1d3292(0x528)](_0x156774)),this[_0x1d3292(0x259)][_0x1d3292(0x1bd)](_0x156774);break;default:this[_0x1d3292(0x259)]['next'](_0x156774);}}catch(_0x54331b){this[_0x1d3292(0x314)][_0x1d3292(0x4a4)](_0x54331b,_0x19b392);}}[_0x57b986(0x3bf)](_0xeb99d2){const _0x376abd=_0x57b986;this[_0x376abd(0x1d3)]['updateMember'](this['_unitID'],_0xeb99d2['data']);}[_0x57b986(0x486)](_0x582ef0){const _0x306404=_0x57b986;this[_0x306404(0x1d3)]['removeMember'](this[_0x306404(0x456)],_0x582ef0['data'][_0x306404(0x537)]);}async[_0x57b986(0x4aa)](_0x54b42b,_0x92bc80){const _0x2002c5=_0x57b986;if(this[_0x2002c5(0x2b1)]!==0x3||!this[_0x2002c5(0x453)])throw new Error(_0x2002c5(0x25d));try{_0x54b42b['eventID']===_0x329b63['CollaborationEvent'][_0x2002c5(0x345)]&&this[_0x2002c5(0x320)](),this[_0x2002c5(0x453)]['send']({'cmd':_0x1ab374[_0x2002c5(0x351)],'routeKey':_0x92bc80,'routeType':'','data':_0x54b42b});}catch(_0x576c82){this[_0x2002c5(0x314)][_0x2002c5(0x4a4)](_0x576c82);}}[_0x57b986(0x320)](){const _0x495dbc=_0x57b986;var _0x40ac63;this[_0x495dbc(0x48d)]=window['setTimeout'](()=>{const _0x497793=_0x495dbc;this[_0x497793(0x48d)]=null,this[_0x497793(0x2fc)]['show']({'type':_0x4fb88a[_0x497793(0x2af)][_0x497793(0x4a2)],'content':this[_0x497793(0x247)]['t'](_0x497793(0x511))});},(_0x40ac63=this['_configService'][_0x495dbc(0x51f)](_0x3287b4))!=null?_0x40ac63:0x2710);}[_0x57b986(0x37e)](){const _0x12eb57=_0x57b986;this[_0x12eb57(0x48d)]&&(clearTimeout(this[_0x12eb57(0x48d)]),this['_collaborationTimeoutTimer']=null);}},_0x3f3314['CollaborationSession']=_0xc86922([_0x4b46e7(0x2,_0x4cdaf4[_0x57b986(0x41c)]),_0x4b46e7(0x3,_0x4ff465[_0x57b986(0x3d0)]),_0x4b46e7(0x4,_0x4ff465['IMessageService']),_0x4b46e7(0x5,_0x4cdaf4[_0x57b986(0x4f1)]),_0x4b46e7(0x6,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x502)])),_0x4b46e7(0x7,_0x12925a['Inject'](_0x4495e7))],_0x3f3314[_0x57b986(0x4d7)]),_0x3f3314['CollaborationSessionService']=class extends _0x4cdaf4['Disposable']{constructor(_0x81fda5,_0x49543f,_0x2ec5fe,_0x5ccc4a,_0x325135,_0x4251d0){const _0x4608ad=_0x57b986;super(),_0x53d09f(this,_0x4608ad(0x3fe),new _0x4bb16b[(_0x4608ad(0x2e9))](void 0x0)),_0x53d09f(this,_0x4608ad(0x417),new Map()),_0x53d09f(this,_0x4608ad(0x488),new _0x4bb16b[(_0x4608ad(0x2e9))](0x0)),_0x53d09f(this,_0x4608ad(0x37b),this[_0x4608ad(0x488)]['asObservable']()),_0x53d09f(this,_0x4608ad(0x312),!0x1),_0x53d09f(this,_0x4608ad(0x2f0)),_0x53d09f(this,_0x4608ad(0x26e)),_0x53d09f(this,_0x4608ad(0x43e)),_0x53d09f(this,_0x4608ad(0x203),0x0),(this[_0x4608ad(0x260)]=_0x81fda5,this[_0x4608ad(0x247)]=_0x49543f,this['_messageService']=_0x2ec5fe,this[_0x4608ad(0x314)]=_0x5ccc4a,this['_configService']=_0x325135,this[_0x4608ad(0x1c7)]=_0x4251d0);}get[_0x57b986(0x453)](){const _0x39ec6d=_0x57b986;return this[_0x39ec6d(0x3fe)][_0x39ec6d(0x424)]();}['dispose'](){const _0x2e5119=_0x57b986;super[_0x2e5119(0x46e)](),this[_0x2e5119(0x417)][_0x2e5119(0x2bc)](_0x11f2ec=>_0x11f2ec[_0x2e5119(0x46e)]()),this['_sessions']['clear'](),this[_0x2e5119(0x488)][_0x2e5119(0x461)]();}async[_0x57b986(0x50a)](_0x883a3){const _0x3abd8e=_0x57b986;if(this[_0x3abd8e(0x417)]['has'](_0x883a3))return this[_0x3abd8e(0x417)][_0x3abd8e(0x408)](_0x883a3);this[_0x3abd8e(0x4f2)]();const _0x2ad05c=this[_0x3abd8e(0x260)][_0x3abd8e(0x545)](_0x3f3314[_0x3abd8e(0x4d7)],_0x883a3,this['_socket$'][_0x3abd8e(0x534)]());return this[_0x3abd8e(0x417)]['set'](_0x883a3,_0x2ad05c),_0x2ad05c;}[_0x57b986(0x50b)](){const _0x541765=_0x57b986;var _0x3f15f3;const _0x301468=(_0x3f15f3=this[_0x541765(0x323)][_0x541765(0x51f)](_0x28607c))!=null?_0x3f15f3:_0x5d6701;return this['_socketService']['createSocket'](_0x301468);}[_0x57b986(0x4f2)](){const _0x1976d6=_0x57b986;try{const _0x3182eb=this['_createSocket']();if(_0x3182eb){const _0x1b8b29=_0x3182eb[_0x1976d6(0x4aa)];_0x3182eb[_0x1976d6(0x4aa)]=_0x5658e8=>(this[_0x1976d6(0x2cc)](),_0x1b8b29[_0x1976d6(0x3ca)](_0x3182eb,[_0x5658e8])),_0x3182eb[_0x1976d6(0x543)][_0x1976d6(0x29e)](_0x45f96e=>this[_0x1976d6(0x1e2)](_0x3182eb,_0x45f96e)),_0x3182eb['error$']['pipe'](_0x4ac749['take'](0x1))[_0x1976d6(0x29e)](_0x31b31c=>this['_logService'][_0x1976d6(0x4a4)](_0x1976d6(0x4ca),_0x31b31c)),_0x3182eb[_0x1976d6(0x45b)]['pipe'](_0x4ac749[_0x1976d6(0x3bc)](0x1))[_0x1976d6(0x29e)](()=>{const _0x2432b0=_0x1976d6;this[_0x2432b0(0x2d4)](_0x3182eb);}),_0x3182eb[_0x1976d6(0x1e3)][_0x1976d6(0x334)](_0x4ac749[_0x1976d6(0x3bc)](0x1))[_0x1976d6(0x29e)](_0x2e49b6=>{const _0x328f8c=_0x1976d6;this[_0x328f8c(0x314)]['debug']('[CollaborationSessionService]',_0x328f8c(0x300),_0x2e49b6),this['_onConnectionFailed']();});}}catch(_0x339053){this[_0x1976d6(0x314)][_0x1976d6(0x4a4)](_0x339053),this[_0x1976d6(0x40d)]();}}[_0x57b986(0x2d4)](_0x34e106){const _0x2c129e=_0x57b986;this[_0x2c129e(0x314)][_0x2c129e(0x1fa)](_0x2c129e(0x3d1),_0x2c129e(0x1f9)),_0x34e106[_0x2c129e(0x4aa)]({'cmd':_0x1ab374[_0x2c129e(0x261)]}),this[_0x2c129e(0x2cc)]();}[_0x57b986(0x40d)](){const _0x234938=_0x57b986;var _0x287846;this[_0x234938(0x488)][_0x234938(0x1bd)](0x2),this[_0x234938(0x3fe)][_0x234938(0x1bd)](null),this[_0x234938(0x1ef)](),this[_0x234938(0x3b4)](),this[_0x234938(0x312)]=!0x1,this[_0x234938(0x203)]<((_0x287846=this[_0x234938(0x323)][_0x234938(0x51f)](_0x31e01f))!=null?_0x287846:0x3)?(this['_scheduleReconnection'](this[_0x234938(0x203)]),this[_0x234938(0x203)]+=0x1):this[_0x234938(0x2fc)]['show']({'type':_0x4fb88a[_0x234938(0x2af)]['Error'],'content':this[_0x234938(0x247)]['t'](_0x234938(0x34b))});}['_scheduleReconnection'](_0x5578c1){const _0x307108=_0x57b986;var _0x19454f;const _0x46f72d=((_0x19454f=this[_0x307108(0x323)][_0x307108(0x51f)](_0x192ae1))!=null?_0x19454f:0x4e20)*0x2**_0x5578c1;this[_0x307108(0x2fc)]['show']({'type':_0x4fb88a[_0x307108(0x2af)][_0x307108(0x2bb)],'content':this[_0x307108(0x247)]['t'](_0x307108(0x449))}),this[_0x307108(0x43e)]=setTimeout(()=>{const _0x493976=_0x307108;this[_0x493976(0x4f2)](),clearTimeout(this[_0x493976(0x43e)]),this[_0x493976(0x43e)]=null;},_0x46f72d);}['_rescheduleHeartbeatEvent'](){const _0x424977=_0x57b986;var _0x83a64;this['_clearHeartbeatTimer'](),this[_0x424977(0x2f0)]=setTimeout(()=>this[_0x424977(0x517)](),(_0x83a64=this['_configService']['getConfig'](_0x1e7060))!=null?_0x83a64:0x7530);}[_0x57b986(0x517)](){const _0x1260c3=_0x57b986;this['_socket'][_0x1260c3(0x4aa)]({'cmd':_0x1ab374[_0x1260c3(0x36f)]}),this[_0x1260c3(0x1ce)]();}[_0x57b986(0x1ce)](){const _0x2e5a8e=_0x57b986;var _0x37b658;this[_0x2e5a8e(0x26e)]=setTimeout(()=>this[_0x2e5a8e(0x40d)](),(_0x37b658=this[_0x2e5a8e(0x323)]['getConfig'](_0x3287b4))!=null?_0x37b658:0x2710);}['_onMessage'](_0x5678f0,_0x2ad5d2){const _0x2ca87f=_0x57b986,{cmd:_0x51f353}=_0x2ad5d2;_0x51f353===_0x1ab374['HELLO']&&!this[_0x2ca87f(0x312)]&&(_0x5678f0[_0x2ca87f(0x537)]=_0x2ad5d2['data'][_0x2ca87f(0x537)],this[_0x2ca87f(0x3fe)][_0x2ca87f(0x1bd)](_0x5678f0),this['_status$']['next'](0x3),this[_0x2ca87f(0x312)]=!0x0),_0x51f353===_0x1ab374[_0x2ca87f(0x36f)]&&this[_0x2ca87f(0x1ef)](),this[_0x2ca87f(0x2cc)]();}[_0x57b986(0x3b4)](){const _0x206829=_0x57b986;this[_0x206829(0x2f0)]!=null&&(clearTimeout(this[_0x206829(0x2f0)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){const _0x5ad763=_0x57b986;this[_0x5ad763(0x26e)]!=null&&(clearTimeout(this[_0x5ad763(0x26e)]),this[_0x5ad763(0x26e)]=null);}},_0x3f3314[_0x57b986(0x48c)]=_0xc86922([_0x4b46e7(0x0,_0x12925a['Inject'](_0x12925a[_0x57b986(0x52f)])),_0x4b46e7(0x1,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x502)])),_0x4b46e7(0x2,_0x4ff465[_0x57b986(0x27e)]),_0x4b46e7(0x3,_0x4cdaf4[_0x57b986(0x41c)]),_0x4b46e7(0x4,_0x4cdaf4['IConfigService']),_0x4b46e7(0x5,_0x20ab21)],_0x3f3314[_0x57b986(0x48c)]);var _0x2d8902=Object[_0x57b986(0x1f4)],_0x24f805=Object['getOwnPropertyDescriptor'],_0x3aed3d=(_0x537699,_0x181060,_0x3b57a8,_0x430929)=>{const _0x420df8=_0x57b986;for(var _0x54e189=_0x430929>0x1?void 0x0:_0x430929?_0x24f805(_0x181060,_0x3b57a8):_0x181060,_0x250dba=_0x537699[_0x420df8(0x397)]-0x1,_0x2f0351;_0x250dba>=0x0;_0x250dba--)(_0x2f0351=_0x537699[_0x250dba])&&(_0x54e189=(_0x430929?_0x2f0351(_0x181060,_0x3b57a8,_0x54e189):_0x2f0351(_0x54e189))||_0x54e189);return _0x430929&&_0x54e189&&_0x2d8902(_0x181060,_0x3b57a8,_0x54e189),_0x54e189;},_0x4a91e0=(_0x1e1a91,_0xcc0740)=>(_0x2d6fb2,_0x4bdbc1)=>_0xcc0740(_0x2d6fb2,_0x4bdbc1,_0x1e1a91);_0x3f3314[_0x57b986(0x361)]=class extends _0x4cdaf4[_0x57b986(0x310)]{constructor(_0x1a0ef0,_0x7f8c94,_0x578214,_0x4d9fc9,_0x23b409){const _0x51db2b=_0x57b986;super(),_0x53d09f(this,_0x51db2b(0x541),new Map()),_0x53d09f(this,_0x51db2b(0x479),new Map()),_0x53d09f(this,'_disabled',!0x1),(this[_0x51db2b(0x323)]=_0x1a0ef0,this[_0x51db2b(0x318)]=_0x7f8c94,this['_beforeCloseService']=_0x578214,this['_localeService']=_0x4d9fc9,this[_0x51db2b(0x377)]=_0x23b409,this['_setupBeforeClosingHandler']());}[_0x57b986(0x571)](){this['_disabled']=!0x0;}[_0x57b986(0x529)](){this['_disabled']=!0x1;}['dispose'](){const _0x3d246f=_0x57b986;this[_0x3d246f(0x50c)]()[_0x3d246f(0x4c6)](()=>super[_0x3d246f(0x46e)]());}async[_0x57b986(0x1d5)](_0x511541){const _0x5f5dbd=_0x57b986;return this[_0x5f5dbd(0x496)]?null:this[_0x5f5dbd(0x318)][_0x5f5dbd(0x3f9)](_0x479938(_0x511541));}async['saveOfflineData'](_0x4001f4,_0x37a73c){const _0x3151de=_0x57b986;return!!this['_localStorageService'][_0x3151de(0x1ca)](_0x4001f4,_0x37a73c);}[_0x57b986(0x37a)](_0xe5065,_0x455a21,_0x33ba3a,_0x4b9ec7){const _0x982364=_0x57b986,_0x1193de=this[_0x982364(0x377)][_0x982364(0x577)](_0xe5065);this[_0x982364(0x541)][_0x982364(0x2c3)](_0xe5065,{'unitID':_0xe5065,'type':_0x455a21,'awaitingChangeset':_0x33ba3a,'mutations':_0x4b9ec7,'rev':_0x1193de}),this['_saveTaskMap'][_0x982364(0x458)](_0xe5065)||this[_0x982364(0x4b6)](_0xe5065);}[_0x57b986(0x4b6)](_0x4b24d0){const _0x1eb031=_0x57b986,_0x12f97c=this[_0x1eb031(0x344)]();_0x12f97c===0x0?this[_0x1eb031(0x516)](_0x4b24d0):this[_0x1eb031(0x479)]['set'](_0x4b24d0,setTimeout(()=>this[_0x1eb031(0x516)](_0x4b24d0),_0x12f97c));}['_getSaveTimeout'](){const _0xc863db=_0x57b986;var _0x2dac1e;return(_0x2dac1e=this[_0xc863db(0x323)][_0xc863db(0x51f)](_0x1e2fa3))!=null?_0x2dac1e:0x3e8;}[_0x57b986(0x516)](_0x4b9f27){const _0x1c257e=_0x57b986,_0x3fb694=this[_0x1c257e(0x479)]['get'](_0x4b9f27);return _0x3fb694!==void 0x0&&window['clearTimeout'](_0x3fb694),this[_0x1c257e(0x318)][_0x1c257e(0x1ca)](_0x479938(_0x4b9f27),this[_0x1c257e(0x541)][_0x1c257e(0x408)](_0x4b9f27))[_0x1c257e(0x4c6)](()=>this[_0x1c257e(0x479)][_0x1c257e(0x391)](_0x4b9f27));}async[_0x57b986(0x50c)](){const _0x51329e=_0x57b986,_0x8dea73=[];this['_saveTaskMap'][_0x51329e(0x2bc)]((_0x594413,_0xae74b)=>{const _0x59472c=_0x51329e;window[_0x59472c(0x404)](_0x594413),_0x8dea73[_0x59472c(0x2a8)](this[_0x59472c(0x516)](_0xae74b)['then'](()=>{const _0x5af640=_0x59472c;this[_0x5af640(0x479)][_0x5af640(0x391)](_0xae74b);}));}),await Promise[_0x51329e(0x54e)](_0x8dea73);}[_0x57b986(0x37d)](){const _0x1f572c=_0x57b986;this[_0x1f572c(0x250)](this[_0x1f572c(0x212)][_0x1f572c(0x4e4)](()=>{const _0x25ae53=_0x1f572c;if(this['_saveTaskMap'][_0x25ae53(0x349)])return this[_0x25ae53(0x247)]['t'](_0x25ae53(0x208));}));}},_0x3f3314[_0x57b986(0x361)]=_0x3aed3d([_0x4a91e0(0x0,_0x4cdaf4[_0x57b986(0x4f1)]),_0x4a91e0(0x1,_0x4cdaf4[_0x57b986(0x333)]),_0x4a91e0(0x2,_0x4ff465['IBeforeCloseService']),_0x4a91e0(0x3,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4['LocaleService'])),_0x4a91e0(0x4,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)]))],_0x3f3314[_0x57b986(0x361)]);function _0x479938(_0x2a41a9){const _0x16190f=_0x57b986;return _0x16190f(0x515)+_0x2a41a9;}const _0x1c83f9=_0x12925a['createIdentifier'](_0x57b986(0x2cd));var _0x5e4f39=(_0xbfaa60=>(_0xbfaa60[_0xbfaa60['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x57b986(0x2a7),_0xbfaa60[_0xbfaa60[_0x57b986(0x288)]=0x1]='OTHER_CLIENTS_EDITING',_0xbfaa60))(_0x5e4f39||{});const _0x17198a=0x7530,_0x265087=_0x57b986(0x3cc);class _0x1c79cd extends _0x4cdaf4['Disposable']{constructor(){const _0x2b637a=_0x57b986;super(),_0x53d09f(this,'_id',_0x4cdaf4[_0x2b637a(0x2dc)][_0x2b637a(0x4a0)]()),_0x53d09f(this,_0x2b637a(0x40c),new Set()),_0x53d09f(this,_0x2b637a(0x2d6),new Map()),_0x53d09f(this,_0x2b637a(0x4bb),null),_0x53d09f(this,_0x2b637a(0x4b2),new Map()),_0x53d09f(this,_0x2b637a(0x55e),new Map()),this[_0x2b637a(0x546)]();}[_0x57b986(0x46e)](){const _0x47f9da=_0x57b986;super[_0x47f9da(0x46e)](),this[_0x47f9da(0x4b2)]['forEach']((_0x322484,_0x468a7c)=>this['_removeClearOtherTimer'](_0x468a7c)),this['_heartbeatTimer']&&window[_0x47f9da(0x28a)](this[_0x47f9da(0x4bb)]);}[_0x57b986(0x35e)](_0x59181e){const _0x4a714e=_0x57b986;return this[_0x4a714e(0x31d)](_0x59181e)[_0x4a714e(0x334)](_0x4bb16b[_0x4a714e(0x23d)]());}[_0x57b986(0x531)](_0x1aa751){const _0x2b26a5=_0x57b986;this[_0x2b26a5(0x40c)][_0x2b26a5(0x349)]===0x0&&this[_0x2b26a5(0x31c)](),this[_0x2b26a5(0x40c)][_0x2b26a5(0x2b7)](_0x1aa751),this[_0x2b26a5(0x4a1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1aa751],'isForwarded':!0x1});}['disposeUnit'](_0x4962e0){const _0x54e403=_0x57b986;this[_0x54e403(0x40c)]['delete'](_0x4962e0),this[_0x54e403(0x40c)][_0x54e403(0x349)]===0x0&&this[_0x54e403(0x4bb)]&&window[_0x54e403(0x28a)](this[_0x54e403(0x4bb)]);}['_init'](){const _0x2444e1=_0x57b986;this[_0x2444e1(0x250)](_0x4cdaf4[_0x2444e1(0x56b)](_0x4bb16b[_0x2444e1(0x228)](window,_0x2444e1(0x369))[_0x2444e1(0x29e)](_0x1a6fb6=>{const _0x3929a2=_0x2444e1;if(_0x1a6fb6['key']!==_0x265087||!_0x1a6fb6['newValue'])return;const _0x157bb3=JSON[_0x3929a2(0x4d5)](_0x1a6fb6['newValue']);this[_0x3929a2(0x481)](_0x157bb3);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2444e1(0x2ac)],'unitIDs':Array[_0x2444e1(0x1bf)](this[_0x2444e1(0x40c)])}));}[_0x57b986(0x481)](_0x517b6b){const _0x53e4fe=_0x57b986;switch(_0x517b6b[_0x53e4fe(0x239)]){case 0x0:this[_0x53e4fe(0x3bb)](_0x517b6b);break;case 0x1:this[_0x53e4fe(0x3ce)](_0x517b6b);break;case 0x2:this[_0x53e4fe(0x37f)](_0x517b6b);break;}}[_0x57b986(0x3bb)](_0x5b0736){const _0x3af383=_0x57b986,{unitIDs:_0x19869b,memberID:_0x5920a1,isForwarded:_0x222000}=_0x5b0736;_0x19869b[_0x3af383(0x2bc)](_0x563886=>{const _0x236548=_0x3af383;if(!_0x222000&&this['_unitOnClients'][_0x236548(0x458)](_0x563886)&&this[_0x236548(0x31d)](_0x563886)[_0x236548(0x1bd)](0x1),!this['_unitOnClients'][_0x236548(0x458)](_0x563886)||!this[_0x236548(0x2d6)][_0x236548(0x408)](_0x563886)[_0x236548(0x458)](_0x5920a1)){const _0x35ef57=this[_0x236548(0x2d6)]['get'](_0x563886)||new Set();_0x35ef57[_0x236548(0x2b7)](_0x5920a1),this['_unitOnClients'][_0x236548(0x2c3)](_0x563886,_0x35ef57),this[_0x236548(0x326)](_0x5920a1);}}),_0x222000||this[_0x3af383(0x4a1)]({'type':0x0,'memberID':this[_0x3af383(0x2ac)],'unitIDs':[...this[_0x3af383(0x40c)]],'isForwarded':!0x0});}[_0x57b986(0x326)](_0x41c79a){const _0x3d66b1=_0x57b986;this[_0x3d66b1(0x4cc)](_0x41c79a);const _0x3e6142=window[_0x3d66b1(0x51a)](()=>{const _0x55d9e7=_0x3d66b1;this['_unitOnClients'][_0x55d9e7(0x2bc)](_0x51cc70=>{const _0x53b720=_0x55d9e7;_0x51cc70[_0x53b720(0x391)](_0x41c79a);});},_0x17198a*0x2);this['_clearOtherTimers'][_0x3d66b1(0x2c3)](_0x41c79a,_0x3e6142);}[_0x57b986(0x4cc)](_0x51ba06){const _0x4b4cdf=_0x57b986;if(this[_0x4b4cdf(0x4b2)][_0x4b4cdf(0x458)](_0x51ba06)){const _0x822089=this[_0x4b4cdf(0x4b2)][_0x4b4cdf(0x408)](_0x51ba06);_0x822089&&window[_0x4b4cdf(0x404)](_0x822089),this[_0x4b4cdf(0x4b2)][_0x4b4cdf(0x2c3)](_0x51ba06,null);}}[_0x57b986(0x3ce)](_0x98cbf0){const _0x516ea6=_0x57b986,{memberID:_0x325e91,unitIDs:_0x2f0a89}=_0x98cbf0;_0x2f0a89['forEach'](_0xca1829=>{const _0x1eb1c8=_0x23df;var _0x5e577f;const _0x2dd82b=this[_0x1eb1c8(0x2d6)][_0x1eb1c8(0x408)](_0xca1829);_0x2dd82b&&(_0x2dd82b[_0x1eb1c8(0x391)](_0x325e91),(_0x5e577f=this[_0x1eb1c8(0x31d)](_0xca1829))==null||_0x5e577f[_0x1eb1c8(0x1bd)](_0x2dd82b[_0x1eb1c8(0x349)]===0x0?0x0:0x1));}),this[_0x516ea6(0x4cc)](_0x325e91);}[_0x57b986(0x37f)](_0x55b2bf){const _0x36e86a=_0x57b986;this[_0x36e86a(0x326)](_0x55b2bf[_0x36e86a(0x537)]);}[_0x57b986(0x4a1)](_0x144a7d){const _0x7e7d5=_0x57b986;localStorage['setItem'](_0x265087,JSON[_0x7e7d5(0x528)](_0x144a7d));}[_0x57b986(0x31c)](){const _0x390eea=_0x57b986;this[_0x390eea(0x4bb)]=window['setInterval'](()=>{const _0x523ccd=_0x390eea;this[_0x523ccd(0x4a1)]({'type':0x2,'memberID':this[_0x523ccd(0x2ac)]});},_0x17198a);}['_ensureSubject'](_0x31e02a){const _0x11d611=_0x57b986;return this[_0x11d611(0x55e)][_0x11d611(0x458)](_0x31e02a)||this[_0x11d611(0x55e)][_0x11d611(0x2c3)](_0x31e02a,new _0x4bb16b['BehaviorSubject'](0x0)),this['_unitStatus'][_0x11d611(0x408)](_0x31e02a);}}var _0x50a955=Object[_0x57b986(0x1f4)],_0x48f3f1=Object[_0x57b986(0x405)],_0x1f27fc=(_0x35d123,_0x44baf6,_0x1d6c58,_0x10542f)=>{const _0x2cd3be=_0x57b986;for(var _0x3a036e=_0x10542f>0x1?void 0x0:_0x10542f?_0x48f3f1(_0x44baf6,_0x1d6c58):_0x44baf6,_0x39677e=_0x35d123[_0x2cd3be(0x397)]-0x1,_0x40ffc8;_0x39677e>=0x0;_0x39677e--)(_0x40ffc8=_0x35d123[_0x39677e])&&(_0x3a036e=(_0x10542f?_0x40ffc8(_0x44baf6,_0x1d6c58,_0x3a036e):_0x40ffc8(_0x3a036e))||_0x3a036e);return _0x10542f&&_0x3a036e&&_0x50a955(_0x44baf6,_0x1d6c58,_0x3a036e),_0x3a036e;},_0x2e15bb=(_0x5c6ebd,_0x1e1d5e)=>(_0x4f462a,_0x1e1a9e)=>_0x1e1d5e(_0x4f462a,_0x1e1a9e,_0x5c6ebd);let _0x29ca68=class{constructor(_0x413bc5,_0x27870a){this['_injector']=_0x413bc5,this['_transformService']=_0x27870a;}[_0x57b986(0x270)](_0xdc29e7){const _0x13d96d=_0x57b986;this[_0x13d96d(0x50e)](_0xdc29e7),this['_transformPreviousActiveRange'](_0xdc29e7);}['transformRemoteChangeset'](_0x7d75c9){const _0x519bf1=_0x57b986,_0x23b9bf=this[_0x519bf1(0x260)]['get'](_0x3fcd1a[_0x519bf1(0x3de)]),{redoCache:_0x3cdf94}=_0x23b9bf[_0x519bf1(0x57c)]();if(_0x3cdf94[_0x519bf1(0x397)]===0x0)return _0x7d75c9;let _0x3c3500=_0x4cdaf4['Tools'][_0x519bf1(0x2cb)](_0x7d75c9[_0x519bf1(0x526)][0x0]);for(let _0x4160ac=0x0;_0x4160ac<_0x3cdf94[_0x519bf1(0x397)];_0x4160ac++){const _0x4d2cb2={'id':_0x519bf1(0x367),'params':{..._0x3cdf94[_0x4160ac]}},_0x28b2d0=this[_0x519bf1(0x26d)][_0x519bf1(0x347)](_0x3c3500,_0x4d2cb2,!0x1);if(_0x329b63[_0x519bf1(0x4de)](_0x28b2d0))throw _0x28b2d0['error'];_0x3c3500=_0x28b2d0['m1Prime'];}return{..._0x4cdaf4[_0x519bf1(0x2dc)]['deepClone'](_0x7d75c9),'mutations':[_0x3c3500]};}[_0x57b986(0x50e)](_0xbd1bc4){const _0x39ffab=_0x57b986,_0x5b38f2=this['_injector'][_0x39ffab(0x408)](_0x3fcd1a[_0x39ffab(0x3de)]),{undoCache:_0x1a8463,redoCache:_0x5028b7}=_0x5b38f2[_0x39ffab(0x57c)]();if(_0x1a8463[_0x39ffab(0x397)]===0x0||_0x5028b7[_0x39ffab(0x397)]===0x0)return;const _0x14aacf=[],_0x4af519=[];let _0x1c1cc6=_0x4cdaf4['Tools'][_0x39ffab(0x2cb)](_0xbd1bc4[_0x39ffab(0x526)][0x0]),_0x185e0e=_0x4cdaf4[_0x39ffab(0x2dc)][_0x39ffab(0x2cb)](_0xbd1bc4['mutations'][0x0]);for(let _0x12365e=_0x1a8463[_0x39ffab(0x397)]-0x1;_0x12365e>=0x0;_0x12365e--){const _0x5c0a9e={'id':'doc.mutation.rich-text-editing','params':{..._0x1a8463[_0x12365e]}},_0x4feba={'id':_0x39ffab(0x367),'params':{..._0x5028b7[_0x12365e]}},_0x2d33d8=this[_0x39ffab(0x26d)]['transformMutation'](_0x1c1cc6,_0x5c0a9e,!0x1),_0x1a700e=this[_0x39ffab(0x26d)]['transformMutation'](_0x185e0e,_0x4feba,!0x1);if(_0x329b63[_0x39ffab(0x4de)](_0x2d33d8))throw _0x2d33d8[_0x39ffab(0x4a4)];if(_0x329b63[_0x39ffab(0x4de)](_0x1a700e))throw _0x1a700e[_0x39ffab(0x4a4)];_0x14aacf[_0x39ffab(0x582)](_0x2d33d8[_0x39ffab(0x22e)][_0x39ffab(0x455)]),_0x4af519[_0x39ffab(0x582)](_0x1a700e[_0x39ffab(0x22e)][_0x39ffab(0x455)]),_0x1c1cc6=_0x2d33d8[_0x39ffab(0x27b)],_0x185e0e=_0x1a700e[_0x39ffab(0x27b)];}_0x5b38f2[_0x39ffab(0x536)]({'undoCache':_0x14aacf,'redoCache':_0x4af519});}[_0x57b986(0x43d)](_0x5b57e1){const _0x23b5c0=_0x57b986,_0x4329af=this['_injector'][_0x23b5c0(0x408)](_0x3fcd1a[_0x23b5c0(0x3de)]),_0x89284=_0x4329af[_0x23b5c0(0x289)]();if(_0x89284==null)return;const _0x13b863=[{'id':_0x23b5c0(0x367),'params':{'unitId':_0x5b57e1['unitID'],'actions':null,'textRanges':[_0x89284]}}],_0x3a5259=this[_0x23b5c0(0x26d)]['transformMutationsWithChangeset'](_0x5b57e1,_0x13b863);if(!_0x329b63[_0x23b5c0(0x276)](_0x3a5259))throw _0x3a5259[_0x23b5c0(0x4a4)];const _0x36416b=_0x3a5259['m2Prime'][0x0][_0x23b5c0(0x455)]['textRanges'];Array[_0x23b5c0(0x2d5)](_0x36416b)&&_0x36416b[_0x23b5c0(0x397)]&&_0x4329af[_0x23b5c0(0x353)](_0x36416b[0x0]);}};_0x29ca68=_0x1f27fc([_0x2e15bb(0x0,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x2e15bb(0x1,_0x329b63['ITransformService'])],_0x29ca68);var _0x4ba7de=Object['defineProperty'],_0x2494ba=Object[_0x57b986(0x405)],_0x466bd0=(_0x1af3b1,_0x347d94,_0x520353,_0x277d8c)=>{for(var _0x1bab4e=_0x277d8c>0x1?void 0x0:_0x277d8c?_0x2494ba(_0x347d94,_0x520353):_0x347d94,_0x2b89f9=_0x1af3b1['length']-0x1,_0x3874c0;_0x2b89f9>=0x0;_0x2b89f9--)(_0x3874c0=_0x1af3b1[_0x2b89f9])&&(_0x1bab4e=(_0x277d8c?_0x3874c0(_0x347d94,_0x520353,_0x1bab4e):_0x3874c0(_0x1bab4e))||_0x1bab4e);return _0x277d8c&&_0x1bab4e&&_0x4ba7de(_0x347d94,_0x520353,_0x1bab4e),_0x1bab4e;},_0x1f8ad3=(_0x2373c5,_0xcc95ab)=>(_0x5182e5,_0x3009b)=>_0xcc95ab(_0x5182e5,_0x3009b,_0x2373c5);let _0x38542b=class{constructor(_0x2ec909,_0x5b3ccc){const _0x247e4a=_0x57b986;this[_0x247e4a(0x260)]=_0x2ec909,this['_transformService']=_0x5b3ccc;}[_0x57b986(0x4c8)](_0x18add6){const _0x2316ea=_0x57b986;var _0x46382b;const _0x66638f=this[_0x2316ea(0x260)][_0x2316ea(0x408)](_0x3fcd1a[_0x2316ea(0x294)]),_0x2f70ab=(_0x46382b=_0x66638f[_0x2316ea(0x409)]())!=null?_0x46382b:[],_0x57980f=_0x2f70ab==null?void 0x0:_0x2f70ab[_0x2316ea(0x2d2)](_0x3fcd1a[_0x2316ea(0x3a6)]);if(_0x57980f[_0x2316ea(0x397)]===0x0)return;const _0x59d655=[{'id':_0x2316ea(0x367),'params':{'unitId':_0x18add6[_0x2316ea(0x40f)],'actions':null,'textRanges':_0x57980f}}],_0x2410cd=this[_0x2316ea(0x26d)]['transformMutationsWithChangeset'](_0x18add6,_0x59d655);if(!_0x329b63[_0x2316ea(0x276)](_0x2410cd))throw _0x2410cd['error'];const _0x1d344a=_0x2410cd['m2Prime'][0x0][_0x2316ea(0x455)]['textRanges'];Array['isArray'](_0x1d344a)&&_0x1d344a[_0x2316ea(0x397)]&&_0x66638f[_0x2316ea(0x39e)](_0x1d344a,!0x1);}};_0x38542b=_0x466bd0([_0x1f8ad3(0x0,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x1f8ad3(0x1,_0x329b63[_0x57b986(0x2a0)])],_0x38542b);function _0x313fed(_0x70e805){const _0x51749a=_0x57b986;let _0x4bfa27='';for(const _0x171082 of _0x70e805){const {startOffset:_0x49c4d5,endOffset:_0xbe1c9b,isActive:_0x2184b8}=_0x171082;_0x4bfa27[_0x51749a(0x397)]&&(_0x4bfa27+=','),_0x4bfa27+=_0x49c4d5+':'+_0xbe1c9b+':'+(_0x2184b8?'1':'0');}return _0x4bfa27;}function _0x1d44a5(_0x1bfacc){const _0xb9928a=_0x57b986,_0x31bf91=_0x1bfacc[_0xb9928a(0x548)](','),_0x4da960=[];for(const _0x12eadc of _0x31bf91){const [_0x4a262c,_0x4c5e6e,_0x43554e]=_0x12eadc[_0xb9928a(0x548)](':');_0x4da960['push']({'startOffset':Number(_0x4a262c),'endOffset':Number(_0x4c5e6e),'collapsed':_0x4a262c===_0x4c5e6e,'isActive':_0x43554e==='1'});}return _0x4da960['some'](_0x388ad3=>_0x388ad3[_0xb9928a(0x3f0)])||(_0x4da960[0x0][_0xb9928a(0x3f0)]=!0x0),_0x4da960;}class _0x2f17dc extends _0x4cdaf4[_0x57b986(0x499)]{constructor(){const _0x49a8d2=_0x57b986;super(...arguments),_0x53d09f(this,_0x49a8d2(0x248),new _0x4bb16b[(_0x49a8d2(0x2e9))](null)),_0x53d09f(this,_0x49a8d2(0x4b9),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x15c533){const _0x241962=_0x57b986,{unitID:_0x25600e,memberID:_0x55d5c3,textRanges:_0xd51a28}=_0x15c533,_0x1a5a9c=_0x313fed(_0xd51a28),_0x351202={'unitID':_0x25600e,'memberID':_0x55d5c3,'selection':_0x1a5a9c};this[_0x241962(0x248)][_0x241962(0x1bd)](_0x351202);}}var _0x3270d5=Object[_0x57b986(0x1f4)],_0x38f40d=Object[_0x57b986(0x405)],_0x377330=(_0x317e7c,_0x1dcfed,_0x444607,_0x2952d0)=>{for(var _0xc9500c=_0x2952d0>0x1?void 0x0:_0x2952d0?_0x38f40d(_0x1dcfed,_0x444607):_0x1dcfed,_0x2accb5=_0x317e7c['length']-0x1,_0x44c1ad;_0x2accb5>=0x0;_0x2accb5--)(_0x44c1ad=_0x317e7c[_0x2accb5])&&(_0xc9500c=(_0x2952d0?_0x44c1ad(_0x1dcfed,_0x444607,_0xc9500c):_0x44c1ad(_0xc9500c))||_0xc9500c);return _0x2952d0&&_0xc9500c&&_0x3270d5(_0x1dcfed,_0x444607,_0xc9500c),_0xc9500c;},_0xad87c3=(_0xbc0802,_0x59eabe)=>(_0x5c3212,_0xfacc74)=>_0x59eabe(_0x5c3212,_0xfacc74,_0xbc0802);let _0x4e6a4d=class{constructor(_0x11e9e7,_0x33945d){const _0x487034=_0x57b986;this['_injector']=_0x11e9e7,this[_0x487034(0x26d)]=_0x33945d;}['transformSelections'](_0x1a4831){const _0x2d2200=_0x57b986;var _0x2f177f,_0x19e7ef,_0xee6b37,_0x34aadb;const _0x13243b=this[_0x2d2200(0x260)][_0x2d2200(0x408)](_0x3a01f6[_0x2d2200(0x22f)]),{pluginName:_0x7568dd,unitId:_0x1d220a,sheetId:_0x367677}=_0x13243b[_0x2d2200(0x3a8)]()||{},_0x4b2e19=(_0x2f177f=_0x13243b[_0x2d2200(0x409)]())!=null?_0x2f177f:[];if(_0x4b2e19['length']===0x0||!_0x7568dd||!_0x1d220a||!_0x367677)return;const _0x2ccf83=[{'id':_0x3a01f6[_0x2d2200(0x467)]['id'],'params':{'unitId':_0x1d220a,'subUnitId':_0x367677,'pluginName':_0x7568dd,'selections':_0x4cdaf4[_0x2d2200(0x2dc)]['deepClone'](_0x4b2e19)}}],_0x2d6258=this[_0x2d2200(0x26d)][_0x2d2200(0x342)](_0x1a4831,_0x2ccf83);if(!_0x329b63[_0x2d2200(0x276)](_0x2d6258))throw _0x2d6258[_0x2d2200(0x4a4)];const _0x3ef79d=(_0x34aadb=(_0xee6b37=(_0x19e7ef=_0x2d6258[_0x2d2200(0x22e)][0x0])==null?void 0x0:_0x19e7ef['params'])==null?void 0x0:_0xee6b37['selections'])!=null?_0x34aadb:_0x4b2e19;Array[_0x2d2200(0x2d5)](_0x3ef79d)&&_0x3ef79d['length']&&this['_injector'][_0x2d2200(0x408)](_0x4cdaf4[_0x2d2200(0x46c)])[_0x2d2200(0x21f)](_0x3a01f6['SetSelectionsOperation']['id'],{'unitId':_0x1d220a,'subUnitId':_0x367677,'pluginName':_0x7568dd,'selections':_0x3ef79d});}};_0x4e6a4d=_0x377330([_0xad87c3(0x0,_0x12925a['Inject'](_0x12925a[_0x57b986(0x52f)])),_0xad87c3(0x1,_0x329b63[_0x57b986(0x2a0)])],_0x4e6a4d);const _0x452201=new Set([_0x3a01f6[_0x57b986(0x4b3)]['id']]);function _0x121060(_0xd537be,_0x383a39,_0x4e931b,_0x21aa36,_0x5f3fec){const _0x49fe1f=_0x57b986;var _0x47b5e9,_0x1a8a82,_0x1ad815,_0x9e9919;const _0xba4cb7=[];for(const _0x4d898b of _0xd537be)if(_0x452201[_0x49fe1f(0x458)](_0x4d898b['id'])){if(_0xba4cb7[_0x49fe1f(0x397)]>0x0)break;_0xba4cb7['push'](_0x4d898b);break;}else _0xba4cb7[_0x49fe1f(0x2a8)](_0x4d898b);const _0x381304=(_0x1a8a82=(_0x47b5e9=_0x5f3fec['getCurrentUser']())==null?void 0x0:_0x47b5e9[_0x49fe1f(0x364)])!=null?_0x1a8a82:'unknown',_0x5b84b8=(_0x9e9919=(_0x1ad815=_0x5f3fec[_0x49fe1f(0x227)]())==null?void 0x0:_0x1ad815[_0x49fe1f(0x537)])!=null?_0x9e9919:_0x49fe1f(0x233);return{'changeset':{'unitID':_0x383a39,'type':_0x329b63[_0x49fe1f(0x4b8)](_0x4e931b[_0x49fe1f(0x4ea)](_0x383a39)),'baseRev':_0x21aa36[_0x49fe1f(0x577)](_0x383a39),'revision':0x0,'userID':_0x381304,'memberID':_0x5b84b8,'mutations':_0xba4cb7},'pendingMutations':_0xd537be[_0x49fe1f(0x45a)](_0xba4cb7[_0x49fe1f(0x397)])};}function _0x52237b(_0x18a879,_0x590222,_0x2e43c0,_0x2f44ba,_0x25527b){const _0x174f5a=_0x57b986;var _0x39f768,_0x47dfa8,_0x5e7d71,_0x4b1917;const _0x4f178d=[_0x18a879[_0x174f5a(0x3d7)]((_0xc2d3e9,_0x5774f8)=>{const _0x2ce3b1=_0x174f5a;var _0x49ca4d;const {id:_0x56ae92}=_0xc2d3e9,{id:_0x196e43,type:_0x36fe5b}=_0x5774f8,_0x155402=(_0x49ca4d=_0xc2d3e9[_0x2ce3b1(0x455)])!=null?_0x49ca4d:{'actions':null},_0x4683ff=_0x5774f8[_0x2ce3b1(0x455)];if(_0x56ae92&&_0x56ae92!==_0x196e43)throw new Error(_0x2ce3b1(0x329)+_0x56ae92+'\x20-\x20'+_0x196e43+'.');return{..._0xc2d3e9,'id':_0x196e43,'type':_0x36fe5b,'params':{'unitId':_0x4683ff[_0x2ce3b1(0x2a3)],'textRanges':_0x4683ff[_0x2ce3b1(0x437)],'actions':_0x4cdaf4[_0x2ce3b1(0x225)]['compose'](_0x155402['actions'],_0x4683ff[_0x2ce3b1(0x29a)])}};},{})],_0x4cf9d6=(_0x47dfa8=(_0x39f768=_0x25527b[_0x174f5a(0x227)]())==null?void 0x0:_0x39f768[_0x174f5a(0x364)])!=null?_0x47dfa8:_0x174f5a(0x233),_0x2c70ce=(_0x4b1917=(_0x5e7d71=_0x25527b[_0x174f5a(0x227)]())==null?void 0x0:_0x5e7d71[_0x174f5a(0x537)])!=null?_0x4b1917:'unknown';return{'changeset':{'unitID':_0x590222,'type':_0x329b63[_0x174f5a(0x4b8)](_0x2e43c0[_0x174f5a(0x4ea)](_0x590222)),'baseRev':_0x2f44ba[_0x174f5a(0x577)](_0x590222),'revision':0x0,'userID':_0x4cf9d6,'memberID':_0x2c70ce,'mutations':_0x4f178d},'pendingMutations':[]};}var _0x146d69=Object[_0x57b986(0x1f4)],_0x5b1da3=Object[_0x57b986(0x405)],_0x18f1be=(_0x3a2496,_0x857b4f,_0x3d1886,_0x214164)=>{const _0x1f6cd3=_0x57b986;for(var _0x1bccce=_0x214164>0x1?void 0x0:_0x214164?_0x5b1da3(_0x857b4f,_0x3d1886):_0x857b4f,_0x5796ac=_0x3a2496[_0x1f6cd3(0x397)]-0x1,_0x79076d;_0x5796ac>=0x0;_0x5796ac--)(_0x79076d=_0x3a2496[_0x5796ac])&&(_0x1bccce=(_0x214164?_0x79076d(_0x857b4f,_0x3d1886,_0x1bccce):_0x79076d(_0x1bccce))||_0x1bccce);return _0x214164&&_0x1bccce&&_0x146d69(_0x857b4f,_0x3d1886,_0x1bccce),_0x1bccce;},_0x326931=(_0x1aff52,_0x4f1f97)=>(_0x4e2a99,_0x578c23)=>_0x4f1f97(_0x4e2a99,_0x578c23,_0x1aff52),_0x5185a4=(_0x538d2b=>(_0x538d2b['NOT_COLLAB']=_0x57b986(0x1c2),_0x538d2b['SYNCED']='synced',_0x538d2b[_0x57b986(0x2f7)]='pending',_0x538d2b[_0x57b986(0x532)]=_0x57b986(0x1fc),_0x538d2b[_0x57b986(0x30f)]='awaiting_with_pending',_0x538d2b['FETCH_MISS']=_0x57b986(0x234),_0x538d2b[_0x57b986(0x1de)]='conflict',_0x538d2b[_0x57b986(0x26f)]=_0x57b986(0x4f8),_0x538d2b))(_0x5185a4||{});class _0x41a5eb{constructor(_0xc7086c,_0xbd7aa2,_0x2de628,_0x1a37fa,_0x1a92d3,_0x186831,_0x1165d9,_0x548ba3,_0x1b5aea){const _0x26d293=_0x57b986;_0x53d09f(this,_0x26d293(0x352),null),_0x53d09f(this,_0x26d293(0x4b5),[]),(this[_0x26d293(0x40f)]=_0xc7086c,this[_0x26d293(0x239)]=_0xbd7aa2,this['_handler']=_0x1a92d3,this[_0x26d293(0x48f)]=_0x186831,this[_0x26d293(0x366)]=_0x1165d9,this[_0x26d293(0x377)]=_0x548ba3,this[_0x26d293(0x2ca)]=_0x1b5aea,this['_awaitingChangeset']=_0x2de628,this[_0x26d293(0x4b5)]=_0x1a37fa);}[_0x57b986(0x2d0)](_0x279471){const _0x4dc7f1=_0x57b986,_0x36cd2d=this[_0x4dc7f1(0x377)][_0x4dc7f1(0x577)](this['unitID']);return _0x279471[_0x4dc7f1(0x49a)]>_0x36cd2d+0x1?(this['_handler'][_0x4dc7f1(0x1e7)]({'from':_0x36cd2d,'to':_0x279471['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x32196a){const _0x17ce5a=_0x57b986;this[_0x17ce5a(0x366)][_0x17ce5a(0x39a)](this[_0x17ce5a(0x40f)],_0x32196a);}[_0x57b986(0x540)](_0x23800e){const _0x2e68d4=_0x57b986;var _0x5acccd,_0x366227;(_0x366227=(_0x5acccd=this['_handler'])[_0x2e68d4(0x31e)])==null||_0x366227[_0x2e68d4(0x42b)](_0x5acccd,_0x23800e);}[_0x57b986(0x42e)](_0x1d9d38){const _0x3c58cf=_0x57b986;var _0x4ac6a2,_0x59f7cb;return(_0x59f7cb=(_0x4ac6a2=this[_0x3c58cf(0x3ad)])['onTransformIME'])==null?void 0x0:_0x59f7cb['call'](_0x4ac6a2,_0x1d9d38);}['_transformRemoteChangesetByIMECache'](_0x27bfef){const _0x5c5fdf=_0x57b986;var _0x2c6987,_0x5b6b20,_0x3f7920;return(_0x3f7920=(_0x5b6b20=(_0x2c6987=this[_0x5c5fdf(0x3ad)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x5b6b20[_0x5c5fdf(0x42b)](_0x2c6987,_0x27bfef))!=null?_0x3f7920:_0x27bfef;}[_0x57b986(0x2b0)](_0xc3714e){const _0x55a8cb=_0x57b986;var _0x52a390,_0x35764b;if(this[_0x55a8cb(0x239)]===_0x1f330d['UNIVER_DOC']){const {unitID:_0x3017ec,mutations:_0x53d7a7,memberID:_0x36497a}=_0xc3714e,_0x453140=_0x53d7a7[0x0][_0x55a8cb(0x455)][_0x55a8cb(0x437)];Array[_0x55a8cb(0x2d5)](_0x453140)&&_0x453140['length']>0x0&&((_0x35764b=(_0x52a390=this[_0x55a8cb(0x3ad)])[_0x55a8cb(0x23b)])==null||_0x35764b[_0x55a8cb(0x42b)](_0x52a390,{'unitID':_0x3017ec,'memberID':_0x36497a,'textRanges':_0x453140}));}}[_0x57b986(0x427)](){const _0x2eafef=_0x57b986;this[_0x2eafef(0x2ca)][_0x2eafef(0x37a)](this[_0x2eafef(0x40f)],this['type'],this['_awaitingChangeset'],this[_0x2eafef(0x4b5)]);}['_getCurrentRevision'](){const _0x4abeed=_0x57b986;return this[_0x4abeed(0x377)]['getCurrentRevForDocument'](this[_0x4abeed(0x40f)]);}['_incrementRevisionNumber'](){const _0x1e4cb9=_0x57b986;this[_0x1e4cb9(0x377)]['incrementRevForDocument'](this[_0x1e4cb9(0x40f)]);}[_0x57b986(0x291)](_0x2c2f06){const _0x1ece31=_0x57b986;var _0x3a9765;const _0x3d1c8d=this[_0x1ece31(0x2e4)](_0x2c2f06),_0x43766e=_0x4cdaf4[_0x1ece31(0x524)](_0x3d1c8d[_0x1ece31(0x526)],this[_0x1ece31(0x48f)],{'fromCollab':!0x0});if(!_0x43766e[_0x1ece31(0x3db)])throw _0x43766e[_0x1ece31(0x4a4)]instanceof Error?_0x43766e[_0x1ece31(0x4a4)]:new Error((_0x3a9765=_0x43766e[_0x1ece31(0x4a4)])!=null?_0x3a9765:_0x1ece31(0x2b5));this[_0x1ece31(0x42e)](_0x3d1c8d),this['_transformUndoredo'](_0x2c2f06),this[_0x1ece31(0x540)](_0x3d1c8d),this[_0x1ece31(0x2b0)](_0x3d1c8d),this[_0x1ece31(0x3af)]();}}let _0x58a1e7=class extends _0x41a5eb{constructor(_0x455865,_0x3058a3,_0x1ecc17,_0x35c9a2,_0x4fb093,_0xdce5f8,_0x5ebae9,_0x4d0beb,_0x16a7fd){const _0x2e2115=_0x57b986;super(_0x455865,_0x3058a3,null,[],_0x1ecc17,_0x4d0beb,_0x5ebae9,_0x35c9a2,_0x4fb093),_0x53d09f(this,'status','synced'),(this[_0x2e2115(0x260)]=_0xdce5f8,this[_0x2e2115(0x314)]=_0x16a7fd);}['appendMutation'](_0x44c9e8){const _0xfd3d67=_0x57b986,_0x4dd450=this[_0xfd3d67(0x260)][_0xfd3d67(0x545)](_0x56eb89,this[_0xfd3d67(0x40f)],this['type'],[_0x44c9e8],this[_0xfd3d67(0x3ad)]);return _0x4dd450[_0xfd3d67(0x451)](),_0x4dd450[_0xfd3d67(0x427)](),_0x4dd450;}[_0x57b986(0x221)](_0x403a66){const _0x426524=_0x57b986;if(this[_0x426524(0x2d0)](_0x403a66))return this[_0x426524(0x260)][_0x426524(0x545)](_0x340c05,this[_0x426524(0x40f)],this[_0x426524(0x239)],null,[],null,[_0x403a66],this[_0x426524(0x3ad)]);try{return this[_0x426524(0x291)](_0x403a66),this;}catch(_0x1249bf){return this[_0x426524(0x314)][_0x426524(0x4a4)](_0x426524(0x346),_0x1249bf),this;}}[_0x57b986(0x22b)](){const _0x4b5481=_0x57b986;throw new Error(_0x4b5481(0x398));}['onRemoteRej'](){const _0x233ff2=_0x57b986;throw new Error(_0x233ff2(0x2d1));}[_0x57b986(0x440)](){const _0x3474db=_0x57b986;return this[_0x3474db(0x260)][_0x3474db(0x545)](_0x3e4f1a,this[_0x3474db(0x40f)],this[_0x3474db(0x239)],null,[],this[_0x3474db(0x3ad)]);}[_0x57b986(0x489)](){return this;}[_0x57b986(0x4fc)](){const _0x243731=_0x57b986;throw new Error(_0x243731(0x1dc));}};_0x58a1e7=_0x18f1be([_0x326931(0x3,_0x12925a['Inject'](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0x4,_0x12925a[_0x57b986(0x42c)](_0x3f3314['LocalCacheService'])),_0x326931(0x5,_0x12925a['Inject'](_0x12925a[_0x57b986(0x52f)])),_0x326931(0x6,_0x4cdaf4[_0x57b986(0x2f8)]),_0x326931(0x7,_0x4cdaf4[_0x57b986(0x46c)]),_0x326931(0x8,_0x4cdaf4[_0x57b986(0x41c)])],_0x58a1e7);let _0x56eb89=class extends _0x41a5eb{constructor(_0x588636,_0x30ac49,_0xd8ef96,_0x5bd1ba,_0x40a81f,_0x5f1bd5,_0x137181,_0x1a500b,_0x41d191,_0x1376cd,_0x21f164,_0x35399e,_0x78e7ca,_0x5848f8){const _0x51b4c5=_0x57b986;super(_0x588636,_0x30ac49,null,_0xd8ef96,_0x5bd1ba,_0x1376cd,_0x5848f8,_0x5f1bd5,_0x137181),_0x53d09f(this,_0x51b4c5(0x2aa),'pending'),_0x53d09f(this,_0x51b4c5(0x3c9),null),_0x53d09f(this,'_sendingTimer',null),(this[_0x51b4c5(0x260)]=_0x40a81f,this['_memberService']=_0x1a500b,this[_0x51b4c5(0x314)]=_0x41d191,this[_0x51b4c5(0x323)]=_0x21f164,this[_0x51b4c5(0x26d)]=_0x35399e,this['_univerInstanceService']=_0x78e7ca);}['appendMutation'](_0x4bf2ab){return this['_pendingMutations']['push'](_0x4bf2ab),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x55cc5d){const _0x5e702f=_0x57b986;if(this[_0x5e702f(0x2d0)](_0x55cc5d))return this[_0x5e702f(0x222)](),this['_injector'][_0x5e702f(0x545)](_0x340c05,this[_0x5e702f(0x40f)],this[_0x5e702f(0x239)],null,this[_0x5e702f(0x4b5)],null,[_0x55cc5d],this[_0x5e702f(0x3ad)]);try{const _0x3a173d=this[_0x5e702f(0x26d)][_0x5e702f(0x342)](_0x55cc5d,this[_0x5e702f(0x4b5)]);if(_0x329b63['isTransformMutationsWithChangesetSuccess'](_0x3a173d)){const {c1Prime:_0x1f59c4,m2Prime:_0x39070f}=_0x3a173d;this[_0x5e702f(0x291)](_0x1f59c4);const _0x345b18=this[_0x5e702f(0x260)][_0x5e702f(0x545)](_0x56eb89,this[_0x5e702f(0x40f)],this[_0x5e702f(0x239)],_0x39070f,this['_handler']);return this['_clearScheduledTask'](),_0x345b18['_schedule'](this['_scheduleTimestamp']?Math[_0x5e702f(0x27f)](0x0,new Date()[_0x5e702f(0x47c)]()-this['_scheduleTimestamp']):this[_0x5e702f(0x363)]()),_0x345b18;}throw _0x3a173d[_0x5e702f(0x4a4)];}catch(_0x3146d6){return this['_logService']['error'](_0x3146d6),this[_0x5e702f(0x244)](!0x1);}}['onRemoteAck'](){const _0xe02429=_0x57b986;throw new Error(_0xe02429(0x4b1));}[_0x57b986(0x520)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x57b986(0x440)](){const _0x2cd53b=_0x57b986;return this[_0x2cd53b(0x222)](),this['_injector'][_0x2cd53b(0x545)](_0x3e4f1a,this[_0x2cd53b(0x40f)],this[_0x2cd53b(0x239)],null,this[_0x2cd53b(0x4b5)],this['_handler']);}[_0x57b986(0x489)](){return this;}[_0x57b986(0x451)](_0x5399c0){const _0x5a6357=_0x57b986;_0x5399c0=_0x5399c0!=null?_0x5399c0:this[_0x5a6357(0x363)](),this[_0x5a6357(0x3c9)]=new Date()[_0x5a6357(0x47c)](),this[_0x5a6357(0x32e)]=setTimeout(()=>{const _0x178514=_0x5a6357;this[_0x178514(0x222)]();let _0x4aa6e1=null;switch(this[_0x178514(0x239)]){case _0x1f330d[_0x178514(0x1ed)]:{_0x4aa6e1=_0x121060(this[_0x178514(0x4b5)],this[_0x178514(0x40f)],this[_0x178514(0x3d9)],this['_revisionService'],this['_memberService']);break;}case _0x1f330d[_0x178514(0x510)]:{_0x4aa6e1=_0x52237b(this['_pendingMutations'],this[_0x178514(0x40f)],this['_univerInstanceService'],this[_0x178514(0x377)],this[_0x178514(0x1d3)]);break;}default:throw new Error(_0x178514(0x253)+this['type']+_0x178514(0x3c7));}const {changeset:_0x43ecb5,pendingMutations:_0x4238c8}=_0x4aa6e1;this[_0x178514(0x3ad)][_0x178514(0x3e3)](_0x43ecb5);const _0x2ba2c3=_0x4238c8[_0x178514(0x397)]?this['_injector'][_0x178514(0x545)](_0x3a588f,this[_0x178514(0x40f)],this[_0x178514(0x239)],_0x43ecb5,_0x4238c8,this[_0x178514(0x3ad)]):this['_injector'][_0x178514(0x545)](_0x304c89,this[_0x178514(0x40f)],this[_0x178514(0x239)],_0x43ecb5,this[_0x178514(0x3ad)]);_0x2ba2c3[_0x178514(0x427)](),this[_0x178514(0x3ad)]['onStateChange'](this,_0x2ba2c3);},_0x5399c0);}[_0x57b986(0x363)](){const _0x31abe7=_0x57b986;var _0x40a16b;return(_0x40a16b=this[_0x31abe7(0x323)][_0x31abe7(0x51f)](_0x20edc7))!=null?_0x40a16b:0x7d0;}['resend'](){const _0x51388=_0x57b986;throw new Error(_0x51388(0x321));}[_0x57b986(0x222)](){const _0x5ef3bd=_0x57b986;this[_0x5ef3bd(0x32e)]!=null&&(clearTimeout(this[_0x5ef3bd(0x32e)]),this[_0x5ef3bd(0x32e)]=null);}[_0x57b986(0x244)](_0x1859d7){const _0x2a9581=_0x57b986;return this['_clearScheduledTask'](),this[_0x2a9581(0x260)][_0x2a9581(0x545)](_0x4a38e8,this[_0x2a9581(0x40f)],this[_0x2a9581(0x239)],null,this[_0x2a9581(0x4b5)],this[_0x2a9581(0x3ad)],_0x1859d7);}};_0x56eb89=_0x18f1be([_0x326931(0x4,_0x12925a['Inject'](_0x12925a[_0x57b986(0x52f)])),_0x326931(0x5,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0x6,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x361)])),_0x326931(0x7,_0x12925a['Inject'](_0x4495e7)),_0x326931(0x8,_0x4cdaf4['ILogService']),_0x326931(0x9,_0x4cdaf4[_0x57b986(0x46c)]),_0x326931(0xa,_0x4cdaf4[_0x57b986(0x4f1)]),_0x326931(0xb,_0x329b63[_0x57b986(0x2a0)]),_0x326931(0xc,_0x4cdaf4[_0x57b986(0x28e)]),_0x326931(0xd,_0x4cdaf4[_0x57b986(0x2f8)])],_0x56eb89);let _0x304c89=class extends _0x41a5eb{constructor(_0x130072,_0x165093,_0x1255de,_0x289749,_0x3b234a,_0x157fb3,_0xf3508d,_0x51a80a,_0x5be776,_0x497541,_0x32ad8a){const _0x191aba=_0x57b986;super(_0x130072,_0x165093,_0x1255de,[],_0x289749,_0x51a80a,_0x32ad8a,_0x157fb3,_0xf3508d),_0x53d09f(this,'status',_0x191aba(0x1fc)),(this[_0x191aba(0x260)]=_0x3b234a,this[_0x191aba(0x314)]=_0x5be776,this[_0x191aba(0x26d)]=_0x497541);}[_0x57b986(0x538)](_0x42b559){const _0x5c71c6=_0x57b986,_0x31bdef=this[_0x5c71c6(0x260)]['createInstance'](_0x3a588f,this[_0x5c71c6(0x40f)],this['type'],this[_0x5c71c6(0x352)],[_0x42b559],this[_0x5c71c6(0x3ad)]);return _0x31bdef['_updateLocalCache'](),_0x31bdef;}['onRemoteChangeset'](_0x10164d){const _0x5a21d8=_0x57b986;if(this['_checkMissing'](_0x10164d))return this[_0x5a21d8(0x260)][_0x5a21d8(0x545)](_0x340c05,this[_0x5a21d8(0x40f)],this[_0x5a21d8(0x239)],this[_0x5a21d8(0x352)],[],null,[_0x10164d],this[_0x5a21d8(0x3ad)]);try{const _0x7bf1d8=this['_transformService']['transformChangesets']([_0x10164d],[this[_0x5a21d8(0x352)]],!0x1);if(_0x329b63[_0x5a21d8(0x4ab)](_0x7bf1d8)){const {c1Prime:_0x26dd84,c2Prime:_0x28a854}=_0x7bf1d8;this[_0x5a21d8(0x291)](_0x26dd84[0x0]),_0x28a854[0x0]['baseRev']=this[_0x5a21d8(0x4f0)]();const _0x10d9d6=this[_0x5a21d8(0x260)][_0x5a21d8(0x545)](_0x304c89,this[_0x5a21d8(0x40f)],this[_0x5a21d8(0x239)],_0x28a854[0x0],this[_0x5a21d8(0x3ad)]);return _0x10d9d6[_0x5a21d8(0x427)](),_0x10d9d6;}return this['_onConflict'](!0x1);}catch(_0x46794a){return this[_0x5a21d8(0x314)]['error'](_0x46794a),this[_0x5a21d8(0x244)](!0x1);}}[_0x57b986(0x22b)](_0x64e827){const _0x20803a=_0x57b986,_0x16fefe=this[_0x20803a(0x377)][_0x20803a(0x577)](this[_0x20803a(0x40f)]);if(_0x64e827[_0x20803a(0x49a)]<_0x16fefe-0x1)return this;if(this[_0x20803a(0x2d0)](_0x64e827))return this['_injector'][_0x20803a(0x545)](_0x340c05,this['unitID'],this[_0x20803a(0x239)],null,[],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3b0673=this[_0x20803a(0x260)][_0x20803a(0x545)](_0x58a1e7,this[_0x20803a(0x40f)],this['type'],this[_0x20803a(0x3ad)]);return _0x3b0673['_updateLocalCache'](),_0x3b0673;}[_0x57b986(0x520)](_0x16627a){const _0x580cdb=_0x57b986;return this[_0x580cdb(0x244)](!!(_0x16627a!=null&&_0x16627a[_0x580cdb(0x4f4)]));}[_0x57b986(0x440)](){const _0x59d2f9=_0x57b986;return this[_0x59d2f9(0x260)]['createInstance'](_0x3e4f1a,this[_0x59d2f9(0x40f)],this[_0x59d2f9(0x239)],this[_0x59d2f9(0x352)],[],this[_0x59d2f9(0x3ad)]);}['toggleOnline'](){return this;}[_0x57b986(0x4fc)](){const _0x5243e1=_0x57b986;this[_0x5243e1(0x3ad)][_0x5243e1(0x3e3)](this[_0x5243e1(0x352)]);}[_0x57b986(0x244)](_0x73b9c8){const _0x3ec19f=_0x57b986;return this['_injector'][_0x3ec19f(0x545)](_0x4a38e8,this['unitID'],this['type'],this[_0x3ec19f(0x352)],[],this[_0x3ec19f(0x3ad)],_0x73b9c8);}};_0x304c89=_0x18f1be([_0x326931(0x4,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x326931(0x5,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0x6,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x361)])),_0x326931(0x7,_0x4cdaf4['ICommandService']),_0x326931(0x8,_0x4cdaf4[_0x57b986(0x41c)]),_0x326931(0x9,_0x329b63[_0x57b986(0x2a0)]),_0x326931(0xa,_0x4cdaf4[_0x57b986(0x2f8)])],_0x304c89);let _0x3a588f=class extends _0x41a5eb{constructor(_0x354744,_0x25f0e0,_0x346138,_0x2984ec,_0x2a1408,_0x1ce6d1,_0x20148b,_0x42e3c0,_0x3dc520,_0x1526e7,_0x560cff,_0x45e0a7){const _0x39332b=_0x57b986;super(_0x354744,_0x25f0e0,_0x346138,_0x2984ec,_0x2a1408,_0x3dc520,_0x45e0a7,_0x20148b,_0x42e3c0),_0x53d09f(this,_0x39332b(0x2aa),'awaiting_with_pending'),(this[_0x39332b(0x260)]=_0x1ce6d1,this['_logService']=_0x1526e7,this['_transformService']=_0x560cff);}[_0x57b986(0x538)](_0x3eeeca){const _0x37e556=_0x57b986;return this[_0x37e556(0x4b5)][_0x37e556(0x2a8)](_0x3eeeca),this;}['onRemoteChangeset'](_0x314e9f){const _0x179812=_0x57b986;if(this[_0x179812(0x2d0)](_0x314e9f))return this[_0x179812(0x260)][_0x179812(0x545)](_0x340c05,this[_0x179812(0x40f)],this[_0x179812(0x239)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x314e9f],this['_handler']);try{const _0x282e6c=this[_0x179812(0x26d)][_0x179812(0x4d9)]([_0x314e9f],[this['_awaitingChangeset']],!0x1);if(_0x329b63[_0x179812(0x4ab)](_0x282e6c)){const {c1Prime:_0x5d8987,c2Prime:_0x4f8b3c}=_0x282e6c,_0x50fec8=this[_0x179812(0x26d)][_0x179812(0x342)](_0x5d8987[0x0],this['_pendingMutations']);if(_0x329b63['isTransformMutationsWithChangesetSuccess'](_0x50fec8)){const {c1Prime:_0x4fb9ce,m2Prime:_0x575b8d}=_0x50fec8;return this['_executeRemoteChangeset'](_0x4fb9ce),_0x4f8b3c[0x0][_0x179812(0x36a)]=this[_0x179812(0x4f0)](),this['_injector']['createInstance'](_0x3a588f,this[_0x179812(0x40f)],this[_0x179812(0x239)],_0x4f8b3c[0x0],_0x575b8d,this[_0x179812(0x3ad)]);}throw _0x50fec8[_0x179812(0x4a4)];}throw _0x282e6c[_0x179812(0x4a4)];}catch(_0x15b914){return this[_0x179812(0x314)][_0x179812(0x4a4)](_0x15b914),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x34b6cd){const _0x5ba8a0=_0x57b986;if(this[_0x5ba8a0(0x2d0)](_0x34b6cd))return this[_0x5ba8a0(0x260)]['createInstance'](_0x340c05,this[_0x5ba8a0(0x40f)],this['type'],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x5ba8a0(0x3ad)]);this['_incrementRevisionNumber']();const _0x126808=this[_0x5ba8a0(0x260)][_0x5ba8a0(0x545)](_0x56eb89,this[_0x5ba8a0(0x40f)],this['type'],this[_0x5ba8a0(0x4b5)],this[_0x5ba8a0(0x3ad)]);return _0x126808[_0x5ba8a0(0x451)](),_0x126808[_0x5ba8a0(0x427)](),_0x126808;}['onRemoteRej'](_0x17f0ce){const _0x4bf286=_0x57b986;return this[_0x4bf286(0x244)](!!(_0x17f0ce!=null&&_0x17f0ce[_0x4bf286(0x4f4)]));}['toggleOffline'](){const _0x4dc275=_0x57b986;return this[_0x4dc275(0x260)][_0x4dc275(0x545)](_0x3e4f1a,this[_0x4dc275(0x40f)],this[_0x4dc275(0x239)],this[_0x4dc275(0x352)],this['_pendingMutations'],this[_0x4dc275(0x3ad)]);}['toggleOnline'](){return this;}[_0x57b986(0x4fc)](){const _0x52e57e=_0x57b986;this[_0x52e57e(0x3ad)][_0x52e57e(0x3e3)](this[_0x52e57e(0x352)]);}[_0x57b986(0x244)](_0x1f4bb6){const _0x10ed37=_0x57b986;return this[_0x10ed37(0x260)][_0x10ed37(0x545)](_0x4a38e8,this[_0x10ed37(0x40f)],this[_0x10ed37(0x239)],null,this[_0x10ed37(0x4b5)],this[_0x10ed37(0x3ad)],_0x1f4bb6);}};_0x3a588f=_0x18f1be([_0x326931(0x5,_0x12925a['Inject'](_0x12925a['Injector'])),_0x326931(0x6,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0x7,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x361)])),_0x326931(0x8,_0x4cdaf4[_0x57b986(0x46c)]),_0x326931(0x9,_0x4cdaf4[_0x57b986(0x41c)]),_0x326931(0xa,_0x329b63[_0x57b986(0x2a0)]),_0x326931(0xb,_0x4cdaf4[_0x57b986(0x2f8)])],_0x3a588f);let _0x4a38e8=class extends _0x41a5eb{constructor(_0x3ac15c,_0x3ffbcf,_0x494ce2,_0x11b70c,_0x51813c,_0x587c8e=!0x1,_0x3c1638,_0x1c7d7c,_0x512cd5,_0x469914,_0x644d59,_0x284b4c,_0x513204){const _0x543abe=_0x57b986;super(_0x3ac15c,_0x3ffbcf,_0x494ce2,_0x11b70c,_0x51813c,_0x1c7d7c,_0x512cd5,_0x644d59,_0x469914),_0x53d09f(this,_0x543abe(0x2aa),'conflict'),(this[_0x543abe(0x2c8)]=_0x587c8e,this[_0x543abe(0x3a7)]=_0x3c1638,this['_localeService']=_0x284b4c,this[_0x543abe(0x493)]=_0x513204,this[_0x543abe(0x3a2)](),this['_clearLocalCache'](),this[_0x543abe(0x2f5)]());}['appendMutation'](){return this;}[_0x57b986(0x221)](){return this;}[_0x57b986(0x22b)](){return this;}[_0x57b986(0x520)](){return this;}[_0x57b986(0x440)](){return this;}[_0x57b986(0x489)](){return this;}[_0x57b986(0x4fc)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x57b986(0x4fb)](){const _0x4a3278=_0x57b986;this[_0x4a3278(0x2ca)][_0x4a3278(0x37a)](this[_0x4a3278(0x40f)],this[_0x4a3278(0x239)],null,[]);}[_0x57b986(0x3a2)](){const _0x42a79e=_0x57b986;this[_0x42a79e(0x2c8)]?this[_0x42a79e(0x493)][_0x42a79e(0x560)]({'title':this[_0x42a79e(0x247)]['t'](_0x42a79e(0x473)),'content':this[_0x42a79e(0x247)]['t'](_0x42a79e(0x550)),'type':'error','duration':0x0}):this['_notificationService'][_0x42a79e(0x560)]({'title':this[_0x42a79e(0x247)]['t'](_0x42a79e(0x21b)),'content':this[_0x42a79e(0x247)]['t'](_0x42a79e(0x567)),'type':_0x42a79e(0x4a4),'duration':0x0});}[_0x57b986(0x2f5)](){const _0x4486f8=_0x57b986;this[_0x4486f8(0x3a7)][_0x4486f8(0x1be)](new _0x3a01f6[(_0x4486f8(0x373))](this[_0x4486f8(0x40f)])['id'],!0x1);}};_0x4a38e8=_0x18f1be([_0x326931(0x6,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x413)])),_0x326931(0x7,_0x4cdaf4[_0x57b986(0x46c)]),_0x326931(0x8,_0x4cdaf4[_0x57b986(0x2f8)]),_0x326931(0x9,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x361)])),_0x326931(0xa,_0x12925a['Inject'](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0xb,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4['LocaleService'])),_0x326931(0xc,_0x4ff465[_0x57b986(0x35c)])],_0x4a38e8);let _0x3e4f1a=class extends _0x41a5eb{constructor(_0xc49c34,_0x1c1284,_0x2efe19,_0x35ed71,_0xa863f3,_0x4baed7,_0x4a4e5c,_0xae6db4,_0x391421,_0x597c2c){const _0x58196b=_0x57b986;super(_0xc49c34,_0x1c1284,_0x2efe19,_0x35ed71,_0xa863f3,_0x391421,_0x597c2c,_0x4a4e5c,_0xae6db4),_0x53d09f(this,_0x58196b(0x2aa),_0x58196b(0x4f8)),this['_injector']=_0x4baed7;}[_0x57b986(0x538)](_0x5238c5){const _0x360d13=_0x57b986;return this[_0x360d13(0x4b5)][_0x360d13(0x2a8)](_0x5238c5),this[_0x360d13(0x427)](),this;}[_0x57b986(0x221)](_0x546bc2){const _0x50678b=_0x57b986;throw new Error(_0x50678b(0x2a4));}[_0x57b986(0x22b)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x57b986(0x520)](){const _0xc4aac5=_0x57b986;throw new Error(_0xc4aac5(0x49c));}['toggleOffline'](){return this;}[_0x57b986(0x489)](){const _0x3add35=_0x57b986,{_injector:_0x30905a,_pendingMutations:_0x172f20,_awaitingChangeset:_0x407440,unitID:_0x42b3ee,_handler:_0x37c736,type:_0x53369c}=this,_0x470af1=_0x644ba0(_0x30905a,_0x42b3ee,_0x53369c,_0x407440,_0x172f20,_0x37c736);return _0x470af1 instanceof _0x56eb89?_0x470af1[_0x3add35(0x451)]():(_0x470af1 instanceof _0x3a588f||_0x470af1 instanceof _0x304c89)&&_0x470af1[_0x3add35(0x4fc)](),_0x470af1;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x3e4f1a=_0x18f1be([_0x326931(0x5,_0x12925a[_0x57b986(0x42c)](_0x12925a['Injector'])),_0x326931(0x6,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0x7,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x361)])),_0x326931(0x8,_0x4cdaf4[_0x57b986(0x46c)]),_0x326931(0x9,_0x4cdaf4[_0x57b986(0x2f8)])],_0x3e4f1a);let _0x340c05=class extends _0x41a5eb{constructor(_0x29161f,_0x290baa,_0x47cee0,_0x1e7d70,_0x310d90,_0x162f44,_0x53edbd,_0x50118d,_0x1b851f,_0x393eea,_0x377c06,_0x52a320,_0x353961,_0x1a6305){const _0x3956fc=_0x57b986;super(_0x29161f,_0x290baa,_0x47cee0,_0x1e7d70,_0x53edbd,_0x52a320,_0x353961,_0x1b851f,_0x393eea),_0x53d09f(this,_0x3956fc(0x2aa),_0x3956fc(0x234)),(this[_0x3956fc(0x52e)]=_0x310d90,this[_0x3956fc(0x4db)]=_0x162f44,this['_injector']=_0x50118d,this[_0x3956fc(0x314)]=_0x377c06,this[_0x3956fc(0x26d)]=_0x1a6305);}['onMissedChangesetFetched'](_0x574f92){const _0x5dd548=_0x57b986;try{const _0x2d23ea=[..._0x574f92,...this['_queuedRemoteChangesets']],_0x581f9a=[this[_0x5dd548(0x352)]||this[_0x5dd548(0x52e)]][_0x5dd548(0x252)](_0x4d35ce=>!!_0x4d35ce);let _0x2f86cc,_0x252177;if(_0x581f9a['length']){const _0x3d114d=this[_0x5dd548(0x26d)][_0x5dd548(0x4d9)](_0x2d23ea,_0x581f9a,!0x1);if(!_0x329b63[_0x5dd548(0x4ab)](_0x3d114d))throw _0x3d114d[_0x5dd548(0x4a4)];_0x2f86cc=_0x3d114d['c1Prime'],_0x252177=_0x3d114d[_0x5dd548(0x3b0)];}else _0x2f86cc=_0x2d23ea,_0x252177=[];let _0x535ed0=this[_0x5dd548(0x4b5)];_0x2f86cc[_0x5dd548(0x2bc)](_0x30007e=>{const _0x50b4f1=_0x5dd548;let _0x4c1a60;if(_0x535ed0[_0x50b4f1(0x397)]){const _0x550cd2=this['_transformService']['transformMutationsWithChangeset'](_0x30007e,_0x535ed0);if(!_0x329b63[_0x50b4f1(0x276)](_0x550cd2))throw _0x550cd2[_0x50b4f1(0x4a4)];_0x4c1a60=_0x550cd2[_0x50b4f1(0x264)],_0x535ed0=_0x550cd2[_0x50b4f1(0x22e)];}else _0x4c1a60=_0x30007e;this[_0x50b4f1(0x291)](_0x4c1a60);}),this[_0x5dd548(0x52e)]&&this[_0x5dd548(0x3af)](),this['_awaitingChangeset']&&_0x252177[_0x5dd548(0x397)]&&(_0x252177[0x0][_0x5dd548(0x36a)]=this[_0x5dd548(0x4f0)]());let _0x446be0;if(this[_0x5dd548(0x352)]&&_0x535ed0[_0x5dd548(0x397)]!==0x0)_0x446be0=this['_injector'][_0x5dd548(0x545)](_0x3a588f,this[_0x5dd548(0x40f)],this[_0x5dd548(0x239)],_0x252177[0x0],_0x535ed0,this[_0x5dd548(0x3ad)]);else{if(this['_awaitingChangeset']&&_0x535ed0[_0x5dd548(0x397)]===0x0)_0x252177[0x0][_0x5dd548(0x36a)]=this[_0x5dd548(0x4f0)](),_0x446be0=this[_0x5dd548(0x260)][_0x5dd548(0x545)](_0x304c89,this[_0x5dd548(0x40f)],this[_0x5dd548(0x239)],_0x252177[0x0],this[_0x5dd548(0x3ad)]);else{if(_0x535ed0[_0x5dd548(0x397)]!==0x0){const _0x53d3ed=this['_injector']['createInstance'](_0x56eb89,this[_0x5dd548(0x40f)],this[_0x5dd548(0x239)],_0x535ed0,this['_handler']);_0x53d3ed[_0x5dd548(0x451)](),_0x446be0=_0x53d3ed;}else _0x446be0=this[_0x5dd548(0x260)][_0x5dd548(0x545)](_0x58a1e7,this['unitID'],this['type'],this[_0x5dd548(0x3ad)]);}}return _0x446be0[_0x5dd548(0x427)](),_0x446be0;}catch(_0x44f1fb){return this['_logService']['error'](_0x5dd548(0x2d8),_0x5dd548(0x38f),_0x44f1fb),this[_0x5dd548(0x260)][_0x5dd548(0x545)](_0x4a38e8,this[_0x5dd548(0x40f)],this[_0x5dd548(0x239)],this[_0x5dd548(0x352)],this['_pendingMutations'],this[_0x5dd548(0x3ad)],!0x1);}}[_0x57b986(0x4fc)](){const _0x2a1d9b=_0x57b986;throw new Error(_0x2a1d9b(0x3e0));}[_0x57b986(0x538)](_0x247461){const _0x213761=_0x57b986;return this['_pendingMutations'][_0x213761(0x2a8)](_0x247461),this;}[_0x57b986(0x221)](_0x12c06a){const _0x4d6158=_0x57b986;return this[_0x4d6158(0x4db)][_0x4d6158(0x2a8)](_0x12c06a),this;}['onRemoteAck'](_0x5dd167){const _0x41c793=_0x57b986;if(this[_0x41c793(0x352)])return this[_0x41c793(0x52e)]=this[_0x41c793(0x352)],this[_0x41c793(0x352)]=null,this;throw new Error(_0x41c793(0x505));}[_0x57b986(0x520)](_0x50f928){const _0x84bf6d=_0x57b986;return this[_0x84bf6d(0x244)](!!(_0x50f928!=null&&_0x50f928['isPermissionRej']));}['toggleOffline'](){const _0x2cc8d1=_0x57b986;return this[_0x2cc8d1(0x260)]['createInstance'](_0x3e4f1a,this[_0x2cc8d1(0x40f)],this[_0x2cc8d1(0x239)],this[_0x2cc8d1(0x352)],this[_0x2cc8d1(0x4b5)],this[_0x2cc8d1(0x3ad)]);}[_0x57b986(0x489)](){return this;}[_0x57b986(0x244)](_0x567991){const _0x1c51dd=_0x57b986;return this[_0x1c51dd(0x260)][_0x1c51dd(0x545)](_0x4a38e8,this['unitID'],this[_0x1c51dd(0x239)],this[_0x1c51dd(0x352)],this[_0x1c51dd(0x4b5)],this[_0x1c51dd(0x3ad)],_0x567991);}};_0x340c05=_0x18f1be([_0x326931(0x7,_0x12925a['Inject'](_0x12925a[_0x57b986(0x52f)])),_0x326931(0x8,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x326931(0x9,_0x12925a['Inject'](_0x3f3314[_0x57b986(0x361)])),_0x326931(0xa,_0x4cdaf4['ILogService']),_0x326931(0xb,_0x4cdaf4[_0x57b986(0x46c)]),_0x326931(0xc,_0x4cdaf4['IUndoRedoService']),_0x326931(0xd,_0x329b63[_0x57b986(0x2a0)])],_0x340c05);function _0x644ba0(_0x56ca31,_0x5c1199,_0x562432,_0x4ad166,_0x1b5cd0,_0x5c52b0){const _0x3a6311=_0x57b986;return _0x4ad166&&_0x1b5cd0[_0x3a6311(0x397)]?_0x56ca31[_0x3a6311(0x545)](_0x3a588f,_0x5c1199,_0x562432,_0x4ad166,_0x1b5cd0,_0x5c52b0):_0x4ad166?_0x56ca31[_0x3a6311(0x545)](_0x304c89,_0x5c1199,_0x562432,_0x4ad166,_0x5c52b0):_0x1b5cd0[_0x3a6311(0x397)]?_0x56ca31[_0x3a6311(0x545)](_0x56eb89,_0x5c1199,_0x562432,_0x1b5cd0,_0x5c52b0):_0x56ca31[_0x3a6311(0x545)](_0x58a1e7,_0x5c1199,_0x562432,_0x5c52b0);}var _0xdc85ed=Object['defineProperty'],_0x237b72=Object[_0x57b986(0x405)],_0x23ff9f=(_0x4dd4ab,_0x34a556,_0x3ca44f,_0x1e693a)=>{const _0x1f3c63=_0x57b986;for(var _0x15a177=_0x1e693a>0x1?void 0x0:_0x1e693a?_0x237b72(_0x34a556,_0x3ca44f):_0x34a556,_0x4ac894=_0x4dd4ab[_0x1f3c63(0x397)]-0x1,_0x29f636;_0x4ac894>=0x0;_0x4ac894--)(_0x29f636=_0x4dd4ab[_0x4ac894])&&(_0x15a177=(_0x1e693a?_0x29f636(_0x34a556,_0x3ca44f,_0x15a177):_0x29f636(_0x15a177))||_0x15a177);return _0x1e693a&&_0x15a177&&_0xdc85ed(_0x34a556,_0x3ca44f,_0x15a177),_0x15a177;},_0x4aceb5=(_0x1001c0,_0x3d0816)=>(_0x1b0832,_0x49a80f)=>_0x3d0816(_0x1b0832,_0x49a80f,_0x1001c0);_0x3f3314[_0x57b986(0x33a)]=class extends _0x4cdaf4[_0x57b986(0x499)]{constructor(_0x520ece,_0x5023bc,_0x4ba865){const _0x503cb4=_0x57b986;super(),_0x53d09f(this,_0x503cb4(0x389),new Map()),_0x53d09f(this,_0x503cb4(0x386),new _0x4bb16b[(_0x503cb4(0x42d))]()),(this['_injector']=_0x520ece,this['_collabSessionService']=_0x5023bc,this[_0x503cb4(0x3d9)]=_0x4ba865,this[_0x503cb4(0x546)]());}[_0x57b986(0x46e)](){const _0x54c946=_0x57b986;super[_0x54c946(0x46e)](),this[_0x54c946(0x389)][_0x54c946(0x2bc)](_0x2051ff=>_0x2051ff[_0x54c946(0x46e)]()),this['_entities'][_0x54c946(0x46b)]();}['getCollabEntity'](_0x5730f4){const _0x1fc309=_0x57b986;var _0x3637c8;return(_0x3637c8=this['_entities'][_0x1fc309(0x408)](_0x5730f4))!=null?_0x3637c8:null;}[_0x57b986(0x2df)](_0x12e814){const _0x456e95=_0x57b986,_0x370c03=this[_0x456e95(0x530)](_0x12e814);return _0x370c03?_0x4bb16b['of'](_0x370c03):this[_0x456e95(0x386)][_0x456e95(0x334)](_0x4ac749['filter'](_0x2073c0=>_0x2073c0[_0x456e95(0x40f)]===_0x12e814));}['_init'](){const _0x56b1cb=_0x57b986;this[_0x56b1cb(0x3d9)][_0x56b1cb(0x553)](_0x4cdaf4[_0x56b1cb(0x514)][_0x56b1cb(0x1ed)])['pipe'](_0x4bb16b['takeUntil'](this[_0x56b1cb(0x2e3)]),_0x4ac749[_0x56b1cb(0x578)](0x10))[_0x56b1cb(0x29e)](async _0x37df99=>{const _0x5208d2=_0x56b1cb,_0x26c2a4=_0x37df99[_0x5208d2(0x3d4)](),_0x374710=await this[_0x5208d2(0x485)](_0x26c2a4,_0x1f330d[_0x5208d2(0x1ed)]);this[_0x5208d2(0x389)]['set'](_0x26c2a4,_0x374710);}),this[_0x56b1cb(0x3d9)][_0x56b1cb(0x553)](_0x4cdaf4[_0x56b1cb(0x514)][_0x56b1cb(0x510)])['pipe'](_0x4bb16b[_0x56b1cb(0x2e2)](this[_0x56b1cb(0x2e3)]),_0x4ac749[_0x56b1cb(0x578)](0x10))[_0x56b1cb(0x334)](_0x4ac749['filter'](_0x1f96fa=>!_0x1f96fa[_0x56b1cb(0x3d4)]()[_0x56b1cb(0x55a)]('__')))[_0x56b1cb(0x29e)](async _0x5f127b=>{const _0x5f3681=_0x56b1cb,_0x227ccd=_0x5f127b[_0x5f3681(0x3d4)](),_0xfc207d=await this['_startCollaboration'](_0x227ccd,_0x1f330d[_0x5f3681(0x510)]);this[_0x5f3681(0x389)][_0x5f3681(0x2c3)](_0x227ccd,_0xfc207d);}),_0x4bb16b[_0x56b1cb(0x468)](this[_0x56b1cb(0x3d9)][_0x56b1cb(0x29d)](_0x4cdaf4['UniverInstanceType'][_0x56b1cb(0x1ed)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4cdaf4[_0x56b1cb(0x514)][_0x56b1cb(0x510)]))['pipe'](_0x4bb16b[_0x56b1cb(0x2e2)](this[_0x56b1cb(0x2e3)]))[_0x56b1cb(0x29e)](_0xeddc12=>{const _0xf3b53e=_0x56b1cb,_0x216308=_0xeddc12[_0xf3b53e(0x3d4)](),_0x51cf9c=this[_0xf3b53e(0x389)][_0xf3b53e(0x408)](_0x216308);_0x51cf9c&&(_0x51cf9c[_0xf3b53e(0x46e)](),this[_0xf3b53e(0x389)][_0xf3b53e(0x391)](_0x216308));});}async['_startCollaboration'](_0x4357af,_0x572de3){const _0x505d45=_0x57b986,_0x1debba=await this[_0x505d45(0x31f)][_0x505d45(0x50a)](_0x4357af),_0x582bf2=this[_0x505d45(0x260)]['createInstance'](this[_0x505d45(0x433)](_0x572de3),_0x4357af,_0x572de3,_0x1debba);return await _0x582bf2[_0x505d45(0x533)](),this['_entityInit$'][_0x505d45(0x1bd)](_0x582bf2),_0x582bf2;}[_0x57b986(0x433)](_0x160e0b){const _0xf80e4f=_0x57b986;switch(_0x160e0b){case _0x1f330d[_0xf80e4f(0x510)]:return _0x246c2e;case _0x1f330d[_0xf80e4f(0x1ed)]:return _0x3c250a;default:throw new Error(_0xf80e4f(0x2db)+_0x160e0b);}}},_0x3f3314[_0x57b986(0x33a)]=_0x23ff9f([_0x4cdaf4[_0x57b986(0x4e2)](_0x4cdaf4['LifecycleStages'][_0x57b986(0x2b6)],_0x3f3314[_0x57b986(0x33a)]),_0x4aceb5(0x0,_0x12925a[_0x57b986(0x42c)](_0x12925a['Injector'])),_0x4aceb5(0x1,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x48c)])),_0x4aceb5(0x2,_0x4cdaf4[_0x57b986(0x28e)])],_0x3f3314[_0x57b986(0x33a)]);let _0x4d2146=class extends _0x4cdaf4[_0x57b986(0x499)]{constructor(_0x520a20,_0x6f38a9,_0x37c361,_0x1259c4,_0x17b814,_0x18b460,_0x3c8247,_0x1a9049,_0xbcc38a,_0x2e7d5c,_0x2666db,_0x43faa1,_0x37cc4c){const _0x4286c4=_0x57b986;super(),_0x53d09f(this,_0x4286c4(0x498),new _0x4bb16b['BehaviorSubject'](null)),_0x53d09f(this,'state$',this[_0x4286c4(0x498)][_0x4286c4(0x534)]()),_0x53d09f(this,_0x4286c4(0x2bf)),_0x53d09f(this,_0x4286c4(0x428),!0x1),_0x53d09f(this,'status$',this[_0x4286c4(0x230)][_0x4286c4(0x334)](_0x4ac749[_0x4286c4(0x2d2)](_0x3df5a3=>_0x3df5a3?_0x3df5a3[_0x4286c4(0x2aa)]:_0x5185a4[_0x4286c4(0x26f)]),_0x4ac749[_0x4286c4(0x2e1)](0x1))),_0x53d09f(this,_0x4286c4(0x20f),!0x1),_0x53d09f(this,_0x4286c4(0x583),[]),(this[_0x4286c4(0x40f)]=_0x520a20,this[_0x4286c4(0x4a8)]=_0x6f38a9,this[_0x4286c4(0x51d)]=_0x37c361,this['_injector']=_0x1259c4,this[_0x4286c4(0x2ca)]=_0x17b814,this['_compressMutationService']=_0x18b460,this[_0x4286c4(0x247)]=_0x3c8247,this[_0x4286c4(0x377)]=_0x1a9049,this[_0x4286c4(0x314)]=_0xbcc38a,this[_0x4286c4(0x48f)]=_0x2e7d5c,this['_messageService']=_0x2666db,this[_0x4286c4(0x3a7)]=_0x43faa1,this[_0x4286c4(0x35b)]=_0x37cc4c);}get[_0x57b986(0x3d2)](){return this['_state'];}async[_0x57b986(0x533)](){const _0x1f0efa=_0x57b986;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1f0efa(0x546)]();}[_0x57b986(0x20d)](){const _0x342b63=_0x57b986;return this[_0x342b63(0x428)]=!0x0,_0x4cdaf4[_0x342b63(0x56b)](()=>{const _0x419654=_0x342b63;this[_0x419654(0x428)]=!0x1,this[_0x419654(0x42f)]();});}['_updateState'](_0x5062dc){const _0x24b5b5=_0x57b986;this[_0x24b5b5(0x2bf)]=_0x5062dc,this[_0x24b5b5(0x498)][_0x24b5b5(0x1bd)](_0x5062dc);}async[_0x57b986(0x546)](){const _0x3affee=_0x57b986;var _0x41957b;return this[_0x3affee(0x31a)](await this[_0x3affee(0x465)]()),this[_0x3affee(0x35b)]&&((_0x41957b=this[_0x3affee(0x35b)])==null||_0x41957b[_0x3affee(0x531)](this['unitID']),this[_0x3affee(0x250)](_0x4cdaf4[_0x3affee(0x56b)](this[_0x3affee(0x35b)]['getUnitStatus$'](this[_0x3affee(0x40f)])[_0x3affee(0x29e)](_0x14e7cc=>{const _0x5e79ff=_0x3affee;this[_0x5e79ff(0x314)][_0x5e79ff(0x1fa)](_0x5e79ff(0x2fb),_0x5e79ff(0x255),_0x14e7cc),_0x14e7cc===_0x5e4f39[_0x5e79ff(0x288)]?(this['_messageService'][_0x5e79ff(0x560)]({'content':this['_localeService']['t'](_0x5e79ff(0x487)),'type':_0x4fb88a[_0x5e79ff(0x2af)][_0x5e79ff(0x2bb)]}),this[_0x5e79ff(0x3a7)][_0x5e79ff(0x1be)](new _0x3a01f6['WorkbookEditablePermission'](this['unitID'])['id'],!0x1)):this[_0x5e79ff(0x3a7)][_0x5e79ff(0x1be)](new _0x3a01f6[(_0x5e79ff(0x373))](this[_0x5e79ff(0x40f)])['id'],!0x0);})))),this[_0x3affee(0x250)](_0x4cdaf4[_0x3affee(0x56b)](this[_0x3affee(0x51d)][_0x3affee(0x46d)][_0x3affee(0x29e)](_0x272159=>{const _0x2bfa2f=_0x3affee;_0x272159===_0x585a5c['ONLINE']?this[_0x2bfa2f(0x2b9)]():_0x272159===_0x585a5c['OFFLINE']&&this[_0x2bfa2f(0x341)]();}))),this[_0x3affee(0x250)](_0x4cdaf4[_0x3affee(0x56b)](this[_0x3affee(0x51d)][_0x3affee(0x24c)][_0x3affee(0x29e)](_0x39075b=>{const _0x4a9503=_0x3affee;try{switch(_0x39075b[_0x4a9503(0x558)]){case _0x329b63[_0x4a9503(0x3dc)][_0x4a9503(0x345)]:{this[_0x4a9503(0x285)](_0x329b63['parseProtocolChangeset'](_0x39075b[_0x4a9503(0x4a7)]));break;}case _0x329b63['CollaborationEvent'][_0x4a9503(0x396)]:{this['_onRemoteACK'](_0x39075b[_0x4a9503(0x4a7)]);break;}case _0x329b63[_0x4a9503(0x3dc)][_0x4a9503(0x429)]:{this['_onRemoteRejected']();break;}case _0x329b63[_0x4a9503(0x3dc)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4a9503(0x512)](_0x39075b[_0x4a9503(0x4a7)]['changesets'][_0x4a9503(0x2d2)](_0x3b4ac3=>_0x329b63[_0x4a9503(0x4a6)](_0x3b4ac3)));break;}case _0x329b63[_0x4a9503(0x3dc)][_0x4a9503(0x271)]:this[_0x4a9503(0x380)]({'isPermissionRej':!0x0});}}catch(_0x124d1e){throw console['error']('Error\x20on\x20receiving\x20event',_0x124d1e),_0x124d1e;}}))),this[_0x3affee(0x2bf)];}[_0x57b986(0x426)](){this['_transitionLocked']=!0x1;}[_0x57b986(0x20a)](){const _0x4d62b9=_0x57b986;if(this[_0x4d62b9(0x20f)])throw new Error(_0x4d62b9(0x3fd));this[_0x4d62b9(0x20f)]=!0x0;}[_0x57b986(0x335)](_0x3119ea){const _0x54e116=_0x57b986;this[_0x54e116(0x20a)](),this[_0x54e116(0x31a)](this[_0x54e116(0x2bf)][_0x54e116(0x538)](_0x3119ea)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x34aca7){const _0x22a3db=_0x57b986;if(!(_0x34aca7[_0x22a3db(0x49a)]<=this[_0x22a3db(0x377)][_0x22a3db(0x577)](this['unitID']))){if(this[_0x22a3db(0x428)]){this[_0x22a3db(0x583)][_0x22a3db(0x2a8)](_0x34aca7);return;}this['_applyRemoteChangeset'](_0x34aca7);}}[_0x57b986(0x42f)](){const _0x1ebf0b=_0x57b986;this[_0x1ebf0b(0x583)][_0x1ebf0b(0x2bc)](_0x1231be=>this[_0x1ebf0b(0x42a)](_0x1231be)),this[_0x1ebf0b(0x583)]=[];}[_0x57b986(0x42a)](_0x31f8ce){const _0x50b4b2=_0x57b986,_0x38bea2=this[_0x50b4b2(0x400)]['interceptor'][_0x50b4b2(0x21c)](this[_0x50b4b2(0x400)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x31f8ce[_0x50b4b2(0x526)],null)||_0x31f8ce[_0x50b4b2(0x526)],_0x121860={..._0x31f8ce,'mutations':_0x38bea2};this['_lockTransition'](),this[_0x50b4b2(0x31a)](this['_state'][_0x50b4b2(0x221)](_0x121860)),this[_0x50b4b2(0x426)]();}['_onRemoteACK'](_0x4b3c14){const _0x47978f=_0x57b986;this['_lockTransition'](),this['_updateState'](this[_0x47978f(0x2bf)]['onRemoteAck'](_0x4b3c14)),this[_0x47978f(0x426)]();}[_0x57b986(0x380)](_0x1603e1){const _0x39f873=_0x57b986;this[_0x39f873(0x20a)](),this['_updateState'](this['_state'][_0x39f873(0x520)](_0x1603e1)),this[_0x39f873(0x426)]();}[_0x57b986(0x512)](_0x350f80){const _0x4efd71=_0x57b986;if(!(this[_0x4efd71(0x2bf)]instanceof _0x340c05))throw new TypeError(_0x4efd71(0x24f));const _0x14fcbf=_0x350f80['map'](_0x573dee=>{const _0x2391dc=_0x4efd71,_0x4e5c01=this[_0x2391dc(0x400)][_0x2391dc(0x1f5)][_0x2391dc(0x21c)](this['_compressMutationService'][_0x2391dc(0x1f5)][_0x2391dc(0x28c)]()['COMPRESS_MUTATION_APPLY'])(_0x573dee[_0x2391dc(0x526)],null)||_0x573dee[_0x2391dc(0x526)];return{..._0x573dee,'mutations':_0x4e5c01};});this[_0x4efd71(0x20a)](),this[_0x4efd71(0x31a)](this[_0x4efd71(0x2bf)][_0x4efd71(0x1cd)](_0x14fcbf)),this[_0x4efd71(0x426)]();}[_0x57b986(0x341)](){const _0x5705f7=_0x57b986;this['_lockTransition'](),this['_updateState'](this[_0x5705f7(0x2bf)]['toggleOffline']()),this[_0x5705f7(0x426)]();}[_0x57b986(0x2b9)](){const _0x452262=_0x57b986;this['_lockTransition'](),this[_0x452262(0x31a)](this[_0x452262(0x2bf)]['toggleOnline']()),this[_0x452262(0x426)]();}async[_0x57b986(0x465)](){return new Promise(_0x16b43b=>{const _0x916655=_0x23df;this[_0x916655(0x51d)]['sessionStatus$'][_0x916655(0x334)](_0x4ac749['take'](0x1))[_0x916655(0x29e)](async _0x3c008c=>{const _0xacd23=_0x916655;_0x16b43b(await this[_0xacd23(0x4bd)](_0x3c008c===_0x585a5c[_0xacd23(0x1c1)]));});});}[_0x57b986(0x215)](){const _0xf9e93b=_0x57b986,_0x156cfe=this[_0xf9e93b(0x40f)];return{'onStateChange':(_0x58dd03,_0x5d3573)=>{const _0x106815=_0xf9e93b;if(_0x58dd03!==this[_0x106815(0x2bf)])throw new Error(_0x106815(0x463)+_0x58dd03[_0x106815(0x2aa)]+_0x106815(0x4ce)+_0x5d3573['status']+_0x106815(0x3a1)+this[_0x106815(0x2bf)][_0x106815(0x2aa)]);this[_0x106815(0x31a)](_0x5d3573);},'onSendChangeset':_0x22b283=>{const _0x12a688=_0xf9e93b,_0x1585fd={'eventID':_0x329b63[_0x12a688(0x3dc)][_0x12a688(0x3b5)],'data':{'unitID':_0x22b283[_0x12a688(0x40f)],'unitType':this[_0x12a688(0x4a8)],'changeset':_0x22b283,'memberID':this[_0x12a688(0x51d)][_0x12a688(0x46a)]()}};this['_session'][_0x12a688(0x4aa)](_0x1585fd,this[_0x12a688(0x40f)]);},'onMissingChangesets':({from:_0x2e920d,to:_0x3bfd54})=>{const _0x17cbf2=_0xf9e93b;this[_0x17cbf2(0x314)][_0x17cbf2(0x1fa)](_0x17cbf2(0x2fb),_0x17cbf2(0x40e)+_0x2e920d+_0x17cbf2(0x39c)+_0x3bfd54);const _0x29b912={'eventID':_0x329b63[_0x17cbf2(0x3dc)][_0x17cbf2(0x355)],'data':{'unitID':_0x156cfe,'unitType':this['_type'],'from':_0x2e920d,'to':_0x3bfd54}};this[_0x17cbf2(0x51d)][_0x17cbf2(0x4aa)](_0x29b912,this[_0x17cbf2(0x40f)]);}};}async[_0x57b986(0x4bd)](_0x509ba1){const _0x2319c4=_0x57b986;var _0x3b4c3c,_0x129543;const _0x2537bd=await this['_localCacheService'][_0x2319c4(0x1d5)](this['unitID']),_0x31aa57=(_0x3b4c3c=_0x2537bd==null?void 0x0:_0x2537bd['mutations'])!=null?_0x3b4c3c:[],_0x263b1b=(_0x129543=_0x2537bd==null?void 0x0:_0x2537bd[_0x2319c4(0x4c9)])!=null?_0x129543:null,_0x2109c6=this[_0x2319c4(0x40f)];try{this['_replayCachedMutations'](_0x263b1b,_0x31aa57);}catch(_0x353378){this[_0x2319c4(0x314)]['error'](_0x353378);}const _0x4ad036=this[_0x2319c4(0x215)]();if(_0x509ba1){const _0x104db9=_0x644ba0(this[_0x2319c4(0x260)],_0x2109c6,this[_0x2319c4(0x4a8)],_0x263b1b,_0x31aa57,_0x4ad036);return _0x104db9 instanceof _0x56eb89?_0x104db9['_schedule']():(_0x104db9 instanceof _0x3a588f||_0x104db9 instanceof _0x304c89)&&_0x104db9[_0x2319c4(0x4fc)](),_0x104db9;}return this['_injector'][_0x2319c4(0x545)](_0x3e4f1a,_0x2109c6,this[_0x2319c4(0x4a8)],_0x263b1b,_0x31aa57,_0x4ad036);}[_0x57b986(0x2d9)](_0x4081ab,_0x49e144){const _0x3d39a6=_0x57b986;var _0x36629a,_0x82627a;const _0x21ffdb=this[_0x3d39a6(0x400)][_0x3d39a6(0x1f5)]['fetchThroughInterceptors'](this[_0x3d39a6(0x400)][_0x3d39a6(0x1f5)][_0x3d39a6(0x28c)]()[_0x3d39a6(0x1ea)]);(_0x36629a=_0x21ffdb((_0x4081ab==null?void 0x0:_0x4081ab[_0x3d39a6(0x526)])||[],null))==null||_0x36629a[_0x3d39a6(0x2bc)](_0x385555=>this['_commandService'][_0x3d39a6(0x21f)](_0x385555['id'],_0x385555[_0x3d39a6(0x455)])),(_0x82627a=_0x21ffdb(_0x49e144||[],null))==null||_0x82627a[_0x3d39a6(0x2bc)](_0x4dab94=>this[_0x3d39a6(0x48f)]['executeCommand'](_0x4dab94['id'],_0x4dab94[_0x3d39a6(0x455)]));}};_0x4d2146=_0x23ff9f([_0x4aceb5(0x3,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x4aceb5(0x4,_0x12925a[_0x57b986(0x42c)](_0x3f3314['LocalCacheService'])),_0x4aceb5(0x5,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3bd)])),_0x4aceb5(0x6,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x502)])),_0x4aceb5(0x7,_0x12925a['Inject'](_0x329b63[_0x57b986(0x3a0)])),_0x4aceb5(0x8,_0x4cdaf4[_0x57b986(0x41c)]),_0x4aceb5(0x9,_0x4cdaf4[_0x57b986(0x46c)]),_0x4aceb5(0xa,_0x4ff465['IMessageService']),_0x4aceb5(0xb,_0x4cdaf4['IPermissionService']),_0x4aceb5(0xc,_0x12925a[_0x57b986(0x3ec)](_0x1c83f9))],_0x4d2146);let _0x246c2e=class extends _0x4d2146{constructor(_0x2ab7e3,_0x33b89f,_0x38137a,_0x33e9a5,_0x460bce,_0x527749,_0x3ff67f,_0x54ba4f,_0x4349cd,_0x10d639,_0x1d947f,_0x2b7321,_0x3ffd7e,_0x4614a0,_0xa87363,_0x403dde,_0x1e42c7){const _0x564257=_0x57b986;super(_0x2ab7e3,_0x33b89f,_0x38137a,_0x33e9a5,_0x460bce,_0x527749,_0x3ff67f,_0x54ba4f,_0x3ffd7e,_0x4614a0,_0xa87363,_0x403dde,_0x1e42c7),this['unitID']=_0x2ab7e3,this['type']=_0x33b89f,this[_0x564257(0x469)]=_0x38137a,this[_0x564257(0x2ff)]=_0x4349cd,this[_0x564257(0x275)]=_0x10d639,this['_docTransformSelectionsService']=_0x1d947f,this[_0x564257(0x293)]=_0x2b7321;}[_0x57b986(0x215)](){const _0x2ec544=_0x57b986,_0x298a55=super[_0x2ec544(0x215)]();return _0x298a55['onTransformIME']=_0x5cd0bd=>this[_0x2ec544(0x275)]['transformIMECache'](_0x5cd0bd),_0x298a55[_0x2ec544(0x31e)]=_0x4dd0a3=>this[_0x2ec544(0x282)][_0x2ec544(0x4c8)](_0x4dd0a3),_0x298a55[_0x2ec544(0x23b)]=_0xf12eda=>this[_0x2ec544(0x293)]['syncEditingCollabCursor'](_0xf12eda),_0x298a55[_0x2ec544(0x242)]=_0x484012=>this[_0x2ec544(0x275)][_0x2ec544(0x506)](_0x484012),_0x298a55;}async[_0x57b986(0x546)](){const _0x41b208=_0x57b986,_0x1fe86c=await super[_0x41b208(0x546)]();return this['_docStateChangeManagerService']['docStateChange$'][_0x41b208(0x334)](_0x4bb16b['takeUntil'](this[_0x41b208(0x2e3)]))[_0x41b208(0x29e)](_0x5b8510=>{const _0x34685d=_0x41b208;if(_0x5b8510==null)return;const {unitId:_0x26d5aa,redoState:_0x5ac1e8,commandId:_0x522972}=_0x5b8510;if(_0x26d5aa!==this[_0x34685d(0x40f)])return;const _0x48edfe={'id':_0x522972,'type':_0x4cdaf4[_0x34685d(0x316)][_0x34685d(0x414)],'params':{'unitId':_0x26d5aa,'actions':_0x5ac1e8[_0x34685d(0x29a)],'textRanges':null}};this[_0x34685d(0x335)](_0x48edfe);}),_0x1fe86c;}};_0x246c2e=_0x23ff9f([_0x4aceb5(0x3,_0x12925a['Inject'](_0x12925a[_0x57b986(0x52f)])),_0x4aceb5(0x4,_0x12925a[_0x57b986(0x42c)](_0x3f3314['LocalCacheService'])),_0x4aceb5(0x5,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3bd)])),_0x4aceb5(0x6,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x502)])),_0x4aceb5(0x7,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x4aceb5(0x8,_0x12925a[_0x57b986(0x42c)](_0x3fcd1a[_0x57b986(0x415)])),_0x4aceb5(0x9,_0x12925a[_0x57b986(0x42c)](_0x29ca68)),_0x4aceb5(0xa,_0x12925a['Inject'](_0x38542b)),_0x4aceb5(0xb,_0x12925a[_0x57b986(0x42c)](_0x2f17dc)),_0x4aceb5(0xc,_0x4cdaf4[_0x57b986(0x41c)]),_0x4aceb5(0xd,_0x4cdaf4[_0x57b986(0x46c)]),_0x4aceb5(0xe,_0x4ff465['IMessageService']),_0x4aceb5(0xf,_0x4cdaf4['IPermissionService']),_0x4aceb5(0x10,_0x12925a[_0x57b986(0x3ec)](_0x1c83f9))],_0x246c2e);let _0x3c250a=class extends _0x4d2146{constructor(_0x4c6214,_0x56f9e3,_0x4d36ce,_0x160cd4,_0x5774de,_0x584d75,_0x2b216d,_0x5b0f66,_0x49c7fb,_0xdc115a,_0x64533b,_0x39c904,_0x502a7c,_0x58ee92){const _0x3933f8=_0x57b986;super(_0x4c6214,_0x56f9e3,_0x4d36ce,_0x160cd4,_0x5774de,_0x584d75,_0x2b216d,_0x5b0f66,_0xdc115a,_0x64533b,_0x39c904,_0x502a7c,_0x58ee92),this[_0x3933f8(0x40f)]=_0x4c6214,this[_0x3933f8(0x239)]=_0x56f9e3,this[_0x3933f8(0x469)]=_0x4d36ce,this[_0x3933f8(0x55b)]=_0x49c7fb;}[_0x57b986(0x215)](){const _0x4f939e=_0x57b986,_0x46ae0d=super[_0x4f939e(0x215)]();return _0x46ae0d['onTransformSelections']=_0x418815=>this[_0x4f939e(0x55b)][_0x4f939e(0x4c8)](_0x418815),_0x46ae0d;}async[_0x57b986(0x546)](){const _0x2084c7=_0x57b986,_0x3646e1=await super[_0x2084c7(0x546)]();return this[_0x2084c7(0x250)](this[_0x2084c7(0x48f)]['onCommandExecuted']((_0x173086,_0x4f524c)=>{const _0x23d2c8=_0x2084c7;if(_0x173086['type']!==_0x4cdaf4[_0x23d2c8(0x316)][_0x23d2c8(0x414)]||_0x4f524c!=null&&_0x4f524c['fromCollab']||_0x4f524c!=null&&_0x4f524c[_0x23d2c8(0x387)])return;const _0x1b66d6=_0x173086['params'];if((_0x1b66d6==null?void 0x0:_0x1b66d6['unitId'])!==this[_0x23d2c8(0x40f)])return;const _0xe439f6=_0x173086,_0x582170=this['_compressMutationService'][_0x23d2c8(0x1f5)][_0x23d2c8(0x21c)](this[_0x23d2c8(0x400)][_0x23d2c8(0x1f5)][_0x23d2c8(0x28c)]()[_0x23d2c8(0x28f)])([_0xe439f6],null)||[_0xe439f6];this[_0x23d2c8(0x335)](_0x582170[0x0]);})),_0x3646e1;}};_0x3c250a=_0x23ff9f([_0x4aceb5(0x3,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x4aceb5(0x4,_0x12925a[_0x57b986(0x42c)](_0x3f3314['LocalCacheService'])),_0x4aceb5(0x5,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3bd)])),_0x4aceb5(0x6,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x502)])),_0x4aceb5(0x7,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x3a0)])),_0x4aceb5(0x8,_0x12925a[_0x57b986(0x42c)](_0x4e6a4d)),_0x4aceb5(0x9,_0x4cdaf4[_0x57b986(0x41c)]),_0x4aceb5(0xa,_0x4cdaf4[_0x57b986(0x46c)]),_0x4aceb5(0xb,_0x4ff465['IMessageService']),_0x4aceb5(0xc,_0x4cdaf4[_0x57b986(0x413)]),_0x4aceb5(0xd,_0x12925a[_0x57b986(0x3ec)](_0x1c83f9))],_0x3c250a);const _0x332ff8=[_0x57b986(0x306),_0x57b986(0x32c),_0x57b986(0x57f),_0x57b986(0x443),_0x57b986(0x2b4),_0x57b986(0x445)];class _0x2ba255 extends _0x4cdaf4[_0x57b986(0x310)]{constructor(){const _0x5d1349=_0x57b986;super(...arguments),_0x53d09f(this,_0x5d1349(0x328),new Map()),_0x53d09f(this,_0x5d1349(0x549),0x0);}['assignAColorForMemberID'](_0x4e0784){const _0x4aff1f=_0x57b986;if(this[_0x4aff1f(0x328)]['has'](_0x4e0784))return this[_0x4aff1f(0x328)][_0x4aff1f(0x408)](_0x4e0784);const _0x5c1b81=_0x332ff8[this['_colorIndex']];return this['_colorIndex']=(this[_0x4aff1f(0x549)]+0x1)%_0x332ff8[_0x4aff1f(0x397)],this[_0x4aff1f(0x328)][_0x4aff1f(0x2c3)](_0x4e0784,_0x5c1b81),_0x5c1b81;}}var _0x59c414=Object['defineProperty'],_0x2b80c1=Object[_0x57b986(0x405)],_0x35c062=(_0x46fe98,_0x3a9348,_0x2386af,_0x19f959)=>{const _0x5ebe01=_0x57b986;for(var _0x3d5347=_0x19f959>0x1?void 0x0:_0x19f959?_0x2b80c1(_0x3a9348,_0x2386af):_0x3a9348,_0x5cd20b=_0x46fe98[_0x5ebe01(0x397)]-0x1,_0x952162;_0x5cd20b>=0x0;_0x5cd20b--)(_0x952162=_0x46fe98[_0x5cd20b])&&(_0x3d5347=(_0x19f959?_0x952162(_0x3a9348,_0x2386af,_0x3d5347):_0x952162(_0x3d5347))||_0x3d5347);return _0x19f959&&_0x3d5347&&_0x59c414(_0x3a9348,_0x2386af,_0x3d5347),_0x3d5347;},_0x5c3b3a=(_0x2a615c,_0x423658)=>(_0x374d21,_0x3c3dab)=>_0x423658(_0x374d21,_0x3c3dab,_0x2a615c);const _0x1a870c=0x12c,_0x54922a=0x64,_0x46761=()=>{let _0x4c62d1=[],_0x5f8dd3=!0x1;return _0x3cf5d3=>{_0x4c62d1['push'](_0x3cf5d3),_0x5f8dd3||(_0x5f8dd3=!0x0,setTimeout(()=>{_0x4c62d1['forEach'](_0x31ae11=>_0x31ae11()),_0x4c62d1=[],_0x5f8dd3=!0x1;}));};};let _0x1d8604=class extends _0x4cdaf4['RxDisposable']{constructor(_0x1dc4d4,_0x5d0114,_0x452fc5,_0x18529d,_0x7cb188,_0x1edc70,_0x2db7ec,_0xf5b158){const _0x137b69=_0x57b986;super(),_0x53d09f(this,_0x137b69(0x3d8),!0x1),_0x53d09f(this,_0x137b69(0x546),!0x1),_0x53d09f(this,_0x137b69(0x1cf),new _0x4bb16b[(_0x137b69(0x2e9))](new Map())),_0x53d09f(this,_0x137b69(0x535),this[_0x137b69(0x1cf)][_0x137b69(0x534)]()),_0x53d09f(this,_0x137b69(0x51e),new _0x4bb16b[(_0x137b69(0x2e9))]([])),_0x53d09f(this,_0x137b69(0x399),this[_0x137b69(0x51e)][_0x137b69(0x334)](_0x4bb16b[_0x137b69(0x3cd)](_0x1a870c))),_0x53d09f(this,_0x137b69(0x38a),_0x7451ba((_0xaa728f,_0x3bc471)=>{const _0xc8b3f5=_0x137b69,_0x54a39d={'eventID':_0x329b63[_0xc8b3f5(0x3dc)][_0xc8b3f5(0x2c9)],'data':{'unitID':this[_0xc8b3f5(0x40f)],'memberID':this[_0xc8b3f5(0x51d)][_0xc8b3f5(0x46a)](),'selection':_0x29b663[_0xc8b3f5(0x1fd)](_0xaa728f,_0x3bc471['range'])}};this[_0xc8b3f5(0x51d)]['send'](_0x54a39d,this[_0xc8b3f5(0x40f)]);},_0x54922a)),(this[_0x137b69(0x40f)]=_0x1dc4d4,this['_session']=_0x5d0114,this['_injector']=_0x452fc5,this['_colorAssignService']=_0x18529d,this[_0x137b69(0x1d3)]=_0x7cb188,this[_0x137b69(0x3d9)]=_0x1edc70,this[_0x137b69(0x48f)]=_0x2db7ec,this[_0x137b69(0x33f)]=_0xf5b158);}get[_0x57b986(0x25b)](){const _0x521e0e=_0x57b986;return this['_cursorInfo$'][_0x521e0e(0x424)]();}get[_0x57b986(0x2c7)](){const _0x3443bb=_0x57b986;return this[_0x3443bb(0x51e)]['getValue']();}[_0x57b986(0x46e)](){const _0x4303f6=_0x57b986;super[_0x4303f6(0x46e)](),this[_0x4303f6(0x1cf)][_0x4303f6(0x1bd)](new Map()),this[_0x4303f6(0x1cf)]['complete'](),this[_0x4303f6(0x51e)]['next']([]),this['_roomMembers$'][_0x4303f6(0x461)]();}['init'](){const _0x1d87cb=_0x57b986;this['_init']||(this[_0x1d87cb(0x546)]=!0x0,this[_0x1d87cb(0x51d)][_0x1d87cb(0x46d)]['pipe'](_0x4bb16b['takeUntil'](this[_0x1d87cb(0x2e3)]))['subscribe'](_0x286323=>{const _0x49523b=_0x1d87cb;_0x286323===_0x585a5c[_0x49523b(0x1c1)]?this[_0x49523b(0x2b9)]():this['_toggleOffline']();}),this['_session'][_0x1d87cb(0x24c)][_0x1d87cb(0x334)](_0x4bb16b[_0x1d87cb(0x2e2)](this['dispose$']))[_0x1d87cb(0x29e)](_0x3a4ffa=>{const _0x5b2b54=_0x1d87cb,_0x5639ce=_0x3a4ffa['eventID'];_0x5639ce===_0x329b63[_0x5b2b54(0x3dc)][_0x5b2b54(0x2c9)]&&this[_0x5b2b54(0x3b6)](_0x3a4ffa),_0x5639ce===_0x329b63[_0x5b2b54(0x3dc)][_0x5b2b54(0x1f0)]&&this['_onCursorDelete'](_0x3a4ffa);}),this[_0x1d87cb(0x475)](),this['disposeWithMe'](this['_commandService'][_0x1d87cb(0x4eb)](_0x586412=>{const _0x55fc36=_0x1d87cb;if(this['_online']&&_0x586412['id']===_0x3a01f6[_0x55fc36(0x467)]['id']&&_0x586412[_0x55fc36(0x455)][_0x55fc36(0x2a3)]===this['unitID']){const _0x3ca72a=_0x586412[_0x55fc36(0x455)];this[_0x55fc36(0x38a)](_0x3ca72a[_0x55fc36(0x295)],_0x3ca72a['selections'][0x0]);}})));}[_0x57b986(0x3b6)](_0x1ca88f){const _0x523a48=_0x57b986;var _0x45db80,_0x191253;const {memberID:_0x333469,selection:_0x47b610}=_0x1ca88f[_0x523a48(0x4a7)],{sheetName:_0x2a4494,range:_0x23b2a0}=_0x29b663['deserializeRangeWithSheet'](_0x47b610),_0x24a0f8={'name':(_0x191253=(_0x45db80=this['_memberService'][_0x523a48(0x44f)](this[_0x523a48(0x40f)],_0x333469))==null?void 0x0:_0x45db80['name'])!=null?_0x191253:_0x523a48(0x442),'range':this[_0x523a48(0x3f4)](_0x2a4494,_0x23b2a0),'sheetID':_0x2a4494,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x333469),'selection':_0x47b610},_0x56d9bb=this[_0x523a48(0x25b)];_0x56d9bb[_0x523a48(0x2c3)](_0x333469,_0x24a0f8),this['_cursorInfo$'][_0x523a48(0x1bd)](_0x56d9bb);}[_0x57b986(0x47e)](_0x100a95){const _0x426b70=_0x57b986,{memberID:_0x541719}=_0x100a95[_0x426b70(0x4a7)],_0x4a3e4d=this[_0x426b70(0x25b)];_0x4a3e4d['delete'](_0x541719),this['_cursorInfo$'][_0x426b70(0x1bd)](_0x4a3e4d);}[_0x57b986(0x3f4)](_0x3ab4c1,_0x21e4c4){const _0x9c3eda=_0x57b986;var _0x429f02,_0x1d1c70;const _0x4b24cb=(_0x1d1c70=(_0x429f02=this[_0x9c3eda(0x3d9)][_0x9c3eda(0x4d1)](this['unitID']))==null?void 0x0:_0x429f02['getSheetBySheetId'](_0x3ab4c1))==null?void 0x0:_0x1d1c70[_0x9c3eda(0x38d)]();return(_0x4b24cb==null?void 0x0:_0x4b24cb[_0x9c3eda(0x4f5)](_0x5d4adc=>_0x4cdaf4[_0x9c3eda(0x1df)][_0x9c3eda(0x384)](_0x5d4adc,_0x21e4c4)))||_0x21e4c4;}['_onRefRangeChange'](){const _0x4b529b=_0x57b986,_0x1e954a=new _0x4cdaf4['DisposableCollection'](),_0x3b76b0=_0x46761(),_0xa7b5af=()=>{const _0x51b8b5=_0x23df;_0x1e954a[_0x51b8b5(0x46e)]();const _0x2dfd80=(_0x185185,_0x5bca46,_0x5020bb,_0x31dc9a)=>{const _0x315dde=_0x51b8b5;let _0x2db0f5=[];switch(_0x185185['id']){case _0x3a01f6[_0x315dde(0x360)]['DeleteRangeMoveLeftCommandId']:{_0x2db0f5=_0x3a01f6[_0x315dde(0x3f8)](_0x185185,_0x31dc9a);break;}case _0x3a01f6[_0x315dde(0x360)][_0x315dde(0x4c1)]:{_0x2db0f5=_0x3a01f6[_0x315dde(0x420)](_0x185185,_0x31dc9a);break;}case _0x3a01f6['EffectRefRangId']['InsertColCommandId']:{_0x2db0f5=_0x3a01f6[_0x315dde(0x452)](_0x185185,_0x31dc9a);break;}case _0x3a01f6[_0x315dde(0x360)][_0x315dde(0x24e)]:{_0x2db0f5=_0x3a01f6[_0x315dde(0x269)](_0x185185,_0x31dc9a);break;}case _0x3a01f6[_0x315dde(0x360)][_0x315dde(0x2f4)]:{_0x2db0f5=_0x3a01f6['handleInsertRangeMoveRight'](_0x185185,_0x31dc9a);break;}case _0x3a01f6[_0x315dde(0x360)][_0x315dde(0x1c8)]:{_0x2db0f5=_0x3a01f6[_0x315dde(0x4f3)](_0x185185,_0x31dc9a);break;}case _0x3a01f6[_0x315dde(0x360)][_0x315dde(0x4e7)]:{_0x2db0f5=_0x3a01f6['handleMoveRange'](_0x185185,_0x31dc9a);break;}case _0x3a01f6['EffectRefRangId'][_0x315dde(0x385)]:{_0x2db0f5=_0x3a01f6['handleIRemoveCol'](_0x185185,_0x31dc9a);break;}case _0x3a01f6[_0x315dde(0x360)][_0x315dde(0x523)]:{_0x2db0f5=_0x3a01f6[_0x315dde(0x1f3)](_0x185185,_0x31dc9a);break;}}const _0x5a7ae5=_0x3a01f6[_0x315dde(0x4af)](_0x2db0f5,_0x31dc9a),_0xea2c61=this[_0x315dde(0x25b)][_0x315dde(0x408)](_0x5bca46);if(_0xea2c61&&_0x5a7ae5){const _0x52139e={..._0xea2c61,'range':_0x5a7ae5};this['cursorInfo'][_0x315dde(0x2c3)](_0x5bca46,_0x52139e),_0x3b76b0(()=>{const _0x38a40e=_0x315dde,_0x3eed8f=this[_0x38a40e(0x33f)][_0x38a40e(0x492)](_0x5a7ae5,_0x5795f0=>(_0x3eed8f[_0x38a40e(0x46e)](),_0x2dfd80(_0x5795f0,_0x5bca46,_0x5020bb,_0x5a7ae5)));_0x1e954a[_0x38a40e(0x2b7)](_0x3eed8f);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x5470e2,_0x35d538)=>{const _0x125774=_0x51b8b5,{range:_0x24df8c,sheetID:_0x18d628}=_0x5470e2,_0x1852b9=this['_refRangeService'][_0x125774(0x492)](_0x24df8c,_0x52ddfb=>(_0x1852b9[_0x125774(0x46e)](),_0x2dfd80(_0x52ddfb,_0x35d538,_0x18d628,_0x24df8c)));_0x1e954a[_0x125774(0x2b7)](_0x1852b9);});};this[_0x4b529b(0x250)](_0x4cdaf4[_0x4b529b(0x56b)](this[_0x4b529b(0x1cf)][_0x4b529b(0x29e)](()=>{_0xa7b5af();})));}[_0x57b986(0x2b9)](){const _0x756c8b=_0x57b986;var _0x3f0582,_0x57427b;if(this[_0x756c8b(0x3d8)]=!0x0,((_0x3f0582=this[_0x756c8b(0x3d9)][_0x756c8b(0x44d)]())==null?void 0x0:_0x3f0582[_0x756c8b(0x3d4)]())!==this[_0x756c8b(0x40f)])return;const _0x549db4=(_0x57427b=this['_injector'][_0x756c8b(0x408)](_0x3a01f6['SelectionManagerService'])[_0x756c8b(0x409)]())==null?void 0x0:_0x57427b[0x0],_0x49372e=this[_0x756c8b(0x3d9)][_0x756c8b(0x395)](_0x4cdaf4['UniverInstanceType'][_0x756c8b(0x1ed)])[_0x756c8b(0x3e6)]();_0x549db4&&_0x49372e&&this['_updateLocalCursor'](_0x49372e[_0x756c8b(0x2c5)](),_0x549db4);}[_0x57b986(0x341)](){this['_online']=!0x1;}};_0x1d8604=_0x35c062([_0x5c3b3a(0x2,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x5c3b3a(0x3,_0x12925a[_0x57b986(0x42c)](_0x2ba255)),_0x5c3b3a(0x4,_0x12925a[_0x57b986(0x42c)](_0x4495e7)),_0x5c3b3a(0x5,_0x4cdaf4[_0x57b986(0x28e)]),_0x5c3b3a(0x6,_0x4cdaf4['ICommandService']),_0x5c3b3a(0x7,_0x12925a[_0x57b986(0x42c)](_0x3a01f6['RefRangeService']))],_0x1d8604);var _0x2e536c=Object[_0x57b986(0x1f4)],_0x3558ec=Object[_0x57b986(0x405)],_0x8238c6=(_0x7faf12,_0x637063,_0x1b1419,_0x587426)=>{for(var _0x41ef7d=_0x587426>0x1?void 0x0:_0x587426?_0x3558ec(_0x637063,_0x1b1419):_0x637063,_0x4b5de8=_0x7faf12['length']-0x1,_0x3cee4a;_0x4b5de8>=0x0;_0x4b5de8--)(_0x3cee4a=_0x7faf12[_0x4b5de8])&&(_0x41ef7d=(_0x587426?_0x3cee4a(_0x637063,_0x1b1419,_0x41ef7d):_0x3cee4a(_0x41ef7d))||_0x41ef7d);return _0x587426&&_0x41ef7d&&_0x2e536c(_0x637063,_0x1b1419,_0x41ef7d),_0x41ef7d;},_0x1d8331=(_0x295a93,_0x5d2386)=>(_0x520b77,_0x20320e)=>_0x5d2386(_0x520b77,_0x20320e,_0x295a93);const _0xcaddc6=0x12c,_0x490937=0x64;let _0x58774d=class extends _0x4cdaf4['RxDisposable']{constructor(_0x40a9b7,_0x5c4cc7,_0x212a3f,_0x5b2773,_0x3c115f,_0x50e62d,_0x319aaf,_0x26608a,_0x15796c){const _0x2c9ac3=_0x57b986;super(),_0x53d09f(this,_0x2c9ac3(0x3d8),!0x1),_0x53d09f(this,'_init',!0x1),_0x53d09f(this,_0x2c9ac3(0x1cf),new _0x4bb16b['BehaviorSubject'](new Map())),_0x53d09f(this,_0x2c9ac3(0x535),this[_0x2c9ac3(0x1cf)][_0x2c9ac3(0x534)]()),_0x53d09f(this,_0x2c9ac3(0x51e),new _0x4bb16b[(_0x2c9ac3(0x2e9))]([])),_0x53d09f(this,'roomMembers$',this['_roomMembers$'][_0x2c9ac3(0x334)](_0x4bb16b[_0x2c9ac3(0x3cd)](_0xcaddc6))),_0x53d09f(this,'_updateLocalCursor',_0x7451ba(_0x2f2f1e=>{const _0xe17602=_0x2c9ac3,_0xef3f5f={'eventID':_0x329b63['CollaborationEvent'][_0xe17602(0x2c9)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xe17602(0x46a)](),'selection':_0x313fed(_0x2f2f1e)}};this[_0xe17602(0x51d)][_0xe17602(0x4aa)](_0xef3f5f,this[_0xe17602(0x40f)]);},_0x490937)),(this[_0x2c9ac3(0x40f)]=_0x40a9b7,this[_0x2c9ac3(0x51d)]=_0x5c4cc7,this[_0x2c9ac3(0x260)]=_0x212a3f,this[_0x2c9ac3(0x4ae)]=_0x5b2773,this[_0x2c9ac3(0x1d3)]=_0x3c115f,this[_0x2c9ac3(0x374)]=_0x50e62d,this[_0x2c9ac3(0x26d)]=_0x319aaf,this[_0x2c9ac3(0x3d9)]=_0x26608a,this[_0x2c9ac3(0x48f)]=_0x15796c);}get[_0x57b986(0x25b)](){const _0x524fd4=_0x57b986;return this[_0x524fd4(0x1cf)]['getValue']();}get[_0x57b986(0x2c7)](){const _0x5d9875=_0x57b986;return this['_roomMembers$'][_0x5d9875(0x424)]();}[_0x57b986(0x46e)](){const _0x15e367=_0x57b986;super[_0x15e367(0x46e)](),this[_0x15e367(0x1cf)]['next'](new Map()),this['_cursorInfo$'][_0x15e367(0x461)](),this[_0x15e367(0x51e)][_0x15e367(0x1bd)]([]),this[_0x15e367(0x51e)][_0x15e367(0x461)]();}[_0x57b986(0x533)](){const _0x17da8c=_0x57b986;this[_0x17da8c(0x546)]||(this[_0x17da8c(0x546)]=!0x0,this[_0x17da8c(0x51d)][_0x17da8c(0x46d)][_0x17da8c(0x334)](_0x4bb16b[_0x17da8c(0x2e2)](this[_0x17da8c(0x2e3)]))['subscribe'](_0x1fb077=>{const _0x5a9559=_0x17da8c;_0x1fb077===_0x585a5c[_0x5a9559(0x1c1)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x17da8c(0x51d)]['event$']['pipe'](_0x4bb16b['takeUntil'](this[_0x17da8c(0x2e3)]))[_0x17da8c(0x29e)](_0x30562b=>{const _0x394cdc=_0x17da8c,_0x6f9a5f=_0x30562b[_0x394cdc(0x558)];_0x6f9a5f===_0x329b63[_0x394cdc(0x3dc)]['UPDATE_CURSOR']&&this[_0x394cdc(0x3b6)](_0x30562b),_0x6f9a5f===_0x329b63[_0x394cdc(0x3dc)][_0x394cdc(0x1f0)]&&this['_onCursorDelete'](_0x30562b);}),this['disposeWithMe'](this[_0x17da8c(0x48f)][_0x17da8c(0x4eb)](_0x203f03=>{const _0x1dfa27=_0x17da8c,_0x2a4c8a=_0x203f03['params'];_0x2a4c8a!=null&&this['_online']&&_0x203f03['id']===_0x3fcd1a[_0x1dfa27(0x38c)]['id']&&_0x2a4c8a[_0x1dfa27(0x2a3)]===this[_0x1dfa27(0x40f)]&&_0x2a4c8a[_0x1dfa27(0x2c6)]===!0x1&&this[_0x1dfa27(0x38a)](_0x2a4c8a[_0x1dfa27(0x330)]);})),this[_0x17da8c(0x374)][_0x17da8c(0x4b9)][_0x17da8c(0x334)](_0x4bb16b[_0x17da8c(0x2e2)](this[_0x17da8c(0x2e3)]))[_0x17da8c(0x29e)](_0x1a6c50=>{const _0xc499d1=_0x17da8c;if((_0x1a6c50==null?void 0x0:_0x1a6c50['unitID'])!==this[_0xc499d1(0x40f)])return;const _0x28421d={'eventID':_0x329b63[_0xc499d1(0x3dc)][_0xc499d1(0x2c9)],'data':_0x1a6c50};this[_0xc499d1(0x3b6)](_0x28421d);}),this[_0x17da8c(0x250)](this[_0x17da8c(0x48f)][_0x17da8c(0x4eb)](_0x309464=>{const _0x2fe61c=_0x17da8c;if(_0x309464[_0x2fe61c(0x455)]==null)return;const _0xc40300=_0x309464[_0x2fe61c(0x455)];if(_0x309464['id']!==_0x3fcd1a[_0x2fe61c(0x25e)]['id']||_0xc40300[_0x2fe61c(0x2a3)]!==this['unitID'])return;const _0x546014={'id':_0x2fe61c(0x367),'params':_0xc40300},_0x2381c8=this['cursorInfo'];for(const [_0x4bd3fe,_0x6f4571]of _0x2381c8){const _0x1348a5={'id':_0x2fe61c(0x367),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x6f4571[_0x2fe61c(0x330)]}},_0x2c1d5d=this[_0x2fe61c(0x26d)]['transformMutation'](_0x546014,_0x1348a5,!0x1);if(_0x329b63[_0x2fe61c(0x4de)](_0x2c1d5d))throw _0x2c1d5d[_0x2fe61c(0x4a4)];_0x2381c8[_0x2fe61c(0x2c3)](_0x4bd3fe,{..._0x6f4571,'ranges':_0x2c1d5d[_0x2fe61c(0x22e)][_0x2fe61c(0x455)][_0x2fe61c(0x437)]});}queueMicrotask(()=>{const _0x1e4502=_0x2fe61c;this[_0x1e4502(0x1cf)][_0x1e4502(0x1bd)](_0x2381c8);});})));}[_0x57b986(0x3b6)](_0x446c4a){const _0x48b89d=_0x57b986;var _0x54a7be,_0x5d5ff7;const {memberID:_0x513eac,selection:_0x3051ea}=_0x446c4a['data'],_0x3f9ab5=_0x1d44a5(_0x3051ea),_0x517c38=(_0x5d5ff7=(_0x54a7be=this[_0x48b89d(0x1d3)]['getMember'](this[_0x48b89d(0x40f)],_0x513eac))==null?void 0x0:_0x54a7be['name'])!=null?_0x5d5ff7:_0x48b89d(0x442),_0xf31886={'color':this[_0x48b89d(0x4ae)][_0x48b89d(0x331)](_0x513eac),'name':_0x517c38,'ranges':_0x3f9ab5},_0x1ae99f=this[_0x48b89d(0x25b)];_0x1ae99f[_0x48b89d(0x2c3)](_0x513eac,_0xf31886),this['_cursorInfo$'][_0x48b89d(0x1bd)](_0x1ae99f);}[_0x57b986(0x47e)](_0x572ef3){const _0x317d7d=_0x57b986,{memberID:_0xfebda9}=_0x572ef3['data'],_0x4ce81c=this[_0x317d7d(0x25b)];_0x4ce81c[_0x317d7d(0x391)](_0xfebda9),this[_0x317d7d(0x1cf)]['next'](_0x4ce81c);}[_0x57b986(0x2b9)](){const _0x536c78=_0x57b986;var _0x15b1e;if(this['_online']=!0x0,((_0x15b1e=this[_0x536c78(0x3d9)]['getFocusedUnit']())==null?void 0x0:_0x15b1e[_0x536c78(0x3d4)]())!==this['unitID'])return;const _0x8fc1ee=this[_0x536c78(0x260)][_0x536c78(0x408)](_0x3fcd1a[_0x536c78(0x294)])['getSelections'](),_0x438c9e=_0x8fc1ee==null?void 0x0:_0x8fc1ee['map'](_0x3fcd1a[_0x536c78(0x3a6)]);Array['isArray'](_0x438c9e)&&_0x438c9e[_0x536c78(0x397)]>0x0&&this[_0x536c78(0x38a)](_0x438c9e);}[_0x57b986(0x341)](){const _0x424bcf=_0x57b986;this[_0x424bcf(0x3d8)]=!0x1;}};_0x58774d=_0x8238c6([_0x1d8331(0x2,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x1d8331(0x3,_0x12925a[_0x57b986(0x42c)](_0x2ba255)),_0x1d8331(0x4,_0x12925a['Inject'](_0x4495e7)),_0x1d8331(0x5,_0x12925a[_0x57b986(0x42c)](_0x2f17dc)),_0x1d8331(0x6,_0x329b63[_0x57b986(0x2a0)]),_0x1d8331(0x7,_0x4cdaf4[_0x57b986(0x28e)]),_0x1d8331(0x8,_0x4cdaf4[_0x57b986(0x46c)])],_0x58774d);var _0x1ec62c=Object[_0x57b986(0x1f4)],_0x278236=Object['getOwnPropertyDescriptor'],_0x34b347=(_0x3f1f0e,_0x266fc6,_0x3d2c23,_0x41254f)=>{for(var _0x529959=_0x41254f>0x1?void 0x0:_0x41254f?_0x278236(_0x266fc6,_0x3d2c23):_0x266fc6,_0x34a54b=_0x3f1f0e['length']-0x1,_0x538464;_0x34a54b>=0x0;_0x34a54b--)(_0x538464=_0x3f1f0e[_0x34a54b])&&(_0x529959=(_0x41254f?_0x538464(_0x266fc6,_0x3d2c23,_0x529959):_0x538464(_0x529959))||_0x529959);return _0x41254f&&_0x529959&&_0x1ec62c(_0x266fc6,_0x3d2c23,_0x529959),_0x529959;},_0x151c3d=(_0x234aff,_0x29f9e3)=>(_0xfb2aab,_0x2aaeea)=>_0x29f9e3(_0xfb2aab,_0x2aaeea,_0x234aff);let _0xc3b139=class extends _0x4cdaf4['RxDisposable']{constructor(_0x38d780,_0x493102,_0x3e82ed){const _0x1879ac=_0x57b986;super(),_0x53d09f(this,_0x1879ac(0x389),new Map()),_0x53d09f(this,_0x1879ac(0x386),new _0x4bb16b['Subject']()),(this[_0x1879ac(0x3d9)]=_0x38d780,this[_0x1879ac(0x260)]=_0x493102,this[_0x1879ac(0x31f)]=_0x3e82ed,this['_init']());}[_0x57b986(0x46e)](){const _0x315ac6=_0x57b986;super[_0x315ac6(0x46e)](),this[_0x315ac6(0x386)][_0x315ac6(0x461)](),this[_0x315ac6(0x389)][_0x315ac6(0x2bc)](_0x373edc=>_0x373edc[_0x315ac6(0x46e)]());}['getCollabCursors$'](_0x5f2e19){const _0x377bf0=_0x57b986;return this[_0x377bf0(0x389)][_0x377bf0(0x458)](_0x5f2e19)?this[_0x377bf0(0x389)]['get'](_0x5f2e19)[_0x377bf0(0x535)]:this[_0x377bf0(0x386)]['pipe'](_0x4bb16b[_0x377bf0(0x252)](_0x35fe8b=>_0x35fe8b['unitID']===_0x5f2e19),_0x4bb16b['switchMap'](_0x187381=>_0x187381['cursorInfo$']));}[_0x57b986(0x546)](){const _0x4b09d2=_0x57b986;this['_univerInstanceService'][_0x4b09d2(0x553)](_0x4cdaf4[_0x4b09d2(0x514)][_0x4b09d2(0x1ed)])[_0x4b09d2(0x334)](_0x4bb16b['takeUntil'](this[_0x4b09d2(0x2e3)]))[_0x4b09d2(0x29e)](async _0x168cf6=>{const _0x5742a1=_0x4b09d2,_0x51e4fd=_0x168cf6[_0x5742a1(0x3d4)](),_0x34ff7a=await this[_0x5742a1(0x226)](_0x51e4fd);this[_0x5742a1(0x386)][_0x5742a1(0x1bd)](_0x34ff7a),this[_0x5742a1(0x389)][_0x5742a1(0x2c3)](_0x51e4fd,_0x34ff7a);}),this[_0x4b09d2(0x3d9)]['getTypeOfUnitAdded$'](_0x4cdaf4[_0x4b09d2(0x514)][_0x4b09d2(0x510)])['pipe'](_0x4bb16b[_0x4b09d2(0x2e2)](this['dispose$']))[_0x4b09d2(0x334)](_0x4bb16b[_0x4b09d2(0x252)](_0x1a9540=>!_0x1a9540[_0x4b09d2(0x3d4)]()[_0x4b09d2(0x55a)]('__')))['subscribe'](async _0x153b38=>{const _0x11eb91=_0x4b09d2,_0x12de4e=_0x153b38[_0x11eb91(0x3d4)](),_0xc5105c=await this['_startDocCollabCursor'](_0x12de4e);this[_0x11eb91(0x386)][_0x11eb91(0x1bd)](_0xc5105c),this[_0x11eb91(0x389)][_0x11eb91(0x2c3)](_0x12de4e,_0xc5105c);}),_0x4bb16b[_0x4b09d2(0x468)](this[_0x4b09d2(0x3d9)][_0x4b09d2(0x29d)](_0x4cdaf4[_0x4b09d2(0x514)][_0x4b09d2(0x510)]),this[_0x4b09d2(0x3d9)][_0x4b09d2(0x29d)](_0x4cdaf4['UniverInstanceType']['UNIVER_SHEET']))[_0x4b09d2(0x334)](_0x4bb16b[_0x4b09d2(0x2e2)](this['dispose$']))[_0x4b09d2(0x29e)](_0x25811e=>{const _0x101022=_0x4b09d2,_0x5b627c=_0x25811e[_0x101022(0x3d4)](),_0x45efe9=this[_0x101022(0x389)][_0x101022(0x408)](_0x5b627c);_0x45efe9&&(_0x45efe9[_0x101022(0x46e)](),this[_0x101022(0x389)]['delete'](_0x5b627c));});}async[_0x57b986(0x226)](_0x2c3a54){const _0x4820ea=_0x57b986,_0x2d9d58=await this['_collabSessionService']['requireSession'](_0x2c3a54),_0x33f334=this[_0x4820ea(0x260)][_0x4820ea(0x545)](_0x1d8604,_0x2c3a54,_0x2d9d58);return _0x33f334[_0x4820ea(0x533)](),_0x33f334;}async[_0x57b986(0x46f)](_0x3ea7e5){const _0x25aa5f=_0x57b986,_0x133ada=await this[_0x25aa5f(0x31f)][_0x25aa5f(0x50a)](_0x3ea7e5),_0x49be76=this['_injector'][_0x25aa5f(0x545)](_0x58774d,_0x3ea7e5,_0x133ada);return _0x49be76[_0x25aa5f(0x533)](),_0x49be76;}};_0xc3b139=_0x34b347([_0x4cdaf4[_0x57b986(0x4e2)](_0x4cdaf4[_0x57b986(0x575)]['Starting'],_0xc3b139),_0x151c3d(0x0,_0x4cdaf4[_0x57b986(0x28e)]),_0x151c3d(0x1,_0x12925a['Inject'](_0x12925a['Injector'])),_0x151c3d(0x2,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x48c)]))],_0xc3b139);const _0x4f68cc=0x14,_0xebd68b=0xc8,_0x2a6481=0x4,_0xfbf61=0x5;function _0x3a343b(_0xb7b03f,_0x1171d6){const _0x2ac80d=_0x57b986;let {radius:_0x219f61,width:_0x3ba0fd,height:_0x478fa4}=_0x1171d6;_0x219f61=_0x219f61!=null?_0x219f61:0x0,_0x3ba0fd=_0x3ba0fd!=null?_0x3ba0fd:0x1e,_0x478fa4=_0x478fa4!=null?_0x478fa4:0x1e;let _0x47cfdc=0x0,_0x4defb8=0x0,_0x5aec84=0x0;_0x47cfdc=_0x4defb8=_0x5aec84=Math[_0x2ac80d(0x3ef)](_0x219f61,_0x3ba0fd/0x2,_0x478fa4/0x2),_0xb7b03f[_0x2ac80d(0x3e2)](),_0xb7b03f['moveTo'](_0x47cfdc,0x0),_0xb7b03f[_0x2ac80d(0x53e)](_0x3ba0fd-_0x4defb8,0x0),_0xb7b03f[_0x2ac80d(0x336)](_0x3ba0fd-_0x4defb8,_0x4defb8,_0x4defb8,Math['PI']*0x3/0x2,0x0,!0x1),_0xb7b03f[_0x2ac80d(0x53e)](_0x3ba0fd,_0x478fa4-_0x5aec84),_0xb7b03f[_0x2ac80d(0x336)](_0x3ba0fd-_0x5aec84,_0x478fa4-_0x5aec84,_0x5aec84,0x0,Math['PI']/0x2,!0x1),_0xb7b03f[_0x2ac80d(0x53e)](0x0,_0x478fa4),_0xb7b03f[_0x2ac80d(0x53e)](0x0,_0x47cfdc),_0xb7b03f[_0x2ac80d(0x336)](_0x47cfdc,_0x47cfdc,_0x47cfdc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb7b03f['closePath'](),_0x1171d6[_0x2ac80d(0x218)]&&(_0xb7b03f['save'](),_0xb7b03f[_0x2ac80d(0x482)]=_0x1171d6[_0x2ac80d(0x218)],_0x1171d6[_0x2ac80d(0x24b)]===_0x2ac80d(0x362)?_0xb7b03f[_0x2ac80d(0x218)](_0x2ac80d(0x362)):_0xb7b03f[_0x2ac80d(0x218)](),_0xb7b03f[_0x2ac80d(0x200)]());}class _0x3b789e extends _0x499dcd[_0x57b986(0x238)]{constructor(_0x3ec0c6,_0x4ad8c6){const _0x195253=_0x57b986;super(_0x3ec0c6,_0x4ad8c6),_0x53d09f(this,_0x195253(0x4fe)),_0x53d09f(this,_0x195253(0x4ac)),(this[_0x195253(0x4fe)]=_0x4ad8c6==null?void 0x0:_0x4ad8c6[_0x195253(0x4fe)],this[_0x195253(0x4ac)]=_0x4ad8c6==null?void 0x0:_0x4ad8c6[_0x195253(0x4ac)]);}static[_0x57b986(0x388)](_0x538eee,_0x34981d){const _0x5d92d6=_0x57b986,{text:_0x4bd135,color:_0x1c7b93}=_0x34981d;_0x538eee[_0x5d92d6(0x41b)](),_0x538eee[_0x5d92d6(0x3d6)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x57f619=_0x538eee[_0x5d92d6(0x556)](_0x4bd135)['width'],_0x3e6f3c=Math[_0x5d92d6(0x3ef)](_0x57f619+0x2*_0x2a6481,_0xebd68b);_0x3a343b(_0x538eee,{'height':_0x4f68cc,'radius':0x4,'width':_0x3e6f3c,'fill':_0x1c7b93,'evented':!0x1}),_0x538eee[_0x5d92d6(0x482)]=_0x5d92d6(0x57b);const _0x2e4509=_0x2a6481,_0x26d6d1=_0x4f68cc-_0xfbf61,_0x5c5883=_0xebd68b-0x2*_0x2a6481;if(_0x57f619>_0x5c5883){let _0x345f1f='',_0xe3fc43=0x0;for(const _0xa16237 of _0x4bd135){const _0x22e21a=_0x538eee[_0x5d92d6(0x556)](_0xa16237)[_0x5d92d6(0x3ae)];if(_0xe3fc43+_0x22e21a<=_0x5c5883-_0x538eee[_0x5d92d6(0x556)](_0x5d92d6(0x56a))[_0x5d92d6(0x3ae)])_0x345f1f+=_0xa16237,_0xe3fc43+=_0x22e21a;else{_0x345f1f+='...';break;}}_0x538eee[_0x5d92d6(0x265)](_0x345f1f,_0x2e4509,_0x26d6d1);}else _0x538eee[_0x5d92d6(0x265)](_0x4bd135,_0x2e4509,_0x26d6d1);_0x538eee[_0x5d92d6(0x200)]();}[_0x57b986(0x3ed)](_0x2e1907){const _0x5969cd=_0x57b986;_0x3b789e[_0x5969cd(0x388)](_0x2e1907,this);}}const _0x57b21d=0x1,_0x3bcd1e=1.5;class _0x13a5fe extends _0x499dcd['Shape']{constructor(_0x920e8d,_0x50ceb1){const _0xdcfc6e=_0x57b986;super(_0x920e8d,_0x50ceb1),_0x53d09f(this,_0xdcfc6e(0x45c)),_0x53d09f(this,_0xdcfc6e(0x2b8),!0x1),_0x53d09f(this,_0xdcfc6e(0x338)),_0x53d09f(this,_0xdcfc6e(0x581),''),_0x53d09f(this,_0xdcfc6e(0x36b),'top'),(_0x50ceb1&&this[_0xdcfc6e(0x55f)](_0x50ceb1),this[_0xdcfc6e(0x48a)][_0xdcfc6e(0x2b7)](()=>this[_0xdcfc6e(0x55f)]({'hovered':!0x0})),this['onPointerLeaveObserver'][_0xdcfc6e(0x2b7)](()=>this[_0xdcfc6e(0x55f)]({'hovered':!0x1})));}['setShapeProps'](_0x170834){const _0x5b9a2c=_0x57b986;var _0x383c95,_0x4abf05,_0x38cff7,_0x1c3ef0,_0x1cafd0;this[_0x5b9a2c(0x45c)]=(_0x383c95=_0x170834[_0x5b9a2c(0x4fe)])!=null?_0x383c95:this['_color'],this[_0x5b9a2c(0x2b8)]=(_0x4abf05=_0x170834[_0x5b9a2c(0x54a)])!=null?_0x4abf05:this[_0x5b9a2c(0x2b8)],this['_range']=(_0x38cff7=_0x170834[_0x5b9a2c(0x2f6)])!=null?_0x38cff7:this[_0x5b9a2c(0x338)],this[_0x5b9a2c(0x581)]=(_0x1c3ef0=_0x170834['name'])!=null?_0x1c3ef0:this['_name'],this[_0x5b9a2c(0x36b)]=(_0x1cafd0=_0x170834[_0x5b9a2c(0x2c4)])!=null?_0x1cafd0:this[_0x5b9a2c(0x36b)],this[_0x5b9a2c(0x406)]({'width':_0x170834[_0x5b9a2c(0x3ae)],'height':_0x170834['height']});}['onMouseMove'](_0x108ba3){const _0x373e03=_0x57b986,{row:_0x48843a,column:_0x3a4717}=_0x108ba3;if(_0x48843a>=this[_0x373e03(0x338)][_0x373e03(0x350)]&&_0x48843a<=this[_0x373e03(0x338)]['endRow']&&_0x3a4717>=this['_range'][_0x373e03(0x2c1)]&&_0x3a4717<=this[_0x373e03(0x338)][_0x373e03(0x3be)]){this[_0x373e03(0x55f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x57b986(0x322)](_0x2a3bf6){return!0x1;}[_0x57b986(0x3ed)](_0x10dd98){const _0x562a62=_0x57b986;_0x499dcd[_0x562a62(0x382)][_0x562a62(0x388)](_0x10dd98,{'width':this[_0x562a62(0x3ae)],'height':this[_0x562a62(0x1d7)],'strokeWidth':_0x3bcd1e,'stroke':this[_0x562a62(0x45c)],'evented':!0x1}),this['_hovered']&&(_0x10dd98[_0x562a62(0x41b)](),_0x10dd98['transform'](0x1,0x0,0x0,0x1,this[_0x562a62(0x3ae)],this[_0x562a62(0x36b)]===_0x562a62(0x4ee)?0x0:-_0x4f68cc),_0x3b789e['drawWith'](_0x10dd98,{'text':this[_0x562a62(0x581)],'color':this[_0x562a62(0x45c)]}),_0x10dd98['restore']());}}var _0x26fc28=Object[_0x57b986(0x1f4)],_0x1de7c2=Object[_0x57b986(0x405)],_0xfa3bcb=(_0x16a51a,_0x5e4194,_0x353c3e,_0x56fd36)=>{const _0x30f06e=_0x57b986;for(var _0x1035af=_0x56fd36>0x1?void 0x0:_0x56fd36?_0x1de7c2(_0x5e4194,_0x353c3e):_0x5e4194,_0x22d84d=_0x16a51a[_0x30f06e(0x397)]-0x1,_0x4dcd34;_0x22d84d>=0x0;_0x22d84d--)(_0x4dcd34=_0x16a51a[_0x22d84d])&&(_0x1035af=(_0x56fd36?_0x4dcd34(_0x5e4194,_0x353c3e,_0x1035af):_0x4dcd34(_0x1035af))||_0x1035af);return _0x56fd36&&_0x1035af&&_0x26fc28(_0x5e4194,_0x353c3e,_0x1035af),_0x1035af;},_0x10c070=(_0x59405f,_0x28ba51)=>(_0x2490d0,_0x180237)=>_0x28ba51(_0x2490d0,_0x180237,_0x59405f);const _0x44fa1a=0x1389;let _0x662f12=class extends _0x4cdaf4[_0x57b986(0x499)]{constructor(_0x4dd6c0,_0x5c4bfa,_0x46a62f,_0x1aa387){const _0x117b01=_0x57b986;super(),_0x53d09f(this,_0x117b01(0x3a3),new Set()),_0x53d09f(this,_0x117b01(0x431),null),(this['_collabCursorController']=_0x4dd6c0,this[_0x117b01(0x3d9)]=_0x5c4bfa,this['_renderManagerService']=_0x46a62f,this[_0x117b01(0x53c)]=_0x1aa387,this[_0x117b01(0x546)]());}get[_0x57b986(0x3c5)](){const _0x4391f8=_0x57b986;return this[_0x4391f8(0x3df)][_0x4391f8(0x44c)](this['_univerInstanceService'][_0x4391f8(0x395)](_0x4cdaf4[_0x4391f8(0x514)][_0x4391f8(0x1ed)])[_0x4391f8(0x3d4)]())[_0x4391f8(0x40a)](_0x4ad633[_0x4391f8(0x292)]);}get[_0x57b986(0x402)](){const _0x6b5602=_0x57b986;return this[_0x6b5602(0x3d9)][_0x6b5602(0x395)](_0x4cdaf4[_0x6b5602(0x514)]['UNIVER_SHEET'])[_0x6b5602(0x3d4)]();}[_0x57b986(0x546)](){const _0x5303a8=_0x57b986;this[_0x5303a8(0x3c5)][_0x5303a8(0x41e)]['pipe'](_0x4ac749['takeUntil'](this['dispose$']),_0x4ac749[_0x5303a8(0x446)](_0x80139c=>{const _0x4b6b2e=_0x5303a8;if(_0x80139c){const _0x465554=_0x80139c[_0x4b6b2e(0x299)];return _0x4bb16b['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this['_unitId']),this[_0x4b6b2e(0x53c)][_0x4b6b2e(0x2fd)])['pipe'](_0x4ac749[_0x4b6b2e(0x2d2)](([_0x37907d,_0x1ea7c2])=>{const _0x31f1ea=_0x4b6b2e,_0x2d0807=new Map();return _0x37907d[_0x31f1ea(0x2bc)]((_0x1534b4,_0x5732b9)=>{const _0x1ba030=_0x31f1ea;if(_0x1534b4[_0x1ba030(0x1fe)]===_0x465554){const _0x1b8791={..._0x1534b4};_0x1b8791['color']=_0x1ea7c2[_0x1534b4[_0x1ba030(0x4fe)]],_0x2d0807['set'](_0x5732b9,_0x1b8791);}}),{'skeleton':_0x80139c,'cursors':_0x2d0807};}));}return _0x4bb16b['of']({'skeleton':null,'cursors':new Map()});}))[_0x5303a8(0x29e)](({skeleton:_0x86f0bd,cursors:_0xc8f6c9})=>{this['_removeCollabCursors'](),_0x86f0bd&&this['_updateCollabCursors'](_0x86f0bd,_0xc8f6c9);}),this[_0x5303a8(0x3c5)][_0x5303a8(0x41e)][_0x5303a8(0x29e)](_0x282a6d=>{const _0x3b769b=_0x5303a8;if(_0x282a6d==null)return;const {skeleton:_0x445cfd}=_0x282a6d,_0x1c454d=this[_0x3b769b(0x3df)]['getRenderById'](this[_0x3b769b(0x402)]),{scene:_0x2108d4}=_0x1c454d;_0x2108d4[_0x3b769b(0x1c4)][_0x3b769b(0x2b7)](_0x7451ba(_0x1296ee=>{const _0x3eb568=_0x3b769b;var _0x2a13c0,_0x175dc1;const {offsetX:_0x5ee488,offsetY:_0x55a6a8}=_0x1296ee,{x:_0x27df08,y:_0x466cb8}=_0x2108d4['getRelativeCoord'](_0x499dcd[_0x3eb568(0x34a)][_0x3eb568(0x245)]([_0x5ee488,_0x55a6a8])),{scaleX:_0x35c5cd,scaleY:_0x242d74}=_0x2108d4[_0x3eb568(0x223)](),_0x383c0c=_0x2108d4[_0x3eb568(0x1e4)](_0x4ad633[_0x3eb568(0x1d2)][_0x3eb568(0x3f6)]),_0x504db9=_0x2108d4[_0x3eb568(0x20b)](_0x499dcd[_0x3eb568(0x34a)]['FromArray']([_0x27df08,_0x466cb8]),_0x383c0c),_0x36cbd5=_0x445cfd['getCellPositionByOffset'](_0x5ee488,_0x55a6a8,_0x35c5cd,_0x242d74,_0x504db9);((_0x2a13c0=this[_0x3eb568(0x431)])==null?void 0x0:_0x2a13c0[_0x3eb568(0x4be)])===_0x36cbd5[_0x3eb568(0x4be)]&&((_0x175dc1=this[_0x3eb568(0x431)])==null?void 0x0:_0x175dc1[_0x3eb568(0x22d)])===_0x36cbd5[_0x3eb568(0x22d)]||this[_0x3eb568(0x3a3)][_0x3eb568(0x2bc)](_0x5f434c=>{const _0x3b41a7=_0x3eb568;_0x5f434c[_0x3b41a7(0x32b)](_0x36cbd5);});},0x64));});}[_0x57b986(0x319)](_0x3d2864,_0x27f8f1){const _0x20960f=_0x57b986;var _0x2dec24;const _0x3921a=(_0x2dec24=this[_0x20960f(0x3c5)]['getCurrent']())==null?void 0x0:_0x2dec24['skeleton'];if(!_0x3921a)return;const _0x796cc5=this['_getSheetObject']();if(!_0x796cc5)return;this[_0x20960f(0x3a3)][_0x20960f(0x2bc)](_0x1a628=>{const _0xf6ce58=_0x20960f;_0x1a628[_0xf6ce58(0x4cd)]();});const {scene:_0x173cec}=_0x796cc5,_0x116d76=_0x5209e7(Array[_0x20960f(0x1bf)](_0x27f8f1[_0x20960f(0x2c0)]()))[_0x20960f(0x2d2)](_0xf5d97=>{const _0x13a9e8=_0x20960f,{color:_0x24a144,range:_0x442352,name:_0x3a397f,selection:_0x17ad53,sheetID:_0xbeec02}=_0xf5d97,{startColumn:_0x3697bb,startRow:_0x5243ac,endColumn:_0x20271c,endRow:_0x489d89}=_0x442352,_0x48163a=_0x4ad633[_0x13a9e8(0x423)](_0x5243ac,_0x3697bb,_0x173cec,_0x3921a),_0x5bbf5c=_0x4ad633[_0x13a9e8(0x423)](_0x489d89,_0x20271c,_0x173cec,_0x3921a),{columnHeaderHeightAndMarginTop:_0x5e693b}=_0x3921a,{startX:_0x5bd405,startY:_0xc990fc}=_0x48163a,{endX:_0xfe602c,endY:_0x5e005d}=_0x5bbf5c,_0x54ba52=_0xfe602c-_0x5bd405,_0x5c5a36=_0x5e005d-_0xc990fc,_0x4b2437={'labelPosition':_0xc990fc-_0x5e693b>=_0x4f68cc?_0x13a9e8(0x407):'bottom','sheetID':_0xbeec02,'range':_0x442352,'color':_0x24a144,'name':_0x3a397f,'selection':_0x17ad53,'left':_0x5bd405,'top':_0xc990fc,'width':_0x54ba52,'height':_0x5c5a36,'evented':!0x1,'zIndex':_0x44fa1a};return new _0x13a5fe(_0x3a397f,_0x4b2437);});_0x173cec[_0x20960f(0x4d6)](_0x116d76,_0x57b21d),this[_0x20960f(0x3a3)]=new Set(_0x116d76);}[_0x57b986(0x2ea)](){const _0x4c832c=_0x57b986;var _0x2033a9;(_0x2033a9=this[_0x4c832c(0x3a3)])==null||_0x2033a9[_0x4c832c(0x2bc)](_0x1a9456=>_0x1a9456[_0x4c832c(0x46e)]());}[_0x57b986(0x35a)](){const _0x3f079f=_0x57b986;return _0x4ad633[_0x3f079f(0x1d9)](this[_0x3f079f(0x3d9)],this[_0x3f079f(0x3df)]);}};_0x662f12=_0xfa3bcb([_0x4cdaf4[_0x57b986(0x4e2)](_0x4cdaf4[_0x57b986(0x575)][_0x57b986(0x3c2)],_0x662f12),_0x10c070(0x0,_0x12925a[_0x57b986(0x42c)](_0xc3b139)),_0x10c070(0x1,_0x4cdaf4[_0x57b986(0x28e)]),_0x10c070(0x2,_0x499dcd['IRenderManagerService']),_0x10c070(0x3,_0x12925a['Inject'](_0x4cdaf4[_0x57b986(0x3fb)]))],_0x662f12);function _0x5209e7(_0x314ead){const _0x7fd0d6=_0x57b986,_0x360e2e=new Map();return _0x314ead[_0x7fd0d6(0x2bc)](_0x521ae2=>{const _0x2a0644=_0x7fd0d6;if(_0x360e2e[_0x2a0644(0x458)](_0x521ae2['selection'])){const _0x47eb47=_0x360e2e['get'](_0x521ae2[_0x2a0644(0x3ff)]);_0x47eb47[_0x2a0644(0x4a3)]+=',\x20'+_0x521ae2[_0x2a0644(0x4a3)];}else _0x360e2e[_0x2a0644(0x2c3)](_0x521ae2[_0x2a0644(0x3ff)],_0x521ae2);}),Array['from'](_0x360e2e[_0x7fd0d6(0x2c0)]());}var _0x26bda1=function(){const _0x3531d5=_0x57b986;return _0x26bda1=Object['assign']||function(_0x2e04d7){const _0x4ba47e=_0x23df;for(var _0x521406,_0x4b2276=0x1,_0x41bd57=arguments[_0x4ba47e(0x397)];_0x4b2276<_0x41bd57;_0x4b2276++){_0x521406=arguments[_0x4b2276];for(var _0x47b208 in _0x521406)Object[_0x4ba47e(0x3e4)][_0x4ba47e(0x290)][_0x4ba47e(0x42b)](_0x521406,_0x47b208)&&(_0x2e04d7[_0x47b208]=_0x521406[_0x47b208]);}return _0x2e04d7;},_0x26bda1[_0x3531d5(0x3ca)](this,arguments);},_0x4161ba=function(_0x31e40c,_0x4ad031){const _0xa2f1ee=_0x57b986;var _0x22604d={};for(var _0x36c187 in _0x31e40c)Object[_0xa2f1ee(0x3e4)]['hasOwnProperty'][_0xa2f1ee(0x42b)](_0x31e40c,_0x36c187)&&_0x4ad031['indexOf'](_0x36c187)<0x0&&(_0x22604d[_0x36c187]=_0x31e40c[_0x36c187]);if(_0x31e40c!=null&&typeof Object[_0xa2f1ee(0x503)]==_0xa2f1ee(0x3c4)){for(var _0x54581c=0x0,_0x36c187=Object['getOwnPropertySymbols'](_0x31e40c);_0x54581c<_0x36c187[_0xa2f1ee(0x397)];_0x54581c++)_0x4ad031[_0xa2f1ee(0x472)](_0x36c187[_0x54581c])<0x0&&Object[_0xa2f1ee(0x3e4)]['propertyIsEnumerable'][_0xa2f1ee(0x42b)](_0x31e40c,_0x36c187[_0x54581c])&&(_0x22604d[_0x36c187[_0x54581c]]=_0x31e40c[_0x36c187[_0x54581c]]);}return _0x22604d;},_0x53a441=_0x48aaee['forwardRef'](function(_0x1d27d9,_0xb12e85){const _0x184bc6=_0x57b986;var _0x39d457=_0x1d27d9[_0x184bc6(0x279)],_0x325260=_0x1d27d9['id'],_0x3cd783=_0x1d27d9[_0x184bc6(0x1c3)],_0x473cac=_0x1d27d9[_0x184bc6(0x232)],_0x37c2f4=_0x4161ba(_0x1d27d9,['icon','id',_0x184bc6(0x1c3),_0x184bc6(0x232)]),_0x14c3e8='univerjs-icon\x20univerjs-icon-'['concat'](_0x325260,'\x20')[_0x184bc6(0x3ab)](_0x3cd783||'')[_0x184bc6(0x576)](),_0x408bf6=_0x48aaee['useRef']('_'[_0x184bc6(0x3ab)](_0x5b0f1a()));return _0x3db31e(_0x39d457,''[_0x184bc6(0x3ab)](_0x325260),{'defIds':_0x39d457[_0x184bc6(0x53f)],'idSuffix':_0x408bf6['current']},_0x26bda1({'ref':_0xb12e85,'className':_0x14c3e8},_0x37c2f4),_0x473cac);});function _0x3db31e(_0xbf30fd,_0x3052e0,_0x281ce4,_0x119a76,_0x53ce74){const _0x11b538=_0x57b986;return _0x48aaee[_0x11b538(0x263)](_0xbf30fd['tag'],_0x26bda1(_0x26bda1({'key':_0x3052e0},_0x1079da(_0xbf30fd,_0x281ce4,_0x53ce74)),_0x119a76),(_0x5c9037(_0xbf30fd,_0x281ce4)['children']||[])['map'](function(_0xee3b9a,_0x5a041b){const _0x5866bf=_0x11b538;return _0x3db31e(_0xee3b9a,''['concat'](_0x3052e0,'-')[_0x5866bf(0x3ab)](_0xbf30fd[_0x5866bf(0x411)],'-')['concat'](_0x5a041b),_0x281ce4,void 0x0,_0x53ce74);}));}function _0x1079da(_0x3d158f,_0x300329,_0x61fa23){const _0x15c5f6=_0x57b986;var _0x38afbb=_0x26bda1({},_0x3d158f[_0x15c5f6(0x483)]);_0x61fa23!=null&&_0x61fa23[_0x15c5f6(0x4ad)]&&_0x38afbb[_0x15c5f6(0x218)]===_0x15c5f6(0x4ad)&&(_0x38afbb[_0x15c5f6(0x218)]=_0x61fa23[_0x15c5f6(0x4ad)]);var _0x462c02=_0x300329[_0x15c5f6(0x53f)];return!_0x462c02||_0x462c02[_0x15c5f6(0x397)]===0x0||(_0x3d158f['tag']===_0x15c5f6(0x4e9)&&_0x38afbb['xlink:href']&&(_0x38afbb[_0x15c5f6(0x224)]=_0x38afbb[_0x15c5f6(0x224)]+_0x300329[_0x15c5f6(0x4c0)]),Object[_0x15c5f6(0x563)](_0x38afbb)[_0x15c5f6(0x2bc)](function(_0x5d14c8){const _0x24fb23=_0x15c5f6;var _0x1b279e=_0x5d14c8[0x0],_0x11a857=_0x5d14c8[0x1];typeof _0x11a857==_0x24fb23(0x36c)&&(_0x38afbb[_0x1b279e]=_0x11a857[_0x24fb23(0x2ae)](/url\(#(.*)\)/,'url(#$1'[_0x24fb23(0x3ab)](_0x300329[_0x24fb23(0x4c0)],')')));})),_0x38afbb;}function _0x5c9037(_0x258ea7,_0x226c1e){const _0x370e16=_0x57b986;var _0x588559,_0x4a689d=_0x226c1e[_0x370e16(0x53f)];return!_0x4a689d||_0x4a689d[_0x370e16(0x397)]===0x0?_0x258ea7:_0x258ea7['tag']===_0x370e16(0x246)&&(!((_0x588559=_0x258ea7[_0x370e16(0x3fc)])===null||_0x588559===void 0x0)&&_0x588559[_0x370e16(0x397)])?_0x26bda1(_0x26bda1({},_0x258ea7),{'children':_0x258ea7[_0x370e16(0x3fc)][_0x370e16(0x2d2)](function(_0x40003e){const _0x7eddde=_0x370e16;return typeof _0x40003e[_0x7eddde(0x483)]['id']==_0x7eddde(0x36c)&&_0x4a689d&&_0x4a689d[_0x7eddde(0x472)](_0x40003e[_0x7eddde(0x483)]['id'])>-0x1?_0x26bda1(_0x26bda1({},_0x40003e),{'attrs':_0x26bda1(_0x26bda1({},_0x40003e['attrs']),{'id':_0x40003e['attrs']['id']+_0x226c1e[_0x7eddde(0x4c0)]})}):_0x40003e;})}):_0x258ea7;}function _0x5b0f1a(){const _0xae60d9=_0x57b986;return Math['random']()[_0xae60d9(0x3cb)](0x24)[_0xae60d9(0x258)](0x2,0x8);}_0x53a441['displayName']=_0x57b986(0x2a6);var _0x33dbaa={'tag':'svg','attrs':{'fill':'none','viewBox':_0x57b986(0x31b),'width':_0x57b986(0x4b4),'height':_0x57b986(0x4b4)},'children':[{'tag':'g','attrs':{'clipPath':_0x57b986(0x2dd)},'children':[{'tag':_0x57b986(0x422),'attrs':{'stroke':_0x57b986(0x33d),'d':_0x57b986(0x52a),'strokeLinecap':_0x57b986(0x268),'strokeLinejoin':_0x57b986(0x268),'strokeWidth':1.2}}]},{'tag':_0x57b986(0x246),'attrs':{},'children':[{'tag':_0x57b986(0x2ad),'attrs':{'id':_0x57b986(0x1e9)},'children':[{'tag':_0x57b986(0x422),'attrs':{'fill':_0x57b986(0x484),'d':_0x57b986(0x304)}}]}]}],'defIds':[_0x57b986(0x1e9)]},_0x5b0903=_0x48aaee[_0x57b986(0x477)](function(_0x1843a1,_0x26a999){const _0x1e96cf=_0x57b986;return _0x48aaee[_0x1e96cf(0x263)](_0x53a441,Object['assign']({},_0x1843a1,{'id':_0x1e96cf(0x53a),'ref':_0x26a999,'icon':_0x33dbaa}));});_0x5b0903['displayName']=_0x57b986(0x57a);var _0x2eb9dd={'tag':_0x57b986(0x3b7),'attrs':{'fill':_0x57b986(0x4b0),'viewBox':_0x57b986(0x1c0),'width':_0x57b986(0x4b4),'height':_0x57b986(0x4b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x57b986(0x422),'attrs':{'stroke':'currentColor','d':_0x57b986(0x3eb),'strokeLinecap':_0x57b986(0x268),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x57b986(0x246),'attrs':{},'children':[{'tag':_0x57b986(0x2ad),'attrs':{'id':_0x57b986(0x49f)},'children':[{'tag':_0x57b986(0x422),'attrs':{'fill':'#fff','d':_0x57b986(0x304),'transform':'translate(.97)'}}]}]}],'defIds':[_0x57b986(0x49f)]},_0x5433ca=_0x48aaee[_0x57b986(0x477)](function(_0x132b27,_0x1cb72c){const _0x34da01=_0x57b986;return _0x48aaee[_0x34da01(0x263)](_0x53a441,Object['assign']({},_0x132b27,{'id':'on-line-single','ref':_0x1cb72c,'icon':_0x2eb9dd}));});_0x5433ca[_0x57b986(0x1d8)]=_0x57b986(0x3ba);const _0x42079e={'onlineStatusIcon':_0x57b986(0x3f5),'onlineStatusTitle':_0x57b986(0x471),'onlineStatus':_0x57b986(0x30b),'online':_0x57b986(0x2a5),'offline':_0x57b986(0x544)};function _0x2e14f1(_0x27a621){const _0x27bd9a=_0x57b986;switch(_0x27a621){case _0x5185a4[_0x27bd9a(0x26f)]:return'collabStatus.offline';case _0x5185a4[_0x27bd9a(0x1de)]:return _0x27bd9a(0x509);case _0x5185a4[_0x27bd9a(0x47b)]:return _0x27bd9a(0x57e);case _0x5185a4[_0x27bd9a(0x20e)]:return _0x27bd9a(0x490);case _0x5185a4[_0x27bd9a(0x2f7)]:case _0x5185a4['AWAITING']:case _0x5185a4[_0x27bd9a(0x30f)]:return _0x27bd9a(0x2de);case _0x5185a4[_0x27bd9a(0x1c6)]:return _0x27bd9a(0x40b);}}function _0x3c74c6(_0x267031){const _0xaabfc0=_0x57b986,{status$:_0x48da3b}=_0x267031,_0x374ca1=_0x4ff465[_0xaabfc0(0x44a)](_0x48da3b,_0x5185a4[_0xaabfc0(0x20e)]),_0x48eacb=_0x263934['useDependency'](_0x4cdaf4[_0xaabfc0(0x502)]),_0xe51bd5=_0x374ca1!==_0x5185a4[_0xaabfc0(0x26f)],_0x312b27=_0x48eacb['t'](_0x2e14f1(_0x374ca1)),_0x14a81a=_0x504a8c(_0x42079e['onlineStatus'],{[_0x42079e[_0xaabfc0(0x3a4)]]:_0xe51bd5,[_0x42079e[_0xaabfc0(0x4f8)]]:!_0xe51bd5}),_0x42a758=_0xe51bd5?_0x48aaee[_0xaabfc0(0x263)](_0x5433ca,null):_0x48aaee[_0xaabfc0(0x263)](_0x5b0903,null);return _0x48aaee['createElement'](_0xaabfc0(0x4d2),{'className':_0x14a81a},_0x48aaee['createElement']('div',{'className':_0x42079e[_0xaabfc0(0x297)]},_0x42a758),_0x48aaee[_0xaabfc0(0x263)](_0xaabfc0(0x4d2),{'className':_0x42079e[_0xaabfc0(0x1e0)]},_0x312b27));}var _0x14a16f=Object[_0x57b986(0x1f4)],_0x4b60d9=Object[_0x57b986(0x405)],_0x7c8c61=(_0x298747,_0x326757,_0x3713e2,_0x5a42ea)=>{for(var _0x15fcee=_0x5a42ea>0x1?void 0x0:_0x5a42ea?_0x4b60d9(_0x326757,_0x3713e2):_0x326757,_0x4947d8=_0x298747['length']-0x1,_0x5a758a;_0x4947d8>=0x0;_0x4947d8--)(_0x5a758a=_0x298747[_0x4947d8])&&(_0x15fcee=(_0x5a42ea?_0x5a758a(_0x326757,_0x3713e2,_0x15fcee):_0x5a758a(_0x15fcee))||_0x15fcee);return _0x5a42ea&&_0x15fcee&&_0x14a16f(_0x326757,_0x3713e2,_0x15fcee),_0x15fcee;},_0x443cd5=(_0x51da91,_0x5842b3)=>(_0x1c0a52,_0x3818cf)=>_0x5842b3(_0x1c0a52,_0x3818cf,_0x51da91);_0x3f3314[_0x57b986(0x3e9)]=class extends _0x4cdaf4[_0x57b986(0x310)]{constructor(_0x20ff88,_0x28c2cd,_0x102633,_0xccfe13){const _0x449e25=_0x57b986;super(),_0x53d09f(this,_0x449e25(0x488),new _0x4bb16b[(_0x449e25(0x2e9))](_0x5185a4[_0x449e25(0x20e)])),(this[_0x449e25(0x3d9)]=_0x20ff88,this['_uiPartsService']=_0x28c2cd,this[_0x449e25(0x260)]=_0x102633,this[_0x449e25(0x1d1)]=_0xccfe13,this['_initStatusComponent'](),this[_0x449e25(0x24a)]());}['_initStatusComponent'](){const _0x528d71=_0x57b986;this[_0x528d71(0x250)](this[_0x528d71(0x213)]['registerComponent'](_0x4ff465['BuiltInUIPart']['HEADER_MENU'],()=>_0x263934[_0x528d71(0x2fa)](_0x496371({'status$':this[_0x528d71(0x488)][_0x528d71(0x534)]()}),this[_0x528d71(0x260)])));}[_0x57b986(0x24a)](){const _0x1968c3=_0x57b986;this[_0x1968c3(0x250)](_0x4cdaf4[_0x1968c3(0x56b)](this[_0x1968c3(0x3d9)]['focused$']['pipe'](_0x4bb16b['switchMap'](()=>{const _0x2f38b0=_0x1968c3,_0x3fc2ab=this[_0x2f38b0(0x3d9)][_0x2f38b0(0x44d)]();return _0x3fc2ab?this[_0x2f38b0(0x1d1)][_0x2f38b0(0x2df)](_0x3fc2ab[_0x2f38b0(0x3d4)]()):_0x4bb16b['of'](null);}),_0x4bb16b[_0x1968c3(0x446)](_0x47f028=>_0x47f028?_0x47f028[_0x1968c3(0x37b)]:_0x4bb16b['of'](_0x5185a4[_0x1968c3(0x20e)])))[_0x1968c3(0x29e)](_0xdac4cd=>{const _0x37e313=_0x1968c3;this[_0x37e313(0x488)][_0x37e313(0x1bd)](_0xdac4cd);})));}},_0x3f3314[_0x57b986(0x3e9)]=_0x7c8c61([_0x4cdaf4[_0x57b986(0x4e2)](_0x4cdaf4[_0x57b986(0x575)]['Starting'],_0x3f3314[_0x57b986(0x3e9)]),_0x443cd5(0x0,_0x4cdaf4[_0x57b986(0x28e)]),_0x443cd5(0x1,_0x4ff465[_0x57b986(0x4fd)]),_0x443cd5(0x2,_0x12925a[_0x57b986(0x42c)](_0x12925a[_0x57b986(0x52f)])),_0x443cd5(0x3,_0x12925a['Inject'](_0x3f3314['CollaborationController']))],_0x3f3314['DesktopCollaborationStatusDisplayController']);function _0x496371(_0x1a37da){const {status$:_0x3bbd27}=_0x1a37da;return function(){const _0x39898e=_0x23df;return _0x48aaee[_0x39898e(0x263)](_0x3c74c6,{'status$':_0x3bbd27});};}const _0x13d820=_0x12925a[_0x57b986(0x249)](_0x57b986(0x3a9));var _0x4b7784=Object[_0x57b986(0x1f4)],_0x4cf05e=Object[_0x57b986(0x405)],_0x44a63d=(_0x574b65,_0x4a11e4,_0x34167d,_0x51ac98)=>{for(var _0x36267b=_0x51ac98>0x1?void 0x0:_0x51ac98?_0x4cf05e(_0x4a11e4,_0x34167d):_0x4a11e4,_0x45ce81=_0x574b65['length']-0x1,_0x318438;_0x45ce81>=0x0;_0x45ce81--)(_0x318438=_0x574b65[_0x45ce81])&&(_0x36267b=(_0x51ac98?_0x318438(_0x4a11e4,_0x34167d,_0x36267b):_0x318438(_0x36267b))||_0x36267b);return _0x51ac98&&_0x36267b&&_0x4b7784(_0x4a11e4,_0x34167d,_0x36267b),_0x36267b;},_0x45c89f=(_0x29f295,_0x12b6ed)=>(_0x1cbf72,_0x52536f)=>_0x12b6ed(_0x1cbf72,_0x52536f,_0x29f295);_0x3f3314[_0x57b986(0x393)]=class extends _0x4cdaf4[_0x57b986(0x499)]{constructor(_0x7b0fae,_0x3165d6,_0x55fbfc,_0x45a134,_0x444a0d,_0x255db6){const _0x2db738=_0x57b986;super(),this[_0x2db738(0x1e6)]=_0x7b0fae,this[_0x2db738(0x314)]=_0x3165d6,this['_commandService']=_0x55fbfc,this[_0x2db738(0x2ca)]=_0x45a134,this[_0x2db738(0x508)]=_0x444a0d,_0x255db6?_0x255db6==null||_0x255db6[_0x2db738(0x447)]()['then'](()=>this['_init']()):(this[_0x2db738(0x314)][_0x2db738(0x1fa)](_0x2db738(0x580),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x57b986(0x546)](){const _0x101941=_0x57b986,_0x278cdb=this[_0x101941(0x1e6)][_0x101941(0x2d7)](_0x101941(0x4e8)),_0x4b657d=this[_0x101941(0x1e6)]['getParam'](_0x101941(0x239));if(!_0x278cdb||!_0x4b657d){this['_logService'][_0x101941(0x1fa)](_0x101941(0x580),_0x101941(0x1f1));return;}switch(Number(_0x4b657d)){case _0x1f330d[_0x101941(0x1ed)]:{const _0x55737e=await this[_0x101941(0x47a)](_0x278cdb);this['_setupSubUnitSync'](_0x55737e);break;}case _0x1f330d[_0x101941(0x510)]:{await this['_loadDoc'](_0x278cdb);break;}default:{this[_0x101941(0x314)]['error']('[DataLoaderController]',_0x101941(0x4f6));break;}}}async[_0x57b986(0x3d5)](_0x5c0987){const _0x23d69d=_0x57b986;await this[_0x23d69d(0x470)](_0x5c0987),_0x5c0987[_0x23d69d(0x497)][_0x23d69d(0x334)](_0x4bb16b[_0x23d69d(0x2e2)](this[_0x23d69d(0x2e3)]))[_0x23d69d(0x29e)](_0x27bd57=>{const _0x3bc0ba=_0x23d69d;_0x27bd57&&this[_0x3bc0ba(0x3aa)](_0x27bd57);}),this[_0x23d69d(0x1e6)][_0x23d69d(0x448)][_0x23d69d(0x334)](_0x4bb16b[_0x23d69d(0x2e2)](this[_0x23d69d(0x2e3)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x5c0987));}[_0x57b986(0x3aa)](_0x8ad2ce,_0x195ed5=!0x1){const _0x26534c=_0x57b986,_0x33d50b=this['_urlService'][_0x26534c(0x2d7)](_0x26534c(0x3e7));_0x8ad2ce[_0x26534c(0x2c5)]()!==_0x33d50b&&this[_0x26534c(0x1e6)][_0x26534c(0x257)](_0x26534c(0x3e7),_0x8ad2ce[_0x26534c(0x2c5)](),_0x195ed5);}async[_0x57b986(0x470)](_0x3d101f){const _0x43c81a=_0x57b986;var _0x4cf631;const _0x27ce53=this[_0x43c81a(0x1e6)][_0x43c81a(0x2d7)](_0x43c81a(0x3e7));if(!_0x27ce53||!_0x3d101f[_0x43c81a(0x45f)](_0x27ce53)){this['_updateURLWithCurrentState'](_0x3d101f['ensureActiveSheet'](),!0x0);return;}((_0x4cf631=_0x3d101f['getActiveSheet']())==null?void 0x0:_0x4cf631[_0x43c81a(0x2c5)]())!==_0x27ce53&&await this[_0x43c81a(0x48f)][_0x43c81a(0x21f)](_0x3a01f6[_0x43c81a(0x32f)]['id'],{'unitId':_0x3d101f[_0x43c81a(0x3d4)](),'subUnitId':_0x27ce53});}async[_0x57b986(0x47a)](_0x2a1d35){const _0x41d944=_0x57b986;let _0x33e933=0x0;const _0x1cdb71=await this['_localCacheService'][_0x41d944(0x1d5)](_0x2a1d35);return _0x1cdb71&&(_0x1cdb71[_0x41d944(0x4c9)]||_0x1cdb71[_0x41d944(0x526)][_0x41d944(0x397)]!==0x0)&&(_0x33e933=_0x1cdb71[_0x41d944(0x3da)]),_0x33e933===0x0&&this[_0x41d944(0x314)][_0x41d944(0x1fa)]('[DataLoaderController]',_0x41d944(0x1ee)),this[_0x41d944(0x508)]['loadSheet'](_0x2a1d35,_0x33e933);}async[_0x57b986(0x43a)](_0x34456f){const _0x1d95b8=_0x57b986;let _0x4ae1=0x0;const _0x318d11=await this[_0x1d95b8(0x2ca)][_0x1d95b8(0x1d5)](_0x34456f);return _0x318d11&&(_0x318d11['awaitingChangeset']||_0x318d11[_0x1d95b8(0x526)][_0x1d95b8(0x397)]!==0x0)&&(_0x4ae1=_0x318d11['rev']),_0x4ae1===0x0&&this[_0x1d95b8(0x314)][_0x1d95b8(0x1fa)](_0x1d95b8(0x580),_0x1d95b8(0x1ee)),this[_0x1d95b8(0x508)][_0x1d95b8(0x416)](_0x34456f,_0x4ae1);}},_0x3f3314[_0x57b986(0x393)]=_0x44a63d([_0x4cdaf4[_0x57b986(0x4e2)](_0x4cdaf4[_0x57b986(0x575)][_0x57b986(0x2b6)],_0x3f3314[_0x57b986(0x393)]),_0x45c89f(0x0,_0x13d820),_0x45c89f(0x1,_0x4cdaf4[_0x57b986(0x41c)]),_0x45c89f(0x2,_0x4cdaf4[_0x57b986(0x46c)]),_0x45c89f(0x3,_0x12925a[_0x57b986(0x42c)](_0x3f3314[_0x57b986(0x361)])),_0x45c89f(0x4,_0x12925a[_0x57b986(0x42c)](_0x329b63[_0x57b986(0x390)])),_0x45c89f(0x5,_0x12925a[_0x57b986(0x3ec)](_0x10d289[_0x57b986(0x343)]))],_0x3f3314[_0x57b986(0x393)]);var _0x27ee64=Object['defineProperty'],_0x5a34ba=Object[_0x57b986(0x405)],_0x32b40d=(_0x19411a,_0x343946,_0x13da9c,_0x38c581)=>{const _0x53996d=_0x57b986;for(var _0x53d2c6=_0x38c581>0x1?void 0x0:_0x38c581?_0x5a34ba(_0x343946,_0x13da9c):_0x343946,_0x35bf91=_0x19411a[_0x53996d(0x397)]-0x1,_0x4c00e7;_0x35bf91>=0x0;_0x35bf91--)(_0x4c00e7=_0x19411a[_0x35bf91])&&(_0x53d2c6=(_0x38c581?_0x4c00e7(_0x343946,_0x13da9c,_0x53d2c6):_0x4c00e7(_0x53d2c6))||_0x53d2c6);return _0x38c581&&_0x53d2c6&&_0x27ee64(_0x343946,_0x13da9c,_0x53d2c6),_0x53d2c6;},_0x181d20=(_0x59f4c4,_0x8e1b01)=>(_0x55caf5,_0x2a92f8)=>_0x8e1b01(_0x55caf5,_0x2a92f8,_0x59f4c4);const _0x5bfe7c=_0x57b986(0x421),_0x262617=_0x57b986(0x44e);let _0x3d3abe=class extends _0x4cdaf4['Disposable']{constructor(_0x4024f8,_0x55bdda){const _0x439f5c=_0x57b986;super(),this[_0x439f5c(0x3d9)]=_0x4024f8,this[_0x439f5c(0x323)]=_0x55bdda,this[_0x439f5c(0x546)]();}[_0x57b986(0x546)](){const _0x60b3bb=_0x57b986;this[_0x60b3bb(0x250)](_0x4cdaf4[_0x60b3bb(0x56b)](this[_0x60b3bb(0x3d9)]['focused$'][_0x60b3bb(0x29e)](()=>{const _0x3ac3a3=_0x60b3bb;var _0x5c975f;const _0x16fbff=this[_0x3ac3a3(0x3d9)]['getFocusedUnit']();let _0x255a19=(_0x5c975f=this['_configService'][_0x3ac3a3(0x51f)](_0x5bfe7c))!=null?_0x5c975f:_0x262617;_0x16fbff instanceof _0x4cdaf4[_0x3ac3a3(0x28b)]&&(_0x255a19=_0x16fbff['name']),document[_0x3ac3a3(0x308)]=_0x255a19;})));}};_0x3d3abe=_0x32b40d([_0x4cdaf4['OnLifecycle'](_0x4cdaf4[_0x57b986(0x575)][_0x57b986(0x2da)],_0x3d3abe),_0x181d20(0x0,_0x4cdaf4[_0x57b986(0x28e)]),_0x181d20(0x1,_0x4cdaf4[_0x57b986(0x4f1)])],_0x3d3abe);var _0x317031=Object['defineProperty'],_0x334248=Object[_0x57b986(0x405)],_0x21906b=(_0x36ed9c,_0x596b6c,_0x3757eb,_0x3c1757)=>{const _0x1e449b=_0x57b986;for(var _0x5eeb79=_0x3c1757>0x1?void 0x0:_0x3c1757?_0x334248(_0x596b6c,_0x3757eb):_0x596b6c,_0x3c67ac=_0x36ed9c[_0x1e449b(0x397)]-0x1,_0x685c7;_0x3c67ac>=0x0;_0x3c67ac--)(_0x685c7=_0x36ed9c[_0x3c67ac])&&(_0x5eeb79=(_0x3c1757?_0x685c7(_0x596b6c,_0x3757eb,_0x5eeb79):_0x685c7(_0x5eeb79))||_0x5eeb79);return _0x3c1757&&_0x5eeb79&&_0x317031(_0x596b6c,_0x3757eb,_0x5eeb79),_0x5eeb79;},_0x35fd6a=(_0x148fb4,_0x1b4692)=>(_0xdcf5a7,_0x2175bf)=>_0x1b4692(_0xdcf5a7,_0x2175bf,_0x148fb4);let _0x80c624=class{constructor(_0x6eac25,_0x1e7c4a){const _0x739738=_0x57b986;this[_0x739738(0x323)]=_0x6eac25,this[_0x739738(0x522)]=_0x1e7c4a;}async['getUnitOnRev'](_0xdad24d,_0x34d01d){const _0x44ee6d=_0x57b986;var _0x237886;const {unitID:_0x151db8,type:_0x279456,revision:_0x120141=0x0}=_0x34d01d,_0x14c5d3=this[_0x44ee6d(0x54d)]()+'/'+_0x279456+_0x44ee6d(0x27a)+_0x151db8+_0x44ee6d(0x401)+(_0x120141===0x1?0x0:_0x120141),_0x4259f7=(await this['_httpService'][_0x44ee6d(0x408)](_0x14c5d3))[_0x44ee6d(0x559)],_0x6e0bff=(_0x237886=_0x4259f7[_0x44ee6d(0x33c)])==null?void 0x0:_0x237886[_0x44ee6d(0x4e5)];if(_0x6e0bff){const _0x5a3f33=_0x6e0bff==null?void 0x0:_0x6e0bff[_0x44ee6d(0x4dc)],_0x56210f=_0x4cdaf4[_0x44ee6d(0x26c)][_0x44ee6d(0x317)](_0x4cdaf4[_0x44ee6d(0x1fb)](_0x5a3f33));_0x6e0bff[_0x44ee6d(0x4dc)]=_0x56210f,Object[_0x44ee6d(0x563)](_0x6e0bff['sheets'])[_0x44ee6d(0x2bc)](([,_0x4aeacd])=>{const _0x40a37f=_0x44ee6d,_0xe95f4e=_0x4aeacd[_0x40a37f(0x4dc)],_0x47e368=_0x4cdaf4[_0x40a37f(0x26c)][_0x40a37f(0x317)](_0x4cdaf4['b64DecodeUnicode'](_0xe95f4e));_0x4aeacd[_0x40a37f(0x4dc)]=_0x47e368;});}return _0x4259f7;}async[_0x57b986(0x3b1)](_0x73ef6e,_0x566cfc){const _0x1fb946=_0x57b986,{unitID:_0x13ddfd,type:_0x268a10,blockID:_0x46a642}=_0x566cfc,_0x225308=this[_0x1fb946(0x241)]()+'/'+_0x268a10+_0x1fb946(0x27a)+_0x13ddfd+_0x1fb946(0x229)+_0x46a642;return(await this[_0x1fb946(0x522)][_0x1fb946(0x408)](_0x225308))['body'];}async['fetchMissingChangesets'](_0xda075b,_0x36a153){const _0xf48bd1=_0x57b986,{unitID:_0x447277,type:_0x533b5e,from:_0x1ade72,to:_0x31d8cf}=_0x36a153,_0x439e29=this['_getAPIPrefix']()+'/'+_0x533b5e+'/unit/'+_0x447277+_0xf48bd1(0x552)+_0x1ade72+_0xf48bd1(0x4e3)+_0x31d8cf;return(await this['_httpService'][_0xf48bd1(0x408)](_0x439e29))[_0xf48bd1(0x559)];}[_0x57b986(0x54d)](){const _0x506548=_0x57b986;var _0x31409e;return(_0x31409e=this['_configService']['getConfig'](_0x5cc7aa))!=null?_0x31409e:this[_0x506548(0x241)]();}[_0x57b986(0x241)](){const _0x12f44c=_0x57b986;var _0x3f4f8e;return(_0x3f4f8e=this[_0x12f44c(0x323)][_0x12f44c(0x51f)](_0x514f86))!=null?_0x3f4f8e:_0x1b973b;}async[_0x57b986(0x3ac)](_0x12b7b7,_0xd07893){const _0x13341c=_0x57b986,_0x136828=_0x13341c(0x262)+_0xd07893[_0x13341c(0x239)]+_0x13341c(0x27a)+_0xd07893[_0x13341c(0x40f)]+_0x13341c(0x1f2);return(await this[_0x13341c(0x522)]['get'](_0x136828,{'params':{'resourceId':JSON[_0x13341c(0x528)](_0xd07893['resourceIDs'])}}))[_0x13341c(0x559)];}[_0x57b986(0x410)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x57b986(0x4f9)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x57b986(0x286)](){const _0x2a0bb9=_0x57b986;throw new Error(_0x2a0bb9(0x28d));}};_0x80c624=_0x21906b([_0x35fd6a(0x0,_0x4cdaf4['IConfigService']),_0x35fd6a(0x1,_0x12925a[_0x57b986(0x42c)](_0xfde0ab[_0x57b986(0x280)]))],_0x80c624);var _0x29fc95=Object['defineProperty'],_0x49a13b=Object[_0x57b986(0x405)],_0x1661f6=(_0x49f7b8,_0x10fa6f,_0x3ac553,_0x2ca10a)=>{const _0x4f5323=_0x57b986;for(var _0x5c26ca=_0x2ca10a>0x1?void 0x0:_0x2ca10a?_0x49a13b(_0x10fa6f,_0x3ac553):_0x10fa6f,_0x372ec4=_0x49f7b8[_0x4f5323(0x397)]-0x1,_0x29df94;_0x372ec4>=0x0;_0x372ec4--)(_0x29df94=_0x49f7b8[_0x372ec4])&&(_0x5c26ca=(_0x2ca10a?_0x29df94(_0x10fa6f,_0x3ac553,_0x5c26ca):_0x29df94(_0x5c26ca))||_0x5c26ca);return _0x2ca10a&&_0x5c26ca&&_0x29fc95(_0x10fa6f,_0x3ac553,_0x5c26ca),_0x5c26ca;},_0x510b6e=(_0x18b60e,_0x3d3451)=>(_0x34d958,_0x54344c)=>_0x3d3451(_0x34d958,_0x54344c,_0x18b60e);let _0x4e679e=class extends _0x4cdaf4[_0x57b986(0x1ff)]{constructor(_0x317aa7,_0x473704,_0x190bef,_0x208cad,_0x26d0be){const _0x5e0ad6=_0x57b986;super(_0x317aa7,_0x473704,_0x190bef),this['_transformService']=_0x208cad,this[_0x5e0ad6(0x314)]=_0x26d0be;}[_0x57b986(0x39a)](_0xe90cec,_0xb46947){const _0x219a80=_0x57b986,_0x3dbd1e=this[_0x219a80(0x371)](_0xe90cec);if(_0x3dbd1e)try{const _0x5dcc4e=this['_transformStack'](_0x3dbd1e,_0xb46947);this[_0x219a80(0x356)](_0xe90cec,_0x5dcc4e);}catch(_0x496498){this[_0x219a80(0x314)]['error'](_0x219a80(0x1da),_0x496498),this[_0x219a80(0x53b)](_0xe90cec);}const _0x2ad783=this['_getRedoStack'](_0xe90cec);if(_0x2ad783)try{const _0x1744c3=this[_0x219a80(0x278)](_0x2ad783,_0xb46947);this[_0x219a80(0x3fa)](_0xe90cec,_0x1744c3);}catch(_0x13f924){this[_0x219a80(0x314)][_0x219a80(0x4a4)](_0x13f924),this['_clearRedo'](_0xe90cec);}}['_clearUndo'](_0x3bd598){const _0x3eec6d=_0x57b986,_0x98e545=this[_0x3eec6d(0x371)](_0x3bd598);_0x98e545&&(_0x98e545['length']=0x0,this[_0x3eec6d(0x4ff)]());}[_0x57b986(0x476)](_0x51a109){const _0x2d433f=_0x57b986,_0x3cf5c6=this[_0x2d433f(0x378)](_0x51a109);_0x3cf5c6&&(_0x3cf5c6[_0x2d433f(0x397)]=0x0,this[_0x2d433f(0x4ff)]());}[_0x57b986(0x356)](_0x52a277,_0x43ecee){const _0x309d76=_0x57b986;this[_0x309d76(0x22c)][_0x309d76(0x2c3)](_0x52a277,_0x43ecee),this['_updateStatus']();}[_0x57b986(0x3fa)](_0x13951b,_0x2a718e){const _0x2a2749=_0x57b986;this['_redoStacks'][_0x2a2749(0x2c3)](_0x13951b,_0x2a718e),this['_updateStatus']();}[_0x57b986(0x278)](_0x446d04,_0x9696c){const _0x29ea5f=_0x57b986,_0x31bc99=[];let _0x5408eb=_0x9696c,_0x2a37cb=_0x9696c;for(let _0x6834b1=_0x446d04[_0x29ea5f(0x397)]-0x1;_0x6834b1>=0x0;_0x6834b1--){const {unitID:_0x3c431d,undoMutations:_0x1bf441,redoMutations:_0x360bba}=_0x446d04[_0x6834b1],_0x2a8f5f=this[_0x29ea5f(0x26d)][_0x29ea5f(0x342)](_0x5408eb,_0x1bf441),_0x1334b1=this[_0x29ea5f(0x26d)][_0x29ea5f(0x342)](_0x2a37cb,_0x360bba);if(_0x329b63[_0x29ea5f(0x267)](_0x2a8f5f)||_0x329b63['isTransformMutationsWithChangesetFailure'](_0x1334b1)){this[_0x29ea5f(0x314)][_0x29ea5f(0x4a4)](_0x29ea5f(0x1da),_0x29ea5f(0x561),_0x2a8f5f,_0x1334b1);break;}_0x5408eb=_0x2a8f5f['c1Prime'],_0x2a37cb=_0x1334b1[_0x29ea5f(0x264)],_0x31bc99[_0x29ea5f(0x2a8)]({'unitID':_0x3c431d,'undoMutations':_0x2a8f5f[_0x29ea5f(0x22e)],'redoMutations':_0x1334b1['m2Prime']});}return _0x31bc99[_0x29ea5f(0x26a)]();}};_0x4e679e=_0x1661f6([_0x510b6e(0x0,_0x4cdaf4['IUniverInstanceService']),_0x510b6e(0x1,_0x4cdaf4['ICommandService']),_0x510b6e(0x2,_0x4cdaf4[_0x57b986(0x220)]),_0x510b6e(0x3,_0x329b63[_0x57b986(0x2a0)]),_0x510b6e(0x4,_0x4cdaf4[_0x57b986(0x41c)])],_0x4e679e);class _0x32732a extends _0x4cdaf4[_0x57b986(0x499)]{constructor(){const _0x4329e2=_0x57b986;super(),_0x53d09f(this,_0x4329e2(0x448)),this['urlChange$']=_0x4bb16b['fromEvent'](window,'popstate')[_0x4329e2(0x334)](_0x4bb16b[_0x4329e2(0x2e2)](this[_0x4329e2(0x2e3)]),_0x4bb16b['shareReplay'](0x1),_0x4bb16b[_0x4329e2(0x2a1)](void 0x0));}[_0x57b986(0x257)](_0x1ebc6f,_0x39b11b,_0x2b8035=!0x1){const _0x22bdbc=_0x57b986,_0x2d85d9=new URL(window['location'][_0x22bdbc(0x251)]);_0x2d85d9[_0x22bdbc(0x206)][_0x22bdbc(0x2c3)](_0x1ebc6f,_0x39b11b),_0x2b8035?window['history']['replaceState']('','',_0x2d85d9[_0x22bdbc(0x3cb)]()):window[_0x22bdbc(0x4d8)][_0x22bdbc(0x20c)]('','',_0x2d85d9[_0x22bdbc(0x3cb)]());}['removeParam'](_0x48d32d,_0x280cba=!0x1){const _0x4e4c4e=_0x57b986,_0x2c6cdd=new URL(window[_0x4e4c4e(0x519)]['href']);_0x2c6cdd['searchParams']['delete'](_0x48d32d),_0x280cba?window[_0x4e4c4e(0x4d8)]['replaceState']('','',_0x2c6cdd[_0x4e4c4e(0x3cb)]()):window['history'][_0x4e4c4e(0x20c)]('','',_0x2c6cdd[_0x4e4c4e(0x3cb)]());}['getParam'](_0x1effe6){const _0xb57d0c=_0x57b986;var _0x1f5f83;return(_0x1f5f83=new URL(window[_0xb57d0c(0x519)][_0xb57d0c(0x251)])[_0xb57d0c(0x206)][_0xb57d0c(0x408)](_0x1effe6))!=null?_0x1f5f83:void 0x0;}}const _0x833ca1=_0x57b986(0x3a5),_0x2c6a74=_0x57b986(0x438),_0x45dbc8=0x6,_0x4622cb=1.5,_0x3bb304=0x4,_0x623b59=1.5,_0x529be0='rgba(255,\x20255,\x20255,\x200.01)';class _0x51f812{constructor(_0x230f32,_0x10c685,_0x480ea1,_0x1d0c7f){const _0x670e57=_0x57b986;_0x53d09f(this,_0x670e57(0x256),[]),_0x53d09f(this,_0x670e57(0x57d),null),_0x53d09f(this,_0x670e57(0x501),null),_0x53d09f(this,'_anchorDot',null),_0x53d09f(this,_0x670e57(0x26b),null),_0x53d09f(this,_0x670e57(0x3c0),null),(this[_0x670e57(0x202)]=_0x230f32,this['_scene']=_0x10c685,this[_0x670e57(0x33e)]=_0x480ea1,this['_document']=_0x1d0c7f,this[_0x670e57(0x3b9)]());}set[_0x57b986(0x474)](_0x5a59e3){const _0x542a3a=_0x57b986;_0x5a59e3?(this['_anchorDot']&&this[_0x542a3a(0x3b2)]['hide'](),this[_0x542a3a(0x501)]&&this[_0x542a3a(0x501)]['show']()):(this[_0x542a3a(0x3b2)]&&this['_anchorDot']['show'](),this[_0x542a3a(0x501)]&&this[_0x542a3a(0x501)][_0x542a3a(0x359)]());}[_0x57b986(0x46e)](){const _0xaa0d32=_0x57b986;for(const _0x23b837 of this[_0xaa0d32(0x256)])_0x23b837[_0xaa0d32(0x46e)]();this[_0xaa0d32(0x501)]&&this[_0xaa0d32(0x501)][_0xaa0d32(0x46e)](),this[_0xaa0d32(0x3b2)]&&this['_anchorDot']['dispose'](),this[_0xaa0d32(0x57d)]&&this['_anchor'][_0xaa0d32(0x46e)](),this[_0xaa0d32(0x3c0)]&&this[_0xaa0d32(0x3c0)]();}[_0x57b986(0x3b9)](){const _0x1c44b9=_0x57b986,{_docSkeleton:_0x594689,_document:_0x3c92ea}=this,{color:_0x383712,name:_0x2cebf7,ranges:_0x54d15e}=this[_0x1c44b9(0x202)],_0x7739c3=_0x3c92ea[_0x1c44b9(0x39b)](),{docsLeft:_0x33e39e,docsTop:_0x1c7fa8}=_0x7739c3,_0x46b52c=new _0x499dcd[(_0x1c44b9(0x2fe))](_0x7739c3,_0x594689);for(const {startOffset:_0x383a0f,endOffset:_0x6d6aec,collapsed:_0x105a5f,isActive:_0x4e6bcf}of _0x54d15e){const _0x2965d8=_0x594689[_0x1c44b9(0x4bf)](_0x383a0f),_0x490c85=_0x594689[_0x1c44b9(0x4bf)](_0x6d6aec);if(_0x4e6bcf){const {contentBoxPointGroup:_0x5229c4}=_0x46b52c['getRangePointData'](_0x490c85,_0x490c85);if(_0x5229c4[_0x1c44b9(0x397)]===0x0)continue;this[_0x1c44b9(0x48b)](_0x383712,_0x5229c4,_0x33e39e,_0x1c7fa8,_0x2cebf7),this[_0x1c44b9(0x3c0)]=this[_0x1c44b9(0x3c8)]();}if(!_0x105a5f){const {contentBoxPointGroup:_0x3defc0}=_0x46b52c[_0x1c44b9(0x1e1)](_0x2965d8,_0x490c85);if(_0x3defc0[_0x1c44b9(0x397)]===0x0)continue;this['_drawRange'](_0x383712,_0x3defc0,_0x33e39e,_0x1c7fa8);}}}[_0x57b986(0x48b)](_0x4839a0,_0x2f0b65,_0x5f2b1e,_0x475714,_0x1b3209){const _0x3b5869=_0x57b986,_0x3d8baa=this[_0x3b5869(0x441)](_0x2f0b65),{left:_0x572eab,top:_0x34008f,height:_0x16a6f7}=_0x3d8baa,_0x13baf2=this[_0x3b5869(0x36d)](),_0x11a848=_0x623b59/_0x13baf2,_0xaef758=new _0x499dcd[(_0x3b5869(0x382))](_0x833ca1+_0x4cdaf4['Tools']['generateRandomId'](_0x45dbc8),{'left':_0x572eab+_0x5f2b1e-_0x11a848,'top':_0x34008f+_0x475714,'height':_0x16a6f7,'width':_0x4622cb,'fill':_0x4839a0||_0x499dcd['getColor'](_0x4cdaf4[_0x3b5869(0x209)][_0x3b5869(0x25f)],0x0),'strokeWidth':_0x11a848,'stroke':_0x529be0,'evented':!0x0});this[_0x3b5869(0x57d)]=_0xaef758,this[_0x3b5869(0x491)]['addObject'](_0xaef758,_0x499dcd[_0x3b5869(0x450)]);const _0x41b362=new _0x499dcd[(_0x3b5869(0x382))](_0x833ca1+_0x4cdaf4['Tools']['generateRandomId'](_0x45dbc8),{'left':_0x572eab+_0x5f2b1e-_0x11a848,'top':_0x34008f+_0x475714-_0x3bb304/0x2,'height':_0x3bb304,'width':_0x3bb304,'fill':_0x4839a0||_0x499dcd[_0x3b5869(0x4bc)](_0x4cdaf4[_0x3b5869(0x209)][_0x3b5869(0x25f)],0x0),'strokeWidth':0x0,'stroke':_0x4839a0||_0x499dcd[_0x3b5869(0x4bc)](_0x4cdaf4[_0x3b5869(0x209)][_0x3b5869(0x25f)],0x0),'evented':!0x1});this['_anchorDot']=_0x41b362,this[_0x3b5869(0x491)][_0x3b5869(0x266)](_0x41b362,_0x499dcd['TEXT_RANGE_LAYER_INDEX']);const _0x1e16a9=new _0x3b789e(_0x833ca1+_0x4cdaf4[_0x3b5869(0x2dc)][_0x3b5869(0x4a0)](_0x45dbc8),{'left':_0x572eab+_0x5f2b1e-_0x11a848,'top':_0x34008f+_0x475714-_0x4f68cc,'text':_0x1b3209,'color':_0x4839a0});this[_0x3b5869(0x501)]=_0x1e16a9,this[_0x3b5869(0x491)]['addObject'](_0x1e16a9,_0x499dcd[_0x3b5869(0x450)]),this[_0x3b5869(0x474)]=!0x1;}['_handleHover'](){const _0x412147=_0x57b986,_0x220802=this['_anchor'][_0x412147(0x48a)]['add'](()=>{const _0x513fa6=_0x412147;this[_0x513fa6(0x474)]=!0x0;}),_0x8b0094=this[_0x412147(0x57d)]['onPointerLeaveObserver'][_0x412147(0x2b7)](()=>{const _0x8a8905=_0x412147;this[_0x8a8905(0x26b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x5c0b93=_0x8a8905;this[_0x5c0b93(0x474)]=!0x1;},0x7d0);});return()=>{const _0x11c77f=_0x412147;var _0x2561b7,_0x2ae10e;(_0x2561b7=this[_0x11c77f(0x57d)])==null||_0x2561b7[_0x11c77f(0x48a)][_0x11c77f(0x21d)](_0x220802),(_0x2ae10e=this[_0x11c77f(0x57d)])==null||_0x2ae10e[_0x11c77f(0x4cf)][_0x11c77f(0x21d)](_0x8b0094);};}[_0x57b986(0x2ed)](_0x3ff0c3,_0x4f5580,_0x95e53f,_0x4df83f){const _0x1c7168=_0x57b986,_0x3ed04f=new _0x4cdaf4[(_0x1c7168(0x568))](_0x3ff0c3)[_0x1c7168(0x1ec)](0.2)[_0x1c7168(0x34e)](),_0x192e4b=new _0x499dcd['RegularPolygon'](_0x2c6a74+_0x4cdaf4[_0x1c7168(0x2dc)][_0x1c7168(0x4a0)](_0x45dbc8),{'pointsGroup':_0x4f5580,'fill':_0x3ed04f||_0x499dcd[_0x1c7168(0x4bc)](_0x4cdaf4[_0x1c7168(0x209)][_0x1c7168(0x25f)],0.2),'left':_0x95e53f,'top':_0x4df83f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1c7168(0x2a8)](_0x192e4b),this[_0x1c7168(0x491)][_0x1c7168(0x266)](_0x192e4b,_0x499dcd[_0x1c7168(0x450)]);}['_getAnchorBounding'](_0x56b9e6){const _0x12b1c4=_0x56b9e6[0x0],_0x1fc3c7=_0x12b1c4[0x0],_0x463227=_0x12b1c4[0x2],{x:_0x4cdd8f,y:_0xa81c6a}=_0x1fc3c7,{x:_0x283f26,y:_0x5d6a7a}=_0x463227;return{'left':_0x4cdd8f,'top':_0xa81c6a,'width':_0x283f26-_0x4cdd8f,'height':_0x5d6a7a-_0xa81c6a};}[_0x57b986(0x36d)](){const _0x293d74=_0x57b986,{scaleX:_0x592909,scaleY:_0x2c8a34}=this[_0x293d74(0x491)][_0x293d74(0x223)]();return Math[_0x293d74(0x27f)](_0x592909,_0x2c8a34);}}var _0x28c1bb=Object[_0x57b986(0x1f4)],_0x331dff=Object[_0x57b986(0x405)],_0x3fb450=(_0x2c1bda,_0x12ae9a,_0x294284,_0x5e25d6)=>{const _0x5db5a7=_0x57b986;for(var _0x1183d8=_0x5e25d6>0x1?void 0x0:_0x5e25d6?_0x331dff(_0x12ae9a,_0x294284):_0x12ae9a,_0x1caffb=_0x2c1bda[_0x5db5a7(0x397)]-0x1,_0x4dc922;_0x1caffb>=0x0;_0x1caffb--)(_0x4dc922=_0x2c1bda[_0x1caffb])&&(_0x1183d8=(_0x5e25d6?_0x4dc922(_0x12ae9a,_0x294284,_0x1183d8):_0x4dc922(_0x1183d8))||_0x1183d8);return _0x5e25d6&&_0x1183d8&&_0x28c1bb(_0x12ae9a,_0x294284,_0x1183d8),_0x1183d8;},_0x590769=(_0x49ba1c,_0x5e9967)=>(_0x43bbe4,_0x1edc42)=>_0x5e9967(_0x43bbe4,_0x1edc42,_0x49ba1c);let _0x4879f6=class extends _0x4cdaf4[_0x57b986(0x499)]{constructor(_0x4a5e5f,_0x4b37f1,_0x354437,_0x36c127,_0x4be252){const _0x5c0839=_0x57b986;super(),_0x53d09f(this,_0x5c0839(0x3a3),[]),(this[_0x5c0839(0x49d)]=_0x4a5e5f,this['_univerInstanceService']=_0x4b37f1,this[_0x5c0839(0x3df)]=_0x354437,this[_0x5c0839(0x30e)]=_0x36c127,this[_0x5c0839(0x53c)]=_0x4be252,this[_0x5c0839(0x546)]());}[_0x57b986(0x546)](){const _0x22920b=_0x57b986;this['_docSkeletonManagerService'][_0x22920b(0x41e)][_0x22920b(0x334)](_0x4ac749[_0x22920b(0x2e2)](this[_0x22920b(0x2e3)]),_0x4ac749['switchMap'](_0xbaf36a=>{const _0x4555ed=_0x22920b;if(_0xbaf36a){const {unitId:_0x15fda3}=_0xbaf36a;return _0x4bb16b[_0x4555ed(0x1f8)](this['_collabCursorController'][_0x4555ed(0x287)](_0x15fda3),this['_themeService'][_0x4555ed(0x2fd)])[_0x4555ed(0x334)](_0x4ac749[_0x4555ed(0x2d2)](([_0x546240,_0x360f34])=>({'skeleton':_0xbaf36a,'cursors':[..._0x546240[_0x4555ed(0x2c0)]()][_0x4555ed(0x527)](_0x41b6fa=>({..._0x41b6fa,'color':_0x360f34[_0x41b6fa[_0x4555ed(0x4fe)]]}))})));}return _0x4bb16b['of']({'skeleton':null,'cursors':[]});}))[_0x22920b(0x29e)](({skeleton:_0x78029f,cursors:_0x561a42})=>{const _0x127e99=_0x22920b;this[_0x127e99(0x2ea)](),_0x78029f&&this[_0x127e99(0x319)](_0x78029f['skeleton'],_0x561a42);});}[_0x57b986(0x319)](_0x45467b,_0x1e7a51){const _0x214c31=_0x57b986,_0x3ed259=this['_getDocObject']();if(_0x3ed259==null)return;const {scene:_0x23bea7,document:_0x5c6382}=_0x3ed259,_0x5d4a52=_0x1e7a51[_0x214c31(0x2d2)](_0x16c4bf=>new _0x51f812(_0x16c4bf,_0x23bea7,_0x45467b,_0x5c6382));this['_cursors']=_0x5d4a52;}[_0x57b986(0x2ea)](){const _0x7c4c01=_0x57b986;this[_0x7c4c01(0x3a3)][_0x7c4c01(0x2bc)](_0x495e68=>_0x495e68[_0x7c4c01(0x46e)]()),this[_0x7c4c01(0x3a3)]=[];}['_getDocObject'](){const _0x516d66=_0x57b986;return _0x3fcd1a[_0x516d66(0x2ec)](this[_0x516d66(0x3d9)],this[_0x516d66(0x3df)]);}};_0x4879f6=_0x3fb450([_0x4cdaf4[_0x57b986(0x4e2)](_0x4cdaf4[_0x57b986(0x575)]['Steady'],_0x4879f6),_0x590769(0x0,_0x12925a[_0x57b986(0x42c)](_0xc3b139)),_0x590769(0x1,_0x4cdaf4['IUniverInstanceService']),_0x590769(0x2,_0x499dcd[_0x57b986(0x43c)]),_0x590769(0x3,_0x12925a[_0x57b986(0x42c)](_0x3fcd1a[_0x57b986(0x273)])),_0x590769(0x4,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4['ThemeService']))],_0x4879f6);var _0x5ac04e=Object[_0x57b986(0x1f4)],_0x238dd0=Object[_0x57b986(0x405)],_0x36e8fe=(_0x2413b4,_0x45c7c7,_0x4942b4,_0x333534)=>{const _0x350269=_0x57b986;for(var _0x1eda18=_0x333534>0x1?void 0x0:_0x333534?_0x238dd0(_0x45c7c7,_0x4942b4):_0x45c7c7,_0x54f87=_0x2413b4[_0x350269(0x397)]-0x1,_0x4cebc0;_0x54f87>=0x0;_0x54f87--)(_0x4cebc0=_0x2413b4[_0x54f87])&&(_0x1eda18=(_0x333534?_0x4cebc0(_0x45c7c7,_0x4942b4,_0x1eda18):_0x4cebc0(_0x1eda18))||_0x1eda18);return _0x333534&&_0x1eda18&&_0x5ac04e(_0x45c7c7,_0x4942b4,_0x1eda18),_0x1eda18;},_0x4da9f0=(_0x4a4f41,_0x33d5ac)=>(_0x1af021,_0x44f92b)=>_0x33d5ac(_0x1af021,_0x44f92b,_0x4a4f41);let _0x95f6c2=class{constructor(_0x5008ce,_0x2b695a,_0x549a0a){const _0x2b78a4=_0x57b986;this[_0x2b78a4(0x323)]=_0x5008ce,this[_0x2b78a4(0x522)]=_0x2b695a,this[_0x2b78a4(0x3c6)]=_0x549a0a,this[_0x2b78a4(0x533)]();}['init'](){const _0x3ee17b=_0x57b986;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xe4d999,_0x5c2efb)=>_0x5c2efb(_0xe4d999)['pipe'](_0x4bb16b[_0x3ee17b(0x1d4)](async _0x2f473c=>{const _0x232528=_0x3ee17b,_0x157222=_0x2f473c;if(_0x157222[_0x232528(0x2aa)]===0x191&&window['confirm'](this['localeService']['t'](_0x232528(0x49b)))){const _0xea7293=window[_0x232528(0x34f)](window['location'][_0x232528(0x251)]);window[_0x232528(0x519)][_0x232528(0x251)]=this[_0x232528(0x3e8)]()+_0x232528(0x372)+_0xea7293;}return _0x157222;}))});}[_0x57b986(0x3e8)](){const _0xa8d8fc=_0x57b986;var _0x5e0cb8;return(_0x5e0cb8=this[_0xa8d8fc(0x323)][_0xa8d8fc(0x51f)](_0x23ca2e))!=null?_0x5e0cb8:_0x1c47c8;}};_0x95f6c2=_0x36e8fe([_0x4da9f0(0x0,_0x4cdaf4[_0x57b986(0x4f1)]),_0x4da9f0(0x1,_0x12925a[_0x57b986(0x42c)](_0xfde0ab['HTTPService'])),_0x4da9f0(0x2,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x502)]))],_0x95f6c2);var _0x2ffec0=Object[_0x57b986(0x1f4)],_0x3b0a18=Object[_0x57b986(0x405)],_0x454e7a=(_0x2ac99a,_0x3ebf9a,_0x99d3f2,_0x3b8a63)=>{const _0x2cc886=_0x57b986;for(var _0x429947=_0x3b8a63>0x1?void 0x0:_0x3b8a63?_0x3b0a18(_0x3ebf9a,_0x99d3f2):_0x3ebf9a,_0x2d5299=_0x2ac99a[_0x2cc886(0x397)]-0x1,_0x532e0c;_0x2d5299>=0x0;_0x2d5299--)(_0x532e0c=_0x2ac99a[_0x2d5299])&&(_0x429947=(_0x3b8a63?_0x532e0c(_0x3ebf9a,_0x99d3f2,_0x429947):_0x532e0c(_0x429947))||_0x429947);return _0x3b8a63&&_0x429947&&_0x2ffec0(_0x3ebf9a,_0x99d3f2,_0x429947),_0x429947;},_0x545c98=(_0x3588cb,_0x578f88)=>(_0x32d699,_0x1a8a88)=>_0x578f88(_0x32d699,_0x1a8a88,_0x3588cb);const _0x113fb2=_0x57b986(0x44b),_0x46ca44='/universer-api/authz';_0x3f3314[_0x57b986(0x25c)]=class{constructor(_0x513d2c,_0x4669c1){const _0x3057e2=_0x57b986;this[_0x3057e2(0x313)]=_0x513d2c,this['_configService']=_0x4669c1;}['_getAPIPrefixPath'](){const _0x1389a0=_0x57b986;var _0xf4a2ec;return(_0xf4a2ec=this[_0x1389a0(0x323)]['getConfig'](_0x113fb2))!=null?_0xf4a2ec:_0x46ca44;}async[_0x57b986(0x494)](_0x2826d7){const _0xfc216d=_0x57b986,_0x564268=this[_0xfc216d(0x2eb)]()+'/'+_0x2826d7['objectType']+_0xfc216d(0x277);return(await this[_0xfc216d(0x313)][_0xfc216d(0x45d)](_0x564268,{'body':_0x2826d7}))[_0xfc216d(0x559)][_0xfc216d(0x4e6)]||'';}async[_0x57b986(0x1f6)](_0x294f39){const _0x3bf571=_0x57b986,_0x526f37=this[_0x3bf571(0x2eb)]()+_0x3bf571(0x3f3);return(await this[_0x3bf571(0x313)][_0x3bf571(0x45d)](_0x526f37,{'body':_0x294f39}))[_0x3bf571(0x559)][_0x3bf571(0x2ef)];}async[_0x57b986(0x21e)](_0x52c373){const _0x56ff1f=_0x57b986,_0x2498c4=this[_0x56ff1f(0x2eb)]()+'/'+_0x52c373[_0x56ff1f(0x327)]+'/object/'+_0x52c373[_0x56ff1f(0x4e6)];await this['_HTTPService'][_0x56ff1f(0x4c4)](_0x2498c4,{'body':_0x52c373});}async['allowed'](_0x2eadb6){const _0x21351f=_0x57b986,_0x5016d8=this[_0x21351f(0x2eb)]()+'/'+_0x2eadb6[_0x21351f(0x327)]+_0x21351f(0x504)+_0x2eadb6[_0x21351f(0x4e6)]+_0x21351f(0x478);return(await this[_0x21351f(0x313)][_0x21351f(0x45d)](_0x5016d8,{'body':_0x2eadb6}))['body']['actions'];}async[_0x57b986(0x370)](_0x206505){const _0x3ddde6=_0x57b986,_0x375579=this[_0x3ddde6(0x2eb)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x3ddde6(0x45d)](_0x375579,{'body':{'requests':_0x206505}}))[_0x3ddde6(0x559)]['objectActions'];}async['listRoles'](_0xb0a59b){const _0x570810=_0x57b986,_0x215d3d=this[_0x570810(0x2eb)]()+'/'+_0xb0a59b[_0x570810(0x327)]+'/role',_0x3f1de2=await this[_0x570810(0x313)][_0x570810(0x45d)](_0x215d3d,{'body':_0xb0a59b});return{'roles':_0x3f1de2['body'][_0x570810(0x45e)],'actions':_0x3f1de2[_0x570810(0x559)][_0x570810(0x29a)]};}async['deleteCollaborator'](_0x1ee1fd){const _0x467090=_0x57b986,_0xd7bf2a=this[_0x467090(0x2eb)]()+_0x467090(0x435);await this[_0x467090(0x313)][_0x467090(0x391)](_0xd7bf2a,{'params':{'collaboratorID':_0x1ee1fd[_0x467090(0x4ef)],'objectID':_0x1ee1fd[_0x467090(0x4e6)],'unitID':_0x1ee1fd[_0x467090(0x40f)]}});}async[_0x57b986(0x358)](_0x1029f5){const _0x349abd=_0x57b986,_0x3168d8=this['_getAPIPrefixPath']()+_0x349abd(0x435);await this[_0x349abd(0x313)]['patch'](_0x3168d8,{'body':_0x1029f5});}async[_0x57b986(0x309)](_0x3d97a8){const _0x1b310a=_0x57b986,_0x41c3be=this['_getAPIPrefixPath']()+_0x1b310a(0x435);await this['_HTTPService']['post'](_0x41c3be,{'body':_0x3d97a8});}async[_0x57b986(0x464)](_0x10b6b5){const _0x1155cd=_0x57b986,_0x7032f2=this[_0x1155cd(0x2eb)]()+_0x1155cd(0x435);return(await this[_0x1155cd(0x313)][_0x1155cd(0x408)](_0x7032f2,{'params':{'objectID':_0x10b6b5[_0x1155cd(0x4e6)],'unitID':_0x10b6b5[_0x1155cd(0x40f)]}}))[_0x1155cd(0x559)]['collaborators'];}async[_0x57b986(0x2ab)](_0x481753){const _0x5c2482=_0x57b986,_0x11f9e4=this[_0x5c2482(0x2eb)]()+'/collaborator';await this[_0x5c2482(0x313)][_0x5c2482(0x4c4)](_0x11f9e4,{'body':_0x481753});}},_0x3f3314[_0x57b986(0x25c)]=_0x454e7a([_0x545c98(0x0,_0x12925a[_0x57b986(0x42c)](_0xfde0ab['HTTPService'])),_0x545c98(0x1,_0x12925a[_0x57b986(0x42c)](_0x4cdaf4[_0x57b986(0x4f1)]))],_0x3f3314[_0x57b986(0x25c)]);var _0x2d3852=Object[_0x57b986(0x1f4)],_0x48648d=Object['getOwnPropertyDescriptor'],_0x24c877=(_0x582aa6,_0xb72dbb,_0x181862,_0x564827)=>{for(var _0x1c50ef=_0x564827>0x1?void 0x0:_0x564827?_0x48648d(_0xb72dbb,_0x181862):_0xb72dbb,_0x2cbc6a=_0x582aa6['length']-0x1,_0x195dcf;_0x2cbc6a>=0x0;_0x2cbc6a--)(_0x195dcf=_0x582aa6[_0x2cbc6a])&&(_0x1c50ef=(_0x564827?_0x195dcf(_0xb72dbb,_0x181862,_0x1c50ef):_0x195dcf(_0x1c50ef))||_0x1c50ef);return _0x564827&&_0x1c50ef&&_0x2d3852(_0xb72dbb,_0x181862,_0x1c50ef),_0x1c50ef;},_0x9b8e94=(_0x107cf9,_0x1f55da)=>(_0x4e09b9,_0x16076d)=>_0x1f55da(_0x4e09b9,_0x16076d,_0x107cf9);const _0x56ed7d=['image/png',_0x57b986(0x4d0),_0x57b986(0x507),_0x57b986(0x56d),_0x57b986(0x332)],_0x319ef5=0x5*0x400*0x400,_0x14d780='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x4b4ab1=_0x57b986(0x55c),_0x250f6f='EXCHANGE_SIGN_URL_SERVER_URL_KEY',_0x501632=_0x57b986(0x2f1);let _0x5888f2=class{constructor(_0x3a3d54,_0x43960d){const _0x8c0171=_0x57b986;_0x53d09f(this,_0x8c0171(0x1c5),0x0),_0x53d09f(this,_0x8c0171(0x274),new _0x4bb16b[(_0x8c0171(0x42d))]()),_0x53d09f(this,_0x8c0171(0x4e0),this[_0x8c0171(0x274)]),_0x53d09f(this,_0x8c0171(0x459),new Map()),(this[_0x8c0171(0x522)]=_0x3a3d54,this[_0x8c0171(0x323)]=_0x43960d);}['setWaitCount'](_0x2d3cf7){const _0x14d584=_0x57b986;this['_waitCount']=_0x2d3cf7,this[_0x14d584(0x274)][_0x14d584(0x1bd)](_0x2d3cf7);}[_0x57b986(0x240)](_0x261ad2,_0x51a5b5){const _0x369225=_0x57b986;if(_0x51a5b5===_0x46f32c[_0x369225(0x54b)][_0x369225(0x2be)]){const _0x2c5135=new Image();return _0x2c5135[_0x369225(0x231)]=_0x261ad2,_0x2c5135;}return this[_0x369225(0x459)][_0x369225(0x408)](_0x261ad2);}[_0x57b986(0x34d)](_0x4a18b1,_0x256537,_0x228247){const _0x274b56=_0x57b986;_0x256537===_0x46f32c[_0x274b56(0x54b)]['BASE64']||_0x228247==null||this[_0x274b56(0x459)][_0x274b56(0x2c3)](_0x4a18b1,_0x228247);}async[_0x57b986(0x1bc)](_0x1d1554){const _0x4b1c11=_0x57b986;try{const _0x203778=this[_0x4b1c11(0x573)](this[_0x4b1c11(0x354)](),''+_0x1d1554),_0x303ed9=(await this['_httpService'][_0x4b1c11(0x408)](_0x203778))[_0x4b1c11(0x559)];return _0x303ed9['error']&&_0x303ed9['error'][_0x4b1c11(0x35d)]===_0x383d49['OK']?Promise[_0x4b1c11(0x29c)](_0x303ed9[_0x4b1c11(0x30d)]):Promise['reject'](_0x303ed9[_0x4b1c11(0x4a4)]);}catch(_0x33c75e){return Promise[_0x4b1c11(0x2cf)](_0x33c75e);}}async[_0x57b986(0x2bd)](_0x2d32dd){const _0xec4dd8=_0x57b986;let _0x27da97='';if(!_0x56ed7d[_0xec4dd8(0x4c2)](_0x2d32dd[_0xec4dd8(0x239)]))return this[_0xec4dd8(0x54c)](),Promise['reject'](new Error(_0x46f32c[_0xec4dd8(0x3b3)]['ERROR_IMAGE_TYPE']));if(_0x2d32dd[_0xec4dd8(0x349)]>_0x319ef5)return this[_0xec4dd8(0x54c)](),Promise['reject'](new Error(_0x46f32c[_0xec4dd8(0x3b3)]['ERROR_EXCEED_SIZE']));try{const _0xa69463=new FormData();_0xa69463[_0xec4dd8(0x41f)](_0xec4dd8(0x574),_0x2d32dd);const _0x298ea4=this[_0xec4dd8(0x457)]()+_0xec4dd8(0x217)+_0x2d32dd[_0xec4dd8(0x349)][_0xec4dd8(0x3cb)](),_0x20a9bb=await(await fetch(_0x298ea4,{'method':_0xec4dd8(0x315),'body':_0xa69463}))[_0xec4dd8(0x4f7)]();if(typeof _0x20a9bb[_0xec4dd8(0x211)]!=_0xec4dd8(0x36c))return this[_0xec4dd8(0x54c)](),Promise[_0xec4dd8(0x2cf)](new Error(_0x46f32c['ImageUploadStatusType'][_0xec4dd8(0x205)]));_0x27da97=_0x20a9bb[_0xec4dd8(0x211)];}catch{return this[_0xec4dd8(0x54c)](),Promise['reject'](new Error(_0x46f32c[_0xec4dd8(0x3b3)][_0xec4dd8(0x205)]));}return new Promise((_0x2a72e9,_0x555cde)=>{const _0x5a8c0c=_0xec4dd8,_0x1a4152=new FileReader();_0x1a4152[_0x5a8c0c(0x436)](_0x2d32dd),_0x1a4152[_0x5a8c0c(0x2ee)]=_0x3d080d=>{const _0x365ee4=_0x5a8c0c;var _0x5d50a3;const _0x3548d7=(_0x5d50a3=_0x3d080d[_0x365ee4(0x3f2)])==null?void 0x0:_0x5d50a3['result'];if(_0x3548d7==null){this[_0x365ee4(0x54c)](),_0x555cde(new Error(_0x46f32c[_0x365ee4(0x3b3)][_0x365ee4(0x205)]));return;}const _0x24886a=_0x4cdaf4[_0x365ee4(0x2dc)][_0x365ee4(0x4a0)](0x6);_0x2a72e9({'imageId':_0x24886a,'imageSourceType':_0x46f32c[_0x365ee4(0x54b)]['UUID'],'source':_0x27da97,'base64Cache':_0x3548d7,'status':_0x46f32c[_0x365ee4(0x3b3)][_0x365ee4(0x3f1)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x28df65=_0x57b986;var _0x8874a8;return(_0x8874a8=this[_0x28df65(0x323)]['getConfig'](_0x14d780))!=null?_0x8874a8:_0x4b4ab1;}['_getSignURL'](){const _0x1e42f2=_0x57b986;var _0x599f13;return(_0x599f13=this[_0x1e42f2(0x323)]['getConfig'](_0x250f6f))!=null?_0x599f13:_0x501632;}[_0x57b986(0x573)](_0x292efb,_0x23fd8e){const _0x33bdab=_0x57b986;return _0x292efb[_0x33bdab(0x2ae)]('{fileID}',_0x23fd8e);}[_0x57b986(0x54c)](){const _0x141f60=_0x57b986;this[_0x141f60(0x1c5)]-=0x1,this[_0x141f60(0x274)]['next'](this[_0x141f60(0x1c5)]);}};_0x5888f2=_0x24c877([_0x9b8e94(0x0,_0x12925a[_0x57b986(0x42c)](_0xfde0ab[_0x57b986(0x280)])),_0x9b8e94(0x1,_0x4cdaf4['IConfigService'])],_0x5888f2);var _0x2f475c=Object[_0x57b986(0x1f4)],_0x40a9fd=Object['getOwnPropertyDescriptor'],_0x2a3497=(_0x33b58d,_0x3f8fc7,_0x3abb65)=>_0x3f8fc7 in _0x33b58d?_0x2f475c(_0x33b58d,_0x3f8fc7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3abb65}):_0x33b58d[_0x3f8fc7]=_0x3abb65,_0x531476=(_0x5928e2,_0xaa414,_0x2b1e95,_0x5639ca)=>{const _0x2bfaad=_0x57b986;for(var _0x72c47d=_0x5639ca>0x1?void 0x0:_0x5639ca?_0x40a9fd(_0xaa414,_0x2b1e95):_0xaa414,_0x1605ed=_0x5928e2[_0x2bfaad(0x397)]-0x1,_0x5711fc;_0x1605ed>=0x0;_0x1605ed--)(_0x5711fc=_0x5928e2[_0x1605ed])&&(_0x72c47d=(_0x5639ca?_0x5711fc(_0xaa414,_0x2b1e95,_0x72c47d):_0x5711fc(_0x72c47d))||_0x72c47d);return _0x5639ca&&_0x72c47d&&_0x2f475c(_0xaa414,_0x2b1e95,_0x72c47d),_0x72c47d;},_0x41924a=(_0x1f3202,_0x1730e3)=>(_0x38c54b,_0x347181)=>_0x1730e3(_0x38c54b,_0x347181,_0x1f3202),_0x4ccd34=(_0x1a5009,_0x22b259,_0x425023)=>_0x2a3497(_0x1a5009,_0x22b259+'',_0x425023);const _0x21a43a='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x3f3314['UniverCollaborationClientPlugin']=class extends _0x4cdaf4['Plugin']{constructor(_0x53eabd,_0x1e81df,_0x4011af){const _0x444e18=_0x57b986;super(),this[_0x444e18(0x2a9)]=_0x53eabd,this[_0x444e18(0x314)]=_0x1e81df,this['_injector']=_0x4011af;}['onStarting'](_0x4038a2){const _0x301509=_0x57b986;var _0x36a99f,_0xdd402a,_0x4e7ef5,_0x404e5e,_0x3e5cd1;_0x4038a2['has'](_0x4cdaf4[_0x301509(0x2f8)])&&this[_0x301509(0x314)][_0x301509(0x4a4)]('[UniverCollaborationClientPlugin]',_0x301509(0x2f2));let _0x521abc=[[_0x4cdaf4[_0x301509(0x2f8)],{'useClass':_0x4e679e}],[_0x3f3314[_0x301509(0x48c)]],[_0x2ba255],[_0xfde0ab[_0x301509(0x280)]],[_0x13d820,{'useClass':_0x32732a}],[_0x4495e7],[_0x3f3314[_0x301509(0x361)]],[_0xfde0ab[_0x301509(0x1d6)]],[_0x4e6a4d],[_0x38542b],[_0x29ca68],[_0x2f17dc],[_0x95f6c2],[_0x20ab21,{'useClass':(_0xdd402a=(_0x36a99f=this[_0x301509(0x2a9)])==null?void 0x0:_0x36a99f[_0x301509(0x35f)])!=null?_0xdd402a:_0x3f3314[_0x301509(0x4a5)]}],[_0xfde0ab[_0x301509(0x4e1)],{'useClass':_0xfde0ab[_0x301509(0x56e)]}],[_0x4cdaf4[_0x301509(0x3ea)],{'useClass':_0x80c624}],[_0x4cdaf4[_0x301509(0x4fa)],{'useClass':_0x3f3314[_0x301509(0x25c)]}],[_0x46f32c[_0x301509(0x1c9)],{'useClass':_0x5888f2}],[_0x3f3314['CollaborationController']],[_0x3f3314[_0x301509(0x393)]],[_0x3f3314[_0x301509(0x3e9)]],[_0x3d3abe],[_0xc3b139]];(_0x4e7ef5=this['_config'])!=null&&_0x4e7ef5['enableSingleActiveInstanceLock']&&_0x521abc['push']([_0x1c83f9,{'useClass':_0x1c79cd}]),((_0x404e5e=this[_0x301509(0x2a9)])==null?void 0x0:_0x404e5e[_0x301509(0x243)])==null||this[_0x301509(0x2a9)][_0x301509(0x243)][_0x301509(0x4c2)](_0x4cdaf4[_0x301509(0x514)][_0x301509(0x1ed)])?_0x521abc['push']([_0x662f12]):this['_config'][_0x301509(0x243)]['includes'](_0x4cdaf4[_0x301509(0x514)][_0x301509(0x510)])&&_0x521abc[_0x301509(0x2a8)]([_0x4879f6]),_0x521abc=_0x4cdaf4['mergeOverrideWithDependencies'](_0x521abc,(_0x3e5cd1=this[_0x301509(0x2a9)])==null?void 0x0:_0x3e5cd1[_0x301509(0x1cb)]),_0x521abc[_0x301509(0x2bc)](_0xac1bd2=>_0x4038a2[_0x301509(0x2b7)](_0xac1bd2)),_0x4038a2[_0x301509(0x408)](_0xfde0ab[_0x301509(0x280)])[_0x301509(0x357)]({'priority':0x14,'interceptor':_0xfde0ab['ThresholdInterceptorFactory']({'maxParallel':0x6})}),this[_0x301509(0x50f)]();}[_0x57b986(0x50f)](){const _0x169ce7=_0x57b986;var _0x4a471b,_0x3e4942;(_0x4a471b=this[_0x169ce7(0x2a9)])!=null&&_0x4a471b[_0x169ce7(0x22a)]||this[_0x169ce7(0x260)][_0x169ce7(0x408)](_0x3f3314[_0x169ce7(0x361)])[_0x169ce7(0x571)](),(_0x3e4942=this['_config'])!=null&&_0x3e4942[_0x169ce7(0x4a9)]&&this['_injector'][_0x169ce7(0x408)](_0x95f6c2);}},_0x4ccd34(_0x3f3314[_0x57b986(0x23f)],_0x57b986(0x56f),_0x21a43a),_0x3f3314[_0x57b986(0x23f)]=_0x531476([_0x4cdaf4[_0x57b986(0x513)](_0x329b63['UniverCollaborationPlugin']),_0x41924a(0x1,_0x4cdaf4[_0x57b986(0x41c)]),_0x41924a(0x2,_0x12925a[_0x57b986(0x42c)](_0x12925a['Injector']))],_0x3f3314['UniverCollaborationClientPlugin']),_0x3f3314[_0x57b986(0x44b)]=_0x113fb2,_0x3f3314[_0x57b986(0x23e)]=_0x3050c7,_0x3f3314[_0x57b986(0x29f)]=_0x28607c,_0x3f3314[_0x57b986(0x52b)]=_0x5185a4,_0x3f3314[_0x57b986(0x339)]=_0x3c74c6,_0x3f3314[_0x57b986(0x381)]=_0x1e7060,_0x3f3314[_0x57b986(0x3b8)]=_0x3287b4,_0x3f3314[_0x57b986(0x432)]=_0x20ab21,_0x3f3314[_0x57b986(0x34c)]=_0x13d820,_0x3f3314['LOCAL_CACHE_INTERVAL_KEY']=_0x1e2fa3,_0x3f3314['LOGIN_URL_KEY']=_0x23ca2e,_0x3f3314[_0x57b986(0x2e8)]=_0x20edc7,_0x3f3314[_0x57b986(0x4ba)]=_0x514f86,_0x3f3314[_0x57b986(0x2b2)]=_0x5cc7aa,_0x3f3314['SessionStatus']=_0x585a5c,_0x3f3314[_0x57b986(0x403)]=_0x32732a,_0x3f3314[_0x57b986(0x32a)]=_0x4e7170,_0x3f3314[_0x57b986(0x1f7)]=_0x573082,Object[_0x57b986(0x1f4)](_0x3f3314,Symbol[_0x57b986(0x1dd)],{'value':_0x57b986(0x301)});}));function _0x23f5(){const _0xea93f5=['parseProtocolChangeset','data','_type','enableAuthServer','send','isTransformChangesetsSuccess','text','colorChannel1','_colorAssignService','runRefRangeMutations','none','[PendingState]:\x20received\x20acknowledgement.','_clearOtherTimers','InsertSheetMutation','1em','_pendingMutations','_scheduleSaving','/universer-api/snapshot','mapDocumentTypeToUniverType','collabCursorState$','SNAPSHOT_SERVER_URL_KEY','_heartbeatTimer','getColor','_createInitialStateImpl','column','findNodePositionByCharIndex','idSuffix','DeleteRangeMoveUpCommandId','includes','permissionRejEvent','put','HEARTBEAT_TIMEOUT','then','liveShareNewHost','transformSelections','awaitingChangeset','[CollaborationSessionService]:\x20socket\x20error','UniverSheetsUi','_removeClearOtherTimer','makeDirty','\x0aAfter:\x20','onPointerLeaveObserver','image/jpeg','getUniverSheetInstance','div','registerOnClose','APPLY_PERMISSION_DENIED','parse','addObjects','CollaborationSession','history','transformChangesets','routeKey','_queuedRemoteChangesets','originalMeta','exports','isTransformMutationFailure','UNAUTHENTICATED','change$','IHTTPImplementation','OnLifecycle','&to=','registerBeforeClose','workbook','objectID','MoveRangeCommandId','unit','use','getUnitType','onCommandExecuted','getRoom','@univerjs/rpc','bottom','collaboratorID','_getCurrentRevision','IConfigService','_tryEnsureSocket','handleInsertRow','isPermissionRej','find','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','json','offline','saveSheetBlock','IAuthzIoService','_clearLocalCache','resend','IUIPartsService','color','_updateStatus','LICENSE_DISTRO_REJECTED','_textBubble','LocaleService','getOwnPropertySymbols','/object/','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','transformRemoteChangeset','image/jpg','_snapshotService','collabStatus.conflict','requireSession','_createSocket','_exhaustSavingTask','UniverDrawing','_transformUndoRedoStack','_initModules','UNIVER_DOC','session.collaboration-timeout','_onFetchMissResult','DependentOn','UniverInstanceType','unit-cache-','_saveCache','_sendHeartbeat','UNIVER_UNKNOWN','location','setTimeout','setCurrentUser','LIVESHARE_FETCH_OPERATIONS','_session','_roomMembers$','getConfig','onRemoteRej','UniverEngineRender','_httpService','RemoveRowCommandId','sequenceExecute','error$','mutations','flatMap','stringify','enableLocalCache','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','CHANGESET_REVISION_CONFILICT','_acknowledgedAwaitingChangeset','Injector','getCollabEntity','editingUnit','AWAITING','init','asObservable','cursorInfo$','setUndoRedoMutationParamsCache','memberID','appendMutation','_onCombEvent','off-line-single','_clearUndo','_themeService','/universer-api/oidc/authpage','lineTo','defIds','_transformSelections','_cachedData','close','message$','univer-offline','createInstance','_init','@wendellhu/redi/react-bindings','split','_colorIndex','hovered','ImageSourceType','_decreaseWaiting','_getSnapshotAPIPrefix','all','APPLY_REVISION_CONFILICT','permission.content','YUUMI_URL_COL_OUT_OF_RANGE','/fetchmissing?from=','getTypeOfUnitAdded$','/universer-api/comb','@univerjs/engine-formula','measureText','_removeRoom','eventID','body','startsWith','_sheetTransformSelectionsService','/universer-api/stream/file/upload','lodash','_unitStatus','setShapeProps','show','transformStack\x20failed!','react','entries','2149735rcqmEg','NOT_FOUND','6228828CkcYuH','conflict.content','ColorKit','csRejEvent','...','toDisposable','_onJoinRoomEvent','image/gif','XHRHTTPImplementation','pluginName','removeMember','disableLocalCache','_ws','_replaceFileID','file','LifecycleStages','trim','getCurrentRevForDocument','delay','UNIVER_SLIDE','OffLineSingle','#FFF','getUndoRedoMutationParamsCache','_anchor','collabStatus.fetchMiss','verdancy600','[DataLoaderController]','_name','unshift','_remoteChangesetQueue','getImage','next','updatePermissionPoint','from','0\x200\x2017\x2016','ONLINE','not_collab','className','onPointerMoveObserver','_waitCount','SYNCED','_socketService','InsertRowCommandId','IImageIoService','setItem','override','@univerjs/design','onMissedChangesetFetched','_waitForHeartbeatResponse','_cursorInfo$','amd','_collaborationController','VIEWPORT_KEY','_memberService','concatMap','loadOfflineData','WebSocketService','height','displayName','getSheetObject','[CollaborationUndoRedoService]','HEARTBEAT_INTERVAL','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','toStringTag','CONFLICT','Rectangle','onlineStatusTitle','getRangePointData','_onMessage','close$','getViewport','React','_urlService','onMissingChangesets','_snapshotServerService','off-line-single_clip0_910_343','COMPRESS_MUTATION_APPLY','LICENSE_MAX_UNITS_EXCEEDED','setAlpha','UNIVER_SHEET','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_clearTimeoutTimer','USERS_LEAVE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/resources','handleIRemoveRow','defineProperty','interceptor','list','serializeCombRequest','combineLatest','socket\x20open.','debug','b64DecodeUnicode','awaiting','serializeRangeWithSheet','sheetID','LocalUndoRedoService','restore','rxjs/operators','_cursor','_retryCount','RETRY_CONNECTING_INTERVAL','ERROR_IMAGE','searchParams','infoRsp','collaboration-client.offline-data-not-saved','COLORS','_lockTransition','getScrollXYByRelativeCoords','pushState','pauseCollaboration','NOT_COLLAB','_transitionLocked','createSocket','FileId','_beforeCloseService','_uiPartsService','clsx','_createHandler','YUUMI_UNABLE_LOAD_URL','?size=','fill','LIVESHARE_OPERATION','926062pYuBqA','conflict.title','fetchThroughInterceptors','remove','update','executeCommand','IContextService','onRemoteChangeset','_clearScheduledTask','getAncestorScale','xlink:href','JSONX','_startSheetCollabCursor','getCurrentUser','fromEvent','/block/','enableOfflineEditing','onRemoteAck','_undoStacks','row','m2Prime','SelectionManagerService','state$','src','extend','unknown','fetch_missing','@wendellhu/redi','JOINING','_onRecvEvent','Shape','type','univer-pro.collaboration-client-socket-service','onSyncEditingCollabCursor','TOO_MANY_REQUESTS','distinctUntilChanged','COLLAB_SUBMIT_CHANGESET_URL_KEY','UniverCollaborationClientPlugin','getImageSourceCache','_getAPIPrefix','onTransformRemoteChangesetByIMECache','collaborationUniverTypes','_onConflict','FromArray','defs','_localeService','_collabCursorState$','createIdentifier','_initStatusListener','fillRule','event$','RECV','InsertRangeMoveDownCommandId','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','disposeWithMe','href','filter','[PendingState]:\x20unhandled\x20univer\x20type:\x20','UniverCollaborationClient','editing\x20status\x20changed\x20to','_shapes','setParam','substring','_event$','rxjs','cursorInfo','AuthzIoHttpService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','RichTextEditingMutation','black','_injector','HELLO','/universer-api/snapshot/','createElement','c1Prime','fillText','addObject','isTransformMutationsWithChangesetFailure','round','handleInsertRangeMoveDown','reverse','_hideTimer','textEncoder','_transformService','_timeoutTimer','OFFLINE','transformIMECache','PERMISSION_REJ','31716460omnWlZ','DocSkeletonManagerService','_change$','_docTransformIMECacheService','isTransformMutationsWithChangesetSuccess','/object','_transformStack','icon','/unit/','m1Prime','12hbTKOH','FAIL','IMessageService','max','HTTPService','@univerjs/sheets','_docTransformSelectionsService','connection\x20error','@univerjs/docs','_onRemoteChangeset','saveChangeset','getCollabCursors$','OTHER_CLIENTS_EDITING','getActiveRange','clearInterval','Workbook','getInterceptPoints','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','IUniverInstanceService','COMPRESS_MUTATION_SEND','hasOwnProperty','_executeRemoteChangeset','SheetSkeletonManagerService','_docSyncEditingCollabCursorService','TextSelectionManagerService','subUnitId','@univerjs-pro/collaboration','onlineStatusIcon','parseChangesetToProtocol','sheetId','actions','LEAVE','resolve','getTypeOfUnitDisposed$','subscribe','COLLAB_WEB_SOCKET_URL_KEY','ITransformService','mapTo','UniverNetwork','unitId','[OfflineState]:\x20received\x20changeset.','univer-online','UniverIcon','NO_OTHER_CLIENTS_EDITING','push','_config','status','putCollaborators','_id','clipPath','replace','MessageType','_syncEditingCollabCursor','sessionStatus','SNAPSHOT_URL_KEY','SEND_CHANGESET_TIMEOUT','blue400','[CollaborationState]:\x20apply\x20error!','Starting','add','_hovered','_toggleOnline','symbol','Warning','forEach','saveImage','BASE64','_state','values','startColumn','lodash/debounce','set','labelPosition','getSheetId','isEditing','roomMembers','_isPermissionRej','UPDATE_CURSOR','_localCacheService','deepClone','_rescheduleHeartbeatEvent','univer-pro.collaboration-client.single-active-unit-service','changesets','reject','_checkMissing','[SyncedState]:\x20received\x20rejection.','map','LOCAL_CACHE_INTERVAL','_onConnectionOpen','isArray','_unitOnClients','getParam','[FetchMissState]','_replayCachedMutations','Ready','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Tools','url(#off-line-single_clip0_910_343)','collabStatus.syncing','getCollabEntity$','JOIN','shareReplay','takeUntil','dispose$','_transformRemoteChangesetByIMECache','joinEvent','cmd','UNKNOWN_CMD','SEND_CHANGESET_TIMEOUT_KEY','BehaviorSubject','_removeCollabCursors','_getAPIPrefixPath','getDocObject','_drawRange','onload','objects','_sendHeartbeatTimer','/universer-api/file/{fileID}/sign-url','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','InsertRangeMoveRightCommandId','_disableEditing','range','PENDING','IUndoRedoService','_userManagerService','connectInjector','[CollaborationEntity]','_messageService','currentTheme$','NodePositionConvertToCursor','_docStateChangeManagerService','socket\x20close','Module','SNAPSHOT_INVALID_SNAPSHOT','UNKNOWN_CODE','M0\x200H16V16H0z','fetchMissingChangesets','purple300','_submitChangeset','title','createCollaborator','UserManagerService','univer-online-status','[CollaborationSession]','url','_docSkeletonManagerService','AWAITING_WITH_PENDING','Disposable','_joinRoom','_socketReady','_HTTPService','_logService','POST','CommandType','encode','_localStorageService','_updateCollabCursors','_updateState','0\x200\x2016\x2016','_scheduleHeartbeat','_ensureSubject','onTransformSelections','_collabSessionService','_scheduleCollaborationTimeoutTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','triggerDblclick','_configService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MSG_FOR_ERROR','_scheduleClearOtherTimer','objectType','_assignedColors','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','deserializeToCombResponse','onMouseMove','jiqing500','@univerjs/network','_sendingTimer','SetWorksheetActivateCommand','ranges','assignAColorForMemberID','image/bmp','ILocalStorageService','pipe','_onLocalMutation','arc','UniverDocs','_range','CollaborationStatusDisplay','CollaborationController','IDLE','snapshot','currentColor','_docSkeleton','_refRangeService','UNRECOGNIZED','_toggleOffline','transformMutationsWithChangeset','IRemoteInstanceService','_getSaveTimeout','NEW_CHANGESETS','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','transformMutation','leaveEvent','size','Vector2','session.connection-failed','IURLService','addImageSourceCache','toRgbString','encodeURIComponent','startRow','INGEST','_awaitingChangeset','setActiveRange','_getSignURL','FETCH_MISSING','_substituteUndoStack','registerHTTPInterceptor','updateCollaborator','hide','_getSheetObject','_singleActiveUnitService','INotificationService','code','getUnitStatus$','socketService','EffectRefRangId','LocalCacheService','evenodd','_getSendChangesetTimeout','userID','SNAPSHOT_HAS_BEEN_REMOVED','_undoRedoService','doc.mutation.rich-text-editing','UNDEFINED','storage','baseRev','_labelPosition','string','_getScale','members','HEARTBEAT','batchAllowed','_getUndoStack','?url=','WorkbookEditablePermission','_syncEditingCollabCursorService','submit\x20changeset\x20error!','LIVESHARE_REQUEST_HOST','_revisionService','_getRedoStack','LICENSE_IMPORT_SIZE_EXCEEDED','updateOfflineData','status$','LIVESHARE_TERMINATE','_setupBeforeClosingHandler','_clearCollaborationTimeoutTimer','_handleHeartbeatEvent','_onRemoteRejected','HEARTBEAT_INTERVAL_KEY','Rect','catch','contains','RemoveColCommandId','_entityInit$','onlyLocal','drawWith','_entities','_updateLocalCursor','COLLAB_WEB_SOCKET_URL','SetTextSelectionsOperation','getMergeData','_http','failed\x20to\x20apply\x20missed\x20changesets!','SnapshotService','delete','DisposableCollection','DataLoaderController','@univerjs/sheets-ui','getCurrentUnitForType','CHANGESET_ACK','length','[SyncedState]:\x20received\x20acknowledgement.','roomMembers$','transformUndoRedo','getOffsetConfig','\x20to\x20','1rDvNvv','replaceTextRanges','_sessionStatus$','RevisionService','\x0aCurrent:\x20','_showConflictNotification','_cursors','online','collab-text-anchor-','serializeTextRange','_permissionService','getCurrent','uni.network.url-service','_updateURLWithCurrentState','concat','getResourcesRequest','_handler','width','_incrementRevisionNumber','c2Prime','getSheetBlock','_anchorDot','ImageUploadStatusType','_clearHeartbeatTimer','SUBMIT_CHANGESET','_onCursorUpdate','svg','HEARTBEAT_TIMEOUT_KEY','_render','OnLineSingle','_handleJoinEvent','take','CompressMutationService','endColumn','_onUserJoin','_eventUnsubscribe','@univerjs/engine-render','Steady','_members','function','_sheetSkeletonManagerService','localeService','\x20in\x20_schedule.','_handleHover','_scheduleTimestamp','apply','toString','ACTIVE_UNIT_EVENT_CHANNEL','debounceTime','_handleLeaveEvent','liveShareOperation','IBeforeCloseService','[CollaborationSessionService]','state','LICENSE_EXPORT_SIZE_EXCEEDED','getUnitId','_setupSubUnitSync','font','reduce','_online','_univerInstanceService','rev','result','CollaborationEvent','roomInfos','IMEInputManagerService','_renderManagerService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs/ui','beginPath','onSendChangeset','prototype','612514aNpFhC','getActiveSheet','subunit','_getLoginPath','DesktopCollaborationStatusDisplayController','ISnapshotServerService','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','Optional','_draw','3529899vacYyS','min','isActive','SUCCUSS','target','/-/object/list','_getMergeRange','univer-online-status-icon','VIEW_MAIN','updateMember','handleDeleteRangeMoveLeft','getItem','_substituteRedoStack','ThemeService','children','[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.','_socket$','selection','_compressMutationService','/rev/','_unitId','WebURLService','clearTimeout','getOwnPropertyDescriptor','transformByState','top','get','getSelections','with','collabStatus.synced','_selfUnitIDs','_onConnectionFailed','fetching\x20missing\x20changesets\x20from\x20','unitID','saveSnapshot','tag','UniverUi','IPermissionService','MUTATION','DocStateChangeManagerService','loadDoc','_sessions','PERMISSION_DENIED','@univerjs/drawing','@univerjs/core','save','ILogService','csAckEvent','currentSkeleton$','append','handleDeleteRangeMoveUp','DEFAULT_FILE_NAME','path','getCoordByCell','getValue','_fetchMissChangesets','_unlockTransition','_updateLocalCache','_collaborationPaused','CHANGESET_REJ','_applyRemoteChangeset','call','Inject','Subject','_transformIMECache','_exhaustRemoteChangesetQueue','PSEUDO_FETCH_MISSING_RESULT','_lastPointer','ICollaborationSocketService','_getCtorByUniverType','joinRsp','/collaborator','readAsDataURL','textRanges','collab-text-range-','COLLAB_SUBMIT_CHANGESET_URL','_loadDoc','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','IRenderManagerService','_transformPreviousActiveRange','_retryConnectingTimer','APPLY_NON_SEQUENTIAL_REVISION','toggleOffline','_getAnchorBounding','Unknown\x20user','red300','updateCursorEvent','gold400','switchMap','whenReady','urlChange$','session.will-retry','useObservable','AUTHZ_URL_KEY','getRenderById','getFocusedUnit','Univer','getMember','TEXT_RANGE_LAYER_INDEX','_schedule','handleInsertCol','_socket','INVALID_ARGUMENT','params','_unitID','_getUploadFileURL','has','_imageSourceCache','slice','open$','_color','post','roles','getSheetBySheetId','_socketMessageSubscription','complete','COMPLETION_FINISHED','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','listCollaborators','_createInitialState','APPLY_REJECT','SetSelectionsOperation','merge','session','getMemberID','clear','ICommandService','sessionStatus$','dispose','_startDocCollabCursor','_updateSubUnitFromURLParams','univer-online-status-title','indexOf','permission.title','_hover','_onRefRangeChange','_clearRedo','forwardRef','/allowed','_saveTaskMap','_loadSheet','FETCH_MISS','getTime','6941691HdrOaE','_onCursorDelete','LIVESHARE_NEW_HOST','USERS_ENTER','_handleEvent','fillStyle','attrs','#fff','_startCollaboration','_onUserLeave','collaboration.single-unit.warning','_status$','toggleOnline','onPointerEnterObserver','_drawAnchor','CollaborationSessionService','_collaborationTimeoutTimer','collaMsg','_commandService','collabStatus.notCollab','_scene','registerRefRange','_notificationService','create','_roomMembers','_disabled','activeSheet$','_state$','RxDisposable','revision','auth.needGotoLoginAlert','[OfflineState]:\x20received\x20rejection.','_collabCursorController','120FRcCQl','on-line-single_clip0_910_349','generateRandomId','_send','Error','name','error','CollaborationSocketService'];_0x23f5=function(){return _0xea93f5;};return _0x23f5();}
|
1
|
+
(function(_0x5a0333,_0xf08ba3){const _0x2f0f1e=_0x492d,_0x15fada=_0x5a0333();while(!![]){try{const _0x78c615=-parseInt(_0x2f0f1e(0x3ad))/0x1+parseInt(_0x2f0f1e(0x340))/0x2+parseInt(_0x2f0f1e(0x1b4))/0x3+parseInt(_0x2f0f1e(0x1b8))/0x4+-parseInt(_0x2f0f1e(0x1c3))/0x5*(parseInt(_0x2f0f1e(0x3dc))/0x6)+-parseInt(_0x2f0f1e(0x2d8))/0x7+-parseInt(_0x2f0f1e(0x493))/0x8*(-parseInt(_0x2f0f1e(0x1db))/0x9);if(_0x78c615===_0xf08ba3)break;else _0x15fada['push'](_0x15fada['shift']());}catch(_0x1ffe6f){_0x15fada['push'](_0x15fada['shift']());}}}(_0x23bd,0x683eb),function(_0x2fa430,_0x4f5774){const _0x380162=_0x492d;typeof exports==_0x380162(0x18a)&&typeof module<'u'?_0x4f5774(exports,require(_0x380162(0x38f)),require(_0x380162(0x22d)),require('@univerjs/design'),require('@univerjs/ui'),require(_0x380162(0x256)),require(_0x380162(0x48e)),require(_0x380162(0x1ba)),require(_0x380162(0x302)),require('@univerjs/docs'),require(_0x380162(0x4b2)),require(_0x380162(0x41e)),require(_0x380162(0x28a)),require('lodash/debounce'),require(_0x380162(0x103)),require(_0x380162(0x193)),require(_0x380162(0x128)),require(_0x380162(0x41d)),require(_0x380162(0x259)),require('@univerjs/rpc')):typeof define==_0x380162(0x452)&&define[_0x380162(0x3a2)]?define([_0x380162(0x2b7),_0x380162(0x38f),_0x380162(0x22d),_0x380162(0x2e3),_0x380162(0x219),'@univerjs-pro/collaboration',_0x380162(0x48e),_0x380162(0x1ba),_0x380162(0x302),_0x380162(0x364),_0x380162(0x4b2),_0x380162(0x41e),_0x380162(0x28a),_0x380162(0x2da),_0x380162(0x103),'@univerjs/sheets-ui','@wendellhu/redi/react-bindings',_0x380162(0x41d),_0x380162(0x259),_0x380162(0x35b)],_0x4f5774):(_0x2fa430=typeof globalThis<'u'?globalThis:_0x2fa430||self,_0x4f5774(_0x2fa430[_0x380162(0x3db)]={},_0x2fa430[_0x380162(0x1c4)],_0x2fa430['UniverSheets'],_0x2fa430[_0x380162(0x403)],_0x2fa430[_0x380162(0x1d6)],_0x2fa430[_0x380162(0x1f9)],_0x2fa430['@wendellhu/redi'],_0x2fa430['rxjs'],_0x2fa430[_0x380162(0x1ba)]['operators'],_0x2fa430[_0x380162(0x2a9)],_0x2fa430[_0x380162(0x27c)],_0x2fa430[_0x380162(0x399)],_0x2fa430[_0x380162(0x238)],_0x2fa430['lodash'][_0x380162(0x4ae)],_0x2fa430[_0x380162(0x141)],_0x2fa430[_0x380162(0x3c8)],_0x2fa430[_0x380162(0x128)],_0x2fa430[_0x380162(0x3dd)],_0x2fa430[_0x380162(0x259)],_0x2fa430[_0x380162(0x4a9)]));}(this,function(_0x322d5b,_0x592d59,_0x5e4af3,_0x5063fc,_0x2c52d3,_0x1f6364,_0x1ea985,_0x3c7a49,_0x39f29f,_0x30cc49,_0x490a4f,_0x3b3d9c,_0x475fb6,_0x5e5cd3,_0x5c59d0,_0x1c3859,_0x250089,_0x4f6c5c,_0x4dd75f,_0x5d4b6e){'use strict';const _0x1000c0=_0x492d;var _0x31ddb8=Object[_0x1000c0(0x1a1)],_0x4086f5=(_0x369e63,_0xfa0db5,_0x4dbdea)=>_0xfa0db5 in _0x369e63?_0x31ddb8(_0x369e63,_0xfa0db5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dbdea}):_0x369e63[_0xfa0db5]=_0x4dbdea,_0x40dfd7=(_0x3191ee,_0x1c7f3a,_0x1f74cd)=>_0x4086f5(_0x3191ee,typeof _0x1c7f3a!='symbol'?_0x1c7f3a+'':_0x1c7f3a,_0x1f74cd);const _0x4ba31f='SNAPSHOT_SERVER_URL_KEY',_0x14ea18='/universer-api/snapshot',_0x3478c0=_0x1000c0(0x380),_0x48f0d1=_0x1000c0(0x4b8),_0x1ed340=_0x1000c0(0x4ce),_0x3a2870='ws://127.0.0.1:8000/universer-api/comb/connect',_0x415ece=_0x1000c0(0x3bc),_0x22e7f5=_0x1000c0(0x1fe),_0x58522e=_0x1000c0(0x313),_0x966ced=_0x1000c0(0x1f6),_0x5cb089=_0x1000c0(0x45e),_0x50bca1='COLLAB_SUBMIT_CHANGESET_URL',_0x2a5647='/universer-api/comb',_0x24179b=_0x1000c0(0x381),_0x21698b=_0x1000c0(0x198);var _0x39c634=(_0x30a466=>(_0x30a466[_0x30a466[_0x1000c0(0x17d)]=0x0]=_0x1000c0(0x17d),_0x30a466[_0x30a466['OK']=0x1]='OK',_0x30a466[_0x30a466['INTERNAL_ERROR']=0x2]=_0x1000c0(0x110),_0x30a466[_0x30a466[_0x1000c0(0x3b4)]=0x3]=_0x1000c0(0x3b4),_0x30a466[_0x30a466[_0x1000c0(0x247)]=0x4]=_0x1000c0(0x247),_0x30a466[_0x30a466['UNAUTHENTICATED']=0x5]=_0x1000c0(0x353),_0x30a466[_0x30a466[_0x1000c0(0x3af)]=0x6]='ALREADY_EXISTS',_0x30a466[_0x30a466[_0x1000c0(0x40f)]=0x7]=_0x1000c0(0x40f),_0x30a466[_0x30a466[_0x1000c0(0x197)]=0x8]=_0x1000c0(0x197),_0x30a466[_0x30a466['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x30a466[_0x30a466[_0x1000c0(0x2f8)]=0x1389]=_0x1000c0(0x2f8),_0x30a466[_0x30a466['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x30a466[_0x30a466[_0x1000c0(0x190)]=0x1772]=_0x1000c0(0x190),_0x30a466[_0x30a466[_0x1000c0(0x4a6)]=0x1b59]='APPLY_REJECT',_0x30a466[_0x30a466[_0x1000c0(0x3a8)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x30a466[_0x30a466[_0x1000c0(0x392)]=0x1b5b]=_0x1000c0(0x392),_0x30a466[_0x30a466[_0x1000c0(0x166)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x30a466[_0x30a466[_0x1000c0(0x2fa)]=0x1f41]=_0x1000c0(0x2fa),_0x30a466[_0x30a466[_0x1000c0(0x499)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x30a466[_0x30a466[_0x1000c0(0x1d7)]=0x232a]=_0x1000c0(0x1d7),_0x30a466[_0x30a466['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x30a466[_0x30a466[_0x1000c0(0x354)]=0x232c]=_0x1000c0(0x354),_0x30a466[_0x30a466['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1000c0(0x355),_0x30a466[_0x30a466[_0x1000c0(0x3e6)]=0x2711]=_0x1000c0(0x3e6),_0x30a466[_0x30a466[_0x1000c0(0x4bc)]=0x2712]=_0x1000c0(0x4bc),_0x30a466[_0x30a466[_0x1000c0(0x324)]=-0x1]='UNRECOGNIZED',_0x30a466))(_0x39c634||{}),_0x376736=(_0x3b9344=>(_0x3b9344[_0x3b9344['UNIVER_UNKNOWN']=0x0]=_0x1000c0(0x4d0),_0x3b9344[_0x3b9344[_0x1000c0(0x119)]=0x1]=_0x1000c0(0x119),_0x3b9344[_0x3b9344['UNIVER_SHEET']=0x2]=_0x1000c0(0x149),_0x3b9344[_0x3b9344[_0x1000c0(0x477)]=0x3]=_0x1000c0(0x477),_0x3b9344[_0x3b9344[_0x1000c0(0x324)]=-0x1]=_0x1000c0(0x324),_0x3b9344))(_0x376736||{}),_0x2f9f5b=(_0x396264=>(_0x396264[_0x396264[_0x1000c0(0x433)]=0x0]=_0x1000c0(0x433),_0x396264[_0x396264[_0x1000c0(0x3a9)]=0x1]=_0x1000c0(0x3a9),_0x396264[_0x396264[_0x1000c0(0x241)]=0x2]=_0x1000c0(0x241),_0x396264[_0x396264[_0x1000c0(0xf7)]=0x3]=_0x1000c0(0xf7),_0x396264[_0x396264[_0x1000c0(0x139)]=0x4]=_0x1000c0(0x139),_0x396264[_0x396264[_0x1000c0(0x3a6)]=0x5]=_0x1000c0(0x3a6),_0x396264[_0x396264[_0x1000c0(0x2ff)]=0x6]='RECV',_0x396264[_0x396264[_0x1000c0(0x324)]=-0x1]='UNRECOGNIZED',_0x396264))(_0x2f9f5b||{}),_0x282d51=(_0x5bd06e=>(_0x5bd06e[_0x5bd06e[_0x1000c0(0x23d)]=0x0]=_0x1000c0(0x23d),_0x5bd06e[_0x5bd06e['OK']=0x1]='OK',_0x5bd06e[_0x5bd06e[_0x1000c0(0x27d)]=0x2]='FAIL',_0x5bd06e[_0x5bd06e[_0x1000c0(0x324)]=-0x1]='UNRECOGNIZED',_0x5bd06e))(_0x282d51||{}),_0x134f94=Object[_0x1000c0(0x1a1)],_0x5e0676=Object[_0x1000c0(0x2d4)],_0x450ba3=(_0x3a661b,_0x371428,_0x2721c1,_0x35e7c5)=>{const _0x8d646a=_0x1000c0;for(var _0xd8acc0=_0x35e7c5>0x1?void 0x0:_0x35e7c5?_0x5e0676(_0x371428,_0x2721c1):_0x371428,_0x2e9a5b=_0x3a661b[_0x8d646a(0x1d8)]-0x1,_0x5e2f61;_0x2e9a5b>=0x0;_0x2e9a5b--)(_0x5e2f61=_0x3a661b[_0x2e9a5b])&&(_0xd8acc0=(_0x35e7c5?_0x5e2f61(_0x371428,_0x2721c1,_0xd8acc0):_0x5e2f61(_0xd8acc0))||_0xd8acc0);return _0x35e7c5&&_0xd8acc0&&_0x134f94(_0x371428,_0x2721c1,_0xd8acc0),_0xd8acc0;},_0x49aa6c=(_0x329345,_0x1db133)=>(_0x5b5caa,_0x1974d0)=>_0x1db133(_0x5b5caa,_0x1974d0,_0x329345);let _0x2539c6=class extends _0x592d59[_0x1000c0(0x450)]{constructor(_0x3d8e61,_0x264a66){const _0x15d745=_0x1000c0;super(),_0x40dfd7(this,_0x15d745(0x299),new Map()),(this['_univerInstanceService']=_0x3d8e61,this['_userManagerService']=_0x264a66,this['disposeWithMe'](_0x592d59[_0x15d745(0x29f)](_0x3c7a49[_0x15d745(0x30f)](this[_0x15d745(0x40b)][_0x15d745(0x341)](_0x592d59['UniverInstanceType'][_0x15d745(0x149)])[_0x15d745(0x161)](_0x39f29f[_0x15d745(0x1f5)](_0x5b84d6=>_0x5b84d6['getUnitId']())),this[_0x15d745(0x40b)][_0x15d745(0x341)](_0x592d59[_0x15d745(0x1b5)][_0x15d745(0x119)])['pipe'](_0x39f29f[_0x15d745(0x1f5)](_0x23083a=>_0x23083a[_0x15d745(0x270)]())),this[_0x15d745(0x40b)][_0x15d745(0x341)](_0x592d59[_0x15d745(0x1b5)][_0x15d745(0x477)])[_0x15d745(0x161)](_0x39f29f['map'](_0x16fc6a=>_0x16fc6a[_0x15d745(0x270)]())))[_0x15d745(0x42f)](_0x224f6f=>this[_0x15d745(0x171)](_0x224f6f)))));}[_0x1000c0(0x3ac)](_0xb64875){const _0x50a543=_0x1000c0;this[_0x50a543(0x13d)][_0x50a543(0x3ac)](_0xb64875);}[_0x1000c0(0x277)](){return this['_userManagerService']['getCurrentUser']();}[_0x1000c0(0x262)](_0x13db29,_0x43bc24){const _0x192b2f=_0x1000c0;let _0x4bf994=this['_roomMembers']['get'](_0x13db29);_0x4bf994||(_0x4bf994=new _0x5ee9c7(),this[_0x192b2f(0x299)]['set'](_0x13db29,_0x4bf994)),_0x4bf994[_0x192b2f(0x262)](_0x43bc24);}[_0x1000c0(0x455)](_0x2473c1,_0x29f636){const _0x41b4be=_0x1000c0,_0x37f1d2=this[_0x41b4be(0x299)][_0x41b4be(0x1de)](_0x2473c1);_0x37f1d2&&_0x37f1d2[_0x41b4be(0x455)](_0x29f636);}[_0x1000c0(0x3e2)](_0x17cd30){const _0x1d25fd=_0x1000c0;return this['_roomMembers'][_0x1d25fd(0x1de)](_0x17cd30);}[_0x1000c0(0x1cc)](_0x2f90ff,_0x260053){const _0x4b765c=_0x1000c0,_0x4619e4=this[_0x4b765c(0x299)][_0x4b765c(0x1de)](_0x2f90ff);if(_0x4619e4)return _0x4619e4[_0x4b765c(0x1cc)](_0x260053);}['_removeRoom'](_0x46cc55){const _0x971bf2=_0x1000c0,_0x158118=this[_0x971bf2(0x299)][_0x971bf2(0x1de)](_0x46cc55);_0x158118&&(_0x158118['dispose'](),this[_0x971bf2(0x299)][_0x971bf2(0x234)](_0x46cc55));}[_0x1000c0(0x36f)](){const _0x502864=_0x1000c0;this['_roomMembers'][_0x502864(0x24b)](_0x2154f8=>_0x2154f8['dispose']()),this['_roomMembers'][_0x502864(0x370)]();}};_0x2539c6=_0x450ba3([_0x49aa6c(0x0,_0x592d59[_0x1000c0(0x305)]),_0x49aa6c(0x1,_0x1ea985['Inject'](_0x592d59[_0x1000c0(0x2dc)]))],_0x2539c6);class _0x5ee9c7 extends _0x592d59['Disposable']{constructor(){super(...arguments),_0x40dfd7(this,'_members',new Map());}[_0x1000c0(0x36f)](){const _0x217119=_0x1000c0;this[_0x217119(0xfa)]['clear']();}[_0x1000c0(0x262)](_0x30f7c9){const _0x1debb2=_0x1000c0;this[_0x1debb2(0xfa)]['set'](_0x30f7c9[_0x1debb2(0x4aa)],_0x30f7c9);}['removeMember'](_0x449509){const _0x5d6a6a=_0x1000c0;this[_0x5d6a6a(0xfa)][_0x5d6a6a(0x234)](_0x449509);}[_0x1000c0(0x1cc)](_0x1bf525){const _0x17c16e=_0x1000c0;return this['_members'][_0x17c16e(0x1de)](_0x1bf525);}}function _0x339084(_0x264d47){const _0x1fa965=_0x1000c0;var _0x8f042e,_0x3366ca,_0x4bb933,_0x1355ff;const _0x35210c=_0x264d47[_0x1fa965(0x314)],_0x1f3911=JSON[_0x1fa965(0x281)](_0x35210c);switch(_0x1f3911[_0x1fa965(0x28c)]){case _0x2f9f5b['HEARTBEAT']:case _0x2f9f5b[_0x1fa965(0x3a9)]:{const _0x1e814d=_0x1f3911['infoRsp'];return{..._0x1f3911,'data':_0x1e814d,'cmd':_0x1f3911[_0x1fa965(0x28c)]};}case _0x2f9f5b[_0x1fa965(0x241)]:{const _0x44a852=_0x1f3911[_0x1fa965(0x163)];return{..._0x1f3911,'data':_0x44a852,'cmd':_0x1f3911[_0x1fa965(0x28c)]};}case _0x2f9f5b[_0x1fa965(0x2ff)]:{const _0x4da477=_0x1f3911[_0x1fa965(0x201)];switch(_0x4da477[_0x1fa965(0x263)]){case _0x1f6364['CollaborationEvent'][_0x1fa965(0x319)]:return{..._0x1f3911,'data':{..._0x4da477,'data':(_0x8f042e=_0x4da477['permissionRejEvent'])==null?void 0x0:_0x8f042e['cs']},'cmd':_0x1f3911['cmd']};case _0x1f6364['CollaborationEvent'][_0x1fa965(0x1d5)]:return{..._0x1f3911,'data':{..._0x4da477,'data':(_0x3366ca=_0x4da477['csAckEvent'])==null?void 0x0:_0x3366ca['cs']},'cmd':_0x1f3911['cmd']};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x274)]:return{..._0x1f3911,'data':{..._0x4da477,'data':(_0x4bb933=_0x4da477[_0x1fa965(0x223)])==null?void 0x0:_0x4bb933['cs']},'cmd':_0x1f3911['cmd']};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x329)]:return{..._0x1f3911,'data':{..._0x4da477,'data':(_0x1355ff=_0x4da477[_0x1fa965(0x14c)])==null?void 0x0:_0x1355ff['cs']},'cmd':_0x1f3911[_0x1fa965(0x28c)]};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x157)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477[_0x1fa965(0x462)]},'cmd':_0x1f3911[_0x1fa965(0x28c)]};case _0x1f6364['CollaborationEvent'][_0x1fa965(0x296)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477['joinEvent']},'cmd':_0x1f3911[_0x1fa965(0x28c)]};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x133)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477[_0x1fa965(0x4bf)]},'cmd':_0x1f3911['cmd']};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x242)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477['liveShareNewHost']},'cmd':_0x1f3911[_0x1fa965(0x28c)]};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x47f)]:case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x151)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477[_0x1fa965(0x19f)]},'cmd':_0x1f3911['cmd']};case _0x1f6364['CollaborationEvent'][_0x1fa965(0x2ed)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477[_0x1fa965(0x13c)]},'cmd':_0x1f3911[_0x1fa965(0x28c)]};case _0x1f6364['CollaborationEvent'][_0x1fa965(0x18d)]:return{..._0x1f3911,'data':_0x4da477,'cmd':_0x1f3911['cmd']};case _0x1f6364[_0x1fa965(0x159)][_0x1fa965(0x331)]:return{..._0x1f3911,'data':{..._0x4da477,'data':_0x4da477['commentUpdateEvent']},'cmd':_0x1f3911[_0x1fa965(0x28c)]};default:return _0x1f3911;}}default:return _0x1f3911;}}function _0x488cf7(_0x40b61a){const _0x39b4e7=_0x1000c0;switch(_0x40b61a[_0x39b4e7(0x28c)]){case _0x2f9f5b['HEARTBEAT']:case _0x2f9f5b[_0x39b4e7(0x3a9)]:return JSON['stringify']({'cmd':_0x40b61a[_0x39b4e7(0x28c)],'routeKey':_0x40b61a[_0x39b4e7(0x472)]});case _0x2f9f5b[_0x39b4e7(0x139)]:{let _0x378a90;switch(_0x40b61a[_0x39b4e7(0x314)][_0x39b4e7(0x263)]){case _0x1f6364['CollaborationEvent'][_0x39b4e7(0x157)]:{_0x378a90={'eventID':_0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x157)],'updateCursorEvent':_0x40b61a[_0x39b4e7(0x314)][_0x39b4e7(0x314)]};break;}case _0x1f6364[_0x39b4e7(0x159)]['USERS_LEAVE']:{_0x378a90={'eventID':_0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x133)],'leaveEvent':_0x40b61a[_0x39b4e7(0x314)][_0x39b4e7(0x314)]};break;}case _0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x296)]:{_0x378a90={'eventID':_0x1f6364[_0x39b4e7(0x159)]['USERS_ENTER'],'joinEvent':_0x40b61a['data']['data']};break;}case _0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x242)]:{_0x378a90={'eventID':_0x1f6364['CollaborationEvent'][_0x39b4e7(0x242)],'liveShareNewHost':_0x40b61a[_0x39b4e7(0x314)][_0x39b4e7(0x314)]};break;}case _0x1f6364['CollaborationEvent'][_0x39b4e7(0x151)]:{_0x378a90={'eventID':_0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x151)],'liveShareOperation':_0x40b61a[_0x39b4e7(0x314)][_0x39b4e7(0x314)]};break;}case _0x1f6364['CollaborationEvent'][_0x39b4e7(0x2ed)]:{_0x378a90={'eventID':_0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x2ed)],'liveShareTerminate':_0x40b61a[_0x39b4e7(0x314)]['data']};break;}case _0x1f6364['CollaborationEvent'][_0x39b4e7(0x127)]:{_0x378a90={'eventID':_0x1f6364[_0x39b4e7(0x159)][_0x39b4e7(0x127)],'liveShareRequestHost':_0x40b61a['data']['data']};break;}case _0x1f6364['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x378a90={'eventID':_0x1f6364['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x378a90={'eventID':_0x40b61a['data'][_0x39b4e7(0x263)]};}return JSON['stringify']({'cmd':_0x40b61a[_0x39b4e7(0x28c)],'routeKey':_0x40b61a[_0x39b4e7(0x472)],'collaMsg':_0x378a90});}case _0x2f9f5b[_0x39b4e7(0x241)]:return JSON[_0x39b4e7(0x199)]({'cmd':_0x40b61a[_0x39b4e7(0x28c)],'routeKey':_0x40b61a[_0x39b4e7(0x472)],'joinReq':_0x40b61a[_0x39b4e7(0x314)]});case _0x2f9f5b['LEAVE']:return JSON[_0x39b4e7(0x199)]({'cmd':_0x40b61a[_0x39b4e7(0x28c)],'routeKey':_0x40b61a[_0x39b4e7(0x472)],'leaveReq':_0x40b61a[_0x39b4e7(0x314)]});default:throw new Error(_0x39b4e7(0xfe));}}var _0x34ff1b=Object[_0x1000c0(0x1a1)],_0x4fbc1d=Object[_0x1000c0(0x2d4)],_0x44b99a=(_0x4208c7,_0x1c89de,_0x556aef,_0x39151b)=>{const _0xb88aa9=_0x1000c0;for(var _0x2ff74c=_0x39151b>0x1?void 0x0:_0x39151b?_0x4fbc1d(_0x1c89de,_0x556aef):_0x1c89de,_0x4e4ff6=_0x4208c7[_0xb88aa9(0x1d8)]-0x1,_0xc11a01;_0x4e4ff6>=0x0;_0x4e4ff6--)(_0xc11a01=_0x4208c7[_0x4e4ff6])&&(_0x2ff74c=(_0x39151b?_0xc11a01(_0x1c89de,_0x556aef,_0x2ff74c):_0xc11a01(_0x2ff74c))||_0x2ff74c);return _0x39151b&&_0x2ff74c&&_0x34ff1b(_0x1c89de,_0x556aef,_0x2ff74c),_0x2ff74c;},_0x58829f=(_0x4f2b20,_0x283982)=>(_0x1c776c,_0x1ce3ef)=>_0x283982(_0x1c776c,_0x1ce3ef,_0x4f2b20);const _0x81d796=_0x1ea985['createIdentifier'](_0x1000c0(0x48d));function _0x5849a5(_0x56b83f,_0x3d35ef,_0x3fb618){const _0x804777=_0x1000c0;return _0x56b83f+'/'+_0x3d35ef+'/unit/'+_0x3fb618+_0x804777(0x45f);}_0x322d5b[_0x1000c0(0x11c)]=class{constructor(_0x5bf115,_0x4c76eb,_0x1a67bf,_0x498676,_0x5a6407){const _0x13c4a9=_0x1000c0;this[_0x13c4a9(0x29a)]=_0x5bf115,this[_0x13c4a9(0x2af)]=_0x4c76eb,this['_configService']=_0x1a67bf,this[_0x13c4a9(0x195)]=_0x498676,this[_0x13c4a9(0x25a)]=_0x5a6407;}['createSocket'](_0x1d66a4){const _0x3db454=_0x1000c0,_0x12f704=this[_0x3db454(0x2af)][_0x3db454(0x25d)](_0x1d66a4);if(!_0x12f704)throw new Error(_0x3db454(0x228));const _0x5b6738=new _0x592d59['DisposableCollection'](),_0xaf9a2a=new _0x3c7a49['Subject']();_0x5b6738[_0x3db454(0x290)](_0x592d59[_0x3db454(0x29f)](_0x12f704['close$']['subscribe'](_0x2aa4ca=>_0xaf9a2a[_0x3db454(0x117)](_0x2aa4ca)))),_0x5b6738[_0x3db454(0x290)](_0x592d59[_0x3db454(0x29f)](()=>_0xaf9a2a[_0x3db454(0x4b5)]()));const _0x20371b=new _0x3c7a49[(_0x3db454(0x33b))]();_0x5b6738[_0x3db454(0x290)](_0x592d59[_0x3db454(0x29f)](_0x12f704[_0x3db454(0x3fb)][_0x3db454(0x42f)](_0x6cc79a=>_0x20371b[_0x3db454(0x117)](_0x6cc79a)))),_0x5b6738[_0x3db454(0x290)](_0x592d59[_0x3db454(0x29f)](()=>_0x20371b[_0x3db454(0x4b5)]()));const _0x30f2e0=new _0x3c7a49[(_0x3db454(0x33b))]();_0x5b6738[_0x3db454(0x290)](_0x592d59[_0x3db454(0x29f)](_0x12f704['message$']['subscribe'](_0x421e88=>{const _0x9b5c4e=_0x3db454,_0x2837a4=_0x339084(_0x421e88);_0x30f2e0[_0x9b5c4e(0x117)](_0x2837a4);}))),_0x5b6738['add'](_0x592d59[_0x3db454(0x29f)](()=>_0x30f2e0['complete']()));const _0x4ef6b1=()=>{const _0x5c0cbe=_0x3db454;_0x20371b[_0x5c0cbe(0x117)](new Event(_0x5c0cbe(0x41a))),_0xaf9a2a[_0x5c0cbe(0x117)](new CloseEvent(_0x5c0cbe(0x41a))),_0x4b9a33['close']();},_0x4b9a33={'memberID':'','close$':_0xaf9a2a[_0x3db454(0x32c)](),'error$':_0x20371b['asObservable'](),'open$':_0x12f704[_0x3db454(0x427)],'message$':_0x30f2e0[_0x3db454(0x32c)](),'send':_0x134964=>{const _0x316734=_0x3db454;if(_0x134964[_0x316734(0x28c)]===_0x2f9f5b[_0x316734(0x139)]){if(_0x134964['data'][_0x316734(0x263)]===_0x1f6364[_0x316734(0x159)][_0x316734(0x311)]){this['_submitChangeset'](_0x4b9a33,_0x134964[_0x316734(0x314)])[_0x316734(0x307)](_0x17a2f1=>{const _0x5b91d6=_0x316734;this['_logService'][_0x5b91d6(0x343)](_0x17a2f1),_0x4ef6b1();});return;}if(_0x134964[_0x316734(0x314)][_0x316734(0x263)]===_0x1f6364['CollaborationEvent'][_0x316734(0x33d)]){const _0x588b57=_0x134964[_0x316734(0x314)];this[_0x316734(0x377)](_0x588b57)[_0x316734(0x441)](_0x1d0663=>{const _0x4de3df=_0x316734;_0x30f2e0[_0x4de3df(0x117)]({'cmd':_0x2f9f5b['RECV'],'code':_0x282d51['OK'],'routeKey':_0x588b57['data']['unitID'],'routeType':'','data':{'eventID':_0x1f6364[_0x4de3df(0x159)][_0x4de3df(0x1e7)],'data':{'changesets':_0x1d0663}}});})[_0x316734(0x307)](_0x20c96a=>{const _0x490790=_0x316734;this[_0x490790(0x195)][_0x490790(0x343)](_0x20c96a),_0x4ef6b1();});return;}}_0x12f704['send'](_0x488cf7(_0x134964));},'close':()=>{const _0x5f14d5=_0x3db454;_0x12f704[_0x5f14d5(0x2f1)](),_0x5b6738[_0x5f14d5(0x36f)]();}};return _0x4b9a33;}async[_0x1000c0(0x16c)](_0x30754d,_0x1c8a1e){const _0xbe4ca5=_0x1000c0;var _0x906942;const {unitType:_0x24b398,unitID:_0x5662a9,changeset:_0x2e5056}=_0x1c8a1e['data'],_0x550866={'unitID':_0x5662a9,'memberID':_0x30754d[_0xbe4ca5(0x4aa)],'type':_0x24b398,'changeset':_0x1f6364[_0xbe4ca5(0x158)](_0x2e5056)},_0x2cc324=_0x5849a5((_0x906942=this[_0xbe4ca5(0x230)][_0xbe4ca5(0x393)](_0x50bca1))!=null?_0x906942:_0x2a5647,_0x24b398,_0x5662a9);try{await this[_0xbe4ca5(0x29a)]['post'](_0x2cc324,{'body':_0x550866});}catch(_0x2392f2){throw this[_0xbe4ca5(0x195)][_0xbe4ca5(0x343)]('[CollaborationSession]',_0xbe4ca5(0x470)),_0x2392f2;}}async[_0x1000c0(0x377)](_0x52920c){const _0x4daea5=_0x1000c0,{unitID:_0x20b0b1,from:_0x4c7fe9,to:_0x58f79d,unitType:_0x416365}=_0x52920c['data'];return(await this[_0x4daea5(0x25a)][_0x4daea5(0x38a)]({'metadata':void 0x0},{'unitID':_0x20b0b1,'type':_0x416365,'from':_0x4c7fe9,'to':_0x58f79d}))[_0x4daea5(0x475)];}},_0x322d5b[_0x1000c0(0x11c)]=_0x44b99a([_0x58829f(0x0,_0x1ea985[_0x1000c0(0x368)](_0x490a4f[_0x1000c0(0x4b0)])),_0x58829f(0x1,_0x1ea985['Inject'](_0x490a4f['WebSocketService'])),_0x58829f(0x2,_0x592d59[_0x1000c0(0x41f)]),_0x58829f(0x3,_0x592d59[_0x1000c0(0x1ef)]),_0x58829f(0x4,_0x592d59[_0x1000c0(0x460)])],_0x322d5b[_0x1000c0(0x11c)]);class _0x3c2f54{constructor(){const _0x3a0226=_0x1000c0;_0x40dfd7(this,'_commentUpdate$',new _0x3c7a49[(_0x3a0226(0x33b))]()),_0x40dfd7(this,_0x3a0226(0x465),this[_0x3a0226(0x3d2)][_0x3a0226(0x32c)]());}[_0x1000c0(0x26d)](_0x2c8e8e){this['_commentUpdate$']['next'](_0x2c8e8e);}}var _0x3069e9=Object['defineProperty'],_0x310c22=Object['getOwnPropertyDescriptor'],_0x3583d0=(_0x2fcd8a,_0x5e86a5,_0x1b76ff,_0x3d7989)=>{const _0x1dc119=_0x1000c0;for(var _0x12fa36=_0x3d7989>0x1?void 0x0:_0x3d7989?_0x310c22(_0x5e86a5,_0x1b76ff):_0x5e86a5,_0x3cb730=_0x2fcd8a[_0x1dc119(0x1d8)]-0x1,_0x2b1cab;_0x3cb730>=0x0;_0x3cb730--)(_0x2b1cab=_0x2fcd8a[_0x3cb730])&&(_0x12fa36=(_0x3d7989?_0x2b1cab(_0x5e86a5,_0x1b76ff,_0x12fa36):_0x2b1cab(_0x12fa36))||_0x12fa36);return _0x3d7989&&_0x12fa36&&_0x3069e9(_0x5e86a5,_0x1b76ff,_0x12fa36),_0x12fa36;},_0x5a7a3c=(_0x1bcf45,_0x30be0e)=>(_0x4617a6,_0x201fa7)=>_0x30be0e(_0x4617a6,_0x201fa7,_0x1bcf45),_0x28f044=(_0x5587c1=>(_0x5587c1[_0x5587c1[_0x1000c0(0x2f4)]=0x0]=_0x1000c0(0x2f4),_0x5587c1[_0x5587c1['JOINING']=0x1]='JOINING',_0x5587c1[_0x5587c1['OFFLINE']=0x2]='OFFLINE',_0x5587c1[_0x5587c1[_0x1000c0(0x243)]=0x3]=_0x1000c0(0x243),_0x5587c1))(_0x28f044||{});_0x322d5b[_0x1000c0(0x2f0)]=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x22a673,_0x274de5,_0x3aea77,_0x11fcce,_0x527b9f,_0x1ff23f,_0x5dddc6,_0x1d6b38,_0x7e4b47){const _0x1ec8b1=_0x1000c0;super(),_0x40dfd7(this,_0x1ec8b1(0x44d),new _0x3c7a49[(_0x1ec8b1(0x35f))](0x0)),_0x40dfd7(this,_0x1ec8b1(0x2e0),this['_sessionStatus$']['asObservable']()),_0x40dfd7(this,_0x1ec8b1(0x30c),new _0x3c7a49[(_0x1ec8b1(0x33b))]()),_0x40dfd7(this,_0x1ec8b1(0x253),this['_event$'][_0x1ec8b1(0x32c)]()),_0x40dfd7(this,_0x1ec8b1(0x374)),_0x40dfd7(this,_0x1ec8b1(0x16b)),_0x40dfd7(this,'_collaborationTimeoutTimer'),(this[_0x1ec8b1(0x2df)]=_0x22a673,this[_0x1ec8b1(0x195)]=_0x3aea77,this[_0x1ec8b1(0x265)]=_0x11fcce,this[_0x1ec8b1(0x4ca)]=_0x527b9f,this['_configService']=_0x1ff23f,this['_localeService']=_0x5dddc6,this[_0x1ec8b1(0x29e)]=_0x1d6b38,this[_0x1ec8b1(0x318)]=_0x7e4b47,_0x274de5['pipe'](_0x39f29f[_0x1ec8b1(0x3ca)](this['dispose$']))[_0x1ec8b1(0x42f)](_0x40f0bb=>{const _0x5c0a96=_0x1ec8b1;var _0x1d5f74;typeof _0x40f0bb>'u'||(this['_socket']=_0x40f0bb,_0x40f0bb?(this['_joinRoom'](_0x40f0bb),this[_0x5c0a96(0x16b)]=this[_0x5c0a96(0x374)][_0x5c0a96(0x31f)][_0x5c0a96(0x42f)](_0x17c575=>{const _0x5e9e5d=_0x5c0a96;_0x17c575[_0x5e9e5d(0x472)]===this[_0x5e9e5d(0x2df)]&&this[_0x5e9e5d(0x429)](_0x17c575);})):(this[_0x5c0a96(0x44d)][_0x5c0a96(0x117)](0x2),(_0x1d5f74=this[_0x5c0a96(0x16b)])==null||_0x1d5f74[_0x5c0a96(0x22b)](),this[_0x5c0a96(0x16b)]=null));}),this['disposeWithMe'](this[_0x1ec8b1(0x265)][_0x1ec8b1(0x181)](()=>{const _0x341be2=_0x1ec8b1;var _0x2bf44f;(_0x2bf44f=this[_0x341be2(0x374)])==null||_0x2bf44f[_0x341be2(0x16a)]({'cmd':_0x2f9f5b[_0x341be2(0xf7)],'data':{'roomID':this[_0x341be2(0x2df)]}});})));}get[_0x1000c0(0x22e)](){const _0x224090=_0x1000c0;return this[_0x224090(0x44d)]['getValue']();}[_0x1000c0(0x35c)](){const _0x7febe2=_0x1000c0;var _0x21eb2c,_0x4a34cc;return(_0x4a34cc=(_0x21eb2c=this['_socket'])==null?void 0x0:_0x21eb2c[_0x7febe2(0x4aa)])!=null?_0x4a34cc:null;}[_0x1000c0(0x36f)](){const _0x325f81=_0x1000c0;super[_0x325f81(0x36f)](),this[_0x325f81(0x338)][_0x325f81(0x117)](),this[_0x325f81(0x338)][_0x325f81(0x4b5)]();}['_onCombEvent'](_0x155e55){const _0x535909=_0x1000c0;_0x155e55[_0x535909(0x28c)]===_0x2f9f5b['JOIN']?this[_0x535909(0x2f5)](_0x155e55):_0x155e55[_0x535909(0x28c)]===_0x2f9f5b[_0x535909(0x2ff)]&&this[_0x535909(0x124)](_0x155e55);}[_0x1000c0(0x44c)](_0x2aaca3){const _0xb2e7e6=_0x1000c0;this[_0xb2e7e6(0x44d)][_0xb2e7e6(0x117)](0x1),_0x2aaca3[_0xb2e7e6(0x16a)]({'cmd':_0x2f9f5b[_0xb2e7e6(0x241)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x1000c0(0x2f5)](_0x4dbb65){const _0x71d0f=_0x1000c0;var _0x1b6f73;if(_0x4dbb65[_0x71d0f(0x418)]===_0x282d51[_0x71d0f(0x27d)]){this[_0x71d0f(0x4ca)][_0x71d0f(0x2eb)]({'type':_0x5063fc[_0x71d0f(0x3f4)][_0x71d0f(0x173)],'content':this['_localeService']['t']('session.room-full')}),this[_0x71d0f(0x44d)][_0x71d0f(0x117)](0x2);return;}this[_0x71d0f(0x44d)][_0x71d0f(0x117)](0x3);const _0x5c0f3a=(_0x1b6f73=_0x4dbb65[_0x71d0f(0x314)]['roomInfos'][this[_0x71d0f(0x2df)]])==null?void 0x0:_0x1b6f73['members'];_0x5c0f3a&&_0x5c0f3a['forEach'](_0x2c0483=>this[_0x71d0f(0x29e)][_0x71d0f(0x262)](this[_0x71d0f(0x2df)],_0x2c0483));}[_0x1000c0(0x124)](_0x12a4b3){const _0x1045b8=_0x1000c0;try{const _0x760ba4=_0x12a4b3[_0x1045b8(0x314)];switch(_0x760ba4[_0x1045b8(0x263)]){case _0x1f6364[_0x1045b8(0x159)][_0x1045b8(0x296)]:this[_0x1045b8(0x42a)](_0x760ba4),this[_0x1045b8(0x30c)][_0x1045b8(0x117)](_0x760ba4);break;case _0x1f6364['CollaborationEvent'][_0x1045b8(0x133)]:this[_0x1045b8(0x162)](_0x760ba4),this[_0x1045b8(0x30c)][_0x1045b8(0x117)](_0x760ba4);break;case _0x1f6364[_0x1045b8(0x159)][_0x1045b8(0x1d5)]:this[_0x1045b8(0x114)](),this[_0x1045b8(0x30c)][_0x1045b8(0x117)](_0x760ba4);break;case _0x1f6364[_0x1045b8(0x159)][_0x1045b8(0x18d)]:this[_0x1045b8(0x195)][_0x1045b8(0x343)](_0x1045b8(0x250)+JSON[_0x1045b8(0x199)](_0x760ba4)),this[_0x1045b8(0x30c)][_0x1045b8(0x117)](_0x760ba4);break;case _0x1f6364['CollaborationEvent'][_0x1045b8(0x331)]:this[_0x1045b8(0x318)][_0x1045b8(0x26d)](_0x760ba4[_0x1045b8(0x314)]),this[_0x1045b8(0x30c)]['next'](_0x760ba4);break;default:this[_0x1045b8(0x30c)][_0x1045b8(0x117)](_0x760ba4);}}catch(_0x4b6a40){this['_logService'][_0x1045b8(0x343)](_0x4b6a40,_0x12a4b3);}}[_0x1000c0(0x42a)](_0x31ce20){const _0x37289d=_0x1000c0;this['_memberService'][_0x37289d(0x262)](this[_0x37289d(0x2df)],_0x31ce20[_0x37289d(0x314)]);}[_0x1000c0(0x162)](_0x18a5f7){const _0x34dbe3=_0x1000c0;this[_0x34dbe3(0x29e)][_0x34dbe3(0x455)](this['_unitID'],_0x18a5f7[_0x34dbe3(0x314)][_0x34dbe3(0x4aa)]);}async[_0x1000c0(0x16a)](_0x5d226d,_0x20c219){const _0x5b35f8=_0x1000c0;if(this['sessionStatus']!==0x3||!this[_0x5b35f8(0x374)])throw new Error(_0x5b35f8(0x35e));try{_0x5d226d[_0x5b35f8(0x263)]===_0x1f6364['CollaborationEvent'][_0x5b35f8(0x274)]&&this[_0x5b35f8(0x16e)](),this['_socket'][_0x5b35f8(0x16a)]({'cmd':_0x2f9f5b[_0x5b35f8(0x139)],'routeKey':_0x20c219,'routeType':'','data':_0x5d226d});}catch(_0x151808){this[_0x5b35f8(0x195)][_0x5b35f8(0x343)](_0x151808);}}[_0x1000c0(0x16e)](){const _0x1ebbd1=_0x1000c0;var _0x249c71;this[_0x1ebbd1(0x30a)]=window[_0x1ebbd1(0x3c2)](()=>{const _0x1e1fb9=_0x1ebbd1;this['_collaborationTimeoutTimer']=null,this[_0x1e1fb9(0x4ca)]['show']({'type':_0x5063fc[_0x1e1fb9(0x3f4)][_0x1e1fb9(0x447)],'content':this['_localeService']['t'](_0x1e1fb9(0x4b4))});},(_0x249c71=this[_0x1ebbd1(0x230)][_0x1ebbd1(0x393)](_0x22e7f5))!=null?_0x249c71:0x2710);}['_clearCollaborationTimeoutTimer'](){const _0x479e67=_0x1000c0;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x479e67(0x30a)]),this[_0x479e67(0x30a)]=null);}},_0x322d5b[_0x1000c0(0x2f0)]=_0x3583d0([_0x5a7a3c(0x2,_0x592d59[_0x1000c0(0x1ef)]),_0x5a7a3c(0x3,_0x2c52d3[_0x1000c0(0x1dc)]),_0x5a7a3c(0x4,_0x2c52d3[_0x1000c0(0x411)]),_0x5a7a3c(0x5,_0x592d59[_0x1000c0(0x41f)]),_0x5a7a3c(0x6,_0x1ea985[_0x1000c0(0x368)](_0x592d59['LocaleService'])),_0x5a7a3c(0x7,_0x1ea985['Inject'](_0x2539c6)),_0x5a7a3c(0x8,_0x1ea985[_0x1000c0(0x368)](_0x3c2f54))],_0x322d5b['CollaborationSession']),_0x322d5b['CollaborationSessionService']=class extends _0x592d59[_0x1000c0(0x450)]{constructor(_0xa0e42f,_0x297663,_0x513f2a,_0x489465,_0x2e6506,_0x1e5d3f){const _0x61e6d8=_0x1000c0;super(),_0x40dfd7(this,_0x61e6d8(0x123),new _0x3c7a49[(_0x61e6d8(0x35f))](void 0x0)),_0x40dfd7(this,_0x61e6d8(0x417),new Map()),_0x40dfd7(this,_0x61e6d8(0x317),new _0x3c7a49[(_0x61e6d8(0x35f))](0x0)),_0x40dfd7(this,_0x61e6d8(0x3a0),this[_0x61e6d8(0x317)][_0x61e6d8(0x32c)]()),_0x40dfd7(this,_0x61e6d8(0x4a7),!0x1),_0x40dfd7(this,_0x61e6d8(0x18b)),_0x40dfd7(this,_0x61e6d8(0x2f7)),_0x40dfd7(this,'_retryConnectingTimer'),_0x40dfd7(this,_0x61e6d8(0x375),0x0),(this[_0x61e6d8(0x27f)]=_0xa0e42f,this[_0x61e6d8(0x2a1)]=_0x297663,this['_messageService']=_0x513f2a,this['_logService']=_0x489465,this[_0x61e6d8(0x230)]=_0x2e6506,this[_0x61e6d8(0x27b)]=_0x1e5d3f);}get['_socket'](){return this['_socket$']['getValue']();}['dispose'](){const _0x5a8a20=_0x1000c0;super[_0x5a8a20(0x36f)](),this[_0x5a8a20(0x417)][_0x5a8a20(0x24b)](_0x4ed91d=>_0x4ed91d[_0x5a8a20(0x36f)]()),this[_0x5a8a20(0x417)]['clear'](),this[_0x5a8a20(0x317)][_0x5a8a20(0x4b5)]();}async[_0x1000c0(0x1c2)](_0x3dd15c){const _0x1ac435=_0x1000c0;if(this['_sessions'][_0x1ac435(0x321)](_0x3dd15c))return this['_sessions']['get'](_0x3dd15c);this[_0x1ac435(0x495)]();const _0x3505df=this['_injector']['createInstance'](_0x322d5b[_0x1ac435(0x2f0)],_0x3dd15c,this['_socket$']['asObservable']());return this[_0x1ac435(0x417)][_0x1ac435(0x4c2)](_0x3dd15c,_0x3505df),_0x3505df;}[_0x1000c0(0x36c)](){const _0x1af4e5=_0x1000c0;var _0x362719;const _0x4026e9=(_0x362719=this[_0x1af4e5(0x230)]['getConfig'](_0x1ed340))!=null?_0x362719:_0x3a2870;return this[_0x1af4e5(0x27b)][_0x1af4e5(0x25d)](_0x4026e9);}[_0x1000c0(0x495)](){const _0x28c367=_0x1000c0;try{const _0x307d8f=this[_0x28c367(0x36c)]();if(_0x307d8f){const _0x20ecf9=_0x307d8f['send'];_0x307d8f[_0x28c367(0x16a)]=_0x2b4b23=>(this['_rescheduleHeartbeatEvent'](),_0x20ecf9[_0x28c367(0x3f2)](_0x307d8f,[_0x2b4b23])),_0x307d8f[_0x28c367(0x31f)][_0x28c367(0x42f)](_0x1bbeda=>this['_onMessage'](_0x307d8f,_0x1bbeda)),_0x307d8f[_0x28c367(0x3fb)][_0x28c367(0x161)](_0x39f29f[_0x28c367(0x13a)](0x1))['subscribe'](_0x19ab82=>this[_0x28c367(0x195)][_0x28c367(0x343)](_0x28c367(0x405),_0x19ab82)),_0x307d8f['open$'][_0x28c367(0x161)](_0x39f29f['take'](0x1))[_0x28c367(0x42f)](()=>{const _0x3462bd=_0x28c367;this[_0x3462bd(0x386)](_0x307d8f);}),_0x307d8f['close$'][_0x28c367(0x161)](_0x39f29f[_0x28c367(0x13a)](0x1))[_0x28c367(0x42f)](_0x2c4e9e=>{const _0x4a66e0=_0x28c367;this[_0x4a66e0(0x195)][_0x4a66e0(0x384)](_0x4a66e0(0x491),_0x4a66e0(0x41c),_0x2c4e9e),this[_0x4a66e0(0x357)]();});}}catch(_0x429764){this['_logService']['error'](_0x429764),this['_onConnectionFailed']();}}[_0x1000c0(0x386)](_0x228002){const _0x13d05e=_0x1000c0;this[_0x13d05e(0x195)][_0x13d05e(0x384)](_0x13d05e(0x491),_0x13d05e(0x336)),_0x228002[_0x13d05e(0x16a)]({'cmd':_0x2f9f5b['HELLO']}),this[_0x13d05e(0x373)]();}['_onConnectionFailed'](){const _0x1cdddf=_0x1000c0;var _0x40343f;this[_0x1cdddf(0x317)][_0x1cdddf(0x117)](0x2),this['_socket$']['next'](null),this[_0x1cdddf(0x428)](),this[_0x1cdddf(0x2f3)](),this[_0x1cdddf(0x4a7)]=!0x1,this[_0x1cdddf(0x375)]<((_0x40343f=this['_configService'][_0x1cdddf(0x393)](_0x966ced))!=null?_0x40343f:0x3)?(this[_0x1cdddf(0x3f9)](this[_0x1cdddf(0x375)]),this[_0x1cdddf(0x375)]+=0x1):this[_0x1cdddf(0x4ca)][_0x1cdddf(0x2eb)]({'type':_0x5063fc[_0x1cdddf(0x3f4)]['Error'],'content':this['_localeService']['t'](_0x1cdddf(0x28d))});}[_0x1000c0(0x3f9)](_0xf84315){const _0xacf2e6=_0x1000c0;var _0x310e0c;const _0x13a962=((_0x310e0c=this[_0xacf2e6(0x230)][_0xacf2e6(0x393)](_0x58522e))!=null?_0x310e0c:0x4e20)*0x2**_0xf84315;this[_0xacf2e6(0x4ca)]['show']({'type':_0x5063fc[_0xacf2e6(0x3f4)]['Warning'],'content':this[_0xacf2e6(0x2a1)]['t'](_0xacf2e6(0x4d7))}),this[_0xacf2e6(0x410)]=setTimeout(()=>{const _0xbdbf2a=_0xacf2e6;this['_tryEnsureSocket'](),clearTimeout(this[_0xbdbf2a(0x410)]),this['_retryConnectingTimer']=null;},_0x13a962);}['_rescheduleHeartbeatEvent'](){const _0x1fc3ee=_0x1000c0;var _0xf8c5c8;this[_0x1fc3ee(0x2f3)](),this[_0x1fc3ee(0x18b)]=setTimeout(()=>this['_sendHeartbeat'](),(_0xf8c5c8=this[_0x1fc3ee(0x230)][_0x1fc3ee(0x393)](_0x415ece))!=null?_0xf8c5c8:0x7530);}[_0x1000c0(0x10d)](){const _0x47d58f=_0x1000c0;this['_socket'][_0x47d58f(0x16a)]({'cmd':_0x2f9f5b[_0x47d58f(0x3a6)]}),this[_0x47d58f(0x102)]();}[_0x1000c0(0x102)](){const _0x385a3a=_0x1000c0;var _0x29ab23;this[_0x385a3a(0x2f7)]=setTimeout(()=>this[_0x385a3a(0x357)](),(_0x29ab23=this['_configService'][_0x385a3a(0x393)](_0x22e7f5))!=null?_0x29ab23:0x2710);}[_0x1000c0(0x2cc)](_0x3303de,_0x1b89c7){const _0x33e458=_0x1000c0,{cmd:_0x2d75bf}=_0x1b89c7;_0x2d75bf===_0x2f9f5b[_0x33e458(0x3a9)]&&!this[_0x33e458(0x4a7)]&&(_0x3303de['memberID']=_0x1b89c7[_0x33e458(0x314)][_0x33e458(0x4aa)],this[_0x33e458(0x123)][_0x33e458(0x117)](_0x3303de),this[_0x33e458(0x317)][_0x33e458(0x117)](0x3),this[_0x33e458(0x4a7)]=!0x0),_0x2d75bf===_0x2f9f5b[_0x33e458(0x3a6)]&&this[_0x33e458(0x428)](),this[_0x33e458(0x373)]();}[_0x1000c0(0x2f3)](){const _0x5d568d=_0x1000c0;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x5d568d(0x18b)]),this['_sendHeartbeatTimer']=null);}[_0x1000c0(0x428)](){const _0xd4cc98=_0x1000c0;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xd4cc98(0x2f7)]),this[_0xd4cc98(0x2f7)]=null);}},_0x322d5b[_0x1000c0(0x272)]=_0x3583d0([_0x5a7a3c(0x0,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x5a7a3c(0x1,_0x1ea985[_0x1000c0(0x368)](_0x592d59['LocaleService'])),_0x5a7a3c(0x2,_0x2c52d3[_0x1000c0(0x411)]),_0x5a7a3c(0x3,_0x592d59['ILogService']),_0x5a7a3c(0x4,_0x592d59[_0x1000c0(0x41f)]),_0x5a7a3c(0x5,_0x81d796)],_0x322d5b[_0x1000c0(0x272)]);var _0x15128c=Object[_0x1000c0(0x1a1)],_0x586e99=Object['getOwnPropertyDescriptor'],_0x5d7204=(_0x4a5a96,_0x5d5ece,_0x17b0d8,_0x170a34)=>{const _0x1f7309=_0x1000c0;for(var _0x1d4c64=_0x170a34>0x1?void 0x0:_0x170a34?_0x586e99(_0x5d5ece,_0x17b0d8):_0x5d5ece,_0x3a92e1=_0x4a5a96[_0x1f7309(0x1d8)]-0x1,_0x2d5dfd;_0x3a92e1>=0x0;_0x3a92e1--)(_0x2d5dfd=_0x4a5a96[_0x3a92e1])&&(_0x1d4c64=(_0x170a34?_0x2d5dfd(_0x5d5ece,_0x17b0d8,_0x1d4c64):_0x2d5dfd(_0x1d4c64))||_0x1d4c64);return _0x170a34&&_0x1d4c64&&_0x15128c(_0x5d5ece,_0x17b0d8,_0x1d4c64),_0x1d4c64;},_0x1bda07=(_0x3ce9dc,_0x5be1ff)=>(_0x26e46b,_0x11b1f2)=>_0x5be1ff(_0x26e46b,_0x11b1f2,_0x3ce9dc);_0x322d5b[_0x1000c0(0x24c)]=class extends _0x592d59['Disposable']{constructor(_0x397541,_0x4a8ecc,_0x1db94e,_0x3fd105,_0x5a7255){const _0x1df076=_0x1000c0;super(),_0x40dfd7(this,'_cachedData',new Map()),_0x40dfd7(this,_0x1df076(0x2ca),new Map()),_0x40dfd7(this,_0x1df076(0x28f),!0x1),(this[_0x1df076(0x230)]=_0x397541,this['_localStorageService']=_0x4a8ecc,this[_0x1df076(0x265)]=_0x1db94e,this[_0x1df076(0x2a1)]=_0x3fd105,this[_0x1df076(0x1e0)]=_0x5a7255,this['_setupBeforeClosingHandler']());}[_0x1000c0(0x3e8)](){const _0x4b0458=_0x1000c0;this[_0x4b0458(0x28f)]=!0x0;}[_0x1000c0(0x327)](){const _0x3ebed9=_0x1000c0;this[_0x3ebed9(0x28f)]=!0x1;}[_0x1000c0(0x36f)](){const _0x1a1832=_0x1000c0;this['_exhaustSavingTask']()[_0x1a1832(0x441)](()=>super[_0x1a1832(0x36f)]());}async[_0x1000c0(0x239)](_0xa42432){const _0x3de782=_0x1000c0;return this[_0x3de782(0x28f)]?null:this['_localStorageService'][_0x3de782(0x19d)](_0x2e8bda(_0xa42432));}async[_0x1000c0(0x456)](_0x105d5e,_0x4be2bd){return!!this['_localStorageService']['setItem'](_0x105d5e,_0x4be2bd);}[_0x1000c0(0x3cb)](_0x35f34e,_0x121d89,_0xfbd450,_0x4d1c97){const _0x159ffd=_0x1000c0,_0x4fb3f1=this[_0x159ffd(0x1e0)]['getCurrentRevForDocument'](_0x35f34e);this[_0x159ffd(0x1e3)][_0x159ffd(0x4c2)](_0x35f34e,{'unitID':_0x35f34e,'type':_0x121d89,'awaitingChangeset':_0xfbd450,'mutations':_0x4d1c97,'rev':_0x4fb3f1}),this[_0x159ffd(0x2ca)][_0x159ffd(0x321)](_0x35f34e)||this[_0x159ffd(0xfd)](_0x35f34e);}['_scheduleSaving'](_0x1ebde6){const _0x13d528=_0x1000c0,_0x5975c1=this[_0x13d528(0x366)]();_0x5975c1===0x0?this[_0x13d528(0x152)](_0x1ebde6):this[_0x13d528(0x2ca)][_0x13d528(0x4c2)](_0x1ebde6,setTimeout(()=>this[_0x13d528(0x152)](_0x1ebde6),_0x5975c1));}[_0x1000c0(0x366)](){const _0x24d9c7=_0x1000c0;var _0x53d52d;return(_0x53d52d=this[_0x24d9c7(0x230)][_0x24d9c7(0x393)](_0x5cb089))!=null?_0x53d52d:0x3e8;}[_0x1000c0(0x152)](_0x85107d){const _0x13d84e=_0x1000c0,_0x152462=this[_0x13d84e(0x2ca)][_0x13d84e(0x1de)](_0x85107d);return _0x152462!==void 0x0&&window[_0x13d84e(0x451)](_0x152462),this[_0x13d84e(0x218)][_0x13d84e(0x10b)](_0x2e8bda(_0x85107d),this[_0x13d84e(0x1e3)][_0x13d84e(0x1de)](_0x85107d))[_0x13d84e(0x441)](()=>this['_saveTaskMap']['delete'](_0x85107d));}async[_0x1000c0(0x31a)](){const _0x3bdfe2=_0x1000c0,_0x58bc81=[];this['_saveTaskMap'][_0x3bdfe2(0x24b)]((_0x2bc0d3,_0x5da740)=>{const _0x1c05d6=_0x3bdfe2;window[_0x1c05d6(0x451)](_0x2bc0d3),_0x58bc81[_0x1c05d6(0x1a6)](this[_0x1c05d6(0x152)](_0x5da740)['then'](()=>{const _0xf42207=_0x1c05d6;this[_0xf42207(0x2ca)]['delete'](_0x5da740);}));}),await Promise[_0x3bdfe2(0x3a5)](_0x58bc81);}[_0x1000c0(0x46b)](){const _0x514551=_0x1000c0;this['disposeWithMe'](this[_0x514551(0x265)][_0x514551(0x467)](()=>{const _0x478990=_0x514551;if(this['_saveTaskMap']['size'])return this[_0x478990(0x2a1)]['t'](_0x478990(0x408));}));}},_0x322d5b[_0x1000c0(0x24c)]=_0x5d7204([_0x1bda07(0x0,_0x592d59[_0x1000c0(0x41f)]),_0x1bda07(0x1,_0x592d59[_0x1000c0(0x17a)]),_0x1bda07(0x2,_0x2c52d3['IBeforeCloseService']),_0x1bda07(0x3,_0x1ea985['Inject'](_0x592d59[_0x1000c0(0x279)])),_0x1bda07(0x4,_0x1ea985[_0x1000c0(0x368)](_0x1f6364['RevisionService']))],_0x322d5b[_0x1000c0(0x24c)]);function _0x2e8bda(_0x290901){const _0xe4628d=_0x1000c0;return _0xe4628d(0x4d9)+_0x290901;}const _0x1572dd=_0x1ea985[_0x1000c0(0x13b)](_0x1000c0(0x240));var _0x23c43c=(_0x2d0cc6=>(_0x2d0cc6[_0x2d0cc6[_0x1000c0(0x46e)]=0x0]=_0x1000c0(0x46e),_0x2d0cc6[_0x2d0cc6['OTHER_CLIENTS_EDITING']=0x1]=_0x1000c0(0x105),_0x2d0cc6))(_0x23c43c||{});const _0x46cdfb=0x7530,_0x476b1a=_0x1000c0(0x2fe);class _0x24ef9a extends _0x592d59['Disposable']{constructor(){const _0x33e13c=_0x1000c0;super(),_0x40dfd7(this,_0x33e13c(0x425),_0x592d59['Tools']['generateRandomId']()),_0x40dfd7(this,_0x33e13c(0x286),new Set()),_0x40dfd7(this,_0x33e13c(0x1fb),new Map()),_0x40dfd7(this,'_heartbeatTimer',null),_0x40dfd7(this,_0x33e13c(0x226),new Map()),_0x40dfd7(this,_0x33e13c(0x25f),new Map()),this[_0x33e13c(0x224)]();}[_0x1000c0(0x36f)](){const _0x3f26a2=_0x1000c0;super[_0x3f26a2(0x36f)](),this[_0x3f26a2(0x226)][_0x3f26a2(0x24b)]((_0x43c05c,_0x2a1872)=>this[_0x3f26a2(0x1b1)](_0x2a1872)),this[_0x3f26a2(0x40a)]&&window[_0x3f26a2(0x2c9)](this[_0x3f26a2(0x40a)]);}[_0x1000c0(0x1a5)](_0x5d4afc){const _0x297a2a=_0x1000c0;return this[_0x297a2a(0x1f3)](_0x5d4afc)['pipe'](_0x3c7a49[_0x297a2a(0x1cf)]());}[_0x1000c0(0x4ac)](_0x125de8){const _0x2f2874=_0x1000c0;this['_selfUnitIDs'][_0x2f2874(0x237)]===0x0&&this[_0x2f2874(0x490)](),this[_0x2f2874(0x286)][_0x2f2874(0x290)](_0x125de8),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x125de8],'isForwarded':!0x1});}[_0x1000c0(0x2de)](_0x2db8e6){const _0x40f8c4=_0x1000c0;this[_0x40f8c4(0x286)][_0x40f8c4(0x234)](_0x2db8e6),this['_selfUnitIDs'][_0x40f8c4(0x237)]===0x0&&this['_heartbeatTimer']&&window[_0x40f8c4(0x2c9)](this[_0x40f8c4(0x40a)]);}[_0x1000c0(0x224)](){const _0x3ff6f6=_0x1000c0;this[_0x3ff6f6(0x215)](_0x592d59[_0x3ff6f6(0x29f)](_0x3c7a49[_0x3ff6f6(0x43a)](window,'storage')[_0x3ff6f6(0x42f)](_0x5befbc=>{const _0x34d850=_0x3ff6f6;if(_0x5befbc['key']!==_0x476b1a||!_0x5befbc[_0x34d850(0x39c)])return;const _0x3253ac=JSON[_0x34d850(0x281)](_0x5befbc[_0x34d850(0x39c)]);this[_0x34d850(0x352)](_0x3253ac);}))),window[_0x3ff6f6(0x46c)](_0x3ff6f6(0x182),()=>this['_send']({'type':0x1,'memberID':this[_0x3ff6f6(0x425)],'unitIDs':Array[_0x3ff6f6(0x485)](this[_0x3ff6f6(0x286)])}));}[_0x1000c0(0x352)](_0x29c763){const _0x20a233=_0x1000c0;switch(_0x29c763[_0x20a233(0x49b)]){case 0x0:this['_handleJoinEvent'](_0x29c763);break;case 0x1:this[_0x20a233(0x2ef)](_0x29c763);break;case 0x2:this[_0x20a233(0x252)](_0x29c763);break;}}[_0x1000c0(0x2b3)](_0xce7531){const _0x4818b9=_0x1000c0,{unitIDs:_0x529d8e,memberID:_0xe6d3c5,isForwarded:_0x406d72}=_0xce7531;_0x529d8e['forEach'](_0x53d0e4=>{const _0x362973=_0x492d;if(!_0x406d72&&this[_0x362973(0x1fb)][_0x362973(0x321)](_0x53d0e4)&&this[_0x362973(0x1f3)](_0x53d0e4)[_0x362973(0x117)](0x1),!this[_0x362973(0x1fb)][_0x362973(0x321)](_0x53d0e4)||!this[_0x362973(0x1fb)][_0x362973(0x1de)](_0x53d0e4)[_0x362973(0x321)](_0xe6d3c5)){const _0x53c1b1=this['_unitOnClients'][_0x362973(0x1de)](_0x53d0e4)||new Set();_0x53c1b1[_0x362973(0x290)](_0xe6d3c5),this['_unitOnClients'][_0x362973(0x4c2)](_0x53d0e4,_0x53c1b1),this[_0x362973(0x2ab)](_0xe6d3c5);}}),_0x406d72||this['_send']({'type':0x0,'memberID':this[_0x4818b9(0x425)],'unitIDs':[...this[_0x4818b9(0x286)]],'isForwarded':!0x0});}[_0x1000c0(0x2ab)](_0x54c13c){const _0x1ad75f=_0x1000c0;this['_removeClearOtherTimer'](_0x54c13c);const _0x2a2bd4=window['setTimeout'](()=>{const _0x5ed504=_0x492d;this[_0x5ed504(0x1fb)]['forEach'](_0x21f7de=>{const _0x40024f=_0x5ed504;_0x21f7de[_0x40024f(0x234)](_0x54c13c);});},_0x46cdfb*0x2);this[_0x1ad75f(0x226)]['set'](_0x54c13c,_0x2a2bd4);}['_removeClearOtherTimer'](_0x5650db){const _0x27669f=_0x1000c0;if(this['_clearOtherTimers'][_0x27669f(0x321)](_0x5650db)){const _0xf1831b=this[_0x27669f(0x226)]['get'](_0x5650db);_0xf1831b&&window['clearTimeout'](_0xf1831b),this['_clearOtherTimers'][_0x27669f(0x4c2)](_0x5650db,null);}}[_0x1000c0(0x2ef)](_0x1bd5e5){const _0xbae0fc=_0x1000c0,{memberID:_0x4826e8,unitIDs:_0x4cb7b0}=_0x1bd5e5;_0x4cb7b0[_0xbae0fc(0x24b)](_0x39b783=>{const _0x42d6d6=_0xbae0fc;var _0x4d7e62;const _0x170a4c=this[_0x42d6d6(0x1fb)]['get'](_0x39b783);_0x170a4c&&(_0x170a4c[_0x42d6d6(0x234)](_0x4826e8),(_0x4d7e62=this[_0x42d6d6(0x1f3)](_0x39b783))==null||_0x4d7e62[_0x42d6d6(0x117)](_0x170a4c[_0x42d6d6(0x237)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x4826e8);}[_0x1000c0(0x252)](_0x2e9d2b){const _0x5b1dc8=_0x1000c0;this[_0x5b1dc8(0x2ab)](_0x2e9d2b[_0x5b1dc8(0x4aa)]);}[_0x1000c0(0x2b0)](_0x203e8a){const _0x2f1ca0=_0x1000c0;localStorage[_0x2f1ca0(0x10b)](_0x476b1a,JSON[_0x2f1ca0(0x199)](_0x203e8a));}[_0x1000c0(0x490)](){const _0x10a915=_0x1000c0;this[_0x10a915(0x40a)]=window[_0x10a915(0x232)](()=>{const _0x4eae39=_0x10a915;this[_0x4eae39(0x2b0)]({'type':0x2,'memberID':this[_0x4eae39(0x425)]});},_0x46cdfb);}[_0x1000c0(0x1f3)](_0x36ff1d){const _0x310f61=_0x1000c0;return this[_0x310f61(0x25f)][_0x310f61(0x321)](_0x36ff1d)||this[_0x310f61(0x25f)][_0x310f61(0x4c2)](_0x36ff1d,new _0x3c7a49[(_0x310f61(0x35f))](0x0)),this[_0x310f61(0x25f)][_0x310f61(0x1de)](_0x36ff1d);}}var _0x140eab=Object['defineProperty'],_0x4843fb=Object[_0x1000c0(0x2d4)],_0x1ffda1=(_0x3660cd,_0x50de7e,_0x4108de,_0x4e6f47)=>{const _0x235f36=_0x1000c0;for(var _0x6e54ab=_0x4e6f47>0x1?void 0x0:_0x4e6f47?_0x4843fb(_0x50de7e,_0x4108de):_0x50de7e,_0x597373=_0x3660cd[_0x235f36(0x1d8)]-0x1,_0x5164ec;_0x597373>=0x0;_0x597373--)(_0x5164ec=_0x3660cd[_0x597373])&&(_0x6e54ab=(_0x4e6f47?_0x5164ec(_0x50de7e,_0x4108de,_0x6e54ab):_0x5164ec(_0x6e54ab))||_0x6e54ab);return _0x4e6f47&&_0x6e54ab&&_0x140eab(_0x50de7e,_0x4108de,_0x6e54ab),_0x6e54ab;},_0x3afcaf=(_0x12e9ee,_0x37e4bd)=>(_0x5207f2,_0x1f5535)=>_0x37e4bd(_0x5207f2,_0x1f5535,_0x12e9ee);let _0x38f511=class{constructor(_0x56a252,_0x6e38d0){const _0x41dcc1=_0x1000c0;this['_injector']=_0x56a252,this[_0x41dcc1(0x258)]=_0x6e38d0;}['transformIMECache'](_0x354de5){const _0x16be5b=_0x1000c0;this[_0x16be5b(0x13f)](_0x354de5),this[_0x16be5b(0x20c)](_0x354de5);}[_0x1000c0(0x322)](_0x5df327){const _0x173375=_0x1000c0,_0x3251c0=this[_0x173375(0x27f)][_0x173375(0x1de)](_0x30cc49[_0x173375(0x33e)]),{redoCache:_0x24107b}=_0x3251c0[_0x173375(0x326)]();if(_0x24107b[_0x173375(0x1d8)]===0x0)return _0x5df327;let _0x1b706c=_0x592d59[_0x173375(0x33a)][_0x173375(0x2c5)](_0x5df327[_0x173375(0x122)][0x0]);for(let _0x567ad1=0x0;_0x567ad1<_0x24107b[_0x173375(0x1d8)];_0x567ad1++){const _0x22f4bf={'id':_0x173375(0x236),'params':{..._0x24107b[_0x567ad1]}},_0x119652=this[_0x173375(0x258)][_0x173375(0x2aa)](_0x1b706c,_0x22f4bf,!0x1);if(_0x1f6364[_0x173375(0x423)](_0x119652))throw _0x119652[_0x173375(0x343)];_0x1b706c=_0x119652[_0x173375(0x49c)];}return{..._0x592d59[_0x173375(0x33a)][_0x173375(0x2c5)](_0x5df327),'mutations':[_0x1b706c]};}[_0x1000c0(0x13f)](_0x15389e){const _0x30f44f=_0x1000c0,_0x4225f8=this[_0x30f44f(0x27f)]['get'](_0x30cc49[_0x30f44f(0x33e)]),{undoCache:_0x1192d7,redoCache:_0x4c198f}=_0x4225f8['getUndoRedoMutationParamsCache']();if(_0x1192d7['length']===0x0||_0x4c198f[_0x30f44f(0x1d8)]===0x0)return;const _0x28ac2f=[],_0x235fe3=[];let _0x5523f0=_0x592d59[_0x30f44f(0x33a)]['deepClone'](_0x15389e[_0x30f44f(0x122)][0x0]),_0x4b6f97=_0x592d59['Tools'][_0x30f44f(0x2c5)](_0x15389e[_0x30f44f(0x122)][0x0]);for(let _0x28b8b6=_0x1192d7[_0x30f44f(0x1d8)]-0x1;_0x28b8b6>=0x0;_0x28b8b6--){const _0x158061={'id':'doc.mutation.rich-text-editing','params':{..._0x1192d7[_0x28b8b6]}},_0x1715e5={'id':_0x30f44f(0x236),'params':{..._0x4c198f[_0x28b8b6]}},_0x3e940a=this[_0x30f44f(0x258)][_0x30f44f(0x2aa)](_0x5523f0,_0x158061,!0x1),_0x307369=this[_0x30f44f(0x258)][_0x30f44f(0x2aa)](_0x4b6f97,_0x1715e5,!0x1);if(_0x1f6364[_0x30f44f(0x423)](_0x3e940a))throw _0x3e940a[_0x30f44f(0x343)];if(_0x1f6364['isTransformMutationFailure'](_0x307369))throw _0x307369['error'];_0x28ac2f[_0x30f44f(0x143)](_0x3e940a['m2Prime']['params']),_0x235fe3['unshift'](_0x307369[_0x30f44f(0x315)]['params']),_0x5523f0=_0x3e940a[_0x30f44f(0x49c)],_0x4b6f97=_0x307369['m1Prime'];}_0x4225f8['setUndoRedoMutationParamsCache']({'undoCache':_0x28ac2f,'redoCache':_0x235fe3});}['_transformPreviousActiveRange'](_0x563e7e){const _0x29f50d=_0x1000c0,_0x2ac030=this[_0x29f50d(0x27f)][_0x29f50d(0x1de)](_0x30cc49[_0x29f50d(0x33e)]),_0x91ee17=_0x2ac030[_0x29f50d(0x4d2)]();if(_0x91ee17==null)return;const _0x34e5aa=[{'id':_0x29f50d(0x236),'params':{'unitId':_0x563e7e[_0x29f50d(0x10f)],'actions':null,'textRanges':[_0x91ee17]}}],_0x5afd69=this[_0x29f50d(0x258)]['transformMutationsWithChangeset'](_0x563e7e,_0x34e5aa);if(!_0x1f6364[_0x29f50d(0x180)](_0x5afd69))throw _0x5afd69['error'];const _0x203f22=_0x5afd69[_0x29f50d(0x315)][0x0]['params'][_0x29f50d(0x235)];Array['isArray'](_0x203f22)&&_0x203f22[_0x29f50d(0x1d8)]&&_0x2ac030[_0x29f50d(0x2e6)](_0x203f22[0x0]);}};_0x38f511=_0x1ffda1([_0x3afcaf(0x0,_0x1ea985[_0x1000c0(0x368)](_0x1ea985['Injector'])),_0x3afcaf(0x1,_0x1f6364[_0x1000c0(0x34e)])],_0x38f511);var _0x3dcc55=Object[_0x1000c0(0x1a1)],_0x230db0=Object['getOwnPropertyDescriptor'],_0x1d0709=(_0x1459b0,_0xf69e,_0x3d3a52,_0x49f557)=>{const _0x3262eb=_0x1000c0;for(var _0x2da2d6=_0x49f557>0x1?void 0x0:_0x49f557?_0x230db0(_0xf69e,_0x3d3a52):_0xf69e,_0x37297a=_0x1459b0[_0x3262eb(0x1d8)]-0x1,_0x29f5cd;_0x37297a>=0x0;_0x37297a--)(_0x29f5cd=_0x1459b0[_0x37297a])&&(_0x2da2d6=(_0x49f557?_0x29f5cd(_0xf69e,_0x3d3a52,_0x2da2d6):_0x29f5cd(_0x2da2d6))||_0x2da2d6);return _0x49f557&&_0x2da2d6&&_0x3dcc55(_0xf69e,_0x3d3a52,_0x2da2d6),_0x2da2d6;},_0x2c7322=(_0x297b78,_0x5c972b)=>(_0x480454,_0x4c202b)=>_0x5c972b(_0x480454,_0x4c202b,_0x297b78);let _0x12dda8=class{constructor(_0x38bbb4,_0x4a553f){const _0x413151=_0x1000c0;this[_0x413151(0x27f)]=_0x38bbb4,this[_0x413151(0x258)]=_0x4a553f;}[_0x1000c0(0x205)](_0x2b782b){const _0x17bdf6=_0x1000c0;var _0x3ada16;const _0x53bbc3=this[_0x17bdf6(0x27f)][_0x17bdf6(0x1de)](_0x30cc49[_0x17bdf6(0x4c0)]),_0x4bd46e=(_0x3ada16=_0x53bbc3[_0x17bdf6(0x3bb)]())!=null?_0x3ada16:[],_0x5905f7=_0x4bd46e==null?void 0x0:_0x4bd46e[_0x17bdf6(0x1f5)](_0x30cc49[_0x17bdf6(0x174)]);if(_0x5905f7[_0x17bdf6(0x1d8)]===0x0)return;const _0x11c7f5=[{'id':_0x17bdf6(0x236),'params':{'unitId':_0x2b782b[_0x17bdf6(0x10f)],'actions':null,'textRanges':_0x5905f7}}],_0x5b58d7=this['_transformService'][_0x17bdf6(0x436)](_0x2b782b,_0x11c7f5);if(!_0x1f6364[_0x17bdf6(0x180)](_0x5b58d7))throw _0x5b58d7['error'];const _0x2070e6=_0x5b58d7[_0x17bdf6(0x315)][0x0][_0x17bdf6(0x1ec)][_0x17bdf6(0x235)];Array[_0x17bdf6(0x40e)](_0x2070e6)&&_0x2070e6['length']&&_0x53bbc3['replaceTextRanges'](_0x2070e6,!0x1);}};_0x12dda8=_0x1d0709([_0x2c7322(0x0,_0x1ea985[_0x1000c0(0x368)](_0x1ea985['Injector'])),_0x2c7322(0x1,_0x1f6364[_0x1000c0(0x34e)])],_0x12dda8);function _0x3da729(_0x37b072){const _0x332531=_0x1000c0;let _0x10a22f='';for(const _0x36af01 of _0x37b072){const {startOffset:_0x1c3c71,endOffset:_0x34d05d,isActive:_0x5df780}=_0x36af01;_0x10a22f[_0x332531(0x1d8)]&&(_0x10a22f+=','),_0x10a22f+=_0x1c3c71+':'+_0x34d05d+':'+(_0x5df780?'1':'0');}return _0x10a22f;}function _0x23b46f(_0x11dc22){const _0x5d86ac=_0x1000c0,_0x16535b=_0x11dc22[_0x5d86ac(0x486)](','),_0x446423=[];for(const _0x4c3e61 of _0x16535b){const [_0x2f6959,_0x16f268,_0x5c5843]=_0x4c3e61[_0x5d86ac(0x486)](':');_0x446423[_0x5d86ac(0x1a6)]({'startOffset':Number(_0x2f6959),'endOffset':Number(_0x16f268),'collapsed':_0x2f6959===_0x16f268,'isActive':_0x5c5843==='1'});}return _0x446423[_0x5d86ac(0x398)](_0x2ec8c8=>_0x2ec8c8['isActive'])||(_0x446423[0x0][_0x5d86ac(0x14b)]=!0x0),_0x446423;}class _0x148177 extends _0x592d59[_0x1000c0(0x2cd)]{constructor(){const _0x22689e=_0x1000c0;super(...arguments),_0x40dfd7(this,_0x22689e(0x38e),new _0x3c7a49['BehaviorSubject'](null)),_0x40dfd7(this,_0x22689e(0x479),this[_0x22689e(0x38e)][_0x22689e(0x32c)]());}[_0x1000c0(0x43f)](_0x1bef06){const _0xf247fa=_0x1000c0,{unitID:_0x5b2c83,memberID:_0x931747,textRanges:_0x2d49f5}=_0x1bef06,_0x162535=_0x3da729(_0x2d49f5),_0x3ff60e={'unitID':_0x5b2c83,'memberID':_0x931747,'selection':_0x162535};this[_0xf247fa(0x38e)]['next'](_0x3ff60e);}}var _0x50f139=Object[_0x1000c0(0x1a1)],_0x3f7f93=Object[_0x1000c0(0x2d4)],_0x1a2bda=(_0x125f93,_0x5aafce,_0x3ab827,_0x157570)=>{for(var _0x248525=_0x157570>0x1?void 0x0:_0x157570?_0x3f7f93(_0x5aafce,_0x3ab827):_0x5aafce,_0x4ba1cb=_0x125f93['length']-0x1,_0x59d54d;_0x4ba1cb>=0x0;_0x4ba1cb--)(_0x59d54d=_0x125f93[_0x4ba1cb])&&(_0x248525=(_0x157570?_0x59d54d(_0x5aafce,_0x3ab827,_0x248525):_0x59d54d(_0x248525))||_0x248525);return _0x157570&&_0x248525&&_0x50f139(_0x5aafce,_0x3ab827,_0x248525),_0x248525;},_0x5d52cf=(_0x49050f,_0x52bf70)=>(_0x5a3f03,_0x2577db)=>_0x52bf70(_0x5a3f03,_0x2577db,_0x49050f);let _0x20fcca=class{constructor(_0x3ad0b0,_0x34f7ab){const _0x1a6ca5=_0x1000c0;this[_0x1a6ca5(0x27f)]=_0x3ad0b0,this['_transformService']=_0x34f7ab;}['transformSelections'](_0x84a932){const _0x4813a6=_0x1000c0;var _0x334c83,_0x54d2fb,_0x4b43bc,_0x217b64;const _0x294cb3=this[_0x4813a6(0x27f)]['get'](_0x5e4af3[_0x4813a6(0x471)]),{pluginName:_0x4d7d8d,unitId:_0x56464b,sheetId:_0x5b4c76}=_0x294cb3['getCurrent']()||{},_0x7bf24a=(_0x334c83=_0x294cb3[_0x4813a6(0x3bb)]())!=null?_0x334c83:[];if(_0x7bf24a[_0x4813a6(0x1d8)]===0x0||!_0x4d7d8d||!_0x56464b||!_0x5b4c76)return;const _0x4fb0e4=[{'id':_0x5e4af3[_0x4813a6(0x4b6)]['id'],'params':{'unitId':_0x56464b,'subUnitId':_0x5b4c76,'pluginName':_0x4d7d8d,'selections':_0x592d59['Tools'][_0x4813a6(0x2c5)](_0x7bf24a)}}],_0x5664cc=this[_0x4813a6(0x258)][_0x4813a6(0x436)](_0x84a932,_0x4fb0e4);if(!_0x1f6364['isTransformMutationsWithChangesetSuccess'](_0x5664cc))throw _0x5664cc['error'];const _0x595940=(_0x217b64=(_0x4b43bc=(_0x54d2fb=_0x5664cc[_0x4813a6(0x315)][0x0])==null?void 0x0:_0x54d2fb[_0x4813a6(0x1ec)])==null?void 0x0:_0x4b43bc['selections'])!=null?_0x217b64:_0x7bf24a;Array[_0x4813a6(0x40e)](_0x595940)&&_0x595940[_0x4813a6(0x1d8)]&&this[_0x4813a6(0x27f)][_0x4813a6(0x1de)](_0x592d59[_0x4813a6(0x131)])[_0x4813a6(0x19e)](_0x5e4af3[_0x4813a6(0x4b6)]['id'],{'unitId':_0x56464b,'subUnitId':_0x5b4c76,'pluginName':_0x4d7d8d,'selections':_0x595940});}};_0x20fcca=_0x1a2bda([_0x5d52cf(0x0,_0x1ea985[_0x1000c0(0x368)](_0x1ea985['Injector'])),_0x5d52cf(0x1,_0x1f6364[_0x1000c0(0x34e)])],_0x20fcca);const _0x4cc48b=new Set([_0x5e4af3[_0x1000c0(0x437)]['id']]);function _0x1922ea(_0x4ba381,_0x75ce86,_0xd0eff6,_0x1d3ecf,_0x5411ec){const _0x107cbf=_0x1000c0;var _0x56d664,_0x14e30d,_0x418689,_0x3dddb1;const _0x17e081=[];for(const _0x37995b of _0x4ba381)if(_0x4cc48b[_0x107cbf(0x321)](_0x37995b['id'])){if(_0x17e081[_0x107cbf(0x1d8)]>0x0)break;_0x17e081[_0x107cbf(0x1a6)](_0x37995b);break;}else _0x17e081[_0x107cbf(0x1a6)](_0x37995b);const _0x9a9239=(_0x14e30d=(_0x56d664=_0x5411ec[_0x107cbf(0x277)]())==null?void 0x0:_0x56d664[_0x107cbf(0x288)])!=null?_0x14e30d:'unknown',_0x49a774=(_0x3dddb1=(_0x418689=_0x5411ec[_0x107cbf(0x277)]())==null?void 0x0:_0x418689[_0x107cbf(0x4aa)])!=null?_0x3dddb1:_0x107cbf(0x1f2);return{'changeset':{'unitID':_0x75ce86,'type':_0x1f6364[_0x107cbf(0x47e)](_0xd0eff6[_0x107cbf(0x220)](_0x75ce86)),'baseRev':_0x1d3ecf[_0x107cbf(0x335)](_0x75ce86),'revision':0x0,'userID':_0x9a9239,'memberID':_0x49a774,'mutations':_0x17e081},'pendingMutations':_0x4ba381[_0x107cbf(0x440)](_0x17e081[_0x107cbf(0x1d8)])};}function _0x3250b9(_0x5bea72,_0x47a807,_0x5eff48,_0x2318b2,_0x40515a){const _0x372f40=_0x1000c0;var _0x5a23b0,_0x56ae9d,_0x46f86e,_0x475af9;const _0x400d65=[_0x5bea72['reduce']((_0x5d792d,_0x22ddf5)=>{const _0x30154d=_0x492d;var _0x56bc4f;const {id:_0x374eb1}=_0x5d792d,{id:_0x352789,type:_0x6d0388}=_0x22ddf5,_0xb92875=(_0x56bc4f=_0x5d792d['params'])!=null?_0x56bc4f:{'actions':null},_0x5b7bda=_0x22ddf5[_0x30154d(0x1ec)];if(_0x374eb1&&_0x374eb1!==_0x352789)throw new Error(_0x30154d(0x424)+_0x374eb1+'\x20-\x20'+_0x352789+'.');return{..._0x5d792d,'id':_0x352789,'type':_0x6d0388,'params':{'unitId':_0x5b7bda[_0x30154d(0x29b)],'textRanges':_0x5b7bda[_0x30154d(0x235)],'actions':_0x592d59['JSONX']['compose'](_0xb92875['actions'],_0x5b7bda[_0x30154d(0x24f)])}};},{})],_0x468f46=(_0x56ae9d=(_0x5a23b0=_0x40515a['getCurrentUser']())==null?void 0x0:_0x5a23b0[_0x372f40(0x288)])!=null?_0x56ae9d:_0x372f40(0x1f2),_0x2cc85=(_0x475af9=(_0x46f86e=_0x40515a['getCurrentUser']())==null?void 0x0:_0x46f86e[_0x372f40(0x4aa)])!=null?_0x475af9:_0x372f40(0x1f2);return{'changeset':{'unitID':_0x47a807,'type':_0x1f6364['mapDocumentTypeToUniverType'](_0x5eff48[_0x372f40(0x220)](_0x47a807)),'baseRev':_0x2318b2[_0x372f40(0x335)](_0x47a807),'revision':0x0,'userID':_0x468f46,'memberID':_0x2cc85,'mutations':_0x400d65},'pendingMutations':[]};}var _0x53dcec=Object[_0x1000c0(0x1a1)],_0x2673bd=Object[_0x1000c0(0x2d4)],_0x6e6839=(_0xa46667,_0x10c588,_0x3ea3ff,_0x50a472)=>{const _0x338ad9=_0x1000c0;for(var _0x5e1406=_0x50a472>0x1?void 0x0:_0x50a472?_0x2673bd(_0x10c588,_0x3ea3ff):_0x10c588,_0x1fe142=_0xa46667[_0x338ad9(0x1d8)]-0x1,_0x158c61;_0x1fe142>=0x0;_0x1fe142--)(_0x158c61=_0xa46667[_0x1fe142])&&(_0x5e1406=(_0x50a472?_0x158c61(_0x10c588,_0x3ea3ff,_0x5e1406):_0x158c61(_0x5e1406))||_0x5e1406);return _0x50a472&&_0x5e1406&&_0x53dcec(_0x10c588,_0x3ea3ff,_0x5e1406),_0x5e1406;},_0x519360=(_0x73930,_0x1afdc2)=>(_0x21515f,_0x26938a)=>_0x1afdc2(_0x21515f,_0x26938a,_0x73930),_0x3e6f91=(_0x5644ed=>(_0x5644ed[_0x1000c0(0x3c9)]='not_collab',_0x5644ed['SYNCED']='synced',_0x5644ed[_0x1000c0(0x47c)]=_0x1000c0(0x2d6),_0x5644ed[_0x1000c0(0x356)]=_0x1000c0(0x38d),_0x5644ed[_0x1000c0(0x227)]=_0x1000c0(0x390),_0x5644ed[_0x1000c0(0x156)]=_0x1000c0(0x46d),_0x5644ed[_0x1000c0(0x25e)]='conflict',_0x5644ed[_0x1000c0(0x4a5)]='offline',_0x5644ed))(_0x3e6f91||{});class _0x1c822e{constructor(_0x50f153,_0x5f271a,_0x51eff2,_0x4186d9,_0x5bb476,_0x41c51a,_0x400821,_0x77d96b,_0x21f3df){const _0x4d3f11=_0x1000c0;_0x40dfd7(this,_0x4d3f11(0x233),null),_0x40dfd7(this,_0x4d3f11(0x12c),[]),(this['unitID']=_0x50f153,this['type']=_0x5f271a,this[_0x4d3f11(0x2c7)]=_0x5bb476,this[_0x4d3f11(0x401)]=_0x41c51a,this['_undoRedoService']=_0x400821,this[_0x4d3f11(0x1e0)]=_0x77d96b,this[_0x4d3f11(0x140)]=_0x21f3df,this[_0x4d3f11(0x233)]=_0x51eff2,this[_0x4d3f11(0x12c)]=_0x4186d9);}['_checkMissing'](_0x5b1117){const _0x47a12d=_0x1000c0,_0x293301=this['_revisionService'][_0x47a12d(0x335)](this[_0x47a12d(0x10f)]);return _0x5b1117[_0x47a12d(0x2bd)]>_0x293301+0x1?(this[_0x47a12d(0x2c7)][_0x47a12d(0x323)]({'from':_0x293301,'to':_0x5b1117['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x29a30d){const _0x589960=_0x1000c0;this[_0x589960(0x211)][_0x589960(0x382)](this[_0x589960(0x10f)],_0x29a30d);}[_0x1000c0(0x196)](_0x1f41be){const _0x473eee=_0x1000c0;var _0x1cdbc2,_0x5c2b17;(_0x5c2b17=(_0x1cdbc2=this[_0x473eee(0x2c7)])[_0x473eee(0x350)])==null||_0x5c2b17['call'](_0x1cdbc2,_0x1f41be);}[_0x1000c0(0x3c7)](_0x1cc3f4){const _0x86434e=_0x1000c0;var _0x203f85,_0x4f03d7;return(_0x4f03d7=(_0x203f85=this[_0x86434e(0x2c7)])[_0x86434e(0x19a)])==null?void 0x0:_0x4f03d7['call'](_0x203f85,_0x1cc3f4);}[_0x1000c0(0x4b7)](_0xb5828f){const _0x2e22af=_0x1000c0;var _0x42eef7,_0x378727,_0x1db9be;return(_0x1db9be=(_0x378727=(_0x42eef7=this[_0x2e22af(0x2c7)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x378727[_0x2e22af(0x266)](_0x42eef7,_0xb5828f))!=null?_0x1db9be:_0xb5828f;}[_0x1000c0(0x2c4)](_0x1a4102){const _0x2511e6=_0x1000c0;var _0x3bcf09,_0x1e68ba;if(this[_0x2511e6(0x49b)]===_0x376736[_0x2511e6(0x119)]){const {unitID:_0x20afaa,mutations:_0x53590e,memberID:_0xc3b306}=_0x1a4102,_0x4c47f0=_0x53590e[0x0][_0x2511e6(0x1ec)][_0x2511e6(0x235)];Array['isArray'](_0x4c47f0)&&_0x4c47f0['length']>0x0&&((_0x1e68ba=(_0x3bcf09=this[_0x2511e6(0x2c7)])[_0x2511e6(0x289)])==null||_0x1e68ba[_0x2511e6(0x266)](_0x3bcf09,{'unitID':_0x20afaa,'memberID':_0xc3b306,'textRanges':_0x4c47f0}));}}['_updateLocalCache'](){const _0x28908=_0x1000c0;this['_localCacheService'][_0x28908(0x3cb)](this[_0x28908(0x10f)],this[_0x28908(0x49b)],this[_0x28908(0x233)],this[_0x28908(0x12c)]);}[_0x1000c0(0x1e2)](){const _0x56d12a=_0x1000c0;return this[_0x56d12a(0x1e0)][_0x56d12a(0x335)](this[_0x56d12a(0x10f)]);}[_0x1000c0(0x206)](){const _0x24f3ba=_0x1000c0;this[_0x24f3ba(0x1e0)][_0x24f3ba(0x360)](this['unitID']);}[_0x1000c0(0x189)](_0x75ae3){const _0x278ae4=_0x1000c0;var _0x3edc61;const _0xce29b6=this[_0x278ae4(0x4b7)](_0x75ae3),_0x3b3ca3=_0x592d59[_0x278ae4(0x168)](_0xce29b6[_0x278ae4(0x122)],this[_0x278ae4(0x401)],{'fromCollab':!0x0});if(!_0x3b3ca3[_0x278ae4(0x170)])throw _0x3b3ca3['error']instanceof Error?_0x3b3ca3['error']:new Error((_0x3edc61=_0x3b3ca3['error'])!=null?_0x3edc61:_0x278ae4(0x21f));this['_transformIMECache'](_0xce29b6),this[_0x278ae4(0x185)](_0x75ae3),this[_0x278ae4(0x196)](_0xce29b6),this[_0x278ae4(0x2c4)](_0xce29b6),this[_0x278ae4(0x206)]();}}let _0x2db095=class extends _0x1c822e{constructor(_0x336ab5,_0x35a218,_0x3902fb,_0x30f985,_0x1a5e25,_0x5bcef8,_0x5de8d8,_0x33a324,_0x451c68){const _0x49dd69=_0x1000c0;super(_0x336ab5,_0x35a218,null,[],_0x3902fb,_0x33a324,_0x5de8d8,_0x30f985,_0x1a5e25),_0x40dfd7(this,'status',_0x49dd69(0x4cb)),(this[_0x49dd69(0x27f)]=_0x5bcef8,this[_0x49dd69(0x195)]=_0x451c68);}[_0x1000c0(0x107)](_0x1276e2){const _0x1e3ecc=_0x1000c0,_0xa82cb1=this[_0x1e3ecc(0x27f)]['createInstance'](_0x43333f,this[_0x1e3ecc(0x10f)],this[_0x1e3ecc(0x49b)],[_0x1276e2],this[_0x1e3ecc(0x2c7)]);return _0xa82cb1[_0x1e3ecc(0x32e)](),_0xa82cb1[_0x1e3ecc(0x41b)](),_0xa82cb1;}['onRemoteChangeset'](_0x4ea67b){const _0x1f52c3=_0x1000c0;if(this[_0x1f52c3(0x24a)](_0x4ea67b))return this[_0x1f52c3(0x27f)][_0x1f52c3(0x134)](_0x1b8aa3,this[_0x1f52c3(0x10f)],this[_0x1f52c3(0x49b)],null,[],null,[_0x4ea67b],this[_0x1f52c3(0x2c7)]);try{return this[_0x1f52c3(0x189)](_0x4ea67b),this;}catch(_0x4bef9f){return this[_0x1f52c3(0x195)]['error'](_0x1f52c3(0x320),_0x4bef9f),this;}}[_0x1000c0(0x246)](){const _0x56aa27=_0x1000c0;throw new Error(_0x56aa27(0x22c));}[_0x1000c0(0x2f6)](){const _0x468da1=_0x1000c0;throw new Error(_0x468da1(0x1b9));}[_0x1000c0(0x130)](){const _0x2c8ec7=_0x1000c0;return this[_0x2c8ec7(0x27f)][_0x2c8ec7(0x134)](_0x2e26d4,this[_0x2c8ec7(0x10f)],this['type'],null,[],this['_handler']);}[_0x1000c0(0x312)](){return this;}[_0x1000c0(0x113)](){const _0x3f0b54=_0x1000c0;throw new Error(_0x3f0b54(0x213));}};_0x2db095=_0x6e6839([_0x519360(0x3,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x39d)])),_0x519360(0x4,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x519360(0x5,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x519360(0x6,_0x592d59[_0x1000c0(0x116)]),_0x519360(0x7,_0x592d59[_0x1000c0(0x131)]),_0x519360(0x8,_0x592d59['ILogService'])],_0x2db095);let _0x43333f=class extends _0x1c822e{constructor(_0x5ea8be,_0x39e181,_0x50da21,_0x3d18c8,_0x176266,_0x4b949d,_0x5e589d,_0x212589,_0x1e2db3,_0x2e2c21,_0x1d8246,_0x326503,_0x5363b7,_0xe59af8){const _0x2b3a8c=_0x1000c0;super(_0x5ea8be,_0x39e181,null,_0x50da21,_0x3d18c8,_0x2e2c21,_0xe59af8,_0x4b949d,_0x5e589d),_0x40dfd7(this,_0x2b3a8c(0x32f),'pending'),_0x40dfd7(this,_0x2b3a8c(0x4bd),null),_0x40dfd7(this,'_sendingTimer',null),(this[_0x2b3a8c(0x27f)]=_0x176266,this['_memberService']=_0x212589,this[_0x2b3a8c(0x195)]=_0x1e2db3,this[_0x2b3a8c(0x230)]=_0x1d8246,this[_0x2b3a8c(0x258)]=_0x326503,this[_0x2b3a8c(0x40b)]=_0x5363b7);}[_0x1000c0(0x107)](_0x2bb07d){const _0x33ab00=_0x1000c0;return this[_0x33ab00(0x12c)][_0x33ab00(0x1a6)](_0x2bb07d),this['_updateLocalCache'](),this;}[_0x1000c0(0x269)](_0x306f67){const _0x50c281=_0x1000c0;if(this['_checkMissing'](_0x306f67))return this[_0x50c281(0x474)](),this[_0x50c281(0x27f)][_0x50c281(0x134)](_0x1b8aa3,this[_0x50c281(0x10f)],this['type'],null,this['_pendingMutations'],null,[_0x306f67],this[_0x50c281(0x2c7)]);try{const _0x4f2a98=this[_0x50c281(0x258)]['transformMutationsWithChangeset'](_0x306f67,this[_0x50c281(0x12c)]);if(_0x1f6364[_0x50c281(0x180)](_0x4f2a98)){const {c1Prime:_0x374ed0,m2Prime:_0x343f2b}=_0x4f2a98;this['_executeRemoteChangeset'](_0x374ed0);const _0x113a60=this[_0x50c281(0x27f)][_0x50c281(0x134)](_0x43333f,this[_0x50c281(0x10f)],this[_0x50c281(0x49b)],_0x343f2b,this[_0x50c281(0x2c7)]);return this['_clearScheduledTask'](),_0x113a60['_schedule'](this[_0x50c281(0x4bd)]?Math[_0x50c281(0x44e)](0x0,new Date()[_0x50c281(0x4ba)]()-this[_0x50c281(0x4bd)]):this['_getSendChangesetTimeout']()),_0x113a60;}throw _0x4f2a98[_0x50c281(0x343)];}catch(_0x38abb0){return this[_0x50c281(0x195)][_0x50c281(0x343)](_0x38abb0),this[_0x50c281(0x497)](!0x1);}}[_0x1000c0(0x246)](){const _0x4bbb94=_0x1000c0;throw new Error(_0x4bbb94(0x108));}[_0x1000c0(0x2f6)](){const _0x985760=_0x1000c0;throw new Error(_0x985760(0x2e5));}['toggleOffline'](){const _0x3f5504=_0x1000c0;return this[_0x3f5504(0x474)](),this['_injector'][_0x3f5504(0x134)](_0x2e26d4,this[_0x3f5504(0x10f)],this['type'],null,this[_0x3f5504(0x12c)],this[_0x3f5504(0x2c7)]);}['toggleOnline'](){return this;}[_0x1000c0(0x32e)](_0x3ad91c){const _0xb4d141=_0x1000c0;_0x3ad91c=_0x3ad91c!=null?_0x3ad91c:this[_0xb4d141(0x37f)](),this[_0xb4d141(0x4bd)]=new Date()[_0xb4d141(0x4ba)](),this[_0xb4d141(0x1d2)]=setTimeout(()=>{const _0x5e34f0=_0xb4d141;this['_clearScheduledTask']();let _0x34c1e9=null;switch(this['type']){case _0x376736['UNIVER_SHEET']:{_0x34c1e9=_0x1922ea(this[_0x5e34f0(0x12c)],this[_0x5e34f0(0x10f)],this['_univerInstanceService'],this[_0x5e34f0(0x1e0)],this[_0x5e34f0(0x29e)]);break;}case _0x376736[_0x5e34f0(0x119)]:{_0x34c1e9=_0x3250b9(this['_pendingMutations'],this[_0x5e34f0(0x10f)],this[_0x5e34f0(0x40b)],this[_0x5e34f0(0x1e0)],this[_0x5e34f0(0x29e)]);break;}default:throw new Error(_0x5e34f0(0x3f5)+this[_0x5e34f0(0x49b)]+_0x5e34f0(0x3f6));}const {changeset:_0x33b6f2,pendingMutations:_0x422a44}=_0x34c1e9;this['_handler']['onSendChangeset'](_0x33b6f2);const _0xcfb7e9=_0x422a44[_0x5e34f0(0x1d8)]?this[_0x5e34f0(0x27f)][_0x5e34f0(0x134)](_0x330ba1,this['unitID'],this[_0x5e34f0(0x49b)],_0x33b6f2,_0x422a44,this[_0x5e34f0(0x2c7)]):this[_0x5e34f0(0x27f)][_0x5e34f0(0x134)](_0x4c9e17,this[_0x5e34f0(0x10f)],this[_0x5e34f0(0x49b)],_0x33b6f2,this['_handler']);_0xcfb7e9[_0x5e34f0(0x41b)](),this[_0x5e34f0(0x2c7)][_0x5e34f0(0x18e)](this,_0xcfb7e9);},_0x3ad91c);}[_0x1000c0(0x37f)](){const _0x1e1dcf=_0x1000c0;var _0x3b75c7;return(_0x3b75c7=this[_0x1e1dcf(0x230)][_0x1e1dcf(0x393)](_0x48f0d1))!=null?_0x3b75c7:0x7d0;}[_0x1000c0(0x113)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1000c0(0x474)](){const _0x388374=_0x1000c0;this['_sendingTimer']!=null&&(clearTimeout(this[_0x388374(0x1d2)]),this['_sendingTimer']=null);}[_0x1000c0(0x497)](_0xfafaed){const _0xc8b69a=_0x1000c0;return this[_0xc8b69a(0x474)](),this['_injector'][_0xc8b69a(0x134)](_0x1871ec,this[_0xc8b69a(0x10f)],this['type'],null,this[_0xc8b69a(0x12c)],this['_handler'],_0xfafaed);}};_0x43333f=_0x6e6839([_0x519360(0x4,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x519360(0x5,_0x1ea985['Inject'](_0x1f6364[_0x1000c0(0x39d)])),_0x519360(0x6,_0x1ea985['Inject'](_0x322d5b[_0x1000c0(0x24c)])),_0x519360(0x7,_0x1ea985[_0x1000c0(0x368)](_0x2539c6)),_0x519360(0x8,_0x592d59['ILogService']),_0x519360(0x9,_0x592d59[_0x1000c0(0x131)]),_0x519360(0xa,_0x592d59[_0x1000c0(0x41f)]),_0x519360(0xb,_0x1f6364[_0x1000c0(0x34e)]),_0x519360(0xc,_0x592d59['IUniverInstanceService']),_0x519360(0xd,_0x592d59[_0x1000c0(0x116)])],_0x43333f);let _0x4c9e17=class extends _0x1c822e{constructor(_0x27c373,_0xa3434b,_0x2b27af,_0x27fbd1,_0x9f62fd,_0x2f0c5f,_0x14fe7c,_0x40084b,_0x56d0b0,_0x1b850f,_0x529a2f){const _0x27d553=_0x1000c0;super(_0x27c373,_0xa3434b,_0x2b27af,[],_0x27fbd1,_0x40084b,_0x529a2f,_0x2f0c5f,_0x14fe7c),_0x40dfd7(this,'status','awaiting'),(this[_0x27d553(0x27f)]=_0x9f62fd,this[_0x27d553(0x195)]=_0x56d0b0,this[_0x27d553(0x258)]=_0x1b850f);}[_0x1000c0(0x107)](_0x181d1c){const _0xab8e28=_0x1000c0,_0xad61a0=this[_0xab8e28(0x27f)][_0xab8e28(0x134)](_0x330ba1,this[_0xab8e28(0x10f)],this[_0xab8e28(0x49b)],this[_0xab8e28(0x233)],[_0x181d1c],this[_0xab8e28(0x2c7)]);return _0xad61a0[_0xab8e28(0x41b)](),_0xad61a0;}[_0x1000c0(0x269)](_0x18a9b4){const _0x14773b=_0x1000c0;if(this[_0x14773b(0x24a)](_0x18a9b4))return this[_0x14773b(0x27f)][_0x14773b(0x134)](_0x1b8aa3,this[_0x14773b(0x10f)],this['type'],this[_0x14773b(0x233)],[],null,[_0x18a9b4],this['_handler']);try{const _0x54f95f=this['_transformService'][_0x14773b(0x2cb)]([_0x18a9b4],[this['_awaitingChangeset']],!0x1);if(_0x1f6364['isTransformChangesetsSuccess'](_0x54f95f)){const {c1Prime:_0x4efde8,c2Prime:_0x4461df}=_0x54f95f;this[_0x14773b(0x189)](_0x4efde8[0x0]),_0x4461df[0x0][_0x14773b(0x33f)]=this[_0x14773b(0x1e2)]();const _0x562a69=this['_injector'][_0x14773b(0x134)](_0x4c9e17,this['unitID'],this[_0x14773b(0x49b)],_0x4461df[0x0],this['_handler']);return _0x562a69[_0x14773b(0x41b)](),_0x562a69;}return this[_0x14773b(0x497)](!0x1);}catch(_0x831275){return this[_0x14773b(0x195)][_0x14773b(0x343)](_0x831275),this['_onConflict'](!0x1);}}[_0x1000c0(0x246)](_0x25cfdf){const _0x33b00d=_0x1000c0,_0x3ffb5e=this[_0x33b00d(0x1e0)][_0x33b00d(0x335)](this[_0x33b00d(0x10f)]);if(_0x25cfdf[_0x33b00d(0x2bd)]<_0x3ffb5e-0x1)return this;if(this[_0x33b00d(0x24a)](_0x25cfdf))return this[_0x33b00d(0x27f)][_0x33b00d(0x134)](_0x1b8aa3,this[_0x33b00d(0x10f)],this[_0x33b00d(0x49b)],null,[],this[_0x33b00d(0x233)],[],this['_handler']);this[_0x33b00d(0x206)]();const _0x301b17=this['_injector'][_0x33b00d(0x134)](_0x2db095,this[_0x33b00d(0x10f)],this['type'],this[_0x33b00d(0x2c7)]);return _0x301b17[_0x33b00d(0x41b)](),_0x301b17;}['onRemoteRej'](_0x5525bb){const _0x2b3a3d=_0x1000c0;return this[_0x2b3a3d(0x497)](!!(_0x5525bb!=null&&_0x5525bb[_0x2b3a3d(0x2c2)]));}['toggleOffline'](){const _0x349d2d=_0x1000c0;return this[_0x349d2d(0x27f)][_0x349d2d(0x134)](_0x2e26d4,this[_0x349d2d(0x10f)],this[_0x349d2d(0x49b)],this[_0x349d2d(0x233)],[],this[_0x349d2d(0x2c7)]);}[_0x1000c0(0x312)](){return this;}[_0x1000c0(0x113)](){const _0x3ee027=_0x1000c0;this[_0x3ee027(0x2c7)]['onSendChangeset'](this[_0x3ee027(0x233)]);}[_0x1000c0(0x497)](_0x64c3af){const _0x444f11=_0x1000c0;return this[_0x444f11(0x27f)][_0x444f11(0x134)](_0x1871ec,this[_0x444f11(0x10f)],this[_0x444f11(0x49b)],this[_0x444f11(0x233)],[],this[_0x444f11(0x2c7)],_0x64c3af);}};_0x4c9e17=_0x6e6839([_0x519360(0x4,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x519360(0x5,_0x1ea985['Inject'](_0x1f6364[_0x1000c0(0x39d)])),_0x519360(0x6,_0x1ea985[_0x1000c0(0x368)](_0x322d5b['LocalCacheService'])),_0x519360(0x7,_0x592d59['ICommandService']),_0x519360(0x8,_0x592d59['ILogService']),_0x519360(0x9,_0x1f6364[_0x1000c0(0x34e)]),_0x519360(0xa,_0x592d59[_0x1000c0(0x116)])],_0x4c9e17);let _0x330ba1=class extends _0x1c822e{constructor(_0x2abb9d,_0x4175d4,_0x3a6833,_0x35efc5,_0x2a7143,_0x4ea7e3,_0x2a88c4,_0x2109f0,_0x5de13c,_0x2df3b2,_0x40cd64,_0x1b7ea3){const _0x495514=_0x1000c0;super(_0x2abb9d,_0x4175d4,_0x3a6833,_0x35efc5,_0x2a7143,_0x5de13c,_0x1b7ea3,_0x2a88c4,_0x2109f0),_0x40dfd7(this,'status',_0x495514(0x390)),(this[_0x495514(0x27f)]=_0x4ea7e3,this[_0x495514(0x195)]=_0x2df3b2,this[_0x495514(0x258)]=_0x40cd64);}[_0x1000c0(0x107)](_0x58ef48){const _0x47c3d1=_0x1000c0;return this['_pendingMutations'][_0x47c3d1(0x1a6)](_0x58ef48),this;}['onRemoteChangeset'](_0x28f586){const _0xdc1532=_0x1000c0;if(this[_0xdc1532(0x24a)](_0x28f586))return this['_injector'][_0xdc1532(0x134)](_0x1b8aa3,this[_0xdc1532(0x10f)],this[_0xdc1532(0x49b)],this[_0xdc1532(0x233)],this[_0xdc1532(0x12c)],null,[_0x28f586],this[_0xdc1532(0x2c7)]);try{const _0x317894=this[_0xdc1532(0x258)]['transformChangesets']([_0x28f586],[this[_0xdc1532(0x233)]],!0x1);if(_0x1f6364[_0xdc1532(0x39a)](_0x317894)){const {c1Prime:_0x17ee0f,c2Prime:_0x197080}=_0x317894,_0x114dc4=this['_transformService'][_0xdc1532(0x436)](_0x17ee0f[0x0],this[_0xdc1532(0x12c)]);if(_0x1f6364[_0xdc1532(0x180)](_0x114dc4)){const {c1Prime:_0x5be459,m2Prime:_0x229613}=_0x114dc4;return this[_0xdc1532(0x189)](_0x5be459),_0x197080[0x0]['baseRev']=this[_0xdc1532(0x1e2)](),this[_0xdc1532(0x27f)][_0xdc1532(0x134)](_0x330ba1,this[_0xdc1532(0x10f)],this[_0xdc1532(0x49b)],_0x197080[0x0],_0x229613,this[_0xdc1532(0x2c7)]);}throw _0x114dc4[_0xdc1532(0x343)];}throw _0x317894[_0xdc1532(0x343)];}catch(_0x18e087){return this[_0xdc1532(0x195)][_0xdc1532(0x343)](_0x18e087),this[_0xdc1532(0x497)](!0x1);}}[_0x1000c0(0x246)](_0x36a138){const _0x436fa8=_0x1000c0;if(this[_0x436fa8(0x24a)](_0x36a138))return this[_0x436fa8(0x27f)]['createInstance'](_0x1b8aa3,this[_0x436fa8(0x10f)],this['type'],null,this[_0x436fa8(0x12c)],this[_0x436fa8(0x233)],[],this['_handler']);this[_0x436fa8(0x206)]();const _0x348311=this[_0x436fa8(0x27f)][_0x436fa8(0x134)](_0x43333f,this[_0x436fa8(0x10f)],this[_0x436fa8(0x49b)],this[_0x436fa8(0x12c)],this['_handler']);return _0x348311[_0x436fa8(0x32e)](),_0x348311['_updateLocalCache'](),_0x348311;}[_0x1000c0(0x2f6)](_0x17a892){const _0x4d12eb=_0x1000c0;return this['_onConflict'](!!(_0x17a892!=null&&_0x17a892[_0x4d12eb(0x2c2)]));}[_0x1000c0(0x130)](){const _0x544d9c=_0x1000c0;return this['_injector']['createInstance'](_0x2e26d4,this[_0x544d9c(0x10f)],this['type'],this[_0x544d9c(0x233)],this[_0x544d9c(0x12c)],this['_handler']);}['toggleOnline'](){return this;}[_0x1000c0(0x113)](){const _0x3c2afa=_0x1000c0;this[_0x3c2afa(0x2c7)][_0x3c2afa(0x4d1)](this[_0x3c2afa(0x233)]);}[_0x1000c0(0x497)](_0x1d2571){const _0x15b8fb=_0x1000c0;return this['_injector']['createInstance'](_0x1871ec,this[_0x15b8fb(0x10f)],this['type'],null,this[_0x15b8fb(0x12c)],this[_0x15b8fb(0x2c7)],_0x1d2571);}};_0x330ba1=_0x6e6839([_0x519360(0x5,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x519360(0x6,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x39d)])),_0x519360(0x7,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x519360(0x8,_0x592d59[_0x1000c0(0x131)]),_0x519360(0x9,_0x592d59[_0x1000c0(0x1ef)]),_0x519360(0xa,_0x1f6364[_0x1000c0(0x34e)]),_0x519360(0xb,_0x592d59[_0x1000c0(0x116)])],_0x330ba1);let _0x1871ec=class extends _0x1c822e{constructor(_0x457ae6,_0x43f639,_0x3047b7,_0xa31d49,_0x3cb0f2,_0x324244=!0x1,_0x59bf00,_0x51bfd9,_0x29397a,_0x47b318,_0x41c6f6,_0x16e8da,_0x506530){const _0x205096=_0x1000c0;super(_0x457ae6,_0x43f639,_0x3047b7,_0xa31d49,_0x3cb0f2,_0x51bfd9,_0x29397a,_0x41c6f6,_0x47b318),_0x40dfd7(this,'status',_0x205096(0x20a)),(this[_0x205096(0x3bf)]=_0x324244,this[_0x205096(0x147)]=_0x59bf00,this[_0x205096(0x2a1)]=_0x16e8da,this[_0x205096(0x12b)]=_0x506530,this[_0x205096(0x2fd)](),this['_clearLocalCache'](),this[_0x205096(0x15f)]());}[_0x1000c0(0x107)](){return this;}[_0x1000c0(0x269)](){return this;}[_0x1000c0(0x246)](){return this;}[_0x1000c0(0x2f6)](){return this;}[_0x1000c0(0x130)](){return this;}[_0x1000c0(0x312)](){return this;}[_0x1000c0(0x113)](){const _0x5e119f=_0x1000c0;throw new Error(_0x5e119f(0x443));}[_0x1000c0(0x3aa)](){const _0x2b97cf=_0x1000c0;this[_0x2b97cf(0x140)][_0x2b97cf(0x3cb)](this[_0x2b97cf(0x10f)],this[_0x2b97cf(0x49b)],null,[]);}[_0x1000c0(0x2fd)](){const _0x255eb5=_0x1000c0;this['_isPermissionRej']?this[_0x255eb5(0x12b)][_0x255eb5(0x2eb)]({'title':this[_0x255eb5(0x2a1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x255eb5(0x361)),'type':_0x255eb5(0x343),'duration':0x0}):this[_0x255eb5(0x12b)][_0x255eb5(0x2eb)]({'title':this[_0x255eb5(0x2a1)]['t'](_0x255eb5(0x489)),'content':this['_localeService']['t']('conflict.content'),'type':_0x255eb5(0x343),'duration':0x0});}[_0x1000c0(0x15f)](){const _0x262fb2=_0x1000c0;this[_0x262fb2(0x147)][_0x262fb2(0x20d)](new _0x5e4af3[(_0x262fb2(0x304))](this[_0x262fb2(0x10f)])['id'],!0x1);}};_0x1871ec=_0x6e6839([_0x519360(0x6,_0x1ea985[_0x1000c0(0x368)](_0x592d59['IPermissionService'])),_0x519360(0x7,_0x592d59[_0x1000c0(0x131)]),_0x519360(0x8,_0x592d59[_0x1000c0(0x116)]),_0x519360(0x9,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x519360(0xa,_0x1ea985[_0x1000c0(0x368)](_0x1f6364['RevisionService'])),_0x519360(0xb,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x279)])),_0x519360(0xc,_0x2c52d3[_0x1000c0(0x165)])],_0x1871ec);let _0x2e26d4=class extends _0x1c822e{constructor(_0x5591da,_0x15984d,_0x5a9fe5,_0x1a01aa,_0x50d07a,_0x21fba9,_0x5c3e82,_0x80e11b,_0x360814,_0xf95a9f){const _0x41df33=_0x1000c0;super(_0x5591da,_0x15984d,_0x5a9fe5,_0x1a01aa,_0x50d07a,_0x360814,_0xf95a9f,_0x5c3e82,_0x80e11b),_0x40dfd7(this,'status',_0x41df33(0x2fb)),this[_0x41df33(0x27f)]=_0x21fba9;}[_0x1000c0(0x107)](_0x18b1b5){const _0xdb9668=_0x1000c0;return this[_0xdb9668(0x12c)][_0xdb9668(0x1a6)](_0x18b1b5),this[_0xdb9668(0x41b)](),this;}['onRemoteChangeset'](_0x4ed6fc){const _0x3e54b3=_0x1000c0;throw new Error(_0x3e54b3(0x435));}['onRemoteAck'](){const _0xd8071=_0x1000c0;throw new Error(_0xd8071(0x20f));}[_0x1000c0(0x2f6)](){const _0x38dbeb=_0x1000c0;throw new Error(_0x38dbeb(0x207));}[_0x1000c0(0x130)](){return this;}[_0x1000c0(0x312)](){const _0x38156b=_0x1000c0,{_injector:_0x42d60a,_pendingMutations:_0x4961da,_awaitingChangeset:_0x251617,unitID:_0xa94cdc,_handler:_0x105a82,type:_0x548b62}=this,_0x4fcf93=_0x304f8d(_0x42d60a,_0xa94cdc,_0x548b62,_0x251617,_0x4961da,_0x105a82);return _0x4fcf93 instanceof _0x43333f?_0x4fcf93[_0x38156b(0x32e)]():(_0x4fcf93 instanceof _0x330ba1||_0x4fcf93 instanceof _0x4c9e17)&&_0x4fcf93[_0x38156b(0x113)](),_0x4fcf93;}[_0x1000c0(0x113)](){const _0x3e98ea=_0x1000c0;throw new Error(_0x3e98ea(0x49f));}};_0x2e26d4=_0x6e6839([_0x519360(0x5,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x519360(0x6,_0x1ea985[_0x1000c0(0x368)](_0x1f6364['RevisionService'])),_0x519360(0x7,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x519360(0x8,_0x592d59[_0x1000c0(0x131)]),_0x519360(0x9,_0x592d59['IUndoRedoService'])],_0x2e26d4);let _0x1b8aa3=class extends _0x1c822e{constructor(_0x20cc83,_0x519129,_0x31f5fc,_0x6761e3,_0x4e30a5,_0xa564c4,_0x57f8ba,_0x520aef,_0x52665a,_0x2d5dcc,_0x4aba2c,_0x1b0c82,_0x38223f,_0x567c03){const _0x37be51=_0x1000c0;super(_0x20cc83,_0x519129,_0x31f5fc,_0x6761e3,_0x57f8ba,_0x1b0c82,_0x38223f,_0x52665a,_0x2d5dcc),_0x40dfd7(this,'status',_0x37be51(0x46d)),(this[_0x37be51(0x43e)]=_0x4e30a5,this[_0x37be51(0x3c6)]=_0xa564c4,this[_0x37be51(0x27f)]=_0x520aef,this[_0x37be51(0x195)]=_0x4aba2c,this[_0x37be51(0x258)]=_0x567c03);}[_0x1000c0(0x12f)](_0xf94050){const _0xfd482=_0x1000c0;try{const _0x302c66=[..._0xf94050,...this[_0xfd482(0x3c6)]],_0x21d137=[this['_awaitingChangeset']||this[_0xfd482(0x43e)]][_0xfd482(0x3d5)](_0x5e99f9=>!!_0x5e99f9);let _0x4faa2d,_0x23bb13;if(_0x21d137[_0xfd482(0x1d8)]){const _0x42c66c=this['_transformService'][_0xfd482(0x2cb)](_0x302c66,_0x21d137,!0x1);if(!_0x1f6364[_0xfd482(0x39a)](_0x42c66c))throw _0x42c66c[_0xfd482(0x343)];_0x4faa2d=_0x42c66c[_0xfd482(0x396)],_0x23bb13=_0x42c66c[_0xfd482(0x2b1)];}else _0x4faa2d=_0x302c66,_0x23bb13=[];let _0x3cbd06=this[_0xfd482(0x12c)];_0x4faa2d[_0xfd482(0x24b)](_0x57670e=>{const _0x351cb5=_0xfd482;let _0xc65798;if(_0x3cbd06['length']){const _0x7899f3=this[_0x351cb5(0x258)][_0x351cb5(0x436)](_0x57670e,_0x3cbd06);if(!_0x1f6364[_0x351cb5(0x180)](_0x7899f3))throw _0x7899f3['error'];_0xc65798=_0x7899f3[_0x351cb5(0x396)],_0x3cbd06=_0x7899f3[_0x351cb5(0x315)];}else _0xc65798=_0x57670e;this[_0x351cb5(0x189)](_0xc65798);}),this[_0xfd482(0x43e)]&&this['_incrementRevisionNumber'](),this[_0xfd482(0x233)]&&_0x23bb13[_0xfd482(0x1d8)]&&(_0x23bb13[0x0]['baseRev']=this[_0xfd482(0x1e2)]());let _0x2d4884;if(this['_awaitingChangeset']&&_0x3cbd06[_0xfd482(0x1d8)]!==0x0)_0x2d4884=this[_0xfd482(0x27f)]['createInstance'](_0x330ba1,this[_0xfd482(0x10f)],this[_0xfd482(0x49b)],_0x23bb13[0x0],_0x3cbd06,this[_0xfd482(0x2c7)]);else{if(this['_awaitingChangeset']&&_0x3cbd06[_0xfd482(0x1d8)]===0x0)_0x23bb13[0x0][_0xfd482(0x33f)]=this[_0xfd482(0x1e2)](),_0x2d4884=this['_injector'][_0xfd482(0x134)](_0x4c9e17,this[_0xfd482(0x10f)],this['type'],_0x23bb13[0x0],this[_0xfd482(0x2c7)]);else{if(_0x3cbd06[_0xfd482(0x1d8)]!==0x0){const _0x23b94b=this[_0xfd482(0x27f)][_0xfd482(0x134)](_0x43333f,this[_0xfd482(0x10f)],this['type'],_0x3cbd06,this['_handler']);_0x23b94b[_0xfd482(0x32e)](),_0x2d4884=_0x23b94b;}else _0x2d4884=this[_0xfd482(0x27f)][_0xfd482(0x134)](_0x2db095,this[_0xfd482(0x10f)],this[_0xfd482(0x49b)],this[_0xfd482(0x2c7)]);}}return _0x2d4884[_0xfd482(0x41b)](),_0x2d4884;}catch(_0x1cb7f4){return this[_0xfd482(0x195)][_0xfd482(0x343)](_0xfd482(0x18c),_0xfd482(0x496),_0x1cb7f4),this[_0xfd482(0x27f)][_0xfd482(0x134)](_0x1871ec,this[_0xfd482(0x10f)],this[_0xfd482(0x49b)],this[_0xfd482(0x233)],this[_0xfd482(0x12c)],this[_0xfd482(0x2c7)],!0x1);}}[_0x1000c0(0x113)](){const _0x926278=_0x1000c0;throw new Error(_0x926278(0x186));}[_0x1000c0(0x107)](_0x88dea1){const _0x28ed43=_0x1000c0;return this['_pendingMutations'][_0x28ed43(0x1a6)](_0x88dea1),this;}[_0x1000c0(0x269)](_0x1a817a){const _0x650c6a=_0x1000c0;return this[_0x650c6a(0x3c6)]['push'](_0x1a817a),this;}[_0x1000c0(0x246)](_0x466678){const _0x5db246=_0x1000c0;if(this['_awaitingChangeset'])return this[_0x5db246(0x43e)]=this[_0x5db246(0x233)],this[_0x5db246(0x233)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1000c0(0x2f6)](_0x3c0ddc){const _0x4578a1=_0x1000c0;return this[_0x4578a1(0x497)](!!(_0x3c0ddc!=null&&_0x3c0ddc[_0x4578a1(0x2c2)]));}[_0x1000c0(0x130)](){const _0x22580f=_0x1000c0;return this[_0x22580f(0x27f)][_0x22580f(0x134)](_0x2e26d4,this[_0x22580f(0x10f)],this[_0x22580f(0x49b)],this[_0x22580f(0x233)],this[_0x22580f(0x12c)],this[_0x22580f(0x2c7)]);}[_0x1000c0(0x312)](){return this;}[_0x1000c0(0x497)](_0x3ce0ba){const _0x3f20a6=_0x1000c0;return this[_0x3f20a6(0x27f)]['createInstance'](_0x1871ec,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3f20a6(0x12c)],this[_0x3f20a6(0x2c7)],_0x3ce0ba);}};_0x1b8aa3=_0x6e6839([_0x519360(0x7,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x519360(0x8,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x39d)])),_0x519360(0x9,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x519360(0xa,_0x592d59['ILogService']),_0x519360(0xb,_0x592d59[_0x1000c0(0x131)]),_0x519360(0xc,_0x592d59['IUndoRedoService']),_0x519360(0xd,_0x1f6364[_0x1000c0(0x34e)])],_0x1b8aa3);function _0x304f8d(_0x56a781,_0x534ea2,_0x2f9c2a,_0xc48962,_0x10c5da,_0x5c0049){const _0x326e4a=_0x1000c0;return _0xc48962&&_0x10c5da['length']?_0x56a781[_0x326e4a(0x134)](_0x330ba1,_0x534ea2,_0x2f9c2a,_0xc48962,_0x10c5da,_0x5c0049):_0xc48962?_0x56a781['createInstance'](_0x4c9e17,_0x534ea2,_0x2f9c2a,_0xc48962,_0x5c0049):_0x10c5da[_0x326e4a(0x1d8)]?_0x56a781[_0x326e4a(0x134)](_0x43333f,_0x534ea2,_0x2f9c2a,_0x10c5da,_0x5c0049):_0x56a781[_0x326e4a(0x134)](_0x2db095,_0x534ea2,_0x2f9c2a,_0x5c0049);}var _0x2dc850=Object['defineProperty'],_0x145fd5=Object[_0x1000c0(0x2d4)],_0x4a339b=(_0x439ef6,_0x86e620,_0x442cef,_0x36e0ad)=>{const _0x2f35ba=_0x1000c0;for(var _0x2671e9=_0x36e0ad>0x1?void 0x0:_0x36e0ad?_0x145fd5(_0x86e620,_0x442cef):_0x86e620,_0x288423=_0x439ef6[_0x2f35ba(0x1d8)]-0x1,_0x3537e4;_0x288423>=0x0;_0x288423--)(_0x3537e4=_0x439ef6[_0x288423])&&(_0x2671e9=(_0x36e0ad?_0x3537e4(_0x86e620,_0x442cef,_0x2671e9):_0x3537e4(_0x2671e9))||_0x2671e9);return _0x36e0ad&&_0x2671e9&&_0x2dc850(_0x86e620,_0x442cef,_0x2671e9),_0x2671e9;},_0x3f6e97=(_0x36e5c1,_0x585fbc)=>(_0x32f498,_0x38b8d0)=>_0x585fbc(_0x32f498,_0x38b8d0,_0x36e5c1);_0x322d5b[_0x1000c0(0x200)]=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x138da2,_0x305cbc,_0x4576c2){const _0xb890c3=_0x1000c0;super(),_0x40dfd7(this,_0xb890c3(0x2ce),new Map()),_0x40dfd7(this,_0xb890c3(0x38b),new _0x3c7a49[(_0xb890c3(0x33b))]()),(this['_injector']=_0x138da2,this[_0xb890c3(0x2c8)]=_0x305cbc,this[_0xb890c3(0x40b)]=_0x4576c2,this[_0xb890c3(0x224)]());}[_0x1000c0(0x36f)](){const _0x5666a3=_0x1000c0;super[_0x5666a3(0x36f)](),this['_entities'][_0x5666a3(0x24b)](_0x3c77a6=>_0x3c77a6[_0x5666a3(0x36f)]()),this['_entities'][_0x5666a3(0x370)]();}[_0x1000c0(0x278)](_0x986e10){const _0x4a0c12=_0x1000c0;var _0x123703;return(_0x123703=this[_0x4a0c12(0x2ce)][_0x4a0c12(0x1de)](_0x986e10))!=null?_0x123703:null;}[_0x1000c0(0x4a8)](_0x4bcdcb){const _0x1d660d=_0x1000c0,_0x3d44e2=this[_0x1d660d(0x278)](_0x4bcdcb);return _0x3d44e2?_0x3c7a49['of'](_0x3d44e2):this['_entityInit$'][_0x1d660d(0x161)](_0x39f29f[_0x1d660d(0x3d5)](_0x572091=>_0x572091[_0x1d660d(0x10f)]===_0x4bcdcb));}[_0x1000c0(0x224)](){const _0x2252ae=_0x1000c0;this['_univerInstanceService'][_0x2252ae(0x13e)](_0x592d59[_0x2252ae(0x1b5)][_0x2252ae(0x149)])['pipe'](_0x3c7a49[_0x2252ae(0x3ca)](this[_0x2252ae(0x338)]),_0x39f29f[_0x2252ae(0x204)](0x10))[_0x2252ae(0x42f)](async _0x1459a8=>{const _0x398533=_0x2252ae,_0x4d0914=_0x1459a8['getUnitId'](),_0x3d2f1c=await this[_0x398533(0x1c0)](_0x4d0914,_0x376736[_0x398533(0x149)]);this['_entities'][_0x398533(0x4c2)](_0x4d0914,_0x3d2f1c);}),this['_univerInstanceService'][_0x2252ae(0x13e)](_0x592d59[_0x2252ae(0x1b5)][_0x2252ae(0x119)])[_0x2252ae(0x161)](_0x3c7a49[_0x2252ae(0x3ca)](this[_0x2252ae(0x338)]),_0x39f29f[_0x2252ae(0x204)](0x10))[_0x2252ae(0x161)](_0x39f29f['filter'](_0x1eef55=>!_0x1eef55[_0x2252ae(0x270)]()['startsWith']('__')))[_0x2252ae(0x42f)](async _0x29b200=>{const _0x50352a=_0x2252ae,_0x6e22f2=_0x29b200[_0x50352a(0x270)](),_0x4edc34=await this[_0x50352a(0x1c0)](_0x6e22f2,_0x376736[_0x50352a(0x119)]);this[_0x50352a(0x2ce)]['set'](_0x6e22f2,_0x4edc34);}),_0x3c7a49[_0x2252ae(0x30f)](this[_0x2252ae(0x40b)][_0x2252ae(0x341)](_0x592d59[_0x2252ae(0x1b5)][_0x2252ae(0x149)]),this[_0x2252ae(0x40b)][_0x2252ae(0x341)](_0x592d59[_0x2252ae(0x1b5)][_0x2252ae(0x119)]))[_0x2252ae(0x161)](_0x3c7a49[_0x2252ae(0x3ca)](this['dispose$']))[_0x2252ae(0x42f)](_0x1700dc=>{const _0x58226a=_0x2252ae,_0x2041aa=_0x1700dc[_0x58226a(0x270)](),_0x39f7af=this[_0x58226a(0x2ce)][_0x58226a(0x1de)](_0x2041aa);_0x39f7af&&(_0x39f7af['dispose'](),this['_entities'][_0x58226a(0x234)](_0x2041aa));});}async[_0x1000c0(0x1c0)](_0xd03c38,_0x3cd292){const _0x3f1303=_0x1000c0,_0xe88a99=await this['_collabSessionService']['requireSession'](_0xd03c38),_0x4d3633=this[_0x3f1303(0x27f)][_0x3f1303(0x134)](this['_getCtorByUniverType'](_0x3cd292),_0xd03c38,_0x3cd292,_0xe88a99);return await _0x4d3633[_0x3f1303(0x150)](),this['_entityInit$'][_0x3f1303(0x117)](_0x4d3633),_0x4d3633;}[_0x1000c0(0x26a)](_0x29a81f){const _0x2f0a5f=_0x1000c0;switch(_0x29a81f){case _0x376736[_0x2f0a5f(0x119)]:return _0x297a49;case _0x376736[_0x2f0a5f(0x149)]:return _0x2f64ee;default:throw new Error(_0x2f0a5f(0x1c9)+_0x29a81f);}}},_0x322d5b[_0x1000c0(0x200)]=_0x4a339b([_0x592d59[_0x1000c0(0x47b)](_0x592d59[_0x1000c0(0x1c7)][_0x1000c0(0x17f)],_0x322d5b['CollaborationController']),_0x3f6e97(0x0,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x3f6e97(0x1,_0x1ea985['Inject'](_0x322d5b['CollaborationSessionService'])),_0x3f6e97(0x2,_0x592d59[_0x1000c0(0x305)])],_0x322d5b['CollaborationController']);let _0x5ce0f9=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x1e40b0,_0x108777,_0x3dec8d,_0x52d718,_0x424561,_0x4e320a,_0x306da8,_0x5603b5,_0x1d9f76,_0x14d944,_0x33293b,_0x11e746,_0x5815af){const _0x112737=_0x1000c0;super(),_0x40dfd7(this,_0x112737(0x342),new _0x3c7a49['BehaviorSubject'](null)),_0x40dfd7(this,_0x112737(0x292),this[_0x112737(0x342)][_0x112737(0x32c)]()),_0x40dfd7(this,'_state'),_0x40dfd7(this,_0x112737(0x1eb),!0x1),_0x40dfd7(this,_0x112737(0x3a0),this[_0x112737(0x292)]['pipe'](_0x39f29f[_0x112737(0x1f5)](_0x3f7dd6=>_0x3f7dd6?_0x3f7dd6[_0x112737(0x32f)]:_0x3e6f91[_0x112737(0x4a5)]),_0x39f29f['shareReplay'](0x1))),_0x40dfd7(this,_0x112737(0x138),!0x1),_0x40dfd7(this,_0x112737(0x347),[]),(this[_0x112737(0x10f)]=_0x1e40b0,this[_0x112737(0x349)]=_0x108777,this[_0x112737(0x3ae)]=_0x3dec8d,this['_injector']=_0x52d718,this['_localCacheService']=_0x424561,this[_0x112737(0x3ab)]=_0x4e320a,this[_0x112737(0x2a1)]=_0x306da8,this[_0x112737(0x1e0)]=_0x5603b5,this[_0x112737(0x195)]=_0x1d9f76,this[_0x112737(0x401)]=_0x14d944,this[_0x112737(0x4ca)]=_0x33293b,this[_0x112737(0x147)]=_0x11e746,this[_0x112737(0x11f)]=_0x5815af);}get[_0x1000c0(0x115)](){const _0x990aca=_0x1000c0;return this[_0x990aca(0x257)];}async[_0x1000c0(0x150)](){const _0x237416=_0x1000c0;if(this[_0x237416(0x115)])throw new Error(_0x237416(0x2b5));await this['_init']();}[_0x1000c0(0x369)](){const _0x5549d1=_0x1000c0;return this['_collaborationPaused']=!0x0,_0x592d59[_0x5549d1(0x29f)](()=>{const _0xa17a22=_0x5549d1;this[_0xa17a22(0x1eb)]=!0x1,this[_0xa17a22(0x2a2)]();});}['_updateState'](_0x1ed908){const _0x3b587e=_0x1000c0;this[_0x3b587e(0x257)]=_0x1ed908,this[_0x3b587e(0x342)]['next'](_0x1ed908);}async[_0x1000c0(0x224)](){const _0x3b11da=_0x1000c0;var _0x10589f;return this[_0x3b11da(0x4c8)](await this[_0x3b11da(0x2bf)]()),this[_0x3b11da(0x11f)]&&((_0x10589f=this[_0x3b11da(0x11f)])==null||_0x10589f['editingUnit'](this['unitID']),this[_0x3b11da(0x215)](_0x592d59['toDisposable'](this[_0x3b11da(0x11f)]['getUnitStatus$'](this[_0x3b11da(0x10f)])['subscribe'](_0x17ef72=>{const _0x89e3db=_0x3b11da;this[_0x89e3db(0x195)][_0x89e3db(0x384)](_0x89e3db(0x1a0),_0x89e3db(0x3b7),_0x17ef72),_0x17ef72===_0x23c43c[_0x89e3db(0x105)]?(this['_messageService']['show']({'content':this[_0x89e3db(0x2a1)]['t'](_0x89e3db(0x372)),'type':_0x5063fc['MessageType'][_0x89e3db(0x173)]}),this[_0x89e3db(0x147)][_0x89e3db(0x20d)](new _0x5e4af3['WorkbookEditablePermission'](this['unitID'])['id'],!0x1)):this['_permissionService'][_0x89e3db(0x20d)](new _0x5e4af3[(_0x89e3db(0x304))](this[_0x89e3db(0x10f)])['id'],!0x0);})))),this['disposeWithMe'](_0x592d59[_0x3b11da(0x29f)](this[_0x3b11da(0x3ae)][_0x3b11da(0x2e0)][_0x3b11da(0x42f)](_0x3f86fd=>{const _0x263921=_0x3b11da;_0x3f86fd===_0x28f044[_0x263921(0x243)]?this[_0x263921(0x473)]():_0x3f86fd===_0x28f044[_0x263921(0x4a5)]&&this[_0x263921(0x15d)]();}))),this[_0x3b11da(0x215)](_0x592d59['toDisposable'](this['_session'][_0x3b11da(0x253)]['subscribe'](_0x358f5b=>{const _0x430431=_0x3b11da;try{switch(_0x358f5b[_0x430431(0x263)]){case _0x1f6364['CollaborationEvent'][_0x430431(0x274)]:{this[_0x430431(0x26e)](_0x1f6364['parseProtocolChangeset'](_0x358f5b[_0x430431(0x314)]));break;}case _0x1f6364[_0x430431(0x159)][_0x430431(0x1d5)]:{this[_0x430431(0x404)](_0x358f5b[_0x430431(0x314)]);break;}case _0x1f6364['CollaborationEvent']['CHANGESET_REJ']:{this[_0x430431(0x176)]();break;}case _0x1f6364[_0x430431(0x159)][_0x430431(0x1e7)]:{this[_0x430431(0x49d)](_0x358f5b[_0x430431(0x314)]['changesets'][_0x430431(0x1f5)](_0x4e8677=>_0x1f6364[_0x430431(0x469)](_0x4e8677)));break;}case _0x1f6364[_0x430431(0x159)][_0x430431(0x319)]:this[_0x430431(0x176)]({'isPermissionRej':!0x0});}}catch(_0x5892cf){throw console[_0x430431(0x343)](_0x430431(0x351),_0x5892cf),_0x5892cf;}}))),this[_0x3b11da(0x257)];}['_unlockTransition'](){const _0x13b37a=_0x1000c0;this[_0x13b37a(0x138)]=!0x1;}[_0x1000c0(0x44b)](){const _0x435f24=_0x1000c0;if(this[_0x435f24(0x138)])throw new Error(_0x435f24(0x487));this[_0x435f24(0x138)]=!0x0;}['_onLocalMutation'](_0x3f8ce7){const _0x7be4dc=_0x1000c0;this['_lockTransition'](),this['_updateState'](this['_state'][_0x7be4dc(0x107)](_0x3f8ce7)),this['_unlockTransition']();}[_0x1000c0(0x26e)](_0x16b740){const _0x4819d3=_0x1000c0;if(!(_0x16b740[_0x4819d3(0x2bd)]<=this[_0x4819d3(0x1e0)][_0x4819d3(0x335)](this['unitID']))){if(this[_0x4819d3(0x1eb)]){this['_remoteChangesetQueue'][_0x4819d3(0x1a6)](_0x16b740);return;}this[_0x4819d3(0x1c8)](_0x16b740);}}[_0x1000c0(0x2a2)](){const _0x4cbf39=_0x1000c0;this[_0x4cbf39(0x347)][_0x4cbf39(0x24b)](_0x2d5f9e=>this['_applyRemoteChangeset'](_0x2d5f9e)),this[_0x4cbf39(0x347)]=[];}[_0x1000c0(0x1c8)](_0x40d5a5){const _0x714a16=_0x1000c0,_0x4cd814=this['_compressMutationService'][_0x714a16(0x183)][_0x714a16(0x385)](this[_0x714a16(0x3ab)][_0x714a16(0x183)][_0x714a16(0x1e1)]()[_0x714a16(0x442)])(_0x40d5a5['mutations'],null)||_0x40d5a5['mutations'],_0x52a634={..._0x40d5a5,'mutations':_0x4cd814};this[_0x714a16(0x44b)](),this[_0x714a16(0x4c8)](this[_0x714a16(0x257)]['onRemoteChangeset'](_0x52a634)),this['_unlockTransition']();}[_0x1000c0(0x404)](_0x1b05da){const _0x37be93=_0x1000c0;this['_lockTransition'](),this[_0x37be93(0x4c8)](this[_0x37be93(0x257)][_0x37be93(0x246)](_0x1b05da)),this[_0x37be93(0x3b9)]();}['_onRemoteRejected'](_0x2ad0d2){const _0x3db58b=_0x1000c0;this[_0x3db58b(0x44b)](),this['_updateState'](this[_0x3db58b(0x257)][_0x3db58b(0x2f6)](_0x2ad0d2)),this['_unlockTransition']();}['_onFetchMissResult'](_0x326782){const _0x5645f9=_0x1000c0;if(!(this['_state']instanceof _0x1b8aa3))throw new TypeError(_0x5645f9(0x112));const _0x35dbc5=_0x326782['map'](_0x4c7688=>{const _0x5a5f9e=_0x5645f9,_0x54eee3=this[_0x5a5f9e(0x3ab)]['interceptor'][_0x5a5f9e(0x385)](this[_0x5a5f9e(0x3ab)][_0x5a5f9e(0x183)][_0x5a5f9e(0x1e1)]()['COMPRESS_MUTATION_APPLY'])(_0x4c7688[_0x5a5f9e(0x122)],null)||_0x4c7688['mutations'];return{..._0x4c7688,'mutations':_0x54eee3};});this['_lockTransition'](),this['_updateState'](this[_0x5645f9(0x257)]['onMissedChangesetFetched'](_0x35dbc5)),this[_0x5645f9(0x3b9)]();}[_0x1000c0(0x15d)](){const _0x250625=_0x1000c0;this['_lockTransition'](),this[_0x250625(0x4c8)](this[_0x250625(0x257)][_0x250625(0x130)]()),this['_unlockTransition']();}[_0x1000c0(0x473)](){const _0x4947a4=_0x1000c0;this[_0x4947a4(0x44b)](),this[_0x4947a4(0x4c8)](this[_0x4947a4(0x257)][_0x4947a4(0x312)]()),this[_0x4947a4(0x3b9)]();}async[_0x1000c0(0x2bf)](){return new Promise(_0x2edfc4=>{const _0x41e418=_0x492d;this[_0x41e418(0x3ae)][_0x41e418(0x2e0)]['pipe'](_0x39f29f[_0x41e418(0x13a)](0x1))[_0x41e418(0x42f)](async _0x5f4edc=>{const _0xd2108c=_0x41e418;_0x2edfc4(await this['_createInitialStateImpl'](_0x5f4edc===_0x28f044[_0xd2108c(0x243)]));});});}[_0x1000c0(0x212)](){const _0x22c86c=_0x1000c0,_0x13ec3a=this[_0x22c86c(0x10f)];return{'onStateChange':(_0x290cca,_0x1a08f1)=>{const _0x27abd4=_0x22c86c;if(_0x290cca!==this['_state'])throw new Error(_0x27abd4(0x255)+_0x290cca['status']+'\x0aAfter:\x20'+_0x1a08f1[_0x27abd4(0x32f)]+'\x0aCurrent:\x20'+this['_state'][_0x27abd4(0x32f)]);this[_0x27abd4(0x4c8)](_0x1a08f1);},'onSendChangeset':_0x5296e2=>{const _0x2a100d=_0x22c86c,_0xc5c05={'eventID':_0x1f6364[_0x2a100d(0x159)][_0x2a100d(0x311)],'data':{'unitID':_0x5296e2[_0x2a100d(0x10f)],'unitType':this[_0x2a100d(0x349)],'changeset':_0x5296e2,'memberID':this['_session']['getMemberID']()}};this['_session'][_0x2a100d(0x16a)](_0xc5c05,this[_0x2a100d(0x10f)]);},'onMissingChangesets':({from:_0x1e8908,to:_0xe04967})=>{const _0x3f964a=_0x22c86c;this['_logService']['debug'](_0x3f964a(0x1a0),_0x3f964a(0x153)+_0x1e8908+_0x3f964a(0x155)+_0xe04967);const _0xb10f={'eventID':_0x1f6364['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0x13ec3a,'unitType':this[_0x3f964a(0x349)],'from':_0x1e8908,'to':_0xe04967}};this[_0x3f964a(0x3ae)]['send'](_0xb10f,this[_0x3f964a(0x10f)]);}};}async[_0x1000c0(0x49a)](_0x20b2f0){const _0x1a5dc3=_0x1000c0;var _0x4fb387,_0xc2a445;const _0x21b478=await this[_0x1a5dc3(0x140)][_0x1a5dc3(0x239)](this[_0x1a5dc3(0x10f)]),_0x3dec93=(_0x4fb387=_0x21b478==null?void 0x0:_0x21b478[_0x1a5dc3(0x122)])!=null?_0x4fb387:[],_0x44624f=(_0xc2a445=_0x21b478==null?void 0x0:_0x21b478[_0x1a5dc3(0x3ba)])!=null?_0xc2a445:null,_0x40843b=this[_0x1a5dc3(0x10f)];try{this[_0x1a5dc3(0xf6)](_0x44624f,_0x3dec93);}catch(_0x59af59){this[_0x1a5dc3(0x195)]['error'](_0x59af59);}const _0x43b8e6=this[_0x1a5dc3(0x212)]();if(_0x20b2f0){const _0x146dcc=_0x304f8d(this['_injector'],_0x40843b,this['_type'],_0x44624f,_0x3dec93,_0x43b8e6);return _0x146dcc instanceof _0x43333f?_0x146dcc[_0x1a5dc3(0x32e)]():(_0x146dcc instanceof _0x330ba1||_0x146dcc instanceof _0x4c9e17)&&_0x146dcc['resend'](),_0x146dcc;}return this['_injector'][_0x1a5dc3(0x134)](_0x2e26d4,_0x40843b,this[_0x1a5dc3(0x349)],_0x44624f,_0x3dec93,_0x43b8e6);}[_0x1000c0(0xf6)](_0x27fa54,_0xcd3281){const _0x51da93=_0x1000c0;var _0x527ef0,_0x14a652;const _0x6445a4=this[_0x51da93(0x3ab)][_0x51da93(0x183)][_0x51da93(0x385)](this['_compressMutationService']['interceptor'][_0x51da93(0x1e1)]()['COMPRESS_MUTATION_APPLY']);(_0x527ef0=_0x6445a4((_0x27fa54==null?void 0x0:_0x27fa54['mutations'])||[],null))==null||_0x527ef0[_0x51da93(0x24b)](_0x440155=>this[_0x51da93(0x401)][_0x51da93(0x19e)](_0x440155['id'],_0x440155[_0x51da93(0x1ec)])),(_0x14a652=_0x6445a4(_0xcd3281||[],null))==null||_0x14a652['forEach'](_0x288ff3=>this[_0x51da93(0x401)][_0x51da93(0x19e)](_0x288ff3['id'],_0x288ff3[_0x51da93(0x1ec)]));}};_0x5ce0f9=_0x4a339b([_0x3f6e97(0x3,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x3f6e97(0x4,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x3f6e97(0x5,_0x1ea985['Inject'](_0x1f6364['CompressMutationService'])),_0x3f6e97(0x6,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x279)])),_0x3f6e97(0x7,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x39d)])),_0x3f6e97(0x8,_0x592d59['ILogService']),_0x3f6e97(0x9,_0x592d59[_0x1000c0(0x131)]),_0x3f6e97(0xa,_0x2c52d3[_0x1000c0(0x411)]),_0x3f6e97(0xb,_0x592d59[_0x1000c0(0x378)]),_0x3f6e97(0xc,_0x1ea985[_0x1000c0(0x49e)](_0x1572dd))],_0x5ce0f9);let _0x297a49=class extends _0x5ce0f9{constructor(_0x2c77dd,_0x52080b,_0x23b02b,_0x5ce13b,_0x450662,_0x3db2d6,_0x2409e1,_0x1a47e0,_0x11b286,_0xf6109,_0xcace73,_0x2ea7a0,_0x466890,_0x487500,_0x4ce19a,_0xa83af7,_0x15a91d){const _0x7dbafb=_0x1000c0;super(_0x2c77dd,_0x52080b,_0x23b02b,_0x5ce13b,_0x450662,_0x3db2d6,_0x2409e1,_0x1a47e0,_0x466890,_0x487500,_0x4ce19a,_0xa83af7,_0x15a91d),this[_0x7dbafb(0x10f)]=_0x2c77dd,this[_0x7dbafb(0x49b)]=_0x52080b,this[_0x7dbafb(0x129)]=_0x23b02b,this['_docStateChangeManagerService']=_0x11b286,this[_0x7dbafb(0x177)]=_0xf6109,this[_0x7dbafb(0x1ea)]=_0xcace73,this[_0x7dbafb(0x23c)]=_0x2ea7a0;}[_0x1000c0(0x212)](){const _0x304753=_0x1000c0,_0x3b10ae=super['_createHandler']();return _0x3b10ae[_0x304753(0x19a)]=_0x1b87c8=>this[_0x304753(0x177)][_0x304753(0x3fe)](_0x1b87c8),_0x3b10ae[_0x304753(0x350)]=_0x1afd50=>this[_0x304753(0x1ea)][_0x304753(0x205)](_0x1afd50),_0x3b10ae[_0x304753(0x289)]=_0x4ae30e=>this['_docSyncEditingCollabCursorService'][_0x304753(0x43f)](_0x4ae30e),_0x3b10ae[_0x304753(0x454)]=_0x1fb03f=>this[_0x304753(0x177)][_0x304753(0x322)](_0x1fb03f),_0x3b10ae;}async[_0x1000c0(0x224)](){const _0x753183=_0x1000c0,_0x3efd3e=await super[_0x753183(0x224)]();return this[_0x753183(0x438)][_0x753183(0x394)][_0x753183(0x161)](_0x3c7a49['takeUntil'](this['dispose$']))['subscribe'](_0x533e39=>{const _0x166797=_0x753183;if(_0x533e39==null)return;const {unitId:_0x40b389,redoState:_0x5e92a7,commandId:_0x5693d8}=_0x533e39;if(_0x40b389!==this[_0x166797(0x10f)])return;const _0x323501={'id':_0x5693d8,'type':_0x592d59[_0x166797(0x137)][_0x166797(0x306)],'params':{'unitId':_0x40b389,'actions':_0x5e92a7[_0x166797(0x24f)],'textRanges':null}};this[_0x166797(0x24d)](_0x323501);}),_0x3efd3e;}};_0x297a49=_0x4a339b([_0x3f6e97(0x3,_0x1ea985['Inject'](_0x1ea985[_0x1000c0(0x3ee)])),_0x3f6e97(0x4,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x3f6e97(0x5,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x458)])),_0x3f6e97(0x6,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x279)])),_0x3f6e97(0x7,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x39d)])),_0x3f6e97(0x8,_0x1ea985['Inject'](_0x30cc49[_0x1000c0(0x45d)])),_0x3f6e97(0x9,_0x1ea985['Inject'](_0x38f511)),_0x3f6e97(0xa,_0x1ea985[_0x1000c0(0x368)](_0x12dda8)),_0x3f6e97(0xb,_0x1ea985[_0x1000c0(0x368)](_0x148177)),_0x3f6e97(0xc,_0x592d59[_0x1000c0(0x1ef)]),_0x3f6e97(0xd,_0x592d59[_0x1000c0(0x131)]),_0x3f6e97(0xe,_0x2c52d3['IMessageService']),_0x3f6e97(0xf,_0x592d59[_0x1000c0(0x378)]),_0x3f6e97(0x10,_0x1ea985[_0x1000c0(0x49e)](_0x1572dd))],_0x297a49);let _0x2f64ee=class extends _0x5ce0f9{constructor(_0x4f1cda,_0x1b02bd,_0x4c219e,_0x3ccfd3,_0x2273bc,_0x9ee289,_0x29cc4c,_0x278fcd,_0x1ef8ec,_0x13b525,_0x52fa1e,_0x1d5ea6,_0x169e83,_0x5d6686){const _0xeab006=_0x1000c0;super(_0x4f1cda,_0x1b02bd,_0x4c219e,_0x3ccfd3,_0x2273bc,_0x9ee289,_0x29cc4c,_0x278fcd,_0x13b525,_0x52fa1e,_0x1d5ea6,_0x169e83,_0x5d6686),this[_0xeab006(0x10f)]=_0x4f1cda,this[_0xeab006(0x49b)]=_0x1b02bd,this['session']=_0x4c219e,this[_0xeab006(0x19c)]=_0x1ef8ec;}[_0x1000c0(0x212)](){const _0x512644=_0x1000c0,_0x5218b8=super[_0x512644(0x212)]();return _0x5218b8[_0x512644(0x350)]=_0xb16e79=>this['_sheetTransformSelectionsService'][_0x512644(0x205)](_0xb16e79),_0x5218b8;}async[_0x1000c0(0x224)](){const _0xced038=_0x1000c0,_0x58487f=await super[_0xced038(0x224)]();return this[_0xced038(0x215)](this[_0xced038(0x401)]['onCommandExecuted']((_0x547863,_0x3a5d04)=>{const _0x5d7ff4=_0xced038;if(_0x547863[_0x5d7ff4(0x49b)]!==_0x592d59[_0x5d7ff4(0x137)][_0x5d7ff4(0x306)]||_0x3a5d04!=null&&_0x3a5d04[_0x5d7ff4(0x35d)]||_0x3a5d04!=null&&_0x3a5d04['onlyLocal'])return;const _0x52cf70=_0x547863[_0x5d7ff4(0x1ec)];if((_0x52cf70==null?void 0x0:_0x52cf70[_0x5d7ff4(0x29b)])!==this[_0x5d7ff4(0x10f)])return;const _0x15413a=_0x547863,_0x51ebcf=this[_0x5d7ff4(0x3ab)][_0x5d7ff4(0x183)][_0x5d7ff4(0x385)](this[_0x5d7ff4(0x3ab)][_0x5d7ff4(0x183)]['getInterceptPoints']()[_0x5d7ff4(0x1e8)])([_0x15413a],null)||[_0x15413a];this[_0x5d7ff4(0x24d)](_0x51ebcf[0x0]);})),_0x58487f;}};_0x2f64ee=_0x4a339b([_0x3f6e97(0x3,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x3f6e97(0x4,_0x1ea985['Inject'](_0x322d5b[_0x1000c0(0x24c)])),_0x3f6e97(0x5,_0x1ea985['Inject'](_0x1f6364['CompressMutationService'])),_0x3f6e97(0x6,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x279)])),_0x3f6e97(0x7,_0x1ea985[_0x1000c0(0x368)](_0x1f6364['RevisionService'])),_0x3f6e97(0x8,_0x1ea985[_0x1000c0(0x368)](_0x20fcca)),_0x3f6e97(0x9,_0x592d59[_0x1000c0(0x1ef)]),_0x3f6e97(0xa,_0x592d59[_0x1000c0(0x131)]),_0x3f6e97(0xb,_0x2c52d3[_0x1000c0(0x411)]),_0x3f6e97(0xc,_0x592d59[_0x1000c0(0x378)]),_0x3f6e97(0xd,_0x1ea985['Optional'](_0x1572dd))],_0x2f64ee);const _0x3c3633=[_0x1000c0(0x2cf),_0x1000c0(0x167),'verdancy600','red300','blue400',_0x1000c0(0x397)];class _0x3c16e5 extends _0x592d59[_0x1000c0(0x450)]{constructor(){const _0x6b5889=_0x1000c0;super(...arguments),_0x40dfd7(this,_0x6b5889(0x44f),new Map()),_0x40dfd7(this,_0x6b5889(0x14e),0x0);}[_0x1000c0(0x1b3)](_0x207163){const _0x3fc1b1=_0x1000c0;if(this[_0x3fc1b1(0x44f)]['has'](_0x207163))return this[_0x3fc1b1(0x44f)][_0x3fc1b1(0x1de)](_0x207163);const _0x1af538=_0x3c3633[this[_0x3fc1b1(0x14e)]];return this[_0x3fc1b1(0x14e)]=(this[_0x3fc1b1(0x14e)]+0x1)%_0x3c3633[_0x3fc1b1(0x1d8)],this[_0x3fc1b1(0x44f)][_0x3fc1b1(0x4c2)](_0x207163,_0x1af538),_0x1af538;}}var _0x2d4a4f=Object[_0x1000c0(0x1a1)],_0x41363a=Object[_0x1000c0(0x2d4)],_0x155778=(_0x2d937b,_0x2cc78f,_0x334214,_0x30fb2c)=>{for(var _0x1b83e9=_0x30fb2c>0x1?void 0x0:_0x30fb2c?_0x41363a(_0x2cc78f,_0x334214):_0x2cc78f,_0x14acb1=_0x2d937b['length']-0x1,_0x1e158a;_0x14acb1>=0x0;_0x14acb1--)(_0x1e158a=_0x2d937b[_0x14acb1])&&(_0x1b83e9=(_0x30fb2c?_0x1e158a(_0x2cc78f,_0x334214,_0x1b83e9):_0x1e158a(_0x1b83e9))||_0x1b83e9);return _0x30fb2c&&_0x1b83e9&&_0x2d4a4f(_0x2cc78f,_0x334214,_0x1b83e9),_0x1b83e9;},_0x4267db=(_0x5e067f,_0xb78c80)=>(_0x399a80,_0x138b3e)=>_0xb78c80(_0x399a80,_0x138b3e,_0x5e067f);const _0x4ef0b4=0x12c,_0x21eafd=0x64,_0x4d21de=()=>{let _0x1fb71d=[],_0x30fc76=!0x1;return _0x173a7b=>{const _0x4e055c=_0x492d;_0x1fb71d[_0x4e055c(0x1a6)](_0x173a7b),_0x30fc76||(_0x30fc76=!0x0,setTimeout(()=>{const _0x384c46=_0x4e055c;_0x1fb71d[_0x384c46(0x24b)](_0x137b11=>_0x137b11()),_0x1fb71d=[],_0x30fc76=!0x1;}));};};let _0xe51747=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0xd5fcb1,_0x15faa5,_0xc92e8a,_0xeeef91,_0x3e97c7,_0x49ad4e,_0x2e2637,_0x1ff06e){const _0x1f0fcf=_0x1000c0;super(),_0x40dfd7(this,_0x1f0fcf(0x37e),!0x1),_0x40dfd7(this,'_init',!0x1),_0x40dfd7(this,'_cursorInfo$',new _0x3c7a49['BehaviorSubject'](new Map())),_0x40dfd7(this,_0x1f0fcf(0x1ee),this[_0x1f0fcf(0x31d)][_0x1f0fcf(0x32c)]()),_0x40dfd7(this,_0x1f0fcf(0x40c),new _0x3c7a49[(_0x1f0fcf(0x35f))]([])),_0x40dfd7(this,'roomMembers$',this[_0x1f0fcf(0x40c)]['pipe'](_0x3c7a49['debounceTime'](_0x4ef0b4))),_0x40dfd7(this,'_updateLocalCursor',_0x5e5cd3((_0xf3a66e,_0x1607a5)=>{const _0x4ad294=_0x1f0fcf,_0x44c1f8={'eventID':_0x1f6364[_0x4ad294(0x159)][_0x4ad294(0x157)],'data':{'unitID':this[_0x4ad294(0x10f)],'memberID':this[_0x4ad294(0x3ae)][_0x4ad294(0x35c)](),'selection':_0x475fb6[_0x4ad294(0x35a)](_0xf3a66e,_0x1607a5[_0x4ad294(0x3ff)])}};this[_0x4ad294(0x3ae)][_0x4ad294(0x16a)](_0x44c1f8,this[_0x4ad294(0x10f)]);},_0x21eafd)),(this[_0x1f0fcf(0x10f)]=_0xd5fcb1,this['_session']=_0x15faa5,this[_0x1f0fcf(0x27f)]=_0xc92e8a,this[_0x1f0fcf(0x3e4)]=_0xeeef91,this[_0x1f0fcf(0x29e)]=_0x3e97c7,this[_0x1f0fcf(0x40b)]=_0x49ad4e,this['_commandService']=_0x2e2637,this[_0x1f0fcf(0x431)]=_0x1ff06e);}get[_0x1000c0(0x483)](){const _0x1c15f9=_0x1000c0;return this[_0x1c15f9(0x31d)]['getValue']();}get['roomMembers'](){const _0x19e482=_0x1000c0;return this['_roomMembers$'][_0x19e482(0x21e)]();}[_0x1000c0(0x36f)](){const _0x509d27=_0x1000c0;super['dispose'](),this[_0x509d27(0x31d)][_0x509d27(0x117)](new Map()),this[_0x509d27(0x31d)]['complete'](),this[_0x509d27(0x40c)][_0x509d27(0x117)]([]),this['_roomMembers$'][_0x509d27(0x4b5)]();}[_0x1000c0(0x150)](){const _0x3ebf6b=_0x1000c0;this['_init']||(this['_init']=!0x0,this[_0x3ebf6b(0x3ae)][_0x3ebf6b(0x2e0)]['pipe'](_0x3c7a49['takeUntil'](this[_0x3ebf6b(0x338)]))[_0x3ebf6b(0x42f)](_0x30d637=>{const _0x4a858b=_0x3ebf6b;_0x30d637===_0x28f044[_0x4a858b(0x243)]?this[_0x4a858b(0x473)]():this[_0x4a858b(0x15d)]();}),this[_0x3ebf6b(0x3ae)][_0x3ebf6b(0x253)][_0x3ebf6b(0x161)](_0x3c7a49[_0x3ebf6b(0x3ca)](this[_0x3ebf6b(0x338)]))[_0x3ebf6b(0x42f)](_0x6c024f=>{const _0x49e83a=_0x3ebf6b,_0xa8fd6d=_0x6c024f[_0x49e83a(0x263)];_0xa8fd6d===_0x1f6364[_0x49e83a(0x159)][_0x49e83a(0x157)]&&this['_onCursorUpdate'](_0x6c024f),_0xa8fd6d===_0x1f6364[_0x49e83a(0x159)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x6c024f);}),this[_0x3ebf6b(0x2ac)](),this['disposeWithMe'](this[_0x3ebf6b(0x401)][_0x3ebf6b(0x178)](_0x5a3578=>{const _0x5d6a1e=_0x3ebf6b;if(this['_online']&&_0x5a3578['id']===_0x5e4af3[_0x5d6a1e(0x4b6)]['id']&&_0x5a3578[_0x5d6a1e(0x1ec)]['unitId']===this[_0x5d6a1e(0x10f)]){const _0x3d6b2c=_0x5a3578['params'];this['_updateLocalCursor'](_0x3d6b2c[_0x5d6a1e(0x34f)],_0x3d6b2c[_0x5d6a1e(0x21d)][0x0]);}})));}[_0x1000c0(0x3d8)](_0x5d53ab){const _0x1934c6=_0x1000c0;var _0xf65a68,_0x473396;const {memberID:_0x1f08dd,selection:_0x4232ab}=_0x5d53ab[_0x1934c6(0x314)],{sheetName:_0xc34fb7,range:_0x550e8b}=_0x475fb6[_0x1934c6(0x2d9)](_0x4232ab),_0x4ec478={'name':(_0x473396=(_0xf65a68=this['_memberService'][_0x1934c6(0x1cc)](this[_0x1934c6(0x10f)],_0x1f08dd))==null?void 0x0:_0xf65a68[_0x1934c6(0x3e7)])!=null?_0x473396:_0x1934c6(0x2d0),'range':this['_getMergeRange'](_0xc34fb7,_0x550e8b),'sheetID':_0xc34fb7,'color':this['_colorAssignService'][_0x1934c6(0x1b3)](_0x1f08dd),'selection':_0x4232ab},_0x545442=this[_0x1934c6(0x483)];_0x545442[_0x1934c6(0x4c2)](_0x1f08dd,_0x4ec478),this[_0x1934c6(0x31d)][_0x1934c6(0x117)](_0x545442);}[_0x1000c0(0x37d)](_0x1b005c){const _0x26e60b=_0x1000c0,{memberID:_0x471d7d}=_0x1b005c['data'],_0x10a412=this['cursorInfo'];_0x10a412[_0x26e60b(0x234)](_0x471d7d),this[_0x26e60b(0x31d)][_0x26e60b(0x117)](_0x10a412);}['_getMergeRange'](_0x536c7d,_0x29355a){const _0x168f9f=_0x1000c0;var _0x177a19,_0x5d8564;const _0x1428e1=(_0x5d8564=(_0x177a19=this[_0x168f9f(0x40b)][_0x168f9f(0x332)](this[_0x168f9f(0x10f)]))==null?void 0x0:_0x177a19[_0x168f9f(0x1a9)](_0x536c7d))==null?void 0x0:_0x5d8564['getMergeData']();return(_0x1428e1==null?void 0x0:_0x1428e1['find'](_0x44e740=>_0x592d59['Rectangle'][_0x168f9f(0x339)](_0x44e740,_0x29355a)))||_0x29355a;}['_onRefRangeChange'](){const _0x1392da=_0x1000c0,_0x944d7=new _0x592d59['DisposableCollection'](),_0x22b9c1=_0x4d21de(),_0x1b8dad=()=>{const _0xaa26bc=_0x492d;_0x944d7[_0xaa26bc(0x36f)]();const _0x44d6a1=(_0x376ed4,_0x131eef,_0x44378a,_0x1a847f)=>{const _0x2325b0=_0xaa26bc;let _0x5aa981=[];switch(_0x376ed4['id']){case _0x5e4af3[_0x2325b0(0x3e3)][_0x2325b0(0x3cd)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x16f)](_0x376ed4,_0x1a847f);break;}case _0x5e4af3['EffectRefRangId'][_0x2325b0(0x184)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x2db)](_0x376ed4,_0x1a847f);break;}case _0x5e4af3['EffectRefRangId'][_0x2325b0(0x1a7)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x42e)](_0x376ed4,_0x1a847f);break;}case _0x5e4af3['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x5aa981=_0x5e4af3['handleInsertRangeMoveDown'](_0x376ed4,_0x1a847f);break;}case _0x5e4af3[_0x2325b0(0x3e3)][_0x2325b0(0x4d8)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x1e9)](_0x376ed4,_0x1a847f);break;}case _0x5e4af3[_0x2325b0(0x3e3)][_0x2325b0(0x169)]:{_0x5aa981=_0x5e4af3['handleInsertRow'](_0x376ed4,_0x1a847f);break;}case _0x5e4af3[_0x2325b0(0x3e3)][_0x2325b0(0x365)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x1d0)](_0x376ed4,_0x1a847f);break;}case _0x5e4af3[_0x2325b0(0x3e3)][_0x2325b0(0x4b9)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x3f0)](_0x376ed4,_0x1a847f);break;}case _0x5e4af3[_0x2325b0(0x3e3)][_0x2325b0(0x1cb)]:{_0x5aa981=_0x5e4af3[_0x2325b0(0x261)](_0x376ed4,_0x1a847f);break;}}const _0x4074f5=_0x5e4af3[_0x2325b0(0x1aa)](_0x5aa981,_0x1a847f),_0x3fb7ef=this[_0x2325b0(0x483)]['get'](_0x131eef);if(_0x3fb7ef&&_0x4074f5){const _0x137bb7={..._0x3fb7ef,'range':_0x4074f5};this[_0x2325b0(0x483)]['set'](_0x131eef,_0x137bb7),_0x22b9c1(()=>{const _0x3f51d3=_0x2325b0,_0x1dcbca=this[_0x3f51d3(0x431)][_0x3f51d3(0x345)](_0x4074f5,_0x438b24=>(_0x1dcbca['dispose'](),_0x44d6a1(_0x438b24,_0x131eef,_0x44378a,_0x4074f5)));_0x944d7[_0x3f51d3(0x290)](_0x1dcbca);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xaa26bc(0x24b)]((_0xd380b,_0x5dc3f7)=>{const _0x2932a4=_0xaa26bc,{range:_0x2b1201,sheetID:_0x9b5e0a}=_0xd380b,_0xda224e=this[_0x2932a4(0x431)]['registerRefRange'](_0x2b1201,_0x74d1c5=>(_0xda224e[_0x2932a4(0x36f)](),_0x44d6a1(_0x74d1c5,_0x5dc3f7,_0x9b5e0a,_0x2b1201)));_0x944d7[_0x2932a4(0x290)](_0xda224e);});};this[_0x1392da(0x215)](_0x592d59[_0x1392da(0x29f)](this[_0x1392da(0x31d)][_0x1392da(0x42f)](()=>{_0x1b8dad();})));}[_0x1000c0(0x473)](){const _0x518f76=_0x1000c0;var _0x2298e0,_0x13027e;if(this[_0x518f76(0x37e)]=!0x0,((_0x2298e0=this[_0x518f76(0x40b)]['getFocusedUnit']())==null?void 0x0:_0x2298e0[_0x518f76(0x270)]())!==this[_0x518f76(0x10f)])return;const _0x533a57=(_0x13027e=this[_0x518f76(0x27f)]['get'](_0x5e4af3[_0x518f76(0x471)])[_0x518f76(0x3bb)]())==null?void 0x0:_0x13027e[0x0],_0x4287de=this['_univerInstanceService']['getCurrentUnitForType'](_0x592d59['UniverInstanceType'][_0x518f76(0x149)])[_0x518f76(0x3c5)]();_0x533a57&&_0x4287de&&this[_0x518f76(0x468)](_0x4287de[_0x518f76(0x449)](),_0x533a57);}[_0x1000c0(0x15d)](){const _0x3799df=_0x1000c0;this[_0x3799df(0x37e)]=!0x1;}};_0xe51747=_0x155778([_0x4267db(0x2,_0x1ea985['Inject'](_0x1ea985[_0x1000c0(0x3ee)])),_0x4267db(0x3,_0x1ea985['Inject'](_0x3c16e5)),_0x4267db(0x4,_0x1ea985[_0x1000c0(0x368)](_0x2539c6)),_0x4267db(0x5,_0x592d59[_0x1000c0(0x305)]),_0x4267db(0x6,_0x592d59[_0x1000c0(0x131)]),_0x4267db(0x7,_0x1ea985['Inject'](_0x5e4af3[_0x1000c0(0x45a)]))],_0xe51747);var _0x47516f=Object[_0x1000c0(0x1a1)],_0x337b10=Object['getOwnPropertyDescriptor'],_0x266cfa=(_0x5db51f,_0x17b199,_0x374952,_0x5d8b6b)=>{const _0x372bbd=_0x1000c0;for(var _0xf36936=_0x5d8b6b>0x1?void 0x0:_0x5d8b6b?_0x337b10(_0x17b199,_0x374952):_0x17b199,_0x5a2cf1=_0x5db51f[_0x372bbd(0x1d8)]-0x1,_0x5cfca5;_0x5a2cf1>=0x0;_0x5a2cf1--)(_0x5cfca5=_0x5db51f[_0x5a2cf1])&&(_0xf36936=(_0x5d8b6b?_0x5cfca5(_0x17b199,_0x374952,_0xf36936):_0x5cfca5(_0xf36936))||_0xf36936);return _0x5d8b6b&&_0xf36936&&_0x47516f(_0x17b199,_0x374952,_0xf36936),_0xf36936;},_0x357b8a=(_0x4177c6,_0x52fcd2)=>(_0x540931,_0x3b8ab9)=>_0x52fcd2(_0x540931,_0x3b8ab9,_0x4177c6);const _0x4cba83=0x12c,_0x36c9e1=0x64;let _0x185328=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x243229,_0x32d829,_0x2f4a31,_0x47da7d,_0x67534,_0x43588f,_0x5a4b2a,_0x56e04b,_0x245a00){const _0x3df9b0=_0x1000c0;super(),_0x40dfd7(this,_0x3df9b0(0x37e),!0x1),_0x40dfd7(this,'_init',!0x1),_0x40dfd7(this,_0x3df9b0(0x31d),new _0x3c7a49[(_0x3df9b0(0x35f))](new Map())),_0x40dfd7(this,'cursorInfo$',this[_0x3df9b0(0x31d)][_0x3df9b0(0x32c)]()),_0x40dfd7(this,_0x3df9b0(0x40c),new _0x3c7a49[(_0x3df9b0(0x35f))]([])),_0x40dfd7(this,'roomMembers$',this[_0x3df9b0(0x40c)][_0x3df9b0(0x161)](_0x3c7a49[_0x3df9b0(0x37b)](_0x4cba83))),_0x40dfd7(this,_0x3df9b0(0x468),_0x5e5cd3(_0x19a9c2=>{const _0x45ad6c=_0x3df9b0,_0x5a9ee9={'eventID':_0x1f6364[_0x45ad6c(0x159)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x45ad6c(0x10f)],'memberID':this[_0x45ad6c(0x3ae)]['getMemberID'](),'selection':_0x3da729(_0x19a9c2)}};this[_0x45ad6c(0x3ae)][_0x45ad6c(0x16a)](_0x5a9ee9,this[_0x45ad6c(0x10f)]);},_0x36c9e1)),(this['unitID']=_0x243229,this['_session']=_0x32d829,this[_0x3df9b0(0x27f)]=_0x2f4a31,this[_0x3df9b0(0x3e4)]=_0x47da7d,this[_0x3df9b0(0x29e)]=_0x67534,this['_syncEditingCollabCursorService']=_0x43588f,this[_0x3df9b0(0x258)]=_0x5a4b2a,this['_univerInstanceService']=_0x56e04b,this['_commandService']=_0x245a00);}get['cursorInfo'](){const _0x277a77=_0x1000c0;return this[_0x277a77(0x31d)]['getValue']();}get[_0x1000c0(0x2a7)](){const _0xdc9959=_0x1000c0;return this[_0xdc9959(0x40c)]['getValue']();}[_0x1000c0(0x36f)](){const _0x5294c3=_0x1000c0;super[_0x5294c3(0x36f)](),this[_0x5294c3(0x31d)][_0x5294c3(0x117)](new Map()),this[_0x5294c3(0x31d)][_0x5294c3(0x4b5)](),this[_0x5294c3(0x40c)][_0x5294c3(0x117)]([]),this[_0x5294c3(0x40c)]['complete']();}[_0x1000c0(0x150)](){const _0x393d0f=_0x1000c0;this[_0x393d0f(0x224)]||(this[_0x393d0f(0x224)]=!0x0,this['_session'][_0x393d0f(0x2e0)][_0x393d0f(0x161)](_0x3c7a49['takeUntil'](this[_0x393d0f(0x338)]))[_0x393d0f(0x42f)](_0x4e7520=>{const _0x58edf5=_0x393d0f;_0x4e7520===_0x28f044[_0x58edf5(0x243)]?this[_0x58edf5(0x473)]():this[_0x58edf5(0x15d)]();}),this[_0x393d0f(0x3ae)][_0x393d0f(0x253)][_0x393d0f(0x161)](_0x3c7a49[_0x393d0f(0x3ca)](this[_0x393d0f(0x338)]))[_0x393d0f(0x42f)](_0x4bc98e=>{const _0x391fba=_0x393d0f,_0x4ee902=_0x4bc98e[_0x391fba(0x263)];_0x4ee902===_0x1f6364[_0x391fba(0x159)][_0x391fba(0x157)]&&this[_0x391fba(0x3d8)](_0x4bc98e),_0x4ee902===_0x1f6364[_0x391fba(0x159)][_0x391fba(0x133)]&&this[_0x391fba(0x37d)](_0x4bc98e);}),this[_0x393d0f(0x215)](this[_0x393d0f(0x401)][_0x393d0f(0x178)](_0x497159=>{const _0xcd10e3=_0x393d0f,_0x32ec81=_0x497159[_0xcd10e3(0x1ec)];_0x32ec81!=null&&this[_0xcd10e3(0x37e)]&&_0x497159['id']===_0x30cc49[_0xcd10e3(0x3df)]['id']&&_0x32ec81['unitId']===this[_0xcd10e3(0x10f)]&&_0x32ec81[_0xcd10e3(0x44a)]===!0x1&&this['_updateLocalCursor'](_0x32ec81[_0xcd10e3(0x1f1)]);})),this[_0x393d0f(0x260)][_0x393d0f(0x479)][_0x393d0f(0x161)](_0x3c7a49['takeUntil'](this[_0x393d0f(0x338)]))['subscribe'](_0x3b1eae=>{const _0x3370b4=_0x393d0f;if((_0x3b1eae==null?void 0x0:_0x3b1eae[_0x3370b4(0x10f)])!==this[_0x3370b4(0x10f)])return;const _0x2a88a2={'eventID':_0x1f6364[_0x3370b4(0x159)][_0x3370b4(0x157)],'data':_0x3b1eae};this[_0x3370b4(0x3d8)](_0x2a88a2);}),this['disposeWithMe'](this['_commandService'][_0x393d0f(0x178)](_0x484621=>{const _0x5a1aa8=_0x393d0f;if(_0x484621[_0x5a1aa8(0x1ec)]==null)return;const _0x3c705a=_0x484621[_0x5a1aa8(0x1ec)];if(_0x484621['id']!==_0x30cc49[_0x5a1aa8(0x48b)]['id']||_0x3c705a[_0x5a1aa8(0x29b)]!==this[_0x5a1aa8(0x10f)])return;const _0x16dd1b={'id':_0x5a1aa8(0x236),'params':_0x3c705a},_0x3f807b=this[_0x5a1aa8(0x483)];for(const [_0xe642af,_0x107d19]of _0x3f807b){const _0x279b5d={'id':_0x5a1aa8(0x236),'params':{'unitId':this[_0x5a1aa8(0x10f)],'actions':null,'textRanges':_0x107d19['ranges']}},_0x188153=this['_transformService'][_0x5a1aa8(0x2aa)](_0x16dd1b,_0x279b5d,!0x1);if(_0x1f6364[_0x5a1aa8(0x423)](_0x188153))throw _0x188153[_0x5a1aa8(0x343)];_0x3f807b[_0x5a1aa8(0x4c2)](_0xe642af,{..._0x107d19,'ranges':_0x188153[_0x5a1aa8(0x315)][_0x5a1aa8(0x1ec)][_0x5a1aa8(0x235)]});}queueMicrotask(()=>{const _0x1163e9=_0x5a1aa8;this['_cursorInfo$'][_0x1163e9(0x117)](_0x3f807b);});})));}[_0x1000c0(0x3d8)](_0x164b87){const _0x5bb543=_0x1000c0;var _0x214cbb,_0x54ac18;const {memberID:_0x4b572d,selection:_0x347efb}=_0x164b87['data'],_0x2d2a64=_0x23b46f(_0x347efb),_0xaa9d20=(_0x54ac18=(_0x214cbb=this['_memberService'][_0x5bb543(0x1cc)](this['unitID'],_0x4b572d))==null?void 0x0:_0x214cbb[_0x5bb543(0x3e7)])!=null?_0x54ac18:_0x5bb543(0x2d0),_0x47f45f={'color':this[_0x5bb543(0x3e4)][_0x5bb543(0x1b3)](_0x4b572d),'name':_0xaa9d20,'ranges':_0x2d2a64},_0x394ca0=this[_0x5bb543(0x483)];_0x394ca0['set'](_0x4b572d,_0x47f45f),this['_cursorInfo$'][_0x5bb543(0x117)](_0x394ca0);}['_onCursorDelete'](_0x3f5ec2){const _0xbea08a=_0x1000c0,{memberID:_0x181f22}=_0x3f5ec2[_0xbea08a(0x314)],_0x440e0e=this[_0xbea08a(0x483)];_0x440e0e[_0xbea08a(0x234)](_0x181f22),this['_cursorInfo$'][_0xbea08a(0x117)](_0x440e0e);}[_0x1000c0(0x473)](){const _0x56f710=_0x1000c0;var _0x5885bc;if(this[_0x56f710(0x37e)]=!0x0,((_0x5885bc=this[_0x56f710(0x40b)][_0x56f710(0x1bb)]())==null?void 0x0:_0x5885bc[_0x56f710(0x270)]())!==this[_0x56f710(0x10f)])return;const _0x597b4e=this[_0x56f710(0x27f)][_0x56f710(0x1de)](_0x30cc49[_0x56f710(0x4c0)])[_0x56f710(0x3bb)](),_0x1df1ca=_0x597b4e==null?void 0x0:_0x597b4e['map'](_0x30cc49[_0x56f710(0x174)]);Array[_0x56f710(0x40e)](_0x1df1ca)&&_0x1df1ca['length']>0x0&&this[_0x56f710(0x468)](_0x1df1ca);}['_toggleOffline'](){const _0x5e804c=_0x1000c0;this[_0x5e804c(0x37e)]=!0x1;}};_0x185328=_0x266cfa([_0x357b8a(0x2,_0x1ea985[_0x1000c0(0x368)](_0x1ea985['Injector'])),_0x357b8a(0x3,_0x1ea985[_0x1000c0(0x368)](_0x3c16e5)),_0x357b8a(0x4,_0x1ea985[_0x1000c0(0x368)](_0x2539c6)),_0x357b8a(0x5,_0x1ea985[_0x1000c0(0x368)](_0x148177)),_0x357b8a(0x6,_0x1f6364[_0x1000c0(0x34e)]),_0x357b8a(0x7,_0x592d59[_0x1000c0(0x305)]),_0x357b8a(0x8,_0x592d59[_0x1000c0(0x131)])],_0x185328);var _0x29d5c9=Object[_0x1000c0(0x1a1)],_0x1254f6=Object['getOwnPropertyDescriptor'],_0x2a1fda=(_0x1b20ab,_0x1ea602,_0x506212,_0x4fb5f3)=>{const _0x421f76=_0x1000c0;for(var _0x1b98c0=_0x4fb5f3>0x1?void 0x0:_0x4fb5f3?_0x1254f6(_0x1ea602,_0x506212):_0x1ea602,_0x5ac6c6=_0x1b20ab[_0x421f76(0x1d8)]-0x1,_0x1a3ab6;_0x5ac6c6>=0x0;_0x5ac6c6--)(_0x1a3ab6=_0x1b20ab[_0x5ac6c6])&&(_0x1b98c0=(_0x4fb5f3?_0x1a3ab6(_0x1ea602,_0x506212,_0x1b98c0):_0x1a3ab6(_0x1b98c0))||_0x1b98c0);return _0x4fb5f3&&_0x1b98c0&&_0x29d5c9(_0x1ea602,_0x506212,_0x1b98c0),_0x1b98c0;},_0x28d58d=(_0x1c2347,_0x5444c5)=>(_0x524189,_0x301456)=>_0x5444c5(_0x524189,_0x301456,_0x1c2347);let _0xc137f8=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x40a6d9,_0x82539f,_0x47046a){const _0x10d16c=_0x1000c0;super(),_0x40dfd7(this,_0x10d16c(0x2ce),new Map()),_0x40dfd7(this,'_entityInit$',new _0x3c7a49['Subject']()),(this[_0x10d16c(0x40b)]=_0x40a6d9,this[_0x10d16c(0x27f)]=_0x82539f,this[_0x10d16c(0x2c8)]=_0x47046a,this[_0x10d16c(0x224)]());}[_0x1000c0(0x36f)](){const _0x31b9cb=_0x1000c0;super[_0x31b9cb(0x36f)](),this[_0x31b9cb(0x38b)][_0x31b9cb(0x4b5)](),this[_0x31b9cb(0x2ce)][_0x31b9cb(0x24b)](_0x2f8487=>_0x2f8487[_0x31b9cb(0x36f)]());}[_0x1000c0(0x2e1)](_0x5cae1c){const _0x5176ba=_0x1000c0;return this['_entities'][_0x5176ba(0x321)](_0x5cae1c)?this[_0x5176ba(0x2ce)]['get'](_0x5cae1c)[_0x5176ba(0x1ee)]:this['_entityInit$'][_0x5176ba(0x161)](_0x3c7a49[_0x5176ba(0x3d5)](_0x5acace=>_0x5acace['unitID']===_0x5cae1c),_0x3c7a49[_0x5176ba(0x32b)](_0x588845=>_0x588845[_0x5176ba(0x1ee)]));}[_0x1000c0(0x224)](){const _0x34f52b=_0x1000c0;this['_univerInstanceService'][_0x34f52b(0x13e)](_0x592d59[_0x34f52b(0x1b5)][_0x34f52b(0x149)])[_0x34f52b(0x161)](_0x3c7a49[_0x34f52b(0x3ca)](this[_0x34f52b(0x338)]))[_0x34f52b(0x42f)](async _0x2e61db=>{const _0x1656ea=_0x34f52b,_0xfedccb=_0x2e61db[_0x1656ea(0x270)](),_0x5095af=await this[_0x1656ea(0x3a1)](_0xfedccb);this[_0x1656ea(0x38b)][_0x1656ea(0x117)](_0x5095af),this[_0x1656ea(0x2ce)]['set'](_0xfedccb,_0x5095af);}),this[_0x34f52b(0x40b)][_0x34f52b(0x13e)](_0x592d59[_0x34f52b(0x1b5)]['UNIVER_DOC'])['pipe'](_0x3c7a49[_0x34f52b(0x3ca)](this[_0x34f52b(0x338)]))[_0x34f52b(0x161)](_0x3c7a49[_0x34f52b(0x3d5)](_0x488e3a=>!_0x488e3a['getUnitId']()['startsWith']('__')))[_0x34f52b(0x42f)](async _0x8aed7d=>{const _0x54cee0=_0x34f52b,_0x10bd27=_0x8aed7d['getUnitId'](),_0x2f7d23=await this['_startDocCollabCursor'](_0x10bd27);this[_0x54cee0(0x38b)][_0x54cee0(0x117)](_0x2f7d23),this[_0x54cee0(0x2ce)]['set'](_0x10bd27,_0x2f7d23);}),_0x3c7a49['merge'](this[_0x34f52b(0x40b)]['getTypeOfUnitDisposed$'](_0x592d59[_0x34f52b(0x1b5)]['UNIVER_DOC']),this[_0x34f52b(0x40b)][_0x34f52b(0x341)](_0x592d59[_0x34f52b(0x1b5)][_0x34f52b(0x149)]))[_0x34f52b(0x161)](_0x3c7a49[_0x34f52b(0x3ca)](this[_0x34f52b(0x338)]))[_0x34f52b(0x42f)](_0x3fe220=>{const _0x16d675=_0x34f52b,_0x55aeb5=_0x3fe220['getUnitId'](),_0x3fd31e=this['_entities'][_0x16d675(0x1de)](_0x55aeb5);_0x3fd31e&&(_0x3fd31e[_0x16d675(0x36f)](),this[_0x16d675(0x2ce)]['delete'](_0x55aeb5));});}async['_startSheetCollabCursor'](_0x58552f){const _0x367b11=_0x1000c0,_0x6fb22d=await this[_0x367b11(0x2c8)][_0x367b11(0x1c2)](_0x58552f),_0x2ac195=this[_0x367b11(0x27f)][_0x367b11(0x134)](_0xe51747,_0x58552f,_0x6fb22d);return _0x2ac195[_0x367b11(0x150)](),_0x2ac195;}async[_0x1000c0(0x28e)](_0x1ba18d){const _0x5d2e50=_0x1000c0,_0xadc18c=await this['_collabSessionService'][_0x5d2e50(0x1c2)](_0x1ba18d),_0xcc4de3=this['_injector']['createInstance'](_0x185328,_0x1ba18d,_0xadc18c);return _0xcc4de3[_0x5d2e50(0x150)](),_0xcc4de3;}};_0xc137f8=_0x2a1fda([_0x592d59[_0x1000c0(0x47b)](_0x592d59['LifecycleStages']['Starting'],_0xc137f8),_0x28d58d(0x0,_0x592d59[_0x1000c0(0x305)]),_0x28d58d(0x1,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)])),_0x28d58d(0x2,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x272)]))],_0xc137f8);const _0x201da5=0x14,_0x4e31bd=0xc8,_0x43b144=0x4,_0x388cb9=0x5;function _0x2eccfe(_0x3f07d1,_0x5df09c){const _0x16f816=_0x1000c0;let {radius:_0x4bb854,width:_0xaed3ec,height:_0x21eb56}=_0x5df09c;_0x4bb854=_0x4bb854!=null?_0x4bb854:0x0,_0xaed3ec=_0xaed3ec!=null?_0xaed3ec:0x1e,_0x21eb56=_0x21eb56!=null?_0x21eb56:0x1e;let _0x3978f0=0x0,_0x6f3261=0x0,_0x3fab82=0x0;_0x3978f0=_0x6f3261=_0x3fab82=Math[_0x16f816(0x42d)](_0x4bb854,_0xaed3ec/0x2,_0x21eb56/0x2),_0x3f07d1[_0x16f816(0x3b1)](),_0x3f07d1[_0x16f816(0x2e7)](_0x3978f0,0x0),_0x3f07d1['lineTo'](_0xaed3ec-_0x6f3261,0x0),_0x3f07d1['arc'](_0xaed3ec-_0x6f3261,_0x6f3261,_0x6f3261,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f07d1[_0x16f816(0xfb)](_0xaed3ec,_0x21eb56-_0x3fab82),_0x3f07d1[_0x16f816(0x1f4)](_0xaed3ec-_0x3fab82,_0x21eb56-_0x3fab82,_0x3fab82,0x0,Math['PI']/0x2,!0x1),_0x3f07d1[_0x16f816(0xfb)](0x0,_0x21eb56),_0x3f07d1[_0x16f816(0xfb)](0x0,_0x3978f0),_0x3f07d1['arc'](_0x3978f0,_0x3978f0,_0x3978f0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f07d1[_0x16f816(0x43b)](),_0x5df09c[_0x16f816(0x15e)]&&(_0x3f07d1[_0x16f816(0x26c)](),_0x3f07d1[_0x16f816(0x48f)]=_0x5df09c[_0x16f816(0x15e)],_0x5df09c[_0x16f816(0x268)]===_0x16f816(0x308)?_0x3f07d1[_0x16f816(0x15e)](_0x16f816(0x308)):_0x3f07d1['fill'](),_0x3f07d1[_0x16f816(0x100)]());}class _0x49ec11 extends _0x5c59d0[_0x1000c0(0x208)]{constructor(_0x4f017e,_0x4f13fc){const _0x47627b=_0x1000c0;super(_0x4f017e,_0x4f13fc),_0x40dfd7(this,_0x47627b(0x2a0)),_0x40dfd7(this,'text'),(this['color']=_0x4f13fc==null?void 0x0:_0x4f13fc[_0x47627b(0x2a0)],this[_0x47627b(0x229)]=_0x4f13fc==null?void 0x0:_0x4f13fc[_0x47627b(0x229)]);}static[_0x1000c0(0x3b6)](_0x3727a9,_0x595209){const _0x3372fc=_0x1000c0,{text:_0x4c4888,color:_0x427f32}=_0x595209;_0x3727a9['save'](),_0x3727a9[_0x3372fc(0x1f8)]=_0x3372fc(0x1b2);const _0x484c1f=_0x3727a9[_0x3372fc(0x3f1)](_0x4c4888)[_0x3372fc(0x464)],_0x31a380=Math['min'](_0x484c1f+0x2*_0x43b144,_0x4e31bd);_0x2eccfe(_0x3727a9,{'height':_0x201da5,'radius':0x4,'width':_0x31a380,'fill':_0x427f32,'evented':!0x1}),_0x3727a9[_0x3372fc(0x48f)]=_0x3372fc(0x121);const _0x424e21=_0x43b144,_0x900bbd=_0x201da5-_0x388cb9,_0xe22e80=_0x4e31bd-0x2*_0x43b144;if(_0x484c1f>_0xe22e80){let _0x7fcdc6='',_0x312ef8=0x0;for(const _0x1ffcaf of _0x4c4888){const _0xe67b42=_0x3727a9['measureText'](_0x1ffcaf)['width'];if(_0x312ef8+_0xe67b42<=_0xe22e80-_0x3727a9[_0x3372fc(0x3f1)](_0x3372fc(0x301))[_0x3372fc(0x464)])_0x7fcdc6+=_0x1ffcaf,_0x312ef8+=_0xe67b42;else{_0x7fcdc6+='...';break;}}_0x3727a9[_0x3372fc(0x4c5)](_0x7fcdc6,_0x424e21,_0x900bbd);}else _0x3727a9['fillText'](_0x4c4888,_0x424e21,_0x900bbd);_0x3727a9[_0x3372fc(0x100)]();}[_0x1000c0(0x120)](_0x59c933){const _0x5534a3=_0x1000c0;_0x49ec11[_0x5534a3(0x3b6)](_0x59c933,this);}}const _0x70a7a7=0x1,_0x57c3e4=1.5;class _0x276b4c extends _0x5c59d0[_0x1000c0(0x208)]{constructor(_0x21ecee,_0x5b7880){const _0x4292db=_0x1000c0;super(_0x21ecee,_0x5b7880),_0x40dfd7(this,_0x4292db(0x4a1)),_0x40dfd7(this,_0x4292db(0x24e),!0x1),_0x40dfd7(this,_0x4292db(0x36e)),_0x40dfd7(this,_0x4292db(0x249),''),_0x40dfd7(this,_0x4292db(0x3c3),_0x4292db(0x43d)),(_0x5b7880&&this[_0x4292db(0x459)](_0x5b7880),this[_0x4292db(0x2e4)][_0x4292db(0x2ea)](()=>this[_0x4292db(0x459)]({'hovered':!0x0})),this[_0x4292db(0x2c0)][_0x4292db(0x2ea)](()=>this[_0x4292db(0x459)]({'hovered':!0x1})));}[_0x1000c0(0x459)](_0x29e8fd){const _0x1602e6=_0x1000c0;var _0x1db54e,_0x40e08a,_0x53dd43,_0x2ff3b2,_0x222ba3;this[_0x1602e6(0x4a1)]=(_0x1db54e=_0x29e8fd['color'])!=null?_0x1db54e:this[_0x1602e6(0x4a1)],this[_0x1602e6(0x24e)]=(_0x40e08a=_0x29e8fd[_0x1602e6(0x448)])!=null?_0x40e08a:this[_0x1602e6(0x24e)],this[_0x1602e6(0x36e)]=(_0x53dd43=_0x29e8fd[_0x1602e6(0x3ff)])!=null?_0x53dd43:this[_0x1602e6(0x36e)],this['_name']=(_0x2ff3b2=_0x29e8fd[_0x1602e6(0x3e7)])!=null?_0x2ff3b2:this[_0x1602e6(0x249)],this['_labelPosition']=(_0x222ba3=_0x29e8fd[_0x1602e6(0x42c)])!=null?_0x222ba3:this['_labelPosition'],this[_0x1602e6(0x48a)]({'width':_0x29e8fd[_0x1602e6(0x464)],'height':_0x29e8fd['height']});}[_0x1000c0(0x191)](_0x20211c){const _0x1461b9=_0x1000c0,{row:_0x390434,column:_0x2b285b}=_0x20211c;if(_0x390434>=this['_range'][_0x1461b9(0x22f)]&&_0x390434<=this[_0x1461b9(0x36e)][_0x1461b9(0x34d)]&&_0x2b285b>=this[_0x1461b9(0x36e)][_0x1461b9(0x4cd)]&&_0x2b285b<=this[_0x1461b9(0x36e)][_0x1461b9(0x101)]){this[_0x1461b9(0x459)]({'hovered':!0x0});return;}this[_0x1461b9(0x459)]({'hovered':!0x1});}[_0x1000c0(0x31b)](_0x42947f){return!0x1;}[_0x1000c0(0x120)](_0x2adcf6){const _0x23e4ca=_0x1000c0;_0x5c59d0[_0x23e4ca(0x29c)]['drawWith'](_0x2adcf6,{'width':this[_0x23e4ca(0x464)],'height':this[_0x23e4ca(0x1ac)],'strokeWidth':_0x57c3e4,'stroke':this[_0x23e4ca(0x4a1)],'evented':!0x1}),this['_hovered']&&(_0x2adcf6[_0x23e4ca(0x26c)](),_0x2adcf6['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x23e4ca(0x3c3)]==='bottom'?0x0:-_0x201da5),_0x49ec11['drawWith'](_0x2adcf6,{'text':this[_0x23e4ca(0x249)],'color':this['_color']}),_0x2adcf6[_0x23e4ca(0x100)]());}}var _0x100b22=Object[_0x1000c0(0x1a1)],_0x5caa41=Object[_0x1000c0(0x2d4)],_0x484bcc=(_0x499e45,_0x17da96,_0x21d558,_0x1ad29f)=>{const _0x18cfd3=_0x1000c0;for(var _0x391c35=_0x1ad29f>0x1?void 0x0:_0x1ad29f?_0x5caa41(_0x17da96,_0x21d558):_0x17da96,_0x14d08e=_0x499e45[_0x18cfd3(0x1d8)]-0x1,_0x44962c;_0x14d08e>=0x0;_0x14d08e--)(_0x44962c=_0x499e45[_0x14d08e])&&(_0x391c35=(_0x1ad29f?_0x44962c(_0x17da96,_0x21d558,_0x391c35):_0x44962c(_0x391c35))||_0x391c35);return _0x1ad29f&&_0x391c35&&_0x100b22(_0x17da96,_0x21d558,_0x391c35),_0x391c35;},_0x52c193=(_0x32d6c3,_0x1e271f)=>(_0x48a7c4,_0x2d29e1)=>_0x1e271f(_0x48a7c4,_0x2d29e1,_0x32d6c3);const _0x1874ac=0x1389;let _0x480b36=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x3734a8,_0x5d5125,_0x240bfe,_0x194600){const _0x40b99d=_0x1000c0;super(),_0x40dfd7(this,'_cursors',new Set()),_0x40dfd7(this,_0x40b99d(0x3f7),null),(this['_collabCursorController']=_0x3734a8,this[_0x40b99d(0x40b)]=_0x5d5125,this['_renderManagerService']=_0x240bfe,this[_0x40b99d(0x478)]=_0x194600,this[_0x40b99d(0x224)]());}get[_0x1000c0(0x4a0)](){const _0x309b17=_0x1000c0;return this['_renderManagerService'][_0x309b17(0x126)](this['_univerInstanceService']['getCurrentUnitForType'](_0x592d59['UniverInstanceType'][_0x309b17(0x149)])[_0x309b17(0x270)]())['with'](_0x1c3859[_0x309b17(0x363)]);}get[_0x1000c0(0x34c)](){const _0x2264dc=_0x1000c0;return this[_0x2264dc(0x40b)]['getCurrentUnitForType'](_0x592d59[_0x2264dc(0x1b5)][_0x2264dc(0x149)])[_0x2264dc(0x270)]();}[_0x1000c0(0x224)](){const _0x4416fb=_0x1000c0;this[_0x4416fb(0x4a0)][_0x4416fb(0x1d1)][_0x4416fb(0x161)](_0x39f29f[_0x4416fb(0x3ca)](this[_0x4416fb(0x338)]),_0x39f29f[_0x4416fb(0x32b)](_0x22658b=>{const _0x1806fb=_0x4416fb;if(_0x22658b){const _0x184199=_0x22658b[_0x1806fb(0x154)];return _0x3c7a49[_0x1806fb(0x303)](this[_0x1806fb(0x3eb)][_0x1806fb(0x2e1)](this[_0x1806fb(0x34c)]),this[_0x1806fb(0x478)][_0x1806fb(0x1a4)])[_0x1806fb(0x161)](_0x39f29f[_0x1806fb(0x1f5)](([_0x4a9bca,_0x11f6f1])=>{const _0x3eacec=new Map();return _0x4a9bca['forEach']((_0x327b3b,_0x49beff)=>{const _0x4d46e0=_0x492d;if(_0x327b3b[_0x4d46e0(0x1c6)]===_0x184199){const _0x782143={..._0x327b3b};_0x782143[_0x4d46e0(0x2a0)]=_0x11f6f1[_0x327b3b[_0x4d46e0(0x2a0)]],_0x3eacec['set'](_0x49beff,_0x782143);}}),{'skeleton':_0x22658b,'cursors':_0x3eacec};}));}return _0x3c7a49['of']({'skeleton':null,'cursors':new Map()});}))[_0x4416fb(0x42f)](({skeleton:_0x416c87,cursors:_0x41c5d4})=>{const _0x171e85=_0x4416fb;this[_0x171e85(0x4c9)](),_0x416c87&&this[_0x171e85(0x2e2)](_0x416c87,_0x41c5d4);}),this['_sheetSkeletonManagerService'][_0x4416fb(0x1d1)][_0x4416fb(0x42f)](_0x5d84e0=>{const _0x42f85f=_0x4416fb;if(_0x5d84e0==null)return;const {skeleton:_0x1f29de}=_0x5d84e0,_0x3a5fd2=this['_renderManagerService'][_0x42f85f(0x126)](this[_0x42f85f(0x34c)]),{scene:_0x44fcf5}=_0x3a5fd2;_0x44fcf5['onPointerMove$'][_0x42f85f(0x2ea)](_0x5e5cd3(_0x1a9982=>{const _0x2f0665=_0x42f85f;var _0x33ace5,_0xf2977;const {offsetX:_0x2b5b04,offsetY:_0x3d1e7d}=_0x1a9982,{x:_0x57d96f,y:_0x1b3b0f}=_0x44fcf5[_0x2f0665(0x29d)](_0x5c59d0[_0x2f0665(0x104)]['FromArray']([_0x2b5b04,_0x3d1e7d])),{scaleX:_0x5f2f47,scaleY:_0x3509fd}=_0x44fcf5[_0x2f0665(0x3e9)](),_0x39bfdf=_0x44fcf5[_0x2f0665(0x136)](_0x1c3859[_0x2f0665(0x3a7)][_0x2f0665(0x245)]),_0x249852=_0x44fcf5['getScrollXYByRelativeCoords'](_0x5c59d0[_0x2f0665(0x104)][_0x2f0665(0x3d0)]([_0x57d96f,_0x1b3b0f]),_0x39bfdf),_0x4ad695=_0x1f29de[_0x2f0665(0x25c)](_0x2b5b04,_0x3d1e7d,_0x5f2f47,_0x3509fd,_0x249852);((_0x33ace5=this[_0x2f0665(0x3f7)])==null?void 0x0:_0x33ace5[_0x2f0665(0x273)])===_0x4ad695['column']&&((_0xf2977=this[_0x2f0665(0x3f7)])==null?void 0x0:_0xf2977['row'])===_0x4ad695[_0x2f0665(0x225)]||this[_0x2f0665(0x20e)]['forEach'](_0x1faefa=>{const _0x8a1c0e=_0x2f0665;_0x1faefa[_0x8a1c0e(0x191)](_0x4ad695);});},0x64));});}['_updateCollabCursors'](_0x55013e,_0x5caa2d){const _0x441448=_0x1000c0;var _0x534d88;const _0x5e9842=(_0x534d88=this[_0x441448(0x4a0)][_0x441448(0x1af)]())==null?void 0x0:_0x534d88[_0x441448(0x43c)];if(!_0x5e9842)return;const _0x8eb5a7=this[_0x441448(0x4c7)]();if(!_0x8eb5a7)return;this[_0x441448(0x20e)][_0x441448(0x24b)](_0x7111b6=>{const _0x1e3914=_0x441448;_0x7111b6[_0x1e3914(0xf9)]();});const {scene:_0x1b61d5}=_0x8eb5a7,_0x43b33c=_0x4b98c3(Array['from'](_0x5caa2d[_0x441448(0x38c)]()))[_0x441448(0x1f5)](_0x597265=>{const _0xeff27c=_0x441448,{color:_0x1637ed,range:_0x230389,name:_0xa650b2,selection:_0x4bed5a,sheetID:_0xb2dd68}=_0x597265,{startColumn:_0x424e5b,startRow:_0x28b857,endColumn:_0x4de3e3,endRow:_0x4dc91f}=_0x230389,_0x205a1e=_0x1c3859[_0xeff27c(0x295)](_0x28b857,_0x424e5b,_0x1b61d5,_0x5e9842),_0x1192a1=_0x1c3859['getCoordByCell'](_0x4dc91f,_0x4de3e3,_0x1b61d5,_0x5e9842),{columnHeaderHeightAndMarginTop:_0x2fe39d}=_0x5e9842,{startX:_0x1f39b7,startY:_0x5a44d7}=_0x205a1e,{endX:_0x5171c3,endY:_0x15cc5a}=_0x1192a1,_0xfc9944=_0x5171c3-_0x1f39b7,_0x57c518=_0x15cc5a-_0x5a44d7,_0x41ec67={'labelPosition':_0x5a44d7-_0x2fe39d>=_0x201da5?_0xeff27c(0x43d):_0xeff27c(0x334),'sheetID':_0xb2dd68,'range':_0x230389,'color':_0x1637ed,'name':_0xa650b2,'selection':_0x4bed5a,'left':_0x1f39b7,'top':_0x5a44d7,'width':_0xfc9944,'height':_0x57c518,'evented':!0x1,'zIndex':_0x1874ac};return new _0x276b4c(_0xa650b2,_0x41ec67);});_0x1b61d5[_0x441448(0x15b)](_0x43b33c,_0x70a7a7),this['_cursors']=new Set(_0x43b33c);}[_0x1000c0(0x4c9)](){const _0x15eeee=_0x1000c0;var _0x3f28d3;(_0x3f28d3=this['_cursors'])==null||_0x3f28d3[_0x15eeee(0x24b)](_0x389a37=>_0x389a37[_0x15eeee(0x36f)]());}[_0x1000c0(0x4c7)](){const _0x5b5990=_0x1000c0;return _0x1c3859[_0x5b5990(0x132)](this['_univerInstanceService'],this['_renderManagerService']);}};_0x480b36=_0x484bcc([_0x592d59[_0x1000c0(0x47b)](_0x592d59[_0x1000c0(0x1c7)][_0x1000c0(0x4cf)],_0x480b36),_0x52c193(0x0,_0x1ea985[_0x1000c0(0x368)](_0xc137f8)),_0x52c193(0x1,_0x592d59[_0x1000c0(0x305)]),_0x52c193(0x2,_0x5c59d0[_0x1000c0(0x36a)]),_0x52c193(0x3,_0x1ea985[_0x1000c0(0x368)](_0x592d59['ThemeService']))],_0x480b36);function _0x4b98c3(_0x5ed0ef){const _0x322a11=_0x1000c0,_0x5aa7c8=new Map();return _0x5ed0ef['forEach'](_0x5a8782=>{const _0x1379e5=_0x492d;if(_0x5aa7c8['has'](_0x5a8782['selection'])){const _0x2926db=_0x5aa7c8[_0x1379e5(0x1de)](_0x5a8782[_0x1379e5(0x426)]);_0x2926db[_0x1379e5(0x3e7)]+=',\x20'+_0x5a8782[_0x1379e5(0x3e7)];}else _0x5aa7c8[_0x1379e5(0x4c2)](_0x5a8782['selection'],_0x5a8782);}),Array[_0x322a11(0x485)](_0x5aa7c8['values']());}var _0x4031a5=function(){const _0x25b3b4=_0x1000c0;return _0x4031a5=Object[_0x25b3b4(0x2e9)]||function(_0x3e9d6a){const _0x48074a=_0x25b3b4;for(var _0x293862,_0x4dad57=0x1,_0x1e04ea=arguments[_0x48074a(0x1d8)];_0x4dad57<_0x1e04ea;_0x4dad57++){_0x293862=arguments[_0x4dad57];for(var _0xceaa3a in _0x293862)Object[_0x48074a(0x389)][_0x48074a(0x282)]['call'](_0x293862,_0xceaa3a)&&(_0x3e9d6a[_0xceaa3a]=_0x293862[_0xceaa3a]);}return _0x3e9d6a;},_0x4031a5[_0x25b3b4(0x3f2)](this,arguments);},_0x4170ad=function(_0xdbc321,_0x1e9bbf){const _0x32f1c3=_0x1000c0;var _0x59889a={};for(var _0x3ebb51 in _0xdbc321)Object[_0x32f1c3(0x389)]['hasOwnProperty'][_0x32f1c3(0x266)](_0xdbc321,_0x3ebb51)&&_0x1e9bbf[_0x32f1c3(0x2ee)](_0x3ebb51)<0x0&&(_0x59889a[_0x3ebb51]=_0xdbc321[_0x3ebb51]);if(_0xdbc321!=null&&typeof Object[_0x32f1c3(0x481)]==_0x32f1c3(0x452)){for(var _0x42fe6e=0x0,_0x3ebb51=Object[_0x32f1c3(0x481)](_0xdbc321);_0x42fe6e<_0x3ebb51[_0x32f1c3(0x1d8)];_0x42fe6e++)_0x1e9bbf[_0x32f1c3(0x2ee)](_0x3ebb51[_0x42fe6e])<0x0&&Object[_0x32f1c3(0x389)]['propertyIsEnumerable'][_0x32f1c3(0x266)](_0xdbc321,_0x3ebb51[_0x42fe6e])&&(_0x59889a[_0x3ebb51[_0x42fe6e]]=_0xdbc321[_0x3ebb51[_0x42fe6e]]);}return _0x59889a;},_0x5ad723=_0x4f6c5c[_0x1000c0(0x3cc)](function(_0x981d42,_0x20b660){const _0x3528c0=_0x1000c0;var _0x47144d=_0x981d42[_0x3528c0(0x3ec)],_0x2d483d=_0x981d42['id'],_0x30d4be=_0x981d42[_0x3528c0(0x3de)],_0x4f1ff8=_0x981d42[_0x3528c0(0x2c1)],_0x5ce6d3=_0x4170ad(_0x981d42,['icon','id',_0x3528c0(0x3de),_0x3528c0(0x2c1)]),_0x23936b=_0x3528c0(0x3da)[_0x3528c0(0x328)](_0x2d483d,'\x20')['concat'](_0x30d4be||'')[_0x3528c0(0x453)](),_0x38fb18=_0x4f6c5c[_0x3528c0(0x11a)]('_'[_0x3528c0(0x328)](_0x1d7fd0()));return _0x7ddab4(_0x47144d,''['concat'](_0x2d483d),{'defIds':_0x47144d[_0x3528c0(0x1f7)],'idSuffix':_0x38fb18['current']},_0x4031a5({'ref':_0x20b660,'className':_0x23936b},_0x5ce6d3),_0x4f1ff8);});function _0x7ddab4(_0x4fd883,_0x55c68c,_0x1c86ed,_0x26ab23,_0x5727bc){const _0x1f6dd5=_0x1000c0;return _0x4f6c5c[_0x1f6dd5(0x3d3)](_0x4fd883[_0x1f6dd5(0x2d3)],_0x4031a5(_0x4031a5({'key':_0x55c68c},_0x4335f3(_0x4fd883,_0x1c86ed,_0x5727bc)),_0x26ab23),(_0x589d39(_0x4fd883,_0x1c86ed)[_0x1f6dd5(0x251)]||[])[_0x1f6dd5(0x1f5)](function(_0x229b6e,_0x58f4b1){const _0x5e0e15=_0x1f6dd5;return _0x7ddab4(_0x229b6e,''[_0x5e0e15(0x328)](_0x55c68c,'-')[_0x5e0e15(0x328)](_0x4fd883['tag'],'-')[_0x5e0e15(0x328)](_0x58f4b1),_0x1c86ed,void 0x0,_0x5727bc);}));}function _0x4335f3(_0x40a17d,_0x50d2bc,_0x2d152d){const _0x41f32c=_0x1000c0;var _0x858b3b=_0x4031a5({},_0x40a17d['attrs']);_0x2d152d!=null&&_0x2d152d[_0x41f32c(0x14f)]&&_0x858b3b[_0x41f32c(0x15e)]===_0x41f32c(0x14f)&&(_0x858b3b['fill']=_0x2d152d['colorChannel1']);var _0x3076de=_0x50d2bc[_0x41f32c(0x1f7)];return!_0x3076de||_0x3076de[_0x41f32c(0x1d8)]===0x0||(_0x40a17d[_0x41f32c(0x2d3)]===_0x41f32c(0x1e6)&&_0x858b3b[_0x41f32c(0x2d5)]&&(_0x858b3b[_0x41f32c(0x2d5)]=_0x858b3b[_0x41f32c(0x2d5)]+_0x50d2bc['idSuffix']),Object[_0x41f32c(0x10a)](_0x858b3b)[_0x41f32c(0x24b)](function(_0x19d941){const _0x14c3a7=_0x41f32c;var _0x38a260=_0x19d941[0x0],_0xf33f43=_0x19d941[0x1];typeof _0xf33f43=='string'&&(_0x858b3b[_0x38a260]=_0xf33f43[_0x14c3a7(0x164)](/url\(#(.*)\)/,_0x14c3a7(0x4d5)[_0x14c3a7(0x328)](_0x50d2bc['idSuffix'],')')));})),_0x858b3b;}function _0x589d39(_0x302f24,_0x215cc4){const _0x1f35e8=_0x1000c0;var _0x4fe791,_0x240bf3=_0x215cc4[_0x1f35e8(0x1f7)];return!_0x240bf3||_0x240bf3[_0x1f35e8(0x1d8)]===0x0?_0x302f24:_0x302f24[_0x1f35e8(0x2d3)]===_0x1f35e8(0x118)&&(!((_0x4fe791=_0x302f24[_0x1f35e8(0x251)])===null||_0x4fe791===void 0x0)&&_0x4fe791['length'])?_0x4031a5(_0x4031a5({},_0x302f24),{'children':_0x302f24['children'][_0x1f35e8(0x1f5)](function(_0x1adc27){const _0x563042=_0x1f35e8;return typeof _0x1adc27[_0x563042(0x1ce)]['id']==_0x563042(0x422)&&_0x240bf3&&_0x240bf3[_0x563042(0x2ee)](_0x1adc27[_0x563042(0x1ce)]['id'])>-0x1?_0x4031a5(_0x4031a5({},_0x1adc27),{'attrs':_0x4031a5(_0x4031a5({},_0x1adc27[_0x563042(0x1ce)]),{'id':_0x1adc27[_0x563042(0x1ce)]['id']+_0x215cc4[_0x563042(0x3b5)]})}):_0x1adc27;})}):_0x302f24;}function _0x1d7fd0(){const _0x25f04b=_0x1000c0;return Math[_0x25f04b(0x3e5)]()[_0x25f04b(0x4a3)](0x24)['substring'](0x2,0x8);}_0x5ad723[_0x1000c0(0x30d)]='UniverIcon';var _0x3ebc39={'tag':'svg','attrs':{'fill':_0x1000c0(0x2b8),'viewBox':_0x1000c0(0x3e1),'width':'1em','height':_0x1000c0(0x106)},'children':[{'tag':'g','attrs':{'clipPath':_0x1000c0(0x291)},'children':[{'tag':_0x1000c0(0x4da),'attrs':{'stroke':_0x1000c0(0x11e),'d':_0x1000c0(0x146),'strokeLinecap':_0x1000c0(0x2c3),'strokeLinejoin':_0x1000c0(0x2c3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x1000c0(0x1bf),'d':_0x1000c0(0x359)}}]}]}],'defIds':[_0x1000c0(0x1be)]},_0x187081=_0x4f6c5c[_0x1000c0(0x3cc)](function(_0x2c5d03,_0x533e13){const _0x1148d6=_0x1000c0;return _0x4f6c5c[_0x1148d6(0x3d3)](_0x5ad723,Object[_0x1148d6(0x2e9)]({},_0x2c5d03,{'id':_0x1148d6(0x45b),'ref':_0x533e13,'icon':_0x3ebc39}));});_0x187081[_0x1000c0(0x30d)]=_0x1000c0(0x284);var _0x11bd40={'tag':_0x1000c0(0x145),'attrs':{'fill':_0x1000c0(0x2b8),'viewBox':_0x1000c0(0x3fc),'width':_0x1000c0(0x106),'height':_0x1000c0(0x106)},'children':[{'tag':'g','attrs':{'clipPath':_0x1000c0(0x39f)},'children':[{'tag':_0x1000c0(0x4da),'attrs':{'stroke':_0x1000c0(0x11e),'d':_0x1000c0(0x4d4),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1000c0(0x118),'attrs':{},'children':[{'tag':_0x1000c0(0x3d9),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1000c0(0x4da),'attrs':{'fill':_0x1000c0(0x1bf),'d':_0x1000c0(0x359),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1000c0(0x309)]},_0xc534e2=_0x4f6c5c[_0x1000c0(0x3cc)](function(_0x411057,_0x56d666){const _0x3618fb=_0x1000c0;return _0x4f6c5c[_0x3618fb(0x3d3)](_0x5ad723,Object[_0x3618fb(0x2e9)]({},_0x411057,{'id':'on-line-single','ref':_0x56d666,'icon':_0x11bd40}));});_0xc534e2[_0x1000c0(0x30d)]=_0x1000c0(0x287);const _0x435b4a={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':'univer-online-status-title','onlineStatus':'univer-online-status','online':_0x1000c0(0x3b2),'offline':_0x1000c0(0x4ad)};function _0x3cbedb(_0x5999c1){const _0x402922=_0x1000c0;switch(_0x5999c1){case _0x3e6f91[_0x402922(0x4a5)]:return _0x402922(0x3d4);case _0x3e6f91[_0x402922(0x25e)]:return _0x402922(0x3f3);case _0x3e6f91[_0x402922(0x156)]:return _0x402922(0x1ed);case _0x3e6f91[_0x402922(0x3c9)]:return _0x402922(0x391);case _0x3e6f91[_0x402922(0x47c)]:case _0x3e6f91[_0x402922(0x356)]:case _0x3e6f91[_0x402922(0x227)]:return _0x402922(0x34b);case _0x3e6f91['SYNCED']:return _0x402922(0x2ae);}}function _0x1d230a(_0x119ebb){const _0x48c5fd=_0x1000c0,{status$:_0x9a6d0a}=_0x119ebb,_0x3a1a2a=_0x2c52d3[_0x48c5fd(0x316)](_0x9a6d0a,_0x3e6f91[_0x48c5fd(0x3c9)]),_0x2a2cfb=_0x250089[_0x48c5fd(0x4c1)](_0x592d59[_0x48c5fd(0x279)]),_0x5a969a=_0x3a1a2a!==_0x3e6f91[_0x48c5fd(0x4a5)],_0x47951c=_0x2a2cfb['t'](_0x3cbedb(_0x3a1a2a)),_0x271959=_0x4dd75f(_0x435b4a[_0x48c5fd(0x148)],{[_0x435b4a[_0x48c5fd(0xfc)]]:_0x5a969a,[_0x435b4a['offline']]:!_0x5a969a}),_0x5d47a4=_0x5a969a?_0x4f6c5c[_0x48c5fd(0x3d3)](_0xc534e2,null):_0x4f6c5c['createElement'](_0x187081,null);return _0x4f6c5c['createElement'](_0x48c5fd(0x254),{'className':_0x271959},_0x4f6c5c['createElement']('div',{'className':_0x435b4a[_0x48c5fd(0x1c1)]},_0x5d47a4),_0x4f6c5c[_0x48c5fd(0x3d3)](_0x48c5fd(0x254),{'className':_0x435b4a[_0x48c5fd(0x3a4)]},_0x47951c));}var _0x43e554=Object['defineProperty'],_0x562965=Object[_0x1000c0(0x2d4)],_0x4bdf56=(_0x52ffef,_0x50d352,_0x12cd08,_0x58298a)=>{const _0x37cb87=_0x1000c0;for(var _0x593de7=_0x58298a>0x1?void 0x0:_0x58298a?_0x562965(_0x50d352,_0x12cd08):_0x50d352,_0x51c3e=_0x52ffef[_0x37cb87(0x1d8)]-0x1,_0x124e36;_0x51c3e>=0x0;_0x51c3e--)(_0x124e36=_0x52ffef[_0x51c3e])&&(_0x593de7=(_0x58298a?_0x124e36(_0x50d352,_0x12cd08,_0x593de7):_0x124e36(_0x593de7))||_0x593de7);return _0x58298a&&_0x593de7&&_0x43e554(_0x50d352,_0x12cd08,_0x593de7),_0x593de7;},_0x34daea=(_0x1a2ea9,_0x1da281)=>(_0x13e0e9,_0x39a7e4)=>_0x1da281(_0x13e0e9,_0x39a7e4,_0x1a2ea9);_0x322d5b[_0x1000c0(0x144)]=class extends _0x592d59[_0x1000c0(0x450)]{constructor(_0x226fa5,_0x38cffb,_0x1d00c2,_0x13d5cd){const _0x45b134=_0x1000c0;super(),_0x40dfd7(this,'_status$',new _0x3c7a49[(_0x45b134(0x35f))](_0x3e6f91[_0x45b134(0x3c9)])),(this[_0x45b134(0x40b)]=_0x226fa5,this[_0x45b134(0x2bc)]=_0x38cffb,this[_0x45b134(0x27f)]=_0x1d00c2,this['_collaborationController']=_0x13d5cd,this[_0x45b134(0x11d)](),this[_0x45b134(0x3b0)]());}[_0x1000c0(0x11d)](){const _0x1100e5=_0x1000c0;this[_0x1100e5(0x215)](this[_0x1100e5(0x2bc)][_0x1100e5(0x14d)](_0x2c52d3[_0x1100e5(0x4c4)][_0x1100e5(0x210)],()=>_0x250089['connectInjector'](_0x1a3fe5({'status$':this[_0x1100e5(0x317)][_0x1100e5(0x32c)]()}),this[_0x1100e5(0x27f)])));}[_0x1000c0(0x3b0)](){const _0x3523d5=_0x1000c0;this['disposeWithMe'](_0x592d59[_0x3523d5(0x29f)](this[_0x3523d5(0x40b)][_0x3523d5(0x21a)]['pipe'](_0x3c7a49['switchMap'](()=>{const _0x219889=_0x3523d5,_0x15c946=this[_0x219889(0x40b)][_0x219889(0x1bb)]();return _0x15c946?this[_0x219889(0x47d)][_0x219889(0x4a8)](_0x15c946[_0x219889(0x270)]()):_0x3c7a49['of'](null);}),_0x3c7a49[_0x3523d5(0x32b)](_0x182cf4=>_0x182cf4?_0x182cf4['status$']:_0x3c7a49['of'](_0x3e6f91['NOT_COLLAB'])))[_0x3523d5(0x42f)](_0x3d97a3=>{const _0x1c54b1=_0x3523d5;this[_0x1c54b1(0x317)][_0x1c54b1(0x117)](_0x3d97a3);})));}},_0x322d5b[_0x1000c0(0x144)]=_0x4bdf56([_0x592d59[_0x1000c0(0x47b)](_0x592d59['LifecycleStages']['Starting'],_0x322d5b[_0x1000c0(0x144)]),_0x34daea(0x0,_0x592d59[_0x1000c0(0x305)]),_0x34daea(0x1,_0x2c52d3['IUIPartsService']),_0x34daea(0x2,_0x1ea985[_0x1000c0(0x368)](_0x1ea985['Injector'])),_0x34daea(0x3,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x200)]))],_0x322d5b[_0x1000c0(0x144)]);function _0x1a3fe5(_0x32c9a7){const {status$:_0x4dea56}=_0x32c9a7;return function(){const _0x2050fa=_0x492d;return _0x4f6c5c[_0x2050fa(0x3d3)](_0x1d230a,{'status$':_0x4dea56});};}const _0x30215f=_0x1ea985[_0x1000c0(0x13b)](_0x1000c0(0x445));var _0x1e86d7=Object[_0x1000c0(0x1a1)],_0x5d714b=Object[_0x1000c0(0x2d4)],_0xbdbb09=(_0x46f68b,_0xb6eaad,_0x46eb1a,_0x369234)=>{const _0x23d9d1=_0x1000c0;for(var _0x1754b3=_0x369234>0x1?void 0x0:_0x369234?_0x5d714b(_0xb6eaad,_0x46eb1a):_0xb6eaad,_0xff42ea=_0x46f68b[_0x23d9d1(0x1d8)]-0x1,_0x1a8148;_0xff42ea>=0x0;_0xff42ea--)(_0x1a8148=_0x46f68b[_0xff42ea])&&(_0x1754b3=(_0x369234?_0x1a8148(_0xb6eaad,_0x46eb1a,_0x1754b3):_0x1a8148(_0x1754b3))||_0x1754b3);return _0x369234&&_0x1754b3&&_0x1e86d7(_0xb6eaad,_0x46eb1a,_0x1754b3),_0x1754b3;},_0x510a3d=(_0x33c140,_0x2f071f)=>(_0x455108,_0x29ed75)=>_0x2f071f(_0x455108,_0x29ed75,_0x33c140);_0x322d5b[_0x1000c0(0x192)]=class extends _0x592d59[_0x1000c0(0x2cd)]{constructor(_0x2268b6,_0x5ad11e,_0x1a60a4,_0x28df6b,_0x1dc0ef,_0x2d139e){const _0x140f18=_0x1000c0;super(),this[_0x140f18(0x3d7)]=_0x2268b6,this[_0x140f18(0x195)]=_0x5ad11e,this[_0x140f18(0x401)]=_0x1a60a4,this[_0x140f18(0x140)]=_0x28df6b,this[_0x140f18(0x26f)]=_0x1dc0ef,_0x2d139e?_0x2d139e==null||_0x2d139e[_0x140f18(0x421)]()['then'](()=>this[_0x140f18(0x224)]()):(this[_0x140f18(0x195)]['debug']('[DataLoaderController]',_0x140f18(0x3a3)),this[_0x140f18(0x224)]());}async[_0x1000c0(0x224)](){const _0x1224ca=_0x1000c0,_0x3fea0e=this[_0x1224ca(0x3d7)][_0x1224ca(0x1a2)](_0x1224ca(0x4be)),_0x316103=this[_0x1224ca(0x3d7)]['getParam'](_0x1224ca(0x49b));if(!_0x3fea0e||!_0x316103){this[_0x1224ca(0x195)]['debug']('[DataLoaderController]',_0x1224ca(0x209));return;}switch(Number(_0x316103)){case _0x376736[_0x1224ca(0x149)]:{const _0x5c9a41=await this['_loadSheet'](_0x3fea0e);this[_0x1224ca(0x2f9)](_0x5c9a41);break;}case _0x376736[_0x1224ca(0x119)]:{await this[_0x1224ca(0x248)](_0x3fea0e);break;}default:{this[_0x1224ca(0x195)][_0x1224ca(0x343)](_0x1224ca(0x36d),_0x1224ca(0x1b6));break;}}}async[_0x1000c0(0x2f9)](_0x152b50){const _0xd24864=_0x1000c0;await this[_0xd24864(0x387)](_0x152b50),_0x152b50[_0xd24864(0x264)]['pipe'](_0x3c7a49[_0xd24864(0x3ca)](this['dispose$']))[_0xd24864(0x42f)](_0x35ebcd=>{_0x35ebcd&&this['_updateURLWithCurrentState'](_0x35ebcd);}),this[_0xd24864(0x3d7)][_0xd24864(0x1b7)]['pipe'](_0x3c7a49[_0xd24864(0x3ca)](this[_0xd24864(0x338)]))[_0xd24864(0x42f)](()=>this[_0xd24864(0x387)](_0x152b50));}[_0x1000c0(0x188)](_0x26b70e,_0xea9d9c=!0x1){const _0x42e49f=_0x1000c0,_0x22ba5a=this[_0x42e49f(0x3d7)][_0x42e49f(0x1a2)](_0x42e49f(0x23a));_0x26b70e[_0x42e49f(0x449)]()!==_0x22ba5a&&this[_0x42e49f(0x3d7)]['setParam']('subunit',_0x26b70e[_0x42e49f(0x449)](),_0xea9d9c);}async['_updateSubUnitFromURLParams'](_0xe855f5){const _0x3c8d72=_0x1000c0;var _0x3af27a;const _0x479a62=this[_0x3c8d72(0x3d7)]['getParam'](_0x3c8d72(0x23a));if(!_0x479a62||!_0xe855f5['getSheetBySheetId'](_0x479a62)){const _0x4b5fd1=_0xe855f5[_0x3c8d72(0x30b)]()[0x0],_0x401ab7=_0xe855f5[_0x3c8d72(0x1a9)](_0x4b5fd1);if(!_0x401ab7)return;this[_0x3c8d72(0x188)](_0x401ab7,!0x0),await this[_0x3c8d72(0x401)][_0x3c8d72(0x19e)](_0x5e4af3[_0x3c8d72(0x388)]['id'],{'unitId':_0xe855f5[_0x3c8d72(0x270)](),'subUnitId':_0x4b5fd1});return;}((_0x3af27a=_0xe855f5[_0x3c8d72(0x3c5)]())==null?void 0x0:_0x3af27a[_0x3c8d72(0x449)]())!==_0x479a62&&await this[_0x3c8d72(0x401)][_0x3c8d72(0x19e)](_0x5e4af3[_0x3c8d72(0x388)]['id'],{'unitId':_0xe855f5[_0x3c8d72(0x270)](),'subUnitId':_0x479a62});}async[_0x1000c0(0x244)](_0x3324a1){const _0x987622=_0x1000c0;let _0x22bf0c=0x0;const _0x55a3ab=await this[_0x987622(0x140)]['loadOfflineData'](_0x3324a1);return _0x55a3ab&&(_0x55a3ab[_0x987622(0x3ba)]||_0x55a3ab['mutations'][_0x987622(0x1d8)]!==0x0)&&(_0x22bf0c=_0x55a3ab[_0x987622(0x4d3)]),_0x22bf0c===0x0&&this[_0x987622(0x195)]['debug']('[DataLoaderController]',_0x987622(0x4bb)),this[_0x987622(0x26f)][_0x987622(0x371)](_0x3324a1,_0x22bf0c);}async[_0x1000c0(0x248)](_0x2649f3){const _0x15f9b7=_0x1000c0;let _0x2086b1=0x0;const _0x5090d2=await this[_0x15f9b7(0x140)][_0x15f9b7(0x239)](_0x2649f3);return _0x5090d2&&(_0x5090d2[_0x15f9b7(0x3ba)]||_0x5090d2[_0x15f9b7(0x122)][_0x15f9b7(0x1d8)]!==0x0)&&(_0x2086b1=_0x5090d2['rev']),_0x2086b1===0x0&&this[_0x15f9b7(0x195)][_0x15f9b7(0x384)](_0x15f9b7(0x36d),_0x15f9b7(0x4bb)),this['_snapshotService']['loadDoc'](_0x2649f3,_0x2086b1);}},_0x322d5b[_0x1000c0(0x192)]=_0xbdbb09([_0x592d59[_0x1000c0(0x47b)](_0x592d59['LifecycleStages']['Starting'],_0x322d5b[_0x1000c0(0x192)]),_0x510a3d(0x0,_0x30215f),_0x510a3d(0x1,_0x592d59[_0x1000c0(0x1ef)]),_0x510a3d(0x2,_0x592d59['ICommandService']),_0x510a3d(0x3,_0x1ea985[_0x1000c0(0x368)](_0x322d5b[_0x1000c0(0x24c)])),_0x510a3d(0x4,_0x1ea985[_0x1000c0(0x368)](_0x1f6364[_0x1000c0(0x3ed)])),_0x510a3d(0x5,_0x1ea985[_0x1000c0(0x49e)](_0x5d4b6e[_0x1000c0(0x202)]))],_0x322d5b[_0x1000c0(0x192)]);var _0x1ae2e4=Object['defineProperty'],_0x564f37=Object[_0x1000c0(0x2d4)],_0x85ca93=(_0x121831,_0x7d66d2,_0x5268d1,_0x588a0a)=>{for(var _0x49bf5e=_0x588a0a>0x1?void 0x0:_0x588a0a?_0x564f37(_0x7d66d2,_0x5268d1):_0x7d66d2,_0x157072=_0x121831['length']-0x1,_0x41ea2c;_0x157072>=0x0;_0x157072--)(_0x41ea2c=_0x121831[_0x157072])&&(_0x49bf5e=(_0x588a0a?_0x41ea2c(_0x7d66d2,_0x5268d1,_0x49bf5e):_0x41ea2c(_0x49bf5e))||_0x49bf5e);return _0x588a0a&&_0x49bf5e&&_0x1ae2e4(_0x7d66d2,_0x5268d1,_0x49bf5e),_0x49bf5e;},_0x10f9f1=(_0x586820,_0x2dc0f1)=>(_0x5dc3f9,_0x1dfc5e)=>_0x2dc0f1(_0x5dc3f9,_0x1dfc5e,_0x586820);const _0x50df5f=_0x1000c0(0x1b0),_0x2fd3b2='Univer';let _0x23508c=class extends _0x592d59[_0x1000c0(0x450)]{constructor(_0x3ca605,_0x56f1cf){const _0x59a595=_0x1000c0;super(),this[_0x59a595(0x40b)]=_0x3ca605,this['_configService']=_0x56f1cf,this[_0x59a595(0x224)]();}['_init'](){const _0x3bbe86=_0x1000c0;this[_0x3bbe86(0x215)](_0x592d59[_0x3bbe86(0x29f)](this[_0x3bbe86(0x40b)][_0x3bbe86(0x21a)][_0x3bbe86(0x42f)](()=>{const _0x13a34f=_0x3bbe86;var _0x3b5d9f;const _0x30deb3=this[_0x13a34f(0x40b)][_0x13a34f(0x1bb)]();let _0x2a1faa=(_0x3b5d9f=this[_0x13a34f(0x230)][_0x13a34f(0x393)](_0x50df5f))!=null?_0x3b5d9f:_0x2fd3b2;_0x30deb3 instanceof _0x592d59['Workbook']&&(_0x2a1faa=_0x30deb3[_0x13a34f(0x3e7)]),document[_0x13a34f(0x2a3)]=_0x2a1faa;})));}};_0x23508c=_0x85ca93([_0x592d59[_0x1000c0(0x47b)](_0x592d59[_0x1000c0(0x1c7)][_0x1000c0(0x461)],_0x23508c),_0x10f9f1(0x0,_0x592d59[_0x1000c0(0x305)]),_0x10f9f1(0x1,_0x592d59[_0x1000c0(0x41f)])],_0x23508c);var _0x1f94db=Object[_0x1000c0(0x1a1)],_0xe64a2c=Object['getOwnPropertyDescriptor'],_0x99c184=(_0x4bae7e,_0x253522,_0xb1ef85,_0x4cd05a)=>{const _0x14f535=_0x1000c0;for(var _0x4dbdff=_0x4cd05a>0x1?void 0x0:_0x4cd05a?_0xe64a2c(_0x253522,_0xb1ef85):_0x253522,_0xad01b3=_0x4bae7e[_0x14f535(0x1d8)]-0x1,_0x2d72c9;_0xad01b3>=0x0;_0xad01b3--)(_0x2d72c9=_0x4bae7e[_0xad01b3])&&(_0x4dbdff=(_0x4cd05a?_0x2d72c9(_0x253522,_0xb1ef85,_0x4dbdff):_0x2d72c9(_0x4dbdff))||_0x4dbdff);return _0x4cd05a&&_0x4dbdff&&_0x1f94db(_0x253522,_0xb1ef85,_0x4dbdff),_0x4dbdff;},_0x4d29b6=(_0x443a96,_0x36074a)=>(_0x5f3aa4,_0x11ad21)=>_0x36074a(_0x5f3aa4,_0x11ad21,_0x443a96);let _0x21a4dd=class{constructor(_0x146564,_0x22dfcc){const _0x20b275=_0x1000c0;this[_0x20b275(0x230)]=_0x146564,this[_0x20b275(0x434)]=_0x22dfcc;}async[_0x1000c0(0x15c)](_0x890457,_0x5efeed){const _0x2016e3=_0x1000c0;var _0x4a9aa8;const {unitID:_0x391d67,type:_0x4d3847,revision:_0x287794=0x0}=_0x5efeed,_0x4e41d3=this[_0x2016e3(0x1bd)]()+'/'+_0x4d3847+_0x2016e3(0x3b8)+_0x391d67+_0x2016e3(0x1da)+(_0x287794===0x1?0x0:_0x287794),_0x52c5a3=(await this[_0x2016e3(0x434)][_0x2016e3(0x1de)](_0x4e41d3))['body'],_0x33f8a1=(_0x4a9aa8=_0x52c5a3['snapshot'])==null?void 0x0:_0x4a9aa8[_0x2016e3(0x2b6)];if(_0x33f8a1){const _0xfc2f39=_0x33f8a1==null?void 0x0:_0x33f8a1[_0x2016e3(0x160)],_0x2fcf5d=_0x592d59[_0x2016e3(0x2a4)][_0x2016e3(0x330)](_0x592d59[_0x2016e3(0x3d6)](_0xfc2f39));_0x33f8a1['originalMeta']=_0x2fcf5d,Object['entries'](_0x33f8a1[_0x2016e3(0x3e0)])['forEach'](([,_0x5f316d])=>{const _0x34717b=_0x2016e3,_0x418074=_0x5f316d[_0x34717b(0x160)],_0x4ee2b9=_0x592d59[_0x34717b(0x2a4)][_0x34717b(0x330)](_0x592d59['b64DecodeUnicode'](_0x418074));_0x5f316d[_0x34717b(0x160)]=_0x4ee2b9;});}return _0x52c5a3;}async[_0x1000c0(0x12a)](_0x2aaf6a,_0x5822ba){const _0x49dd37=_0x1000c0,{unitID:_0x338b20,type:_0x2b1b6b,blockID:_0x1febf7}=_0x5822ba,_0xbb2c46=this['_getAPIPrefix']()+'/'+_0x2b1b6b+_0x49dd37(0x3b8)+_0x338b20+_0x49dd37(0x416)+_0x1febf7;return(await this['_httpService'][_0x49dd37(0x1de)](_0xbb2c46))[_0x49dd37(0x3cf)];}async[_0x1000c0(0x38a)](_0x2a4ef4,_0xd1bc4a){const _0x3e5639=_0x1000c0,{unitID:_0xc016df,type:_0x251911,from:_0x498f3b,to:_0x156971}=_0xd1bc4a,_0x349b5d=this[_0x3e5639(0x48c)]()+'/'+_0x251911+_0x3e5639(0x3b8)+_0xc016df+'/fetchmissing?from='+_0x498f3b+'&to='+_0x156971;return(await this[_0x3e5639(0x434)][_0x3e5639(0x1de)](_0x349b5d))['body'];}[_0x1000c0(0x1bd)](){const _0x439bc3=_0x1000c0;var _0x321c8b;return(_0x321c8b=this[_0x439bc3(0x230)][_0x439bc3(0x393)](_0x3478c0))!=null?_0x321c8b:this[_0x439bc3(0x48c)]();}[_0x1000c0(0x48c)](){const _0x5f3d2b=_0x1000c0;var _0x34821a;return(_0x34821a=this[_0x5f3d2b(0x230)][_0x5f3d2b(0x393)](_0x4ba31f))!=null?_0x34821a:_0x14ea18;}async['getResourcesRequest'](_0x6c3f95,_0x393e3d){const _0x344c0b=_0x1000c0,_0x59db32='/universer-api/snapshot/'+_0x393e3d[_0x344c0b(0x49b)]+_0x344c0b(0x3b8)+_0x393e3d[_0x344c0b(0x10f)]+'/resources';return(await this[_0x344c0b(0x434)][_0x344c0b(0x1de)](_0x59db32,{'params':{'resourceId':JSON['stringify'](_0x393e3d[_0x344c0b(0x4b1)])}}))[_0x344c0b(0x3cf)];}['saveSnapshot'](){const _0x1c998d=_0x1000c0;throw new Error(_0x1c998d(0x3ea));}[_0x1000c0(0x4af)](){const _0x2d338f=_0x1000c0;throw new Error(_0x2d338f(0x3ea));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0x21a4dd=_0x99c184([_0x4d29b6(0x0,_0x592d59['IConfigService']),_0x4d29b6(0x1,_0x1ea985[_0x1000c0(0x368)](_0x490a4f[_0x1000c0(0x4b0)]))],_0x21a4dd);var _0x5e09da=Object['defineProperty'],_0x51d61e=Object['getOwnPropertyDescriptor'],_0x45dfa1=(_0x101316,_0x4f0cf7,_0x8b9861,_0x58a2d8)=>{const _0x18d2c6=_0x1000c0;for(var _0x264030=_0x58a2d8>0x1?void 0x0:_0x58a2d8?_0x51d61e(_0x4f0cf7,_0x8b9861):_0x4f0cf7,_0x14bf94=_0x101316[_0x18d2c6(0x1d8)]-0x1,_0x424d36;_0x14bf94>=0x0;_0x14bf94--)(_0x424d36=_0x101316[_0x14bf94])&&(_0x264030=(_0x58a2d8?_0x424d36(_0x4f0cf7,_0x8b9861,_0x264030):_0x424d36(_0x264030))||_0x264030);return _0x58a2d8&&_0x264030&&_0x5e09da(_0x4f0cf7,_0x8b9861,_0x264030),_0x264030;},_0x4c12cc=(_0x407824,_0x464d4f)=>(_0x366c90,_0x415f5c)=>_0x464d4f(_0x366c90,_0x415f5c,_0x407824);let _0x2d43eb=class extends _0x592d59[_0x1000c0(0x10e)]{constructor(_0x560091,_0x3ab7c9,_0x4ae9c9,_0x5a9495,_0x5277db){const _0x982938=_0x1000c0;super(_0x560091,_0x3ab7c9,_0x4ae9c9),this[_0x982938(0x258)]=_0x5a9495,this[_0x982938(0x195)]=_0x5277db;}['transformUndoRedo'](_0x4215db,_0x1a58ae){const _0x12838d=_0x1000c0,_0x40bfc6=this[_0x12838d(0x179)](_0x4215db);if(_0x40bfc6)try{const _0x413561=this[_0x12838d(0x2a8)](_0x40bfc6,_0x1a58ae);this[_0x12838d(0x45c)](_0x4215db,_0x413561);}catch(_0x45ed4b){this[_0x12838d(0x195)][_0x12838d(0x343)]('[CollaborationUndoRedoService]',_0x45ed4b),this[_0x12838d(0x14a)](_0x4215db);}const _0x3069e8=this[_0x12838d(0x4cc)](_0x4215db);if(_0x3069e8)try{const _0xbad0a3=this['_transformStack'](_0x3069e8,_0x1a58ae);this[_0x12838d(0x42b)](_0x4215db,_0xbad0a3);}catch(_0x25c038){this['_logService'][_0x12838d(0x343)](_0x25c038),this[_0x12838d(0x21c)](_0x4215db);}}[_0x1000c0(0x14a)](_0x31aae4){const _0x5c4d72=_0x1000c0,_0x1ab4d6=this[_0x5c4d72(0x179)](_0x31aae4);_0x1ab4d6&&(_0x1ab4d6[_0x5c4d72(0x1d8)]=0x0,this[_0x5c4d72(0x476)]());}[_0x1000c0(0x21c)](_0x479587){const _0x147695=_0x1000c0,_0x54bc5c=this[_0x147695(0x4cc)](_0x479587);_0x54bc5c&&(_0x54bc5c[_0x147695(0x1d8)]=0x0,this[_0x147695(0x476)]());}[_0x1000c0(0x45c)](_0x3229b1,_0x1736b9){const _0x3dd805=_0x1000c0;this[_0x3dd805(0x1f0)][_0x3dd805(0x4c2)](_0x3229b1,_0x1736b9),this[_0x3dd805(0x476)]();}[_0x1000c0(0x42b)](_0x1a35a3,_0x3aaa52){const _0x3504c6=_0x1000c0;this['_redoStacks'][_0x3504c6(0x4c2)](_0x1a35a3,_0x3aaa52),this[_0x3504c6(0x476)]();}['_transformStack'](_0x50ad52,_0x341c40){const _0x283500=_0x1000c0,_0x33c4a3=[];let _0x3368b7=_0x341c40,_0x36f219=_0x341c40;for(let _0x2863cc=_0x50ad52[_0x283500(0x1d8)]-0x1;_0x2863cc>=0x0;_0x2863cc--){const {unitID:_0xfc4b1b,undoMutations:_0x2f7fdb,redoMutations:_0x2aa075}=_0x50ad52[_0x2863cc],_0x5a65fa=this[_0x283500(0x258)][_0x283500(0x436)](_0x3368b7,_0x2f7fdb),_0x59308d=this[_0x283500(0x258)][_0x283500(0x436)](_0x36f219,_0x2aa075);if(_0x1f6364['isTransformMutationsWithChangesetFailure'](_0x5a65fa)||_0x1f6364[_0x283500(0x420)](_0x59308d)){this[_0x283500(0x195)][_0x283500(0x343)]('[CollaborationUndoRedoService]',_0x283500(0x2d1),_0x5a65fa,_0x59308d);break;}_0x3368b7=_0x5a65fa['c1Prime'],_0x36f219=_0x59308d[_0x283500(0x396)],_0x33c4a3[_0x283500(0x1a6)]({'unitID':_0xfc4b1b,'undoMutations':_0x5a65fa['m2Prime'],'redoMutations':_0x59308d[_0x283500(0x315)]});}return _0x33c4a3['reverse']();}};_0x2d43eb=_0x45dfa1([_0x4c12cc(0x0,_0x592d59[_0x1000c0(0x305)]),_0x4c12cc(0x1,_0x592d59['ICommandService']),_0x4c12cc(0x2,_0x592d59[_0x1000c0(0x27e)]),_0x4c12cc(0x3,_0x1f6364[_0x1000c0(0x34e)]),_0x4c12cc(0x4,_0x592d59[_0x1000c0(0x1ef)])],_0x2d43eb);class _0x22522f extends _0x592d59['RxDisposable']{constructor(){const _0x35b81e=_0x1000c0;super(),_0x40dfd7(this,_0x35b81e(0x1b7)),this[_0x35b81e(0x1b7)]=_0x3c7a49['fromEvent'](window,_0x35b81e(0x23e))[_0x35b81e(0x161)](_0x3c7a49[_0x35b81e(0x3ca)](this['dispose$']),_0x3c7a49[_0x35b81e(0x325)](0x1),_0x3c7a49[_0x35b81e(0x1ad)](void 0x0));}[_0x1000c0(0x1ff)](_0x17c375,_0x221d5f,_0x1b97be=!0x1){const _0x49bfb6=_0x1000c0,_0x1918e8=new URL(window[_0x49bfb6(0x283)][_0x49bfb6(0x2b2)]);_0x1918e8['searchParams'][_0x49bfb6(0x4c2)](_0x17c375,_0x221d5f),_0x1b97be?window[_0x49bfb6(0x402)][_0x49bfb6(0x298)]('','',_0x1918e8['toString']()):window[_0x49bfb6(0x402)]['pushState']('','',_0x1918e8[_0x49bfb6(0x4a3)]());}[_0x1000c0(0x2d2)](_0x50a47a,_0x4d0312=!0x1){const _0x569bf=_0x1000c0,_0x575a03=new URL(window[_0x569bf(0x283)][_0x569bf(0x2b2)]);_0x575a03[_0x569bf(0x1a8)][_0x569bf(0x234)](_0x50a47a),_0x4d0312?window['history'][_0x569bf(0x298)]('','',_0x575a03['toString']()):window[_0x569bf(0x402)][_0x569bf(0x172)]('','',_0x575a03[_0x569bf(0x4a3)]());}['getParam'](_0x23e7da){const _0x3c90f5=_0x1000c0;var _0x4f3897;return(_0x4f3897=new URL(window[_0x3c90f5(0x283)][_0x3c90f5(0x2b2)])[_0x3c90f5(0x1a8)][_0x3c90f5(0x1de)](_0x23e7da))!=null?_0x4f3897:void 0x0;}}const _0x21d306=_0x1000c0(0x293),_0x3738bb=_0x1000c0(0x2a5),_0x506bda=0x6,_0x2db71e=1.5,_0x26449b=0x4,_0x28680e=1.5,_0x5ec182=_0x1000c0(0x4c3);class _0x14f476{constructor(_0x1a10c3,_0x512e7f,_0x38537e,_0x2fef5e){const _0x5a7750=_0x1000c0;_0x40dfd7(this,_0x5a7750(0x488),[]),_0x40dfd7(this,'_anchor',null),_0x40dfd7(this,'_textBubble',null),_0x40dfd7(this,_0x5a7750(0x466),null),_0x40dfd7(this,_0x5a7750(0x187),null),_0x40dfd7(this,'_eventUnsubscribe',null),(this['_cursor']=_0x1a10c3,this[_0x5a7750(0x4c6)]=_0x512e7f,this['_docSkeleton']=_0x38537e,this[_0x5a7750(0x3ce)]=_0x2fef5e,this[_0x5a7750(0x19b)]());}set['_hover'](_0x3377c9){const _0x3e1b39=_0x1000c0;_0x3377c9?(this['_anchorDot']&&this[_0x3e1b39(0x466)][_0x3e1b39(0x348)](),this[_0x3e1b39(0x47a)]&&this[_0x3e1b39(0x47a)][_0x3e1b39(0x2eb)]()):(this[_0x3e1b39(0x466)]&&this[_0x3e1b39(0x466)][_0x3e1b39(0x2eb)](),this[_0x3e1b39(0x47a)]&&this[_0x3e1b39(0x47a)]['hide']());}['dispose'](){const _0xcd5e7a=_0x1000c0;for(const _0xf5b4cd of this[_0xcd5e7a(0x488)])_0xf5b4cd[_0xcd5e7a(0x36f)]();this[_0xcd5e7a(0x47a)]&&this[_0xcd5e7a(0x47a)]['dispose'](),this[_0xcd5e7a(0x466)]&&this[_0xcd5e7a(0x466)][_0xcd5e7a(0x36f)](),this[_0xcd5e7a(0x1a3)]&&this[_0xcd5e7a(0x1a3)][_0xcd5e7a(0x36f)](),this[_0xcd5e7a(0x28b)]&&this[_0xcd5e7a(0x28b)]();}[_0x1000c0(0x19b)](){const _0x457551=_0x1000c0,{_docSkeleton:_0xec0150,_document:_0x4c62ee}=this,{color:_0x4c422b,name:_0x52cf13,ranges:_0x5681b6}=this[_0x457551(0x21b)],_0x174850=_0x4c62ee[_0x457551(0x498)](),{docsLeft:_0x160d81,docsTop:_0x330ea0}=_0x174850,_0x18c88e=new _0x5c59d0[(_0x457551(0x34a))](_0x174850,_0xec0150);for(const {startOffset:_0x358719,endOffset:_0x203557,collapsed:_0x392453,isActive:_0x3a8941}of _0x5681b6){const _0x272aa8=_0xec0150[_0x457551(0x3d1)](_0x358719),_0xcfabd6=_0xec0150[_0x457551(0x3d1)](_0x203557);if(_0x3a8941){const {contentBoxPointGroup:_0x1d32e5}=_0x18c88e[_0x457551(0x406)](_0xcfabd6,_0xcfabd6);if(_0x1d32e5[_0x457551(0x1d8)]===0x0)continue;this[_0x457551(0x3b3)](_0x4c422b,_0x1d32e5,_0x160d81,_0x330ea0,_0x52cf13),this[_0x457551(0x28b)]=this[_0x457551(0x4b3)]();}if(!_0x392453){const {contentBoxPointGroup:_0x4d096d}=_0x18c88e[_0x457551(0x406)](_0x272aa8,_0xcfabd6);if(_0x4d096d[_0x457551(0x1d8)]===0x0)continue;this['_drawRange'](_0x4c422b,_0x4d096d,_0x160d81,_0x330ea0);}}}['_drawAnchor'](_0x4efbd6,_0x431724,_0xc507da,_0x18a006,_0x4ebeaf){const _0x3ab92c=_0x1000c0,_0x57a5c2=this[_0x3ab92c(0x18f)](_0x431724),{left:_0x230b5f,top:_0x66113f,height:_0x5c33e3}=_0x57a5c2,_0x108ee3=this[_0x3ab92c(0x217)](),_0x44e71d=_0x28680e/_0x108ee3,_0x562825=new _0x5c59d0[(_0x3ab92c(0x29c))](_0x21d306+_0x592d59['Tools']['generateRandomId'](_0x506bda),{'left':_0x230b5f+_0xc507da-_0x44e71d,'top':_0x66113f+_0x18a006,'height':_0x5c33e3,'width':_0x2db71e,'fill':_0x4efbd6||_0x5c59d0[_0x3ab92c(0x395)](_0x592d59[_0x3ab92c(0x12e)]['black'],0x0),'strokeWidth':_0x44e71d,'stroke':_0x5ec182,'evented':!0x0});this[_0x3ab92c(0x1a3)]=_0x562825,this[_0x3ab92c(0x4c6)][_0x3ab92c(0x32d)](_0x562825,_0x5c59d0['TEXT_RANGE_LAYER_INDEX']);const _0x217340=new _0x5c59d0['Rect'](_0x21d306+_0x592d59[_0x3ab92c(0x33a)][_0x3ab92c(0x275)](_0x506bda),{'left':_0x230b5f+_0xc507da-_0x44e71d,'top':_0x66113f+_0x18a006-_0x26449b/0x2,'height':_0x26449b,'width':_0x26449b,'fill':_0x4efbd6||_0x5c59d0[_0x3ab92c(0x395)](_0x592d59[_0x3ab92c(0x12e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4efbd6||_0x5c59d0[_0x3ab92c(0x395)](_0x592d59['COLORS'][_0x3ab92c(0x1fa)],0x0),'evented':!0x1});this[_0x3ab92c(0x466)]=_0x217340,this[_0x3ab92c(0x4c6)][_0x3ab92c(0x32d)](_0x217340,_0x5c59d0['TEXT_RANGE_LAYER_INDEX']);const _0x319f90=new _0x49ec11(_0x21d306+_0x592d59[_0x3ab92c(0x33a)][_0x3ab92c(0x275)](_0x506bda),{'left':_0x230b5f+_0xc507da-_0x44e71d,'top':_0x66113f+_0x18a006-_0x201da5,'text':_0x4ebeaf,'color':_0x4efbd6});this[_0x3ab92c(0x47a)]=_0x319f90,this[_0x3ab92c(0x4c6)][_0x3ab92c(0x32d)](_0x319f90,_0x5c59d0[_0x3ab92c(0x135)]),this[_0x3ab92c(0x10c)]=!0x1;}['_handleHover'](){const _0x458fda=_0x1000c0,_0x334ba6=this['_anchor'][_0x458fda(0x2e4)][_0x458fda(0x2ea)](()=>{this['_hover']=!0x0;}),_0x594b44=this['_anchor'][_0x458fda(0x2c0)][_0x458fda(0x2ea)](()=>{const _0x271317=_0x458fda;this[_0x271317(0x187)]&&clearTimeout(this[_0x271317(0x187)]),this[_0x271317(0x187)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x24c24e=_0x458fda;_0x334ba6[_0x24c24e(0x22b)](),_0x594b44[_0x24c24e(0x22b)]();};}[_0x1000c0(0x294)](_0x539c44,_0x5a4c05,_0x4fc838,_0x476d23){const _0x4aae6c=_0x1000c0,_0x44953e=new _0x592d59[(_0x4aae6c(0x2a6))](_0x539c44)[_0x4aae6c(0x2ec)](0.2)[_0x4aae6c(0x480)](),_0x3ce5b2=new _0x5c59d0[(_0x4aae6c(0x15a))](_0x3738bb+_0x592d59[_0x4aae6c(0x33a)][_0x4aae6c(0x275)](_0x506bda),{'pointsGroup':_0x5a4c05,'fill':_0x44953e||_0x5c59d0[_0x4aae6c(0x395)](_0x592d59[_0x4aae6c(0x12e)][_0x4aae6c(0x1fa)],0.2),'left':_0x4fc838,'top':_0x476d23,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4aae6c(0x1a6)](_0x3ce5b2),this[_0x4aae6c(0x4c6)][_0x4aae6c(0x32d)](_0x3ce5b2,_0x5c59d0['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x55ece6){const _0x35e136=_0x55ece6[0x0],_0x4a7340=_0x35e136[0x0],_0x853833=_0x35e136[0x2],{x:_0x30e4fb,y:_0x57dfc1}=_0x4a7340,{x:_0x20b417,y:_0x4d40c0}=_0x853833;return{'left':_0x30e4fb,'top':_0x57dfc1,'width':_0x20b417-_0x30e4fb,'height':_0x4d40c0-_0x57dfc1};}[_0x1000c0(0x217)](){const _0x1ae755=_0x1000c0,{scaleX:_0x1e0eb3,scaleY:_0x33feb9}=this[_0x1ae755(0x4c6)]['getAncestorScale']();return Math[_0x1ae755(0x44e)](_0x1e0eb3,_0x33feb9);}}var _0x585164=Object[_0x1000c0(0x1a1)],_0x469e28=Object[_0x1000c0(0x2d4)],_0x33f626=(_0x1fc12b,_0x112dd9,_0x27b755,_0x4d3d4e)=>{const _0x2e509e=_0x1000c0;for(var _0x4437ff=_0x4d3d4e>0x1?void 0x0:_0x4d3d4e?_0x469e28(_0x112dd9,_0x27b755):_0x112dd9,_0x4bedbd=_0x1fc12b[_0x2e509e(0x1d8)]-0x1,_0x325a1f;_0x4bedbd>=0x0;_0x4bedbd--)(_0x325a1f=_0x1fc12b[_0x4bedbd])&&(_0x4437ff=(_0x4d3d4e?_0x325a1f(_0x112dd9,_0x27b755,_0x4437ff):_0x325a1f(_0x4437ff))||_0x4437ff);return _0x4d3d4e&&_0x4437ff&&_0x585164(_0x112dd9,_0x27b755,_0x4437ff),_0x4437ff;},_0x2af8ac=(_0xae4afc,_0x2071f0)=>(_0x528fe1,_0x5719f0)=>_0x2071f0(_0x528fe1,_0x5719f0,_0xae4afc);let _0x524941=class extends _0x592d59['RxDisposable']{constructor(_0x2a8d7b,_0x315242,_0x18e412,_0x38b381,_0x3c8a66){const _0x44e9e3=_0x1000c0;super(),_0x40dfd7(this,_0x44e9e3(0x20e),[]),(this[_0x44e9e3(0x3eb)]=_0x2a8d7b,this['_univerInstanceService']=_0x315242,this[_0x44e9e3(0x333)]=_0x18e412,this[_0x44e9e3(0x4a4)]=_0x38b381,this[_0x44e9e3(0x478)]=_0x3c8a66,this['_init']());}[_0x1000c0(0x224)](){const _0x50a96c=_0x1000c0;this[_0x50a96c(0x4a4)][_0x50a96c(0x1d1)]['pipe'](_0x39f29f[_0x50a96c(0x3ca)](this[_0x50a96c(0x338)]),_0x39f29f['switchMap'](_0x1480b9=>{const _0x3e3ca8=_0x50a96c;if(_0x1480b9){const _0x339271=_0x1480b9[_0x3e3ca8(0x267)]()[_0x3e3ca8(0x214)]()[_0x3e3ca8(0x270)]();return _0x3c7a49[_0x3e3ca8(0x303)](this[_0x3e3ca8(0x3eb)]['getCollabCursors$'](_0x339271),this[_0x3e3ca8(0x478)]['currentTheme$'])['pipe'](_0x39f29f[_0x3e3ca8(0x1f5)](([_0x2c7cfa,_0xd55e01])=>({'skeleton':_0x1480b9,'cursors':[..._0x2c7cfa[_0x3e3ca8(0x38c)]()][_0x3e3ca8(0x415)](_0xa8264e=>({..._0xa8264e,'color':_0xd55e01[_0xa8264e[_0x3e3ca8(0x2a0)]]}))})));}return _0x3c7a49['of']({'skeleton':null,'cursors':[]});}))[_0x50a96c(0x42f)](({skeleton:_0x53e98e,cursors:_0x24cdd0})=>{const _0xa5c628=_0x50a96c;this['_removeCollabCursors'](),_0x53e98e&&this[_0xa5c628(0x2e2)](_0x53e98e,_0x24cdd0);});}[_0x1000c0(0x2e2)](_0x8fcdba,_0x167ec9){const _0x433b46=_0x1000c0,_0x3713b3=this[_0x433b46(0x1ae)]();if(_0x3713b3==null)return;const {scene:_0x3d9e4e,document:_0x5bf2ba}=_0x3713b3,_0x3d24f2=_0x167ec9['map'](_0x284499=>new _0x14f476(_0x284499,_0x3d9e4e,_0x8fcdba,_0x5bf2ba));this[_0x433b46(0x20e)]=_0x3d24f2;}[_0x1000c0(0x4c9)](){const _0x1b58a7=_0x1000c0;this['_cursors']['forEach'](_0x32f415=>_0x32f415[_0x1b58a7(0x36f)]()),this[_0x1b58a7(0x20e)]=[];}[_0x1000c0(0x1ae)](){const _0x1001de=_0x1000c0;return _0x30cc49[_0x1001de(0x412)](this[_0x1001de(0x40b)],this[_0x1001de(0x333)]);}};_0x524941=_0x33f626([_0x592d59['OnLifecycle'](_0x592d59[_0x1000c0(0x1c7)][_0x1000c0(0x4cf)],_0x524941),_0x2af8ac(0x0,_0x1ea985[_0x1000c0(0x368)](_0xc137f8)),_0x2af8ac(0x1,_0x592d59['IUniverInstanceService']),_0x2af8ac(0x2,_0x5c59d0[_0x1000c0(0x36a)]),_0x2af8ac(0x3,_0x1ea985[_0x1000c0(0x368)](_0x30cc49[_0x1000c0(0x37c)])),_0x2af8ac(0x4,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x125)]))],_0x524941);var _0x321025=Object[_0x1000c0(0x1a1)],_0x66c3e3=Object[_0x1000c0(0x2d4)],_0x56c29c=(_0x32a2ab,_0x6551c8,_0x3c584d,_0x4a32ea)=>{const _0x171a6d=_0x1000c0;for(var _0x5318b4=_0x4a32ea>0x1?void 0x0:_0x4a32ea?_0x66c3e3(_0x6551c8,_0x3c584d):_0x6551c8,_0x4ef15f=_0x32a2ab[_0x171a6d(0x1d8)]-0x1,_0x4a4e2b;_0x4ef15f>=0x0;_0x4ef15f--)(_0x4a4e2b=_0x32a2ab[_0x4ef15f])&&(_0x5318b4=(_0x4a32ea?_0x4a4e2b(_0x6551c8,_0x3c584d,_0x5318b4):_0x4a4e2b(_0x5318b4))||_0x5318b4);return _0x4a32ea&&_0x5318b4&&_0x321025(_0x6551c8,_0x3c584d,_0x5318b4),_0x5318b4;},_0x1ba060=(_0xb84d92,_0x5658c3)=>(_0xe73b4a,_0x39775f)=>_0x5658c3(_0xe73b4a,_0x39775f,_0xb84d92);let _0x565a53=class{constructor(_0x37effa,_0x5dc2a5,_0x3b3e35){const _0x50f1c8=_0x1000c0;this[_0x50f1c8(0x230)]=_0x37effa,this['_httpService']=_0x5dc2a5,this[_0x50f1c8(0x413)]=_0x3b3e35,this[_0x50f1c8(0x150)]();}['init'](){const _0x1d9367=_0x1000c0;this['_httpService'][_0x1d9367(0x20b)]({'priority':0x1,'interceptor':(_0x44350c,_0x4e5ae5)=>_0x4e5ae5(_0x44350c)[_0x1d9367(0x161)](_0x3c7a49['concatMap'](async _0x30242f=>{const _0x358ed7=_0x1d9367,_0x5e5c99=_0x30242f;if(_0x5e5c99['status']===0x191&&window['confirm'](this[_0x358ed7(0x413)]['t'](_0x358ed7(0x1ca)))){const _0x185174=window[_0x358ed7(0x276)](window[_0x358ed7(0x283)][_0x358ed7(0x2b2)]);window['location'][_0x358ed7(0x2b2)]=this[_0x358ed7(0x3f8)]()+_0x358ed7(0x337)+_0x185174;}return _0x5e5c99;}))});}[_0x1000c0(0x3f8)](){const _0x38d5e4=_0x1000c0;var _0x1e70b7;return(_0x1e70b7=this[_0x38d5e4(0x230)][_0x38d5e4(0x393)](_0x24179b))!=null?_0x1e70b7:_0x21698b;}};_0x565a53=_0x56c29c([_0x1ba060(0x0,_0x592d59[_0x1000c0(0x41f)]),_0x1ba060(0x1,_0x1ea985[_0x1000c0(0x368)](_0x490a4f[_0x1000c0(0x4b0)])),_0x1ba060(0x2,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x279)]))],_0x565a53);var _0x44f474=Object['defineProperty'],_0x81d61c=Object[_0x1000c0(0x2d4)],_0x805759=(_0x20b8c6,_0xa7d94f,_0x29798b,_0x1aac6a)=>{for(var _0x4e1009=_0x1aac6a>0x1?void 0x0:_0x1aac6a?_0x81d61c(_0xa7d94f,_0x29798b):_0xa7d94f,_0x4c557c=_0x20b8c6['length']-0x1,_0x3ed1cc;_0x4c557c>=0x0;_0x4c557c--)(_0x3ed1cc=_0x20b8c6[_0x4c557c])&&(_0x4e1009=(_0x1aac6a?_0x3ed1cc(_0xa7d94f,_0x29798b,_0x4e1009):_0x3ed1cc(_0x4e1009))||_0x4e1009);return _0x1aac6a&&_0x4e1009&&_0x44f474(_0xa7d94f,_0x29798b,_0x4e1009),_0x4e1009;},_0x17dbe9=(_0x1e16d2,_0x588bbf)=>(_0x16b1d8,_0x5759c3)=>_0x588bbf(_0x16b1d8,_0x5759c3,_0x1e16d2);const _0x2b07b8=_0x1000c0(0x463),_0x31d49f='/universer-api/authz';_0x322d5b[_0x1000c0(0x430)]=class{constructor(_0x213d16,_0x1212d6){const _0x53f6d7=_0x1000c0;this[_0x53f6d7(0x2b9)]=_0x213d16,this['_configService']=_0x1212d6;}['_getAPIPrefixPath'](){const _0x7dea57=_0x1000c0;var _0x24733f;return(_0x24733f=this[_0x7dea57(0x230)][_0x7dea57(0x393)](_0x2b07b8))!=null?_0x24733f:_0x31d49f;}async[_0x1000c0(0x3c0)](_0x1f9c08){const _0x4f6ad7=_0x1000c0,_0x3cb453=this['_getAPIPrefixPath']()+'/'+_0x1f9c08['objectType']+_0x4f6ad7(0x194);return(await this[_0x4f6ad7(0x2b9)]['post'](_0x3cb453,{'body':_0x1f9c08}))[_0x4f6ad7(0x3cf)]['objectID']||'';}async[_0x1000c0(0x1df)](_0x5cc3b6){const _0x4ef467=_0x1000c0,_0xec2e15=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService']['post'](_0xec2e15,{'body':_0x5cc3b6}))['body'][_0x4ef467(0x46a)];}async['update'](_0x5c79bb){const _0xfdde05=_0x1000c0,_0x305dbd=this[_0xfdde05(0x2c6)]()+'/'+_0x5c79bb[_0xfdde05(0x2ad)]+_0xfdde05(0x4d6)+_0x5c79bb[_0xfdde05(0x30e)];await this[_0xfdde05(0x2b9)]['put'](_0x305dbd,{'body':_0x5c79bb});}async[_0x1000c0(0x3fd)](_0x2eee16){const _0x20a6d0=_0x1000c0,_0x10ddb3=this['_getAPIPrefixPath']()+'/'+_0x2eee16[_0x20a6d0(0x2ad)]+_0x20a6d0(0x4d6)+_0x2eee16[_0x20a6d0(0x30e)]+'/allowed';return(await this[_0x20a6d0(0x2b9)][_0x20a6d0(0x33c)](_0x10ddb3,{'body':_0x2eee16}))[_0x20a6d0(0x3cf)][_0x20a6d0(0x24f)];}async['batchAllowed'](_0x33621c){const _0x953b74=_0x1000c0,_0x2f2ccc=this[_0x953b74(0x2c6)]()+_0x953b74(0x379);return(await this['_HTTPService']['post'](_0x2f2ccc,{'body':{'requests':_0x33621c}}))[_0x953b74(0x3cf)]['objectActions'];}async[_0x1000c0(0x37a)](_0x53656a){const _0x2e194b=_0x1000c0,_0x9e0493=this['_getAPIPrefixPath']()+'/'+_0x53656a[_0x2e194b(0x2ad)]+_0x2e194b(0x1e5),_0x2c4c37=await this[_0x2e194b(0x2b9)]['post'](_0x9e0493,{'body':_0x53656a});return{'roles':_0x2c4c37[_0x2e194b(0x3cf)][_0x2e194b(0x492)],'actions':_0x2c4c37[_0x2e194b(0x3cf)][_0x2e194b(0x24f)]};}async[_0x1000c0(0xf8)](_0x227d7f){const _0x19bb8d=_0x1000c0,_0x16bfa1=this['_getAPIPrefixPath']()+_0x19bb8d(0x414);await this[_0x19bb8d(0x2b9)]['delete'](_0x16bfa1,{'params':{'collaboratorID':_0x227d7f[_0x19bb8d(0x3bd)],'objectID':_0x227d7f['objectID'],'unitID':_0x227d7f[_0x19bb8d(0x10f)]}});}async[_0x1000c0(0x344)](_0xab6d0c){const _0x13e7d6=_0x1000c0,_0x3874e0=this[_0x13e7d6(0x2c6)]()+_0x13e7d6(0x414);await this[_0x13e7d6(0x2b9)][_0x13e7d6(0x3be)](_0x3874e0,{'body':_0xab6d0c});}async[_0x1000c0(0x203)](_0x4ecbe0){const _0xc6541f=_0x1000c0,_0x39fe00=this[_0xc6541f(0x2c6)]()+'/collaborator';await this[_0xc6541f(0x2b9)][_0xc6541f(0x33c)](_0x39fe00,{'body':_0x4ecbe0});}async[_0x1000c0(0x367)](_0x3c0c44){const _0x169021=_0x1000c0,_0x52be22=this[_0x169021(0x2c6)]()+_0x169021(0x414);return(await this['_HTTPService'][_0x169021(0x1de)](_0x52be22,{'params':{'objectID':_0x3c0c44[_0x169021(0x30e)],'unitID':_0x3c0c44['unitID']}}))[_0x169021(0x3cf)][_0x169021(0x2d7)];}async[_0x1000c0(0x1c5)](_0x3edc18){const _0x32645f=_0x1000c0,_0x4e97ad=this[_0x32645f(0x2c6)]()+_0x32645f(0x414);await this[_0x32645f(0x2b9)]['put'](_0x4e97ad,{'body':_0x3edc18});}},_0x322d5b[_0x1000c0(0x430)]=_0x805759([_0x17dbe9(0x0,_0x1ea985[_0x1000c0(0x368)](_0x490a4f[_0x1000c0(0x4b0)])),_0x17dbe9(0x1,_0x1ea985[_0x1000c0(0x368)](_0x592d59[_0x1000c0(0x41f)]))],_0x322d5b[_0x1000c0(0x430)]);var _0x5c31dc=Object['defineProperty'],_0x4e1ec5=Object['getOwnPropertyDescriptor'],_0x57e363=(_0x3aadf0,_0x1e5f1d,_0xad909a,_0xe7be)=>{const _0x77a2e5=_0x1000c0;for(var _0x5a9245=_0xe7be>0x1?void 0x0:_0xe7be?_0x4e1ec5(_0x1e5f1d,_0xad909a):_0x1e5f1d,_0x3c5987=_0x3aadf0[_0x77a2e5(0x1d8)]-0x1,_0x51f94b;_0x3c5987>=0x0;_0x3c5987--)(_0x51f94b=_0x3aadf0[_0x3c5987])&&(_0x5a9245=(_0xe7be?_0x51f94b(_0x1e5f1d,_0xad909a,_0x5a9245):_0x51f94b(_0x5a9245))||_0x5a9245);return _0xe7be&&_0x5a9245&&_0x5c31dc(_0x1e5f1d,_0xad909a,_0x5a9245),_0x5a9245;},_0x39d37c=(_0x3b58da,_0x3f7fc8)=>(_0x5083dc,_0x45953b)=>_0x3f7fc8(_0x5083dc,_0x45953b,_0x3b58da);const _0x1cd68a=[_0x1000c0(0x2bb),_0x1000c0(0x4a2),_0x1000c0(0x376),_0x1000c0(0x1cd),_0x1000c0(0x1d4)],_0x40c14a=0x5*0x400*0x400,_0x126eaa=_0x1000c0(0x285),_0x1c51e0=_0x1000c0(0x23f),_0x3184f1=_0x1000c0(0x2e8),_0x426cbc=_0x1000c0(0x1bc);let _0x1c3e30=class{constructor(_0x1d6efd,_0x1fabb0){const _0x17c426=_0x1000c0;_0x40dfd7(this,'_waitCount',0x0),_0x40dfd7(this,_0x17c426(0x484),new _0x3c7a49['Subject']()),_0x40dfd7(this,_0x17c426(0x17e),this['_change$']),_0x40dfd7(this,_0x17c426(0x109),new Map()),(this[_0x17c426(0x434)]=_0x1d6efd,this['_configService']=_0x1fabb0);}[_0x1000c0(0x1d3)](_0x60eccb){const _0x2bdeb1=_0x1000c0;this[_0x2bdeb1(0x216)]=_0x60eccb,this[_0x2bdeb1(0x484)][_0x2bdeb1(0x117)](_0x60eccb);}['getImageSourceCache'](_0x23495f,_0x2f72fe){const _0x127aa2=_0x1000c0;if(_0x2f72fe===_0x3b3d9c['ImageSourceType'][_0x127aa2(0x39e)]){const _0xfd706c=new Image();return _0xfd706c[_0x127aa2(0x31c)]=_0x23495f,_0xfd706c;}return this[_0x127aa2(0x109)][_0x127aa2(0x1de)](_0x23495f);}[_0x1000c0(0x2dd)](_0x3969ac,_0x400992,_0x5df407){const _0x2b0db4=_0x1000c0;_0x400992===_0x3b3d9c[_0x2b0db4(0x1d9)]['BASE64']||_0x5df407==null||this[_0x2b0db4(0x109)][_0x2b0db4(0x4c2)](_0x3969ac,_0x5df407);}async[_0x1000c0(0x2be)](_0xe93dc4){const _0x2ef9eb=_0x1000c0;try{const _0x3afdb5=this[_0x2ef9eb(0x39b)](this[_0x2ef9eb(0x25b)](),''+_0xe93dc4),_0x1b0a13=(await this['_httpService']['get'](_0x3afdb5))[_0x2ef9eb(0x3cf)];return _0x1b0a13[_0x2ef9eb(0x343)]&&_0x1b0a13['error']['code']===_0x39c634['OK']?Promise[_0x2ef9eb(0x439)](_0x1b0a13[_0x2ef9eb(0x231)]):Promise[_0x2ef9eb(0x432)](_0x1b0a13[_0x2ef9eb(0x343)]);}catch(_0x5ad112){return Promise['reject'](_0x5ad112);}}async['saveImage'](_0x193d6e){const _0x4d34d4=_0x1000c0;let _0x4a44d5='';if(!_0x1cd68a[_0x4d34d4(0x482)](_0x193d6e[_0x4d34d4(0x49b)]))return this[_0x4d34d4(0x1e4)](),Promise[_0x4d34d4(0x432)](new Error(_0x3b3d9c[_0x4d34d4(0x400)][_0x4d34d4(0x310)]));if(_0x193d6e[_0x4d34d4(0x237)]>_0x40c14a)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x3b3d9c[_0x4d34d4(0x400)][_0x4d34d4(0x271)]));try{const _0x2b9d58=new FormData();_0x2b9d58[_0x4d34d4(0x1ab)]('file',_0x193d6e);const _0x3589c9=this[_0x4d34d4(0x22a)]()+_0x4d34d4(0x383)+_0x193d6e[_0x4d34d4(0x237)][_0x4d34d4(0x4a3)](),_0x1935a6=await(await fetch(_0x3589c9,{'method':_0x4d34d4(0x221),'body':_0x2b9d58}))[_0x4d34d4(0x23b)]();if(typeof _0x1935a6[_0x4d34d4(0x2f2)]!=_0x4d34d4(0x422))return this[_0x4d34d4(0x1e4)](),Promise[_0x4d34d4(0x432)](new Error(_0x3b3d9c['ImageUploadStatusType'][_0x4d34d4(0x40d)]));_0x4a44d5=_0x1935a6[_0x4d34d4(0x2f2)];}catch{return this[_0x4d34d4(0x1e4)](),Promise['reject'](new Error(_0x3b3d9c[_0x4d34d4(0x400)]['ERROR_IMAGE']));}return new Promise((_0x5e136f,_0x3c2023)=>{const _0x2dd256=_0x4d34d4,_0x768c0a=new FileReader();_0x768c0a[_0x2dd256(0x111)](_0x193d6e),_0x768c0a['onload']=_0xf37bc7=>{const _0x87a17f=_0x2dd256;var _0x1e1b26;const _0x1fcacf=(_0x1e1b26=_0xf37bc7[_0x87a17f(0x2b4)])==null?void 0x0:_0x1e1b26[_0x87a17f(0x170)];if(_0x1fcacf==null){this[_0x87a17f(0x1e4)](),_0x3c2023(new Error(_0x3b3d9c[_0x87a17f(0x400)]['ERROR_IMAGE']));return;}const _0x1498b6=_0x592d59[_0x87a17f(0x33a)][_0x87a17f(0x275)](0x6);_0x5e136f({'imageId':_0x1498b6,'imageSourceType':_0x3b3d9c[_0x87a17f(0x1d9)]['UUID'],'source':_0x4a44d5,'base64Cache':_0x1fcacf,'status':_0x3b3d9c[_0x87a17f(0x400)][_0x87a17f(0x31e)]}),this[_0x87a17f(0x1e4)]();};});}[_0x1000c0(0x22a)](){const _0x27d475=_0x1000c0;var _0x3e6644;return(_0x3e6644=this[_0x27d475(0x230)][_0x27d475(0x393)](_0x126eaa))!=null?_0x3e6644:_0x1c51e0;}['_getSignURL'](){const _0x5de03f=_0x1000c0;var _0x2778cb;return(_0x2778cb=this[_0x5de03f(0x230)][_0x5de03f(0x393)](_0x3184f1))!=null?_0x2778cb:_0x426cbc;}[_0x1000c0(0x39b)](_0x1dbbe3,_0xbcdaf1){const _0x168297=_0x1000c0;return _0x1dbbe3[_0x168297(0x164)]('{fileID}',_0xbcdaf1);}[_0x1000c0(0x1e4)](){const _0x44deb9=_0x1000c0;this[_0x44deb9(0x216)]-=0x1,this[_0x44deb9(0x484)][_0x44deb9(0x117)](this[_0x44deb9(0x216)]);}};_0x1c3e30=_0x57e363([_0x39d37c(0x0,_0x1ea985[_0x1000c0(0x368)](_0x490a4f[_0x1000c0(0x4b0)])),_0x39d37c(0x1,_0x592d59[_0x1000c0(0x41f)])],_0x1c3e30);var _0x490821=Object[_0x1000c0(0x1a1)],_0x5ee236=Object[_0x1000c0(0x2d4)],_0x2370bf=(_0x1eecbb,_0x56c6c6,_0x3ea297)=>_0x56c6c6 in _0x1eecbb?_0x490821(_0x1eecbb,_0x56c6c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea297}):_0x1eecbb[_0x56c6c6]=_0x3ea297,_0x540fda=(_0xbf8689,_0x262718,_0x909a0b,_0x68fd6a)=>{for(var _0x48f9a4=_0x68fd6a>0x1?void 0x0:_0x68fd6a?_0x5ee236(_0x262718,_0x909a0b):_0x262718,_0x5ccf4e=_0xbf8689['length']-0x1,_0x1eb740;_0x5ccf4e>=0x0;_0x5ccf4e--)(_0x1eb740=_0xbf8689[_0x5ccf4e])&&(_0x48f9a4=(_0x68fd6a?_0x1eb740(_0x262718,_0x909a0b,_0x48f9a4):_0x1eb740(_0x48f9a4))||_0x48f9a4);return _0x68fd6a&&_0x48f9a4&&_0x490821(_0x262718,_0x909a0b,_0x48f9a4),_0x48f9a4;},_0x5889aa=(_0xa8cd26,_0x231e38)=>(_0x30f17e,_0x2dcdf3)=>_0x231e38(_0x30f17e,_0x2dcdf3,_0xa8cd26),_0x5674a0=(_0x26f970,_0x278be7,_0x113a8b)=>_0x2370bf(_0x26f970,_0x278be7+'',_0x113a8b);const _0x1d21f0='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x322d5b[_0x1000c0(0x32a)]=class extends _0x592d59[_0x1000c0(0x3fa)]{constructor(_0xc4bc2e,_0x137f2f,_0x238577){const _0xdc06a1=_0x1000c0;super(),this[_0xdc06a1(0x362)]=_0xc4bc2e,this['_logService']=_0x137f2f,this['_injector']=_0x238577;}['onStarting'](_0x1c4faf){const _0x1659ef=_0x1000c0;var _0x55a591,_0x200a5a,_0x47ab5b,_0x3dd719,_0x2f9460;_0x1c4faf[_0x1659ef(0x321)](_0x592d59['IUndoRedoService'])&&this[_0x1659ef(0x195)][_0x1659ef(0x343)](_0x1659ef(0x4ab),_0x1659ef(0x46f));let _0x3047c0=[[_0x592d59[_0x1659ef(0x116)],{'useClass':_0x2d43eb}],[_0x322d5b[_0x1659ef(0x272)]],[_0x3c16e5],[_0x490a4f[_0x1659ef(0x4b0)]],[_0x30215f,{'useClass':_0x22522f}],[_0x2539c6],[_0x322d5b[_0x1659ef(0x24c)]],[_0x490a4f[_0x1659ef(0x27a)]],[_0x20fcca],[_0x12dda8],[_0x38f511],[_0x148177],[_0x565a53],[_0x3c2f54],[_0x81d796,{'useClass':(_0x200a5a=(_0x55a591=this['_config'])==null?void 0x0:_0x55a591[_0x1659ef(0x358)])!=null?_0x200a5a:_0x322d5b['CollaborationSocketService']}],[_0x490a4f[_0x1659ef(0x26b)],{'useClass':_0x490a4f[_0x1659ef(0x3c1)]}],[_0x592d59[_0x1659ef(0x460)],{'useClass':_0x21a4dd}],[_0x592d59[_0x1659ef(0x1fc)],{'useClass':_0x322d5b[_0x1659ef(0x430)]}],[_0x3b3d9c[_0x1659ef(0x17c)],{'useClass':_0x1c3e30}],[_0x322d5b['CollaborationController']],[_0x322d5b['DataLoaderController']],[_0x322d5b[_0x1659ef(0x144)]],[_0x23508c],[_0xc137f8]];(_0x47ab5b=this[_0x1659ef(0x362)])!=null&&_0x47ab5b[_0x1659ef(0x419)]&&_0x3047c0['push']([_0x1572dd,{'useClass':_0x24ef9a}]),((_0x3dd719=this[_0x1659ef(0x362)])==null?void 0x0:_0x3dd719['collaborationUniverTypes'])==null||this[_0x1659ef(0x362)][_0x1659ef(0x1dd)][_0x1659ef(0x482)](_0x592d59['UniverInstanceType'][_0x1659ef(0x149)])?_0x3047c0['push']([_0x480b36]):this[_0x1659ef(0x362)][_0x1659ef(0x1dd)][_0x1659ef(0x482)](_0x592d59['UniverInstanceType'][_0x1659ef(0x119)])&&_0x3047c0[_0x1659ef(0x1a6)]([_0x524941]),_0x3047c0=_0x592d59[_0x1659ef(0x444)](_0x3047c0,(_0x2f9460=this[_0x1659ef(0x362)])==null?void 0x0:_0x2f9460[_0x1659ef(0x3c4)]),_0x3047c0['forEach'](_0x278b64=>_0x1c4faf[_0x1659ef(0x290)](_0x278b64)),_0x1c4faf[_0x1659ef(0x1de)](_0x490a4f[_0x1659ef(0x4b0)])[_0x1659ef(0x20b)]({'priority':0x14,'interceptor':_0x490a4f[_0x1659ef(0x17b)]({'maxParallel':0x6})}),this[_0x1659ef(0x175)]();}['_initModules'](){const _0x218620=_0x1000c0;var _0xffc4b8,_0x54a60f;(_0xffc4b8=this[_0x218620(0x362)])!=null&&_0xffc4b8[_0x218620(0x3ef)]||this['_injector'][_0x218620(0x1de)](_0x322d5b['LocalCacheService'])[_0x218620(0x3e8)](),(_0x54a60f=this[_0x218620(0x362)])!=null&&_0x54a60f[_0x218620(0x297)]&&this[_0x218620(0x27f)]['get'](_0x565a53);}},_0x5674a0(_0x322d5b[_0x1000c0(0x32a)],_0x1000c0(0x346),_0x1d21f0),_0x322d5b[_0x1000c0(0x32a)]=_0x540fda([_0x592d59[_0x1000c0(0x280)](_0x1f6364[_0x1000c0(0x16d)]),_0x5889aa(0x1,_0x592d59[_0x1000c0(0x1ef)]),_0x5889aa(0x2,_0x1ea985[_0x1000c0(0x368)](_0x1ea985[_0x1000c0(0x3ee)]))],_0x322d5b['UniverCollaborationClientPlugin']),_0x322d5b['AUTHZ_URL_KEY']=_0x2b07b8,_0x322d5b[_0x1000c0(0x222)]=_0x50bca1,_0x322d5b['COLLAB_WEB_SOCKET_URL_KEY']=_0x1ed340,_0x322d5b[_0x1000c0(0x409)]=_0x3e6f91,_0x322d5b[_0x1000c0(0xff)]=_0x1d230a,_0x322d5b[_0x1000c0(0x142)]=_0x3c2f54,_0x322d5b[_0x1000c0(0x2fc)]=_0x415ece,_0x322d5b[_0x1000c0(0x300)]=_0x22e7f5,_0x322d5b[_0x1000c0(0x2ba)]=_0x81d796,_0x322d5b[_0x1000c0(0x36b)]=_0x30215f,_0x322d5b[_0x1000c0(0x12d)]=_0x5cb089,_0x322d5b[_0x1000c0(0x381)]=_0x24179b,_0x322d5b[_0x1000c0(0x494)]=_0x48f0d1,_0x322d5b[_0x1000c0(0x457)]=_0x4ba31f,_0x322d5b[_0x1000c0(0x380)]=_0x3478c0,_0x322d5b['SessionStatus']=_0x28f044,_0x322d5b[_0x1000c0(0x1fd)]=_0x22522f,_0x322d5b['deserializeToCombResponse']=_0x339084,_0x322d5b[_0x1000c0(0x11b)]=_0x488cf7,Object['defineProperty'](_0x322d5b,Symbol[_0x1000c0(0x446)],{'value':_0x1000c0(0x407)});}));function _0x492d(_0xc57c64,_0x3f26ef){const _0x23bd23=_0x23bd();return _0x492d=function(_0x492da9,_0x5d9a4a){_0x492da9=_0x492da9-0xf6;let _0x2504a4=_0x23bd23[_0x492da9];return _0x2504a4;},_0x492d(_0xc57c64,_0x3f26ef);}function _0x23bd(){const _0x59b3ec=['isTransformChangesetsSuccess','_replaceFileID','newValue','RevisionService','BASE64','url(#on-line-single_clip0_910_349)','status$','_startSheetCollabCursor','amd','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onlineStatusTitle','all','HEARTBEAT','VIEWPORT_KEY','APPLY_NON_SEQUENTIAL_REVISION','HELLO','_clearLocalCache','_compressMutationService','setCurrentUser','818676jYcWky','_session','ALREADY_EXISTS','_initStatusListener','beginPath','univer-online','_drawAnchor','PERMISSION_DENIED','idSuffix','drawWith','editing\x20status\x20changed\x20to','/unit/','_unlockTransition','awaitingChangeset','getSelections','HEARTBEAT_INTERVAL','collaboratorID','patch','_isPermissionRej','create','XHRHTTPImplementation','setTimeout','_labelPosition','override','getActiveSheet','_queuedRemoteChangesets','_transformIMECache','UniverSheetsUi','NOT_COLLAB','takeUntil','updateOfflineData','forwardRef','DeleteRangeMoveLeftCommandId','_document','body','FromArray','findNodePositionByCharIndex','_commentUpdate$','createElement','collabStatus.offline','filter','b64DecodeUnicode','_urlService','_onCursorUpdate','clipPath','univerjs-icon\x20univerjs-icon-','UniverCollaborationClient','6qsTrSC','React','className','SetTextSelectionsOperation','sheets','0\x200\x2016\x2016','getRoom','EffectRefRangId','_colorAssignService','random','YUUMI_UNABLE_LOAD_URL','name','disableLocalCache','getAncestorScale','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_collabCursorController','icon','SnapshotService','Injector','enableOfflineEditing','handleIRemoveCol','measureText','apply','collabStatus.conflict','MessageType','[PendingState]:\x20unhandled\x20univer\x20type:\x20','\x20in\x20_schedule.','_lastPointer','_getLoginPath','_scheduleReconnection','Plugin','error$','0\x200\x2017\x2016','allowed','transformIMECache','range','ImageUploadStatusType','_commandService','history','UniverDesign','_onRemoteACK','[CollaborationSessionService]:\x20socket\x20error','getRangePointData','Module','collaboration-client.offline-data-not-saved','CollaborationStatus','_heartbeatTimer','_univerInstanceService','_roomMembers$','ERROR_IMAGE','isArray','INVALID_ARGUMENT','_retryConnectingTimer','IMessageService','getDocObject','localeService','/collaborator','flatMap','/block/','_sessions','code','enableSingleActiveInstanceLock','connection\x20error','_updateLocalCache','socket\x20close','react','@univerjs/drawing','IConfigService','isTransformMutationsWithChangesetFailure','whenReady','string','isTransformMutationFailure','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_id','selection','open$','_clearTimeoutTimer','_onCombEvent','_onUserJoin','_substituteRedoStack','labelPosition','min','handleInsertCol','subscribe','AuthzIoHttpService','_refRangeService','reject','UNKNOWN_CMD','_httpService','[OfflineState]:\x20received\x20changeset.','transformMutationsWithChangeset','InsertSheetMutation','_docStateChangeManagerService','resolve','fromEvent','closePath','skeleton','top','_acknowledgedAwaitingChangeset','syncEditingCollabCursor','slice','then','COMPRESS_MUTATION_APPLY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','mergeOverrideWithDependencies','uni.network.url-service','toStringTag','Error','hovered','getSheetId','isEditing','_lockTransition','_joinRoom','_sessionStatus$','max','_assignedColors','Disposable','clearTimeout','function','trim','onTransformRemoteChangesetByIMECache','removeMember','saveOfflineData','SNAPSHOT_SERVER_URL_KEY','CompressMutationService','setShapeProps','RefRangeService','off-line-single','_substituteUndoStack','DocStateChangeManagerService','LOCAL_CACHE_INTERVAL','/new_changes','ISnapshotServerService','Ready','updateCursorEvent','AUTHZ_URL_KEY','width','commentUpdate$','_anchorDot','registerBeforeClose','_updateLocalCursor','parseProtocolChangeset','objects','_setupBeforeClosingHandler','addEventListener','fetch_missing','NO_OTHER_CLIENTS_EDITING','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','submit\x20changeset\x20error!','SelectionManagerService','routeKey','_toggleOnline','_clearScheduledTask','changesets','_updateStatus','UNIVER_SLIDE','_themeService','collabCursorState$','_textBubble','OnLifecycle','PENDING','_collaborationController','mapDocumentTypeToUniverType','LIVESHARE_FETCH_OPERATIONS','toRgbString','getOwnPropertySymbols','includes','cursorInfo','_change$','from','split','[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.','_shapes','conflict.title','transformByState','RichTextEditingMutation','_getAPIPrefix','univer-pro.collaboration-client-socket-service','@wendellhu/redi','fillStyle','_scheduleHeartbeat','[CollaborationSessionService]','roles','3952688ZCBiAp','SEND_CHANGESET_TIMEOUT_KEY','_tryEnsureSocket','failed\x20to\x20apply\x20missed\x20changesets!','_onConflict','getOffsetConfig','LICENSE_MAX_UNITS_EXCEEDED','_createInitialStateImpl','type','m1Prime','_onFetchMissResult','Optional','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_sheetSkeletonManagerService','_color','image/jpeg','toString','_docSkeletonManagerService','OFFLINE','APPLY_REJECT','_socketReady','getCollabEntity$','UniverRpc','memberID','[UniverCollaborationClientPlugin]','editingUnit','univer-offline','debounce','saveSheetBlock','HTTPService','resourceIDs','@univerjs/network','_handleHover','session.collaboration-timeout','complete','SetSelectionsOperation','_transformRemoteChangesetByIMECache','SEND_CHANGESET_TIMEOUT','RemoveColCommandId','getTime','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','YUUMI_URL_COL_OUT_OF_RANGE','_scheduleTimestamp','unit','leaveEvent','TextSelectionManagerService','useDependency','set','rgba(255,\x20255,\x20255,\x200.01)','BuiltInUIPart','fillText','_scene','_getSheetObject','_updateState','_removeCollabCursors','_messageService','synced','_getRedoStack','startColumn','COLLAB_WEB_SOCKET_URL','Steady','UNIVER_UNKNOWN','onSendChangeset','getActiveRange','rev','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','url(#$1','/object/','session.will-retry','InsertRangeMoveRightCommandId','unit-cache-','path','_replayCachedMutations','LEAVE','deleteCollaborator','makeDirty','_members','lineTo','online','_scheduleSaving','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CollaborationStatusDisplay','restore','endColumn','_waitForHeartbeatResponse','@univerjs/engine-render','Vector2','OTHER_CLIENTS_EDITING','1em','appendMutation','[PendingState]:\x20received\x20acknowledgement.','_imageSourceCache','entries','setItem','_hover','_sendHeartbeat','LocalUndoRedoService','unitID','INTERNAL_ERROR','readAsDataURL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','resend','_clearCollaborationTimeoutTimer','state','IUndoRedoService','next','defs','UNIVER_DOC','useRef','serializeCombRequest','CollaborationSocketService','_initStatusComponent','currentColor','_singleActiveUnitService','_draw','#FFF','mutations','_socket$','_onRecvEvent','ThemeService','getRenderById','LIVESHARE_REQUEST_HOST','@wendellhu/redi/react-bindings','session','getSheetBlock','_notificationService','_pendingMutations','LOCAL_CACHE_INTERVAL_KEY','COLORS','onMissedChangesetFetched','toggleOffline','ICommandService','getSheetObject','USERS_LEAVE','createInstance','TEXT_RANGE_LAYER_INDEX','getViewport','CommandType','_transitionLocked','INGEST','take','createIdentifier','liveShareNewHost','_userManagerService','getTypeOfUnitAdded$','_transformUndoRedoStack','_localCacheService','UniverEngineRender','CommentService','unshift','DesktopCollaborationStatusDisplayController','svg','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_permissionService','onlineStatus','UNIVER_SHEET','_clearUndo','isActive','csRejEvent','registerComponent','_colorIndex','colorChannel1','init','LIVESHARE_OPERATION','_saveCache','fetching\x20missing\x20changesets\x20from\x20','sheetId','\x20to\x20','FETCH_MISS','UPDATE_CURSOR','parseChangesetToProtocol','CollaborationEvent','RegularPolygon','addObjects','getUnitOnRev','_toggleOffline','fill','_disableEditing','originalMeta','pipe','_onUserLeave','joinRsp','replace','INotificationService','APPLY_PERMISSION_DENIED','jiqing500','sequenceExecute','InsertRowCommandId','send','_socketMessageSubscription','_submitChangeset','UniverCollaborationPlugin','_scheduleCollaborationTimeoutTimer','handleDeleteRangeMoveLeft','result','_removeRoom','pushState','Warning','serializeTextRange','_initModules','_onRemoteRejected','_docTransformIMECacheService','onCommandExecuted','_getUndoStack','ILocalStorageService','ThresholdInterceptorFactory','IImageIoService','UNDEFINED','change$','Starting','isTransformMutationsWithChangesetSuccess','registerOnClose','unload','interceptor','DeleteRangeMoveUpCommandId','_transformUndoredo','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_hideTimer','_updateURLWithCurrentState','_executeRemoteChangeset','object','_sendHeartbeatTimer','[FetchMissState]','MSG_FOR_ERROR','onStateChange','_getAnchorBounding','SNAPSHOT_HAS_BEEN_REMOVED','onMouseMove','DataLoaderController','@univerjs/sheets-ui','/object','_logService','_transformSelections','TOO_MANY_REQUESTS','/universer-api/oidc/authpage','stringify','onTransformIME','_render','_sheetTransformSelectionsService','getItem','executeCommand','liveShareOperation','[CollaborationEntity]','defineProperty','getParam','_anchor','currentTheme$','getUnitStatus$','push','InsertColCommandId','searchParams','getSheetBySheetId','runRefRangeMutations','append','height','mapTo','_getDocObject','getCurrent','DEFAULT_FILE_NAME','_removeClearOtherTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','assignAColorForMemberID','1241247kexWfE','UniverInstanceType','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','urlChange$','2504292tGueLh','[SyncedState]:\x20received\x20rejection.','rxjs','getFocusedUnit','/universer-api/file/{fileID}/sign-url','_getSnapshotAPIPrefix','off-line-single_clip0_910_343','#fff','_startCollaboration','onlineStatusIcon','requireSession','2829415VhEloN','UniverCore','putCollaborators','sheetID','LifecycleStages','_applyRemoteChangeset','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','auth.needGotoLoginAlert','RemoveRowCommandId','getMember','image/gif','attrs','distinctUntilChanged','handleMoveRange','currentSkeleton$','_sendingTimer','setWaitCount','image/bmp','CHANGESET_ACK','UniverUi','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','length','ImageSourceType','/rev/','18wHQSFE','IBeforeCloseService','collaborationUniverTypes','get','list','_revisionService','getInterceptPoints','_getCurrentRevision','_cachedData','_decreaseWaiting','/role','use','PSEUDO_FETCH_MISSING_RESULT','COMPRESS_MUTATION_SEND','handleInsertRangeMoveRight','_docTransformSelectionsService','_collaborationPaused','params','collabStatus.fetchMiss','cursorInfo$','ILogService','_undoStacks','ranges','unknown','_ensureSubject','arc','map','RETRY_CONNECTING_MAX_COUNT','defIds','font','UniverCollaboration','black','_unitOnClients','IAuthzIoService','WebURLService','HEARTBEAT_TIMEOUT','setParam','CollaborationController','collaMsg','IRemoteInstanceService','createCollaborator','delay','transformSelections','_incrementRevisionNumber','[OfflineState]:\x20received\x20rejection.','Shape','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','conflict','registerHTTPInterceptor','_transformPreviousActiveRange','updatePermissionPoint','_cursors','[OfflineState]:\x20received\x20acknowledgement.','HEADER_MENU','_undoRedoService','_createHandler','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getDataModel','disposeWithMe','_waitCount','_getScale','_localStorageService','@univerjs/ui','focused$','_cursor','_clearRedo','selections','getValue','[CollaborationState]:\x20apply\x20error!','getUnitType','POST','COLLAB_SUBMIT_CHANGESET_URL_KEY','newCsEvent','_init','row','_clearOtherTimers','AWAITING_WITH_PENDING','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','text','_getUploadFileURL','unsubscribe','[SyncedState]:\x20received\x20acknowledgement.','@univerjs/sheets','sessionStatus','startRow','_configService','url','setInterval','_awaitingChangeset','delete','textRanges','doc.mutation.rich-text-editing','size','UniverEngineFormula','loadOfflineData','subunit','json','_docSyncEditingCollabCursorService','UNKNOWN_CODE','popstate','/universer-api/stream/file/upload','univer-pro.collaboration-client.single-active-unit-service','JOIN','LIVESHARE_NEW_HOST','ONLINE','_loadSheet','VIEW_MAIN','onRemoteAck','NOT_FOUND','_loadDoc','_name','_checkMissing','forEach','LocalCacheService','_onLocalMutation','_hovered','actions','save\x20fail\x20reason\x20is\x20','children','_handleHeartbeatEvent','event$','div','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','@univerjs-pro/collaboration','_state','_transformService','clsx','_snapshotServerService','_getSignURL','getCellPositionByOffset','createSocket','CONFLICT','_unitStatus','_syncEditingCollabCursorService','handleIRemoveRow','updateMember','eventID','activeSheet$','_beforeCloseService','call','getViewModel','fillRule','onRemoteChangeset','_getCtorByUniverType','IHTTPImplementation','save','onCommentUpdate','_onRemoteChangeset','_snapshotService','getUnitId','ERROR_EXCEED_SIZE','CollaborationSessionService','column','NEW_CHANGESETS','generateRandomId','encodeURIComponent','getCurrentUser','getCollabEntity','LocaleService','WebSocketService','_socketService','UniverNetwork','FAIL','IContextService','_injector','DependentOn','parse','hasOwnProperty','location','OffLineSingle','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_selfUnitIDs','OnLineSingle','userID','onSyncEditingCollabCursor','@univerjs/engine-formula','_eventUnsubscribe','cmd','session.connection-failed','_startDocCollabCursor','_disabled','add','url(#off-line-single_clip0_910_343)','state$','collab-text-anchor-','_drawRange','getCoordByCell','USERS_ENTER','enableAuthServer','replaceState','_roomMembers','_http','unitId','Rect','getRelativeCoord','_memberService','toDisposable','color','_localeService','_exhaustRemoteChangesetQueue','title','textEncoder','collab-text-range-','ColorKit','roomMembers','_transformStack','UniverDocs','transformMutation','_scheduleClearOtherTimer','_onRefRangeChange','objectType','collabStatus.synced','_ws','_send','c2Prime','href','_handleJoinEvent','target','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','workbook','exports','none','_HTTPService','ICollaborationSocketService','image/png','_uiPartsService','revision','getImage','_createInitialState','onPointerLeave$','extend','isPermissionRej','round','_syncEditingCollabCursor','deepClone','_getAPIPrefixPath','_handler','_collabSessionService','clearInterval','_saveTaskMap','transformChangesets','_onMessage','RxDisposable','_entities','purple300','Unknown\x20user','transformStack\x20failed!','removeParam','tag','getOwnPropertyDescriptor','xlink:href','pending','collaborators','4489835WFMXiJ','deserializeRangeWithSheet','lodash/debounce','handleDeleteRangeMoveUp','UserManagerService','addImageSourceCache','disposeUnit','_unitID','sessionStatus$','getCollabCursors$','_updateCollabCursors','@univerjs/design','onPointerEnter$','[PendingState]:\x20received\x20rejection.','setActiveRange','moveTo','EXCHANGE_SIGN_URL_SERVER_URL_KEY','assign','subscribeEvent','show','setAlpha','LIVESHARE_TERMINATE','indexOf','_handleLeaveEvent','CollaborationSession','close','FileId','_clearHeartbeatTimer','IDLE','_onJoinRoomEvent','onRemoteRej','_timeoutTimer','CHANGESET_REVISION_CONFILICT','_setupSubUnitSync','CONNECTOR_DATA_TOO_LARGE','offline','HEARTBEAT_INTERVAL_KEY','_showConflictNotification','ACTIVE_UNIT_EVENT_CHANNEL','RECV','HEARTBEAT_TIMEOUT_KEY','...','rxjs/operators','combineLatest','WorkbookEditablePermission','IUniverInstanceService','MUTATION','catch','evenodd','on-line-single_clip0_910_349','_collaborationTimeoutTimer','getUnhiddenWorksheets','_event$','displayName','objectID','merge','ERROR_IMAGE_TYPE','SUBMIT_CHANGESET','toggleOnline','RETRY_CONNECTING_INTERVAL','data','m2Prime','useObservable','_status$','_commentService','PERMISSION_REJ','_exhaustSavingTask','triggerDblclick','src','_cursorInfo$','SUCCUSS','message$','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','has','transformRemoteChangeset','onMissingChangesets','UNRECOGNIZED','shareReplay','getUndoRedoMutationParamsCache','enableLocalCache','concat','CHANGESET_REJ','UniverCollaborationClientPlugin','switchMap','asObservable','addObject','_schedule','status','encode','COMMENT_UPDATE','getUniverSheetInstance','_renderManagerService','bottom','getCurrentRevForDocument','socket\x20open.','?url=','dispose$','contains','Tools','Subject','post','FETCH_MISSING','IMEInputManagerService','baseRev','849914NtqIHA','getTypeOfUnitDisposed$','_state$','error','updateCollaborator','registerRefRange','pluginName','_remoteChangesetQueue','hide','_type','NodePositionConvertToCursor','collabStatus.syncing','_unitId','endRow','ITransformService','subUnitId','onTransformSelections','Error\x20on\x20receiving\x20event','_handleEvent','UNAUTHENTICATED','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_DISTRO_REJECTED','AWAITING','_onConnectionFailed','socketService','M0\x200H16V16H0z','serializeRangeWithSheet','@univerjs/rpc','getMemberID','fromCollab','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','BehaviorSubject','incrementRevForDocument','permission.content','_config','SheetSkeletonManagerService','@univerjs/docs','MoveRangeCommandId','_getSaveTimeout','listCollaborators','Inject','pauseCollaboration','IRenderManagerService','IURLService','_createSocket','[DataLoaderController]','_range','dispose','clear','loadSheet','collaboration.single-unit.warning','_rescheduleHeartbeatEvent','_socket','_retryCount','image/jpg','_fetchMissChangesets','IPermissionService','/-/object/-/batch_allowed','listRoles','debounceTime','DocSkeletonManagerService','_onCursorDelete','_online','_getSendChangesetTimeout','SNAPSHOT_URL_KEY','LOGIN_URL_KEY','transformUndoRedo','?size=','debug','fetchThroughInterceptors','_onConnectionOpen','_updateSubUnitFromURLParams','SetWorksheetActivateCommand','prototype','fetchMissingChangesets','_entityInit$','values','awaiting','_collabCursorState$','@univerjs/core','awaiting_with_pending','collabStatus.notCollab','APPLY_REVISION_CONFILICT','getConfig','docStateChange$','getColor','c1Prime','gold400','some','UniverDrawing'];_0x23bd=function(){return _0x59b3ec;};return _0x23bd();}
|