@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506061607 → 0.8.0-nightly.202506071606
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x332437,_0x254834){const _0x3bb36a=_0x10ca,_0x2693d1=_0x332437();while(!![]){try{const _0x3bf9e2=parseInt(_0x3bb36a(0x89))/0x1+-parseInt(_0x3bb36a(0x286))/0x2+parseInt(_0x3bb36a(0x21e))/0x3+-parseInt(_0x3bb36a(0xba))/0x4+-parseInt(_0x3bb36a(0xea))/0x5*(parseInt(_0x3bb36a(0x16d))/0x6)+-parseInt(_0x3bb36a(0xf6))/0x7+parseInt(_0x3bb36a(0x136))/0x8;if(_0x3bf9e2===_0x254834)break;else _0x2693d1['push'](_0x2693d1['shift']());}catch(_0xe67d04){_0x2693d1['push'](_0x2693d1['shift']());}}}(_0x3087,0x18cbd),function(_0x5a7dd7,_0x2207ab){const _0x4e3205=_0x10ca;typeof exports=='object'&&typeof module<'u'?_0x2207ab(exports,require(_0x4e3205(0x1a2)),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x4e3205(0xa0)),require(_0x4e3205(0x22e)),require(_0x4e3205(0x16b)),require(_0x4e3205(0x1f3)),require(_0x4e3205(0x118)),require(_0x4e3205(0x114)),require(_0x4e3205(0x1be)),require(_0x4e3205(0x15d)),require(_0x4e3205(0x104)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x4e3205(0x135)),require(_0x4e3205(0xf3)),require('@univerjs/rpc')):typeof define=='function'&&define['amd']?define([_0x4e3205(0x8d),_0x4e3205(0x1a2),_0x4e3205(0x2f4),_0x4e3205(0x284),_0x4e3205(0x254),_0x4e3205(0xa0),'@univerjs/drawing',_0x4e3205(0x16b),'@univerjs/docs','@univerjs-pro/collaboration',_0x4e3205(0x114),_0x4e3205(0x1be),_0x4e3205(0x15d),_0x4e3205(0x104),_0x4e3205(0x1b5),_0x4e3205(0xf1),_0x4e3205(0x135),_0x4e3205(0xf3),_0x4e3205(0x1f9)],_0x2207ab):(_0x5a7dd7=typeof globalThis<'u'?globalThis:_0x5a7dd7||self,_0x2207ab(_0x5a7dd7[_0x4e3205(0x111)]={},_0x5a7dd7[_0x4e3205(0x11f)],_0x5a7dd7[_0x4e3205(0xc8)],_0x5a7dd7[_0x4e3205(0x2d7)],_0x5a7dd7[_0x4e3205(0x18a)],_0x5a7dd7[_0x4e3205(0x12a)],_0x5a7dd7[_0x4e3205(0x23c)],_0x5a7dd7['rxjs'],_0x5a7dd7[_0x4e3205(0x2a9)],_0x5a7dd7['UniverProCollaboration'],_0x5a7dd7[_0x4e3205(0x191)],_0x5a7dd7[_0x4e3205(0x2af)],_0x5a7dd7['rxjs']['operators'],_0x5a7dd7['UniverSheetsUi'],_0x5a7dd7[_0x4e3205(0xc6)],_0x5a7dd7[_0x4e3205(0x1bb)],_0x5a7dd7[_0x4e3205(0x149)],_0x5a7dd7[_0x4e3205(0xc6)],_0x5a7dd7['UniverRpc']));}(this,function(_0x3e697f,_0xe14e,_0x23c5c6,_0x112879,_0x4e0660,_0x1f875c,_0x69963,_0xb82969,_0x20283b,_0x17be28,_0x59f94d,_0x3b49ce,_0x15e5b5,_0x2562e9,_0x9e75b8,_0x4c9765,_0x4f07b6,_0x7521d1,_0x49a16d){'use strict';const _0x401f20=_0x10ca;var _0x2d901b=Object['defineProperty'],_0x2f2768=(_0x2fe8d9,_0x382074,_0x483d2d)=>_0x382074 in _0x2fe8d9?_0x2d901b(_0x2fe8d9,_0x382074,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x483d2d}):_0x2fe8d9[_0x382074]=_0x483d2d,_0x1fcf73=(_0x1d77ea,_0x14a53b,_0x5d801f)=>_0x2f2768(_0x1d77ea,typeof _0x14a53b!=_0x401f20(0x253)?_0x14a53b+'':_0x14a53b,_0x5d801f),_0x28cb5a=Object[_0x401f20(0x2e6)],_0x9bc2a6=(_0xabb5a6,_0x5a263e,_0x22d2ac,_0x2bb20b)=>{const _0x530b1c=_0x401f20;for(var _0x159020=_0x2bb20b>0x1?void 0x0:_0x2bb20b?_0x28cb5a(_0x5a263e,_0x22d2ac):_0x5a263e,_0x303fe9=_0xabb5a6[_0x530b1c(0x2c4)]-0x1,_0x203bbb;_0x303fe9>=0x0;_0x303fe9--)(_0x203bbb=_0xabb5a6[_0x303fe9])&&(_0x159020=_0x203bbb(_0x159020)||_0x159020);return _0x159020;},_0x2560d8=(_0x4f90e3,_0x4b03e6)=>(_0x4228ad,_0x3db1b1)=>_0x4b03e6(_0x4228ad,_0x3db1b1,_0x4f90e3);let _0x98f6c6=class extends _0x23c5c6['RxDisposable']{constructor(_0x217319,_0x52660e){const _0x3de731=_0x401f20;super(),this[_0x3de731(0x14e)]=_0x217319,this['_imageIoService']=_0x52660e,this[_0x3de731(0x153)]();}[_0x401f20(0x153)](){const _0x2deba3=_0x401f20,_0x502407=this;this['disposeWithMe'](this[_0x2deba3(0x14e)]['addClipboardHook']({'onBeforePasteImage':async _0x3b5b46=>{const _0x32f7ac=_0x2deba3,_0x17363c=await _0x502407[_0x32f7ac(0x137)][_0x32f7ac(0x299)](_0x3b5b46);return _0x17363c?{'source':_0x17363c['source'],'imageSourceType':_0x17363c[_0x32f7ac(0x151)]}:null;}}));}};_0x98f6c6=_0x9bc2a6([_0x2560d8(0x0,_0x1f875c[_0x401f20(0x218)]),_0x2560d8(0x1,_0x69963['IImageIoService'])],_0x98f6c6);const _0x247bba=['purple.300','jiqing.500',_0x401f20(0x1e9),_0x401f20(0x1b4),'blue.400',_0x401f20(0x1fa)];class _0x1568d7 extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(){const _0x25b3d1=_0x401f20;super(...arguments),_0x1fcf73(this,_0x25b3d1(0xe7),new Map()),_0x1fcf73(this,_0x25b3d1(0x222),0x0);}[_0x401f20(0x9d)](_0x2d6c2c){const _0x41e969=_0x401f20;if(this[_0x41e969(0xe7)][_0x41e969(0x1bd)](_0x2d6c2c))return this[_0x41e969(0xe7)][_0x41e969(0x150)](_0x2d6c2c);const _0x1fbd96=_0x247bba[this[_0x41e969(0x222)]];return this[_0x41e969(0x222)]=(this['_colorIndex']+0x1)%_0x247bba[_0x41e969(0x2c4)],this[_0x41e969(0xe7)][_0x41e969(0xa1)](_0x2d6c2c,_0x1fbd96),_0x1fbd96;}}function _0x409109(_0x88dd77){const _0x210bea=_0x401f20;let _0x52319d='';for(const _0x5103fd of _0x88dd77){const {startOffset:_0x121671,endOffset:_0x3305c4,isActive:_0x3b00fd,rangeType:_0x2acc6e,segmentId:_0xc795a5,segmentPage:_0x23852c}=_0x5103fd;_0x52319d[_0x210bea(0x2c4)]&&(_0x52319d+=','),_0x52319d+=_0x121671+':'+_0x3305c4+':'+(_0x3b00fd?'1':'0')+':'+_0x2acc6e+':'+_0xc795a5+':'+_0x23852c;}return _0x52319d;}function _0x5ef98a(_0x2b7425){const _0x3cb62c=_0x401f20,_0xa44217=_0x2b7425[_0x3cb62c(0x10d)](','),_0x56db71=[];for(const _0xcd1aaf of _0xa44217){const [_0x237eae,_0x2570f5,_0x3955f2,_0x944616,_0x3bf662,_0xc485c3]=_0xcd1aaf[_0x3cb62c(0x10d)](':');_0x56db71[_0x3cb62c(0x1b0)]({'startOffset':Number(_0x237eae),'endOffset':Number(_0x2570f5),'collapsed':_0x237eae===_0x2570f5,'isActive':_0x3955f2==='1','rangeType':_0x944616===_0x23c5c6[_0x3cb62c(0x90)][_0x3cb62c(0x139)]?_0x23c5c6[_0x3cb62c(0x90)]['TEXT']:_0x23c5c6[_0x3cb62c(0x90)][_0x3cb62c(0x1c5)],'segmentId':typeof _0x3bf662=='string'?String(_0x3bf662):'','segmentPage':Number(_0xc485c3!=null?_0xc485c3:-0x1)});}return _0x56db71[_0x3cb62c(0x2a1)](_0x16bb21=>_0x16bb21[_0x3cb62c(0x24a)])||(_0x56db71[0x0]['isActive']=!0x0),_0x56db71;}class _0x302224 extends _0x23c5c6[_0x401f20(0x143)]{constructor(){const _0x75be53=_0x401f20;super(...arguments),_0x1fcf73(this,'_collabCursorState$',new _0xb82969[(_0x75be53(0x23b))](null)),_0x1fcf73(this,'collabCursorState$',this['_collabCursorState$'][_0x75be53(0x196)]());}['syncEditingCollabCursor'](_0x1ac262){const _0x500fa1=_0x401f20,{unitID:_0x701f19,memberID:_0x3d7bbe,textRanges:_0x438c37}=_0x1ac262,_0x307114=_0x409109(_0x438c37);if(_0x307114==='')return;const _0x4f7fa5={'unitID':_0x701f19,'memberID':_0x3d7bbe,'selection':_0x307114};this[_0x500fa1(0x2f3)]['next'](_0x4f7fa5);}}var _0x2f1d32=Object[_0x401f20(0x2e6)],_0x3dfa60=(_0x2784e6,_0x2707e5,_0x584c40,_0x2376c7)=>{const _0x4b4c14=_0x401f20;for(var _0x20c6a6=_0x2376c7>0x1?void 0x0:_0x2376c7?_0x2f1d32(_0x2707e5,_0x584c40):_0x2707e5,_0x59eaa5=_0x2784e6[_0x4b4c14(0x2c4)]-0x1,_0x154cdf;_0x59eaa5>=0x0;_0x59eaa5--)(_0x154cdf=_0x2784e6[_0x59eaa5])&&(_0x20c6a6=_0x154cdf(_0x20c6a6)||_0x20c6a6);return _0x20c6a6;},_0x5a764c=(_0xecf537,_0x34d760)=>(_0x467056,_0x43c806)=>_0x34d760(_0x467056,_0x43c806,_0xecf537);const _0x41b7fb=0x12c,_0x381add=0x64;let _0x4bbd88=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0x185ba1,_0x2efcbf,_0x52c095,_0x49918a,_0x456cb7,_0x539e51,_0x34eaf6,_0x3055f0,_0x2337e5){const _0x7c7943=_0x401f20;super(),_0x1fcf73(this,_0x7c7943(0x141),!0x1),_0x1fcf73(this,'_init',!0x1),_0x1fcf73(this,_0x7c7943(0x221),new _0xb82969['BehaviorSubject'](new Map())),_0x1fcf73(this,_0x7c7943(0x2ad),this['_cursorInfo$'][_0x7c7943(0x196)]()),_0x1fcf73(this,_0x7c7943(0x25d),new _0xb82969[(_0x7c7943(0x23b))]([])),_0x1fcf73(this,_0x7c7943(0x1c1),this['_roomMembers$'][_0x7c7943(0xb9)](_0xb82969['debounceTime'](_0x41b7fb))),_0x1fcf73(this,'_updateLocalCursor',_0x23c5c6[_0x7c7943(0xcc)](_0x31d642=>{const _0x5807e0=_0x7c7943,_0x3ec494={'eventID':_0x17be28[_0x5807e0(0x30a)][_0x5807e0(0x2eb)],'data':{'unitID':this[_0x5807e0(0xcf)],'memberID':this[_0x5807e0(0x2bb)][_0x5807e0(0x92)](),'selection':_0x409109(_0x31d642)}};this['_session'][_0x5807e0(0x260)](_0x3ec494,this[_0x5807e0(0xcf)]);},_0x381add)),(this['unitID']=_0x185ba1,this[_0x7c7943(0x2bb)]=_0x2efcbf,this[_0x7c7943(0x217)]=_0x52c095,this[_0x7c7943(0x95)]=_0x49918a,this[_0x7c7943(0x20f)]=_0x456cb7,this[_0x7c7943(0x1c3)]=_0x539e51,this[_0x7c7943(0x2cb)]=_0x34eaf6,this['_univerInstanceService']=_0x3055f0,this[_0x7c7943(0x9f)]=_0x2337e5);}get[_0x401f20(0x24c)](){const _0x46dc9c=_0x401f20;return this[_0x46dc9c(0x221)]['getValue']();}get[_0x401f20(0x11a)](){const _0x4af175=_0x401f20;return this['_roomMembers$'][_0x4af175(0x1e1)]();}['dispose'](){const _0x14d65f=_0x401f20;super[_0x14d65f(0x2b1)](),this[_0x14d65f(0x221)][_0x14d65f(0x29d)](new Map()),this[_0x14d65f(0x221)][_0x14d65f(0xc7)](),this[_0x14d65f(0x25d)][_0x14d65f(0x29d)]([]),this[_0x14d65f(0x25d)][_0x14d65f(0xc7)]();}[_0x401f20(0x1ea)](){const _0x5d2955=_0x401f20;this[_0x5d2955(0x153)]||(this['_init']=!0x0,this[_0x5d2955(0x2bb)]['sessionStatus$'][_0x5d2955(0xb9)](_0xb82969[_0x5d2955(0x310)](this['dispose$']))[_0x5d2955(0x1bc)](_0x4fd477=>{const _0x106ce0=_0x5d2955;_0x4fd477===_0xe14e[_0x106ce0(0x207)][_0x106ce0(0x99)]?this[_0x106ce0(0x214)]():this[_0x106ce0(0x2ff)]();}),this[_0x5d2955(0x2bb)]['event$'][_0x5d2955(0xb9)](_0xb82969[_0x5d2955(0x310)](this[_0x5d2955(0x25e)]))[_0x5d2955(0x1bc)](_0x50eba7=>{const _0x3306d9=_0x5d2955,_0x2f5714=_0x50eba7[_0x3306d9(0x18d)];_0x2f5714===_0x17be28[_0x3306d9(0x30a)][_0x3306d9(0x2eb)]&&this['_onCursorUpdate'](_0x50eba7),_0x2f5714===_0x17be28['CollaborationEvent'][_0x3306d9(0x28f)]&&this[_0x3306d9(0x26b)](_0x50eba7);}),this['disposeWithMe'](this[_0x5d2955(0x9f)]['onCommandExecuted'](_0x11927b=>{const _0x23a534=_0x5d2955,_0xbfea46=_0x11927b[_0x23a534(0x1cf)];_0xbfea46!=null&&this[_0x23a534(0x141)]&&_0x11927b['id']===_0x20283b['SetTextSelectionsOperation']['id']&&_0xbfea46['unitId']===this['unitID']&&_0xbfea46[_0x23a534(0x108)]===!0x1&&_0xbfea46[_0x23a534(0x187)]['length']>0x0&&this['_updateLocalCursor'](_0xbfea46[_0x23a534(0x187)]);})),this[_0x5d2955(0x1c3)]['collabCursorState$'][_0x5d2955(0xb9)](_0xb82969['takeUntil'](this['dispose$']))['subscribe'](_0x4d910c=>{const _0x3b37cb=_0x5d2955;if((_0x4d910c==null?void 0x0:_0x4d910c[_0x3b37cb(0xcf)])!==this[_0x3b37cb(0xcf)])return;const _0x4a3248={'eventID':_0x17be28['CollaborationEvent'][_0x3b37cb(0x2eb)],'data':_0x4d910c};this[_0x3b37cb(0x17b)](_0x4a3248);}),this[_0x5d2955(0x164)](this['_commandService'][_0x5d2955(0x18b)](_0xb35596=>{const _0x5f524a=_0x5d2955;if(_0xb35596['params']==null)return;const _0x19dd00=_0xb35596['params'];if(_0xb35596['id']!==_0x20283b['RichTextEditingMutation']['id']||_0x19dd00[_0x5f524a(0x21a)]!==this['unitID'])return;const _0x426dfb={'id':'doc.mutation.rich-text-editing','params':_0x19dd00},_0x46e5c8=this[_0x5f524a(0x24c)];for(const [_0x1a3250,_0x36c4c1]of _0x46e5c8){const _0x1d2f61={'id':_0x5f524a(0x22d),'params':{'unitId':this[_0x5f524a(0xcf)],'actions':null,'textRanges':_0x36c4c1[_0x5f524a(0x187)]}},_0x30def9=this[_0x5f524a(0x2cb)][_0x5f524a(0x223)](_0x426dfb,_0x1d2f61,!0x1);if(_0x17be28[_0x5f524a(0xf4)](_0x30def9))throw _0x30def9['error'];_0x46e5c8[_0x5f524a(0xa1)](_0x1a3250,{..._0x36c4c1,'ranges':_0x30def9[_0x5f524a(0x249)]['params'][_0x5f524a(0x1df)]});}queueMicrotask(()=>{const _0x29d535=_0x5f524a;this['_cursorInfo$'][_0x29d535(0x29d)](_0x46e5c8);});})));}[_0x401f20(0x17b)](_0x5d8556){const _0x4cebed=_0x401f20;var _0x2a67e8,_0x1c09d1;const {memberID:_0x1f8783,selection:_0x21cba6}=_0x5d8556[_0x4cebed(0x2a5)],_0x46532e=_0x5ef98a(_0x21cba6),_0x5269b8=(_0x1c09d1=(_0x2a67e8=this[_0x4cebed(0x20f)]['getMember'](this[_0x4cebed(0xcf)],_0x1f8783))==null?void 0x0:_0x2a67e8['name'])!=null?_0x1c09d1:_0x4cebed(0x14b),_0x59faf2={'color':this[_0x4cebed(0x95)][_0x4cebed(0x9d)](_0x1f8783),'name':_0x5269b8,'ranges':_0x46532e},_0x11fdab=this[_0x4cebed(0x24c)];_0x11fdab['set'](_0x1f8783,_0x59faf2),this[_0x4cebed(0x221)][_0x4cebed(0x29d)](_0x11fdab);}['_onCursorDelete'](_0x2653c2){const _0x4b5fe9=_0x401f20,{memberID:_0x4b72d3}=_0x2653c2[_0x4b5fe9(0x2a5)],_0x15c9e8=this[_0x4b5fe9(0x24c)];_0x15c9e8['delete'](_0x4b72d3),this[_0x4b5fe9(0x221)][_0x4b5fe9(0x29d)](_0x15c9e8);}[_0x401f20(0x214)](){const _0x1daed0=_0x401f20;var _0x31ac69;if(this[_0x1daed0(0x141)]=!0x0,((_0x31ac69=this[_0x1daed0(0x27e)][_0x1daed0(0x248)]())==null?void 0x0:_0x31ac69[_0x1daed0(0xf9)]())!==this['unitID'])return;const _0x3deeb8=this[_0x1daed0(0x217)][_0x1daed0(0x150)](_0x20283b[_0x1daed0(0x300)])[_0x1daed0(0x17a)]();Array[_0x1daed0(0x29e)](_0x3deeb8)&&_0x3deeb8['length']>0x0&&this[_0x1daed0(0xad)](_0x3deeb8);}[_0x401f20(0x2ff)](){const _0x2e1d0c=_0x401f20;this[_0x2e1d0c(0x141)]=!0x1;}};_0x4bbd88=_0x3dfa60([_0x5a764c(0x2,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x5a764c(0x3,_0x23c5c6[_0x401f20(0x12e)](_0x1568d7)),_0x5a764c(0x4,_0x23c5c6[_0x401f20(0x12e)](_0xe14e['MemberService'])),_0x5a764c(0x5,_0x23c5c6['Inject'](_0x302224)),_0x5a764c(0x6,_0x17be28[_0x401f20(0x29b)]),_0x5a764c(0x7,_0x23c5c6[_0x401f20(0x2b6)]),_0x5a764c(0x8,_0x23c5c6[_0x401f20(0x30c)])],_0x4bbd88);var _0x36a9c7=Object['getOwnPropertyDescriptor'],_0xa1f53f=(_0x30a32b,_0x321b15,_0x5df1ee,_0x528e9a)=>{const _0x4c3476=_0x401f20;for(var _0x43bf4e=_0x528e9a>0x1?void 0x0:_0x528e9a?_0x36a9c7(_0x321b15,_0x5df1ee):_0x321b15,_0x41d432=_0x30a32b[_0x4c3476(0x2c4)]-0x1,_0x4bb0e5;_0x41d432>=0x0;_0x41d432--)(_0x4bb0e5=_0x30a32b[_0x41d432])&&(_0x43bf4e=_0x4bb0e5(_0x43bf4e)||_0x43bf4e);return _0x43bf4e;},_0x19b74d=(_0x52c0ac,_0x365719)=>(_0x536711,_0x23f84a)=>_0x365719(_0x536711,_0x23f84a,_0x52c0ac);const _0x534959=0x12c,_0x47747a=0x64,_0x262ecc=()=>{let _0x58e257=[],_0x5f3578=!0x1;return _0x156381=>{const _0x2cddd8=_0x10ca;_0x58e257[_0x2cddd8(0x1b0)](_0x156381),_0x5f3578||(_0x5f3578=!0x0,setTimeout(()=>{const _0x2a7cb7=_0x2cddd8;_0x58e257[_0x2a7cb7(0x122)](_0x2ac691=>_0x2ac691()),_0x58e257=[],_0x5f3578=!0x1;}));};};let _0x2d7a73=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0xc5cca4,_0x16f43a,_0x103724,_0x39541e,_0x1ce00c,_0x5c88b8,_0x49c1de,_0x265395){const _0x26bde5=_0x401f20;super(),_0x1fcf73(this,_0x26bde5(0x141),!0x1),_0x1fcf73(this,_0x26bde5(0x153),!0x1),_0x1fcf73(this,'_cursorInfo$',new _0xb82969[(_0x26bde5(0x23b))](new Map())),_0x1fcf73(this,'cursorInfo$',this[_0x26bde5(0x221)][_0x26bde5(0x196)]()),_0x1fcf73(this,_0x26bde5(0x25d),new _0xb82969[(_0x26bde5(0x23b))]([])),_0x1fcf73(this,_0x26bde5(0x1c1),this['_roomMembers$'][_0x26bde5(0xb9)](_0xb82969['debounceTime'](_0x534959))),_0x1fcf73(this,_0x26bde5(0xad),_0x23c5c6[_0x26bde5(0xcc)]((_0x2b3006,_0x210527)=>{const _0x468278=_0x26bde5,_0x3ee524={'eventID':_0x17be28['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x468278(0x92)](),'selection':_0x59f94d[_0x468278(0x2ae)](_0x2b3006,_0x210527[_0x468278(0x86)])}};this[_0x468278(0x2bb)][_0x468278(0x260)](_0x3ee524,this['unitID']);},_0x47747a)),(this[_0x26bde5(0xcf)]=_0xc5cca4,this[_0x26bde5(0x2bb)]=_0x16f43a,this[_0x26bde5(0x217)]=_0x103724,this['_colorAssignService']=_0x39541e,this[_0x26bde5(0x20f)]=_0x1ce00c,this[_0x26bde5(0x27e)]=_0x5c88b8,this['_commandService']=_0x49c1de,this['_refRangeService']=_0x265395);}get[_0x401f20(0x24c)](){const _0x179d19=_0x401f20;return this[_0x179d19(0x221)][_0x179d19(0x1e1)]();}get[_0x401f20(0x11a)](){const _0x5c3324=_0x401f20;return this[_0x5c3324(0x25d)][_0x5c3324(0x1e1)]();}[_0x401f20(0x2b1)](){const _0x34655c=_0x401f20;super[_0x34655c(0x2b1)](),this['_cursorInfo$'][_0x34655c(0x29d)](new Map()),this[_0x34655c(0x221)][_0x34655c(0xc7)](),this[_0x34655c(0x25d)]['next']([]),this[_0x34655c(0x25d)][_0x34655c(0xc7)]();}['init'](){const _0x453a00=_0x401f20;this[_0x453a00(0x153)]||(this[_0x453a00(0x153)]=!0x0,this['_session'][_0x453a00(0x2a3)]['pipe'](_0xb82969[_0x453a00(0x310)](this['dispose$']))['subscribe'](_0x438ec3=>{const _0x233f10=_0x453a00;_0x438ec3===_0xe14e[_0x233f10(0x207)][_0x233f10(0x99)]?this[_0x233f10(0x214)]():this[_0x233f10(0x2ff)]();}),this['_session'][_0x453a00(0x1c7)][_0x453a00(0xb9)](_0xb82969[_0x453a00(0x310)](this['dispose$']))['subscribe'](_0x20ef25=>{const _0x3da4b9=_0x453a00,_0x236674=_0x20ef25[_0x3da4b9(0x18d)];_0x236674===_0x17be28[_0x3da4b9(0x30a)][_0x3da4b9(0x2eb)]&&this['_onCursorUpdate'](_0x20ef25),_0x236674===_0x17be28[_0x3da4b9(0x30a)][_0x3da4b9(0x28f)]&&this['_onCursorDelete'](_0x20ef25);}),this[_0x453a00(0x1e6)](),this[_0x453a00(0x164)](this['_commandService'][_0x453a00(0x18b)](_0x2024e9=>{const _0x5b2b8a=_0x453a00;if(this[_0x5b2b8a(0x141)]&&_0x2024e9['id']===_0x3b49ce[_0x5b2b8a(0xfc)]['id']&&_0x2024e9[_0x5b2b8a(0x1cf)][_0x5b2b8a(0x21a)]===this[_0x5b2b8a(0xcf)]){const _0x35f9ea=_0x2024e9['params'];this[_0x5b2b8a(0xad)](_0x35f9ea['subUnitId'],_0x35f9ea[_0x5b2b8a(0x232)][0x0]);}})));}[_0x401f20(0x17b)](_0x1f00b7){const _0x313fab=_0x401f20;var _0x367a25,_0xccaa2;const {memberID:_0x460951,selection:_0x45a9e8}=_0x1f00b7['data'],{sheetName:_0x5ec0d6,range:_0x3450ee}=_0x59f94d[_0x313fab(0x1ec)](_0x45a9e8),_0xc87fee={'name':(_0xccaa2=(_0x367a25=this[_0x313fab(0x20f)]['getMember'](this['unitID'],_0x460951))==null?void 0x0:_0x367a25[_0x313fab(0x269)])!=null?_0xccaa2:_0x313fab(0x14b),'range':this['_getMergeRange'](_0x5ec0d6,_0x3450ee),'sheetID':_0x5ec0d6,'color':this[_0x313fab(0x95)][_0x313fab(0x9d)](_0x460951),'selection':_0x45a9e8},_0x2fe63b=this['cursorInfo'];_0x2fe63b['set'](_0x460951,_0xc87fee),this[_0x313fab(0x221)][_0x313fab(0x29d)](_0x2fe63b);}['_onCursorDelete'](_0x49d9e8){const _0x475587=_0x401f20,{memberID:_0x558cd9}=_0x49d9e8[_0x475587(0x2a5)],_0x51ceff=this['cursorInfo'];_0x51ceff[_0x475587(0x29c)](_0x558cd9),this[_0x475587(0x221)][_0x475587(0x29d)](_0x51ceff);}[_0x401f20(0x1cd)](_0x2487e0,_0x21cc5c){const _0xdaba5c=_0x401f20;var _0x115f5f,_0x3eaecc;const _0x1dbe80=(_0x3eaecc=(_0x115f5f=this['_univerInstanceService'][_0xdaba5c(0xdb)](this[_0xdaba5c(0xcf)]))==null?void 0x0:_0x115f5f['getSheetBySheetId'](_0x2487e0))==null?void 0x0:_0x3eaecc[_0xdaba5c(0x15b)]();return(_0x1dbe80==null?void 0x0:_0x1dbe80[_0xdaba5c(0x262)](_0x19a28f=>_0x23c5c6['Rectangle'][_0xdaba5c(0x2a7)](_0x19a28f,_0x21cc5c)))||_0x21cc5c;}[_0x401f20(0x1e6)](){const _0x4062a0=_0x401f20,_0x462f3f=new _0x23c5c6['DisposableCollection'](),_0x45ff29=_0x262ecc(),_0x15ef3e=()=>{const _0x1bbfa5=_0x10ca;_0x462f3f[_0x1bbfa5(0x2b1)]();const _0x14a5f3=(_0x3dcfb5,_0x331cbc,_0x169b60,_0x58abe1)=>{const _0x1a1607=_0x1bbfa5;let _0x39dd05=[];switch(_0x3dcfb5['id']){case _0x3b49ce[_0x1a1607(0x1dc)][_0x1a1607(0xe5)]:{_0x39dd05=_0x3b49ce['handleDeleteRangeMoveLeft'](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId'][_0x1a1607(0x1b2)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0xdc)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId']['InsertColCommandId']:{_0x39dd05=_0x3b49ce[_0x1a1607(0x1f4)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)]['InsertRangeMoveDownCommandId']:{_0x39dd05=_0x3b49ce[_0x1a1607(0x2b8)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)]['InsertRangeMoveRightCommandId']:{_0x39dd05=_0x3b49ce[_0x1a1607(0x194)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)][_0x1a1607(0x145)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0x98)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce[_0x1a1607(0x1dc)][_0x1a1607(0x106)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0x283)](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId'][_0x1a1607(0xee)]:{_0x39dd05=_0x3b49ce['handleIRemoveCol'](_0x3dcfb5,_0x58abe1);break;}case _0x3b49ce['EffectRefRangId'][_0x1a1607(0x265)]:{_0x39dd05=_0x3b49ce[_0x1a1607(0xfd)](_0x3dcfb5,_0x58abe1);break;}}const _0x562877=_0x3b49ce[_0x1a1607(0x102)](_0x39dd05,_0x58abe1),_0x303510=this['cursorInfo'][_0x1a1607(0x150)](_0x331cbc);if(_0x303510&&_0x562877){const _0x3af38b={..._0x303510,'range':_0x562877};this['cursorInfo'][_0x1a1607(0xa1)](_0x331cbc,_0x3af38b),_0x45ff29(()=>{const _0x43f25f=_0x1a1607,_0x4205f5=this[_0x43f25f(0x1da)][_0x43f25f(0x193)](_0x562877,_0x4a30b8=>(_0x4205f5['dispose'](),_0x14a5f3(_0x4a30b8,_0x331cbc,_0x169b60,_0x562877)));_0x462f3f[_0x43f25f(0xd8)](_0x4205f5);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1bbfa5(0x122)]((_0x390d48,_0x39fc91)=>{const _0x2ee979=_0x1bbfa5,{range:_0x5a648f,sheetID:_0x495892}=_0x390d48,_0x593d23=this[_0x2ee979(0x1da)]['registerRefRange'](_0x5a648f,_0x324ac2=>(_0x593d23[_0x2ee979(0x2b1)](),_0x14a5f3(_0x324ac2,_0x39fc91,_0x495892,_0x5a648f)));_0x462f3f[_0x2ee979(0xd8)](_0x593d23);});};this[_0x4062a0(0x164)](_0x23c5c6[_0x4062a0(0x275)](this['_cursorInfo$'][_0x4062a0(0x1bc)](()=>{_0x15ef3e();})));}['_toggleOnline'](){const _0x5580da=_0x401f20;var _0x148b67,_0x14c3f8;if(this[_0x5580da(0x141)]=!0x0,((_0x148b67=this[_0x5580da(0x27e)][_0x5580da(0x248)]())==null?void 0x0:_0x148b67[_0x5580da(0xf9)]())!==this[_0x5580da(0xcf)])return;const _0x50dc8e=(_0x14c3f8=this[_0x5580da(0x217)]['get'](_0x3b49ce[_0x5580da(0x9b)])[_0x5580da(0x25a)]())==null?void 0x0:_0x14c3f8[0x0],_0x394bd8=this[_0x5580da(0x27e)][_0x5580da(0xd3)](_0x23c5c6[_0x5580da(0x295)][_0x5580da(0x123)])[_0x5580da(0x14a)]();_0x50dc8e&&_0x394bd8&&this[_0x5580da(0xad)](_0x394bd8[_0x5580da(0xe3)](),_0x50dc8e);}[_0x401f20(0x2ff)](){const _0x398bf3=_0x401f20;this[_0x398bf3(0x141)]=!0x1;}};_0x2d7a73=_0xa1f53f([_0x19b74d(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x311)])),_0x19b74d(0x3,_0x23c5c6[_0x401f20(0x12e)](_0x1568d7)),_0x19b74d(0x4,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0x119)])),_0x19b74d(0x5,_0x23c5c6[_0x401f20(0x2b6)]),_0x19b74d(0x6,_0x23c5c6[_0x401f20(0x30c)]),_0x19b74d(0x7,_0x23c5c6[_0x401f20(0x12e)](_0x3b49ce[_0x401f20(0x209)]))],_0x2d7a73);var _0x102d20=Object[_0x401f20(0x2e6)],_0x29f12c=(_0x347548,_0x69d51a,_0x5f1eb0,_0x3d10bf)=>{for(var _0x3b3824=_0x3d10bf>0x1?void 0x0:_0x3d10bf?_0x102d20(_0x69d51a,_0x5f1eb0):_0x69d51a,_0x2b559b=_0x347548['length']-0x1,_0x211a61;_0x2b559b>=0x0;_0x2b559b--)(_0x211a61=_0x347548[_0x2b559b])&&(_0x3b3824=_0x211a61(_0x3b3824)||_0x3b3824);return _0x3b3824;},_0x36921d=(_0x46dfc2,_0xc5a6f3)=>(_0x25cb26,_0x5afad5)=>_0xc5a6f3(_0x25cb26,_0x5afad5,_0x46dfc2);let _0x4265e2=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0x17229b,_0x1b7a8d,_0x3a4eae){const _0x238874=_0x401f20;super(),_0x1fcf73(this,_0x238874(0x225),new Map()),_0x1fcf73(this,_0x238874(0x25c),new _0xb82969['Subject']()),(this[_0x238874(0x27e)]=_0x17229b,this['_injector']=_0x1b7a8d,this[_0x238874(0x1ae)]=_0x3a4eae,this['_init']());}[_0x401f20(0x2b1)](){const _0x28de84=_0x401f20;super[_0x28de84(0x2b1)](),this[_0x28de84(0x25c)][_0x28de84(0xc7)](),this[_0x28de84(0x225)][_0x28de84(0x122)](_0x5ec468=>_0x5ec468[_0x28de84(0x2b1)]());}['getCollabCursors$'](_0x25a75d){const _0x303b53=_0x401f20;return this[_0x303b53(0x225)][_0x303b53(0x1bd)](_0x25a75d)?this[_0x303b53(0x225)][_0x303b53(0x150)](_0x25a75d)['cursorInfo$']:this[_0x303b53(0x25c)][_0x303b53(0xb9)](_0xb82969['filter'](_0x4a9340=>_0x4a9340['unitID']===_0x25a75d),_0xb82969[_0x303b53(0x1a6)](_0x56bc13=>_0x56bc13[_0x303b53(0x2ad)]));}['_init'](){const _0x13fcaa=_0x401f20;this[_0x13fcaa(0x27e)][_0x13fcaa(0x1b8)](_0x23c5c6[_0x13fcaa(0x295)][_0x13fcaa(0x123)])['pipe'](_0xb82969[_0x13fcaa(0x310)](this[_0x13fcaa(0x25e)]))[_0x13fcaa(0x1bc)](async _0x37a523=>{const _0x566e9d=_0x13fcaa,_0xe3a53d=_0x37a523['getUnitId'](),_0x334cb0=await this[_0x566e9d(0x213)](_0xe3a53d);this[_0x566e9d(0x25c)][_0x566e9d(0x29d)](_0x334cb0),this[_0x566e9d(0x225)]['set'](_0xe3a53d,_0x334cb0);}),this[_0x13fcaa(0x27e)][_0x13fcaa(0x1b8)](_0x23c5c6[_0x13fcaa(0x295)][_0x13fcaa(0x2c2)])['pipe'](_0xb82969[_0x13fcaa(0x310)](this['dispose$']))['pipe'](_0xb82969[_0x13fcaa(0x9e)](_0x451990=>!_0x451990[_0x13fcaa(0xf9)]()[_0x13fcaa(0x172)]('__')))[_0x13fcaa(0x1bc)](async _0x2c2e20=>{const _0x5be79a=_0x13fcaa,_0x153e4b=_0x2c2e20[_0x5be79a(0xf9)](),_0xb41f06=await this[_0x5be79a(0x12c)](_0x153e4b);this['_entityInit$']['next'](_0xb41f06),this[_0x5be79a(0x225)]['set'](_0x153e4b,_0xb41f06);}),_0xb82969[_0x13fcaa(0x2b4)](this[_0x13fcaa(0x27e)][_0x13fcaa(0xc1)](_0x23c5c6[_0x13fcaa(0x295)]['UNIVER_DOC']),this[_0x13fcaa(0x27e)][_0x13fcaa(0xc1)](_0x23c5c6['UniverInstanceType'][_0x13fcaa(0x123)]))[_0x13fcaa(0xb9)](_0xb82969[_0x13fcaa(0x310)](this[_0x13fcaa(0x25e)]))[_0x13fcaa(0x1bc)](_0x263a43=>{const _0x1788fb=_0x13fcaa,_0x38b65e=_0x263a43['getUnitId'](),_0x4bf794=this['_entities'][_0x1788fb(0x150)](_0x38b65e);_0x4bf794&&(_0x4bf794[_0x1788fb(0x2b1)](),this[_0x1788fb(0x225)][_0x1788fb(0x29c)](_0x38b65e));});}async[_0x401f20(0x213)](_0x134f78){const _0xae1eb7=_0x401f20,_0x2465e5=await this[_0xae1eb7(0x1ae)][_0xae1eb7(0x14d)](_0x134f78),_0x272a85=this['_injector']['createInstance'](_0x2d7a73,_0x134f78,_0x2465e5);return _0x272a85[_0xae1eb7(0x1ea)](),_0x272a85;}async[_0x401f20(0x12c)](_0x19da8c){const _0x67b13=_0x401f20,_0x31689a=await this[_0x67b13(0x1ae)][_0x67b13(0x14d)](_0x19da8c),_0x1a82fa=this['_injector']['createInstance'](_0x4bbd88,_0x19da8c,_0x31689a);return _0x1a82fa[_0x67b13(0x1ea)](),_0x1a82fa;}};_0x4265e2=_0x29f12c([_0x36921d(0x0,_0x23c5c6[_0x401f20(0x2b6)]),_0x36921d(0x1,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x36921d(0x2,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0x2fc)]))],_0x4265e2);const _0x403e4a=0x14,_0x2156e7=0xc8,_0x4a0a7a=0x4,_0x3cf652=0x5;function _0x313403(_0x199bc3,_0x167896){const _0x58993b=_0x401f20;let {radius:_0x35d47b,width:_0x553bc9,height:_0x69e9a}=_0x167896;_0x35d47b=_0x35d47b!=null?_0x35d47b:0x0,_0x553bc9=_0x553bc9!=null?_0x553bc9:0x1e,_0x69e9a=_0x69e9a!=null?_0x69e9a:0x1e;let _0x48aa81=0x0,_0x5150f7=0x0,_0x70193f=0x0;_0x48aa81=_0x5150f7=_0x70193f=Math[_0x58993b(0x19e)](_0x35d47b,_0x553bc9/0x2,_0x69e9a/0x2),_0x199bc3[_0x58993b(0x2a0)](),_0x199bc3['moveTo'](_0x48aa81,0x0),_0x199bc3[_0x58993b(0x26d)](_0x553bc9-_0x5150f7,0x0),_0x199bc3[_0x58993b(0x28d)](_0x553bc9-_0x5150f7,_0x5150f7,_0x5150f7,Math['PI']*0x3/0x2,0x0,!0x1),_0x199bc3[_0x58993b(0x26d)](_0x553bc9,_0x69e9a-_0x70193f),_0x199bc3[_0x58993b(0x28d)](_0x553bc9-_0x70193f,_0x69e9a-_0x70193f,_0x70193f,0x0,Math['PI']/0x2,!0x1),_0x199bc3[_0x58993b(0x26d)](0x0,_0x69e9a),_0x199bc3['lineTo'](0x0,_0x48aa81),_0x199bc3[_0x58993b(0x28d)](_0x48aa81,_0x48aa81,_0x48aa81,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x199bc3['closePath'](),_0x167896[_0x58993b(0x140)]&&(_0x199bc3[_0x58993b(0x24f)](),_0x199bc3[_0x58993b(0x138)]=_0x167896[_0x58993b(0x140)],_0x167896[_0x58993b(0x244)]===_0x58993b(0x112)?_0x199bc3[_0x58993b(0x140)](_0x58993b(0x112)):_0x199bc3[_0x58993b(0x140)](),_0x199bc3[_0x58993b(0x2fb)]());}class _0x14240d extends _0x112879['Shape']{constructor(_0x250741,_0x34970b){const _0x51139d=_0x401f20;super(_0x250741,_0x34970b),_0x1fcf73(this,_0x51139d(0x116)),_0x1fcf73(this,_0x51139d(0x21b)),(this[_0x51139d(0x116)]=_0x34970b==null?void 0x0:_0x34970b[_0x51139d(0x116)],this[_0x51139d(0x21b)]=_0x34970b==null?void 0x0:_0x34970b[_0x51139d(0x21b)]);}static[_0x401f20(0x1a7)](_0x1f7b9c,_0x1aa39e){const _0x38b4d2=_0x401f20,{text:_0x1d19f7,color:_0x3a30c1}=_0x1aa39e;_0x1f7b9c[_0x38b4d2(0x24f)](),_0x1f7b9c[_0x38b4d2(0x18e)]=_0x38b4d2(0x251);const _0x5de9ab=_0x1f7b9c[_0x38b4d2(0x169)](_0x1d19f7)['width'],_0x48b33a=Math[_0x38b4d2(0x19e)](_0x5de9ab+0x2*_0x4a0a7a,_0x2156e7);_0x313403(_0x1f7b9c,{'height':_0x403e4a,'radius':0x4,'width':_0x48b33a,'fill':_0x3a30c1}),_0x1f7b9c[_0x38b4d2(0x138)]=_0x38b4d2(0x1e0);const _0x3cf17e=_0x4a0a7a,_0x34db73=_0x403e4a-_0x3cf652,_0x5d5f86=_0x2156e7-0x2*_0x4a0a7a;if(_0x5de9ab>_0x5d5f86){let _0x657901='',_0x37ce18=0x0;for(const _0x18065b of _0x1d19f7){const _0x568276=_0x1f7b9c[_0x38b4d2(0x169)](_0x18065b)[_0x38b4d2(0xf2)];if(_0x37ce18+_0x568276<=_0x5d5f86-_0x1f7b9c[_0x38b4d2(0x169)](_0x38b4d2(0x175))[_0x38b4d2(0xf2)])_0x657901+=_0x18065b,_0x37ce18+=_0x568276;else{_0x657901+=_0x38b4d2(0x175);break;}}_0x1f7b9c[_0x38b4d2(0x308)](_0x657901,_0x3cf17e,_0x34db73);}else _0x1f7b9c[_0x38b4d2(0x308)](_0x1d19f7,_0x3cf17e,_0x34db73);_0x1f7b9c['restore']();}['_draw'](_0x46e5a4){_0x14240d['drawWith'](_0x46e5a4,this);}}const _0x2825af=_0x401f20(0x142),_0x24e957=_0x401f20(0x203),_0x4575d9=_0x401f20(0x292),_0x12e552=0x6,_0x33f1fb=1.5,_0x143e57=0x4,_0x13b623=1.5,_0xec043c='rgba(255,\x20255,\x20255,\x200.01)';class _0x34a9ef{constructor(_0x186e47,_0x216550,_0x3ec74a,_0x16b3bd){const _0x5a703b=_0x401f20;_0x1fcf73(this,_0x5a703b(0x155),[]),_0x1fcf73(this,_0x5a703b(0x21f),null),_0x1fcf73(this,_0x5a703b(0xbf),null),_0x1fcf73(this,_0x5a703b(0x22a),null),_0x1fcf73(this,_0x5a703b(0x120),null),_0x1fcf73(this,_0x5a703b(0x2ec),null),(this[_0x5a703b(0x1e2)]=_0x186e47,this['_scene']=_0x216550,this[_0x5a703b(0x2fa)]=_0x3ec74a,this[_0x5a703b(0x184)]=_0x16b3bd,this['_render']());}set[_0x401f20(0x2d2)](_0x49c13d){const _0x253804=_0x401f20;_0x49c13d?(this[_0x253804(0x22a)]&&this[_0x253804(0x22a)]['hide'](),this[_0x253804(0xbf)]&&this[_0x253804(0xbf)]['show']()):(this[_0x253804(0x22a)]&&this['_anchorDot'][_0x253804(0x2b3)](),this['_textBubble']&&this[_0x253804(0xbf)][_0x253804(0x281)]());}[_0x401f20(0x2b1)](){const _0x2457bf=_0x401f20;for(const _0x2f74d2 of this[_0x2457bf(0x155)])_0x2f74d2[_0x2457bf(0x2b1)]();this[_0x2457bf(0xbf)]&&this[_0x2457bf(0xbf)]['dispose'](),this[_0x2457bf(0x22a)]&&this[_0x2457bf(0x22a)][_0x2457bf(0x2b1)](),this[_0x2457bf(0x21f)]&&this[_0x2457bf(0x21f)][_0x2457bf(0x2b1)](),this[_0x2457bf(0x2ec)]&&this[_0x2457bf(0x2ec)]();}[_0x401f20(0x2ef)](){const _0x1b98f6=_0x401f20;var _0x2d5138;const {_docSkeleton:_0x538b49,_document:_0x34e24f}=this,{color:_0x559c89,name:_0x274a0f,ranges:_0xaf42e0}=this[_0x1b98f6(0x1e2)],_0x34d27c=_0x34e24f[_0x1b98f6(0x9a)](),{docsLeft:_0x4ad45f,docsTop:_0xd36fea}=_0x34d27c,_0x1f0efe=new _0x1f875c[(_0x1b98f6(0x10e))](_0x34d27c,_0x538b49);for(const {startOffset:_0x5bc805,endOffset:_0x106388,rangeType:_0x4d9fcf,segmentId:_0x301085,segmentPage:_0x221991,collapsed:_0x43154f,isActive:_0x46a24a}of _0xaf42e0){const _0x4e4108=_0x538b49[_0x1b98f6(0x171)](_0x5bc805,!0x0,_0x301085,_0x221991);let _0x253554=_0x538b49[_0x1b98f6(0x171)](_0x106388,!0x0,_0x301085,_0x221991);if(_0x253554==null&&(_0x253554=_0x538b49['findNodePositionByCharIndex'](_0x106388-0x1,!0x1,_0x301085,_0x221991)),_0x46a24a){const {contentBoxPointGroup:_0x146d9d}=_0x1f0efe[_0x1b98f6(0xe6)](_0x253554,_0x253554);if(_0x146d9d[_0x1b98f6(0x2c4)]===0x0)continue;this[_0x1b98f6(0x237)](_0x559c89,_0x146d9d,_0x4ad45f,_0xd36fea,_0x274a0f),this['_eventUnsubscribe']=this[_0x1b98f6(0xdf)]();}if(_0x4e4108&&_0x253554){if(_0x4d9fcf===_0x23c5c6['DOC_RANGE_TYPE']['RECT']){const _0x583207=new _0x1f875c['NodePositionConvertToRectRange'](_0x34d27c,_0x538b49),{pointGroup:_0x412d17}=(_0x2d5138=_0x583207[_0x1b98f6(0xe6)](_0x4e4108,_0x253554))!=null?_0x2d5138:{};if(_0x412d17==null||_0x412d17[_0x1b98f6(0x2c4)]===0x0)continue;this[_0x1b98f6(0x20d)](_0x559c89,_0x412d17,_0x4ad45f,_0xd36fea);}else{if(!_0x43154f){const {borderBoxPointGroup:_0x4fae6f}=_0x1f0efe['getRangePointData'](_0x4e4108,_0x253554);if(_0x4fae6f[_0x1b98f6(0x2c4)]===0x0)continue;this[_0x1b98f6(0xbd)](_0x559c89,_0x4fae6f,_0x4ad45f,_0xd36fea);}}}}}[_0x401f20(0x237)](_0x213e9f,_0x23bac1,_0x12c376,_0x465b12,_0x9498c1){const _0x59714c=_0x401f20,_0x1d7e63=this[_0x59714c(0x206)](_0x23bac1),{left:_0x588313,top:_0x37a38c,height:_0x406b14}=_0x1d7e63,_0x19e37c=this[_0x59714c(0x1e8)](),_0x4022a8=_0x13b623/_0x19e37c,_0x4e94b6=new _0x112879[(_0x59714c(0xe4))](_0x2825af+_0x23c5c6['Tools'][_0x59714c(0x165)](_0x12e552),{'left':_0x588313+_0x12c376-_0x4022a8,'top':_0x37a38c+_0x465b12,'height':_0x406b14,'width':_0x33f1fb,'fill':_0x213e9f||_0x112879[_0x59714c(0x256)](_0x23c5c6['COLORS'][_0x59714c(0x186)],0x0),'strokeWidth':_0x4022a8,'stroke':_0xec043c,'evented':!0x0});this[_0x59714c(0x21f)]=_0x4e94b6,this[_0x59714c(0x12d)]['addObject'](_0x4e94b6,_0x1f875c[_0x59714c(0x94)]);const _0x1d0fb4=new _0x112879[(_0x59714c(0xe4))](_0x2825af+_0x23c5c6[_0x59714c(0x1aa)][_0x59714c(0x165)](_0x12e552),{'left':_0x588313+_0x12c376-_0x4022a8,'top':_0x37a38c+_0x465b12-_0x143e57/0x2,'height':_0x143e57,'width':_0x143e57,'fill':_0x213e9f||_0x112879['getColor'](_0x23c5c6['COLORS'][_0x59714c(0x186)],0x0),'strokeWidth':0x0,'stroke':_0x213e9f||_0x112879[_0x59714c(0x256)](_0x23c5c6[_0x59714c(0xb1)][_0x59714c(0x186)],0x0),'evented':!0x1});this[_0x59714c(0x22a)]=_0x1d0fb4,this['_scene'][_0x59714c(0x266)](_0x1d0fb4,_0x1f875c[_0x59714c(0x94)]);const _0x58ceeb=new _0x14240d(_0x2825af+_0x23c5c6[_0x59714c(0x1aa)][_0x59714c(0x165)](_0x12e552),{'left':_0x588313+_0x12c376-_0x4022a8,'top':_0x37a38c+_0x465b12-_0x403e4a,'text':_0x9498c1,'color':_0x213e9f});this[_0x59714c(0xbf)]=_0x58ceeb,this[_0x59714c(0x12d)][_0x59714c(0x266)](_0x58ceeb,_0x1f875c['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x401f20(0xdf)](){const _0x55cffc=_0x401f20,_0x2ba3a9=this['_anchor'][_0x55cffc(0x1d2)][_0x55cffc(0x105)](()=>{const _0xcef4a4=_0x55cffc;this[_0xcef4a4(0x2d2)]=!0x0;}),_0x3c66c3=this[_0x55cffc(0x21f)][_0x55cffc(0x273)][_0x55cffc(0x105)](()=>{const _0x3e73a7=_0x55cffc;this[_0x3e73a7(0x120)]&&clearTimeout(this[_0x3e73a7(0x120)]),this[_0x3e73a7(0x120)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x885547=_0x55cffc;_0x2ba3a9['unsubscribe'](),_0x3c66c3[_0x885547(0x1ee)]();};}[_0x401f20(0xbd)](_0x422df2,_0x5be3f0,_0x39eabe,_0x10407e){const _0x1af339=_0x401f20,_0x2263a0=new _0x23c5c6[(_0x1af339(0x27c))](_0x422df2)[_0x1af339(0xe9)](0.2)[_0x1af339(0x1c2)](),_0x54850f=new _0x112879['RegularPolygon'](_0x24e957+_0x23c5c6[_0x1af339(0x1aa)]['generateRandomId'](_0x12e552),{'pointsGroup':_0x5be3f0,'fill':_0x2263a0||_0x112879[_0x1af339(0x256)](_0x23c5c6[_0x1af339(0xb1)][_0x1af339(0x186)],0.2),'left':_0x39eabe,'top':_0x10407e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1af339(0x155)][_0x1af339(0x1b0)](_0x54850f),this['_scene'][_0x1af339(0x266)](_0x54850f,_0x1f875c['TEXT_RANGE_LAYER_INDEX']);}[_0x401f20(0x20d)](_0x2fbde3,_0x47c4a0,_0x2816d9,_0x1d91ef){const _0x55a726=_0x401f20,_0x2349a5=new _0x23c5c6['ColorKit'](_0x2fbde3)['setAlpha'](0.2)['toRgbString'](),_0x23c0e5=new _0x112879['RegularPolygon'](_0x4575d9+_0x23c5c6[_0x55a726(0x1aa)][_0x55a726(0x165)](_0x12e552),{'pointsGroup':_0x47c4a0,'fill':_0x2349a5||_0x112879['getColor'](_0x23c5c6[_0x55a726(0xb1)][_0x55a726(0x186)],0.2),'left':_0x2816d9,'top':_0x1d91ef,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x55a726(0x1b0)](_0x23c0e5),this[_0x55a726(0x12d)][_0x55a726(0x266)](_0x23c0e5,_0x1f875c['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x44e93b){const _0x219feb=_0x44e93b[0x0],_0x172cc5=_0x219feb[0x0],_0x3b4dc3=_0x219feb[0x2],{x:_0x3414b5,y:_0x2c4d58}=_0x172cc5,{x:_0x2e4fef,y:_0x47ce06}=_0x3b4dc3;return{'left':_0x3414b5,'top':_0x2c4d58,'width':_0x2e4fef-_0x3414b5,'height':_0x47ce06-_0x2c4d58};}[_0x401f20(0x1e8)](){const _0x128dbe=_0x401f20,{scaleX:_0x435620,scaleY:_0x53512b}=this[_0x128dbe(0x12d)]['getAncestorScale']();return Math['max'](_0x435620,_0x53512b);}}var _0x26fcc7=Object[_0x401f20(0x2e6)],_0x2a23c0=(_0x2bedd8,_0x580975,_0x1fe652,_0x28f6b9)=>{const _0x39d7f3=_0x401f20;for(var _0x1f24f4=_0x28f6b9>0x1?void 0x0:_0x28f6b9?_0x26fcc7(_0x580975,_0x1fe652):_0x580975,_0x17b87c=_0x2bedd8[_0x39d7f3(0x2c4)]-0x1,_0x12d076;_0x17b87c>=0x0;_0x17b87c--)(_0x12d076=_0x2bedd8[_0x17b87c])&&(_0x1f24f4=_0x12d076(_0x1f24f4)||_0x1f24f4);return _0x1f24f4;},_0x5d64e9=(_0x29e6fb,_0x19b360)=>(_0x5d59e6,_0x48ff4a)=>_0x19b360(_0x5d59e6,_0x48ff4a,_0x29e6fb);let _0x1ef9a4=class extends _0x23c5c6['RxDisposable']{constructor(_0x3b2a20,_0xd6b6db,_0x15cf45,_0x1bb840,_0x415418){const _0x5f3106=_0x401f20;super(),_0x1fcf73(this,_0x5f3106(0x290),[]),_0x1fcf73(this,_0x5f3106(0x235),[]),(this[_0x5f3106(0x220)]=_0x3b2a20,this[_0x5f3106(0x26e)]=_0xd6b6db,this[_0x5f3106(0x258)]=_0x15cf45,this['_commandService']=_0x1bb840,this['_themeService']=_0x415418,this['_init']());}[_0x401f20(0x153)](){const _0x5d8ec0=_0x401f20,_0x482d59=this['_context'][_0x5d8ec0(0x21a)],_0x172496=this[_0x5d8ec0(0x26e)];this[_0x5d8ec0(0x164)](_0xb82969[_0x5d8ec0(0x129)]([this[_0x5d8ec0(0x258)][_0x5d8ec0(0x30e)](_0x482d59),this['_themeService'][_0x5d8ec0(0x97)]])[_0x5d8ec0(0xb9)](_0x15e5b5[_0x5d8ec0(0x28e)](([_0x209127,_0x26a66])=>({'skeleton':_0x172496[_0x5d8ec0(0x278)](),'cursors':[..._0x209127[_0x5d8ec0(0x185)]()][_0x5d8ec0(0x25f)](_0x8ce304=>({..._0x8ce304,'color':this['_themeService'][_0x5d8ec0(0x264)](_0x8ce304['color'])}))})))[_0x5d8ec0(0x1bc)](_0x11c998=>{const _0xbd033d=_0x5d8ec0;if(this[_0xbd033d(0x2b7)](),_0x11c998){const {skeleton:_0x101151,cursors:_0x488578}=_0x11c998;this[_0xbd033d(0x113)](_0x101151,_0x488578);}})),this[_0x5d8ec0(0x2db)](),this[_0x5d8ec0(0x130)]();}['_updateCollabCursors'](_0x55b4cf,_0x1270d0){const _0x1f25d6=_0x401f20,{scene:_0x3182ec,mainComponent:_0x38e1c8}=this[_0x1f25d6(0x220)],_0x255f00=_0x1270d0[_0x1f25d6(0x28e)](_0x1c6c3f=>new _0x34a9ef(_0x1c6c3f,_0x3182ec,_0x55b4cf,_0x38e1c8));this['_cursorShapes']=_0x255f00,this[_0x1f25d6(0x235)]=_0x1270d0;}[_0x401f20(0x21d)](){const _0x1076d8=_0x401f20;this[_0x1076d8(0x2b7)]();const {scene:_0x46ac0e,mainComponent:_0x4b4439}=this[_0x1076d8(0x220)],_0x39a1c0=this['_docSkeletonManagerService'][_0x1076d8(0x278)](),_0x45cf40=this[_0x1076d8(0x235)][_0x1076d8(0x28e)](_0x1e0ba3=>new _0x34a9ef(_0x1e0ba3,_0x46ac0e,_0x39a1c0,_0x4b4439));this['_cursorShapes']=_0x45cf40;}[_0x401f20(0x2b7)](){const _0xcbd3e8=_0x401f20;this[_0xcbd3e8(0x290)]['forEach'](_0xc2367a=>_0xc2367a['dispose']()),this[_0xcbd3e8(0x290)]=[];}[_0x401f20(0x130)](){const _0x5840bc=_0x401f20,_0x3b4a08=[_0x1f875c[_0x5840bc(0xc9)]['id']];this['disposeWithMe'](this[_0x5840bc(0x9f)][_0x5840bc(0x18b)](_0x289224=>{const _0xa6ddb5=_0x5840bc;_0x3b4a08[_0xa6ddb5(0xa5)](_0x289224['id'])&&_0x289224['params'][_0xa6ddb5(0x21a)]===this[_0xa6ddb5(0x220)][_0xa6ddb5(0x21a)]&&this[_0xa6ddb5(0x21d)]();}));}['_initResize'](){const _0x45e081=_0x401f20;this[_0x45e081(0x164)](_0x23c5c6[_0x45e081(0x30b)](this[_0x45e081(0x220)][_0x45e081(0x212)][_0x45e081(0xff)])[_0x45e081(0xb9)](_0x15e5b5['filter'](_0x3d72f2=>_0x3d72f2[_0x45e081(0x161)]===_0x112879[_0x45e081(0x1c8)][_0x45e081(0x2f2)]),_0x15e5b5[_0x45e081(0x11d)](0x10))[_0x45e081(0x1bc)](()=>{const _0xc30dba=_0x45e081;this[_0xc30dba(0x21d)]();}));}};_0x1ef9a4=_0x2a23c0([_0x5d64e9(0x1,_0x23c5c6['Inject'](_0x20283b[_0x401f20(0x190)])),_0x5d64e9(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x4265e2)),_0x5d64e9(0x3,_0x23c5c6[_0x401f20(0x30c)]),_0x5d64e9(0x4,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x303)]))],_0x1ef9a4);const _0x564d59=0x1,_0x21989b=1.5;class _0x4a6a14 extends _0x112879['Shape']{constructor(_0x21ba26,_0xcfa220){const _0x46dcd8=_0x401f20;super(_0x21ba26,_0xcfa220),_0x1fcf73(this,_0x46dcd8(0x2d9)),_0x1fcf73(this,'_hovered',!0x1),_0x1fcf73(this,'_range'),_0x1fcf73(this,_0x46dcd8(0x1fc),''),_0x1fcf73(this,_0x46dcd8(0x188),_0x46dcd8(0x2ba)),_0x1fcf73(this,_0x46dcd8(0x1ad)),(_0xcfa220&&this[_0x46dcd8(0x29f)](_0xcfa220),this['onPointerEnter$'][_0x46dcd8(0x105)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x46dcd8(0x273)][_0x46dcd8(0x105)](()=>this[_0x46dcd8(0x29f)]({'hovered':!0x1})));}[_0x401f20(0x29f)](_0x5e61fc){const _0x324870=_0x401f20;var _0x5ea232,_0x5a2802,_0x38706f,_0x1cfa77,_0x366d24,_0x441847;this[_0x324870(0x2d9)]=(_0x5ea232=_0x5e61fc[_0x324870(0x116)])!=null?_0x5ea232:this[_0x324870(0x2d9)],this['_hovered']=(_0x5a2802=_0x5e61fc['hovered'])!=null?_0x5a2802:this[_0x324870(0xb2)],this['_range']=(_0x38706f=_0x5e61fc[_0x324870(0x86)])!=null?_0x38706f:this[_0x324870(0xd7)],this[_0x324870(0x1fc)]=(_0x1cfa77=_0x5e61fc[_0x324870(0x269)])!=null?_0x1cfa77:this[_0x324870(0x1fc)],this[_0x324870(0x188)]=(_0x366d24=_0x5e61fc[_0x324870(0xec)])!=null?_0x366d24:this[_0x324870(0x188)],this[_0x324870(0x1ad)]=(_0x441847=_0x5e61fc[_0x324870(0x230)])!=null?_0x441847:this['_backgroundColor'],this[_0x324870(0x88)]({'width':_0x5e61fc[_0x324870(0xf2)],'height':_0x5e61fc[_0x324870(0xa6)]});}[_0x401f20(0x30d)](_0x55180c){const _0x2fc784=_0x401f20,{row:_0x35f565,column:_0xd0c252}=_0x55180c;if(_0x35f565>=this[_0x2fc784(0xd7)][_0x2fc784(0x9c)]&&_0x35f565<=this[_0x2fc784(0xd7)]['endRow']&&_0xd0c252>=this['_range'][_0x2fc784(0x293)]&&_0xd0c252<=this[_0x2fc784(0xd7)][_0x2fc784(0x16e)]){this[_0x2fc784(0x29f)]({'hovered':!0x0});return;}this[_0x2fc784(0x29f)]({'hovered':!0x1});}[_0x401f20(0x2e4)](_0x9af42f){return!0x1;}[_0x401f20(0x183)](_0x1cd22b){const _0x1e8b86=_0x401f20;_0x112879['Rect'][_0x1e8b86(0x1a7)](_0x1cd22b,{'width':this['width'],'height':this[_0x1e8b86(0xa6)],'strokeWidth':_0x21989b,'stroke':this[_0x1e8b86(0x2d9)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1e8b86(0xb2)]&&(_0x1cd22b[_0x1e8b86(0x24f)](),_0x1cd22b['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1e8b86(0x188)]===_0x1e8b86(0x156)?0x0:-0x14),_0x14240d['drawWith'](_0x1cd22b,{'text':this[_0x1e8b86(0x1fc)],'color':this['_color']}),_0x1cd22b[_0x1e8b86(0x2fb)]());}}var _0x1dfc08=Object[_0x401f20(0x2e6)],_0x470600=(_0x1e0f60,_0x86b3cf,_0x46e038,_0x24d6c5)=>{const _0x3e43b5=_0x401f20;for(var _0x5cb352=_0x24d6c5>0x1?void 0x0:_0x24d6c5?_0x1dfc08(_0x86b3cf,_0x46e038):_0x86b3cf,_0x4ac283=_0x1e0f60[_0x3e43b5(0x2c4)]-0x1,_0x6a28a5;_0x4ac283>=0x0;_0x4ac283--)(_0x6a28a5=_0x1e0f60[_0x4ac283])&&(_0x5cb352=_0x6a28a5(_0x5cb352)||_0x5cb352);return _0x5cb352;},_0x3c5254=(_0x230fc7,_0x4b5f1b)=>(_0x26851e,_0x48f034)=>_0x4b5f1b(_0x26851e,_0x48f034,_0x230fc7);const _0xc2386=0x1389;let _0x1785e5=class extends _0x23c5c6['RxDisposable']{constructor(_0x260055,_0x4cbb87,_0x37f3b1,_0x4afc18){const _0x48ef2c=_0x401f20;super(),_0x1fcf73(this,_0x48ef2c(0x235),new Set()),_0x1fcf73(this,_0x48ef2c(0x166),null),(this[_0x48ef2c(0x220)]=_0x260055,this['_sheetSkeletonManagerService']=_0x4cbb87,this[_0x48ef2c(0x258)]=_0x37f3b1,this['_themeService']=_0x4afc18,this[_0x48ef2c(0x153)]());}[_0x401f20(0x153)](){const _0x1a9b95=_0x401f20;this[_0x1a9b95(0x13d)][_0x1a9b95(0x101)][_0x1a9b95(0xb9)](_0x15e5b5['takeUntil'](this['dispose$']),_0x15e5b5[_0x1a9b95(0x1a6)](_0x57b5e1=>{const _0xc66a3=_0x1a9b95;if(_0x57b5e1){const _0x28aab8=_0x57b5e1[_0xc66a3(0x1ac)];return _0xb82969[_0xc66a3(0x129)](this[_0xc66a3(0x258)]['getCollabCursors$'](this['_context'][_0xc66a3(0x21a)]),this[_0xc66a3(0xef)]['currentTheme$'])[_0xc66a3(0xb9)](_0x15e5b5[_0xc66a3(0x28e)](([_0x647953,_0x59bb51])=>{const _0x4ae876=_0xc66a3,_0x3e9999=new Map();return _0x647953[_0x4ae876(0x122)]((_0x44ff0e,_0x5ac1ab)=>{const _0x377bd2=_0x4ae876;if(_0x44ff0e[_0x377bd2(0x28b)]===_0x28aab8){const _0xb7de91={..._0x44ff0e};_0xb7de91[_0x377bd2(0x116)]=this[_0x377bd2(0xef)][_0x377bd2(0x264)](_0x44ff0e['color']),_0x3e9999['set'](_0x5ac1ab,_0xb7de91);}}),{'skeleton':_0x57b5e1,'cursors':_0x3e9999};}));}return _0xb82969['of']({'skeleton':null,'cursors':new Map()});}))[_0x1a9b95(0x1bc)](({skeleton:_0x261420,cursors:_0x42d5d2})=>{const _0x390fc3=_0x1a9b95;this[_0x390fc3(0x2b7)](),_0x261420&&this[_0x390fc3(0x113)](_0x261420,_0x42d5d2);}),this['_sheetSkeletonManagerService'][_0x1a9b95(0x101)][_0x1a9b95(0x1bc)](_0x3edab7=>{const _0x430039=_0x1a9b95;if(_0x3edab7==null)return;const {skeleton:_0x4f286a}=_0x3edab7,{scene:_0x1b1544}=this[_0x430039(0x220)];_0x1b1544[_0x430039(0xa7)][_0x430039(0x105)](_0x23c5c6[_0x430039(0xcc)](_0x127eb0=>{const _0x2f5627=_0x430039;var _0x13f4c0,_0x4282c8;const {offsetX:_0x3e0f3b,offsetY:_0x84c674}=_0x127eb0,{x:_0x223b2c,y:_0x5929ad}=_0x1b1544['getRelativeToViewportCoord'](_0x112879[_0x2f5627(0x26a)][_0x2f5627(0x23f)]([_0x3e0f3b,_0x84c674])),{scaleX:_0x935bab,scaleY:_0x4085cb}=_0x1b1544['getAncestorScale'](),_0x497c30=_0x1b1544[_0x2f5627(0x1a4)](_0x112879[_0x2f5627(0x2e2)][_0x2f5627(0x26f)]),_0x5654aa=_0x1b1544[_0x2f5627(0x15e)](_0x112879[_0x2f5627(0x26a)]['FromArray']([_0x223b2c,_0x5929ad]),_0x497c30),_0x224496=_0x4f286a[_0x2f5627(0x257)](_0x3e0f3b,_0x84c674,_0x935bab,_0x4085cb,_0x5654aa);((_0x13f4c0=this[_0x2f5627(0x166)])==null?void 0x0:_0x13f4c0[_0x2f5627(0x2da)])===_0x224496[_0x2f5627(0x2da)]&&((_0x4282c8=this[_0x2f5627(0x166)])==null?void 0x0:_0x4282c8['row'])===_0x224496[_0x2f5627(0x14f)]||this[_0x2f5627(0x235)][_0x2f5627(0x122)](_0x230411=>{const _0xd401d9=_0x2f5627;_0x230411[_0xd401d9(0x30d)](_0x224496);});},0x64));});}['_updateCollabCursors'](_0x26f10,_0x39982a){const _0x200479=_0x401f20;var _0x3f8294;const _0x37c4d2=(_0x3f8294=this[_0x200479(0x13d)]['getCurrent']())==null?void 0x0:_0x3f8294[_0x200479(0x242)];if(!_0x37c4d2)return;const _0x18e40c=this[_0x200479(0x247)]();if(!_0x18e40c)return;this[_0x200479(0x235)][_0x200479(0x122)](_0x479d84=>{const _0x1e01a3=_0x200479;_0x479d84[_0x1e01a3(0x289)]();});const {scene:_0x2068ed}=_0x18e40c,_0x31732b=_0x44d130(Array[_0x200479(0x2ac)](_0x39982a[_0x200479(0x185)]()))['map'](_0x34b38f=>{const _0x3960e0=_0x200479,{color:_0x10c629,range:_0x3d015d,name:_0x2e31ef,selection:_0x5cdb7d,sheetID:_0x380f2e}=_0x34b38f,{startColumn:_0xa6108,startRow:_0x4713e5,endColumn:_0x149955,endRow:_0x3d7e46}=_0x3d015d,_0x50e0c8=_0x2562e9[_0x3960e0(0x2c0)](_0x4713e5,_0xa6108,_0x2068ed,_0x37c4d2),_0x3d4a06=_0x2562e9[_0x3960e0(0x2c0)](_0x3d7e46,_0x149955,_0x2068ed,_0x37c4d2),{columnHeaderHeightAndMarginTop:_0x43fbac}=_0x37c4d2,{startX:_0x127247,startY:_0x5f4a5c}=_0x50e0c8,{endX:_0x56621b,endY:_0x1bd58a}=_0x3d4a06,_0x159197=_0x56621b-_0x127247,_0x8bd967=_0x1bd58a-_0x5f4a5c,_0x4f4f6f={'labelPosition':_0x5f4a5c-_0x43fbac>=_0x403e4a?_0x3960e0(0x2ba):_0x3960e0(0x156),'sheetID':_0x380f2e,'range':_0x3d015d,'color':_0x10c629,'name':_0x2e31ef,'selection':_0x5cdb7d,'left':_0x127247,'top':_0x5f4a5c,'width':_0x159197,'height':_0x8bd967,'evented':!0x1,'zIndex':_0xc2386};return new _0x4a6a14(_0x2e31ef,_0x4f4f6f);});_0x2068ed[_0x200479(0x2b0)](_0x31732b,_0x564d59),this[_0x200479(0x235)]=new Set(_0x31732b);}[_0x401f20(0x2b7)](){const _0xb13886=_0x401f20;var _0x337fa1;(_0x337fa1=this['_cursors'])==null||_0x337fa1[_0xb13886(0x122)](_0x205a2c=>_0x205a2c[_0xb13886(0x2b1)]());}[_0x401f20(0x247)](){const _0xc6055e=_0x401f20;return _0x2562e9[_0xc6055e(0x1d5)](this[_0xc6055e(0x220)]['unit'],this[_0xc6055e(0x220)]);}};_0x1785e5=_0x470600([_0x3c5254(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x2562e9[_0x401f20(0x163)])),_0x3c5254(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x4265e2)),_0x3c5254(0x3,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x303)]))],_0x1785e5);function _0x44d130(_0x31eafd){const _0x3d70cd=_0x401f20,_0x57eb9b=new Map();return _0x31eafd[_0x3d70cd(0x122)](_0x1ad38d=>{const _0x4da280=_0x3d70cd;if(_0x57eb9b['has'](_0x1ad38d[_0x4da280(0x285)])){const _0x470ca5=_0x57eb9b[_0x4da280(0x150)](_0x1ad38d[_0x4da280(0x285)]);_0x470ca5[_0x4da280(0x269)]+=',\x20'+_0x1ad38d[_0x4da280(0x269)];}else _0x57eb9b[_0x4da280(0xa1)](_0x1ad38d[_0x4da280(0x285)],_0x1ad38d);}),Array[_0x3d70cd(0x2ac)](_0x57eb9b[_0x3d70cd(0x185)]());}var _0x50fb04=function(){const _0x530145=_0x401f20;return _0x50fb04=Object[_0x530145(0x1b7)]||function(_0x232cb6){const _0x2e3ddb=_0x530145;for(var _0x3e2171,_0x949822=0x1,_0x2fdbfa=arguments[_0x2e3ddb(0x2c4)];_0x949822<_0x2fdbfa;_0x949822++){_0x3e2171=arguments[_0x949822];for(var _0x56c638 in _0x3e2171)Object[_0x2e3ddb(0x115)]['hasOwnProperty'][_0x2e3ddb(0xde)](_0x3e2171,_0x56c638)&&(_0x232cb6[_0x56c638]=_0x3e2171[_0x56c638]);}return _0x232cb6;},_0x50fb04[_0x530145(0x8a)](this,arguments);},_0x523c36=function(_0xe9167a,_0x589dd8){const _0x460028=_0x401f20;var _0x233098={};for(var _0x36a1bb in _0xe9167a)Object[_0x460028(0x115)]['hasOwnProperty'][_0x460028(0xde)](_0xe9167a,_0x36a1bb)&&_0x589dd8[_0x460028(0x1e5)](_0x36a1bb)<0x0&&(_0x233098[_0x36a1bb]=_0xe9167a[_0x36a1bb]);if(_0xe9167a!=null&&typeof Object[_0x460028(0x189)]==_0x460028(0x30f)){for(var _0x166e4f=0x0,_0x36a1bb=Object[_0x460028(0x189)](_0xe9167a);_0x166e4f<_0x36a1bb['length'];_0x166e4f++)_0x589dd8[_0x460028(0x1e5)](_0x36a1bb[_0x166e4f])<0x0&&Object['prototype'][_0x460028(0x2ab)][_0x460028(0xde)](_0xe9167a,_0x36a1bb[_0x166e4f])&&(_0x233098[_0x36a1bb[_0x166e4f]]=_0xe9167a[_0x36a1bb[_0x166e4f]]);}return _0x233098;},_0x51b640=_0x7521d1[_0x401f20(0x2ed)](function(_0x206ebc,_0x8152ad){const _0x487f1e=_0x401f20;var _0x5585f4=_0x206ebc[_0x487f1e(0x2c6)],_0x19be18=_0x206ebc['id'],_0xfbb690=_0x206ebc[_0x487f1e(0x148)],_0x4193de=_0x206ebc[_0x487f1e(0xb0)],_0x126a8d=_0x523c36(_0x206ebc,[_0x487f1e(0x2c6),'id','className','extend']),_0x282825='univerjs-icon\x20univerjs-icon-'[_0x487f1e(0x241)](_0x19be18,'\x20')[_0x487f1e(0x241)](_0xfbb690||'')[_0x487f1e(0x20e)](),_0x12e64f=_0x7521d1['useRef']('_'[_0x487f1e(0x241)](_0x67b581()));return _0x284747(_0x5585f4,''[_0x487f1e(0x241)](_0x19be18),{'defIds':_0x5585f4[_0x487f1e(0x2dd)],'idSuffix':_0x12e64f[_0x487f1e(0x208)]},_0x50fb04({'ref':_0x8152ad,'className':_0x282825},_0x126a8d),_0x4193de);});function _0x284747(_0x2f78ea,_0x29b4e8,_0x164aec,_0x3c508f,_0x956746){const _0x317066=_0x401f20;return _0x7521d1['createElement'](_0x2f78ea[_0x317066(0xe8)],_0x50fb04(_0x50fb04({'key':_0x29b4e8},_0x1d1fab(_0x2f78ea,_0x164aec,_0x956746)),_0x3c508f),(_0x1f8e7e(_0x2f78ea,_0x164aec)[_0x317066(0x1c0)]||[])['map'](function(_0x5b17fc,_0x16d8c6){const _0x1b0f5f=_0x317066;return _0x284747(_0x5b17fc,''[_0x1b0f5f(0x241)](_0x29b4e8,'-')[_0x1b0f5f(0x241)](_0x2f78ea[_0x1b0f5f(0xe8)],'-')['concat'](_0x16d8c6),_0x164aec,void 0x0,_0x956746);}));}function _0x1d1fab(_0x3a97fb,_0x5302b8,_0x11ed6e){const _0x2c7055=_0x401f20;var _0x3aa7da=_0x50fb04({},_0x3a97fb[_0x2c7055(0x2d5)]);_0x11ed6e!=null&&_0x11ed6e[_0x2c7055(0x2be)]&&_0x3aa7da['fill']===_0x2c7055(0x2be)&&(_0x3aa7da[_0x2c7055(0x140)]=_0x11ed6e[_0x2c7055(0x2be)]),_0x3a97fb[_0x2c7055(0xe8)]===_0x2c7055(0x2aa)&&_0x3aa7da['id']&&(_0x3aa7da['id']=_0x3aa7da['id']+_0x5302b8[_0x2c7055(0x224)]),Object[_0x2c7055(0x28c)](_0x3aa7da)['forEach'](function(_0x38c8e2){const _0x1fcbce=_0x2c7055;var _0xf8e6fb=_0x38c8e2[0x0],_0x3f1efd=_0x38c8e2[0x1];_0xf8e6fb===_0x1fcbce(0x2aa)&&typeof _0x3f1efd==_0x1fcbce(0x19a)&&(_0x3aa7da[_0xf8e6fb]=_0x3f1efd[_0x1fcbce(0x1bf)](/url\(#(.*)\)/,'url(#$1'[_0x1fcbce(0x241)](_0x5302b8['idSuffix'],')')));});var _0x8df22d=_0x5302b8[_0x2c7055(0x2dd)];return!_0x8df22d||_0x8df22d[_0x2c7055(0x2c4)]===0x0||(_0x3a97fb[_0x2c7055(0xe8)]==='use'&&_0x3aa7da[_0x2c7055(0x1f2)]&&(_0x3aa7da['xlink:href']=_0x3aa7da[_0x2c7055(0x1f2)]+_0x5302b8[_0x2c7055(0x224)]),Object['entries'](_0x3aa7da)[_0x2c7055(0x122)](function(_0x4508b5){const _0x3944c3=_0x2c7055;var _0x218e4b=_0x4508b5[0x0],_0x4aeec8=_0x4508b5[0x1];typeof _0x4aeec8==_0x3944c3(0x19a)&&(_0x3aa7da[_0x218e4b]=_0x4aeec8[_0x3944c3(0x1bf)](/url\(#(.*)\)/,_0x3944c3(0x132)[_0x3944c3(0x241)](_0x5302b8['idSuffix'],')')));})),_0x3aa7da;}function _0x1f8e7e(_0x857c42,_0x3ebdbf){const _0x1a8e39=_0x401f20;var _0x3ef47a,_0x48fa8e=_0x3ebdbf[_0x1a8e39(0x2dd)];return!_0x48fa8e||_0x48fa8e['length']===0x0?_0x857c42:_0x857c42['tag']==='defs'&&(!((_0x3ef47a=_0x857c42['children'])===null||_0x3ef47a===void 0x0)&&_0x3ef47a['length'])?_0x50fb04(_0x50fb04({},_0x857c42),{'children':_0x857c42[_0x1a8e39(0x1c0)]['map'](function(_0x386a9e){const _0x3f165c=_0x1a8e39;return typeof _0x386a9e[_0x3f165c(0x2d5)]['id']=='string'&&_0x48fa8e&&_0x48fa8e[_0x3f165c(0xa5)](_0x386a9e[_0x3f165c(0x2d5)]['id'])?_0x50fb04(_0x50fb04({},_0x386a9e),{'attrs':_0x50fb04(_0x50fb04({},_0x386a9e[_0x3f165c(0x2d5)]),{'id':_0x386a9e[_0x3f165c(0x2d5)]['id']+_0x3ebdbf[_0x3f165c(0x224)]})}):_0x386a9e;})}):_0x857c42;}function _0x67b581(){const _0x320e10=_0x401f20;return Math[_0x320e10(0x13e)]()[_0x320e10(0xaa)](0x24)['substring'](0x2,0x8);}_0x51b640[_0x401f20(0x27b)]='UniverIcon';var _0x3b340b={'tag':_0x401f20(0x274),'attrs':{'xmlns':_0x401f20(0x198),'fill':'none','viewBox':_0x401f20(0x1eb),'width':_0x401f20(0x2e8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x401f20(0xb8)},'children':[{'tag':'path','attrs':{'stroke':_0x401f20(0x1d9),'d':'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','strokeLinecap':_0x401f20(0x2e0),'strokeLinejoin':_0x401f20(0x2e0),'strokeWidth':1.2}}]},{'tag':_0x401f20(0x199),'attrs':{},'children':[{'tag':_0x401f20(0x2bd),'attrs':{'id':_0x401f20(0x84)},'children':[{'tag':_0x401f20(0x2f9),'attrs':{'fill':_0x401f20(0x15c),'d':_0x401f20(0x17f)}}]}]}],'defIds':[_0x401f20(0x84)]},_0x38ebad=_0x7521d1[_0x401f20(0x2ed)](function(_0x5cd1f8,_0x5dbd75){const _0x37d4c1=_0x401f20;return _0x7521d1[_0x37d4c1(0x1db)](_0x51b640,Object['assign']({},_0x5cd1f8,{'id':_0x37d4c1(0x1ca),'ref':_0x5dbd75,'icon':_0x3b340b}));});_0x38ebad[_0x401f20(0x27b)]=_0x401f20(0x1a3);var _0x189d46={'tag':'svg','attrs':{'xmlns':_0x401f20(0x198),'fill':_0x401f20(0xf8),'viewBox':_0x401f20(0x1d0),'width':_0x401f20(0x2e8),'height':_0x401f20(0x2e8)},'children':[{'tag':'g','attrs':{'clipPath':_0x401f20(0x1cb)},'children':[{'tag':'path','attrs':{'stroke':_0x401f20(0x1d9),'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':_0x401f20(0x2e0),'strokeLinejoin':_0x401f20(0x2e0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x401f20(0x2bd),'attrs':{'id':_0x401f20(0x13a)},'children':[{'tag':_0x401f20(0x2f9),'attrs':{'fill':_0x401f20(0x15c),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x401f20(0x13a)]},_0x4569a0=_0x7521d1['forwardRef'](function(_0x4febb5,_0x38567a){const _0x3b820a=_0x401f20;return _0x7521d1[_0x3b820a(0x1db)](_0x51b640,Object[_0x3b820a(0x1b7)]({},_0x4febb5,{'id':_0x3b820a(0x259),'ref':_0x38567a,'icon':_0x189d46}));});_0x4569a0['displayName']=_0x401f20(0x250);function _0x3990dd(_0xe97a65){const _0x330d2e=_0x401f20;switch(_0xe97a65){case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x297)]:return _0x330d2e(0x238);case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x229)]:return _0x330d2e(0x1ef);case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0xb7)]:return'collabStatus.fetchMiss';case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x2c7)]:return _0x330d2e(0xdd);case _0xe14e['CollaborationStatus']['AWAITING']:case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0xf5)]:return'collabStatus.syncing';case _0xe14e[_0x330d2e(0x178)][_0x330d2e(0x2ea)]:case _0xe14e['CollaborationStatus'][_0x330d2e(0x12b)]:return _0x330d2e(0x277);}}function _0x5e0fc3(_0x1ba516){const _0xf20fae=_0x401f20,{status$:_0x5145b4}=_0x1ba516,_0x24e3ed=_0x4c9765['useObservable'](_0x5145b4,_0xe14e[_0xf20fae(0x178)][_0xf20fae(0x2c7)]),_0x47524d=_0x4c9765['useDependency'](_0x23c5c6[_0xf20fae(0x227)]),_0xf066e3=_0x4c9765['useDependency'](_0xe14e[_0xf20fae(0x2fc)]),_0x19b9b3=_0x24e3ed!==_0xe14e['CollaborationStatus']['OFFLINE'],_0x13c118=_0x47524d['t'](_0x3990dd(_0x24e3ed)),_0x46812a=_0x19b9b3?_0x9e75b8['jsx'](_0x4569a0,{}):_0x9e75b8['jsx'](_0x38ebad,{}),_0x5394ac=_0x7521d1[_0xf20fae(0x128)](()=>{const _0x7f87dd=_0xf20fae;_0x19b9b3||_0xf066e3[_0x7f87dd(0x1d7)]();},[_0x19b9b3,_0xf066e3]);function _0x380aea(){const _0x497846=_0xf20fae;return _0x9e75b8[_0x497846(0x1b9)]('div',{'className':_0x497846(0x195),'onClick':_0x5394ac,'children':[_0x9e75b8[_0x497846(0x1fb)](_0x497846(0x263),{'className':_0x4f07b6[_0x497846(0x226)](_0x497846(0x22c),{'univer-text-green-500':_0x19b9b3,'univer-text-red-500':!_0x19b9b3}),'children':_0x46812a}),_0x9e75b8[_0x497846(0x1fb)](_0x497846(0x263),{'className':_0x497846(0x261),'children':_0x13c118})]});}return _0x19b9b3?_0x380aea():_0x9e75b8[_0xf20fae(0x1fb)](_0x4f07b6[_0xf20fae(0x2a4)],{'title':_0x47524d['t'](_0xf20fae(0x272)),'children':_0x380aea()});}var _0x132c7c=Object[_0x401f20(0x2e6)],_0x4f5dbd=(_0x420ee6,_0x5cf1d8,_0x2b5347,_0x379b53)=>{const _0x151fc0=_0x401f20;for(var _0x3595aa=_0x379b53>0x1?void 0x0:_0x379b53?_0x132c7c(_0x5cf1d8,_0x2b5347):_0x5cf1d8,_0x44a039=_0x420ee6[_0x151fc0(0x2c4)]-0x1,_0x2a8021;_0x44a039>=0x0;_0x44a039--)(_0x2a8021=_0x420ee6[_0x44a039])&&(_0x3595aa=_0x2a8021(_0x3595aa)||_0x3595aa);return _0x3595aa;},_0x4b9891=(_0x53b094,_0x12a657)=>(_0x59658f,_0x1631f8)=>_0x12a657(_0x59658f,_0x1631f8,_0x53b094);_0x3e697f['DesktopCollaborationStatusDisplayController']=class extends _0x23c5c6['Disposable']{constructor(_0x50a05b,_0x4cf1e9,_0x526b30,_0x24c025){const _0x143125=_0x401f20;super(),_0x1fcf73(this,_0x143125(0x270),new _0xb82969['BehaviorSubject'](_0xe14e[_0x143125(0x178)]['NOT_COLLAB'])),(this[_0x143125(0x27e)]=_0x50a05b,this['_injector']=_0x4cf1e9,this[_0x143125(0x8b)]=_0x526b30,this[_0x143125(0x239)]=_0x24c025,this[_0x143125(0x1f0)](),this[_0x143125(0x252)]());}['_initStatusListener'](){const _0x504767=_0x401f20;this[_0x504767(0x164)](this[_0x504767(0x27e)][_0x504767(0x182)]['pipe'](_0xb82969['switchMap'](()=>{const _0x5eb860=_0x504767,_0x4c4c65=this[_0x5eb860(0x27e)][_0x5eb860(0x248)]();return _0x4c4c65?this['_collaborationController'][_0x5eb860(0x85)](_0x4c4c65[_0x5eb860(0xf9)]()):_0xb82969['of'](null);}),_0xb82969[_0x504767(0x1a6)](_0x8b74b0=>_0x8b74b0?_0x8b74b0[_0x504767(0x2e5)]:_0xb82969['of'](_0xe14e[_0x504767(0x178)][_0x504767(0x2c7)])))[_0x504767(0x1bc)](_0xeb57a7=>{const _0x24903f=_0x504767;this[_0x24903f(0x270)][_0x24903f(0x29d)](_0xeb57a7);}));}[_0x401f20(0x1f0)](){const _0x5e708c=_0x401f20;this[_0x5e708c(0x164)](this[_0x5e708c(0x239)][_0x5e708c(0x2ca)](_0x4c9765[_0x5e708c(0x107)][_0x5e708c(0x2c1)],()=>_0x4c9765['connectInjector'](_0xdcd281({'status$':this[_0x5e708c(0x270)][_0x5e708c(0x196)]()}),this['_injector'])));}},_0x3e697f[_0x401f20(0x1f1)]=_0x4f5dbd([_0x4b9891(0x0,_0x23c5c6[_0x401f20(0x2b6)]),_0x4b9891(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6['Injector'])),_0x4b9891(0x2,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0x18c)])),_0x4b9891(0x3,_0x4c9765[_0x401f20(0x279)])],_0x3e697f[_0x401f20(0x1f1)]);function _0xdcd281(_0x21ae0b){const {status$:_0x47e621}=_0x21ae0b;return function(){const _0x1860a1=_0x10ca;return _0x9e75b8[_0x1860a1(0x1fb)](_0x5e0fc3,{'status$':_0x47e621});};}var _0x574366=Object[_0x401f20(0x2e6)],_0x3693b9=(_0x4554f5,_0x22f279,_0x573588,_0x218a19)=>{const _0xe88503=_0x401f20;for(var _0x32c959=_0x218a19>0x1?void 0x0:_0x218a19?_0x574366(_0x22f279,_0x573588):_0x22f279,_0x4ad99d=_0x4554f5[_0xe88503(0x2c4)]-0x1,_0xffc43c;_0x4ad99d>=0x0;_0x4ad99d--)(_0xffc43c=_0x4554f5[_0x4ad99d])&&(_0x32c959=_0xffc43c(_0x32c959)||_0x32c959);return _0x32c959;},_0x15ac61=(_0x57aa79,_0x20d0ff)=>(_0x3057b3,_0x5ae1ca)=>_0x20d0ff(_0x3057b3,_0x5ae1ca,_0x57aa79);let _0x5a6da5=class extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(_0x3f9424,_0x31e159,_0x38d24e,_0x14a6b4,_0x2bdeab,_0x15f4b2){const _0x2cd19a=_0x401f20;super(),this[_0x2cd19a(0x121)]=_0x3f9424,this[_0x2cd19a(0x276)]=_0x31e159,this[_0x2cd19a(0x1c9)]=_0x38d24e,this[_0x2cd19a(0x1d4)]=_0x14a6b4,this[_0x2cd19a(0x1ff)]=_0x2bdeab,this[_0x2cd19a(0xbb)]=_0x15f4b2,this[_0x2cd19a(0x133)](),this['_initEvent']();}[_0x401f20(0x133)](){const _0x36ada9=_0x401f20;this[_0x36ada9(0x164)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0xe6563d=_0x36ada9;if(this['_localCacheService'][_0xe6563d(0x1fe)]['size'])return this['_localeService']['t'](_0xe6563d(0x302));}));}['_initEvent'](){const _0x48fbdd=_0x401f20;this[_0x48fbdd(0x164)](this[_0x48fbdd(0x1c9)][_0x48fbdd(0x1c7)]['subscribe'](_0x3f1c9f=>{const _0x4a86fb=_0x48fbdd;_0x3f1c9f['id']===_0xe14e['CollaborationUIEventId'][_0x4a86fb(0x228)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x21c))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0xc3)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x126))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0xfe)]&&this[_0x4a86fb(0x1ff)]['show']({'title':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x24b)),'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0xc4)),'type':_0x4a86fb(0x236),'duration':0x0}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x229)]&&this[_0x4a86fb(0x1d4)]['show']({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x10a)],'content':this['_localeService']['t'](_0x4a86fb(0x126))+'('+_0x3f1c9f[_0x4a86fb(0x2a5)]+')'}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x1b6)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x3f1c9f[_0x4a86fb(0x2a5)]||'')}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0xb4)]&&this['_messageService'][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x109)],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x176))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x15f)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6['MessageType']['Error'],'content':this[_0x4a86fb(0xbb)]['t'](_0x4a86fb(0x231))}),_0x3f1c9f['id']===_0xe14e[_0x4a86fb(0x219)][_0x4a86fb(0x2e3)]&&this[_0x4a86fb(0x1d4)][_0x4a86fb(0x2b3)]({'type':_0x4f07b6[_0x4a86fb(0x159)][_0x4a86fb(0x10a)],'content':this['_localeService']['t'](_0x4a86fb(0xed))});}));}};_0x5a6da5=_0x3693b9([_0x15ac61(0x0,_0x4c9765[_0x401f20(0x25b)]),_0x15ac61(0x1,_0xe14e[_0x401f20(0x288)]),_0x15ac61(0x2,_0x23c5c6[_0x401f20(0x12e)](_0xe14e[_0x401f20(0xc2)])),_0x15ac61(0x3,_0x4c9765[_0x401f20(0x2de)]),_0x15ac61(0x4,_0x4c9765[_0x401f20(0xd1)]),_0x15ac61(0x5,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x227)]))],_0x5a6da5);const _0x2530f0=_0x401f20(0xcb),_0x701b81={},_0x2488de=_0x23c5c6[_0x401f20(0x1e7)]('uni.network.url-service');var _0x35c3b1=Object[_0x401f20(0x2e6)],_0x34bddd=(_0x3a30e6,_0x586ebf,_0x40051e,_0x23537b)=>{const _0x112c6a=_0x401f20;for(var _0x4116f2=_0x23537b>0x1?void 0x0:_0x23537b?_0x35c3b1(_0x586ebf,_0x40051e):_0x586ebf,_0x49b014=_0x3a30e6[_0x112c6a(0x2c4)]-0x1,_0xcaf267;_0x49b014>=0x0;_0x49b014--)(_0xcaf267=_0x3a30e6[_0x49b014])&&(_0x4116f2=_0xcaf267(_0x4116f2)||_0x4116f2);return _0x4116f2;},_0x129b34=(_0xeb8dc6,_0x92d952)=>(_0x25fd6e,_0x27624c)=>_0x92d952(_0x25fd6e,_0x27624c,_0xeb8dc6);_0x3e697f[_0x401f20(0x282)]=class extends _0x23c5c6[_0x401f20(0x143)]{constructor(_0x418797,_0x5c8ced,_0x4c54b6,_0x261db9,_0x309cd2){const _0x3d28cd=_0x401f20;super(),this[_0x3d28cd(0x1ba)]=_0x418797,this[_0x3d28cd(0x17c)]=_0x5c8ced,this['_commandService']=_0x4c54b6,this[_0x3d28cd(0x2f0)]=_0x261db9,_0x309cd2?_0x309cd2==null||_0x309cd2['whenReady']()[_0x3d28cd(0x144)](()=>this[_0x3d28cd(0x153)]()):(this[_0x3d28cd(0x17c)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x401f20(0x153)](){const _0x4219ff=_0x401f20,_0x2d8a9f=this[_0x4219ff(0x1ba)][_0x4219ff(0x2f1)](_0x4219ff(0x280)),_0x4da6e8=this['_urlService']['getParam'](_0x4219ff(0x161)),_0x23a219=this[_0x4219ff(0x1ba)][_0x4219ff(0x2f1)]('subunit');if(!_0x2d8a9f||!_0x4da6e8){this[_0x4219ff(0x17c)][_0x4219ff(0xcd)](_0x4219ff(0x134),_0x4219ff(0xaf));return;}const _0x4a8a7b=await this[_0x4219ff(0x2f0)]['loadUnit'](_0x2d8a9f,Number(_0x4da6e8),_0x23a219);_0x4a8a7b&&_0x4a8a7b instanceof _0x23c5c6['Workbook']&&this['_setupSubUnitSync'](_0x4a8a7b);}async[_0x401f20(0x27a)](_0x193667){const _0x3b9f78=_0x401f20;await this[_0x3b9f78(0x2d8)](_0x193667),_0x193667[_0x3b9f78(0x268)]['pipe'](_0xb82969[_0x3b9f78(0x310)](this[_0x3b9f78(0x25e)]))[_0x3b9f78(0x1bc)](_0x5522ee=>{_0x5522ee&&this['_updateURLWithCurrentState'](_0x5522ee);}),this['_urlService']['urlChange$'][_0x3b9f78(0xb9)](_0xb82969['takeUntil'](this[_0x3b9f78(0x25e)]))[_0x3b9f78(0x1bc)](()=>this[_0x3b9f78(0x2d8)](_0x193667));}[_0x401f20(0x287)](_0x2a2ba4,_0x40cab8=!0x1){const _0x4e2229=_0x401f20,_0x8c3e27=this['_urlService'][_0x4e2229(0x2f1)](_0x4e2229(0x211));_0x2a2ba4[_0x4e2229(0xe3)]()!==_0x8c3e27&&this['_urlService'][_0x4e2229(0x2e9)](_0x4e2229(0x211),_0x2a2ba4[_0x4e2229(0xe3)](),_0x40cab8);}async[_0x401f20(0x2d8)](_0x50087d){const _0x1ee9b2=_0x401f20;var _0x488be3;const _0x3558b4=this[_0x1ee9b2(0x1ba)][_0x1ee9b2(0x2f1)](_0x1ee9b2(0x211));if(!_0x3558b4||!_0x50087d['getSheetBySheetId'](_0x3558b4)){const _0x115c2a=_0x50087d[_0x1ee9b2(0x13c)]()[0x0],_0x2fdcde=_0x50087d['getSheetBySheetId'](_0x115c2a);if(!_0x2fdcde)return;this[_0x1ee9b2(0x287)](_0x2fdcde,!0x0),await this['_commandService']['executeCommand'](_0x3b49ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x50087d[_0x1ee9b2(0xf9)](),'subUnitId':_0x115c2a});return;}((_0x488be3=_0x50087d[_0x1ee9b2(0x14a)]())==null?void 0x0:_0x488be3[_0x1ee9b2(0xe3)]())!==_0x3558b4&&await this[_0x1ee9b2(0x9f)][_0x1ee9b2(0x243)](_0x3b49ce['SetWorksheetActivateCommand']['id'],{'unitId':_0x50087d[_0x1ee9b2(0xf9)](),'subUnitId':_0x3558b4});}},_0x3e697f[_0x401f20(0x282)]=_0x34bddd([_0x129b34(0x0,_0x2488de),_0x129b34(0x1,_0x23c5c6[_0x401f20(0x1f6)]),_0x129b34(0x2,_0x23c5c6[_0x401f20(0x30c)]),_0x129b34(0x3,_0x23c5c6['Inject'](_0xe14e[_0x401f20(0xda)])),_0x129b34(0x4,_0x23c5c6['Optional'](_0x49a16d['IRemoteInstanceService']))],_0x3e697f[_0x401f20(0x282)]);var _0x45a324=Object[_0x401f20(0x2e6)],_0x206601=(_0x31b207,_0x4b5448,_0x1f990,_0x21c450)=>{const _0x145b6c=_0x401f20;for(var _0x4f455c=_0x21c450>0x1?void 0x0:_0x21c450?_0x45a324(_0x4b5448,_0x1f990):_0x4b5448,_0x179a34=_0x31b207[_0x145b6c(0x2c4)]-0x1,_0xb8d88b;_0x179a34>=0x0;_0x179a34--)(_0xb8d88b=_0x31b207[_0x179a34])&&(_0x4f455c=_0xb8d88b(_0x4f455c)||_0x4f455c);return _0x4f455c;},_0x4c51eb=(_0xd66e7c,_0x3cd003)=>(_0x4127a0,_0x168dad)=>_0x3cd003(_0x4127a0,_0x168dad,_0xd66e7c);let _0x2c6c00=class{constructor(_0x35aa96,_0x11a938,_0x3c80b7){const _0x3aca27=_0x401f20;this['_injector']=_0x35aa96,this[_0x3aca27(0x2cb)]=_0x11a938,this['_renderManagerService']=_0x3c80b7;}[_0x401f20(0x174)](_0xcbda6e){const _0xe9823d=_0x401f20;this[_0xe9823d(0x103)](_0xcbda6e),this[_0xe9823d(0x291)](_0xcbda6e);}['transformRemoteChangeset'](_0xfba76a){const _0x282179=_0x401f20,{unitID:_0x460f53}=_0xfba76a,_0x122e29=this[_0x282179(0x240)][_0x282179(0x233)](_0x460f53)[_0x282179(0x1c6)](_0x1f875c[_0x282179(0x173)]),{redoCache:_0x10a065}=_0x122e29[_0x282179(0x210)]();if(_0x10a065[_0x282179(0x2c4)]===0x0)return _0xfba76a;let _0x40ec45=_0x23c5c6['Tools'][_0x282179(0x181)](_0xfba76a[_0x282179(0xd5)][0x0]);for(let _0x398b20=0x0;_0x398b20<_0x10a065[_0x282179(0x2c4)];_0x398b20++){const _0x57fafa={'id':_0x282179(0x22d),'params':{..._0x10a065[_0x398b20]}},_0x21cefc=this[_0x282179(0x2cb)]['transformMutation'](_0x40ec45,_0x57fafa,!0x1);if(_0x17be28[_0x282179(0xf4)](_0x21cefc))throw _0x21cefc['error'];_0x40ec45=_0x21cefc[_0x282179(0x26c)];}return{..._0x23c5c6[_0x282179(0x1aa)][_0x282179(0x181)](_0xfba76a),'mutations':[_0x40ec45]};}[_0x401f20(0x103)](_0x5ee18e){const _0x3429e2=_0x401f20,{unitID:_0x57f311}=_0x5ee18e,_0x46b47d=this['_renderManagerService'][_0x3429e2(0x233)](_0x57f311)[_0x3429e2(0x1c6)](_0x1f875c[_0x3429e2(0x173)]),{undoCache:_0x5ad6a5,redoCache:_0x4b7cd6}=_0x46b47d[_0x3429e2(0x210)]();if(_0x5ad6a5['length']===0x0||_0x4b7cd6[_0x3429e2(0x2c4)]===0x0)return;const _0x4b621f=[],_0x5cc6a9=[];let _0x187d23=_0x23c5c6['Tools'][_0x3429e2(0x181)](_0x5ee18e[_0x3429e2(0xd5)][0x0]),_0x11bccd=_0x23c5c6[_0x3429e2(0x1aa)][_0x3429e2(0x181)](_0x5ee18e[_0x3429e2(0xd5)][0x0]);for(let _0x42a0d5=_0x5ad6a5[_0x3429e2(0x2c4)]-0x1;_0x42a0d5>=0x0;_0x42a0d5--){const _0x5730fb={'id':_0x3429e2(0x22d),'params':{..._0x5ad6a5[_0x42a0d5]}},_0x5b9ac3={'id':_0x3429e2(0x22d),'params':{..._0x4b7cd6[_0x42a0d5]}},_0x4cf482=this['_transformService']['transformMutation'](_0x187d23,_0x5730fb,!0x1),_0x3c5b7a=this[_0x3429e2(0x2cb)][_0x3429e2(0x223)](_0x11bccd,_0x5b9ac3,!0x1);if(_0x17be28[_0x3429e2(0xf4)](_0x4cf482))throw _0x4cf482[_0x3429e2(0x236)];if(_0x17be28[_0x3429e2(0xf4)](_0x3c5b7a))throw _0x3c5b7a[_0x3429e2(0x236)];_0x4b621f['unshift'](_0x4cf482['m2Prime'][_0x3429e2(0x1cf)]),_0x5cc6a9[_0x3429e2(0x1f8)](_0x3c5b7a['m2Prime'][_0x3429e2(0x1cf)]),_0x187d23=_0x4cf482[_0x3429e2(0x26c)],_0x11bccd=_0x3c5b7a[_0x3429e2(0x26c)];}_0x46b47d[_0x3429e2(0x1a1)]({'undoCache':_0x4b621f,'redoCache':_0x5cc6a9});}[_0x401f20(0x291)](_0x22213b){const _0x1c1d29=_0x401f20,{unitID:_0x464c70}=_0x22213b,_0x3e4248=this[_0x1c1d29(0x240)][_0x1c1d29(0x233)](_0x464c70)['with'](_0x1f875c['DocIMEInputManagerService']),_0x27b4d8=_0x3e4248[_0x1c1d29(0xc5)]();if(_0x27b4d8==null)return;const _0x4c0703=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22213b[_0x1c1d29(0xcf)],'actions':null,'textRanges':[_0x27b4d8]}}],_0x416f1d=this['_transformService'][_0x1c1d29(0x246)](_0x22213b,_0x4c0703);if(!_0x17be28[_0x1c1d29(0x1af)](_0x416f1d))throw _0x416f1d['error'];const _0x3a4345=_0x416f1d[_0x1c1d29(0x249)][0x0]['params'][_0x1c1d29(0x1df)];Array[_0x1c1d29(0x29e)](_0x3a4345)&&_0x3a4345[_0x1c1d29(0x2c4)]&&_0x3e4248['setActiveRange'](_0x3a4345[0x0]);}};_0x2c6c00=_0x206601([_0x4c51eb(0x0,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x4c51eb(0x1,_0x17be28[_0x401f20(0x29b)]),_0x4c51eb(0x2,_0x112879['IRenderManagerService'])],_0x2c6c00);var _0x22749b=Object[_0x401f20(0x2e6)],_0x263ac8=(_0x465bb2,_0xce8b36,_0x147561,_0x8dfa65)=>{for(var _0xc6a374=_0x8dfa65>0x1?void 0x0:_0x8dfa65?_0x22749b(_0xce8b36,_0x147561):_0xce8b36,_0x3b5e2b=_0x465bb2['length']-0x1,_0x279a07;_0x3b5e2b>=0x0;_0x3b5e2b--)(_0x279a07=_0x465bb2[_0x3b5e2b])&&(_0xc6a374=_0x279a07(_0xc6a374)||_0xc6a374);return _0xc6a374;},_0x2ead50=(_0x1da31a,_0x599715)=>(_0x5387e7,_0x12135f)=>_0x599715(_0x5387e7,_0x12135f,_0x1da31a);let _0x45c26e=class{constructor(_0x3d59a3,_0x2fedd6,_0x1ad0b5){const _0x1eabc0=_0x401f20;this[_0x1eabc0(0x217)]=_0x3d59a3,this['_transformService']=_0x2fedd6,this[_0x1eabc0(0x23d)]=_0x1ad0b5;}[_0x401f20(0x1a8)](_0x5cb0c6){const _0x5d0b7d=_0x401f20;this[_0x5d0b7d(0x2c9)](_0x5cb0c6);}[_0x401f20(0x179)](_0x1387f0){const _0x381810=_0x401f20,{unitID:_0x52487c}=_0x1387f0,{collaboration:_0x55c8c1}=this[_0x381810(0x23d)]['getStateCache'](_0x52487c);if(_0x55c8c1['length']===0x0)return _0x1387f0;let _0x772014=_0x23c5c6[_0x381810(0x1aa)][_0x381810(0x181)](_0x1387f0['mutations'][0x0]);for(let _0xca115f=0x0;_0xca115f<_0x55c8c1[_0x381810(0x2c4)];_0xca115f++){const _0x3c794c={'id':_0x381810(0x22d),'params':{'unitId':_0x55c8c1[_0xca115f][_0x381810(0x21a)],..._0x55c8c1[_0xca115f][_0x381810(0x1a9)]}},_0x2c2851=this['_transformService']['transformMutation'](_0x772014,_0x3c794c,!0x1);if(_0x17be28['isTransformMutationFailure'](_0x2c2851))throw _0x2c2851['error'];_0x772014=_0x2c2851[_0x381810(0x26c)];}return{..._0x23c5c6[_0x381810(0x1aa)][_0x381810(0x181)](_0x1387f0),'mutations':[_0x772014]};}[_0x401f20(0x2c9)](_0x51c0be){const _0x1e001c=_0x401f20,{unitID:_0x3bc8ad}=_0x51c0be,{history:_0x5467ee,collaboration:_0x5b2b48}=this[_0x1e001c(0x23d)]['getStateCache'](_0x3bc8ad);if(_0x5467ee[_0x1e001c(0x2c4)]===0x0&&_0x5b2b48['length']===0x0)return;const _0x269239=[],_0x57253b=[];let _0x1e483c=_0x23c5c6[_0x1e001c(0x1aa)][_0x1e001c(0x181)](_0x51c0be[_0x1e001c(0xd5)][0x0]),_0x4ed753=_0x23c5c6[_0x1e001c(0x1aa)][_0x1e001c(0x181)](_0x51c0be[_0x1e001c(0xd5)][0x0]);for(let _0x4927c8=_0x5467ee[_0x1e001c(0x2c4)]-0x1;_0x4927c8>=0x0;_0x4927c8--){const _0x385bee={'id':_0x1e001c(0x22d),'params':{'unitId':_0x5467ee[_0x4927c8][_0x1e001c(0x21a)],..._0x5467ee[_0x4927c8]['undoState']}},_0x433863={'id':_0x1e001c(0x22d),'params':{'unitId':_0x5467ee[_0x4927c8][_0x1e001c(0x21a)],..._0x5467ee[_0x4927c8]['redoState']}},_0x55b283=this[_0x1e001c(0x2cb)][_0x1e001c(0x223)](_0x1e483c,_0x385bee,!0x1),_0x4a57ba=this[_0x1e001c(0x2cb)]['transformMutation'](_0x4ed753,_0x433863,!0x1);if(_0x17be28[_0x1e001c(0xf4)](_0x55b283))throw _0x55b283[_0x1e001c(0x236)];if(_0x17be28[_0x1e001c(0xf4)](_0x4a57ba))throw _0x4a57ba[_0x1e001c(0x236)];_0x269239['unshift']({..._0x5467ee[_0x4927c8],'undoState':_0x55b283['m2Prime'][_0x1e001c(0x1cf)],'redoState':_0x4a57ba[_0x1e001c(0x249)][_0x1e001c(0x1cf)]}),_0x1e483c=_0x55b283[_0x1e001c(0x26c)],_0x4ed753=_0x4a57ba['m1Prime'];}_0x1e483c=_0x23c5c6[_0x1e001c(0x1aa)]['deepClone'](_0x51c0be[_0x1e001c(0xd5)][0x0]),_0x4ed753=_0x23c5c6[_0x1e001c(0x1aa)]['deepClone'](_0x51c0be[_0x1e001c(0xd5)][0x0]);for(let _0x85fae4=_0x5b2b48[_0x1e001c(0x2c4)]-0x1;_0x85fae4>=0x0;_0x85fae4--){const _0x5f2e1e={'id':_0x1e001c(0x22d),'params':{'unitId':_0x5b2b48[_0x85fae4]['unitId'],..._0x5b2b48[_0x85fae4][_0x1e001c(0x117)]}},_0x351e7b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5b2b48[_0x85fae4][_0x1e001c(0x21a)],..._0x5b2b48[_0x85fae4][_0x1e001c(0x1a9)]}},_0x190f86=this[_0x1e001c(0x2cb)]['transformMutation'](_0x1e483c,_0x5f2e1e,!0x1),_0xd36019=this[_0x1e001c(0x2cb)][_0x1e001c(0x223)](_0x4ed753,_0x351e7b,!0x1);if(_0x17be28[_0x1e001c(0xf4)](_0x190f86))throw _0x190f86[_0x1e001c(0x236)];if(_0x17be28[_0x1e001c(0xf4)](_0xd36019))throw _0xd36019['error'];_0x57253b['unshift']({..._0x5b2b48[_0x85fae4],'undoState':_0x190f86[_0x1e001c(0x249)][_0x1e001c(0x1cf)],'redoState':_0xd36019[_0x1e001c(0x249)]['params']}),_0x1e483c=_0x190f86[_0x1e001c(0x26c)],_0x4ed753=_0xd36019[_0x1e001c(0x26c)];}this[_0x1e001c(0x23d)][_0x1e001c(0x162)](_0x3bc8ad,{'history':_0x269239,'collaboration':_0x57253b});}};_0x45c26e=_0x263ac8([_0x2ead50(0x0,_0x23c5c6['Inject'](_0x23c5c6[_0x401f20(0x311)])),_0x2ead50(0x1,_0x17be28['ITransformService']),_0x2ead50(0x2,_0x23c5c6['Inject'](_0x1f875c['DocStateChangeManagerService']))],_0x45c26e);var _0x2d5d81=Object[_0x401f20(0x2e6)],_0x5185e9=(_0x28451e,_0x166cb3,_0x1a45d3,_0x5e7445)=>{const _0x1586c3=_0x401f20;for(var _0x366d96=_0x5e7445>0x1?void 0x0:_0x5e7445?_0x2d5d81(_0x166cb3,_0x1a45d3):_0x166cb3,_0x46951c=_0x28451e[_0x1586c3(0x2c4)]-0x1,_0x299297;_0x46951c>=0x0;_0x46951c--)(_0x299297=_0x28451e[_0x46951c])&&(_0x366d96=_0x299297(_0x366d96)||_0x366d96);return _0x366d96;},_0x3da4cd=(_0x52db0c,_0x3bb47d)=>(_0x1930f8,_0x1c3d0e)=>_0x3bb47d(_0x1930f8,_0x1c3d0e,_0x52db0c);let _0x7aa11b=class{constructor(_0x53b24c,_0x3a7c1e){const _0x44e90f=_0x401f20;this[_0x44e90f(0x217)]=_0x53b24c,this[_0x44e90f(0x2cb)]=_0x3a7c1e;}['transformSelections'](_0x5ce720){const _0x31e1ea=_0x401f20;var _0x5e891b;const _0x5e1127=this[_0x31e1ea(0x217)][_0x31e1ea(0x150)](_0x20283b['DocSelectionManagerService']),_0x2d34ab=(_0x5e891b=_0x5e1127[_0x31e1ea(0x17a)]())!=null?_0x5e891b:[];if(_0x2d34ab[_0x31e1ea(0x2c4)]===0x0)return;const _0x4c62cb=_0x5ce720['unitID'],_0x56d14b=[{'id':_0x31e1ea(0x22d),'params':{'unitId':_0x4c62cb,'actions':null,'textRanges':_0x2d34ab}}],_0x5bf015=this[_0x31e1ea(0x2cb)][_0x31e1ea(0x246)](_0x5ce720,_0x56d14b);if(!_0x17be28[_0x31e1ea(0x1af)](_0x5bf015))throw _0x5bf015[_0x31e1ea(0x236)];const _0x5a7ef2=_0x5bf015[_0x31e1ea(0x249)][0x0][_0x31e1ea(0x1cf)]['textRanges'];Array[_0x31e1ea(0x29e)](_0x5a7ef2)&&_0x5a7ef2['length']&&_0x5e1127['replaceDocRanges'](_0x5a7ef2,{'unitId':_0x4c62cb,'subUnitId':_0x4c62cb},!0x1);}};_0x7aa11b=_0x5185e9([_0x3da4cd(0x0,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x311)])),_0x3da4cd(0x1,_0x17be28[_0x401f20(0x29b)])],_0x7aa11b);var _0x1bd30a=Object['getOwnPropertyDescriptor'],_0x130699=(_0x2fcf93,_0x20126e,_0x4540dc,_0x555f8b)=>{const _0x52f36a=_0x401f20;for(var _0x41e3d5=_0x555f8b>0x1?void 0x0:_0x555f8b?_0x1bd30a(_0x20126e,_0x4540dc):_0x20126e,_0x43c65c=_0x2fcf93[_0x52f36a(0x2c4)]-0x1,_0x3619af;_0x43c65c>=0x0;_0x43c65c--)(_0x3619af=_0x2fcf93[_0x43c65c])&&(_0x41e3d5=_0x3619af(_0x41e3d5)||_0x41e3d5);return _0x41e3d5;},_0x5c3bed=(_0x53aa17,_0x15e1ab)=>(_0x291bbf,_0x5cb6bd)=>_0x15e1ab(_0x291bbf,_0x5cb6bd,_0x53aa17);let _0x1cda0a=class extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(_0xabdc8e,_0xe89dfa,_0xa120fb,_0x291cca,_0x1023dc,_0x5d58cb,_0x318002,_0x40ac5f){const _0x4f3ab7=_0x401f20;super(),_0x1fcf73(this,_0x4f3ab7(0x270),new _0xb82969[(_0x4f3ab7(0x23b))](_0xe14e[_0x4f3ab7(0x178)][_0x4f3ab7(0x2c7)])),(this['_docStateChangeManagerService']=_0xabdc8e,this[_0x4f3ab7(0x8b)]=_0xe89dfa,this[_0x4f3ab7(0x20a)]=_0xa120fb,this[_0x4f3ab7(0xb5)]=_0x291cca,this[_0x4f3ab7(0x2c3)]=_0x1023dc,this['_docSyncEditingCollabCursorService']=_0x5d58cb,this[_0x4f3ab7(0x1d4)]=_0x318002,this[_0x4f3ab7(0xbb)]=_0x40ac5f,this['_initEntityListener']());}['_initEntityListener'](){const _0xb31211=_0x401f20;this[_0xb31211(0x164)](this[_0xb31211(0x8b)]['entityInit$']['subscribe'](_0x411ef3=>{const _0x30fb65=_0xb31211,_0x426eca=this[_0x30fb65(0x23d)][_0x30fb65(0x200)][_0x30fb65(0x1bc)](_0x27d87f=>{const _0x2e0a50=_0x30fb65;if(_0x27d87f==null)return;const {unitId:_0x583ef,redoState:_0x15bd41,commandId:_0x1d7379}=_0x27d87f;if(_0x583ef!==_0x411ef3[_0x2e0a50(0xcf)])return;const _0x1b4259={'id':_0x1d7379,'type':_0x23c5c6['CommandType'][_0x2e0a50(0x2cc)],'params':{'unitId':_0x583ef,'actions':_0x15bd41[_0x2e0a50(0x20b)],'textRanges':null}};_0x411ef3[_0x2e0a50(0x19f)](_0x1b4259);});if(_0x411ef3[_0x30fb65(0x164)](_0x426eca),_0x411ef3 instanceof _0xe14e['DocCollaborationEntity']){const _0x314f54={'onTransformIME':_0x4b1208=>this[_0x30fb65(0x20a)][_0x30fb65(0x174)](_0x4b1208),'onTransformState':_0x4a5eef=>this[_0x30fb65(0xb5)][_0x30fb65(0x1a8)](_0x4a5eef),'onTransformSelections':_0x50d950=>this[_0x30fb65(0x2c3)]['transformSelections'](_0x50d950),'onSyncEditingCollabCursor':_0x104bb9=>this[_0x30fb65(0x127)][_0x30fb65(0x1a0)](_0x104bb9),'onTransformRemoteChangesetByIMECache':_0x164962=>this['_docTransformIMECacheService'][_0x30fb65(0x179)](_0x164962),'onTransformRemoteChangesetByStateCache':_0x347210=>this['_docTransformStateCacheService'][_0x30fb65(0x179)](_0x347210)};_0x411ef3[_0x30fb65(0x2b2)](_0x314f54);}}));}};_0x1cda0a=_0x130699([_0x5c3bed(0x0,_0x23c5c6['Inject'](_0x1f875c[_0x401f20(0x234)])),_0x5c3bed(0x1,_0x23c5c6[_0x401f20(0x12e)](_0xe14e['CollaborationController'])),_0x5c3bed(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x2c6c00)),_0x5c3bed(0x3,_0x23c5c6['Inject'](_0x45c26e)),_0x5c3bed(0x4,_0x23c5c6[_0x401f20(0x12e)](_0x7aa11b)),_0x5c3bed(0x5,_0x23c5c6[_0x401f20(0x12e)](_0x302224)),_0x5c3bed(0x6,_0x4c9765['IMessageService']),_0x5c3bed(0x7,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x227)]))],_0x1cda0a);var _0x159c3a=Object[_0x401f20(0x2e6)],_0x3a0a22=(_0x206004,_0x1cf309,_0x53421a,_0x440dd5)=>{const _0x1a52f=_0x401f20;for(var _0x1e50ae=_0x440dd5>0x1?void 0x0:_0x440dd5?_0x159c3a(_0x1cf309,_0x53421a):_0x1cf309,_0x4bc39b=_0x206004[_0x1a52f(0x2c4)]-0x1,_0x17adc9;_0x4bc39b>=0x0;_0x4bc39b--)(_0x17adc9=_0x206004[_0x4bc39b])&&(_0x1e50ae=_0x17adc9(_0x1e50ae)||_0x1e50ae);return _0x1e50ae;},_0x5bdf33=(_0x13917b,_0x29db97)=>(_0x57d783,_0x1b3118)=>_0x29db97(_0x57d783,_0x1b3118,_0x13917b);let _0x21502f=class extends _0x23c5c6['Disposable']{constructor(_0x1830a1,_0x1964c0,_0x401e78){const _0x3f5e2a=_0x401f20;super(),_0x1fcf73(this,_0x3f5e2a(0x2fe),new Map()),_0x1fcf73(this,_0x3f5e2a(0x2b5),new Map()),_0x1fcf73(this,_0x3f5e2a(0x2e7),!0x1),(this['_configService']=_0x1830a1,this[_0x3f5e2a(0x24d)]=_0x1964c0,this[_0x3f5e2a(0xce)]=_0x401e78);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x401f20(0x1ab)](){const _0xcffbbc=_0x401f20;this[_0xcffbbc(0x2e7)]=!0x1;}get['saveTaskMap'](){const _0x23043a=_0x401f20;return this[_0x23043a(0x2b5)];}[_0x401f20(0x2b1)](){const _0x43eaeb=_0x401f20;this['exhaustSavingTask']()['then'](()=>super[_0x43eaeb(0x2b1)]());}async[_0x401f20(0x307)](_0x5d22c0){const _0x3a7b64=_0x401f20;return this[_0x3a7b64(0x2e7)]?null:this[_0x3a7b64(0x24d)][_0x3a7b64(0x23e)](_0xe14e[_0x3a7b64(0x93)](_0x5d22c0));}async['saveOfflineData'](_0x45027f,_0x1e1211){const _0x5c579b=_0x401f20;return!!this[_0x5c579b(0x24d)][_0x5c579b(0x157)](_0x45027f,_0x1e1211);}[_0x401f20(0x2f7)](_0x3c9c5c,_0xf997ad,_0x36f561,_0x115363){const _0x4a20c8=_0x401f20,_0x468d0d=this[_0x4a20c8(0xce)][_0x4a20c8(0x1b3)](_0x3c9c5c);this[_0x4a20c8(0x2fe)]['set'](_0x3c9c5c,{'unitID':_0x3c9c5c,'type':_0xf997ad,'awaitingChangeset':_0x36f561,'mutations':_0x115363,'rev':_0x468d0d}),this[_0x4a20c8(0x2b5)]['has'](_0x3c9c5c)||this[_0x4a20c8(0xae)](_0x3c9c5c);}[_0x401f20(0xae)](_0x2a6aec){const _0x5a8436=_0x401f20,_0x4550cb=this[_0x5a8436(0xe2)]();_0x4550cb===0x0?this['_saveCache'](_0x2a6aec):this[_0x5a8436(0x2b5)][_0x5a8436(0xa1)](_0x2a6aec,setTimeout(()=>this['_saveCache'](_0x2a6aec),_0x4550cb));}[_0x401f20(0xe2)](){const _0x155fc0=_0x401f20;var _0x3ce310;return(_0x3ce310=this[_0x155fc0(0x23a)][_0x155fc0(0x2f5)](_0xe14e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x3ce310:_0xe14e[_0x155fc0(0x205)];}[_0x401f20(0xb3)](_0x5b66f7){const _0xe18c49=_0x401f20,_0x21f236=this['_saveTaskMap'][_0xe18c49(0x150)](_0x5b66f7);return _0x21f236!==void 0x0&&window[_0xe18c49(0x17d)](_0x21f236),this[_0xe18c49(0x24d)]['setItem'](_0xe14e[_0xe18c49(0x93)](_0x5b66f7),this['_cachedData']['get'](_0x5b66f7))['then'](()=>this['_saveTaskMap'][_0xe18c49(0x29c)](_0x5b66f7));}async[_0x401f20(0x267)](){const _0x494ee7=_0x401f20,_0x158a1f=[];this[_0x494ee7(0x2b5)][_0x494ee7(0x122)]((_0x5ea329,_0x3a6fcb)=>{const _0x2907b6=_0x494ee7;window[_0x2907b6(0x17d)](_0x5ea329),_0x158a1f[_0x2907b6(0x1b0)](this[_0x2907b6(0xb3)](_0x3a6fcb)[_0x2907b6(0x144)](()=>{const _0x4f0662=_0x2907b6;this[_0x4f0662(0x2b5)][_0x4f0662(0x29c)](_0x3a6fcb);}));}),await Promise[_0x494ee7(0x17e)](_0x158a1f);}};_0x21502f=_0x3a0a22([_0x5bdf33(0x0,_0x23c5c6[_0x401f20(0x2bf)]),_0x5bdf33(0x1,_0x23c5c6[_0x401f20(0x100)]),_0x5bdf33(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x17be28[_0x401f20(0x19c)]))],_0x21502f);class _0xc7c929 extends _0x23c5c6[_0x401f20(0x143)]{constructor(){const _0x2f186f=_0x401f20;super(),_0x1fcf73(this,_0x2f186f(0x87)),this[_0x2f186f(0x87)]=_0xb82969[_0x2f186f(0x255)](window,_0x2f186f(0x8e))[_0x2f186f(0xb9)](_0xb82969['takeUntil'](this[_0x2f186f(0x25e)]),_0xb82969[_0x2f186f(0x91)](0x1),_0xb82969['mapTo'](void 0x0));}['setParam'](_0x55b533,_0x3a18b6,_0x319d4a=!0x1){const _0x31dfb0=_0x401f20,_0x44f1d4=new URL(window[_0x31dfb0(0x124)][_0x31dfb0(0x204)]);_0x44f1d4[_0x31dfb0(0x1cc)][_0x31dfb0(0xa1)](_0x55b533,_0x3a18b6),_0x319d4a?window[_0x31dfb0(0x2e1)]['replaceState']('','',_0x44f1d4[_0x31dfb0(0xaa)]()):window[_0x31dfb0(0x2e1)][_0x31dfb0(0x27f)]('','',_0x44f1d4[_0x31dfb0(0xaa)]());}[_0x401f20(0x15a)](_0x40f472,_0x2245ea=!0x1){const _0x10e40b=_0x401f20,_0x24e1f0=new URL(window[_0x10e40b(0x124)][_0x10e40b(0x204)]);_0x24e1f0[_0x10e40b(0x1cc)][_0x10e40b(0x29c)](_0x40f472),_0x2245ea?window[_0x10e40b(0x2e1)]['replaceState']('','',_0x24e1f0[_0x10e40b(0xaa)]()):window['history']['pushState']('','',_0x24e1f0[_0x10e40b(0xaa)]());}[_0x401f20(0x2f1)](_0x59bf68){const _0x2cb9ad=_0x401f20;var _0x4348b9;return(_0x4348b9=new URL(window[_0x2cb9ad(0x124)][_0x2cb9ad(0x204)])[_0x2cb9ad(0x1cc)][_0x2cb9ad(0x150)](_0x59bf68))!=null?_0x4348b9:void 0x0;}}var _0x2278f6=Object['defineProperty'],_0x31c0ae=Object[_0x401f20(0x2e6)],_0x1fb67c=(_0x331333,_0x549a86,_0x1a00d7)=>_0x549a86 in _0x331333?_0x2278f6(_0x331333,_0x549a86,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a00d7}):_0x331333[_0x549a86]=_0x1a00d7,_0x313062=(_0x33a3c7,_0x134567,_0x46221a,_0x586dba)=>{const _0xde9787=_0x401f20;for(var _0x5cc472=_0x586dba>0x1?void 0x0:_0x586dba?_0x31c0ae(_0x134567,_0x46221a):_0x134567,_0x30d2f1=_0x33a3c7[_0xde9787(0x2c4)]-0x1,_0x5f17b1;_0x30d2f1>=0x0;_0x30d2f1--)(_0x5f17b1=_0x33a3c7[_0x30d2f1])&&(_0x5cc472=_0x5f17b1(_0x5cc472)||_0x5cc472);return _0x5cc472;},_0x5542ea=(_0x5912f7,_0x3bc545)=>(_0xc8dc1a,_0x2714eb)=>_0x3bc545(_0xc8dc1a,_0x2714eb,_0x5912f7),_0x3db8b1=(_0xba69ce,_0x1c0aa6,_0x5797b8)=>_0x1fb67c(_0xba69ce,_0x1c0aa6+'',_0x5797b8);const _0x324543=_0x401f20(0xbe);_0x3e697f['UniverCollaborationClientUIPlugin']=class extends _0x23c5c6['Plugin']{constructor(_0x11c757=_0x701b81,_0x175e0a,_0x6a05b1,_0xbbeb35){const _0x1a0ae9=_0x401f20;super(),this[_0x1a0ae9(0x160)]=_0x11c757,this['_renderManagerService']=_0x175e0a,this[_0x1a0ae9(0x217)]=_0x6a05b1,this[_0x1a0ae9(0x23a)]=_0xbbeb35;const {..._0x453fc9}=_0x23c5c6[_0x1a0ae9(0x2b4)]({},_0x701b81,this[_0x1a0ae9(0x160)]);this[_0x1a0ae9(0x23a)][_0x1a0ae9(0x180)](_0x2530f0,_0x453fc9);}[_0x401f20(0x1f7)](){const _0x216c60=_0x401f20;this[_0x216c60(0x24e)](),this[_0x216c60(0x13f)]();}[_0x401f20(0x12f)](){this['_registerRenderDependencies']();}[_0x401f20(0x24e)](){const _0x456757=_0x401f20;var _0x457374;const _0x51f3ff=[[_0x1568d7],[_0x7aa11b],[_0x2c6c00],[_0x45c26e],[_0x302224],[_0x2488de,{'useClass':_0xc7c929}],[_0x4e0660[_0x456757(0xd2)],{'useClass':_0x4e0660[_0x456757(0x1e3)]}],[_0xe14e['ILocalCacheService'],{'useClass':_0x21502f}],[_0x3e697f[_0x456757(0x1f1)]],[_0x1cda0a],[_0x5a6da5],[_0x4265e2],[_0x98f6c6],[_0x3e697f[_0x456757(0x282)]]];_0x23c5c6[_0x456757(0x245)](this[_0x456757(0x217)],_0x23c5c6['mergeOverrideWithDependencies'](_0x51f3ff,(_0x457374=this['_config'])==null?void 0x0:_0x457374[_0x456757(0x18f)]));}[_0x401f20(0x1a5)](){const _0x1d9156=_0x401f20;this[_0x1d9156(0x164)](this[_0x1d9156(0x240)]['registerRenderModule'](_0x23c5c6[_0x1d9156(0x295)][_0x1d9156(0x2c2)],[_0x1ef9a4])),this[_0x1d9156(0x164)](this[_0x1d9156(0x240)]['registerRenderModule'](_0x23c5c6[_0x1d9156(0x295)]['UNIVER_SHEET'],[_0x1785e5]));}['_initDependencies'](){const _0x32129a=_0x401f20;_0x23c5c6[_0x32129a(0xa8)](this[_0x32129a(0x217)],[[_0x4265e2],[_0x3e697f[_0x32129a(0x1f1)]],[_0x1cda0a],[_0x5a6da5],[_0x3e697f['CollaborationDataLoaderController']]]);}},_0x3db8b1(_0x3e697f['UniverCollaborationClientUIPlugin'],'pluginName',_0x324543),_0x3e697f[_0x401f20(0x8c)]=_0x313062([_0x23c5c6[_0x401f20(0x11c)](_0xe14e[_0x401f20(0xd6)]),_0x5542ea(0x1,_0x112879['IRenderManagerService']),_0x5542ea(0x2,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6['Injector'])),_0x5542ea(0x3,_0x23c5c6[_0x401f20(0x2bf)])],_0x3e697f[_0x401f20(0x8c)]);var _0x51d57c=Object['getOwnPropertyDescriptor'],_0x24881b=(_0x34a377,_0x26a56f,_0x31e4c7,_0x4905fd)=>{const _0x314a1f=_0x401f20;for(var _0x45e630=_0x4905fd>0x1?void 0x0:_0x4905fd?_0x51d57c(_0x26a56f,_0x31e4c7):_0x26a56f,_0x1e29d2=_0x34a377[_0x314a1f(0x2c4)]-0x1,_0x108638;_0x1e29d2>=0x0;_0x1e29d2--)(_0x108638=_0x34a377[_0x1e29d2])&&(_0x45e630=_0x108638(_0x45e630)||_0x45e630);return _0x45e630;},_0xfa049d=(_0x5457f0,_0x5aa743)=>(_0x29f156,_0x15d07b)=>_0x5aa743(_0x29f156,_0x15d07b,_0x5457f0);_0x3e697f[_0x401f20(0x1ed)]=class extends _0xe14e[_0x401f20(0x154)]{constructor(_0x597921,_0x15647e,_0x47e524,_0x2041e5,_0x50edd4){super(_0x597921,_0x15647e,_0x47e524,_0x2041e5,_0x50edd4);}async[_0x401f20(0x1d6)](_0x2f523e){const _0x148abf=_0x401f20,_0x254935=await this[_0x148abf(0x215)](),_0x19a497=this[_0x148abf(0x22b)](_0x2f523e,_0x254935);return this[_0x148abf(0x11e)](_0x19a497);}[_0x401f20(0x22b)](_0x50e845,_0x29ee07){const _0x4726dd=_0x401f20,_0x21f8cd=typeof window>'u'?new URL(_0x50e845):new URL(_0x50e845,window[_0x4726dd(0x124)][_0x4726dd(0x294)]);_0x21f8cd[_0x4726dd(0x1cc)][_0x4726dd(0xa1)](_0x4726dd(0xb6),_0x29ee07);const _0x50e68e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x50e68e[_0x4726dd(0x150)](_0x4726dd(0x305))&&_0x21f8cd[_0x4726dd(0x1cc)]['set'](_0x4726dd(0x305),_0x50e68e[_0x4726dd(0x150)](_0x4726dd(0x305))),_0x21f8cd['toString']();}async[_0x401f20(0x215)](){const _0x25c0a6=_0x401f20;var _0x2c0264,_0xa5c606,_0x358792;const _0x2194f1=this[_0x25c0a6(0x23a)]['getConfig'](_0xe14e['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1b7cab=(_0x2c0264=_0x2194f1==null?void 0x0:_0x2194f1['wsSessionTicketUrl'])!=null?_0x2c0264:_0xe14e['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x358792=(_0xa5c606=(await this[_0x25c0a6(0x152)][_0x25c0a6(0x150)](_0x1b7cab,{'headers':{'Content-Type':_0x25c0a6(0x2fd)}}))[_0x25c0a6(0x110)])==null?void 0x0:_0xa5c606[_0x25c0a6(0x19d)])!=null?_0x358792:'';}},_0x3e697f[_0x401f20(0x1ed)]=_0x24881b([_0xfa049d(0x0,_0x23c5c6[_0x401f20(0x12e)](_0x23c5c6[_0x401f20(0x311)])),_0xfa049d(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x4e0660['HTTPService'])),_0xfa049d(0x2,_0x23c5c6[_0x401f20(0x2bf)]),_0xfa049d(0x3,_0x23c5c6['ILogService']),_0xfa049d(0x4,_0x17be28['ISnapshotServerService'])],_0x3e697f[_0x401f20(0x1ed)]);const _0x478612=0x7530,_0x10704c=_0x401f20(0x2d0);class _0x4e4604 extends _0x23c5c6['Disposable']{constructor(){const _0x38e86d=_0x401f20;super(),_0x1fcf73(this,_0x38e86d(0x1dd),_0x23c5c6[_0x38e86d(0x165)]()),_0x1fcf73(this,'_selfUnitIDs',new Set()),_0x1fcf73(this,'_unitOnClients',new Map()),_0x1fcf73(this,_0x38e86d(0xf7),null),_0x1fcf73(this,_0x38e86d(0x170),new Map()),_0x1fcf73(this,_0x38e86d(0x2b9),new Map()),this[_0x38e86d(0x153)]();}[_0x401f20(0x2b1)](){const _0x446c0b=_0x401f20;super[_0x446c0b(0x2b1)](),this['_clearOtherTimers']['forEach']((_0x4e3550,_0x274fb6)=>this['_removeClearOtherTimer'](_0x274fb6)),this[_0x446c0b(0xf7)]&&window[_0x446c0b(0x197)](this[_0x446c0b(0xf7)]);}['getUnitStatus$'](_0x14f3d6){const _0x33b870=_0x401f20;return this[_0x33b870(0x16c)](_0x14f3d6)[_0x33b870(0xb9)](_0xb82969[_0x33b870(0xe1)]());}['editingUnit'](_0x3693d0){const _0x1d10ec=_0x401f20;this[_0x1d10ec(0x2f6)][_0x1d10ec(0x125)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1d10ec(0x2f6)][_0x1d10ec(0xd8)](_0x3693d0),this[_0x1d10ec(0x16a)]({'type':0x0,'memberID':this[_0x1d10ec(0x1dd)],'unitIDs':[_0x3693d0],'isForwarded':!0x1});}[_0x401f20(0x2d1)](_0x237fe9){const _0x4903df=_0x401f20;this[_0x4903df(0x2f6)][_0x4903df(0x29c)](_0x237fe9),this[_0x4903df(0x2f6)]['size']===0x0&&this[_0x4903df(0xf7)]&&window[_0x4903df(0x197)](this['_heartbeatTimer']);}[_0x401f20(0x153)](){const _0x56c449=_0x401f20;this[_0x56c449(0x164)](_0x23c5c6[_0x56c449(0x275)](_0xb82969[_0x56c449(0x255)](window,_0x56c449(0x10b))[_0x56c449(0x1bc)](_0x5f2a1e=>{const _0x345f41=_0x56c449;if(_0x5f2a1e['key']!==_0x10704c||!_0x5f2a1e[_0x345f41(0x1ce)])return;const _0x4d6556=JSON[_0x345f41(0x296)](_0x5f2a1e['newValue']);this['_handleEvent'](_0x4d6556);}))),window[_0x56c449(0x2dc)](_0x56c449(0xeb),()=>this[_0x56c449(0x16a)]({'type':0x1,'memberID':this[_0x56c449(0x1dd)],'unitIDs':Array['from'](this[_0x56c449(0x2f6)])}));}[_0x401f20(0x147)](_0x4da6bf){const _0x415dd4=_0x401f20;switch(_0x4da6bf['type']){case 0x0:this[_0x415dd4(0x10c)](_0x4da6bf);break;case 0x1:this[_0x415dd4(0x1d1)](_0x4da6bf);break;case 0x2:this[_0x415dd4(0x1f5)](_0x4da6bf);break;}}[_0x401f20(0x10c)](_0x1df197){const _0x50a960=_0x401f20,{unitIDs:_0x16e9cf,memberID:_0x77b009,isForwarded:_0xa3c5d9}=_0x1df197;_0x16e9cf[_0x50a960(0x122)](_0x56a480=>{const _0x42b2e3=_0x50a960;if(!_0xa3c5d9&&this[_0x42b2e3(0x301)]['has'](_0x56a480)&&this['_ensureSubject'](_0x56a480)[_0x42b2e3(0x29d)](_0xe14e['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x42b2e3(0x301)][_0x42b2e3(0x1bd)](_0x56a480)||!this['_unitOnClients']['get'](_0x56a480)[_0x42b2e3(0x1bd)](_0x77b009)){const _0x44473b=this[_0x42b2e3(0x301)][_0x42b2e3(0x150)](_0x56a480)||new Set();_0x44473b['add'](_0x77b009),this['_unitOnClients'][_0x42b2e3(0xa1)](_0x56a480,_0x44473b),this['_scheduleClearOtherTimer'](_0x77b009);}}),_0xa3c5d9||this[_0x50a960(0x16a)]({'type':0x0,'memberID':this[_0x50a960(0x1dd)],'unitIDs':[...this[_0x50a960(0x2f6)]],'isForwarded':!0x0});}[_0x401f20(0xd9)](_0x3c37a5){const _0x1c2aa0=_0x401f20;this[_0x1c2aa0(0x304)](_0x3c37a5);const _0x1bee24=window[_0x1c2aa0(0xf0)](()=>{const _0x498b3a=_0x1c2aa0;this[_0x498b3a(0x301)][_0x498b3a(0x122)](_0x55902f=>{const _0x3c8e98=_0x498b3a;_0x55902f[_0x3c8e98(0x29c)](_0x3c37a5);});},_0x478612*0x2);this[_0x1c2aa0(0x170)][_0x1c2aa0(0xa1)](_0x3c37a5,_0x1bee24);}[_0x401f20(0x304)](_0x43ef22){const _0x5d1c53=_0x401f20;if(this[_0x5d1c53(0x170)][_0x5d1c53(0x1bd)](_0x43ef22)){const _0x20fc2f=this['_clearOtherTimers']['get'](_0x43ef22);_0x20fc2f&&window['clearTimeout'](_0x20fc2f),this[_0x5d1c53(0x170)]['set'](_0x43ef22,null);}}[_0x401f20(0x1d1)](_0x110ceb){const _0x93ef93=_0x401f20,{memberID:_0x36ef53,unitIDs:_0xc4fe96}=_0x110ceb;_0xc4fe96[_0x93ef93(0x122)](_0x259548=>{const _0x2a7482=_0x93ef93;var _0x2f58b9;const _0x5bb616=this[_0x2a7482(0x301)][_0x2a7482(0x150)](_0x259548);_0x5bb616&&(_0x5bb616['delete'](_0x36ef53),(_0x2f58b9=this['_ensureSubject'](_0x259548))==null||_0x2f58b9[_0x2a7482(0x29d)](_0x5bb616[_0x2a7482(0x125)]===0x0?_0xe14e['UnitStatus'][_0x2a7482(0x16f)]:_0xe14e[_0x2a7482(0x22f)][_0x2a7482(0x271)]));}),this[_0x93ef93(0x304)](_0x36ef53);}[_0x401f20(0x1f5)](_0x2dbd47){const _0x472007=_0x401f20;this['_scheduleClearOtherTimer'](_0x2dbd47[_0x472007(0xfb)]);}['_send'](_0x5b9255){const _0x9cbbb8=_0x401f20;localStorage[_0x9cbbb8(0x157)](_0x10704c,JSON[_0x9cbbb8(0x11b)](_0x5b9255));}[_0x401f20(0x298)](){const _0x9057d5=_0x401f20;this['_heartbeatTimer']=window[_0x9057d5(0xfa)](()=>{const _0x5f1c90=_0x9057d5;this[_0x5f1c90(0x16a)]({'type':0x2,'memberID':this['_id']});},_0x478612);}[_0x401f20(0x16c)](_0x57b5e5){const _0x227417=_0x401f20;return this[_0x227417(0x2b9)][_0x227417(0x1bd)](_0x57b5e5)||this['_unitStatus'][_0x227417(0xa1)](_0x57b5e5,new _0xb82969[(_0x227417(0x23b))](_0xe14e[_0x227417(0x22f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x227417(0x2b9)][_0x227417(0x150)](_0x57b5e5);}}var _0x36a032=(_0x58dc93=>(_0x58dc93[_0x58dc93[_0x401f20(0x312)]=0x0]=_0x401f20(0x312),_0x58dc93[_0x58dc93['OK']=0x1]='OK',_0x58dc93[_0x58dc93['INTERNAL_ERROR']=0x2]=_0x401f20(0x1de),_0x58dc93[_0x58dc93['PERMISSION_DENIED']=0x3]=_0x401f20(0xfe),_0x58dc93[_0x58dc93['NOT_FOUND']=0x4]=_0x401f20(0x1b1),_0x58dc93[_0x58dc93[_0x401f20(0x2ee)]=0x5]=_0x401f20(0x2ee),_0x58dc93[_0x58dc93[_0x401f20(0x306)]=0x6]=_0x401f20(0x306),_0x58dc93[_0x58dc93[_0x401f20(0x2cf)]=0x7]=_0x401f20(0x2cf),_0x58dc93[_0x58dc93['TOO_MANY_REQUESTS']=0x8]=_0x401f20(0xc0),_0x58dc93[_0x58dc93[_0x401f20(0xab)]=0x9]=_0x401f20(0xab),_0x58dc93[_0x58dc93[_0x401f20(0x2a8)]=0xa]=_0x401f20(0x2a8),_0x58dc93[_0x58dc93[_0x401f20(0xe0)]=0x1389]=_0x401f20(0xe0),_0x58dc93[_0x58dc93[_0x401f20(0x202)]=0x1771]=_0x401f20(0x202),_0x58dc93[_0x58dc93[_0x401f20(0xa9)]=0x1772]=_0x401f20(0xa9),_0x58dc93[_0x58dc93[_0x401f20(0x10f)]=0x1773]=_0x401f20(0x10f),_0x58dc93[_0x58dc93[_0x401f20(0x8f)]=0x1b59]=_0x401f20(0x8f),_0x58dc93[_0x58dc93[_0x401f20(0x192)]=0x1b5a]=_0x401f20(0x192),_0x58dc93[_0x58dc93[_0x401f20(0x20c)]=0x1b5b]=_0x401f20(0x20c),_0x58dc93[_0x58dc93['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x401f20(0xd4),_0x58dc93[_0x58dc93[_0x401f20(0x1e4)]=0x1b5d]='APPLY_DUPLICATED',_0x58dc93[_0x58dc93['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x401f20(0x1d3),_0x58dc93[_0x58dc93['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x401f20(0x2c5),_0x58dc93[_0x58dc93['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x401f20(0x2df),_0x58dc93[_0x58dc93[_0x401f20(0xbc)]=0x232b]=_0x401f20(0xbc),_0x58dc93[_0x58dc93['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x401f20(0xd0),_0x58dc93[_0x58dc93[_0x401f20(0x201)]=0x232d]=_0x401f20(0x201),_0x58dc93[_0x58dc93[_0x401f20(0x2d4)]=0x2711]=_0x401f20(0x2d4),_0x58dc93[_0x58dc93[_0x401f20(0xa2)]=0x2712]=_0x401f20(0xa2),_0x58dc93[_0x58dc93[_0x401f20(0xa3)]=0x2713]=_0x401f20(0xa3),_0x58dc93[_0x58dc93[_0x401f20(0x14c)]=0x2714]=_0x401f20(0x14c),_0x58dc93[_0x58dc93[_0x401f20(0x2a6)]=0x271a]=_0x401f20(0x2a6),_0x58dc93[_0x58dc93[_0x401f20(0x167)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x58dc93[_0x58dc93[_0x401f20(0x1fd)]=0x271c]=_0x401f20(0x1fd),_0x58dc93[_0x58dc93[_0x401f20(0x28a)]=0x271d]=_0x401f20(0x28a),_0x58dc93[_0x58dc93[_0x401f20(0x2f8)]=0x271e]=_0x401f20(0x2f8),_0x58dc93[_0x58dc93[_0x401f20(0x216)]=0x271f]=_0x401f20(0x216),_0x58dc93[_0x58dc93['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x58dc93[_0x58dc93[_0x401f20(0x2a2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x58dc93[_0x58dc93[_0x401f20(0x131)]=0x2ee2]=_0x401f20(0x131),_0x58dc93[_0x58dc93['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x58dc93[_0x58dc93[_0x401f20(0x29a)]=0x2ee4]=_0x401f20(0x29a),_0x58dc93[_0x58dc93[_0x401f20(0x177)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x58dc93[_0x58dc93['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x401f20(0x2cd),_0x58dc93[_0x58dc93[_0x401f20(0xca)]=0x32ca]=_0x401f20(0xca),_0x58dc93[_0x58dc93[_0x401f20(0xa4)]=0x32cb]=_0x401f20(0xa4),_0x58dc93[_0x58dc93['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x58dc93))(_0x36a032||{}),_0x14e7fa=Object[_0x401f20(0x2e6)],_0x516f47=(_0x1f8ae1,_0x18492f,_0x3cdc37,_0xa06ca2)=>{const _0x35b841=_0x401f20;for(var _0x879770=_0xa06ca2>0x1?void 0x0:_0xa06ca2?_0x14e7fa(_0x18492f,_0x3cdc37):_0x18492f,_0x9e38dd=_0x1f8ae1[_0x35b841(0x2c4)]-0x1,_0xfb3769;_0x9e38dd>=0x0;_0x9e38dd--)(_0xfb3769=_0x1f8ae1[_0x9e38dd])&&(_0x879770=_0xfb3769(_0x879770)||_0x879770);return _0x879770;},_0x367dd3=(_0x2a4509,_0xcace9d)=>(_0x25235c,_0x29e975)=>_0xcace9d(_0x25235c,_0x29e975,_0x2a4509);_0x3e697f['RemoteUniscriptService']=class extends _0x23c5c6[_0x401f20(0x1c4)]{constructor(_0x4b9ae3,_0x54e18d,_0x5f0caa){const _0x4d6a8f=_0x401f20;super(),this[_0x4d6a8f(0x13b)]=_0x4b9ae3,this[_0x4d6a8f(0x152)]=_0x54e18d,this[_0x4d6a8f(0x23a)]=_0x5f0caa;}async['runOnServer'](_0x4bb9b0,_0x3700dc,_0x57d68a,..._0x5adf32){const _0x12515a=_0x401f20;var _0x59602d,_0x2d6f4c,_0x1ca158,_0x19ae25;const _0x522428=this[_0x12515a(0x13b)][_0x12515a(0x248)]();if(!_0x522428)throw new Error(_0x12515a(0x158));const _0x1877b2=((_0x59602d=this[_0x12515a(0x23a)]['getConfig'](_0xe14e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x59602d:_0xe14e['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4bb9b0+'/run/'+_0x3700dc,_0x190806=new URL(window[_0x12515a(0x124)][_0x12515a(0x204)]),_0xd819be={'scriptId':_0x4bb9b0,'runId':(_0x2d6f4c=_0x190806[_0x12515a(0x1cc)]['get'](_0x12515a(0x305)))!=null?_0x2d6f4c:'','function':_0x3700dc,'unitId':_0x522428[_0x12515a(0xf9)](),'argsOfFunction':JSON['stringify'](_0x5adf32),'invokeId':(_0x1ca158=_0x57d68a[_0x12515a(0x2d6)])!=null?_0x1ca158:'','executionId':(_0x19ae25=_0x57d68a[_0x12515a(0x309)])!=null?_0x19ae25:''};try{const _0x12ee33=await this[_0x12515a(0x152)]['post'](_0x1877b2,{'body':_0xd819be});return _0x12ee33['body'][_0x12515a(0x236)]&&_0x12ee33[_0x12515a(0x110)]['error'][_0x12515a(0x2c8)]!==_0x36a032['OK']?'Failed':_0x12ee33['body'][_0x12515a(0xac)];}catch{return'Failed';}}},_0x3e697f[_0x401f20(0x2d3)]=_0x516f47([_0x367dd3(0x0,_0x23c5c6[_0x401f20(0x2b6)]),_0x367dd3(0x1,_0x23c5c6[_0x401f20(0x12e)](_0x4e0660[_0x401f20(0x168)])),_0x367dd3(0x2,_0x23c5c6['IConfigService'])],_0x3e697f['RemoteUniscriptService']),_0x3e697f[_0x401f20(0x96)]=_0x5e0fc3,_0x3e697f[_0x401f20(0x2ce)]=_0x2488de,_0x3e697f['SheetCollabCursorShape']=_0x4a6a14,_0x3e697f[_0x401f20(0x27d)]=_0x4e4604,_0x3e697f[_0x401f20(0x19b)]=_0xc7c929,Object[_0x401f20(0x146)](_0x3e697f,Symbol[_0x401f20(0x2bc)],{'value':_0x401f20(0x1d8)});}));function _0x10ca(_0x7fa856,_0x227153){const _0x308706=_0x3087();return _0x10ca=function(_0x10ca5c,_0x3d4bef){_0x10ca5c=_0x10ca5c-0x84;let _0x524367=_0x308706[_0x10ca5c];return _0x524367;},_0x10ca(_0x7fa856,_0x227153);}function _0x3087(){const _0x24d3d8=['getColorFromTheme','RemoveRowCommandId','addObject','exhaustSavingTask','activeSheet$','name','Vector2','_onCursorDelete','m1Prime','lineTo','_docSkeletonManagerService','VIEW_MAIN','_status$','OTHER_CLIENTS_EDITING','collab-client.tooltip.reconnect','onPointerLeave$','svg','toDisposable','_localCacheService','collabStatus.synced','getSkeleton','IUIPartsService','_setupSubUnitSync','displayName','ColorKit','WebBrowserSingleActiveUnitService','_univerInstanceService','pushState','unit','hide','CollaborationDataLoaderController','handleMoveRange','@univerjs/engine-render','selection','375754OvbyBf','_updateURLWithCurrentState','ILocalCacheService','makeDirty','YUUMI_ALL_TABLES_IS_INVALID','sheetID','entries','arc','map','USERS_LEAVE','_cursorShapes','_transformPreviousActiveRange','collab-rect-range-','startColumn','origin','UniverInstanceType','parse','OFFLINE','_scheduleHeartbeat','saveImage','USER_NOT_INVITED_CODE','ITransformService','delete','next','isArray','setShapeProps','beginPath','some','INVITE_CODE_HAS_BEEN_UES','sessionStatus$','Tooltip','data','YUUMI_NO_CUBOID_FOR_QUESTION','contains','LOGIN_FAILED','UniverDocs','mask','propertyIsEnumerable','from','cursorInfo$','serializeRangeWithSheet','UniverSheets','addObjects','dispose','addHandlerCallback','show','merge','_saveTaskMap','IUniverInstanceService','_removeCollabCursors','handleInsertRangeMoveDown','_unitStatus','top','_session','toStringTag','clipPath','colorChannel1','IConfigService','getCoordByCell','HEADER_MENU','UNIVER_DOC','_docTransformSelectionsService','length','LICENSE_MAX_UNITS_EXCEEDED','icon','NOT_COLLAB','code','_transformHistoryAndStateStack','registerComponent','_transformService','MUTATION','WECHAT_HAS_BEEN_BOUND','IURLService','INVALID_ARGUMENT','ACTIVE_UNIT_EVENT_CHANNEL','disposeUnit','_hover','RemoteUniscriptService','YUUMI_UNABLE_LOAD_URL','attrs','invokeId','UniverEngineRender','_updateSubUnitFromURLParams','_color','column','_initResize','addEventListener','defIds','IMessageService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','round','history','SHEET_VIEWPORT_KEY','SUBMIT_CHANGESET_TIMEOUT','triggerDblclick','status$','getOwnPropertyDescriptor','_disabled','1em','setParam','SYNCED','UPDATE_CURSOR','_eventUnsubscribe','forwardRef','UNAUTHENTICATED','_render','_dataLoaderService','getParam','resize','_collabCursorState$','@univerjs/core','getConfig','_selfUnitIDs','updateOfflineData','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','path','_docSkeleton','restore','CollaborationSessionService','application/json','_cachedData','_toggleOffline','DocSelectionManagerService','_unitOnClients','collaboration-client.offline-data-not-saved','ThemeService','_removeClearOtherTimer','runId','ALREADY_EXISTS','loadOfflineData','fillText','executionId','CollaborationEvent','fromEventSubject','ICommandService','onMouseMove','getCollabCursors$','function','takeUntil','Injector','UNDEFINED','off-line-icon_clip0_910_343','getCollabEntity$','range','urlChange$','transformByState','61000ApGSlf','apply','_collaborationController','UniverCollaborationClientUIPlugin','exports','popstate','APPLY_REJECT','DOC_RANGE_TYPE','shareReplay','getMemberID','getLocalCacheKey','TEXT_RANGE_LAYER_INDEX','_colorAssignService','CollaborationStatusDisplay','currentTheme$','handleInsertRow','ONLINE','getOffsetConfig','SheetsSelectionsService','startRow','assignAColorForMemberID','filter','_commandService','@univerjs/docs-ui','set','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_RATE_OVER_LIMIT','EMAIL_HAS_BEEN_BOUND','includes','height','onPointerMove$','touchDependencies','SNAPSHOT_HAS_BEEN_REMOVED','toString','COMPLETION_FINISHED','result','_updateLocalCursor','_scheduleSaving','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','extend','COLORS','_hovered','_saveCache','SOCKET_FAILED_RETRY','_docTransformStateCacheService','sessionTicket','FETCH_MISS','url(#off-line-icon_clip0_910_343)','pipe','557608qBPMhd','_localeService','LICENSE_IMPORT_SIZE_EXCEEDED','_drawTextRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_textBubble','TOO_MANY_REQUESTS','getTypeOfUnitDisposed$','CollaborationUIEventService','CLOSE_ROOM','permission.content','getActiveRange','React','complete','UniverCore','SetDocZoomRatioOperation','MOBILE_HAS_BEEN_BOUND','collaboration-client-ui.config','debounce','debug','_revisionService','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','INotificationService','ISocketService','getCurrentUnitForType','APPLY_PERMISSION_DENIED','mutations','UniverCollaborationClientPlugin','_range','add','_scheduleClearOtherTimer','DataLoaderService','getUniverSheetInstance','handleDeleteRangeMoveUp','collabStatus.notCollab','call','_handleHover','CHANGESET_REVISION_CONFILICT','distinctUntilChanged','_getSaveTimeout','getSheetId','Rect','DeleteRangeMoveLeftCommandId','getRangePointData','_assignedColors','tag','setAlpha','290bPMCal','unload','labelPosition','session.collaboration-timeout','RemoveColCommandId','_themeService','setTimeout','@univerjs/ui','width','react','isTransformMutationFailure','AWAITING_WITH_PENDING','262927ehravT','_heartbeatTimer','none','getUnitId','setInterval','memberID','SetSelectionsOperation','handleIRemoveRow','PERMISSION_DENIED','onTransformChange$','ILocalStorageService','currentSkeleton$','runRefRangeMutations','_transformUndoRedoStack','@univerjs/sheets-ui','subscribeEvent','MoveRangeCommandId','BuiltInUIPart','isEditing','Warning','Error','storage','_handleJoinEvent','split','NodePositionConvertToCursor','ENSURE_SNAPSHOT_EXECUTION','body','UniverProCollaborationClientUi','evenodd','_updateCollabCursors','@univerjs/engine-formula','prototype','color','undoState','@univerjs-pro/collaboration','MemberService','roomMembers','stringify','DependentOn','throttleTime','_doCreateSocket','UniverProCollaborationClient','_hideTimer','_beforeCloseService','forEach','UNIVER_SHEET','location','size','collaboration.closeRoom','_docSyncEditingCollabCursorService','useCallback','combineLatest','UniverDocsUi','PENDING','_startDocCollabCursor','_scene','Inject','onRendered','_initCommandExecutedListener','INVALID_INVITE_CODE','url(#$1','_setupBeforeClosingHandler','[CollaborationDataLoaderController]','@univerjs/design','3699944UKzvAQ','_imageIoService','fillStyle','TEXT','on-line-icon_clip0_910_349','_instanceService','getUnhiddenWorksheets','_sheetSkeletonManagerService','random','_initDependencies','fill','_online','collab-text-anchor-','RxDisposable','then','InsertRowCommandId','defineProperty','_handleEvent','className','UniverDesign','getActiveSheet','Unknown\x20user','YUUMI_SUBSCRIPTION_NOT_FOUND','requireSession','_docClipboardService','row','get','imageSourceType','_httpService','_init','CollaborationSocketService','_shapes','bottom','setItem','[RemoteUniscriptService]:\x20no\x20focused\x20unit','MessageType','removeParam','getMergeData','white','rxjs/operators','getVpScrollXYInfoByPosToVp','SOCKET_FAILED','_config','type','setStateCache','SheetSkeletonManagerService','disposeWithMe','generateRandomId','_lastPointer','YUUMI_ASYNCIO_CANCELLED','HTTPService','measureText','_send','rxjs','_ensureSubject','19032WPldoF','endColumn','NO_OTHER_CLIENTS_EDITING','_clearOtherTimers','findNodePositionByCharIndex','startsWith','DocIMEInputManagerService','transformIMECache','...','session.will-retry','INVITE_CODE_ALREADY_BOUND','CollaborationStatus','transformRemoteChangeset','getDocRanges','_onCursorUpdate','_logService','clearTimeout','all','M0\x200H16V16H0z','setConfig','deepClone','focused$','_draw','_document','values','black','ranges','_labelPosition','getOwnPropertySymbols','UniverNetwork','onCommandExecuted','CollaborationController','eventID','font','override','DocSkeletonManagerService','UniverEngineFormula','APPLY_NON_SEQUENTIAL_REVISION','registerRefRange','handleInsertRangeMoveRight','univer-flex\x20univer-items-center','asObservable','clearInterval','http://www.w3.org/2000/svg','defs','string','WebURLService','RevisionService','ticket','min','onLocalMutation','syncEditingCollabCursor','setUndoRedoMutationParamsCache','@univerjs-pro/collaboration-client','OffLineIcon','getViewport','_registerRenderDependencies','switchMap','drawWith','transformStateCache','redoState','Tools','enableLocalCache','sheetId','_backgroundColor','_collabSessionService','isTransformMutationsWithChangesetSuccess','push','NOT_FOUND','DeleteRangeMoveUpCommandId','getCurrentRevOfUnit','red.300','react/jsx-runtime','JOIN_ROOM_FAILED','assign','getTypeOfUnitAdded$','jsxs','_urlService','UniverUi','subscribe','has','@univerjs/sheets','replace','children','roomMembers$','toRgbString','_syncEditingCollabCursorService','Disposable','RECT','with','event$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_collaborationUIEventService','off-line-icon','url(#on-line-icon_clip0_910_349)','searchParams','_getMergeRange','newValue','params','0\x200\x2017\x2016','_handleLeaveEvent','onPointerEnter$','CONNECTOR_DATA_TOO_LARGE','_messageService','getSheetObject','createSocket','reconnect','Module','currentColor','_refRangeService','createElement','EffectRefRangId','_id','INTERNAL_ERROR','textRanges','#FFF','getValue','_cursor','WebSocketService','APPLY_DUPLICATED','indexOf','_onRefRangeChange','createIdentifier','_getScale','green.600','init','0\x200\x2016\x2016','deserializeRangeWithSheet','BrowserCollaborationSocketService','unsubscribe','collabStatus.conflict','_initStatusComponent','DesktopCollaborationStatusDisplayController','xlink:href','@univerjs/docs','handleInsertCol','_handleHeartbeatEvent','ILogService','onStarting','unshift','@univerjs/rpc','yellow.400','jsx','_name','YUUMI_TABLE_NOT_FOUND_IN_UNIT','saveTaskMap','_notificationService','docStateChange$','LICENSE_DISTRO_REJECTED','SNAPSHOT_INVALID_SNAPSHOT','collab-text-range-','href','LOCAL_CACHE_INTERVAL','_getAnchorBounding','SessionStatus','current','RefRangeService','_docTransformIMECacheService','actions','APPLY_REVISION_CONFILICT','_drawRectRange','trim','_memberService','getUndoRedoMutationParamsCache','subunit','engine','_startSheetCollabCursor','_toggleOnline','_getSessionTicket','YUUMI_AI_RUN_FAILED','_injector','IDocClipboardService','CollaborationUIEventId','unitId','text','collaboration.single-unit.warning','_refreshCollabCursors','380664qxGLsj','_anchor','_context','_cursorInfo$','_colorIndex','transformMutation','idSuffix','_entities','clsx','LocaleService','OTHER_CLIENT_EDITING','CONFLICT','_anchorDot','_createSocketURL','univer-flex\x20univer-mr-2\x20univer-text-xl','doc.mutation.rich-text-editing','@univerjs/drawing','UnitStatus','backgroundColor','session.connection-failed','selections','getRenderById','DocStateChangeManagerService','_cursors','error','_drawAnchor','collabStatus.offline','_uiPartsService','_configService','BehaviorSubject','UniverDrawing','_docStateChangeManagerService','getItem','FromArray','_renderManagerService','concat','skeleton','executeCommand','fillRule','registerDependencies','transformMutationsWithChangeset','_getSheetObject','getFocusedUnit','m2Prime','isActive','permission.title','cursorInfo','_localStorageService','_registerDependencies','save','OnLineIcon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initStatusListener','symbol','@univerjs/network','fromEvent','getColor','getCellPositionByOffset','_collabCursorController','on-line-icon','getCurrentSelections','IBeforeCloseService','_entityInit$','_roomMembers$','dispose$','flatMap','send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','find','div'];_0x3087=function(){return _0x24d3d8;};return _0x3087();}
|
|
1
|
+
(function(_0xb8e093,_0x1ac179){const _0x4d18d8=_0x12c4,_0x1a10e5=_0xb8e093();while(!![]){try{const _0x4bec65=parseInt(_0x4d18d8(0x2b4))/0x1+-parseInt(_0x4d18d8(0x283))/0x2+parseInt(_0x4d18d8(0x1ee))/0x3*(parseInt(_0x4d18d8(0x3ad))/0x4)+-parseInt(_0x4d18d8(0x177))/0x5+-parseInt(_0x4d18d8(0x27e))/0x6*(parseInt(_0x4d18d8(0x343))/0x7)+parseInt(_0x4d18d8(0x361))/0x8*(-parseInt(_0x4d18d8(0x1d5))/0x9)+parseInt(_0x4d18d8(0x27c))/0xa;if(_0x4bec65===_0x1ac179)break;else _0x1a10e5['push'](_0x1a10e5['shift']());}catch(_0x3c5fa3){_0x1a10e5['push'](_0x1a10e5['shift']());}}}(_0x2d57,0x88975),function(_0x5dfa0d,_0x2d5181){const _0x3b2396=_0x12c4;typeof exports==_0x3b2396(0x1da)&&typeof module<'u'?_0x2d5181(exports,require(_0x3b2396(0x321)),require(_0x3b2396(0x2f7)),require(_0x3b2396(0x3f6)),require('@univerjs/network'),require(_0x3b2396(0x1c5)),require('@univerjs/drawing'),require(_0x3b2396(0x1f7)),require(_0x3b2396(0x257)),require(_0x3b2396(0x390)),require('@univerjs/engine-formula'),require(_0x3b2396(0x198)),require(_0x3b2396(0x20d)),require('@univerjs/sheets-ui'),require(_0x3b2396(0x1e1)),require('@univerjs/ui'),require(_0x3b2396(0x286)),require(_0x3b2396(0x379)),require('@univerjs/rpc')):typeof define==_0x3b2396(0x270)&&define[_0x3b2396(0x2b5)]?define([_0x3b2396(0x289),'@univerjs-pro/collaboration-client',_0x3b2396(0x2f7),_0x3b2396(0x3f6),_0x3b2396(0x300),_0x3b2396(0x1c5),_0x3b2396(0x332),'rxjs','@univerjs/docs','@univerjs-pro/collaboration',_0x3b2396(0x247),_0x3b2396(0x198),_0x3b2396(0x20d),_0x3b2396(0x1c6),_0x3b2396(0x1e1),_0x3b2396(0x1bd),'@univerjs/design',_0x3b2396(0x379),'@univerjs/rpc'],_0x2d5181):(_0x5dfa0d=typeof globalThis<'u'?globalThis:_0x5dfa0d||self,_0x2d5181(_0x5dfa0d['UniverProCollaborationClientUi']={},_0x5dfa0d['UniverProCollaborationClient'],_0x5dfa0d[_0x3b2396(0x334)],_0x5dfa0d[_0x3b2396(0x337)],_0x5dfa0d[_0x3b2396(0x1c2)],_0x5dfa0d[_0x3b2396(0x3d8)],_0x5dfa0d[_0x3b2396(0x255)],_0x5dfa0d[_0x3b2396(0x1f7)],_0x5dfa0d[_0x3b2396(0x340)],_0x5dfa0d[_0x3b2396(0x3c1)],_0x5dfa0d[_0x3b2396(0x16e)],_0x5dfa0d['UniverSheets'],_0x5dfa0d[_0x3b2396(0x1f7)][_0x3b2396(0x193)],_0x5dfa0d['UniverSheetsUi'],_0x5dfa0d['React'],_0x5dfa0d[_0x3b2396(0x27d)],_0x5dfa0d['UniverDesign'],_0x5dfa0d[_0x3b2396(0x2fc)],_0x5dfa0d['UniverRpc']));}(this,function(_0x3fac21,_0x1fb374,_0x17a0d6,_0x4826e7,_0x5600f6,_0x21bec9,_0x284679,_0xa893e5,_0x566265,_0x2226d4,_0x2899a3,_0x1ce549,_0x3fdb29,_0x3a9c80,_0x1c574a,_0x5aad63,_0x20461d,_0x115905,_0x1f9553){'use strict';const _0x964c6d=_0x12c4;var _0x43a9f9=Object[_0x964c6d(0x376)],_0x279b52=(_0x2f9131,_0x54cf66,_0x207fd5)=>_0x54cf66 in _0x2f9131?_0x43a9f9(_0x2f9131,_0x54cf66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x207fd5}):_0x2f9131[_0x54cf66]=_0x207fd5,_0x2e1f76=(_0x4d2afa,_0x102bc2,_0x226fc2)=>_0x279b52(_0x4d2afa,typeof _0x102bc2!=_0x964c6d(0x2df)?_0x102bc2+'':_0x102bc2,_0x226fc2),_0x185f5b=Object[_0x964c6d(0x236)],_0x4056e0=(_0x215099,_0x43f1ba,_0x732de9,_0x22e9eb)=>{const _0x48975c=_0x964c6d;for(var _0x617f94=_0x22e9eb>0x1?void 0x0:_0x22e9eb?_0x185f5b(_0x43f1ba,_0x732de9):_0x43f1ba,_0x5c550d=_0x215099[_0x48975c(0x3b0)]-0x1,_0x1b646b;_0x5c550d>=0x0;_0x5c550d--)(_0x1b646b=_0x215099[_0x5c550d])&&(_0x617f94=_0x1b646b(_0x617f94)||_0x617f94);return _0x617f94;},_0x1c51b7=(_0x27525d,_0x1ec8fc)=>(_0x3a5ef0,_0x426a40)=>_0x1ec8fc(_0x3a5ef0,_0x426a40,_0x27525d);let _0x566e8b=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1da5d4,_0x2c6721){const _0x125c16=_0x964c6d;super(),this[_0x125c16(0x2b6)]=_0x1da5d4,this[_0x125c16(0x1ef)]=_0x2c6721,this[_0x125c16(0x272)]();}[_0x964c6d(0x272)](){const _0x4eb1bf=_0x964c6d,_0x243895=this;this[_0x4eb1bf(0x2ba)](this[_0x4eb1bf(0x2b6)][_0x4eb1bf(0x282)]({'onBeforePasteImage':async _0x3bc014=>{const _0x526301=_0x4eb1bf,_0x5694fe=await _0x243895['_imageIoService'][_0x526301(0x2c9)](_0x3bc014);return _0x5694fe?{'source':_0x5694fe[_0x526301(0x32f)],'imageSourceType':_0x5694fe[_0x526301(0x303)]}:null;}}));}};_0x566e8b=_0x4056e0([_0x1c51b7(0x0,_0x21bec9[_0x964c6d(0x377)]),_0x1c51b7(0x1,_0x284679[_0x964c6d(0x176)])],_0x566e8b);const _0x28aec0=[_0x964c6d(0x2a2),_0x964c6d(0x2c7),_0x964c6d(0x161),'red.300',_0x964c6d(0x29e),'yellow.400'];class _0x41db9a extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x5e23b3=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x5e23b3(0x380),new Map()),_0x2e1f76(this,_0x5e23b3(0x263),0x0);}[_0x964c6d(0x280)](_0x17b30a){const _0x40d608=_0x964c6d;if(this[_0x40d608(0x380)][_0x40d608(0x218)](_0x17b30a))return this[_0x40d608(0x380)][_0x40d608(0x17d)](_0x17b30a);const _0x4e30b9=_0x28aec0[this['_colorIndex']];return this['_colorIndex']=(this[_0x40d608(0x263)]+0x1)%_0x28aec0[_0x40d608(0x3b0)],this[_0x40d608(0x380)][_0x40d608(0x26d)](_0x17b30a,_0x4e30b9),_0x4e30b9;}}function _0x36ad89(_0x486bb7){const _0x42ca90=_0x964c6d;let _0x5c617e='';for(const _0x59abdc of _0x486bb7){const {startOffset:_0x58ebaa,endOffset:_0x49533f,isActive:_0x53db8d,rangeType:_0x5e5176,segmentId:_0x2f46e5,segmentPage:_0x524fd5}=_0x59abdc;_0x5c617e[_0x42ca90(0x3b0)]&&(_0x5c617e+=','),_0x5c617e+=_0x58ebaa+':'+_0x49533f+':'+(_0x53db8d?'1':'0')+':'+_0x5e5176+':'+_0x2f46e5+':'+_0x524fd5;}return _0x5c617e;}function _0x33a435(_0x4de7ed){const _0x2feed5=_0x964c6d,_0x8c2de5=_0x4de7ed[_0x2feed5(0x324)](','),_0xc8497a=[];for(const _0x512ef9 of _0x8c2de5){const [_0x3e3072,_0x1c8c8f,_0xc534b0,_0x2d8ca2,_0x42e94e,_0x337042]=_0x512ef9['split'](':');_0xc8497a[_0x2feed5(0x28c)]({'startOffset':Number(_0x3e3072),'endOffset':Number(_0x1c8c8f),'collapsed':_0x3e3072===_0x1c8c8f,'isActive':_0xc534b0==='1','rangeType':_0x2d8ca2===_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]?_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]:_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x3e6)],'segmentId':typeof _0x42e94e==_0x2feed5(0x194)?String(_0x42e94e):'','segmentPage':Number(_0x337042!=null?_0x337042:-0x1)});}return _0xc8497a[_0x2feed5(0x29a)](_0x20c6ea=>_0x20c6ea[_0x2feed5(0x1a2)])||(_0xc8497a[0x0][_0x2feed5(0x1a2)]=!0x0),_0xc8497a;}class _0x6e5760 extends _0x17a0d6['RxDisposable']{constructor(){const _0x350a44=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x350a44(0x1fa),new _0xa893e5[(_0x350a44(0x1e7))](null)),_0x2e1f76(this,_0x350a44(0x256),this[_0x350a44(0x1fa)][_0x350a44(0x2b1)]());}['syncEditingCollabCursor'](_0x2b3b9a){const _0x389309=_0x964c6d,{unitID:_0x4b50b6,memberID:_0x53e7e2,textRanges:_0x171ca3}=_0x2b3b9a,_0x49656c=_0x36ad89(_0x171ca3);if(_0x49656c==='')return;const _0x2ac93f={'unitID':_0x4b50b6,'memberID':_0x53e7e2,'selection':_0x49656c};this['_collabCursorState$'][_0x389309(0x3ae)](_0x2ac93f);}}var _0x543f04=Object['getOwnPropertyDescriptor'],_0x6ba688=(_0xaec62b,_0x1e3639,_0x53b464,_0x180d4a)=>{const _0x50fb87=_0x964c6d;for(var _0x348326=_0x180d4a>0x1?void 0x0:_0x180d4a?_0x543f04(_0x1e3639,_0x53b464):_0x1e3639,_0x2943a0=_0xaec62b[_0x50fb87(0x3b0)]-0x1,_0x3befcb;_0x2943a0>=0x0;_0x2943a0--)(_0x3befcb=_0xaec62b[_0x2943a0])&&(_0x348326=_0x3befcb(_0x348326)||_0x348326);return _0x348326;},_0xc426b8=(_0x5913d4,_0x5a291e)=>(_0x831cba,_0x2f4a47)=>_0x5a291e(_0x831cba,_0x2f4a47,_0x5913d4);const _0x5e2a60=0x12c,_0x2b1042=0x64;let _0xdb8bd5=class extends _0x17a0d6['RxDisposable']{constructor(_0x5e2b3a,_0x3a5473,_0x3ee21f,_0x1fa7ea,_0x1028a1,_0x29a811,_0x5e4c6c,_0x4263f7,_0x293341){const _0x2ee42e=_0x964c6d;super(),_0x2e1f76(this,'_online',!0x1),_0x2e1f76(this,_0x2ee42e(0x272),!0x1),_0x2e1f76(this,_0x2ee42e(0x338),new _0xa893e5[(_0x2ee42e(0x1e7))](new Map())),_0x2e1f76(this,_0x2ee42e(0x28f),this['_cursorInfo$']['asObservable']()),_0x2e1f76(this,_0x2ee42e(0x38d),new _0xa893e5[(_0x2ee42e(0x1e7))]([])),_0x2e1f76(this,'roomMembers$',this['_roomMembers$'][_0x2ee42e(0x3e0)](_0xa893e5[_0x2ee42e(0x363)](_0x5e2a60))),_0x2e1f76(this,_0x2ee42e(0x1a3),_0x17a0d6[_0x2ee42e(0x35a)](_0x52c8bb=>{const _0x1aaa43=_0x2ee42e,_0x53b67d={'eventID':_0x2226d4[_0x1aaa43(0x1cf)][_0x1aaa43(0x3a7)],'data':{'unitID':this[_0x1aaa43(0x241)],'memberID':this[_0x1aaa43(0x33e)][_0x1aaa43(0x330)](),'selection':_0x36ad89(_0x52c8bb)}};this['_session'][_0x1aaa43(0x353)](_0x53b67d,this[_0x1aaa43(0x241)]);},_0x2b1042)),(this[_0x2ee42e(0x241)]=_0x5e2b3a,this[_0x2ee42e(0x33e)]=_0x3a5473,this[_0x2ee42e(0x222)]=_0x3ee21f,this[_0x2ee42e(0x279)]=_0x1fa7ea,this[_0x2ee42e(0x252)]=_0x1028a1,this['_syncEditingCollabCursorService']=_0x29a811,this[_0x2ee42e(0x354)]=_0x5e4c6c,this[_0x2ee42e(0x2ec)]=_0x4263f7,this[_0x2ee42e(0x1bf)]=_0x293341);}get['cursorInfo'](){const _0x587d35=_0x964c6d;return this[_0x587d35(0x338)][_0x587d35(0x204)]();}get[_0x964c6d(0x202)](){const _0xb4d50f=_0x964c6d;return this['_roomMembers$'][_0xb4d50f(0x204)]();}[_0x964c6d(0x2bd)](){const _0x5ea2d3=_0x964c6d;super[_0x5ea2d3(0x2bd)](),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3ae)](new Map()),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3a6)](),this['_roomMembers$'][_0x5ea2d3(0x3ae)]([]),this[_0x5ea2d3(0x38d)][_0x5ea2d3(0x3a6)]();}[_0x964c6d(0x365)](){const _0x424552=_0x964c6d;this[_0x424552(0x272)]||(this[_0x424552(0x272)]=!0x0,this[_0x424552(0x33e)][_0x424552(0x366)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x50d31f=>{const _0x914117=_0x424552;_0x50d31f===_0x1fb374['SessionStatus'][_0x914117(0x33f)]?this[_0x914117(0x2a0)]():this[_0x914117(0x302)]();}),this[_0x424552(0x33e)][_0x424552(0x1e3)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x5e715e=>{const _0x3a7349=_0x424552,_0x344952=_0x5e715e['eventID'];_0x344952===_0x2226d4[_0x3a7349(0x1cf)][_0x3a7349(0x3a7)]&&this['_onCursorUpdate'](_0x5e715e),_0x344952===_0x2226d4['CollaborationEvent'][_0x3a7349(0x2e4)]&&this['_onCursorDelete'](_0x5e715e);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x105319=>{const _0xaa5b3e=_0x424552,_0x20129f=_0x105319[_0xaa5b3e(0x290)];_0x20129f!=null&&this[_0xaa5b3e(0x2b7)]&&_0x105319['id']===_0x566265['SetTextSelectionsOperation']['id']&&_0x20129f[_0xaa5b3e(0x314)]===this[_0xaa5b3e(0x241)]&&_0x20129f[_0xaa5b3e(0x3e7)]===!0x1&&_0x20129f[_0xaa5b3e(0x244)][_0xaa5b3e(0x3b0)]>0x0&&this[_0xaa5b3e(0x1a3)](_0x20129f[_0xaa5b3e(0x244)]);})),this[_0x424552(0x3b4)][_0x424552(0x256)][_0x424552(0x3e0)](_0xa893e5['takeUntil'](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x531b4c=>{const _0x1d8474=_0x424552;if((_0x531b4c==null?void 0x0:_0x531b4c[_0x1d8474(0x241)])!==this[_0x1d8474(0x241)])return;const _0x37e3d5={'eventID':_0x2226d4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x531b4c};this[_0x1d8474(0x3ab)](_0x37e3d5);}),this['disposeWithMe'](this[_0x424552(0x1bf)][_0x424552(0x203)](_0x3f94d0=>{const _0x22cb7b=_0x424552;if(_0x3f94d0['params']==null)return;const _0x23ab1f=_0x3f94d0[_0x22cb7b(0x290)];if(_0x3f94d0['id']!==_0x566265['RichTextEditingMutation']['id']||_0x23ab1f[_0x22cb7b(0x314)]!==this[_0x22cb7b(0x241)])return;const _0x2681fb={'id':_0x22cb7b(0x26a),'params':_0x23ab1f},_0x30b61a=this[_0x22cb7b(0x1fe)];for(const [_0x2e23ad,_0xf5a38]of _0x30b61a){const _0x1f2d4e={'id':_0x22cb7b(0x26a),'params':{'unitId':this[_0x22cb7b(0x241)],'actions':null,'textRanges':_0xf5a38[_0x22cb7b(0x244)]}},_0x30c44d=this[_0x22cb7b(0x354)][_0x22cb7b(0x28d)](_0x2681fb,_0x1f2d4e,!0x1);if(_0x2226d4[_0x22cb7b(0x398)](_0x30c44d))throw _0x30c44d[_0x22cb7b(0x232)];_0x30b61a[_0x22cb7b(0x26d)](_0x2e23ad,{..._0xf5a38,'ranges':_0x30c44d['m2Prime'][_0x22cb7b(0x290)][_0x22cb7b(0x39a)]});}queueMicrotask(()=>{const _0x66d643=_0x22cb7b;this['_cursorInfo$'][_0x66d643(0x3ae)](_0x30b61a);});})));}['_onCursorUpdate'](_0x3e7338){const _0xa1cc09=_0x964c6d;var _0x1c1f45,_0x5afcb3;const {memberID:_0x19ac97,selection:_0x1c2a8e}=_0x3e7338[_0xa1cc09(0x169)],_0x5378f8=_0x33a435(_0x1c2a8e),_0x58c99a=(_0x5afcb3=(_0x1c1f45=this['_memberService'][_0xa1cc09(0x391)](this['unitID'],_0x19ac97))==null?void 0x0:_0x1c1f45[_0xa1cc09(0x2ed)])!=null?_0x5afcb3:_0xa1cc09(0x371),_0x4003d2={'color':this['_colorAssignService'][_0xa1cc09(0x280)](_0x19ac97),'name':_0x58c99a,'ranges':_0x5378f8},_0x5b1652=this['cursorInfo'];_0x5b1652[_0xa1cc09(0x26d)](_0x19ac97,_0x4003d2),this[_0xa1cc09(0x338)][_0xa1cc09(0x3ae)](_0x5b1652);}['_onCursorDelete'](_0x35bb88){const _0x2cf398=_0x964c6d,{memberID:_0x2d382c}=_0x35bb88[_0x2cf398(0x169)],_0x24b597=this[_0x2cf398(0x1fe)];_0x24b597[_0x2cf398(0x31e)](_0x2d382c),this['_cursorInfo$'][_0x2cf398(0x3ae)](_0x24b597);}[_0x964c6d(0x2a0)](){const _0x2bca88=_0x964c6d;var _0x1486a8;if(this[_0x2bca88(0x2b7)]=!0x0,((_0x1486a8=this['_univerInstanceService'][_0x2bca88(0x172)]())==null?void 0x0:_0x1486a8[_0x2bca88(0x2fa)]())!==this['unitID'])return;const _0xde4d0c=this[_0x2bca88(0x222)][_0x2bca88(0x17d)](_0x566265[_0x2bca88(0x17e)])[_0x2bca88(0x264)]();Array[_0x2bca88(0x288)](_0xde4d0c)&&_0xde4d0c[_0x2bca88(0x3b0)]>0x0&&this['_updateLocalCursor'](_0xde4d0c);}[_0x964c6d(0x302)](){const _0x1611f0=_0x964c6d;this[_0x1611f0(0x2b7)]=!0x1;}};_0xdb8bd5=_0x6ba688([_0xc426b8(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0xc426b8(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0xc426b8(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x370)])),_0xc426b8(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x6e5760)),_0xc426b8(0x6,_0x2226d4[_0x964c6d(0x181)]),_0xc426b8(0x7,_0x17a0d6[_0x964c6d(0x22d)]),_0xc426b8(0x8,_0x17a0d6[_0x964c6d(0x351)])],_0xdb8bd5);var _0x3e1688=Object[_0x964c6d(0x236)],_0x54c9ef=(_0x54d0af,_0x18f138,_0x3c0e3b,_0x387aab)=>{const _0x127a95=_0x964c6d;for(var _0x168abc=_0x387aab>0x1?void 0x0:_0x387aab?_0x3e1688(_0x18f138,_0x3c0e3b):_0x18f138,_0x3cea17=_0x54d0af[_0x127a95(0x3b0)]-0x1,_0x4b8438;_0x3cea17>=0x0;_0x3cea17--)(_0x4b8438=_0x54d0af[_0x3cea17])&&(_0x168abc=_0x4b8438(_0x168abc)||_0x168abc);return _0x168abc;},_0x54b63a=(_0x347137,_0x4851d2)=>(_0x3d2d93,_0xd8dce1)=>_0x4851d2(_0x3d2d93,_0xd8dce1,_0x347137);const _0x2335cd=0x12c,_0x2cd483=0x64,_0x53301b=()=>{let _0xe6e85=[],_0x181a3a=!0x1;return _0x562a6a=>{const _0x23de79=_0x12c4;_0xe6e85[_0x23de79(0x28c)](_0x562a6a),_0x181a3a||(_0x181a3a=!0x0,setTimeout(()=>{const _0x1397e6=_0x23de79;_0xe6e85[_0x1397e6(0x2ad)](_0x5bfa9e=>_0x5bfa9e()),_0xe6e85=[],_0x181a3a=!0x1;}));};};let _0x52679c=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1d9803,_0x3d3cb0,_0x25bb98,_0x4a70d1,_0x53a381,_0x577aa6,_0x3ae900,_0x337967){const _0x5e8636=_0x964c6d;super(),_0x2e1f76(this,_0x5e8636(0x2b7),!0x1),_0x2e1f76(this,_0x5e8636(0x272),!0x1),_0x2e1f76(this,'_cursorInfo$',new _0xa893e5['BehaviorSubject'](new Map())),_0x2e1f76(this,_0x5e8636(0x28f),this[_0x5e8636(0x338)][_0x5e8636(0x2b1)]()),_0x2e1f76(this,_0x5e8636(0x38d),new _0xa893e5[(_0x5e8636(0x1e7))]([])),_0x2e1f76(this,_0x5e8636(0x1a4),this[_0x5e8636(0x38d)][_0x5e8636(0x3e0)](_0xa893e5[_0x5e8636(0x363)](_0x2335cd))),_0x2e1f76(this,_0x5e8636(0x1a3),_0x17a0d6[_0x5e8636(0x35a)]((_0x1607b8,_0x5982cf)=>{const _0x51bed0=_0x5e8636,_0xfb9db7={'eventID':_0x2226d4[_0x51bed0(0x1cf)][_0x51bed0(0x3a7)],'data':{'unitID':this[_0x51bed0(0x241)],'memberID':this['_session'][_0x51bed0(0x330)](),'selection':_0x2899a3[_0x51bed0(0x165)](_0x1607b8,_0x5982cf['range'])}};this[_0x51bed0(0x33e)][_0x51bed0(0x353)](_0xfb9db7,this[_0x51bed0(0x241)]);},_0x2cd483)),(this[_0x5e8636(0x241)]=_0x1d9803,this[_0x5e8636(0x33e)]=_0x3d3cb0,this[_0x5e8636(0x222)]=_0x25bb98,this[_0x5e8636(0x279)]=_0x4a70d1,this['_memberService']=_0x53a381,this[_0x5e8636(0x2ec)]=_0x577aa6,this[_0x5e8636(0x1bf)]=_0x3ae900,this[_0x5e8636(0x317)]=_0x337967);}get[_0x964c6d(0x1fe)](){const _0x3d5b1b=_0x964c6d;return this[_0x3d5b1b(0x338)]['getValue']();}get[_0x964c6d(0x202)](){const _0x24cc2e=_0x964c6d;return this['_roomMembers$'][_0x24cc2e(0x204)]();}[_0x964c6d(0x2bd)](){const _0x33fbeb=_0x964c6d;super[_0x33fbeb(0x2bd)](),this[_0x33fbeb(0x338)][_0x33fbeb(0x3ae)](new Map()),this[_0x33fbeb(0x338)][_0x33fbeb(0x3a6)](),this[_0x33fbeb(0x38d)]['next']([]),this[_0x33fbeb(0x38d)][_0x33fbeb(0x3a6)]();}[_0x964c6d(0x365)](){const _0x820824=_0x964c6d;this[_0x820824(0x272)]||(this[_0x820824(0x272)]=!0x0,this[_0x820824(0x33e)]['sessionStatus$'][_0x820824(0x3e0)](_0xa893e5['takeUntil'](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x4c5e63=>{const _0x12aa33=_0x820824;_0x4c5e63===_0x1fb374[_0x12aa33(0x235)][_0x12aa33(0x33f)]?this['_toggleOnline']():this[_0x12aa33(0x302)]();}),this['_session'][_0x820824(0x1e3)]['pipe'](_0xa893e5[_0x820824(0x345)](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x1d1e83=>{const _0x3a47d4=_0x820824,_0x4e018e=_0x1d1e83[_0x3a47d4(0x22b)];_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)][_0x3a47d4(0x3a7)]&&this[_0x3a47d4(0x3ab)](_0x1d1e83),_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)]['USERS_LEAVE']&&this[_0x3a47d4(0x23e)](_0x1d1e83);}),this[_0x820824(0x2d8)](),this[_0x820824(0x2ba)](this[_0x820824(0x1bf)][_0x820824(0x203)](_0x133840=>{const _0x59da91=_0x820824;if(this[_0x59da91(0x2b7)]&&_0x133840['id']===_0x1ce549[_0x59da91(0x2d3)]['id']&&_0x133840[_0x59da91(0x290)][_0x59da91(0x314)]===this[_0x59da91(0x241)]){const _0x5595b2=_0x133840[_0x59da91(0x290)];this[_0x59da91(0x1a3)](_0x5595b2[_0x59da91(0x174)],_0x5595b2[_0x59da91(0x2f3)][0x0]);}})));}[_0x964c6d(0x3ab)](_0x502795){const _0x1de82c=_0x964c6d;var _0x55a9e4,_0x57c129;const {memberID:_0x4d3f41,selection:_0x37a466}=_0x502795[_0x1de82c(0x169)],{sheetName:_0x422c31,range:_0x515a77}=_0x2899a3['deserializeRangeWithSheet'](_0x37a466),_0x168e46={'name':(_0x57c129=(_0x55a9e4=this[_0x1de82c(0x252)][_0x1de82c(0x391)](this[_0x1de82c(0x241)],_0x4d3f41))==null?void 0x0:_0x55a9e4[_0x1de82c(0x2ed)])!=null?_0x57c129:_0x1de82c(0x371),'range':this[_0x1de82c(0x373)](_0x422c31,_0x515a77),'sheetID':_0x422c31,'color':this['_colorAssignService'][_0x1de82c(0x280)](_0x4d3f41),'selection':_0x37a466},_0x5ecb1c=this[_0x1de82c(0x1fe)];_0x5ecb1c['set'](_0x4d3f41,_0x168e46),this[_0x1de82c(0x338)][_0x1de82c(0x3ae)](_0x5ecb1c);}[_0x964c6d(0x23e)](_0x28fe3f){const _0x144a9e=_0x964c6d,{memberID:_0xe5997b}=_0x28fe3f[_0x144a9e(0x169)],_0x3d5489=this[_0x144a9e(0x1fe)];_0x3d5489['delete'](_0xe5997b),this[_0x144a9e(0x338)][_0x144a9e(0x3ae)](_0x3d5489);}[_0x964c6d(0x373)](_0x460dc4,_0x4a3a28){const _0x33c15f=_0x964c6d;var _0x8f32cb,_0x2ce64a;const _0x426d4e=(_0x2ce64a=(_0x8f32cb=this[_0x33c15f(0x2ec)][_0x33c15f(0x34c)](this[_0x33c15f(0x241)]))==null?void 0x0:_0x8f32cb[_0x33c15f(0x216)](_0x460dc4))==null?void 0x0:_0x2ce64a[_0x33c15f(0x3d9)]();return(_0x426d4e==null?void 0x0:_0x426d4e[_0x33c15f(0x2d4)](_0x3e50d1=>_0x17a0d6['Rectangle'][_0x33c15f(0x2c8)](_0x3e50d1,_0x4a3a28)))||_0x4a3a28;}[_0x964c6d(0x2d8)](){const _0x2c6b56=_0x964c6d,_0x200345=new _0x17a0d6['DisposableCollection'](),_0x51387c=_0x53301b(),_0x310ce6=()=>{const _0x1305da=_0x12c4;_0x200345['dispose']();const _0x2165f0=(_0x4b69c4,_0x4a8a4c,_0x585404,_0x64e67c)=>{const _0x3a134a=_0x12c4;let _0x2558b4=[];switch(_0x4b69c4['id']){case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3af)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x39f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1d9)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x34b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x2bf)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1db)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x305)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x386)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f5)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x2a7)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3da)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1e0)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)]['MoveRangeCommandId']:{_0x2558b4=_0x1ce549[_0x3a134a(0x17b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f8)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x17f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3e1)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x24c)](_0x4b69c4,_0x64e67c);break;}}const _0x3c5e0c=_0x1ce549[_0x3a134a(0x24d)](_0x2558b4,_0x64e67c),_0x1373ef=this[_0x3a134a(0x1fe)][_0x3a134a(0x17d)](_0x4a8a4c);if(_0x1373ef&&_0x3c5e0c){const _0x5c7029={..._0x1373ef,'range':_0x3c5e0c};this[_0x3a134a(0x1fe)]['set'](_0x4a8a4c,_0x5c7029),_0x51387c(()=>{const _0x448e66=_0x3a134a,_0x5358ce=this[_0x448e66(0x317)]['registerRefRange'](_0x3c5e0c,_0x42a4e7=>(_0x5358ce['dispose'](),_0x2165f0(_0x42a4e7,_0x4a8a4c,_0x585404,_0x3c5e0c)));_0x200345[_0x448e66(0x16b)](_0x5358ce);});}return{'redos':[],'undos':[]};};this[_0x1305da(0x1fe)][_0x1305da(0x2ad)]((_0x574e38,_0x319ffd)=>{const _0x2bb741=_0x1305da,{range:_0x5ea373,sheetID:_0x57ee9f}=_0x574e38,_0x4efd11=this[_0x2bb741(0x317)]['registerRefRange'](_0x5ea373,_0x45dd5a=>(_0x4efd11['dispose'](),_0x2165f0(_0x45dd5a,_0x319ffd,_0x57ee9f,_0x5ea373)));_0x200345[_0x2bb741(0x16b)](_0x4efd11);});};this['disposeWithMe'](_0x17a0d6['toDisposable'](this[_0x2c6b56(0x338)][_0x2c6b56(0x3ec)](()=>{_0x310ce6();})));}[_0x964c6d(0x2a0)](){const _0x26d654=_0x964c6d;var _0x436d26,_0x304ba5;if(this['_online']=!0x0,((_0x436d26=this[_0x26d654(0x2ec)][_0x26d654(0x172)]())==null?void 0x0:_0x436d26[_0x26d654(0x2fa)]())!==this[_0x26d654(0x241)])return;const _0x25f320=(_0x304ba5=this[_0x26d654(0x222)]['get'](_0x1ce549[_0x26d654(0x3de)])[_0x26d654(0x212)]())==null?void 0x0:_0x304ba5[0x0],_0x134cbc=this[_0x26d654(0x2ec)][_0x26d654(0x166)](_0x17a0d6[_0x26d654(0x217)]['UNIVER_SHEET'])[_0x26d654(0x260)]();_0x25f320&&_0x134cbc&&this[_0x26d654(0x1a3)](_0x134cbc[_0x26d654(0x315)](),_0x25f320);}['_toggleOffline'](){const _0x355ea1=_0x964c6d;this[_0x355ea1(0x2b7)]=!0x1;}};_0x52679c=_0x54c9ef([_0x54b63a(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x54b63a(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0x54b63a(0x4,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x370)])),_0x54b63a(0x5,_0x17a0d6[_0x964c6d(0x22d)]),_0x54b63a(0x6,_0x17a0d6[_0x964c6d(0x351)]),_0x54b63a(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x1ce549[_0x964c6d(0x3e4)]))],_0x52679c);var _0x2e9409=Object[_0x964c6d(0x236)],_0x573a31=(_0x48439b,_0xdd23a7,_0x211626,_0x4135ed)=>{const _0x325fc1=_0x964c6d;for(var _0x6f0f9=_0x4135ed>0x1?void 0x0:_0x4135ed?_0x2e9409(_0xdd23a7,_0x211626):_0xdd23a7,_0x348c1b=_0x48439b[_0x325fc1(0x3b0)]-0x1,_0x3ffcd1;_0x348c1b>=0x0;_0x348c1b--)(_0x3ffcd1=_0x48439b[_0x348c1b])&&(_0x6f0f9=_0x3ffcd1(_0x6f0f9)||_0x6f0f9);return _0x6f0f9;},_0x24ed41=(_0x3b5401,_0x4fdaf6)=>(_0x3ca0dc,_0x3e11c6)=>_0x4fdaf6(_0x3ca0dc,_0x3e11c6,_0x3b5401);let _0x1fcbad=class extends _0x17a0d6['RxDisposable']{constructor(_0x30f353,_0x578aa1,_0x31a927){const _0xa3e32a=_0x964c6d;super(),_0x2e1f76(this,_0xa3e32a(0x2dd),new Map()),_0x2e1f76(this,_0xa3e32a(0x3c7),new _0xa893e5[(_0xa3e32a(0x3ca))]()),(this[_0xa3e32a(0x2ec)]=_0x30f353,this[_0xa3e32a(0x222)]=_0x578aa1,this[_0xa3e32a(0x25e)]=_0x31a927,this[_0xa3e32a(0x272)]());}['dispose'](){const _0x535e36=_0x964c6d;super[_0x535e36(0x2bd)](),this[_0x535e36(0x3c7)][_0x535e36(0x3a6)](),this['_entities'][_0x535e36(0x2ad)](_0x420348=>_0x420348[_0x535e36(0x2bd)]());}['getCollabCursors$'](_0x320b13){const _0x4fe064=_0x964c6d;return this[_0x4fe064(0x2dd)][_0x4fe064(0x218)](_0x320b13)?this[_0x4fe064(0x2dd)][_0x4fe064(0x17d)](_0x320b13)[_0x4fe064(0x28f)]:this[_0x4fe064(0x3c7)][_0x4fe064(0x3e0)](_0xa893e5[_0x4fe064(0x2f2)](_0x2ec49e=>_0x2ec49e[_0x4fe064(0x241)]===_0x320b13),_0xa893e5[_0x4fe064(0x253)](_0x2a0d9f=>_0x2a0d9f[_0x4fe064(0x28f)]));}[_0x964c6d(0x272)](){const _0x51e6b5=_0x964c6d;this[_0x51e6b5(0x2ec)]['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x254)])[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x345)](this['dispose$']))[_0x51e6b5(0x3ec)](async _0x21db54=>{const _0x5e7cda=_0x51e6b5,_0x103eaa=_0x21db54[_0x5e7cda(0x2fa)](),_0x37d256=await this['_startSheetCollabCursor'](_0x103eaa);this[_0x5e7cda(0x3c7)]['next'](_0x37d256),this[_0x5e7cda(0x2dd)][_0x5e7cda(0x26d)](_0x103eaa,_0x37d256);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x206)])['pipe'](_0xa893e5['takeUntil'](this['dispose$']))[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x2f2)](_0x2ab89f=>!_0x2ab89f['getUnitId']()[_0x51e6b5(0x16c)]('__')))[_0x51e6b5(0x3ec)](async _0x39ac2a=>{const _0x2db971=_0x51e6b5,_0x463ea8=_0x39ac2a['getUnitId'](),_0x4b2fa6=await this[_0x2db971(0x352)](_0x463ea8);this[_0x2db971(0x3c7)][_0x2db971(0x3ae)](_0x4b2fa6),this[_0x2db971(0x2dd)]['set'](_0x463ea8,_0x4b2fa6);}),_0xa893e5[_0x51e6b5(0x325)](this[_0x51e6b5(0x2ec)][_0x51e6b5(0x2fb)](_0x17a0d6['UniverInstanceType'][_0x51e6b5(0x206)]),this[_0x51e6b5(0x2ec)]['getTypeOfUnitDisposed$'](_0x17a0d6['UniverInstanceType']['UNIVER_SHEET']))[_0x51e6b5(0x3e0)](_0xa893e5['takeUntil'](this[_0x51e6b5(0x1d7)]))[_0x51e6b5(0x3ec)](_0x19d906=>{const _0x5efbd7=_0x51e6b5,_0x649000=_0x19d906[_0x5efbd7(0x2fa)](),_0x24dd0a=this[_0x5efbd7(0x2dd)][_0x5efbd7(0x17d)](_0x649000);_0x24dd0a&&(_0x24dd0a[_0x5efbd7(0x2bd)](),this[_0x5efbd7(0x2dd)]['delete'](_0x649000));});}async['_startSheetCollabCursor'](_0xef7b36){const _0x4240c2=_0x964c6d,_0x392a9e=await this['_collabSessionService']['requireSession'](_0xef7b36),_0x37d287=this['_injector']['createInstance'](_0x52679c,_0xef7b36,_0x392a9e);return _0x37d287[_0x4240c2(0x365)](),_0x37d287;}async[_0x964c6d(0x352)](_0x1f3e26){const _0x7fbd00=_0x964c6d,_0x56310c=await this[_0x7fbd00(0x25e)][_0x7fbd00(0x175)](_0x1f3e26),_0x4d7aea=this[_0x7fbd00(0x222)]['createInstance'](_0xdb8bd5,_0x1f3e26,_0x56310c);return _0x4d7aea['init'](),_0x4d7aea;}};_0x1fcbad=_0x573a31([_0x24ed41(0x0,_0x17a0d6['IUniverInstanceService']),_0x24ed41(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x24ed41(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x25f)]))],_0x1fcbad);const _0x87e5e0=0x14,_0x35d25f=0xc8,_0x367f69=0x4,_0x35c3cf=0x5;function _0x410f3d(_0x59fe37,_0x5a4c95){const _0x34e30d=_0x964c6d;let {radius:_0x49aeae,width:_0xe22c01,height:_0x3a913b}=_0x5a4c95;_0x49aeae=_0x49aeae!=null?_0x49aeae:0x0,_0xe22c01=_0xe22c01!=null?_0xe22c01:0x1e,_0x3a913b=_0x3a913b!=null?_0x3a913b:0x1e;let _0x4226b6=0x0,_0x70e29d=0x0,_0x29263f=0x0;_0x4226b6=_0x70e29d=_0x29263f=Math['min'](_0x49aeae,_0xe22c01/0x2,_0x3a913b/0x2),_0x59fe37[_0x34e30d(0x387)](),_0x59fe37[_0x34e30d(0x1e8)](_0x4226b6,0x0),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01-_0x70e29d,0x0),_0x59fe37[_0x34e30d(0x259)](_0xe22c01-_0x70e29d,_0x70e29d,_0x70e29d,Math['PI']*0x3/0x2,0x0,!0x1),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01,_0x3a913b-_0x29263f),_0x59fe37['arc'](_0xe22c01-_0x29263f,_0x3a913b-_0x29263f,_0x29263f,0x0,Math['PI']/0x2,!0x1),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x3a913b),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x4226b6),_0x59fe37[_0x34e30d(0x259)](_0x4226b6,_0x4226b6,_0x4226b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59fe37[_0x34e30d(0x3ba)](),_0x5a4c95[_0x34e30d(0x36a)]&&(_0x59fe37[_0x34e30d(0x2ef)](),_0x59fe37['fillStyle']=_0x5a4c95[_0x34e30d(0x36a)],_0x5a4c95[_0x34e30d(0x281)]==='evenodd'?_0x59fe37[_0x34e30d(0x36a)]('evenodd'):_0x59fe37['fill'](),_0x59fe37['restore']());}class _0x3f38d3 extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x4093e1,_0x3af56a){const _0x7b0707=_0x964c6d;super(_0x4093e1,_0x3af56a),_0x2e1f76(this,_0x7b0707(0x246)),_0x2e1f76(this,'text'),(this['color']=_0x3af56a==null?void 0x0:_0x3af56a[_0x7b0707(0x246)],this[_0x7b0707(0x168)]=_0x3af56a==null?void 0x0:_0x3af56a['text']);}static[_0x964c6d(0x201)](_0x149752,_0x23395f){const _0x4d14cc=_0x964c6d,{text:_0x3900b0,color:_0x178f27}=_0x23395f;_0x149752[_0x4d14cc(0x2ef)](),_0x149752[_0x4d14cc(0x1aa)]=_0x4d14cc(0x1b1);const _0x59fb75=_0x149752[_0x4d14cc(0x1b6)](_0x3900b0)[_0x4d14cc(0x3ac)],_0x445384=Math[_0x4d14cc(0x178)](_0x59fb75+0x2*_0x367f69,_0x35d25f);_0x410f3d(_0x149752,{'height':_0x87e5e0,'radius':0x4,'width':_0x445384,'fill':_0x178f27}),_0x149752['fillStyle']='#FFF';const _0x4fbce3=_0x367f69,_0x156fd2=_0x87e5e0-_0x35c3cf,_0x1826b7=_0x35d25f-0x2*_0x367f69;if(_0x59fb75>_0x1826b7){let _0x32c65='',_0x426689=0x0;for(const _0x441eea of _0x3900b0){const _0x1a614d=_0x149752['measureText'](_0x441eea)[_0x4d14cc(0x3ac)];if(_0x426689+_0x1a614d<=_0x1826b7-_0x149752['measureText']('...')[_0x4d14cc(0x3ac)])_0x32c65+=_0x441eea,_0x426689+=_0x1a614d;else{_0x32c65+=_0x4d14cc(0x1d0);break;}}_0x149752['fillText'](_0x32c65,_0x4fbce3,_0x156fd2);}else _0x149752[_0x4d14cc(0x20e)](_0x3900b0,_0x4fbce3,_0x156fd2);_0x149752[_0x4d14cc(0x29d)]();}[_0x964c6d(0x20b)](_0xd0ac2f){const _0xaa35e1=_0x964c6d;_0x3f38d3[_0xaa35e1(0x201)](_0xd0ac2f,this);}}const _0xcda025='collab-text-anchor-',_0x56ee60='collab-text-range-',_0x298bbe=_0x964c6d(0x39c),_0x289c33=0x6,_0x5828f2=1.5,_0x3282d2=0x4,_0x278032=1.5,_0x445c62='rgba(255,\x20255,\x20255,\x200.01)';class _0x4aadd1{constructor(_0x85cb5,_0x1a4abc,_0x41894e,_0x17af87){const _0x3dcf26=_0x964c6d;_0x2e1f76(this,_0x3dcf26(0x2ce),[]),_0x2e1f76(this,_0x3dcf26(0x199),null),_0x2e1f76(this,_0x3dcf26(0x35b),null),_0x2e1f76(this,_0x3dcf26(0x3cd),null),_0x2e1f76(this,_0x3dcf26(0x3c8),null),_0x2e1f76(this,'_eventUnsubscribe',null),(this['_cursor']=_0x85cb5,this[_0x3dcf26(0x3d2)]=_0x1a4abc,this[_0x3dcf26(0x29b)]=_0x41894e,this[_0x3dcf26(0x2db)]=_0x17af87,this[_0x3dcf26(0x1b4)]());}set['_hover'](_0x3ce576){const _0x2aab4a=_0x964c6d;_0x3ce576?(this[_0x2aab4a(0x3cd)]&&this[_0x2aab4a(0x3cd)][_0x2aab4a(0x372)](),this[_0x2aab4a(0x35b)]&&this[_0x2aab4a(0x35b)]['show']()):(this[_0x2aab4a(0x3cd)]&&this['_anchorDot']['show'](),this[_0x2aab4a(0x35b)]&&this['_textBubble'][_0x2aab4a(0x372)]());}[_0x964c6d(0x2bd)](){const _0x344525=_0x964c6d;for(const _0x3bf72a of this[_0x344525(0x2ce)])_0x3bf72a['dispose']();this['_textBubble']&&this['_textBubble'][_0x344525(0x2bd)](),this['_anchorDot']&&this[_0x344525(0x3cd)][_0x344525(0x2bd)](),this[_0x344525(0x199)]&&this[_0x344525(0x199)][_0x344525(0x2bd)](),this[_0x344525(0x294)]&&this[_0x344525(0x294)]();}[_0x964c6d(0x1b4)](){const _0x529094=_0x964c6d;var _0x384fd0;const {_docSkeleton:_0x2a60ea,_document:_0x2a6697}=this,{color:_0x7c2155,name:_0x46925d,ranges:_0x37480a}=this[_0x529094(0x1e9)],_0x3e036d=_0x2a6697[_0x529094(0x3b2)](),{docsLeft:_0x33628c,docsTop:_0x1b3277}=_0x3e036d,_0x13b13c=new _0x21bec9[(_0x529094(0x306))](_0x3e036d,_0x2a60ea);for(const {startOffset:_0x1e2261,endOffset:_0x348829,rangeType:_0x4db35f,segmentId:_0x41c48d,segmentPage:_0x58f2a1,collapsed:_0x9308e5,isActive:_0x57320d}of _0x37480a){const _0x462082=_0x2a60ea['findNodePositionByCharIndex'](_0x1e2261,!0x0,_0x41c48d,_0x58f2a1);let _0x3b5978=_0x2a60ea['findNodePositionByCharIndex'](_0x348829,!0x0,_0x41c48d,_0x58f2a1);if(_0x3b5978==null&&(_0x3b5978=_0x2a60ea[_0x529094(0x3f2)](_0x348829-0x1,!0x1,_0x41c48d,_0x58f2a1)),_0x57320d){const {contentBoxPointGroup:_0x49591b}=_0x13b13c['getRangePointData'](_0x3b5978,_0x3b5978);if(_0x49591b[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x3b6)](_0x7c2155,_0x49591b,_0x33628c,_0x1b3277,_0x46925d),this[_0x529094(0x294)]=this[_0x529094(0x27f)]();}if(_0x462082&&_0x3b5978){if(_0x4db35f===_0x17a0d6['DOC_RANGE_TYPE'][_0x529094(0x3e6)]){const _0x5bc3b6=new _0x21bec9[(_0x529094(0x16f))](_0x3e036d,_0x2a60ea),{pointGroup:_0x32f1e7}=(_0x384fd0=_0x5bc3b6[_0x529094(0x243)](_0x462082,_0x3b5978))!=null?_0x384fd0:{};if(_0x32f1e7==null||_0x32f1e7['length']===0x0)continue;this[_0x529094(0x32a)](_0x7c2155,_0x32f1e7,_0x33628c,_0x1b3277);}else{if(!_0x9308e5){const {borderBoxPointGroup:_0x311c6e}=_0x13b13c[_0x529094(0x243)](_0x462082,_0x3b5978);if(_0x311c6e[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x284)](_0x7c2155,_0x311c6e,_0x33628c,_0x1b3277);}}}}}['_drawAnchor'](_0x238667,_0x119548,_0x449f7b,_0x48dd29,_0x2554e3){const _0x578ca0=_0x964c6d,_0x14bbb6=this[_0x578ca0(0x316)](_0x119548),{left:_0x480bcc,top:_0x51e2c9,height:_0x5908b8}=_0x14bbb6,_0x533ee3=this[_0x578ca0(0x226)](),_0x4893b7=_0x278032/_0x533ee3,_0x250f40=new _0x4826e7['Rect'](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29,'height':_0x5908b8,'width':_0x5828f2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6['COLORS'][_0x578ca0(0x26e)],0x0),'strokeWidth':_0x4893b7,'stroke':_0x445c62,'evented':!0x0});this[_0x578ca0(0x199)]=_0x250f40,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x250f40,_0x21bec9[_0x578ca0(0x329)]);const _0x20442c=new _0x4826e7[(_0x578ca0(0x21e))](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)]['generateRandomId'](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x3282d2/0x2,'height':_0x3282d2,'width':_0x3282d2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)][_0x578ca0(0x26e)],0x0),'evented':!0x1});this[_0x578ca0(0x3cd)]=_0x20442c,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x20442c,_0x21bec9[_0x578ca0(0x329)]);const _0x30da9f=new _0x3f38d3(_0xcda025+_0x17a0d6['Tools'][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x87e5e0,'text':_0x2554e3,'color':_0x238667});this[_0x578ca0(0x35b)]=_0x30da9f,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x30da9f,_0x21bec9[_0x578ca0(0x329)]),this['_hover']=!0x1;}[_0x964c6d(0x27f)](){const _0x4e364b=_0x964c6d,_0x3346ae=this[_0x4e364b(0x199)][_0x4e364b(0x295)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x64450b=this['_anchor'][_0x4e364b(0x1de)][_0x4e364b(0x1e2)](()=>{const _0x57f57e=_0x4e364b;this['_hideTimer']&&clearTimeout(this[_0x57f57e(0x3c8)]),this[_0x57f57e(0x3c8)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3018bc=_0x4e364b;_0x3346ae[_0x3018bc(0x239)](),_0x64450b[_0x3018bc(0x239)]();};}[_0x964c6d(0x284)](_0x4b0563,_0x2e6769,_0xe8a767,_0x55543d){const _0xb5afc=_0x964c6d,_0x4534a5=new _0x17a0d6[(_0xb5afc(0x31f))](_0x4b0563)[_0xb5afc(0x1f2)](0.2)[_0xb5afc(0x2ab)](),_0x3fad9f=new _0x4826e7[(_0xb5afc(0x2b8))](_0x56ee60+_0x17a0d6[_0xb5afc(0x37b)]['generateRandomId'](_0x289c33),{'pointsGroup':_0x2e6769,'fill':_0x4534a5||_0x4826e7['getColor'](_0x17a0d6['COLORS']['black'],0.2),'left':_0xe8a767,'top':_0x55543d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb5afc(0x2ce)][_0xb5afc(0x28c)](_0x3fad9f),this['_scene'][_0xb5afc(0x348)](_0x3fad9f,_0x21bec9[_0xb5afc(0x329)]);}['_drawRectRange'](_0x2e4dcf,_0x1228dd,_0x5e4adb,_0x31ddb4){const _0x5061dd=_0x964c6d,_0xa8164d=new _0x17a0d6[(_0x5061dd(0x31f))](_0x2e4dcf)[_0x5061dd(0x1f2)](0.2)[_0x5061dd(0x2ab)](),_0xffaf60=new _0x4826e7['RegularPolygon'](_0x298bbe+_0x17a0d6['Tools'][_0x5061dd(0x347)](_0x289c33),{'pointsGroup':_0x1228dd,'fill':_0xa8164d||_0x4826e7[_0x5061dd(0x1b0)](_0x17a0d6[_0x5061dd(0x37e)][_0x5061dd(0x26e)],0.2),'left':_0x5e4adb,'top':_0x31ddb4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5061dd(0x2ce)][_0x5061dd(0x28c)](_0xffaf60),this['_scene'][_0x5061dd(0x348)](_0xffaf60,_0x21bec9[_0x5061dd(0x329)]);}[_0x964c6d(0x316)](_0x2205f8){const _0x1cba35=_0x2205f8[0x0],_0x5f1528=_0x1cba35[0x0],_0x20fe87=_0x1cba35[0x2],{x:_0x2e69d6,y:_0x328635}=_0x5f1528,{x:_0x5cae41,y:_0x188ef4}=_0x20fe87;return{'left':_0x2e69d6,'top':_0x328635,'width':_0x5cae41-_0x2e69d6,'height':_0x188ef4-_0x328635};}[_0x964c6d(0x226)](){const _0x2cc579=_0x964c6d,{scaleX:_0x411155,scaleY:_0x35de5b}=this[_0x2cc579(0x3d2)][_0x2cc579(0x3dd)]();return Math[_0x2cc579(0x242)](_0x411155,_0x35de5b);}}var _0x5dddb6=Object['getOwnPropertyDescriptor'],_0x11c862=(_0x347093,_0x5179d9,_0x36daed,_0xbd2bf6)=>{for(var _0x1e9934=_0xbd2bf6>0x1?void 0x0:_0xbd2bf6?_0x5dddb6(_0x5179d9,_0x36daed):_0x5179d9,_0x144398=_0x347093['length']-0x1,_0x163133;_0x144398>=0x0;_0x144398--)(_0x163133=_0x347093[_0x144398])&&(_0x1e9934=_0x163133(_0x1e9934)||_0x1e9934);return _0x1e9934;},_0x8ec635=(_0x3c3803,_0x3ed040)=>(_0x29a939,_0x150188)=>_0x3ed040(_0x29a939,_0x150188,_0x3c3803);let _0x3036df=class extends _0x17a0d6['RxDisposable']{constructor(_0x317b82,_0x134ca1,_0x4bacd1,_0x46f982,_0x1e81c8){const _0x43ea64=_0x964c6d;super(),_0x2e1f76(this,_0x43ea64(0x25a),[]),_0x2e1f76(this,_0x43ea64(0x3a1),[]),(this['_context']=_0x317b82,this[_0x43ea64(0x3d5)]=_0x134ca1,this[_0x43ea64(0x189)]=_0x4bacd1,this[_0x43ea64(0x1bf)]=_0x46f982,this[_0x43ea64(0x3df)]=_0x1e81c8,this[_0x43ea64(0x272)]());}['_init'](){const _0x515c5d=_0x964c6d,_0x1625db=this[_0x515c5d(0x224)][_0x515c5d(0x314)],_0x26c87d=this[_0x515c5d(0x3d5)];this['disposeWithMe'](_0xa893e5[_0x515c5d(0x1ce)]([this[_0x515c5d(0x189)]['getCollabCursors$'](_0x1625db),this['_themeService'][_0x515c5d(0x2ee)]])[_0x515c5d(0x3e0)](_0x3fdb29['map'](([_0x15550d,_0x18ec7f])=>({'skeleton':_0x26c87d['getSkeleton'](),'cursors':[..._0x15550d[_0x515c5d(0x187)]()]['flatMap'](_0x1a81d0=>({..._0x1a81d0,'color':this[_0x515c5d(0x3df)]['getColorFromTheme'](_0x1a81d0['color'])}))})))[_0x515c5d(0x3ec)](_0x3c851e=>{const _0x5d32ef=_0x515c5d;if(this[_0x5d32ef(0x341)](),_0x3c851e){const {skeleton:_0x33440b,cursors:_0x5f3f2d}=_0x3c851e;this[_0x5d32ef(0x38a)](_0x33440b,_0x5f3f2d);}})),this[_0x515c5d(0x29f)](),this['_initCommandExecutedListener']();}[_0x964c6d(0x38a)](_0x34caa3,_0x8b5777){const {scene:_0x31c03f,mainComponent:_0x5b83c3}=this['_context'],_0x211658=_0x8b5777['map'](_0x3a2bd4=>new _0x4aadd1(_0x3a2bd4,_0x31c03f,_0x34caa3,_0x5b83c3));this['_cursorShapes']=_0x211658,this['_cursors']=_0x8b5777;}[_0x964c6d(0x33c)](){const _0x111651=_0x964c6d;this[_0x111651(0x341)]();const {scene:_0x2859fc,mainComponent:_0x58e27d}=this['_context'],_0x32409c=this[_0x111651(0x3d5)][_0x111651(0x205)](),_0x1b0943=this[_0x111651(0x3a1)]['map'](_0x25a05b=>new _0x4aadd1(_0x25a05b,_0x2859fc,_0x32409c,_0x58e27d));this[_0x111651(0x25a)]=_0x1b0943;}[_0x964c6d(0x341)](){const _0xd281ef=_0x964c6d;this[_0xd281ef(0x25a)]['forEach'](_0x5461a5=>_0x5461a5[_0xd281ef(0x2bd)]()),this[_0xd281ef(0x25a)]=[];}[_0x964c6d(0x274)](){const _0x54aa08=_0x964c6d,_0xe9e0aa=[_0x21bec9['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x54aa08(0x1bf)]['onCommandExecuted'](_0x35c534=>{const _0x7f7edb=_0x54aa08;_0xe9e0aa['includes'](_0x35c534['id'])&&_0x35c534['params'][_0x7f7edb(0x314)]===this[_0x7f7edb(0x224)][_0x7f7edb(0x314)]&&this['_refreshCollabCursors']();}));}[_0x964c6d(0x29f)](){const _0x5598d5=_0x964c6d;this['disposeWithMe'](_0x17a0d6[_0x5598d5(0x20c)](this['_context'][_0x5598d5(0x1ed)]['onTransformChange$'])['pipe'](_0x3fdb29[_0x5598d5(0x2f2)](_0x1cdd73=>_0x1cdd73[_0x5598d5(0x36f)]===_0x4826e7[_0x5598d5(0x1ab)]['resize']),_0x3fdb29[_0x5598d5(0x297)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3036df=_0x11c862([_0x8ec635(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x566265[_0x964c6d(0x200)])),_0x8ec635(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x8ec635(0x3,_0x17a0d6[_0x964c6d(0x351)]),_0x8ec635(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['ThemeService']))],_0x3036df);const _0x31250e=0x1,_0x252ad8=1.5;class _0x58253f extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x2aa8f7,_0x20f5e4){const _0x1b884b=_0x964c6d;super(_0x2aa8f7,_0x20f5e4),_0x2e1f76(this,'_color'),_0x2e1f76(this,_0x1b884b(0x2c2),!0x1),_0x2e1f76(this,_0x1b884b(0x34f)),_0x2e1f76(this,_0x1b884b(0x344),''),_0x2e1f76(this,_0x1b884b(0x18c),_0x1b884b(0x2c6)),_0x2e1f76(this,_0x1b884b(0x1ca)),(_0x20f5e4&&this['setShapeProps'](_0x20f5e4),this[_0x1b884b(0x295)][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x1})));}[_0x964c6d(0x323)](_0x318d26){const _0x1b4a2d=_0x964c6d;var _0x4a4f14,_0x543bb3,_0x49f539,_0xf693c6,_0x4066bb,_0x2e0619;this[_0x1b4a2d(0x1af)]=(_0x4a4f14=_0x318d26['color'])!=null?_0x4a4f14:this['_color'],this[_0x1b4a2d(0x2c2)]=(_0x543bb3=_0x318d26['hovered'])!=null?_0x543bb3:this[_0x1b4a2d(0x2c2)],this[_0x1b4a2d(0x34f)]=(_0x49f539=_0x318d26['range'])!=null?_0x49f539:this[_0x1b4a2d(0x34f)],this[_0x1b4a2d(0x344)]=(_0xf693c6=_0x318d26[_0x1b4a2d(0x2ed)])!=null?_0xf693c6:this['_name'],this[_0x1b4a2d(0x18c)]=(_0x4066bb=_0x318d26['labelPosition'])!=null?_0x4066bb:this[_0x1b4a2d(0x18c)],this[_0x1b4a2d(0x1ca)]=(_0x2e0619=_0x318d26[_0x1b4a2d(0x326)])!=null?_0x2e0619:this[_0x1b4a2d(0x1ca)],this[_0x1b4a2d(0x350)]({'width':_0x318d26['width'],'height':_0x318d26[_0x1b4a2d(0x1f0)]});}[_0x964c6d(0x21c)](_0x26a929){const _0x1e109f=_0x964c6d,{row:_0x6e064,column:_0xda4999}=_0x26a929;if(_0x6e064>=this[_0x1e109f(0x34f)][_0x1e109f(0x3cb)]&&_0x6e064<=this[_0x1e109f(0x34f)][_0x1e109f(0x19e)]&&_0xda4999>=this[_0x1e109f(0x34f)][_0x1e109f(0x1dd)]&&_0xda4999<=this[_0x1e109f(0x34f)][_0x1e109f(0x3be)]){this[_0x1e109f(0x323)]({'hovered':!0x0});return;}this[_0x1e109f(0x323)]({'hovered':!0x1});}['triggerDblclick'](_0x453ba1){return!0x1;}['_draw'](_0x5375cd){const _0x262d14=_0x964c6d;_0x4826e7['Rect'][_0x262d14(0x201)](_0x5375cd,{'width':this[_0x262d14(0x3ac)],'height':this[_0x262d14(0x1f0)],'strokeWidth':_0x252ad8,'stroke':this[_0x262d14(0x1af)],'evented':!0x1,'fill':this[_0x262d14(0x1ca)]}),this[_0x262d14(0x2c2)]&&(_0x5375cd[_0x262d14(0x2ef)](),_0x5375cd['transform'](0x1,0x0,0x0,0x1,this[_0x262d14(0x3ac)],this[_0x262d14(0x18c)]===_0x262d14(0x179)?0x0:-0x14),_0x3f38d3[_0x262d14(0x201)](_0x5375cd,{'text':this[_0x262d14(0x344)],'color':this[_0x262d14(0x1af)]}),_0x5375cd[_0x262d14(0x29d)]());}}var _0x35928f=Object['getOwnPropertyDescriptor'],_0x1cb1dc=(_0x2b218d,_0x104602,_0x2fe69f,_0x3f6e63)=>{const _0x205c9c=_0x964c6d;for(var _0x2b7cfa=_0x3f6e63>0x1?void 0x0:_0x3f6e63?_0x35928f(_0x104602,_0x2fe69f):_0x104602,_0x16ecee=_0x2b218d[_0x205c9c(0x3b0)]-0x1,_0x7cb510;_0x16ecee>=0x0;_0x16ecee--)(_0x7cb510=_0x2b218d[_0x16ecee])&&(_0x2b7cfa=_0x7cb510(_0x2b7cfa)||_0x2b7cfa);return _0x2b7cfa;},_0x512de9=(_0xeab218,_0x3f791c)=>(_0x11ff02,_0x32ef09)=>_0x3f791c(_0x11ff02,_0x32ef09,_0xeab218);const _0xc7f38e=0x1389;let _0x260fea=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0xb68d33,_0x41102a,_0x4dcbb3,_0x5211fe){const _0x5bde6d=_0x964c6d;super(),_0x2e1f76(this,'_cursors',new Set()),_0x2e1f76(this,_0x5bde6d(0x1dc),null),(this[_0x5bde6d(0x224)]=_0xb68d33,this['_sheetSkeletonManagerService']=_0x41102a,this[_0x5bde6d(0x189)]=_0x4dcbb3,this[_0x5bde6d(0x3df)]=_0x5211fe,this['_init']());}['_init'](){const _0x355e41=_0x964c6d;this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3e0)](_0x3fdb29[_0x355e41(0x345)](this['dispose$']),_0x3fdb29[_0x355e41(0x253)](_0x31d927=>{const _0x6c2707=_0x355e41;if(_0x31d927){const _0x4b3385=_0x31d927[_0x6c2707(0x249)];return _0xa893e5['combineLatest'](this[_0x6c2707(0x189)]['getCollabCursors$'](this[_0x6c2707(0x224)][_0x6c2707(0x314)]),this[_0x6c2707(0x3df)][_0x6c2707(0x2ee)])[_0x6c2707(0x3e0)](_0x3fdb29[_0x6c2707(0x240)](([_0x522f0a,_0x3d3854])=>{const _0x4989db=_0x6c2707,_0x7d7238=new Map();return _0x522f0a[_0x4989db(0x2ad)]((_0x240c2d,_0x378292)=>{const _0x1dd3b6=_0x4989db;if(_0x240c2d[_0x1dd3b6(0x3e2)]===_0x4b3385){const _0x1541a1={..._0x240c2d};_0x1541a1['color']=this[_0x1dd3b6(0x3df)][_0x1dd3b6(0x227)](_0x240c2d['color']),_0x7d7238[_0x1dd3b6(0x26d)](_0x378292,_0x1541a1);}}),{'skeleton':_0x31d927,'cursors':_0x7d7238};}));}return _0xa893e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x355e41(0x3ec)](({skeleton:_0x1ad968,cursors:_0x1d40e6})=>{const _0x5828c1=_0x355e41;this[_0x5828c1(0x341)](),_0x1ad968&&this['_updateCollabCursors'](_0x1ad968,_0x1d40e6);}),this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3ec)](_0x3a4c20=>{const _0x4513e4=_0x355e41;if(_0x3a4c20==null)return;const {skeleton:_0x23a920}=_0x3a4c20,{scene:_0x4d28e6}=this[_0x4513e4(0x224)];_0x4d28e6[_0x4513e4(0x1bc)][_0x4513e4(0x1e2)](_0x17a0d6[_0x4513e4(0x35a)](_0x4fa9a7=>{const _0x9fa0e5=_0x4513e4;var _0x18d961,_0x1454ee;const {offsetX:_0x1cc81f,offsetY:_0x138b85}=_0x4fa9a7,{x:_0x5454c6,y:_0x48c9b2}=_0x4d28e6[_0x9fa0e5(0x220)](_0x4826e7['Vector2']['FromArray']([_0x1cc81f,_0x138b85])),{scaleX:_0x4ab946,scaleY:_0x2fb023}=_0x4d28e6[_0x9fa0e5(0x3dd)](),_0x2c740f=_0x4d28e6['getViewport'](_0x4826e7['SHEET_VIEWPORT_KEY'][_0x9fa0e5(0x39d)]),_0x58dfa5=_0x4d28e6[_0x9fa0e5(0x30e)](_0x4826e7['Vector2']['FromArray']([_0x5454c6,_0x48c9b2]),_0x2c740f),_0x33bf03=_0x23a920['getCellPositionByOffset'](_0x1cc81f,_0x138b85,_0x4ab946,_0x2fb023,_0x58dfa5);((_0x18d961=this['_lastPointer'])==null?void 0x0:_0x18d961['column'])===_0x33bf03['column']&&((_0x1454ee=this[_0x9fa0e5(0x1dc)])==null?void 0x0:_0x1454ee[_0x9fa0e5(0x1f9)])===_0x33bf03[_0x9fa0e5(0x1f9)]||this[_0x9fa0e5(0x3a1)][_0x9fa0e5(0x2ad)](_0x4a7ba2=>{const _0x2c0b1d=_0x9fa0e5;_0x4a7ba2[_0x2c0b1d(0x21c)](_0x33bf03);});},0x64));});}['_updateCollabCursors'](_0x4f2afc,_0x1ba8f1){const _0x8948c7=_0x964c6d;var _0x330db2;const _0x22808a=(_0x330db2=this[_0x8948c7(0x2e9)]['getCurrent']())==null?void 0x0:_0x330db2['skeleton'];if(!_0x22808a)return;const _0x4f7747=this[_0x8948c7(0x163)]();if(!_0x4f7747)return;this[_0x8948c7(0x3a1)]['forEach'](_0xa79013=>{_0xa79013['makeDirty']();});const {scene:_0x3bfb04}=_0x4f7747,_0x59f089=_0x14396(Array[_0x8948c7(0x1bb)](_0x1ba8f1['values']()))[_0x8948c7(0x240)](_0x2b8c56=>{const _0x4477e9=_0x8948c7,{color:_0x4dac49,range:_0x13900d,name:_0x4f9cf0,selection:_0x3f9cb5,sheetID:_0x4cc45f}=_0x2b8c56,{startColumn:_0x595312,startRow:_0x5d52d0,endColumn:_0x2762ec,endRow:_0x33277e}=_0x13900d,_0x40f787=_0x3a9c80['getCoordByCell'](_0x5d52d0,_0x595312,_0x3bfb04,_0x22808a),_0x3b54a2=_0x3a9c80[_0x4477e9(0x2e1)](_0x33277e,_0x2762ec,_0x3bfb04,_0x22808a),{columnHeaderHeightAndMarginTop:_0x38fa0c}=_0x22808a,{startX:_0x2ef93b,startY:_0x4a8a9f}=_0x40f787,{endX:_0x1777d0,endY:_0x15c741}=_0x3b54a2,_0x191bc5=_0x1777d0-_0x2ef93b,_0x437dac=_0x15c741-_0x4a8a9f,_0xdc9860={'labelPosition':_0x4a8a9f-_0x38fa0c>=_0x87e5e0?_0x4477e9(0x2c6):'bottom','sheetID':_0x4cc45f,'range':_0x13900d,'color':_0x4dac49,'name':_0x4f9cf0,'selection':_0x3f9cb5,'left':_0x2ef93b,'top':_0x4a8a9f,'width':_0x191bc5,'height':_0x437dac,'evented':!0x1,'zIndex':_0xc7f38e};return new _0x58253f(_0x4f9cf0,_0xdc9860);});_0x3bfb04[_0x8948c7(0x22e)](_0x59f089,_0x31250e),this[_0x8948c7(0x3a1)]=new Set(_0x59f089);}['_removeCollabCursors'](){const _0x16f358=_0x964c6d;var _0x1776ff;(_0x1776ff=this[_0x16f358(0x3a1)])==null||_0x1776ff[_0x16f358(0x2ad)](_0x292283=>_0x292283[_0x16f358(0x2bd)]());}[_0x964c6d(0x163)](){const _0x559dfd=_0x964c6d;return _0x3a9c80['getSheetObject'](this[_0x559dfd(0x224)][_0x559dfd(0x164)],this[_0x559dfd(0x224)]);}};_0x260fea=_0x1cb1dc([_0x512de9(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x3a9c80['SheetSkeletonManagerService'])),_0x512de9(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x512de9(0x3,_0x17a0d6['Inject'](_0x17a0d6[_0x964c6d(0x30a)]))],_0x260fea);function _0x14396(_0x2bd845){const _0x3353dc=_0x964c6d,_0x275963=new Map();return _0x2bd845[_0x3353dc(0x2ad)](_0xf019b1=>{const _0x272a4b=_0x3353dc;if(_0x275963['has'](_0xf019b1[_0x272a4b(0x207)])){const _0x2caae1=_0x275963[_0x272a4b(0x17d)](_0xf019b1[_0x272a4b(0x207)]);_0x2caae1[_0x272a4b(0x2ed)]+=',\x20'+_0xf019b1['name'];}else _0x275963[_0x272a4b(0x26d)](_0xf019b1[_0x272a4b(0x207)],_0xf019b1);}),Array[_0x3353dc(0x1bb)](_0x275963[_0x3353dc(0x187)]());}var _0x532151=function(){const _0x34a26f=_0x964c6d;return _0x532151=Object['assign']||function(_0x4fde56){const _0x3aa72b=_0x12c4;for(var _0x521c9a,_0x13c1f6=0x1,_0x55c369=arguments[_0x3aa72b(0x3b0)];_0x13c1f6<_0x55c369;_0x13c1f6++){_0x521c9a=arguments[_0x13c1f6];for(var _0x26fbbb in _0x521c9a)Object['prototype'][_0x3aa72b(0x24a)][_0x3aa72b(0x2a6)](_0x521c9a,_0x26fbbb)&&(_0x4fde56[_0x26fbbb]=_0x521c9a[_0x26fbbb]);}return _0x4fde56;},_0x532151[_0x34a26f(0x331)](this,arguments);},_0x208050=function(_0x5965d7,_0x381c69){const _0x2f9f92=_0x964c6d;var _0x5238c0={};for(var _0x38bb3a in _0x5965d7)Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x24a)]['call'](_0x5965d7,_0x38bb3a)&&_0x381c69['indexOf'](_0x38bb3a)<0x0&&(_0x5238c0[_0x38bb3a]=_0x5965d7[_0x38bb3a]);if(_0x5965d7!=null&&typeof Object[_0x2f9f92(0x273)]==_0x2f9f92(0x270)){for(var _0x444f12=0x0,_0x38bb3a=Object[_0x2f9f92(0x273)](_0x5965d7);_0x444f12<_0x38bb3a[_0x2f9f92(0x3b0)];_0x444f12++)_0x381c69[_0x2f9f92(0x21a)](_0x38bb3a[_0x444f12])<0x0&&Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x3bf)][_0x2f9f92(0x2a6)](_0x5965d7,_0x38bb3a[_0x444f12])&&(_0x5238c0[_0x38bb3a[_0x444f12]]=_0x5965d7[_0x38bb3a[_0x444f12]]);}return _0x5238c0;},_0x17429f=_0x115905[_0x964c6d(0x22a)](function(_0x5f73ec,_0x3de7c7){const _0x52fa0d=_0x964c6d;var _0x124fbd=_0x5f73ec[_0x52fa0d(0x191)],_0x53dc33=_0x5f73ec['id'],_0x5c6bd4=_0x5f73ec[_0x52fa0d(0x388)],_0x175056=_0x5f73ec[_0x52fa0d(0x2e6)],_0x30b25d=_0x208050(_0x5f73ec,[_0x52fa0d(0x191),'id','className',_0x52fa0d(0x2e6)]),_0x4087b7=_0x52fa0d(0x28a)[_0x52fa0d(0x19c)](_0x53dc33,'\x20')['concat'](_0x5c6bd4||'')['trim'](),_0x494b04=_0x115905[_0x52fa0d(0x266)]('_'[_0x52fa0d(0x19c)](_0xeb2324()));return _0x217db5(_0x124fbd,''[_0x52fa0d(0x19c)](_0x53dc33),{'defIds':_0x124fbd['defIds'],'idSuffix':_0x494b04['current']},_0x532151({'ref':_0x3de7c7,'className':_0x4087b7},_0x30b25d),_0x175056);});function _0x217db5(_0x2b26dc,_0x1d37ff,_0x3b7f39,_0x6bf916,_0x409be3){const _0x5a1c89=_0x964c6d;return _0x115905[_0x5a1c89(0x374)](_0x2b26dc[_0x5a1c89(0x2ae)],_0x532151(_0x532151({'key':_0x1d37ff},_0x121086(_0x2b26dc,_0x3b7f39,_0x409be3)),_0x6bf916),(_0x51fea9(_0x2b26dc,_0x3b7f39)['children']||[])[_0x5a1c89(0x240)](function(_0x1675ef,_0xb3b7f3){const _0x309f9b=_0x5a1c89;return _0x217db5(_0x1675ef,''[_0x309f9b(0x19c)](_0x1d37ff,'-')[_0x309f9b(0x19c)](_0x2b26dc[_0x309f9b(0x2ae)],'-')[_0x309f9b(0x19c)](_0xb3b7f3),_0x3b7f39,void 0x0,_0x409be3);}));}function _0x121086(_0x812acb,_0x570f58,_0x157eaa){const _0x515520=_0x964c6d;var _0x259e8b=_0x532151({},_0x812acb['attrs']);_0x157eaa!=null&&_0x157eaa[_0x515520(0x170)]&&_0x259e8b[_0x515520(0x36a)]===_0x515520(0x170)&&(_0x259e8b[_0x515520(0x36a)]=_0x157eaa[_0x515520(0x170)]),_0x812acb['tag']===_0x515520(0x233)&&_0x259e8b['id']&&(_0x259e8b['id']=_0x259e8b['id']+_0x570f58[_0x515520(0x17a)]),Object[_0x515520(0x2ac)](_0x259e8b)['forEach'](function(_0x264f67){const _0x438d3e=_0x515520;var _0x305b8d=_0x264f67[0x0],_0x3f7a52=_0x264f67[0x1];_0x305b8d===_0x438d3e(0x233)&&typeof _0x3f7a52==_0x438d3e(0x194)&&(_0x259e8b[_0x305b8d]=_0x3f7a52[_0x438d3e(0x327)](/url\(#(.*)\)/,_0x438d3e(0x29c)[_0x438d3e(0x19c)](_0x570f58[_0x438d3e(0x17a)],')')));});var _0x1beaae=_0x570f58[_0x515520(0x1c0)];return!_0x1beaae||_0x1beaae['length']===0x0||(_0x812acb['tag']===_0x515520(0x24f)&&_0x259e8b[_0x515520(0x271)]&&(_0x259e8b['xlink:href']=_0x259e8b[_0x515520(0x271)]+_0x570f58[_0x515520(0x17a)]),Object['entries'](_0x259e8b)['forEach'](function(_0x5a3227){const _0x19b5ae=_0x515520;var _0x29dd3d=_0x5a3227[0x0],_0x4ffbd6=_0x5a3227[0x1];typeof _0x4ffbd6==_0x19b5ae(0x194)&&(_0x259e8b[_0x29dd3d]=_0x4ffbd6[_0x19b5ae(0x327)](/url\(#(.*)\)/,_0x19b5ae(0x29c)[_0x19b5ae(0x19c)](_0x570f58[_0x19b5ae(0x17a)],')')));})),_0x259e8b;}function _0x51fea9(_0x10f179,_0x38a547){const _0x388310=_0x964c6d;var _0xd4e198,_0x2af11a=_0x38a547['defIds'];return!_0x2af11a||_0x2af11a['length']===0x0?_0x10f179:_0x10f179[_0x388310(0x2ae)]===_0x388310(0x2f9)&&(!((_0xd4e198=_0x10f179[_0x388310(0x360)])===null||_0xd4e198===void 0x0)&&_0xd4e198[_0x388310(0x3b0)])?_0x532151(_0x532151({},_0x10f179),{'children':_0x10f179[_0x388310(0x360)][_0x388310(0x240)](function(_0x6fe52){const _0x408476=_0x388310;return typeof _0x6fe52[_0x408476(0x1b5)]['id']==_0x408476(0x194)&&_0x2af11a&&_0x2af11a['includes'](_0x6fe52[_0x408476(0x1b5)]['id'])?_0x532151(_0x532151({},_0x6fe52),{'attrs':_0x532151(_0x532151({},_0x6fe52[_0x408476(0x1b5)]),{'id':_0x6fe52[_0x408476(0x1b5)]['id']+_0x38a547[_0x408476(0x17a)]})}):_0x6fe52;})}):_0x10f179;}function _0xeb2324(){const _0x242565=_0x964c6d;return Math[_0x242565(0x378)]()[_0x242565(0x192)](0x24)['substring'](0x2,0x8);}_0x17429f[_0x964c6d(0x3e8)]=_0x964c6d(0x23d);var _0x27d349={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x223),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x964c6d(0x2af)},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x31d),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':_0x964c6d(0x1fc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'fill':_0x964c6d(0x37c),'d':_0x964c6d(0x298)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4052c2=_0x115905[_0x964c6d(0x22a)](function(_0x45e885,_0x29c375){const _0x435bc6=_0x964c6d;return _0x115905[_0x435bc6(0x374)](_0x17429f,Object['assign']({},_0x45e885,{'id':_0x435bc6(0x2fd),'ref':_0x29c375,'icon':_0x27d349}));});_0x4052c2[_0x964c6d(0x3e8)]=_0x964c6d(0x2cb);var _0x3c8387={'tag':_0x964c6d(0x3d1),'attrs':{'xmlns':_0x964c6d(0x209),'fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x1b9),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x1a7),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x964c6d(0x2f9),'attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':_0x964c6d(0x17c)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x964c6d(0x298),'transform':_0x964c6d(0x358)}}]}]}],'defIds':[_0x964c6d(0x17c)]},_0x31d449=_0x115905['forwardRef'](function(_0x5f18c7,_0x50be08){const _0x412588=_0x964c6d;return _0x115905[_0x412588(0x374)](_0x17429f,Object['assign']({},_0x5f18c7,{'id':_0x412588(0x2c1),'ref':_0x50be08,'icon':_0x3c8387}));});_0x31d449[_0x964c6d(0x3e8)]=_0x964c6d(0x309);function _0x2cbdb2(_0x225234){const _0x287300=_0x964c6d;switch(_0x225234){case _0x1fb374['CollaborationStatus'][_0x287300(0x375)]:return'collabStatus.offline';case _0x1fb374[_0x287300(0x37f)][_0x287300(0x35f)]:return _0x287300(0x1fb);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x278)]:return _0x287300(0x2d5);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a8)]:return _0x287300(0x229);case _0x1fb374['CollaborationStatus']['AWAITING']:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a5)]:return _0x287300(0x3b8);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3d6)]:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3dc)]:return _0x287300(0x1d2);}}function _0x531a04(_0x73ccc){const _0xb73c7b=_0x964c6d,{status$:_0x23fb17}=_0x73ccc,_0x278e43=_0x5aad63[_0xb73c7b(0x2de)](_0x23fb17,_0x1fb374[_0xb73c7b(0x37f)]['NOT_COLLAB']),_0x31b3d7=_0x5aad63[_0xb73c7b(0x1a5)](_0x17a0d6[_0xb73c7b(0x383)]),_0x2a89d1=_0x5aad63['useDependency'](_0x1fb374[_0xb73c7b(0x25f)]),_0x12b384=_0x278e43!==_0x1fb374['CollaborationStatus'][_0xb73c7b(0x375)],_0x347b0a=_0x31b3d7['t'](_0x2cbdb2(_0x278e43)),_0x2229d2=_0x12b384?_0x1c574a[_0xb73c7b(0x1a8)](_0x31d449,{}):_0x1c574a[_0xb73c7b(0x1a8)](_0x4052c2,{}),_0x28e887=_0x115905[_0xb73c7b(0x3c4)](()=>{_0x12b384||_0x2a89d1['reconnect']();},[_0x12b384,_0x2a89d1]);function _0x3e4d75(){const _0x291ccf=_0xb73c7b;return _0x1c574a[_0x291ccf(0x34d)](_0x291ccf(0x359),{'className':_0x291ccf(0x25b),'onClick':_0x28e887,'children':[_0x1c574a[_0x291ccf(0x1a8)](_0x291ccf(0x359),{'className':_0x20461d[_0x291ccf(0x3b7)](_0x291ccf(0x3aa),{'univer-text-green-500':_0x12b384,'univer-text-red-500':!_0x12b384}),'children':_0x2229d2}),_0x1c574a[_0x291ccf(0x1a8)]('div',{'className':_0x291ccf(0x2d9),'children':_0x347b0a})]});}return _0x12b384?_0x3e4d75():_0x1c574a[_0xb73c7b(0x1a8)](_0x20461d[_0xb73c7b(0x31a)],{'title':_0x31b3d7['t']('collab-client.tooltip.reconnect'),'children':_0x3e4d75()});}var _0x3ba78c=Object[_0x964c6d(0x236)],_0x15f736=(_0x3d3cf9,_0x55448a,_0x234104,_0x4a0087)=>{const _0x556ac8=_0x964c6d;for(var _0x5738a0=_0x4a0087>0x1?void 0x0:_0x4a0087?_0x3ba78c(_0x55448a,_0x234104):_0x55448a,_0x430ac3=_0x3d3cf9[_0x556ac8(0x3b0)]-0x1,_0x33697a;_0x430ac3>=0x0;_0x430ac3--)(_0x33697a=_0x3d3cf9[_0x430ac3])&&(_0x5738a0=_0x33697a(_0x5738a0)||_0x5738a0);return _0x5738a0;},_0x4056ad=(_0xcd5b1c,_0x3d4358)=>(_0x4fd1d4,_0x29729a)=>_0x3d4358(_0x4fd1d4,_0x29729a,_0xcd5b1c);_0x3fac21[_0x964c6d(0x38f)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x167374,_0x11e48f,_0xcd592d,_0x558d2c){const _0x54d09b=_0x964c6d;super(),_0x2e1f76(this,_0x54d09b(0x2b3),new _0xa893e5[(_0x54d09b(0x1e7))](_0x1fb374[_0x54d09b(0x37f)][_0x54d09b(0x2a8)])),(this[_0x54d09b(0x2ec)]=_0x167374,this[_0x54d09b(0x222)]=_0x11e48f,this[_0x54d09b(0x2f5)]=_0xcd592d,this[_0x54d09b(0x2e0)]=_0x558d2c,this['_initStatusComponent'](),this[_0x54d09b(0x1c9)]());}[_0x964c6d(0x1c9)](){const _0x3de371=_0x964c6d;this[_0x3de371(0x2ba)](this['_univerInstanceService'][_0x3de371(0x3e3)][_0x3de371(0x3e0)](_0xa893e5[_0x3de371(0x253)](()=>{const _0xef2f92=_0x3de371,_0x2fe44a=this[_0xef2f92(0x2ec)]['getFocusedUnit']();return _0x2fe44a?this['_collaborationController'][_0xef2f92(0x318)](_0x2fe44a[_0xef2f92(0x2fa)]()):_0xa893e5['of'](null);}),_0xa893e5['switchMap'](_0x2f81ee=>_0x2f81ee?_0x2f81ee[_0x3de371(0x30c)]:_0xa893e5['of'](_0x1fb374[_0x3de371(0x37f)]['NOT_COLLAB'])))[_0x3de371(0x3ec)](_0x15af0d=>{const _0x35dc5a=_0x3de371;this[_0x35dc5a(0x2b3)]['next'](_0x15af0d);}));}['_initStatusComponent'](){const _0x20ddef=_0x964c6d;this['disposeWithMe'](this['_uiPartsService'][_0x20ddef(0x2aa)](_0x5aad63[_0x20ddef(0x292)][_0x20ddef(0x335)],()=>_0x5aad63[_0x20ddef(0x31b)](_0x454310({'status$':this[_0x20ddef(0x2b3)][_0x20ddef(0x2b1)]()}),this[_0x20ddef(0x222)])));}},_0x3fac21['DesktopCollaborationStatusDisplayController']=_0x15f736([_0x4056ad(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x4056ad(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x4056ad(0x2,_0x17a0d6['Inject'](_0x1fb374['CollaborationController'])),_0x4056ad(0x3,_0x5aad63[_0x964c6d(0x225)])],_0x3fac21[_0x964c6d(0x38f)]);function _0x454310(_0x182d2a){const {status$:_0x4728de}=_0x182d2a;return function(){const _0x98ac36=_0x12c4;return _0x1c574a[_0x98ac36(0x1a8)](_0x531a04,{'status$':_0x4728de});};}var _0x55750b=Object[_0x964c6d(0x236)],_0xbb3464=(_0xb88d67,_0x4adfdd,_0x162f45,_0x54d16a)=>{const _0x4a3f10=_0x964c6d;for(var _0x2ce604=_0x54d16a>0x1?void 0x0:_0x54d16a?_0x55750b(_0x4adfdd,_0x162f45):_0x4adfdd,_0x2e226f=_0xb88d67[_0x4a3f10(0x3b0)]-0x1,_0x385df4;_0x2e226f>=0x0;_0x2e226f--)(_0x385df4=_0xb88d67[_0x2e226f])&&(_0x2ce604=_0x385df4(_0x2ce604)||_0x2ce604);return _0x2ce604;},_0x589aef=(_0x5af74f,_0x57fa70)=>(_0x17c1e0,_0x109e20)=>_0x57fa70(_0x17c1e0,_0x109e20,_0x5af74f);let _0x517629=class extends _0x17a0d6['Disposable']{constructor(_0x2ee52d,_0x54d548,_0x10743f,_0x1409fe,_0x207e81,_0x3ceee2){const _0x50c238=_0x964c6d;super(),this['_beforeCloseService']=_0x2ee52d,this[_0x50c238(0x171)]=_0x54d548,this[_0x50c238(0x1c4)]=_0x10743f,this[_0x50c238(0x1be)]=_0x1409fe,this['_notificationService']=_0x207e81,this['_localeService']=_0x3ceee2,this[_0x50c238(0x36b)](),this[_0x50c238(0x2d0)]();}['_setupBeforeClosingHandler'](){const _0x408bab=_0x964c6d;this[_0x408bab(0x2ba)](this[_0x408bab(0x364)][_0x408bab(0x22c)](()=>{const _0x4b8760=_0x408bab;if(this[_0x4b8760(0x171)]['saveTaskMap'][_0x4b8760(0x3eb)])return this[_0x4b8760(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x964c6d(0x2d0)](){const _0x30dd9e=_0x964c6d;this[_0x30dd9e(0x2ba)](this[_0x30dd9e(0x1c4)][_0x30dd9e(0x1e3)][_0x30dd9e(0x3ec)](_0x2a1ad8=>{const _0x395f18=_0x30dd9e;_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this['_localeService']['t'](_0x395f18(0x2e5))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x389)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['PERMISSION_DENIED']&&this[_0x395f18(0x1e4)][_0x395f18(0x3c3)]({'title':this[_0x395f18(0x2b9)]['t']('permission.title'),'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x2a1)),'type':_0x395f18(0x232),'duration':0x0}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['CONFLICT']&&this['_messageService']['show']({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))+'('+_0x2a1ad8[_0x395f18(0x169)]+')'}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['JOIN_ROOM_FAILED']&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x2a1ad8['data']||'')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x262)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x392))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x1c1)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d['MessageType'][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t']('session.connection-failed')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x21f)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x214))});}));}};_0x517629=_0xbb3464([_0x589aef(0x0,_0x5aad63['IBeforeCloseService']),_0x589aef(0x1,_0x1fb374[_0x964c6d(0x183)]),_0x589aef(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x3f5)])),_0x589aef(0x3,_0x5aad63[_0x964c6d(0x34a)]),_0x589aef(0x4,_0x5aad63[_0x964c6d(0x33d)]),_0x589aef(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x517629);const _0x326b37=_0x964c6d(0x394),_0x41abbc={},_0x58f6e4=_0x17a0d6[_0x964c6d(0x308)](_0x964c6d(0x1c7));var _0x1d1445=Object[_0x964c6d(0x236)],_0x443404=(_0x453b68,_0x5a80cd,_0x5bd929,_0x394d86)=>{const _0x48916c=_0x964c6d;for(var _0x6b2c81=_0x394d86>0x1?void 0x0:_0x394d86?_0x1d1445(_0x5a80cd,_0x5bd929):_0x5a80cd,_0x26cecc=_0x453b68[_0x48916c(0x3b0)]-0x1,_0x25b7c6;_0x26cecc>=0x0;_0x26cecc--)(_0x25b7c6=_0x453b68[_0x26cecc])&&(_0x6b2c81=_0x25b7c6(_0x6b2c81)||_0x6b2c81);return _0x6b2c81;},_0x42e3ef=(_0x8cf68a,_0x1ac9b6)=>(_0x515884,_0x4f4727)=>_0x1ac9b6(_0x515884,_0x4f4727,_0x8cf68a);_0x3fac21[_0x964c6d(0x328)]=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x9c6b55,_0x80eba,_0x42512f,_0x1024a5,_0xe6d049){const _0x127c19=_0x964c6d;super(),this[_0x127c19(0x3bd)]=_0x9c6b55,this[_0x127c19(0x3f1)]=_0x80eba,this[_0x127c19(0x1bf)]=_0x42512f,this['_dataLoaderService']=_0x1024a5,_0xe6d049?_0xe6d049==null||_0xe6d049[_0x127c19(0x20f)]()[_0x127c19(0x1c8)](()=>this[_0x127c19(0x272)]()):(this[_0x127c19(0x3f1)]['debug'](_0x127c19(0x188),_0x127c19(0x2cc)),this[_0x127c19(0x272)]());}async[_0x964c6d(0x272)](){const _0x140d12=_0x964c6d,_0x46593b=this[_0x140d12(0x3bd)]['getParam']('unit'),_0x1fb84b=this[_0x140d12(0x3bd)][_0x140d12(0x2e7)](_0x140d12(0x36f)),_0x35eb5c=this['_urlService'][_0x140d12(0x2e7)](_0x140d12(0x2d6));if(!_0x46593b||!_0x1fb84b){this['_logService']['debug'](_0x140d12(0x188),_0x140d12(0x275));return;}const _0x443c8f=await this[_0x140d12(0x2d2)]['loadUnit'](_0x46593b,Number(_0x1fb84b),_0x35eb5c);_0x443c8f&&_0x443c8f instanceof _0x17a0d6[_0x140d12(0x1a6)]&&this['_setupSubUnitSync'](_0x443c8f);}async[_0x964c6d(0x248)](_0x2702ee){const _0x4cda32=_0x964c6d;await this[_0x4cda32(0x35e)](_0x2702ee),_0x2702ee[_0x4cda32(0x2da)][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](_0x363fbb=>{const _0x435314=_0x4cda32;_0x363fbb&&this[_0x435314(0x1c3)](_0x363fbb);}),this[_0x4cda32(0x3bd)]['urlChange$'][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](()=>this[_0x4cda32(0x35e)](_0x2702ee));}[_0x964c6d(0x1c3)](_0x847895,_0x1c91de=!0x1){const _0x4eb8be=_0x964c6d,_0x571004=this[_0x4eb8be(0x3bd)][_0x4eb8be(0x2e7)](_0x4eb8be(0x2d6));_0x847895[_0x4eb8be(0x315)]()!==_0x571004&&this[_0x4eb8be(0x3bd)][_0x4eb8be(0x312)](_0x4eb8be(0x2d6),_0x847895[_0x4eb8be(0x315)](),_0x1c91de);}async[_0x964c6d(0x35e)](_0x5b4fba){const _0x235b00=_0x964c6d;var _0x27b87b;const _0x2c46aa=this[_0x235b00(0x3bd)][_0x235b00(0x2e7)](_0x235b00(0x2d6));if(!_0x2c46aa||!_0x5b4fba[_0x235b00(0x216)](_0x2c46aa)){const _0xfc2290=_0x5b4fba[_0x235b00(0x2d7)]()[0x0],_0x3237d8=_0x5b4fba['getSheetBySheetId'](_0xfc2290);if(!_0x3237d8)return;this[_0x235b00(0x1c3)](_0x3237d8,!0x0),await this[_0x235b00(0x1bf)][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba[_0x235b00(0x2fa)](),'subUnitId':_0xfc2290});return;}((_0x27b87b=_0x5b4fba[_0x235b00(0x260)]())==null?void 0x0:_0x27b87b[_0x235b00(0x315)]())!==_0x2c46aa&&await this['_commandService'][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba['getUnitId'](),'subUnitId':_0x2c46aa});}},_0x3fac21[_0x964c6d(0x328)]=_0x443404([_0x42e3ef(0x0,_0x58f6e4),_0x42e3ef(0x1,_0x17a0d6[_0x964c6d(0x25c)]),_0x42e3ef(0x2,_0x17a0d6[_0x964c6d(0x351)]),_0x42e3ef(0x3,_0x17a0d6['Inject'](_0x1fb374['DataLoaderService'])),_0x42e3ef(0x4,_0x17a0d6[_0x964c6d(0x1b7)](_0x1f9553['IRemoteInstanceService']))],_0x3fac21['CollaborationDataLoaderController']);var _0x1c3156=Object[_0x964c6d(0x236)],_0x496fed=(_0x5ddf14,_0x556adf,_0x35ec2c,_0x540d71)=>{for(var _0x2e57fe=_0x540d71>0x1?void 0x0:_0x540d71?_0x1c3156(_0x556adf,_0x35ec2c):_0x556adf,_0x276d88=_0x5ddf14['length']-0x1,_0x10972a;_0x276d88>=0x0;_0x276d88--)(_0x10972a=_0x5ddf14[_0x276d88])&&(_0x2e57fe=_0x10972a(_0x2e57fe)||_0x2e57fe);return _0x2e57fe;},_0x16bf98=(_0x2212b1,_0xfd878d)=>(_0x4845d8,_0x2f107b)=>_0xfd878d(_0x4845d8,_0x2f107b,_0x2212b1);let _0x24de38=class{constructor(_0x170620,_0x17f19b,_0x79f47f){const _0x5eed28=_0x964c6d;this[_0x5eed28(0x222)]=_0x170620,this[_0x5eed28(0x354)]=_0x17f19b,this[_0x5eed28(0x339)]=_0x79f47f;}['transformIMECache'](_0x27e7f0){const _0x7d2110=_0x964c6d;this[_0x7d2110(0x211)](_0x27e7f0),this[_0x7d2110(0x1ba)](_0x27e7f0);}[_0x964c6d(0x277)](_0x511c7f){const _0xe15503=_0x964c6d,{unitID:_0x34310b}=_0x511c7f,_0x38e1e3=this['_renderManagerService'][_0xe15503(0x3e5)](_0x34310b)['with'](_0x21bec9[_0xe15503(0x1d3)]),{redoCache:_0x4a94f1}=_0x38e1e3[_0xe15503(0x2f6)]();if(_0x4a94f1[_0xe15503(0x3b0)]===0x0)return _0x511c7f;let _0x5e1599=_0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f[_0xe15503(0x251)][0x0]);for(let _0x20ddde=0x0;_0x20ddde<_0x4a94f1[_0xe15503(0x3b0)];_0x20ddde++){const _0x27bb70={'id':'doc.mutation.rich-text-editing','params':{..._0x4a94f1[_0x20ddde]}},_0x50b62b=this['_transformService'][_0xe15503(0x28d)](_0x5e1599,_0x27bb70,!0x1);if(_0x2226d4[_0xe15503(0x398)](_0x50b62b))throw _0x50b62b[_0xe15503(0x232)];_0x5e1599=_0x50b62b[_0xe15503(0x18b)];}return{..._0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f),'mutations':[_0x5e1599]};}['_transformUndoRedoStack'](_0x3a258d){const _0x3d4579=_0x964c6d,{unitID:_0xf07b0e}=_0x3a258d,_0x2f2d00=this['_renderManagerService'][_0x3d4579(0x3e5)](_0xf07b0e)['with'](_0x21bec9['DocIMEInputManagerService']),{undoCache:_0x52bdd6,redoCache:_0x179e6d}=_0x2f2d00[_0x3d4579(0x2f6)]();if(_0x52bdd6['length']===0x0||_0x179e6d[_0x3d4579(0x3b0)]===0x0)return;const _0x20bd12=[],_0x328b58=[];let _0x14473f=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d[_0x3d4579(0x251)][0x0]),_0x26194a=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d['mutations'][0x0]);for(let _0x4d29a0=_0x52bdd6[_0x3d4579(0x3b0)]-0x1;_0x4d29a0>=0x0;_0x4d29a0--){const _0x5d75ce={'id':_0x3d4579(0x26a),'params':{..._0x52bdd6[_0x4d29a0]}},_0x49fc85={'id':'doc.mutation.rich-text-editing','params':{..._0x179e6d[_0x4d29a0]}},_0x40edb8=this['_transformService'][_0x3d4579(0x28d)](_0x14473f,_0x5d75ce,!0x1),_0x2ccbfd=this['_transformService'][_0x3d4579(0x28d)](_0x26194a,_0x49fc85,!0x1);if(_0x2226d4[_0x3d4579(0x398)](_0x40edb8))throw _0x40edb8[_0x3d4579(0x232)];if(_0x2226d4[_0x3d4579(0x398)](_0x2ccbfd))throw _0x2ccbfd[_0x3d4579(0x232)];_0x20bd12[_0x3d4579(0x342)](_0x40edb8[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x328b58['unshift'](_0x2ccbfd[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x14473f=_0x40edb8[_0x3d4579(0x18b)],_0x26194a=_0x2ccbfd[_0x3d4579(0x18b)];}_0x2f2d00[_0x3d4579(0x381)]({'undoCache':_0x20bd12,'redoCache':_0x328b58});}[_0x964c6d(0x1ba)](_0x119cd9){const _0x22f502=_0x964c6d,{unitID:_0x147a3a}=_0x119cd9,_0x59418a=this[_0x22f502(0x339)][_0x22f502(0x3e5)](_0x147a3a)[_0x22f502(0x296)](_0x21bec9[_0x22f502(0x1d3)]),_0x2bdbf4=_0x59418a[_0x22f502(0x3ed)]();if(_0x2bdbf4==null)return;const _0x349763=[{'id':_0x22f502(0x26a),'params':{'unitId':_0x119cd9[_0x22f502(0x241)],'actions':null,'textRanges':[_0x2bdbf4]}}],_0x41ded2=this[_0x22f502(0x354)]['transformMutationsWithChangeset'](_0x119cd9,_0x349763);if(!_0x2226d4[_0x22f502(0x3ef)](_0x41ded2))throw _0x41ded2[_0x22f502(0x232)];const _0x393de2=_0x41ded2[_0x22f502(0x1ac)][0x0][_0x22f502(0x290)][_0x22f502(0x39a)];Array[_0x22f502(0x288)](_0x393de2)&&_0x393de2['length']&&_0x59418a[_0x22f502(0x396)](_0x393de2[0x0]);}};_0x24de38=_0x496fed([_0x16bf98(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x16bf98(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x16bf98(0x2,_0x4826e7[_0x964c6d(0x311)])],_0x24de38);var _0x2f1edf=Object[_0x964c6d(0x236)],_0x42f7ab=(_0x43d517,_0x5abe99,_0x7e80b6,_0xd0935b)=>{const _0x3ebbb5=_0x964c6d;for(var _0x3e179c=_0xd0935b>0x1?void 0x0:_0xd0935b?_0x2f1edf(_0x5abe99,_0x7e80b6):_0x5abe99,_0x96a6f3=_0x43d517[_0x3ebbb5(0x3b0)]-0x1,_0x556d26;_0x96a6f3>=0x0;_0x96a6f3--)(_0x556d26=_0x43d517[_0x96a6f3])&&(_0x3e179c=_0x556d26(_0x3e179c)||_0x3e179c);return _0x3e179c;},_0x2bcc80=(_0xce0a0e,_0x424032)=>(_0x6ed88d,_0x167566)=>_0x424032(_0x6ed88d,_0x167566,_0xce0a0e);let _0x152fd8=class{constructor(_0x4c58f4,_0x4b1ad0,_0x44a0e0){const _0x8bd05c=_0x964c6d;this['_injector']=_0x4c58f4,this[_0x8bd05c(0x354)]=_0x4b1ad0,this['_docStateChangeManagerService']=_0x44a0e0;}['transformStateCache'](_0x1df406){const _0x59d81c=_0x964c6d;this[_0x59d81c(0x16d)](_0x1df406);}[_0x964c6d(0x277)](_0x6dbb0a){const _0x4b2a4f=_0x964c6d,{unitID:_0x272e6b}=_0x6dbb0a,{collaboration:_0x27eee7}=this[_0x4b2a4f(0x39e)][_0x4b2a4f(0x27b)](_0x272e6b);if(_0x27eee7[_0x4b2a4f(0x3b0)]===0x0)return _0x6dbb0a;let _0x32a1b3=_0x17a0d6[_0x4b2a4f(0x37b)][_0x4b2a4f(0x2ea)](_0x6dbb0a[_0x4b2a4f(0x251)][0x0]);for(let _0x1f5c40=0x0;_0x1f5c40<_0x27eee7[_0x4b2a4f(0x3b0)];_0x1f5c40++){const _0x2fead8={'id':_0x4b2a4f(0x26a),'params':{'unitId':_0x27eee7[_0x1f5c40][_0x4b2a4f(0x314)],..._0x27eee7[_0x1f5c40]['redoState']}},_0x5cce72=this['_transformService'][_0x4b2a4f(0x28d)](_0x32a1b3,_0x2fead8,!0x1);if(_0x2226d4[_0x4b2a4f(0x398)](_0x5cce72))throw _0x5cce72[_0x4b2a4f(0x232)];_0x32a1b3=_0x5cce72[_0x4b2a4f(0x18b)];}return{..._0x17a0d6['Tools'][_0x4b2a4f(0x2ea)](_0x6dbb0a),'mutations':[_0x32a1b3]};}[_0x964c6d(0x16d)](_0x353952){const _0x286182=_0x964c6d,{unitID:_0x540c2a}=_0x353952,{history:_0x331781,collaboration:_0x383c53}=this[_0x286182(0x39e)][_0x286182(0x27b)](_0x540c2a);if(_0x331781[_0x286182(0x3b0)]===0x0&&_0x383c53[_0x286182(0x3b0)]===0x0)return;const _0xf5d545=[],_0x2864a4=[];let _0x3ddb88=_0x17a0d6['Tools']['deepClone'](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)][_0x286182(0x2ea)](_0x353952[_0x286182(0x251)][0x0]);for(let _0x3dc52d=_0x331781[_0x286182(0x3b0)]-0x1;_0x3dc52d>=0x0;_0x3dc52d--){const _0x5040b6={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d][_0x286182(0x314)],..._0x331781[_0x3dc52d][_0x286182(0x2ff)]}},_0xf50dd5={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d]['unitId'],..._0x331781[_0x3dc52d][_0x286182(0x23f)]}},_0x1d6aca=this[_0x286182(0x354)]['transformMutation'](_0x3ddb88,_0x5040b6,!0x1),_0x4af5db=this['_transformService'][_0x286182(0x28d)](_0x5290d4,_0xf50dd5,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x1d6aca))throw _0x1d6aca[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x4af5db))throw _0x4af5db['error'];_0xf5d545[_0x286182(0x342)]({..._0x331781[_0x3dc52d],'undoState':_0x1d6aca[_0x286182(0x1ac)][_0x286182(0x290)],'redoState':_0x4af5db[_0x286182(0x1ac)][_0x286182(0x290)]}),_0x3ddb88=_0x1d6aca[_0x286182(0x18b)],_0x5290d4=_0x4af5db[_0x286182(0x18b)];}_0x3ddb88=_0x17a0d6['Tools'][_0x286182(0x2ea)](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)]['deepClone'](_0x353952[_0x286182(0x251)][0x0]);for(let _0x9e4314=_0x383c53[_0x286182(0x3b0)]-0x1;_0x9e4314>=0x0;_0x9e4314--){const _0x27c5a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x383c53[_0x9e4314]['unitId'],..._0x383c53[_0x9e4314][_0x286182(0x2ff)]}},_0x1f4b45={'id':_0x286182(0x26a),'params':{'unitId':_0x383c53[_0x9e4314][_0x286182(0x314)],..._0x383c53[_0x9e4314]['redoState']}},_0x405036=this['_transformService'][_0x286182(0x28d)](_0x3ddb88,_0x27c5a5,!0x1),_0x1d4d69=this[_0x286182(0x354)]['transformMutation'](_0x5290d4,_0x1f4b45,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x405036))throw _0x405036[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x1d4d69))throw _0x1d4d69['error'];_0x2864a4[_0x286182(0x342)]({..._0x383c53[_0x9e4314],'undoState':_0x405036[_0x286182(0x1ac)]['params'],'redoState':_0x1d4d69['m2Prime']['params']}),_0x3ddb88=_0x405036[_0x286182(0x18b)],_0x5290d4=_0x1d4d69[_0x286182(0x18b)];}this[_0x286182(0x39e)][_0x286182(0x2e8)](_0x540c2a,{'history':_0xf5d545,'collaboration':_0x2864a4});}};_0x152fd8=_0x42f7ab([_0x2bcc80(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2bcc80(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x2bcc80(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9[_0x964c6d(0x186)]))],_0x152fd8);var _0x2b308b=Object[_0x964c6d(0x236)],_0x8d3d9b=(_0x348f9c,_0xd40b0d,_0x47e7ca,_0x2b2f80)=>{const _0x363b61=_0x964c6d;for(var _0x468b49=_0x2b2f80>0x1?void 0x0:_0x2b2f80?_0x2b308b(_0xd40b0d,_0x47e7ca):_0xd40b0d,_0x5a2c80=_0x348f9c[_0x363b61(0x3b0)]-0x1,_0x12faed;_0x5a2c80>=0x0;_0x5a2c80--)(_0x12faed=_0x348f9c[_0x5a2c80])&&(_0x468b49=_0x12faed(_0x468b49)||_0x468b49);return _0x468b49;},_0x2603ea=(_0x149837,_0x19f7fd)=>(_0x38fb2d,_0x451d8b)=>_0x19f7fd(_0x38fb2d,_0x451d8b,_0x149837);let _0x597690=class{constructor(_0x19805b,_0x3828d3){const _0x5e6cda=_0x964c6d;this[_0x5e6cda(0x222)]=_0x19805b,this[_0x5e6cda(0x354)]=_0x3828d3;}[_0x964c6d(0x333)](_0x8b73de){const _0x6f332b=_0x964c6d;var _0x46814e;const _0xd8e862=this['_injector'][_0x6f332b(0x17d)](_0x566265['DocSelectionManagerService']),_0x5256b9=(_0x46814e=_0xd8e862['getDocRanges']())!=null?_0x46814e:[];if(_0x5256b9[_0x6f332b(0x3b0)]===0x0)return;const _0x483d84=_0x8b73de[_0x6f332b(0x241)],_0x1579db=[{'id':_0x6f332b(0x26a),'params':{'unitId':_0x483d84,'actions':null,'textRanges':_0x5256b9}}],_0x17ec4d=this[_0x6f332b(0x354)][_0x6f332b(0x319)](_0x8b73de,_0x1579db);if(!_0x2226d4[_0x6f332b(0x3ef)](_0x17ec4d))throw _0x17ec4d['error'];const _0x33eaf4=_0x17ec4d[_0x6f332b(0x1ac)][0x0][_0x6f332b(0x290)][_0x6f332b(0x39a)];Array[_0x6f332b(0x288)](_0x33eaf4)&&_0x33eaf4[_0x6f332b(0x3b0)]&&_0xd8e862['replaceDocRanges'](_0x33eaf4,{'unitId':_0x483d84,'subUnitId':_0x483d84},!0x1);}};_0x597690=_0x8d3d9b([_0x2603ea(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2603ea(0x1,_0x2226d4[_0x964c6d(0x181)])],_0x597690);var _0x1f3bd5=Object['getOwnPropertyDescriptor'],_0x551aae=(_0x13d260,_0x303970,_0x562bb1,_0x2cf388)=>{for(var _0x39ca5d=_0x2cf388>0x1?void 0x0:_0x2cf388?_0x1f3bd5(_0x303970,_0x562bb1):_0x303970,_0x1d8576=_0x13d260['length']-0x1,_0x4adf12;_0x1d8576>=0x0;_0x1d8576--)(_0x4adf12=_0x13d260[_0x1d8576])&&(_0x39ca5d=_0x4adf12(_0x39ca5d)||_0x39ca5d);return _0x39ca5d;},_0x55b251=(_0x33a463,_0x45e0b0)=>(_0x5abce4,_0xf4396)=>_0x45e0b0(_0x5abce4,_0xf4396,_0x33a463);let _0x438c91=class extends _0x17a0d6['Disposable']{constructor(_0x7ac236,_0x46cbac,_0xd74259,_0x23a15b,_0x5eed90,_0x4264d1,_0x35014c,_0x41f450){const _0x415681=_0x964c6d;super(),_0x2e1f76(this,_0x415681(0x2b3),new _0xa893e5[(_0x415681(0x1e7))](_0x1fb374[_0x415681(0x37f)][_0x415681(0x2a8)])),(this[_0x415681(0x39e)]=_0x7ac236,this[_0x415681(0x2f5)]=_0x46cbac,this[_0x415681(0x3ea)]=_0xd74259,this[_0x415681(0x2c3)]=_0x23a15b,this[_0x415681(0x313)]=_0x5eed90,this['_docSyncEditingCollabCursorService']=_0x4264d1,this[_0x415681(0x1be)]=_0x35014c,this[_0x415681(0x2b9)]=_0x41f450,this[_0x415681(0x1a9)]());}['_initEntityListener'](){const _0x933169=_0x964c6d;this[_0x933169(0x2ba)](this['_collaborationController']['entityInit$'][_0x933169(0x3ec)](_0x5520c3=>{const _0x3683b7=_0x933169,_0x5a52fb=this[_0x3683b7(0x39e)][_0x3683b7(0x39b)][_0x3683b7(0x3ec)](_0x3b254b=>{const _0x4d794e=_0x3683b7;if(_0x3b254b==null)return;const {unitId:_0x48e519,redoState:_0x441373,commandId:_0x38183d}=_0x3b254b;if(_0x48e519!==_0x5520c3[_0x4d794e(0x241)])return;const _0x5a5dd8={'id':_0x38183d,'type':_0x17a0d6[_0x4d794e(0x269)]['MUTATION'],'params':{'unitId':_0x48e519,'actions':_0x441373[_0x4d794e(0x18f)],'textRanges':null}};_0x5520c3[_0x4d794e(0x30f)](_0x5a5dd8);});if(_0x5520c3[_0x3683b7(0x2ba)](_0x5a52fb),_0x5520c3 instanceof _0x1fb374[_0x3683b7(0x213)]){const _0xd08443={'onTransformIME':_0x106660=>this['_docTransformIMECacheService'][_0x3683b7(0x173)](_0x106660),'onTransformState':_0x3d6ee0=>this[_0x3683b7(0x2c3)][_0x3683b7(0x367)](_0x3d6ee0),'onTransformSelections':_0x273612=>this[_0x3683b7(0x313)][_0x3683b7(0x333)](_0x273612),'onSyncEditingCollabCursor':_0x4ec569=>this[_0x3683b7(0x231)][_0x3683b7(0x19d)](_0x4ec569),'onTransformRemoteChangesetByIMECache':_0x1d9546=>this[_0x3683b7(0x3ea)][_0x3683b7(0x277)](_0x1d9546),'onTransformRemoteChangesetByStateCache':_0x2ab8ee=>this[_0x3683b7(0x2c3)]['transformRemoteChangeset'](_0x2ab8ee)};_0x5520c3[_0x3683b7(0x265)](_0xd08443);}}));}};_0x438c91=_0x551aae([_0x55b251(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9['DocStateChangeManagerService'])),_0x55b251(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x3d4)])),_0x55b251(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x24de38)),_0x55b251(0x3,_0x17a0d6['Inject'](_0x152fd8)),_0x55b251(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x597690)),_0x55b251(0x5,_0x17a0d6['Inject'](_0x6e5760)),_0x55b251(0x6,_0x5aad63[_0x964c6d(0x34a)]),_0x55b251(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x438c91);var _0x5e206e=Object[_0x964c6d(0x236)],_0x366df5=(_0x15c1ac,_0x4378d5,_0x39adef,_0x38bf7d)=>{const _0x577339=_0x964c6d;for(var _0x1807ed=_0x38bf7d>0x1?void 0x0:_0x38bf7d?_0x5e206e(_0x4378d5,_0x39adef):_0x4378d5,_0x1f9a41=_0x15c1ac[_0x577339(0x3b0)]-0x1,_0xfa1a89;_0x1f9a41>=0x0;_0x1f9a41--)(_0xfa1a89=_0x15c1ac[_0x1f9a41])&&(_0x1807ed=_0xfa1a89(_0x1807ed)||_0x1807ed);return _0x1807ed;},_0x46ddda=(_0x27f8c9,_0x83d7f9)=>(_0x32f03e,_0x450d16)=>_0x83d7f9(_0x32f03e,_0x450d16,_0x27f8c9);let _0x41fdb=class extends _0x17a0d6['Disposable']{constructor(_0x39b03b,_0x182f89,_0x4731f8){const _0x22d082=_0x964c6d;super(),_0x2e1f76(this,_0x22d082(0x2dc),new Map()),_0x2e1f76(this,_0x22d082(0x26f),new Map()),_0x2e1f76(this,'_disabled',!0x1),(this[_0x22d082(0x322)]=_0x39b03b,this[_0x22d082(0x1d1)]=_0x182f89,this[_0x22d082(0x355)]=_0x4731f8);}['disableLocalCache'](){const _0x5647e1=_0x964c6d;this[_0x5647e1(0x230)]=!0x0;}[_0x964c6d(0x3b9)](){this['_disabled']=!0x1;}get[_0x964c6d(0x3db)](){const _0x47c0e2=_0x964c6d;return this[_0x47c0e2(0x26f)];}[_0x964c6d(0x2bd)](){const _0x4ba2a8=_0x964c6d;this[_0x4ba2a8(0x30d)]()['then'](()=>super[_0x4ba2a8(0x2bd)]());}async[_0x964c6d(0x382)](_0x3b9432){const _0x35f5a1=_0x964c6d;return this['_disabled']?null:this[_0x35f5a1(0x1d1)]['getItem'](_0x1fb374[_0x35f5a1(0x38c)](_0x3b9432));}async[_0x964c6d(0x1ec)](_0x59739d,_0x3d5900){return!!this['_localStorageService']['setItem'](_0x59739d,_0x3d5900);}['updateOfflineData'](_0x211e2d,_0x20bace,_0x551727,_0x3a14bb){const _0x5f4e40=_0x964c6d,_0x53cf98=this[_0x5f4e40(0x355)]['getCurrentRevOfUnit'](_0x211e2d);this['_cachedData'][_0x5f4e40(0x26d)](_0x211e2d,{'unitID':_0x211e2d,'type':_0x20bace,'awaitingChangeset':_0x551727,'mutations':_0x3a14bb,'rev':_0x53cf98}),this['_saveTaskMap']['has'](_0x211e2d)||this[_0x5f4e40(0x19b)](_0x211e2d);}[_0x964c6d(0x19b)](_0x457ef1){const _0x2f1ce4=_0x964c6d,_0x59bf17=this[_0x2f1ce4(0x287)]();_0x59bf17===0x0?this['_saveCache'](_0x457ef1):this['_saveTaskMap'][_0x2f1ce4(0x26d)](_0x457ef1,setTimeout(()=>this[_0x2f1ce4(0x195)](_0x457ef1),_0x59bf17));}['_getSaveTimeout'](){const _0x40e1db=_0x964c6d;var _0x33ab3f;return(_0x33ab3f=this[_0x40e1db(0x322)][_0x40e1db(0x32c)](_0x1fb374[_0x40e1db(0x1d8)]))!=null?_0x33ab3f:_0x1fb374['LOCAL_CACHE_INTERVAL'];}[_0x964c6d(0x195)](_0x1fe1b6){const _0x5e2a80=_0x964c6d,_0x2fb7ea=this[_0x5e2a80(0x26f)]['get'](_0x1fe1b6);return _0x2fb7ea!==void 0x0&&window['clearTimeout'](_0x2fb7ea),this[_0x5e2a80(0x1d1)]['setItem'](_0x1fb374[_0x5e2a80(0x38c)](_0x1fe1b6),this[_0x5e2a80(0x2dc)][_0x5e2a80(0x17d)](_0x1fe1b6))[_0x5e2a80(0x1c8)](()=>this[_0x5e2a80(0x26f)][_0x5e2a80(0x31e)](_0x1fe1b6));}async[_0x964c6d(0x30d)](){const _0x5a141b=_0x964c6d,_0x59c4f6=[];this[_0x5a141b(0x26f)]['forEach']((_0x16aa8f,_0x24a9c1)=>{const _0x12056b=_0x5a141b;window[_0x12056b(0x36e)](_0x16aa8f),_0x59c4f6[_0x12056b(0x28c)](this[_0x12056b(0x195)](_0x24a9c1)[_0x12056b(0x1c8)](()=>{const _0x178c7e=_0x12056b;this[_0x178c7e(0x26f)][_0x178c7e(0x31e)](_0x24a9c1);}));}),await Promise[_0x5a141b(0x35c)](_0x59c4f6);}};_0x41fdb=_0x366df5([_0x46ddda(0x0,_0x17a0d6[_0x964c6d(0x23b)]),_0x46ddda(0x1,_0x17a0d6[_0x964c6d(0x320)]),_0x46ddda(0x2,_0x17a0d6['Inject'](_0x2226d4[_0x964c6d(0x397)]))],_0x41fdb);class _0x1daf05 extends _0x17a0d6['RxDisposable']{constructor(){const _0x5eaef7=_0x964c6d;super(),_0x2e1f76(this,_0x5eaef7(0x362)),this[_0x5eaef7(0x362)]=_0xa893e5[_0x5eaef7(0x293)](window,_0x5eaef7(0x2be))[_0x5eaef7(0x3e0)](_0xa893e5[_0x5eaef7(0x345)](this[_0x5eaef7(0x1d7)]),_0xa893e5['shareReplay'](0x1),_0xa893e5[_0x5eaef7(0x3d3)](void 0x0));}['setParam'](_0xbbcd65,_0x23402a,_0x3dcb9d=!0x1){const _0x2aa91f=_0x964c6d,_0x23511b=new URL(window[_0x2aa91f(0x35d)][_0x2aa91f(0x2b0)]);_0x23511b[_0x2aa91f(0x3bb)]['set'](_0xbbcd65,_0x23402a),_0x3dcb9d?window[_0x2aa91f(0x395)][_0x2aa91f(0x167)]('','',_0x23511b[_0x2aa91f(0x192)]()):window[_0x2aa91f(0x395)][_0x2aa91f(0x2bc)]('','',_0x23511b[_0x2aa91f(0x192)]());}[_0x964c6d(0x307)](_0x373485,_0x3247a1=!0x1){const _0x3f649a=_0x964c6d,_0x487205=new URL(window[_0x3f649a(0x35d)]['href']);_0x487205[_0x3f649a(0x3bb)][_0x3f649a(0x31e)](_0x373485),_0x3247a1?window[_0x3f649a(0x395)][_0x3f649a(0x167)]('','',_0x487205['toString']()):window[_0x3f649a(0x395)][_0x3f649a(0x2bc)]('','',_0x487205[_0x3f649a(0x192)]());}[_0x964c6d(0x2e7)](_0x36f757){const _0x3c118d=_0x964c6d;var _0x262408;return(_0x262408=new URL(window[_0x3c118d(0x35d)][_0x3c118d(0x2b0)])['searchParams'][_0x3c118d(0x17d)](_0x36f757))!=null?_0x262408:void 0x0;}}var _0x21a90e=Object['defineProperty'],_0x3b1954=Object[_0x964c6d(0x236)],_0x2e51dd=(_0x3da38e,_0x50f153,_0xfc2c9d)=>_0x50f153 in _0x3da38e?_0x21a90e(_0x3da38e,_0x50f153,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfc2c9d}):_0x3da38e[_0x50f153]=_0xfc2c9d,_0x184f95=(_0x2915b1,_0x3c51c8,_0x2ba877,_0x3d0688)=>{const _0x5beee1=_0x964c6d;for(var _0x101abe=_0x3d0688>0x1?void 0x0:_0x3d0688?_0x3b1954(_0x3c51c8,_0x2ba877):_0x3c51c8,_0x3c3c42=_0x2915b1[_0x5beee1(0x3b0)]-0x1,_0x5790e6;_0x3c3c42>=0x0;_0x3c3c42--)(_0x5790e6=_0x2915b1[_0x3c3c42])&&(_0x101abe=_0x5790e6(_0x101abe)||_0x101abe);return _0x101abe;},_0x5dfd44=(_0x22de15,_0x3ad9dc)=>(_0x2dc91f,_0x4cd4ca)=>_0x3ad9dc(_0x2dc91f,_0x4cd4ca,_0x22de15),_0x10f37e=(_0x10eb6c,_0x166ad6,_0xfcf559)=>_0x2e51dd(_0x10eb6c,_0x166ad6+'',_0xfcf559);const _0xeb19d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3fac21[_0x964c6d(0x3c5)]=class extends _0x17a0d6[_0x964c6d(0x2f1)]{constructor(_0x131aa1=_0x41abbc,_0x7ed9ab,_0x410646,_0x5b9c33){const _0x34d468=_0x964c6d;super(),this[_0x34d468(0x3e9)]=_0x131aa1,this[_0x34d468(0x339)]=_0x7ed9ab,this[_0x34d468(0x222)]=_0x410646,this[_0x34d468(0x322)]=_0x5b9c33;const {..._0x5a5175}=_0x17a0d6[_0x34d468(0x325)]({},_0x41abbc,this[_0x34d468(0x3e9)]);this['_configService']['setConfig'](_0x326b37,_0x5a5175);}[_0x964c6d(0x197)](){const _0x2fb921=_0x964c6d;this[_0x2fb921(0x1e6)](),this['_initDependencies']();}[_0x964c6d(0x1fd)](){const _0x4a54c7=_0x964c6d;this[_0x4a54c7(0x3ce)]();}['_registerDependencies'](){const _0x596a20=_0x964c6d;var _0x4f7cd5;const _0x4e22c8=[[_0x41db9a],[_0x597690],[_0x24de38],[_0x152fd8],[_0x6e5760],[_0x58f6e4,{'useClass':_0x1daf05}],[_0x5600f6[_0x596a20(0x31c)],{'useClass':_0x5600f6[_0x596a20(0x3a9)]}],[_0x1fb374[_0x596a20(0x183)],{'useClass':_0x41fdb}],[_0x3fac21[_0x596a20(0x38f)]],[_0x438c91],[_0x517629],[_0x1fcbad],[_0x566e8b],[_0x3fac21['CollaborationDataLoaderController']]];_0x17a0d6['registerDependencies'](this[_0x596a20(0x222)],_0x17a0d6[_0x596a20(0x2e3)](_0x4e22c8,(_0x4f7cd5=this[_0x596a20(0x3e9)])==null?void 0x0:_0x4f7cd5['override']));}[_0x964c6d(0x3ce)](){const _0x364752=_0x964c6d;this[_0x364752(0x2ba)](this[_0x364752(0x339)]['registerRenderModule'](_0x17a0d6[_0x364752(0x217)][_0x364752(0x206)],[_0x3036df])),this['disposeWithMe'](this[_0x364752(0x339)][_0x364752(0x32e)](_0x17a0d6['UniverInstanceType'][_0x364752(0x254)],[_0x260fea]));}['_initDependencies'](){const _0x4661e2=_0x964c6d;_0x17a0d6[_0x4661e2(0x2f0)](this['_injector'],[[_0x1fcbad],[_0x3fac21['DesktopCollaborationStatusDisplayController']],[_0x438c91],[_0x517629],[_0x3fac21[_0x4661e2(0x328)]]]);}},_0x10f37e(_0x3fac21[_0x964c6d(0x3c5)],_0x964c6d(0x182),_0xeb19d),_0x3fac21[_0x964c6d(0x3c5)]=_0x184f95([_0x17a0d6[_0x964c6d(0x3c0)](_0x1fb374[_0x964c6d(0x291)]),_0x5dfd44(0x1,_0x4826e7['IRenderManagerService']),_0x5dfd44(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x5dfd44(0x3,_0x17a0d6['IConfigService'])],_0x3fac21['UniverCollaborationClientUIPlugin']);var _0xb6dc1=Object['getOwnPropertyDescriptor'],_0x3c809c=(_0x5b033a,_0xb22e1a,_0x1267f2,_0xba9e5)=>{const _0x61477c=_0x964c6d;for(var _0x3b9291=_0xba9e5>0x1?void 0x0:_0xba9e5?_0xb6dc1(_0xb22e1a,_0x1267f2):_0xb22e1a,_0x4bab0e=_0x5b033a[_0x61477c(0x3b0)]-0x1,_0x3f84d0;_0x4bab0e>=0x0;_0x4bab0e--)(_0x3f84d0=_0x5b033a[_0x4bab0e])&&(_0x3b9291=_0x3f84d0(_0x3b9291)||_0x3b9291);return _0x3b9291;},_0x294a9b=(_0x40b382,_0x446c65)=>(_0x19a501,_0x1e77e4)=>_0x446c65(_0x19a501,_0x1e77e4,_0x40b382);_0x3fac21['BrowserCollaborationSocketService']=class extends _0x1fb374['CollaborationSocketService']{constructor(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197){super(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197);}async[_0x964c6d(0x2c5)](_0x5337e5){const _0x45a389=_0x964c6d,_0x192c8f=await this[_0x45a389(0x1a0)](),_0x1da8e8=this[_0x45a389(0x180)](_0x5337e5,_0x192c8f);return this[_0x45a389(0x21d)](_0x1da8e8);}[_0x964c6d(0x180)](_0x3eab3d,_0x4c9296){const _0x200a60=_0x964c6d,_0x2e2342=typeof window>'u'?new URL(_0x3eab3d):new URL(_0x3eab3d,window[_0x200a60(0x35d)][_0x200a60(0x1a1)]);_0x2e2342[_0x200a60(0x3bb)][_0x200a60(0x26d)](_0x200a60(0x21b),_0x4c9296);const _0x52dc34=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x200a60(0x35d)][_0x200a60(0x36d)]);return _0x52dc34[_0x200a60(0x17d)](_0x200a60(0x3cc))&&_0x2e2342['searchParams'][_0x200a60(0x26d)](_0x200a60(0x3cc),_0x52dc34[_0x200a60(0x17d)]('runId')),_0x2e2342[_0x200a60(0x192)]();}async[_0x964c6d(0x1a0)](){const _0x560159=_0x964c6d;var _0x21d4d9,_0x5ca3a3,_0x58b480;const _0x1f25bc=this[_0x560159(0x322)]['getConfig'](_0x1fb374[_0x560159(0x2e2)]),_0x18f7c6=(_0x21d4d9=_0x1f25bc==null?void 0x0:_0x1f25bc[_0x560159(0x185)])!=null?_0x21d4d9:_0x1fb374[_0x560159(0x3c2)];return(_0x58b480=(_0x5ca3a3=(await this[_0x560159(0x384)][_0x560159(0x17d)](_0x18f7c6,{'headers':{'Content-Type':'application/json'}}))[_0x560159(0x310)])==null?void 0x0:_0x5ca3a3[_0x560159(0x385)])!=null?_0x58b480:'';}},_0x3fac21[_0x964c6d(0x38b)]=_0x3c809c([_0x294a9b(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x294a9b(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x294a9b(0x2,_0x17a0d6[_0x964c6d(0x23b)]),_0x294a9b(0x3,_0x17a0d6[_0x964c6d(0x25c)]),_0x294a9b(0x4,_0x2226d4['ISnapshotServerService'])],_0x3fac21[_0x964c6d(0x38b)]);const _0x187591=0x7530,_0x5af4ae=_0x964c6d(0x1ea);class _0x3594d5 extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x1daa23=_0x964c6d;super(),_0x2e1f76(this,_0x1daa23(0x190),_0x17a0d6[_0x1daa23(0x347)]()),_0x2e1f76(this,'_selfUnitIDs',new Set()),_0x2e1f76(this,_0x1daa23(0x3a4),new Map()),_0x2e1f76(this,_0x1daa23(0x2cf),null),_0x2e1f76(this,_0x1daa23(0x3f0),new Map()),_0x2e1f76(this,_0x1daa23(0x16a),new Map()),this[_0x1daa23(0x272)]();}[_0x964c6d(0x2bd)](){const _0x3f7f3d=_0x964c6d;super['dispose'](),this[_0x3f7f3d(0x3f0)]['forEach']((_0x84ea5e,_0xcd82c3)=>this['_removeClearOtherTimer'](_0xcd82c3)),this[_0x3f7f3d(0x2cf)]&&window[_0x3f7f3d(0x37a)](this[_0x3f7f3d(0x2cf)]);}['getUnitStatus$'](_0x52e1fa){const _0x4f6959=_0x964c6d;return this[_0x4f6959(0x219)](_0x52e1fa)[_0x4f6959(0x3e0)](_0xa893e5[_0x4f6959(0x184)]());}[_0x964c6d(0x3b1)](_0x1dd900){const _0x297713=_0x964c6d;this[_0x297713(0x3a2)][_0x297713(0x3eb)]===0x0&&this[_0x297713(0x1f1)](),this[_0x297713(0x3a2)][_0x297713(0x16b)](_0x1dd900),this[_0x297713(0x267)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1dd900],'isForwarded':!0x1});}['disposeUnit'](_0x1df5ae){const _0x15bb1b=_0x964c6d;this[_0x15bb1b(0x3a2)][_0x15bb1b(0x31e)](_0x1df5ae),this[_0x15bb1b(0x3a2)][_0x15bb1b(0x3eb)]===0x0&&this['_heartbeatTimer']&&window[_0x15bb1b(0x37a)](this['_heartbeatTimer']);}['_init'](){const _0x55e7b9=_0x964c6d;this[_0x55e7b9(0x2ba)](_0x17a0d6['toDisposable'](_0xa893e5[_0x55e7b9(0x293)](window,_0x55e7b9(0x28b))[_0x55e7b9(0x3ec)](_0x332011=>{const _0x3f0360=_0x55e7b9;if(_0x332011[_0x3f0360(0x258)]!==_0x5af4ae||!_0x332011[_0x3f0360(0x37d)])return;const _0x3b6563=JSON[_0x3f0360(0x3d7)](_0x332011[_0x3f0360(0x37d)]);this[_0x3f0360(0x20a)](_0x3b6563);}))),window['addEventListener'](_0x55e7b9(0x162),()=>this[_0x55e7b9(0x267)]({'type':0x1,'memberID':this[_0x55e7b9(0x190)],'unitIDs':Array['from'](this[_0x55e7b9(0x3a2)])}));}[_0x964c6d(0x20a)](_0x4805fd){const _0x43c56c=_0x964c6d;switch(_0x4805fd['type']){case 0x0:this[_0x43c56c(0x2eb)](_0x4805fd);break;case 0x1:this[_0x43c56c(0x26b)](_0x4805fd);break;case 0x2:this[_0x43c56c(0x3ee)](_0x4805fd);break;}}[_0x964c6d(0x2eb)](_0x5093bf){const _0xff54ae=_0x964c6d,{unitIDs:_0xcd7665,memberID:_0x1b92d7,isForwarded:_0x4afb87}=_0x5093bf;_0xcd7665[_0xff54ae(0x2ad)](_0x51f980=>{const _0x2706ab=_0xff54ae;if(!_0x4afb87&&this[_0x2706ab(0x3a4)]['has'](_0x51f980)&&this[_0x2706ab(0x219)](_0x51f980)['next'](_0x1fb374['UnitStatus'][_0x2706ab(0x23a)]),!this[_0x2706ab(0x3a4)][_0x2706ab(0x218)](_0x51f980)||!this['_unitOnClients'][_0x2706ab(0x17d)](_0x51f980)[_0x2706ab(0x218)](_0x1b92d7)){const _0x1f26af=this[_0x2706ab(0x3a4)][_0x2706ab(0x17d)](_0x51f980)||new Set();_0x1f26af[_0x2706ab(0x16b)](_0x1b92d7),this[_0x2706ab(0x3a4)][_0x2706ab(0x26d)](_0x51f980,_0x1f26af),this[_0x2706ab(0x210)](_0x1b92d7);}}),_0x4afb87||this['_send']({'type':0x0,'memberID':this[_0xff54ae(0x190)],'unitIDs':[...this[_0xff54ae(0x3a2)]],'isForwarded':!0x0});}[_0x964c6d(0x210)](_0x1e843f){const _0x18d8f9=_0x964c6d;this[_0x18d8f9(0x1ff)](_0x1e843f);const _0x54b3bb=window['setTimeout'](()=>{const _0x5ba734=_0x18d8f9;this[_0x5ba734(0x3a4)][_0x5ba734(0x2ad)](_0x27fce7=>{const _0x206168=_0x5ba734;_0x27fce7[_0x206168(0x31e)](_0x1e843f);});},_0x187591*0x2);this[_0x18d8f9(0x3f0)][_0x18d8f9(0x26d)](_0x1e843f,_0x54b3bb);}[_0x964c6d(0x1ff)](_0x42c82e){const _0x2c3540=_0x964c6d;if(this[_0x2c3540(0x3f0)][_0x2c3540(0x218)](_0x42c82e)){const _0x28a5e8=this[_0x2c3540(0x3f0)][_0x2c3540(0x17d)](_0x42c82e);_0x28a5e8&&window[_0x2c3540(0x36e)](_0x28a5e8),this[_0x2c3540(0x3f0)]['set'](_0x42c82e,null);}}[_0x964c6d(0x26b)](_0x35f7c9){const _0xe85a4f=_0x964c6d,{memberID:_0x4090fd,unitIDs:_0x37d19f}=_0x35f7c9;_0x37d19f[_0xe85a4f(0x2ad)](_0x2f60a9=>{const _0x45bef7=_0xe85a4f;var _0x34b122;const _0x445a91=this[_0x45bef7(0x3a4)][_0x45bef7(0x17d)](_0x2f60a9);_0x445a91&&(_0x445a91['delete'](_0x4090fd),(_0x34b122=this[_0x45bef7(0x219)](_0x2f60a9))==null||_0x34b122[_0x45bef7(0x3ae)](_0x445a91[_0x45bef7(0x3eb)]===0x0?_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x24b)]:_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x23a)]));}),this[_0xe85a4f(0x1ff)](_0x4090fd);}[_0x964c6d(0x3ee)](_0x403f03){const _0x1b9b6e=_0x964c6d;this['_scheduleClearOtherTimer'](_0x403f03[_0x1b9b6e(0x3cf)]);}[_0x964c6d(0x267)](_0xec686a){const _0x997743=_0x964c6d;localStorage[_0x997743(0x33b)](_0x5af4ae,JSON[_0x997743(0x2ca)](_0xec686a));}[_0x964c6d(0x1f1)](){const _0x17a904=_0x964c6d;this['_heartbeatTimer']=window[_0x17a904(0x393)](()=>{const _0x3769a1=_0x17a904;this[_0x3769a1(0x267)]({'type':0x2,'memberID':this[_0x3769a1(0x190)]});},_0x187591);}['_ensureSubject'](_0x40c1b9){const _0x4b332e=_0x964c6d;return this[_0x4b332e(0x16a)][_0x4b332e(0x218)](_0x40c1b9)||this[_0x4b332e(0x16a)][_0x4b332e(0x26d)](_0x40c1b9,new _0xa893e5[(_0x4b332e(0x1e7))](_0x1fb374[_0x4b332e(0x2bb)][_0x4b332e(0x24b)])),this[_0x4b332e(0x16a)][_0x4b332e(0x17d)](_0x40c1b9);}}var _0x48ac89=(_0x15656c=>(_0x15656c[_0x15656c[_0x964c6d(0x23c)]=0x0]=_0x964c6d(0x23c),_0x15656c[_0x15656c['OK']=0x1]='OK',_0x15656c[_0x15656c['INTERNAL_ERROR']=0x2]=_0x964c6d(0x228),_0x15656c[_0x15656c[_0x964c6d(0x34e)]=0x3]=_0x964c6d(0x34e),_0x15656c[_0x15656c[_0x964c6d(0x1b2)]=0x4]=_0x964c6d(0x1b2),_0x15656c[_0x15656c[_0x964c6d(0x238)]=0x5]=_0x964c6d(0x238),_0x15656c[_0x15656c[_0x964c6d(0x276)]=0x6]=_0x964c6d(0x276),_0x15656c[_0x15656c['INVALID_ARGUMENT']=0x7]=_0x964c6d(0x33a),_0x15656c[_0x15656c[_0x964c6d(0x30b)]=0x8]=_0x964c6d(0x30b),_0x15656c[_0x15656c[_0x964c6d(0x369)]=0x9]=_0x964c6d(0x369),_0x15656c[_0x15656c['LOGIN_FAILED']=0xa]=_0x964c6d(0x19a),_0x15656c[_0x15656c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x964c6d(0x1f4),_0x15656c[_0x15656c[_0x964c6d(0x1b8)]=0x1771]=_0x964c6d(0x1b8),_0x15656c[_0x15656c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x964c6d(0x3a8),_0x15656c[_0x15656c[_0x964c6d(0x399)]=0x1773]=_0x964c6d(0x399),_0x15656c[_0x15656c[_0x964c6d(0x304)]=0x1b59]=_0x964c6d(0x304),_0x15656c[_0x15656c[_0x964c6d(0x2f4)]=0x1b5a]=_0x964c6d(0x2f4),_0x15656c[_0x15656c[_0x964c6d(0x36c)]=0x1b5b]=_0x964c6d(0x36c),_0x15656c[_0x15656c[_0x964c6d(0x2a4)]=0x1b5c]=_0x964c6d(0x2a4),_0x15656c[_0x15656c['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x15656c[_0x15656c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x964c6d(0x3c6),_0x15656c[_0x15656c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x964c6d(0x285),_0x15656c[_0x15656c[_0x964c6d(0x1ae)]=0x232a]=_0x964c6d(0x1ae),_0x15656c[_0x15656c[_0x964c6d(0x32b)]=0x232b]=_0x964c6d(0x32b),_0x15656c[_0x15656c[_0x964c6d(0x215)]=0x232c]=_0x964c6d(0x215),_0x15656c[_0x15656c[_0x964c6d(0x18d)]=0x232d]=_0x964c6d(0x18d),_0x15656c[_0x15656c[_0x964c6d(0x1cc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15656c[_0x15656c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15656c[_0x15656c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15656c[_0x15656c[_0x964c6d(0x26c)]=0x2714]=_0x964c6d(0x26c),_0x15656c[_0x15656c[_0x964c6d(0x25d)]=0x271a]=_0x964c6d(0x25d),_0x15656c[_0x15656c[_0x964c6d(0x1f6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x15656c[_0x15656c[_0x964c6d(0x2a9)]=0x271c]=_0x964c6d(0x2a9),_0x15656c[_0x15656c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x964c6d(0x349),_0x15656c[_0x15656c[_0x964c6d(0x250)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x15656c[_0x15656c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x15656c[_0x15656c[_0x964c6d(0x3b3)]=0x2af9]=_0x964c6d(0x3b3),_0x15656c[_0x15656c[_0x964c6d(0x196)]=0x2ee1]=_0x964c6d(0x196),_0x15656c[_0x15656c['INVALID_INVITE_CODE']=0x2ee2]=_0x964c6d(0x1e5),_0x15656c[_0x15656c[_0x964c6d(0x3a5)]=0x2ee3]=_0x964c6d(0x3a5),_0x15656c[_0x15656c[_0x964c6d(0x1d4)]=0x2ee4]=_0x964c6d(0x1d4),_0x15656c[_0x15656c[_0x964c6d(0x336)]=0x2ee5]=_0x964c6d(0x336),_0x15656c[_0x15656c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x964c6d(0x261),_0x15656c[_0x15656c[_0x964c6d(0x1df)]=0x32ca]=_0x964c6d(0x1df),_0x15656c[_0x15656c[_0x964c6d(0x2c4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x15656c[_0x15656c['UNRECOGNIZED']=-0x1]=_0x964c6d(0x27a),_0x15656c))(_0x48ac89||{}),_0x73cde7=Object[_0x964c6d(0x236)],_0x5b7a91=(_0x46c71e,_0x32f399,_0x20ea84,_0xebbb75)=>{const _0x5c10b2=_0x964c6d;for(var _0x1bd230=_0xebbb75>0x1?void 0x0:_0xebbb75?_0x73cde7(_0x32f399,_0x20ea84):_0x32f399,_0x30cbb3=_0x46c71e[_0x5c10b2(0x3b0)]-0x1,_0x117c5a;_0x30cbb3>=0x0;_0x30cbb3--)(_0x117c5a=_0x46c71e[_0x30cbb3])&&(_0x1bd230=_0x117c5a(_0x1bd230)||_0x1bd230);return _0x1bd230;},_0x5968b3=(_0x315276,_0x531c87)=>(_0x27ff51,_0x51f9b9)=>_0x531c87(_0x27ff51,_0x51f9b9,_0x315276);_0x3fac21[_0x964c6d(0x32d)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x229a5c,_0x1c1617,_0x2a285d){const _0x12d026=_0x964c6d;super(),this[_0x12d026(0x18a)]=_0x229a5c,this[_0x12d026(0x384)]=_0x1c1617,this[_0x12d026(0x322)]=_0x2a285d;}async[_0x964c6d(0x2a3)](_0x408ea2,_0x5f3f81,_0x1c9a85,..._0x37395d){const _0x48c4e8=_0x964c6d;var _0x3baa0f,_0x48a7b9,_0x5225f3,_0x1edc64;const _0x250fc1=this['_instanceService'][_0x48c4e8(0x172)]();if(!_0x250fc1)throw new Error(_0x48c4e8(0x38e));const _0x268c98=((_0x3baa0f=this[_0x48c4e8(0x322)]['getConfig'](_0x1fb374[_0x48c4e8(0x2fe)]))!=null?_0x3baa0f:_0x1fb374[_0x48c4e8(0x234)])+'/'+_0x408ea2+_0x48c4e8(0x3bc)+_0x5f3f81,_0x237fab=new URL(window[_0x48c4e8(0x35d)]['href']),_0x12c44b={'scriptId':_0x408ea2,'runId':(_0x48a7b9=_0x237fab['searchParams'][_0x48c4e8(0x17d)](_0x48c4e8(0x3cc)))!=null?_0x48a7b9:'','function':_0x5f3f81,'unitId':_0x250fc1['getUnitId'](),'argsOfFunction':JSON[_0x48c4e8(0x2ca)](_0x37395d),'invokeId':(_0x5225f3=_0x1c9a85[_0x48c4e8(0x2b2)])!=null?_0x5225f3:'','executionId':(_0x1edc64=_0x1c9a85[_0x48c4e8(0x19f)])!=null?_0x1edc64:''};try{const _0x259bb7=await this[_0x48c4e8(0x384)][_0x48c4e8(0x1cb)](_0x268c98,{'body':_0x12c44b});return _0x259bb7[_0x48c4e8(0x310)][_0x48c4e8(0x232)]&&_0x259bb7[_0x48c4e8(0x310)]['error']['code']!==_0x48ac89['OK']?_0x48c4e8(0x22f):_0x259bb7['body'][_0x48c4e8(0x245)];}catch{return'Failed';}}},_0x3fac21[_0x964c6d(0x32d)]=_0x5b7a91([_0x5968b3(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x5968b3(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x5968b3(0x2,_0x17a0d6['IConfigService'])],_0x3fac21['RemoteUniscriptService']),_0x3fac21['CollaborationStatusDisplay']=_0x531a04,_0x3fac21[_0x964c6d(0x346)]=_0x58f6e4,_0x3fac21[_0x964c6d(0x208)]=_0x58253f,_0x3fac21[_0x964c6d(0x221)]=_0x3594d5,_0x3fac21[_0x964c6d(0x1f3)]=_0x1daf05,Object[_0x964c6d(0x376)](_0x3fac21,Symbol[_0x964c6d(0x24e)],{'value':_0x964c6d(0x3a3)});}));function _0x12c4(_0x4fef79,_0x3801bd){const _0x2d577d=_0x2d57();return _0x12c4=function(_0x12c409,_0x75f895){_0x12c409=_0x12c409-0x161;let _0x579d06=_0x2d577d[_0x12c409];return _0x579d06;},_0x12c4(_0x4fef79,_0x3801bd);}function _0x2d57(){const _0x4cea9c=['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','USERS_LEAVE','collaboration.single-unit.warning','extend','getParam','setStateCache','_sheetSkeletonManagerService','deepClone','_handleJoinEvent','_univerInstanceService','name','currentTheme$','save','touchDependencies','Plugin','filter','selections','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','getUndoRedoMutationParamsCache','@univerjs/core','CollaborationUIEventId','defs','getUnitId','getTypeOfUnitDisposed$','React','off-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','undoState','@univerjs/network','SetWorksheetActivateCommand','_toggleOffline','imageSourceType','APPLY_REJECT','InsertRangeMoveDownCommandId','NodePositionConvertToCursor','removeParam','createIdentifier','OnLineIcon','ThemeService','TOO_MANY_REQUESTS','status$','exhaustSavingTask','getVpScrollXYInfoByPosToVp','onLocalMutation','body','IRenderManagerService','setParam','_docTransformSelectionsService','unitId','getSheetId','_getAnchorBounding','_refRangeService','getCollabEntity$','transformMutationsWithChangeset','Tooltip','connectInjector','ISocketService','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','delete','ColorKit','ILocalStorageService','@univerjs-pro/collaboration-client','_configService','setShapeProps','split','merge','backgroundColor','replace','CollaborationDataLoaderController','TEXT_RANGE_LAYER_INDEX','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','RemoteUniscriptService','registerRenderModule','source','getMemberID','apply','@univerjs/drawing','transformSelections','UniverCore','HEADER_MENU','INVITE_CODE_ALREADY_BOUND','UniverEngineRender','_cursorInfo$','_renderManagerService','INVALID_ARGUMENT','setItem','_refreshCollabCursors','INotificationService','_session','ONLINE','UniverDocs','_removeCollabCursors','unshift','7mnaDic','_name','takeUntil','IURLService','generateRandomId','addObject','YUUMI_ALL_TABLES_IS_INVALID','IMessageService','handleDeleteRangeMoveUp','getUniverSheetInstance','jsxs','PERMISSION_DENIED','_range','transformByState','ICommandService','_startDocCollabCursor','send','_transformService','_revisionService','clipPath','1em','translate(.97)','div','debounce','_textBubble','all','location','_updateSubUnitFromURLParams','CONFLICT','children','2379288DmQRrX','urlChange$','debounceTime','_beforeCloseService','init','sessionStatus$','transformStateCache','TEXT','COMPLETION_FINISHED','fill','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','search','clearTimeout','type','MemberService','Unknown\x20user','hide','_getMergeRange','createElement','OFFLINE','defineProperty','IDocClipboardService','random','react','clearInterval','Tools','white','newValue','COLORS','CollaborationStatus','_assignedColors','setUndoRedoMutationParamsCache','loadOfflineData','LocaleService','_httpService','ticket','handleInsertRangeMoveDown','beginPath','className','CLOSE_ROOM','_updateCollabCursors','BrowserCollaborationSocketService','getLocalCacheKey','_roomMembers$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DesktopCollaborationStatusDisplayController','@univerjs-pro/collaboration','getMember','session.will-retry','setInterval','collaboration-client-ui.config','history','setActiveRange','RevisionService','isTransformMutationFailure','ENSURE_SNAPSHOT_EXECUTION','textRanges','docStateChange$','collab-rect-range-','VIEW_MAIN','_docStateChangeManagerService','handleDeleteRangeMoveLeft','DOC_RANGE_TYPE','_cursors','_selfUnitIDs','Module','_unitOnClients','INVITE_CODE_REQUIRED','complete','UPDATE_CURSOR','SNAPSHOT_HAS_BEEN_REMOVED','WebSocketService','univer-flex\x20univer-mr-2\x20univer-text-xl','_onCursorUpdate','width','3119544bKxzWn','next','DeleteRangeMoveLeftCommandId','length','editingUnit','getOffsetConfig','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','RxDisposable','_drawAnchor','clsx','collabStatus.syncing','enableLocalCache','closePath','searchParams','/run/','_urlService','endColumn','propertyIsEnumerable','DependentOn','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','show','useCallback','UniverCollaborationClientUIPlugin','CONNECTOR_DATA_TOO_LARGE','_entityInit$','_hideTimer','currentColor','Subject','startRow','runId','_anchorDot','_registerRenderDependencies','memberID','Injector','svg','_scene','mapTo','CollaborationController','_docSkeletonManagerService','SYNCED','parse','UniverDocsUi','getMergeData','InsertRowCommandId','saveTaskMap','PENDING','getAncestorScale','SheetsSelectionsService','_themeService','pipe','RemoveRowCommandId','sheetID','focused$','RefRangeService','getRenderById','RECT','isEditing','displayName','_config','_docTransformIMECacheService','size','subscribe','getActiveRange','_handleHeartbeatEvent','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','_logService','findNodePositionByCharIndex','Shape','lineTo','CollaborationUIEventService','@univerjs/engine-render','green.600','unload','_getSheetObject','unit','serializeRangeWithSheet','getCurrentUnitForType','replaceState','text','data','_unitStatus','add','startsWith','_transformHistoryAndStateStack','UniverEngineFormula','NodePositionConvertToRectRange','colorChannel1','_localCacheService','getFocusedUnit','transformIMECache','subUnitId','requireSession','IImageIoService','688985SVZNXZ','min','bottom','idSuffix','handleMoveRange','on-line-icon_clip0_910_349','get','DocSelectionManagerService','handleIRemoveCol','_createSocketURL','ITransformService','pluginName','ILocalCacheService','distinctUntilChanged','wsSessionTicketUrl','DocStateChangeManagerService','values','[CollaborationDataLoaderController]','_collabCursorController','_instanceService','m1Prime','_labelPosition','LICENSE_DISTRO_REJECTED','EffectRefRangId','actions','_id','icon','toString','operators','string','_saveCache','INVITE_CODE_HAS_BEEN_UES','onStarting','@univerjs/sheets','_anchor','LOGIN_FAILED','_scheduleSaving','concat','syncEditingCollabCursor','endRow','executionId','_getSessionTicket','origin','isActive','_updateLocalCursor','roomMembers$','useDependency','Workbook','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','jsx','_initEntityListener','font','TRANSFORM_CHANGE_OBSERVABLE_TYPE','m2Prime','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_color','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NOT_FOUND','prototype','_render','attrs','measureText','Optional','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_transformPreviousActiveRange','from','onPointerMove$','@univerjs/ui','_messageService','_commandService','defIds','SOCKET_FAILED','UniverNetwork','_updateURLWithCurrentState','_collaborationUIEventService','@univerjs/docs-ui','@univerjs/sheets-ui','uni.network.url-service','then','_initStatusListener','_backgroundColor','post','YUUMI_UNABLE_LOAD_URL','Warning','combineLatest','CollaborationEvent','...','_localStorageService','collabStatus.synced','DocIMEInputManagerService','USER_NOT_INVITED_CODE','27ivoUAy','Error','dispose$','LOCAL_CACHE_INTERVAL_KEY','DeleteRangeMoveUpCommandId','object','handleInsertCol','_lastPointer','startColumn','onPointerLeave$','MOBILE_HAS_BEEN_BOUND','handleInsertRow','react/jsx-runtime','subscribeEvent','event$','_notificationService','INVALID_INVITE_CODE','_registerDependencies','BehaviorSubject','moveTo','_cursor','ACTIVE_UNIT_EVENT_CHANNEL','none','saveOfflineData','engine','3mfxEaM','_imageIoService','height','_scheduleHeartbeat','setAlpha','WebURLService','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','YUUMI_ASYNCIO_CANCELLED','rxjs','RemoveColCommandId','row','_collabCursorState$','collabStatus.conflict','round','onRendered','cursorInfo','_removeClearOtherTimer','DocSkeletonManagerService','drawWith','roomMembers','onCommandExecuted','getValue','getSkeleton','UNIVER_DOC','selection','SheetCollabCursorShape','http://www.w3.org/2000/svg','_handleEvent','_draw','fromEventSubject','rxjs/operators','fillText','whenReady','_scheduleClearOtherTimer','_transformUndoRedoStack','getCurrentSelections','DocCollaborationEntity','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetBySheetId','UniverInstanceType','has','_ensureSubject','indexOf','sessionTicket','onMouseMove','_doCreateSocket','Rect','SUBMIT_CHANGESET_TIMEOUT','getRelativeToViewportCoord','WebBrowserSingleActiveUnitService','_injector','0\x200\x2016\x2016','_context','IUIPartsService','_getScale','getColorFromTheme','INTERNAL_ERROR','collabStatus.notCollab','forwardRef','eventID','registerBeforeClose','IUniverInstanceService','addObjects','Failed','_disabled','_docSyncEditingCollabCursorService','error','mask','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SessionStatus','getOwnPropertyDescriptor','path','UNAUTHENTICATED','unsubscribe','OTHER_CLIENTS_EDITING','IConfigService','UNDEFINED','UniverIcon','_onCursorDelete','redoState','map','unitID','max','getRangePointData','ranges','result','color','@univerjs/engine-formula','_setupSubUnitSync','sheetId','hasOwnProperty','NO_OTHER_CLIENTS_EDITING','handleIRemoveRow','runRefRangeMutations','toStringTag','use','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','_memberService','switchMap','UNIVER_SHEET','UniverDrawing','collabCursorState$','@univerjs/docs','key','arc','_cursorShapes','univer-flex\x20univer-items-center','ILogService','YUUMI_NO_CUBOID_FOR_QUESTION','_collabSessionService','CollaborationSessionService','getActiveSheet','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','_colorIndex','getDocRanges','addHandlerCallback','useRef','_send','collaboration.closeRoom','CommandType','doc.mutation.rich-text-editing','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','set','black','_saveTaskMap','function','xlink:href','_init','getOwnPropertySymbols','_initCommandExecutedListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ALREADY_EXISTS','transformRemoteChangeset','FETCH_MISS','_colorAssignService','UNRECOGNIZED','getStateCache','13273140QsTekc','UniverUi','3571542XHgpBC','_handleHover','assignAColorForMemberID','fillRule','addClipboardHook','847944Mxbsfp','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/design','_getSaveTimeout','isArray','exports','univerjs-icon\x20univerjs-icon-','storage','push','transformMutation','executeCommand','cursorInfo$','params','UniverCollaborationClientPlugin','BuiltInUIPart','fromEvent','_eventUnsubscribe','onPointerEnter$','with','throttleTime','M0\x200H16V16H0z','Disposable','some','_docSkeleton','url(#$1','restore','blue.400','_initResize','_toggleOnline','permission.content','purple.300','runOnServer','APPLY_PERMISSION_DENIED','AWAITING_WITH_PENDING','call','handleInsertRangeMoveRight','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerComponent','toRgbString','entries','forEach','tag','url(#off-line-icon_clip0_910_343)','href','asObservable','invokeId','_status$','501536XNiAWt','amd','_docClipboardService','_online','RegularPolygon','_localeService','disposeWithMe','UnitStatus','pushState','dispose','popstate','InsertColCommandId','HTTPService','on-line-icon','_hovered','_docTransformStateCacheService','EMAIL_HAS_BEEN_BOUND','createSocket','top','jiqing.500','contains','saveImage','stringify','OffLineIcon','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentSkeleton$','_shapes','_heartbeatTimer','_initEvent','MessageType','_dataLoaderService','SetSelectionsOperation','find','collabStatus.fetchMiss','subunit','getUnhiddenWorksheets','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','activeSheet$','_document','_cachedData','_entities','useObservable','symbol','_uiPartsService','getCoordByCell'];_0x2d57=function(){return _0x4cea9c;};return _0x2d57();}
|