@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505131607 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xd94b(_0x2671ed,_0x85da64){const _0xf6ffa4=_0xf6ff();return _0xd94b=function(_0xd94b1c,_0x522e83){_0xd94b1c=_0xd94b1c-0x167;let _0x38f136=_0xf6ffa4[_0xd94b1c];return _0x38f136;},_0xd94b(_0x2671ed,_0x85da64);}(function(_0x163aed,_0x117127){const _0x351b6c=_0xd94b,_0x1d9f72=_0x163aed();while(!![]){try{const _0x428043=parseInt(_0x351b6c(0x1ec))/0x1*(parseInt(_0x351b6c(0x3a6))/0x2)+-parseInt(_0x351b6c(0x394))/0x3+parseInt(_0x351b6c(0x2ac))/0x4*(parseInt(_0x351b6c(0x18e))/0x5)+parseInt(_0x351b6c(0x2ae))/0x6*(parseInt(_0x351b6c(0x1b0))/0x7)+parseInt(_0x351b6c(0x1e5))/0x8*(-parseInt(_0x351b6c(0x1f1))/0x9)+parseInt(_0x351b6c(0x35c))/0xa+-parseInt(_0x351b6c(0x35e))/0xb*(parseInt(_0x351b6c(0x3a2))/0xc);if(_0x428043===_0x117127)break;else _0x1d9f72['push'](_0x1d9f72['shift']());}catch(_0x2379fa){_0x1d9f72['push'](_0x1d9f72['shift']());}}}(_0xf6ff,0x44351),function(_0x267e16,_0x33bfd8){const _0x510c52=_0xd94b;typeof exports==_0x510c52(0x17b)&&typeof module<'u'?_0x33bfd8(exports,require(_0x510c52(0x290)),require(_0x510c52(0x1ea)),require(_0x510c52(0x276)),require(_0x510c52(0x1f3)),require(_0x510c52(0x330)),require(_0x510c52(0x185)),require('rxjs'),require('@univerjs/docs'),require(_0x510c52(0x3d8)),require(_0x510c52(0x200)),require(_0x510c52(0x350)),require(_0x510c52(0x25b)),require('@univerjs/sheets-ui'),require(_0x510c52(0x2e8)),require(_0x510c52(0x1c2)),require(_0x510c52(0x299)),require('react'),require(_0x510c52(0x1cc))):typeof define=='function'&&define[_0x510c52(0x369)]?define([_0x510c52(0x1d7),_0x510c52(0x290),_0x510c52(0x1ea),_0x510c52(0x276),_0x510c52(0x1f3),_0x510c52(0x330),_0x510c52(0x185),_0x510c52(0x1c9),_0x510c52(0x24f),_0x510c52(0x3d8),'@univerjs/engine-formula',_0x510c52(0x350),'rxjs/operators',_0x510c52(0x39b),_0x510c52(0x2e8),'@univerjs/ui',_0x510c52(0x299),_0x510c52(0x3d5),_0x510c52(0x1cc)],_0x33bfd8):(_0x267e16=typeof globalThis<'u'?globalThis:_0x267e16||self,_0x33bfd8(_0x267e16[_0x510c52(0x2d6)]={},_0x267e16[_0x510c52(0x225)],_0x267e16[_0x510c52(0x236)],_0x267e16[_0x510c52(0x227)],_0x267e16['UniverNetwork'],_0x267e16['UniverDocsUi'],_0x267e16[_0x510c52(0x31a)],_0x267e16[_0x510c52(0x1c9)],_0x267e16[_0x510c52(0x2ff)],_0x267e16['UniverProCollaboration'],_0x267e16[_0x510c52(0x347)],_0x267e16[_0x510c52(0x3d1)],_0x267e16['rxjs'][_0x510c52(0x3b7)],_0x267e16['UniverSheetsUi'],_0x267e16[_0x510c52(0x384)],_0x267e16[_0x510c52(0x3a0)],_0x267e16[_0x510c52(0x3ae)],_0x267e16[_0x510c52(0x384)],_0x267e16[_0x510c52(0x1b5)]));}(this,function(_0x4e4c58,_0x5e2e2e,_0x134956,_0x31808c,_0x2d4778,_0x241046,_0x255d1f,_0x35f7fc,_0x5e9066,_0x469b6a,_0x3802f6,_0x105017,_0x486b4f,_0x4ffe22,_0xc2469,_0x4b07f4,_0x14c7fd,_0x569492,_0x346cc2){'use strict';const _0x1f91f3=_0xd94b;var _0x20bfee=Object[_0x1f91f3(0x1cf)],_0x20b2cb=(_0x1210b4,_0x3093cc,_0x27d4c9)=>_0x3093cc in _0x1210b4?_0x20bfee(_0x1210b4,_0x3093cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27d4c9}):_0x1210b4[_0x3093cc]=_0x27d4c9,_0x1ffdb1=(_0x2e1746,_0x4d2e87,_0x3cbd4c)=>_0x20b2cb(_0x2e1746,typeof _0x4d2e87!='symbol'?_0x4d2e87+'':_0x4d2e87,_0x3cbd4c),_0x1b5a09=Object[_0x1f91f3(0x29b)],_0x1f64a5=(_0x4edf62,_0x54a97c,_0x322503,_0x4943c8)=>{const _0x11ad62=_0x1f91f3;for(var _0x4ac626=_0x4943c8>0x1?void 0x0:_0x4943c8?_0x1b5a09(_0x54a97c,_0x322503):_0x54a97c,_0x576cfb=_0x4edf62[_0x11ad62(0x3f6)]-0x1,_0x11f261;_0x576cfb>=0x0;_0x576cfb--)(_0x11f261=_0x4edf62[_0x576cfb])&&(_0x4ac626=_0x11f261(_0x4ac626)||_0x4ac626);return _0x4ac626;},_0x3d849a=(_0x25ca25,_0x2e95fe)=>(_0x3858bf,_0x91ce6a)=>_0x2e95fe(_0x3858bf,_0x91ce6a,_0x25ca25);let _0x42f183=class extends _0x134956['RxDisposable']{constructor(_0x3034d8,_0xc26263){const _0x18bbdd=_0x1f91f3;super(),this[_0x18bbdd(0x3a3)]=_0x3034d8,this[_0x18bbdd(0x1dc)]=_0xc26263,this[_0x18bbdd(0x3c4)]();}['_init'](){const _0x52c76b=_0x1f91f3,_0x140763=this;this['disposeWithMe'](this[_0x52c76b(0x3a3)][_0x52c76b(0x29d)]({'onBeforePasteImage':async _0x1fc602=>{const _0x475d4a=_0x52c76b,_0x3bc38f=await _0x140763[_0x475d4a(0x1dc)][_0x475d4a(0x3b9)](_0x1fc602);return _0x3bc38f?{'source':_0x3bc38f[_0x475d4a(0x310)],'imageSourceType':_0x3bc38f['imageSourceType']}:null;}}));}};_0x42f183=_0x1f64a5([_0x3d849a(0x0,_0x241046[_0x1f91f3(0x2c6)]),_0x3d849a(0x1,_0x255d1f[_0x1f91f3(0x36a)])],_0x42f183);const _0x379119=[_0x1f91f3(0x3ac),'jiqing.500','green.600',_0x1f91f3(0x32a),_0x1f91f3(0x3f8),_0x1f91f3(0x309)];class _0x519a71 extends _0x134956[_0x1f91f3(0x1fe)]{constructor(){const _0x3ed5a7=_0x1f91f3;super(...arguments),_0x1ffdb1(this,_0x3ed5a7(0x388),new Map()),_0x1ffdb1(this,_0x3ed5a7(0x381),0x0);}['assignAColorForMemberID'](_0x1510d2){const _0x317af7=_0x1f91f3;if(this[_0x317af7(0x388)][_0x317af7(0x1bf)](_0x1510d2))return this['_assignedColors']['get'](_0x1510d2);const _0xa0ed00=_0x379119[this[_0x317af7(0x381)]];return this['_colorIndex']=(this[_0x317af7(0x381)]+0x1)%_0x379119[_0x317af7(0x3f6)],this[_0x317af7(0x388)][_0x317af7(0x3b0)](_0x1510d2,_0xa0ed00),_0xa0ed00;}}function _0x490f09(_0x5194b8){const _0x2c1b65=_0x1f91f3;let _0x5c9040='';for(const _0x5228b9 of _0x5194b8){const {startOffset:_0x10c507,endOffset:_0x256282,isActive:_0x3a185f,rangeType:_0xb8d7d,segmentId:_0x592c80,segmentPage:_0x13fe35}=_0x5228b9;_0x5c9040[_0x2c1b65(0x3f6)]&&(_0x5c9040+=','),_0x5c9040+=_0x10c507+':'+_0x256282+':'+(_0x3a185f?'1':'0')+':'+_0xb8d7d+':'+_0x592c80+':'+_0x13fe35;}return _0x5c9040;}function _0x24713d(_0x15b2a6){const _0x438704=_0x1f91f3,_0x51fda5=_0x15b2a6[_0x438704(0x257)](','),_0x1b8c93=[];for(const _0x2cca97 of _0x51fda5){const [_0x1acb90,_0x560b3e,_0x194adf,_0x1c9018,_0x115f83,_0x43b9de]=_0x2cca97[_0x438704(0x257)](':');_0x1b8c93[_0x438704(0x2fb)]({'startOffset':Number(_0x1acb90),'endOffset':Number(_0x560b3e),'collapsed':_0x1acb90===_0x560b3e,'isActive':_0x194adf==='1','rangeType':_0x1c9018===_0x134956[_0x438704(0x251)]['TEXT']?_0x134956[_0x438704(0x251)][_0x438704(0x293)]:_0x134956[_0x438704(0x251)]['RECT'],'segmentId':typeof _0x115f83==_0x438704(0x2cb)?String(_0x115f83):'','segmentPage':Number(_0x43b9de!=null?_0x43b9de:-0x1)});}return _0x1b8c93[_0x438704(0x387)](_0x29654f=>_0x29654f['isActive'])||(_0x1b8c93[0x0][_0x438704(0x254)]=!0x0),_0x1b8c93;}class _0x24c16d extends _0x134956[_0x1f91f3(0x3a9)]{constructor(){const _0x4de11b=_0x1f91f3;super(...arguments),_0x1ffdb1(this,_0x4de11b(0x345),new _0x35f7fc[(_0x4de11b(0x32e))](null)),_0x1ffdb1(this,_0x4de11b(0x398),this['_collabCursorState$'][_0x4de11b(0x3a8)]());}[_0x1f91f3(0x1ab)](_0x3260b6){const _0x40cb5f=_0x1f91f3,{unitID:_0x2d1fb8,memberID:_0x1f49cd,textRanges:_0x27f8b1}=_0x3260b6,_0x2da17b=_0x490f09(_0x27f8b1);if(_0x2da17b==='')return;const _0x495b00={'unitID':_0x2d1fb8,'memberID':_0x1f49cd,'selection':_0x2da17b};this['_collabCursorState$'][_0x40cb5f(0x244)](_0x495b00);}}var _0x127a1a=Object['getOwnPropertyDescriptor'],_0x2a392e=(_0x220815,_0x3d48d0,_0x2aac60,_0xd4a864)=>{for(var _0xbfc197=_0xd4a864>0x1?void 0x0:_0xd4a864?_0x127a1a(_0x3d48d0,_0x2aac60):_0x3d48d0,_0x4e4f3f=_0x220815['length']-0x1,_0x259c5f;_0x4e4f3f>=0x0;_0x4e4f3f--)(_0x259c5f=_0x220815[_0x4e4f3f])&&(_0xbfc197=_0x259c5f(_0xbfc197)||_0xbfc197);return _0xbfc197;},_0x525d5d=(_0x47169c,_0x4cb9a2)=>(_0x273a05,_0x4e749f)=>_0x4cb9a2(_0x273a05,_0x4e749f,_0x47169c);const _0x5635d5=0x12c,_0x1c5f4b=0x64;let _0x1692a8=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x194527,_0x360eed,_0xc7e06a,_0x3ee864,_0x298ddd,_0x985b5b,_0x2a91a6,_0x1aec73,_0x407b14){const _0x131709=_0x1f91f3;super(),_0x1ffdb1(this,'_online',!0x1),_0x1ffdb1(this,_0x131709(0x3c4),!0x1),_0x1ffdb1(this,_0x131709(0x318),new _0x35f7fc['BehaviorSubject'](new Map())),_0x1ffdb1(this,_0x131709(0x397),this[_0x131709(0x318)][_0x131709(0x3a8)]()),_0x1ffdb1(this,_0x131709(0x2be),new _0x35f7fc[(_0x131709(0x32e))]([])),_0x1ffdb1(this,_0x131709(0x31b),this['_roomMembers$'][_0x131709(0x1d5)](_0x35f7fc['debounceTime'](_0x5635d5))),_0x1ffdb1(this,_0x131709(0x2d4),_0x134956['debounce'](_0x3f00f3=>{const _0x618c30=_0x131709,_0x25ac28={'eventID':_0x469b6a[_0x618c30(0x24d)][_0x618c30(0x3f7)],'data':{'unitID':this[_0x618c30(0x20a)],'memberID':this[_0x618c30(0x371)][_0x618c30(0x215)](),'selection':_0x490f09(_0x3f00f3)}};this[_0x618c30(0x371)][_0x618c30(0x30c)](_0x25ac28,this[_0x618c30(0x20a)]);},_0x1c5f4b)),(this[_0x131709(0x20a)]=_0x194527,this['_session']=_0x360eed,this[_0x131709(0x314)]=_0xc7e06a,this[_0x131709(0x1c3)]=_0x3ee864,this[_0x131709(0x267)]=_0x298ddd,this[_0x131709(0x363)]=_0x985b5b,this['_transformService']=_0x2a91a6,this['_univerInstanceService']=_0x1aec73,this[_0x131709(0x2d9)]=_0x407b14);}get['cursorInfo'](){const _0xf7bc54=_0x1f91f3;return this[_0xf7bc54(0x318)]['getValue']();}get['roomMembers'](){const _0x176217=_0x1f91f3;return this[_0x176217(0x2be)]['getValue']();}[_0x1f91f3(0x3e3)](){const _0x252c43=_0x1f91f3;super[_0x252c43(0x3e3)](),this['_cursorInfo$'][_0x252c43(0x244)](new Map()),this['_cursorInfo$'][_0x252c43(0x30d)](),this['_roomMembers$'][_0x252c43(0x244)]([]),this[_0x252c43(0x2be)]['complete']();}[_0x1f91f3(0x32f)](){const _0x2aaf35=_0x1f91f3;this[_0x2aaf35(0x3c4)]||(this[_0x2aaf35(0x3c4)]=!0x0,this[_0x2aaf35(0x371)][_0x2aaf35(0x336)]['pipe'](_0x35f7fc['takeUntil'](this['dispose$']))[_0x2aaf35(0x203)](_0x5e28f9=>{const _0x10853a=_0x2aaf35;_0x5e28f9===_0x5e2e2e[_0x10853a(0x335)][_0x10853a(0x2da)]?this[_0x10853a(0x3c9)]():this[_0x10853a(0x31d)]();}),this['_session'][_0x2aaf35(0x2a8)][_0x2aaf35(0x1d5)](_0x35f7fc[_0x2aaf35(0x269)](this[_0x2aaf35(0x25d)]))[_0x2aaf35(0x203)](_0x5cc6bd=>{const _0xb50ac0=_0x2aaf35,_0x2b9a21=_0x5cc6bd[_0xb50ac0(0x31e)];_0x2b9a21===_0x469b6a[_0xb50ac0(0x24d)][_0xb50ac0(0x3f7)]&&this[_0xb50ac0(0x1f9)](_0x5cc6bd),_0x2b9a21===_0x469b6a[_0xb50ac0(0x24d)][_0xb50ac0(0x281)]&&this[_0xb50ac0(0x3df)](_0x5cc6bd);}),this[_0x2aaf35(0x20d)](this[_0x2aaf35(0x2d9)][_0x2aaf35(0x282)](_0x3af3c0=>{const _0x90a09=_0x2aaf35,_0x544054=_0x3af3c0['params'];_0x544054!=null&&this[_0x90a09(0x1df)]&&_0x3af3c0['id']===_0x5e9066[_0x90a09(0x337)]['id']&&_0x544054['unitId']===this['unitID']&&_0x544054['isEditing']===!0x1&&_0x544054[_0x90a09(0x1b1)][_0x90a09(0x3f6)]>0x0&&this[_0x90a09(0x2d4)](_0x544054[_0x90a09(0x1b1)]);})),this[_0x2aaf35(0x363)][_0x2aaf35(0x398)][_0x2aaf35(0x1d5)](_0x35f7fc[_0x2aaf35(0x269)](this[_0x2aaf35(0x25d)]))[_0x2aaf35(0x203)](_0x4729ca=>{const _0x49aaa8=_0x2aaf35;if((_0x4729ca==null?void 0x0:_0x4729ca[_0x49aaa8(0x20a)])!==this[_0x49aaa8(0x20a)])return;const _0x1b3346={'eventID':_0x469b6a['CollaborationEvent'][_0x49aaa8(0x3f7)],'data':_0x4729ca};this[_0x49aaa8(0x1f9)](_0x1b3346);}),this['disposeWithMe'](this[_0x2aaf35(0x2d9)][_0x2aaf35(0x282)](_0x19de5b=>{const _0x3a8139=_0x2aaf35;if(_0x19de5b[_0x3a8139(0x2ed)]==null)return;const _0x57591b=_0x19de5b[_0x3a8139(0x2ed)];if(_0x19de5b['id']!==_0x5e9066[_0x3a8139(0x22d)]['id']||_0x57591b['unitId']!==this[_0x3a8139(0x20a)])return;const _0x37318d={'id':_0x3a8139(0x317),'params':_0x57591b},_0x5db887=this[_0x3a8139(0x1e6)];for(const [_0x58afa6,_0x2cf4fe]of _0x5db887){const _0xb74ea3={'id':_0x3a8139(0x317),'params':{'unitId':this[_0x3a8139(0x20a)],'actions':null,'textRanges':_0x2cf4fe['ranges']}},_0x270e70=this[_0x3a8139(0x37c)]['transformMutation'](_0x37318d,_0xb74ea3,!0x1);if(_0x469b6a['isTransformMutationFailure'](_0x270e70))throw _0x270e70[_0x3a8139(0x385)];_0x5db887[_0x3a8139(0x3b0)](_0x58afa6,{..._0x2cf4fe,'ranges':_0x270e70[_0x3a8139(0x1a7)][_0x3a8139(0x2ed)][_0x3a8139(0x23c)]});}queueMicrotask(()=>{const _0x35a01e=_0x3a8139;this[_0x35a01e(0x318)]['next'](_0x5db887);});})));}[_0x1f91f3(0x1f9)](_0x1e5574){const _0x19a8a9=_0x1f91f3;var _0x3a8976,_0x1b194e;const {memberID:_0x40c94d,selection:_0x32f752}=_0x1e5574[_0x19a8a9(0x2a2)],_0x21acd9=_0x24713d(_0x32f752),_0x1d1bd1=(_0x1b194e=(_0x3a8976=this[_0x19a8a9(0x267)][_0x19a8a9(0x272)](this['unitID'],_0x40c94d))==null?void 0x0:_0x3a8976[_0x19a8a9(0x2c5)])!=null?_0x1b194e:_0x19a8a9(0x3ca),_0x3b57ae={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x40c94d),'name':_0x1d1bd1,'ranges':_0x21acd9},_0xad42ea=this[_0x19a8a9(0x1e6)];_0xad42ea[_0x19a8a9(0x3b0)](_0x40c94d,_0x3b57ae),this['_cursorInfo$'][_0x19a8a9(0x244)](_0xad42ea);}[_0x1f91f3(0x3df)](_0x11fbf7){const _0x304763=_0x1f91f3,{memberID:_0x3807c9}=_0x11fbf7[_0x304763(0x2a2)],_0x24a4d9=this['cursorInfo'];_0x24a4d9[_0x304763(0x2de)](_0x3807c9),this[_0x304763(0x318)][_0x304763(0x244)](_0x24a4d9);}[_0x1f91f3(0x3c9)](){const _0x4fa2c4=_0x1f91f3;var _0x45ac4a;if(this['_online']=!0x0,((_0x45ac4a=this[_0x4fa2c4(0x3c1)][_0x4fa2c4(0x3aa)]())==null?void 0x0:_0x45ac4a[_0x4fa2c4(0x333)]())!==this['unitID'])return;const _0x11bc16=this[_0x4fa2c4(0x314)][_0x4fa2c4(0x21e)](_0x5e9066['DocSelectionManagerService'])['getDocRanges']();Array[_0x4fa2c4(0x28d)](_0x11bc16)&&_0x11bc16[_0x4fa2c4(0x3f6)]>0x0&&this[_0x4fa2c4(0x2d4)](_0x11bc16);}[_0x1f91f3(0x31d)](){const _0x517e5d=_0x1f91f3;this[_0x517e5d(0x1df)]=!0x1;}};_0x1692a8=_0x2a392e([_0x525d5d(0x2,_0x134956['Inject'](_0x134956['Injector'])),_0x525d5d(0x3,_0x134956[_0x1f91f3(0x3a4)](_0x519a71)),_0x525d5d(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e[_0x1f91f3(0x245)])),_0x525d5d(0x5,_0x134956['Inject'](_0x24c16d)),_0x525d5d(0x6,_0x469b6a['ITransformService']),_0x525d5d(0x7,_0x134956['IUniverInstanceService']),_0x525d5d(0x8,_0x134956[_0x1f91f3(0x361)])],_0x1692a8);var _0x48d6b5=Object[_0x1f91f3(0x29b)],_0xd6ba72=(_0x5325e5,_0x295b83,_0x48e5d0,_0x37ac4f)=>{const _0x317aa8=_0x1f91f3;for(var _0x3e9dfe=_0x37ac4f>0x1?void 0x0:_0x37ac4f?_0x48d6b5(_0x295b83,_0x48e5d0):_0x295b83,_0x242f2b=_0x5325e5[_0x317aa8(0x3f6)]-0x1,_0x14e1f5;_0x242f2b>=0x0;_0x242f2b--)(_0x14e1f5=_0x5325e5[_0x242f2b])&&(_0x3e9dfe=_0x14e1f5(_0x3e9dfe)||_0x3e9dfe);return _0x3e9dfe;},_0x53fe16=(_0x583e5b,_0xecfedc)=>(_0x77e95a,_0x367658)=>_0xecfedc(_0x77e95a,_0x367658,_0x583e5b);const _0x9ebceb=0x12c,_0x40ab47=0x64,_0x49cc2c=()=>{let _0x4cfae0=[],_0x91dd9d=!0x1;return _0x19a414=>{const _0x33bd9a=_0xd94b;_0x4cfae0[_0x33bd9a(0x2fb)](_0x19a414),_0x91dd9d||(_0x91dd9d=!0x0,setTimeout(()=>{const _0x53b1a7=_0x33bd9a;_0x4cfae0[_0x53b1a7(0x1da)](_0x410ff6=>_0x410ff6()),_0x4cfae0=[],_0x91dd9d=!0x1;}));};};let _0x1fc762=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x46344e,_0x49b72c,_0x3f5925,_0x5d4800,_0x21b8c9,_0x465089,_0x260402,_0x2906c9){const _0x4804f1=_0x1f91f3;super(),_0x1ffdb1(this,_0x4804f1(0x1df),!0x1),_0x1ffdb1(this,_0x4804f1(0x3c4),!0x1),_0x1ffdb1(this,_0x4804f1(0x318),new _0x35f7fc['BehaviorSubject'](new Map())),_0x1ffdb1(this,_0x4804f1(0x397),this[_0x4804f1(0x318)][_0x4804f1(0x3a8)]()),_0x1ffdb1(this,'_roomMembers$',new _0x35f7fc[(_0x4804f1(0x32e))]([])),_0x1ffdb1(this,_0x4804f1(0x31b),this[_0x4804f1(0x2be)][_0x4804f1(0x1d5)](_0x35f7fc[_0x4804f1(0x2ef)](_0x9ebceb))),_0x1ffdb1(this,_0x4804f1(0x2d4),_0x134956[_0x4804f1(0x2a1)]((_0x9df660,_0x1c3ded)=>{const _0x4b5258=_0x4804f1,_0x28d7e1={'eventID':_0x469b6a[_0x4b5258(0x24d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4b5258(0x20a)],'memberID':this['_session'][_0x4b5258(0x215)](),'selection':_0x3802f6[_0x4b5258(0x322)](_0x9df660,_0x1c3ded[_0x4b5258(0x172)])}};this[_0x4b5258(0x371)][_0x4b5258(0x30c)](_0x28d7e1,this[_0x4b5258(0x20a)]);},_0x40ab47)),(this[_0x4804f1(0x20a)]=_0x46344e,this['_session']=_0x49b72c,this['_injector']=_0x3f5925,this[_0x4804f1(0x1c3)]=_0x5d4800,this[_0x4804f1(0x267)]=_0x21b8c9,this[_0x4804f1(0x3c1)]=_0x465089,this[_0x4804f1(0x2d9)]=_0x260402,this[_0x4804f1(0x20f)]=_0x2906c9);}get[_0x1f91f3(0x1e6)](){const _0x115754=_0x1f91f3;return this[_0x115754(0x318)][_0x115754(0x2e7)]();}get['roomMembers'](){const _0x4f7833=_0x1f91f3;return this['_roomMembers$'][_0x4f7833(0x2e7)]();}[_0x1f91f3(0x3e3)](){const _0x33b97c=_0x1f91f3;super[_0x33b97c(0x3e3)](),this[_0x33b97c(0x318)][_0x33b97c(0x244)](new Map()),this[_0x33b97c(0x318)]['complete'](),this['_roomMembers$'][_0x33b97c(0x244)]([]),this[_0x33b97c(0x2be)][_0x33b97c(0x30d)]();}[_0x1f91f3(0x32f)](){const _0x37fd04=_0x1f91f3;this['_init']||(this[_0x37fd04(0x3c4)]=!0x0,this[_0x37fd04(0x371)][_0x37fd04(0x336)][_0x37fd04(0x1d5)](_0x35f7fc['takeUntil'](this[_0x37fd04(0x25d)]))['subscribe'](_0x5b3122=>{const _0x55fd34=_0x37fd04;_0x5b3122===_0x5e2e2e[_0x55fd34(0x335)][_0x55fd34(0x2da)]?this['_toggleOnline']():this[_0x55fd34(0x31d)]();}),this['_session']['event$']['pipe'](_0x35f7fc[_0x37fd04(0x269)](this[_0x37fd04(0x25d)]))[_0x37fd04(0x203)](_0x2ee1bf=>{const _0x345710=_0x37fd04,_0x4399ac=_0x2ee1bf['eventID'];_0x4399ac===_0x469b6a['CollaborationEvent'][_0x345710(0x3f7)]&&this['_onCursorUpdate'](_0x2ee1bf),_0x4399ac===_0x469b6a['CollaborationEvent'][_0x345710(0x281)]&&this[_0x345710(0x3df)](_0x2ee1bf);}),this[_0x37fd04(0x2ad)](),this['disposeWithMe'](this['_commandService'][_0x37fd04(0x282)](_0x32fcfa=>{const _0x230962=_0x37fd04;if(this[_0x230962(0x1df)]&&_0x32fcfa['id']===_0x105017[_0x230962(0x292)]['id']&&_0x32fcfa['params'][_0x230962(0x243)]===this['unitID']){const _0x584a42=_0x32fcfa[_0x230962(0x2ed)];this[_0x230962(0x2d4)](_0x584a42[_0x230962(0x179)],_0x584a42[_0x230962(0x184)][0x0]);}})));}['_onCursorUpdate'](_0x41435b){const _0x77b945=_0x1f91f3;var _0x4a4395,_0x3004c8;const {memberID:_0x535081,selection:_0x9db017}=_0x41435b[_0x77b945(0x2a2)],{sheetName:_0x638853,range:_0x59f86e}=_0x3802f6['deserializeRangeWithSheet'](_0x9db017),_0x15f89f={'name':(_0x3004c8=(_0x4a4395=this[_0x77b945(0x267)]['getMember'](this[_0x77b945(0x20a)],_0x535081))==null?void 0x0:_0x4a4395[_0x77b945(0x2c5)])!=null?_0x3004c8:_0x77b945(0x3ca),'range':this[_0x77b945(0x1f5)](_0x638853,_0x59f86e),'sheetID':_0x638853,'color':this[_0x77b945(0x1c3)][_0x77b945(0x256)](_0x535081),'selection':_0x9db017},_0x1831a1=this['cursorInfo'];_0x1831a1[_0x77b945(0x3b0)](_0x535081,_0x15f89f),this[_0x77b945(0x318)][_0x77b945(0x244)](_0x1831a1);}[_0x1f91f3(0x3df)](_0x402589){const _0x4a4655=_0x1f91f3,{memberID:_0x4f3d03}=_0x402589[_0x4a4655(0x2a2)],_0x1ae5b1=this[_0x4a4655(0x1e6)];_0x1ae5b1[_0x4a4655(0x2de)](_0x4f3d03),this[_0x4a4655(0x318)][_0x4a4655(0x244)](_0x1ae5b1);}[_0x1f91f3(0x1f5)](_0x1ec718,_0x59824f){const _0x5c92db=_0x1f91f3;var _0x4755c2,_0x60a098;const _0x2c5567=(_0x60a098=(_0x4755c2=this[_0x5c92db(0x3c1)]['getUniverSheetInstance'](this[_0x5c92db(0x20a)]))==null?void 0x0:_0x4755c2[_0x5c92db(0x288)](_0x1ec718))==null?void 0x0:_0x60a098[_0x5c92db(0x221)]();return(_0x2c5567==null?void 0x0:_0x2c5567[_0x5c92db(0x176)](_0x4491a4=>_0x134956[_0x5c92db(0x26e)][_0x5c92db(0x3d4)](_0x4491a4,_0x59824f)))||_0x59824f;}[_0x1f91f3(0x2ad)](){const _0x494562=_0x1f91f3,_0x14ecac=new _0x134956[(_0x494562(0x2f7))](),_0x31930d=_0x49cc2c(),_0x14e3d1=()=>{const _0x32ff7d=_0x494562;_0x14ecac[_0x32ff7d(0x3e3)]();const _0x25b368=(_0x34a3a8,_0xeafa38,_0xe2d226,_0x15d31b)=>{const _0xcc6de5=_0x32ff7d;let _0x1bc956=[];switch(_0x34a3a8['id']){case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x355)]:{_0x1bc956=_0x105017[_0xcc6de5(0x3f9)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x287)]:{_0x1bc956=_0x105017[_0xcc6de5(0x2f2)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x343)]:{_0x1bc956=_0x105017[_0xcc6de5(0x2bc)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x33f)]:{_0x1bc956=_0x105017['handleInsertRangeMoveDown'](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)][_0xcc6de5(0x3bc)]:{_0x1bc956=_0x105017[_0xcc6de5(0x1b3)](_0x34a3a8,_0x15d31b);break;}case _0x105017['EffectRefRangId'][_0xcc6de5(0x1ce)]:{_0x1bc956=_0x105017[_0xcc6de5(0x180)](_0x34a3a8,_0x15d31b);break;}case _0x105017['EffectRefRangId'][_0xcc6de5(0x182)]:{_0x1bc956=_0x105017[_0xcc6de5(0x2dd)](_0x34a3a8,_0x15d31b);break;}case _0x105017[_0xcc6de5(0x30e)]['RemoveColCommandId']:{_0x1bc956=_0x105017['handleIRemoveCol'](_0x34a3a8,_0x15d31b);break;}case _0x105017['EffectRefRangId'][_0xcc6de5(0x3fc)]:{_0x1bc956=_0x105017['handleIRemoveRow'](_0x34a3a8,_0x15d31b);break;}}const _0x5111a8=_0x105017['runRefRangeMutations'](_0x1bc956,_0x15d31b),_0x245e0b=this[_0xcc6de5(0x1e6)][_0xcc6de5(0x21e)](_0xeafa38);if(_0x245e0b&&_0x5111a8){const _0x26a49c={..._0x245e0b,'range':_0x5111a8};this[_0xcc6de5(0x1e6)][_0xcc6de5(0x3b0)](_0xeafa38,_0x26a49c),_0x31930d(()=>{const _0x5b2123=_0xcc6de5,_0x33abf9=this[_0x5b2123(0x20f)][_0x5b2123(0x1a3)](_0x5111a8,_0x23a5ec=>(_0x33abf9[_0x5b2123(0x3e3)](),_0x25b368(_0x23a5ec,_0xeafa38,_0xe2d226,_0x5111a8)));_0x14ecac['add'](_0x33abf9);});}return{'redos':[],'undos':[]};};this[_0x32ff7d(0x1e6)][_0x32ff7d(0x1da)]((_0x5ff465,_0x1b6d3a)=>{const _0x4d4ff9=_0x32ff7d,{range:_0x1a1530,sheetID:_0xc7eef5}=_0x5ff465,_0x13e173=this[_0x4d4ff9(0x20f)][_0x4d4ff9(0x1a3)](_0x1a1530,_0x3c7aac=>(_0x13e173[_0x4d4ff9(0x3e3)](),_0x25b368(_0x3c7aac,_0x1b6d3a,_0xc7eef5,_0x1a1530)));_0x14ecac['add'](_0x13e173);});};this[_0x494562(0x20d)](_0x134956[_0x494562(0x3dc)](this[_0x494562(0x318)][_0x494562(0x203)](()=>{_0x14e3d1();})));}['_toggleOnline'](){const _0x477611=_0x1f91f3;var _0x313780,_0x59d698;if(this[_0x477611(0x1df)]=!0x0,((_0x313780=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x313780[_0x477611(0x333)]())!==this[_0x477611(0x20a)])return;const _0x23e40b=(_0x59d698=this[_0x477611(0x314)][_0x477611(0x21e)](_0x105017[_0x477611(0x1bc)])['getCurrentSelections']())==null?void 0x0:_0x59d698[0x0],_0x49447a=this[_0x477611(0x3c1)][_0x477611(0x22e)](_0x134956['UniverInstanceType'][_0x477611(0x38a)])[_0x477611(0x222)]();_0x23e40b&&_0x49447a&&this['_updateLocalCursor'](_0x49447a[_0x477611(0x37f)](),_0x23e40b);}[_0x1f91f3(0x31d)](){this['_online']=!0x1;}};_0x1fc762=_0xd6ba72([_0x53fe16(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x53fe16(0x3,_0x134956['Inject'](_0x519a71)),_0x53fe16(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e['MemberService'])),_0x53fe16(0x5,_0x134956['IUniverInstanceService']),_0x53fe16(0x6,_0x134956[_0x1f91f3(0x361)]),_0x53fe16(0x7,_0x134956[_0x1f91f3(0x3a4)](_0x105017['RefRangeService']))],_0x1fc762);var _0x5cdd97=Object['getOwnPropertyDescriptor'],_0x587a2a=(_0x273123,_0x54db76,_0x265898,_0x272487)=>{const _0x1787d5=_0x1f91f3;for(var _0x1097f6=_0x272487>0x1?void 0x0:_0x272487?_0x5cdd97(_0x54db76,_0x265898):_0x54db76,_0x38503f=_0x273123[_0x1787d5(0x3f6)]-0x1,_0x500b2f;_0x38503f>=0x0;_0x38503f--)(_0x500b2f=_0x273123[_0x38503f])&&(_0x1097f6=_0x500b2f(_0x1097f6)||_0x1097f6);return _0x1097f6;},_0x3bf860=(_0x5550f1,_0x11739c)=>(_0x14668a,_0x5e6cab)=>_0x11739c(_0x14668a,_0x5e6cab,_0x5550f1);let _0x5059c3=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0xd3fbc8,_0x1d2d0f,_0x367782){const _0x2ec151=_0x1f91f3;super(),_0x1ffdb1(this,_0x2ec151(0x30a),new Map()),_0x1ffdb1(this,_0x2ec151(0x169),new _0x35f7fc['Subject']()),(this[_0x2ec151(0x3c1)]=_0xd3fbc8,this[_0x2ec151(0x314)]=_0x1d2d0f,this[_0x2ec151(0x1ba)]=_0x367782,this[_0x2ec151(0x3c4)]());}[_0x1f91f3(0x3e3)](){const _0x2f0620=_0x1f91f3;super[_0x2f0620(0x3e3)](),this[_0x2f0620(0x169)]['complete'](),this[_0x2f0620(0x30a)][_0x2f0620(0x1da)](_0x5c648a=>_0x5c648a[_0x2f0620(0x3e3)]());}[_0x1f91f3(0x2f9)](_0x588059){const _0x48561c=_0x1f91f3;return this['_entities'][_0x48561c(0x1bf)](_0x588059)?this[_0x48561c(0x30a)][_0x48561c(0x21e)](_0x588059)[_0x48561c(0x397)]:this[_0x48561c(0x169)][_0x48561c(0x1d5)](_0x35f7fc[_0x48561c(0x233)](_0x2419bd=>_0x2419bd[_0x48561c(0x20a)]===_0x588059),_0x35f7fc[_0x48561c(0x357)](_0x5d0d51=>_0x5d0d51[_0x48561c(0x397)]));}[_0x1f91f3(0x3c4)](){const _0xe8024d=_0x1f91f3;this['_univerInstanceService'][_0xe8024d(0x1c7)](_0x134956['UniverInstanceType'][_0xe8024d(0x38a)])[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x269)](this[_0xe8024d(0x25d)]))[_0xe8024d(0x203)](async _0x286740=>{const _0x1d6ac7=_0xe8024d,_0x1e569a=_0x286740[_0x1d6ac7(0x333)](),_0x1cfbe7=await this['_startSheetCollabCursor'](_0x1e569a);this['_entityInit$'][_0x1d6ac7(0x244)](_0x1cfbe7),this[_0x1d6ac7(0x30a)][_0x1d6ac7(0x3b0)](_0x1e569a,_0x1cfbe7);}),this[_0xe8024d(0x3c1)]['getTypeOfUnitAdded$'](_0x134956[_0xe8024d(0x3eb)][_0xe8024d(0x1e7)])[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x269)](this[_0xe8024d(0x25d)]))[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x233)](_0x5ad8de=>!_0x5ad8de['getUnitId']()[_0xe8024d(0x303)]('__')))['subscribe'](async _0x8429c5=>{const _0x2ea5ed=_0xe8024d,_0x33d4d2=_0x8429c5[_0x2ea5ed(0x333)](),_0x361223=await this[_0x2ea5ed(0x35f)](_0x33d4d2);this[_0x2ea5ed(0x169)][_0x2ea5ed(0x244)](_0x361223),this['_entities'][_0x2ea5ed(0x3b0)](_0x33d4d2,_0x361223);}),_0x35f7fc[_0xe8024d(0x3c6)](this[_0xe8024d(0x3c1)][_0xe8024d(0x2e0)](_0x134956[_0xe8024d(0x3eb)][_0xe8024d(0x1e7)]),this[_0xe8024d(0x3c1)][_0xe8024d(0x2e0)](_0x134956[_0xe8024d(0x3eb)][_0xe8024d(0x38a)]))[_0xe8024d(0x1d5)](_0x35f7fc[_0xe8024d(0x269)](this[_0xe8024d(0x25d)]))['subscribe'](_0x541663=>{const _0x4fc47d=_0xe8024d,_0x1cb1c8=_0x541663[_0x4fc47d(0x333)](),_0x40c2cd=this[_0x4fc47d(0x30a)]['get'](_0x1cb1c8);_0x40c2cd&&(_0x40c2cd[_0x4fc47d(0x3e3)](),this['_entities'][_0x4fc47d(0x2de)](_0x1cb1c8));});}async[_0x1f91f3(0x367)](_0xbbe492){const _0x4d7188=_0x1f91f3,_0xb40780=await this[_0x4d7188(0x1ba)][_0x4d7188(0x294)](_0xbbe492),_0x208bb6=this['_injector'][_0x4d7188(0x16b)](_0x1fc762,_0xbbe492,_0xb40780);return _0x208bb6[_0x4d7188(0x32f)](),_0x208bb6;}async[_0x1f91f3(0x35f)](_0x1d1dce){const _0xb69470=_0x1f91f3,_0x43bdf2=await this[_0xb69470(0x1ba)]['requireSession'](_0x1d1dce),_0x310ffe=this[_0xb69470(0x314)][_0xb69470(0x16b)](_0x1692a8,_0x1d1dce,_0x43bdf2);return _0x310ffe['init'](),_0x310ffe;}};_0x5059c3=_0x587a2a([_0x3bf860(0x0,_0x134956[_0x1f91f3(0x3ff)]),_0x3bf860(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x134956['Injector'])),_0x3bf860(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e['CollaborationSessionService']))],_0x5059c3);const _0x34ce05=0x14,_0x2ae2ee=0xc8,_0x43b5bd=0x4,_0xbc3845=0x5;function _0x2b6d13(_0x13c406,_0x1bbfcd){const _0x16b38b=_0x1f91f3;let {radius:_0x48ac76,width:_0x5ad9a5,height:_0x4c1e41}=_0x1bbfcd;_0x48ac76=_0x48ac76!=null?_0x48ac76:0x0,_0x5ad9a5=_0x5ad9a5!=null?_0x5ad9a5:0x1e,_0x4c1e41=_0x4c1e41!=null?_0x4c1e41:0x1e;let _0x3b581f=0x0,_0x1eb26f=0x0,_0x2d84a8=0x0;_0x3b581f=_0x1eb26f=_0x2d84a8=Math['min'](_0x48ac76,_0x5ad9a5/0x2,_0x4c1e41/0x2),_0x13c406[_0x16b38b(0x36d)](),_0x13c406[_0x16b38b(0x23a)](_0x3b581f,0x0),_0x13c406[_0x16b38b(0x27d)](_0x5ad9a5-_0x1eb26f,0x0),_0x13c406['arc'](_0x5ad9a5-_0x1eb26f,_0x1eb26f,_0x1eb26f,Math['PI']*0x3/0x2,0x0,!0x1),_0x13c406[_0x16b38b(0x27d)](_0x5ad9a5,_0x4c1e41-_0x2d84a8),_0x13c406[_0x16b38b(0x307)](_0x5ad9a5-_0x2d84a8,_0x4c1e41-_0x2d84a8,_0x2d84a8,0x0,Math['PI']/0x2,!0x1),_0x13c406[_0x16b38b(0x27d)](0x0,_0x4c1e41),_0x13c406[_0x16b38b(0x27d)](0x0,_0x3b581f),_0x13c406[_0x16b38b(0x307)](_0x3b581f,_0x3b581f,_0x3b581f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13c406[_0x16b38b(0x3d2)](),_0x1bbfcd[_0x16b38b(0x327)]&&(_0x13c406['save'](),_0x13c406['fillStyle']=_0x1bbfcd[_0x16b38b(0x327)],_0x1bbfcd[_0x16b38b(0x289)]===_0x16b38b(0x3f0)?_0x13c406[_0x16b38b(0x327)]('evenodd'):_0x13c406[_0x16b38b(0x327)](),_0x13c406['restore']());}class _0x220dd7 extends _0x31808c['Shape']{constructor(_0x2527d9,_0xac7bd7){const _0x3cd343=_0x1f91f3;super(_0x2527d9,_0xac7bd7),_0x1ffdb1(this,_0x3cd343(0x3a7)),_0x1ffdb1(this,'text'),(this[_0x3cd343(0x3a7)]=_0xac7bd7==null?void 0x0:_0xac7bd7[_0x3cd343(0x3a7)],this[_0x3cd343(0x1dd)]=_0xac7bd7==null?void 0x0:_0xac7bd7[_0x3cd343(0x1dd)]);}static['drawWith'](_0x26335e,_0x3226f3){const _0x3e036a=_0x1f91f3,{text:_0x3d88b4,color:_0x49bb71}=_0x3226f3;_0x26335e[_0x3e036a(0x2a5)](),_0x26335e[_0x3e036a(0x192)]=_0x3e036a(0x1e0);const _0x2d124a=_0x26335e[_0x3e036a(0x3fe)](_0x3d88b4)[_0x3e036a(0x2bb)],_0x5009a1=Math['min'](_0x2d124a+0x2*_0x43b5bd,_0x2ae2ee);_0x2b6d13(_0x26335e,{'height':_0x34ce05,'radius':0x4,'width':_0x5009a1,'fill':_0x49bb71}),_0x26335e[_0x3e036a(0x359)]=_0x3e036a(0x2ba);const _0x46a9a4=_0x43b5bd,_0x4b4a41=_0x34ce05-_0xbc3845,_0x539391=_0x2ae2ee-0x2*_0x43b5bd;if(_0x2d124a>_0x539391){let _0x5f381c='',_0x2199ea=0x0;for(const _0xb901bb of _0x3d88b4){const _0x25a0f2=_0x26335e[_0x3e036a(0x3fe)](_0xb901bb)[_0x3e036a(0x2bb)];if(_0x2199ea+_0x25a0f2<=_0x539391-_0x26335e[_0x3e036a(0x3fe)](_0x3e036a(0x1c5))['width'])_0x5f381c+=_0xb901bb,_0x2199ea+=_0x25a0f2;else{_0x5f381c+='...';break;}}_0x26335e['fillText'](_0x5f381c,_0x46a9a4,_0x4b4a41);}else _0x26335e[_0x3e036a(0x193)](_0x3d88b4,_0x46a9a4,_0x4b4a41);_0x26335e['restore']();}[_0x1f91f3(0x3de)](_0x4d8198){const _0x52101d=_0x1f91f3;_0x220dd7[_0x52101d(0x181)](_0x4d8198,this);}}const _0x53d25f='collab-text-anchor-',_0x195100=_0x1f91f3(0x358),_0x4b4469=_0x1f91f3(0x352),_0x24834b=0x6,_0xea7e73=1.5,_0x1f5f5a=0x4,_0x5a569f=1.5,_0x3f5e61='rgba(255,\x20255,\x20255,\x200.01)';class _0x49bd29{constructor(_0x43169a,_0x1ecaea,_0x32be0f,_0x57c182){const _0x123114=_0x1f91f3;_0x1ffdb1(this,_0x123114(0x1a2),[]),_0x1ffdb1(this,_0x123114(0x283),null),_0x1ffdb1(this,'_textBubble',null),_0x1ffdb1(this,'_anchorDot',null),_0x1ffdb1(this,_0x123114(0x2df),null),_0x1ffdb1(this,_0x123114(0x1e2),null),(this[_0x123114(0x198)]=_0x43169a,this['_scene']=_0x1ecaea,this[_0x123114(0x295)]=_0x32be0f,this[_0x123114(0x250)]=_0x57c182,this[_0x123114(0x2f4)]());}set[_0x1f91f3(0x2b3)](_0x32ea48){const _0xbed55f=_0x1f91f3;_0x32ea48?(this[_0xbed55f(0x1b4)]&&this['_anchorDot'][_0xbed55f(0x18c)](),this[_0xbed55f(0x1ff)]&&this[_0xbed55f(0x1ff)]['show']()):(this[_0xbed55f(0x1b4)]&&this['_anchorDot'][_0xbed55f(0x325)](),this['_textBubble']&&this[_0xbed55f(0x1ff)][_0xbed55f(0x18c)]());}[_0x1f91f3(0x3e3)](){const _0x33d93f=_0x1f91f3;for(const _0x3d196e of this[_0x33d93f(0x1a2)])_0x3d196e['dispose']();this['_textBubble']&&this[_0x33d93f(0x1ff)]['dispose'](),this[_0x33d93f(0x1b4)]&&this[_0x33d93f(0x1b4)][_0x33d93f(0x3e3)](),this[_0x33d93f(0x283)]&&this[_0x33d93f(0x283)]['dispose'](),this['_eventUnsubscribe']&&this[_0x33d93f(0x1e2)]();}[_0x1f91f3(0x2f4)](){const _0x4f0767=_0x1f91f3;var _0x318228;const {_docSkeleton:_0x5bd50e,_document:_0x1a8680}=this,{color:_0x31caef,name:_0x257fe9,ranges:_0x56d044}=this[_0x4f0767(0x198)],_0x5e9320=_0x1a8680['getOffsetConfig'](),{docsLeft:_0xba758e,docsTop:_0x45ba05}=_0x5e9320,_0x1942fb=new _0x241046[(_0x4f0767(0x1e3))](_0x5e9320,_0x5bd50e);for(const {startOffset:_0xd8da25,endOffset:_0x452d78,rangeType:_0x44e9de,segmentId:_0x49c56e,segmentPage:_0x3fd1e9,collapsed:_0x34abac,isActive:_0x5c258a}of _0x56d044){const _0x4dfe27=_0x5bd50e[_0x4f0767(0x2e2)](_0xd8da25,!0x0,_0x49c56e,_0x3fd1e9);let _0x514355=_0x5bd50e[_0x4f0767(0x2e2)](_0x452d78,!0x0,_0x49c56e,_0x3fd1e9);if(_0x514355==null&&(_0x514355=_0x5bd50e[_0x4f0767(0x2e2)](_0x452d78-0x1,!0x1,_0x49c56e,_0x3fd1e9)),_0x5c258a){const {contentBoxPointGroup:_0xcf024}=_0x1942fb['getRangePointData'](_0x514355,_0x514355);if(_0xcf024[_0x4f0767(0x3f6)]===0x0)continue;this[_0x4f0767(0x3da)](_0x31caef,_0xcf024,_0xba758e,_0x45ba05,_0x257fe9),this[_0x4f0767(0x1e2)]=this[_0x4f0767(0x3b1)]();}if(_0x4dfe27&&_0x514355){if(_0x44e9de===_0x134956[_0x4f0767(0x251)][_0x4f0767(0x204)]){const _0x54e605=new _0x241046[(_0x4f0767(0x16a))](_0x5e9320,_0x5bd50e),{pointGroup:_0x5d011c}=(_0x318228=_0x54e605[_0x4f0767(0x3e8)](_0x4dfe27,_0x514355))!=null?_0x318228:{};if(_0x5d011c==null||_0x5d011c['length']===0x0)continue;this[_0x4f0767(0x311)](_0x31caef,_0x5d011c,_0xba758e,_0x45ba05);}else{if(!_0x34abac){const {borderBoxPointGroup:_0x5b177a}=_0x1942fb[_0x4f0767(0x3e8)](_0x4dfe27,_0x514355);if(_0x5b177a['length']===0x0)continue;this['_drawTextRange'](_0x31caef,_0x5b177a,_0xba758e,_0x45ba05);}}}}}['_drawAnchor'](_0x38b4f1,_0x73b456,_0x3bc18e,_0x443c33,_0x22ef0d){const _0x49aeb9=_0x1f91f3,_0x2682c9=this[_0x49aeb9(0x1db)](_0x73b456),{left:_0x496ba1,top:_0x24003f,height:_0x1f8e5e}=_0x2682c9,_0x11378e=this[_0x49aeb9(0x328)](),_0x158428=_0x5a569f/_0x11378e,_0x59a251=new _0x31808c[(_0x49aeb9(0x392))](_0x53d25f+_0x134956[_0x49aeb9(0x29f)][_0x49aeb9(0x26b)](_0x24834b),{'left':_0x496ba1+_0x3bc18e-_0x158428,'top':_0x24003f+_0x443c33,'height':_0x1f8e5e,'width':_0xea7e73,'fill':_0x38b4f1||_0x31808c[_0x49aeb9(0x20c)](_0x134956[_0x49aeb9(0x23f)][_0x49aeb9(0x1eb)],0x0),'strokeWidth':_0x158428,'stroke':_0x3f5e61,'evented':!0x0});this[_0x49aeb9(0x283)]=_0x59a251,this[_0x49aeb9(0x247)][_0x49aeb9(0x34d)](_0x59a251,_0x241046['TEXT_RANGE_LAYER_INDEX']);const _0x2ae2bb=new _0x31808c['Rect'](_0x53d25f+_0x134956[_0x49aeb9(0x29f)][_0x49aeb9(0x26b)](_0x24834b),{'left':_0x496ba1+_0x3bc18e-_0x158428,'top':_0x24003f+_0x443c33-_0x1f5f5a/0x2,'height':_0x1f5f5a,'width':_0x1f5f5a,'fill':_0x38b4f1||_0x31808c['getColor'](_0x134956[_0x49aeb9(0x23f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x38b4f1||_0x31808c[_0x49aeb9(0x20c)](_0x134956[_0x49aeb9(0x23f)][_0x49aeb9(0x1eb)],0x0),'evented':!0x1});this[_0x49aeb9(0x1b4)]=_0x2ae2bb,this[_0x49aeb9(0x247)][_0x49aeb9(0x34d)](_0x2ae2bb,_0x241046[_0x49aeb9(0x19c)]);const _0x20cb73=new _0x220dd7(_0x53d25f+_0x134956[_0x49aeb9(0x29f)]['generateRandomId'](_0x24834b),{'left':_0x496ba1+_0x3bc18e-_0x158428,'top':_0x24003f+_0x443c33-_0x34ce05,'text':_0x22ef0d,'color':_0x38b4f1});this[_0x49aeb9(0x1ff)]=_0x20cb73,this[_0x49aeb9(0x247)][_0x49aeb9(0x34d)](_0x20cb73,_0x241046[_0x49aeb9(0x19c)]),this[_0x49aeb9(0x2b3)]=!0x1;}[_0x1f91f3(0x3b1)](){const _0x1ebbcc=_0x1f91f3,_0x9cce17=this['_anchor'][_0x1ebbcc(0x2aa)][_0x1ebbcc(0x259)](()=>{const _0x189a1b=_0x1ebbcc;this[_0x189a1b(0x2b3)]=!0x0;}),_0x20107c=this[_0x1ebbcc(0x283)][_0x1ebbcc(0x31c)][_0x1ebbcc(0x259)](()=>{const _0x3b26dd=_0x1ebbcc;this[_0x3b26dd(0x2df)]&&clearTimeout(this[_0x3b26dd(0x2df)]),this[_0x3b26dd(0x2df)]=setTimeout(()=>{const _0x56723f=_0x3b26dd;this[_0x56723f(0x2b3)]=!0x1;},0x7d0);});return()=>{const _0x5311f6=_0x1ebbcc;_0x9cce17[_0x5311f6(0x3ce)](),_0x20107c[_0x5311f6(0x3ce)]();};}['_drawTextRange'](_0x356304,_0x5ccde7,_0x10024d,_0x3245c3){const _0x168acf=_0x1f91f3,_0x542136=new _0x134956['ColorKit'](_0x356304)[_0x168acf(0x170)](0.2)[_0x168acf(0x1a4)](),_0x240022=new _0x31808c['RegularPolygon'](_0x195100+_0x134956[_0x168acf(0x29f)][_0x168acf(0x26b)](_0x24834b),{'pointsGroup':_0x5ccde7,'fill':_0x542136||_0x31808c[_0x168acf(0x20c)](_0x134956['COLORS'][_0x168acf(0x1eb)],0.2),'left':_0x10024d,'top':_0x3245c3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x168acf(0x1a2)][_0x168acf(0x2fb)](_0x240022),this[_0x168acf(0x247)][_0x168acf(0x34d)](_0x240022,_0x241046[_0x168acf(0x19c)]);}['_drawRectRange'](_0x3e7419,_0x2a76aa,_0x968abc,_0x1ef49e){const _0x24d2ca=_0x1f91f3,_0x4857a3=new _0x134956[(_0x24d2ca(0x3e9))](_0x3e7419)[_0x24d2ca(0x170)](0.2)['toRgbString'](),_0x1fd697=new _0x31808c[(_0x24d2ca(0x36c))](_0x4b4469+_0x134956[_0x24d2ca(0x29f)][_0x24d2ca(0x26b)](_0x24834b),{'pointsGroup':_0x2a76aa,'fill':_0x4857a3||_0x31808c[_0x24d2ca(0x20c)](_0x134956['COLORS'][_0x24d2ca(0x1eb)],0.2),'left':_0x968abc,'top':_0x1ef49e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d2ca(0x1a2)][_0x24d2ca(0x2fb)](_0x1fd697),this[_0x24d2ca(0x247)]['addObject'](_0x1fd697,_0x241046[_0x24d2ca(0x19c)]);}[_0x1f91f3(0x1db)](_0x84e97e){const _0x705c93=_0x84e97e[0x0],_0x37b1cd=_0x705c93[0x0],_0x247c3f=_0x705c93[0x2],{x:_0x47d2cc,y:_0x268939}=_0x37b1cd,{x:_0x248190,y:_0x7671a1}=_0x247c3f;return{'left':_0x47d2cc,'top':_0x268939,'width':_0x248190-_0x47d2cc,'height':_0x7671a1-_0x268939};}['_getScale'](){const _0x513b97=_0x1f91f3,{scaleX:_0x39e920,scaleY:_0x595a4b}=this[_0x513b97(0x247)][_0x513b97(0x205)]();return Math['max'](_0x39e920,_0x595a4b);}}var _0x10546a=Object[_0x1f91f3(0x29b)],_0x51d736=(_0x5b2753,_0xbcaf55,_0x5ad30b,_0xd2465a)=>{const _0x1d7c66=_0x1f91f3;for(var _0x36c6c9=_0xd2465a>0x1?void 0x0:_0xd2465a?_0x10546a(_0xbcaf55,_0x5ad30b):_0xbcaf55,_0x43bf02=_0x5b2753[_0x1d7c66(0x3f6)]-0x1,_0x5131c4;_0x43bf02>=0x0;_0x43bf02--)(_0x5131c4=_0x5b2753[_0x43bf02])&&(_0x36c6c9=_0x5131c4(_0x36c6c9)||_0x36c6c9);return _0x36c6c9;},_0x48afdd=(_0x4c4dc8,_0x55b70a)=>(_0x4395d8,_0xd5e313)=>_0x55b70a(_0x4395d8,_0xd5e313,_0x4c4dc8);let _0x1b1f08=class extends _0x134956['RxDisposable']{constructor(_0x5658c5,_0x124f05,_0x2beecb,_0x52a35d,_0xdc4ae5){const _0x1683cd=_0x1f91f3;super(),_0x1ffdb1(this,_0x1683cd(0x214),[]),_0x1ffdb1(this,_0x1683cd(0x22f),[]),(this[_0x1683cd(0x278)]=_0x5658c5,this[_0x1683cd(0x33c)]=_0x124f05,this['_collabCursorController']=_0x2beecb,this[_0x1683cd(0x2d9)]=_0x52a35d,this['_themeService']=_0xdc4ae5,this['_init']());}[_0x1f91f3(0x3c4)](){const _0x5103f4=_0x1f91f3,_0x3698ab=this['_context']['unitId'],_0x218798=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x35f7fc[_0x5103f4(0x3dd)]([this['_collabCursorController']['getCollabCursors$'](_0x3698ab),this[_0x5103f4(0x28f)][_0x5103f4(0x260)]])[_0x5103f4(0x1d5)](_0x486b4f[_0x5103f4(0x2f3)](([_0x36dfd3,_0x5406da])=>({'skeleton':_0x218798['getSkeleton'](),'cursors':[..._0x36dfd3[_0x5103f4(0x29c)]()]['flatMap'](_0x522f60=>({..._0x522f60,'color':this['_themeService'][_0x5103f4(0x1ee)](_0x522f60[_0x5103f4(0x3a7)])}))})))[_0x5103f4(0x203)](_0x35c791=>{if(this['_removeCollabCursors'](),_0x35c791){const {skeleton:_0x33f078,cursors:_0x3be910}=_0x35c791;this['_updateCollabCursors'](_0x33f078,_0x3be910);}})),this['_initResize'](),this[_0x5103f4(0x3cd)]();}['_updateCollabCursors'](_0x215260,_0x31539a){const _0x1df3ba=_0x1f91f3,{scene:_0x1afc1f,mainComponent:_0x3af2db}=this['_context'],_0x5bfd00=_0x31539a[_0x1df3ba(0x2f3)](_0x51c488=>new _0x49bd29(_0x51c488,_0x1afc1f,_0x215260,_0x3af2db));this['_cursorShapes']=_0x5bfd00,this[_0x1df3ba(0x22f)]=_0x31539a;}[_0x1f91f3(0x2ca)](){const _0x23e9c7=_0x1f91f3;this[_0x23e9c7(0x36e)]();const {scene:_0x100896,mainComponent:_0x291e19}=this[_0x23e9c7(0x278)],_0x346d40=this['_docSkeletonManagerService'][_0x23e9c7(0x39f)](),_0x4ace7a=this[_0x23e9c7(0x22f)][_0x23e9c7(0x2f3)](_0x270ac0=>new _0x49bd29(_0x270ac0,_0x100896,_0x346d40,_0x291e19));this[_0x23e9c7(0x214)]=_0x4ace7a;}['_removeCollabCursors'](){const _0x4d24f8=_0x1f91f3;this[_0x4d24f8(0x214)][_0x4d24f8(0x1da)](_0x3945de=>_0x3945de[_0x4d24f8(0x3e3)]()),this[_0x4d24f8(0x214)]=[];}[_0x1f91f3(0x3cd)](){const _0x54862a=_0x1f91f3,_0x1fa7b0=[_0x241046[_0x54862a(0x21f)]['id']];this[_0x54862a(0x20d)](this['_commandService'][_0x54862a(0x282)](_0x2db82d=>{const _0x46587b=_0x54862a;_0x1fa7b0[_0x46587b(0x25f)](_0x2db82d['id'])&&_0x2db82d[_0x46587b(0x2ed)]['unitId']===this[_0x46587b(0x278)][_0x46587b(0x243)]&&this[_0x46587b(0x2ca)]();}));}[_0x1f91f3(0x223)](){const _0x5d540e=_0x1f91f3;this[_0x5d540e(0x20d)](_0x134956[_0x5d540e(0x3b5)](this[_0x5d540e(0x278)][_0x5d540e(0x344)]['onTransformChange$'])[_0x5d540e(0x1d5)](_0x486b4f['filter'](_0x394e03=>_0x394e03[_0x5d540e(0x1d4)]===_0x31808c[_0x5d540e(0x27b)][_0x5d540e(0x217)]),_0x486b4f[_0x5d540e(0x30f)](0x10))['subscribe'](()=>{const _0x2791d4=_0x5d540e;this[_0x2791d4(0x2ca)]();}));}};_0x1b1f08=_0x51d736([_0x48afdd(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x5e9066['DocSkeletonManagerService'])),_0x48afdd(0x2,_0x134956['Inject'](_0x5059c3)),_0x48afdd(0x3,_0x134956[_0x1f91f3(0x361)]),_0x48afdd(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x37e)]))],_0x1b1f08);const _0x38cf1b=0x1,_0x37e2d3=1.5;class _0x1ea4fa extends _0x31808c[_0x1f91f3(0x2f6)]{constructor(_0x261905,_0x5b9776){const _0x2984a9=_0x1f91f3;super(_0x261905,_0x5b9776),_0x1ffdb1(this,_0x2984a9(0x298)),_0x1ffdb1(this,_0x2984a9(0x30b),!0x1),_0x1ffdb1(this,_0x2984a9(0x31f)),_0x1ffdb1(this,_0x2984a9(0x2b2),''),_0x1ffdb1(this,_0x2984a9(0x2eb),_0x2984a9(0x346)),_0x1ffdb1(this,_0x2984a9(0x24b)),(_0x5b9776&&this[_0x2984a9(0x24e)](_0x5b9776),this[_0x2984a9(0x2aa)][_0x2984a9(0x259)](()=>this[_0x2984a9(0x24e)]({'hovered':!0x0})),this[_0x2984a9(0x31c)][_0x2984a9(0x259)](()=>this[_0x2984a9(0x24e)]({'hovered':!0x1})));}['setShapeProps'](_0x5d24f8){const _0x26bd59=_0x1f91f3;var _0x39970c,_0x63d10c,_0x213b44,_0x4d5186,_0x4219a3,_0x232f03;this['_color']=(_0x39970c=_0x5d24f8[_0x26bd59(0x3a7)])!=null?_0x39970c:this[_0x26bd59(0x298)],this[_0x26bd59(0x30b)]=(_0x63d10c=_0x5d24f8[_0x26bd59(0x291)])!=null?_0x63d10c:this[_0x26bd59(0x30b)],this[_0x26bd59(0x31f)]=(_0x213b44=_0x5d24f8[_0x26bd59(0x172)])!=null?_0x213b44:this[_0x26bd59(0x31f)],this[_0x26bd59(0x2b2)]=(_0x4d5186=_0x5d24f8[_0x26bd59(0x2c5)])!=null?_0x4d5186:this['_name'],this['_labelPosition']=(_0x4219a3=_0x5d24f8[_0x26bd59(0x1bd)])!=null?_0x4219a3:this[_0x26bd59(0x2eb)],this[_0x26bd59(0x24b)]=(_0x232f03=_0x5d24f8['backgroundColor'])!=null?_0x232f03:this[_0x26bd59(0x24b)],this[_0x26bd59(0x1cd)]({'width':_0x5d24f8['width'],'height':_0x5d24f8[_0x26bd59(0x194)]});}[_0x1f91f3(0x3ed)](_0x525973){const _0x34ea1d=_0x1f91f3,{row:_0x1b80d6,column:_0x529475}=_0x525973;if(_0x1b80d6>=this[_0x34ea1d(0x31f)][_0x34ea1d(0x34e)]&&_0x1b80d6<=this[_0x34ea1d(0x31f)][_0x34ea1d(0x338)]&&_0x529475>=this[_0x34ea1d(0x31f)]['startColumn']&&_0x529475<=this[_0x34ea1d(0x31f)]['endColumn']){this[_0x34ea1d(0x24e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1f91f3(0x379)](_0x3c6d11){return!0x1;}[_0x1f91f3(0x3de)](_0x11f1ab){const _0x3c948b=_0x1f91f3;_0x31808c[_0x3c948b(0x392)]['drawWith'](_0x11f1ab,{'width':this[_0x3c948b(0x2bb)],'height':this[_0x3c948b(0x194)],'strokeWidth':_0x37e2d3,'stroke':this[_0x3c948b(0x298)],'evented':!0x1,'fill':this[_0x3c948b(0x24b)]}),this[_0x3c948b(0x30b)]&&(_0x11f1ab[_0x3c948b(0x2a5)](),_0x11f1ab[_0x3c948b(0x20e)](0x1,0x0,0x0,0x1,this[_0x3c948b(0x2bb)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x220dd7[_0x3c948b(0x181)](_0x11f1ab,{'text':this[_0x3c948b(0x2b2)],'color':this[_0x3c948b(0x298)]}),_0x11f1ab['restore']());}}var _0x425de0=Object[_0x1f91f3(0x29b)],_0x486603=(_0x59d63f,_0x143db6,_0xcf9d44,_0x39fe17)=>{const _0x23a020=_0x1f91f3;for(var _0x4a2dc1=_0x39fe17>0x1?void 0x0:_0x39fe17?_0x425de0(_0x143db6,_0xcf9d44):_0x143db6,_0x1a7b22=_0x59d63f[_0x23a020(0x3f6)]-0x1,_0xfd3353;_0x1a7b22>=0x0;_0x1a7b22--)(_0xfd3353=_0x59d63f[_0x1a7b22])&&(_0x4a2dc1=_0xfd3353(_0x4a2dc1)||_0x4a2dc1);return _0x4a2dc1;},_0x2652fc=(_0x448f72,_0x161ede)=>(_0x50a783,_0x3b5120)=>_0x161ede(_0x50a783,_0x3b5120,_0x448f72);const _0x5b1f4e=0x1389;let _0x1a1ac8=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x3a9762,_0x54f434,_0x1146b6,_0x17ca58){const _0x3b853d=_0x1f91f3;super(),_0x1ffdb1(this,_0x3b853d(0x22f),new Set()),_0x1ffdb1(this,_0x3b853d(0x391),null),(this[_0x3b853d(0x278)]=_0x3a9762,this[_0x3b853d(0x226)]=_0x54f434,this[_0x3b853d(0x2e4)]=_0x1146b6,this[_0x3b853d(0x28f)]=_0x17ca58,this[_0x3b853d(0x3c4)]());}[_0x1f91f3(0x3c4)](){const _0x8ca5d5=_0x1f91f3;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x8ca5d5(0x1d5)](_0x486b4f[_0x8ca5d5(0x269)](this[_0x8ca5d5(0x25d)]),_0x486b4f['switchMap'](_0x29d90f=>{const _0x1b31e1=_0x8ca5d5;if(_0x29d90f){const _0x30035c=_0x29d90f[_0x1b31e1(0x16c)];return _0x35f7fc[_0x1b31e1(0x3dd)](this['_collabCursorController']['getCollabCursors$'](this[_0x1b31e1(0x278)][_0x1b31e1(0x243)]),this[_0x1b31e1(0x28f)][_0x1b31e1(0x260)])[_0x1b31e1(0x1d5)](_0x486b4f['map'](([_0x59402e,_0x14fb2c])=>{const _0x1fe737=new Map();return _0x59402e['forEach']((_0x171de1,_0x5b2e4d)=>{const _0x324fb2=_0xd94b;if(_0x171de1[_0x324fb2(0x3f3)]===_0x30035c){const _0x249ad4={..._0x171de1};_0x249ad4[_0x324fb2(0x3a7)]=this[_0x324fb2(0x28f)][_0x324fb2(0x1ee)](_0x171de1[_0x324fb2(0x3a7)]),_0x1fe737[_0x324fb2(0x3b0)](_0x5b2e4d,_0x249ad4);}}),{'skeleton':_0x29d90f,'cursors':_0x1fe737};}));}return _0x35f7fc['of']({'skeleton':null,'cursors':new Map()});}))[_0x8ca5d5(0x203)](({skeleton:_0x49df6e,cursors:_0x43add1})=>{const _0x4188d4=_0x8ca5d5;this['_removeCollabCursors'](),_0x49df6e&&this[_0x4188d4(0x235)](_0x49df6e,_0x43add1);}),this[_0x8ca5d5(0x226)]['currentSkeleton$'][_0x8ca5d5(0x203)](_0x4296b0=>{const _0x56f476=_0x8ca5d5;if(_0x4296b0==null)return;const {skeleton:_0x4bdbc0}=_0x4296b0,{scene:_0x553c3a}=this[_0x56f476(0x278)];_0x553c3a['onPointerMove$'][_0x56f476(0x259)](_0x134956[_0x56f476(0x2a1)](_0x35447a=>{const _0x5c0217=_0x56f476;var _0x4178e0,_0x15433c;const {offsetX:_0x51e930,offsetY:_0x21c615}=_0x35447a,{x:_0x4e0b83,y:_0x61ac70}=_0x553c3a[_0x5c0217(0x3af)](_0x31808c[_0x5c0217(0x3e7)][_0x5c0217(0x3c7)]([_0x51e930,_0x21c615])),{scaleX:_0x38669e,scaleY:_0x30bfd0}=_0x553c3a['getAncestorScale'](),_0x53490b=_0x553c3a[_0x5c0217(0x2e5)](_0x31808c['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x5b7454=_0x553c3a[_0x5c0217(0x2b7)](_0x31808c[_0x5c0217(0x3e7)][_0x5c0217(0x3c7)]([_0x4e0b83,_0x61ac70]),_0x53490b),_0x5db8de=_0x4bdbc0['getCellPositionByOffset'](_0x51e930,_0x21c615,_0x38669e,_0x30bfd0,_0x5b7454);((_0x4178e0=this[_0x5c0217(0x391)])==null?void 0x0:_0x4178e0['column'])===_0x5db8de[_0x5c0217(0x3bf)]&&((_0x15433c=this[_0x5c0217(0x391)])==null?void 0x0:_0x15433c['row'])===_0x5db8de['row']||this[_0x5c0217(0x22f)][_0x5c0217(0x1da)](_0xfbd3c2=>{const _0x293fd5=_0x5c0217;_0xfbd3c2[_0x293fd5(0x3ed)](_0x5db8de);});},0x64));});}[_0x1f91f3(0x235)](_0x3a52f0,_0x35eaae){const _0x27f39c=_0x1f91f3;var _0x256068;const _0x80d276=(_0x256068=this[_0x27f39c(0x226)][_0x27f39c(0x380)]())==null?void 0x0:_0x256068['skeleton'];if(!_0x80d276)return;const _0x7a7aea=this[_0x27f39c(0x229)]();if(!_0x7a7aea)return;this['_cursors'][_0x27f39c(0x1da)](_0xffab1a=>{_0xffab1a['makeDirty']();});const {scene:_0x50020d}=_0x7a7aea,_0x5543eb=_0x2e657f(Array['from'](_0x35eaae[_0x27f39c(0x29c)]()))[_0x27f39c(0x2f3)](_0x57c088=>{const _0x22ed88=_0x27f39c,{color:_0x1b7286,range:_0x79f50f,name:_0x2d688c,selection:_0xed547a,sheetID:_0x8e893e}=_0x57c088,{startColumn:_0xdb9507,startRow:_0x17d225,endColumn:_0x268598,endRow:_0x3aadc1}=_0x79f50f,_0x313768=_0x4ffe22[_0x22ed88(0x26c)](_0x17d225,_0xdb9507,_0x50020d,_0x80d276),_0x805361=_0x4ffe22[_0x22ed88(0x26c)](_0x3aadc1,_0x268598,_0x50020d,_0x80d276),{columnHeaderHeightAndMarginTop:_0x6e5398}=_0x80d276,{startX:_0x41fcd4,startY:_0x3f267f}=_0x313768,{endX:_0x398852,endY:_0x4e398d}=_0x805361,_0x136104=_0x398852-_0x41fcd4,_0x5f4684=_0x4e398d-_0x3f267f,_0x1ac388={'labelPosition':_0x3f267f-_0x6e5398>=_0x34ce05?_0x22ed88(0x346):_0x22ed88(0x3fa),'sheetID':_0x8e893e,'range':_0x79f50f,'color':_0x1b7286,'name':_0x2d688c,'selection':_0xed547a,'left':_0x41fcd4,'top':_0x3f267f,'width':_0x136104,'height':_0x5f4684,'evented':!0x1,'zIndex':_0x5b1f4e};return new _0x1ea4fa(_0x2d688c,_0x1ac388);});_0x50020d[_0x27f39c(0x3d7)](_0x5543eb,_0x38cf1b),this[_0x27f39c(0x22f)]=new Set(_0x5543eb);}[_0x1f91f3(0x36e)](){const _0x35e207=_0x1f91f3;var _0x349df6;(_0x349df6=this['_cursors'])==null||_0x349df6[_0x35e207(0x1da)](_0x28c30b=>_0x28c30b[_0x35e207(0x3e3)]());}['_getSheetObject'](){const _0x2e34e5=_0x1f91f3;return _0x4ffe22[_0x2e34e5(0x238)](this[_0x2e34e5(0x278)][_0x2e34e5(0x27e)],this['_context']);}};_0x1a1ac8=_0x486603([_0x2652fc(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x4ffe22[_0x1f91f3(0x21d)])),_0x2652fc(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5059c3)),_0x2652fc(0x3,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x37e)]))],_0x1a1ac8);function _0x2e657f(_0x3081ef){const _0xe5bf30=new Map();return _0x3081ef['forEach'](_0xe0cfde=>{const _0x37d4b6=_0xd94b;if(_0xe5bf30[_0x37d4b6(0x1bf)](_0xe0cfde['selection'])){const _0x1293ea=_0xe5bf30[_0x37d4b6(0x21e)](_0xe0cfde['selection']);_0x1293ea[_0x37d4b6(0x2c5)]+=',\x20'+_0xe0cfde['name'];}else _0xe5bf30['set'](_0xe0cfde[_0x37d4b6(0x373)],_0xe0cfde);}),Array['from'](_0xe5bf30['values']());}var _0x3f87c4=function(){const _0x15ff6e=_0x1f91f3;return _0x3f87c4=Object[_0x15ff6e(0x308)]||function(_0x11d26b){const _0x4b4b21=_0x15ff6e;for(var _0x3a566e,_0x32a1e3=0x1,_0x29da69=arguments['length'];_0x32a1e3<_0x29da69;_0x32a1e3++){_0x3a566e=arguments[_0x32a1e3];for(var _0x642a57 in _0x3a566e)Object[_0x4b4b21(0x332)][_0x4b4b21(0x19b)][_0x4b4b21(0x1fc)](_0x3a566e,_0x642a57)&&(_0x11d26b[_0x642a57]=_0x3a566e[_0x642a57]);}return _0x11d26b;},_0x3f87c4[_0x15ff6e(0x2dc)](this,arguments);},_0x1617fa=function(_0x22b613,_0xdba081){const _0x113cf1=_0x1f91f3;var _0x465149={};for(var _0xbeb40f in _0x22b613)Object['prototype'][_0x113cf1(0x19b)][_0x113cf1(0x1fc)](_0x22b613,_0xbeb40f)&&_0xdba081[_0x113cf1(0x3c2)](_0xbeb40f)<0x0&&(_0x465149[_0xbeb40f]=_0x22b613[_0xbeb40f]);if(_0x22b613!=null&&typeof Object[_0x113cf1(0x220)]==_0x113cf1(0x174)){for(var _0x534bc6=0x0,_0xbeb40f=Object[_0x113cf1(0x220)](_0x22b613);_0x534bc6<_0xbeb40f[_0x113cf1(0x3f6)];_0x534bc6++)_0xdba081[_0x113cf1(0x3c2)](_0xbeb40f[_0x534bc6])<0x0&&Object[_0x113cf1(0x332)]['propertyIsEnumerable'][_0x113cf1(0x1fc)](_0x22b613,_0xbeb40f[_0x534bc6])&&(_0x465149[_0xbeb40f[_0x534bc6]]=_0x22b613[_0xbeb40f[_0x534bc6]]);}return _0x465149;},_0xffd5b1=_0x569492['forwardRef'](function(_0x1156f9,_0x5d4804){const _0x5311dc=_0x1f91f3;var _0x21bd57=_0x1156f9[_0x5311dc(0x211)],_0x2dd3b4=_0x1156f9['id'],_0x502dec=_0x1156f9[_0x5311dc(0x316)],_0x340e87=_0x1156f9[_0x5311dc(0x17f)],_0x2af10b=_0x1617fa(_0x1156f9,[_0x5311dc(0x211),'id','className','extend']),_0x577f07='univerjs-icon\x20univerjs-icon-'[_0x5311dc(0x395)](_0x2dd3b4,'\x20')[_0x5311dc(0x395)](_0x502dec||'')[_0x5311dc(0x297)](),_0x395d56=_0x569492['useRef']('_'['concat'](_0x21924d()));return _0x457838(_0x21bd57,''[_0x5311dc(0x395)](_0x2dd3b4),{'defIds':_0x21bd57[_0x5311dc(0x2af)],'idSuffix':_0x395d56[_0x5311dc(0x1f8)]},_0x3f87c4({'ref':_0x5d4804,'className':_0x577f07},_0x2af10b),_0x340e87);});function _0x457838(_0x33454e,_0xd062ec,_0x216d26,_0x38b7d5,_0x39df2d){const _0x31287e=_0x1f91f3;return _0x569492[_0x31287e(0x262)](_0x33454e[_0x31287e(0x3fd)],_0x3f87c4(_0x3f87c4({'key':_0xd062ec},_0x46041c(_0x33454e,_0x216d26,_0x39df2d)),_0x38b7d5),(_0x51320a(_0x33454e,_0x216d26)[_0x31287e(0x2a0)]||[])[_0x31287e(0x2f3)](function(_0x1b9f3e,_0xfdc319){const _0x25bf96=_0x31287e;return _0x457838(_0x1b9f3e,''['concat'](_0xd062ec,'-')['concat'](_0x33454e[_0x25bf96(0x3fd)],'-')[_0x25bf96(0x395)](_0xfdc319),_0x216d26,void 0x0,_0x39df2d);}));}function _0x46041c(_0x39bbf7,_0x12b07f,_0x5ad160){const _0x39b4bd=_0x1f91f3;var _0x124ba8=_0x3f87c4({},_0x39bbf7[_0x39b4bd(0x329)]);_0x5ad160!=null&&_0x5ad160[_0x39b4bd(0x3ef)]&&_0x124ba8[_0x39b4bd(0x327)]===_0x39b4bd(0x3ef)&&(_0x124ba8[_0x39b4bd(0x327)]=_0x5ad160[_0x39b4bd(0x3ef)]),_0x39bbf7[_0x39b4bd(0x3fd)]===_0x39b4bd(0x207)&&_0x124ba8['id']&&(_0x124ba8['id']=_0x124ba8['id']+_0x12b07f[_0x39b4bd(0x186)]),Object[_0x39b4bd(0x1d8)](_0x124ba8)[_0x39b4bd(0x1da)](function(_0xa7655){const _0x56a1d1=_0x39b4bd;var _0x5d31a5=_0xa7655[0x0],_0x30ba9e=_0xa7655[0x1];_0x5d31a5===_0x56a1d1(0x207)&&typeof _0x30ba9e=='string'&&(_0x124ba8[_0x5d31a5]=_0x30ba9e['replace'](/url\(#(.*)\)/,_0x56a1d1(0x19a)[_0x56a1d1(0x395)](_0x12b07f['idSuffix'],')')));});var _0x57adbc=_0x12b07f[_0x39b4bd(0x2af)];return!_0x57adbc||_0x57adbc['length']===0x0||(_0x39bbf7[_0x39b4bd(0x3fd)]===_0x39b4bd(0x3b2)&&_0x124ba8[_0x39b4bd(0x3c5)]&&(_0x124ba8[_0x39b4bd(0x3c5)]=_0x124ba8[_0x39b4bd(0x3c5)]+_0x12b07f[_0x39b4bd(0x186)]),Object[_0x39b4bd(0x1d8)](_0x124ba8)[_0x39b4bd(0x1da)](function(_0x36fc0c){const _0x1e0c46=_0x39b4bd;var _0xe11151=_0x36fc0c[0x0],_0x240950=_0x36fc0c[0x1];typeof _0x240950==_0x1e0c46(0x2cb)&&(_0x124ba8[_0xe11151]=_0x240950[_0x1e0c46(0x3f1)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x12b07f[_0x1e0c46(0x186)],')')));})),_0x124ba8;}function _0x51320a(_0x594add,_0x49c48f){const _0x49d5a0=_0x1f91f3;var _0x20e331,_0x1ce705=_0x49c48f[_0x49d5a0(0x2af)];return!_0x1ce705||_0x1ce705[_0x49d5a0(0x3f6)]===0x0?_0x594add:_0x594add[_0x49d5a0(0x3fd)]===_0x49d5a0(0x271)&&(!((_0x20e331=_0x594add['children'])===null||_0x20e331===void 0x0)&&_0x20e331[_0x49d5a0(0x3f6)])?_0x3f87c4(_0x3f87c4({},_0x594add),{'children':_0x594add['children'][_0x49d5a0(0x2f3)](function(_0x23ab3d){const _0x1db68e=_0x49d5a0;return typeof _0x23ab3d['attrs']['id']==_0x1db68e(0x2cb)&&_0x1ce705&&_0x1ce705[_0x1db68e(0x3c2)](_0x23ab3d['attrs']['id'])>-0x1?_0x3f87c4(_0x3f87c4({},_0x23ab3d),{'attrs':_0x3f87c4(_0x3f87c4({},_0x23ab3d[_0x1db68e(0x329)]),{'id':_0x23ab3d[_0x1db68e(0x329)]['id']+_0x49c48f[_0x1db68e(0x186)]})}):_0x23ab3d;})}):_0x594add;}function _0x21924d(){const _0x383e54=_0x1f91f3;return Math[_0x383e54(0x3e0)]()[_0x383e54(0x246)](0x24)[_0x383e54(0x224)](0x2,0x8);}_0xffd5b1[_0x1f91f3(0x3cb)]=_0x1f91f3(0x2b8);var _0x244bb4={'tag':_0x1f91f3(0x364),'attrs':{'fill':_0x1f91f3(0x255),'viewBox':_0x1f91f3(0x189),'width':_0x1f91f3(0x372),'height':_0x1f91f3(0x372)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f91f3(0x252)},'children':[{'tag':_0x1f91f3(0x354),'attrs':{'stroke':_0x1f91f3(0x2c9),'d':_0x1f91f3(0x38d),'strokeLinecap':_0x1f91f3(0x202),'strokeLinejoin':_0x1f91f3(0x202),'strokeWidth':1.2}}]},{'tag':_0x1f91f3(0x271),'attrs':{},'children':[{'tag':_0x1f91f3(0x25c),'attrs':{'id':_0x1f91f3(0x3d6)},'children':[{'tag':'path','attrs':{'fill':_0x1f91f3(0x258),'d':_0x1f91f3(0x26d)}}]}]}],'defIds':[_0x1f91f3(0x3d6)]},_0x140378=_0x569492[_0x1f91f3(0x279)](function(_0x3f9a3a,_0x1e9ab1){const _0xb7a5fe=_0x1f91f3;return _0x569492[_0xb7a5fe(0x262)](_0xffd5b1,Object[_0xb7a5fe(0x308)]({},_0x3f9a3a,{'id':_0xb7a5fe(0x2e9),'ref':_0x1e9ab1,'icon':_0x244bb4}));});_0x140378['displayName']='OffLineSingle';var _0x571413={'tag':_0x1f91f3(0x364),'attrs':{'fill':_0x1f91f3(0x255),'viewBox':'0\x200\x2017\x2016','width':_0x1f91f3(0x372),'height':_0x1f91f3(0x372)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f91f3(0x1d1)},'children':[{'tag':_0x1f91f3(0x354),'attrs':{'stroke':_0x1f91f3(0x2c9),'d':_0x1f91f3(0x2cc),'strokeLinecap':_0x1f91f3(0x202),'strokeLinejoin':_0x1f91f3(0x202),'strokeWidth':1.2}}]},{'tag':_0x1f91f3(0x271),'attrs':{},'children':[{'tag':_0x1f91f3(0x25c),'attrs':{'id':_0x1f91f3(0x1cb)},'children':[{'tag':_0x1f91f3(0x354),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1f91f3(0x1cb)]},_0x4d7d8b=_0x569492['forwardRef'](function(_0x2c9ff7,_0x368e79){const _0xf60233=_0x1f91f3;return _0x569492[_0xf60233(0x262)](_0xffd5b1,Object['assign']({},_0x2c9ff7,{'id':_0xf60233(0x334),'ref':_0x368e79,'icon':_0x571413}));});_0x4d7d8b[_0x1f91f3(0x3cb)]=_0x1f91f3(0x1c6);function _0x3d182a(_0x4a9b1c){const _0x5ef78f=_0x1f91f3;switch(_0x4a9b1c){case _0x5e2e2e[_0x5ef78f(0x2bf)]['OFFLINE']:return _0x5ef78f(0x2fc);case _0x5e2e2e['CollaborationStatus']['CONFLICT']:return _0x5ef78f(0x302);case _0x5e2e2e[_0x5ef78f(0x2bf)]['FETCH_MISS']:return _0x5ef78f(0x2e3);case _0x5e2e2e['CollaborationStatus'][_0x5ef78f(0x3b3)]:return _0x5ef78f(0x191);case _0x5e2e2e[_0x5ef78f(0x2bf)]['AWAITING']:case _0x5e2e2e['CollaborationStatus'][_0x5ef78f(0x2c0)]:return _0x5ef78f(0x1c0);case _0x5e2e2e['CollaborationStatus'][_0x5ef78f(0x320)]:case _0x5e2e2e[_0x5ef78f(0x2bf)][_0x5ef78f(0x2ab)]:return _0x5ef78f(0x2a6);}}function _0x1f8961(_0x3c917f){const _0x559986=_0x1f91f3,{status$:_0x311ea9}=_0x3c917f,_0x13887a=_0x4b07f4['useObservable'](_0x311ea9,_0x5e2e2e[_0x559986(0x2bf)][_0x559986(0x3b3)]),_0x22e056=_0x4b07f4['useDependency'](_0x134956[_0x559986(0x3e4)]),_0x391455=_0x4b07f4[_0x559986(0x208)](_0x5e2e2e[_0x559986(0x206)]),_0x44f1b1=_0x13887a!==_0x5e2e2e[_0x559986(0x2bf)][_0x559986(0x3e5)],_0x5cef9b=_0x22e056['t'](_0x3d182a(_0x13887a)),_0x427a7d=_0x44f1b1?_0xc2469['jsx'](_0x4d7d8b,{}):_0xc2469['jsx'](_0x140378,{}),_0x319f5a=_0x569492['useCallback'](()=>{_0x44f1b1||_0x391455['reconnect']();},[_0x44f1b1,_0x391455]);function _0x206ae8(){const _0x43a39f=_0x559986;return _0xc2469['jsxs']('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x319f5a,'children':[_0xc2469[_0x43a39f(0x356)](_0x43a39f(0x33a),{'className':_0x14c7fd['clsx'](_0x43a39f(0x3ec),{'univer-text-green-500':_0x44f1b1,'univer-text-red-500':!_0x44f1b1}),'children':_0x427a7d}),_0xc2469['jsx'](_0x43a39f(0x33a),{'className':_0x43a39f(0x230),'children':_0x5cef9b})]});}return _0x44f1b1?_0x206ae8():_0xc2469[_0x559986(0x356)](_0x14c7fd[_0x559986(0x402)],{'title':_0x22e056['t'](_0x559986(0x25a)),'children':_0x206ae8()});}var _0x4808df=Object[_0x1f91f3(0x29b)],_0x3162b8=(_0x3974fa,_0x4fc751,_0x1136a3,_0x1f93e0)=>{const _0xc24b7=_0x1f91f3;for(var _0x44f612=_0x1f93e0>0x1?void 0x0:_0x1f93e0?_0x4808df(_0x4fc751,_0x1136a3):_0x4fc751,_0x1cac82=_0x3974fa[_0xc24b7(0x3f6)]-0x1,_0x45794a;_0x1cac82>=0x0;_0x1cac82--)(_0x45794a=_0x3974fa[_0x1cac82])&&(_0x44f612=_0x45794a(_0x44f612)||_0x44f612);return _0x44f612;},_0x4ba2f1=(_0x24ea03,_0x590088)=>(_0x13dcd4,_0x3083ad)=>_0x590088(_0x13dcd4,_0x3083ad,_0x24ea03);_0x4e4c58['DesktopCollaborationStatusDisplayController']=class extends _0x134956[_0x1f91f3(0x1fe)]{constructor(_0x2b0112,_0x5846ba,_0x4a88a3,_0x135828){const _0x4e3cbd=_0x1f91f3;super(),_0x1ffdb1(this,'_status$',new _0x35f7fc[(_0x4e3cbd(0x32e))](_0x5e2e2e[_0x4e3cbd(0x2bf)][_0x4e3cbd(0x3b3)])),(this[_0x4e3cbd(0x3c1)]=_0x2b0112,this['_injector']=_0x5846ba,this[_0x4e3cbd(0x1bb)]=_0x4a88a3,this[_0x4e3cbd(0x18b)]=_0x135828,this[_0x4e3cbd(0x1fa)](),this[_0x4e3cbd(0x2b4)]());}[_0x1f91f3(0x2b4)](){const _0x2700f6=_0x1f91f3;this[_0x2700f6(0x20d)](this[_0x2700f6(0x3c1)][_0x2700f6(0x3e1)]['pipe'](_0x35f7fc['switchMap'](()=>{const _0x329d9d=_0x2700f6,_0x194178=this[_0x329d9d(0x3c1)][_0x329d9d(0x3aa)]();return _0x194178?this[_0x329d9d(0x1bb)][_0x329d9d(0x39a)](_0x194178['getUnitId']()):_0x35f7fc['of'](null);}),_0x35f7fc[_0x2700f6(0x357)](_0x15c517=>_0x15c517?_0x15c517[_0x2700f6(0x386)]:_0x35f7fc['of'](_0x5e2e2e[_0x2700f6(0x2bf)][_0x2700f6(0x3b3)])))['subscribe'](_0x1d5312=>{const _0x31af67=_0x2700f6;this[_0x31af67(0x2b0)][_0x31af67(0x244)](_0x1d5312);}));}[_0x1f91f3(0x1fa)](){const _0x16e4e2=_0x1f91f3;this[_0x16e4e2(0x20d)](this[_0x16e4e2(0x18b)][_0x16e4e2(0x305)](_0x4b07f4[_0x16e4e2(0x197)][_0x16e4e2(0x1aa)],()=>_0x4b07f4['connectInjector'](_0x78a473({'status$':this[_0x16e4e2(0x2b0)][_0x16e4e2(0x3a8)]()}),this['_injector'])));}},_0x4e4c58['DesktopCollaborationStatusDisplayController']=_0x3162b8([_0x4ba2f1(0x0,_0x134956[_0x1f91f3(0x3ff)]),_0x4ba2f1(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x4ba2f1(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e[_0x1f91f3(0x23b)])),_0x4ba2f1(0x3,_0x4b07f4['IUIPartsService'])],_0x4e4c58[_0x1f91f3(0x2f5)]);function _0x78a473(_0x3691c0){const {status$:_0x124f3b}=_0x3691c0;return function(){const _0x4600a1=_0xd94b;return _0xc2469[_0x4600a1(0x356)](_0x1f8961,{'status$':_0x124f3b});};}var _0x56763e=Object[_0x1f91f3(0x29b)],_0x4bf834=(_0x2dd205,_0x11315f,_0x34b668,_0x30c7fd)=>{for(var _0x169b9b=_0x30c7fd>0x1?void 0x0:_0x30c7fd?_0x56763e(_0x11315f,_0x34b668):_0x11315f,_0x565ecd=_0x2dd205['length']-0x1,_0x4ff3fb;_0x565ecd>=0x0;_0x565ecd--)(_0x4ff3fb=_0x2dd205[_0x565ecd])&&(_0x169b9b=_0x4ff3fb(_0x169b9b)||_0x169b9b);return _0x169b9b;},_0x1d3a29=(_0x14024b,_0x2e49a4)=>(_0x295e66,_0x31b2cd)=>_0x2e49a4(_0x295e66,_0x31b2cd,_0x14024b);let _0x5bdbbe=class extends _0x134956[_0x1f91f3(0x1fe)]{constructor(_0x2abc37,_0x43b21d,_0x4fb41b,_0x57fe8a,_0x4a508d,_0x1c6d80){const _0x1aba9c=_0x1f91f3;super(),this[_0x1aba9c(0x167)]=_0x2abc37,this['_localCacheService']=_0x43b21d,this[_0x1aba9c(0x396)]=_0x4fb41b,this[_0x1aba9c(0x261)]=_0x57fe8a,this[_0x1aba9c(0x2f0)]=_0x4a508d,this[_0x1aba9c(0x175)]=_0x1c6d80,this[_0x1aba9c(0x389)](),this['_initEvent']();}[_0x1f91f3(0x389)](){const _0x48cff3=_0x1f91f3;this[_0x48cff3(0x20d)](this[_0x48cff3(0x167)][_0x48cff3(0x39e)](()=>{const _0x133c9c=_0x48cff3;if(this[_0x133c9c(0x212)][_0x133c9c(0x36f)]['size'])return this[_0x133c9c(0x175)]['t'](_0x133c9c(0x1f6));}));}['_initEvent'](){const _0x195c36=_0x1f91f3;this[_0x195c36(0x20d)](this[_0x195c36(0x396)][_0x195c36(0x2a8)]['subscribe'](_0x592fe7=>{const _0x56f964=_0x195c36;_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x56f964(0x325)]({'type':_0x14c7fd['MessageType']['Warning'],'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x313))}),_0x592fe7['id']===_0x5e2e2e['CollaborationUIEventId'][_0x56f964(0x2f1)]&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x390)],'content':this['_localeService']['t'](_0x56f964(0x3c3))}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x351)]&&this[_0x56f964(0x2f0)][_0x56f964(0x325)]({'title':this[_0x56f964(0x175)]['t'](_0x56f964(0x213)),'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x2b5)),'type':'error','duration':0x0}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)]['CONFLICT']&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd[_0x56f964(0x348)]['Error'],'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x3c3))+'('+_0x592fe7[_0x56f964(0x2a2)]+')'}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x25e)]&&this['_messageService']['show']({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x390)],'content':this[_0x56f964(0x175)]['t'](_0x592fe7[_0x56f964(0x2a2)]||'')}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x2a7)]&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd['MessageType'][_0x56f964(0x390)],'content':this['_localeService']['t'](_0x56f964(0x17a))}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x1f4)]&&this[_0x56f964(0x261)]['show']({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x237)],'content':this[_0x56f964(0x175)]['t'](_0x56f964(0x26f))}),_0x592fe7['id']===_0x5e2e2e[_0x56f964(0x1b2)][_0x56f964(0x3ea)]&&this[_0x56f964(0x261)][_0x56f964(0x325)]({'type':_0x14c7fd[_0x56f964(0x348)][_0x56f964(0x237)],'content':this['_localeService']['t'](_0x56f964(0x315))});}));}};_0x5bdbbe=_0x4bf834([_0x1d3a29(0x0,_0x4b07f4[_0x1f91f3(0x21c)]),_0x1d3a29(0x1,_0x5e2e2e[_0x1f91f3(0x23e)]),_0x1d3a29(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e['CollaborationUIEventService'])),_0x1d3a29(0x3,_0x4b07f4[_0x1f91f3(0x296)]),_0x1d3a29(0x4,_0x4b07f4[_0x1f91f3(0x3c0)]),_0x1d3a29(0x5,_0x134956[_0x1f91f3(0x3a4)](_0x134956['LocaleService']))],_0x5bdbbe);const _0x483478='collaboration-client-ui.config',_0x415852={},_0x1c82a9=_0x134956['createIdentifier']('uni.network.url-service');var _0x542595=Object[_0x1f91f3(0x29b)],_0x1b22af=(_0x141b2a,_0x2fa7da,_0x171e0e,_0x48af7d)=>{for(var _0x5301f3=_0x48af7d>0x1?void 0x0:_0x48af7d?_0x542595(_0x2fa7da,_0x171e0e):_0x2fa7da,_0x25a367=_0x141b2a['length']-0x1,_0x546c2d;_0x25a367>=0x0;_0x25a367--)(_0x546c2d=_0x141b2a[_0x25a367])&&(_0x5301f3=_0x546c2d(_0x5301f3)||_0x5301f3);return _0x5301f3;},_0x7300be=(_0x466356,_0x1f81ef)=>(_0x3df890,_0x5237cc)=>_0x1f81ef(_0x3df890,_0x5237cc,_0x466356);_0x4e4c58[_0x1f91f3(0x1ed)]=class extends _0x134956[_0x1f91f3(0x3a9)]{constructor(_0x1c9ee2,_0x2fc68d,_0x7db862,_0x296ccd,_0x240ce2){const _0x22db8b=_0x1f91f3;super(),this[_0x22db8b(0x187)]=_0x1c9ee2,this[_0x22db8b(0x349)]=_0x2fc68d,this[_0x22db8b(0x2d9)]=_0x7db862,this[_0x22db8b(0x2ce)]=_0x296ccd,_0x240ce2?_0x240ce2==null||_0x240ce2[_0x22db8b(0x38e)]()[_0x22db8b(0x1e1)](()=>this[_0x22db8b(0x3c4)]()):(this[_0x22db8b(0x349)][_0x22db8b(0x39d)](_0x22db8b(0x376),_0x22db8b(0x188)),this[_0x22db8b(0x3c4)]());}async['_init'](){const _0x360409=_0x1f91f3,_0x5f1090=this[_0x360409(0x187)][_0x360409(0x239)](_0x360409(0x27e)),_0x1ba760=this[_0x360409(0x187)][_0x360409(0x239)](_0x360409(0x1d4)),_0x5f274f=this[_0x360409(0x187)]['getParam']('subunit');if(!_0x5f1090||!_0x1ba760){this[_0x360409(0x349)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x42bc29=await this[_0x360409(0x2ce)][_0x360409(0x2c3)](_0x5f1090,Number(_0x1ba760),_0x5f274f);_0x42bc29&&_0x42bc29 instanceof _0x134956[_0x360409(0x199)]&&this['_setupSubUnitSync'](_0x42bc29);}async[_0x1f91f3(0x1f2)](_0xedc095){const _0x30853f=_0x1f91f3;await this['_updateSubUnitFromURLParams'](_0xedc095),_0xedc095['activeSheet$'][_0x30853f(0x1d5)](_0x35f7fc[_0x30853f(0x269)](this[_0x30853f(0x25d)]))['subscribe'](_0x1223c9=>{const _0x511f30=_0x30853f;_0x1223c9&&this[_0x511f30(0x33e)](_0x1223c9);}),this[_0x30853f(0x187)][_0x30853f(0x1a0)][_0x30853f(0x1d5)](_0x35f7fc[_0x30853f(0x269)](this[_0x30853f(0x25d)]))[_0x30853f(0x203)](()=>this[_0x30853f(0x1a6)](_0xedc095));}[_0x1f91f3(0x33e)](_0x382a9e,_0x59d874=!0x1){const _0x138fff=_0x1f91f3,_0x3ec491=this[_0x138fff(0x187)]['getParam'](_0x138fff(0x280));_0x382a9e[_0x138fff(0x37f)]()!==_0x3ec491&&this[_0x138fff(0x187)][_0x138fff(0x1b9)](_0x138fff(0x280),_0x382a9e[_0x138fff(0x37f)](),_0x59d874);}async[_0x1f91f3(0x1a6)](_0x12bf15){const _0x2fbfc9=_0x1f91f3;var _0x38445f;const _0x3f9508=this[_0x2fbfc9(0x187)][_0x2fbfc9(0x239)](_0x2fbfc9(0x280));if(!_0x3f9508||!_0x12bf15[_0x2fbfc9(0x288)](_0x3f9508)){const _0x2c83d2=_0x12bf15[_0x2fbfc9(0x16d)]()[0x0],_0x5d40c1=_0x12bf15[_0x2fbfc9(0x288)](_0x2c83d2);if(!_0x5d40c1)return;this[_0x2fbfc9(0x33e)](_0x5d40c1,!0x0),await this[_0x2fbfc9(0x2d9)][_0x2fbfc9(0x1e9)](_0x105017[_0x2fbfc9(0x1ac)]['id'],{'unitId':_0x12bf15[_0x2fbfc9(0x333)](),'subUnitId':_0x2c83d2});return;}((_0x38445f=_0x12bf15[_0x2fbfc9(0x222)]())==null?void 0x0:_0x38445f[_0x2fbfc9(0x37f)]())!==_0x3f9508&&await this[_0x2fbfc9(0x2d9)][_0x2fbfc9(0x1e9)](_0x105017[_0x2fbfc9(0x1ac)]['id'],{'unitId':_0x12bf15[_0x2fbfc9(0x333)](),'subUnitId':_0x3f9508});}},_0x4e4c58['CollaborationDataLoaderController']=_0x1b22af([_0x7300be(0x0,_0x1c82a9),_0x7300be(0x1,_0x134956['ILogService']),_0x7300be(0x2,_0x134956[_0x1f91f3(0x361)]),_0x7300be(0x3,_0x134956['Inject'](_0x5e2e2e['DataLoaderService'])),_0x7300be(0x4,_0x134956[_0x1f91f3(0x270)](_0x346cc2[_0x1f91f3(0x32c)]))],_0x4e4c58[_0x1f91f3(0x1ed)]);var _0x1b687a=Object[_0x1f91f3(0x29b)],_0x16fbf6=(_0x330c7d,_0x2d2e5c,_0x42dcbf,_0x559707)=>{const _0x2c66da=_0x1f91f3;for(var _0xe5fa5a=_0x559707>0x1?void 0x0:_0x559707?_0x1b687a(_0x2d2e5c,_0x42dcbf):_0x2d2e5c,_0xec49a4=_0x330c7d[_0x2c66da(0x3f6)]-0x1,_0x3ceed3;_0xec49a4>=0x0;_0xec49a4--)(_0x3ceed3=_0x330c7d[_0xec49a4])&&(_0xe5fa5a=_0x3ceed3(_0xe5fa5a)||_0xe5fa5a);return _0xe5fa5a;},_0x3d3095=(_0x550fac,_0x16465d)=>(_0x3d662b,_0x3d4037)=>_0x16465d(_0x3d662b,_0x3d4037,_0x550fac);let _0x1790a5=class{constructor(_0x5a7860,_0x20df80,_0x56b6af){this['_injector']=_0x5a7860,this['_transformService']=_0x20df80,this['_renderManagerService']=_0x56b6af;}[_0x1f91f3(0x277)](_0x320811){const _0x4dddb4=_0x1f91f3;this['_transformUndoRedoStack'](_0x320811),this[_0x4dddb4(0x3f2)](_0x320811);}[_0x1f91f3(0x3bb)](_0x2cb1d1){const _0x1da222=_0x1f91f3,{unitID:_0x34de6e}=_0x2cb1d1,_0x27d8c8=this['_renderManagerService'][_0x1da222(0x1a9)](_0x34de6e)[_0x1da222(0x18d)](_0x241046[_0x1da222(0x253)]),{redoCache:_0x43da01}=_0x27d8c8[_0x1da222(0x1b6)]();if(_0x43da01['length']===0x0)return _0x2cb1d1;let _0x275814=_0x134956[_0x1da222(0x29f)][_0x1da222(0x3cc)](_0x2cb1d1[_0x1da222(0x3b4)][0x0]);for(let _0xc31eb9=0x0;_0xc31eb9<_0x43da01[_0x1da222(0x3f6)];_0xc31eb9++){const _0x5a4129={'id':_0x1da222(0x317),'params':{..._0x43da01[_0xc31eb9]}},_0x5c21ac=this[_0x1da222(0x37c)]['transformMutation'](_0x275814,_0x5a4129,!0x1);if(_0x469b6a[_0x1da222(0x3cf)](_0x5c21ac))throw _0x5c21ac[_0x1da222(0x385)];_0x275814=_0x5c21ac['m1Prime'];}return{..._0x134956['Tools'][_0x1da222(0x3cc)](_0x2cb1d1),'mutations':[_0x275814]};}[_0x1f91f3(0x2e1)](_0x42d557){const _0x5387c5=_0x1f91f3,{unitID:_0x57f726}=_0x42d557,_0x871ed=this[_0x5387c5(0x300)][_0x5387c5(0x1a9)](_0x57f726)[_0x5387c5(0x18d)](_0x241046[_0x5387c5(0x253)]),{undoCache:_0x162933,redoCache:_0x5aaa57}=_0x871ed[_0x5387c5(0x1b6)]();if(_0x162933[_0x5387c5(0x3f6)]===0x0||_0x5aaa57[_0x5387c5(0x3f6)]===0x0)return;const _0x5d640d=[],_0x464db3=[];let _0x5ece1d=_0x134956['Tools']['deepClone'](_0x42d557['mutations'][0x0]),_0x52c770=_0x134956[_0x5387c5(0x29f)][_0x5387c5(0x3cc)](_0x42d557['mutations'][0x0]);for(let _0x352e2e=_0x162933['length']-0x1;_0x352e2e>=0x0;_0x352e2e--){const _0x1fad77={'id':'doc.mutation.rich-text-editing','params':{..._0x162933[_0x352e2e]}},_0x3ab638={'id':_0x5387c5(0x317),'params':{..._0x5aaa57[_0x352e2e]}},_0x27b126=this[_0x5387c5(0x37c)][_0x5387c5(0x360)](_0x5ece1d,_0x1fad77,!0x1),_0x44c5e1=this[_0x5387c5(0x37c)][_0x5387c5(0x360)](_0x52c770,_0x3ab638,!0x1);if(_0x469b6a[_0x5387c5(0x3cf)](_0x27b126))throw _0x27b126[_0x5387c5(0x385)];if(_0x469b6a['isTransformMutationFailure'](_0x44c5e1))throw _0x44c5e1[_0x5387c5(0x385)];_0x5d640d[_0x5387c5(0x266)](_0x27b126['m2Prime'][_0x5387c5(0x2ed)]),_0x464db3[_0x5387c5(0x266)](_0x44c5e1[_0x5387c5(0x1a7)][_0x5387c5(0x2ed)]),_0x5ece1d=_0x27b126['m1Prime'],_0x52c770=_0x44c5e1[_0x5387c5(0x178)];}_0x871ed[_0x5387c5(0x22b)]({'undoCache':_0x5d640d,'redoCache':_0x464db3});}[_0x1f91f3(0x3f2)](_0x3f1ff4){const _0x420c48=_0x1f91f3,{unitID:_0x5e7c3a}=_0x3f1ff4,_0x3ebc0e=this[_0x420c48(0x300)][_0x420c48(0x1a9)](_0x5e7c3a)[_0x420c48(0x18d)](_0x241046[_0x420c48(0x253)]),_0x44a48d=_0x3ebc0e[_0x420c48(0x37d)]();if(_0x44a48d==null)return;const _0x356a8d=[{'id':_0x420c48(0x317),'params':{'unitId':_0x3f1ff4['unitID'],'actions':null,'textRanges':[_0x44a48d]}}],_0x1a9776=this[_0x420c48(0x37c)][_0x420c48(0x2d0)](_0x3f1ff4,_0x356a8d);if(!_0x469b6a['isTransformMutationsWithChangesetSuccess'](_0x1a9776))throw _0x1a9776[_0x420c48(0x385)];const _0x1a7ea0=_0x1a9776[_0x420c48(0x1a7)][0x0][_0x420c48(0x2ed)][_0x420c48(0x23c)];Array[_0x420c48(0x28d)](_0x1a7ea0)&&_0x1a7ea0[_0x420c48(0x3f6)]&&_0x3ebc0e[_0x420c48(0x3e2)](_0x1a7ea0[0x0]);}};_0x1790a5=_0x16fbf6([_0x3d3095(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x3d3095(0x1,_0x469b6a[_0x1f91f3(0x341)]),_0x3d3095(0x2,_0x31808c[_0x1f91f3(0x219)])],_0x1790a5);var _0x1e6bed=Object['getOwnPropertyDescriptor'],_0x10af23=(_0x29fb64,_0x1c9cf3,_0x2c3386,_0x146cab)=>{const _0x237087=_0x1f91f3;for(var _0x17c1ce=_0x146cab>0x1?void 0x0:_0x146cab?_0x1e6bed(_0x1c9cf3,_0x2c3386):_0x1c9cf3,_0x3061ce=_0x29fb64[_0x237087(0x3f6)]-0x1,_0x5aebf6;_0x3061ce>=0x0;_0x3061ce--)(_0x5aebf6=_0x29fb64[_0x3061ce])&&(_0x17c1ce=_0x5aebf6(_0x17c1ce)||_0x17c1ce);return _0x17c1ce;},_0x57deed=(_0x1a4e4d,_0x4123c9)=>(_0x58b8e1,_0xe12f51)=>_0x4123c9(_0x58b8e1,_0xe12f51,_0x1a4e4d);let _0x44e524=class{constructor(_0xba704b,_0x466e7b,_0x5d66bd){const _0xe989de=_0x1f91f3;this[_0xe989de(0x314)]=_0xba704b,this['_transformService']=_0x466e7b,this['_docStateChangeManagerService']=_0x5d66bd;}[_0x1f91f3(0x21b)](_0x3ae6ce){const _0x2ff335=_0x1f91f3;this[_0x2ff335(0x3a5)](_0x3ae6ce);}[_0x1f91f3(0x3bb)](_0x59396f){const _0x46c162=_0x1f91f3,{unitID:_0x1e4b96}=_0x59396f,{collaboration:_0x5afc02}=this[_0x46c162(0x3d9)][_0x46c162(0x362)](_0x1e4b96);if(_0x5afc02[_0x46c162(0x3f6)]===0x0)return _0x59396f;let _0x164c4d=_0x134956[_0x46c162(0x29f)][_0x46c162(0x3cc)](_0x59396f[_0x46c162(0x3b4)][0x0]);for(let _0x37b068=0x0;_0x37b068<_0x5afc02[_0x46c162(0x3f6)];_0x37b068++){const _0x13e462={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5afc02[_0x37b068][_0x46c162(0x243)],..._0x5afc02[_0x37b068]['redoState']}},_0x6694bd=this[_0x46c162(0x37c)][_0x46c162(0x360)](_0x164c4d,_0x13e462,!0x1);if(_0x469b6a[_0x46c162(0x3cf)](_0x6694bd))throw _0x6694bd['error'];_0x164c4d=_0x6694bd[_0x46c162(0x178)];}return{..._0x134956[_0x46c162(0x29f)][_0x46c162(0x3cc)](_0x59396f),'mutations':[_0x164c4d]};}[_0x1f91f3(0x3a5)](_0x365e7a){const _0x3b5584=_0x1f91f3,{unitID:_0xba8ae7}=_0x365e7a,{history:_0x13c948,collaboration:_0x5b0f71}=this[_0x3b5584(0x3d9)]['getStateCache'](_0xba8ae7);if(_0x13c948['length']===0x0&&_0x5b0f71[_0x3b5584(0x3f6)]===0x0)return;const _0x2887d4=[],_0xb4dabb=[];let _0xff5a02=_0x134956[_0x3b5584(0x29f)]['deepClone'](_0x365e7a[_0x3b5584(0x3b4)][0x0]),_0x25c075=_0x134956[_0x3b5584(0x29f)][_0x3b5584(0x3cc)](_0x365e7a[_0x3b5584(0x3b4)][0x0]);for(let _0x370ad1=_0x13c948[_0x3b5584(0x3f6)]-0x1;_0x370ad1>=0x0;_0x370ad1--){const _0x23a52a={'id':_0x3b5584(0x317),'params':{'unitId':_0x13c948[_0x370ad1]['unitId'],..._0x13c948[_0x370ad1][_0x3b5584(0x3ad)]}},_0x3faa05={'id':_0x3b5584(0x317),'params':{'unitId':_0x13c948[_0x370ad1][_0x3b5584(0x243)],..._0x13c948[_0x370ad1]['redoState']}},_0xa0df29=this[_0x3b5584(0x37c)][_0x3b5584(0x360)](_0xff5a02,_0x23a52a,!0x1),_0x3f8f96=this[_0x3b5584(0x37c)]['transformMutation'](_0x25c075,_0x3faa05,!0x1);if(_0x469b6a['isTransformMutationFailure'](_0xa0df29))throw _0xa0df29[_0x3b5584(0x385)];if(_0x469b6a[_0x3b5584(0x3cf)](_0x3f8f96))throw _0x3f8f96['error'];_0x2887d4[_0x3b5584(0x266)]({..._0x13c948[_0x370ad1],'undoState':_0xa0df29[_0x3b5584(0x1a7)][_0x3b5584(0x2ed)],'redoState':_0x3f8f96[_0x3b5584(0x1a7)][_0x3b5584(0x2ed)]}),_0xff5a02=_0xa0df29['m1Prime'],_0x25c075=_0x3f8f96[_0x3b5584(0x178)];}_0xff5a02=_0x134956[_0x3b5584(0x29f)]['deepClone'](_0x365e7a['mutations'][0x0]),_0x25c075=_0x134956['Tools'][_0x3b5584(0x3cc)](_0x365e7a[_0x3b5584(0x3b4)][0x0]);for(let _0x5662ea=_0x5b0f71[_0x3b5584(0x3f6)]-0x1;_0x5662ea>=0x0;_0x5662ea--){const _0x422a8d={'id':_0x3b5584(0x317),'params':{'unitId':_0x5b0f71[_0x5662ea]['unitId'],..._0x5b0f71[_0x5662ea][_0x3b5584(0x3ad)]}},_0x4358fd={'id':_0x3b5584(0x317),'params':{'unitId':_0x5b0f71[_0x5662ea][_0x3b5584(0x243)],..._0x5b0f71[_0x5662ea][_0x3b5584(0x32d)]}},_0x3b62b8=this['_transformService'][_0x3b5584(0x360)](_0xff5a02,_0x422a8d,!0x1),_0x170a8c=this[_0x3b5584(0x37c)][_0x3b5584(0x360)](_0x25c075,_0x4358fd,!0x1);if(_0x469b6a[_0x3b5584(0x3cf)](_0x3b62b8))throw _0x3b62b8[_0x3b5584(0x385)];if(_0x469b6a[_0x3b5584(0x3cf)](_0x170a8c))throw _0x170a8c[_0x3b5584(0x385)];_0xb4dabb[_0x3b5584(0x266)]({..._0x5b0f71[_0x5662ea],'undoState':_0x3b62b8[_0x3b5584(0x1a7)]['params'],'redoState':_0x170a8c[_0x3b5584(0x1a7)][_0x3b5584(0x2ed)]}),_0xff5a02=_0x3b62b8[_0x3b5584(0x178)],_0x25c075=_0x170a8c[_0x3b5584(0x178)];}this[_0x3b5584(0x3d9)][_0x3b5584(0x1e8)](_0xba8ae7,{'history':_0x2887d4,'collaboration':_0xb4dabb});}};_0x44e524=_0x10af23([_0x57deed(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x57deed(0x1,_0x469b6a[_0x1f91f3(0x341)]),_0x57deed(0x2,_0x134956['Inject'](_0x241046[_0x1f91f3(0x19d)]))],_0x44e524);var _0x34e865=Object[_0x1f91f3(0x29b)],_0x168281=(_0x2ad992,_0x18a98b,_0x4ef72c,_0xebfbc5)=>{const _0x233dca=_0x1f91f3;for(var _0x42e016=_0xebfbc5>0x1?void 0x0:_0xebfbc5?_0x34e865(_0x18a98b,_0x4ef72c):_0x18a98b,_0x50a2a0=_0x2ad992[_0x233dca(0x3f6)]-0x1,_0x4653df;_0x50a2a0>=0x0;_0x50a2a0--)(_0x4653df=_0x2ad992[_0x50a2a0])&&(_0x42e016=_0x4653df(_0x42e016)||_0x42e016);return _0x42e016;},_0x29be87=(_0x3b2f33,_0x367e0e)=>(_0x35e1c9,_0x157026)=>_0x367e0e(_0x35e1c9,_0x157026,_0x3b2f33);let _0x1a5868=class{constructor(_0x1a01b5,_0x47ccaf){const _0x4e33ce=_0x1f91f3;this[_0x4e33ce(0x314)]=_0x1a01b5,this[_0x4e33ce(0x37c)]=_0x47ccaf;}[_0x1f91f3(0x1af)](_0xa6b85d){const _0xf79db5=_0x1f91f3;var _0x345315;const _0x39b004=this['_injector'][_0xf79db5(0x21e)](_0x5e9066[_0xf79db5(0x183)]),_0x1301bb=(_0x345315=_0x39b004['getDocRanges']())!=null?_0x345315:[];if(_0x1301bb['length']===0x0)return;const _0x3b06b2=_0xa6b85d['unitID'],_0x5f58e8=[{'id':_0xf79db5(0x317),'params':{'unitId':_0x3b06b2,'actions':null,'textRanges':_0x1301bb}}],_0x4f0e24=this['_transformService']['transformMutationsWithChangeset'](_0xa6b85d,_0x5f58e8);if(!_0x469b6a[_0xf79db5(0x2a9)](_0x4f0e24))throw _0x4f0e24[_0xf79db5(0x385)];const _0x70215b=_0x4f0e24[_0xf79db5(0x1a7)][0x0][_0xf79db5(0x2ed)][_0xf79db5(0x23c)];Array[_0xf79db5(0x28d)](_0x70215b)&&_0x70215b[_0xf79db5(0x3f6)]&&_0x39b004[_0xf79db5(0x232)](_0x70215b,{'unitId':_0x3b06b2,'subUnitId':_0x3b06b2},!0x1);}};_0x1a5868=_0x168281([_0x29be87(0x0,_0x134956['Inject'](_0x134956['Injector'])),_0x29be87(0x1,_0x469b6a['ITransformService'])],_0x1a5868);var _0x389070=Object['getOwnPropertyDescriptor'],_0x5770c5=(_0x32986b,_0x4dcc82,_0x4fd5ca,_0x517070)=>{const _0x522739=_0x1f91f3;for(var _0x49b5ae=_0x517070>0x1?void 0x0:_0x517070?_0x389070(_0x4dcc82,_0x4fd5ca):_0x4dcc82,_0x59d4a9=_0x32986b[_0x522739(0x3f6)]-0x1,_0x46dd09;_0x59d4a9>=0x0;_0x59d4a9--)(_0x46dd09=_0x32986b[_0x59d4a9])&&(_0x49b5ae=_0x46dd09(_0x49b5ae)||_0x49b5ae);return _0x49b5ae;},_0x162bd7=(_0xf6eac2,_0x1a4466)=>(_0x5a67c7,_0x1d36e1)=>_0x1a4466(_0x5a67c7,_0x1d36e1,_0xf6eac2);let _0x3a5cba=class extends _0x134956['Disposable']{constructor(_0x9d4f81,_0x4cc312,_0x56837,_0x1628fa,_0x4515a4,_0x5038cf,_0x1a7ac4,_0x37ddf8){const _0x55f70a=_0x1f91f3;super(),_0x1ffdb1(this,_0x55f70a(0x2b0),new _0x35f7fc[(_0x55f70a(0x32e))](_0x5e2e2e[_0x55f70a(0x2bf)][_0x55f70a(0x3b3)])),(this[_0x55f70a(0x3d9)]=_0x9d4f81,this[_0x55f70a(0x1bb)]=_0x4cc312,this[_0x55f70a(0x38c)]=_0x56837,this['_docTransformStateCacheService']=_0x1628fa,this[_0x55f70a(0x263)]=_0x4515a4,this['_docSyncEditingCollabCursorService']=_0x5038cf,this[_0x55f70a(0x261)]=_0x1a7ac4,this[_0x55f70a(0x175)]=_0x37ddf8,this[_0x55f70a(0x383)]());}[_0x1f91f3(0x383)](){const _0x17e297=_0x1f91f3;this[_0x17e297(0x20d)](this[_0x17e297(0x1bb)][_0x17e297(0x3fb)][_0x17e297(0x203)](_0x2862b8=>{const _0x5a9fc1=_0x17e297,_0x24af44=this[_0x5a9fc1(0x3d9)]['docStateChange$'][_0x5a9fc1(0x203)](_0x34a19f=>{const _0x583cdb=_0x5a9fc1;if(_0x34a19f==null)return;const {unitId:_0x104b64,redoState:_0x4c17b4,commandId:_0x5ed1a7}=_0x34a19f;if(_0x104b64!==_0x2862b8[_0x583cdb(0x20a)])return;const _0x292003={'id':_0x5ed1a7,'type':_0x134956['CommandType'][_0x583cdb(0x34f)],'params':{'unitId':_0x104b64,'actions':_0x4c17b4[_0x583cdb(0x249)],'textRanges':null}};_0x2862b8['onLocalMutation'](_0x292003);});if(_0x2862b8[_0x5a9fc1(0x20d)](_0x24af44),_0x2862b8 instanceof _0x5e2e2e[_0x5a9fc1(0x35d)]){const _0x55c37c={'onTransformIME':_0x1f3ae2=>this[_0x5a9fc1(0x38c)][_0x5a9fc1(0x277)](_0x1f3ae2),'onTransformState':_0x22797c=>this[_0x5a9fc1(0x3d3)]['transformStateCache'](_0x22797c),'onTransformSelections':_0x1e255c=>this[_0x5a9fc1(0x263)][_0x5a9fc1(0x1af)](_0x1e255c),'onSyncEditingCollabCursor':_0x43e551=>this[_0x5a9fc1(0x324)][_0x5a9fc1(0x1ab)](_0x43e551),'onTransformRemoteChangesetByIMECache':_0x216224=>this[_0x5a9fc1(0x38c)][_0x5a9fc1(0x3bb)](_0x216224),'onTransformRemoteChangesetByStateCache':_0x378646=>this[_0x5a9fc1(0x3d3)][_0x5a9fc1(0x3bb)](_0x378646)};_0x2862b8[_0x5a9fc1(0x382)](_0x55c37c);}}));}};_0x3a5cba=_0x5770c5([_0x162bd7(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x241046['DocStateChangeManagerService'])),_0x162bd7(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x5e2e2e[_0x1f91f3(0x23b)])),_0x162bd7(0x2,_0x134956['Inject'](_0x1790a5)),_0x162bd7(0x3,_0x134956['Inject'](_0x44e524)),_0x162bd7(0x4,_0x134956[_0x1f91f3(0x3a4)](_0x1a5868)),_0x162bd7(0x5,_0x134956[_0x1f91f3(0x3a4)](_0x24c16d)),_0x162bd7(0x6,_0x4b07f4[_0x1f91f3(0x296)]),_0x162bd7(0x7,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3e4)]))],_0x3a5cba);var _0xe3e0b8=Object[_0x1f91f3(0x29b)],_0x2d1710=(_0x435c6d,_0x246330,_0x10eed6,_0x5cea53)=>{const _0xd408c4=_0x1f91f3;for(var _0x1c8f06=_0x5cea53>0x1?void 0x0:_0x5cea53?_0xe3e0b8(_0x246330,_0x10eed6):_0x246330,_0x29da54=_0x435c6d[_0xd408c4(0x3f6)]-0x1,_0x196b49;_0x29da54>=0x0;_0x29da54--)(_0x196b49=_0x435c6d[_0x29da54])&&(_0x1c8f06=_0x196b49(_0x1c8f06)||_0x1c8f06);return _0x1c8f06;},_0x589827=(_0x1e5f11,_0x2091bc)=>(_0x490580,_0x575709)=>_0x2091bc(_0x490580,_0x575709,_0x1e5f11);let _0x2eca98=class extends _0x134956[_0x1f91f3(0x1fe)]{constructor(_0xbf440e,_0x177431,_0x4206c2){const _0x5e177c=_0x1f91f3;super(),_0x1ffdb1(this,_0x5e177c(0x1c4),new Map()),_0x1ffdb1(this,_0x5e177c(0x234),new Map()),_0x1ffdb1(this,_0x5e177c(0x306),!0x1),(this[_0x5e177c(0x268)]=_0xbf440e,this[_0x5e177c(0x34b)]=_0x177431,this[_0x5e177c(0x2bd)]=_0x4206c2);}['disableLocalCache'](){const _0x4690c0=_0x1f91f3;this[_0x4690c0(0x306)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x1f91f3(0x36f)](){const _0x1df658=_0x1f91f3;return this[_0x1df658(0x234)];}[_0x1f91f3(0x3e3)](){const _0x22f76a=_0x1f91f3;this[_0x22f76a(0x400)]()[_0x22f76a(0x1e1)](()=>super[_0x22f76a(0x3e3)]());}async['loadOfflineData'](_0x3c99c5){const _0x5ef3c8=_0x1f91f3;return this[_0x5ef3c8(0x306)]?null:this[_0x5ef3c8(0x34b)][_0x5ef3c8(0x375)](_0x5e2e2e[_0x5ef3c8(0x393)](_0x3c99c5));}async[_0x1f91f3(0x2d7)](_0x41e964,_0x12358a){const _0xb0c79a=_0x1f91f3;return!!this[_0xb0c79a(0x34b)][_0xb0c79a(0x1d0)](_0x41e964,_0x12358a);}['updateOfflineData'](_0x2664f0,_0x4c2445,_0x19bd64,_0x1f1b16){const _0x421083=_0x1f91f3,_0x31220e=this[_0x421083(0x2bd)][_0x421083(0x1ad)](_0x2664f0);this[_0x421083(0x1c4)][_0x421083(0x3b0)](_0x2664f0,{'unitID':_0x2664f0,'type':_0x4c2445,'awaitingChangeset':_0x19bd64,'mutations':_0x1f1b16,'rev':_0x31220e}),this[_0x421083(0x234)][_0x421083(0x1bf)](_0x2664f0)||this[_0x421083(0x1c1)](_0x2664f0);}[_0x1f91f3(0x1c1)](_0x55c19c){const _0x1ac39f=_0x1f91f3,_0x3c7e7a=this['_getSaveTimeout']();_0x3c7e7a===0x0?this['_saveCache'](_0x55c19c):this['_saveTaskMap'][_0x1ac39f(0x3b0)](_0x55c19c,setTimeout(()=>this[_0x1ac39f(0x210)](_0x55c19c),_0x3c7e7a));}[_0x1f91f3(0x190)](){const _0x2bb61e=_0x1f91f3;var _0x4533c4;return(_0x4533c4=this[_0x2bb61e(0x268)][_0x2bb61e(0x1f7)](_0x5e2e2e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4533c4:_0x5e2e2e[_0x2bb61e(0x177)];}[_0x1f91f3(0x210)](_0xd331ad){const _0x353cd1=_0x1f91f3,_0x20cc1b=this[_0x353cd1(0x234)]['get'](_0xd331ad);return _0x20cc1b!==void 0x0&&window[_0x353cd1(0x2d2)](_0x20cc1b),this['_localStorageService'][_0x353cd1(0x1d0)](_0x5e2e2e[_0x353cd1(0x393)](_0xd331ad),this[_0x353cd1(0x1c4)][_0x353cd1(0x21e)](_0xd331ad))[_0x353cd1(0x1e1)](()=>this[_0x353cd1(0x234)][_0x353cd1(0x2de)](_0xd331ad));}async[_0x1f91f3(0x400)](){const _0x14fee8=_0x1f91f3,_0x1b9bac=[];this['_saveTaskMap'][_0x14fee8(0x1da)]((_0x3fabb7,_0x2bc8d5)=>{const _0x5d7b41=_0x14fee8;window['clearTimeout'](_0x3fabb7),_0x1b9bac[_0x5d7b41(0x2fb)](this[_0x5d7b41(0x210)](_0x2bc8d5)[_0x5d7b41(0x1e1)](()=>{const _0x233f32=_0x5d7b41;this[_0x233f32(0x234)]['delete'](_0x2bc8d5);}));}),await Promise[_0x14fee8(0x28e)](_0x1b9bac);}};_0x2eca98=_0x2d1710([_0x589827(0x0,_0x134956['IConfigService']),_0x589827(0x1,_0x134956[_0x1f91f3(0x2db)]),_0x589827(0x2,_0x134956[_0x1f91f3(0x3a4)](_0x469b6a[_0x1f91f3(0x312)]))],_0x2eca98);class _0x9db9e1 extends _0x134956['RxDisposable']{constructor(){const _0x15f757=_0x1f91f3;super(),_0x1ffdb1(this,'urlChange$'),this[_0x15f757(0x1a0)]=_0x35f7fc[_0x15f757(0x1a5)](window,_0x15f757(0x2c4))[_0x15f757(0x1d5)](_0x35f7fc[_0x15f757(0x269)](this[_0x15f757(0x25d)]),_0x35f7fc[_0x15f757(0x3ee)](0x1),_0x35f7fc[_0x15f757(0x231)](void 0x0));}[_0x1f91f3(0x1b9)](_0x82f2e2,_0x44cff6,_0x6e8f0d=!0x1){const _0x5cd407=_0x1f91f3,_0x484773=new URL(window[_0x5cd407(0x24c)][_0x5cd407(0x273)]);_0x484773['searchParams'][_0x5cd407(0x3b0)](_0x82f2e2,_0x44cff6),_0x6e8f0d?window['history'][_0x5cd407(0x18a)]('','',_0x484773[_0x5cd407(0x246)]()):window[_0x5cd407(0x374)]['pushState']('','',_0x484773['toString']());}['removeParam'](_0x3e90be,_0x5134f5=!0x1){const _0x12519c=_0x1f91f3,_0x405f91=new URL(window['location'][_0x12519c(0x273)]);_0x405f91[_0x12519c(0x3b8)][_0x12519c(0x2de)](_0x3e90be),_0x5134f5?window[_0x12519c(0x374)]['replaceState']('','',_0x405f91['toString']()):window[_0x12519c(0x374)]['pushState']('','',_0x405f91[_0x12519c(0x246)]());}['getParam'](_0x19ca73){const _0x53d828=_0x1f91f3;var _0x5b94d8;return(_0x5b94d8=new URL(window['location'][_0x53d828(0x273)])[_0x53d828(0x3b8)]['get'](_0x19ca73))!=null?_0x5b94d8:void 0x0;}}var _0x5134e5=Object['defineProperty'],_0x3c6c52=Object[_0x1f91f3(0x29b)],_0x1c42d1=(_0x4eb55f,_0x28d85a,_0xca83d3)=>_0x28d85a in _0x4eb55f?_0x5134e5(_0x4eb55f,_0x28d85a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xca83d3}):_0x4eb55f[_0x28d85a]=_0xca83d3,_0xd9938f=(_0xabd6d6,_0x446b8b,_0x4bff90,_0x4e682f)=>{const _0x3e01e1=_0x1f91f3;for(var _0x4d126e=_0x4e682f>0x1?void 0x0:_0x4e682f?_0x3c6c52(_0x446b8b,_0x4bff90):_0x446b8b,_0x324c7c=_0xabd6d6[_0x3e01e1(0x3f6)]-0x1,_0x242f8b;_0x324c7c>=0x0;_0x324c7c--)(_0x242f8b=_0xabd6d6[_0x324c7c])&&(_0x4d126e=_0x242f8b(_0x4d126e)||_0x4d126e);return _0x4d126e;},_0x1e01b3=(_0x414624,_0x950c9c)=>(_0x285d63,_0x47c111)=>_0x950c9c(_0x285d63,_0x47c111,_0x414624),_0x385671=(_0x10ea7b,_0x18043c,_0x243878)=>_0x1c42d1(_0x10ea7b,_0x18043c+'',_0x243878);const _0x4d4c34='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4e4c58[_0x1f91f3(0x378)]=class extends _0x134956['Plugin']{constructor(_0x450c51=_0x415852,_0xb7d377,_0x833d30,_0x404e21){const _0x423b9c=_0x1f91f3;super(),this[_0x423b9c(0x24a)]=_0x450c51,this['_renderManagerService']=_0xb7d377,this[_0x423b9c(0x314)]=_0x833d30,this[_0x423b9c(0x268)]=_0x404e21;const {..._0x7a02c6}=_0x134956[_0x423b9c(0x3c6)]({},_0x415852,this['_config']);this[_0x423b9c(0x268)][_0x423b9c(0x248)](_0x483478,_0x7a02c6);}[_0x1f91f3(0x2ee)](){const _0x52493b=_0x1f91f3;this[_0x52493b(0x1d6)](),this[_0x52493b(0x326)]();}['onRendered'](){const _0x38b03d=_0x1f91f3;this[_0x38b03d(0x377)]();}[_0x1f91f3(0x1d6)](){const _0x1e1c00=_0x1f91f3;var _0x428848;const _0x25ad8a=[[_0x519a71],[_0x1a5868],[_0x1790a5],[_0x44e524],[_0x24c16d],[_0x1c82a9,{'useClass':_0x9db9e1}],[_0x2d4778['ISocketService'],{'useClass':_0x2d4778[_0x1e1c00(0x242)]}],[_0x5e2e2e[_0x1e1c00(0x23e)],{'useClass':_0x2eca98}],[_0x4e4c58[_0x1e1c00(0x2f5)]],[_0x3a5cba],[_0x5bdbbe],[_0x5059c3],[_0x42f183],[_0x4e4c58[_0x1e1c00(0x1ed)]]];_0x134956[_0x1e1c00(0x16e)](this[_0x1e1c00(0x314)],_0x134956[_0x1e1c00(0x2b9)](_0x25ad8a,(_0x428848=this['_config'])==null?void 0x0:_0x428848['override']));}[_0x1f91f3(0x377)](){const _0x3d2360=_0x1f91f3;this[_0x3d2360(0x20d)](this[_0x3d2360(0x300)][_0x3d2360(0x286)](_0x134956['UniverInstanceType'][_0x3d2360(0x1e7)],[_0x1b1f08])),this['disposeWithMe'](this[_0x3d2360(0x300)]['registerRenderModule'](_0x134956[_0x3d2360(0x3eb)][_0x3d2360(0x38a)],[_0x1a1ac8]));}[_0x1f91f3(0x326)](){const _0x1bff63=_0x1f91f3;_0x134956[_0x1bff63(0x2d3)](this[_0x1bff63(0x314)],[[_0x5059c3],[_0x4e4c58[_0x1bff63(0x2f5)]],[_0x3a5cba],[_0x5bdbbe],[_0x4e4c58[_0x1bff63(0x1ed)]]]);}},_0x385671(_0x4e4c58[_0x1f91f3(0x378)],_0x1f91f3(0x34c),_0x4d4c34),_0x4e4c58[_0x1f91f3(0x378)]=_0xd9938f([_0x134956[_0x1f91f3(0x340)](_0x5e2e2e[_0x1f91f3(0x342)]),_0x1e01b3(0x1,_0x31808c[_0x1f91f3(0x219)]),_0x1e01b3(0x2,_0x134956['Inject'](_0x134956[_0x1f91f3(0x3ba)])),_0x1e01b3(0x3,_0x134956[_0x1f91f3(0x33b)])],_0x4e4c58[_0x1f91f3(0x378)]);var _0x5d6be3=Object[_0x1f91f3(0x29b)],_0x151757=(_0x3a626f,_0x176d4e,_0x5952b0,_0x5c0ef8)=>{for(var _0x1365a2=_0x5c0ef8>0x1?void 0x0:_0x5c0ef8?_0x5d6be3(_0x176d4e,_0x5952b0):_0x176d4e,_0x3798d7=_0x3a626f['length']-0x1,_0x2f79d2;_0x3798d7>=0x0;_0x3798d7--)(_0x2f79d2=_0x3a626f[_0x3798d7])&&(_0x1365a2=_0x2f79d2(_0x1365a2)||_0x1365a2);return _0x1365a2;},_0x54733f=(_0x135545,_0x5e2f47)=>(_0x593275,_0x38367e)=>_0x5e2f47(_0x593275,_0x38367e,_0x135545);_0x4e4c58['BrowserCollaborationSocketService']=class extends _0x5e2e2e[_0x1f91f3(0x301)]{constructor(_0x1aa70c,_0x53a728,_0x1c10fd,_0x38682b,_0x1120c2){super(_0x1aa70c,_0x53a728,_0x1c10fd,_0x38682b,_0x1120c2);}async['createSocket'](_0x4e37e8){const _0x33f65a=_0x1f91f3,_0x2846e2=await this[_0x33f65a(0x2fe)](),_0x5cdb61=this[_0x33f65a(0x2f8)](_0x4e37e8,_0x2846e2);return this[_0x33f65a(0x38f)](_0x5cdb61);}['_createSocketURL'](_0x565e7c,_0x10f5b5){const _0x96d1d3=_0x1f91f3,_0x5b31cc=typeof window>'u'?new URL(_0x565e7c):new URL(_0x565e7c,window['location'][_0x96d1d3(0x27c)]);_0x5b31cc['searchParams'][_0x96d1d3(0x3b0)](_0x96d1d3(0x339),_0x10f5b5);const _0x8de268=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x96d1d3(0x24c)][_0x96d1d3(0x168)]);return _0x8de268['get'](_0x96d1d3(0x2d1))&&_0x5b31cc[_0x96d1d3(0x3b8)][_0x96d1d3(0x3b0)](_0x96d1d3(0x2d1),_0x8de268[_0x96d1d3(0x21e)]('runId')),_0x5b31cc['toString']();}async[_0x1f91f3(0x2fe)](){const _0x414b34=_0x1f91f3;var _0x4ad398,_0x266d2a,_0x520051;const _0x5a1983=this[_0x414b34(0x268)][_0x414b34(0x1f7)](_0x5e2e2e[_0x414b34(0x275)]),_0x450596=(_0x4ad398=_0x5a1983==null?void 0x0:_0x5a1983[_0x414b34(0x2a4)])!=null?_0x4ad398:_0x5e2e2e[_0x414b34(0x28a)];return(_0x520051=(_0x266d2a=(await this['_httpService'][_0x414b34(0x21e)](_0x450596,{'headers':{'Content-Type':'application/json'}}))[_0x414b34(0x285)])==null?void 0x0:_0x266d2a[_0x414b34(0x38b)])!=null?_0x520051:'';}},_0x4e4c58['BrowserCollaborationSocketService']=_0x151757([_0x54733f(0x0,_0x134956[_0x1f91f3(0x3a4)](_0x134956[_0x1f91f3(0x3ba)])),_0x54733f(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x2d4778[_0x1f91f3(0x3d0)])),_0x54733f(0x2,_0x134956[_0x1f91f3(0x33b)]),_0x54733f(0x3,_0x134956[_0x1f91f3(0x33d)]),_0x54733f(0x4,_0x469b6a[_0x1f91f3(0x370)])],_0x4e4c58[_0x1f91f3(0x209)]);const _0x5ee6d9=0x7530,_0x59e7d4=_0x1f91f3(0x21a);class _0x36284c extends _0x134956[_0x1f91f3(0x1fe)]{constructor(){const _0xd8fbb3=_0x1f91f3;super(),_0x1ffdb1(this,_0xd8fbb3(0x35b),_0x134956[_0xd8fbb3(0x26b)]()),_0x1ffdb1(this,_0xd8fbb3(0x3f5),new Set()),_0x1ffdb1(this,_0xd8fbb3(0x274),new Map()),_0x1ffdb1(this,_0xd8fbb3(0x216),null),_0x1ffdb1(this,_0xd8fbb3(0x37a),new Map()),_0x1ffdb1(this,_0xd8fbb3(0x19e),new Map()),this['_init']();}[_0x1f91f3(0x3e3)](){const _0x27c559=_0x1f91f3;super[_0x27c559(0x3e3)](),this[_0x27c559(0x37a)][_0x27c559(0x1da)]((_0x216fd3,_0x27bcf5)=>this[_0x27c559(0x401)](_0x27bcf5)),this[_0x27c559(0x216)]&&window['clearInterval'](this[_0x27c559(0x216)]);}[_0x1f91f3(0x3ab)](_0x302175){const _0x229318=_0x1f91f3;return this[_0x229318(0x2fd)](_0x302175)[_0x229318(0x1d5)](_0x35f7fc[_0x229318(0x29e)]());}['editingUnit'](_0x47320b){const _0x590df9=_0x1f91f3;this[_0x590df9(0x3f5)][_0x590df9(0x2d8)]===0x0&&this[_0x590df9(0x32b)](),this['_selfUnitIDs']['add'](_0x47320b),this[_0x590df9(0x3db)]({'type':0x0,'memberID':this[_0x590df9(0x35b)],'unitIDs':[_0x47320b],'isForwarded':!0x1});}[_0x1f91f3(0x196)](_0x56901d){const _0x4be05f=_0x1f91f3;this[_0x4be05f(0x3f5)][_0x4be05f(0x2de)](_0x56901d),this[_0x4be05f(0x3f5)]['size']===0x0&&this[_0x4be05f(0x216)]&&window[_0x4be05f(0x1ef)](this[_0x4be05f(0x216)]);}[_0x1f91f3(0x3c4)](){const _0x5872d2=_0x1f91f3;this[_0x5872d2(0x20d)](_0x134956[_0x5872d2(0x3dc)](_0x35f7fc['fromEvent'](window,'storage')[_0x5872d2(0x203)](_0x513514=>{const _0x523140=_0x5872d2;if(_0x513514[_0x523140(0x2b1)]!==_0x59e7d4||!_0x513514[_0x523140(0x399)])return;const _0x165a8b=JSON[_0x523140(0x23d)](_0x513514[_0x523140(0x399)]);this['_handleEvent'](_0x165a8b);}))),window[_0x5872d2(0x353)](_0x5872d2(0x1ca),()=>this[_0x5872d2(0x3db)]({'type':0x1,'memberID':this[_0x5872d2(0x35b)],'unitIDs':Array[_0x5872d2(0x2e6)](this[_0x5872d2(0x3f5)])}));}[_0x1f91f3(0x20b)](_0x15daa4){const _0x25859d=_0x1f91f3;switch(_0x15daa4[_0x25859d(0x1d4)]){case 0x0:this[_0x25859d(0x173)](_0x15daa4);break;case 0x1:this[_0x25859d(0x2b6)](_0x15daa4);break;case 0x2:this['_handleHeartbeatEvent'](_0x15daa4);break;}}[_0x1f91f3(0x173)](_0x4ce867){const _0x281cc5=_0x1f91f3,{unitIDs:_0x509977,memberID:_0x46e6c6,isForwarded:_0x156f32}=_0x4ce867;_0x509977['forEach'](_0xd859bf=>{const _0x59bfa7=_0xd94b;if(!_0x156f32&&this[_0x59bfa7(0x274)][_0x59bfa7(0x1bf)](_0xd859bf)&&this['_ensureSubject'](_0xd859bf)[_0x59bfa7(0x244)](_0x5e2e2e[_0x59bfa7(0x16f)][_0x59bfa7(0x2a3)]),!this[_0x59bfa7(0x274)]['has'](_0xd859bf)||!this[_0x59bfa7(0x274)]['get'](_0xd859bf)['has'](_0x46e6c6)){const _0x4b0e37=this['_unitOnClients'][_0x59bfa7(0x21e)](_0xd859bf)||new Set();_0x4b0e37[_0x59bfa7(0x264)](_0x46e6c6),this[_0x59bfa7(0x274)][_0x59bfa7(0x3b0)](_0xd859bf,_0x4b0e37),this[_0x59bfa7(0x3c8)](_0x46e6c6);}}),_0x156f32||this[_0x281cc5(0x3db)]({'type':0x0,'memberID':this[_0x281cc5(0x35b)],'unitIDs':[...this[_0x281cc5(0x3f5)]],'isForwarded':!0x0});}[_0x1f91f3(0x3c8)](_0x59116e){const _0x1c5aaa=_0x1f91f3;this[_0x1c5aaa(0x401)](_0x59116e);const _0x2c6798=window[_0x1c5aaa(0x19f)](()=>{const _0x55ecfc=_0x1c5aaa;this[_0x55ecfc(0x274)][_0x55ecfc(0x1da)](_0x2bee93=>{const _0x636167=_0x55ecfc;_0x2bee93[_0x636167(0x2de)](_0x59116e);});},_0x5ee6d9*0x2);this[_0x1c5aaa(0x37a)]['set'](_0x59116e,_0x2c6798);}[_0x1f91f3(0x401)](_0x442610){const _0xb85384=_0x1f91f3;if(this['_clearOtherTimers'][_0xb85384(0x1bf)](_0x442610)){const _0x2e8986=this[_0xb85384(0x37a)][_0xb85384(0x21e)](_0x442610);_0x2e8986&&window[_0xb85384(0x2d2)](_0x2e8986),this[_0xb85384(0x37a)][_0xb85384(0x3b0)](_0x442610,null);}}[_0x1f91f3(0x2b6)](_0x23e8e6){const _0x394a2c=_0x1f91f3,{memberID:_0x3dabff,unitIDs:_0x36273c}=_0x23e8e6;_0x36273c[_0x394a2c(0x1da)](_0x3df4ed=>{const _0xb7ba5c=_0x394a2c;var _0x551daf;const _0x1776c1=this['_unitOnClients'][_0xb7ba5c(0x21e)](_0x3df4ed);_0x1776c1&&(_0x1776c1['delete'](_0x3dabff),(_0x551daf=this[_0xb7ba5c(0x2fd)](_0x3df4ed))==null||_0x551daf[_0xb7ba5c(0x244)](_0x1776c1[_0xb7ba5c(0x2d8)]===0x0?_0x5e2e2e[_0xb7ba5c(0x16f)][_0xb7ba5c(0x2c1)]:_0x5e2e2e[_0xb7ba5c(0x16f)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x3dabff);}[_0x1f91f3(0x323)](_0x1a49c0){const _0x225931=_0x1f91f3;this[_0x225931(0x3c8)](_0x1a49c0[_0x225931(0x218)]);}[_0x1f91f3(0x3db)](_0x481c64){const _0x1d8d67=_0x1f91f3;localStorage[_0x1d8d67(0x1d0)](_0x59e7d4,JSON[_0x1d8d67(0x368)](_0x481c64));}['_scheduleHeartbeat'](){const _0x40f926=_0x1f91f3;this[_0x40f926(0x216)]=window[_0x40f926(0x171)](()=>{const _0xa18338=_0x40f926;this[_0xa18338(0x3db)]({'type':0x2,'memberID':this[_0xa18338(0x35b)]});},_0x5ee6d9);}['_ensureSubject'](_0x196ef0){const _0xde33c2=_0x1f91f3;return this[_0xde33c2(0x19e)][_0xde33c2(0x1bf)](_0x196ef0)||this[_0xde33c2(0x19e)]['set'](_0x196ef0,new _0x35f7fc[(_0xde33c2(0x32e))](_0x5e2e2e[_0xde33c2(0x16f)][_0xde33c2(0x2c1)])),this[_0xde33c2(0x19e)]['get'](_0x196ef0);}}var _0x4f47a9=(_0x59849a=>(_0x59849a[_0x59849a[_0x1f91f3(0x265)]=0x0]=_0x1f91f3(0x265),_0x59849a[_0x59849a['OK']=0x1]='OK',_0x59849a[_0x59849a[_0x1f91f3(0x17d)]=0x2]=_0x1f91f3(0x17d),_0x59849a[_0x59849a['PERMISSION_DENIED']=0x3]=_0x1f91f3(0x351),_0x59849a[_0x59849a[_0x1f91f3(0x29a)]=0x4]=_0x1f91f3(0x29a),_0x59849a[_0x59849a[_0x1f91f3(0x1d9)]=0x5]=_0x1f91f3(0x1d9),_0x59849a[_0x59849a[_0x1f91f3(0x304)]=0x6]=_0x1f91f3(0x304),_0x59849a[_0x59849a[_0x1f91f3(0x366)]=0x7]=_0x1f91f3(0x366),_0x59849a[_0x59849a[_0x1f91f3(0x331)]=0x8]=_0x1f91f3(0x331),_0x59849a[_0x59849a[_0x1f91f3(0x2ea)]=0x9]='COMPLETION_FINISHED',_0x59849a[_0x59849a[_0x1f91f3(0x1e4)]=0xa]=_0x1f91f3(0x1e4),_0x59849a[_0x59849a[_0x1f91f3(0x241)]=0x1389]=_0x1f91f3(0x241),_0x59849a[_0x59849a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1f91f3(0x1b7),_0x59849a[_0x59849a[_0x1f91f3(0x37b)]=0x1772]=_0x1f91f3(0x37b),_0x59849a[_0x59849a[_0x1f91f3(0x1a8)]=0x1773]=_0x1f91f3(0x1a8),_0x59849a[_0x59849a[_0x1f91f3(0x1ae)]=0x1b59]=_0x1f91f3(0x1ae),_0x59849a[_0x59849a[_0x1f91f3(0x3f4)]=0x1b5a]=_0x1f91f3(0x3f4),_0x59849a[_0x59849a[_0x1f91f3(0x2cd)]=0x1b5b]=_0x1f91f3(0x2cd),_0x59849a[_0x59849a[_0x1f91f3(0x2ec)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x59849a[_0x59849a[_0x1f91f3(0x28c)]=0x1b5d]='APPLY_DUPLICATED',_0x59849a[_0x59849a[_0x1f91f3(0x26a)]=0x1f41]=_0x1f91f3(0x26a),_0x59849a[_0x59849a[_0x1f91f3(0x27a)]=0x2329]=_0x1f91f3(0x27a),_0x59849a[_0x59849a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1f91f3(0x1f0),_0x59849a[_0x59849a[_0x1f91f3(0x1d3)]=0x232b]=_0x1f91f3(0x1d3),_0x59849a[_0x59849a[_0x1f91f3(0x35a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x59849a[_0x59849a[_0x1f91f3(0x1a1)]=0x232d]=_0x1f91f3(0x1a1),_0x59849a[_0x59849a[_0x1f91f3(0x2c8)]=0x2711]=_0x1f91f3(0x2c8),_0x59849a[_0x59849a[_0x1f91f3(0x2c2)]=0x2712]=_0x1f91f3(0x2c2),_0x59849a[_0x59849a['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x59849a[_0x59849a[_0x1f91f3(0x22c)]=0x2714]=_0x1f91f3(0x22c),_0x59849a[_0x59849a[_0x1f91f3(0x34a)]=0x271a]=_0x1f91f3(0x34a),_0x59849a[_0x59849a[_0x1f91f3(0x1c8)]=0x271b]=_0x1f91f3(0x1c8),_0x59849a[_0x59849a[_0x1f91f3(0x17c)]=0x271c]=_0x1f91f3(0x17c),_0x59849a[_0x59849a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x59849a[_0x59849a[_0x1f91f3(0x201)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x59849a[_0x59849a[_0x1f91f3(0x1be)]=0x271f]=_0x1f91f3(0x1be),_0x59849a[_0x59849a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x59849a[_0x59849a[_0x1f91f3(0x3bd)]=0x2ee1]=_0x1f91f3(0x3bd),_0x59849a[_0x59849a[_0x1f91f3(0x1fb)]=0x2ee2]='INVALID_INVITE_CODE',_0x59849a[_0x59849a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1f91f3(0x1fd),_0x59849a[_0x59849a[_0x1f91f3(0x3a1)]=0x2ee4]=_0x1f91f3(0x3a1),_0x59849a[_0x59849a[_0x1f91f3(0x321)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x59849a[_0x59849a[_0x1f91f3(0x319)]=0x32c9]=_0x1f91f3(0x319),_0x59849a[_0x59849a[_0x1f91f3(0x365)]=0x32ca]=_0x1f91f3(0x365),_0x59849a[_0x59849a[_0x1f91f3(0x1b8)]=0x32cb]=_0x1f91f3(0x1b8),_0x59849a[_0x59849a[_0x1f91f3(0x18f)]=-0x1]=_0x1f91f3(0x18f),_0x59849a))(_0x4f47a9||{}),_0x49c66c=Object[_0x1f91f3(0x29b)],_0x53af6c=(_0x4cbf1a,_0xd399bc,_0xc9d553,_0x5542a5)=>{for(var _0x5b0ee6=_0x5542a5>0x1?void 0x0:_0x5542a5?_0x49c66c(_0xd399bc,_0xc9d553):_0xd399bc,_0x270dfd=_0x4cbf1a['length']-0x1,_0x2d7000;_0x270dfd>=0x0;_0x270dfd--)(_0x2d7000=_0x4cbf1a[_0x270dfd])&&(_0x5b0ee6=_0x2d7000(_0x5b0ee6)||_0x5b0ee6);return _0x5b0ee6;},_0x1e7b16=(_0x20f719,_0x44f842)=>(_0x2ef4ca,_0x4ceb87)=>_0x44f842(_0x2ef4ca,_0x4ceb87,_0x20f719);_0x4e4c58[_0x1f91f3(0x228)]=class extends _0x134956['Disposable']{constructor(_0x3f89e2,_0x20311b,_0x41d388){const _0x15b091=_0x1f91f3;super(),this[_0x15b091(0x3b6)]=_0x3f89e2,this[_0x15b091(0x3be)]=_0x20311b,this[_0x15b091(0x268)]=_0x41d388;}async[_0x1f91f3(0x27f)](_0x4db0bc,_0x3dd0b6,_0x13d330,..._0x408419){const _0x2fb019=_0x1f91f3;var _0x5c65ef,_0x5ed26d,_0x563470,_0x4d5b3b;const _0x3bb4e3=this[_0x2fb019(0x3b6)][_0x2fb019(0x3aa)]();if(!_0x3bb4e3)throw new Error(_0x2fb019(0x36b));const _0x361205=((_0x5c65ef=this[_0x2fb019(0x268)][_0x2fb019(0x1f7)](_0x5e2e2e[_0x2fb019(0x284)]))!=null?_0x5c65ef:_0x5e2e2e['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4db0bc+_0x2fb019(0x195)+_0x3dd0b6,_0x27cfd8=new URL(window[_0x2fb019(0x24c)][_0x2fb019(0x273)]),_0x517bc3={'scriptId':_0x4db0bc,'runId':(_0x5ed26d=_0x27cfd8[_0x2fb019(0x3b8)][_0x2fb019(0x21e)](_0x2fb019(0x2d1)))!=null?_0x5ed26d:'','function':_0x3dd0b6,'unitId':_0x3bb4e3[_0x2fb019(0x333)](),'argsOfFunction':JSON[_0x2fb019(0x368)](_0x408419),'invokeId':(_0x563470=_0x13d330[_0x2fb019(0x240)])!=null?_0x563470:'','executionId':(_0x4d5b3b=_0x13d330[_0x2fb019(0x2fa)])!=null?_0x4d5b3b:''};try{const _0x4a03b6=await this['_httpService'][_0x2fb019(0x2c7)](_0x361205,{'body':_0x517bc3});return _0x4a03b6[_0x2fb019(0x285)][_0x2fb019(0x385)]&&_0x4a03b6['body'][_0x2fb019(0x385)][_0x2fb019(0x17e)]!==_0x4f47a9['OK']?_0x2fb019(0x3e6):_0x4a03b6[_0x2fb019(0x285)][_0x2fb019(0x2d5)];}catch{return _0x2fb019(0x3e6);}}},_0x4e4c58['RemoteUniscriptService']=_0x53af6c([_0x1e7b16(0x0,_0x134956[_0x1f91f3(0x3ff)]),_0x1e7b16(0x1,_0x134956[_0x1f91f3(0x3a4)](_0x2d4778[_0x1f91f3(0x3d0)])),_0x1e7b16(0x2,_0x134956['IConfigService'])],_0x4e4c58[_0x1f91f3(0x228)]),_0x4e4c58[_0x1f91f3(0x1d2)]=_0x1f8961,_0x4e4c58[_0x1f91f3(0x22a)]=_0x1c82a9,_0x4e4c58[_0x1f91f3(0x2cf)]=_0x1ea4fa,_0x4e4c58[_0x1f91f3(0x1de)]=_0x36284c,_0x4e4c58['WebURLService']=_0x9db9e1,Object[_0x1f91f3(0x1cf)](_0x4e4c58,Symbol[_0x1f91f3(0x39c)],{'value':_0x1f91f3(0x28b)});}));function _0xf6ff(){const _0x443060=['_config','_backgroundColor','location','CollaborationEvent','setShapeProps','@univerjs/docs','_document','DOC_RANGE_TYPE','url(#off-line-single_clip0_910_343)','DocIMEInputManagerService','isActive','none','assignAColorForMemberID','split','#fff','subscribeEvent','collab-client.tooltip.reconnect','rxjs/operators','clipPath','dispose$','JOIN_ROOM_FAILED','includes','currentTheme$','_messageService','createElement','_docTransformSelectionsService','add','UNDEFINED','unshift','_memberService','_configService','takeUntil','CONNECTOR_DATA_TOO_LARGE','generateRandomId','getCoordByCell','M0\x200H16V16H0z','Rectangle','session.connection-failed','Optional','defs','getMember','href','_unitOnClients','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/engine-render','transformIMECache','_context','forwardRef','LICENSE_MAX_UNITS_EXCEEDED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','origin','lineTo','unit','runOnServer','subunit','USERS_LEAVE','onCommandExecuted','_anchor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','body','registerRenderModule','DeleteRangeMoveUpCommandId','getSheetBySheetId','fillRule','DEFAULT_WS_SESSION_TICKET_URL','Module','APPLY_DUPLICATED','isArray','all','_themeService','@univerjs-pro/collaboration-client','hovered','SetSelectionsOperation','TEXT','requireSession','_docSkeleton','IMessageService','trim','_color','@univerjs/design','NOT_FOUND','getOwnPropertyDescriptor','values','addClipboardHook','distinctUntilChanged','Tools','children','debounce','data','OTHER_CLIENTS_EDITING','wsSessionTicketUrl','save','collabStatus.synced','SOCKET_FAILED_RETRY','event$','isTransformMutationsWithChangesetSuccess','onPointerEnter$','PENDING','1460VjdAij','_onRefRangeChange','12wRvVXN','defIds','_status$','key','_name','_hover','_initStatusListener','permission.content','_handleLeaveEvent','getVpScrollXYInfoByPosToVp','UniverIcon','mergeOverrideWithDependencies','#FFF','width','handleInsertCol','_revisionService','_roomMembers$','CollaborationStatus','AWAITING_WITH_PENDING','NO_OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','popstate','name','IDocClipboardService','post','YUUMI_UNABLE_LOAD_URL','currentColor','_refreshCollabCursors','string','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','APPLY_REVISION_CONFILICT','_dataLoaderService','SheetCollabCursorShape','transformMutationsWithChangeset','runId','clearTimeout','touchDependencies','_updateLocalCursor','result','UniverProCollaborationClientUi','saveOfflineData','size','_commandService','ONLINE','ILocalStorageService','apply','handleMoveRange','delete','_hideTimer','getTypeOfUnitDisposed$','_transformUndoRedoStack','findNodePositionByCharIndex','collabStatus.fetchMiss','_collabCursorController','getViewport','from','getValue','react/jsx-runtime','off-line-single','COMPLETION_FINISHED','_labelPosition','APPLY_PERMISSION_DENIED','params','onStarting','debounceTime','_notificationService','CLOSE_ROOM','handleDeleteRangeMoveUp','map','_render','DesktopCollaborationStatusDisplayController','Shape','DisposableCollection','_createSocketURL','getCollabCursors$','executionId','push','collabStatus.offline','_ensureSubject','_getSessionTicket','UniverDocs','_renderManagerService','CollaborationSocketService','collabStatus.conflict','startsWith','ALREADY_EXISTS','registerComponent','_disabled','arc','assign','yellow.400','_entities','_hovered','send','complete','EffectRefRangId','throttleTime','source','_drawRectRange','RevisionService','collaboration.single-unit.warning','_injector','session.collaboration-timeout','className','doc.mutation.rich-text-editing','_cursorInfo$','WECHAT_HAS_BEEN_BOUND','UniverDrawing','roomMembers$','onPointerLeave$','_toggleOffline','eventID','_range','SYNCED','INVITE_CODE_ALREADY_BOUND','serializeRangeWithSheet','_handleHeartbeatEvent','_docSyncEditingCollabCursorService','show','_initDependencies','fill','_getScale','attrs','red.300','_scheduleHeartbeat','IRemoteInstanceService','redoState','BehaviorSubject','init','@univerjs/docs-ui','TOO_MANY_REQUESTS','prototype','getUnitId','on-line-single','SessionStatus','sessionStatus$','SetTextSelectionsOperation','endRow','sessionTicket','div','IConfigService','_docSkeletonManagerService','ILogService','_updateURLWithCurrentState','InsertRangeMoveDownCommandId','DependentOn','ITransformService','UniverCollaborationClientPlugin','InsertColCommandId','engine','_collabCursorState$','top','UniverEngineFormula','MessageType','_logService','YUUMI_NO_CUBOID_FOR_QUESTION','_localStorageService','pluginName','addObject','startRow','MUTATION','@univerjs/sheets','PERMISSION_DENIED','collab-rect-range-','addEventListener','path','DeleteRangeMoveLeftCommandId','jsx','switchMap','collab-text-range-','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','_id','5216650XEOISh','DocCollaborationEntity','1562anSzPa','_startDocCollabCursor','transformMutation','ICommandService','getStateCache','_syncEditingCollabCursorService','svg','MOBILE_HAS_BEEN_BOUND','INVALID_ARGUMENT','_startSheetCollabCursor','stringify','amd','IImageIoService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RegularPolygon','beginPath','_removeCollabCursors','saveTaskMap','ISnapshotServerService','_session','1em','selection','history','getItem','[CollaborationDataLoaderController]','_registerRenderDependencies','UniverCollaborationClientUIPlugin','triggerDblclick','_clearOtherTimers','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','getActiveRange','ThemeService','getSheetId','getCurrent','_colorIndex','addHandlerCallback','_initEntityListener','React','error','status$','some','_assignedColors','_setupBeforeClosingHandler','UNIVER_SHEET','ticket','_docTransformIMECacheService','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','whenReady','_doCreateSocket','Warning','_lastPointer','Rect','getLocalCacheKey','406677yyQjec','concat','_collaborationUIEventService','cursorInfo$','collabCursorState$','newValue','getCollabEntity$','@univerjs/sheets-ui','toStringTag','debug','registerBeforeClose','getSkeleton','UniverUi','USER_NOT_INVITED_CODE','50004iNNHwP','_docClipboardService','Inject','_transformHistoryAndStateStack','753132xtUYSJ','color','asObservable','RxDisposable','getFocusedUnit','getUnitStatus$','purple.300','undoState','UniverDesign','getRelativeToViewportCoord','set','_handleHover','use','NOT_COLLAB','mutations','fromEventSubject','_instanceService','operators','searchParams','saveImage','Injector','transformRemoteChangeset','InsertRangeMoveRightCommandId','INVITE_CODE_HAS_BEEN_UES','_httpService','column','INotificationService','_univerInstanceService','indexOf','collaboration.closeRoom','_init','xlink:href','merge','FromArray','_scheduleClearOtherTimer','_toggleOnline','Unknown\x20user','displayName','deepClone','_initCommandExecutedListener','unsubscribe','isTransformMutationFailure','HTTPService','UniverSheets','closePath','_docTransformStateCacheService','contains','react','off-line-single_clip0_910_343','addObjects','@univerjs-pro/collaboration','_docStateChangeManagerService','_drawAnchor','_send','toDisposable','combineLatest','_draw','_onCursorDelete','random','focused$','setActiveRange','dispose','LocaleService','OFFLINE','Failed','Vector2','getRangePointData','ColorKit','SUBMIT_CHANGESET_TIMEOUT','UniverInstanceType','univer-flex\x20univer-mr-2\x20univer-text-xl','onMouseMove','shareReplay','colorChannel1','evenodd','replace','_transformPreviousActiveRange','sheetID','APPLY_NON_SEQUENTIAL_REVISION','_selfUnitIDs','length','UPDATE_CURSOR','blue.400','handleDeleteRangeMoveLeft','bottom','entityInit$','RemoveRowCommandId','tag','measureText','IUniverInstanceService','exhaustSavingTask','_removeClearOtherTimer','Tooltip','_beforeCloseService','search','_entityInit$','NodePositionConvertToRectRange','createInstance','sheetId','getUnhiddenWorksheets','registerDependencies','UnitStatus','setAlpha','setInterval','range','_handleJoinEvent','function','_localeService','find','LOCAL_CACHE_INTERVAL','m1Prime','subUnitId','session.will-retry','object','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INTERNAL_ERROR','code','extend','handleInsertRow','drawWith','MoveRangeCommandId','DocSelectionManagerService','selections','@univerjs/drawing','idSuffix','_urlService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','0\x200\x2016\x2016','replaceState','_uiPartsService','hide','with','775ybOype','UNRECOGNIZED','_getSaveTimeout','collabStatus.notCollab','font','fillText','height','/run/','disposeUnit','BuiltInUIPart','_cursor','Workbook','url(#$1','hasOwnProperty','TEXT_RANGE_LAYER_INDEX','DocStateChangeManagerService','_unitStatus','setTimeout','urlChange$','LICENSE_DISTRO_REJECTED','_shapes','registerRefRange','toRgbString','fromEvent','_updateSubUnitFromURLParams','m2Prime','ENSURE_SNAPSHOT_EXECUTION','getRenderById','HEADER_MENU','syncEditingCollabCursor','SetWorksheetActivateCommand','getCurrentRevOfUnit','APPLY_REJECT','transformSelections','1329559FPKTvF','ranges','CollaborationUIEventId','handleInsertRangeMoveRight','_anchorDot','UniverRpc','getUndoRedoMutationParamsCache','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','setParam','_collabSessionService','_collaborationController','SheetsSelectionsService','labelPosition','YUUMI_AI_RUN_FAILED','has','collabStatus.syncing','_scheduleSaving','@univerjs/ui','_colorAssignService','_cachedData','...','OnLineSingle','getTypeOfUnitAdded$','YUUMI_ASYNCIO_CANCELLED','rxjs','unload','on-line-single_clip0_910_349','@univerjs/rpc','transformByState','InsertRowCommandId','defineProperty','setItem','url(#on-line-single_clip0_910_349)','CollaborationStatusDisplay','LICENSE_IMPORT_SIZE_EXCEEDED','type','pipe','_registerDependencies','exports','entries','UNAUTHENTICATED','forEach','_getAnchorBounding','_imageIoService','text','WebBrowserSingleActiveUnitService','_online','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','then','_eventUnsubscribe','NodePositionConvertToCursor','LOGIN_FAILED','80hNmkXQ','cursorInfo','UNIVER_DOC','setStateCache','executeCommand','@univerjs/core','black','1AgyQAq','CollaborationDataLoaderController','getColorFromTheme','clearInterval','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','295227MFSpeI','_setupSubUnitSync','@univerjs/network','SOCKET_FAILED','_getMergeRange','collaboration-client.offline-data-not-saved','getConfig','current','_onCursorUpdate','_initStatusComponent','INVALID_INVITE_CODE','call','INVITE_CODE_REQUIRED','Disposable','_textBubble','@univerjs/engine-formula','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','round','subscribe','RECT','getAncestorScale','CollaborationSessionService','mask','useDependency','BrowserCollaborationSocketService','unitID','_handleEvent','getColor','disposeWithMe','transform','_refRangeService','_saveCache','icon','_localCacheService','permission.title','_cursorShapes','getMemberID','_heartbeatTimer','resize','memberID','IRenderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','transformStateCache','IBeforeCloseService','SheetSkeletonManagerService','get','SetDocZoomRatioOperation','getOwnPropertySymbols','getMergeData','getActiveSheet','_initResize','substring','UniverProCollaborationClient','_sheetSkeletonManagerService','UniverEngineRender','RemoteUniscriptService','_getSheetObject','IURLService','setUndoRedoMutationParamsCache','YUUMI_SUBSCRIPTION_NOT_FOUND','RichTextEditingMutation','getCurrentUnitForType','_cursors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','mapTo','replaceDocRanges','filter','_saveTaskMap','_updateCollabCursors','UniverCore','Error','getSheetObject','getParam','moveTo','CollaborationController','textRanges','parse','ILocalCacheService','COLORS','invokeId','CHANGESET_REVISION_CONFILICT','WebSocketService','unitId','next','MemberService','toString','_scene','setConfig','actions'];_0xf6ff=function(){return _0x443060;};return _0xf6ff();}
1
+ function _0x304c(_0xa0ad06,_0x398bfa){const _0x499442=_0x4994();return _0x304c=function(_0x304ccc,_0x3a9c07){_0x304ccc=_0x304ccc-0xec;let _0x35c766=_0x499442[_0x304ccc];return _0x35c766;},_0x304c(_0xa0ad06,_0x398bfa);}function _0x4994(){const _0x74e38c=['runOnServer','YUUMI_URL_COL_OUT_OF_RANGE','OnLineSingle','react','_entities','RemoteUniscriptService','url(#off-line-single_clip0_910_343)','round','selections','LICENSE_MAX_UNITS_EXCEEDED','CLOSE_ROOM','toDisposable','_instanceService','RxDisposable','syncEditingCollabCursor','getMemberID','LICENSE_DISTRO_REJECTED','CollaborationDataLoaderController','_updateLocalCursor','FromArray','_clearOtherTimers','off-line-single','roomMembers$','getAncestorScale','purple.300','collabStatus.notCollab','_getSheetObject','sessionTicket','Module','CollaborationStatus','collabStatus.offline','_config','mask','UNRECOGNIZED','JOIN_ROOM_FAILED','_handleEvent','@univerjs-pro/collaboration-client','displayName','collaboration.closeRoom','YUUMI_ASYNCIO_CANCELLED','takeUntil','closePath','setActiveRange','_cursorInfo$','setAlpha','type','replace','searchParams','UnitStatus','stringify','isArray','clearInterval','on-line-single_clip0_910_349','Disposable','merge','defineProperty','_configService','distinctUntilChanged','status$','Inject','APPLY_PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','clsx','...','@univerjs/network','_initStatusListener','exhaustSavingTask','_docTransformSelectionsService','unsubscribe','_handleLeaveEvent','save','WebSocketService','_localStorageService','SessionStatus','_setupSubUnitSync','object','@univerjs/rpc','switchMap','engine','6409424JBzAEG','useCallback','RichTextEditingMutation','getMergeData','getSheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','MemberService','_hovered','registerComponent','getTypeOfUnitAdded$','DocIMEInputManagerService','getRelativeToViewportCoord','defIds','WebBrowserSingleActiveUnitService','href','collaboration-client.offline-data-not-saved','APPLY_NON_SEQUENTIAL_REVISION','loadOfflineData','then','_scheduleHeartbeat','BuiltInUIPart','getCurrent','send','UPDATE_CURSOR','_collabSessionService','docStateChange$','2289280wTLdiV','1em','_injector','_init','UNDEFINED','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_DOC','sessionStatus$','_handleHover','session.collaboration-timeout','addObjects','rxjs/operators','eventID','ILogService','addObject','_updateURLWithCurrentState','_logService','with','urlChange$','_syncEditingCollabCursorService','makeDirty','currentSkeleton$','UniverEngineFormula','roomMembers','className','toStringTag','_createSocketURL','/run/','UniverProCollaboration','_commandService','IImageIoService','_getSessionTicket','DOC_RANGE_TYPE','from','UNAUTHENTICATED','_drawTextRange','_assignedColors','sheetId','amd','doc.mutation.rich-text-editing','fillText','7386237FOsnRL','IUIPartsService','cursorInfo','_unitOnClients','redoState','session.connection-failed','trim','react/jsx-runtime','has','UniverCollaborationClientUIPlugin','history','getDocRanges','Tools','whenReady','transformSelections','serializeRangeWithSheet','disposeUnit','_localCacheService','onStarting','generateRandomId','set','subUnitId','symbol','APPLY_REVISION_CONFILICT','_themeService','_send','_refRangeService','_entityInit$','NodePositionConvertToCursor','@univerjs/engine-formula','ITransformService','getCurrentRevOfUnit','push','MessageType','_memberService','currentColor','73010wBVaPE','_startDocCollabCursor','attrs','entityInit$','source','getSheetBySheetId','DesktopCollaborationStatusDisplayController','rxjs','setInterval','handleIRemoveCol','DocStateChangeManagerService','length','runRefRangeMutations','Vector2','SYNCED','useObservable','transform','_updateSubUnitFromURLParams','dispose','_render','NOT_COLLAB','_roomMembers$','getStateCache','ranges','icon','UniverProCollaborationClientUi','_collabCursorState$','getOwnPropertyDescriptor','208rWGguo','all','_onCursorDelete','SheetCollabCursorShape','top','extend','_session','UniverCore','_color','InsertRowCommandId','CollaborationUIEventService','prototype','LocaleService','CONFLICT','RemoveRowCommandId','flatMap','IConfigService','triggerDblclick','[RemoteUniscriptService]:\x20no\x20focused\x20unit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RevisionService','tag','getFocusedUnit','_transformPreviousActiveRange','executeCommand','getCurrentSelections','CollaborationStatusDisplay','BrowserCollaborationSocketService','actions','includes','DocSkeletonManagerService','_hideTimer','_handleHeartbeatEvent','subscribe','pipe','#fff','InsertRangeMoveRightCommandId','HTTPService','setItem','_id','_getScale','onLocalMutation','measureText','DisposableCollection','origin','runId','_ensureSubject','MUTATION','unitId','_localeService','registerRefRange','popstate','YUUMI_RATE_OVER_LIMIT','_cursorShapes','SetTextSelectionsOperation','event$','deserializeRangeWithSheet','UNIVER_SHEET','getVpScrollXYInfoByPosToVp','font','SetDocZoomRatioOperation','Rect','_drawAnchor','@univerjs/sheets','assignAColorForMemberID','getOffsetConfig','ILocalCacheService','_anchorDot','_removeClearOtherTimer','_onCursorUpdate','ACTIVE_UNIT_EVENT_CHANNEL','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docTransformStateCacheService','hide','_backgroundColor','memberID','forwardRef','function','getParam','_urlService','mutations','subunit','combineLatest','current','init','isTransformMutationsWithChangesetSuccess','pushState','permission.content','_disabled','getOwnPropertySymbols','cursorInfo$','resize','clipPath','deepClone','connectInjector','_getMergeRange','substring','show','INVITE_CODE_REQUIRED','assign','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','CollaborationUIEventId','wsSessionTicketUrl','updateOfflineData','jsx','none','@univerjs/drawing','NodePositionConvertToRectRange','removeParam','_collaborationController','CollaborationController','data','getRenderById','bottom','isActive','max','fillRule','debug','_toggleOnline','_cachedData','#FFF','getCollabCursors$','_docSkeletonManagerService','toRgbString','transformMutationsWithChangeset','USERS_LEAVE','map','COMPLETION_FINISHED','getCurrentUnitForType','ColorKit','search','APPLY_DUPLICATED','INVALID_INVITE_CODE','_status$','_anchor','replaceState','RegularPolygon','UniverDrawing','complete','VIEW_MAIN','_setupBeforeClosingHandler','registerBeforeClose','_online','concat','newValue','_initStatusComponent','toString','ILocalStorageService','getColorFromTheme','undoState','INTERNAL_ERROR','UniverInstanceType','DependentOn','getSheetObject','SetSelectionsOperation','_transformService','location','INVITE_CODE_ALREADY_BOUND','_unitStatus','EffectRefRangId','_dataLoaderService','values','colorChannel1','SheetSkeletonManagerService','operators','@univerjs/docs','getActiveSheet','createInstance','CommandType','pluginName','LICENSE_EXPORT_SIZE_EXCEEDED','row','getConfig','_labelPosition','permission.title','collaboration.single-unit.warning','path','EMAIL_HAS_BEEN_BOUND','_docStateChangeManagerService','transformMutation','Warning','handleDeleteRangeMoveLeft','_context','name','min','_hover','_initDependencies','saveTaskMap','handleMoveRange','fromEventSubject','_initEvent','INVITE_CODE_HAS_BEEN_UES','IRemoteInstanceService','_docTransformIMECacheService','restore','override','textRanges','ICommandService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','asObservable','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_registerRenderDependencies','OFFLINE','useRef','forEach','reconnect','touchDependencies','UniverDocs','storage','_draw','DocSelectionManagerService','useDependency','activeSheet$','_cursors','xlink:href','Failed','Unknown\x20user','width','Error','collab-text-anchor-','invokeId','ALREADY_EXISTS','_sheetSkeletonManagerService','UniverDesign','univerjs-icon\x20univerjs-icon-','height','url(#on-line-single_clip0_910_349)','onPointerLeave$','UniverIcon','fill','delete','React','transformStateCache','_range','@univerjs/ui','Subject','[CollaborationDataLoaderController]','onPointerEnter$','shareReplay','_initEntityListener','DataLoaderService','error','jiqing.500','710dKnqXI','_imageIoService','on-line-single','indexOf','CHANGESET_REVISION_CONFILICT','_drawRectRange','CollaborationSessionService','setConfig','_cursor','BehaviorSubject','_heartbeatTimer','_univerInstanceService','getMember','loadUnit','@univerjs/engine-render','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','handleInsertRangeMoveDown','subscribeEvent','OffLineSingle','uni.network.url-service','COLORS','createElement','INVALID_ARGUMENT','_saveTaskMap','_toggleOffline','Rectangle','focused$','_getAnchorBounding','IURLService','startColumn','registerRenderModule','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','_transformUndoRedoStack','m1Prime','arc','range','hovered','PERMISSION_DENIED','_updateCollabCursors','_messageService','_scheduleClearOtherTimer','string','YUUMI_NO_CUBOID_FOR_QUESTION','ThemeService','_document','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getLocalCacheKey','size','setUndoRedoMutationParamsCache','unitID','defs','USER_NOT_INVITED_CODE','_docClipboardService','RemoveColCommandId','YUUMI_AI_RUN_FAILED','ONLINE','ENSURE_SNAPSHOT_EXECUTION','@univerjs/design','findNodePositionByCharIndex','handleInsertRangeMoveRight','exports','collabStatus.syncing','filter','column','params','390kYuKWG','requireSession','getValue','next','_initCommandExecutedListener','_revisionService','code','PENDING','5gPWlBm','use','_notificationService','_scene','startsWith','unshift','clearTimeout','univer-flex\x20univer-items-center','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','sheetID','collabCursorState$','_registerDependencies','replaceDocRanges','transformIMECache','endRow','yellow.400','red.300','_collabCursorController','entries','SNAPSHOT_INVALID_SNAPSHOT','currentTheme$','color','drawWith','getCoordByCell','_handleJoinEvent','getUnitId','308544PaUWkN','setShapeProps','PY_RUNTIME_SCRIPT_ERROR','onMouseMove','endColumn','@univerjs/docs-ui','ISnapshotServerService','LOGIN_FAILED','Workbook','_textBubble','parse','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IMessageService','YUUMI_UNABLE_LOAD_URL','startRow','disposeWithMe','_colorIndex','call','labelPosition','_refreshCollabCursors','SUBMIT_CHANGESET_TIMEOUT','blue.400','jsxs','_removeCollabCursors','_onRefRangeChange','unit','debounceTime','_transformHistoryAndStateStack','IUniverInstanceService','WebURLService','isTransformMutationFailure','OTHER_CLIENTS_EDITING','_shapes','transformRemoteChangeset','UniverRpc','_eventUnsubscribe','@univerjs/sheets-ui','black','_collaborationUIEventService','fromEvent','SNAPSHOT_HAS_BEEN_REMOVED','Shape','text','post','_colorAssignService','m2Prime','_selfUnitIDs','getColor','moveTo','executionId','WECHAT_HAS_BEEN_BOUND','LOCAL_CACHE_INTERVAL','ticket','onTransformChange$','children','translate(.97)','_initResize','SOCKET_FAILED_RETRY','onCommandExecuted','Injector','CollaborationEvent','SHEET_VIEWPORT_KEY','InsertColCommandId','CollaborationSocketService','_beforeCloseService','_renderManagerService','contains','selection','UniverNetwork','getUnitStatus$','IRenderManagerService','LOCAL_CACHE_INTERVAL_KEY','_httpService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeleton','AWAITING_WITH_PENDING','211387gEBCSo','body','evenodd','@univerjs/core','UniverDocsUi','debounce','getRangePointData','OTHER_CLIENT_EDITING','collab-client.tooltip.reconnect','add','disableLocalCache','SetWorksheetActivateCommand','div','idSuffix','_docSyncEditingCollabCursorService','off-line-single_clip0_910_343','mergeOverrideWithDependencies','M0\x200H16V16H0z','dispose$','MOBILE_HAS_BEEN_BOUND','_getSaveTimeout','univer-flex\x20univer-mr-2\x20univer-text-xl','getSkeleton','50739aRhmgh','@univerjs-pro/collaboration','_name','NOT_FOUND','get','collab-rect-range-','Plugin','_uiPartsService','rgba(255,\x20255,\x20255,\x200.01)','TOO_MANY_REQUESTS','RECT','mapTo','getUndoRedoMutationParamsCache','_lastPointer','_saveCache'];_0x4994=function(){return _0x74e38c;};return _0x4994();}(function(_0xb675d,_0x3ca3eb){const _0x30065e=_0x304c,_0x1499e6=_0xb675d();while(!![]){try{const _0x1bc253=-parseInt(_0x30065e(0x26c))/0x1*(-parseInt(_0x30065e(0x286))/0x2)+parseInt(_0x30065e(0x2e9))/0x3*(-parseInt(_0x30065e(0x12e))/0x4)+-parseInt(_0x30065e(0x112))/0x5*(parseInt(_0x30065e(0x264))/0x6)+parseInt(_0x30065e(0x361))/0x7+parseInt(_0x30065e(0x347))/0x8+-parseInt(_0x30065e(0xee))/0x9+-parseInt(_0x30065e(0x222))/0xa*(-parseInt(_0x30065e(0x2d2))/0xb);if(_0x1bc253===_0x3ca3eb)break;else _0x1499e6['push'](_0x1499e6['shift']());}catch(_0x50142c){_0x1499e6['push'](_0x1499e6['shift']());}}}(_0x4994,0x9611e),function(_0x439ed8,_0x3da644){const _0x1f944b=_0x304c;typeof exports==_0x1f944b(0x343)&&typeof module<'u'?_0x3da644(exports,require('@univerjs-pro/collaboration-client'),require(_0x1f944b(0x2d5)),require(_0x1f944b(0x230)),require(_0x1f944b(0x338)),require(_0x1f944b(0x28b)),require(_0x1f944b(0x199)),require(_0x1f944b(0x119)),require(_0x1f944b(0x1d4)),require(_0x1f944b(0x2ea)),require(_0x1f944b(0x10b)),require(_0x1f944b(0x16d)),require('rxjs/operators'),require(_0x1f944b(0x2aa)),require(_0x1f944b(0xf5)),require(_0x1f944b(0x219)),require(_0x1f944b(0x25c)),require('react'),require(_0x1f944b(0x344))):typeof define==_0x1f944b(0x17c)&&define[_0x1f944b(0x387)]?define([_0x1f944b(0x25f),_0x1f944b(0x31c),_0x1f944b(0x2d5),'@univerjs/engine-render',_0x1f944b(0x338),'@univerjs/docs-ui',_0x1f944b(0x199),'rxjs',_0x1f944b(0x1d4),_0x1f944b(0x2ea),'@univerjs/engine-formula',_0x1f944b(0x16d),_0x1f944b(0x36c),_0x1f944b(0x2aa),'react/jsx-runtime',_0x1f944b(0x219),_0x1f944b(0x25c),_0x1f944b(0x2fb),_0x1f944b(0x344)],_0x3da644):(_0x439ed8=typeof globalThis<'u'?globalThis:_0x439ed8||self,_0x3da644(_0x439ed8[_0x1f944b(0x12b)]={},_0x439ed8['UniverProCollaborationClient'],_0x439ed8[_0x1f944b(0x135)],_0x439ed8['UniverEngineRender'],_0x439ed8[_0x1f944b(0x2ca)],_0x439ed8[_0x1f944b(0x2d6)],_0x439ed8[_0x1f944b(0x1b8)],_0x439ed8[_0x1f944b(0x119)],_0x439ed8[_0x1f944b(0x1fe)],_0x439ed8[_0x1f944b(0x37d)],_0x439ed8[_0x1f944b(0x377)],_0x439ed8['UniverSheets'],_0x439ed8[_0x1f944b(0x119)][_0x1f944b(0x1d3)],_0x439ed8['UniverSheetsUi'],_0x439ed8[_0x1f944b(0x216)],_0x439ed8['UniverUi'],_0x439ed8[_0x1f944b(0x20e)],_0x439ed8[_0x1f944b(0x216)],_0x439ed8[_0x1f944b(0x2a8)]));}(this,function(_0x51bd02,_0x2df1a4,_0x325bbf,_0x1baa4a,_0x16ff3c,_0x3aa08e,_0x987a33,_0x4aa5c5,_0x30a0a7,_0x20753e,_0x1f127e,_0x3327a2,_0x107600,_0x5f8c57,_0x4fa0e0,_0x3c81ed,_0x4629c9,_0x2df17b,_0x3d4470){'use strict';const _0x5f57e0=_0x304c;var _0x7a1c04=Object[_0x5f57e0(0x32f)],_0x23e3c0=(_0x55dd67,_0x231d75,_0x2e87f)=>_0x231d75 in _0x55dd67?_0x7a1c04(_0x55dd67,_0x231d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e87f}):_0x55dd67[_0x231d75]=_0x2e87f,_0x30fb67=(_0x134a0a,_0x17f9d6,_0x3d0954)=>_0x23e3c0(_0x134a0a,typeof _0x17f9d6!=_0x5f57e0(0x104)?_0x17f9d6+'':_0x17f9d6,_0x3d0954),_0xf6a37f=Object[_0x5f57e0(0x12d)],_0xd3368c=(_0xcfda8c,_0x56fe85,_0xc64576,_0x42ec5b)=>{const _0x3becba=_0x5f57e0;for(var _0x2fc7fb=_0x42ec5b>0x1?void 0x0:_0x42ec5b?_0xf6a37f(_0x56fe85,_0xc64576):_0x56fe85,_0x24093e=_0xcfda8c[_0x3becba(0x11d)]-0x1,_0x537032;_0x24093e>=0x0;_0x24093e--)(_0x537032=_0xcfda8c[_0x24093e])&&(_0x2fc7fb=_0x537032(_0x2fc7fb)||_0x2fc7fb);return _0x2fc7fb;},_0x2e6540=(_0x5b57ef,_0xd42050)=>(_0x446955,_0xbfd5de)=>_0xd42050(_0x446955,_0xbfd5de,_0x5b57ef);let _0x1808d0=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x60c7d0,_0x3933ce){const _0x5b5616=_0x5f57e0;super(),this[_0x5b5616(0x257)]=_0x60c7d0,this[_0x5b5616(0x223)]=_0x3933ce,this[_0x5b5616(0x364)]();}[_0x5f57e0(0x364)](){const _0x11ae2c=_0x5f57e0,_0x3d5109=this;this[_0x11ae2c(0x295)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5d231a=>{const _0x385c69=_0x11ae2c,_0x2c3851=await _0x3d5109[_0x385c69(0x223)]['saveImage'](_0x5d231a);return _0x2c3851?{'source':_0x2c3851[_0x385c69(0x116)],'imageSourceType':_0x2c3851['imageSourceType']}:null;}}));}};_0x1808d0=_0xd3368c([_0x2e6540(0x0,_0x3aa08e['IDocClipboardService']),_0x2e6540(0x1,_0x987a33[_0x5f57e0(0x37f)])],_0x1808d0);const _0x3f3a01=[_0x5f57e0(0x310),_0x5f57e0(0x221),'green.600',_0x5f57e0(0x27c),_0x5f57e0(0x29b),_0x5f57e0(0x27b)];class _0x59bb9d extends _0x325bbf['Disposable']{constructor(){const _0x482f19=_0x5f57e0;super(...arguments),_0x30fb67(this,'_assignedColors',new Map()),_0x30fb67(this,_0x482f19(0x296),0x0);}[_0x5f57e0(0x16e)](_0x3ca635){const _0x39fd2b=_0x5f57e0;if(this['_assignedColors'][_0x39fd2b(0xf6)](_0x3ca635))return this[_0x39fd2b(0x385)][_0x39fd2b(0x2ed)](_0x3ca635);const _0x1f292f=_0x3f3a01[this[_0x39fd2b(0x296)]];return this[_0x39fd2b(0x296)]=(this[_0x39fd2b(0x296)]+0x1)%_0x3f3a01[_0x39fd2b(0x11d)],this[_0x39fd2b(0x385)][_0x39fd2b(0x102)](_0x3ca635,_0x1f292f),_0x1f292f;}}function _0x2686b4(_0x354bd3){const _0x4d85ab=_0x5f57e0;let _0x235c72='';for(const _0x4b4f2c of _0x354bd3){const {startOffset:_0xbd720f,endOffset:_0x328cec,isActive:_0x2bd518,rangeType:_0x18d786,segmentId:_0x4f7b80,segmentPage:_0x457bb0}=_0x4b4f2c;_0x235c72[_0x4d85ab(0x11d)]&&(_0x235c72+=','),_0x235c72+=_0xbd720f+':'+_0x328cec+':'+(_0x2bd518?'1':'0')+':'+_0x18d786+':'+_0x4f7b80+':'+_0x457bb0;}return _0x235c72;}function _0x397dbf(_0xc03f80){const _0x2f4c9f=_0x5f57e0,_0x16e4a3=_0xc03f80['split'](','),_0xb51d71=[];for(const _0x5ef466 of _0x16e4a3){const [_0x4335b5,_0x3a34ea,_0x1574be,_0x519ae9,_0x46427f,_0x1ee80a]=_0x5ef466['split'](':');_0xb51d71[_0x2f4c9f(0x10e)]({'startOffset':Number(_0x4335b5),'endOffset':Number(_0x3a34ea),'collapsed':_0x4335b5===_0x3a34ea,'isActive':_0x1574be==='1','rangeType':_0x519ae9===_0x325bbf[_0x2f4c9f(0x381)]['TEXT']?_0x325bbf['DOC_RANGE_TYPE']['TEXT']:_0x325bbf['DOC_RANGE_TYPE'][_0x2f4c9f(0x2f3)],'segmentId':typeof _0x46427f==_0x2f4c9f(0x24c)?String(_0x46427f):'','segmentPage':Number(_0x1ee80a!=null?_0x1ee80a:-0x1)});}return _0xb51d71['some'](_0x3ac9d0=>_0x3ac9d0['isActive'])||(_0xb51d71[0x0][_0x2f4c9f(0x1a1)]=!0x0),_0xb51d71;}class _0x5526c9 extends _0x325bbf[_0x5f57e0(0x305)]{constructor(){const _0xfef7fd=_0x5f57e0;super(...arguments),_0x30fb67(this,_0xfef7fd(0x12c),new _0x4aa5c5[(_0xfef7fd(0x22b))](null)),_0x30fb67(this,_0xfef7fd(0x276),this['_collabCursorState$'][_0xfef7fd(0x1f6)]());}[_0x5f57e0(0x306)](_0xfaefe5){const _0x4b0db3=_0x5f57e0,{unitID:_0x215bd6,memberID:_0x169459,textRanges:_0x5037bc}=_0xfaefe5,_0xe64967=_0x2686b4(_0x5037bc);if(_0xe64967==='')return;const _0x5ec23a={'unitID':_0x215bd6,'memberID':_0x169459,'selection':_0xe64967};this['_collabCursorState$'][_0x4b0db3(0x267)](_0x5ec23a);}}var _0xa01c76=Object[_0x5f57e0(0x12d)],_0x4bdb40=(_0x16944d,_0x210ef4,_0x2c5f03,_0xfc5181)=>{const _0x21d110=_0x5f57e0;for(var _0x37556a=_0xfc5181>0x1?void 0x0:_0xfc5181?_0xa01c76(_0x210ef4,_0x2c5f03):_0x210ef4,_0x1e6154=_0x16944d[_0x21d110(0x11d)]-0x1,_0x55a571;_0x1e6154>=0x0;_0x1e6154--)(_0x55a571=_0x16944d[_0x1e6154])&&(_0x37556a=_0x55a571(_0x37556a)||_0x37556a);return _0x37556a;},_0x27e442=(_0x48230d,_0x368516)=>(_0xfc774f,_0x1c41ce)=>_0x368516(_0xfc774f,_0x1c41ce,_0x48230d);const _0x5e77ce=0x12c,_0x31a108=0x64;let _0x5c9e83=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x51b38a,_0x5bab35,_0x6963e5,_0xf83e87,_0x4ec05b,_0x563948,_0x58c444,_0x4aed31,_0x2e4c25){const _0x3fb592=_0x5f57e0;super(),_0x30fb67(this,'_online',!0x1),_0x30fb67(this,_0x3fb592(0x364),!0x1),_0x30fb67(this,_0x3fb592(0x323),new _0x4aa5c5['BehaviorSubject'](new Map())),_0x30fb67(this,'cursorInfo$',this[_0x3fb592(0x323)][_0x3fb592(0x1f6)]()),_0x30fb67(this,_0x3fb592(0x127),new _0x4aa5c5[(_0x3fb592(0x22b))]([])),_0x30fb67(this,_0x3fb592(0x30e),this[_0x3fb592(0x127)]['pipe'](_0x4aa5c5[_0x3fb592(0x2a0)](_0x5e77ce))),_0x30fb67(this,_0x3fb592(0x30a),_0x325bbf[_0x3fb592(0x2d7)](_0x5e043b=>{const _0x37746d=_0x3fb592,_0x48d9f3={'eventID':_0x20753e[_0x37746d(0x2c2)][_0x37746d(0x35e)],'data':{'unitID':this['unitID'],'memberID':this[_0x37746d(0x134)][_0x37746d(0x307)](),'selection':_0x2686b4(_0x5e043b)}};this[_0x37746d(0x134)][_0x37746d(0x35d)](_0x48d9f3,this['unitID']);},_0x31a108)),(this[_0x3fb592(0x254)]=_0x51b38a,this['_session']=_0x5bab35,this['_injector']=_0x6963e5,this[_0x3fb592(0x2b2)]=_0xf83e87,this[_0x3fb592(0x110)]=_0x4ec05b,this['_syncEditingCollabCursorService']=_0x563948,this[_0x3fb592(0x1ca)]=_0x58c444,this[_0x3fb592(0x22d)]=_0x4aed31,this[_0x3fb592(0x37e)]=_0x2e4c25);}get[_0x5f57e0(0xf0)](){const _0x1fb2fe=_0x5f57e0;return this[_0x1fb2fe(0x323)][_0x1fb2fe(0x266)]();}get[_0x5f57e0(0x378)](){const _0x432b62=_0x5f57e0;return this[_0x432b62(0x127)]['getValue']();}[_0x5f57e0(0x124)](){const _0x676faf=_0x5f57e0;super[_0x676faf(0x124)](),this[_0x676faf(0x323)][_0x676faf(0x267)](new Map()),this[_0x676faf(0x323)][_0x676faf(0x1b9)](),this[_0x676faf(0x127)][_0x676faf(0x267)]([]),this[_0x676faf(0x127)][_0x676faf(0x1b9)]();}[_0x5f57e0(0x183)](){const _0x275996=_0x5f57e0;this[_0x275996(0x364)]||(this[_0x275996(0x364)]=!0x0,this[_0x275996(0x134)]['sessionStatus$'][_0x275996(0x150)](_0x4aa5c5[_0x275996(0x320)](this[_0x275996(0x2e4)]))[_0x275996(0x14f)](_0xf8422=>{const _0x4744f6=_0x275996;_0xf8422===_0x2df1a4[_0x4744f6(0x341)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x275996(0x134)][_0x275996(0x165)][_0x275996(0x150)](_0x4aa5c5[_0x275996(0x320)](this['dispose$']))[_0x275996(0x14f)](_0x248b57=>{const _0x586580=_0x275996,_0x55d1c7=_0x248b57[_0x586580(0x36d)];_0x55d1c7===_0x20753e[_0x586580(0x2c2)]['UPDATE_CURSOR']&&this[_0x586580(0x173)](_0x248b57),_0x55d1c7===_0x20753e[_0x586580(0x2c2)][_0x586580(0x1ac)]&&this['_onCursorDelete'](_0x248b57);}),this['disposeWithMe'](this['_commandService'][_0x275996(0x2c0)](_0x136f68=>{const _0x1a3971=_0x275996,_0x539b73=_0x136f68[_0x1a3971(0x263)];_0x539b73!=null&&this[_0x1a3971(0x1bd)]&&_0x136f68['id']===_0x30a0a7[_0x1a3971(0x164)]['id']&&_0x539b73['unitId']===this[_0x1a3971(0x254)]&&_0x539b73['isEditing']===!0x1&&_0x539b73[_0x1a3971(0x129)][_0x1a3971(0x11d)]>0x0&&this[_0x1a3971(0x30a)](_0x539b73[_0x1a3971(0x129)]);})),this[_0x275996(0x374)][_0x275996(0x276)][_0x275996(0x150)](_0x4aa5c5[_0x275996(0x320)](this['dispose$']))[_0x275996(0x14f)](_0x3641b0=>{const _0x919cf4=_0x275996;if((_0x3641b0==null?void 0x0:_0x3641b0['unitID'])!==this[_0x919cf4(0x254)])return;const _0x301d28={'eventID':_0x20753e[_0x919cf4(0x2c2)][_0x919cf4(0x35e)],'data':_0x3641b0};this[_0x919cf4(0x173)](_0x301d28);}),this['disposeWithMe'](this[_0x275996(0x37e)]['onCommandExecuted'](_0x2d9a5a=>{const _0x2488fd=_0x275996;if(_0x2d9a5a[_0x2488fd(0x263)]==null)return;const _0x32e08c=_0x2d9a5a[_0x2488fd(0x263)];if(_0x2d9a5a['id']!==_0x30a0a7[_0x2488fd(0x349)]['id']||_0x32e08c[_0x2488fd(0x15e)]!==this['unitID'])return;const _0x430fa4={'id':'doc.mutation.rich-text-editing','params':_0x32e08c},_0x1786cd=this[_0x2488fd(0xf0)];for(const [_0xad9032,_0x1c1475]of _0x1786cd){const _0x44a66c={'id':_0x2488fd(0xec),'params':{'unitId':this[_0x2488fd(0x254)],'actions':null,'textRanges':_0x1c1475['ranges']}},_0xb5b8ef=this[_0x2488fd(0x1ca)][_0x2488fd(0x1e2)](_0x430fa4,_0x44a66c,!0x1);if(_0x20753e['isTransformMutationFailure'](_0xb5b8ef))throw _0xb5b8ef['error'];_0x1786cd['set'](_0xad9032,{..._0x1c1475,'ranges':_0xb5b8ef[_0x2488fd(0x2b3)][_0x2488fd(0x263)]['textRanges']});}queueMicrotask(()=>{const _0x17ef07=_0x2488fd;this[_0x17ef07(0x323)][_0x17ef07(0x267)](_0x1786cd);});})));}[_0x5f57e0(0x173)](_0x4613da){const _0x16ba39=_0x5f57e0;var _0x2bd393,_0x1e502b;const {memberID:_0x18081f,selection:_0x2a256d}=_0x4613da['data'],_0x54dad2=_0x397dbf(_0x2a256d),_0x3bf8a7=(_0x1e502b=(_0x2bd393=this[_0x16ba39(0x110)][_0x16ba39(0x22e)](this[_0x16ba39(0x254)],_0x18081f))==null?void 0x0:_0x2bd393[_0x16ba39(0x1e6)])!=null?_0x1e502b:_0x16ba39(0x207),_0x523be3={'color':this[_0x16ba39(0x2b2)][_0x16ba39(0x16e)](_0x18081f),'name':_0x3bf8a7,'ranges':_0x54dad2},_0x47f2a2=this['cursorInfo'];_0x47f2a2[_0x16ba39(0x102)](_0x18081f,_0x523be3),this[_0x16ba39(0x323)][_0x16ba39(0x267)](_0x47f2a2);}[_0x5f57e0(0x130)](_0x16f51a){const _0x3588eb=_0x5f57e0,{memberID:_0x59cead}=_0x16f51a[_0x3588eb(0x19e)],_0x5052e1=this[_0x3588eb(0xf0)];_0x5052e1['delete'](_0x59cead),this[_0x3588eb(0x323)]['next'](_0x5052e1);}[_0x5f57e0(0x1a5)](){const _0x3e877e=_0x5f57e0;var _0x5b9ede;if(this[_0x3e877e(0x1bd)]=!0x0,((_0x5b9ede=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5b9ede[_0x3e877e(0x285)]())!==this[_0x3e877e(0x254)])return;const _0xc546b0=this[_0x3e877e(0x363)]['get'](_0x30a0a7[_0x3e877e(0x201)])[_0x3e877e(0xf9)]();Array[_0x3e877e(0x32a)](_0xc546b0)&&_0xc546b0['length']>0x0&&this[_0x3e877e(0x30a)](_0xc546b0);}[_0x5f57e0(0x23a)](){const _0x1011d1=_0x5f57e0;this[_0x1011d1(0x1bd)]=!0x1;}};_0x5c9e83=_0x4bdb40([_0x27e442(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x27e442(0x3,_0x325bbf[_0x5f57e0(0x333)](_0x59bb9d)),_0x27e442(0x4,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4['MemberService'])),_0x27e442(0x5,_0x325bbf[_0x5f57e0(0x333)](_0x5526c9)),_0x27e442(0x6,_0x20753e['ITransformService']),_0x27e442(0x7,_0x325bbf['IUniverInstanceService']),_0x27e442(0x8,_0x325bbf[_0x5f57e0(0x1f4)])],_0x5c9e83);var _0x3a4771=Object['getOwnPropertyDescriptor'],_0x4d582e=(_0x488bfb,_0xba69ac,_0x591951,_0x520198)=>{const _0x2a27ec=_0x5f57e0;for(var _0x12a6a2=_0x520198>0x1?void 0x0:_0x520198?_0x3a4771(_0xba69ac,_0x591951):_0xba69ac,_0x1ebbbe=_0x488bfb[_0x2a27ec(0x11d)]-0x1,_0x2258e9;_0x1ebbbe>=0x0;_0x1ebbbe--)(_0x2258e9=_0x488bfb[_0x1ebbbe])&&(_0x12a6a2=_0x2258e9(_0x12a6a2)||_0x12a6a2);return _0x12a6a2;},_0x8d86b9=(_0x4e5776,_0x3c0bf8)=>(_0x1a7eac,_0x54cf0a)=>_0x3c0bf8(_0x1a7eac,_0x54cf0a,_0x4e5776);const _0x205b27=0x12c,_0xee78b1=0x64,_0x424fbc=()=>{let _0xc525ae=[],_0x1d2b4b=!0x1;return _0x5d138e=>{_0xc525ae['push'](_0x5d138e),_0x1d2b4b||(_0x1d2b4b=!0x0,setTimeout(()=>{const _0x34cf29=_0x304c;_0xc525ae[_0x34cf29(0x1fb)](_0x597858=>_0x597858()),_0xc525ae=[],_0x1d2b4b=!0x1;}));};};let _0x107bc3=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x240151,_0x41e5dc,_0x2b9aaf,_0x47bcf5,_0x559b1d,_0x4ee57c,_0x3b1d9b,_0x45399b){const _0xf9f655=_0x5f57e0;super(),_0x30fb67(this,_0xf9f655(0x1bd),!0x1),_0x30fb67(this,_0xf9f655(0x364),!0x1),_0x30fb67(this,_0xf9f655(0x323),new _0x4aa5c5['BehaviorSubject'](new Map())),_0x30fb67(this,_0xf9f655(0x189),this['_cursorInfo$'][_0xf9f655(0x1f6)]()),_0x30fb67(this,_0xf9f655(0x127),new _0x4aa5c5['BehaviorSubject']([])),_0x30fb67(this,_0xf9f655(0x30e),this[_0xf9f655(0x127)][_0xf9f655(0x150)](_0x4aa5c5[_0xf9f655(0x2a0)](_0x205b27))),_0x30fb67(this,_0xf9f655(0x30a),_0x325bbf[_0xf9f655(0x2d7)]((_0x359735,_0x2f3939)=>{const _0x52d64d=_0xf9f655,_0x21e8bf={'eventID':_0x20753e[_0x52d64d(0x2c2)][_0x52d64d(0x35e)],'data':{'unitID':this[_0x52d64d(0x254)],'memberID':this[_0x52d64d(0x134)][_0x52d64d(0x307)](),'selection':_0x1f127e[_0x52d64d(0xfd)](_0x359735,_0x2f3939[_0x52d64d(0x246)])}};this[_0x52d64d(0x134)]['send'](_0x21e8bf,this[_0x52d64d(0x254)]);},_0xee78b1)),(this[_0xf9f655(0x254)]=_0x240151,this[_0xf9f655(0x134)]=_0x41e5dc,this[_0xf9f655(0x363)]=_0x2b9aaf,this[_0xf9f655(0x2b2)]=_0x47bcf5,this[_0xf9f655(0x110)]=_0x559b1d,this[_0xf9f655(0x22d)]=_0x4ee57c,this[_0xf9f655(0x37e)]=_0x3b1d9b,this[_0xf9f655(0x108)]=_0x45399b);}get['cursorInfo'](){const _0xbde3bf=_0x5f57e0;return this['_cursorInfo$'][_0xbde3bf(0x266)]();}get[_0x5f57e0(0x378)](){const _0x1b0f69=_0x5f57e0;return this[_0x1b0f69(0x127)]['getValue']();}[_0x5f57e0(0x124)](){const _0x452fc3=_0x5f57e0;super['dispose'](),this[_0x452fc3(0x323)][_0x452fc3(0x267)](new Map()),this['_cursorInfo$'][_0x452fc3(0x1b9)](),this[_0x452fc3(0x127)][_0x452fc3(0x267)]([]),this[_0x452fc3(0x127)][_0x452fc3(0x1b9)]();}[_0x5f57e0(0x183)](){const _0x1a9ade=_0x5f57e0;this[_0x1a9ade(0x364)]||(this[_0x1a9ade(0x364)]=!0x0,this[_0x1a9ade(0x134)][_0x1a9ade(0x368)][_0x1a9ade(0x150)](_0x4aa5c5['takeUntil'](this[_0x1a9ade(0x2e4)]))[_0x1a9ade(0x14f)](_0x3400ee=>{const _0x313048=_0x1a9ade;_0x3400ee===_0x2df1a4['SessionStatus'][_0x313048(0x25a)]?this[_0x313048(0x1a5)]():this['_toggleOffline']();}),this['_session'][_0x1a9ade(0x165)][_0x1a9ade(0x150)](_0x4aa5c5['takeUntil'](this[_0x1a9ade(0x2e4)]))[_0x1a9ade(0x14f)](_0x43f1eb=>{const _0x50473d=_0x1a9ade,_0x5cd9f1=_0x43f1eb['eventID'];_0x5cd9f1===_0x20753e['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x50473d(0x173)](_0x43f1eb),_0x5cd9f1===_0x20753e['CollaborationEvent'][_0x50473d(0x1ac)]&&this[_0x50473d(0x130)](_0x43f1eb);}),this[_0x1a9ade(0x29e)](),this[_0x1a9ade(0x295)](this['_commandService'][_0x1a9ade(0x2c0)](_0x25e4de=>{const _0x2116f4=_0x1a9ade;if(this[_0x2116f4(0x1bd)]&&_0x25e4de['id']===_0x3327a2[_0x2116f4(0x1c9)]['id']&&_0x25e4de['params'][_0x2116f4(0x15e)]===this[_0x2116f4(0x254)]){const _0x6aea54=_0x25e4de[_0x2116f4(0x263)];this['_updateLocalCursor'](_0x6aea54[_0x2116f4(0x103)],_0x6aea54[_0x2116f4(0x300)][0x0]);}})));}['_onCursorUpdate'](_0x21b940){const _0x2cf7e5=_0x5f57e0;var _0x1d7dbe,_0x24ef1d;const {memberID:_0xa8287b,selection:_0x186c9d}=_0x21b940['data'],{sheetName:_0x1c3e50,range:_0xf4566f}=_0x1f127e[_0x2cf7e5(0x166)](_0x186c9d),_0xb9109={'name':(_0x24ef1d=(_0x1d7dbe=this['_memberService'][_0x2cf7e5(0x22e)](this[_0x2cf7e5(0x254)],_0xa8287b))==null?void 0x0:_0x1d7dbe[_0x2cf7e5(0x1e6)])!=null?_0x24ef1d:_0x2cf7e5(0x207),'range':this[_0x2cf7e5(0x18e)](_0x1c3e50,_0xf4566f),'sheetID':_0x1c3e50,'color':this[_0x2cf7e5(0x2b2)][_0x2cf7e5(0x16e)](_0xa8287b),'selection':_0x186c9d},_0x3e6e5f=this[_0x2cf7e5(0xf0)];_0x3e6e5f[_0x2cf7e5(0x102)](_0xa8287b,_0xb9109),this[_0x2cf7e5(0x323)][_0x2cf7e5(0x267)](_0x3e6e5f);}[_0x5f57e0(0x130)](_0x203651){const _0x3fbb11=_0x5f57e0,{memberID:_0x410ac5}=_0x203651[_0x3fbb11(0x19e)],_0x499222=this[_0x3fbb11(0xf0)];_0x499222[_0x3fbb11(0x215)](_0x410ac5),this[_0x3fbb11(0x323)][_0x3fbb11(0x267)](_0x499222);}[_0x5f57e0(0x18e)](_0x7da536,_0xa04bc6){const _0x266c9a=_0x5f57e0;var _0x23a8e0,_0x4b7058;const _0xa00ea3=(_0x4b7058=(_0x23a8e0=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x266c9a(0x254)]))==null?void 0x0:_0x23a8e0[_0x266c9a(0x117)](_0x7da536))==null?void 0x0:_0x4b7058[_0x266c9a(0x34a)]();return(_0xa00ea3==null?void 0x0:_0xa00ea3['find'](_0x499b83=>_0x325bbf[_0x266c9a(0x23b)][_0x266c9a(0x2c8)](_0x499b83,_0xa04bc6)))||_0xa04bc6;}['_onRefRangeChange'](){const _0x51aeee=_0x5f57e0,_0x178b9c=new _0x325bbf[(_0x51aeee(0x159))](),_0x3998c9=_0x424fbc(),_0x1ad82f=()=>{const _0x1b08dc=_0x51aeee;_0x178b9c[_0x1b08dc(0x124)]();const _0x4d57d8=(_0xae7b97,_0x4c9c04,_0x2eb706,_0x1ef8dd)=>{const _0x22c907=_0x1b08dc;let _0x5b23c1=[];switch(_0xae7b97['id']){case _0x3327a2['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x5b23c1=_0x3327a2[_0x22c907(0x1e4)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)]['DeleteRangeMoveUpCommandId']:{_0x5b23c1=_0x3327a2['handleDeleteRangeMoveUp'](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)][_0x22c907(0x2c4)]:{_0x5b23c1=_0x3327a2['handleInsertCol'](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)]['InsertRangeMoveDownCommandId']:{_0x5b23c1=_0x3327a2[_0x22c907(0x232)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2['EffectRefRangId'][_0x22c907(0x152)]:{_0x5b23c1=_0x3327a2[_0x22c907(0x25e)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)][_0x22c907(0x137)]:{_0x5b23c1=_0x3327a2['handleInsertRow'](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)]['MoveRangeCommandId']:{_0x5b23c1=_0x3327a2[_0x22c907(0x1eb)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2['EffectRefRangId'][_0x22c907(0x258)]:{_0x5b23c1=_0x3327a2[_0x22c907(0x11b)](_0xae7b97,_0x1ef8dd);break;}case _0x3327a2[_0x22c907(0x1ce)][_0x22c907(0x13c)]:{_0x5b23c1=_0x3327a2['handleIRemoveRow'](_0xae7b97,_0x1ef8dd);break;}}const _0xa9e6df=_0x3327a2[_0x22c907(0x11e)](_0x5b23c1,_0x1ef8dd),_0x5322a0=this[_0x22c907(0xf0)][_0x22c907(0x2ed)](_0x4c9c04);if(_0x5322a0&&_0xa9e6df){const _0x105f28={..._0x5322a0,'range':_0xa9e6df};this['cursorInfo'][_0x22c907(0x102)](_0x4c9c04,_0x105f28),_0x3998c9(()=>{const _0x3ca0e4=_0x22c907,_0x483b13=this[_0x3ca0e4(0x108)][_0x3ca0e4(0x160)](_0xa9e6df,_0x322bf1=>(_0x483b13[_0x3ca0e4(0x124)](),_0x4d57d8(_0x322bf1,_0x4c9c04,_0x2eb706,_0xa9e6df)));_0x178b9c[_0x3ca0e4(0x2db)](_0x483b13);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1b08dc(0x1fb)]((_0xf19fe9,_0x4574ae)=>{const _0x3201c0=_0x1b08dc,{range:_0x479654,sheetID:_0x312536}=_0xf19fe9,_0x5b903c=this[_0x3201c0(0x108)]['registerRefRange'](_0x479654,_0x3eea01=>(_0x5b903c['dispose'](),_0x4d57d8(_0x3eea01,_0x4574ae,_0x312536,_0x479654)));_0x178b9c[_0x3201c0(0x2db)](_0x5b903c);});};this[_0x51aeee(0x295)](_0x325bbf['toDisposable'](this[_0x51aeee(0x323)]['subscribe'](()=>{_0x1ad82f();})));}[_0x5f57e0(0x1a5)](){const _0x1860cd=_0x5f57e0;var _0x363fdd,_0x1a9dcd;if(this[_0x1860cd(0x1bd)]=!0x0,((_0x363fdd=this[_0x1860cd(0x22d)][_0x1860cd(0x144)]())==null?void 0x0:_0x363fdd[_0x1860cd(0x285)]())!==this[_0x1860cd(0x254)])return;const _0x4294fc=(_0x1a9dcd=this[_0x1860cd(0x363)][_0x1860cd(0x2ed)](_0x3327a2['SheetsSelectionsService'])[_0x1860cd(0x147)]())==null?void 0x0:_0x1a9dcd[0x0],_0x2e1858=this['_univerInstanceService'][_0x1860cd(0x1af)](_0x325bbf['UniverInstanceType'][_0x1860cd(0x167)])[_0x1860cd(0x1d5)]();_0x4294fc&&_0x2e1858&&this['_updateLocalCursor'](_0x2e1858['getSheetId'](),_0x4294fc);}[_0x5f57e0(0x23a)](){this['_online']=!0x1;}};_0x107bc3=_0x4d582e([_0x8d86b9(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x8d86b9(0x3,_0x325bbf[_0x5f57e0(0x333)](_0x59bb9d)),_0x8d86b9(0x4,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x34d)])),_0x8d86b9(0x5,_0x325bbf[_0x5f57e0(0x2a2)]),_0x8d86b9(0x6,_0x325bbf[_0x5f57e0(0x1f4)]),_0x8d86b9(0x7,_0x325bbf[_0x5f57e0(0x333)](_0x3327a2['RefRangeService']))],_0x107bc3);var _0x22b96a=Object[_0x5f57e0(0x12d)],_0x3a9aad=(_0x392181,_0x294f74,_0x963a9c,_0x47d085)=>{for(var _0x373a73=_0x47d085>0x1?void 0x0:_0x47d085?_0x22b96a(_0x294f74,_0x963a9c):_0x294f74,_0x53de3f=_0x392181['length']-0x1,_0x4a1405;_0x53de3f>=0x0;_0x53de3f--)(_0x4a1405=_0x392181[_0x53de3f])&&(_0x373a73=_0x4a1405(_0x373a73)||_0x373a73);return _0x373a73;},_0x14ddce=(_0x3c3bc4,_0x3fb06f)=>(_0x5eb723,_0x8f52c7)=>_0x3fb06f(_0x5eb723,_0x8f52c7,_0x3c3bc4);let _0x2264e9=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x20ed8e,_0x31fd6c,_0x152d52){const _0x28e508=_0x5f57e0;super(),_0x30fb67(this,_0x28e508(0x2fc),new Map()),_0x30fb67(this,_0x28e508(0x109),new _0x4aa5c5[(_0x28e508(0x21a))]()),(this[_0x28e508(0x22d)]=_0x20ed8e,this[_0x28e508(0x363)]=_0x31fd6c,this[_0x28e508(0x35f)]=_0x152d52,this[_0x28e508(0x364)]());}['dispose'](){const _0x126461=_0x5f57e0;super[_0x126461(0x124)](),this[_0x126461(0x109)]['complete'](),this[_0x126461(0x2fc)]['forEach'](_0x593525=>_0x593525[_0x126461(0x124)]());}['getCollabCursors$'](_0x47a041){const _0x2a11b1=_0x5f57e0;return this[_0x2a11b1(0x2fc)][_0x2a11b1(0xf6)](_0x47a041)?this[_0x2a11b1(0x2fc)][_0x2a11b1(0x2ed)](_0x47a041)['cursorInfo$']:this[_0x2a11b1(0x109)]['pipe'](_0x4aa5c5[_0x2a11b1(0x261)](_0x56ee66=>_0x56ee66[_0x2a11b1(0x254)]===_0x47a041),_0x4aa5c5[_0x2a11b1(0x345)](_0x84d276=>_0x84d276[_0x2a11b1(0x189)]));}[_0x5f57e0(0x364)](){const _0x307605=_0x5f57e0;this[_0x307605(0x22d)][_0x307605(0x350)](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x167)])[_0x307605(0x150)](_0x4aa5c5[_0x307605(0x320)](this[_0x307605(0x2e4)]))[_0x307605(0x14f)](async _0x77ba99=>{const _0x250aa9=_0x307605,_0x54f7bf=_0x77ba99['getUnitId'](),_0x13fbd3=await this['_startSheetCollabCursor'](_0x54f7bf);this['_entityInit$']['next'](_0x13fbd3),this[_0x250aa9(0x2fc)][_0x250aa9(0x102)](_0x54f7bf,_0x13fbd3);}),this['_univerInstanceService'][_0x307605(0x350)](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x367)])[_0x307605(0x150)](_0x4aa5c5[_0x307605(0x320)](this[_0x307605(0x2e4)]))[_0x307605(0x150)](_0x4aa5c5[_0x307605(0x261)](_0x74b99a=>!_0x74b99a[_0x307605(0x285)]()[_0x307605(0x270)]('__')))[_0x307605(0x14f)](async _0x469ff8=>{const _0x7ea9ca=_0x307605,_0x38da97=_0x469ff8['getUnitId'](),_0x56e7e7=await this[_0x7ea9ca(0x113)](_0x38da97);this[_0x7ea9ca(0x109)]['next'](_0x56e7e7),this[_0x7ea9ca(0x2fc)][_0x7ea9ca(0x102)](_0x38da97,_0x56e7e7);}),_0x4aa5c5[_0x307605(0x32e)](this[_0x307605(0x22d)]['getTypeOfUnitDisposed$'](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x367)]),this[_0x307605(0x22d)]['getTypeOfUnitDisposed$'](_0x325bbf[_0x307605(0x1c6)][_0x307605(0x167)]))['pipe'](_0x4aa5c5[_0x307605(0x320)](this[_0x307605(0x2e4)]))['subscribe'](_0x35e4c2=>{const _0x16777f=_0x307605,_0x4ca9d1=_0x35e4c2[_0x16777f(0x285)](),_0x22a0c4=this[_0x16777f(0x2fc)][_0x16777f(0x2ed)](_0x4ca9d1);_0x22a0c4&&(_0x22a0c4[_0x16777f(0x124)](),this[_0x16777f(0x2fc)]['delete'](_0x4ca9d1));});}async['_startSheetCollabCursor'](_0x3cb10a){const _0x48ccdf=_0x5f57e0,_0x32da81=await this[_0x48ccdf(0x35f)][_0x48ccdf(0x265)](_0x3cb10a),_0x3b638a=this[_0x48ccdf(0x363)]['createInstance'](_0x107bc3,_0x3cb10a,_0x32da81);return _0x3b638a[_0x48ccdf(0x183)](),_0x3b638a;}async['_startDocCollabCursor'](_0x2623b0){const _0x320722=_0x5f57e0,_0x34b9ed=await this[_0x320722(0x35f)][_0x320722(0x265)](_0x2623b0),_0x5e99c7=this[_0x320722(0x363)][_0x320722(0x1d6)](_0x5c9e83,_0x2623b0,_0x34b9ed);return _0x5e99c7[_0x320722(0x183)](),_0x5e99c7;}};_0x2264e9=_0x3a9aad([_0x14ddce(0x0,_0x325bbf[_0x5f57e0(0x2a2)]),_0x14ddce(0x1,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x2c1)])),_0x14ddce(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x228)]))],_0x2264e9);const _0x21a275=0x14,_0x42be0b=0xc8,_0x1e962a=0x4,_0x128edf=0x5;function _0x14f747(_0x38b27a,_0x4b3b1e){const _0x2d738f=_0x5f57e0;let {radius:_0x1ef0e1,width:_0x2284d7,height:_0x1f763e}=_0x4b3b1e;_0x1ef0e1=_0x1ef0e1!=null?_0x1ef0e1:0x0,_0x2284d7=_0x2284d7!=null?_0x2284d7:0x1e,_0x1f763e=_0x1f763e!=null?_0x1f763e:0x1e;let _0x5db90f=0x0,_0x4a1d84=0x0,_0x82ce70=0x0;_0x5db90f=_0x4a1d84=_0x82ce70=Math[_0x2d738f(0x1e7)](_0x1ef0e1,_0x2284d7/0x2,_0x1f763e/0x2),_0x38b27a['beginPath'](),_0x38b27a[_0x2d738f(0x2b6)](_0x5db90f,0x0),_0x38b27a['lineTo'](_0x2284d7-_0x4a1d84,0x0),_0x38b27a[_0x2d738f(0x245)](_0x2284d7-_0x4a1d84,_0x4a1d84,_0x4a1d84,Math['PI']*0x3/0x2,0x0,!0x1),_0x38b27a['lineTo'](_0x2284d7,_0x1f763e-_0x82ce70),_0x38b27a[_0x2d738f(0x245)](_0x2284d7-_0x82ce70,_0x1f763e-_0x82ce70,_0x82ce70,0x0,Math['PI']/0x2,!0x1),_0x38b27a['lineTo'](0x0,_0x1f763e),_0x38b27a['lineTo'](0x0,_0x5db90f),_0x38b27a[_0x2d738f(0x245)](_0x5db90f,_0x5db90f,_0x5db90f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38b27a[_0x2d738f(0x321)](),_0x4b3b1e['fill']&&(_0x38b27a[_0x2d738f(0x33e)](),_0x38b27a['fillStyle']=_0x4b3b1e[_0x2d738f(0x214)],_0x4b3b1e[_0x2d738f(0x1a3)]==='evenodd'?_0x38b27a['fill'](_0x2d738f(0x2d4)):_0x38b27a['fill'](),_0x38b27a[_0x2d738f(0x1f1)]());}class _0x57cba5 extends _0x1baa4a['Shape']{constructor(_0x2e420b,_0x419067){const _0x3b7a2c=_0x5f57e0;super(_0x2e420b,_0x419067),_0x30fb67(this,'color'),_0x30fb67(this,_0x3b7a2c(0x2b0)),(this[_0x3b7a2c(0x281)]=_0x419067==null?void 0x0:_0x419067[_0x3b7a2c(0x281)],this[_0x3b7a2c(0x2b0)]=_0x419067==null?void 0x0:_0x419067[_0x3b7a2c(0x2b0)]);}static[_0x5f57e0(0x282)](_0x2b48c9,_0x286ddb){const _0x1af342=_0x5f57e0,{text:_0x21086b,color:_0x5ab96d}=_0x286ddb;_0x2b48c9[_0x1af342(0x33e)](),_0x2b48c9[_0x1af342(0x169)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2041f2=_0x2b48c9[_0x1af342(0x158)](_0x21086b)['width'],_0x5487b8=Math['min'](_0x2041f2+0x2*_0x1e962a,_0x42be0b);_0x14f747(_0x2b48c9,{'height':_0x21a275,'radius':0x4,'width':_0x5487b8,'fill':_0x5ab96d}),_0x2b48c9['fillStyle']=_0x1af342(0x1a7);const _0xbf5846=_0x1e962a,_0x2bd744=_0x21a275-_0x128edf,_0x1572e2=_0x42be0b-0x2*_0x1e962a;if(_0x2041f2>_0x1572e2){let _0xd65c9e='',_0x5aae31=0x0;for(const _0x327a42 of _0x21086b){const _0x107d75=_0x2b48c9['measureText'](_0x327a42)[_0x1af342(0x208)];if(_0x5aae31+_0x107d75<=_0x1572e2-_0x2b48c9[_0x1af342(0x158)](_0x1af342(0x337))[_0x1af342(0x208)])_0xd65c9e+=_0x327a42,_0x5aae31+=_0x107d75;else{_0xd65c9e+=_0x1af342(0x337);break;}}_0x2b48c9[_0x1af342(0xed)](_0xd65c9e,_0xbf5846,_0x2bd744);}else _0x2b48c9['fillText'](_0x21086b,_0xbf5846,_0x2bd744);_0x2b48c9[_0x1af342(0x1f1)]();}[_0x5f57e0(0x200)](_0x1d730e){const _0x2f962d=_0x5f57e0;_0x57cba5[_0x2f962d(0x282)](_0x1d730e,this);}}const _0x15ba17=_0x5f57e0(0x20a),_0x150ac0='collab-text-range-',_0xb061fa=_0x5f57e0(0x2ee),_0x3e4509=0x6,_0x300f39=1.5,_0x1f26f7=0x4,_0x467729=1.5,_0x4b08ba=_0x5f57e0(0x2f1);class _0x14a27d{constructor(_0x3cfa0e,_0x2df206,_0x46089f,_0x50bc2c){const _0x3272d7=_0x5f57e0;_0x30fb67(this,_0x3272d7(0x2a6),[]),_0x30fb67(this,_0x3272d7(0x1b5),null),_0x30fb67(this,_0x3272d7(0x28f),null),_0x30fb67(this,_0x3272d7(0x171),null),_0x30fb67(this,_0x3272d7(0x14d),null),_0x30fb67(this,_0x3272d7(0x2a9),null),(this[_0x3272d7(0x22a)]=_0x3cfa0e,this['_scene']=_0x2df206,this[_0x3272d7(0x2d0)]=_0x46089f,this[_0x3272d7(0x24f)]=_0x50bc2c,this[_0x3272d7(0x125)]());}set[_0x5f57e0(0x1e8)](_0x458dc7){const _0x1b0a5a=_0x5f57e0;_0x458dc7?(this[_0x1b0a5a(0x171)]&&this[_0x1b0a5a(0x171)][_0x1b0a5a(0x178)](),this[_0x1b0a5a(0x28f)]&&this['_textBubble'][_0x1b0a5a(0x190)]()):(this[_0x1b0a5a(0x171)]&&this[_0x1b0a5a(0x171)][_0x1b0a5a(0x190)](),this[_0x1b0a5a(0x28f)]&&this[_0x1b0a5a(0x28f)][_0x1b0a5a(0x178)]());}[_0x5f57e0(0x124)](){const _0x4dcd7c=_0x5f57e0;for(const _0x52d743 of this[_0x4dcd7c(0x2a6)])_0x52d743['dispose']();this[_0x4dcd7c(0x28f)]&&this[_0x4dcd7c(0x28f)][_0x4dcd7c(0x124)](),this[_0x4dcd7c(0x171)]&&this[_0x4dcd7c(0x171)]['dispose'](),this[_0x4dcd7c(0x1b5)]&&this[_0x4dcd7c(0x1b5)][_0x4dcd7c(0x124)](),this[_0x4dcd7c(0x2a9)]&&this[_0x4dcd7c(0x2a9)]();}[_0x5f57e0(0x125)](){const _0x33aa22=_0x5f57e0;var _0x34a785;const {_docSkeleton:_0x17fc20,_document:_0x61cad7}=this,{color:_0x4fb91d,name:_0xe44e1a,ranges:_0x1c08c0}=this[_0x33aa22(0x22a)],_0x3f1f23=_0x61cad7[_0x33aa22(0x16f)](),{docsLeft:_0x258186,docsTop:_0x136f27}=_0x3f1f23,_0x4b0c3e=new _0x3aa08e[(_0x33aa22(0x10a))](_0x3f1f23,_0x17fc20);for(const {startOffset:_0x5deeee,endOffset:_0x471073,rangeType:_0x2bd645,segmentId:_0xfe234e,segmentPage:_0x57cf9a,collapsed:_0x5538e2,isActive:_0x56bc4d}of _0x1c08c0){const _0x1ba8a8=_0x17fc20[_0x33aa22(0x25d)](_0x5deeee,!0x0,_0xfe234e,_0x57cf9a);let _0x14e117=_0x17fc20[_0x33aa22(0x25d)](_0x471073,!0x0,_0xfe234e,_0x57cf9a);if(_0x14e117==null&&(_0x14e117=_0x17fc20[_0x33aa22(0x25d)](_0x471073-0x1,!0x1,_0xfe234e,_0x57cf9a)),_0x56bc4d){const {contentBoxPointGroup:_0x2b1beb}=_0x4b0c3e[_0x33aa22(0x2d8)](_0x14e117,_0x14e117);if(_0x2b1beb[_0x33aa22(0x11d)]===0x0)continue;this[_0x33aa22(0x16c)](_0x4fb91d,_0x2b1beb,_0x258186,_0x136f27,_0xe44e1a),this[_0x33aa22(0x2a9)]=this['_handleHover']();}if(_0x1ba8a8&&_0x14e117){if(_0x2bd645===_0x325bbf[_0x33aa22(0x381)]['RECT']){const _0x3371d1=new _0x3aa08e[(_0x33aa22(0x19a))](_0x3f1f23,_0x17fc20),{pointGroup:_0x3b5f90}=(_0x34a785=_0x3371d1[_0x33aa22(0x2d8)](_0x1ba8a8,_0x14e117))!=null?_0x34a785:{};if(_0x3b5f90==null||_0x3b5f90[_0x33aa22(0x11d)]===0x0)continue;this[_0x33aa22(0x227)](_0x4fb91d,_0x3b5f90,_0x258186,_0x136f27);}else{if(!_0x5538e2){const {borderBoxPointGroup:_0x382d99}=_0x4b0c3e[_0x33aa22(0x2d8)](_0x1ba8a8,_0x14e117);if(_0x382d99[_0x33aa22(0x11d)]===0x0)continue;this['_drawTextRange'](_0x4fb91d,_0x382d99,_0x258186,_0x136f27);}}}}}[_0x5f57e0(0x16c)](_0x4eb27c,_0xb1e0a2,_0xd54960,_0x1d5a61,_0x56a62e){const _0x426291=_0x5f57e0,_0x2c4ad2=this[_0x426291(0x23d)](_0xb1e0a2),{left:_0x4bf03d,top:_0x5586f8,height:_0x116ad4}=_0x2c4ad2,_0x2b67fc=this[_0x426291(0x156)](),_0x243e65=_0x467729/_0x2b67fc,_0xaed58b=new _0x1baa4a[(_0x426291(0x16b))](_0x15ba17+_0x325bbf['Tools'][_0x426291(0x101)](_0x3e4509),{'left':_0x4bf03d+_0xd54960-_0x243e65,'top':_0x5586f8+_0x1d5a61,'height':_0x116ad4,'width':_0x300f39,'fill':_0x4eb27c||_0x1baa4a[_0x426291(0x2b5)](_0x325bbf[_0x426291(0x236)][_0x426291(0x2ab)],0x0),'strokeWidth':_0x243e65,'stroke':_0x4b08ba,'evented':!0x0});this[_0x426291(0x1b5)]=_0xaed58b,this[_0x426291(0x26f)][_0x426291(0x36f)](_0xaed58b,_0x3aa08e[_0x426291(0x175)]);const _0x556af3=new _0x1baa4a[(_0x426291(0x16b))](_0x15ba17+_0x325bbf[_0x426291(0xfa)][_0x426291(0x101)](_0x3e4509),{'left':_0x4bf03d+_0xd54960-_0x243e65,'top':_0x5586f8+_0x1d5a61-_0x1f26f7/0x2,'height':_0x1f26f7,'width':_0x1f26f7,'fill':_0x4eb27c||_0x1baa4a[_0x426291(0x2b5)](_0x325bbf[_0x426291(0x236)][_0x426291(0x2ab)],0x0),'strokeWidth':0x0,'stroke':_0x4eb27c||_0x1baa4a[_0x426291(0x2b5)](_0x325bbf[_0x426291(0x236)][_0x426291(0x2ab)],0x0),'evented':!0x1});this[_0x426291(0x171)]=_0x556af3,this[_0x426291(0x26f)]['addObject'](_0x556af3,_0x3aa08e[_0x426291(0x175)]);const _0x406efe=new _0x57cba5(_0x15ba17+_0x325bbf['Tools'][_0x426291(0x101)](_0x3e4509),{'left':_0x4bf03d+_0xd54960-_0x243e65,'top':_0x5586f8+_0x1d5a61-_0x21a275,'text':_0x56a62e,'color':_0x4eb27c});this[_0x426291(0x28f)]=_0x406efe,this[_0x426291(0x26f)][_0x426291(0x36f)](_0x406efe,_0x3aa08e[_0x426291(0x175)]),this[_0x426291(0x1e8)]=!0x1;}[_0x5f57e0(0x369)](){const _0x2250f1=_0x5f57e0,_0x172be6=this[_0x2250f1(0x1b5)][_0x2250f1(0x21c)][_0x2250f1(0x233)](()=>{this['_hover']=!0x0;}),_0x1f8c9a=this[_0x2250f1(0x1b5)][_0x2250f1(0x212)][_0x2250f1(0x233)](()=>{const _0x2666d9=_0x2250f1;this['_hideTimer']&&clearTimeout(this[_0x2666d9(0x14d)]),this[_0x2666d9(0x14d)]=setTimeout(()=>{const _0xae5c8b=_0x2666d9;this[_0xae5c8b(0x1e8)]=!0x1;},0x7d0);});return()=>{const _0x4125e1=_0x2250f1;_0x172be6[_0x4125e1(0x33c)](),_0x1f8c9a[_0x4125e1(0x33c)]();};}[_0x5f57e0(0x384)](_0x1e316d,_0x4ade58,_0x2b8194,_0x450f8b){const _0x1ab5f2=_0x5f57e0,_0x34fa10=new _0x325bbf[(_0x1ab5f2(0x1b0))](_0x1e316d)[_0x1ab5f2(0x324)](0.2)[_0x1ab5f2(0x1aa)](),_0x270a7b=new _0x1baa4a[(_0x1ab5f2(0x1b7))](_0x150ac0+_0x325bbf[_0x1ab5f2(0xfa)]['generateRandomId'](_0x3e4509),{'pointsGroup':_0x4ade58,'fill':_0x34fa10||_0x1baa4a[_0x1ab5f2(0x2b5)](_0x325bbf['COLORS'][_0x1ab5f2(0x2ab)],0.2),'left':_0x2b8194,'top':_0x450f8b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1ab5f2(0x10e)](_0x270a7b),this[_0x1ab5f2(0x26f)][_0x1ab5f2(0x36f)](_0x270a7b,_0x3aa08e[_0x1ab5f2(0x175)]);}[_0x5f57e0(0x227)](_0x4a9026,_0x12065f,_0x24f349,_0x51a458){const _0x2fef7c=_0x5f57e0,_0x5e3ada=new _0x325bbf[(_0x2fef7c(0x1b0))](_0x4a9026)[_0x2fef7c(0x324)](0.2)[_0x2fef7c(0x1aa)](),_0x1a77cc=new _0x1baa4a[(_0x2fef7c(0x1b7))](_0xb061fa+_0x325bbf[_0x2fef7c(0xfa)][_0x2fef7c(0x101)](_0x3e4509),{'pointsGroup':_0x12065f,'fill':_0x5e3ada||_0x1baa4a[_0x2fef7c(0x2b5)](_0x325bbf['COLORS']['black'],0.2),'left':_0x24f349,'top':_0x51a458,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fef7c(0x2a6)][_0x2fef7c(0x10e)](_0x1a77cc),this[_0x2fef7c(0x26f)]['addObject'](_0x1a77cc,_0x3aa08e['TEXT_RANGE_LAYER_INDEX']);}[_0x5f57e0(0x23d)](_0xa23e3d){const _0x11ca1d=_0xa23e3d[0x0],_0xf7719c=_0x11ca1d[0x0],_0x30ef55=_0x11ca1d[0x2],{x:_0x44630e,y:_0x12ce16}=_0xf7719c,{x:_0x471540,y:_0xbb6d6a}=_0x30ef55;return{'left':_0x44630e,'top':_0x12ce16,'width':_0x471540-_0x44630e,'height':_0xbb6d6a-_0x12ce16};}[_0x5f57e0(0x156)](){const _0x1d23ae=_0x5f57e0,{scaleX:_0xcd2280,scaleY:_0x4e2893}=this[_0x1d23ae(0x26f)][_0x1d23ae(0x30f)]();return Math[_0x1d23ae(0x1a2)](_0xcd2280,_0x4e2893);}}var _0x36beb5=Object[_0x5f57e0(0x12d)],_0x17a02b=(_0x169c7d,_0x39b58c,_0x165099,_0x13ac3d)=>{for(var _0x3e477e=_0x13ac3d>0x1?void 0x0:_0x13ac3d?_0x36beb5(_0x39b58c,_0x165099):_0x39b58c,_0x3d555c=_0x169c7d['length']-0x1,_0x4dd554;_0x3d555c>=0x0;_0x3d555c--)(_0x4dd554=_0x169c7d[_0x3d555c])&&(_0x3e477e=_0x4dd554(_0x3e477e)||_0x3e477e);return _0x3e477e;},_0x2fe443=(_0x70a06d,_0xa6249c)=>(_0xec370d,_0x3bc6bf)=>_0xa6249c(_0xec370d,_0x3bc6bf,_0x70a06d);let _0x421646=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0x521121,_0x2c8a5d,_0x866d4a,_0x5a8910,_0x3656f3){const _0x465cfb=_0x5f57e0;super(),_0x30fb67(this,_0x465cfb(0x163),[]),_0x30fb67(this,_0x465cfb(0x204),[]),(this[_0x465cfb(0x1e5)]=_0x521121,this['_docSkeletonManagerService']=_0x2c8a5d,this['_collabCursorController']=_0x866d4a,this['_commandService']=_0x5a8910,this['_themeService']=_0x3656f3,this[_0x465cfb(0x364)]());}[_0x5f57e0(0x364)](){const _0x6b3e7b=_0x5f57e0,_0x15ae29=this[_0x6b3e7b(0x1e5)][_0x6b3e7b(0x15e)],_0x460f94=this[_0x6b3e7b(0x1a9)];this['disposeWithMe'](_0x4aa5c5[_0x6b3e7b(0x181)]([this[_0x6b3e7b(0x27d)]['getCollabCursors$'](_0x15ae29),this['_themeService']['currentTheme$']])[_0x6b3e7b(0x150)](_0x107600[_0x6b3e7b(0x1ad)](([_0x262735,_0x5b4b17])=>({'skeleton':_0x460f94[_0x6b3e7b(0x2e8)](),'cursors':[..._0x262735[_0x6b3e7b(0x1d0)]()][_0x6b3e7b(0x13d)](_0x1a0b93=>({..._0x1a0b93,'color':this[_0x6b3e7b(0x106)][_0x6b3e7b(0x1c3)](_0x1a0b93[_0x6b3e7b(0x281)])}))})))[_0x6b3e7b(0x14f)](_0x54c0fe=>{const _0x1b721f=_0x6b3e7b;if(this[_0x1b721f(0x29d)](),_0x54c0fe){const {skeleton:_0x331ab0,cursors:_0x1dcfcb}=_0x54c0fe;this[_0x1b721f(0x249)](_0x331ab0,_0x1dcfcb);}})),this[_0x6b3e7b(0x2be)](),this['_initCommandExecutedListener']();}[_0x5f57e0(0x249)](_0x5c4d53,_0x25bf24){const _0x1fd06f=_0x5f57e0,{scene:_0x3338da,mainComponent:_0x52d6b0}=this[_0x1fd06f(0x1e5)],_0x5633fc=_0x25bf24[_0x1fd06f(0x1ad)](_0x1780b8=>new _0x14a27d(_0x1780b8,_0x3338da,_0x5c4d53,_0x52d6b0));this[_0x1fd06f(0x163)]=_0x5633fc,this[_0x1fd06f(0x204)]=_0x25bf24;}['_refreshCollabCursors'](){const _0x44a82a=_0x5f57e0;this['_removeCollabCursors']();const {scene:_0x33815b,mainComponent:_0x275cb2}=this['_context'],_0x2a8cf0=this[_0x44a82a(0x1a9)]['getSkeleton'](),_0x20bbfd=this[_0x44a82a(0x204)][_0x44a82a(0x1ad)](_0x5cb104=>new _0x14a27d(_0x5cb104,_0x33815b,_0x2a8cf0,_0x275cb2));this[_0x44a82a(0x163)]=_0x20bbfd;}['_removeCollabCursors'](){const _0x312b6f=_0x5f57e0;this[_0x312b6f(0x163)][_0x312b6f(0x1fb)](_0x581b7e=>_0x581b7e['dispose']()),this[_0x312b6f(0x163)]=[];}[_0x5f57e0(0x268)](){const _0x54483a=_0x5f57e0,_0x1a6025=[_0x3aa08e[_0x54483a(0x16a)]['id']];this[_0x54483a(0x295)](this[_0x54483a(0x37e)][_0x54483a(0x2c0)](_0x5dd362=>{const _0x453ad1=_0x54483a;_0x1a6025[_0x453ad1(0x14b)](_0x5dd362['id'])&&_0x5dd362[_0x453ad1(0x263)]['unitId']===this[_0x453ad1(0x1e5)][_0x453ad1(0x15e)]&&this[_0x453ad1(0x299)]();}));}[_0x5f57e0(0x2be)](){const _0x5747f7=_0x5f57e0;this[_0x5747f7(0x295)](_0x325bbf[_0x5747f7(0x1ec)](this['_context'][_0x5747f7(0x346)][_0x5747f7(0x2bb)])[_0x5747f7(0x150)](_0x107600[_0x5747f7(0x261)](_0x11be3c=>_0x11be3c[_0x5747f7(0x325)]===_0x1baa4a[_0x5747f7(0x141)][_0x5747f7(0x18a)]),_0x107600['throttleTime'](0x10))[_0x5747f7(0x14f)](()=>{const _0x470e3b=_0x5747f7;this[_0x470e3b(0x299)]();}));}};_0x421646=_0x17a02b([_0x2fe443(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x30a0a7[_0x5f57e0(0x14c)])),_0x2fe443(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2264e9)),_0x2fe443(0x3,_0x325bbf[_0x5f57e0(0x1f4)]),_0x2fe443(0x4,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x24e)]))],_0x421646);const _0x45d79c=0x1,_0x49d638=1.5;class _0x3ac4f0 extends _0x1baa4a[_0x5f57e0(0x2af)]{constructor(_0x4e78c8,_0x2ffdfc){const _0x4d9b7f=_0x5f57e0;super(_0x4e78c8,_0x2ffdfc),_0x30fb67(this,_0x4d9b7f(0x136)),_0x30fb67(this,_0x4d9b7f(0x34e),!0x1),_0x30fb67(this,_0x4d9b7f(0x218)),_0x30fb67(this,_0x4d9b7f(0x2eb),''),_0x30fb67(this,_0x4d9b7f(0x1dc),_0x4d9b7f(0x132)),_0x30fb67(this,_0x4d9b7f(0x179)),(_0x2ffdfc&&this[_0x4d9b7f(0x287)](_0x2ffdfc),this[_0x4d9b7f(0x21c)][_0x4d9b7f(0x233)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4d9b7f(0x212)][_0x4d9b7f(0x233)](()=>this[_0x4d9b7f(0x287)]({'hovered':!0x1})));}[_0x5f57e0(0x287)](_0x1d3b45){const _0x44e818=_0x5f57e0;var _0x5cb40a,_0x1af184,_0x547d0a,_0x306f0f,_0x49ae13,_0xca4d25;this['_color']=(_0x5cb40a=_0x1d3b45[_0x44e818(0x281)])!=null?_0x5cb40a:this[_0x44e818(0x136)],this[_0x44e818(0x34e)]=(_0x1af184=_0x1d3b45[_0x44e818(0x247)])!=null?_0x1af184:this[_0x44e818(0x34e)],this[_0x44e818(0x218)]=(_0x547d0a=_0x1d3b45[_0x44e818(0x246)])!=null?_0x547d0a:this[_0x44e818(0x218)],this['_name']=(_0x306f0f=_0x1d3b45[_0x44e818(0x1e6)])!=null?_0x306f0f:this['_name'],this[_0x44e818(0x1dc)]=(_0x49ae13=_0x1d3b45[_0x44e818(0x298)])!=null?_0x49ae13:this['_labelPosition'],this[_0x44e818(0x179)]=(_0xca4d25=_0x1d3b45['backgroundColor'])!=null?_0xca4d25:this['_backgroundColor'],this['transformByState']({'width':_0x1d3b45[_0x44e818(0x208)],'height':_0x1d3b45[_0x44e818(0x210)]});}[_0x5f57e0(0x289)](_0x32efa8){const _0x23b843=_0x5f57e0,{row:_0x2af859,column:_0x98031a}=_0x32efa8;if(_0x2af859>=this[_0x23b843(0x218)][_0x23b843(0x294)]&&_0x2af859<=this[_0x23b843(0x218)][_0x23b843(0x27a)]&&_0x98031a>=this[_0x23b843(0x218)][_0x23b843(0x23f)]&&_0x98031a<=this[_0x23b843(0x218)][_0x23b843(0x28a)]){this[_0x23b843(0x287)]({'hovered':!0x0});return;}this[_0x23b843(0x287)]({'hovered':!0x1});}[_0x5f57e0(0x13f)](_0x25ba32){return!0x1;}[_0x5f57e0(0x200)](_0x51c160){const _0xa73e3f=_0x5f57e0;_0x1baa4a['Rect'][_0xa73e3f(0x282)](_0x51c160,{'width':this[_0xa73e3f(0x208)],'height':this[_0xa73e3f(0x210)],'strokeWidth':_0x49d638,'stroke':this[_0xa73e3f(0x136)],'evented':!0x1,'fill':this[_0xa73e3f(0x179)]}),this[_0xa73e3f(0x34e)]&&(_0x51c160[_0xa73e3f(0x33e)](),_0x51c160[_0xa73e3f(0x122)](0x1,0x0,0x0,0x1,this[_0xa73e3f(0x208)],this[_0xa73e3f(0x1dc)]==='bottom'?0x0:-0x14),_0x57cba5[_0xa73e3f(0x282)](_0x51c160,{'text':this[_0xa73e3f(0x2eb)],'color':this[_0xa73e3f(0x136)]}),_0x51c160[_0xa73e3f(0x1f1)]());}}var _0x284c8b=Object[_0x5f57e0(0x12d)],_0x146d92=(_0x296868,_0x4f8f32,_0x303c3c,_0x5c3ee5)=>{for(var _0x43349f=_0x5c3ee5>0x1?void 0x0:_0x5c3ee5?_0x284c8b(_0x4f8f32,_0x303c3c):_0x4f8f32,_0x5af25c=_0x296868['length']-0x1,_0x378c72;_0x5af25c>=0x0;_0x5af25c--)(_0x378c72=_0x296868[_0x5af25c])&&(_0x43349f=_0x378c72(_0x43349f)||_0x43349f);return _0x43349f;},_0x1f0aeb=(_0x1eef08,_0xa23986)=>(_0x37b9f3,_0x19f415)=>_0xa23986(_0x37b9f3,_0x19f415,_0x1eef08);const _0xde031a=0x1389;let _0x567d02=class extends _0x325bbf['RxDisposable']{constructor(_0x6feb8,_0x293b87,_0x1f25e7,_0x3e261d){const _0x3c9ff9=_0x5f57e0;super(),_0x30fb67(this,_0x3c9ff9(0x204),new Set()),_0x30fb67(this,'_lastPointer',null),(this[_0x3c9ff9(0x1e5)]=_0x6feb8,this[_0x3c9ff9(0x20d)]=_0x293b87,this['_collabCursorController']=_0x1f25e7,this['_themeService']=_0x3e261d,this['_init']());}['_init'](){const _0x590dd2=_0x5f57e0;this[_0x590dd2(0x20d)][_0x590dd2(0x376)][_0x590dd2(0x150)](_0x107600['takeUntil'](this[_0x590dd2(0x2e4)]),_0x107600[_0x590dd2(0x345)](_0x22ab2e=>{const _0x43da89=_0x590dd2;if(_0x22ab2e){const _0x2490b8=_0x22ab2e[_0x43da89(0x386)];return _0x4aa5c5[_0x43da89(0x181)](this['_collabCursorController'][_0x43da89(0x1a8)](this['_context']['unitId']),this[_0x43da89(0x106)][_0x43da89(0x280)])[_0x43da89(0x150)](_0x107600[_0x43da89(0x1ad)](([_0x7ebe90,_0x1e376e])=>{const _0x25cecd=_0x43da89,_0x33c45b=new Map();return _0x7ebe90[_0x25cecd(0x1fb)]((_0x26ea7a,_0x3d2fed)=>{const _0x3e0577=_0x25cecd;if(_0x26ea7a[_0x3e0577(0x275)]===_0x2490b8){const _0x368396={..._0x26ea7a};_0x368396[_0x3e0577(0x281)]=this[_0x3e0577(0x106)][_0x3e0577(0x1c3)](_0x26ea7a[_0x3e0577(0x281)]),_0x33c45b['set'](_0x3d2fed,_0x368396);}}),{'skeleton':_0x22ab2e,'cursors':_0x33c45b};}));}return _0x4aa5c5['of']({'skeleton':null,'cursors':new Map()});}))[_0x590dd2(0x14f)](({skeleton:_0x3e9283,cursors:_0x513386})=>{const _0x52e369=_0x590dd2;this[_0x52e369(0x29d)](),_0x3e9283&&this[_0x52e369(0x249)](_0x3e9283,_0x513386);}),this[_0x590dd2(0x20d)][_0x590dd2(0x376)][_0x590dd2(0x14f)](_0x49da09=>{const _0x33b89b=_0x590dd2;if(_0x49da09==null)return;const {skeleton:_0x1d571e}=_0x49da09,{scene:_0x34d276}=this[_0x33b89b(0x1e5)];_0x34d276['onPointerMove$'][_0x33b89b(0x233)](_0x325bbf[_0x33b89b(0x2d7)](_0x4a6f2f=>{const _0x1bd35e=_0x33b89b;var _0x6cfb14,_0x2ec44c;const {offsetX:_0x3c75f6,offsetY:_0x3f2a4d}=_0x4a6f2f,{x:_0x3ff138,y:_0x359e52}=_0x34d276[_0x1bd35e(0x352)](_0x1baa4a[_0x1bd35e(0x11f)][_0x1bd35e(0x30b)]([_0x3c75f6,_0x3f2a4d])),{scaleX:_0x94a688,scaleY:_0x1318e8}=_0x34d276[_0x1bd35e(0x30f)](),_0x3901d2=_0x34d276['getViewport'](_0x1baa4a[_0x1bd35e(0x2c3)][_0x1bd35e(0x1ba)]),_0x585913=_0x34d276[_0x1bd35e(0x168)](_0x1baa4a[_0x1bd35e(0x11f)][_0x1bd35e(0x30b)]([_0x3ff138,_0x359e52]),_0x3901d2),_0x5134b5=_0x1d571e['getCellPositionByOffset'](_0x3c75f6,_0x3f2a4d,_0x94a688,_0x1318e8,_0x585913);((_0x6cfb14=this[_0x1bd35e(0x2f6)])==null?void 0x0:_0x6cfb14['column'])===_0x5134b5[_0x1bd35e(0x262)]&&((_0x2ec44c=this['_lastPointer'])==null?void 0x0:_0x2ec44c[_0x1bd35e(0x1da)])===_0x5134b5[_0x1bd35e(0x1da)]||this[_0x1bd35e(0x204)]['forEach'](_0x59418b=>{const _0x315be7=_0x1bd35e;_0x59418b[_0x315be7(0x289)](_0x5134b5);});},0x64));});}['_updateCollabCursors'](_0x314af3,_0x119de1){const _0x542949=_0x5f57e0;var _0xa30e34;const _0x3f04f3=(_0xa30e34=this[_0x542949(0x20d)][_0x542949(0x35c)]())==null?void 0x0:_0xa30e34['skeleton'];if(!_0x3f04f3)return;const _0xeed79c=this['_getSheetObject']();if(!_0xeed79c)return;this['_cursors'][_0x542949(0x1fb)](_0x2d33c1=>{const _0x3c5190=_0x542949;_0x2d33c1[_0x3c5190(0x375)]();});const {scene:_0x3a96d5}=_0xeed79c,_0x423fbb=_0x14f58c(Array[_0x542949(0x382)](_0x119de1['values']()))[_0x542949(0x1ad)](_0x54bf10=>{const _0x3945a6=_0x542949,{color:_0x3e8451,range:_0x21d7c1,name:_0x572f6f,selection:_0x1f74ee,sheetID:_0x4844a0}=_0x54bf10,{startColumn:_0x536315,startRow:_0x4cc218,endColumn:_0x39d9c8,endRow:_0x5ff149}=_0x21d7c1,_0x39bd90=_0x5f8c57[_0x3945a6(0x283)](_0x4cc218,_0x536315,_0x3a96d5,_0x3f04f3),_0x5dccef=_0x5f8c57[_0x3945a6(0x283)](_0x5ff149,_0x39d9c8,_0x3a96d5,_0x3f04f3),{columnHeaderHeightAndMarginTop:_0x1bdfa2}=_0x3f04f3,{startX:_0x5a41e4,startY:_0x5a2e08}=_0x39bd90,{endX:_0x56f48f,endY:_0xb4fc26}=_0x5dccef,_0x51622f=_0x56f48f-_0x5a41e4,_0x3470ad=_0xb4fc26-_0x5a2e08,_0x490231={'labelPosition':_0x5a2e08-_0x1bdfa2>=_0x21a275?'top':_0x3945a6(0x1a0),'sheetID':_0x4844a0,'range':_0x21d7c1,'color':_0x3e8451,'name':_0x572f6f,'selection':_0x1f74ee,'left':_0x5a41e4,'top':_0x5a2e08,'width':_0x51622f,'height':_0x3470ad,'evented':!0x1,'zIndex':_0xde031a};return new _0x3ac4f0(_0x572f6f,_0x490231);});_0x3a96d5[_0x542949(0x36b)](_0x423fbb,_0x45d79c),this[_0x542949(0x204)]=new Set(_0x423fbb);}[_0x5f57e0(0x29d)](){const _0x18303d=_0x5f57e0;var _0x2ef423;(_0x2ef423=this[_0x18303d(0x204)])==null||_0x2ef423[_0x18303d(0x1fb)](_0x2e6523=>_0x2e6523['dispose']());}[_0x5f57e0(0x312)](){const _0x141746=_0x5f57e0;return _0x5f8c57[_0x141746(0x1c8)](this['_context'][_0x141746(0x29f)],this[_0x141746(0x1e5)]);}};_0x567d02=_0x146d92([_0x1f0aeb(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x5f8c57[_0x5f57e0(0x1d2)])),_0x1f0aeb(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2264e9)),_0x1f0aeb(0x3,_0x325bbf['Inject'](_0x325bbf['ThemeService']))],_0x567d02);function _0x14f58c(_0x2db3cb){const _0x4b4e9f=_0x5f57e0,_0xbffb28=new Map();return _0x2db3cb[_0x4b4e9f(0x1fb)](_0xbb70c7=>{const _0x2f2277=_0x4b4e9f;if(_0xbffb28[_0x2f2277(0xf6)](_0xbb70c7[_0x2f2277(0x2c9)])){const _0x13c311=_0xbffb28[_0x2f2277(0x2ed)](_0xbb70c7[_0x2f2277(0x2c9)]);_0x13c311['name']+=',\x20'+_0xbb70c7[_0x2f2277(0x1e6)];}else _0xbffb28[_0x2f2277(0x102)](_0xbb70c7['selection'],_0xbb70c7);}),Array[_0x4b4e9f(0x382)](_0xbffb28[_0x4b4e9f(0x1d0)]());}var _0xfa79b9=function(){const _0x1e9b30=_0x5f57e0;return _0xfa79b9=Object[_0x1e9b30(0x192)]||function(_0x4bc706){const _0x400fe4=_0x1e9b30;for(var _0x2b5066,_0x238205=0x1,_0x5aecf0=arguments[_0x400fe4(0x11d)];_0x238205<_0x5aecf0;_0x238205++){_0x2b5066=arguments[_0x238205];for(var _0x21a511 in _0x2b5066)Object[_0x400fe4(0x139)][_0x400fe4(0x242)][_0x400fe4(0x297)](_0x2b5066,_0x21a511)&&(_0x4bc706[_0x21a511]=_0x2b5066[_0x21a511]);}return _0x4bc706;},_0xfa79b9['apply'](this,arguments);},_0x47affb=function(_0x4e1bdf,_0x529866){const _0x9bb0c6=_0x5f57e0;var _0x20f1c1={};for(var _0x4b6347 in _0x4e1bdf)Object[_0x9bb0c6(0x139)][_0x9bb0c6(0x242)][_0x9bb0c6(0x297)](_0x4e1bdf,_0x4b6347)&&_0x529866[_0x9bb0c6(0x225)](_0x4b6347)<0x0&&(_0x20f1c1[_0x4b6347]=_0x4e1bdf[_0x4b6347]);if(_0x4e1bdf!=null&&typeof Object[_0x9bb0c6(0x188)]==_0x9bb0c6(0x17c)){for(var _0x476585=0x0,_0x4b6347=Object[_0x9bb0c6(0x188)](_0x4e1bdf);_0x476585<_0x4b6347[_0x9bb0c6(0x11d)];_0x476585++)_0x529866[_0x9bb0c6(0x225)](_0x4b6347[_0x476585])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x9bb0c6(0x297)](_0x4e1bdf,_0x4b6347[_0x476585])&&(_0x20f1c1[_0x4b6347[_0x476585]]=_0x4e1bdf[_0x4b6347[_0x476585]]);}return _0x20f1c1;},_0x5cea82=_0x2df17b[_0x5f57e0(0x17b)](function(_0x31421e,_0x2d5148){const _0x747578=_0x5f57e0;var _0x518d04=_0x31421e[_0x747578(0x12a)],_0x473976=_0x31421e['id'],_0x5add27=_0x31421e['className'],_0x46918e=_0x31421e[_0x747578(0x133)],_0x20e1b7=_0x47affb(_0x31421e,[_0x747578(0x12a),'id',_0x747578(0x379),_0x747578(0x133)]),_0x401c3b=_0x747578(0x20f)[_0x747578(0x1be)](_0x473976,'\x20')[_0x747578(0x1be)](_0x5add27||'')[_0x747578(0xf4)](),_0x479624=_0x2df17b[_0x747578(0x1fa)]('_'[_0x747578(0x1be)](_0x8dee41()));return _0x24ad4f(_0x518d04,''[_0x747578(0x1be)](_0x473976),{'defIds':_0x518d04[_0x747578(0x353)],'idSuffix':_0x479624[_0x747578(0x182)]},_0xfa79b9({'ref':_0x2d5148,'className':_0x401c3b},_0x20e1b7),_0x46918e);});function _0x24ad4f(_0x2a01f3,_0x3de655,_0x2eebde,_0x172c23,_0x197278){const _0x2aef85=_0x5f57e0;return _0x2df17b[_0x2aef85(0x237)](_0x2a01f3[_0x2aef85(0x143)],_0xfa79b9(_0xfa79b9({'key':_0x3de655},_0xe1b5da(_0x2a01f3,_0x2eebde,_0x197278)),_0x172c23),(_0x535b32(_0x2a01f3,_0x2eebde)[_0x2aef85(0x2bc)]||[])['map'](function(_0x36b237,_0xe6fd71){const _0x2b54ac=_0x2aef85;return _0x24ad4f(_0x36b237,''[_0x2b54ac(0x1be)](_0x3de655,'-')[_0x2b54ac(0x1be)](_0x2a01f3[_0x2b54ac(0x143)],'-')['concat'](_0xe6fd71),_0x2eebde,void 0x0,_0x197278);}));}function _0xe1b5da(_0x4d3487,_0x884b48,_0x5ee0be){const _0x1bea45=_0x5f57e0;var _0x12105c=_0xfa79b9({},_0x4d3487[_0x1bea45(0x114)]);_0x5ee0be!=null&&_0x5ee0be['colorChannel1']&&_0x12105c['fill']===_0x1bea45(0x1d1)&&(_0x12105c[_0x1bea45(0x214)]=_0x5ee0be[_0x1bea45(0x1d1)]),_0x4d3487['tag']===_0x1bea45(0x318)&&_0x12105c['id']&&(_0x12105c['id']=_0x12105c['id']+_0x884b48[_0x1bea45(0x2df)]),Object[_0x1bea45(0x27e)](_0x12105c)['forEach'](function(_0x55ce0e){const _0x1a5dab=_0x1bea45;var _0x186e47=_0x55ce0e[0x0],_0x502312=_0x55ce0e[0x1];_0x186e47===_0x1a5dab(0x318)&&typeof _0x502312=='string'&&(_0x12105c[_0x186e47]=_0x502312['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1a5dab(0x1be)](_0x884b48['idSuffix'],')')));});var _0x5ed4ad=_0x884b48[_0x1bea45(0x353)];return!_0x5ed4ad||_0x5ed4ad['length']===0x0||(_0x4d3487['tag']===_0x1bea45(0x26d)&&_0x12105c[_0x1bea45(0x205)]&&(_0x12105c[_0x1bea45(0x205)]=_0x12105c[_0x1bea45(0x205)]+_0x884b48[_0x1bea45(0x2df)]),Object['entries'](_0x12105c)['forEach'](function(_0x4f3437){const _0x2c3a15=_0x1bea45;var _0x3ca91a=_0x4f3437[0x0],_0x1c528b=_0x4f3437[0x1];typeof _0x1c528b==_0x2c3a15(0x24c)&&(_0x12105c[_0x3ca91a]=_0x1c528b[_0x2c3a15(0x326)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x884b48['idSuffix'],')')));})),_0x12105c;}function _0x535b32(_0xb8a9ed,_0x3a5ca4){const _0x421ae4=_0x5f57e0;var _0x5665ae,_0x3297b9=_0x3a5ca4['defIds'];return!_0x3297b9||_0x3297b9['length']===0x0?_0xb8a9ed:_0xb8a9ed[_0x421ae4(0x143)]==='defs'&&(!((_0x5665ae=_0xb8a9ed[_0x421ae4(0x2bc)])===null||_0x5665ae===void 0x0)&&_0x5665ae['length'])?_0xfa79b9(_0xfa79b9({},_0xb8a9ed),{'children':_0xb8a9ed[_0x421ae4(0x2bc)]['map'](function(_0x11d914){const _0x38ce50=_0x421ae4;return typeof _0x11d914[_0x38ce50(0x114)]['id']==_0x38ce50(0x24c)&&_0x3297b9&&_0x3297b9[_0x38ce50(0x225)](_0x11d914[_0x38ce50(0x114)]['id'])>-0x1?_0xfa79b9(_0xfa79b9({},_0x11d914),{'attrs':_0xfa79b9(_0xfa79b9({},_0x11d914[_0x38ce50(0x114)]),{'id':_0x11d914['attrs']['id']+_0x3a5ca4[_0x38ce50(0x2df)]})}):_0x11d914;})}):_0xb8a9ed;}function _0x8dee41(){const _0x524fd8=_0x5f57e0;return Math['random']()[_0x524fd8(0x1c1)](0x24)[_0x524fd8(0x18f)](0x2,0x8);}_0x5cea82['displayName']=_0x5f57e0(0x213);var _0x548740={'tag':'svg','attrs':{'fill':_0x5f57e0(0x198),'viewBox':'0\x200\x2016\x2016','width':_0x5f57e0(0x362),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5f57e0(0x2fe)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'stroke':_0x5f57e0(0x111),'d':_0x5f57e0(0x193),'strokeLinecap':_0x5f57e0(0x2ff),'strokeLinejoin':_0x5f57e0(0x2ff),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5f57e0(0x18b),'attrs':{'id':_0x5f57e0(0x2e1)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'fill':_0x5f57e0(0x151),'d':_0x5f57e0(0x2e3)}}]}]}],'defIds':[_0x5f57e0(0x2e1)]},_0x2442f5=_0x2df17b[_0x5f57e0(0x17b)](function(_0x51fbc9,_0x4e837b){const _0x3cdd23=_0x5f57e0;return _0x2df17b[_0x3cdd23(0x237)](_0x5cea82,Object[_0x3cdd23(0x192)]({},_0x51fbc9,{'id':_0x3cdd23(0x30d),'ref':_0x4e837b,'icon':_0x548740}));});_0x2442f5[_0x5f57e0(0x31d)]=_0x5f57e0(0x234);var _0x298cca={'tag':'svg','attrs':{'fill':_0x5f57e0(0x198),'viewBox':'0\x200\x2017\x2016','width':_0x5f57e0(0x362),'height':_0x5f57e0(0x362)},'children':[{'tag':'g','attrs':{'clipPath':_0x5f57e0(0x211)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'stroke':_0x5f57e0(0x111),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x5f57e0(0x2ff),'strokeWidth':1.2}}]},{'tag':_0x5f57e0(0x255),'attrs':{},'children':[{'tag':_0x5f57e0(0x18b),'attrs':{'id':_0x5f57e0(0x32c)},'children':[{'tag':_0x5f57e0(0x1df),'attrs':{'fill':'#fff','d':_0x5f57e0(0x2e3),'transform':_0x5f57e0(0x2bd)}}]}]}],'defIds':[_0x5f57e0(0x32c)]},_0x35ee92=_0x2df17b['forwardRef'](function(_0x36ce08,_0x4bdfaf){const _0x41533e=_0x5f57e0;return _0x2df17b[_0x41533e(0x237)](_0x5cea82,Object[_0x41533e(0x192)]({},_0x36ce08,{'id':_0x41533e(0x224),'ref':_0x4bdfaf,'icon':_0x298cca}));});_0x35ee92['displayName']=_0x5f57e0(0x2fa);function _0x1d8a9e(_0xb7bc1){const _0x1e6f78=_0x5f57e0;switch(_0xb7bc1){case _0x2df1a4[_0x1e6f78(0x315)]['OFFLINE']:return _0x1e6f78(0x316);case _0x2df1a4[_0x1e6f78(0x315)]['CONFLICT']:return'collabStatus.conflict';case _0x2df1a4['CollaborationStatus']['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x126)]:return _0x1e6f78(0x311);case _0x2df1a4[_0x1e6f78(0x315)]['AWAITING']:case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x2d1)]:return _0x1e6f78(0x260);case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x120)]:case _0x2df1a4[_0x1e6f78(0x315)][_0x1e6f78(0x26b)]:return'collabStatus.synced';}}function _0x231942(_0x559f59){const _0x2278af=_0x5f57e0,{status$:_0x313d4f}=_0x559f59,_0x29ca6a=_0x3c81ed[_0x2278af(0x121)](_0x313d4f,_0x2df1a4[_0x2278af(0x315)][_0x2278af(0x126)]),_0x41ab58=_0x3c81ed[_0x2278af(0x202)](_0x325bbf[_0x2278af(0x13a)]),_0x52a2d6=_0x3c81ed[_0x2278af(0x202)](_0x2df1a4['CollaborationSessionService']),_0x88ced7=_0x29ca6a!==_0x2df1a4[_0x2278af(0x315)][_0x2278af(0x1f9)],_0x24916a=_0x41ab58['t'](_0x1d8a9e(_0x29ca6a)),_0x4e1278=_0x88ced7?_0x4fa0e0[_0x2278af(0x197)](_0x35ee92,{}):_0x4fa0e0[_0x2278af(0x197)](_0x2442f5,{}),_0x20453a=_0x2df17b[_0x2278af(0x348)](()=>{const _0x1da2b8=_0x2278af;_0x88ced7||_0x52a2d6[_0x1da2b8(0x1fc)]();},[_0x88ced7,_0x52a2d6]);function _0x3057be(){const _0x1d3427=_0x2278af;return _0x4fa0e0[_0x1d3427(0x29c)](_0x1d3427(0x2de),{'className':_0x1d3427(0x273),'onClick':_0x20453a,'children':[_0x4fa0e0[_0x1d3427(0x197)](_0x1d3427(0x2de),{'className':_0x4629c9[_0x1d3427(0x336)](_0x1d3427(0x2e7),{'univer-text-green-500':_0x88ced7,'univer-text-red-500':!_0x88ced7}),'children':_0x4e1278}),_0x4fa0e0[_0x1d3427(0x197)](_0x1d3427(0x2de),{'className':_0x1d3427(0x274),'children':_0x24916a})]});}return _0x88ced7?_0x3057be():_0x4fa0e0[_0x2278af(0x197)](_0x4629c9['Tooltip'],{'title':_0x41ab58['t'](_0x2278af(0x2da)),'children':_0x3057be()});}var _0xddc11e=Object['getOwnPropertyDescriptor'],_0x29bbbc=(_0x54de1a,_0x57e4f4,_0x38223f,_0xe1b2f2)=>{for(var _0x20c6fe=_0xe1b2f2>0x1?void 0x0:_0xe1b2f2?_0xddc11e(_0x57e4f4,_0x38223f):_0x57e4f4,_0x487281=_0x54de1a['length']-0x1,_0x627bf4;_0x487281>=0x0;_0x487281--)(_0x627bf4=_0x54de1a[_0x487281])&&(_0x20c6fe=_0x627bf4(_0x20c6fe)||_0x20c6fe);return _0x20c6fe;},_0x40ae5a=(_0x3d342d,_0x52f2ac)=>(_0x21b80c,_0x437bc7)=>_0x52f2ac(_0x21b80c,_0x437bc7,_0x3d342d);_0x51bd02['DesktopCollaborationStatusDisplayController']=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x41c405,_0x1a695f,_0xc8b3f0,_0x40c924){const _0x5f0a36=_0x5f57e0;super(),_0x30fb67(this,'_status$',new _0x4aa5c5[(_0x5f0a36(0x22b))](_0x2df1a4[_0x5f0a36(0x315)][_0x5f0a36(0x126)])),(this[_0x5f0a36(0x22d)]=_0x41c405,this['_injector']=_0x1a695f,this[_0x5f0a36(0x19c)]=_0xc8b3f0,this[_0x5f0a36(0x2f0)]=_0x40c924,this[_0x5f0a36(0x1c0)](),this[_0x5f0a36(0x339)]());}[_0x5f57e0(0x339)](){const _0x4d6541=_0x5f57e0;this[_0x4d6541(0x295)](this['_univerInstanceService'][_0x4d6541(0x23c)][_0x4d6541(0x150)](_0x4aa5c5[_0x4d6541(0x345)](()=>{const _0x3b42ea=_0x4d6541,_0x136f74=this[_0x3b42ea(0x22d)]['getFocusedUnit']();return _0x136f74?this[_0x3b42ea(0x19c)]['getCollabEntity$'](_0x136f74[_0x3b42ea(0x285)]()):_0x4aa5c5['of'](null);}),_0x4aa5c5['switchMap'](_0x3c168a=>_0x3c168a?_0x3c168a[_0x4d6541(0x332)]:_0x4aa5c5['of'](_0x2df1a4[_0x4d6541(0x315)][_0x4d6541(0x126)])))['subscribe'](_0x37d087=>{const _0x4177f9=_0x4d6541;this[_0x4177f9(0x1b4)][_0x4177f9(0x267)](_0x37d087);}));}[_0x5f57e0(0x1c0)](){const _0x414abc=_0x5f57e0;this[_0x414abc(0x295)](this[_0x414abc(0x2f0)][_0x414abc(0x34f)](_0x3c81ed[_0x414abc(0x35b)]['HEADER_MENU'],()=>_0x3c81ed[_0x414abc(0x18d)](_0x1c6a41({'status$':this[_0x414abc(0x1b4)][_0x414abc(0x1f6)]()}),this[_0x414abc(0x363)])));}},_0x51bd02['DesktopCollaborationStatusDisplayController']=_0x29bbbc([_0x40ae5a(0x0,_0x325bbf['IUniverInstanceService']),_0x40ae5a(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x40ae5a(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x19d)])),_0x40ae5a(0x3,_0x3c81ed[_0x5f57e0(0xef)])],_0x51bd02[_0x5f57e0(0x118)]);function _0x1c6a41(_0x36d970){const {status$:_0x517f56}=_0x36d970;return function(){return _0x4fa0e0['jsx'](_0x231942,{'status$':_0x517f56});};}var _0x18da4e=Object[_0x5f57e0(0x12d)],_0x38b70c=(_0x55414a,_0xf8c9c8,_0xa2bfff,_0x26fcf0)=>{const _0x1a8a2a=_0x5f57e0;for(var _0x53c715=_0x26fcf0>0x1?void 0x0:_0x26fcf0?_0x18da4e(_0xf8c9c8,_0xa2bfff):_0xf8c9c8,_0x5f4bbc=_0x55414a[_0x1a8a2a(0x11d)]-0x1,_0x8a58ea;_0x5f4bbc>=0x0;_0x5f4bbc--)(_0x8a58ea=_0x55414a[_0x5f4bbc])&&(_0x53c715=_0x8a58ea(_0x53c715)||_0x53c715);return _0x53c715;},_0x5b9281=(_0x1e3851,_0x44981b)=>(_0x50e194,_0xe13c60)=>_0x44981b(_0x50e194,_0xe13c60,_0x1e3851);let _0x22e23a=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x36278e,_0x3b27d7,_0x826007,_0x2a3b8b,_0x70f2cc,_0x1551d9){const _0x443e32=_0x5f57e0;super(),this['_beforeCloseService']=_0x36278e,this[_0x443e32(0xff)]=_0x3b27d7,this[_0x443e32(0x2ac)]=_0x826007,this[_0x443e32(0x24a)]=_0x2a3b8b,this[_0x443e32(0x26e)]=_0x70f2cc,this['_localeService']=_0x1551d9,this[_0x443e32(0x1bb)](),this[_0x443e32(0x1ed)]();}['_setupBeforeClosingHandler'](){const _0x56ee0b=_0x5f57e0;this[_0x56ee0b(0x295)](this[_0x56ee0b(0x2c6)][_0x56ee0b(0x1bc)](()=>{const _0x245657=_0x56ee0b;if(this[_0x245657(0xff)]['saveTaskMap'][_0x245657(0x252)])return this[_0x245657(0x15f)]['t'](_0x245657(0x356));}));}[_0x5f57e0(0x1ed)](){const _0x2b044a=_0x5f57e0;this['disposeWithMe'](this[_0x2b044a(0x2ac)]['event$'][_0x2b044a(0x14f)](_0x1c14e1=>{const _0x377876=_0x2b044a;_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x2d9)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9['MessageType'][_0x377876(0x1e3)],'content':this['_localeService']['t'](_0x377876(0x1de))}),_0x1c14e1['id']===_0x2df1a4['CollaborationUIEventId'][_0x377876(0x302)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9['MessageType'][_0x377876(0x1e3)],'content':this[_0x377876(0x15f)]['t'](_0x377876(0x31e))}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x248)]&&this['_notificationService'][_0x377876(0x190)]({'title':this[_0x377876(0x15f)]['t'](_0x377876(0x1dd)),'content':this[_0x377876(0x15f)]['t'](_0x377876(0x186)),'type':'error','duration':0x0}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x13b)]&&this[_0x377876(0x24a)]['show']({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x209)],'content':this[_0x377876(0x15f)]['t']('collaboration.closeRoom')+'('+_0x1c14e1[_0x377876(0x19e)]+')'}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x31a)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9['MessageType'][_0x377876(0x1e3)],'content':this[_0x377876(0x15f)]['t'](_0x1c14e1[_0x377876(0x19e)]||'')}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x2bf)]&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x1e3)],'content':this[_0x377876(0x15f)]['t']('session.will-retry')}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)]['SOCKET_FAILED']&&this[_0x377876(0x24a)][_0x377876(0x190)]({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x209)],'content':this[_0x377876(0x15f)]['t'](_0x377876(0xf3))}),_0x1c14e1['id']===_0x2df1a4[_0x377876(0x194)][_0x377876(0x29a)]&&this[_0x377876(0x24a)]['show']({'type':_0x4629c9[_0x377876(0x10f)][_0x377876(0x209)],'content':this[_0x377876(0x15f)]['t'](_0x377876(0x36a))});}));}};_0x22e23a=_0x38b70c([_0x5b9281(0x0,_0x3c81ed['IBeforeCloseService']),_0x5b9281(0x1,_0x2df1a4[_0x5f57e0(0x170)]),_0x5b9281(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x138)])),_0x5b9281(0x3,_0x3c81ed[_0x5f57e0(0x292)]),_0x5b9281(0x4,_0x3c81ed['INotificationService']),_0x5b9281(0x5,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x13a)]))],_0x22e23a);const _0x337665='collaboration-client-ui.config',_0x299f3a={},_0x12b429=_0x325bbf['createIdentifier'](_0x5f57e0(0x235));var _0x5c535a=Object['getOwnPropertyDescriptor'],_0x5cfb16=(_0x1d4e2d,_0x55d498,_0x14b40e,_0x2b7592)=>{const _0x251812=_0x5f57e0;for(var _0x4af0a3=_0x2b7592>0x1?void 0x0:_0x2b7592?_0x5c535a(_0x55d498,_0x14b40e):_0x55d498,_0x44dee5=_0x1d4e2d[_0x251812(0x11d)]-0x1,_0x421431;_0x44dee5>=0x0;_0x44dee5--)(_0x421431=_0x1d4e2d[_0x44dee5])&&(_0x4af0a3=_0x421431(_0x4af0a3)||_0x4af0a3);return _0x4af0a3;},_0x1e9565=(_0x26bdbc,_0x66d319)=>(_0x1cdf8d,_0x21e1f3)=>_0x66d319(_0x1cdf8d,_0x21e1f3,_0x26bdbc);_0x51bd02[_0x5f57e0(0x309)]=class extends _0x325bbf[_0x5f57e0(0x305)]{constructor(_0xb6e125,_0x525d50,_0x2816c0,_0x101b19,_0x5bc345){const _0x2dab6a=_0x5f57e0;super(),this[_0x2dab6a(0x17e)]=_0xb6e125,this[_0x2dab6a(0x371)]=_0x525d50,this[_0x2dab6a(0x37e)]=_0x2816c0,this[_0x2dab6a(0x1cf)]=_0x101b19,_0x5bc345?_0x5bc345==null||_0x5bc345[_0x2dab6a(0xfb)]()[_0x2dab6a(0x359)](()=>this['_init']()):(this[_0x2dab6a(0x371)][_0x2dab6a(0x1a4)](_0x2dab6a(0x21b),_0x2dab6a(0x250)),this['_init']());}async[_0x5f57e0(0x364)](){const _0x5329e6=_0x5f57e0,_0x3fff33=this['_urlService'][_0x5329e6(0x17d)](_0x5329e6(0x29f)),_0x2d396f=this[_0x5329e6(0x17e)]['getParam'](_0x5329e6(0x325)),_0x12cd89=this[_0x5329e6(0x17e)]['getParam'](_0x5329e6(0x180));if(!_0x3fff33||!_0x2d396f){this[_0x5329e6(0x371)][_0x5329e6(0x1a4)](_0x5329e6(0x21b),_0x5329e6(0x2cf));return;}const _0x3540c2=await this[_0x5329e6(0x1cf)][_0x5329e6(0x22f)](_0x3fff33,Number(_0x2d396f),_0x12cd89);_0x3540c2&&_0x3540c2 instanceof _0x325bbf[_0x5329e6(0x28e)]&&this[_0x5329e6(0x342)](_0x3540c2);}async[_0x5f57e0(0x342)](_0x4f6ab2){const _0x44b55a=_0x5f57e0;await this[_0x44b55a(0x123)](_0x4f6ab2),_0x4f6ab2[_0x44b55a(0x203)]['pipe'](_0x4aa5c5[_0x44b55a(0x320)](this[_0x44b55a(0x2e4)]))[_0x44b55a(0x14f)](_0x2d6bf4=>{const _0x5afc47=_0x44b55a;_0x2d6bf4&&this[_0x5afc47(0x370)](_0x2d6bf4);}),this[_0x44b55a(0x17e)][_0x44b55a(0x373)]['pipe'](_0x4aa5c5['takeUntil'](this[_0x44b55a(0x2e4)]))[_0x44b55a(0x14f)](()=>this[_0x44b55a(0x123)](_0x4f6ab2));}[_0x5f57e0(0x370)](_0x13f932,_0x3f538b=!0x1){const _0x13b6f8=_0x5f57e0,_0x56eeab=this[_0x13b6f8(0x17e)][_0x13b6f8(0x17d)](_0x13b6f8(0x180));_0x13f932[_0x13b6f8(0x34b)]()!==_0x56eeab&&this[_0x13b6f8(0x17e)]['setParam'](_0x13b6f8(0x180),_0x13f932[_0x13b6f8(0x34b)](),_0x3f538b);}async[_0x5f57e0(0x123)](_0x1191cd){const _0x90c987=_0x5f57e0;var _0xa64ab;const _0x1f8ec8=this[_0x90c987(0x17e)][_0x90c987(0x17d)]('subunit');if(!_0x1f8ec8||!_0x1191cd[_0x90c987(0x117)](_0x1f8ec8)){const _0x2a84f1=_0x1191cd['getUnhiddenWorksheets']()[0x0],_0x1ba7a3=_0x1191cd['getSheetBySheetId'](_0x2a84f1);if(!_0x1ba7a3)return;this[_0x90c987(0x370)](_0x1ba7a3,!0x0),await this[_0x90c987(0x37e)][_0x90c987(0x146)](_0x3327a2[_0x90c987(0x2dd)]['id'],{'unitId':_0x1191cd[_0x90c987(0x285)](),'subUnitId':_0x2a84f1});return;}((_0xa64ab=_0x1191cd['getActiveSheet']())==null?void 0x0:_0xa64ab[_0x90c987(0x34b)]())!==_0x1f8ec8&&await this[_0x90c987(0x37e)][_0x90c987(0x146)](_0x3327a2['SetWorksheetActivateCommand']['id'],{'unitId':_0x1191cd[_0x90c987(0x285)](),'subUnitId':_0x1f8ec8});}},_0x51bd02[_0x5f57e0(0x309)]=_0x5cfb16([_0x1e9565(0x0,_0x12b429),_0x1e9565(0x1,_0x325bbf[_0x5f57e0(0x36e)]),_0x1e9565(0x2,_0x325bbf['ICommandService']),_0x1e9565(0x3,_0x325bbf['Inject'](_0x2df1a4[_0x5f57e0(0x21f)])),_0x1e9565(0x4,_0x325bbf['Optional'](_0x3d4470[_0x5f57e0(0x1ef)]))],_0x51bd02[_0x5f57e0(0x309)]);var _0x457be5=Object[_0x5f57e0(0x12d)],_0x3c315e=(_0x129fc1,_0x299714,_0x4cf4e5,_0x532228)=>{const _0x476322=_0x5f57e0;for(var _0x274df2=_0x532228>0x1?void 0x0:_0x532228?_0x457be5(_0x299714,_0x4cf4e5):_0x299714,_0x55f4b2=_0x129fc1[_0x476322(0x11d)]-0x1,_0x1b139d;_0x55f4b2>=0x0;_0x55f4b2--)(_0x1b139d=_0x129fc1[_0x55f4b2])&&(_0x274df2=_0x1b139d(_0x274df2)||_0x274df2);return _0x274df2;},_0x29aeed=(_0x254379,_0x8e77c7)=>(_0x2cee68,_0x4dcea8)=>_0x8e77c7(_0x2cee68,_0x4dcea8,_0x254379);let _0x399d56=class{constructor(_0x16bd04,_0x5d0ff5,_0x352327){const _0x124f99=_0x5f57e0;this[_0x124f99(0x363)]=_0x16bd04,this['_transformService']=_0x5d0ff5,this['_renderManagerService']=_0x352327;}[_0x5f57e0(0x279)](_0x10666d){const _0x22c957=_0x5f57e0;this['_transformUndoRedoStack'](_0x10666d),this[_0x22c957(0x145)](_0x10666d);}[_0x5f57e0(0x2a7)](_0x30476e){const _0x60b690=_0x5f57e0,{unitID:_0x535632}=_0x30476e,_0x1d5a15=this[_0x60b690(0x2c7)][_0x60b690(0x19f)](_0x535632)[_0x60b690(0x372)](_0x3aa08e[_0x60b690(0x351)]),{redoCache:_0x513463}=_0x1d5a15[_0x60b690(0x2f5)]();if(_0x513463[_0x60b690(0x11d)]===0x0)return _0x30476e;let _0x570f1b=_0x325bbf[_0x60b690(0xfa)][_0x60b690(0x18c)](_0x30476e[_0x60b690(0x17f)][0x0]);for(let _0x4a1f8c=0x0;_0x4a1f8c<_0x513463['length'];_0x4a1f8c++){const _0x104688={'id':'doc.mutation.rich-text-editing','params':{..._0x513463[_0x4a1f8c]}},_0xed1ee5=this[_0x60b690(0x1ca)]['transformMutation'](_0x570f1b,_0x104688,!0x1);if(_0x20753e['isTransformMutationFailure'](_0xed1ee5))throw _0xed1ee5[_0x60b690(0x220)];_0x570f1b=_0xed1ee5[_0x60b690(0x244)];}return{..._0x325bbf[_0x60b690(0xfa)][_0x60b690(0x18c)](_0x30476e),'mutations':[_0x570f1b]};}[_0x5f57e0(0x243)](_0x3fcb42){const _0x13a6c0=_0x5f57e0,{unitID:_0x246750}=_0x3fcb42,_0x498562=this[_0x13a6c0(0x2c7)][_0x13a6c0(0x19f)](_0x246750)[_0x13a6c0(0x372)](_0x3aa08e['DocIMEInputManagerService']),{undoCache:_0x4c34b5,redoCache:_0x4ec217}=_0x498562[_0x13a6c0(0x2f5)]();if(_0x4c34b5['length']===0x0||_0x4ec217[_0x13a6c0(0x11d)]===0x0)return;const _0x56c3cd=[],_0xcfbb4d=[];let _0x13b94e=_0x325bbf['Tools'][_0x13a6c0(0x18c)](_0x3fcb42[_0x13a6c0(0x17f)][0x0]),_0x2c13b4=_0x325bbf[_0x13a6c0(0xfa)][_0x13a6c0(0x18c)](_0x3fcb42[_0x13a6c0(0x17f)][0x0]);for(let _0x3c803e=_0x4c34b5['length']-0x1;_0x3c803e>=0x0;_0x3c803e--){const _0x5ec111={'id':_0x13a6c0(0xec),'params':{..._0x4c34b5[_0x3c803e]}},_0x24d49a={'id':_0x13a6c0(0xec),'params':{..._0x4ec217[_0x3c803e]}},_0x1fd359=this[_0x13a6c0(0x1ca)][_0x13a6c0(0x1e2)](_0x13b94e,_0x5ec111,!0x1),_0x5a3716=this[_0x13a6c0(0x1ca)]['transformMutation'](_0x2c13b4,_0x24d49a,!0x1);if(_0x20753e[_0x13a6c0(0x2a4)](_0x1fd359))throw _0x1fd359[_0x13a6c0(0x220)];if(_0x20753e[_0x13a6c0(0x2a4)](_0x5a3716))throw _0x5a3716[_0x13a6c0(0x220)];_0x56c3cd[_0x13a6c0(0x271)](_0x1fd359[_0x13a6c0(0x2b3)][_0x13a6c0(0x263)]),_0xcfbb4d['unshift'](_0x5a3716[_0x13a6c0(0x2b3)][_0x13a6c0(0x263)]),_0x13b94e=_0x1fd359[_0x13a6c0(0x244)],_0x2c13b4=_0x5a3716['m1Prime'];}_0x498562[_0x13a6c0(0x253)]({'undoCache':_0x56c3cd,'redoCache':_0xcfbb4d});}[_0x5f57e0(0x145)](_0x333f07){const _0x33473a=_0x5f57e0,{unitID:_0x463326}=_0x333f07,_0x3a502b=this[_0x33473a(0x2c7)][_0x33473a(0x19f)](_0x463326)['with'](_0x3aa08e[_0x33473a(0x351)]),_0xdc7e5=_0x3a502b['getActiveRange']();if(_0xdc7e5==null)return;const _0x41c7a0=[{'id':_0x33473a(0xec),'params':{'unitId':_0x333f07[_0x33473a(0x254)],'actions':null,'textRanges':[_0xdc7e5]}}],_0x49be44=this['_transformService']['transformMutationsWithChangeset'](_0x333f07,_0x41c7a0);if(!_0x20753e[_0x33473a(0x184)](_0x49be44))throw _0x49be44[_0x33473a(0x220)];const _0x3e9015=_0x49be44[_0x33473a(0x2b3)][0x0][_0x33473a(0x263)][_0x33473a(0x1f3)];Array[_0x33473a(0x32a)](_0x3e9015)&&_0x3e9015[_0x33473a(0x11d)]&&_0x3a502b[_0x33473a(0x322)](_0x3e9015[0x0]);}};_0x399d56=_0x3c315e([_0x29aeed(0x0,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x2c1)])),_0x29aeed(0x1,_0x20753e['ITransformService']),_0x29aeed(0x2,_0x1baa4a[_0x5f57e0(0x2cc)])],_0x399d56);var _0x2365e2=Object[_0x5f57e0(0x12d)],_0x484b6d=(_0x2dcb3b,_0x457ed1,_0x97d9e2,_0x5a970a)=>{const _0x577fd9=_0x5f57e0;for(var _0x555aa8=_0x5a970a>0x1?void 0x0:_0x5a970a?_0x2365e2(_0x457ed1,_0x97d9e2):_0x457ed1,_0x4932b1=_0x2dcb3b[_0x577fd9(0x11d)]-0x1,_0x1fee56;_0x4932b1>=0x0;_0x4932b1--)(_0x1fee56=_0x2dcb3b[_0x4932b1])&&(_0x555aa8=_0x1fee56(_0x555aa8)||_0x555aa8);return _0x555aa8;},_0x89f46a=(_0x19b241,_0x340912)=>(_0x182616,_0x30c721)=>_0x340912(_0x182616,_0x30c721,_0x19b241);let _0x1abca0=class{constructor(_0x20cef8,_0x4517fc,_0x14757e){const _0x51bf3c=_0x5f57e0;this['_injector']=_0x20cef8,this['_transformService']=_0x4517fc,this[_0x51bf3c(0x1e1)]=_0x14757e;}[_0x5f57e0(0x217)](_0x4bc46f){const _0x126f5b=_0x5f57e0;this[_0x126f5b(0x2a1)](_0x4bc46f);}[_0x5f57e0(0x2a7)](_0x36f717){const _0x1b94ec=_0x5f57e0,{unitID:_0x59fc6d}=_0x36f717,{collaboration:_0x2230b1}=this['_docStateChangeManagerService']['getStateCache'](_0x59fc6d);if(_0x2230b1[_0x1b94ec(0x11d)]===0x0)return _0x36f717;let _0x5c2278=_0x325bbf[_0x1b94ec(0xfa)]['deepClone'](_0x36f717['mutations'][0x0]);for(let _0x30750d=0x0;_0x30750d<_0x2230b1[_0x1b94ec(0x11d)];_0x30750d++){const _0x4df5e5={'id':_0x1b94ec(0xec),'params':{'unitId':_0x2230b1[_0x30750d][_0x1b94ec(0x15e)],..._0x2230b1[_0x30750d][_0x1b94ec(0xf2)]}},_0x408835=this[_0x1b94ec(0x1ca)][_0x1b94ec(0x1e2)](_0x5c2278,_0x4df5e5,!0x1);if(_0x20753e[_0x1b94ec(0x2a4)](_0x408835))throw _0x408835[_0x1b94ec(0x220)];_0x5c2278=_0x408835['m1Prime'];}return{..._0x325bbf['Tools'][_0x1b94ec(0x18c)](_0x36f717),'mutations':[_0x5c2278]};}['_transformHistoryAndStateStack'](_0x2071c4){const _0x4939c0=_0x5f57e0,{unitID:_0x51b8ef}=_0x2071c4,{history:_0x41f875,collaboration:_0x51ad77}=this[_0x4939c0(0x1e1)][_0x4939c0(0x128)](_0x51b8ef);if(_0x41f875['length']===0x0&&_0x51ad77[_0x4939c0(0x11d)]===0x0)return;const _0x111beb=[],_0x48475a=[];let _0x3761f5=_0x325bbf['Tools'][_0x4939c0(0x18c)](_0x2071c4['mutations'][0x0]),_0x1d7c08=_0x325bbf[_0x4939c0(0xfa)][_0x4939c0(0x18c)](_0x2071c4[_0x4939c0(0x17f)][0x0]);for(let _0x11e6bc=_0x41f875[_0x4939c0(0x11d)]-0x1;_0x11e6bc>=0x0;_0x11e6bc--){const _0x60d6cb={'id':_0x4939c0(0xec),'params':{'unitId':_0x41f875[_0x11e6bc][_0x4939c0(0x15e)],..._0x41f875[_0x11e6bc]['undoState']}},_0x41e3e2={'id':_0x4939c0(0xec),'params':{'unitId':_0x41f875[_0x11e6bc][_0x4939c0(0x15e)],..._0x41f875[_0x11e6bc]['redoState']}},_0x2fc056=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x3761f5,_0x60d6cb,!0x1),_0x1c1e18=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x1d7c08,_0x41e3e2,!0x1);if(_0x20753e[_0x4939c0(0x2a4)](_0x2fc056))throw _0x2fc056[_0x4939c0(0x220)];if(_0x20753e['isTransformMutationFailure'](_0x1c1e18))throw _0x1c1e18['error'];_0x111beb[_0x4939c0(0x271)]({..._0x41f875[_0x11e6bc],'undoState':_0x2fc056['m2Prime'][_0x4939c0(0x263)],'redoState':_0x1c1e18[_0x4939c0(0x2b3)][_0x4939c0(0x263)]}),_0x3761f5=_0x2fc056[_0x4939c0(0x244)],_0x1d7c08=_0x1c1e18[_0x4939c0(0x244)];}_0x3761f5=_0x325bbf['Tools'][_0x4939c0(0x18c)](_0x2071c4['mutations'][0x0]),_0x1d7c08=_0x325bbf[_0x4939c0(0xfa)][_0x4939c0(0x18c)](_0x2071c4[_0x4939c0(0x17f)][0x0]);for(let _0x2f3b76=_0x51ad77['length']-0x1;_0x2f3b76>=0x0;_0x2f3b76--){const _0x5060ed={'id':_0x4939c0(0xec),'params':{'unitId':_0x51ad77[_0x2f3b76][_0x4939c0(0x15e)],..._0x51ad77[_0x2f3b76][_0x4939c0(0x1c4)]}},_0x552e41={'id':_0x4939c0(0xec),'params':{'unitId':_0x51ad77[_0x2f3b76][_0x4939c0(0x15e)],..._0x51ad77[_0x2f3b76]['redoState']}},_0x3c5b62=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x3761f5,_0x5060ed,!0x1),_0x172ead=this[_0x4939c0(0x1ca)][_0x4939c0(0x1e2)](_0x1d7c08,_0x552e41,!0x1);if(_0x20753e[_0x4939c0(0x2a4)](_0x3c5b62))throw _0x3c5b62[_0x4939c0(0x220)];if(_0x20753e[_0x4939c0(0x2a4)](_0x172ead))throw _0x172ead[_0x4939c0(0x220)];_0x48475a[_0x4939c0(0x271)]({..._0x51ad77[_0x2f3b76],'undoState':_0x3c5b62['m2Prime']['params'],'redoState':_0x172ead[_0x4939c0(0x2b3)]['params']}),_0x3761f5=_0x3c5b62[_0x4939c0(0x244)],_0x1d7c08=_0x172ead[_0x4939c0(0x244)];}this[_0x4939c0(0x1e1)]['setStateCache'](_0x51b8ef,{'history':_0x111beb,'collaboration':_0x48475a});}};_0x1abca0=_0x484b6d([_0x89f46a(0x0,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x89f46a(0x1,_0x20753e[_0x5f57e0(0x10c)]),_0x89f46a(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x3aa08e[_0x5f57e0(0x11c)]))],_0x1abca0);var _0x328097=Object['getOwnPropertyDescriptor'],_0x4f97bf=(_0x171b12,_0x3a8845,_0x164c58,_0x2059ad)=>{const _0x183634=_0x5f57e0;for(var _0x2b51f4=_0x2059ad>0x1?void 0x0:_0x2059ad?_0x328097(_0x3a8845,_0x164c58):_0x3a8845,_0x336593=_0x171b12[_0x183634(0x11d)]-0x1,_0x6b8d97;_0x336593>=0x0;_0x336593--)(_0x6b8d97=_0x171b12[_0x336593])&&(_0x2b51f4=_0x6b8d97(_0x2b51f4)||_0x2b51f4);return _0x2b51f4;},_0x42da40=(_0x2793d9,_0x4cdba2)=>(_0xc218af,_0x14ecc0)=>_0x4cdba2(_0xc218af,_0x14ecc0,_0x2793d9);let _0x1fc096=class{constructor(_0x43194b,_0x2977cf){const _0x47bcdf=_0x5f57e0;this[_0x47bcdf(0x363)]=_0x43194b,this[_0x47bcdf(0x1ca)]=_0x2977cf;}[_0x5f57e0(0xfc)](_0x50b94e){const _0x23b032=_0x5f57e0;var _0x2f5562;const _0x12a413=this[_0x23b032(0x363)]['get'](_0x30a0a7['DocSelectionManagerService']),_0x39aab9=(_0x2f5562=_0x12a413[_0x23b032(0xf9)]())!=null?_0x2f5562:[];if(_0x39aab9[_0x23b032(0x11d)]===0x0)return;const _0xb0db28=_0x50b94e[_0x23b032(0x254)],_0xe9a55=[{'id':_0x23b032(0xec),'params':{'unitId':_0xb0db28,'actions':null,'textRanges':_0x39aab9}}],_0x3bdfce=this[_0x23b032(0x1ca)][_0x23b032(0x1ab)](_0x50b94e,_0xe9a55);if(!_0x20753e[_0x23b032(0x184)](_0x3bdfce))throw _0x3bdfce[_0x23b032(0x220)];const _0x309060=_0x3bdfce[_0x23b032(0x2b3)][0x0][_0x23b032(0x263)][_0x23b032(0x1f3)];Array['isArray'](_0x309060)&&_0x309060['length']&&_0x12a413[_0x23b032(0x278)](_0x309060,{'unitId':_0xb0db28,'subUnitId':_0xb0db28},!0x1);}};_0x1fc096=_0x4f97bf([_0x42da40(0x0,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x42da40(0x1,_0x20753e['ITransformService'])],_0x1fc096);var _0x16df46=Object[_0x5f57e0(0x12d)],_0x295e3e=(_0x3e58b0,_0x1d9429,_0x49e8f2,_0x2ad8f2)=>{const _0x43cd16=_0x5f57e0;for(var _0x6ee6c8=_0x2ad8f2>0x1?void 0x0:_0x2ad8f2?_0x16df46(_0x1d9429,_0x49e8f2):_0x1d9429,_0x631086=_0x3e58b0[_0x43cd16(0x11d)]-0x1,_0x59c731;_0x631086>=0x0;_0x631086--)(_0x59c731=_0x3e58b0[_0x631086])&&(_0x6ee6c8=_0x59c731(_0x6ee6c8)||_0x6ee6c8);return _0x6ee6c8;},_0x3cd8a6=(_0x167932,_0x32dd73)=>(_0x487eb6,_0x3e06ea)=>_0x32dd73(_0x487eb6,_0x3e06ea,_0x167932);let _0x4e14f0=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x3004dd,_0x4f9ea1,_0x966f2c,_0x54e1f6,_0x48d905,_0x330832,_0x50b04e,_0x5c8440){const _0x4d3508=_0x5f57e0;super(),_0x30fb67(this,'_status$',new _0x4aa5c5['BehaviorSubject'](_0x2df1a4['CollaborationStatus'][_0x4d3508(0x126)])),(this[_0x4d3508(0x1e1)]=_0x3004dd,this[_0x4d3508(0x19c)]=_0x4f9ea1,this['_docTransformIMECacheService']=_0x966f2c,this[_0x4d3508(0x177)]=_0x54e1f6,this['_docTransformSelectionsService']=_0x48d905,this[_0x4d3508(0x2e0)]=_0x330832,this['_messageService']=_0x50b04e,this[_0x4d3508(0x15f)]=_0x5c8440,this[_0x4d3508(0x21e)]());}[_0x5f57e0(0x21e)](){const _0xd77bb2=_0x5f57e0;this[_0xd77bb2(0x295)](this[_0xd77bb2(0x19c)][_0xd77bb2(0x115)][_0xd77bb2(0x14f)](_0x266ad9=>{const _0x18b75c=_0xd77bb2,_0x303d09=this[_0x18b75c(0x1e1)][_0x18b75c(0x360)][_0x18b75c(0x14f)](_0x4031ef=>{const _0x35100e=_0x18b75c;if(_0x4031ef==null)return;const {unitId:_0x3b5710,redoState:_0x2918bd,commandId:_0x4ea190}=_0x4031ef;if(_0x3b5710!==_0x266ad9[_0x35100e(0x254)])return;const _0x580731={'id':_0x4ea190,'type':_0x325bbf[_0x35100e(0x1d7)][_0x35100e(0x15d)],'params':{'unitId':_0x3b5710,'actions':_0x2918bd[_0x35100e(0x14a)],'textRanges':null}};_0x266ad9[_0x35100e(0x157)](_0x580731);});if(_0x266ad9[_0x18b75c(0x295)](_0x303d09),_0x266ad9 instanceof _0x2df1a4['DocCollaborationEntity']){const _0x530c03={'onTransformIME':_0x4240e1=>this[_0x18b75c(0x1f0)]['transformIMECache'](_0x4240e1),'onTransformState':_0x143728=>this[_0x18b75c(0x177)][_0x18b75c(0x217)](_0x143728),'onTransformSelections':_0x1e165c=>this[_0x18b75c(0x33b)]['transformSelections'](_0x1e165c),'onSyncEditingCollabCursor':_0x164b08=>this[_0x18b75c(0x2e0)][_0x18b75c(0x306)](_0x164b08),'onTransformRemoteChangesetByIMECache':_0x2313e6=>this[_0x18b75c(0x1f0)][_0x18b75c(0x2a7)](_0x2313e6),'onTransformRemoteChangesetByStateCache':_0x1842db=>this[_0x18b75c(0x177)][_0x18b75c(0x2a7)](_0x1842db)};_0x266ad9['addHandlerCallback'](_0x530c03);}}));}};_0x4e14f0=_0x295e3e([_0x3cd8a6(0x0,_0x325bbf[_0x5f57e0(0x333)](_0x3aa08e['DocStateChangeManagerService'])),_0x3cd8a6(0x1,_0x325bbf[_0x5f57e0(0x333)](_0x2df1a4[_0x5f57e0(0x19d)])),_0x3cd8a6(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x399d56)),_0x3cd8a6(0x3,_0x325bbf[_0x5f57e0(0x333)](_0x1abca0)),_0x3cd8a6(0x4,_0x325bbf[_0x5f57e0(0x333)](_0x1fc096)),_0x3cd8a6(0x5,_0x325bbf[_0x5f57e0(0x333)](_0x5526c9)),_0x3cd8a6(0x6,_0x3c81ed['IMessageService']),_0x3cd8a6(0x7,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x13a)]))],_0x4e14f0);var _0x5cb09e=Object[_0x5f57e0(0x12d)],_0x69802c=(_0x56be2d,_0x3bda86,_0x2af069,_0x465fac)=>{for(var _0x15bc2e=_0x465fac>0x1?void 0x0:_0x465fac?_0x5cb09e(_0x3bda86,_0x2af069):_0x3bda86,_0x325c27=_0x56be2d['length']-0x1,_0x3cd1a9;_0x325c27>=0x0;_0x325c27--)(_0x3cd1a9=_0x56be2d[_0x325c27])&&(_0x15bc2e=_0x3cd1a9(_0x15bc2e)||_0x15bc2e);return _0x15bc2e;},_0x5a728e=(_0x2478e2,_0x4f46dd)=>(_0x51e89b,_0x14333b)=>_0x4f46dd(_0x51e89b,_0x14333b,_0x2478e2);let _0x4128e5=class extends _0x325bbf['Disposable']{constructor(_0x33f838,_0x54f19a,_0x2378ce){const _0x341942=_0x5f57e0;super(),_0x30fb67(this,_0x341942(0x1a6),new Map()),_0x30fb67(this,_0x341942(0x239),new Map()),_0x30fb67(this,_0x341942(0x187),!0x1),(this['_configService']=_0x33f838,this[_0x341942(0x340)]=_0x54f19a,this[_0x341942(0x269)]=_0x2378ce);}[_0x5f57e0(0x2dc)](){const _0x511e21=_0x5f57e0;this[_0x511e21(0x187)]=!0x0;}['enableLocalCache'](){const _0x3db809=_0x5f57e0;this[_0x3db809(0x187)]=!0x1;}get[_0x5f57e0(0x1ea)](){return this['_saveTaskMap'];}[_0x5f57e0(0x124)](){const _0x21c1b6=_0x5f57e0;this[_0x21c1b6(0x33a)]()[_0x21c1b6(0x359)](()=>super[_0x21c1b6(0x124)]());}async[_0x5f57e0(0x358)](_0x22456a){const _0x4af270=_0x5f57e0;return this[_0x4af270(0x187)]?null:this['_localStorageService']['getItem'](_0x2df1a4[_0x4af270(0x251)](_0x22456a));}async['saveOfflineData'](_0x3ac895,_0x3ee5a5){const _0x5764e8=_0x5f57e0;return!!this[_0x5764e8(0x340)][_0x5764e8(0x154)](_0x3ac895,_0x3ee5a5);}[_0x5f57e0(0x196)](_0x2057ab,_0x191481,_0x1ed34e,_0xff30e2){const _0x259988=_0x5f57e0,_0x3801d2=this[_0x259988(0x269)][_0x259988(0x10d)](_0x2057ab);this[_0x259988(0x1a6)]['set'](_0x2057ab,{'unitID':_0x2057ab,'type':_0x191481,'awaitingChangeset':_0x1ed34e,'mutations':_0xff30e2,'rev':_0x3801d2}),this[_0x259988(0x239)]['has'](_0x2057ab)||this['_scheduleSaving'](_0x2057ab);}['_scheduleSaving'](_0x1a9cac){const _0x24c397=_0x5f57e0,_0x57ec8b=this['_getSaveTimeout']();_0x57ec8b===0x0?this[_0x24c397(0x2f7)](_0x1a9cac):this[_0x24c397(0x239)][_0x24c397(0x102)](_0x1a9cac,setTimeout(()=>this[_0x24c397(0x2f7)](_0x1a9cac),_0x57ec8b));}[_0x5f57e0(0x2e6)](){const _0x386de8=_0x5f57e0;var _0x3b0478;return(_0x3b0478=this[_0x386de8(0x330)][_0x386de8(0x1db)](_0x2df1a4[_0x386de8(0x2cd)]))!=null?_0x3b0478:_0x2df1a4[_0x386de8(0x2b9)];}[_0x5f57e0(0x2f7)](_0x20b68e){const _0x36233f=_0x5f57e0,_0x278b04=this['_saveTaskMap'][_0x36233f(0x2ed)](_0x20b68e);return _0x278b04!==void 0x0&&window[_0x36233f(0x272)](_0x278b04),this['_localStorageService'][_0x36233f(0x154)](_0x2df1a4['getLocalCacheKey'](_0x20b68e),this[_0x36233f(0x1a6)][_0x36233f(0x2ed)](_0x20b68e))[_0x36233f(0x359)](()=>this[_0x36233f(0x239)][_0x36233f(0x215)](_0x20b68e));}async[_0x5f57e0(0x33a)](){const _0x46f0bb=_0x5f57e0,_0x1e40b8=[];this['_saveTaskMap'][_0x46f0bb(0x1fb)]((_0xa22040,_0x3b7910)=>{const _0x15ce35=_0x46f0bb;window[_0x15ce35(0x272)](_0xa22040),_0x1e40b8['push'](this[_0x15ce35(0x2f7)](_0x3b7910)[_0x15ce35(0x359)](()=>{const _0x29a737=_0x15ce35;this['_saveTaskMap'][_0x29a737(0x215)](_0x3b7910);}));}),await Promise[_0x46f0bb(0x12f)](_0x1e40b8);}};_0x4128e5=_0x69802c([_0x5a728e(0x0,_0x325bbf[_0x5f57e0(0x13e)]),_0x5a728e(0x1,_0x325bbf[_0x5f57e0(0x1c2)]),_0x5a728e(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x20753e[_0x5f57e0(0x142)]))],_0x4128e5);class _0x325020 extends _0x325bbf[_0x5f57e0(0x305)]{constructor(){const _0x3695ca=_0x5f57e0;super(),_0x30fb67(this,_0x3695ca(0x373)),this['urlChange$']=_0x4aa5c5[_0x3695ca(0x2ad)](window,_0x3695ca(0x161))['pipe'](_0x4aa5c5[_0x3695ca(0x320)](this['dispose$']),_0x4aa5c5[_0x3695ca(0x21d)](0x1),_0x4aa5c5[_0x3695ca(0x2f4)](void 0x0));}['setParam'](_0x58c071,_0x2c4b10,_0x4e13d0=!0x1){const _0x5bf15b=_0x5f57e0,_0x2c341b=new URL(window[_0x5bf15b(0x1cb)]['href']);_0x2c341b[_0x5bf15b(0x327)]['set'](_0x58c071,_0x2c4b10),_0x4e13d0?window[_0x5bf15b(0xf8)][_0x5bf15b(0x1b6)]('','',_0x2c341b['toString']()):window[_0x5bf15b(0xf8)]['pushState']('','',_0x2c341b[_0x5bf15b(0x1c1)]());}[_0x5f57e0(0x19b)](_0x2e6a04,_0x3d7d57=!0x1){const _0x48c354=_0x5f57e0,_0x18e2ed=new URL(window[_0x48c354(0x1cb)][_0x48c354(0x355)]);_0x18e2ed['searchParams']['delete'](_0x2e6a04),_0x3d7d57?window[_0x48c354(0xf8)][_0x48c354(0x1b6)]('','',_0x18e2ed[_0x48c354(0x1c1)]()):window[_0x48c354(0xf8)][_0x48c354(0x185)]('','',_0x18e2ed['toString']());}[_0x5f57e0(0x17d)](_0x420d8c){const _0x14f4df=_0x5f57e0;var _0x42ada0;return(_0x42ada0=new URL(window[_0x14f4df(0x1cb)][_0x14f4df(0x355)])[_0x14f4df(0x327)][_0x14f4df(0x2ed)](_0x420d8c))!=null?_0x42ada0:void 0x0;}}var _0x561114=Object[_0x5f57e0(0x32f)],_0x4517cf=Object['getOwnPropertyDescriptor'],_0x54209f=(_0x1c11f8,_0xfb6417,_0x21157a)=>_0xfb6417 in _0x1c11f8?_0x561114(_0x1c11f8,_0xfb6417,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21157a}):_0x1c11f8[_0xfb6417]=_0x21157a,_0x3097af=(_0x1c7699,_0xb53de4,_0x133424,_0x3a9dcf)=>{for(var _0x371a64=_0x3a9dcf>0x1?void 0x0:_0x3a9dcf?_0x4517cf(_0xb53de4,_0x133424):_0xb53de4,_0x10a8ad=_0x1c7699['length']-0x1,_0x36cb91;_0x10a8ad>=0x0;_0x10a8ad--)(_0x36cb91=_0x1c7699[_0x10a8ad])&&(_0x371a64=_0x36cb91(_0x371a64)||_0x371a64);return _0x371a64;},_0x1d8121=(_0x12596d,_0x457619)=>(_0x309469,_0x17fabf)=>_0x457619(_0x309469,_0x17fabf,_0x12596d),_0x33e9d1=(_0x283b00,_0x40a5b8,_0x2fedbf)=>_0x54209f(_0x283b00,_0x40a5b8+'',_0x2fedbf);const _0x2dd8a9=_0x5f57e0(0x1f7);_0x51bd02['UniverCollaborationClientUIPlugin']=class extends _0x325bbf[_0x5f57e0(0x2ef)]{constructor(_0x477fca=_0x299f3a,_0x8dc383,_0x1c55f6,_0x2499a5){const _0x24f9d7=_0x5f57e0;super(),this[_0x24f9d7(0x317)]=_0x477fca,this[_0x24f9d7(0x2c7)]=_0x8dc383,this[_0x24f9d7(0x363)]=_0x1c55f6,this[_0x24f9d7(0x330)]=_0x2499a5;const {..._0x379cb5}=_0x325bbf[_0x24f9d7(0x32e)]({},_0x299f3a,this[_0x24f9d7(0x317)]);this[_0x24f9d7(0x330)][_0x24f9d7(0x229)](_0x337665,_0x379cb5);}[_0x5f57e0(0x100)](){const _0x2ed0ec=_0x5f57e0;this[_0x2ed0ec(0x277)](),this[_0x2ed0ec(0x1e9)]();}['onRendered'](){const _0x51f7f7=_0x5f57e0;this[_0x51f7f7(0x1f8)]();}[_0x5f57e0(0x277)](){const _0x5ac113=_0x5f57e0;var _0x4e765b;const _0x59d746=[[_0x59bb9d],[_0x1fc096],[_0x399d56],[_0x1abca0],[_0x5526c9],[_0x12b429,{'useClass':_0x325020}],[_0x16ff3c['ISocketService'],{'useClass':_0x16ff3c[_0x5ac113(0x33f)]}],[_0x2df1a4[_0x5ac113(0x170)],{'useClass':_0x4128e5}],[_0x51bd02[_0x5ac113(0x118)]],[_0x4e14f0],[_0x22e23a],[_0x2264e9],[_0x1808d0],[_0x51bd02[_0x5ac113(0x309)]]];_0x325bbf['registerDependencies'](this['_injector'],_0x325bbf[_0x5ac113(0x2e2)](_0x59d746,(_0x4e765b=this[_0x5ac113(0x317)])==null?void 0x0:_0x4e765b[_0x5ac113(0x1f2)]));}[_0x5f57e0(0x1f8)](){const _0x26e7ba=_0x5f57e0;this[_0x26e7ba(0x295)](this['_renderManagerService'][_0x26e7ba(0x240)](_0x325bbf[_0x26e7ba(0x1c6)][_0x26e7ba(0x367)],[_0x421646])),this[_0x26e7ba(0x295)](this[_0x26e7ba(0x2c7)]['registerRenderModule'](_0x325bbf[_0x26e7ba(0x1c6)]['UNIVER_SHEET'],[_0x567d02]));}[_0x5f57e0(0x1e9)](){const _0x3a6e47=_0x5f57e0;_0x325bbf[_0x3a6e47(0x1fd)](this[_0x3a6e47(0x363)],[[_0x2264e9],[_0x51bd02[_0x3a6e47(0x118)]],[_0x4e14f0],[_0x22e23a],[_0x51bd02[_0x3a6e47(0x309)]]]);}},_0x33e9d1(_0x51bd02[_0x5f57e0(0xf7)],_0x5f57e0(0x1d8),_0x2dd8a9),_0x51bd02['UniverCollaborationClientUIPlugin']=_0x3097af([_0x325bbf[_0x5f57e0(0x1c7)](_0x2df1a4['UniverCollaborationClientPlugin']),_0x1d8121(0x1,_0x1baa4a[_0x5f57e0(0x2cc)]),_0x1d8121(0x2,_0x325bbf[_0x5f57e0(0x333)](_0x325bbf[_0x5f57e0(0x2c1)])),_0x1d8121(0x3,_0x325bbf[_0x5f57e0(0x13e)])],_0x51bd02[_0x5f57e0(0xf7)]);var _0x234464=Object[_0x5f57e0(0x12d)],_0x31b5df=(_0x1b8f81,_0x2d1828,_0x34b773,_0x5962aa)=>{const _0x43352f=_0x5f57e0;for(var _0x1df90f=_0x5962aa>0x1?void 0x0:_0x5962aa?_0x234464(_0x2d1828,_0x34b773):_0x2d1828,_0x2d4725=_0x1b8f81[_0x43352f(0x11d)]-0x1,_0x5e87e8;_0x2d4725>=0x0;_0x2d4725--)(_0x5e87e8=_0x1b8f81[_0x2d4725])&&(_0x1df90f=_0x5e87e8(_0x1df90f)||_0x1df90f);return _0x1df90f;},_0x3c53f1=(_0x2e6366,_0xcbc26d)=>(_0x57e26a,_0x37667d)=>_0xcbc26d(_0x57e26a,_0x37667d,_0x2e6366);_0x51bd02[_0x5f57e0(0x149)]=class extends _0x2df1a4[_0x5f57e0(0x2c5)]{constructor(_0xcff5cb,_0x1f62a1,_0x26a028,_0x194669,_0x316782){super(_0xcff5cb,_0x1f62a1,_0x26a028,_0x194669,_0x316782);}async['createSocket'](_0x1474c9){const _0x2659a0=_0x5f57e0,_0x2161a2=await this[_0x2659a0(0x380)](),_0x3f0ab1=this[_0x2659a0(0x37b)](_0x1474c9,_0x2161a2);return this['_doCreateSocket'](_0x3f0ab1);}[_0x5f57e0(0x37b)](_0x36dff6,_0x342ad1){const _0x5b96e8=_0x5f57e0,_0x3aa693=typeof window>'u'?new URL(_0x36dff6):new URL(_0x36dff6,window[_0x5b96e8(0x1cb)][_0x5b96e8(0x15a)]);_0x3aa693[_0x5b96e8(0x327)][_0x5b96e8(0x102)](_0x5b96e8(0x313),_0x342ad1);const _0x43b6dc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5b96e8(0x1cb)][_0x5b96e8(0x1b1)]);return _0x43b6dc[_0x5b96e8(0x2ed)]('runId')&&_0x3aa693['searchParams']['set'](_0x5b96e8(0x15b),_0x43b6dc['get'](_0x5b96e8(0x15b))),_0x3aa693[_0x5b96e8(0x1c1)]();}async[_0x5f57e0(0x380)](){const _0x58c548=_0x5f57e0;var _0x40ba00,_0x60bb4,_0x552a58;const _0x527ad4=this[_0x58c548(0x330)]['getConfig'](_0x2df1a4[_0x58c548(0x176)]),_0x713081=(_0x40ba00=_0x527ad4==null?void 0x0:_0x527ad4[_0x58c548(0x195)])!=null?_0x40ba00:_0x2df1a4['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x552a58=(_0x60bb4=(await this[_0x58c548(0x2ce)][_0x58c548(0x2ed)](_0x713081,{'headers':{'Content-Type':'application/json'}}))[_0x58c548(0x2d3)])==null?void 0x0:_0x60bb4[_0x58c548(0x2ba)])!=null?_0x552a58:'';}},_0x51bd02[_0x5f57e0(0x149)]=_0x31b5df([_0x3c53f1(0x0,_0x325bbf['Inject'](_0x325bbf[_0x5f57e0(0x2c1)])),_0x3c53f1(0x1,_0x325bbf['Inject'](_0x16ff3c[_0x5f57e0(0x153)])),_0x3c53f1(0x2,_0x325bbf['IConfigService']),_0x3c53f1(0x3,_0x325bbf[_0x5f57e0(0x36e)]),_0x3c53f1(0x4,_0x20753e[_0x5f57e0(0x28c)])],_0x51bd02['BrowserCollaborationSocketService']);const _0x25037a=0x7530,_0x4ec738=_0x5f57e0(0x174);class _0x2032ec extends _0x325bbf['Disposable']{constructor(){const _0x2c3163=_0x5f57e0;super(),_0x30fb67(this,'_id',_0x325bbf[_0x2c3163(0x101)]()),_0x30fb67(this,_0x2c3163(0x2b4),new Set()),_0x30fb67(this,_0x2c3163(0xf1),new Map()),_0x30fb67(this,_0x2c3163(0x22c),null),_0x30fb67(this,_0x2c3163(0x30c),new Map()),_0x30fb67(this,_0x2c3163(0x1cd),new Map()),this[_0x2c3163(0x364)]();}[_0x5f57e0(0x124)](){const _0x17ef0f=_0x5f57e0;super[_0x17ef0f(0x124)](),this[_0x17ef0f(0x30c)][_0x17ef0f(0x1fb)]((_0x3c9d47,_0x29cda1)=>this[_0x17ef0f(0x172)](_0x29cda1)),this['_heartbeatTimer']&&window[_0x17ef0f(0x32b)](this[_0x17ef0f(0x22c)]);}[_0x5f57e0(0x2cb)](_0x3c8571){const _0xcafa3d=_0x5f57e0;return this['_ensureSubject'](_0x3c8571)[_0xcafa3d(0x150)](_0x4aa5c5[_0xcafa3d(0x331)]());}['editingUnit'](_0x46a31e){const _0x24a5e3=_0x5f57e0;this[_0x24a5e3(0x2b4)]['size']===0x0&&this[_0x24a5e3(0x35a)](),this[_0x24a5e3(0x2b4)][_0x24a5e3(0x2db)](_0x46a31e),this[_0x24a5e3(0x107)]({'type':0x0,'memberID':this[_0x24a5e3(0x155)],'unitIDs':[_0x46a31e],'isForwarded':!0x1});}[_0x5f57e0(0xfe)](_0x583f59){const _0x21900e=_0x5f57e0;this[_0x21900e(0x2b4)]['delete'](_0x583f59),this[_0x21900e(0x2b4)][_0x21900e(0x252)]===0x0&&this['_heartbeatTimer']&&window[_0x21900e(0x32b)](this[_0x21900e(0x22c)]);}[_0x5f57e0(0x364)](){const _0x2ed7e1=_0x5f57e0;this['disposeWithMe'](_0x325bbf[_0x2ed7e1(0x303)](_0x4aa5c5[_0x2ed7e1(0x2ad)](window,_0x2ed7e1(0x1ff))[_0x2ed7e1(0x14f)](_0x2547a8=>{const _0x595c5c=_0x2ed7e1;if(_0x2547a8['key']!==_0x4ec738||!_0x2547a8[_0x595c5c(0x1bf)])return;const _0x578260=JSON[_0x595c5c(0x290)](_0x2547a8[_0x595c5c(0x1bf)]);this[_0x595c5c(0x31b)](_0x578260);}))),window['addEventListener']('unload',()=>this[_0x2ed7e1(0x107)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2ed7e1(0x382)](this[_0x2ed7e1(0x2b4)])}));}[_0x5f57e0(0x31b)](_0x5605ad){const _0x4db477=_0x5f57e0;switch(_0x5605ad[_0x4db477(0x325)]){case 0x0:this[_0x4db477(0x284)](_0x5605ad);break;case 0x1:this[_0x4db477(0x33d)](_0x5605ad);break;case 0x2:this[_0x4db477(0x14e)](_0x5605ad);break;}}[_0x5f57e0(0x284)](_0x4d9fe8){const _0x83d66e=_0x5f57e0,{unitIDs:_0x3bd2df,memberID:_0x58f597,isForwarded:_0x13332f}=_0x4d9fe8;_0x3bd2df['forEach'](_0x63e4c8=>{const _0x3a1846=_0x304c;if(!_0x13332f&&this[_0x3a1846(0xf1)][_0x3a1846(0xf6)](_0x63e4c8)&&this[_0x3a1846(0x15c)](_0x63e4c8)[_0x3a1846(0x267)](_0x2df1a4[_0x3a1846(0x328)][_0x3a1846(0x2a5)]),!this[_0x3a1846(0xf1)][_0x3a1846(0xf6)](_0x63e4c8)||!this['_unitOnClients'][_0x3a1846(0x2ed)](_0x63e4c8)[_0x3a1846(0xf6)](_0x58f597)){const _0x4d539c=this['_unitOnClients']['get'](_0x63e4c8)||new Set();_0x4d539c[_0x3a1846(0x2db)](_0x58f597),this[_0x3a1846(0xf1)][_0x3a1846(0x102)](_0x63e4c8,_0x4d539c),this[_0x3a1846(0x24b)](_0x58f597);}}),_0x13332f||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x83d66e(0x2b4)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x42a18b){const _0x475e54=_0x5f57e0;this[_0x475e54(0x172)](_0x42a18b);const _0x176edf=window['setTimeout'](()=>{const _0x1cccd7=_0x475e54;this['_unitOnClients'][_0x1cccd7(0x1fb)](_0x390257=>{_0x390257['delete'](_0x42a18b);});},_0x25037a*0x2);this[_0x475e54(0x30c)]['set'](_0x42a18b,_0x176edf);}[_0x5f57e0(0x172)](_0xfcf5ed){const _0x53d9af=_0x5f57e0;if(this[_0x53d9af(0x30c)][_0x53d9af(0xf6)](_0xfcf5ed)){const _0x51d796=this['_clearOtherTimers']['get'](_0xfcf5ed);_0x51d796&&window[_0x53d9af(0x272)](_0x51d796),this['_clearOtherTimers']['set'](_0xfcf5ed,null);}}[_0x5f57e0(0x33d)](_0x447339){const _0x492ed2=_0x5f57e0,{memberID:_0x2fe381,unitIDs:_0xa72217}=_0x447339;_0xa72217[_0x492ed2(0x1fb)](_0x3c6a6a=>{const _0x575660=_0x492ed2;var _0xbd375e;const _0x41f9dd=this[_0x575660(0xf1)][_0x575660(0x2ed)](_0x3c6a6a);_0x41f9dd&&(_0x41f9dd[_0x575660(0x215)](_0x2fe381),(_0xbd375e=this[_0x575660(0x15c)](_0x3c6a6a))==null||_0xbd375e[_0x575660(0x267)](_0x41f9dd[_0x575660(0x252)]===0x0?_0x2df1a4['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x2df1a4[_0x575660(0x328)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x2fe381);}[_0x5f57e0(0x14e)](_0x46392e){const _0x1b8111=_0x5f57e0;this['_scheduleClearOtherTimer'](_0x46392e[_0x1b8111(0x17a)]);}[_0x5f57e0(0x107)](_0x3e952a){const _0x3344d3=_0x5f57e0;localStorage[_0x3344d3(0x154)](_0x4ec738,JSON[_0x3344d3(0x329)](_0x3e952a));}['_scheduleHeartbeat'](){const _0x55fd12=_0x5f57e0;this[_0x55fd12(0x22c)]=window[_0x55fd12(0x11a)](()=>{const _0x223f10=_0x55fd12;this[_0x223f10(0x107)]({'type':0x2,'memberID':this[_0x223f10(0x155)]});},_0x25037a);}[_0x5f57e0(0x15c)](_0x3f813a){const _0x1e3884=_0x5f57e0;return this['_unitStatus']['has'](_0x3f813a)||this[_0x1e3884(0x1cd)][_0x1e3884(0x102)](_0x3f813a,new _0x4aa5c5[(_0x1e3884(0x22b))](_0x2df1a4[_0x1e3884(0x328)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1e3884(0x1cd)]['get'](_0x3f813a);}}var _0x126932=(_0x4db543=>(_0x4db543[_0x4db543[_0x5f57e0(0x365)]=0x0]=_0x5f57e0(0x365),_0x4db543[_0x4db543['OK']=0x1]='OK',_0x4db543[_0x4db543['INTERNAL_ERROR']=0x2]=_0x5f57e0(0x1c5),_0x4db543[_0x4db543['PERMISSION_DENIED']=0x3]=_0x5f57e0(0x248),_0x4db543[_0x4db543[_0x5f57e0(0x2ec)]=0x4]=_0x5f57e0(0x2ec),_0x4db543[_0x4db543[_0x5f57e0(0x383)]=0x5]='UNAUTHENTICATED',_0x4db543[_0x4db543[_0x5f57e0(0x20c)]=0x6]=_0x5f57e0(0x20c),_0x4db543[_0x4db543[_0x5f57e0(0x238)]=0x7]='INVALID_ARGUMENT',_0x4db543[_0x4db543[_0x5f57e0(0x2f2)]=0x8]='TOO_MANY_REQUESTS',_0x4db543[_0x4db543[_0x5f57e0(0x1ae)]=0x9]=_0x5f57e0(0x1ae),_0x4db543[_0x4db543[_0x5f57e0(0x28d)]=0xa]=_0x5f57e0(0x28d),_0x4db543[_0x4db543[_0x5f57e0(0x226)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4db543[_0x4db543[_0x5f57e0(0x27f)]=0x1771]=_0x5f57e0(0x27f),_0x4db543[_0x4db543[_0x5f57e0(0x2ae)]=0x1772]=_0x5f57e0(0x2ae),_0x4db543[_0x4db543[_0x5f57e0(0x25b)]=0x1773]=_0x5f57e0(0x25b),_0x4db543[_0x4db543['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4db543[_0x4db543[_0x5f57e0(0x357)]=0x1b5a]=_0x5f57e0(0x357),_0x4db543[_0x4db543[_0x5f57e0(0x105)]=0x1b5b]=_0x5f57e0(0x105),_0x4db543[_0x4db543['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5f57e0(0x334),_0x4db543[_0x4db543[_0x5f57e0(0x1b2)]=0x1b5d]=_0x5f57e0(0x1b2),_0x4db543[_0x4db543['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4db543[_0x4db543[_0x5f57e0(0x301)]=0x2329]=_0x5f57e0(0x301),_0x4db543[_0x4db543[_0x5f57e0(0x241)]=0x232a]=_0x5f57e0(0x241),_0x4db543[_0x4db543['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5f57e0(0x335),_0x4db543[_0x4db543[_0x5f57e0(0x1d9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4db543[_0x4db543['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5f57e0(0x308),_0x4db543[_0x4db543['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5f57e0(0x293),_0x4db543[_0x4db543[_0x5f57e0(0x2f9)]=0x2712]=_0x5f57e0(0x2f9),_0x4db543[_0x4db543[_0x5f57e0(0x162)]=0x2713]=_0x5f57e0(0x162),_0x4db543[_0x4db543[_0x5f57e0(0x34c)]=0x2714]=_0x5f57e0(0x34c),_0x4db543[_0x4db543['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5f57e0(0x24d),_0x4db543[_0x4db543[_0x5f57e0(0x31f)]=0x271b]=_0x5f57e0(0x31f),_0x4db543[_0x4db543[_0x5f57e0(0x291)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4db543[_0x4db543[_0x5f57e0(0x366)]=0x271d]=_0x5f57e0(0x366),_0x4db543[_0x4db543['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x5f57e0(0x1f5),_0x4db543[_0x4db543[_0x5f57e0(0x259)]=0x271f]=_0x5f57e0(0x259),_0x4db543[_0x4db543[_0x5f57e0(0x288)]=0x2af9]=_0x5f57e0(0x288),_0x4db543[_0x4db543['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5f57e0(0x1ee),_0x4db543[_0x4db543[_0x5f57e0(0x1b3)]=0x2ee2]=_0x5f57e0(0x1b3),_0x4db543[_0x4db543[_0x5f57e0(0x191)]=0x2ee3]=_0x5f57e0(0x191),_0x4db543[_0x4db543[_0x5f57e0(0x256)]=0x2ee4]=_0x5f57e0(0x256),_0x4db543[_0x4db543['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5f57e0(0x1cc),_0x4db543[_0x4db543[_0x5f57e0(0x2b8)]=0x32c9]=_0x5f57e0(0x2b8),_0x4db543[_0x4db543[_0x5f57e0(0x2e5)]=0x32ca]=_0x5f57e0(0x2e5),_0x4db543[_0x4db543[_0x5f57e0(0x1e0)]=0x32cb]=_0x5f57e0(0x1e0),_0x4db543[_0x4db543['UNRECOGNIZED']=-0x1]=_0x5f57e0(0x319),_0x4db543))(_0x126932||{}),_0x25a807=Object[_0x5f57e0(0x12d)],_0x56ac91=(_0x3c17a3,_0x436d88,_0x573e69,_0x2e58f6)=>{const _0x9c9eea=_0x5f57e0;for(var _0x8a405d=_0x2e58f6>0x1?void 0x0:_0x2e58f6?_0x25a807(_0x436d88,_0x573e69):_0x436d88,_0x3f69dc=_0x3c17a3[_0x9c9eea(0x11d)]-0x1,_0x19eec9;_0x3f69dc>=0x0;_0x3f69dc--)(_0x19eec9=_0x3c17a3[_0x3f69dc])&&(_0x8a405d=_0x19eec9(_0x8a405d)||_0x8a405d);return _0x8a405d;},_0x159e8d=(_0x39f61c,_0x5a01d3)=>(_0x5a98e6,_0x265325)=>_0x5a01d3(_0x5a98e6,_0x265325,_0x39f61c);_0x51bd02[_0x5f57e0(0x2fd)]=class extends _0x325bbf[_0x5f57e0(0x32d)]{constructor(_0x84e8c1,_0x460df3,_0x9b8958){const _0x14d898=_0x5f57e0;super(),this[_0x14d898(0x304)]=_0x84e8c1,this[_0x14d898(0x2ce)]=_0x460df3,this[_0x14d898(0x330)]=_0x9b8958;}async[_0x5f57e0(0x2f8)](_0x598f5d,_0x5556dc,_0x5200a9,..._0x5faf52){const _0x3b5949=_0x5f57e0;var _0x613c55,_0x1d1995,_0x50a492,_0x36fce9;const _0x1c3058=this[_0x3b5949(0x304)][_0x3b5949(0x144)]();if(!_0x1c3058)throw new Error(_0x3b5949(0x140));const _0x257f89=((_0x613c55=this[_0x3b5949(0x330)][_0x3b5949(0x1db)](_0x2df1a4['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x613c55:_0x2df1a4[_0x3b5949(0x231)])+'/'+_0x598f5d+_0x3b5949(0x37c)+_0x5556dc,_0x486cdc=new URL(window[_0x3b5949(0x1cb)][_0x3b5949(0x355)]),_0x2d9b00={'scriptId':_0x598f5d,'runId':(_0x1d1995=_0x486cdc['searchParams']['get'](_0x3b5949(0x15b)))!=null?_0x1d1995:'','function':_0x5556dc,'unitId':_0x1c3058['getUnitId'](),'argsOfFunction':JSON[_0x3b5949(0x329)](_0x5faf52),'invokeId':(_0x50a492=_0x5200a9[_0x3b5949(0x20b)])!=null?_0x50a492:'','executionId':(_0x36fce9=_0x5200a9[_0x3b5949(0x2b7)])!=null?_0x36fce9:''};try{const _0x3e5eea=await this['_httpService'][_0x3b5949(0x2b1)](_0x257f89,{'body':_0x2d9b00});return _0x3e5eea['body'][_0x3b5949(0x220)]&&_0x3e5eea[_0x3b5949(0x2d3)][_0x3b5949(0x220)][_0x3b5949(0x26a)]!==_0x126932['OK']?_0x3b5949(0x206):_0x3e5eea[_0x3b5949(0x2d3)]['result'];}catch{return _0x3b5949(0x206);}}},_0x51bd02[_0x5f57e0(0x2fd)]=_0x56ac91([_0x159e8d(0x0,_0x325bbf['IUniverInstanceService']),_0x159e8d(0x1,_0x325bbf['Inject'](_0x16ff3c[_0x5f57e0(0x153)])),_0x159e8d(0x2,_0x325bbf[_0x5f57e0(0x13e)])],_0x51bd02[_0x5f57e0(0x2fd)]),_0x51bd02[_0x5f57e0(0x148)]=_0x231942,_0x51bd02[_0x5f57e0(0x23e)]=_0x12b429,_0x51bd02[_0x5f57e0(0x131)]=_0x3ac4f0,_0x51bd02[_0x5f57e0(0x354)]=_0x2032ec,_0x51bd02[_0x5f57e0(0x2a3)]=_0x325020,Object['defineProperty'](_0x51bd02,Symbol[_0x5f57e0(0x37a)],{'value':_0x5f57e0(0x314)});}));