@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504191606 → 0.6.10-nightly.202504201606

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 _0x23f0(_0x389c1a,_0x49addc){const _0x5b8231=_0x5b82();return _0x23f0=function(_0x23f042,_0x302386){_0x23f042=_0x23f042-0xb0;let _0x2b9e48=_0x5b8231[_0x23f042];return _0x2b9e48;},_0x23f0(_0x389c1a,_0x49addc);}(function(_0x225778,_0x8f99b4){const _0x1a2b28=_0x23f0,_0x1d7d29=_0x225778();while(!![]){try{const _0x267943=-parseInt(_0x1a2b28(0x1b4))/0x1+parseInt(_0x1a2b28(0x1da))/0x2+parseInt(_0x1a2b28(0x1b7))/0x3+parseInt(_0x1a2b28(0xcb))/0x4*(parseInt(_0x1a2b28(0x30c))/0x5)+parseInt(_0x1a2b28(0x2b0))/0x6*(parseInt(_0x1a2b28(0x1e4))/0x7)+parseInt(_0x1a2b28(0x2d3))/0x8+parseInt(_0x1a2b28(0x2f9))/0x9*(-parseInt(_0x1a2b28(0x2a0))/0xa);if(_0x267943===_0x8f99b4)break;else _0x1d7d29['push'](_0x1d7d29['shift']());}catch(_0x4aded8){_0x1d7d29['push'](_0x1d7d29['shift']());}}}(_0x5b82,0x697a0),function(_0x43be14,_0x34f259){const _0x55b85b=_0x23f0;typeof exports==_0x55b85b(0x2f2)&&typeof module<'u'?_0x34f259(exports,require('@univerjs-pro/collaboration-client'),require(_0x55b85b(0x212)),require(_0x55b85b(0xc5)),require(_0x55b85b(0x25f)),require('@univerjs/docs-ui'),require(_0x55b85b(0x208)),require(_0x55b85b(0x272)),require(_0x55b85b(0x2d5)),require(_0x55b85b(0x1e5)),require(_0x55b85b(0x267)),require(_0x55b85b(0x280)),require(_0x55b85b(0xca)),require(_0x55b85b(0x1eb)),require('react/jsx-runtime'),require(_0x55b85b(0x2f4)),require(_0x55b85b(0x279)),require(_0x55b85b(0x268)),require(_0x55b85b(0x27b))):typeof define==_0x55b85b(0x264)&&define[_0x55b85b(0x202)]?define([_0x55b85b(0xe5),_0x55b85b(0x283),_0x55b85b(0x212),_0x55b85b(0xc5),_0x55b85b(0x25f),_0x55b85b(0xbe),_0x55b85b(0x208),_0x55b85b(0x272),_0x55b85b(0x2d5),'@univerjs-pro/collaboration',_0x55b85b(0x267),_0x55b85b(0x280),_0x55b85b(0xca),_0x55b85b(0x1eb),_0x55b85b(0x156),'@univerjs/ui',_0x55b85b(0x279),'react',_0x55b85b(0x27b)],_0x34f259):(_0x43be14=typeof globalThis<'u'?globalThis:_0x43be14||self,_0x34f259(_0x43be14['UniverProCollaborationClientUi']={},_0x43be14[_0x55b85b(0x2db)],_0x43be14[_0x55b85b(0x2e8)],_0x43be14['UniverEngineRender'],_0x43be14[_0x55b85b(0x215)],_0x43be14[_0x55b85b(0x285)],_0x43be14[_0x55b85b(0x201)],_0x43be14[_0x55b85b(0x272)],_0x43be14[_0x55b85b(0x13a)],_0x43be14[_0x55b85b(0x2cb)],_0x43be14[_0x55b85b(0x209)],_0x43be14[_0x55b85b(0x294)],_0x43be14[_0x55b85b(0x272)]['operators'],_0x43be14[_0x55b85b(0x14f)],_0x43be14[_0x55b85b(0x194)],_0x43be14[_0x55b85b(0x34c)],_0x43be14['UniverDesign'],_0x43be14[_0x55b85b(0x194)],_0x43be14[_0x55b85b(0x220)]));}(this,function(_0xb9d8f1,_0x515138,_0x4503f9,_0x285e33,_0xc2c301,_0x48d8f1,_0x509deb,_0x220c87,_0x4a3777,_0x3aac78,_0x428d7b,_0x48716c,_0x51e28e,_0x58c0c3,_0x5d20f6,_0x145532,_0x556252,_0x4e4ecf,_0x100796){'use strict';const _0x34bf02=_0x23f0;var _0x22fa58=Object[_0x34bf02(0x2e6)],_0x49e0d3=(_0x492e90,_0x3cc320,_0x178df6)=>_0x3cc320 in _0x492e90?_0x22fa58(_0x492e90,_0x3cc320,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178df6}):_0x492e90[_0x3cc320]=_0x178df6,_0x53cb2c=(_0x2420d9,_0x10e43e,_0x53166b)=>_0x49e0d3(_0x2420d9,typeof _0x10e43e!=_0x34bf02(0x1a4)?_0x10e43e+'':_0x10e43e,_0x53166b),_0x19de21=Object[_0x34bf02(0x2d1)],_0xdc2c59=(_0xcd76c9,_0x3bc1f0,_0x8bcab2,_0x5aa8eb)=>{for(var _0x5c5860=_0x5aa8eb>0x1?void 0x0:_0x5aa8eb?_0x19de21(_0x3bc1f0,_0x8bcab2):_0x3bc1f0,_0x2521a2=_0xcd76c9['length']-0x1,_0x4af904;_0x2521a2>=0x0;_0x2521a2--)(_0x4af904=_0xcd76c9[_0x2521a2])&&(_0x5c5860=_0x4af904(_0x5c5860)||_0x5c5860);return _0x5c5860;},_0x2b51ba=(_0x4c2769,_0x16f83d)=>(_0x5ec23e,_0x2500da)=>_0x16f83d(_0x5ec23e,_0x2500da,_0x4c2769);let _0xd0a089=class extends _0x4503f9['RxDisposable']{constructor(_0x4075b6,_0x3815e9){const _0x32228e=_0x34bf02;super(),this['_docClipboardService']=_0x4075b6,this[_0x32228e(0x2a8)]=_0x3815e9,this[_0x32228e(0x1a2)]();}[_0x34bf02(0x1a2)](){const _0x446473=_0x34bf02,_0x4f1050=this;this[_0x446473(0x218)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x48caad=>{const _0x3910ec=_0x446473,_0x2aab4e=await _0x4f1050[_0x3910ec(0x2a8)][_0x3910ec(0x257)](_0x48caad);return _0x2aab4e?{'source':_0x2aab4e[_0x3910ec(0xd0)],'imageSourceType':_0x2aab4e[_0x3910ec(0x1e3)]}:null;}}));}};_0xd0a089=_0xdc2c59([_0x2b51ba(0x0,_0x48d8f1[_0x34bf02(0x33e)]),_0x2b51ba(0x1,_0x509deb[_0x34bf02(0x30d)])],_0xd0a089);const _0x21c42d=[_0x34bf02(0x34b),_0x34bf02(0x2bf),_0x34bf02(0x347),_0x34bf02(0x2fa),'blue400','gold400'];class _0x529c83 extends _0x4503f9[_0x34bf02(0x28c)]{constructor(){const _0x591aee=_0x34bf02;super(...arguments),_0x53cb2c(this,_0x591aee(0x2f5),new Map()),_0x53cb2c(this,_0x591aee(0x312),0x0);}[_0x34bf02(0x1ba)](_0x2489a2){const _0x55f723=_0x34bf02;if(this[_0x55f723(0x2f5)][_0x55f723(0xf6)](_0x2489a2))return this[_0x55f723(0x2f5)][_0x55f723(0x223)](_0x2489a2);const _0x4008dd=_0x21c42d[this[_0x55f723(0x312)]];return this[_0x55f723(0x312)]=(this['_colorIndex']+0x1)%_0x21c42d[_0x55f723(0x1ed)],this[_0x55f723(0x2f5)]['set'](_0x2489a2,_0x4008dd),_0x4008dd;}}function _0x2bb420(_0x311074){const _0x5226b3=_0x34bf02;let _0x770f9='';for(const _0x57ca06 of _0x311074){const {startOffset:_0x3c1bc2,endOffset:_0x486d34,isActive:_0x2a5467,rangeType:_0x4b1d12,segmentId:_0x15e965,segmentPage:_0x59bc36}=_0x57ca06;_0x770f9[_0x5226b3(0x1ed)]&&(_0x770f9+=','),_0x770f9+=_0x3c1bc2+':'+_0x486d34+':'+(_0x2a5467?'1':'0')+':'+_0x4b1d12+':'+_0x15e965+':'+_0x59bc36;}return _0x770f9;}function _0x1aafd8(_0x6baa95){const _0xbc239a=_0x34bf02,_0x108353=_0x6baa95['split'](','),_0x142874=[];for(const _0x46ef49 of _0x108353){const [_0x110861,_0x33f247,_0x2c80ec,_0xe501a1,_0x151f1a,_0x220c20]=_0x46ef49['split'](':');_0x142874[_0xbc239a(0x13c)]({'startOffset':Number(_0x110861),'endOffset':Number(_0x33f247),'collapsed':_0x110861===_0x33f247,'isActive':_0x2c80ec==='1','rangeType':_0xe501a1===_0x4503f9[_0xbc239a(0x207)][_0xbc239a(0x271)]?_0x4503f9[_0xbc239a(0x207)][_0xbc239a(0x271)]:_0x4503f9[_0xbc239a(0x207)][_0xbc239a(0x1c5)],'segmentId':typeof _0x151f1a==_0xbc239a(0x329)?String(_0x151f1a):'','segmentPage':Number(_0x220c20!=null?_0x220c20:-0x1)});}return _0x142874[_0xbc239a(0x293)](_0x1383f4=>_0x1383f4[_0xbc239a(0x2f3)])||(_0x142874[0x0][_0xbc239a(0x2f3)]=!0x0),_0x142874;}class _0x4471b5 extends _0x4503f9['RxDisposable']{constructor(){const _0xcad9cc=_0x34bf02;super(...arguments),_0x53cb2c(this,_0xcad9cc(0x16a),new _0x220c87[(_0xcad9cc(0x11d))](null)),_0x53cb2c(this,_0xcad9cc(0x22a),this[_0xcad9cc(0x16a)]['asObservable']());}[_0x34bf02(0x1ce)](_0x2a5c03){const _0x2459e1=_0x34bf02,{unitID:_0x1913f9,memberID:_0x9b3bda,textRanges:_0x3ffa1e}=_0x2a5c03,_0x2e7650=_0x2bb420(_0x3ffa1e);if(_0x2e7650==='')return;const _0x3aa6e4={'unitID':_0x1913f9,'memberID':_0x9b3bda,'selection':_0x2e7650};this[_0x2459e1(0x16a)][_0x2459e1(0x159)](_0x3aa6e4);}}var _0x67c139=Object['getOwnPropertyDescriptor'],_0x5501f2=(_0x5ed97e,_0x1a5aba,_0x4b0c4a,_0x53f503)=>{for(var _0x5431c4=_0x53f503>0x1?void 0x0:_0x53f503?_0x67c139(_0x1a5aba,_0x4b0c4a):_0x1a5aba,_0x14a512=_0x5ed97e['length']-0x1,_0x1acafb;_0x14a512>=0x0;_0x14a512--)(_0x1acafb=_0x5ed97e[_0x14a512])&&(_0x5431c4=_0x1acafb(_0x5431c4)||_0x5431c4);return _0x5431c4;},_0x4d2777=(_0x323ead,_0x4448b5)=>(_0x47c67e,_0xb7e029)=>_0x4448b5(_0x47c67e,_0xb7e029,_0x323ead);const _0x25ee1a=0x12c,_0xb1ed9c=0x64;let _0x169f1a=class extends _0x4503f9[_0x34bf02(0x305)]{constructor(_0x25a4c9,_0x2fa79e,_0x2d6d26,_0x12b4d9,_0x24da7b,_0x450225,_0x3a12d6,_0x66b4d9,_0x308bf0){const _0x28527e=_0x34bf02;super(),_0x53cb2c(this,'_online',!0x1),_0x53cb2c(this,_0x28527e(0x1a2),!0x1),_0x53cb2c(this,_0x28527e(0x29c),new _0x220c87[(_0x28527e(0x11d))](new Map())),_0x53cb2c(this,_0x28527e(0xf8),this['_cursorInfo$'][_0x28527e(0x317)]()),_0x53cb2c(this,_0x28527e(0x324),new _0x220c87[(_0x28527e(0x11d))]([])),_0x53cb2c(this,_0x28527e(0x1b6),this[_0x28527e(0x324)][_0x28527e(0x13e)](_0x220c87[_0x28527e(0x278)](_0x25ee1a))),_0x53cb2c(this,_0x28527e(0x290),_0x4503f9[_0x28527e(0x15c)](_0x2485d1=>{const _0x412a46=_0x28527e,_0x40e6bd={'eventID':_0x3aac78[_0x412a46(0x29f)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x412a46(0x170)][_0x412a46(0x2e1)](),'selection':_0x2bb420(_0x2485d1)}};this[_0x412a46(0x170)][_0x412a46(0x103)](_0x40e6bd,this[_0x412a46(0x117)]);},_0xb1ed9c)),(this[_0x28527e(0x117)]=_0x25a4c9,this[_0x28527e(0x170)]=_0x2fa79e,this[_0x28527e(0x17c)]=_0x2d6d26,this['_colorAssignService']=_0x12b4d9,this[_0x28527e(0x326)]=_0x24da7b,this[_0x28527e(0x11b)]=_0x450225,this[_0x28527e(0x105)]=_0x3a12d6,this[_0x28527e(0x1d9)]=_0x66b4d9,this['_commandService']=_0x308bf0);}get[_0x34bf02(0x19a)](){const _0x502a90=_0x34bf02;return this['_cursorInfo$'][_0x502a90(0x22b)]();}get[_0x34bf02(0x28d)](){const _0x173b35=_0x34bf02;return this[_0x173b35(0x324)][_0x173b35(0x22b)]();}[_0x34bf02(0x113)](){const _0x5f400c=_0x34bf02;super[_0x5f400c(0x113)](),this[_0x5f400c(0x29c)][_0x5f400c(0x159)](new Map()),this['_cursorInfo$'][_0x5f400c(0x150)](),this['_roomMembers$'][_0x5f400c(0x159)]([]),this[_0x5f400c(0x324)][_0x5f400c(0x150)]();}['init'](){const _0x3bc258=_0x34bf02;this[_0x3bc258(0x1a2)]||(this['_init']=!0x0,this[_0x3bc258(0x170)][_0x3bc258(0x2e4)][_0x3bc258(0x13e)](_0x220c87['takeUntil'](this[_0x3bc258(0x10a)]))[_0x3bc258(0x2c3)](_0x34cfe0=>{const _0x32a9d6=_0x3bc258;_0x34cfe0===_0x515138[_0x32a9d6(0x238)]['ONLINE']?this[_0x32a9d6(0xde)]():this[_0x32a9d6(0x116)]();}),this['_session'][_0x3bc258(0x20a)][_0x3bc258(0x13e)](_0x220c87['takeUntil'](this[_0x3bc258(0x10a)]))[_0x3bc258(0x2c3)](_0x2d2999=>{const _0x41abe9=_0x3bc258,_0x49d15f=_0x2d2999['eventID'];_0x49d15f===_0x3aac78[_0x41abe9(0x29f)]['UPDATE_CURSOR']&&this[_0x41abe9(0x1e6)](_0x2d2999),_0x49d15f===_0x3aac78[_0x41abe9(0x29f)][_0x41abe9(0x2e3)]&&this[_0x41abe9(0x185)](_0x2d2999);}),this[_0x3bc258(0x218)](this[_0x3bc258(0x25b)][_0x3bc258(0x1d6)](_0x16a64a=>{const _0x2678ed=_0x3bc258,_0x5976c0=_0x16a64a[_0x2678ed(0xd9)];_0x5976c0!=null&&this[_0x2678ed(0x251)]&&_0x16a64a['id']===_0x4a3777[_0x2678ed(0x2da)]['id']&&_0x5976c0['unitId']===this[_0x2678ed(0x117)]&&_0x5976c0[_0x2678ed(0x337)]===!0x1&&_0x5976c0[_0x2678ed(0x1a8)][_0x2678ed(0x1ed)]>0x0&&this[_0x2678ed(0x290)](_0x5976c0[_0x2678ed(0x1a8)]);})),this[_0x3bc258(0x11b)][_0x3bc258(0x22a)]['pipe'](_0x220c87[_0x3bc258(0x27d)](this[_0x3bc258(0x10a)]))[_0x3bc258(0x2c3)](_0x12edf0=>{const _0x1c56b4=_0x3bc258;if((_0x12edf0==null?void 0x0:_0x12edf0[_0x1c56b4(0x117)])!==this[_0x1c56b4(0x117)])return;const _0xe64f3e={'eventID':_0x3aac78[_0x1c56b4(0x29f)][_0x1c56b4(0x151)],'data':_0x12edf0};this[_0x1c56b4(0x1e6)](_0xe64f3e);}),this[_0x3bc258(0x218)](this['_commandService'][_0x3bc258(0x1d6)](_0x54cccc=>{const _0x614a46=_0x3bc258;if(_0x54cccc['params']==null)return;const _0x547491=_0x54cccc[_0x614a46(0xd9)];if(_0x54cccc['id']!==_0x4a3777['RichTextEditingMutation']['id']||_0x547491[_0x614a46(0x2c5)]!==this[_0x614a46(0x117)])return;const _0x484e8e={'id':_0x614a46(0x23c),'params':_0x547491},_0x543d53=this['cursorInfo'];for(const [_0x688243,_0x5b15af]of _0x543d53){const _0x1e9cb3={'id':_0x614a46(0x23c),'params':{'unitId':this[_0x614a46(0x117)],'actions':null,'textRanges':_0x5b15af['ranges']}},_0x180317=this[_0x614a46(0x105)]['transformMutation'](_0x484e8e,_0x1e9cb3,!0x1);if(_0x3aac78[_0x614a46(0x125)](_0x180317))throw _0x180317['error'];_0x543d53[_0x614a46(0x250)](_0x688243,{..._0x5b15af,'ranges':_0x180317[_0x614a46(0x1ae)][_0x614a46(0xd9)][_0x614a46(0x332)]});}queueMicrotask(()=>{const _0x108bcb=_0x614a46;this[_0x108bcb(0x29c)][_0x108bcb(0x159)](_0x543d53);});})));}[_0x34bf02(0x1e6)](_0x1ff0a4){const _0x55f581=_0x34bf02;var _0xf5479e,_0x3d82ea;const {memberID:_0x354565,selection:_0xebf23b}=_0x1ff0a4[_0x55f581(0x192)],_0x5dffd8=_0x1aafd8(_0xebf23b),_0xdcc264=(_0x3d82ea=(_0xf5479e=this[_0x55f581(0x326)][_0x55f581(0x187)](this['unitID'],_0x354565))==null?void 0x0:_0xf5479e[_0x55f581(0x219)])!=null?_0x3d82ea:_0x55f581(0x22d),_0x22d1d1={'color':this['_colorAssignService'][_0x55f581(0x1ba)](_0x354565),'name':_0xdcc264,'ranges':_0x5dffd8},_0x462a9a=this[_0x55f581(0x19a)];_0x462a9a[_0x55f581(0x250)](_0x354565,_0x22d1d1),this['_cursorInfo$'][_0x55f581(0x159)](_0x462a9a);}[_0x34bf02(0x185)](_0x4e4ee9){const _0x220937=_0x34bf02,{memberID:_0x252864}=_0x4e4ee9[_0x220937(0x192)],_0x25195b=this[_0x220937(0x19a)];_0x25195b[_0x220937(0x1d8)](_0x252864),this[_0x220937(0x29c)][_0x220937(0x159)](_0x25195b);}[_0x34bf02(0xde)](){const _0x794e41=_0x34bf02;var _0x43a4db;if(this[_0x794e41(0x251)]=!0x0,((_0x43a4db=this[_0x794e41(0x1d9)][_0x794e41(0xf2)]())==null?void 0x0:_0x43a4db['getUnitId']())!==this['unitID'])return;const _0x4a4508=this[_0x794e41(0x17c)][_0x794e41(0x223)](_0x4a3777[_0x794e41(0x12a)])[_0x794e41(0x13d)]();Array['isArray'](_0x4a4508)&&_0x4a4508['length']>0x0&&this[_0x794e41(0x290)](_0x4a4508);}[_0x34bf02(0x116)](){const _0x48fbcd=_0x34bf02;this[_0x48fbcd(0x251)]=!0x1;}};_0x169f1a=_0x5501f2([_0x4d2777(0x2,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0x231)])),_0x4d2777(0x3,_0x4503f9['Inject'](_0x529c83)),_0x4d2777(0x4,_0x4503f9[_0x34bf02(0x224)](_0x515138[_0x34bf02(0x1e1)])),_0x4d2777(0x5,_0x4503f9[_0x34bf02(0x224)](_0x4471b5)),_0x4d2777(0x6,_0x3aac78['ITransformService']),_0x4d2777(0x7,_0x4503f9[_0x34bf02(0x182)]),_0x4d2777(0x8,_0x4503f9['ICommandService'])],_0x169f1a);var _0x211b94=Object[_0x34bf02(0x2d1)],_0x30a25a=(_0x222540,_0xc4a629,_0x1a4d31,_0x130ef2)=>{const _0x11a21e=_0x34bf02;for(var _0x592253=_0x130ef2>0x1?void 0x0:_0x130ef2?_0x211b94(_0xc4a629,_0x1a4d31):_0xc4a629,_0x4b4e56=_0x222540[_0x11a21e(0x1ed)]-0x1,_0x202b96;_0x4b4e56>=0x0;_0x4b4e56--)(_0x202b96=_0x222540[_0x4b4e56])&&(_0x592253=_0x202b96(_0x592253)||_0x592253);return _0x592253;},_0x1dda54=(_0x18fa2b,_0x519429)=>(_0x56f2b6,_0x51e434)=>_0x519429(_0x56f2b6,_0x51e434,_0x18fa2b);const _0x22b701=0x12c,_0x142178=0x64,_0x4ae739=()=>{let _0x58ca4c=[],_0xb02f40=!0x1;return _0x1f2e75=>{const _0x4256bc=_0x23f0;_0x58ca4c[_0x4256bc(0x13c)](_0x1f2e75),_0xb02f40||(_0xb02f40=!0x0,setTimeout(()=>{const _0x19cbeb=_0x4256bc;_0x58ca4c[_0x19cbeb(0x16e)](_0x49ff32=>_0x49ff32()),_0x58ca4c=[],_0xb02f40=!0x1;}));};};let _0x2215e2=class extends _0x4503f9['RxDisposable']{constructor(_0x443079,_0x2eb842,_0x310ae5,_0x5f025a,_0x5ca8d9,_0x14937e,_0x4707b5,_0x216535){const _0x497608=_0x34bf02;super(),_0x53cb2c(this,_0x497608(0x251),!0x1),_0x53cb2c(this,'_init',!0x1),_0x53cb2c(this,'_cursorInfo$',new _0x220c87[(_0x497608(0x11d))](new Map())),_0x53cb2c(this,_0x497608(0xf8),this[_0x497608(0x29c)][_0x497608(0x317)]()),_0x53cb2c(this,_0x497608(0x324),new _0x220c87[(_0x497608(0x11d))]([])),_0x53cb2c(this,_0x497608(0x1b6),this[_0x497608(0x324)]['pipe'](_0x220c87['debounceTime'](_0x22b701))),_0x53cb2c(this,_0x497608(0x290),_0x4503f9[_0x497608(0x15c)]((_0x36bb62,_0x2b9f16)=>{const _0xbaaf47=_0x497608,_0x5d951a={'eventID':_0x3aac78['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0xbaaf47(0x117)],'memberID':this[_0xbaaf47(0x170)][_0xbaaf47(0x2e1)](),'selection':_0x428d7b[_0xbaaf47(0x341)](_0x36bb62,_0x2b9f16['range'])}};this[_0xbaaf47(0x170)][_0xbaaf47(0x103)](_0x5d951a,this[_0xbaaf47(0x117)]);},_0x142178)),(this['unitID']=_0x443079,this[_0x497608(0x170)]=_0x2eb842,this[_0x497608(0x17c)]=_0x310ae5,this[_0x497608(0x21b)]=_0x5f025a,this['_memberService']=_0x5ca8d9,this['_univerInstanceService']=_0x14937e,this[_0x497608(0x25b)]=_0x4707b5,this[_0x497608(0x32f)]=_0x216535);}get[_0x34bf02(0x19a)](){const _0x495605=_0x34bf02;return this[_0x495605(0x29c)]['getValue']();}get[_0x34bf02(0x28d)](){const _0x13f497=_0x34bf02;return this[_0x13f497(0x324)][_0x13f497(0x22b)]();}[_0x34bf02(0x113)](){const _0x4d9f9b=_0x34bf02;super[_0x4d9f9b(0x113)](),this[_0x4d9f9b(0x29c)][_0x4d9f9b(0x159)](new Map()),this[_0x4d9f9b(0x29c)][_0x4d9f9b(0x150)](),this[_0x4d9f9b(0x324)][_0x4d9f9b(0x159)]([]),this[_0x4d9f9b(0x324)]['complete']();}[_0x34bf02(0x227)](){const _0x458d9e=_0x34bf02;this['_init']||(this[_0x458d9e(0x1a2)]=!0x0,this['_session'][_0x458d9e(0x2e4)][_0x458d9e(0x13e)](_0x220c87['takeUntil'](this[_0x458d9e(0x10a)]))[_0x458d9e(0x2c3)](_0x2595a8=>{const _0x30101a=_0x458d9e;_0x2595a8===_0x515138[_0x30101a(0x238)]['ONLINE']?this[_0x30101a(0xde)]():this[_0x30101a(0x116)]();}),this[_0x458d9e(0x170)][_0x458d9e(0x20a)][_0x458d9e(0x13e)](_0x220c87[_0x458d9e(0x27d)](this[_0x458d9e(0x10a)]))[_0x458d9e(0x2c3)](_0x416cb5=>{const _0x589d9f=_0x458d9e,_0x10ba81=_0x416cb5[_0x589d9f(0x334)];_0x10ba81===_0x3aac78[_0x589d9f(0x29f)][_0x589d9f(0x151)]&&this[_0x589d9f(0x1e6)](_0x416cb5),_0x10ba81===_0x3aac78['CollaborationEvent'][_0x589d9f(0x2e3)]&&this[_0x589d9f(0x185)](_0x416cb5);}),this[_0x458d9e(0x1a1)](),this['disposeWithMe'](this['_commandService'][_0x458d9e(0x1d6)](_0x5099f0=>{const _0x3e6783=_0x458d9e;if(this[_0x3e6783(0x251)]&&_0x5099f0['id']===_0x48716c[_0x3e6783(0x2cc)]['id']&&_0x5099f0[_0x3e6783(0xd9)][_0x3e6783(0x2c5)]===this['unitID']){const _0x4d809a=_0x5099f0['params'];this['_updateLocalCursor'](_0x4d809a[_0x3e6783(0x1f1)],_0x4d809a[_0x3e6783(0x216)][0x0]);}})));}[_0x34bf02(0x1e6)](_0x1fcc15){const _0x455ca7=_0x34bf02;var _0x7ff0cf,_0x323710;const {memberID:_0x3ba146,selection:_0x5dff1c}=_0x1fcc15['data'],{sheetName:_0xf1d040,range:_0x18a114}=_0x428d7b[_0x455ca7(0x1d5)](_0x5dff1c),_0x56aeba={'name':(_0x323710=(_0x7ff0cf=this[_0x455ca7(0x326)][_0x455ca7(0x187)](this['unitID'],_0x3ba146))==null?void 0x0:_0x7ff0cf['name'])!=null?_0x323710:_0x455ca7(0x22d),'range':this[_0x455ca7(0x169)](_0xf1d040,_0x18a114),'sheetID':_0xf1d040,'color':this[_0x455ca7(0x21b)][_0x455ca7(0x1ba)](_0x3ba146),'selection':_0x5dff1c},_0x58b749=this[_0x455ca7(0x19a)];_0x58b749[_0x455ca7(0x250)](_0x3ba146,_0x56aeba),this[_0x455ca7(0x29c)][_0x455ca7(0x159)](_0x58b749);}[_0x34bf02(0x185)](_0x485fa4){const _0x451ef7=_0x34bf02,{memberID:_0x4998b7}=_0x485fa4[_0x451ef7(0x192)],_0x4c1717=this['cursorInfo'];_0x4c1717[_0x451ef7(0x1d8)](_0x4998b7),this[_0x451ef7(0x29c)]['next'](_0x4c1717);}[_0x34bf02(0x169)](_0x2fd6ce,_0x55fa81){const _0x42f16e=_0x34bf02;var _0x76a043,_0x57bb12;const _0x1e5dd5=(_0x57bb12=(_0x76a043=this[_0x42f16e(0x1d9)][_0x42f16e(0x284)](this['unitID']))==null?void 0x0:_0x76a043['getSheetBySheetId'](_0x2fd6ce))==null?void 0x0:_0x57bb12['getMergeData']();return(_0x1e5dd5==null?void 0x0:_0x1e5dd5['find'](_0x386fe3=>_0x4503f9[_0x42f16e(0x17f)][_0x42f16e(0xe8)](_0x386fe3,_0x55fa81)))||_0x55fa81;}['_onRefRangeChange'](){const _0x1da81c=_0x34bf02,_0x68ae12=new _0x4503f9[(_0x1da81c(0x1ad))](),_0x5a173d=_0x4ae739(),_0x23cfc1=()=>{const _0x44c198=_0x1da81c;_0x68ae12[_0x44c198(0x113)]();const _0x30af06=(_0x4ead2c,_0x5db94b,_0x55b50f,_0x37dd31)=>{const _0x37a7cb=_0x44c198;let _0x4630b5=[];switch(_0x4ead2c['id']){case _0x48716c[_0x37a7cb(0x20b)][_0x37a7cb(0xed)]:{_0x4630b5=_0x48716c[_0x37a7cb(0xbc)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)][_0x37a7cb(0x23a)]:{_0x4630b5=_0x48716c[_0x37a7cb(0x12b)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)][_0x37a7cb(0x228)]:{_0x4630b5=_0x48716c[_0x37a7cb(0x102)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)]['InsertRangeMoveDownCommandId']:{_0x4630b5=_0x48716c[_0x37a7cb(0x270)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)][_0x37a7cb(0x2fe)]:{_0x4630b5=_0x48716c[_0x37a7cb(0xfe)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)]['InsertRowCommandId']:{_0x4630b5=_0x48716c['handleInsertRow'](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)][_0x37a7cb(0x26d)]:{_0x4630b5=_0x48716c[_0x37a7cb(0x20e)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)][_0x37a7cb(0x1ee)]:{_0x4630b5=_0x48716c[_0x37a7cb(0x190)](_0x4ead2c,_0x37dd31);break;}case _0x48716c[_0x37a7cb(0x20b)]['RemoveRowCommandId']:{_0x4630b5=_0x48716c[_0x37a7cb(0x200)](_0x4ead2c,_0x37dd31);break;}}const _0x1841b9=_0x48716c[_0x37a7cb(0x15b)](_0x4630b5,_0x37dd31),_0x4c29cd=this['cursorInfo'][_0x37a7cb(0x223)](_0x5db94b);if(_0x4c29cd&&_0x1841b9){const _0x450291={..._0x4c29cd,'range':_0x1841b9};this[_0x37a7cb(0x19a)][_0x37a7cb(0x250)](_0x5db94b,_0x450291),_0x5a173d(()=>{const _0x2ce6a7=_0x37a7cb,_0x1de02b=this[_0x2ce6a7(0x32f)][_0x2ce6a7(0x24b)](_0x1841b9,_0x150817=>(_0x1de02b[_0x2ce6a7(0x113)](),_0x30af06(_0x150817,_0x5db94b,_0x55b50f,_0x1841b9)));_0x68ae12[_0x2ce6a7(0x15a)](_0x1de02b);});}return{'redos':[],'undos':[]};};this[_0x44c198(0x19a)][_0x44c198(0x16e)]((_0xc82996,_0x2ec604)=>{const _0xb5c4a5=_0x44c198,{range:_0x1a6eec,sheetID:_0x4072db}=_0xc82996,_0x5512bf=this['_refRangeService'][_0xb5c4a5(0x24b)](_0x1a6eec,_0x3b2186=>(_0x5512bf['dispose'](),_0x30af06(_0x3b2186,_0x2ec604,_0x4072db,_0x1a6eec)));_0x68ae12[_0xb5c4a5(0x15a)](_0x5512bf);});};this[_0x1da81c(0x218)](_0x4503f9[_0x1da81c(0x25a)](this[_0x1da81c(0x29c)][_0x1da81c(0x2c3)](()=>{_0x23cfc1();})));}[_0x34bf02(0xde)](){const _0x1600b1=_0x34bf02;var _0x1cf73d,_0xb6661f;if(this[_0x1600b1(0x251)]=!0x0,((_0x1cf73d=this[_0x1600b1(0x1d9)][_0x1600b1(0xf2)]())==null?void 0x0:_0x1cf73d[_0x1600b1(0x2b7)]())!==this[_0x1600b1(0x117)])return;const _0x5cd746=(_0xb6661f=this[_0x1600b1(0x17c)]['get'](_0x48716c['SheetsSelectionsService'])[_0x1600b1(0x203)]())==null?void 0x0:_0xb6661f[0x0],_0x569266=this['_univerInstanceService'][_0x1600b1(0x147)](_0x4503f9[_0x1600b1(0x303)][_0x1600b1(0x277)])['getActiveSheet']();_0x5cd746&&_0x569266&&this[_0x1600b1(0x290)](_0x569266['getSheetId'](),_0x5cd746);}[_0x34bf02(0x116)](){const _0x1c64b8=_0x34bf02;this[_0x1c64b8(0x251)]=!0x1;}};_0x2215e2=_0x30a25a([_0x1dda54(0x2,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0x231)])),_0x1dda54(0x3,_0x4503f9[_0x34bf02(0x224)](_0x529c83)),_0x1dda54(0x4,_0x4503f9[_0x34bf02(0x224)](_0x515138[_0x34bf02(0x1e1)])),_0x1dda54(0x5,_0x4503f9['IUniverInstanceService']),_0x1dda54(0x6,_0x4503f9['ICommandService']),_0x1dda54(0x7,_0x4503f9['Inject'](_0x48716c[_0x34bf02(0x2d0)]))],_0x2215e2);var _0x3bc6be=Object[_0x34bf02(0x2d1)],_0x1c8192=(_0x2e865b,_0x5e08af,_0x1a70da,_0x5e9a80)=>{for(var _0x5d0208=_0x5e9a80>0x1?void 0x0:_0x5e9a80?_0x3bc6be(_0x5e08af,_0x1a70da):_0x5e08af,_0x1e70b9=_0x2e865b['length']-0x1,_0x3443ba;_0x1e70b9>=0x0;_0x1e70b9--)(_0x3443ba=_0x2e865b[_0x1e70b9])&&(_0x5d0208=_0x3443ba(_0x5d0208)||_0x5d0208);return _0x5d0208;},_0x173ad4=(_0x4f705e,_0x4a1256)=>(_0x5ed3a6,_0x56262c)=>_0x4a1256(_0x5ed3a6,_0x56262c,_0x4f705e);let _0x1c5618=class extends _0x4503f9[_0x34bf02(0x305)]{constructor(_0x31124e,_0x1e2b30,_0x595e72){const _0x458ca8=_0x34bf02;super(),_0x53cb2c(this,_0x458ca8(0x10b),new Map()),_0x53cb2c(this,'_entityInit$',new _0x220c87['Subject']()),(this[_0x458ca8(0x1d9)]=_0x31124e,this[_0x458ca8(0x17c)]=_0x1e2b30,this[_0x458ca8(0x1ab)]=_0x595e72,this['_init']());}[_0x34bf02(0x113)](){const _0x3c9e7b=_0x34bf02;super[_0x3c9e7b(0x113)](),this['_entityInit$']['complete'](),this[_0x3c9e7b(0x10b)]['forEach'](_0x4ae1d1=>_0x4ae1d1['dispose']());}[_0x34bf02(0x2b9)](_0x2595ff){const _0x5eb395=_0x34bf02;return this['_entities'][_0x5eb395(0xf6)](_0x2595ff)?this[_0x5eb395(0x10b)][_0x5eb395(0x223)](_0x2595ff)[_0x5eb395(0xf8)]:this['_entityInit$'][_0x5eb395(0x13e)](_0x220c87[_0x5eb395(0x244)](_0x1086bd=>_0x1086bd[_0x5eb395(0x117)]===_0x2595ff),_0x220c87[_0x5eb395(0x1e0)](_0x5c329b=>_0x5c329b['cursorInfo$']));}['_init'](){const _0x47c4fd=_0x34bf02;this['_univerInstanceService'][_0x47c4fd(0x108)](_0x4503f9[_0x47c4fd(0x303)][_0x47c4fd(0x277)])[_0x47c4fd(0x13e)](_0x220c87[_0x47c4fd(0x27d)](this['dispose$']))[_0x47c4fd(0x2c3)](async _0x487ff1=>{const _0x4e13c5=_0x47c4fd,_0xf5f81f=_0x487ff1['getUnitId'](),_0x270b4d=await this[_0x4e13c5(0x276)](_0xf5f81f);this[_0x4e13c5(0x2ab)][_0x4e13c5(0x159)](_0x270b4d),this[_0x4e13c5(0x10b)][_0x4e13c5(0x250)](_0xf5f81f,_0x270b4d);}),this['_univerInstanceService'][_0x47c4fd(0x108)](_0x4503f9[_0x47c4fd(0x303)][_0x47c4fd(0x10d)])[_0x47c4fd(0x13e)](_0x220c87[_0x47c4fd(0x27d)](this[_0x47c4fd(0x10a)]))['pipe'](_0x220c87[_0x47c4fd(0x244)](_0x13c277=>!_0x13c277[_0x47c4fd(0x2b7)]()[_0x47c4fd(0x20d)]('__')))['subscribe'](async _0x2b1247=>{const _0x58c70a=_0x47c4fd,_0x7de2fe=_0x2b1247['getUnitId'](),_0xf1cd05=await this[_0x58c70a(0x1de)](_0x7de2fe);this['_entityInit$'][_0x58c70a(0x159)](_0xf1cd05),this['_entities'][_0x58c70a(0x250)](_0x7de2fe,_0xf1cd05);}),_0x220c87[_0x47c4fd(0x1a5)](this[_0x47c4fd(0x1d9)]['getTypeOfUnitDisposed$'](_0x4503f9[_0x47c4fd(0x303)][_0x47c4fd(0x10d)]),this['_univerInstanceService'][_0x47c4fd(0x259)](_0x4503f9['UniverInstanceType']['UNIVER_SHEET']))[_0x47c4fd(0x13e)](_0x220c87['takeUntil'](this[_0x47c4fd(0x10a)]))[_0x47c4fd(0x2c3)](_0x1fcb5e=>{const _0x3cb827=_0x47c4fd,_0x320415=_0x1fcb5e['getUnitId'](),_0x2ac94d=this[_0x3cb827(0x10b)][_0x3cb827(0x223)](_0x320415);_0x2ac94d&&(_0x2ac94d[_0x3cb827(0x113)](),this[_0x3cb827(0x10b)][_0x3cb827(0x1d8)](_0x320415));});}async[_0x34bf02(0x276)](_0x64c49b){const _0xecc32=_0x34bf02,_0x56b14b=await this[_0xecc32(0x1ab)]['requireSession'](_0x64c49b),_0x3b0d0c=this[_0xecc32(0x17c)]['createInstance'](_0x2215e2,_0x64c49b,_0x56b14b);return _0x3b0d0c[_0xecc32(0x227)](),_0x3b0d0c;}async['_startDocCollabCursor'](_0x4dcb1f){const _0x3f9e34=_0x34bf02,_0x5702c9=await this[_0x3f9e34(0x1ab)][_0x3f9e34(0x258)](_0x4dcb1f),_0x2878f0=this['_injector']['createInstance'](_0x169f1a,_0x4dcb1f,_0x5702c9);return _0x2878f0[_0x3f9e34(0x227)](),_0x2878f0;}};_0x1c5618=_0x1c8192([_0x173ad4(0x0,_0x4503f9['IUniverInstanceService']),_0x173ad4(0x1,_0x4503f9['Inject'](_0x4503f9['Injector'])),_0x173ad4(0x2,_0x4503f9[_0x34bf02(0x224)](_0x515138[_0x34bf02(0xe9)]))],_0x1c5618);const _0x8587f5=0x14,_0x277309=0xc8,_0x4efa28=0x4,_0x4fcb23=0x5;function _0x4f71ba(_0x45c7d6,_0x47c761){const _0x48d660=_0x34bf02;let {radius:_0x27003e,width:_0x253be2,height:_0x576f6e}=_0x47c761;_0x27003e=_0x27003e!=null?_0x27003e:0x0,_0x253be2=_0x253be2!=null?_0x253be2:0x1e,_0x576f6e=_0x576f6e!=null?_0x576f6e:0x1e;let _0x586c60=0x0,_0x35d38c=0x0,_0x3a3784=0x0;_0x586c60=_0x35d38c=_0x3a3784=Math['min'](_0x27003e,_0x253be2/0x2,_0x576f6e/0x2),_0x45c7d6['beginPath'](),_0x45c7d6['moveTo'](_0x586c60,0x0),_0x45c7d6[_0x48d660(0xbf)](_0x253be2-_0x35d38c,0x0),_0x45c7d6[_0x48d660(0x233)](_0x253be2-_0x35d38c,_0x35d38c,_0x35d38c,Math['PI']*0x3/0x2,0x0,!0x1),_0x45c7d6['lineTo'](_0x253be2,_0x576f6e-_0x3a3784),_0x45c7d6[_0x48d660(0x233)](_0x253be2-_0x3a3784,_0x576f6e-_0x3a3784,_0x3a3784,0x0,Math['PI']/0x2,!0x1),_0x45c7d6['lineTo'](0x0,_0x576f6e),_0x45c7d6[_0x48d660(0xbf)](0x0,_0x586c60),_0x45c7d6[_0x48d660(0x233)](_0x586c60,_0x586c60,_0x586c60,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x45c7d6[_0x48d660(0x1a9)](),_0x47c761[_0x48d660(0x109)]&&(_0x45c7d6[_0x48d660(0x18e)](),_0x45c7d6[_0x48d660(0x2cd)]=_0x47c761[_0x48d660(0x109)],_0x47c761[_0x48d660(0xb5)]===_0x48d660(0x189)?_0x45c7d6[_0x48d660(0x109)](_0x48d660(0x189)):_0x45c7d6[_0x48d660(0x109)](),_0x45c7d6[_0x48d660(0x15d)]());}class _0x105033 extends _0x285e33['Shape']{constructor(_0x3d8e7d,_0x1a0108){const _0x1ebd22=_0x34bf02;super(_0x3d8e7d,_0x1a0108),_0x53cb2c(this,_0x1ebd22(0x1dd)),_0x53cb2c(this,_0x1ebd22(0x242)),(this['color']=_0x1a0108==null?void 0x0:_0x1a0108['color'],this[_0x1ebd22(0x242)]=_0x1a0108==null?void 0x0:_0x1a0108[_0x1ebd22(0x242)]);}static['drawWith'](_0x225642,_0x36accc){const _0x56fe4a=_0x34bf02,{text:_0x128ef2,color:_0xc0ff8c}=_0x36accc;_0x225642[_0x56fe4a(0x18e)](),_0x225642[_0x56fe4a(0xb4)]=_0x56fe4a(0x1e8);const _0x200c6e=_0x225642[_0x56fe4a(0x165)](_0x128ef2)[_0x56fe4a(0x16d)],_0x5bde84=Math[_0x56fe4a(0x2d2)](_0x200c6e+0x2*_0x4efa28,_0x277309);_0x4f71ba(_0x225642,{'height':_0x8587f5,'radius':0x4,'width':_0x5bde84,'fill':_0xc0ff8c}),_0x225642['fillStyle']='#FFF';const _0x192587=_0x4efa28,_0x56e9c0=_0x8587f5-_0x4fcb23,_0x2706fe=_0x277309-0x2*_0x4efa28;if(_0x200c6e>_0x2706fe){let _0x8d84da='',_0x4c7370=0x0;for(const _0x5dacec of _0x128ef2){const _0x238602=_0x225642[_0x56fe4a(0x165)](_0x5dacec)[_0x56fe4a(0x16d)];if(_0x4c7370+_0x238602<=_0x2706fe-_0x225642[_0x56fe4a(0x165)](_0x56fe4a(0x262))[_0x56fe4a(0x16d)])_0x8d84da+=_0x5dacec,_0x4c7370+=_0x238602;else{_0x8d84da+=_0x56fe4a(0x262);break;}}_0x225642[_0x56fe4a(0x1aa)](_0x8d84da,_0x192587,_0x56e9c0);}else _0x225642['fillText'](_0x128ef2,_0x192587,_0x56e9c0);_0x225642['restore']();}[_0x34bf02(0x177)](_0x19a3c9){_0x105033['drawWith'](_0x19a3c9,this);}}const _0x388c1e=_0x34bf02(0xc8),_0x455096=_0x34bf02(0x292),_0x27c403=_0x34bf02(0x1c7),_0x382af3=0x6,_0x1e0fa0=1.5,_0xfb14f4=0x4,_0x271262=1.5,_0x210aef='rgba(255,\x20255,\x20255,\x200.01)';class _0x330ecf{constructor(_0x96a90b,_0x4300c7,_0x6f359,_0x4f0a44){const _0x404ce9=_0x34bf02;_0x53cb2c(this,_0x404ce9(0x14a),[]),_0x53cb2c(this,'_anchor',null),_0x53cb2c(this,_0x404ce9(0x19b),null),_0x53cb2c(this,_0x404ce9(0x1ef),null),_0x53cb2c(this,_0x404ce9(0xe6),null),_0x53cb2c(this,'_eventUnsubscribe',null),(this[_0x404ce9(0xff)]=_0x96a90b,this[_0x404ce9(0x2b4)]=_0x4300c7,this['_docSkeleton']=_0x6f359,this['_document']=_0x4f0a44,this['_render']());}set[_0x34bf02(0x115)](_0x9940fb){const _0x4ab40b=_0x34bf02;_0x9940fb?(this[_0x4ab40b(0x1ef)]&&this[_0x4ab40b(0x1ef)][_0x4ab40b(0x28e)](),this[_0x4ab40b(0x19b)]&&this[_0x4ab40b(0x19b)][_0x4ab40b(0x121)]()):(this['_anchorDot']&&this[_0x4ab40b(0x1ef)][_0x4ab40b(0x121)](),this[_0x4ab40b(0x19b)]&&this[_0x4ab40b(0x19b)][_0x4ab40b(0x28e)]());}['dispose'](){const _0x45078b=_0x34bf02;for(const _0x5db820 of this['_shapes'])_0x5db820[_0x45078b(0x113)]();this[_0x45078b(0x19b)]&&this['_textBubble'][_0x45078b(0x113)](),this['_anchorDot']&&this['_anchorDot'][_0x45078b(0x113)](),this[_0x45078b(0x29d)]&&this[_0x45078b(0x29d)][_0x45078b(0x113)](),this[_0x45078b(0x31b)]&&this[_0x45078b(0x31b)]();}[_0x34bf02(0x2af)](){const _0x3bbe60=_0x34bf02;var _0x4c49c7;const {_docSkeleton:_0xd3d843,_document:_0x22c793}=this,{color:_0x2dd706,name:_0x4b928b,ranges:_0x18ace9}=this['_cursor'],_0x2717f4=_0x22c793[_0x3bbe60(0x1f4)](),{docsLeft:_0x5730a6,docsTop:_0x945017}=_0x2717f4,_0x32d287=new _0x48d8f1[(_0x3bbe60(0x26e))](_0x2717f4,_0xd3d843);for(const {startOffset:_0x2153e1,endOffset:_0x552671,rangeType:_0x54ba71,segmentId:_0x2420f5,segmentPage:_0x9f871b,collapsed:_0x22ada2,isActive:_0x4ab98c}of _0x18ace9){const _0x25ffa0=_0xd3d843[_0x3bbe60(0x2bc)](_0x2153e1,!0x0,_0x2420f5,_0x9f871b);let _0x12d8d8=_0xd3d843['findNodePositionByCharIndex'](_0x552671,!0x0,_0x2420f5,_0x9f871b);if(_0x12d8d8==null&&(_0x12d8d8=_0xd3d843[_0x3bbe60(0x2bc)](_0x552671-0x1,!0x1,_0x2420f5,_0x9f871b)),_0x4ab98c){const {contentBoxPointGroup:_0x4e140d}=_0x32d287[_0x3bbe60(0x213)](_0x12d8d8,_0x12d8d8);if(_0x4e140d[_0x3bbe60(0x1ed)]===0x0)continue;this['_drawAnchor'](_0x2dd706,_0x4e140d,_0x5730a6,_0x945017,_0x4b928b),this[_0x3bbe60(0x31b)]=this[_0x3bbe60(0x34d)]();}if(_0x25ffa0&&_0x12d8d8){if(_0x54ba71===_0x4503f9[_0x3bbe60(0x207)][_0x3bbe60(0x1c5)]){const _0x5e1751=new _0x48d8f1[(_0x3bbe60(0x1bc))](_0x2717f4,_0xd3d843),{pointGroup:_0x3541ef}=(_0x4c49c7=_0x5e1751[_0x3bbe60(0x213)](_0x25ffa0,_0x12d8d8))!=null?_0x4c49c7:{};if(_0x3541ef==null||_0x3541ef[_0x3bbe60(0x1ed)]===0x0)continue;this[_0x3bbe60(0xfd)](_0x2dd706,_0x3541ef,_0x5730a6,_0x945017);}else{if(!_0x22ada2){const {borderBoxPointGroup:_0x37b4ac}=_0x32d287[_0x3bbe60(0x213)](_0x25ffa0,_0x12d8d8);if(_0x37b4ac[_0x3bbe60(0x1ed)]===0x0)continue;this[_0x3bbe60(0x323)](_0x2dd706,_0x37b4ac,_0x5730a6,_0x945017);}}}}}[_0x34bf02(0x19f)](_0x1f1bad,_0x4e321b,_0x45edad,_0x2114a8,_0x592126){const _0x405393=_0x34bf02,_0x2641b1=this[_0x405393(0x237)](_0x4e321b),{left:_0x506b8a,top:_0x428333,height:_0x45a7c4}=_0x2641b1,_0x5e292c=this[_0x405393(0x1c0)](),_0x154eba=_0x271262/_0x5e292c,_0x2512ed=new _0x285e33[(_0x405393(0x260))](_0x388c1e+_0x4503f9[_0x405393(0x291)][_0x405393(0x273)](_0x382af3),{'left':_0x506b8a+_0x45edad-_0x154eba,'top':_0x428333+_0x2114a8,'height':_0x45a7c4,'width':_0x1e0fa0,'fill':_0x1f1bad||_0x285e33['getColor'](_0x4503f9['COLORS'][_0x405393(0x2e9)],0x0),'strokeWidth':_0x154eba,'stroke':_0x210aef,'evented':!0x0});this[_0x405393(0x29d)]=_0x2512ed,this[_0x405393(0x2b4)][_0x405393(0x281)](_0x2512ed,_0x48d8f1[_0x405393(0x2f1)]);const _0x52047f=new _0x285e33[(_0x405393(0x260))](_0x388c1e+_0x4503f9['Tools'][_0x405393(0x273)](_0x382af3),{'left':_0x506b8a+_0x45edad-_0x154eba,'top':_0x428333+_0x2114a8-_0xfb14f4/0x2,'height':_0xfb14f4,'width':_0xfb14f4,'fill':_0x1f1bad||_0x285e33['getColor'](_0x4503f9['COLORS'][_0x405393(0x2e9)],0x0),'strokeWidth':0x0,'stroke':_0x1f1bad||_0x285e33[_0x405393(0x2a4)](_0x4503f9[_0x405393(0xf0)][_0x405393(0x2e9)],0x0),'evented':!0x1});this[_0x405393(0x1ef)]=_0x52047f,this[_0x405393(0x2b4)]['addObject'](_0x52047f,_0x48d8f1['TEXT_RANGE_LAYER_INDEX']);const _0x34b8c6=new _0x105033(_0x388c1e+_0x4503f9[_0x405393(0x291)][_0x405393(0x273)](_0x382af3),{'left':_0x506b8a+_0x45edad-_0x154eba,'top':_0x428333+_0x2114a8-_0x8587f5,'text':_0x592126,'color':_0x1f1bad});this[_0x405393(0x19b)]=_0x34b8c6,this['_scene']['addObject'](_0x34b8c6,_0x48d8f1[_0x405393(0x2f1)]),this[_0x405393(0x115)]=!0x1;}[_0x34bf02(0x34d)](){const _0x49d630=_0x34bf02,_0xb01152=this['_anchor'][_0x49d630(0x226)][_0x49d630(0x2ed)](()=>{const _0x3998aa=_0x49d630;this[_0x3998aa(0x115)]=!0x0;}),_0x53e425=this[_0x49d630(0x29d)][_0x49d630(0x1bb)][_0x49d630(0x2ed)](()=>{const _0x49d0e0=_0x49d630;this[_0x49d0e0(0xe6)]&&clearTimeout(this[_0x49d0e0(0xe6)]),this['_hideTimer']=setTimeout(()=>{const _0x203ef8=_0x49d0e0;this[_0x203ef8(0x115)]=!0x1;},0x7d0);});return()=>{const _0x228615=_0x49d630;_0xb01152[_0x228615(0x349)](),_0x53e425[_0x228615(0x349)]();};}[_0x34bf02(0x323)](_0x5527cd,_0x4474dd,_0x3f0549,_0x52d399){const _0x37e308=_0x34bf02,_0x381fd9=new _0x4503f9[(_0x37e308(0x2fb))](_0x5527cd)['setAlpha'](0.2)[_0x37e308(0x225)](),_0x31f5f5=new _0x285e33['RegularPolygon'](_0x455096+_0x4503f9[_0x37e308(0x291)][_0x37e308(0x273)](_0x382af3),{'pointsGroup':_0x4474dd,'fill':_0x381fd9||_0x285e33['getColor'](_0x4503f9[_0x37e308(0xf0)][_0x37e308(0x2e9)],0.2),'left':_0x3f0549,'top':_0x52d399,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37e308(0x13c)](_0x31f5f5),this[_0x37e308(0x2b4)][_0x37e308(0x281)](_0x31f5f5,_0x48d8f1[_0x37e308(0x2f1)]);}[_0x34bf02(0xfd)](_0x396701,_0x5e5a17,_0x4433c4,_0x4cb3b5){const _0x410612=_0x34bf02,_0x5a908b=new _0x4503f9[(_0x410612(0x2fb))](_0x396701)[_0x410612(0x100)](0.2)[_0x410612(0x225)](),_0x111634=new _0x285e33['RegularPolygon'](_0x27c403+_0x4503f9[_0x410612(0x291)]['generateRandomId'](_0x382af3),{'pointsGroup':_0x5e5a17,'fill':_0x5a908b||_0x285e33[_0x410612(0x2a4)](_0x4503f9[_0x410612(0xf0)][_0x410612(0x2e9)],0.2),'left':_0x4433c4,'top':_0x4cb3b5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x410612(0x13c)](_0x111634),this[_0x410612(0x2b4)][_0x410612(0x281)](_0x111634,_0x48d8f1['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x12f68d){const _0x3ef683=_0x12f68d[0x0],_0x45e106=_0x3ef683[0x0],_0x380bcf=_0x3ef683[0x2],{x:_0x1068ef,y:_0x5a3409}=_0x45e106,{x:_0x23e5df,y:_0xd6c85a}=_0x380bcf;return{'left':_0x1068ef,'top':_0x5a3409,'width':_0x23e5df-_0x1068ef,'height':_0xd6c85a-_0x5a3409};}[_0x34bf02(0x1c0)](){const _0x13aa48=_0x34bf02,{scaleX:_0x5dd865,scaleY:_0x5ef209}=this[_0x13aa48(0x2b4)]['getAncestorScale']();return Math[_0x13aa48(0x306)](_0x5dd865,_0x5ef209);}}var _0x45f5ea=Object[_0x34bf02(0x2d1)],_0x2bfeca=(_0x503596,_0x2a3ed0,_0x4a5b6d,_0x421470)=>{const _0x39442f=_0x34bf02;for(var _0x57b670=_0x421470>0x1?void 0x0:_0x421470?_0x45f5ea(_0x2a3ed0,_0x4a5b6d):_0x2a3ed0,_0x3b2f2e=_0x503596[_0x39442f(0x1ed)]-0x1,_0x391c63;_0x3b2f2e>=0x0;_0x3b2f2e--)(_0x391c63=_0x503596[_0x3b2f2e])&&(_0x57b670=_0x391c63(_0x57b670)||_0x57b670);return _0x57b670;},_0x2c32b7=(_0x2f9da6,_0xae4094)=>(_0x4f3325,_0x3d7b1c)=>_0xae4094(_0x4f3325,_0x3d7b1c,_0x2f9da6);let _0x9b03cc=class extends _0x4503f9['RxDisposable']{constructor(_0x444d18,_0x5d1e33,_0x147371,_0x1fa6e1,_0x19b770){const _0x534627=_0x34bf02;super(),_0x53cb2c(this,'_cursorShapes',[]),_0x53cb2c(this,_0x534627(0x310),[]),(this[_0x534627(0x25c)]=_0x444d18,this[_0x534627(0x145)]=_0x5d1e33,this[_0x534627(0x2c2)]=_0x147371,this[_0x534627(0x25b)]=_0x1fa6e1,this[_0x534627(0x27e)]=_0x19b770,this[_0x534627(0x1a2)]());}[_0x34bf02(0x1a2)](){const _0x43e054=_0x34bf02,_0x3d84af=this[_0x43e054(0x25c)][_0x43e054(0x2c5)],_0x4afce0=this[_0x43e054(0x145)];this[_0x43e054(0x218)](_0x220c87['combineLatest']([this[_0x43e054(0x2c2)][_0x43e054(0x2b9)](_0x3d84af),this[_0x43e054(0x27e)]['currentTheme$']])[_0x43e054(0x13e)](_0x51e28e['map'](([_0x273e69,_0x32569c])=>({'skeleton':_0x4afce0[_0x43e054(0x22e)](),'cursors':[..._0x273e69[_0x43e054(0x304)]()][_0x43e054(0x1c6)](_0x152cf9=>({..._0x152cf9,'color':_0x32569c[_0x152cf9[_0x43e054(0x1dd)]]}))})))[_0x43e054(0x2c3)](_0x5de3c3=>{const _0xe11582=_0x43e054;if(this[_0xe11582(0x2c9)](),_0x5de3c3){const {skeleton:_0x250a6b,cursors:_0x386061}=_0x5de3c3;this[_0xe11582(0x104)](_0x250a6b,_0x386061);}})),this[_0x43e054(0x171)](),this[_0x43e054(0x12e)]();}[_0x34bf02(0x104)](_0x2492b8,_0x2a6dbb){const _0x327ecb=_0x34bf02,{scene:_0x39414f,mainComponent:_0x593531}=this[_0x327ecb(0x25c)],_0x1d2fb0=_0x2a6dbb[_0x327ecb(0x333)](_0x21877a=>new _0x330ecf(_0x21877a,_0x39414f,_0x2492b8,_0x593531));this[_0x327ecb(0x335)]=_0x1d2fb0,this[_0x327ecb(0x310)]=_0x2a6dbb;}[_0x34bf02(0x162)](){const _0x43873b=_0x34bf02;this[_0x43873b(0x2c9)]();const {scene:_0x56ab29,mainComponent:_0x7e21c1}=this[_0x43873b(0x25c)],_0xe24643=this[_0x43873b(0x145)][_0x43873b(0x22e)](),_0x5ab721=this['_cursors'][_0x43873b(0x333)](_0x818c2d=>new _0x330ecf(_0x818c2d,_0x56ab29,_0xe24643,_0x7e21c1));this['_cursorShapes']=_0x5ab721;}[_0x34bf02(0x2c9)](){const _0x41cfbb=_0x34bf02;this[_0x41cfbb(0x335)][_0x41cfbb(0x16e)](_0x504aee=>_0x504aee[_0x41cfbb(0x113)]()),this['_cursorShapes']=[];}[_0x34bf02(0x12e)](){const _0x4410ee=_0x34bf02,_0x3a1bde=[_0x48d8f1[_0x4410ee(0x1c1)]['id']];this[_0x4410ee(0x218)](this['_commandService']['onCommandExecuted'](_0x587440=>{const _0x70222=_0x4410ee;_0x3a1bde[_0x70222(0xd4)](_0x587440['id'])&&_0x587440['params'][_0x70222(0x2c5)]===this['_context'][_0x70222(0x2c5)]&&this[_0x70222(0x162)]();}));}[_0x34bf02(0x171)](){const _0x37a613=_0x34bf02;this[_0x37a613(0x218)](_0x4503f9['fromEventSubject'](this[_0x37a613(0x25c)][_0x37a613(0x111)][_0x37a613(0x26f)])[_0x37a613(0x13e)](_0x51e28e[_0x37a613(0x244)](_0x631c60=>_0x631c60[_0x37a613(0x2a6)]===_0x285e33[_0x37a613(0x246)][_0x37a613(0xf1)]),_0x51e28e['throttleTime'](0x10))[_0x37a613(0x2c3)](()=>{this['_refreshCollabCursors']();}));}};_0x9b03cc=_0x2bfeca([_0x2c32b7(0x1,_0x4503f9['Inject'](_0x4a3777[_0x34bf02(0x275)])),_0x2c32b7(0x2,_0x4503f9[_0x34bf02(0x224)](_0x1c5618)),_0x2c32b7(0x3,_0x4503f9[_0x34bf02(0x16b)]),_0x2c32b7(0x4,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0x135)]))],_0x9b03cc);const _0x151edf=0x1,_0x8b1134=1.5;class _0x298a71 extends _0x285e33['Shape']{constructor(_0x9d348,_0x1c7298){const _0x3499e3=_0x34bf02;super(_0x9d348,_0x1c7298),_0x53cb2c(this,_0x3499e3(0x256)),_0x53cb2c(this,'_hovered',!0x1),_0x53cb2c(this,_0x3499e3(0x32a)),_0x53cb2c(this,_0x3499e3(0x288),''),_0x53cb2c(this,_0x3499e3(0x315),'top'),_0x53cb2c(this,'_backgroundColor'),(_0x1c7298&&this['setShapeProps'](_0x1c7298),this['onPointerEnter$'][_0x3499e3(0x2ed)](()=>this[_0x3499e3(0x2d9)]({'hovered':!0x0})),this[_0x3499e3(0x1bb)][_0x3499e3(0x2ed)](()=>this[_0x3499e3(0x2d9)]({'hovered':!0x1})));}[_0x34bf02(0x2d9)](_0x278538){const _0x19fe63=_0x34bf02;var _0x576d32,_0x109090,_0x5b567e,_0x2a58f7,_0x43cc89,_0x1bed7c;this[_0x19fe63(0x256)]=(_0x576d32=_0x278538['color'])!=null?_0x576d32:this[_0x19fe63(0x256)],this[_0x19fe63(0xfb)]=(_0x109090=_0x278538[_0x19fe63(0x232)])!=null?_0x109090:this[_0x19fe63(0xfb)],this[_0x19fe63(0x32a)]=(_0x5b567e=_0x278538[_0x19fe63(0x2bd)])!=null?_0x5b567e:this['_range'],this['_name']=(_0x2a58f7=_0x278538[_0x19fe63(0x219)])!=null?_0x2a58f7:this[_0x19fe63(0x288)],this[_0x19fe63(0x315)]=(_0x43cc89=_0x278538['labelPosition'])!=null?_0x43cc89:this['_labelPosition'],this[_0x19fe63(0x2d7)]=(_0x1bed7c=_0x278538['backgroundColor'])!=null?_0x1bed7c:this[_0x19fe63(0x2d7)],this['transformByState']({'width':_0x278538[_0x19fe63(0x16d)],'height':_0x278538[_0x19fe63(0x241)]});}[_0x34bf02(0x1a3)](_0x45eac7){const _0x1c3a02=_0x34bf02,{row:_0x338e6c,column:_0x49a66}=_0x45eac7;if(_0x338e6c>=this['_range']['startRow']&&_0x338e6c<=this[_0x1c3a02(0x32a)][_0x1c3a02(0x180)]&&_0x49a66>=this[_0x1c3a02(0x32a)]['startColumn']&&_0x49a66<=this['_range'][_0x1c3a02(0xb7)]){this[_0x1c3a02(0x2d9)]({'hovered':!0x0});return;}this[_0x1c3a02(0x2d9)]({'hovered':!0x1});}[_0x34bf02(0x325)](_0x18d5f4){return!0x1;}[_0x34bf02(0x177)](_0xca0faa){const _0x4d9a0f=_0x34bf02;_0x285e33[_0x4d9a0f(0x260)][_0x4d9a0f(0x32e)](_0xca0faa,{'width':this[_0x4d9a0f(0x16d)],'height':this['height'],'strokeWidth':_0x8b1134,'stroke':this[_0x4d9a0f(0x256)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4d9a0f(0xfb)]&&(_0xca0faa[_0x4d9a0f(0x18e)](),_0xca0faa[_0x4d9a0f(0x14b)](0x1,0x0,0x0,0x1,this[_0x4d9a0f(0x16d)],this['_labelPosition']===_0x4d9a0f(0x18d)?0x0:-0x14),_0x105033[_0x4d9a0f(0x32e)](_0xca0faa,{'text':this[_0x4d9a0f(0x288)],'color':this['_color']}),_0xca0faa[_0x4d9a0f(0x15d)]());}}var _0x2cbcc5=Object['getOwnPropertyDescriptor'],_0x203aec=(_0x39de19,_0x4c1ab2,_0x2cf374,_0x4614ee)=>{for(var _0x5c8bc3=_0x4614ee>0x1?void 0x0:_0x4614ee?_0x2cbcc5(_0x4c1ab2,_0x2cf374):_0x4c1ab2,_0x2f8301=_0x39de19['length']-0x1,_0x4ef879;_0x2f8301>=0x0;_0x2f8301--)(_0x4ef879=_0x39de19[_0x2f8301])&&(_0x5c8bc3=_0x4ef879(_0x5c8bc3)||_0x5c8bc3);return _0x5c8bc3;},_0x28c756=(_0x33385d,_0x18d312)=>(_0x5601b9,_0x267c6a)=>_0x18d312(_0x5601b9,_0x267c6a,_0x33385d);const _0x2e3b73=0x1389;let _0x118083=class extends _0x4503f9[_0x34bf02(0x305)]{constructor(_0xbe7805,_0x62b789,_0x32e40d,_0x377b02){const _0x531216=_0x34bf02;super(),_0x53cb2c(this,_0x531216(0x310),new Set()),_0x53cb2c(this,_0x531216(0x239),null),(this[_0x531216(0x25c)]=_0xbe7805,this['_sheetSkeletonManagerService']=_0x62b789,this[_0x531216(0x2c2)]=_0x32e40d,this[_0x531216(0x27e)]=_0x377b02,this[_0x531216(0x1a2)]());}[_0x34bf02(0x1a2)](){const _0xb0ab11=_0x34bf02;this[_0xb0ab11(0x307)][_0xb0ab11(0x2a1)][_0xb0ab11(0x13e)](_0x51e28e[_0xb0ab11(0x27d)](this[_0xb0ab11(0x10a)]),_0x51e28e[_0xb0ab11(0x1e0)](_0xd7f5b9=>{const _0x1ddd66=_0xb0ab11;if(_0xd7f5b9){const _0x44b10c=_0xd7f5b9[_0x1ddd66(0x18a)];return _0x220c87[_0x1ddd66(0x167)](this[_0x1ddd66(0x2c2)]['getCollabCursors$'](this[_0x1ddd66(0x25c)][_0x1ddd66(0x2c5)]),this[_0x1ddd66(0x27e)][_0x1ddd66(0x196)])[_0x1ddd66(0x13e)](_0x51e28e[_0x1ddd66(0x333)](([_0x27711c,_0x427653])=>{const _0x1e8bde=_0x1ddd66,_0x36ecdc=new Map();return _0x27711c[_0x1e8bde(0x16e)]((_0x4d4630,_0x4a3332)=>{const _0x50a6b4=_0x1e8bde;if(_0x4d4630['sheetID']===_0x44b10c){const _0x4740fa={..._0x4d4630};_0x4740fa[_0x50a6b4(0x1dd)]=_0x427653[_0x4d4630['color']],_0x36ecdc['set'](_0x4a3332,_0x4740fa);}}),{'skeleton':_0xd7f5b9,'cursors':_0x36ecdc};}));}return _0x220c87['of']({'skeleton':null,'cursors':new Map()});}))[_0xb0ab11(0x2c3)](({skeleton:_0x2db3fa,cursors:_0x34173f})=>{const _0x57c81f=_0xb0ab11;this[_0x57c81f(0x2c9)](),_0x2db3fa&&this[_0x57c81f(0x104)](_0x2db3fa,_0x34173f);}),this[_0xb0ab11(0x307)][_0xb0ab11(0x2a1)][_0xb0ab11(0x2c3)](_0x567222=>{const _0x121f24=_0xb0ab11;if(_0x567222==null)return;const {skeleton:_0x3a3ace}=_0x567222,{scene:_0x564f0d}=this[_0x121f24(0x25c)];_0x564f0d[_0x121f24(0x2c7)][_0x121f24(0x2ed)](_0x4503f9[_0x121f24(0x15c)](_0x237d05=>{const _0x3d97d0=_0x121f24;var _0x203783,_0x11dc74;const {offsetX:_0x28fa68,offsetY:_0x5bfc4f}=_0x237d05,{x:_0x489df6,y:_0x169cff}=_0x564f0d[_0x3d97d0(0xd3)](_0x285e33[_0x3d97d0(0x322)]['FromArray']([_0x28fa68,_0x5bfc4f])),{scaleX:_0x35303e,scaleY:_0x1df928}=_0x564f0d[_0x3d97d0(0x2ef)](),_0x5ed78c=_0x564f0d[_0x3d97d0(0x234)](_0x285e33[_0x3d97d0(0x30e)]['VIEW_MAIN']),_0x29a197=_0x564f0d[_0x3d97d0(0x33a)](_0x285e33[_0x3d97d0(0x322)][_0x3d97d0(0x254)]([_0x489df6,_0x169cff]),_0x5ed78c),_0x2d0ba5=_0x3a3ace[_0x3d97d0(0x1ca)](_0x28fa68,_0x5bfc4f,_0x35303e,_0x1df928,_0x29a197);((_0x203783=this[_0x3d97d0(0x239)])==null?void 0x0:_0x203783['column'])===_0x2d0ba5[_0x3d97d0(0x235)]&&((_0x11dc74=this['_lastPointer'])==null?void 0x0:_0x11dc74[_0x3d97d0(0x131)])===_0x2d0ba5[_0x3d97d0(0x131)]||this[_0x3d97d0(0x310)][_0x3d97d0(0x16e)](_0x5c70a0=>{const _0x4f50eb=_0x3d97d0;_0x5c70a0[_0x4f50eb(0x1a3)](_0x2d0ba5);});},0x64));});}[_0x34bf02(0x104)](_0x4d069b,_0x3ec50b){const _0x35ae27=_0x34bf02;var _0x358870;const _0x2ed54d=(_0x358870=this['_sheetSkeletonManagerService'][_0x35ae27(0x32c)]())==null?void 0x0:_0x358870['skeleton'];if(!_0x2ed54d)return;const _0x2599c5=this[_0x35ae27(0x1f6)]();if(!_0x2599c5)return;this[_0x35ae27(0x310)][_0x35ae27(0x16e)](_0x569271=>{const _0x39ec24=_0x35ae27;_0x569271[_0x39ec24(0xc4)]();});const {scene:_0xf1b5fe}=_0x2599c5,_0x1d6ac6=_0x27b48c(Array[_0x35ae27(0x2dd)](_0x3ec50b[_0x35ae27(0x304)]()))['map'](_0x3280af=>{const _0xedb53c=_0x35ae27,{color:_0x4bb13d,range:_0x3956b1,name:_0x32b7b5,selection:_0x1e4905,sheetID:_0x674952}=_0x3280af,{startColumn:_0x5aa2ab,startRow:_0x54ba18,endColumn:_0x163051,endRow:_0x4366dc}=_0x3956b1,_0x590e1f=_0x58c0c3[_0xedb53c(0xcd)](_0x54ba18,_0x5aa2ab,_0xf1b5fe,_0x2ed54d),_0x231308=_0x58c0c3[_0xedb53c(0xcd)](_0x4366dc,_0x163051,_0xf1b5fe,_0x2ed54d),{columnHeaderHeightAndMarginTop:_0x4d0ba8}=_0x2ed54d,{startX:_0x55fee3,startY:_0x197bb5}=_0x590e1f,{endX:_0x286830,endY:_0x1a4a8f}=_0x231308,_0x2c3513=_0x286830-_0x55fee3,_0x184ee9=_0x1a4a8f-_0x197bb5,_0x284e09={'labelPosition':_0x197bb5-_0x4d0ba8>=_0x8587f5?_0xedb53c(0x181):_0xedb53c(0x18d),'sheetID':_0x674952,'range':_0x3956b1,'color':_0x4bb13d,'name':_0x32b7b5,'selection':_0x1e4905,'left':_0x55fee3,'top':_0x197bb5,'width':_0x2c3513,'height':_0x184ee9,'evented':!0x1,'zIndex':_0x2e3b73};return new _0x298a71(_0x32b7b5,_0x284e09);});_0xf1b5fe[_0x35ae27(0x15e)](_0x1d6ac6,_0x151edf),this['_cursors']=new Set(_0x1d6ac6);}['_removeCollabCursors'](){const _0xd6ed6e=_0x34bf02;var _0x129af7;(_0x129af7=this[_0xd6ed6e(0x310)])==null||_0x129af7['forEach'](_0x4b6ae3=>_0x4b6ae3[_0xd6ed6e(0x113)]());}[_0x34bf02(0x1f6)](){const _0x5e679a=_0x34bf02;return _0x58c0c3['getSheetObject'](this[_0x5e679a(0x25c)][_0x5e679a(0x266)],this[_0x5e679a(0x25c)]);}};_0x118083=_0x203aec([_0x28c756(0x1,_0x4503f9['Inject'](_0x58c0c3[_0x34bf02(0xe0)])),_0x28c756(0x2,_0x4503f9[_0x34bf02(0x224)](_0x1c5618)),_0x28c756(0x3,_0x4503f9['Inject'](_0x4503f9[_0x34bf02(0x135)]))],_0x118083);function _0x27b48c(_0x2c0eab){const _0x44eae8=_0x34bf02,_0x266206=new Map();return _0x2c0eab[_0x44eae8(0x16e)](_0x289b67=>{const _0x225e37=_0x44eae8;if(_0x266206[_0x225e37(0xf6)](_0x289b67[_0x225e37(0x302)])){const _0x803322=_0x266206[_0x225e37(0x223)](_0x289b67[_0x225e37(0x302)]);_0x803322['name']+=',\x20'+_0x289b67[_0x225e37(0x219)];}else _0x266206[_0x225e37(0x250)](_0x289b67[_0x225e37(0x302)],_0x289b67);}),Array[_0x44eae8(0x2dd)](_0x266206[_0x44eae8(0x304)]());}var _0x3cd3a8=function(){const _0x200360=_0x34bf02;return _0x3cd3a8=Object[_0x200360(0x2eb)]||function(_0x41167d){const _0x579ace=_0x200360;for(var _0x3a3e0a,_0x2f64e8=0x1,_0x323709=arguments[_0x579ace(0x1ed)];_0x2f64e8<_0x323709;_0x2f64e8++){_0x3a3e0a=arguments[_0x2f64e8];for(var _0x223eac in _0x3a3e0a)Object['prototype'][_0x579ace(0x245)][_0x579ace(0x1c9)](_0x3a3e0a,_0x223eac)&&(_0x41167d[_0x223eac]=_0x3a3e0a[_0x223eac]);}return _0x41167d;},_0x3cd3a8[_0x200360(0x146)](this,arguments);},_0x15cc81=function(_0x2b4f48,_0x13d364){const _0x5e9f6a=_0x34bf02;var _0x500460={};for(var _0x5033f6 in _0x2b4f48)Object[_0x5e9f6a(0x34a)][_0x5e9f6a(0x245)]['call'](_0x2b4f48,_0x5033f6)&&_0x13d364[_0x5e9f6a(0xeb)](_0x5033f6)<0x0&&(_0x500460[_0x5033f6]=_0x2b4f48[_0x5033f6]);if(_0x2b4f48!=null&&typeof Object['getOwnPropertySymbols']==_0x5e9f6a(0x264)){for(var _0x26ce23=0x0,_0x5033f6=Object[_0x5e9f6a(0x15f)](_0x2b4f48);_0x26ce23<_0x5033f6[_0x5e9f6a(0x1ed)];_0x26ce23++)_0x13d364[_0x5e9f6a(0xeb)](_0x5033f6[_0x26ce23])<0x0&&Object['prototype'][_0x5e9f6a(0x1b8)][_0x5e9f6a(0x1c9)](_0x2b4f48,_0x5033f6[_0x26ce23])&&(_0x500460[_0x5033f6[_0x26ce23]]=_0x2b4f48[_0x5033f6[_0x26ce23]]);}return _0x500460;},_0x239880=_0x4e4ecf['forwardRef'](function(_0x2f1740,_0x1ee2ac){const _0x1dc762=_0x34bf02;var _0x4ba963=_0x2f1740['icon'],_0x39993e=_0x2f1740['id'],_0x12f457=_0x2f1740[_0x1dc762(0x313)],_0x33d8a6=_0x2f1740['extend'],_0x2ce51d=_0x15cc81(_0x2f1740,[_0x1dc762(0x229),'id',_0x1dc762(0x313),_0x1dc762(0x2a5)]),_0xd84f81=_0x1dc762(0x2b2)[_0x1dc762(0xd2)](_0x39993e,'\x20')[_0x1dc762(0xd2)](_0x12f457||'')[_0x1dc762(0x130)](),_0x46466b=_0x4e4ecf[_0x1dc762(0xdb)]('_'['concat'](_0x8d208c()));return _0x28a30a(_0x4ba963,''[_0x1dc762(0xd2)](_0x39993e),{'defIds':_0x4ba963['defIds'],'idSuffix':_0x46466b[_0x1dc762(0x340)]},_0x3cd3a8({'ref':_0x1ee2ac,'className':_0xd84f81},_0x2ce51d),_0x33d8a6);});function _0x28a30a(_0x51f391,_0x4ae389,_0x128d7b,_0x1c6867,_0x390cff){const _0x360d48=_0x34bf02;return _0x4e4ecf[_0x360d48(0xb8)](_0x51f391[_0x360d48(0x319)],_0x3cd3a8(_0x3cd3a8({'key':_0x4ae389},_0x5ed9cf(_0x51f391,_0x128d7b,_0x390cff)),_0x1c6867),(_0x1608a7(_0x51f391,_0x128d7b)[_0x360d48(0x2b6)]||[])['map'](function(_0xb6a841,_0x3479a3){const _0x4026fe=_0x360d48;return _0x28a30a(_0xb6a841,''['concat'](_0x4ae389,'-')[_0x4026fe(0xd2)](_0x51f391['tag'],'-')[_0x4026fe(0xd2)](_0x3479a3),_0x128d7b,void 0x0,_0x390cff);}));}function _0x5ed9cf(_0x506dec,_0x7ef622,_0x10bc37){const _0x53c385=_0x34bf02;var _0x28a47b=_0x3cd3a8({},_0x506dec['attrs']);_0x10bc37!=null&&_0x10bc37[_0x53c385(0x344)]&&_0x28a47b[_0x53c385(0x109)]===_0x53c385(0x344)&&(_0x28a47b['fill']=_0x10bc37[_0x53c385(0x344)]),_0x506dec['tag']==='mask'&&_0x28a47b['id']&&(_0x28a47b['id']=_0x28a47b['id']+_0x7ef622[_0x53c385(0x31f)]),Object['entries'](_0x28a47b)[_0x53c385(0x16e)](function(_0x25b7be){const _0x332b71=_0x53c385;var _0x4e4cc7=_0x25b7be[0x0],_0x3abfdd=_0x25b7be[0x1];_0x4e4cc7===_0x332b71(0x320)&&typeof _0x3abfdd==_0x332b71(0x329)&&(_0x28a47b[_0x4e4cc7]=_0x3abfdd[_0x332b71(0x172)](/url\(#(.*)\)/,_0x332b71(0x17d)[_0x332b71(0xd2)](_0x7ef622[_0x332b71(0x31f)],')')));});var _0x1a767e=_0x7ef622['defIds'];return!_0x1a767e||_0x1a767e[_0x53c385(0x1ed)]===0x0||(_0x506dec['tag']===_0x53c385(0xdc)&&_0x28a47b[_0x53c385(0x2aa)]&&(_0x28a47b[_0x53c385(0x2aa)]=_0x28a47b['xlink:href']+_0x7ef622[_0x53c385(0x31f)]),Object[_0x53c385(0x164)](_0x28a47b)['forEach'](function(_0x2dd8aa){const _0x214b9f=_0x53c385;var _0x442746=_0x2dd8aa[0x0],_0x29805c=_0x2dd8aa[0x1];typeof _0x29805c==_0x214b9f(0x329)&&(_0x28a47b[_0x442746]=_0x29805c['replace'](/url\(#(.*)\)/,_0x214b9f(0x17d)[_0x214b9f(0xd2)](_0x7ef622['idSuffix'],')')));})),_0x28a47b;}function _0x1608a7(_0x3d953b,_0x1cff7c){const _0x10acd5=_0x34bf02;var _0x1b6bbb,_0x5ab628=_0x1cff7c[_0x10acd5(0x179)];return!_0x5ab628||_0x5ab628['length']===0x0?_0x3d953b:_0x3d953b[_0x10acd5(0x319)]===_0x10acd5(0x23d)&&(!((_0x1b6bbb=_0x3d953b[_0x10acd5(0x2b6)])===null||_0x1b6bbb===void 0x0)&&_0x1b6bbb[_0x10acd5(0x1ed)])?_0x3cd3a8(_0x3cd3a8({},_0x3d953b),{'children':_0x3d953b[_0x10acd5(0x2b6)][_0x10acd5(0x333)](function(_0x1de2de){const _0x58e447=_0x10acd5;return typeof _0x1de2de[_0x58e447(0x1c8)]['id']==_0x58e447(0x329)&&_0x5ab628&&_0x5ab628[_0x58e447(0xeb)](_0x1de2de[_0x58e447(0x1c8)]['id'])>-0x1?_0x3cd3a8(_0x3cd3a8({},_0x1de2de),{'attrs':_0x3cd3a8(_0x3cd3a8({},_0x1de2de[_0x58e447(0x1c8)]),{'id':_0x1de2de['attrs']['id']+_0x1cff7c[_0x58e447(0x31f)]})}):_0x1de2de;})}):_0x3d953b;}function _0x8d208c(){const _0x5e5680=_0x34bf02;return Math[_0x5e5680(0x348)]()[_0x5e5680(0x1f9)](0x24)['substring'](0x2,0x8);}_0x239880[_0x34bf02(0x1e2)]='UniverIcon';var _0x23210f={'tag':_0x34bf02(0x1f7),'attrs':{'fill':_0x34bf02(0x2b5),'viewBox':_0x34bf02(0x1d2),'width':_0x34bf02(0x23f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x34bf02(0x23b)},'children':[{'tag':_0x34bf02(0x175),'attrs':{'stroke':_0x34bf02(0x2ee),'d':_0x34bf02(0x2df),'strokeLinecap':_0x34bf02(0x1cd),'strokeLinejoin':_0x34bf02(0x1cd),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x34bf02(0x120)},'children':[{'tag':_0x34bf02(0x175),'attrs':{'fill':_0x34bf02(0x2e7),'d':_0x34bf02(0xd6)}}]}]}],'defIds':[_0x34bf02(0x120)]},_0x49edef=_0x4e4ecf[_0x34bf02(0x211)](function(_0x370c50,_0x1e0053){const _0x5a4c44=_0x34bf02;return _0x4e4ecf[_0x5a4c44(0xb8)](_0x239880,Object[_0x5a4c44(0x2eb)]({},_0x370c50,{'id':_0x5a4c44(0x2f0),'ref':_0x1e0053,'icon':_0x23210f}));});_0x49edef[_0x34bf02(0x1e2)]=_0x34bf02(0xe3);var _0x2aa8e7={'tag':_0x34bf02(0x1f7),'attrs':{'fill':_0x34bf02(0x2b5),'viewBox':_0x34bf02(0x142),'width':_0x34bf02(0x23f),'height':_0x34bf02(0x23f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x34bf02(0x2ee),'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':_0x34bf02(0x1cd),'strokeLinejoin':_0x34bf02(0x1cd),'strokeWidth':1.2}}]},{'tag':_0x34bf02(0x23d),'attrs':{},'children':[{'tag':_0x34bf02(0xd1),'attrs':{'id':_0x34bf02(0x2a3)},'children':[{'tag':_0x34bf02(0x175),'attrs':{'fill':'#fff','d':_0x34bf02(0xd6),'transform':_0x34bf02(0x2a7)}}]}]}],'defIds':[_0x34bf02(0x2a3)]},_0x472f4a=_0x4e4ecf['forwardRef'](function(_0x39f67c,_0x27f550){const _0x1218bf=_0x34bf02;return _0x4e4ecf[_0x1218bf(0xb8)](_0x239880,Object['assign']({},_0x39f67c,{'id':_0x1218bf(0x22c),'ref':_0x27f550,'icon':_0x2aa8e7}));});_0x472f4a[_0x34bf02(0x1e2)]='OnLineSingle';const _0x4b84a5={'onlineStatusIcon':_0x34bf02(0x16c),'onlineStatusTitle':_0x34bf02(0x295),'onlineStatus':_0x34bf02(0x143),'online':_0x34bf02(0x20c),'offline':'univer-offline'};function _0x14ecc7(_0x435c14){const _0x4efdef=_0x34bf02;switch(_0x435c14){case _0x515138['CollaborationStatus'][_0x4efdef(0xbb)]:return'collabStatus.offline';case _0x515138[_0x4efdef(0x2b1)][_0x4efdef(0x154)]:return _0x4efdef(0x206);case _0x515138[_0x4efdef(0x2b1)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x515138['CollaborationStatus'][_0x4efdef(0x346)]:return _0x4efdef(0x2cf);case _0x515138[_0x4efdef(0x2b1)][_0x4efdef(0xbd)]:case _0x515138[_0x4efdef(0x2b1)][_0x4efdef(0x1b1)]:return _0x4efdef(0xf4);case _0x515138[_0x4efdef(0x2b1)][_0x4efdef(0x10e)]:case _0x515138[_0x4efdef(0x2b1)][_0x4efdef(0x11f)]:return'collabStatus.synced';}}function _0x489b70(_0x165a7a){const _0x5c4de0=_0x34bf02,{status$:_0x28587d}=_0x165a7a,_0x347eed=_0x145532[_0x5c4de0(0x265)](_0x28587d,_0x515138[_0x5c4de0(0x2b1)][_0x5c4de0(0x346)]),_0x29c295=_0x145532['useDependency'](_0x4503f9[_0x5c4de0(0xef)]),_0x5bf77a=_0x145532[_0x5c4de0(0x1bf)](_0x515138['CollaborationSessionService']),_0x86c69=_0x347eed!==_0x515138[_0x5c4de0(0x2b1)][_0x5c4de0(0xbb)],_0x2e32e2=_0x29c295['t'](_0x14ecc7(_0x347eed)),_0x16dc90=_0x556252[_0x5c4de0(0x214)](_0x4b84a5[_0x5c4de0(0x25d)],{[_0x4b84a5[_0x5c4de0(0xc9)]]:_0x86c69,[_0x4b84a5['offline']]:!_0x86c69}),_0x487d0e=_0x86c69?_0x5d20f6[_0x5c4de0(0x18f)](_0x472f4a,{}):_0x5d20f6[_0x5c4de0(0x18f)](_0x49edef,{}),_0x4b2540=_0x4e4ecf[_0x5c4de0(0x1d7)](()=>{const _0x23cde5=_0x5c4de0;_0x86c69||_0x5bf77a[_0x23cde5(0x24f)]();},[_0x86c69,_0x5bf77a]);function _0x57fbac(){const _0x495dc5=_0x5c4de0;return _0x5d20f6[_0x495dc5(0x149)]('div',{'className':_0x556252['clsx'](_0x16dc90,_0x495dc5(0x297)),'onClick':_0x4b2540,'children':[_0x5d20f6[_0x495dc5(0x18f)](_0x495dc5(0x2fd),{'className':_0x4b84a5[_0x495dc5(0x2c6)],'children':_0x487d0e}),_0x5d20f6[_0x495dc5(0x18f)](_0x495dc5(0x2fd),{'className':_0x4b84a5[_0x495dc5(0x1c3)],'children':_0x2e32e2})]});}return _0x86c69?_0x57fbac():_0x5d20f6[_0x5c4de0(0x18f)](_0x556252['Tooltip'],{'title':_0x29c295['t'](_0x5c4de0(0xc0)),'children':_0x57fbac()});}var _0x59ed37=Object[_0x34bf02(0x2d1)],_0x3bf018=(_0x106657,_0x6dc6f7,_0x5181c4,_0xf285f7)=>{for(var _0x26d4d8=_0xf285f7>0x1?void 0x0:_0xf285f7?_0x59ed37(_0x6dc6f7,_0x5181c4):_0x6dc6f7,_0x23afad=_0x106657['length']-0x1,_0x15b225;_0x23afad>=0x0;_0x23afad--)(_0x15b225=_0x106657[_0x23afad])&&(_0x26d4d8=_0x15b225(_0x26d4d8)||_0x26d4d8);return _0x26d4d8;},_0x4711f3=(_0x3fce2c,_0x246a0c)=>(_0x2e6d7d,_0x2b9978)=>_0x246a0c(_0x2e6d7d,_0x2b9978,_0x3fce2c);_0xb9d8f1[_0x34bf02(0x2e0)]=class extends _0x4503f9[_0x34bf02(0x28c)]{constructor(_0x2d21f8,_0x5e7ceb,_0xa569c1,_0x118c48){const _0x28c18c=_0x34bf02;super(),_0x53cb2c(this,_0x28c18c(0x2c1),new _0x220c87[(_0x28c18c(0x11d))](_0x515138['CollaborationStatus']['NOT_COLLAB'])),(this[_0x28c18c(0x1d9)]=_0x2d21f8,this[_0x28c18c(0x17c)]=_0x5e7ceb,this[_0x28c18c(0x2ff)]=_0xa569c1,this[_0x28c18c(0x1f3)]=_0x118c48,this['_initStatusComponent'](),this[_0x28c18c(0x2d8)]());}[_0x34bf02(0x2d8)](){const _0x1e0e9c=_0x34bf02;this[_0x1e0e9c(0x218)](this['_univerInstanceService'][_0x1e0e9c(0x119)][_0x1e0e9c(0x13e)](_0x220c87[_0x1e0e9c(0x1e0)](()=>{const _0x5e0c7e=_0x1e0e9c,_0x4db0d2=this[_0x5e0c7e(0x1d9)][_0x5e0c7e(0xf2)]();return _0x4db0d2?this[_0x5e0c7e(0x2ff)][_0x5e0c7e(0x2a2)](_0x4db0d2['getUnitId']()):_0x220c87['of'](null);}),_0x220c87[_0x1e0e9c(0x1e0)](_0x131b95=>_0x131b95?_0x131b95['status$']:_0x220c87['of'](_0x515138[_0x1e0e9c(0x2b1)][_0x1e0e9c(0x346)])))[_0x1e0e9c(0x2c3)](_0x2cf140=>{const _0x124558=_0x1e0e9c;this[_0x124558(0x2c1)][_0x124558(0x159)](_0x2cf140);}));}[_0x34bf02(0x2d4)](){const _0x4c38f3=_0x34bf02;this[_0x4c38f3(0x218)](this['_uiPartsService']['registerComponent'](_0x145532[_0x4c38f3(0x139)][_0x4c38f3(0x1af)],()=>_0x145532[_0x4c38f3(0xb6)](_0x340729({'status$':this['_status$'][_0x4c38f3(0x317)]()}),this[_0x4c38f3(0x17c)])));}},_0xb9d8f1[_0x34bf02(0x2e0)]=_0x3bf018([_0x4711f3(0x0,_0x4503f9[_0x34bf02(0x182)]),_0x4711f3(0x1,_0x4503f9['Inject'](_0x4503f9[_0x34bf02(0x231)])),_0x4711f3(0x2,_0x4503f9[_0x34bf02(0x224)](_0x515138[_0x34bf02(0x161)])),_0x4711f3(0x3,_0x145532[_0x34bf02(0x255)])],_0xb9d8f1['DesktopCollaborationStatusDisplayController']);function _0x340729(_0x5f2c9a){const {status$:_0x497ba0}=_0x5f2c9a;return function(){const _0x49255d=_0x23f0;return _0x5d20f6[_0x49255d(0x18f)](_0x489b70,{'status$':_0x497ba0});};}var _0x2b7da5=Object[_0x34bf02(0x2d1)],_0x49f6ca=(_0x16218f,_0x42ad0a,_0x506614,_0x1cce28)=>{const _0x4ee47c=_0x34bf02;for(var _0x5a450e=_0x1cce28>0x1?void 0x0:_0x1cce28?_0x2b7da5(_0x42ad0a,_0x506614):_0x42ad0a,_0x46dec9=_0x16218f[_0x4ee47c(0x1ed)]-0x1,_0x38b38f;_0x46dec9>=0x0;_0x46dec9--)(_0x38b38f=_0x16218f[_0x46dec9])&&(_0x5a450e=_0x38b38f(_0x5a450e)||_0x5a450e);return _0x5a450e;},_0x5f381d=(_0x81840f,_0x58956d)=>(_0x5bda58,_0x445aed)=>_0x58956d(_0x5bda58,_0x445aed,_0x81840f);let _0x476a3d=class extends _0x4503f9[_0x34bf02(0x28c)]{constructor(_0x25994b,_0x5c111d,_0x418096,_0x3ed8db,_0x9b7ae4,_0x179d87){const _0x584d0d=_0x34bf02;super(),this[_0x584d0d(0xc2)]=_0x25994b,this[_0x584d0d(0x184)]=_0x5c111d,this[_0x584d0d(0x282)]=_0x418096,this[_0x584d0d(0x2e5)]=_0x3ed8db,this[_0x584d0d(0x204)]=_0x9b7ae4,this[_0x584d0d(0x1f0)]=_0x179d87,this[_0x584d0d(0x269)](),this['_initEvent']();}[_0x34bf02(0x269)](){const _0x1717c5=_0x34bf02;this[_0x1717c5(0x218)](this[_0x1717c5(0xc2)]['registerBeforeClose'](()=>{const _0x37fc7b=_0x1717c5;if(this[_0x37fc7b(0x184)][_0x37fc7b(0x286)]['size'])return this[_0x37fc7b(0x1f0)]['t'](_0x37fc7b(0x2d6));}));}[_0x34bf02(0x124)](){const _0x5abbda=_0x34bf02;this[_0x5abbda(0x218)](this['_collaborationUIEventService']['event$'][_0x5abbda(0x2c3)](_0x33c18a=>{const _0x137169=_0x5abbda;_0x33c18a['id']===_0x515138['CollaborationUIEventId'][_0x137169(0x236)]&&this[_0x137169(0x2e5)]['show']({'type':_0x556252[_0x137169(0x34e)]['Warning'],'content':this[_0x137169(0x1f0)]['t'](_0x137169(0xf9))}),_0x33c18a['id']===_0x515138[_0x137169(0x193)][_0x137169(0x274)]&&this[_0x137169(0x2e5)][_0x137169(0x121)]({'type':_0x556252[_0x137169(0x34e)][_0x137169(0x253)],'content':this[_0x137169(0x1f0)]['t'](_0x137169(0x240))}),_0x33c18a['id']===_0x515138[_0x137169(0x193)][_0x137169(0x1a7)]&&this[_0x137169(0x204)][_0x137169(0x121)]({'title':this[_0x137169(0x1f0)]['t'](_0x137169(0x148)),'content':this[_0x137169(0x1f0)]['t']('permission.content'),'type':_0x137169(0x328),'duration':0x0}),_0x33c18a['id']===_0x515138['CollaborationUIEventId']['CONFLICT']&&this[_0x137169(0x2e5)][_0x137169(0x121)]({'type':_0x556252['MessageType'][_0x137169(0x195)],'content':this[_0x137169(0x1f0)]['t'](_0x137169(0x240))+'('+_0x33c18a[_0x137169(0x192)]+')'}),_0x33c18a['id']===_0x515138[_0x137169(0x193)][_0x137169(0x261)]&&this[_0x137169(0x2e5)][_0x137169(0x121)]({'type':_0x556252[_0x137169(0x34e)][_0x137169(0x253)],'content':this[_0x137169(0x1f0)]['t'](_0x33c18a[_0x137169(0x192)]||'')}),_0x33c18a['id']===_0x515138['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x137169(0x121)]({'type':_0x556252['MessageType'][_0x137169(0x253)],'content':this[_0x137169(0x1f0)]['t'](_0x137169(0x330))}),_0x33c18a['id']===_0x515138[_0x137169(0x193)][_0x137169(0x289)]&&this[_0x137169(0x2e5)][_0x137169(0x121)]({'type':_0x556252[_0x137169(0x34e)][_0x137169(0x195)],'content':this[_0x137169(0x1f0)]['t'](_0x137169(0x2e2))}),_0x33c18a['id']===_0x515138[_0x137169(0x193)][_0x137169(0x19e)]&&this['_messageService']['show']({'type':_0x556252[_0x137169(0x34e)][_0x137169(0x195)],'content':this[_0x137169(0x1f0)]['t'](_0x137169(0x176))});}));}};_0x476a3d=_0x49f6ca([_0x5f381d(0x0,_0x145532[_0x34bf02(0x29a)]),_0x5f381d(0x1,_0x515138[_0x34bf02(0x1cc)]),_0x5f381d(0x2,_0x4503f9[_0x34bf02(0x224)](_0x515138['CollaborationUIEventService'])),_0x5f381d(0x3,_0x145532['IMessageService']),_0x5f381d(0x4,_0x145532['INotificationService']),_0x5f381d(0x5,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0xef)]))],_0x476a3d);const _0x409b09='collaboration-client-ui.config',_0x3ada25={},_0x101fa8=_0x4503f9[_0x34bf02(0xb0)](_0x34bf02(0x32d));var _0x1d4862=Object[_0x34bf02(0x2d1)],_0x3679ed=(_0x1fae0d,_0x352ee4,_0x416a91,_0xf2cc15)=>{for(var _0x218569=_0xf2cc15>0x1?void 0x0:_0xf2cc15?_0x1d4862(_0x352ee4,_0x416a91):_0x352ee4,_0x4daf54=_0x1fae0d['length']-0x1,_0x1d9ece;_0x4daf54>=0x0;_0x4daf54--)(_0x1d9ece=_0x1fae0d[_0x4daf54])&&(_0x218569=_0x1d9ece(_0x218569)||_0x218569);return _0x218569;},_0x495b8c=(_0x392a15,_0x55667c)=>(_0x2799e7,_0x1b2f67)=>_0x55667c(_0x2799e7,_0x1b2f67,_0x392a15);_0xb9d8f1[_0x34bf02(0xd8)]=class extends _0x4503f9['RxDisposable']{constructor(_0x5827bd,_0x3d0f32,_0x25a89d,_0x1b67ca,_0x43e981){const _0x43a7d1=_0x34bf02;super(),this[_0x43a7d1(0x158)]=_0x5827bd,this['_logService']=_0x3d0f32,this[_0x43a7d1(0x25b)]=_0x25a89d,this['_dataLoaderService']=_0x1b67ca,_0x43e981?_0x43e981==null||_0x43e981['whenReady']()[_0x43a7d1(0x301)](()=>this[_0x43a7d1(0x1a2)]()):(this[_0x43a7d1(0x24a)][_0x43a7d1(0x309)](_0x43a7d1(0x29b),_0x43a7d1(0x188)),this[_0x43a7d1(0x1a2)]());}async[_0x34bf02(0x1a2)](){const _0x2aec6e=_0x34bf02,_0xe90686=this['_urlService'][_0x2aec6e(0x2fc)](_0x2aec6e(0x266)),_0x568546=this[_0x2aec6e(0x158)][_0x2aec6e(0x2fc)](_0x2aec6e(0x2a6)),_0x588715=this['_urlService'][_0x2aec6e(0x2fc)](_0x2aec6e(0x1d3));if(!_0xe90686||!_0x568546){this[_0x2aec6e(0x24a)][_0x2aec6e(0x309)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4b3099=await this[_0x2aec6e(0x191)][_0x2aec6e(0x217)](_0xe90686,Number(_0x568546),_0x588715);_0x4b3099&&_0x4b3099 instanceof _0x4503f9[_0x2aec6e(0xdf)]&&this[_0x2aec6e(0x314)](_0x4b3099);}async[_0x34bf02(0x314)](_0x4a6e87){const _0x2f06af=_0x34bf02;await this[_0x2f06af(0x144)](_0x4a6e87),_0x4a6e87[_0x2f06af(0x263)][_0x2f06af(0x13e)](_0x220c87['takeUntil'](this[_0x2f06af(0x10a)]))['subscribe'](_0x1bb916=>{const _0x294594=_0x2f06af;_0x1bb916&&this[_0x294594(0xb3)](_0x1bb916);}),this[_0x2f06af(0x158)]['urlChange$']['pipe'](_0x220c87['takeUntil'](this[_0x2f06af(0x10a)]))[_0x2f06af(0x2c3)](()=>this[_0x2f06af(0x144)](_0x4a6e87));}['_updateURLWithCurrentState'](_0xf6e73d,_0x2f11f0=!0x1){const _0x3b40d1=_0x34bf02,_0x21e2fa=this['_urlService'][_0x3b40d1(0x2fc)](_0x3b40d1(0x1d3));_0xf6e73d[_0x3b40d1(0x14e)]()!==_0x21e2fa&&this['_urlService'][_0x3b40d1(0x12d)]('subunit',_0xf6e73d['getSheetId'](),_0x2f11f0);}async[_0x34bf02(0x144)](_0x1dc5a2){const _0x8a46c1=_0x34bf02;var _0x380123;const _0x2391f9=this[_0x8a46c1(0x158)][_0x8a46c1(0x2fc)](_0x8a46c1(0x1d3));if(!_0x2391f9||!_0x1dc5a2[_0x8a46c1(0x1c4)](_0x2391f9)){const _0x2d2d8f=_0x1dc5a2['getUnhiddenWorksheets']()[0x0],_0x3b293e=_0x1dc5a2[_0x8a46c1(0x1c4)](_0x2d2d8f);if(!_0x3b293e)return;this[_0x8a46c1(0xb3)](_0x3b293e,!0x0),await this['_commandService'][_0x8a46c1(0x28a)](_0x48716c[_0x8a46c1(0x23e)]['id'],{'unitId':_0x1dc5a2['getUnitId'](),'subUnitId':_0x2d2d8f});return;}((_0x380123=_0x1dc5a2[_0x8a46c1(0xba)]())==null?void 0x0:_0x380123[_0x8a46c1(0x14e)]())!==_0x2391f9&&await this['_commandService'][_0x8a46c1(0x28a)](_0x48716c[_0x8a46c1(0x23e)]['id'],{'unitId':_0x1dc5a2[_0x8a46c1(0x2b7)](),'subUnitId':_0x2391f9});}},_0xb9d8f1[_0x34bf02(0xd8)]=_0x3679ed([_0x495b8c(0x0,_0x101fa8),_0x495b8c(0x1,_0x4503f9[_0x34bf02(0x17a)]),_0x495b8c(0x2,_0x4503f9['ICommandService']),_0x495b8c(0x3,_0x4503f9[_0x34bf02(0x224)](_0x515138['DataLoaderService'])),_0x495b8c(0x4,_0x4503f9[_0x34bf02(0x296)](_0x100796[_0x34bf02(0x316)]))],_0xb9d8f1[_0x34bf02(0xd8)]);var _0x2460e2=Object[_0x34bf02(0x2d1)],_0x452287=(_0x51b88d,_0x202e2d,_0x36988c,_0x39ad76)=>{for(var _0x90ec70=_0x39ad76>0x1?void 0x0:_0x39ad76?_0x2460e2(_0x202e2d,_0x36988c):_0x202e2d,_0x43e7b9=_0x51b88d['length']-0x1,_0x2b9827;_0x43e7b9>=0x0;_0x43e7b9--)(_0x2b9827=_0x51b88d[_0x43e7b9])&&(_0x90ec70=_0x2b9827(_0x90ec70)||_0x90ec70);return _0x90ec70;},_0x244692=(_0x12cd74,_0x42a80d)=>(_0x1693f4,_0x10a626)=>_0x42a80d(_0x1693f4,_0x10a626,_0x12cd74);let _0x3b0a42=class{constructor(_0x5b219b,_0x297fda,_0xf0a5b1){const _0x32ced3=_0x34bf02;this[_0x32ced3(0x17c)]=_0x5b219b,this['_transformService']=_0x297fda,this[_0x32ced3(0x1f2)]=_0xf0a5b1;}[_0x34bf02(0x19c)](_0x33c4cb){const _0x118314=_0x34bf02;this[_0x118314(0x18c)](_0x33c4cb),this[_0x118314(0x10f)](_0x33c4cb);}[_0x34bf02(0xee)](_0x23586c){const _0x1ba025=_0x34bf02,{unitID:_0x4f48c3}=_0x23586c,_0x180ad0=this[_0x1ba025(0x1f2)]['getRenderById'](_0x4f48c3)[_0x1ba025(0x137)](_0x48d8f1[_0x1ba025(0xcc)]),{redoCache:_0x35874c}=_0x180ad0[_0x1ba025(0x339)]();if(_0x35874c['length']===0x0)return _0x23586c;let _0x28848a=_0x4503f9[_0x1ba025(0x291)][_0x1ba025(0x1b5)](_0x23586c['mutations'][0x0]);for(let _0x28e326=0x0;_0x28e326<_0x35874c['length'];_0x28e326++){const _0x40d636={'id':'doc.mutation.rich-text-editing','params':{..._0x35874c[_0x28e326]}},_0x30fe50=this[_0x1ba025(0x105)][_0x1ba025(0x199)](_0x28848a,_0x40d636,!0x1);if(_0x3aac78[_0x1ba025(0x125)](_0x30fe50))throw _0x30fe50[_0x1ba025(0x328)];_0x28848a=_0x30fe50[_0x1ba025(0xec)];}return{..._0x4503f9[_0x1ba025(0x291)]['deepClone'](_0x23586c),'mutations':[_0x28848a]};}[_0x34bf02(0x18c)](_0x1ee95d){const _0x2374c6=_0x34bf02,{unitID:_0x4f71e0}=_0x1ee95d,_0x187669=this[_0x2374c6(0x1f2)][_0x2374c6(0xc3)](_0x4f71e0)[_0x2374c6(0x137)](_0x48d8f1[_0x2374c6(0xcc)]),{undoCache:_0x56dd76,redoCache:_0x2ba67f}=_0x187669[_0x2374c6(0x339)]();if(_0x56dd76['length']===0x0||_0x2ba67f[_0x2374c6(0x1ed)]===0x0)return;const _0x8ea561=[],_0x3fe38f=[];let _0x5b3818=_0x4503f9[_0x2374c6(0x291)]['deepClone'](_0x1ee95d[_0x2374c6(0x221)][0x0]),_0x3d507=_0x4503f9[_0x2374c6(0x291)][_0x2374c6(0x1b5)](_0x1ee95d['mutations'][0x0]);for(let _0x2c2fda=_0x56dd76[_0x2374c6(0x1ed)]-0x1;_0x2c2fda>=0x0;_0x2c2fda--){const _0x5d7f88={'id':_0x2374c6(0x23c),'params':{..._0x56dd76[_0x2c2fda]}},_0x396f40={'id':_0x2374c6(0x23c),'params':{..._0x2ba67f[_0x2c2fda]}},_0x2b8173=this['_transformService']['transformMutation'](_0x5b3818,_0x5d7f88,!0x1),_0x1cff53=this[_0x2374c6(0x105)][_0x2374c6(0x199)](_0x3d507,_0x396f40,!0x1);if(_0x3aac78['isTransformMutationFailure'](_0x2b8173))throw _0x2b8173[_0x2374c6(0x328)];if(_0x3aac78[_0x2374c6(0x125)](_0x1cff53))throw _0x1cff53['error'];_0x8ea561[_0x2374c6(0xcf)](_0x2b8173[_0x2374c6(0x1ae)][_0x2374c6(0xd9)]),_0x3fe38f[_0x2374c6(0xcf)](_0x1cff53[_0x2374c6(0x1ae)][_0x2374c6(0xd9)]),_0x5b3818=_0x2b8173[_0x2374c6(0xec)],_0x3d507=_0x1cff53[_0x2374c6(0xec)];}_0x187669[_0x2374c6(0x2b8)]({'undoCache':_0x8ea561,'redoCache':_0x3fe38f});}[_0x34bf02(0x10f)](_0x4ba5cc){const _0x2dce30=_0x34bf02,{unitID:_0x3492c2}=_0x4ba5cc,_0x5095dc=this[_0x2dce30(0x1f2)]['getRenderById'](_0x3492c2)[_0x2dce30(0x137)](_0x48d8f1[_0x2dce30(0xcc)]),_0x138416=_0x5095dc[_0x2dce30(0x308)]();if(_0x138416==null)return;const _0x1c4b57=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ba5cc['unitID'],'actions':null,'textRanges':[_0x138416]}}],_0x1d8f46=this['_transformService'][_0x2dce30(0x22f)](_0x4ba5cc,_0x1c4b57);if(!_0x3aac78[_0x2dce30(0xb1)](_0x1d8f46))throw _0x1d8f46['error'];const _0x489457=_0x1d8f46['m2Prime'][0x0][_0x2dce30(0xd9)][_0x2dce30(0x332)];Array['isArray'](_0x489457)&&_0x489457[_0x2dce30(0x1ed)]&&_0x5095dc[_0x2dce30(0x26b)](_0x489457[0x0]);}};_0x3b0a42=_0x452287([_0x244692(0x0,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0x231)])),_0x244692(0x1,_0x3aac78[_0x34bf02(0x2ae)]),_0x244692(0x2,_0x285e33[_0x34bf02(0x11a)])],_0x3b0a42);var _0x5a2ea7=Object['getOwnPropertyDescriptor'],_0x1492bc=(_0x338593,_0x4c1785,_0x111e44,_0x3a1132)=>{for(var _0x3d2236=_0x3a1132>0x1?void 0x0:_0x3a1132?_0x5a2ea7(_0x4c1785,_0x111e44):_0x4c1785,_0x34342d=_0x338593['length']-0x1,_0x4453d7;_0x34342d>=0x0;_0x34342d--)(_0x4453d7=_0x338593[_0x34342d])&&(_0x3d2236=_0x4453d7(_0x3d2236)||_0x3d2236);return _0x3d2236;},_0x17abe8=(_0x44d630,_0x39a7ba)=>(_0x10f12a,_0x131de6)=>_0x39a7ba(_0x10f12a,_0x131de6,_0x44d630);let _0x21b315=class{constructor(_0x1cab08,_0x5a26e6,_0x51175a){const _0xe7ff6a=_0x34bf02;this[_0xe7ff6a(0x17c)]=_0x1cab08,this[_0xe7ff6a(0x105)]=_0x5a26e6,this[_0xe7ff6a(0x11c)]=_0x51175a;}[_0x34bf02(0x129)](_0x4b1083){this['_transformHistoryAndStateStack'](_0x4b1083);}['transformRemoteChangeset'](_0x483cfb){const _0x4342e7=_0x34bf02,{unitID:_0x286f08}=_0x483cfb,{collaboration:_0x4d2450}=this[_0x4342e7(0x11c)][_0x4342e7(0x1fd)](_0x286f08);if(_0x4d2450['length']===0x0)return _0x483cfb;let _0x4df358=_0x4503f9[_0x4342e7(0x291)][_0x4342e7(0x1b5)](_0x483cfb[_0x4342e7(0x221)][0x0]);for(let _0x140e92=0x0;_0x140e92<_0x4d2450[_0x4342e7(0x1ed)];_0x140e92++){const _0x449f44={'id':_0x4342e7(0x23c),'params':{'unitId':_0x4d2450[_0x140e92][_0x4342e7(0x2c5)],..._0x4d2450[_0x140e92][_0x4342e7(0x136)]}},_0x310727=this[_0x4342e7(0x105)][_0x4342e7(0x199)](_0x4df358,_0x449f44,!0x1);if(_0x3aac78[_0x4342e7(0x125)](_0x310727))throw _0x310727[_0x4342e7(0x328)];_0x4df358=_0x310727[_0x4342e7(0xec)];}return{..._0x4503f9[_0x4342e7(0x291)]['deepClone'](_0x483cfb),'mutations':[_0x4df358]};}[_0x34bf02(0x13f)](_0x3f3997){const _0xd72c00=_0x34bf02,{unitID:_0xb51756}=_0x3f3997,{history:_0x490b05,collaboration:_0x59d0d4}=this[_0xd72c00(0x11c)][_0xd72c00(0x1fd)](_0xb51756);if(_0x490b05[_0xd72c00(0x1ed)]===0x0&&_0x59d0d4[_0xd72c00(0x1ed)]===0x0)return;const _0x105d2c=[],_0x2cc3c4=[];let _0x15d6c9=_0x4503f9[_0xd72c00(0x291)]['deepClone'](_0x3f3997[_0xd72c00(0x221)][0x0]),_0x2761f7=_0x4503f9['Tools'][_0xd72c00(0x1b5)](_0x3f3997['mutations'][0x0]);for(let _0x1131bc=_0x490b05[_0xd72c00(0x1ed)]-0x1;_0x1131bc>=0x0;_0x1131bc--){const _0x1e4bef={'id':_0xd72c00(0x23c),'params':{'unitId':_0x490b05[_0x1131bc][_0xd72c00(0x2c5)],..._0x490b05[_0x1131bc][_0xd72c00(0x197)]}},_0x2226b2={'id':_0xd72c00(0x23c),'params':{'unitId':_0x490b05[_0x1131bc][_0xd72c00(0x2c5)],..._0x490b05[_0x1131bc]['redoState']}},_0x4518cf=this[_0xd72c00(0x105)][_0xd72c00(0x199)](_0x15d6c9,_0x1e4bef,!0x1),_0x4c377a=this[_0xd72c00(0x105)][_0xd72c00(0x199)](_0x2761f7,_0x2226b2,!0x1);if(_0x3aac78[_0xd72c00(0x125)](_0x4518cf))throw _0x4518cf['error'];if(_0x3aac78[_0xd72c00(0x125)](_0x4c377a))throw _0x4c377a[_0xd72c00(0x328)];_0x105d2c['unshift']({..._0x490b05[_0x1131bc],'undoState':_0x4518cf[_0xd72c00(0x1ae)][_0xd72c00(0xd9)],'redoState':_0x4c377a[_0xd72c00(0x1ae)][_0xd72c00(0xd9)]}),_0x15d6c9=_0x4518cf[_0xd72c00(0xec)],_0x2761f7=_0x4c377a[_0xd72c00(0xec)];}_0x15d6c9=_0x4503f9[_0xd72c00(0x291)]['deepClone'](_0x3f3997[_0xd72c00(0x221)][0x0]),_0x2761f7=_0x4503f9[_0xd72c00(0x291)][_0xd72c00(0x1b5)](_0x3f3997[_0xd72c00(0x221)][0x0]);for(let _0x5b8dcb=_0x59d0d4['length']-0x1;_0x5b8dcb>=0x0;_0x5b8dcb--){const _0x5f35fc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59d0d4[_0x5b8dcb][_0xd72c00(0x2c5)],..._0x59d0d4[_0x5b8dcb]['undoState']}},_0x1910ed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59d0d4[_0x5b8dcb][_0xd72c00(0x2c5)],..._0x59d0d4[_0x5b8dcb]['redoState']}},_0x1f1187=this['_transformService'][_0xd72c00(0x199)](_0x15d6c9,_0x5f35fc,!0x1),_0x4b7dbb=this[_0xd72c00(0x105)][_0xd72c00(0x199)](_0x2761f7,_0x1910ed,!0x1);if(_0x3aac78[_0xd72c00(0x125)](_0x1f1187))throw _0x1f1187['error'];if(_0x3aac78[_0xd72c00(0x125)](_0x4b7dbb))throw _0x4b7dbb[_0xd72c00(0x328)];_0x2cc3c4[_0xd72c00(0xcf)]({..._0x59d0d4[_0x5b8dcb],'undoState':_0x1f1187['m2Prime'][_0xd72c00(0xd9)],'redoState':_0x4b7dbb['m2Prime']['params']}),_0x15d6c9=_0x1f1187[_0xd72c00(0xec)],_0x2761f7=_0x4b7dbb[_0xd72c00(0xec)];}this[_0xd72c00(0x11c)][_0xd72c00(0x345)](_0xb51756,{'history':_0x105d2c,'collaboration':_0x2cc3c4});}};_0x21b315=_0x1492bc([_0x17abe8(0x0,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0x231)])),_0x17abe8(0x1,_0x3aac78[_0x34bf02(0x2ae)]),_0x17abe8(0x2,_0x4503f9['Inject'](_0x48d8f1[_0x34bf02(0x183)]))],_0x21b315);var _0xd269e5=Object[_0x34bf02(0x2d1)],_0x29e894=(_0x3b1ed1,_0x5d347f,_0x8135b4,_0x6b15b9)=>{for(var _0x495f9f=_0x6b15b9>0x1?void 0x0:_0x6b15b9?_0xd269e5(_0x5d347f,_0x8135b4):_0x5d347f,_0x53f379=_0x3b1ed1['length']-0x1,_0x36411b;_0x53f379>=0x0;_0x53f379--)(_0x36411b=_0x3b1ed1[_0x53f379])&&(_0x495f9f=_0x36411b(_0x495f9f)||_0x495f9f);return _0x495f9f;},_0x494dac=(_0x4067c9,_0x1138c2)=>(_0x543487,_0x25b618)=>_0x1138c2(_0x543487,_0x25b618,_0x4067c9);let _0x1f2607=class{constructor(_0x439b22,_0x83a179){const _0x18e2af=_0x34bf02;this[_0x18e2af(0x17c)]=_0x439b22,this[_0x18e2af(0x105)]=_0x83a179;}[_0x34bf02(0x128)](_0x2961ba){const _0x46c33c=_0x34bf02;var _0x12fc59;const _0x24e17a=this[_0x46c33c(0x17c)]['get'](_0x4a3777[_0x46c33c(0x12a)]),_0x1ace5f=(_0x12fc59=_0x24e17a[_0x46c33c(0x13d)]())!=null?_0x12fc59:[];if(_0x1ace5f['length']===0x0)return;const _0x552e14=_0x2961ba[_0x46c33c(0x117)],_0x4ae105=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x552e14,'actions':null,'textRanges':_0x1ace5f}}],_0xb38ff2=this[_0x46c33c(0x105)]['transformMutationsWithChangeset'](_0x2961ba,_0x4ae105);if(!_0x3aac78[_0x46c33c(0xb1)](_0xb38ff2))throw _0xb38ff2['error'];const _0x3bc938=_0xb38ff2[_0x46c33c(0x1ae)][0x0][_0x46c33c(0xd9)][_0x46c33c(0x332)];Array['isArray'](_0x3bc938)&&_0x3bc938[_0x46c33c(0x1ed)]&&_0x24e17a[_0x46c33c(0x31e)](_0x3bc938,{'unitId':_0x552e14,'subUnitId':_0x552e14},!0x1);}};_0x1f2607=_0x29e894([_0x494dac(0x0,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0x231)])),_0x494dac(0x1,_0x3aac78[_0x34bf02(0x2ae)])],_0x1f2607);var _0x6e672f=Object['getOwnPropertyDescriptor'],_0x2df6b1=(_0x434183,_0x1e7ea1,_0x326727,_0xff01ef)=>{for(var _0x3d1754=_0xff01ef>0x1?void 0x0:_0xff01ef?_0x6e672f(_0x1e7ea1,_0x326727):_0x1e7ea1,_0x51b056=_0x434183['length']-0x1,_0x4824f9;_0x51b056>=0x0;_0x51b056--)(_0x4824f9=_0x434183[_0x51b056])&&(_0x3d1754=_0x4824f9(_0x3d1754)||_0x3d1754);return _0x3d1754;},_0x2164f5=(_0x1f8541,_0x4dab88)=>(_0x147717,_0x44df3f)=>_0x4dab88(_0x147717,_0x44df3f,_0x1f8541);let _0x247fa1=class extends _0x4503f9['Disposable']{constructor(_0x134a3f,_0x26c479,_0x450f6e,_0x10d89a,_0x29c3e4,_0xe91a63,_0x266604,_0x27a0af){const _0x3df2df=_0x34bf02;super(),_0x53cb2c(this,_0x3df2df(0x2c1),new _0x220c87[(_0x3df2df(0x11d))](_0x515138[_0x3df2df(0x2b1)][_0x3df2df(0x346)])),(this[_0x3df2df(0x11c)]=_0x134a3f,this[_0x3df2df(0x2ff)]=_0x26c479,this[_0x3df2df(0x318)]=_0x450f6e,this[_0x3df2df(0x32b)]=_0x10d89a,this['_docTransformSelectionsService']=_0x29c3e4,this['_docSyncEditingCollabCursorService']=_0xe91a63,this[_0x3df2df(0x2e5)]=_0x266604,this[_0x3df2df(0x1f0)]=_0x27a0af,this[_0x3df2df(0x1b3)]());}[_0x34bf02(0x1b3)](){const _0x459eb3=_0x34bf02;this[_0x459eb3(0x218)](this[_0x459eb3(0x2ff)][_0x459eb3(0x10c)][_0x459eb3(0x2c3)](_0x3d02ef=>{const _0x5262aa=_0x459eb3,_0x18b31d=this[_0x5262aa(0x11c)][_0x5262aa(0x2c0)][_0x5262aa(0x2c3)](_0x3b56bf=>{const _0x493653=_0x5262aa;if(_0x3b56bf==null)return;const {unitId:_0x31b3eb,redoState:_0x19a4b4,commandId:_0x103755}=_0x3b56bf;if(_0x31b3eb!==_0x3d02ef[_0x493653(0x117)])return;const _0x77326d={'id':_0x103755,'type':_0x4503f9['CommandType'][_0x493653(0x157)],'params':{'unitId':_0x31b3eb,'actions':_0x19a4b4[_0x493653(0x12f)],'textRanges':null}};_0x3d02ef['onLocalMutation'](_0x77326d);});if(_0x3d02ef['disposeWithMe'](_0x18b31d),_0x3d02ef instanceof _0x515138['DocCollaborationEntity']){const _0x5dc6a0={'onTransformIME':_0x4b3623=>this[_0x5262aa(0x318)][_0x5262aa(0x19c)](_0x4b3623),'onTransformState':_0x5381e3=>this[_0x5262aa(0x32b)][_0x5262aa(0x129)](_0x5381e3),'onTransformSelections':_0x13085d=>this[_0x5262aa(0x2f7)][_0x5262aa(0x128)](_0x13085d),'onSyncEditingCollabCursor':_0x4d5624=>this[_0x5262aa(0x155)][_0x5262aa(0x1ce)](_0x4d5624),'onTransformRemoteChangesetByIMECache':_0x4fecdd=>this['_docTransformIMECacheService'][_0x5262aa(0xee)](_0x4fecdd),'onTransformRemoteChangesetByStateCache':_0x5a9fba=>this[_0x5262aa(0x32b)][_0x5262aa(0xee)](_0x5a9fba)};_0x3d02ef[_0x5262aa(0x2dc)](_0x5dc6a0);}}));}};_0x247fa1=_0x2df6b1([_0x2164f5(0x0,_0x4503f9[_0x34bf02(0x224)](_0x48d8f1[_0x34bf02(0x183)])),_0x2164f5(0x1,_0x4503f9[_0x34bf02(0x224)](_0x515138['CollaborationController'])),_0x2164f5(0x2,_0x4503f9[_0x34bf02(0x224)](_0x3b0a42)),_0x2164f5(0x3,_0x4503f9['Inject'](_0x21b315)),_0x2164f5(0x4,_0x4503f9[_0x34bf02(0x224)](_0x1f2607)),_0x2164f5(0x5,_0x4503f9[_0x34bf02(0x224)](_0x4471b5)),_0x2164f5(0x6,_0x145532[_0x34bf02(0xe4)]),_0x2164f5(0x7,_0x4503f9[_0x34bf02(0x224)](_0x4503f9[_0x34bf02(0xef)]))],_0x247fa1);var _0x2202e2=Object[_0x34bf02(0x2d1)],_0x207f4e=(_0x4f1605,_0x2b5b29,_0x24aa40,_0x281829)=>{const _0x300b84=_0x34bf02;for(var _0x2687ef=_0x281829>0x1?void 0x0:_0x281829?_0x2202e2(_0x2b5b29,_0x24aa40):_0x2b5b29,_0x50605c=_0x4f1605[_0x300b84(0x1ed)]-0x1,_0x3670fe;_0x50605c>=0x0;_0x50605c--)(_0x3670fe=_0x4f1605[_0x50605c])&&(_0x2687ef=_0x3670fe(_0x2687ef)||_0x2687ef);return _0x2687ef;},_0x2538d7=(_0x3461cf,_0x29c2cd)=>(_0x562a11,_0x2168f8)=>_0x29c2cd(_0x562a11,_0x2168f8,_0x3461cf);let _0x1edcc5=class extends _0x4503f9[_0x34bf02(0x28c)]{constructor(_0x89054f,_0x4201a3,_0x485d33){const _0x5b73ab=_0x34bf02;super(),_0x53cb2c(this,_0x5b73ab(0x338),new Map()),_0x53cb2c(this,_0x5b73ab(0x298),new Map()),_0x53cb2c(this,_0x5b73ab(0x1a0),!0x1),(this[_0x5b73ab(0xb2)]=_0x89054f,this['_localStorageService']=_0x4201a3,this[_0x5b73ab(0x327)]=_0x485d33);}['disableLocalCache'](){const _0x2315c5=_0x34bf02;this[_0x2315c5(0x1a0)]=!0x0;}[_0x34bf02(0x2de)](){const _0x1836a6=_0x34bf02;this[_0x1836a6(0x1a0)]=!0x1;}get[_0x34bf02(0x286)](){return this['_saveTaskMap'];}[_0x34bf02(0x113)](){const _0x5a68e7=_0x34bf02;this[_0x5a68e7(0xc1)]()[_0x5a68e7(0x301)](()=>super[_0x5a68e7(0x113)]());}async[_0x34bf02(0x24e)](_0x5d26d8){const _0x25a877=_0x34bf02;return this[_0x25a877(0x1a0)]?null:this['_localStorageService'][_0x25a877(0xe1)](_0x515138['getLocalCacheKey'](_0x5d26d8));}async['saveOfflineData'](_0x5f1064,_0x1b01ca){const _0x2a317e=_0x34bf02;return!!this[_0x2a317e(0x21e)][_0x2a317e(0x33f)](_0x5f1064,_0x1b01ca);}['updateOfflineData'](_0x2d1645,_0x4c39b2,_0x1ee288,_0x587643){const _0x5b6e18=_0x34bf02,_0x30614d=this[_0x5b6e18(0x327)][_0x5b6e18(0x126)](_0x2d1645);this[_0x5b6e18(0x338)][_0x5b6e18(0x250)](_0x2d1645,{'unitID':_0x2d1645,'type':_0x4c39b2,'awaitingChangeset':_0x1ee288,'mutations':_0x587643,'rev':_0x30614d}),this[_0x5b6e18(0x298)][_0x5b6e18(0xf6)](_0x2d1645)||this[_0x5b6e18(0x222)](_0x2d1645);}[_0x34bf02(0x222)](_0xdf10b2){const _0x5290f6=_0x34bf02,_0x35bde3=this[_0x5290f6(0x26c)]();_0x35bde3===0x0?this[_0x5290f6(0xc6)](_0xdf10b2):this['_saveTaskMap']['set'](_0xdf10b2,setTimeout(()=>this['_saveCache'](_0xdf10b2),_0x35bde3));}[_0x34bf02(0x26c)](){const _0x5af624=_0x34bf02;var _0x33e35b;return(_0x33e35b=this[_0x5af624(0xb2)][_0x5af624(0x31c)](_0x515138[_0x5af624(0x1fe)]))!=null?_0x33e35b:_0x515138[_0x5af624(0x311)];}[_0x34bf02(0xc6)](_0x4942bf){const _0x203a38=_0x34bf02,_0x26e7ec=this[_0x203a38(0x298)][_0x203a38(0x223)](_0x4942bf);return _0x26e7ec!==void 0x0&&window['clearTimeout'](_0x26e7ec),this[_0x203a38(0x21e)][_0x203a38(0x33f)](_0x515138[_0x203a38(0x2ba)](_0x4942bf),this[_0x203a38(0x338)][_0x203a38(0x223)](_0x4942bf))[_0x203a38(0x301)](()=>this[_0x203a38(0x298)][_0x203a38(0x1d8)](_0x4942bf));}async['exhaustSavingTask'](){const _0x396d73=_0x34bf02,_0x527c2f=[];this[_0x396d73(0x298)][_0x396d73(0x16e)]((_0x133ecc,_0x3bfa39)=>{const _0x5ad199=_0x396d73;window[_0x5ad199(0x1bd)](_0x133ecc),_0x527c2f[_0x5ad199(0x13c)](this[_0x5ad199(0xc6)](_0x3bfa39)[_0x5ad199(0x301)](()=>{const _0x475a04=_0x5ad199;this['_saveTaskMap'][_0x475a04(0x1d8)](_0x3bfa39);}));}),await Promise['all'](_0x527c2f);}};_0x1edcc5=_0x207f4e([_0x2538d7(0x0,_0x4503f9[_0x34bf02(0x123)]),_0x2538d7(0x1,_0x4503f9[_0x34bf02(0x1fa)]),_0x2538d7(0x2,_0x4503f9[_0x34bf02(0x224)](_0x3aac78[_0x34bf02(0x27a)]))],_0x1edcc5);class _0x473f96 extends _0x4503f9[_0x34bf02(0x305)]{constructor(){const _0x308a36=_0x34bf02;super(),_0x53cb2c(this,'urlChange$'),this[_0x308a36(0x1ff)]=_0x220c87[_0x308a36(0x2c4)](window,_0x308a36(0x28b))[_0x308a36(0x13e)](_0x220c87['takeUntil'](this[_0x308a36(0x10a)]),_0x220c87[_0x308a36(0x28f)](0x1),_0x220c87[_0x308a36(0x1f8)](void 0x0));}[_0x34bf02(0x12d)](_0x254bb9,_0x43c26c,_0x11d861=!0x1){const _0x50ed8d=_0x34bf02,_0x2a5d11=new URL(window[_0x50ed8d(0x1e7)][_0x50ed8d(0x1fc)]);_0x2a5d11[_0x50ed8d(0x107)][_0x50ed8d(0x250)](_0x254bb9,_0x43c26c),_0x11d861?window[_0x50ed8d(0x12c)][_0x50ed8d(0x247)]('','',_0x2a5d11['toString']()):window[_0x50ed8d(0x12c)][_0x50ed8d(0x1cb)]('','',_0x2a5d11[_0x50ed8d(0x1f9)]());}[_0x34bf02(0x33b)](_0x4529d6,_0x2c7264=!0x1){const _0x483864=_0x34bf02,_0x42f934=new URL(window[_0x483864(0x1e7)][_0x483864(0x1fc)]);_0x42f934['searchParams'][_0x483864(0x1d8)](_0x4529d6),_0x2c7264?window[_0x483864(0x12c)][_0x483864(0x247)]('','',_0x42f934['toString']()):window[_0x483864(0x12c)][_0x483864(0x1cb)]('','',_0x42f934[_0x483864(0x1f9)]());}['getParam'](_0x101934){const _0x11194c=_0x34bf02;var _0x45604f;return(_0x45604f=new URL(window[_0x11194c(0x1e7)][_0x11194c(0x1fc)])[_0x11194c(0x107)][_0x11194c(0x223)](_0x101934))!=null?_0x45604f:void 0x0;}}var _0x19060f=Object['defineProperty'],_0x20f63f=Object[_0x34bf02(0x2d1)],_0x286d57=(_0x50d2cb,_0x5975d6,_0x1bfa8d)=>_0x5975d6 in _0x50d2cb?_0x19060f(_0x50d2cb,_0x5975d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bfa8d}):_0x50d2cb[_0x5975d6]=_0x1bfa8d,_0x46364b=(_0x48fb4d,_0x3a8118,_0x1c0563,_0x49d04a)=>{const _0x301fd8=_0x34bf02;for(var _0x575a67=_0x49d04a>0x1?void 0x0:_0x49d04a?_0x20f63f(_0x3a8118,_0x1c0563):_0x3a8118,_0x2b81e9=_0x48fb4d[_0x301fd8(0x1ed)]-0x1,_0x566412;_0x2b81e9>=0x0;_0x2b81e9--)(_0x566412=_0x48fb4d[_0x2b81e9])&&(_0x575a67=_0x566412(_0x575a67)||_0x575a67);return _0x575a67;},_0x559c7d=(_0x2f01fe,_0x251b6e)=>(_0x5d8c75,_0x220df1)=>_0x251b6e(_0x5d8c75,_0x220df1,_0x2f01fe),_0x98f965=(_0x1519e4,_0x5a9cfd,_0x2c847d)=>_0x286d57(_0x1519e4,_0x5a9cfd+'',_0x2c847d);const _0x3d0afc=_0x34bf02(0x14d);_0xb9d8f1['UniverCollaborationClientUIPlugin']=class extends _0x4503f9[_0x34bf02(0x160)]{constructor(_0x572a79=_0x3ada25,_0x4efb4a,_0x52ca85,_0x2b6f30){const _0x264585=_0x34bf02;super(),this[_0x264585(0xb9)]=_0x572a79,this[_0x264585(0x1f2)]=_0x4efb4a,this[_0x264585(0x17c)]=_0x52ca85,this[_0x264585(0xb2)]=_0x2b6f30;const {..._0x253dd1}=_0x4503f9[_0x264585(0x1a5)]({},_0x3ada25,this[_0x264585(0xb9)]);this[_0x264585(0xb2)][_0x264585(0x2a9)](_0x409b09,_0x253dd1);}[_0x34bf02(0xfc)](){const _0xe66cb0=_0x34bf02;this[_0xe66cb0(0x178)](),this[_0xe66cb0(0x243)]();}['onRendered'](){const _0x3d5f71=_0x34bf02;this[_0x3d5f71(0xe2)]();}[_0x34bf02(0x178)](){const _0x919cd9=_0x34bf02;var _0xc6a876;const _0x5a7d5b=[[_0x529c83],[_0x1f2607],[_0x3b0a42],[_0x21b315],[_0x4471b5],[_0x101fa8,{'useClass':_0x473f96}],[_0xc2c301[_0x919cd9(0x1d4)],{'useClass':_0xc2c301[_0x919cd9(0x31d)]}],[_0x515138[_0x919cd9(0x1cc)],{'useClass':_0x1edcc5}],[_0xb9d8f1[_0x919cd9(0x2e0)]],[_0x247fa1],[_0x476a3d],[_0x1c5618],[_0xd0a089],[_0xb9d8f1[_0x919cd9(0xd8)]]];_0x4503f9[_0x919cd9(0x2b3)](this['_injector'],_0x4503f9[_0x919cd9(0x31a)](_0x5a7d5b,(_0xc6a876=this[_0x919cd9(0xb9)])==null?void 0x0:_0xc6a876[_0x919cd9(0x34f)]));}[_0x34bf02(0xe2)](){const _0x50c318=_0x34bf02;this[_0x50c318(0x218)](this[_0x50c318(0x1f2)]['registerRenderModule'](_0x4503f9[_0x50c318(0x303)][_0x50c318(0x10d)],[_0x9b03cc])),this[_0x50c318(0x218)](this['_renderManagerService'][_0x50c318(0x198)](_0x4503f9[_0x50c318(0x303)]['UNIVER_SHEET'],[_0x118083]));}[_0x34bf02(0x243)](){const _0x4f5614=_0x34bf02;_0x4503f9[_0x4f5614(0x248)](this['_injector'],[[_0x1c5618],[_0xb9d8f1['DesktopCollaborationStatusDisplayController']],[_0x247fa1],[_0x476a3d],[_0xb9d8f1[_0x4f5614(0xd8)]]]);}},_0x98f965(_0xb9d8f1[_0x34bf02(0x133)],'pluginName',_0x3d0afc),_0xb9d8f1['UniverCollaborationClientUIPlugin']=_0x46364b([_0x4503f9[_0x34bf02(0x210)](_0x515138[_0x34bf02(0x287)]),_0x559c7d(0x1,_0x285e33['IRenderManagerService']),_0x559c7d(0x2,_0x4503f9['Inject'](_0x4503f9[_0x34bf02(0x231)])),_0x559c7d(0x3,_0x4503f9[_0x34bf02(0x123)])],_0xb9d8f1[_0x34bf02(0x133)]);var _0x792cd8=Object[_0x34bf02(0x2d1)],_0x52f43b=(_0x3da65a,_0xb51616,_0x37d2da,_0x9017a)=>{const _0x2069ad=_0x34bf02;for(var _0x4c7600=_0x9017a>0x1?void 0x0:_0x9017a?_0x792cd8(_0xb51616,_0x37d2da):_0xb51616,_0x331299=_0x3da65a[_0x2069ad(0x1ed)]-0x1,_0xaf825a;_0x331299>=0x0;_0x331299--)(_0xaf825a=_0x3da65a[_0x331299])&&(_0x4c7600=_0xaf825a(_0x4c7600)||_0x4c7600);return _0x4c7600;},_0x362948=(_0x156fd1,_0x43828f)=>(_0x4be335,_0x325d72)=>_0x43828f(_0x4be335,_0x325d72,_0x156fd1);_0xb9d8f1[_0x34bf02(0x1db)]=class extends _0x515138['CollaborationSocketService']{constructor(_0x1a2793,_0x59b8cc,_0x3e2d4f,_0x20e635,_0xc4d7a4){super(_0x1a2793,_0x59b8cc,_0x3e2d4f,_0x20e635,_0xc4d7a4);}async[_0x34bf02(0x134)](_0x1de735){const _0x49ddf6=_0x34bf02,_0x55f2b9=await this['_getSessionTicket'](),_0x47d201=this[_0x49ddf6(0x21d)](_0x1de735,_0x55f2b9);return this[_0x49ddf6(0x19d)](_0x47d201);}[_0x34bf02(0x21d)](_0x9e90bc,_0x4be161){const _0x21cef0=_0x34bf02,_0x2e0a97=typeof window>'u'?new URL(_0x9e90bc):new URL(_0x9e90bc,window[_0x21cef0(0x1e7)][_0x21cef0(0x2be)]);_0x2e0a97[_0x21cef0(0x107)][_0x21cef0(0x250)](_0x21cef0(0x205),_0x4be161);const _0x318153=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21cef0(0x1e7)][_0x21cef0(0x342)]);return _0x318153['get'](_0x21cef0(0x30f))&&_0x2e0a97[_0x21cef0(0x107)][_0x21cef0(0x250)]('runId',_0x318153['get'](_0x21cef0(0x30f))),_0x2e0a97[_0x21cef0(0x1f9)]();}async['_getSessionTicket'](){const _0x4041c7=_0x34bf02;var _0x2010de,_0x581dad,_0x486fee;const _0x2a582a=this[_0x4041c7(0xb2)]['getConfig'](_0x515138[_0x4041c7(0x152)]),_0x60262d=(_0x2010de=_0x2a582a==null?void 0x0:_0x2a582a[_0x4041c7(0x2ca)])!=null?_0x2010de:_0x515138[_0x4041c7(0xf3)];return(_0x486fee=(_0x581dad=(await this[_0x4041c7(0x17e)][_0x4041c7(0x223)](_0x60262d,{'headers':{'Content-Type':_0x4041c7(0xf5)}}))['body'])==null?void 0x0:_0x581dad[_0x4041c7(0x1ac)])!=null?_0x486fee:'';}},_0xb9d8f1[_0x34bf02(0x1db)]=_0x52f43b([_0x362948(0x0,_0x4503f9[_0x34bf02(0x224)](_0x4503f9['Injector'])),_0x362948(0x1,_0x4503f9['Inject'](_0xc2c301['HTTPService'])),_0x362948(0x2,_0x4503f9[_0x34bf02(0x123)]),_0x362948(0x3,_0x4503f9[_0x34bf02(0x17a)]),_0x362948(0x4,_0x3aac78[_0x34bf02(0x2ea)])],_0xb9d8f1['BrowserCollaborationSocketService']);const _0x2dbedc=0x7530,_0x55cdae=_0x34bf02(0x2ec);class _0xe3bdcb extends _0x4503f9['Disposable']{constructor(){const _0x3b9e00=_0x34bf02;super(),_0x53cb2c(this,_0x3b9e00(0x1b2),_0x4503f9[_0x3b9e00(0x273)]()),_0x53cb2c(this,'_selfUnitIDs',new Set()),_0x53cb2c(this,_0x3b9e00(0x110),new Map()),_0x53cb2c(this,_0x3b9e00(0x343),null),_0x53cb2c(this,_0x3b9e00(0x1fb),new Map()),_0x53cb2c(this,'_unitStatus',new Map()),this[_0x3b9e00(0x1a2)]();}['dispose'](){const _0x155107=_0x34bf02;super['dispose'](),this['_clearOtherTimers']['forEach']((_0xc9862c,_0x377ee4)=>this[_0x155107(0x140)](_0x377ee4)),this[_0x155107(0x343)]&&window[_0x155107(0x29e)](this[_0x155107(0x343)]);}[_0x34bf02(0x18b)](_0x40d4ad){const _0x500041=_0x34bf02;return this[_0x500041(0x1f5)](_0x40d4ad)[_0x500041(0x13e)](_0x220c87[_0x500041(0x186)]());}[_0x34bf02(0x2bb)](_0x25ed3b){const _0x5dcd69=_0x34bf02;this[_0x5dcd69(0x25e)][_0x5dcd69(0x252)]===0x0&&this[_0x5dcd69(0x141)](),this['_selfUnitIDs'][_0x5dcd69(0x15a)](_0x25ed3b),this[_0x5dcd69(0x1ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x25ed3b],'isForwarded':!0x1});}[_0x34bf02(0x2ac)](_0xd16e7b){const _0x139b7e=_0x34bf02;this[_0x139b7e(0x25e)][_0x139b7e(0x1d8)](_0xd16e7b),this[_0x139b7e(0x25e)][_0x139b7e(0x252)]===0x0&&this[_0x139b7e(0x343)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x34bf02(0x1a2)](){const _0x91d544=_0x34bf02;this[_0x91d544(0x218)](_0x4503f9[_0x91d544(0x25a)](_0x220c87['fromEvent'](window,_0x91d544(0x11e))[_0x91d544(0x2c3)](_0x35c1eb=>{const _0x2705ec=_0x91d544;if(_0x35c1eb['key']!==_0x55cdae||!_0x35c1eb[_0x2705ec(0x16f)])return;const _0x3a505f=JSON[_0x2705ec(0xda)](_0x35c1eb['newValue']);this['_handleEvent'](_0x3a505f);}))),window[_0x91d544(0x30a)](_0x91d544(0x249),()=>this[_0x91d544(0x1ea)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x91d544(0x2dd)](this['_selfUnitIDs'])}));}[_0x34bf02(0x1ec)](_0x211cb9){const _0x3111c0=_0x34bf02;switch(_0x211cb9['type']){case 0x0:this[_0x3111c0(0x1d1)](_0x211cb9);break;case 0x1:this[_0x3111c0(0x2f8)](_0x211cb9);break;case 0x2:this['_handleHeartbeatEvent'](_0x211cb9);break;}}[_0x34bf02(0x1d1)](_0x11b53a){const _0x21d137=_0x34bf02,{unitIDs:_0x3bbb58,memberID:_0x118429,isForwarded:_0x1453fb}=_0x11b53a;_0x3bbb58[_0x21d137(0x16e)](_0x455eaa=>{const _0x50110a=_0x21d137;if(!_0x1453fb&&this[_0x50110a(0x110)]['has'](_0x455eaa)&&this['_ensureSubject'](_0x455eaa)[_0x50110a(0x159)](_0x515138[_0x50110a(0x27c)][_0x50110a(0x21c)]),!this[_0x50110a(0x110)][_0x50110a(0xf6)](_0x455eaa)||!this[_0x50110a(0x110)][_0x50110a(0x223)](_0x455eaa)[_0x50110a(0xf6)](_0x118429)){const _0x1edb19=this[_0x50110a(0x110)]['get'](_0x455eaa)||new Set();_0x1edb19[_0x50110a(0x15a)](_0x118429),this['_unitOnClients'][_0x50110a(0x250)](_0x455eaa,_0x1edb19),this['_scheduleClearOtherTimer'](_0x118429);}}),_0x1453fb||this[_0x21d137(0x1ea)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x21d137(0x25e)]],'isForwarded':!0x0});}[_0x34bf02(0x33d)](_0x4710fb){const _0x252b94=_0x34bf02;this[_0x252b94(0x140)](_0x4710fb);const _0x1c1a87=window[_0x252b94(0x122)](()=>{const _0x2247ad=_0x252b94;this[_0x2247ad(0x110)][_0x2247ad(0x16e)](_0x51002b=>{const _0x36b0d3=_0x2247ad;_0x51002b[_0x36b0d3(0x1d8)](_0x4710fb);});},_0x2dbedc*0x2);this[_0x252b94(0x1fb)][_0x252b94(0x250)](_0x4710fb,_0x1c1a87);}['_removeClearOtherTimer'](_0x31000b){const _0x2c3de6=_0x34bf02;if(this[_0x2c3de6(0x1fb)][_0x2c3de6(0xf6)](_0x31000b)){const _0x28e623=this[_0x2c3de6(0x1fb)][_0x2c3de6(0x223)](_0x31000b);_0x28e623&&window['clearTimeout'](_0x28e623),this[_0x2c3de6(0x1fb)][_0x2c3de6(0x250)](_0x31000b,null);}}[_0x34bf02(0x2f8)](_0x48e36a){const _0x3e558b=_0x34bf02,{memberID:_0x421d21,unitIDs:_0x2a1a64}=_0x48e36a;_0x2a1a64[_0x3e558b(0x16e)](_0x4658ef=>{const _0x27335d=_0x3e558b;var _0x431b9a;const _0x1b85ea=this[_0x27335d(0x110)][_0x27335d(0x223)](_0x4658ef);_0x1b85ea&&(_0x1b85ea['delete'](_0x421d21),(_0x431b9a=this[_0x27335d(0x1f5)](_0x4658ef))==null||_0x431b9a[_0x27335d(0x159)](_0x1b85ea[_0x27335d(0x252)]===0x0?_0x515138[_0x27335d(0x27c)][_0x27335d(0xf7)]:_0x515138['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x3e558b(0x140)](_0x421d21);}[_0x34bf02(0x106)](_0x2968c3){const _0x4824ac=_0x34bf02;this[_0x4824ac(0x33d)](_0x2968c3[_0x4824ac(0x300)]);}[_0x34bf02(0x1ea)](_0x3d8180){const _0x39b5d2=_0x34bf02;localStorage[_0x39b5d2(0x33f)](_0x55cdae,JSON[_0x39b5d2(0x114)](_0x3d8180));}[_0x34bf02(0x141)](){const _0x13a07a=_0x34bf02;this[_0x13a07a(0x343)]=window[_0x13a07a(0xce)](()=>{const _0x4b414d=_0x13a07a;this['_send']({'type':0x2,'memberID':this[_0x4b414d(0x1b2)]});},_0x2dbedc);}[_0x34bf02(0x1f5)](_0x3536b5){const _0x28ef28=_0x34bf02;return this[_0x28ef28(0x112)]['has'](_0x3536b5)||this[_0x28ef28(0x112)][_0x28ef28(0x250)](_0x3536b5,new _0x220c87[(_0x28ef28(0x11d))](_0x515138[_0x28ef28(0x27c)][_0x28ef28(0xf7)])),this[_0x28ef28(0x112)][_0x28ef28(0x223)](_0x3536b5);}}var _0x524d69=(_0x519c0c=>(_0x519c0c[_0x519c0c['UNDEFINED']=0x0]=_0x34bf02(0xd7),_0x519c0c[_0x519c0c['OK']=0x1]='OK',_0x519c0c[_0x519c0c[_0x34bf02(0xe7)]=0x2]=_0x34bf02(0xe7),_0x519c0c[_0x519c0c[_0x34bf02(0x1a7)]=0x3]='PERMISSION_DENIED',_0x519c0c[_0x519c0c['NOT_FOUND']=0x4]=_0x34bf02(0x14c),_0x519c0c[_0x519c0c[_0x34bf02(0x2c8)]=0x5]=_0x34bf02(0x2c8),_0x519c0c[_0x519c0c[_0x34bf02(0x336)]=0x6]='ALREADY_EXISTS',_0x519c0c[_0x519c0c[_0x34bf02(0x118)]=0x7]=_0x34bf02(0x118),_0x519c0c[_0x519c0c['TOO_MANY_REQUESTS']=0x8]=_0x34bf02(0x1b0),_0x519c0c[_0x519c0c[_0x34bf02(0x132)]=0x9]=_0x34bf02(0x132),_0x519c0c[_0x519c0c[_0x34bf02(0x1be)]=0xa]=_0x34bf02(0x1be),_0x519c0c[_0x519c0c[_0x34bf02(0xfa)]=0x1389]=_0x34bf02(0xfa),_0x519c0c[_0x519c0c[_0x34bf02(0x138)]=0x1771]=_0x34bf02(0x138),_0x519c0c[_0x519c0c[_0x34bf02(0x163)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x519c0c[_0x519c0c[_0x34bf02(0x1dc)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x519c0c[_0x519c0c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x519c0c[_0x519c0c[_0x34bf02(0x2f6)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x519c0c[_0x519c0c['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x519c0c[_0x519c0c[_0x34bf02(0x166)]=0x1b5c]=_0x34bf02(0x166),_0x519c0c[_0x519c0c[_0x34bf02(0xdd)]=0x1b5d]=_0x34bf02(0xdd),_0x519c0c[_0x519c0c[_0x34bf02(0x1d0)]=0x1f41]=_0x34bf02(0x1d0),_0x519c0c[_0x519c0c[_0x34bf02(0xea)]=0x2329]=_0x34bf02(0xea),_0x519c0c[_0x519c0c[_0x34bf02(0x1cf)]=0x232a]=_0x34bf02(0x1cf),_0x519c0c[_0x519c0c[_0x34bf02(0x1c2)]=0x232b]=_0x34bf02(0x1c2),_0x519c0c[_0x519c0c[_0x34bf02(0x1a6)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x519c0c[_0x519c0c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x519c0c[_0x519c0c['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x519c0c[_0x519c0c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x519c0c[_0x519c0c[_0x34bf02(0x33c)]=0x2713]=_0x34bf02(0x33c),_0x519c0c[_0x519c0c[_0x34bf02(0x173)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x519c0c[_0x519c0c[_0x34bf02(0x127)]=0x271a]=_0x34bf02(0x127),_0x519c0c[_0x519c0c['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x34bf02(0x1b9),_0x519c0c[_0x519c0c[_0x34bf02(0x230)]=0x2af9]=_0x34bf02(0x230),_0x519c0c[_0x519c0c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x34bf02(0x24c),_0x519c0c[_0x519c0c[_0x34bf02(0xc7)]=0x2ee2]=_0x34bf02(0xc7),_0x519c0c[_0x519c0c['INVITE_CODE_REQUIRED']=0x2ee3]=_0x34bf02(0x24d),_0x519c0c[_0x519c0c[_0x34bf02(0x1e9)]=0x2ee4]=_0x34bf02(0x1e9),_0x519c0c[_0x519c0c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x519c0c[_0x519c0c[_0x34bf02(0x1df)]=0x32c9]=_0x34bf02(0x1df),_0x519c0c[_0x519c0c[_0x34bf02(0x17b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x519c0c[_0x519c0c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x34bf02(0x26a),_0x519c0c[_0x519c0c[_0x34bf02(0x168)]=-0x1]='UNRECOGNIZED',_0x519c0c))(_0x524d69||{}),_0x31b09a=Object['getOwnPropertyDescriptor'],_0x3b66e5=(_0x21ae9b,_0x1b48ee,_0x50aad2,_0xb4ac9f)=>{const _0x2cc1d0=_0x34bf02;for(var _0x309a68=_0xb4ac9f>0x1?void 0x0:_0xb4ac9f?_0x31b09a(_0x1b48ee,_0x50aad2):_0x1b48ee,_0x24a43e=_0x21ae9b[_0x2cc1d0(0x1ed)]-0x1,_0x1dfe78;_0x24a43e>=0x0;_0x24a43e--)(_0x1dfe78=_0x21ae9b[_0x24a43e])&&(_0x309a68=_0x1dfe78(_0x309a68)||_0x309a68);return _0x309a68;},_0x217fc4=(_0x2c3288,_0x5781de)=>(_0x1e56dc,_0x50ffb1)=>_0x5781de(_0x1e56dc,_0x50ffb1,_0x2c3288);_0xb9d8f1[_0x34bf02(0x21f)]=class extends _0x4503f9['Disposable']{constructor(_0x3525b9,_0x11fd5e,_0xce83bc){const _0x431b87=_0x34bf02;super(),this[_0x431b87(0x174)]=_0x3525b9,this[_0x431b87(0x17e)]=_0x11fd5e,this[_0x431b87(0xb2)]=_0xce83bc;}async['runOnServer'](_0x231cf6,_0x33a8,_0x43a742,..._0x184ae4){const _0x5b594f=_0x34bf02;var _0x5b25a9,_0x51700a,_0xec3d9d,_0x20c436;const _0x101372=this[_0x5b594f(0x174)][_0x5b594f(0xf2)]();if(!_0x101372)throw new Error(_0x5b594f(0x153));const _0x4f8c70=((_0x5b25a9=this[_0x5b594f(0xb2)][_0x5b594f(0x31c)](_0x515138[_0x5b594f(0xd5)]))!=null?_0x5b25a9:_0x515138[_0x5b594f(0x299)])+'/'+_0x231cf6+_0x5b594f(0x101)+_0x33a8,_0x1c6b86=new URL(window[_0x5b594f(0x1e7)][_0x5b594f(0x1fc)]),_0x4b0da9={'scriptId':_0x231cf6,'runId':(_0x51700a=_0x1c6b86[_0x5b594f(0x107)][_0x5b594f(0x223)]('runId'))!=null?_0x51700a:'','function':_0x33a8,'unitId':_0x101372[_0x5b594f(0x2b7)](),'argsOfFunction':JSON['stringify'](_0x184ae4),'invokeId':(_0xec3d9d=_0x43a742['invokeId'])!=null?_0xec3d9d:'','executionId':(_0x20c436=_0x43a742['executionId'])!=null?_0x20c436:''};try{const _0x237f5b=await this[_0x5b594f(0x17e)]['post'](_0x4f8c70,{'body':_0x4b0da9});return _0x237f5b[_0x5b594f(0x27f)]['error']&&_0x237f5b[_0x5b594f(0x27f)][_0x5b594f(0x328)][_0x5b594f(0x331)]!==_0x524d69['OK']?_0x5b594f(0x321):_0x237f5b['body']['result'];}catch{return _0x5b594f(0x321);}}},_0xb9d8f1[_0x34bf02(0x21f)]=_0x3b66e5([_0x217fc4(0x0,_0x4503f9['IUniverInstanceService']),_0x217fc4(0x1,_0x4503f9['Inject'](_0xc2c301[_0x34bf02(0x21a)])),_0x217fc4(0x2,_0x4503f9[_0x34bf02(0x123)])],_0xb9d8f1['RemoteUniscriptService']),_0xb9d8f1['CollaborationStatusDisplay']=_0x489b70,_0xb9d8f1['IURLService']=_0x101fa8,_0xb9d8f1[_0x34bf02(0x30b)]=_0x298a71,_0xb9d8f1[_0x34bf02(0x2ce)]=_0xe3bdcb,_0xb9d8f1[_0x34bf02(0x20f)]=_0x473f96,Object[_0x34bf02(0x2e6)](_0xb9d8f1,Symbol[_0x34bf02(0x13b)],{'value':_0x34bf02(0x2ad)});}));function _0x5b82(){const _0x347b38=['range','origin','jiqing500','docStateChange$','_status$','_collabCursorController','subscribe','fromEvent','unitId','onlineStatusIcon','onPointerMove$','UNAUTHENTICATED','_removeCollabCursors','wsSessionTicketUrl','UniverProCollaboration','SetSelectionsOperation','fillStyle','WebBrowserSingleActiveUnitService','collabStatus.notCollab','RefRangeService','getOwnPropertyDescriptor','min','4378024jnymhW','_initStatusComponent','@univerjs/docs','collaboration-client.offline-data-not-saved','_backgroundColor','_initStatusListener','setShapeProps','SetTextSelectionsOperation','UniverProCollaborationClient','addHandlerCallback','from','enableLocalCache','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','DesktopCollaborationStatusDisplayController','getMemberID','session.connection-failed','USERS_LEAVE','sessionStatus$','_messageService','defineProperty','#fff','UniverCore','black','ISnapshotServerService','assign','ACTIVE_UNIT_EVENT_CHANNEL','subscribeEvent','currentColor','getAncestorScale','off-line-single','TEXT_RANGE_LAYER_INDEX','object','isActive','@univerjs/ui','_assignedColors','APPLY_NON_SEQUENTIAL_REVISION','_docTransformSelectionsService','_handleLeaveEvent','9KLNntK','red300','ColorKit','getParam','div','InsertRangeMoveRightCommandId','_collaborationController','memberID','then','selection','UniverInstanceType','values','RxDisposable','max','_sheetSkeletonManagerService','getActiveRange','debug','addEventListener','SheetCollabCursorShape','50ItjwkJ','IImageIoService','SHEET_VIEWPORT_KEY','runId','_cursors','LOCAL_CACHE_INTERVAL','_colorIndex','className','_setupSubUnitSync','_labelPosition','IRemoteInstanceService','asObservable','_docTransformIMECacheService','tag','mergeOverrideWithDependencies','_eventUnsubscribe','getConfig','WebSocketService','replaceDocRanges','idSuffix','mask','Failed','Vector2','_drawTextRange','_roomMembers$','triggerDblclick','_memberService','_revisionService','error','string','_range','_docTransformStateCacheService','getCurrent','uni.network.url-service','drawWith','_refRangeService','session.will-retry','code','textRanges','map','eventID','_cursorShapes','ALREADY_EXISTS','isEditing','_cachedData','getUndoRedoMutationParamsCache','getVpScrollXYInfoByPosToVp','removeParam','YUUMI_RATE_OVER_LIMIT','_scheduleClearOtherTimer','IDocClipboardService','setItem','current','serializeRangeWithSheet','search','_heartbeatTimer','colorChannel1','setStateCache','NOT_COLLAB','verdancy600','random','unsubscribe','prototype','purple300','UniverUi','_handleHover','MessageType','override','createIdentifier','isTransformMutationsWithChangesetSuccess','_configService','_updateURLWithCurrentState','font','fillRule','connectInjector','endColumn','createElement','_config','getActiveSheet','OFFLINE','handleDeleteRangeMoveLeft','AWAITING','@univerjs/docs-ui','lineTo','collab-client.tooltip.reconnect','exhaustSavingTask','_beforeCloseService','getRenderById','makeDirty','@univerjs/engine-render','_saveCache','INVALID_INVITE_CODE','collab-text-anchor-','online','rxjs/operators','240068gnBvLW','DocIMEInputManagerService','getCoordByCell','setInterval','unshift','source','clipPath','concat','getRelativeToViewportCoord','includes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','M0\x200H16V16H0z','UNDEFINED','CollaborationDataLoaderController','params','parse','useRef','use','APPLY_DUPLICATED','_toggleOnline','Workbook','SheetSkeletonManagerService','getItem','_registerRenderDependencies','OffLineSingle','IMessageService','exports','_hideTimer','INTERNAL_ERROR','contains','CollaborationSessionService','LICENSE_MAX_UNITS_EXCEEDED','indexOf','m1Prime','DeleteRangeMoveLeftCommandId','transformRemoteChangeset','LocaleService','COLORS','resize','getFocusedUnit','DEFAULT_WS_SESSION_TICKET_URL','collabStatus.syncing','application/json','has','NO_OTHER_CLIENTS_EDITING','cursorInfo$','collaboration.single-unit.warning','CHANGESET_REVISION_CONFILICT','_hovered','onStarting','_drawRectRange','handleInsertRangeMoveRight','_cursor','setAlpha','/run/','handleInsertCol','send','_updateCollabCursors','_transformService','_handleHeartbeatEvent','searchParams','getTypeOfUnitAdded$','fill','dispose$','_entities','entityInit$','UNIVER_DOC','SYNCED','_transformPreviousActiveRange','_unitOnClients','engine','_unitStatus','dispose','stringify','_hover','_toggleOffline','unitID','INVALID_ARGUMENT','focused$','IRenderManagerService','_syncEditingCollabCursorService','_docStateChangeManagerService','BehaviorSubject','storage','PENDING','off-line-single_clip0_910_343','show','setTimeout','IConfigService','_initEvent','isTransformMutationFailure','getCurrentRevOfUnit','YUUMI_NO_CUBOID_FOR_QUESTION','transformSelections','transformStateCache','DocSelectionManagerService','handleDeleteRangeMoveUp','history','setParam','_initCommandExecutedListener','actions','trim','row','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','createSocket','ThemeService','redoState','with','SNAPSHOT_INVALID_SNAPSHOT','BuiltInUIPart','UniverDocs','toStringTag','push','getDocRanges','pipe','_transformHistoryAndStateStack','_removeClearOtherTimer','_scheduleHeartbeat','0\x200\x2017\x2016','univer-online-status','_updateSubUnitFromURLParams','_docSkeletonManagerService','apply','getCurrentUnitForType','permission.title','jsxs','_shapes','transform','NOT_FOUND','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSheetId','UniverSheetsUi','complete','UPDATE_CURSOR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CONFLICT','_docSyncEditingCollabCursorService','react/jsx-runtime','MUTATION','_urlService','next','add','runRefRangeMutations','debounce','restore','addObjects','getOwnPropertySymbols','Plugin','CollaborationController','_refreshCollabCursors','SNAPSHOT_HAS_BEEN_REMOVED','entries','measureText','APPLY_PERMISSION_DENIED','combineLatest','UNRECOGNIZED','_getMergeRange','_collabCursorState$','ICommandService','univer-online-status-icon','width','forEach','newValue','_session','_initResize','replace','YUUMI_SUBSCRIPTION_NOT_FOUND','_instanceService','path','session.collaboration-timeout','_draw','_registerDependencies','defIds','ILogService','MOBILE_HAS_BEEN_BOUND','_injector','url(#$1','_httpService','Rectangle','endRow','top','IUniverInstanceService','DocStateChangeManagerService','_localCacheService','_onCursorDelete','distinctUntilChanged','getMember','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','evenodd','sheetId','getUnitStatus$','_transformUndoRedoStack','bottom','save','jsx','handleIRemoveCol','_dataLoaderService','data','CollaborationUIEventId','React','Error','currentTheme$','undoState','registerRenderModule','transformMutation','cursorInfo','_textBubble','transformIMECache','_doCreateSocket','SUBMIT_CHANGESET_TIMEOUT','_drawAnchor','_disabled','_onRefRangeChange','_init','onMouseMove','symbol','merge','LICENSE_EXPORT_SIZE_EXCEEDED','PERMISSION_DENIED','ranges','closePath','fillText','_collabSessionService','ticket','DisposableCollection','m2Prime','HEADER_MENU','TOO_MANY_REQUESTS','AWAITING_WITH_PENDING','_id','_initEntityListener','396957qnMadu','deepClone','roomMembers$','1333827HUGuNY','propertyIsEnumerable','YUUMI_ASYNCIO_CANCELLED','assignAColorForMemberID','onPointerLeave$','NodePositionConvertToRectRange','clearTimeout','LOGIN_FAILED','useDependency','_getScale','SetDocZoomRatioOperation','LICENSE_IMPORT_SIZE_EXCEEDED','onlineStatusTitle','getSheetBySheetId','RECT','flatMap','collab-rect-range-','attrs','call','getCellPositionByOffset','pushState','ILocalCacheService','round','syncEditingCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CONNECTOR_DATA_TOO_LARGE','_handleJoinEvent','0\x200\x2016\x2016','subunit','ISocketService','deserializeRangeWithSheet','onCommandExecuted','useCallback','delete','_univerInstanceService','603612nnibfz','BrowserCollaborationSocketService','ENSURE_SNAPSHOT_EXECUTION','color','_startDocCollabCursor','WECHAT_HAS_BEEN_BOUND','switchMap','MemberService','displayName','imageSourceType','7OkSqrF','@univerjs-pro/collaboration','_onCursorUpdate','location','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','USER_NOT_INVITED_CODE','_send','@univerjs/sheets-ui','_handleEvent','length','RemoveColCommandId','_anchorDot','_localeService','subUnitId','_renderManagerService','_uiPartsService','getOffsetConfig','_ensureSubject','_getSheetObject','svg','mapTo','toString','ILocalStorageService','_clearOtherTimers','href','getStateCache','LOCAL_CACHE_INTERVAL_KEY','urlChange$','handleIRemoveRow','UniverDrawing','amd','getCurrentSelections','_notificationService','sessionTicket','collabStatus.conflict','DOC_RANGE_TYPE','@univerjs/drawing','UniverEngineFormula','event$','EffectRefRangId','univer-online','startsWith','handleMoveRange','WebURLService','DependentOn','forwardRef','@univerjs/core','getRangePointData','clsx','UniverNetwork','selections','loadUnit','disposeWithMe','name','HTTPService','_colorAssignService','OTHER_CLIENTS_EDITING','_createSocketURL','_localStorageService','RemoteUniscriptService','UniverRpc','mutations','_scheduleSaving','get','Inject','toRgbString','onPointerEnter$','init','InsertColCommandId','icon','collabCursorState$','getValue','on-line-single','Unknown\x20user','getSkeleton','transformMutationsWithChangeset','PY_RUNTIME_SCRIPT_ERROR','Injector','hovered','arc','getViewport','column','OTHER_CLIENT_EDITING','_getAnchorBounding','SessionStatus','_lastPointer','DeleteRangeMoveUpCommandId','url(#off-line-single_clip0_910_343)','doc.mutation.rich-text-editing','defs','SetWorksheetActivateCommand','1em','collaboration.closeRoom','height','text','_initDependencies','filter','hasOwnProperty','TRANSFORM_CHANGE_OBSERVABLE_TYPE','replaceState','touchDependencies','unload','_logService','registerRefRange','INVITE_CODE_HAS_BEEN_UES','INVITE_CODE_REQUIRED','loadOfflineData','reconnect','set','_online','size','Warning','FromArray','IUIPartsService','_color','saveImage','requireSession','getTypeOfUnitDisposed$','toDisposable','_commandService','_context','onlineStatus','_selfUnitIDs','@univerjs/network','Rect','JOIN_ROOM_FAILED','...','activeSheet$','function','useObservable','unit','@univerjs/engine-formula','react','_setupBeforeClosingHandler','EMAIL_HAS_BEEN_BOUND','setActiveRange','_getSaveTimeout','MoveRangeCommandId','NodePositionConvertToCursor','onTransformChange$','handleInsertRangeMoveDown','TEXT','rxjs','generateRandomId','CLOSE_ROOM','DocSkeletonManagerService','_startSheetCollabCursor','UNIVER_SHEET','debounceTime','@univerjs/design','RevisionService','@univerjs/rpc','UnitStatus','takeUntil','_themeService','body','@univerjs/sheets','addObject','_collaborationUIEventService','@univerjs-pro/collaboration-client','getUniverSheetInstance','UniverDocsUi','saveTaskMap','UniverCollaborationClientPlugin','_name','SOCKET_FAILED','executeCommand','popstate','Disposable','roomMembers','hide','shareReplay','_updateLocalCursor','Tools','collab-text-range-','some','UniverSheets','univer-online-status-title','Optional','univer-flex\x20univer-items-center','_saveTaskMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IBeforeCloseService','[CollaborationDataLoaderController]','_cursorInfo$','_anchor','clearInterval','CollaborationEvent','12398180zDxDFX','currentSkeleton$','getCollabEntity$','on-line-single_clip0_910_349','getColor','extend','type','translate(.97)','_imageIoService','setConfig','xlink:href','_entityInit$','disposeUnit','Module','ITransformService','_render','1049814FlppmA','CollaborationStatus','univerjs-icon\x20univerjs-icon-','registerDependencies','_scene','none','children','getUnitId','setUndoRedoMutationParamsCache','getCollabCursors$','getLocalCacheKey','editingUnit','findNodePositionByCharIndex'];_0x5b82=function(){return _0x347b38;};return _0x5b82();}
1
+ function _0x366c(_0x4fde69,_0x1b6c02){const _0x5079fd=_0x5079();return _0x366c=function(_0x366c0d,_0x1d302f){_0x366c0d=_0x366c0d-0xbc;let _0x4d578d=_0x5079fd[_0x366c0d];return _0x4d578d;},_0x366c(_0x4fde69,_0x1b6c02);}(function(_0x17268a,_0x568b9b){const _0x4a3b3b=_0x366c,_0x3877f5=_0x17268a();while(!![]){try{const _0x5979b6=parseInt(_0x4a3b3b(0x213))/0x1+parseInt(_0x4a3b3b(0x163))/0x2+-parseInt(_0x4a3b3b(0x2e5))/0x3+parseInt(_0x4a3b3b(0x1dc))/0x4+parseInt(_0x4a3b3b(0x16e))/0x5+-parseInt(_0x4a3b3b(0x179))/0x6*(parseInt(_0x4a3b3b(0x227))/0x7)+-parseInt(_0x4a3b3b(0xc4))/0x8;if(_0x5979b6===_0x568b9b)break;else _0x3877f5['push'](_0x3877f5['shift']());}catch(_0x55ed14){_0x3877f5['push'](_0x3877f5['shift']());}}}(_0x5079,0x541a8),function(_0x162c8a,_0x782cba){const _0x23885b=_0x366c;typeof exports==_0x23885b(0x128)&&typeof module<'u'?_0x782cba(exports,require(_0x23885b(0x21a)),require(_0x23885b(0x28d)),require(_0x23885b(0x196)),require(_0x23885b(0xbe)),require(_0x23885b(0x174)),require(_0x23885b(0x314)),require(_0x23885b(0x1f7)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x23885b(0x349)),require(_0x23885b(0x1e1)),require(_0x23885b(0x288)),require(_0x23885b(0xf2)),require(_0x23885b(0x2c7)),require(_0x23885b(0x27e)),require(_0x23885b(0x12f)),require('react'),require(_0x23885b(0x192))):typeof define==_0x23885b(0x29f)&&define[_0x23885b(0x1a3)]?define([_0x23885b(0x295),'@univerjs-pro/collaboration-client',_0x23885b(0x28d),_0x23885b(0x196),_0x23885b(0xbe),'@univerjs/docs-ui',_0x23885b(0x314),'rxjs',_0x23885b(0x30c),_0x23885b(0x189),_0x23885b(0x349),_0x23885b(0x1e1),_0x23885b(0x288),'@univerjs/sheets-ui',_0x23885b(0x2c7),_0x23885b(0x27e),'@univerjs/design','react',_0x23885b(0x192)],_0x782cba):(_0x162c8a=typeof globalThis<'u'?globalThis:_0x162c8a||self,_0x782cba(_0x162c8a[_0x23885b(0x13e)]={},_0x162c8a['UniverProCollaborationClient'],_0x162c8a[_0x23885b(0x10d)],_0x162c8a[_0x23885b(0xd6)],_0x162c8a[_0x23885b(0x302)],_0x162c8a[_0x23885b(0x26b)],_0x162c8a[_0x23885b(0x162)],_0x162c8a[_0x23885b(0x1f7)],_0x162c8a[_0x23885b(0x249)],_0x162c8a[_0x23885b(0x143)],_0x162c8a[_0x23885b(0x274)],_0x162c8a[_0x23885b(0x1eb)],_0x162c8a['rxjs'][_0x23885b(0x31a)],_0x162c8a[_0x23885b(0x17a)],_0x162c8a[_0x23885b(0x183)],_0x162c8a[_0x23885b(0x1d2)],_0x162c8a['UniverDesign'],_0x162c8a[_0x23885b(0x183)],_0x162c8a[_0x23885b(0x252)]));}(this,function(_0x24e36d,_0x52f34c,_0x4b6906,_0xa2dea1,_0x4aa660,_0x4142bf,_0x3d1d74,_0x596bb7,_0x3c6c88,_0x5873f4,_0x3cd16e,_0x5de2fa,_0x46ce86,_0x145de3,_0x2d1486,_0x30ed06,_0x913b08,_0x2fa141,_0x221cf2){'use strict';const _0x3249e4=_0x366c;var _0x5d6252=Object[_0x3249e4(0x2dc)],_0x1bf00d=(_0x1f70b0,_0x238f5c,_0x40cc5f)=>_0x238f5c in _0x1f70b0?_0x5d6252(_0x1f70b0,_0x238f5c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40cc5f}):_0x1f70b0[_0x238f5c]=_0x40cc5f,_0x202b34=(_0x516666,_0x4373d6,_0x19db78)=>_0x1bf00d(_0x516666,typeof _0x4373d6!='symbol'?_0x4373d6+'':_0x4373d6,_0x19db78),_0x4aad17=Object[_0x3249e4(0x16f)],_0x3cfd59=(_0x5a1d19,_0x243334,_0x22253c,_0x1a7ddb)=>{const _0x383fbd=_0x3249e4;for(var _0x4f2333=_0x1a7ddb>0x1?void 0x0:_0x1a7ddb?_0x4aad17(_0x243334,_0x22253c):_0x243334,_0x386a5e=_0x5a1d19[_0x383fbd(0x10a)]-0x1,_0x5da83b;_0x386a5e>=0x0;_0x386a5e--)(_0x5da83b=_0x5a1d19[_0x386a5e])&&(_0x4f2333=_0x5da83b(_0x4f2333)||_0x4f2333);return _0x4f2333;},_0x1701a8=(_0x221e84,_0x2bf34c)=>(_0x57ab19,_0xbd091c)=>_0x2bf34c(_0x57ab19,_0xbd091c,_0x221e84);let _0x3897f7=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x5a0ef3,_0x5273bf){const _0x3c8806=_0x3249e4;super(),this[_0x3c8806(0x262)]=_0x5a0ef3,this['_imageIoService']=_0x5273bf,this[_0x3c8806(0x1c4)]();}[_0x3249e4(0x1c4)](){const _0xe26b8c=_0x3249e4,_0x382ca3=this;this[_0xe26b8c(0x2a0)](this[_0xe26b8c(0x262)][_0xe26b8c(0x34c)]({'onBeforePasteImage':async _0x429f1b=>{const _0x55c157=_0xe26b8c,_0x370ff=await _0x382ca3['_imageIoService'][_0x55c157(0x347)](_0x429f1b);return _0x370ff?{'source':_0x370ff[_0x55c157(0x34a)],'imageSourceType':_0x370ff['imageSourceType']}:null;}}));}};_0x3897f7=_0x3cfd59([_0x1701a8(0x0,_0x4142bf[_0x3249e4(0x1d7)]),_0x1701a8(0x1,_0x3d1d74['IImageIoService'])],_0x3897f7);const _0x4424f6=[_0x3249e4(0x108),_0x3249e4(0x105),_0x3249e4(0x1b7),_0x3249e4(0x229),_0x3249e4(0x142),_0x3249e4(0x320)];class _0x1111e6 extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(){const _0x5f516b=_0x3249e4;super(...arguments),_0x202b34(this,_0x5f516b(0x118),new Map()),_0x202b34(this,_0x5f516b(0x1ee),0x0);}[_0x3249e4(0x269)](_0x26e37a){const _0x9ed706=_0x3249e4;if(this[_0x9ed706(0x118)]['has'](_0x26e37a))return this[_0x9ed706(0x118)][_0x9ed706(0x14a)](_0x26e37a);const _0x33933e=_0x4424f6[this['_colorIndex']];return this[_0x9ed706(0x1ee)]=(this[_0x9ed706(0x1ee)]+0x1)%_0x4424f6[_0x9ed706(0x10a)],this[_0x9ed706(0x118)]['set'](_0x26e37a,_0x33933e),_0x33933e;}}function _0x5a38b5(_0x2a954b){const _0x3790c9=_0x3249e4;let _0x5d7d20='';for(const _0x10f858 of _0x2a954b){const {startOffset:_0x366725,endOffset:_0x5da5f2,isActive:_0x19e8f7,rangeType:_0x354900,segmentId:_0xaeff10,segmentPage:_0x1fcbd2}=_0x10f858;_0x5d7d20[_0x3790c9(0x10a)]&&(_0x5d7d20+=','),_0x5d7d20+=_0x366725+':'+_0x5da5f2+':'+(_0x19e8f7?'1':'0')+':'+_0x354900+':'+_0xaeff10+':'+_0x1fcbd2;}return _0x5d7d20;}function _0x26bfe6(_0x380b4e){const _0x5a0ba7=_0x3249e4,_0x2aa5b0=_0x380b4e[_0x5a0ba7(0x28b)](','),_0x1e4990=[];for(const _0x5f15df of _0x2aa5b0){const [_0x3c5e8e,_0x1d6baa,_0x53a6ca,_0x48a2d8,_0x4515d3,_0x517728]=_0x5f15df[_0x5a0ba7(0x28b)](':');_0x1e4990[_0x5a0ba7(0xfa)]({'startOffset':Number(_0x3c5e8e),'endOffset':Number(_0x1d6baa),'collapsed':_0x3c5e8e===_0x1d6baa,'isActive':_0x53a6ca==='1','rangeType':_0x48a2d8===_0x4b6906[_0x5a0ba7(0x26f)]['TEXT']?_0x4b6906[_0x5a0ba7(0x26f)][_0x5a0ba7(0x2c0)]:_0x4b6906[_0x5a0ba7(0x26f)]['RECT'],'segmentId':typeof _0x4515d3==_0x5a0ba7(0x110)?String(_0x4515d3):'','segmentPage':Number(_0x517728!=null?_0x517728:-0x1)});}return _0x1e4990['some'](_0x583b5a=>_0x583b5a[_0x5a0ba7(0x13a)])||(_0x1e4990[0x0][_0x5a0ba7(0x13a)]=!0x0),_0x1e4990;}class _0x3ac6b6 extends _0x4b6906[_0x3249e4(0x304)]{constructor(){const _0x15a3b4=_0x3249e4;super(...arguments),_0x202b34(this,_0x15a3b4(0x35d),new _0x596bb7[(_0x15a3b4(0x2db))](null)),_0x202b34(this,_0x15a3b4(0x1d0),this['_collabCursorState$']['asObservable']());}[_0x3249e4(0x2cc)](_0x3b74dd){const _0xc5d7bb=_0x3249e4,{unitID:_0x14f839,memberID:_0x5540d2,textRanges:_0x34f460}=_0x3b74dd,_0x29d84a=_0x5a38b5(_0x34f460);if(_0x29d84a==='')return;const _0x4fb08c={'unitID':_0x14f839,'memberID':_0x5540d2,'selection':_0x29d84a};this[_0xc5d7bb(0x35d)][_0xc5d7bb(0x2ad)](_0x4fb08c);}}var _0x370827=Object[_0x3249e4(0x16f)],_0xf00e81=(_0x3689f5,_0x2b860a,_0x4740c4,_0x177ea6)=>{for(var _0x10c454=_0x177ea6>0x1?void 0x0:_0x177ea6?_0x370827(_0x2b860a,_0x4740c4):_0x2b860a,_0x3db63b=_0x3689f5['length']-0x1,_0x414d54;_0x3db63b>=0x0;_0x3db63b--)(_0x414d54=_0x3689f5[_0x3db63b])&&(_0x10c454=_0x414d54(_0x10c454)||_0x10c454);return _0x10c454;},_0x31ff33=(_0x429aa7,_0x478720)=>(_0x216e52,_0x4a4f36)=>_0x478720(_0x216e52,_0x4a4f36,_0x429aa7);const _0x373b3d=0x12c,_0x2ff0c7=0x64;let _0x4bb0c4=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x1f3279,_0x1cbc1e,_0x34d14d,_0x4f00c1,_0x31f38b,_0x3b142d,_0x1ff470,_0x57a141,_0x583dfc){const _0x32805f=_0x3249e4;super(),_0x202b34(this,_0x32805f(0xc1),!0x1),_0x202b34(this,'_init',!0x1),_0x202b34(this,_0x32805f(0x1f1),new _0x596bb7[(_0x32805f(0x2db))](new Map())),_0x202b34(this,'cursorInfo$',this[_0x32805f(0x1f1)][_0x32805f(0x1b6)]()),_0x202b34(this,'_roomMembers$',new _0x596bb7[(_0x32805f(0x2db))]([])),_0x202b34(this,'roomMembers$',this[_0x32805f(0x254)]['pipe'](_0x596bb7['debounceTime'](_0x373b3d))),_0x202b34(this,_0x32805f(0x22c),_0x4b6906[_0x32805f(0x17d)](_0x4f622c=>{const _0xf2b4af=_0x32805f,_0x1e8077={'eventID':_0x5873f4['CollaborationEvent'][_0xf2b4af(0xf3)],'data':{'unitID':this[_0xf2b4af(0x2d1)],'memberID':this['_session'][_0xf2b4af(0x112)](),'selection':_0x5a38b5(_0x4f622c)}};this[_0xf2b4af(0x2b6)][_0xf2b4af(0x1d9)](_0x1e8077,this[_0xf2b4af(0x2d1)]);},_0x2ff0c7)),(this['unitID']=_0x1f3279,this['_session']=_0x1cbc1e,this[_0x32805f(0x10e)]=_0x34d14d,this[_0x32805f(0x31e)]=_0x4f00c1,this[_0x32805f(0x294)]=_0x31f38b,this[_0x32805f(0x1c7)]=_0x3b142d,this[_0x32805f(0x1ff)]=_0x1ff470,this[_0x32805f(0x11d)]=_0x57a141,this[_0x32805f(0x13b)]=_0x583dfc);}get[_0x3249e4(0xd0)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x3249e4(0x241)](){const _0x5ea7f9=_0x3249e4;super[_0x5ea7f9(0x241)](),this[_0x5ea7f9(0x1f1)]['next'](new Map()),this[_0x5ea7f9(0x1f1)][_0x5ea7f9(0x2d3)](),this['_roomMembers$'][_0x5ea7f9(0x2ad)]([]),this[_0x5ea7f9(0x254)][_0x5ea7f9(0x2d3)]();}[_0x3249e4(0x19d)](){const _0x23e863=_0x3249e4;this[_0x23e863(0x1c4)]||(this[_0x23e863(0x1c4)]=!0x0,this[_0x23e863(0x2b6)][_0x23e863(0x33a)][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this['dispose$']))[_0x23e863(0x2ea)](_0x32a563=>{const _0xf25dca=_0x23e863;_0x32a563===_0x52f34c['SessionStatus'][_0xf25dca(0x29d)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this[_0x23e863(0xeb)]))[_0x23e863(0x2ea)](_0x85e808=>{const _0x79181=_0x23e863,_0x3bf266=_0x85e808[_0x79181(0x2ce)];_0x3bf266===_0x5873f4[_0x79181(0x345)][_0x79181(0xf3)]&&this[_0x79181(0x1d5)](_0x85e808),_0x3bf266===_0x5873f4[_0x79181(0x345)]['USERS_LEAVE']&&this[_0x79181(0x2ae)](_0x85e808);}),this[_0x23e863(0x2a0)](this[_0x23e863(0x13b)][_0x23e863(0x232)](_0x54f71b=>{const _0x337e17=_0x23e863,_0x3f343d=_0x54f71b[_0x337e17(0xc8)];_0x3f343d!=null&&this[_0x337e17(0xc1)]&&_0x54f71b['id']===_0x3c6c88[_0x337e17(0x137)]['id']&&_0x3f343d[_0x337e17(0x24d)]===this[_0x337e17(0x2d1)]&&_0x3f343d['isEditing']===!0x1&&_0x3f343d['ranges'][_0x337e17(0x10a)]>0x0&&this['_updateLocalCursor'](_0x3f343d[_0x337e17(0x338)]);})),this['_syncEditingCollabCursorService'][_0x23e863(0x1d0)][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this['dispose$']))[_0x23e863(0x2ea)](_0x2b2574=>{const _0x23a39b=_0x23e863;if((_0x2b2574==null?void 0x0:_0x2b2574['unitID'])!==this['unitID'])return;const _0x3b5c17={'eventID':_0x5873f4['CollaborationEvent'][_0x23a39b(0xf3)],'data':_0x2b2574};this[_0x23a39b(0x1d5)](_0x3b5c17);}),this[_0x23e863(0x2a0)](this[_0x23e863(0x13b)][_0x23e863(0x232)](_0x3883ba=>{const _0x35db34=_0x23e863;if(_0x3883ba[_0x35db34(0xc8)]==null)return;const _0x37efb9=_0x3883ba[_0x35db34(0xc8)];if(_0x3883ba['id']!==_0x3c6c88[_0x35db34(0x11f)]['id']||_0x37efb9[_0x35db34(0x24d)]!==this['unitID'])return;const _0x3af64c={'id':'doc.mutation.rich-text-editing','params':_0x37efb9},_0x5b0b60=this[_0x35db34(0xd0)];for(const [_0x13edff,_0x1857dc]of _0x5b0b60){const _0x35bed4={'id':_0x35db34(0x18a),'params':{'unitId':this[_0x35db34(0x2d1)],'actions':null,'textRanges':_0x1857dc['ranges']}},_0x1255d7=this[_0x35db34(0x1ff)][_0x35db34(0x18c)](_0x3af64c,_0x35bed4,!0x1);if(_0x5873f4[_0x35db34(0x2b0)](_0x1255d7))throw _0x1255d7[_0x35db34(0x267)];_0x5b0b60[_0x35db34(0x32a)](_0x13edff,{..._0x1857dc,'ranges':_0x1255d7['m2Prime']['params'][_0x35db34(0x1ea)]});}queueMicrotask(()=>{const _0x5c7b71=_0x35db34;this[_0x5c7b71(0x1f1)][_0x5c7b71(0x2ad)](_0x5b0b60);});})));}['_onCursorUpdate'](_0x571307){const _0x8a6a52=_0x3249e4;var _0xfc64ad,_0x15b819;const {memberID:_0x1a56ba,selection:_0x4012a8}=_0x571307[_0x8a6a52(0x140)],_0x57be31=_0x26bfe6(_0x4012a8),_0x5be9aa=(_0x15b819=(_0xfc64ad=this[_0x8a6a52(0x294)][_0x8a6a52(0x219)](this[_0x8a6a52(0x2d1)],_0x1a56ba))==null?void 0x0:_0xfc64ad['name'])!=null?_0x15b819:_0x8a6a52(0x18f),_0x2d62f6={'color':this[_0x8a6a52(0x31e)][_0x8a6a52(0x269)](_0x1a56ba),'name':_0x5be9aa,'ranges':_0x57be31},_0x2d8f63=this[_0x8a6a52(0xd0)];_0x2d8f63[_0x8a6a52(0x32a)](_0x1a56ba,_0x2d62f6),this[_0x8a6a52(0x1f1)][_0x8a6a52(0x2ad)](_0x2d8f63);}['_onCursorDelete'](_0x7ebf06){const _0x2b016b=_0x3249e4,{memberID:_0x463b73}=_0x7ebf06[_0x2b016b(0x140)],_0x323f7c=this[_0x2b016b(0xd0)];_0x323f7c[_0x2b016b(0x16d)](_0x463b73),this[_0x2b016b(0x1f1)][_0x2b016b(0x2ad)](_0x323f7c);}['_toggleOnline'](){const _0x1f927d=_0x3249e4;var _0x5f5097;if(this[_0x1f927d(0xc1)]=!0x0,((_0x5f5097=this['_univerInstanceService'][_0x1f927d(0x2be)]())==null?void 0x0:_0x5f5097[_0x1f927d(0x293)]())!==this[_0x1f927d(0x2d1)])return;const _0x9e5eba=this[_0x1f927d(0x10e)][_0x1f927d(0x14a)](_0x3c6c88['DocSelectionManagerService'])[_0x1f927d(0x26c)]();Array[_0x1f927d(0x145)](_0x9e5eba)&&_0x9e5eba[_0x1f927d(0x10a)]>0x0&&this[_0x1f927d(0x22c)](_0x9e5eba);}[_0x3249e4(0x1bb)](){const _0x452184=_0x3249e4;this[_0x452184(0xc1)]=!0x1;}};_0x4bb0c4=_0xf00e81([_0x31ff33(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x31ff33(0x3,_0x4b6906['Inject'](_0x1111e6)),_0x31ff33(0x4,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['MemberService'])),_0x31ff33(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x3ac6b6)),_0x31ff33(0x6,_0x5873f4[_0x3249e4(0x1e5)]),_0x31ff33(0x7,_0x4b6906['IUniverInstanceService']),_0x31ff33(0x8,_0x4b6906[_0x3249e4(0x1e9)])],_0x4bb0c4);var _0x52bbf4=Object[_0x3249e4(0x16f)],_0x1d30b2=(_0x1f7508,_0x591da1,_0x1d2ef1,_0x454964)=>{const _0x454a1f=_0x3249e4;for(var _0x459186=_0x454964>0x1?void 0x0:_0x454964?_0x52bbf4(_0x591da1,_0x1d2ef1):_0x591da1,_0x2230a4=_0x1f7508[_0x454a1f(0x10a)]-0x1,_0x377298;_0x2230a4>=0x0;_0x2230a4--)(_0x377298=_0x1f7508[_0x2230a4])&&(_0x459186=_0x377298(_0x459186)||_0x459186);return _0x459186;},_0x1067b3=(_0x4b0356,_0x446c33)=>(_0x3d7932,_0xc424a5)=>_0x446c33(_0x3d7932,_0xc424a5,_0x4b0356);const _0x48aba5=0x12c,_0x4ed2c3=0x64,_0x2fa79a=()=>{let _0x3a576f=[],_0x1f2ce9=!0x1;return _0x1671fa=>{const _0x2d2863=_0x366c;_0x3a576f[_0x2d2863(0xfa)](_0x1671fa),_0x1f2ce9||(_0x1f2ce9=!0x0,setTimeout(()=>{_0x3a576f['forEach'](_0x3a7a32=>_0x3a7a32()),_0x3a576f=[],_0x1f2ce9=!0x1;}));};};let _0xf92256=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x305263,_0xacabd2,_0x48aa97,_0x3c1671,_0x57b907,_0x409e00,_0x241a91,_0x4ee8de){const _0x5a353e=_0x3249e4;super(),_0x202b34(this,_0x5a353e(0xc1),!0x1),_0x202b34(this,'_init',!0x1),_0x202b34(this,_0x5a353e(0x1f1),new _0x596bb7[(_0x5a353e(0x2db))](new Map())),_0x202b34(this,_0x5a353e(0x26e),this[_0x5a353e(0x1f1)][_0x5a353e(0x1b6)]()),_0x202b34(this,_0x5a353e(0x254),new _0x596bb7[(_0x5a353e(0x2db))]([])),_0x202b34(this,_0x5a353e(0x127),this[_0x5a353e(0x254)]['pipe'](_0x596bb7[_0x5a353e(0x275)](_0x48aba5))),_0x202b34(this,_0x5a353e(0x22c),_0x4b6906[_0x5a353e(0x17d)]((_0xf1f46,_0x2431ca)=>{const _0x3dca7b=_0x5a353e,_0x39e9e8={'eventID':_0x5873f4[_0x3dca7b(0x345)][_0x3dca7b(0xf3)],'data':{'unitID':this[_0x3dca7b(0x2d1)],'memberID':this['_session'][_0x3dca7b(0x112)](),'selection':_0x3cd16e[_0x3dca7b(0xce)](_0xf1f46,_0x2431ca[_0x3dca7b(0x2d7)])}};this[_0x3dca7b(0x2b6)][_0x3dca7b(0x1d9)](_0x39e9e8,this[_0x3dca7b(0x2d1)]);},_0x4ed2c3)),(this['unitID']=_0x305263,this[_0x5a353e(0x2b6)]=_0xacabd2,this[_0x5a353e(0x10e)]=_0x48aa97,this[_0x5a353e(0x31e)]=_0x3c1671,this[_0x5a353e(0x294)]=_0x57b907,this[_0x5a353e(0x11d)]=_0x409e00,this[_0x5a353e(0x13b)]=_0x241a91,this[_0x5a353e(0x321)]=_0x4ee8de);}get[_0x3249e4(0xd0)](){const _0x1e245d=_0x3249e4;return this[_0x1e245d(0x1f1)][_0x1e245d(0x29c)]();}get[_0x3249e4(0x1c9)](){const _0x5bdce4=_0x3249e4;return this[_0x5bdce4(0x254)][_0x5bdce4(0x29c)]();}[_0x3249e4(0x241)](){const _0x3a710e=_0x3249e4;super[_0x3a710e(0x241)](),this[_0x3a710e(0x1f1)][_0x3a710e(0x2ad)](new Map()),this[_0x3a710e(0x1f1)][_0x3a710e(0x2d3)](),this[_0x3a710e(0x254)][_0x3a710e(0x2ad)]([]),this[_0x3a710e(0x254)][_0x3a710e(0x2d3)]();}[_0x3249e4(0x19d)](){const _0x474974=_0x3249e4;this['_init']||(this[_0x474974(0x1c4)]=!0x0,this['_session'][_0x474974(0x33a)][_0x474974(0x24b)](_0x596bb7[_0x474974(0x33f)](this[_0x474974(0xeb)]))[_0x474974(0x2ea)](_0x2d1869=>{const _0x3c87a2=_0x474974;_0x2d1869===_0x52f34c[_0x3c87a2(0x245)]['ONLINE']?this[_0x3c87a2(0x191)]():this[_0x3c87a2(0x1bb)]();}),this[_0x474974(0x2b6)][_0x474974(0x14e)][_0x474974(0x24b)](_0x596bb7[_0x474974(0x33f)](this[_0x474974(0xeb)]))[_0x474974(0x2ea)](_0x20c05b=>{const _0x5b0518=_0x474974,_0x5e3c72=_0x20c05b['eventID'];_0x5e3c72===_0x5873f4[_0x5b0518(0x345)][_0x5b0518(0xf3)]&&this[_0x5b0518(0x1d5)](_0x20c05b),_0x5e3c72===_0x5873f4[_0x5b0518(0x345)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x20c05b);}),this['_onRefRangeChange'](),this[_0x474974(0x2a0)](this['_commandService'][_0x474974(0x232)](_0x119755=>{const _0x16fd87=_0x474974;if(this[_0x16fd87(0xc1)]&&_0x119755['id']===_0x5de2fa['SetSelectionsOperation']['id']&&_0x119755[_0x16fd87(0xc8)][_0x16fd87(0x24d)]===this[_0x16fd87(0x2d1)]){const _0x5155a7=_0x119755[_0x16fd87(0xc8)];this[_0x16fd87(0x22c)](_0x5155a7[_0x16fd87(0x1d8)],_0x5155a7[_0x16fd87(0x2a8)][0x0]);}})));}[_0x3249e4(0x1d5)](_0x355396){const _0x31df21=_0x3249e4;var _0x3b7c86,_0x37785a;const {memberID:_0x22fe16,selection:_0x43773b}=_0x355396[_0x31df21(0x140)],{sheetName:_0x1f249f,range:_0x2d476e}=_0x3cd16e[_0x31df21(0x1de)](_0x43773b),_0x218eca={'name':(_0x37785a=(_0x3b7c86=this[_0x31df21(0x294)]['getMember'](this[_0x31df21(0x2d1)],_0x22fe16))==null?void 0x0:_0x3b7c86[_0x31df21(0x33e)])!=null?_0x37785a:'Unknown\x20user','range':this[_0x31df21(0x2ac)](_0x1f249f,_0x2d476e),'sheetID':_0x1f249f,'color':this[_0x31df21(0x31e)][_0x31df21(0x269)](_0x22fe16),'selection':_0x43773b},_0x41bc26=this[_0x31df21(0xd0)];_0x41bc26[_0x31df21(0x32a)](_0x22fe16,_0x218eca),this['_cursorInfo$']['next'](_0x41bc26);}[_0x3249e4(0x2ae)](_0x225e6e){const _0x42ae35=_0x3249e4,{memberID:_0x461572}=_0x225e6e[_0x42ae35(0x140)],_0x20f39f=this[_0x42ae35(0xd0)];_0x20f39f[_0x42ae35(0x16d)](_0x461572),this[_0x42ae35(0x1f1)][_0x42ae35(0x2ad)](_0x20f39f);}[_0x3249e4(0x2ac)](_0x2209ce,_0x2162cf){const _0xd519a=_0x3249e4;var _0x3aa1cc,_0x2965bc;const _0x583d01=(_0x2965bc=(_0x3aa1cc=this[_0xd519a(0x11d)][_0xd519a(0x2cd)](this[_0xd519a(0x2d1)]))==null?void 0x0:_0x3aa1cc[_0xd519a(0x2e1)](_0x2209ce))==null?void 0x0:_0x2965bc[_0xd519a(0x1b0)]();return(_0x583d01==null?void 0x0:_0x583d01[_0xd519a(0x212)](_0x5a6e49=>_0x4b6906[_0xd519a(0x2a3)]['contains'](_0x5a6e49,_0x2162cf)))||_0x2162cf;}[_0x3249e4(0x332)](){const _0x16623b=_0x3249e4,_0x219e53=new _0x4b6906[(_0x16623b(0x20e))](),_0x498612=_0x2fa79a(),_0x369617=()=>{const _0x4ce7ba=_0x16623b;_0x219e53['dispose']();const _0x51f884=(_0x3261f9,_0x27ed09,_0x2eacd9,_0x418e99)=>{const _0x1bba46=_0x366c;let _0x398772=[];switch(_0x3261f9['id']){case _0x5de2fa['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x398772=_0x5de2fa[_0x1bba46(0x2ed)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x330)]:{_0x398772=_0x5de2fa[_0x1bba46(0x2af)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x2ca)]:{_0x398772=_0x5de2fa[_0x1bba46(0x160)](_0x3261f9,_0x418e99);break;}case _0x5de2fa['EffectRefRangId'][_0x1bba46(0x166)]:{_0x398772=_0x5de2fa[_0x1bba46(0x20d)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x1e4)]:{_0x398772=_0x5de2fa['handleInsertRangeMoveRight'](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x12d)]:{_0x398772=_0x5de2fa['handleInsertRow'](_0x3261f9,_0x418e99);break;}case _0x5de2fa['EffectRefRangId'][_0x1bba46(0x343)]:{_0x398772=_0x5de2fa[_0x1bba46(0x139)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x34d)]:{_0x398772=_0x5de2fa['handleIRemoveCol'](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x2c8)]:{_0x398772=_0x5de2fa['handleIRemoveRow'](_0x3261f9,_0x418e99);break;}}const _0x52fb63=_0x5de2fa[_0x1bba46(0x352)](_0x398772,_0x418e99),_0x4062ca=this['cursorInfo'][_0x1bba46(0x14a)](_0x27ed09);if(_0x4062ca&&_0x52fb63){const _0x1a3cdd={..._0x4062ca,'range':_0x52fb63};this[_0x1bba46(0xd0)][_0x1bba46(0x32a)](_0x27ed09,_0x1a3cdd),_0x498612(()=>{const _0x2dc334=_0x1bba46,_0x557f8a=this[_0x2dc334(0x321)]['registerRefRange'](_0x52fb63,_0xf4eb0b=>(_0x557f8a[_0x2dc334(0x241)](),_0x51f884(_0xf4eb0b,_0x27ed09,_0x2eacd9,_0x52fb63)));_0x219e53[_0x2dc334(0x117)](_0x557f8a);});}return{'redos':[],'undos':[]};};this[_0x4ce7ba(0xd0)][_0x4ce7ba(0x2eb)]((_0x2c50ef,_0x276086)=>{const _0x14f632=_0x4ce7ba,{range:_0x3d3d44,sheetID:_0x4aa1f8}=_0x2c50ef,_0x626c7a=this[_0x14f632(0x321)][_0x14f632(0x30e)](_0x3d3d44,_0x198dfd=>(_0x626c7a[_0x14f632(0x241)](),_0x51f884(_0x198dfd,_0x276086,_0x4aa1f8,_0x3d3d44)));_0x219e53['add'](_0x626c7a);});};this[_0x16623b(0x2a0)](_0x4b6906['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x369617();})));}[_0x3249e4(0x191)](){const _0x6f867b=_0x3249e4;var _0x3e103b,_0x5f546a;if(this['_online']=!0x0,((_0x3e103b=this[_0x6f867b(0x11d)][_0x6f867b(0x2be)]())==null?void 0x0:_0x3e103b[_0x6f867b(0x293)]())!==this['unitID'])return;const _0xbfef7c=(_0x5f546a=this[_0x6f867b(0x10e)][_0x6f867b(0x14a)](_0x5de2fa[_0x6f867b(0x193)])[_0x6f867b(0x11b)]())==null?void 0x0:_0x5f546a[0x0],_0x14c722=this[_0x6f867b(0x11d)][_0x6f867b(0x2a6)](_0x4b6906[_0x6f867b(0x1b3)]['UNIVER_SHEET'])[_0x6f867b(0x2a9)]();_0xbfef7c&&_0x14c722&&this[_0x6f867b(0x22c)](_0x14c722[_0x6f867b(0xda)](),_0xbfef7c);}[_0x3249e4(0x1bb)](){const _0x6bf62b=_0x3249e4;this[_0x6bf62b(0xc1)]=!0x1;}};_0xf92256=_0x1d30b2([_0x1067b3(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x1067b3(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x1111e6)),_0x1067b3(0x4,_0x4b6906['Inject'](_0x52f34c[_0x3249e4(0xcd)])),_0x1067b3(0x5,_0x4b6906[_0x3249e4(0x356)]),_0x1067b3(0x6,_0x4b6906[_0x3249e4(0x1e9)]),_0x1067b3(0x7,_0x4b6906[_0x3249e4(0x10b)](_0x5de2fa[_0x3249e4(0xf8)]))],_0xf92256);var _0x196fc2=Object[_0x3249e4(0x16f)],_0x2ba7ed=(_0x3b73ca,_0x33d97d,_0x1b501b,_0x354054)=>{for(var _0x4de5ec=_0x354054>0x1?void 0x0:_0x354054?_0x196fc2(_0x33d97d,_0x1b501b):_0x33d97d,_0x3990b6=_0x3b73ca['length']-0x1,_0x1ea7f1;_0x3990b6>=0x0;_0x3990b6--)(_0x1ea7f1=_0x3b73ca[_0x3990b6])&&(_0x4de5ec=_0x1ea7f1(_0x4de5ec)||_0x4de5ec);return _0x4de5ec;},_0x14de49=(_0x3351fc,_0x563eb5)=>(_0x2ca524,_0x5495a0)=>_0x563eb5(_0x2ca524,_0x5495a0,_0x3351fc);let _0x24ffd2=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x5b5d7a,_0x18e42c,_0x91cdb){const _0x2be385=_0x3249e4;super(),_0x202b34(this,_0x2be385(0xff),new Map()),_0x202b34(this,'_entityInit$',new _0x596bb7[(_0x2be385(0x296))]()),(this[_0x2be385(0x11d)]=_0x5b5d7a,this[_0x2be385(0x10e)]=_0x18e42c,this['_collabSessionService']=_0x91cdb,this['_init']());}[_0x3249e4(0x241)](){const _0x12d22a=_0x3249e4;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x12d22a(0x2eb)](_0x184370=>_0x184370[_0x12d22a(0x241)]());}[_0x3249e4(0x2d4)](_0x3a6e1f){const _0x521da4=_0x3249e4;return this['_entities'][_0x521da4(0x1dd)](_0x3a6e1f)?this[_0x521da4(0xff)][_0x521da4(0x14a)](_0x3a6e1f)[_0x521da4(0x26e)]:this[_0x521da4(0x190)][_0x521da4(0x24b)](_0x596bb7[_0x521da4(0x214)](_0x96ba04=>_0x96ba04[_0x521da4(0x2d1)]===_0x3a6e1f),_0x596bb7['switchMap'](_0x412ca8=>_0x412ca8[_0x521da4(0x26e)]));}[_0x3249e4(0x1c4)](){const _0x46b3e6=_0x3249e4;this[_0x46b3e6(0x11d)][_0x46b3e6(0x281)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x218)])[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))['subscribe'](async _0x4e892a=>{const _0x356041=_0x46b3e6,_0xb7143=_0x4e892a[_0x356041(0x293)](),_0xcc1189=await this['_startSheetCollabCursor'](_0xb7143);this[_0x356041(0x190)]['next'](_0xcc1189),this[_0x356041(0xff)]['set'](_0xb7143,_0xcc1189);}),this[_0x46b3e6(0x11d)][_0x46b3e6(0x281)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x208)])[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x214)](_0x25fdb7=>!_0x25fdb7[_0x46b3e6(0x293)]()['startsWith']('__')))[_0x46b3e6(0x2ea)](async _0x32343a=>{const _0x214783=_0x46b3e6,_0x52d0aa=_0x32343a['getUnitId'](),_0x3fbdd3=await this[_0x214783(0x120)](_0x52d0aa);this[_0x214783(0x190)][_0x214783(0x2ad)](_0x3fbdd3),this[_0x214783(0xff)][_0x214783(0x32a)](_0x52d0aa,_0x3fbdd3);}),_0x596bb7[_0x46b3e6(0xbf)](this['_univerInstanceService'][_0x46b3e6(0x195)](_0x4b6906['UniverInstanceType']['UNIVER_DOC']),this[_0x46b3e6(0x11d)][_0x46b3e6(0x195)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x218)]))[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))[_0x46b3e6(0x2ea)](_0x2bf972=>{const _0x352123=_0x46b3e6,_0x3e5c53=_0x2bf972[_0x352123(0x293)](),_0x4c67fb=this[_0x352123(0xff)]['get'](_0x3e5c53);_0x4c67fb&&(_0x4c67fb[_0x352123(0x241)](),this[_0x352123(0xff)][_0x352123(0x16d)](_0x3e5c53));});}async[_0x3249e4(0x331)](_0x190ccd){const _0x33d30d=_0x3249e4,_0x531b7f=await this[_0x33d30d(0x289)][_0x33d30d(0x1c0)](_0x190ccd),_0x5d2ceb=this[_0x33d30d(0x10e)][_0x33d30d(0x1ad)](_0xf92256,_0x190ccd,_0x531b7f);return _0x5d2ceb[_0x33d30d(0x19d)](),_0x5d2ceb;}async[_0x3249e4(0x120)](_0x2d2c78){const _0x299a18=_0x3249e4,_0x583457=await this[_0x299a18(0x289)][_0x299a18(0x1c0)](_0x2d2c78),_0x4fa6da=this[_0x299a18(0x10e)][_0x299a18(0x1ad)](_0x4bb0c4,_0x2d2c78,_0x583457);return _0x4fa6da[_0x299a18(0x19d)](),_0x4fa6da;}};_0x24ffd2=_0x2ba7ed([_0x14de49(0x0,_0x4b6906['IUniverInstanceService']),_0x14de49(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x14de49(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c[_0x3249e4(0xc3)]))],_0x24ffd2);const _0x4cb6aa=0x14,_0x9ff5e0=0xc8,_0x519ece=0x4,_0x7a50eb=0x5;function _0x4ffbf1(_0x4bec74,_0x47a685){const _0xb2a1cf=_0x3249e4;let {radius:_0x23b9e1,width:_0x3df4f6,height:_0x5d0980}=_0x47a685;_0x23b9e1=_0x23b9e1!=null?_0x23b9e1:0x0,_0x3df4f6=_0x3df4f6!=null?_0x3df4f6:0x1e,_0x5d0980=_0x5d0980!=null?_0x5d0980:0x1e;let _0x4bb609=0x0,_0x3d8385=0x0,_0x5f8e3e=0x0;_0x4bb609=_0x3d8385=_0x5f8e3e=Math[_0xb2a1cf(0x129)](_0x23b9e1,_0x3df4f6/0x2,_0x5d0980/0x2),_0x4bec74[_0xb2a1cf(0x305)](),_0x4bec74[_0xb2a1cf(0x23b)](_0x4bb609,0x0),_0x4bec74[_0xb2a1cf(0x298)](_0x3df4f6-_0x3d8385,0x0),_0x4bec74[_0xb2a1cf(0x1f9)](_0x3df4f6-_0x3d8385,_0x3d8385,_0x3d8385,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bec74[_0xb2a1cf(0x298)](_0x3df4f6,_0x5d0980-_0x5f8e3e),_0x4bec74[_0xb2a1cf(0x1f9)](_0x3df4f6-_0x5f8e3e,_0x5d0980-_0x5f8e3e,_0x5f8e3e,0x0,Math['PI']/0x2,!0x1),_0x4bec74[_0xb2a1cf(0x298)](0x0,_0x5d0980),_0x4bec74[_0xb2a1cf(0x298)](0x0,_0x4bb609),_0x4bec74[_0xb2a1cf(0x1f9)](_0x4bb609,_0x4bb609,_0x4bb609,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bec74[_0xb2a1cf(0x2b9)](),_0x47a685['fill']&&(_0x4bec74['save'](),_0x4bec74[_0xb2a1cf(0x280)]=_0x47a685[_0xb2a1cf(0x285)],_0x47a685[_0xb2a1cf(0x263)]===_0xb2a1cf(0x307)?_0x4bec74[_0xb2a1cf(0x285)](_0xb2a1cf(0x307)):_0x4bec74[_0xb2a1cf(0x285)](),_0x4bec74[_0xb2a1cf(0x268)]());}class _0x546edd extends _0xa2dea1[_0x3249e4(0x236)]{constructor(_0x350fe6,_0x421dff){const _0x1b57d4=_0x3249e4;super(_0x350fe6,_0x421dff),_0x202b34(this,'color'),_0x202b34(this,_0x1b57d4(0x1fa)),(this[_0x1b57d4(0x176)]=_0x421dff==null?void 0x0:_0x421dff['color'],this['text']=_0x421dff==null?void 0x0:_0x421dff[_0x1b57d4(0x1fa)]);}static[_0x3249e4(0xf9)](_0x183829,_0xfff765){const _0x5fcc78=_0x3249e4,{text:_0x1189b4,color:_0x2caf26}=_0xfff765;_0x183829[_0x5fcc78(0x1d1)](),_0x183829[_0x5fcc78(0xee)]=_0x5fcc78(0x334);const _0x5a606c=_0x183829[_0x5fcc78(0x22e)](_0x1189b4)['width'],_0x5ca197=Math[_0x5fcc78(0x129)](_0x5a606c+0x2*_0x519ece,_0x9ff5e0);_0x4ffbf1(_0x183829,{'height':_0x4cb6aa,'radius':0x4,'width':_0x5ca197,'fill':_0x2caf26}),_0x183829['fillStyle']=_0x5fcc78(0x1b5);const _0xf9f088=_0x519ece,_0x3a6be4=_0x4cb6aa-_0x7a50eb,_0x36f2c4=_0x9ff5e0-0x2*_0x519ece;if(_0x5a606c>_0x36f2c4){let _0x35b8ba='',_0x331543=0x0;for(const _0x1537aa of _0x1189b4){const _0x5906ca=_0x183829['measureText'](_0x1537aa)[_0x5fcc78(0x2ff)];if(_0x331543+_0x5906ca<=_0x36f2c4-_0x183829[_0x5fcc78(0x22e)](_0x5fcc78(0x2f7))[_0x5fcc78(0x2ff)])_0x35b8ba+=_0x1537aa,_0x331543+=_0x5906ca;else{_0x35b8ba+=_0x5fcc78(0x2f7);break;}}_0x183829['fillText'](_0x35b8ba,_0xf9f088,_0x3a6be4);}else _0x183829[_0x5fcc78(0xfb)](_0x1189b4,_0xf9f088,_0x3a6be4);_0x183829[_0x5fcc78(0x268)]();}[_0x3249e4(0x2c6)](_0x3263b){const _0x2902fd=_0x3249e4;_0x546edd[_0x2902fd(0xf9)](_0x3263b,this);}}const _0x1346b8=_0x3249e4(0x306),_0xa112d7=_0x3249e4(0x15a),_0x3a6bc4=_0x3249e4(0x276),_0x4046a2=0x6,_0x3d28dd=1.5,_0x1e7763=0x4,_0x511e4c=1.5,_0x5ea6d6=_0x3249e4(0x291);class _0x13079a{constructor(_0x338573,_0x225877,_0x1d9299,_0x4d082b){const _0x48390c=_0x3249e4;_0x202b34(this,'_shapes',[]),_0x202b34(this,'_anchor',null),_0x202b34(this,_0x48390c(0x20f),null),_0x202b34(this,_0x48390c(0x225),null),_0x202b34(this,_0x48390c(0x235),null),_0x202b34(this,_0x48390c(0x102),null),(this[_0x48390c(0xd3)]=_0x338573,this[_0x48390c(0x2f1)]=_0x225877,this[_0x48390c(0x31f)]=_0x1d9299,this[_0x48390c(0x22f)]=_0x4d082b,this[_0x48390c(0xe3)]());}set[_0x3249e4(0x15f)](_0x260149){const _0x19708=_0x3249e4;_0x260149?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x19708(0x20f)]&&this[_0x19708(0x20f)][_0x19708(0x1e8)]()):(this[_0x19708(0x225)]&&this['_anchorDot'][_0x19708(0x1e8)](),this[_0x19708(0x20f)]&&this['_textBubble'][_0x19708(0x2bc)]());}[_0x3249e4(0x241)](){const _0x2444cf=_0x3249e4;for(const _0x22bdb3 of this[_0x2444cf(0x25e)])_0x22bdb3[_0x2444cf(0x241)]();this[_0x2444cf(0x20f)]&&this[_0x2444cf(0x20f)][_0x2444cf(0x241)](),this['_anchorDot']&&this[_0x2444cf(0x225)][_0x2444cf(0x241)](),this[_0x2444cf(0xc7)]&&this[_0x2444cf(0xc7)][_0x2444cf(0x241)](),this[_0x2444cf(0x102)]&&this[_0x2444cf(0x102)]();}[_0x3249e4(0xe3)](){const _0x5e2b98=_0x3249e4;var _0x3d74b3;const {_docSkeleton:_0x2550d2,_document:_0x3f3e88}=this,{color:_0x568f67,name:_0x34fec2,ranges:_0x4ef30c}=this[_0x5e2b98(0xd3)],_0x5ac947=_0x3f3e88[_0x5e2b98(0x34f)](),{docsLeft:_0x52b13f,docsTop:_0x167d61}=_0x5ac947,_0x10c87c=new _0x4142bf[(_0x5e2b98(0x283))](_0x5ac947,_0x2550d2);for(const {startOffset:_0x372049,endOffset:_0x493742,rangeType:_0x5aa7ca,segmentId:_0x580bd7,segmentPage:_0x2ec7d5,collapsed:_0x22af29,isActive:_0x55cd3e}of _0x4ef30c){const _0x276d64=_0x2550d2[_0x5e2b98(0x14b)](_0x372049,!0x0,_0x580bd7,_0x2ec7d5);let _0x7f4a5a=_0x2550d2['findNodePositionByCharIndex'](_0x493742,!0x0,_0x580bd7,_0x2ec7d5);if(_0x7f4a5a==null&&(_0x7f4a5a=_0x2550d2[_0x5e2b98(0x14b)](_0x493742-0x1,!0x1,_0x580bd7,_0x2ec7d5)),_0x55cd3e){const {contentBoxPointGroup:_0x156964}=_0x10c87c['getRangePointData'](_0x7f4a5a,_0x7f4a5a);if(_0x156964['length']===0x0)continue;this['_drawAnchor'](_0x568f67,_0x156964,_0x52b13f,_0x167d61,_0x34fec2),this[_0x5e2b98(0x102)]=this['_handleHover']();}if(_0x276d64&&_0x7f4a5a){if(_0x5aa7ca===_0x4b6906[_0x5e2b98(0x26f)][_0x5e2b98(0x1c3)]){const _0x318072=new _0x4142bf['NodePositionConvertToRectRange'](_0x5ac947,_0x2550d2),{pointGroup:_0x235c67}=(_0x3d74b3=_0x318072[_0x5e2b98(0x188)](_0x276d64,_0x7f4a5a))!=null?_0x3d74b3:{};if(_0x235c67==null||_0x235c67['length']===0x0)continue;this[_0x5e2b98(0x319)](_0x568f67,_0x235c67,_0x52b13f,_0x167d61);}else{if(!_0x22af29){const {borderBoxPointGroup:_0x326b60}=_0x10c87c['getRangePointData'](_0x276d64,_0x7f4a5a);if(_0x326b60[_0x5e2b98(0x10a)]===0x0)continue;this[_0x5e2b98(0x10f)](_0x568f67,_0x326b60,_0x52b13f,_0x167d61);}}}}}[_0x3249e4(0x2b2)](_0x53d5e6,_0xfef3fc,_0x569ec0,_0x3af7ff,_0x2ab659){const _0x4a2c1c=_0x3249e4,_0x4ee901=this['_getAnchorBounding'](_0xfef3fc),{left:_0x53379b,top:_0x5ca5ae,height:_0x2d11c7}=_0x4ee901,_0x2fad72=this[_0x4a2c1c(0x29e)](),_0x4f0442=_0x511e4c/_0x2fad72,_0x396fa2=new _0xa2dea1['Rect'](_0x1346b8+_0x4b6906[_0x4a2c1c(0x201)][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff,'height':_0x2d11c7,'width':_0x3d28dd,'fill':_0x53d5e6||_0xa2dea1[_0x4a2c1c(0x322)](_0x4b6906[_0x4a2c1c(0x19f)]['black'],0x0),'strokeWidth':_0x4f0442,'stroke':_0x5ea6d6,'evented':!0x0});this['_anchor']=_0x396fa2,this[_0x4a2c1c(0x2f1)][_0x4a2c1c(0x309)](_0x396fa2,_0x4142bf[_0x4a2c1c(0x19b)]);const _0x16876c=new _0xa2dea1[(_0x4a2c1c(0x216))](_0x1346b8+_0x4b6906['Tools'][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff-_0x1e7763/0x2,'height':_0x1e7763,'width':_0x1e7763,'fill':_0x53d5e6||_0xa2dea1[_0x4a2c1c(0x322)](_0x4b6906[_0x4a2c1c(0x19f)][_0x4a2c1c(0x1f3)],0x0),'strokeWidth':0x0,'stroke':_0x53d5e6||_0xa2dea1['getColor'](_0x4b6906['COLORS'][_0x4a2c1c(0x1f3)],0x0),'evented':!0x1});this['_anchorDot']=_0x16876c,this[_0x4a2c1c(0x2f1)][_0x4a2c1c(0x309)](_0x16876c,_0x4142bf[_0x4a2c1c(0x19b)]);const _0x55c113=new _0x546edd(_0x1346b8+_0x4b6906['Tools'][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff-_0x4cb6aa,'text':_0x2ab659,'color':_0x53d5e6});this[_0x4a2c1c(0x20f)]=_0x55c113,this['_scene'][_0x4a2c1c(0x309)](_0x55c113,_0x4142bf[_0x4a2c1c(0x19b)]),this['_hover']=!0x1;}[_0x3249e4(0x335)](){const _0x5d166b=_0x3249e4,_0x4c59c5=this[_0x5d166b(0xc7)][_0x5d166b(0x31c)]['subscribeEvent'](()=>{const _0x2004bb=_0x5d166b;this[_0x2004bb(0x15f)]=!0x0;}),_0x5435b0=this[_0x5d166b(0xc7)]['onPointerLeave$'][_0x5d166b(0x243)](()=>{const _0x36b99f=_0x5d166b;this[_0x36b99f(0x235)]&&clearTimeout(this['_hideTimer']),this[_0x36b99f(0x235)]=setTimeout(()=>{const _0x29a35c=_0x36b99f;this[_0x29a35c(0x15f)]=!0x1;},0x7d0);});return()=>{_0x4c59c5['unsubscribe'](),_0x5435b0['unsubscribe']();};}[_0x3249e4(0x10f)](_0xf67d7c,_0x4e6cd1,_0x4534ac,_0x452b27){const _0x51bc25=_0x3249e4,_0x520e5c=new _0x4b6906['ColorKit'](_0xf67d7c)[_0x51bc25(0x23e)](0.2)[_0x51bc25(0x2e4)](),_0x32d3a9=new _0xa2dea1['RegularPolygon'](_0xa112d7+_0x4b6906[_0x51bc25(0x201)]['generateRandomId'](_0x4046a2),{'pointsGroup':_0x4e6cd1,'fill':_0x520e5c||_0xa2dea1[_0x51bc25(0x322)](_0x4b6906[_0x51bc25(0x19f)][_0x51bc25(0x1f3)],0.2),'left':_0x4534ac,'top':_0x452b27,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x51bc25(0xfa)](_0x32d3a9),this[_0x51bc25(0x2f1)]['addObject'](_0x32d3a9,_0x4142bf['TEXT_RANGE_LAYER_INDEX']);}[_0x3249e4(0x319)](_0x44d6ba,_0x2b8bbf,_0x5b1fae,_0x13a70){const _0x2fa552=_0x3249e4,_0x205e0a=new _0x4b6906[(_0x2fa552(0x11a))](_0x44d6ba)[_0x2fa552(0x23e)](0.2)[_0x2fa552(0x2e4)](),_0x5213dd=new _0xa2dea1[(_0x2fa552(0x121))](_0x3a6bc4+_0x4b6906[_0x2fa552(0x201)][_0x2fa552(0x272)](_0x4046a2),{'pointsGroup':_0x2b8bbf,'fill':_0x205e0a||_0xa2dea1[_0x2fa552(0x322)](_0x4b6906[_0x2fa552(0x19f)][_0x2fa552(0x1f3)],0.2),'left':_0x5b1fae,'top':_0x13a70,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fa552(0x25e)][_0x2fa552(0xfa)](_0x5213dd),this[_0x2fa552(0x2f1)]['addObject'](_0x5213dd,_0x4142bf[_0x2fa552(0x19b)]);}[_0x3249e4(0xd2)](_0x5d0419){const _0xb1131f=_0x5d0419[0x0],_0x352e3a=_0xb1131f[0x0],_0x561611=_0xb1131f[0x2],{x:_0x424b27,y:_0x278da0}=_0x352e3a,{x:_0x380bff,y:_0xe6dbec}=_0x561611;return{'left':_0x424b27,'top':_0x278da0,'width':_0x380bff-_0x424b27,'height':_0xe6dbec-_0x278da0};}[_0x3249e4(0x29e)](){const _0x56e5f5=_0x3249e4,{scaleX:_0x396dc9,scaleY:_0x4b65c5}=this[_0x56e5f5(0x2f1)][_0x56e5f5(0x103)]();return Math['max'](_0x396dc9,_0x4b65c5);}}var _0x2d69c6=Object[_0x3249e4(0x16f)],_0x5e6e54=(_0x32acc8,_0x4b70a7,_0x422301,_0x2ad370)=>{const _0x454322=_0x3249e4;for(var _0x84c588=_0x2ad370>0x1?void 0x0:_0x2ad370?_0x2d69c6(_0x4b70a7,_0x422301):_0x4b70a7,_0x2f8a0f=_0x32acc8[_0x454322(0x10a)]-0x1,_0x98d9ec;_0x2f8a0f>=0x0;_0x2f8a0f--)(_0x98d9ec=_0x32acc8[_0x2f8a0f])&&(_0x84c588=_0x98d9ec(_0x84c588)||_0x84c588);return _0x84c588;},_0x4974b6=(_0x91a774,_0x48a141)=>(_0x1796c0,_0x1cdb9f)=>_0x48a141(_0x1796c0,_0x1cdb9f,_0x91a774);let _0x118ce5=class extends _0x4b6906['RxDisposable']{constructor(_0x68d2e9,_0x166d30,_0x25aeb3,_0x3dca0d,_0x1cf22f){const _0x4fd50f=_0x3249e4;super(),_0x202b34(this,_0x4fd50f(0x10c),[]),_0x202b34(this,_0x4fd50f(0x2fa),[]),(this[_0x4fd50f(0x1da)]=_0x68d2e9,this[_0x4fd50f(0x207)]=_0x166d30,this[_0x4fd50f(0x19e)]=_0x25aeb3,this[_0x4fd50f(0x13b)]=_0x3dca0d,this[_0x4fd50f(0xdd)]=_0x1cf22f,this[_0x4fd50f(0x1c4)]());}[_0x3249e4(0x1c4)](){const _0x289486=_0x3249e4,_0x21c213=this[_0x289486(0x1da)]['unitId'],_0xf6f083=this[_0x289486(0x207)];this[_0x289486(0x2a0)](_0x596bb7[_0x289486(0xe6)]([this[_0x289486(0x19e)][_0x289486(0x2d4)](_0x21c213),this[_0x289486(0xdd)]['currentTheme$']])[_0x289486(0x24b)](_0x46ce86[_0x289486(0x21e)](([_0x567cd8,_0x2c9fd8])=>({'skeleton':_0xf6f083[_0x289486(0x224)](),'cursors':[..._0x567cd8['values']()]['flatMap'](_0x1cf930=>({..._0x1cf930,'color':_0x2c9fd8[_0x1cf930[_0x289486(0x176)]]}))})))['subscribe'](_0x4a3346=>{const _0x22b071=_0x289486;if(this['_removeCollabCursors'](),_0x4a3346){const {skeleton:_0x5f2c30,cursors:_0xbb97cd}=_0x4a3346;this[_0x22b071(0x351)](_0x5f2c30,_0xbb97cd);}})),this['_initResize'](),this[_0x289486(0x355)]();}['_updateCollabCursors'](_0x58db18,_0x533b6b){const _0xfdbbfc=_0x3249e4,{scene:_0x21a04c,mainComponent:_0x17157a}=this[_0xfdbbfc(0x1da)],_0x1a7f92=_0x533b6b[_0xfdbbfc(0x21e)](_0x3f4174=>new _0x13079a(_0x3f4174,_0x21a04c,_0x58db18,_0x17157a));this[_0xfdbbfc(0x10c)]=_0x1a7f92,this[_0xfdbbfc(0x2fa)]=_0x533b6b;}[_0x3249e4(0x12b)](){const _0x3b199e=_0x3249e4;this[_0x3b199e(0x301)]();const {scene:_0x4e3b19,mainComponent:_0x3e3b3f}=this['_context'],_0x4c4bfc=this[_0x3b199e(0x207)]['getSkeleton'](),_0x1d8f1d=this['_cursors'][_0x3b199e(0x21e)](_0x524c3c=>new _0x13079a(_0x524c3c,_0x4e3b19,_0x4c4bfc,_0x3e3b3f));this[_0x3b199e(0x10c)]=_0x1d8f1d;}[_0x3249e4(0x301)](){const _0x2473a2=_0x3249e4;this[_0x2473a2(0x10c)]['forEach'](_0x3d7b9a=>_0x3d7b9a['dispose']()),this[_0x2473a2(0x10c)]=[];}[_0x3249e4(0x355)](){const _0x4ee849=_0x3249e4,_0xc19642=[_0x4142bf[_0x4ee849(0x1cc)]['id']];this['disposeWithMe'](this['_commandService'][_0x4ee849(0x232)](_0x8c408e=>{const _0x3b4e37=_0x4ee849;_0xc19642['includes'](_0x8c408e['id'])&&_0x8c408e[_0x3b4e37(0xc8)]['unitId']===this[_0x3b4e37(0x1da)]['unitId']&&this[_0x3b4e37(0x12b)]();}));}[_0x3249e4(0x15d)](){const _0x4423fd=_0x3249e4;this[_0x4423fd(0x2a0)](_0x4b6906[_0x4423fd(0x315)](this[_0x4423fd(0x1da)][_0x4423fd(0x19c)][_0x4423fd(0x273)])[_0x4423fd(0x24b)](_0x46ce86[_0x4423fd(0x214)](_0x432e26=>_0x432e26['type']===_0xa2dea1[_0x4423fd(0x1b8)][_0x4423fd(0xd5)]),_0x46ce86[_0x4423fd(0x2e3)](0x10))[_0x4423fd(0x2ea)](()=>{this['_refreshCollabCursors']();}));}};_0x118ce5=_0x5e6e54([_0x4974b6(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x3c6c88[_0x3249e4(0x297)])),_0x4974b6(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x24ffd2)),_0x4974b6(0x3,_0x4b6906[_0x3249e4(0x1e9)]),_0x4974b6(0x4,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x313)]))],_0x118ce5);const _0x11957c=0x1,_0x5b2cfc=1.5;class _0x3c8dd6 extends _0xa2dea1['Shape']{constructor(_0x425f32,_0x7dcee4){const _0x52c93a=_0x3249e4;super(_0x425f32,_0x7dcee4),_0x202b34(this,_0x52c93a(0x151)),_0x202b34(this,_0x52c93a(0xc0),!0x1),_0x202b34(this,_0x52c93a(0x246)),_0x202b34(this,_0x52c93a(0x261),''),_0x202b34(this,_0x52c93a(0x16b),_0x52c93a(0x19a)),_0x202b34(this,_0x52c93a(0x115)),(_0x7dcee4&&this['setShapeProps'](_0x7dcee4),this['onPointerEnter$'][_0x52c93a(0x243)](()=>this[_0x52c93a(0x33d)]({'hovered':!0x0})),this[_0x52c93a(0x337)][_0x52c93a(0x243)](()=>this[_0x52c93a(0x33d)]({'hovered':!0x1})));}[_0x3249e4(0x33d)](_0x3420bb){const _0x379990=_0x3249e4;var _0x1326e8,_0x4da502,_0x3b9577,_0x49b01a,_0x226cce,_0x22890e;this['_color']=(_0x1326e8=_0x3420bb[_0x379990(0x176)])!=null?_0x1326e8:this['_color'],this[_0x379990(0xc0)]=(_0x4da502=_0x3420bb[_0x379990(0x341)])!=null?_0x4da502:this['_hovered'],this[_0x379990(0x246)]=(_0x3b9577=_0x3420bb[_0x379990(0x2d7)])!=null?_0x3b9577:this[_0x379990(0x246)],this[_0x379990(0x261)]=(_0x49b01a=_0x3420bb[_0x379990(0x33e)])!=null?_0x49b01a:this[_0x379990(0x261)],this[_0x379990(0x16b)]=(_0x226cce=_0x3420bb[_0x379990(0x150)])!=null?_0x226cce:this[_0x379990(0x16b)],this[_0x379990(0x115)]=(_0x22890e=_0x3420bb[_0x379990(0xc9)])!=null?_0x22890e:this['_backgroundColor'],this[_0x379990(0x353)]({'width':_0x3420bb[_0x379990(0x2ff)],'height':_0x3420bb['height']});}[_0x3249e4(0x23f)](_0x13af9b){const _0x50c0c4=_0x3249e4,{row:_0x263dd6,column:_0x5394ba}=_0x13af9b;if(_0x263dd6>=this[_0x50c0c4(0x246)]['startRow']&&_0x263dd6<=this['_range'][_0x50c0c4(0x279)]&&_0x5394ba>=this[_0x50c0c4(0x246)][_0x50c0c4(0x2b5)]&&_0x5394ba<=this['_range'][_0x50c0c4(0x2d5)]){this[_0x50c0c4(0x33d)]({'hovered':!0x0});return;}this[_0x50c0c4(0x33d)]({'hovered':!0x1});}['triggerDblclick'](_0x1d495a){return!0x1;}[_0x3249e4(0x2c6)](_0x372ac8){const _0x468efe=_0x3249e4;_0xa2dea1['Rect'][_0x468efe(0xf9)](_0x372ac8,{'width':this[_0x468efe(0x2ff)],'height':this[_0x468efe(0x32b)],'strokeWidth':_0x5b2cfc,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x372ac8[_0x468efe(0x1d1)](),_0x372ac8[_0x468efe(0x2c2)](0x1,0x0,0x0,0x1,this[_0x468efe(0x2ff)],this[_0x468efe(0x16b)]===_0x468efe(0x359)?0x0:-0x14),_0x546edd[_0x468efe(0xf9)](_0x372ac8,{'text':this[_0x468efe(0x261)],'color':this[_0x468efe(0x151)]}),_0x372ac8['restore']());}}var _0x119d61=Object[_0x3249e4(0x16f)],_0xa81253=(_0x2271d6,_0x15c569,_0x5f00a2,_0x30ff12)=>{const _0x3b93dd=_0x3249e4;for(var _0x468041=_0x30ff12>0x1?void 0x0:_0x30ff12?_0x119d61(_0x15c569,_0x5f00a2):_0x15c569,_0x485e61=_0x2271d6[_0x3b93dd(0x10a)]-0x1,_0x28b7aa;_0x485e61>=0x0;_0x485e61--)(_0x28b7aa=_0x2271d6[_0x485e61])&&(_0x468041=_0x28b7aa(_0x468041)||_0x468041);return _0x468041;},_0x21a067=(_0x20b1ba,_0xc8ddf0)=>(_0x20996b,_0xc7688e)=>_0xc8ddf0(_0x20996b,_0xc7688e,_0x20b1ba);const _0x6d1176=0x1389;let _0x1a7d71=class extends _0x4b6906['RxDisposable']{constructor(_0x445740,_0x2bbd90,_0x250d78,_0x3b793b){const _0x5da163=_0x3249e4;super(),_0x202b34(this,_0x5da163(0x2fa),new Set()),_0x202b34(this,_0x5da163(0x25d),null),(this[_0x5da163(0x1da)]=_0x445740,this[_0x5da163(0x12e)]=_0x2bbd90,this[_0x5da163(0x19e)]=_0x250d78,this[_0x5da163(0xdd)]=_0x3b793b,this[_0x5da163(0x1c4)]());}['_init'](){const _0x17b077=_0x3249e4;this[_0x17b077(0x12e)][_0x17b077(0x1a9)][_0x17b077(0x24b)](_0x46ce86['takeUntil'](this[_0x17b077(0xeb)]),_0x46ce86['switchMap'](_0x17ad93=>{const _0x3f8002=_0x17b077;if(_0x17ad93){const _0x5c25af=_0x17ad93[_0x3f8002(0x2c4)];return _0x596bb7['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x3f8002(0x1da)][_0x3f8002(0x24d)]),this[_0x3f8002(0xdd)][_0x3f8002(0x158)])[_0x3f8002(0x24b)](_0x46ce86['map'](([_0x210767,_0x598c6a])=>{const _0x3884c9=_0x3f8002,_0x8ea830=new Map();return _0x210767[_0x3884c9(0x2eb)]((_0x1df0c6,_0x4a6fca)=>{const _0x559255=_0x3884c9;if(_0x1df0c6[_0x559255(0x168)]===_0x5c25af){const _0x4fa800={..._0x1df0c6};_0x4fa800['color']=_0x598c6a[_0x1df0c6['color']],_0x8ea830[_0x559255(0x32a)](_0x4a6fca,_0x4fa800);}}),{'skeleton':_0x17ad93,'cursors':_0x8ea830};}));}return _0x596bb7['of']({'skeleton':null,'cursors':new Map()});}))[_0x17b077(0x2ea)](({skeleton:_0x4f95b2,cursors:_0x4c8915})=>{const _0x3800d6=_0x17b077;this[_0x3800d6(0x301)](),_0x4f95b2&&this['_updateCollabCursors'](_0x4f95b2,_0x4c8915);}),this[_0x17b077(0x12e)][_0x17b077(0x1a9)][_0x17b077(0x2ea)](_0xfd2229=>{const _0x625b30=_0x17b077;if(_0xfd2229==null)return;const {skeleton:_0x3eb3cc}=_0xfd2229,{scene:_0x519f2d}=this['_context'];_0x519f2d[_0x625b30(0x24c)]['subscribeEvent'](_0x4b6906[_0x625b30(0x17d)](_0x7b230d=>{const _0x59e549=_0x625b30;var _0x108e96,_0x337953;const {offsetX:_0x27ef73,offsetY:_0x434d46}=_0x7b230d,{x:_0x1cbc65,y:_0x2f0d52}=_0x519f2d[_0x59e549(0x22a)](_0xa2dea1['Vector2']['FromArray']([_0x27ef73,_0x434d46])),{scaleX:_0x3ba4a1,scaleY:_0xfdd5e5}=_0x519f2d[_0x59e549(0x103)](),_0x3c2683=_0x519f2d[_0x59e549(0x34e)](_0xa2dea1[_0x59e549(0x230)][_0x59e549(0x204)]),_0x3a9c37=_0x519f2d[_0x59e549(0x167)](_0xa2dea1[_0x59e549(0xd9)][_0x59e549(0x287)]([_0x1cbc65,_0x2f0d52]),_0x3c2683),_0x44aff5=_0x3eb3cc[_0x59e549(0x1a7)](_0x27ef73,_0x434d46,_0x3ba4a1,_0xfdd5e5,_0x3a9c37);((_0x108e96=this[_0x59e549(0x25d)])==null?void 0x0:_0x108e96[_0x59e549(0x24f)])===_0x44aff5[_0x59e549(0x24f)]&&((_0x337953=this[_0x59e549(0x25d)])==null?void 0x0:_0x337953[_0x59e549(0x2ab)])===_0x44aff5[_0x59e549(0x2ab)]||this[_0x59e549(0x2fa)]['forEach'](_0x536420=>{const _0x3bd3e3=_0x59e549;_0x536420[_0x3bd3e3(0x23f)](_0x44aff5);});},0x64));});}[_0x3249e4(0x351)](_0x1ac502,_0x3ba72b){const _0x3cd984=_0x3249e4;var _0x3829b9;const _0x1334b7=(_0x3829b9=this[_0x3cd984(0x12e)]['getCurrent']())==null?void 0x0:_0x3829b9['skeleton'];if(!_0x1334b7)return;const _0x4cd360=this[_0x3cd984(0x25c)]();if(!_0x4cd360)return;this[_0x3cd984(0x2fa)][_0x3cd984(0x2eb)](_0x265480=>{const _0x39935b=_0x3cd984;_0x265480[_0x39935b(0xef)]();});const {scene:_0x4fa74b}=_0x4cd360,_0x361f1b=_0x444e3(Array['from'](_0x3ba72b[_0x3cd984(0x1bc)]()))[_0x3cd984(0x21e)](_0x365fd2=>{const _0x110520=_0x3cd984,{color:_0x10e8e2,range:_0x4bd238,name:_0x1daab5,selection:_0x3066b1,sheetID:_0x689ab4}=_0x365fd2,{startColumn:_0x1d1abe,startRow:_0x5a3d6f,endColumn:_0xd43c6,endRow:_0x5e74dd}=_0x4bd238,_0x3faadf=_0x145de3[_0x110520(0x159)](_0x5a3d6f,_0x1d1abe,_0x4fa74b,_0x1334b7),_0x55a1b8=_0x145de3[_0x110520(0x159)](_0x5e74dd,_0xd43c6,_0x4fa74b,_0x1334b7),{columnHeaderHeightAndMarginTop:_0x393290}=_0x1334b7,{startX:_0x185dc0,startY:_0x546ab9}=_0x3faadf,{endX:_0x59b4e6,endY:_0x965569}=_0x55a1b8,_0x266873=_0x59b4e6-_0x185dc0,_0x25d20c=_0x965569-_0x546ab9,_0x588232={'labelPosition':_0x546ab9-_0x393290>=_0x4cb6aa?'top':_0x110520(0x359),'sheetID':_0x689ab4,'range':_0x4bd238,'color':_0x10e8e2,'name':_0x1daab5,'selection':_0x3066b1,'left':_0x185dc0,'top':_0x546ab9,'width':_0x266873,'height':_0x25d20c,'evented':!0x1,'zIndex':_0x6d1176};return new _0x3c8dd6(_0x1daab5,_0x588232);});_0x4fa74b['addObjects'](_0x361f1b,_0x11957c),this[_0x3cd984(0x2fa)]=new Set(_0x361f1b);}[_0x3249e4(0x301)](){var _0x127183;(_0x127183=this['_cursors'])==null||_0x127183['forEach'](_0x114b49=>_0x114b49['dispose']());}['_getSheetObject'](){const _0x466c14=_0x3249e4;return _0x145de3[_0x466c14(0x1b9)](this['_context'][_0x466c14(0x1af)],this[_0x466c14(0x1da)]);}};_0x1a7d71=_0xa81253([_0x21a067(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x145de3['SheetSkeletonManagerService'])),_0x21a067(0x2,_0x4b6906['Inject'](_0x24ffd2)),_0x21a067(0x3,_0x4b6906['Inject'](_0x4b6906['ThemeService']))],_0x1a7d71);function _0x444e3(_0x177a08){const _0x14b2f0=_0x3249e4,_0x2e2196=new Map();return _0x177a08[_0x14b2f0(0x2eb)](_0x87811d=>{const _0x3fde98=_0x14b2f0;if(_0x2e2196[_0x3fde98(0x1dd)](_0x87811d[_0x3fde98(0x308)])){const _0x19dc5d=_0x2e2196['get'](_0x87811d[_0x3fde98(0x308)]);_0x19dc5d['name']+=',\x20'+_0x87811d[_0x3fde98(0x33e)];}else _0x2e2196[_0x3fde98(0x32a)](_0x87811d[_0x3fde98(0x308)],_0x87811d);}),Array['from'](_0x2e2196[_0x14b2f0(0x1bc)]());}var _0x1f8576=function(){const _0x26ac15=_0x3249e4;return _0x1f8576=Object[_0x26ac15(0x324)]||function(_0x102762){const _0x20d693=_0x26ac15;for(var _0x15ac6a,_0x412521=0x1,_0x18d24d=arguments[_0x20d693(0x10a)];_0x412521<_0x18d24d;_0x412521++){_0x15ac6a=arguments[_0x412521];for(var _0x2cd5d5 in _0x15ac6a)Object[_0x20d693(0x2fb)]['hasOwnProperty']['call'](_0x15ac6a,_0x2cd5d5)&&(_0x102762[_0x2cd5d5]=_0x15ac6a[_0x2cd5d5]);}return _0x102762;},_0x1f8576[_0x26ac15(0x2f0)](this,arguments);},_0x3eb8f9=function(_0x1c22e1,_0x4e3caa){const _0x18624d=_0x3249e4;var _0x1e27bf={};for(var _0x39f80a in _0x1c22e1)Object[_0x18624d(0x2fb)]['hasOwnProperty'][_0x18624d(0xdc)](_0x1c22e1,_0x39f80a)&&_0x4e3caa[_0x18624d(0x14d)](_0x39f80a)<0x0&&(_0x1e27bf[_0x39f80a]=_0x1c22e1[_0x39f80a]);if(_0x1c22e1!=null&&typeof Object['getOwnPropertySymbols']==_0x18624d(0x29f)){for(var _0x1ce74f=0x0,_0x39f80a=Object[_0x18624d(0x310)](_0x1c22e1);_0x1ce74f<_0x39f80a['length'];_0x1ce74f++)_0x4e3caa[_0x18624d(0x14d)](_0x39f80a[_0x1ce74f])<0x0&&Object[_0x18624d(0x2fb)][_0x18624d(0xf1)][_0x18624d(0xdc)](_0x1c22e1,_0x39f80a[_0x1ce74f])&&(_0x1e27bf[_0x39f80a[_0x1ce74f]]=_0x1c22e1[_0x39f80a[_0x1ce74f]]);}return _0x1e27bf;},_0x3fbefb=_0x2fa141[_0x3249e4(0xcc)](function(_0xbae009,_0x55af75){const _0x3b1955=_0x3249e4;var _0x5cad61=_0xbae009['icon'],_0x20f9ed=_0xbae009['id'],_0x174245=_0xbae009[_0x3b1955(0x157)],_0x447ce0=_0xbae009[_0x3b1955(0x27d)],_0x13148d=_0x3eb8f9(_0xbae009,[_0x3b1955(0x2b8),'id',_0x3b1955(0x157),_0x3b1955(0x27d)]),_0x14e29d=_0x3b1955(0x21b)[_0x3b1955(0xdb)](_0x20f9ed,'\x20')[_0x3b1955(0xdb)](_0x174245||'')['trim'](),_0x507cd6=_0x2fa141[_0x3b1955(0x18b)]('_'[_0x3b1955(0xdb)](_0x2ce62b()));return _0x253ffb(_0x5cad61,''[_0x3b1955(0xdb)](_0x20f9ed),{'defIds':_0x5cad61[_0x3b1955(0x2ee)],'idSuffix':_0x507cd6[_0x3b1955(0x1a2)]},_0x1f8576({'ref':_0x55af75,'className':_0x14e29d},_0x13148d),_0x447ce0);});function _0x253ffb(_0x19136b,_0x98f9d6,_0x4144a2,_0x3b3296,_0x3bfec3){return _0x2fa141['createElement'](_0x19136b['tag'],_0x1f8576(_0x1f8576({'key':_0x98f9d6},_0x522ea8(_0x19136b,_0x4144a2,_0x3bfec3)),_0x3b3296),(_0x1778f2(_0x19136b,_0x4144a2)['children']||[])['map'](function(_0x5c6115,_0x507a63){const _0x31580d=_0x366c;return _0x253ffb(_0x5c6115,''[_0x31580d(0xdb)](_0x98f9d6,'-')[_0x31580d(0xdb)](_0x19136b[_0x31580d(0x271)],'-')[_0x31580d(0xdb)](_0x507a63),_0x4144a2,void 0x0,_0x3bfec3);}));}function _0x522ea8(_0x451943,_0x2a8050,_0x55ca61){const _0x906bd5=_0x3249e4;var _0x106432=_0x1f8576({},_0x451943[_0x906bd5(0x104)]);_0x55ca61!=null&&_0x55ca61[_0x906bd5(0x173)]&&_0x106432['fill']===_0x906bd5(0x173)&&(_0x106432[_0x906bd5(0x285)]=_0x55ca61[_0x906bd5(0x173)]),_0x451943[_0x906bd5(0x271)]==='mask'&&_0x106432['id']&&(_0x106432['id']=_0x106432['id']+_0x2a8050[_0x906bd5(0x290)]),Object[_0x906bd5(0x2aa)](_0x106432)[_0x906bd5(0x2eb)](function(_0x39aa69){const _0x4d9939=_0x906bd5;var _0x3a8edb=_0x39aa69[0x0],_0x72055e=_0x39aa69[0x1];_0x3a8edb===_0x4d9939(0x251)&&typeof _0x72055e=='string'&&(_0x106432[_0x3a8edb]=_0x72055e[_0x4d9939(0x134)](/url\(#(.*)\)/,_0x4d9939(0x2c3)[_0x4d9939(0xdb)](_0x2a8050[_0x4d9939(0x290)],')')));});var _0x10738b=_0x2a8050[_0x906bd5(0x2ee)];return!_0x10738b||_0x10738b[_0x906bd5(0x10a)]===0x0||(_0x451943['tag']==='use'&&_0x106432['xlink:href']&&(_0x106432[_0x906bd5(0x2a2)]=_0x106432[_0x906bd5(0x2a2)]+_0x2a8050[_0x906bd5(0x290)]),Object['entries'](_0x106432)[_0x906bd5(0x2eb)](function(_0x1d93b9){const _0x1250b3=_0x906bd5;var _0x71800a=_0x1d93b9[0x0],_0x49d1fd=_0x1d93b9[0x1];typeof _0x49d1fd=='string'&&(_0x106432[_0x71800a]=_0x49d1fd[_0x1250b3(0x134)](/url\(#(.*)\)/,_0x1250b3(0x2c3)[_0x1250b3(0xdb)](_0x2a8050[_0x1250b3(0x290)],')')));})),_0x106432;}function _0x1778f2(_0x3fe519,_0x9bba0d){const _0xb4446a=_0x3249e4;var _0x4449c1,_0x3dbb9c=_0x9bba0d['defIds'];return!_0x3dbb9c||_0x3dbb9c['length']===0x0?_0x3fe519:_0x3fe519['tag']===_0xb4446a(0x1c8)&&(!((_0x4449c1=_0x3fe519[_0xb4446a(0xc2)])===null||_0x4449c1===void 0x0)&&_0x4449c1[_0xb4446a(0x10a)])?_0x1f8576(_0x1f8576({},_0x3fe519),{'children':_0x3fe519[_0xb4446a(0xc2)][_0xb4446a(0x21e)](function(_0x33e914){const _0x27da9=_0xb4446a;return typeof _0x33e914[_0x27da9(0x104)]['id']==_0x27da9(0x110)&&_0x3dbb9c&&_0x3dbb9c[_0x27da9(0x14d)](_0x33e914['attrs']['id'])>-0x1?_0x1f8576(_0x1f8576({},_0x33e914),{'attrs':_0x1f8576(_0x1f8576({},_0x33e914[_0x27da9(0x104)]),{'id':_0x33e914[_0x27da9(0x104)]['id']+_0x9bba0d['idSuffix']})}):_0x33e914;})}):_0x3fe519;}function _0x2ce62b(){const _0x51081d=_0x3249e4;return Math['random']()[_0x51081d(0x2f3)](0x24)[_0x51081d(0x26d)](0x2,0x8);}_0x3fbefb[_0x3249e4(0x2bb)]=_0x3249e4(0x22b);var _0x59bed7={'tag':_0x3249e4(0x124),'attrs':{'fill':_0x3249e4(0x135),'viewBox':_0x3249e4(0x329),'width':_0x3249e4(0x26a),'height':_0x3249e4(0x26a)},'children':[{'tag':'g','attrs':{'clipPath':_0x3249e4(0x31d)},'children':[{'tag':'path','attrs':{'stroke':_0x3249e4(0x35a),'d':_0x3249e4(0x211),'strokeLinecap':_0x3249e4(0x27a),'strokeLinejoin':_0x3249e4(0x27a),'strokeWidth':1.2}}]},{'tag':_0x3249e4(0x1c8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3249e4(0xde)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'fill':_0x3249e4(0x222),'d':_0x3249e4(0x141)}}]}]}],'defIds':[_0x3249e4(0xde)]},_0x508e5a=_0x2fa141[_0x3249e4(0xcc)](function(_0x4f4877,_0x42842b){const _0x2ab4c8=_0x3249e4;return _0x2fa141[_0x2ab4c8(0x148)](_0x3fbefb,Object[_0x2ab4c8(0x324)]({},_0x4f4877,{'id':_0x2ab4c8(0x228),'ref':_0x42842b,'icon':_0x59bed7}));});_0x508e5a['displayName']=_0x3249e4(0x325);var _0x552d17={'tag':'svg','attrs':{'fill':_0x3249e4(0x135),'viewBox':_0x3249e4(0x33b),'width':'1em','height':_0x3249e4(0x26a)},'children':[{'tag':'g','attrs':{'clipPath':_0x3249e4(0xd7)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'stroke':_0x3249e4(0x35a),'d':_0x3249e4(0x1db),'strokeLinecap':_0x3249e4(0x27a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3249e4(0x1c8),'attrs':{},'children':[{'tag':_0x3249e4(0x119),'attrs':{'id':_0x3249e4(0x29a)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'fill':_0x3249e4(0x222),'d':_0x3249e4(0x141),'transform':_0x3249e4(0x311)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xac1f66=_0x2fa141[_0x3249e4(0xcc)](function(_0xf35004,_0xe2a946){const _0x5f56ee=_0x3249e4;return _0x2fa141[_0x5f56ee(0x148)](_0x3fbefb,Object[_0x5f56ee(0x324)]({},_0xf35004,{'id':_0x5f56ee(0x1e6),'ref':_0xe2a946,'icon':_0x552d17}));});_0xac1f66[_0x3249e4(0x2bb)]='OnLineSingle';const _0x4e3626={'onlineStatusIcon':_0x3249e4(0x30b),'onlineStatusTitle':_0x3249e4(0x344),'onlineStatus':_0x3249e4(0x20b),'online':_0x3249e4(0x247),'offline':_0x3249e4(0x1a1)};function _0x187157(_0x306846){const _0xd1053c=_0x3249e4;switch(_0x306846){case _0x52f34c['CollaborationStatus'][_0xd1053c(0x1cf)]:return _0xd1053c(0xc5);case _0x52f34c[_0xd1053c(0xd4)]['CONFLICT']:return'collabStatus.conflict';case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x205)]:return _0xd1053c(0x131);case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x21c)]:return'collabStatus.notCollab';case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x177)]:case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x318)]:return _0xd1053c(0x175);case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x220)]:case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0xf6)]:return'collabStatus.synced';}}function _0x1f21e5(_0x1f801e){const _0x5dce64=_0x3249e4,{status$:_0x371e07}=_0x1f801e,_0x32d03c=_0x30ed06[_0x5dce64(0x210)](_0x371e07,_0x52f34c[_0x5dce64(0xd4)][_0x5dce64(0x21c)]),_0x49662c=_0x30ed06[_0x5dce64(0x312)](_0x4b6906[_0x5dce64(0xe1)]),_0x1e2cc2=_0x30ed06[_0x5dce64(0x312)](_0x52f34c[_0x5dce64(0xc3)]),_0x3c7982=_0x32d03c!==_0x52f34c[_0x5dce64(0xd4)][_0x5dce64(0x1cf)],_0x1aa90e=_0x49662c['t'](_0x187157(_0x32d03c)),_0x34983c=_0x913b08['clsx'](_0x4e3626[_0x5dce64(0xca)],{[_0x4e3626[_0x5dce64(0x2fe)]]:_0x3c7982,[_0x4e3626[_0x5dce64(0x17b)]]:!_0x3c7982}),_0x108230=_0x3c7982?_0x2d1486[_0x5dce64(0x109)](_0xac1f66,{}):_0x2d1486['jsx'](_0x508e5a,{}),_0x3b3cdd=_0x2fa141[_0x5dce64(0x1e7)](()=>{const _0x212004=_0x5dce64;_0x3c7982||_0x1e2cc2[_0x212004(0x24e)]();},[_0x3c7982,_0x1e2cc2]);function _0x10e586(){const _0x1fd7d8=_0x5dce64;return _0x2d1486[_0x1fd7d8(0xe2)](_0x1fd7d8(0x2a1),{'className':_0x913b08['clsx'](_0x34983c,_0x1fd7d8(0x1ce)),'onClick':_0x3b3cdd,'children':[_0x2d1486[_0x1fd7d8(0x109)](_0x1fd7d8(0x2a1),{'className':_0x4e3626[_0x1fd7d8(0x152)],'children':_0x108230}),_0x2d1486[_0x1fd7d8(0x109)](_0x1fd7d8(0x2a1),{'className':_0x4e3626['onlineStatusTitle'],'children':_0x1aa90e})]});}return _0x3c7982?_0x10e586():_0x2d1486[_0x5dce64(0x109)](_0x913b08[_0x5dce64(0x199)],{'title':_0x49662c['t'](_0x5dce64(0x2fc)),'children':_0x10e586()});}var _0x7991bd=Object[_0x3249e4(0x16f)],_0x409490=(_0x5c6abf,_0x437701,_0x456396,_0x46648f)=>{for(var _0x502c78=_0x46648f>0x1?void 0x0:_0x46648f?_0x7991bd(_0x437701,_0x456396):_0x437701,_0x49c02e=_0x5c6abf['length']-0x1,_0x3434ff;_0x49c02e>=0x0;_0x49c02e--)(_0x3434ff=_0x5c6abf[_0x49c02e])&&(_0x502c78=_0x3434ff(_0x502c78)||_0x502c78);return _0x502c78;},_0x52427e=(_0x2c68d5,_0x25a7af)=>(_0x4e6936,_0x181807)=>_0x25a7af(_0x4e6936,_0x181807,_0x2c68d5);_0x24e36d[_0x3249e4(0x342)]=class extends _0x4b6906['Disposable']{constructor(_0x1ef9c3,_0x13bfac,_0x3dae20,_0x318a65){const _0x3125fb=_0x3249e4;super(),_0x202b34(this,_0x3125fb(0x239),new _0x596bb7[(_0x3125fb(0x2db))](_0x52f34c[_0x3125fb(0xd4)][_0x3125fb(0x21c)])),(this['_univerInstanceService']=_0x1ef9c3,this['_injector']=_0x13bfac,this[_0x3125fb(0x23d)]=_0x3dae20,this[_0x3125fb(0x182)]=_0x318a65,this[_0x3125fb(0x242)](),this[_0x3125fb(0x31b)]());}['_initStatusListener'](){const _0x223792=_0x3249e4;this['disposeWithMe'](this[_0x223792(0x11d)][_0x223792(0x2b3)]['pipe'](_0x596bb7[_0x223792(0x2e0)](()=>{const _0x18fe4f=_0x223792,_0x2747ea=this['_univerInstanceService'][_0x18fe4f(0x2be)]();return _0x2747ea?this[_0x18fe4f(0x23d)][_0x18fe4f(0x277)](_0x2747ea['getUnitId']()):_0x596bb7['of'](null);}),_0x596bb7[_0x223792(0x2e0)](_0x936a57=>_0x936a57?_0x936a57['status$']:_0x596bb7['of'](_0x52f34c[_0x223792(0xd4)][_0x223792(0x21c)])))[_0x223792(0x2ea)](_0x3db9de=>{const _0x1f2082=_0x223792;this[_0x1f2082(0x239)][_0x1f2082(0x2ad)](_0x3db9de);}));}['_initStatusComponent'](){const _0x123fd1=_0x3249e4;this[_0x123fd1(0x2a0)](this[_0x123fd1(0x182)][_0x123fd1(0x256)](_0x30ed06[_0x123fd1(0x2d9)][_0x123fd1(0x184)],()=>_0x30ed06[_0x123fd1(0x1d4)](_0xd728af({'status$':this[_0x123fd1(0x239)]['asObservable']()}),this[_0x123fd1(0x10e)])));}},_0x24e36d[_0x3249e4(0x342)]=_0x409490([_0x52427e(0x0,_0x4b6906[_0x3249e4(0x356)]),_0x52427e(0x1,_0x4b6906['Inject'](_0x4b6906[_0x3249e4(0x2d8)])),_0x52427e(0x2,_0x4b6906['Inject'](_0x52f34c[_0x3249e4(0x1cb)])),_0x52427e(0x3,_0x30ed06[_0x3249e4(0xf4)])],_0x24e36d['DesktopCollaborationStatusDisplayController']);function _0xd728af(_0x580658){const {status$:_0x49e973}=_0x580658;return function(){const _0x9a8df5=_0x366c;return _0x2d1486[_0x9a8df5(0x109)](_0x1f21e5,{'status$':_0x49e973});};}var _0x3acea1=Object[_0x3249e4(0x16f)],_0x930978=(_0x5213a7,_0x10d9bd,_0x1733aa,_0x20cf48)=>{const _0x8e3b12=_0x3249e4;for(var _0x2bad37=_0x20cf48>0x1?void 0x0:_0x20cf48?_0x3acea1(_0x10d9bd,_0x1733aa):_0x10d9bd,_0x11451f=_0x5213a7[_0x8e3b12(0x10a)]-0x1,_0x3b2d76;_0x11451f>=0x0;_0x11451f--)(_0x3b2d76=_0x5213a7[_0x11451f])&&(_0x2bad37=_0x3b2d76(_0x2bad37)||_0x2bad37);return _0x2bad37;},_0x38ddb9=(_0x412f1a,_0x34e258)=>(_0x370db7,_0x3d11af)=>_0x34e258(_0x370db7,_0x3d11af,_0x412f1a);let _0x3e296d=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x4a4b22,_0x2fb0da,_0x4436f6,_0x2cd559,_0x1798a1,_0x582d41){const _0x251497=_0x3249e4;super(),this[_0x251497(0x257)]=_0x4a4b22,this[_0x251497(0xe8)]=_0x2fb0da,this[_0x251497(0x23c)]=_0x4436f6,this[_0x251497(0x317)]=_0x2cd559,this[_0x251497(0xe0)]=_0x1798a1,this[_0x251497(0x346)]=_0x582d41,this['_setupBeforeClosingHandler'](),this[_0x251497(0x1a6)]();}[_0x3249e4(0x1ab)](){const _0x4030ae=_0x3249e4;this['disposeWithMe'](this[_0x4030ae(0x257)][_0x4030ae(0x2f6)](()=>{const _0xbeb239=_0x4030ae;if(this[_0xbeb239(0xe8)][_0xbeb239(0x2ef)][_0xbeb239(0x32d)])return this['_localeService']['t'](_0xbeb239(0x2ec));}));}[_0x3249e4(0x1a6)](){const _0x2fc309=_0x3249e4;this['disposeWithMe'](this[_0x2fc309(0x23c)][_0x2fc309(0x14e)][_0x2fc309(0x2ea)](_0x103ad9=>{const _0x33c597=_0x2fc309;_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x2bf)]&&this['_messageService'][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)]['Warning'],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0xbc))}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['CLOSE_ROOM']&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)]['Warning'],'content':this[_0x33c597(0x346)]['t']('collaboration.closeRoom')}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x327)]&&this['_notificationService'][_0x33c597(0x1e8)]({'title':this[_0x33c597(0x346)]['t'](_0x33c597(0x336)),'content':this['_localeService']['t'](_0x33c597(0x2b4)),'type':_0x33c597(0x267),'duration':0x0}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['CONFLICT']&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0x21f))+'('+_0x103ad9[_0x33c597(0x140)]+')'}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['JOIN_ROOM_FAILED']&&this[_0x33c597(0x317)]['show']({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0xe4)],'content':this[_0x33c597(0x346)]['t'](_0x103ad9[_0x33c597(0x140)]||'')}),_0x103ad9['id']===_0x52f34c['CollaborationUIEventId'][_0x33c597(0x286)]&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0xe4)],'content':this[_0x33c597(0x346)]['t']('session.will-retry')}),_0x103ad9['id']===_0x52f34c['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c597(0x317)]['show']({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t']('session.connection-failed')}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x2ba)]&&this[_0x33c597(0x317)]['show']({'type':_0x913b08['MessageType'][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0x1ae))});}));}};_0x3e296d=_0x930978([_0x38ddb9(0x0,_0x30ed06['IBeforeCloseService']),_0x38ddb9(0x1,_0x52f34c[_0x3249e4(0x2c9)]),_0x38ddb9(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['CollaborationUIEventService'])),_0x38ddb9(0x3,_0x30ed06[_0x3249e4(0x284)]),_0x38ddb9(0x4,_0x30ed06[_0x3249e4(0x237)]),_0x38ddb9(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0xe1)]))],_0x3e296d);const _0x3fda7e=_0x3249e4(0x357),_0x3233ce={},_0x1b19e7=_0x4b6906[_0x3249e4(0x153)](_0x3249e4(0x316));var _0x51ddc2=Object['getOwnPropertyDescriptor'],_0xe2d098=(_0x4feaf1,_0x30d93b,_0x285f7a,_0x1a05f2)=>{const _0x10a863=_0x3249e4;for(var _0x55e843=_0x1a05f2>0x1?void 0x0:_0x1a05f2?_0x51ddc2(_0x30d93b,_0x285f7a):_0x30d93b,_0x442b60=_0x4feaf1[_0x10a863(0x10a)]-0x1,_0x30028e;_0x442b60>=0x0;_0x442b60--)(_0x30028e=_0x4feaf1[_0x442b60])&&(_0x55e843=_0x30028e(_0x55e843)||_0x55e843);return _0x55e843;},_0x1a1b10=(_0x15ade1,_0x1bc2f0)=>(_0x356ba8,_0x4f11b4)=>_0x1bc2f0(_0x356ba8,_0x4f11b4,_0x15ade1);_0x24e36d[_0x3249e4(0x12a)]=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x18663a,_0x43ff60,_0x27e3ed,_0x941a0f,_0x4be021){const _0x644d51=_0x3249e4;super(),this[_0x644d51(0x34b)]=_0x18663a,this[_0x644d51(0x2cb)]=_0x43ff60,this['_commandService']=_0x27e3ed,this[_0x644d51(0x27b)]=_0x941a0f,_0x4be021?_0x4be021==null||_0x4be021[_0x644d51(0x1ed)]()[_0x644d51(0x185)](()=>this[_0x644d51(0x1c4)]()):(this[_0x644d51(0x2cb)][_0x644d51(0x2de)](_0x644d51(0x35c),_0x644d51(0x1bf)),this['_init']());}async[_0x3249e4(0x1c4)](){const _0x434819=_0x3249e4,_0x44aa5c=this['_urlService'][_0x434819(0xed)](_0x434819(0x1af)),_0x793394=this[_0x434819(0x34b)][_0x434819(0xed)]('type'),_0x3c5907=this[_0x434819(0x34b)][_0x434819(0xed)](_0x434819(0x333));if(!_0x44aa5c||!_0x793394){this['_logService'][_0x434819(0x2de)](_0x434819(0x35c),_0x434819(0x33c));return;}const _0x262d76=await this[_0x434819(0x27b)][_0x434819(0x1df)](_0x44aa5c,Number(_0x793394),_0x3c5907);_0x262d76&&_0x262d76 instanceof _0x4b6906[_0x434819(0x29b)]&&this[_0x434819(0x15b)](_0x262d76);}async[_0x3249e4(0x15b)](_0x3dd1ef){const _0x59185f=_0x3249e4;await this['_updateSubUnitFromURLParams'](_0x3dd1ef),_0x3dd1ef[_0x59185f(0xea)]['pipe'](_0x596bb7[_0x59185f(0x33f)](this['dispose$']))[_0x59185f(0x2ea)](_0x39ac14=>{const _0x531d91=_0x59185f;_0x39ac14&&this[_0x531d91(0x1f4)](_0x39ac14);}),this[_0x59185f(0x34b)][_0x59185f(0x1f6)][_0x59185f(0x24b)](_0x596bb7[_0x59185f(0x33f)](this['dispose$']))[_0x59185f(0x2ea)](()=>this['_updateSubUnitFromURLParams'](_0x3dd1ef));}['_updateURLWithCurrentState'](_0x49f9f4,_0x2c8d85=!0x1){const _0x2c796c=_0x3249e4,_0x2f628f=this[_0x2c796c(0x34b)][_0x2c796c(0xed)](_0x2c796c(0x333));_0x49f9f4[_0x2c796c(0xda)]()!==_0x2f628f&&this['_urlService'][_0x2c796c(0x202)](_0x2c796c(0x333),_0x49f9f4[_0x2c796c(0xda)](),_0x2c8d85);}async[_0x3249e4(0x30a)](_0x47429f){const _0x3cfe60=_0x3249e4;var _0x240dc5;const _0x52581e=this[_0x3cfe60(0x34b)][_0x3cfe60(0xed)]('subunit');if(!_0x52581e||!_0x47429f[_0x3cfe60(0x2e1)](_0x52581e)){const _0x437cc6=_0x47429f[_0x3cfe60(0x1fb)]()[0x0],_0x1e55fc=_0x47429f[_0x3cfe60(0x2e1)](_0x437cc6);if(!_0x1e55fc)return;this[_0x3cfe60(0x1f4)](_0x1e55fc,!0x0),await this['_commandService'][_0x3cfe60(0x1d6)](_0x5de2fa[_0x3cfe60(0x231)]['id'],{'unitId':_0x47429f[_0x3cfe60(0x293)](),'subUnitId':_0x437cc6});return;}((_0x240dc5=_0x47429f[_0x3cfe60(0x2a9)]())==null?void 0x0:_0x240dc5[_0x3cfe60(0xda)]())!==_0x52581e&&await this[_0x3cfe60(0x13b)][_0x3cfe60(0x1d6)](_0x5de2fa['SetWorksheetActivateCommand']['id'],{'unitId':_0x47429f['getUnitId'](),'subUnitId':_0x52581e});}},_0x24e36d['CollaborationDataLoaderController']=_0xe2d098([_0x1a1b10(0x0,_0x1b19e7),_0x1a1b10(0x1,_0x4b6906['ILogService']),_0x1a1b10(0x2,_0x4b6906[_0x3249e4(0x1e9)]),_0x1a1b10(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['DataLoaderService'])),_0x1a1b10(0x4,_0x4b6906[_0x3249e4(0x181)](_0x221cf2[_0x3249e4(0x1c1)]))],_0x24e36d[_0x3249e4(0x12a)]);var _0x5a7dd3=Object[_0x3249e4(0x16f)],_0x42cda1=(_0x2b63bf,_0x3cae6e,_0x56b863,_0x5deb26)=>{for(var _0x1bea18=_0x5deb26>0x1?void 0x0:_0x5deb26?_0x5a7dd3(_0x3cae6e,_0x56b863):_0x3cae6e,_0x5d19ca=_0x2b63bf['length']-0x1,_0x55262b;_0x5d19ca>=0x0;_0x5d19ca--)(_0x55262b=_0x2b63bf[_0x5d19ca])&&(_0x1bea18=_0x55262b(_0x1bea18)||_0x1bea18);return _0x1bea18;},_0x4d0e04=(_0x28258f,_0x408cf6)=>(_0x5974c6,_0x235119)=>_0x408cf6(_0x5974c6,_0x235119,_0x28258f);let _0x34da4a=class{constructor(_0xd1348e,_0x40e1bb,_0x2c70e1){const _0x4acdcd=_0x3249e4;this['_injector']=_0xd1348e,this[_0x4acdcd(0x1ff)]=_0x40e1bb,this[_0x4acdcd(0x136)]=_0x2c70e1;}[_0x3249e4(0x2e9)](_0x3d47bf){const _0x5bbfd5=_0x3249e4;this[_0x5bbfd5(0x2f8)](_0x3d47bf),this[_0x5bbfd5(0x303)](_0x3d47bf);}[_0x3249e4(0x138)](_0x45da17){const _0x2aca13=_0x3249e4,{unitID:_0x5e483f}=_0x45da17,_0x489367=this[_0x2aca13(0x136)]['getRenderById'](_0x5e483f)[_0x2aca13(0x2f5)](_0x4142bf[_0x2aca13(0x215)]),{redoCache:_0x518a09}=_0x489367[_0x2aca13(0x132)]();if(_0x518a09[_0x2aca13(0x10a)]===0x0)return _0x45da17;let _0x1b4c04=_0x4b6906['Tools']['deepClone'](_0x45da17[_0x2aca13(0x30f)][0x0]);for(let _0x5dfc67=0x0;_0x5dfc67<_0x518a09[_0x2aca13(0x10a)];_0x5dfc67++){const _0x38abad={'id':_0x2aca13(0x18a),'params':{..._0x518a09[_0x5dfc67]}},_0x408db6=this[_0x2aca13(0x1ff)][_0x2aca13(0x18c)](_0x1b4c04,_0x38abad,!0x1);if(_0x5873f4[_0x2aca13(0x2b0)](_0x408db6))throw _0x408db6['error'];_0x1b4c04=_0x408db6['m1Prime'];}return{..._0x4b6906['Tools']['deepClone'](_0x45da17),'mutations':[_0x1b4c04]};}[_0x3249e4(0x2f8)](_0x711650){const _0x195a77=_0x3249e4,{unitID:_0x49563a}=_0x711650,_0x326041=this['_renderManagerService'][_0x195a77(0xdf)](_0x49563a)[_0x195a77(0x2f5)](_0x4142bf[_0x195a77(0x215)]),{undoCache:_0x386389,redoCache:_0xfed929}=_0x326041[_0x195a77(0x132)]();if(_0x386389[_0x195a77(0x10a)]===0x0||_0xfed929[_0x195a77(0x10a)]===0x0)return;const _0x388bcd=[],_0x528d57=[];let _0x5d1e04=_0x4b6906['Tools'][_0x195a77(0x358)](_0x711650[_0x195a77(0x30f)][0x0]),_0x6b4f6c=_0x4b6906[_0x195a77(0x201)]['deepClone'](_0x711650[_0x195a77(0x30f)][0x0]);for(let _0x13daf0=_0x386389[_0x195a77(0x10a)]-0x1;_0x13daf0>=0x0;_0x13daf0--){const _0x69902a={'id':'doc.mutation.rich-text-editing','params':{..._0x386389[_0x13daf0]}},_0x32a932={'id':'doc.mutation.rich-text-editing','params':{..._0xfed929[_0x13daf0]}},_0xa32f66=this[_0x195a77(0x1ff)]['transformMutation'](_0x5d1e04,_0x69902a,!0x1),_0x5ca2ae=this[_0x195a77(0x1ff)]['transformMutation'](_0x6b4f6c,_0x32a932,!0x1);if(_0x5873f4[_0x195a77(0x2b0)](_0xa32f66))throw _0xa32f66[_0x195a77(0x267)];if(_0x5873f4[_0x195a77(0x2b0)](_0x5ca2ae))throw _0x5ca2ae['error'];_0x388bcd['unshift'](_0xa32f66[_0x195a77(0x14c)][_0x195a77(0xc8)]),_0x528d57['unshift'](_0x5ca2ae[_0x195a77(0x14c)][_0x195a77(0xc8)]),_0x5d1e04=_0xa32f66[_0x195a77(0x154)],_0x6b4f6c=_0x5ca2ae[_0x195a77(0x154)];}_0x326041[_0x195a77(0xf5)]({'undoCache':_0x388bcd,'redoCache':_0x528d57});}['_transformPreviousActiveRange'](_0x4485d8){const _0x170c2b=_0x3249e4,{unitID:_0x296c11}=_0x4485d8,_0x5007a7=this[_0x170c2b(0x136)][_0x170c2b(0xdf)](_0x296c11)[_0x170c2b(0x2f5)](_0x4142bf[_0x170c2b(0x215)]),_0x51e96c=_0x5007a7[_0x170c2b(0x1aa)]();if(_0x51e96c==null)return;const _0xc2ebc6=[{'id':_0x170c2b(0x18a),'params':{'unitId':_0x4485d8[_0x170c2b(0x2d1)],'actions':null,'textRanges':[_0x51e96c]}}],_0x6ee756=this['_transformService'][_0x170c2b(0x217)](_0x4485d8,_0xc2ebc6);if(!_0x5873f4[_0x170c2b(0x1e2)](_0x6ee756))throw _0x6ee756[_0x170c2b(0x267)];const _0x508474=_0x6ee756[_0x170c2b(0x14c)][0x0][_0x170c2b(0xc8)][_0x170c2b(0x1ea)];Array['isArray'](_0x508474)&&_0x508474[_0x170c2b(0x10a)]&&_0x5007a7[_0x170c2b(0x25f)](_0x508474[0x0]);}};_0x34da4a=_0x42cda1([_0x4d0e04(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906['Injector'])),_0x4d0e04(0x1,_0x5873f4[_0x3249e4(0x1e5)]),_0x4d0e04(0x2,_0xa2dea1['IRenderManagerService'])],_0x34da4a);var _0x2d5a44=Object[_0x3249e4(0x16f)],_0x4acaa0=(_0x3a03dc,_0x308fee,_0x14530e,_0x576d16)=>{const _0x32f230=_0x3249e4;for(var _0x400d70=_0x576d16>0x1?void 0x0:_0x576d16?_0x2d5a44(_0x308fee,_0x14530e):_0x308fee,_0x4a0438=_0x3a03dc[_0x32f230(0x10a)]-0x1,_0x352081;_0x4a0438>=0x0;_0x4a0438--)(_0x352081=_0x3a03dc[_0x4a0438])&&(_0x400d70=_0x352081(_0x400d70)||_0x400d70);return _0x400d70;},_0x418141=(_0x5948d1,_0x237f8f)=>(_0x2f1cc0,_0x51440a)=>_0x237f8f(_0x2f1cc0,_0x51440a,_0x5948d1);let _0x482565=class{constructor(_0xcb283,_0x91e741,_0x52c9f1){const _0x5425e5=_0x3249e4;this[_0x5425e5(0x10e)]=_0xcb283,this[_0x5425e5(0x1ff)]=_0x91e741,this[_0x5425e5(0xc6)]=_0x52c9f1;}[_0x3249e4(0x2df)](_0x483564){this['_transformHistoryAndStateStack'](_0x483564);}[_0x3249e4(0x138)](_0x20c6cf){const _0x1b32fc=_0x3249e4,{unitID:_0x35fe57}=_0x20c6cf,{collaboration:_0x551d1b}=this[_0x1b32fc(0xc6)][_0x1b32fc(0x258)](_0x35fe57);if(_0x551d1b[_0x1b32fc(0x10a)]===0x0)return _0x20c6cf;let _0x977fd=_0x4b6906[_0x1b32fc(0x201)]['deepClone'](_0x20c6cf[_0x1b32fc(0x30f)][0x0]);for(let _0x4dd57e=0x0;_0x4dd57e<_0x551d1b['length'];_0x4dd57e++){const _0x57c418={'id':_0x1b32fc(0x18a),'params':{'unitId':_0x551d1b[_0x4dd57e][_0x1b32fc(0x24d)],..._0x551d1b[_0x4dd57e][_0x1b32fc(0x348)]}},_0x2d6b41=this[_0x1b32fc(0x1ff)][_0x1b32fc(0x18c)](_0x977fd,_0x57c418,!0x1);if(_0x5873f4[_0x1b32fc(0x2b0)](_0x2d6b41))throw _0x2d6b41[_0x1b32fc(0x267)];_0x977fd=_0x2d6b41[_0x1b32fc(0x154)];}return{..._0x4b6906[_0x1b32fc(0x201)][_0x1b32fc(0x358)](_0x20c6cf),'mutations':[_0x977fd]};}[_0x3249e4(0x116)](_0x42b37e){const _0x4dd321=_0x3249e4,{unitID:_0x614b86}=_0x42b37e,{history:_0xa5b32a,collaboration:_0x263e61}=this[_0x4dd321(0xc6)][_0x4dd321(0x258)](_0x614b86);if(_0xa5b32a[_0x4dd321(0x10a)]===0x0&&_0x263e61[_0x4dd321(0x10a)]===0x0)return;const _0x269eea=[],_0x17100d=[];let _0x1b9f7a=_0x4b6906['Tools'][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]),_0x429915=_0x4b6906[_0x4dd321(0x201)]['deepClone'](_0x42b37e[_0x4dd321(0x30f)][0x0]);for(let _0x45cc6c=_0xa5b32a[_0x4dd321(0x10a)]-0x1;_0x45cc6c>=0x0;_0x45cc6c--){const _0x5806d0={'id':_0x4dd321(0x18a),'params':{'unitId':_0xa5b32a[_0x45cc6c][_0x4dd321(0x24d)],..._0xa5b32a[_0x45cc6c][_0x4dd321(0x165)]}},_0x3f2e30={'id':_0x4dd321(0x18a),'params':{'unitId':_0xa5b32a[_0x45cc6c][_0x4dd321(0x24d)],..._0xa5b32a[_0x45cc6c]['redoState']}},_0x2b1379=this['_transformService'][_0x4dd321(0x18c)](_0x1b9f7a,_0x5806d0,!0x1),_0x4d6550=this[_0x4dd321(0x1ff)][_0x4dd321(0x18c)](_0x429915,_0x3f2e30,!0x1);if(_0x5873f4[_0x4dd321(0x2b0)](_0x2b1379))throw _0x2b1379[_0x4dd321(0x267)];if(_0x5873f4['isTransformMutationFailure'](_0x4d6550))throw _0x4d6550[_0x4dd321(0x267)];_0x269eea[_0x4dd321(0x27f)]({..._0xa5b32a[_0x45cc6c],'undoState':_0x2b1379[_0x4dd321(0x14c)][_0x4dd321(0xc8)],'redoState':_0x4d6550[_0x4dd321(0x14c)]['params']}),_0x1b9f7a=_0x2b1379[_0x4dd321(0x154)],_0x429915=_0x4d6550[_0x4dd321(0x154)];}_0x1b9f7a=_0x4b6906['Tools'][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]),_0x429915=_0x4b6906[_0x4dd321(0x201)][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]);for(let _0x46112b=_0x263e61['length']-0x1;_0x46112b>=0x0;_0x46112b--){const _0x2e6277={'id':_0x4dd321(0x18a),'params':{'unitId':_0x263e61[_0x46112b][_0x4dd321(0x24d)],..._0x263e61[_0x46112b][_0x4dd321(0x165)]}},_0x471a62={'id':_0x4dd321(0x18a),'params':{'unitId':_0x263e61[_0x46112b][_0x4dd321(0x24d)],..._0x263e61[_0x46112b][_0x4dd321(0x348)]}},_0x21299c=this[_0x4dd321(0x1ff)]['transformMutation'](_0x1b9f7a,_0x2e6277,!0x1),_0x4da36c=this[_0x4dd321(0x1ff)]['transformMutation'](_0x429915,_0x471a62,!0x1);if(_0x5873f4['isTransformMutationFailure'](_0x21299c))throw _0x21299c[_0x4dd321(0x267)];if(_0x5873f4[_0x4dd321(0x2b0)](_0x4da36c))throw _0x4da36c['error'];_0x17100d[_0x4dd321(0x27f)]({..._0x263e61[_0x46112b],'undoState':_0x21299c[_0x4dd321(0x14c)][_0x4dd321(0xc8)],'redoState':_0x4da36c[_0x4dd321(0x14c)][_0x4dd321(0xc8)]}),_0x1b9f7a=_0x21299c[_0x4dd321(0x154)],_0x429915=_0x4da36c[_0x4dd321(0x154)];}this['_docStateChangeManagerService']['setStateCache'](_0x614b86,{'history':_0x269eea,'collaboration':_0x17100d});}};_0x482565=_0x4acaa0([_0x418141(0x0,_0x4b6906['Inject'](_0x4b6906[_0x3249e4(0x2d8)])),_0x418141(0x1,_0x5873f4[_0x3249e4(0x1e5)]),_0x418141(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4142bf[_0x3249e4(0x238)]))],_0x482565);var _0x6a2ceb=Object[_0x3249e4(0x16f)],_0x5b42ae=(_0x489097,_0x468315,_0x47b13e,_0x10075b)=>{for(var _0x419986=_0x10075b>0x1?void 0x0:_0x10075b?_0x6a2ceb(_0x468315,_0x47b13e):_0x468315,_0x49b307=_0x489097['length']-0x1,_0x61bfde;_0x49b307>=0x0;_0x49b307--)(_0x61bfde=_0x489097[_0x49b307])&&(_0x419986=_0x61bfde(_0x419986)||_0x419986);return _0x419986;},_0x48e481=(_0xe5e06b,_0x2d1165)=>(_0x2f408f,_0x10e45f)=>_0x2d1165(_0x2f408f,_0x10e45f,_0xe5e06b);let _0x39d0ce=class{constructor(_0x57d639,_0x480683){const _0x4d78ac=_0x3249e4;this['_injector']=_0x57d639,this[_0x4d78ac(0x1ff)]=_0x480683;}[_0x3249e4(0x186)](_0x9ab6b8){const _0x50e3cf=_0x3249e4;var _0x7ad4f5;const _0x4c4b15=this[_0x50e3cf(0x10e)][_0x50e3cf(0x14a)](_0x3c6c88[_0x50e3cf(0x2a7)]),_0x21fd17=(_0x7ad4f5=_0x4c4b15[_0x50e3cf(0x26c)]())!=null?_0x7ad4f5:[];if(_0x21fd17[_0x50e3cf(0x10a)]===0x0)return;const _0x5497e2=_0x9ab6b8['unitID'],_0x466810=[{'id':_0x50e3cf(0x18a),'params':{'unitId':_0x5497e2,'actions':null,'textRanges':_0x21fd17}}],_0x12a5bd=this[_0x50e3cf(0x1ff)][_0x50e3cf(0x217)](_0x9ab6b8,_0x466810);if(!_0x5873f4[_0x50e3cf(0x1e2)](_0x12a5bd))throw _0x12a5bd[_0x50e3cf(0x267)];const _0x33c8e1=_0x12a5bd['m2Prime'][0x0][_0x50e3cf(0xc8)]['textRanges'];Array[_0x50e3cf(0x145)](_0x33c8e1)&&_0x33c8e1[_0x50e3cf(0x10a)]&&_0x4c4b15[_0x50e3cf(0x1a5)](_0x33c8e1,{'unitId':_0x5497e2,'subUnitId':_0x5497e2},!0x1);}};_0x39d0ce=_0x5b42ae([_0x48e481(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906['Injector'])),_0x48e481(0x1,_0x5873f4[_0x3249e4(0x1e5)])],_0x39d0ce);var _0x4d77a0=Object[_0x3249e4(0x16f)],_0x20167a=(_0x2f22c0,_0x328242,_0x4744c2,_0x5e1c70)=>{const _0x30485b=_0x3249e4;for(var _0x1afdcf=_0x5e1c70>0x1?void 0x0:_0x5e1c70?_0x4d77a0(_0x328242,_0x4744c2):_0x328242,_0x209ca1=_0x2f22c0[_0x30485b(0x10a)]-0x1,_0x4e5eb8;_0x209ca1>=0x0;_0x209ca1--)(_0x4e5eb8=_0x2f22c0[_0x209ca1])&&(_0x1afdcf=_0x4e5eb8(_0x1afdcf)||_0x1afdcf);return _0x1afdcf;},_0x38649c=(_0x4805e7,_0x16e0c1)=>(_0x5527ab,_0x2cfb37)=>_0x16e0c1(_0x5527ab,_0x2cfb37,_0x4805e7);let _0x19f0a6=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x2e9035,_0x4b16bd,_0x13c04e,_0x2502c6,_0x4c5a97,_0x2ae24c,_0x2b22b0,_0x2482ef){const _0xd73956=_0x3249e4;super(),_0x202b34(this,_0xd73956(0x239),new _0x596bb7[(_0xd73956(0x2db))](_0x52f34c[_0xd73956(0xd4)]['NOT_COLLAB'])),(this[_0xd73956(0xc6)]=_0x2e9035,this['_collaborationController']=_0x4b16bd,this[_0xd73956(0x1ac)]=_0x13c04e,this[_0xd73956(0x255)]=_0x2502c6,this['_docTransformSelectionsService']=_0x4c5a97,this['_docSyncEditingCollabCursorService']=_0x2ae24c,this[_0xd73956(0x317)]=_0x2b22b0,this[_0xd73956(0x346)]=_0x2482ef,this[_0xd73956(0x14f)]());}[_0x3249e4(0x14f)](){const _0x4cb8f9=_0x3249e4;this[_0x4cb8f9(0x2a0)](this['_collaborationController'][_0x4cb8f9(0x200)]['subscribe'](_0x22ce8e=>{const _0x47ea0d=_0x4cb8f9,_0x335f36=this[_0x47ea0d(0xc6)]['docStateChange$'][_0x47ea0d(0x2ea)](_0xa10ec6=>{const _0x183415=_0x47ea0d;if(_0xa10ec6==null)return;const {unitId:_0x264390,redoState:_0x1549d2,commandId:_0x1915a5}=_0xa10ec6;if(_0x264390!==_0x22ce8e[_0x183415(0x2d1)])return;const _0x4ce6c4={'id':_0x1915a5,'type':_0x4b6906[_0x183415(0x113)][_0x183415(0x11e)],'params':{'unitId':_0x264390,'actions':_0x1549d2[_0x183415(0x147)],'textRanges':null}};_0x22ce8e[_0x183415(0x114)](_0x4ce6c4);});if(_0x22ce8e[_0x47ea0d(0x2a0)](_0x335f36),_0x22ce8e instanceof _0x52f34c[_0x47ea0d(0x156)]){const _0x186147={'onTransformIME':_0x142321=>this[_0x47ea0d(0x1ac)][_0x47ea0d(0x2e9)](_0x142321),'onTransformState':_0x4caaab=>this['_docTransformStateCacheService'][_0x47ea0d(0x2df)](_0x4caaab),'onTransformSelections':_0x1dcf2e=>this['_docTransformSelectionsService']['transformSelections'](_0x1dcf2e),'onSyncEditingCollabCursor':_0x5df7a5=>this[_0x47ea0d(0x1b4)][_0x47ea0d(0x2cc)](_0x5df7a5),'onTransformRemoteChangesetByIMECache':_0x270e0c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x270e0c),'onTransformRemoteChangesetByStateCache':_0x38047f=>this[_0x47ea0d(0x255)][_0x47ea0d(0x138)](_0x38047f)};_0x22ce8e[_0x47ea0d(0x12c)](_0x186147);}}));}};_0x19f0a6=_0x20167a([_0x38649c(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4142bf[_0x3249e4(0x238)])),_0x38649c(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c[_0x3249e4(0x1cb)])),_0x38649c(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x34da4a)),_0x38649c(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x482565)),_0x38649c(0x4,_0x4b6906['Inject'](_0x39d0ce)),_0x38649c(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x3ac6b6)),_0x38649c(0x6,_0x30ed06[_0x3249e4(0x284)]),_0x38649c(0x7,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0xe1)]))],_0x19f0a6);var _0x1b5dc7=Object[_0x3249e4(0x16f)],_0x487fa8=(_0x35ddd,_0x29bfef,_0x18ab17,_0x101a4e)=>{for(var _0x2c64f4=_0x101a4e>0x1?void 0x0:_0x101a4e?_0x1b5dc7(_0x29bfef,_0x18ab17):_0x29bfef,_0x21c469=_0x35ddd['length']-0x1,_0x3b4789;_0x21c469>=0x0;_0x21c469--)(_0x3b4789=_0x35ddd[_0x21c469])&&(_0x2c64f4=_0x3b4789(_0x2c64f4)||_0x2c64f4);return _0x2c64f4;},_0x313b65=(_0x2cb1b9,_0x5837fc)=>(_0x20df25,_0x4f4e56)=>_0x5837fc(_0x20df25,_0x4f4e56,_0x2cb1b9);let _0x17578b=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x9fc868,_0xbde6ae,_0xd58137){const _0x44bf6c=_0x3249e4;super(),_0x202b34(this,_0x44bf6c(0x20a),new Map()),_0x202b34(this,_0x44bf6c(0x203),new Map()),_0x202b34(this,'_disabled',!0x1),(this['_configService']=_0x9fc868,this[_0x44bf6c(0x1ca)]=_0xbde6ae,this['_revisionService']=_0xd58137);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3249e4(0x20c)](){const _0x2d8545=_0x3249e4;this[_0x2d8545(0x234)]=!0x1;}get[_0x3249e4(0x2ef)](){const _0x3c460c=_0x3249e4;return this[_0x3c460c(0x203)];}['dispose'](){const _0x2bced0=_0x3249e4;this['exhaustSavingTask']()[_0x2bced0(0x185)](()=>super['dispose']());}async['loadOfflineData'](_0x7c5ec4){const _0x35e78c=_0x3249e4;return this['_disabled']?null:this[_0x35e78c(0x1ca)]['getItem'](_0x52f34c[_0x35e78c(0xcb)](_0x7c5ec4));}async[_0x3249e4(0xfe)](_0x37aec8,_0x11c7fb){return!!this['_localStorageService']['setItem'](_0x37aec8,_0x11c7fb);}['updateOfflineData'](_0xa189cd,_0x2c2a6e,_0x429f47,_0x4f510d){const _0x2240c5=_0x3249e4,_0x5f11d1=this[_0x2240c5(0x32e)][_0x2240c5(0x2da)](_0xa189cd);this['_cachedData'][_0x2240c5(0x32a)](_0xa189cd,{'unitID':_0xa189cd,'type':_0x2c2a6e,'awaitingChangeset':_0x429f47,'mutations':_0x4f510d,'rev':_0x5f11d1}),this[_0x2240c5(0x203)][_0x2240c5(0x1dd)](_0xa189cd)||this[_0x2240c5(0x323)](_0xa189cd);}[_0x3249e4(0x323)](_0x33000d){const _0x12917f=_0x3249e4,_0x983d19=this[_0x12917f(0x278)]();_0x983d19===0x0?this[_0x12917f(0x2b7)](_0x33000d):this[_0x12917f(0x203)][_0x12917f(0x32a)](_0x33000d,setTimeout(()=>this[_0x12917f(0x2b7)](_0x33000d),_0x983d19));}[_0x3249e4(0x278)](){const _0x170a3b=_0x3249e4;var _0x4d97ee;return(_0x4d97ee=this['_configService']['getConfig'](_0x52f34c[_0x170a3b(0x2e7)]))!=null?_0x4d97ee:_0x52f34c[_0x170a3b(0x2d6)];}[_0x3249e4(0x2b7)](_0x40e65f){const _0x4d53f4=_0x3249e4,_0x159071=this['_saveTaskMap']['get'](_0x40e65f);return _0x159071!==void 0x0&&window[_0x4d53f4(0x187)](_0x159071),this[_0x4d53f4(0x1ca)][_0x4d53f4(0x15e)](_0x52f34c[_0x4d53f4(0xcb)](_0x40e65f),this['_cachedData'][_0x4d53f4(0x14a)](_0x40e65f))[_0x4d53f4(0x185)](()=>this[_0x4d53f4(0x203)][_0x4d53f4(0x16d)](_0x40e65f));}async[_0x3249e4(0x198)](){const _0x59a78e=_0x3249e4,_0x394e83=[];this[_0x59a78e(0x203)][_0x59a78e(0x2eb)]((_0x12695f,_0x3949a2)=>{const _0x11f51e=_0x59a78e;window['clearTimeout'](_0x12695f),_0x394e83[_0x11f51e(0xfa)](this[_0x11f51e(0x2b7)](_0x3949a2)[_0x11f51e(0x185)](()=>{const _0x9cbf83=_0x11f51e;this[_0x9cbf83(0x203)][_0x9cbf83(0x16d)](_0x3949a2);}));}),await Promise['all'](_0x394e83);}};_0x17578b=_0x487fa8([_0x313b65(0x0,_0x4b6906[_0x3249e4(0x244)]),_0x313b65(0x1,_0x4b6906[_0x3249e4(0x270)]),_0x313b65(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x5873f4[_0x3249e4(0xbd)]))],_0x17578b);class _0x513437 extends _0x4b6906['RxDisposable']{constructor(){const _0x56461e=_0x3249e4;super(),_0x202b34(this,_0x56461e(0x1f6)),this[_0x56461e(0x1f6)]=_0x596bb7[_0x56461e(0x171)](window,_0x56461e(0x259))[_0x56461e(0x24b)](_0x596bb7[_0x56461e(0x33f)](this[_0x56461e(0xeb)]),_0x596bb7[_0x56461e(0x209)](0x1),_0x596bb7[_0x56461e(0x1f2)](void 0x0));}['setParam'](_0x5075e1,_0x71e289,_0x6e8984=!0x1){const _0x491647=_0x3249e4,_0x32e375=new URL(window[_0x491647(0x144)]['href']);_0x32e375['searchParams'][_0x491647(0x32a)](_0x5075e1,_0x71e289),_0x6e8984?window[_0x491647(0x126)][_0x491647(0x223)]('','',_0x32e375[_0x491647(0x2f3)]()):window[_0x491647(0x126)][_0x491647(0xf7)]('','',_0x32e375[_0x491647(0x2f3)]());}[_0x3249e4(0x1b2)](_0x4e41dc,_0x24faa6=!0x1){const _0x46a8b3=_0x3249e4,_0x3b5b07=new URL(window[_0x46a8b3(0x144)]['href']);_0x3b5b07['searchParams'][_0x46a8b3(0x16d)](_0x4e41dc),_0x24faa6?window[_0x46a8b3(0x126)][_0x46a8b3(0x223)]('','',_0x3b5b07[_0x46a8b3(0x2f3)]()):window[_0x46a8b3(0x126)][_0x46a8b3(0xf7)]('','',_0x3b5b07[_0x46a8b3(0x2f3)]());}[_0x3249e4(0xed)](_0x42baa3){const _0x17b239=_0x3249e4;var _0x2acbc3;return(_0x2acbc3=new URL(window[_0x17b239(0x144)][_0x17b239(0x27c)])[_0x17b239(0x169)]['get'](_0x42baa3))!=null?_0x2acbc3:void 0x0;}}var _0x32b654=Object[_0x3249e4(0x2dc)],_0x38946d=Object[_0x3249e4(0x16f)],_0x36e81e=(_0x5d8a26,_0x4eb602,_0xd8812)=>_0x4eb602 in _0x5d8a26?_0x32b654(_0x5d8a26,_0x4eb602,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd8812}):_0x5d8a26[_0x4eb602]=_0xd8812,_0x29c2bf=(_0x470daa,_0x10c497,_0x3c9c6a,_0x40ca5f)=>{const _0x43e428=_0x3249e4;for(var _0x2ec4d6=_0x40ca5f>0x1?void 0x0:_0x40ca5f?_0x38946d(_0x10c497,_0x3c9c6a):_0x10c497,_0x2225c5=_0x470daa[_0x43e428(0x10a)]-0x1,_0x41d69c;_0x2225c5>=0x0;_0x2225c5--)(_0x41d69c=_0x470daa[_0x2225c5])&&(_0x2ec4d6=_0x41d69c(_0x2ec4d6)||_0x2ec4d6);return _0x2ec4d6;},_0x15499a=(_0x3ff8da,_0x244e0f)=>(_0x2ef48d,_0x13cc99)=>_0x244e0f(_0x2ef48d,_0x13cc99,_0x3ff8da),_0x452645=(_0x52a2d5,_0x4eeafd,_0x5eb175)=>_0x36e81e(_0x52a2d5,_0x4eeafd+'',_0x5eb175);const _0x14c9c8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x24e36d[_0x3249e4(0x1a8)]=class extends _0x4b6906[_0x3249e4(0x328)]{constructor(_0x15795b=_0x3233ce,_0x33b561,_0x29a1cb,_0x2ac67a){const _0x4ff560=_0x3249e4;super(),this[_0x4ff560(0x300)]=_0x15795b,this['_renderManagerService']=_0x33b561,this['_injector']=_0x29a1cb,this[_0x4ff560(0x221)]=_0x2ac67a;const {..._0x1c1c09}=_0x4b6906['merge']({},_0x3233ce,this['_config']);this[_0x4ff560(0x221)]['setConfig'](_0x3fda7e,_0x1c1c09);}['onStarting'](){const _0x3d70f0=_0x3249e4;this[_0x3d70f0(0x146)](),this[_0x3d70f0(0x282)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x3249e4(0x146)](){const _0x30eb79=_0x3249e4;var _0x27b1cf;const _0x16d144=[[_0x1111e6],[_0x39d0ce],[_0x34da4a],[_0x482565],[_0x3ac6b6],[_0x1b19e7,{'useClass':_0x513437}],[_0x4aa660[_0x30eb79(0x2fd)],{'useClass':_0x4aa660[_0x30eb79(0xf0)]}],[_0x52f34c[_0x30eb79(0x2c9)],{'useClass':_0x17578b}],[_0x24e36d[_0x30eb79(0x342)]],[_0x19f0a6],[_0x3e296d],[_0x24ffd2],[_0x3897f7],[_0x24e36d[_0x30eb79(0x12a)]]];_0x4b6906[_0x30eb79(0x2e8)](this[_0x30eb79(0x10e)],_0x4b6906[_0x30eb79(0x22d)](_0x16d144,(_0x27b1cf=this['_config'])==null?void 0x0:_0x27b1cf[_0x30eb79(0x30d)]));}['_registerRenderDependencies'](){const _0x23eb19=_0x3249e4;this['disposeWithMe'](this[_0x23eb19(0x136)][_0x23eb19(0x240)](_0x4b6906[_0x23eb19(0x1b3)][_0x23eb19(0x208)],[_0x118ce5])),this[_0x23eb19(0x2a0)](this[_0x23eb19(0x136)][_0x23eb19(0x240)](_0x4b6906[_0x23eb19(0x1b3)][_0x23eb19(0x218)],[_0x1a7d71]));}[_0x3249e4(0x282)](){const _0x11756f=_0x3249e4;_0x4b6906[_0x11756f(0xcf)](this['_injector'],[[_0x24ffd2],[_0x24e36d['DesktopCollaborationStatusDisplayController']],[_0x19f0a6],[_0x3e296d],[_0x24e36d[_0x11756f(0x12a)]]]);}},_0x452645(_0x24e36d[_0x3249e4(0x1a8)],'pluginName',_0x14c9c8),_0x24e36d['UniverCollaborationClientUIPlugin']=_0x29c2bf([_0x4b6906['DependentOn'](_0x52f34c['UniverCollaborationClientPlugin']),_0x15499a(0x1,_0xa2dea1['IRenderManagerService']),_0x15499a(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x15499a(0x3,_0x4b6906[_0x3249e4(0x244)])],_0x24e36d[_0x3249e4(0x1a8)]);var _0x93936=Object['getOwnPropertyDescriptor'],_0x1eefa6=(_0x48df02,_0x3129e,_0x2f4625,_0x2059e8)=>{const _0x2e3e17=_0x3249e4;for(var _0x4532ea=_0x2059e8>0x1?void 0x0:_0x2059e8?_0x93936(_0x3129e,_0x2f4625):_0x3129e,_0x32aedb=_0x48df02[_0x2e3e17(0x10a)]-0x1,_0x77ba81;_0x32aedb>=0x0;_0x32aedb--)(_0x77ba81=_0x48df02[_0x32aedb])&&(_0x4532ea=_0x77ba81(_0x4532ea)||_0x4532ea);return _0x4532ea;},_0x228264=(_0x15f285,_0x470584)=>(_0x4e363c,_0x49cfa3)=>_0x470584(_0x4e363c,_0x49cfa3,_0x15f285);_0x24e36d['BrowserCollaborationSocketService']=class extends _0x52f34c[_0x3249e4(0x11c)]{constructor(_0x5be3a3,_0x4524a8,_0x5a9487,_0x14b74b,_0x412994){super(_0x5be3a3,_0x4524a8,_0x5a9487,_0x14b74b,_0x412994);}async[_0x3249e4(0x2e2)](_0x530a87){const _0x5957e1=_0x3249e4,_0x4740ab=await this[_0x5957e1(0x1e0)](),_0x56f28a=this[_0x5957e1(0x21d)](_0x530a87,_0x4740ab);return this[_0x5957e1(0x170)](_0x56f28a);}[_0x3249e4(0x21d)](_0x2911ff,_0x1171c2){const _0x24ceae=_0x3249e4,_0x8e6998=typeof window>'u'?new URL(_0x2911ff):new URL(_0x2911ff,window[_0x24ceae(0x144)][_0x24ceae(0x1ba)]);_0x8e6998[_0x24ceae(0x169)]['set'](_0x24ceae(0x2cf),_0x1171c2);const _0x1d4bc7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x24ceae(0x144)]['search']);return _0x1d4bc7[_0x24ceae(0x14a)](_0x24ceae(0xfc))&&_0x8e6998[_0x24ceae(0x169)]['set']('runId',_0x1d4bc7[_0x24ceae(0x14a)](_0x24ceae(0xfc))),_0x8e6998[_0x24ceae(0x2f3)]();}async[_0x3249e4(0x1e0)](){const _0x1702ec=_0x3249e4;var _0x54f95f,_0x4dc7fe,_0xac218c;const _0x122809=this[_0x1702ec(0x221)][_0x1702ec(0x292)](_0x52f34c[_0x1702ec(0x2c5)]),_0x5cb6f5=(_0x54f95f=_0x122809==null?void 0x0:_0x122809['wsSessionTicketUrl'])!=null?_0x54f95f:_0x52f34c[_0x1702ec(0x16c)];return(_0xac218c=(_0x4dc7fe=(await this[_0x1702ec(0x23a)][_0x1702ec(0x14a)](_0x5cb6f5,{'headers':{'Content-Type':_0x1702ec(0x106)}}))['body'])==null?void 0x0:_0x4dc7fe[_0x1702ec(0x2d0)])!=null?_0xac218c:'';}},_0x24e36d['BrowserCollaborationSocketService']=_0x1eefa6([_0x228264(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x228264(0x1,_0x4b6906['Inject'](_0x4aa660[_0x3249e4(0x125)])),_0x228264(0x2,_0x4b6906['IConfigService']),_0x228264(0x3,_0x4b6906[_0x3249e4(0x28e)]),_0x228264(0x4,_0x5873f4['ISnapshotServerService'])],_0x24e36d['BrowserCollaborationSocketService']);const _0x43bfea=0x7530,_0x1e80ff=_0x3249e4(0x13f);class _0x223c81 extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(){const _0x4a9b53=_0x3249e4;super(),_0x202b34(this,'_id',_0x4b6906[_0x4a9b53(0x272)]()),_0x202b34(this,_0x4a9b53(0x2a5),new Set()),_0x202b34(this,_0x4a9b53(0x180),new Map()),_0x202b34(this,_0x4a9b53(0x13d),null),_0x202b34(this,'_clearOtherTimers',new Map()),_0x202b34(this,_0x4a9b53(0x264),new Map()),this[_0x4a9b53(0x1c4)]();}['dispose'](){const _0x7aa0b2=_0x3249e4;super['dispose'](),this['_clearOtherTimers'][_0x7aa0b2(0x2eb)]((_0x2f890c,_0x42c35f)=>this[_0x7aa0b2(0x253)](_0x42c35f)),this[_0x7aa0b2(0x13d)]&&window[_0x7aa0b2(0x1b1)](this[_0x7aa0b2(0x13d)]);}['getUnitStatus$'](_0x31d6ff){const _0x3e9bce=_0x3249e4;return this[_0x3e9bce(0xe7)](_0x31d6ff)[_0x3e9bce(0x24b)](_0x596bb7['distinctUntilChanged']());}[_0x3249e4(0x1f0)](_0x16d722){const _0x55d441=_0x3249e4;this[_0x55d441(0x2a5)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x55d441(0x2a5)][_0x55d441(0x117)](_0x16d722),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x16d722],'isForwarded':!0x1});}[_0x3249e4(0x2dd)](_0x3efb69){const _0xa0fef1=_0x3249e4;this[_0xa0fef1(0x2a5)][_0xa0fef1(0x16d)](_0x3efb69),this['_selfUnitIDs'][_0xa0fef1(0x32d)]===0x0&&this[_0xa0fef1(0x13d)]&&window[_0xa0fef1(0x1b1)](this['_heartbeatTimer']);}[_0x3249e4(0x1c4)](){const _0x146757=_0x3249e4;this['disposeWithMe'](_0x4b6906[_0x146757(0x35e)](_0x596bb7[_0x146757(0x171)](window,_0x146757(0x2c1))[_0x146757(0x2ea)](_0x1ac869=>{const _0x556c14=_0x146757;if(_0x1ac869[_0x556c14(0x194)]!==_0x1e80ff||!_0x1ac869[_0x556c14(0x226)])return;const _0x3d0487=JSON[_0x556c14(0xec)](_0x1ac869[_0x556c14(0x226)]);this[_0x556c14(0x1e3)](_0x3d0487);}))),window[_0x146757(0x130)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x146757(0x1a4)],'unitIDs':Array[_0x146757(0x1c2)](this[_0x146757(0x2a5)])}));}[_0x3249e4(0x1e3)](_0x43d39e){const _0x1c9f17=_0x3249e4;switch(_0x43d39e[_0x1c9f17(0x32c)]){case 0x0:this[_0x1c9f17(0xd8)](_0x43d39e);break;case 0x1:this[_0x1c9f17(0x1fe)](_0x43d39e);break;case 0x2:this[_0x1c9f17(0x161)](_0x43d39e);break;}}['_handleJoinEvent'](_0x4daf7b){const _0x4f369c=_0x3249e4,{unitIDs:_0x7664e8,memberID:_0x450df8,isForwarded:_0x709eb7}=_0x4daf7b;_0x7664e8[_0x4f369c(0x2eb)](_0x4d1b2f=>{const _0x4a5f6c=_0x4f369c;if(!_0x709eb7&&this['_unitOnClients'][_0x4a5f6c(0x1dd)](_0x4d1b2f)&&this['_ensureSubject'](_0x4d1b2f)[_0x4a5f6c(0x2ad)](_0x52f34c[_0x4a5f6c(0x17c)][_0x4a5f6c(0x1f5)]),!this['_unitOnClients'][_0x4a5f6c(0x1dd)](_0x4d1b2f)||!this[_0x4a5f6c(0x180)]['get'](_0x4d1b2f)[_0x4a5f6c(0x1dd)](_0x450df8)){const _0x15f9dc=this[_0x4a5f6c(0x180)][_0x4a5f6c(0x14a)](_0x4d1b2f)||new Set();_0x15f9dc[_0x4a5f6c(0x117)](_0x450df8),this['_unitOnClients'][_0x4a5f6c(0x32a)](_0x4d1b2f,_0x15f9dc),this[_0x4a5f6c(0x1d3)](_0x450df8);}}),_0x709eb7||this[_0x4f369c(0x299)]({'type':0x0,'memberID':this[_0x4f369c(0x1a4)],'unitIDs':[...this[_0x4f369c(0x2a5)]],'isForwarded':!0x0});}[_0x3249e4(0x1d3)](_0xaa3d48){const _0x3916a6=_0x3249e4;this[_0x3916a6(0x253)](_0xaa3d48);const _0x2ab043=window[_0x3916a6(0x1a0)](()=>{const _0x4c0104=_0x3916a6;this[_0x4c0104(0x180)][_0x4c0104(0x2eb)](_0x5bd615=>{const _0x17964b=_0x4c0104;_0x5bd615[_0x17964b(0x16d)](_0xaa3d48);});},_0x43bfea*0x2);this[_0x3916a6(0x1cd)][_0x3916a6(0x32a)](_0xaa3d48,_0x2ab043);}[_0x3249e4(0x253)](_0x4a00fc){const _0x39d390=_0x3249e4;if(this[_0x39d390(0x1cd)]['has'](_0x4a00fc)){const _0x21b722=this[_0x39d390(0x1cd)][_0x39d390(0x14a)](_0x4a00fc);_0x21b722&&window['clearTimeout'](_0x21b722),this[_0x39d390(0x1cd)][_0x39d390(0x32a)](_0x4a00fc,null);}}['_handleLeaveEvent'](_0x2785f6){const _0x4ad8ff=_0x3249e4,{memberID:_0x208a39,unitIDs:_0x4c02ab}=_0x2785f6;_0x4c02ab[_0x4ad8ff(0x2eb)](_0x3ce08d=>{const _0x206734=_0x4ad8ff;var _0x3de9bb;const _0x59d450=this[_0x206734(0x180)]['get'](_0x3ce08d);_0x59d450&&(_0x59d450[_0x206734(0x16d)](_0x208a39),(_0x3de9bb=this[_0x206734(0xe7)](_0x3ce08d))==null||_0x3de9bb['next'](_0x59d450[_0x206734(0x32d)]===0x0?_0x52f34c[_0x206734(0x17c)]['NO_OTHER_CLIENTS_EDITING']:_0x52f34c[_0x206734(0x17c)]['OTHER_CLIENTS_EDITING']));}),this[_0x4ad8ff(0x253)](_0x208a39);}[_0x3249e4(0x161)](_0x288e66){const _0x2a4ee2=_0x3249e4;this[_0x2a4ee2(0x1d3)](_0x288e66[_0x2a4ee2(0x1ec)]);}[_0x3249e4(0x299)](_0x226a20){const _0xcd09ab=_0x3249e4;localStorage[_0xcd09ab(0x15e)](_0x1e80ff,JSON[_0xcd09ab(0x25a)](_0x226a20));}[_0x3249e4(0x2f4)](){const _0xf0ec7f=_0x3249e4;this[_0xf0ec7f(0x13d)]=window['setInterval'](()=>{const _0x4d143c=_0xf0ec7f;this[_0x4d143c(0x299)]({'type':0x2,'memberID':this[_0x4d143c(0x1a4)]});},_0x43bfea);}[_0x3249e4(0xe7)](_0x4823c5){const _0x950530=_0x3249e4;return this[_0x950530(0x264)][_0x950530(0x1dd)](_0x4823c5)||this[_0x950530(0x264)][_0x950530(0x32a)](_0x4823c5,new _0x596bb7[(_0x950530(0x2db))](_0x52f34c[_0x950530(0x17c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x950530(0x264)]['get'](_0x4823c5);}}var _0xcd436=(_0x8c33ad=>(_0x8c33ad[_0x8c33ad[_0x3249e4(0x17e)]=0x0]=_0x3249e4(0x17e),_0x8c33ad[_0x8c33ad['OK']=0x1]='OK',_0x8c33ad[_0x8c33ad[_0x3249e4(0x1bd)]=0x2]='INTERNAL_ERROR',_0x8c33ad[_0x8c33ad[_0x3249e4(0x327)]=0x3]=_0x3249e4(0x327),_0x8c33ad[_0x8c33ad[_0x3249e4(0x25b)]=0x4]=_0x3249e4(0x25b),_0x8c33ad[_0x8c33ad[_0x3249e4(0xd1)]=0x5]='UNAUTHENTICATED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x16a)]=0x6]=_0x3249e4(0x16a),_0x8c33ad[_0x8c33ad['INVALID_ARGUMENT']=0x7]=_0x3249e4(0x1fc),_0x8c33ad[_0x8c33ad[_0x3249e4(0x111)]=0x8]=_0x3249e4(0x111),_0x8c33ad[_0x8c33ad['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x149)]=0xa]=_0x3249e4(0x149),_0x8c33ad[_0x8c33ad[_0x3249e4(0x1c6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8c33ad[_0x8c33ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3249e4(0x339),_0x8c33ad[_0x8c33ad[_0x3249e4(0x2a4)]=0x1772]=_0x3249e4(0x2a4),_0x8c33ad[_0x8c33ad[_0x3249e4(0x24a)]=0x1773]=_0x3249e4(0x24a),_0x8c33ad[_0x8c33ad['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x8c33ad[_0x8c33ad[_0x3249e4(0x233)]=0x1b5a]=_0x3249e4(0x233),_0x8c33ad[_0x8c33ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3249e4(0x178),_0x8c33ad[_0x8c33ad['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3249e4(0x1ef),_0x8c33ad[_0x8c33ad[_0x3249e4(0x13c)]=0x1b5d]=_0x3249e4(0x13c),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x8c33ad[_0x8c33ad[_0x3249e4(0x155)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x1be)]=0x232a]=_0x3249e4(0x1be),_0x8c33ad[_0x8c33ad['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x172)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x2f9)]=0x232d]=_0x3249e4(0x2f9),_0x8c33ad[_0x8c33ad[_0x3249e4(0x206)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x8c33ad[_0x8c33ad[_0x3249e4(0x266)]=0x2712]=_0x3249e4(0x266),_0x8c33ad[_0x8c33ad['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3249e4(0x133),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28a)]=0x2714]=_0x3249e4(0x28a),_0x8c33ad[_0x8c33ad['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x8c33ad[_0x8c33ad['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3249e4(0x123),_0x8c33ad[_0x8c33ad[_0x3249e4(0x18d)]=0x2af9]=_0x3249e4(0x18d),_0x8c33ad[_0x8c33ad['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3249e4(0x326),_0x8c33ad[_0x8c33ad[_0x3249e4(0x101)]=0x2ee2]=_0x3249e4(0x101),_0x8c33ad[_0x8c33ad[_0x3249e4(0x2b1)]=0x2ee3]=_0x3249e4(0x2b1),_0x8c33ad[_0x8c33ad['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x8c33ad[_0x8c33ad[_0x3249e4(0x164)]=0x2ee5]=_0x3249e4(0x164),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28c)]=0x32c9]=_0x3249e4(0x28c),_0x8c33ad[_0x8c33ad['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3249e4(0x350),_0x8c33ad[_0x8c33ad['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x8c33ad[_0x8c33ad[_0x3249e4(0xfd)]=-0x1]=_0x3249e4(0xfd),_0x8c33ad))(_0xcd436||{}),_0x57f593=Object['getOwnPropertyDescriptor'],_0x3b0637=(_0x599c2a,_0x1d6207,_0x13c242,_0x20f999)=>{const _0x1616bc=_0x3249e4;for(var _0x345752=_0x20f999>0x1?void 0x0:_0x20f999?_0x57f593(_0x1d6207,_0x13c242):_0x1d6207,_0x32ca96=_0x599c2a[_0x1616bc(0x10a)]-0x1,_0x16b38d;_0x32ca96>=0x0;_0x32ca96--)(_0x16b38d=_0x599c2a[_0x32ca96])&&(_0x345752=_0x16b38d(_0x345752)||_0x345752);return _0x345752;},_0x38f1f1=(_0x333ce7,_0x1d75f7)=>(_0x19c460,_0x309c14)=>_0x1d75f7(_0x19c460,_0x309c14,_0x333ce7);_0x24e36d[_0x3249e4(0x250)]=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x2d5a68,_0x86b347,_0x436e2e){const _0x45fdf0=_0x3249e4;super(),this[_0x45fdf0(0x2bd)]=_0x2d5a68,this[_0x45fdf0(0x23a)]=_0x86b347,this[_0x45fdf0(0x221)]=_0x436e2e;}async[_0x3249e4(0x35b)](_0x38b19f,_0x3cb3ba,_0x160acc,..._0x9dfa22){const _0x15e143=_0x3249e4;var _0x44cacd,_0x4eb327,_0x23ef70,_0x1932f1;const _0x252af0=this[_0x15e143(0x2bd)][_0x15e143(0x2be)]();if(!_0x252af0)throw new Error(_0x15e143(0x32f));const _0x188f9b=((_0x44cacd=this[_0x15e143(0x221)][_0x15e143(0x292)](_0x52f34c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x44cacd:_0x52f34c[_0x15e143(0x18e)])+'/'+_0x38b19f+_0x15e143(0xe9)+_0x3cb3ba,_0x2f46ce=new URL(window[_0x15e143(0x144)][_0x15e143(0x27c)]),_0x5b31e2={'scriptId':_0x38b19f,'runId':(_0x4eb327=_0x2f46ce[_0x15e143(0x169)]['get']('runId'))!=null?_0x4eb327:'','function':_0x3cb3ba,'unitId':_0x252af0[_0x15e143(0x293)](),'argsOfFunction':JSON[_0x15e143(0x25a)](_0x9dfa22),'invokeId':(_0x23ef70=_0x160acc[_0x15e143(0x248)])!=null?_0x23ef70:'','executionId':(_0x1932f1=_0x160acc['executionId'])!=null?_0x1932f1:''};try{const _0x1a7d86=await this['_httpService'][_0x15e143(0x1f8)](_0x188f9b,{'body':_0x5b31e2});return _0x1a7d86[_0x15e143(0x1c5)]['error']&&_0x1a7d86[_0x15e143(0x1c5)][_0x15e143(0x267)][_0x15e143(0x1fd)]!==_0xcd436['OK']?'Failed':_0x1a7d86['body'][_0x15e143(0x15c)];}catch{return _0x15e143(0x17f);}}},_0x24e36d['RemoteUniscriptService']=_0x3b0637([_0x38f1f1(0x0,_0x4b6906[_0x3249e4(0x356)]),_0x38f1f1(0x1,_0x4b6906['Inject'](_0x4aa660['HTTPService'])),_0x38f1f1(0x2,_0x4b6906[_0x3249e4(0x244)])],_0x24e36d[_0x3249e4(0x250)]),_0x24e36d[_0x3249e4(0x107)]=_0x1f21e5,_0x24e36d[_0x3249e4(0x2f2)]=_0x1b19e7,_0x24e36d[_0x3249e4(0x354)]=_0x3c8dd6,_0x24e36d['WebBrowserSingleActiveUnitService']=_0x223c81,_0x24e36d[_0x3249e4(0x122)]=_0x513437,Object[_0x3249e4(0x2dc)](_0x24e36d,Symbol[_0x3249e4(0x340)],{'value':_0x3249e4(0x260)});}));function _0x5079(){const _0x89c58e=['next','_onCursorDelete','handleDeleteRangeMoveUp','isTransformMutationFailure','INVITE_CODE_REQUIRED','_drawAnchor','focused$','permission.content','startColumn','_session','_saveCache','icon','closePath','SUBMIT_CHANGESET_TIMEOUT','displayName','hide','_instanceService','getFocusedUnit','OTHER_CLIENT_EDITING','TEXT','storage','transform','url(#$1','sheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_draw','react/jsx-runtime','RemoveRowCommandId','ILocalCacheService','InsertColCommandId','_logService','syncEditingCollabCursor','getUniverSheetInstance','eventID','sessionTicket','ticket','unitID','Error','complete','getCollabCursors$','endColumn','LOCAL_CACHE_INTERVAL','range','Injector','BuiltInUIPart','getCurrentRevOfUnit','BehaviorSubject','defineProperty','disposeUnit','debug','transformStateCache','switchMap','getSheetBySheetId','createSocket','throttleTime','toRgbString','1385784cqeVVf','Disposable','LOCAL_CACHE_INTERVAL_KEY','registerDependencies','transformIMECache','subscribe','forEach','collaboration-client.offline-data-not-saved','handleDeleteRangeMoveLeft','defIds','saveTaskMap','apply','_scene','IURLService','toString','_scheduleHeartbeat','with','registerBeforeClose','...','_transformUndoRedoStack','LICENSE_DISTRO_REJECTED','_cursors','prototype','collab-client.tooltip.reconnect','ISocketService','online','width','_config','_removeCollabCursors','UniverNetwork','_transformPreviousActiveRange','RxDisposable','beginPath','collab-text-anchor-','evenodd','selection','addObject','_updateSubUnitFromURLParams','univer-online-status-icon','@univerjs/docs','override','registerRefRange','mutations','getOwnPropertySymbols','translate(.97)','useDependency','ThemeService','@univerjs/drawing','fromEventSubject','uni.network.url-service','_messageService','AWAITING_WITH_PENDING','_drawRectRange','operators','_initStatusListener','onPointerEnter$','url(#off-line-single_clip0_910_343)','_colorAssignService','_docSkeleton','gold400','_refRangeService','getColor','_scheduleSaving','assign','OffLineSingle','INVITE_CODE_HAS_BEEN_UES','PERMISSION_DENIED','Plugin','0\x200\x2016\x2016','set','height','type','size','_revisionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DeleteRangeMoveUpCommandId','_startSheetCollabCursor','_onRefRangeChange','subunit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_handleHover','permission.title','onPointerLeave$','ranges','SNAPSHOT_INVALID_SNAPSHOT','sessionStatus$','0\x200\x2017\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setShapeProps','name','takeUntil','toStringTag','hovered','DesktopCollaborationStatusDisplayController','MoveRangeCommandId','univer-online-status-title','CollaborationEvent','_localeService','saveImage','redoState','@univerjs/engine-formula','source','_urlService','addClipboardHook','RemoveColCommandId','getViewport','getOffsetConfig','MOBILE_HAS_BEEN_BOUND','_updateCollabCursors','runRefRangeMutations','transformByState','SheetCollabCursorShape','_initCommandExecutedListener','IUniverInstanceService','collaboration-client-ui.config','deepClone','bottom','currentColor','runOnServer','[CollaborationDataLoaderController]','_collabCursorState$','toDisposable','collaboration.single-unit.warning','RevisionService','@univerjs/network','merge','_hovered','_online','children','CollaborationSessionService','4796368kcKiYU','collabStatus.offline','_docStateChangeManagerService','_anchor','params','backgroundColor','onlineStatus','getLocalCacheKey','forwardRef','MemberService','serializeRangeWithSheet','touchDependencies','cursorInfo','UNAUTHENTICATED','_getAnchorBounding','_cursor','CollaborationStatus','resize','UniverEngineRender','url(#on-line-single_clip0_910_349)','_handleJoinEvent','Vector2','getSheetId','concat','call','_themeService','off-line-single_clip0_910_343','getRenderById','_notificationService','LocaleService','jsxs','_render','Warning','EffectRefRangId','combineLatest','_ensureSubject','_localCacheService','/run/','activeSheet$','dispose$','parse','getParam','font','makeDirty','WebSocketService','propertyIsEnumerable','@univerjs/sheets-ui','UPDATE_CURSOR','IUIPartsService','setUndoRedoMutationParamsCache','PENDING','pushState','RefRangeService','drawWith','push','fillText','runId','UNRECOGNIZED','saveOfflineData','_entities','path','INVALID_INVITE_CODE','_eventUnsubscribe','getAncestorScale','attrs','jiqing500','application/json','CollaborationStatusDisplay','purple300','jsx','length','Inject','_cursorShapes','UniverCore','_injector','_drawTextRange','string','TOO_MANY_REQUESTS','getMemberID','CommandType','onLocalMutation','_backgroundColor','_transformHistoryAndStateStack','add','_assignedColors','clipPath','ColorKit','getCurrentSelections','CollaborationSocketService','_univerInstanceService','MUTATION','RichTextEditingMutation','_startDocCollabCursor','RegularPolygon','WebURLService','YUUMI_ASYNCIO_CANCELLED','svg','HTTPService','history','roomMembers$','object','min','CollaborationDataLoaderController','_refreshCollabCursors','addHandlerCallback','InsertRowCommandId','_sheetSkeletonManagerService','@univerjs/design','addEventListener','collabStatus.fetchMiss','getUndoRedoMutationParamsCache','YUUMI_RATE_OVER_LIMIT','replace','none','_renderManagerService','SetTextSelectionsOperation','transformRemoteChangeset','handleMoveRange','isActive','_commandService','APPLY_DUPLICATED','_heartbeatTimer','UniverProCollaborationClientUi','ACTIVE_UNIT_EVENT_CHANNEL','data','M0\x200H16V16H0z','blue400','UniverProCollaboration','location','isArray','_registerDependencies','actions','createElement','LOGIN_FAILED','get','findNodePositionByCharIndex','m2Prime','indexOf','event$','_initEntityListener','labelPosition','_color','onlineStatusIcon','createIdentifier','m1Prime','LICENSE_MAX_UNITS_EXCEEDED','DocCollaborationEntity','className','currentTheme$','getCoordByCell','collab-text-range-','_setupSubUnitSync','result','_initResize','setItem','_hover','handleInsertCol','_handleHeartbeatEvent','UniverDrawing','206628NTKhbP','INVITE_CODE_ALREADY_BOUND','undoState','InsertRangeMoveDownCommandId','getVpScrollXYInfoByPosToVp','sheetID','searchParams','ALREADY_EXISTS','_labelPosition','DEFAULT_WS_SESSION_TICKET_URL','delete','2261650lSEqZc','getOwnPropertyDescriptor','_doCreateSocket','fromEvent','LICENSE_EXPORT_SIZE_EXCEEDED','colorChannel1','@univerjs/docs-ui','collabStatus.syncing','color','AWAITING','APPLY_REVISION_CONFILICT','6yqamDo','UniverSheetsUi','offline','UnitStatus','debounce','UNDEFINED','Failed','_unitOnClients','Optional','_uiPartsService','React','HEADER_MENU','then','transformSelections','clearTimeout','getRangePointData','@univerjs-pro/collaboration','doc.mutation.rich-text-editing','useRef','transformMutation','PY_RUNTIME_SCRIPT_ERROR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Unknown\x20user','_entityInit$','_toggleOnline','@univerjs/rpc','SheetsSelectionsService','key','getTypeOfUnitDisposed$','@univerjs/engine-render','CollaborationUIEventId','exhaustSavingTask','Tooltip','top','TEXT_RANGE_LAYER_INDEX','engine','init','_collabCursorController','COLORS','setTimeout','univer-offline','current','amd','_id','replaceDocRanges','_initEvent','getCellPositionByOffset','UniverCollaborationClientUIPlugin','currentSkeleton$','getActiveRange','_setupBeforeClosingHandler','_docTransformIMECacheService','createInstance','session.collaboration-timeout','unit','getMergeData','clearInterval','removeParam','UniverInstanceType','_docSyncEditingCollabCursorService','#FFF','asObservable','verdancy600','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getSheetObject','origin','_toggleOffline','values','INTERNAL_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','requireSession','IRemoteInstanceService','from','RECT','_init','body','CHANGESET_REVISION_CONFILICT','_syncEditingCollabCursorService','defs','roomMembers','_localStorageService','CollaborationController','SetDocZoomRatioOperation','_clearOtherTimers','univer-flex\x20univer-items-center','OFFLINE','collabCursorState$','save','UniverUi','_scheduleClearOtherTimer','connectInjector','_onCursorUpdate','executeCommand','IDocClipboardService','subUnitId','send','_context','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','2146100tWkfcn','has','deserializeRangeWithSheet','loadUnit','_getSessionTicket','@univerjs/sheets','isTransformMutationsWithChangesetSuccess','_handleEvent','InsertRangeMoveRightCommandId','ITransformService','on-line-single','useCallback','show','ICommandService','textRanges','UniverSheets','memberID','whenReady','_colorIndex','APPLY_PERMISSION_DENIED','editingUnit','_cursorInfo$','mapTo','black','_updateURLWithCurrentState','OTHER_CLIENTS_EDITING','urlChange$','rxjs','post','arc','text','getUnhiddenWorksheets','INVALID_ARGUMENT','code','_handleLeaveEvent','_transformService','entityInit$','Tools','setParam','_saveTaskMap','VIEW_MAIN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','UNIVER_DOC','shareReplay','_cachedData','univer-online-status','enableLocalCache','handleInsertRangeMoveDown','DisposableCollection','_textBubble','useObservable','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','find','677862zIoleK','filter','DocIMEInputManagerService','Rect','transformMutationsWithChangeset','UNIVER_SHEET','getMember','@univerjs-pro/collaboration-client','univerjs-icon\x20univerjs-icon-','NOT_COLLAB','_createSocketURL','map','collaboration.closeRoom','SYNCED','_configService','#fff','replaceState','getSkeleton','_anchorDot','newValue','2548483hbSjTt','off-line-single','red300','getRelativeToViewportCoord','UniverIcon','_updateLocalCursor','mergeOverrideWithDependencies','measureText','_document','SHEET_VIEWPORT_KEY','SetWorksheetActivateCommand','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','_disabled','_hideTimer','Shape','INotificationService','DocStateChangeManagerService','_status$','_httpService','moveTo','_collaborationUIEventService','_collaborationController','setAlpha','onMouseMove','registerRenderModule','dispose','_initStatusComponent','subscribeEvent','IConfigService','SessionStatus','_range','univer-online','invokeId','UniverDocs','ENSURE_SNAPSHOT_EXECUTION','pipe','onPointerMove$','unitId','reconnect','column','RemoteUniscriptService','mask','UniverRpc','_removeClearOtherTimer','_roomMembers$','_docTransformStateCacheService','registerComponent','_beforeCloseService','getStateCache','popstate','stringify','NOT_FOUND','_getSheetObject','_lastPointer','_shapes','setActiveRange','Module','_name','_docClipboardService','fillRule','_unitStatus','MessageType','YUUMI_URL_COL_OUT_OF_RANGE','error','restore','assignAColorForMemberID','1em','UniverDocsUi','getDocRanges','substring','cursorInfo$','DOC_RANGE_TYPE','ILocalStorageService','tag','generateRandomId','onTransformChange$','UniverEngineFormula','debounceTime','collab-rect-range-','getCollabEntity$','_getSaveTimeout','endRow','round','_dataLoaderService','href','extend','@univerjs/ui','unshift','fillStyle','getTypeOfUnitAdded$','_initDependencies','NodePositionConvertToCursor','IMessageService','fill','SOCKET_FAILED_RETRY','FromArray','rxjs/operators','_collabSessionService','YUUMI_SUBSCRIPTION_NOT_FOUND','split','WECHAT_HAS_BEEN_BOUND','@univerjs/core','ILogService','CONNECTOR_DATA_TOO_LARGE','idSuffix','rgba(255,\x20255,\x20255,\x200.01)','getConfig','getUnitId','_memberService','exports','Subject','DocSkeletonManagerService','lineTo','_send','on-line-single_clip0_910_349','Workbook','getValue','ONLINE','_getScale','function','disposeWithMe','div','xlink:href','Rectangle','SNAPSHOT_HAS_BEEN_REMOVED','_selfUnitIDs','getCurrentUnitForType','DocSelectionManagerService','selections','getActiveSheet','entries','row','_getMergeRange'];_0x5079=function(){return _0x89c58e;};return _0x5079();}