@univerjs-pro/collaboration-client-ui 0.9.1 → 0.9.2-nightly.202507111607

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(_0x108eea,_0x5004f1){const _0x300805=_0x3bf7,_0x4350d8=_0x108eea();while(!![]){try{const _0x53c384=parseInt(_0x300805(0x312))/0x1+parseInt(_0x300805(0x231))/0x2*(-parseInt(_0x300805(0x280))/0x3)+parseInt(_0x300805(0x33f))/0x4*(parseInt(_0x300805(0x309))/0x5)+parseInt(_0x300805(0x166))/0x6+-parseInt(_0x300805(0x268))/0x7+-parseInt(_0x300805(0x2cc))/0x8+-parseInt(_0x300805(0x292))/0x9*(parseInt(_0x300805(0x247))/0xa);if(_0x53c384===_0x5004f1)break;else _0x4350d8['push'](_0x4350d8['shift']());}catch(_0x2c3c25){_0x4350d8['push'](_0x4350d8['shift']());}}}(_0x5092,0x5be7c),function(_0x541e14,_0x3f0abb){const _0x279ceb=_0x3bf7;typeof exports==_0x279ceb(0x37c)&&typeof module<'u'?_0x3f0abb(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x279ceb(0x283)]?define([_0x279ceb(0x28b),_0x279ceb(0x101),_0x279ceb(0x341),_0x279ceb(0x35d),_0x279ceb(0x19a),_0x279ceb(0x25a),_0x279ceb(0x337),_0x279ceb(0x291),_0x279ceb(0x18e),_0x279ceb(0x158),_0x279ceb(0x241),_0x279ceb(0x34a),_0x279ceb(0xfc),_0x279ceb(0x2a2),'react/jsx-runtime',_0x279ceb(0x171),_0x279ceb(0x2d1),_0x279ceb(0x279),_0x279ceb(0x230)],_0x3f0abb):(_0x541e14=typeof globalThis<'u'?globalThis:_0x541e14||self,_0x3f0abb(_0x541e14[_0x279ceb(0x13c)]={},_0x541e14[_0x279ceb(0x192)],_0x541e14['UniverCore'],_0x541e14[_0x279ceb(0x310)],_0x541e14['UniverNetwork'],_0x541e14[_0x279ceb(0x136)],_0x541e14[_0x279ceb(0x2dc)],_0x541e14[_0x279ceb(0x291)],_0x541e14[_0x279ceb(0x1c4)],_0x541e14[_0x279ceb(0x1e8)],_0x541e14[_0x279ceb(0x195)],_0x541e14[_0x279ceb(0x2b5)],_0x541e14['rxjs'][_0x279ceb(0x1ec)],_0x541e14['UniverSheetsUi'],_0x541e14['React'],_0x541e14[_0x279ceb(0x134)],_0x541e14[_0x279ceb(0x227)],_0x541e14['React'],_0x541e14['UniverRpc']));}(this,function(_0x57e092,_0x10aa80,_0x2be1b1,_0x4eb86c,_0x5d5c49,_0x180874,_0x1f4122,_0x4d5064,_0x301770,_0x42fbeb,_0x475815,_0x14095a,_0x454b25,_0x495d51,_0x3ae18d,_0x144736,_0x48302b,_0x67b6de,_0x5362b4){'use strict';const _0x1d8f3e=_0x3bf7;var _0x57d1bc=Object[_0x1d8f3e(0x1c6)],_0x3ba0ba=(_0x58c8d5,_0x4d4a1a,_0x5247fa)=>_0x4d4a1a in _0x58c8d5?_0x57d1bc(_0x58c8d5,_0x4d4a1a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5247fa}):_0x58c8d5[_0x4d4a1a]=_0x5247fa,_0xa4f9ad=(_0xb86add,_0x36cd54,_0x31023)=>_0x3ba0ba(_0xb86add,typeof _0x36cd54!=_0x1d8f3e(0x145)?_0x36cd54+'':_0x36cd54,_0x31023),_0xa2b8ba=Object[_0x1d8f3e(0x193)],_0x1fca9f=(_0x602888,_0x1c4abb,_0x1bcebb,_0x3c7b01)=>{for(var _0x5d8b7b=_0x3c7b01>0x1?void 0x0:_0x3c7b01?_0xa2b8ba(_0x1c4abb,_0x1bcebb):_0x1c4abb,_0x4e0627=_0x602888['length']-0x1,_0x4bea85;_0x4e0627>=0x0;_0x4e0627--)(_0x4bea85=_0x602888[_0x4e0627])&&(_0x5d8b7b=_0x4bea85(_0x5d8b7b)||_0x5d8b7b);return _0x5d8b7b;},_0x3d6f0d=(_0x4e6747,_0x208c63)=>(_0x2e4ac9,_0x51117d)=>_0x208c63(_0x2e4ac9,_0x51117d,_0x4e6747);let _0x2aadfa=class extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(_0x4b0114,_0x2ff5a5){const _0x30c3bd=_0x1d8f3e;super(),this[_0x30c3bd(0x274)]=_0x4b0114,this[_0x30c3bd(0x28e)]=_0x2ff5a5,this[_0x30c3bd(0x373)]();}[_0x1d8f3e(0x373)](){const _0x3bd12b=_0x1d8f3e,_0xebf228=this;this['disposeWithMe'](this[_0x3bd12b(0x274)][_0x3bd12b(0x27a)]({'onBeforePasteImage':async _0x4d3415=>{const _0x79ddc5=_0x3bd12b,_0x17aa27=await _0xebf228[_0x79ddc5(0x28e)][_0x79ddc5(0x155)](_0x4d3415);return _0x17aa27?{'source':_0x17aa27['source'],'imageSourceType':_0x17aa27[_0x79ddc5(0x10f)]}:null;}}));}};_0x2aadfa=_0x1fca9f([_0x3d6f0d(0x0,_0x180874[_0x1d8f3e(0x1e7)]),_0x3d6f0d(0x1,_0x1f4122[_0x1d8f3e(0x1d2)])],_0x2aadfa);const _0x507881=[_0x1d8f3e(0x1f8),_0x1d8f3e(0xeb),_0x1d8f3e(0x120),_0x1d8f3e(0xf8),'blue.400',_0x1d8f3e(0x2a8)];class _0x900a0 extends _0x2be1b1[_0x1d8f3e(0xe0)]{constructor(){const _0x482d76=_0x1d8f3e;super(...arguments),_0xa4f9ad(this,_0x482d76(0x37b),new Map()),_0xa4f9ad(this,'_colorIndex',0x0);}[_0x1d8f3e(0x15f)](_0x3ac473){const _0x1d5424=_0x1d8f3e;if(this[_0x1d5424(0x37b)][_0x1d5424(0x1fc)](_0x3ac473))return this[_0x1d5424(0x37b)][_0x1d5424(0x367)](_0x3ac473);const _0x3c05f2=_0x507881[this[_0x1d5424(0x338)]];return this[_0x1d5424(0x338)]=(this[_0x1d5424(0x338)]+0x1)%_0x507881['length'],this[_0x1d5424(0x37b)][_0x1d5424(0x2d6)](_0x3ac473,_0x3c05f2),_0x3c05f2;}}function _0x80fd44(_0x4cabfb){const _0x4846eb=_0x1d8f3e;let _0x531657='';for(const _0x3096c8 of _0x4cabfb){const {startOffset:_0x39b3f5,endOffset:_0x2939b7,isActive:_0x5878a5,rangeType:_0x477706,segmentId:_0x2692a5,segmentPage:_0xb4f671}=_0x3096c8;_0x531657[_0x4846eb(0x293)]&&(_0x531657+=','),_0x531657+=_0x39b3f5+':'+_0x2939b7+':'+(_0x5878a5?'1':'0')+':'+_0x477706+':'+_0x2692a5+':'+_0xb4f671;}return _0x531657;}function _0x1faf90(_0xe3da77){const _0x4bebde=_0x1d8f3e,_0x36f41c=_0xe3da77[_0x4bebde(0x24f)](','),_0x11812f=[];for(const _0x587083 of _0x36f41c){const [_0x2c66b3,_0x5e9f83,_0x2803be,_0x3d2f03,_0x32b454,_0x413289]=_0x587083[_0x4bebde(0x24f)](':');_0x11812f['push']({'startOffset':Number(_0x2c66b3),'endOffset':Number(_0x5e9f83),'collapsed':_0x2c66b3===_0x5e9f83,'isActive':_0x2803be==='1','rangeType':_0x3d2f03===_0x2be1b1[_0x4bebde(0x1c7)]['TEXT']?_0x2be1b1['DOC_RANGE_TYPE'][_0x4bebde(0x2ea)]:_0x2be1b1[_0x4bebde(0x1c7)][_0x4bebde(0x315)],'segmentId':typeof _0x32b454==_0x4bebde(0x345)?String(_0x32b454):'','segmentPage':Number(_0x413289!=null?_0x413289:-0x1)});}return _0x11812f[_0x4bebde(0x1f1)](_0x47caac=>_0x47caac['isActive'])||(_0x11812f[0x0][_0x4bebde(0x320)]=!0x0),_0x11812f;}class _0x3aab27 extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(){const _0x168214=_0x1d8f3e;super(...arguments),_0xa4f9ad(this,_0x168214(0x29f),new _0x4d5064[(_0x168214(0x370))](null)),_0xa4f9ad(this,_0x168214(0x1bf),this[_0x168214(0x29f)][_0x168214(0x172)]());}[_0x1d8f3e(0x1ad)](_0x24c8e3){const _0x4a8626=_0x1d8f3e,{unitID:_0x25a3f5,memberID:_0x207b45,textRanges:_0x2021ba}=_0x24c8e3,_0x46f47a=_0x80fd44(_0x2021ba);if(_0x46f47a==='')return;const _0x2e04dd={'unitID':_0x25a3f5,'memberID':_0x207b45,'selection':_0x46f47a};this[_0x4a8626(0x29f)][_0x4a8626(0x2a0)](_0x2e04dd);}}var _0x5d55a6=Object[_0x1d8f3e(0x193)],_0x4f2bf2=(_0x2f97c2,_0x53d656,_0x47a328,_0x4555ee)=>{for(var _0x3d866f=_0x4555ee>0x1?void 0x0:_0x4555ee?_0x5d55a6(_0x53d656,_0x47a328):_0x53d656,_0x222ea4=_0x2f97c2['length']-0x1,_0xe20e15;_0x222ea4>=0x0;_0x222ea4--)(_0xe20e15=_0x2f97c2[_0x222ea4])&&(_0x3d866f=_0xe20e15(_0x3d866f)||_0x3d866f);return _0x3d866f;},_0x24285f=(_0x4b7590,_0x2aad54)=>(_0x1461b7,_0x5b3ffc)=>_0x2aad54(_0x1461b7,_0x5b3ffc,_0x4b7590);const _0x4665ee=0x12c,_0x3493a1=0x64;let _0x28889b=class extends _0x2be1b1['RxDisposable']{constructor(_0x470cab,_0x742066,_0x1841d4,_0x536adb,_0x1b4ce0,_0xbeeb12,_0x4c8c08,_0x44dd58,_0x3aa047){const _0x341e20=_0x1d8f3e;super(),_0xa4f9ad(this,'_online',!0x1),_0xa4f9ad(this,'_init',!0x1),_0xa4f9ad(this,_0x341e20(0x2b2),new _0x4d5064[(_0x341e20(0x370))](new Map())),_0xa4f9ad(this,_0x341e20(0x12d),this[_0x341e20(0x2b2)][_0x341e20(0x172)]()),_0xa4f9ad(this,'_roomMembers$',new _0x4d5064['BehaviorSubject']([])),_0xa4f9ad(this,_0x341e20(0x1f6),this[_0x341e20(0x12c)]['pipe'](_0x4d5064['debounceTime'](_0x4665ee))),_0xa4f9ad(this,_0x341e20(0x308),_0x2be1b1['debounce'](_0x1928bb=>{const _0x394711=_0x341e20,_0x2ffc6a={'eventID':_0x301770[_0x394711(0x212)][_0x394711(0x2d4)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x394711(0x1e9)](),'selection':_0x80fd44(_0x1928bb)}};this[_0x394711(0x353)][_0x394711(0x35c)](_0x2ffc6a,this[_0x394711(0x2b8)]);},_0x3493a1)),(this['unitID']=_0x470cab,this[_0x341e20(0x353)]=_0x742066,this[_0x341e20(0x25c)]=_0x1841d4,this[_0x341e20(0x331)]=_0x536adb,this[_0x341e20(0x2c4)]=_0x1b4ce0,this[_0x341e20(0x132)]=_0xbeeb12,this['_transformService']=_0x4c8c08,this['_univerInstanceService']=_0x44dd58,this[_0x341e20(0x11a)]=_0x3aa047);}get['cursorInfo'](){const _0x2fead0=_0x1d8f3e;return this['_cursorInfo$'][_0x2fead0(0x117)]();}get[_0x1d8f3e(0x251)](){const _0x4ccc24=_0x1d8f3e;return this['_roomMembers$'][_0x4ccc24(0x117)]();}['dispose'](){const _0x386985=_0x1d8f3e;super[_0x386985(0xf4)](),this[_0x386985(0x2b2)][_0x386985(0x2a0)](new Map()),this[_0x386985(0x2b2)][_0x386985(0x349)](),this[_0x386985(0x12c)][_0x386985(0x2a0)]([]),this[_0x386985(0x12c)]['complete']();}[_0x1d8f3e(0x13e)](){const _0x29c8a3=_0x1d8f3e;this[_0x29c8a3(0x373)]||(this[_0x29c8a3(0x373)]=!0x0,this['_session'][_0x29c8a3(0x24a)]['pipe'](_0x4d5064[_0x29c8a3(0x207)](this[_0x29c8a3(0x272)]))[_0x29c8a3(0x21f)](_0x451d04=>{const _0x360aec=_0x29c8a3;_0x451d04===_0x10aa80[_0x360aec(0x211)][_0x360aec(0x25f)]?this[_0x360aec(0x2f8)]():this[_0x360aec(0x379)]();}),this['_session']['event$'][_0x29c8a3(0x18f)](_0x4d5064[_0x29c8a3(0x207)](this[_0x29c8a3(0x272)]))[_0x29c8a3(0x21f)](_0x23177c=>{const _0x23b092=_0x29c8a3,_0x1ecea8=_0x23177c[_0x23b092(0x1fa)];_0x1ecea8===_0x301770[_0x23b092(0x212)][_0x23b092(0x2d4)]&&this['_onCursorUpdate'](_0x23177c),_0x1ecea8===_0x301770[_0x23b092(0x212)][_0x23b092(0x20c)]&&this['_onCursorDelete'](_0x23177c);}),this[_0x29c8a3(0x114)](this[_0x29c8a3(0x11a)]['onCommandExecuted'](_0x1adf8a=>{const _0x59ab0a=_0x29c8a3,_0x21f14c=_0x1adf8a[_0x59ab0a(0xf0)];_0x21f14c!=null&&this[_0x59ab0a(0x27f)]&&_0x1adf8a['id']===_0x42fbeb['SetTextSelectionsOperation']['id']&&_0x21f14c[_0x59ab0a(0x189)]===this[_0x59ab0a(0x2b8)]&&_0x21f14c[_0x59ab0a(0x281)]===!0x1&&_0x21f14c[_0x59ab0a(0x37f)][_0x59ab0a(0x293)]>0x0&&this[_0x59ab0a(0x308)](_0x21f14c[_0x59ab0a(0x37f)]);})),this[_0x29c8a3(0x132)][_0x29c8a3(0x1bf)][_0x29c8a3(0x18f)](_0x4d5064[_0x29c8a3(0x207)](this['dispose$']))['subscribe'](_0x37110d=>{const _0x299c26=_0x29c8a3;if((_0x37110d==null?void 0x0:_0x37110d[_0x299c26(0x2b8)])!==this[_0x299c26(0x2b8)])return;const _0x2a55c3={'eventID':_0x301770[_0x299c26(0x212)][_0x299c26(0x2d4)],'data':_0x37110d};this[_0x299c26(0x2c6)](_0x2a55c3);}),this[_0x29c8a3(0x114)](this[_0x29c8a3(0x11a)]['onCommandExecuted'](_0x567e00=>{const _0x5e2ec7=_0x29c8a3;if(_0x567e00[_0x5e2ec7(0xf0)]==null)return;const _0x55112d=_0x567e00['params'];if(_0x567e00['id']!==_0x42fbeb[_0x5e2ec7(0x1fd)]['id']||_0x55112d['unitId']!==this[_0x5e2ec7(0x2b8)])return;const _0x3a5f59={'id':_0x5e2ec7(0xf1),'params':_0x55112d},_0x214ce9=this[_0x5e2ec7(0x130)];for(const [_0xad86b6,_0x5d1ae0]of _0x214ce9){const _0x488fd0={'id':_0x5e2ec7(0xf1),'params':{'unitId':this[_0x5e2ec7(0x2b8)],'actions':null,'textRanges':_0x5d1ae0['ranges']}},_0x5be085=this[_0x5e2ec7(0x29b)][_0x5e2ec7(0x240)](_0x3a5f59,_0x488fd0,!0x1);if(_0x301770[_0x5e2ec7(0x2be)](_0x5be085))throw _0x5be085['error'];_0x214ce9[_0x5e2ec7(0x2d6)](_0xad86b6,{..._0x5d1ae0,'ranges':_0x5be085[_0x5e2ec7(0x1d6)][_0x5e2ec7(0xf0)]['textRanges']});}queueMicrotask(()=>{const _0x42ee53=_0x5e2ec7;this[_0x42ee53(0x2b2)][_0x42ee53(0x2a0)](_0x214ce9);});})));}[_0x1d8f3e(0x2c6)](_0x1c885d){const _0x3486b5=_0x1d8f3e;var _0x1cecd1,_0xcbe976;const {memberID:_0x566121,selection:_0x481a44}=_0x1c885d[_0x3486b5(0x2bc)],_0xdd4400=_0x1faf90(_0x481a44),_0x5670e8=(_0xcbe976=(_0x1cecd1=this[_0x3486b5(0x2c4)][_0x3486b5(0x11b)](this[_0x3486b5(0x2b8)],_0x566121))==null?void 0x0:_0x1cecd1[_0x3486b5(0x2b1)])!=null?_0xcbe976:_0x3486b5(0x372),_0x3a9935={'color':this[_0x3486b5(0x331)]['assignAColorForMemberID'](_0x566121),'name':_0x5670e8,'ranges':_0xdd4400},_0x29771f=this[_0x3486b5(0x130)];_0x29771f['set'](_0x566121,_0x3a9935),this[_0x3486b5(0x2b2)][_0x3486b5(0x2a0)](_0x29771f);}['_onCursorDelete'](_0x30bb30){const _0x2c64e3=_0x1d8f3e,{memberID:_0x241e80}=_0x30bb30[_0x2c64e3(0x2bc)],_0x341ddd=this['cursorInfo'];_0x341ddd[_0x2c64e3(0x115)](_0x241e80),this[_0x2c64e3(0x2b2)]['next'](_0x341ddd);}[_0x1d8f3e(0x2f8)](){const _0x5be8a0=_0x1d8f3e;var _0x47c3a8;if(this[_0x5be8a0(0x27f)]=!0x0,((_0x47c3a8=this[_0x5be8a0(0xe3)]['getFocusedUnit']())==null?void 0x0:_0x47c3a8[_0x5be8a0(0x224)]())!==this[_0x5be8a0(0x2b8)])return;const _0xd172df=this['_injector']['get'](_0x42fbeb['DocSelectionManagerService'])['getDocRanges']();Array[_0x5be8a0(0x28d)](_0xd172df)&&_0xd172df['length']>0x0&&this['_updateLocalCursor'](_0xd172df);}[_0x1d8f3e(0x379)](){const _0x1208ec=_0x1d8f3e;this[_0x1208ec(0x27f)]=!0x1;}};_0x28889b=_0x4f2bf2([_0x24285f(0x2,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0xd7)])),_0x24285f(0x3,_0x2be1b1[_0x1d8f3e(0x362)](_0x900a0)),_0x24285f(0x4,_0x2be1b1['Inject'](_0x10aa80[_0x1d8f3e(0x1b7)])),_0x24285f(0x5,_0x2be1b1[_0x1d8f3e(0x362)](_0x3aab27)),_0x24285f(0x6,_0x301770['ITransformService']),_0x24285f(0x7,_0x2be1b1[_0x1d8f3e(0x32a)]),_0x24285f(0x8,_0x2be1b1[_0x1d8f3e(0x119)])],_0x28889b);var _0x57e020=Object[_0x1d8f3e(0x193)],_0x196bf7=(_0x5042ab,_0x4ae8a4,_0x4675a4,_0x586e1a)=>{for(var _0x17e879=_0x586e1a>0x1?void 0x0:_0x586e1a?_0x57e020(_0x4ae8a4,_0x4675a4):_0x4ae8a4,_0x33185f=_0x5042ab['length']-0x1,_0x251fd8;_0x33185f>=0x0;_0x33185f--)(_0x251fd8=_0x5042ab[_0x33185f])&&(_0x17e879=_0x251fd8(_0x17e879)||_0x17e879);return _0x17e879;},_0x245da3=(_0xe15df3,_0x1248a4)=>(_0x3d59e3,_0x30438f)=>_0x1248a4(_0x3d59e3,_0x30438f,_0xe15df3);const _0x5e951f=0x12c,_0x42eba6=0x64,_0x4315b5=()=>{let _0x4a74b3=[],_0x24a6d4=!0x1;return _0x73f682=>{const _0x49b1e8=_0x3bf7;_0x4a74b3[_0x49b1e8(0x1ce)](_0x73f682),_0x24a6d4||(_0x24a6d4=!0x0,setTimeout(()=>{_0x4a74b3['forEach'](_0x3bc754=>_0x3bc754()),_0x4a74b3=[],_0x24a6d4=!0x1;}));};};let _0x322e3e=class extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(_0xd14e83,_0x579325,_0x3f20af,_0x2e8113,_0x387d5b,_0x2160a5,_0x33a950,_0x36612){const _0x4e7e1d=_0x1d8f3e;super(),_0xa4f9ad(this,'_online',!0x1),_0xa4f9ad(this,_0x4e7e1d(0x373),!0x1),_0xa4f9ad(this,_0x4e7e1d(0x2b2),new _0x4d5064[(_0x4e7e1d(0x370))](new Map())),_0xa4f9ad(this,_0x4e7e1d(0x12d),this[_0x4e7e1d(0x2b2)]['asObservable']()),_0xa4f9ad(this,_0x4e7e1d(0x12c),new _0x4d5064[(_0x4e7e1d(0x370))]([])),_0xa4f9ad(this,_0x4e7e1d(0x1f6),this['_roomMembers$'][_0x4e7e1d(0x18f)](_0x4d5064['debounceTime'](_0x5e951f))),_0xa4f9ad(this,'_updateLocalCursor',_0x2be1b1[_0x4e7e1d(0x1b6)]((_0x1bc5c1,_0x3ec08a)=>{const _0x4f7b95=_0x4e7e1d,_0x28b6cd={'eventID':_0x301770['CollaborationEvent'][_0x4f7b95(0x2d4)],'data':{'unitID':this[_0x4f7b95(0x2b8)],'memberID':this['_session'][_0x4f7b95(0x1e9)](),'selection':_0x475815['serializeRangeWithSheet'](_0x1bc5c1,_0x3ec08a['range'])}};this[_0x4f7b95(0x353)][_0x4f7b95(0x35c)](_0x28b6cd,this[_0x4f7b95(0x2b8)]);},_0x42eba6)),(this[_0x4e7e1d(0x2b8)]=_0xd14e83,this['_session']=_0x579325,this['_injector']=_0x3f20af,this[_0x4e7e1d(0x331)]=_0x2e8113,this[_0x4e7e1d(0x2c4)]=_0x387d5b,this[_0x4e7e1d(0xe3)]=_0x2160a5,this['_commandService']=_0x33a950,this[_0x4e7e1d(0x380)]=_0x36612);}get[_0x1d8f3e(0x130)](){const _0xbc3aeb=_0x1d8f3e;return this[_0xbc3aeb(0x2b2)][_0xbc3aeb(0x117)]();}get[_0x1d8f3e(0x251)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x53c8c4=_0x1d8f3e;super[_0x53c8c4(0xf4)](),this[_0x53c8c4(0x2b2)][_0x53c8c4(0x2a0)](new Map()),this['_cursorInfo$'][_0x53c8c4(0x349)](),this[_0x53c8c4(0x12c)][_0x53c8c4(0x2a0)]([]),this[_0x53c8c4(0x12c)][_0x53c8c4(0x349)]();}[_0x1d8f3e(0x13e)](){const _0x4dd57d=_0x1d8f3e;this[_0x4dd57d(0x373)]||(this['_init']=!0x0,this[_0x4dd57d(0x353)][_0x4dd57d(0x24a)][_0x4dd57d(0x18f)](_0x4d5064['takeUntil'](this[_0x4dd57d(0x272)]))[_0x4dd57d(0x21f)](_0x29e5c5=>{const _0x1b97a8=_0x4dd57d;_0x29e5c5===_0x10aa80[_0x1b97a8(0x211)][_0x1b97a8(0x25f)]?this[_0x1b97a8(0x2f8)]():this[_0x1b97a8(0x379)]();}),this['_session'][_0x4dd57d(0xdf)][_0x4dd57d(0x18f)](_0x4d5064[_0x4dd57d(0x207)](this[_0x4dd57d(0x272)]))[_0x4dd57d(0x21f)](_0x6cec03=>{const _0x1222bd=_0x4dd57d,_0x2b4a85=_0x6cec03[_0x1222bd(0x1fa)];_0x2b4a85===_0x301770[_0x1222bd(0x212)]['UPDATE_CURSOR']&&this[_0x1222bd(0x2c6)](_0x6cec03),_0x2b4a85===_0x301770[_0x1222bd(0x212)]['USERS_LEAVE']&&this[_0x1222bd(0x271)](_0x6cec03);}),this[_0x4dd57d(0x104)](),this[_0x4dd57d(0x114)](this[_0x4dd57d(0x11a)][_0x4dd57d(0x1ed)](_0xeab889=>{const _0x3bb7bf=_0x4dd57d;if(this[_0x3bb7bf(0x27f)]&&_0xeab889['id']===_0x14095a[_0x3bb7bf(0x216)]['id']&&_0xeab889[_0x3bb7bf(0xf0)][_0x3bb7bf(0x189)]===this[_0x3bb7bf(0x2b8)]){const _0xd2414c=_0xeab889['params'];this[_0x3bb7bf(0x308)](_0xd2414c[_0x3bb7bf(0x22b)],_0xd2414c[_0x3bb7bf(0x36f)][0x0]);}})));}[_0x1d8f3e(0x2c6)](_0x8d955c){const _0x5ec71d=_0x1d8f3e;var _0x3bff0a,_0x36644e;const {memberID:_0x2ecd54,selection:_0x2a08ae}=_0x8d955c['data'],{sheetName:_0x55d320,range:_0x2c0c4e}=_0x475815[_0x5ec71d(0x202)](_0x2a08ae),_0x3db7ec={'name':(_0x36644e=(_0x3bff0a=this[_0x5ec71d(0x2c4)][_0x5ec71d(0x11b)](this[_0x5ec71d(0x2b8)],_0x2ecd54))==null?void 0x0:_0x3bff0a['name'])!=null?_0x36644e:_0x5ec71d(0x372),'range':this[_0x5ec71d(0x2d5)](_0x55d320,_0x2c0c4e),'sheetID':_0x55d320,'color':this[_0x5ec71d(0x331)][_0x5ec71d(0x15f)](_0x2ecd54),'selection':_0x2a08ae},_0x437e49=this[_0x5ec71d(0x130)];_0x437e49[_0x5ec71d(0x2d6)](_0x2ecd54,_0x3db7ec),this[_0x5ec71d(0x2b2)][_0x5ec71d(0x2a0)](_0x437e49);}[_0x1d8f3e(0x271)](_0x2123c0){const _0x386970=_0x1d8f3e,{memberID:_0x37b335}=_0x2123c0[_0x386970(0x2bc)],_0x3689a8=this[_0x386970(0x130)];_0x3689a8['delete'](_0x37b335),this[_0x386970(0x2b2)]['next'](_0x3689a8);}[_0x1d8f3e(0x2d5)](_0x19154a,_0x53e0ed){const _0x1fe890=_0x1d8f3e;var _0x38f435,_0x138f9a;const _0x417e7d=(_0x138f9a=(_0x38f435=this['_univerInstanceService'][_0x1fe890(0x285)](this['unitID']))==null?void 0x0:_0x38f435['getSheetBySheetId'](_0x19154a))==null?void 0x0:_0x138f9a[_0x1fe890(0x118)]();return(_0x417e7d==null?void 0x0:_0x417e7d[_0x1fe890(0x16e)](_0x1ff142=>_0x2be1b1[_0x1fe890(0x1b0)][_0x1fe890(0x32c)](_0x1ff142,_0x53e0ed)))||_0x53e0ed;}[_0x1d8f3e(0x104)](){const _0xf6ec20=_0x1d8f3e,_0x35d2df=new _0x2be1b1[(_0xf6ec20(0x22f))](),_0x1cf99e=_0x4315b5(),_0x1ad65d=()=>{const _0x3ebd84=_0xf6ec20;_0x35d2df[_0x3ebd84(0xf4)]();const _0x3983f3=(_0x820025,_0x25d972,_0x266d30,_0x49dcd8)=>{const _0x1f64d4=_0x3ebd84;let _0x555024=[];switch(_0x820025['id']){case _0x14095a['EffectRefRangId'][_0x1f64d4(0x30b)]:{_0x555024=_0x14095a[_0x1f64d4(0x1a9)](_0x820025,_0x49dcd8);break;}case _0x14095a[_0x1f64d4(0x266)][_0x1f64d4(0x31d)]:{_0x555024=_0x14095a['handleDeleteRangeMoveUp'](_0x820025,_0x49dcd8);break;}case _0x14095a[_0x1f64d4(0x266)][_0x1f64d4(0xda)]:{_0x555024=_0x14095a['handleInsertCol'](_0x820025,_0x49dcd8);break;}case _0x14095a[_0x1f64d4(0x266)][_0x1f64d4(0x30a)]:{_0x555024=_0x14095a['handleInsertRangeMoveDown'](_0x820025,_0x49dcd8);break;}case _0x14095a[_0x1f64d4(0x266)][_0x1f64d4(0x121)]:{_0x555024=_0x14095a[_0x1f64d4(0x203)](_0x820025,_0x49dcd8);break;}case _0x14095a['EffectRefRangId'][_0x1f64d4(0x2e0)]:{_0x555024=_0x14095a[_0x1f64d4(0x111)](_0x820025,_0x49dcd8);break;}case _0x14095a[_0x1f64d4(0x266)][_0x1f64d4(0x20b)]:{_0x555024=_0x14095a[_0x1f64d4(0x313)](_0x820025,_0x49dcd8);break;}case _0x14095a[_0x1f64d4(0x266)][_0x1f64d4(0xdc)]:{_0x555024=_0x14095a[_0x1f64d4(0x36d)](_0x820025,_0x49dcd8);break;}case _0x14095a['EffectRefRangId']['RemoveRowCommandId']:{_0x555024=_0x14095a['handleIRemoveRow'](_0x820025,_0x49dcd8);break;}}const _0x3d2d42=_0x14095a[_0x1f64d4(0x2fe)](_0x555024,_0x49dcd8),_0x3f540a=this[_0x1f64d4(0x130)]['get'](_0x25d972);if(_0x3f540a&&_0x3d2d42){const _0x38acda={..._0x3f540a,'range':_0x3d2d42};this[_0x1f64d4(0x130)][_0x1f64d4(0x2d6)](_0x25d972,_0x38acda),_0x1cf99e(()=>{const _0x287cbe=_0x1f64d4,_0x4705f0=this['_refRangeService'][_0x287cbe(0x30c)](_0x3d2d42,_0x435a1a=>(_0x4705f0[_0x287cbe(0xf4)](),_0x3983f3(_0x435a1a,_0x25d972,_0x266d30,_0x3d2d42)));_0x35d2df['add'](_0x4705f0);});}return{'redos':[],'undos':[]};};this[_0x3ebd84(0x130)][_0x3ebd84(0x182)]((_0x54c6a9,_0x3a4b15)=>{const _0x328bcf=_0x3ebd84,{range:_0x43e621,sheetID:_0x40061e}=_0x54c6a9,_0x3595e0=this['_refRangeService'][_0x328bcf(0x30c)](_0x43e621,_0x56b362=>(_0x3595e0['dispose'](),_0x3983f3(_0x56b362,_0x3a4b15,_0x40061e,_0x43e621)));_0x35d2df[_0x328bcf(0x13b)](_0x3595e0);});};this[_0xf6ec20(0x114)](_0x2be1b1[_0xf6ec20(0x2ec)](this['_cursorInfo$'][_0xf6ec20(0x21f)](()=>{_0x1ad65d();})));}[_0x1d8f3e(0x2f8)](){const _0x54ada9=_0x1d8f3e;var _0x4bf964,_0x2c2f08;if(this[_0x54ada9(0x27f)]=!0x0,((_0x4bf964=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4bf964[_0x54ada9(0x224)]())!==this[_0x54ada9(0x2b8)])return;const _0x5296f6=(_0x2c2f08=this[_0x54ada9(0x25c)][_0x54ada9(0x367)](_0x14095a[_0x54ada9(0x1d5)])[_0x54ada9(0xf7)]())==null?void 0x0:_0x2c2f08[0x0],_0xe7bcc4=this['_univerInstanceService'][_0x54ada9(0x33d)](_0x2be1b1[_0x54ada9(0x214)]['UNIVER_SHEET'])[_0x54ada9(0x311)]();_0x5296f6&&_0xe7bcc4&&this[_0x54ada9(0x308)](_0xe7bcc4[_0x54ada9(0x2e2)](),_0x5296f6);}[_0x1d8f3e(0x379)](){const _0x2a12f0=_0x1d8f3e;this[_0x2a12f0(0x27f)]=!0x1;}};_0x322e3e=_0x196bf7([_0x245da3(0x2,_0x2be1b1['Inject'](_0x2be1b1[_0x1d8f3e(0xd7)])),_0x245da3(0x3,_0x2be1b1['Inject'](_0x900a0)),_0x245da3(0x4,_0x2be1b1['Inject'](_0x10aa80[_0x1d8f3e(0x1b7)])),_0x245da3(0x5,_0x2be1b1['IUniverInstanceService']),_0x245da3(0x6,_0x2be1b1[_0x1d8f3e(0x119)]),_0x245da3(0x7,_0x2be1b1['Inject'](_0x14095a[_0x1d8f3e(0x300)]))],_0x322e3e);var _0x1be946=Object[_0x1d8f3e(0x193)],_0x3097d4=(_0x2732df,_0x209df4,_0x2e2ef7,_0x3cab8f)=>{for(var _0x350381=_0x3cab8f>0x1?void 0x0:_0x3cab8f?_0x1be946(_0x209df4,_0x2e2ef7):_0x209df4,_0x2e7c5b=_0x2732df['length']-0x1,_0x1ffa6e;_0x2e7c5b>=0x0;_0x2e7c5b--)(_0x1ffa6e=_0x2732df[_0x2e7c5b])&&(_0x350381=_0x1ffa6e(_0x350381)||_0x350381);return _0x350381;},_0xb2fddf=(_0x48a48b,_0x2080d1)=>(_0x3f182d,_0x58ade7)=>_0x2080d1(_0x3f182d,_0x58ade7,_0x48a48b);let _0x14c6ad=class extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(_0x4a9ea7,_0x54830b,_0x38ecf0){const _0x49cdd2=_0x1d8f3e;super(),_0xa4f9ad(this,_0x49cdd2(0x1d8),new Map()),_0xa4f9ad(this,'_entityInit$',new _0x4d5064['Subject']()),(this[_0x49cdd2(0xe3)]=_0x4a9ea7,this[_0x49cdd2(0x25c)]=_0x54830b,this[_0x49cdd2(0x317)]=_0x38ecf0,this[_0x49cdd2(0x373)]());}['dispose'](){const _0x4c15db=_0x1d8f3e;super[_0x4c15db(0xf4)](),this['_entityInit$']['complete'](),this[_0x4c15db(0x1d8)][_0x4c15db(0x182)](_0x1f9d37=>_0x1f9d37['dispose']());}[_0x1d8f3e(0x167)](_0x1600f2){const _0x36bb11=_0x1d8f3e;return this['_entities'][_0x36bb11(0x1fc)](_0x1600f2)?this['_entities'][_0x36bb11(0x367)](_0x1600f2)['cursorInfo$']:this[_0x36bb11(0x152)][_0x36bb11(0x18f)](_0x4d5064[_0x36bb11(0x113)](_0x5e0b93=>_0x5e0b93[_0x36bb11(0x2b8)]===_0x1600f2),_0x4d5064[_0x36bb11(0x175)](_0x482662=>_0x482662['cursorInfo$']));}['_init'](){const _0x5ed14a=_0x1d8f3e;this['_univerInstanceService'][_0x5ed14a(0x22e)](_0x2be1b1['UniverInstanceType'][_0x5ed14a(0x242)])[_0x5ed14a(0x18f)](_0x4d5064[_0x5ed14a(0x207)](this[_0x5ed14a(0x272)]))[_0x5ed14a(0x21f)](async _0x5f0503=>{const _0x34e9a1=_0x5ed14a,_0xcf11ed=_0x5f0503[_0x34e9a1(0x224)](),_0x206ba8=await this[_0x34e9a1(0x19e)](_0xcf11ed);this['_entityInit$'][_0x34e9a1(0x2a0)](_0x206ba8),this[_0x34e9a1(0x1d8)]['set'](_0xcf11ed,_0x206ba8);}),this[_0x5ed14a(0xe3)][_0x5ed14a(0x22e)](_0x2be1b1[_0x5ed14a(0x214)][_0x5ed14a(0x1c8)])[_0x5ed14a(0x18f)](_0x4d5064[_0x5ed14a(0x207)](this['dispose$']))[_0x5ed14a(0x18f)](_0x4d5064[_0x5ed14a(0x113)](_0xf1137a=>!_0xf1137a[_0x5ed14a(0x224)]()[_0x5ed14a(0x1f0)]('__')))[_0x5ed14a(0x21f)](async _0x4d589d=>{const _0x1b70c1=_0x5ed14a,_0x21f092=_0x4d589d[_0x1b70c1(0x224)](),_0x2df159=await this[_0x1b70c1(0x340)](_0x21f092);this[_0x1b70c1(0x152)][_0x1b70c1(0x2a0)](_0x2df159),this[_0x1b70c1(0x1d8)][_0x1b70c1(0x2d6)](_0x21f092,_0x2df159);}),_0x4d5064[_0x5ed14a(0x329)](this[_0x5ed14a(0xe3)][_0x5ed14a(0x2ff)](_0x2be1b1[_0x5ed14a(0x214)][_0x5ed14a(0x1c8)]),this[_0x5ed14a(0xe3)]['getTypeOfUnitDisposed$'](_0x2be1b1['UniverInstanceType'][_0x5ed14a(0x242)]))['pipe'](_0x4d5064[_0x5ed14a(0x207)](this[_0x5ed14a(0x272)]))[_0x5ed14a(0x21f)](_0x3c0e9f=>{const _0x12d6c2=_0x5ed14a,_0x55de0c=_0x3c0e9f[_0x12d6c2(0x224)](),_0x3ec0a1=this[_0x12d6c2(0x1d8)]['get'](_0x55de0c);_0x3ec0a1&&(_0x3ec0a1['dispose'](),this['_entities'][_0x12d6c2(0x115)](_0x55de0c));});}async[_0x1d8f3e(0x19e)](_0x59f366){const _0x1dbc93=_0x1d8f3e,_0x46b670=await this[_0x1dbc93(0x317)][_0x1dbc93(0x234)](_0x59f366),_0x546744=this[_0x1dbc93(0x25c)][_0x1dbc93(0x22a)](_0x322e3e,_0x59f366,_0x46b670);return _0x546744[_0x1dbc93(0x13e)](),_0x546744;}async[_0x1d8f3e(0x340)](_0x55b942){const _0x1534a2=_0x1d8f3e,_0x356717=await this[_0x1534a2(0x317)][_0x1534a2(0x234)](_0x55b942),_0x366a9f=this[_0x1534a2(0x25c)]['createInstance'](_0x28889b,_0x55b942,_0x356717);return _0x366a9f[_0x1534a2(0x13e)](),_0x366a9f;}};_0x14c6ad=_0x3097d4([_0xb2fddf(0x0,_0x2be1b1[_0x1d8f3e(0x32a)]),_0xb2fddf(0x1,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0xd7)])),_0xb2fddf(0x2,_0x2be1b1[_0x1d8f3e(0x362)](_0x10aa80[_0x1d8f3e(0x183)]))],_0x14c6ad);const _0x518666=0x14,_0x232d3d=0xc8,_0x4ea134=0x4,_0x31f132=0x5;function _0x370382(_0x66d246,_0x3fdd1f){const _0x31fb78=_0x1d8f3e;let {radius:_0x25994b,width:_0x50e25b,height:_0xae982d}=_0x3fdd1f;_0x25994b=_0x25994b!=null?_0x25994b:0x0,_0x50e25b=_0x50e25b!=null?_0x50e25b:0x1e,_0xae982d=_0xae982d!=null?_0xae982d:0x1e;let _0x2a9a01=0x0,_0x56d331=0x0,_0x215a15=0x0;_0x2a9a01=_0x56d331=_0x215a15=Math[_0x31fb78(0x2aa)](_0x25994b,_0x50e25b/0x2,_0xae982d/0x2),_0x66d246[_0x31fb78(0x286)](),_0x66d246[_0x31fb78(0xe7)](_0x2a9a01,0x0),_0x66d246[_0x31fb78(0x138)](_0x50e25b-_0x56d331,0x0),_0x66d246[_0x31fb78(0x261)](_0x50e25b-_0x56d331,_0x56d331,_0x56d331,Math['PI']*0x3/0x2,0x0,!0x1),_0x66d246[_0x31fb78(0x138)](_0x50e25b,_0xae982d-_0x215a15),_0x66d246[_0x31fb78(0x261)](_0x50e25b-_0x215a15,_0xae982d-_0x215a15,_0x215a15,0x0,Math['PI']/0x2,!0x1),_0x66d246[_0x31fb78(0x138)](0x0,_0xae982d),_0x66d246[_0x31fb78(0x138)](0x0,_0x2a9a01),_0x66d246[_0x31fb78(0x261)](_0x2a9a01,_0x2a9a01,_0x2a9a01,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x66d246[_0x31fb78(0x1e0)](),_0x3fdd1f[_0x31fb78(0x368)]&&(_0x66d246[_0x31fb78(0x37e)](),_0x66d246[_0x31fb78(0x17e)]=_0x3fdd1f[_0x31fb78(0x368)],_0x3fdd1f['fillRule']===_0x31fb78(0xf6)?_0x66d246[_0x31fb78(0x368)](_0x31fb78(0xf6)):_0x66d246['fill'](),_0x66d246[_0x31fb78(0x255)]());}class _0x2ef2e2 extends _0x4eb86c['Shape']{constructor(_0x245731,_0x3d81ad){const _0x5b4d7e=_0x1d8f3e;super(_0x245731,_0x3d81ad),_0xa4f9ad(this,_0x5b4d7e(0x185)),_0xa4f9ad(this,'text'),(this['color']=_0x3d81ad==null?void 0x0:_0x3d81ad['color'],this[_0x5b4d7e(0x144)]=_0x3d81ad==null?void 0x0:_0x3d81ad['text']);}static[_0x1d8f3e(0x346)](_0x3ec3c1,_0x290819){const _0x2ce52e=_0x1d8f3e,{text:_0x159f72,color:_0x334fab}=_0x290819;_0x3ec3c1[_0x2ce52e(0x37e)](),_0x3ec3c1[_0x2ce52e(0x2a7)]=_0x2ce52e(0x377);const _0x2d0b5d=_0x3ec3c1[_0x2ce52e(0x232)](_0x159f72)['width'],_0x34bfa4=Math[_0x2ce52e(0x2aa)](_0x2d0b5d+0x2*_0x4ea134,_0x232d3d);_0x370382(_0x3ec3c1,{'height':_0x518666,'radius':0x4,'width':_0x34bfa4,'fill':_0x334fab}),_0x3ec3c1[_0x2ce52e(0x17e)]=_0x2ce52e(0x128);const _0x2026a7=_0x4ea134,_0x31eabd=_0x518666-_0x31f132,_0x42d088=_0x232d3d-0x2*_0x4ea134;if(_0x2d0b5d>_0x42d088){let _0x378b6b='',_0x3dc2b0=0x0;for(const _0x99f9d0 of _0x159f72){const _0x5ae4bc=_0x3ec3c1['measureText'](_0x99f9d0)[_0x2ce52e(0x23b)];if(_0x3dc2b0+_0x5ae4bc<=_0x42d088-_0x3ec3c1['measureText'](_0x2ce52e(0x105))['width'])_0x378b6b+=_0x99f9d0,_0x3dc2b0+=_0x5ae4bc;else{_0x378b6b+=_0x2ce52e(0x105);break;}}_0x3ec3c1[_0x2ce52e(0x12b)](_0x378b6b,_0x2026a7,_0x31eabd);}else _0x3ec3c1[_0x2ce52e(0x12b)](_0x159f72,_0x2026a7,_0x31eabd);_0x3ec3c1[_0x2ce52e(0x255)]();}[_0x1d8f3e(0x126)](_0x1e0e39){_0x2ef2e2['drawWith'](_0x1e0e39,this);}}const _0x5e2c6a=_0x1d8f3e(0x12f),_0x1aef7a=_0x1d8f3e(0xec),_0x58690d='collab-rect-range-',_0x1e5561=0x6,_0x295ace=1.5,_0x543a29=0x4,_0x29d236=1.5,_0x2397cd=_0x1d8f3e(0x1ef);class _0x294100{constructor(_0x14b3f9,_0xe7ca6d,_0x564772,_0x37365c){const _0x1c01ec=_0x1d8f3e;_0xa4f9ad(this,_0x1c01ec(0x150),[]),_0xa4f9ad(this,_0x1c01ec(0x1da),null),_0xa4f9ad(this,'_textBubble',null),_0xa4f9ad(this,_0x1c01ec(0x1ff),null),_0xa4f9ad(this,_0x1c01ec(0x259),null),_0xa4f9ad(this,_0x1c01ec(0x239),null),(this[_0x1c01ec(0xdb)]=_0x14b3f9,this[_0x1c01ec(0x1d7)]=_0xe7ca6d,this[_0x1c01ec(0x1bb)]=_0x564772,this[_0x1c01ec(0x229)]=_0x37365c,this[_0x1c01ec(0x304)]());}set[_0x1d8f3e(0x27c)](_0x262d6d){const _0x1ed335=_0x1d8f3e;_0x262d6d?(this['_anchorDot']&&this[_0x1ed335(0x1ff)][_0x1ed335(0x218)](),this[_0x1ed335(0x22d)]&&this[_0x1ed335(0x22d)]['show']()):(this[_0x1ed335(0x1ff)]&&this[_0x1ed335(0x1ff)][_0x1ed335(0x154)](),this[_0x1ed335(0x22d)]&&this['_textBubble'][_0x1ed335(0x218)]());}[_0x1d8f3e(0xf4)](){const _0x37b334=_0x1d8f3e;for(const _0x508ca9 of this[_0x37b334(0x150)])_0x508ca9[_0x37b334(0xf4)]();this[_0x37b334(0x22d)]&&this[_0x37b334(0x22d)][_0x37b334(0xf4)](),this['_anchorDot']&&this[_0x37b334(0x1ff)]['dispose'](),this[_0x37b334(0x1da)]&&this[_0x37b334(0x1da)][_0x37b334(0xf4)](),this[_0x37b334(0x239)]&&this[_0x37b334(0x239)]();}['_render'](){const _0x36d059=_0x1d8f3e;var _0x54a157;const {_docSkeleton:_0x3b6d02,_document:_0x25cb8d}=this,{color:_0x17ea66,name:_0x5805f9,ranges:_0x57127f}=this[_0x36d059(0xdb)],_0x1d3def=_0x25cb8d[_0x36d059(0x276)](),{docsLeft:_0x6674e3,docsTop:_0x2e51c4}=_0x1d3def,_0x8988ef=new _0x180874[(_0x36d059(0x2a9))](_0x1d3def,_0x3b6d02);for(const {startOffset:_0x189eb7,endOffset:_0x2ee34e,rangeType:_0x37b810,segmentId:_0x5ed37e,segmentPage:_0x48bb4e,collapsed:_0x8547f5,isActive:_0x5b9353}of _0x57127f){const _0x23b121=_0x3b6d02[_0x36d059(0x11e)](_0x189eb7,!0x0,_0x5ed37e,_0x48bb4e);let _0x5499c2=_0x3b6d02[_0x36d059(0x11e)](_0x2ee34e,!0x0,_0x5ed37e,_0x48bb4e);if(_0x5499c2==null&&(_0x5499c2=_0x3b6d02[_0x36d059(0x11e)](_0x2ee34e-0x1,!0x1,_0x5ed37e,_0x48bb4e)),_0x5b9353){const {contentBoxPointGroup:_0x5c79c5}=_0x8988ef['getRangePointData'](_0x5499c2,_0x5499c2);if(_0x5c79c5['length']===0x0)continue;this[_0x36d059(0x2b0)](_0x17ea66,_0x5c79c5,_0x6674e3,_0x2e51c4,_0x5805f9),this[_0x36d059(0x239)]=this[_0x36d059(0x10c)]();}if(_0x23b121&&_0x5499c2){if(_0x37b810===_0x2be1b1[_0x36d059(0x1c7)]['RECT']){const _0xfd4134=new _0x180874['NodePositionConvertToRectRange'](_0x1d3def,_0x3b6d02),{pointGroup:_0xb013b4}=(_0x54a157=_0xfd4134[_0x36d059(0x238)](_0x23b121,_0x5499c2))!=null?_0x54a157:{};if(_0xb013b4==null||_0xb013b4[_0x36d059(0x293)]===0x0)continue;this[_0x36d059(0x2eb)](_0x17ea66,_0xb013b4,_0x6674e3,_0x2e51c4);}else{if(!_0x8547f5){const {borderBoxPointGroup:_0x5e76c9}=_0x8988ef['getRangePointData'](_0x23b121,_0x5499c2);if(_0x5e76c9[_0x36d059(0x293)]===0x0)continue;this[_0x36d059(0x139)](_0x17ea66,_0x5e76c9,_0x6674e3,_0x2e51c4);}}}}}[_0x1d8f3e(0x2b0)](_0x3447c7,_0x1cfc27,_0x13db90,_0x558add,_0x1c283a){const _0x18047b=_0x1d8f3e,_0x2429a2=this[_0x18047b(0x343)](_0x1cfc27),{left:_0x447d9e,top:_0x1d0883,height:_0x211de3}=_0x2429a2,_0x58cb22=this[_0x18047b(0x179)](),_0xd7f09e=_0x29d236/_0x58cb22,_0x18e39e=new _0x4eb86c[(_0x18047b(0x382))](_0x5e2c6a+_0x2be1b1[_0x18047b(0x17c)][_0x18047b(0x181)](_0x1e5561),{'left':_0x447d9e+_0x13db90-_0xd7f09e,'top':_0x1d0883+_0x558add,'height':_0x211de3,'width':_0x295ace,'fill':_0x3447c7||_0x4eb86c[_0x18047b(0x34d)](_0x2be1b1['COLORS'][_0x18047b(0x204)],0x0),'strokeWidth':_0xd7f09e,'stroke':_0x2397cd,'evented':!0x0});this[_0x18047b(0x1da)]=_0x18e39e,this[_0x18047b(0x1d7)][_0x18047b(0x2b6)](_0x18e39e,_0x180874[_0x18047b(0x1ca)]);const _0x51b886=new _0x4eb86c[(_0x18047b(0x382))](_0x5e2c6a+_0x2be1b1[_0x18047b(0x17c)][_0x18047b(0x181)](_0x1e5561),{'left':_0x447d9e+_0x13db90-_0xd7f09e,'top':_0x1d0883+_0x558add-_0x543a29/0x2,'height':_0x543a29,'width':_0x543a29,'fill':_0x3447c7||_0x4eb86c[_0x18047b(0x34d)](_0x2be1b1['COLORS'][_0x18047b(0x204)],0x0),'strokeWidth':0x0,'stroke':_0x3447c7||_0x4eb86c['getColor'](_0x2be1b1[_0x18047b(0x13a)]['black'],0x0),'evented':!0x1});this[_0x18047b(0x1ff)]=_0x51b886,this['_scene'][_0x18047b(0x2b6)](_0x51b886,_0x180874[_0x18047b(0x1ca)]);const _0x2bfe3d=new _0x2ef2e2(_0x5e2c6a+_0x2be1b1[_0x18047b(0x17c)]['generateRandomId'](_0x1e5561),{'left':_0x447d9e+_0x13db90-_0xd7f09e,'top':_0x1d0883+_0x558add-_0x518666,'text':_0x1c283a,'color':_0x3447c7});this[_0x18047b(0x22d)]=_0x2bfe3d,this[_0x18047b(0x1d7)][_0x18047b(0x2b6)](_0x2bfe3d,_0x180874[_0x18047b(0x1ca)]),this['_hover']=!0x1;}['_handleHover'](){const _0x2b8850=_0x1d8f3e,_0x3e993a=this['_anchor'][_0x2b8850(0x369)]['subscribeEvent'](()=>{const _0x1b464d=_0x2b8850;this[_0x1b464d(0x27c)]=!0x0;}),_0x2c2ae9=this[_0x2b8850(0x1da)][_0x2b8850(0x26d)]['subscribeEvent'](()=>{const _0x1abf5f=_0x2b8850;this[_0x1abf5f(0x259)]&&clearTimeout(this[_0x1abf5f(0x259)]),this['_hideTimer']=setTimeout(()=>{const _0x4d1680=_0x1abf5f;this[_0x4d1680(0x27c)]=!0x1;},0x7d0);});return()=>{const _0x4632e2=_0x2b8850;_0x3e993a[_0x4632e2(0x1e4)](),_0x2c2ae9['unsubscribe']();};}[_0x1d8f3e(0x139)](_0x17ba80,_0x535e1b,_0x43fcf,_0x270c2f){const _0x134f80=_0x1d8f3e,_0x396d6c=new _0x2be1b1[(_0x134f80(0xd8))](_0x17ba80)[_0x134f80(0x1c3)](0.2)['toRgbString'](),_0x501166=new _0x4eb86c[(_0x134f80(0xf9))](_0x1aef7a+_0x2be1b1[_0x134f80(0x17c)]['generateRandomId'](_0x1e5561),{'pointsGroup':_0x535e1b,'fill':_0x396d6c||_0x4eb86c['getColor'](_0x2be1b1[_0x134f80(0x13a)][_0x134f80(0x204)],0.2),'left':_0x43fcf,'top':_0x270c2f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x134f80(0x150)][_0x134f80(0x1ce)](_0x501166),this['_scene'][_0x134f80(0x2b6)](_0x501166,_0x180874[_0x134f80(0x1ca)]);}[_0x1d8f3e(0x2eb)](_0xded4f3,_0x10f2a7,_0x35e1d1,_0xabfabe){const _0x7e4463=_0x1d8f3e,_0x32d99f=new _0x2be1b1[(_0x7e4463(0xd8))](_0xded4f3)['setAlpha'](0.2)[_0x7e4463(0x1b3)](),_0x42e64e=new _0x4eb86c[(_0x7e4463(0xf9))](_0x58690d+_0x2be1b1[_0x7e4463(0x17c)][_0x7e4463(0x181)](_0x1e5561),{'pointsGroup':_0x10f2a7,'fill':_0x32d99f||_0x4eb86c[_0x7e4463(0x34d)](_0x2be1b1['COLORS']['black'],0.2),'left':_0x35e1d1,'top':_0xabfabe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7e4463(0x150)][_0x7e4463(0x1ce)](_0x42e64e),this[_0x7e4463(0x1d7)]['addObject'](_0x42e64e,_0x180874[_0x7e4463(0x1ca)]);}[_0x1d8f3e(0x343)](_0x4bd273){const _0x3955bb=_0x4bd273[0x0],_0x3da363=_0x3955bb[0x0],_0x53de18=_0x3955bb[0x2],{x:_0x29d547,y:_0x2f6681}=_0x3da363,{x:_0x32084a,y:_0x30a357}=_0x53de18;return{'left':_0x29d547,'top':_0x2f6681,'width':_0x32084a-_0x29d547,'height':_0x30a357-_0x2f6681};}[_0x1d8f3e(0x179)](){const _0x5812de=_0x1d8f3e,{scaleX:_0x26a25e,scaleY:_0x23331b}=this['_scene']['getAncestorScale']();return Math[_0x5812de(0xed)](_0x26a25e,_0x23331b);}}var _0x567339=Object[_0x1d8f3e(0x193)],_0x2376da=(_0x3dce4a,_0x37787f,_0x37d8dc,_0x177f82)=>{const _0x15e8e=_0x1d8f3e;for(var _0x383a09=_0x177f82>0x1?void 0x0:_0x177f82?_0x567339(_0x37787f,_0x37d8dc):_0x37787f,_0x23d3e5=_0x3dce4a[_0x15e8e(0x293)]-0x1,_0x1e5e05;_0x23d3e5>=0x0;_0x23d3e5--)(_0x1e5e05=_0x3dce4a[_0x23d3e5])&&(_0x383a09=_0x1e5e05(_0x383a09)||_0x383a09);return _0x383a09;},_0x1f1218=(_0x44978f,_0x1d33b7)=>(_0x513c71,_0x425f3e)=>_0x1d33b7(_0x513c71,_0x425f3e,_0x44978f);let _0x53c0bb=class extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(_0x2225ae,_0xf82c8f,_0x21a549,_0x1702fc,_0xa5a163){const _0x58e0b8=_0x1d8f3e;super(),_0xa4f9ad(this,_0x58e0b8(0x1f9),[]),_0xa4f9ad(this,_0x58e0b8(0x15b),[]),(this['_context']=_0x2225ae,this[_0x58e0b8(0x177)]=_0xf82c8f,this[_0x58e0b8(0x10b)]=_0x21a549,this[_0x58e0b8(0x11a)]=_0x1702fc,this['_themeService']=_0xa5a163,this['_init']());}[_0x1d8f3e(0x373)](){const _0x3dc0e3=_0x1d8f3e,_0x335a60=this[_0x3dc0e3(0x2df)]['unitId'],_0x5401b3=this['_docSkeletonManagerService'];this[_0x3dc0e3(0x114)](_0x4d5064[_0x3dc0e3(0x233)]([this[_0x3dc0e3(0x10b)][_0x3dc0e3(0x167)](_0x335a60),this['_themeService'][_0x3dc0e3(0x21d)]])[_0x3dc0e3(0x18f)](_0x454b25[_0x3dc0e3(0x325)](([_0x596338,_0x307a2f])=>({'skeleton':_0x5401b3['getSkeleton'](),'cursors':[..._0x596338[_0x3dc0e3(0x16f)]()]['flatMap'](_0x407ff8=>({..._0x407ff8,'color':this[_0x3dc0e3(0x148)][_0x3dc0e3(0x1ae)](_0x407ff8[_0x3dc0e3(0x185)])}))})))[_0x3dc0e3(0x21f)](_0x3b574e=>{const _0x4f9495=_0x3dc0e3;if(this[_0x4f9495(0x174)](),_0x3b574e){const {skeleton:_0x2771ad,cursors:_0x2cfa94}=_0x3b574e;this[_0x4f9495(0x2b3)](_0x2771ad,_0x2cfa94);}})),this[_0x3dc0e3(0x1ac)](),this[_0x3dc0e3(0x26a)]();}[_0x1d8f3e(0x2b3)](_0xd1a88d,_0x3abef2){const _0x1290e0=_0x1d8f3e,{scene:_0x146b00,mainComponent:_0x59e6c4}=this[_0x1290e0(0x2df)],_0x3095ee=_0x3abef2[_0x1290e0(0x325)](_0xffd67b=>new _0x294100(_0xffd67b,_0x146b00,_0xd1a88d,_0x59e6c4));this['_cursorShapes']=_0x3095ee,this[_0x1290e0(0x15b)]=_0x3abef2;}[_0x1d8f3e(0x170)](){const _0x14bf08=_0x1d8f3e;this[_0x14bf08(0x174)]();const {scene:_0x1931d2,mainComponent:_0x389421}=this['_context'],_0x5d6966=this[_0x14bf08(0x177)][_0x14bf08(0x2d7)](),_0x58e038=this['_cursors'][_0x14bf08(0x325)](_0x42431f=>new _0x294100(_0x42431f,_0x1931d2,_0x5d6966,_0x389421));this['_cursorShapes']=_0x58e038;}['_removeCollabCursors'](){const _0x459a33=_0x1d8f3e;this[_0x459a33(0x1f9)][_0x459a33(0x182)](_0x27b344=>_0x27b344['dispose']()),this[_0x459a33(0x1f9)]=[];}[_0x1d8f3e(0x26a)](){const _0x1e365f=_0x1d8f3e,_0x17d39b=[_0x180874[_0x1e365f(0xf3)]['id']];this['disposeWithMe'](this['_commandService'][_0x1e365f(0x1ed)](_0x192091=>{const _0x5ae209=_0x1e365f;_0x17d39b[_0x5ae209(0x141)](_0x192091['id'])&&_0x192091['params'][_0x5ae209(0x189)]===this[_0x5ae209(0x2df)][_0x5ae209(0x189)]&&this[_0x5ae209(0x170)]();}));}[_0x1d8f3e(0x1ac)](){const _0x24e3f5=_0x1d8f3e;this[_0x24e3f5(0x114)](_0x2be1b1[_0x24e3f5(0x198)](this[_0x24e3f5(0x2df)][_0x24e3f5(0x173)]['onTransformChange$'])[_0x24e3f5(0x18f)](_0x454b25[_0x24e3f5(0x113)](_0x181129=>_0x181129[_0x24e3f5(0x1c5)]===_0x4eb86c[_0x24e3f5(0x2c8)]['resize']),_0x454b25[_0x24e3f5(0x344)](0x10))[_0x24e3f5(0x21f)](()=>{const _0x13389e=_0x24e3f5;this[_0x13389e(0x170)]();}));}};_0x53c0bb=_0x2376da([_0x1f1218(0x1,_0x2be1b1[_0x1d8f3e(0x362)](_0x42fbeb['DocSkeletonManagerService'])),_0x1f1218(0x2,_0x2be1b1['Inject'](_0x14c6ad)),_0x1f1218(0x3,_0x2be1b1['ICommandService']),_0x1f1218(0x4,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0x28a)]))],_0x53c0bb);const _0x1b7cdd=0x1,_0x4d414f=1.5;class _0x56a310 extends _0x4eb86c[_0x1d8f3e(0xfb)]{constructor(_0x448f0a,_0x349b6c){const _0x560b17=_0x1d8f3e;super(_0x448f0a,_0x349b6c),_0xa4f9ad(this,_0x560b17(0x1c0)),_0xa4f9ad(this,_0x560b17(0x264),!0x1),_0xa4f9ad(this,_0x560b17(0x1d4)),_0xa4f9ad(this,_0x560b17(0x30d),''),_0xa4f9ad(this,'_labelPosition',_0x560b17(0x332)),_0xa4f9ad(this,_0x560b17(0x1ba)),(_0x349b6c&&this[_0x560b17(0x2f3)](_0x349b6c),this[_0x560b17(0x369)][_0x560b17(0x11c)](()=>this[_0x560b17(0x2f3)]({'hovered':!0x0})),this[_0x560b17(0x26d)][_0x560b17(0x11c)](()=>this[_0x560b17(0x2f3)]({'hovered':!0x1})));}[_0x1d8f3e(0x2f3)](_0x2c64b1){const _0x4d7b9f=_0x1d8f3e;var _0x27f309,_0x289ebf,_0x1b3979,_0x5c9580,_0xd417d6,_0x31f6b4;this['_color']=(_0x27f309=_0x2c64b1[_0x4d7b9f(0x185)])!=null?_0x27f309:this['_color'],this[_0x4d7b9f(0x264)]=(_0x289ebf=_0x2c64b1['hovered'])!=null?_0x289ebf:this[_0x4d7b9f(0x264)],this['_range']=(_0x1b3979=_0x2c64b1[_0x4d7b9f(0x2db)])!=null?_0x1b3979:this[_0x4d7b9f(0x1d4)],this[_0x4d7b9f(0x30d)]=(_0x5c9580=_0x2c64b1[_0x4d7b9f(0x2b1)])!=null?_0x5c9580:this[_0x4d7b9f(0x30d)],this[_0x4d7b9f(0x210)]=(_0xd417d6=_0x2c64b1['labelPosition'])!=null?_0xd417d6:this['_labelPosition'],this[_0x4d7b9f(0x1ba)]=(_0x31f6b4=_0x2c64b1[_0x4d7b9f(0x29a)])!=null?_0x31f6b4:this[_0x4d7b9f(0x1ba)],this[_0x4d7b9f(0x256)]({'width':_0x2c64b1[_0x4d7b9f(0x23b)],'height':_0x2c64b1[_0x4d7b9f(0x1b9)]});}[_0x1d8f3e(0x194)](_0x70405){const _0x2b080a=_0x1d8f3e,{row:_0x147cf2,column:_0x614a67}=_0x70405;if(_0x147cf2>=this[_0x2b080a(0x1d4)][_0x2b080a(0x2f1)]&&_0x147cf2<=this[_0x2b080a(0x1d4)][_0x2b080a(0x109)]&&_0x614a67>=this[_0x2b080a(0x1d4)][_0x2b080a(0x360)]&&_0x614a67<=this[_0x2b080a(0x1d4)][_0x2b080a(0x1a8)]){this[_0x2b080a(0x2f3)]({'hovered':!0x0});return;}this[_0x2b080a(0x2f3)]({'hovered':!0x1});}[_0x1d8f3e(0x2cf)](_0x1a9d04){return!0x1;}[_0x1d8f3e(0x126)](_0x2b946d){const _0x154c1c=_0x1d8f3e;_0x4eb86c[_0x154c1c(0x382)]['drawWith'](_0x2b946d,{'width':this[_0x154c1c(0x23b)],'height':this[_0x154c1c(0x1b9)],'strokeWidth':_0x4d414f,'stroke':this[_0x154c1c(0x1c0)],'evented':!0x1,'fill':this[_0x154c1c(0x1ba)]}),this[_0x154c1c(0x264)]&&(_0x2b946d[_0x154c1c(0x37e)](),_0x2b946d['transform'](0x1,0x0,0x0,0x1,this[_0x154c1c(0x23b)],this[_0x154c1c(0x210)]===_0x154c1c(0xdd)?0x0:-0x14),_0x2ef2e2[_0x154c1c(0x346)](_0x2b946d,{'text':this[_0x154c1c(0x30d)],'color':this['_color']}),_0x2b946d[_0x154c1c(0x255)]());}}var _0x481820=Object[_0x1d8f3e(0x193)],_0x30dce2=(_0x184c69,_0x3bf551,_0x37e6b2,_0x45614c)=>{const _0x5c7b83=_0x1d8f3e;for(var _0x5188d9=_0x45614c>0x1?void 0x0:_0x45614c?_0x481820(_0x3bf551,_0x37e6b2):_0x3bf551,_0x636e5c=_0x184c69[_0x5c7b83(0x293)]-0x1,_0x1688ae;_0x636e5c>=0x0;_0x636e5c--)(_0x1688ae=_0x184c69[_0x636e5c])&&(_0x5188d9=_0x1688ae(_0x5188d9)||_0x5188d9);return _0x5188d9;},_0x27bb98=(_0x3b7f80,_0xc993ff)=>(_0x49b80c,_0x3fff61)=>_0xc993ff(_0x49b80c,_0x3fff61,_0x3b7f80);const _0x349296=0x1389;let _0x30a22f=class extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(_0x59ed72,_0x51a020,_0x398aa9,_0x1bd252){const _0x72e21c=_0x1d8f3e;super(),_0xa4f9ad(this,_0x72e21c(0x15b),new Set()),_0xa4f9ad(this,_0x72e21c(0x27d),null),(this[_0x72e21c(0x2df)]=_0x59ed72,this[_0x72e21c(0x25d)]=_0x51a020,this[_0x72e21c(0x10b)]=_0x398aa9,this[_0x72e21c(0x148)]=_0x1bd252,this['_init']());}[_0x1d8f3e(0x373)](){const _0x4a11a0=_0x1d8f3e;this['_sheetSkeletonManagerService'][_0x4a11a0(0x1f3)][_0x4a11a0(0x18f)](_0x454b25[_0x4a11a0(0x207)](this[_0x4a11a0(0x272)]),_0x454b25[_0x4a11a0(0x175)](_0x1e7fcf=>{const _0x54d1a6=_0x4a11a0;if(_0x1e7fcf){const _0x3b7946=_0x1e7fcf[_0x54d1a6(0x36a)];return _0x4d5064[_0x54d1a6(0x233)](this[_0x54d1a6(0x10b)][_0x54d1a6(0x167)](this[_0x54d1a6(0x2df)][_0x54d1a6(0x189)]),this['_themeService'][_0x54d1a6(0x21d)])[_0x54d1a6(0x18f)](_0x454b25[_0x54d1a6(0x325)](([_0x3c515f,_0x3dd062])=>{const _0x49bb2c=_0x54d1a6,_0x3f307d=new Map();return _0x3c515f[_0x49bb2c(0x182)]((_0x1c412c,_0x272cbe)=>{const _0xf1f993=_0x49bb2c;if(_0x1c412c[_0xf1f993(0x220)]===_0x3b7946){const _0x4c9c9e={..._0x1c412c};_0x4c9c9e['color']=this[_0xf1f993(0x148)]['getColorFromTheme'](_0x1c412c[_0xf1f993(0x185)]),_0x3f307d[_0xf1f993(0x2d6)](_0x272cbe,_0x4c9c9e);}}),{'skeleton':_0x1e7fcf,'cursors':_0x3f307d};}));}return _0x4d5064['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a11a0(0x21f)](({skeleton:_0x58576a,cursors:_0x3e33a5})=>{const _0x363ac8=_0x4a11a0;this[_0x363ac8(0x174)](),_0x58576a&&this[_0x363ac8(0x2b3)](_0x58576a,_0x3e33a5);}),this[_0x4a11a0(0x25d)]['currentSkeleton$'][_0x4a11a0(0x21f)](_0x151081=>{const _0x3e8356=_0x4a11a0;if(_0x151081==null)return;const {skeleton:_0x43f7fe}=_0x151081,{scene:_0x33be47}=this[_0x3e8356(0x2df)];_0x33be47['onPointerMove$']['subscribeEvent'](_0x2be1b1[_0x3e8356(0x1b6)](_0x400924=>{const _0x31a1d4=_0x3e8356;var _0x5d3832,_0x58ed4c;const {offsetX:_0x56b484,offsetY:_0x166625}=_0x400924,{x:_0xc9a012,y:_0x34fa06}=_0x33be47[_0x31a1d4(0x1ea)](_0x4eb86c[_0x31a1d4(0x1bc)][_0x31a1d4(0x31a)]([_0x56b484,_0x166625])),{scaleX:_0xfeb6b8,scaleY:_0x3d1b05}=_0x33be47['getAncestorScale'](),_0x3359d1=_0x33be47[_0x31a1d4(0x2f2)](_0x4eb86c[_0x31a1d4(0x17d)]['VIEW_MAIN']),_0x47e106=_0x33be47[_0x31a1d4(0x11d)](_0x4eb86c['Vector2'][_0x31a1d4(0x31a)]([_0xc9a012,_0x34fa06]),_0x3359d1),_0x82db7b=_0x43f7fe[_0x31a1d4(0x33c)](_0x56b484,_0x166625,_0xfeb6b8,_0x3d1b05,_0x47e106);((_0x5d3832=this[_0x31a1d4(0x27d)])==null?void 0x0:_0x5d3832[_0x31a1d4(0x20f)])===_0x82db7b[_0x31a1d4(0x20f)]&&((_0x58ed4c=this[_0x31a1d4(0x27d)])==null?void 0x0:_0x58ed4c[_0x31a1d4(0x35b)])===_0x82db7b['row']||this[_0x31a1d4(0x15b)][_0x31a1d4(0x182)](_0xc5e37e=>{const _0x16b23e=_0x31a1d4;_0xc5e37e[_0x16b23e(0x194)](_0x82db7b);});},0x64));});}['_updateCollabCursors'](_0x9b0615,_0x28d3e1){const _0x35b853=_0x1d8f3e;var _0x1f7e20;const _0x53b437=(_0x1f7e20=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x1f7e20[_0x35b853(0x34f)];if(!_0x53b437)return;const _0x31513a=this[_0x35b853(0x140)]();if(!_0x31513a)return;this[_0x35b853(0x15b)][_0x35b853(0x182)](_0xb0cc36=>{const _0x130c8c=_0x35b853;_0xb0cc36[_0x130c8c(0x250)]();});const {scene:_0x1ce48d}=_0x31513a,_0x415e45=_0xf5a7d8(Array[_0x35b853(0x142)](_0x28d3e1[_0x35b853(0x16f)]()))['map'](_0x4b2060=>{const _0x4a1974=_0x35b853,{color:_0x45a4f5,range:_0x134339,name:_0x215245,selection:_0x463473,sheetID:_0xdd29d6}=_0x4b2060,{startColumn:_0x3fcbb8,startRow:_0x284d01,endColumn:_0x7aa62f,endRow:_0x19952f}=_0x134339,_0x19c7c1=_0x495d51[_0x4a1974(0x1bd)](_0x284d01,_0x3fcbb8,_0x1ce48d,_0x53b437),_0x11577=_0x495d51['getCoordByCell'](_0x19952f,_0x7aa62f,_0x1ce48d,_0x53b437),{columnHeaderHeightAndMarginTop:_0x47f004}=_0x53b437,{startX:_0x2f0b75,startY:_0x53402e}=_0x19c7c1,{endX:_0x36a380,endY:_0x4e9a85}=_0x11577,_0x38a6d3=_0x36a380-_0x2f0b75,_0x125755=_0x4e9a85-_0x53402e,_0x1bc90e={'labelPosition':_0x53402e-_0x47f004>=_0x518666?'top':_0x4a1974(0xdd),'sheetID':_0xdd29d6,'range':_0x134339,'color':_0x45a4f5,'name':_0x215245,'selection':_0x463473,'left':_0x2f0b75,'top':_0x53402e,'width':_0x38a6d3,'height':_0x125755,'evented':!0x1,'zIndex':_0x349296};return new _0x56a310(_0x215245,_0x1bc90e);});_0x1ce48d[_0x35b853(0x294)](_0x415e45,_0x1b7cdd),this[_0x35b853(0x15b)]=new Set(_0x415e45);}[_0x1d8f3e(0x174)](){const _0x32680a=_0x1d8f3e;var _0x3e3faa;(_0x3e3faa=this[_0x32680a(0x15b)])==null||_0x3e3faa[_0x32680a(0x182)](_0x34c477=>_0x34c477[_0x32680a(0xf4)]());}[_0x1d8f3e(0x140)](){const _0x37821d=_0x1d8f3e;return _0x495d51['getSheetObject'](this[_0x37821d(0x2df)][_0x37821d(0x33e)],this[_0x37821d(0x2df)]);}};_0x30a22f=_0x30dce2([_0x27bb98(0x1,_0x2be1b1[_0x1d8f3e(0x362)](_0x495d51['SheetSkeletonManagerService'])),_0x27bb98(0x2,_0x2be1b1[_0x1d8f3e(0x362)](_0x14c6ad)),_0x27bb98(0x3,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0x28a)]))],_0x30a22f);function _0xf5a7d8(_0x3be028){const _0x4ed88a=_0x1d8f3e,_0x3cecbf=new Map();return _0x3be028[_0x4ed88a(0x182)](_0x3fe68b=>{const _0x14dc94=_0x4ed88a;if(_0x3cecbf[_0x14dc94(0x1fc)](_0x3fe68b[_0x14dc94(0xfd)])){const _0xce3d48=_0x3cecbf[_0x14dc94(0x367)](_0x3fe68b[_0x14dc94(0xfd)]);_0xce3d48[_0x14dc94(0x2b1)]+=',\x20'+_0x3fe68b[_0x14dc94(0x2b1)];}else _0x3cecbf[_0x14dc94(0x2d6)](_0x3fe68b[_0x14dc94(0xfd)],_0x3fe68b);}),Array[_0x4ed88a(0x142)](_0x3cecbf[_0x4ed88a(0x16f)]());}var _0x23e661=function(){return _0x23e661=Object['assign']||function(_0x5a645f){const _0xd23eaa=_0x3bf7;for(var _0x576cc7,_0x570fe3=0x1,_0x20c638=arguments[_0xd23eaa(0x293)];_0x570fe3<_0x20c638;_0x570fe3++){_0x576cc7=arguments[_0x570fe3];for(var _0x41073d in _0x576cc7)Object['prototype'][_0xd23eaa(0x2ca)][_0xd23eaa(0x375)](_0x576cc7,_0x41073d)&&(_0x5a645f[_0x41073d]=_0x576cc7[_0x41073d]);}return _0x5a645f;},_0x23e661['apply'](this,arguments);},_0x1e4dde=function(_0x5798b7,_0x2c4e0d){const _0x1a9f8f=_0x1d8f3e;var _0x1bcb2e={};for(var _0x24bdbf in _0x5798b7)Object[_0x1a9f8f(0x209)][_0x1a9f8f(0x2ca)][_0x1a9f8f(0x375)](_0x5798b7,_0x24bdbf)&&_0x2c4e0d[_0x1a9f8f(0x2bf)](_0x24bdbf)<0x0&&(_0x1bcb2e[_0x24bdbf]=_0x5798b7[_0x24bdbf]);if(_0x5798b7!=null&&typeof Object[_0x1a9f8f(0x199)]==_0x1a9f8f(0x12e)){for(var _0x2df2a4=0x0,_0x24bdbf=Object[_0x1a9f8f(0x199)](_0x5798b7);_0x2df2a4<_0x24bdbf[_0x1a9f8f(0x293)];_0x2df2a4++)_0x2c4e0d[_0x1a9f8f(0x2bf)](_0x24bdbf[_0x2df2a4])<0x0&&Object[_0x1a9f8f(0x209)]['propertyIsEnumerable'][_0x1a9f8f(0x375)](_0x5798b7,_0x24bdbf[_0x2df2a4])&&(_0x1bcb2e[_0x24bdbf[_0x2df2a4]]=_0x5798b7[_0x24bdbf[_0x2df2a4]]);}return _0x1bcb2e;},_0x3a7247=_0x67b6de[_0x1d8f3e(0x30f)](function(_0x51f189,_0x74620e){const _0x27f2ed=_0x1d8f3e;var _0x494617=_0x51f189[_0x27f2ed(0x164)],_0x3a698f=_0x51f189['id'],_0xca376f=_0x51f189[_0x27f2ed(0x1a7)],_0x29cc14=_0x51f189[_0x27f2ed(0x2e4)],_0x32ff46=_0x1e4dde(_0x51f189,[_0x27f2ed(0x164),'id','className',_0x27f2ed(0x2e4)]),_0x5680f5=_0x27f2ed(0x284)[_0x27f2ed(0xef)](_0x3a698f,'\x20')[_0x27f2ed(0xef)](_0xca376f||'')[_0x27f2ed(0x1b1)](),_0x2e57f6=_0x67b6de[_0x27f2ed(0x328)]('_'['concat'](_0x43580f()));return _0x4e3d3d(_0x494617,''[_0x27f2ed(0xef)](_0x3a698f),{'defIds':_0x494617['defIds'],'idSuffix':_0x2e57f6[_0x27f2ed(0x364)]},_0x23e661({'ref':_0x74620e,'className':_0x5680f5},_0x32ff46),_0x29cc14);});function _0x4e3d3d(_0x4e95d7,_0x2bd869,_0x379575,_0x2e372f,_0x17dd51){const _0x6e943e=_0x1d8f3e;return _0x67b6de['createElement'](_0x4e95d7[_0x6e943e(0xea)],_0x23e661(_0x23e661({'key':_0x2bd869},_0x2bfc30(_0x4e95d7,_0x379575,_0x17dd51)),_0x2e372f),(_0xb5992f(_0x4e95d7,_0x379575)[_0x6e943e(0x1c1)]||[])[_0x6e943e(0x325)](function(_0x177ab4,_0x591f93){const _0x2bf564=_0x6e943e;return _0x4e3d3d(_0x177ab4,''[_0x2bf564(0xef)](_0x2bd869,'-')[_0x2bf564(0xef)](_0x4e95d7[_0x2bf564(0xea)],'-')[_0x2bf564(0xef)](_0x591f93),_0x379575,void 0x0,_0x17dd51);}));}function _0x2bfc30(_0x13f30a,_0x3b0f70,_0x181f9c){const _0x2a9dd3=_0x1d8f3e;var _0x3efd78=_0x23e661({},_0x13f30a[_0x2a9dd3(0x219)]);_0x181f9c!=null&&_0x181f9c[_0x2a9dd3(0x295)]&&_0x3efd78[_0x2a9dd3(0x368)]===_0x2a9dd3(0x295)&&(_0x3efd78['fill']=_0x181f9c[_0x2a9dd3(0x295)]),_0x13f30a[_0x2a9dd3(0xea)]==='mask'&&_0x3efd78['id']&&(_0x3efd78['id']=_0x3efd78['id']+_0x3b0f70['idSuffix']),Object['entries'](_0x3efd78)['forEach'](function(_0x16d496){const _0x10db07=_0x2a9dd3;var _0x3b2156=_0x16d496[0x0],_0x36fa6e=_0x16d496[0x1];_0x3b2156===_0x10db07(0x298)&&typeof _0x36fa6e==_0x10db07(0x345)&&(_0x3efd78[_0x3b2156]=_0x36fa6e['replace'](/url\(#(.*)\)/,_0x10db07(0x287)[_0x10db07(0xef)](_0x3b0f70[_0x10db07(0x2e9)],')')));});var _0xfd5842=_0x3b0f70['defIds'];return!_0xfd5842||_0xfd5842[_0x2a9dd3(0x293)]===0x0||(_0x13f30a[_0x2a9dd3(0xea)]===_0x2a9dd3(0x324)&&_0x3efd78[_0x2a9dd3(0x13d)]&&(_0x3efd78[_0x2a9dd3(0x13d)]=_0x3efd78[_0x2a9dd3(0x13d)]+_0x3b0f70['idSuffix']),Object['entries'](_0x3efd78)[_0x2a9dd3(0x182)](function(_0x81a2e5){const _0x4c309f=_0x2a9dd3;var _0xf96875=_0x81a2e5[0x0],_0x136690=_0x81a2e5[0x1];typeof _0x136690=='string'&&(_0x3efd78[_0xf96875]=_0x136690[_0x4c309f(0x357)](/url\(#(.*)\)/,_0x4c309f(0x287)[_0x4c309f(0xef)](_0x3b0f70['idSuffix'],')')));})),_0x3efd78;}function _0xb5992f(_0x24bf58,_0xf11815){const _0x187b66=_0x1d8f3e;var _0x3f70d8,_0x4d5650=_0xf11815[_0x187b66(0x2d9)];return!_0x4d5650||_0x4d5650[_0x187b66(0x293)]===0x0?_0x24bf58:_0x24bf58[_0x187b66(0xea)]==='defs'&&(!((_0x3f70d8=_0x24bf58['children'])===null||_0x3f70d8===void 0x0)&&_0x3f70d8[_0x187b66(0x293)])?_0x23e661(_0x23e661({},_0x24bf58),{'children':_0x24bf58[_0x187b66(0x1c1)][_0x187b66(0x325)](function(_0x5f58db){const _0x4fffd1=_0x187b66;return typeof _0x5f58db[_0x4fffd1(0x219)]['id']==_0x4fffd1(0x345)&&_0x4d5650&&_0x4d5650[_0x4fffd1(0x141)](_0x5f58db[_0x4fffd1(0x219)]['id'])?_0x23e661(_0x23e661({},_0x5f58db),{'attrs':_0x23e661(_0x23e661({},_0x5f58db[_0x4fffd1(0x219)]),{'id':_0x5f58db[_0x4fffd1(0x219)]['id']+_0xf11815[_0x4fffd1(0x2e9)]})}):_0x5f58db;})}):_0x24bf58;}function _0x43580f(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x3a7247[_0x1d8f3e(0x26b)]=_0x1d8f3e(0x381);var _0x47096d={'tag':_0x1d8f3e(0x28f),'attrs':{'xmlns':_0x1d8f3e(0x186),'fill':_0x1d8f3e(0x254),'viewBox':_0x1d8f3e(0x162),'width':'1em','height':_0x1d8f3e(0x1d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d8f3e(0x2c3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1d8f3e(0x2e6),'strokeLinecap':_0x1d8f3e(0x355),'strokeLinejoin':_0x1d8f3e(0x355),'strokeWidth':1.2}}]},{'tag':_0x1d8f3e(0x1e1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1d8f3e(0x34c),'attrs':{'fill':_0x1d8f3e(0x180),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1d8f3e(0x14f)]},_0x592fa5=_0x67b6de[_0x1d8f3e(0x30f)](function(_0xe177cd,_0x2a3e7a){const _0x2789d2=_0x1d8f3e;return _0x67b6de[_0x2789d2(0x11f)](_0x3a7247,Object[_0x2789d2(0x363)]({},_0xe177cd,{'id':_0x2789d2(0x37a),'ref':_0x2a3e7a,'icon':_0x47096d}));});_0x592fa5[_0x1d8f3e(0x26b)]=_0x1d8f3e(0x19f);var _0x3b3275={'tag':_0x1d8f3e(0x28f),'attrs':{'xmlns':_0x1d8f3e(0x186),'fill':'none','viewBox':_0x1d8f3e(0x15c),'width':_0x1d8f3e(0x1d1),'height':_0x1d8f3e(0x1d1)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d8f3e(0x1c9)},'children':[{'tag':_0x1d8f3e(0x34c),'attrs':{'stroke':_0x1d8f3e(0x365),'d':_0x1d8f3e(0x137),'strokeLinecap':_0x1d8f3e(0x355),'strokeLinejoin':_0x1d8f3e(0x355),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d8f3e(0x2d8)},'children':[{'tag':_0x1d8f3e(0x34c),'attrs':{'fill':_0x1d8f3e(0x180),'d':_0x1d8f3e(0x24d),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1d8f3e(0x2d8)]},_0x23145b=_0x67b6de['forwardRef'](function(_0x1d219f,_0x176f22){const _0x4ba4de=_0x1d8f3e;return _0x67b6de[_0x4ba4de(0x11f)](_0x3a7247,Object[_0x4ba4de(0x363)]({},_0x1d219f,{'id':_0x4ba4de(0x2c0),'ref':_0x176f22,'icon':_0x3b3275}));});_0x23145b[_0x1d8f3e(0x26b)]=_0x1d8f3e(0xe1);function _0x1eb3d4(_0x201645){const _0x4db91c=_0x1d8f3e;switch(_0x201645){case _0x10aa80['CollaborationStatus'][_0x4db91c(0x347)]:return'collabStatus.offline';case _0x10aa80[_0x4db91c(0x2fb)][_0x4db91c(0x258)]:return _0x4db91c(0xf2);case _0x10aa80[_0x4db91c(0x2fb)][_0x4db91c(0x1de)]:return'collabStatus.fetchMiss';case _0x10aa80[_0x4db91c(0x2fb)][_0x4db91c(0x1f7)]:return'collabStatus.notCollab';case _0x10aa80[_0x4db91c(0x2fb)][_0x4db91c(0x13f)]:case _0x10aa80['CollaborationStatus'][_0x4db91c(0x2c9)]:return _0x4db91c(0xe8);case _0x10aa80[_0x4db91c(0x2fb)][_0x4db91c(0x217)]:case _0x10aa80[_0x4db91c(0x2fb)][_0x4db91c(0x1b5)]:return _0x4db91c(0x168);}}function _0x342f4d(_0x2a9653){const _0x2bd4f5=_0x1d8f3e,{status$:_0x24d8b7}=_0x2a9653,_0x148f06=_0x144736['useObservable'](_0x24d8b7,_0x10aa80[_0x2bd4f5(0x2fb)]['NOT_COLLAB']),_0x4f4082=_0x144736[_0x2bd4f5(0x359)](_0x2be1b1[_0x2bd4f5(0x263)]),_0x129215=_0x144736[_0x2bd4f5(0x359)](_0x10aa80[_0x2bd4f5(0x183)]),_0x28e4ad=_0x148f06!==_0x10aa80[_0x2bd4f5(0x2fb)][_0x2bd4f5(0x347)],_0x5840b8=_0x4f4082['t'](_0x1eb3d4(_0x148f06)),_0x5697ce=_0x28e4ad?_0x3ae18d[_0x2bd4f5(0x278)](_0x23145b,{}):_0x3ae18d['jsx'](_0x592fa5,{}),_0x20c8f2=_0x67b6de[_0x2bd4f5(0x336)](()=>{_0x28e4ad||_0x129215['reconnect']();},[_0x28e4ad,_0x129215]);function _0x5d3b05(){const _0x3f7331=_0x2bd4f5;return _0x3ae18d[_0x3f7331(0x1cd)](_0x3f7331(0x314),{'className':_0x3f7331(0x2b7),'onClick':_0x20c8f2,'children':[_0x3ae18d['jsx'](_0x3f7331(0x314),{'className':_0x48302b[_0x3f7331(0x1e2)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x28e4ad,'univer-text-red-500':!_0x28e4ad}),'children':_0x5697ce}),_0x3ae18d['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5840b8})]});}return _0x28e4ad?_0x5d3b05():_0x3ae18d['jsx'](_0x48302b[_0x2bd4f5(0x235)],{'title':_0x4f4082['t'](_0x2bd4f5(0x124)),'children':_0x5d3b05()});}var _0x3011ac=Object[_0x1d8f3e(0x193)],_0x222566=(_0x82029c,_0x262ee7,_0x5d9401,_0x4c5af0)=>{const _0x7ae62f=_0x1d8f3e;for(var _0x1b9e5f=_0x4c5af0>0x1?void 0x0:_0x4c5af0?_0x3011ac(_0x262ee7,_0x5d9401):_0x262ee7,_0x45ca9f=_0x82029c[_0x7ae62f(0x293)]-0x1,_0x1a8ec8;_0x45ca9f>=0x0;_0x45ca9f--)(_0x1a8ec8=_0x82029c[_0x45ca9f])&&(_0x1b9e5f=_0x1a8ec8(_0x1b9e5f)||_0x1b9e5f);return _0x1b9e5f;},_0x256af5=(_0x27b79b,_0x466673)=>(_0x5ae54d,_0x387fe9)=>_0x466673(_0x5ae54d,_0x387fe9,_0x27b79b);_0x57e092[_0x1d8f3e(0x237)]=class extends _0x2be1b1[_0x1d8f3e(0xe0)]{constructor(_0x1b80bf,_0x2c1577,_0x5277a8,_0x5ae2eb){const _0x32260d=_0x1d8f3e;super(),_0xa4f9ad(this,_0x32260d(0x23e),new _0x4d5064['BehaviorSubject'](_0x10aa80[_0x32260d(0x2fb)][_0x32260d(0x1f7)])),(this['_univerInstanceService']=_0x1b80bf,this[_0x32260d(0x25c)]=_0x2c1577,this['_collaborationController']=_0x5277a8,this[_0x32260d(0x24b)]=_0x5ae2eb,this[_0x32260d(0x21c)](),this[_0x32260d(0x352)]());}[_0x1d8f3e(0x352)](){const _0x3e46a0=_0x1d8f3e;this['disposeWithMe'](this[_0x3e46a0(0xe3)][_0x3e46a0(0x151)][_0x3e46a0(0x18f)](_0x4d5064[_0x3e46a0(0x175)](()=>{const _0x2faf7a=_0x3e46a0,_0xcd7ace=this['_univerInstanceService'][_0x2faf7a(0x147)]();return _0xcd7ace?this[_0x2faf7a(0x1d0)][_0x2faf7a(0x354)](_0xcd7ace[_0x2faf7a(0x224)]()):_0x4d5064['of'](null);}),_0x4d5064[_0x3e46a0(0x175)](_0x48f005=>_0x48f005?_0x48f005[_0x3e46a0(0x2e5)]:_0x4d5064['of'](_0x10aa80[_0x3e46a0(0x2fb)][_0x3e46a0(0x1f7)])))[_0x3e46a0(0x21f)](_0xa60f61=>{const _0x2bbcbf=_0x3e46a0;this[_0x2bbcbf(0x23e)][_0x2bbcbf(0x2a0)](_0xa60f61);}));}[_0x1d8f3e(0x21c)](){const _0x2d12eb=_0x1d8f3e;this[_0x2d12eb(0x114)](this[_0x2d12eb(0x24b)][_0x2d12eb(0x1a3)](_0x144736[_0x2d12eb(0x129)][_0x2d12eb(0x20a)],()=>_0x144736[_0x2d12eb(0x36e)](_0x2e5e4a({'status$':this[_0x2d12eb(0x23e)]['asObservable']()}),this['_injector'])));}},_0x57e092['DesktopCollaborationStatusDisplayController']=_0x222566([_0x256af5(0x0,_0x2be1b1[_0x1d8f3e(0x32a)]),_0x256af5(0x1,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0xd7)])),_0x256af5(0x2,_0x2be1b1[_0x1d8f3e(0x362)](_0x10aa80['CollaborationController'])),_0x256af5(0x3,_0x144736[_0x1d8f3e(0x2e3)])],_0x57e092[_0x1d8f3e(0x237)]);function _0x2e5e4a(_0x209504){const {status$:_0x42e5d3}=_0x209504;return function(){const _0x33a222=_0x3bf7;return _0x3ae18d[_0x33a222(0x278)](_0x342f4d,{'status$':_0x42e5d3});};}var _0x5b55d2=Object[_0x1d8f3e(0x193)],_0x5a210f=(_0x3e61ff,_0x3f2d45,_0x5b6455,_0x3f43bb)=>{const _0x2f8ff9=_0x1d8f3e;for(var _0x3a9ec0=_0x3f43bb>0x1?void 0x0:_0x3f43bb?_0x5b55d2(_0x3f2d45,_0x5b6455):_0x3f2d45,_0xe8ec31=_0x3e61ff[_0x2f8ff9(0x293)]-0x1,_0x4186c3;_0xe8ec31>=0x0;_0xe8ec31--)(_0x4186c3=_0x3e61ff[_0xe8ec31])&&(_0x3a9ec0=_0x4186c3(_0x3a9ec0)||_0x3a9ec0);return _0x3a9ec0;},_0x5b865a=(_0x35998c,_0x1fe990)=>(_0x463660,_0x4dddc7)=>_0x1fe990(_0x463660,_0x4dddc7,_0x35998c);let _0x348347=class extends _0x2be1b1['Disposable']{constructor(_0x35f70a,_0x3fcfb1,_0x2a6262,_0x1a0bf9,_0x3efd1b,_0x3199e9){const _0x11232a=_0x1d8f3e;super(),this[_0x11232a(0x215)]=_0x35f70a,this['_localCacheService']=_0x3fcfb1,this['_collaborationUIEventService']=_0x2a6262,this[_0x11232a(0x374)]=_0x1a0bf9,this['_notificationService']=_0x3efd1b,this[_0x11232a(0x14b)]=_0x3199e9,this[_0x11232a(0x122)](),this['_initEvent']();}[_0x1d8f3e(0x122)](){const _0x2b6c87=_0x1d8f3e;this[_0x2b6c87(0x114)](this[_0x2b6c87(0x215)][_0x2b6c87(0x1c2)](()=>{const _0x353f77=_0x2b6c87;if(this[_0x353f77(0x1ab)][_0x353f77(0x330)][_0x353f77(0x273)])return this[_0x353f77(0x14b)]['t'](_0x353f77(0x351));}));}[_0x1d8f3e(0x305)](){const _0x5091b1=_0x1d8f3e;this[_0x5091b1(0x114)](this[_0x5091b1(0x208)][_0x5091b1(0xdf)]['subscribe'](_0x4dcf40=>{const _0x4a7e66=_0x5091b1;_0x4dcf40['id']===_0x10aa80[_0x4a7e66(0x226)][_0x4a7e66(0x358)]&&this['_messageService'][_0x4a7e66(0x154)]({'type':_0x48302b[_0x4a7e66(0x302)][_0x4a7e66(0x191)],'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x100))}),_0x4dcf40['id']===_0x10aa80[_0x4a7e66(0x226)][_0x4a7e66(0x2f6)]&&this[_0x4a7e66(0x374)][_0x4a7e66(0x154)]({'type':_0x48302b[_0x4a7e66(0x302)]['Warning'],'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x125))}),_0x4dcf40['id']===_0x10aa80[_0x4a7e66(0x226)][_0x4a7e66(0xd9)]&&this['_notificationService']['show']({'title':this[_0x4a7e66(0x14b)]['t']('permission.title'),'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x1af)),'type':_0x4a7e66(0x10e),'duration':0x0}),_0x4dcf40['id']===_0x10aa80['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x4a7e66(0x154)]({'type':_0x48302b[_0x4a7e66(0x302)][_0x4a7e66(0x2cb)],'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x125))+'('+_0x4dcf40[_0x4a7e66(0x2bc)]+')'}),_0x4dcf40['id']===_0x10aa80[_0x4a7e66(0x226)][_0x4a7e66(0x146)]&&this[_0x4a7e66(0x374)][_0x4a7e66(0x154)]({'type':_0x48302b[_0x4a7e66(0x302)][_0x4a7e66(0x191)],'content':this['_localeService']['t'](_0x4dcf40['data']||'')}),_0x4dcf40['id']===_0x10aa80[_0x4a7e66(0x226)][_0x4a7e66(0x15a)]&&this[_0x4a7e66(0x374)][_0x4a7e66(0x154)]({'type':_0x48302b[_0x4a7e66(0x302)]['Warning'],'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x1a1))}),_0x4dcf40['id']===_0x10aa80[_0x4a7e66(0x226)][_0x4a7e66(0x31e)]&&this[_0x4a7e66(0x374)]['show']({'type':_0x48302b['MessageType'][_0x4a7e66(0x2cb)],'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x1e3))}),_0x4dcf40['id']===_0x10aa80['CollaborationUIEventId'][_0x4a7e66(0x319)]&&this[_0x4a7e66(0x374)]['show']({'type':_0x48302b[_0x4a7e66(0x302)]['Error'],'content':this[_0x4a7e66(0x14b)]['t'](_0x4a7e66(0x184))});}));}};_0x348347=_0x5a210f([_0x5b865a(0x0,_0x144736['IBeforeCloseService']),_0x5b865a(0x1,_0x10aa80[_0x1d8f3e(0x2e7)]),_0x5b865a(0x2,_0x2be1b1[_0x1d8f3e(0x362)](_0x10aa80['CollaborationUIEventService'])),_0x5b865a(0x3,_0x144736['IMessageService']),_0x5b865a(0x4,_0x144736[_0x1d8f3e(0x221)]),_0x5b865a(0x5,_0x2be1b1['Inject'](_0x2be1b1[_0x1d8f3e(0x263)]))],_0x348347);const _0x27e562=_0x1d8f3e(0x225),_0x548f52={},_0x1d54f0=_0x2be1b1[_0x1d8f3e(0x14d)](_0x1d8f3e(0x34b));var _0x29980d=Object['getOwnPropertyDescriptor'],_0x20243e=(_0x266d57,_0x1af747,_0x261827,_0x32a7da)=>{const _0x276a56=_0x1d8f3e;for(var _0x11ade7=_0x32a7da>0x1?void 0x0:_0x32a7da?_0x29980d(_0x1af747,_0x261827):_0x1af747,_0x582c60=_0x266d57[_0x276a56(0x293)]-0x1,_0x6f2ccb;_0x582c60>=0x0;_0x582c60--)(_0x6f2ccb=_0x266d57[_0x582c60])&&(_0x11ade7=_0x6f2ccb(_0x11ade7)||_0x11ade7);return _0x11ade7;},_0x4c1136=(_0x2002d8,_0x34728c)=>(_0xf5e3a7,_0x559840)=>_0x34728c(_0xf5e3a7,_0x559840,_0x2002d8);_0x57e092['CollaborationDataLoaderController']=class extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(_0x50f24e,_0xc11e90,_0x2c2e21,_0x3c4d7f,_0x29955c){const _0x50202b=_0x1d8f3e;super(),this[_0x50202b(0x19b)]=_0x50f24e,this[_0x50202b(0x201)]=_0xc11e90,this['_commandService']=_0x2c2e21,this[_0x50202b(0x306)]=_0x3c4d7f,_0x29955c?_0x29955c==null||_0x29955c[_0x50202b(0x23a)]()[_0x50202b(0x176)](()=>this[_0x50202b(0x373)]()):(this[_0x50202b(0x201)][_0x50202b(0x223)](_0x50202b(0x323),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x1d8f3e(0x373)](){const _0xff487b=_0x1d8f3e,_0x22a34e=this[_0xff487b(0x19b)]['getParam'](_0xff487b(0x33e)),_0x393f1b=this[_0xff487b(0x19b)][_0xff487b(0x35f)]('type'),_0x425d09=this['_urlService'][_0xff487b(0x35f)](_0xff487b(0x2a3));if(!_0x22a34e||!_0x393f1b){this[_0xff487b(0x201)][_0xff487b(0x223)](_0xff487b(0x323),_0xff487b(0x10d));return;}const _0x3fda48=await this[_0xff487b(0x306)]['loadUnit'](_0x22a34e,Number(_0x393f1b),_0x425d09);_0x3fda48&&_0x3fda48 instanceof _0x2be1b1[_0xff487b(0x361)]&&this[_0xff487b(0x2ac)](_0x3fda48);}async[_0x1d8f3e(0x2ac)](_0x54942a){const _0xc1fcc3=_0x1d8f3e;await this['_updateSubUnitFromURLParams'](_0x54942a),_0x54942a[_0xc1fcc3(0x2af)][_0xc1fcc3(0x18f)](_0x4d5064[_0xc1fcc3(0x207)](this[_0xc1fcc3(0x272)]))[_0xc1fcc3(0x21f)](_0x4ce1f2=>{const _0x1d87eb=_0xc1fcc3;_0x4ce1f2&&this[_0x1d87eb(0x270)](_0x4ce1f2);}),this[_0xc1fcc3(0x19b)][_0xc1fcc3(0xee)][_0xc1fcc3(0x18f)](_0x4d5064[_0xc1fcc3(0x207)](this[_0xc1fcc3(0x272)]))[_0xc1fcc3(0x21f)](()=>this[_0xc1fcc3(0x236)](_0x54942a));}[_0x1d8f3e(0x270)](_0x48f052,_0x70aa10=!0x1){const _0x42983a=_0x1d8f3e,_0x3fcfce=this[_0x42983a(0x19b)][_0x42983a(0x35f)]('subunit');_0x48f052[_0x42983a(0x2e2)]()!==_0x3fcfce&&this[_0x42983a(0x19b)][_0x42983a(0x269)](_0x42983a(0x2a3),_0x48f052[_0x42983a(0x2e2)](),_0x70aa10);}async[_0x1d8f3e(0x236)](_0x249312){const _0x7ac85a=_0x1d8f3e;var _0x1d59c0;const _0xe4bdd8=this['_urlService']['getParam'](_0x7ac85a(0x2a3));if(!_0xe4bdd8||!_0x249312[_0x7ac85a(0x2a6)](_0xe4bdd8)){const _0xe46a84=_0x249312[_0x7ac85a(0x103)]()[0x0],_0xfd0e63=_0x249312['getSheetBySheetId'](_0xe46a84);if(!_0xfd0e63)return;this[_0x7ac85a(0x270)](_0xfd0e63,!0x0),await this[_0x7ac85a(0x11a)]['executeCommand'](_0x14095a['SetWorksheetActivateCommand']['id'],{'unitId':_0x249312['getUnitId'](),'subUnitId':_0xe46a84});return;}((_0x1d59c0=_0x249312[_0x7ac85a(0x311)]())==null?void 0x0:_0x1d59c0['getSheetId']())!==_0xe4bdd8&&await this[_0x7ac85a(0x11a)]['executeCommand'](_0x14095a[_0x7ac85a(0x253)]['id'],{'unitId':_0x249312[_0x7ac85a(0x224)](),'subUnitId':_0xe4bdd8});}},_0x57e092['CollaborationDataLoaderController']=_0x20243e([_0x4c1136(0x0,_0x1d54f0),_0x4c1136(0x1,_0x2be1b1[_0x1d8f3e(0x108)]),_0x4c1136(0x2,_0x2be1b1[_0x1d8f3e(0x119)]),_0x4c1136(0x3,_0x2be1b1[_0x1d8f3e(0x362)](_0x10aa80[_0x1d8f3e(0x290)])),_0x4c1136(0x4,_0x2be1b1[_0x1d8f3e(0x334)](_0x5362b4['IRemoteInstanceService']))],_0x57e092['CollaborationDataLoaderController']);var _0x2bbebb=Object[_0x1d8f3e(0x193)],_0x11b900=(_0x10338b,_0x34595a,_0x349e8c,_0x33ec75)=>{const _0x4cf927=_0x1d8f3e;for(var _0x1a95f6=_0x33ec75>0x1?void 0x0:_0x33ec75?_0x2bbebb(_0x34595a,_0x349e8c):_0x34595a,_0x4c0c40=_0x10338b[_0x4cf927(0x293)]-0x1,_0x26d21d;_0x4c0c40>=0x0;_0x4c0c40--)(_0x26d21d=_0x10338b[_0x4c0c40])&&(_0x1a95f6=_0x26d21d(_0x1a95f6)||_0x1a95f6);return _0x1a95f6;},_0x741bdc=(_0x3eaa3f,_0x458d46)=>(_0x519824,_0x29a615)=>_0x458d46(_0x519824,_0x29a615,_0x3eaa3f);let _0x4f8e50=class{constructor(_0x23873b,_0x44389e,_0x10c3d8){const _0x12d510=_0x1d8f3e;this['_injector']=_0x23873b,this[_0x12d510(0x29b)]=_0x44389e,this['_renderManagerService']=_0x10c3d8;}[_0x1d8f3e(0x327)](_0x3ddd58){const _0x94748a=_0x1d8f3e;this[_0x94748a(0x366)](_0x3ddd58),this[_0x94748a(0xfa)](_0x3ddd58);}['transformRemoteChangeset'](_0x404f56){const _0x179f2a=_0x1d8f3e,{unitID:_0x49b535}=_0x404f56,_0x2ac5ea=this[_0x179f2a(0x378)][_0x179f2a(0x160)](_0x49b535)[_0x179f2a(0x2c1)](_0x180874[_0x179f2a(0x197)]),{redoCache:_0x423060}=_0x2ac5ea[_0x179f2a(0x1a5)]();if(_0x423060[_0x179f2a(0x293)]===0x0)return _0x404f56;let _0xa9e225=_0x2be1b1[_0x179f2a(0x17c)][_0x179f2a(0x20d)](_0x404f56[_0x179f2a(0x2d3)][0x0]);for(let _0x14f455=0x0;_0x14f455<_0x423060[_0x179f2a(0x293)];_0x14f455++){const _0x36b281={'id':'doc.mutation.rich-text-editing','params':{..._0x423060[_0x14f455]}},_0xc9f489=this[_0x179f2a(0x29b)][_0x179f2a(0x240)](_0xa9e225,_0x36b281,!0x1);if(_0x301770[_0x179f2a(0x2be)](_0xc9f489))throw _0xc9f489[_0x179f2a(0x10e)];_0xa9e225=_0xc9f489[_0x179f2a(0x1a6)];}return{..._0x2be1b1[_0x179f2a(0x17c)][_0x179f2a(0x20d)](_0x404f56),'mutations':[_0xa9e225]};}['_transformUndoRedoStack'](_0x2b5b33){const _0x5f15b1=_0x1d8f3e,{unitID:_0x46f49b}=_0x2b5b33,_0x59bb4f=this[_0x5f15b1(0x378)][_0x5f15b1(0x160)](_0x46f49b)[_0x5f15b1(0x2c1)](_0x180874[_0x5f15b1(0x197)]),{undoCache:_0x9f77b5,redoCache:_0x37baf6}=_0x59bb4f[_0x5f15b1(0x1a5)]();if(_0x9f77b5[_0x5f15b1(0x293)]===0x0||_0x37baf6['length']===0x0)return;const _0x4ba4f2=[],_0xd3f58d=[];let _0x5da508=_0x2be1b1[_0x5f15b1(0x17c)]['deepClone'](_0x2b5b33[_0x5f15b1(0x2d3)][0x0]),_0x4233dd=_0x2be1b1[_0x5f15b1(0x17c)][_0x5f15b1(0x20d)](_0x2b5b33[_0x5f15b1(0x2d3)][0x0]);for(let _0x1a6146=_0x9f77b5['length']-0x1;_0x1a6146>=0x0;_0x1a6146--){const _0x164fd6={'id':_0x5f15b1(0xf1),'params':{..._0x9f77b5[_0x1a6146]}},_0x48e196={'id':_0x5f15b1(0xf1),'params':{..._0x37baf6[_0x1a6146]}},_0x4226c0=this['_transformService']['transformMutation'](_0x5da508,_0x164fd6,!0x1),_0x3bb2bf=this[_0x5f15b1(0x29b)][_0x5f15b1(0x240)](_0x4233dd,_0x48e196,!0x1);if(_0x301770[_0x5f15b1(0x2be)](_0x4226c0))throw _0x4226c0[_0x5f15b1(0x10e)];if(_0x301770['isTransformMutationFailure'](_0x3bb2bf))throw _0x3bb2bf['error'];_0x4ba4f2[_0x5f15b1(0x163)](_0x4226c0['m2Prime'][_0x5f15b1(0xf0)]),_0xd3f58d[_0x5f15b1(0x163)](_0x3bb2bf[_0x5f15b1(0x1d6)]['params']),_0x5da508=_0x4226c0[_0x5f15b1(0x1a6)],_0x4233dd=_0x3bb2bf[_0x5f15b1(0x1a6)];}_0x59bb4f[_0x5f15b1(0x2b4)]({'undoCache':_0x4ba4f2,'redoCache':_0xd3f58d});}[_0x1d8f3e(0xfa)](_0x25c369){const _0x39c90e=_0x1d8f3e,{unitID:_0x2123c3}=_0x25c369,_0x1a49eb=this['_renderManagerService']['getRenderById'](_0x2123c3)[_0x39c90e(0x2c1)](_0x180874['DocIMEInputManagerService']),_0x27358a=_0x1a49eb[_0x39c90e(0x244)]();if(_0x27358a==null)return;const _0x2ea470=[{'id':_0x39c90e(0xf1),'params':{'unitId':_0x25c369[_0x39c90e(0x2b8)],'actions':null,'textRanges':[_0x27358a]}}],_0x1ea0d0=this['_transformService'][_0x39c90e(0x1f5)](_0x25c369,_0x2ea470);if(!_0x301770['isTransformMutationsWithChangesetSuccess'](_0x1ea0d0))throw _0x1ea0d0[_0x39c90e(0x10e)];const _0x238a6d=_0x1ea0d0[_0x39c90e(0x1d6)][0x0][_0x39c90e(0xf0)][_0x39c90e(0x127)];Array[_0x39c90e(0x28d)](_0x238a6d)&&_0x238a6d[_0x39c90e(0x293)]&&_0x1a49eb[_0x39c90e(0x102)](_0x238a6d[0x0]);}};_0x4f8e50=_0x11b900([_0x741bdc(0x0,_0x2be1b1['Inject'](_0x2be1b1['Injector'])),_0x741bdc(0x1,_0x301770[_0x1d8f3e(0x157)]),_0x741bdc(0x2,_0x4eb86c[_0x1d8f3e(0x2a1)])],_0x4f8e50);var _0x305484=Object[_0x1d8f3e(0x193)],_0x2563b7=(_0x1fd563,_0x374d78,_0x49f0d5,_0x36bf0a)=>{const _0x3d552d=_0x1d8f3e;for(var _0x1aa205=_0x36bf0a>0x1?void 0x0:_0x36bf0a?_0x305484(_0x374d78,_0x49f0d5):_0x374d78,_0x21645b=_0x1fd563[_0x3d552d(0x293)]-0x1,_0x486f2b;_0x21645b>=0x0;_0x21645b--)(_0x486f2b=_0x1fd563[_0x21645b])&&(_0x1aa205=_0x486f2b(_0x1aa205)||_0x1aa205);return _0x1aa205;},_0x1cef80=(_0x3be124,_0x322f3b)=>(_0x2ae807,_0x4cd825)=>_0x322f3b(_0x2ae807,_0x4cd825,_0x3be124);let _0x85757b=class{constructor(_0x1b0134,_0x3c006e,_0x4246c2){const _0x44298d=_0x1d8f3e;this[_0x44298d(0x25c)]=_0x1b0134,this[_0x44298d(0x29b)]=_0x3c006e,this[_0x44298d(0x2a4)]=_0x4246c2;}['transformStateCache'](_0x1d6af8){const _0x27a48f=_0x1d8f3e;this[_0x27a48f(0xe9)](_0x1d6af8);}[_0x1d8f3e(0xfe)](_0x4a8565){const _0x107e5d=_0x1d8f3e,{unitID:_0x11ce86}=_0x4a8565,{collaboration:_0x30b233}=this[_0x107e5d(0x2a4)][_0x107e5d(0x267)](_0x11ce86);if(_0x30b233[_0x107e5d(0x293)]===0x0)return _0x4a8565;let _0x35ba4b=_0x2be1b1['Tools'][_0x107e5d(0x20d)](_0x4a8565['mutations'][0x0]);for(let _0x315bfb=0x0;_0x315bfb<_0x30b233[_0x107e5d(0x293)];_0x315bfb++){const _0x4fe26b={'id':_0x107e5d(0xf1),'params':{'unitId':_0x30b233[_0x315bfb]['unitId'],..._0x30b233[_0x315bfb][_0x107e5d(0x18a)]}},_0x121eb3=this['_transformService'][_0x107e5d(0x240)](_0x35ba4b,_0x4fe26b,!0x1);if(_0x301770['isTransformMutationFailure'](_0x121eb3))throw _0x121eb3[_0x107e5d(0x10e)];_0x35ba4b=_0x121eb3['m1Prime'];}return{..._0x2be1b1[_0x107e5d(0x17c)]['deepClone'](_0x4a8565),'mutations':[_0x35ba4b]};}[_0x1d8f3e(0xe9)](_0x2b886d){const _0x1e2328=_0x1d8f3e,{unitID:_0x14f34c}=_0x2b886d,{history:_0x371c0d,collaboration:_0x2fc2f2}=this['_docStateChangeManagerService']['getStateCache'](_0x14f34c);if(_0x371c0d['length']===0x0&&_0x2fc2f2[_0x1e2328(0x293)]===0x0)return;const _0x298828=[],_0x59288a=[];let _0x57bd17=_0x2be1b1[_0x1e2328(0x17c)][_0x1e2328(0x20d)](_0x2b886d[_0x1e2328(0x2d3)][0x0]),_0x2d5707=_0x2be1b1[_0x1e2328(0x17c)][_0x1e2328(0x20d)](_0x2b886d[_0x1e2328(0x2d3)][0x0]);for(let _0x26217e=_0x371c0d[_0x1e2328(0x293)]-0x1;_0x26217e>=0x0;_0x26217e--){const _0x158eca={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x371c0d[_0x26217e][_0x1e2328(0x189)],..._0x371c0d[_0x26217e][_0x1e2328(0x248)]}},_0xae040e={'id':_0x1e2328(0xf1),'params':{'unitId':_0x371c0d[_0x26217e][_0x1e2328(0x189)],..._0x371c0d[_0x26217e]['redoState']}},_0x3cb1aa=this[_0x1e2328(0x29b)][_0x1e2328(0x240)](_0x57bd17,_0x158eca,!0x1),_0x5621e6=this[_0x1e2328(0x29b)][_0x1e2328(0x240)](_0x2d5707,_0xae040e,!0x1);if(_0x301770['isTransformMutationFailure'](_0x3cb1aa))throw _0x3cb1aa[_0x1e2328(0x10e)];if(_0x301770[_0x1e2328(0x2be)](_0x5621e6))throw _0x5621e6[_0x1e2328(0x10e)];_0x298828[_0x1e2328(0x163)]({..._0x371c0d[_0x26217e],'undoState':_0x3cb1aa[_0x1e2328(0x1d6)][_0x1e2328(0xf0)],'redoState':_0x5621e6[_0x1e2328(0x1d6)][_0x1e2328(0xf0)]}),_0x57bd17=_0x3cb1aa[_0x1e2328(0x1a6)],_0x2d5707=_0x5621e6[_0x1e2328(0x1a6)];}_0x57bd17=_0x2be1b1[_0x1e2328(0x17c)][_0x1e2328(0x20d)](_0x2b886d[_0x1e2328(0x2d3)][0x0]),_0x2d5707=_0x2be1b1['Tools'][_0x1e2328(0x20d)](_0x2b886d[_0x1e2328(0x2d3)][0x0]);for(let _0x109b66=_0x2fc2f2[_0x1e2328(0x293)]-0x1;_0x109b66>=0x0;_0x109b66--){const _0x1ecf77={'id':_0x1e2328(0xf1),'params':{'unitId':_0x2fc2f2[_0x109b66][_0x1e2328(0x189)],..._0x2fc2f2[_0x109b66][_0x1e2328(0x248)]}},_0x1213d2={'id':_0x1e2328(0xf1),'params':{'unitId':_0x2fc2f2[_0x109b66][_0x1e2328(0x189)],..._0x2fc2f2[_0x109b66]['redoState']}},_0xcfbefc=this[_0x1e2328(0x29b)][_0x1e2328(0x240)](_0x57bd17,_0x1ecf77,!0x1),_0x55c4c9=this[_0x1e2328(0x29b)][_0x1e2328(0x240)](_0x2d5707,_0x1213d2,!0x1);if(_0x301770[_0x1e2328(0x2be)](_0xcfbefc))throw _0xcfbefc[_0x1e2328(0x10e)];if(_0x301770[_0x1e2328(0x2be)](_0x55c4c9))throw _0x55c4c9[_0x1e2328(0x10e)];_0x59288a[_0x1e2328(0x163)]({..._0x2fc2f2[_0x109b66],'undoState':_0xcfbefc[_0x1e2328(0x1d6)]['params'],'redoState':_0x55c4c9['m2Prime'][_0x1e2328(0xf0)]}),_0x57bd17=_0xcfbefc[_0x1e2328(0x1a6)],_0x2d5707=_0x55c4c9[_0x1e2328(0x1a6)];}this['_docStateChangeManagerService'][_0x1e2328(0x1df)](_0x14f34c,{'history':_0x298828,'collaboration':_0x59288a});}};_0x85757b=_0x2563b7([_0x1cef80(0x0,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0xd7)])),_0x1cef80(0x1,_0x301770[_0x1d8f3e(0x157)]),_0x1cef80(0x2,_0x2be1b1['Inject'](_0x180874['DocStateChangeManagerService']))],_0x85757b);var _0x42e0f9=Object[_0x1d8f3e(0x193)],_0x1c4751=(_0x3d2b41,_0x4ff699,_0x4c7b62,_0x4dc1cc)=>{for(var _0x190ab7=_0x4dc1cc>0x1?void 0x0:_0x4dc1cc?_0x42e0f9(_0x4ff699,_0x4c7b62):_0x4ff699,_0x1348b0=_0x3d2b41['length']-0x1,_0x57c714;_0x1348b0>=0x0;_0x1348b0--)(_0x57c714=_0x3d2b41[_0x1348b0])&&(_0x190ab7=_0x57c714(_0x190ab7)||_0x190ab7);return _0x190ab7;},_0xea387=(_0x1fc8bc,_0xe1fe12)=>(_0x26f6c6,_0x161261)=>_0xe1fe12(_0x26f6c6,_0x161261,_0x1fc8bc);let _0x9cca77=class{constructor(_0x442c2e,_0x3c1e2e){const _0x1799d4=_0x1d8f3e;this[_0x1799d4(0x25c)]=_0x442c2e,this['_transformService']=_0x3c1e2e;}[_0x1d8f3e(0x33a)](_0xed740c){const _0x7186b3=_0x1d8f3e;var _0x17b18d;const _0xdd6d09=this[_0x7186b3(0x25c)]['get'](_0x42fbeb[_0x7186b3(0x1a2)]),_0x52ea48=(_0x17b18d=_0xdd6d09[_0x7186b3(0x2c5)]())!=null?_0x17b18d:[];if(_0x52ea48['length']===0x0)return;const _0x313703=_0xed740c[_0x7186b3(0x2b8)],_0xee6413=[{'id':_0x7186b3(0xf1),'params':{'unitId':_0x313703,'actions':null,'textRanges':_0x52ea48}}],_0x41a4af=this[_0x7186b3(0x29b)][_0x7186b3(0x1f5)](_0xed740c,_0xee6413);if(!_0x301770[_0x7186b3(0x190)](_0x41a4af))throw _0x41a4af[_0x7186b3(0x10e)];const _0x51ad1e=_0x41a4af[_0x7186b3(0x1d6)][0x0][_0x7186b3(0xf0)]['textRanges'];Array[_0x7186b3(0x28d)](_0x51ad1e)&&_0x51ad1e['length']&&_0xdd6d09[_0x7186b3(0x32d)](_0x51ad1e,{'unitId':_0x313703,'subUnitId':_0x313703},!0x1);}};_0x9cca77=_0x1c4751([_0xea387(0x0,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1['Injector'])),_0xea387(0x1,_0x301770['ITransformService'])],_0x9cca77);var _0x7068c4=Object[_0x1d8f3e(0x193)],_0x2e12b5=(_0x4be620,_0x39a8f1,_0x3fdf94,_0x3dec98)=>{const _0x1ec0f4=_0x1d8f3e;for(var _0x47d4cc=_0x3dec98>0x1?void 0x0:_0x3dec98?_0x7068c4(_0x39a8f1,_0x3fdf94):_0x39a8f1,_0x3aa930=_0x4be620[_0x1ec0f4(0x293)]-0x1,_0x475cfb;_0x3aa930>=0x0;_0x3aa930--)(_0x475cfb=_0x4be620[_0x3aa930])&&(_0x47d4cc=_0x475cfb(_0x47d4cc)||_0x47d4cc);return _0x47d4cc;},_0x3d171b=(_0x10b9ad,_0x544b32)=>(_0x3b1d81,_0x6909d)=>_0x544b32(_0x3b1d81,_0x6909d,_0x10b9ad);let _0x5590bb=class extends _0x2be1b1[_0x1d8f3e(0xe0)]{constructor(_0x2bcfef,_0x31aab8,_0x2e0c5f,_0x36e38e,_0x364c72,_0x8c4e58,_0x421c6d,_0x50e146){const _0x234ba7=_0x1d8f3e;super(),_0xa4f9ad(this,_0x234ba7(0x23e),new _0x4d5064[(_0x234ba7(0x370))](_0x10aa80[_0x234ba7(0x2fb)][_0x234ba7(0x1f7)])),(this[_0x234ba7(0x2a4)]=_0x2bcfef,this[_0x234ba7(0x1d0)]=_0x31aab8,this[_0x234ba7(0x1cb)]=_0x2e0c5f,this[_0x234ba7(0x123)]=_0x36e38e,this[_0x234ba7(0x35e)]=_0x364c72,this[_0x234ba7(0x14a)]=_0x8c4e58,this[_0x234ba7(0x374)]=_0x421c6d,this[_0x234ba7(0x14b)]=_0x50e146,this[_0x234ba7(0x133)]());}[_0x1d8f3e(0x133)](){const _0x2c6366=_0x1d8f3e;this[_0x2c6366(0x114)](this['_collaborationController'][_0x2c6366(0x1aa)][_0x2c6366(0x21f)](_0x2889a4=>{const _0x5387cd=_0x2c6366,_0x44e458=this['_docStateChangeManagerService'][_0x5387cd(0x1d3)][_0x5387cd(0x21f)](_0x2d5071=>{const _0x123c3f=_0x5387cd;if(_0x2d5071==null)return;const {unitId:_0x9507a1,redoState:_0x5cd1ae,commandId:_0x39e018}=_0x2d5071;if(_0x9507a1!==_0x2889a4['unitID'])return;const _0x2acaa4={'id':_0x39e018,'type':_0x2be1b1[_0x123c3f(0x1dc)][_0x123c3f(0x1fe)],'params':{'unitId':_0x9507a1,'actions':_0x5cd1ae[_0x123c3f(0x2cd)],'textRanges':null}};_0x2889a4['onLocalMutation'](_0x2acaa4);});if(_0x2889a4[_0x5387cd(0x114)](_0x44e458),_0x2889a4 instanceof _0x10aa80[_0x5387cd(0xde)]){const _0x160bb0={'onTransformIME':_0x5a8a54=>this[_0x5387cd(0x1cb)][_0x5387cd(0x327)](_0x5a8a54),'onTransformState':_0x3a2493=>this['_docTransformStateCacheService'][_0x5387cd(0x32e)](_0x3a2493),'onTransformSelections':_0x2d96d8=>this[_0x5387cd(0x35e)][_0x5387cd(0x33a)](_0x2d96d8),'onSyncEditingCollabCursor':_0x2b0c83=>this['_docSyncEditingCollabCursorService'][_0x5387cd(0x1ad)](_0x2b0c83),'onTransformRemoteChangesetByIMECache':_0x3fed4f=>this['_docTransformIMECacheService'][_0x5387cd(0xfe)](_0x3fed4f),'onTransformRemoteChangesetByStateCache':_0x194323=>this['_docTransformStateCacheService'][_0x5387cd(0xfe)](_0x194323)};_0x2889a4[_0x5387cd(0x301)](_0x160bb0);}}));}};_0x5590bb=_0x2e12b5([_0x3d171b(0x0,_0x2be1b1[_0x1d8f3e(0x362)](_0x180874['DocStateChangeManagerService'])),_0x3d171b(0x1,_0x2be1b1[_0x1d8f3e(0x362)](_0x10aa80[_0x1d8f3e(0x303)])),_0x3d171b(0x2,_0x2be1b1['Inject'](_0x4f8e50)),_0x3d171b(0x3,_0x2be1b1['Inject'](_0x85757b)),_0x3d171b(0x4,_0x2be1b1[_0x1d8f3e(0x362)](_0x9cca77)),_0x3d171b(0x5,_0x2be1b1[_0x1d8f3e(0x362)](_0x3aab27)),_0x3d171b(0x6,_0x144736[_0x1d8f3e(0x31f)]),_0x3d171b(0x7,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0x263)]))],_0x5590bb);var _0xbdca4a=Object['getOwnPropertyDescriptor'],_0x44d073=(_0x167d57,_0x181e51,_0x2be932,_0x5b5714)=>{const _0x55188f=_0x1d8f3e;for(var _0x73b6cc=_0x5b5714>0x1?void 0x0:_0x5b5714?_0xbdca4a(_0x181e51,_0x2be932):_0x181e51,_0x23af15=_0x167d57[_0x55188f(0x293)]-0x1,_0x36069b;_0x23af15>=0x0;_0x23af15--)(_0x36069b=_0x167d57[_0x23af15])&&(_0x73b6cc=_0x36069b(_0x73b6cc)||_0x73b6cc);return _0x73b6cc;},_0x422453=(_0x32c0f5,_0x27c9c2)=>(_0x391661,_0x2fa3f6)=>_0x27c9c2(_0x391661,_0x2fa3f6,_0x32c0f5);let _0x469252=class extends _0x2be1b1[_0x1d8f3e(0xe0)]{constructor(_0x47d5df,_0x426e55,_0x243995){const _0x283aef=_0x1d8f3e;super(),_0xa4f9ad(this,_0x283aef(0x335),new Map()),_0xa4f9ad(this,'_saveTaskMap',new Map()),_0xa4f9ad(this,_0x283aef(0x1cc),!0x1),(this[_0x283aef(0x178)]=_0x47d5df,this[_0x283aef(0x159)]=_0x426e55,this['_revisionService']=_0x243995);}['disableLocalCache'](){const _0x57ffd9=_0x1d8f3e;this[_0x57ffd9(0x1cc)]=!0x0;}[_0x1d8f3e(0x205)](){const _0x5cdba7=_0x1d8f3e;this[_0x5cdba7(0x1cc)]=!0x1;}get[_0x1d8f3e(0x330)](){const _0x4d939b=_0x1d8f3e;return this[_0x4d939b(0x12a)];}['dispose'](){const _0x23d99c=_0x1d8f3e;this[_0x23d99c(0x2e8)]()[_0x23d99c(0x176)](()=>super['dispose']());}async['loadOfflineData'](_0x1ea83e){const _0x22433f=_0x1d8f3e;return this['_disabled']?null:this['_localStorageService'][_0x22433f(0x23c)](_0x10aa80[_0x22433f(0x1cf)](_0x1ea83e));}async[_0x1d8f3e(0x2d2)](_0x2ed1e4,_0x1239d6){return!!this['_localStorageService']['setItem'](_0x2ed1e4,_0x1239d6);}[_0x1d8f3e(0x21a)](_0x5df022,_0x94c6a7,_0x42d8f9,_0x41278e){const _0x171a88=_0x1d8f3e,_0x5b19f6=this['_revisionService'][_0x171a88(0x249)](_0x5df022);this[_0x171a88(0x335)][_0x171a88(0x2d6)](_0x5df022,{'unitID':_0x5df022,'type':_0x94c6a7,'awaitingChangeset':_0x42d8f9,'mutations':_0x41278e,'rev':_0x5b19f6}),this['_saveTaskMap'][_0x171a88(0x1fc)](_0x5df022)||this[_0x171a88(0xe2)](_0x5df022);}['_scheduleSaving'](_0x5ba494){const _0x48cc09=_0x1d8f3e,_0x27ab97=this[_0x48cc09(0x1b2)]();_0x27ab97===0x0?this[_0x48cc09(0x1dd)](_0x5ba494):this[_0x48cc09(0x12a)]['set'](_0x5ba494,setTimeout(()=>this[_0x48cc09(0x1dd)](_0x5ba494),_0x27ab97));}[_0x1d8f3e(0x1b2)](){var _0x5e5386;return(_0x5e5386=this['_configService']['getConfig'](_0x10aa80['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5e5386:_0x10aa80['LOCAL_CACHE_INTERVAL'];}[_0x1d8f3e(0x1dd)](_0x661264){const _0x2ebb85=_0x1d8f3e,_0xccc4c=this['_saveTaskMap'][_0x2ebb85(0x367)](_0x661264);return _0xccc4c!==void 0x0&&window[_0x2ebb85(0x1fb)](_0xccc4c),this[_0x2ebb85(0x159)]['setItem'](_0x10aa80[_0x2ebb85(0x1cf)](_0x661264),this['_cachedData'][_0x2ebb85(0x367)](_0x661264))[_0x2ebb85(0x176)](()=>this[_0x2ebb85(0x12a)][_0x2ebb85(0x115)](_0x661264));}async['exhaustSavingTask'](){const _0xf07dc8=_0x1d8f3e,_0x4284cc=[];this[_0xf07dc8(0x12a)][_0xf07dc8(0x182)]((_0x128c79,_0x1ed95f)=>{const _0x568366=_0xf07dc8;window[_0x568366(0x1fb)](_0x128c79),_0x4284cc[_0x568366(0x1ce)](this[_0x568366(0x1dd)](_0x1ed95f)[_0x568366(0x176)](()=>{const _0x42f032=_0x568366;this[_0x42f032(0x12a)]['delete'](_0x1ed95f);}));}),await Promise[_0xf07dc8(0x297)](_0x4284cc);}};_0x469252=_0x44d073([_0x422453(0x0,_0x2be1b1[_0x1d8f3e(0x143)]),_0x422453(0x1,_0x2be1b1[_0x1d8f3e(0x33b)]),_0x422453(0x2,_0x2be1b1['Inject'](_0x301770[_0x1d8f3e(0x107)]))],_0x469252);class _0x434e71 extends _0x2be1b1[_0x1d8f3e(0x110)]{constructor(){const _0x574d7f=_0x1d8f3e;super(),_0xa4f9ad(this,_0x574d7f(0xee)),this[_0x574d7f(0xee)]=_0x4d5064[_0x574d7f(0x31c)](window,_0x574d7f(0x25e))[_0x574d7f(0x18f)](_0x4d5064[_0x574d7f(0x207)](this[_0x574d7f(0x272)]),_0x4d5064[_0x574d7f(0x243)](0x1),_0x4d5064[_0x574d7f(0x206)](void 0x0));}[_0x1d8f3e(0x269)](_0x395bc1,_0x4e6a08,_0x4caf40=!0x1){const _0x30be1b=_0x1d8f3e,_0x4b4881=new URL(window['location']['href']);_0x4b4881[_0x30be1b(0x27b)][_0x30be1b(0x2d6)](_0x395bc1,_0x4e6a08),_0x4caf40?window[_0x30be1b(0x282)][_0x30be1b(0x23d)]('','',_0x4b4881[_0x30be1b(0x326)]()):window[_0x30be1b(0x282)]['pushState']('','',_0x4b4881[_0x30be1b(0x326)]());}[_0x1d8f3e(0x17f)](_0x309a4f,_0x51652e=!0x1){const _0x15d3b4=_0x1d8f3e,_0x140fe4=new URL(window[_0x15d3b4(0x21b)][_0x15d3b4(0x1f4)]);_0x140fe4[_0x15d3b4(0x27b)][_0x15d3b4(0x115)](_0x309a4f),_0x51652e?window[_0x15d3b4(0x282)][_0x15d3b4(0x23d)]('','',_0x140fe4['toString']()):window[_0x15d3b4(0x282)][_0x15d3b4(0x1b8)]('','',_0x140fe4[_0x15d3b4(0x326)]());}[_0x1d8f3e(0x35f)](_0x42b9e0){const _0x434fb9=_0x1d8f3e;var _0x23bf58;return(_0x23bf58=new URL(window['location'][_0x434fb9(0x1f4)])[_0x434fb9(0x27b)][_0x434fb9(0x367)](_0x42b9e0))!=null?_0x23bf58:void 0x0;}}var _0xa46eca=Object['defineProperty'],_0x3ed026=Object[_0x1d8f3e(0x193)],_0x468fd2=(_0x200bc9,_0x4cddab,_0x2302e8)=>_0x4cddab in _0x200bc9?_0xa46eca(_0x200bc9,_0x4cddab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2302e8}):_0x200bc9[_0x4cddab]=_0x2302e8,_0x2a30bf=(_0x32c877,_0x2f24ca,_0xa2693a,_0x2701ea)=>{const _0x35d084=_0x1d8f3e;for(var _0x5ed3f7=_0x2701ea>0x1?void 0x0:_0x2701ea?_0x3ed026(_0x2f24ca,_0xa2693a):_0x2f24ca,_0x244a66=_0x32c877[_0x35d084(0x293)]-0x1,_0x1035f6;_0x244a66>=0x0;_0x244a66--)(_0x1035f6=_0x32c877[_0x244a66])&&(_0x5ed3f7=_0x1035f6(_0x5ed3f7)||_0x5ed3f7);return _0x5ed3f7;},_0x5c6cca=(_0x5bdde8,_0x5caab6)=>(_0x4843ee,_0x314e62)=>_0x5caab6(_0x4843ee,_0x314e62,_0x5bdde8),_0x22eabb=(_0x5b6dd2,_0x8e4a6c,_0x580915)=>_0x468fd2(_0x5b6dd2,_0x8e4a6c+'',_0x580915);const _0x19f9ae='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x57e092['UniverCollaborationClientUIPlugin']=class extends _0x2be1b1[_0x1d8f3e(0x36c)]{constructor(_0x3f0140=_0x548f52,_0x150c83,_0x25f696,_0x3f8dc5){const _0x509fe1=_0x1d8f3e;super(),this[_0x509fe1(0x2ce)]=_0x3f0140,this[_0x509fe1(0x378)]=_0x150c83,this[_0x509fe1(0x25c)]=_0x25f696,this[_0x509fe1(0x178)]=_0x3f8dc5;const {..._0xeb682d}=_0x2be1b1[_0x509fe1(0x329)]({},_0x548f52,this[_0x509fe1(0x2ce)]);this[_0x509fe1(0x178)][_0x509fe1(0xe5)](_0x27e562,_0xeb682d);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1d8f3e(0x1d9)](){const _0x4ddb45=_0x1d8f3e;this[_0x4ddb45(0x153)]();}[_0x1d8f3e(0xf5)](){const _0x175a8e=_0x1d8f3e;var _0x422d1b;const _0x5c2167=[[_0x900a0],[_0x9cca77],[_0x4f8e50],[_0x85757b],[_0x3aab27],[_0x1d54f0,{'useClass':_0x434e71}],[_0x5d5c49['ISocketService'],{'useClass':_0x5d5c49[_0x175a8e(0x29e)]}],[_0x10aa80[_0x175a8e(0x2e7)],{'useClass':_0x469252}],[_0x57e092[_0x175a8e(0x237)]],[_0x5590bb],[_0x348347],[_0x14c6ad],[_0x2aadfa],[_0x57e092['CollaborationDataLoaderController']]];_0x2be1b1[_0x175a8e(0x21e)](this[_0x175a8e(0x25c)],_0x2be1b1[_0x175a8e(0x19c)](_0x5c2167,(_0x422d1b=this[_0x175a8e(0x2ce)])==null?void 0x0:_0x422d1b['override']));}[_0x1d8f3e(0x153)](){const _0x1ac111=_0x1d8f3e;this['disposeWithMe'](this['_renderManagerService'][_0x1ac111(0x1b4)](_0x2be1b1[_0x1ac111(0x214)][_0x1ac111(0x1c8)],[_0x53c0bb])),this[_0x1ac111(0x114)](this[_0x1ac111(0x378)][_0x1ac111(0x1b4)](_0x2be1b1[_0x1ac111(0x214)]['UNIVER_SHEET'],[_0x30a22f]));}[_0x1d8f3e(0x29c)](){const _0x59a798=_0x1d8f3e;_0x2be1b1[_0x59a798(0x2fd)](this[_0x59a798(0x25c)],[[_0x14c6ad],[_0x57e092[_0x59a798(0x237)]],[_0x5590bb],[_0x348347],[_0x57e092['CollaborationDataLoaderController']]]);}},_0x22eabb(_0x57e092[_0x1d8f3e(0x262)],'pluginName',_0x19f9ae),_0x57e092[_0x1d8f3e(0x262)]=_0x2a30bf([_0x2be1b1['DependentOn'](_0x10aa80['UniverCollaborationClientPlugin']),_0x5c6cca(0x1,_0x4eb86c[_0x1d8f3e(0x2a1)]),_0x5c6cca(0x2,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1[_0x1d8f3e(0xd7)])),_0x5c6cca(0x3,_0x2be1b1[_0x1d8f3e(0x143)])],_0x57e092[_0x1d8f3e(0x262)]);var _0x37e41d=Object[_0x1d8f3e(0x193)],_0x15e767=(_0x1c260b,_0x43d664,_0x3dae2e,_0x45c7cf)=>{const _0x1e68d0=_0x1d8f3e;for(var _0x317cff=_0x45c7cf>0x1?void 0x0:_0x45c7cf?_0x37e41d(_0x43d664,_0x3dae2e):_0x43d664,_0x11399a=_0x1c260b[_0x1e68d0(0x293)]-0x1,_0x33754d;_0x11399a>=0x0;_0x11399a--)(_0x33754d=_0x1c260b[_0x11399a])&&(_0x317cff=_0x33754d(_0x317cff)||_0x317cff);return _0x317cff;},_0x2b2b32=(_0x4549b3,_0x337a41)=>(_0x5d4e60,_0x5ad4f7)=>_0x337a41(_0x5d4e60,_0x5ad4f7,_0x4549b3);_0x57e092[_0x1d8f3e(0x2f5)]=class extends _0x10aa80['CollaborationSocketService']{constructor(_0x1bc515,_0x1908ab,_0x1d553c,_0x35ab8e,_0x15a72a){super(_0x1bc515,_0x1908ab,_0x1d553c,_0x35ab8e,_0x15a72a);}async[_0x1d8f3e(0x15e)](_0x1e92bd){const _0x3a5e6b=_0x1d8f3e,_0x213c19=await this[_0x3a5e6b(0x35a)](),_0x483264=this['_createSocketURL'](_0x1e92bd,_0x213c19);return this[_0x3a5e6b(0x2a5)](_0x483264);}[_0x1d8f3e(0x32b)](_0x242bc6,_0x49124f){const _0x2968cf=_0x1d8f3e,_0x32dca9=typeof window>'u'?new URL(_0x242bc6):new URL(_0x242bc6,window['location'][_0x2968cf(0x1a0)]);_0x32dca9[_0x2968cf(0x27b)][_0x2968cf(0x2d6)](_0x2968cf(0x1eb),_0x49124f);const _0x11123a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2968cf(0x21b)][_0x2968cf(0x16b)]);return _0x11123a[_0x2968cf(0x367)]('runId')&&_0x32dca9[_0x2968cf(0x27b)]['set'](_0x2968cf(0x26f),_0x11123a[_0x2968cf(0x367)](_0x2968cf(0x26f))),_0x32dca9[_0x2968cf(0x326)]();}async['_getSessionTicket'](){const _0x5be3bd=_0x1d8f3e;var _0x3e7017,_0x47e4af,_0x23092b;const _0x5441c7=this['_configService'][_0x5be3bd(0x245)](_0x10aa80['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x4b8260=(_0x3e7017=_0x5441c7==null?void 0x0:_0x5441c7[_0x5be3bd(0x333)])!=null?_0x3e7017:_0x10aa80[_0x5be3bd(0x339)];return(_0x23092b=(_0x47e4af=(await this[_0x5be3bd(0x1e5)][_0x5be3bd(0x367)](_0x4b8260,{'headers':{'Content-Type':_0x5be3bd(0x2c2)}}))[_0x5be3bd(0x2ee)])==null?void 0x0:_0x47e4af[_0x5be3bd(0x2f9)])!=null?_0x23092b:'';}},_0x57e092[_0x1d8f3e(0x2f5)]=_0x15e767([_0x2b2b32(0x0,_0x2be1b1[_0x1d8f3e(0x362)](_0x2be1b1['Injector'])),_0x2b2b32(0x1,_0x2be1b1['Inject'](_0x5d5c49[_0x1d8f3e(0x2b9)])),_0x2b2b32(0x2,_0x2be1b1[_0x1d8f3e(0x143)]),_0x2b2b32(0x3,_0x2be1b1[_0x1d8f3e(0x108)]),_0x2b2b32(0x4,_0x301770[_0x1d8f3e(0x106)])],_0x57e092[_0x1d8f3e(0x2f5)]);const _0x15d4c6=0x7530,_0x3e21a9=_0x1d8f3e(0x376);class _0x4de5e3 extends _0x2be1b1['Disposable']{constructor(){const _0x4d0ef9=_0x1d8f3e;super(),_0xa4f9ad(this,_0x4d0ef9(0x289),_0x2be1b1[_0x4d0ef9(0x181)]()),_0xa4f9ad(this,_0x4d0ef9(0x22c),new Set()),_0xa4f9ad(this,_0x4d0ef9(0x16a),new Map()),_0xa4f9ad(this,'_heartbeatTimer',null),_0xa4f9ad(this,_0x4d0ef9(0x2ed),new Map()),_0xa4f9ad(this,'_unitStatus',new Map()),this[_0x4d0ef9(0x373)]();}[_0x1d8f3e(0xf4)](){const _0x4cefd6=_0x1d8f3e;super[_0x4cefd6(0xf4)](),this[_0x4cefd6(0x2ed)][_0x4cefd6(0x182)]((_0x1274e,_0xfeba07)=>this[_0x4cefd6(0x112)](_0xfeba07)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x4cefd6(0x252)]);}[_0x1d8f3e(0x10a)](_0x17efbf){const _0xd6c9cc=_0x1d8f3e;return this[_0xd6c9cc(0x228)](_0x17efbf)[_0xd6c9cc(0x18f)](_0x4d5064[_0xd6c9cc(0x213)]());}[_0x1d8f3e(0x316)](_0xf5448){const _0x714049=_0x1d8f3e;this['_selfUnitIDs'][_0x714049(0x273)]===0x0&&this[_0x714049(0x342)](),this[_0x714049(0x22c)][_0x714049(0x13b)](_0xf5448),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xf5448],'isForwarded':!0x1});}[_0x1d8f3e(0x2de)](_0x516672){const _0x503d4f=_0x1d8f3e;this[_0x503d4f(0x22c)][_0x503d4f(0x115)](_0x516672),this[_0x503d4f(0x22c)][_0x503d4f(0x273)]===0x0&&this['_heartbeatTimer']&&window[_0x503d4f(0x318)](this['_heartbeatTimer']);}[_0x1d8f3e(0x373)](){const _0x13a61d=_0x1d8f3e;this[_0x13a61d(0x114)](_0x2be1b1[_0x13a61d(0x2ec)](_0x4d5064['fromEvent'](window,_0x13a61d(0x321))[_0x13a61d(0x21f)](_0x52e0b6=>{const _0x554cac=_0x13a61d;if(_0x52e0b6[_0x554cac(0x34e)]!==_0x3e21a9||!_0x52e0b6[_0x554cac(0xff)])return;const _0x212b6d=JSON[_0x554cac(0x26c)](_0x52e0b6[_0x554cac(0xff)]);this[_0x554cac(0x2bd)](_0x212b6d);}))),window['addEventListener'](_0x13a61d(0x1ee),()=>this[_0x13a61d(0x161)]({'type':0x1,'memberID':this[_0x13a61d(0x289)],'unitIDs':Array[_0x13a61d(0x142)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x12d36b){const _0x14aae3=_0x1d8f3e;switch(_0x12d36b['type']){case 0x0:this[_0x14aae3(0x2c7)](_0x12d36b);break;case 0x1:this[_0x14aae3(0x2ad)](_0x12d36b);break;case 0x2:this[_0x14aae3(0x196)](_0x12d36b);break;}}[_0x1d8f3e(0x2c7)](_0x36f6f5){const _0x347e73=_0x1d8f3e,{unitIDs:_0x5c6434,memberID:_0x49aa39,isForwarded:_0x1f6dd8}=_0x36f6f5;_0x5c6434[_0x347e73(0x182)](_0x39ddfd=>{const _0x41692d=_0x347e73;if(!_0x1f6dd8&&this[_0x41692d(0x16a)][_0x41692d(0x1fc)](_0x39ddfd)&&this[_0x41692d(0x228)](_0x39ddfd)[_0x41692d(0x2a0)](_0x10aa80[_0x41692d(0x1a4)][_0x41692d(0x14e)]),!this[_0x41692d(0x16a)][_0x41692d(0x1fc)](_0x39ddfd)||!this['_unitOnClients'][_0x41692d(0x367)](_0x39ddfd)[_0x41692d(0x1fc)](_0x49aa39)){const _0x1510d7=this[_0x41692d(0x16a)][_0x41692d(0x367)](_0x39ddfd)||new Set();_0x1510d7['add'](_0x49aa39),this[_0x41692d(0x16a)][_0x41692d(0x2d6)](_0x39ddfd,_0x1510d7),this[_0x41692d(0x25b)](_0x49aa39);}}),_0x1f6dd8||this[_0x347e73(0x161)]({'type':0x0,'memberID':this[_0x347e73(0x289)],'unitIDs':[...this[_0x347e73(0x22c)]],'isForwarded':!0x0});}[_0x1d8f3e(0x25b)](_0xf08a48){const _0x31e152=_0x1d8f3e;this[_0x31e152(0x112)](_0xf08a48);const _0x52033a=window['setTimeout'](()=>{const _0x5d9860=_0x31e152;this[_0x5d9860(0x16a)][_0x5d9860(0x182)](_0x3673ff=>{const _0x546c75=_0x5d9860;_0x3673ff[_0x546c75(0x115)](_0xf08a48);});},_0x15d4c6*0x2);this['_clearOtherTimers']['set'](_0xf08a48,_0x52033a);}[_0x1d8f3e(0x112)](_0x44af96){const _0x4f9dd3=_0x1d8f3e;if(this[_0x4f9dd3(0x2ed)][_0x4f9dd3(0x1fc)](_0x44af96)){const _0xdfb2df=this[_0x4f9dd3(0x2ed)][_0x4f9dd3(0x367)](_0x44af96);_0xdfb2df&&window[_0x4f9dd3(0x1fb)](_0xdfb2df),this[_0x4f9dd3(0x2ed)][_0x4f9dd3(0x2d6)](_0x44af96,null);}}[_0x1d8f3e(0x2ad)](_0x1e8787){const _0x15d4d4=_0x1d8f3e,{memberID:_0x469615,unitIDs:_0x5192af}=_0x1e8787;_0x5192af[_0x15d4d4(0x182)](_0x348cb7=>{const _0x3c4862=_0x15d4d4;var _0x182b12;const _0x1a6b66=this[_0x3c4862(0x16a)][_0x3c4862(0x367)](_0x348cb7);_0x1a6b66&&(_0x1a6b66[_0x3c4862(0x115)](_0x469615),(_0x182b12=this[_0x3c4862(0x228)](_0x348cb7))==null||_0x182b12['next'](_0x1a6b66[_0x3c4862(0x273)]===0x0?_0x10aa80[_0x3c4862(0x1a4)][_0x3c4862(0x2f4)]:_0x10aa80[_0x3c4862(0x1a4)][_0x3c4862(0x14e)]));}),this[_0x15d4d4(0x112)](_0x469615);}[_0x1d8f3e(0x196)](_0x353233){const _0x541223=_0x1d8f3e;this[_0x541223(0x25b)](_0x353233[_0x541223(0x2f7)]);}['_send'](_0x1bcd62){localStorage['setItem'](_0x3e21a9,JSON['stringify'](_0x1bcd62));}[_0x1d8f3e(0x342)](){const _0x395979=_0x1d8f3e;this[_0x395979(0x252)]=window[_0x395979(0x2ae)](()=>{const _0x5c2c85=_0x395979;this[_0x5c2c85(0x161)]({'type':0x2,'memberID':this[_0x5c2c85(0x289)]});},_0x15d4c6);}[_0x1d8f3e(0x228)](_0x5b88e9){const _0x386c5c=_0x1d8f3e;return this[_0x386c5c(0x156)][_0x386c5c(0x1fc)](_0x5b88e9)||this[_0x386c5c(0x156)][_0x386c5c(0x2d6)](_0x5b88e9,new _0x4d5064[(_0x386c5c(0x370))](_0x10aa80['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x386c5c(0x156)][_0x386c5c(0x367)](_0x5b88e9);}}var _0x2ef497=(_0x3c2541=>(_0x3c2541[_0x3c2541['UNDEFINED']=0x0]='UNDEFINED',_0x3c2541[_0x3c2541['OK']=0x1]='OK',_0x3c2541[_0x3c2541[_0x1d8f3e(0x222)]=0x2]='INTERNAL_ERROR',_0x3c2541[_0x3c2541[_0x1d8f3e(0xd9)]=0x3]='PERMISSION_DENIED',_0x3c2541[_0x3c2541[_0x1d8f3e(0x2ba)]=0x4]=_0x1d8f3e(0x2ba),_0x3c2541[_0x3c2541['UNAUTHENTICATED']=0x5]=_0x1d8f3e(0xe6),_0x3c2541[_0x3c2541[_0x1d8f3e(0x371)]=0x6]=_0x1d8f3e(0x371),_0x3c2541[_0x3c2541['INVALID_ARGUMENT']=0x7]=_0x1d8f3e(0x260),_0x3c2541[_0x3c2541[_0x1d8f3e(0x20e)]=0x8]=_0x1d8f3e(0x20e),_0x3c2541[_0x3c2541['COMPLETION_FINISHED']=0x9]=_0x1d8f3e(0x28c),_0x3c2541[_0x3c2541[_0x1d8f3e(0xe4)]=0xa]=_0x1d8f3e(0xe4),_0x3c2541[_0x3c2541[_0x1d8f3e(0x29d)]=0xb]=_0x1d8f3e(0x29d),_0x3c2541[_0x3c2541[_0x1d8f3e(0x31b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c2541[_0x3c2541[_0x1d8f3e(0x257)]=0xd]=_0x1d8f3e(0x257),_0x3c2541[_0x3c2541[_0x1d8f3e(0x2ef)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3c2541[_0x3c2541[_0x1d8f3e(0x1db)]=0x1389]=_0x1d8f3e(0x1db),_0x3c2541[_0x3c2541['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1d8f3e(0x24c),_0x3c2541[_0x3c2541['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1d8f3e(0x19d),_0x3c2541[_0x3c2541[_0x1d8f3e(0x275)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3c2541[_0x3c2541['APPLY_REJECT']=0x1b59]=_0x1d8f3e(0x149),_0x3c2541[_0x3c2541[_0x1d8f3e(0x17b)]=0x1b5a]=_0x1d8f3e(0x17b),_0x3c2541[_0x3c2541[_0x1d8f3e(0x322)]=0x1b5b]=_0x1d8f3e(0x322),_0x3c2541[_0x3c2541[_0x1d8f3e(0x246)]=0x1b5c]=_0x1d8f3e(0x246),_0x3c2541[_0x3c2541[_0x1d8f3e(0x18d)]=0x1b5d]=_0x1d8f3e(0x18d),_0x3c2541[_0x3c2541[_0x1d8f3e(0x299)]=0x1f41]=_0x1d8f3e(0x299),_0x3c2541[_0x3c2541[_0x1d8f3e(0x2dd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3c2541[_0x3c2541[_0x1d8f3e(0x2e1)]=0x232a]=_0x1d8f3e(0x2e1),_0x3c2541[_0x3c2541[_0x1d8f3e(0x200)]=0x232b]=_0x1d8f3e(0x200),_0x3c2541[_0x3c2541[_0x1d8f3e(0x135)]=0x232c]=_0x1d8f3e(0x135),_0x3c2541[_0x3c2541[_0x1d8f3e(0x296)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3c2541[_0x3c2541[_0x1d8f3e(0x37d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3c2541[_0x3c2541[_0x1d8f3e(0x131)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3c2541[_0x3c2541['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1d8f3e(0x288),_0x3c2541[_0x3c2541[_0x1d8f3e(0x165)]=0x2714]=_0x1d8f3e(0x165),_0x3c2541[_0x3c2541[_0x1d8f3e(0x18b)]=0x271a]=_0x1d8f3e(0x18b),_0x3c2541[_0x3c2541[_0x1d8f3e(0x16c)]=0x271b]=_0x1d8f3e(0x16c),_0x3c2541[_0x3c2541[_0x1d8f3e(0x26e)]=0x271c]=_0x1d8f3e(0x26e),_0x3c2541[_0x3c2541[_0x1d8f3e(0x2fc)]=0x271d]=_0x1d8f3e(0x2fc),_0x3c2541[_0x3c2541[_0x1d8f3e(0x265)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3c2541[_0x3c2541[_0x1d8f3e(0x32f)]=0x271f]=_0x1d8f3e(0x32f),_0x3c2541[_0x3c2541[_0x1d8f3e(0x2bb)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3c2541[_0x3c2541['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d8f3e(0x187),_0x3c2541[_0x3c2541[_0x1d8f3e(0x307)]=0x2ee1]=_0x1d8f3e(0x307),_0x3c2541[_0x3c2541[_0x1d8f3e(0x1f2)]=0x2ee2]=_0x1d8f3e(0x1f2),_0x3c2541[_0x3c2541[_0x1d8f3e(0x23f)]=0x2ee3]=_0x1d8f3e(0x23f),_0x3c2541[_0x3c2541[_0x1d8f3e(0x14c)]=0x2ee4]=_0x1d8f3e(0x14c),_0x3c2541[_0x3c2541[_0x1d8f3e(0x169)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3c2541[_0x3c2541['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1d8f3e(0x24e),_0x3c2541[_0x3c2541[_0x1d8f3e(0x27e)]=0x32ca]=_0x1d8f3e(0x27e),_0x3c2541[_0x3c2541['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1d8f3e(0x1e6),_0x3c2541[_0x3c2541[_0x1d8f3e(0x350)]=-0x1]=_0x1d8f3e(0x350),_0x3c2541))(_0x2ef497||{}),_0x4ef3ad=Object[_0x1d8f3e(0x193)],_0x170c20=(_0x53aee8,_0x5cf3c1,_0x280891,_0x49fafd)=>{const _0x5b4d11=_0x1d8f3e;for(var _0x2db732=_0x49fafd>0x1?void 0x0:_0x49fafd?_0x4ef3ad(_0x5cf3c1,_0x280891):_0x5cf3c1,_0x2e6368=_0x53aee8[_0x5b4d11(0x293)]-0x1,_0xd0795b;_0x2e6368>=0x0;_0x2e6368--)(_0xd0795b=_0x53aee8[_0x2e6368])&&(_0x2db732=_0xd0795b(_0x2db732)||_0x2db732);return _0x2db732;},_0x1c5907=(_0x272c09,_0x51d578)=>(_0x5793db,_0x3b75fd)=>_0x51d578(_0x5793db,_0x3b75fd,_0x272c09);_0x57e092[_0x1d8f3e(0x2da)]=class extends _0x2be1b1[_0x1d8f3e(0xe0)]{constructor(_0x484693,_0x452e38,_0x3243b4){const _0x55bccf=_0x1d8f3e;super(),this['_instanceService']=_0x484693,this[_0x55bccf(0x1e5)]=_0x452e38,this[_0x55bccf(0x178)]=_0x3243b4;}async[_0x1d8f3e(0x2ab)](_0x4e124c,_0x594cfe,_0x325d37,..._0xbba9a5){const _0x3d0474=_0x1d8f3e;var _0x2e7148,_0x51ee0f,_0x45ff63,_0x13ecf2;const _0x2fd455=this['_instanceService'][_0x3d0474(0x147)]();if(!_0x2fd455)throw new Error(_0x3d0474(0x18c));const _0x4520e1=((_0x2e7148=this['_configService']['getConfig'](_0x10aa80[_0x3d0474(0x277)]))!=null?_0x2e7148:_0x10aa80[_0x3d0474(0x16d)])+'/'+_0x4e124c+_0x3d0474(0x15d)+_0x594cfe,_0x4d5392=new URL(window[_0x3d0474(0x21b)]['href']),_0x481d5d={'scriptId':_0x4e124c,'runId':(_0x51ee0f=_0x4d5392['searchParams'][_0x3d0474(0x367)](_0x3d0474(0x26f)))!=null?_0x51ee0f:'','function':_0x594cfe,'unitId':_0x2fd455[_0x3d0474(0x224)](),'argsOfFunction':JSON[_0x3d0474(0x348)](_0xbba9a5),'invokeId':(_0x45ff63=_0x325d37[_0x3d0474(0x2fa)])!=null?_0x45ff63:'','executionId':(_0x13ecf2=_0x325d37[_0x3d0474(0x36b)])!=null?_0x13ecf2:''};try{const _0x31bc6c=await this[_0x3d0474(0x1e5)]['post'](_0x4520e1,{'body':_0x481d5d});return _0x31bc6c[_0x3d0474(0x2ee)][_0x3d0474(0x10e)]&&_0x31bc6c['body'][_0x3d0474(0x10e)]['code']!==_0x2ef497['OK']?_0x3d0474(0x2d0):_0x31bc6c[_0x3d0474(0x2ee)][_0x3d0474(0x116)];}catch{return'Failed';}}},_0x57e092['RemoteUniscriptService']=_0x170c20([_0x1c5907(0x0,_0x2be1b1['IUniverInstanceService']),_0x1c5907(0x1,_0x2be1b1[_0x1d8f3e(0x362)](_0x5d5c49[_0x1d8f3e(0x2b9)])),_0x1c5907(0x2,_0x2be1b1['IConfigService'])],_0x57e092['RemoteUniscriptService']),_0x57e092[_0x1d8f3e(0x356)]=_0x342f4d,_0x57e092[_0x1d8f3e(0x1be)]=_0x1d54f0,_0x57e092[_0x1d8f3e(0x30e)]=_0x56a310,_0x57e092[_0x1d8f3e(0x2f0)]=_0x4de5e3,_0x57e092['WebURLService']=_0x434e71,Object[_0x1d8f3e(0x1c6)](_0x57e092,Symbol[_0x1d8f3e(0x17a)],{'value':_0x1d8f3e(0x188)});}));function _0x3bf7(_0x2673f5,_0x3e04bb){const _0x509236=_0x5092();return _0x3bf7=function(_0x3bf736,_0x574aa5){_0x3bf736=_0x3bf736-0xd7;let _0x1f1697=_0x509236[_0x3bf736];return _0x1f1697;},_0x3bf7(_0x2673f5,_0x3e04bb);}function _0x5092(){const _0x2aee18=['MemberService','pushState','height','_backgroundColor','_docSkeleton','Vector2','getCoordByCell','IURLService','collabCursorState$','_color','children','registerBeforeClose','setAlpha','UniverProCollaboration','type','defineProperty','DOC_RANGE_TYPE','UNIVER_DOC','url(#on-line-icon_clip0_910_349)','TEXT_RANGE_LAYER_INDEX','_docTransformIMECacheService','_disabled','jsxs','push','getLocalCacheKey','_collaborationController','1em','IImageIoService','docStateChange$','_range','SheetsSelectionsService','m2Prime','_scene','_entities','onRendered','_anchor','CHANGESET_REVISION_CONFILICT','CommandType','_saveCache','FETCH_MISS','setStateCache','closePath','defs','clsx','session.connection-failed','unsubscribe','_httpService','EMAIL_HAS_BEEN_BOUND','IDocClipboardService','UniverDocs','getMemberID','getRelativeToViewportCoord','sessionTicket','operators','onCommandExecuted','unload','rgba(255,\x20255,\x20255,\x200.01)','startsWith','some','INVALID_INVITE_CODE','currentSkeleton$','href','transformMutationsWithChangeset','roomMembers$','NOT_COLLAB','purple.300','_cursorShapes','eventID','clearTimeout','has','RichTextEditingMutation','MUTATION','_anchorDot','LICENSE_IMPORT_SIZE_EXCEEDED','_logService','deserializeRangeWithSheet','handleInsertRangeMoveRight','black','enableLocalCache','mapTo','takeUntil','_collaborationUIEventService','prototype','HEADER_MENU','MoveRangeCommandId','USERS_LEAVE','deepClone','TOO_MANY_REQUESTS','column','_labelPosition','SessionStatus','CollaborationEvent','distinctUntilChanged','UniverInstanceType','_beforeCloseService','SetSelectionsOperation','SYNCED','hide','attrs','updateOfflineData','location','_initStatusComponent','currentTheme$','registerDependencies','subscribe','sheetID','INotificationService','INTERNAL_ERROR','debug','getUnitId','collaboration-client-ui.config','CollaborationUIEventId','UniverDesign','_ensureSubject','_document','createInstance','subUnitId','_selfUnitIDs','_textBubble','getTypeOfUnitAdded$','DisposableCollection','@univerjs/rpc','23274aZngnB','measureText','combineLatest','requireSession','Tooltip','_updateSubUnitFromURLParams','DesktopCollaborationStatusDisplayController','getRangePointData','_eventUnsubscribe','whenReady','width','getItem','replaceState','_status$','INVITE_CODE_REQUIRED','transformMutation','@univerjs/engine-formula','UNIVER_SHEET','shareReplay','getActiveRange','getConfig','APPLY_PERMISSION_DENIED','1241060lThzfz','undoState','getCurrentRevOfUnit','sessionStatus$','_uiPartsService','SNAPSHOT_INVALID_SNAPSHOT','M0\x200H16V16H0z','WECHAT_HAS_BEEN_BOUND','split','makeDirty','roomMembers','_heartbeatTimer','SetWorksheetActivateCommand','none','restore','transformByState','EMAIL_VERIFY_CODE_MISMATCH','CONFLICT','_hideTimer','@univerjs/docs-ui','_scheduleClearOtherTimer','_injector','_sheetSkeletonManagerService','popstate','ONLINE','INVALID_ARGUMENT','arc','UniverCollaborationClientUIPlugin','LocaleService','_hovered','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','EffectRefRangId','getStateCache','4261901lAvcvo','setParam','_initCommandExecutedListener','displayName','parse','onPointerLeave$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','runId','_updateURLWithCurrentState','_onCursorDelete','dispose$','size','_docClipboardService','ENSURE_SNAPSHOT_EXECUTION','getOffsetConfig','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','jsx','react','addClipboardHook','searchParams','_hover','_lastPointer','MOBILE_HAS_BEEN_BOUND','_online','51vFAmWN','isEditing','history','amd','univerjs-icon\x20univerjs-icon-','getUniverSheetInstance','beginPath','url(#$1','YUUMI_RATE_OVER_LIMIT','_id','ThemeService','exports','COMPLETION_FINISHED','isArray','_imageIoService','svg','DataLoaderService','rxjs','9mRGZQc','length','addObjects','colorChannel1','LICENSE_DISTRO_REJECTED','all','mask','CONNECTOR_DATA_TOO_LARGE','backgroundColor','_transformService','_initDependencies','MOBILE_VERIFY_CODE_MISMATCH','WebSocketService','_collabCursorState$','next','IRenderManagerService','@univerjs/sheets-ui','subunit','_docStateChangeManagerService','_doCreateSocket','getSheetBySheetId','font','yellow.400','NodePositionConvertToCursor','min','runOnServer','_setupSubUnitSync','_handleLeaveEvent','setInterval','activeSheet$','_drawAnchor','name','_cursorInfo$','_updateCollabCursors','setUndoRedoMutationParamsCache','UniverSheets','addObject','univer-flex\x20univer-items-center','unitID','HTTPService','NOT_FOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','data','_handleEvent','isTransformMutationFailure','indexOf','on-line-icon','with','application/json','url(#off-line-icon_clip0_910_343)','_memberService','getDocRanges','_onCursorUpdate','_handleJoinEvent','TRANSFORM_CHANGE_OBSERVABLE_TYPE','AWAITING_WITH_PENDING','hasOwnProperty','Error','2620664GsxnPr','actions','_config','triggerDblclick','Failed','@univerjs/design','saveOfflineData','mutations','UPDATE_CURSOR','_getMergeRange','set','getSkeleton','on-line-icon_clip0_910_349','defIds','RemoteUniscriptService','range','UniverDrawing','LICENSE_MAX_UNITS_EXCEEDED','disposeUnit','_context','InsertRowCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSheetId','IUIPartsService','extend','status$','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','ILocalCacheService','exhaustSavingTask','idSuffix','TEXT','_drawRectRange','toDisposable','_clearOtherTimers','body','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','WebBrowserSingleActiveUnitService','startRow','getViewport','setShapeProps','NO_OTHER_CLIENTS_EDITING','BrowserCollaborationSocketService','CLOSE_ROOM','memberID','_toggleOnline','ticket','invokeId','CollaborationStatus','YUUMI_ALL_TABLES_IS_INVALID','touchDependencies','runRefRangeMutations','getTypeOfUnitDisposed$','RefRangeService','addHandlerCallback','MessageType','CollaborationController','_render','_initEvent','_dataLoaderService','INVITE_CODE_HAS_BEEN_UES','_updateLocalCursor','35GuxXbO','InsertRangeMoveDownCommandId','DeleteRangeMoveLeftCommandId','registerRefRange','_name','SheetCollabCursorShape','forwardRef','UniverEngineRender','getActiveSheet','725759cFGikv','handleMoveRange','div','RECT','editingUnit','_collabSessionService','clearInterval','SUBMIT_CHANGESET_TIMEOUT','FromArray','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromEvent','DeleteRangeMoveUpCommandId','SOCKET_FAILED','IMessageService','isActive','storage','APPLY_REVISION_CONFILICT','[CollaborationDataLoaderController]','use','map','toString','transformIMECache','useRef','merge','IUniverInstanceService','_createSocketURL','contains','replaceDocRanges','transformStateCache','YUUMI_AI_RUN_FAILED','saveTaskMap','_colorAssignService','top','wsSessionTicketUrl','Optional','_cachedData','useCallback','@univerjs/drawing','_colorIndex','DEFAULT_WS_SESSION_TICKET_URL','transformSelections','ILocalStorageService','getCellPositionByOffset','getCurrentUnitForType','unit','197228Uybzhj','_startDocCollabCursor','@univerjs/core','_scheduleHeartbeat','_getAnchorBounding','throttleTime','string','drawWith','OFFLINE','stringify','complete','@univerjs/sheets','uni.network.url-service','path','getColor','key','skeleton','UNRECOGNIZED','collaboration-client.offline-data-not-saved','_initStatusListener','_session','getCollabEntity$','round','CollaborationStatusDisplay','replace','OTHER_CLIENT_EDITING','useDependency','_getSessionTicket','row','send','@univerjs/engine-render','_docTransformSelectionsService','getParam','startColumn','Workbook','Inject','assign','current','currentColor','_transformUndoRedoStack','get','fill','onPointerEnter$','sheetId','executionId','Plugin','handleIRemoveCol','connectInjector','selections','BehaviorSubject','ALREADY_EXISTS','Unknown\x20user','_init','_messageService','call','ACTIVE_UNIT_EVENT_CHANNEL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_renderManagerService','_toggleOffline','off-line-icon','_assignedColors','object','YUUMI_UNABLE_LOAD_URL','save','ranges','_refRangeService','UniverIcon','Rect','Injector','ColorKit','PERMISSION_DENIED','InsertColCommandId','_cursor','RemoveColCommandId','bottom','DocCollaborationEntity','event$','Disposable','OnLineIcon','_scheduleSaving','_univerInstanceService','LOGIN_FAILED','setConfig','UNAUTHENTICATED','moveTo','collabStatus.syncing','_transformHistoryAndStateStack','tag','jiqing.500','collab-text-range-','max','urlChange$','concat','params','doc.mutation.rich-text-editing','collabStatus.conflict','SetDocZoomRatioOperation','dispose','_registerDependencies','evenodd','getCurrentSelections','red.300','RegularPolygon','_transformPreviousActiveRange','Shape','rxjs/operators','selection','transformRemoteChangeset','newValue','collaboration.single-unit.warning','@univerjs-pro/collaboration-client','setActiveRange','getUnhiddenWorksheets','_onRefRangeChange','...','ISnapshotServerService','RevisionService','ILogService','endRow','getUnitStatus$','_collabCursorController','_handleHover','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','error','imageSourceType','RxDisposable','handleInsertRow','_removeClearOtherTimer','filter','disposeWithMe','delete','result','getValue','getMergeData','ICommandService','_commandService','getMember','subscribeEvent','getVpScrollXYInfoByPosToVp','findNodePositionByCharIndex','createElement','green.600','InsertRangeMoveRightCommandId','_setupBeforeClosingHandler','_docTransformStateCacheService','collab-client.tooltip.reconnect','collaboration.closeRoom','_draw','textRanges','#FFF','BuiltInUIPart','_saveTaskMap','fillText','_roomMembers$','cursorInfo$','function','collab-text-anchor-','cursorInfo','YUUMI_URL_COL_OUT_OF_RANGE','_syncEditingCollabCursorService','_initEntityListener','UniverUi','LICENSE_EXPORT_SIZE_EXCEEDED','UniverDocsUi','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','lineTo','_drawTextRange','COLORS','add','UniverProCollaborationClientUi','xlink:href','init','AWAITING','_getSheetObject','includes','from','IConfigService','text','symbol','JOIN_ROOM_FAILED','getFocusedUnit','_themeService','APPLY_REJECT','_docSyncEditingCollabCursorService','_localeService','USER_NOT_INVITED_CODE','createIdentifier','OTHER_CLIENTS_EDITING','off-line-icon_clip0_910_343','_shapes','focused$','_entityInit$','_registerRenderDependencies','show','saveImage','_unitStatus','ITransformService','@univerjs/docs','_localStorageService','SOCKET_FAILED_RETRY','_cursors','0\x200\x2017\x2016','/run/','createSocket','assignAColorForMemberID','getRenderById','_send','0\x200\x2016\x2016','unshift','icon','YUUMI_SUBSCRIPTION_NOT_FOUND','3383382snHXMF','getCollabCursors$','collabStatus.synced','INVITE_CODE_ALREADY_BOUND','_unitOnClients','search','YUUMI_ASYNCIO_CANCELLED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','values','_refreshCollabCursors','@univerjs/ui','asObservable','engine','_removeCollabCursors','switchMap','then','_docSkeletonManagerService','_configService','_getScale','toStringTag','APPLY_NON_SEQUENTIAL_REVISION','Tools','SHEET_VIEWPORT_KEY','fillStyle','removeParam','white','generateRandomId','forEach','CollaborationSessionService','session.collaboration-timeout','color','http://www.w3.org/2000/svg','PY_RUNTIME_SCRIPT_ERROR','Module','unitId','redoState','YUUMI_NO_CUBOID_FOR_QUESTION','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_DUPLICATED','@univerjs-pro/collaboration','pipe','isTransformMutationsWithChangesetSuccess','Warning','UniverProCollaborationClient','getOwnPropertyDescriptor','onMouseMove','UniverEngineFormula','_handleHeartbeatEvent','DocIMEInputManagerService','fromEventSubject','getOwnPropertySymbols','@univerjs/network','_urlService','mergeOverrideWithDependencies','SNAPSHOT_HAS_BEEN_REMOVED','_startSheetCollabCursor','OffLineIcon','origin','session.will-retry','DocSelectionManagerService','registerComponent','UnitStatus','getUndoRedoMutationParamsCache','m1Prime','className','endColumn','handleDeleteRangeMoveLeft','entityInit$','_localCacheService','_initResize','syncEditingCollabCursor','getColorFromTheme','permission.content','Rectangle','trim','_getSaveTimeout','toRgbString','registerRenderModule','PENDING','debounce'];_0x5092=function(){return _0x2aee18;};return _0x5092();}
1
+ (function(_0x33ce42,_0x3d85c9){const _0x34a52f=_0x380c,_0x361ba2=_0x33ce42();while(!![]){try{const _0x2d7341=parseInt(_0x34a52f(0x438))/0x1*(parseInt(_0x34a52f(0x22a))/0x2)+-parseInt(_0x34a52f(0x2ed))/0x3*(parseInt(_0x34a52f(0x1e7))/0x4)+-parseInt(_0x34a52f(0x278))/0x5+-parseInt(_0x34a52f(0x3cb))/0x6+-parseInt(_0x34a52f(0x363))/0x7+-parseInt(_0x34a52f(0x360))/0x8*(parseInt(_0x34a52f(0x310))/0x9)+-parseInt(_0x34a52f(0x244))/0xa*(-parseInt(_0x34a52f(0x28f))/0xb);if(_0x2d7341===_0x3d85c9)break;else _0x361ba2['push'](_0x361ba2['shift']());}catch(_0x4484af){_0x361ba2['push'](_0x361ba2['shift']());}}}(_0x1c90,0xed3af),function(_0x5be0,_0x355b42){const _0x571866=_0x380c;typeof exports==_0x571866(0x2fe)&&typeof module<'u'?_0x355b42(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x571866(0x3ab)]?define([_0x571866(0x284),'@univerjs-pro/collaboration-client','@univerjs/core',_0x571866(0x3be),'@univerjs/network','@univerjs/docs-ui',_0x571866(0x322),_0x571866(0x42f),'@univerjs-pro/collaboration',_0x571866(0x296),_0x571866(0x388),_0x571866(0x2b4),'rxjs/operators','@univerjs/sheets-ui',_0x571866(0x329),_0x571866(0x36f),_0x571866(0x3e3),_0x571866(0x1f1),_0x571866(0x282)],_0x355b42):(_0x5be0=typeof globalThis<'u'?globalThis:_0x5be0||self,_0x355b42(_0x5be0['UniverProCollaborationClientUi']={},_0x5be0[_0x571866(0x269)],_0x5be0[_0x571866(0x458)],_0x5be0[_0x571866(0x28c)],_0x5be0['UniverNetwork'],_0x5be0[_0x571866(0x3e8)],_0x5be0['UniverDrawing'],_0x5be0[_0x571866(0x42f)],_0x5be0[_0x571866(0x478)],_0x5be0[_0x571866(0x345)],_0x5be0[_0x571866(0x261)],_0x5be0['UniverSheets'],_0x5be0[_0x571866(0x42f)][_0x571866(0x38b)],_0x5be0[_0x571866(0x45a)],_0x5be0[_0x571866(0x43b)],_0x5be0[_0x571866(0x2e4)],_0x5be0[_0x571866(0x25b)],_0x5be0['React'],_0x5be0[_0x571866(0x33b)]));}(this,function(_0x560529,_0x532bba,_0x5c9413,_0x1f04f6,_0x592e97,_0x2f8870,_0x5b296f,_0x5c807f,_0x492d9e,_0x39044d,_0x56a760,_0x333a7c,_0x44133d,_0xd824ff,_0x329810,_0x4db0e6,_0x27f590,_0x47ddff,_0x51bc92){'use strict';const _0x12a2cc=_0x380c;var _0x4491df=Object[_0x12a2cc(0x295)],_0x3a8d07=(_0x8e6385,_0x1014e2,_0x4ef187)=>_0x1014e2 in _0x8e6385?_0x4491df(_0x8e6385,_0x1014e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ef187}):_0x8e6385[_0x1014e2]=_0x4ef187,_0x1206b7=(_0x2bb139,_0xd2cf92,_0x3d7af7)=>_0x3a8d07(_0x2bb139,typeof _0xd2cf92!=_0x12a2cc(0x33f)?_0xd2cf92+'':_0xd2cf92,_0x3d7af7),_0x342c65=Object[_0x12a2cc(0x436)],_0x1216c6=(_0x4c022d,_0x5a9520,_0x403d91,_0x24f930)=>{for(var _0x23389a=_0x24f930>0x1?void 0x0:_0x24f930?_0x342c65(_0x5a9520,_0x403d91):_0x5a9520,_0x10668b=_0x4c022d['length']-0x1,_0x1d4e69;_0x10668b>=0x0;_0x10668b--)(_0x1d4e69=_0x4c022d[_0x10668b])&&(_0x23389a=_0x1d4e69(_0x23389a)||_0x23389a);return _0x23389a;},_0x3cc4e5=(_0x1f467b,_0x5105c7)=>(_0x4ff762,_0x2c4a0d)=>_0x5105c7(_0x4ff762,_0x2c4a0d,_0x1f467b);let _0x29cac0=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x3e663c,_0x3670af){const _0x576a6b=_0x12a2cc;super(),this[_0x576a6b(0x431)]=_0x3e663c,this[_0x576a6b(0x3b7)]=_0x3670af,this['_init']();}[_0x12a2cc(0x47c)](){const _0x289bda=_0x12a2cc,_0x3e1f6d=this;this[_0x289bda(0x30f)](this['_docClipboardService'][_0x289bda(0x1f3)]({'onBeforePasteImage':async _0x50cb78=>{const _0x5d4451=_0x289bda,_0x364abe=await _0x3e1f6d[_0x5d4451(0x3b7)][_0x5d4451(0x221)](_0x50cb78);return _0x364abe?{'source':_0x364abe['source'],'imageSourceType':_0x364abe[_0x5d4451(0x25f)]}:null;}}));}};_0x29cac0=_0x1216c6([_0x3cc4e5(0x0,_0x2f8870[_0x12a2cc(0x212)]),_0x3cc4e5(0x1,_0x5b296f[_0x12a2cc(0x3b9)])],_0x29cac0);const _0x56947e=[_0x12a2cc(0x3f3),_0x12a2cc(0x389),_0x12a2cc(0x2cd),_0x12a2cc(0x460),'blue.400',_0x12a2cc(0x479)];class _0x581544 extends _0x5c9413[_0x12a2cc(0x474)]{constructor(){const _0x1592f0=_0x12a2cc;super(...arguments),_0x1206b7(this,_0x1592f0(0x202),new Map()),_0x1206b7(this,'_colorIndex',0x0);}[_0x12a2cc(0x304)](_0x4a641b){const _0x527acb=_0x12a2cc;if(this[_0x527acb(0x202)][_0x527acb(0x3f7)](_0x4a641b))return this[_0x527acb(0x202)][_0x527acb(0x2f0)](_0x4a641b);const _0x2b6558=_0x56947e[this[_0x527acb(0x208)]];return this[_0x527acb(0x208)]=(this[_0x527acb(0x208)]+0x1)%_0x56947e[_0x527acb(0x386)],this[_0x527acb(0x202)][_0x527acb(0x2ee)](_0x4a641b,_0x2b6558),_0x2b6558;}}function _0x356069(_0x57bf54){const _0x4fb418=_0x12a2cc;let _0x55abb5='';for(const _0x4ebaec of _0x57bf54){const {startOffset:_0x2784f8,endOffset:_0xb0cd85,isActive:_0x45c346,rangeType:_0x43f307,segmentId:_0x36cf4d,segmentPage:_0x7e1a05}=_0x4ebaec;_0x55abb5[_0x4fb418(0x386)]&&(_0x55abb5+=','),_0x55abb5+=_0x2784f8+':'+_0xb0cd85+':'+(_0x45c346?'1':'0')+':'+_0x43f307+':'+_0x36cf4d+':'+_0x7e1a05;}return _0x55abb5;}function _0xed9895(_0x20ce09){const _0x1b4333=_0x12a2cc,_0x1560e6=_0x20ce09[_0x1b4333(0x333)](','),_0x5ede26=[];for(const _0x3b2284 of _0x1560e6){const [_0x225761,_0x128eff,_0x546a52,_0x29bb5c,_0x3dd432,_0x50233f]=_0x3b2284[_0x1b4333(0x333)](':');_0x5ede26[_0x1b4333(0x39d)]({'startOffset':Number(_0x225761),'endOffset':Number(_0x128eff),'collapsed':_0x225761===_0x128eff,'isActive':_0x546a52==='1','rangeType':_0x29bb5c===_0x5c9413[_0x1b4333(0x3d4)][_0x1b4333(0x25a)]?_0x5c9413[_0x1b4333(0x3d4)]['TEXT']:_0x5c9413[_0x1b4333(0x3d4)][_0x1b4333(0x321)],'segmentId':typeof _0x3dd432==_0x1b4333(0x3d8)?String(_0x3dd432):'','segmentPage':Number(_0x50233f!=null?_0x50233f:-0x1)});}return _0x5ede26[_0x1b4333(0x273)](_0x579809=>_0x579809[_0x1b4333(0x26d)])||(_0x5ede26[0x0][_0x1b4333(0x26d)]=!0x0),_0x5ede26;}class _0x43ae26 extends _0x5c9413[_0x12a2cc(0x435)]{constructor(){const _0x54e253=_0x12a2cc;super(...arguments),_0x1206b7(this,'_collabCursorState$',new _0x5c807f[(_0x54e253(0x3bb))](null)),_0x1206b7(this,_0x54e253(0x2b1),this[_0x54e253(0x24c)]['asObservable']());}['syncEditingCollabCursor'](_0x18a053){const _0x3f3d0b=_0x12a2cc,{unitID:_0x2f80b3,memberID:_0x1be441,textRanges:_0x336a6c}=_0x18a053,_0x23e488=_0x356069(_0x336a6c);if(_0x23e488==='')return;const _0x15a72b={'unitID':_0x2f80b3,'memberID':_0x1be441,'selection':_0x23e488};this[_0x3f3d0b(0x24c)][_0x3f3d0b(0x1eb)](_0x15a72b);}}var _0xb3778f=Object[_0x12a2cc(0x436)],_0x3b2df8=(_0x167bd5,_0x5b9a73,_0x1e9b53,_0x4e5e2a)=>{const _0x4e7ab1=_0x12a2cc;for(var _0x72416b=_0x4e5e2a>0x1?void 0x0:_0x4e5e2a?_0xb3778f(_0x5b9a73,_0x1e9b53):_0x5b9a73,_0x50c826=_0x167bd5[_0x4e7ab1(0x386)]-0x1,_0x41d372;_0x50c826>=0x0;_0x50c826--)(_0x41d372=_0x167bd5[_0x50c826])&&(_0x72416b=_0x41d372(_0x72416b)||_0x72416b);return _0x72416b;},_0x3a1690=(_0x11bbb3,_0x5e783f)=>(_0x1bb42d,_0x5c4150)=>_0x5e783f(_0x1bb42d,_0x5c4150,_0x11bbb3);const _0x4362ea=0x12c,_0x56a9f7=0x64;let _0x2b76d1=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x246d2a,_0x1189ca,_0x41f9ce,_0x2b48a7,_0x28d50e,_0x42f48b,_0x48be0b,_0x2f5853,_0x4785ed){const _0x210f65=_0x12a2cc;super(),_0x1206b7(this,_0x210f65(0x214),!0x1),_0x1206b7(this,'_init',!0x1),_0x1206b7(this,'_cursorInfo$',new _0x5c807f[(_0x210f65(0x3bb))](new Map())),_0x1206b7(this,'cursorInfo$',this['_cursorInfo$'][_0x210f65(0x2f5)]()),_0x1206b7(this,_0x210f65(0x34f),new _0x5c807f[(_0x210f65(0x3bb))]([])),_0x1206b7(this,'roomMembers$',this[_0x210f65(0x34f)][_0x210f65(0x2af)](_0x5c807f['debounceTime'](_0x4362ea))),_0x1206b7(this,_0x210f65(0x40e),_0x5c9413[_0x210f65(0x47f)](_0x1906f6=>{const _0x3edadb=_0x210f65,_0x1bcc73={'eventID':_0x492d9e['CollaborationEvent'][_0x3edadb(0x313)],'data':{'unitID':this[_0x3edadb(0x2c8)],'memberID':this['_session'][_0x3edadb(0x477)](),'selection':_0x356069(_0x1906f6)}};this[_0x3edadb(0x27c)]['send'](_0x1bcc73,this[_0x3edadb(0x2c8)]);},_0x56a9f7)),(this[_0x210f65(0x2c8)]=_0x246d2a,this['_session']=_0x1189ca,this[_0x210f65(0x2fb)]=_0x41f9ce,this[_0x210f65(0x307)]=_0x2b48a7,this[_0x210f65(0x327)]=_0x28d50e,this[_0x210f65(0x23c)]=_0x42f48b,this[_0x210f65(0x270)]=_0x48be0b,this[_0x210f65(0x364)]=_0x2f5853,this[_0x210f65(0x2f2)]=_0x4785ed);}get[_0x12a2cc(0x452)](){const _0x5bc9cd=_0x12a2cc;return this[_0x5bc9cd(0x311)][_0x5bc9cd(0x29e)]();}get[_0x12a2cc(0x36d)](){const _0x464b36=_0x12a2cc;return this['_roomMembers$'][_0x464b36(0x29e)]();}[_0x12a2cc(0x2eb)](){const _0xafb7a5=_0x12a2cc;super[_0xafb7a5(0x2eb)](),this[_0xafb7a5(0x311)][_0xafb7a5(0x1eb)](new Map()),this[_0xafb7a5(0x311)][_0xafb7a5(0x37a)](),this['_roomMembers$'][_0xafb7a5(0x1eb)]([]),this[_0xafb7a5(0x34f)]['complete']();}[_0x12a2cc(0x222)](){const _0x348348=_0x12a2cc;this[_0x348348(0x47c)]||(this['_init']=!0x0,this[_0x348348(0x27c)][_0x348348(0x20c)][_0x348348(0x2af)](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x3e6a69=>{const _0x15ad59=_0x348348;_0x3e6a69===_0x532bba[_0x15ad59(0x334)][_0x15ad59(0x294)]?this[_0x15ad59(0x402)]():this['_toggleOffline']();}),this[_0x348348(0x27c)][_0x348348(0x355)][_0x348348(0x2af)](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x449278=>{const _0xc175f4=_0x348348,_0x3bdc3f=_0x449278['eventID'];_0x3bdc3f===_0x492d9e[_0xc175f4(0x336)][_0xc175f4(0x313)]&&this[_0xc175f4(0x20e)](_0x449278),_0x3bdc3f===_0x492d9e[_0xc175f4(0x336)][_0xc175f4(0x3fd)]&&this[_0xc175f4(0x2ca)](_0x449278);}),this[_0x348348(0x30f)](this[_0x348348(0x2f2)][_0x348348(0x2b0)](_0x1fd189=>{const _0x322f48=_0x348348,_0x3e70b4=_0x1fd189[_0x322f48(0x281)];_0x3e70b4!=null&&this['_online']&&_0x1fd189['id']===_0x39044d[_0x322f48(0x348)]['id']&&_0x3e70b4['unitId']===this[_0x322f48(0x2c8)]&&_0x3e70b4['isEditing']===!0x1&&_0x3e70b4[_0x322f48(0x1e6)][_0x322f48(0x386)]>0x0&&this[_0x322f48(0x40e)](_0x3e70b4[_0x322f48(0x1e6)]);})),this['_syncEditingCollabCursorService'][_0x348348(0x2b1)]['pipe'](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x26e77e=>{const _0x42c5d4=_0x348348;if((_0x26e77e==null?void 0x0:_0x26e77e[_0x42c5d4(0x2c8)])!==this[_0x42c5d4(0x2c8)])return;const _0x4e1ea1={'eventID':_0x492d9e[_0x42c5d4(0x336)]['UPDATE_CURSOR'],'data':_0x26e77e};this[_0x42c5d4(0x20e)](_0x4e1ea1);}),this[_0x348348(0x30f)](this[_0x348348(0x2f2)]['onCommandExecuted'](_0x855a2d=>{const _0x568a5e=_0x348348;if(_0x855a2d['params']==null)return;const _0x449a37=_0x855a2d[_0x568a5e(0x281)];if(_0x855a2d['id']!==_0x39044d['RichTextEditingMutation']['id']||_0x449a37[_0x568a5e(0x330)]!==this[_0x568a5e(0x2c8)])return;const _0x36941c={'id':'doc.mutation.rich-text-editing','params':_0x449a37},_0x57d4b4=this['cursorInfo'];for(const [_0x45f464,_0x4b919d]of _0x57d4b4){const _0x3a76d9={'id':_0x568a5e(0x3a9),'params':{'unitId':this[_0x568a5e(0x2c8)],'actions':null,'textRanges':_0x4b919d[_0x568a5e(0x1e6)]}},_0x3b0760=this[_0x568a5e(0x270)][_0x568a5e(0x305)](_0x36941c,_0x3a76d9,!0x1);if(_0x492d9e[_0x568a5e(0x31b)](_0x3b0760))throw _0x3b0760[_0x568a5e(0x262)];_0x57d4b4['set'](_0x45f464,{..._0x4b919d,'ranges':_0x3b0760[_0x568a5e(0x3c9)][_0x568a5e(0x281)][_0x568a5e(0x280)]});}queueMicrotask(()=>{const _0x26d027=_0x568a5e;this[_0x26d027(0x311)]['next'](_0x57d4b4);});})));}[_0x12a2cc(0x20e)](_0x4f3596){const _0xe6ccf5=_0x12a2cc;var _0x326911,_0x142a84;const {memberID:_0x28cf51,selection:_0x13a6f2}=_0x4f3596[_0xe6ccf5(0x2ff)],_0x4c5fd1=_0xed9895(_0x13a6f2),_0x2f8b56=(_0x142a84=(_0x326911=this[_0xe6ccf5(0x327)]['getMember'](this[_0xe6ccf5(0x2c8)],_0x28cf51))==null?void 0x0:_0x326911['name'])!=null?_0x142a84:'Unknown\x20user',_0x7c5661={'color':this[_0xe6ccf5(0x307)][_0xe6ccf5(0x304)](_0x28cf51),'name':_0x2f8b56,'ranges':_0x4c5fd1},_0x3d2f27=this[_0xe6ccf5(0x452)];_0x3d2f27[_0xe6ccf5(0x2ee)](_0x28cf51,_0x7c5661),this[_0xe6ccf5(0x311)][_0xe6ccf5(0x1eb)](_0x3d2f27);}[_0x12a2cc(0x2ca)](_0x48dbc3){const _0x1f8c79=_0x12a2cc,{memberID:_0x7de29f}=_0x48dbc3[_0x1f8c79(0x2ff)],_0x536f5e=this[_0x1f8c79(0x452)];_0x536f5e['delete'](_0x7de29f),this[_0x1f8c79(0x311)][_0x1f8c79(0x1eb)](_0x536f5e);}['_toggleOnline'](){const _0x183290=_0x12a2cc;var _0x440fe3;if(this[_0x183290(0x214)]=!0x0,((_0x440fe3=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x440fe3[_0x183290(0x45f)]())!==this[_0x183290(0x2c8)])return;const _0x3bc9d4=this[_0x183290(0x2fb)][_0x183290(0x2f0)](_0x39044d['DocSelectionManagerService'])[_0x183290(0x2e0)]();Array[_0x183290(0x2c4)](_0x3bc9d4)&&_0x3bc9d4[_0x183290(0x386)]>0x0&&this[_0x183290(0x40e)](_0x3bc9d4);}[_0x12a2cc(0x35b)](){const _0x3d0d39=_0x12a2cc;this[_0x3d0d39(0x214)]=!0x1;}};_0x2b76d1=_0x3b2df8([_0x3a1690(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x3a1690(0x3,_0x5c9413['Inject'](_0x581544)),_0x3a1690(0x4,_0x5c9413['Inject'](_0x532bba[_0x12a2cc(0x1f9)])),_0x3a1690(0x5,_0x5c9413[_0x12a2cc(0x38c)](_0x43ae26)),_0x3a1690(0x6,_0x492d9e['ITransformService']),_0x3a1690(0x7,_0x5c9413[_0x12a2cc(0x35d)]),_0x3a1690(0x8,_0x5c9413['ICommandService'])],_0x2b76d1);var _0x59592f=Object[_0x12a2cc(0x436)],_0x12a290=(_0x58f8df,_0xcdc03f,_0x4fcc54,_0x305e7e)=>{const _0x3125e2=_0x12a2cc;for(var _0x5d889f=_0x305e7e>0x1?void 0x0:_0x305e7e?_0x59592f(_0xcdc03f,_0x4fcc54):_0xcdc03f,_0x445e33=_0x58f8df[_0x3125e2(0x386)]-0x1,_0x5aae63;_0x445e33>=0x0;_0x445e33--)(_0x5aae63=_0x58f8df[_0x445e33])&&(_0x5d889f=_0x5aae63(_0x5d889f)||_0x5d889f);return _0x5d889f;},_0x52aae1=(_0x4cfa82,_0x258e49)=>(_0xbfd866,_0x161b33)=>_0x258e49(_0xbfd866,_0x161b33,_0x4cfa82);const _0x1669df=0x12c,_0x473ae1=0x64,_0x1948a3=()=>{let _0x170eeb=[],_0x1f1d24=!0x1;return _0x1aa1df=>{const _0x4b0508=_0x380c;_0x170eeb[_0x4b0508(0x39d)](_0x1aa1df),_0x1f1d24||(_0x1f1d24=!0x0,setTimeout(()=>{_0x170eeb['forEach'](_0x579148=>_0x579148()),_0x170eeb=[],_0x1f1d24=!0x1;}));};};let _0x105539=class extends _0x5c9413['RxDisposable']{constructor(_0x1aaa65,_0x39987c,_0x57b8ba,_0x5d46db,_0x12013a,_0x1ef3b0,_0x2c1e80,_0x27750a){const _0x27a944=_0x12a2cc;super(),_0x1206b7(this,_0x27a944(0x214),!0x1),_0x1206b7(this,_0x27a944(0x47c),!0x1),_0x1206b7(this,_0x27a944(0x311),new _0x5c807f[(_0x27a944(0x3bb))](new Map())),_0x1206b7(this,_0x27a944(0x2bc),this[_0x27a944(0x311)][_0x27a944(0x2f5)]()),_0x1206b7(this,_0x27a944(0x34f),new _0x5c807f['BehaviorSubject']([])),_0x1206b7(this,_0x27a944(0x1fe),this['_roomMembers$'][_0x27a944(0x2af)](_0x5c807f[_0x27a944(0x30b)](_0x1669df))),_0x1206b7(this,_0x27a944(0x40e),_0x5c9413[_0x27a944(0x47f)]((_0x543ddf,_0x29533e)=>{const _0x1c82e2=_0x27a944,_0x46a92e={'eventID':_0x492d9e['CollaborationEvent'][_0x1c82e2(0x313)],'data':{'unitID':this[_0x1c82e2(0x2c8)],'memberID':this['_session']['getMemberID'](),'selection':_0x56a760[_0x1c82e2(0x253)](_0x543ddf,_0x29533e[_0x1c82e2(0x33a)])}};this[_0x1c82e2(0x27c)]['send'](_0x46a92e,this[_0x1c82e2(0x2c8)]);},_0x473ae1)),(this[_0x27a944(0x2c8)]=_0x1aaa65,this[_0x27a944(0x27c)]=_0x39987c,this[_0x27a944(0x2fb)]=_0x57b8ba,this[_0x27a944(0x307)]=_0x5d46db,this[_0x27a944(0x327)]=_0x12013a,this[_0x27a944(0x364)]=_0x1ef3b0,this['_commandService']=_0x2c1e80,this[_0x27a944(0x21e)]=_0x27750a);}get[_0x12a2cc(0x452)](){const _0x261cab=_0x12a2cc;return this[_0x261cab(0x311)]['getValue']();}get[_0x12a2cc(0x36d)](){const _0x132164=_0x12a2cc;return this[_0x132164(0x34f)]['getValue']();}['dispose'](){const _0x3362b9=_0x12a2cc;super['dispose'](),this[_0x3362b9(0x311)][_0x3362b9(0x1eb)](new Map()),this[_0x3362b9(0x311)][_0x3362b9(0x37a)](),this['_roomMembers$'][_0x3362b9(0x1eb)]([]),this[_0x3362b9(0x34f)][_0x3362b9(0x37a)]();}[_0x12a2cc(0x222)](){const _0x3021fe=_0x12a2cc;this['_init']||(this[_0x3021fe(0x47c)]=!0x0,this['_session'][_0x3021fe(0x20c)]['pipe'](_0x5c807f['takeUntil'](this['dispose$']))[_0x3021fe(0x29f)](_0x1f2d8e=>{const _0xb183fc=_0x3021fe;_0x1f2d8e===_0x532bba['SessionStatus']['ONLINE']?this[_0xb183fc(0x402)]():this[_0xb183fc(0x35b)]();}),this['_session'][_0x3021fe(0x355)][_0x3021fe(0x2af)](_0x5c807f[_0x3021fe(0x457)](this[_0x3021fe(0x291)]))[_0x3021fe(0x29f)](_0x10e904=>{const _0x3d0355=_0x3021fe,_0x5c725b=_0x10e904['eventID'];_0x5c725b===_0x492d9e['CollaborationEvent'][_0x3d0355(0x313)]&&this[_0x3d0355(0x20e)](_0x10e904),_0x5c725b===_0x492d9e['CollaborationEvent']['USERS_LEAVE']&&this[_0x3d0355(0x2ca)](_0x10e904);}),this[_0x3021fe(0x341)](),this['disposeWithMe'](this[_0x3021fe(0x2f2)]['onCommandExecuted'](_0x5007e9=>{const _0x37eac1=_0x3021fe;if(this['_online']&&_0x5007e9['id']===_0x333a7c[_0x37eac1(0x2f4)]['id']&&_0x5007e9[_0x37eac1(0x281)][_0x37eac1(0x330)]===this[_0x37eac1(0x2c8)]){const _0xd365f5=_0x5007e9['params'];this[_0x37eac1(0x40e)](_0xd365f5[_0x37eac1(0x2a3)],_0xd365f5['selections'][0x0]);}})));}[_0x12a2cc(0x20e)](_0xe678d6){const _0x1d54c5=_0x12a2cc;var _0x3db30a,_0x1a738c;const {memberID:_0x7d52da,selection:_0x208bf3}=_0xe678d6['data'],{sheetName:_0x1a8770,range:_0xc3fcc0}=_0x56a760['deserializeRangeWithSheet'](_0x208bf3),_0x41de9a={'name':(_0x1a738c=(_0x3db30a=this[_0x1d54c5(0x327)][_0x1d54c5(0x2d1)](this['unitID'],_0x7d52da))==null?void 0x0:_0x3db30a[_0x1d54c5(0x3c4)])!=null?_0x1a738c:_0x1d54c5(0x268),'range':this[_0x1d54c5(0x398)](_0x1a8770,_0xc3fcc0),'sheetID':_0x1a8770,'color':this[_0x1d54c5(0x307)][_0x1d54c5(0x304)](_0x7d52da),'selection':_0x208bf3},_0x2a1d9a=this['cursorInfo'];_0x2a1d9a[_0x1d54c5(0x2ee)](_0x7d52da,_0x41de9a),this['_cursorInfo$'][_0x1d54c5(0x1eb)](_0x2a1d9a);}[_0x12a2cc(0x2ca)](_0x584616){const _0x4340d1=_0x12a2cc,{memberID:_0x188ac8}=_0x584616[_0x4340d1(0x2ff)],_0x2c63b5=this[_0x4340d1(0x452)];_0x2c63b5[_0x4340d1(0x1f6)](_0x188ac8),this[_0x4340d1(0x311)][_0x4340d1(0x1eb)](_0x2c63b5);}['_getMergeRange'](_0x2b9f2a,_0x4f9306){const _0x16b116=_0x12a2cc;var _0x1ea0e6,_0x827bfe;const _0xb49173=(_0x827bfe=(_0x1ea0e6=this[_0x16b116(0x364)]['getUniverSheetInstance'](this[_0x16b116(0x2c8)]))==null?void 0x0:_0x1ea0e6[_0x16b116(0x30c)](_0x2b9f2a))==null?void 0x0:_0x827bfe['getMergeData']();return(_0xb49173==null?void 0x0:_0xb49173['find'](_0x3123a2=>_0x5c9413['Rectangle']['contains'](_0x3123a2,_0x4f9306)))||_0x4f9306;}[_0x12a2cc(0x341)](){const _0x5ca1f4=_0x12a2cc,_0x220188=new _0x5c9413[(_0x5ca1f4(0x213))](),_0x1459a9=_0x1948a3(),_0x391d03=()=>{const _0x3d1196=_0x5ca1f4;_0x220188[_0x3d1196(0x2eb)]();const _0x273cb0=(_0x473c7d,_0x45586a,_0x25344c,_0x5adc84)=>{const _0x35ef99=_0x3d1196;let _0x49a411=[];switch(_0x473c7d['id']){case _0x333a7c['EffectRefRangId'][_0x35ef99(0x396)]:{_0x49a411=_0x333a7c[_0x35ef99(0x3bc)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x359)]:{_0x49a411=_0x333a7c['handleDeleteRangeMoveUp'](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)]['InsertColCommandId']:{_0x49a411=_0x333a7c[_0x35ef99(0x298)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x2ec)]:{_0x49a411=_0x333a7c[_0x35ef99(0x21a)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x3d2)]:{_0x49a411=_0x333a7c[_0x35ef99(0x27d)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x250)]:{_0x49a411=_0x333a7c[_0x35ef99(0x1fd)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x2c2)]:{_0x49a411=_0x333a7c[_0x35ef99(0x432)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x397)]:{_0x49a411=_0x333a7c[_0x35ef99(0x37b)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x3de)]:{_0x49a411=_0x333a7c['handleIRemoveRow'](_0x473c7d,_0x5adc84);break;}}const _0x3316e8=_0x333a7c[_0x35ef99(0x219)](_0x49a411,_0x5adc84),_0x5037bb=this[_0x35ef99(0x452)][_0x35ef99(0x2f0)](_0x45586a);if(_0x5037bb&&_0x3316e8){const _0xdcf26c={..._0x5037bb,'range':_0x3316e8};this['cursorInfo'][_0x35ef99(0x2ee)](_0x45586a,_0xdcf26c),_0x1459a9(()=>{const _0x1aef7b=_0x35ef99,_0x1bd54d=this['_refRangeService']['registerRefRange'](_0x3316e8,_0x2fb6a4=>(_0x1bd54d[_0x1aef7b(0x2eb)](),_0x273cb0(_0x2fb6a4,_0x45586a,_0x25344c,_0x3316e8)));_0x220188['add'](_0x1bd54d);});}return{'redos':[],'undos':[]};};this[_0x3d1196(0x452)]['forEach']((_0x184737,_0x11a930)=>{const _0x10cf33=_0x3d1196,{range:_0x4995e6,sheetID:_0x282986}=_0x184737,_0x4ed37d=this[_0x10cf33(0x21e)][_0x10cf33(0x419)](_0x4995e6,_0x7b44fc=>(_0x4ed37d['dispose'](),_0x273cb0(_0x7b44fc,_0x11a930,_0x282986,_0x4995e6)));_0x220188[_0x10cf33(0x209)](_0x4ed37d);});};this[_0x5ca1f4(0x30f)](_0x5c9413[_0x5ca1f4(0x3e0)](this[_0x5ca1f4(0x311)][_0x5ca1f4(0x29f)](()=>{_0x391d03();})));}['_toggleOnline'](){const _0x2128d6=_0x12a2cc;var _0x311b08,_0x99bd97;if(this[_0x2128d6(0x214)]=!0x0,((_0x311b08=this[_0x2128d6(0x364)][_0x2128d6(0x3a3)]())==null?void 0x0:_0x311b08[_0x2128d6(0x45f)]())!==this[_0x2128d6(0x2c8)])return;const _0xfafd37=(_0x99bd97=this[_0x2128d6(0x2fb)][_0x2128d6(0x2f0)](_0x333a7c[_0x2128d6(0x46f)])['getCurrentSelections']())==null?void 0x0:_0x99bd97[0x0],_0x347886=this[_0x2128d6(0x364)][_0x2128d6(0x2f3)](_0x5c9413[_0x2128d6(0x2be)][_0x2128d6(0x3ea)])[_0x2128d6(0x27a)]();_0xfafd37&&_0x347886&&this[_0x2128d6(0x40e)](_0x347886[_0x2128d6(0x3ad)](),_0xfafd37);}[_0x12a2cc(0x35b)](){const _0x356c3b=_0x12a2cc;this[_0x356c3b(0x214)]=!0x1;}};_0x105539=_0x12a290([_0x52aae1(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x52aae1(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x581544)),_0x52aae1(0x4,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x1f9)])),_0x52aae1(0x5,_0x5c9413[_0x12a2cc(0x35d)]),_0x52aae1(0x6,_0x5c9413[_0x12a2cc(0x3a8)]),_0x52aae1(0x7,_0x5c9413['Inject'](_0x333a7c['RefRangeService']))],_0x105539);var _0x1102b2=Object[_0x12a2cc(0x436)],_0x5493ee=(_0x4a1ef0,_0x181960,_0x3323f9,_0x5732d8)=>{const _0x3d53e9=_0x12a2cc;for(var _0x1f4153=_0x5732d8>0x1?void 0x0:_0x5732d8?_0x1102b2(_0x181960,_0x3323f9):_0x181960,_0x29faf4=_0x4a1ef0[_0x3d53e9(0x386)]-0x1,_0x394496;_0x29faf4>=0x0;_0x29faf4--)(_0x394496=_0x4a1ef0[_0x29faf4])&&(_0x1f4153=_0x394496(_0x1f4153)||_0x1f4153);return _0x1f4153;},_0x51f023=(_0x227f8f,_0x2d4670)=>(_0x3ef061,_0x558593)=>_0x2d4670(_0x3ef061,_0x558593,_0x227f8f);let _0x44788c=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x26a447,_0x29266b,_0x5e8fb9){const _0x47579e=_0x12a2cc;super(),_0x1206b7(this,'_entities',new Map()),_0x1206b7(this,'_entityInit$',new _0x5c807f['Subject']()),(this[_0x47579e(0x364)]=_0x26a447,this[_0x47579e(0x2fb)]=_0x29266b,this['_collabSessionService']=_0x5e8fb9,this[_0x47579e(0x47c)]());}['dispose'](){const _0x104df6=_0x12a2cc;super[_0x104df6(0x2eb)](),this['_entityInit$'][_0x104df6(0x37a)](),this[_0x104df6(0x23b)]['forEach'](_0x1ffb0d=>_0x1ffb0d[_0x104df6(0x2eb)]());}['getCollabCursors$'](_0x54b99f){const _0x20ee59=_0x12a2cc;return this[_0x20ee59(0x23b)][_0x20ee59(0x3f7)](_0x54b99f)?this[_0x20ee59(0x23b)][_0x20ee59(0x2f0)](_0x54b99f)[_0x20ee59(0x2bc)]:this[_0x20ee59(0x292)][_0x20ee59(0x2af)](_0x5c807f[_0x20ee59(0x33c)](_0x5c40e2=>_0x5c40e2['unitID']===_0x54b99f),_0x5c807f[_0x20ee59(0x24a)](_0x541d00=>_0x541d00[_0x20ee59(0x2bc)]));}[_0x12a2cc(0x47c)](){const _0x2faec9=_0x12a2cc;this[_0x2faec9(0x364)][_0x2faec9(0x3a4)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x3ea)])['pipe'](_0x5c807f[_0x2faec9(0x457)](this['dispose$']))[_0x2faec9(0x29f)](async _0x2c0bc8=>{const _0x911440=_0x2faec9,_0x117771=_0x2c0bc8[_0x911440(0x45f)](),_0x221fbd=await this[_0x911440(0x3d9)](_0x117771);this[_0x911440(0x292)][_0x911440(0x1eb)](_0x221fbd),this[_0x911440(0x23b)]['set'](_0x117771,_0x221fbd);}),this[_0x2faec9(0x364)][_0x2faec9(0x3a4)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x43d)])[_0x2faec9(0x2af)](_0x5c807f[_0x2faec9(0x457)](this[_0x2faec9(0x291)]))['pipe'](_0x5c807f[_0x2faec9(0x33c)](_0x374443=>!_0x374443[_0x2faec9(0x45f)]()['startsWith']('__')))[_0x2faec9(0x29f)](async _0x215b7f=>{const _0x2a809b=_0x2faec9,_0x22c520=_0x215b7f[_0x2a809b(0x45f)](),_0x84e0b2=await this['_startDocCollabCursor'](_0x22c520);this[_0x2a809b(0x292)][_0x2a809b(0x1eb)](_0x84e0b2),this[_0x2a809b(0x23b)][_0x2a809b(0x2ee)](_0x22c520,_0x84e0b2);}),_0x5c807f[_0x2faec9(0x22b)](this['_univerInstanceService'][_0x2faec9(0x344)](_0x5c9413['UniverInstanceType'][_0x2faec9(0x43d)]),this[_0x2faec9(0x364)][_0x2faec9(0x344)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x3ea)]))[_0x2faec9(0x2af)](_0x5c807f[_0x2faec9(0x457)](this[_0x2faec9(0x291)]))[_0x2faec9(0x29f)](_0x5a0c15=>{const _0x102928=_0x2faec9,_0x515ec6=_0x5a0c15[_0x102928(0x45f)](),_0x4b72f1=this[_0x102928(0x23b)][_0x102928(0x2f0)](_0x515ec6);_0x4b72f1&&(_0x4b72f1['dispose'](),this[_0x102928(0x23b)][_0x102928(0x1f6)](_0x515ec6));});}async['_startSheetCollabCursor'](_0x5db0fc){const _0x29e54c=_0x12a2cc,_0x4e51da=await this[_0x29e54c(0x3f2)][_0x29e54c(0x2c9)](_0x5db0fc),_0x485a27=this[_0x29e54c(0x2fb)][_0x29e54c(0x2da)](_0x105539,_0x5db0fc,_0x4e51da);return _0x485a27[_0x29e54c(0x222)](),_0x485a27;}async[_0x12a2cc(0x481)](_0x199029){const _0x57f57c=_0x12a2cc,_0x9e2c2b=await this['_collabSessionService'][_0x57f57c(0x2c9)](_0x199029),_0x1c35cc=this[_0x57f57c(0x2fb)][_0x57f57c(0x2da)](_0x2b76d1,_0x199029,_0x9e2c2b);return _0x1c35cc['init'](),_0x1c35cc;}};_0x44788c=_0x5493ee([_0x51f023(0x0,_0x5c9413[_0x12a2cc(0x35d)]),_0x51f023(0x1,_0x5c9413['Inject'](_0x5c9413[_0x12a2cc(0x414)])),_0x51f023(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba['CollaborationSessionService']))],_0x44788c);const _0x5db9ce=0x14,_0x1d05be=0xc8,_0x32d228=0x4,_0x5a4b4d=0x5;function _0x1396d8(_0x42188d,_0x1d4e9c){const _0x23be9a=_0x12a2cc;let {radius:_0x415a72,width:_0x3e6504,height:_0x54745d}=_0x1d4e9c;_0x415a72=_0x415a72!=null?_0x415a72:0x0,_0x3e6504=_0x3e6504!=null?_0x3e6504:0x1e,_0x54745d=_0x54745d!=null?_0x54745d:0x1e;let _0x484329=0x0,_0x210641=0x0,_0x3da12d=0x0;_0x484329=_0x210641=_0x3da12d=Math[_0x23be9a(0x2ef)](_0x415a72,_0x3e6504/0x2,_0x54745d/0x2),_0x42188d[_0x23be9a(0x289)](),_0x42188d[_0x23be9a(0x3e1)](_0x484329,0x0),_0x42188d['lineTo'](_0x3e6504-_0x210641,0x0),_0x42188d[_0x23be9a(0x1f4)](_0x3e6504-_0x210641,_0x210641,_0x210641,Math['PI']*0x3/0x2,0x0,!0x1),_0x42188d['lineTo'](_0x3e6504,_0x54745d-_0x3da12d),_0x42188d[_0x23be9a(0x1f4)](_0x3e6504-_0x3da12d,_0x54745d-_0x3da12d,_0x3da12d,0x0,Math['PI']/0x2,!0x1),_0x42188d[_0x23be9a(0x426)](0x0,_0x54745d),_0x42188d[_0x23be9a(0x426)](0x0,_0x484329),_0x42188d[_0x23be9a(0x1f4)](_0x484329,_0x484329,_0x484329,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42188d[_0x23be9a(0x412)](),_0x1d4e9c['fill']&&(_0x42188d[_0x23be9a(0x442)](),_0x42188d['fillStyle']=_0x1d4e9c[_0x23be9a(0x265)],_0x1d4e9c[_0x23be9a(0x1e8)]===_0x23be9a(0x384)?_0x42188d['fill'](_0x23be9a(0x384)):_0x42188d[_0x23be9a(0x265)](),_0x42188d[_0x23be9a(0x259)]());}class _0x3f6afd extends _0x1f04f6[_0x12a2cc(0x40c)]{constructor(_0x23b201,_0x517793){const _0x2b5ff5=_0x12a2cc;super(_0x23b201,_0x517793),_0x1206b7(this,_0x2b5ff5(0x302)),_0x1206b7(this,'text'),(this[_0x2b5ff5(0x302)]=_0x517793==null?void 0x0:_0x517793[_0x2b5ff5(0x302)],this[_0x2b5ff5(0x206)]=_0x517793==null?void 0x0:_0x517793['text']);}static[_0x12a2cc(0x439)](_0x339b05,_0x74edeb){const _0x268eab=_0x12a2cc,{text:_0x2e4a59,color:_0x39cf35}=_0x74edeb;_0x339b05[_0x268eab(0x442)](),_0x339b05['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x50f671=_0x339b05[_0x268eab(0x3f9)](_0x2e4a59)[_0x268eab(0x456)],_0x370a4b=Math[_0x268eab(0x2ef)](_0x50f671+0x2*_0x32d228,_0x1d05be);_0x1396d8(_0x339b05,{'height':_0x5db9ce,'radius':0x4,'width':_0x370a4b,'fill':_0x39cf35}),_0x339b05[_0x268eab(0x210)]=_0x268eab(0x20b);const _0xd6530a=_0x32d228,_0x2e2b21=_0x5db9ce-_0x5a4b4d,_0x14f059=_0x1d05be-0x2*_0x32d228;if(_0x50f671>_0x14f059){let _0x4bf845='',_0x1713f3=0x0;for(const _0x5e1ac1 of _0x2e4a59){const _0x409690=_0x339b05['measureText'](_0x5e1ac1)[_0x268eab(0x456)];if(_0x1713f3+_0x409690<=_0x14f059-_0x339b05[_0x268eab(0x3f9)](_0x268eab(0x35c))[_0x268eab(0x456)])_0x4bf845+=_0x5e1ac1,_0x1713f3+=_0x409690;else{_0x4bf845+=_0x268eab(0x35c);break;}}_0x339b05[_0x268eab(0x2d8)](_0x4bf845,_0xd6530a,_0x2e2b21);}else _0x339b05[_0x268eab(0x2d8)](_0x2e4a59,_0xd6530a,_0x2e2b21);_0x339b05['restore']();}[_0x12a2cc(0x26f)](_0x146cdc){const _0x51267b=_0x12a2cc;_0x3f6afd[_0x51267b(0x439)](_0x146cdc,this);}}const _0x3f35b5=_0x12a2cc(0x317),_0x43edbd=_0x12a2cc(0x1f8),_0x4bfa7a=_0x12a2cc(0x411),_0x592f0f=0x6,_0x32650e=1.5,_0x20120d=0x4,_0x25b43a=1.5,_0x19f94e=_0x12a2cc(0x3f5);class _0x12672f{constructor(_0x298dd3,_0x3c4055,_0x5967a9,_0x19131c){const _0x599fb4=_0x12a2cc;_0x1206b7(this,_0x599fb4(0x3e7),[]),_0x1206b7(this,'_anchor',null),_0x1206b7(this,_0x599fb4(0x3ec),null),_0x1206b7(this,_0x599fb4(0x228),null),_0x1206b7(this,'_hideTimer',null),_0x1206b7(this,_0x599fb4(0x26c),null),(this[_0x599fb4(0x301)]=_0x298dd3,this[_0x599fb4(0x38e)]=_0x3c4055,this['_docSkeleton']=_0x5967a9,this[_0x599fb4(0x362)]=_0x19131c,this['_render']());}set[_0x12a2cc(0x3a7)](_0x5a0464){const _0x3c4e0b=_0x12a2cc;_0x5a0464?(this[_0x3c4e0b(0x228)]&&this[_0x3c4e0b(0x228)][_0x3c4e0b(0x430)](),this[_0x3c4e0b(0x3ec)]&&this[_0x3c4e0b(0x3ec)][_0x3c4e0b(0x36b)]()):(this[_0x3c4e0b(0x228)]&&this[_0x3c4e0b(0x228)][_0x3c4e0b(0x36b)](),this[_0x3c4e0b(0x3ec)]&&this[_0x3c4e0b(0x3ec)][_0x3c4e0b(0x430)]());}['dispose'](){const _0x416628=_0x12a2cc;for(const _0x31a300 of this[_0x416628(0x3e7)])_0x31a300[_0x416628(0x2eb)]();this[_0x416628(0x3ec)]&&this[_0x416628(0x3ec)]['dispose'](),this[_0x416628(0x228)]&&this[_0x416628(0x228)][_0x416628(0x2eb)](),this[_0x416628(0x352)]&&this[_0x416628(0x352)][_0x416628(0x2eb)](),this[_0x416628(0x26c)]&&this[_0x416628(0x26c)]();}[_0x12a2cc(0x1f2)](){const _0x3d5c34=_0x12a2cc;var _0x4c555d;const {_docSkeleton:_0x489f08,_document:_0x506a5d}=this,{color:_0x538481,name:_0x4cdf18,ranges:_0x44640b}=this[_0x3d5c34(0x301)],_0x45b1d1=_0x506a5d[_0x3d5c34(0x324)](),{docsLeft:_0x1f8030,docsTop:_0x170c98}=_0x45b1d1,_0x58417b=new _0x2f8870[(_0x3d5c34(0x207))](_0x45b1d1,_0x489f08);for(const {startOffset:_0x24675e,endOffset:_0x291234,rangeType:_0x20a188,segmentId:_0x29675b,segmentPage:_0x24aee9,collapsed:_0x365b41,isActive:_0x187c21}of _0x44640b){const _0x5656d7=_0x489f08[_0x3d5c34(0x454)](_0x24675e,!0x0,_0x29675b,_0x24aee9);let _0xb113cb=_0x489f08['findNodePositionByCharIndex'](_0x291234,!0x0,_0x29675b,_0x24aee9);if(_0xb113cb==null&&(_0xb113cb=_0x489f08['findNodePositionByCharIndex'](_0x291234-0x1,!0x1,_0x29675b,_0x24aee9)),_0x187c21){const {contentBoxPointGroup:_0x4b0ecc}=_0x58417b[_0x3d5c34(0x45d)](_0xb113cb,_0xb113cb);if(_0x4b0ecc[_0x3d5c34(0x386)]===0x0)continue;this[_0x3d5c34(0x21d)](_0x538481,_0x4b0ecc,_0x1f8030,_0x170c98,_0x4cdf18),this[_0x3d5c34(0x26c)]=this[_0x3d5c34(0x28b)]();}if(_0x5656d7&&_0xb113cb){if(_0x20a188===_0x5c9413[_0x3d5c34(0x3d4)]['RECT']){const _0x2cad33=new _0x2f8870['NodePositionConvertToRectRange'](_0x45b1d1,_0x489f08),{pointGroup:_0x309fef}=(_0x4c555d=_0x2cad33[_0x3d5c34(0x45d)](_0x5656d7,_0xb113cb))!=null?_0x4c555d:{};if(_0x309fef==null||_0x309fef[_0x3d5c34(0x386)]===0x0)continue;this['_drawRectRange'](_0x538481,_0x309fef,_0x1f8030,_0x170c98);}else{if(!_0x365b41){const {borderBoxPointGroup:_0x275e9f}=_0x58417b[_0x3d5c34(0x45d)](_0x5656d7,_0xb113cb);if(_0x275e9f[_0x3d5c34(0x386)]===0x0)continue;this['_drawTextRange'](_0x538481,_0x275e9f,_0x1f8030,_0x170c98);}}}}}[_0x12a2cc(0x21d)](_0x1af379,_0x3212c7,_0x2de407,_0x19dd30,_0x189453){const _0x2e6b97=_0x12a2cc,_0x406a3e=this[_0x2e6b97(0x2b7)](_0x3212c7),{left:_0x2ec6ac,top:_0x15f7e0,height:_0x28be21}=_0x406a3e,_0x5522ad=this[_0x2e6b97(0x31f)](),_0x4e69ed=_0x25b43a/_0x5522ad,_0x340589=new _0x1f04f6[(_0x2e6b97(0x331))](_0x3f35b5+_0x5c9413['Tools'][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30,'height':_0x28be21,'width':_0x32650e,'fill':_0x1af379||_0x1f04f6[_0x2e6b97(0x23f)](_0x5c9413['COLORS']['black'],0x0),'strokeWidth':_0x4e69ed,'stroke':_0x19f94e,'evented':!0x0});this[_0x2e6b97(0x352)]=_0x340589,this['_scene'][_0x2e6b97(0x468)](_0x340589,_0x2f8870[_0x2e6b97(0x46e)]);const _0x5eb304=new _0x1f04f6[(_0x2e6b97(0x331))](_0x3f35b5+_0x5c9413[_0x2e6b97(0x21f)][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30-_0x20120d/0x2,'height':_0x20120d,'width':_0x20120d,'fill':_0x1af379||_0x1f04f6['getColor'](_0x5c9413[_0x2e6b97(0x3b8)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x1af379||_0x1f04f6[_0x2e6b97(0x23f)](_0x5c9413[_0x2e6b97(0x3b8)][_0x2e6b97(0x416)],0x0),'evented':!0x1});this[_0x2e6b97(0x228)]=_0x5eb304,this[_0x2e6b97(0x38e)][_0x2e6b97(0x468)](_0x5eb304,_0x2f8870[_0x2e6b97(0x46e)]);const _0xc47b45=new _0x3f6afd(_0x3f35b5+_0x5c9413[_0x2e6b97(0x21f)][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30-_0x5db9ce,'text':_0x189453,'color':_0x1af379});this['_textBubble']=_0xc47b45,this[_0x2e6b97(0x38e)][_0x2e6b97(0x468)](_0xc47b45,_0x2f8870['TEXT_RANGE_LAYER_INDEX']),this[_0x2e6b97(0x3a7)]=!0x1;}['_handleHover'](){const _0x244071=_0x12a2cc,_0x470276=this[_0x244071(0x352)]['onPointerEnter$'][_0x244071(0x256)](()=>{const _0x528a3b=_0x244071;this[_0x528a3b(0x3a7)]=!0x0;}),_0x31d7f0=this[_0x244071(0x352)][_0x244071(0x2f9)]['subscribeEvent'](()=>{const _0x5b9c04=_0x244071;this[_0x5b9c04(0x40d)]&&clearTimeout(this[_0x5b9c04(0x40d)]),this[_0x5b9c04(0x40d)]=setTimeout(()=>{const _0x2ddd97=_0x5b9c04;this[_0x2ddd97(0x3a7)]=!0x1;},0x7d0);});return()=>{const _0x10bb70=_0x244071;_0x470276[_0x10bb70(0x382)](),_0x31d7f0['unsubscribe']();};}[_0x12a2cc(0x2a7)](_0xa4fdd9,_0x2718d5,_0xb1fdb0,_0x2bdd4d){const _0x38f6e6=_0x12a2cc,_0x535de8=new _0x5c9413[(_0x38f6e6(0x3c6))](_0xa4fdd9)[_0x38f6e6(0x36a)](0.2)[_0x38f6e6(0x266)](),_0xf2fe2f=new _0x1f04f6['RegularPolygon'](_0x43edbd+_0x5c9413['Tools'][_0x38f6e6(0x34a)](_0x592f0f),{'pointsGroup':_0x2718d5,'fill':_0x535de8||_0x1f04f6[_0x38f6e6(0x23f)](_0x5c9413['COLORS'][_0x38f6e6(0x416)],0.2),'left':_0xb1fdb0,'top':_0x2bdd4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f6e6(0x3e7)][_0x38f6e6(0x39d)](_0xf2fe2f),this[_0x38f6e6(0x38e)][_0x38f6e6(0x468)](_0xf2fe2f,_0x2f8870[_0x38f6e6(0x46e)]);}[_0x12a2cc(0x422)](_0x3ef4c9,_0x211640,_0x1b8bb5,_0x22260d){const _0x24f844=_0x12a2cc,_0x49833e=new _0x5c9413[(_0x24f844(0x3c6))](_0x3ef4c9)[_0x24f844(0x36a)](0.2)[_0x24f844(0x266)](),_0x569359=new _0x1f04f6[(_0x24f844(0x2ea))](_0x4bfa7a+_0x5c9413[_0x24f844(0x21f)][_0x24f844(0x34a)](_0x592f0f),{'pointsGroup':_0x211640,'fill':_0x49833e||_0x1f04f6[_0x24f844(0x23f)](_0x5c9413['COLORS'][_0x24f844(0x416)],0.2),'left':_0x1b8bb5,'top':_0x22260d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24f844(0x3e7)]['push'](_0x569359),this['_scene']['addObject'](_0x569359,_0x2f8870[_0x24f844(0x46e)]);}[_0x12a2cc(0x2b7)](_0x4ac062){const _0x4934a2=_0x4ac062[0x0],_0x1e4929=_0x4934a2[0x0],_0x44e025=_0x4934a2[0x2],{x:_0x44771d,y:_0x4c0307}=_0x1e4929,{x:_0x3854c3,y:_0x430a2f}=_0x44e025;return{'left':_0x44771d,'top':_0x4c0307,'width':_0x3854c3-_0x44771d,'height':_0x430a2f-_0x4c0307};}['_getScale'](){const _0x2fd9fb=_0x12a2cc,{scaleX:_0x495ffc,scaleY:_0x53b7a7}=this[_0x2fd9fb(0x38e)]['getAncestorScale']();return Math[_0x2fd9fb(0x41d)](_0x495ffc,_0x53b7a7);}}var _0x49ee8e=Object['getOwnPropertyDescriptor'],_0x1c3fd3=(_0x3a8250,_0x208c0f,_0x869b3,_0x54c584)=>{const _0x522b39=_0x12a2cc;for(var _0x267ed3=_0x54c584>0x1?void 0x0:_0x54c584?_0x49ee8e(_0x208c0f,_0x869b3):_0x208c0f,_0x5bf8d2=_0x3a8250[_0x522b39(0x386)]-0x1,_0x1db3b4;_0x5bf8d2>=0x0;_0x5bf8d2--)(_0x1db3b4=_0x3a8250[_0x5bf8d2])&&(_0x267ed3=_0x1db3b4(_0x267ed3)||_0x267ed3);return _0x267ed3;},_0x47c4dc=(_0x33db23,_0x8bedc1)=>(_0x531249,_0x1bbf8f)=>_0x8bedc1(_0x531249,_0x1bbf8f,_0x33db23);let _0x1f01a9=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x2dad57,_0x6e7e15,_0xb9f979,_0x4e5154,_0x535393){const _0x2f9d72=_0x12a2cc;super(),_0x1206b7(this,'_cursorShapes',[]),_0x1206b7(this,_0x2f9d72(0x22c),[]),(this[_0x2f9d72(0x365)]=_0x2dad57,this[_0x2f9d72(0x44b)]=_0x6e7e15,this[_0x2f9d72(0x453)]=_0xb9f979,this['_commandService']=_0x4e5154,this[_0x2f9d72(0x297)]=_0x535393,this[_0x2f9d72(0x47c)]());}[_0x12a2cc(0x47c)](){const _0x43aea2=_0x12a2cc,_0x44bbe0=this[_0x43aea2(0x365)][_0x43aea2(0x330)],_0x5c4d6b=this['_docSkeletonManagerService'];this[_0x43aea2(0x30f)](_0x5c807f[_0x43aea2(0x27e)]([this['_collabCursorController'][_0x43aea2(0x21b)](_0x44bbe0),this[_0x43aea2(0x297)][_0x43aea2(0x286)]])['pipe'](_0x44133d[_0x43aea2(0x371)](([_0x101966,_0x33ab11])=>({'skeleton':_0x5c4d6b[_0x43aea2(0x309)](),'cursors':[..._0x101966[_0x43aea2(0x1f5)]()][_0x43aea2(0x25d)](_0x5369bd=>({..._0x5369bd,'color':this[_0x43aea2(0x297)]['getColorFromTheme'](_0x5369bd[_0x43aea2(0x302)])}))})))[_0x43aea2(0x29f)](_0x230ce6=>{const _0x18e092=_0x43aea2;if(this[_0x18e092(0x326)](),_0x230ce6){const {skeleton:_0x21811d,cursors:_0x18518d}=_0x230ce6;this['_updateCollabCursors'](_0x21811d,_0x18518d);}})),this[_0x43aea2(0x44a)](),this['_initCommandExecutedListener']();}[_0x12a2cc(0x211)](_0x1425d7,_0x46ba50){const _0x315608=_0x12a2cc,{scene:_0x385883,mainComponent:_0x118bb4}=this[_0x315608(0x365)],_0x1c0b52=_0x46ba50[_0x315608(0x371)](_0x269d47=>new _0x12672f(_0x269d47,_0x385883,_0x1425d7,_0x118bb4));this[_0x315608(0x32d)]=_0x1c0b52,this[_0x315608(0x22c)]=_0x46ba50;}[_0x12a2cc(0x257)](){const _0x13c28f=_0x12a2cc;this[_0x13c28f(0x326)]();const {scene:_0x37d21f,mainComponent:_0x104deb}=this['_context'],_0x195ec7=this['_docSkeletonManagerService'][_0x13c28f(0x309)](),_0x1ec0af=this[_0x13c28f(0x22c)][_0x13c28f(0x371)](_0x31b09d=>new _0x12672f(_0x31b09d,_0x37d21f,_0x195ec7,_0x104deb));this['_cursorShapes']=_0x1ec0af;}[_0x12a2cc(0x326)](){const _0x4021d3=_0x12a2cc;this[_0x4021d3(0x32d)][_0x4021d3(0x3c8)](_0x30c962=>_0x30c962[_0x4021d3(0x2eb)]()),this['_cursorShapes']=[];}[_0x12a2cc(0x251)](){const _0x1f8ea1=_0x12a2cc,_0x3a50cf=[_0x2f8870['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1f8ea1(0x2f2)]['onCommandExecuted'](_0x290f1b=>{const _0x567e69=_0x1f8ea1;_0x3a50cf[_0x567e69(0x3a1)](_0x290f1b['id'])&&_0x290f1b[_0x567e69(0x281)]['unitId']===this['_context'][_0x567e69(0x330)]&&this[_0x567e69(0x257)]();}));}['_initResize'](){const _0x17cdfe=_0x12a2cc;this['disposeWithMe'](_0x5c9413[_0x17cdfe(0x231)](this['_context']['engine'][_0x17cdfe(0x32a)])['pipe'](_0x44133d[_0x17cdfe(0x33c)](_0x4ce1b4=>_0x4ce1b4['type']===_0x1f04f6[_0x17cdfe(0x239)][_0x17cdfe(0x315)]),_0x44133d[_0x17cdfe(0x421)](0x10))[_0x17cdfe(0x29f)](()=>{const _0x171833=_0x17cdfe;this[_0x171833(0x257)]();}));}};_0x1f01a9=_0x1c3fd3([_0x47c4dc(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x39044d[_0x12a2cc(0x332)])),_0x47c4dc(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x44788c)),_0x47c4dc(0x3,_0x5c9413[_0x12a2cc(0x3a8)]),_0x47c4dc(0x4,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413['ThemeService']))],_0x1f01a9);const _0x3660d8=0x1,_0x627c9=1.5;class _0x3df81e extends _0x1f04f6[_0x12a2cc(0x40c)]{constructor(_0x5ebffc,_0x4c570c){const _0x9a8556=_0x12a2cc;super(_0x5ebffc,_0x4c570c),_0x1206b7(this,_0x9a8556(0x2a2)),_0x1206b7(this,_0x9a8556(0x429),!0x1),_0x1206b7(this,_0x9a8556(0x37d)),_0x1206b7(this,_0x9a8556(0x300),''),_0x1206b7(this,_0x9a8556(0x34c),_0x9a8556(0x427)),_0x1206b7(this,_0x9a8556(0x353)),(_0x4c570c&&this['setShapeProps'](_0x4c570c),this['onPointerEnter$'][_0x9a8556(0x256)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x9a8556(0x2f9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x12a2cc(0x2fa)](_0x56224d){const _0x267f70=_0x12a2cc;var _0x3a24c2,_0x5133af,_0x124617,_0x5e087b,_0x4ab110,_0x5e8897;this[_0x267f70(0x2a2)]=(_0x3a24c2=_0x56224d[_0x267f70(0x302)])!=null?_0x3a24c2:this[_0x267f70(0x2a2)],this[_0x267f70(0x429)]=(_0x5133af=_0x56224d[_0x267f70(0x2e3)])!=null?_0x5133af:this[_0x267f70(0x429)],this[_0x267f70(0x37d)]=(_0x124617=_0x56224d['range'])!=null?_0x124617:this[_0x267f70(0x37d)],this[_0x267f70(0x300)]=(_0x5e087b=_0x56224d[_0x267f70(0x3c4)])!=null?_0x5e087b:this[_0x267f70(0x300)],this[_0x267f70(0x34c)]=(_0x4ab110=_0x56224d[_0x267f70(0x44d)])!=null?_0x4ab110:this[_0x267f70(0x34c)],this[_0x267f70(0x353)]=(_0x5e8897=_0x56224d[_0x267f70(0x399)])!=null?_0x5e8897:this[_0x267f70(0x353)],this[_0x267f70(0x200)]({'width':_0x56224d[_0x267f70(0x456)],'height':_0x56224d['height']});}[_0x12a2cc(0x335)](_0x4288f0){const _0x136688=_0x12a2cc,{row:_0x2ed65c,column:_0x4b8a2a}=_0x4288f0;if(_0x2ed65c>=this[_0x136688(0x37d)]['startRow']&&_0x2ed65c<=this['_range'][_0x136688(0x39b)]&&_0x4b8a2a>=this[_0x136688(0x37d)][_0x136688(0x248)]&&_0x4b8a2a<=this[_0x136688(0x37d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x136688(0x2fa)]({'hovered':!0x1});}[_0x12a2cc(0x3c2)](_0x2d7e2c){return!0x1;}[_0x12a2cc(0x26f)](_0x44af4b){const _0x843287=_0x12a2cc;_0x1f04f6[_0x843287(0x331)][_0x843287(0x439)](_0x44af4b,{'width':this['width'],'height':this[_0x843287(0x241)],'strokeWidth':_0x627c9,'stroke':this[_0x843287(0x2a2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x843287(0x429)]&&(_0x44af4b[_0x843287(0x442)](),_0x44af4b[_0x843287(0x3c0)](0x1,0x0,0x0,0x1,this[_0x843287(0x456)],this[_0x843287(0x34c)]==='bottom'?0x0:-0x14),_0x3f6afd[_0x843287(0x439)](_0x44af4b,{'text':this['_name'],'color':this[_0x843287(0x2a2)]}),_0x44af4b[_0x843287(0x259)]());}}var _0x24c3e4=Object[_0x12a2cc(0x436)],_0x34d940=(_0x58a68f,_0x317eb5,_0x6828c5,_0x176282)=>{for(var _0x25b481=_0x176282>0x1?void 0x0:_0x176282?_0x24c3e4(_0x317eb5,_0x6828c5):_0x317eb5,_0x394a92=_0x58a68f['length']-0x1,_0x4130f7;_0x394a92>=0x0;_0x394a92--)(_0x4130f7=_0x58a68f[_0x394a92])&&(_0x25b481=_0x4130f7(_0x25b481)||_0x25b481);return _0x25b481;},_0x112ec3=(_0x2c0205,_0x4aaeca)=>(_0x393bf5,_0x1d32e5)=>_0x4aaeca(_0x393bf5,_0x1d32e5,_0x2c0205);const _0x68158=0x1389;let _0x5203d8=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x1ea7c5,_0x58f24f,_0x5f0aa6,_0x3bece0){const _0x2a4e71=_0x12a2cc;super(),_0x1206b7(this,'_cursors',new Set()),_0x1206b7(this,_0x2a4e71(0x3b5),null),(this[_0x2a4e71(0x365)]=_0x1ea7c5,this['_sheetSkeletonManagerService']=_0x58f24f,this[_0x2a4e71(0x453)]=_0x5f0aa6,this['_themeService']=_0x3bece0,this[_0x2a4e71(0x47c)]());}['_init'](){const _0x12e526=_0x12a2cc;this[_0x12e526(0x343)][_0x12e526(0x437)][_0x12e526(0x2af)](_0x44133d[_0x12e526(0x457)](this[_0x12e526(0x291)]),_0x44133d['switchMap'](_0x391d63=>{const _0x43caf7=_0x12e526;if(_0x391d63){const _0x217f6d=_0x391d63['sheetId'];return _0x5c807f['combineLatest'](this[_0x43caf7(0x453)][_0x43caf7(0x21b)](this[_0x43caf7(0x365)][_0x43caf7(0x330)]),this[_0x43caf7(0x297)][_0x43caf7(0x286)])[_0x43caf7(0x2af)](_0x44133d['map'](([_0x5c01fa,_0x26057a])=>{const _0xcf8f1c=_0x43caf7,_0x1508a6=new Map();return _0x5c01fa[_0xcf8f1c(0x3c8)]((_0x4ddeca,_0x26faa7)=>{const _0x5400ab=_0xcf8f1c;if(_0x4ddeca['sheetID']===_0x217f6d){const _0x21595d={..._0x4ddeca};_0x21595d[_0x5400ab(0x302)]=this[_0x5400ab(0x297)][_0x5400ab(0x2de)](_0x4ddeca[_0x5400ab(0x302)]),_0x1508a6[_0x5400ab(0x2ee)](_0x26faa7,_0x21595d);}}),{'skeleton':_0x391d63,'cursors':_0x1508a6};}));}return _0x5c807f['of']({'skeleton':null,'cursors':new Map()});}))[_0x12e526(0x29f)](({skeleton:_0x8aef38,cursors:_0x5524e7})=>{const _0x9bce1a=_0x12e526;this[_0x9bce1a(0x326)](),_0x8aef38&&this[_0x9bce1a(0x211)](_0x8aef38,_0x5524e7);}),this['_sheetSkeletonManagerService'][_0x12e526(0x437)][_0x12e526(0x29f)](_0x43b221=>{const _0xf82573=_0x12e526;if(_0x43b221==null)return;const {skeleton:_0x213fdf}=_0x43b221,{scene:_0x505b63}=this[_0xf82573(0x365)];_0x505b63[_0xf82573(0x338)][_0xf82573(0x256)](_0x5c9413[_0xf82573(0x47f)](_0x378bb5=>{const _0x44895a=_0xf82573;var _0x3a1cd5,_0x39796c;const {offsetX:_0x29b692,offsetY:_0x4f8249}=_0x378bb5,{x:_0x30d27c,y:_0x58d1ee}=_0x505b63[_0x44895a(0x3c3)](_0x1f04f6[_0x44895a(0x242)][_0x44895a(0x232)]([_0x29b692,_0x4f8249])),{scaleX:_0x23e2d6,scaleY:_0xbf6bea}=_0x505b63[_0x44895a(0x3c7)](),_0x239a60=_0x505b63[_0x44895a(0x201)](_0x1f04f6[_0x44895a(0x2f1)][_0x44895a(0x323)]),_0x2ce476=_0x505b63[_0x44895a(0x22d)](_0x1f04f6[_0x44895a(0x242)][_0x44895a(0x232)]([_0x30d27c,_0x58d1ee]),_0x239a60),_0x5ce3c0=_0x213fdf[_0x44895a(0x377)](_0x29b692,_0x4f8249,_0x23e2d6,_0xbf6bea,_0x2ce476);((_0x3a1cd5=this[_0x44895a(0x3b5)])==null?void 0x0:_0x3a1cd5[_0x44895a(0x2fc)])===_0x5ce3c0[_0x44895a(0x2fc)]&&((_0x39796c=this['_lastPointer'])==null?void 0x0:_0x39796c[_0x44895a(0x3e4)])===_0x5ce3c0[_0x44895a(0x3e4)]||this[_0x44895a(0x22c)]['forEach'](_0x3ca46a=>{_0x3ca46a['onMouseMove'](_0x5ce3c0);});},0x64));});}[_0x12a2cc(0x211)](_0x4f7c2c,_0x406aaa){const _0x162ddd=_0x12a2cc;var _0x5e985d;const _0xedffa6=(_0x5e985d=this[_0x162ddd(0x343)][_0x162ddd(0x35a)]())==null?void 0x0:_0x5e985d[_0x162ddd(0x2a5)];if(!_0xedffa6)return;const _0x46d74b=this[_0x162ddd(0x446)]();if(!_0x46d74b)return;this[_0x162ddd(0x22c)][_0x162ddd(0x3c8)](_0x8a3fd=>{_0x8a3fd['makeDirty']();});const {scene:_0x52ccc6}=_0x46d74b,_0x25063f=_0x1e4b51(Array[_0x162ddd(0x466)](_0x406aaa['values']()))['map'](_0x5cf59f=>{const _0x4aaaea=_0x162ddd,{color:_0xf3d436,range:_0x5d5233,name:_0x1440cb,selection:_0x4fdf29,sheetID:_0x276ef6}=_0x5cf59f,{startColumn:_0x1616df,startRow:_0x260791,endColumn:_0x3d16ff,endRow:_0x466c2f}=_0x5d5233,_0x1e2438=_0xd824ff[_0x4aaaea(0x2bf)](_0x260791,_0x1616df,_0x52ccc6,_0xedffa6),_0x4bf82c=_0xd824ff[_0x4aaaea(0x2bf)](_0x466c2f,_0x3d16ff,_0x52ccc6,_0xedffa6),{columnHeaderHeightAndMarginTop:_0x7acb86}=_0xedffa6,{startX:_0x446404,startY:_0x1632d2}=_0x1e2438,{endX:_0x3fb584,endY:_0x2c3cf6}=_0x4bf82c,_0x236b48=_0x3fb584-_0x446404,_0x267028=_0x2c3cf6-_0x1632d2,_0x5ef6b2={'labelPosition':_0x1632d2-_0x7acb86>=_0x5db9ce?'top':_0x4aaaea(0x25c),'sheetID':_0x276ef6,'range':_0x5d5233,'color':_0xf3d436,'name':_0x1440cb,'selection':_0x4fdf29,'left':_0x446404,'top':_0x1632d2,'width':_0x236b48,'height':_0x267028,'evented':!0x1,'zIndex':_0x68158};return new _0x3df81e(_0x1440cb,_0x5ef6b2);});_0x52ccc6[_0x162ddd(0x3b3)](_0x25063f,_0x3660d8),this[_0x162ddd(0x22c)]=new Set(_0x25063f);}['_removeCollabCursors'](){const _0x3d8ff5=_0x12a2cc;var _0xbb8fca;(_0xbb8fca=this['_cursors'])==null||_0xbb8fca['forEach'](_0x3dc297=>_0x3dc297[_0x3d8ff5(0x2eb)]());}['_getSheetObject'](){const _0xf7ebc2=_0x12a2cc;return _0xd824ff['getSheetObject'](this[_0xf7ebc2(0x365)][_0xf7ebc2(0x3ba)],this[_0xf7ebc2(0x365)]);}};_0x5203d8=_0x34d940([_0x112ec3(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0xd824ff[_0x12a2cc(0x38f)])),_0x112ec3(0x2,_0x5c9413['Inject'](_0x44788c)),_0x112ec3(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x245)]))],_0x5203d8);function _0x1e4b51(_0x348a87){const _0x5a454b=_0x12a2cc,_0x368521=new Map();return _0x348a87[_0x5a454b(0x3c8)](_0x3d04c5=>{const _0x3f2c29=_0x5a454b;if(_0x368521['has'](_0x3d04c5[_0x3f2c29(0x2f6)])){const _0x490dc5=_0x368521[_0x3f2c29(0x2f0)](_0x3d04c5[_0x3f2c29(0x2f6)]);_0x490dc5[_0x3f2c29(0x3c4)]+=',\x20'+_0x3d04c5[_0x3f2c29(0x3c4)];}else _0x368521[_0x3f2c29(0x2ee)](_0x3d04c5[_0x3f2c29(0x2f6)],_0x3d04c5);}),Array[_0x5a454b(0x466)](_0x368521[_0x5a454b(0x1f5)]());}var _0x268966=function(){const _0x45331c=_0x12a2cc;return _0x268966=Object[_0x45331c(0x43f)]||function(_0x467829){const _0x57570e=_0x45331c;for(var _0xbce54a,_0x22fdc5=0x1,_0x5b66be=arguments[_0x57570e(0x386)];_0x22fdc5<_0x5b66be;_0x22fdc5++){_0xbce54a=arguments[_0x22fdc5];for(var _0x5f2ae0 in _0xbce54a)Object[_0x57570e(0x308)][_0x57570e(0x226)][_0x57570e(0x23a)](_0xbce54a,_0x5f2ae0)&&(_0x467829[_0x5f2ae0]=_0xbce54a[_0x5f2ae0]);}return _0x467829;},_0x268966['apply'](this,arguments);},_0x329888=function(_0x431fbb,_0x32c918){const _0x205695=_0x12a2cc;var _0x23f26d={};for(var _0xd99eff in _0x431fbb)Object['prototype']['hasOwnProperty'][_0x205695(0x23a)](_0x431fbb,_0xd99eff)&&_0x32c918[_0x205695(0x476)](_0xd99eff)<0x0&&(_0x23f26d[_0xd99eff]=_0x431fbb[_0xd99eff]);if(_0x431fbb!=null&&typeof Object[_0x205695(0x3aa)]==_0x205695(0x3b1)){for(var _0x51d3a7=0x0,_0xd99eff=Object[_0x205695(0x3aa)](_0x431fbb);_0x51d3a7<_0xd99eff[_0x205695(0x386)];_0x51d3a7++)_0x32c918[_0x205695(0x476)](_0xd99eff[_0x51d3a7])<0x0&&Object[_0x205695(0x308)][_0x205695(0x3fa)]['call'](_0x431fbb,_0xd99eff[_0x51d3a7])&&(_0x23f26d[_0xd99eff[_0x51d3a7]]=_0x431fbb[_0xd99eff[_0x51d3a7]]);}return _0x23f26d;},_0x2c44f4=_0x47ddff[_0x12a2cc(0x380)](function(_0xe60f2c,_0x591e55){const _0x22b3cc=_0x12a2cc;var _0x558442=_0xe60f2c[_0x22b3cc(0x22e)],_0x43754a=_0xe60f2c['id'],_0xa28681=_0xe60f2c['className'],_0x2fdbcf=_0xe60f2c['extend'],_0x47ef72=_0x329888(_0xe60f2c,[_0x22b3cc(0x22e),'id','className',_0x22b3cc(0x3e2)]),_0x50d284=_0x22b3cc(0x236)['concat'](_0x43754a,'\x20')[_0x22b3cc(0x3ff)](_0xa28681||'')[_0x22b3cc(0x235)](),_0x1df2ea=_0x47ddff[_0x22b3cc(0x2a0)]('_'[_0x22b3cc(0x3ff)](_0x2cc994()));return _0x157415(_0x558442,''[_0x22b3cc(0x3ff)](_0x43754a),{'defIds':_0x558442[_0x22b3cc(0x378)],'idSuffix':_0x1df2ea[_0x22b3cc(0x475)]},_0x268966({'ref':_0x591e55,'className':_0x50d284},_0x47ef72),_0x2fdbcf);});function _0x157415(_0x325ffc,_0x4b4ecd,_0x4dd80e,_0x51d4fb,_0xede9d1){const _0x4e5229=_0x12a2cc;return _0x47ddff['createElement'](_0x325ffc[_0x4e5229(0x464)],_0x268966(_0x268966({'key':_0x4b4ecd},_0xe22d74(_0x325ffc,_0x4dd80e,_0xede9d1)),_0x51d4fb),(_0x4d6154(_0x325ffc,_0x4dd80e)['children']||[])[_0x4e5229(0x371)](function(_0x19e7f0,_0x19f394){const _0xed34c5=_0x4e5229;return _0x157415(_0x19e7f0,''[_0xed34c5(0x3ff)](_0x4b4ecd,'-')[_0xed34c5(0x3ff)](_0x325ffc[_0xed34c5(0x464)],'-')[_0xed34c5(0x3ff)](_0x19f394),_0x4dd80e,void 0x0,_0xede9d1);}));}function _0xe22d74(_0x5f1c06,_0x403956,_0x514a07){const _0x434036=_0x12a2cc;var _0x452f9c=_0x268966({},_0x5f1c06[_0x434036(0x403)]);_0x514a07!=null&&_0x514a07[_0x434036(0x2d4)]&&_0x452f9c['fill']==='colorChannel1'&&(_0x452f9c[_0x434036(0x265)]=_0x514a07['colorChannel1']),_0x5f1c06[_0x434036(0x464)]===_0x434036(0x218)&&_0x452f9c['id']&&(_0x452f9c['id']=_0x452f9c['id']+_0x403956['idSuffix']),Object[_0x434036(0x366)](_0x452f9c)[_0x434036(0x3c8)](function(_0x58ff55){const _0x34a162=_0x434036;var _0x131d17=_0x58ff55[0x0],_0x525e71=_0x58ff55[0x1];_0x131d17==='mask'&&typeof _0x525e71==_0x34a162(0x3d8)&&(_0x452f9c[_0x131d17]=_0x525e71[_0x34a162(0x1f0)](/url\(#(.*)\)/,_0x34a162(0x3ce)[_0x34a162(0x3ff)](_0x403956[_0x34a162(0x425)],')')));});var _0x39e246=_0x403956[_0x434036(0x378)];return!_0x39e246||_0x39e246['length']===0x0||(_0x5f1c06['tag']==='use'&&_0x452f9c[_0x434036(0x36e)]&&(_0x452f9c[_0x434036(0x36e)]=_0x452f9c[_0x434036(0x36e)]+_0x403956[_0x434036(0x425)]),Object[_0x434036(0x366)](_0x452f9c)[_0x434036(0x3c8)](function(_0x5cf378){const _0x3095e0=_0x434036;var _0x2e1632=_0x5cf378[0x0],_0x334390=_0x5cf378[0x1];typeof _0x334390=='string'&&(_0x452f9c[_0x2e1632]=_0x334390[_0x3095e0(0x1f0)](/url\(#(.*)\)/,_0x3095e0(0x3ce)[_0x3095e0(0x3ff)](_0x403956[_0x3095e0(0x425)],')')));})),_0x452f9c;}function _0x4d6154(_0x44bc51,_0x38ed41){const _0x599b23=_0x12a2cc;var _0x48c297,_0x2ba6f0=_0x38ed41['defIds'];return!_0x2ba6f0||_0x2ba6f0['length']===0x0?_0x44bc51:_0x44bc51['tag']===_0x599b23(0x220)&&(!((_0x48c297=_0x44bc51['children'])===null||_0x48c297===void 0x0)&&_0x48c297[_0x599b23(0x386)])?_0x268966(_0x268966({},_0x44bc51),{'children':_0x44bc51[_0x599b23(0x2bb)][_0x599b23(0x371)](function(_0x1c47d8){const _0x2bac96=_0x599b23;return typeof _0x1c47d8[_0x2bac96(0x403)]['id']==_0x2bac96(0x3d8)&&_0x2ba6f0&&_0x2ba6f0[_0x2bac96(0x3a1)](_0x1c47d8['attrs']['id'])?_0x268966(_0x268966({},_0x1c47d8),{'attrs':_0x268966(_0x268966({},_0x1c47d8[_0x2bac96(0x403)]),{'id':_0x1c47d8[_0x2bac96(0x403)]['id']+_0x38ed41[_0x2bac96(0x425)]})}):_0x1c47d8;})}):_0x44bc51;}function _0x2cc994(){const _0x7ecd32=_0x12a2cc;return Math[_0x7ecd32(0x390)]()[_0x7ecd32(0x461)](0x24)[_0x7ecd32(0x482)](0x2,0x8);}_0x2c44f4[_0x12a2cc(0x249)]=_0x12a2cc(0x3db);var _0x26cac4={'tag':_0x12a2cc(0x1fc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12a2cc(0x29d),'viewBox':_0x12a2cc(0x449),'width':_0x12a2cc(0x39f),'height':_0x12a2cc(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':_0x12a2cc(0x1e5)},'children':[{'tag':'path','attrs':{'stroke':_0x12a2cc(0x471),'d':_0x12a2cc(0x2a1),'strokeLinecap':_0x12a2cc(0x43a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x12a2cc(0x220),'attrs':{},'children':[{'tag':_0x12a2cc(0x2b3),'attrs':{'id':_0x12a2cc(0x3a2)},'children':[{'tag':_0x12a2cc(0x470),'attrs':{'fill':_0x12a2cc(0x410),'d':_0x12a2cc(0x2ae)}}]}]}],'defIds':[_0x12a2cc(0x3a2)]},_0x42c034=_0x47ddff[_0x12a2cc(0x380)](function(_0x3fc565,_0x46372c){const _0x5f2149=_0x12a2cc;return _0x47ddff[_0x5f2149(0x467)](_0x2c44f4,Object[_0x5f2149(0x43f)]({},_0x3fc565,{'id':_0x5f2149(0x47d),'ref':_0x46372c,'icon':_0x26cac4}));});_0x42c034[_0x12a2cc(0x249)]=_0x12a2cc(0x3c5);var _0x38b2b9={'tag':_0x12a2cc(0x1fc),'attrs':{'xmlns':_0x12a2cc(0x428),'fill':_0x12a2cc(0x29d),'viewBox':_0x12a2cc(0x3c1),'width':_0x12a2cc(0x39f),'height':_0x12a2cc(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x12a2cc(0x470),'attrs':{'stroke':_0x12a2cc(0x471),'d':_0x12a2cc(0x401),'strokeLinecap':_0x12a2cc(0x43a),'strokeLinejoin':_0x12a2cc(0x43a),'strokeWidth':1.2}}]},{'tag':_0x12a2cc(0x220),'attrs':{},'children':[{'tag':_0x12a2cc(0x2b3),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x12a2cc(0x410),'d':_0x12a2cc(0x2ae),'transform':'translate(.97)'}}]}]}],'defIds':[_0x12a2cc(0x372)]},_0x74a879=_0x47ddff['forwardRef'](function(_0x1dc537,_0x4115fb){const _0x1f64d=_0x12a2cc;return _0x47ddff[_0x1f64d(0x467)](_0x2c44f4,Object[_0x1f64d(0x43f)]({},_0x1dc537,{'id':_0x1f64d(0x417),'ref':_0x4115fb,'icon':_0x38b2b9}));});_0x74a879[_0x12a2cc(0x249)]=_0x12a2cc(0x233);function _0x1743bf(_0x2e62dc){const _0x1e88fd=_0x12a2cc;switch(_0x2e62dc){case _0x532bba['CollaborationStatus'][_0x1e88fd(0x424)]:return _0x1e88fd(0x434);case _0x532bba[_0x1e88fd(0x41e)]['CONFLICT']:return _0x1e88fd(0x223);case _0x532bba[_0x1e88fd(0x41e)]['FETCH_MISS']:return _0x1e88fd(0x26a);case _0x532bba[_0x1e88fd(0x41e)][_0x1e88fd(0x277)]:return _0x1e88fd(0x358);case _0x532bba['CollaborationStatus'][_0x1e88fd(0x3ca)]:case _0x532bba[_0x1e88fd(0x41e)][_0x1e88fd(0x319)]:return _0x1e88fd(0x2df);case _0x532bba[_0x1e88fd(0x41e)]['SYNCED']:case _0x532bba['CollaborationStatus'][_0x1e88fd(0x3da)]:return _0x1e88fd(0x44c);}}function _0x892990(_0x50e346){const _0x122106=_0x12a2cc,{status$:_0x481cfa}=_0x50e346,_0x31e533=_0x4db0e6[_0x122106(0x2db)](_0x481cfa,_0x532bba[_0x122106(0x41e)][_0x122106(0x277)]),_0x3c99f7=_0x4db0e6[_0x122106(0x3b4)](_0x5c9413[_0x122106(0x3d0)]),_0x565b74=_0x4db0e6['useDependency'](_0x532bba['CollaborationSessionService']),_0x2f7954=_0x31e533!==_0x532bba[_0x122106(0x41e)][_0x122106(0x424)],_0x114afc=_0x3c99f7['t'](_0x1743bf(_0x31e533)),_0x36ae21=_0x2f7954?_0x329810[_0x122106(0x2b9)](_0x74a879,{}):_0x329810[_0x122106(0x2b9)](_0x42c034,{}),_0x1d5c72=_0x47ddff[_0x122106(0x303)](()=>{const _0xe69800=_0x122106;_0x2f7954||_0x565b74[_0xe69800(0x33e)]();},[_0x2f7954,_0x565b74]);function _0x600703(){const _0x38904d=_0x122106;return _0x329810[_0x38904d(0x258)]('div',{'className':_0x38904d(0x225),'onClick':_0x1d5c72,'children':[_0x329810[_0x38904d(0x2b9)](_0x38904d(0x339),{'className':_0x27f590[_0x38904d(0x27f)](_0x38904d(0x392),{'univer-text-green-500':_0x2f7954,'univer-text-red-500':!_0x2f7954}),'children':_0x36ae21}),_0x329810[_0x38904d(0x2b9)](_0x38904d(0x339),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x114afc})]});}return _0x2f7954?_0x600703():_0x329810[_0x122106(0x2b9)](_0x27f590['Tooltip'],{'title':_0x3c99f7['t'](_0x122106(0x385)),'children':_0x600703()});}var _0x2aa518=Object[_0x12a2cc(0x436)],_0x18fe82=(_0x2e5970,_0x46e178,_0x186fcc,_0x594724)=>{const _0x320582=_0x12a2cc;for(var _0x5e2b01=_0x594724>0x1?void 0x0:_0x594724?_0x2aa518(_0x46e178,_0x186fcc):_0x46e178,_0x512142=_0x2e5970[_0x320582(0x386)]-0x1,_0x296c30;_0x512142>=0x0;_0x512142--)(_0x296c30=_0x2e5970[_0x512142])&&(_0x5e2b01=_0x296c30(_0x5e2b01)||_0x5e2b01);return _0x5e2b01;},_0x24471e=(_0x1b10a0,_0x3fa49d)=>(_0x5efd57,_0x195ae1)=>_0x3fa49d(_0x5efd57,_0x195ae1,_0x1b10a0);_0x560529[_0x12a2cc(0x47b)]=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x46ac02,_0x3cea42,_0x2a25dd,_0x18c5d9){const _0x2dbe5b=_0x12a2cc;super(),_0x1206b7(this,'_status$',new _0x5c807f['BehaviorSubject'](_0x532bba['CollaborationStatus'][_0x2dbe5b(0x277)])),(this[_0x2dbe5b(0x364)]=_0x46ac02,this[_0x2dbe5b(0x2fb)]=_0x3cea42,this['_collaborationController']=_0x2a25dd,this[_0x2dbe5b(0x37f)]=_0x18c5d9,this[_0x2dbe5b(0x462)](),this['_initStatusListener']());}[_0x12a2cc(0x23e)](){const _0x5fb362=_0x12a2cc;this[_0x5fb362(0x30f)](this['_univerInstanceService'][_0x5fb362(0x3d1)]['pipe'](_0x5c807f[_0x5fb362(0x24a)](()=>{const _0x5cae17=_0x5fb362,_0xa5d00d=this[_0x5cae17(0x364)]['getFocusedUnit']();return _0xa5d00d?this[_0x5cae17(0x24e)][_0x5cae17(0x32b)](_0xa5d00d[_0x5cae17(0x45f)]()):_0x5c807f['of'](null);}),_0x5c807f['switchMap'](_0x30b31b=>_0x30b31b?_0x30b31b['status$']:_0x5c807f['of'](_0x532bba[_0x5fb362(0x41e)]['NOT_COLLAB'])))[_0x5fb362(0x29f)](_0x6a0bd4=>{const _0x1a1846=_0x5fb362;this[_0x1a1846(0x227)][_0x1a1846(0x1eb)](_0x6a0bd4);}));}[_0x12a2cc(0x462)](){const _0x24d4a1=_0x12a2cc;this[_0x24d4a1(0x30f)](this['_uiPartsService'][_0x24d4a1(0x318)](_0x4db0e6[_0x24d4a1(0x369)][_0x24d4a1(0x1ed)],()=>_0x4db0e6[_0x24d4a1(0x445)](_0x18ab40({'status$':this[_0x24d4a1(0x227)][_0x24d4a1(0x2f5)]()}),this[_0x24d4a1(0x2fb)])));}},_0x560529[_0x12a2cc(0x47b)]=_0x18fe82([_0x24471e(0x0,_0x5c9413['IUniverInstanceService']),_0x24471e(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x24471e(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x264)])),_0x24471e(0x3,_0x4db0e6[_0x12a2cc(0x234)])],_0x560529['DesktopCollaborationStatusDisplayController']);function _0x18ab40(_0x2a7a48){const {status$:_0x37a15d}=_0x2a7a48;return function(){const _0x42124a=_0x380c;return _0x329810[_0x42124a(0x2b9)](_0x892990,{'status$':_0x37a15d});};}var _0x2c3a6e=Object[_0x12a2cc(0x436)],_0x5c35f9=(_0x19e1d6,_0x184678,_0xbb08c,_0x4d403b)=>{for(var _0x47ae40=_0x4d403b>0x1?void 0x0:_0x4d403b?_0x2c3a6e(_0x184678,_0xbb08c):_0x184678,_0x30ccbe=_0x19e1d6['length']-0x1,_0x4b1c6d;_0x30ccbe>=0x0;_0x30ccbe--)(_0x4b1c6d=_0x19e1d6[_0x30ccbe])&&(_0x47ae40=_0x4b1c6d(_0x47ae40)||_0x47ae40);return _0x47ae40;},_0x2ce233=(_0x173849,_0x54722b)=>(_0x4748e6,_0x1fb214)=>_0x54722b(_0x4748e6,_0x1fb214,_0x173849);let _0x7d8b6=class extends _0x5c9413['Disposable']{constructor(_0x3eb0a9,_0x18f4a0,_0x3a6f25,_0x4261c6,_0x4aacc7,_0x5e89eb){const _0x11ca7c=_0x12a2cc;super(),this[_0x11ca7c(0x2e5)]=_0x3eb0a9,this[_0x11ca7c(0x34e)]=_0x18f4a0,this[_0x11ca7c(0x1fa)]=_0x3a6f25,this['_messageService']=_0x4261c6,this['_notificationService']=_0x4aacc7,this['_localeService']=_0x5e89eb,this[_0x11ca7c(0x2c0)](),this[_0x11ca7c(0x2ba)]();}[_0x12a2cc(0x2c0)](){const _0x31177f=_0x12a2cc;this['disposeWithMe'](this[_0x31177f(0x2e5)]['registerBeforeClose'](()=>{const _0x302ca6=_0x31177f;if(this[_0x302ca6(0x34e)][_0x302ca6(0x2a6)][_0x302ca6(0x483)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x12a2cc(0x2ba)](){const _0x9b6a15=_0x12a2cc;this['disposeWithMe'](this['_collaborationUIEventService'][_0x9b6a15(0x355)]['subscribe'](_0x59d95=>{const _0x1f7efd=_0x9b6a15;_0x59d95['id']===_0x532bba['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x1f7efd(0x395)][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x2c7))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x325)]&&this[_0x1f7efd(0x395)]['show']({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x1f7efd(0x2d9))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x406)),'content':this['_localeService']['t']('permission.content'),'type':_0x1f7efd(0x262),'duration':0x0}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x2d0)]&&this[_0x1f7efd(0x395)][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t']('collaboration.closeRoom')+'('+_0x59d95[_0x1f7efd(0x2ff)]+')'}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590['MessageType'][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x59d95['data']||'')}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x1f7efd(0x342))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x2dc)]&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590['MessageType'][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t']('session.connection-failed')}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1f7efd(0x395)]['show']({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x215))});}));}};_0x7d8b6=_0x5c35f9([_0x2ce233(0x0,_0x4db0e6[_0x12a2cc(0x340)]),_0x2ce233(0x1,_0x532bba[_0x12a2cc(0x444)]),_0x2ce233(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x312)])),_0x2ce233(0x3,_0x4db0e6[_0x12a2cc(0x387)]),_0x2ce233(0x4,_0x4db0e6[_0x12a2cc(0x320)]),_0x2ce233(0x5,_0x5c9413['Inject'](_0x5c9413['LocaleService']))],_0x7d8b6);const _0x537436='collaboration-client-ui.config',_0x3fc096={},_0x5c53ec=_0x5c9413[_0x12a2cc(0x440)](_0x12a2cc(0x3dd));var _0x47787b=Object[_0x12a2cc(0x436)],_0x4561ee=(_0x422418,_0x49b8c6,_0x2620ef,_0x439420)=>{const _0x3359cb=_0x12a2cc;for(var _0x2c9d89=_0x439420>0x1?void 0x0:_0x439420?_0x47787b(_0x49b8c6,_0x2620ef):_0x49b8c6,_0x367eef=_0x422418[_0x3359cb(0x386)]-0x1,_0x1997a1;_0x367eef>=0x0;_0x367eef--)(_0x1997a1=_0x422418[_0x367eef])&&(_0x2c9d89=_0x1997a1(_0x2c9d89)||_0x2c9d89);return _0x2c9d89;},_0x55cecf=(_0x34a39e,_0x5acde6)=>(_0x5c3787,_0x1994ed)=>_0x5acde6(_0x5c3787,_0x1994ed,_0x34a39e);_0x560529['CollaborationDataLoaderController']=class extends _0x5c9413['RxDisposable']{constructor(_0x438ff4,_0x1766b5,_0x238d08,_0xd10170,_0x1194db){const _0x1673cf=_0x12a2cc;super(),this[_0x1673cf(0x1ea)]=_0x438ff4,this[_0x1673cf(0x3b6)]=_0x1766b5,this[_0x1673cf(0x2f2)]=_0x238d08,this['_dataLoaderService']=_0xd10170,_0x1194db?_0x1194db==null||_0x1194db['whenReady']()[_0x1673cf(0x230)](()=>this[_0x1673cf(0x47c)]()):(this[_0x1673cf(0x3b6)][_0x1673cf(0x1ee)](_0x1673cf(0x357),_0x1673cf(0x3ac)),this[_0x1673cf(0x47c)]());}async[_0x12a2cc(0x47c)](){const _0x17ac0e=_0x12a2cc,_0x2bedb8=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x3ba)),_0x13dad5=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x35e)),_0x48aa55=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x354));if(!_0x2bedb8||!_0x13dad5){this['_logService'][_0x17ac0e(0x1ee)](_0x17ac0e(0x357),_0x17ac0e(0x3cc));return;}const _0x391d9c=await this[_0x17ac0e(0x2cb)][_0x17ac0e(0x271)](_0x2bedb8,Number(_0x13dad5),_0x48aa55);_0x391d9c&&_0x391d9c instanceof _0x5c9413[_0x17ac0e(0x32c)]&&this['_setupSubUnitSync'](_0x391d9c);}async[_0x12a2cc(0x28d)](_0x217cc8){const _0x288c88=_0x12a2cc;await this[_0x288c88(0x41c)](_0x217cc8),_0x217cc8['activeSheet$'][_0x288c88(0x2af)](_0x5c807f[_0x288c88(0x457)](this[_0x288c88(0x291)]))['subscribe'](_0x5d92c1=>{const _0x407644=_0x288c88;_0x5d92c1&&this[_0x407644(0x418)](_0x5d92c1);}),this[_0x288c88(0x1ea)][_0x288c88(0x2c6)][_0x288c88(0x2af)](_0x5c807f['takeUntil'](this[_0x288c88(0x291)]))[_0x288c88(0x29f)](()=>this['_updateSubUnitFromURLParams'](_0x217cc8));}[_0x12a2cc(0x418)](_0x8634b,_0x5ac034=!0x1){const _0x186b8b=_0x12a2cc,_0xfc4e94=this[_0x186b8b(0x1ea)][_0x186b8b(0x373)](_0x186b8b(0x354));_0x8634b[_0x186b8b(0x3ad)]()!==_0xfc4e94&&this['_urlService']['setParam'](_0x186b8b(0x354),_0x8634b[_0x186b8b(0x3ad)](),_0x5ac034);}async[_0x12a2cc(0x41c)](_0x457e72){const _0x442d05=_0x12a2cc;var _0x32f8a5;const _0x4d8f19=this[_0x442d05(0x1ea)][_0x442d05(0x373)]('subunit');if(!_0x4d8f19||!_0x457e72[_0x442d05(0x30c)](_0x4d8f19)){const _0x3bf7f5=_0x457e72[_0x442d05(0x45c)]()[0x0],_0x35f593=_0x457e72['getSheetBySheetId'](_0x3bf7f5);if(!_0x35f593)return;this[_0x442d05(0x418)](_0x35f593,!0x0),await this[_0x442d05(0x2f2)][_0x442d05(0x28e)](_0x333a7c[_0x442d05(0x3fe)]['id'],{'unitId':_0x457e72['getUnitId'](),'subUnitId':_0x3bf7f5});return;}((_0x32f8a5=_0x457e72[_0x442d05(0x27a)]())==null?void 0x0:_0x32f8a5[_0x442d05(0x3ad)]())!==_0x4d8f19&&await this[_0x442d05(0x2f2)][_0x442d05(0x28e)](_0x333a7c[_0x442d05(0x3fe)]['id'],{'unitId':_0x457e72[_0x442d05(0x45f)](),'subUnitId':_0x4d8f19});}},_0x560529['CollaborationDataLoaderController']=_0x4561ee([_0x55cecf(0x0,_0x5c53ec),_0x55cecf(0x1,_0x5c9413[_0x12a2cc(0x3ae)]),_0x55cecf(0x2,_0x5c9413[_0x12a2cc(0x3a8)]),_0x55cecf(0x3,_0x5c9413['Inject'](_0x532bba[_0x12a2cc(0x246)])),_0x55cecf(0x4,_0x5c9413[_0x12a2cc(0x40b)](_0x51bc92[_0x12a2cc(0x37c)]))],_0x560529['CollaborationDataLoaderController']);var _0xb5d7f4=Object['getOwnPropertyDescriptor'],_0x3dd5b1=(_0x2cf4bf,_0x5aeafd,_0x37246e,_0x1e2eb0)=>{for(var _0x419f71=_0x1e2eb0>0x1?void 0x0:_0x1e2eb0?_0xb5d7f4(_0x5aeafd,_0x37246e):_0x5aeafd,_0x1fd94f=_0x2cf4bf['length']-0x1,_0x266962;_0x1fd94f>=0x0;_0x1fd94f--)(_0x266962=_0x2cf4bf[_0x1fd94f])&&(_0x419f71=_0x266962(_0x419f71)||_0x419f71);return _0x419f71;},_0xa47470=(_0x48c13b,_0x1d7459)=>(_0x423407,_0x206f64)=>_0x1d7459(_0x423407,_0x206f64,_0x48c13b);let _0x1dc9e1=class{constructor(_0x125e5e,_0x3da63e,_0xae2945){const _0x407932=_0x12a2cc;this[_0x407932(0x2fb)]=_0x125e5e,this[_0x407932(0x270)]=_0x3da63e,this[_0x407932(0x486)]=_0xae2945;}[_0x12a2cc(0x240)](_0x5cfb64){const _0x55eca3=_0x12a2cc;this['_transformUndoRedoStack'](_0x5cfb64),this[_0x55eca3(0x41f)](_0x5cfb64);}[_0x12a2cc(0x3f4)](_0x2629eb){const _0x193a10=_0x12a2cc,{unitID:_0x245ead}=_0x2629eb,_0x4d2836=this[_0x193a10(0x486)][_0x193a10(0x254)](_0x245ead)[_0x193a10(0x37e)](_0x2f8870[_0x193a10(0x351)]),{redoCache:_0x15a6d6}=_0x4d2836[_0x193a10(0x314)]();if(_0x15a6d6[_0x193a10(0x386)]===0x0)return _0x2629eb;let _0x380a5b=_0x5c9413[_0x193a10(0x21f)][_0x193a10(0x42e)](_0x2629eb['mutations'][0x0]);for(let _0x5d1d97=0x0;_0x5d1d97<_0x15a6d6[_0x193a10(0x386)];_0x5d1d97++){const _0x39ccc5={'id':_0x193a10(0x3a9),'params':{..._0x15a6d6[_0x5d1d97]}},_0x4fecce=this[_0x193a10(0x270)][_0x193a10(0x305)](_0x380a5b,_0x39ccc5,!0x1);if(_0x492d9e['isTransformMutationFailure'](_0x4fecce))throw _0x4fecce[_0x193a10(0x262)];_0x380a5b=_0x4fecce['m1Prime'];}return{..._0x5c9413[_0x193a10(0x21f)]['deepClone'](_0x2629eb),'mutations':[_0x380a5b]};}[_0x12a2cc(0x3d3)](_0x3a50e6){const _0x3e2746=_0x12a2cc,{unitID:_0x3ce49b}=_0x3a50e6,_0x28103e=this[_0x3e2746(0x486)][_0x3e2746(0x254)](_0x3ce49b)['with'](_0x2f8870[_0x3e2746(0x351)]),{undoCache:_0x39ba51,redoCache:_0x461ae7}=_0x28103e[_0x3e2746(0x314)]();if(_0x39ba51[_0x3e2746(0x386)]===0x0||_0x461ae7[_0x3e2746(0x386)]===0x0)return;const _0x41b34d=[],_0x2df44b=[];let _0x48126d=_0x5c9413['Tools'][_0x3e2746(0x42e)](_0x3a50e6[_0x3e2746(0x1e9)][0x0]),_0x422f31=_0x5c9413['Tools'][_0x3e2746(0x42e)](_0x3a50e6['mutations'][0x0]);for(let _0x5aeaba=_0x39ba51[_0x3e2746(0x386)]-0x1;_0x5aeaba>=0x0;_0x5aeaba--){const _0x466690={'id':_0x3e2746(0x3a9),'params':{..._0x39ba51[_0x5aeaba]}},_0x4e24c8={'id':'doc.mutation.rich-text-editing','params':{..._0x461ae7[_0x5aeaba]}},_0x546b6b=this['_transformService'][_0x3e2746(0x305)](_0x48126d,_0x466690,!0x1),_0x4a6d8c=this[_0x3e2746(0x270)][_0x3e2746(0x305)](_0x422f31,_0x4e24c8,!0x1);if(_0x492d9e[_0x3e2746(0x31b)](_0x546b6b))throw _0x546b6b[_0x3e2746(0x262)];if(_0x492d9e['isTransformMutationFailure'](_0x4a6d8c))throw _0x4a6d8c[_0x3e2746(0x262)];_0x41b34d['unshift'](_0x546b6b[_0x3e2746(0x3c9)]['params']),_0x2df44b[_0x3e2746(0x46a)](_0x4a6d8c[_0x3e2746(0x3c9)][_0x3e2746(0x281)]),_0x48126d=_0x546b6b[_0x3e2746(0x2d5)],_0x422f31=_0x4a6d8c[_0x3e2746(0x2d5)];}_0x28103e[_0x3e2746(0x38a)]({'undoCache':_0x41b34d,'redoCache':_0x2df44b});}[_0x12a2cc(0x41f)](_0x1bd01f){const _0x5ce680=_0x12a2cc,{unitID:_0x428765}=_0x1bd01f,_0x1df3bc=this[_0x5ce680(0x486)]['getRenderById'](_0x428765)[_0x5ce680(0x37e)](_0x2f8870[_0x5ce680(0x351)]),_0x1e6108=_0x1df3bc[_0x5ce680(0x20a)]();if(_0x1e6108==null)return;const _0x1a43d6=[{'id':_0x5ce680(0x3a9),'params':{'unitId':_0x1bd01f[_0x5ce680(0x2c8)],'actions':null,'textRanges':[_0x1e6108]}}],_0x262a9c=this['_transformService']['transformMutationsWithChangeset'](_0x1bd01f,_0x1a43d6);if(!_0x492d9e['isTransformMutationsWithChangesetSuccess'](_0x262a9c))throw _0x262a9c[_0x5ce680(0x262)];const _0x2f19e1=_0x262a9c[_0x5ce680(0x3c9)][0x0]['params'][_0x5ce680(0x280)];Array[_0x5ce680(0x2c4)](_0x2f19e1)&&_0x2f19e1[_0x5ce680(0x386)]&&_0x1df3bc['setActiveRange'](_0x2f19e1[0x0]);}};_0x1dc9e1=_0x3dd5b1([_0xa47470(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413['Injector'])),_0xa47470(0x1,_0x492d9e['ITransformService']),_0xa47470(0x2,_0x1f04f6[_0x12a2cc(0x3ef)])],_0x1dc9e1);var _0x1e859c=Object[_0x12a2cc(0x436)],_0x351e4d=(_0x2306f4,_0xd891a0,_0x40abe6,_0x209c0b)=>{const _0x4f6c25=_0x12a2cc;for(var _0x17ec17=_0x209c0b>0x1?void 0x0:_0x209c0b?_0x1e859c(_0xd891a0,_0x40abe6):_0xd891a0,_0xb66f9b=_0x2306f4[_0x4f6c25(0x386)]-0x1,_0x7e1536;_0xb66f9b>=0x0;_0xb66f9b--)(_0x7e1536=_0x2306f4[_0xb66f9b])&&(_0x17ec17=_0x7e1536(_0x17ec17)||_0x17ec17);return _0x17ec17;},_0x202121=(_0x38a270,_0x22ba0a)=>(_0x736125,_0x4659b6)=>_0x22ba0a(_0x736125,_0x4659b6,_0x38a270);let _0x135a09=class{constructor(_0x440b7a,_0x197c11,_0x2cda4a){const _0x2dc6d6=_0x12a2cc;this[_0x2dc6d6(0x2fb)]=_0x440b7a,this[_0x2dc6d6(0x270)]=_0x197c11,this[_0x2dc6d6(0x405)]=_0x2cda4a;}[_0x12a2cc(0x3ee)](_0x20c4bd){const _0x4da029=_0x12a2cc;this[_0x4da029(0x255)](_0x20c4bd);}[_0x12a2cc(0x3f4)](_0x3259f0){const _0x1e9336=_0x12a2cc,{unitID:_0x51f2f8}=_0x3259f0,{collaboration:_0x292443}=this[_0x1e9336(0x405)][_0x1e9336(0x420)](_0x51f2f8);if(_0x292443[_0x1e9336(0x386)]===0x0)return _0x3259f0;let _0x3dc8f7=_0x5c9413['Tools'][_0x1e9336(0x42e)](_0x3259f0['mutations'][0x0]);for(let _0x12e868=0x0;_0x12e868<_0x292443[_0x1e9336(0x386)];_0x12e868++){const _0x645740={'id':_0x1e9336(0x3a9),'params':{'unitId':_0x292443[_0x12e868][_0x1e9336(0x330)],..._0x292443[_0x12e868][_0x1e9336(0x20f)]}},_0x49f9ea=this['_transformService']['transformMutation'](_0x3dc8f7,_0x645740,!0x1);if(_0x492d9e[_0x1e9336(0x31b)](_0x49f9ea))throw _0x49f9ea[_0x1e9336(0x262)];_0x3dc8f7=_0x49f9ea[_0x1e9336(0x2d5)];}return{..._0x5c9413[_0x1e9336(0x21f)][_0x1e9336(0x42e)](_0x3259f0),'mutations':[_0x3dc8f7]};}[_0x12a2cc(0x255)](_0x4382ca){const _0x33b97a=_0x12a2cc,{unitID:_0x310f65}=_0x4382ca,{history:_0x40bb35,collaboration:_0x3a6164}=this[_0x33b97a(0x405)]['getStateCache'](_0x310f65);if(_0x40bb35[_0x33b97a(0x386)]===0x0&&_0x3a6164['length']===0x0)return;const _0x2ea997=[],_0x11efce=[];let _0x597237=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca[_0x33b97a(0x1e9)][0x0]),_0x3fe4a7=_0x5c9413['Tools'][_0x33b97a(0x42e)](_0x4382ca[_0x33b97a(0x1e9)][0x0]);for(let _0x44922e=_0x40bb35[_0x33b97a(0x386)]-0x1;_0x44922e>=0x0;_0x44922e--){const _0x685799={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x40bb35[_0x44922e][_0x33b97a(0x330)],..._0x40bb35[_0x44922e][_0x33b97a(0x36c)]}},_0x5b949c={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x40bb35[_0x44922e][_0x33b97a(0x330)],..._0x40bb35[_0x44922e][_0x33b97a(0x20f)]}},_0x36d666=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x597237,_0x685799,!0x1),_0x255dfe=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x3fe4a7,_0x5b949c,!0x1);if(_0x492d9e[_0x33b97a(0x31b)](_0x36d666))throw _0x36d666['error'];if(_0x492d9e[_0x33b97a(0x31b)](_0x255dfe))throw _0x255dfe[_0x33b97a(0x262)];_0x2ea997[_0x33b97a(0x46a)]({..._0x40bb35[_0x44922e],'undoState':_0x36d666[_0x33b97a(0x3c9)][_0x33b97a(0x281)],'redoState':_0x255dfe[_0x33b97a(0x3c9)][_0x33b97a(0x281)]}),_0x597237=_0x36d666[_0x33b97a(0x2d5)],_0x3fe4a7=_0x255dfe[_0x33b97a(0x2d5)];}_0x597237=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca['mutations'][0x0]),_0x3fe4a7=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca['mutations'][0x0]);for(let _0x3f0109=_0x3a6164[_0x33b97a(0x386)]-0x1;_0x3f0109>=0x0;_0x3f0109--){const _0x3d6584={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x3a6164[_0x3f0109][_0x33b97a(0x330)],..._0x3a6164[_0x3f0109][_0x33b97a(0x36c)]}},_0x2a7262={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x3a6164[_0x3f0109]['unitId'],..._0x3a6164[_0x3f0109][_0x33b97a(0x20f)]}},_0x2f15a7=this['_transformService'][_0x33b97a(0x305)](_0x597237,_0x3d6584,!0x1),_0x4d7fbb=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x3fe4a7,_0x2a7262,!0x1);if(_0x492d9e[_0x33b97a(0x31b)](_0x2f15a7))throw _0x2f15a7[_0x33b97a(0x262)];if(_0x492d9e[_0x33b97a(0x31b)](_0x4d7fbb))throw _0x4d7fbb['error'];_0x11efce[_0x33b97a(0x46a)]({..._0x3a6164[_0x3f0109],'undoState':_0x2f15a7[_0x33b97a(0x3c9)][_0x33b97a(0x281)],'redoState':_0x4d7fbb[_0x33b97a(0x3c9)][_0x33b97a(0x281)]}),_0x597237=_0x2f15a7['m1Prime'],_0x3fe4a7=_0x4d7fbb[_0x33b97a(0x2d5)];}this[_0x33b97a(0x405)][_0x33b97a(0x267)](_0x310f65,{'history':_0x2ea997,'collaboration':_0x11efce});}};_0x135a09=_0x351e4d([_0x202121(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x202121(0x1,_0x492d9e[_0x12a2cc(0x3f6)]),_0x202121(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x2f8870['DocStateChangeManagerService']))],_0x135a09);var _0x20afa8=Object[_0x12a2cc(0x436)],_0xf89832=(_0x552dc9,_0x82a907,_0x49aec8,_0x5e8e2a)=>{const _0x41d45c=_0x12a2cc;for(var _0xcbc15=_0x5e8e2a>0x1?void 0x0:_0x5e8e2a?_0x20afa8(_0x82a907,_0x49aec8):_0x82a907,_0x47fecf=_0x552dc9[_0x41d45c(0x386)]-0x1,_0x538124;_0x47fecf>=0x0;_0x47fecf--)(_0x538124=_0x552dc9[_0x47fecf])&&(_0xcbc15=_0x538124(_0xcbc15)||_0xcbc15);return _0xcbc15;},_0x4e5b7e=(_0xe49223,_0x1f789b)=>(_0x496257,_0x14b93a)=>_0x1f789b(_0x496257,_0x14b93a,_0xe49223);let _0x369632=class{constructor(_0x392c62,_0x166249){const _0x2e639c=_0x12a2cc;this[_0x2e639c(0x2fb)]=_0x392c62,this[_0x2e639c(0x270)]=_0x166249;}[_0x12a2cc(0x2b6)](_0x2ec7ce){const _0x20d1ee=_0x12a2cc;var _0xac09d0;const _0xa0e4b6=this[_0x20d1ee(0x2fb)][_0x20d1ee(0x2f0)](_0x39044d[_0x20d1ee(0x252)]),_0x19aac1=(_0xac09d0=_0xa0e4b6[_0x20d1ee(0x2e0)]())!=null?_0xac09d0:[];if(_0x19aac1['length']===0x0)return;const _0x78a6c7=_0x2ec7ce['unitID'],_0x1baee8=[{'id':_0x20d1ee(0x3a9),'params':{'unitId':_0x78a6c7,'actions':null,'textRanges':_0x19aac1}}],_0x551a5d=this[_0x20d1ee(0x270)][_0x20d1ee(0x415)](_0x2ec7ce,_0x1baee8);if(!_0x492d9e[_0x20d1ee(0x448)](_0x551a5d))throw _0x551a5d[_0x20d1ee(0x262)];const _0x550b3e=_0x551a5d[_0x20d1ee(0x3c9)][0x0]['params'][_0x20d1ee(0x280)];Array[_0x20d1ee(0x2c4)](_0x550b3e)&&_0x550b3e['length']&&_0xa0e4b6[_0x20d1ee(0x238)](_0x550b3e,{'unitId':_0x78a6c7,'subUnitId':_0x78a6c7},!0x1);}};_0x369632=_0xf89832([_0x4e5b7e(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x4e5b7e(0x1,_0x492d9e[_0x12a2cc(0x3f6)])],_0x369632);var _0x5000f0=Object[_0x12a2cc(0x436)],_0x390e93=(_0x1b112c,_0x546cff,_0x54f514,_0x3d879e)=>{const _0x35da35=_0x12a2cc;for(var _0x12ffa0=_0x3d879e>0x1?void 0x0:_0x3d879e?_0x5000f0(_0x546cff,_0x54f514):_0x546cff,_0x5484e3=_0x1b112c[_0x35da35(0x386)]-0x1,_0x4915d8;_0x5484e3>=0x0;_0x5484e3--)(_0x4915d8=_0x1b112c[_0x5484e3])&&(_0x12ffa0=_0x4915d8(_0x12ffa0)||_0x12ffa0);return _0x12ffa0;},_0x5e2036=(_0x3d32d0,_0x19025c)=>(_0x93c39c,_0x1ca988)=>_0x19025c(_0x93c39c,_0x1ca988,_0x3d32d0);let _0x2beeff=class extends _0x5c9413['Disposable']{constructor(_0xeda6ad,_0x1054fe,_0x47f276,_0x1af3dd,_0x4d71d6,_0x292e18,_0xd96791,_0x199ea7){const _0x523e3d=_0x12a2cc;super(),_0x1206b7(this,'_status$',new _0x5c807f[(_0x523e3d(0x3bb))](_0x532bba[_0x523e3d(0x41e)][_0x523e3d(0x277)])),(this[_0x523e3d(0x405)]=_0xeda6ad,this[_0x523e3d(0x24e)]=_0x1054fe,this[_0x523e3d(0x370)]=_0x47f276,this[_0x523e3d(0x2a4)]=_0x1af3dd,this[_0x523e3d(0x3f1)]=_0x4d71d6,this[_0x523e3d(0x26b)]=_0x292e18,this[_0x523e3d(0x395)]=_0xd96791,this[_0x523e3d(0x27b)]=_0x199ea7,this[_0x523e3d(0x2d6)]());}[_0x12a2cc(0x2d6)](){const _0x1fb739=_0x12a2cc;this['disposeWithMe'](this[_0x1fb739(0x24e)][_0x1fb739(0x29a)][_0x1fb739(0x29f)](_0x47830a=>{const _0x38510d=_0x1fb739,_0x7ced77=this[_0x38510d(0x405)][_0x38510d(0x30e)][_0x38510d(0x29f)](_0x295651=>{const _0x408026=_0x38510d;if(_0x295651==null)return;const {unitId:_0x17d846,redoState:_0x50cc33,commandId:_0x4969c9}=_0x295651;if(_0x17d846!==_0x47830a['unitID'])return;const _0x4eb8e0={'id':_0x4969c9,'type':_0x5c9413[_0x408026(0x2e9)][_0x408026(0x381)],'params':{'unitId':_0x17d846,'actions':_0x50cc33[_0x408026(0x2b5)],'textRanges':null}};_0x47830a['onLocalMutation'](_0x4eb8e0);});if(_0x47830a['disposeWithMe'](_0x7ced77),_0x47830a instanceof _0x532bba[_0x38510d(0x3d6)]){const _0x389e65={'onTransformIME':_0x2f115c=>this['_docTransformIMECacheService']['transformIMECache'](_0x2f115c),'onTransformState':_0x5399ac=>this[_0x38510d(0x2a4)][_0x38510d(0x3ee)](_0x5399ac),'onTransformSelections':_0x1d9ce8=>this['_docTransformSelectionsService'][_0x38510d(0x2b6)](_0x1d9ce8),'onSyncEditingCollabCursor':_0x2da563=>this[_0x38510d(0x26b)][_0x38510d(0x374)](_0x2da563),'onTransformRemoteChangesetByIMECache':_0x250719=>this['_docTransformIMECacheService'][_0x38510d(0x3f4)](_0x250719),'onTransformRemoteChangesetByStateCache':_0x4eed03=>this[_0x38510d(0x2a4)]['transformRemoteChangeset'](_0x4eed03)};_0x47830a['addHandlerCallback'](_0x389e65);}}));}};_0x2beeff=_0x390e93([_0x5e2036(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x2f8870[_0x12a2cc(0x299)])),_0x5e2036(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba['CollaborationController'])),_0x5e2036(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x1dc9e1)),_0x5e2036(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x135a09)),_0x5e2036(0x4,_0x5c9413['Inject'](_0x369632)),_0x5e2036(0x5,_0x5c9413['Inject'](_0x43ae26)),_0x5e2036(0x6,_0x4db0e6[_0x12a2cc(0x387)]),_0x5e2036(0x7,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x3d0)]))],_0x2beeff);var _0x2e1ac6=Object[_0x12a2cc(0x436)],_0x1060b9=(_0x2fb9ea,_0x5f5369,_0x50bd51,_0x5e2b90)=>{const _0xa2b4fa=_0x12a2cc;for(var _0x3fd105=_0x5e2b90>0x1?void 0x0:_0x5e2b90?_0x2e1ac6(_0x5f5369,_0x50bd51):_0x5f5369,_0xa15420=_0x2fb9ea[_0xa2b4fa(0x386)]-0x1,_0x511037;_0xa15420>=0x0;_0xa15420--)(_0x511037=_0x2fb9ea[_0xa15420])&&(_0x3fd105=_0x511037(_0x3fd105)||_0x3fd105);return _0x3fd105;},_0x58580e=(_0x5b2621,_0x5d3de1)=>(_0x5b193e,_0x57124a)=>_0x5d3de1(_0x5b193e,_0x57124a,_0x5b2621);let _0x515b68=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x3aebd1,_0x47efd7,_0x5c797d){const _0x3e4f49=_0x12a2cc;super(),_0x1206b7(this,_0x3e4f49(0x349),new Map()),_0x1206b7(this,_0x3e4f49(0x24f),new Map()),_0x1206b7(this,_0x3e4f49(0x391),!0x1),(this['_configService']=_0x3aebd1,this[_0x3e4f49(0x42b)]=_0x47efd7,this[_0x3e4f49(0x484)]=_0x5c797d);}[_0x12a2cc(0x441)](){const _0x547c61=_0x12a2cc;this[_0x547c61(0x391)]=!0x0;}[_0x12a2cc(0x3fb)](){const _0x5e04b5=_0x12a2cc;this[_0x5e04b5(0x391)]=!0x1;}get['saveTaskMap'](){const _0x4923d3=_0x12a2cc;return this[_0x4923d3(0x24f)];}[_0x12a2cc(0x2eb)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x2e2013){const _0x159903=_0x12a2cc;return this[_0x159903(0x391)]?null:this[_0x159903(0x42b)][_0x159903(0x480)](_0x532bba[_0x159903(0x30d)](_0x2e2013));}async[_0x12a2cc(0x29c)](_0x4db657,_0x578a9b){const _0x8b837f=_0x12a2cc;return!!this['_localStorageService'][_0x8b837f(0x472)](_0x4db657,_0x578a9b);}[_0x12a2cc(0x404)](_0x49999e,_0x2491e3,_0x298bf5,_0x36758e){const _0xaabd70=_0x12a2cc,_0x317272=this['_revisionService'][_0xaabd70(0x44f)](_0x49999e);this['_cachedData'][_0xaabd70(0x2ee)](_0x49999e,{'unitID':_0x49999e,'type':_0x2491e3,'awaitingChangeset':_0x298bf5,'mutations':_0x36758e,'rev':_0x317272}),this[_0xaabd70(0x24f)][_0xaabd70(0x3f7)](_0x49999e)||this[_0xaabd70(0x21c)](_0x49999e);}[_0x12a2cc(0x21c)](_0x3e3ec8){const _0x4f043c=_0x12a2cc,_0x3c662e=this['_getSaveTimeout']();_0x3c662e===0x0?this[_0x4f043c(0x328)](_0x3e3ec8):this[_0x4f043c(0x24f)][_0x4f043c(0x2ee)](_0x3e3ec8,setTimeout(()=>this[_0x4f043c(0x328)](_0x3e3ec8),_0x3c662e));}[_0x12a2cc(0x376)](){const _0x3dd717=_0x12a2cc;var _0x130346;return(_0x130346=this[_0x3dd717(0x423)][_0x3dd717(0x3d7)](_0x532bba[_0x3dd717(0x2e1)]))!=null?_0x130346:_0x532bba[_0x3dd717(0x46b)];}[_0x12a2cc(0x328)](_0x258e12){const _0x3867f2=_0x12a2cc,_0x44b0ed=this[_0x3867f2(0x24f)][_0x3867f2(0x2f0)](_0x258e12);return _0x44b0ed!==void 0x0&&window[_0x3867f2(0x247)](_0x44b0ed),this[_0x3867f2(0x42b)][_0x3867f2(0x472)](_0x532bba['getLocalCacheKey'](_0x258e12),this['_cachedData'][_0x3867f2(0x2f0)](_0x258e12))[_0x3867f2(0x230)](()=>this[_0x3867f2(0x24f)][_0x3867f2(0x1f6)](_0x258e12));}async['exhaustSavingTask'](){const _0x23506a=_0x12a2cc,_0x144fb0=[];this[_0x23506a(0x24f)]['forEach']((_0x38883c,_0x536031)=>{const _0x10444f=_0x23506a;window[_0x10444f(0x247)](_0x38883c),_0x144fb0['push'](this['_saveCache'](_0x536031)[_0x10444f(0x230)](()=>{const _0x5f4436=_0x10444f;this[_0x5f4436(0x24f)]['delete'](_0x536031);}));}),await Promise[_0x23506a(0x3d5)](_0x144fb0);}};_0x515b68=_0x1060b9([_0x58580e(0x0,_0x5c9413[_0x12a2cc(0x3a5)]),_0x58580e(0x1,_0x5c9413[_0x12a2cc(0x35f)]),_0x58580e(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x492d9e[_0x12a2cc(0x3eb)]))],_0x515b68);class _0x2821f4 extends _0x5c9413[_0x12a2cc(0x435)]{constructor(){const _0x5abdac=_0x12a2cc;super(),_0x1206b7(this,_0x5abdac(0x2c6)),this[_0x5abdac(0x2c6)]=_0x5c807f['fromEvent'](window,_0x5abdac(0x45b))[_0x5abdac(0x2af)](_0x5c807f['takeUntil'](this['dispose$']),_0x5c807f[_0x5abdac(0x2d7)](0x1),_0x5c807f[_0x5abdac(0x293)](void 0x0));}[_0x12a2cc(0x283)](_0x51f4c3,_0x10af3e,_0x51959c=!0x1){const _0x1d06a1=_0x12a2cc,_0x1a5f4a=new URL(window[_0x1d06a1(0x394)][_0x1d06a1(0x409)]);_0x1a5f4a[_0x1d06a1(0x47e)][_0x1d06a1(0x2ee)](_0x51f4c3,_0x10af3e),_0x51959c?window[_0x1d06a1(0x285)]['replaceState']('','',_0x1a5f4a[_0x1d06a1(0x461)]()):window[_0x1d06a1(0x285)]['pushState']('','',_0x1a5f4a[_0x1d06a1(0x461)]());}[_0x12a2cc(0x3a6)](_0x2007d2,_0x4576cb=!0x1){const _0xa75042=_0x12a2cc,_0x378c3a=new URL(window[_0xa75042(0x394)][_0xa75042(0x409)]);_0x378c3a[_0xa75042(0x47e)][_0xa75042(0x1f6)](_0x2007d2),_0x4576cb?window['history'][_0xa75042(0x408)]('','',_0x378c3a[_0xa75042(0x461)]()):window['history'][_0xa75042(0x393)]('','',_0x378c3a[_0xa75042(0x461)]());}[_0x12a2cc(0x373)](_0xc13723){const _0x45ecbd=_0x12a2cc;var _0x12eed5;return(_0x12eed5=new URL(window['location'][_0x45ecbd(0x409)])[_0x45ecbd(0x47e)][_0x45ecbd(0x2f0)](_0xc13723))!=null?_0x12eed5:void 0x0;}}var _0x28c8b2=Object[_0x12a2cc(0x295)],_0x38f862=Object[_0x12a2cc(0x436)],_0x41dc6b=(_0x34f9b7,_0x1b6b92,_0x31557f)=>_0x1b6b92 in _0x34f9b7?_0x28c8b2(_0x34f9b7,_0x1b6b92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31557f}):_0x34f9b7[_0x1b6b92]=_0x31557f,_0x5e70b2=(_0x2a530d,_0x53e6ab,_0x106a6f,_0x443e3d)=>{const _0x3c815b=_0x12a2cc;for(var _0x4316ea=_0x443e3d>0x1?void 0x0:_0x443e3d?_0x38f862(_0x53e6ab,_0x106a6f):_0x53e6ab,_0x386b74=_0x2a530d[_0x3c815b(0x386)]-0x1,_0x4e1b07;_0x386b74>=0x0;_0x386b74--)(_0x4e1b07=_0x2a530d[_0x386b74])&&(_0x4316ea=_0x4e1b07(_0x4316ea)||_0x4316ea);return _0x4316ea;},_0x202d6d=(_0x1cec86,_0x52945c)=>(_0x279a81,_0x17f5bb)=>_0x52945c(_0x279a81,_0x17f5bb,_0x1cec86),_0x3506b7=(_0xfd56c9,_0x39edae,_0x355def)=>_0x41dc6b(_0xfd56c9,_0x39edae+'',_0x355def);const _0x472ddf=_0x12a2cc(0x2ad);_0x560529[_0x12a2cc(0x346)]=class extends _0x5c9413[_0x12a2cc(0x3b0)]{constructor(_0x5e1476=_0x3fc096,_0x475616,_0x462429,_0x50a8b3){const _0x116e71=_0x12a2cc;super(),this[_0x116e71(0x2e8)]=_0x5e1476,this[_0x116e71(0x486)]=_0x475616,this[_0x116e71(0x2fb)]=_0x462429,this[_0x116e71(0x423)]=_0x50a8b3;const {..._0x481314}=_0x5c9413[_0x116e71(0x22b)]({},_0x3fc096,this[_0x116e71(0x2e8)]);this[_0x116e71(0x423)][_0x116e71(0x40a)](_0x537436,_0x481314);}[_0x12a2cc(0x39a)](){const _0x2a1023=_0x12a2cc;this[_0x2a1023(0x217)](),this['_initDependencies']();}[_0x12a2cc(0x316)](){const _0x2e836e=_0x12a2cc;this[_0x2e836e(0x237)]();}[_0x12a2cc(0x217)](){const _0x2996d0=_0x12a2cc;var _0x197eb9;const _0x552eb9=[[_0x581544],[_0x369632],[_0x1dc9e1],[_0x135a09],[_0x43ae26],[_0x5c53ec,{'useClass':_0x2821f4}],[_0x592e97[_0x2996d0(0x1ff)],{'useClass':_0x592e97['WebSocketService']}],[_0x532bba['ILocalCacheService'],{'useClass':_0x515b68}],[_0x560529['DesktopCollaborationStatusDisplayController']],[_0x2beeff],[_0x7d8b6],[_0x44788c],[_0x29cac0],[_0x560529[_0x2996d0(0x29b)]]];_0x5c9413['registerDependencies'](this[_0x2996d0(0x2fb)],_0x5c9413[_0x2996d0(0x3bd)](_0x552eb9,(_0x197eb9=this[_0x2996d0(0x2e8)])==null?void 0x0:_0x197eb9[_0x2996d0(0x33d)]));}[_0x12a2cc(0x237)](){const _0x565ef6=_0x12a2cc;this['disposeWithMe'](this[_0x565ef6(0x486)][_0x565ef6(0x32f)](_0x5c9413[_0x565ef6(0x2be)]['UNIVER_DOC'],[_0x1f01a9])),this[_0x565ef6(0x30f)](this[_0x565ef6(0x486)][_0x565ef6(0x32f)](_0x5c9413['UniverInstanceType'][_0x565ef6(0x3ea)],[_0x5203d8]));}[_0x12a2cc(0x407)](){const _0x28c6da=_0x12a2cc;_0x5c9413['touchDependencies'](this[_0x28c6da(0x2fb)],[[_0x44788c],[_0x560529['DesktopCollaborationStatusDisplayController']],[_0x2beeff],[_0x7d8b6],[_0x560529[_0x28c6da(0x29b)]]]);}},_0x3506b7(_0x560529['UniverCollaborationClientUIPlugin'],'pluginName',_0x472ddf),_0x560529[_0x12a2cc(0x346)]=_0x5e70b2([_0x5c9413[_0x12a2cc(0x3af)](_0x532bba[_0x12a2cc(0x44e)]),_0x202d6d(0x1,_0x1f04f6[_0x12a2cc(0x3ef)]),_0x202d6d(0x2,_0x5c9413['Inject'](_0x5c9413[_0x12a2cc(0x414)])),_0x202d6d(0x3,_0x5c9413['IConfigService'])],_0x560529[_0x12a2cc(0x346)]);var _0x56da9c=Object[_0x12a2cc(0x436)],_0x49f51b=(_0x18ba02,_0x1ebcbd,_0x51397f,_0x30c61c)=>{const _0x19d9ad=_0x12a2cc;for(var _0x201d63=_0x30c61c>0x1?void 0x0:_0x30c61c?_0x56da9c(_0x1ebcbd,_0x51397f):_0x1ebcbd,_0x5790f3=_0x18ba02[_0x19d9ad(0x386)]-0x1,_0x1ff477;_0x5790f3>=0x0;_0x5790f3--)(_0x1ff477=_0x18ba02[_0x5790f3])&&(_0x201d63=_0x1ff477(_0x201d63)||_0x201d63);return _0x201d63;},_0x4e18b4=(_0x27e8cf,_0x4962de)=>(_0x43b834,_0x193a76)=>_0x4962de(_0x43b834,_0x193a76,_0x27e8cf);_0x560529[_0x12a2cc(0x3df)]=class extends _0x532bba[_0x12a2cc(0x274)]{constructor(_0x344c44,_0x296fda,_0x56505d,_0x33c353,_0x14ece0){super(_0x344c44,_0x296fda,_0x56505d,_0x33c353,_0x14ece0);}async[_0x12a2cc(0x25e)](_0x1a4e97){const _0x4d4415=_0x12a2cc,_0xc234dd=await this['_getSessionTicket'](),_0x4844b3=this[_0x4d4415(0x1ec)](_0x1a4e97,_0xc234dd);return this['_doCreateSocket'](_0x4844b3);}[_0x12a2cc(0x1ec)](_0x5ae278,_0x50ae6f){const _0x1eae65=_0x12a2cc,_0x69db9a=typeof window>'u'?new URL(_0x5ae278):new URL(_0x5ae278,window[_0x1eae65(0x394)][_0x1eae65(0x455)]);_0x69db9a[_0x1eae65(0x47e)]['set'](_0x1eae65(0x290),_0x50ae6f);const _0x16b394=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1eae65(0x394)][_0x1eae65(0x28a)]);return _0x16b394['get'](_0x1eae65(0x450))&&_0x69db9a[_0x1eae65(0x47e)][_0x1eae65(0x2ee)](_0x1eae65(0x450),_0x16b394[_0x1eae65(0x2f0)](_0x1eae65(0x450))),_0x69db9a[_0x1eae65(0x461)]();}async[_0x12a2cc(0x1fb)](){const _0x265873=_0x12a2cc;var _0x41a53e,_0x5da90f,_0xa617a1;const _0x5d673a=this[_0x265873(0x423)][_0x265873(0x3d7)](_0x532bba[_0x265873(0x243)]),_0x41c011=(_0x41a53e=_0x5d673a==null?void 0x0:_0x5d673a[_0x265873(0x2cc)])!=null?_0x41a53e:_0x532bba[_0x265873(0x451)];return(_0xa617a1=(_0x5da90f=(await this[_0x265873(0x3a0)][_0x265873(0x2f0)](_0x41c011,{'headers':{'Content-Type':_0x265873(0x3ed)}}))[_0x265873(0x43e)])==null?void 0x0:_0x5da90f['ticket'])!=null?_0xa617a1:'';}},_0x560529['BrowserCollaborationSocketService']=_0x49f51b([_0x4e18b4(0x0,_0x5c9413['Inject'](_0x5c9413['Injector'])),_0x4e18b4(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x592e97[_0x12a2cc(0x3dc)])),_0x4e18b4(0x2,_0x5c9413[_0x12a2cc(0x3a5)]),_0x4e18b4(0x3,_0x5c9413['ILogService']),_0x4e18b4(0x4,_0x492d9e[_0x12a2cc(0x347)])],_0x560529[_0x12a2cc(0x3df)]);const _0x4d14a8=0x7530,_0xfccced='ACTIVE_UNIT_EVENT_CHANNEL';class _0x11d245 extends _0x5c9413[_0x12a2cc(0x474)]{constructor(){const _0x1c4b0e=_0x12a2cc;super(),_0x1206b7(this,_0x1c4b0e(0x485),_0x5c9413[_0x1c4b0e(0x34a)]()),_0x1206b7(this,'_selfUnitIDs',new Set()),_0x1206b7(this,_0x1c4b0e(0x459),new Map()),_0x1206b7(this,_0x1c4b0e(0x38d),null),_0x1206b7(this,'_clearOtherTimers',new Map()),_0x1206b7(this,'_unitStatus',new Map()),this[_0x1c4b0e(0x47c)]();}['dispose'](){const _0x273d7a=_0x12a2cc;super[_0x273d7a(0x2eb)](),this[_0x273d7a(0x46d)][_0x273d7a(0x3c8)]((_0xdeacad,_0x5f3c53)=>this['_removeClearOtherTimer'](_0x5f3c53)),this[_0x273d7a(0x38d)]&&window[_0x273d7a(0x31d)](this[_0x273d7a(0x38d)]);}[_0x12a2cc(0x31a)](_0x5d7de4){return this['_ensureSubject'](_0x5d7de4)['pipe'](_0x5c807f['distinctUntilChanged']());}[_0x12a2cc(0x3cf)](_0xd19461){const _0x5b5108=_0x12a2cc;this[_0x5b5108(0x383)]['size']===0x0&&this[_0x5b5108(0x39c)](),this[_0x5b5108(0x383)][_0x5b5108(0x209)](_0xd19461),this[_0x5b5108(0x2d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xd19461],'isForwarded':!0x1});}[_0x12a2cc(0x41a)](_0x4020e1){const _0x79734f=_0x12a2cc;this[_0x79734f(0x383)][_0x79734f(0x1f6)](_0x4020e1),this[_0x79734f(0x383)][_0x79734f(0x483)]===0x0&&this[_0x79734f(0x38d)]&&window[_0x79734f(0x31d)](this[_0x79734f(0x38d)]);}[_0x12a2cc(0x47c)](){const _0xfc0748=_0x12a2cc;this['disposeWithMe'](_0x5c9413['toDisposable'](_0x5c807f['fromEvent'](window,'storage')[_0xfc0748(0x29f)](_0x1cb738=>{const _0x53773a=_0xfc0748;if(_0x1cb738[_0x53773a(0x1ef)]!==_0xfccced||!_0x1cb738[_0x53773a(0x204)])return;const _0x4b95f8=JSON[_0x53773a(0x2bd)](_0x1cb738['newValue']);this['_handleEvent'](_0x4b95f8);}))),window['addEventListener'](_0xfc0748(0x3e6),()=>this['_send']({'type':0x1,'memberID':this[_0xfc0748(0x485)],'unitIDs':Array[_0xfc0748(0x466)](this[_0xfc0748(0x383)])}));}[_0x12a2cc(0x3cd)](_0x330442){const _0x3527f5=_0x12a2cc;switch(_0x330442['type']){case 0x0:this[_0x3527f5(0x203)](_0x330442);break;case 0x1:this['_handleLeaveEvent'](_0x330442);break;case 0x2:this[_0x3527f5(0x2ac)](_0x330442);break;}}[_0x12a2cc(0x203)](_0xfbb224){const _0x18539c=_0x12a2cc,{unitIDs:_0x661a21,memberID:_0xd578d6,isForwarded:_0xa296e9}=_0xfbb224;_0x661a21[_0x18539c(0x3c8)](_0x4289a4=>{const _0x544d28=_0x18539c;if(!_0xa296e9&&this[_0x544d28(0x459)][_0x544d28(0x3f7)](_0x4289a4)&&this[_0x544d28(0x465)](_0x4289a4)[_0x544d28(0x1eb)](_0x532bba[_0x544d28(0x263)][_0x544d28(0x469)]),!this['_unitOnClients'][_0x544d28(0x3f7)](_0x4289a4)||!this[_0x544d28(0x459)]['get'](_0x4289a4)['has'](_0xd578d6)){const _0xee4858=this[_0x544d28(0x459)][_0x544d28(0x2f0)](_0x4289a4)||new Set();_0xee4858[_0x544d28(0x209)](_0xd578d6),this['_unitOnClients']['set'](_0x4289a4,_0xee4858),this['_scheduleClearOtherTimer'](_0xd578d6);}}),_0xa296e9||this[_0x18539c(0x2d2)]({'type':0x0,'memberID':this[_0x18539c(0x485)],'unitIDs':[...this[_0x18539c(0x383)]],'isForwarded':!0x0});}[_0x12a2cc(0x205)](_0x28561b){const _0x1ffb34=_0x12a2cc;this[_0x1ffb34(0x2a8)](_0x28561b);const _0x20d8f8=window['setTimeout'](()=>{const _0x44c099=_0x1ffb34;this[_0x44c099(0x459)][_0x44c099(0x3c8)](_0x4c7d1f=>{const _0x2cc092=_0x44c099;_0x4c7d1f[_0x2cc092(0x1f6)](_0x28561b);});},_0x4d14a8*0x2);this[_0x1ffb34(0x46d)][_0x1ffb34(0x2ee)](_0x28561b,_0x20d8f8);}[_0x12a2cc(0x2a8)](_0x2fe505){const _0xf9982c=_0x12a2cc;if(this[_0xf9982c(0x46d)][_0xf9982c(0x3f7)](_0x2fe505)){const _0x47b391=this[_0xf9982c(0x46d)][_0xf9982c(0x2f0)](_0x2fe505);_0x47b391&&window['clearTimeout'](_0x47b391),this[_0xf9982c(0x46d)][_0xf9982c(0x2ee)](_0x2fe505,null);}}[_0x12a2cc(0x2fd)](_0x249a3b){const _0x2d2273=_0x12a2cc,{memberID:_0x2f5604,unitIDs:_0x4bafe6}=_0x249a3b;_0x4bafe6[_0x2d2273(0x3c8)](_0x36b5da=>{const _0x84dea8=_0x2d2273;var _0xbf22ed;const _0x325f13=this[_0x84dea8(0x459)][_0x84dea8(0x2f0)](_0x36b5da);_0x325f13&&(_0x325f13[_0x84dea8(0x1f6)](_0x2f5604),(_0xbf22ed=this[_0x84dea8(0x465)](_0x36b5da))==null||_0xbf22ed['next'](_0x325f13[_0x84dea8(0x483)]===0x0?_0x532bba['UnitStatus'][_0x84dea8(0x447)]:_0x532bba[_0x84dea8(0x263)]['OTHER_CLIENTS_EDITING']));}),this[_0x2d2273(0x2a8)](_0x2f5604);}[_0x12a2cc(0x2ac)](_0x125ebb){const _0x5b911e=_0x12a2cc;this[_0x5b911e(0x205)](_0x125ebb[_0x5b911e(0x2dd)]);}[_0x12a2cc(0x2d2)](_0x4b6110){const _0x18746b=_0x12a2cc;localStorage[_0x18746b(0x472)](_0xfccced,JSON[_0x18746b(0x224)](_0x4b6110));}[_0x12a2cc(0x39c)](){const _0x710939=_0x12a2cc;this[_0x710939(0x38d)]=window[_0x710939(0x20d)](()=>{const _0x2c960f=_0x710939;this['_send']({'type':0x2,'memberID':this[_0x2c960f(0x485)]});},_0x4d14a8);}[_0x12a2cc(0x465)](_0x5c4a8b){const _0x4af816=_0x12a2cc;return this[_0x4af816(0x361)][_0x4af816(0x3f7)](_0x5c4a8b)||this[_0x4af816(0x361)][_0x4af816(0x2ee)](_0x5c4a8b,new _0x5c807f[(_0x4af816(0x3bb))](_0x532bba[_0x4af816(0x263)][_0x4af816(0x447)])),this['_unitStatus'][_0x4af816(0x2f0)](_0x5c4a8b);}}var _0x5e2200=(_0x317213=>(_0x317213[_0x317213[_0x12a2cc(0x42d)]=0x0]=_0x12a2cc(0x42d),_0x317213[_0x317213['OK']=0x1]='OK',_0x317213[_0x317213[_0x12a2cc(0x2e2)]=0x2]='INTERNAL_ERROR',_0x317213[_0x317213[_0x12a2cc(0x3f0)]=0x3]=_0x12a2cc(0x3f0),_0x317213[_0x317213[_0x12a2cc(0x2ab)]=0x4]=_0x12a2cc(0x2ab),_0x317213[_0x317213['UNAUTHENTICATED']=0x5]=_0x12a2cc(0x379),_0x317213[_0x317213[_0x12a2cc(0x3f8)]=0x6]=_0x12a2cc(0x3f8),_0x317213[_0x317213[_0x12a2cc(0x400)]=0x7]=_0x12a2cc(0x400),_0x317213[_0x317213[_0x12a2cc(0x375)]=0x8]=_0x12a2cc(0x375),_0x317213[_0x317213[_0x12a2cc(0x2c1)]=0x9]=_0x12a2cc(0x2c1),_0x317213[_0x317213[_0x12a2cc(0x260)]=0xa]=_0x12a2cc(0x260),_0x317213[_0x317213['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x317213[_0x317213[_0x12a2cc(0x42c)]=0xc]=_0x12a2cc(0x42c),_0x317213[_0x317213[_0x12a2cc(0x2ce)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x317213[_0x317213[_0x12a2cc(0x26e)]=0xe]=_0x12a2cc(0x26e),_0x317213[_0x317213[_0x12a2cc(0x287)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x317213[_0x317213[_0x12a2cc(0x31e)]=0x1771]=_0x12a2cc(0x31e),_0x317213[_0x317213['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x12a2cc(0x276),_0x317213[_0x317213[_0x12a2cc(0x229)]=0x1773]=_0x12a2cc(0x229),_0x317213[_0x317213[_0x12a2cc(0x443)]=0x1b59]=_0x12a2cc(0x443),_0x317213[_0x317213['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x317213[_0x317213[_0x12a2cc(0x42a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x317213[_0x317213['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x12a2cc(0x22f),_0x317213[_0x317213['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x317213[_0x317213[_0x12a2cc(0x24b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x317213[_0x317213[_0x12a2cc(0x3b2)]=0x2329]=_0x12a2cc(0x3b2),_0x317213[_0x317213[_0x12a2cc(0x2b2)]=0x232a]=_0x12a2cc(0x2b2),_0x317213[_0x317213[_0x12a2cc(0x2cf)]=0x232b]=_0x12a2cc(0x2cf),_0x317213[_0x317213[_0x12a2cc(0x30a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x317213[_0x317213[_0x12a2cc(0x2f8)]=0x232d]=_0x12a2cc(0x2f8),_0x317213[_0x317213['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12a2cc(0x2b8),_0x317213[_0x317213['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x12a2cc(0x40f),_0x317213[_0x317213['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x317213[_0x317213[_0x12a2cc(0x463)]=0x2714]=_0x12a2cc(0x463),_0x317213[_0x317213['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x12a2cc(0x2c5),_0x317213[_0x317213[_0x12a2cc(0x473)]=0x271b]=_0x12a2cc(0x473),_0x317213[_0x317213[_0x12a2cc(0x306)]=0x271c]=_0x12a2cc(0x306),_0x317213[_0x317213[_0x12a2cc(0x23d)]=0x271d]=_0x12a2cc(0x23d),_0x317213[_0x317213[_0x12a2cc(0x272)]=0x271e]=_0x12a2cc(0x272),_0x317213[_0x317213['YUUMI_AI_RUN_FAILED']=0x271f]=_0x12a2cc(0x45e),_0x317213[_0x317213[_0x12a2cc(0x2f7)]=0x2720]=_0x12a2cc(0x2f7),_0x317213[_0x317213['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x12a2cc(0x413),_0x317213[_0x317213['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x12a2cc(0x2c3),_0x317213[_0x317213[_0x12a2cc(0x279)]=0x2ee2]='INVALID_INVITE_CODE',_0x317213[_0x317213[_0x12a2cc(0x34b)]=0x2ee3]=_0x12a2cc(0x34b),_0x317213[_0x317213[_0x12a2cc(0x368)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x317213[_0x317213[_0x12a2cc(0x3bf)]=0x2ee5]=_0x12a2cc(0x3bf),_0x317213[_0x317213[_0x12a2cc(0x41b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x317213[_0x317213[_0x12a2cc(0x367)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x317213[_0x317213['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x12a2cc(0x32e),_0x317213[_0x317213[_0x12a2cc(0x216)]=-0x1]='UNRECOGNIZED',_0x317213))(_0x5e2200||{}),_0x5af3c1=Object[_0x12a2cc(0x436)],_0x43e4a1=(_0x3677bc,_0x292575,_0x2d178c,_0x33e079)=>{const _0x11e7f7=_0x12a2cc;for(var _0x844dac=_0x33e079>0x1?void 0x0:_0x33e079?_0x5af3c1(_0x292575,_0x2d178c):_0x292575,_0x4f3be8=_0x3677bc[_0x11e7f7(0x386)]-0x1,_0x5a70cc;_0x4f3be8>=0x0;_0x4f3be8--)(_0x5a70cc=_0x3677bc[_0x4f3be8])&&(_0x844dac=_0x5a70cc(_0x844dac)||_0x844dac);return _0x844dac;},_0x5f485a=(_0x28fc1b,_0x2bcf14)=>(_0x5531cc,_0x11765e)=>_0x2bcf14(_0x5531cc,_0x11765e,_0x28fc1b);_0x560529[_0x12a2cc(0x46c)]=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x4783c4,_0x4e2dcb,_0x1fef2a){const _0x241657=_0x12a2cc;super(),this[_0x241657(0x2aa)]=_0x4783c4,this['_httpService']=_0x4e2dcb,this[_0x241657(0x423)]=_0x1fef2a;}async['runOnServer'](_0x45af61,_0x6d8bcd,_0x247b29,..._0x132265){const _0x45c806=_0x12a2cc;var _0x49d502,_0x52d8ee,_0x1d35af,_0x5dc469;const _0x2c3f48=this[_0x45c806(0x2aa)][_0x45c806(0x3a3)]();if(!_0x2c3f48)throw new Error(_0x45c806(0x337));const _0x53fd09=((_0x49d502=this[_0x45c806(0x423)][_0x45c806(0x3d7)](_0x532bba[_0x45c806(0x275)]))!=null?_0x49d502:_0x532bba[_0x45c806(0x2e6)])+'/'+_0x45af61+_0x45c806(0x3e5)+_0x6d8bcd,_0x41bec9=new URL(window[_0x45c806(0x394)]['href']),_0x5465cc={'scriptId':_0x45af61,'runId':(_0x52d8ee=_0x41bec9[_0x45c806(0x47e)][_0x45c806(0x2f0)](_0x45c806(0x450)))!=null?_0x52d8ee:'','function':_0x6d8bcd,'unitId':_0x2c3f48['getUnitId'](),'argsOfFunction':JSON[_0x45c806(0x224)](_0x132265),'invokeId':(_0x1d35af=_0x247b29[_0x45c806(0x43c)])!=null?_0x1d35af:'','executionId':(_0x5dc469=_0x247b29[_0x45c806(0x1f7)])!=null?_0x5dc469:''};try{const _0x2e2fb2=await this[_0x45c806(0x3a0)][_0x45c806(0x3e9)](_0x53fd09,{'body':_0x5465cc});return _0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x262)]&&_0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x262)][_0x45c806(0x39e)]!==_0x5e2200['OK']?_0x45c806(0x34d):_0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x2e7)];}catch{return'Failed';}}},_0x560529[_0x12a2cc(0x46c)]=_0x43e4a1([_0x5f485a(0x0,_0x5c9413[_0x12a2cc(0x35d)]),_0x5f485a(0x1,_0x5c9413['Inject'](_0x592e97[_0x12a2cc(0x3dc)])),_0x5f485a(0x2,_0x5c9413[_0x12a2cc(0x3a5)])],_0x560529[_0x12a2cc(0x46c)]),_0x560529['CollaborationStatusDisplay']=_0x892990,_0x560529[_0x12a2cc(0x350)]=_0x5c53ec,_0x560529[_0x12a2cc(0x288)]=_0x3df81e,_0x560529['WebBrowserSingleActiveUnitService']=_0x11d245,_0x560529[_0x12a2cc(0x433)]=_0x2821f4,Object[_0x12a2cc(0x295)](_0x560529,Symbol[_0x12a2cc(0x47a)],{'value':_0x12a2cc(0x2d3)});}));function _0x380c(_0x3ad04e,_0x1550d2){const _0x1c909a=_0x1c90();return _0x380c=function(_0x380cb5,_0x2959e8){_0x380cb5=_0x380cb5-0x1e5;let _0x242a12=_0x1c909a[_0x380cb5];return _0x242a12;},_0x380c(_0x3ad04e,_0x1550d2);}function _0x1c90(){const _0x5dc924=['getOwnPropertySymbols','amd','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetId','ILogService','DependentOn','Plugin','function','LICENSE_MAX_UNITS_EXCEEDED','addObjects','useDependency','_lastPointer','_logService','_imageIoService','COLORS','IImageIoService','unit','BehaviorSubject','handleDeleteRangeMoveLeft','mergeOverrideWithDependencies','@univerjs/engine-render','INVITE_CODE_ALREADY_BOUND','transform','0\x200\x2017\x2016','triggerDblclick','getRelativeToViewportCoord','name','OffLineIcon','ColorKit','getAncestorScale','forEach','m2Prime','AWAITING','86958LRffBV','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleEvent','url(#$1','editingUnit','LocaleService','focused$','InsertRangeMoveRightCommandId','_transformUndoRedoStack','DOC_RANGE_TYPE','all','DocCollaborationEntity','getConfig','string','_startSheetCollabCursor','PENDING','UniverIcon','HTTPService','uni.network.url-service','RemoveRowCommandId','BrowserCollaborationSocketService','toDisposable','moveTo','extend','@univerjs/design','row','/run/','unload','_shapes','UniverDocsUi','post','UNIVER_SHEET','RevisionService','_textBubble','application/json','transformStateCache','IRenderManagerService','PERMISSION_DENIED','_docTransformSelectionsService','_collabSessionService','purple.300','transformRemoteChangeset','rgba(255,\x20255,\x20255,\x200.01)','ITransformService','has','ALREADY_EXISTS','measureText','propertyIsEnumerable','enableLocalCache','EffectRefRangId','USERS_LEAVE','SetWorksheetActivateCommand','concat','INVALID_ARGUMENT','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','_toggleOnline','attrs','updateOfflineData','_docStateChangeManagerService','permission.title','_initDependencies','replaceState','href','setConfig','Optional','Shape','_hideTimer','_updateLocalCursor','YUUMI_URL_COL_OUT_OF_RANGE','white','collab-rect-range-','closePath','PY_RUNTIME_SCRIPT_ERROR','Injector','transformMutationsWithChangeset','black','on-line-icon','_updateURLWithCurrentState','registerRefRange','disposeUnit','WECHAT_HAS_BEEN_BOUND','_updateSubUnitFromURLParams','max','CollaborationStatus','_transformPreviousActiveRange','getStateCache','throttleTime','_drawRectRange','_configService','OFFLINE','idSuffix','lineTo','top','http://www.w3.org/2000/svg','_hovered','APPLY_REVISION_CONFILICT','_localStorageService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNDEFINED','deepClone','rxjs','hide','_docClipboardService','handleMoveRange','WebURLService','collabStatus.offline','RxDisposable','getOwnPropertyDescriptor','currentSkeleton$','5JdZWQA','drawWith','round','React','invokeId','UNIVER_DOC','body','assign','createIdentifier','disableLocalCache','save','APPLY_REJECT','ILocalCacheService','connectInjector','_getSheetObject','NO_OTHER_CLIENTS_EDITING','isTransformMutationsWithChangesetSuccess','0\x200\x2016\x2016','_initResize','_docSkeletonManagerService','collabStatus.synced','labelPosition','UniverCollaborationClientPlugin','getCurrentRevOfUnit','runId','DEFAULT_WS_SESSION_TICKET_URL','cursorInfo','_collabCursorController','findNodePositionByCharIndex','origin','width','takeUntil','UniverCore','_unitOnClients','UniverSheetsUi','popstate','getUnhiddenWorksheets','getRangePointData','YUUMI_AI_RUN_FAILED','getUnitId','red.300','toString','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','tag','_ensureSubject','from','createElement','addObject','OTHER_CLIENTS_EDITING','unshift','LOCAL_CACHE_INTERVAL','RemoteUniscriptService','_clearOtherTimers','TEXT_RANGE_LAYER_INDEX','SheetsSelectionsService','path','currentColor','setItem','YUUMI_ASYNCIO_CANCELLED','Disposable','current','indexOf','getMemberID','UniverProCollaboration','yellow.400','toStringTag','DesktopCollaborationStatusDisplayController','_init','off-line-icon','searchParams','debounce','getItem','_startDocCollabCursor','substring','size','_revisionService','_id','_renderManagerService','url(#off-line-icon_clip0_910_343)','ranges','74020NjlrTk','fillRule','mutations','_urlService','next','_createSocketURL','HEADER_MENU','debug','key','replace','react','_render','addClipboardHook','arc','values','delete','executionId','collab-text-range-','MemberService','_collaborationUIEventService','_getSessionTicket','svg','handleInsertRow','roomMembers$','ISocketService','transformByState','getViewport','_assignedColors','_handleJoinEvent','newValue','_scheduleClearOtherTimer','text','NodePositionConvertToCursor','_colorIndex','add','getActiveRange','#FFF','sessionStatus$','setInterval','_onCursorUpdate','redoState','fillStyle','_updateCollabCursors','IDocClipboardService','DisposableCollection','_online','session.collaboration-timeout','UNRECOGNIZED','_registerDependencies','mask','runRefRangeMutations','handleInsertRangeMoveDown','getCollabCursors$','_scheduleSaving','_drawAnchor','_refRangeService','Tools','defs','saveImage','init','collabStatus.conflict','stringify','univer-flex\x20univer-items-center','hasOwnProperty','_status$','_anchorDot','ENSURE_SNAPSHOT_EXECUTION','484984karcVp','merge','_cursors','getVpScrollXYInfoByPosToVp','icon','APPLY_PERMISSION_DENIED','then','fromEventSubject','FromArray','OnLineIcon','IUIPartsService','trim','univerjs-icon\x20univerjs-icon-','_registerRenderDependencies','replaceDocRanges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','call','_entities','_syncEditingCollabCursorService','YUUMI_ALL_TABLES_IS_INVALID','_initStatusListener','getColor','transformIMECache','height','Vector2','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','8743030PffRbV','ThemeService','DataLoaderService','clearTimeout','startColumn','displayName','switchMap','CONNECTOR_DATA_TOO_LARGE','_collabCursorState$','MessageType','_collaborationController','_saveTaskMap','InsertRowCommandId','_initCommandExecutedListener','DocSelectionManagerService','serializeRangeWithSheet','getRenderById','_transformHistoryAndStateStack','subscribeEvent','_refreshCollabCursors','jsxs','restore','TEXT','UniverDesign','bottom','flatMap','createSocket','imageSourceType','LOGIN_FAILED','UniverEngineFormula','error','UnitStatus','CollaborationController','fill','toRgbString','setStateCache','Unknown\x20user','UniverProCollaborationClient','collabStatus.fetchMiss','_docSyncEditingCollabCursorService','_eventUnsubscribe','isActive','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_draw','_transformService','loadUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','6093975KOebLI','INVALID_INVITE_CODE','getActiveSheet','_localeService','_session','handleInsertRangeMoveRight','combineLatest','clsx','textRanges','params','@univerjs/rpc','setParam','exports','history','currentTheme$','CHANGESET_REVISION_CONFILICT','SheetCollabCursorShape','beginPath','search','_handleHover','UniverEngineRender','_setupSubUnitSync','executeCommand','55KcjnvN','sessionTicket','dispose$','_entityInit$','mapTo','ONLINE','defineProperty','@univerjs/docs','_themeService','handleInsertCol','DocStateChangeManagerService','entityInit$','CollaborationDataLoaderController','saveOfflineData','none','getValue','subscribe','useRef','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','_color','subUnitId','_docTransformStateCacheService','skeleton','saveTaskMap','_drawTextRange','_removeClearOtherTimer','Error','_instanceService','NOT_FOUND','_handleHeartbeatEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','pipe','onCommandExecuted','collabCursorState$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clipPath','@univerjs/sheets','actions','transformSelections','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','jsx','_initEvent','children','cursorInfo$','parse','UniverInstanceType','getCoordByCell','_setupBeforeClosingHandler','COMPLETION_FINISHED','MoveRangeCommandId','INVITE_CODE_HAS_BEEN_UES','isArray','YUUMI_NO_CUBOID_FOR_QUESTION','urlChange$','collaboration.single-unit.warning','unitID','requireSession','_onCursorDelete','_dataLoaderService','wsSessionTicketUrl','green.600','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_IMPORT_SIZE_EXCEEDED','CONFLICT','getMember','_send','Module','colorChannel1','m1Prime','_initEntityListener','shareReplay','fillText','collaboration.closeRoom','createInstance','useObservable','SOCKET_FAILED','memberID','getColorFromTheme','collabStatus.syncing','getDocRanges','LOCAL_CACHE_INTERVAL_KEY','INTERNAL_ERROR','hovered','UniverUi','_beforeCloseService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','result','_config','CommandType','RegularPolygon','dispose','InsertRangeMoveDownCommandId','12vfiPqe','set','min','get','SHEET_VIEWPORT_KEY','_commandService','getCurrentUnitForType','SetSelectionsOperation','asObservable','selection','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_DISTRO_REJECTED','onPointerLeave$','setShapeProps','_injector','column','_handleLeaveEvent','object','data','_name','_cursor','color','useCallback','assignAColorForMemberID','transformMutation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_colorAssignService','prototype','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','getSheetBySheetId','getLocalCacheKey','docStateChange$','disposeWithMe','9jDcAvr','_cursorInfo$','CollaborationUIEventService','UPDATE_CURSOR','getUndoRedoMutationParamsCache','resize','onRendered','collab-text-anchor-','registerComponent','AWAITING_WITH_PENDING','getUnitStatus$','isTransformMutationFailure','Warning','clearInterval','SNAPSHOT_INVALID_SNAPSHOT','_getScale','INotificationService','RECT','@univerjs/drawing','VIEW_MAIN','getOffsetConfig','CLOSE_ROOM','_removeCollabCursors','_memberService','_saveCache','react/jsx-runtime','onTransformChange$','getCollabEntity$','Workbook','_cursorShapes','EMAIL_HAS_BEEN_BOUND','registerRenderModule','unitId','Rect','DocSkeletonManagerService','split','SessionStatus','onMouseMove','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onPointerMove$','div','range','UniverRpc','filter','override','reconnect','symbol','IBeforeCloseService','_onRefRangeChange','session.will-retry','_sheetSkeletonManagerService','getTypeOfUnitDisposed$','UniverDocs','UniverCollaborationClientUIPlugin','ISnapshotServerService','SetTextSelectionsOperation','_cachedData','generateRandomId','INVITE_CODE_REQUIRED','_labelPosition','Failed','_localCacheService','_roomMembers$','IURLService','DocIMEInputManagerService','_anchor','_backgroundColor','subunit','event$','CollaborationUIEventId','[CollaborationDataLoaderController]','collabStatus.notCollab','DeleteRangeMoveUpCommandId','getCurrent','_toggleOffline','...','IUniverInstanceService','type','ILocalStorageService','11953520VMMpFw','_unitStatus','_document','12675474KVQSFU','_univerInstanceService','_context','entries','MOBILE_HAS_BEEN_BOUND','USER_NOT_INVITED_CODE','BuiltInUIPart','setAlpha','show','undoState','roomMembers','xlink:href','@univerjs/ui','_docTransformIMECacheService','map','on-line-icon_clip0_910_349','getParam','syncEditingCollabCursor','TOO_MANY_REQUESTS','_getSaveTimeout','getCellPositionByOffset','defIds','UNAUTHENTICATED','complete','handleIRemoveCol','IRemoteInstanceService','_range','with','_uiPartsService','forwardRef','MUTATION','unsubscribe','_selfUnitIDs','evenodd','collab-client.tooltip.reconnect','length','IMessageService','@univerjs/engine-formula','jiqing.500','setUndoRedoMutationParamsCache','operators','Inject','_heartbeatTimer','_scene','SheetSkeletonManagerService','random','_disabled','univer-mr-2\x20univer-flex\x20univer-text-xl','pushState','location','_messageService','DeleteRangeMoveLeftCommandId','RemoveColCommandId','_getMergeRange','backgroundColor','onStarting','endRow','_scheduleHeartbeat','push','code','1em','_httpService','includes','off-line-icon_clip0_910_343','getFocusedUnit','getTypeOfUnitAdded$','IConfigService','removeParam','_hover','ICommandService','doc.mutation.rich-text-editing'];_0x1c90=function(){return _0x5dc924;};return _0x1c90();}