@univerjs-pro/collaboration-client 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _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 _0x50f8(_0x5a0214,_0x4ec5d6){const _0x15abea=_0x15ab();return _0x50f8=function(_0x50f8ae,_0x1857fd){_0x50f8ae=_0x50f8ae-0x158;let _0x352af0=_0x15abea[_0x50f8ae];return _0x352af0;},_0x50f8(_0x5a0214,_0x4ec5d6);}(function(_0x5f52d5,_0x1feff3){const _0x35e2fc=_0x50f8,_0x1460a5=_0x5f52d5();while(!![]){try{const _0x10cfb8=parseInt(_0x35e2fc(0x466))/0x1*(-parseInt(_0x35e2fc(0x314))/0x2)+-parseInt(_0x35e2fc(0x327))/0x3+-parseInt(_0x35e2fc(0x315))/0x4+-parseInt(_0x35e2fc(0x17e))/0x5+parseInt(_0x35e2fc(0x4ea))/0x6+parseInt(_0x35e2fc(0x191))/0x7+parseInt(_0x35e2fc(0x316))/0x8*(parseInt(_0x35e2fc(0x2f9))/0x9);if(_0x10cfb8===_0x1feff3)break;else _0x1460a5['push'](_0x1460a5['shift']());}catch(_0x7b8270){_0x1460a5['push'](_0x1460a5['shift']());}}}(_0x15ab,0x52627),function(_0xbc3d2f,_0xe5602b){const _0x237761=_0x50f8;typeof exports==_0x237761(0x1d8)&&typeof module<'u'?_0xe5602b(exports,require(_0x237761(0x3ad)),require(_0x237761(0x306)),require(_0x237761(0x1ad)),require(_0x237761(0x2ad)),require(_0x237761(0x351)),require('@wendellhu/redi'),require(_0x237761(0x15c)),require(_0x237761(0x45e)),require(_0x237761(0x205)),require(_0x237761(0x310)),require('@univerjs/drawing'),require(_0x237761(0x4cb)),require('lodash/debounce'),require('@univerjs/engine-render'),require(_0x237761(0x1b3)),require(_0x237761(0x4dc)),require(_0x237761(0x31c)),require('clsx'),require(_0x237761(0x1f3))):typeof define==_0x237761(0x3b8)&&define[_0x237761(0x181)]?define(['exports',_0x237761(0x3ad),_0x237761(0x306),_0x237761(0x1ad),_0x237761(0x2ad),_0x237761(0x351),'@wendellhu/redi','rxjs',_0x237761(0x45e),_0x237761(0x205),'@univerjs/network',_0x237761(0x252),_0x237761(0x4cb),_0x237761(0x3bb),_0x237761(0x4d4),'@univerjs/sheets-ui',_0x237761(0x4dc),'react',_0x237761(0x387),'@univerjs/rpc'],_0xe5602b):(_0xbc3d2f=typeof globalThis<'u'?globalThis:_0xbc3d2f||self,_0xe5602b(_0xbc3d2f['UniverCollaborationClient']={},_0xbc3d2f[_0x237761(0x4de)],_0xbc3d2f['UniverSheets'],_0xbc3d2f[_0x237761(0x2bd)],_0xbc3d2f[_0x237761(0x34b)],_0xbc3d2f[_0x237761(0x4d3)],_0xbc3d2f[_0x237761(0x1f6)],_0xbc3d2f[_0x237761(0x15c)],_0xbc3d2f['rxjs'][_0x237761(0x1c5)],_0xbc3d2f['UniverDocs'],_0xbc3d2f['UniverNetwork'],_0xbc3d2f[_0x237761(0x401)],_0xbc3d2f['UniverEngineFormula'],_0xbc3d2f['lodash']['debounce'],_0xbc3d2f['UniverEngineRender'],_0xbc3d2f[_0x237761(0x41b)],_0xbc3d2f[_0x237761(0x4dc)],_0xbc3d2f[_0x237761(0x4d2)],_0xbc3d2f[_0x237761(0x387)],_0xbc3d2f[_0x237761(0x356)]));}(this,function(_0x575351,_0x5019cf,_0x7f012d,_0x478174,_0x5138ef,_0x38ce1a,_0x245a54,_0x54735b,_0x33876a,_0x38fb70,_0x3e6592,_0x11f56d,_0x2440ec,_0x37d11b,_0x56ae03,_0x1bea61,_0x26fb9e,_0x7a0305,_0xb3640c,_0x2cd6ae){'use strict';const _0x46a43e=_0x50f8;var _0x84a086=Object['defineProperty'],_0x5c5bd3=(_0x5822f1,_0x1da75c,_0x159939)=>_0x1da75c in _0x5822f1?_0x84a086(_0x5822f1,_0x1da75c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x159939}):_0x5822f1[_0x1da75c]=_0x159939,_0x3a44bb=(_0x34b7c0,_0x32edf0,_0x13eb2b)=>_0x5c5bd3(_0x34b7c0,typeof _0x32edf0!=_0x46a43e(0x2f4)?_0x32edf0+'':_0x32edf0,_0x13eb2b);const _0xb4801b=_0x46a43e(0x497),_0x47a400=_0x46a43e(0x25a),_0x25d6a7=_0x46a43e(0x487),_0xb347b=_0x46a43e(0x1d2),_0x48a35f=_0x46a43e(0x159),_0x1e3b06=_0x46a43e(0x1a1),_0x2528f8=_0x46a43e(0x459),_0x405e7e=_0x46a43e(0x4ee),_0x17e5f7=_0x46a43e(0x33f),_0x3d3c7a=_0x46a43e(0x23d),_0x4a1864=_0x46a43e(0x20a),_0x3b6bea=_0x46a43e(0x42b),_0x54f928=_0x46a43e(0x1ff),_0xb62ff0=_0x46a43e(0x1e3),_0x39ceb9='/universer-api/oidc/authpage';var _0x2fd8ee=(_0x4caced=>(_0x4caced[_0x4caced[_0x46a43e(0x42e)]=0x0]='UNDEFINED',_0x4caced[_0x4caced['OK']=0x1]='OK',_0x4caced[_0x4caced[_0x46a43e(0x3df)]=0x2]='INTERNAL_ERROR',_0x4caced[_0x4caced[_0x46a43e(0x28d)]=0x3]=_0x46a43e(0x28d),_0x4caced[_0x4caced[_0x46a43e(0x23b)]=0x4]='NOT_FOUND',_0x4caced[_0x4caced[_0x46a43e(0x2f8)]=0x5]=_0x46a43e(0x2f8),_0x4caced[_0x4caced[_0x46a43e(0x342)]=0x6]=_0x46a43e(0x342),_0x4caced[_0x4caced['INVALID_ARGUMENT']=0x7]=_0x46a43e(0x270),_0x4caced[_0x4caced['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x4caced[_0x4caced[_0x46a43e(0x37f)]=0x9]='COMPLETION_FINISHED',_0x4caced[_0x4caced[_0x46a43e(0x2df)]=0x1389]=_0x46a43e(0x2df),_0x4caced[_0x4caced['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4caced[_0x4caced[_0x46a43e(0x266)]=0x1772]=_0x46a43e(0x266),_0x4caced[_0x4caced[_0x46a43e(0x326)]=0x1b59]='APPLY_REJECT',_0x4caced[_0x4caced[_0x46a43e(0x29b)]=0x1b5a]=_0x46a43e(0x29b),_0x4caced[_0x4caced[_0x46a43e(0x3d2)]=0x1b5b]=_0x46a43e(0x3d2),_0x4caced[_0x4caced[_0x46a43e(0x1e1)]=0x1b5c]=_0x46a43e(0x1e1),_0x4caced[_0x4caced[_0x46a43e(0x4d1)]=0x1f41]=_0x46a43e(0x4d1),_0x4caced[_0x4caced[_0x46a43e(0x307)]=0x2329]=_0x46a43e(0x307),_0x4caced[_0x4caced[_0x46a43e(0x4a8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4caced[_0x4caced['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4caced[_0x4caced[_0x46a43e(0x16f)]=0x232c]=_0x46a43e(0x16f),_0x4caced[_0x4caced[_0x46a43e(0x361)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4caced[_0x4caced[_0x46a43e(0x398)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4caced[_0x4caced[_0x46a43e(0x3cb)]=0x2712]=_0x46a43e(0x3cb),_0x4caced[_0x4caced[_0x46a43e(0x507)]=-0x1]=_0x46a43e(0x507),_0x4caced))(_0x2fd8ee||{}),_0x4418d5=(_0x1900b2=>(_0x1900b2[_0x1900b2['UNIVER_UNKNOWN']=0x0]=_0x46a43e(0x46e),_0x1900b2[_0x1900b2[_0x46a43e(0x27d)]=0x1]=_0x46a43e(0x27d),_0x1900b2[_0x1900b2[_0x46a43e(0x258)]=0x2]='UNIVER_SHEET',_0x1900b2[_0x1900b2['UNIVER_SLIDE']=0x3]=_0x46a43e(0x33e),_0x1900b2[_0x1900b2['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1900b2))(_0x4418d5||{}),_0x2bf8f2=(_0x47c72e=>(_0x47c72e[_0x47c72e[_0x46a43e(0x441)]=0x0]=_0x46a43e(0x441),_0x47c72e[_0x47c72e[_0x46a43e(0x30e)]=0x1]=_0x46a43e(0x30e),_0x47c72e[_0x47c72e[_0x46a43e(0x188)]=0x2]=_0x46a43e(0x188),_0x47c72e[_0x47c72e['LEAVE']=0x3]='LEAVE',_0x47c72e[_0x47c72e[_0x46a43e(0x179)]=0x4]=_0x46a43e(0x179),_0x47c72e[_0x47c72e['HEARTBEAT']=0x5]='HEARTBEAT',_0x47c72e[_0x47c72e[_0x46a43e(0x453)]=0x6]=_0x46a43e(0x453),_0x47c72e[_0x47c72e[_0x46a43e(0x507)]=-0x1]='UNRECOGNIZED',_0x47c72e))(_0x2bf8f2||{}),_0x235f27=(_0xd1561e=>(_0xd1561e[_0xd1561e[_0x46a43e(0x3c5)]=0x0]=_0x46a43e(0x3c5),_0xd1561e[_0xd1561e['OK']=0x1]='OK',_0xd1561e[_0xd1561e[_0x46a43e(0x3ee)]=0x2]='FAIL',_0xd1561e[_0xd1561e[_0x46a43e(0x507)]=-0x1]=_0x46a43e(0x507),_0xd1561e))(_0x235f27||{}),_0x516fdb=Object[_0x46a43e(0x1c7)],_0xd65c03=Object[_0x46a43e(0x1e9)],_0xbe61d0=(_0x37af6b,_0xafc489,_0xac7793,_0x185101)=>{const _0x36a0ca=_0x46a43e;for(var _0x16bb78=_0x185101>0x1?void 0x0:_0x185101?_0xd65c03(_0xafc489,_0xac7793):_0xafc489,_0x5ad381=_0x37af6b[_0x36a0ca(0x1bb)]-0x1,_0xf99224;_0x5ad381>=0x0;_0x5ad381--)(_0xf99224=_0x37af6b[_0x5ad381])&&(_0x16bb78=(_0x185101?_0xf99224(_0xafc489,_0xac7793,_0x16bb78):_0xf99224(_0x16bb78))||_0x16bb78);return _0x185101&&_0x16bb78&&_0x516fdb(_0xafc489,_0xac7793,_0x16bb78),_0x16bb78;},_0x4a335c=(_0x42f0a3,_0x11095d)=>(_0x4d954d,_0x54dc12)=>_0x11095d(_0x4d954d,_0x54dc12,_0x42f0a3);let _0x4a6424=class extends _0x5019cf['Disposable']{constructor(_0x5a7b8a,_0x297c96){const _0x358d44=_0x46a43e;super(),_0x3a44bb(this,_0x358d44(0x362),new Map()),(this['_univerInstanceService']=_0x5a7b8a,this['_userManagerService']=_0x297c96,this[_0x358d44(0x3e8)](_0x5019cf[_0x358d44(0x35e)](_0x54735b[_0x358d44(0x3e1)](this[_0x358d44(0x397)][_0x358d44(0x371)](_0x5019cf[_0x358d44(0x28c)][_0x358d44(0x258)])[_0x358d44(0x4b0)](_0x33876a[_0x358d44(0x473)](_0x170250=>_0x170250[_0x358d44(0x2c6)]())),this['_univerInstanceService'][_0x358d44(0x371)](_0x5019cf[_0x358d44(0x28c)][_0x358d44(0x27d)])[_0x358d44(0x4b0)](_0x33876a[_0x358d44(0x473)](_0x3120a8=>_0x3120a8[_0x358d44(0x2c6)]())),this[_0x358d44(0x397)][_0x358d44(0x371)](_0x5019cf['UniverInstanceType']['UNIVER_SLIDE'])[_0x358d44(0x4b0)](_0x33876a[_0x358d44(0x473)](_0xa6d947=>_0xa6d947[_0x358d44(0x2c6)]())))[_0x358d44(0x324)](_0x25334b=>this[_0x358d44(0x1eb)](_0x25334b)))));}[_0x46a43e(0x16c)](_0x29a303){const _0x4f5cab=_0x46a43e;this['_userManagerService'][_0x4f5cab(0x16c)](_0x29a303);}[_0x46a43e(0x373)](){const _0x2dc9cf=_0x46a43e;return this[_0x2dc9cf(0x4a9)][_0x2dc9cf(0x373)]();}['updateMember'](_0x5fe684,_0x4acf9d){const _0x44e69e=_0x46a43e;let _0x1852c8=this['_roomMembers'][_0x44e69e(0x2db)](_0x5fe684);_0x1852c8||(_0x1852c8=new _0x18b0e4(),this['_roomMembers']['set'](_0x5fe684,_0x1852c8)),_0x1852c8[_0x44e69e(0x2f7)](_0x4acf9d);}[_0x46a43e(0x29e)](_0x2fffc3,_0x502b04){const _0x4da7d6=_0x46a43e,_0x35c6d8=this['_roomMembers'][_0x4da7d6(0x2db)](_0x2fffc3);_0x35c6d8&&_0x35c6d8[_0x4da7d6(0x29e)](_0x502b04);}[_0x46a43e(0x17c)](_0x13352e){const _0x508c6d=_0x46a43e;return this[_0x508c6d(0x362)][_0x508c6d(0x2db)](_0x13352e);}[_0x46a43e(0x4b9)](_0x442868,_0x1e56c2){const _0x3cabc6=_0x46a43e,_0xffec29=this[_0x3cabc6(0x362)][_0x3cabc6(0x2db)](_0x442868);if(_0xffec29)return _0xffec29[_0x3cabc6(0x4b9)](_0x1e56c2);}[_0x46a43e(0x1eb)](_0x5e52aa){const _0x68c86f=_0x46a43e,_0x491af1=this[_0x68c86f(0x362)][_0x68c86f(0x2db)](_0x5e52aa);_0x491af1&&(_0x491af1[_0x68c86f(0x173)](),this['_roomMembers'][_0x68c86f(0x352)](_0x5e52aa));}['dispose'](){const _0x540453=_0x46a43e;this['_roomMembers'][_0x540453(0x39a)](_0x5c98a6=>_0x5c98a6['dispose']()),this[_0x540453(0x362)][_0x540453(0x4f4)]();}};_0x4a6424=_0xbe61d0([_0x4a335c(0x0,_0x5019cf['IUniverInstanceService']),_0x4a335c(0x1,_0x245a54['Inject'](_0x5019cf[_0x46a43e(0x3e2)]))],_0x4a6424);class _0x18b0e4 extends _0x5019cf[_0x46a43e(0x32a)]{constructor(){const _0x1eb116=_0x46a43e;super(...arguments),_0x3a44bb(this,_0x1eb116(0x1fe),new Map());}['dispose'](){const _0x257f85=_0x46a43e;this[_0x257f85(0x1fe)]['clear']();}[_0x46a43e(0x2f7)](_0x4e301b){const _0x47953d=_0x46a43e;this[_0x47953d(0x1fe)][_0x47953d(0x3f3)](_0x4e301b[_0x47953d(0x257)],_0x4e301b);}[_0x46a43e(0x29e)](_0x34a7e2){const _0x17571c=_0x46a43e;this[_0x17571c(0x1fe)][_0x17571c(0x352)](_0x34a7e2);}['getMember'](_0x2ef0ca){const _0x3fe52c=_0x46a43e;return this[_0x3fe52c(0x1fe)][_0x3fe52c(0x2db)](_0x2ef0ca);}}function _0x50f340(_0x5cecad){const _0x403a14=_0x46a43e;var _0x513606,_0x29b8d4,_0x2c3bc1,_0x17848b;const _0x16ae3e=_0x5cecad[_0x403a14(0x23f)],_0x18acff=JSON[_0x403a14(0x458)](_0x16ae3e);switch(_0x18acff['cmd']){case _0x2bf8f2['HEARTBEAT']:case _0x2bf8f2[_0x403a14(0x30e)]:{const _0x215ab2=_0x18acff['infoRsp'];return{..._0x18acff,'data':_0x215ab2,'cmd':_0x18acff[_0x403a14(0x1ab)]};}case _0x2bf8f2[_0x403a14(0x188)]:{const _0x3e1520=_0x18acff[_0x403a14(0x2ca)];return{..._0x18acff,'data':_0x3e1520,'cmd':_0x18acff[_0x403a14(0x1ab)]};}case _0x2bf8f2[_0x403a14(0x453)]:{const _0x38bf5b=_0x18acff[_0x403a14(0x21d)];switch(_0x38bf5b[_0x403a14(0x24d)]){case _0x38ce1a[_0x403a14(0x4cc)]['PERMISSION_REJ']:return{..._0x18acff,'data':{..._0x38bf5b,'data':(_0x513606=_0x38bf5b[_0x403a14(0x4ce)])==null?void 0x0:_0x513606['cs']},'cmd':_0x18acff['cmd']};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x4b7)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':(_0x29b8d4=_0x38bf5b[_0x403a14(0x223)])==null?void 0x0:_0x29b8d4['cs']},'cmd':_0x18acff['cmd']};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x38d)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':(_0x2c3bc1=_0x38bf5b['newCsEvent'])==null?void 0x0:_0x2c3bc1['cs']},'cmd':_0x18acff['cmd']};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x2f2)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':(_0x17848b=_0x38bf5b[_0x403a14(0x1ec)])==null?void 0x0:_0x17848b['cs']},'cmd':_0x18acff['cmd']};case _0x38ce1a[_0x403a14(0x4cc)]['UPDATE_CURSOR']:return{..._0x18acff,'data':{..._0x38bf5b,'data':_0x38bf5b[_0x403a14(0x160)]},'cmd':_0x18acff[_0x403a14(0x1ab)]};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x35a)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':_0x38bf5b[_0x403a14(0x457)]},'cmd':_0x18acff[_0x403a14(0x1ab)]};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x414)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':_0x38bf5b['leaveEvent']},'cmd':_0x18acff['cmd']};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x44f)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':_0x38bf5b[_0x403a14(0x312)]},'cmd':_0x18acff[_0x403a14(0x1ab)]};case _0x38ce1a[_0x403a14(0x4cc)]['LIVESHARE_FETCH_OPERATIONS']:case _0x38ce1a['CollaborationEvent'][_0x403a14(0x364)]:return{..._0x18acff,'data':{..._0x38bf5b,'data':_0x38bf5b[_0x403a14(0x311)]},'cmd':_0x18acff['cmd']};case _0x38ce1a[_0x403a14(0x4cc)]['LIVESHARE_TERMINATE']:return{..._0x18acff,'data':{..._0x38bf5b,'data':_0x38bf5b['liveShareNewHost']},'cmd':_0x18acff[_0x403a14(0x1ab)]};case _0x38ce1a[_0x403a14(0x4cc)][_0x403a14(0x470)]:return{..._0x18acff,'data':_0x38bf5b,'cmd':_0x18acff['cmd']};default:return _0x18acff;}}default:return _0x18acff;}}function _0x171c24(_0x4cd27f){const _0x3777f7=_0x46a43e;switch(_0x4cd27f[_0x3777f7(0x1ab)]){case _0x2bf8f2[_0x3777f7(0x2eb)]:case _0x2bf8f2[_0x3777f7(0x30e)]:return JSON['stringify']({'cmd':_0x4cd27f[_0x3777f7(0x1ab)],'routeKey':_0x4cd27f[_0x3777f7(0x1c4)]});case _0x2bf8f2['INGEST']:{let _0x2d9e8f;switch(_0x4cd27f[_0x3777f7(0x23f)][_0x3777f7(0x24d)]){case _0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x403)]:{_0x2d9e8f={'eventID':_0x38ce1a[_0x3777f7(0x4cc)]['UPDATE_CURSOR'],'updateCursorEvent':_0x4cd27f[_0x3777f7(0x23f)][_0x3777f7(0x23f)]};break;}case _0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x414)]:{_0x2d9e8f={'eventID':_0x38ce1a['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x4cd27f[_0x3777f7(0x23f)]['data']};break;}case _0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x35a)]:{_0x2d9e8f={'eventID':_0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x35a)],'joinEvent':_0x4cd27f[_0x3777f7(0x23f)][_0x3777f7(0x23f)]};break;}case _0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x44f)]:{_0x2d9e8f={'eventID':_0x38ce1a['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x4cd27f[_0x3777f7(0x23f)]['data']};break;}case _0x38ce1a['CollaborationEvent'][_0x3777f7(0x364)]:{_0x2d9e8f={'eventID':_0x38ce1a['CollaborationEvent'][_0x3777f7(0x364)],'liveShareOperation':_0x4cd27f[_0x3777f7(0x23f)][_0x3777f7(0x23f)]};break;}case _0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x33b)]:{_0x2d9e8f={'eventID':_0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x33b)],'liveShareTerminate':_0x4cd27f[_0x3777f7(0x23f)]['data']};break;}case _0x38ce1a['CollaborationEvent'][_0x3777f7(0x2ef)]:{_0x2d9e8f={'eventID':_0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x2ef)],'liveShareRequestHost':_0x4cd27f['data'][_0x3777f7(0x23f)]};break;}case _0x38ce1a[_0x3777f7(0x4cc)][_0x3777f7(0x347)]:{_0x2d9e8f={'eventID':_0x38ce1a['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2d9e8f={'eventID':_0x4cd27f[_0x3777f7(0x23f)][_0x3777f7(0x24d)]};}return JSON[_0x3777f7(0x485)]({'cmd':_0x4cd27f[_0x3777f7(0x1ab)],'routeKey':_0x4cd27f['routeKey'],'collaMsg':_0x2d9e8f});}case _0x2bf8f2[_0x3777f7(0x188)]:return JSON['stringify']({'cmd':_0x4cd27f['cmd'],'routeKey':_0x4cd27f[_0x3777f7(0x1c4)],'joinReq':_0x4cd27f[_0x3777f7(0x23f)]});case _0x2bf8f2[_0x3777f7(0x3ed)]:return JSON[_0x3777f7(0x485)]({'cmd':_0x4cd27f[_0x3777f7(0x1ab)],'routeKey':_0x4cd27f['routeKey'],'leaveReq':_0x4cd27f['data']});default:throw new Error(_0x3777f7(0x211));}}var _0x380a41=Object[_0x46a43e(0x1c7)],_0x4af88a=Object[_0x46a43e(0x1e9)],_0x58008a=(_0x34a331,_0x309072,_0x55613e,_0x46fc2f)=>{for(var _0x4174b8=_0x46fc2f>0x1?void 0x0:_0x46fc2f?_0x4af88a(_0x309072,_0x55613e):_0x309072,_0x362f8d=_0x34a331['length']-0x1,_0x5ddeed;_0x362f8d>=0x0;_0x362f8d--)(_0x5ddeed=_0x34a331[_0x362f8d])&&(_0x4174b8=(_0x46fc2f?_0x5ddeed(_0x309072,_0x55613e,_0x4174b8):_0x5ddeed(_0x4174b8))||_0x4174b8);return _0x46fc2f&&_0x4174b8&&_0x380a41(_0x309072,_0x55613e,_0x4174b8),_0x4174b8;},_0x5437d8=(_0x22043a,_0xff4eaa)=>(_0x1c0ed2,_0x336052)=>_0xff4eaa(_0x1c0ed2,_0x336052,_0x22043a);const _0x2bdb70=_0x245a54[_0x46a43e(0x46a)]('univer-pro.collaboration-client-socket-service');function _0x411259(_0x302b00,_0x2a4b6c,_0x2d6144){const _0x53f69b=_0x46a43e;return _0x302b00+'/'+_0x2a4b6c+_0x53f69b(0x1c9)+_0x2d6144+'/new_changes';}_0x575351[_0x46a43e(0x1b9)]=class{constructor(_0x54e54c,_0x55b819,_0x54de1f,_0x1de48a,_0x44bbe0){const _0x525287=_0x46a43e;this[_0x525287(0x344)]=_0x54e54c,this[_0x525287(0x287)]=_0x55b819,this['_configService']=_0x54de1f,this[_0x525287(0x433)]=_0x1de48a,this['_snapshotServerService']=_0x44bbe0;}[_0x46a43e(0x323)](_0x28cc7){const _0xc8f1e9=_0x46a43e,_0x3fd591=this[_0xc8f1e9(0x287)]['createSocket'](_0x28cc7);if(!_0x3fd591)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x434a28=new _0x5019cf[(_0xc8f1e9(0x446))](),_0x453665=new _0x54735b[(_0xc8f1e9(0x238))]();_0x434a28[_0xc8f1e9(0x43a)](_0x5019cf['toDisposable'](_0x3fd591[_0xc8f1e9(0x1a3)]['subscribe'](_0x407bc0=>_0x453665['next'](_0x407bc0)))),_0x434a28['add'](_0x5019cf[_0xc8f1e9(0x35e)](()=>_0x453665[_0xc8f1e9(0x2ae)]()));const _0xab407d=new _0x54735b['Subject']();_0x434a28[_0xc8f1e9(0x43a)](_0x5019cf['toDisposable'](_0x3fd591[_0xc8f1e9(0x274)]['subscribe'](_0x56c845=>_0xab407d['next'](_0x56c845)))),_0x434a28[_0xc8f1e9(0x43a)](_0x5019cf[_0xc8f1e9(0x35e)](()=>_0xab407d[_0xc8f1e9(0x2ae)]()));const _0x2584ca=new _0x54735b[(_0xc8f1e9(0x238))]();_0x434a28['add'](_0x5019cf[_0xc8f1e9(0x35e)](_0x3fd591[_0xc8f1e9(0x3c7)][_0xc8f1e9(0x324)](_0x40e180=>{const _0x26b76a=_0x50f340(_0x40e180);_0x2584ca['next'](_0x26b76a);}))),_0x434a28[_0xc8f1e9(0x43a)](_0x5019cf[_0xc8f1e9(0x35e)](()=>_0x2584ca['complete']()));const _0x4f6763=()=>{const _0xcf0fe8=_0xc8f1e9;_0xab407d[_0xcf0fe8(0x230)](new Event(_0xcf0fe8(0x2a1))),_0x453665[_0xcf0fe8(0x230)](new CloseEvent(_0xcf0fe8(0x2a1))),_0x1b665d[_0xcf0fe8(0x2af)]();},_0x1b665d={'memberID':'','close$':_0x453665['asObservable'](),'error$':_0xab407d[_0xc8f1e9(0x26a)](),'open$':_0x3fd591[_0xc8f1e9(0x4e1)],'message$':_0x2584ca[_0xc8f1e9(0x26a)](),'send':_0xd740a8=>{const _0x2d195b=_0xc8f1e9;if(_0xd740a8['cmd']===_0x2bf8f2['INGEST']){if(_0xd740a8[_0x2d195b(0x23f)][_0x2d195b(0x24d)]===_0x38ce1a[_0x2d195b(0x4cc)][_0x2d195b(0x399)]){this[_0x2d195b(0x4c8)](_0x1b665d,_0xd740a8[_0x2d195b(0x23f)])[_0x2d195b(0x422)](_0x51dffc=>{const _0x48e95c=_0x2d195b;this[_0x48e95c(0x433)]['error'](_0x51dffc),_0x4f6763();});return;}if(_0xd740a8['data'][_0x2d195b(0x24d)]===_0x38ce1a[_0x2d195b(0x4cc)][_0x2d195b(0x469)]){const _0xf4c977=_0xd740a8['data'];this['_fetchMissChangesets'](_0xf4c977)[_0x2d195b(0x2c5)](_0x1e4fc0=>{const _0x4fe4cf=_0x2d195b;_0x2584ca['next']({'cmd':_0x2bf8f2[_0x4fe4cf(0x453)],'code':_0x235f27['OK'],'routeKey':_0xf4c977[_0x4fe4cf(0x23f)][_0x4fe4cf(0x166)],'routeType':'','data':{'eventID':_0x38ce1a[_0x4fe4cf(0x4cc)][_0x4fe4cf(0x31d)],'data':{'changesets':_0x1e4fc0}}});})[_0x2d195b(0x422)](_0xeabcee=>{const _0x3ec59b=_0x2d195b;this[_0x3ec59b(0x433)]['error'](_0xeabcee),_0x4f6763();});return;}}_0x3fd591['send'](_0x171c24(_0xd740a8));},'close':()=>{const _0x3820d6=_0xc8f1e9;_0x3fd591[_0x3820d6(0x2af)](),_0x434a28[_0x3820d6(0x173)]();}};return _0x1b665d;}async[_0x46a43e(0x4c8)](_0x32ae3f,_0x1648af){const _0x5dc63c=_0x46a43e;var _0x3f5b79;const {unitType:_0x569efe,unitID:_0x473def,changeset:_0x132d95}=_0x1648af['data'],_0x489363={'unitID':_0x473def,'memberID':_0x32ae3f['memberID'],'type':_0x569efe,'changeset':_0x38ce1a['parseChangesetToProtocol'](_0x132d95)},_0x58f873=_0x411259((_0x3f5b79=this[_0x5dc63c(0x317)]['getConfig'](_0x3b6bea))!=null?_0x3f5b79:_0x54f928,_0x569efe,_0x473def);try{await this[_0x5dc63c(0x344)][_0x5dc63c(0x2a6)](_0x58f873,{'body':_0x489363});}catch(_0x3a57ab){throw this['_logService'][_0x5dc63c(0x3a0)](_0x5dc63c(0x284),_0x5dc63c(0x38c)),_0x3a57ab;}}async[_0x46a43e(0x2e2)](_0x4b382c){const _0x1a98dc=_0x46a43e,{unitID:_0x2821ef,from:_0x46e0f4,to:_0x10b91c,unitType:_0x3deb22}=_0x4b382c['data'];return(await this[_0x1a98dc(0x1fd)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2821ef,'type':_0x3deb22,'from':_0x46e0f4,'to':_0x10b91c}))[_0x1a98dc(0x479)];}},_0x575351[_0x46a43e(0x1b9)]=_0x58008a([_0x5437d8(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x3e6592[_0x46a43e(0x494)])),_0x5437d8(0x1,_0x245a54[_0x46a43e(0x4b5)](_0x3e6592[_0x46a43e(0x28e)])),_0x5437d8(0x2,_0x5019cf[_0x46a43e(0x460)]),_0x5437d8(0x3,_0x5019cf[_0x46a43e(0x4e6)]),_0x5437d8(0x4,_0x5019cf[_0x46a43e(0x1d1)])],_0x575351[_0x46a43e(0x1b9)]);var _0x510f94=Object[_0x46a43e(0x1c7)],_0x24778f=Object[_0x46a43e(0x1e9)],_0x1b5d85=(_0x77f713,_0x3c333e,_0x4ad1db,_0x34659c)=>{const _0x358903=_0x46a43e;for(var _0x5aa9cc=_0x34659c>0x1?void 0x0:_0x34659c?_0x24778f(_0x3c333e,_0x4ad1db):_0x3c333e,_0x155aba=_0x77f713[_0x358903(0x1bb)]-0x1,_0x3b1a35;_0x155aba>=0x0;_0x155aba--)(_0x3b1a35=_0x77f713[_0x155aba])&&(_0x5aa9cc=(_0x34659c?_0x3b1a35(_0x3c333e,_0x4ad1db,_0x5aa9cc):_0x3b1a35(_0x5aa9cc))||_0x5aa9cc);return _0x34659c&&_0x5aa9cc&&_0x510f94(_0x3c333e,_0x4ad1db,_0x5aa9cc),_0x5aa9cc;},_0xddd4c7=(_0x26b8c0,_0x15dda0)=>(_0x335738,_0x28e634)=>_0x15dda0(_0x335738,_0x28e634,_0x26b8c0),_0x1ae891=(_0x18a60c=>(_0x18a60c[_0x18a60c[_0x46a43e(0x298)]=0x0]=_0x46a43e(0x298),_0x18a60c[_0x18a60c[_0x46a43e(0x482)]=0x1]=_0x46a43e(0x482),_0x18a60c[_0x18a60c['OFFLINE']=0x2]=_0x46a43e(0x1b8),_0x18a60c[_0x18a60c[_0x46a43e(0x440)]=0x3]='ONLINE',_0x18a60c))(_0x1ae891||{});_0x575351['CollaborationSession']=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0xac0a3d,_0x26d36e,_0x107036,_0x378d67,_0x25d344,_0x3c6266,_0x1d2010,_0x163a86){const _0x315024=_0x46a43e;super(),_0x3a44bb(this,_0x315024(0x21f),new _0x54735b[(_0x315024(0x413))](0x0)),_0x3a44bb(this,_0x315024(0x162),this[_0x315024(0x21f)][_0x315024(0x26a)]()),_0x3a44bb(this,_0x315024(0x41c),new _0x54735b[(_0x315024(0x238))]()),_0x3a44bb(this,_0x315024(0x204),this[_0x315024(0x41c)][_0x315024(0x26a)]()),_0x3a44bb(this,_0x315024(0x20d)),_0x3a44bb(this,_0x315024(0x1e6)),_0x3a44bb(this,'_collaborationTimeoutTimer'),(this[_0x315024(0x400)]=_0xac0a3d,this[_0x315024(0x433)]=_0x107036,this[_0x315024(0x32f)]=_0x378d67,this['_messageService']=_0x25d344,this['_configService']=_0x3c6266,this[_0x315024(0x508)]=_0x1d2010,this[_0x315024(0x39b)]=_0x163a86,_0x26d36e[_0x315024(0x4b0)](_0x33876a['takeUntil'](this['dispose$']))[_0x315024(0x324)](_0x21d5fb=>{const _0x5590dc=_0x315024;var _0xc18dee;typeof _0x21d5fb>'u'||(this[_0x5590dc(0x20d)]=_0x21d5fb,_0x21d5fb?(this[_0x5590dc(0x2ee)](_0x21d5fb),this[_0x5590dc(0x1e6)]=this[_0x5590dc(0x20d)][_0x5590dc(0x3c7)][_0x5590dc(0x324)](_0x5d588e=>{const _0x54737d=_0x5590dc;_0x5d588e[_0x54737d(0x1c4)]===this['_unitID']&&this['_onCombEvent'](_0x5d588e);})):(this[_0x5590dc(0x21f)]['next'](0x2),(_0xc18dee=this[_0x5590dc(0x1e6)])==null||_0xc18dee['unsubscribe'](),this[_0x5590dc(0x1e6)]=null));}),this['disposeWithMe'](this[_0x315024(0x32f)]['registerOnClose'](()=>{const _0xcce337=_0x315024;var _0x4ec4c2;(_0x4ec4c2=this['_socket'])==null||_0x4ec4c2[_0xcce337(0x175)]({'cmd':_0x2bf8f2[_0xcce337(0x3ed)],'data':{'roomID':this[_0xcce337(0x400)]}});})));}get['sessionStatus'](){const _0x3a92ec=_0x46a43e;return this[_0x3a92ec(0x21f)][_0x3a92ec(0x250)]();}[_0x46a43e(0x3bf)](){const _0xbbed9d=_0x46a43e;var _0x43f61d,_0xba8e79;return(_0xba8e79=(_0x43f61d=this[_0xbbed9d(0x20d)])==null?void 0x0:_0x43f61d['memberID'])!=null?_0xba8e79:null;}[_0x46a43e(0x173)](){const _0x10c56f=_0x46a43e;super[_0x10c56f(0x173)](),this[_0x10c56f(0x4a5)][_0x10c56f(0x230)](),this[_0x10c56f(0x4a5)]['complete']();}[_0x46a43e(0x47d)](_0x20360a){const _0x141db4=_0x46a43e;_0x20360a[_0x141db4(0x1ab)]===_0x2bf8f2[_0x141db4(0x188)]?this['_onJoinRoomEvent'](_0x20360a):_0x20360a['cmd']===_0x2bf8f2[_0x141db4(0x453)]&&this[_0x141db4(0x3dc)](_0x20360a);}[_0x46a43e(0x2ee)](_0x1c1b73){const _0x2a5650=_0x46a43e;this[_0x2a5650(0x21f)][_0x2a5650(0x230)](0x1),_0x1c1b73[_0x2a5650(0x175)]({'cmd':_0x2bf8f2[_0x2a5650(0x188)],'routeKey':this[_0x2a5650(0x400)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x46a43e(0x489)](_0x2aaf88){const _0x113a7f=_0x46a43e;var _0x74fa1a;if(_0x2aaf88['code']===_0x235f27['FAIL']){this[_0x113a7f(0x206)][_0x113a7f(0x4f6)]({'type':_0x478174[_0x113a7f(0x47f)]['Warning'],'content':this['_localeService']['t']('session.room-full')}),this['_sessionStatus$'][_0x113a7f(0x230)](0x2);return;}this[_0x113a7f(0x21f)][_0x113a7f(0x230)](0x3);const _0x552fe5=(_0x74fa1a=_0x2aaf88[_0x113a7f(0x23f)][_0x113a7f(0x242)][this[_0x113a7f(0x400)]])==null?void 0x0:_0x74fa1a['members'];_0x552fe5&&_0x552fe5[_0x113a7f(0x39a)](_0xe37562=>this[_0x113a7f(0x39b)]['updateMember'](this[_0x113a7f(0x400)],_0xe37562));}[_0x46a43e(0x3dc)](_0x3b44c8){const _0x150002=_0x46a43e;try{const _0xb50816=_0x3b44c8['data'];switch(_0xb50816[_0x150002(0x24d)]){case _0x38ce1a[_0x150002(0x4cc)]['USERS_ENTER']:this[_0x150002(0x4c6)](_0xb50816),this[_0x150002(0x41c)]['next'](_0xb50816);break;case _0x38ce1a['CollaborationEvent'][_0x150002(0x414)]:this[_0x150002(0x45c)](_0xb50816),this[_0x150002(0x41c)][_0x150002(0x230)](_0xb50816);break;case _0x38ce1a['CollaborationEvent']['CHANGESET_ACK']:this[_0x150002(0x331)](),this[_0x150002(0x41c)][_0x150002(0x230)](_0xb50816);break;case _0x38ce1a[_0x150002(0x4cc)][_0x150002(0x470)]:this[_0x150002(0x433)][_0x150002(0x3a0)](_0x150002(0x185)+JSON['stringify'](_0xb50816)),this['_event$'][_0x150002(0x230)](_0xb50816);break;default:this['_event$'][_0x150002(0x230)](_0xb50816);}}catch(_0x4a1dbe){this[_0x150002(0x433)][_0x150002(0x3a0)](_0x4a1dbe,_0x3b44c8);}}[_0x46a43e(0x4c6)](_0x19bd8e){const _0x354847=_0x46a43e;this[_0x354847(0x39b)][_0x354847(0x2f7)](this[_0x354847(0x400)],_0x19bd8e[_0x354847(0x23f)]);}[_0x46a43e(0x45c)](_0x2e9c6d){const _0x34b50b=_0x46a43e;this[_0x34b50b(0x39b)][_0x34b50b(0x29e)](this['_unitID'],_0x2e9c6d[_0x34b50b(0x23f)]['memberID']);}async[_0x46a43e(0x175)](_0x5234ec,_0x167cf6){const _0x2b67f9=_0x46a43e;if(this[_0x2b67f9(0x376)]!==0x3||!this[_0x2b67f9(0x20d)])throw new Error(_0x2b67f9(0x21e));try{_0x5234ec[_0x2b67f9(0x24d)]===_0x38ce1a['CollaborationEvent'][_0x2b67f9(0x38d)]&&this[_0x2b67f9(0x277)](),this[_0x2b67f9(0x20d)][_0x2b67f9(0x175)]({'cmd':_0x2bf8f2[_0x2b67f9(0x179)],'routeKey':_0x167cf6,'routeType':'','data':_0x5234ec});}catch(_0x40a7a2){this['_logService'][_0x2b67f9(0x3a0)](_0x40a7a2);}}[_0x46a43e(0x277)](){const _0x576a77=_0x46a43e;var _0x271f50;this['_collaborationTimeoutTimer']=window[_0x576a77(0x3f5)](()=>{const _0x51d7cf=_0x576a77;this['_collaborationTimeoutTimer']=null,this['_messageService'][_0x51d7cf(0x4f6)]({'type':_0x478174['MessageType'][_0x51d7cf(0x493)],'content':this[_0x51d7cf(0x508)]['t'](_0x51d7cf(0x2de))});},(_0x271f50=this[_0x576a77(0x317)][_0x576a77(0x3ea)](_0x405e7e))!=null?_0x271f50:0x2710);}[_0x46a43e(0x331)](){const _0x580d8b=_0x46a43e;this[_0x580d8b(0x2e3)]&&(clearTimeout(this[_0x580d8b(0x2e3)]),this[_0x580d8b(0x2e3)]=null);}},_0x575351[_0x46a43e(0x1b4)]=_0x1b5d85([_0xddd4c7(0x2,_0x5019cf['ILogService']),_0xddd4c7(0x3,_0x5138ef[_0x46a43e(0x40c)]),_0xddd4c7(0x4,_0x5138ef['IMessageService']),_0xddd4c7(0x5,_0x5019cf[_0x46a43e(0x460)]),_0xddd4c7(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x3a5)])),_0xddd4c7(0x7,_0x245a54['Inject'](_0x4a6424))],_0x575351[_0x46a43e(0x1b4)]),_0x575351[_0x46a43e(0x4be)]=class extends _0x5019cf['Disposable']{constructor(_0x293d32,_0x1cad17,_0x52c753,_0x254da0,_0x441a01,_0x25e6b3){const _0x3479d4=_0x46a43e;super(),_0x3a44bb(this,_0x3479d4(0x199),new _0x54735b[(_0x3479d4(0x413))](void 0x0)),_0x3a44bb(this,_0x3479d4(0x1cf),new Map()),_0x3a44bb(this,_0x3479d4(0x504),new _0x54735b[(_0x3479d4(0x413))](0x0)),_0x3a44bb(this,_0x3479d4(0x1e8),this[_0x3479d4(0x504)]['asObservable']()),_0x3a44bb(this,_0x3479d4(0x49c),!0x1),_0x3a44bb(this,'_sendHeartbeatTimer'),_0x3a44bb(this,_0x3479d4(0x4b6)),_0x3a44bb(this,_0x3479d4(0x369)),_0x3a44bb(this,_0x3479d4(0x41d),0x0),(this[_0x3479d4(0x383)]=_0x293d32,this[_0x3479d4(0x508)]=_0x1cad17,this['_messageService']=_0x52c753,this[_0x3479d4(0x433)]=_0x254da0,this[_0x3479d4(0x317)]=_0x441a01,this[_0x3479d4(0x34c)]=_0x25e6b3);}get['_socket'](){const _0x4f4d5f=_0x46a43e;return this[_0x4f4d5f(0x199)][_0x4f4d5f(0x250)]();}[_0x46a43e(0x173)](){const _0x56a6ba=_0x46a43e;super[_0x56a6ba(0x173)](),this[_0x56a6ba(0x1cf)][_0x56a6ba(0x39a)](_0x1e3d1e=>_0x1e3d1e[_0x56a6ba(0x173)]()),this[_0x56a6ba(0x1cf)][_0x56a6ba(0x4f4)](),this[_0x56a6ba(0x504)]['complete']();}async[_0x46a43e(0x33d)](_0x12c44a){const _0x89753b=_0x46a43e;if(this[_0x89753b(0x1cf)][_0x89753b(0x209)](_0x12c44a))return this[_0x89753b(0x1cf)][_0x89753b(0x2db)](_0x12c44a);this[_0x89753b(0x233)]();const _0x374279=this['_injector'][_0x89753b(0x431)](_0x575351[_0x89753b(0x1b4)],_0x12c44a,this[_0x89753b(0x199)]['asObservable']());return this[_0x89753b(0x1cf)][_0x89753b(0x3f3)](_0x12c44a,_0x374279),_0x374279;}[_0x46a43e(0x4af)](){const _0x1a0529=_0x46a43e;var _0x250a78;const _0x211e73=(_0x250a78=this[_0x1a0529(0x317)][_0x1a0529(0x3ea)](_0x48a35f))!=null?_0x250a78:_0x1e3b06;return this['_socketService'][_0x1a0529(0x323)](_0x211e73);}[_0x46a43e(0x233)](){const _0x275044=_0x46a43e;try{const _0x197ac9=this['_createSocket']();if(_0x197ac9){const _0x1a6fee=_0x197ac9[_0x275044(0x175)];_0x197ac9[_0x275044(0x175)]=_0x4e551e=>(this[_0x275044(0x345)](),_0x1a6fee[_0x275044(0x47a)](_0x197ac9,[_0x4e551e])),_0x197ac9[_0x275044(0x3c7)]['subscribe'](_0x134c01=>this[_0x275044(0x374)](_0x197ac9,_0x134c01)),_0x197ac9[_0x275044(0x274)][_0x275044(0x4b0)](_0x33876a[_0x275044(0x341)](0x1))[_0x275044(0x324)](_0x5083c6=>this[_0x275044(0x433)]['error'](_0x275044(0x329),_0x5083c6)),_0x197ac9[_0x275044(0x4e1)][_0x275044(0x4b0)](_0x33876a['take'](0x1))[_0x275044(0x324)](()=>{this['_onConnectionOpen'](_0x197ac9);}),_0x197ac9[_0x275044(0x1a3)][_0x275044(0x4b0)](_0x33876a[_0x275044(0x341)](0x1))['subscribe'](_0x379657=>{const _0x3cfb2b=_0x275044;this[_0x3cfb2b(0x433)][_0x3cfb2b(0x418)]('[CollaborationSessionService]',_0x3cfb2b(0x158),_0x379657),this[_0x3cfb2b(0x15b)]();});}}catch(_0x169324){this[_0x275044(0x433)][_0x275044(0x3a0)](_0x169324),this[_0x275044(0x15b)]();}}[_0x46a43e(0x168)](_0x331437){const _0x346370=_0x46a43e;this[_0x346370(0x433)][_0x346370(0x418)](_0x346370(0x227),_0x346370(0x4fe)),_0x331437[_0x346370(0x175)]({'cmd':_0x2bf8f2[_0x346370(0x30e)]}),this['_rescheduleHeartbeatEvent']();}['_onConnectionFailed'](){const _0x2f9a8e=_0x46a43e;var _0x2dc7df;this[_0x2f9a8e(0x504)][_0x2f9a8e(0x230)](0x2),this[_0x2f9a8e(0x199)][_0x2f9a8e(0x230)](null),this[_0x2f9a8e(0x1d9)](),this[_0x2f9a8e(0x26e)](),this['_socketReady']=!0x1,this['_retryCount']<((_0x2dc7df=this[_0x2f9a8e(0x317)][_0x2f9a8e(0x3ea)](_0x3d3c7a))!=null?_0x2dc7df:0x3)?(this[_0x2f9a8e(0x37b)](this[_0x2f9a8e(0x41d)]),this['_retryCount']+=0x1):this[_0x2f9a8e(0x206)][_0x2f9a8e(0x4f6)]({'type':_0x478174[_0x2f9a8e(0x47f)][_0x2f9a8e(0x493)],'content':this[_0x2f9a8e(0x508)]['t']('session.connection-failed')});}[_0x46a43e(0x37b)](_0xf7af54){const _0x106143=_0x46a43e;var _0x1adf20;const _0x3e7834=((_0x1adf20=this[_0x106143(0x317)]['getConfig'](_0x17e5f7))!=null?_0x1adf20:0x4e20)*0x2**_0xf7af54;this[_0x106143(0x206)][_0x106143(0x4f6)]({'type':_0x478174[_0x106143(0x47f)][_0x106143(0x1da)],'content':this[_0x106143(0x508)]['t'](_0x106143(0x354))}),this[_0x106143(0x369)]=setTimeout(()=>{const _0x266261=_0x106143;this[_0x266261(0x233)](),clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null;},_0x3e7834);}['_rescheduleHeartbeatEvent'](){const _0x51a97c=_0x46a43e;var _0x595c33;this['_clearHeartbeatTimer'](),this[_0x51a97c(0x1bd)]=setTimeout(()=>this[_0x51a97c(0x29d)](),(_0x595c33=this[_0x51a97c(0x317)][_0x51a97c(0x3ea)](_0x2528f8))!=null?_0x595c33:0x7530);}[_0x46a43e(0x29d)](){const _0x2d1710=_0x46a43e;this[_0x2d1710(0x20d)][_0x2d1710(0x175)]({'cmd':_0x2bf8f2[_0x2d1710(0x2eb)]}),this['_waitForHeartbeatResponse']();}[_0x46a43e(0x496)](){const _0x2d7e74=_0x46a43e;var _0x4035e6;this[_0x2d7e74(0x4b6)]=setTimeout(()=>this[_0x2d7e74(0x15b)](),(_0x4035e6=this[_0x2d7e74(0x317)][_0x2d7e74(0x3ea)](_0x405e7e))!=null?_0x4035e6:0x2710);}[_0x46a43e(0x374)](_0x3cf311,_0x1f004d){const _0x509f39=_0x46a43e,{cmd:_0x4fd455}=_0x1f004d;_0x4fd455===_0x2bf8f2['HELLO']&&!this['_socketReady']&&(_0x3cf311[_0x509f39(0x257)]=_0x1f004d['data'][_0x509f39(0x257)],this['_socket$'][_0x509f39(0x230)](_0x3cf311),this[_0x509f39(0x504)][_0x509f39(0x230)](0x3),this[_0x509f39(0x49c)]=!0x0),_0x4fd455===_0x2bf8f2[_0x509f39(0x2eb)]&&this[_0x509f39(0x1d9)](),this[_0x509f39(0x345)]();}[_0x46a43e(0x26e)](){const _0x23df9b=_0x46a43e;this[_0x23df9b(0x1bd)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x23df9b(0x1bd)]=null);}[_0x46a43e(0x1d9)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},_0x575351[_0x46a43e(0x4be)]=_0x1b5d85([_0xddd4c7(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0xddd4c7(0x1,_0x245a54['Inject'](_0x5019cf[_0x46a43e(0x3a5)])),_0xddd4c7(0x2,_0x5138ef['IMessageService']),_0xddd4c7(0x3,_0x5019cf[_0x46a43e(0x4e6)]),_0xddd4c7(0x4,_0x5019cf[_0x46a43e(0x460)]),_0xddd4c7(0x5,_0x2bdb70)],_0x575351[_0x46a43e(0x4be)]);var _0x556688=Object[_0x46a43e(0x1c7)],_0x22361a=Object[_0x46a43e(0x1e9)],_0x4f69c8=(_0x20d61e,_0x7c55d2,_0x517e19,_0x3b5d2f)=>{const _0x1dca7e=_0x46a43e;for(var _0x4ec653=_0x3b5d2f>0x1?void 0x0:_0x3b5d2f?_0x22361a(_0x7c55d2,_0x517e19):_0x7c55d2,_0x32983b=_0x20d61e[_0x1dca7e(0x1bb)]-0x1,_0x12024d;_0x32983b>=0x0;_0x32983b--)(_0x12024d=_0x20d61e[_0x32983b])&&(_0x4ec653=(_0x3b5d2f?_0x12024d(_0x7c55d2,_0x517e19,_0x4ec653):_0x12024d(_0x4ec653))||_0x4ec653);return _0x3b5d2f&&_0x4ec653&&_0x556688(_0x7c55d2,_0x517e19,_0x4ec653),_0x4ec653;},_0x48cd31=(_0x490f53,_0x4acec1)=>(_0x31198c,_0x2a01d8)=>_0x4acec1(_0x31198c,_0x2a01d8,_0x490f53);_0x575351[_0x46a43e(0x2d1)]=class extends _0x5019cf[_0x46a43e(0x32a)]{constructor(_0x127753,_0x338389,_0x48bec0,_0x40585b,_0x2f2c59){const _0x3fa435=_0x46a43e;super(),_0x3a44bb(this,_0x3fa435(0x3c8),new Map()),_0x3a44bb(this,_0x3fa435(0x32e),new Map()),_0x3a44bb(this,'_disabled',!0x1),(this['_configService']=_0x127753,this[_0x3fa435(0x1f8)]=_0x338389,this[_0x3fa435(0x32f)]=_0x48bec0,this[_0x3fa435(0x508)]=_0x40585b,this['_revisionService']=_0x2f2c59,this[_0x3fa435(0x319)]());}[_0x46a43e(0x4a7)](){this['_disabled']=!0x0;}[_0x46a43e(0x16a)](){this['_disabled']=!0x1;}['dispose'](){this['_exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x46a43e(0x444)](_0x770b71){const _0x2bc9c5=_0x46a43e;return this[_0x2bc9c5(0x2cd)]?null:this[_0x2bc9c5(0x1f8)][_0x2bc9c5(0x4bb)](_0x2c21a8(_0x770b71));}async[_0x46a43e(0x22c)](_0x45d8b6,_0x5d5658){const _0x5bec92=_0x46a43e;return!!this[_0x5bec92(0x1f8)][_0x5bec92(0x182)](_0x45d8b6,_0x5d5658);}['updateOfflineData'](_0x1f90dd,_0x22aa13,_0x352a13,_0x47f133){const _0x32d1de=_0x46a43e,_0x41ca24=this[_0x32d1de(0x4a3)][_0x32d1de(0x1cc)](_0x1f90dd);this[_0x32d1de(0x3c8)][_0x32d1de(0x3f3)](_0x1f90dd,{'unitID':_0x1f90dd,'type':_0x22aa13,'awaitingChangeset':_0x352a13,'mutations':_0x47f133,'rev':_0x41ca24}),this[_0x32d1de(0x32e)]['has'](_0x1f90dd)||this['_scheduleSaving'](_0x1f90dd);}[_0x46a43e(0x2e9)](_0x35f324){const _0x5491f5=_0x46a43e,_0x544695=this[_0x5491f5(0x163)]();_0x544695===0x0?this[_0x5491f5(0x225)](_0x35f324):this[_0x5491f5(0x32e)]['set'](_0x35f324,setTimeout(()=>this[_0x5491f5(0x225)](_0x35f324),_0x544695));}[_0x46a43e(0x163)](){const _0x3cffcb=_0x46a43e;var _0xc9afeb;return(_0xc9afeb=this[_0x3cffcb(0x317)]['getConfig'](_0x4a1864))!=null?_0xc9afeb:0x3e8;}[_0x46a43e(0x225)](_0x428653){const _0x555c2b=_0x46a43e,_0x1be3ba=this[_0x555c2b(0x32e)][_0x555c2b(0x2db)](_0x428653);return _0x1be3ba!==void 0x0&&window[_0x555c2b(0x25c)](_0x1be3ba),this[_0x555c2b(0x1f8)]['setItem'](_0x2c21a8(_0x428653),this[_0x555c2b(0x3c8)][_0x555c2b(0x2db)](_0x428653))['then'](()=>this[_0x555c2b(0x32e)][_0x555c2b(0x352)](_0x428653));}async[_0x46a43e(0x37a)](){const _0xeb2b91=_0x46a43e,_0x1f1b4f=[];this[_0xeb2b91(0x32e)][_0xeb2b91(0x39a)]((_0x40efac,_0x2f5e98)=>{const _0x14b5d9=_0xeb2b91;window['clearTimeout'](_0x40efac),_0x1f1b4f[_0x14b5d9(0x23e)](this['_saveCache'](_0x2f5e98)[_0x14b5d9(0x2c5)](()=>{const _0x29d27c=_0x14b5d9;this[_0x29d27c(0x32e)][_0x29d27c(0x352)](_0x2f5e98);}));}),await Promise['all'](_0x1f1b4f);}[_0x46a43e(0x319)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1f3811=_0x50f8;if(this[_0x1f3811(0x32e)][_0x1f3811(0x282)])return this[_0x1f3811(0x508)]['t'](_0x1f3811(0x31a));}));}},_0x575351[_0x46a43e(0x2d1)]=_0x4f69c8([_0x48cd31(0x0,_0x5019cf[_0x46a43e(0x460)]),_0x48cd31(0x1,_0x5019cf[_0x46a43e(0x1f9)]),_0x48cd31(0x2,_0x5138ef[_0x46a43e(0x40c)]),_0x48cd31(0x3,_0x245a54['Inject'](_0x5019cf[_0x46a43e(0x3a5)])),_0x48cd31(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a['RevisionService']))],_0x575351[_0x46a43e(0x2d1)]);function _0x2c21a8(_0x206fa1){const _0x143f94=_0x46a43e;return _0x143f94(0x2b5)+_0x206fa1;}const _0x235b99=_0x245a54['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x5c7c4a=(_0x4dc559=>(_0x4dc559[_0x4dc559['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x46a43e(0x42f),_0x4dc559[_0x4dc559['OTHER_CLIENTS_EDITING']=0x1]=_0x46a43e(0x249),_0x4dc559))(_0x5c7c4a||{});const _0x37390f=0x7530,_0x16213c=_0x46a43e(0x357);class _0x23b11a extends _0x5019cf[_0x46a43e(0x32a)]{constructor(){const _0x4503eb=_0x46a43e;super(),_0x3a44bb(this,_0x4503eb(0x3aa),_0x5019cf[_0x4503eb(0x1f7)][_0x4503eb(0x4ae)]()),_0x3a44bb(this,_0x4503eb(0x40b),new Set()),_0x3a44bb(this,_0x4503eb(0x36b),new Map()),_0x3a44bb(this,_0x4503eb(0x18d),null),_0x3a44bb(this,_0x4503eb(0x3fd),new Map()),_0x3a44bb(this,_0x4503eb(0x40d),new Map()),this[_0x4503eb(0x336)]();}[_0x46a43e(0x173)](){const _0x17ba9c=_0x46a43e;super[_0x17ba9c(0x173)](),this[_0x17ba9c(0x3fd)][_0x17ba9c(0x39a)]((_0x230138,_0xdfe8)=>this[_0x17ba9c(0x231)](_0xdfe8)),this[_0x17ba9c(0x18d)]&&window['clearInterval'](this[_0x17ba9c(0x18d)]);}['getUnitStatus$'](_0x5420e5){const _0x4f6598=_0x46a43e;return this[_0x4f6598(0x2ab)](_0x5420e5)['pipe'](_0x54735b[_0x4f6598(0x4ca)]());}[_0x46a43e(0x4f5)](_0x16e6b2){const _0xa6f805=_0x46a43e;this[_0xa6f805(0x40b)][_0xa6f805(0x282)]===0x0&&this[_0xa6f805(0x1a7)](),this[_0xa6f805(0x40b)][_0xa6f805(0x43a)](_0x16e6b2),this[_0xa6f805(0x1cb)]({'type':0x0,'memberID':this[_0xa6f805(0x3aa)],'unitIDs':[_0x16e6b2],'isForwarded':!0x1});}[_0x46a43e(0x39c)](_0x5a3499){const _0x80e0fa=_0x46a43e;this['_selfUnitIDs']['delete'](_0x5a3499),this[_0x80e0fa(0x40b)][_0x80e0fa(0x282)]===0x0&&this[_0x80e0fa(0x18d)]&&window[_0x80e0fa(0x3cd)](this[_0x80e0fa(0x18d)]);}[_0x46a43e(0x336)](){const _0x3b50a9=_0x46a43e;this[_0x3b50a9(0x3e8)](_0x5019cf[_0x3b50a9(0x35e)](_0x54735b[_0x3b50a9(0x4e0)](window,_0x3b50a9(0x3c0))[_0x3b50a9(0x324)](_0x30568c=>{const _0x586749=_0x3b50a9;if(_0x30568c['key']!==_0x16213c||!_0x30568c[_0x586749(0x3cf)])return;const _0x459997=JSON[_0x586749(0x458)](_0x30568c[_0x586749(0x3cf)]);this[_0x586749(0x22e)](_0x459997);}))),window[_0x3b50a9(0x2a9)](_0x3b50a9(0x17b),()=>this[_0x3b50a9(0x1cb)]({'type':0x1,'memberID':this[_0x3b50a9(0x3aa)],'unitIDs':Array[_0x3b50a9(0x380)](this[_0x3b50a9(0x40b)])}));}[_0x46a43e(0x22e)](_0x50e3b9){const _0x339ca0=_0x46a43e;switch(_0x50e3b9[_0x339ca0(0x219)]){case 0x0:this[_0x339ca0(0x3b1)](_0x50e3b9);break;case 0x1:this[_0x339ca0(0x303)](_0x50e3b9);break;case 0x2:this['_handleHeartbeatEvent'](_0x50e3b9);break;}}[_0x46a43e(0x3b1)](_0x232a53){const _0x118498=_0x46a43e,{unitIDs:_0x4dac2d,memberID:_0x584d18,isForwarded:_0x4c1b23}=_0x232a53;_0x4dac2d['forEach'](_0x43512a=>{const _0x5af58f=_0x50f8;if(!_0x4c1b23&&this['_unitOnClients'][_0x5af58f(0x209)](_0x43512a)&&this[_0x5af58f(0x2ab)](_0x43512a)[_0x5af58f(0x230)](0x1),!this[_0x5af58f(0x36b)][_0x5af58f(0x209)](_0x43512a)||!this[_0x5af58f(0x36b)][_0x5af58f(0x2db)](_0x43512a)['has'](_0x584d18)){const _0x1e2504=this[_0x5af58f(0x36b)][_0x5af58f(0x2db)](_0x43512a)||new Set();_0x1e2504[_0x5af58f(0x43a)](_0x584d18),this[_0x5af58f(0x36b)][_0x5af58f(0x3f3)](_0x43512a,_0x1e2504),this[_0x5af58f(0x2b4)](_0x584d18);}}),_0x4c1b23||this[_0x118498(0x1cb)]({'type':0x0,'memberID':this[_0x118498(0x3aa)],'unitIDs':[...this[_0x118498(0x40b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x288c53){const _0x1aba08=_0x46a43e;this[_0x1aba08(0x231)](_0x288c53);const _0x17c834=window[_0x1aba08(0x3f5)](()=>{const _0x1dbed2=_0x1aba08;this[_0x1dbed2(0x36b)][_0x1dbed2(0x39a)](_0x22214d=>{const _0x2ead55=_0x1dbed2;_0x22214d[_0x2ead55(0x352)](_0x288c53);});},_0x37390f*0x2);this[_0x1aba08(0x3fd)]['set'](_0x288c53,_0x17c834);}[_0x46a43e(0x231)](_0x444edd){const _0x187cb3=_0x46a43e;if(this[_0x187cb3(0x3fd)]['has'](_0x444edd)){const _0x441d8d=this[_0x187cb3(0x3fd)]['get'](_0x444edd);_0x441d8d&&window[_0x187cb3(0x25c)](_0x441d8d),this[_0x187cb3(0x3fd)][_0x187cb3(0x3f3)](_0x444edd,null);}}[_0x46a43e(0x303)](_0x23f504){const _0x1cd690=_0x46a43e,{memberID:_0x22810d,unitIDs:_0x153cb3}=_0x23f504;_0x153cb3[_0x1cd690(0x39a)](_0x2ee990=>{const _0x417c36=_0x1cd690;var _0x103619;const _0xa05ec7=this[_0x417c36(0x36b)][_0x417c36(0x2db)](_0x2ee990);_0xa05ec7&&(_0xa05ec7[_0x417c36(0x352)](_0x22810d),(_0x103619=this[_0x417c36(0x2ab)](_0x2ee990))==null||_0x103619['next'](_0xa05ec7[_0x417c36(0x282)]===0x0?0x0:0x1));}),this[_0x1cd690(0x231)](_0x22810d);}['_handleHeartbeatEvent'](_0x2b80b0){const _0x26f33d=_0x46a43e;this['_scheduleClearOtherTimer'](_0x2b80b0[_0x26f33d(0x257)]);}[_0x46a43e(0x1cb)](_0x56e48e){const _0x38f874=_0x46a43e;localStorage[_0x38f874(0x182)](_0x16213c,JSON[_0x38f874(0x485)](_0x56e48e));}[_0x46a43e(0x1a7)](){const _0x29e7bb=_0x46a43e;this[_0x29e7bb(0x18d)]=window['setInterval'](()=>{const _0x90fd0b=_0x29e7bb;this[_0x90fd0b(0x1cb)]({'type':0x2,'memberID':this[_0x90fd0b(0x3aa)]});},_0x37390f);}[_0x46a43e(0x2ab)](_0x305d69){const _0x25f6a5=_0x46a43e;return this[_0x25f6a5(0x40d)][_0x25f6a5(0x209)](_0x305d69)||this[_0x25f6a5(0x40d)][_0x25f6a5(0x3f3)](_0x305d69,new _0x54735b[(_0x25f6a5(0x413))](0x0)),this['_unitStatus'][_0x25f6a5(0x2db)](_0x305d69);}}var _0x5b47f2=Object[_0x46a43e(0x1c7)],_0x1ee916=Object[_0x46a43e(0x1e9)],_0x1a825a=(_0x37c05e,_0x5f4f8f,_0x4aa8a2,_0x31a879)=>{const _0x29fbeb=_0x46a43e;for(var _0x2f6303=_0x31a879>0x1?void 0x0:_0x31a879?_0x1ee916(_0x5f4f8f,_0x4aa8a2):_0x5f4f8f,_0x55584f=_0x37c05e[_0x29fbeb(0x1bb)]-0x1,_0x4b141a;_0x55584f>=0x0;_0x55584f--)(_0x4b141a=_0x37c05e[_0x55584f])&&(_0x2f6303=(_0x31a879?_0x4b141a(_0x5f4f8f,_0x4aa8a2,_0x2f6303):_0x4b141a(_0x2f6303))||_0x2f6303);return _0x31a879&&_0x2f6303&&_0x5b47f2(_0x5f4f8f,_0x4aa8a2,_0x2f6303),_0x2f6303;},_0x3980f6=(_0x5944ac,_0x14365e)=>(_0x1e7eba,_0x1696d8)=>_0x14365e(_0x1e7eba,_0x1696d8,_0x5944ac);let _0xc2ebf4=class{constructor(_0x24819d,_0xbbcef2){const _0x2cb859=_0x46a43e;this[_0x2cb859(0x383)]=_0x24819d,this[_0x2cb859(0x43f)]=_0xbbcef2;}['transformIMECache'](_0x37bcbd){const _0x434fcd=_0x46a43e;this[_0x434fcd(0x2c8)](_0x37bcbd),this['_transformPreviousActiveRange'](_0x37bcbd);}['transformRemoteChangeset'](_0x2bdd34){const _0xf1a61e=_0x46a43e,_0x371bc9=this[_0xf1a61e(0x383)][_0xf1a61e(0x2db)](_0x38fb70[_0xf1a61e(0x4c1)]),{redoCache:_0x1ee0f6}=_0x371bc9['getUndoRedoMutationParamsCache']();if(_0x1ee0f6[_0xf1a61e(0x1bb)]===0x0)return _0x2bdd34;let _0x58c349=_0x5019cf[_0xf1a61e(0x1f7)][_0xf1a61e(0x2ac)](_0x2bdd34[_0xf1a61e(0x2c2)][0x0]);for(let _0xcd909=0x0;_0xcd909<_0x1ee0f6[_0xf1a61e(0x1bb)];_0xcd909++){const _0x3b534e={'id':_0xf1a61e(0x20c),'params':{..._0x1ee0f6[_0xcd909]}},_0x27407a=this[_0xf1a61e(0x43f)]['transformMutation'](_0x58c349,_0x3b534e,!0x1);if(_0x38ce1a['isTransformMutationFailure'](_0x27407a))throw _0x27407a[_0xf1a61e(0x3a0)];_0x58c349=_0x27407a[_0xf1a61e(0x272)];}return{..._0x5019cf[_0xf1a61e(0x1f7)][_0xf1a61e(0x2ac)](_0x2bdd34),'mutations':[_0x58c349]};}[_0x46a43e(0x2c8)](_0x159bd9){const _0x41981d=_0x46a43e,_0x301093=this[_0x41981d(0x383)][_0x41981d(0x2db)](_0x38fb70[_0x41981d(0x4c1)]),{undoCache:_0x5f4aae,redoCache:_0x205fc0}=_0x301093[_0x41981d(0x31b)]();if(_0x5f4aae[_0x41981d(0x1bb)]===0x0||_0x205fc0['length']===0x0)return;const _0x17ed05=[],_0x30bb9d=[];let _0x5693c1=_0x5019cf[_0x41981d(0x1f7)][_0x41981d(0x2ac)](_0x159bd9[_0x41981d(0x2c2)][0x0]),_0x215dea=_0x5019cf['Tools'][_0x41981d(0x2ac)](_0x159bd9[_0x41981d(0x2c2)][0x0]);for(let _0x6b517a=_0x5f4aae[_0x41981d(0x1bb)]-0x1;_0x6b517a>=0x0;_0x6b517a--){const _0x55fed9={'id':'doc.mutation.rich-text-editing','params':{..._0x5f4aae[_0x6b517a]}},_0x14ba7a={'id':_0x41981d(0x20c),'params':{..._0x205fc0[_0x6b517a]}},_0x5615e5=this['_transformService']['transformMutation'](_0x5693c1,_0x55fed9,!0x1),_0xde2051=this[_0x41981d(0x43f)][_0x41981d(0x432)](_0x215dea,_0x14ba7a,!0x1);if(_0x38ce1a[_0x41981d(0x15e)](_0x5615e5))throw _0x5615e5['error'];if(_0x38ce1a['isTransformMutationFailure'](_0xde2051))throw _0xde2051[_0x41981d(0x3a0)];_0x17ed05[_0x41981d(0x442)](_0x5615e5[_0x41981d(0x35f)]['params']),_0x30bb9d[_0x41981d(0x442)](_0xde2051[_0x41981d(0x35f)][_0x41981d(0x451)]),_0x5693c1=_0x5615e5[_0x41981d(0x272)],_0x215dea=_0xde2051[_0x41981d(0x272)];}_0x301093['setUndoRedoMutationParamsCache']({'undoCache':_0x17ed05,'redoCache':_0x30bb9d});}[_0x46a43e(0x415)](_0x13e44b){const _0x12af0b=_0x46a43e,_0x16b61c=this['_injector'][_0x12af0b(0x2db)](_0x38fb70['IMEInputManagerService']),_0x219840=_0x16b61c[_0x12af0b(0x2bb)]();if(_0x219840==null)return;const _0x22751b=[{'id':_0x12af0b(0x20c),'params':{'unitId':_0x13e44b[_0x12af0b(0x166)],'actions':null,'textRanges':[_0x219840]}}],_0x52e8fe=this['_transformService']['transformMutationsWithChangeset'](_0x13e44b,_0x22751b);if(!_0x38ce1a['isTransformMutationsWithChangesetSuccess'](_0x52e8fe))throw _0x52e8fe['error'];const _0x1684db=_0x52e8fe[_0x12af0b(0x35f)][0x0][_0x12af0b(0x451)]['textRanges'];Array[_0x12af0b(0x4e9)](_0x1684db)&&_0x1684db[_0x12af0b(0x1bb)]&&_0x16b61c[_0x12af0b(0x4cd)](_0x1684db[0x0]);}};_0xc2ebf4=_0x1a825a([_0x3980f6(0x0,_0x245a54['Inject'](_0x245a54[_0x46a43e(0x236)])),_0x3980f6(0x1,_0x38ce1a[_0x46a43e(0x48b)])],_0xc2ebf4);var _0x32e5c2=Object[_0x46a43e(0x1c7)],_0xa16d29=Object[_0x46a43e(0x1e9)],_0x504577=(_0x1c50cc,_0x469024,_0x56dd1f,_0x37134b)=>{const _0xa9d341=_0x46a43e;for(var _0x57d268=_0x37134b>0x1?void 0x0:_0x37134b?_0xa16d29(_0x469024,_0x56dd1f):_0x469024,_0x23e669=_0x1c50cc[_0xa9d341(0x1bb)]-0x1,_0x34c053;_0x23e669>=0x0;_0x23e669--)(_0x34c053=_0x1c50cc[_0x23e669])&&(_0x57d268=(_0x37134b?_0x34c053(_0x469024,_0x56dd1f,_0x57d268):_0x34c053(_0x57d268))||_0x57d268);return _0x37134b&&_0x57d268&&_0x32e5c2(_0x469024,_0x56dd1f,_0x57d268),_0x57d268;},_0x1a7e36=(_0x356dad,_0x56331f)=>(_0x389fcf,_0x4743cc)=>_0x56331f(_0x389fcf,_0x4743cc,_0x356dad);let _0x5cf952=class{constructor(_0x50d1dc,_0x5da5d6){const _0x511e92=_0x46a43e;this[_0x511e92(0x383)]=_0x50d1dc,this['_transformService']=_0x5da5d6;}[_0x46a43e(0x2d6)](_0x71de9f){const _0x50a08a=_0x46a43e;var _0x1b401d;const _0x3f2a1e=this[_0x50a08a(0x383)][_0x50a08a(0x2db)](_0x38fb70['TextSelectionManagerService']),_0x22e751=(_0x1b401d=_0x3f2a1e[_0x50a08a(0x2fc)]())!=null?_0x1b401d:[],_0x33365c=_0x22e751==null?void 0x0:_0x22e751[_0x50a08a(0x473)](_0x38fb70[_0x50a08a(0x318)]);if(_0x33365c['length']===0x0)return;const _0x4fb952=[{'id':_0x50a08a(0x20c),'params':{'unitId':_0x71de9f[_0x50a08a(0x166)],'actions':null,'textRanges':_0x33365c}}],_0x533fab=this['_transformService'][_0x50a08a(0x3ba)](_0x71de9f,_0x4fb952);if(!_0x38ce1a[_0x50a08a(0x41f)](_0x533fab))throw _0x533fab[_0x50a08a(0x3a0)];const _0x34315a=_0x533fab[_0x50a08a(0x35f)][0x0][_0x50a08a(0x451)][_0x50a08a(0x44a)];Array[_0x50a08a(0x4e9)](_0x34315a)&&_0x34315a[_0x50a08a(0x1bb)]&&_0x3f2a1e['replaceTextRanges'](_0x34315a,!0x1);}};_0x5cf952=_0x504577([_0x1a7e36(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x1a7e36(0x1,_0x38ce1a[_0x46a43e(0x48b)])],_0x5cf952);function _0x4b67ea(_0x1484ec){let _0x100ba9='';for(const _0x4a0a8e of _0x1484ec){const {startOffset:_0x422db9,endOffset:_0x3f249d,isActive:_0x169856}=_0x4a0a8e;_0x100ba9['length']&&(_0x100ba9+=','),_0x100ba9+=_0x422db9+':'+_0x3f249d+':'+(_0x169856?'1':'0');}return _0x100ba9;}function _0x40ee5f(_0x31429f){const _0x587acf=_0x46a43e,_0x1bd359=_0x31429f[_0x587acf(0x269)](','),_0x421f9f=[];for(const _0x90daf7 of _0x1bd359){const [_0x10c56e,_0x18ddaa,_0x4e27b0]=_0x90daf7[_0x587acf(0x269)](':');_0x421f9f[_0x587acf(0x23e)]({'startOffset':Number(_0x10c56e),'endOffset':Number(_0x18ddaa),'collapsed':_0x10c56e===_0x18ddaa,'isActive':_0x4e27b0==='1'});}return _0x421f9f['some'](_0x40172a=>_0x40172a[_0x587acf(0x279)])||(_0x421f9f[0x0][_0x587acf(0x279)]=!0x0),_0x421f9f;}class _0x141f6f extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(){const _0x560353=_0x46a43e;super(...arguments),_0x3a44bb(this,_0x560353(0x503),new _0x54735b['BehaviorSubject'](null)),_0x3a44bb(this,_0x560353(0x2a5),this[_0x560353(0x503)][_0x560353(0x26a)]());}['syncEditingCollabCursor'](_0x9ff428){const _0x261c3f=_0x46a43e,{unitID:_0x154347,memberID:_0x1c8412,textRanges:_0x309d49}=_0x9ff428,_0x84c36d=_0x4b67ea(_0x309d49),_0x4890a6={'unitID':_0x154347,'memberID':_0x1c8412,'selection':_0x84c36d};this[_0x261c3f(0x503)][_0x261c3f(0x230)](_0x4890a6);}}var _0x55ae9b=Object[_0x46a43e(0x1c7)],_0xd44df2=Object[_0x46a43e(0x1e9)],_0x953aa0=(_0x2489e0,_0x3b4fd7,_0x2fa8de,_0x136c9d)=>{const _0x42f616=_0x46a43e;for(var _0x37c91c=_0x136c9d>0x1?void 0x0:_0x136c9d?_0xd44df2(_0x3b4fd7,_0x2fa8de):_0x3b4fd7,_0x43ef1e=_0x2489e0[_0x42f616(0x1bb)]-0x1,_0x4eb0f1;_0x43ef1e>=0x0;_0x43ef1e--)(_0x4eb0f1=_0x2489e0[_0x43ef1e])&&(_0x37c91c=(_0x136c9d?_0x4eb0f1(_0x3b4fd7,_0x2fa8de,_0x37c91c):_0x4eb0f1(_0x37c91c))||_0x37c91c);return _0x136c9d&&_0x37c91c&&_0x55ae9b(_0x3b4fd7,_0x2fa8de,_0x37c91c),_0x37c91c;},_0x51a808=(_0xe4b08,_0x122740)=>(_0x155ec3,_0x5f0c57)=>_0x122740(_0x155ec3,_0x5f0c57,_0xe4b08);let _0x20cd4b=class{constructor(_0x5b6d47,_0x20e8d6){const _0x511467=_0x46a43e;this[_0x511467(0x383)]=_0x5b6d47,this[_0x511467(0x43f)]=_0x20e8d6;}['transformSelections'](_0x45bdf4){const _0xa711bc=_0x46a43e;var _0x199328,_0xa89cd3,_0x54f22a,_0x127dbf;const _0x480dce=this['_injector'][_0xa711bc(0x2db)](_0x7f012d[_0xa711bc(0x3fe)]),{pluginName:_0x52cabd,unitId:_0x34d808,sheetId:_0x5b73ab}=_0x480dce[_0xa711bc(0x4f0)]()||{},_0x467394=(_0x199328=_0x480dce['getSelections']())!=null?_0x199328:[];if(_0x467394[_0xa711bc(0x1bb)]===0x0||!_0x52cabd||!_0x34d808||!_0x5b73ab)return;const _0x426c18=[{'id':_0x7f012d['SetSelectionsOperation']['id'],'params':{'unitId':_0x34d808,'subUnitId':_0x5b73ab,'pluginName':_0x52cabd,'selections':_0x5019cf[_0xa711bc(0x1f7)][_0xa711bc(0x2ac)](_0x467394)}}],_0x4d88d1=this[_0xa711bc(0x43f)]['transformMutationsWithChangeset'](_0x45bdf4,_0x426c18);if(!_0x38ce1a[_0xa711bc(0x41f)](_0x4d88d1))throw _0x4d88d1[_0xa711bc(0x3a0)];const _0x383c3a=(_0x127dbf=(_0x54f22a=(_0xa89cd3=_0x4d88d1[_0xa711bc(0x35f)][0x0])==null?void 0x0:_0xa89cd3[_0xa711bc(0x451)])==null?void 0x0:_0x54f22a[_0xa711bc(0x4e4)])!=null?_0x127dbf:_0x467394;Array[_0xa711bc(0x4e9)](_0x383c3a)&&_0x383c3a[_0xa711bc(0x1bb)]&&this[_0xa711bc(0x383)][_0xa711bc(0x2db)](_0x5019cf[_0xa711bc(0x3b9)])[_0xa711bc(0x4ac)](_0x7f012d[_0xa711bc(0x27c)]['id'],{'unitId':_0x34d808,'subUnitId':_0x5b73ab,'pluginName':_0x52cabd,'selections':_0x383c3a});}};_0x20cd4b=_0x953aa0([_0x51a808(0x0,_0x245a54['Inject'](_0x245a54[_0x46a43e(0x236)])),_0x51a808(0x1,_0x38ce1a[_0x46a43e(0x48b)])],_0x20cd4b);const _0xe84682=new Set([_0x7f012d[_0x46a43e(0x207)]['id']]);function _0x2ced5e(_0x17e9fe,_0x50f09a,_0xb83b64,_0x1f4f72,_0x200f8d){const _0x47fc5e=_0x46a43e;var _0x1f537e,_0x13825d,_0x1f9a05,_0xb5966a;const _0x11ceb3=[];for(const _0x1a11cb of _0x17e9fe)if(_0xe84682[_0x47fc5e(0x209)](_0x1a11cb['id'])){if(_0x11ceb3[_0x47fc5e(0x1bb)]>0x0)break;_0x11ceb3[_0x47fc5e(0x23e)](_0x1a11cb);break;}else _0x11ceb3[_0x47fc5e(0x23e)](_0x1a11cb);const _0xc9d50c=(_0x13825d=(_0x1f537e=_0x200f8d[_0x47fc5e(0x373)]())==null?void 0x0:_0x1f537e['userID'])!=null?_0x13825d:_0x47fc5e(0x3f4),_0x461d3f=(_0xb5966a=(_0x1f9a05=_0x200f8d[_0x47fc5e(0x373)]())==null?void 0x0:_0x1f9a05[_0x47fc5e(0x257)])!=null?_0xb5966a:'unknown';return{'changeset':{'unitID':_0x50f09a,'type':_0x38ce1a[_0x47fc5e(0x27e)](_0xb83b64[_0x47fc5e(0x22d)](_0x50f09a)),'baseRev':_0x1f4f72[_0x47fc5e(0x1cc)](_0x50f09a),'revision':0x0,'userID':_0xc9d50c,'memberID':_0x461d3f,'mutations':_0x11ceb3},'pendingMutations':_0x17e9fe[_0x47fc5e(0x29f)](_0x11ceb3[_0x47fc5e(0x1bb)])};}function _0x2506bd(_0x50b4c1,_0x27dbe3,_0x56984c,_0x59e2ce,_0x49b961){const _0x438bcf=_0x46a43e;var _0x325ed0,_0x1296ce,_0x35c933,_0x500bcc;const _0x2c421d=[_0x50b4c1[_0x438bcf(0x2e8)]((_0x1078ad,_0x3a0e66)=>{const _0x4ff933=_0x438bcf;var _0x41e9a9;const {id:_0x49ac3d}=_0x1078ad,{id:_0x1952b1,type:_0x366384}=_0x3a0e66,_0x28cf4b=(_0x41e9a9=_0x1078ad['params'])!=null?_0x41e9a9:{'actions':null},_0xa2f835=_0x3a0e66[_0x4ff933(0x451)];if(_0x49ac3d&&_0x49ac3d!==_0x1952b1)throw new Error(_0x4ff933(0x370)+_0x49ac3d+_0x4ff933(0x462)+_0x1952b1+'.');return{..._0x1078ad,'id':_0x1952b1,'type':_0x366384,'params':{'unitId':_0xa2f835['unitId'],'textRanges':_0xa2f835['textRanges'],'actions':_0x5019cf['JSONX']['compose'](_0x28cf4b[_0x4ff933(0x25e)],_0xa2f835[_0x4ff933(0x25e)])}};},{})],_0x28925b=(_0x1296ce=(_0x325ed0=_0x49b961['getCurrentUser']())==null?void 0x0:_0x325ed0[_0x438bcf(0x2f1)])!=null?_0x1296ce:_0x438bcf(0x3f4),_0x56c6d5=(_0x500bcc=(_0x35c933=_0x49b961[_0x438bcf(0x373)]())==null?void 0x0:_0x35c933['memberID'])!=null?_0x500bcc:_0x438bcf(0x3f4);return{'changeset':{'unitID':_0x27dbe3,'type':_0x38ce1a[_0x438bcf(0x27e)](_0x56984c['getUnitType'](_0x27dbe3)),'baseRev':_0x59e2ce[_0x438bcf(0x1cc)](_0x27dbe3),'revision':0x0,'userID':_0x28925b,'memberID':_0x56c6d5,'mutations':_0x2c421d},'pendingMutations':[]};}var _0x1b297f=Object[_0x46a43e(0x1c7)],_0x4a951a=Object[_0x46a43e(0x1e9)],_0x1b88b6=(_0xa5cf6c,_0x14f823,_0x3072c2,_0xe100cb)=>{for(var _0xc34727=_0xe100cb>0x1?void 0x0:_0xe100cb?_0x4a951a(_0x14f823,_0x3072c2):_0x14f823,_0x217fcf=_0xa5cf6c['length']-0x1,_0x26e800;_0x217fcf>=0x0;_0x217fcf--)(_0x26e800=_0xa5cf6c[_0x217fcf])&&(_0xc34727=(_0xe100cb?_0x26e800(_0x14f823,_0x3072c2,_0xc34727):_0x26e800(_0xc34727))||_0xc34727);return _0xe100cb&&_0xc34727&&_0x1b297f(_0x14f823,_0x3072c2,_0xc34727),_0xc34727;},_0x48ae34=(_0x40938a,_0x3f638c)=>(_0x7e6012,_0x12d877)=>_0x3f638c(_0x7e6012,_0x12d877,_0x40938a),_0x348409=(_0x507eeb=>(_0x507eeb['NOT_COLLAB']=_0x46a43e(0x4a6),_0x507eeb[_0x46a43e(0x407)]='synced',_0x507eeb['PENDING']=_0x46a43e(0x37e),_0x507eeb[_0x46a43e(0x224)]='awaiting',_0x507eeb[_0x46a43e(0x203)]='awaiting_with_pending',_0x507eeb[_0x46a43e(0x198)]=_0x46a43e(0x1a2),_0x507eeb[_0x46a43e(0x420)]='conflict',_0x507eeb['OFFLINE']=_0x46a43e(0x4a4),_0x507eeb))(_0x348409||{});class _0x2fb10b{constructor(_0x35a259,_0x1cd84b,_0x19c5eb,_0x3bd0de,_0x281b3d,_0x23b72b,_0x3c0e67,_0x3425a0,_0x1e17c4){const _0x2f8de9=_0x46a43e;_0x3a44bb(this,_0x2f8de9(0x4e8),null),_0x3a44bb(this,'_pendingMutations',[]),(this['unitID']=_0x35a259,this[_0x2f8de9(0x219)]=_0x1cd84b,this[_0x2f8de9(0x4dd)]=_0x281b3d,this[_0x2f8de9(0x34d)]=_0x23b72b,this[_0x2f8de9(0x1d6)]=_0x3c0e67,this[_0x2f8de9(0x4a3)]=_0x3425a0,this[_0x2f8de9(0x36e)]=_0x1e17c4,this['_awaitingChangeset']=_0x19c5eb,this[_0x2f8de9(0x3b7)]=_0x3bd0de);}[_0x46a43e(0x454)](_0x5799f9){const _0x6f6eb4=_0x46a43e,_0x5f222a=this[_0x6f6eb4(0x4a3)][_0x6f6eb4(0x1cc)](this['unitID']);return _0x5799f9[_0x6f6eb4(0x1ca)]>_0x5f222a+0x1?(this[_0x6f6eb4(0x4dd)][_0x6f6eb4(0x2ea)]({'from':_0x5f222a,'to':_0x5799f9['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xd61958){const _0x2826ad=_0x46a43e;this[_0x2826ad(0x1d6)][_0x2826ad(0x4fb)](this[_0x2826ad(0x166)],_0xd61958);}[_0x46a43e(0x288)](_0xf0753d){const _0x447f1a=_0x46a43e;var _0x28f8ad,_0xacfb4d;(_0xacfb4d=(_0x28f8ad=this[_0x447f1a(0x4dd)])[_0x447f1a(0x49a)])==null||_0xacfb4d['call'](_0x28f8ad,_0xf0753d);}['_transformIMECache'](_0x283082){const _0x58a221=_0x46a43e;var _0xc6f2d4,_0x15fbf1;return(_0x15fbf1=(_0xc6f2d4=this[_0x58a221(0x4dd)])[_0x58a221(0x286)])==null?void 0x0:_0x15fbf1[_0x58a221(0x4fd)](_0xc6f2d4,_0x283082);}[_0x46a43e(0x3dd)](_0x3e640a){const _0x33586b=_0x46a43e;var _0x57262d,_0x50fd31,_0x10355c;return(_0x10355c=(_0x50fd31=(_0x57262d=this[_0x33586b(0x4dd)])[_0x33586b(0x46d)])==null?void 0x0:_0x50fd31[_0x33586b(0x4fd)](_0x57262d,_0x3e640a))!=null?_0x10355c:_0x3e640a;}['_syncEditingCollabCursor'](_0x4de3ea){const _0x111a48=_0x46a43e;var _0x14eef4,_0x2d5cef;if(this[_0x111a48(0x219)]===_0x4418d5['UNIVER_DOC']){const {unitID:_0x1848df,mutations:_0xd9fdfe,memberID:_0x257882}=_0x4de3ea,_0x5c4b72=_0xd9fdfe[0x0][_0x111a48(0x451)][_0x111a48(0x44a)];Array[_0x111a48(0x4e9)](_0x5c4b72)&&_0x5c4b72[_0x111a48(0x1bb)]>0x0&&((_0x2d5cef=(_0x14eef4=this[_0x111a48(0x4dd)])[_0x111a48(0x278)])==null||_0x2d5cef[_0x111a48(0x4fd)](_0x14eef4,{'unitID':_0x1848df,'memberID':_0x257882,'textRanges':_0x5c4b72}));}}[_0x46a43e(0x385)](){const _0x15d0ad=_0x46a43e;this[_0x15d0ad(0x36e)][_0x15d0ad(0x484)](this[_0x15d0ad(0x166)],this[_0x15d0ad(0x219)],this[_0x15d0ad(0x4e8)],this['_pendingMutations']);}[_0x46a43e(0x337)](){const _0x16b63e=_0x46a43e;return this['_revisionService']['getCurrentRevForDocument'](this[_0x16b63e(0x166)]);}[_0x46a43e(0x17d)](){const _0x2d3071=_0x46a43e;this[_0x2d3071(0x4a3)][_0x2d3071(0x4c2)](this['unitID']);}[_0x46a43e(0x408)](_0x7bcf37){const _0x2b3c73=_0x46a43e;var _0x560d87;const _0x5989c8=this[_0x2b3c73(0x3dd)](_0x7bcf37),_0x5929d4=_0x5019cf[_0x2b3c73(0x30d)](_0x5989c8[_0x2b3c73(0x2c2)],this[_0x2b3c73(0x34d)],{'fromCollab':!0x0});if(!_0x5929d4[_0x2b3c73(0x3ec)])throw _0x5929d4[_0x2b3c73(0x3a0)]instanceof Error?_0x5929d4['error']:new Error((_0x560d87=_0x5929d4[_0x2b3c73(0x3a0)])!=null?_0x560d87:_0x2b3c73(0x4fa));this[_0x2b3c73(0x456)](_0x5989c8),this[_0x2b3c73(0x30b)](_0x7bcf37),this[_0x2b3c73(0x288)](_0x5989c8),this[_0x2b3c73(0x1ae)](_0x5989c8),this[_0x2b3c73(0x17d)]();}}let _0x5a53e1=class extends _0x2fb10b{constructor(_0x24bfd8,_0x20ef6b,_0x36c629,_0x3dca71,_0x73c9f5,_0x4a4fb0,_0x4a15b3,_0x3e075b,_0x4151a9){const _0x443444=_0x46a43e;super(_0x24bfd8,_0x20ef6b,null,[],_0x36c629,_0x3e075b,_0x4a15b3,_0x3dca71,_0x73c9f5),_0x3a44bb(this,_0x443444(0x4a1),'synced'),(this[_0x443444(0x383)]=_0x4a4fb0,this[_0x443444(0x433)]=_0x4151a9);}[_0x46a43e(0x378)](_0x3ab491){const _0x137193=_0x46a43e,_0x3c54ac=this[_0x137193(0x383)][_0x137193(0x431)](_0x285dad,this[_0x137193(0x166)],this['type'],[_0x3ab491],this['_handler']);return _0x3c54ac[_0x137193(0x3f1)](),_0x3c54ac[_0x137193(0x385)](),_0x3c54ac;}[_0x46a43e(0x2dc)](_0x2cd22e){const _0x9ac248=_0x46a43e;if(this[_0x9ac248(0x454)](_0x2cd22e))return this[_0x9ac248(0x383)][_0x9ac248(0x431)](_0x28d07c,this[_0x9ac248(0x166)],this['type'],null,[],null,[_0x2cd22e],this[_0x9ac248(0x4dd)]);try{return this[_0x9ac248(0x408)](_0x2cd22e),this;}catch(_0x147a41){return this[_0x9ac248(0x433)][_0x9ac248(0x3a0)]('[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.',_0x147a41),this;}}[_0x46a43e(0x452)](){const _0x1360da=_0x46a43e;throw new Error(_0x1360da(0x332));}['onRemoteRej'](){const _0x19488d=_0x46a43e;throw new Error(_0x19488d(0x3eb));}['toggleOffline'](){const _0xce9cb=_0x46a43e;return this[_0xce9cb(0x383)][_0xce9cb(0x431)](_0x3fc69e,this['unitID'],this[_0xce9cb(0x219)],null,[],this[_0xce9cb(0x4dd)]);}[_0x46a43e(0x2d8)](){return this;}['resend'](){const _0x29e2d8=_0x46a43e;throw new Error(_0x29e2d8(0x3f2));}};_0x5a53e1=_0x1b88b6([_0x48ae34(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x4ad)])),_0x48ae34(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x575351[_0x46a43e(0x2d1)])),_0x48ae34(0x5,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x48ae34(0x6,_0x5019cf[_0x46a43e(0x33a)]),_0x48ae34(0x7,_0x5019cf[_0x46a43e(0x3b9)]),_0x48ae34(0x8,_0x5019cf[_0x46a43e(0x4e6)])],_0x5a53e1);let _0x285dad=class extends _0x2fb10b{constructor(_0x56abdb,_0x594545,_0x337f21,_0x108bd6,_0xd71ffe,_0x27dbea,_0x238e8b,_0x420d9b,_0x187b3c,_0x1d0176,_0x316758,_0x139332,_0x3c76d9,_0x503899){const _0x214d5e=_0x46a43e;super(_0x56abdb,_0x594545,null,_0x337f21,_0x108bd6,_0x1d0176,_0x503899,_0x27dbea,_0x238e8b),_0x3a44bb(this,_0x214d5e(0x4a1),'pending'),_0x3a44bb(this,_0x214d5e(0x3ce),null),_0x3a44bb(this,_0x214d5e(0x358),null),(this[_0x214d5e(0x383)]=_0xd71ffe,this[_0x214d5e(0x39b)]=_0x420d9b,this[_0x214d5e(0x433)]=_0x187b3c,this[_0x214d5e(0x317)]=_0x316758,this[_0x214d5e(0x43f)]=_0x139332,this[_0x214d5e(0x397)]=_0x3c76d9);}[_0x46a43e(0x378)](_0x2c0c50){const _0x594359=_0x46a43e;return this['_pendingMutations'][_0x594359(0x23e)](_0x2c0c50),this[_0x594359(0x385)](),this;}[_0x46a43e(0x2dc)](_0x994003){const _0x1038e3=_0x46a43e;if(this[_0x1038e3(0x454)](_0x994003))return this[_0x1038e3(0x176)](),this[_0x1038e3(0x383)][_0x1038e3(0x431)](_0x28d07c,this[_0x1038e3(0x166)],this[_0x1038e3(0x219)],null,this[_0x1038e3(0x3b7)],null,[_0x994003],this[_0x1038e3(0x4dd)]);try{const _0xcb6a14=this[_0x1038e3(0x43f)][_0x1038e3(0x3ba)](_0x994003,this[_0x1038e3(0x3b7)]);if(_0x38ce1a[_0x1038e3(0x41f)](_0xcb6a14)){const {c1Prime:_0xd9556a,m2Prime:_0x334dc8}=_0xcb6a14;this[_0x1038e3(0x408)](_0xd9556a);const _0x362496=this[_0x1038e3(0x383)][_0x1038e3(0x431)](_0x285dad,this['unitID'],this[_0x1038e3(0x219)],_0x334dc8,this['_handler']);return this[_0x1038e3(0x176)](),_0x362496[_0x1038e3(0x3f1)](this[_0x1038e3(0x3ce)]?Math[_0x1038e3(0x492)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x1038e3(0x417)]()),_0x362496;}throw _0xcb6a14[_0x1038e3(0x3a0)];}catch(_0x4a014c){return this[_0x1038e3(0x433)][_0x1038e3(0x3a0)](_0x4a014c),this[_0x1038e3(0x2a8)](!0x1);}}[_0x46a43e(0x452)](){const _0x287179=_0x46a43e;throw new Error(_0x287179(0x4f9));}[_0x46a43e(0x1fb)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x46a43e(0x2d9)](){const _0x4b22be=_0x46a43e;return this[_0x4b22be(0x176)](),this[_0x4b22be(0x383)]['createInstance'](_0x3fc69e,this[_0x4b22be(0x166)],this['type'],null,this[_0x4b22be(0x3b7)],this[_0x4b22be(0x4dd)]);}['toggleOnline'](){return this;}['_schedule'](_0x51f07e){const _0xe2d341=_0x46a43e;_0x51f07e=_0x51f07e!=null?_0x51f07e:this[_0xe2d341(0x417)](),this['_scheduleTimestamp']=new Date()[_0xe2d341(0x322)](),this['_sendingTimer']=setTimeout(()=>{const _0x241d2b=_0xe2d341;this['_clearScheduledTask']();let _0x250a7e=null;switch(this[_0x241d2b(0x219)]){case _0x4418d5[_0x241d2b(0x258)]:{_0x250a7e=_0x2ced5e(this[_0x241d2b(0x3b7)],this[_0x241d2b(0x166)],this[_0x241d2b(0x397)],this[_0x241d2b(0x4a3)],this[_0x241d2b(0x39b)]);break;}case _0x4418d5[_0x241d2b(0x27d)]:{_0x250a7e=_0x2506bd(this['_pendingMutations'],this[_0x241d2b(0x166)],this[_0x241d2b(0x397)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x241d2b(0x382)+this[_0x241d2b(0x219)]+'\x20in\x20_schedule.');}const {changeset:_0x1cfbe3,pendingMutations:_0x587bb7}=_0x250a7e;this['_handler'][_0x241d2b(0x3e4)](_0x1cfbe3);const _0x45a77d=_0x587bb7[_0x241d2b(0x1bb)]?this[_0x241d2b(0x383)]['createInstance'](_0xf5d66b,this[_0x241d2b(0x166)],this[_0x241d2b(0x219)],_0x1cfbe3,_0x587bb7,this[_0x241d2b(0x4dd)]):this[_0x241d2b(0x383)][_0x241d2b(0x431)](_0xdb51bd,this[_0x241d2b(0x166)],this[_0x241d2b(0x219)],_0x1cfbe3,this[_0x241d2b(0x4dd)]);_0x45a77d[_0x241d2b(0x385)](),this['_handler']['onStateChange'](this,_0x45a77d);},_0x51f07e);}[_0x46a43e(0x417)](){const _0x4e3774=_0x46a43e;var _0x20c323;return(_0x20c323=this[_0x4e3774(0x317)][_0x4e3774(0x3ea)](_0xb347b))!=null?_0x20c323:0x7d0;}[_0x46a43e(0x472)](){const _0x4fc6f4=_0x46a43e;throw new Error(_0x4fc6f4(0x1ac));}[_0x46a43e(0x176)](){const _0x3d3d2f=_0x46a43e;this[_0x3d3d2f(0x358)]!=null&&(clearTimeout(this[_0x3d3d2f(0x358)]),this['_sendingTimer']=null);}[_0x46a43e(0x2a8)](_0x3ef281){const _0x5abdeb=_0x46a43e;return this[_0x5abdeb(0x176)](),this[_0x5abdeb(0x383)][_0x5abdeb(0x431)](_0x5e1998,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x5abdeb(0x4dd)],_0x3ef281);}};_0x285dad=_0x1b88b6([_0x48ae34(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x48ae34(0x5,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x4ad)])),_0x48ae34(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x575351['LocalCacheService'])),_0x48ae34(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x4a6424)),_0x48ae34(0x8,_0x5019cf[_0x46a43e(0x4e6)]),_0x48ae34(0x9,_0x5019cf[_0x46a43e(0x3b9)]),_0x48ae34(0xa,_0x5019cf[_0x46a43e(0x460)]),_0x48ae34(0xb,_0x38ce1a[_0x46a43e(0x48b)]),_0x48ae34(0xc,_0x5019cf[_0x46a43e(0x4e2)]),_0x48ae34(0xd,_0x5019cf['IUndoRedoService'])],_0x285dad);let _0xdb51bd=class extends _0x2fb10b{constructor(_0x5f0126,_0x1c285b,_0x5deac0,_0x207728,_0x180987,_0x411c63,_0x34c4e9,_0xe2bf9,_0xfd8327,_0x45180f,_0x340bfc){const _0x212c57=_0x46a43e;super(_0x5f0126,_0x1c285b,_0x5deac0,[],_0x207728,_0xe2bf9,_0x340bfc,_0x411c63,_0x34c4e9),_0x3a44bb(this,_0x212c57(0x4a1),_0x212c57(0x28b)),(this[_0x212c57(0x383)]=_0x180987,this[_0x212c57(0x433)]=_0xfd8327,this[_0x212c57(0x43f)]=_0x45180f);}[_0x46a43e(0x378)](_0x1b4acc){const _0x2112b7=_0x46a43e,_0x1c0874=this['_injector']['createInstance'](_0xf5d66b,this[_0x2112b7(0x166)],this[_0x2112b7(0x219)],this[_0x2112b7(0x4e8)],[_0x1b4acc],this['_handler']);return _0x1c0874[_0x2112b7(0x385)](),_0x1c0874;}[_0x46a43e(0x2dc)](_0x42c4cd){const _0x5cfaae=_0x46a43e;if(this[_0x5cfaae(0x454)](_0x42c4cd))return this[_0x5cfaae(0x383)][_0x5cfaae(0x431)](_0x28d07c,this[_0x5cfaae(0x166)],this[_0x5cfaae(0x219)],this[_0x5cfaae(0x4e8)],[],null,[_0x42c4cd],this['_handler']);try{const _0x548026=this[_0x5cfaae(0x43f)][_0x5cfaae(0x1d7)]([_0x42c4cd],[this[_0x5cfaae(0x4e8)]],!0x1);if(_0x38ce1a[_0x5cfaae(0x3f7)](_0x548026)){const {c1Prime:_0x2720de,c2Prime:_0x48448f}=_0x548026;this[_0x5cfaae(0x408)](_0x2720de[0x0]),_0x48448f[0x0][_0x5cfaae(0x167)]=this[_0x5cfaae(0x337)]();const _0xa3770e=this[_0x5cfaae(0x383)][_0x5cfaae(0x431)](_0xdb51bd,this['unitID'],this['type'],_0x48448f[0x0],this[_0x5cfaae(0x4dd)]);return _0xa3770e['_updateLocalCache'](),_0xa3770e;}return this[_0x5cfaae(0x2a8)](!0x1);}catch(_0x46a9ec){return this['_logService'][_0x5cfaae(0x3a0)](_0x46a9ec),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x2c6f96){const _0x1b35b1=_0x46a43e,_0x50da41=this[_0x1b35b1(0x4a3)][_0x1b35b1(0x1cc)](this[_0x1b35b1(0x166)]);if(_0x2c6f96['revision']<_0x50da41-0x1)return this;if(this['_checkMissing'](_0x2c6f96))return this[_0x1b35b1(0x383)][_0x1b35b1(0x431)](_0x28d07c,this[_0x1b35b1(0x166)],this[_0x1b35b1(0x219)],null,[],this[_0x1b35b1(0x4e8)],[],this[_0x1b35b1(0x4dd)]);this[_0x1b35b1(0x17d)]();const _0x4dc8bf=this[_0x1b35b1(0x383)][_0x1b35b1(0x431)](_0x5a53e1,this[_0x1b35b1(0x166)],this[_0x1b35b1(0x219)],this[_0x1b35b1(0x4dd)]);return _0x4dc8bf[_0x1b35b1(0x385)](),_0x4dc8bf;}[_0x46a43e(0x1fb)](_0x383362){const _0x552457=_0x46a43e;return this['_onConflict'](!!(_0x383362!=null&&_0x383362[_0x552457(0x1b2)]));}[_0x46a43e(0x2d9)](){const _0x16ef34=_0x46a43e;return this[_0x16ef34(0x383)][_0x16ef34(0x431)](_0x3fc69e,this['unitID'],this['type'],this[_0x16ef34(0x4e8)],[],this[_0x16ef34(0x4dd)]);}[_0x46a43e(0x2d8)](){return this;}[_0x46a43e(0x472)](){const _0x4f71e8=_0x46a43e;this['_handler'][_0x4f71e8(0x3e4)](this[_0x4f71e8(0x4e8)]);}[_0x46a43e(0x2a8)](_0x6479cd){const _0x1e2a5a=_0x46a43e;return this[_0x1e2a5a(0x383)]['createInstance'](_0x5e1998,this[_0x1e2a5a(0x166)],this[_0x1e2a5a(0x219)],this[_0x1e2a5a(0x4e8)],[],this[_0x1e2a5a(0x4dd)],_0x6479cd);}};_0xdb51bd=_0x1b88b6([_0x48ae34(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x48ae34(0x5,_0x245a54['Inject'](_0x38ce1a[_0x46a43e(0x4ad)])),_0x48ae34(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x575351['LocalCacheService'])),_0x48ae34(0x7,_0x5019cf[_0x46a43e(0x3b9)]),_0x48ae34(0x8,_0x5019cf['ILogService']),_0x48ae34(0x9,_0x38ce1a[_0x46a43e(0x48b)]),_0x48ae34(0xa,_0x5019cf[_0x46a43e(0x33a)])],_0xdb51bd);let _0xf5d66b=class extends _0x2fb10b{constructor(_0x5d3eab,_0x19eac0,_0x17753a,_0x4d410c,_0x1ccf8d,_0x4b2576,_0x9b7eed,_0x502ba9,_0x5a1b2d,_0x3f3608,_0x28308c,_0x55b41b){const _0x12d46a=_0x46a43e;super(_0x5d3eab,_0x19eac0,_0x17753a,_0x4d410c,_0x1ccf8d,_0x5a1b2d,_0x55b41b,_0x9b7eed,_0x502ba9),_0x3a44bb(this,_0x12d46a(0x4a1),_0x12d46a(0x3af)),(this[_0x12d46a(0x383)]=_0x4b2576,this[_0x12d46a(0x433)]=_0x3f3608,this[_0x12d46a(0x43f)]=_0x28308c);}[_0x46a43e(0x378)](_0x5e357a){return this['_pendingMutations']['push'](_0x5e357a),this;}[_0x46a43e(0x2dc)](_0x2ced1f){const _0xd6e529=_0x46a43e;if(this['_checkMissing'](_0x2ced1f))return this[_0xd6e529(0x383)]['createInstance'](_0x28d07c,this[_0xd6e529(0x166)],this[_0xd6e529(0x219)],this[_0xd6e529(0x4e8)],this[_0xd6e529(0x3b7)],null,[_0x2ced1f],this[_0xd6e529(0x4dd)]);try{const _0x2a6769=this[_0xd6e529(0x43f)]['transformChangesets']([_0x2ced1f],[this[_0xd6e529(0x4e8)]],!0x1);if(_0x38ce1a[_0xd6e529(0x3f7)](_0x2a6769)){const {c1Prime:_0x17b7b9,c2Prime:_0x50159d}=_0x2a6769,_0x5047d7=this[_0xd6e529(0x43f)]['transformMutationsWithChangeset'](_0x17b7b9[0x0],this[_0xd6e529(0x3b7)]);if(_0x38ce1a[_0xd6e529(0x41f)](_0x5047d7)){const {c1Prime:_0x30213c,m2Prime:_0x44ac86}=_0x5047d7;return this['_executeRemoteChangeset'](_0x30213c),_0x50159d[0x0][_0xd6e529(0x167)]=this[_0xd6e529(0x337)](),this['_injector'][_0xd6e529(0x431)](_0xf5d66b,this[_0xd6e529(0x166)],this[_0xd6e529(0x219)],_0x50159d[0x0],_0x44ac86,this[_0xd6e529(0x4dd)]);}throw _0x5047d7['error'];}throw _0x2a6769[_0xd6e529(0x3a0)];}catch(_0x4dcbc7){return this[_0xd6e529(0x433)]['error'](_0x4dcbc7),this[_0xd6e529(0x2a8)](!0x1);}}[_0x46a43e(0x452)](_0x2b5af8){const _0x2c262c=_0x46a43e;if(this['_checkMissing'](_0x2b5af8))return this[_0x2c262c(0x383)][_0x2c262c(0x431)](_0x28d07c,this['unitID'],this[_0x2c262c(0x219)],null,this[_0x2c262c(0x3b7)],this[_0x2c262c(0x4e8)],[],this[_0x2c262c(0x4dd)]);this[_0x2c262c(0x17d)]();const _0x1a015c=this[_0x2c262c(0x383)][_0x2c262c(0x431)](_0x285dad,this['unitID'],this[_0x2c262c(0x219)],this[_0x2c262c(0x3b7)],this['_handler']);return _0x1a015c[_0x2c262c(0x3f1)](),_0x1a015c['_updateLocalCache'](),_0x1a015c;}['onRemoteRej'](_0x32eaf4){const _0x32e132=_0x46a43e;return this[_0x32e132(0x2a8)](!!(_0x32eaf4!=null&&_0x32eaf4[_0x32e132(0x1b2)]));}[_0x46a43e(0x2d9)](){const _0x4cbdf9=_0x46a43e;return this[_0x4cbdf9(0x383)][_0x4cbdf9(0x431)](_0x3fc69e,this[_0x4cbdf9(0x166)],this['type'],this['_awaitingChangeset'],this[_0x4cbdf9(0x3b7)],this['_handler']);}[_0x46a43e(0x2d8)](){return this;}[_0x46a43e(0x472)](){const _0x6376bc=_0x46a43e;this[_0x6376bc(0x4dd)][_0x6376bc(0x3e4)](this[_0x6376bc(0x4e8)]);}[_0x46a43e(0x2a8)](_0x1bc354){const _0x404934=_0x46a43e;return this['_injector'][_0x404934(0x431)](_0x5e1998,this[_0x404934(0x166)],this[_0x404934(0x219)],null,this['_pendingMutations'],this[_0x404934(0x4dd)],_0x1bc354);}};_0xf5d66b=_0x1b88b6([_0x48ae34(0x5,_0x245a54[_0x46a43e(0x4b5)](_0x245a54['Injector'])),_0x48ae34(0x6,_0x245a54['Inject'](_0x38ce1a['RevisionService'])),_0x48ae34(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x575351[_0x46a43e(0x2d1)])),_0x48ae34(0x8,_0x5019cf[_0x46a43e(0x3b9)]),_0x48ae34(0x9,_0x5019cf[_0x46a43e(0x4e6)]),_0x48ae34(0xa,_0x38ce1a[_0x46a43e(0x48b)]),_0x48ae34(0xb,_0x5019cf[_0x46a43e(0x33a)])],_0xf5d66b);let _0x5e1998=class extends _0x2fb10b{constructor(_0x240f91,_0xba7f29,_0x12bbf6,_0x143d91,_0xd3e70a,_0x239d0b=!0x1,_0x336cfa,_0x525b66,_0x46d1ee,_0x5e1cfd,_0xc080a,_0x9194e0,_0x8a1c72){const _0x2a4999=_0x46a43e;super(_0x240f91,_0xba7f29,_0x12bbf6,_0x143d91,_0xd3e70a,_0x525b66,_0x46d1ee,_0xc080a,_0x5e1cfd),_0x3a44bb(this,_0x2a4999(0x4a1),'conflict'),(this['_isPermissionRej']=_0x239d0b,this[_0x2a4999(0x1e0)]=_0x336cfa,this[_0x2a4999(0x508)]=_0x9194e0,this[_0x2a4999(0x2e1)]=_0x8a1c72,this[_0x2a4999(0x275)](),this[_0x2a4999(0x16d)](),this[_0x2a4999(0x4f1)]());}['appendMutation'](){return this;}[_0x46a43e(0x2dc)](){return this;}[_0x46a43e(0x452)](){return this;}['onRemoteRej'](){return this;}[_0x46a43e(0x2d9)](){return this;}[_0x46a43e(0x2d8)](){return this;}[_0x46a43e(0x472)](){const _0x4c433d=_0x46a43e;throw new Error(_0x4c433d(0x405));}[_0x46a43e(0x16d)](){const _0x3e61f4=_0x46a43e;this[_0x3e61f4(0x36e)][_0x3e61f4(0x484)](this[_0x3e61f4(0x166)],this[_0x3e61f4(0x219)],null,[]);}['_showConflictNotification'](){const _0x175b41=_0x46a43e;this[_0x175b41(0x3a6)]?this[_0x175b41(0x2e1)][_0x175b41(0x4f6)]({'title':this[_0x175b41(0x508)]['t'](_0x175b41(0x488)),'content':this[_0x175b41(0x508)]['t'](_0x175b41(0x1c8)),'type':_0x175b41(0x3a0),'duration':0x0}):this['_notificationService'][_0x175b41(0x4f6)]({'title':this[_0x175b41(0x508)]['t'](_0x175b41(0x23a)),'content':this[_0x175b41(0x508)]['t']('conflict.content'),'type':_0x175b41(0x3a0),'duration':0x0});}[_0x46a43e(0x4f1)](){const _0x18d0d5=_0x46a43e;this[_0x18d0d5(0x1e0)][_0x18d0d5(0x37d)](new _0x7f012d['WorkbookEditablePermission'](this[_0x18d0d5(0x166)])['id'],!0x1);}};_0x5e1998=_0x1b88b6([_0x48ae34(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x402)])),_0x48ae34(0x7,_0x5019cf['ICommandService']),_0x48ae34(0x8,_0x5019cf[_0x46a43e(0x33a)]),_0x48ae34(0x9,_0x245a54[_0x46a43e(0x4b5)](_0x575351[_0x46a43e(0x2d1)])),_0x48ae34(0xa,_0x245a54['Inject'](_0x38ce1a[_0x46a43e(0x4ad)])),_0x48ae34(0xb,_0x245a54['Inject'](_0x5019cf[_0x46a43e(0x3a5)])),_0x48ae34(0xc,_0x5138ef['INotificationService'])],_0x5e1998);let _0x3fc69e=class extends _0x2fb10b{constructor(_0x17437b,_0x5559ac,_0x309a89,_0x58f679,_0x138e6c,_0x372a83,_0x47483d,_0x273a6c,_0x5ad740,_0x1059b2){const _0x32a7e1=_0x46a43e;super(_0x17437b,_0x5559ac,_0x309a89,_0x58f679,_0x138e6c,_0x5ad740,_0x1059b2,_0x47483d,_0x273a6c),_0x3a44bb(this,_0x32a7e1(0x4a1),_0x32a7e1(0x4a4)),this['_injector']=_0x372a83;}[_0x46a43e(0x378)](_0xbe072e){const _0x24d2d1=_0x46a43e;return this[_0x24d2d1(0x3b7)][_0x24d2d1(0x23e)](_0xbe072e),this[_0x24d2d1(0x385)](),this;}[_0x46a43e(0x2dc)](_0x370fda){const _0x1a2679=_0x46a43e;throw new Error(_0x1a2679(0x498));}[_0x46a43e(0x452)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x46a43e(0x1fb)](){const _0x266269=_0x46a43e;throw new Error(_0x266269(0x235));}['toggleOffline'](){return this;}[_0x46a43e(0x2d8)](){const _0xdcc31f=_0x46a43e,{_injector:_0x346989,_pendingMutations:_0x5d1837,_awaitingChangeset:_0x7f68eb,unitID:_0x538eb8,_handler:_0x8fa594,type:_0x46fc32}=this,_0x3a12c2=_0x12ba56(_0x346989,_0x538eb8,_0x46fc32,_0x7f68eb,_0x5d1837,_0x8fa594);return _0x3a12c2 instanceof _0x285dad?_0x3a12c2['_schedule']():(_0x3a12c2 instanceof _0xf5d66b||_0x3a12c2 instanceof _0xdb51bd)&&_0x3a12c2[_0xdcc31f(0x472)](),_0x3a12c2;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x3fc69e=_0x1b88b6([_0x48ae34(0x5,_0x245a54[_0x46a43e(0x4b5)](_0x245a54['Injector'])),_0x48ae34(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x4ad)])),_0x48ae34(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x575351['LocalCacheService'])),_0x48ae34(0x8,_0x5019cf[_0x46a43e(0x3b9)]),_0x48ae34(0x9,_0x5019cf['IUndoRedoService'])],_0x3fc69e);let _0x28d07c=class extends _0x2fb10b{constructor(_0x176a54,_0x59fdd6,_0x64339,_0x1efd65,_0x4d7030,_0x235fd0,_0x33e3aa,_0xeb9b3c,_0x333fa1,_0x40f506,_0x5116b0,_0x176654,_0x2696e7,_0x1fb681){const _0x3ff192=_0x46a43e;super(_0x176a54,_0x59fdd6,_0x64339,_0x1efd65,_0x33e3aa,_0x176654,_0x2696e7,_0x333fa1,_0x40f506),_0x3a44bb(this,_0x3ff192(0x4a1),'fetch_missing'),(this[_0x3ff192(0x421)]=_0x4d7030,this[_0x3ff192(0x509)]=_0x235fd0,this['_injector']=_0xeb9b3c,this[_0x3ff192(0x433)]=_0x5116b0,this[_0x3ff192(0x43f)]=_0x1fb681);}[_0x46a43e(0x44e)](_0xdc6fa0){const _0x600fd=_0x46a43e;try{const _0x53ed34=[..._0xdc6fa0,...this[_0x600fd(0x509)]],_0x57b50c=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x594529=>!!_0x594529);let _0x11b7dd,_0x8f0368;if(_0x57b50c[_0x600fd(0x1bb)]){const _0xcd31b8=this[_0x600fd(0x43f)][_0x600fd(0x1d7)](_0x53ed34,_0x57b50c,!0x1);if(!_0x38ce1a[_0x600fd(0x3f7)](_0xcd31b8))throw _0xcd31b8[_0x600fd(0x3a0)];_0x11b7dd=_0xcd31b8[_0x600fd(0x2bc)],_0x8f0368=_0xcd31b8[_0x600fd(0x1e5)];}else _0x11b7dd=_0x53ed34,_0x8f0368=[];let _0x48ca56=this[_0x600fd(0x3b7)];_0x11b7dd[_0x600fd(0x39a)](_0x50d889=>{const _0x4bc919=_0x600fd;let _0xb39a6e;if(_0x48ca56[_0x4bc919(0x1bb)]){const _0x153e44=this['_transformService'][_0x4bc919(0x3ba)](_0x50d889,_0x48ca56);if(!_0x38ce1a['isTransformMutationsWithChangesetSuccess'](_0x153e44))throw _0x153e44[_0x4bc919(0x3a0)];_0xb39a6e=_0x153e44[_0x4bc919(0x2bc)],_0x48ca56=_0x153e44['m2Prime'];}else _0xb39a6e=_0x50d889;this[_0x4bc919(0x408)](_0xb39a6e);}),this[_0x600fd(0x421)]&&this[_0x600fd(0x17d)](),this[_0x600fd(0x4e8)]&&_0x8f0368['length']&&(_0x8f0368[0x0][_0x600fd(0x167)]=this[_0x600fd(0x337)]());let _0x5876d2;if(this[_0x600fd(0x4e8)]&&_0x48ca56['length']!==0x0)_0x5876d2=this[_0x600fd(0x383)][_0x600fd(0x431)](_0xf5d66b,this[_0x600fd(0x166)],this[_0x600fd(0x219)],_0x8f0368[0x0],_0x48ca56,this[_0x600fd(0x4dd)]);else{if(this[_0x600fd(0x4e8)]&&_0x48ca56[_0x600fd(0x1bb)]===0x0)_0x8f0368[0x0][_0x600fd(0x167)]=this[_0x600fd(0x337)](),_0x5876d2=this['_injector']['createInstance'](_0xdb51bd,this[_0x600fd(0x166)],this['type'],_0x8f0368[0x0],this[_0x600fd(0x4dd)]);else{if(_0x48ca56[_0x600fd(0x1bb)]!==0x0){const _0x31ae3f=this[_0x600fd(0x383)][_0x600fd(0x431)](_0x285dad,this[_0x600fd(0x166)],this[_0x600fd(0x219)],_0x48ca56,this[_0x600fd(0x4dd)]);_0x31ae3f[_0x600fd(0x3f1)](),_0x5876d2=_0x31ae3f;}else _0x5876d2=this[_0x600fd(0x383)][_0x600fd(0x431)](_0x5a53e1,this[_0x600fd(0x166)],this[_0x600fd(0x219)],this[_0x600fd(0x4dd)]);}}return _0x5876d2[_0x600fd(0x385)](),_0x5876d2;}catch(_0x7d6fb5){return this[_0x600fd(0x433)][_0x600fd(0x3a0)](_0x600fd(0x45f),_0x600fd(0x1b1),_0x7d6fb5),this[_0x600fd(0x383)][_0x600fd(0x431)](_0x5e1998,this[_0x600fd(0x166)],this[_0x600fd(0x219)],this[_0x600fd(0x4e8)],this[_0x600fd(0x3b7)],this['_handler'],!0x1);}}[_0x46a43e(0x472)](){const _0x5e817e=_0x46a43e;throw new Error(_0x5e817e(0x3f8));}[_0x46a43e(0x378)](_0x497f86){const _0x57ad2a=_0x46a43e;return this[_0x57ad2a(0x3b7)]['push'](_0x497f86),this;}[_0x46a43e(0x2dc)](_0x259b34){const _0x1d1417=_0x46a43e;return this[_0x1d1417(0x509)]['push'](_0x259b34),this;}[_0x46a43e(0x452)](_0x448ccb){const _0x19e508=_0x46a43e;if(this[_0x19e508(0x4e8)])return this[_0x19e508(0x421)]=this[_0x19e508(0x4e8)],this[_0x19e508(0x4e8)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x46a43e(0x1fb)](_0xa4fbf7){const _0x431ec5=_0x46a43e;return this[_0x431ec5(0x2a8)](!!(_0xa4fbf7!=null&&_0xa4fbf7[_0x431ec5(0x1b2)]));}[_0x46a43e(0x2d9)](){const _0x552f2b=_0x46a43e;return this[_0x552f2b(0x383)][_0x552f2b(0x431)](_0x3fc69e,this[_0x552f2b(0x166)],this[_0x552f2b(0x219)],this[_0x552f2b(0x4e8)],this[_0x552f2b(0x3b7)],this['_handler']);}[_0x46a43e(0x2d8)](){return this;}['_onConflict'](_0x161df4){const _0x181236=_0x46a43e;return this[_0x181236(0x383)][_0x181236(0x431)](_0x5e1998,this[_0x181236(0x166)],this['type'],this['_awaitingChangeset'],this[_0x181236(0x3b7)],this['_handler'],_0x161df4);}};_0x28d07c=_0x1b88b6([_0x48ae34(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x245a54['Injector'])),_0x48ae34(0x8,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x4ad)])),_0x48ae34(0x9,_0x245a54[_0x46a43e(0x4b5)](_0x575351['LocalCacheService'])),_0x48ae34(0xa,_0x5019cf[_0x46a43e(0x4e6)]),_0x48ae34(0xb,_0x5019cf[_0x46a43e(0x3b9)]),_0x48ae34(0xc,_0x5019cf[_0x46a43e(0x33a)]),_0x48ae34(0xd,_0x38ce1a['ITransformService'])],_0x28d07c);function _0x12ba56(_0x1ab916,_0x1ee636,_0xe154b9,_0x54998e,_0x2975ce,_0x3db330){const _0x15a061=_0x46a43e;return _0x54998e&&_0x2975ce['length']?_0x1ab916[_0x15a061(0x431)](_0xf5d66b,_0x1ee636,_0xe154b9,_0x54998e,_0x2975ce,_0x3db330):_0x54998e?_0x1ab916[_0x15a061(0x431)](_0xdb51bd,_0x1ee636,_0xe154b9,_0x54998e,_0x3db330):_0x2975ce[_0x15a061(0x1bb)]?_0x1ab916[_0x15a061(0x431)](_0x285dad,_0x1ee636,_0xe154b9,_0x2975ce,_0x3db330):_0x1ab916[_0x15a061(0x431)](_0x5a53e1,_0x1ee636,_0xe154b9,_0x3db330);}var _0x2f88c8=Object[_0x46a43e(0x1c7)],_0x202be2=Object[_0x46a43e(0x1e9)],_0x4ee1c7=(_0x4b729e,_0x295994,_0x3c6071,_0x3667d1)=>{for(var _0x507fad=_0x3667d1>0x1?void 0x0:_0x3667d1?_0x202be2(_0x295994,_0x3c6071):_0x295994,_0x2c5a92=_0x4b729e['length']-0x1,_0x2101a8;_0x2c5a92>=0x0;_0x2c5a92--)(_0x2101a8=_0x4b729e[_0x2c5a92])&&(_0x507fad=(_0x3667d1?_0x2101a8(_0x295994,_0x3c6071,_0x507fad):_0x2101a8(_0x507fad))||_0x507fad);return _0x3667d1&&_0x507fad&&_0x2f88c8(_0x295994,_0x3c6071,_0x507fad),_0x507fad;},_0x3ecb27=(_0x47e578,_0x3bb050)=>(_0x18c67b,_0x20ed3c)=>_0x3bb050(_0x18c67b,_0x20ed3c,_0x47e578);_0x575351[_0x46a43e(0x3fb)]=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0x41941e,_0x6c7de0,_0x5dc4fd){const _0x2aea6e=_0x46a43e;super(),_0x3a44bb(this,_0x2aea6e(0x4ec),new Map()),_0x3a44bb(this,'_entityInit$',new _0x54735b['Subject']()),(this['_injector']=_0x41941e,this['_collabSessionService']=_0x6c7de0,this['_univerInstanceService']=_0x5dc4fd,this['_init']());}['dispose'](){const _0x2c6f58=_0x46a43e;super['dispose'](),this[_0x2c6f58(0x4ec)][_0x2c6f58(0x39a)](_0x4fff90=>_0x4fff90[_0x2c6f58(0x173)]()),this[_0x2c6f58(0x4ec)][_0x2c6f58(0x4f4)]();}[_0x46a43e(0x4f7)](_0x18edbe){const _0x2d77e9=_0x46a43e;var _0x4e8e21;return(_0x4e8e21=this['_entities'][_0x2d77e9(0x2db)](_0x18edbe))!=null?_0x4e8e21:null;}['getCollabEntity$'](_0x15d9d4){const _0x479db1=_0x46a43e,_0x5d4f1f=this[_0x479db1(0x4f7)](_0x15d9d4);return _0x5d4f1f?_0x54735b['of'](_0x5d4f1f):this[_0x479db1(0x1be)][_0x479db1(0x4b0)](_0x33876a[_0x479db1(0x2a4)](_0x130522=>_0x130522[_0x479db1(0x166)]===_0x15d9d4));}[_0x46a43e(0x336)](){const _0x2e42f8=_0x46a43e;this[_0x2e42f8(0x397)][_0x2e42f8(0x1b5)](_0x5019cf[_0x2e42f8(0x28c)]['UNIVER_SHEET'])[_0x2e42f8(0x4b0)](_0x54735b[_0x2e42f8(0x41a)](this[_0x2e42f8(0x4a5)]),_0x33876a[_0x2e42f8(0x47b)](0x10))[_0x2e42f8(0x324)](async _0x136a95=>{const _0x4b962d=_0x2e42f8,_0x1ecf93=_0x136a95[_0x4b962d(0x2c6)](),_0x1f8ea9=await this[_0x4b962d(0x2e7)](_0x1ecf93,_0x4418d5[_0x4b962d(0x258)]);this[_0x4b962d(0x4ec)][_0x4b962d(0x3f3)](_0x1ecf93,_0x1f8ea9);}),this[_0x2e42f8(0x397)][_0x2e42f8(0x1b5)](_0x5019cf['UniverInstanceType'][_0x2e42f8(0x27d)])[_0x2e42f8(0x4b0)](_0x54735b[_0x2e42f8(0x41a)](this[_0x2e42f8(0x4a5)]),_0x33876a[_0x2e42f8(0x47b)](0x10))[_0x2e42f8(0x4b0)](_0x33876a['filter'](_0x13daaf=>!_0x13daaf[_0x2e42f8(0x2c6)]()['startsWith']('__')))['subscribe'](async _0x1e7c01=>{const _0x3da5fb=_0x2e42f8,_0x63e43e=_0x1e7c01[_0x3da5fb(0x2c6)](),_0x3971eb=await this['_startCollaboration'](_0x63e43e,_0x4418d5[_0x3da5fb(0x27d)]);this[_0x3da5fb(0x4ec)]['set'](_0x63e43e,_0x3971eb);}),_0x54735b[_0x2e42f8(0x3e1)](this[_0x2e42f8(0x397)]['getTypeOfUnitDisposed$'](_0x5019cf['UniverInstanceType'][_0x2e42f8(0x258)]),this[_0x2e42f8(0x397)][_0x2e42f8(0x371)](_0x5019cf['UniverInstanceType'][_0x2e42f8(0x27d)]))[_0x2e42f8(0x4b0)](_0x54735b['takeUntil'](this[_0x2e42f8(0x4a5)]))[_0x2e42f8(0x324)](_0x59dace=>{const _0x59bb4a=_0x2e42f8,_0xf70fc3=_0x59dace[_0x59bb4a(0x2c6)](),_0x1747c6=this[_0x59bb4a(0x4ec)][_0x59bb4a(0x2db)](_0xf70fc3);_0x1747c6&&(_0x1747c6[_0x59bb4a(0x173)](),this['_entities'][_0x59bb4a(0x352)](_0xf70fc3));});}async[_0x46a43e(0x2e7)](_0x1e7dcb,_0x2844a0){const _0x4e5c0a=_0x46a43e,_0x4815a5=await this[_0x4e5c0a(0x2b7)][_0x4e5c0a(0x33d)](_0x1e7dcb),_0x39bdca=this[_0x4e5c0a(0x383)][_0x4e5c0a(0x431)](this[_0x4e5c0a(0x19e)](_0x2844a0),_0x1e7dcb,_0x2844a0,_0x4815a5);return await _0x39bdca[_0x4e5c0a(0x3a7)](),this[_0x4e5c0a(0x1be)][_0x4e5c0a(0x230)](_0x39bdca),_0x39bdca;}[_0x46a43e(0x19e)](_0x405b5f){const _0x108b1d=_0x46a43e;switch(_0x405b5f){case _0x4418d5[_0x108b1d(0x27d)]:return _0x2b8edc;case _0x4418d5[_0x108b1d(0x258)]:return _0x21f2b6;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x405b5f);}}},_0x575351[_0x46a43e(0x3fb)]=_0x4ee1c7([_0x5019cf[_0x46a43e(0x3b2)](_0x5019cf[_0x46a43e(0x2ed)][_0x46a43e(0x241)],_0x575351[_0x46a43e(0x3fb)]),_0x3ecb27(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x3ecb27(0x1,_0x245a54[_0x46a43e(0x4b5)](_0x575351[_0x46a43e(0x4be)])),_0x3ecb27(0x2,_0x5019cf['IUniverInstanceService'])],_0x575351[_0x46a43e(0x3fb)]);let _0xb2b867=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0x311b57,_0x45a3e2,_0x4e2f24,_0x352ad8,_0x85cf79,_0x15b25b,_0x502d94,_0x2135e0,_0x2bff26,_0x39c2dc,_0x2f8fd4,_0x15b3ee,_0x10e6ad){const _0x21d580=_0x46a43e;super(),_0x3a44bb(this,_0x21d580(0x48e),new _0x54735b['BehaviorSubject'](null)),_0x3a44bb(this,_0x21d580(0x4a0),this[_0x21d580(0x48e)]['asObservable']()),_0x3a44bb(this,_0x21d580(0x4b4)),_0x3a44bb(this,'_collaborationPaused',!0x1),_0x3a44bb(this,_0x21d580(0x1e8),this[_0x21d580(0x4a0)]['pipe'](_0x33876a['map'](_0x30f093=>_0x30f093?_0x30f093[_0x21d580(0x4a1)]:_0x348409[_0x21d580(0x1b8)]),_0x33876a[_0x21d580(0x247)](0x1))),_0x3a44bb(this,_0x21d580(0x4eb),!0x1),_0x3a44bb(this,'_remoteChangesetQueue',[]),(this[_0x21d580(0x166)]=_0x311b57,this[_0x21d580(0x1c3)]=_0x45a3e2,this['_session']=_0x4e2f24,this['_injector']=_0x352ad8,this[_0x21d580(0x36e)]=_0x85cf79,this['_compressMutationService']=_0x15b25b,this[_0x21d580(0x508)]=_0x502d94,this[_0x21d580(0x4a3)]=_0x2135e0,this[_0x21d580(0x433)]=_0x2bff26,this[_0x21d580(0x34d)]=_0x39c2dc,this[_0x21d580(0x206)]=_0x2f8fd4,this[_0x21d580(0x1e0)]=_0x15b3ee,this['_singleActiveUnitService']=_0x10e6ad);}get['state'](){const _0x29fb0a=_0x46a43e;return this[_0x29fb0a(0x4b4)];}async[_0x46a43e(0x3a7)](){const _0x16fae9=_0x46a43e;if(this[_0x16fae9(0x468)])throw new Error(_0x16fae9(0x481));await this[_0x16fae9(0x336)]();}[_0x46a43e(0x237)](){const _0xec6f40=_0x46a43e;return this[_0xec6f40(0x2c4)]=!0x0,_0x5019cf[_0xec6f40(0x35e)](()=>{const _0x3ac7f5=_0xec6f40;this[_0x3ac7f5(0x2c4)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['_updateState'](_0x2a7852){const _0x89068e=_0x46a43e;this[_0x89068e(0x4b4)]=_0x2a7852,this[_0x89068e(0x48e)]['next'](_0x2a7852);}async[_0x46a43e(0x336)](){const _0x4734f5=_0x46a43e;var _0x1aeaad;return this['_updateState'](await this[_0x4734f5(0x1ee)]()),this[_0x4734f5(0x15a)]&&((_0x1aeaad=this[_0x4734f5(0x15a)])==null||_0x1aeaad[_0x4734f5(0x4f5)](this['unitID']),this[_0x4734f5(0x3e8)](_0x5019cf[_0x4734f5(0x35e)](this[_0x4734f5(0x15a)][_0x4734f5(0x48f)](this[_0x4734f5(0x166)])['subscribe'](_0x4949e7=>{const _0x597326=_0x4734f5;this[_0x597326(0x433)]['debug']('[CollaborationEntity]',_0x597326(0x3b0),_0x4949e7),_0x4949e7===_0x5c7c4a['OTHER_CLIENTS_EDITING']?(this[_0x597326(0x206)][_0x597326(0x4f6)]({'content':this[_0x597326(0x508)]['t'](_0x597326(0x368)),'type':_0x478174['MessageType'][_0x597326(0x1da)]}),this[_0x597326(0x1e0)]['updatePermissionPoint'](new _0x7f012d[(_0x597326(0x195))](this[_0x597326(0x166)])['id'],!0x1)):this['_permissionService'][_0x597326(0x37d)](new _0x7f012d['WorkbookEditablePermission'](this[_0x597326(0x166)])['id'],!0x0);})))),this[_0x4734f5(0x3e8)](_0x5019cf[_0x4734f5(0x35e)](this[_0x4734f5(0x2b8)]['sessionStatus$'][_0x4734f5(0x324)](_0x17d12f=>{const _0x4c07b3=_0x4734f5;_0x17d12f===_0x1ae891[_0x4c07b3(0x440)]?this[_0x4c07b3(0x1ba)]():_0x17d12f===_0x1ae891[_0x4c07b3(0x1b8)]&&this[_0x4c07b3(0x2c0)]();}))),this[_0x4734f5(0x3e8)](_0x5019cf[_0x4734f5(0x35e)](this[_0x4734f5(0x2b8)]['event$'][_0x4734f5(0x324)](_0x52b69e=>{const _0x1625d6=_0x4734f5;try{switch(_0x52b69e[_0x1625d6(0x24d)]){case _0x38ce1a['CollaborationEvent'][_0x1625d6(0x38d)]:{this[_0x1625d6(0x218)](_0x38ce1a[_0x1625d6(0x4db)](_0x52b69e[_0x1625d6(0x23f)]));break;}case _0x38ce1a[_0x1625d6(0x4cc)][_0x1625d6(0x4b7)]:{this[_0x1625d6(0x1bc)](_0x52b69e[_0x1625d6(0x23f)]);break;}case _0x38ce1a[_0x1625d6(0x4cc)][_0x1625d6(0x2f2)]:{this[_0x1625d6(0x4c5)]();break;}case _0x38ce1a[_0x1625d6(0x4cc)][_0x1625d6(0x31d)]:{this[_0x1625d6(0x245)](_0x52b69e[_0x1625d6(0x23f)]['changesets'][_0x1625d6(0x473)](_0x1aba1f=>_0x38ce1a[_0x1625d6(0x4db)](_0x1aba1f)));break;}case _0x38ce1a['CollaborationEvent']['PERMISSION_REJ']:this[_0x1625d6(0x4c5)]({'isPermissionRej':!0x0});}}catch(_0x3b0aa2){throw console[_0x1625d6(0x3a0)](_0x1625d6(0x3e6),_0x3b0aa2),_0x3b0aa2;}}))),this[_0x4734f5(0x4b4)];}[_0x46a43e(0x424)](){const _0x14a8e9=_0x46a43e;this[_0x14a8e9(0x4eb)]=!0x1;}[_0x46a43e(0x4e3)](){const _0x6ab553=_0x46a43e;if(this['_transitionLocked'])throw new Error(_0x6ab553(0x3fa));this[_0x6ab553(0x4eb)]=!0x0;}['_onLocalMutation'](_0x5174dd){const _0x1683ff=_0x46a43e;this[_0x1683ff(0x4e3)](),this[_0x1683ff(0x1af)](this[_0x1683ff(0x4b4)][_0x1683ff(0x378)](_0x5174dd)),this[_0x1683ff(0x424)]();}[_0x46a43e(0x218)](_0x1881ac){const _0xf6e133=_0x46a43e;if(!(_0x1881ac[_0xf6e133(0x1ca)]<=this['_revisionService']['getCurrentRevForDocument'](this[_0xf6e133(0x166)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0xf6e133(0x23e)](_0x1881ac);return;}this[_0xf6e133(0x192)](_0x1881ac);}}['_exhaustRemoteChangesetQueue'](){const _0x5d5f50=_0x46a43e;this[_0x5d5f50(0x281)][_0x5d5f50(0x39a)](_0x57e22f=>this['_applyRemoteChangeset'](_0x57e22f)),this[_0x5d5f50(0x281)]=[];}[_0x46a43e(0x192)](_0x91bcea){const _0x4921c1=_0x46a43e,_0x3779b3=this['_compressMutationService'][_0x4921c1(0x428)]['fetchThroughInterceptors'](this[_0x4921c1(0x261)]['interceptor']['getInterceptPoints']()[_0x4921c1(0x2a7)])(_0x91bcea[_0x4921c1(0x2c2)],null)||_0x91bcea[_0x4921c1(0x2c2)],_0x4f8b2d={..._0x91bcea,'mutations':_0x3779b3};this[_0x4921c1(0x4e3)](),this['_updateState'](this[_0x4921c1(0x4b4)]['onRemoteChangeset'](_0x4f8b2d)),this['_unlockTransition']();}[_0x46a43e(0x1bc)](_0x3cb18d){const _0x4a68c5=_0x46a43e;this[_0x4a68c5(0x4e3)](),this[_0x4a68c5(0x1af)](this['_state'][_0x4a68c5(0x452)](_0x3cb18d)),this[_0x4a68c5(0x424)]();}[_0x46a43e(0x4c5)](_0x488204){const _0x2d9948=_0x46a43e;this[_0x2d9948(0x4e3)](),this[_0x2d9948(0x1af)](this[_0x2d9948(0x4b4)][_0x2d9948(0x1fb)](_0x488204)),this['_unlockTransition']();}['_onFetchMissResult'](_0xc601fb){const _0x52fc33=_0x46a43e;if(!(this['_state']instanceof _0x28d07c))throw new TypeError(_0x52fc33(0x33c));const _0x241a20=_0xc601fb[_0x52fc33(0x473)](_0x2791b3=>{const _0x5a2121=_0x52fc33,_0xf0b90b=this[_0x5a2121(0x261)][_0x5a2121(0x428)][_0x5a2121(0x48a)](this[_0x5a2121(0x261)][_0x5a2121(0x428)][_0x5a2121(0x2c1)]()[_0x5a2121(0x2a7)])(_0x2791b3[_0x5a2121(0x2c2)],null)||_0x2791b3[_0x5a2121(0x2c2)];return{..._0x2791b3,'mutations':_0xf0b90b};});this[_0x52fc33(0x4e3)](),this['_updateState'](this[_0x52fc33(0x4b4)][_0x52fc33(0x44e)](_0x241a20)),this[_0x52fc33(0x424)]();}[_0x46a43e(0x2c0)](){const _0x3659cb=_0x46a43e;this[_0x3659cb(0x4e3)](),this[_0x3659cb(0x1af)](this[_0x3659cb(0x4b4)][_0x3659cb(0x2d9)]()),this['_unlockTransition']();}['_toggleOnline'](){const _0x309c6a=_0x46a43e;this['_lockTransition'](),this['_updateState'](this[_0x309c6a(0x4b4)][_0x309c6a(0x2d8)]()),this[_0x309c6a(0x424)]();}async[_0x46a43e(0x1ee)](){return new Promise(_0x2d6f4b=>{const _0x301457=_0x50f8;this[_0x301457(0x2b8)]['sessionStatus$']['pipe'](_0x33876a[_0x301457(0x341)](0x1))[_0x301457(0x324)](async _0x2e0876=>{const _0x4162bf=_0x301457;_0x2d6f4b(await this[_0x4162bf(0x49b)](_0x2e0876===_0x1ae891[_0x4162bf(0x440)]));});});}[_0x46a43e(0x1a0)](){const _0x360576=_0x46a43e,_0x508cb8=this[_0x360576(0x166)];return{'onStateChange':(_0xc557d8,_0x36661d)=>{const _0x3bb446=_0x360576;if(_0xc557d8!==this['_state'])throw new Error(_0x3bb446(0x325)+_0xc557d8[_0x3bb446(0x4a1)]+_0x3bb446(0x394)+_0x36661d[_0x3bb446(0x4a1)]+_0x3bb446(0x390)+this[_0x3bb446(0x4b4)][_0x3bb446(0x4a1)]);this[_0x3bb446(0x1af)](_0x36661d);},'onSendChangeset':_0x2ffcbd=>{const _0x16cb80=_0x360576,_0x2265c6={'eventID':_0x38ce1a['CollaborationEvent'][_0x16cb80(0x399)],'data':{'unitID':_0x2ffcbd['unitID'],'unitType':this[_0x16cb80(0x1c3)],'changeset':_0x2ffcbd,'memberID':this[_0x16cb80(0x2b8)][_0x16cb80(0x3bf)]()}};this[_0x16cb80(0x2b8)][_0x16cb80(0x175)](_0x2265c6,this[_0x16cb80(0x166)]);},'onMissingChangesets':({from:_0x5d8ea9,to:_0x4db7d6})=>{const _0x50ace7=_0x360576;this[_0x50ace7(0x433)][_0x50ace7(0x418)]('[CollaborationEntity]',_0x50ace7(0x465)+_0x5d8ea9+_0x50ace7(0x2c9)+_0x4db7d6);const _0x10e28c={'eventID':_0x38ce1a[_0x50ace7(0x4cc)][_0x50ace7(0x469)],'data':{'unitID':_0x508cb8,'unitType':this[_0x50ace7(0x1c3)],'from':_0x5d8ea9,'to':_0x4db7d6}};this['_session'][_0x50ace7(0x175)](_0x10e28c,this[_0x50ace7(0x166)]);}};}async[_0x46a43e(0x49b)](_0x5044d0){const _0x5023eb=_0x46a43e;var _0x4d3cc2,_0x2dda30;const _0x299ced=await this[_0x5023eb(0x36e)][_0x5023eb(0x444)](this[_0x5023eb(0x166)]),_0x4502ec=(_0x4d3cc2=_0x299ced==null?void 0x0:_0x299ced[_0x5023eb(0x2c2)])!=null?_0x4d3cc2:[],_0x880010=(_0x2dda30=_0x299ced==null?void 0x0:_0x299ced['awaitingChangeset'])!=null?_0x2dda30:null,_0x4ecec4=this[_0x5023eb(0x166)];try{this[_0x5023eb(0x416)](_0x880010,_0x4502ec);}catch(_0x14984b){this[_0x5023eb(0x433)][_0x5023eb(0x3a0)](_0x14984b);}const _0x383101=this['_createHandler']();if(_0x5044d0){const _0x17ab8d=_0x12ba56(this[_0x5023eb(0x383)],_0x4ecec4,this[_0x5023eb(0x1c3)],_0x880010,_0x4502ec,_0x383101);return _0x17ab8d instanceof _0x285dad?_0x17ab8d[_0x5023eb(0x3f1)]():(_0x17ab8d instanceof _0xf5d66b||_0x17ab8d instanceof _0xdb51bd)&&_0x17ab8d['resend'](),_0x17ab8d;}return this[_0x5023eb(0x383)][_0x5023eb(0x431)](_0x3fc69e,_0x4ecec4,this[_0x5023eb(0x1c3)],_0x880010,_0x4502ec,_0x383101);}[_0x46a43e(0x416)](_0x14963a,_0x320f07){const _0x5de30d=_0x46a43e;var _0x2280f6,_0x45824d;const _0x677580=this[_0x5de30d(0x261)][_0x5de30d(0x428)][_0x5de30d(0x48a)](this['_compressMutationService'][_0x5de30d(0x428)][_0x5de30d(0x2c1)]()[_0x5de30d(0x2a7)]);(_0x2280f6=_0x677580((_0x14963a==null?void 0x0:_0x14963a[_0x5de30d(0x2c2)])||[],null))==null||_0x2280f6[_0x5de30d(0x39a)](_0x3f93a3=>this[_0x5de30d(0x34d)][_0x5de30d(0x4ac)](_0x3f93a3['id'],_0x3f93a3[_0x5de30d(0x451)])),(_0x45824d=_0x677580(_0x320f07||[],null))==null||_0x45824d[_0x5de30d(0x39a)](_0x3a63c5=>this['_commandService']['executeCommand'](_0x3a63c5['id'],_0x3a63c5[_0x5de30d(0x451)]));}};_0xb2b867=_0x4ee1c7([_0x3ecb27(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x245a54['Injector'])),_0x3ecb27(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x575351['LocalCacheService'])),_0x3ecb27(0x5,_0x245a54['Inject'](_0x38ce1a[_0x46a43e(0x2b0)])),_0x3ecb27(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x3a5)])),_0x3ecb27(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a['RevisionService'])),_0x3ecb27(0x8,_0x5019cf[_0x46a43e(0x4e6)]),_0x3ecb27(0x9,_0x5019cf[_0x46a43e(0x3b9)]),_0x3ecb27(0xa,_0x5138ef['IMessageService']),_0x3ecb27(0xb,_0x5019cf[_0x46a43e(0x402)]),_0x3ecb27(0xc,_0x245a54[_0x46a43e(0x2b9)](_0x235b99))],_0xb2b867);let _0x2b8edc=class extends _0xb2b867{constructor(_0x7da42c,_0x3ed139,_0x250626,_0x4ecf6b,_0x4fcd2d,_0x57884c,_0x343dcc,_0x373e72,_0x434d94,_0x432f7d,_0xb31525,_0x5f04c3,_0x567d77,_0x55ee78,_0x2ea675,_0x3b578c,_0x42c482){const _0x546ce6=_0x46a43e;super(_0x7da42c,_0x3ed139,_0x250626,_0x4ecf6b,_0x4fcd2d,_0x57884c,_0x343dcc,_0x373e72,_0x567d77,_0x55ee78,_0x2ea675,_0x3b578c,_0x42c482),this['unitID']=_0x7da42c,this['type']=_0x3ed139,this[_0x546ce6(0x476)]=_0x250626,this['_docStateChangeManagerService']=_0x434d94,this[_0x546ce6(0x355)]=_0x432f7d,this[_0x546ce6(0x180)]=_0xb31525,this[_0x546ce6(0x2e6)]=_0x5f04c3;}['_createHandler'](){const _0x1589fe=_0x46a43e,_0xde91db=super[_0x1589fe(0x1a0)]();return _0xde91db['onTransformIME']=_0x5ea888=>this[_0x1589fe(0x355)][_0x1589fe(0x226)](_0x5ea888),_0xde91db[_0x1589fe(0x49a)]=_0x39e0ec=>this[_0x1589fe(0x180)][_0x1589fe(0x2d6)](_0x39e0ec),_0xde91db[_0x1589fe(0x278)]=_0x207912=>this[_0x1589fe(0x2e6)]['syncEditingCollabCursor'](_0x207912),_0xde91db[_0x1589fe(0x46d)]=_0x218b2e=>this[_0x1589fe(0x355)]['transformRemoteChangeset'](_0x218b2e),_0xde91db;}async[_0x46a43e(0x336)](){const _0x1002d1=_0x46a43e,_0xd6e270=await super['_init']();return this['_docStateChangeManagerService']['docStateChange$'][_0x1002d1(0x4b0)](_0x54735b[_0x1002d1(0x41a)](this[_0x1002d1(0x4a5)]))[_0x1002d1(0x324)](_0x1e6248=>{const _0x51e30a=_0x1002d1;if(_0x1e6248==null)return;const {unitId:_0xae51a5,redoState:_0x31217c,commandId:_0x26df89}=_0x1e6248;if(_0xae51a5!==this['unitID'])return;const _0x353bbc={'id':_0x26df89,'type':_0x5019cf[_0x51e30a(0x419)][_0x51e30a(0x483)],'params':{'unitId':_0xae51a5,'actions':_0x31217c[_0x51e30a(0x25e)],'textRanges':null}};this[_0x51e30a(0x2fb)](_0x353bbc);}),_0xd6e270;}};_0x2b8edc=_0x4ee1c7([_0x3ecb27(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x3ecb27(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x575351[_0x46a43e(0x2d1)])),_0x3ecb27(0x5,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x2b0)])),_0x3ecb27(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x3a5)])),_0x3ecb27(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x4ad)])),_0x3ecb27(0x8,_0x245a54[_0x46a43e(0x4b5)](_0x38fb70[_0x46a43e(0x313)])),_0x3ecb27(0x9,_0x245a54[_0x46a43e(0x4b5)](_0xc2ebf4)),_0x3ecb27(0xa,_0x245a54[_0x46a43e(0x4b5)](_0x5cf952)),_0x3ecb27(0xb,_0x245a54[_0x46a43e(0x4b5)](_0x141f6f)),_0x3ecb27(0xc,_0x5019cf['ILogService']),_0x3ecb27(0xd,_0x5019cf[_0x46a43e(0x3b9)]),_0x3ecb27(0xe,_0x5138ef[_0x46a43e(0x434)]),_0x3ecb27(0xf,_0x5019cf['IPermissionService']),_0x3ecb27(0x10,_0x245a54[_0x46a43e(0x2b9)](_0x235b99))],_0x2b8edc);let _0x21f2b6=class extends _0xb2b867{constructor(_0x4c21e8,_0x521ed6,_0x1a7a4a,_0x42acf7,_0x12c6ed,_0x1e3f8b,_0x3d6d47,_0x58550f,_0x4e0229,_0x5975f3,_0x36122d,_0x25a065,_0x3743e0,_0x55acf1){const _0x296b19=_0x46a43e;super(_0x4c21e8,_0x521ed6,_0x1a7a4a,_0x42acf7,_0x12c6ed,_0x1e3f8b,_0x3d6d47,_0x58550f,_0x5975f3,_0x36122d,_0x25a065,_0x3743e0,_0x55acf1),this['unitID']=_0x4c21e8,this[_0x296b19(0x219)]=_0x521ed6,this[_0x296b19(0x476)]=_0x1a7a4a,this['_sheetTransformSelectionsService']=_0x4e0229;}['_createHandler'](){const _0xef58a2=_0x46a43e,_0x8f09b1=super[_0xef58a2(0x1a0)]();return _0x8f09b1[_0xef58a2(0x49a)]=_0x3f1873=>this['_sheetTransformSelectionsService'][_0xef58a2(0x2d6)](_0x3f1873),_0x8f09b1;}async['_init'](){const _0x5b028d=_0x46a43e,_0x100ad4=await super[_0x5b028d(0x336)]();return this[_0x5b028d(0x3e8)](this['_commandService']['onCommandExecuted']((_0x474124,_0x160669)=>{const _0x17b2e7=_0x5b028d;if(_0x474124[_0x17b2e7(0x219)]!==_0x5019cf[_0x17b2e7(0x419)]['MUTATION']||_0x160669!=null&&_0x160669['fromCollab']||_0x160669!=null&&_0x160669[_0x17b2e7(0x1a5)])return;const _0x582ff5=_0x474124['params'];if((_0x582ff5==null?void 0x0:_0x582ff5[_0x17b2e7(0x449)])!==this['unitID'])return;const _0x607c22=_0x474124,_0x2c325f=this[_0x17b2e7(0x261)][_0x17b2e7(0x428)][_0x17b2e7(0x48a)](this['_compressMutationService'][_0x17b2e7(0x428)][_0x17b2e7(0x2c1)]()['COMPRESS_MUTATION_SEND'])([_0x607c22],null)||[_0x607c22];this[_0x17b2e7(0x2fb)](_0x2c325f[0x0]);})),_0x100ad4;}};_0x21f2b6=_0x4ee1c7([_0x3ecb27(0x3,_0x245a54['Inject'](_0x245a54[_0x46a43e(0x236)])),_0x3ecb27(0x4,_0x245a54['Inject'](_0x575351[_0x46a43e(0x2d1)])),_0x3ecb27(0x5,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x2b0)])),_0x3ecb27(0x6,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf['LocaleService'])),_0x3ecb27(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a['RevisionService'])),_0x3ecb27(0x8,_0x245a54['Inject'](_0x20cd4b)),_0x3ecb27(0x9,_0x5019cf[_0x46a43e(0x4e6)]),_0x3ecb27(0xa,_0x5019cf[_0x46a43e(0x3b9)]),_0x3ecb27(0xb,_0x5138ef[_0x46a43e(0x434)]),_0x3ecb27(0xc,_0x5019cf['IPermissionService']),_0x3ecb27(0xd,_0x245a54['Optional'](_0x235b99))],_0x21f2b6);const _0x2a1de2=[_0x46a43e(0x360),_0x46a43e(0x4cf),_0x46a43e(0x194),'red300','blue400',_0x46a43e(0x47c)];class _0x10d691 extends _0x5019cf[_0x46a43e(0x32a)]{constructor(){const _0x109815=_0x46a43e;super(...arguments),_0x3a44bb(this,_0x109815(0x4bc),new Map()),_0x3a44bb(this,_0x109815(0x2a3),0x0);}['assignAColorForMemberID'](_0x3441b2){const _0x4b3c80=_0x46a43e;if(this[_0x4b3c80(0x4bc)][_0x4b3c80(0x209)](_0x3441b2))return this[_0x4b3c80(0x4bc)][_0x4b3c80(0x2db)](_0x3441b2);const _0x3a224a=_0x2a1de2[this['_colorIndex']];return this[_0x4b3c80(0x2a3)]=(this[_0x4b3c80(0x2a3)]+0x1)%_0x2a1de2[_0x4b3c80(0x1bb)],this['_assignedColors']['set'](_0x3441b2,_0x3a224a),_0x3a224a;}}var _0x55ffe6=Object[_0x46a43e(0x1c7)],_0x28d178=Object[_0x46a43e(0x1e9)],_0x5b2249=(_0x645fee,_0x3bbf07,_0x21c1eb,_0x405a60)=>{for(var _0x298205=_0x405a60>0x1?void 0x0:_0x405a60?_0x28d178(_0x3bbf07,_0x21c1eb):_0x3bbf07,_0x3bf487=_0x645fee['length']-0x1,_0x11c02d;_0x3bf487>=0x0;_0x3bf487--)(_0x11c02d=_0x645fee[_0x3bf487])&&(_0x298205=(_0x405a60?_0x11c02d(_0x3bbf07,_0x21c1eb,_0x298205):_0x11c02d(_0x298205))||_0x298205);return _0x405a60&&_0x298205&&_0x55ffe6(_0x3bbf07,_0x21c1eb,_0x298205),_0x298205;},_0x4ab804=(_0x1f6af1,_0x3b3d3d)=>(_0x2083b5,_0x2b0da9)=>_0x3b3d3d(_0x2083b5,_0x2b0da9,_0x1f6af1);const _0x1c04f8=0x12c,_0x1fab8b=0x64,_0x549eaf=()=>{let _0x26b6d6=[],_0x229417=!0x1;return _0x2bf152=>{const _0x1129f2=_0x50f8;_0x26b6d6[_0x1129f2(0x23e)](_0x2bf152),_0x229417||(_0x229417=!0x0,setTimeout(()=>{const _0x2a4d2a=_0x1129f2;_0x26b6d6[_0x2a4d2a(0x39a)](_0x8df80b=>_0x8df80b()),_0x26b6d6=[],_0x229417=!0x1;}));};};let _0x38323c=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0x4b5dd1,_0x327fad,_0x398cfd,_0x587edb,_0x4f8e62,_0x1c9dcb,_0x5e827c,_0x177701){const _0xb6b79b=_0x46a43e;super(),_0x3a44bb(this,_0xb6b79b(0x248),!0x1),_0x3a44bb(this,_0xb6b79b(0x336),!0x1),_0x3a44bb(this,_0xb6b79b(0x375),new _0x54735b['BehaviorSubject'](new Map())),_0x3a44bb(this,_0xb6b79b(0x379),this[_0xb6b79b(0x375)][_0xb6b79b(0x26a)]()),_0x3a44bb(this,_0xb6b79b(0x26f),new _0x54735b[(_0xb6b79b(0x413))]([])),_0x3a44bb(this,_0xb6b79b(0x24b),this[_0xb6b79b(0x26f)]['pipe'](_0x54735b['debounceTime'](_0x1c04f8))),_0x3a44bb(this,_0xb6b79b(0x280),_0x37d11b((_0xbb66d4,_0x347754)=>{const _0x806b52=_0xb6b79b,_0x22802e={'eventID':_0x38ce1a['CollaborationEvent'][_0x806b52(0x403)],'data':{'unitID':this['unitID'],'memberID':this[_0x806b52(0x2b8)][_0x806b52(0x3bf)](),'selection':_0x2440ec[_0x806b52(0x3ac)](_0xbb66d4,_0x347754[_0x806b52(0x165)])}};this[_0x806b52(0x2b8)]['send'](_0x22802e,this[_0x806b52(0x166)]);},_0x1fab8b)),(this['unitID']=_0x4b5dd1,this[_0xb6b79b(0x2b8)]=_0x327fad,this['_injector']=_0x398cfd,this['_colorAssignService']=_0x587edb,this[_0xb6b79b(0x39b)]=_0x4f8e62,this[_0xb6b79b(0x397)]=_0x1c9dcb,this[_0xb6b79b(0x34d)]=_0x5e827c,this[_0xb6b79b(0x474)]=_0x177701);}get[_0x46a43e(0x2ce)](){const _0x30e43e=_0x46a43e;return this[_0x30e43e(0x375)][_0x30e43e(0x250)]();}get[_0x46a43e(0x3b5)](){const _0x52d149=_0x46a43e;return this[_0x52d149(0x26f)]['getValue']();}[_0x46a43e(0x173)](){const _0x3705ed=_0x46a43e;super['dispose'](),this[_0x3705ed(0x375)][_0x3705ed(0x230)](new Map()),this[_0x3705ed(0x375)]['complete'](),this[_0x3705ed(0x26f)]['next']([]),this['_roomMembers$']['complete']();}[_0x46a43e(0x3a7)](){const _0xde58ba=_0x46a43e;this[_0xde58ba(0x336)]||(this[_0xde58ba(0x336)]=!0x0,this['_session'][_0xde58ba(0x162)][_0xde58ba(0x4b0)](_0x54735b[_0xde58ba(0x41a)](this[_0xde58ba(0x4a5)]))[_0xde58ba(0x324)](_0x5cce05=>{_0x5cce05===_0x1ae891['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xde58ba(0x2b8)]['event$']['pipe'](_0x54735b['takeUntil'](this[_0xde58ba(0x4a5)]))[_0xde58ba(0x324)](_0x19fbe0=>{const _0x5b6268=_0xde58ba,_0x4fb546=_0x19fbe0['eventID'];_0x4fb546===_0x38ce1a[_0x5b6268(0x4cc)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x19fbe0),_0x4fb546===_0x38ce1a[_0x5b6268(0x4cc)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x19fbe0);}),this['_onRefRangeChange'](),this[_0xde58ba(0x3e8)](this[_0xde58ba(0x34d)][_0xde58ba(0x366)](_0xe75d1=>{const _0x2fe0aa=_0xde58ba;if(this['_online']&&_0xe75d1['id']===_0x7f012d[_0x2fe0aa(0x27c)]['id']&&_0xe75d1[_0x2fe0aa(0x451)]['unitId']===this[_0x2fe0aa(0x166)]){const _0x4b9139=_0xe75d1[_0x2fe0aa(0x451)];this[_0x2fe0aa(0x280)](_0x4b9139['subUnitId'],_0x4b9139[_0x2fe0aa(0x4e4)][0x0]);}})));}[_0x46a43e(0x161)](_0x84001){const _0x38ece5=_0x46a43e;var _0x2d0dac,_0xd1b54c;const {memberID:_0x17b6ca,selection:_0x18887c}=_0x84001['data'],{sheetName:_0x166b36,range:_0x2562b1}=_0x2440ec['deserializeRangeWithSheet'](_0x18887c),_0x4c5bac={'name':(_0xd1b54c=(_0x2d0dac=this[_0x38ece5(0x39b)][_0x38ece5(0x4b9)](this['unitID'],_0x17b6ca))==null?void 0x0:_0x2d0dac['name'])!=null?_0xd1b54c:_0x38ece5(0x3ff),'range':this[_0x38ece5(0x1a4)](_0x166b36,_0x2562b1),'sheetID':_0x166b36,'color':this[_0x38ece5(0x184)][_0x38ece5(0x260)](_0x17b6ca),'selection':_0x18887c},_0x27d9bf=this[_0x38ece5(0x2ce)];_0x27d9bf[_0x38ece5(0x3f3)](_0x17b6ca,_0x4c5bac),this[_0x38ece5(0x375)]['next'](_0x27d9bf);}[_0x46a43e(0x244)](_0x138f35){const _0x4eecbb=_0x46a43e,{memberID:_0x55fddc}=_0x138f35[_0x4eecbb(0x23f)],_0x57337d=this[_0x4eecbb(0x2ce)];_0x57337d[_0x4eecbb(0x352)](_0x55fddc),this[_0x4eecbb(0x375)][_0x4eecbb(0x230)](_0x57337d);}[_0x46a43e(0x1a4)](_0x30fe82,_0x49d70f){const _0x507861=_0x46a43e;var _0x354a26,_0x433893;const _0x3003e7=(_0x433893=(_0x354a26=this['_univerInstanceService'][_0x507861(0x4e5)](this[_0x507861(0x166)]))==null?void 0x0:_0x354a26['getSheetBySheetId'](_0x30fe82))==null?void 0x0:_0x433893[_0x507861(0x437)]();return(_0x3003e7==null?void 0x0:_0x3003e7['find'](_0x18f50a=>_0x5019cf[_0x507861(0x1dd)][_0x507861(0x256)](_0x18f50a,_0x49d70f)))||_0x49d70f;}[_0x46a43e(0x28a)](){const _0x1fac22=_0x46a43e,_0x571cca=new _0x5019cf[(_0x1fac22(0x446))](),_0x2cbb32=_0x549eaf(),_0x38ee92=()=>{const _0x46d328=_0x1fac22;_0x571cca[_0x46d328(0x173)]();const _0x4e5577=(_0x3d6a33,_0x5ddefe,_0x214285,_0x11c46e)=>{const _0x25a848=_0x46d328;let _0x54c51f=[];switch(_0x3d6a33['id']){case _0x7f012d[_0x25a848(0x4b3)]['DeleteRangeMoveLeftCommandId']:{_0x54c51f=_0x7f012d[_0x25a848(0x177)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)][_0x25a848(0x2ff)]:{_0x54c51f=_0x7f012d[_0x25a848(0x27a)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)][_0x25a848(0x18c)]:{_0x54c51f=_0x7f012d['handleInsertCol'](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)][_0x25a848(0x4ff)]:{_0x54c51f=_0x7f012d[_0x25a848(0x328)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)][_0x25a848(0x1e2)]:{_0x54c51f=_0x7f012d[_0x25a848(0x3a4)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)][_0x25a848(0x228)]:{_0x54c51f=_0x7f012d[_0x25a848(0x164)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)][_0x25a848(0x3a2)]:{_0x54c51f=_0x7f012d[_0x25a848(0x335)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)]['RemoveColCommandId']:{_0x54c51f=_0x7f012d[_0x25a848(0x500)](_0x3d6a33,_0x11c46e);break;}case _0x7f012d[_0x25a848(0x4b3)]['RemoveRowCommandId']:{_0x54c51f=_0x7f012d[_0x25a848(0x183)](_0x3d6a33,_0x11c46e);break;}}const _0x464abb=_0x7f012d[_0x25a848(0x1e7)](_0x54c51f,_0x11c46e),_0x234110=this[_0x25a848(0x2ce)]['get'](_0x5ddefe);if(_0x234110&&_0x464abb){const _0x108900={..._0x234110,'range':_0x464abb};this[_0x25a848(0x2ce)]['set'](_0x5ddefe,_0x108900),_0x2cbb32(()=>{const _0x2bf0aa=_0x25a848,_0x15c827=this[_0x2bf0aa(0x474)]['registerRefRange'](_0x464abb,_0x231525=>(_0x15c827[_0x2bf0aa(0x173)](),_0x4e5577(_0x231525,_0x5ddefe,_0x214285,_0x464abb)));_0x571cca[_0x2bf0aa(0x43a)](_0x15c827);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x46d328(0x39a)]((_0x5b5f13,_0xc5d206)=>{const _0x2d3a51=_0x46d328,{range:_0x2fbeed,sheetID:_0x2c08d6}=_0x5b5f13,_0x2e932e=this[_0x2d3a51(0x474)][_0x2d3a51(0x3b3)](_0x2fbeed,_0x217b2c=>(_0x2e932e[_0x2d3a51(0x173)](),_0x4e5577(_0x217b2c,_0xc5d206,_0x2c08d6,_0x2fbeed)));_0x571cca[_0x2d3a51(0x43a)](_0x2e932e);});};this[_0x1fac22(0x3e8)](_0x5019cf[_0x1fac22(0x35e)](this[_0x1fac22(0x375)][_0x1fac22(0x324)](()=>{_0x38ee92();})));}[_0x46a43e(0x1ba)](){const _0x11b0f3=_0x46a43e;var _0x5015df,_0x2e27df;if(this[_0x11b0f3(0x248)]=!0x0,((_0x5015df=this[_0x11b0f3(0x397)]['getFocusedUnit']())==null?void 0x0:_0x5015df[_0x11b0f3(0x2c6)]())!==this[_0x11b0f3(0x166)])return;const _0x45f73c=(_0x2e27df=this[_0x11b0f3(0x383)][_0x11b0f3(0x2db)](_0x7f012d[_0x11b0f3(0x3fe)])[_0x11b0f3(0x2fc)]())==null?void 0x0:_0x2e27df[0x0],_0x57517f=this[_0x11b0f3(0x397)][_0x11b0f3(0x21c)](_0x5019cf[_0x11b0f3(0x28c)][_0x11b0f3(0x258)])[_0x11b0f3(0x18a)]();_0x45f73c&&_0x57517f&&this[_0x11b0f3(0x280)](_0x57517f[_0x11b0f3(0x35b)](),_0x45f73c);}[_0x46a43e(0x2c0)](){this['_online']=!0x1;}};_0x38323c=_0x5b2249([_0x4ab804(0x2,_0x245a54[_0x46a43e(0x4b5)](_0x245a54['Injector'])),_0x4ab804(0x3,_0x245a54['Inject'](_0x10d691)),_0x4ab804(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x4a6424)),_0x4ab804(0x5,_0x5019cf[_0x46a43e(0x4e2)]),_0x4ab804(0x6,_0x5019cf['ICommandService']),_0x4ab804(0x7,_0x245a54[_0x46a43e(0x4b5)](_0x7f012d[_0x46a43e(0x285)]))],_0x38323c);var _0x22a471=Object[_0x46a43e(0x1c7)],_0x32285b=Object['getOwnPropertyDescriptor'],_0x5dc2b5=(_0x212c45,_0x3bebec,_0x5e2483,_0x1108d0)=>{for(var _0x295ccf=_0x1108d0>0x1?void 0x0:_0x1108d0?_0x32285b(_0x3bebec,_0x5e2483):_0x3bebec,_0xce3802=_0x212c45['length']-0x1,_0x3de1d1;_0xce3802>=0x0;_0xce3802--)(_0x3de1d1=_0x212c45[_0xce3802])&&(_0x295ccf=(_0x1108d0?_0x3de1d1(_0x3bebec,_0x5e2483,_0x295ccf):_0x3de1d1(_0x295ccf))||_0x295ccf);return _0x1108d0&&_0x295ccf&&_0x22a471(_0x3bebec,_0x5e2483,_0x295ccf),_0x295ccf;},_0x5bf0f3=(_0x4120fc,_0x24c1c5)=>(_0x5ebe68,_0x1c169)=>_0x24c1c5(_0x5ebe68,_0x1c169,_0x4120fc);const _0x447abf=0x12c,_0x201f59=0x64;let _0x3a9f16=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0x389ac5,_0x3b8b09,_0x4d8699,_0x146bf0,_0x365335,_0x3a960e,_0x182259,_0x299b7d,_0x5a85ca){const _0x297910=_0x46a43e;super(),_0x3a44bb(this,'_online',!0x1),_0x3a44bb(this,_0x297910(0x336),!0x1),_0x3a44bb(this,_0x297910(0x375),new _0x54735b[(_0x297910(0x413))](new Map())),_0x3a44bb(this,_0x297910(0x379),this[_0x297910(0x375)][_0x297910(0x26a)]()),_0x3a44bb(this,'_roomMembers$',new _0x54735b['BehaviorSubject']([])),_0x3a44bb(this,_0x297910(0x24b),this[_0x297910(0x26f)][_0x297910(0x4b0)](_0x54735b[_0x297910(0x20e)](_0x447abf))),_0x3a44bb(this,'_updateLocalCursor',_0x37d11b(_0x340d25=>{const _0x2d8748=_0x297910,_0x57f630={'eventID':_0x38ce1a[_0x2d8748(0x4cc)][_0x2d8748(0x403)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x2d8748(0x3bf)](),'selection':_0x4b67ea(_0x340d25)}};this['_session'][_0x2d8748(0x175)](_0x57f630,this[_0x2d8748(0x166)]);},_0x201f59)),(this['unitID']=_0x389ac5,this[_0x297910(0x2b8)]=_0x3b8b09,this[_0x297910(0x383)]=_0x4d8699,this[_0x297910(0x184)]=_0x146bf0,this[_0x297910(0x39b)]=_0x365335,this[_0x297910(0x4da)]=_0x3a960e,this[_0x297910(0x43f)]=_0x182259,this['_univerInstanceService']=_0x299b7d,this[_0x297910(0x34d)]=_0x5a85ca);}get[_0x46a43e(0x2ce)](){const _0xb110ce=_0x46a43e;return this['_cursorInfo$'][_0xb110ce(0x250)]();}get[_0x46a43e(0x3b5)](){const _0x52f015=_0x46a43e;return this[_0x52f015(0x26f)]['getValue']();}[_0x46a43e(0x173)](){const _0x5e7992=_0x46a43e;super[_0x5e7992(0x173)](),this['_cursorInfo$'][_0x5e7992(0x230)](new Map()),this[_0x5e7992(0x375)]['complete'](),this['_roomMembers$'][_0x5e7992(0x230)]([]),this[_0x5e7992(0x26f)][_0x5e7992(0x2ae)]();}[_0x46a43e(0x3a7)](){const _0x574020=_0x46a43e;this[_0x574020(0x336)]||(this[_0x574020(0x336)]=!0x0,this[_0x574020(0x2b8)]['sessionStatus$']['pipe'](_0x54735b['takeUntil'](this['dispose$']))[_0x574020(0x324)](_0x2b49a3=>{const _0x54ea87=_0x574020;_0x2b49a3===_0x1ae891[_0x54ea87(0x440)]?this[_0x54ea87(0x1ba)]():this[_0x54ea87(0x2c0)]();}),this[_0x574020(0x2b8)][_0x574020(0x204)][_0x574020(0x4b0)](_0x54735b[_0x574020(0x41a)](this[_0x574020(0x4a5)]))[_0x574020(0x324)](_0x1bebc5=>{const _0x53ea21=_0x574020,_0x46cf14=_0x1bebc5['eventID'];_0x46cf14===_0x38ce1a['CollaborationEvent'][_0x53ea21(0x403)]&&this[_0x53ea21(0x161)](_0x1bebc5),_0x46cf14===_0x38ce1a[_0x53ea21(0x4cc)][_0x53ea21(0x414)]&&this['_onCursorDelete'](_0x1bebc5);}),this['disposeWithMe'](this[_0x574020(0x34d)][_0x574020(0x366)](_0x50a7eb=>{const _0x4cd807=_0x574020,_0x3f62eb=_0x50a7eb['params'];_0x3f62eb!=null&&this['_online']&&_0x50a7eb['id']===_0x38fb70['SetTextSelectionsOperation']['id']&&_0x3f62eb['unitId']===this[_0x4cd807(0x166)]&&_0x3f62eb[_0x4cd807(0x17f)]===!0x1&&this[_0x4cd807(0x280)](_0x3f62eb['ranges']);})),this[_0x574020(0x4da)]['collabCursorState$'][_0x574020(0x4b0)](_0x54735b['takeUntil'](this[_0x574020(0x4a5)]))[_0x574020(0x324)](_0x374478=>{const _0x5c4ec2=_0x574020;if((_0x374478==null?void 0x0:_0x374478[_0x5c4ec2(0x166)])!==this[_0x5c4ec2(0x166)])return;const _0xe72949={'eventID':_0x38ce1a[_0x5c4ec2(0x4cc)][_0x5c4ec2(0x403)],'data':_0x374478};this[_0x5c4ec2(0x161)](_0xe72949);}),this['disposeWithMe'](this[_0x574020(0x34d)][_0x574020(0x366)](_0x2905f7=>{const _0xa32842=_0x574020;if(_0x2905f7[_0xa32842(0x451)]==null)return;const _0x46ef0c=_0x2905f7[_0xa32842(0x451)];if(_0x2905f7['id']!==_0x38fb70[_0xa32842(0x338)]['id']||_0x46ef0c['unitId']!==this[_0xa32842(0x166)])return;const _0x184699={'id':_0xa32842(0x20c),'params':_0x46ef0c},_0x806138=this[_0xa32842(0x2ce)];for(const [_0x2a003c,_0xb125c0]of _0x806138){const _0x20688a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xa32842(0x166)],'actions':null,'textRanges':_0xb125c0['ranges']}},_0x4d4380=this[_0xa32842(0x43f)][_0xa32842(0x432)](_0x184699,_0x20688a,!0x1);if(_0x38ce1a['isTransformMutationFailure'](_0x4d4380))throw _0x4d4380[_0xa32842(0x3a0)];_0x806138[_0xa32842(0x3f3)](_0x2a003c,{..._0xb125c0,'ranges':_0x4d4380[_0xa32842(0x35f)][_0xa32842(0x451)][_0xa32842(0x44a)]});}queueMicrotask(()=>{const _0x95ab68=_0xa32842;this['_cursorInfo$'][_0x95ab68(0x230)](_0x806138);});})));}['_onCursorUpdate'](_0xcfe0ff){const _0x3af8db=_0x46a43e;var _0x4b05d8,_0x1a50ea;const {memberID:_0x49d5d6,selection:_0x12d929}=_0xcfe0ff[_0x3af8db(0x23f)],_0x2560a6=_0x40ee5f(_0x12d929),_0x397615=(_0x1a50ea=(_0x4b05d8=this[_0x3af8db(0x39b)]['getMember'](this[_0x3af8db(0x166)],_0x49d5d6))==null?void 0x0:_0x4b05d8[_0x3af8db(0x450)])!=null?_0x1a50ea:'Unknown\x20user',_0xf4e222={'color':this['_colorAssignService'][_0x3af8db(0x260)](_0x49d5d6),'name':_0x397615,'ranges':_0x2560a6},_0x4dd7e3=this['cursorInfo'];_0x4dd7e3[_0x3af8db(0x3f3)](_0x49d5d6,_0xf4e222),this[_0x3af8db(0x375)][_0x3af8db(0x230)](_0x4dd7e3);}['_onCursorDelete'](_0xf31e0b){const _0x7df2bd=_0x46a43e,{memberID:_0x3c2a5e}=_0xf31e0b[_0x7df2bd(0x23f)],_0x66f05f=this[_0x7df2bd(0x2ce)];_0x66f05f[_0x7df2bd(0x352)](_0x3c2a5e),this['_cursorInfo$'][_0x7df2bd(0x230)](_0x66f05f);}[_0x46a43e(0x1ba)](){const _0x8ce593=_0x46a43e;var _0x1c0040;if(this[_0x8ce593(0x248)]=!0x0,((_0x1c0040=this[_0x8ce593(0x397)]['getFocusedUnit']())==null?void 0x0:_0x1c0040['getUnitId']())!==this[_0x8ce593(0x166)])return;const _0x4d3a8c=this['_injector'][_0x8ce593(0x2db)](_0x38fb70[_0x8ce593(0x3c2)])[_0x8ce593(0x2fc)](),_0x2115ce=_0x4d3a8c==null?void 0x0:_0x4d3a8c[_0x8ce593(0x473)](_0x38fb70[_0x8ce593(0x318)]);Array['isArray'](_0x2115ce)&&_0x2115ce[_0x8ce593(0x1bb)]>0x0&&this[_0x8ce593(0x280)](_0x2115ce);}[_0x46a43e(0x2c0)](){this['_online']=!0x1;}};_0x3a9f16=_0x5dc2b5([_0x5bf0f3(0x2,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x5bf0f3(0x3,_0x245a54['Inject'](_0x10d691)),_0x5bf0f3(0x4,_0x245a54['Inject'](_0x4a6424)),_0x5bf0f3(0x5,_0x245a54['Inject'](_0x141f6f)),_0x5bf0f3(0x6,_0x38ce1a[_0x46a43e(0x48b)]),_0x5bf0f3(0x7,_0x5019cf[_0x46a43e(0x4e2)]),_0x5bf0f3(0x8,_0x5019cf[_0x46a43e(0x3b9)])],_0x3a9f16);var _0x2c371e=Object[_0x46a43e(0x1c7)],_0x4bb99d=Object[_0x46a43e(0x1e9)],_0x555c89=(_0x5339bd,_0x3f3aa0,_0x55009e,_0x3a93b7)=>{const _0x33fca6=_0x46a43e;for(var _0x394c9d=_0x3a93b7>0x1?void 0x0:_0x3a93b7?_0x4bb99d(_0x3f3aa0,_0x55009e):_0x3f3aa0,_0x56fb12=_0x5339bd[_0x33fca6(0x1bb)]-0x1,_0x35bca4;_0x56fb12>=0x0;_0x56fb12--)(_0x35bca4=_0x5339bd[_0x56fb12])&&(_0x394c9d=(_0x3a93b7?_0x35bca4(_0x3f3aa0,_0x55009e,_0x394c9d):_0x35bca4(_0x394c9d))||_0x394c9d);return _0x3a93b7&&_0x394c9d&&_0x2c371e(_0x3f3aa0,_0x55009e,_0x394c9d),_0x394c9d;},_0x40978b=(_0x103e0b,_0x4895d5)=>(_0x488075,_0x5833d9)=>_0x4895d5(_0x488075,_0x5833d9,_0x103e0b);let _0x4a938f=class extends _0x5019cf['RxDisposable']{constructor(_0x1744ef,_0x40f5a5,_0x31cfea){const _0x542f7d=_0x46a43e;super(),_0x3a44bb(this,_0x542f7d(0x4ec),new Map()),_0x3a44bb(this,_0x542f7d(0x1be),new _0x54735b['Subject']()),(this[_0x542f7d(0x397)]=_0x1744ef,this['_injector']=_0x40f5a5,this[_0x542f7d(0x2b7)]=_0x31cfea,this['_init']());}[_0x46a43e(0x173)](){const _0x4d91e5=_0x46a43e;super[_0x4d91e5(0x173)](),this[_0x4d91e5(0x1be)]['complete'](),this[_0x4d91e5(0x4ec)][_0x4d91e5(0x39a)](_0x41d7db=>_0x41d7db[_0x4d91e5(0x173)]());}[_0x46a43e(0x3a3)](_0x25cc61){const _0x26d5c4=_0x46a43e;return this[_0x26d5c4(0x4ec)][_0x26d5c4(0x209)](_0x25cc61)?this[_0x26d5c4(0x4ec)][_0x26d5c4(0x2db)](_0x25cc61)[_0x26d5c4(0x379)]:this[_0x26d5c4(0x1be)][_0x26d5c4(0x4b0)](_0x54735b[_0x26d5c4(0x2a4)](_0x280485=>_0x280485['unitID']===_0x25cc61),_0x54735b[_0x26d5c4(0x426)](_0x1cf559=>_0x1cf559[_0x26d5c4(0x379)]));}[_0x46a43e(0x336)](){const _0x114d7b=_0x46a43e;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5019cf['UniverInstanceType']['UNIVER_SHEET'])[_0x114d7b(0x4b0)](_0x54735b[_0x114d7b(0x41a)](this[_0x114d7b(0x4a5)]))[_0x114d7b(0x324)](async _0x18c767=>{const _0x283b4a=_0x114d7b,_0x498bea=_0x18c767[_0x283b4a(0x2c6)](),_0xedcc7e=await this[_0x283b4a(0x30a)](_0x498bea);this['_entityInit$'][_0x283b4a(0x230)](_0xedcc7e),this[_0x283b4a(0x4ec)][_0x283b4a(0x3f3)](_0x498bea,_0xedcc7e);}),this[_0x114d7b(0x397)][_0x114d7b(0x1b5)](_0x5019cf['UniverInstanceType'][_0x114d7b(0x27d)])[_0x114d7b(0x4b0)](_0x54735b[_0x114d7b(0x41a)](this[_0x114d7b(0x4a5)]))[_0x114d7b(0x4b0)](_0x54735b[_0x114d7b(0x2a4)](_0x10e632=>!_0x10e632[_0x114d7b(0x2c6)]()['startsWith']('__')))[_0x114d7b(0x324)](async _0x51d97f=>{const _0x440796=_0x114d7b,_0x1186ea=_0x51d97f[_0x440796(0x2c6)](),_0x418e14=await this['_startDocCollabCursor'](_0x1186ea);this['_entityInit$'][_0x440796(0x230)](_0x418e14),this[_0x440796(0x4ec)][_0x440796(0x3f3)](_0x1186ea,_0x418e14);}),_0x54735b[_0x114d7b(0x3e1)](this['_univerInstanceService'][_0x114d7b(0x371)](_0x5019cf[_0x114d7b(0x28c)][_0x114d7b(0x27d)]),this[_0x114d7b(0x397)][_0x114d7b(0x371)](_0x5019cf[_0x114d7b(0x28c)][_0x114d7b(0x258)]))[_0x114d7b(0x4b0)](_0x54735b[_0x114d7b(0x41a)](this[_0x114d7b(0x4a5)]))['subscribe'](_0x1b12b4=>{const _0x3c3a03=_0x114d7b,_0xf8c935=_0x1b12b4['getUnitId'](),_0x1f1b89=this[_0x3c3a03(0x4ec)]['get'](_0xf8c935);_0x1f1b89&&(_0x1f1b89[_0x3c3a03(0x173)](),this[_0x3c3a03(0x4ec)][_0x3c3a03(0x352)](_0xf8c935));});}async[_0x46a43e(0x30a)](_0x446390){const _0x5dddfd=_0x46a43e,_0x3c207c=await this['_collabSessionService'][_0x5dddfd(0x33d)](_0x446390),_0x1d0536=this[_0x5dddfd(0x383)][_0x5dddfd(0x431)](_0x38323c,_0x446390,_0x3c207c);return _0x1d0536[_0x5dddfd(0x3a7)](),_0x1d0536;}async[_0x46a43e(0x299)](_0x295fb2){const _0x7f6004=_0x46a43e,_0x370f1e=await this[_0x7f6004(0x2b7)]['requireSession'](_0x295fb2),_0x3209d5=this[_0x7f6004(0x383)][_0x7f6004(0x431)](_0x3a9f16,_0x295fb2,_0x370f1e);return _0x3209d5[_0x7f6004(0x3a7)](),_0x3209d5;}};_0x4a938f=_0x555c89([_0x5019cf[_0x46a43e(0x3b2)](_0x5019cf[_0x46a43e(0x2ed)]['Starting'],_0x4a938f),_0x40978b(0x0,_0x5019cf['IUniverInstanceService']),_0x40978b(0x1,_0x245a54[_0x46a43e(0x4b5)](_0x245a54['Injector'])),_0x40978b(0x2,_0x245a54[_0x46a43e(0x4b5)](_0x575351['CollaborationSessionService']))],_0x4a938f);const _0x4617f7=0x14,_0xd6959a=0xc8,_0x42e726=0x4,_0xee6bd7=0x5;function _0x27dfec(_0x132c88,_0x5e47e9){const _0x240c23=_0x46a43e;let {radius:_0x1e77e6,width:_0x5b38a2,height:_0x4f1eba}=_0x5e47e9;_0x1e77e6=_0x1e77e6!=null?_0x1e77e6:0x0,_0x5b38a2=_0x5b38a2!=null?_0x5b38a2:0x1e,_0x4f1eba=_0x4f1eba!=null?_0x4f1eba:0x1e;let _0x1fa0ed=0x0,_0x160a36=0x0,_0x569d29=0x0;_0x1fa0ed=_0x160a36=_0x569d29=Math[_0x240c23(0x2fd)](_0x1e77e6,_0x5b38a2/0x2,_0x4f1eba/0x2),_0x132c88['beginPath'](),_0x132c88[_0x240c23(0x4ef)](_0x1fa0ed,0x0),_0x132c88[_0x240c23(0x232)](_0x5b38a2-_0x160a36,0x0),_0x132c88['arc'](_0x5b38a2-_0x160a36,_0x160a36,_0x160a36,Math['PI']*0x3/0x2,0x0,!0x1),_0x132c88[_0x240c23(0x232)](_0x5b38a2,_0x4f1eba-_0x569d29),_0x132c88['arc'](_0x5b38a2-_0x569d29,_0x4f1eba-_0x569d29,_0x569d29,0x0,Math['PI']/0x2,!0x1),_0x132c88[_0x240c23(0x232)](0x0,_0x4f1eba),_0x132c88[_0x240c23(0x232)](0x0,_0x1fa0ed),_0x132c88[_0x240c23(0x4aa)](_0x1fa0ed,_0x1fa0ed,_0x1fa0ed,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x132c88[_0x240c23(0x19d)](),_0x5e47e9[_0x240c23(0x2d2)]&&(_0x132c88[_0x240c23(0x212)](),_0x132c88[_0x240c23(0x308)]=_0x5e47e9[_0x240c23(0x2d2)],_0x5e47e9['fillRule']===_0x240c23(0x2e5)?_0x132c88[_0x240c23(0x2d2)](_0x240c23(0x2e5)):_0x132c88[_0x240c23(0x2d2)](),_0x132c88[_0x240c23(0x36a)]());}class _0x450f66 extends _0x56ae03['Shape']{constructor(_0x370355,_0x42742a){const _0x2d9046=_0x46a43e;super(_0x370355,_0x42742a),_0x3a44bb(this,_0x2d9046(0x3c9)),_0x3a44bb(this,_0x2d9046(0x3ae)),(this['color']=_0x42742a==null?void 0x0:_0x42742a[_0x2d9046(0x3c9)],this['text']=_0x42742a==null?void 0x0:_0x42742a[_0x2d9046(0x3ae)]);}static[_0x46a43e(0x2d3)](_0x3ccb6d,_0x4a1bca){const _0x2aeda9=_0x46a43e,{text:_0x271598,color:_0x593b53}=_0x4a1bca;_0x3ccb6d[_0x2aeda9(0x212)](),_0x3ccb6d['font']=_0x2aeda9(0x262);const _0x59947=_0x3ccb6d['measureText'](_0x271598)[_0x2aeda9(0x412)],_0x307808=Math['min'](_0x59947+0x2*_0x42e726,_0xd6959a);_0x27dfec(_0x3ccb6d,{'height':_0x4617f7,'radius':0x4,'width':_0x307808,'fill':_0x593b53,'evented':!0x1}),_0x3ccb6d['fillStyle']=_0x2aeda9(0x38e);const _0x25134f=_0x42e726,_0xb3cfd5=_0x4617f7-_0xee6bd7,_0x36cc3f=_0xd6959a-0x2*_0x42e726;if(_0x59947>_0x36cc3f){let _0x5a3be6='',_0x109871=0x0;for(const _0x3844e0 of _0x271598){const _0x1ae884=_0x3ccb6d[_0x2aeda9(0x430)](_0x3844e0)[_0x2aeda9(0x412)];if(_0x109871+_0x1ae884<=_0x36cc3f-_0x3ccb6d['measureText'](_0x2aeda9(0x4c9))[_0x2aeda9(0x412)])_0x5a3be6+=_0x3844e0,_0x109871+=_0x1ae884;else{_0x5a3be6+=_0x2aeda9(0x4c9);break;}}_0x3ccb6d['fillText'](_0x5a3be6,_0x25134f,_0xb3cfd5);}else _0x3ccb6d['fillText'](_0x271598,_0x25134f,_0xb3cfd5);_0x3ccb6d[_0x2aeda9(0x36a)]();}['_draw'](_0xfc9215){const _0x2fda3e=_0x46a43e;_0x450f66[_0x2fda3e(0x2d3)](_0xfc9215,this);}}const _0xc6ca79=0x1,_0x36560e=1.5;class _0x985a81 extends _0x56ae03['Shape']{constructor(_0x2f376d,_0x7543f4){const _0x541ce3=_0x46a43e;super(_0x2f376d,_0x7543f4),_0x3a44bb(this,_0x541ce3(0x41e)),_0x3a44bb(this,_0x541ce3(0x363),!0x1),_0x3a44bb(this,_0x541ce3(0x404)),_0x3a44bb(this,_0x541ce3(0x220),''),_0x3a44bb(this,'_labelPosition',_0x541ce3(0x3da)),(_0x7543f4&&this[_0x541ce3(0x171)](_0x7543f4),this[_0x541ce3(0x32c)][_0x541ce3(0x381)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x541ce3(0x305)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x200e5a){const _0x234519=_0x46a43e;var _0x1d201f,_0x10055a,_0x65cee,_0x25b241,_0x143921;this[_0x234519(0x41e)]=(_0x1d201f=_0x200e5a[_0x234519(0x3c9)])!=null?_0x1d201f:this[_0x234519(0x41e)],this[_0x234519(0x363)]=(_0x10055a=_0x200e5a[_0x234519(0x499)])!=null?_0x10055a:this[_0x234519(0x363)],this[_0x234519(0x404)]=(_0x65cee=_0x200e5a['range'])!=null?_0x65cee:this[_0x234519(0x404)],this['_name']=(_0x25b241=_0x200e5a['name'])!=null?_0x25b241:this[_0x234519(0x220)],this[_0x234519(0x2f0)]=(_0x143921=_0x200e5a[_0x234519(0x27b)])!=null?_0x143921:this[_0x234519(0x2f0)],this[_0x234519(0x3d4)]({'width':_0x200e5a[_0x234519(0x412)],'height':_0x200e5a[_0x234519(0x4d8)]});}[_0x46a43e(0x291)](_0x371387){const _0x58cf7f=_0x46a43e,{row:_0x233b35,column:_0x57fd43}=_0x371387;if(_0x233b35>=this[_0x58cf7f(0x404)][_0x58cf7f(0x186)]&&_0x233b35<=this[_0x58cf7f(0x404)][_0x58cf7f(0x1a8)]&&_0x57fd43>=this['_range']['startColumn']&&_0x57fd43<=this[_0x58cf7f(0x404)][_0x58cf7f(0x389)]){this[_0x58cf7f(0x171)]({'hovered':!0x0});return;}this[_0x58cf7f(0x171)]({'hovered':!0x1});}[_0x46a43e(0x15d)](_0x2b590e){return!0x1;}['_draw'](_0x3ce0be){const _0x5d7aa6=_0x46a43e;_0x56ae03[_0x5d7aa6(0x1de)][_0x5d7aa6(0x2d3)](_0x3ce0be,{'width':this['width'],'height':this[_0x5d7aa6(0x4d8)],'strokeWidth':_0x36560e,'stroke':this[_0x5d7aa6(0x41e)],'evented':!0x1}),this[_0x5d7aa6(0x363)]&&(_0x3ce0be[_0x5d7aa6(0x212)](),_0x3ce0be[_0x5d7aa6(0x259)](0x1,0x0,0x0,0x1,this[_0x5d7aa6(0x412)],this[_0x5d7aa6(0x2f0)]===_0x5d7aa6(0x4d5)?0x0:-_0x4617f7),_0x450f66[_0x5d7aa6(0x2d3)](_0x3ce0be,{'text':this[_0x5d7aa6(0x220)],'color':this[_0x5d7aa6(0x41e)]}),_0x3ce0be[_0x5d7aa6(0x36a)]());}}var _0x3d2d47=Object[_0x46a43e(0x1c7)],_0x10bad4=Object[_0x46a43e(0x1e9)],_0x17565b=(_0x4bd1f1,_0x29ca24,_0x5a35e5,_0x2c1788)=>{const _0x161edc=_0x46a43e;for(var _0x4c7387=_0x2c1788>0x1?void 0x0:_0x2c1788?_0x10bad4(_0x29ca24,_0x5a35e5):_0x29ca24,_0x2d5a33=_0x4bd1f1[_0x161edc(0x1bb)]-0x1,_0x166280;_0x2d5a33>=0x0;_0x2d5a33--)(_0x166280=_0x4bd1f1[_0x2d5a33])&&(_0x4c7387=(_0x2c1788?_0x166280(_0x29ca24,_0x5a35e5,_0x4c7387):_0x166280(_0x4c7387))||_0x4c7387);return _0x2c1788&&_0x4c7387&&_0x3d2d47(_0x29ca24,_0x5a35e5,_0x4c7387),_0x4c7387;},_0x270bd7=(_0x5e3bb3,_0x35d0cc)=>(_0x447a28,_0x2712dc)=>_0x35d0cc(_0x447a28,_0x2712dc,_0x5e3bb3);const _0x4588a2=0x1389;let _0x22d685=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0xe871a1,_0x252cb4,_0x393436,_0xdaf4c8){const _0x25f171=_0x46a43e;super(),_0x3a44bb(this,'_cursors',new Set()),_0x3a44bb(this,_0x25f171(0x221),null),(this[_0x25f171(0x3f6)]=_0xe871a1,this['_univerInstanceService']=_0x252cb4,this[_0x25f171(0x43e)]=_0x393436,this[_0x25f171(0x2da)]=_0xdaf4c8,this[_0x25f171(0x336)]());}get[_0x46a43e(0x243)](){const _0x32d5d7=_0x46a43e;return this[_0x32d5d7(0x43e)]['getRenderById'](this['_univerInstanceService'][_0x32d5d7(0x21c)](_0x5019cf['UniverInstanceType'][_0x32d5d7(0x258)])[_0x32d5d7(0x2c6)]())[_0x32d5d7(0x18f)](_0x1bea61[_0x32d5d7(0x276)]);}get[_0x46a43e(0x22f)](){const _0x13debe=_0x46a43e;return this[_0x13debe(0x397)][_0x13debe(0x21c)](_0x5019cf[_0x13debe(0x28c)][_0x13debe(0x258)])[_0x13debe(0x2c6)]();}['_init'](){const _0x5e7ef7=_0x46a43e;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x33876a[_0x5e7ef7(0x41a)](this['dispose$']),_0x33876a[_0x5e7ef7(0x426)](_0x4e99a8=>{const _0x48f659=_0x5e7ef7;if(_0x4e99a8){const _0x119f29=_0x4e99a8[_0x48f659(0x46c)];return _0x54735b[_0x48f659(0x491)](this['_collabCursorController'][_0x48f659(0x3a3)](this[_0x48f659(0x22f)]),this[_0x48f659(0x2da)][_0x48f659(0x35d)])[_0x48f659(0x4b0)](_0x33876a['map'](([_0x56c164,_0x409689])=>{const _0x5a43ee=_0x48f659,_0x27be1c=new Map();return _0x56c164[_0x5a43ee(0x39a)]((_0x35587e,_0x182120)=>{const _0x495870=_0x5a43ee;if(_0x35587e[_0x495870(0x2cc)]===_0x119f29){const _0x4b5ed4={..._0x35587e};_0x4b5ed4[_0x495870(0x3c9)]=_0x409689[_0x35587e['color']],_0x27be1c[_0x495870(0x3f3)](_0x182120,_0x4b5ed4);}}),{'skeleton':_0x4e99a8,'cursors':_0x27be1c};}));}return _0x54735b['of']({'skeleton':null,'cursors':new Map()});}))[_0x5e7ef7(0x324)](({skeleton:_0x12ef0b,cursors:_0x13ea61})=>{const _0x5b2608=_0x5e7ef7;this[_0x5b2608(0x31e)](),_0x12ef0b&&this[_0x5b2608(0x18e)](_0x12ef0b,_0x13ea61);}),this[_0x5e7ef7(0x243)]['currentSkeleton$'][_0x5e7ef7(0x324)](_0x3cbdde=>{const _0x38b39d=_0x5e7ef7;if(_0x3cbdde==null)return;const {skeleton:_0x5b1ef4}=_0x3cbdde,_0x10afca=this[_0x38b39d(0x43e)][_0x38b39d(0x246)](this['_unitId']),{scene:_0x18f165}=_0x10afca;_0x18f165[_0x38b39d(0x300)][_0x38b39d(0x381)](_0x37d11b(_0x2baff5=>{const _0x317e81=_0x38b39d;var _0x1ac69c,_0x52256a;const {offsetX:_0x4a208e,offsetY:_0x447c20}=_0x2baff5,{x:_0x25359f,y:_0x55846b}=_0x18f165[_0x317e81(0x1b7)](_0x56ae03[_0x317e81(0x193)][_0x317e81(0x475)]([_0x4a208e,_0x447c20])),{scaleX:_0x114281,scaleY:_0x38e230}=_0x18f165[_0x317e81(0x3ef)](),_0x1e4921=_0x18f165[_0x317e81(0x425)](_0x1bea61['VIEWPORT_KEY'][_0x317e81(0x24c)]),_0x1e2e83=_0x18f165[_0x317e81(0x25b)](_0x56ae03[_0x317e81(0x193)][_0x317e81(0x475)]([_0x25359f,_0x55846b]),_0x1e4921),_0x39e104=_0x5b1ef4[_0x317e81(0x4fc)](_0x4a208e,_0x447c20,_0x114281,_0x38e230,_0x1e2e83);((_0x1ac69c=this[_0x317e81(0x221)])==null?void 0x0:_0x1ac69c['column'])===_0x39e104[_0x317e81(0x172)]&&((_0x52256a=this[_0x317e81(0x221)])==null?void 0x0:_0x52256a['row'])===_0x39e104[_0x317e81(0x304)]||this[_0x317e81(0x455)][_0x317e81(0x39a)](_0x37eaf0=>{const _0x404d1e=_0x317e81;_0x37eaf0[_0x404d1e(0x291)](_0x39e104);});},0x64));});}[_0x46a43e(0x18e)](_0x2e415e,_0x48d42e){const _0x4da7a4=_0x46a43e;var _0x2efe92;const _0xbd82d1=(_0x2efe92=this[_0x4da7a4(0x243)][_0x4da7a4(0x4f0)]())==null?void 0x0:_0x2efe92['skeleton'];if(!_0xbd82d1)return;const _0x566384=this[_0x4da7a4(0x4c0)]();if(!_0x566384)return;this[_0x4da7a4(0x455)][_0x4da7a4(0x39a)](_0xf009f6=>{const _0x13b0d2=_0x4da7a4;_0xf009f6[_0x13b0d2(0x320)]();});const {scene:_0x23b9f0}=_0x566384,_0x17f876=_0x45f265(Array[_0x4da7a4(0x380)](_0x48d42e[_0x4da7a4(0x3d8)]()))[_0x4da7a4(0x473)](_0x4ed19c=>{const _0xb09f18=_0x4da7a4,{color:_0x457625,range:_0x2085e1,name:_0x2126fa,selection:_0x15a2c6,sheetID:_0x2e26ec}=_0x4ed19c,{startColumn:_0x20d60c,startRow:_0xe56dc3,endColumn:_0x10a77e,endRow:_0x56a85e}=_0x2085e1,_0x24ef1a=_0x1bea61[_0xb09f18(0x174)](_0xe56dc3,_0x20d60c,_0x23b9f0,_0xbd82d1),_0x1cffe4=_0x1bea61[_0xb09f18(0x174)](_0x56a85e,_0x10a77e,_0x23b9f0,_0xbd82d1),{columnHeaderHeightAndMarginTop:_0x582bb6}=_0xbd82d1,{startX:_0x14b08e,startY:_0x23d188}=_0x24ef1a,{endX:_0x3dfcfb,endY:_0x32d612}=_0x1cffe4,_0x93bf67=_0x3dfcfb-_0x14b08e,_0x54c5f0=_0x32d612-_0x23d188,_0x858cfe={'labelPosition':_0x23d188-_0x582bb6>=_0x4617f7?'top':_0xb09f18(0x4d5),'sheetID':_0x2e26ec,'range':_0x2085e1,'color':_0x457625,'name':_0x2126fa,'selection':_0x15a2c6,'left':_0x14b08e,'top':_0x23d188,'width':_0x93bf67,'height':_0x54c5f0,'evented':!0x1,'zIndex':_0x4588a2};return new _0x985a81(_0x2126fa,_0x858cfe);});_0x23b9f0['addObjects'](_0x17f876,_0xc6ca79),this[_0x4da7a4(0x455)]=new Set(_0x17f876);}[_0x46a43e(0x31e)](){var _0x579fdc;(_0x579fdc=this['_cursors'])==null||_0x579fdc['forEach'](_0x5eff87=>_0x5eff87['dispose']());}[_0x46a43e(0x4c0)](){const _0x298972=_0x46a43e;return _0x1bea61['getSheetObject'](this['_univerInstanceService'],this[_0x298972(0x43e)]);}};_0x22d685=_0x17565b([_0x5019cf[_0x46a43e(0x3b2)](_0x5019cf[_0x46a43e(0x2ed)][_0x46a43e(0x3e9)],_0x22d685),_0x270bd7(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x4a938f)),_0x270bd7(0x1,_0x5019cf[_0x46a43e(0x4e2)]),_0x270bd7(0x2,_0x56ae03[_0x46a43e(0x1db)]),_0x270bd7(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x1a6)]))],_0x22d685);function _0x45f265(_0x1f8479){const _0x3a704c=_0x46a43e,_0x13f3ea=new Map();return _0x1f8479['forEach'](_0x508a5f=>{const _0x475eb3=_0x50f8;if(_0x13f3ea[_0x475eb3(0x209)](_0x508a5f[_0x475eb3(0x348)])){const _0x17c75b=_0x13f3ea[_0x475eb3(0x2db)](_0x508a5f[_0x475eb3(0x348)]);_0x17c75b['name']+=',\x20'+_0x508a5f[_0x475eb3(0x450)];}else _0x13f3ea[_0x475eb3(0x3f3)](_0x508a5f[_0x475eb3(0x348)],_0x508a5f);}),Array[_0x3a704c(0x380)](_0x13f3ea[_0x3a704c(0x3d8)]());}var _0x4e8b30=function(){const _0x22343d=_0x46a43e;return _0x4e8b30=Object[_0x22343d(0x34f)]||function(_0x2e53cd){const _0x1122d7=_0x22343d;for(var _0xa344f1,_0x23ae1d=0x1,_0x2013ff=arguments['length'];_0x23ae1d<_0x2013ff;_0x23ae1d++){_0xa344f1=arguments[_0x23ae1d];for(var _0x123936 in _0xa344f1)Object[_0x1122d7(0x30f)][_0x1122d7(0x21b)]['call'](_0xa344f1,_0x123936)&&(_0x2e53cd[_0x123936]=_0xa344f1[_0x123936]);}return _0x2e53cd;},_0x4e8b30[_0x22343d(0x47a)](this,arguments);},_0x3f97cd=function(_0x14e6ec,_0x485a32){const _0x1fbd98=_0x46a43e;var _0x3ac617={};for(var _0x218391 in _0x14e6ec)Object['prototype'][_0x1fbd98(0x21b)]['call'](_0x14e6ec,_0x218391)&&_0x485a32[_0x1fbd98(0x3c3)](_0x218391)<0x0&&(_0x3ac617[_0x218391]=_0x14e6ec[_0x218391]);if(_0x14e6ec!=null&&typeof Object[_0x1fbd98(0x1fa)]==_0x1fbd98(0x3b8)){for(var _0x3a7ff1=0x0,_0x218391=Object['getOwnPropertySymbols'](_0x14e6ec);_0x3a7ff1<_0x218391['length'];_0x3a7ff1++)_0x485a32[_0x1fbd98(0x3c3)](_0x218391[_0x3a7ff1])<0x0&&Object[_0x1fbd98(0x30f)]['propertyIsEnumerable'][_0x1fbd98(0x4fd)](_0x14e6ec,_0x218391[_0x3a7ff1])&&(_0x3ac617[_0x218391[_0x3a7ff1]]=_0x14e6ec[_0x218391[_0x3a7ff1]]);}return _0x3ac617;},_0x2e3a68=_0x7a0305['forwardRef'](function(_0x84aee0,_0x87c578){const _0x20294e=_0x46a43e;var _0x1cf6a3=_0x84aee0[_0x20294e(0x501)],_0x5565fb=_0x84aee0['id'],_0x3fb9d2=_0x84aee0[_0x20294e(0x349)],_0x46bc87=_0x84aee0[_0x20294e(0x2fa)],_0x85a8cf=_0x3f97cd(_0x84aee0,[_0x20294e(0x501),'id',_0x20294e(0x349),_0x20294e(0x2fa)]),_0x370679=_0x20294e(0x3ca)[_0x20294e(0x3c6)](_0x5565fb,'\x20')[_0x20294e(0x3c6)](_0x3fb9d2||'')[_0x20294e(0x44c)](),_0x4f8dcb=_0x7a0305['useRef']('_'['concat'](_0x2745cd()));return _0x477768(_0x1cf6a3,''[_0x20294e(0x3c6)](_0x5565fb),{'defIds':_0x1cf6a3[_0x20294e(0x34a)],'idSuffix':_0x4f8dcb[_0x20294e(0x3d5)]},_0x4e8b30({'ref':_0x87c578,'className':_0x370679},_0x85a8cf),_0x46bc87);});function _0x477768(_0x4cf628,_0x293a8e,_0xbb7782,_0x14fa0e,_0x4bbd19){const _0x5d4cc6=_0x46a43e;return _0x7a0305[_0x5d4cc6(0x32d)](_0x4cf628[_0x5d4cc6(0x187)],_0x4e8b30(_0x4e8b30({'key':_0x293a8e},_0x257473(_0x4cf628,_0xbb7782,_0x4bbd19)),_0x14fa0e),(_0x18ac37(_0x4cf628,_0xbb7782)['children']||[])[_0x5d4cc6(0x473)](function(_0x10a0ae,_0x1b4e78){const _0x213830=_0x5d4cc6;return _0x477768(_0x10a0ae,''['concat'](_0x293a8e,'-')[_0x213830(0x3c6)](_0x4cf628[_0x213830(0x187)],'-')[_0x213830(0x3c6)](_0x1b4e78),_0xbb7782,void 0x0,_0x4bbd19);}));}function _0x257473(_0x50b684,_0x369fb6,_0x31d47e){const _0x30f832=_0x46a43e;var _0x5db1a5=_0x4e8b30({},_0x50b684['attrs']);_0x31d47e!=null&&_0x31d47e[_0x30f832(0x46b)]&&_0x5db1a5['fill']===_0x30f832(0x46b)&&(_0x5db1a5['fill']=_0x31d47e[_0x30f832(0x46b)]);var _0x1c6128=_0x369fb6['defIds'];return!_0x1c6128||_0x1c6128[_0x30f832(0x1bb)]===0x0||(_0x50b684[_0x30f832(0x187)]===_0x30f832(0x339)&&_0x5db1a5[_0x30f832(0x22a)]&&(_0x5db1a5[_0x30f832(0x22a)]=_0x5db1a5[_0x30f832(0x22a)]+_0x369fb6[_0x30f832(0x1ce)]),Object[_0x30f832(0x410)](_0x5db1a5)[_0x30f832(0x39a)](function(_0x3d3684){const _0x263f53=_0x30f832;var _0x5b1382=_0x3d3684[0x0],_0x23ccef=_0x3d3684[0x1];typeof _0x23ccef=='string'&&(_0x5db1a5[_0x5b1382]=_0x23ccef[_0x263f53(0x439)](/url\(#(.*)\)/,_0x263f53(0x2d4)['concat'](_0x369fb6[_0x263f53(0x1ce)],')')));})),_0x5db1a5;}function _0x18ac37(_0x1692d5,_0x368ecb){const _0x557752=_0x46a43e;var _0x3708f4,_0x329e17=_0x368ecb[_0x557752(0x34a)];return!_0x329e17||_0x329e17[_0x557752(0x1bb)]===0x0?_0x1692d5:_0x1692d5[_0x557752(0x187)]===_0x557752(0x45d)&&(!((_0x3708f4=_0x1692d5[_0x557752(0x264)])===null||_0x3708f4===void 0x0)&&_0x3708f4[_0x557752(0x1bb)])?_0x4e8b30(_0x4e8b30({},_0x1692d5),{'children':_0x1692d5['children']['map'](function(_0x55b8a0){const _0x387956=_0x557752;return typeof _0x55b8a0[_0x387956(0x343)]['id']==_0x387956(0x4ab)&&_0x329e17&&_0x329e17[_0x387956(0x3c3)](_0x55b8a0['attrs']['id'])>-0x1?_0x4e8b30(_0x4e8b30({},_0x55b8a0),{'attrs':_0x4e8b30(_0x4e8b30({},_0x55b8a0[_0x387956(0x343)]),{'id':_0x55b8a0[_0x387956(0x343)]['id']+_0x368ecb[_0x387956(0x1ce)]})}):_0x55b8a0;})}):_0x1692d5;}function _0x2745cd(){const _0x2ecf99=_0x46a43e;return Math['random']()[_0x2ecf99(0x1f2)](0x24)[_0x2ecf99(0x1c6)](0x2,0x8);}_0x2e3a68[_0x46a43e(0x4a2)]='UniverIcon';var _0x3ad01a={'tag':_0x46a43e(0x1d4),'attrs':{'fill':_0x46a43e(0x26c),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x46a43e(0x1c2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x46a43e(0x283),'d':_0x46a43e(0x2b6),'strokeLinecap':'round','strokeLinejoin':_0x46a43e(0x234),'strokeWidth':1.2}}]},{'tag':_0x46a43e(0x45d),'attrs':{},'children':[{'tag':_0x46a43e(0x1cd),'attrs':{'id':_0x46a43e(0x3b4)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x46a43e(0x2dd)}}]}]}],'defIds':[_0x46a43e(0x3b4)]},_0x820a7=_0x7a0305[_0x46a43e(0x3a1)](function(_0x58f4bc,_0x540790){const _0xbf1464=_0x46a43e;return _0x7a0305[_0xbf1464(0x32d)](_0x2e3a68,Object[_0xbf1464(0x34f)]({},_0x58f4bc,{'id':_0xbf1464(0x4d9),'ref':_0x540790,'icon':_0x3ad01a}));});_0x820a7['displayName']='OffLineSingle';var _0x33d75b={'tag':'svg','attrs':{'fill':'none','viewBox':_0x46a43e(0x3db),'width':_0x46a43e(0x1c2),'height':_0x46a43e(0x1c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x46a43e(0x20f)},'children':[{'tag':_0x46a43e(0x43b),'attrs':{'stroke':_0x46a43e(0x283),'d':_0x46a43e(0x353),'strokeLinecap':_0x46a43e(0x234),'strokeLinejoin':_0x46a43e(0x234),'strokeWidth':1.2}}]},{'tag':_0x46a43e(0x45d),'attrs':{},'children':[{'tag':_0x46a43e(0x1cd),'attrs':{'id':_0x46a43e(0x4f2)},'children':[{'tag':_0x46a43e(0x43b),'attrs':{'fill':_0x46a43e(0x200),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x46a43e(0x4f2)]},_0x503e40=_0x7a0305[_0x46a43e(0x3a1)](function(_0x94b92f,_0x522833){const _0x101b9f=_0x46a43e;return _0x7a0305[_0x101b9f(0x32d)](_0x2e3a68,Object[_0x101b9f(0x34f)]({},_0x94b92f,{'id':_0x101b9f(0x1f5),'ref':_0x522833,'icon':_0x33d75b}));});_0x503e40[_0x46a43e(0x4a2)]=_0x46a43e(0x35c);const _0x5623c8={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x46a43e(0x467),'onlineStatus':_0x46a43e(0x42a),'online':'univer-online','offline':_0x46a43e(0x435)};function _0x151771(_0x58b612){const _0x136e02=_0x46a43e;switch(_0x58b612){case _0x348409[_0x136e02(0x1b8)]:return'collabStatus.offline';case _0x348409[_0x136e02(0x420)]:return _0x136e02(0x267);case _0x348409['FETCH_MISS']:return _0x136e02(0x2e4);case _0x348409[_0x136e02(0x3fc)]:return'collabStatus.notCollab';case _0x348409[_0x136e02(0x365)]:case _0x348409['AWAITING']:case _0x348409[_0x136e02(0x203)]:return _0x136e02(0x19f);case _0x348409[_0x136e02(0x407)]:return _0x136e02(0x20b);}}function _0x263e0e(_0x3cbc61){const _0xbe1f25=_0x46a43e,{status$:_0x513ebd}=_0x3cbc61,_0x4e85e7=_0x5138ef[_0xbe1f25(0x1ed)](_0x513ebd,_0x348409['NOT_COLLAB']),_0x5b46c5=_0x26fb9e[_0xbe1f25(0x321)](_0x5019cf['LocaleService']),_0x454427=_0x4e85e7!==_0x348409[_0xbe1f25(0x1b8)],_0x3bf045=_0x5b46c5['t'](_0x151771(_0x4e85e7)),_0x3ef06d=_0xb3640c(_0x5623c8[_0xbe1f25(0x214)],{[_0x5623c8['online']]:_0x454427,[_0x5623c8[_0xbe1f25(0x4a4)]]:!_0x454427}),_0x4d213e=_0x454427?_0x7a0305[_0xbe1f25(0x32d)](_0x503e40,null):_0x7a0305[_0xbe1f25(0x32d)](_0x820a7,null);return _0x7a0305[_0xbe1f25(0x32d)](_0xbe1f25(0x3ab),{'className':_0x3ef06d},_0x7a0305['createElement']('div',{'className':_0x5623c8['onlineStatusIcon']},_0x4d213e),_0x7a0305['createElement'](_0xbe1f25(0x3ab),{'className':_0x5623c8['onlineStatusTitle']},_0x3bf045));}var _0x50bdb6=Object[_0x46a43e(0x1c7)],_0x195b15=Object['getOwnPropertyDescriptor'],_0x2c5045=(_0x35a41f,_0x57b681,_0x42eff1,_0x57c05f)=>{const _0x189ab2=_0x46a43e;for(var _0x79ddbb=_0x57c05f>0x1?void 0x0:_0x57c05f?_0x195b15(_0x57b681,_0x42eff1):_0x57b681,_0x13539b=_0x35a41f[_0x189ab2(0x1bb)]-0x1,_0x1cca6d;_0x13539b>=0x0;_0x13539b--)(_0x1cca6d=_0x35a41f[_0x13539b])&&(_0x79ddbb=(_0x57c05f?_0x1cca6d(_0x57b681,_0x42eff1,_0x79ddbb):_0x1cca6d(_0x79ddbb))||_0x79ddbb);return _0x57c05f&&_0x79ddbb&&_0x50bdb6(_0x57b681,_0x42eff1,_0x79ddbb),_0x79ddbb;},_0x5da3b5=(_0x49634b,_0x3e0e5a)=>(_0x12a167,_0xf8c223)=>_0x3e0e5a(_0x12a167,_0xf8c223,_0x49634b);_0x575351['DesktopCollaborationStatusDisplayController']=class extends _0x5019cf[_0x46a43e(0x32a)]{constructor(_0x3b697d,_0x23971a,_0x3b1946,_0x1b2b94){const _0x46e5eb=_0x46a43e;super(),_0x3a44bb(this,'_status$',new _0x54735b[(_0x46e5eb(0x413))](_0x348409[_0x46e5eb(0x3fc)])),(this['_univerInstanceService']=_0x3b697d,this['_uiPartsService']=_0x23971a,this[_0x46e5eb(0x383)]=_0x3b1946,this[_0x46e5eb(0x42d)]=_0x1b2b94,this['_initStatusComponent'](),this[_0x46e5eb(0x45a)]());}['_initStatusComponent'](){const _0x138693=_0x46a43e;this['disposeWithMe'](this[_0x138693(0x38b)][_0x138693(0x4bf)](_0x5138ef[_0x138693(0x502)][_0x138693(0x2d5)],()=>_0x26fb9e[_0x138693(0x2f5)](_0x1fe680({'status$':this[_0x138693(0x504)][_0x138693(0x26a)]()}),this[_0x138693(0x383)])));}[_0x46a43e(0x45a)](){const _0x55fc7e=_0x46a43e;this['disposeWithMe'](_0x5019cf[_0x55fc7e(0x35e)](this[_0x55fc7e(0x397)][_0x55fc7e(0x4c3)][_0x55fc7e(0x4b0)](_0x54735b[_0x55fc7e(0x426)](()=>{const _0x3c68d3=_0x55fc7e,_0x326e60=this[_0x3c68d3(0x397)]['getFocusedUnit']();return _0x326e60?this[_0x3c68d3(0x42d)][_0x3c68d3(0x4ed)](_0x326e60[_0x3c68d3(0x2c6)]()):_0x54735b['of'](null);}),_0x54735b['switchMap'](_0x107452=>_0x107452?_0x107452[_0x55fc7e(0x1e8)]:_0x54735b['of'](_0x348409[_0x55fc7e(0x3fc)])))[_0x55fc7e(0x324)](_0x1342fa=>{const _0x55d297=_0x55fc7e;this[_0x55d297(0x504)][_0x55d297(0x230)](_0x1342fa);})));}},_0x575351['DesktopCollaborationStatusDisplayController']=_0x2c5045([_0x5019cf[_0x46a43e(0x3b2)](_0x5019cf[_0x46a43e(0x2ed)][_0x46a43e(0x241)],_0x575351[_0x46a43e(0x265)]),_0x5da3b5(0x0,_0x5019cf[_0x46a43e(0x4e2)]),_0x5da3b5(0x1,_0x5138ef['IUIPartsService']),_0x5da3b5(0x2,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)])),_0x5da3b5(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x575351['CollaborationController']))],_0x575351[_0x46a43e(0x265)]);function _0x1fe680(_0x345b0b){const {status$:_0x5e0cc8}=_0x345b0b;return function(){const _0x35c9dd=_0x50f8;return _0x7a0305[_0x35c9dd(0x32d)](_0x263e0e,{'status$':_0x5e0cc8});};}const _0x279dda=_0x245a54[_0x46a43e(0x46a)]('uni.network.url-service');var _0x4d7710=Object[_0x46a43e(0x1c7)],_0x22e76a=Object[_0x46a43e(0x1e9)],_0x36f538=(_0x55f603,_0x3e3848,_0x3b6ce,_0x3e6bd8)=>{const _0x44d01b=_0x46a43e;for(var _0x2a032f=_0x3e6bd8>0x1?void 0x0:_0x3e6bd8?_0x22e76a(_0x3e3848,_0x3b6ce):_0x3e3848,_0x9789a2=_0x55f603[_0x44d01b(0x1bb)]-0x1,_0x3328ea;_0x9789a2>=0x0;_0x9789a2--)(_0x3328ea=_0x55f603[_0x9789a2])&&(_0x2a032f=(_0x3e6bd8?_0x3328ea(_0x3e3848,_0x3b6ce,_0x2a032f):_0x3328ea(_0x2a032f))||_0x2a032f);return _0x3e6bd8&&_0x2a032f&&_0x4d7710(_0x3e3848,_0x3b6ce,_0x2a032f),_0x2a032f;},_0x437fe4=(_0x2eceb9,_0x4fe1f9)=>(_0x150b78,_0x5f3694)=>_0x4fe1f9(_0x150b78,_0x5f3694,_0x2eceb9);_0x575351['DataLoaderController']=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0x4f0cc6,_0x3aabb6,_0x26583e,_0x4eebd4,_0x37f8d7,_0x545488){const _0x56806e=_0x46a43e;super(),this['_urlService']=_0x4f0cc6,this[_0x56806e(0x433)]=_0x3aabb6,this[_0x56806e(0x34d)]=_0x26583e,this[_0x56806e(0x36e)]=_0x4eebd4,this[_0x56806e(0x295)]=_0x37f8d7,_0x545488?_0x545488==null||_0x545488[_0x56806e(0x2f6)]()[_0x56806e(0x2c5)](()=>this['_init']()):(this[_0x56806e(0x433)][_0x56806e(0x418)](_0x56806e(0x16b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x20ccae=_0x46a43e,_0x50b2cf=this[_0x20ccae(0x384)][_0x20ccae(0x4b8)](_0x20ccae(0x15f)),_0x3539ae=this[_0x20ccae(0x384)][_0x20ccae(0x4b8)](_0x20ccae(0x219));if(!_0x50b2cf||!_0x3539ae){this['_logService'][_0x20ccae(0x418)](_0x20ccae(0x16b),_0x20ccae(0x3c1));return;}switch(Number(_0x3539ae)){case _0x4418d5[_0x20ccae(0x258)]:{const _0x4cd324=await this['_loadSheet'](_0x50b2cf);this[_0x20ccae(0x2c7)](_0x4cd324);break;}case _0x4418d5[_0x20ccae(0x27d)]:{await this['_loadDoc'](_0x50b2cf);break;}default:{this['_logService'][_0x20ccae(0x3a0)](_0x20ccae(0x16b),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x46a43e(0x2c7)](_0x331029){const _0x317496=_0x46a43e;await this[_0x317496(0x294)](_0x331029),_0x331029['activeSheet$']['pipe'](_0x54735b[_0x317496(0x41a)](this[_0x317496(0x4a5)]))[_0x317496(0x324)](_0x1114fc=>{_0x1114fc&&this['_updateURLWithCurrentState'](_0x1114fc);}),this['_urlService'][_0x317496(0x391)][_0x317496(0x4b0)](_0x54735b[_0x317496(0x41a)](this[_0x317496(0x4a5)]))[_0x317496(0x324)](()=>this[_0x317496(0x294)](_0x331029));}[_0x46a43e(0x1dc)](_0x5e1986,_0x316c71=!0x1){const _0x3d011a=_0x46a43e,_0x5e7845=this[_0x3d011a(0x384)][_0x3d011a(0x4b8)](_0x3d011a(0x19c));_0x5e1986['getSheetId']()!==_0x5e7845&&this[_0x3d011a(0x384)][_0x3d011a(0x43c)](_0x3d011a(0x19c),_0x5e1986[_0x3d011a(0x35b)](),_0x316c71);}async[_0x46a43e(0x294)](_0x5b18e1){const _0x4265e0=_0x46a43e;var _0x4171b7;const _0x4f5015=this['_urlService'][_0x4265e0(0x4b8)](_0x4265e0(0x19c));if(!_0x4f5015||!_0x5b18e1['getSheetBySheetId'](_0x4f5015)){const _0x56601f=_0x5b18e1[_0x4265e0(0x271)]()[0x0],_0x321069=_0x5b18e1[_0x4265e0(0x392)](_0x56601f);if(!_0x321069)return;this[_0x4265e0(0x1dc)](_0x321069,!0x0),await this[_0x4265e0(0x34d)]['executeCommand'](_0x7f012d[_0x4265e0(0x40f)]['id'],{'unitId':_0x5b18e1[_0x4265e0(0x2c6)](),'subUnitId':_0x56601f});return;}((_0x4171b7=_0x5b18e1[_0x4265e0(0x18a)]())==null?void 0x0:_0x4171b7[_0x4265e0(0x35b)]())!==_0x4f5015&&await this[_0x4265e0(0x34d)][_0x4265e0(0x4ac)](_0x7f012d['SetWorksheetActivateCommand']['id'],{'unitId':_0x5b18e1['getUnitId'](),'subUnitId':_0x4f5015});}async[_0x46a43e(0x18b)](_0xa02d31){const _0x2a7f73=_0x46a43e;let _0x398341=0x0;const _0x3b4976=await this[_0x2a7f73(0x36e)][_0x2a7f73(0x444)](_0xa02d31);return _0x3b4976&&(_0x3b4976['awaitingChangeset']||_0x3b4976[_0x2a7f73(0x2c2)][_0x2a7f73(0x1bb)]!==0x0)&&(_0x398341=_0x3b4976[_0x2a7f73(0x301)]),_0x398341===0x0&&this['_logService'][_0x2a7f73(0x418)](_0x2a7f73(0x16b),_0x2a7f73(0x386)),this[_0x2a7f73(0x295)]['loadSheet'](_0xa02d31,_0x398341);}async[_0x46a43e(0x2d7)](_0x4f8ac5){const _0x388509=_0x46a43e;let _0x4beb07=0x0;const _0x4e9596=await this[_0x388509(0x36e)][_0x388509(0x444)](_0x4f8ac5);return _0x4e9596&&(_0x4e9596[_0x388509(0x4d6)]||_0x4e9596[_0x388509(0x2c2)][_0x388509(0x1bb)]!==0x0)&&(_0x4beb07=_0x4e9596[_0x388509(0x301)]),_0x4beb07===0x0&&this[_0x388509(0x433)][_0x388509(0x418)](_0x388509(0x16b),_0x388509(0x386)),this[_0x388509(0x295)]['loadDoc'](_0x4f8ac5,_0x4beb07);}},_0x575351['DataLoaderController']=_0x36f538([_0x5019cf['OnLifecycle'](_0x5019cf[_0x46a43e(0x2ed)][_0x46a43e(0x241)],_0x575351['DataLoaderController']),_0x437fe4(0x0,_0x279dda),_0x437fe4(0x1,_0x5019cf[_0x46a43e(0x4e6)]),_0x437fe4(0x2,_0x5019cf[_0x46a43e(0x3b9)]),_0x437fe4(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x575351[_0x46a43e(0x2d1)])),_0x437fe4(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x38ce1a[_0x46a43e(0x406)])),_0x437fe4(0x5,_0x245a54[_0x46a43e(0x2b9)](_0x2cd6ae[_0x46a43e(0x2ec)]))],_0x575351['DataLoaderController']);var _0xdfa314=Object['defineProperty'],_0xa0eac6=Object[_0x46a43e(0x1e9)],_0x5ca0ba=(_0x852c2b,_0x3a2c2b,_0x48e147,_0x3906cb)=>{const _0x41f658=_0x46a43e;for(var _0x582fb0=_0x3906cb>0x1?void 0x0:_0x3906cb?_0xa0eac6(_0x3a2c2b,_0x48e147):_0x3a2c2b,_0x52a71c=_0x852c2b[_0x41f658(0x1bb)]-0x1,_0x3b3c5e;_0x52a71c>=0x0;_0x52a71c--)(_0x3b3c5e=_0x852c2b[_0x52a71c])&&(_0x582fb0=(_0x3906cb?_0x3b3c5e(_0x3a2c2b,_0x48e147,_0x582fb0):_0x3b3c5e(_0x582fb0))||_0x582fb0);return _0x3906cb&&_0x582fb0&&_0xdfa314(_0x3a2c2b,_0x48e147,_0x582fb0),_0x582fb0;},_0x51f38a=(_0x5b72e7,_0xf4cf5a)=>(_0x3805f3,_0x369356)=>_0xf4cf5a(_0x3805f3,_0x369356,_0x5b72e7);const _0x2c666e=_0x46a43e(0x4b1),_0x18120c=_0x46a43e(0x3d7);let _0x5bbd97=class extends _0x5019cf[_0x46a43e(0x32a)]{constructor(_0x11e2ee,_0x1bd7fb){const _0x3e4d28=_0x46a43e;super(),this['_univerInstanceService']=_0x11e2ee,this[_0x3e4d28(0x317)]=_0x1bd7fb,this[_0x3e4d28(0x336)]();}[_0x46a43e(0x336)](){const _0x477bcc=_0x46a43e;this['disposeWithMe'](_0x5019cf[_0x477bcc(0x35e)](this['_univerInstanceService'][_0x477bcc(0x4c3)]['subscribe'](()=>{const _0x259959=_0x477bcc;var _0x442ea5;const _0xeae0b7=this['_univerInstanceService'][_0x259959(0x24f)]();let _0x1b45b2=(_0x442ea5=this['_configService'][_0x259959(0x3ea)](_0x2c666e))!=null?_0x442ea5:_0x18120c;_0xeae0b7 instanceof _0x5019cf[_0x259959(0x395)]&&(_0x1b45b2=_0xeae0b7[_0x259959(0x450)]),document['title']=_0x1b45b2;})));}};_0x5bbd97=_0x5ca0ba([_0x5019cf[_0x46a43e(0x3b2)](_0x5019cf[_0x46a43e(0x2ed)][_0x46a43e(0x1b0)],_0x5bbd97),_0x51f38a(0x0,_0x5019cf[_0x46a43e(0x4e2)]),_0x51f38a(0x1,_0x5019cf[_0x46a43e(0x460)])],_0x5bbd97);var _0xe1f25a=Object[_0x46a43e(0x1c7)],_0x402875=Object['getOwnPropertyDescriptor'],_0x3f7c5b=(_0x222086,_0x3684b1,_0x229aee,_0x4b44eb)=>{for(var _0x3610ad=_0x4b44eb>0x1?void 0x0:_0x4b44eb?_0x402875(_0x3684b1,_0x229aee):_0x3684b1,_0x5acb06=_0x222086['length']-0x1,_0x2a2e34;_0x5acb06>=0x0;_0x5acb06--)(_0x2a2e34=_0x222086[_0x5acb06])&&(_0x3610ad=(_0x4b44eb?_0x2a2e34(_0x3684b1,_0x229aee,_0x3610ad):_0x2a2e34(_0x3610ad))||_0x3610ad);return _0x4b44eb&&_0x3610ad&&_0xe1f25a(_0x3684b1,_0x229aee,_0x3610ad),_0x3610ad;},_0x18c36d=(_0x30743c,_0x34982e)=>(_0x4a1ba7,_0x42dfb4)=>_0x34982e(_0x4a1ba7,_0x42dfb4,_0x30743c);let _0x201e04=class{constructor(_0xf4bee6,_0x36c13f){const _0x4f5f97=_0x46a43e;this[_0x4f5f97(0x317)]=_0xf4bee6,this[_0x4f5f97(0x463)]=_0x36c13f;}async['getUnitOnRev'](_0x4a3b16,_0x3669a0){const _0x5de6eb=_0x46a43e;var _0x46dd7e;const {unitID:_0x592387,type:_0x31bca4,revision:_0x2c0612=0x0}=_0x3669a0,_0x56b088=this[_0x5de6eb(0x2e0)]()+'/'+_0x31bca4+_0x5de6eb(0x1c9)+_0x592387+_0x5de6eb(0x464)+(_0x2c0612===0x1?0x0:_0x2c0612),_0x3cb7db=(await this[_0x5de6eb(0x463)][_0x5de6eb(0x2db)](_0x56b088))['body'],_0x3f9baa=(_0x46dd7e=_0x3cb7db['snapshot'])==null?void 0x0:_0x46dd7e[_0x5de6eb(0x42c)];if(_0x3f9baa){const _0x283ca5=_0x3f9baa==null?void 0x0:_0x3f9baa[_0x5de6eb(0x2b2)],_0x2e5f75=_0x5019cf[_0x5de6eb(0x38f)][_0x5de6eb(0x2d0)](_0x5019cf[_0x5de6eb(0x1ef)](_0x283ca5));_0x3f9baa[_0x5de6eb(0x2b2)]=_0x2e5f75,Object['entries'](_0x3f9baa['sheets'])[_0x5de6eb(0x39a)](([,_0xa75db7])=>{const _0x45e8f2=_0x5de6eb,_0x19119f=_0xa75db7[_0x45e8f2(0x2b2)],_0x12ce14=_0x5019cf[_0x45e8f2(0x38f)][_0x45e8f2(0x2d0)](_0x5019cf[_0x45e8f2(0x1ef)](_0x19119f));_0xa75db7[_0x45e8f2(0x2b2)]=_0x12ce14;});}return _0x3cb7db;}async[_0x46a43e(0x1ea)](_0x472af7,_0x49cfbc){const _0x2b7329=_0x46a43e,{unitID:_0x46c17b,type:_0x5b8934,blockID:_0x309f0f}=_0x49cfbc,_0x442ae4=this[_0x2b7329(0x302)]()+'/'+_0x5b8934+_0x2b7329(0x1c9)+_0x46c17b+'/block/'+_0x309f0f;return(await this[_0x2b7329(0x463)][_0x2b7329(0x2db)](_0x442ae4))[_0x2b7329(0x190)];}async[_0x46a43e(0x346)](_0x322ba4,_0x546504){const _0x591010=_0x46a43e,{unitID:_0x1c4cf5,type:_0x5cd815,from:_0xd0f399,to:_0x4361bf}=_0x546504,_0xf90aca=this[_0x591010(0x302)]()+'/'+_0x5cd815+_0x591010(0x1c9)+_0x1c4cf5+_0x591010(0x296)+_0xd0f399+'&to='+_0x4361bf;return(await this['_httpService'][_0x591010(0x2db)](_0xf90aca))[_0x591010(0x190)];}['_getSnapshotAPIPrefix'](){const _0x3cc7e4=_0x46a43e;var _0x4c6cfb;return(_0x4c6cfb=this[_0x3cc7e4(0x317)][_0x3cc7e4(0x3ea)](_0x25d6a7))!=null?_0x4c6cfb:this[_0x3cc7e4(0x302)]();}['_getAPIPrefix'](){const _0x43c35c=_0x46a43e;var _0x859f98;return(_0x859f98=this[_0x43c35c(0x317)][_0x43c35c(0x3ea)](_0xb4801b))!=null?_0x859f98:_0x47a400;}async[_0x46a43e(0x21a)](_0x174b52,_0x5250bd){const _0x2d9837=_0x46a43e,_0x4d7fde='/universer-api/snapshot/'+_0x5250bd[_0x2d9837(0x219)]+_0x2d9837(0x1c9)+_0x5250bd[_0x2d9837(0x166)]+'/resources';return(await this[_0x2d9837(0x463)][_0x2d9837(0x2db)](_0x4d7fde,{'params':{'resourceId':JSON[_0x2d9837(0x485)](_0x5250bd['resourceIDs'])}}))[_0x2d9837(0x190)];}['saveSnapshot'](){const _0x57ed75=_0x46a43e;throw new Error(_0x57ed75(0x229));}[_0x46a43e(0x178)](){const _0x43a04e=_0x46a43e;throw new Error(_0x43a04e(0x229));}[_0x46a43e(0x4c4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};_0x201e04=_0x3f7c5b([_0x18c36d(0x0,_0x5019cf[_0x46a43e(0x460)]),_0x18c36d(0x1,_0x245a54[_0x46a43e(0x4b5)](_0x3e6592[_0x46a43e(0x494)]))],_0x201e04);var _0x49536f=Object[_0x46a43e(0x1c7)],_0x550c4d=Object[_0x46a43e(0x1e9)],_0x2e5bbb=(_0x20ce69,_0x307714,_0x5163df,_0x47df0f)=>{const _0x23cf58=_0x46a43e;for(var _0x3d524a=_0x47df0f>0x1?void 0x0:_0x47df0f?_0x550c4d(_0x307714,_0x5163df):_0x307714,_0x59c7a7=_0x20ce69[_0x23cf58(0x1bb)]-0x1,_0x3b922a;_0x59c7a7>=0x0;_0x59c7a7--)(_0x3b922a=_0x20ce69[_0x59c7a7])&&(_0x3d524a=(_0x47df0f?_0x3b922a(_0x307714,_0x5163df,_0x3d524a):_0x3b922a(_0x3d524a))||_0x3d524a);return _0x47df0f&&_0x3d524a&&_0x49536f(_0x307714,_0x5163df,_0x3d524a),_0x3d524a;},_0x230f1f=(_0x25c015,_0x59eed2)=>(_0x36e05b,_0x2841d0)=>_0x59eed2(_0x36e05b,_0x2841d0,_0x25c015);let _0x18c703=class extends _0x5019cf[_0x46a43e(0x3d6)]{constructor(_0xdf4f25,_0x2ef261,_0x23def7,_0x1eba96,_0x4a3a0f){const _0xfd382c=_0x46a43e;super(_0xdf4f25,_0x2ef261,_0x23def7),this[_0xfd382c(0x43f)]=_0x1eba96,this[_0xfd382c(0x433)]=_0x4a3a0f;}[_0x46a43e(0x4fb)](_0x5a8857,_0x43f20d){const _0x2baa06=_0x46a43e,_0x276e55=this[_0x2baa06(0x39e)](_0x5a8857);if(_0x276e55)try{const _0x36a822=this['_transformStack'](_0x276e55,_0x43f20d);this[_0x2baa06(0x4ba)](_0x5a8857,_0x36a822);}catch(_0x314787){this[_0x2baa06(0x433)][_0x2baa06(0x3a0)](_0x2baa06(0x480),_0x314787),this[_0x2baa06(0x1bf)](_0x5a8857);}const _0xd5710e=this[_0x2baa06(0x423)](_0x5a8857);if(_0xd5710e)try{const _0x293d1e=this[_0x2baa06(0x210)](_0xd5710e,_0x43f20d);this[_0x2baa06(0x4f8)](_0x5a8857,_0x293d1e);}catch(_0x3001e7){this[_0x2baa06(0x433)]['error'](_0x3001e7),this[_0x2baa06(0x197)](_0x5a8857);}}['_clearUndo'](_0x4d765e){const _0x326b24=_0x46a43e,_0x2827d3=this['_getUndoStack'](_0x4d765e);_0x2827d3&&(_0x2827d3[_0x326b24(0x1bb)]=0x0,this[_0x326b24(0x490)]());}[_0x46a43e(0x197)](_0x50467f){const _0x179d90=_0x46a43e,_0x121f66=this[_0x179d90(0x423)](_0x50467f);_0x121f66&&(_0x121f66[_0x179d90(0x1bb)]=0x0,this[_0x179d90(0x490)]());}['_substituteUndoStack'](_0x3e06a6,_0x5e2073){const _0x563ca7=_0x46a43e;this[_0x563ca7(0x292)][_0x563ca7(0x3f3)](_0x3e06a6,_0x5e2073),this[_0x563ca7(0x490)]();}['_substituteRedoStack'](_0x36c5b4,_0x56b688){const _0xede824=_0x46a43e;this['_redoStacks'][_0xede824(0x3f3)](_0x36c5b4,_0x56b688),this['_updateStatus']();}[_0x46a43e(0x210)](_0x5bc8ca,_0x9df9f3){const _0x3a1613=_0x46a43e,_0x46577b=[];let _0x1c2c81=_0x9df9f3,_0x110204=_0x9df9f3;for(let _0x43338f=_0x5bc8ca['length']-0x1;_0x43338f>=0x0;_0x43338f--){const {unitID:_0x1605d3,undoMutations:_0x4d26d0,redoMutations:_0x5e3158}=_0x5bc8ca[_0x43338f],_0x38b03e=this['_transformService'][_0x3a1613(0x3ba)](_0x1c2c81,_0x4d26d0),_0x21e0d7=this['_transformService'][_0x3a1613(0x3ba)](_0x110204,_0x5e3158);if(_0x38ce1a[_0x3a1613(0x396)](_0x38b03e)||_0x38ce1a['isTransformMutationsWithChangesetFailure'](_0x21e0d7)){this[_0x3a1613(0x433)]['error'](_0x3a1613(0x480),_0x3a1613(0x240),_0x38b03e,_0x21e0d7);break;}_0x1c2c81=_0x38b03e[_0x3a1613(0x2bc)],_0x110204=_0x21e0d7[_0x3a1613(0x2bc)],_0x46577b[_0x3a1613(0x23e)]({'unitID':_0x1605d3,'undoMutations':_0x38b03e['m2Prime'],'redoMutations':_0x21e0d7['m2Prime']});}return _0x46577b[_0x3a1613(0x359)]();}};_0x18c703=_0x2e5bbb([_0x230f1f(0x0,_0x5019cf[_0x46a43e(0x4e2)]),_0x230f1f(0x1,_0x5019cf['ICommandService']),_0x230f1f(0x2,_0x5019cf[_0x46a43e(0x2c3)]),_0x230f1f(0x3,_0x38ce1a[_0x46a43e(0x48b)]),_0x230f1f(0x4,_0x5019cf[_0x46a43e(0x4e6)])],_0x18c703);class _0x1fff2a extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(){const _0x1c9cd5=_0x46a43e;super(),_0x3a44bb(this,_0x1c9cd5(0x391)),this[_0x1c9cd5(0x391)]=_0x54735b[_0x1c9cd5(0x4e0)](window,_0x1c9cd5(0x4e7))[_0x1c9cd5(0x4b0)](_0x54735b[_0x1c9cd5(0x41a)](this[_0x1c9cd5(0x4a5)]),_0x54735b[_0x1c9cd5(0x247)](0x1),_0x54735b['mapTo'](void 0x0));}[_0x46a43e(0x43c)](_0x112a27,_0x253f9f,_0x273066=!0x1){const _0x371a55=_0x46a43e,_0x567cf8=new URL(window['location'][_0x371a55(0x486)]);_0x567cf8[_0x371a55(0x44d)][_0x371a55(0x3f3)](_0x112a27,_0x253f9f),_0x273066?window[_0x371a55(0x293)][_0x371a55(0x40a)]('','',_0x567cf8[_0x371a55(0x1f2)]()):window['history'][_0x371a55(0x39f)]('','',_0x567cf8[_0x371a55(0x1f2)]());}['removeParam'](_0x518e1a,_0x476999=!0x1){const _0x4ca99f=_0x46a43e,_0x329d07=new URL(window['location'][_0x4ca99f(0x486)]);_0x329d07[_0x4ca99f(0x44d)]['delete'](_0x518e1a),_0x476999?window[_0x4ca99f(0x293)][_0x4ca99f(0x40a)]('','',_0x329d07[_0x4ca99f(0x1f2)]()):window[_0x4ca99f(0x293)][_0x4ca99f(0x39f)]('','',_0x329d07[_0x4ca99f(0x1f2)]());}[_0x46a43e(0x4b8)](_0x13f139){const _0x36549c=_0x46a43e;var _0x4f40a8;return(_0x4f40a8=new URL(window['location']['href'])[_0x36549c(0x44d)][_0x36549c(0x2db)](_0x13f139))!=null?_0x4f40a8:void 0x0;}}const _0x5c5b74=_0x46a43e(0x3d3),_0x18208a=_0x46a43e(0x2a0),_0x29d25=0x6,_0x1ddebf=1.5,_0x2478ef=0x4,_0x78837f=1.5,_0x37103c='rgba(255,\x20255,\x20255,\x200.01)';class _0x3e4ea2{constructor(_0x24cb5d,_0x4dc353,_0x522178,_0x1b17a1){const _0x455d15=_0x46a43e;_0x3a44bb(this,_0x455d15(0x36c),[]),_0x3a44bb(this,'_anchor',null),_0x3a44bb(this,_0x455d15(0x202),null),_0x3a44bb(this,_0x455d15(0x477),null),_0x3a44bb(this,'_hideTimer',null),_0x3a44bb(this,'_eventUnsubscribe',null),(this[_0x455d15(0x334)]=_0x24cb5d,this[_0x455d15(0x38a)]=_0x4dc353,this['_docSkeleton']=_0x522178,this[_0x455d15(0x34e)]=_0x1b17a1,this['_render']());}set[_0x46a43e(0x28f)](_0x5f5d00){const _0x2d19af=_0x46a43e;_0x5f5d00?(this['_anchorDot']&&this[_0x2d19af(0x477)][_0x2d19af(0x46f)](),this['_textBubble']&&this[_0x2d19af(0x202)][_0x2d19af(0x4f6)]()):(this[_0x2d19af(0x477)]&&this['_anchorDot']['show'](),this[_0x2d19af(0x202)]&&this[_0x2d19af(0x202)][_0x2d19af(0x46f)]());}['dispose'](){const _0x40b8d7=_0x46a43e;for(const _0x28e6fe of this[_0x40b8d7(0x36c)])_0x28e6fe[_0x40b8d7(0x173)]();this[_0x40b8d7(0x202)]&&this[_0x40b8d7(0x202)][_0x40b8d7(0x173)](),this[_0x40b8d7(0x477)]&&this[_0x40b8d7(0x477)][_0x40b8d7(0x173)](),this[_0x40b8d7(0x4f3)]&&this['_anchor'][_0x40b8d7(0x173)](),this['_eventUnsubscribe']&&this[_0x40b8d7(0x29c)]();}['_render'](){const _0x39bd2b=_0x46a43e,{_docSkeleton:_0x3665a8,_document:_0x4f62bd}=this,{color:_0x1d7345,name:_0x10df57,ranges:_0x350d9a}=this['_cursor'],_0x385633=_0x4f62bd[_0x39bd2b(0x438)](),{docsLeft:_0x1fa649,docsTop:_0x51ae81}=_0x385633,_0x4904d2=new _0x56ae03[(_0x39bd2b(0x37c))](_0x385633,_0x3665a8);for(const {startOffset:_0x3fb8ec,endOffset:_0x4a81c4,collapsed:_0x198df5,isActive:_0x377119}of _0x350d9a){const _0x23bd45=_0x3665a8[_0x39bd2b(0x3e3)](_0x3fb8ec),_0x38421b=_0x3665a8['findNodePositionByCharIndex'](_0x4a81c4);if(_0x377119){const {contentBoxPointGroup:_0x580dfe}=_0x4904d2[_0x39bd2b(0x2ba)](_0x38421b,_0x38421b);if(_0x580dfe[_0x39bd2b(0x1bb)]===0x0)continue;this[_0x39bd2b(0x1a9)](_0x1d7345,_0x580dfe,_0x1fa649,_0x51ae81,_0x10df57),this[_0x39bd2b(0x29c)]=this[_0x39bd2b(0x36f)]();}if(!_0x198df5){const {contentBoxPointGroup:_0x227b0b}=_0x4904d2[_0x39bd2b(0x2ba)](_0x23bd45,_0x38421b);if(_0x227b0b[_0x39bd2b(0x1bb)]===0x0)continue;this[_0x39bd2b(0x372)](_0x1d7345,_0x227b0b,_0x1fa649,_0x51ae81);}}}['_drawAnchor'](_0x30d7d3,_0xf146ef,_0x307605,_0x4fe1ad,_0x3e8a74){const _0x403960=_0x46a43e,_0x1b2227=this[_0x403960(0x251)](_0xf146ef),{left:_0x376185,top:_0x4ce72a,height:_0x52659b}=_0x1b2227,_0x1ab52a=this['_getScale'](),_0x1e7363=_0x78837f/_0x1ab52a,_0x14f7c7=new _0x56ae03[(_0x403960(0x1de))](_0x5c5b74+_0x5019cf[_0x403960(0x1f7)][_0x403960(0x4ae)](_0x29d25),{'left':_0x376185+_0x307605-_0x1e7363,'top':_0x4ce72a+_0x4fe1ad,'height':_0x52659b,'width':_0x1ddebf,'fill':_0x30d7d3||_0x56ae03[_0x403960(0x1f1)](_0x5019cf[_0x403960(0x367)][_0x403960(0x47e)],0x0),'strokeWidth':_0x1e7363,'stroke':_0x37103c,'evented':!0x0});this[_0x403960(0x4f3)]=_0x14f7c7,this['_scene'][_0x403960(0x4b2)](_0x14f7c7,_0x56ae03['TEXT_RANGE_LAYER_INDEX']);const _0x4f5fb6=new _0x56ae03[(_0x403960(0x1de))](_0x5c5b74+_0x5019cf['Tools'][_0x403960(0x4ae)](_0x29d25),{'left':_0x376185+_0x307605-_0x1e7363,'top':_0x4ce72a+_0x4fe1ad-_0x2478ef/0x2,'height':_0x2478ef,'width':_0x2478ef,'fill':_0x30d7d3||_0x56ae03[_0x403960(0x1f1)](_0x5019cf[_0x403960(0x367)][_0x403960(0x47e)],0x0),'strokeWidth':0x0,'stroke':_0x30d7d3||_0x56ae03[_0x403960(0x1f1)](_0x5019cf['COLORS'][_0x403960(0x47e)],0x0),'evented':!0x1});this[_0x403960(0x477)]=_0x4f5fb6,this['_scene'][_0x403960(0x4b2)](_0x4f5fb6,_0x56ae03[_0x403960(0x29a)]);const _0x234a5e=new _0x450f66(_0x5c5b74+_0x5019cf[_0x403960(0x1f7)][_0x403960(0x4ae)](_0x29d25),{'left':_0x376185+_0x307605-_0x1e7363,'top':_0x4ce72a+_0x4fe1ad-_0x4617f7,'text':_0x3e8a74,'color':_0x30d7d3});this[_0x403960(0x202)]=_0x234a5e,this['_scene']['addObject'](_0x234a5e,_0x56ae03[_0x403960(0x29a)]),this[_0x403960(0x28f)]=!0x1;}[_0x46a43e(0x36f)](){const _0x2aaeba=_0x46a43e,_0x357b8e=this['_anchor'][_0x2aaeba(0x32c)][_0x2aaeba(0x381)](()=>{const _0x35475a=_0x2aaeba;this[_0x35475a(0x28f)]=!0x0;}),_0x54a95a=this['_anchor'][_0x2aaeba(0x305)][_0x2aaeba(0x381)](()=>{const _0x4f0a45=_0x2aaeba;this[_0x4f0a45(0x461)]&&clearTimeout(this[_0x4f0a45(0x461)]),this[_0x4f0a45(0x461)]=setTimeout(()=>{const _0x2275a5=_0x4f0a45;this[_0x2275a5(0x28f)]=!0x1;},0x7d0);});return()=>{const _0x2a1c25=_0x2aaeba;_0x357b8e[_0x2a1c25(0x1d0)](),_0x54a95a[_0x2a1c25(0x1d0)]();};}[_0x46a43e(0x372)](_0x4ea770,_0x1b5164,_0x208e3e,_0x4a8d29){const _0x459548=_0x46a43e,_0x399f0a=new _0x5019cf[(_0x459548(0x170))](_0x4ea770)['setAlpha'](0.2)[_0x459548(0x2b3)](),_0x23bc50=new _0x56ae03[(_0x459548(0x189))](_0x18208a+_0x5019cf[_0x459548(0x1f7)][_0x459548(0x4ae)](_0x29d25),{'pointsGroup':_0x1b5164,'fill':_0x399f0a||_0x56ae03['getColor'](_0x5019cf['COLORS']['black'],0.2),'left':_0x208e3e,'top':_0x4a8d29,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x459548(0x36c)]['push'](_0x23bc50),this[_0x459548(0x38a)][_0x459548(0x4b2)](_0x23bc50,_0x56ae03[_0x459548(0x29a)]);}[_0x46a43e(0x251)](_0x260864){const _0x3f6dbb=_0x260864[0x0],_0x4413cd=_0x3f6dbb[0x0],_0x4b6b69=_0x3f6dbb[0x2],{x:_0x5d0531,y:_0x4adea9}=_0x4413cd,{x:_0x42d67d,y:_0x5413ff}=_0x4b6b69;return{'left':_0x5d0531,'top':_0x4adea9,'width':_0x42d67d-_0x5d0531,'height':_0x5413ff-_0x4adea9};}[_0x46a43e(0x2fe)](){const _0x1f73a0=_0x46a43e,{scaleX:_0x768e7a,scaleY:_0x3b9d42}=this[_0x1f73a0(0x38a)][_0x1f73a0(0x3ef)]();return Math[_0x1f73a0(0x492)](_0x768e7a,_0x3b9d42);}}var _0x223c74=Object[_0x46a43e(0x1c7)],_0x5538c6=Object[_0x46a43e(0x1e9)],_0x599320=(_0x2f4c99,_0x34fac1,_0x94f53f,_0x2227b5)=>{const _0x2b5482=_0x46a43e;for(var _0x51c957=_0x2227b5>0x1?void 0x0:_0x2227b5?_0x5538c6(_0x34fac1,_0x94f53f):_0x34fac1,_0x95320=_0x2f4c99[_0x2b5482(0x1bb)]-0x1,_0x3a711a;_0x95320>=0x0;_0x95320--)(_0x3a711a=_0x2f4c99[_0x95320])&&(_0x51c957=(_0x2227b5?_0x3a711a(_0x34fac1,_0x94f53f,_0x51c957):_0x3a711a(_0x51c957))||_0x51c957);return _0x2227b5&&_0x51c957&&_0x223c74(_0x34fac1,_0x94f53f,_0x51c957),_0x51c957;},_0x1c789f=(_0x4c7d91,_0x14bda2)=>(_0x24584,_0x401b49)=>_0x14bda2(_0x24584,_0x401b49,_0x4c7d91);let _0x1fd8eb=class extends _0x5019cf[_0x46a43e(0x1c0)]{constructor(_0x476f72,_0x588ca0,_0x36f4b3,_0x413c5e,_0x5a38d1){const _0x41d285=_0x46a43e;super(),_0x3a44bb(this,'_cursors',[]),(this[_0x41d285(0x3f6)]=_0x476f72,this['_univerInstanceService']=_0x588ca0,this[_0x41d285(0x43e)]=_0x36f4b3,this['_docSkeletonManagerService']=_0x413c5e,this[_0x41d285(0x2da)]=_0x5a38d1,this[_0x41d285(0x336)]());}[_0x46a43e(0x336)](){const _0x573173=_0x46a43e;this['_docSkeletonManagerService'][_0x573173(0x2cb)][_0x573173(0x4b0)](_0x33876a[_0x573173(0x41a)](this[_0x573173(0x4a5)]),_0x33876a[_0x573173(0x426)](_0x4fe09c=>{const _0x509cdb=_0x573173;if(_0x4fe09c){const _0x259760=_0x4fe09c['getViewModel']()[_0x509cdb(0x16e)]()[_0x509cdb(0x2c6)]();return _0x54735b[_0x509cdb(0x491)](this[_0x509cdb(0x3f6)][_0x509cdb(0x3a3)](_0x259760),this[_0x509cdb(0x2da)][_0x509cdb(0x35d)])['pipe'](_0x33876a[_0x509cdb(0x473)](([_0x1b9668,_0x1afa1b])=>({'skeleton':_0x4fe09c,'cursors':[..._0x1b9668['values']()][_0x509cdb(0x448)](_0x1c217d=>({..._0x1c217d,'color':_0x1afa1b[_0x1c217d[_0x509cdb(0x3c9)]]}))})));}return _0x54735b['of']({'skeleton':null,'cursors':[]});}))[_0x573173(0x324)](({skeleton:_0x8259ef,cursors:_0x9d5016})=>{const _0x51dfab=_0x573173;this[_0x51dfab(0x31e)](),_0x8259ef&&this[_0x51dfab(0x18e)](_0x8259ef,_0x9d5016);});}[_0x46a43e(0x18e)](_0x287988,_0x2443fb){const _0x3b380f=_0x46a43e,_0x559d70=this[_0x3b380f(0x22b)]();if(_0x559d70==null)return;const {scene:_0x516513,document:_0x40abed}=_0x559d70,_0xdf19cd=_0x2443fb[_0x3b380f(0x473)](_0x5ad43e=>new _0x3e4ea2(_0x5ad43e,_0x516513,_0x287988,_0x40abed));this[_0x3b380f(0x455)]=_0xdf19cd;}['_removeCollabCursors'](){const _0x101a27=_0x46a43e;this[_0x101a27(0x455)][_0x101a27(0x39a)](_0x3e2ff5=>_0x3e2ff5[_0x101a27(0x173)]()),this[_0x101a27(0x455)]=[];}[_0x46a43e(0x22b)](){const _0x1d973d=_0x46a43e;return _0x38fb70['getDocObject'](this[_0x1d973d(0x397)],this['_renderManagerService']);}};_0x1fd8eb=_0x599320([_0x5019cf[_0x46a43e(0x3b2)](_0x5019cf[_0x46a43e(0x2ed)][_0x46a43e(0x3e9)],_0x1fd8eb),_0x1c789f(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x4a938f)),_0x1c789f(0x1,_0x5019cf[_0x46a43e(0x4e2)]),_0x1c789f(0x2,_0x56ae03[_0x46a43e(0x1db)]),_0x1c789f(0x3,_0x245a54[_0x46a43e(0x4b5)](_0x38fb70[_0x46a43e(0x393)])),_0x1c789f(0x4,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf['ThemeService']))],_0x1fd8eb);var _0x4e8af4=Object[_0x46a43e(0x1c7)],_0x5216e7=Object[_0x46a43e(0x1e9)],_0x46a084=(_0x40b323,_0x4a5246,_0x5c4eac,_0x4ad088)=>{const _0xba398=_0x46a43e;for(var _0x50e426=_0x4ad088>0x1?void 0x0:_0x4ad088?_0x5216e7(_0x4a5246,_0x5c4eac):_0x4a5246,_0x134f38=_0x40b323[_0xba398(0x1bb)]-0x1,_0x43fd4b;_0x134f38>=0x0;_0x134f38--)(_0x43fd4b=_0x40b323[_0x134f38])&&(_0x50e426=(_0x4ad088?_0x43fd4b(_0x4a5246,_0x5c4eac,_0x50e426):_0x43fd4b(_0x50e426))||_0x50e426);return _0x4ad088&&_0x50e426&&_0x4e8af4(_0x4a5246,_0x5c4eac,_0x50e426),_0x50e426;},_0x38494e=(_0x5f5405,_0x313adf)=>(_0x53ac3a,_0x2439fa)=>_0x313adf(_0x53ac3a,_0x2439fa,_0x5f5405);let _0x58a517=class{constructor(_0x3b6dfe,_0x29b93c,_0x9e8c73){const _0x151bc5=_0x46a43e;this[_0x151bc5(0x317)]=_0x3b6dfe,this['_httpService']=_0x29b93c,this[_0x151bc5(0x44b)]=_0x9e8c73,this['init']();}['init'](){const _0x272482=_0x46a43e;this[_0x272482(0x463)][_0x272482(0x216)]({'priority':0x1,'interceptor':(_0x1eeeb4,_0x4fa1d4)=>_0x4fa1d4(_0x1eeeb4)[_0x272482(0x4b0)](_0x54735b['concatMap'](async _0x5d7567=>{const _0x1e1346=_0x272482,_0x34bba9=_0x5d7567;if(_0x34bba9[_0x1e1346(0x4a1)]===0x191&&window[_0x1e1346(0x289)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x2da50e=window[_0x1e1346(0x24e)](window[_0x1e1346(0x217)]['href']);window['location'][_0x1e1346(0x486)]=this[_0x1e1346(0x505)]()+_0x1e1346(0x268)+_0x2da50e;}return _0x34bba9;}))});}[_0x46a43e(0x505)](){const _0x2843f6=_0x46a43e;var _0x363ad5;return(_0x363ad5=this[_0x2843f6(0x317)]['getConfig'](_0xb62ff0))!=null?_0x363ad5:_0x39ceb9;}};_0x58a517=_0x46a084([_0x38494e(0x0,_0x5019cf['IConfigService']),_0x38494e(0x1,_0x245a54[_0x46a43e(0x4b5)](_0x3e6592[_0x46a43e(0x494)])),_0x38494e(0x2,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x3a5)]))],_0x58a517);var _0x53e0ad=Object[_0x46a43e(0x1c7)],_0x1b61a8=Object[_0x46a43e(0x1e9)],_0x4879a6=(_0x5b1aac,_0x12b7f0,_0x573ad5,_0x38b816)=>{for(var _0x3eeb37=_0x38b816>0x1?void 0x0:_0x38b816?_0x1b61a8(_0x12b7f0,_0x573ad5):_0x12b7f0,_0x2d3173=_0x5b1aac['length']-0x1,_0x112966;_0x2d3173>=0x0;_0x2d3173--)(_0x112966=_0x5b1aac[_0x2d3173])&&(_0x3eeb37=(_0x38b816?_0x112966(_0x12b7f0,_0x573ad5,_0x3eeb37):_0x112966(_0x3eeb37))||_0x3eeb37);return _0x38b816&&_0x3eeb37&&_0x53e0ad(_0x12b7f0,_0x573ad5,_0x3eeb37),_0x3eeb37;},_0xeaa78c=(_0x456574,_0x57e697)=>(_0x5daf18,_0x16b982)=>_0x57e697(_0x5daf18,_0x16b982,_0x456574);const _0x189f40=_0x46a43e(0x377),_0x9e5796=_0x46a43e(0x254);_0x575351[_0x46a43e(0x253)]=class{constructor(_0x73fcb3,_0x13688c){const _0x5cb042=_0x46a43e;this[_0x5cb042(0x333)]=_0x73fcb3,this[_0x5cb042(0x317)]=_0x13688c;}[_0x46a43e(0x3bc)](){const _0x1c6229=_0x46a43e;var _0x2deb8c;return(_0x2deb8c=this[_0x1c6229(0x317)][_0x1c6229(0x3ea)](_0x189f40))!=null?_0x2deb8c:_0x9e5796;}async['create'](_0x131e25){const _0x556618=_0x46a43e,_0x1c7d64=this['_getAPIPrefixPath']()+'/'+_0x131e25['objectType']+'/object';return(await this[_0x556618(0x333)][_0x556618(0x2a6)](_0x1c7d64,{'body':_0x131e25}))['body']['objectID']||'';}async[_0x46a43e(0x25d)](_0x509d14){const _0x214b66=_0x46a43e,_0x12cfba=this[_0x214b66(0x3bc)]()+'/-/object/list';return(await this[_0x214b66(0x333)]['post'](_0x12cfba,{'body':_0x509d14}))[_0x214b66(0x190)][_0x214b66(0x350)];}async[_0x46a43e(0x26b)](_0x551835){const _0x2423b6=_0x46a43e,_0x2ad63b=this[_0x2423b6(0x3bc)]()+'/'+_0x551835[_0x2423b6(0x3cc)]+_0x2423b6(0x411)+_0x551835[_0x2423b6(0x3a9)];await this[_0x2423b6(0x333)][_0x2423b6(0x409)](_0x2ad63b,{'body':_0x551835});}async[_0x46a43e(0x19a)](_0x425f9a){const _0x3b438e=_0x46a43e,_0x5879dd=this[_0x3b438e(0x3bc)]()+'/'+_0x425f9a[_0x3b438e(0x3cc)]+_0x3b438e(0x411)+_0x425f9a[_0x3b438e(0x3a9)]+'/allowed';return(await this[_0x3b438e(0x333)][_0x3b438e(0x2a6)](_0x5879dd,{'body':_0x425f9a}))['body'][_0x3b438e(0x25e)];}async[_0x46a43e(0x290)](_0x3627b3){const _0x36d40a=_0x46a43e,_0x10cee1=this[_0x36d40a(0x3bc)]()+_0x36d40a(0x2be);return(await this[_0x36d40a(0x333)][_0x36d40a(0x2a6)](_0x10cee1,{'body':{'requests':_0x3627b3}}))[_0x36d40a(0x190)]['objectActions'];}async[_0x46a43e(0x1f0)](_0x1f4032){const _0x4140be=_0x46a43e,_0x55247e=this[_0x4140be(0x3bc)]()+'/'+_0x1f4032[_0x4140be(0x3cc)]+_0x4140be(0x19b),_0x4da844=await this[_0x4140be(0x333)][_0x4140be(0x2a6)](_0x55247e,{'body':_0x1f4032});return{'roles':_0x4da844['body']['roles'],'actions':_0x4da844[_0x4140be(0x190)][_0x4140be(0x25e)]};}async[_0x46a43e(0x3e5)](_0x5e011f){const _0xa53079=_0x46a43e,_0x341d70=this['_getAPIPrefixPath']()+'/collaborator';await this[_0xa53079(0x333)][_0xa53079(0x352)](_0x341d70,{'params':{'collaboratorID':_0x5e011f[_0xa53079(0x43d)],'objectID':_0x5e011f[_0xa53079(0x3a9)],'unitID':_0x5e011f[_0xa53079(0x166)]}});}async[_0x46a43e(0x309)](_0x445888){const _0x580381=_0x46a43e,_0x3d371e=this[_0x580381(0x3bc)]()+_0x580381(0x26d);await this['_HTTPService'][_0x580381(0x208)](_0x3d371e,{'body':_0x445888});}async[_0x46a43e(0x2bf)](_0x5d8b47){const _0x10aa49=_0x46a43e,_0x35bd48=this[_0x10aa49(0x3bc)]()+_0x10aa49(0x26d);await this[_0x10aa49(0x333)]['post'](_0x35bd48,{'body':_0x5d8b47});}async[_0x46a43e(0x3e7)](_0x47f645){const _0x51d0e0=_0x46a43e,_0x27bd5a=this[_0x51d0e0(0x3bc)]()+'/collaborator';return(await this[_0x51d0e0(0x333)][_0x51d0e0(0x2db)](_0x27bd5a,{'params':{'objectID':_0x47f645[_0x51d0e0(0x3a9)],'unitID':_0x47f645[_0x51d0e0(0x166)]}}))[_0x51d0e0(0x190)][_0x51d0e0(0x1df)];}async[_0x46a43e(0x2a2)](_0x1c28b7){const _0x3f4fff=_0x46a43e,_0xb3487a=this['_getAPIPrefixPath']()+_0x3f4fff(0x26d);await this[_0x3f4fff(0x333)][_0x3f4fff(0x409)](_0xb3487a,{'body':_0x1c28b7});}},_0x575351['AuthzIoHttpService']=_0x4879a6([_0xeaa78c(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x3e6592[_0x46a43e(0x494)])),_0xeaa78c(0x1,_0x245a54[_0x46a43e(0x4b5)](_0x5019cf[_0x46a43e(0x460)]))],_0x575351[_0x46a43e(0x253)]);var _0x203421=Object['defineProperty'],_0x40ee38=Object[_0x46a43e(0x1e9)],_0x25045f=(_0x19478d,_0x59638b,_0x2976e9,_0x1eec1a)=>{const _0x5ea692=_0x46a43e;for(var _0x194c32=_0x1eec1a>0x1?void 0x0:_0x1eec1a?_0x40ee38(_0x59638b,_0x2976e9):_0x59638b,_0x2683b9=_0x19478d[_0x5ea692(0x1bb)]-0x1,_0x2ae328;_0x2683b9>=0x0;_0x2683b9--)(_0x2ae328=_0x19478d[_0x2683b9])&&(_0x194c32=(_0x1eec1a?_0x2ae328(_0x59638b,_0x2976e9,_0x194c32):_0x2ae328(_0x194c32))||_0x194c32);return _0x1eec1a&&_0x194c32&&_0x203421(_0x59638b,_0x2976e9,_0x194c32),_0x194c32;},_0x258a1e=(_0x54c684,_0x193bd3)=>(_0x281f2f,_0x43f9ff)=>_0x193bd3(_0x281f2f,_0x43f9ff,_0x54c684);const _0x5d7a8f=['image/png',_0x46a43e(0x263),_0x46a43e(0x3bd),_0x46a43e(0x49f),'image/bmp'],_0x14a658=0x5*0x400*0x400,_0x3842de='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x5a13d8=_0x46a43e(0x27f),_0x460fe6=_0x46a43e(0x3d0),_0x279b2b=_0x46a43e(0x330);let _0x461b27=class{constructor(_0x594e20,_0x408584){const _0x20c417=_0x46a43e;_0x3a44bb(this,_0x20c417(0x255),0x0),_0x3a44bb(this,_0x20c417(0x429),new _0x54735b[(_0x20c417(0x238))]()),_0x3a44bb(this,_0x20c417(0x49e),this[_0x20c417(0x429)]),_0x3a44bb(this,_0x20c417(0x23c),new Map()),(this['_httpService']=_0x594e20,this[_0x20c417(0x317)]=_0x408584);}[_0x46a43e(0x443)](_0x1c458f){const _0xb2d795=_0x46a43e;this[_0xb2d795(0x255)]=_0x1c458f,this[_0xb2d795(0x429)][_0xb2d795(0x230)](_0x1c458f);}[_0x46a43e(0x1aa)](_0x30dc90,_0x2ea06a){const _0x197dfa=_0x46a43e;if(_0x2ea06a===_0x11f56d[_0x197dfa(0x239)]['BASE64']){const _0x4540ca=new Image();return _0x4540ca[_0x197dfa(0x478)]=_0x30dc90,_0x4540ca;}return this[_0x197dfa(0x23c)][_0x197dfa(0x2db)](_0x30dc90);}['addImageSourceCache'](_0x269446,_0x4f5dea,_0xda7d98){const _0x1864cc=_0x46a43e;_0x4f5dea===_0x11f56d[_0x1864cc(0x239)][_0x1864cc(0x4d0)]||_0xda7d98==null||this[_0x1864cc(0x23c)][_0x1864cc(0x3f3)](_0x269446,_0xda7d98);}async['getImage'](_0x104c55){const _0x220fb8=_0x46a43e;try{const _0x467b51=this['_replaceFileID'](this[_0x220fb8(0x388)](),''+_0x104c55),_0x1a332e=(await this[_0x220fb8(0x463)][_0x220fb8(0x2db)](_0x467b51))['body'];return _0x1a332e[_0x220fb8(0x3a0)]&&_0x1a332e['error'][_0x220fb8(0x471)]===_0x2fd8ee['OK']?Promise[_0x220fb8(0x4bd)](_0x1a332e[_0x220fb8(0x3d9)]):Promise[_0x220fb8(0x3a8)](_0x1a332e[_0x220fb8(0x3a0)]);}catch(_0x2756e2){return Promise[_0x220fb8(0x3a8)](_0x2756e2);}}async[_0x46a43e(0x506)](_0xb1943c){const _0x23e377=_0x46a43e;let _0x296420='';if(!_0x5d7a8f['includes'](_0xb1943c[_0x23e377(0x219)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x11f56d[_0x23e377(0x196)][_0x23e377(0x447)]));if(_0xb1943c[_0x23e377(0x282)]>_0x14a658)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x11f56d['ImageUploadStatusType'][_0x23e377(0x2cf)]));try{const _0x50140f=new FormData();_0x50140f[_0x23e377(0x1f4)](_0x23e377(0x4c7),_0xb1943c);const _0x4d5790=this['_getUploadFileURL']()+_0x23e377(0x1d3)+_0xb1943c[_0x23e377(0x282)][_0x23e377(0x1f2)](),_0xad44dd=await(await fetch(_0x4d5790,{'method':_0x23e377(0x495),'body':_0x50140f}))[_0x23e377(0x3f0)]();if(typeof _0xad44dd[_0x23e377(0x30c)]!=_0x23e377(0x4ab))return this['_decreaseWaiting'](),Promise[_0x23e377(0x3a8)](new Error(_0x11f56d[_0x23e377(0x196)][_0x23e377(0x436)]));_0x296420=_0xad44dd['FileId'];}catch{return this[_0x23e377(0x48d)](),Promise[_0x23e377(0x3a8)](new Error(_0x11f56d[_0x23e377(0x196)][_0x23e377(0x436)]));}return new Promise((_0x5e5d0c,_0x44cf9a)=>{const _0x2ce6ec=_0x23e377,_0x5b9b30=new FileReader();_0x5b9b30['readAsDataURL'](_0xb1943c),_0x5b9b30[_0x2ce6ec(0x24a)]=_0x40dec2=>{const _0x4be2bf=_0x2ce6ec;var _0x100720;const _0x115ce8=(_0x100720=_0x40dec2[_0x4be2bf(0x3f9)])==null?void 0x0:_0x100720[_0x4be2bf(0x3ec)];if(_0x115ce8==null){this[_0x4be2bf(0x48d)](),_0x44cf9a(new Error(_0x11f56d[_0x4be2bf(0x196)][_0x4be2bf(0x436)]));return;}const _0x3c4357=_0x5019cf[_0x4be2bf(0x1f7)][_0x4be2bf(0x4ae)](0x6);_0x5e5d0c({'imageId':_0x3c4357,'imageSourceType':_0x11f56d[_0x4be2bf(0x239)][_0x4be2bf(0x17a)],'source':_0x296420,'base64Cache':_0x115ce8,'status':_0x11f56d[_0x4be2bf(0x196)][_0x4be2bf(0x3e0)]}),this['_decreaseWaiting']();};});}[_0x46a43e(0x215)](){const _0x4ef7de=_0x46a43e;var _0x50f127;return(_0x50f127=this[_0x4ef7de(0x317)][_0x4ef7de(0x3ea)](_0x3842de))!=null?_0x50f127:_0x5a13d8;}[_0x46a43e(0x388)](){const _0x4869bc=_0x46a43e;var _0x38126b;return(_0x38126b=this[_0x4869bc(0x317)][_0x4869bc(0x3ea)](_0x460fe6))!=null?_0x38126b:_0x279b2b;}[_0x46a43e(0x169)](_0x39a729,_0x994a58){const _0x5a527b=_0x46a43e;return _0x39a729[_0x5a527b(0x439)]('{fileID}',_0x994a58);}[_0x46a43e(0x48d)](){const _0x56e48f=_0x46a43e;this['_waitCount']-=0x1,this[_0x56e48f(0x429)][_0x56e48f(0x230)](this['_waitCount']);}};_0x461b27=_0x25045f([_0x258a1e(0x0,_0x245a54[_0x46a43e(0x4b5)](_0x3e6592[_0x46a43e(0x494)])),_0x258a1e(0x1,_0x5019cf['IConfigService'])],_0x461b27);var _0x381593=Object[_0x46a43e(0x1c7)],_0x50a92a=Object[_0x46a43e(0x1e9)],_0x4135f0=(_0x58ae09,_0x53f85c,_0x42ee5c)=>_0x53f85c in _0x58ae09?_0x381593(_0x58ae09,_0x53f85c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42ee5c}):_0x58ae09[_0x53f85c]=_0x42ee5c,_0x20c680=(_0x54ab19,_0xcbd57d,_0x37edd4,_0x209365)=>{for(var _0x5f0513=_0x209365>0x1?void 0x0:_0x209365?_0x50a92a(_0xcbd57d,_0x37edd4):_0xcbd57d,_0x2d5ebc=_0x54ab19['length']-0x1,_0x4669aa;_0x2d5ebc>=0x0;_0x2d5ebc--)(_0x4669aa=_0x54ab19[_0x2d5ebc])&&(_0x5f0513=(_0x209365?_0x4669aa(_0xcbd57d,_0x37edd4,_0x5f0513):_0x4669aa(_0x5f0513))||_0x5f0513);return _0x209365&&_0x5f0513&&_0x381593(_0xcbd57d,_0x37edd4,_0x5f0513),_0x5f0513;},_0x4b0e38=(_0x316b00,_0x2e9100)=>(_0x37452e,_0x2f9316)=>_0x2e9100(_0x37452e,_0x2f9316,_0x316b00),_0x4f4e18=(_0x11c77d,_0x24f845,_0x191ab9)=>_0x4135f0(_0x11c77d,_0x24f845+'',_0x191ab9);const _0x5877f9='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x575351[_0x46a43e(0x2f3)]=class extends _0x5019cf['Plugin']{constructor(_0x47f271,_0x547830,_0x1c525d){const _0x32a191=_0x46a43e;super(),this[_0x32a191(0x4d7)]=_0x47f271,this[_0x32a191(0x433)]=_0x547830,this[_0x32a191(0x383)]=_0x1c525d;}[_0x46a43e(0x1fc)](_0x4b1764){const _0x360a82=_0x46a43e;var _0x2f39f0,_0x43181e,_0x211267,_0x2c9d43,_0x15b58e;_0x4b1764[_0x360a82(0x209)](_0x5019cf['IUndoRedoService'])&&this[_0x360a82(0x433)][_0x360a82(0x3a0)](_0x360a82(0x4df),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x132f65=[[_0x5019cf[_0x360a82(0x33a)],{'useClass':_0x18c703}],[_0x575351[_0x360a82(0x4be)]],[_0x10d691],[_0x3e6592[_0x360a82(0x494)]],[_0x279dda,{'useClass':_0x1fff2a}],[_0x4a6424],[_0x575351[_0x360a82(0x2d1)]],[_0x3e6592[_0x360a82(0x28e)]],[_0x20cd4b],[_0x5cf952],[_0xc2ebf4],[_0x141f6f],[_0x58a517],[_0x2bdb70,{'useClass':(_0x43181e=(_0x2f39f0=this['_config'])==null?void 0x0:_0x2f39f0['socketService'])!=null?_0x43181e:_0x575351[_0x360a82(0x1b9)]}],[_0x3e6592['IHTTPImplementation'],{'useClass':_0x3e6592[_0x360a82(0x49d)]}],[_0x5019cf['ISnapshotServerService'],{'useClass':_0x201e04}],[_0x5019cf['IAuthzIoService'],{'useClass':_0x575351[_0x360a82(0x253)]}],[_0x11f56d[_0x360a82(0x427)],{'useClass':_0x461b27}],[_0x575351['CollaborationController']],[_0x575351['DataLoaderController']],[_0x575351['DesktopCollaborationStatusDisplayController']],[_0x5bbd97],[_0x4a938f]];(_0x211267=this[_0x360a82(0x4d7)])!=null&&_0x211267[_0x360a82(0x39d)]&&_0x132f65[_0x360a82(0x23e)]([_0x235b99,{'useClass':_0x23b11a}]),((_0x2c9d43=this[_0x360a82(0x4d7)])==null?void 0x0:_0x2c9d43[_0x360a82(0x340)])==null||this[_0x360a82(0x4d7)][_0x360a82(0x340)][_0x360a82(0x25f)](_0x5019cf[_0x360a82(0x28c)][_0x360a82(0x258)])?_0x132f65[_0x360a82(0x23e)]([_0x22d685]):this['_config'][_0x360a82(0x340)][_0x360a82(0x25f)](_0x5019cf[_0x360a82(0x28c)][_0x360a82(0x27d)])&&_0x132f65[_0x360a82(0x23e)]([_0x1fd8eb]),_0x132f65=_0x5019cf[_0x360a82(0x1c1)](_0x132f65,(_0x15b58e=this[_0x360a82(0x4d7)])==null?void 0x0:_0x15b58e[_0x360a82(0x1d5)]),_0x132f65[_0x360a82(0x39a)](_0x5a07aa=>_0x4b1764['add'](_0x5a07aa)),_0x4b1764[_0x360a82(0x2db)](_0x3e6592[_0x360a82(0x494)])[_0x360a82(0x216)]({'priority':0x14,'interceptor':_0x3e6592[_0x360a82(0x213)]({'maxParallel':0x6})}),this[_0x360a82(0x3d1)]();}['_initModules'](){const _0x32ac6d=_0x46a43e;var _0x1b8bf3,_0x27933a;(_0x1b8bf3=this[_0x32ac6d(0x4d7)])!=null&&_0x1b8bf3[_0x32ac6d(0x3be)]||this[_0x32ac6d(0x383)][_0x32ac6d(0x2db)](_0x575351[_0x32ac6d(0x2d1)])[_0x32ac6d(0x4a7)](),(_0x27933a=this['_config'])!=null&&_0x27933a[_0x32ac6d(0x48c)]&&this[_0x32ac6d(0x383)][_0x32ac6d(0x2db)](_0x58a517);}},_0x4f4e18(_0x575351['UniverCollaborationClientPlugin'],_0x46a43e(0x273),_0x5877f9),_0x575351['UniverCollaborationClientPlugin']=_0x20c680([_0x5019cf[_0x46a43e(0x36d)](_0x38ce1a[_0x46a43e(0x297)]),_0x4b0e38(0x1,_0x5019cf['ILogService']),_0x4b0e38(0x2,_0x245a54[_0x46a43e(0x4b5)](_0x245a54[_0x46a43e(0x236)]))],_0x575351[_0x46a43e(0x2f3)]),_0x575351[_0x46a43e(0x377)]=_0x189f40,_0x575351[_0x46a43e(0x3c4)]=_0x3b6bea,_0x575351[_0x46a43e(0x201)]=_0x48a35f,_0x575351['CollaborationStatus']=_0x348409,_0x575351[_0x46a43e(0x31f)]=_0x263e0e,_0x575351[_0x46a43e(0x2b1)]=_0x2528f8,_0x575351[_0x46a43e(0x3b6)]=_0x405e7e,_0x575351['ICollaborationSocketService']=_0x2bdb70,_0x575351[_0x46a43e(0x32b)]=_0x279dda,_0x575351[_0x46a43e(0x3de)]=_0x4a1864,_0x575351[_0x46a43e(0x1e3)]=_0xb62ff0,_0x575351[_0x46a43e(0x1e4)]=_0xb347b,_0x575351['SNAPSHOT_SERVER_URL_KEY']=_0xb4801b,_0x575351[_0x46a43e(0x487)]=_0x25d6a7,_0x575351[_0x46a43e(0x222)]=_0x1ae891,_0x575351[_0x46a43e(0x1b6)]=_0x1fff2a,_0x575351[_0x46a43e(0x2aa)]=_0x50f340,_0x575351[_0x46a43e(0x445)]=_0x171c24,Object[_0x46a43e(0x1c7)](_0x575351,Symbol[_0x46a43e(0x45b)],{'value':_0x46a43e(0x40e)});}));function _0x15ab(){const _0x3874a6=['\x0aAfter:\x20','Workbook','isTransformMutationsWithChangesetFailure','_univerInstanceService','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET','forEach','_memberService','disposeUnit','enableSingleActiveInstanceLock','_getUndoStack','pushState','error','forwardRef','MoveRangeCommandId','getCollabCursors$','handleInsertRangeMoveRight','LocaleService','_isPermissionRej','init','reject','objectID','_id','div','serializeRangeWithSheet','@univerjs/core','text','awaiting_with_pending','editing\x20status\x20changed\x20to','_handleJoinEvent','OnLifecycle','registerRefRange','off-line-single_clip0_910_343','roomMembers','HEARTBEAT_TIMEOUT_KEY','_pendingMutations','function','ICommandService','transformMutationsWithChangeset','lodash/debounce','_getAPIPrefixPath','image/jpg','enableOfflineEditing','getMemberID','storage','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TextSelectionManagerService','indexOf','COLLAB_SUBMIT_CHANGESET_URL_KEY','UNKNOWN_CODE','concat','message$','_cachedData','color','univerjs-icon\x20univerjs-icon-','YUUMI_URL_COL_OUT_OF_RANGE','objectType','clearInterval','_scheduleTimestamp','newValue','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_initModules','APPLY_REVISION_CONFILICT','collab-text-anchor-','transformByState','current','LocalUndoRedoService','Univer','values','url','top','0\x200\x2017\x2016','_onRecvEvent','_transformRemoteChangesetByIMECache','LOCAL_CACHE_INTERVAL_KEY','INTERNAL_ERROR','SUCCUSS','merge','UserManagerService','findNodePositionByCharIndex','onSendChangeset','deleteCollaborator','Error\x20on\x20receiving\x20event','listCollaborators','disposeWithMe','Steady','getConfig','[SyncedState]:\x20received\x20rejection.','result','LEAVE','FAIL','getAncestorScale','json','_schedule','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','set','unknown','setTimeout','_collabCursorController','isTransformChangesetsSuccess','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','target','[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.','CollaborationController','NOT_COLLAB','_clearOtherTimers','SelectionManagerService','Unknown\x20user','_unitID','UniverDrawing','IPermissionService','UPDATE_CURSOR','_range','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SnapshotService','SYNCED','_executeRemoteChangeset','put','replaceState','_selfUnitIDs','IBeforeCloseService','_unitStatus','Module','SetWorksheetActivateCommand','entries','/object/','width','BehaviorSubject','USERS_LEAVE','_transformPreviousActiveRange','_replayCachedMutations','_getSendChangesetTimeout','debug','CommandType','takeUntil','UniverSheetsUi','_event$','_retryCount','_color','isTransformMutationsWithChangesetSuccess','CONFLICT','_acknowledgedAwaitingChangeset','catch','_getRedoStack','_unlockTransition','getViewport','switchMap','IImageIoService','interceptor','_change$','univer-online-status','COLLAB_SUBMIT_CHANGESET_URL','workbook','_collaborationController','UNDEFINED','NO_OTHER_CLIENTS_EDITING','measureText','createInstance','transformMutation','_logService','IMessageService','univer-offline','ERROR_IMAGE','getMergeData','getOffsetConfig','replace','add','path','setParam','collaboratorID','_renderManagerService','_transformService','ONLINE','UNKNOWN_CMD','unshift','setWaitCount','loadOfflineData','serializeCombRequest','DisposableCollection','ERROR_IMAGE_TYPE','flatMap','unitId','textRanges','localeService','trim','searchParams','onMissedChangesetFetched','LIVESHARE_NEW_HOST','name','params','onRemoteAck','RECV','_checkMissing','_cursors','_transformIMECache','joinEvent','parse','HEARTBEAT_INTERVAL','_initStatusListener','toStringTag','_onUserLeave','defs','rxjs/operators','[FetchMissState]','IConfigService','_hideTimer','\x20-\x20','_httpService','/rev/','fetching\x20missing\x20changesets\x20from\x20','569046GCqvem','univer-online-status-title','state','FETCH_MISSING','createIdentifier','colorChannel1','sheetId','onTransformRemoteChangesetByIMECache','UNIVER_UNKNOWN','hide','MSG_FOR_ERROR','code','resend','map','_refRangeService','FromArray','session','_anchorDot','src','changesets','apply','delay','gold400','_onCombEvent','black','MessageType','[CollaborationUndoRedoService]','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','JOINING','MUTATION','updateOfflineData','stringify','href','SNAPSHOT_URL_KEY','permission.title','_onJoinRoomEvent','fetchThroughInterceptors','ITransformService','enableAuthServer','_decreaseWaiting','_state$','getUnitStatus$','_updateStatus','combineLatest','max','Error','HTTPService','POST','_waitForHeartbeatResponse','SNAPSHOT_SERVER_URL_KEY','[OfflineState]:\x20received\x20changeset.','hovered','onTransformSelections','_createInitialStateImpl','_socketReady','XHRHTTPImplementation','change$','image/gif','state$','status','displayName','_revisionService','offline','dispose$','not_collab','disableLocalCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_userManagerService','arc','string','executeCommand','RevisionService','generateRandomId','_createSocket','pipe','DEFAULT_FILE_NAME','addObject','EffectRefRangId','_state','Inject','_timeoutTimer','CHANGESET_ACK','getParam','getMember','_substituteUndoStack','getItem','_assignedColors','resolve','CollaborationSessionService','registerComponent','_getSheetObject','IMEInputManagerService','incrementRevForDocument','focused$','saveChangeset','_onRemoteRejected','_onUserJoin','file','_submitChangeset','...','distinctUntilChanged','@univerjs/engine-formula','CollaborationEvent','setActiveRange','permissionRejEvent','jiqing500','BASE64','CONNECTOR_DATA_TOO_LARGE','React','UniverCollaboration','@univerjs/engine-render','bottom','awaitingChangeset','_config','height','off-line-single','_syncEditingCollabCursorService','parseProtocolChangeset','@wendellhu/redi/react-bindings','_handler','UniverCore','[UniverCollaborationClientPlugin]','fromEvent','open$','IUniverInstanceService','_lockTransition','selections','getUniverSheetInstance','ILogService','popstate','_awaitingChangeset','isArray','3671598gmhHQX','_transitionLocked','_entities','getCollabEntity$','HEARTBEAT_TIMEOUT','moveTo','getCurrent','_disableEditing','on-line-single_clip0_910_349','_anchor','clear','editingUnit','show','getCollabEntity','_substituteRedoStack','[PendingState]:\x20received\x20acknowledgement.','[CollaborationState]:\x20apply\x20error!','transformUndoRedo','getCellPositionByOffset','call','socket\x20open.','InsertRangeMoveDownCommandId','handleIRemoveCol','icon','BuiltInUIPart','_collabCursorState$','_status$','_getLoginPath','saveImage','UNRECOGNIZED','_localeService','_queuedRemoteChangesets','socket\x20close','COLLAB_WEB_SOCKET_URL','_singleActiveUnitService','_onConnectionFailed','rxjs','triggerDblclick','isTransformMutationFailure','unit','updateCursorEvent','_onCursorUpdate','sessionStatus$','_getSaveTimeout','handleInsertRow','range','unitID','baseRev','_onConnectionOpen','_replaceFileID','enableLocalCache','[DataLoaderController]','setCurrentUser','_clearLocalCache','getDataModel','LICENSE_EXPORT_SIZE_EXCEEDED','ColorKit','setShapeProps','column','dispose','getCoordByCell','send','_clearScheduledTask','handleDeleteRangeMoveLeft','saveSheetBlock','INGEST','UUID','unload','getRoom','_incrementRevisionNumber','833200sJkXpv','isEditing','_docTransformSelectionsService','amd','setItem','handleIRemoveRow','_colorAssignService','save\x20fail\x20reason\x20is\x20','startRow','tag','JOIN','RegularPolygon','getActiveSheet','_loadSheet','InsertColCommandId','_heartbeatTimer','_updateCollabCursors','with','body','1054025PHpwsr','_applyRemoteChangeset','Vector2','verdancy600','WorkbookEditablePermission','ImageUploadStatusType','_clearRedo','FETCH_MISS','_socket$','allowed','/role','subunit','closePath','_getCtorByUniverType','collabStatus.syncing','_createHandler','ws://127.0.0.1:8000/universer-api/comb/connect','fetch_missing','close$','_getMergeRange','onlyLocal','ThemeService','_scheduleHeartbeat','endRow','_drawAnchor','getImageSourceCache','cmd','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','@univerjs/design','_syncEditingCollabCursor','_updateState','Ready','failed\x20to\x20apply\x20missed\x20changesets!','isPermissionRej','@univerjs/sheets-ui','CollaborationSession','getTypeOfUnitAdded$','WebURLService','getRelativeCoord','OFFLINE','CollaborationSocketService','_toggleOnline','length','_onRemoteACK','_sendHeartbeatTimer','_entityInit$','_clearUndo','RxDisposable','mergeOverrideWithDependencies','1em','_type','routeKey','operators','substring','defineProperty','permission.content','/unit/','revision','_send','getCurrentRevForDocument','clipPath','idSuffix','_sessions','unsubscribe','ISnapshotServerService','SEND_CHANGESET_TIMEOUT','?size=','svg','override','_undoRedoService','transformChangesets','object','_clearTimeoutTimer','Warning','IRenderManagerService','_updateURLWithCurrentState','Rectangle','Rect','collaborators','_permissionService','APPLY_PERMISSION_DENIED','InsertRangeMoveRightCommandId','LOGIN_URL_KEY','SEND_CHANGESET_TIMEOUT_KEY','c2Prime','_socketMessageSubscription','runRefRangeMutations','status$','getOwnPropertyDescriptor','getSheetBlock','_removeRoom','csRejEvent','useObservable','_createInitialState','b64DecodeUnicode','listRoles','getColor','toString','@univerjs/rpc','append','on-line-single','@wendellhu/redi','Tools','_localStorageService','ILocalStorageService','getOwnPropertySymbols','onRemoteRej','onStarting','_snapshotServerService','_members','/universer-api/comb','#fff','COLLAB_WEB_SOCKET_URL_KEY','_textBubble','AWAITING_WITH_PENDING','event$','@univerjs/docs','_messageService','InsertSheetMutation','patch','has','LOCAL_CACHE_INTERVAL','collabStatus.synced','doc.mutation.rich-text-editing','_socket','debounceTime','url(#on-line-single_clip0_910_349)','_transformStack','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','save','ThresholdInterceptorFactory','onlineStatus','_getUploadFileURL','registerHTTPInterceptor','location','_onRemoteChangeset','type','getResourcesRequest','hasOwnProperty','getCurrentUnitForType','collaMsg','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_sessionStatus$','_name','_lastPointer','SessionStatus','csAckEvent','AWAITING','_saveCache','transformIMECache','[CollaborationSessionService]','InsertRowCommandId','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','xlink:href','_getDocObject','saveOfflineData','getUnitType','_handleEvent','_unitId','next','_removeClearOtherTimer','lineTo','_tryEnsureSocket','round','[OfflineState]:\x20received\x20rejection.','Injector','pauseCollaboration','Subject','ImageSourceType','conflict.title','NOT_FOUND','_imageSourceCache','RETRY_CONNECTING_MAX_COUNT','push','data','transformStack\x20failed!','Starting','roomInfos','_sheetSkeletonManagerService','_onCursorDelete','_onFetchMissResult','getRenderById','shareReplay','_online','OTHER_CLIENTS_EDITING','onload','roomMembers$','VIEW_MAIN','eventID','encodeURIComponent','getFocusedUnit','getValue','_getAnchorBounding','@univerjs/drawing','AuthzIoHttpService','/universer-api/authz','_waitCount','contains','memberID','UNIVER_SHEET','transform','/universer-api/snapshot','getScrollXYByRelativeCoords','clearTimeout','list','actions','includes','assignAColorForMemberID','_compressMutationService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','image/jpeg','children','DesktopCollaborationStatusDisplayController','SNAPSHOT_HAS_BEEN_REMOVED','collabStatus.conflict','?url=','split','asObservable','update','none','/collaborator','_clearHeartbeatTimer','_roomMembers$','INVALID_ARGUMENT','getUnhiddenWorksheets','m1Prime','pluginName','error$','_showConflictNotification','SheetSkeletonManagerService','_scheduleCollaborationTimeoutTimer','onSyncEditingCollabCursor','isActive','handleDeleteRangeMoveUp','labelPosition','SetSelectionsOperation','UNIVER_DOC','mapDocumentTypeToUniverType','/universer-api/stream/file/upload','_updateLocalCursor','_remoteChangesetQueue','size','currentColor','[CollaborationSession]','RefRangeService','onTransformIME','_ws','_transformSelections','confirm','_onRefRangeChange','awaiting','UniverInstanceType','PERMISSION_DENIED','WebSocketService','_hover','batchAllowed','onMouseMove','_undoStacks','history','_updateSubUnitFromURLParams','_snapshotService','/fetchmissing?from=','UniverCollaborationPlugin','IDLE','_startDocCollabCursor','TEXT_RANGE_LAYER_INDEX','APPLY_NON_SEQUENTIAL_REVISION','_eventUnsubscribe','_sendHeartbeat','removeMember','slice','collab-text-range-','connection\x20error','putCollaborators','_colorIndex','filter','collabCursorState$','post','COMPRESS_MUTATION_APPLY','_onConflict','addEventListener','deserializeToCombResponse','_ensureSubject','deepClone','@univerjs/ui','complete','close','CompressMutationService','HEARTBEAT_INTERVAL_KEY','originalMeta','toRgbString','_scheduleClearOtherTimer','unit-cache-','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','_collabSessionService','_session','Optional','getRangePointData','getActiveRange','c1Prime','UniverDesign','/-/object/-/batch_allowed','createCollaborator','_toggleOffline','getInterceptPoints','mutations','IContextService','_collaborationPaused','then','getUnitId','_setupSubUnitSync','_transformUndoRedoStack','\x20to\x20','joinRsp','currentSkeleton$','sheetID','_disabled','cursorInfo','ERROR_EXCEED_SIZE','encode','LocalCacheService','fill','drawWith','url(#$1','HEADER_MENU','transformSelections','_loadDoc','toggleOnline','toggleOffline','_themeService','get','onRemoteChangeset','M0\x200H16V16H0z','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','_getSnapshotAPIPrefix','_notificationService','_fetchMissChangesets','_collaborationTimeoutTimer','collabStatus.fetchMiss','evenodd','_docSyncEditingCollabCursorService','_startCollaboration','reduce','_scheduleSaving','onMissingChangesets','HEARTBEAT','IRemoteInstanceService','LifecycleStages','_joinRoom','LIVESHARE_REQUEST_HOST','_labelPosition','userID','CHANGESET_REJ','UniverCollaborationClientPlugin','symbol','connectInjector','whenReady','updateMember','UNAUTHENTICATED','507807oYqnTr','extend','_onLocalMutation','getSelections','min','_getScale','DeleteRangeMoveUpCommandId','onPointerMove$','rev','_getAPIPrefix','_handleLeaveEvent','row','onPointerLeave$','@univerjs/sheets','LICENSE_MAX_UNITS_EXCEEDED','fillStyle','updateCollaborator','_startSheetCollabCursor','_transformUndoredo','FileId','sequenceExecute','HELLO','prototype','@univerjs/network','liveShareOperation','liveShareNewHost','DocStateChangeManagerService','2yyFysE','2145088ySwGpq','160LVJCAN','_configService','serializeTextRange','_setupBeforeClosingHandler','collaboration-client.offline-data-not-saved','getUndoRedoMutationParamsCache','react','PSEUDO_FETCH_MISSING_RESULT','_removeCollabCursors','CollaborationStatusDisplay','makeDirty','useDependency','getTime','createSocket','subscribe','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','APPLY_REJECT','844689jeePbx','handleInsertRangeMoveDown','[CollaborationSessionService]:\x20socket\x20error','Disposable','IURLService','onPointerEnter$','createElement','_saveTaskMap','_beforeCloseService','/universer-api/file/{fileID}/sign-url','_clearCollaborationTimeoutTimer','[SyncedState]:\x20received\x20acknowledgement.','_HTTPService','_cursor','handleMoveRange','_init','_getCurrentRevision','RichTextEditingMutation','use','IUndoRedoService','LIVESHARE_TERMINATE','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','requireSession','UNIVER_SLIDE','RETRY_CONNECTING_INTERVAL','collaborationUniverTypes','take','ALREADY_EXISTS','attrs','_http','_rescheduleHeartbeatEvent','fetchMissingChangesets','LIVESHARE_FETCH_OPERATIONS','selection','className','defIds','UniverUi','_socketService','_commandService','_document','assign','objects','@univerjs-pro/collaboration','delete','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','session.will-retry','_docTransformIMECacheService','UniverRpc','ACTIVE_UNIT_EVENT_CHANNEL','_sendingTimer','reverse','USERS_ENTER','getSheetId','OnLineSingle','currentTheme$','toDisposable','m2Prime','purple300','LICENSE_DISTRO_REJECTED','_roomMembers','_hovered','LIVESHARE_OPERATION','PENDING','onCommandExecuted','COLORS','collaboration.single-unit.warning','_retryConnectingTimer','restore','_unitOnClients','_shapes','DependentOn','_localCacheService','_handleHover','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getTypeOfUnitDisposed$','_drawRange','getCurrentUser','_onMessage','_cursorInfo$','sessionStatus','AUTHZ_URL_KEY','appendMutation','cursorInfo$','_exhaustSavingTask','_scheduleReconnection','NodePositionConvertToCursor','updatePermissionPoint','pending','COMPLETION_FINISHED','from','subscribeEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_injector','_urlService','_updateLocalCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','clsx','_getSignURL','endColumn','_scene','_uiPartsService','submit\x20changeset\x20error!','NEW_CHANGESETS','#FFF','textEncoder','\x0aCurrent:\x20','urlChange$','getSheetBySheetId','DocSkeletonManagerService'];_0x15ab=function(){return _0x3874a6;};return _0x15ab();}