@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504121606 → 0.6.10-nightly.202504131606

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 _0x1bed(_0x36eb7f,_0x3c3ebb){const _0x2d6307=_0x2d63();return _0x1bed=function(_0x1bed76,_0x3afd5f){_0x1bed76=_0x1bed76-0x1ab;let _0x137d48=_0x2d6307[_0x1bed76];return _0x137d48;},_0x1bed(_0x36eb7f,_0x3c3ebb);}(function(_0x2c273c,_0xb4d735){const _0x1eaae1=_0x1bed,_0x2c542d=_0x2c273c();while(!![]){try{const _0xc5ef1d=-parseInt(_0x1eaae1(0x358))/0x1*(-parseInt(_0x1eaae1(0x1ee))/0x2)+parseInt(_0x1eaae1(0x39d))/0x3+-parseInt(_0x1eaae1(0x1f9))/0x4+-parseInt(_0x1eaae1(0x220))/0x5*(parseInt(_0x1eaae1(0x33c))/0x6)+parseInt(_0x1eaae1(0x213))/0x7+parseInt(_0x1eaae1(0x41c))/0x8+-parseInt(_0x1eaae1(0x35c))/0x9;if(_0xc5ef1d===_0xb4d735)break;else _0x2c542d['push'](_0x2c542d['shift']());}catch(_0x3b65af){_0x2c542d['push'](_0x2c542d['shift']());}}}(_0x2d63,0xca97f),function(_0x244f75,_0x3b6076){const _0x28b438=_0x1bed;typeof exports==_0x28b438(0x2f2)&&typeof module<'u'?_0x3b6076(exports,require(_0x28b438(0x409)),require(_0x28b438(0x280)),require(_0x28b438(0x1d4)),require(_0x28b438(0x27c)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x28b438(0x1fb)),require(_0x28b438(0x235)),require(_0x28b438(0x2ee)),require(_0x28b438(0x2e9)),require(_0x28b438(0x436)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x28b438(0x262)),require('react'),require(_0x28b438(0x1e4))):typeof define==_0x28b438(0x1f5)&&define[_0x28b438(0x385)]?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x28b438(0x1d4),'@univerjs/network',_0x28b438(0x1b5),'@univerjs/drawing',_0x28b438(0x1fb),_0x28b438(0x235),'@univerjs-pro/collaboration',_0x28b438(0x2e9),_0x28b438(0x436),'rxjs/operators',_0x28b438(0x2e8),'react/jsx-runtime',_0x28b438(0x3f8),'@univerjs/design',_0x28b438(0x24c),_0x28b438(0x1e4)],_0x3b6076):(_0x244f75=typeof globalThis<'u'?globalThis:_0x244f75||self,_0x3b6076(_0x244f75['UniverProCollaborationClientUi']={},_0x244f75['UniverProCollaborationClient'],_0x244f75[_0x28b438(0x3cf)],_0x244f75[_0x28b438(0x21d)],_0x244f75[_0x28b438(0x437)],_0x244f75['UniverDocsUi'],_0x244f75[_0x28b438(0x1f7)],_0x244f75[_0x28b438(0x1fb)],_0x244f75[_0x28b438(0x3d4)],_0x244f75[_0x28b438(0x413)],_0x244f75[_0x28b438(0x30a)],_0x244f75[_0x28b438(0x258)],_0x244f75['rxjs'][_0x28b438(0x2cb)],_0x244f75['UniverSheetsUi'],_0x244f75['React'],_0x244f75['UniverUi'],_0x244f75[_0x28b438(0x34c)],_0x244f75[_0x28b438(0x2db)],_0x244f75[_0x28b438(0x3dc)]));}(this,function(_0x417bf1,_0x3fb0c7,_0x4d7567,_0x4a12db,_0x4f9d2b,_0x47cccb,_0x15e44e,_0x302f1e,_0x534e54,_0x249cc5,_0x5c224a,_0x5976f8,_0x5be01f,_0x53e960,_0x143960,_0x25ac9f,_0x521938,_0x3a1e2c,_0x274540){'use strict';const _0x438245=_0x1bed;var _0x1c5f45=Object['defineProperty'],_0x42eba9=(_0xfbfdf,_0x4e6f7f,_0x53a2e9)=>_0x4e6f7f in _0xfbfdf?_0x1c5f45(_0xfbfdf,_0x4e6f7f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53a2e9}):_0xfbfdf[_0x4e6f7f]=_0x53a2e9,_0x30d208=(_0x3cc062,_0x58ee5d,_0x189858)=>_0x42eba9(_0x3cc062,typeof _0x58ee5d!=_0x438245(0x241)?_0x58ee5d+'':_0x58ee5d,_0x189858),_0x471aff=Object[_0x438245(0x23f)],_0x28e7cc=(_0x596d3e,_0x454e0c,_0x415609,_0x5e7920)=>{const _0xbf22a3=_0x438245;for(var _0x3e7ced=_0x5e7920>0x1?void 0x0:_0x5e7920?_0x471aff(_0x454e0c,_0x415609):_0x454e0c,_0x5d554c=_0x596d3e[_0xbf22a3(0x1f8)]-0x1,_0x1523c7;_0x5d554c>=0x0;_0x5d554c--)(_0x1523c7=_0x596d3e[_0x5d554c])&&(_0x3e7ced=_0x1523c7(_0x3e7ced)||_0x3e7ced);return _0x3e7ced;},_0x3e912d=(_0xc3d178,_0x558100)=>(_0x5142bb,_0x1da6ca)=>_0x558100(_0x5142bb,_0x1da6ca,_0xc3d178);let _0x3431b4=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x5c3630,_0x4f03a6){const _0x50861a=_0x438245;super(),this[_0x50861a(0x37e)]=_0x5c3630,this['_imageIoService']=_0x4f03a6,this[_0x50861a(0x38b)]();}[_0x438245(0x38b)](){const _0x55a3e8=_0x438245,_0x35bce2=this;this[_0x55a3e8(0x2d6)](this['_docClipboardService'][_0x55a3e8(0x3a8)]({'onBeforePasteImage':async _0x5ce8c1=>{const _0x35a948=_0x55a3e8,_0xe81712=await _0x35bce2[_0x35a948(0x211)]['saveImage'](_0x5ce8c1);return _0xe81712?{'source':_0xe81712[_0x35a948(0x1dc)],'imageSourceType':_0xe81712[_0x35a948(0x3ce)]}:null;}}));}};_0x3431b4=_0x28e7cc([_0x3e912d(0x0,_0x47cccb['IDocClipboardService']),_0x3e912d(0x1,_0x15e44e[_0x438245(0x26d)])],_0x3431b4);const _0x5bc15f=[_0x438245(0x3e6),_0x438245(0x3e2),_0x438245(0x3c3),_0x438245(0x1de),_0x438245(0x2d1),_0x438245(0x23d)];class _0x5b3fee extends _0x4d7567[_0x438245(0x219)]{constructor(){const _0x2af24f=_0x438245;super(...arguments),_0x30d208(this,_0x2af24f(0x1d7),new Map()),_0x30d208(this,'_colorIndex',0x0);}[_0x438245(0x30b)](_0x35b368){const _0x560192=_0x438245;if(this['_assignedColors'][_0x560192(0x25a)](_0x35b368))return this[_0x560192(0x1d7)][_0x560192(0x3f6)](_0x35b368);const _0x42378a=_0x5bc15f[this[_0x560192(0x23c)]];return this['_colorIndex']=(this[_0x560192(0x23c)]+0x1)%_0x5bc15f[_0x560192(0x1f8)],this[_0x560192(0x1d7)][_0x560192(0x42b)](_0x35b368,_0x42378a),_0x42378a;}}function _0xa44624(_0x18554d){let _0x2f3ad8='';for(const _0x496f66 of _0x18554d){const {startOffset:_0x183c0f,endOffset:_0x1812e3,isActive:_0x1fa3d0,rangeType:_0x2ab919,segmentId:_0x4a37d8,segmentPage:_0x58d46f}=_0x496f66;_0x2f3ad8['length']&&(_0x2f3ad8+=','),_0x2f3ad8+=_0x183c0f+':'+_0x1812e3+':'+(_0x1fa3d0?'1':'0')+':'+_0x2ab919+':'+_0x4a37d8+':'+_0x58d46f;}return _0x2f3ad8;}function _0x474652(_0xbb6358){const _0x2f97b7=_0x438245,_0x4f82e2=_0xbb6358[_0x2f97b7(0x3d9)](','),_0x24bbe1=[];for(const _0x6cc689 of _0x4f82e2){const [_0xb7d2e4,_0x4a72d8,_0x92de85,_0x2cdab6,_0xafaa91,_0x6263a4]=_0x6cc689[_0x2f97b7(0x3d9)](':');_0x24bbe1[_0x2f97b7(0x2d3)]({'startOffset':Number(_0xb7d2e4),'endOffset':Number(_0x4a72d8),'collapsed':_0xb7d2e4===_0x4a72d8,'isActive':_0x92de85==='1','rangeType':_0x2cdab6===_0x4d7567[_0x2f97b7(0x1da)][_0x2f97b7(0x1ba)]?_0x4d7567[_0x2f97b7(0x1da)]['TEXT']:_0x4d7567['DOC_RANGE_TYPE'][_0x2f97b7(0x411)],'segmentId':typeof _0xafaa91=='string'?String(_0xafaa91):'','segmentPage':Number(_0x6263a4!=null?_0x6263a4:-0x1)});}return _0x24bbe1[_0x2f97b7(0x414)](_0x4cc8b6=>_0x4cc8b6[_0x2f97b7(0x251)])||(_0x24bbe1[0x0]['isActive']=!0x0),_0x24bbe1;}class _0x4b7e32 extends _0x4d7567[_0x438245(0x2b8)]{constructor(){const _0x5d62d7=_0x438245;super(...arguments),_0x30d208(this,_0x5d62d7(0x21c),new _0x302f1e[(_0x5d62d7(0x433))](null)),_0x30d208(this,'collabCursorState$',this[_0x5d62d7(0x21c)]['asObservable']());}[_0x438245(0x21e)](_0x245235){const {unitID:_0x2c4a96,memberID:_0x2c4a5d,textRanges:_0x57fd81}=_0x245235,_0x590b66=_0xa44624(_0x57fd81);if(_0x590b66==='')return;const _0x618cf2={'unitID':_0x2c4a96,'memberID':_0x2c4a5d,'selection':_0x590b66};this['_collabCursorState$']['next'](_0x618cf2);}}var _0x18b875=Object[_0x438245(0x23f)],_0x4e5935=(_0x48a396,_0xdbc3e,_0x237379,_0x17d176)=>{for(var _0x4615df=_0x17d176>0x1?void 0x0:_0x17d176?_0x18b875(_0xdbc3e,_0x237379):_0xdbc3e,_0x3c203d=_0x48a396['length']-0x1,_0x465414;_0x3c203d>=0x0;_0x3c203d--)(_0x465414=_0x48a396[_0x3c203d])&&(_0x4615df=_0x465414(_0x4615df)||_0x4615df);return _0x4615df;},_0x3dda56=(_0x510678,_0x23be56)=>(_0x2effd7,_0x392de0)=>_0x23be56(_0x2effd7,_0x392de0,_0x510678);const _0x399f91=0x12c,_0xef991a=0x64;let _0x2235ef=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x43b859,_0xc199cd,_0x51db8c,_0x572e2e,_0x48e9ef,_0xd04336,_0x4d520c,_0x5e4778,_0x231651){const _0x2db339=_0x438245;super(),_0x30d208(this,_0x2db339(0x3f0),!0x1),_0x30d208(this,_0x2db339(0x38b),!0x1),_0x30d208(this,_0x2db339(0x434),new _0x302f1e[(_0x2db339(0x433))](new Map())),_0x30d208(this,_0x2db339(0x3c8),this[_0x2db339(0x434)][_0x2db339(0x357)]()),_0x30d208(this,_0x2db339(0x243),new _0x302f1e[(_0x2db339(0x433))]([])),_0x30d208(this,_0x2db339(0x43e),this[_0x2db339(0x243)][_0x2db339(0x3eb)](_0x302f1e[_0x2db339(0x362)](_0x399f91))),_0x30d208(this,_0x2db339(0x2c6),_0x4d7567['debounce'](_0x461d7c=>{const _0x3c8f28=_0x2db339,_0x5b94cc={'eventID':_0x249cc5[_0x3c8f28(0x3af)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3c8f28(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0xa44624(_0x461d7c)}};this[_0x3c8f28(0x2eb)][_0x3c8f28(0x2a0)](_0x5b94cc,this['unitID']);},_0xef991a)),(this[_0x2db339(0x307)]=_0x43b859,this[_0x2db339(0x2eb)]=_0xc199cd,this[_0x2db339(0x3fa)]=_0x51db8c,this[_0x2db339(0x1e7)]=_0x572e2e,this['_memberService']=_0x48e9ef,this['_syncEditingCollabCursorService']=_0xd04336,this[_0x2db339(0x355)]=_0x4d520c,this[_0x2db339(0x3d8)]=_0x5e4778,this[_0x2db339(0x39e)]=_0x231651);}get[_0x438245(0x417)](){return this['_cursorInfo$']['getValue']();}get[_0x438245(0x2a9)](){const _0x126ba4=_0x438245;return this[_0x126ba4(0x243)][_0x126ba4(0x427)]();}[_0x438245(0x3f7)](){const _0x41f2ec=_0x438245;super['dispose'](),this[_0x41f2ec(0x434)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x41f2ec(0x243)]['next']([]),this[_0x41f2ec(0x243)][_0x41f2ec(0x348)]();}[_0x438245(0x388)](){const _0x627322=_0x438245;this[_0x627322(0x38b)]||(this[_0x627322(0x38b)]=!0x0,this[_0x627322(0x2eb)]['sessionStatus$'][_0x627322(0x3eb)](_0x302f1e[_0x627322(0x416)](this[_0x627322(0x287)]))['subscribe'](_0x35e3a8=>{const _0x2f1edb=_0x627322;_0x35e3a8===_0x3fb0c7['SessionStatus'][_0x2f1edb(0x326)]?this[_0x2f1edb(0x33f)]():this[_0x2f1edb(0x2e6)]();}),this[_0x627322(0x2eb)][_0x627322(0x367)][_0x627322(0x3eb)](_0x302f1e[_0x627322(0x416)](this[_0x627322(0x287)]))[_0x627322(0x277)](_0xfa4e7=>{const _0x3fa587=_0x627322,_0x541110=_0xfa4e7[_0x3fa587(0x3be)];_0x541110===_0x249cc5[_0x3fa587(0x3af)][_0x3fa587(0x232)]&&this['_onCursorUpdate'](_0xfa4e7),_0x541110===_0x249cc5[_0x3fa587(0x3af)][_0x3fa587(0x324)]&&this[_0x3fa587(0x2da)](_0xfa4e7);}),this[_0x627322(0x2d6)](this[_0x627322(0x39e)]['onCommandExecuted'](_0x814ee9=>{const _0x321979=_0x627322,_0x1e9903=_0x814ee9['params'];_0x1e9903!=null&&this[_0x321979(0x3f0)]&&_0x814ee9['id']===_0x534e54['SetTextSelectionsOperation']['id']&&_0x1e9903[_0x321979(0x1f0)]===this['unitID']&&_0x1e9903['isEditing']===!0x1&&_0x1e9903[_0x321979(0x1ac)]['length']>0x0&&this[_0x321979(0x2c6)](_0x1e9903[_0x321979(0x1ac)]);})),this['_syncEditingCollabCursorService'][_0x627322(0x2a3)][_0x627322(0x3eb)](_0x302f1e[_0x627322(0x416)](this[_0x627322(0x287)]))[_0x627322(0x277)](_0x29b95f=>{const _0x210f4c=_0x627322;if((_0x29b95f==null?void 0x0:_0x29b95f[_0x210f4c(0x307)])!==this[_0x210f4c(0x307)])return;const _0x5b9b12={'eventID':_0x249cc5[_0x210f4c(0x3af)][_0x210f4c(0x232)],'data':_0x29b95f};this[_0x210f4c(0x328)](_0x5b9b12);}),this['disposeWithMe'](this['_commandService'][_0x627322(0x2b3)](_0x9b28b5=>{const _0x9450c4=_0x627322;if(_0x9b28b5[_0x9450c4(0x365)]==null)return;const _0x1ef692=_0x9b28b5[_0x9450c4(0x365)];if(_0x9b28b5['id']!==_0x534e54[_0x9450c4(0x254)]['id']||_0x1ef692[_0x9450c4(0x1f0)]!==this['unitID'])return;const _0x5934e4={'id':_0x9450c4(0x1e1),'params':_0x1ef692},_0x1ccd20=this[_0x9450c4(0x417)];for(const [_0xd44e9e,_0x31c09d]of _0x1ccd20){const _0x150cc9={'id':_0x9450c4(0x1e1),'params':{'unitId':this[_0x9450c4(0x307)],'actions':null,'textRanges':_0x31c09d['ranges']}},_0x2c03fe=this[_0x9450c4(0x355)][_0x9450c4(0x37d)](_0x5934e4,_0x150cc9,!0x1);if(_0x249cc5[_0x9450c4(0x2f8)](_0x2c03fe))throw _0x2c03fe[_0x9450c4(0x30e)];_0x1ccd20['set'](_0xd44e9e,{..._0x31c09d,'ranges':_0x2c03fe[_0x9450c4(0x2f0)][_0x9450c4(0x365)][_0x9450c4(0x40d)]});}queueMicrotask(()=>{const _0x38335=_0x9450c4;this['_cursorInfo$'][_0x38335(0x31f)](_0x1ccd20);});})));}[_0x438245(0x328)](_0x43289d){const _0x14ddd8=_0x438245;var _0x384b17,_0x64a3bc;const {memberID:_0x1a56d5,selection:_0x258938}=_0x43289d[_0x14ddd8(0x38a)],_0x1a9b54=_0x474652(_0x258938),_0x3a1aec=(_0x64a3bc=(_0x384b17=this[_0x14ddd8(0x2ea)][_0x14ddd8(0x40a)](this[_0x14ddd8(0x307)],_0x1a56d5))==null?void 0x0:_0x384b17[_0x14ddd8(0x420)])!=null?_0x64a3bc:'Unknown\x20user',_0x1def2d={'color':this['_colorAssignService'][_0x14ddd8(0x30b)](_0x1a56d5),'name':_0x3a1aec,'ranges':_0x1a9b54},_0x493aa0=this[_0x14ddd8(0x417)];_0x493aa0['set'](_0x1a56d5,_0x1def2d),this[_0x14ddd8(0x434)]['next'](_0x493aa0);}['_onCursorDelete'](_0x908598){const _0x34f310=_0x438245,{memberID:_0x339d3b}=_0x908598[_0x34f310(0x38a)],_0x411862=this[_0x34f310(0x417)];_0x411862[_0x34f310(0x3b2)](_0x339d3b),this[_0x34f310(0x434)][_0x34f310(0x31f)](_0x411862);}[_0x438245(0x33f)](){const _0xad3e44=_0x438245;var _0x15a4b5;if(this[_0xad3e44(0x3f0)]=!0x0,((_0x15a4b5=this[_0xad3e44(0x3d8)][_0xad3e44(0x3e7)]())==null?void 0x0:_0x15a4b5['getUnitId']())!==this['unitID'])return;const _0x267acc=this[_0xad3e44(0x3fa)][_0xad3e44(0x3f6)](_0x534e54[_0xad3e44(0x425)])[_0xad3e44(0x34e)]();Array[_0xad3e44(0x2ce)](_0x267acc)&&_0x267acc[_0xad3e44(0x1f8)]>0x0&&this['_updateLocalCursor'](_0x267acc);}[_0x438245(0x2e6)](){const _0x5a8274=_0x438245;this[_0x5a8274(0x3f0)]=!0x1;}};_0x2235ef=_0x4e5935([_0x3dda56(0x2,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x3dda56(0x3,_0x4d7567[_0x438245(0x317)](_0x5b3fee)),_0x3dda56(0x4,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x1d2)])),_0x3dda56(0x5,_0x4d7567[_0x438245(0x317)](_0x4b7e32)),_0x3dda56(0x6,_0x249cc5[_0x438245(0x391)]),_0x3dda56(0x7,_0x4d7567[_0x438245(0x3fd)]),_0x3dda56(0x8,_0x4d7567[_0x438245(0x2bf)])],_0x2235ef);var _0x162cf5=Object[_0x438245(0x23f)],_0x4bfa40=(_0xf08a8b,_0x1f0fe0,_0x31ce1f,_0x2b2292)=>{const _0xac8ad=_0x438245;for(var _0x27e062=_0x2b2292>0x1?void 0x0:_0x2b2292?_0x162cf5(_0x1f0fe0,_0x31ce1f):_0x1f0fe0,_0x58eea8=_0xf08a8b[_0xac8ad(0x1f8)]-0x1,_0xb6d9d1;_0x58eea8>=0x0;_0x58eea8--)(_0xb6d9d1=_0xf08a8b[_0x58eea8])&&(_0x27e062=_0xb6d9d1(_0x27e062)||_0x27e062);return _0x27e062;},_0x379fe3=(_0x4a959f,_0x54fca6)=>(_0x52272e,_0x5da9bf)=>_0x54fca6(_0x52272e,_0x5da9bf,_0x4a959f);const _0x1fe0da=0x12c,_0x2d8f25=0x64,_0xb7860f=()=>{let _0x32234a=[],_0x3cc34e=!0x1;return _0x502c23=>{const _0x4a83c8=_0x1bed;_0x32234a[_0x4a83c8(0x2d3)](_0x502c23),_0x3cc34e||(_0x3cc34e=!0x0,setTimeout(()=>{const _0x880d45=_0x4a83c8;_0x32234a[_0x880d45(0x237)](_0x2a42f9=>_0x2a42f9()),_0x32234a=[],_0x3cc34e=!0x1;}));};};let _0x374282=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x3763c8,_0x45d084,_0x555316,_0x4af30d,_0x39e5e8,_0x41f685,_0x114082,_0x506ae5){const _0x5f6377=_0x438245;super(),_0x30d208(this,_0x5f6377(0x3f0),!0x1),_0x30d208(this,_0x5f6377(0x38b),!0x1),_0x30d208(this,_0x5f6377(0x434),new _0x302f1e[(_0x5f6377(0x433))](new Map())),_0x30d208(this,_0x5f6377(0x3c8),this[_0x5f6377(0x434)][_0x5f6377(0x357)]()),_0x30d208(this,'_roomMembers$',new _0x302f1e[(_0x5f6377(0x433))]([])),_0x30d208(this,'roomMembers$',this[_0x5f6377(0x243)][_0x5f6377(0x3eb)](_0x302f1e[_0x5f6377(0x362)](_0x1fe0da))),_0x30d208(this,'_updateLocalCursor',_0x4d7567[_0x5f6377(0x354)]((_0x1099ce,_0x3ff02d)=>{const _0x456d6d=_0x5f6377,_0x435ab8={'eventID':_0x249cc5['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x456d6d(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0x5c224a['serializeRangeWithSheet'](_0x1099ce,_0x3ff02d[_0x456d6d(0x1b7)])}};this[_0x456d6d(0x2eb)][_0x456d6d(0x2a0)](_0x435ab8,this['unitID']);},_0x2d8f25)),(this[_0x5f6377(0x307)]=_0x3763c8,this[_0x5f6377(0x2eb)]=_0x45d084,this[_0x5f6377(0x3fa)]=_0x555316,this[_0x5f6377(0x1e7)]=_0x4af30d,this[_0x5f6377(0x2ea)]=_0x39e5e8,this[_0x5f6377(0x3d8)]=_0x41f685,this['_commandService']=_0x114082,this[_0x5f6377(0x37f)]=_0x506ae5);}get[_0x438245(0x417)](){const _0xace0ab=_0x438245;return this['_cursorInfo$'][_0xace0ab(0x427)]();}get[_0x438245(0x2a9)](){const _0x1b66d3=_0x438245;return this[_0x1b66d3(0x243)][_0x1b66d3(0x427)]();}[_0x438245(0x3f7)](){const _0x3f429b=_0x438245;super[_0x3f429b(0x3f7)](),this['_cursorInfo$'][_0x3f429b(0x31f)](new Map()),this[_0x3f429b(0x434)]['complete'](),this[_0x3f429b(0x243)][_0x3f429b(0x31f)]([]),this[_0x3f429b(0x243)]['complete']();}['init'](){const _0x4b7231=_0x438245;this['_init']||(this[_0x4b7231(0x38b)]=!0x0,this[_0x4b7231(0x2eb)]['sessionStatus$']['pipe'](_0x302f1e[_0x4b7231(0x416)](this['dispose$']))[_0x4b7231(0x277)](_0x730d1f=>{const _0x378d88=_0x4b7231;_0x730d1f===_0x3fb0c7['SessionStatus']['ONLINE']?this[_0x378d88(0x33f)]():this[_0x378d88(0x2e6)]();}),this['_session'][_0x4b7231(0x367)]['pipe'](_0x302f1e[_0x4b7231(0x416)](this[_0x4b7231(0x287)]))[_0x4b7231(0x277)](_0x149fa2=>{const _0x398459=_0x4b7231,_0x4ccaf8=_0x149fa2[_0x398459(0x3be)];_0x4ccaf8===_0x249cc5[_0x398459(0x3af)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x149fa2),_0x4ccaf8===_0x249cc5['CollaborationEvent']['USERS_LEAVE']&&this[_0x398459(0x2da)](_0x149fa2);}),this[_0x4b7231(0x407)](),this[_0x4b7231(0x2d6)](this['_commandService'][_0x4b7231(0x2b3)](_0x267e2c=>{const _0x79d476=_0x4b7231;if(this['_online']&&_0x267e2c['id']===_0x5976f8[_0x79d476(0x2c5)]['id']&&_0x267e2c[_0x79d476(0x365)][_0x79d476(0x1f0)]===this[_0x79d476(0x307)]){const _0x322390=_0x267e2c['params'];this[_0x79d476(0x2c6)](_0x322390[_0x79d476(0x238)],_0x322390['selections'][0x0]);}})));}[_0x438245(0x328)](_0xc45b8f){const _0x1b3a83=_0x438245;var _0x4ab01e,_0x50e5f4;const {memberID:_0x29719c,selection:_0x3346b3}=_0xc45b8f[_0x1b3a83(0x38a)],{sheetName:_0x1176c3,range:_0x342904}=_0x5c224a['deserializeRangeWithSheet'](_0x3346b3),_0x36dc04={'name':(_0x50e5f4=(_0x4ab01e=this[_0x1b3a83(0x2ea)][_0x1b3a83(0x40a)](this[_0x1b3a83(0x307)],_0x29719c))==null?void 0x0:_0x4ab01e[_0x1b3a83(0x420)])!=null?_0x50e5f4:_0x1b3a83(0x29e),'range':this[_0x1b3a83(0x3e9)](_0x1176c3,_0x342904),'sheetID':_0x1176c3,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x29719c),'selection':_0x3346b3},_0x54b99=this[_0x1b3a83(0x417)];_0x54b99[_0x1b3a83(0x42b)](_0x29719c,_0x36dc04),this[_0x1b3a83(0x434)][_0x1b3a83(0x31f)](_0x54b99);}[_0x438245(0x2da)](_0x17831d){const _0x52ad1e=_0x438245,{memberID:_0xf8ed79}=_0x17831d[_0x52ad1e(0x38a)],_0x459799=this[_0x52ad1e(0x417)];_0x459799[_0x52ad1e(0x3b2)](_0xf8ed79),this[_0x52ad1e(0x434)][_0x52ad1e(0x31f)](_0x459799);}[_0x438245(0x3e9)](_0x519222,_0x49ab02){const _0x20dc96=_0x438245;var _0xd559,_0x8687a5;const _0x161c18=(_0x8687a5=(_0xd559=this[_0x20dc96(0x3d8)][_0x20dc96(0x32b)](this['unitID']))==null?void 0x0:_0xd559['getSheetBySheetId'](_0x519222))==null?void 0x0:_0x8687a5[_0x20dc96(0x296)]();return(_0x161c18==null?void 0x0:_0x161c18['find'](_0x568684=>_0x4d7567[_0x20dc96(0x32c)][_0x20dc96(0x1f2)](_0x568684,_0x49ab02)))||_0x49ab02;}[_0x438245(0x407)](){const _0x54735f=_0x438245,_0x5632fc=new _0x4d7567[(_0x54735f(0x41e))](),_0x28801e=_0xb7860f(),_0x45c725=()=>{const _0x1cacd9=_0x54735f;_0x5632fc[_0x1cacd9(0x3f7)]();const _0x2e04a2=(_0x2aa0c6,_0x1ca202,_0x3689ad,_0x34c84f)=>{const _0x4cedea=_0x1cacd9;let _0x41eec8=[];switch(_0x2aa0c6['id']){case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x1f4)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x32f)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3ae)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x252)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3c2)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x345)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3d7)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x2fb)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3a5)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x41d)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x1b6)]:{_0x41eec8=_0x5976f8['handleInsertRow'](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3ac)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x401)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8['EffectRefRangId'][_0x4cedea(0x3b9)]:{_0x41eec8=_0x5976f8['handleIRemoveCol'](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8['EffectRefRangId'][_0x4cedea(0x279)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x1fa)](_0x2aa0c6,_0x34c84f);break;}}const _0x803831=_0x5976f8[_0x4cedea(0x273)](_0x41eec8,_0x34c84f),_0x33be0d=this['cursorInfo'][_0x4cedea(0x3f6)](_0x1ca202);if(_0x33be0d&&_0x803831){const _0x1e9e22={..._0x33be0d,'range':_0x803831};this[_0x4cedea(0x417)]['set'](_0x1ca202,_0x1e9e22),_0x28801e(()=>{const _0x5e641f=_0x4cedea,_0x31fe37=this[_0x5e641f(0x37f)][_0x5e641f(0x42c)](_0x803831,_0x4f47fc=>(_0x31fe37[_0x5e641f(0x3f7)](),_0x2e04a2(_0x4f47fc,_0x1ca202,_0x3689ad,_0x803831)));_0x5632fc[_0x5e641f(0x371)](_0x31fe37);});}return{'redos':[],'undos':[]};};this[_0x1cacd9(0x417)][_0x1cacd9(0x237)]((_0xc353bb,_0x147b3c)=>{const _0x129339=_0x1cacd9,{range:_0x4f4e2a,sheetID:_0x14e795}=_0xc353bb,_0x2f066c=this[_0x129339(0x37f)][_0x129339(0x42c)](_0x4f4e2a,_0x3ab661=>(_0x2f066c[_0x129339(0x3f7)](),_0x2e04a2(_0x3ab661,_0x147b3c,_0x14e795,_0x4f4e2a)));_0x5632fc[_0x129339(0x371)](_0x2f066c);});};this['disposeWithMe'](_0x4d7567[_0x54735f(0x36b)](this[_0x54735f(0x434)]['subscribe'](()=>{_0x45c725();})));}[_0x438245(0x33f)](){const _0x44119d=_0x438245;var _0x1f8c99,_0x1ee69a;if(this['_online']=!0x0,((_0x1f8c99=this[_0x44119d(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x1f8c99[_0x44119d(0x260)]())!==this['unitID'])return;const _0xcb2bfa=(_0x1ee69a=this[_0x44119d(0x3fa)][_0x44119d(0x3f6)](_0x5976f8[_0x44119d(0x22c)])['getCurrentSelections']())==null?void 0x0:_0x1ee69a[0x0],_0x30c8a3=this[_0x44119d(0x3d8)][_0x44119d(0x404)](_0x4d7567[_0x44119d(0x364)][_0x44119d(0x3ef)])[_0x44119d(0x2c0)]();_0xcb2bfa&&_0x30c8a3&&this['_updateLocalCursor'](_0x30c8a3[_0x44119d(0x1ce)](),_0xcb2bfa);}['_toggleOffline'](){const _0x4200ff=_0x438245;this[_0x4200ff(0x3f0)]=!0x1;}};_0x374282=_0x4bfa40([_0x379fe3(0x2,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x379fe3(0x3,_0x4d7567[_0x438245(0x317)](_0x5b3fee)),_0x379fe3(0x4,_0x4d7567[_0x438245(0x317)](_0x3fb0c7['MemberService'])),_0x379fe3(0x5,_0x4d7567[_0x438245(0x3fd)]),_0x379fe3(0x6,_0x4d7567['ICommandService']),_0x379fe3(0x7,_0x4d7567[_0x438245(0x317)](_0x5976f8[_0x438245(0x253)]))],_0x374282);var _0x3afd0b=Object[_0x438245(0x23f)],_0x5280fb=(_0x5727fc,_0x4f417a,_0x5ee15f,_0x57c842)=>{for(var _0x3d2dbf=_0x57c842>0x1?void 0x0:_0x57c842?_0x3afd0b(_0x4f417a,_0x5ee15f):_0x4f417a,_0x2e4c80=_0x5727fc['length']-0x1,_0x52d521;_0x2e4c80>=0x0;_0x2e4c80--)(_0x52d521=_0x5727fc[_0x2e4c80])&&(_0x3d2dbf=_0x52d521(_0x3d2dbf)||_0x3d2dbf);return _0x3d2dbf;},_0x1887de=(_0x5a9497,_0x5ddb3d)=>(_0x472d74,_0x418ae8)=>_0x5ddb3d(_0x472d74,_0x418ae8,_0x5a9497);let _0x18bdc8=class extends _0x4d7567['RxDisposable']{constructor(_0x187b4d,_0x330f45,_0x1b2d42){const _0x1929f6=_0x438245;super(),_0x30d208(this,'_entities',new Map()),_0x30d208(this,_0x1929f6(0x1c9),new _0x302f1e['Subject']()),(this['_univerInstanceService']=_0x187b4d,this[_0x1929f6(0x3fa)]=_0x330f45,this['_collabSessionService']=_0x1b2d42,this[_0x1929f6(0x38b)]());}[_0x438245(0x3f7)](){const _0x4233ec=_0x438245;super[_0x4233ec(0x3f7)](),this['_entityInit$'][_0x4233ec(0x348)](),this[_0x4233ec(0x1c3)]['forEach'](_0x360245=>_0x360245[_0x4233ec(0x3f7)]());}['getCollabCursors$'](_0x46e4d8){const _0x740133=_0x438245;return this[_0x740133(0x1c3)][_0x740133(0x25a)](_0x46e4d8)?this[_0x740133(0x1c3)][_0x740133(0x3f6)](_0x46e4d8)[_0x740133(0x3c8)]:this[_0x740133(0x1c9)][_0x740133(0x3eb)](_0x302f1e[_0x740133(0x43b)](_0x391c53=>_0x391c53[_0x740133(0x307)]===_0x46e4d8),_0x302f1e[_0x740133(0x270)](_0x25acb3=>_0x25acb3[_0x740133(0x3c8)]));}[_0x438245(0x38b)](){const _0x14526b=_0x438245;this[_0x14526b(0x3d8)][_0x14526b(0x1fc)](_0x4d7567[_0x14526b(0x364)][_0x14526b(0x3ef)])['pipe'](_0x302f1e[_0x14526b(0x416)](this['dispose$']))[_0x14526b(0x277)](async _0x2b9a89=>{const _0x325044=_0x14526b,_0x5e5305=_0x2b9a89['getUnitId'](),_0x48397e=await this[_0x325044(0x2cd)](_0x5e5305);this[_0x325044(0x1c9)][_0x325044(0x31f)](_0x48397e),this[_0x325044(0x1c3)][_0x325044(0x42b)](_0x5e5305,_0x48397e);}),this['_univerInstanceService'][_0x14526b(0x1fc)](_0x4d7567[_0x14526b(0x364)][_0x14526b(0x312)])[_0x14526b(0x3eb)](_0x302f1e[_0x14526b(0x416)](this[_0x14526b(0x287)]))[_0x14526b(0x3eb)](_0x302f1e['filter'](_0xa0a1b4=>!_0xa0a1b4['getUnitId']()[_0x14526b(0x3f5)]('__')))[_0x14526b(0x277)](async _0x520b70=>{const _0x59c282=_0x14526b,_0x5105ac=_0x520b70['getUnitId'](),_0x1c091c=await this[_0x59c282(0x378)](_0x5105ac);this['_entityInit$']['next'](_0x1c091c),this[_0x59c282(0x1c3)][_0x59c282(0x42b)](_0x5105ac,_0x1c091c);}),_0x302f1e[_0x14526b(0x399)](this[_0x14526b(0x3d8)][_0x14526b(0x377)](_0x4d7567[_0x14526b(0x364)]['UNIVER_DOC']),this[_0x14526b(0x3d8)][_0x14526b(0x377)](_0x4d7567[_0x14526b(0x364)][_0x14526b(0x3ef)]))['pipe'](_0x302f1e[_0x14526b(0x416)](this[_0x14526b(0x287)]))[_0x14526b(0x277)](_0x430213=>{const _0xf5719c=_0x14526b,_0xc276a6=_0x430213[_0xf5719c(0x260)](),_0x171b83=this['_entities'][_0xf5719c(0x3f6)](_0xc276a6);_0x171b83&&(_0x171b83[_0xf5719c(0x3f7)](),this[_0xf5719c(0x1c3)][_0xf5719c(0x3b2)](_0xc276a6));});}async['_startSheetCollabCursor'](_0x3095fd){const _0x1760ce=_0x438245,_0x2a8f60=await this['_collabSessionService'][_0x1760ce(0x2bb)](_0x3095fd),_0xb8f44=this[_0x1760ce(0x3fa)][_0x1760ce(0x1d8)](_0x374282,_0x3095fd,_0x2a8f60);return _0xb8f44[_0x1760ce(0x388)](),_0xb8f44;}async[_0x438245(0x378)](_0x1d0240){const _0xec859b=_0x438245,_0x5e5ffb=await this['_collabSessionService'][_0xec859b(0x2bb)](_0x1d0240),_0x3f1490=this['_injector']['createInstance'](_0x2235ef,_0x1d0240,_0x5e5ffb);return _0x3f1490[_0xec859b(0x388)](),_0x3f1490;}};_0x18bdc8=_0x5280fb([_0x1887de(0x0,_0x4d7567[_0x438245(0x3fd)]),_0x1887de(0x1,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x1887de(0x2,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x38e)]))],_0x18bdc8);const _0x2c256f=0x14,_0x1d6e02=0xc8,_0x7b2b1d=0x4,_0x2289cd=0x5;function _0x1b176e(_0x560d29,_0x4fcc21){const _0x4738e7=_0x438245;let {radius:_0x5e3bd9,width:_0x2f952a,height:_0x1a82d2}=_0x4fcc21;_0x5e3bd9=_0x5e3bd9!=null?_0x5e3bd9:0x0,_0x2f952a=_0x2f952a!=null?_0x2f952a:0x1e,_0x1a82d2=_0x1a82d2!=null?_0x1a82d2:0x1e;let _0x2390c1=0x0,_0x453a4a=0x0,_0x8d2b8e=0x0;_0x2390c1=_0x453a4a=_0x8d2b8e=Math[_0x4738e7(0x24d)](_0x5e3bd9,_0x2f952a/0x2,_0x1a82d2/0x2),_0x560d29['beginPath'](),_0x560d29[_0x4738e7(0x1bd)](_0x2390c1,0x0),_0x560d29[_0x4738e7(0x374)](_0x2f952a-_0x453a4a,0x0),_0x560d29[_0x4738e7(0x1bc)](_0x2f952a-_0x453a4a,_0x453a4a,_0x453a4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x560d29['lineTo'](_0x2f952a,_0x1a82d2-_0x8d2b8e),_0x560d29['arc'](_0x2f952a-_0x8d2b8e,_0x1a82d2-_0x8d2b8e,_0x8d2b8e,0x0,Math['PI']/0x2,!0x1),_0x560d29[_0x4738e7(0x374)](0x0,_0x1a82d2),_0x560d29[_0x4738e7(0x374)](0x0,_0x2390c1),_0x560d29[_0x4738e7(0x1bc)](_0x2390c1,_0x2390c1,_0x2390c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x560d29['closePath'](),_0x4fcc21[_0x4738e7(0x41f)]&&(_0x560d29[_0x4738e7(0x392)](),_0x560d29[_0x4738e7(0x410)]=_0x4fcc21[_0x4738e7(0x41f)],_0x4fcc21[_0x4738e7(0x35d)]===_0x4738e7(0x440)?_0x560d29[_0x4738e7(0x41f)](_0x4738e7(0x440)):_0x560d29[_0x4738e7(0x41f)](),_0x560d29[_0x4738e7(0x3f1)]());}class _0x48e507 extends _0x4a12db[_0x438245(0x31a)]{constructor(_0x6d2188,_0x2a3540){const _0x4ceb47=_0x438245;super(_0x6d2188,_0x2a3540),_0x30d208(this,_0x4ceb47(0x222)),_0x30d208(this,_0x4ceb47(0x3aa)),(this['color']=_0x2a3540==null?void 0x0:_0x2a3540[_0x4ceb47(0x222)],this['text']=_0x2a3540==null?void 0x0:_0x2a3540[_0x4ceb47(0x3aa)]);}static[_0x438245(0x1b3)](_0x2514fb,_0x3093b0){const _0x3e4675=_0x438245,{text:_0x3738b4,color:_0x275221}=_0x3093b0;_0x2514fb[_0x3e4675(0x392)](),_0x2514fb['font']=_0x3e4675(0x2a8);const _0x1bfb06=_0x2514fb[_0x3e4675(0x35a)](_0x3738b4)['width'],_0x5c344d=Math[_0x3e4675(0x24d)](_0x1bfb06+0x2*_0x7b2b1d,_0x1d6e02);_0x1b176e(_0x2514fb,{'height':_0x2c256f,'radius':0x4,'width':_0x5c344d,'fill':_0x275221}),_0x2514fb[_0x3e4675(0x410)]=_0x3e4675(0x3f2);const _0x5d4246=_0x7b2b1d,_0x405b02=_0x2c256f-_0x2289cd,_0x484f7b=_0x1d6e02-0x2*_0x7b2b1d;if(_0x1bfb06>_0x484f7b){let _0x20f51a='',_0x11f190=0x0;for(const _0x2a26eb of _0x3738b4){const _0xc4c6b9=_0x2514fb[_0x3e4675(0x35a)](_0x2a26eb)[_0x3e4675(0x1ff)];if(_0x11f190+_0xc4c6b9<=_0x484f7b-_0x2514fb['measureText']('...')[_0x3e4675(0x1ff)])_0x20f51a+=_0x2a26eb,_0x11f190+=_0xc4c6b9;else{_0x20f51a+='...';break;}}_0x2514fb[_0x3e4675(0x423)](_0x20f51a,_0x5d4246,_0x405b02);}else _0x2514fb['fillText'](_0x3738b4,_0x5d4246,_0x405b02);_0x2514fb[_0x3e4675(0x3f1)]();}['_draw'](_0x3224d8){_0x48e507['drawWith'](_0x3224d8,this);}}const _0x3a65b4='collab-text-anchor-',_0x10dd1d=_0x438245(0x431),_0x541381=_0x438245(0x223),_0x207498=0x6,_0x3d9842=1.5,_0x4e792a=0x4,_0x2cb0f6=1.5,_0x4769f9=_0x438245(0x3c7);class _0x5af952{constructor(_0x158a1a,_0x2d88a0,_0x44ced5,_0x19b217){const _0x3d6da9=_0x438245;_0x30d208(this,_0x3d6da9(0x1c7),[]),_0x30d208(this,'_anchor',null),_0x30d208(this,_0x3d6da9(0x2a2),null),_0x30d208(this,_0x3d6da9(0x38c),null),_0x30d208(this,'_hideTimer',null),_0x30d208(this,'_eventUnsubscribe',null),(this[_0x3d6da9(0x23e)]=_0x158a1a,this[_0x3d6da9(0x1e5)]=_0x2d88a0,this[_0x3d6da9(0x1d6)]=_0x44ced5,this['_document']=_0x19b217,this[_0x3d6da9(0x3fb)]());}set[_0x438245(0x2b1)](_0x28aa61){const _0x5b9fa4=_0x438245;_0x28aa61?(this[_0x5b9fa4(0x38c)]&&this[_0x5b9fa4(0x38c)][_0x5b9fa4(0x39b)](),this[_0x5b9fa4(0x2a2)]&&this[_0x5b9fa4(0x2a2)]['show']()):(this[_0x5b9fa4(0x38c)]&&this[_0x5b9fa4(0x38c)][_0x5b9fa4(0x428)](),this[_0x5b9fa4(0x2a2)]&&this[_0x5b9fa4(0x2a2)][_0x5b9fa4(0x39b)]());}[_0x438245(0x3f7)](){const _0x7ba3b1=_0x438245;for(const _0x1e6a76 of this[_0x7ba3b1(0x1c7)])_0x1e6a76[_0x7ba3b1(0x3f7)]();this[_0x7ba3b1(0x2a2)]&&this[_0x7ba3b1(0x2a2)][_0x7ba3b1(0x3f7)](),this[_0x7ba3b1(0x38c)]&&this[_0x7ba3b1(0x38c)][_0x7ba3b1(0x3f7)](),this[_0x7ba3b1(0x3cd)]&&this['_anchor'][_0x7ba3b1(0x3f7)](),this[_0x7ba3b1(0x25f)]&&this[_0x7ba3b1(0x25f)]();}[_0x438245(0x3fb)](){const _0x2d0144=_0x438245;var _0x3151df;const {_docSkeleton:_0x3be64f,_document:_0x109409}=this,{color:_0x70fe7c,name:_0x56c531,ranges:_0x3732e1}=this[_0x2d0144(0x23e)],_0x13b004=_0x109409['getOffsetConfig'](),{docsLeft:_0x1260c4,docsTop:_0x53c780}=_0x13b004,_0x2f3484=new _0x47cccb[(_0x2d0144(0x3c9))](_0x13b004,_0x3be64f);for(const {startOffset:_0x40a66d,endOffset:_0xf29a1f,rangeType:_0x112f08,segmentId:_0x337993,segmentPage:_0x5f7bc9,collapsed:_0x52ca8f,isActive:_0x20cb32}of _0x3732e1){const _0x2588b9=_0x3be64f[_0x2d0144(0x344)](_0x40a66d,!0x0,_0x337993,_0x5f7bc9);let _0x40926b=_0x3be64f[_0x2d0144(0x344)](_0xf29a1f,!0x0,_0x337993,_0x5f7bc9);if(_0x40926b==null&&(_0x40926b=_0x3be64f[_0x2d0144(0x344)](_0xf29a1f-0x1,!0x1,_0x337993,_0x5f7bc9)),_0x20cb32){const {contentBoxPointGroup:_0x35a7bc}=_0x2f3484[_0x2d0144(0x368)](_0x40926b,_0x40926b);if(_0x35a7bc[_0x2d0144(0x1f8)]===0x0)continue;this[_0x2d0144(0x34a)](_0x70fe7c,_0x35a7bc,_0x1260c4,_0x53c780,_0x56c531),this['_eventUnsubscribe']=this[_0x2d0144(0x32d)]();}if(_0x2588b9&&_0x40926b){if(_0x112f08===_0x4d7567[_0x2d0144(0x1da)][_0x2d0144(0x411)]){const _0x312f66=new _0x47cccb[(_0x2d0144(0x2c3))](_0x13b004,_0x3be64f),{pointGroup:_0x25483}=(_0x3151df=_0x312f66[_0x2d0144(0x368)](_0x2588b9,_0x40926b))!=null?_0x3151df:{};if(_0x25483==null||_0x25483['length']===0x0)continue;this['_drawRectRange'](_0x70fe7c,_0x25483,_0x1260c4,_0x53c780);}else{if(!_0x52ca8f){const {borderBoxPointGroup:_0x28b2a1}=_0x2f3484[_0x2d0144(0x368)](_0x2588b9,_0x40926b);if(_0x28b2a1[_0x2d0144(0x1f8)]===0x0)continue;this[_0x2d0144(0x294)](_0x70fe7c,_0x28b2a1,_0x1260c4,_0x53c780);}}}}}['_drawAnchor'](_0x27e1bf,_0x325243,_0xb79811,_0xdf045c,_0x1d3adf){const _0x2af8d3=_0x438245,_0x283de4=this[_0x2af8d3(0x1db)](_0x325243),{left:_0x113b09,top:_0x3a9cd8,height:_0x2d48e4}=_0x283de4,_0x366f77=this[_0x2af8d3(0x248)](),_0x28fc42=_0x2cb0f6/_0x366f77,_0x4bd149=new _0x4a12db[(_0x2af8d3(0x32a))](_0x3a65b4+_0x4d7567[_0x2af8d3(0x3ba)]['generateRandomId'](_0x207498),{'left':_0x113b09+_0xb79811-_0x28fc42,'top':_0x3a9cd8+_0xdf045c,'height':_0x2d48e4,'width':_0x3d9842,'fill':_0x27e1bf||_0x4a12db[_0x2af8d3(0x24e)](_0x4d7567['COLORS'][_0x2af8d3(0x261)],0x0),'strokeWidth':_0x28fc42,'stroke':_0x4769f9,'evented':!0x0});this[_0x2af8d3(0x3cd)]=_0x4bd149,this[_0x2af8d3(0x1e5)][_0x2af8d3(0x2b7)](_0x4bd149,_0x47cccb[_0x2af8d3(0x3ec)]);const _0x28bcdd=new _0x4a12db['Rect'](_0x3a65b4+_0x4d7567[_0x2af8d3(0x3ba)][_0x2af8d3(0x430)](_0x207498),{'left':_0x113b09+_0xb79811-_0x28fc42,'top':_0x3a9cd8+_0xdf045c-_0x4e792a/0x2,'height':_0x4e792a,'width':_0x4e792a,'fill':_0x27e1bf||_0x4a12db[_0x2af8d3(0x24e)](_0x4d7567[_0x2af8d3(0x386)][_0x2af8d3(0x261)],0x0),'strokeWidth':0x0,'stroke':_0x27e1bf||_0x4a12db['getColor'](_0x4d7567[_0x2af8d3(0x386)]['black'],0x0),'evented':!0x1});this[_0x2af8d3(0x38c)]=_0x28bcdd,this[_0x2af8d3(0x1e5)]['addObject'](_0x28bcdd,_0x47cccb['TEXT_RANGE_LAYER_INDEX']);const _0x2f8a9c=new _0x48e507(_0x3a65b4+_0x4d7567['Tools']['generateRandomId'](_0x207498),{'left':_0x113b09+_0xb79811-_0x28fc42,'top':_0x3a9cd8+_0xdf045c-_0x2c256f,'text':_0x1d3adf,'color':_0x27e1bf});this[_0x2af8d3(0x2a2)]=_0x2f8a9c,this[_0x2af8d3(0x1e5)][_0x2af8d3(0x2b7)](_0x2f8a9c,_0x47cccb[_0x2af8d3(0x3ec)]),this['_hover']=!0x1;}[_0x438245(0x32d)](){const _0x28f3c9=_0x438245,_0x3b3eda=this[_0x28f3c9(0x3cd)][_0x28f3c9(0x350)][_0x28f3c9(0x236)](()=>{const _0x5a344b=_0x28f3c9;this[_0x5a344b(0x2b1)]=!0x0;}),_0x107ae0=this[_0x28f3c9(0x3cd)]['onPointerLeave$'][_0x28f3c9(0x236)](()=>{const _0x3b0a14=_0x28f3c9;this[_0x3b0a14(0x322)]&&clearTimeout(this[_0x3b0a14(0x322)]),this[_0x3b0a14(0x322)]=setTimeout(()=>{const _0x5044d8=_0x3b0a14;this[_0x5044d8(0x2b1)]=!0x1;},0x7d0);});return()=>{const _0x10d723=_0x28f3c9;_0x3b3eda[_0x10d723(0x3f9)](),_0x107ae0[_0x10d723(0x3f9)]();};}[_0x438245(0x294)](_0xdb3c0c,_0x978db7,_0x448a2a,_0x3e8e36){const _0x4dea00=_0x438245,_0x35a7c4=new _0x4d7567[(_0x4dea00(0x2ab))](_0xdb3c0c)[_0x4dea00(0x35f)](0.2)['toRgbString'](),_0x18b766=new _0x4a12db[(_0x4dea00(0x265))](_0x10dd1d+_0x4d7567[_0x4dea00(0x3ba)]['generateRandomId'](_0x207498),{'pointsGroup':_0x978db7,'fill':_0x35a7c4||_0x4a12db[_0x4dea00(0x24e)](_0x4d7567['COLORS'][_0x4dea00(0x261)],0.2),'left':_0x448a2a,'top':_0x3e8e36,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dea00(0x1c7)][_0x4dea00(0x2d3)](_0x18b766),this['_scene'][_0x4dea00(0x2b7)](_0x18b766,_0x47cccb[_0x4dea00(0x3ec)]);}[_0x438245(0x330)](_0x2633e9,_0xaecd87,_0x3533d3,_0x262ad9){const _0x5400ca=_0x438245,_0x9ccf8e=new _0x4d7567[(_0x5400ca(0x2ab))](_0x2633e9)['setAlpha'](0.2)['toRgbString'](),_0xdc84c3=new _0x4a12db[(_0x5400ca(0x265))](_0x541381+_0x4d7567[_0x5400ca(0x3ba)]['generateRandomId'](_0x207498),{'pointsGroup':_0xaecd87,'fill':_0x9ccf8e||_0x4a12db[_0x5400ca(0x24e)](_0x4d7567[_0x5400ca(0x386)][_0x5400ca(0x261)],0.2),'left':_0x3533d3,'top':_0x262ad9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5400ca(0x1c7)]['push'](_0xdc84c3),this[_0x5400ca(0x1e5)][_0x5400ca(0x2b7)](_0xdc84c3,_0x47cccb['TEXT_RANGE_LAYER_INDEX']);}[_0x438245(0x1db)](_0x320496){const _0x44dc64=_0x320496[0x0],_0x269c1b=_0x44dc64[0x0],_0x1efc3f=_0x44dc64[0x2],{x:_0x4b6c61,y:_0x301a2b}=_0x269c1b,{x:_0xa649b7,y:_0x13e7cf}=_0x1efc3f;return{'left':_0x4b6c61,'top':_0x301a2b,'width':_0xa649b7-_0x4b6c61,'height':_0x13e7cf-_0x301a2b};}[_0x438245(0x248)](){const _0x1cfb08=_0x438245,{scaleX:_0x4a15a1,scaleY:_0x4d9bbd}=this[_0x1cfb08(0x1e5)]['getAncestorScale']();return Math[_0x1cfb08(0x1bf)](_0x4a15a1,_0x4d9bbd);}}var _0x18167d=Object['getOwnPropertyDescriptor'],_0x5cb4a0=(_0x41c24c,_0x17ce13,_0x53a17d,_0x1b2096)=>{const _0x6b67d4=_0x438245;for(var _0x336606=_0x1b2096>0x1?void 0x0:_0x1b2096?_0x18167d(_0x17ce13,_0x53a17d):_0x17ce13,_0x20f844=_0x41c24c[_0x6b67d4(0x1f8)]-0x1,_0x1ce1c5;_0x20f844>=0x0;_0x20f844--)(_0x1ce1c5=_0x41c24c[_0x20f844])&&(_0x336606=_0x1ce1c5(_0x336606)||_0x336606);return _0x336606;},_0x2bef12=(_0x3ab780,_0x435725)=>(_0xac979c,_0x2d554a)=>_0x435725(_0xac979c,_0x2d554a,_0x3ab780);let _0x3079c3=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0xc1d3bd,_0x415fab,_0x106a9b,_0x301ea4,_0x52a90d){const _0x294ef4=_0x438245;super(),_0x30d208(this,_0x294ef4(0x309),[]),_0x30d208(this,'_cursors',[]),(this['_context']=_0xc1d3bd,this[_0x294ef4(0x300)]=_0x415fab,this['_collabCursorController']=_0x106a9b,this[_0x294ef4(0x39e)]=_0x301ea4,this[_0x294ef4(0x3df)]=_0x52a90d,this[_0x294ef4(0x38b)]());}['_init'](){const _0x2a1475=_0x438245,_0x807b43=this[_0x2a1475(0x2ae)][_0x2a1475(0x1f0)],_0xfdf084=this[_0x2a1475(0x300)];this[_0x2a1475(0x2d6)](_0x302f1e[_0x2a1475(0x3c0)]([this['_collabCursorController'][_0x2a1475(0x2f5)](_0x807b43),this[_0x2a1475(0x3df)][_0x2a1475(0x384)]])[_0x2a1475(0x3eb)](_0x5be01f[_0x2a1475(0x3b4)](([_0x456cc9,_0x1673a5])=>({'skeleton':_0xfdf084[_0x2a1475(0x33d)](),'cursors':[..._0x456cc9[_0x2a1475(0x1cc)]()][_0x2a1475(0x3ad)](_0x4ace0e=>({..._0x4ace0e,'color':_0x1673a5[_0x4ace0e['color']]}))})))[_0x2a1475(0x277)](_0x2c8e7b=>{if(this['_removeCollabCursors'](),_0x2c8e7b){const {skeleton:_0x1b734d,cursors:_0xdfd883}=_0x2c8e7b;this['_updateCollabCursors'](_0x1b734d,_0xdfd883);}})),this[_0x2a1475(0x2a7)](),this[_0x2a1475(0x3cc)]();}['_updateCollabCursors'](_0x1ec600,_0xb9d671){const _0x507378=_0x438245,{scene:_0x4cba49,mainComponent:_0x5d912e}=this[_0x507378(0x2ae)],_0x1cc62c=_0xb9d671[_0x507378(0x3b4)](_0x42f3bd=>new _0x5af952(_0x42f3bd,_0x4cba49,_0x1ec600,_0x5d912e));this[_0x507378(0x309)]=_0x1cc62c,this[_0x507378(0x25d)]=_0xb9d671;}['_refreshCollabCursors'](){const _0x5886a2=_0x438245;this['_removeCollabCursors']();const {scene:_0x2708a0,mainComponent:_0x1e1393}=this[_0x5886a2(0x2ae)],_0x5d6048=this[_0x5886a2(0x300)][_0x5886a2(0x33d)](),_0x13c2cc=this[_0x5886a2(0x25d)][_0x5886a2(0x3b4)](_0x312195=>new _0x5af952(_0x312195,_0x2708a0,_0x5d6048,_0x1e1393));this[_0x5886a2(0x309)]=_0x13c2cc;}[_0x438245(0x272)](){const _0x59c0c0=_0x438245;this[_0x59c0c0(0x309)][_0x59c0c0(0x237)](_0x1fdbd6=>_0x1fdbd6[_0x59c0c0(0x3f7)]()),this[_0x59c0c0(0x309)]=[];}['_initCommandExecutedListener'](){const _0x1f4ed3=_0x438245,_0x5d0785=[_0x47cccb[_0x1f4ed3(0x38d)]['id']];this['disposeWithMe'](this[_0x1f4ed3(0x39e)][_0x1f4ed3(0x2b3)](_0xc70ec9=>{const _0x4dcf4a=_0x1f4ed3;_0x5d0785[_0x4dcf4a(0x347)](_0xc70ec9['id'])&&_0xc70ec9['params'][_0x4dcf4a(0x1f0)]===this['_context'][_0x4dcf4a(0x1f0)]&&this[_0x4dcf4a(0x441)]();}));}[_0x438245(0x2a7)](){const _0x26d506=_0x438245;this[_0x26d506(0x2d6)](_0x4d7567['fromEventSubject'](this['_context'][_0x26d506(0x3e4)][_0x26d506(0x28f)])['pipe'](_0x5be01f['filter'](_0x2f1800=>_0x2f1800[_0x26d506(0x3e1)]===_0x4a12db[_0x26d506(0x31b)][_0x26d506(0x35b)]),_0x5be01f['throttleTime'](0x10))[_0x26d506(0x277)](()=>{const _0x2d6e54=_0x26d506;this[_0x2d6e54(0x441)]();}));}};_0x3079c3=_0x5cb4a0([_0x2bef12(0x1,_0x4d7567[_0x438245(0x317)](_0x534e54[_0x438245(0x376)])),_0x2bef12(0x2,_0x4d7567['Inject'](_0x18bdc8)),_0x2bef12(0x3,_0x4d7567[_0x438245(0x2bf)]),_0x2bef12(0x4,_0x4d7567['Inject'](_0x4d7567[_0x438245(0x2ec)]))],_0x3079c3);const _0x2f641d=0x1,_0x4659bc=1.5;class _0x5b3bbe extends _0x4a12db[_0x438245(0x31a)]{constructor(_0x2bb6fa,_0x109a3a){const _0x2a7927=_0x438245;super(_0x2bb6fa,_0x109a3a),_0x30d208(this,_0x2a7927(0x370)),_0x30d208(this,_0x2a7927(0x2b2),!0x1),_0x30d208(this,_0x2a7927(0x40f)),_0x30d208(this,'_name',''),_0x30d208(this,_0x2a7927(0x3ea),_0x2a7927(0x1b9)),_0x30d208(this,'_backgroundColor'),(_0x109a3a&&this[_0x2a7927(0x227)](_0x109a3a),this['onPointerEnter$'][_0x2a7927(0x236)](()=>this[_0x2a7927(0x227)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2a7927(0x236)](()=>this[_0x2a7927(0x227)]({'hovered':!0x1})));}[_0x438245(0x227)](_0x37b11f){const _0x2a0e82=_0x438245;var _0x1589f8,_0x2eabde,_0x201e97,_0x3f0049,_0x385d11,_0x41ce1f;this[_0x2a0e82(0x370)]=(_0x1589f8=_0x37b11f[_0x2a0e82(0x222)])!=null?_0x1589f8:this[_0x2a0e82(0x370)],this[_0x2a0e82(0x2b2)]=(_0x2eabde=_0x37b11f['hovered'])!=null?_0x2eabde:this[_0x2a0e82(0x2b2)],this[_0x2a0e82(0x40f)]=(_0x201e97=_0x37b11f[_0x2a0e82(0x1b7)])!=null?_0x201e97:this[_0x2a0e82(0x40f)],this[_0x2a0e82(0x343)]=(_0x3f0049=_0x37b11f[_0x2a0e82(0x420)])!=null?_0x3f0049:this[_0x2a0e82(0x343)],this[_0x2a0e82(0x3ea)]=(_0x385d11=_0x37b11f['labelPosition'])!=null?_0x385d11:this['_labelPosition'],this[_0x2a0e82(0x2f7)]=(_0x41ce1f=_0x37b11f['backgroundColor'])!=null?_0x41ce1f:this[_0x2a0e82(0x2f7)],this[_0x2a0e82(0x29f)]({'width':_0x37b11f[_0x2a0e82(0x1ff)],'height':_0x37b11f[_0x2a0e82(0x249)]});}['onMouseMove'](_0x83a9b6){const _0x68ce6=_0x438245,{row:_0x290bb0,column:_0x52936e}=_0x83a9b6;if(_0x290bb0>=this[_0x68ce6(0x40f)][_0x68ce6(0x282)]&&_0x290bb0<=this[_0x68ce6(0x40f)][_0x68ce6(0x3a4)]&&_0x52936e>=this['_range'][_0x68ce6(0x27e)]&&_0x52936e<=this[_0x68ce6(0x40f)][_0x68ce6(0x351)]){this[_0x68ce6(0x227)]({'hovered':!0x0});return;}this[_0x68ce6(0x227)]({'hovered':!0x1});}[_0x438245(0x20a)](_0x39a104){return!0x1;}[_0x438245(0x1c8)](_0x52ea3d){const _0x142afb=_0x438245;_0x4a12db[_0x142afb(0x32a)][_0x142afb(0x1b3)](_0x52ea3d,{'width':this[_0x142afb(0x1ff)],'height':this[_0x142afb(0x249)],'strokeWidth':_0x4659bc,'stroke':this[_0x142afb(0x370)],'evented':!0x1,'fill':this[_0x142afb(0x2f7)]}),this['_hovered']&&(_0x52ea3d[_0x142afb(0x392)](),_0x52ea3d[_0x142afb(0x438)](0x1,0x0,0x0,0x1,this['width'],this[_0x142afb(0x3ea)]==='bottom'?0x0:-0x14),_0x48e507[_0x142afb(0x1b3)](_0x52ea3d,{'text':this[_0x142afb(0x343)],'color':this[_0x142afb(0x370)]}),_0x52ea3d[_0x142afb(0x3f1)]());}}var _0x447bb1=Object['getOwnPropertyDescriptor'],_0x7eeeab=(_0x2ce9db,_0xc8471c,_0x3ef0e8,_0x286ad2)=>{const _0x438b1f=_0x438245;for(var _0x5458b3=_0x286ad2>0x1?void 0x0:_0x286ad2?_0x447bb1(_0xc8471c,_0x3ef0e8):_0xc8471c,_0x28530e=_0x2ce9db[_0x438b1f(0x1f8)]-0x1,_0x20db77;_0x28530e>=0x0;_0x28530e--)(_0x20db77=_0x2ce9db[_0x28530e])&&(_0x5458b3=_0x20db77(_0x5458b3)||_0x5458b3);return _0x5458b3;},_0x59f13c=(_0xe502ec,_0x241c0f)=>(_0x3819d0,_0x4e3a90)=>_0x241c0f(_0x3819d0,_0x4e3a90,_0xe502ec);const _0x5f9326=0x1389;let _0x188902=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x383aac,_0x437646,_0x280dc4,_0x30fef1){const _0x13076c=_0x438245;super(),_0x30d208(this,_0x13076c(0x25d),new Set()),_0x30d208(this,'_lastPointer',null),(this[_0x13076c(0x2ae)]=_0x383aac,this[_0x13076c(0x36e)]=_0x437646,this[_0x13076c(0x2b6)]=_0x280dc4,this[_0x13076c(0x3df)]=_0x30fef1,this[_0x13076c(0x38b)]());}[_0x438245(0x38b)](){const _0x759177=_0x438245;this[_0x759177(0x36e)][_0x759177(0x1dd)][_0x759177(0x3eb)](_0x5be01f['takeUntil'](this[_0x759177(0x287)]),_0x5be01f['switchMap'](_0x429057=>{const _0x4312a6=_0x759177;if(_0x429057){const _0x51edda=_0x429057[_0x4312a6(0x29c)];return _0x302f1e[_0x4312a6(0x3c0)](this[_0x4312a6(0x2b6)][_0x4312a6(0x2f5)](this[_0x4312a6(0x2ae)]['unitId']),this['_themeService']['currentTheme$'])[_0x4312a6(0x3eb)](_0x5be01f[_0x4312a6(0x3b4)](([_0x3b8309,_0x4d4837])=>{const _0x4c5a05=_0x4312a6,_0xd19fa7=new Map();return _0x3b8309[_0x4c5a05(0x237)]((_0x4d1aa5,_0x526ccf)=>{const _0x8ae720=_0x4c5a05;if(_0x4d1aa5[_0x8ae720(0x444)]===_0x51edda){const _0xb09ded={..._0x4d1aa5};_0xb09ded[_0x8ae720(0x222)]=_0x4d4837[_0x4d1aa5['color']],_0xd19fa7[_0x8ae720(0x42b)](_0x526ccf,_0xb09ded);}}),{'skeleton':_0x429057,'cursors':_0xd19fa7};}));}return _0x302f1e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x43b4e6,cursors:_0x120ee1})=>{const _0x3a41eb=_0x759177;this[_0x3a41eb(0x272)](),_0x43b4e6&&this['_updateCollabCursors'](_0x43b4e6,_0x120ee1);}),this[_0x759177(0x36e)][_0x759177(0x1dd)][_0x759177(0x277)](_0x4fba3c=>{const _0x439417=_0x759177;if(_0x4fba3c==null)return;const {skeleton:_0x27239c}=_0x4fba3c,{scene:_0x4a1c40}=this['_context'];_0x4a1c40[_0x439417(0x292)]['subscribeEvent'](_0x4d7567[_0x439417(0x354)](_0xcec4ee=>{const _0x475bfb=_0x439417;var _0x192b83,_0x29aec9;const {offsetX:_0xf1a5ee,offsetY:_0x118260}=_0xcec4ee,{x:_0x5b9597,y:_0x3db880}=_0x4a1c40[_0x475bfb(0x2cf)](_0x4a12db['Vector2']['FromArray']([_0xf1a5ee,_0x118260])),{scaleX:_0x1ff65d,scaleY:_0x3b2f9f}=_0x4a1c40[_0x475bfb(0x321)](),_0xfc4c6c=_0x4a1c40['getViewport'](_0x4a12db[_0x475bfb(0x2cc)][_0x475bfb(0x26e)]),_0x1c54ce=_0x4a1c40['getVpScrollXYInfoByPosToVp'](_0x4a12db[_0x475bfb(0x30c)][_0x475bfb(0x306)]([_0x5b9597,_0x3db880]),_0xfc4c6c),_0x8d4c51=_0x27239c[_0x475bfb(0x36a)](_0xf1a5ee,_0x118260,_0x1ff65d,_0x3b2f9f,_0x1c54ce);((_0x192b83=this['_lastPointer'])==null?void 0x0:_0x192b83[_0x475bfb(0x255)])===_0x8d4c51['column']&&((_0x29aec9=this[_0x475bfb(0x256)])==null?void 0x0:_0x29aec9[_0x475bfb(0x303)])===_0x8d4c51[_0x475bfb(0x303)]||this['_cursors'][_0x475bfb(0x237)](_0x7ea761=>{const _0x260994=_0x475bfb;_0x7ea761[_0x260994(0x1c1)](_0x8d4c51);});},0x64));});}[_0x438245(0x304)](_0x1ce40f,_0x39f75d){const _0x2586a1=_0x438245;var _0x4a6a9f;const _0x39bb08=(_0x4a6a9f=this[_0x2586a1(0x36e)]['getCurrent']())==null?void 0x0:_0x4a6a9f[_0x2586a1(0x415)];if(!_0x39bb08)return;const _0x143644=this[_0x2586a1(0x2d4)]();if(!_0x143644)return;this[_0x2586a1(0x25d)][_0x2586a1(0x237)](_0x1506ce=>{const _0x5a96f7=_0x2586a1;_0x1506ce[_0x5a96f7(0x3a9)]();});const {scene:_0x2013d6}=_0x143644,_0xedcb67=_0x30b8d2(Array[_0x2586a1(0x1e0)](_0x39f75d[_0x2586a1(0x1cc)]()))[_0x2586a1(0x3b4)](_0x5d2c3a=>{const _0x270003=_0x2586a1,{color:_0xda1c08,range:_0x13f07a,name:_0x359446,selection:_0x2626db,sheetID:_0x544071}=_0x5d2c3a,{startColumn:_0x1d82c4,startRow:_0xb59e1a,endColumn:_0x5a9a58,endRow:_0x45c258}=_0x13f07a,_0x212b5f=_0x53e960[_0x270003(0x1e9)](_0xb59e1a,_0x1d82c4,_0x2013d6,_0x39bb08),_0x2900c4=_0x53e960['getCoordByCell'](_0x45c258,_0x5a9a58,_0x2013d6,_0x39bb08),{columnHeaderHeightAndMarginTop:_0x45713e}=_0x39bb08,{startX:_0x2b453d,startY:_0x387245}=_0x212b5f,{endX:_0x2fbb3b,endY:_0x590dcc}=_0x2900c4,_0x2e6f81=_0x2fbb3b-_0x2b453d,_0x345cc8=_0x590dcc-_0x387245,_0x2aba83={'labelPosition':_0x387245-_0x45713e>=_0x2c256f?_0x270003(0x1b9):_0x270003(0x429),'sheetID':_0x544071,'range':_0x13f07a,'color':_0xda1c08,'name':_0x359446,'selection':_0x2626db,'left':_0x2b453d,'top':_0x387245,'width':_0x2e6f81,'height':_0x345cc8,'evented':!0x1,'zIndex':_0x5f9326};return new _0x5b3bbe(_0x359446,_0x2aba83);});_0x2013d6['addObjects'](_0xedcb67,_0x2f641d),this[_0x2586a1(0x25d)]=new Set(_0xedcb67);}['_removeCollabCursors'](){const _0xdd2eb4=_0x438245;var _0x3b3d2b;(_0x3b3d2b=this[_0xdd2eb4(0x25d)])==null||_0x3b3d2b['forEach'](_0xba9e7e=>_0xba9e7e[_0xdd2eb4(0x3f7)]());}[_0x438245(0x2d4)](){const _0x1be3ec=_0x438245;return _0x53e960['getSheetObject'](this[_0x1be3ec(0x2ae)][_0x1be3ec(0x3e3)],this[_0x1be3ec(0x2ae)]);}};_0x188902=_0x7eeeab([_0x59f13c(0x1,_0x4d7567[_0x438245(0x317)](_0x53e960[_0x438245(0x225)])),_0x59f13c(0x2,_0x4d7567[_0x438245(0x317)](_0x18bdc8)),_0x59f13c(0x3,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x2ec)]))],_0x188902);function _0x30b8d2(_0x4c501d){const _0x4007cc=_0x438245,_0xa5001a=new Map();return _0x4c501d[_0x4007cc(0x237)](_0x524827=>{const _0x427e32=_0x4007cc;if(_0xa5001a[_0x427e32(0x25a)](_0x524827[_0x427e32(0x445)])){const _0x3c4c55=_0xa5001a[_0x427e32(0x3f6)](_0x524827['selection']);_0x3c4c55[_0x427e32(0x420)]+=',\x20'+_0x524827[_0x427e32(0x420)];}else _0xa5001a['set'](_0x524827[_0x427e32(0x445)],_0x524827);}),Array['from'](_0xa5001a[_0x4007cc(0x1cc)]());}var _0x5d4733=function(){const _0x2fd8da=_0x438245;return _0x5d4733=Object[_0x2fd8da(0x2b0)]||function(_0x341222){const _0x5ced52=_0x2fd8da;for(var _0x3d74ec,_0x1f27e6=0x1,_0x194a53=arguments[_0x5ced52(0x1f8)];_0x1f27e6<_0x194a53;_0x1f27e6++){_0x3d74ec=arguments[_0x1f27e6];for(var _0x45e61f in _0x3d74ec)Object['prototype'][_0x5ced52(0x382)]['call'](_0x3d74ec,_0x45e61f)&&(_0x341222[_0x45e61f]=_0x3d74ec[_0x45e61f]);}return _0x341222;},_0x5d4733[_0x2fd8da(0x39c)](this,arguments);},_0x5d8095=function(_0xd3fd01,_0x24b9c3){const _0x19a847=_0x438245;var _0x5af01b={};for(var _0x4e64bc in _0xd3fd01)Object[_0x19a847(0x39f)][_0x19a847(0x382)]['call'](_0xd3fd01,_0x4e64bc)&&_0x24b9c3[_0x19a847(0x22d)](_0x4e64bc)<0x0&&(_0x5af01b[_0x4e64bc]=_0xd3fd01[_0x4e64bc]);if(_0xd3fd01!=null&&typeof Object[_0x19a847(0x361)]=='function'){for(var _0x348971=0x0,_0x4e64bc=Object[_0x19a847(0x361)](_0xd3fd01);_0x348971<_0x4e64bc[_0x19a847(0x1f8)];_0x348971++)_0x24b9c3['indexOf'](_0x4e64bc[_0x348971])<0x0&&Object['prototype'][_0x19a847(0x257)][_0x19a847(0x327)](_0xd3fd01,_0x4e64bc[_0x348971])&&(_0x5af01b[_0x4e64bc[_0x348971]]=_0xd3fd01[_0x4e64bc[_0x348971]]);}return _0x5af01b;},_0x3c96ce=_0x3a1e2c['forwardRef'](function(_0x1e4c5e,_0x579fe3){const _0x1c3323=_0x438245;var _0x11f181=_0x1e4c5e[_0x1c3323(0x2e5)],_0x4b2012=_0x1e4c5e['id'],_0x54a7ae=_0x1e4c5e[_0x1c3323(0x27b)],_0x3fbd3e=_0x1e4c5e[_0x1c3323(0x1f6)],_0x102136=_0x5d8095(_0x1e4c5e,['icon','id',_0x1c3323(0x27b),_0x1c3323(0x1f6)]),_0x1dc352='univerjs-icon\x20univerjs-icon-'[_0x1c3323(0x36f)](_0x4b2012,'\x20')[_0x1c3323(0x36f)](_0x54a7ae||'')['trim'](),_0x4dc8f7=_0x3a1e2c[_0x1c3323(0x2de)]('_'[_0x1c3323(0x36f)](_0x344ecf()));return _0x4763c0(_0x11f181,''['concat'](_0x4b2012),{'defIds':_0x11f181[_0x1c3323(0x346)],'idSuffix':_0x4dc8f7['current']},_0x5d4733({'ref':_0x579fe3,'className':_0x1dc352},_0x102136),_0x3fbd3e);});function _0x4763c0(_0x324ad3,_0x1ea75c,_0x38155d,_0x49242b,_0x27f2ac){const _0x1f719d=_0x438245;return _0x3a1e2c['createElement'](_0x324ad3[_0x1f719d(0x310)],_0x5d4733(_0x5d4733({'key':_0x1ea75c},_0x365bfc(_0x324ad3,_0x38155d,_0x27f2ac)),_0x49242b),(_0xb0ddd5(_0x324ad3,_0x38155d)[_0x1f719d(0x42e)]||[])[_0x1f719d(0x3b4)](function(_0x41712f,_0xa61b4f){const _0x184599=_0x1f719d;return _0x4763c0(_0x41712f,''[_0x184599(0x36f)](_0x1ea75c,'-')['concat'](_0x324ad3[_0x184599(0x310)],'-')[_0x184599(0x36f)](_0xa61b4f),_0x38155d,void 0x0,_0x27f2ac);}));}function _0x365bfc(_0xbb3a10,_0x13b45c,_0x59a82c){const _0x454ba7=_0x438245;var _0x4f2afa=_0x5d4733({},_0xbb3a10[_0x454ba7(0x2e1)]);_0x59a82c!=null&&_0x59a82c[_0x454ba7(0x29b)]&&_0x4f2afa[_0x454ba7(0x41f)]===_0x454ba7(0x29b)&&(_0x4f2afa['fill']=_0x59a82c[_0x454ba7(0x29b)]),_0xbb3a10[_0x454ba7(0x310)]===_0x454ba7(0x1d1)&&_0x4f2afa['id']&&(_0x4f2afa['id']=_0x4f2afa['id']+_0x13b45c[_0x454ba7(0x31e)]),Object[_0x454ba7(0x28d)](_0x4f2afa)[_0x454ba7(0x237)](function(_0x108778){const _0x13431c=_0x454ba7;var _0x481800=_0x108778[0x0],_0x5b9ecf=_0x108778[0x1];_0x481800===_0x13431c(0x1d1)&&typeof _0x5b9ecf==_0x13431c(0x1d0)&&(_0x4f2afa[_0x481800]=_0x5b9ecf['replace'](/url\(#(.*)\)/,_0x13431c(0x331)[_0x13431c(0x36f)](_0x13b45c[_0x13431c(0x31e)],')')));});var _0x1a78b1=_0x13b45c['defIds'];return!_0x1a78b1||_0x1a78b1[_0x454ba7(0x1f8)]===0x0||(_0xbb3a10[_0x454ba7(0x310)]===_0x454ba7(0x22a)&&_0x4f2afa[_0x454ba7(0x3c4)]&&(_0x4f2afa[_0x454ba7(0x3c4)]=_0x4f2afa[_0x454ba7(0x3c4)]+_0x13b45c['idSuffix']),Object[_0x454ba7(0x28d)](_0x4f2afa)[_0x454ba7(0x237)](function(_0x3bb7c5){const _0x83431c=_0x454ba7;var _0x28b8e8=_0x3bb7c5[0x0],_0x482b95=_0x3bb7c5[0x1];typeof _0x482b95==_0x83431c(0x1d0)&&(_0x4f2afa[_0x28b8e8]=_0x482b95[_0x83431c(0x366)](/url\(#(.*)\)/,_0x83431c(0x331)[_0x83431c(0x36f)](_0x13b45c[_0x83431c(0x31e)],')')));})),_0x4f2afa;}function _0xb0ddd5(_0x127b51,_0x2b1dd5){const _0x4c885f=_0x438245;var _0x2204d6,_0x1d1f15=_0x2b1dd5[_0x4c885f(0x346)];return!_0x1d1f15||_0x1d1f15[_0x4c885f(0x1f8)]===0x0?_0x127b51:_0x127b51['tag']===_0x4c885f(0x380)&&(!((_0x2204d6=_0x127b51[_0x4c885f(0x42e)])===null||_0x2204d6===void 0x0)&&_0x2204d6[_0x4c885f(0x1f8)])?_0x5d4733(_0x5d4733({},_0x127b51),{'children':_0x127b51[_0x4c885f(0x42e)][_0x4c885f(0x3b4)](function(_0x2979e8){const _0x32de5c=_0x4c885f;return typeof _0x2979e8[_0x32de5c(0x2e1)]['id']==_0x32de5c(0x1d0)&&_0x1d1f15&&_0x1d1f15[_0x32de5c(0x22d)](_0x2979e8[_0x32de5c(0x2e1)]['id'])>-0x1?_0x5d4733(_0x5d4733({},_0x2979e8),{'attrs':_0x5d4733(_0x5d4733({},_0x2979e8[_0x32de5c(0x2e1)]),{'id':_0x2979e8['attrs']['id']+_0x2b1dd5[_0x32de5c(0x31e)]})}):_0x2979e8;})}):_0x127b51;}function _0x344ecf(){const _0x4090d9=_0x438245;return Math[_0x4090d9(0x26a)]()[_0x4090d9(0x23b)](0x24)[_0x4090d9(0x3d1)](0x2,0x8);}_0x3c96ce['displayName']=_0x438245(0x221);var _0x453812={'tag':'svg','attrs':{'fill':_0x438245(0x301),'viewBox':_0x438245(0x314),'width':_0x438245(0x297),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x438245(0x1b8)},'children':[{'tag':_0x438245(0x231),'attrs':{'stroke':_0x438245(0x28a),'d':_0x438245(0x298),'strokeLinecap':_0x438245(0x31d),'strokeLinejoin':_0x438245(0x31d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x438245(0x1be)},'children':[{'tag':_0x438245(0x231),'attrs':{'fill':_0x438245(0x3db),'d':_0x438245(0x3b7)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0xd0054e=_0x3a1e2c[_0x438245(0x210)](function(_0x113b18,_0x4e2814){const _0xa0b1ad=_0x438245;return _0x3a1e2c[_0xa0b1ad(0x214)](_0x3c96ce,Object[_0xa0b1ad(0x2b0)]({},_0x113b18,{'id':_0xa0b1ad(0x1ca),'ref':_0x4e2814,'icon':_0x453812}));});_0xd0054e['displayName']=_0x438245(0x2d2);var _0x12d7d6={'tag':_0x438245(0x31c),'attrs':{'fill':_0x438245(0x301),'viewBox':_0x438245(0x250),'width':_0x438245(0x297),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x438245(0x1b1)},'children':[{'tag':_0x438245(0x231),'attrs':{'stroke':_0x438245(0x28a),'d':_0x438245(0x20b),'strokeLinecap':_0x438245(0x31d),'strokeLinejoin':_0x438245(0x31d),'strokeWidth':1.2}}]},{'tag':_0x438245(0x380),'attrs':{},'children':[{'tag':_0x438245(0x244),'attrs':{'id':_0x438245(0x3da)},'children':[{'tag':_0x438245(0x231),'attrs':{'fill':_0x438245(0x3db),'d':_0x438245(0x3b7),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x477d33=_0x3a1e2c['forwardRef'](function(_0x4269dc,_0x2f9633){const _0x34d4ee=_0x438245;return _0x3a1e2c[_0x34d4ee(0x214)](_0x3c96ce,Object[_0x34d4ee(0x2b0)]({},_0x4269dc,{'id':_0x34d4ee(0x1c5),'ref':_0x2f9633,'icon':_0x12d7d6}));});_0x477d33[_0x438245(0x3bb)]=_0x438245(0x284);const _0x461d0a={'onlineStatusIcon':_0x438245(0x2d9),'onlineStatusTitle':_0x438245(0x3b0),'onlineStatus':_0x438245(0x2f3),'online':_0x438245(0x325),'offline':_0x438245(0x27d)};function _0x2c4345(_0x18e07e){const _0x50fa28=_0x438245;switch(_0x18e07e){case _0x3fb0c7['CollaborationStatus'][_0x50fa28(0x278)]:return _0x50fa28(0x1d5);case _0x3fb0c7['CollaborationStatus'][_0x50fa28(0x28b)]:return _0x50fa28(0x352);case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x216)]:return'collabStatus.fetchMiss';case _0x3fb0c7['CollaborationStatus'][_0x50fa28(0x41b)]:return _0x50fa28(0x2c8);case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x2e4)]:case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x204)]:return'collabStatus.syncing';case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x1e8)]:case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x207)]:return _0x50fa28(0x23a);}}function _0x25fd1d(_0x50be6e){const _0x3eb1f1=_0x438245,{status$:_0x43f91b}=_0x50be6e,_0x2f8c8c=_0x25ac9f['useObservable'](_0x43f91b,_0x3fb0c7['CollaborationStatus'][_0x3eb1f1(0x41b)]),_0x43ed45=_0x25ac9f['useDependency'](_0x4d7567[_0x3eb1f1(0x439)]),_0x4e30aa=_0x25ac9f[_0x3eb1f1(0x28e)](_0x3fb0c7[_0x3eb1f1(0x38e)]),_0xb8b98b=_0x2f8c8c!==_0x3fb0c7['CollaborationStatus'][_0x3eb1f1(0x278)],_0x5896e9=_0x43ed45['t'](_0x2c4345(_0x2f8c8c)),_0x995ca4=_0x521938[_0x3eb1f1(0x29d)](_0x461d0a['onlineStatus'],{[_0x461d0a['online']]:_0xb8b98b,[_0x461d0a[_0x3eb1f1(0x2fc)]]:!_0xb8b98b}),_0x355fa7=_0xb8b98b?_0x143960[_0x3eb1f1(0x2ac)](_0x477d33,{}):_0x143960[_0x3eb1f1(0x2ac)](_0xd0054e,{}),_0x4be2dc=_0x3a1e2c['useCallback'](()=>{const _0x1ad619=_0x3eb1f1;_0xb8b98b||_0x4e30aa[_0x1ad619(0x269)]();},[_0xb8b98b,_0x4e30aa]);function _0x2c476d(){const _0xb6a9d3=_0x3eb1f1;return _0x143960['jsxs'](_0xb6a9d3(0x3fc),{'className':_0x521938[_0xb6a9d3(0x29d)](_0x995ca4,_0xb6a9d3(0x33a)),'onClick':_0x4be2dc,'children':[_0x143960['jsx'](_0xb6a9d3(0x3fc),{'className':_0x461d0a[_0xb6a9d3(0x20e)],'children':_0x355fa7}),_0x143960[_0xb6a9d3(0x2ac)](_0xb6a9d3(0x3fc),{'className':_0x461d0a[_0xb6a9d3(0x320)],'children':_0x5896e9})]});}return _0xb8b98b?_0x2c476d():_0x143960[_0x3eb1f1(0x2ac)](_0x521938['Tooltip'],{'title':_0x43ed45['t']('collab-client.tooltip.reconnect'),'children':_0x2c476d()});}var _0x221009=Object[_0x438245(0x23f)],_0x46e8da=(_0x5587ae,_0x2cb323,_0x598e44,_0x27a047)=>{for(var _0x10e2bd=_0x27a047>0x1?void 0x0:_0x27a047?_0x221009(_0x2cb323,_0x598e44):_0x2cb323,_0x266187=_0x5587ae['length']-0x1,_0x1d0dc8;_0x266187>=0x0;_0x266187--)(_0x1d0dc8=_0x5587ae[_0x266187])&&(_0x10e2bd=_0x1d0dc8(_0x10e2bd)||_0x10e2bd);return _0x10e2bd;},_0x3ff296=(_0x3e790a,_0x462cd6)=>(_0x54ae34,_0x480a88)=>_0x462cd6(_0x54ae34,_0x480a88,_0x3e790a);_0x417bf1[_0x438245(0x3bd)]=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0x2db3bf,_0x53e17c,_0x5f4126,_0x57b7d4){const _0x1c0ad1=_0x438245;super(),_0x30d208(this,_0x1c0ad1(0x2f1),new _0x302f1e['BehaviorSubject'](_0x3fb0c7['CollaborationStatus'][_0x1c0ad1(0x41b)])),(this['_univerInstanceService']=_0x2db3bf,this[_0x1c0ad1(0x3fa)]=_0x53e17c,this['_collaborationController']=_0x5f4126,this[_0x1c0ad1(0x37b)]=_0x57b7d4,this[_0x1c0ad1(0x1c6)](),this[_0x1c0ad1(0x288)]());}['_initStatusListener'](){const _0x15a607=_0x438245;this[_0x15a607(0x2d6)](this[_0x15a607(0x3d8)][_0x15a607(0x2ef)][_0x15a607(0x3eb)](_0x302f1e[_0x15a607(0x270)](()=>{const _0x490efe=_0x15a607,_0x32f91e=this[_0x490efe(0x3d8)][_0x490efe(0x3e7)]();return _0x32f91e?this[_0x490efe(0x3c1)][_0x490efe(0x25b)](_0x32f91e[_0x490efe(0x260)]()):_0x302f1e['of'](null);}),_0x302f1e[_0x15a607(0x270)](_0x33f6b9=>_0x33f6b9?_0x33f6b9[_0x15a607(0x2c9)]:_0x302f1e['of'](_0x3fb0c7['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x1e0602=>{const _0x2b76d5=_0x15a607;this[_0x2b76d5(0x2f1)][_0x2b76d5(0x31f)](_0x1e0602);}));}[_0x438245(0x1c6)](){const _0x53b452=_0x438245;this['disposeWithMe'](this[_0x53b452(0x37b)][_0x53b452(0x242)](_0x25ac9f[_0x53b452(0x1cb)]['HEADER_MENU'],()=>_0x25ac9f[_0x53b452(0x230)](_0x15d07d({'status$':this[_0x53b452(0x2f1)]['asObservable']()}),this['_injector'])));}},_0x417bf1['DesktopCollaborationStatusDisplayController']=_0x46e8da([_0x3ff296(0x0,_0x4d7567[_0x438245(0x3fd)]),_0x3ff296(0x1,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x3ff296(0x2,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x1cf)])),_0x3ff296(0x3,_0x25ac9f[_0x438245(0x22e)])],_0x417bf1['DesktopCollaborationStatusDisplayController']);function _0x15d07d(_0x2a3be9){const {status$:_0x5d4527}=_0x2a3be9;return function(){const _0xa011dc=_0x1bed;return _0x143960[_0xa011dc(0x2ac)](_0x25fd1d,{'status$':_0x5d4527});};}var _0x12b65b=Object[_0x438245(0x23f)],_0xa099e3=(_0x998fde,_0x285830,_0x15afb8,_0x5a42b9)=>{const _0x7e7741=_0x438245;for(var _0x1127f7=_0x5a42b9>0x1?void 0x0:_0x5a42b9?_0x12b65b(_0x285830,_0x15afb8):_0x285830,_0x292957=_0x998fde[_0x7e7741(0x1f8)]-0x1,_0x550622;_0x292957>=0x0;_0x292957--)(_0x550622=_0x998fde[_0x292957])&&(_0x1127f7=_0x550622(_0x1127f7)||_0x1127f7);return _0x1127f7;},_0x42f9dc=(_0x51636d,_0x1bc645)=>(_0x6e7cb5,_0x13275e)=>_0x1bc645(_0x6e7cb5,_0x13275e,_0x51636d);let _0xa23e12=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0xa131f3,_0x207064,_0x5c1289,_0x4eb0e8,_0xa6e7ae,_0x2141e5){const _0xc8b70f=_0x438245;super(),this[_0xc8b70f(0x2d0)]=_0xa131f3,this[_0xc8b70f(0x42f)]=_0x207064,this[_0xc8b70f(0x275)]=_0x5c1289,this['_messageService']=_0x4eb0e8,this[_0xc8b70f(0x2bd)]=_0xa6e7ae,this[_0xc8b70f(0x34f)]=_0x2141e5,this[_0xc8b70f(0x3dd)](),this[_0xc8b70f(0x1e2)]();}[_0x438245(0x3dd)](){const _0x5189de=_0x438245;this[_0x5189de(0x2d6)](this['_beforeCloseService'][_0x5189de(0x37c)](()=>{const _0x4e8b3b=_0x5189de;if(this['_localCacheService']['saveTaskMap'][_0x4e8b3b(0x1d9)])return this[_0x4e8b3b(0x34f)]['t'](_0x4e8b3b(0x21b));}));}[_0x438245(0x1e2)](){const _0x100482=_0x438245;this[_0x100482(0x2d6)](this[_0x100482(0x275)][_0x100482(0x367)]['subscribe'](_0x21f36d=>{const _0x18d0b9=_0x100482;_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x276)]&&this[_0x18d0b9(0x329)][_0x18d0b9(0x428)]({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t']('collaboration.single-unit.warning')}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x286)]&&this['_messageService']['show']({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x419))}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x22b)]&&this[_0x18d0b9(0x2bd)][_0x18d0b9(0x428)]({'title':this['_localeService']['t'](_0x18d0b9(0x338)),'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x3a1)),'type':_0x18d0b9(0x30e),'duration':0x0}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)]['CONFLICT']&&this[_0x18d0b9(0x329)][_0x18d0b9(0x428)]({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x394)],'content':this['_localeService']['t'](_0x18d0b9(0x419))+'('+_0x21f36d[_0x18d0b9(0x38a)]+')'}),_0x21f36d['id']===_0x3fb0c7['CollaborationUIEventId'][_0x18d0b9(0x3d6)]&&this['_messageService'][_0x18d0b9(0x428)]({'type':_0x521938['MessageType'][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t'](_0x21f36d[_0x18d0b9(0x38a)]||'')}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x43d)]&&this['_messageService']['show']({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x281))}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x323)]&&this['_messageService'][_0x18d0b9(0x428)]({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x394)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x3a3))}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x2ed)]&&this[_0x18d0b9(0x329)][_0x18d0b9(0x428)]({'type':_0x521938['MessageType'][_0x18d0b9(0x394)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x239))});}));}};_0xa23e12=_0xa099e3([_0x42f9dc(0x0,_0x25ac9f[_0x438245(0x299)]),_0x42f9dc(0x1,_0x3fb0c7[_0x438245(0x1d3)]),_0x42f9dc(0x2,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x3a6)])),_0x42f9dc(0x3,_0x25ac9f[_0x438245(0x2e0)]),_0x42f9dc(0x4,_0x25ac9f[_0x438245(0x1cd)]),_0x42f9dc(0x5,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x439)]))],_0xa23e12);const _0x5d35a6=_0x438245(0x212),_0x26405a={},_0x32b781=_0x4d7567['createIdentifier'](_0x438245(0x245));var _0x1e9961=Object[_0x438245(0x23f)],_0xb5d340=(_0x38fbe1,_0x3a3781,_0x2bd0ea,_0x230eb4)=>{const _0x4bc9dd=_0x438245;for(var _0xf37d12=_0x230eb4>0x1?void 0x0:_0x230eb4?_0x1e9961(_0x3a3781,_0x2bd0ea):_0x3a3781,_0x443b77=_0x38fbe1[_0x4bc9dd(0x1f8)]-0x1,_0x319a85;_0x443b77>=0x0;_0x443b77--)(_0x319a85=_0x38fbe1[_0x443b77])&&(_0xf37d12=_0x319a85(_0xf37d12)||_0xf37d12);return _0xf37d12;},_0x241c17=(_0xe1397,_0x3e532b)=>(_0x210f9f,_0x2d473a)=>_0x3e532b(_0x210f9f,_0x2d473a,_0xe1397);_0x417bf1[_0x438245(0x271)]=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0xd54e49,_0x4e4c0a,_0x5d426c,_0x4bb55a,_0x5a7699){const _0x2dddda=_0x438245;super(),this[_0x2dddda(0x402)]=_0xd54e49,this['_logService']=_0x4e4c0a,this[_0x2dddda(0x39e)]=_0x5d426c,this[_0x2dddda(0x349)]=_0x4bb55a,_0x5a7699?_0x5a7699==null||_0x5a7699[_0x2dddda(0x332)]()[_0x2dddda(0x2c1)](()=>this[_0x2dddda(0x38b)]()):(this[_0x2dddda(0x2c7)]['debug'](_0x2dddda(0x2e2),_0x2dddda(0x3f4)),this[_0x2dddda(0x38b)]());}async[_0x438245(0x38b)](){const _0x332e48=_0x438245,_0x38264d=this[_0x332e48(0x402)][_0x332e48(0x1eb)](_0x332e48(0x3e3)),_0x2c6b9f=this['_urlService']['getParam']('type'),_0x535486=this[_0x332e48(0x402)][_0x332e48(0x1eb)](_0x332e48(0x3ca));if(!_0x38264d||!_0x2c6b9f){this[_0x332e48(0x2c7)][_0x332e48(0x1b0)](_0x332e48(0x2e2),_0x332e48(0x426));return;}const _0x50bf0b=await this[_0x332e48(0x349)][_0x332e48(0x2ba)](_0x38264d,Number(_0x2c6b9f),_0x535486);_0x50bf0b&&_0x50bf0b instanceof _0x4d7567['Workbook']&&this['_setupSubUnitSync'](_0x50bf0b);}async['_setupSubUnitSync'](_0x3e0e60){const _0x426ff1=_0x438245;await this['_updateSubUnitFromURLParams'](_0x3e0e60),_0x3e0e60[_0x426ff1(0x267)][_0x426ff1(0x3eb)](_0x302f1e[_0x426ff1(0x416)](this[_0x426ff1(0x287)]))[_0x426ff1(0x277)](_0xdb83e3=>{const _0x5406f4=_0x426ff1;_0xdb83e3&&this[_0x5406f4(0x3cb)](_0xdb83e3);}),this[_0x426ff1(0x402)][_0x426ff1(0x259)][_0x426ff1(0x3eb)](_0x302f1e[_0x426ff1(0x416)](this[_0x426ff1(0x287)]))[_0x426ff1(0x277)](()=>this[_0x426ff1(0x356)](_0x3e0e60));}[_0x438245(0x3cb)](_0x17b687,_0x113bc7=!0x1){const _0x40be4b=_0x438245,_0x28a411=this[_0x40be4b(0x402)][_0x40be4b(0x1eb)](_0x40be4b(0x3ca));_0x17b687[_0x40be4b(0x1ce)]()!==_0x28a411&&this['_urlService'][_0x40be4b(0x319)](_0x40be4b(0x3ca),_0x17b687['getSheetId'](),_0x113bc7);}async[_0x438245(0x356)](_0x2f6645){const _0x9db0f3=_0x438245;var _0x4798ea;const _0x5c52da=this['_urlService'][_0x9db0f3(0x1eb)](_0x9db0f3(0x3ca));if(!_0x5c52da||!_0x2f6645[_0x9db0f3(0x369)](_0x5c52da)){const _0x174a87=_0x2f6645[_0x9db0f3(0x3a7)]()[0x0],_0x1e3d16=_0x2f6645[_0x9db0f3(0x369)](_0x174a87);if(!_0x1e3d16)return;this[_0x9db0f3(0x3cb)](_0x1e3d16,!0x0),await this['_commandService'][_0x9db0f3(0x3fe)](_0x5976f8['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f6645[_0x9db0f3(0x260)](),'subUnitId':_0x174a87});return;}((_0x4798ea=_0x2f6645[_0x9db0f3(0x2c0)]())==null?void 0x0:_0x4798ea['getSheetId']())!==_0x5c52da&&await this['_commandService'][_0x9db0f3(0x3fe)](_0x5976f8[_0x9db0f3(0x2b9)]['id'],{'unitId':_0x2f6645[_0x9db0f3(0x260)](),'subUnitId':_0x5c52da});}},_0x417bf1[_0x438245(0x271)]=_0xb5d340([_0x241c17(0x0,_0x32b781),_0x241c17(0x1,_0x4d7567['ILogService']),_0x241c17(0x2,_0x4d7567['ICommandService']),_0x241c17(0x3,_0x4d7567['Inject'](_0x3fb0c7[_0x438245(0x372)])),_0x241c17(0x4,_0x4d7567[_0x438245(0x432)](_0x274540[_0x438245(0x43c)]))],_0x417bf1[_0x438245(0x271)]);var _0x42d3a9=Object[_0x438245(0x23f)],_0x466670=(_0x45be91,_0x5cf286,_0x2ab77a,_0x40a574)=>{for(var _0x594f02=_0x40a574>0x1?void 0x0:_0x40a574?_0x42d3a9(_0x5cf286,_0x2ab77a):_0x5cf286,_0x4d9e8c=_0x45be91['length']-0x1,_0x5dff22;_0x4d9e8c>=0x0;_0x4d9e8c--)(_0x5dff22=_0x45be91[_0x4d9e8c])&&(_0x594f02=_0x5dff22(_0x594f02)||_0x594f02);return _0x594f02;},_0x404101=(_0x59e018,_0xf2ef68)=>(_0x4b7ea6,_0x22efa8)=>_0xf2ef68(_0x4b7ea6,_0x22efa8,_0x59e018);let _0x438ba9=class{constructor(_0x4f29ab,_0x578acb,_0x401151){const _0x4679b6=_0x438245;this['_injector']=_0x4f29ab,this[_0x4679b6(0x355)]=_0x578acb,this[_0x4679b6(0x398)]=_0x401151;}[_0x438245(0x2bc)](_0x87aae2){const _0x1f15e1=_0x438245;this[_0x1f15e1(0x205)](_0x87aae2),this[_0x1f15e1(0x3b8)](_0x87aae2);}[_0x438245(0x27f)](_0x1eb23b){const _0x50d652=_0x438245,{unitID:_0x1de87b}=_0x1eb23b,_0x532d5e=this['_renderManagerService'][_0x50d652(0x32e)](_0x1de87b)[_0x50d652(0x36c)](_0x47cccb[_0x50d652(0x1e3)]),{redoCache:_0x55148d}=_0x532d5e[_0x50d652(0x424)]();if(_0x55148d[_0x50d652(0x1f8)]===0x0)return _0x1eb23b;let _0x57f6c9=_0x4d7567['Tools'][_0x50d652(0x2b5)](_0x1eb23b[_0x50d652(0x29a)][0x0]);for(let _0x385ba6=0x0;_0x385ba6<_0x55148d[_0x50d652(0x1f8)];_0x385ba6++){const _0x453fbf={'id':'doc.mutation.rich-text-editing','params':{..._0x55148d[_0x385ba6]}},_0x5c3343=this[_0x50d652(0x355)][_0x50d652(0x37d)](_0x57f6c9,_0x453fbf,!0x1);if(_0x249cc5['isTransformMutationFailure'](_0x5c3343))throw _0x5c3343['error'];_0x57f6c9=_0x5c3343[_0x50d652(0x234)];}return{..._0x4d7567[_0x50d652(0x3ba)][_0x50d652(0x2b5)](_0x1eb23b),'mutations':[_0x57f6c9]};}[_0x438245(0x205)](_0x5966cf){const _0x4a18d9=_0x438245,{unitID:_0x21f0e6}=_0x5966cf,_0x1a44ea=this['_renderManagerService']['getRenderById'](_0x21f0e6)[_0x4a18d9(0x36c)](_0x47cccb[_0x4a18d9(0x1e3)]),{undoCache:_0x36a1a6,redoCache:_0x3d252a}=_0x1a44ea[_0x4a18d9(0x424)]();if(_0x36a1a6[_0x4a18d9(0x1f8)]===0x0||_0x3d252a['length']===0x0)return;const _0x57a21c=[],_0x3322a7=[];let _0xb3a3be=_0x4d7567[_0x4a18d9(0x3ba)][_0x4a18d9(0x2b5)](_0x5966cf['mutations'][0x0]),_0x14450a=_0x4d7567[_0x4a18d9(0x3ba)][_0x4a18d9(0x2b5)](_0x5966cf[_0x4a18d9(0x29a)][0x0]);for(let _0x41a5aa=_0x36a1a6[_0x4a18d9(0x1f8)]-0x1;_0x41a5aa>=0x0;_0x41a5aa--){const _0x747085={'id':_0x4a18d9(0x1e1),'params':{..._0x36a1a6[_0x41a5aa]}},_0x46cb4b={'id':_0x4a18d9(0x1e1),'params':{..._0x3d252a[_0x41a5aa]}},_0x492a06=this[_0x4a18d9(0x355)][_0x4a18d9(0x37d)](_0xb3a3be,_0x747085,!0x1),_0x4cf324=this[_0x4a18d9(0x355)][_0x4a18d9(0x37d)](_0x14450a,_0x46cb4b,!0x1);if(_0x249cc5[_0x4a18d9(0x2f8)](_0x492a06))throw _0x492a06[_0x4a18d9(0x30e)];if(_0x249cc5[_0x4a18d9(0x2f8)](_0x4cf324))throw _0x4cf324[_0x4a18d9(0x30e)];_0x57a21c[_0x4a18d9(0x315)](_0x492a06[_0x4a18d9(0x2f0)]['params']),_0x3322a7[_0x4a18d9(0x315)](_0x4cf324[_0x4a18d9(0x2f0)][_0x4a18d9(0x365)]),_0xb3a3be=_0x492a06[_0x4a18d9(0x234)],_0x14450a=_0x4cf324[_0x4a18d9(0x234)];}_0x1a44ea['setUndoRedoMutationParamsCache']({'undoCache':_0x57a21c,'redoCache':_0x3322a7});}['_transformPreviousActiveRange'](_0x456ede){const _0x12549f=_0x438245,{unitID:_0x334002}=_0x456ede,_0x103c23=this[_0x12549f(0x398)]['getRenderById'](_0x334002)[_0x12549f(0x36c)](_0x47cccb[_0x12549f(0x1e3)]),_0x20f8dd=_0x103c23[_0x12549f(0x3ed)]();if(_0x20f8dd==null)return;const _0x22dc1c=[{'id':_0x12549f(0x1e1),'params':{'unitId':_0x456ede[_0x12549f(0x307)],'actions':null,'textRanges':[_0x20f8dd]}}],_0x20a5d9=this[_0x12549f(0x355)][_0x12549f(0x375)](_0x456ede,_0x22dc1c);if(!_0x249cc5[_0x12549f(0x33e)](_0x20a5d9))throw _0x20a5d9['error'];const _0xe324ff=_0x20a5d9[_0x12549f(0x2f0)][0x0]['params']['textRanges'];Array['isArray'](_0xe324ff)&&_0xe324ff[_0x12549f(0x1f8)]&&_0x103c23['setActiveRange'](_0xe324ff[0x0]);}};_0x438ba9=_0x466670([_0x404101(0x0,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x404101(0x1,_0x249cc5[_0x438245(0x391)]),_0x404101(0x2,_0x4a12db[_0x438245(0x2ad)])],_0x438ba9);var _0x6ddb60=Object['getOwnPropertyDescriptor'],_0xdd716e=(_0x5cdcb5,_0x5499fd,_0x5d1692,_0x232b53)=>{const _0x5df403=_0x438245;for(var _0x16b5ef=_0x232b53>0x1?void 0x0:_0x232b53?_0x6ddb60(_0x5499fd,_0x5d1692):_0x5499fd,_0x4eb065=_0x5cdcb5[_0x5df403(0x1f8)]-0x1,_0x371d4c;_0x4eb065>=0x0;_0x4eb065--)(_0x371d4c=_0x5cdcb5[_0x4eb065])&&(_0x16b5ef=_0x371d4c(_0x16b5ef)||_0x16b5ef);return _0x16b5ef;},_0x246449=(_0x2f95ac,_0x356345)=>(_0x5270bc,_0x41337b)=>_0x356345(_0x5270bc,_0x41337b,_0x2f95ac);let _0x2a1fe6=class{constructor(_0x565a59,_0x1b221d,_0x1d4765){const _0x46c6db=_0x438245;this[_0x46c6db(0x3fa)]=_0x565a59,this[_0x46c6db(0x355)]=_0x1b221d,this['_docStateChangeManagerService']=_0x1d4765;}[_0x438245(0x1ed)](_0x564795){const _0x33e3c4=_0x438245;this[_0x33e3c4(0x30f)](_0x564795);}[_0x438245(0x27f)](_0x5bbc5e){const _0xe07a1a=_0x438245,{unitID:_0x9ba5a9}=_0x5bbc5e,{collaboration:_0x49de57}=this[_0xe07a1a(0x39a)][_0xe07a1a(0x266)](_0x9ba5a9);if(_0x49de57[_0xe07a1a(0x1f8)]===0x0)return _0x5bbc5e;let _0x51c80a=_0x4d7567[_0xe07a1a(0x3ba)][_0xe07a1a(0x2b5)](_0x5bbc5e[_0xe07a1a(0x29a)][0x0]);for(let _0xe69f05=0x0;_0xe69f05<_0x49de57['length'];_0xe69f05++){const _0x35f5a7={'id':_0xe07a1a(0x1e1),'params':{'unitId':_0x49de57[_0xe69f05][_0xe07a1a(0x1f0)],..._0x49de57[_0xe69f05]['redoState']}},_0x5066d5=this[_0xe07a1a(0x355)]['transformMutation'](_0x51c80a,_0x35f5a7,!0x1);if(_0x249cc5['isTransformMutationFailure'](_0x5066d5))throw _0x5066d5[_0xe07a1a(0x30e)];_0x51c80a=_0x5066d5['m1Prime'];}return{..._0x4d7567[_0xe07a1a(0x3ba)][_0xe07a1a(0x2b5)](_0x5bbc5e),'mutations':[_0x51c80a]};}[_0x438245(0x30f)](_0x4b31f8){const _0x297bd2=_0x438245,{unitID:_0x3d3f36}=_0x4b31f8,{history:_0x3b9f4c,collaboration:_0x2c58d0}=this[_0x297bd2(0x39a)][_0x297bd2(0x266)](_0x3d3f36);if(_0x3b9f4c['length']===0x0&&_0x2c58d0['length']===0x0)return;const _0x501904=[],_0xc8a918=[];let _0x1f6cc9=_0x4d7567[_0x297bd2(0x3ba)][_0x297bd2(0x2b5)](_0x4b31f8[_0x297bd2(0x29a)][0x0]),_0x1a7278=_0x4d7567[_0x297bd2(0x3ba)][_0x297bd2(0x2b5)](_0x4b31f8[_0x297bd2(0x29a)][0x0]);for(let _0x4d0110=_0x3b9f4c[_0x297bd2(0x1f8)]-0x1;_0x4d0110>=0x0;_0x4d0110--){const _0x493765={'id':_0x297bd2(0x1e1),'params':{'unitId':_0x3b9f4c[_0x4d0110][_0x297bd2(0x1f0)],..._0x3b9f4c[_0x4d0110][_0x297bd2(0x1ea)]}},_0x477602={'id':_0x297bd2(0x1e1),'params':{'unitId':_0x3b9f4c[_0x4d0110][_0x297bd2(0x1f0)],..._0x3b9f4c[_0x4d0110][_0x297bd2(0x285)]}},_0x2ee901=this[_0x297bd2(0x355)]['transformMutation'](_0x1f6cc9,_0x493765,!0x1),_0x5f51ba=this['_transformService'][_0x297bd2(0x37d)](_0x1a7278,_0x477602,!0x1);if(_0x249cc5[_0x297bd2(0x2f8)](_0x2ee901))throw _0x2ee901[_0x297bd2(0x30e)];if(_0x249cc5[_0x297bd2(0x2f8)](_0x5f51ba))throw _0x5f51ba[_0x297bd2(0x30e)];_0x501904['unshift']({..._0x3b9f4c[_0x4d0110],'undoState':_0x2ee901[_0x297bd2(0x2f0)]['params'],'redoState':_0x5f51ba['m2Prime'][_0x297bd2(0x365)]}),_0x1f6cc9=_0x2ee901[_0x297bd2(0x234)],_0x1a7278=_0x5f51ba[_0x297bd2(0x234)];}_0x1f6cc9=_0x4d7567['Tools'][_0x297bd2(0x2b5)](_0x4b31f8['mutations'][0x0]),_0x1a7278=_0x4d7567[_0x297bd2(0x3ba)]['deepClone'](_0x4b31f8[_0x297bd2(0x29a)][0x0]);for(let _0x2a9f22=_0x2c58d0[_0x297bd2(0x1f8)]-0x1;_0x2a9f22>=0x0;_0x2a9f22--){const _0x2f7aad={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c58d0[_0x2a9f22]['unitId'],..._0x2c58d0[_0x2a9f22][_0x297bd2(0x1ea)]}},_0xf43603={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c58d0[_0x2a9f22][_0x297bd2(0x1f0)],..._0x2c58d0[_0x2a9f22][_0x297bd2(0x285)]}},_0x803f18=this[_0x297bd2(0x355)][_0x297bd2(0x37d)](_0x1f6cc9,_0x2f7aad,!0x1),_0x301515=this['_transformService'][_0x297bd2(0x37d)](_0x1a7278,_0xf43603,!0x1);if(_0x249cc5[_0x297bd2(0x2f8)](_0x803f18))throw _0x803f18[_0x297bd2(0x30e)];if(_0x249cc5[_0x297bd2(0x2f8)](_0x301515))throw _0x301515[_0x297bd2(0x30e)];_0xc8a918[_0x297bd2(0x315)]({..._0x2c58d0[_0x2a9f22],'undoState':_0x803f18[_0x297bd2(0x2f0)]['params'],'redoState':_0x301515[_0x297bd2(0x2f0)][_0x297bd2(0x365)]}),_0x1f6cc9=_0x803f18[_0x297bd2(0x234)],_0x1a7278=_0x301515[_0x297bd2(0x234)];}this[_0x297bd2(0x39a)][_0x297bd2(0x33b)](_0x3d3f36,{'history':_0x501904,'collaboration':_0xc8a918});}};_0x2a1fe6=_0xdd716e([_0x246449(0x0,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x246449(0x1,_0x249cc5[_0x438245(0x391)]),_0x246449(0x2,_0x4d7567[_0x438245(0x317)](_0x47cccb[_0x438245(0x3c5)]))],_0x2a1fe6);var _0x46d6cb=Object[_0x438245(0x23f)],_0x47d753=(_0x116f4f,_0x5e8500,_0x4802a0,_0x43d235)=>{const _0x251c8b=_0x438245;for(var _0x308cd2=_0x43d235>0x1?void 0x0:_0x43d235?_0x46d6cb(_0x5e8500,_0x4802a0):_0x5e8500,_0x3b459a=_0x116f4f[_0x251c8b(0x1f8)]-0x1,_0x559a66;_0x3b459a>=0x0;_0x3b459a--)(_0x559a66=_0x116f4f[_0x3b459a])&&(_0x308cd2=_0x559a66(_0x308cd2)||_0x308cd2);return _0x308cd2;},_0x2b441c=(_0x349ebb,_0x1c79f6)=>(_0x2e30aa,_0x34659c)=>_0x1c79f6(_0x2e30aa,_0x34659c,_0x349ebb);let _0x1cb1bc=class{constructor(_0x1bdfb3,_0x2444f8){const _0x18a58b=_0x438245;this[_0x18a58b(0x3fa)]=_0x1bdfb3,this['_transformService']=_0x2444f8;}['transformSelections'](_0x46dbd5){const _0x2dcfd1=_0x438245;var _0x230b7d;const _0xd26c6b=this[_0x2dcfd1(0x3fa)]['get'](_0x534e54[_0x2dcfd1(0x425)]),_0x2ee143=(_0x230b7d=_0xd26c6b[_0x2dcfd1(0x34e)]())!=null?_0x230b7d:[];if(_0x2ee143[_0x2dcfd1(0x1f8)]===0x0)return;const _0x183a8f=_0x46dbd5[_0x2dcfd1(0x307)],_0x1070ca=[{'id':_0x2dcfd1(0x1e1),'params':{'unitId':_0x183a8f,'actions':null,'textRanges':_0x2ee143}}],_0x4732fc=this[_0x2dcfd1(0x355)][_0x2dcfd1(0x375)](_0x46dbd5,_0x1070ca);if(!_0x249cc5[_0x2dcfd1(0x33e)](_0x4732fc))throw _0x4732fc[_0x2dcfd1(0x30e)];const _0x5db73c=_0x4732fc[_0x2dcfd1(0x2f0)][0x0]['params']['textRanges'];Array[_0x2dcfd1(0x2ce)](_0x5db73c)&&_0x5db73c['length']&&_0xd26c6b['replaceDocRanges'](_0x5db73c,{'unitId':_0x183a8f,'subUnitId':_0x183a8f},!0x1);}};_0x1cb1bc=_0x47d753([_0x2b441c(0x0,_0x4d7567['Inject'](_0x4d7567[_0x438245(0x3f3)])),_0x2b441c(0x1,_0x249cc5[_0x438245(0x391)])],_0x1cb1bc);var _0x3cf5b5=Object[_0x438245(0x23f)],_0x2c5df6=(_0x336d83,_0x2fe919,_0x29603f,_0x22baa7)=>{const _0x125943=_0x438245;for(var _0x53c254=_0x22baa7>0x1?void 0x0:_0x22baa7?_0x3cf5b5(_0x2fe919,_0x29603f):_0x2fe919,_0x9156b8=_0x336d83[_0x125943(0x1f8)]-0x1,_0x20528d;_0x9156b8>=0x0;_0x9156b8--)(_0x20528d=_0x336d83[_0x9156b8])&&(_0x53c254=_0x20528d(_0x53c254)||_0x53c254);return _0x53c254;},_0x268e6a=(_0x290fe6,_0x2fd42b)=>(_0x5496bb,_0x1a41e1)=>_0x2fd42b(_0x5496bb,_0x1a41e1,_0x290fe6);let _0x14565b=class extends _0x4d7567['Disposable']{constructor(_0x26becc,_0x27327d,_0xe0e211,_0x1f9e86,_0xe6fa79,_0x69c194,_0x598dbf,_0x51b975){const _0x518b0c=_0x438245;super(),_0x30d208(this,'_status$',new _0x302f1e[(_0x518b0c(0x433))](_0x3fb0c7[_0x518b0c(0x2df)][_0x518b0c(0x41b)])),(this[_0x518b0c(0x39a)]=_0x26becc,this[_0x518b0c(0x3c1)]=_0x27327d,this[_0x518b0c(0x26f)]=_0xe0e211,this['_docTransformStateCacheService']=_0x1f9e86,this[_0x518b0c(0x1b4)]=_0xe6fa79,this[_0x518b0c(0x387)]=_0x69c194,this['_messageService']=_0x598dbf,this[_0x518b0c(0x34f)]=_0x51b975,this[_0x518b0c(0x316)]());}[_0x438245(0x316)](){const _0x253348=_0x438245;this['disposeWithMe'](this[_0x253348(0x3c1)][_0x253348(0x35e)][_0x253348(0x277)](_0x36c5ee=>{const _0x513d90=_0x253348,_0x485d17=this['_docStateChangeManagerService'][_0x513d90(0x1f3)][_0x513d90(0x277)](_0x2ef290=>{const _0x1b1085=_0x513d90;if(_0x2ef290==null)return;const {unitId:_0x417434,redoState:_0x65806e,commandId:_0xc5b281}=_0x2ef290;if(_0x417434!==_0x36c5ee[_0x1b1085(0x307)])return;const _0x25af07={'id':_0xc5b281,'type':_0x4d7567['CommandType'][_0x1b1085(0x342)],'params':{'unitId':_0x417434,'actions':_0x65806e['actions'],'textRanges':null}};_0x36c5ee[_0x1b1085(0x339)](_0x25af07);});if(_0x36c5ee[_0x513d90(0x2d6)](_0x485d17),_0x36c5ee instanceof _0x3fb0c7[_0x513d90(0x3c6)]){const _0x2bd654={'onTransformIME':_0x41a343=>this[_0x513d90(0x26f)][_0x513d90(0x2bc)](_0x41a343),'onTransformState':_0x1300c0=>this[_0x513d90(0x3e8)][_0x513d90(0x1ed)](_0x1300c0),'onTransformSelections':_0x24aa7f=>this['_docTransformSelectionsService'][_0x513d90(0x1fd)](_0x24aa7f),'onSyncEditingCollabCursor':_0xca64d8=>this[_0x513d90(0x387)][_0x513d90(0x21e)](_0xca64d8),'onTransformRemoteChangesetByIMECache':_0x32cc57=>this[_0x513d90(0x26f)][_0x513d90(0x27f)](_0x32cc57),'onTransformRemoteChangesetByStateCache':_0x8fbccc=>this['_docTransformStateCacheService'][_0x513d90(0x27f)](_0x8fbccc)};_0x36c5ee[_0x513d90(0x2d8)](_0x2bd654);}}));}};_0x14565b=_0x2c5df6([_0x268e6a(0x0,_0x4d7567[_0x438245(0x317)](_0x47cccb[_0x438245(0x3c5)])),_0x268e6a(0x1,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x1cf)])),_0x268e6a(0x2,_0x4d7567['Inject'](_0x438ba9)),_0x268e6a(0x3,_0x4d7567[_0x438245(0x317)](_0x2a1fe6)),_0x268e6a(0x4,_0x4d7567[_0x438245(0x317)](_0x1cb1bc)),_0x268e6a(0x5,_0x4d7567['Inject'](_0x4b7e32)),_0x268e6a(0x6,_0x25ac9f[_0x438245(0x2e0)]),_0x268e6a(0x7,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x439)]))],_0x14565b);var _0x1e4ff0=Object[_0x438245(0x23f)],_0x2d0c05=(_0x42c0cb,_0x93fb7,_0x3c65cf,_0x109e94)=>{const _0x5afdb0=_0x438245;for(var _0x12f6de=_0x109e94>0x1?void 0x0:_0x109e94?_0x1e4ff0(_0x93fb7,_0x3c65cf):_0x93fb7,_0x3541b8=_0x42c0cb[_0x5afdb0(0x1f8)]-0x1,_0x2a3c9e;_0x3541b8>=0x0;_0x3541b8--)(_0x2a3c9e=_0x42c0cb[_0x3541b8])&&(_0x12f6de=_0x2a3c9e(_0x12f6de)||_0x12f6de);return _0x12f6de;},_0x2cab82=(_0x107f0d,_0x5ae02c)=>(_0x2ef6c4,_0x3a19c6)=>_0x5ae02c(_0x2ef6c4,_0x3a19c6,_0x107f0d);let _0x3c5d66=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0xc255bb,_0x1e47a0,_0x349c81){const _0xb83c58=_0x438245;super(),_0x30d208(this,_0xb83c58(0x1b2),new Map()),_0x30d208(this,_0xb83c58(0x1bb),new Map()),_0x30d208(this,_0xb83c58(0x442),!0x1),(this[_0xb83c58(0x2dd)]=_0xc255bb,this[_0xb83c58(0x2d5)]=_0x1e47a0,this[_0xb83c58(0x435)]=_0x349c81);}[_0x438245(0x30d)](){const _0x3880e7=_0x438245;this[_0x3880e7(0x442)]=!0x0;}[_0x438245(0x412)](){const _0x1d7fbc=_0x438245;this[_0x1d7fbc(0x442)]=!0x1;}get[_0x438245(0x340)](){const _0x93a080=_0x438245;return this[_0x93a080(0x1bb)];}[_0x438245(0x3f7)](){const _0x4030f9=_0x438245;this[_0x4030f9(0x3bc)]()[_0x4030f9(0x2c1)](()=>super['dispose']());}async[_0x438245(0x308)](_0x2c2f11){const _0x1d6d7c=_0x438245;return this[_0x1d6d7c(0x442)]?null:this[_0x1d6d7c(0x2d5)][_0x1d6d7c(0x200)](_0x3fb0c7['getLocalCacheKey'](_0x2c2f11));}async[_0x438245(0x208)](_0x104016,_0x4da7c2){const _0xe729f9=_0x438245;return!!this[_0xe729f9(0x2d5)][_0xe729f9(0x311)](_0x104016,_0x4da7c2);}[_0x438245(0x1ae)](_0x2742cf,_0x3b1754,_0x575a7a,_0x654e1a){const _0x2a9401=_0x438245,_0x1af66c=this['_revisionService'][_0x2a9401(0x3de)](_0x2742cf);this[_0x2a9401(0x1b2)][_0x2a9401(0x42b)](_0x2742cf,{'unitID':_0x2742cf,'type':_0x3b1754,'awaitingChangeset':_0x575a7a,'mutations':_0x654e1a,'rev':_0x1af66c}),this[_0x2a9401(0x1bb)][_0x2a9401(0x25a)](_0x2742cf)||this[_0x2a9401(0x24a)](_0x2742cf);}[_0x438245(0x24a)](_0x226259){const _0x4865c4=_0x438245,_0x5a6304=this[_0x4865c4(0x38f)]();_0x5a6304===0x0?this[_0x4865c4(0x421)](_0x226259):this[_0x4865c4(0x1bb)][_0x4865c4(0x42b)](_0x226259,setTimeout(()=>this['_saveCache'](_0x226259),_0x5a6304));}['_getSaveTimeout'](){const _0x2dab63=_0x438245;var _0x353650;return(_0x353650=this[_0x2dab63(0x2dd)]['getConfig'](_0x3fb0c7[_0x2dab63(0x390)]))!=null?_0x353650:_0x3fb0c7[_0x2dab63(0x22f)];}[_0x438245(0x421)](_0x792fa1){const _0x26a776=_0x438245,_0x43efba=this[_0x26a776(0x1bb)]['get'](_0x792fa1);return _0x43efba!==void 0x0&&window['clearTimeout'](_0x43efba),this['_localStorageService'][_0x26a776(0x311)](_0x3fb0c7[_0x26a776(0x28c)](_0x792fa1),this['_cachedData'][_0x26a776(0x3f6)](_0x792fa1))['then'](()=>this['_saveTaskMap'][_0x26a776(0x3b2)](_0x792fa1));}async[_0x438245(0x3bc)](){const _0x5b4e16=_0x438245,_0x29a04f=[];this[_0x5b4e16(0x1bb)][_0x5b4e16(0x237)]((_0x2847b8,_0x236f1e)=>{const _0x4efe5c=_0x5b4e16;window[_0x4efe5c(0x37a)](_0x2847b8),_0x29a04f[_0x4efe5c(0x2d3)](this[_0x4efe5c(0x421)](_0x236f1e)[_0x4efe5c(0x2c1)](()=>{const _0x529dc6=_0x4efe5c;this[_0x529dc6(0x1bb)]['delete'](_0x236f1e);}));}),await Promise['all'](_0x29a04f);}};_0x3c5d66=_0x2d0c05([_0x2cab82(0x0,_0x4d7567[_0x438245(0x1ab)]),_0x2cab82(0x1,_0x4d7567[_0x438245(0x203)]),_0x2cab82(0x2,_0x4d7567[_0x438245(0x317)](_0x249cc5[_0x438245(0x396)]))],_0x3c5d66);class _0x1c9e0b extends _0x4d7567[_0x438245(0x2b8)]{constructor(){const _0x3fa604=_0x438245;super(),_0x30d208(this,_0x3fa604(0x259)),this[_0x3fa604(0x259)]=_0x302f1e['fromEvent'](window,'popstate')[_0x3fa604(0x3eb)](_0x302f1e[_0x3fa604(0x416)](this[_0x3fa604(0x287)]),_0x302f1e[_0x3fa604(0x373)](0x1),_0x302f1e[_0x3fa604(0x360)](void 0x0));}[_0x438245(0x319)](_0x496b76,_0x1dabc5,_0x32ab66=!0x1){const _0x1edc15=_0x438245,_0x2b39ec=new URL(window[_0x1edc15(0x25c)]['href']);_0x2b39ec[_0x1edc15(0x2dc)][_0x1edc15(0x42b)](_0x496b76,_0x1dabc5),_0x32ab66?window[_0x1edc15(0x24f)]['replaceState']('','',_0x2b39ec[_0x1edc15(0x23b)]()):window[_0x1edc15(0x24f)]['pushState']('','',_0x2b39ec[_0x1edc15(0x23b)]());}[_0x438245(0x2f6)](_0x566963,_0x22162a=!0x1){const _0x21a047=_0x438245,_0x2b2d68=new URL(window[_0x21a047(0x25c)][_0x21a047(0x24b)]);_0x2b2d68[_0x21a047(0x2dc)][_0x21a047(0x3b2)](_0x566963),_0x22162a?window[_0x21a047(0x24f)][_0x21a047(0x43f)]('','',_0x2b2d68['toString']()):window[_0x21a047(0x24f)][_0x21a047(0x202)]('','',_0x2b2d68[_0x21a047(0x23b)]());}[_0x438245(0x1eb)](_0x3da252){const _0x2f8418=_0x438245;var _0x8dbcf4;return(_0x8dbcf4=new URL(window['location'][_0x2f8418(0x24b)])[_0x2f8418(0x2dc)][_0x2f8418(0x3f6)](_0x3da252))!=null?_0x8dbcf4:void 0x0;}}var _0x401aa9=Object['defineProperty'],_0x1336d1=Object[_0x438245(0x23f)],_0x42ed0a=(_0x47fa68,_0x281ef6,_0x5e3136)=>_0x281ef6 in _0x47fa68?_0x401aa9(_0x47fa68,_0x281ef6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e3136}):_0x47fa68[_0x281ef6]=_0x5e3136,_0x4f6c7d=(_0xf1bbfe,_0x236268,_0x3d89cc,_0x1700df)=>{const _0x5837c2=_0x438245;for(var _0x467768=_0x1700df>0x1?void 0x0:_0x1700df?_0x1336d1(_0x236268,_0x3d89cc):_0x236268,_0x381f30=_0xf1bbfe[_0x5837c2(0x1f8)]-0x1,_0x1b9787;_0x381f30>=0x0;_0x381f30--)(_0x1b9787=_0xf1bbfe[_0x381f30])&&(_0x467768=_0x1b9787(_0x467768)||_0x467768);return _0x467768;},_0x5d603a=(_0x2e9203,_0x3dbd16)=>(_0x461f9a,_0x5036d2)=>_0x3dbd16(_0x461f9a,_0x5036d2,_0x2e9203),_0x225bcf=(_0x34f876,_0x29f175,_0x42384e)=>_0x42ed0a(_0x34f876,_0x29f175+'',_0x42384e);const _0xe9285a=_0x438245(0x2a4);_0x417bf1[_0x438245(0x3b6)]=class extends _0x4d7567[_0x438245(0x217)]{constructor(_0x5a4fe4=_0x26405a,_0x46992a,_0x57ceff,_0xc515e3){const _0x5b9673=_0x438245;super(),this['_config']=_0x5a4fe4,this[_0x5b9673(0x398)]=_0x46992a,this[_0x5b9673(0x3fa)]=_0x57ceff,this[_0x5b9673(0x2dd)]=_0xc515e3;const {..._0x79913c}=_0x4d7567['merge']({},_0x26405a,this[_0x5b9673(0x2d7)]);this[_0x5b9673(0x2dd)][_0x5b9673(0x3d0)](_0x5d35a6,_0x79913c);}[_0x438245(0x359)](){const _0x477743=_0x438245;this[_0x477743(0x383)](),this[_0x477743(0x2e3)]();}['onRendered'](){const _0x2b8048=_0x438245;this[_0x2b8048(0x2a5)]();}[_0x438245(0x383)](){const _0x6f0f7c=_0x438245;var _0x4d6395;const _0x32e141=[[_0x5b3fee],[_0x1cb1bc],[_0x438ba9],[_0x2a1fe6],[_0x4b7e32],[_0x32b781,{'useClass':_0x1c9e0b}],[_0x4f9d2b['ISocketService'],{'useClass':_0x4f9d2b[_0x6f0f7c(0x336)]}],[_0x3fb0c7['ILocalCacheService'],{'useClass':_0x3c5d66}],[_0x417bf1[_0x6f0f7c(0x3bd)]],[_0x14565b],[_0xa23e12],[_0x18bdc8],[_0x3431b4],[_0x417bf1[_0x6f0f7c(0x271)]]];_0x4d7567[_0x6f0f7c(0x290)](this['_injector'],_0x4d7567[_0x6f0f7c(0x3b3)](_0x32e141,(_0x4d6395=this[_0x6f0f7c(0x2d7)])==null?void 0x0:_0x4d6395[_0x6f0f7c(0x20d)]));}['_registerRenderDependencies'](){const _0xd621e2=_0x438245;this[_0xd621e2(0x2d6)](this[_0xd621e2(0x398)]['registerRenderModule'](_0x4d7567[_0xd621e2(0x364)][_0xd621e2(0x312)],[_0x3079c3])),this[_0xd621e2(0x2d6)](this[_0xd621e2(0x398)]['registerRenderModule'](_0x4d7567[_0xd621e2(0x364)][_0xd621e2(0x3ef)],[_0x188902]));}['_initDependencies'](){const _0xe9d652=_0x438245;_0x4d7567['touchDependencies'](this['_injector'],[[_0x18bdc8],[_0x417bf1[_0xe9d652(0x3bd)]],[_0x14565b],[_0xa23e12],[_0x417bf1[_0xe9d652(0x271)]]]);}},_0x225bcf(_0x417bf1[_0x438245(0x3b6)],'pluginName',_0xe9285a),_0x417bf1['UniverCollaborationClientUIPlugin']=_0x4f6c7d([_0x4d7567[_0x438245(0x20c)](_0x3fb0c7[_0x438245(0x1c0)]),_0x5d603a(0x1,_0x4a12db['IRenderManagerService']),_0x5d603a(0x2,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x5d603a(0x3,_0x4d7567[_0x438245(0x1ab)])],_0x417bf1[_0x438245(0x3b6)]);var _0x5d63ce=Object[_0x438245(0x23f)],_0x3d37f6=(_0x1cfd78,_0x1b183c,_0x149548,_0x1875e1)=>{const _0x3564d4=_0x438245;for(var _0xe1971e=_0x1875e1>0x1?void 0x0:_0x1875e1?_0x5d63ce(_0x1b183c,_0x149548):_0x1b183c,_0x1a0475=_0x1cfd78[_0x3564d4(0x1f8)]-0x1,_0x201d2c;_0x1a0475>=0x0;_0x1a0475--)(_0x201d2c=_0x1cfd78[_0x1a0475])&&(_0xe1971e=_0x201d2c(_0xe1971e)||_0xe1971e);return _0xe1971e;},_0x4ef4e2=(_0x4b9c61,_0x555251)=>(_0x23c339,_0x288b8e)=>_0x555251(_0x23c339,_0x288b8e,_0x4b9c61);_0x417bf1[_0x438245(0x3ee)]=class extends _0x3fb0c7['CollaborationSocketService']{constructor(_0x3ab9e2,_0x10996a,_0x3e671c,_0x5a1b3d,_0xe3ad2e){super(_0x3ab9e2,_0x10996a,_0x3e671c,_0x5a1b3d,_0xe3ad2e);}async[_0x438245(0x41a)](_0x27c730){const _0x12a3be=_0x438245,_0x203989=await this[_0x12a3be(0x381)](),_0x355abe=this[_0x12a3be(0x2ff)](_0x27c730,_0x203989);return this[_0x12a3be(0x3d2)](_0x355abe);}[_0x438245(0x2ff)](_0x43b8b7,_0x5992e5){const _0x48a8bc=_0x438245,_0x88b553=typeof window>'u'?new URL(_0x43b8b7):new URL(_0x43b8b7,window[_0x48a8bc(0x25c)]['origin']);_0x88b553[_0x48a8bc(0x2dc)][_0x48a8bc(0x42b)](_0x48a8bc(0x40e),_0x5992e5);const _0x5aa4a6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48a8bc(0x25c)][_0x48a8bc(0x2f4)]);return _0x5aa4a6['get'](_0x48a8bc(0x406))&&_0x88b553['searchParams'][_0x48a8bc(0x42b)](_0x48a8bc(0x406),_0x5aa4a6[_0x48a8bc(0x3f6)](_0x48a8bc(0x406))),_0x88b553[_0x48a8bc(0x23b)]();}async[_0x438245(0x381)](){const _0x9fcb19=_0x438245;var _0x283e64,_0x48999d,_0x4ee441;const _0x24b2c1=this[_0x9fcb19(0x2dd)][_0x9fcb19(0x229)](_0x3fb0c7[_0x9fcb19(0x1ec)]),_0x36dc3d=(_0x283e64=_0x24b2c1==null?void 0x0:_0x24b2c1['wsSessionTicketUrl'])!=null?_0x283e64:_0x3fb0c7[_0x9fcb19(0x3d5)];return(_0x4ee441=(_0x48999d=(await this[_0x9fcb19(0x247)][_0x9fcb19(0x3f6)](_0x36dc3d,{'headers':{'Content-Type':_0x9fcb19(0x2a1)}}))[_0x9fcb19(0x422)])==null?void 0x0:_0x48999d[_0x9fcb19(0x34b)])!=null?_0x4ee441:'';}},_0x417bf1[_0x438245(0x3ee)]=_0x3d37f6([_0x4ef4e2(0x0,_0x4d7567['Inject'](_0x4d7567[_0x438245(0x3f3)])),_0x4ef4e2(0x1,_0x4d7567[_0x438245(0x317)](_0x4f9d2b[_0x438245(0x3ab)])),_0x4ef4e2(0x2,_0x4d7567[_0x438245(0x1ab)]),_0x4ef4e2(0x3,_0x4d7567[_0x438245(0x20f)]),_0x4ef4e2(0x4,_0x249cc5[_0x438245(0x228)])],_0x417bf1['BrowserCollaborationSocketService']);const _0x5df68d=0x7530,_0x518bb8=_0x438245(0x393);class _0x398ee9 extends _0x4d7567[_0x438245(0x219)]{constructor(){const _0x54aad5=_0x438245;super(),_0x30d208(this,_0x54aad5(0x209),_0x4d7567[_0x54aad5(0x430)]()),_0x30d208(this,_0x54aad5(0x405),new Set()),_0x30d208(this,_0x54aad5(0x408),new Map()),_0x30d208(this,_0x54aad5(0x2c2),null),_0x30d208(this,_0x54aad5(0x291),new Map()),_0x30d208(this,_0x54aad5(0x21a),new Map()),this[_0x54aad5(0x38b)]();}[_0x438245(0x3f7)](){const _0x5bffcc=_0x438245;super[_0x5bffcc(0x3f7)](),this[_0x5bffcc(0x291)][_0x5bffcc(0x237)]((_0x4137c3,_0x250618)=>this[_0x5bffcc(0x215)](_0x250618)),this[_0x5bffcc(0x2c2)]&&window[_0x5bffcc(0x1af)](this[_0x5bffcc(0x2c2)]);}['getUnitStatus$'](_0x32e1be){const _0x4aa504=_0x438245;return this[_0x4aa504(0x21f)](_0x32e1be)[_0x4aa504(0x3eb)](_0x302f1e[_0x4aa504(0x333)]());}[_0x438245(0x1c4)](_0x2c90d7){const _0x25d5e7=_0x438245;this[_0x25d5e7(0x405)][_0x25d5e7(0x1d9)]===0x0&&this[_0x25d5e7(0x42d)](),this['_selfUnitIDs']['add'](_0x2c90d7),this[_0x25d5e7(0x379)]({'type':0x0,'memberID':this[_0x25d5e7(0x209)],'unitIDs':[_0x2c90d7],'isForwarded':!0x1});}[_0x438245(0x36d)](_0xc8e8f7){const _0x641968=_0x438245;this[_0x641968(0x405)][_0x641968(0x3b2)](_0xc8e8f7),this[_0x641968(0x405)][_0x641968(0x1d9)]===0x0&&this[_0x641968(0x2c2)]&&window[_0x641968(0x1af)](this[_0x641968(0x2c2)]);}[_0x438245(0x38b)](){const _0x4941bd=_0x438245;this[_0x4941bd(0x2d6)](_0x4d7567[_0x4941bd(0x36b)](_0x302f1e[_0x4941bd(0x1ef)](window,_0x4941bd(0x206))[_0x4941bd(0x277)](_0x3d55=>{const _0x1791fe=_0x4941bd;if(_0x3d55['key']!==_0x518bb8||!_0x3d55[_0x1791fe(0x363)])return;const _0x58a7a9=JSON[_0x1791fe(0x334)](_0x3d55[_0x1791fe(0x363)]);this['_handleEvent'](_0x58a7a9);}))),window[_0x4941bd(0x34d)](_0x4941bd(0x3a0),()=>this['_send']({'type':0x1,'memberID':this[_0x4941bd(0x209)],'unitIDs':Array[_0x4941bd(0x1e0)](this['_selfUnitIDs'])}));}[_0x438245(0x3a2)](_0x4cba65){const _0x2d40d9=_0x438245;switch(_0x4cba65['type']){case 0x0:this[_0x2d40d9(0x1c2)](_0x4cba65);break;case 0x1:this[_0x2d40d9(0x397)](_0x4cba65);break;case 0x2:this[_0x2d40d9(0x353)](_0x4cba65);break;}}[_0x438245(0x1c2)](_0x363237){const _0x48d3fd=_0x438245,{unitIDs:_0x4bef07,memberID:_0x211954,isForwarded:_0x5dee76}=_0x363237;_0x4bef07['forEach'](_0x224f6b=>{const _0x2cbf0a=_0x1bed;if(!_0x5dee76&&this[_0x2cbf0a(0x408)][_0x2cbf0a(0x25a)](_0x224f6b)&&this[_0x2cbf0a(0x21f)](_0x224f6b)[_0x2cbf0a(0x31f)](_0x3fb0c7[_0x2cbf0a(0x40b)][_0x2cbf0a(0x3bf)]),!this[_0x2cbf0a(0x408)]['has'](_0x224f6b)||!this[_0x2cbf0a(0x408)][_0x2cbf0a(0x3f6)](_0x224f6b)[_0x2cbf0a(0x25a)](_0x211954)){const _0x4ed65c=this[_0x2cbf0a(0x408)][_0x2cbf0a(0x3f6)](_0x224f6b)||new Set();_0x4ed65c['add'](_0x211954),this[_0x2cbf0a(0x408)]['set'](_0x224f6b,_0x4ed65c),this[_0x2cbf0a(0x2c4)](_0x211954);}}),_0x5dee76||this[_0x48d3fd(0x379)]({'type':0x0,'memberID':this[_0x48d3fd(0x209)],'unitIDs':[...this[_0x48d3fd(0x405)]],'isForwarded':!0x0});}[_0x438245(0x2c4)](_0x3b7259){const _0x5aa717=_0x438245;this[_0x5aa717(0x215)](_0x3b7259);const _0x1dfd72=window[_0x5aa717(0x318)](()=>{const _0x5dcecb=_0x5aa717;this[_0x5dcecb(0x408)][_0x5dcecb(0x237)](_0x1d6638=>{_0x1d6638['delete'](_0x3b7259);});},_0x5df68d*0x2);this[_0x5aa717(0x291)]['set'](_0x3b7259,_0x1dfd72);}[_0x438245(0x215)](_0x475a47){const _0x1841a3=_0x438245;if(this[_0x1841a3(0x291)][_0x1841a3(0x25a)](_0x475a47)){const _0x1828d3=this[_0x1841a3(0x291)]['get'](_0x475a47);_0x1828d3&&window[_0x1841a3(0x37a)](_0x1828d3),this[_0x1841a3(0x291)][_0x1841a3(0x42b)](_0x475a47,null);}}[_0x438245(0x397)](_0x46b7a6){const _0x5dea5d=_0x438245,{memberID:_0x49292d,unitIDs:_0x99ff8c}=_0x46b7a6;_0x99ff8c[_0x5dea5d(0x237)](_0x1975f6=>{const _0x17f3ff=_0x5dea5d;var _0x5e8b17;const _0x414c7c=this['_unitOnClients'][_0x17f3ff(0x3f6)](_0x1975f6);_0x414c7c&&(_0x414c7c[_0x17f3ff(0x3b2)](_0x49292d),(_0x5e8b17=this[_0x17f3ff(0x21f)](_0x1975f6))==null||_0x5e8b17[_0x17f3ff(0x31f)](_0x414c7c['size']===0x0?_0x3fb0c7['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x3fb0c7['UnitStatus'][_0x17f3ff(0x3bf)]));}),this[_0x5dea5d(0x215)](_0x49292d);}['_handleHeartbeatEvent'](_0x4ced1e){const _0x2f4130=_0x438245;this[_0x2f4130(0x2c4)](_0x4ced1e['memberID']);}[_0x438245(0x379)](_0x4589a8){const _0x3c5957=_0x438245;localStorage[_0x3c5957(0x311)](_0x518bb8,JSON[_0x3c5957(0x233)](_0x4589a8));}[_0x438245(0x42d)](){const _0x4a051d=_0x438245;this[_0x4a051d(0x2c2)]=window[_0x4a051d(0x218)](()=>{const _0x29e0cd=_0x4a051d;this['_send']({'type':0x2,'memberID':this[_0x29e0cd(0x209)]});},_0x5df68d);}[_0x438245(0x21f)](_0x31a1fd){const _0x31d3c1=_0x438245;return this[_0x31d3c1(0x21a)][_0x31d3c1(0x25a)](_0x31a1fd)||this[_0x31d3c1(0x21a)][_0x31d3c1(0x42b)](_0x31a1fd,new _0x302f1e[(_0x31d3c1(0x433))](_0x3fb0c7[_0x31d3c1(0x40b)][_0x31d3c1(0x1f1)])),this['_unitStatus'][_0x31d3c1(0x3f6)](_0x31a1fd);}}var _0x18fad9=(_0x2acc4f=>(_0x2acc4f[_0x2acc4f[_0x438245(0x443)]=0x0]=_0x438245(0x443),_0x2acc4f[_0x2acc4f['OK']=0x1]='OK',_0x2acc4f[_0x2acc4f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2acc4f[_0x2acc4f[_0x438245(0x22b)]=0x3]=_0x438245(0x22b),_0x2acc4f[_0x2acc4f[_0x438245(0x3b1)]=0x4]=_0x438245(0x3b1),_0x2acc4f[_0x2acc4f['UNAUTHENTICATED']=0x5]=_0x438245(0x2e7),_0x2acc4f[_0x2acc4f[_0x438245(0x289)]=0x6]=_0x438245(0x289),_0x2acc4f[_0x2acc4f[_0x438245(0x3d3)]=0x7]=_0x438245(0x3d3),_0x2acc4f[_0x2acc4f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2acc4f[_0x2acc4f[_0x438245(0x335)]=0x9]=_0x438245(0x335),_0x2acc4f[_0x2acc4f['LOGIN_FAILED']=0xa]=_0x438245(0x240),_0x2acc4f[_0x2acc4f[_0x438245(0x1ad)]=0x1389]=_0x438245(0x1ad),_0x2acc4f[_0x2acc4f[_0x438245(0x268)]=0x1771]=_0x438245(0x268),_0x2acc4f[_0x2acc4f[_0x438245(0x246)]=0x1772]=_0x438245(0x246),_0x2acc4f[_0x2acc4f[_0x438245(0x341)]=0x1773]=_0x438245(0x341),_0x2acc4f[_0x2acc4f['APPLY_REJECT']=0x1b59]=_0x438245(0x403),_0x2acc4f[_0x2acc4f[_0x438245(0x3e5)]=0x1b5a]=_0x438245(0x3e5),_0x2acc4f[_0x2acc4f[_0x438245(0x2a6)]=0x1b5b]=_0x438245(0x2a6),_0x2acc4f[_0x2acc4f[_0x438245(0x26b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2acc4f[_0x2acc4f[_0x438245(0x2fe)]=0x1b5d]=_0x438245(0x2fe),_0x2acc4f[_0x2acc4f[_0x438245(0x446)]=0x1f41]=_0x438245(0x446),_0x2acc4f[_0x2acc4f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x438245(0x2be),_0x2acc4f[_0x2acc4f[_0x438245(0x40c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2acc4f[_0x2acc4f['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x438245(0x400),_0x2acc4f[_0x2acc4f[_0x438245(0x42a)]=0x232c]=_0x438245(0x42a),_0x2acc4f[_0x2acc4f[_0x438245(0x264)]=0x232d]=_0x438245(0x264),_0x2acc4f[_0x2acc4f[_0x438245(0x3ff)]=0x2711]=_0x438245(0x3ff),_0x2acc4f[_0x2acc4f[_0x438245(0x25e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2acc4f[_0x2acc4f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x438245(0x263),_0x2acc4f[_0x2acc4f[_0x438245(0x389)]=0x2714]=_0x438245(0x389),_0x2acc4f[_0x2acc4f[_0x438245(0x2b4)]=0x2af9]=_0x438245(0x2b4),_0x2acc4f[_0x2acc4f[_0x438245(0x43a)]=0x2ee1]=_0x438245(0x43a),_0x2acc4f[_0x2acc4f[_0x438245(0x1fe)]=0x2ee2]='INVALID_INVITE_CODE',_0x2acc4f[_0x2acc4f[_0x438245(0x295)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2acc4f[_0x2acc4f[_0x438245(0x2ca)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2acc4f[_0x2acc4f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x438245(0x293),_0x2acc4f[_0x2acc4f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x438245(0x1df),_0x2acc4f[_0x2acc4f[_0x438245(0x274)]=0x32ca]=_0x438245(0x274),_0x2acc4f[_0x2acc4f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x438245(0x26c),_0x2acc4f[_0x2acc4f['UNRECOGNIZED']=-0x1]=_0x438245(0x2aa),_0x2acc4f))(_0x18fad9||{}),_0xf0620e=Object[_0x438245(0x23f)],_0x1f2fd3=(_0x386778,_0x257e8d,_0x5757b1,_0x4f962d)=>{for(var _0x25e2df=_0x4f962d>0x1?void 0x0:_0x4f962d?_0xf0620e(_0x257e8d,_0x5757b1):_0x257e8d,_0x1e05c7=_0x386778['length']-0x1,_0x19380d;_0x1e05c7>=0x0;_0x1e05c7--)(_0x19380d=_0x386778[_0x1e05c7])&&(_0x25e2df=_0x19380d(_0x25e2df)||_0x25e2df);return _0x25e2df;},_0x158f97=(_0x23ee6e,_0x27383d)=>(_0x5efe1c,_0x37d51d)=>_0x27383d(_0x5efe1c,_0x37d51d,_0x23ee6e);_0x417bf1[_0x438245(0x2f9)]=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0x46f0a5,_0x169d1e,_0x404055){const _0x5120cd=_0x438245;super(),this[_0x5120cd(0x2fa)]=_0x46f0a5,this[_0x5120cd(0x247)]=_0x169d1e,this['_configService']=_0x404055;}async[_0x438245(0x3b5)](_0xa44ac7,_0x2f53a6,_0x27ef9b,..._0x2866a0){const _0x29ad36=_0x438245;var _0x1d2388,_0x25ff5e,_0x11d539,_0x5ceac1;const _0x362e81=this[_0x29ad36(0x2fa)][_0x29ad36(0x3e7)]();if(!_0x362e81)throw new Error(_0x29ad36(0x224));const _0x4d1e0b=((_0x1d2388=this[_0x29ad36(0x2dd)][_0x29ad36(0x229)](_0x3fb0c7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1d2388:_0x3fb0c7[_0x29ad36(0x226)])+'/'+_0xa44ac7+'/run/'+_0x2f53a6,_0x509b4e=new URL(window[_0x29ad36(0x25c)][_0x29ad36(0x24b)]),_0x32780e={'scriptId':_0xa44ac7,'runId':(_0x25ff5e=_0x509b4e[_0x29ad36(0x2dc)][_0x29ad36(0x3f6)](_0x29ad36(0x406)))!=null?_0x25ff5e:'','function':_0x2f53a6,'unitId':_0x362e81[_0x29ad36(0x260)](),'argsOfFunction':JSON[_0x29ad36(0x233)](_0x2866a0),'invokeId':(_0x11d539=_0x27ef9b['invokeId'])!=null?_0x11d539:'','executionId':(_0x5ceac1=_0x27ef9b['executionId'])!=null?_0x5ceac1:''};try{const _0x4d8a9e=await this[_0x29ad36(0x247)][_0x29ad36(0x418)](_0x4d1e0b,{'body':_0x32780e});return _0x4d8a9e[_0x29ad36(0x422)]['error']&&_0x4d8a9e[_0x29ad36(0x422)][_0x29ad36(0x30e)][_0x29ad36(0x201)]!==_0x18fad9['OK']?_0x29ad36(0x3e0):_0x4d8a9e[_0x29ad36(0x422)][_0x29ad36(0x1e6)];}catch{return _0x29ad36(0x3e0);}}},_0x417bf1['RemoteUniscriptService']=_0x1f2fd3([_0x158f97(0x0,_0x4d7567['IUniverInstanceService']),_0x158f97(0x1,_0x4d7567[_0x438245(0x317)](_0x4f9d2b['HTTPService'])),_0x158f97(0x2,_0x4d7567[_0x438245(0x1ab)])],_0x417bf1[_0x438245(0x2f9)]),_0x417bf1[_0x438245(0x337)]=_0x25fd1d,_0x417bf1[_0x438245(0x2af)]=_0x32b781,_0x417bf1[_0x438245(0x395)]=_0x5b3bbe,_0x417bf1[_0x438245(0x305)]=_0x398ee9,_0x417bf1['WebURLService']=_0x1c9e0b,Object[_0x438245(0x2fd)](_0x417bf1,Symbol['toStringTag'],{'value':'Module'});}));function _0x2d63(){const _0x4ca486=['jiqing500','unit','engine','APPLY_NON_SEQUENTIAL_REVISION','purple300','getFocusedUnit','_docTransformStateCacheService','_getMergeRange','_labelPosition','pipe','TEXT_RANGE_LAYER_INDEX','getActiveRange','BrowserCollaborationSocketService','UNIVER_SHEET','_online','restore','#FFF','Injector','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startsWith','get','dispose','@univerjs/ui','unsubscribe','_injector','_render','div','IUniverInstanceService','executeCommand','YUUMI_UNABLE_LOAD_URL','LICENSE_IMPORT_SIZE_EXCEEDED','handleMoveRange','_urlService','APPLY_REJECT','getCurrentUnitForType','_selfUnitIDs','runId','_onRefRangeChange','_unitOnClients','@univerjs-pro/collaboration-client','getMember','UnitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','textRanges','sessionTicket','_range','fillStyle','RECT','enableLocalCache','UniverProCollaboration','some','skeleton','takeUntil','cursorInfo','post','collaboration.closeRoom','createSocket','NOT_COLLAB','6938720iRXYcD','handleInsertRangeMoveRight','DisposableCollection','fill','name','_saveCache','body','fillText','getUndoRedoMutationParamsCache','DocSelectionManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getValue','show','bottom','LICENSE_EXPORT_SIZE_EXCEEDED','set','registerRefRange','_scheduleHeartbeat','children','_localCacheService','generateRandomId','collab-text-range-','Optional','BehaviorSubject','_cursorInfo$','_revisionService','@univerjs/sheets','UniverNetwork','transform','LocaleService','INVITE_CODE_HAS_BEEN_UES','filter','IRemoteInstanceService','SOCKET_FAILED_RETRY','roomMembers$','replaceState','evenodd','_refreshCollabCursors','_disabled','UNDEFINED','sheetID','selection','CONNECTOR_DATA_TOO_LARGE','IConfigService','ranges','CHANGESET_REVISION_CONFILICT','updateOfflineData','clearInterval','debug','url(#on-line-single_clip0_910_349)','_cachedData','drawWith','_docTransformSelectionsService','@univerjs/docs-ui','InsertRowCommandId','range','url(#off-line-single_clip0_910_343)','top','TEXT','_saveTaskMap','arc','moveTo','off-line-single_clip0_910_343','max','UniverCollaborationClientPlugin','onMouseMove','_handleJoinEvent','_entities','editingUnit','on-line-single','_initStatusComponent','_shapes','_draw','_entityInit$','off-line-single','BuiltInUIPart','values','INotificationService','getSheetId','CollaborationController','string','mask','MemberService','ILocalCacheService','@univerjs/engine-render','collabStatus.offline','_docSkeleton','_assignedColors','createInstance','size','DOC_RANGE_TYPE','_getAnchorBounding','source','currentSkeleton$','red300','WECHAT_HAS_BEEN_BOUND','from','doc.mutation.rich-text-editing','_initEvent','DocIMEInputManagerService','@univerjs/rpc','_scene','result','_colorAssignService','SYNCED','getCoordByCell','undoState','getParam','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','transformStateCache','2XxKXxz','fromEvent','unitId','NO_OTHER_CLIENTS_EDITING','contains','docStateChange$','DeleteRangeMoveLeftCommandId','function','extend','UniverDrawing','length','751080ofNNlK','handleIRemoveRow','rxjs','getTypeOfUnitAdded$','transformSelections','INVALID_INVITE_CODE','width','getItem','code','pushState','ILocalStorageService','AWAITING_WITH_PENDING','_transformUndoRedoStack','storage','PENDING','saveOfflineData','_id','triggerDblclick','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','DependentOn','override','onlineStatusIcon','ILogService','forwardRef','_imageIoService','collaboration-client-ui.config','875105hBEAcg','createElement','_removeClearOtherTimer','FETCH_MISS','Plugin','setInterval','Disposable','_unitStatus','collaboration-client.offline-data-not-saved','_collabCursorState$','UniverEngineRender','syncEditingCollabCursor','_ensureSubject','142670vlYXGt','UniverIcon','color','collab-rect-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SheetSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setShapeProps','ISnapshotServerService','getConfig','use','PERMISSION_DENIED','SheetsSelectionsService','indexOf','IUIPartsService','LOCAL_CACHE_INTERVAL','connectInjector','path','UPDATE_CURSOR','stringify','m1Prime','@univerjs/docs','subscribeEvent','forEach','subUnitId','session.collaboration-timeout','collabStatus.synced','toString','_colorIndex','gold400','_cursor','getOwnPropertyDescriptor','LOGIN_FAILED','symbol','registerComponent','_roomMembers$','clipPath','uni.network.url-service','SNAPSHOT_HAS_BEEN_REMOVED','_httpService','_getScale','height','_scheduleSaving','href','react','min','getColor','history','0\x200\x2017\x2016','isActive','handleDeleteRangeMoveUp','RefRangeService','RichTextEditingMutation','column','_lastPointer','propertyIsEnumerable','UniverSheets','urlChange$','has','getCollabEntity$','location','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','_eventUnsubscribe','getUnitId','black','@univerjs/design','YUUMI_RATE_OVER_LIMIT','LICENSE_DISTRO_REJECTED','RegularPolygon','getStateCache','activeSheet$','SNAPSHOT_INVALID_SNAPSHOT','reconnect','random','APPLY_PERMISSION_DENIED','EMAIL_HAS_BEEN_BOUND','IImageIoService','VIEW_MAIN','_docTransformIMECacheService','switchMap','CollaborationDataLoaderController','_removeCollabCursors','runRefRangeMutations','MOBILE_HAS_BEEN_BOUND','_collaborationUIEventService','OTHER_CLIENT_EDITING','subscribe','OFFLINE','RemoveRowCommandId','CollaborationUIEventId','className','@univerjs/network','univer-offline','startColumn','transformRemoteChangeset','@univerjs/core','session.will-retry','startRow','Warning','OnLineSingle','redoState','CLOSE_ROOM','dispose$','_initStatusListener','ALREADY_EXISTS','currentColor','CONFLICT','getLocalCacheKey','entries','useDependency','onTransformChange$','registerDependencies','_clearOtherTimers','onPointerMove$','INVITE_CODE_ALREADY_BOUND','_drawTextRange','INVITE_CODE_REQUIRED','getMergeData','1em','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','IBeforeCloseService','mutations','colorChannel1','sheetId','clsx','Unknown\x20user','transformByState','send','application/json','_textBubble','collabCursorState$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_registerRenderDependencies','APPLY_REVISION_CONFILICT','_initResize','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','roomMembers','UNRECOGNIZED','ColorKit','jsx','IRenderManagerService','_context','IURLService','assign','_hover','_hovered','onCommandExecuted','PY_RUNTIME_SCRIPT_ERROR','deepClone','_collabCursorController','addObject','RxDisposable','SetWorksheetActivateCommand','loadUnit','requireSession','transformIMECache','_notificationService','LICENSE_MAX_UNITS_EXCEEDED','ICommandService','getActiveSheet','then','_heartbeatTimer','NodePositionConvertToRectRange','_scheduleClearOtherTimer','SetSelectionsOperation','_updateLocalCursor','_logService','collabStatus.notCollab','status$','USER_NOT_INVITED_CODE','operators','SHEET_VIEWPORT_KEY','_startSheetCollabCursor','isArray','getRelativeToViewportCoord','_beforeCloseService','blue400','OffLineSingle','push','_getSheetObject','_localStorageService','disposeWithMe','_config','addHandlerCallback','univer-online-status-icon','_onCursorDelete','React','searchParams','_configService','useRef','CollaborationStatus','IMessageService','attrs','[CollaborationDataLoaderController]','_initDependencies','AWAITING','icon','_toggleOffline','UNAUTHENTICATED','@univerjs/sheets-ui','@univerjs/engine-formula','_memberService','_session','ThemeService','SUBMIT_CHANGESET_TIMEOUT','@univerjs-pro/collaboration','focused$','m2Prime','_status$','object','univer-online-status','search','getCollabCursors$','removeParam','_backgroundColor','isTransformMutationFailure','RemoteUniscriptService','_instanceService','handleInsertRangeMoveDown','offline','defineProperty','APPLY_DUPLICATED','_createSocketURL','_docSkeletonManagerService','none','MessageType','row','_updateCollabCursors','WebBrowserSingleActiveUnitService','FromArray','unitID','loadOfflineData','_cursorShapes','UniverEngineFormula','assignAColorForMemberID','Vector2','disableLocalCache','error','_transformHistoryAndStateStack','tag','setItem','UNIVER_DOC','EffectRefRangId','0\x200\x2016\x2016','unshift','_initEntityListener','Inject','setTimeout','setParam','Shape','TRANSFORM_CHANGE_OBSERVABLE_TYPE','svg','round','idSuffix','next','onlineStatusTitle','getAncestorScale','_hideTimer','SOCKET_FAILED','USERS_LEAVE','univer-online','ONLINE','call','_onCursorUpdate','_messageService','Rect','getUniverSheetInstance','Rectangle','_handleHover','getRenderById','handleDeleteRangeMoveLeft','_drawRectRange','url(#$1','whenReady','distinctUntilChanged','parse','COMPLETION_FINISHED','WebSocketService','CollaborationStatusDisplay','permission.title','onLocalMutation','univer-flex\x20univer-items-center','setStateCache','126bsfQgQ','getSkeleton','isTransformMutationsWithChangesetSuccess','_toggleOnline','saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','MUTATION','_name','findNodePositionByCharIndex','handleInsertCol','defIds','includes','complete','_dataLoaderService','_drawAnchor','ticket','UniverDesign','addEventListener','getDocRanges','_localeService','onPointerEnter$','endColumn','collabStatus.conflict','_handleHeartbeatEvent','debounce','_transformService','_updateSubUnitFromURLParams','asObservable','862307YlahSH','onStarting','measureText','resize','10192518JRfoqz','fillRule','entityInit$','setAlpha','mapTo','getOwnPropertySymbols','debounceTime','newValue','UniverInstanceType','params','replace','event$','getRangePointData','getSheetBySheetId','getCellPositionByOffset','toDisposable','with','disposeUnit','_sheetSkeletonManagerService','concat','_color','add','DataLoaderService','shareReplay','lineTo','transformMutationsWithChangeset','DocSkeletonManagerService','getTypeOfUnitDisposed$','_startDocCollabCursor','_send','clearTimeout','_uiPartsService','registerBeforeClose','transformMutation','_docClipboardService','_refRangeService','defs','_getSessionTicket','hasOwnProperty','_registerDependencies','currentTheme$','amd','COLORS','_docSyncEditingCollabCursorService','init','YUUMI_SUBSCRIPTION_NOT_FOUND','data','_init','_anchorDot','SetDocZoomRatioOperation','CollaborationSessionService','_getSaveTimeout','LOCAL_CACHE_INTERVAL_KEY','ITransformService','save','ACTIVE_UNIT_EVENT_CHANNEL','Error','SheetCollabCursorShape','RevisionService','_handleLeaveEvent','_renderManagerService','merge','_docStateChangeManagerService','hide','apply','2683941cEUjdM','_commandService','prototype','unload','permission.content','_handleEvent','session.connection-failed','endRow','InsertRangeMoveRightCommandId','CollaborationUIEventService','getUnhiddenWorksheets','addClipboardHook','makeDirty','text','HTTPService','MoveRangeCommandId','flatMap','DeleteRangeMoveUpCommandId','CollaborationEvent','univer-online-status-title','NOT_FOUND','delete','mergeOverrideWithDependencies','map','runOnServer','UniverCollaborationClientUIPlugin','M0\x200H16V16H0z','_transformPreviousActiveRange','RemoveColCommandId','Tools','displayName','exhaustSavingTask','DesktopCollaborationStatusDisplayController','eventID','OTHER_CLIENTS_EDITING','combineLatest','_collaborationController','InsertColCommandId','verdancy600','xlink:href','DocStateChangeManagerService','DocCollaborationEntity','rgba(255,\x20255,\x20255,\x200.01)','cursorInfo$','NodePositionConvertToCursor','subunit','_updateURLWithCurrentState','_initCommandExecutedListener','_anchor','imageSourceType','UniverCore','setConfig','substring','_doCreateSocket','INVALID_ARGUMENT','UniverDocs','DEFAULT_WS_SESSION_TICKET_URL','JOIN_ROOM_FAILED','InsertRangeMoveDownCommandId','_univerInstanceService','split','on-line-single_clip0_910_349','#fff','UniverRpc','_setupBeforeClosingHandler','getCurrentRevOfUnit','_themeService','Failed','type'];_0x2d63=function(){return _0x4ca486;};return _0x2d63();}
1
+ function _0x4a60(_0x5d7da2,_0x16be45){const _0x313f96=_0x313f();return _0x4a60=function(_0x4a6005,_0x1e1ee9){_0x4a6005=_0x4a6005-0x13c;let _0x336302=_0x313f96[_0x4a6005];return _0x336302;},_0x4a60(_0x5d7da2,_0x16be45);}(function(_0x2c44ba,_0x5854a3){const _0x3b8bcb=_0x4a60,_0x3e615e=_0x2c44ba();while(!![]){try{const _0x42e9b5=parseInt(_0x3b8bcb(0x314))/0x1+-parseInt(_0x3b8bcb(0x156))/0x2*(-parseInt(_0x3b8bcb(0x3c2))/0x3)+parseInt(_0x3b8bcb(0x2bc))/0x4+parseInt(_0x3b8bcb(0x28a))/0x5+parseInt(_0x3b8bcb(0x33b))/0x6*(parseInt(_0x3b8bcb(0x317))/0x7)+-parseInt(_0x3b8bcb(0x3bc))/0x8+-parseInt(_0x3b8bcb(0x14c))/0x9*(parseInt(_0x3b8bcb(0x197))/0xa);if(_0x42e9b5===_0x5854a3)break;else _0x3e615e['push'](_0x3e615e['shift']());}catch(_0x74f830){_0x3e615e['push'](_0x3e615e['shift']());}}}(_0x313f,0x9e718),function(_0x3a0b01,_0x6f44f9){const _0x374d76=_0x4a60;typeof exports==_0x374d76(0x19f)&&typeof module<'u'?_0x6f44f9(exports,require(_0x374d76(0x3de)),require(_0x374d76(0x16d)),require(_0x374d76(0x2f9)),require(_0x374d76(0x335)),require(_0x374d76(0x33d)),require(_0x374d76(0x23a)),require(_0x374d76(0x24e)),require(_0x374d76(0x2fb)),require('@univerjs-pro/collaboration'),require(_0x374d76(0x329)),require(_0x374d76(0x187)),require(_0x374d76(0x206)),require(_0x374d76(0x256)),require('react/jsx-runtime'),require(_0x374d76(0x2cd)),require(_0x374d76(0x1b9)),require(_0x374d76(0x2aa)),require(_0x374d76(0x372))):typeof define==_0x374d76(0x3b9)&&define[_0x374d76(0x217)]?define([_0x374d76(0x39e),_0x374d76(0x3de),'@univerjs/core',_0x374d76(0x2f9),_0x374d76(0x335),_0x374d76(0x33d),'@univerjs/drawing','rxjs','@univerjs/docs',_0x374d76(0x19b),_0x374d76(0x329),'@univerjs/sheets',_0x374d76(0x206),'@univerjs/sheets-ui',_0x374d76(0x19c),_0x374d76(0x2cd),_0x374d76(0x1b9),_0x374d76(0x2aa),_0x374d76(0x372)],_0x6f44f9):(_0x3a0b01=typeof globalThis<'u'?globalThis:_0x3a0b01||self,_0x6f44f9(_0x3a0b01[_0x374d76(0x1a3)]={},_0x3a0b01['UniverProCollaborationClient'],_0x3a0b01[_0x374d76(0x24d)],_0x3a0b01[_0x374d76(0x378)],_0x3a0b01['UniverNetwork'],_0x3a0b01[_0x374d76(0x303)],_0x3a0b01[_0x374d76(0x347)],_0x3a0b01[_0x374d76(0x24e)],_0x3a0b01['UniverDocs'],_0x3a0b01[_0x374d76(0x35e)],_0x3a0b01[_0x374d76(0x354)],_0x3a0b01[_0x374d76(0x1ff)],_0x3a0b01[_0x374d76(0x24e)]['operators'],_0x3a0b01['UniverSheetsUi'],_0x3a0b01[_0x374d76(0x2ff)],_0x3a0b01[_0x374d76(0x158)],_0x3a0b01[_0x374d76(0x373)],_0x3a0b01[_0x374d76(0x2ff)],_0x3a0b01[_0x374d76(0x205)]));}(this,function(_0x7e2117,_0x126ab5,_0x453419,_0x32283b,_0x54c300,_0x57d79a,_0x3a36df,_0xa78be3,_0x106a95,_0x567d4a,_0x46bdbf,_0x395bb3,_0x358e23,_0x4e23ac,_0x20e4b4,_0x2d6b6f,_0x38209c,_0x1ee08f,_0xd2a7de){'use strict';const _0x1c5799=_0x4a60;var _0x13ba27=Object[_0x1c5799(0x189)],_0x2fe920=(_0x5c99c4,_0x103d02,_0x1687d7)=>_0x103d02 in _0x5c99c4?_0x13ba27(_0x5c99c4,_0x103d02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1687d7}):_0x5c99c4[_0x103d02]=_0x1687d7,_0x1be09e=(_0x465cb7,_0x44899a,_0x58c9b1)=>_0x2fe920(_0x465cb7,typeof _0x44899a!=_0x1c5799(0x2b1)?_0x44899a+'':_0x44899a,_0x58c9b1),_0x1ad0a5=Object[_0x1c5799(0x231)],_0x238114=(_0x35f043,_0xbd3ee8,_0xa8adf,_0xb15467)=>{const _0x5ca2f0=_0x1c5799;for(var _0x52af37=_0xb15467>0x1?void 0x0:_0xb15467?_0x1ad0a5(_0xbd3ee8,_0xa8adf):_0xbd3ee8,_0x33a5e2=_0x35f043[_0x5ca2f0(0x1f0)]-0x1,_0x190431;_0x33a5e2>=0x0;_0x33a5e2--)(_0x190431=_0x35f043[_0x33a5e2])&&(_0x52af37=_0x190431(_0x52af37)||_0x52af37);return _0x52af37;},_0x1cca42=(_0x2276ea,_0x5e6ed8)=>(_0x210dcd,_0x6b303c)=>_0x5e6ed8(_0x210dcd,_0x6b303c,_0x2276ea);let _0x58ae56=class extends _0x453419['RxDisposable']{constructor(_0x13ed89,_0x4d8e26){const _0x709483=_0x1c5799;super(),this[_0x709483(0x194)]=_0x13ed89,this['_imageIoService']=_0x4d8e26,this['_init']();}[_0x1c5799(0x1fc)](){const _0xab4df9=_0x1c5799,_0x23b0e8=this;this[_0xab4df9(0x38e)](this[_0xab4df9(0x194)][_0xab4df9(0x29c)]({'onBeforePasteImage':async _0x5a354d=>{const _0x59d5ba=_0xab4df9,_0x213baa=await _0x23b0e8[_0x59d5ba(0x3d4)][_0x59d5ba(0x1d5)](_0x5a354d);return _0x213baa?{'source':_0x213baa[_0x59d5ba(0x181)],'imageSourceType':_0x213baa['imageSourceType']}:null;}}));}};_0x58ae56=_0x238114([_0x1cca42(0x0,_0x57d79a[_0x1c5799(0x1de)]),_0x1cca42(0x1,_0x3a36df[_0x1c5799(0x2dc)])],_0x58ae56);const _0x5acaa4=[_0x1c5799(0x2ee),_0x1c5799(0x1c3),_0x1c5799(0x2b9),'red300','blue400',_0x1c5799(0x22f)];class _0xc8e7b extends _0x453419[_0x1c5799(0x362)]{constructor(){const _0x225342=_0x1c5799;super(...arguments),_0x1be09e(this,_0x225342(0x278),new Map()),_0x1be09e(this,_0x225342(0x1ee),0x0);}['assignAColorForMemberID'](_0x109143){const _0x2932bf=_0x1c5799;if(this[_0x2932bf(0x278)]['has'](_0x109143))return this['_assignedColors'][_0x2932bf(0x3a2)](_0x109143);const _0x31323d=_0x5acaa4[this[_0x2932bf(0x1ee)]];return this[_0x2932bf(0x1ee)]=(this['_colorIndex']+0x1)%_0x5acaa4[_0x2932bf(0x1f0)],this['_assignedColors'][_0x2932bf(0x19a)](_0x109143,_0x31323d),_0x31323d;}}function _0x3ad10f(_0x576bd9){let _0x145b8f='';for(const _0x232bef of _0x576bd9){const {startOffset:_0x309ce7,endOffset:_0x576222,isActive:_0x3f0052,rangeType:_0x20aa49,segmentId:_0x42d8ef,segmentPage:_0x191ef5}=_0x232bef;_0x145b8f['length']&&(_0x145b8f+=','),_0x145b8f+=_0x309ce7+':'+_0x576222+':'+(_0x3f0052?'1':'0')+':'+_0x20aa49+':'+_0x42d8ef+':'+_0x191ef5;}return _0x145b8f;}function _0x532e4a(_0x1abc63){const _0x1b2d30=_0x1c5799,_0x5e7a5d=_0x1abc63[_0x1b2d30(0x39c)](','),_0x3f40af=[];for(const _0x3e20c7 of _0x5e7a5d){const [_0x2c555f,_0x569e77,_0x489552,_0x414662,_0xdc3cf8,_0x2a387b]=_0x3e20c7[_0x1b2d30(0x39c)](':');_0x3f40af[_0x1b2d30(0x1af)]({'startOffset':Number(_0x2c555f),'endOffset':Number(_0x569e77),'collapsed':_0x2c555f===_0x569e77,'isActive':_0x489552==='1','rangeType':_0x414662===_0x453419[_0x1b2d30(0x264)]['TEXT']?_0x453419['DOC_RANGE_TYPE'][_0x1b2d30(0x252)]:_0x453419[_0x1b2d30(0x264)][_0x1b2d30(0x22e)],'segmentId':typeof _0xdc3cf8==_0x1b2d30(0x1cf)?String(_0xdc3cf8):'','segmentPage':Number(_0x2a387b!=null?_0x2a387b:-0x1)});}return _0x3f40af[_0x1b2d30(0x1aa)](_0x34d1c1=>_0x34d1c1[_0x1b2d30(0x346)])||(_0x3f40af[0x0][_0x1b2d30(0x346)]=!0x0),_0x3f40af;}class _0x13f674 extends _0x453419[_0x1c5799(0x23f)]{constructor(){const _0x5f0752=_0x1c5799;super(...arguments),_0x1be09e(this,'_collabCursorState$',new _0xa78be3[(_0x5f0752(0x1a6))](null)),_0x1be09e(this,_0x5f0752(0x17f),this[_0x5f0752(0x38c)]['asObservable']());}[_0x1c5799(0x2a8)](_0x2ad1b4){const _0x2e74a2=_0x1c5799,{unitID:_0x41e621,memberID:_0x565d54,textRanges:_0x4d301}=_0x2ad1b4,_0x20e853=_0x3ad10f(_0x4d301);if(_0x20e853==='')return;const _0x360bfa={'unitID':_0x41e621,'memberID':_0x565d54,'selection':_0x20e853};this[_0x2e74a2(0x38c)][_0x2e74a2(0x1fd)](_0x360bfa);}}var _0x2976e6=Object[_0x1c5799(0x231)],_0x184fd2=(_0x52f685,_0xe01536,_0x467600,_0x2f689a)=>{for(var _0x1b7d25=_0x2f689a>0x1?void 0x0:_0x2f689a?_0x2976e6(_0xe01536,_0x467600):_0xe01536,_0x4f8366=_0x52f685['length']-0x1,_0x32c9af;_0x4f8366>=0x0;_0x4f8366--)(_0x32c9af=_0x52f685[_0x4f8366])&&(_0x1b7d25=_0x32c9af(_0x1b7d25)||_0x1b7d25);return _0x1b7d25;},_0x37ce68=(_0x1aa44b,_0x36e702)=>(_0x36f03d,_0x4b9795)=>_0x36e702(_0x36f03d,_0x4b9795,_0x1aa44b);const _0x31e101=0x12c,_0x4480b4=0x64;let _0x2df45c=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x444537,_0x3eae8b,_0x25ce3a,_0x464fe2,_0x4334be,_0x5da33a,_0xc7302a,_0x2c0e13,_0x35d0b8){const _0x586963=_0x1c5799;super(),_0x1be09e(this,'_online',!0x1),_0x1be09e(this,_0x586963(0x1fc),!0x1),_0x1be09e(this,_0x586963(0x2c7),new _0xa78be3['BehaviorSubject'](new Map())),_0x1be09e(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x1be09e(this,_0x586963(0x1ab),new _0xa78be3[(_0x586963(0x1a6))]([])),_0x1be09e(this,_0x586963(0x358),this[_0x586963(0x1ab)][_0x586963(0x14d)](_0xa78be3[_0x586963(0x2ac)](_0x31e101))),_0x1be09e(this,'_updateLocalCursor',_0x453419['debounce'](_0xadf9a=>{const _0xcd3744=_0x586963,_0x1f09df={'eventID':_0x567d4a['CollaborationEvent'][_0xcd3744(0x2ef)],'data':{'unitID':this['unitID'],'memberID':this[_0xcd3744(0x1ae)][_0xcd3744(0x33f)](),'selection':_0x3ad10f(_0xadf9a)}};this['_session'][_0xcd3744(0x36e)](_0x1f09df,this['unitID']);},_0x4480b4)),(this[_0x586963(0x257)]=_0x444537,this[_0x586963(0x1ae)]=_0x3eae8b,this[_0x586963(0x336)]=_0x25ce3a,this[_0x586963(0x225)]=_0x464fe2,this['_memberService']=_0x4334be,this['_syncEditingCollabCursorService']=_0x5da33a,this['_transformService']=_0xc7302a,this['_univerInstanceService']=_0x2c0e13,this['_commandService']=_0x35d0b8);}get[_0x1c5799(0x235)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x580804=_0x1c5799;return this[_0x580804(0x1ab)][_0x580804(0x1b1)]();}[_0x1c5799(0x2f8)](){const _0x5d22fa=_0x1c5799;super[_0x5d22fa(0x2f8)](),this['_cursorInfo$'][_0x5d22fa(0x1fd)](new Map()),this[_0x5d22fa(0x2c7)][_0x5d22fa(0x244)](),this[_0x5d22fa(0x1ab)][_0x5d22fa(0x1fd)]([]),this[_0x5d22fa(0x1ab)][_0x5d22fa(0x244)]();}[_0x1c5799(0x15d)](){const _0x1d58ff=_0x1c5799;this['_init']||(this[_0x1d58ff(0x1fc)]=!0x0,this['_session'][_0x1d58ff(0x363)][_0x1d58ff(0x14d)](_0xa78be3[_0x1d58ff(0x1e1)](this[_0x1d58ff(0x155)]))['subscribe'](_0xef7b5e=>{const _0x16dfae=_0x1d58ff;_0xef7b5e===_0x126ab5[_0x16dfae(0x283)][_0x16dfae(0x2c2)]?this[_0x16dfae(0x368)]():this['_toggleOffline']();}),this[_0x1d58ff(0x1ae)][_0x1d58ff(0x2eb)]['pipe'](_0xa78be3[_0x1d58ff(0x1e1)](this['dispose$']))[_0x1d58ff(0x159)](_0x12e84e=>{const _0x1078a4=_0x1d58ff,_0x46c527=_0x12e84e[_0x1078a4(0x340)];_0x46c527===_0x567d4a[_0x1078a4(0x203)][_0x1078a4(0x2ef)]&&this[_0x1078a4(0x31e)](_0x12e84e),_0x46c527===_0x567d4a[_0x1078a4(0x203)][_0x1078a4(0x3d3)]&&this[_0x1078a4(0x32e)](_0x12e84e);}),this[_0x1d58ff(0x38e)](this[_0x1d58ff(0x170)]['onCommandExecuted'](_0x5c0f51=>{const _0x5c762c=_0x1d58ff,_0x398a1c=_0x5c0f51[_0x5c762c(0x3ae)];_0x398a1c!=null&&this[_0x5c762c(0x20d)]&&_0x5c0f51['id']===_0x106a95[_0x5c762c(0x3e0)]['id']&&_0x398a1c['unitId']===this[_0x5c762c(0x257)]&&_0x398a1c[_0x5c762c(0x29b)]===!0x1&&_0x398a1c[_0x5c762c(0x2e4)]['length']>0x0&&this[_0x5c762c(0x3d0)](_0x398a1c[_0x5c762c(0x2e4)]);})),this[_0x1d58ff(0x39a)][_0x1d58ff(0x17f)]['pipe'](_0xa78be3['takeUntil'](this['dispose$']))[_0x1d58ff(0x159)](_0x2e403b=>{const _0x3b17c4=_0x1d58ff;if((_0x2e403b==null?void 0x0:_0x2e403b[_0x3b17c4(0x257)])!==this[_0x3b17c4(0x257)])return;const _0x3d2a15={'eventID':_0x567d4a[_0x3b17c4(0x203)][_0x3b17c4(0x2ef)],'data':_0x2e403b};this['_onCursorUpdate'](_0x3d2a15);}),this[_0x1d58ff(0x38e)](this[_0x1d58ff(0x170)][_0x1d58ff(0x3da)](_0x5621e3=>{const _0x573d6a=_0x1d58ff;if(_0x5621e3[_0x573d6a(0x3ae)]==null)return;const _0x3bfcc7=_0x5621e3[_0x573d6a(0x3ae)];if(_0x5621e3['id']!==_0x106a95['RichTextEditingMutation']['id']||_0x3bfcc7['unitId']!==this[_0x573d6a(0x257)])return;const _0x59ae97={'id':_0x573d6a(0x1b5),'params':_0x3bfcc7},_0x1bc5a9=this[_0x573d6a(0x235)];for(const [_0x513db1,_0xdc31f4]of _0x1bc5a9){const _0x258798={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x573d6a(0x257)],'actions':null,'textRanges':_0xdc31f4[_0x573d6a(0x2e4)]}},_0x30ab53=this[_0x573d6a(0x24c)][_0x573d6a(0x3c9)](_0x59ae97,_0x258798,!0x1);if(_0x567d4a[_0x573d6a(0x1e3)](_0x30ab53))throw _0x30ab53[_0x573d6a(0x29e)];_0x1bc5a9[_0x573d6a(0x19a)](_0x513db1,{..._0xdc31f4,'ranges':_0x30ab53[_0x573d6a(0x3bd)][_0x573d6a(0x3ae)]['textRanges']});}queueMicrotask(()=>{const _0x4eb577=_0x573d6a;this['_cursorInfo$'][_0x4eb577(0x1fd)](_0x1bc5a9);});})));}[_0x1c5799(0x31e)](_0x56082b){const _0x20269e=_0x1c5799;var _0x29c66d,_0x24e4bf;const {memberID:_0x470f60,selection:_0x213974}=_0x56082b[_0x20269e(0x287)],_0x438478=_0x532e4a(_0x213974),_0x6bb936=(_0x24e4bf=(_0x29c66d=this['_memberService']['getMember'](this['unitID'],_0x470f60))==null?void 0x0:_0x29c66d['name'])!=null?_0x24e4bf:_0x20269e(0x393),_0x4fb317={'color':this[_0x20269e(0x225)]['assignAColorForMemberID'](_0x470f60),'name':_0x6bb936,'ranges':_0x438478},_0x346a91=this[_0x20269e(0x235)];_0x346a91['set'](_0x470f60,_0x4fb317),this[_0x20269e(0x2c7)][_0x20269e(0x1fd)](_0x346a91);}[_0x1c5799(0x32e)](_0x201834){const _0xc275e0=_0x1c5799,{memberID:_0x5398b3}=_0x201834[_0xc275e0(0x287)],_0x103087=this['cursorInfo'];_0x103087[_0xc275e0(0x1a0)](_0x5398b3),this['_cursorInfo$'][_0xc275e0(0x1fd)](_0x103087);}[_0x1c5799(0x368)](){const _0x243fbe=_0x1c5799;var _0x1d450b;if(this['_online']=!0x0,((_0x1d450b=this[_0x243fbe(0x3cb)]['getFocusedUnit']())==null?void 0x0:_0x1d450b[_0x243fbe(0x2e8)]())!==this['unitID'])return;const _0x17b7b6=this['_injector'][_0x243fbe(0x3a2)](_0x106a95[_0x243fbe(0x1c1)])['getDocRanges']();Array[_0x243fbe(0x29a)](_0x17b7b6)&&_0x17b7b6[_0x243fbe(0x1f0)]>0x0&&this['_updateLocalCursor'](_0x17b7b6);}[_0x1c5799(0x2de)](){const _0x4aba89=_0x1c5799;this[_0x4aba89(0x20d)]=!0x1;}};_0x2df45c=_0x184fd2([_0x37ce68(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x37ce68(0x3,_0x453419[_0x1c5799(0x229)](_0xc8e7b)),_0x37ce68(0x4,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x34b)])),_0x37ce68(0x5,_0x453419[_0x1c5799(0x229)](_0x13f674)),_0x37ce68(0x6,_0x567d4a[_0x1c5799(0x29f)]),_0x37ce68(0x7,_0x453419[_0x1c5799(0x1c8)]),_0x37ce68(0x8,_0x453419['ICommandService'])],_0x2df45c);var _0x4800a3=Object[_0x1c5799(0x231)],_0xb2236a=(_0x402572,_0x1f6560,_0x7d6537,_0x4394e0)=>{const _0x585892=_0x1c5799;for(var _0x5c791a=_0x4394e0>0x1?void 0x0:_0x4394e0?_0x4800a3(_0x1f6560,_0x7d6537):_0x1f6560,_0x3cdb19=_0x402572[_0x585892(0x1f0)]-0x1,_0x5ebc57;_0x3cdb19>=0x0;_0x3cdb19--)(_0x5ebc57=_0x402572[_0x3cdb19])&&(_0x5c791a=_0x5ebc57(_0x5c791a)||_0x5c791a);return _0x5c791a;},_0x1b9551=(_0x3509b8,_0x23617a)=>(_0x1a056d,_0x35a651)=>_0x23617a(_0x1a056d,_0x35a651,_0x3509b8);const _0x29c908=0x12c,_0x15a10b=0x64,_0x3883b0=()=>{let _0x1ae2ba=[],_0x13fb28=!0x1;return _0x565a33=>{const _0xc8957f=_0x4a60;_0x1ae2ba[_0xc8957f(0x1af)](_0x565a33),_0x13fb28||(_0x13fb28=!0x0,setTimeout(()=>{const _0x4d5c58=_0xc8957f;_0x1ae2ba[_0x4d5c58(0x177)](_0x57ec5d=>_0x57ec5d()),_0x1ae2ba=[],_0x13fb28=!0x1;}));};};let _0x57b0de=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x2c7594,_0x15f2b6,_0x3222f2,_0x31e17e,_0x39d6f9,_0x30fca5,_0x2a1db5,_0x1114bb){const _0x5d300d=_0x1c5799;super(),_0x1be09e(this,'_online',!0x1),_0x1be09e(this,_0x5d300d(0x1fc),!0x1),_0x1be09e(this,_0x5d300d(0x2c7),new _0xa78be3[(_0x5d300d(0x1a6))](new Map())),_0x1be09e(this,_0x5d300d(0x3dd),this[_0x5d300d(0x2c7)][_0x5d300d(0x208)]()),_0x1be09e(this,_0x5d300d(0x1ab),new _0xa78be3[(_0x5d300d(0x1a6))]([])),_0x1be09e(this,_0x5d300d(0x358),this[_0x5d300d(0x1ab)][_0x5d300d(0x14d)](_0xa78be3[_0x5d300d(0x2ac)](_0x29c908))),_0x1be09e(this,'_updateLocalCursor',_0x453419[_0x5d300d(0x22c)]((_0x61263e,_0x500a9e)=>{const _0x3d9c58=_0x5d300d,_0x187d78={'eventID':_0x567d4a[_0x3d9c58(0x203)][_0x3d9c58(0x2ef)],'data':{'unitID':this[_0x3d9c58(0x257)],'memberID':this[_0x3d9c58(0x1ae)]['getMemberID'](),'selection':_0x46bdbf[_0x3d9c58(0x1e8)](_0x61263e,_0x500a9e[_0x3d9c58(0x168)])}};this[_0x3d9c58(0x1ae)][_0x3d9c58(0x36e)](_0x187d78,this[_0x3d9c58(0x257)]);},_0x15a10b)),(this[_0x5d300d(0x257)]=_0x2c7594,this['_session']=_0x15f2b6,this['_injector']=_0x3222f2,this['_colorAssignService']=_0x31e17e,this[_0x5d300d(0x236)]=_0x39d6f9,this[_0x5d300d(0x3cb)]=_0x30fca5,this[_0x5d300d(0x170)]=_0x2a1db5,this[_0x5d300d(0x2e9)]=_0x1114bb);}get[_0x1c5799(0x235)](){const _0x13d63b=_0x1c5799;return this[_0x13d63b(0x2c7)][_0x13d63b(0x1b1)]();}get[_0x1c5799(0x291)](){const _0x2b071d=_0x1c5799;return this[_0x2b071d(0x1ab)]['getValue']();}[_0x1c5799(0x2f8)](){const _0xf8c676=_0x1c5799;super[_0xf8c676(0x2f8)](),this[_0xf8c676(0x2c7)]['next'](new Map()),this[_0xf8c676(0x2c7)]['complete'](),this['_roomMembers$'][_0xf8c676(0x1fd)]([]),this[_0xf8c676(0x1ab)][_0xf8c676(0x244)]();}[_0x1c5799(0x15d)](){const _0x3fc0df=_0x1c5799;this[_0x3fc0df(0x1fc)]||(this['_init']=!0x0,this[_0x3fc0df(0x1ae)][_0x3fc0df(0x363)][_0x3fc0df(0x14d)](_0xa78be3[_0x3fc0df(0x1e1)](this['dispose$']))[_0x3fc0df(0x159)](_0x184d63=>{const _0x4a9fdd=_0x3fc0df;_0x184d63===_0x126ab5[_0x4a9fdd(0x283)][_0x4a9fdd(0x2c2)]?this['_toggleOnline']():this[_0x4a9fdd(0x2de)]();}),this['_session']['event$']['pipe'](_0xa78be3['takeUntil'](this[_0x3fc0df(0x155)]))['subscribe'](_0x322072=>{const _0x4cd145=_0x3fc0df,_0x38f741=_0x322072[_0x4cd145(0x340)];_0x38f741===_0x567d4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4cd145(0x31e)](_0x322072),_0x38f741===_0x567d4a[_0x4cd145(0x203)][_0x4cd145(0x3d3)]&&this[_0x4cd145(0x32e)](_0x322072);}),this[_0x3fc0df(0x174)](),this['disposeWithMe'](this[_0x3fc0df(0x170)][_0x3fc0df(0x3da)](_0x594416=>{const _0x1ef81d=_0x3fc0df;if(this['_online']&&_0x594416['id']===_0x395bb3['SetSelectionsOperation']['id']&&_0x594416['params'][_0x1ef81d(0x2e7)]===this[_0x1ef81d(0x257)]){const _0x48480d=_0x594416[_0x1ef81d(0x3ae)];this[_0x1ef81d(0x3d0)](_0x48480d[_0x1ef81d(0x1a7)],_0x48480d[_0x1ef81d(0x1d6)][0x0]);}})));}[_0x1c5799(0x31e)](_0x2ef999){const _0x1d8a76=_0x1c5799;var _0x113745,_0x23d1c2;const {memberID:_0x46703d,selection:_0x25a5a2}=_0x2ef999['data'],{sheetName:_0x551f98,range:_0x396b28}=_0x46bdbf[_0x1d8a76(0x152)](_0x25a5a2),_0xb957d={'name':(_0x23d1c2=(_0x113745=this[_0x1d8a76(0x236)][_0x1d8a76(0x250)](this[_0x1d8a76(0x257)],_0x46703d))==null?void 0x0:_0x113745[_0x1d8a76(0x299)])!=null?_0x23d1c2:_0x1d8a76(0x393),'range':this['_getMergeRange'](_0x551f98,_0x396b28),'sheetID':_0x551f98,'color':this[_0x1d8a76(0x225)][_0x1d8a76(0x243)](_0x46703d),'selection':_0x25a5a2},_0x80b488=this[_0x1d8a76(0x235)];_0x80b488[_0x1d8a76(0x19a)](_0x46703d,_0xb957d),this['_cursorInfo$']['next'](_0x80b488);}['_onCursorDelete'](_0x13a76e){const _0x3a00df=_0x1c5799,{memberID:_0x259f56}=_0x13a76e[_0x3a00df(0x287)],_0x291d0e=this[_0x3a00df(0x235)];_0x291d0e['delete'](_0x259f56),this[_0x3a00df(0x2c7)][_0x3a00df(0x1fd)](_0x291d0e);}['_getMergeRange'](_0x5e4a07,_0x4267d0){const _0x1de9f1=_0x1c5799;var _0x222176,_0x5c694a;const _0x2b5af7=(_0x5c694a=(_0x222176=this[_0x1de9f1(0x3cb)][_0x1de9f1(0x2ed)](this['unitID']))==null?void 0x0:_0x222176[_0x1de9f1(0x3db)](_0x5e4a07))==null?void 0x0:_0x5c694a[_0x1de9f1(0x2f6)]();return(_0x2b5af7==null?void 0x0:_0x2b5af7[_0x1de9f1(0x1a2)](_0x303536=>_0x453419[_0x1de9f1(0x360)][_0x1de9f1(0x36b)](_0x303536,_0x4267d0)))||_0x4267d0;}[_0x1c5799(0x174)](){const _0x4d218a=_0x1c5799,_0x2a8166=new _0x453419[(_0x4d218a(0x33c))](),_0x5966f6=_0x3883b0(),_0x1e244d=()=>{const _0x1d4060=_0x4d218a;_0x2a8166[_0x1d4060(0x2f8)]();const _0x554f5d=(_0x5a9ff7,_0x2e3800,_0x149804,_0x128e1c)=>{const _0x3b92df=_0x1d4060;let _0x57a826=[];switch(_0x5a9ff7['id']){case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x249)]:{_0x57a826=_0x395bb3['handleDeleteRangeMoveLeft'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3['EffectRefRangId'][_0x3b92df(0x1d4)]:{_0x57a826=_0x395bb3['handleDeleteRangeMoveUp'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3['EffectRefRangId'][_0x3b92df(0x1ec)]:{_0x57a826=_0x395bb3[_0x3b92df(0x27f)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x36f)]:{_0x57a826=_0x395bb3['handleInsertRangeMoveDown'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x3ad)]:{_0x57a826=_0x395bb3[_0x3b92df(0x2e1)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x23e)]:{_0x57a826=_0x395bb3[_0x3b92df(0x301)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x3df)]:{_0x57a826=_0x395bb3[_0x3b92df(0x13c)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x282)]:{_0x57a826=_0x395bb3[_0x3b92df(0x38a)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)]['RemoveRowCommandId']:{_0x57a826=_0x395bb3['handleIRemoveRow'](_0x5a9ff7,_0x128e1c);break;}}const _0x5ef578=_0x395bb3[_0x3b92df(0x308)](_0x57a826,_0x128e1c),_0x3dc445=this[_0x3b92df(0x235)][_0x3b92df(0x3a2)](_0x2e3800);if(_0x3dc445&&_0x5ef578){const _0x423939={..._0x3dc445,'range':_0x5ef578};this[_0x3b92df(0x235)]['set'](_0x2e3800,_0x423939),_0x5966f6(()=>{const _0x399fc6=_0x3b92df,_0x153257=this[_0x399fc6(0x2e9)][_0x399fc6(0x300)](_0x5ef578,_0x11ec64=>(_0x153257[_0x399fc6(0x2f8)](),_0x554f5d(_0x11ec64,_0x2e3800,_0x149804,_0x5ef578)));_0x2a8166[_0x399fc6(0x16a)](_0x153257);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1d4060(0x177)]((_0x44d672,_0x5bc8d4)=>{const _0x557d00=_0x1d4060,{range:_0x54ffad,sheetID:_0x4c3518}=_0x44d672,_0x1b8045=this['_refRangeService']['registerRefRange'](_0x54ffad,_0x138d9e=>(_0x1b8045[_0x557d00(0x2f8)](),_0x554f5d(_0x138d9e,_0x5bc8d4,_0x4c3518,_0x54ffad)));_0x2a8166['add'](_0x1b8045);});};this['disposeWithMe'](_0x453419[_0x4d218a(0x1c9)](this['_cursorInfo$'][_0x4d218a(0x159)](()=>{_0x1e244d();})));}[_0x1c5799(0x368)](){const _0xd1bee8=_0x1c5799;var _0x4a5b53,_0x2bc235;if(this[_0xd1bee8(0x20d)]=!0x0,((_0x4a5b53=this[_0xd1bee8(0x3cb)][_0xd1bee8(0x2fd)]())==null?void 0x0:_0x4a5b53[_0xd1bee8(0x2e8)]())!==this[_0xd1bee8(0x257)])return;const _0x41900b=(_0x2bc235=this['_injector'][_0xd1bee8(0x3a2)](_0x395bb3[_0xd1bee8(0x232)])[_0xd1bee8(0x1fa)]())==null?void 0x0:_0x2bc235[0x0],_0x317cd4=this['_univerInstanceService']['getCurrentUnitForType'](_0x453419[_0xd1bee8(0x247)][_0xd1bee8(0x2fc)])[_0xd1bee8(0x284)]();_0x41900b&&_0x317cd4&&this[_0xd1bee8(0x3d0)](_0x317cd4['getSheetId'](),_0x41900b);}['_toggleOffline'](){const _0x3a26e0=_0x1c5799;this[_0x3a26e0(0x20d)]=!0x1;}};_0x57b0de=_0xb2236a([_0x1b9551(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x1b9551(0x3,_0x453419[_0x1c5799(0x229)](_0xc8e7b)),_0x1b9551(0x4,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x34b)])),_0x1b9551(0x5,_0x453419[_0x1c5799(0x1c8)]),_0x1b9551(0x6,_0x453419[_0x1c5799(0x2a6)]),_0x1b9551(0x7,_0x453419[_0x1c5799(0x229)](_0x395bb3[_0x1c5799(0x21d)]))],_0x57b0de);var _0x5226cd=Object['getOwnPropertyDescriptor'],_0x4e9112=(_0x18cb7b,_0x489195,_0x20f05d,_0x4e144a)=>{for(var _0x301008=_0x4e144a>0x1?void 0x0:_0x4e144a?_0x5226cd(_0x489195,_0x20f05d):_0x489195,_0x3c4b7b=_0x18cb7b['length']-0x1,_0xf7ab6f;_0x3c4b7b>=0x0;_0x3c4b7b--)(_0xf7ab6f=_0x18cb7b[_0x3c4b7b])&&(_0x301008=_0xf7ab6f(_0x301008)||_0x301008);return _0x301008;},_0x1490b3=(_0x24c147,_0x43c9eb)=>(_0x282d1d,_0x3ccacc)=>_0x43c9eb(_0x282d1d,_0x3ccacc,_0x24c147);let _0x23e436=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x477ac7,_0x50bb8e,_0x20a6d3){const _0x585c86=_0x1c5799;super(),_0x1be09e(this,'_entities',new Map()),_0x1be09e(this,'_entityInit$',new _0xa78be3[(_0x585c86(0x395))]()),(this['_univerInstanceService']=_0x477ac7,this[_0x585c86(0x336)]=_0x50bb8e,this['_collabSessionService']=_0x20a6d3,this['_init']());}[_0x1c5799(0x2f8)](){const _0x629c9a=_0x1c5799;super[_0x629c9a(0x2f8)](),this[_0x629c9a(0x355)][_0x629c9a(0x244)](),this['_entities'][_0x629c9a(0x177)](_0x8b34c=>_0x8b34c['dispose']());}[_0x1c5799(0x248)](_0x39f658){const _0x469d4e=_0x1c5799;return this[_0x469d4e(0x2ad)]['has'](_0x39f658)?this[_0x469d4e(0x2ad)][_0x469d4e(0x3a2)](_0x39f658)[_0x469d4e(0x3dd)]:this[_0x469d4e(0x355)][_0x469d4e(0x14d)](_0xa78be3[_0x469d4e(0x2e0)](_0x191a83=>_0x191a83['unitID']===_0x39f658),_0xa78be3[_0x469d4e(0x15b)](_0x374f50=>_0x374f50[_0x469d4e(0x3dd)]));}['_init'](){const _0x1ccfa3=_0x1c5799;this['_univerInstanceService'][_0x1ccfa3(0x3ba)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x2fc)])[_0x1ccfa3(0x14d)](_0xa78be3['takeUntil'](this[_0x1ccfa3(0x155)]))[_0x1ccfa3(0x159)](async _0x1ddbc9=>{const _0xd0f75f=_0x1ccfa3,_0x586224=_0x1ddbc9[_0xd0f75f(0x2e8)](),_0x40e182=await this[_0xd0f75f(0x311)](_0x586224);this[_0xd0f75f(0x355)][_0xd0f75f(0x1fd)](_0x40e182),this[_0xd0f75f(0x2ad)][_0xd0f75f(0x19a)](_0x586224,_0x40e182);}),this[_0x1ccfa3(0x3cb)][_0x1ccfa3(0x3ba)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x3ac)])['pipe'](_0xa78be3['takeUntil'](this[_0x1ccfa3(0x155)]))[_0x1ccfa3(0x14d)](_0xa78be3['filter'](_0x316598=>!_0x316598[_0x1ccfa3(0x2e8)]()[_0x1ccfa3(0x349)]('__')))[_0x1ccfa3(0x159)](async _0x3014db=>{const _0x186503=_0x1ccfa3,_0x422885=_0x3014db[_0x186503(0x2e8)](),_0x27399e=await this['_startDocCollabCursor'](_0x422885);this[_0x186503(0x355)][_0x186503(0x1fd)](_0x27399e),this[_0x186503(0x2ad)][_0x186503(0x19a)](_0x422885,_0x27399e);}),_0xa78be3[_0x1ccfa3(0x1da)](this[_0x1ccfa3(0x3cb)][_0x1ccfa3(0x3d5)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x3ac)]),this[_0x1ccfa3(0x3cb)]['getTypeOfUnitDisposed$'](_0x453419['UniverInstanceType'][_0x1ccfa3(0x2fc)]))['pipe'](_0xa78be3['takeUntil'](this['dispose$']))['subscribe'](_0x2283df=>{const _0x3fd8d6=_0x1ccfa3,_0x534bd8=_0x2283df[_0x3fd8d6(0x2e8)](),_0xc4a319=this['_entities'][_0x3fd8d6(0x3a2)](_0x534bd8);_0xc4a319&&(_0xc4a319[_0x3fd8d6(0x2f8)](),this[_0x3fd8d6(0x2ad)][_0x3fd8d6(0x1a0)](_0x534bd8));});}async['_startSheetCollabCursor'](_0x2534d1){const _0x1c5da8=_0x1c5799,_0x3d8ec0=await this[_0x1c5da8(0x35f)][_0x1c5da8(0x2e6)](_0x2534d1),_0x57e996=this[_0x1c5da8(0x336)][_0x1c5da8(0x32f)](_0x57b0de,_0x2534d1,_0x3d8ec0);return _0x57e996[_0x1c5da8(0x15d)](),_0x57e996;}async[_0x1c5799(0x146)](_0x52f846){const _0x224335=_0x1c5799,_0x1772b3=await this[_0x224335(0x35f)][_0x224335(0x2e6)](_0x52f846),_0x5986d0=this[_0x224335(0x336)][_0x224335(0x32f)](_0x2df45c,_0x52f846,_0x1772b3);return _0x5986d0[_0x224335(0x15d)](),_0x5986d0;}};_0x23e436=_0x4e9112([_0x1490b3(0x0,_0x453419['IUniverInstanceService']),_0x1490b3(0x1,_0x453419['Inject'](_0x453419['Injector'])),_0x1490b3(0x2,_0x453419['Inject'](_0x126ab5['CollaborationSessionService']))],_0x23e436);const _0x32cd44=0x14,_0x549f1f=0xc8,_0x4e80cb=0x4,_0x18dcaf=0x5;function _0x2c134d(_0x8e635d,_0x853739){const _0x5e7b73=_0x1c5799;let {radius:_0x303055,width:_0x24ee34,height:_0x4059a3}=_0x853739;_0x303055=_0x303055!=null?_0x303055:0x0,_0x24ee34=_0x24ee34!=null?_0x24ee34:0x1e,_0x4059a3=_0x4059a3!=null?_0x4059a3:0x1e;let _0x121bf2=0x0,_0x592c25=0x0,_0x3beaec=0x0;_0x121bf2=_0x592c25=_0x3beaec=Math[_0x5e7b73(0x20f)](_0x303055,_0x24ee34/0x2,_0x4059a3/0x2),_0x8e635d[_0x5e7b73(0x141)](),_0x8e635d['moveTo'](_0x121bf2,0x0),_0x8e635d['lineTo'](_0x24ee34-_0x592c25,0x0),_0x8e635d[_0x5e7b73(0x26c)](_0x24ee34-_0x592c25,_0x592c25,_0x592c25,Math['PI']*0x3/0x2,0x0,!0x1),_0x8e635d[_0x5e7b73(0x14f)](_0x24ee34,_0x4059a3-_0x3beaec),_0x8e635d['arc'](_0x24ee34-_0x3beaec,_0x4059a3-_0x3beaec,_0x3beaec,0x0,Math['PI']/0x2,!0x1),_0x8e635d['lineTo'](0x0,_0x4059a3),_0x8e635d[_0x5e7b73(0x14f)](0x0,_0x121bf2),_0x8e635d['arc'](_0x121bf2,_0x121bf2,_0x121bf2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8e635d[_0x5e7b73(0x30f)](),_0x853739[_0x5e7b73(0x304)]&&(_0x8e635d[_0x5e7b73(0x3c5)](),_0x8e635d[_0x5e7b73(0x298)]=_0x853739[_0x5e7b73(0x304)],_0x853739['fillRule']===_0x5e7b73(0x2b7)?_0x8e635d[_0x5e7b73(0x304)]('evenodd'):_0x8e635d['fill'](),_0x8e635d['restore']());}class _0x403e07 extends _0x32283b[_0x1c5799(0x39f)]{constructor(_0x406678,_0x45ec23){const _0x206376=_0x1c5799;super(_0x406678,_0x45ec23),_0x1be09e(this,_0x206376(0x277)),_0x1be09e(this,_0x206376(0x13d)),(this[_0x206376(0x277)]=_0x45ec23==null?void 0x0:_0x45ec23[_0x206376(0x277)],this['text']=_0x45ec23==null?void 0x0:_0x45ec23[_0x206376(0x13d)]);}static[_0x1c5799(0x1e9)](_0x405f8f,_0x2151a5){const _0xa89d7b=_0x1c5799,{text:_0x3904a6,color:_0x174dd9}=_0x2151a5;_0x405f8f['save'](),_0x405f8f[_0xa89d7b(0x1bc)]=_0xa89d7b(0x396);const _0x33c249=_0x405f8f[_0xa89d7b(0x2a7)](_0x3904a6)['width'],_0x2a2bf1=Math['min'](_0x33c249+0x2*_0x4e80cb,_0x549f1f);_0x2c134d(_0x405f8f,{'height':_0x32cd44,'radius':0x4,'width':_0x2a2bf1,'fill':_0x174dd9}),_0x405f8f[_0xa89d7b(0x298)]='#FFF';const _0x560f81=_0x4e80cb,_0x17ba44=_0x32cd44-_0x18dcaf,_0x58ae2e=_0x549f1f-0x2*_0x4e80cb;if(_0x33c249>_0x58ae2e){let _0x331acc='',_0xdafc6=0x0;for(const _0x1a40fe of _0x3904a6){const _0x2eabcf=_0x405f8f[_0xa89d7b(0x2a7)](_0x1a40fe)[_0xa89d7b(0x183)];if(_0xdafc6+_0x2eabcf<=_0x58ae2e-_0x405f8f['measureText'](_0xa89d7b(0x1ba))[_0xa89d7b(0x183)])_0x331acc+=_0x1a40fe,_0xdafc6+=_0x2eabcf;else{_0x331acc+=_0xa89d7b(0x1ba);break;}}_0x405f8f[_0xa89d7b(0x399)](_0x331acc,_0x560f81,_0x17ba44);}else _0x405f8f[_0xa89d7b(0x399)](_0x3904a6,_0x560f81,_0x17ba44);_0x405f8f['restore']();}[_0x1c5799(0x263)](_0x2852fd){const _0x473463=_0x1c5799;_0x403e07[_0x473463(0x1e9)](_0x2852fd,this);}}const _0x5b49a2=_0x1c5799(0x21f),_0x52bccf=_0x1c5799(0x30b),_0x502a96=_0x1c5799(0x3b8),_0x16a415=0x6,_0x5c9a92=1.5,_0xf49071=0x4,_0x3b845a=1.5,_0x251a64=_0x1c5799(0x3ab);class _0x283a6b{constructor(_0x384049,_0x57b8e9,_0x38648e,_0x1250d6){const _0x924bdf=_0x1c5799;_0x1be09e(this,_0x924bdf(0x2ab),[]),_0x1be09e(this,_0x924bdf(0x2da),null),_0x1be09e(this,'_textBubble',null),_0x1be09e(this,'_anchorDot',null),_0x1be09e(this,_0x924bdf(0x154),null),_0x1be09e(this,_0x924bdf(0x2a2),null),(this['_cursor']=_0x384049,this['_scene']=_0x57b8e9,this[_0x924bdf(0x1c0)]=_0x38648e,this['_document']=_0x1250d6,this[_0x924bdf(0x22d)]());}set['_hover'](_0x1bcf3d){const _0x5e84d2=_0x1c5799;_0x1bcf3d?(this[_0x5e84d2(0x202)]&&this[_0x5e84d2(0x202)][_0x5e84d2(0x367)](),this[_0x5e84d2(0x1f2)]&&this['_textBubble'][_0x5e84d2(0x27c)]()):(this['_anchorDot']&&this['_anchorDot'][_0x5e84d2(0x27c)](),this[_0x5e84d2(0x1f2)]&&this[_0x5e84d2(0x1f2)][_0x5e84d2(0x367)]());}[_0x1c5799(0x2f8)](){const _0x1d08b5=_0x1c5799;for(const _0x323f0a of this[_0x1d08b5(0x2ab)])_0x323f0a[_0x1d08b5(0x2f8)]();this[_0x1d08b5(0x1f2)]&&this['_textBubble'][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x202)]&&this[_0x1d08b5(0x202)][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x2da)]&&this[_0x1d08b5(0x2da)][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x2a2)]&&this['_eventUnsubscribe']();}[_0x1c5799(0x22d)](){const _0x4cdcb3=_0x1c5799;var _0x4f4f68;const {_docSkeleton:_0x24adff,_document:_0x4eb66d}=this,{color:_0x27b25f,name:_0x23afd7,ranges:_0x15eaa8}=this[_0x4cdcb3(0x221)],_0x23f6d2=_0x4eb66d[_0x4cdcb3(0x3c1)](),{docsLeft:_0x2e89ee,docsTop:_0x531db7}=_0x23f6d2,_0x237b44=new _0x57d79a['NodePositionConvertToCursor'](_0x23f6d2,_0x24adff);for(const {startOffset:_0x439206,endOffset:_0x54be18,rangeType:_0x4bcfa4,segmentId:_0x4f05c9,segmentPage:_0x42dc04,collapsed:_0xa1767d,isActive:_0x1cb3fd}of _0x15eaa8){const _0x370265=_0x24adff['findNodePositionByCharIndex'](_0x439206,!0x0,_0x4f05c9,_0x42dc04);let _0x5a0fac=_0x24adff[_0x4cdcb3(0x31b)](_0x54be18,!0x0,_0x4f05c9,_0x42dc04);if(_0x5a0fac==null&&(_0x5a0fac=_0x24adff[_0x4cdcb3(0x31b)](_0x54be18-0x1,!0x1,_0x4f05c9,_0x42dc04)),_0x1cb3fd){const {contentBoxPointGroup:_0x37750c}=_0x237b44[_0x4cdcb3(0x1fe)](_0x5a0fac,_0x5a0fac);if(_0x37750c[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x2ce)](_0x27b25f,_0x37750c,_0x2e89ee,_0x531db7,_0x23afd7),this[_0x4cdcb3(0x2a2)]=this[_0x4cdcb3(0x1c7)]();}if(_0x370265&&_0x5a0fac){if(_0x4bcfa4===_0x453419[_0x4cdcb3(0x264)][_0x4cdcb3(0x22e)]){const _0x57d6b5=new _0x57d79a['NodePositionConvertToRectRange'](_0x23f6d2,_0x24adff),{pointGroup:_0x3efe0f}=(_0x4f4f68=_0x57d6b5[_0x4cdcb3(0x1fe)](_0x370265,_0x5a0fac))!=null?_0x4f4f68:{};if(_0x3efe0f==null||_0x3efe0f[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x151)](_0x27b25f,_0x3efe0f,_0x2e89ee,_0x531db7);}else{if(!_0xa1767d){const {borderBoxPointGroup:_0x437d67}=_0x237b44[_0x4cdcb3(0x1fe)](_0x370265,_0x5a0fac);if(_0x437d67[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x333)](_0x27b25f,_0x437d67,_0x2e89ee,_0x531db7);}}}}}[_0x1c5799(0x2ce)](_0x60bb48,_0x5e443b,_0x35b26c,_0x3a858c,_0x58ad24){const _0x28afc8=_0x1c5799,_0x9bf018=this[_0x28afc8(0x30a)](_0x5e443b),{left:_0x36b73a,top:_0xe38e7b,height:_0x1d5c85}=_0x9bf018,_0x59cecf=this[_0x28afc8(0x1cd)](),_0x3c677e=_0x3b845a/_0x59cecf,_0xa39258=new _0x32283b[(_0x28afc8(0x382))](_0x5b49a2+_0x453419[_0x28afc8(0x20e)][_0x28afc8(0x38b)](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c,'height':_0x1d5c85,'width':_0x5c9a92,'fill':_0x60bb48||_0x32283b[_0x28afc8(0x274)](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'strokeWidth':_0x3c677e,'stroke':_0x251a64,'evented':!0x0});this['_anchor']=_0xa39258,this[_0x28afc8(0x258)][_0x28afc8(0x17a)](_0xa39258,_0x57d79a['TEXT_RANGE_LAYER_INDEX']);const _0x3cbb33=new _0x32283b['Rect'](_0x5b49a2+_0x453419[_0x28afc8(0x20e)][_0x28afc8(0x38b)](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c-_0xf49071/0x2,'height':_0xf49071,'width':_0xf49071,'fill':_0x60bb48||_0x32283b[_0x28afc8(0x274)](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'strokeWidth':0x0,'stroke':_0x60bb48||_0x32283b['getColor'](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'evented':!0x1});this[_0x28afc8(0x202)]=_0x3cbb33,this[_0x28afc8(0x258)][_0x28afc8(0x17a)](_0x3cbb33,_0x57d79a['TEXT_RANGE_LAYER_INDEX']);const _0x2bbea8=new _0x403e07(_0x5b49a2+_0x453419['Tools']['generateRandomId'](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c-_0x32cd44,'text':_0x58ad24,'color':_0x60bb48});this[_0x28afc8(0x1f2)]=_0x2bbea8,this['_scene']['addObject'](_0x2bbea8,_0x57d79a[_0x28afc8(0x19d)]),this['_hover']=!0x1;}[_0x1c5799(0x1c7)](){const _0x3ab858=_0x1c5799,_0x16fd46=this[_0x3ab858(0x2da)][_0x3ab858(0x176)]['subscribeEvent'](()=>{const _0x1f3ce6=_0x3ab858;this[_0x1f3ce6(0x207)]=!0x0;}),_0x328a24=this[_0x3ab858(0x2da)][_0x3ab858(0x30e)][_0x3ab858(0x1e6)](()=>{const _0x2de472=_0x3ab858;this[_0x2de472(0x154)]&&clearTimeout(this[_0x2de472(0x154)]),this[_0x2de472(0x154)]=setTimeout(()=>{const _0xaac99=_0x2de472;this[_0xaac99(0x207)]=!0x1;},0x7d0);});return()=>{const _0x42d5f1=_0x3ab858;_0x16fd46[_0x42d5f1(0x1d9)](),_0x328a24[_0x42d5f1(0x1d9)]();};}[_0x1c5799(0x333)](_0x271053,_0x49474f,_0x1c8442,_0x4fbc2f){const _0x149321=_0x1c5799,_0x47f8cb=new _0x453419[(_0x149321(0x343))](_0x271053)[_0x149321(0x324)](0.2)[_0x149321(0x27e)](),_0x3ef389=new _0x32283b[(_0x149321(0x35a))](_0x52bccf+_0x453419['Tools'][_0x149321(0x38b)](_0x16a415),{'pointsGroup':_0x49474f,'fill':_0x47f8cb||_0x32283b[_0x149321(0x274)](_0x453419[_0x149321(0x3a1)][_0x149321(0x28d)],0.2),'left':_0x1c8442,'top':_0x4fbc2f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x149321(0x2ab)][_0x149321(0x1af)](_0x3ef389),this['_scene'][_0x149321(0x17a)](_0x3ef389,_0x57d79a[_0x149321(0x19d)]);}[_0x1c5799(0x151)](_0x40c6e5,_0x28285e,_0x5772e0,_0x245eaf){const _0x5bc66d=_0x1c5799,_0x50a689=new _0x453419[(_0x5bc66d(0x343))](_0x40c6e5)[_0x5bc66d(0x324)](0.2)[_0x5bc66d(0x27e)](),_0x2ef2c7=new _0x32283b[(_0x5bc66d(0x35a))](_0x502a96+_0x453419[_0x5bc66d(0x20e)][_0x5bc66d(0x38b)](_0x16a415),{'pointsGroup':_0x28285e,'fill':_0x50a689||_0x32283b[_0x5bc66d(0x274)](_0x453419['COLORS'][_0x5bc66d(0x28d)],0.2),'left':_0x5772e0,'top':_0x245eaf,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5bc66d(0x1af)](_0x2ef2c7),this[_0x5bc66d(0x258)][_0x5bc66d(0x17a)](_0x2ef2c7,_0x57d79a[_0x5bc66d(0x19d)]);}[_0x1c5799(0x30a)](_0x4ff45e){const _0x23dbfd=_0x4ff45e[0x0],_0x436d1e=_0x23dbfd[0x0],_0x50ad35=_0x23dbfd[0x2],{x:_0x55423c,y:_0x2d0140}=_0x436d1e,{x:_0x4fd1de,y:_0x22156b}=_0x50ad35;return{'left':_0x55423c,'top':_0x2d0140,'width':_0x4fd1de-_0x55423c,'height':_0x22156b-_0x2d0140};}['_getScale'](){const _0x440a79=_0x1c5799,{scaleX:_0x426eb6,scaleY:_0x14329c}=this['_scene'][_0x440a79(0x32b)]();return Math['max'](_0x426eb6,_0x14329c);}}var _0x175ab4=Object[_0x1c5799(0x231)],_0x51acea=(_0x43d817,_0xd6c209,_0x780cb5,_0x5a3042)=>{const _0x491753=_0x1c5799;for(var _0x40cbba=_0x5a3042>0x1?void 0x0:_0x5a3042?_0x175ab4(_0xd6c209,_0x780cb5):_0xd6c209,_0x566e33=_0x43d817[_0x491753(0x1f0)]-0x1,_0xbe217a;_0x566e33>=0x0;_0x566e33--)(_0xbe217a=_0x43d817[_0x566e33])&&(_0x40cbba=_0xbe217a(_0x40cbba)||_0x40cbba);return _0x40cbba;},_0x226852=(_0x3fed29,_0x13162d)=>(_0x412011,_0x22a2d8)=>_0x13162d(_0x412011,_0x22a2d8,_0x3fed29);let _0x177251=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x52e8a9,_0x2a8279,_0xf2485,_0x562718,_0x49cda0){const _0x549bd8=_0x1c5799;super(),_0x1be09e(this,_0x549bd8(0x245),[]),_0x1be09e(this,_0x549bd8(0x2ec),[]),(this['_context']=_0x52e8a9,this[_0x549bd8(0x180)]=_0x2a8279,this[_0x549bd8(0x1f7)]=_0xf2485,this[_0x549bd8(0x170)]=_0x562718,this[_0x549bd8(0x320)]=_0x49cda0,this[_0x549bd8(0x1fc)]());}[_0x1c5799(0x1fc)](){const _0x29d972=_0x1c5799,_0x4f6601=this[_0x29d972(0x242)][_0x29d972(0x2e7)],_0x29c233=this[_0x29d972(0x180)];this[_0x29d972(0x38e)](_0xa78be3[_0x29d972(0x2b4)]([this[_0x29d972(0x1f7)][_0x29d972(0x248)](_0x4f6601),this[_0x29d972(0x320)]['currentTheme$']])[_0x29d972(0x14d)](_0x358e23[_0x29d972(0x37c)](([_0x2ae088,_0x434a39])=>({'skeleton':_0x29c233[_0x29d972(0x32c)](),'cursors':[..._0x2ae088[_0x29d972(0x322)]()]['flatMap'](_0x5ac904=>({..._0x5ac904,'color':_0x434a39[_0x5ac904[_0x29d972(0x277)]]}))})))[_0x29d972(0x159)](_0x345699=>{const _0x2f6879=_0x29d972;if(this['_removeCollabCursors'](),_0x345699){const {skeleton:_0x1169c0,cursors:_0x37ebe3}=_0x345699;this[_0x2f6879(0x21c)](_0x1169c0,_0x37ebe3);}})),this['_initResize'](),this[_0x29d972(0x353)]();}['_updateCollabCursors'](_0xe2fc23,_0x5329ab){const _0x4c832c=_0x1c5799,{scene:_0x4cf73c,mainComponent:_0x215f52}=this[_0x4c832c(0x242)],_0x45dce4=_0x5329ab[_0x4c832c(0x37c)](_0x14787a=>new _0x283a6b(_0x14787a,_0x4cf73c,_0xe2fc23,_0x215f52));this[_0x4c832c(0x245)]=_0x45dce4,this[_0x4c832c(0x2ec)]=_0x5329ab;}['_refreshCollabCursors'](){const _0x515b69=_0x1c5799;this['_removeCollabCursors']();const {scene:_0x2409d6,mainComponent:_0x36044e}=this[_0x515b69(0x242)],_0xdb883b=this[_0x515b69(0x180)]['getSkeleton'](),_0x13587b=this[_0x515b69(0x2ec)][_0x515b69(0x37c)](_0x5bd5f5=>new _0x283a6b(_0x5bd5f5,_0x2409d6,_0xdb883b,_0x36044e));this['_cursorShapes']=_0x13587b;}['_removeCollabCursors'](){const _0x4fe48c=_0x1c5799;this[_0x4fe48c(0x245)]['forEach'](_0x13c825=>_0x13c825[_0x4fe48c(0x2f8)]()),this[_0x4fe48c(0x245)]=[];}[_0x1c5799(0x353)](){const _0x5725a1=_0x1c5799,_0x45f111=[_0x57d79a['SetDocZoomRatioOperation']['id']];this[_0x5725a1(0x38e)](this[_0x5725a1(0x170)]['onCommandExecuted'](_0x185a82=>{const _0x312d3c=_0x5725a1;_0x45f111[_0x312d3c(0x293)](_0x185a82['id'])&&_0x185a82[_0x312d3c(0x3ae)][_0x312d3c(0x2e7)]===this[_0x312d3c(0x242)]['unitId']&&this[_0x312d3c(0x3b4)]();}));}['_initResize'](){const _0x13b159=_0x1c5799;this[_0x13b159(0x38e)](_0x453419[_0x13b159(0x1f5)](this[_0x13b159(0x242)][_0x13b159(0x216)][_0x13b159(0x213)])[_0x13b159(0x14d)](_0x358e23[_0x13b159(0x2e0)](_0x1c8ecb=>_0x1c8ecb[_0x13b159(0x186)]===_0x32283b[_0x13b159(0x1c4)]['resize']),_0x358e23[_0x13b159(0x31d)](0x10))[_0x13b159(0x159)](()=>{const _0x113150=_0x13b159;this[_0x113150(0x3b4)]();}));}};_0x177251=_0x51acea([_0x226852(0x1,_0x453419[_0x1c5799(0x229)](_0x106a95[_0x1c5799(0x371)])),_0x226852(0x2,_0x453419[_0x1c5799(0x229)](_0x23e436)),_0x226852(0x3,_0x453419[_0x1c5799(0x2a6)]),_0x226852(0x4,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x2d8)]))],_0x177251);const _0x2a8249=0x1,_0x2af56b=1.5;class _0x2a871a extends _0x32283b[_0x1c5799(0x39f)]{constructor(_0x584eef,_0x33ce22){const _0x3a2916=_0x1c5799;super(_0x584eef,_0x33ce22),_0x1be09e(this,_0x3a2916(0x2c0)),_0x1be09e(this,_0x3a2916(0x334),!0x1),_0x1be09e(this,_0x3a2916(0x2f3)),_0x1be09e(this,_0x3a2916(0x1e7),''),_0x1be09e(this,_0x3a2916(0x39b),'top'),_0x1be09e(this,'_backgroundColor'),(_0x33ce22&&this['setShapeProps'](_0x33ce22),this[_0x3a2916(0x176)][_0x3a2916(0x1e6)](()=>this[_0x3a2916(0x27d)]({'hovered':!0x0})),this[_0x3a2916(0x30e)][_0x3a2916(0x1e6)](()=>this[_0x3a2916(0x27d)]({'hovered':!0x1})));}[_0x1c5799(0x27d)](_0x14e5ff){const _0x8b7e48=_0x1c5799;var _0x16cf9e,_0x30e886,_0x53041a,_0x738e98,_0x28c5b9,_0x1a6333;this['_color']=(_0x16cf9e=_0x14e5ff[_0x8b7e48(0x277)])!=null?_0x16cf9e:this[_0x8b7e48(0x2c0)],this[_0x8b7e48(0x334)]=(_0x30e886=_0x14e5ff[_0x8b7e48(0x339)])!=null?_0x30e886:this[_0x8b7e48(0x334)],this[_0x8b7e48(0x2f3)]=(_0x53041a=_0x14e5ff[_0x8b7e48(0x168)])!=null?_0x53041a:this['_range'],this[_0x8b7e48(0x1e7)]=(_0x738e98=_0x14e5ff[_0x8b7e48(0x299)])!=null?_0x738e98:this['_name'],this[_0x8b7e48(0x39b)]=(_0x28c5b9=_0x14e5ff[_0x8b7e48(0x388)])!=null?_0x28c5b9:this[_0x8b7e48(0x39b)],this[_0x8b7e48(0x173)]=(_0x1a6333=_0x14e5ff[_0x8b7e48(0x2cc)])!=null?_0x1a6333:this[_0x8b7e48(0x173)],this[_0x8b7e48(0x392)]({'width':_0x14e5ff[_0x8b7e48(0x183)],'height':_0x14e5ff['height']});}[_0x1c5799(0x33e)](_0x48bed9){const _0x5658c2=_0x1c5799,{row:_0x19a97d,column:_0x11daa3}=_0x48bed9;if(_0x19a97d>=this[_0x5658c2(0x2f3)][_0x5658c2(0x164)]&&_0x19a97d<=this[_0x5658c2(0x2f3)][_0x5658c2(0x37b)]&&_0x11daa3>=this['_range']['startColumn']&&_0x11daa3<=this[_0x5658c2(0x2f3)][_0x5658c2(0x1db)]){this[_0x5658c2(0x27d)]({'hovered':!0x0});return;}this[_0x5658c2(0x27d)]({'hovered':!0x1});}[_0x1c5799(0x1ed)](_0x2cda8f){return!0x1;}['_draw'](_0x1b4ce7){const _0x1e9336=_0x1c5799;_0x32283b[_0x1e9336(0x382)][_0x1e9336(0x1e9)](_0x1b4ce7,{'width':this[_0x1e9336(0x183)],'height':this['height'],'strokeWidth':_0x2af56b,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1e9336(0x173)]}),this['_hovered']&&(_0x1b4ce7[_0x1e9336(0x3c5)](),_0x1b4ce7[_0x1e9336(0x198)](0x1,0x0,0x0,0x1,this[_0x1e9336(0x183)],this[_0x1e9336(0x39b)]===_0x1e9336(0x260)?0x0:-0x14),_0x403e07[_0x1e9336(0x1e9)](_0x1b4ce7,{'text':this[_0x1e9336(0x1e7)],'color':this[_0x1e9336(0x2c0)]}),_0x1b4ce7[_0x1e9336(0x1dc)]());}}var _0xf5cbf=Object[_0x1c5799(0x231)],_0x5eff5d=(_0x3162a3,_0xc6f484,_0x4e29a2,_0x199cc0)=>{const _0x2adc12=_0x1c5799;for(var _0x219ed=_0x199cc0>0x1?void 0x0:_0x199cc0?_0xf5cbf(_0xc6f484,_0x4e29a2):_0xc6f484,_0xe60f55=_0x3162a3[_0x2adc12(0x1f0)]-0x1,_0x1ff226;_0xe60f55>=0x0;_0xe60f55--)(_0x1ff226=_0x3162a3[_0xe60f55])&&(_0x219ed=_0x1ff226(_0x219ed)||_0x219ed);return _0x219ed;},_0x5e7949=(_0x4d071f,_0x6a4845)=>(_0x279ccd,_0x5ea690)=>_0x6a4845(_0x279ccd,_0x5ea690,_0x4d071f);const _0x17746e=0x1389;let _0x53ff49=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x3f6b7f,_0x36d2f1,_0x18ec59,_0x1b8fc1){const _0x20cdf2=_0x1c5799;super(),_0x1be09e(this,_0x20cdf2(0x2ec),new Set()),_0x1be09e(this,_0x20cdf2(0x3c6),null),(this['_context']=_0x3f6b7f,this[_0x20cdf2(0x348)]=_0x36d2f1,this[_0x20cdf2(0x1f7)]=_0x18ec59,this[_0x20cdf2(0x320)]=_0x1b8fc1,this[_0x20cdf2(0x1fc)]());}['_init'](){const _0x6fe85e=_0x1c5799;this[_0x6fe85e(0x348)][_0x6fe85e(0x2be)][_0x6fe85e(0x14d)](_0x358e23['takeUntil'](this['dispose$']),_0x358e23[_0x6fe85e(0x15b)](_0x3b43a3=>{const _0x3ff9cd=_0x6fe85e;if(_0x3b43a3){const _0x454946=_0x3b43a3[_0x3ff9cd(0x240)];return _0xa78be3[_0x3ff9cd(0x2b4)](this['_collabCursorController'][_0x3ff9cd(0x248)](this[_0x3ff9cd(0x242)][_0x3ff9cd(0x2e7)]),this[_0x3ff9cd(0x320)][_0x3ff9cd(0x3ca)])['pipe'](_0x358e23['map'](([_0x2f6bbe,_0x5eba7c])=>{const _0x169669=_0x3ff9cd,_0x3dfb84=new Map();return _0x2f6bbe[_0x169669(0x177)]((_0x4c6713,_0x2258ac)=>{const _0x2cfb8b=_0x169669;if(_0x4c6713['sheetID']===_0x454946){const _0x29ae0e={..._0x4c6713};_0x29ae0e['color']=_0x5eba7c[_0x4c6713[_0x2cfb8b(0x277)]],_0x3dfb84[_0x2cfb8b(0x19a)](_0x2258ac,_0x29ae0e);}}),{'skeleton':_0x3b43a3,'cursors':_0x3dfb84};}));}return _0xa78be3['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3829a0,cursors:_0x3be2f5})=>{const _0x48c2bd=_0x6fe85e;this['_removeCollabCursors'](),_0x3829a0&&this[_0x48c2bd(0x21c)](_0x3829a0,_0x3be2f5);}),this['_sheetSkeletonManagerService'][_0x6fe85e(0x2be)][_0x6fe85e(0x159)](_0x340226=>{const _0x9c9744=_0x6fe85e;if(_0x340226==null)return;const {skeleton:_0x3dbfd4}=_0x340226,{scene:_0x221eef}=this[_0x9c9744(0x242)];_0x221eef[_0x9c9744(0x37a)][_0x9c9744(0x1e6)](_0x453419[_0x9c9744(0x22c)](_0x42e119=>{const _0x5e80dd=_0x9c9744;var _0x5cb892,_0x20c045;const {offsetX:_0x398e61,offsetY:_0x22752e}=_0x42e119,{x:_0x159e3e,y:_0x4eeece}=_0x221eef[_0x5e80dd(0x268)](_0x32283b['Vector2'][_0x5e80dd(0x20c)]([_0x398e61,_0x22752e])),{scaleX:_0x5c0178,scaleY:_0x16cf01}=_0x221eef['getAncestorScale'](),_0x128036=_0x221eef[_0x5e80dd(0x325)](_0x32283b[_0x5e80dd(0x163)][_0x5e80dd(0x3a3)]),_0xbe2c64=_0x221eef[_0x5e80dd(0x28c)](_0x32283b[_0x5e80dd(0x387)][_0x5e80dd(0x20c)]([_0x159e3e,_0x4eeece]),_0x128036),_0x55903a=_0x3dbfd4['getCellPositionByOffset'](_0x398e61,_0x22752e,_0x5c0178,_0x16cf01,_0xbe2c64);((_0x5cb892=this[_0x5e80dd(0x3c6)])==null?void 0x0:_0x5cb892[_0x5e80dd(0x1e4)])===_0x55903a['column']&&((_0x20c045=this[_0x5e80dd(0x3c6)])==null?void 0x0:_0x20c045[_0x5e80dd(0x37e)])===_0x55903a['row']||this[_0x5e80dd(0x2ec)][_0x5e80dd(0x177)](_0xc271dd=>{const _0x32b3b1=_0x5e80dd;_0xc271dd[_0x32b3b1(0x33e)](_0x55903a);});},0x64));});}[_0x1c5799(0x21c)](_0x7a8055,_0x284c59){const _0x257bc3=_0x1c5799;var _0x7482c2;const _0x2f66bc=(_0x7482c2=this['_sheetSkeletonManagerService'][_0x257bc3(0x2c8)]())==null?void 0x0:_0x7482c2[_0x257bc3(0x2f2)];if(!_0x2f66bc)return;const _0x12d8cc=this[_0x257bc3(0x2a5)]();if(!_0x12d8cc)return;this[_0x257bc3(0x2ec)][_0x257bc3(0x177)](_0x4457cb=>{const _0x23b553=_0x257bc3;_0x4457cb[_0x23b553(0x185)]();});const {scene:_0x44fc44}=_0x12d8cc,_0x56f6fa=_0x5d8602(Array[_0x257bc3(0x172)](_0x284c59[_0x257bc3(0x322)]()))['map'](_0x3ff0e=>{const _0x3c3dd4=_0x257bc3,{color:_0x4e3534,range:_0x3b9171,name:_0x72fb71,selection:_0x53ca01,sheetID:_0x3471ab}=_0x3ff0e,{startColumn:_0x2c136b,startRow:_0x470bf5,endColumn:_0xf502ea,endRow:_0x40de81}=_0x3b9171,_0x316330=_0x4e23ac[_0x3c3dd4(0x23d)](_0x470bf5,_0x2c136b,_0x44fc44,_0x2f66bc),_0x99c46=_0x4e23ac[_0x3c3dd4(0x23d)](_0x40de81,_0xf502ea,_0x44fc44,_0x2f66bc),{columnHeaderHeightAndMarginTop:_0x32ee4d}=_0x2f66bc,{startX:_0x2f4f0c,startY:_0x57eb36}=_0x316330,{endX:_0x644ec6,endY:_0xb63340}=_0x99c46,_0x1c2f3e=_0x644ec6-_0x2f4f0c,_0x2f27d5=_0xb63340-_0x57eb36,_0x2bc8b4={'labelPosition':_0x57eb36-_0x32ee4d>=_0x32cd44?_0x3c3dd4(0x222):'bottom','sheetID':_0x3471ab,'range':_0x3b9171,'color':_0x4e3534,'name':_0x72fb71,'selection':_0x53ca01,'left':_0x2f4f0c,'top':_0x57eb36,'width':_0x1c2f3e,'height':_0x2f27d5,'evented':!0x1,'zIndex':_0x17746e};return new _0x2a871a(_0x72fb71,_0x2bc8b4);});_0x44fc44[_0x257bc3(0x35d)](_0x56f6fa,_0x2a8249),this[_0x257bc3(0x2ec)]=new Set(_0x56f6fa);}[_0x1c5799(0x3b6)](){const _0x2fdc7e=_0x1c5799;var _0x1e4d0d;(_0x1e4d0d=this[_0x2fdc7e(0x2ec)])==null||_0x1e4d0d['forEach'](_0x29a5bd=>_0x29a5bd['dispose']());}[_0x1c5799(0x2a5)](){const _0x42d637=_0x1c5799;return _0x4e23ac[_0x42d637(0x3d1)](this[_0x42d637(0x242)]['unit'],this[_0x42d637(0x242)]);}};_0x53ff49=_0x5eff5d([_0x5e7949(0x1,_0x453419[_0x1c5799(0x229)](_0x4e23ac[_0x1c5799(0x224)])),_0x5e7949(0x2,_0x453419[_0x1c5799(0x229)](_0x23e436)),_0x5e7949(0x3,_0x453419[_0x1c5799(0x229)](_0x453419['ThemeService']))],_0x53ff49);function _0x5d8602(_0x4c71d4){const _0x427e50=_0x1c5799,_0x2977f8=new Map();return _0x4c71d4[_0x427e50(0x177)](_0x3ba090=>{const _0x453ab6=_0x427e50;if(_0x2977f8[_0x453ab6(0x212)](_0x3ba090[_0x453ab6(0x3dc)])){const _0x1d2d40=_0x2977f8[_0x453ab6(0x3a2)](_0x3ba090[_0x453ab6(0x3dc)]);_0x1d2d40['name']+=',\x20'+_0x3ba090[_0x453ab6(0x299)];}else _0x2977f8[_0x453ab6(0x19a)](_0x3ba090[_0x453ab6(0x3dc)],_0x3ba090);}),Array[_0x427e50(0x172)](_0x2977f8[_0x427e50(0x322)]());}var _0x28a9cd=function(){const _0x1290b7=_0x1c5799;return _0x28a9cd=Object[_0x1290b7(0x1a5)]||function(_0x478f0e){const _0x172f3f=_0x1290b7;for(var _0x7772b1,_0xd2d0c9=0x1,_0x14ac84=arguments['length'];_0xd2d0c9<_0x14ac84;_0xd2d0c9++){_0x7772b1=arguments[_0xd2d0c9];for(var _0xd2342 in _0x7772b1)Object[_0x172f3f(0x239)][_0x172f3f(0x2f0)]['call'](_0x7772b1,_0xd2342)&&(_0x478f0e[_0xd2342]=_0x7772b1[_0xd2342]);}return _0x478f0e;},_0x28a9cd[_0x1290b7(0x182)](this,arguments);},_0x5496f3=function(_0x3e5f80,_0x54f189){const _0x3619d0=_0x1c5799;var _0x3923d6={};for(var _0x5a2b34 in _0x3e5f80)Object[_0x3619d0(0x239)][_0x3619d0(0x2f0)][_0x3619d0(0x31f)](_0x3e5f80,_0x5a2b34)&&_0x54f189[_0x3619d0(0x266)](_0x5a2b34)<0x0&&(_0x3923d6[_0x5a2b34]=_0x3e5f80[_0x5a2b34]);if(_0x3e5f80!=null&&typeof Object[_0x3619d0(0x2a3)]=='function'){for(var _0x279334=0x0,_0x5a2b34=Object['getOwnPropertySymbols'](_0x3e5f80);_0x279334<_0x5a2b34[_0x3619d0(0x1f0)];_0x279334++)_0x54f189[_0x3619d0(0x266)](_0x5a2b34[_0x279334])<0x0&&Object[_0x3619d0(0x239)]['propertyIsEnumerable'][_0x3619d0(0x31f)](_0x3e5f80,_0x5a2b34[_0x279334])&&(_0x3923d6[_0x5a2b34[_0x279334]]=_0x3e5f80[_0x5a2b34[_0x279334]]);}return _0x3923d6;},_0x496112=_0x1ee08f[_0x1c5799(0x17d)](function(_0x508025,_0x5d0d56){const _0x599cc2=_0x1c5799;var _0x1ad3e0=_0x508025[_0x599cc2(0x3bf)],_0x1ce7cb=_0x508025['id'],_0x3729d0=_0x508025[_0x599cc2(0x270)],_0x5cd62c=_0x508025[_0x599cc2(0x34f)],_0xf12159=_0x5496f3(_0x508025,[_0x599cc2(0x3bf),'id','className','extend']),_0x4e211f='univerjs-icon\x20univerjs-icon-'[_0x599cc2(0x2cf)](_0x1ce7cb,'\x20')[_0x599cc2(0x2cf)](_0x3729d0||'')[_0x599cc2(0x34a)](),_0x1e99f3=_0x1ee08f[_0x599cc2(0x1ea)]('_'[_0x599cc2(0x2cf)](_0x508077()));return _0x207727(_0x1ad3e0,''['concat'](_0x1ce7cb),{'defIds':_0x1ad3e0[_0x599cc2(0x157)],'idSuffix':_0x1e99f3[_0x599cc2(0x209)]},_0x28a9cd({'ref':_0x5d0d56,'className':_0x4e211f},_0xf12159),_0x5cd62c);});function _0x207727(_0x15748f,_0x4baeae,_0x532f7d,_0x3ebb35,_0x151fab){const _0x165f11=_0x1c5799;return _0x1ee08f['createElement'](_0x15748f[_0x165f11(0x230)],_0x28a9cd(_0x28a9cd({'key':_0x4baeae},_0x38d45c(_0x15748f,_0x532f7d,_0x151fab)),_0x3ebb35),(_0x4c1a38(_0x15748f,_0x532f7d)[_0x165f11(0x1f9)]||[])[_0x165f11(0x37c)](function(_0x1e6b04,_0x3cb8de){const _0x7a34c=_0x165f11;return _0x207727(_0x1e6b04,''[_0x7a34c(0x2cf)](_0x4baeae,'-')[_0x7a34c(0x2cf)](_0x15748f[_0x7a34c(0x230)],'-')[_0x7a34c(0x2cf)](_0x3cb8de),_0x532f7d,void 0x0,_0x151fab);}));}function _0x38d45c(_0x58587f,_0x3b9f4f,_0x42fcd3){const _0x434b3d=_0x1c5799;var _0x43b6b6=_0x28a9cd({},_0x58587f['attrs']);_0x42fcd3!=null&&_0x42fcd3[_0x434b3d(0x15f)]&&_0x43b6b6[_0x434b3d(0x304)]==='colorChannel1'&&(_0x43b6b6['fill']=_0x42fcd3[_0x434b3d(0x15f)]),_0x58587f[_0x434b3d(0x230)]==='mask'&&_0x43b6b6['id']&&(_0x43b6b6['id']=_0x43b6b6['id']+_0x3b9f4f[_0x434b3d(0x357)]),Object[_0x434b3d(0x3b0)](_0x43b6b6)[_0x434b3d(0x177)](function(_0x5ab38f){const _0x50bb04=_0x434b3d;var _0x4708a5=_0x5ab38f[0x0],_0x2e0f8c=_0x5ab38f[0x1];_0x4708a5===_0x50bb04(0x22a)&&typeof _0x2e0f8c==_0x50bb04(0x1cf)&&(_0x43b6b6[_0x4708a5]=_0x2e0f8c[_0x50bb04(0x1d1)](/url\(#(.*)\)/,_0x50bb04(0x380)['concat'](_0x3b9f4f['idSuffix'],')')));});var _0x1f26f3=_0x3b9f4f[_0x434b3d(0x157)];return!_0x1f26f3||_0x1f26f3[_0x434b3d(0x1f0)]===0x0||(_0x58587f[_0x434b3d(0x230)]===_0x434b3d(0x167)&&_0x43b6b6['xlink:href']&&(_0x43b6b6[_0x434b3d(0x226)]=_0x43b6b6[_0x434b3d(0x226)]+_0x3b9f4f['idSuffix']),Object[_0x434b3d(0x3b0)](_0x43b6b6)['forEach'](function(_0x1f7f38){const _0x37268c=_0x434b3d;var _0x16a2e9=_0x1f7f38[0x0],_0x2efcc8=_0x1f7f38[0x1];typeof _0x2efcc8==_0x37268c(0x1cf)&&(_0x43b6b6[_0x16a2e9]=_0x2efcc8[_0x37268c(0x1d1)](/url\(#(.*)\)/,_0x37268c(0x380)[_0x37268c(0x2cf)](_0x3b9f4f['idSuffix'],')')));})),_0x43b6b6;}function _0x4c1a38(_0x79ce8d,_0x5607d9){const _0x33b683=_0x1c5799;var _0x204486,_0x4d4881=_0x5607d9['defIds'];return!_0x4d4881||_0x4d4881['length']===0x0?_0x79ce8d:_0x79ce8d[_0x33b683(0x230)]==='defs'&&(!((_0x204486=_0x79ce8d[_0x33b683(0x1f9)])===null||_0x204486===void 0x0)&&_0x204486[_0x33b683(0x1f0)])?_0x28a9cd(_0x28a9cd({},_0x79ce8d),{'children':_0x79ce8d['children'][_0x33b683(0x37c)](function(_0x4a64cf){const _0x18b8c3=_0x33b683;return typeof _0x4a64cf['attrs']['id']=='string'&&_0x4d4881&&_0x4d4881[_0x18b8c3(0x266)](_0x4a64cf[_0x18b8c3(0x2d4)]['id'])>-0x1?_0x28a9cd(_0x28a9cd({},_0x4a64cf),{'attrs':_0x28a9cd(_0x28a9cd({},_0x4a64cf[_0x18b8c3(0x2d4)]),{'id':_0x4a64cf[_0x18b8c3(0x2d4)]['id']+_0x5607d9['idSuffix']})}):_0x4a64cf;})}):_0x79ce8d;}function _0x508077(){const _0x1790d0=_0x1c5799;return Math[_0x1790d0(0x2f7)]()[_0x1790d0(0x3aa)](0x24)[_0x1790d0(0x3a9)](0x2,0x8);}_0x496112['displayName']=_0x1c5799(0x2fa);var _0x12345b={'tag':'svg','attrs':{'fill':_0x1c5799(0x273),'viewBox':'0\x200\x2016\x2016','width':_0x1c5799(0x318),'height':_0x1c5799(0x318)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1c5799(0x381),'d':_0x1c5799(0x3b5),'strokeLinecap':_0x1c5799(0x356),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1c5799(0x2a1),'attrs':{'id':_0x1c5799(0x184)},'children':[{'tag':_0x1c5799(0x366),'attrs':{'fill':_0x1c5799(0x32a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c5799(0x184)]},_0x172dec=_0x1ee08f[_0x1c5799(0x17d)](function(_0x318373,_0x23743c){const _0x103abc=_0x1c5799;return _0x1ee08f[_0x103abc(0x2b3)](_0x496112,Object['assign']({},_0x318373,{'id':_0x103abc(0x17c),'ref':_0x23743c,'icon':_0x12345b}));});_0x172dec[_0x1c5799(0x195)]=_0x1c5799(0x178);var _0x21788a={'tag':_0x1c5799(0x227),'attrs':{'fill':_0x1c5799(0x273),'viewBox':'0\x200\x2017\x2016','width':_0x1c5799(0x318),'height':_0x1c5799(0x318)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c5799(0x200)},'children':[{'tag':'path','attrs':{'stroke':_0x1c5799(0x381),'d':_0x1c5799(0x350),'strokeLinecap':_0x1c5799(0x356),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1c5799(0x3b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1c5799(0x366),'attrs':{'fill':_0x1c5799(0x32a),'d':_0x1c5799(0x215),'transform':_0x1c5799(0x220)}}]}]}],'defIds':[_0x1c5799(0x379)]},_0x413315=_0x1ee08f[_0x1c5799(0x17d)](function(_0x5efb88,_0x28b5cc){const _0x3bb5d6=_0x1c5799;return _0x1ee08f[_0x3bb5d6(0x2b3)](_0x496112,Object[_0x3bb5d6(0x1a5)]({},_0x5efb88,{'id':_0x3bb5d6(0x171),'ref':_0x28b5cc,'icon':_0x21788a}));});_0x413315[_0x1c5799(0x195)]=_0x1c5799(0x147);const _0x1d1798={'onlineStatusIcon':_0x1c5799(0x2d5),'onlineStatusTitle':_0x1c5799(0x1b6),'onlineStatus':'univer-online-status','online':_0x1c5799(0x2df),'offline':_0x1c5799(0x313)};function _0x1ed3b7(_0x432fe3){const _0x446517=_0x1c5799;switch(_0x432fe3){case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x15a)]:return _0x446517(0x188);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x2ba)]:return _0x446517(0x3cf);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x24b)]:return _0x446517(0x3d6);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x338)]:return _0x446517(0x179);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x259)]:case _0x126ab5[_0x446517(0x1d0)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x126ab5[_0x446517(0x1d0)]['SYNCED']:case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x1b8)]:return _0x446517(0x29d);}}function _0x186b3c(_0x131784){const _0x5e3353=_0x1c5799,{status$:_0x9856da}=_0x131784,_0x1cbccf=_0x2d6b6f[_0x5e3353(0x1be)](_0x9856da,_0x126ab5[_0x5e3353(0x1d0)]['NOT_COLLAB']),_0x4dbd44=_0x2d6b6f['useDependency'](_0x453419[_0x5e3353(0x3a4)]),_0x82c5a4=_0x2d6b6f[_0x5e3353(0x25a)](_0x126ab5['CollaborationSessionService']),_0x51f5a0=_0x1cbccf!==_0x126ab5[_0x5e3353(0x1d0)][_0x5e3353(0x15a)],_0x2e871d=_0x4dbd44['t'](_0x1ed3b7(_0x1cbccf)),_0x11d3d2=_0x38209c[_0x5e3353(0x214)](_0x1d1798[_0x5e3353(0x285)],{[_0x1d1798[_0x5e3353(0x3a0)]]:_0x51f5a0,[_0x1d1798[_0x5e3353(0x369)]]:!_0x51f5a0}),_0x28d1e1=_0x51f5a0?_0x20e4b4[_0x5e3353(0x3b1)](_0x413315,{}):_0x20e4b4['jsx'](_0x172dec,{}),_0x33d7d2=_0x1ee08f[_0x5e3353(0x238)](()=>{_0x51f5a0||_0x82c5a4['reconnect']();},[_0x51f5a0,_0x82c5a4]);function _0x575a3d(){const _0x25460d=_0x5e3353;return _0x20e4b4[_0x25460d(0x142)](_0x25460d(0x211),{'className':_0x38209c[_0x25460d(0x214)](_0x11d3d2,_0x25460d(0x2c1)),'onClick':_0x33d7d2,'children':[_0x20e4b4[_0x25460d(0x3b1)](_0x25460d(0x211),{'className':_0x1d1798[_0x25460d(0x289)],'children':_0x28d1e1}),_0x20e4b4[_0x25460d(0x3b1)]('div',{'className':_0x1d1798[_0x25460d(0x24a)],'children':_0x2e871d})]});}return _0x51f5a0?_0x575a3d():_0x20e4b4[_0x5e3353(0x3b1)](_0x38209c[_0x5e3353(0x23b)],{'title':_0x4dbd44['t'](_0x5e3353(0x365)),'children':_0x575a3d()});}var _0x496b55=Object[_0x1c5799(0x231)],_0x52fc47=(_0x23552a,_0x190b47,_0x5dfc02,_0x114d06)=>{const _0x3f6832=_0x1c5799;for(var _0x4a9707=_0x114d06>0x1?void 0x0:_0x114d06?_0x496b55(_0x190b47,_0x5dfc02):_0x190b47,_0x938ba2=_0x23552a[_0x3f6832(0x1f0)]-0x1,_0x7d5aa0;_0x938ba2>=0x0;_0x938ba2--)(_0x7d5aa0=_0x23552a[_0x938ba2])&&(_0x4a9707=_0x7d5aa0(_0x4a9707)||_0x4a9707);return _0x4a9707;},_0x1e6005=(_0x6b635b,_0x55abfe)=>(_0x57922a,_0x216016)=>_0x55abfe(_0x57922a,_0x216016,_0x6b635b);_0x7e2117[_0x1c5799(0x17e)]=class extends _0x453419['Disposable']{constructor(_0x31ce26,_0x350929,_0x20aa71,_0xb7e5d7){const _0x3b6bcd=_0x1c5799;super(),_0x1be09e(this,_0x3b6bcd(0x2f4),new _0xa78be3[(_0x3b6bcd(0x1a6))](_0x126ab5['CollaborationStatus'][_0x3b6bcd(0x338)])),(this[_0x3b6bcd(0x3cb)]=_0x31ce26,this[_0x3b6bcd(0x336)]=_0x350929,this['_collaborationController']=_0x20aa71,this[_0x3b6bcd(0x2ea)]=_0xb7e5d7,this[_0x3b6bcd(0x2f5)](),this[_0x3b6bcd(0x25d)]());}['_initStatusListener'](){const _0x5ded14=_0x1c5799;this[_0x5ded14(0x38e)](this[_0x5ded14(0x3cb)][_0x5ded14(0x2b5)]['pipe'](_0xa78be3[_0x5ded14(0x15b)](()=>{const _0x453d42=_0x5ded14,_0xba220b=this[_0x453d42(0x3cb)][_0x453d42(0x2fd)]();return _0xba220b?this[_0x453d42(0x150)][_0x453d42(0x1f3)](_0xba220b['getUnitId']()):_0xa78be3['of'](null);}),_0xa78be3[_0x5ded14(0x15b)](_0x1e2cf9=>_0x1e2cf9?_0x1e2cf9[_0x5ded14(0x28b)]:_0xa78be3['of'](_0x126ab5[_0x5ded14(0x1d0)][_0x5ded14(0x338)])))[_0x5ded14(0x159)](_0x382cc3=>{const _0x2edd9=_0x5ded14;this[_0x2edd9(0x2f4)][_0x2edd9(0x1fd)](_0x382cc3);}));}[_0x1c5799(0x2f5)](){const _0x287f68=_0x1c5799;this[_0x287f68(0x38e)](this[_0x287f68(0x2ea)][_0x287f68(0x36c)](_0x2d6b6f[_0x287f68(0x3a6)][_0x287f68(0x24f)],()=>_0x2d6b6f[_0x287f68(0x3a8)](_0x2caef7({'status$':this[_0x287f68(0x2f4)][_0x287f68(0x208)]()}),this['_injector'])));}},_0x7e2117[_0x1c5799(0x17e)]=_0x52fc47([_0x1e6005(0x0,_0x453419[_0x1c5799(0x1c8)]),_0x1e6005(0x1,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x1e6005(0x2,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x1a9)])),_0x1e6005(0x3,_0x2d6b6f[_0x1c5799(0x204)])],_0x7e2117['DesktopCollaborationStatusDisplayController']);function _0x2caef7(_0x551f42){const {status$:_0x460175}=_0x551f42;return function(){const _0x2f1ee9=_0x4a60;return _0x20e4b4[_0x2f1ee9(0x3b1)](_0x186b3c,{'status$':_0x460175});};}var _0x4b47f0=Object[_0x1c5799(0x231)],_0x1867c3=(_0x248c94,_0x434f80,_0x4e1246,_0x52d527)=>{const _0x10caee=_0x1c5799;for(var _0xb544d1=_0x52d527>0x1?void 0x0:_0x52d527?_0x4b47f0(_0x434f80,_0x4e1246):_0x434f80,_0x40fac4=_0x248c94[_0x10caee(0x1f0)]-0x1,_0x5b5aeb;_0x40fac4>=0x0;_0x40fac4--)(_0x5b5aeb=_0x248c94[_0x40fac4])&&(_0xb544d1=_0x5b5aeb(_0xb544d1)||_0xb544d1);return _0xb544d1;},_0xd4d207=(_0x138e1b,_0x577ba2)=>(_0x2176a3,_0x91076b)=>_0x577ba2(_0x2176a3,_0x91076b,_0x138e1b);let _0x3cc05a=class extends _0x453419[_0x1c5799(0x362)]{constructor(_0x176936,_0x5aab8b,_0x4ab757,_0x4e41a0,_0x3d0822,_0x2d43f0){const _0x46f3b9=_0x1c5799;super(),this[_0x46f3b9(0x3bb)]=_0x176936,this[_0x46f3b9(0x390)]=_0x5aab8b,this[_0x46f3b9(0x35c)]=_0x4ab757,this[_0x46f3b9(0x3b7)]=_0x4e41a0,this[_0x46f3b9(0x26b)]=_0x3d0822,this[_0x46f3b9(0x3a7)]=_0x2d43f0,this[_0x46f3b9(0x26e)](),this[_0x46f3b9(0x295)]();}[_0x1c5799(0x26e)](){const _0x39e96c=_0x1c5799;this[_0x39e96c(0x38e)](this['_beforeCloseService'][_0x39e96c(0x160)](()=>{const _0x122122=_0x39e96c;if(this[_0x122122(0x390)][_0x122122(0x391)][_0x122122(0x262)])return this[_0x122122(0x3a7)]['t'](_0x122122(0x1ef));}));}[_0x1c5799(0x295)](){const _0x8425c8=_0x1c5799;this['disposeWithMe'](this[_0x8425c8(0x35c)][_0x8425c8(0x2eb)][_0x8425c8(0x159)](_0x2b01c0=>{const _0x4fb238=_0x8425c8;_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['OTHER_CLIENT_EDITING']&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x4fb238(0x149))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x302)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x4fb238(0x321))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x375)]&&this[_0x4fb238(0x26b)][_0x4fb238(0x27c)]({'title':this[_0x4fb238(0x3a7)]['t']('permission.title'),'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x332)),'type':_0x4fb238(0x29e),'duration':0x0}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['CONFLICT']&&this['_messageService'][_0x4fb238(0x27c)]({'type':_0x38209c[_0x4fb238(0x1c2)][_0x4fb238(0x1bd)],'content':this[_0x4fb238(0x3a7)]['t']('collaboration.closeRoom')+'('+_0x2b01c0[_0x4fb238(0x287)]+')'}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x3be)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x2b01c0[_0x4fb238(0x287)]||'')}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['SOCKET_FAILED_RETRY']&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c[_0x4fb238(0x1c2)]['Warning'],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x3d2))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['SOCKET_FAILED']&&this[_0x4fb238(0x3b7)]['show']({'type':_0x38209c[_0x4fb238(0x1c2)][_0x4fb238(0x1bd)],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x2d9))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x1fb)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType']['Error'],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x1b3))});}));}};_0x3cc05a=_0x1867c3([_0xd4d207(0x0,_0x2d6b6f[_0x1c5799(0x37d)]),_0xd4d207(0x1,_0x126ab5[_0x1c5799(0x352)]),_0xd4d207(0x2,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x20b)])),_0xd4d207(0x3,_0x2d6b6f['IMessageService']),_0xd4d207(0x4,_0x2d6b6f[_0x1c5799(0x34c)]),_0xd4d207(0x5,_0x453419[_0x1c5799(0x229)](_0x453419['LocaleService']))],_0x3cc05a);const _0x54fac5=_0x1c5799(0x2db),_0x585330={},_0x2c04a8=_0x453419[_0x1c5799(0x161)](_0x1c5799(0x15e));var _0x1c76a2=Object[_0x1c5799(0x231)],_0x430341=(_0x4761b2,_0x27e1a,_0x5e9359,_0x2737e5)=>{const _0x5302e9=_0x1c5799;for(var _0x209acc=_0x2737e5>0x1?void 0x0:_0x2737e5?_0x1c76a2(_0x27e1a,_0x5e9359):_0x27e1a,_0x325888=_0x4761b2[_0x5302e9(0x1f0)]-0x1,_0x4a8eef;_0x325888>=0x0;_0x325888--)(_0x4a8eef=_0x4761b2[_0x325888])&&(_0x209acc=_0x4a8eef(_0x209acc)||_0x209acc);return _0x209acc;},_0x4b5f34=(_0x47fde9,_0x3b1287)=>(_0x16b39d,_0x137540)=>_0x3b1287(_0x16b39d,_0x137540,_0x47fde9);_0x7e2117['CollaborationDataLoaderController']=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x3e261c,_0x4f5cee,_0x4abddd,_0x19a74a,_0x58580c){const _0x4e285a=_0x1c5799;super(),this['_urlService']=_0x3e261c,this[_0x4e285a(0x288)]=_0x4f5cee,this[_0x4e285a(0x170)]=_0x4abddd,this['_dataLoaderService']=_0x19a74a,_0x58580c?_0x58580c==null||_0x58580c[_0x4e285a(0x193)]()[_0x4e285a(0x364)](()=>this[_0x4e285a(0x1fc)]()):(this[_0x4e285a(0x288)][_0x4e285a(0x251)](_0x4e285a(0x3ce),_0x4e285a(0x3cd)),this[_0x4e285a(0x1fc)]());}async['_init'](){const _0x3c7c68=_0x1c5799,_0x3745ce=this[_0x3c7c68(0x25c)][_0x3c7c68(0x153)]('unit'),_0x2c2bcb=this[_0x3c7c68(0x25c)][_0x3c7c68(0x153)](_0x3c7c68(0x186)),_0xb5d9c1=this[_0x3c7c68(0x25c)]['getParam'](_0x3c7c68(0x279));if(!_0x3745ce||!_0x2c2bcb){this[_0x3c7c68(0x288)][_0x3c7c68(0x251)](_0x3c7c68(0x3ce),_0x3c7c68(0x234));return;}const _0x2a4227=await this[_0x3c7c68(0x199)]['loadUnit'](_0x3745ce,Number(_0x2c2bcb),_0xb5d9c1);_0x2a4227&&_0x2a4227 instanceof _0x453419['Workbook']&&this['_setupSubUnitSync'](_0x2a4227);}async[_0x1c5799(0x246)](_0x1548ad){const _0x2ebff8=_0x1c5799;await this[_0x2ebff8(0x2c6)](_0x1548ad),_0x1548ad[_0x2ebff8(0x1c6)][_0x2ebff8(0x14d)](_0xa78be3[_0x2ebff8(0x1e1)](this[_0x2ebff8(0x155)]))[_0x2ebff8(0x159)](_0x164f8e=>{_0x164f8e&&this['_updateURLWithCurrentState'](_0x164f8e);}),this['_urlService'][_0x2ebff8(0x1a1)]['pipe'](_0xa78be3[_0x2ebff8(0x1e1)](this[_0x2ebff8(0x155)]))[_0x2ebff8(0x159)](()=>this[_0x2ebff8(0x2c6)](_0x1548ad));}[_0x1c5799(0x1a4)](_0x203c91,_0x583efa=!0x1){const _0x49d36b=_0x1c5799,_0x106f13=this[_0x49d36b(0x25c)]['getParam'](_0x49d36b(0x279));_0x203c91[_0x49d36b(0x210)]()!==_0x106f13&&this[_0x49d36b(0x25c)][_0x49d36b(0x3cc)](_0x49d36b(0x279),_0x203c91['getSheetId'](),_0x583efa);}async[_0x1c5799(0x2c6)](_0x2a78a1){const _0x57ebc9=_0x1c5799;var _0x1e413b;const _0x3ecb2b=this[_0x57ebc9(0x25c)][_0x57ebc9(0x153)]('subunit');if(!_0x3ecb2b||!_0x2a78a1[_0x57ebc9(0x3db)](_0x3ecb2b)){const _0x34bb04=_0x2a78a1['getUnhiddenWorksheets']()[0x0],_0x2df2aa=_0x2a78a1[_0x57ebc9(0x3db)](_0x34bb04);if(!_0x2df2aa)return;this[_0x57ebc9(0x1a4)](_0x2df2aa,!0x0),await this[_0x57ebc9(0x170)][_0x57ebc9(0x315)](_0x395bb3[_0x57ebc9(0x18f)]['id'],{'unitId':_0x2a78a1['getUnitId'](),'subUnitId':_0x34bb04});return;}((_0x1e413b=_0x2a78a1['getActiveSheet']())==null?void 0x0:_0x1e413b[_0x57ebc9(0x210)]())!==_0x3ecb2b&&await this['_commandService'][_0x57ebc9(0x315)](_0x395bb3[_0x57ebc9(0x18f)]['id'],{'unitId':_0x2a78a1[_0x57ebc9(0x2e8)](),'subUnitId':_0x3ecb2b});}},_0x7e2117[_0x1c5799(0x297)]=_0x430341([_0x4b5f34(0x0,_0x2c04a8),_0x4b5f34(0x1,_0x453419[_0x1c5799(0x2e5)]),_0x4b5f34(0x2,_0x453419[_0x1c5799(0x2a6)]),_0x4b5f34(0x3,_0x453419[_0x1c5799(0x229)](_0x126ab5['DataLoaderService'])),_0x4b5f34(0x4,_0x453419[_0x1c5799(0x191)](_0xd2a7de[_0x1c5799(0x2c3)]))],_0x7e2117[_0x1c5799(0x297)]);var _0x36e90f=Object[_0x1c5799(0x231)],_0x10c98e=(_0x4ae8b7,_0x112192,_0x113db5,_0xc5dcfa)=>{const _0x448cd0=_0x1c5799;for(var _0x2e7661=_0xc5dcfa>0x1?void 0x0:_0xc5dcfa?_0x36e90f(_0x112192,_0x113db5):_0x112192,_0x13c4f6=_0x4ae8b7[_0x448cd0(0x1f0)]-0x1,_0x1273a2;_0x13c4f6>=0x0;_0x13c4f6--)(_0x1273a2=_0x4ae8b7[_0x13c4f6])&&(_0x2e7661=_0x1273a2(_0x2e7661)||_0x2e7661);return _0x2e7661;},_0x547831=(_0x1d891c,_0x4a59ac)=>(_0x412a2c,_0xb432f1)=>_0x4a59ac(_0x412a2c,_0xb432f1,_0x1d891c);let _0x506b0f=class{constructor(_0x375e13,_0x3cb100,_0x558e64){const _0x2daad3=_0x1c5799;this['_injector']=_0x375e13,this[_0x2daad3(0x24c)]=_0x3cb100,this[_0x2daad3(0x276)]=_0x558e64;}[_0x1c5799(0x2cb)](_0x139d04){const _0x3918bd=_0x1c5799;this[_0x3918bd(0x1df)](_0x139d04),this[_0x3918bd(0x223)](_0x139d04);}['transformRemoteChangeset'](_0x3b756d){const _0x44ca61=_0x1c5799,{unitID:_0x9d6cf2}=_0x3b756d,_0x186117=this['_renderManagerService'][_0x44ca61(0x162)](_0x9d6cf2)['with'](_0x57d79a[_0x44ca61(0x2d1)]),{redoCache:_0x351b17}=_0x186117['getUndoRedoMutationParamsCache']();if(_0x351b17[_0x44ca61(0x1f0)]===0x0)return _0x3b756d;let _0x2ed21b=_0x453419['Tools'][_0x44ca61(0x1ac)](_0x3b756d[_0x44ca61(0x305)][0x0]);for(let _0x24eb74=0x0;_0x24eb74<_0x351b17[_0x44ca61(0x1f0)];_0x24eb74++){const _0x579ab1={'id':_0x44ca61(0x1b5),'params':{..._0x351b17[_0x24eb74]}},_0x26cc98=this[_0x44ca61(0x24c)][_0x44ca61(0x3c9)](_0x2ed21b,_0x579ab1,!0x1);if(_0x567d4a[_0x44ca61(0x1e3)](_0x26cc98))throw _0x26cc98[_0x44ca61(0x29e)];_0x2ed21b=_0x26cc98['m1Prime'];}return{..._0x453419['Tools'][_0x44ca61(0x1ac)](_0x3b756d),'mutations':[_0x2ed21b]};}[_0x1c5799(0x1df)](_0x3b3b87){const _0x48d043=_0x1c5799,{unitID:_0xce0631}=_0x3b3b87,_0x2d923c=this[_0x48d043(0x276)][_0x48d043(0x162)](_0xce0631)[_0x48d043(0x2d0)](_0x57d79a[_0x48d043(0x2d1)]),{undoCache:_0x1a4f50,redoCache:_0x1c3fd7}=_0x2d923c[_0x48d043(0x1bb)]();if(_0x1a4f50[_0x48d043(0x1f0)]===0x0||_0x1c3fd7['length']===0x0)return;const _0x578776=[],_0x287967=[];let _0x438955=_0x453419[_0x48d043(0x20e)][_0x48d043(0x1ac)](_0x3b3b87['mutations'][0x0]),_0x155817=_0x453419[_0x48d043(0x20e)][_0x48d043(0x1ac)](_0x3b3b87['mutations'][0x0]);for(let _0x556526=_0x1a4f50['length']-0x1;_0x556526>=0x0;_0x556526--){const _0x15aecd={'id':_0x48d043(0x1b5),'params':{..._0x1a4f50[_0x556526]}},_0x4f1d9c={'id':_0x48d043(0x1b5),'params':{..._0x1c3fd7[_0x556526]}},_0x40352e=this[_0x48d043(0x24c)][_0x48d043(0x3c9)](_0x438955,_0x15aecd,!0x1),_0x19515e=this[_0x48d043(0x24c)]['transformMutation'](_0x155817,_0x4f1d9c,!0x1);if(_0x567d4a['isTransformMutationFailure'](_0x40352e))throw _0x40352e[_0x48d043(0x29e)];if(_0x567d4a[_0x48d043(0x1e3)](_0x19515e))throw _0x19515e[_0x48d043(0x29e)];_0x578776['unshift'](_0x40352e[_0x48d043(0x3bd)][_0x48d043(0x3ae)]),_0x287967[_0x48d043(0x26f)](_0x19515e['m2Prime'][_0x48d043(0x3ae)]),_0x438955=_0x40352e[_0x48d043(0x327)],_0x155817=_0x19515e[_0x48d043(0x327)];}_0x2d923c[_0x48d043(0x341)]({'undoCache':_0x578776,'redoCache':_0x287967});}[_0x1c5799(0x223)](_0x22a87a){const _0x24a2d0=_0x1c5799,{unitID:_0x3e7200}=_0x22a87a,_0x38860b=this[_0x24a2d0(0x276)]['getRenderById'](_0x3e7200)['with'](_0x57d79a[_0x24a2d0(0x2d1)]),_0x229664=_0x38860b['getActiveRange']();if(_0x229664==null)return;const _0x34e16d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22a87a[_0x24a2d0(0x257)],'actions':null,'textRanges':[_0x229664]}}],_0x1a58dd=this[_0x24a2d0(0x24c)][_0x24a2d0(0x2b8)](_0x22a87a,_0x34e16d);if(!_0x567d4a['isTransformMutationsWithChangesetSuccess'](_0x1a58dd))throw _0x1a58dd[_0x24a2d0(0x29e)];const _0x4c459e=_0x1a58dd['m2Prime'][0x0]['params']['textRanges'];Array[_0x24a2d0(0x29a)](_0x4c459e)&&_0x4c459e[_0x24a2d0(0x1f0)]&&_0x38860b[_0x24a2d0(0x27a)](_0x4c459e[0x0]);}};_0x506b0f=_0x10c98e([_0x547831(0x0,_0x453419['Inject'](_0x453419[_0x1c5799(0x38d)])),_0x547831(0x1,_0x567d4a['ITransformService']),_0x547831(0x2,_0x32283b['IRenderManagerService'])],_0x506b0f);var _0x1c43fb=Object['getOwnPropertyDescriptor'],_0x4100db=(_0x315370,_0x50de17,_0x38fc6b,_0xf3e8fa)=>{const _0xe53391=_0x1c5799;for(var _0x5d6ed7=_0xf3e8fa>0x1?void 0x0:_0xf3e8fa?_0x1c43fb(_0x50de17,_0x38fc6b):_0x50de17,_0x3b2239=_0x315370[_0xe53391(0x1f0)]-0x1,_0x3eb297;_0x3b2239>=0x0;_0x3b2239--)(_0x3eb297=_0x315370[_0x3b2239])&&(_0x5d6ed7=_0x3eb297(_0x5d6ed7)||_0x5d6ed7);return _0x5d6ed7;},_0x3f7fac=(_0x2ea491,_0x34ade9)=>(_0x141127,_0x1a7129)=>_0x34ade9(_0x141127,_0x1a7129,_0x2ea491);let _0x142a90=class{constructor(_0x4b4f43,_0x5a4b0e,_0x40fe4c){const _0x55693f=_0x1c5799;this['_injector']=_0x4b4f43,this['_transformService']=_0x5a4b0e,this[_0x55693f(0x344)]=_0x40fe4c;}['transformStateCache'](_0x2aef9a){const _0x2b3b10=_0x1c5799;this[_0x2b3b10(0x389)](_0x2aef9a);}[_0x1c5799(0x31c)](_0x5aab5b){const _0x3c4eec=_0x1c5799,{unitID:_0x517b18}=_0x5aab5b,{collaboration:_0x2bf303}=this[_0x3c4eec(0x344)][_0x3c4eec(0x2b0)](_0x517b18);if(_0x2bf303[_0x3c4eec(0x1f0)]===0x0)return _0x5aab5b;let _0x889b3f=_0x453419[_0x3c4eec(0x20e)][_0x3c4eec(0x1ac)](_0x5aab5b[_0x3c4eec(0x305)][0x0]);for(let _0x7b51db=0x0;_0x7b51db<_0x2bf303['length'];_0x7b51db++){const _0x39cc0d={'id':_0x3c4eec(0x1b5),'params':{'unitId':_0x2bf303[_0x7b51db][_0x3c4eec(0x2e7)],..._0x2bf303[_0x7b51db][_0x3c4eec(0x2a0)]}},_0x98b8c4=this['_transformService'][_0x3c4eec(0x3c9)](_0x889b3f,_0x39cc0d,!0x1);if(_0x567d4a['isTransformMutationFailure'](_0x98b8c4))throw _0x98b8c4[_0x3c4eec(0x29e)];_0x889b3f=_0x98b8c4[_0x3c4eec(0x327)];}return{..._0x453419[_0x3c4eec(0x20e)][_0x3c4eec(0x1ac)](_0x5aab5b),'mutations':[_0x889b3f]};}[_0x1c5799(0x389)](_0x3d1d5e){const _0x4e576a=_0x1c5799,{unitID:_0x5cb9d9}=_0x3d1d5e,{history:_0x4c128c,collaboration:_0x5c0a70}=this[_0x4e576a(0x344)][_0x4e576a(0x2b0)](_0x5cb9d9);if(_0x4c128c[_0x4e576a(0x1f0)]===0x0&&_0x5c0a70[_0x4e576a(0x1f0)]===0x0)return;const _0x38b90e=[],_0xa555f8=[];let _0x448e6f=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]),_0x245f1c=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]);for(let _0x5b7f60=_0x4c128c[_0x4e576a(0x1f0)]-0x1;_0x5b7f60>=0x0;_0x5b7f60--){const _0x683a6f={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x4c128c[_0x5b7f60][_0x4e576a(0x2e7)],..._0x4c128c[_0x5b7f60]['undoState']}},_0x468aa9={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x4c128c[_0x5b7f60]['unitId'],..._0x4c128c[_0x5b7f60][_0x4e576a(0x2a0)]}},_0x267fd4=this['_transformService'][_0x4e576a(0x3c9)](_0x448e6f,_0x683a6f,!0x1),_0x25c3f0=this[_0x4e576a(0x24c)][_0x4e576a(0x3c9)](_0x245f1c,_0x468aa9,!0x1);if(_0x567d4a[_0x4e576a(0x1e3)](_0x267fd4))throw _0x267fd4[_0x4e576a(0x29e)];if(_0x567d4a['isTransformMutationFailure'](_0x25c3f0))throw _0x25c3f0[_0x4e576a(0x29e)];_0x38b90e['unshift']({..._0x4c128c[_0x5b7f60],'undoState':_0x267fd4[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)],'redoState':_0x25c3f0['m2Prime']['params']}),_0x448e6f=_0x267fd4[_0x4e576a(0x327)],_0x245f1c=_0x25c3f0['m1Prime'];}_0x448e6f=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e['mutations'][0x0]),_0x245f1c=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]);for(let _0xcf8735=_0x5c0a70[_0x4e576a(0x1f0)]-0x1;_0xcf8735>=0x0;_0xcf8735--){const _0x19d7b2={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x5c0a70[_0xcf8735][_0x4e576a(0x2e7)],..._0x5c0a70[_0xcf8735][_0x4e576a(0x18d)]}},_0x6f71fe={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x5c0a70[_0xcf8735][_0x4e576a(0x2e7)],..._0x5c0a70[_0xcf8735][_0x4e576a(0x2a0)]}},_0x330dcc=this[_0x4e576a(0x24c)][_0x4e576a(0x3c9)](_0x448e6f,_0x19d7b2,!0x1),_0x114650=this[_0x4e576a(0x24c)]['transformMutation'](_0x245f1c,_0x6f71fe,!0x1);if(_0x567d4a[_0x4e576a(0x1e3)](_0x330dcc))throw _0x330dcc[_0x4e576a(0x29e)];if(_0x567d4a[_0x4e576a(0x1e3)](_0x114650))throw _0x114650['error'];_0xa555f8[_0x4e576a(0x26f)]({..._0x5c0a70[_0xcf8735],'undoState':_0x330dcc[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)],'redoState':_0x114650[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)]}),_0x448e6f=_0x330dcc['m1Prime'],_0x245f1c=_0x114650[_0x4e576a(0x327)];}this[_0x4e576a(0x344)]['setStateCache'](_0x5cb9d9,{'history':_0x38b90e,'collaboration':_0xa555f8});}};_0x142a90=_0x4100db([_0x3f7fac(0x0,_0x453419[_0x1c5799(0x229)](_0x453419['Injector'])),_0x3f7fac(0x1,_0x567d4a['ITransformService']),_0x3f7fac(0x2,_0x453419[_0x1c5799(0x229)](_0x57d79a[_0x1c5799(0x32d)]))],_0x142a90);var _0x37b983=Object[_0x1c5799(0x231)],_0x1cbdcf=(_0x5ec886,_0x40564d,_0x2a7ebc,_0x497e4e)=>{const _0x336310=_0x1c5799;for(var _0x2f563b=_0x497e4e>0x1?void 0x0:_0x497e4e?_0x37b983(_0x40564d,_0x2a7ebc):_0x40564d,_0x5e1ddc=_0x5ec886[_0x336310(0x1f0)]-0x1,_0x38275b;_0x5e1ddc>=0x0;_0x5e1ddc--)(_0x38275b=_0x5ec886[_0x5e1ddc])&&(_0x2f563b=_0x38275b(_0x2f563b)||_0x2f563b);return _0x2f563b;},_0x349b2c=(_0x17dd32,_0x39433b)=>(_0x2040fe,_0x227518)=>_0x39433b(_0x2040fe,_0x227518,_0x17dd32);let _0x3c4732=class{constructor(_0x148879,_0x346ee0){const _0x15393d=_0x1c5799;this[_0x15393d(0x336)]=_0x148879,this[_0x15393d(0x24c)]=_0x346ee0;}[_0x1c5799(0x1b7)](_0x22640d){const _0x598ad0=_0x1c5799;var _0xb31f0;const _0x2cd7f3=this[_0x598ad0(0x336)][_0x598ad0(0x3a2)](_0x106a95['DocSelectionManagerService']),_0x295ab1=(_0xb31f0=_0x2cd7f3['getDocRanges']())!=null?_0xb31f0:[];if(_0x295ab1[_0x598ad0(0x1f0)]===0x0)return;const _0x20e8c0=_0x22640d[_0x598ad0(0x257)],_0x17b80f=[{'id':_0x598ad0(0x1b5),'params':{'unitId':_0x20e8c0,'actions':null,'textRanges':_0x295ab1}}],_0x286bb5=this[_0x598ad0(0x24c)][_0x598ad0(0x2b8)](_0x22640d,_0x17b80f);if(!_0x567d4a['isTransformMutationsWithChangesetSuccess'](_0x286bb5))throw _0x286bb5[_0x598ad0(0x29e)];const _0x4c835d=_0x286bb5['m2Prime'][0x0][_0x598ad0(0x3ae)]['textRanges'];Array[_0x598ad0(0x29a)](_0x4c835d)&&_0x4c835d[_0x598ad0(0x1f0)]&&_0x2cd7f3['replaceDocRanges'](_0x4c835d,{'unitId':_0x20e8c0,'subUnitId':_0x20e8c0},!0x1);}};_0x3c4732=_0x1cbdcf([_0x349b2c(0x0,_0x453419[_0x1c5799(0x229)](_0x453419['Injector'])),_0x349b2c(0x1,_0x567d4a[_0x1c5799(0x29f)])],_0x3c4732);var _0x5bf2a8=Object[_0x1c5799(0x231)],_0x159b0d=(_0x53eec4,_0x28e5c0,_0x2951f3,_0x20190)=>{const _0x2ad64d=_0x1c5799;for(var _0x56169a=_0x20190>0x1?void 0x0:_0x20190?_0x5bf2a8(_0x28e5c0,_0x2951f3):_0x28e5c0,_0x3c3235=_0x53eec4[_0x2ad64d(0x1f0)]-0x1,_0x101bba;_0x3c3235>=0x0;_0x3c3235--)(_0x101bba=_0x53eec4[_0x3c3235])&&(_0x56169a=_0x101bba(_0x56169a)||_0x56169a);return _0x56169a;},_0x7bd0d8=(_0x5f01c5,_0x3600ef)=>(_0xb90f4c,_0x331081)=>_0x3600ef(_0xb90f4c,_0x331081,_0x5f01c5);let _0x38b82a=class extends _0x453419[_0x1c5799(0x362)]{constructor(_0x4e91f3,_0x5ec6a6,_0x4c7ab8,_0x5cf42e,_0x3e005f,_0x2b7a7d,_0x23a708,_0x3b7851){const _0x252049=_0x1c5799;super(),_0x1be09e(this,_0x252049(0x2f4),new _0xa78be3[(_0x252049(0x1a6))](_0x126ab5[_0x252049(0x1d0)][_0x252049(0x338)])),(this[_0x252049(0x344)]=_0x4e91f3,this['_collaborationController']=_0x5ec6a6,this[_0x252049(0x13f)]=_0x4c7ab8,this['_docTransformStateCacheService']=_0x5cf42e,this[_0x252049(0x26a)]=_0x3e005f,this[_0x252049(0x2bf)]=_0x2b7a7d,this['_messageService']=_0x23a708,this[_0x252049(0x3a7)]=_0x3b7851,this[_0x252049(0x286)]());}[_0x1c5799(0x286)](){const _0x4d4c3b=_0x1c5799;this[_0x4d4c3b(0x38e)](this['_collaborationController'][_0x4d4c3b(0x169)][_0x4d4c3b(0x159)](_0x519f74=>{const _0x2d0a86=_0x4d4c3b,_0x5264e5=this[_0x2d0a86(0x344)][_0x2d0a86(0x2a9)]['subscribe'](_0x22a70b=>{const _0x5864bd=_0x2d0a86;if(_0x22a70b==null)return;const {unitId:_0x3e9c14,redoState:_0x499b76,commandId:_0x338ebc}=_0x22a70b;if(_0x3e9c14!==_0x519f74[_0x5864bd(0x257)])return;const _0x9fa653={'id':_0x338ebc,'type':_0x453419[_0x5864bd(0x201)][_0x5864bd(0x376)],'params':{'unitId':_0x3e9c14,'actions':_0x499b76[_0x5864bd(0x233)],'textRanges':null}};_0x519f74[_0x5864bd(0x272)](_0x9fa653);});if(_0x519f74[_0x2d0a86(0x38e)](_0x5264e5),_0x519f74 instanceof _0x126ab5[_0x2d0a86(0x326)]){const _0x20263d={'onTransformIME':_0x1bb5ab=>this[_0x2d0a86(0x13f)][_0x2d0a86(0x2cb)](_0x1bb5ab),'onTransformState':_0x51bab5=>this[_0x2d0a86(0x2d2)][_0x2d0a86(0x3a5)](_0x51bab5),'onTransformSelections':_0xcdeb3b=>this[_0x2d0a86(0x26a)][_0x2d0a86(0x1b7)](_0xcdeb3b),'onSyncEditingCollabCursor':_0x1146d9=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1146d9),'onTransformRemoteChangesetByIMECache':_0x207831=>this[_0x2d0a86(0x13f)][_0x2d0a86(0x31c)](_0x207831),'onTransformRemoteChangesetByStateCache':_0x24d793=>this['_docTransformStateCacheService'][_0x2d0a86(0x31c)](_0x24d793)};_0x519f74['addHandlerCallback'](_0x20263d);}}));}};_0x38b82a=_0x159b0d([_0x7bd0d8(0x0,_0x453419[_0x1c5799(0x229)](_0x57d79a['DocStateChangeManagerService'])),_0x7bd0d8(0x1,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x1a9)])),_0x7bd0d8(0x2,_0x453419['Inject'](_0x506b0f)),_0x7bd0d8(0x3,_0x453419[_0x1c5799(0x229)](_0x142a90)),_0x7bd0d8(0x4,_0x453419[_0x1c5799(0x229)](_0x3c4732)),_0x7bd0d8(0x5,_0x453419[_0x1c5799(0x229)](_0x13f674)),_0x7bd0d8(0x6,_0x2d6b6f[_0x1c5799(0x1ce)]),_0x7bd0d8(0x7,_0x453419['Inject'](_0x453419['LocaleService']))],_0x38b82a);var _0x23f2e0=Object[_0x1c5799(0x231)],_0x50a1d0=(_0x3069a4,_0x5741f0,_0x201a06,_0x2956a4)=>{for(var _0x2d95f6=_0x2956a4>0x1?void 0x0:_0x2956a4?_0x23f2e0(_0x5741f0,_0x201a06):_0x5741f0,_0x12c902=_0x3069a4['length']-0x1,_0x301bf8;_0x12c902>=0x0;_0x12c902--)(_0x301bf8=_0x3069a4[_0x12c902])&&(_0x2d95f6=_0x301bf8(_0x2d95f6)||_0x2d95f6);return _0x2d95f6;},_0x12f880=(_0x57ccd,_0x2e558b)=>(_0x3da0d9,_0x8c2b19)=>_0x2e558b(_0x3da0d9,_0x8c2b19,_0x57ccd);let _0x413026=class extends _0x453419['Disposable']{constructor(_0x1f73f4,_0x31baa9,_0x46ae91){const _0x594020=_0x1c5799;super(),_0x1be09e(this,'_cachedData',new Map()),_0x1be09e(this,_0x594020(0x323),new Map()),_0x1be09e(this,_0x594020(0x36a),!0x1),(this[_0x594020(0x17b)]=_0x1f73f4,this[_0x594020(0x1b4)]=_0x31baa9,this[_0x594020(0x265)]=_0x46ae91);}[_0x1c5799(0x337)](){const _0x48e40f=_0x1c5799;this[_0x48e40f(0x36a)]=!0x0;}[_0x1c5799(0x35b)](){const _0x488abe=_0x1c5799;this[_0x488abe(0x36a)]=!0x1;}get[_0x1c5799(0x391)](){const _0x402091=_0x1c5799;return this[_0x402091(0x323)];}[_0x1c5799(0x2f8)](){const _0x5281d4=_0x1c5799;this['exhaustSavingTask']()[_0x5281d4(0x364)](()=>super[_0x5281d4(0x2f8)]());}async[_0x1c5799(0x190)](_0x3723e9){const _0x1c5371=_0x1c5799;return this[_0x1c5371(0x36a)]?null:this[_0x1c5371(0x1b4)][_0x1c5371(0x19e)](_0x126ab5['getLocalCacheKey'](_0x3723e9));}async[_0x1c5799(0x2b2)](_0x1cf61b,_0x47e4c9){const _0x19a736=_0x1c5799;return!!this[_0x19a736(0x1b4)]['setItem'](_0x1cf61b,_0x47e4c9);}['updateOfflineData'](_0x540dce,_0x5da712,_0xc81f42,_0x2c7590){const _0x2057f0=_0x1c5799,_0x3e32d5=this[_0x2057f0(0x265)][_0x2057f0(0x218)](_0x540dce);this[_0x2057f0(0x16f)][_0x2057f0(0x19a)](_0x540dce,{'unitID':_0x540dce,'type':_0x5da712,'awaitingChangeset':_0xc81f42,'mutations':_0x2c7590,'rev':_0x3e32d5}),this[_0x2057f0(0x323)][_0x2057f0(0x212)](_0x540dce)||this['_scheduleSaving'](_0x540dce);}[_0x1c5799(0x1b2)](_0x40d25d){const _0x375932=_0x1c5799,_0x347e65=this[_0x375932(0x21b)]();_0x347e65===0x0?this[_0x375932(0x3b3)](_0x40d25d):this[_0x375932(0x323)][_0x375932(0x19a)](_0x40d25d,setTimeout(()=>this['_saveCache'](_0x40d25d),_0x347e65));}[_0x1c5799(0x21b)](){const _0x431769=_0x1c5799;var _0x1b0d0c;return(_0x1b0d0c=this[_0x431769(0x17b)]['getConfig'](_0x126ab5[_0x431769(0x312)]))!=null?_0x1b0d0c:_0x126ab5[_0x431769(0x398)];}[_0x1c5799(0x3b3)](_0x423ae7){const _0x2329e6=_0x1c5799,_0x3ff427=this[_0x2329e6(0x323)][_0x2329e6(0x3a2)](_0x423ae7);return _0x3ff427!==void 0x0&&window[_0x2329e6(0x1cc)](_0x3ff427),this[_0x2329e6(0x1b4)][_0x2329e6(0x296)](_0x126ab5['getLocalCacheKey'](_0x423ae7),this[_0x2329e6(0x16f)][_0x2329e6(0x3a2)](_0x423ae7))[_0x2329e6(0x364)](()=>this['_saveTaskMap'][_0x2329e6(0x1a0)](_0x423ae7));}async[_0x1c5799(0x16e)](){const _0x14995e=_0x1c5799,_0x26ef95=[];this[_0x14995e(0x323)][_0x14995e(0x177)]((_0x34a440,_0x25b71f)=>{const _0x4c849e=_0x14995e;window[_0x4c849e(0x1cc)](_0x34a440),_0x26ef95[_0x4c849e(0x1af)](this[_0x4c849e(0x3b3)](_0x25b71f)[_0x4c849e(0x364)](()=>{const _0xd2eaad=_0x4c849e;this[_0xd2eaad(0x323)][_0xd2eaad(0x1a0)](_0x25b71f);}));}),await Promise[_0x14995e(0x14a)](_0x26ef95);}};_0x413026=_0x50a1d0([_0x12f880(0x0,_0x453419[_0x1c5799(0x144)]),_0x12f880(0x1,_0x453419[_0x1c5799(0x1e0)]),_0x12f880(0x2,_0x453419[_0x1c5799(0x229)](_0x567d4a['RevisionService']))],_0x413026);class _0x1ef983 extends _0x453419[_0x1c5799(0x23f)]{constructor(){const _0x15602c=_0x1c5799;super(),_0x1be09e(this,'urlChange$'),this[_0x15602c(0x1a1)]=_0xa78be3[_0x15602c(0x3c3)](window,_0x15602c(0x3c4))['pipe'](_0xa78be3[_0x15602c(0x1e1)](this[_0x15602c(0x155)]),_0xa78be3[_0x15602c(0x2fe)](0x1),_0xa78be3[_0x15602c(0x27b)](void 0x0));}[_0x1c5799(0x3cc)](_0x30bd7e,_0x13b4c4,_0x43fe23=!0x1){const _0x3f2985=_0x1c5799,_0x34493e=new URL(window[_0x3f2985(0x1ca)][_0x3f2985(0x342)]);_0x34493e[_0x3f2985(0x196)][_0x3f2985(0x19a)](_0x30bd7e,_0x13b4c4),_0x43fe23?window[_0x3f2985(0x3c0)][_0x3f2985(0x25b)]('','',_0x34493e[_0x3f2985(0x3aa)]()):window[_0x3f2985(0x3c0)][_0x3f2985(0x330)]('','',_0x34493e['toString']());}[_0x1c5799(0x370)](_0x1a6e0e,_0x411e58=!0x1){const _0x1acb37=_0x1c5799,_0x3d2fe3=new URL(window['location']['href']);_0x3d2fe3[_0x1acb37(0x196)][_0x1acb37(0x1a0)](_0x1a6e0e),_0x411e58?window[_0x1acb37(0x3c0)]['replaceState']('','',_0x3d2fe3[_0x1acb37(0x3aa)]()):window[_0x1acb37(0x3c0)][_0x1acb37(0x330)]('','',_0x3d2fe3[_0x1acb37(0x3aa)]());}[_0x1c5799(0x153)](_0x47fb4f){const _0x9e9327=_0x1c5799;var _0xf0cdf;return(_0xf0cdf=new URL(window['location'][_0x9e9327(0x342)])['searchParams'][_0x9e9327(0x3a2)](_0x47fb4f))!=null?_0xf0cdf:void 0x0;}}var _0x466d46=Object[_0x1c5799(0x189)],_0x565f09=Object[_0x1c5799(0x231)],_0x2a1ca3=(_0x354c4a,_0x2d0436,_0x4a5dad)=>_0x2d0436 in _0x354c4a?_0x466d46(_0x354c4a,_0x2d0436,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5dad}):_0x354c4a[_0x2d0436]=_0x4a5dad,_0xc8fed2=(_0x22b947,_0x52df73,_0x220fcb,_0x388989)=>{const _0x4077f6=_0x1c5799;for(var _0x59dca6=_0x388989>0x1?void 0x0:_0x388989?_0x565f09(_0x52df73,_0x220fcb):_0x52df73,_0x342c30=_0x22b947[_0x4077f6(0x1f0)]-0x1,_0x165d38;_0x342c30>=0x0;_0x342c30--)(_0x165d38=_0x22b947[_0x342c30])&&(_0x59dca6=_0x165d38(_0x59dca6)||_0x59dca6);return _0x59dca6;},_0x2036f5=(_0x257522,_0x16f0a9)=>(_0x944f0a,_0x111ae7)=>_0x16f0a9(_0x944f0a,_0x111ae7,_0x257522),_0x1b4341=(_0x40407e,_0x5e3484,_0x4aa143)=>_0x2a1ca3(_0x40407e,_0x5e3484+'',_0x4aa143);const _0x78d069=_0x1c5799(0x1b0);_0x7e2117[_0x1c5799(0x34e)]=class extends _0x453419[_0x1c5799(0x228)]{constructor(_0x374435=_0x585330,_0x1ec993,_0x3f498b,_0x4766b9){const _0x1b02b9=_0x1c5799;super(),this[_0x1b02b9(0x310)]=_0x374435,this[_0x1b02b9(0x276)]=_0x1ec993,this[_0x1b02b9(0x336)]=_0x3f498b,this[_0x1b02b9(0x17b)]=_0x4766b9;const {..._0x4a81e4}=_0x453419['merge']({},_0x585330,this[_0x1b02b9(0x310)]);this[_0x1b02b9(0x17b)][_0x1b02b9(0x374)](_0x54fac5,_0x4a81e4);}['onStarting'](){const _0x3abd3a=_0x1c5799;this[_0x3abd3a(0x386)](),this[_0x3abd3a(0x39d)]();}[_0x1c5799(0x2ae)](){const _0x72fbf6=_0x1c5799;this[_0x72fbf6(0x3c7)]();}[_0x1c5799(0x386)](){const _0x4cf30f=_0x1c5799;var _0x1d0b38;const _0x12c7df=[[_0xc8e7b],[_0x3c4732],[_0x506b0f],[_0x142a90],[_0x13f674],[_0x2c04a8,{'useClass':_0x1ef983}],[_0x54c300[_0x4cf30f(0x2d3)],{'useClass':_0x54c300[_0x4cf30f(0x165)]}],[_0x126ab5['ILocalCacheService'],{'useClass':_0x413026}],[_0x7e2117[_0x4cf30f(0x17e)]],[_0x38b82a],[_0x3cc05a],[_0x23e436],[_0x58ae56],[_0x7e2117[_0x4cf30f(0x297)]]];_0x453419['registerDependencies'](this['_injector'],_0x453419['mergeOverrideWithDependencies'](_0x12c7df,(_0x1d0b38=this['_config'])==null?void 0x0:_0x1d0b38[_0x4cf30f(0x28f)]));}[_0x1c5799(0x3c7)](){const _0x25541a=_0x1c5799;this[_0x25541a(0x38e)](this['_renderManagerService'][_0x25541a(0x22b)](_0x453419['UniverInstanceType'][_0x25541a(0x3ac)],[_0x177251])),this[_0x25541a(0x38e)](this['_renderManagerService'][_0x25541a(0x22b)](_0x453419[_0x25541a(0x247)][_0x25541a(0x2fc)],[_0x53ff49]));}[_0x1c5799(0x39d)](){const _0x8207bf=_0x1c5799;_0x453419['touchDependencies'](this['_injector'],[[_0x23e436],[_0x7e2117[_0x8207bf(0x17e)]],[_0x38b82a],[_0x3cc05a],[_0x7e2117['CollaborationDataLoaderController']]]);}},_0x1b4341(_0x7e2117[_0x1c5799(0x34e)],_0x1c5799(0x361),_0x78d069),_0x7e2117[_0x1c5799(0x34e)]=_0xc8fed2([_0x453419[_0x1c5799(0x383)](_0x126ab5[_0x1c5799(0x2d7)]),_0x2036f5(0x1,_0x32283b[_0x1c5799(0x255)]),_0x2036f5(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x2036f5(0x3,_0x453419[_0x1c5799(0x144)])],_0x7e2117[_0x1c5799(0x34e)]);var _0x1a8190=Object[_0x1c5799(0x231)],_0x33acd5=(_0x21efa1,_0x5b4285,_0x2acedc,_0x3fa89b)=>{const _0x4b5499=_0x1c5799;for(var _0x396d60=_0x3fa89b>0x1?void 0x0:_0x3fa89b?_0x1a8190(_0x5b4285,_0x2acedc):_0x5b4285,_0x5a5410=_0x21efa1[_0x4b5499(0x1f0)]-0x1,_0xb3a7fc;_0x5a5410>=0x0;_0x5a5410--)(_0xb3a7fc=_0x21efa1[_0x5a5410])&&(_0x396d60=_0xb3a7fc(_0x396d60)||_0x396d60);return _0x396d60;},_0x2cf855=(_0x3115a0,_0x1a47a1)=>(_0x352f6f,_0xde84fe)=>_0x1a47a1(_0x352f6f,_0xde84fe,_0x3115a0);_0x7e2117[_0x1c5799(0x2c5)]=class extends _0x126ab5[_0x1c5799(0x14e)]{constructor(_0x3d797b,_0x3ecb2e,_0xbcbecd,_0x33024,_0x21fb15){super(_0x3d797b,_0x3ecb2e,_0xbcbecd,_0x33024,_0x21fb15);}async[_0x1c5799(0x290)](_0x20e357){const _0x313883=_0x1c5799,_0x107dfc=await this['_getSessionTicket'](),_0x5d2a94=this[_0x313883(0x219)](_0x20e357,_0x107dfc);return this[_0x313883(0x26d)](_0x5d2a94);}[_0x1c5799(0x219)](_0x5cc4fd,_0x434f2b){const _0x34b589=_0x1c5799,_0x5f09dc=typeof window>'u'?new URL(_0x5cc4fd):new URL(_0x5cc4fd,window['location'][_0x34b589(0x292)]);_0x5f09dc[_0x34b589(0x196)][_0x34b589(0x19a)](_0x34b589(0x2ca),_0x434f2b);const _0x2ca658=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34b589(0x1ca)][_0x34b589(0x31a)]);return _0x2ca658[_0x34b589(0x3a2)](_0x34b589(0x175))&&_0x5f09dc[_0x34b589(0x196)][_0x34b589(0x19a)](_0x34b589(0x175),_0x2ca658[_0x34b589(0x3a2)]('runId')),_0x5f09dc[_0x34b589(0x3aa)]();}async[_0x1c5799(0x377)](){const _0x221bb2=_0x1c5799;var _0x488941,_0x308cdb,_0x451c20;const _0x28cba0=this[_0x221bb2(0x17b)][_0x221bb2(0x20a)](_0x126ab5['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x71d0e7=(_0x488941=_0x28cba0==null?void 0x0:_0x28cba0['wsSessionTicketUrl'])!=null?_0x488941:_0x126ab5[_0x221bb2(0x241)];return(_0x451c20=(_0x308cdb=(await this[_0x221bb2(0x145)][_0x221bb2(0x3a2)](_0x71d0e7,{'headers':{'Content-Type':_0x221bb2(0x18c)}}))[_0x221bb2(0x1e2)])==null?void 0x0:_0x308cdb[_0x221bb2(0x3d7)])!=null?_0x451c20:'';}},_0x7e2117['BrowserCollaborationSocketService']=_0x33acd5([_0x2cf855(0x0,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x2cf855(0x1,_0x453419[_0x1c5799(0x229)](_0x54c300[_0x1c5799(0x38f)])),_0x2cf855(0x2,_0x453419['IConfigService']),_0x2cf855(0x3,_0x453419['ILogService']),_0x2cf855(0x4,_0x567d4a[_0x1c5799(0x3d9)])],_0x7e2117[_0x1c5799(0x2c5)]);const _0x24fb08=0x7530,_0x273ced='ACTIVE_UNIT_EVENT_CHANNEL';class _0x526cfd extends _0x453419['Disposable']{constructor(){const _0x30eb13=_0x1c5799;super(),_0x1be09e(this,'_id',_0x453419['generateRandomId']()),_0x1be09e(this,'_selfUnitIDs',new Set()),_0x1be09e(this,_0x30eb13(0x385),new Map()),_0x1be09e(this,_0x30eb13(0x16b),null),_0x1be09e(this,_0x30eb13(0x3d8),new Map()),_0x1be09e(this,'_unitStatus',new Map()),this['_init']();}[_0x1c5799(0x2f8)](){const _0x3909f1=_0x1c5799;super[_0x3909f1(0x2f8)](),this['_clearOtherTimers']['forEach']((_0x2a0db2,_0x2ed085)=>this[_0x3909f1(0x1f1)](_0x2ed085)),this[_0x3909f1(0x16b)]&&window[_0x3909f1(0x13e)](this['_heartbeatTimer']);}[_0x1c5799(0x275)](_0x11fc1e){const _0x581e22=_0x1c5799;return this[_0x581e22(0x316)](_0x11fc1e)[_0x581e22(0x14d)](_0xa78be3[_0x581e22(0x1f4)]());}[_0x1c5799(0x33a)](_0x381c65){const _0xbe4312=_0x1c5799;this[_0xbe4312(0x351)]['size']===0x0&&this[_0xbe4312(0x294)](),this[_0xbe4312(0x351)]['add'](_0x381c65),this[_0xbe4312(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x381c65],'isForwarded':!0x1});}[_0x1c5799(0x1a8)](_0x24d810){const _0x5319e4=_0x1c5799;this[_0x5319e4(0x351)][_0x5319e4(0x1a0)](_0x24d810),this[_0x5319e4(0x351)]['size']===0x0&&this[_0x5319e4(0x16b)]&&window[_0x5319e4(0x13e)](this[_0x5319e4(0x16b)]);}[_0x1c5799(0x1fc)](){const _0xea2a32=_0x1c5799;this[_0xea2a32(0x38e)](_0x453419['toDisposable'](_0xa78be3[_0xea2a32(0x3c3)](window,_0xea2a32(0x15c))[_0xea2a32(0x159)](_0x5e717a=>{const _0x44f26d=_0xea2a32;if(_0x5e717a[_0x44f26d(0x397)]!==_0x273ced||!_0x5e717a[_0x44f26d(0x261)])return;const _0x35e1a5=JSON[_0x44f26d(0x34d)](_0x5e717a[_0x44f26d(0x261)]);this[_0x44f26d(0x18e)](_0x35e1a5);}))),window[_0xea2a32(0x1cb)](_0xea2a32(0x2c9),()=>this[_0xea2a32(0x36d)]({'type':0x1,'memberID':this[_0xea2a32(0x2c4)],'unitIDs':Array[_0xea2a32(0x172)](this[_0xea2a32(0x351)])}));}[_0x1c5799(0x18e)](_0x434e5d){const _0x1e7016=_0x1c5799;switch(_0x434e5d[_0x1e7016(0x186)]){case 0x0:this[_0x1e7016(0x1bf)](_0x434e5d);break;case 0x1:this[_0x1e7016(0x1d2)](_0x434e5d);break;case 0x2:this['_handleHeartbeatEvent'](_0x434e5d);break;}}[_0x1c5799(0x1bf)](_0x751951){const _0x4b3df0=_0x1c5799,{unitIDs:_0x404950,memberID:_0xb4f2a6,isForwarded:_0x2f132a}=_0x751951;_0x404950['forEach'](_0xf661fe=>{const _0x33ae8b=_0x4a60;if(!_0x2f132a&&this[_0x33ae8b(0x385)][_0x33ae8b(0x212)](_0xf661fe)&&this['_ensureSubject'](_0xf661fe)[_0x33ae8b(0x1fd)](_0x126ab5['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x33ae8b(0x385)]['has'](_0xf661fe)||!this[_0x33ae8b(0x385)][_0x33ae8b(0x3a2)](_0xf661fe)[_0x33ae8b(0x212)](_0xb4f2a6)){const _0x2acf23=this[_0x33ae8b(0x385)]['get'](_0xf661fe)||new Set();_0x2acf23[_0x33ae8b(0x16a)](_0xb4f2a6),this[_0x33ae8b(0x385)][_0x33ae8b(0x19a)](_0xf661fe,_0x2acf23),this[_0x33ae8b(0x166)](_0xb4f2a6);}}),_0x2f132a||this[_0x4b3df0(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4b3df0(0x351)]],'isForwarded':!0x0});}[_0x1c5799(0x166)](_0x181132){const _0x20dd6b=_0x1c5799;this[_0x20dd6b(0x1f1)](_0x181132);const _0x20995f=window[_0x20dd6b(0x280)](()=>{const _0x376c52=_0x20dd6b;this[_0x376c52(0x385)][_0x376c52(0x177)](_0x3c2153=>{const _0x35aeba=_0x376c52;_0x3c2153[_0x35aeba(0x1a0)](_0x181132);});},_0x24fb08*0x2);this[_0x20dd6b(0x3d8)][_0x20dd6b(0x19a)](_0x181132,_0x20995f);}['_removeClearOtherTimer'](_0x135161){const _0x3b96a9=_0x1c5799;if(this['_clearOtherTimers'][_0x3b96a9(0x212)](_0x135161)){const _0x4896ed=this[_0x3b96a9(0x3d8)][_0x3b96a9(0x3a2)](_0x135161);_0x4896ed&&window[_0x3b96a9(0x1cc)](_0x4896ed),this[_0x3b96a9(0x3d8)][_0x3b96a9(0x19a)](_0x135161,null);}}[_0x1c5799(0x1d2)](_0x4b95d3){const _0x424c8f=_0x1c5799,{memberID:_0x39e970,unitIDs:_0x471a7b}=_0x4b95d3;_0x471a7b[_0x424c8f(0x177)](_0xdbf627=>{const _0x8915bc=_0x424c8f;var _0xdc7eec;const _0x57550b=this['_unitOnClients'][_0x8915bc(0x3a2)](_0xdbf627);_0x57550b&&(_0x57550b['delete'](_0x39e970),(_0xdc7eec=this['_ensureSubject'](_0xdbf627))==null||_0xdc7eec[_0x8915bc(0x1fd)](_0x57550b[_0x8915bc(0x262)]===0x0?_0x126ab5[_0x8915bc(0x319)][_0x8915bc(0x267)]:_0x126ab5[_0x8915bc(0x319)][_0x8915bc(0x3c8)]));}),this['_removeClearOtherTimer'](_0x39e970);}[_0x1c5799(0x1d3)](_0x4d0217){const _0x5b579e=_0x1c5799;this['_scheduleClearOtherTimer'](_0x4d0217[_0x5b579e(0x384)]);}[_0x1c5799(0x36d)](_0x167533){const _0x511498=_0x1c5799;localStorage[_0x511498(0x296)](_0x273ced,JSON['stringify'](_0x167533));}[_0x1c5799(0x294)](){const _0x35337b=_0x1c5799;this[_0x35337b(0x16b)]=window[_0x35337b(0x2b6)](()=>{const _0x4a86a7=_0x35337b;this['_send']({'type':0x2,'memberID':this[_0x4a86a7(0x2c4)]});},_0x24fb08);}[_0x1c5799(0x316)](_0x186fbd){const _0x55cb4b=_0x1c5799;return this['_unitStatus'][_0x55cb4b(0x212)](_0x186fbd)||this[_0x55cb4b(0x1c5)][_0x55cb4b(0x19a)](_0x186fbd,new _0xa78be3['BehaviorSubject'](_0x126ab5['UnitStatus'][_0x55cb4b(0x267)])),this[_0x55cb4b(0x1c5)]['get'](_0x186fbd);}}var _0x38bcdf=(_0x1274b9=>(_0x1274b9[_0x1274b9[_0x1c5799(0x30c)]=0x0]=_0x1c5799(0x30c),_0x1274b9[_0x1274b9['OK']=0x1]='OK',_0x1274b9[_0x1274b9['INTERNAL_ERROR']=0x2]=_0x1c5799(0x1d8),_0x1274b9[_0x1274b9[_0x1c5799(0x375)]=0x3]=_0x1c5799(0x375),_0x1274b9[_0x1274b9[_0x1c5799(0x345)]=0x4]=_0x1c5799(0x345),_0x1274b9[_0x1274b9[_0x1c5799(0x359)]=0x5]=_0x1c5799(0x359),_0x1274b9[_0x1274b9['ALREADY_EXISTS']=0x6]=_0x1c5799(0x28e),_0x1274b9[_0x1274b9[_0x1c5799(0x237)]=0x7]=_0x1c5799(0x237),_0x1274b9[_0x1274b9[_0x1c5799(0x309)]=0x8]=_0x1c5799(0x309),_0x1274b9[_0x1274b9[_0x1c5799(0x281)]=0x9]='COMPLETION_FINISHED',_0x1274b9[_0x1274b9[_0x1c5799(0x271)]=0xa]=_0x1c5799(0x271),_0x1274b9[_0x1274b9[_0x1c5799(0x25e)]=0x1389]=_0x1c5799(0x25e),_0x1274b9[_0x1274b9[_0x1c5799(0x2e3)]=0x1771]=_0x1c5799(0x2e3),_0x1274b9[_0x1274b9[_0x1c5799(0x25f)]=0x1772]=_0x1c5799(0x25f),_0x1274b9[_0x1274b9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c5799(0x1f6),_0x1274b9[_0x1274b9['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1274b9[_0x1274b9[_0x1c5799(0x307)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1274b9[_0x1274b9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1c5799(0x37f),_0x1274b9[_0x1274b9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1274b9[_0x1274b9[_0x1c5799(0x2dd)]=0x1b5d]=_0x1c5799(0x2dd),_0x1274b9[_0x1274b9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1c5799(0x394),_0x1274b9[_0x1274b9[_0x1c5799(0x306)]=0x2329]=_0x1c5799(0x306),_0x1274b9[_0x1274b9[_0x1c5799(0x254)]=0x232a]=_0x1c5799(0x254),_0x1274b9[_0x1274b9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c5799(0x2bb),_0x1274b9[_0x1274b9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1274b9[_0x1274b9[_0x1c5799(0x1eb)]=0x232d]=_0x1c5799(0x1eb),_0x1274b9[_0x1274b9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1274b9[_0x1274b9[_0x1c5799(0x3af)]=0x2712]=_0x1c5799(0x3af),_0x1274b9[_0x1274b9[_0x1c5799(0x2bd)]=0x2713]=_0x1c5799(0x2bd),_0x1274b9[_0x1274b9[_0x1c5799(0x269)]=0x2714]=_0x1c5799(0x269),_0x1274b9[_0x1274b9[_0x1c5799(0x2a4)]=0x2af9]=_0x1c5799(0x2a4),_0x1274b9[_0x1274b9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1c5799(0x23c),_0x1274b9[_0x1274b9[_0x1c5799(0x331)]=0x2ee2]=_0x1c5799(0x331),_0x1274b9[_0x1274b9[_0x1c5799(0x192)]=0x2ee3]=_0x1c5799(0x192),_0x1274b9[_0x1274b9[_0x1c5799(0x148)]=0x2ee4]=_0x1c5799(0x148),_0x1274b9[_0x1274b9[_0x1c5799(0x18b)]=0x2ee5]=_0x1c5799(0x18b),_0x1274b9[_0x1274b9[_0x1c5799(0x2af)]=0x32c9]=_0x1c5799(0x2af),_0x1274b9[_0x1274b9[_0x1c5799(0x21e)]=0x32ca]=_0x1c5799(0x21e),_0x1274b9[_0x1274b9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1c5799(0x16c),_0x1274b9[_0x1274b9['UNRECOGNIZED']=-0x1]=_0x1c5799(0x2f1),_0x1274b9))(_0x38bcdf||{}),_0x443584=Object[_0x1c5799(0x231)],_0x17b2f2=(_0x2dd211,_0x4fdf65,_0x6e5a0b,_0x2b35b3)=>{for(var _0xb0ed57=_0x2b35b3>0x1?void 0x0:_0x2b35b3?_0x443584(_0x4fdf65,_0x6e5a0b):_0x4fdf65,_0x259ba1=_0x2dd211['length']-0x1,_0x85eb96;_0x259ba1>=0x0;_0x259ba1--)(_0x85eb96=_0x2dd211[_0x259ba1])&&(_0xb0ed57=_0x85eb96(_0xb0ed57)||_0xb0ed57);return _0xb0ed57;},_0x1a454b=(_0x7c26bd,_0x3f858c)=>(_0x238751,_0x2e255d)=>_0x3f858c(_0x238751,_0x2e255d,_0x7c26bd);_0x7e2117[_0x1c5799(0x2d6)]=class extends _0x453419['Disposable']{constructor(_0x5089d8,_0x1d4d5a,_0x25630c){const _0x4d3431=_0x1c5799;super(),this['_instanceService']=_0x5089d8,this['_httpService']=_0x1d4d5a,this[_0x4d3431(0x17b)]=_0x25630c;}async[_0x1c5799(0x14b)](_0x8e34bd,_0x3ed367,_0x46a6d2,..._0x2b7186){const _0x119742=_0x1c5799;var _0x3f2b05,_0x4a5f45,_0x5ead2f,_0x454967;const _0x4bbae2=this[_0x119742(0x1dd)][_0x119742(0x2fd)]();if(!_0x4bbae2)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x54092e=((_0x3f2b05=this[_0x119742(0x17b)][_0x119742(0x20a)](_0x126ab5[_0x119742(0x18a)]))!=null?_0x3f2b05:_0x126ab5[_0x119742(0x140)])+'/'+_0x8e34bd+'/run/'+_0x3ed367,_0x23641c=new URL(window[_0x119742(0x1ca)][_0x119742(0x342)]),_0x4221a3={'scriptId':_0x8e34bd,'runId':(_0x4a5f45=_0x23641c['searchParams'][_0x119742(0x3a2)](_0x119742(0x175)))!=null?_0x4a5f45:'','function':_0x3ed367,'unitId':_0x4bbae2['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x2b7186),'invokeId':(_0x5ead2f=_0x46a6d2[_0x119742(0x1e5)])!=null?_0x5ead2f:'','executionId':(_0x454967=_0x46a6d2['executionId'])!=null?_0x454967:''};try{const _0x5843dd=await this[_0x119742(0x145)][_0x119742(0x2e2)](_0x54092e,{'body':_0x4221a3});return _0x5843dd[_0x119742(0x1e2)][_0x119742(0x29e)]&&_0x5843dd['body'][_0x119742(0x29e)]['code']!==_0x38bcdf['OK']?'Failed':_0x5843dd[_0x119742(0x1e2)]['result'];}catch{return'Failed';}}},_0x7e2117[_0x1c5799(0x2d6)]=_0x17b2f2([_0x1a454b(0x0,_0x453419[_0x1c5799(0x1c8)]),_0x1a454b(0x1,_0x453419[_0x1c5799(0x229)](_0x54c300['HTTPService'])),_0x1a454b(0x2,_0x453419[_0x1c5799(0x144)])],_0x7e2117['RemoteUniscriptService']),_0x7e2117[_0x1c5799(0x1ad)]=_0x186b3c,_0x7e2117[_0x1c5799(0x253)]=_0x2c04a8,_0x7e2117[_0x1c5799(0x1f8)]=_0x2a871a,_0x7e2117[_0x1c5799(0x21a)]=_0x526cfd,_0x7e2117['WebURLService']=_0x1ef983,Object['defineProperty'](_0x7e2117,Symbol['toStringTag'],{'value':_0x1c5799(0x328)});}));function _0x313f(){const _0x431223=['unitId','getUnitId','_refRangeService','_uiPartsService','event$','_cursors','getUniverSheetInstance','purple300','UPDATE_CURSOR','hasOwnProperty','UNRECOGNIZED','skeleton','_range','_status$','_initStatusComponent','getMergeData','random','dispose','@univerjs/engine-render','UniverIcon','@univerjs/docs','UNIVER_SHEET','getFocusedUnit','shareReplay','React','registerRefRange','handleInsertRow','CLOSE_ROOM','UniverDocsUi','fill','mutations','LICENSE_MAX_UNITS_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','runRefRangeMutations','TOO_MANY_REQUESTS','_getAnchorBounding','collab-text-range-','UNDEFINED','EffectRefRangId','onPointerLeave$','closePath','_config','_startSheetCollabCursor','LOCAL_CACHE_INTERVAL_KEY','univer-offline','741466jruBfG','executeCommand','_ensureSubject','35Ldjvys','1em','UnitStatus','search','findNodePositionByCharIndex','transformRemoteChangeset','throttleTime','_onCursorUpdate','call','_themeService','collaboration.closeRoom','values','_saveTaskMap','setAlpha','getViewport','DocCollaborationEntity','m1Prime','Module','@univerjs/engine-formula','#fff','getAncestorScale','getSkeleton','DocStateChangeManagerService','_onCursorDelete','createInstance','pushState','INVALID_INVITE_CODE','permission.content','_drawTextRange','_hovered','@univerjs/network','_injector','disableLocalCache','NOT_COLLAB','hovered','editingUnit','308436oXWPDL','DisposableCollection','@univerjs/docs-ui','onMouseMove','getMemberID','eventID','setUndoRedoMutationParamsCache','href','ColorKit','_docStateChangeManagerService','NOT_FOUND','isActive','UniverDrawing','_sheetSkeletonManagerService','startsWith','trim','MemberService','INotificationService','parse','UniverCollaborationClientUIPlugin','extend','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','_selfUnitIDs','ILocalCacheService','_initCommandExecutedListener','UniverEngineFormula','_entityInit$','round','idSuffix','roomMembers$','UNAUTHENTICATED','RegularPolygon','enableLocalCache','_collaborationUIEventService','addObjects','UniverProCollaboration','_collabSessionService','Rectangle','pluginName','Disposable','sessionStatus$','then','collab-client.tooltip.reconnect','path','hide','_toggleOnline','offline','_disabled','contains','registerComponent','_send','send','InsertRangeMoveDownCommandId','removeParam','DocSkeletonManagerService','@univerjs/rpc','UniverDesign','setConfig','PERMISSION_DENIED','MUTATION','_getSessionTicket','UniverEngineRender','on-line-single_clip0_910_349','onPointerMove$','endRow','map','IBeforeCloseService','row','APPLY_REVISION_CONFILICT','url(#$1','currentColor','Rect','DependentOn','memberID','_unitOnClients','_registerDependencies','Vector2','labelPosition','_transformHistoryAndStateStack','handleIRemoveCol','generateRandomId','_collabCursorState$','Injector','disposeWithMe','HTTPService','_localCacheService','saveTaskMap','transformByState','Unknown\x20user','CONNECTOR_DATA_TOO_LARGE','Subject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','key','LOCAL_CACHE_INTERVAL','fillText','_syncEditingCollabCursorService','_labelPosition','split','_initDependencies','exports','Shape','online','COLORS','get','VIEW_MAIN','LocaleService','transformStateCache','BuiltInUIPart','_localeService','connectInjector','substring','toString','rgba(255,\x20255,\x20255,\x200.01)','UNIVER_DOC','InsertRangeMoveRightCommandId','params','YUUMI_URL_COL_OUT_OF_RANGE','entries','jsx','defs','_saveCache','_refreshCollabCursors','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','_removeCollabCursors','_messageService','collab-rect-range-','function','getTypeOfUnitAdded$','_beforeCloseService','7485768pJrlSW','m2Prime','JOIN_ROOM_FAILED','icon','history','getOffsetConfig','3QSqaOY','fromEvent','popstate','save','_lastPointer','_registerRenderDependencies','OTHER_CLIENTS_EDITING','transformMutation','currentTheme$','_univerInstanceService','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationDataLoaderController]','collabStatus.conflict','_updateLocalCursor','getSheetObject','session.will-retry','USERS_LEAVE','_imageIoService','getTypeOfUnitDisposed$','collabStatus.fetchMiss','ticket','_clearOtherTimers','ISnapshotServerService','onCommandExecuted','getSheetBySheetId','selection','cursorInfo$','@univerjs-pro/collaboration-client','MoveRangeCommandId','SetTextSelectionsOperation','handleMoveRange','text','clearInterval','_docTransformIMECacheService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','beginPath','jsxs','CollaborationUIEventId','IConfigService','_httpService','_startDocCollabCursor','OnLineSingle','USER_NOT_INVITED_CODE','collaboration.single-unit.warning','all','runOnServer','9eobfdg','pipe','CollaborationSocketService','lineTo','_collaborationController','_drawRectRange','deserializeRangeWithSheet','getParam','_hideTimer','dispose$','1882358gbZmcZ','defIds','UniverUi','subscribe','OFFLINE','switchMap','storage','init','uni.network.url-service','colorChannel1','registerBeforeClose','createIdentifier','getRenderById','SHEET_VIEWPORT_KEY','startRow','WebSocketService','_scheduleClearOtherTimer','use','range','entityInit$','add','_heartbeatTimer','EMAIL_HAS_BEEN_BOUND','@univerjs/core','exhaustSavingTask','_cachedData','_commandService','on-line-single','from','_backgroundColor','_onRefRangeChange','runId','onPointerEnter$','forEach','OffLineSingle','collabStatus.notCollab','addObject','_configService','off-line-single','forwardRef','DesktopCollaborationStatusDisplayController','collabCursorState$','_docSkeletonManagerService','source','apply','width','off-line-single_clip0_910_343','makeDirty','type','@univerjs/sheets','collabStatus.offline','defineProperty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INVITE_CODE_ALREADY_BOUND','application/json','undoState','_handleEvent','SetWorksheetActivateCommand','loadOfflineData','Optional','INVITE_CODE_REQUIRED','whenReady','_docClipboardService','displayName','searchParams','16361270HaZzmG','transform','_dataLoaderService','set','@univerjs-pro/collaboration','react/jsx-runtime','TEXT_RANGE_LAYER_INDEX','getItem','object','delete','urlChange$','find','UniverProCollaborationClientUi','_updateURLWithCurrentState','assign','BehaviorSubject','subUnitId','disposeUnit','CollaborationController','some','_roomMembers$','deepClone','CollaborationStatusDisplay','_session','push','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getValue','_scheduleSaving','session.collaboration-timeout','_localStorageService','doc.mutation.rich-text-editing','univer-online-status-title','transformSelections','PENDING','@univerjs/design','...','getUndoRedoMutationParamsCache','font','Error','useObservable','_handleJoinEvent','_docSkeleton','DocSelectionManagerService','MessageType','jiqing500','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_unitStatus','activeSheet$','_handleHover','IUniverInstanceService','toDisposable','location','addEventListener','clearTimeout','_getScale','IMessageService','string','CollaborationStatus','replace','_handleLeaveEvent','_handleHeartbeatEvent','DeleteRangeMoveUpCommandId','saveImage','selections','Warning','INTERNAL_ERROR','unsubscribe','merge','endColumn','restore','_instanceService','IDocClipboardService','_transformUndoRedoStack','ILocalStorageService','takeUntil','body','isTransformMutationFailure','column','invokeId','subscribeEvent','_name','serializeRangeWithSheet','drawWith','useRef','LICENSE_DISTRO_REJECTED','InsertColCommandId','triggerDblclick','_colorIndex','collaboration-client.offline-data-not-saved','length','_removeClearOtherTimer','_textBubble','getCollabEntity$','distinctUntilChanged','fromEventSubject','ENSURE_SNAPSHOT_EXECUTION','_collabCursorController','SheetCollabCursorShape','children','getCurrentSelections','SUBMIT_CHANGESET_TIMEOUT','_init','next','getRangePointData','UniverSheets','url(#on-line-single_clip0_910_349)','CommandType','_anchorDot','CollaborationEvent','IUIPartsService','UniverRpc','rxjs/operators','_hover','asObservable','current','getConfig','CollaborationUIEventService','FromArray','_online','Tools','min','getSheetId','div','has','onTransformChange$','clsx','M0\x200H16V16H0z','engine','amd','getCurrentRevOfUnit','_createSocketURL','WebBrowserSingleActiveUnitService','_getSaveTimeout','_updateCollabCursors','RefRangeService','MOBILE_HAS_BEEN_BOUND','collab-text-anchor-','translate(.97)','_cursor','top','_transformPreviousActiveRange','SheetSkeletonManagerService','_colorAssignService','xlink:href','svg','Plugin','Inject','mask','registerRenderModule','debounce','_render','RECT','gold400','tag','getOwnPropertyDescriptor','SheetsSelectionsService','actions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','cursorInfo','_memberService','INVALID_ARGUMENT','useCallback','prototype','@univerjs/drawing','Tooltip','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','InsertRowCommandId','RxDisposable','sheetId','DEFAULT_WS_SESSION_TICKET_URL','_context','assignAColorForMemberID','complete','_cursorShapes','_setupSubUnitSync','UniverInstanceType','getCollabCursors$','DeleteRangeMoveLeftCommandId','onlineStatusTitle','FETCH_MISS','_transformService','UniverCore','rxjs','HEADER_MENU','getMember','debug','TEXT','IURLService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRenderManagerService','@univerjs/sheets-ui','unitID','_scene','AWAITING','useDependency','replaceState','_urlService','_initStatusListener','CHANGESET_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','bottom','newValue','size','_draw','DOC_RANGE_TYPE','_revisionService','indexOf','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','_notificationService','arc','_doCreateSocket','_setupBeforeClosingHandler','unshift','className','LOGIN_FAILED','onLocalMutation','none','getColor','getUnitStatus$','_renderManagerService','color','_assignedColors','subunit','setActiveRange','mapTo','show','setShapeProps','toRgbString','handleInsertCol','setTimeout','COMPLETION_FINISHED','RemoveColCommandId','SessionStatus','getActiveSheet','onlineStatus','_initEntityListener','data','_logService','onlineStatusIcon','2223890GcwjtP','status$','getVpScrollXYInfoByPosToVp','black','ALREADY_EXISTS','override','createSocket','roomMembers','origin','includes','_scheduleHeartbeat','_initEvent','setItem','CollaborationDataLoaderController','fillStyle','name','isArray','isEditing','addClipboardHook','collabStatus.synced','error','ITransformService','redoState','clipPath','_eventUnsubscribe','getOwnPropertySymbols','PY_RUNTIME_SCRIPT_ERROR','_getSheetObject','ICommandService','measureText','syncEditingCollabCursor','docStateChange$','react','_shapes','debounceTime','_entities','onRendered','WECHAT_HAS_BEEN_BOUND','getStateCache','symbol','saveOfflineData','createElement','combineLatest','focused$','setInterval','evenodd','transformMutationsWithChangeset','verdancy600','CONFLICT','LICENSE_IMPORT_SIZE_EXCEEDED','3345516MFdIMO','YUUMI_RATE_OVER_LIMIT','currentSkeleton$','_docSyncEditingCollabCursorService','_color','univer-flex\x20univer-items-center','ONLINE','IRemoteInstanceService','_id','BrowserCollaborationSocketService','_updateSubUnitFromURLParams','_cursorInfo$','getCurrent','unload','sessionTicket','transformIMECache','backgroundColor','@univerjs/ui','_drawAnchor','concat','with','DocIMEInputManagerService','_docTransformStateCacheService','ISocketService','attrs','univer-online-status-icon','RemoteUniscriptService','UniverCollaborationClientPlugin','ThemeService','session.connection-failed','_anchor','collaboration-client-ui.config','IImageIoService','APPLY_DUPLICATED','_toggleOffline','univer-online','filter','handleInsertRangeMoveRight','post','SNAPSHOT_INVALID_SNAPSHOT','ranges','ILogService','requireSession'];_0x313f=function(){return _0x431223;};return _0x313f();}