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

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 _0x13fe(){const _0x3f4a3d=['OFFLINE','_handleHeartbeatEvent','_collaborationUIEventService','MoveRangeCommandId','history','_getScale','InsertRangeMoveDownCommandId','off-line-single_clip0_910_343','fromEvent','getMember','USER_NOT_INVITED_CODE','eventID','debounceTime','assignAColorForMemberID','collaboration.single-unit.warning','234032HcDLHy','_logService','univer-online','startsWith','storage','replace','length','5586834fIvxZA','disposeWithMe','_collabCursorController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onMouseMove','Rect','@univerjs/docs','jiqing500','_registerRenderDependencies','symbol','save','name','UniverSheetsUi','DOC_RANGE_TYPE','_online','DeleteRangeMoveLeftCommandId','_scheduleHeartbeat','red300','Optional','handleMoveRange','flatMap','forwardRef','402527cXvPBo','getCurrent','isTransformMutationsWithChangesetSuccess','WebSocketService','HTTPService','getColor','_docSkeletonManagerService','transformByState','show','operators','getCurrentUnitForType','currentTheme$','getCollabEntity$','_urlService','font','send','removeParam','getCollabCursors$','CollaborationDataLoaderController','setStateCache','M0\x200H16V16H0z','setInterval','attrs','SYNCED','distinctUntilChanged','session.collaboration-timeout','mask','getViewport','_drawTextRange','generateRandomId','@univerjs/network','svg','mapTo','div','search','_cachedData','_document','RegularPolygon','_dataLoaderService','isEditing','@univerjs-pro/collaboration-client','_updateSubUnitFromURLParams','UniverRpc','DeleteRangeMoveUpCommandId','BrowserCollaborationSocketService','children','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','idSuffix','backgroundColor','getDocRanges','univer-flex\x20univer-items-center','_entityInit$','registerDependencies','get','_shapes','propertyIsEnumerable','_updateLocalCursor','pluginName','_univerInstanceService','_localeService','loadOfflineData','_handleHover','executeCommand','_cursors','DocSelectionManagerService','top','docStateChange$','APPLY_DUPLICATED','code','rxjs/operators','PENDING','params','findNodePositionByCharIndex','_initStatusListener','useRef','_saveTaskMap','createIdentifier','NodePositionConvertToRectRange','getTypeOfUnitAdded$','column','handleDeleteRangeMoveUp','debounce','push','indexOf','has','SNAPSHOT_INVALID_SNAPSHOT','filter','NodePositionConvertToCursor','_onCursorUpdate','key','UNIVER_DOC','DataLoaderService','loadUnit','m2Prime','MOBILE_HAS_BEEN_BOUND','debug','CollaborationController','@univerjs/sheets','getUnhiddenWorksheets','_assignedColors','bottom','react/jsx-runtime','UniverProCollaborationClient','_notificationService','_registerDependencies','InsertColCommandId','10hgNbSa','selections','_range','skeleton','find','_session','getConfig','UniverInstanceType','toStringTag','permission.title','registerBeforeClose','IImageIoService','MemberService','toDisposable','0\x200\x2016\x2016','blue400','rgba(255,\x20255,\x20255,\x200.01)','_getSaveTimeout','_transformPreviousActiveRange','startColumn','roomMembers$','@univerjs/engine-render','SheetsSelectionsService','#fff','Unknown\x20user','YUUMI_RATE_OVER_LIMIT','focused$','prototype','set','_transformUndoRedoStack','_heartbeatTimer','_httpService','NOT_COLLAB','_anchor','Tooltip','transformMutationsWithChangeset','EffectRefRangId','_updateCollabCursors','_hideTimer','HEADER_MENU','registerRenderModule','_clearOtherTimers','createElement','deepClone','_docStateChangeManagerService','createInstance','then','_handleLeaveEvent','UniverSheets','handleInsertRow','_init','onTransformChange$','closePath','entries','_refRangeService','collaboration.closeRoom','Inject','_hovered','getSkeleton','UniverCollaborationClientUIPlugin','_startSheetCollabCursor','runRefRangeMutations','labelPosition','addEventListener','mutations','on-line-single_clip0_910_349','addClipboardHook','_context','current','DocSkeletonManagerService','subscribe','location','defs','session.connection-failed','_startDocCollabCursor','RxDisposable','_memberService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetObject','redoState','RemoveRowCommandId','UniverCollaborationClientPlugin','trim','jsx','LICENSE_MAX_UNITS_EXCEEDED','transformStateCache','selection','Tools','doc.mutation.rich-text-editing','runId','body','source','_scheduleClearOtherTimer','IURLService','connectInjector','OTHER_CLIENTS_EDITING','subscribeEvent','replaceDocRanges','4SBQtoE','black','fill','entityInit$','enableLocalCache','substring','exports','evenodd','_lastPointer','getFocusedUnit','setParam','add','endRow','_color','_drawAnchor','collabStatus.syncing','INVALID_INVITE_CODE','_anchorDot','univer-online-status-icon','switchMap','_textBubble','onlineStatusTitle','setTimeout','online','setItem','_removeCollabCursors','event$','url(#on-line-single_clip0_910_349)','unsubscribe','UniverIcon','CollaborationEvent','getOwnPropertySymbols','@univerjs/design','transformIMECache','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','FromArray','function','addHandlerCallback','on-line-single','override','_docSkeleton','Injector','_collabCursorState$','UniverDesign','0\x200\x2017\x2016','IMessageService','IBeforeCloseService','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','SHEET_VIEWPORT_KEY','INVALID_ARGUMENT','_toggleOffline','mergeOverrideWithDependencies','React','collabCursorState$','collabStatus.notCollab','href','_getMergeRange','@univerjs/ui','init','transformMutation','unit','collaboration-client.offline-data-not-saved','3277515uieouM','_colorIndex','getActiveSheet','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','getMemberID','roomMembers','makeDirty','setUndoRedoMutationParamsCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-online-status','drawWith','CollaborationUIEventService','handleInsertRangeMoveRight','rxjs','UniverProCollaboration','8534178SQXshi','getRangePointData','url(#off-line-single_clip0_910_343)','actions','collabStatus.offline','purple300','_selfUnitIDs','getOwnPropertyDescriptor','#FFF','random','handleInsertRangeMoveDown','runOnServer','translate(.97)','_eventUnsubscribe','activeSheet$','_collaborationController','_initCommandExecutedListener','_initEvent','map','toString','UniverCore','RevisionService','imageSourceType','onStarting','TEXT_RANGE_LAYER_INDEX','disposeUnit','4cqfLMa','INVITE_CODE_ALREADY_BOUND','_commandService','ThemeService','Warning','161yNOkmr','text','syncEditingCollabCursor','_docTransformSelectionsService','unitID','data','_sheetSkeletonManagerService','@univerjs/core','m1Prime','_status$','OnLineSingle','_initStatusComponent','string','arc','18944101jITqAd','_handleEvent','getSheetId','memberID','InsertRangeMoveRightCommandId','_id','invokeId','_hover','currentSkeleton$','_renderManagerService','executionId','fillRule','collaboration-client-ui.config','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getTypeOfUnitDisposed$','with','pipe','EMAIL_HAS_BEEN_BOUND','dispose','CollaborationStatus','getUnitStatus$','@univerjs/rpc','saveOfflineData','IUIPartsService','getValue','TOO_MANY_REQUESTS','_themeService','NOT_FOUND','ENSURE_SNAPSHOT_EXECUTION','forEach','ILocalCacheService','UniverUi','IConfigService','_scene','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_removeClearOtherTimer','IRenderManagerService','UnitStatus','_onCursorDelete','INTERNAL_ERROR','_toggleOnline','DocStateChangeManagerService','path','NO_OTHER_CLIENTS_EDITING','clsx','2836311iSzTOi','SetWorksheetActivateCommand','DocIMEInputManagerService','_ensureSubject','Disposable','type','RefRangeService','_docTransformIMECacheService','1em','ILogService','cursorInfo$','handleInsertCol','status$','triggerDblclick','[CollaborationDataLoaderController]','getCurrentSelections','@univerjs/docs-ui','INVITE_CODE_REQUIRED','RemoteUniscriptService','CollaborationUIEventId','collab-rect-range-','_updateURLWithCurrentState','row','height','color','_getSheetObject','UNDEFINED','SOCKET_FAILED','_configService','_entities','clipPath','getSheetBySheetId','concat','dispose$','ALREADY_EXISTS','icon','LOGIN_FAILED','ONLINE','APPLY_PERMISSION_DENIED','CONNECTOR_DATA_TOO_LARGE','ICommandService','touchDependencies','clearInterval','width','UniverDocs','getVpScrollXYInfoByPosToVp','Rectangle','_saveCache','react','sessionStatus$','size','saveImage','_localStorageService','getCoordByCell','getCellPositionByOffset','textRanges','_docTransformStateCacheService','ranges','getAncestorScale','/run/','unload','gold400','popstate','min','max','Shape','addObjects','IUniverInstanceService','_setupBeforeClosingHandler','transformRemoteChangeset','_initEntityListener','measureText','assign','apply','pushState','INVITE_CODE_HAS_BEEN_UES','UNRECOGNIZED','SOCKET_FAILED_RETRY','BehaviorSubject','isArray','Error','fillText','sheetID','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','_uiPartsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','takeUntil','LOCAL_CACHE_INTERVAL_KEY','_collabSessionService','unshift','_send','UNAUTHENTICATED','cursorInfo','sheetId','_messageService','SNAPSHOT_HAS_BEEN_REMOVED','ITransformService','_cursorInfo$','_cursor','setActiveRange','_name','clearTimeout','unitId','getLocalCacheKey','wsSessionTicketUrl','onLocalMutation','error','_transformService','searchParams','SetTextSelectionsOperation','CollaborationStatusDisplay','JOIN_ROOM_FAILED','ILocalStorageService','WECHAT_HAS_BEEN_BOUND','_localCacheService','_createSocketURL','_backgroundColor','collab-text-anchor-','hide','editingUnit','stringify','OffLineSingle','fillStyle','DependentOn','onRendered','object','handleDeleteRangeMoveLeft','setConfig','resize','registerRefRange','onPointerLeave$','getUndoRedoMutationParamsCache','none','MessageType','onCommandExecuted','UNIVER_SHEET','exhaustSavingTask','DEFAULT_WS_SESSION_TICKET_URL','getActiveRange','_initResize','isTransformMutationFailure','shareReplay','_getSessionTicket','range','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','WebURLService','IDocClipboardService','AWAITING_WITH_PENDING','CONFLICT','LocaleService','_transformHistoryAndStateStack','TEXT','displayName','APPLY_NON_SEQUENTIAL_REVISION','_scheduleSaving','INotificationService','_handleJoinEvent','@univerjs/drawing','hovered','saveTaskMap','YUUMI_SUBSCRIPTION_NOT_FOUND','application/json','SheetSkeletonManagerService','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CLOSE_ROOM','registerComponent','defineProperty','SessionStatus','from','_colorAssignService','tag','urlChange$','_labelPosition','getParam','asObservable','ISnapshotServerService','_setupSubUnitSync','getUnitId','_config','_unitOnClients','Vector2','_unitStatus','next','onlineStatus','uni.network.url-service','Subject','_beforeCloseService','getStateCache','SUBMIT_CHANGESET_TIMEOUT','extend','_cursorShapes','_syncEditingCollabCursorService','@univerjs-pro/collaboration','Failed','onPointerEnter$','@univerjs/engine-formula','USERS_LEAVE','xlink:href','createSocket','post','session.will-retry','subunit','lineTo','_render','offline','_onRefRangeChange','collab-client.tooltip.reconnect','COLORS','getRenderById','currentColor','DesktopCollaborationStatusDisplayController','getUniverSheetInstance','all','RemoveColCommandId','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers$','ACTIVE_UNIT_EVENT_CHANNEL','newValue','_imageIoService','_refreshCollabCursors','transformSelections','UniverEngineFormula','colorChannel1','setShapeProps','_instanceService','call','AWAITING','verdancy600','round','requireSession','merge','SetSelectionsOperation','_getAnchorBounding','getRelativeToViewportCoord','UPDATE_CURSOR','subUnitId','_disabled','addObject','_injector','className','delete','undoState','@univerjs/sheets-ui','values','combineLatest','RECT','DisposableCollection','defIds','complete'];_0x13fe=function(){return _0x3f4a3d;};return _0x13fe();}function _0x57fc(_0x1f84d5,_0xe8ee39){const _0x13fe8b=_0x13fe();return _0x57fc=function(_0x57fc41,_0x52dddb){_0x57fc41=_0x57fc41-0x87;let _0x470764=_0x13fe8b[_0x57fc41];return _0x470764;},_0x57fc(_0x1f84d5,_0xe8ee39);}(function(_0x1ae2d3,_0x16963f){const _0x2c7705=_0x57fc,_0x3df4a2=_0x1ae2d3();while(!![]){try{const _0x5121ee=-parseInt(_0x2c7705(0x295))/0x1*(parseInt(_0x2c7705(0x12d))/0x2)+parseInt(_0x2c7705(0x16d))/0x3+parseInt(_0x2c7705(0xc3))/0x4*(-parseInt(_0x2c7705(0x103))/0x5)+-parseInt(_0x2c7705(0x27f))/0x6+-parseInt(_0x2c7705(0x132))/0x7*(parseInt(_0x2c7705(0x278))/0x8)+-parseInt(_0x2c7705(0x113))/0x9*(-parseInt(_0x2c7705(0x2ff))/0xa)+parseInt(_0x2c7705(0x140))/0xb;if(_0x5121ee===_0x16963f)break;else _0x3df4a2['push'](_0x3df4a2['shift']());}catch(_0xdc217d){_0x3df4a2['push'](_0x3df4a2['shift']());}}}(_0x13fe,0x869a4),function(_0x12b07a,_0x4d1e05){const _0x2e1443=_0x57fc;typeof exports==_0x2e1443(0x1eb)&&typeof module<'u'?_0x4d1e05(exports,require(_0x2e1443(0x2bd)),require('@univerjs/core'),require(_0x2e1443(0x314)),require(_0x2e1443(0x2b3)),require('@univerjs/docs-ui'),require(_0x2e1443(0x20b)),require(_0x2e1443(0x111)),require(_0x2e1443(0x285)),require(_0x2e1443(0x22f)),require(_0x2e1443(0x232)),require(_0x2e1443(0x2f6)),require(_0x2e1443(0x2da)),require(_0x2e1443(0x262)),require('react/jsx-runtime'),require(_0x2e1443(0xfe)),require('@univerjs/design'),require(_0x2e1443(0x19d)),require(_0x2e1443(0x155))):typeof define==_0x2e1443(0xe8)&&define['amd']?define([_0x2e1443(0xc9),_0x2e1443(0x2bd),_0x2e1443(0x139),_0x2e1443(0x314),_0x2e1443(0x2b3),_0x2e1443(0x17d),_0x2e1443(0x20b),'rxjs',_0x2e1443(0x285),_0x2e1443(0x22f),_0x2e1443(0x232),_0x2e1443(0x2f6),_0x2e1443(0x2da),_0x2e1443(0x262),_0x2e1443(0x2fa),'@univerjs/ui',_0x2e1443(0xe3),_0x2e1443(0x19d),_0x2e1443(0x155)],_0x4d1e05):(_0x12b07a=typeof globalThis<'u'?globalThis:_0x12b07a||self,_0x4d1e05(_0x12b07a['UniverProCollaborationClientUi']={},_0x12b07a[_0x2e1443(0x2fb)],_0x12b07a[_0x2e1443(0x127)],_0x12b07a['UniverEngineRender'],_0x12b07a['UniverNetwork'],_0x12b07a['UniverDocsUi'],_0x12b07a['UniverDrawing'],_0x12b07a[_0x2e1443(0x111)],_0x12b07a[_0x2e1443(0x199)],_0x12b07a[_0x2e1443(0x112)],_0x12b07a[_0x2e1443(0x24d)],_0x12b07a[_0x2e1443(0x91)],_0x12b07a[_0x2e1443(0x111)][_0x2e1443(0x29e)],_0x12b07a[_0x2e1443(0x28b)],_0x12b07a[_0x2e1443(0xf9)],_0x12b07a[_0x2e1443(0x15f)],_0x12b07a[_0x2e1443(0xef)],_0x12b07a[_0x2e1443(0xf9)],_0x12b07a[_0x2e1443(0x2bf)]));}(this,function(_0x31bd5e,_0x3fe587,_0x15b207,_0x241ab7,_0x5ba1cc,_0x57acc0,_0x5623a4,_0x548118,_0x374d97,_0x38de55,_0x32b66c,_0x159c7f,_0x58aad9,_0x20a1dc,_0x4d3f92,_0x4b9e13,_0x5a4da0,_0x504940,_0x3a7d89){'use strict';const _0x28bb4a=_0x57fc;var _0x5b15cd=Object['defineProperty'],_0x57a4c1=(_0x41e16b,_0x178aa2,_0x3e1c18)=>_0x178aa2 in _0x41e16b?_0x5b15cd(_0x41e16b,_0x178aa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e1c18}):_0x41e16b[_0x178aa2]=_0x3e1c18,_0x52ecbf=(_0x80aef3,_0x1eb4fd,_0x1ab641)=>_0x57a4c1(_0x80aef3,typeof _0x1eb4fd!=_0x28bb4a(0x288)?_0x1eb4fd+'':_0x1eb4fd,_0x1ab641),_0x41bd14=Object[_0x28bb4a(0x11a)],_0x1902be=(_0x177ae2,_0x5813b3,_0x3c73a7,_0x41c07a)=>{const _0x4bf8c8=_0x28bb4a;for(var _0x5adb05=_0x41c07a>0x1?void 0x0:_0x41c07a?_0x41bd14(_0x5813b3,_0x3c73a7):_0x5813b3,_0x4e54d1=_0x177ae2[_0x4bf8c8(0x27e)]-0x1,_0xc6f70b;_0x4e54d1>=0x0;_0x4e54d1--)(_0xc6f70b=_0x177ae2[_0x4e54d1])&&(_0x5adb05=_0xc6f70b(_0x5adb05)||_0x5adb05);return _0x5adb05;},_0x16c6da=(_0x5cc3f3,_0x1c7951)=>(_0x318368,_0xa0247d)=>_0x1c7951(_0x318368,_0xa0247d,_0x5cc3f3);let _0x221090=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x42479d,_0x4d7cde){const _0x39967b=_0x28bb4a;super(),this['_docClipboardService']=_0x42479d,this[_0x39967b(0x24a)]=_0x4d7cde,this[_0x39967b(0x93)]();}[_0x28bb4a(0x93)](){const _0x560750=_0x28bb4a,_0x3452b0=this;this[_0x560750(0x280)](this['_docClipboardService'][_0x560750(0xa3)]({'onBeforePasteImage':async _0x5450dc=>{const _0x2f3dd5=_0x560750,_0x52a7c2=await _0x3452b0[_0x2f3dd5(0x24a)][_0x2f3dd5(0x1a0)](_0x5450dc);return _0x52a7c2?{'source':_0x52a7c2[_0x2f3dd5(0xbc)],'imageSourceType':_0x52a7c2[_0x2f3dd5(0x129)]}:null;}}));}};_0x221090=_0x1902be([_0x16c6da(0x0,_0x57acc0[_0x28bb4a(0x200)]),_0x16c6da(0x1,_0x5623a4[_0x28bb4a(0x30a)])],_0x221090);const _0x1561ff=[_0x28bb4a(0x118),_0x28bb4a(0x286),_0x28bb4a(0x253),_0x28bb4a(0x290),_0x28bb4a(0x30e),_0x28bb4a(0x1aa)];class _0x406998 extends _0x15b207[_0x28bb4a(0x171)]{constructor(){const _0x58f0e8=_0x28bb4a;super(...arguments),_0x52ecbf(this,_0x58f0e8(0x2f8),new Map()),_0x52ecbf(this,_0x58f0e8(0x104),0x0);}['assignAColorForMemberID'](_0x4389e6){const _0x2ef3d9=_0x28bb4a;if(this['_assignedColors'][_0x2ef3d9(0x2e9)](_0x4389e6))return this[_0x2ef3d9(0x2f8)][_0x2ef3d9(0x2ca)](_0x4389e6);const _0x389ed1=_0x1561ff[this[_0x2ef3d9(0x104)]];return this[_0x2ef3d9(0x104)]=(this[_0x2ef3d9(0x104)]+0x1)%_0x1561ff['length'],this['_assignedColors'][_0x2ef3d9(0x31b)](_0x4389e6,_0x389ed1),_0x389ed1;}}function _0x4a55c0(_0x209a77){const _0x288529=_0x28bb4a;let _0x1a1b4c='';for(const _0xf7cb3e of _0x209a77){const {startOffset:_0x57f2ab,endOffset:_0x17f5d7,isActive:_0x51c4cc,rangeType:_0x1c1657,segmentId:_0x31f39b,segmentPage:_0x2eb574}=_0xf7cb3e;_0x1a1b4c[_0x288529(0x27e)]&&(_0x1a1b4c+=','),_0x1a1b4c+=_0x57f2ab+':'+_0x17f5d7+':'+(_0x51c4cc?'1':'0')+':'+_0x1c1657+':'+_0x31f39b+':'+_0x2eb574;}return _0x1a1b4c;}function _0xf8cd1a(_0x2c5012){const _0xc69c01=_0x28bb4a,_0x12795c=_0x2c5012['split'](','),_0x478ea3=[];for(const _0x54a56b of _0x12795c){const [_0x16e60f,_0x45a0bf,_0xb528be,_0x7a3928,_0xccd945,_0x1fc538]=_0x54a56b['split'](':');_0x478ea3['push']({'startOffset':Number(_0x16e60f),'endOffset':Number(_0x45a0bf),'collapsed':_0x16e60f===_0x45a0bf,'isActive':_0xb528be==='1','rangeType':_0x7a3928===_0x15b207[_0xc69c01(0x28c)]['TEXT']?_0x15b207[_0xc69c01(0x28c)][_0xc69c01(0x205)]:_0x15b207['DOC_RANGE_TYPE'][_0xc69c01(0x265)],'segmentId':typeof _0xccd945==_0xc69c01(0x13e)?String(_0xccd945):'','segmentPage':Number(_0x1fc538!=null?_0x1fc538:-0x1)});}return _0x478ea3['some'](_0x12fc18=>_0x12fc18['isActive'])||(_0x478ea3[0x0]['isActive']=!0x0),_0x478ea3;}class _0x50948d extends _0x15b207[_0x28bb4a(0xac)]{constructor(){const _0x3402ea=_0x28bb4a;super(...arguments),_0x52ecbf(this,_0x3402ea(0xee),new _0x548118['BehaviorSubject'](null)),_0x52ecbf(this,_0x3402ea(0xfa),this['_collabCursorState$'][_0x3402ea(0x21d)]());}[_0x28bb4a(0x134)](_0xd82697){const {unitID:_0x2f1222,memberID:_0x3b221f,textRanges:_0x4dfd8b}=_0xd82697,_0x3226cd=_0x4a55c0(_0x4dfd8b);if(_0x3226cd==='')return;const _0x2907a9={'unitID':_0x2f1222,'memberID':_0x3b221f,'selection':_0x3226cd};this['_collabCursorState$']['next'](_0x2907a9);}}var _0x43a5b9=Object[_0x28bb4a(0x11a)],_0x3b42b0=(_0x3fc685,_0x4f508b,_0x5907be,_0x15935a)=>{for(var _0x300f3c=_0x15935a>0x1?void 0x0:_0x15935a?_0x43a5b9(_0x4f508b,_0x5907be):_0x4f508b,_0x2f9f17=_0x3fc685['length']-0x1,_0x18dfa8;_0x2f9f17>=0x0;_0x2f9f17--)(_0x18dfa8=_0x3fc685[_0x2f9f17])&&(_0x300f3c=_0x18dfa8(_0x300f3c)||_0x300f3c);return _0x300f3c;},_0x10aaf3=(_0x5b2329,_0x2ffe60)=>(_0x7d5d0f,_0x28df9d)=>_0x2ffe60(_0x7d5d0f,_0x28df9d,_0x5b2329);const _0x323811=0x12c,_0x4f67ed=0x64;let _0x5d4a58=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x19dfa5,_0x391159,_0x48e753,_0x5ed0a8,_0x4159d4,_0x538830,_0x2e0c5a,_0x33b9dc,_0x131932){const _0x3b06c5=_0x28bb4a;super(),_0x52ecbf(this,_0x3b06c5(0x28d),!0x1),_0x52ecbf(this,'_init',!0x1),_0x52ecbf(this,'_cursorInfo$',new _0x548118['BehaviorSubject'](new Map())),_0x52ecbf(this,_0x3b06c5(0x177),this[_0x3b06c5(0x1cf)][_0x3b06c5(0x21d)]()),_0x52ecbf(this,'_roomMembers$',new _0x548118[(_0x3b06c5(0x1bb))]([])),_0x52ecbf(this,'roomMembers$',this[_0x3b06c5(0x247)][_0x3b06c5(0x150)](_0x548118[_0x3b06c5(0x275)](_0x323811))),_0x52ecbf(this,_0x3b06c5(0x2cd),_0x15b207[_0x3b06c5(0x2e6)](_0x466a09=>{const _0x3edb91=_0x3b06c5,_0x5cb245={'eventID':_0x38de55[_0x3edb91(0xe1)][_0x3edb91(0x25a)],'data':{'unitID':this[_0x3edb91(0x136)],'memberID':this[_0x3edb91(0x304)]['getMemberID'](),'selection':_0x4a55c0(_0x466a09)}};this['_session'][_0x3edb91(0x2a4)](_0x5cb245,this[_0x3edb91(0x136)]);},_0x4f67ed)),(this[_0x3b06c5(0x136)]=_0x19dfa5,this['_session']=_0x391159,this[_0x3b06c5(0x25e)]=_0x48e753,this[_0x3b06c5(0x218)]=_0x5ed0a8,this[_0x3b06c5(0xad)]=_0x4159d4,this[_0x3b06c5(0x22e)]=_0x538830,this['_transformService']=_0x2e0c5a,this[_0x3b06c5(0x2cf)]=_0x33b9dc,this[_0x3b06c5(0x12f)]=_0x131932);}get['cursorInfo'](){const _0x438429=_0x28bb4a;return this[_0x438429(0x1cf)][_0x438429(0x158)]();}get[_0x28bb4a(0x109)](){const _0x566e16=_0x28bb4a;return this[_0x566e16(0x247)][_0x566e16(0x158)]();}['dispose'](){const _0x46612c=_0x28bb4a;super[_0x46612c(0x152)](),this['_cursorInfo$'][_0x46612c(0x225)](new Map()),this['_cursorInfo$'][_0x46612c(0x268)](),this[_0x46612c(0x247)]['next']([]),this[_0x46612c(0x247)][_0x46612c(0x268)]();}[_0x28bb4a(0xff)](){const _0x5b6025=_0x28bb4a;this[_0x5b6025(0x93)]||(this[_0x5b6025(0x93)]=!0x0,this['_session'][_0x5b6025(0x19e)][_0x5b6025(0x150)](_0x548118[_0x5b6025(0x1c4)](this['dispose$']))['subscribe'](_0x5e5b9d=>{const _0x588092=_0x5b6025;_0x5e5b9d===_0x3fe587[_0x588092(0x216)]['ONLINE']?this['_toggleOnline']():this[_0x588092(0xf7)]();}),this[_0x5b6025(0x304)][_0x5b6025(0xdd)][_0x5b6025(0x150)](_0x548118['takeUntil'](this['dispose$']))[_0x5b6025(0xa7)](_0x24af24=>{const _0x42cfa0=_0x5b6025,_0x4f9dc1=_0x24af24[_0x42cfa0(0x274)];_0x4f9dc1===_0x38de55[_0x42cfa0(0xe1)][_0x42cfa0(0x25a)]&&this[_0x42cfa0(0x2ed)](_0x24af24),_0x4f9dc1===_0x38de55[_0x42cfa0(0xe1)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x24af24);}),this[_0x5b6025(0x280)](this[_0x5b6025(0x12f)][_0x5b6025(0x1f4)](_0xbac4f4=>{const _0x3f7f64=_0x5b6025,_0x256fe5=_0xbac4f4[_0x3f7f64(0x2dc)];_0x256fe5!=null&&this['_online']&&_0xbac4f4['id']===_0x374d97[_0x3f7f64(0x1db)]['id']&&_0x256fe5[_0x3f7f64(0x1d4)]===this[_0x3f7f64(0x136)]&&_0x256fe5[_0x3f7f64(0x2bc)]===!0x1&&_0x256fe5[_0x3f7f64(0x1a6)][_0x3f7f64(0x27e)]>0x0&&this[_0x3f7f64(0x2cd)](_0x256fe5[_0x3f7f64(0x1a6)]);})),this['_syncEditingCollabCursorService'][_0x5b6025(0xfa)][_0x5b6025(0x150)](_0x548118['takeUntil'](this['dispose$']))[_0x5b6025(0xa7)](_0x2d611c=>{const _0x16a65b=_0x5b6025;if((_0x2d611c==null?void 0x0:_0x2d611c[_0x16a65b(0x136)])!==this['unitID'])return;const _0x4dfc47={'eventID':_0x38de55['CollaborationEvent'][_0x16a65b(0x25a)],'data':_0x2d611c};this['_onCursorUpdate'](_0x4dfc47);}),this[_0x5b6025(0x280)](this[_0x5b6025(0x12f)][_0x5b6025(0x1f4)](_0x4ed3d5=>{const _0x3d9dc6=_0x5b6025;if(_0x4ed3d5['params']==null)return;const _0x2c1db5=_0x4ed3d5[_0x3d9dc6(0x2dc)];if(_0x4ed3d5['id']!==_0x374d97['RichTextEditingMutation']['id']||_0x2c1db5[_0x3d9dc6(0x1d4)]!==this[_0x3d9dc6(0x136)])return;const _0x3ab060={'id':_0x3d9dc6(0xb9),'params':_0x2c1db5},_0x4feb15=this[_0x3d9dc6(0x1ca)];for(const [_0x2d96e2,_0x430a3e]of _0x4feb15){const _0x98c30e={'id':_0x3d9dc6(0xb9),'params':{'unitId':this[_0x3d9dc6(0x136)],'actions':null,'textRanges':_0x430a3e[_0x3d9dc6(0x1a6)]}},_0x3424a4=this[_0x3d9dc6(0x1d9)][_0x3d9dc6(0x100)](_0x3ab060,_0x98c30e,!0x1);if(_0x38de55[_0x3d9dc6(0x1fa)](_0x3424a4))throw _0x3424a4['error'];_0x4feb15[_0x3d9dc6(0x31b)](_0x2d96e2,{..._0x430a3e,'ranges':_0x3424a4[_0x3d9dc6(0x2f2)]['params']['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4feb15);});})));}[_0x28bb4a(0x2ed)](_0x3c5da2){const _0x586ec4=_0x28bb4a;var _0x269f04,_0x29420e;const {memberID:_0xa5208,selection:_0x221192}=_0x3c5da2[_0x586ec4(0x137)],_0x1fa05c=_0xf8cd1a(_0x221192),_0x5c2494=(_0x29420e=(_0x269f04=this[_0x586ec4(0xad)]['getMember'](this[_0x586ec4(0x136)],_0xa5208))==null?void 0x0:_0x269f04[_0x586ec4(0x28a)])!=null?_0x29420e:_0x586ec4(0x317),_0x31c9d9={'color':this[_0x586ec4(0x218)][_0x586ec4(0x276)](_0xa5208),'name':_0x5c2494,'ranges':_0x1fa05c},_0x559405=this[_0x586ec4(0x1ca)];_0x559405['set'](_0xa5208,_0x31c9d9),this[_0x586ec4(0x1cf)][_0x586ec4(0x225)](_0x559405);}[_0x28bb4a(0x166)](_0x807cd7){const _0x9a5bde=_0x28bb4a,{memberID:_0x365461}=_0x807cd7[_0x9a5bde(0x137)],_0x114f65=this[_0x9a5bde(0x1ca)];_0x114f65['delete'](_0x365461),this['_cursorInfo$'][_0x9a5bde(0x225)](_0x114f65);}[_0x28bb4a(0x168)](){const _0x2f054=_0x28bb4a;var _0x4ae4cf;if(this['_online']=!0x0,((_0x4ae4cf=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4ae4cf[_0x2f054(0x220)]())!==this['unitID'])return;const _0x356f1c=this[_0x2f054(0x25e)][_0x2f054(0x2ca)](_0x374d97[_0x2f054(0x2d5)])['getDocRanges']();Array[_0x2f054(0x1bc)](_0x356f1c)&&_0x356f1c[_0x2f054(0x27e)]>0x0&&this[_0x2f054(0x2cd)](_0x356f1c);}['_toggleOffline'](){const _0x26c577=_0x28bb4a;this[_0x26c577(0x28d)]=!0x1;}};_0x5d4a58=_0x3b42b0([_0x10aaf3(0x2,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0x10aaf3(0x3,_0x15b207['Inject'](_0x406998)),_0x10aaf3(0x4,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x30b)])),_0x10aaf3(0x5,_0x15b207[_0x28bb4a(0x99)](_0x50948d)),_0x10aaf3(0x6,_0x38de55[_0x28bb4a(0x1ce)]),_0x10aaf3(0x7,_0x15b207[_0x28bb4a(0x1b0)]),_0x10aaf3(0x8,_0x15b207[_0x28bb4a(0x195)])],_0x5d4a58);var _0x28029c=Object[_0x28bb4a(0x11a)],_0x12fbc2=(_0x56892d,_0x5ec727,_0xe457ca,_0x3a28f3)=>{const _0x3da090=_0x28bb4a;for(var _0x5af0d3=_0x3a28f3>0x1?void 0x0:_0x3a28f3?_0x28029c(_0x5ec727,_0xe457ca):_0x5ec727,_0x3ad6e8=_0x56892d[_0x3da090(0x27e)]-0x1,_0x17118f;_0x3ad6e8>=0x0;_0x3ad6e8--)(_0x17118f=_0x56892d[_0x3ad6e8])&&(_0x5af0d3=_0x17118f(_0x5af0d3)||_0x5af0d3);return _0x5af0d3;},_0x5d2d35=(_0x2bac89,_0x3654ff)=>(_0x4ce77b,_0x4608e3)=>_0x3654ff(_0x4ce77b,_0x4608e3,_0x2bac89);const _0x5ccb72=0x12c,_0x453199=0x64,_0x4fd739=()=>{let _0x2f74ca=[],_0x54ae2d=!0x1;return _0x222823=>{_0x2f74ca['push'](_0x222823),_0x54ae2d||(_0x54ae2d=!0x0,setTimeout(()=>{const _0x520fe1=_0x57fc;_0x2f74ca[_0x520fe1(0x15d)](_0x519e89=>_0x519e89()),_0x2f74ca=[],_0x54ae2d=!0x1;}));};};let _0x2587d0=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x140fcf,_0x4cbda0,_0x2a849c,_0x582642,_0xc7211f,_0x238902,_0x145921,_0x494ad3){const _0x44870d=_0x28bb4a;super(),_0x52ecbf(this,_0x44870d(0x28d),!0x1),_0x52ecbf(this,_0x44870d(0x93),!0x1),_0x52ecbf(this,_0x44870d(0x1cf),new _0x548118[(_0x44870d(0x1bb))](new Map())),_0x52ecbf(this,_0x44870d(0x177),this[_0x44870d(0x1cf)][_0x44870d(0x21d)]()),_0x52ecbf(this,'_roomMembers$',new _0x548118['BehaviorSubject']([])),_0x52ecbf(this,_0x44870d(0x313),this[_0x44870d(0x247)][_0x44870d(0x150)](_0x548118[_0x44870d(0x275)](_0x5ccb72))),_0x52ecbf(this,_0x44870d(0x2cd),_0x15b207[_0x44870d(0x2e6)]((_0x1b0f19,_0x2eed22)=>{const _0x482639=_0x44870d,_0x14f2c5={'eventID':_0x38de55[_0x482639(0xe1)][_0x482639(0x25a)],'data':{'unitID':this['unitID'],'memberID':this[_0x482639(0x304)][_0x482639(0x108)](),'selection':_0x32b66c['serializeRangeWithSheet'](_0x1b0f19,_0x2eed22['range'])}};this[_0x482639(0x304)][_0x482639(0x2a4)](_0x14f2c5,this[_0x482639(0x136)]);},_0x453199)),(this['unitID']=_0x140fcf,this[_0x44870d(0x304)]=_0x4cbda0,this[_0x44870d(0x25e)]=_0x2a849c,this[_0x44870d(0x218)]=_0x582642,this['_memberService']=_0xc7211f,this['_univerInstanceService']=_0x238902,this['_commandService']=_0x145921,this[_0x44870d(0x97)]=_0x494ad3);}get[_0x28bb4a(0x1ca)](){const _0x5a100d=_0x28bb4a;return this[_0x5a100d(0x1cf)]['getValue']();}get[_0x28bb4a(0x109)](){const _0x440ed4=_0x28bb4a;return this[_0x440ed4(0x247)][_0x440ed4(0x158)]();}[_0x28bb4a(0x152)](){const _0x1c6fb1=_0x28bb4a;super[_0x1c6fb1(0x152)](),this['_cursorInfo$'][_0x1c6fb1(0x225)](new Map()),this[_0x1c6fb1(0x1cf)][_0x1c6fb1(0x268)](),this['_roomMembers$']['next']([]),this[_0x1c6fb1(0x247)]['complete']();}[_0x28bb4a(0xff)](){const _0x141117=_0x28bb4a;this[_0x141117(0x93)]||(this['_init']=!0x0,this[_0x141117(0x304)][_0x141117(0x19e)][_0x141117(0x150)](_0x548118[_0x141117(0x1c4)](this[_0x141117(0x18e)]))['subscribe'](_0x5c3362=>{const _0x17e522=_0x141117;_0x5c3362===_0x3fe587['SessionStatus'][_0x17e522(0x192)]?this[_0x17e522(0x168)]():this['_toggleOffline']();}),this['_session'][_0x141117(0xdd)]['pipe'](_0x548118['takeUntil'](this[_0x141117(0x18e)]))['subscribe'](_0x1dcbae=>{const _0x52ec41=_0x141117,_0x25e84d=_0x1dcbae[_0x52ec41(0x274)];_0x25e84d===_0x38de55['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x52ec41(0x2ed)](_0x1dcbae),_0x25e84d===_0x38de55[_0x52ec41(0xe1)][_0x52ec41(0x233)]&&this[_0x52ec41(0x166)](_0x1dcbae);}),this[_0x141117(0x23c)](),this[_0x141117(0x280)](this[_0x141117(0x12f)]['onCommandExecuted'](_0x5863d9=>{const _0x340f45=_0x141117;if(this[_0x340f45(0x28d)]&&_0x5863d9['id']===_0x159c7f[_0x340f45(0x257)]['id']&&_0x5863d9[_0x340f45(0x2dc)][_0x340f45(0x1d4)]===this[_0x340f45(0x136)]){const _0x23b858=_0x5863d9['params'];this['_updateLocalCursor'](_0x23b858[_0x340f45(0x25b)],_0x23b858[_0x340f45(0x300)][0x0]);}})));}[_0x28bb4a(0x2ed)](_0x3fe322){const _0x7cc212=_0x28bb4a;var _0x22d240,_0x3d226f;const {memberID:_0x24b155,selection:_0x40a7f1}=_0x3fe322[_0x7cc212(0x137)],{sheetName:_0x23c34e,range:_0x4dad06}=_0x32b66c['deserializeRangeWithSheet'](_0x40a7f1),_0x27465b={'name':(_0x3d226f=(_0x22d240=this[_0x7cc212(0xad)][_0x7cc212(0x272)](this[_0x7cc212(0x136)],_0x24b155))==null?void 0x0:_0x22d240['name'])!=null?_0x3d226f:_0x7cc212(0x317),'range':this['_getMergeRange'](_0x23c34e,_0x4dad06),'sheetID':_0x23c34e,'color':this[_0x7cc212(0x218)]['assignAColorForMemberID'](_0x24b155),'selection':_0x40a7f1},_0x3de97d=this[_0x7cc212(0x1ca)];_0x3de97d[_0x7cc212(0x31b)](_0x24b155,_0x27465b),this[_0x7cc212(0x1cf)][_0x7cc212(0x225)](_0x3de97d);}[_0x28bb4a(0x166)](_0xb0e34c){const _0x2afc04=_0x28bb4a,{memberID:_0x9b53dd}=_0xb0e34c[_0x2afc04(0x137)],_0x12a112=this[_0x2afc04(0x1ca)];_0x12a112['delete'](_0x9b53dd),this[_0x2afc04(0x1cf)]['next'](_0x12a112);}[_0x28bb4a(0xfd)](_0x2bcf6c,_0x90f5e9){const _0x1070e6=_0x28bb4a;var _0x4a84ae,_0x4ae43f;const _0x4542e3=(_0x4ae43f=(_0x4a84ae=this['_univerInstanceService'][_0x1070e6(0x242)](this[_0x1070e6(0x136)]))==null?void 0x0:_0x4a84ae['getSheetBySheetId'](_0x2bcf6c))==null?void 0x0:_0x4ae43f['getMergeData']();return(_0x4542e3==null?void 0x0:_0x4542e3[_0x1070e6(0x303)](_0x22e9d2=>_0x15b207[_0x1070e6(0x19b)]['contains'](_0x22e9d2,_0x90f5e9)))||_0x90f5e9;}[_0x28bb4a(0x23c)](){const _0x49a45f=_0x28bb4a,_0x2c36dd=new _0x15b207[(_0x49a45f(0x266))](),_0x28b6cb=_0x4fd739(),_0xc767d8=()=>{const _0x4712a8=_0x49a45f;_0x2c36dd['dispose']();const _0x54e23b=(_0x438a9f,_0x46b20c,_0x409ef6,_0x5d2957)=>{const _0x2a81ce=_0x57fc;let _0xf44044=[];switch(_0x438a9f['id']){case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x28e)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x1ec)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x2c0)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x2e5)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x2fe)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x178)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x26f)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x11d)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x144)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x110)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)]['InsertRowCommandId']:{_0xf44044=_0x159c7f[_0x2a81ce(0x92)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x26c)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x292)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x244)]:{_0xf44044=_0x159c7f['handleIRemoveCol'](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0xb1)]:{_0xf44044=_0x159c7f['handleIRemoveRow'](_0x438a9f,_0x5d2957);break;}}const _0x525362=_0x159c7f[_0x2a81ce(0x9e)](_0xf44044,_0x5d2957),_0x3bd811=this[_0x2a81ce(0x1ca)][_0x2a81ce(0x2ca)](_0x46b20c);if(_0x3bd811&&_0x525362){const _0x4e6c04={..._0x3bd811,'range':_0x525362};this[_0x2a81ce(0x1ca)]['set'](_0x46b20c,_0x4e6c04),_0x28b6cb(()=>{const _0xd78711=_0x2a81ce,_0x155106=this[_0xd78711(0x97)][_0xd78711(0x1ef)](_0x525362,_0x1a4b1a=>(_0x155106['dispose'](),_0x54e23b(_0x1a4b1a,_0x46b20c,_0x409ef6,_0x525362)));_0x2c36dd['add'](_0x155106);});}return{'redos':[],'undos':[]};};this[_0x4712a8(0x1ca)][_0x4712a8(0x15d)]((_0xf0e5b9,_0x2bf686)=>{const _0x3c92e4=_0x4712a8,{range:_0xc5f0ab,sheetID:_0x1d6a58}=_0xf0e5b9,_0x2dc3e2=this[_0x3c92e4(0x97)][_0x3c92e4(0x1ef)](_0xc5f0ab,_0x2fca07=>(_0x2dc3e2['dispose'](),_0x54e23b(_0x2fca07,_0x2bf686,_0x1d6a58,_0xc5f0ab)));_0x2c36dd[_0x3c92e4(0xce)](_0x2dc3e2);});};this[_0x49a45f(0x280)](_0x15b207[_0x49a45f(0x30c)](this['_cursorInfo$']['subscribe'](()=>{_0xc767d8();})));}[_0x28bb4a(0x168)](){const _0x114c99=_0x28bb4a;var _0x2b1a04,_0x195cfb;if(this['_online']=!0x0,((_0x2b1a04=this[_0x114c99(0x2cf)][_0x114c99(0xcc)]())==null?void 0x0:_0x2b1a04[_0x114c99(0x220)]())!==this[_0x114c99(0x136)])return;const _0x1072ca=(_0x195cfb=this['_injector'][_0x114c99(0x2ca)](_0x159c7f[_0x114c99(0x315)])[_0x114c99(0x17c)]())==null?void 0x0:_0x195cfb[0x0],_0x58eda3=this[_0x114c99(0x2cf)][_0x114c99(0x29f)](_0x15b207[_0x114c99(0x306)][_0x114c99(0x1f5)])['getActiveSheet']();_0x1072ca&&_0x58eda3&&this[_0x114c99(0x2cd)](_0x58eda3[_0x114c99(0x142)](),_0x1072ca);}['_toggleOffline'](){const _0x23f6fa=_0x28bb4a;this[_0x23f6fa(0x28d)]=!0x1;}};_0x2587d0=_0x12fbc2([_0x5d2d35(0x2,_0x15b207['Inject'](_0x15b207['Injector'])),_0x5d2d35(0x3,_0x15b207[_0x28bb4a(0x99)](_0x406998)),_0x5d2d35(0x4,_0x15b207['Inject'](_0x3fe587[_0x28bb4a(0x30b)])),_0x5d2d35(0x5,_0x15b207[_0x28bb4a(0x1b0)]),_0x5d2d35(0x6,_0x15b207[_0x28bb4a(0x195)]),_0x5d2d35(0x7,_0x15b207['Inject'](_0x159c7f[_0x28bb4a(0x173)]))],_0x2587d0);var _0x3649f0=Object[_0x28bb4a(0x11a)],_0x58bc55=(_0x38274b,_0x396774,_0x5e6f94,_0x419c14)=>{const _0x5bb5f5=_0x28bb4a;for(var _0x45085e=_0x419c14>0x1?void 0x0:_0x419c14?_0x3649f0(_0x396774,_0x5e6f94):_0x396774,_0x13d41a=_0x38274b[_0x5bb5f5(0x27e)]-0x1,_0x11eaad;_0x13d41a>=0x0;_0x13d41a--)(_0x11eaad=_0x38274b[_0x13d41a])&&(_0x45085e=_0x11eaad(_0x45085e)||_0x45085e);return _0x45085e;},_0x332f3b=(_0x33c694,_0x553bed)=>(_0x5d91c2,_0x1320a3)=>_0x553bed(_0x5d91c2,_0x1320a3,_0x33c694);let _0x338aa0=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x32ec5,_0xf0eb9e,_0x2e7a52){const _0x3094f5=_0x28bb4a;super(),_0x52ecbf(this,_0x3094f5(0x18a),new Map()),_0x52ecbf(this,_0x3094f5(0x2c8),new _0x548118[(_0x3094f5(0x228))]()),(this[_0x3094f5(0x2cf)]=_0x32ec5,this[_0x3094f5(0x25e)]=_0xf0eb9e,this['_collabSessionService']=_0x2e7a52,this['_init']());}[_0x28bb4a(0x152)](){const _0x2636bc=_0x28bb4a;super[_0x2636bc(0x152)](),this[_0x2636bc(0x2c8)][_0x2636bc(0x268)](),this['_entities'][_0x2636bc(0x15d)](_0x48e791=>_0x48e791[_0x2636bc(0x152)]());}[_0x28bb4a(0x2a6)](_0x2d6bf1){const _0x4ae5fb=_0x28bb4a;return this['_entities'][_0x4ae5fb(0x2e9)](_0x2d6bf1)?this[_0x4ae5fb(0x18a)][_0x4ae5fb(0x2ca)](_0x2d6bf1)['cursorInfo$']:this[_0x4ae5fb(0x2c8)][_0x4ae5fb(0x150)](_0x548118[_0x4ae5fb(0x2eb)](_0x32b838=>_0x32b838[_0x4ae5fb(0x136)]===_0x2d6bf1),_0x548118[_0x4ae5fb(0xd6)](_0x411911=>_0x411911[_0x4ae5fb(0x177)]));}[_0x28bb4a(0x93)](){const _0x20b5dd=_0x28bb4a;this[_0x20b5dd(0x2cf)]['getTypeOfUnitAdded$'](_0x15b207['UniverInstanceType'][_0x20b5dd(0x1f5)])[_0x20b5dd(0x150)](_0x548118['takeUntil'](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0xa7)](async _0x49f70a=>{const _0x23cfdc=_0x20b5dd,_0x148300=_0x49f70a[_0x23cfdc(0x220)](),_0x486a25=await this[_0x23cfdc(0x9d)](_0x148300);this[_0x23cfdc(0x2c8)][_0x23cfdc(0x225)](_0x486a25),this['_entities'][_0x23cfdc(0x31b)](_0x148300,_0x486a25);}),this[_0x20b5dd(0x2cf)][_0x20b5dd(0x2e3)](_0x15b207[_0x20b5dd(0x306)][_0x20b5dd(0x2ef)])['pipe'](_0x548118[_0x20b5dd(0x1c4)](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0x150)](_0x548118['filter'](_0xeaf1c3=>!_0xeaf1c3[_0x20b5dd(0x220)]()[_0x20b5dd(0x27b)]('__')))[_0x20b5dd(0xa7)](async _0x207b61=>{const _0x51d393=_0x20b5dd,_0x4fc381=_0x207b61['getUnitId'](),_0x3fdd35=await this[_0x51d393(0xab)](_0x4fc381);this[_0x51d393(0x2c8)][_0x51d393(0x225)](_0x3fdd35),this[_0x51d393(0x18a)]['set'](_0x4fc381,_0x3fdd35);}),_0x548118['merge'](this[_0x20b5dd(0x2cf)][_0x20b5dd(0x14e)](_0x15b207[_0x20b5dd(0x306)][_0x20b5dd(0x2ef)]),this[_0x20b5dd(0x2cf)][_0x20b5dd(0x14e)](_0x15b207['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x548118[_0x20b5dd(0x1c4)](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0xa7)](_0x5ad8f1=>{const _0x31bcdb=_0x20b5dd,_0x47edaa=_0x5ad8f1[_0x31bcdb(0x220)](),_0x1273b2=this[_0x31bcdb(0x18a)][_0x31bcdb(0x2ca)](_0x47edaa);_0x1273b2&&(_0x1273b2['dispose'](),this[_0x31bcdb(0x18a)][_0x31bcdb(0x260)](_0x47edaa));});}async[_0x28bb4a(0x9d)](_0x2200bd){const _0x257c7b=_0x28bb4a,_0x1e7894=await this[_0x257c7b(0x1c6)][_0x257c7b(0x255)](_0x2200bd),_0x3d0418=this[_0x257c7b(0x25e)][_0x257c7b(0x8e)](_0x2587d0,_0x2200bd,_0x1e7894);return _0x3d0418[_0x257c7b(0xff)](),_0x3d0418;}async[_0x28bb4a(0xab)](_0x2cae1d){const _0x3621b1=_0x28bb4a,_0x49d739=await this[_0x3621b1(0x1c6)][_0x3621b1(0x255)](_0x2cae1d),_0x3c2b0=this['_injector'][_0x3621b1(0x8e)](_0x5d4a58,_0x2cae1d,_0x49d739);return _0x3c2b0[_0x3621b1(0xff)](),_0x3c2b0;}};_0x338aa0=_0x58bc55([_0x332f3b(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x332f3b(0x1,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0x332f3b(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587['CollaborationSessionService']))],_0x338aa0);const _0x528f51=0x14,_0x36c47a=0xc8,_0x559814=0x4,_0x4320a4=0x5;function _0x1accd5(_0x358e29,_0x2dacdc){const _0x58d473=_0x28bb4a;let {radius:_0x50bc73,width:_0x2d9b47,height:_0x3fb99a}=_0x2dacdc;_0x50bc73=_0x50bc73!=null?_0x50bc73:0x0,_0x2d9b47=_0x2d9b47!=null?_0x2d9b47:0x1e,_0x3fb99a=_0x3fb99a!=null?_0x3fb99a:0x1e;let _0x5b5e57=0x0,_0x297410=0x0,_0x565c72=0x0;_0x5b5e57=_0x297410=_0x565c72=Math[_0x58d473(0x1ac)](_0x50bc73,_0x2d9b47/0x2,_0x3fb99a/0x2),_0x358e29['beginPath'](),_0x358e29['moveTo'](_0x5b5e57,0x0),_0x358e29[_0x58d473(0x239)](_0x2d9b47-_0x297410,0x0),_0x358e29[_0x58d473(0x13f)](_0x2d9b47-_0x297410,_0x297410,_0x297410,Math['PI']*0x3/0x2,0x0,!0x1),_0x358e29[_0x58d473(0x239)](_0x2d9b47,_0x3fb99a-_0x565c72),_0x358e29[_0x58d473(0x13f)](_0x2d9b47-_0x565c72,_0x3fb99a-_0x565c72,_0x565c72,0x0,Math['PI']/0x2,!0x1),_0x358e29[_0x58d473(0x239)](0x0,_0x3fb99a),_0x358e29[_0x58d473(0x239)](0x0,_0x5b5e57),_0x358e29['arc'](_0x5b5e57,_0x5b5e57,_0x5b5e57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x358e29[_0x58d473(0x95)](),_0x2dacdc['fill']&&(_0x358e29[_0x58d473(0x289)](),_0x358e29[_0x58d473(0x1e8)]=_0x2dacdc[_0x58d473(0xc5)],_0x2dacdc[_0x58d473(0x14b)]===_0x58d473(0xca)?_0x358e29[_0x58d473(0xc5)](_0x58d473(0xca)):_0x358e29[_0x58d473(0xc5)](),_0x358e29['restore']());}class _0x1f3680 extends _0x241ab7[_0x28bb4a(0x1ae)]{constructor(_0x4e0cad,_0x180c11){const _0x4567c6=_0x28bb4a;super(_0x4e0cad,_0x180c11),_0x52ecbf(this,_0x4567c6(0x185)),_0x52ecbf(this,'text'),(this[_0x4567c6(0x185)]=_0x180c11==null?void 0x0:_0x180c11['color'],this[_0x4567c6(0x133)]=_0x180c11==null?void 0x0:_0x180c11[_0x4567c6(0x133)]);}static[_0x28bb4a(0x10e)](_0x5425c3,_0x4ba1b9){const _0x4acd6b=_0x28bb4a,{text:_0x42e617,color:_0x49ad09}=_0x4ba1b9;_0x5425c3[_0x4acd6b(0x289)](),_0x5425c3[_0x4acd6b(0x2a3)]=_0x4acd6b(0x162);const _0x4fc220=_0x5425c3[_0x4acd6b(0x1b4)](_0x42e617)[_0x4acd6b(0x198)],_0x40898c=Math[_0x4acd6b(0x1ac)](_0x4fc220+0x2*_0x559814,_0x36c47a);_0x1accd5(_0x5425c3,{'height':_0x528f51,'radius':0x4,'width':_0x40898c,'fill':_0x49ad09}),_0x5425c3[_0x4acd6b(0x1e8)]=_0x4acd6b(0x11b);const _0x356d75=_0x559814,_0x137de2=_0x528f51-_0x4320a4,_0xfd125d=_0x36c47a-0x2*_0x559814;if(_0x4fc220>_0xfd125d){let _0x36057f='',_0x205680=0x0;for(const _0x3076e0 of _0x42e617){const _0x4697c2=_0x5425c3[_0x4acd6b(0x1b4)](_0x3076e0)[_0x4acd6b(0x198)];if(_0x205680+_0x4697c2<=_0xfd125d-_0x5425c3['measureText']('...')['width'])_0x36057f+=_0x3076e0,_0x205680+=_0x4697c2;else{_0x36057f+=_0x4acd6b(0x211);break;}}_0x5425c3[_0x4acd6b(0x1be)](_0x36057f,_0x356d75,_0x137de2);}else _0x5425c3[_0x4acd6b(0x1be)](_0x42e617,_0x356d75,_0x137de2);_0x5425c3['restore']();}['_draw'](_0x52ffa6){_0x1f3680['drawWith'](_0x52ffa6,this);}}const _0x3db901=_0x28bb4a(0x1e3),_0x5c19b='collab-text-range-',_0x1f87a7=_0x28bb4a(0x181),_0x30a18e=0x6,_0x2e5076=1.5,_0x3e6cde=0x4,_0x1520c5=1.5,_0x34f5d3=_0x28bb4a(0x30f);class _0x1ae8a9{constructor(_0x57f881,_0xcfdc43,_0x298ee0,_0x539984){const _0xdcc288=_0x28bb4a;_0x52ecbf(this,'_shapes',[]),_0x52ecbf(this,_0xdcc288(0x320),null),_0x52ecbf(this,_0xdcc288(0xd7),null),_0x52ecbf(this,_0xdcc288(0xd4),null),_0x52ecbf(this,'_hideTimer',null),_0x52ecbf(this,'_eventUnsubscribe',null),(this[_0xdcc288(0x1d0)]=_0x57f881,this['_scene']=_0xcfdc43,this[_0xdcc288(0xec)]=_0x298ee0,this[_0xdcc288(0x2b9)]=_0x539984,this[_0xdcc288(0x23a)]());}set[_0x28bb4a(0x147)](_0x4a0170){const _0x31b9e0=_0x28bb4a;_0x4a0170?(this[_0x31b9e0(0xd4)]&&this[_0x31b9e0(0xd4)][_0x31b9e0(0x1e4)](),this[_0x31b9e0(0xd7)]&&this[_0x31b9e0(0xd7)][_0x31b9e0(0x29d)]()):(this['_anchorDot']&&this[_0x31b9e0(0xd4)][_0x31b9e0(0x29d)](),this[_0x31b9e0(0xd7)]&&this[_0x31b9e0(0xd7)]['hide']());}[_0x28bb4a(0x152)](){const _0x5f226a=_0x28bb4a;for(const _0x577fb9 of this['_shapes'])_0x577fb9[_0x5f226a(0x152)]();this[_0x5f226a(0xd7)]&&this[_0x5f226a(0xd7)][_0x5f226a(0x152)](),this[_0x5f226a(0xd4)]&&this[_0x5f226a(0xd4)]['dispose'](),this['_anchor']&&this[_0x5f226a(0x320)]['dispose'](),this[_0x5f226a(0x120)]&&this[_0x5f226a(0x120)]();}[_0x28bb4a(0x23a)](){const _0x3fb33c=_0x28bb4a;var _0x361e1f;const {_docSkeleton:_0x2ba12b,_document:_0x525663}=this,{color:_0x1fb141,name:_0x30ba5d,ranges:_0x3b6e3e}=this['_cursor'],_0x1a0d3a=_0x525663['getOffsetConfig'](),{docsLeft:_0x254959,docsTop:_0x5ad743}=_0x1a0d3a,_0x3fa5c0=new _0x57acc0[(_0x3fb33c(0x2ec))](_0x1a0d3a,_0x2ba12b);for(const {startOffset:_0x1dd132,endOffset:_0x4fbbae,rangeType:_0x2b1e83,segmentId:_0x1cd086,segmentPage:_0x508744,collapsed:_0x4d294,isActive:_0x4f135d}of _0x3b6e3e){const _0xb198c6=_0x2ba12b[_0x3fb33c(0x2dd)](_0x1dd132,!0x0,_0x1cd086,_0x508744);let _0x24e26a=_0x2ba12b[_0x3fb33c(0x2dd)](_0x4fbbae,!0x0,_0x1cd086,_0x508744);if(_0x24e26a==null&&(_0x24e26a=_0x2ba12b[_0x3fb33c(0x2dd)](_0x4fbbae-0x1,!0x1,_0x1cd086,_0x508744)),_0x4f135d){const {contentBoxPointGroup:_0xb419e3}=_0x3fa5c0[_0x3fb33c(0x114)](_0x24e26a,_0x24e26a);if(_0xb419e3['length']===0x0)continue;this[_0x3fb33c(0xd1)](_0x1fb141,_0xb419e3,_0x254959,_0x5ad743,_0x30ba5d),this['_eventUnsubscribe']=this[_0x3fb33c(0x2d2)]();}if(_0xb198c6&&_0x24e26a){if(_0x2b1e83===_0x15b207[_0x3fb33c(0x28c)][_0x3fb33c(0x265)]){const _0x18caa4=new _0x57acc0[(_0x3fb33c(0x2e2))](_0x1a0d3a,_0x2ba12b),{pointGroup:_0x37600f}=(_0x361e1f=_0x18caa4['getRangePointData'](_0xb198c6,_0x24e26a))!=null?_0x361e1f:{};if(_0x37600f==null||_0x37600f['length']===0x0)continue;this['_drawRectRange'](_0x1fb141,_0x37600f,_0x254959,_0x5ad743);}else{if(!_0x4d294){const {borderBoxPointGroup:_0x45fc74}=_0x3fa5c0[_0x3fb33c(0x114)](_0xb198c6,_0x24e26a);if(_0x45fc74[_0x3fb33c(0x27e)]===0x0)continue;this[_0x3fb33c(0x2b1)](_0x1fb141,_0x45fc74,_0x254959,_0x5ad743);}}}}}['_drawAnchor'](_0x2e8a75,_0xac87c9,_0x1e7d91,_0xa84ac3,_0x44c0c9){const _0x117f52=_0x28bb4a,_0x3fabae=this[_0x117f52(0x258)](_0xac87c9),{left:_0x1e1cde,top:_0x2ff52b,height:_0x8b3ae5}=_0x3fabae,_0x1c9774=this[_0x117f52(0x26e)](),_0x50a206=_0x1520c5/_0x1c9774,_0x16c766=new _0x241ab7[(_0x117f52(0x284))](_0x3db901+_0x15b207[_0x117f52(0xb8)][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3,'height':_0x8b3ae5,'width':_0x2e5076,'fill':_0x2e8a75||_0x241ab7[_0x117f52(0x29a)](_0x15b207['COLORS']['black'],0x0),'strokeWidth':_0x50a206,'stroke':_0x34f5d3,'evented':!0x0});this[_0x117f52(0x320)]=_0x16c766,this[_0x117f52(0x161)]['addObject'](_0x16c766,_0x57acc0['TEXT_RANGE_LAYER_INDEX']);const _0x5bb223=new _0x241ab7['Rect'](_0x3db901+_0x15b207[_0x117f52(0xb8)][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3-_0x3e6cde/0x2,'height':_0x3e6cde,'width':_0x3e6cde,'fill':_0x2e8a75||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x117f52(0xc4)],0x0),'strokeWidth':0x0,'stroke':_0x2e8a75||_0x241ab7[_0x117f52(0x29a)](_0x15b207[_0x117f52(0x23e)]['black'],0x0),'evented':!0x1});this[_0x117f52(0xd4)]=_0x5bb223,this[_0x117f52(0x161)][_0x117f52(0x25d)](_0x5bb223,_0x57acc0[_0x117f52(0x12b)]);const _0x5158db=new _0x1f3680(_0x3db901+_0x15b207['Tools'][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3-_0x528f51,'text':_0x44c0c9,'color':_0x2e8a75});this[_0x117f52(0xd7)]=_0x5158db,this[_0x117f52(0x161)][_0x117f52(0x25d)](_0x5158db,_0x57acc0['TEXT_RANGE_LAYER_INDEX']),this[_0x117f52(0x147)]=!0x1;}[_0x28bb4a(0x2d2)](){const _0x4ae9a7=_0x28bb4a,_0x5853b0=this[_0x4ae9a7(0x320)]['onPointerEnter$'][_0x4ae9a7(0xc1)](()=>{this['_hover']=!0x0;}),_0x32c0b3=this[_0x4ae9a7(0x320)][_0x4ae9a7(0x1f0)][_0x4ae9a7(0xc1)](()=>{const _0x3ba841=_0x4ae9a7;this[_0x3ba841(0x87)]&&clearTimeout(this[_0x3ba841(0x87)]),this['_hideTimer']=setTimeout(()=>{const _0xe7dd9c=_0x3ba841;this[_0xe7dd9c(0x147)]=!0x1;},0x7d0);});return()=>{const _0x4a694e=_0x4ae9a7;_0x5853b0['unsubscribe'](),_0x32c0b3[_0x4a694e(0xdf)]();};}['_drawTextRange'](_0x1f1677,_0x351a8c,_0x53581b,_0x459947){const _0x3e067b=_0x28bb4a,_0x43aaf2=new _0x15b207['ColorKit'](_0x1f1677)['setAlpha'](0.2)[_0x3e067b(0xe5)](),_0x2287c0=new _0x241ab7[(_0x3e067b(0x2ba))](_0x5c19b+_0x15b207[_0x3e067b(0xb8)]['generateRandomId'](_0x30a18e),{'pointsGroup':_0x351a8c,'fill':_0x43aaf2||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x3e067b(0xc4)],0.2),'left':_0x53581b,'top':_0x459947,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e067b(0x2cb)][_0x3e067b(0x2e7)](_0x2287c0),this['_scene']['addObject'](_0x2287c0,_0x57acc0[_0x3e067b(0x12b)]);}['_drawRectRange'](_0x2d9b84,_0x5ce210,_0x31e507,_0x447e37){const _0x1df221=_0x28bb4a,_0x41f0d7=new _0x15b207['ColorKit'](_0x2d9b84)['setAlpha'](0.2)[_0x1df221(0xe5)](),_0x122207=new _0x241ab7[(_0x1df221(0x2ba))](_0x1f87a7+_0x15b207['Tools'][_0x1df221(0x2b2)](_0x30a18e),{'pointsGroup':_0x5ce210,'fill':_0x41f0d7||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x1df221(0xc4)],0.2),'left':_0x31e507,'top':_0x447e37,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1df221(0x2e7)](_0x122207),this['_scene']['addObject'](_0x122207,_0x57acc0['TEXT_RANGE_LAYER_INDEX']);}[_0x28bb4a(0x258)](_0x2bc49b){const _0x18f0e2=_0x2bc49b[0x0],_0x219b56=_0x18f0e2[0x0],_0x23f83b=_0x18f0e2[0x2],{x:_0x3918b6,y:_0x56b21d}=_0x219b56,{x:_0x59de4a,y:_0x3b6ee9}=_0x23f83b;return{'left':_0x3918b6,'top':_0x56b21d,'width':_0x59de4a-_0x3918b6,'height':_0x3b6ee9-_0x56b21d};}[_0x28bb4a(0x26e)](){const _0x16cfb9=_0x28bb4a,{scaleX:_0x5a3728,scaleY:_0x190408}=this[_0x16cfb9(0x161)]['getAncestorScale']();return Math[_0x16cfb9(0x1ad)](_0x5a3728,_0x190408);}}var _0x26444f=Object[_0x28bb4a(0x11a)],_0x5aefaf=(_0x448a65,_0x9333ef,_0x806a80,_0x5eb4ef)=>{const _0x4c07f6=_0x28bb4a;for(var _0x533488=_0x5eb4ef>0x1?void 0x0:_0x5eb4ef?_0x26444f(_0x9333ef,_0x806a80):_0x9333ef,_0x2e326c=_0x448a65[_0x4c07f6(0x27e)]-0x1,_0xba0111;_0x2e326c>=0x0;_0x2e326c--)(_0xba0111=_0x448a65[_0x2e326c])&&(_0x533488=_0xba0111(_0x533488)||_0x533488);return _0x533488;},_0x4b4b8c=(_0x3dd273,_0x1d436c)=>(_0x56a135,_0x1afa48)=>_0x1d436c(_0x56a135,_0x1afa48,_0x3dd273);let _0x1927b2=class extends _0x15b207['RxDisposable']{constructor(_0x3ba389,_0x59380e,_0x163225,_0x1c155f,_0x1822f4){const _0x40734c=_0x28bb4a;super(),_0x52ecbf(this,_0x40734c(0x22d),[]),_0x52ecbf(this,'_cursors',[]),(this['_context']=_0x3ba389,this[_0x40734c(0x29b)]=_0x59380e,this[_0x40734c(0x281)]=_0x163225,this[_0x40734c(0x12f)]=_0x1c155f,this[_0x40734c(0x15a)]=_0x1822f4,this[_0x40734c(0x93)]());}[_0x28bb4a(0x93)](){const _0x377ee5=_0x28bb4a,_0x3c3057=this['_context'][_0x377ee5(0x1d4)],_0x3fe61c=this[_0x377ee5(0x29b)];this[_0x377ee5(0x280)](_0x548118[_0x377ee5(0x264)]([this[_0x377ee5(0x281)][_0x377ee5(0x2a6)](_0x3c3057),this[_0x377ee5(0x15a)][_0x377ee5(0x2a0)]])[_0x377ee5(0x150)](_0x58aad9['map'](([_0x7d9e4f,_0x177539])=>({'skeleton':_0x3fe61c[_0x377ee5(0x9b)](),'cursors':[..._0x7d9e4f[_0x377ee5(0x263)]()][_0x377ee5(0x293)](_0x1340dd=>({..._0x1340dd,'color':_0x177539[_0x1340dd[_0x377ee5(0x185)]]}))})))[_0x377ee5(0xa7)](_0x5f2544=>{const _0x8e5b93=_0x377ee5;if(this[_0x8e5b93(0xdc)](),_0x5f2544){const {skeleton:_0x3e8b16,cursors:_0x1dfff1}=_0x5f2544;this[_0x8e5b93(0x324)](_0x3e8b16,_0x1dfff1);}})),this[_0x377ee5(0x1f9)](),this[_0x377ee5(0x123)]();}['_updateCollabCursors'](_0xc13d2f,_0x1e32f7){const _0x5debd5=_0x28bb4a,{scene:_0x4169b7,mainComponent:_0x50a110}=this['_context'],_0x42162c=_0x1e32f7['map'](_0x23a041=>new _0x1ae8a9(_0x23a041,_0x4169b7,_0xc13d2f,_0x50a110));this[_0x5debd5(0x22d)]=_0x42162c,this[_0x5debd5(0x2d4)]=_0x1e32f7;}['_refreshCollabCursors'](){const _0x43781c=_0x28bb4a;this[_0x43781c(0xdc)]();const {scene:_0x5e30b3,mainComponent:_0x56c633}=this[_0x43781c(0xa4)],_0x4a495f=this[_0x43781c(0x29b)][_0x43781c(0x9b)](),_0x54106d=this['_cursors'][_0x43781c(0x125)](_0x20ef64=>new _0x1ae8a9(_0x20ef64,_0x5e30b3,_0x4a495f,_0x56c633));this[_0x43781c(0x22d)]=_0x54106d;}[_0x28bb4a(0xdc)](){const _0x42f20c=_0x28bb4a;this[_0x42f20c(0x22d)]['forEach'](_0x5df6ab=>_0x5df6ab['dispose']()),this[_0x42f20c(0x22d)]=[];}[_0x28bb4a(0x123)](){const _0x4d8c21=_0x28bb4a,_0x5f5f0d=[_0x57acc0['SetDocZoomRatioOperation']['id']];this[_0x4d8c21(0x280)](this['_commandService']['onCommandExecuted'](_0x496f78=>{const _0x48a784=_0x4d8c21;_0x5f5f0d['includes'](_0x496f78['id'])&&_0x496f78[_0x48a784(0x2dc)]['unitId']===this[_0x48a784(0xa4)][_0x48a784(0x1d4)]&&this[_0x48a784(0x24b)]();}));}['_initResize'](){const _0x24b6fe=_0x28bb4a;this[_0x24b6fe(0x280)](_0x15b207['fromEventSubject'](this[_0x24b6fe(0xa4)]['engine'][_0x24b6fe(0x94)])[_0x24b6fe(0x150)](_0x58aad9['filter'](_0x149eaf=>_0x149eaf[_0x24b6fe(0x172)]===_0x241ab7['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x24b6fe(0x1ee)]),_0x58aad9['throttleTime'](0x10))[_0x24b6fe(0xa7)](()=>{const _0x33f74c=_0x24b6fe;this[_0x33f74c(0x24b)]();}));}};_0x1927b2=_0x5aefaf([_0x4b4b8c(0x1,_0x15b207[_0x28bb4a(0x99)](_0x374d97[_0x28bb4a(0xa6)])),_0x4b4b8c(0x2,_0x15b207[_0x28bb4a(0x99)](_0x338aa0)),_0x4b4b8c(0x3,_0x15b207[_0x28bb4a(0x195)]),_0x4b4b8c(0x4,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0x130)]))],_0x1927b2);const _0x45f627=0x1,_0x36d077=1.5;class _0x2dea2d extends _0x241ab7[_0x28bb4a(0x1ae)]{constructor(_0x533a80,_0xb6324b){const _0x2b9b31=_0x28bb4a;super(_0x533a80,_0xb6324b),_0x52ecbf(this,'_color'),_0x52ecbf(this,_0x2b9b31(0x9a),!0x1),_0x52ecbf(this,_0x2b9b31(0x301)),_0x52ecbf(this,_0x2b9b31(0x1d2),''),_0x52ecbf(this,_0x2b9b31(0x21b),_0x2b9b31(0x2d6)),_0x52ecbf(this,'_backgroundColor'),(_0xb6324b&&this[_0x2b9b31(0x24f)](_0xb6324b),this[_0x2b9b31(0x231)]['subscribeEvent'](()=>this[_0x2b9b31(0x24f)]({'hovered':!0x0})),this[_0x2b9b31(0x1f0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4cea70){const _0x447e61=_0x28bb4a;var _0x2ec83a,_0x3f347e,_0x307333,_0x139c2d,_0x47dcf8,_0x40b6e9;this[_0x447e61(0xd0)]=(_0x2ec83a=_0x4cea70[_0x447e61(0x185)])!=null?_0x2ec83a:this[_0x447e61(0xd0)],this[_0x447e61(0x9a)]=(_0x3f347e=_0x4cea70[_0x447e61(0x20c)])!=null?_0x3f347e:this['_hovered'],this[_0x447e61(0x301)]=(_0x307333=_0x4cea70[_0x447e61(0x1fd)])!=null?_0x307333:this['_range'],this['_name']=(_0x139c2d=_0x4cea70['name'])!=null?_0x139c2d:this[_0x447e61(0x1d2)],this[_0x447e61(0x21b)]=(_0x47dcf8=_0x4cea70[_0x447e61(0x9f)])!=null?_0x47dcf8:this['_labelPosition'],this[_0x447e61(0x1e2)]=(_0x40b6e9=_0x4cea70[_0x447e61(0x2c5)])!=null?_0x40b6e9:this[_0x447e61(0x1e2)],this[_0x447e61(0x29c)]({'width':_0x4cea70[_0x447e61(0x198)],'height':_0x4cea70[_0x447e61(0x184)]});}[_0x28bb4a(0x283)](_0x2a47d8){const _0x352281=_0x28bb4a,{row:_0x577d3b,column:_0x5f009f}=_0x2a47d8;if(_0x577d3b>=this[_0x352281(0x301)]['startRow']&&_0x577d3b<=this['_range'][_0x352281(0xcf)]&&_0x5f009f>=this[_0x352281(0x301)][_0x352281(0x312)]&&_0x5f009f<=this[_0x352281(0x301)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x352281(0x24f)]({'hovered':!0x1});}[_0x28bb4a(0x17a)](_0x53fb1b){return!0x1;}['_draw'](_0x286c37){const _0x4ef7e4=_0x28bb4a;_0x241ab7[_0x4ef7e4(0x284)][_0x4ef7e4(0x10e)](_0x286c37,{'width':this['width'],'height':this[_0x4ef7e4(0x184)],'strokeWidth':_0x36d077,'stroke':this[_0x4ef7e4(0xd0)],'evented':!0x1,'fill':this[_0x4ef7e4(0x1e2)]}),this[_0x4ef7e4(0x9a)]&&(_0x286c37[_0x4ef7e4(0x289)](),_0x286c37['transform'](0x1,0x0,0x0,0x1,this[_0x4ef7e4(0x198)],this[_0x4ef7e4(0x21b)]==='bottom'?0x0:-0x14),_0x1f3680[_0x4ef7e4(0x10e)](_0x286c37,{'text':this['_name'],'color':this[_0x4ef7e4(0xd0)]}),_0x286c37['restore']());}}var _0x533c75=Object['getOwnPropertyDescriptor'],_0x266a82=(_0x540216,_0x331383,_0x5312de,_0xba5b51)=>{for(var _0x7ffc71=_0xba5b51>0x1?void 0x0:_0xba5b51?_0x533c75(_0x331383,_0x5312de):_0x331383,_0xc14870=_0x540216['length']-0x1,_0x7bfb8f;_0xc14870>=0x0;_0xc14870--)(_0x7bfb8f=_0x540216[_0xc14870])&&(_0x7ffc71=_0x7bfb8f(_0x7ffc71)||_0x7ffc71);return _0x7ffc71;},_0x5bb922=(_0x1379bb,_0x345a31)=>(_0x4f6011,_0x46f43d)=>_0x345a31(_0x4f6011,_0x46f43d,_0x1379bb);const _0x4b24f7=0x1389;let _0x4d81cc=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x46ea44,_0x41ca7f,_0x23d8fc,_0x368d46){const _0x204c68=_0x28bb4a;super(),_0x52ecbf(this,'_cursors',new Set()),_0x52ecbf(this,'_lastPointer',null),(this['_context']=_0x46ea44,this[_0x204c68(0x138)]=_0x41ca7f,this['_collabCursorController']=_0x23d8fc,this[_0x204c68(0x15a)]=_0x368d46,this['_init']());}['_init'](){const _0x1878d5=_0x28bb4a;this[_0x1878d5(0x138)][_0x1878d5(0x148)][_0x1878d5(0x150)](_0x58aad9[_0x1878d5(0x1c4)](this[_0x1878d5(0x18e)]),_0x58aad9[_0x1878d5(0xd6)](_0x4f431c=>{const _0x3202df=_0x1878d5;if(_0x4f431c){const _0x1a5b08=_0x4f431c[_0x3202df(0x1cb)];return _0x548118[_0x3202df(0x264)](this[_0x3202df(0x281)][_0x3202df(0x2a6)](this[_0x3202df(0xa4)][_0x3202df(0x1d4)]),this['_themeService']['currentTheme$'])[_0x3202df(0x150)](_0x58aad9[_0x3202df(0x125)](([_0x2d98dd,_0x4cc96d])=>{const _0x127d55=new Map();return _0x2d98dd['forEach']((_0x403cb7,_0x1372ce)=>{const _0x2dbb4b=_0x57fc;if(_0x403cb7[_0x2dbb4b(0x1bf)]===_0x1a5b08){const _0x18206c={..._0x403cb7};_0x18206c['color']=_0x4cc96d[_0x403cb7[_0x2dbb4b(0x185)]],_0x127d55[_0x2dbb4b(0x31b)](_0x1372ce,_0x18206c);}}),{'skeleton':_0x4f431c,'cursors':_0x127d55};}));}return _0x548118['of']({'skeleton':null,'cursors':new Map()});}))[_0x1878d5(0xa7)](({skeleton:_0x2ab0a9,cursors:_0x4f19ca})=>{const _0x2d5f0b=_0x1878d5;this[_0x2d5f0b(0xdc)](),_0x2ab0a9&&this[_0x2d5f0b(0x324)](_0x2ab0a9,_0x4f19ca);}),this['_sheetSkeletonManagerService'][_0x1878d5(0x148)][_0x1878d5(0xa7)](_0x3f42f4=>{const _0x7068e8=_0x1878d5;if(_0x3f42f4==null)return;const {skeleton:_0xc418bc}=_0x3f42f4,{scene:_0x500447}=this[_0x7068e8(0xa4)];_0x500447['onPointerMove$']['subscribeEvent'](_0x15b207[_0x7068e8(0x2e6)](_0x3f68cb=>{const _0x184469=_0x7068e8;var _0x40f56d,_0x53c0cf;const {offsetX:_0x424e2a,offsetY:_0x162823}=_0x3f68cb,{x:_0x4d58e9,y:_0x3f07e0}=_0x500447[_0x184469(0x259)](_0x241ab7[_0x184469(0x223)][_0x184469(0xe7)]([_0x424e2a,_0x162823])),{scaleX:_0x5d9591,scaleY:_0x46dd82}=_0x500447[_0x184469(0x1a7)](),_0x4f1ad1=_0x500447[_0x184469(0x2b0)](_0x241ab7[_0x184469(0xf5)]['VIEW_MAIN']),_0x17464b=_0x500447[_0x184469(0x19a)](_0x241ab7[_0x184469(0x223)][_0x184469(0xe7)]([_0x4d58e9,_0x3f07e0]),_0x4f1ad1),_0x4024d9=_0xc418bc[_0x184469(0x1a3)](_0x424e2a,_0x162823,_0x5d9591,_0x46dd82,_0x17464b);((_0x40f56d=this[_0x184469(0xcb)])==null?void 0x0:_0x40f56d['column'])===_0x4024d9[_0x184469(0x2e4)]&&((_0x53c0cf=this[_0x184469(0xcb)])==null?void 0x0:_0x53c0cf[_0x184469(0x183)])===_0x4024d9[_0x184469(0x183)]||this[_0x184469(0x2d4)]['forEach'](_0x3e2af0=>{const _0x4e4a27=_0x184469;_0x3e2af0[_0x4e4a27(0x283)](_0x4024d9);});},0x64));});}[_0x28bb4a(0x324)](_0x244a76,_0xba7e47){const _0x16e0ef=_0x28bb4a;var _0x1054bf;const _0x3e6068=(_0x1054bf=this[_0x16e0ef(0x138)][_0x16e0ef(0x296)]())==null?void 0x0:_0x1054bf[_0x16e0ef(0x302)];if(!_0x3e6068)return;const _0x5d58a5=this[_0x16e0ef(0x186)]();if(!_0x5d58a5)return;this[_0x16e0ef(0x2d4)][_0x16e0ef(0x15d)](_0x350f59=>{const _0x4e086f=_0x16e0ef;_0x350f59[_0x4e086f(0x10a)]();});const {scene:_0x2477f9}=_0x5d58a5,_0x339fad=_0x2a8f29(Array[_0x16e0ef(0x217)](_0xba7e47['values']()))[_0x16e0ef(0x125)](_0x2389ad=>{const _0x489fec=_0x16e0ef,{color:_0x9a81ee,range:_0x236577,name:_0x40ae6b,selection:_0x1dfe15,sheetID:_0x54b464}=_0x2389ad,{startColumn:_0x144063,startRow:_0x231058,endColumn:_0x53bb80,endRow:_0x473035}=_0x236577,_0x3725e8=_0x20a1dc[_0x489fec(0x1a2)](_0x231058,_0x144063,_0x2477f9,_0x3e6068),_0x3c48a0=_0x20a1dc['getCoordByCell'](_0x473035,_0x53bb80,_0x2477f9,_0x3e6068),{columnHeaderHeightAndMarginTop:_0x17d75e}=_0x3e6068,{startX:_0x2acaaf,startY:_0x19270a}=_0x3725e8,{endX:_0x4d6854,endY:_0x3694fa}=_0x3c48a0,_0x2efae7=_0x4d6854-_0x2acaaf,_0xe6f19c=_0x3694fa-_0x19270a,_0x29d647={'labelPosition':_0x19270a-_0x17d75e>=_0x528f51?_0x489fec(0x2d6):_0x489fec(0x2f9),'sheetID':_0x54b464,'range':_0x236577,'color':_0x9a81ee,'name':_0x40ae6b,'selection':_0x1dfe15,'left':_0x2acaaf,'top':_0x19270a,'width':_0x2efae7,'height':_0xe6f19c,'evented':!0x1,'zIndex':_0x4b24f7};return new _0x2dea2d(_0x40ae6b,_0x29d647);});_0x2477f9[_0x16e0ef(0x1af)](_0x339fad,_0x45f627),this[_0x16e0ef(0x2d4)]=new Set(_0x339fad);}[_0x28bb4a(0xdc)](){const _0x702f27=_0x28bb4a;var _0x14f812;(_0x14f812=this['_cursors'])==null||_0x14f812[_0x702f27(0x15d)](_0x559b74=>_0x559b74['dispose']());}[_0x28bb4a(0x186)](){const _0x352cc3=_0x28bb4a;return _0x20a1dc[_0x352cc3(0xaf)](this[_0x352cc3(0xa4)][_0x352cc3(0x101)],this[_0x352cc3(0xa4)]);}};_0x4d81cc=_0x266a82([_0x5bb922(0x1,_0x15b207[_0x28bb4a(0x99)](_0x20a1dc[_0x28bb4a(0x210)])),_0x5bb922(0x2,_0x15b207[_0x28bb4a(0x99)](_0x338aa0)),_0x5bb922(0x3,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0x130)]))],_0x4d81cc);function _0x2a8f29(_0x3c30a2){const _0x40ccfd=_0x28bb4a,_0xd13ed1=new Map();return _0x3c30a2['forEach'](_0x46dc3a=>{const _0x3db948=_0x57fc;if(_0xd13ed1[_0x3db948(0x2e9)](_0x46dc3a['selection'])){const _0x1afb85=_0xd13ed1[_0x3db948(0x2ca)](_0x46dc3a[_0x3db948(0xb7)]);_0x1afb85['name']+=',\x20'+_0x46dc3a['name'];}else _0xd13ed1[_0x3db948(0x31b)](_0x46dc3a[_0x3db948(0xb7)],_0x46dc3a);}),Array[_0x40ccfd(0x217)](_0xd13ed1[_0x40ccfd(0x263)]());}var _0x1c9457=function(){const _0xce528d=_0x28bb4a;return _0x1c9457=Object[_0xce528d(0x1b5)]||function(_0x4a5074){const _0x527dbd=_0xce528d;for(var _0x546d8a,_0x5cad88=0x1,_0x1f00ca=arguments[_0x527dbd(0x27e)];_0x5cad88<_0x1f00ca;_0x5cad88++){_0x546d8a=arguments[_0x5cad88];for(var _0x4619ff in _0x546d8a)Object[_0x527dbd(0x31a)]['hasOwnProperty'][_0x527dbd(0x251)](_0x546d8a,_0x4619ff)&&(_0x4a5074[_0x4619ff]=_0x546d8a[_0x4619ff]);}return _0x4a5074;},_0x1c9457[_0xce528d(0x1b6)](this,arguments);},_0x3ccfab=function(_0x5ba65f,_0x2b93c7){const _0xf47a96=_0x28bb4a;var _0x61b5c3={};for(var _0xe1e0fe in _0x5ba65f)Object['prototype']['hasOwnProperty'][_0xf47a96(0x251)](_0x5ba65f,_0xe1e0fe)&&_0x2b93c7[_0xf47a96(0x2e8)](_0xe1e0fe)<0x0&&(_0x61b5c3[_0xe1e0fe]=_0x5ba65f[_0xe1e0fe]);if(_0x5ba65f!=null&&typeof Object[_0xf47a96(0xe2)]==_0xf47a96(0xe8)){for(var _0x3933db=0x0,_0xe1e0fe=Object[_0xf47a96(0xe2)](_0x5ba65f);_0x3933db<_0xe1e0fe[_0xf47a96(0x27e)];_0x3933db++)_0x2b93c7[_0xf47a96(0x2e8)](_0xe1e0fe[_0x3933db])<0x0&&Object[_0xf47a96(0x31a)][_0xf47a96(0x2cc)][_0xf47a96(0x251)](_0x5ba65f,_0xe1e0fe[_0x3933db])&&(_0x61b5c3[_0xe1e0fe[_0x3933db]]=_0x5ba65f[_0xe1e0fe[_0x3933db]]);}return _0x61b5c3;},_0x34b6a9=_0x504940[_0x28bb4a(0x294)](function(_0x2746d7,_0x326122){const _0x40847e=_0x28bb4a;var _0x83b6e3=_0x2746d7[_0x40847e(0x190)],_0x5a62ed=_0x2746d7['id'],_0x54f407=_0x2746d7[_0x40847e(0x25f)],_0x337866=_0x2746d7[_0x40847e(0x22c)],_0x1ef19e=_0x3ccfab(_0x2746d7,[_0x40847e(0x190),'id',_0x40847e(0x25f),_0x40847e(0x22c)]),_0x5ec8ce='univerjs-icon\x20univerjs-icon-'[_0x40847e(0x18d)](_0x5a62ed,'\x20')[_0x40847e(0x18d)](_0x54f407||'')[_0x40847e(0xb3)](),_0x686a36=_0x504940[_0x40847e(0x2df)]('_'['concat'](_0x481818()));return _0x10aa57(_0x83b6e3,''[_0x40847e(0x18d)](_0x5a62ed),{'defIds':_0x83b6e3[_0x40847e(0x267)],'idSuffix':_0x686a36[_0x40847e(0xa5)]},_0x1c9457({'ref':_0x326122,'className':_0x5ec8ce},_0x1ef19e),_0x337866);});function _0x10aa57(_0x57c192,_0x2c16ce,_0xc0b7d4,_0x1b5c9f,_0x1200d3){const _0x11960a=_0x28bb4a;return _0x504940[_0x11960a(0x8b)](_0x57c192['tag'],_0x1c9457(_0x1c9457({'key':_0x2c16ce},_0x20c8dc(_0x57c192,_0xc0b7d4,_0x1200d3)),_0x1b5c9f),(_0x4c0b5d(_0x57c192,_0xc0b7d4)[_0x11960a(0x2c2)]||[])['map'](function(_0x265f1d,_0x2fe38c){const _0x222ecf=_0x11960a;return _0x10aa57(_0x265f1d,''['concat'](_0x2c16ce,'-')[_0x222ecf(0x18d)](_0x57c192[_0x222ecf(0x219)],'-')['concat'](_0x2fe38c),_0xc0b7d4,void 0x0,_0x1200d3);}));}function _0x20c8dc(_0x52a0f0,_0x1bb475,_0x43abc4){const _0x5777aa=_0x28bb4a;var _0x1e075e=_0x1c9457({},_0x52a0f0[_0x5777aa(0x2ab)]);_0x43abc4!=null&&_0x43abc4[_0x5777aa(0x24e)]&&_0x1e075e[_0x5777aa(0xc5)]==='colorChannel1'&&(_0x1e075e[_0x5777aa(0xc5)]=_0x43abc4[_0x5777aa(0x24e)]),_0x52a0f0[_0x5777aa(0x219)]==='mask'&&_0x1e075e['id']&&(_0x1e075e['id']=_0x1e075e['id']+_0x1bb475[_0x5777aa(0x2c4)]),Object[_0x5777aa(0x96)](_0x1e075e)['forEach'](function(_0x39bf94){const _0x3a9f6b=_0x5777aa;var _0xc045be=_0x39bf94[0x0],_0xa2fb5=_0x39bf94[0x1];_0xc045be===_0x3a9f6b(0x2af)&&typeof _0xa2fb5=='string'&&(_0x1e075e[_0xc045be]=_0xa2fb5['replace'](/url\(#(.*)\)/,_0x3a9f6b(0x245)[_0x3a9f6b(0x18d)](_0x1bb475[_0x3a9f6b(0x2c4)],')')));});var _0x4f9771=_0x1bb475[_0x5777aa(0x267)];return!_0x4f9771||_0x4f9771[_0x5777aa(0x27e)]===0x0||(_0x52a0f0[_0x5777aa(0x219)]==='use'&&_0x1e075e[_0x5777aa(0x234)]&&(_0x1e075e[_0x5777aa(0x234)]=_0x1e075e[_0x5777aa(0x234)]+_0x1bb475[_0x5777aa(0x2c4)]),Object[_0x5777aa(0x96)](_0x1e075e)[_0x5777aa(0x15d)](function(_0x18f74f){const _0x58a3bd=_0x5777aa;var _0x304409=_0x18f74f[0x0],_0xac1734=_0x18f74f[0x1];typeof _0xac1734==_0x58a3bd(0x13e)&&(_0x1e075e[_0x304409]=_0xac1734[_0x58a3bd(0x27d)](/url\(#(.*)\)/,_0x58a3bd(0x245)[_0x58a3bd(0x18d)](_0x1bb475[_0x58a3bd(0x2c4)],')')));})),_0x1e075e;}function _0x4c0b5d(_0x42024f,_0x3529da){const _0x47b23a=_0x28bb4a;var _0x5381ca,_0x4cfc9d=_0x3529da[_0x47b23a(0x267)];return!_0x4cfc9d||_0x4cfc9d[_0x47b23a(0x27e)]===0x0?_0x42024f:_0x42024f[_0x47b23a(0x219)]===_0x47b23a(0xa9)&&(!((_0x5381ca=_0x42024f[_0x47b23a(0x2c2)])===null||_0x5381ca===void 0x0)&&_0x5381ca[_0x47b23a(0x27e)])?_0x1c9457(_0x1c9457({},_0x42024f),{'children':_0x42024f[_0x47b23a(0x2c2)]['map'](function(_0x1cf8c6){const _0x3c4b92=_0x47b23a;return typeof _0x1cf8c6['attrs']['id']=='string'&&_0x4cfc9d&&_0x4cfc9d[_0x3c4b92(0x2e8)](_0x1cf8c6[_0x3c4b92(0x2ab)]['id'])>-0x1?_0x1c9457(_0x1c9457({},_0x1cf8c6),{'attrs':_0x1c9457(_0x1c9457({},_0x1cf8c6[_0x3c4b92(0x2ab)]),{'id':_0x1cf8c6[_0x3c4b92(0x2ab)]['id']+_0x3529da[_0x3c4b92(0x2c4)]})}):_0x1cf8c6;})}):_0x42024f;}function _0x481818(){const _0x4a1108=_0x28bb4a;return Math[_0x4a1108(0x11c)]()[_0x4a1108(0x126)](0x24)[_0x4a1108(0xc8)](0x2,0x8);}_0x34b6a9['displayName']=_0x28bb4a(0xe0);var _0x525714={'tag':_0x28bb4a(0x2b4),'attrs':{'fill':_0x28bb4a(0x1f2),'viewBox':_0x28bb4a(0x30d),'width':_0x28bb4a(0x175),'height':_0x28bb4a(0x175)},'children':[{'tag':'g','attrs':{'clipPath':_0x28bb4a(0x115)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'stroke':_0x28bb4a(0x240),'d':_0x28bb4a(0x1fe),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x28bb4a(0xa9),'attrs':{},'children':[{'tag':_0x28bb4a(0x18b),'attrs':{'id':_0x28bb4a(0x270)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'fill':_0x28bb4a(0x316),'d':_0x28bb4a(0x2a9)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x19f35a=_0x504940[_0x28bb4a(0x294)](function(_0x239b1b,_0xc8e5c4){const _0x577791=_0x28bb4a;return _0x504940[_0x577791(0x8b)](_0x34b6a9,Object[_0x577791(0x1b5)]({},_0x239b1b,{'id':'off-line-single','ref':_0xc8e5c4,'icon':_0x525714}));});_0x19f35a[_0x28bb4a(0x206)]=_0x28bb4a(0x1e7);var _0x23edbc={'tag':_0x28bb4a(0x2b4),'attrs':{'fill':_0x28bb4a(0x1f2),'viewBox':_0x28bb4a(0xf0),'width':_0x28bb4a(0x175),'height':_0x28bb4a(0x175)},'children':[{'tag':'g','attrs':{'clipPath':_0x28bb4a(0xde)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x28bb4a(0x254),'strokeLinejoin':_0x28bb4a(0x254),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x28bb4a(0x18b),'attrs':{'id':_0x28bb4a(0xa2)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'fill':_0x28bb4a(0x316),'d':_0x28bb4a(0x2a9),'transform':_0x28bb4a(0x11f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x78d074=_0x504940['forwardRef'](function(_0x2f318f,_0x30f8c0){const _0x2ed18d=_0x28bb4a;return _0x504940[_0x2ed18d(0x8b)](_0x34b6a9,Object[_0x2ed18d(0x1b5)]({},_0x2f318f,{'id':_0x2ed18d(0xea),'ref':_0x30f8c0,'icon':_0x23edbc}));});_0x78d074[_0x28bb4a(0x206)]=_0x28bb4a(0x13c);const _0x5e0f49={'onlineStatusIcon':_0x28bb4a(0xd5),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x28bb4a(0x10d),'online':_0x28bb4a(0x27a),'offline':'univer-offline'};function _0x152b1c(_0x8d5b7d){const _0x3167c8=_0x28bb4a;switch(_0x8d5b7d){case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x269)]:return _0x3167c8(0x117);case _0x3fe587[_0x3167c8(0x153)]['CONFLICT']:return'collabStatus.conflict';case _0x3fe587[_0x3167c8(0x153)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x31f)]:return _0x3167c8(0xfb);case _0x3fe587['CollaborationStatus'][_0x3167c8(0x252)]:case _0x3fe587['CollaborationStatus'][_0x3167c8(0x201)]:return _0x3167c8(0xd2);case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x2ac)]:case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x2db)]:return'collabStatus.synced';}}function _0x184ea2(_0x4f2725){const _0x3c4583=_0x28bb4a,{status$:_0x9267e8}=_0x4f2725,_0x571162=_0x4b9e13['useObservable'](_0x9267e8,_0x3fe587[_0x3c4583(0x153)][_0x3c4583(0x31f)]),_0x5432d2=_0x4b9e13['useDependency'](_0x15b207[_0x3c4583(0x203)]),_0x3c3883=_0x4b9e13['useDependency'](_0x3fe587['CollaborationSessionService']),_0x54ba76=_0x571162!==_0x3fe587[_0x3c4583(0x153)][_0x3c4583(0x269)],_0x5a0d9a=_0x5432d2['t'](_0x152b1c(_0x571162)),_0xa57b49=_0x5a4da0['clsx'](_0x5e0f49[_0x3c4583(0x226)],{[_0x5e0f49[_0x3c4583(0xda)]]:_0x54ba76,[_0x5e0f49[_0x3c4583(0x23b)]]:!_0x54ba76}),_0x353358=_0x54ba76?_0x4d3f92['jsx'](_0x78d074,{}):_0x4d3f92['jsx'](_0x19f35a,{}),_0x5b93fc=_0x504940['useCallback'](()=>{_0x54ba76||_0x3c3883['reconnect']();},[_0x54ba76,_0x3c3883]);function _0x3fde85(){const _0x485dbe=_0x3c4583;return _0x4d3f92['jsxs'](_0x485dbe(0x2b6),{'className':_0x5a4da0[_0x485dbe(0x16c)](_0xa57b49,_0x485dbe(0x2c7)),'onClick':_0x5b93fc,'children':[_0x4d3f92[_0x485dbe(0xb4)]('div',{'className':_0x5e0f49['onlineStatusIcon'],'children':_0x353358}),_0x4d3f92['jsx']('div',{'className':_0x5e0f49[_0x485dbe(0xd8)],'children':_0x5a0d9a})]});}return _0x54ba76?_0x3fde85():_0x4d3f92[_0x3c4583(0xb4)](_0x5a4da0[_0x3c4583(0x321)],{'title':_0x5432d2['t'](_0x3c4583(0x23d)),'children':_0x3fde85()});}var _0xba99c8=Object[_0x28bb4a(0x11a)],_0x208148=(_0x34d5e0,_0x21e9f4,_0x355031,_0x4f3ab1)=>{for(var _0x30fcff=_0x4f3ab1>0x1?void 0x0:_0x4f3ab1?_0xba99c8(_0x21e9f4,_0x355031):_0x21e9f4,_0x1503be=_0x34d5e0['length']-0x1,_0x2443b3;_0x1503be>=0x0;_0x1503be--)(_0x2443b3=_0x34d5e0[_0x1503be])&&(_0x30fcff=_0x2443b3(_0x30fcff)||_0x30fcff);return _0x30fcff;},_0x1dbd09=(_0x1d9855,_0x2b1edc)=>(_0x15b258,_0x2518c8)=>_0x2b1edc(_0x15b258,_0x2518c8,_0x1d9855);_0x31bd5e[_0x28bb4a(0x241)]=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x4d8533,_0x508c64,_0x195afc,_0xcda070){const _0x2b49df=_0x28bb4a;super(),_0x52ecbf(this,'_status$',new _0x548118[(_0x2b49df(0x1bb))](_0x3fe587[_0x2b49df(0x153)][_0x2b49df(0x31f)])),(this[_0x2b49df(0x2cf)]=_0x4d8533,this[_0x2b49df(0x25e)]=_0x508c64,this[_0x2b49df(0x122)]=_0x195afc,this[_0x2b49df(0x1c2)]=_0xcda070,this[_0x2b49df(0x13d)](),this[_0x2b49df(0x2de)]());}['_initStatusListener'](){const _0x55066f=_0x28bb4a;this[_0x55066f(0x280)](this['_univerInstanceService'][_0x55066f(0x319)]['pipe'](_0x548118[_0x55066f(0xd6)](()=>{const _0x1563d1=_0x55066f,_0x5ca226=this[_0x1563d1(0x2cf)][_0x1563d1(0xcc)]();return _0x5ca226?this[_0x1563d1(0x122)][_0x1563d1(0x2a1)](_0x5ca226[_0x1563d1(0x220)]()):_0x548118['of'](null);}),_0x548118['switchMap'](_0x22fcf4=>_0x22fcf4?_0x22fcf4[_0x55066f(0x179)]:_0x548118['of'](_0x3fe587['CollaborationStatus'][_0x55066f(0x31f)])))['subscribe'](_0x4f9c9a=>{const _0x32a694=_0x55066f;this[_0x32a694(0x13b)]['next'](_0x4f9c9a);}));}['_initStatusComponent'](){const _0x290eae=_0x28bb4a;this[_0x290eae(0x280)](this[_0x290eae(0x1c2)][_0x290eae(0x214)](_0x4b9e13['BuiltInUIPart'][_0x290eae(0x88)],()=>_0x4b9e13[_0x290eae(0xbf)](_0x45df84({'status$':this[_0x290eae(0x13b)]['asObservable']()}),this['_injector'])));}},_0x31bd5e[_0x28bb4a(0x241)]=_0x208148([_0x1dbd09(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x1dbd09(0x1,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x1dbd09(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587['CollaborationController'])),_0x1dbd09(0x3,_0x4b9e13[_0x28bb4a(0x157)])],_0x31bd5e['DesktopCollaborationStatusDisplayController']);function _0x45df84(_0x41c0c3){const {status$:_0x491a11}=_0x41c0c3;return function(){return _0x4d3f92['jsx'](_0x184ea2,{'status$':_0x491a11});};}var _0xcebf95=Object['getOwnPropertyDescriptor'],_0x37b525=(_0x4add48,_0xf2e21e,_0x2afc93,_0x2d7ec6)=>{const _0x28f80b=_0x28bb4a;for(var _0x626131=_0x2d7ec6>0x1?void 0x0:_0x2d7ec6?_0xcebf95(_0xf2e21e,_0x2afc93):_0xf2e21e,_0x4cad07=_0x4add48[_0x28f80b(0x27e)]-0x1,_0x34a679;_0x4cad07>=0x0;_0x4cad07--)(_0x34a679=_0x4add48[_0x4cad07])&&(_0x626131=_0x34a679(_0x626131)||_0x626131);return _0x626131;},_0x27ff40=(_0x20ba53,_0x1aa120)=>(_0x531dba,_0x287f3b)=>_0x1aa120(_0x531dba,_0x287f3b,_0x20ba53);let _0x45571b=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x8b5d8d,_0x3bc248,_0x399d48,_0x595ecf,_0x52631c,_0x575016){const _0x531dd7=_0x28bb4a;super(),this[_0x531dd7(0x229)]=_0x8b5d8d,this[_0x531dd7(0x1e0)]=_0x3bc248,this['_collaborationUIEventService']=_0x399d48,this[_0x531dd7(0x1cc)]=_0x595ecf,this[_0x531dd7(0x2fc)]=_0x52631c,this[_0x531dd7(0x2d0)]=_0x575016,this[_0x531dd7(0x1b1)](),this[_0x531dd7(0x124)]();}[_0x28bb4a(0x1b1)](){const _0x133410=_0x28bb4a;this[_0x133410(0x280)](this[_0x133410(0x229)][_0x133410(0x309)](()=>{const _0x502203=_0x133410;if(this[_0x502203(0x1e0)][_0x502203(0x20d)]['size'])return this[_0x502203(0x2d0)]['t'](_0x502203(0x102));}));}['_initEvent'](){const _0x4042c5=_0x28bb4a;this['disposeWithMe'](this[_0x4042c5(0x26b)][_0x4042c5(0xdd)]['subscribe'](_0x6fc5ad=>{const _0x445b8f=_0x4042c5;_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x445b8f(0x29d)]({'type':_0x5a4da0['MessageType'][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x277))}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x213)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)]['Warning'],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x98))}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)]['PERMISSION_DENIED']&&this[_0x445b8f(0x2fc)][_0x445b8f(0x29d)]({'title':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x308)),'content':this[_0x445b8f(0x2d0)]['t']('permission.content'),'type':_0x445b8f(0x1d8),'duration':0x0}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x202)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x1bd)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x98))+'('+_0x6fc5ad[_0x445b8f(0x137)]+')'}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x1dd)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x6fc5ad[_0x445b8f(0x137)]||'')}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x1ba)]&&this['_messageService']['show']({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x237))}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x188)]&&this[_0x445b8f(0x1cc)]['show']({'type':_0x5a4da0[_0x445b8f(0x1f3)]['Error'],'content':this['_localeService']['t'](_0x445b8f(0xaa))}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x22b)]&&this['_messageService'][_0x445b8f(0x29d)]({'type':_0x5a4da0['MessageType'][_0x445b8f(0x1bd)],'content':this['_localeService']['t'](_0x445b8f(0x2ae))});}));}};_0x45571b=_0x37b525([_0x27ff40(0x0,_0x4b9e13[_0x28bb4a(0xf2)]),_0x27ff40(0x1,_0x3fe587[_0x28bb4a(0x15e)]),_0x27ff40(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x10f)])),_0x27ff40(0x3,_0x4b9e13[_0x28bb4a(0xf1)]),_0x27ff40(0x4,_0x4b9e13[_0x28bb4a(0x209)]),_0x27ff40(0x5,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0x203)]))],_0x45571b);const _0x275f4a=_0x28bb4a(0x14c),_0x311072={},_0x5e67ee=_0x15b207[_0x28bb4a(0x2e1)](_0x28bb4a(0x227));var _0x38553a=Object[_0x28bb4a(0x11a)],_0x279b43=(_0x3bf234,_0x4f2adb,_0x2058a9,_0x553c0e)=>{const _0x97a3cd=_0x28bb4a;for(var _0x194dd9=_0x553c0e>0x1?void 0x0:_0x553c0e?_0x38553a(_0x4f2adb,_0x2058a9):_0x4f2adb,_0x265830=_0x3bf234[_0x97a3cd(0x27e)]-0x1,_0x35352e;_0x265830>=0x0;_0x265830--)(_0x35352e=_0x3bf234[_0x265830])&&(_0x194dd9=_0x35352e(_0x194dd9)||_0x194dd9);return _0x194dd9;},_0x80ec2e=(_0x432308,_0x43ff8c)=>(_0x2e7792,_0x228b17)=>_0x43ff8c(_0x2e7792,_0x228b17,_0x432308);_0x31bd5e[_0x28bb4a(0x2a7)]=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x37012a,_0x4cf28d,_0x310f16,_0x2533c3,_0x4ac626){const _0xd7d94b=_0x28bb4a;super(),this['_urlService']=_0x37012a,this[_0xd7d94b(0x279)]=_0x4cf28d,this[_0xd7d94b(0x12f)]=_0x310f16,this['_dataLoaderService']=_0x2533c3,_0x4ac626?_0x4ac626==null||_0x4ac626['whenReady']()[_0xd7d94b(0x8f)](()=>this[_0xd7d94b(0x93)]()):(this[_0xd7d94b(0x279)]['debug'](_0xd7d94b(0x17b),_0xd7d94b(0xae)),this[_0xd7d94b(0x93)]());}async['_init'](){const _0xbe14fb=_0x28bb4a,_0x4e3041=this[_0xbe14fb(0x2a2)]['getParam']('unit'),_0x155181=this[_0xbe14fb(0x2a2)][_0xbe14fb(0x21c)]('type'),_0xae3e8b=this[_0xbe14fb(0x2a2)][_0xbe14fb(0x21c)](_0xbe14fb(0x238));if(!_0x4e3041||!_0x155181){this[_0xbe14fb(0x279)][_0xbe14fb(0x2f4)](_0xbe14fb(0x17b),_0xbe14fb(0x10c));return;}const _0x30152b=await this[_0xbe14fb(0x2bb)][_0xbe14fb(0x2f1)](_0x4e3041,Number(_0x155181),_0xae3e8b);_0x30152b&&_0x30152b instanceof _0x15b207['Workbook']&&this['_setupSubUnitSync'](_0x30152b);}async[_0x28bb4a(0x21f)](_0x4c3b72){const _0x40a6d6=_0x28bb4a;await this[_0x40a6d6(0x2be)](_0x4c3b72),_0x4c3b72[_0x40a6d6(0x121)]['pipe'](_0x548118[_0x40a6d6(0x1c4)](this[_0x40a6d6(0x18e)]))[_0x40a6d6(0xa7)](_0x259760=>{const _0x2a4647=_0x40a6d6;_0x259760&&this[_0x2a4647(0x182)](_0x259760);}),this['_urlService']['urlChange$'][_0x40a6d6(0x150)](_0x548118[_0x40a6d6(0x1c4)](this['dispose$']))['subscribe'](()=>this[_0x40a6d6(0x2be)](_0x4c3b72));}[_0x28bb4a(0x182)](_0xdcf323,_0x1ce4ce=!0x1){const _0x280340=_0x28bb4a,_0x5bd3a1=this[_0x280340(0x2a2)]['getParam'](_0x280340(0x238));_0xdcf323['getSheetId']()!==_0x5bd3a1&&this[_0x280340(0x2a2)][_0x280340(0xcd)](_0x280340(0x238),_0xdcf323[_0x280340(0x142)](),_0x1ce4ce);}async['_updateSubUnitFromURLParams'](_0x2aeadd){const _0xb3699e=_0x28bb4a;var _0x4e63b4;const _0x581e9a=this[_0xb3699e(0x2a2)][_0xb3699e(0x21c)](_0xb3699e(0x238));if(!_0x581e9a||!_0x2aeadd[_0xb3699e(0x18c)](_0x581e9a)){const _0x400a40=_0x2aeadd[_0xb3699e(0x2f7)]()[0x0],_0x4d47c0=_0x2aeadd[_0xb3699e(0x18c)](_0x400a40);if(!_0x4d47c0)return;this[_0xb3699e(0x182)](_0x4d47c0,!0x0),await this['_commandService'][_0xb3699e(0x2d3)](_0x159c7f['SetWorksheetActivateCommand']['id'],{'unitId':_0x2aeadd['getUnitId'](),'subUnitId':_0x400a40});return;}((_0x4e63b4=_0x2aeadd[_0xb3699e(0x105)]())==null?void 0x0:_0x4e63b4[_0xb3699e(0x142)]())!==_0x581e9a&&await this[_0xb3699e(0x12f)][_0xb3699e(0x2d3)](_0x159c7f[_0xb3699e(0x16e)]['id'],{'unitId':_0x2aeadd[_0xb3699e(0x220)](),'subUnitId':_0x581e9a});}},_0x31bd5e['CollaborationDataLoaderController']=_0x279b43([_0x80ec2e(0x0,_0x5e67ee),_0x80ec2e(0x1,_0x15b207[_0x28bb4a(0x176)]),_0x80ec2e(0x2,_0x15b207[_0x28bb4a(0x195)]),_0x80ec2e(0x3,_0x15b207['Inject'](_0x3fe587[_0x28bb4a(0x2f0)])),_0x80ec2e(0x4,_0x15b207[_0x28bb4a(0x291)](_0x3a7d89['IRemoteInstanceService']))],_0x31bd5e[_0x28bb4a(0x2a7)]);var _0xc0ef89=Object['getOwnPropertyDescriptor'],_0xd0ea5b=(_0x22eaeb,_0x15d2b6,_0x242541,_0x13f00b)=>{const _0x4a7e8a=_0x28bb4a;for(var _0x5b50a4=_0x13f00b>0x1?void 0x0:_0x13f00b?_0xc0ef89(_0x15d2b6,_0x242541):_0x15d2b6,_0x553920=_0x22eaeb[_0x4a7e8a(0x27e)]-0x1,_0x2bc9e3;_0x553920>=0x0;_0x553920--)(_0x2bc9e3=_0x22eaeb[_0x553920])&&(_0x5b50a4=_0x2bc9e3(_0x5b50a4)||_0x5b50a4);return _0x5b50a4;},_0x4af57b=(_0x1c3779,_0x494e93)=>(_0x797563,_0x3b195e)=>_0x494e93(_0x797563,_0x3b195e,_0x1c3779);let _0x572cde=class{constructor(_0x289396,_0x3f3c6f,_0x5eb7ec){const _0x1ece1b=_0x28bb4a;this[_0x1ece1b(0x25e)]=_0x289396,this[_0x1ece1b(0x1d9)]=_0x3f3c6f,this['_renderManagerService']=_0x5eb7ec;}['transformIMECache'](_0x496f2a){const _0xd8a15a=_0x28bb4a;this[_0xd8a15a(0x31c)](_0x496f2a),this[_0xd8a15a(0x311)](_0x496f2a);}[_0x28bb4a(0x1b2)](_0x16e960){const _0x5debf3=_0x28bb4a,{unitID:_0xa3c3ae}=_0x16e960,_0x2b5c7a=this['_renderManagerService'][_0x5debf3(0x23f)](_0xa3c3ae)[_0x5debf3(0x14f)](_0x57acc0[_0x5debf3(0x16f)]),{redoCache:_0x3ba66c}=_0x2b5c7a[_0x5debf3(0x1f1)]();if(_0x3ba66c[_0x5debf3(0x27e)]===0x0)return _0x16e960;let _0x48854a=_0x15b207[_0x5debf3(0xb8)][_0x5debf3(0x8c)](_0x16e960[_0x5debf3(0xa1)][0x0]);for(let _0x45ff91=0x0;_0x45ff91<_0x3ba66c['length'];_0x45ff91++){const _0x176d2f={'id':_0x5debf3(0xb9),'params':{..._0x3ba66c[_0x45ff91]}},_0x56a271=this[_0x5debf3(0x1d9)]['transformMutation'](_0x48854a,_0x176d2f,!0x1);if(_0x38de55['isTransformMutationFailure'](_0x56a271))throw _0x56a271[_0x5debf3(0x1d8)];_0x48854a=_0x56a271[_0x5debf3(0x13a)];}return{..._0x15b207[_0x5debf3(0xb8)][_0x5debf3(0x8c)](_0x16e960),'mutations':[_0x48854a]};}[_0x28bb4a(0x31c)](_0x4ba71f){const _0x57e867=_0x28bb4a,{unitID:_0x347170}=_0x4ba71f,_0x53c4fa=this[_0x57e867(0x149)][_0x57e867(0x23f)](_0x347170)[_0x57e867(0x14f)](_0x57acc0[_0x57e867(0x16f)]),{undoCache:_0x53cf90,redoCache:_0x57e425}=_0x53c4fa[_0x57e867(0x1f1)]();if(_0x53cf90['length']===0x0||_0x57e425[_0x57e867(0x27e)]===0x0)return;const _0x599446=[],_0x34d474=[];let _0x4df0b7=_0x15b207['Tools']['deepClone'](_0x4ba71f['mutations'][0x0]),_0x3bed18=_0x15b207[_0x57e867(0xb8)][_0x57e867(0x8c)](_0x4ba71f[_0x57e867(0xa1)][0x0]);for(let _0x4f4eb0=_0x53cf90['length']-0x1;_0x4f4eb0>=0x0;_0x4f4eb0--){const _0x19d552={'id':'doc.mutation.rich-text-editing','params':{..._0x53cf90[_0x4f4eb0]}},_0x42641d={'id':_0x57e867(0xb9),'params':{..._0x57e425[_0x4f4eb0]}},_0x47e508=this[_0x57e867(0x1d9)]['transformMutation'](_0x4df0b7,_0x19d552,!0x1),_0x5af986=this[_0x57e867(0x1d9)][_0x57e867(0x100)](_0x3bed18,_0x42641d,!0x1);if(_0x38de55['isTransformMutationFailure'](_0x47e508))throw _0x47e508[_0x57e867(0x1d8)];if(_0x38de55[_0x57e867(0x1fa)](_0x5af986))throw _0x5af986[_0x57e867(0x1d8)];_0x599446['unshift'](_0x47e508[_0x57e867(0x2f2)][_0x57e867(0x2dc)]),_0x34d474['unshift'](_0x5af986['m2Prime'][_0x57e867(0x2dc)]),_0x4df0b7=_0x47e508[_0x57e867(0x13a)],_0x3bed18=_0x5af986[_0x57e867(0x13a)];}_0x53c4fa[_0x57e867(0x10b)]({'undoCache':_0x599446,'redoCache':_0x34d474});}[_0x28bb4a(0x311)](_0x4a9555){const _0x20310c=_0x28bb4a,{unitID:_0x295ed2}=_0x4a9555,_0x46da36=this[_0x20310c(0x149)][_0x20310c(0x23f)](_0x295ed2)[_0x20310c(0x14f)](_0x57acc0[_0x20310c(0x16f)]),_0x11a3ca=_0x46da36[_0x20310c(0x1f8)]();if(_0x11a3ca==null)return;const _0x43b2e3=[{'id':_0x20310c(0xb9),'params':{'unitId':_0x4a9555[_0x20310c(0x136)],'actions':null,'textRanges':[_0x11a3ca]}}],_0x2acd9c=this['_transformService'][_0x20310c(0x322)](_0x4a9555,_0x43b2e3);if(!_0x38de55['isTransformMutationsWithChangesetSuccess'](_0x2acd9c))throw _0x2acd9c[_0x20310c(0x1d8)];const _0x226eba=_0x2acd9c[_0x20310c(0x2f2)][0x0][_0x20310c(0x2dc)][_0x20310c(0x1a4)];Array[_0x20310c(0x1bc)](_0x226eba)&&_0x226eba[_0x20310c(0x27e)]&&_0x46da36[_0x20310c(0x1d1)](_0x226eba[0x0]);}};_0x572cde=_0xd0ea5b([_0x4af57b(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207['Injector'])),_0x4af57b(0x1,_0x38de55[_0x28bb4a(0x1ce)]),_0x4af57b(0x2,_0x241ab7[_0x28bb4a(0x164)])],_0x572cde);var _0x50e341=Object['getOwnPropertyDescriptor'],_0x205446=(_0x5b8da1,_0x35fc98,_0x20ae66,_0x274754)=>{const _0x2ad27d=_0x28bb4a;for(var _0x5bbb2a=_0x274754>0x1?void 0x0:_0x274754?_0x50e341(_0x35fc98,_0x20ae66):_0x35fc98,_0x562ce2=_0x5b8da1[_0x2ad27d(0x27e)]-0x1,_0x58325;_0x562ce2>=0x0;_0x562ce2--)(_0x58325=_0x5b8da1[_0x562ce2])&&(_0x5bbb2a=_0x58325(_0x5bbb2a)||_0x5bbb2a);return _0x5bbb2a;},_0xe1ed0d=(_0x349f97,_0x399056)=>(_0x526b3a,_0x4f216a)=>_0x399056(_0x526b3a,_0x4f216a,_0x349f97);let _0x536821=class{constructor(_0x44838f,_0x2d3f27,_0x528733){const _0x349772=_0x28bb4a;this[_0x349772(0x25e)]=_0x44838f,this[_0x349772(0x1d9)]=_0x2d3f27,this['_docStateChangeManagerService']=_0x528733;}[_0x28bb4a(0xb6)](_0x2dd543){const _0x39bdd5=_0x28bb4a;this[_0x39bdd5(0x204)](_0x2dd543);}[_0x28bb4a(0x1b2)](_0x30dd1e){const _0x2003b5=_0x28bb4a,{unitID:_0x25bbc9}=_0x30dd1e,{collaboration:_0x50efb9}=this[_0x2003b5(0x8d)][_0x2003b5(0x22a)](_0x25bbc9);if(_0x50efb9['length']===0x0)return _0x30dd1e;let _0x5479d5=_0x15b207[_0x2003b5(0xb8)][_0x2003b5(0x8c)](_0x30dd1e['mutations'][0x0]);for(let _0x43c22f=0x0;_0x43c22f<_0x50efb9[_0x2003b5(0x27e)];_0x43c22f++){const _0x3f6be4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50efb9[_0x43c22f]['unitId'],..._0x50efb9[_0x43c22f]['redoState']}},_0x23411c=this[_0x2003b5(0x1d9)][_0x2003b5(0x100)](_0x5479d5,_0x3f6be4,!0x1);if(_0x38de55[_0x2003b5(0x1fa)](_0x23411c))throw _0x23411c[_0x2003b5(0x1d8)];_0x5479d5=_0x23411c[_0x2003b5(0x13a)];}return{..._0x15b207[_0x2003b5(0xb8)][_0x2003b5(0x8c)](_0x30dd1e),'mutations':[_0x5479d5]};}[_0x28bb4a(0x204)](_0x2c1c77){const _0x2746fb=_0x28bb4a,{unitID:_0x1c7456}=_0x2c1c77,{history:_0x264c18,collaboration:_0x463a36}=this[_0x2746fb(0x8d)][_0x2746fb(0x22a)](_0x1c7456);if(_0x264c18['length']===0x0&&_0x463a36['length']===0x0)return;const _0xe84190=[],_0x3bd16d=[];let _0x1d787d=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77[_0x2746fb(0xa1)][0x0]),_0x557378=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77[_0x2746fb(0xa1)][0x0]);for(let _0x132172=_0x264c18['length']-0x1;_0x132172>=0x0;_0x132172--){const _0x140561={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x264c18[_0x132172][_0x2746fb(0x1d4)],..._0x264c18[_0x132172][_0x2746fb(0x261)]}},_0x471c02={'id':_0x2746fb(0xb9),'params':{'unitId':_0x264c18[_0x132172]['unitId'],..._0x264c18[_0x132172][_0x2746fb(0xb0)]}},_0x4dfa46=this['_transformService'][_0x2746fb(0x100)](_0x1d787d,_0x140561,!0x1),_0x1851ad=this[_0x2746fb(0x1d9)][_0x2746fb(0x100)](_0x557378,_0x471c02,!0x1);if(_0x38de55[_0x2746fb(0x1fa)](_0x4dfa46))throw _0x4dfa46[_0x2746fb(0x1d8)];if(_0x38de55[_0x2746fb(0x1fa)](_0x1851ad))throw _0x1851ad[_0x2746fb(0x1d8)];_0xe84190[_0x2746fb(0x1c7)]({..._0x264c18[_0x132172],'undoState':_0x4dfa46[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)],'redoState':_0x1851ad[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)]}),_0x1d787d=_0x4dfa46[_0x2746fb(0x13a)],_0x557378=_0x1851ad[_0x2746fb(0x13a)];}_0x1d787d=_0x15b207['Tools'][_0x2746fb(0x8c)](_0x2c1c77['mutations'][0x0]),_0x557378=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77['mutations'][0x0]);for(let _0x311938=_0x463a36['length']-0x1;_0x311938>=0x0;_0x311938--){const _0x41e75e={'id':_0x2746fb(0xb9),'params':{'unitId':_0x463a36[_0x311938][_0x2746fb(0x1d4)],..._0x463a36[_0x311938][_0x2746fb(0x261)]}},_0x1073d3={'id':_0x2746fb(0xb9),'params':{'unitId':_0x463a36[_0x311938][_0x2746fb(0x1d4)],..._0x463a36[_0x311938]['redoState']}},_0x5c530a=this['_transformService'][_0x2746fb(0x100)](_0x1d787d,_0x41e75e,!0x1),_0x39b8bd=this[_0x2746fb(0x1d9)][_0x2746fb(0x100)](_0x557378,_0x1073d3,!0x1);if(_0x38de55[_0x2746fb(0x1fa)](_0x5c530a))throw _0x5c530a[_0x2746fb(0x1d8)];if(_0x38de55[_0x2746fb(0x1fa)](_0x39b8bd))throw _0x39b8bd[_0x2746fb(0x1d8)];_0x3bd16d[_0x2746fb(0x1c7)]({..._0x463a36[_0x311938],'undoState':_0x5c530a[_0x2746fb(0x2f2)]['params'],'redoState':_0x39b8bd[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)]}),_0x1d787d=_0x5c530a[_0x2746fb(0x13a)],_0x557378=_0x39b8bd[_0x2746fb(0x13a)];}this['_docStateChangeManagerService'][_0x2746fb(0x2a8)](_0x1c7456,{'history':_0xe84190,'collaboration':_0x3bd16d});}};_0x536821=_0x205446([_0xe1ed0d(0x0,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0xe1ed0d(0x1,_0x38de55[_0x28bb4a(0x1ce)]),_0xe1ed0d(0x2,_0x15b207[_0x28bb4a(0x99)](_0x57acc0[_0x28bb4a(0x169)]))],_0x536821);var _0x190018=Object['getOwnPropertyDescriptor'],_0x2923d2=(_0x5b2bb1,_0x19b8c1,_0x224864,_0x3a1a1f)=>{const _0x326c1e=_0x28bb4a;for(var _0xaffa71=_0x3a1a1f>0x1?void 0x0:_0x3a1a1f?_0x190018(_0x19b8c1,_0x224864):_0x19b8c1,_0x5779e8=_0x5b2bb1[_0x326c1e(0x27e)]-0x1,_0x331cd5;_0x5779e8>=0x0;_0x5779e8--)(_0x331cd5=_0x5b2bb1[_0x5779e8])&&(_0xaffa71=_0x331cd5(_0xaffa71)||_0xaffa71);return _0xaffa71;},_0x2eaeb1=(_0x3da514,_0x294f16)=>(_0x1117e2,_0x837731)=>_0x294f16(_0x1117e2,_0x837731,_0x3da514);let _0x3ab750=class{constructor(_0x37241f,_0x5e3772){const _0x13b191=_0x28bb4a;this[_0x13b191(0x25e)]=_0x37241f,this[_0x13b191(0x1d9)]=_0x5e3772;}[_0x28bb4a(0x24c)](_0x2dc4e0){const _0x1fe69a=_0x28bb4a;var _0x327ceb;const _0x2e9797=this['_injector'][_0x1fe69a(0x2ca)](_0x374d97[_0x1fe69a(0x2d5)]),_0x5d0e15=(_0x327ceb=_0x2e9797[_0x1fe69a(0x2c6)]())!=null?_0x327ceb:[];if(_0x5d0e15[_0x1fe69a(0x27e)]===0x0)return;const _0x1347bd=_0x2dc4e0[_0x1fe69a(0x136)],_0x4a18f8=[{'id':_0x1fe69a(0xb9),'params':{'unitId':_0x1347bd,'actions':null,'textRanges':_0x5d0e15}}],_0x13e38a=this['_transformService'][_0x1fe69a(0x322)](_0x2dc4e0,_0x4a18f8);if(!_0x38de55[_0x1fe69a(0x297)](_0x13e38a))throw _0x13e38a[_0x1fe69a(0x1d8)];const _0x19c7d6=_0x13e38a[_0x1fe69a(0x2f2)][0x0]['params']['textRanges'];Array[_0x1fe69a(0x1bc)](_0x19c7d6)&&_0x19c7d6['length']&&_0x2e9797[_0x1fe69a(0xc2)](_0x19c7d6,{'unitId':_0x1347bd,'subUnitId':_0x1347bd},!0x1);}};_0x3ab750=_0x2923d2([_0x2eaeb1(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x2eaeb1(0x1,_0x38de55[_0x28bb4a(0x1ce)])],_0x3ab750);var _0x3be02c=Object[_0x28bb4a(0x11a)],_0x3fb206=(_0x1e6243,_0x33371c,_0x51be70,_0x5ae041)=>{const _0x567ce2=_0x28bb4a;for(var _0x15b2a8=_0x5ae041>0x1?void 0x0:_0x5ae041?_0x3be02c(_0x33371c,_0x51be70):_0x33371c,_0x1ad8bf=_0x1e6243[_0x567ce2(0x27e)]-0x1,_0x3aba24;_0x1ad8bf>=0x0;_0x1ad8bf--)(_0x3aba24=_0x1e6243[_0x1ad8bf])&&(_0x15b2a8=_0x3aba24(_0x15b2a8)||_0x15b2a8);return _0x15b2a8;},_0x8469e7=(_0x5bcbee,_0x20a5bc)=>(_0x40d2db,_0x301f32)=>_0x20a5bc(_0x40d2db,_0x301f32,_0x5bcbee);let _0x167d24=class extends _0x15b207['Disposable']{constructor(_0x49ded6,_0x2cb3ca,_0x58c535,_0x2a0c58,_0x236329,_0xbd5aa9,_0x255c0b,_0x4ca460){const _0x51cc71=_0x28bb4a;super(),_0x52ecbf(this,_0x51cc71(0x13b),new _0x548118[(_0x51cc71(0x1bb))](_0x3fe587[_0x51cc71(0x153)][_0x51cc71(0x31f)])),(this['_docStateChangeManagerService']=_0x49ded6,this['_collaborationController']=_0x2cb3ca,this[_0x51cc71(0x174)]=_0x58c535,this[_0x51cc71(0x1a5)]=_0x2a0c58,this[_0x51cc71(0x135)]=_0x236329,this['_docSyncEditingCollabCursorService']=_0xbd5aa9,this[_0x51cc71(0x1cc)]=_0x255c0b,this[_0x51cc71(0x2d0)]=_0x4ca460,this[_0x51cc71(0x1b3)]());}['_initEntityListener'](){const _0x1ccac6=_0x28bb4a;this[_0x1ccac6(0x280)](this[_0x1ccac6(0x122)][_0x1ccac6(0xc6)]['subscribe'](_0x11f322=>{const _0x224c27=_0x1ccac6,_0x582e2c=this[_0x224c27(0x8d)][_0x224c27(0x2d7)][_0x224c27(0xa7)](_0x3f0a76=>{const _0x86d5fe=_0x224c27;if(_0x3f0a76==null)return;const {unitId:_0x5e027d,redoState:_0x3a856e,commandId:_0x13c744}=_0x3f0a76;if(_0x5e027d!==_0x11f322[_0x86d5fe(0x136)])return;const _0x512511={'id':_0x13c744,'type':_0x15b207['CommandType']['MUTATION'],'params':{'unitId':_0x5e027d,'actions':_0x3a856e[_0x86d5fe(0x116)],'textRanges':null}};_0x11f322[_0x86d5fe(0x1d7)](_0x512511);});if(_0x11f322[_0x224c27(0x280)](_0x582e2c),_0x11f322 instanceof _0x3fe587['DocCollaborationEntity']){const _0x5355a6={'onTransformIME':_0xcd0ef7=>this[_0x224c27(0x174)][_0x224c27(0xe4)](_0xcd0ef7),'onTransformState':_0x163c1b=>this[_0x224c27(0x1a5)][_0x224c27(0xb6)](_0x163c1b),'onTransformSelections':_0x5eabca=>this[_0x224c27(0x135)]['transformSelections'](_0x5eabca),'onSyncEditingCollabCursor':_0x4f7026=>this['_docSyncEditingCollabCursorService'][_0x224c27(0x134)](_0x4f7026),'onTransformRemoteChangesetByIMECache':_0x34084d=>this[_0x224c27(0x174)][_0x224c27(0x1b2)](_0x34084d),'onTransformRemoteChangesetByStateCache':_0x50ba64=>this[_0x224c27(0x1a5)][_0x224c27(0x1b2)](_0x50ba64)};_0x11f322[_0x224c27(0xe9)](_0x5355a6);}}));}};_0x167d24=_0x3fb206([_0x8469e7(0x0,_0x15b207[_0x28bb4a(0x99)](_0x57acc0[_0x28bb4a(0x169)])),_0x8469e7(0x1,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x2f5)])),_0x8469e7(0x2,_0x15b207[_0x28bb4a(0x99)](_0x572cde)),_0x8469e7(0x3,_0x15b207[_0x28bb4a(0x99)](_0x536821)),_0x8469e7(0x4,_0x15b207[_0x28bb4a(0x99)](_0x3ab750)),_0x8469e7(0x5,_0x15b207[_0x28bb4a(0x99)](_0x50948d)),_0x8469e7(0x6,_0x4b9e13[_0x28bb4a(0xf1)]),_0x8469e7(0x7,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0x203)]))],_0x167d24);var _0x69f3f1=Object['getOwnPropertyDescriptor'],_0x3a742e=(_0x5dc536,_0x5233df,_0x4f78f1,_0x508dfe)=>{const _0x5a2e25=_0x28bb4a;for(var _0x1c3935=_0x508dfe>0x1?void 0x0:_0x508dfe?_0x69f3f1(_0x5233df,_0x4f78f1):_0x5233df,_0x54fe8d=_0x5dc536[_0x5a2e25(0x27e)]-0x1,_0x1ff699;_0x54fe8d>=0x0;_0x54fe8d--)(_0x1ff699=_0x5dc536[_0x54fe8d])&&(_0x1c3935=_0x1ff699(_0x1c3935)||_0x1c3935);return _0x1c3935;},_0x28ff1b=(_0x1c2a49,_0x85ee52)=>(_0x55041d,_0x37b486)=>_0x85ee52(_0x55041d,_0x37b486,_0x1c2a49);let _0x22b2d1=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x82121f,_0x2aaeba,_0x5b4e4b){const _0x33b6f7=_0x28bb4a;super(),_0x52ecbf(this,_0x33b6f7(0x2b8),new Map()),_0x52ecbf(this,_0x33b6f7(0x2e0),new Map()),_0x52ecbf(this,_0x33b6f7(0x25c),!0x1),(this[_0x33b6f7(0x189)]=_0x82121f,this['_localStorageService']=_0x2aaeba,this['_revisionService']=_0x5b4e4b);}['disableLocalCache'](){const _0x1eb116=_0x28bb4a;this[_0x1eb116(0x25c)]=!0x0;}[_0x28bb4a(0xc7)](){const _0x4a810d=_0x28bb4a;this[_0x4a810d(0x25c)]=!0x1;}get['saveTaskMap'](){const _0x3fc78a=_0x28bb4a;return this[_0x3fc78a(0x2e0)];}[_0x28bb4a(0x152)](){const _0x1f220b=_0x28bb4a;this[_0x1f220b(0x1f6)]()['then'](()=>super[_0x1f220b(0x152)]());}async[_0x28bb4a(0x2d1)](_0x32a079){const _0x3c27cc=_0x28bb4a;return this[_0x3c27cc(0x25c)]?null:this[_0x3c27cc(0x1a1)]['getItem'](_0x3fe587[_0x3c27cc(0x1d5)](_0x32a079));}async[_0x28bb4a(0x156)](_0x4cf8a9,_0x43cbd3){const _0x5d9ec0=_0x28bb4a;return!!this[_0x5d9ec0(0x1a1)][_0x5d9ec0(0xdb)](_0x4cf8a9,_0x43cbd3);}['updateOfflineData'](_0x3151b1,_0x16d89c,_0xa59427,_0x25fe66){const _0x59807c=_0x28bb4a,_0x6fa0a6=this['_revisionService']['getCurrentRevOfUnit'](_0x3151b1);this['_cachedData'][_0x59807c(0x31b)](_0x3151b1,{'unitID':_0x3151b1,'type':_0x16d89c,'awaitingChangeset':_0xa59427,'mutations':_0x25fe66,'rev':_0x6fa0a6}),this[_0x59807c(0x2e0)][_0x59807c(0x2e9)](_0x3151b1)||this['_scheduleSaving'](_0x3151b1);}[_0x28bb4a(0x208)](_0x3bced2){const _0x422c94=_0x28bb4a,_0x32e27b=this[_0x422c94(0x310)]();_0x32e27b===0x0?this[_0x422c94(0x19c)](_0x3bced2):this[_0x422c94(0x2e0)]['set'](_0x3bced2,setTimeout(()=>this[_0x422c94(0x19c)](_0x3bced2),_0x32e27b));}['_getSaveTimeout'](){const _0x365f7d=_0x28bb4a;var _0x3c21bc;return(_0x3c21bc=this[_0x365f7d(0x189)][_0x365f7d(0x305)](_0x3fe587[_0x365f7d(0x1c5)]))!=null?_0x3c21bc:_0x3fe587['LOCAL_CACHE_INTERVAL'];}[_0x28bb4a(0x19c)](_0x57dfc3){const _0x3015cf=_0x28bb4a,_0x5d6b03=this[_0x3015cf(0x2e0)][_0x3015cf(0x2ca)](_0x57dfc3);return _0x5d6b03!==void 0x0&&window[_0x3015cf(0x1d3)](_0x5d6b03),this[_0x3015cf(0x1a1)][_0x3015cf(0xdb)](_0x3fe587[_0x3015cf(0x1d5)](_0x57dfc3),this[_0x3015cf(0x2b8)][_0x3015cf(0x2ca)](_0x57dfc3))[_0x3015cf(0x8f)](()=>this[_0x3015cf(0x2e0)][_0x3015cf(0x260)](_0x57dfc3));}async[_0x28bb4a(0x1f6)](){const _0x4c8787=_0x28bb4a,_0x31cdb5=[];this['_saveTaskMap']['forEach']((_0x236b01,_0x148f07)=>{const _0x4a4f2b=_0x57fc;window[_0x4a4f2b(0x1d3)](_0x236b01),_0x31cdb5[_0x4a4f2b(0x2e7)](this['_saveCache'](_0x148f07)[_0x4a4f2b(0x8f)](()=>{this['_saveTaskMap']['delete'](_0x148f07);}));}),await Promise[_0x4c8787(0x243)](_0x31cdb5);}};_0x22b2d1=_0x3a742e([_0x28ff1b(0x0,_0x15b207[_0x28bb4a(0x160)]),_0x28ff1b(0x1,_0x15b207[_0x28bb4a(0x1de)]),_0x28ff1b(0x2,_0x15b207['Inject'](_0x38de55[_0x28bb4a(0x128)]))],_0x22b2d1);class _0x29d59a extends _0x15b207[_0x28bb4a(0xac)]{constructor(){const _0x15cce7=_0x28bb4a;super(),_0x52ecbf(this,_0x15cce7(0x21a)),this[_0x15cce7(0x21a)]=_0x548118[_0x15cce7(0x271)](window,_0x15cce7(0x1ab))[_0x15cce7(0x150)](_0x548118[_0x15cce7(0x1c4)](this[_0x15cce7(0x18e)]),_0x548118[_0x15cce7(0x1fb)](0x1),_0x548118[_0x15cce7(0x2b5)](void 0x0));}[_0x28bb4a(0xcd)](_0x1a176b,_0x4fc482,_0xc63346=!0x1){const _0x5736eb=_0x28bb4a,_0x30bb54=new URL(window['location']['href']);_0x30bb54[_0x5736eb(0x1da)][_0x5736eb(0x31b)](_0x1a176b,_0x4fc482),_0xc63346?window[_0x5736eb(0x26d)]['replaceState']('','',_0x30bb54['toString']()):window[_0x5736eb(0x26d)][_0x5736eb(0x1b7)]('','',_0x30bb54['toString']());}[_0x28bb4a(0x2a5)](_0x53059f,_0x571846=!0x1){const _0x26f833=_0x28bb4a,_0x4ca1f2=new URL(window[_0x26f833(0xa8)]['href']);_0x4ca1f2[_0x26f833(0x1da)][_0x26f833(0x260)](_0x53059f),_0x571846?window[_0x26f833(0x26d)]['replaceState']('','',_0x4ca1f2[_0x26f833(0x126)]()):window[_0x26f833(0x26d)][_0x26f833(0x1b7)]('','',_0x4ca1f2[_0x26f833(0x126)]());}['getParam'](_0x4c84f4){const _0x24d873=_0x28bb4a;var _0x5a743e;return(_0x5a743e=new URL(window[_0x24d873(0xa8)][_0x24d873(0xfc)])[_0x24d873(0x1da)][_0x24d873(0x2ca)](_0x4c84f4))!=null?_0x5a743e:void 0x0;}}var _0x16e47d=Object[_0x28bb4a(0x215)],_0x42e26b=Object[_0x28bb4a(0x11a)],_0x311965=(_0x5a983a,_0x2d7cc8,_0xe8334)=>_0x2d7cc8 in _0x5a983a?_0x16e47d(_0x5a983a,_0x2d7cc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe8334}):_0x5a983a[_0x2d7cc8]=_0xe8334,_0x5ae9bd=(_0x539d26,_0x1691af,_0x408f15,_0x43c6ea)=>{for(var _0x80fd1c=_0x43c6ea>0x1?void 0x0:_0x43c6ea?_0x42e26b(_0x1691af,_0x408f15):_0x1691af,_0x284ab9=_0x539d26['length']-0x1,_0x5cfb22;_0x284ab9>=0x0;_0x284ab9--)(_0x5cfb22=_0x539d26[_0x284ab9])&&(_0x80fd1c=_0x5cfb22(_0x80fd1c)||_0x80fd1c);return _0x80fd1c;},_0x480ed4=(_0x26b5b2,_0x46fd11)=>(_0x43e7bf,_0x1dcd05)=>_0x46fd11(_0x43e7bf,_0x1dcd05,_0x26b5b2),_0x4118b8=(_0x5c78f2,_0x2963f4,_0x55e5e7)=>_0x311965(_0x5c78f2,_0x2963f4+'',_0x55e5e7);const _0x2a3291=_0x28bb4a(0x212);_0x31bd5e[_0x28bb4a(0x9c)]=class extends _0x15b207['Plugin']{constructor(_0x1ac157=_0x311072,_0x54c42a,_0x11dad6,_0x1a1fb7){const _0x10047e=_0x28bb4a;super(),this[_0x10047e(0x221)]=_0x1ac157,this['_renderManagerService']=_0x54c42a,this['_injector']=_0x11dad6,this['_configService']=_0x1a1fb7;const {..._0x4dca7e}=_0x15b207[_0x10047e(0x256)]({},_0x311072,this[_0x10047e(0x221)]);this[_0x10047e(0x189)][_0x10047e(0x1ed)](_0x275f4a,_0x4dca7e);}[_0x28bb4a(0x12a)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x28bb4a(0x1ea)](){const _0x318094=_0x28bb4a;this[_0x318094(0x287)]();}[_0x28bb4a(0x2fd)](){const _0x1306ab=_0x28bb4a;var _0x3c1e7d;const _0x282400=[[_0x406998],[_0x3ab750],[_0x572cde],[_0x536821],[_0x50948d],[_0x5e67ee,{'useClass':_0x29d59a}],[_0x5ba1cc['ISocketService'],{'useClass':_0x5ba1cc[_0x1306ab(0x298)]}],[_0x3fe587[_0x1306ab(0x15e)],{'useClass':_0x22b2d1}],[_0x31bd5e[_0x1306ab(0x241)]],[_0x167d24],[_0x45571b],[_0x338aa0],[_0x221090],[_0x31bd5e[_0x1306ab(0x2a7)]]];_0x15b207[_0x1306ab(0x2c9)](this[_0x1306ab(0x25e)],_0x15b207[_0x1306ab(0xf8)](_0x282400,(_0x3c1e7d=this['_config'])==null?void 0x0:_0x3c1e7d[_0x1306ab(0xeb)]));}[_0x28bb4a(0x287)](){const _0x3138f3=_0x28bb4a;this[_0x3138f3(0x280)](this[_0x3138f3(0x149)][_0x3138f3(0x89)](_0x15b207[_0x3138f3(0x306)]['UNIVER_DOC'],[_0x1927b2])),this[_0x3138f3(0x280)](this[_0x3138f3(0x149)][_0x3138f3(0x89)](_0x15b207['UniverInstanceType'][_0x3138f3(0x1f5)],[_0x4d81cc]));}['_initDependencies'](){const _0x5aec14=_0x28bb4a;_0x15b207[_0x5aec14(0x196)](this['_injector'],[[_0x338aa0],[_0x31bd5e[_0x5aec14(0x241)]],[_0x167d24],[_0x45571b],[_0x31bd5e[_0x5aec14(0x2a7)]]]);}},_0x4118b8(_0x31bd5e[_0x28bb4a(0x9c)],_0x28bb4a(0x2ce),_0x2a3291),_0x31bd5e[_0x28bb4a(0x9c)]=_0x5ae9bd([_0x15b207[_0x28bb4a(0x1e9)](_0x3fe587[_0x28bb4a(0xb2)]),_0x480ed4(0x1,_0x241ab7['IRenderManagerService']),_0x480ed4(0x2,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x480ed4(0x3,_0x15b207[_0x28bb4a(0x160)])],_0x31bd5e[_0x28bb4a(0x9c)]);var _0x40893f=Object[_0x28bb4a(0x11a)],_0x4cea2c=(_0x1cdc6a,_0x4db142,_0x4bbdf0,_0x513649)=>{const _0x17d10b=_0x28bb4a;for(var _0x1c14c0=_0x513649>0x1?void 0x0:_0x513649?_0x40893f(_0x4db142,_0x4bbdf0):_0x4db142,_0xfd3d18=_0x1cdc6a[_0x17d10b(0x27e)]-0x1,_0x33200e;_0xfd3d18>=0x0;_0xfd3d18--)(_0x33200e=_0x1cdc6a[_0xfd3d18])&&(_0x1c14c0=_0x33200e(_0x1c14c0)||_0x1c14c0);return _0x1c14c0;},_0x113da8=(_0x5a0ebb,_0x3bf4b1)=>(_0x171bc0,_0x2b6964)=>_0x3bf4b1(_0x171bc0,_0x2b6964,_0x5a0ebb);_0x31bd5e[_0x28bb4a(0x2c1)]=class extends _0x3fe587['CollaborationSocketService']{constructor(_0x55ddef,_0x162c53,_0x335ebb,_0x475901,_0x573dfe){super(_0x55ddef,_0x162c53,_0x335ebb,_0x475901,_0x573dfe);}async[_0x28bb4a(0x235)](_0x4b8b14){const _0x2318c3=_0x28bb4a,_0x51586=await this[_0x2318c3(0x1fc)](),_0x518d45=this[_0x2318c3(0x1e1)](_0x4b8b14,_0x51586);return this['_doCreateSocket'](_0x518d45);}[_0x28bb4a(0x1e1)](_0x548476,_0x38d5dd){const _0x398c8c=_0x28bb4a,_0x2da7df=typeof window>'u'?new URL(_0x548476):new URL(_0x548476,window[_0x398c8c(0xa8)]['origin']);_0x2da7df[_0x398c8c(0x1da)][_0x398c8c(0x31b)]('sessionTicket',_0x38d5dd);const _0x43d387=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x398c8c(0xa8)][_0x398c8c(0x2b7)]);return _0x43d387[_0x398c8c(0x2ca)](_0x398c8c(0xba))&&_0x2da7df['searchParams'][_0x398c8c(0x31b)]('runId',_0x43d387['get'](_0x398c8c(0xba))),_0x2da7df['toString']();}async[_0x28bb4a(0x1fc)](){const _0x4c1c2a=_0x28bb4a;var _0x571c36,_0x5e7857,_0x4e2359;const _0xcc0a2f=this[_0x4c1c2a(0x189)][_0x4c1c2a(0x305)](_0x3fe587[_0x4c1c2a(0x1c3)]),_0x2b32aa=(_0x571c36=_0xcc0a2f==null?void 0x0:_0xcc0a2f[_0x4c1c2a(0x1d6)])!=null?_0x571c36:_0x3fe587[_0x4c1c2a(0x1f7)];return(_0x4e2359=(_0x5e7857=(await this[_0x4c1c2a(0x31e)][_0x4c1c2a(0x2ca)](_0x2b32aa,{'headers':{'Content-Type':_0x4c1c2a(0x20f)}}))['body'])==null?void 0x0:_0x5e7857['ticket'])!=null?_0x4e2359:'';}},_0x31bd5e[_0x28bb4a(0x2c1)]=_0x4cea2c([_0x113da8(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x113da8(0x1,_0x15b207[_0x28bb4a(0x99)](_0x5ba1cc[_0x28bb4a(0x299)])),_0x113da8(0x2,_0x15b207[_0x28bb4a(0x160)]),_0x113da8(0x3,_0x15b207['ILogService']),_0x113da8(0x4,_0x38de55[_0x28bb4a(0x21e)])],_0x31bd5e[_0x28bb4a(0x2c1)]);const _0x7b3628=0x7530,_0x5e0654=_0x28bb4a(0x248);class _0x35f5b9 extends _0x15b207[_0x28bb4a(0x171)]{constructor(){const _0x22dc32=_0x28bb4a;super(),_0x52ecbf(this,_0x22dc32(0x145),_0x15b207['generateRandomId']()),_0x52ecbf(this,_0x22dc32(0x119),new Set()),_0x52ecbf(this,_0x22dc32(0x222),new Map()),_0x52ecbf(this,_0x22dc32(0x31d),null),_0x52ecbf(this,_0x22dc32(0x8a),new Map()),_0x52ecbf(this,'_unitStatus',new Map()),this[_0x22dc32(0x93)]();}['dispose'](){const _0x1bfd8e=_0x28bb4a;super[_0x1bfd8e(0x152)](),this['_clearOtherTimers'][_0x1bfd8e(0x15d)]((_0x11a1fb,_0x11f120)=>this['_removeClearOtherTimer'](_0x11f120)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x28bb4a(0x154)](_0x4b5786){const _0x4db2a3=_0x28bb4a;return this[_0x4db2a3(0x170)](_0x4b5786)[_0x4db2a3(0x150)](_0x548118[_0x4db2a3(0x2ad)]());}[_0x28bb4a(0x1e5)](_0x41a046){const _0x6f0c79=_0x28bb4a;this[_0x6f0c79(0x119)][_0x6f0c79(0x19f)]===0x0&&this[_0x6f0c79(0x28f)](),this['_selfUnitIDs']['add'](_0x41a046),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x41a046],'isForwarded':!0x1});}[_0x28bb4a(0x12c)](_0x23220c){const _0x27ffc6=_0x28bb4a;this[_0x27ffc6(0x119)][_0x27ffc6(0x260)](_0x23220c),this[_0x27ffc6(0x119)]['size']===0x0&&this[_0x27ffc6(0x31d)]&&window[_0x27ffc6(0x197)](this[_0x27ffc6(0x31d)]);}[_0x28bb4a(0x93)](){const _0x1bc340=_0x28bb4a;this[_0x1bc340(0x280)](_0x15b207['toDisposable'](_0x548118[_0x1bc340(0x271)](window,_0x1bc340(0x27c))[_0x1bc340(0xa7)](_0x192545=>{const _0x3726b3=_0x1bc340;if(_0x192545[_0x3726b3(0x2ee)]!==_0x5e0654||!_0x192545[_0x3726b3(0x249)])return;const _0x244bf5=JSON['parse'](_0x192545['newValue']);this[_0x3726b3(0x141)](_0x244bf5);}))),window[_0x1bc340(0xa0)](_0x1bc340(0x1a9),()=>this[_0x1bc340(0x1c8)]({'type':0x1,'memberID':this[_0x1bc340(0x145)],'unitIDs':Array[_0x1bc340(0x217)](this[_0x1bc340(0x119)])}));}[_0x28bb4a(0x141)](_0x406803){const _0x1b9a4e=_0x28bb4a;switch(_0x406803[_0x1b9a4e(0x172)]){case 0x0:this['_handleJoinEvent'](_0x406803);break;case 0x1:this[_0x1b9a4e(0x90)](_0x406803);break;case 0x2:this['_handleHeartbeatEvent'](_0x406803);break;}}[_0x28bb4a(0x20a)](_0x2a9f0a){const _0x1bccf7=_0x28bb4a,{unitIDs:_0x1960de,memberID:_0x431e40,isForwarded:_0x1ee7d2}=_0x2a9f0a;_0x1960de[_0x1bccf7(0x15d)](_0xab53b3=>{const _0x288845=_0x1bccf7;if(!_0x1ee7d2&&this[_0x288845(0x222)][_0x288845(0x2e9)](_0xab53b3)&&this['_ensureSubject'](_0xab53b3)[_0x288845(0x225)](_0x3fe587[_0x288845(0x165)][_0x288845(0xc0)]),!this[_0x288845(0x222)][_0x288845(0x2e9)](_0xab53b3)||!this[_0x288845(0x222)][_0x288845(0x2ca)](_0xab53b3)[_0x288845(0x2e9)](_0x431e40)){const _0xac8537=this[_0x288845(0x222)][_0x288845(0x2ca)](_0xab53b3)||new Set();_0xac8537[_0x288845(0xce)](_0x431e40),this[_0x288845(0x222)][_0x288845(0x31b)](_0xab53b3,_0xac8537),this[_0x288845(0xbd)](_0x431e40);}}),_0x1ee7d2||this[_0x1bccf7(0x1c8)]({'type':0x0,'memberID':this[_0x1bccf7(0x145)],'unitIDs':[...this[_0x1bccf7(0x119)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x159477){const _0x4602d7=_0x28bb4a;this[_0x4602d7(0x163)](_0x159477);const _0x5c0fbf=window[_0x4602d7(0xd9)](()=>{this['_unitOnClients']['forEach'](_0x25f123=>{const _0x1f8074=_0x57fc;_0x25f123[_0x1f8074(0x260)](_0x159477);});},_0x7b3628*0x2);this['_clearOtherTimers'][_0x4602d7(0x31b)](_0x159477,_0x5c0fbf);}[_0x28bb4a(0x163)](_0x4b22b1){const _0x5c7e3c=_0x28bb4a;if(this[_0x5c7e3c(0x8a)][_0x5c7e3c(0x2e9)](_0x4b22b1)){const _0x3a6007=this[_0x5c7e3c(0x8a)]['get'](_0x4b22b1);_0x3a6007&&window[_0x5c7e3c(0x1d3)](_0x3a6007),this[_0x5c7e3c(0x8a)][_0x5c7e3c(0x31b)](_0x4b22b1,null);}}['_handleLeaveEvent'](_0x1291c5){const _0x274d89=_0x28bb4a,{memberID:_0x573838,unitIDs:_0x5b1f14}=_0x1291c5;_0x5b1f14[_0x274d89(0x15d)](_0x77aebb=>{const _0x56422b=_0x274d89;var _0x538dfd;const _0x3cc7db=this[_0x56422b(0x222)][_0x56422b(0x2ca)](_0x77aebb);_0x3cc7db&&(_0x3cc7db[_0x56422b(0x260)](_0x573838),(_0x538dfd=this[_0x56422b(0x170)](_0x77aebb))==null||_0x538dfd[_0x56422b(0x225)](_0x3cc7db[_0x56422b(0x19f)]===0x0?_0x3fe587[_0x56422b(0x165)][_0x56422b(0x16b)]:_0x3fe587[_0x56422b(0x165)][_0x56422b(0xc0)]));}),this[_0x274d89(0x163)](_0x573838);}[_0x28bb4a(0x26a)](_0x4be8be){const _0x2e2182=_0x28bb4a;this['_scheduleClearOtherTimer'](_0x4be8be[_0x2e2182(0x143)]);}[_0x28bb4a(0x1c8)](_0x279431){const _0x31b813=_0x28bb4a;localStorage[_0x31b813(0xdb)](_0x5e0654,JSON[_0x31b813(0x1e6)](_0x279431));}[_0x28bb4a(0x28f)](){const _0x582356=_0x28bb4a;this[_0x582356(0x31d)]=window[_0x582356(0x2aa)](()=>{const _0x5a6c74=_0x582356;this[_0x5a6c74(0x1c8)]({'type':0x2,'memberID':this[_0x5a6c74(0x145)]});},_0x7b3628);}['_ensureSubject'](_0x416aed){const _0x5ea70b=_0x28bb4a;return this[_0x5ea70b(0x224)][_0x5ea70b(0x2e9)](_0x416aed)||this[_0x5ea70b(0x224)][_0x5ea70b(0x31b)](_0x416aed,new _0x548118[(_0x5ea70b(0x1bb))](_0x3fe587['UnitStatus'][_0x5ea70b(0x16b)])),this[_0x5ea70b(0x224)][_0x5ea70b(0x2ca)](_0x416aed);}}var _0x405505=(_0x162bbd=>(_0x162bbd[_0x162bbd[_0x28bb4a(0x187)]=0x0]=_0x28bb4a(0x187),_0x162bbd[_0x162bbd['OK']=0x1]='OK',_0x162bbd[_0x162bbd[_0x28bb4a(0x167)]=0x2]=_0x28bb4a(0x167),_0x162bbd[_0x162bbd['PERMISSION_DENIED']=0x3]=_0x28bb4a(0x107),_0x162bbd[_0x162bbd[_0x28bb4a(0x15b)]=0x4]=_0x28bb4a(0x15b),_0x162bbd[_0x162bbd['UNAUTHENTICATED']=0x5]=_0x28bb4a(0x1c9),_0x162bbd[_0x162bbd[_0x28bb4a(0x18f)]=0x6]=_0x28bb4a(0x18f),_0x162bbd[_0x162bbd[_0x28bb4a(0xf6)]=0x7]=_0x28bb4a(0xf6),_0x162bbd[_0x162bbd[_0x28bb4a(0x159)]=0x8]='TOO_MANY_REQUESTS',_0x162bbd[_0x162bbd['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162bbd[_0x162bbd['LOGIN_FAILED']=0xa]=_0x28bb4a(0x191),_0x162bbd[_0x162bbd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28bb4a(0xf3),_0x162bbd[_0x162bbd[_0x28bb4a(0x2ea)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x162bbd[_0x162bbd[_0x28bb4a(0x1cd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162bbd[_0x162bbd[_0x28bb4a(0x15c)]=0x1773]=_0x28bb4a(0x15c),_0x162bbd[_0x162bbd['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162bbd[_0x162bbd[_0x28bb4a(0x207)]=0x1b5a]=_0x28bb4a(0x207),_0x162bbd[_0x162bbd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162bbd[_0x162bbd[_0x28bb4a(0x193)]=0x1b5c]=_0x28bb4a(0x193),_0x162bbd[_0x162bbd[_0x28bb4a(0x2d8)]=0x1b5d]='APPLY_DUPLICATED',_0x162bbd[_0x162bbd[_0x28bb4a(0x194)]=0x1f41]=_0x28bb4a(0x194),_0x162bbd[_0x162bbd[_0x28bb4a(0xb5)]=0x2329]=_0x28bb4a(0xb5),_0x162bbd[_0x162bbd[_0x28bb4a(0x14d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x162bbd[_0x162bbd[_0x28bb4a(0xe6)]=0x232b]=_0x28bb4a(0xe6),_0x162bbd[_0x162bbd[_0x28bb4a(0x246)]=0x232c]=_0x28bb4a(0x246),_0x162bbd[_0x162bbd[_0x28bb4a(0x1c1)]=0x232d]=_0x28bb4a(0x1c1),_0x162bbd[_0x162bbd[_0x28bb4a(0x1c0)]=0x2711]=_0x28bb4a(0x1c0),_0x162bbd[_0x162bbd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x28bb4a(0x106),_0x162bbd[_0x162bbd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28bb4a(0x318),_0x162bbd[_0x162bbd[_0x28bb4a(0x20e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x162bbd[_0x162bbd[_0x28bb4a(0xf4)]=0x2af9]=_0x28bb4a(0xf4),_0x162bbd[_0x162bbd[_0x28bb4a(0x1b8)]=0x2ee1]=_0x28bb4a(0x1b8),_0x162bbd[_0x162bbd[_0x28bb4a(0xd3)]=0x2ee2]='INVALID_INVITE_CODE',_0x162bbd[_0x162bbd[_0x28bb4a(0x17e)]=0x2ee3]=_0x28bb4a(0x17e),_0x162bbd[_0x162bbd[_0x28bb4a(0x273)]=0x2ee4]=_0x28bb4a(0x273),_0x162bbd[_0x162bbd[_0x28bb4a(0x12e)]=0x2ee5]=_0x28bb4a(0x12e),_0x162bbd[_0x162bbd[_0x28bb4a(0x1df)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x162bbd[_0x162bbd[_0x28bb4a(0x2f3)]=0x32ca]=_0x28bb4a(0x2f3),_0x162bbd[_0x162bbd[_0x28bb4a(0x151)]=0x32cb]=_0x28bb4a(0x151),_0x162bbd[_0x162bbd[_0x28bb4a(0x1b9)]=-0x1]=_0x28bb4a(0x1b9),_0x162bbd))(_0x405505||{}),_0x592544=Object[_0x28bb4a(0x11a)],_0x1e0590=(_0x17e5ad,_0x490990,_0x49341b,_0x1cee98)=>{const _0x18a44f=_0x28bb4a;for(var _0x46cd72=_0x1cee98>0x1?void 0x0:_0x1cee98?_0x592544(_0x490990,_0x49341b):_0x490990,_0x32c7fa=_0x17e5ad[_0x18a44f(0x27e)]-0x1,_0x15cf05;_0x32c7fa>=0x0;_0x32c7fa--)(_0x15cf05=_0x17e5ad[_0x32c7fa])&&(_0x46cd72=_0x15cf05(_0x46cd72)||_0x46cd72);return _0x46cd72;},_0x4d7795=(_0x33258a,_0x1cfdd1)=>(_0x166b81,_0x17e922)=>_0x1cfdd1(_0x166b81,_0x17e922,_0x33258a);_0x31bd5e[_0x28bb4a(0x17f)]=class extends _0x15b207['Disposable']{constructor(_0x5f0f0c,_0x119e0a,_0x1ee832){const _0x2773f4=_0x28bb4a;super(),this[_0x2773f4(0x250)]=_0x5f0f0c,this[_0x2773f4(0x31e)]=_0x119e0a,this['_configService']=_0x1ee832;}async[_0x28bb4a(0x11e)](_0x517831,_0x231f2d,_0x425358,..._0x3472aa){const _0x4d4fe9=_0x28bb4a;var _0x1aef80,_0x11fb8b,_0x1fb9ba,_0x129488;const _0x1925d8=this[_0x4d4fe9(0x250)][_0x4d4fe9(0xcc)]();if(!_0x1925d8)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x22c37a=((_0x1aef80=this[_0x4d4fe9(0x189)][_0x4d4fe9(0x305)](_0x3fe587[_0x4d4fe9(0x282)]))!=null?_0x1aef80:_0x3fe587[_0x4d4fe9(0x2c3)])+'/'+_0x517831+_0x4d4fe9(0x1a8)+_0x231f2d,_0x53cdb3=new URL(window[_0x4d4fe9(0xa8)][_0x4d4fe9(0xfc)]),_0x217706={'scriptId':_0x517831,'runId':(_0x11fb8b=_0x53cdb3['searchParams'][_0x4d4fe9(0x2ca)]('runId'))!=null?_0x11fb8b:'','function':_0x231f2d,'unitId':_0x1925d8[_0x4d4fe9(0x220)](),'argsOfFunction':JSON[_0x4d4fe9(0x1e6)](_0x3472aa),'invokeId':(_0x1fb9ba=_0x425358[_0x4d4fe9(0x146)])!=null?_0x1fb9ba:'','executionId':(_0x129488=_0x425358[_0x4d4fe9(0x14a)])!=null?_0x129488:''};try{const _0x48d43c=await this[_0x4d4fe9(0x31e)][_0x4d4fe9(0x236)](_0x22c37a,{'body':_0x217706});return _0x48d43c[_0x4d4fe9(0xbb)]['error']&&_0x48d43c['body']['error'][_0x4d4fe9(0x2d9)]!==_0x405505['OK']?_0x4d4fe9(0x230):_0x48d43c['body']['result'];}catch{return'Failed';}}},_0x31bd5e['RemoteUniscriptService']=_0x1e0590([_0x4d7795(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x4d7795(0x1,_0x15b207[_0x28bb4a(0x99)](_0x5ba1cc[_0x28bb4a(0x299)])),_0x4d7795(0x2,_0x15b207[_0x28bb4a(0x160)])],_0x31bd5e[_0x28bb4a(0x17f)]),_0x31bd5e[_0x28bb4a(0x1dc)]=_0x184ea2,_0x31bd5e[_0x28bb4a(0xbe)]=_0x5e67ee,_0x31bd5e['SheetCollabCursorShape']=_0x2dea2d,_0x31bd5e['WebBrowserSingleActiveUnitService']=_0x35f5b9,_0x31bd5e[_0x28bb4a(0x1ff)]=_0x29d59a,Object['defineProperty'](_0x31bd5e,Symbol[_0x28bb4a(0x307)],{'value':'Module'});}));