@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506061607 → 0.8.0-nightly.202506081606
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 _0x4d59(){const _0x39329b=['univer-flex\x20univer-mr-2\x20univer-text-xl','_handleLeaveEvent','selection','479214vYuljj','getTypeOfUnitDisposed$','50YOWHIi','WebBrowserSingleActiveUnitService','set','from','unitId','CollaborationStatus','startColumn','INVITE_CODE_HAS_BEEN_UES','UniverProCollaborationClient','save','getOwnPropertySymbols','ILocalCacheService','collab-text-anchor-','merge','PERMISSION_DENIED','RichTextEditingMutation','sessionStatus$','disableLocalCache','IConfigService','HTTPService','getCurrentRevOfUnit','M0\x200H16V16H0z','collab-rect-range-','SYNCED','BrowserCollaborationSocketService','_imageIoService','debounceTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','6561312bqylFM','yellow.400','evenodd','onCommandExecuted','blue.400','session.collaboration-timeout','onStarting','getViewport','Disposable','_handleJoinEvent','skeleton','setShapeProps','displayName','InsertRowCommandId','RemoveRowCommandId','distinctUntilChanged','SheetSkeletonManagerService','#FFF','_removeClearOtherTimer','getCoordByCell','ILocalStorageService','0\x200\x2016\x2016','_scheduleSaving','getUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_INVITE_CODE','_shapes','url(#on-line-icon_clip0_910_349)','clearTimeout','use','debug','on-line-icon_clip0_910_349','ranges','executeCommand','extend','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_dataLoaderService','UNIVER_SHEET','isTransformMutationFailure','saveOfflineData','deserializeRangeWithSheet','UniverDrawing','_collaborationController','_doCreateSocket','@univerjs/docs-ui','RevisionService','activeSheet$','2160432VBGwfJ','DocSelectionManagerService','labelPosition','operators','permission.content','ColorKit','hide','transformStateCache','OnLineIcon','searchParams','undoState','runId','React','_registerRenderDependencies','subUnitId','_unitOnClients','UniverProCollaborationClientUi','path','white','handleDeleteRangeMoveUp','call','mergeOverrideWithDependencies','className','collaboration-client.offline-data-not-saved','_disabled','backgroundColor','collabStatus.notCollab','@univerjs/core','imageSourceType','_docStateChangeManagerService','SOCKET_FAILED','Rectangle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getFocusedUnit','asObservable','DependentOn','NOT_COLLAB','CollaborationDataLoaderController','getTypeOfUnitAdded$','assign','CHANGESET_REVISION_CONFILICT','onPointerMove$','EffectRefRangId','@univerjs/engine-render','WebSocketService','setAlpha','function','_cachedData','then','result','@univerjs/sheets-ui','switchMap','fromEvent','unshift','OffLineIcon','getActiveSheet','replace','_docTransformStateCacheService','http://www.w3.org/2000/svg','collab-text-range-','url(#off-line-icon_clip0_910_343)','string','ACTIVE_UNIT_EVENT_CHANNEL','_name','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillRule','CONNECTOR_DATA_TOO_LARGE','ONLINE','cursorInfo$','getDocRanges','UniverDesign','DeleteRangeMoveUpCommandId','ticket','currentSkeleton$','_updateLocalCursor','@univerjs/drawing','getMember','LOGIN_FAILED','handleIRemoveRow','mapTo','clearInterval','_docSyncEditingCollabCursorService','_cursorShapes','propertyIsEnumerable','IRenderManagerService','Module','YUUMI_SUBSCRIPTION_NOT_FOUND','ICommandService','UniverCollaborationClientUIPlugin','runRefRangeMutations','getConfig','_assignedColors','subscribe','FromArray','UNRECOGNIZED','SetWorksheetActivateCommand','JOIN_ROOM_FAILED','dispose','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','createElement','fill','bottom','WebURLService','_onCursorUpdate','_roomMembers$','Workbook','Failed','SHEET_VIEWPORT_KEY','combineLatest','Shape','_cursor','Error','OFFLINE','concat','error','_id','syncEditingCollabCursor','pushState','colorChannel1','override','findNodePositionByCharIndex','deepClone','all','debounce','unitID','IImageIoService','collabStatus.synced','_commandService','children','SOCKET_FAILED_RETRY','isActive','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','SheetsSelectionsService','_refRangeService','_range','green.600','setItem','LocaleService','split','triggerDblclick','_logService','NOT_FOUND','getOwnPropertyDescriptor','_syncEditingCollabCursorService','isEditing','loadOfflineData','connectInjector','handleInsertRangeMoveRight','sheetId','_themeService','_docTransformIMECacheService','UniverUi','unload','values','_localeService','UNDEFINED','event$','dispose$','_saveCache','_initResize','Inject','post','Injector','next','_colorIndex','_localStorageService','entityInit$','prototype','IURLService','getCurrentSelections','2719440BNpZYX','_unitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','search','OTHER_CLIENTS_EDITING','rxjs/operators','_httpService','transformRemoteChangeset','forEach','@univerjs/design','SessionStatus','registerRenderModule','_notificationService','getCurrentUnitForType','_draw','off-line-icon','RemoteUniscriptService','replaceDocRanges','_colorAssignService','_startDocCollabCursor','height','OTHER_CLIENT_EDITING','@univerjs/ui','currentTheme$','getValue','includes','CollaborationUIEventId','479866AOyeEv','makeDirty','_transformUndoRedoStack','subscribeEvent','_collabCursorController','_context','_textBubble','_uiPartsService','redoState','startRow','startsWith','addObject','_status$','max','@univerjs/network','_initStatusListener','setParam','YUUMI_NO_CUBOID_FOR_QUESTION','getSheetObject','MoveRangeCommandId','BuiltInUIPart','Rect','status$','show','handleDeleteRangeMoveLeft','createInstance','get','_session','_getSheetObject','_sheetSkeletonManagerService','InsertColCommandId','div','_getAnchorBounding','_toggleOffline','eventID','rgba(255,\x20255,\x20255,\x200.01)','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','xlink:href','beginPath','useDependency','generateRandomId','sessionTicket','_injector','throttleTime','_messageService','_clearOtherTimers','stringify','SetTextSelectionsOperation','_cursorInfo$','exports','whenReady','range','...','UniverProCollaboration','restore','Warning','APPLY_PERMISSION_DENIED','transformMutation','mutations','_beforeCloseService','NodePositionConvertToRectRange','transformIMECache','addHandlerCallback','_refreshCollabCursors','1em','@univerjs/rpc','getItem','UniverRpc','href','AWAITING','_docSkeleton','DesktopCollaborationStatusDisplayController','_lastPointer','getActiveRange','find','RxDisposable','_collabSessionService','object','getOffsetConfig','getColorFromTheme','_render','IDocClipboardService','_getMergeRange','assignAColorForMemberID','measureText','push','storage','_drawTextRange','Unknown\x20user','_startSheetCollabCursor','_collaborationUIEventService','transformMutationsWithChangeset','getCollabCursors$','UNIVER_DOC','collabStatus.conflict','tag','setActiveRange','location','text','0\x200\x2017\x2016','source','/run/','DOC_RANGE_TYPE','UnitStatus','getUnitId','runOnServer','FETCH_MISS','_univerInstanceService','UniverCore','toDisposable','_handleHeartbeatEvent','INotificationService','LICENSE_IMPORT_SIZE_EXCEEDED','defineProperty','add','hovered','textRanges','@univerjs-pro/collaboration','sheetID','_initStatusComponent','code','onRendered','saveImage','UPDATE_CURSOR','docStateChange$','size','color','params','round','_entities','getAncestorScale','UniverSheetsUi','memberID','Vector2','collaboration.closeRoom','translate(.97)','invokeId','_handleEvent','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','getStateCache','toString','svg','_memberService','drawWith','shareReplay','DeleteRangeMoveLeftCommandId','_revisionService','getUnhiddenWorksheets','MUTATION','top','_collabCursorState$','ThemeService','pipe','collabStatus.fetchMiss','USER_NOT_INVITED_CODE','_getSessionTicket','3gyHAmD','LOCAL_CACHE_INTERVAL_KEY','defs','INTERNAL_ERROR','_init','getCurrent','YUUMI_ALL_TABLES_IS_INVALID','clipPath','jsx','Tools','UniverNetwork','TOO_MANY_REQUESTS','_registerDependencies','defIds','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onTransformChange$','toStringTag','CollaborationStatusDisplay','_transformHistoryAndStateStack','onLocalMutation','flatMap','length','forwardRef','registerRefRange','mask','SUBMIT_CHANGESET_TIMEOUT','amd','arc','_getSaveTimeout','url(#$1','isArray','UniverEngineRender','isTransformMutationsWithChangesetSuccess','DocSkeletonManagerService','red.300','_toggleOnline','_labelPosition','SNAPSHOT_HAS_BEEN_REMOVED','UniverDocs','handleInsertRow','_instanceService','_initEvent','setUndoRedoMutationParamsCache','UNAUTHENTICATED','ILogService','APPLY_NON_SEQUENTIAL_REVISION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','_onRefRangeChange','fillStyle','_saveTaskMap','saveTaskMap','APPLY_REVISION_CONFILICT','_setupBeforeClosingHandler','init','@univerjs/docs','has','column','_drawAnchor','InsertRangeMoveDownCommandId','createSocket','@univerjs-pro/collaboration-client','replaceState','2845395PeLATl','RemoveColCommandId','black','_hideTimer','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','COMPLETION_FINISHED','permission.title','icon','unsubscribe','application/json','filter','_updateCollabCursors','_drawRectRange','onMouseMove','_configService','getRenderById','_urlService','_docClipboardService','TEXT','_anchor','subunit','min','MessageType','INVITE_CODE_REQUIRED','_ensureSubject','_transformPreviousActiveRange','trim','INVITE_CODE_ALREADY_BOUND','UniverIcon','SNAPSHOT_INVALID_SNAPSHOT','indexOf','_removeCollabCursors','m2Prime','_entityInit$','touchDependencies','IUIPartsService','_cursors','createIdentifier','_backgroundColor','takeUntil','registerComponent','closePath','react/jsx-runtime','getLocalCacheKey','DocIMEInputManagerService','row','_createSocketURL','_initDependencies','_initEntityListener','IUniverInstanceService','updateOfflineData','COLORS','on-line-icon','getRangePointData','rxjs','setTimeout','_scheduleHeartbeat','getColor','_selfUnitIDs','CollaborationUIEventService','Tooltip','history','_getScale','_anchorDot','YUUMI_UNABLE_LOAD_URL','entries','UniverCollaborationClientPlugin','useRef','send','MemberService','data','urlChange$','_online','_handleHover','_document','currentColor','LICENSE_DISTRO_REJECTED','map','APPLY_REJECT','@univerjs/sheets','hasOwnProperty','_transformService','_updateURLWithCurrentState','APPLY_DUPLICATED','transformSelections','univerjs-icon\x20univerjs-icon-','MOBILE_HAS_BEEN_BOUND','requireSession','getUnitStatus$','_eventUnsubscribe','_renderManagerService','unit','YUUMI_RATE_OVER_LIMIT','_docTransformSelectionsService','delete','_localCacheService','BehaviorSubject','getUniverSheetInstance','INVALID_ARGUMENT','getCollabEntity$','executionId','loadUnit','_hover','_onCursorDelete','_scene','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','current','contains','handleInsertRangeMoveDown','popstate','pluginName','TEXT_RANGE_LAYER_INDEX','exhaustSavingTask','react','SetDocZoomRatioOperation','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers','ITransformService','some','setInterval','addObjects','removeParam','CollaborationController','focused$','setConfig','_color','fillText','CONFLICT','lineTo','CollaborationEvent','reconnect','endRow','4535608NYUwoM','resize','with','jsxs','getSheetBySheetId','_hovered','complete','session.will-retry','_updateSubUnitFromURLParams','useObservable','onPointerEnter$','m1Prime','UniverInstanceType','disposeWithMe','registerBeforeClose','collabCursorState$','wsSessionTicketUrl','cursorInfo','body','YUUMI_AI_RUN_FAILED','Subject','ISocketService','apply','actions','_config','YUUMI_URL_COL_OUT_OF_RANGE','getSheetId','_initCommandExecutedListener','clsx','name','_docSkeletonManagerService','_setupSubUnitSync','width','attrs','CommandType','_send','doc.mutation.rich-text-editing','font','RefRangeService','type','[CollaborationDataLoaderController]','_scheduleClearOtherTimer','onPointerLeave$'];_0x4d59=function(){return _0x39329b;};return _0x4d59();}function _0x56ac(_0x5584e4,_0x45e95f){const _0x4d59c2=_0x4d59();return _0x56ac=function(_0x56acaf,_0x294214){_0x56acaf=_0x56acaf-0x8c;let _0x5f3e63=_0x4d59c2[_0x56acaf];return _0x5f3e63;},_0x56ac(_0x5584e4,_0x45e95f);}(function(_0x29b320,_0x1354ff){const _0x24fb51=_0x56ac,_0x596227=_0x29b320();while(!![]){try{const _0x1278b7=parseInt(_0x24fb51(0x9e))/0x1*(-parseInt(_0x24fb51(0x2a4))/0x2)+-parseInt(_0x24fb51(0x289))/0x3+parseInt(_0x24fb51(0x162))/0x4+-parseInt(_0x24fb51(0x192))/0x5*(-parseInt(_0x24fb51(0x190))/0x6)+-parseInt(_0x24fb51(0xdd))/0x7+parseInt(_0x24fb51(0x1ae))/0x8+parseInt(_0x24fb51(0x1dd))/0x9;if(_0x1278b7===_0x1354ff)break;else _0x596227['push'](_0x596227['shift']());}catch(_0x37744f){_0x596227['push'](_0x596227['shift']());}}}(_0x4d59,0xea628),function(_0x213f89,_0x1f5b09){const _0x206a82=_0x56ac;typeof exports==_0x206a82(0x2f1)&&typeof module<'u'?_0x1f5b09(exports,require(_0x206a82(0xdb)),require(_0x206a82(0x1f8)),require(_0x206a82(0x208)),require('@univerjs/network'),require(_0x206a82(0x1da)),require(_0x206a82(0x228)),require('rxjs'),require(_0x206a82(0xd5)),require(_0x206a82(0x319)),require(_0x206a82(0xe1)),require(_0x206a82(0x12d)),require(_0x206a82(0x28e)),require(_0x206a82(0x20f)),require('react/jsx-runtime'),require(_0x206a82(0x29f)),require(_0x206a82(0x292)),require(_0x206a82(0x14f)),require(_0x206a82(0x2e5))):typeof define==_0x206a82(0x20b)&&define[_0x206a82(0xb8)]?define([_0x206a82(0x2d5),'@univerjs-pro/collaboration-client',_0x206a82(0x1f8),_0x206a82(0x208),_0x206a82(0x2b2),_0x206a82(0x1da),_0x206a82(0x228),_0x206a82(0x114),_0x206a82(0xd5),_0x206a82(0x319),_0x206a82(0xe1),_0x206a82(0x12d),_0x206a82(0x28e),'@univerjs/sheets-ui',_0x206a82(0x108),_0x206a82(0x29f),'@univerjs/design',_0x206a82(0x14f),'@univerjs/rpc'],_0x1f5b09):(_0x213f89=typeof globalThis<'u'?globalThis:_0x213f89||self,_0x1f5b09(_0x213f89[_0x206a82(0x1ed)]={},_0x213f89[_0x206a82(0x19a)],_0x213f89[_0x206a82(0x310)],_0x213f89[_0x206a82(0xbd)],_0x213f89[_0x206a82(0xa8)],_0x213f89['UniverDocsUi'],_0x213f89[_0x206a82(0x1d7)],_0x213f89[_0x206a82(0x114)],_0x213f89[_0x206a82(0xc4)],_0x213f89[_0x206a82(0x2d9)],_0x213f89['UniverEngineFormula'],_0x213f89['UniverSheets'],_0x213f89[_0x206a82(0x114)][_0x206a82(0x1e0)],_0x213f89[_0x206a82(0x327)],_0x213f89[_0x206a82(0x1e9)],_0x213f89[_0x206a82(0x276)],_0x213f89[_0x206a82(0x223)],_0x213f89[_0x206a82(0x1e9)],_0x213f89[_0x206a82(0x2e7)]));}(this,function(_0x2bf47a,_0x56139f,_0x5cc899,_0xa3a2fa,_0x225722,_0x45cbcb,_0x3e221e,_0x16a76f,_0xcf3dad,_0x158f44,_0x427481,_0x156504,_0x4faa9f,_0x19b11c,_0x73eb1b,_0x218fbf,_0x3b992f,_0x4d5c38,_0x2a95b8){'use strict';const _0x3a3b32=_0x56ac;var _0x25f7fc=Object[_0x3a3b32(0x315)],_0x51c7d6=(_0x66b49,_0x2bcf98,_0x5c07bc)=>_0x2bcf98 in _0x66b49?_0x25f7fc(_0x66b49,_0x2bcf98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c07bc}):_0x66b49[_0x2bcf98]=_0x5c07bc,_0x40a5a2=(_0x38d55d,_0x30aede,_0x318027)=>_0x51c7d6(_0x38d55d,typeof _0x30aede!='symbol'?_0x30aede+'':_0x30aede,_0x318027),_0x1491e8=Object[_0x3a3b32(0x26d)],_0x5dd51a=(_0x433577,_0x433cca,_0x1c8e32,_0x2e1053)=>{for(var _0x4e4176=_0x2e1053>0x1?void 0x0:_0x2e1053?_0x1491e8(_0x433cca,_0x1c8e32):_0x433cca,_0x1b9e0=_0x433577['length']-0x1,_0x4a49d9;_0x1b9e0>=0x0;_0x1b9e0--)(_0x4a49d9=_0x433577[_0x1b9e0])&&(_0x4e4176=_0x4a49d9(_0x4e4176)||_0x4e4176);return _0x4e4176;},_0x35c63a=(_0x4e5b0b,_0x4c8240)=>(_0x4030fa,_0x3cde91)=>_0x4c8240(_0x4030fa,_0x3cde91,_0x4e5b0b);let _0x51dd46=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x113e87,_0x5aaac0){const _0x5f11ec=_0x3a3b32;super(),this[_0x5f11ec(0xef)]=_0x113e87,this[_0x5f11ec(0x1ab)]=_0x5aaac0,this[_0x5f11ec(0xa2)]();}[_0x3a3b32(0xa2)](){const _0x33eded=_0x3a3b32,_0x8b368c=this;this['disposeWithMe'](this[_0x33eded(0xef)]['addClipboardHook']({'onBeforePasteImage':async _0x37aae0=>{const _0x2628ab=_0x33eded,_0x346848=await _0x8b368c['_imageIoService'][_0x2628ab(0x31e)](_0x37aae0);return _0x346848?{'source':_0x346848[_0x2628ab(0x308)],'imageSourceType':_0x346848[_0x2628ab(0x1f9)]}:null;}}));}};_0x51dd46=_0x5dd51a([_0x35c63a(0x0,_0x45cbcb[_0x3a3b32(0x2f5)]),_0x35c63a(0x1,_0x3e221e[_0x3a3b32(0x25b)])],_0x51dd46);const _0x2a5316=['purple.300','jiqing.500',_0x3a3b32(0x266),_0x3a3b32(0xc0),_0x3a3b32(0x1b2),_0x3a3b32(0x1af)];class _0x138d33 extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(){const _0x2d0248=_0x3a3b32;super(...arguments),_0x40a5a2(this,_0x2d0248(0x238),new Map()),_0x40a5a2(this,_0x2d0248(0x283),0x0);}[_0x3a3b32(0x2f7)](_0x2cf0bb){const _0x47dc75=_0x3a3b32;if(this[_0x47dc75(0x238)][_0x47dc75(0xd6)](_0x2cf0bb))return this[_0x47dc75(0x238)]['get'](_0x2cf0bb);const _0x2610b6=_0x2a5316[this[_0x47dc75(0x283)]];return this['_colorIndex']=(this[_0x47dc75(0x283)]+0x1)%_0x2a5316[_0x47dc75(0xb3)],this[_0x47dc75(0x238)][_0x47dc75(0x194)](_0x2cf0bb,_0x2610b6),_0x2610b6;}}function _0x5cf42e(_0x21df44){let _0x515355='';for(const _0x1f6212 of _0x21df44){const {startOffset:_0x5b409b,endOffset:_0x3f5307,isActive:_0xc139ce,rangeType:_0x19c059,segmentId:_0x26e136,segmentPage:_0x38de58}=_0x1f6212;_0x515355['length']&&(_0x515355+=','),_0x515355+=_0x5b409b+':'+_0x3f5307+':'+(_0xc139ce?'1':'0')+':'+_0x19c059+':'+_0x26e136+':'+_0x38de58;}return _0x515355;}function _0x520bdb(_0x578c66){const _0x1b664e=_0x3a3b32,_0x1a24ae=_0x578c66['split'](','),_0x30df50=[];for(const _0x2bde33 of _0x1a24ae){const [_0x43a5e8,_0x463e95,_0x294551,_0x400b11,_0x59ce52,_0x47d2a2]=_0x2bde33[_0x1b664e(0x269)](':');_0x30df50[_0x1b664e(0x2f9)]({'startOffset':Number(_0x43a5e8),'endOffset':Number(_0x463e95),'collapsed':_0x43a5e8===_0x463e95,'isActive':_0x294551==='1','rangeType':_0x400b11===_0x5cc899[_0x1b664e(0x30a)][_0x1b664e(0xf0)]?_0x5cc899[_0x1b664e(0x30a)][_0x1b664e(0xf0)]:_0x5cc899['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x59ce52==_0x1b664e(0x21a)?String(_0x59ce52):'','segmentPage':Number(_0x47d2a2!=null?_0x47d2a2:-0x1)});}return _0x30df50[_0x1b664e(0x154)](_0x392f4d=>_0x392f4d[_0x1b664e(0x260)])||(_0x30df50[0x0][_0x1b664e(0x260)]=!0x0),_0x30df50;}class _0x4fe24f extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(){const _0x350c13=_0x3a3b32;super(...arguments),_0x40a5a2(this,_0x350c13(0x98),new _0x16a76f['BehaviorSubject'](null)),_0x40a5a2(this,_0x350c13(0x171),this[_0x350c13(0x98)]['asObservable']());}[_0x3a3b32(0x252)](_0x152f96){const _0x593ed7=_0x3a3b32,{unitID:_0x116818,memberID:_0x176860,textRanges:_0x48e4b8}=_0x152f96,_0x119ccc=_0x5cf42e(_0x48e4b8);if(_0x119ccc==='')return;const _0x35f63b={'unitID':_0x116818,'memberID':_0x176860,'selection':_0x119ccc};this[_0x593ed7(0x98)][_0x593ed7(0x282)](_0x35f63b);}}var _0x3acac5=Object[_0x3a3b32(0x26d)],_0x5d3c1c=(_0x34b7cd,_0x3d8e1f,_0x4628db,_0xc8ed6a)=>{const _0x45f970=_0x3a3b32;for(var _0x2a480b=_0xc8ed6a>0x1?void 0x0:_0xc8ed6a?_0x3acac5(_0x3d8e1f,_0x4628db):_0x3d8e1f,_0x16f54f=_0x34b7cd[_0x45f970(0xb3)]-0x1,_0x2a2e1a;_0x16f54f>=0x0;_0x16f54f--)(_0x2a2e1a=_0x34b7cd[_0x16f54f])&&(_0x2a480b=_0x2a2e1a(_0x2a480b)||_0x2a480b);return _0x2a480b;},_0x1d6ef5=(_0xffda4e,_0x51e688)=>(_0x31b225,_0x435223)=>_0x51e688(_0x31b225,_0x435223,_0xffda4e);const _0x2d38ce=0x12c,_0x36547e=0x64;let _0x3cd518=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x130fd1,_0x599bc3,_0x1697ad,_0x10a205,_0x25a9c7,_0x261227,_0x33517e,_0x14c742,_0x47d55a){const _0x13332e=_0x3a3b32;super(),_0x40a5a2(this,_0x13332e(0x126),!0x1),_0x40a5a2(this,_0x13332e(0xa2),!0x1),_0x40a5a2(this,_0x13332e(0x2d4),new _0x16a76f[(_0x13332e(0x13e))](new Map())),_0x40a5a2(this,_0x13332e(0x221),this[_0x13332e(0x2d4)][_0x13332e(0x1ff)]()),_0x40a5a2(this,_0x13332e(0x246),new _0x16a76f['BehaviorSubject']([])),_0x40a5a2(this,'roomMembers$',this[_0x13332e(0x246)]['pipe'](_0x16a76f[_0x13332e(0x1ac)](_0x2d38ce))),_0x40a5a2(this,_0x13332e(0x227),_0x5cc899[_0x13332e(0x259)](_0x9eb151=>{const _0x3e0242=_0x13332e,_0x3a6435={'eventID':_0x158f44['CollaborationEvent'][_0x3e0242(0x31f)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e0242(0x2bf)]['getMemberID'](),'selection':_0x5cf42e(_0x9eb151)}};this[_0x3e0242(0x2bf)][_0x3e0242(0x122)](_0x3a6435,this[_0x3e0242(0x25a)]);},_0x36547e)),(this['unitID']=_0x130fd1,this[_0x13332e(0x2bf)]=_0x599bc3,this['_injector']=_0x1697ad,this[_0x13332e(0x29b)]=_0x10a205,this[_0x13332e(0x90)]=_0x25a9c7,this[_0x13332e(0x26e)]=_0x261227,this[_0x13332e(0x12f)]=_0x33517e,this[_0x13332e(0x30f)]=_0x14c742,this['_commandService']=_0x47d55a);}get['cursorInfo'](){const _0x5bfd9b=_0x3a3b32;return this['_cursorInfo$'][_0x5bfd9b(0x2a1)]();}get[_0x3a3b32(0x152)](){const _0x3f0fe0=_0x3a3b32;return this[_0x3f0fe0(0x246)][_0x3f0fe0(0x2a1)]();}[_0x3a3b32(0x23e)](){const _0x5451b6=_0x3a3b32;super[_0x5451b6(0x23e)](),this['_cursorInfo$'][_0x5451b6(0x282)](new Map()),this[_0x5451b6(0x2d4)][_0x5451b6(0x168)](),this[_0x5451b6(0x246)]['next']([]),this[_0x5451b6(0x246)][_0x5451b6(0x168)]();}[_0x3a3b32(0xd4)](){const _0x42ad01=_0x3a3b32;this[_0x42ad01(0xa2)]||(this[_0x42ad01(0xa2)]=!0x0,this[_0x42ad01(0x2bf)][_0x42ad01(0x1a2)][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))[_0x42ad01(0x239)](_0x49c8f6=>{const _0x43a65d=_0x42ad01;_0x49c8f6===_0x56139f[_0x43a65d(0x293)][_0x43a65d(0x220)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x42ad01(0x2bf)]['event$'][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))['subscribe'](_0x249d56=>{const _0x1da527=_0x42ad01,_0x3ee990=_0x249d56[_0x1da527(0x2c6)];_0x3ee990===_0x158f44[_0x1da527(0x15f)][_0x1da527(0x31f)]&&this[_0x1da527(0x245)](_0x249d56),_0x3ee990===_0x158f44[_0x1da527(0x15f)]['USERS_LEAVE']&&this[_0x1da527(0x145)](_0x249d56);}),this[_0x42ad01(0x16f)](this[_0x42ad01(0x25d)]['onCommandExecuted'](_0x38b6b8=>{const _0x42b912=_0x42ad01,_0x239223=_0x38b6b8['params'];_0x239223!=null&&this['_online']&&_0x38b6b8['id']===_0xcf3dad[_0x42b912(0x2d3)]['id']&&_0x239223[_0x42b912(0x196)]===this[_0x42b912(0x25a)]&&_0x239223[_0x42b912(0x26f)]===!0x1&&_0x239223[_0x42b912(0x1ce)]['length']>0x0&&this['_updateLocalCursor'](_0x239223[_0x42b912(0x1ce)]);})),this['_syncEditingCollabCursorService'][_0x42ad01(0x171)][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))[_0x42ad01(0x239)](_0x6f5418=>{const _0x17c04a=_0x42ad01;if((_0x6f5418==null?void 0x0:_0x6f5418[_0x17c04a(0x25a)])!==this[_0x17c04a(0x25a)])return;const _0x32aa95={'eventID':_0x158f44['CollaborationEvent'][_0x17c04a(0x31f)],'data':_0x6f5418};this[_0x17c04a(0x245)](_0x32aa95);}),this[_0x42ad01(0x16f)](this['_commandService']['onCommandExecuted'](_0x4b0e2d=>{const _0x292f09=_0x42ad01;if(_0x4b0e2d['params']==null)return;const _0x1f357a=_0x4b0e2d[_0x292f09(0x323)];if(_0x4b0e2d['id']!==_0xcf3dad[_0x292f09(0x1a1)]['id']||_0x1f357a[_0x292f09(0x196)]!==this[_0x292f09(0x25a)])return;const _0x2fe3ff={'id':'doc.mutation.rich-text-editing','params':_0x1f357a},_0x1afdd8=this[_0x292f09(0x173)];for(const [_0x430b4c,_0x365d5]of _0x1afdd8){const _0x29b589={'id':_0x292f09(0x186),'params':{'unitId':this[_0x292f09(0x25a)],'actions':null,'textRanges':_0x365d5[_0x292f09(0x1ce)]}},_0x574634=this[_0x292f09(0x12f)][_0x292f09(0x2dd)](_0x2fe3ff,_0x29b589,!0x1);if(_0x158f44[_0x292f09(0x1d4)](_0x574634))throw _0x574634['error'];_0x1afdd8[_0x292f09(0x194)](_0x430b4c,{..._0x365d5,'ranges':_0x574634[_0x292f09(0xfe)][_0x292f09(0x323)][_0x292f09(0x318)]});}queueMicrotask(()=>{const _0x3ce807=_0x292f09;this[_0x3ce807(0x2d4)][_0x3ce807(0x282)](_0x1afdd8);});})));}[_0x3a3b32(0x245)](_0xf84683){const _0x1f2803=_0x3a3b32;var _0x21c43d,_0x1102de;const {memberID:_0x569406,selection:_0x4350c2}=_0xf84683[_0x1f2803(0x124)],_0x3968b2=_0x520bdb(_0x4350c2),_0x4e8573=(_0x1102de=(_0x21c43d=this[_0x1f2803(0x90)][_0x1f2803(0x229)](this[_0x1f2803(0x25a)],_0x569406))==null?void 0x0:_0x21c43d[_0x1f2803(0x17f)])!=null?_0x1102de:_0x1f2803(0x2fc),_0x13ed5b={'color':this[_0x1f2803(0x29b)][_0x1f2803(0x2f7)](_0x569406),'name':_0x4e8573,'ranges':_0x3968b2},_0xb2432d=this[_0x1f2803(0x173)];_0xb2432d['set'](_0x569406,_0x13ed5b),this[_0x1f2803(0x2d4)][_0x1f2803(0x282)](_0xb2432d);}[_0x3a3b32(0x145)](_0x19b6c0){const _0x5af7b1=_0x3a3b32,{memberID:_0x427132}=_0x19b6c0[_0x5af7b1(0x124)],_0x46697d=this[_0x5af7b1(0x173)];_0x46697d[_0x5af7b1(0x13c)](_0x427132),this['_cursorInfo$']['next'](_0x46697d);}[_0x3a3b32(0xc1)](){const _0x540c61=_0x3a3b32;var _0x3ce2b9;if(this[_0x540c61(0x126)]=!0x0,((_0x3ce2b9=this[_0x540c61(0x30f)][_0x540c61(0x1fe)]())==null?void 0x0:_0x3ce2b9[_0x540c61(0x30c)]())!==this[_0x540c61(0x25a)])return;const _0x25d179=this['_injector'][_0x540c61(0x2be)](_0xcf3dad['DocSelectionManagerService'])[_0x540c61(0x222)]();Array[_0x540c61(0xbc)](_0x25d179)&&_0x25d179['length']>0x0&&this['_updateLocalCursor'](_0x25d179);}[_0x3a3b32(0x2c5)](){const _0x32eb55=_0x3a3b32;this[_0x32eb55(0x126)]=!0x1;}};_0x3cd518=_0x5d3c1c([_0x1d6ef5(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x1d6ef5(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x138d33)),_0x1d6ef5(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f['MemberService'])),_0x1d6ef5(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x4fe24f)),_0x1d6ef5(0x6,_0x158f44[_0x3a3b32(0x153)]),_0x1d6ef5(0x7,_0x5cc899[_0x3a3b32(0x10f)]),_0x1d6ef5(0x8,_0x5cc899[_0x3a3b32(0x234)])],_0x3cd518);var _0x2bdf73=Object[_0x3a3b32(0x26d)],_0x18a5cc=(_0x3fce89,_0x5be657,_0x42bf0b,_0x24d279)=>{const _0x31c76a=_0x3a3b32;for(var _0xa49248=_0x24d279>0x1?void 0x0:_0x24d279?_0x2bdf73(_0x5be657,_0x42bf0b):_0x5be657,_0x5ad3b2=_0x3fce89[_0x31c76a(0xb3)]-0x1,_0x211414;_0x5ad3b2>=0x0;_0x5ad3b2--)(_0x211414=_0x3fce89[_0x5ad3b2])&&(_0xa49248=_0x211414(_0xa49248)||_0xa49248);return _0xa49248;},_0x47ac2d=(_0x17ce02,_0x8e67c2)=>(_0x2465ba,_0x9f3a8c)=>_0x8e67c2(_0x2465ba,_0x9f3a8c,_0x17ce02);const _0x53b7f9=0x12c,_0xea6a1d=0x64,_0x131beb=()=>{let _0x434d36=[],_0x481ecc=!0x1;return _0x54dbfd=>{const _0x10895e=_0x56ac;_0x434d36[_0x10895e(0x2f9)](_0x54dbfd),_0x481ecc||(_0x481ecc=!0x0,setTimeout(()=>{const _0x4ca234=_0x10895e;_0x434d36[_0x4ca234(0x291)](_0x5bed6c=>_0x5bed6c()),_0x434d36=[],_0x481ecc=!0x1;}));};};let _0x2074c6=class extends _0x5cc899['RxDisposable']{constructor(_0x7cd426,_0x4e621f,_0xff91c2,_0x2995c5,_0x5ae717,_0xf75632,_0x3b157c,_0x2dbf39){const _0x37ff39=_0x3a3b32;super(),_0x40a5a2(this,'_online',!0x1),_0x40a5a2(this,'_init',!0x1),_0x40a5a2(this,_0x37ff39(0x2d4),new _0x16a76f['BehaviorSubject'](new Map())),_0x40a5a2(this,_0x37ff39(0x221),this[_0x37ff39(0x2d4)][_0x37ff39(0x1ff)]()),_0x40a5a2(this,_0x37ff39(0x246),new _0x16a76f[(_0x37ff39(0x13e))]([])),_0x40a5a2(this,'roomMembers$',this[_0x37ff39(0x246)]['pipe'](_0x16a76f[_0x37ff39(0x1ac)](_0x53b7f9))),_0x40a5a2(this,_0x37ff39(0x227),_0x5cc899[_0x37ff39(0x259)]((_0x57e2fe,_0x2cb8bf)=>{const _0x40b5db=_0x37ff39,_0x5909bb={'eventID':_0x158f44['CollaborationEvent'][_0x40b5db(0x31f)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x427481['serializeRangeWithSheet'](_0x57e2fe,_0x2cb8bf['range'])}};this[_0x40b5db(0x2bf)][_0x40b5db(0x122)](_0x5909bb,this[_0x40b5db(0x25a)]);},_0xea6a1d)),(this[_0x37ff39(0x25a)]=_0x7cd426,this[_0x37ff39(0x2bf)]=_0x4e621f,this[_0x37ff39(0x2ce)]=_0xff91c2,this[_0x37ff39(0x29b)]=_0x2995c5,this[_0x37ff39(0x90)]=_0x5ae717,this[_0x37ff39(0x30f)]=_0xf75632,this['_commandService']=_0x3b157c,this[_0x37ff39(0x264)]=_0x2dbf39);}get[_0x3a3b32(0x173)](){const _0x4b7106=_0x3a3b32;return this[_0x4b7106(0x2d4)][_0x4b7106(0x2a1)]();}get[_0x3a3b32(0x152)](){return this['_roomMembers$']['getValue']();}[_0x3a3b32(0x23e)](){const _0x45ca18=_0x3a3b32;super['dispose'](),this[_0x45ca18(0x2d4)][_0x45ca18(0x282)](new Map()),this[_0x45ca18(0x2d4)][_0x45ca18(0x168)](),this[_0x45ca18(0x246)]['next']([]),this[_0x45ca18(0x246)]['complete']();}[_0x3a3b32(0xd4)](){const _0x2ead02=_0x3a3b32;this['_init']||(this[_0x2ead02(0xa2)]=!0x0,this[_0x2ead02(0x2bf)][_0x2ead02(0x1a2)][_0x2ead02(0x9a)](_0x16a76f[_0x2ead02(0x105)](this[_0x2ead02(0x27c)]))[_0x2ead02(0x239)](_0x103718=>{const _0x1ee92b=_0x2ead02;_0x103718===_0x56139f['SessionStatus'][_0x1ee92b(0x220)]?this[_0x1ee92b(0xc1)]():this['_toggleOffline']();}),this[_0x2ead02(0x2bf)][_0x2ead02(0x27b)][_0x2ead02(0x9a)](_0x16a76f[_0x2ead02(0x105)](this[_0x2ead02(0x27c)]))[_0x2ead02(0x239)](_0x3c0197=>{const _0x49d389=_0x2ead02,_0x2c7923=_0x3c0197['eventID'];_0x2c7923===_0x158f44['CollaborationEvent'][_0x49d389(0x31f)]&&this[_0x49d389(0x245)](_0x3c0197),_0x2c7923===_0x158f44['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x3c0197);}),this[_0x2ead02(0xce)](),this[_0x2ead02(0x16f)](this[_0x2ead02(0x25d)][_0x2ead02(0x1b1)](_0x2fe1e9=>{const _0x4e9cfe=_0x2ead02;if(this[_0x4e9cfe(0x126)]&&_0x2fe1e9['id']===_0x156504['SetSelectionsOperation']['id']&&_0x2fe1e9[_0x4e9cfe(0x323)]['unitId']===this['unitID']){const _0x249d1f=_0x2fe1e9[_0x4e9cfe(0x323)];this[_0x4e9cfe(0x227)](_0x249d1f[_0x4e9cfe(0x1eb)],_0x249d1f['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2d72cb){const _0x5c2ea5=_0x3a3b32;var _0x5404f0,_0x3d5c53;const {memberID:_0xc76547,selection:_0x5caf75}=_0x2d72cb[_0x5c2ea5(0x124)],{sheetName:_0x2c974c,range:_0x501c19}=_0x427481[_0x5c2ea5(0x1d6)](_0x5caf75),_0x1e06ef={'name':(_0x3d5c53=(_0x5404f0=this[_0x5c2ea5(0x90)][_0x5c2ea5(0x229)](this[_0x5c2ea5(0x25a)],_0xc76547))==null?void 0x0:_0x5404f0[_0x5c2ea5(0x17f)])!=null?_0x3d5c53:_0x5c2ea5(0x2fc),'range':this[_0x5c2ea5(0x2f6)](_0x2c974c,_0x501c19),'sheetID':_0x2c974c,'color':this[_0x5c2ea5(0x29b)]['assignAColorForMemberID'](_0xc76547),'selection':_0x5caf75},_0x45642c=this[_0x5c2ea5(0x173)];_0x45642c[_0x5c2ea5(0x194)](_0xc76547,_0x1e06ef),this[_0x5c2ea5(0x2d4)][_0x5c2ea5(0x282)](_0x45642c);}[_0x3a3b32(0x145)](_0x9f9654){const _0x4854d6=_0x3a3b32,{memberID:_0x2bad56}=_0x9f9654[_0x4854d6(0x124)],_0x14aa9a=this[_0x4854d6(0x173)];_0x14aa9a[_0x4854d6(0x13c)](_0x2bad56),this['_cursorInfo$'][_0x4854d6(0x282)](_0x14aa9a);}[_0x3a3b32(0x2f6)](_0x3c0894,_0x573bf1){const _0x1494de=_0x3a3b32;var _0x50d761,_0x165b4e;const _0x4e98f7=(_0x165b4e=(_0x50d761=this[_0x1494de(0x30f)][_0x1494de(0x13f)](this['unitID']))==null?void 0x0:_0x50d761['getSheetBySheetId'](_0x3c0894))==null?void 0x0:_0x165b4e['getMergeData']();return(_0x4e98f7==null?void 0x0:_0x4e98f7[_0x1494de(0x2ee)](_0x349db5=>_0x5cc899[_0x1494de(0x1fc)][_0x1494de(0x149)](_0x349db5,_0x573bf1)))||_0x573bf1;}['_onRefRangeChange'](){const _0x355c06=_0x3a3b32,_0x1c1916=new _0x5cc899['DisposableCollection'](),_0x40421f=_0x131beb(),_0x44de8a=()=>{const _0x464b89=_0x56ac;_0x1c1916[_0x464b89(0x23e)]();const _0x36fa00=(_0x8c0017,_0x490468,_0x24342f,_0x4dd02e)=>{const _0x6eec94=_0x464b89;let _0x41f265=[];switch(_0x8c0017['id']){case _0x156504['EffectRefRangId'][_0x6eec94(0x93)]:{_0x41f265=_0x156504[_0x6eec94(0x2bc)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x224)]:{_0x41f265=_0x156504[_0x6eec94(0x1f0)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x2c2)]:{_0x41f265=_0x156504['handleInsertCol'](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId'][_0x6eec94(0xd9)]:{_0x41f265=_0x156504[_0x6eec94(0x14a)](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x41f265=_0x156504[_0x6eec94(0x272)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x1bb)]:{_0x41f265=_0x156504[_0x6eec94(0xc5)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x2b7)]:{_0x41f265=_0x156504['handleMoveRange'](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0xde)]:{_0x41f265=_0x156504['handleIRemoveCol'](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId'][_0x6eec94(0x1bc)]:{_0x41f265=_0x156504[_0x6eec94(0x22b)](_0x8c0017,_0x4dd02e);break;}}const _0x3e5337=_0x156504[_0x6eec94(0x236)](_0x41f265,_0x4dd02e),_0x10ab75=this[_0x6eec94(0x173)][_0x6eec94(0x2be)](_0x490468);if(_0x10ab75&&_0x3e5337){const _0x2a46df={..._0x10ab75,'range':_0x3e5337};this[_0x6eec94(0x173)]['set'](_0x490468,_0x2a46df),_0x40421f(()=>{const _0x14d11c=_0x6eec94,_0x4f8ed1=this['_refRangeService']['registerRefRange'](_0x3e5337,_0x102fda=>(_0x4f8ed1[_0x14d11c(0x23e)](),_0x36fa00(_0x102fda,_0x490468,_0x24342f,_0x3e5337)));_0x1c1916[_0x14d11c(0x316)](_0x4f8ed1);});}return{'redos':[],'undos':[]};};this[_0x464b89(0x173)]['forEach']((_0x193c46,_0x46d42d)=>{const _0x156e5b=_0x464b89,{range:_0x470b0e,sheetID:_0x53d500}=_0x193c46,_0x3f6b18=this[_0x156e5b(0x264)][_0x156e5b(0xb5)](_0x470b0e,_0x2a7dbb=>(_0x3f6b18[_0x156e5b(0x23e)](),_0x36fa00(_0x2a7dbb,_0x46d42d,_0x53d500,_0x470b0e)));_0x1c1916[_0x156e5b(0x316)](_0x3f6b18);});};this[_0x355c06(0x16f)](_0x5cc899[_0x355c06(0x311)](this[_0x355c06(0x2d4)][_0x355c06(0x239)](()=>{_0x44de8a();})));}[_0x3a3b32(0xc1)](){const _0x38bab1=_0x3a3b32;var _0x14f86f,_0x2aa020;if(this[_0x38bab1(0x126)]=!0x0,((_0x14f86f=this[_0x38bab1(0x30f)][_0x38bab1(0x1fe)]())==null?void 0x0:_0x14f86f[_0x38bab1(0x30c)]())!==this[_0x38bab1(0x25a)])return;const _0x4bc9ef=(_0x2aa020=this[_0x38bab1(0x2ce)][_0x38bab1(0x2be)](_0x156504[_0x38bab1(0x263)])[_0x38bab1(0x288)]())==null?void 0x0:_0x2aa020[0x0],_0x260472=this[_0x38bab1(0x30f)][_0x38bab1(0x296)](_0x5cc899['UniverInstanceType']['UNIVER_SHEET'])[_0x38bab1(0x214)]();_0x4bc9ef&&_0x260472&&this[_0x38bab1(0x227)](_0x260472['getSheetId'](),_0x4bc9ef);}['_toggleOffline'](){const _0x14c199=_0x3a3b32;this[_0x14c199(0x126)]=!0x1;}};_0x2074c6=_0x18a5cc([_0x47ac2d(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899['Injector'])),_0x47ac2d(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x138d33)),_0x47ac2d(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x123)])),_0x47ac2d(0x5,_0x5cc899[_0x3a3b32(0x10f)]),_0x47ac2d(0x6,_0x5cc899[_0x3a3b32(0x234)]),_0x47ac2d(0x7,_0x5cc899[_0x3a3b32(0x27f)](_0x156504[_0x3a3b32(0x188)]))],_0x2074c6);var _0x1d39ad=Object[_0x3a3b32(0x26d)],_0x52e77b=(_0x4da442,_0x2a410d,_0x54030f,_0x498470)=>{const _0x4f72a5=_0x3a3b32;for(var _0x157837=_0x498470>0x1?void 0x0:_0x498470?_0x1d39ad(_0x2a410d,_0x54030f):_0x2a410d,_0x4fdb8d=_0x4da442[_0x4f72a5(0xb3)]-0x1,_0x5ab35d;_0x4fdb8d>=0x0;_0x4fdb8d--)(_0x5ab35d=_0x4da442[_0x4fdb8d])&&(_0x157837=_0x5ab35d(_0x157837)||_0x157837);return _0x157837;},_0x3548fa=(_0x2a9c47,_0x1111f9)=>(_0x3717ea,_0x568cfd)=>_0x1111f9(_0x3717ea,_0x568cfd,_0x2a9c47);let _0x6e1b81=class extends _0x5cc899['RxDisposable']{constructor(_0x465d70,_0x14afa2,_0x319238){const _0x36437d=_0x3a3b32;super(),_0x40a5a2(this,_0x36437d(0x325),new Map()),_0x40a5a2(this,_0x36437d(0xff),new _0x16a76f[(_0x36437d(0x176))]()),(this['_univerInstanceService']=_0x465d70,this[_0x36437d(0x2ce)]=_0x14afa2,this[_0x36437d(0x2f0)]=_0x319238,this[_0x36437d(0xa2)]());}[_0x3a3b32(0x23e)](){const _0x4cda06=_0x3a3b32;super[_0x4cda06(0x23e)](),this[_0x4cda06(0xff)][_0x4cda06(0x168)](),this[_0x4cda06(0x325)]['forEach'](_0x574f25=>_0x574f25['dispose']());}[_0x3a3b32(0x300)](_0x3970eb){const _0x45ab7a=_0x3a3b32;return this['_entities'][_0x45ab7a(0xd6)](_0x3970eb)?this[_0x45ab7a(0x325)][_0x45ab7a(0x2be)](_0x3970eb)[_0x45ab7a(0x221)]:this[_0x45ab7a(0xff)][_0x45ab7a(0x9a)](_0x16a76f[_0x45ab7a(0xe8)](_0x1d7fcd=>_0x1d7fcd[_0x45ab7a(0x25a)]===_0x3970eb),_0x16a76f[_0x45ab7a(0x210)](_0x84433=>_0x84433[_0x45ab7a(0x221)]));}[_0x3a3b32(0xa2)](){const _0x3e2fc6=_0x3a3b32;this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x203)](_0x5cc899[_0x3e2fc6(0x16e)][_0x3e2fc6(0x1d3)])[_0x3e2fc6(0x9a)](_0x16a76f['takeUntil'](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x239)](async _0x2d609b=>{const _0x383210=_0x3e2fc6,_0x206bb2=_0x2d609b[_0x383210(0x30c)](),_0x326fb5=await this[_0x383210(0x2fd)](_0x206bb2);this[_0x383210(0xff)]['next'](_0x326fb5),this[_0x383210(0x325)][_0x383210(0x194)](_0x206bb2,_0x326fb5);}),this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x203)](_0x5cc899[_0x3e2fc6(0x16e)]['UNIVER_DOC'])[_0x3e2fc6(0x9a)](_0x16a76f['takeUntil'](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x9a)](_0x16a76f[_0x3e2fc6(0xe8)](_0x1613cf=>!_0x1613cf['getUnitId']()[_0x3e2fc6(0x2ae)]('__')))[_0x3e2fc6(0x239)](async _0x3b2ebc=>{const _0x185808=_0x3e2fc6,_0x9de830=_0x3b2ebc[_0x185808(0x30c)](),_0x5e3aae=await this[_0x185808(0x29c)](_0x9de830);this[_0x185808(0xff)][_0x185808(0x282)](_0x5e3aae),this['_entities']['set'](_0x9de830,_0x5e3aae);}),_0x16a76f['merge'](this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x191)](_0x5cc899[_0x3e2fc6(0x16e)][_0x3e2fc6(0x301)]),this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x191)](_0x5cc899['UniverInstanceType'][_0x3e2fc6(0x1d3)]))[_0x3e2fc6(0x9a)](_0x16a76f[_0x3e2fc6(0x105)](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x239)](_0x3757fe=>{const _0x4b1e3f=_0x3e2fc6,_0x4f6270=_0x3757fe[_0x4b1e3f(0x30c)](),_0x461c26=this[_0x4b1e3f(0x325)][_0x4b1e3f(0x2be)](_0x4f6270);_0x461c26&&(_0x461c26[_0x4b1e3f(0x23e)](),this[_0x4b1e3f(0x325)][_0x4b1e3f(0x13c)](_0x4f6270));});}async[_0x3a3b32(0x2fd)](_0x21bde4){const _0x417f41=_0x3a3b32,_0xbbe60b=await this[_0x417f41(0x2f0)][_0x417f41(0x135)](_0x21bde4),_0x603ad8=this[_0x417f41(0x2ce)][_0x417f41(0x2bd)](_0x2074c6,_0x21bde4,_0xbbe60b);return _0x603ad8[_0x417f41(0xd4)](),_0x603ad8;}async['_startDocCollabCursor'](_0x4c8ab5){const _0x4cd64e=_0x3a3b32,_0x3fffcb=await this['_collabSessionService'][_0x4cd64e(0x135)](_0x4c8ab5),_0xaaf53c=this['_injector'][_0x4cd64e(0x2bd)](_0x3cd518,_0x4c8ab5,_0x3fffcb);return _0xaaf53c[_0x4cd64e(0xd4)](),_0xaaf53c;}};_0x6e1b81=_0x52e77b([_0x3548fa(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x3548fa(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x3548fa(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x23f)]))],_0x6e1b81);const _0x12924c=0x14,_0x17f9d8=0xc8,_0x1f84c0=0x4,_0x30bc6f=0x5;function _0x9b6f3f(_0x4cac28,_0x4e4dcc){const _0x468bf4=_0x3a3b32;let {radius:_0x1dad9d,width:_0x5e8bce,height:_0x8973f6}=_0x4e4dcc;_0x1dad9d=_0x1dad9d!=null?_0x1dad9d:0x0,_0x5e8bce=_0x5e8bce!=null?_0x5e8bce:0x1e,_0x8973f6=_0x8973f6!=null?_0x8973f6:0x1e;let _0x25afdb=0x0,_0x3e8a56=0x0,_0x4d1d89=0x0;_0x25afdb=_0x3e8a56=_0x4d1d89=Math[_0x468bf4(0xf3)](_0x1dad9d,_0x5e8bce/0x2,_0x8973f6/0x2),_0x4cac28[_0x468bf4(0x2ca)](),_0x4cac28['moveTo'](_0x25afdb,0x0),_0x4cac28[_0x468bf4(0x15e)](_0x5e8bce-_0x3e8a56,0x0),_0x4cac28[_0x468bf4(0xb9)](_0x5e8bce-_0x3e8a56,_0x3e8a56,_0x3e8a56,Math['PI']*0x3/0x2,0x0,!0x1),_0x4cac28[_0x468bf4(0x15e)](_0x5e8bce,_0x8973f6-_0x4d1d89),_0x4cac28[_0x468bf4(0xb9)](_0x5e8bce-_0x4d1d89,_0x8973f6-_0x4d1d89,_0x4d1d89,0x0,Math['PI']/0x2,!0x1),_0x4cac28[_0x468bf4(0x15e)](0x0,_0x8973f6),_0x4cac28[_0x468bf4(0x15e)](0x0,_0x25afdb),_0x4cac28[_0x468bf4(0xb9)](_0x25afdb,_0x25afdb,_0x25afdb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4cac28[_0x468bf4(0x107)](),_0x4e4dcc[_0x468bf4(0x242)]&&(_0x4cac28[_0x468bf4(0x19b)](),_0x4cac28['fillStyle']=_0x4e4dcc[_0x468bf4(0x242)],_0x4e4dcc[_0x468bf4(0x21e)]==='evenodd'?_0x4cac28[_0x468bf4(0x242)](_0x468bf4(0x1b0)):_0x4cac28['fill'](),_0x4cac28[_0x468bf4(0x2da)]());}class _0x8e950f extends _0xa3a2fa[_0x3a3b32(0x24b)]{constructor(_0x5a51a5,_0xb02d5d){const _0x23980c=_0x3a3b32;super(_0x5a51a5,_0xb02d5d),_0x40a5a2(this,'color'),_0x40a5a2(this,_0x23980c(0x306)),(this[_0x23980c(0x322)]=_0xb02d5d==null?void 0x0:_0xb02d5d[_0x23980c(0x322)],this['text']=_0xb02d5d==null?void 0x0:_0xb02d5d[_0x23980c(0x306)]);}static[_0x3a3b32(0x91)](_0xe07ed0,_0x19bfb3){const _0x214ca2=_0x3a3b32,{text:_0x437213,color:_0x292c68}=_0x19bfb3;_0xe07ed0[_0x214ca2(0x19b)](),_0xe07ed0[_0x214ca2(0x187)]=_0x214ca2(0xac);const _0x313474=_0xe07ed0[_0x214ca2(0x2f8)](_0x437213)[_0x214ca2(0x182)],_0x1e4a15=Math['min'](_0x313474+0x2*_0x1f84c0,_0x17f9d8);_0x9b6f3f(_0xe07ed0,{'height':_0x12924c,'radius':0x4,'width':_0x1e4a15,'fill':_0x292c68}),_0xe07ed0[_0x214ca2(0xcf)]=_0x214ca2(0x1bf);const _0x590243=_0x1f84c0,_0x2ab53c=_0x12924c-_0x30bc6f,_0x487573=_0x17f9d8-0x2*_0x1f84c0;if(_0x313474>_0x487573){let _0x10f47b='',_0x33ca2e=0x0;for(const _0x40de6e of _0x437213){const _0x37d097=_0xe07ed0[_0x214ca2(0x2f8)](_0x40de6e)[_0x214ca2(0x182)];if(_0x33ca2e+_0x37d097<=_0x487573-_0xe07ed0[_0x214ca2(0x2f8)]('...')[_0x214ca2(0x182)])_0x10f47b+=_0x40de6e,_0x33ca2e+=_0x37d097;else{_0x10f47b+=_0x214ca2(0x2d8);break;}}_0xe07ed0[_0x214ca2(0x15c)](_0x10f47b,_0x590243,_0x2ab53c);}else _0xe07ed0[_0x214ca2(0x15c)](_0x437213,_0x590243,_0x2ab53c);_0xe07ed0['restore']();}[_0x3a3b32(0x297)](_0x1d688d){_0x8e950f['drawWith'](_0x1d688d,this);}}const _0x2c041c=_0x3a3b32(0x19e),_0xe5237b=_0x3a3b32(0x218),_0x3df2a0=_0x3a3b32(0x1a8),_0x3708e6=0x6,_0x1d03a0=1.5,_0x422cf7=0x4,_0x28741e=1.5,_0x1ec2f7=_0x3a3b32(0x2c7);class _0x2d8a56{constructor(_0x257110,_0x5da521,_0x1f14af,_0x1ad32b){const _0x4930ec=_0x3a3b32;_0x40a5a2(this,_0x4930ec(0x1c8),[]),_0x40a5a2(this,_0x4930ec(0xf1),null),_0x40a5a2(this,'_textBubble',null),_0x40a5a2(this,_0x4930ec(0x11d),null),_0x40a5a2(this,'_hideTimer',null),_0x40a5a2(this,_0x4930ec(0x137),null),(this[_0x4930ec(0x24c)]=_0x257110,this[_0x4930ec(0x146)]=_0x5da521,this[_0x4930ec(0x2ea)]=_0x1f14af,this[_0x4930ec(0x128)]=_0x1ad32b,this['_render']());}set[_0x3a3b32(0x144)](_0x2f6c43){const _0x4179ad=_0x3a3b32;_0x2f6c43?(this[_0x4179ad(0x11d)]&&this[_0x4179ad(0x11d)][_0x4179ad(0x1e3)](),this['_textBubble']&&this[_0x4179ad(0x2aa)][_0x4179ad(0x2bb)]()):(this[_0x4179ad(0x11d)]&&this['_anchorDot'][_0x4179ad(0x2bb)](),this[_0x4179ad(0x2aa)]&&this[_0x4179ad(0x2aa)][_0x4179ad(0x1e3)]());}[_0x3a3b32(0x23e)](){const _0xe3662a=_0x3a3b32;for(const _0xe1b471 of this[_0xe3662a(0x1c8)])_0xe1b471[_0xe3662a(0x23e)]();this['_textBubble']&&this[_0xe3662a(0x2aa)][_0xe3662a(0x23e)](),this[_0xe3662a(0x11d)]&&this[_0xe3662a(0x11d)][_0xe3662a(0x23e)](),this[_0xe3662a(0xf1)]&&this[_0xe3662a(0xf1)][_0xe3662a(0x23e)](),this[_0xe3662a(0x137)]&&this[_0xe3662a(0x137)]();}[_0x3a3b32(0x2f4)](){const _0x2c4f23=_0x3a3b32;var _0x113ae8;const {_docSkeleton:_0x510b1a,_document:_0x3d1749}=this,{color:_0x3c08e9,name:_0x6544f6,ranges:_0x29c5dd}=this[_0x2c4f23(0x24c)],_0x3677d8=_0x3d1749[_0x2c4f23(0x2f2)](),{docsLeft:_0x31e5f8,docsTop:_0x132dce}=_0x3677d8,_0xb43aee=new _0x45cbcb['NodePositionConvertToCursor'](_0x3677d8,_0x510b1a);for(const {startOffset:_0x1a5a20,endOffset:_0x213ee5,rangeType:_0x54e3c3,segmentId:_0x912e03,segmentPage:_0x38a3a2,collapsed:_0x42c097,isActive:_0x19fb0c}of _0x29c5dd){const _0x21b3fc=_0x510b1a['findNodePositionByCharIndex'](_0x1a5a20,!0x0,_0x912e03,_0x38a3a2);let _0x1eded7=_0x510b1a[_0x2c4f23(0x256)](_0x213ee5,!0x0,_0x912e03,_0x38a3a2);if(_0x1eded7==null&&(_0x1eded7=_0x510b1a[_0x2c4f23(0x256)](_0x213ee5-0x1,!0x1,_0x912e03,_0x38a3a2)),_0x19fb0c){const {contentBoxPointGroup:_0x547443}=_0xb43aee[_0x2c4f23(0x113)](_0x1eded7,_0x1eded7);if(_0x547443[_0x2c4f23(0xb3)]===0x0)continue;this['_drawAnchor'](_0x3c08e9,_0x547443,_0x31e5f8,_0x132dce,_0x6544f6),this[_0x2c4f23(0x137)]=this[_0x2c4f23(0x127)]();}if(_0x21b3fc&&_0x1eded7){if(_0x54e3c3===_0x5cc899[_0x2c4f23(0x30a)]['RECT']){const _0x426b5d=new _0x45cbcb[(_0x2c4f23(0x2e0))](_0x3677d8,_0x510b1a),{pointGroup:_0x578a6e}=(_0x113ae8=_0x426b5d[_0x2c4f23(0x113)](_0x21b3fc,_0x1eded7))!=null?_0x113ae8:{};if(_0x578a6e==null||_0x578a6e[_0x2c4f23(0xb3)]===0x0)continue;this[_0x2c4f23(0xea)](_0x3c08e9,_0x578a6e,_0x31e5f8,_0x132dce);}else{if(!_0x42c097){const {borderBoxPointGroup:_0x3cb47f}=_0xb43aee[_0x2c4f23(0x113)](_0x21b3fc,_0x1eded7);if(_0x3cb47f[_0x2c4f23(0xb3)]===0x0)continue;this[_0x2c4f23(0x2fb)](_0x3c08e9,_0x3cb47f,_0x31e5f8,_0x132dce);}}}}}[_0x3a3b32(0xd8)](_0x3b2404,_0x535d03,_0x1c2eaf,_0x3437dd,_0x4fab16){const _0x5f086=_0x3a3b32,_0x259221=this[_0x5f086(0x2c4)](_0x535d03),{left:_0x1b13ac,top:_0x495007,height:_0x77ef3c}=_0x259221,_0x46cbfc=this[_0x5f086(0x11c)](),_0x4a6391=_0x28741e/_0x46cbfc,_0x34222b=new _0xa3a2fa[(_0x5f086(0x2b9))](_0x2c041c+_0x5cc899[_0x5f086(0xa7)][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd,'height':_0x77ef3c,'width':_0x1d03a0,'fill':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899['COLORS']['black'],0x0),'strokeWidth':_0x4a6391,'stroke':_0x1ec2f7,'evented':!0x0});this[_0x5f086(0xf1)]=_0x34222b,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x34222b,_0x45cbcb[_0x5f086(0x14d)]);const _0x40dbbe=new _0xa3a2fa[(_0x5f086(0x2b9))](_0x2c041c+_0x5cc899['Tools'][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd-_0x422cf7/0x2,'height':_0x422cf7,'width':_0x422cf7,'fill':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899['COLORS'][_0x5f086(0xdf)],0x0),'strokeWidth':0x0,'stroke':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899[_0x5f086(0x111)][_0x5f086(0xdf)],0x0),'evented':!0x1});this['_anchorDot']=_0x40dbbe,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x40dbbe,_0x45cbcb[_0x5f086(0x14d)]);const _0x40249a=new _0x8e950f(_0x2c041c+_0x5cc899['Tools'][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd-_0x12924c,'text':_0x4fab16,'color':_0x3b2404});this[_0x5f086(0x2aa)]=_0x40249a,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x40249a,_0x45cbcb['TEXT_RANGE_LAYER_INDEX']),this[_0x5f086(0x144)]=!0x1;}['_handleHover'](){const _0x2da48e=_0x3a3b32,_0x5829fa=this[_0x2da48e(0xf1)][_0x2da48e(0x16c)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5db813=this['_anchor'][_0x2da48e(0x18c)][_0x2da48e(0x2a7)](()=>{const _0x21f492=_0x2da48e;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x21f492(0xe0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x34780b=_0x2da48e;_0x5829fa['unsubscribe'](),_0x5db813[_0x34780b(0xe6)]();};}[_0x3a3b32(0x2fb)](_0x4bc11e,_0x42b435,_0x8a6917,_0x36fba1){const _0x21809e=_0x3a3b32,_0x14a197=new _0x5cc899[(_0x21809e(0x1e2))](_0x4bc11e)[_0x21809e(0x20a)](0.2)['toRgbString'](),_0x571b5c=new _0xa3a2fa['RegularPolygon'](_0xe5237b+_0x5cc899[_0x21809e(0xa7)][_0x21809e(0x2cc)](_0x3708e6),{'pointsGroup':_0x42b435,'fill':_0x14a197||_0xa3a2fa[_0x21809e(0x117)](_0x5cc899[_0x21809e(0x111)]['black'],0.2),'left':_0x8a6917,'top':_0x36fba1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21809e(0x1c8)][_0x21809e(0x2f9)](_0x571b5c),this[_0x21809e(0x146)]['addObject'](_0x571b5c,_0x45cbcb[_0x21809e(0x14d)]);}[_0x3a3b32(0xea)](_0x4e56d3,_0x250033,_0x2dfb85,_0x2f160b){const _0x6935a5=_0x3a3b32,_0x127705=new _0x5cc899[(_0x6935a5(0x1e2))](_0x4e56d3)[_0x6935a5(0x20a)](0.2)['toRgbString'](),_0x499c68=new _0xa3a2fa['RegularPolygon'](_0x3df2a0+_0x5cc899[_0x6935a5(0xa7)][_0x6935a5(0x2cc)](_0x3708e6),{'pointsGroup':_0x250033,'fill':_0x127705||_0xa3a2fa[_0x6935a5(0x117)](_0x5cc899[_0x6935a5(0x111)][_0x6935a5(0xdf)],0.2),'left':_0x2dfb85,'top':_0x2f160b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6935a5(0x1c8)]['push'](_0x499c68),this[_0x6935a5(0x146)]['addObject'](_0x499c68,_0x45cbcb[_0x6935a5(0x14d)]);}[_0x3a3b32(0x2c4)](_0x5d7845){const _0x448e21=_0x5d7845[0x0],_0x52d1c6=_0x448e21[0x0],_0x44f6d6=_0x448e21[0x2],{x:_0x39af5b,y:_0x26ce46}=_0x52d1c6,{x:_0x420771,y:_0x2a1e6b}=_0x44f6d6;return{'left':_0x39af5b,'top':_0x26ce46,'width':_0x420771-_0x39af5b,'height':_0x2a1e6b-_0x26ce46};}[_0x3a3b32(0x11c)](){const _0x1e6410=_0x3a3b32,{scaleX:_0x5e221c,scaleY:_0x34616d}=this[_0x1e6410(0x146)]['getAncestorScale']();return Math[_0x1e6410(0x2b1)](_0x5e221c,_0x34616d);}}var _0x64439c=Object[_0x3a3b32(0x26d)],_0xfe4265=(_0x47ff78,_0x37d6b4,_0x11e3df,_0x92bfcf)=>{const _0x1f6b13=_0x3a3b32;for(var _0x8b2618=_0x92bfcf>0x1?void 0x0:_0x92bfcf?_0x64439c(_0x37d6b4,_0x11e3df):_0x37d6b4,_0x4fbee8=_0x47ff78[_0x1f6b13(0xb3)]-0x1,_0x3b1bba;_0x4fbee8>=0x0;_0x4fbee8--)(_0x3b1bba=_0x47ff78[_0x4fbee8])&&(_0x8b2618=_0x3b1bba(_0x8b2618)||_0x8b2618);return _0x8b2618;},_0x2f1100=(_0x43afb5,_0x4cc7ec)=>(_0x46ad83,_0x4f77b8)=>_0x4cc7ec(_0x46ad83,_0x4f77b8,_0x43afb5);let _0xf4fa45=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x2229cf,_0x105067,_0x2d3ef1,_0xba3ee2,_0x432384){const _0x270235=_0x3a3b32;super(),_0x40a5a2(this,'_cursorShapes',[]),_0x40a5a2(this,_0x270235(0x102),[]),(this['_context']=_0x2229cf,this[_0x270235(0x180)]=_0x105067,this['_collabCursorController']=_0x2d3ef1,this[_0x270235(0x25d)]=_0xba3ee2,this[_0x270235(0x274)]=_0x432384,this['_init']());}[_0x3a3b32(0xa2)](){const _0x190cea=_0x3a3b32,_0x105820=this[_0x190cea(0x2a9)][_0x190cea(0x196)],_0x28db7c=this[_0x190cea(0x180)];this['disposeWithMe'](_0x16a76f['combineLatest']([this['_collabCursorController'][_0x190cea(0x300)](_0x105820),this[_0x190cea(0x274)][_0x190cea(0x2a0)]])[_0x190cea(0x9a)](_0x4faa9f[_0x190cea(0x12b)](([_0x1ac27b,_0x552193])=>({'skeleton':_0x28db7c[_0x190cea(0x8c)](),'cursors':[..._0x1ac27b['values']()][_0x190cea(0xb2)](_0x469376=>({..._0x469376,'color':this[_0x190cea(0x274)][_0x190cea(0x2f3)](_0x469376[_0x190cea(0x322)])}))})))['subscribe'](_0x1f9af0=>{const _0x3aa297=_0x190cea;if(this[_0x3aa297(0xfd)](),_0x1f9af0){const {skeleton:_0x4b26e7,cursors:_0xe74974}=_0x1f9af0;this[_0x3aa297(0xe9)](_0x4b26e7,_0xe74974);}})),this[_0x190cea(0x27e)](),this[_0x190cea(0x17d)]();}['_updateCollabCursors'](_0x2942dd,_0x132090){const _0x4f7f4b=_0x3a3b32,{scene:_0x2dcf0e,mainComponent:_0x1ee2ce}=this[_0x4f7f4b(0x2a9)],_0x105b49=_0x132090[_0x4f7f4b(0x12b)](_0x58eccd=>new _0x2d8a56(_0x58eccd,_0x2dcf0e,_0x2942dd,_0x1ee2ce));this['_cursorShapes']=_0x105b49,this[_0x4f7f4b(0x102)]=_0x132090;}[_0x3a3b32(0x2e3)](){const _0x5dab5f=_0x3a3b32;this[_0x5dab5f(0xfd)]();const {scene:_0x30c4ce,mainComponent:_0x2ec19d}=this[_0x5dab5f(0x2a9)],_0x58fcc1=this['_docSkeletonManagerService'][_0x5dab5f(0x8c)](),_0x47f39c=this[_0x5dab5f(0x102)][_0x5dab5f(0x12b)](_0x126425=>new _0x2d8a56(_0x126425,_0x30c4ce,_0x58fcc1,_0x2ec19d));this[_0x5dab5f(0x22f)]=_0x47f39c;}[_0x3a3b32(0xfd)](){const _0x1c59c5=_0x3a3b32;this['_cursorShapes'][_0x1c59c5(0x291)](_0xa7b94a=>_0xa7b94a[_0x1c59c5(0x23e)]()),this[_0x1c59c5(0x22f)]=[];}['_initCommandExecutedListener'](){const _0x3bd91d=_0x3a3b32,_0x11c9e7=[_0x45cbcb[_0x3bd91d(0x150)]['id']];this[_0x3bd91d(0x16f)](this[_0x3bd91d(0x25d)][_0x3bd91d(0x1b1)](_0x2c6326=>{const _0x1ac741=_0x3bd91d;_0x11c9e7['includes'](_0x2c6326['id'])&&_0x2c6326[_0x1ac741(0x323)][_0x1ac741(0x196)]===this[_0x1ac741(0x2a9)][_0x1ac741(0x196)]&&this[_0x1ac741(0x2e3)]();}));}[_0x3a3b32(0x27e)](){const _0x2ef1b0=_0x3a3b32;this[_0x2ef1b0(0x16f)](_0x5cc899['fromEventSubject'](this[_0x2ef1b0(0x2a9)]['engine'][_0x2ef1b0(0xad)])['pipe'](_0x4faa9f[_0x2ef1b0(0xe8)](_0x135092=>_0x135092[_0x2ef1b0(0x189)]===_0xa3a2fa[_0x2ef1b0(0x28b)][_0x2ef1b0(0x163)]),_0x4faa9f[_0x2ef1b0(0x2cf)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0xf4fa45=_0xfe4265([_0x2f1100(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0xcf3dad[_0x3a3b32(0xbf)])),_0x2f1100(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x6e1b81)),_0x2f1100(0x3,_0x5cc899[_0x3a3b32(0x234)]),_0x2f1100(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x99)]))],_0xf4fa45);const _0x475930=0x1,_0x53128f=1.5;class _0x56e01b extends _0xa3a2fa[_0x3a3b32(0x24b)]{constructor(_0x156d1f,_0x426cc5){const _0x50e81c=_0x3a3b32;super(_0x156d1f,_0x426cc5),_0x40a5a2(this,_0x50e81c(0x15b)),_0x40a5a2(this,_0x50e81c(0x167),!0x1),_0x40a5a2(this,'_range'),_0x40a5a2(this,_0x50e81c(0x21c),''),_0x40a5a2(this,'_labelPosition',_0x50e81c(0x97)),_0x40a5a2(this,_0x50e81c(0x104)),(_0x426cc5&&this[_0x50e81c(0x1b9)](_0x426cc5),this[_0x50e81c(0x16c)][_0x50e81c(0x2a7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x50e81c(0x18c)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3f8959){const _0x2b7240=_0x3a3b32;var _0x5ad2cc,_0x4642fd,_0xda2cf2,_0x319410,_0x1ff739,_0x5cb3ec;this[_0x2b7240(0x15b)]=(_0x5ad2cc=_0x3f8959['color'])!=null?_0x5ad2cc:this['_color'],this['_hovered']=(_0x4642fd=_0x3f8959[_0x2b7240(0x317)])!=null?_0x4642fd:this[_0x2b7240(0x167)],this[_0x2b7240(0x265)]=(_0xda2cf2=_0x3f8959[_0x2b7240(0x2d7)])!=null?_0xda2cf2:this[_0x2b7240(0x265)],this[_0x2b7240(0x21c)]=(_0x319410=_0x3f8959[_0x2b7240(0x17f)])!=null?_0x319410:this[_0x2b7240(0x21c)],this['_labelPosition']=(_0x1ff739=_0x3f8959[_0x2b7240(0x1df)])!=null?_0x1ff739:this[_0x2b7240(0xc2)],this[_0x2b7240(0x104)]=(_0x5cb3ec=_0x3f8959[_0x2b7240(0x1f6)])!=null?_0x5cb3ec:this[_0x2b7240(0x104)],this['transformByState']({'width':_0x3f8959[_0x2b7240(0x182)],'height':_0x3f8959[_0x2b7240(0x29d)]});}[_0x3a3b32(0xeb)](_0x21dfa8){const _0x27c551=_0x3a3b32,{row:_0x1b287c,column:_0xa6767d}=_0x21dfa8;if(_0x1b287c>=this[_0x27c551(0x265)][_0x27c551(0x2ad)]&&_0x1b287c<=this[_0x27c551(0x265)][_0x27c551(0x161)]&&_0xa6767d>=this[_0x27c551(0x265)][_0x27c551(0x198)]&&_0xa6767d<=this[_0x27c551(0x265)]['endColumn']){this[_0x27c551(0x1b9)]({'hovered':!0x0});return;}this[_0x27c551(0x1b9)]({'hovered':!0x1});}[_0x3a3b32(0x26a)](_0x4f31be){return!0x1;}[_0x3a3b32(0x297)](_0x4ab01f){const _0x17e4f2=_0x3a3b32;_0xa3a2fa[_0x17e4f2(0x2b9)][_0x17e4f2(0x91)](_0x4ab01f,{'width':this['width'],'height':this[_0x17e4f2(0x29d)],'strokeWidth':_0x53128f,'stroke':this[_0x17e4f2(0x15b)],'evented':!0x1,'fill':this[_0x17e4f2(0x104)]}),this['_hovered']&&(_0x4ab01f['save'](),_0x4ab01f['transform'](0x1,0x0,0x0,0x1,this[_0x17e4f2(0x182)],this[_0x17e4f2(0xc2)]===_0x17e4f2(0x243)?0x0:-0x14),_0x8e950f[_0x17e4f2(0x91)](_0x4ab01f,{'text':this[_0x17e4f2(0x21c)],'color':this['_color']}),_0x4ab01f['restore']());}}var _0x5aea8b=Object[_0x3a3b32(0x26d)],_0x1588dd=(_0xf4ae6b,_0x89f5ea,_0x332759,_0xf21b41)=>{for(var _0x54d659=_0xf21b41>0x1?void 0x0:_0xf21b41?_0x5aea8b(_0x89f5ea,_0x332759):_0x89f5ea,_0x5019b9=_0xf4ae6b['length']-0x1,_0xb8782b;_0x5019b9>=0x0;_0x5019b9--)(_0xb8782b=_0xf4ae6b[_0x5019b9])&&(_0x54d659=_0xb8782b(_0x54d659)||_0x54d659);return _0x54d659;},_0x5c12a6=(_0x536a2c,_0x3bf151)=>(_0x1538f1,_0x69af51)=>_0x3bf151(_0x1538f1,_0x69af51,_0x536a2c);const _0x171475=0x1389;let _0x97462d=class extends _0x5cc899['RxDisposable']{constructor(_0x12daa0,_0x603473,_0x20e263,_0x58d934){const _0x3b6099=_0x3a3b32;super(),_0x40a5a2(this,_0x3b6099(0x102),new Set()),_0x40a5a2(this,_0x3b6099(0x2ec),null),(this['_context']=_0x12daa0,this[_0x3b6099(0x2c1)]=_0x603473,this['_collabCursorController']=_0x20e263,this[_0x3b6099(0x274)]=_0x58d934,this[_0x3b6099(0xa2)]());}[_0x3a3b32(0xa2)](){const _0x5eb629=_0x3a3b32;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5eb629(0x9a)](_0x4faa9f['takeUntil'](this[_0x5eb629(0x27c)]),_0x4faa9f[_0x5eb629(0x210)](_0x2043c6=>{const _0x466ee6=_0x5eb629;if(_0x2043c6){const _0x505553=_0x2043c6[_0x466ee6(0x273)];return _0x16a76f[_0x466ee6(0x24a)](this[_0x466ee6(0x2a8)][_0x466ee6(0x300)](this[_0x466ee6(0x2a9)][_0x466ee6(0x196)]),this[_0x466ee6(0x274)][_0x466ee6(0x2a0)])[_0x466ee6(0x9a)](_0x4faa9f['map'](([_0x418e75,_0x5aee82])=>{const _0x31b75a=_0x466ee6,_0x590072=new Map();return _0x418e75[_0x31b75a(0x291)]((_0x484aba,_0x12d758)=>{const _0xc716aa=_0x31b75a;if(_0x484aba[_0xc716aa(0x31a)]===_0x505553){const _0x184809={..._0x484aba};_0x184809[_0xc716aa(0x322)]=this[_0xc716aa(0x274)][_0xc716aa(0x2f3)](_0x484aba[_0xc716aa(0x322)]),_0x590072[_0xc716aa(0x194)](_0x12d758,_0x184809);}}),{'skeleton':_0x2043c6,'cursors':_0x590072};}));}return _0x16a76f['of']({'skeleton':null,'cursors':new Map()});}))[_0x5eb629(0x239)](({skeleton:_0x382af1,cursors:_0x935136})=>{const _0x1a8151=_0x5eb629;this[_0x1a8151(0xfd)](),_0x382af1&&this[_0x1a8151(0xe9)](_0x382af1,_0x935136);}),this['_sheetSkeletonManagerService'][_0x5eb629(0x226)][_0x5eb629(0x239)](_0x150d28=>{const _0x6db7cd=_0x5eb629;if(_0x150d28==null)return;const {skeleton:_0x4a8ffd}=_0x150d28,{scene:_0x371b40}=this[_0x6db7cd(0x2a9)];_0x371b40[_0x6db7cd(0x206)][_0x6db7cd(0x2a7)](_0x5cc899['debounce'](_0x599621=>{const _0x996324=_0x6db7cd;var _0x5625ac,_0x1c014f;const {offsetX:_0x22abf5,offsetY:_0xb3856b}=_0x599621,{x:_0x2d7204,y:_0x51f323}=_0x371b40['getRelativeToViewportCoord'](_0xa3a2fa[_0x996324(0x329)][_0x996324(0x23a)]([_0x22abf5,_0xb3856b])),{scaleX:_0x239703,scaleY:_0x10dec4}=_0x371b40[_0x996324(0x326)](),_0x21f29c=_0x371b40[_0x996324(0x1b5)](_0xa3a2fa[_0x996324(0x249)]['VIEW_MAIN']),_0x526a2a=_0x371b40['getVpScrollXYInfoByPosToVp'](_0xa3a2fa['Vector2'][_0x996324(0x23a)]([_0x2d7204,_0x51f323]),_0x21f29c),_0x4ad5b8=_0x4a8ffd['getCellPositionByOffset'](_0x22abf5,_0xb3856b,_0x239703,_0x10dec4,_0x526a2a);((_0x5625ac=this[_0x996324(0x2ec)])==null?void 0x0:_0x5625ac[_0x996324(0xd7)])===_0x4ad5b8[_0x996324(0xd7)]&&((_0x1c014f=this[_0x996324(0x2ec)])==null?void 0x0:_0x1c014f[_0x996324(0x10b)])===_0x4ad5b8[_0x996324(0x10b)]||this[_0x996324(0x102)][_0x996324(0x291)](_0x349d88=>{const _0x59d20a=_0x996324;_0x349d88[_0x59d20a(0xeb)](_0x4ad5b8);});},0x64));});}[_0x3a3b32(0xe9)](_0x14487c,_0x4bfb50){const _0x3d9ec1=_0x3a3b32;var _0x3e02c7;const _0xcd2d9=(_0x3e02c7=this[_0x3d9ec1(0x2c1)][_0x3d9ec1(0xa3)]())==null?void 0x0:_0x3e02c7[_0x3d9ec1(0x1b8)];if(!_0xcd2d9)return;const _0x1a62e7=this[_0x3d9ec1(0x2c0)]();if(!_0x1a62e7)return;this[_0x3d9ec1(0x102)][_0x3d9ec1(0x291)](_0x28dcd1=>{const _0x4dc331=_0x3d9ec1;_0x28dcd1[_0x4dc331(0x2a5)]();});const {scene:_0x1a0872}=_0x1a62e7,_0x339933=_0x5b2943(Array[_0x3d9ec1(0x195)](_0x4bfb50[_0x3d9ec1(0x278)]()))[_0x3d9ec1(0x12b)](_0x40a4c3=>{const _0x19cc85=_0x3d9ec1,{color:_0x4214ac,range:_0x3c543b,name:_0x582931,selection:_0x5bf3e3,sheetID:_0x3d1903}=_0x40a4c3,{startColumn:_0xec1b32,startRow:_0x4789bc,endColumn:_0x491412,endRow:_0x5c0101}=_0x3c543b,_0x481a72=_0x19b11c[_0x19cc85(0x1c1)](_0x4789bc,_0xec1b32,_0x1a0872,_0xcd2d9),_0x2d7340=_0x19b11c[_0x19cc85(0x1c1)](_0x5c0101,_0x491412,_0x1a0872,_0xcd2d9),{columnHeaderHeightAndMarginTop:_0x1317b0}=_0xcd2d9,{startX:_0x2c37a9,startY:_0x1a9a89}=_0x481a72,{endX:_0x452ba2,endY:_0x1bfb7d}=_0x2d7340,_0x44a0d9=_0x452ba2-_0x2c37a9,_0x79e548=_0x1bfb7d-_0x1a9a89,_0x151f8c={'labelPosition':_0x1a9a89-_0x1317b0>=_0x12924c?'top':_0x19cc85(0x243),'sheetID':_0x3d1903,'range':_0x3c543b,'color':_0x4214ac,'name':_0x582931,'selection':_0x5bf3e3,'left':_0x2c37a9,'top':_0x1a9a89,'width':_0x44a0d9,'height':_0x79e548,'evented':!0x1,'zIndex':_0x171475};return new _0x56e01b(_0x582931,_0x151f8c);});_0x1a0872[_0x3d9ec1(0x156)](_0x339933,_0x475930),this[_0x3d9ec1(0x102)]=new Set(_0x339933);}[_0x3a3b32(0xfd)](){var _0x149883;(_0x149883=this['_cursors'])==null||_0x149883['forEach'](_0x57a9a6=>_0x57a9a6['dispose']());}[_0x3a3b32(0x2c0)](){const _0x37f083=_0x3a3b32;return _0x19b11c[_0x37f083(0x2b6)](this[_0x37f083(0x2a9)][_0x37f083(0x139)],this[_0x37f083(0x2a9)]);}};_0x97462d=_0x1588dd([_0x5c12a6(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x19b11c[_0x3a3b32(0x1be)])),_0x5c12a6(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x6e1b81)),_0x5c12a6(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x99)]))],_0x97462d);function _0x5b2943(_0x87b8e4){const _0x38e05b=_0x3a3b32,_0x18a82a=new Map();return _0x87b8e4[_0x38e05b(0x291)](_0x147ae6=>{const _0xc7b95c=_0x38e05b;if(_0x18a82a[_0xc7b95c(0xd6)](_0x147ae6[_0xc7b95c(0x18f)])){const _0x4ff7be=_0x18a82a['get'](_0x147ae6['selection']);_0x4ff7be[_0xc7b95c(0x17f)]+=',\x20'+_0x147ae6[_0xc7b95c(0x17f)];}else _0x18a82a[_0xc7b95c(0x194)](_0x147ae6['selection'],_0x147ae6);}),Array[_0x38e05b(0x195)](_0x18a82a[_0x38e05b(0x278)]());}var _0x3d0ea2=function(){const _0x1b9865=_0x3a3b32;return _0x3d0ea2=Object[_0x1b9865(0x204)]||function(_0x11b8e4){const _0x23127a=_0x1b9865;for(var _0x487361,_0x25a332=0x1,_0x1702b3=arguments[_0x23127a(0xb3)];_0x25a332<_0x1702b3;_0x25a332++){_0x487361=arguments[_0x25a332];for(var _0x5c3dc0 in _0x487361)Object[_0x23127a(0x286)]['hasOwnProperty'][_0x23127a(0x1f1)](_0x487361,_0x5c3dc0)&&(_0x11b8e4[_0x5c3dc0]=_0x487361[_0x5c3dc0]);}return _0x11b8e4;},_0x3d0ea2[_0x1b9865(0x178)](this,arguments);},_0x2583e4=function(_0x59dc7e,_0x22621d){const _0x276a15=_0x3a3b32;var _0xc24814={};for(var _0x1b979e in _0x59dc7e)Object['prototype'][_0x276a15(0x12e)][_0x276a15(0x1f1)](_0x59dc7e,_0x1b979e)&&_0x22621d[_0x276a15(0xfc)](_0x1b979e)<0x0&&(_0xc24814[_0x1b979e]=_0x59dc7e[_0x1b979e]);if(_0x59dc7e!=null&&typeof Object[_0x276a15(0x19c)]=='function'){for(var _0x581475=0x0,_0x1b979e=Object['getOwnPropertySymbols'](_0x59dc7e);_0x581475<_0x1b979e[_0x276a15(0xb3)];_0x581475++)_0x22621d[_0x276a15(0xfc)](_0x1b979e[_0x581475])<0x0&&Object[_0x276a15(0x286)][_0x276a15(0x230)]['call'](_0x59dc7e,_0x1b979e[_0x581475])&&(_0xc24814[_0x1b979e[_0x581475]]=_0x59dc7e[_0x1b979e[_0x581475]]);}return _0xc24814;},_0x5183b0=_0x4d5c38['forwardRef'](function(_0x5639fc,_0x552697){const _0x1ec921=_0x3a3b32;var _0x154493=_0x5639fc[_0x1ec921(0xe5)],_0x18ec9a=_0x5639fc['id'],_0x43cdb9=_0x5639fc[_0x1ec921(0x1f3)],_0x2c537f=_0x5639fc[_0x1ec921(0x1d0)],_0x44d4cc=_0x2583e4(_0x5639fc,[_0x1ec921(0xe5),'id',_0x1ec921(0x1f3),_0x1ec921(0x1d0)]),_0x20edf0=_0x1ec921(0x133)[_0x1ec921(0x24f)](_0x18ec9a,'\x20')[_0x1ec921(0x24f)](_0x43cdb9||'')[_0x1ec921(0xf8)](),_0xfe947b=_0x4d5c38[_0x1ec921(0x121)]('_'[_0x1ec921(0x24f)](_0x3fd373()));return _0xdd1f99(_0x154493,''[_0x1ec921(0x24f)](_0x18ec9a),{'defIds':_0x154493[_0x1ec921(0xab)],'idSuffix':_0xfe947b[_0x1ec921(0x148)]},_0x3d0ea2({'ref':_0x552697,'className':_0x20edf0},_0x44d4cc),_0x2c537f);});function _0xdd1f99(_0x110c4f,_0x405994,_0x284ce6,_0x3b6fc4,_0x417d1c){const _0x3825a0=_0x3a3b32;return _0x4d5c38[_0x3825a0(0x241)](_0x110c4f[_0x3825a0(0x303)],_0x3d0ea2(_0x3d0ea2({'key':_0x405994},_0x145756(_0x110c4f,_0x284ce6,_0x417d1c)),_0x3b6fc4),(_0x3ac0ea(_0x110c4f,_0x284ce6)[_0x3825a0(0x25e)]||[])[_0x3825a0(0x12b)](function(_0x4dc577,_0x289810){const _0x2e9bbc=_0x3825a0;return _0xdd1f99(_0x4dc577,''[_0x2e9bbc(0x24f)](_0x405994,'-')[_0x2e9bbc(0x24f)](_0x110c4f[_0x2e9bbc(0x303)],'-')[_0x2e9bbc(0x24f)](_0x289810),_0x284ce6,void 0x0,_0x417d1c);}));}function _0x145756(_0x2d3682,_0x176a9b,_0x502249){const _0x46bf5b=_0x3a3b32;var _0x284215=_0x3d0ea2({},_0x2d3682[_0x46bf5b(0x183)]);_0x502249!=null&&_0x502249['colorChannel1']&&_0x284215[_0x46bf5b(0x242)]===_0x46bf5b(0x254)&&(_0x284215[_0x46bf5b(0x242)]=_0x502249[_0x46bf5b(0x254)]),_0x2d3682[_0x46bf5b(0x303)]==='mask'&&_0x284215['id']&&(_0x284215['id']=_0x284215['id']+_0x176a9b[_0x46bf5b(0xcd)]),Object[_0x46bf5b(0x11f)](_0x284215)[_0x46bf5b(0x291)](function(_0x4f68ec){const _0x1ced81=_0x46bf5b;var _0x2fc673=_0x4f68ec[0x0],_0x77774f=_0x4f68ec[0x1];_0x2fc673===_0x1ced81(0xb6)&&typeof _0x77774f=='string'&&(_0x284215[_0x2fc673]=_0x77774f[_0x1ced81(0x215)](/url\(#(.*)\)/,_0x1ced81(0xbb)['concat'](_0x176a9b[_0x1ced81(0xcd)],')')));});var _0x3cf53d=_0x176a9b['defIds'];return!_0x3cf53d||_0x3cf53d[_0x46bf5b(0xb3)]===0x0||(_0x2d3682['tag']===_0x46bf5b(0x1cb)&&_0x284215['xlink:href']&&(_0x284215[_0x46bf5b(0x2c9)]=_0x284215[_0x46bf5b(0x2c9)]+_0x176a9b[_0x46bf5b(0xcd)]),Object[_0x46bf5b(0x11f)](_0x284215)[_0x46bf5b(0x291)](function(_0x53736c){const _0x2d99ed=_0x46bf5b;var _0x188a26=_0x53736c[0x0],_0x5cc525=_0x53736c[0x1];typeof _0x5cc525==_0x2d99ed(0x21a)&&(_0x284215[_0x188a26]=_0x5cc525[_0x2d99ed(0x215)](/url\(#(.*)\)/,_0x2d99ed(0xbb)[_0x2d99ed(0x24f)](_0x176a9b['idSuffix'],')')));})),_0x284215;}function _0x3ac0ea(_0x3a2995,_0x57f661){const _0x376b4d=_0x3a3b32;var _0xcd4fb2,_0x43b9aa=_0x57f661['defIds'];return!_0x43b9aa||_0x43b9aa[_0x376b4d(0xb3)]===0x0?_0x3a2995:_0x3a2995[_0x376b4d(0x303)]===_0x376b4d(0xa0)&&(!((_0xcd4fb2=_0x3a2995['children'])===null||_0xcd4fb2===void 0x0)&&_0xcd4fb2['length'])?_0x3d0ea2(_0x3d0ea2({},_0x3a2995),{'children':_0x3a2995[_0x376b4d(0x25e)][_0x376b4d(0x12b)](function(_0x50d287){const _0x12a762=_0x376b4d;return typeof _0x50d287[_0x12a762(0x183)]['id']==_0x12a762(0x21a)&&_0x43b9aa&&_0x43b9aa[_0x12a762(0x2a2)](_0x50d287[_0x12a762(0x183)]['id'])?_0x3d0ea2(_0x3d0ea2({},_0x50d287),{'attrs':_0x3d0ea2(_0x3d0ea2({},_0x50d287[_0x12a762(0x183)]),{'id':_0x50d287[_0x12a762(0x183)]['id']+_0x57f661['idSuffix']})}):_0x50d287;})}):_0x3a2995;}function _0x3fd373(){const _0x412be6=_0x3a3b32;return Math['random']()[_0x412be6(0x8e)](0x24)['substring'](0x2,0x8);}_0x5183b0[_0x3a3b32(0x1ba)]=_0x3a3b32(0xfa);var _0x2dd86c={'tag':_0x3a3b32(0x8f),'attrs':{'xmlns':_0x3a3b32(0x217),'fill':'none','viewBox':_0x3a3b32(0x1c3),'width':_0x3a3b32(0x2e4),'height':_0x3a3b32(0x2e4)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3b32(0x219)},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'stroke':'currentColor','d':_0x3a3b32(0x2c8),'strokeLinecap':'round','strokeLinejoin':_0x3a3b32(0x324),'strokeWidth':1.2}}]},{'tag':_0x3a3b32(0xa0),'attrs':{},'children':[{'tag':_0x3a3b32(0xa5),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'fill':_0x3a3b32(0x1ef),'d':_0x3a3b32(0x1a7)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2dd16e=_0x4d5c38['forwardRef'](function(_0x2127be,_0x2d9598){const _0x562d04=_0x3a3b32;return _0x4d5c38[_0x562d04(0x241)](_0x5183b0,Object[_0x562d04(0x204)]({},_0x2127be,{'id':_0x562d04(0x298),'ref':_0x2d9598,'icon':_0x2dd86c}));});_0x2dd16e[_0x3a3b32(0x1ba)]=_0x3a3b32(0x213);var _0x1d73c4={'tag':_0x3a3b32(0x8f),'attrs':{'xmlns':_0x3a3b32(0x217),'fill':'none','viewBox':_0x3a3b32(0x307),'width':'1em','height':_0x3a3b32(0x2e4)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3b32(0x1c9)},'children':[{'tag':'path','attrs':{'stroke':_0x3a3b32(0x129),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x3a3b32(0x324),'strokeWidth':1.2}}]},{'tag':_0x3a3b32(0xa0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'fill':_0x3a3b32(0x1ef),'d':_0x3a3b32(0x1a7),'transform':_0x3a3b32(0x32b)}}]}]}],'defIds':[_0x3a3b32(0x1cd)]},_0x15cc13=_0x4d5c38[_0x3a3b32(0xb4)](function(_0x1a8e89,_0x3009df){const _0x10b07f=_0x3a3b32;return _0x4d5c38['createElement'](_0x5183b0,Object[_0x10b07f(0x204)]({},_0x1a8e89,{'id':_0x10b07f(0x112),'ref':_0x3009df,'icon':_0x1d73c4}));});_0x15cc13[_0x3a3b32(0x1ba)]=_0x3a3b32(0x1e5);function _0x1d2708(_0x3b4ffa){const _0x268631=_0x3a3b32;switch(_0x3b4ffa){case _0x56139f['CollaborationStatus'][_0x268631(0x24e)]:return'collabStatus.offline';case _0x56139f[_0x268631(0x197)][_0x268631(0x15d)]:return _0x268631(0x302);case _0x56139f[_0x268631(0x197)][_0x268631(0x30e)]:return _0x268631(0x9b);case _0x56139f[_0x268631(0x197)][_0x268631(0x201)]:return _0x268631(0x1f7);case _0x56139f[_0x268631(0x197)][_0x268631(0x2e9)]:case _0x56139f[_0x268631(0x197)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x56139f[_0x268631(0x197)][_0x268631(0x1a9)]:case _0x56139f[_0x268631(0x197)]['PENDING']:return _0x268631(0x25c);}}function _0x2cfcc7(_0x11689e){const _0xbadc14=_0x3a3b32,{status$:_0x109b7c}=_0x11689e,_0x2250d1=_0x218fbf[_0xbadc14(0x16b)](_0x109b7c,_0x56139f[_0xbadc14(0x197)][_0xbadc14(0x201)]),_0x5073d5=_0x218fbf[_0xbadc14(0x2cb)](_0x5cc899[_0xbadc14(0x268)]),_0x5ea54a=_0x218fbf[_0xbadc14(0x2cb)](_0x56139f[_0xbadc14(0x23f)]),_0x44f995=_0x2250d1!==_0x56139f[_0xbadc14(0x197)][_0xbadc14(0x24e)],_0x1e60db=_0x5073d5['t'](_0x1d2708(_0x2250d1)),_0xebafea=_0x44f995?_0x73eb1b[_0xbadc14(0xa6)](_0x15cc13,{}):_0x73eb1b['jsx'](_0x2dd16e,{}),_0x16ed70=_0x4d5c38['useCallback'](()=>{const _0x2ee28d=_0xbadc14;_0x44f995||_0x5ea54a[_0x2ee28d(0x160)]();},[_0x44f995,_0x5ea54a]);function _0x384662(){const _0x581d84=_0xbadc14;return _0x73eb1b[_0x581d84(0x165)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x16ed70,'children':[_0x73eb1b['jsx'](_0x581d84(0x2c3),{'className':_0x3b992f[_0x581d84(0x17e)](_0x581d84(0x18d),{'univer-text-green-500':_0x44f995,'univer-text-red-500':!_0x44f995}),'children':_0xebafea}),_0x73eb1b[_0x581d84(0xa6)](_0x581d84(0x2c3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1e60db})]});}return _0x44f995?_0x384662():_0x73eb1b[_0xbadc14(0xa6)](_0x3b992f[_0xbadc14(0x11a)],{'title':_0x5073d5['t']('collab-client.tooltip.reconnect'),'children':_0x384662()});}var _0x2474bd=Object[_0x3a3b32(0x26d)],_0x2d9012=(_0x516f1d,_0xb1633d,_0x4579ba,_0x372688)=>{const _0x51bcb3=_0x3a3b32;for(var _0x56a9ce=_0x372688>0x1?void 0x0:_0x372688?_0x2474bd(_0xb1633d,_0x4579ba):_0xb1633d,_0x1bbde2=_0x516f1d[_0x51bcb3(0xb3)]-0x1,_0x20ed30;_0x1bbde2>=0x0;_0x1bbde2--)(_0x20ed30=_0x516f1d[_0x1bbde2])&&(_0x56a9ce=_0x20ed30(_0x56a9ce)||_0x56a9ce);return _0x56a9ce;},_0x32e9fa=(_0x4fc09a,_0xafa3de)=>(_0xf402b2,_0x4ae25a)=>_0xafa3de(_0xf402b2,_0x4ae25a,_0x4fc09a);_0x2bf47a[_0x3a3b32(0x2eb)]=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x2d17ac,_0x104ec3,_0x2c81fb,_0x3f287a){const _0xab8f6d=_0x3a3b32;super(),_0x40a5a2(this,'_status$',new _0x16a76f[(_0xab8f6d(0x13e))](_0x56139f['CollaborationStatus'][_0xab8f6d(0x201)])),(this[_0xab8f6d(0x30f)]=_0x2d17ac,this['_injector']=_0x104ec3,this[_0xab8f6d(0x1d8)]=_0x2c81fb,this[_0xab8f6d(0x2ab)]=_0x3f287a,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x3a3b32(0x2b3)](){const _0x1b55df=_0x3a3b32;this['disposeWithMe'](this[_0x1b55df(0x30f)][_0x1b55df(0x159)]['pipe'](_0x16a76f['switchMap'](()=>{const _0x291353=_0x1b55df,_0x4920ba=this[_0x291353(0x30f)][_0x291353(0x1fe)]();return _0x4920ba?this[_0x291353(0x1d8)][_0x291353(0x141)](_0x4920ba[_0x291353(0x30c)]()):_0x16a76f['of'](null);}),_0x16a76f['switchMap'](_0x2ce918=>_0x2ce918?_0x2ce918[_0x1b55df(0x2ba)]:_0x16a76f['of'](_0x56139f[_0x1b55df(0x197)][_0x1b55df(0x201)])))[_0x1b55df(0x239)](_0x263dee=>{const _0x4b37a7=_0x1b55df;this[_0x4b37a7(0x2b0)][_0x4b37a7(0x282)](_0x263dee);}));}[_0x3a3b32(0x31b)](){const _0x5336a9=_0x3a3b32;this[_0x5336a9(0x16f)](this[_0x5336a9(0x2ab)][_0x5336a9(0x106)](_0x218fbf[_0x5336a9(0x2b8)]['HEADER_MENU'],()=>_0x218fbf[_0x5336a9(0x271)](_0x537d23({'status$':this['_status$'][_0x5336a9(0x1ff)]()}),this['_injector'])));}},_0x2bf47a[_0x3a3b32(0x2eb)]=_0x2d9012([_0x32e9fa(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x32e9fa(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x32e9fa(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x158)])),_0x32e9fa(0x3,_0x218fbf[_0x3a3b32(0x101)])],_0x2bf47a[_0x3a3b32(0x2eb)]);function _0x537d23(_0x40624c){const {status$:_0x405d82}=_0x40624c;return function(){return _0x73eb1b['jsx'](_0x2cfcc7,{'status$':_0x405d82});};}var _0x564e58=Object[_0x3a3b32(0x26d)],_0x11bf26=(_0x2a505e,_0x7f07e0,_0x4cb76e,_0x320a42)=>{const _0x458c53=_0x3a3b32;for(var _0x4e8871=_0x320a42>0x1?void 0x0:_0x320a42?_0x564e58(_0x7f07e0,_0x4cb76e):_0x7f07e0,_0x1816f0=_0x2a505e[_0x458c53(0xb3)]-0x1,_0x5a41f0;_0x1816f0>=0x0;_0x1816f0--)(_0x5a41f0=_0x2a505e[_0x1816f0])&&(_0x4e8871=_0x5a41f0(_0x4e8871)||_0x4e8871);return _0x4e8871;},_0x538c5b=(_0x382a82,_0xd8cc0)=>(_0x232fc0,_0x2d1d98)=>_0xd8cc0(_0x232fc0,_0x2d1d98,_0x382a82);let _0x705ea4=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x29fac4,_0x28518c,_0x3ac517,_0x2a1575,_0x570f11,_0x40d312){const _0x2228ad=_0x3a3b32;super(),this[_0x2228ad(0x2df)]=_0x29fac4,this[_0x2228ad(0x13d)]=_0x28518c,this[_0x2228ad(0x2fe)]=_0x3ac517,this[_0x2228ad(0x2d0)]=_0x2a1575,this[_0x2228ad(0x295)]=_0x570f11,this[_0x2228ad(0x279)]=_0x40d312,this[_0x2228ad(0xd3)](),this[_0x2228ad(0xc7)]();}[_0x3a3b32(0xd3)](){const _0x1e8bfd=_0x3a3b32;this[_0x1e8bfd(0x16f)](this[_0x1e8bfd(0x2df)][_0x1e8bfd(0x170)](()=>{const _0x2c9f98=_0x1e8bfd;if(this[_0x2c9f98(0x13d)][_0x2c9f98(0xd1)][_0x2c9f98(0x321)])return this[_0x2c9f98(0x279)]['t'](_0x2c9f98(0x1f4));}));}[_0x3a3b32(0xc7)](){const _0x17ded3=_0x3a3b32;this[_0x17ded3(0x16f)](this[_0x17ded3(0x2fe)][_0x17ded3(0x27b)][_0x17ded3(0x239)](_0x19ee9d=>{const _0x268e4e=_0x17ded3;_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x29e)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f['MessageType']['Warning'],'content':this[_0x268e4e(0x279)]['t']('collaboration.single-unit.warning')}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)]['CLOSE_ROOM']&&this[_0x268e4e(0x2d0)][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x2db)],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x32a))}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x1a0)]&&this[_0x268e4e(0x295)][_0x268e4e(0x2bb)]({'title':this[_0x268e4e(0x279)]['t'](_0x268e4e(0xe4)),'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x1e1)),'type':_0x268e4e(0x250),'duration':0x0}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x15d)]&&this[_0x268e4e(0x2d0)][_0x268e4e(0x2bb)]({'type':_0x3b992f['MessageType']['Error'],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x32a))+'('+_0x19ee9d[_0x268e4e(0x124)]+')'}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x23d)]&&this[_0x268e4e(0x2d0)]['show']({'type':_0x3b992f[_0x268e4e(0xf4)]['Warning'],'content':this[_0x268e4e(0x279)]['t'](_0x19ee9d[_0x268e4e(0x124)]||'')}),_0x19ee9d['id']===_0x56139f['CollaborationUIEventId'][_0x268e4e(0x25f)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x2db)],'content':this['_localeService']['t'](_0x268e4e(0x169))}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x1fb)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x24d)],'content':this[_0x268e4e(0x279)]['t']('session.connection-failed')}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0xb7)]&&this[_0x268e4e(0x2d0)]['show']({'type':_0x3b992f[_0x268e4e(0xf4)]['Error'],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x1b3))});}));}};_0x705ea4=_0x11bf26([_0x538c5b(0x0,_0x218fbf['IBeforeCloseService']),_0x538c5b(0x1,_0x56139f['ILocalCacheService']),_0x538c5b(0x2,_0x5cc899['Inject'](_0x56139f[_0x3a3b32(0x119)])),_0x538c5b(0x3,_0x218fbf['IMessageService']),_0x538c5b(0x4,_0x218fbf[_0x3a3b32(0x313)]),_0x538c5b(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x268)]))],_0x705ea4);const _0x41e66c='collaboration-client-ui.config',_0x5918aa={},_0x179a0b=_0x5cc899[_0x3a3b32(0x103)]('uni.network.url-service');var _0x330d67=Object[_0x3a3b32(0x26d)],_0x57bb93=(_0x9775cd,_0x2ed15b,_0x234fab,_0x1f124e)=>{const _0x27420f=_0x3a3b32;for(var _0x327126=_0x1f124e>0x1?void 0x0:_0x1f124e?_0x330d67(_0x2ed15b,_0x234fab):_0x2ed15b,_0x3b352b=_0x9775cd[_0x27420f(0xb3)]-0x1,_0x3c4898;_0x3b352b>=0x0;_0x3b352b--)(_0x3c4898=_0x9775cd[_0x3b352b])&&(_0x327126=_0x3c4898(_0x327126)||_0x327126);return _0x327126;},_0x5cbe33=(_0x93807d,_0x41a98f)=>(_0x786957,_0x39cf32)=>_0x41a98f(_0x786957,_0x39cf32,_0x93807d);_0x2bf47a['CollaborationDataLoaderController']=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x2ea833,_0x2ca6f2,_0x1d6cf3,_0x2f41a3,_0x424538){const _0x42ee49=_0x3a3b32;super(),this[_0x42ee49(0xee)]=_0x2ea833,this['_logService']=_0x2ca6f2,this[_0x42ee49(0x25d)]=_0x1d6cf3,this[_0x42ee49(0x1d2)]=_0x2f41a3,_0x424538?_0x424538==null||_0x424538[_0x42ee49(0x2d6)]()[_0x42ee49(0x20d)](()=>this[_0x42ee49(0xa2)]()):(this[_0x42ee49(0x26b)][_0x42ee49(0x1cc)](_0x42ee49(0x18a),_0x42ee49(0xcc)),this['_init']());}async[_0x3a3b32(0xa2)](){const _0x11689a=_0x3a3b32,_0x230de4=this['_urlService']['getParam'](_0x11689a(0x139)),_0x4c9495=this['_urlService']['getParam'](_0x11689a(0x189)),_0x1aabf1=this['_urlService']['getParam'](_0x11689a(0xf2));if(!_0x230de4||!_0x4c9495){this[_0x11689a(0x26b)][_0x11689a(0x1cc)](_0x11689a(0x18a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x12bd36=await this[_0x11689a(0x1d2)][_0x11689a(0x143)](_0x230de4,Number(_0x4c9495),_0x1aabf1);_0x12bd36&&_0x12bd36 instanceof _0x5cc899[_0x11689a(0x247)]&&this[_0x11689a(0x181)](_0x12bd36);}async[_0x3a3b32(0x181)](_0x3a70c6){const _0x97e8be=_0x3a3b32;await this[_0x97e8be(0x16a)](_0x3a70c6),_0x3a70c6[_0x97e8be(0x1dc)][_0x97e8be(0x9a)](_0x16a76f['takeUntil'](this[_0x97e8be(0x27c)]))[_0x97e8be(0x239)](_0x520083=>{const _0x96494a=_0x97e8be;_0x520083&&this[_0x96494a(0x130)](_0x520083);}),this[_0x97e8be(0xee)][_0x97e8be(0x125)]['pipe'](_0x16a76f[_0x97e8be(0x105)](this[_0x97e8be(0x27c)]))['subscribe'](()=>this[_0x97e8be(0x16a)](_0x3a70c6));}[_0x3a3b32(0x130)](_0x422663,_0x4b2aa5=!0x1){const _0x4d113d=_0x3a3b32,_0x5d5766=this[_0x4d113d(0xee)]['getParam'](_0x4d113d(0xf2));_0x422663[_0x4d113d(0x17c)]()!==_0x5d5766&&this[_0x4d113d(0xee)]['setParam'](_0x4d113d(0xf2),_0x422663['getSheetId'](),_0x4b2aa5);}async[_0x3a3b32(0x16a)](_0x34e679){const _0x516011=_0x3a3b32;var _0x2e0ff0;const _0x401537=this[_0x516011(0xee)]['getParam'](_0x516011(0xf2));if(!_0x401537||!_0x34e679[_0x516011(0x166)](_0x401537)){const _0x335a9e=_0x34e679[_0x516011(0x95)]()[0x0],_0x21f100=_0x34e679[_0x516011(0x166)](_0x335a9e);if(!_0x21f100)return;this[_0x516011(0x130)](_0x21f100,!0x0),await this[_0x516011(0x25d)][_0x516011(0x1cf)](_0x156504[_0x516011(0x23c)]['id'],{'unitId':_0x34e679[_0x516011(0x30c)](),'subUnitId':_0x335a9e});return;}((_0x2e0ff0=_0x34e679[_0x516011(0x214)]())==null?void 0x0:_0x2e0ff0[_0x516011(0x17c)]())!==_0x401537&&await this[_0x516011(0x25d)][_0x516011(0x1cf)](_0x156504['SetWorksheetActivateCommand']['id'],{'unitId':_0x34e679[_0x516011(0x30c)](),'subUnitId':_0x401537});}},_0x2bf47a[_0x3a3b32(0x202)]=_0x57bb93([_0x5cbe33(0x0,_0x179a0b),_0x5cbe33(0x1,_0x5cc899[_0x3a3b32(0xca)]),_0x5cbe33(0x2,_0x5cc899[_0x3a3b32(0x234)]),_0x5cbe33(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f['DataLoaderService'])),_0x5cbe33(0x4,_0x5cc899['Optional'](_0x2a95b8['IRemoteInstanceService']))],_0x2bf47a['CollaborationDataLoaderController']);var _0x437650=Object[_0x3a3b32(0x26d)],_0x3e77a7=(_0x674d2a,_0x414a35,_0x539fef,_0x2b923a)=>{const _0x2703be=_0x3a3b32;for(var _0x5195ee=_0x2b923a>0x1?void 0x0:_0x2b923a?_0x437650(_0x414a35,_0x539fef):_0x414a35,_0x3fcbf5=_0x674d2a[_0x2703be(0xb3)]-0x1,_0x2701f1;_0x3fcbf5>=0x0;_0x3fcbf5--)(_0x2701f1=_0x674d2a[_0x3fcbf5])&&(_0x5195ee=_0x2701f1(_0x5195ee)||_0x5195ee);return _0x5195ee;},_0x4dc6d0=(_0x3e6281,_0x107b93)=>(_0x3274be,_0x29915c)=>_0x107b93(_0x3274be,_0x29915c,_0x3e6281);let _0x4ba19a=class{constructor(_0x5a9cb7,_0x307873,_0x377e08){const _0x1e5439=_0x3a3b32;this[_0x1e5439(0x2ce)]=_0x5a9cb7,this['_transformService']=_0x307873,this['_renderManagerService']=_0x377e08;}[_0x3a3b32(0x2e1)](_0x4e03c4){const _0x3f85ed=_0x3a3b32;this[_0x3f85ed(0x2a6)](_0x4e03c4),this[_0x3f85ed(0xf7)](_0x4e03c4);}[_0x3a3b32(0x290)](_0x8b36aa){const _0x395f35=_0x3a3b32,{unitID:_0x46280a}=_0x8b36aa,_0x48fde0=this[_0x395f35(0x138)][_0x395f35(0xed)](_0x46280a)[_0x395f35(0x164)](_0x45cbcb[_0x395f35(0x10a)]),{redoCache:_0x5c6ffa}=_0x48fde0[_0x395f35(0x1c5)]();if(_0x5c6ffa[_0x395f35(0xb3)]===0x0)return _0x8b36aa;let _0x31c057=_0x5cc899[_0x395f35(0xa7)][_0x395f35(0x257)](_0x8b36aa[_0x395f35(0x2de)][0x0]);for(let _0x4f280a=0x0;_0x4f280a<_0x5c6ffa[_0x395f35(0xb3)];_0x4f280a++){const _0x4657e0={'id':_0x395f35(0x186),'params':{..._0x5c6ffa[_0x4f280a]}},_0xe126c2=this[_0x395f35(0x12f)][_0x395f35(0x2dd)](_0x31c057,_0x4657e0,!0x1);if(_0x158f44[_0x395f35(0x1d4)](_0xe126c2))throw _0xe126c2[_0x395f35(0x250)];_0x31c057=_0xe126c2[_0x395f35(0x16d)];}return{..._0x5cc899[_0x395f35(0xa7)][_0x395f35(0x257)](_0x8b36aa),'mutations':[_0x31c057]};}[_0x3a3b32(0x2a6)](_0x2b9a51){const _0x26e4f2=_0x3a3b32,{unitID:_0x172e88}=_0x2b9a51,_0x452ecc=this[_0x26e4f2(0x138)][_0x26e4f2(0xed)](_0x172e88)[_0x26e4f2(0x164)](_0x45cbcb[_0x26e4f2(0x10a)]),{undoCache:_0x28c323,redoCache:_0x163c98}=_0x452ecc['getUndoRedoMutationParamsCache']();if(_0x28c323[_0x26e4f2(0xb3)]===0x0||_0x163c98[_0x26e4f2(0xb3)]===0x0)return;const _0x12724d=[],_0x2bf706=[];let _0x9c722=_0x5cc899[_0x26e4f2(0xa7)][_0x26e4f2(0x257)](_0x2b9a51['mutations'][0x0]),_0x2c69d6=_0x5cc899[_0x26e4f2(0xa7)][_0x26e4f2(0x257)](_0x2b9a51['mutations'][0x0]);for(let _0x36e583=_0x28c323['length']-0x1;_0x36e583>=0x0;_0x36e583--){const _0x203194={'id':_0x26e4f2(0x186),'params':{..._0x28c323[_0x36e583]}},_0x71655={'id':'doc.mutation.rich-text-editing','params':{..._0x163c98[_0x36e583]}},_0x19d917=this[_0x26e4f2(0x12f)]['transformMutation'](_0x9c722,_0x203194,!0x1),_0x67ddbc=this[_0x26e4f2(0x12f)][_0x26e4f2(0x2dd)](_0x2c69d6,_0x71655,!0x1);if(_0x158f44[_0x26e4f2(0x1d4)](_0x19d917))throw _0x19d917[_0x26e4f2(0x250)];if(_0x158f44['isTransformMutationFailure'](_0x67ddbc))throw _0x67ddbc[_0x26e4f2(0x250)];_0x12724d[_0x26e4f2(0x212)](_0x19d917[_0x26e4f2(0xfe)][_0x26e4f2(0x323)]),_0x2bf706[_0x26e4f2(0x212)](_0x67ddbc[_0x26e4f2(0xfe)]['params']),_0x9c722=_0x19d917[_0x26e4f2(0x16d)],_0x2c69d6=_0x67ddbc['m1Prime'];}_0x452ecc[_0x26e4f2(0xc8)]({'undoCache':_0x12724d,'redoCache':_0x2bf706});}['_transformPreviousActiveRange'](_0x58427d){const _0x3644a1=_0x3a3b32,{unitID:_0x17692b}=_0x58427d,_0x1e5f10=this[_0x3644a1(0x138)]['getRenderById'](_0x17692b)['with'](_0x45cbcb[_0x3644a1(0x10a)]),_0x5c8bd5=_0x1e5f10[_0x3644a1(0x2ed)]();if(_0x5c8bd5==null)return;const _0x5a689d=[{'id':_0x3644a1(0x186),'params':{'unitId':_0x58427d[_0x3644a1(0x25a)],'actions':null,'textRanges':[_0x5c8bd5]}}],_0x5c4ed0=this['_transformService'][_0x3644a1(0x2ff)](_0x58427d,_0x5a689d);if(!_0x158f44[_0x3644a1(0xbe)](_0x5c4ed0))throw _0x5c4ed0['error'];const _0x456aa5=_0x5c4ed0[_0x3644a1(0xfe)][0x0][_0x3644a1(0x323)][_0x3644a1(0x318)];Array[_0x3644a1(0xbc)](_0x456aa5)&&_0x456aa5[_0x3644a1(0xb3)]&&_0x1e5f10[_0x3644a1(0x304)](_0x456aa5[0x0]);}};_0x4ba19a=_0x3e77a7([_0x4dc6d0(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x4dc6d0(0x1,_0x158f44[_0x3a3b32(0x153)]),_0x4dc6d0(0x2,_0xa3a2fa['IRenderManagerService'])],_0x4ba19a);var _0x24a758=Object['getOwnPropertyDescriptor'],_0x14205f=(_0x44e38d,_0x2fdf82,_0x1b948c,_0x3e50c0)=>{const _0x508aba=_0x3a3b32;for(var _0x214838=_0x3e50c0>0x1?void 0x0:_0x3e50c0?_0x24a758(_0x2fdf82,_0x1b948c):_0x2fdf82,_0xf75ffc=_0x44e38d[_0x508aba(0xb3)]-0x1,_0x44b963;_0xf75ffc>=0x0;_0xf75ffc--)(_0x44b963=_0x44e38d[_0xf75ffc])&&(_0x214838=_0x44b963(_0x214838)||_0x214838);return _0x214838;},_0xd32f77=(_0x3ea8d3,_0x2cb2b7)=>(_0x124e3e,_0x202f43)=>_0x2cb2b7(_0x124e3e,_0x202f43,_0x3ea8d3);let _0x1568d1=class{constructor(_0xff9b68,_0x1e6e6d,_0x5a714e){const _0x3d1303=_0x3a3b32;this[_0x3d1303(0x2ce)]=_0xff9b68,this[_0x3d1303(0x12f)]=_0x1e6e6d,this[_0x3d1303(0x1fa)]=_0x5a714e;}[_0x3a3b32(0x1e4)](_0x4aa11b){const _0x5779e3=_0x3a3b32;this[_0x5779e3(0xb0)](_0x4aa11b);}[_0x3a3b32(0x290)](_0x37747e){const _0x38bb92=_0x3a3b32,{unitID:_0x239575}=_0x37747e,{collaboration:_0x40d3e8}=this[_0x38bb92(0x1fa)][_0x38bb92(0x8d)](_0x239575);if(_0x40d3e8['length']===0x0)return _0x37747e;let _0x50f5e4=_0x5cc899[_0x38bb92(0xa7)][_0x38bb92(0x257)](_0x37747e[_0x38bb92(0x2de)][0x0]);for(let _0x2b6f10=0x0;_0x2b6f10<_0x40d3e8[_0x38bb92(0xb3)];_0x2b6f10++){const _0x44d180={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d3e8[_0x2b6f10][_0x38bb92(0x196)],..._0x40d3e8[_0x2b6f10][_0x38bb92(0x2ac)]}},_0x59ab8d=this[_0x38bb92(0x12f)][_0x38bb92(0x2dd)](_0x50f5e4,_0x44d180,!0x1);if(_0x158f44[_0x38bb92(0x1d4)](_0x59ab8d))throw _0x59ab8d[_0x38bb92(0x250)];_0x50f5e4=_0x59ab8d[_0x38bb92(0x16d)];}return{..._0x5cc899['Tools'][_0x38bb92(0x257)](_0x37747e),'mutations':[_0x50f5e4]};}[_0x3a3b32(0xb0)](_0x26da2d){const _0x57b4a5=_0x3a3b32,{unitID:_0x3b3b5b}=_0x26da2d,{history:_0x46b1cb,collaboration:_0x51a44b}=this['_docStateChangeManagerService']['getStateCache'](_0x3b3b5b);if(_0x46b1cb['length']===0x0&&_0x51a44b[_0x57b4a5(0xb3)]===0x0)return;const _0x158ea1=[],_0x2e820b=[];let _0x624c6e=_0x5cc899[_0x57b4a5(0xa7)][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]),_0x464dd2=_0x5cc899[_0x57b4a5(0xa7)][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]);for(let _0x279563=_0x46b1cb[_0x57b4a5(0xb3)]-0x1;_0x279563>=0x0;_0x279563--){const _0x12ea0f={'id':_0x57b4a5(0x186),'params':{'unitId':_0x46b1cb[_0x279563][_0x57b4a5(0x196)],..._0x46b1cb[_0x279563][_0x57b4a5(0x1e7)]}},_0x5c7910={'id':_0x57b4a5(0x186),'params':{'unitId':_0x46b1cb[_0x279563][_0x57b4a5(0x196)],..._0x46b1cb[_0x279563][_0x57b4a5(0x2ac)]}},_0x435575=this['_transformService']['transformMutation'](_0x624c6e,_0x12ea0f,!0x1),_0xab5114=this[_0x57b4a5(0x12f)][_0x57b4a5(0x2dd)](_0x464dd2,_0x5c7910,!0x1);if(_0x158f44[_0x57b4a5(0x1d4)](_0x435575))throw _0x435575['error'];if(_0x158f44[_0x57b4a5(0x1d4)](_0xab5114))throw _0xab5114[_0x57b4a5(0x250)];_0x158ea1['unshift']({..._0x46b1cb[_0x279563],'undoState':_0x435575[_0x57b4a5(0xfe)]['params'],'redoState':_0xab5114[_0x57b4a5(0xfe)][_0x57b4a5(0x323)]}),_0x624c6e=_0x435575[_0x57b4a5(0x16d)],_0x464dd2=_0xab5114[_0x57b4a5(0x16d)];}_0x624c6e=_0x5cc899['Tools'][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]),_0x464dd2=_0x5cc899['Tools']['deepClone'](_0x26da2d['mutations'][0x0]);for(let _0x989dda=_0x51a44b[_0x57b4a5(0xb3)]-0x1;_0x989dda>=0x0;_0x989dda--){const _0x3e9035={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51a44b[_0x989dda][_0x57b4a5(0x196)],..._0x51a44b[_0x989dda]['undoState']}},_0x7a776c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51a44b[_0x989dda][_0x57b4a5(0x196)],..._0x51a44b[_0x989dda][_0x57b4a5(0x2ac)]}},_0x46e638=this[_0x57b4a5(0x12f)]['transformMutation'](_0x624c6e,_0x3e9035,!0x1),_0x4bc47d=this[_0x57b4a5(0x12f)][_0x57b4a5(0x2dd)](_0x464dd2,_0x7a776c,!0x1);if(_0x158f44[_0x57b4a5(0x1d4)](_0x46e638))throw _0x46e638[_0x57b4a5(0x250)];if(_0x158f44[_0x57b4a5(0x1d4)](_0x4bc47d))throw _0x4bc47d[_0x57b4a5(0x250)];_0x2e820b[_0x57b4a5(0x212)]({..._0x51a44b[_0x989dda],'undoState':_0x46e638[_0x57b4a5(0xfe)]['params'],'redoState':_0x4bc47d[_0x57b4a5(0xfe)][_0x57b4a5(0x323)]}),_0x624c6e=_0x46e638[_0x57b4a5(0x16d)],_0x464dd2=_0x4bc47d[_0x57b4a5(0x16d)];}this[_0x57b4a5(0x1fa)]['setStateCache'](_0x3b3b5b,{'history':_0x158ea1,'collaboration':_0x2e820b});}};_0x1568d1=_0x14205f([_0xd32f77(0x0,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x281)])),_0xd32f77(0x1,_0x158f44[_0x3a3b32(0x153)]),_0xd32f77(0x2,_0x5cc899['Inject'](_0x45cbcb['DocStateChangeManagerService']))],_0x1568d1);var _0x53f23e=Object[_0x3a3b32(0x26d)],_0x20e9a0=(_0x5a9a07,_0x182da4,_0x181524,_0x5e555b)=>{const _0x5b6986=_0x3a3b32;for(var _0x3922ed=_0x5e555b>0x1?void 0x0:_0x5e555b?_0x53f23e(_0x182da4,_0x181524):_0x182da4,_0x12d0e5=_0x5a9a07[_0x5b6986(0xb3)]-0x1,_0x11fa7c;_0x12d0e5>=0x0;_0x12d0e5--)(_0x11fa7c=_0x5a9a07[_0x12d0e5])&&(_0x3922ed=_0x11fa7c(_0x3922ed)||_0x3922ed);return _0x3922ed;},_0x5ad132=(_0x2d66be,_0x158ca0)=>(_0x3e0623,_0x2f5911)=>_0x158ca0(_0x3e0623,_0x2f5911,_0x2d66be);let _0x3dddae=class{constructor(_0x7f93fc,_0x28a4db){const _0x2f3b46=_0x3a3b32;this['_injector']=_0x7f93fc,this[_0x2f3b46(0x12f)]=_0x28a4db;}[_0x3a3b32(0x132)](_0x51ac3e){const _0x2e135a=_0x3a3b32;var _0x43ab58;const _0x148875=this['_injector']['get'](_0xcf3dad[_0x2e135a(0x1de)]),_0x133e91=(_0x43ab58=_0x148875[_0x2e135a(0x222)]())!=null?_0x43ab58:[];if(_0x133e91['length']===0x0)return;const _0x9c10b8=_0x51ac3e[_0x2e135a(0x25a)],_0x389837=[{'id':_0x2e135a(0x186),'params':{'unitId':_0x9c10b8,'actions':null,'textRanges':_0x133e91}}],_0x7f8970=this[_0x2e135a(0x12f)][_0x2e135a(0x2ff)](_0x51ac3e,_0x389837);if(!_0x158f44['isTransformMutationsWithChangesetSuccess'](_0x7f8970))throw _0x7f8970['error'];const _0x467b00=_0x7f8970[_0x2e135a(0xfe)][0x0][_0x2e135a(0x323)]['textRanges'];Array[_0x2e135a(0xbc)](_0x467b00)&&_0x467b00[_0x2e135a(0xb3)]&&_0x148875[_0x2e135a(0x29a)](_0x467b00,{'unitId':_0x9c10b8,'subUnitId':_0x9c10b8},!0x1);}};_0x3dddae=_0x20e9a0([_0x5ad132(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x5ad132(0x1,_0x158f44[_0x3a3b32(0x153)])],_0x3dddae);var _0x21bf26=Object[_0x3a3b32(0x26d)],_0x5849df=(_0xa6bdb7,_0x5556b1,_0x41a3f3,_0x164af1)=>{const _0x4c189e=_0x3a3b32;for(var _0x3cc068=_0x164af1>0x1?void 0x0:_0x164af1?_0x21bf26(_0x5556b1,_0x41a3f3):_0x5556b1,_0xba20c7=_0xa6bdb7[_0x4c189e(0xb3)]-0x1,_0x57a017;_0xba20c7>=0x0;_0xba20c7--)(_0x57a017=_0xa6bdb7[_0xba20c7])&&(_0x3cc068=_0x57a017(_0x3cc068)||_0x3cc068);return _0x3cc068;},_0x47a9d7=(_0x5291b0,_0x10d5bc)=>(_0x2581c9,_0x2ff5fd)=>_0x10d5bc(_0x2581c9,_0x2ff5fd,_0x5291b0);let _0x5002a1=class extends _0x5cc899['Disposable']{constructor(_0x3dcbda,_0x55e0a2,_0x20a728,_0x7fb3be,_0x45d953,_0x2726b4,_0x3d305d,_0x173c8c){const _0x512284=_0x3a3b32;super(),_0x40a5a2(this,_0x512284(0x2b0),new _0x16a76f[(_0x512284(0x13e))](_0x56139f[_0x512284(0x197)][_0x512284(0x201)])),(this['_docStateChangeManagerService']=_0x3dcbda,this[_0x512284(0x1d8)]=_0x55e0a2,this[_0x512284(0x275)]=_0x20a728,this[_0x512284(0x216)]=_0x7fb3be,this[_0x512284(0x13b)]=_0x45d953,this[_0x512284(0x22e)]=_0x2726b4,this[_0x512284(0x2d0)]=_0x3d305d,this['_localeService']=_0x173c8c,this[_0x512284(0x10e)]());}[_0x3a3b32(0x10e)](){const _0x41958b=_0x3a3b32;this[_0x41958b(0x16f)](this[_0x41958b(0x1d8)][_0x41958b(0x285)][_0x41958b(0x239)](_0x37558b=>{const _0x57f16f=_0x41958b,_0x1f7704=this[_0x57f16f(0x1fa)][_0x57f16f(0x320)][_0x57f16f(0x239)](_0xc3e18a=>{const _0x59b140=_0x57f16f;if(_0xc3e18a==null)return;const {unitId:_0x4c7803,redoState:_0x4aa07c,commandId:_0x56d302}=_0xc3e18a;if(_0x4c7803!==_0x37558b[_0x59b140(0x25a)])return;const _0x1295f0={'id':_0x56d302,'type':_0x5cc899[_0x59b140(0x184)][_0x59b140(0x96)],'params':{'unitId':_0x4c7803,'actions':_0x4aa07c[_0x59b140(0x179)],'textRanges':null}};_0x37558b[_0x59b140(0xb1)](_0x1295f0);});if(_0x37558b['disposeWithMe'](_0x1f7704),_0x37558b instanceof _0x56139f['DocCollaborationEntity']){const _0x565462={'onTransformIME':_0x120672=>this[_0x57f16f(0x275)][_0x57f16f(0x2e1)](_0x120672),'onTransformState':_0x174471=>this[_0x57f16f(0x216)][_0x57f16f(0x1e4)](_0x174471),'onTransformSelections':_0x2abaf8=>this[_0x57f16f(0x13b)]['transformSelections'](_0x2abaf8),'onSyncEditingCollabCursor':_0x7d5ee4=>this[_0x57f16f(0x22e)][_0x57f16f(0x252)](_0x7d5ee4),'onTransformRemoteChangesetByIMECache':_0x42202e=>this['_docTransformIMECacheService'][_0x57f16f(0x290)](_0x42202e),'onTransformRemoteChangesetByStateCache':_0x15fa02=>this['_docTransformStateCacheService'][_0x57f16f(0x290)](_0x15fa02)};_0x37558b[_0x57f16f(0x2e2)](_0x565462);}}));}};_0x5002a1=_0x5849df([_0x47a9d7(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x45cbcb['DocStateChangeManagerService'])),_0x47a9d7(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x158)])),_0x47a9d7(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x4ba19a)),_0x47a9d7(0x3,_0x5cc899['Inject'](_0x1568d1)),_0x47a9d7(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x3dddae)),_0x47a9d7(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x4fe24f)),_0x47a9d7(0x6,_0x218fbf['IMessageService']),_0x47a9d7(0x7,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x268)]))],_0x5002a1);var _0x31f53e=Object[_0x3a3b32(0x26d)],_0xb54e2f=(_0x72819b,_0x38332c,_0x1ff758,_0x49b013)=>{for(var _0x5b2680=_0x49b013>0x1?void 0x0:_0x49b013?_0x31f53e(_0x38332c,_0x1ff758):_0x38332c,_0x24874b=_0x72819b['length']-0x1,_0x4a8e34;_0x24874b>=0x0;_0x24874b--)(_0x4a8e34=_0x72819b[_0x24874b])&&(_0x5b2680=_0x4a8e34(_0x5b2680)||_0x5b2680);return _0x5b2680;},_0x1be74c=(_0xb127e6,_0x1e6385)=>(_0x3142e0,_0x3e9ce0)=>_0x1e6385(_0x3142e0,_0x3e9ce0,_0xb127e6);let _0x43aa91=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x4e20b0,_0x531d5f,_0x577a63){const _0x42309d=_0x3a3b32;super(),_0x40a5a2(this,_0x42309d(0x20c),new Map()),_0x40a5a2(this,_0x42309d(0xd0),new Map()),_0x40a5a2(this,'_disabled',!0x1),(this[_0x42309d(0xec)]=_0x4e20b0,this[_0x42309d(0x284)]=_0x531d5f,this[_0x42309d(0x94)]=_0x577a63);}[_0x3a3b32(0x1a3)](){const _0x395295=_0x3a3b32;this[_0x395295(0x1f5)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3a3b32(0x23e)](){const _0x5dfbb4=_0x3a3b32;this[_0x5dfbb4(0x14e)]()['then'](()=>super[_0x5dfbb4(0x23e)]());}async[_0x3a3b32(0x270)](_0x189261){const _0x42a58a=_0x3a3b32;return this[_0x42a58a(0x1f5)]?null:this['_localStorageService'][_0x42a58a(0x2e6)](_0x56139f['getLocalCacheKey'](_0x189261));}async[_0x3a3b32(0x1d5)](_0x4638f4,_0x2d23ce){const _0x1857e6=_0x3a3b32;return!!this[_0x1857e6(0x284)]['setItem'](_0x4638f4,_0x2d23ce);}[_0x3a3b32(0x110)](_0x3f9749,_0x2e33d1,_0x15885f,_0x1c242b){const _0x5e41a9=_0x3a3b32,_0x423153=this[_0x5e41a9(0x94)][_0x5e41a9(0x1a6)](_0x3f9749);this['_cachedData']['set'](_0x3f9749,{'unitID':_0x3f9749,'type':_0x2e33d1,'awaitingChangeset':_0x15885f,'mutations':_0x1c242b,'rev':_0x423153}),this[_0x5e41a9(0xd0)][_0x5e41a9(0xd6)](_0x3f9749)||this['_scheduleSaving'](_0x3f9749);}[_0x3a3b32(0x1c4)](_0x3f3bb8){const _0x29e7e4=_0x3a3b32,_0x32d1f2=this[_0x29e7e4(0xba)]();_0x32d1f2===0x0?this[_0x29e7e4(0x27d)](_0x3f3bb8):this[_0x29e7e4(0xd0)][_0x29e7e4(0x194)](_0x3f3bb8,setTimeout(()=>this[_0x29e7e4(0x27d)](_0x3f3bb8),_0x32d1f2));}[_0x3a3b32(0xba)](){const _0x38c4c4=_0x3a3b32;var _0x12d99e;return(_0x12d99e=this[_0x38c4c4(0xec)]['getConfig'](_0x56139f[_0x38c4c4(0x9f)]))!=null?_0x12d99e:_0x56139f['LOCAL_CACHE_INTERVAL'];}[_0x3a3b32(0x27d)](_0x1da96a){const _0x1e85e6=_0x3a3b32,_0x20d5b7=this['_saveTaskMap']['get'](_0x1da96a);return _0x20d5b7!==void 0x0&&window['clearTimeout'](_0x20d5b7),this[_0x1e85e6(0x284)][_0x1e85e6(0x267)](_0x56139f[_0x1e85e6(0x109)](_0x1da96a),this[_0x1e85e6(0x20c)]['get'](_0x1da96a))[_0x1e85e6(0x20d)](()=>this[_0x1e85e6(0xd0)][_0x1e85e6(0x13c)](_0x1da96a));}async[_0x3a3b32(0x14e)](){const _0x2f950a=_0x3a3b32,_0x490d9f=[];this[_0x2f950a(0xd0)][_0x2f950a(0x291)]((_0x217829,_0x923f17)=>{const _0x135e13=_0x2f950a;window['clearTimeout'](_0x217829),_0x490d9f[_0x135e13(0x2f9)](this['_saveCache'](_0x923f17)[_0x135e13(0x20d)](()=>{const _0x1e0277=_0x135e13;this['_saveTaskMap'][_0x1e0277(0x13c)](_0x923f17);}));}),await Promise[_0x2f950a(0x258)](_0x490d9f);}};_0x43aa91=_0xb54e2f([_0x1be74c(0x0,_0x5cc899[_0x3a3b32(0x1a4)]),_0x1be74c(0x1,_0x5cc899[_0x3a3b32(0x1c2)]),_0x1be74c(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x158f44[_0x3a3b32(0x1db)]))],_0x43aa91);class _0x389b48 extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(){const _0x593893=_0x3a3b32;super(),_0x40a5a2(this,_0x593893(0x125)),this[_0x593893(0x125)]=_0x16a76f[_0x593893(0x211)](window,_0x593893(0x14b))[_0x593893(0x9a)](_0x16a76f['takeUntil'](this[_0x593893(0x27c)]),_0x16a76f[_0x593893(0x92)](0x1),_0x16a76f[_0x593893(0x22c)](void 0x0));}[_0x3a3b32(0x2b4)](_0xbda28,_0x388f06,_0xa21d51=!0x1){const _0x483b9a=_0x3a3b32,_0x55a72a=new URL(window[_0x483b9a(0x305)][_0x483b9a(0x2e8)]);_0x55a72a[_0x483b9a(0x1e6)]['set'](_0xbda28,_0x388f06),_0xa21d51?window['history']['replaceState']('','',_0x55a72a['toString']()):window['history'][_0x483b9a(0x253)]('','',_0x55a72a[_0x483b9a(0x8e)]());}[_0x3a3b32(0x157)](_0x10943b,_0x338af5=!0x1){const _0x5a2cf3=_0x3a3b32,_0x5d2b79=new URL(window[_0x5a2cf3(0x305)][_0x5a2cf3(0x2e8)]);_0x5d2b79[_0x5a2cf3(0x1e6)][_0x5a2cf3(0x13c)](_0x10943b),_0x338af5?window[_0x5a2cf3(0x11b)][_0x5a2cf3(0xdc)]('','',_0x5d2b79[_0x5a2cf3(0x8e)]()):window[_0x5a2cf3(0x11b)][_0x5a2cf3(0x253)]('','',_0x5d2b79[_0x5a2cf3(0x8e)]());}['getParam'](_0x56a962){const _0x27528d=_0x3a3b32;var _0x46c7da;return(_0x46c7da=new URL(window[_0x27528d(0x305)][_0x27528d(0x2e8)])[_0x27528d(0x1e6)][_0x27528d(0x2be)](_0x56a962))!=null?_0x46c7da:void 0x0;}}var _0x3db3a2=Object['defineProperty'],_0x2488fa=Object[_0x3a3b32(0x26d)],_0x5294a6=(_0x3def71,_0x535d2f,_0x163bf4)=>_0x535d2f in _0x3def71?_0x3db3a2(_0x3def71,_0x535d2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x163bf4}):_0x3def71[_0x535d2f]=_0x163bf4,_0x43aa03=(_0x582991,_0x536654,_0x1ec4d8,_0x143e8e)=>{const _0x2d43a2=_0x3a3b32;for(var _0x51d01f=_0x143e8e>0x1?void 0x0:_0x143e8e?_0x2488fa(_0x536654,_0x1ec4d8):_0x536654,_0x25bf88=_0x582991[_0x2d43a2(0xb3)]-0x1,_0x2ec900;_0x25bf88>=0x0;_0x25bf88--)(_0x2ec900=_0x582991[_0x25bf88])&&(_0x51d01f=_0x2ec900(_0x51d01f)||_0x51d01f);return _0x51d01f;},_0x2b1506=(_0x517792,_0x294544)=>(_0x39c405,_0x4c3f4f)=>_0x294544(_0x39c405,_0x4c3f4f,_0x517792),_0x32d857=(_0x1ad088,_0x691de0,_0x5ab5c9)=>_0x5294a6(_0x1ad088,_0x691de0+'',_0x5ab5c9);const _0x34f13c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2bf47a[_0x3a3b32(0x235)]=class extends _0x5cc899['Plugin']{constructor(_0x31c913=_0x5918aa,_0x52b7d2,_0x1890bb,_0x46eacd){const _0x10c54c=_0x3a3b32;super(),this[_0x10c54c(0x17a)]=_0x31c913,this[_0x10c54c(0x138)]=_0x52b7d2,this[_0x10c54c(0x2ce)]=_0x1890bb,this[_0x10c54c(0xec)]=_0x46eacd;const {..._0x45d847}=_0x5cc899[_0x10c54c(0x19f)]({},_0x5918aa,this[_0x10c54c(0x17a)]);this[_0x10c54c(0xec)][_0x10c54c(0x15a)](_0x41e66c,_0x45d847);}[_0x3a3b32(0x1b4)](){const _0x420df3=_0x3a3b32;this[_0x420df3(0xaa)](),this[_0x420df3(0x10d)]();}[_0x3a3b32(0x31d)](){const _0x45e72a=_0x3a3b32;this[_0x45e72a(0x1ea)]();}['_registerDependencies'](){const _0x2966da=_0x3a3b32;var _0xb16b5e;const _0x59df19=[[_0x138d33],[_0x3dddae],[_0x4ba19a],[_0x1568d1],[_0x4fe24f],[_0x179a0b,{'useClass':_0x389b48}],[_0x225722[_0x2966da(0x177)],{'useClass':_0x225722[_0x2966da(0x209)]}],[_0x56139f[_0x2966da(0x19d)],{'useClass':_0x43aa91}],[_0x2bf47a[_0x2966da(0x2eb)]],[_0x5002a1],[_0x705ea4],[_0x6e1b81],[_0x51dd46],[_0x2bf47a[_0x2966da(0x202)]]];_0x5cc899['registerDependencies'](this[_0x2966da(0x2ce)],_0x5cc899[_0x2966da(0x1f2)](_0x59df19,(_0xb16b5e=this[_0x2966da(0x17a)])==null?void 0x0:_0xb16b5e[_0x2966da(0x255)]));}['_registerRenderDependencies'](){const _0x1cb4e4=_0x3a3b32;this[_0x1cb4e4(0x16f)](this['_renderManagerService'][_0x1cb4e4(0x294)](_0x5cc899[_0x1cb4e4(0x16e)][_0x1cb4e4(0x301)],[_0xf4fa45])),this[_0x1cb4e4(0x16f)](this[_0x1cb4e4(0x138)]['registerRenderModule'](_0x5cc899[_0x1cb4e4(0x16e)][_0x1cb4e4(0x1d3)],[_0x97462d]));}[_0x3a3b32(0x10d)](){const _0x38ffc0=_0x3a3b32;_0x5cc899[_0x38ffc0(0x100)](this['_injector'],[[_0x6e1b81],[_0x2bf47a[_0x38ffc0(0x2eb)]],[_0x5002a1],[_0x705ea4],[_0x2bf47a[_0x38ffc0(0x202)]]]);}},_0x32d857(_0x2bf47a[_0x3a3b32(0x235)],_0x3a3b32(0x14c),_0x34f13c),_0x2bf47a[_0x3a3b32(0x235)]=_0x43aa03([_0x5cc899[_0x3a3b32(0x200)](_0x56139f[_0x3a3b32(0x120)]),_0x2b1506(0x1,_0xa3a2fa[_0x3a3b32(0x231)]),_0x2b1506(0x2,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x281)])),_0x2b1506(0x3,_0x5cc899[_0x3a3b32(0x1a4)])],_0x2bf47a[_0x3a3b32(0x235)]);var _0xd77236=Object[_0x3a3b32(0x26d)],_0x4619ea=(_0x18bbcd,_0x2d6727,_0x323729,_0x34c7e2)=>{const _0xb54078=_0x3a3b32;for(var _0x285129=_0x34c7e2>0x1?void 0x0:_0x34c7e2?_0xd77236(_0x2d6727,_0x323729):_0x2d6727,_0xcc4cd4=_0x18bbcd[_0xb54078(0xb3)]-0x1,_0x53d9b6;_0xcc4cd4>=0x0;_0xcc4cd4--)(_0x53d9b6=_0x18bbcd[_0xcc4cd4])&&(_0x285129=_0x53d9b6(_0x285129)||_0x285129);return _0x285129;},_0x576e95=(_0x49ac41,_0x3436ab)=>(_0x3df6b2,_0x53bf1d)=>_0x3436ab(_0x3df6b2,_0x53bf1d,_0x49ac41);_0x2bf47a[_0x3a3b32(0x1aa)]=class extends _0x56139f['CollaborationSocketService']{constructor(_0x3893bc,_0x2dfbda,_0x4b857b,_0x7af82b,_0x10ca1c){super(_0x3893bc,_0x2dfbda,_0x4b857b,_0x7af82b,_0x10ca1c);}async[_0x3a3b32(0xda)](_0x582b9c){const _0x97fe49=_0x3a3b32,_0x2cb56f=await this[_0x97fe49(0x9d)](),_0x5bb669=this['_createSocketURL'](_0x582b9c,_0x2cb56f);return this[_0x97fe49(0x1d9)](_0x5bb669);}[_0x3a3b32(0x10c)](_0x1d9439,_0xec164f){const _0x59e595=_0x3a3b32,_0x549ad7=typeof window>'u'?new URL(_0x1d9439):new URL(_0x1d9439,window[_0x59e595(0x305)]['origin']);_0x549ad7[_0x59e595(0x1e6)]['set'](_0x59e595(0x2cd),_0xec164f);const _0x2b09cb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x59e595(0x305)][_0x59e595(0x28c)]);return _0x2b09cb['get'](_0x59e595(0x1e8))&&_0x549ad7[_0x59e595(0x1e6)]['set'](_0x59e595(0x1e8),_0x2b09cb[_0x59e595(0x2be)](_0x59e595(0x1e8))),_0x549ad7[_0x59e595(0x8e)]();}async[_0x3a3b32(0x9d)](){const _0x20ce7a=_0x3a3b32;var _0x424afc,_0xb99d70,_0x463967;const _0x5b0999=this[_0x20ce7a(0xec)][_0x20ce7a(0x237)](_0x56139f[_0x20ce7a(0x147)]),_0x5c2fbc=(_0x424afc=_0x5b0999==null?void 0x0:_0x5b0999[_0x20ce7a(0x172)])!=null?_0x424afc:_0x56139f['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x463967=(_0xb99d70=(await this[_0x20ce7a(0x28f)][_0x20ce7a(0x2be)](_0x5c2fbc,{'headers':{'Content-Type':_0x20ce7a(0xe7)}}))[_0x20ce7a(0x174)])==null?void 0x0:_0xb99d70[_0x20ce7a(0x225)])!=null?_0x463967:'';}},_0x2bf47a[_0x3a3b32(0x1aa)]=_0x4619ea([_0x576e95(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x576e95(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x225722[_0x3a3b32(0x1a5)])),_0x576e95(0x2,_0x5cc899['IConfigService']),_0x576e95(0x3,_0x5cc899[_0x3a3b32(0xca)]),_0x576e95(0x4,_0x158f44['ISnapshotServerService'])],_0x2bf47a[_0x3a3b32(0x1aa)]);const _0x309bfd=0x7530,_0x9b0507=_0x3a3b32(0x21b);class _0x54b25e extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(){const _0x2b7b58=_0x3a3b32;super(),_0x40a5a2(this,'_id',_0x5cc899[_0x2b7b58(0x2cc)]()),_0x40a5a2(this,_0x2b7b58(0x118),new Set()),_0x40a5a2(this,_0x2b7b58(0x1ec),new Map()),_0x40a5a2(this,_0x2b7b58(0x262),null),_0x40a5a2(this,_0x2b7b58(0x2d1),new Map()),_0x40a5a2(this,_0x2b7b58(0x28a),new Map()),this[_0x2b7b58(0xa2)]();}[_0x3a3b32(0x23e)](){const _0x5e3bf7=_0x3a3b32;super['dispose'](),this['_clearOtherTimers'][_0x5e3bf7(0x291)]((_0x3430e1,_0x49182f)=>this[_0x5e3bf7(0x1c0)](_0x49182f)),this[_0x5e3bf7(0x262)]&&window[_0x5e3bf7(0x22d)](this['_heartbeatTimer']);}[_0x3a3b32(0x136)](_0x2786e8){const _0x1e7f37=_0x3a3b32;return this['_ensureSubject'](_0x2786e8)[_0x1e7f37(0x9a)](_0x16a76f[_0x1e7f37(0x1bd)]());}['editingUnit'](_0x512ef4){const _0x16db2c=_0x3a3b32;this[_0x16db2c(0x118)]['size']===0x0&&this[_0x16db2c(0x116)](),this['_selfUnitIDs'][_0x16db2c(0x316)](_0x512ef4),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x512ef4],'isForwarded':!0x1});}['disposeUnit'](_0xddc573){const _0xb2db94=_0x3a3b32;this[_0xb2db94(0x118)][_0xb2db94(0x13c)](_0xddc573),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0xb2db94(0x262)]);}[_0x3a3b32(0xa2)](){const _0x184a41=_0x3a3b32;this[_0x184a41(0x16f)](_0x5cc899[_0x184a41(0x311)](_0x16a76f[_0x184a41(0x211)](window,_0x184a41(0x2fa))[_0x184a41(0x239)](_0x2d23ae=>{const _0x50299c=_0x184a41;if(_0x2d23ae['key']!==_0x9b0507||!_0x2d23ae['newValue'])return;const _0x1996e8=JSON['parse'](_0x2d23ae['newValue']);this[_0x50299c(0x32d)](_0x1996e8);}))),window['addEventListener'](_0x184a41(0x277),()=>this[_0x184a41(0x185)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x184a41(0x195)](this['_selfUnitIDs'])}));}[_0x3a3b32(0x32d)](_0x28bf2b){const _0x20c0b4=_0x3a3b32;switch(_0x28bf2b[_0x20c0b4(0x189)]){case 0x0:this[_0x20c0b4(0x1b7)](_0x28bf2b);break;case 0x1:this[_0x20c0b4(0x18e)](_0x28bf2b);break;case 0x2:this[_0x20c0b4(0x312)](_0x28bf2b);break;}}[_0x3a3b32(0x1b7)](_0x54649e){const _0x45d81f=_0x3a3b32,{unitIDs:_0x386aa0,memberID:_0x13400f,isForwarded:_0x1b7594}=_0x54649e;_0x386aa0['forEach'](_0x23e44b=>{const _0x4a9b80=_0x56ac;if(!_0x1b7594&&this[_0x4a9b80(0x1ec)]['has'](_0x23e44b)&&this[_0x4a9b80(0xf6)](_0x23e44b)[_0x4a9b80(0x282)](_0x56139f[_0x4a9b80(0x30b)][_0x4a9b80(0x28d)]),!this[_0x4a9b80(0x1ec)]['has'](_0x23e44b)||!this[_0x4a9b80(0x1ec)]['get'](_0x23e44b)[_0x4a9b80(0xd6)](_0x13400f)){const _0x140414=this[_0x4a9b80(0x1ec)]['get'](_0x23e44b)||new Set();_0x140414[_0x4a9b80(0x316)](_0x13400f),this[_0x4a9b80(0x1ec)][_0x4a9b80(0x194)](_0x23e44b,_0x140414),this[_0x4a9b80(0x18b)](_0x13400f);}}),_0x1b7594||this[_0x45d81f(0x185)]({'type':0x0,'memberID':this[_0x45d81f(0x251)],'unitIDs':[...this[_0x45d81f(0x118)]],'isForwarded':!0x0});}[_0x3a3b32(0x18b)](_0x35fe0e){const _0x23788f=_0x3a3b32;this[_0x23788f(0x1c0)](_0x35fe0e);const _0xcb16d1=window[_0x23788f(0x115)](()=>{const _0x22987e=_0x23788f;this['_unitOnClients'][_0x22987e(0x291)](_0x2cf484=>{const _0x5d3d42=_0x22987e;_0x2cf484[_0x5d3d42(0x13c)](_0x35fe0e);});},_0x309bfd*0x2);this[_0x23788f(0x2d1)][_0x23788f(0x194)](_0x35fe0e,_0xcb16d1);}[_0x3a3b32(0x1c0)](_0x141701){const _0x5e723f=_0x3a3b32;if(this[_0x5e723f(0x2d1)][_0x5e723f(0xd6)](_0x141701)){const _0x1c2c40=this[_0x5e723f(0x2d1)]['get'](_0x141701);_0x1c2c40&&window[_0x5e723f(0x1ca)](_0x1c2c40),this[_0x5e723f(0x2d1)][_0x5e723f(0x194)](_0x141701,null);}}['_handleLeaveEvent'](_0xdb1cfe){const _0x4b9be9=_0x3a3b32,{memberID:_0x285b3a,unitIDs:_0x786753}=_0xdb1cfe;_0x786753[_0x4b9be9(0x291)](_0x1fcc2b=>{const _0x5110ad=_0x4b9be9;var _0x5095a5;const _0x4852d3=this[_0x5110ad(0x1ec)]['get'](_0x1fcc2b);_0x4852d3&&(_0x4852d3[_0x5110ad(0x13c)](_0x285b3a),(_0x5095a5=this[_0x5110ad(0xf6)](_0x1fcc2b))==null||_0x5095a5['next'](_0x4852d3['size']===0x0?_0x56139f['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x56139f[_0x5110ad(0x30b)][_0x5110ad(0x28d)]));}),this['_removeClearOtherTimer'](_0x285b3a);}['_handleHeartbeatEvent'](_0x29eb2a){const _0x135d98=_0x3a3b32;this[_0x135d98(0x18b)](_0x29eb2a[_0x135d98(0x328)]);}[_0x3a3b32(0x185)](_0x3d35d5){const _0x244465=_0x3a3b32;localStorage[_0x244465(0x267)](_0x9b0507,JSON[_0x244465(0x2d2)](_0x3d35d5));}[_0x3a3b32(0x116)](){const _0xa6a07a=_0x3a3b32;this['_heartbeatTimer']=window[_0xa6a07a(0x155)](()=>{const _0x5ada35=_0xa6a07a;this[_0x5ada35(0x185)]({'type':0x2,'memberID':this[_0x5ada35(0x251)]});},_0x309bfd);}['_ensureSubject'](_0x933fea){const _0x391efa=_0x3a3b32;return this['_unitStatus'][_0x391efa(0xd6)](_0x933fea)||this[_0x391efa(0x28a)][_0x391efa(0x194)](_0x933fea,new _0x16a76f[(_0x391efa(0x13e))](_0x56139f[_0x391efa(0x30b)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x391efa(0x28a)][_0x391efa(0x2be)](_0x933fea);}}var _0x32591f=(_0x155586=>(_0x155586[_0x155586[_0x3a3b32(0x27a)]=0x0]='UNDEFINED',_0x155586[_0x155586['OK']=0x1]='OK',_0x155586[_0x155586['INTERNAL_ERROR']=0x2]=_0x3a3b32(0xa1),_0x155586[_0x155586[_0x3a3b32(0x1a0)]=0x3]='PERMISSION_DENIED',_0x155586[_0x155586['NOT_FOUND']=0x4]=_0x3a3b32(0x26c),_0x155586[_0x155586[_0x3a3b32(0xc9)]=0x5]=_0x3a3b32(0xc9),_0x155586[_0x155586['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x155586[_0x155586['INVALID_ARGUMENT']=0x7]=_0x3a3b32(0x140),_0x155586[_0x155586['TOO_MANY_REQUESTS']=0x8]=_0x3a3b32(0xa9),_0x155586[_0x155586['COMPLETION_FINISHED']=0x9]=_0x3a3b32(0xe3),_0x155586[_0x155586[_0x3a3b32(0x22a)]=0xa]=_0x3a3b32(0x22a),_0x155586[_0x155586[_0x3a3b32(0x205)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x155586[_0x155586[_0x3a3b32(0xfb)]=0x1771]=_0x3a3b32(0xfb),_0x155586[_0x155586[_0x3a3b32(0xc3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x155586[_0x155586[_0x3a3b32(0x32e)]=0x1773]=_0x3a3b32(0x32e),_0x155586[_0x155586[_0x3a3b32(0x12c)]=0x1b59]=_0x3a3b32(0x12c),_0x155586[_0x155586[_0x3a3b32(0xcb)]=0x1b5a]=_0x3a3b32(0xcb),_0x155586[_0x155586[_0x3a3b32(0xd2)]=0x1b5b]=_0x3a3b32(0xd2),_0x155586[_0x155586[_0x3a3b32(0x2dc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x155586[_0x155586[_0x3a3b32(0x131)]=0x1b5d]=_0x3a3b32(0x131),_0x155586[_0x155586[_0x3a3b32(0x21f)]=0x1f41]=_0x3a3b32(0x21f),_0x155586[_0x155586[_0x3a3b32(0xe2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x155586[_0x155586[_0x3a3b32(0x1ad)]=0x232a]=_0x3a3b32(0x1ad),_0x155586[_0x155586[_0x3a3b32(0x314)]=0x232b]=_0x3a3b32(0x314),_0x155586[_0x155586[_0x3a3b32(0x151)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x155586[_0x155586[_0x3a3b32(0x12a)]=0x232d]=_0x3a3b32(0x12a),_0x155586[_0x155586['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3a3b32(0x11e),_0x155586[_0x155586[_0x3a3b32(0x17b)]=0x2712]=_0x3a3b32(0x17b),_0x155586[_0x155586[_0x3a3b32(0x13a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x155586[_0x155586[_0x3a3b32(0x233)]=0x2714]=_0x3a3b32(0x233),_0x155586[_0x155586['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3a3b32(0x2b5),_0x155586[_0x155586['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x155586[_0x155586[_0x3a3b32(0x1d1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x155586[_0x155586[_0x3a3b32(0xa4)]=0x271d]=_0x3a3b32(0xa4),_0x155586[_0x155586[_0x3a3b32(0x1c6)]=0x271e]=_0x3a3b32(0x1c6),_0x155586[_0x155586[_0x3a3b32(0x175)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x155586[_0x155586[_0x3a3b32(0x261)]=0x2af9]=_0x3a3b32(0x261),_0x155586[_0x155586[_0x3a3b32(0x199)]=0x2ee1]=_0x3a3b32(0x199),_0x155586[_0x155586[_0x3a3b32(0x1c7)]=0x2ee2]='INVALID_INVITE_CODE',_0x155586[_0x155586[_0x3a3b32(0xf5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x155586[_0x155586[_0x3a3b32(0x9c)]=0x2ee4]=_0x3a3b32(0x9c),_0x155586[_0x155586['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3a3b32(0xf9),_0x155586[_0x155586[_0x3a3b32(0x240)]=0x32c9]=_0x3a3b32(0x240),_0x155586[_0x155586['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a3b32(0x134),_0x155586[_0x155586['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x155586[_0x155586[_0x3a3b32(0x23b)]=-0x1]=_0x3a3b32(0x23b),_0x155586))(_0x32591f||{}),_0x46081e=Object[_0x3a3b32(0x26d)],_0x3810c4=(_0x3dc2fb,_0x5d9866,_0x45b666,_0x3dfdf9)=>{const _0x5f39dd=_0x3a3b32;for(var _0x145500=_0x3dfdf9>0x1?void 0x0:_0x3dfdf9?_0x46081e(_0x5d9866,_0x45b666):_0x5d9866,_0x2a315c=_0x3dc2fb[_0x5f39dd(0xb3)]-0x1,_0x3d5931;_0x2a315c>=0x0;_0x2a315c--)(_0x3d5931=_0x3dc2fb[_0x2a315c])&&(_0x145500=_0x3d5931(_0x145500)||_0x145500);return _0x145500;},_0x568fbe=(_0x445797,_0x5ccf5d)=>(_0x500ef9,_0x153f8c)=>_0x5ccf5d(_0x500ef9,_0x153f8c,_0x445797);_0x2bf47a[_0x3a3b32(0x299)]=class extends _0x5cc899['Disposable']{constructor(_0x568981,_0x2d55db,_0x120d11){const _0x100a94=_0x3a3b32;super(),this[_0x100a94(0xc6)]=_0x568981,this[_0x100a94(0x28f)]=_0x2d55db,this[_0x100a94(0xec)]=_0x120d11;}async[_0x3a3b32(0x30d)](_0xb0cd9e,_0x2f8e5d,_0x5a108f,..._0x3bb78b){const _0x403c2b=_0x3a3b32;var _0x203575,_0x4e70c5,_0x46512f,_0x4a3dbf;const _0x19f877=this['_instanceService'][_0x403c2b(0x1fe)]();if(!_0x19f877)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x259afc=((_0x203575=this[_0x403c2b(0xec)][_0x403c2b(0x237)](_0x56139f[_0x403c2b(0x1fd)]))!=null?_0x203575:_0x56139f[_0x403c2b(0x21d)])+'/'+_0xb0cd9e+_0x403c2b(0x309)+_0x2f8e5d,_0x399b30=new URL(window[_0x403c2b(0x305)][_0x403c2b(0x2e8)]),_0x226b6a={'scriptId':_0xb0cd9e,'runId':(_0x4e70c5=_0x399b30[_0x403c2b(0x1e6)][_0x403c2b(0x2be)]('runId'))!=null?_0x4e70c5:'','function':_0x2f8e5d,'unitId':_0x19f877[_0x403c2b(0x30c)](),'argsOfFunction':JSON[_0x403c2b(0x2d2)](_0x3bb78b),'invokeId':(_0x46512f=_0x5a108f[_0x403c2b(0x32c)])!=null?_0x46512f:'','executionId':(_0x4a3dbf=_0x5a108f[_0x403c2b(0x142)])!=null?_0x4a3dbf:''};try{const _0x6a3fbe=await this['_httpService'][_0x403c2b(0x280)](_0x259afc,{'body':_0x226b6a});return _0x6a3fbe['body'][_0x403c2b(0x250)]&&_0x6a3fbe[_0x403c2b(0x174)][_0x403c2b(0x250)][_0x403c2b(0x31c)]!==_0x32591f['OK']?_0x403c2b(0x248):_0x6a3fbe[_0x403c2b(0x174)][_0x403c2b(0x20e)];}catch{return _0x403c2b(0x248);}}},_0x2bf47a[_0x3a3b32(0x299)]=_0x3810c4([_0x568fbe(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x568fbe(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x225722[_0x3a3b32(0x1a5)])),_0x568fbe(0x2,_0x5cc899[_0x3a3b32(0x1a4)])],_0x2bf47a[_0x3a3b32(0x299)]),_0x2bf47a[_0x3a3b32(0xaf)]=_0x2cfcc7,_0x2bf47a[_0x3a3b32(0x287)]=_0x179a0b,_0x2bf47a['SheetCollabCursorShape']=_0x56e01b,_0x2bf47a[_0x3a3b32(0x193)]=_0x54b25e,_0x2bf47a[_0x3a3b32(0x244)]=_0x389b48,Object[_0x3a3b32(0x315)](_0x2bf47a,Symbol[_0x3a3b32(0xae)],{'value':_0x3a3b32(0x232)});}));
|