@univerjs-pro/collaboration-client-ui 0.9.3-nightly.202507250819 → 0.9.4

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3ea2(_0x3b55b1,_0xa42ce0){const _0x5b5a98=_0x5b5a();return _0x3ea2=function(_0x3ea2c3,_0x220f23){_0x3ea2c3=_0x3ea2c3-0x117;let _0x3fa93c=_0x5b5a98[_0x3ea2c3];return _0x3fa93c;},_0x3ea2(_0x3b55b1,_0xa42ce0);}(function(_0x4b25c3,_0x2d2b40){const _0x324312=_0x3ea2,_0x2c5fc0=_0x4b25c3();while(!![]){try{const _0x1d86dc=-parseInt(_0x324312(0x382))/0x1+parseInt(_0x324312(0x3a0))/0x2+parseInt(_0x324312(0x2c9))/0x3+-parseInt(_0x324312(0x2d4))/0x4*(-parseInt(_0x324312(0x238))/0x5)+-parseInt(_0x324312(0x1d6))/0x6*(parseInt(_0x324312(0x16d))/0x7)+-parseInt(_0x324312(0x1e7))/0x8+parseInt(_0x324312(0x19b))/0x9*(parseInt(_0x324312(0x2d2))/0xa);if(_0x1d86dc===_0x2d2b40)break;else _0x2c5fc0['push'](_0x2c5fc0['shift']());}catch(_0x2d39ce){_0x2c5fc0['push'](_0x2c5fc0['shift']());}}}(_0x5b5a,0x95c97),function(_0x44b550,_0x285f57){const _0x100ba3=_0x3ea2;typeof exports=='object'&&typeof module<'u'?_0x285f57(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x100ba3(0x2c0)]?define([_0x100ba3(0x38e),_0x100ba3(0x1e0),'@univerjs/core','@univerjs/engine-render',_0x100ba3(0x151),_0x100ba3(0x3a8),'@univerjs/drawing',_0x100ba3(0x2af),_0x100ba3(0x2c7),_0x100ba3(0x283),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x100ba3(0x24b),_0x100ba3(0x35f),'@univerjs/ui',_0x100ba3(0x352),'react',_0x100ba3(0x17e)],_0x285f57):(_0x44b550=typeof globalThis<'u'?globalThis:_0x44b550||self,_0x285f57(_0x44b550[_0x100ba3(0x194)]={},_0x44b550[_0x100ba3(0x30e)],_0x44b550['UniverCore'],_0x44b550[_0x100ba3(0x200)],_0x44b550[_0x100ba3(0x20f)],_0x44b550[_0x100ba3(0x1f6)],_0x44b550[_0x100ba3(0x189)],_0x44b550[_0x100ba3(0x2af)],_0x44b550[_0x100ba3(0x2b7)],_0x44b550[_0x100ba3(0x22a)],_0x44b550[_0x100ba3(0x2d6)],_0x44b550['UniverSheets'],_0x44b550['rxjs'][_0x100ba3(0x305)],_0x44b550['UniverSheetsUi'],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x152)],_0x44b550[_0x100ba3(0x298)],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x32b)]));}(this,function(_0x5d4de8,_0x2c5d3c,_0x13023b,_0x3b7797,_0x562449,_0x229cdf,_0x16c291,_0xe0366,_0x2db34e,_0x3679f8,_0x416312,_0x17d085,_0x1a2632,_0x128c44,_0x50649b,_0x47e75a,_0x2abc24,_0x52afd9,_0x4e87ce){'use strict';const _0x453404=_0x3ea2;var _0x3684f0=Object[_0x453404(0x188)],_0x1648b4=(_0x1b8c6e,_0x2f97cf,_0x118f0a)=>_0x2f97cf in _0x1b8c6e?_0x3684f0(_0x1b8c6e,_0x2f97cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x118f0a}):_0x1b8c6e[_0x2f97cf]=_0x118f0a,_0x4ff54d=(_0x2416bb,_0x33bb11,_0x5c1332)=>_0x1648b4(_0x2416bb,typeof _0x33bb11!='symbol'?_0x33bb11+'':_0x33bb11,_0x5c1332),_0x480823=Object[_0x453404(0x23f)],_0x477b64=(_0x40e866,_0x488fa8,_0x2c0554,_0x28abaa)=>{const _0x5f2da1=_0x453404;for(var _0x149475=_0x28abaa>0x1?void 0x0:_0x28abaa?_0x480823(_0x488fa8,_0x2c0554):_0x488fa8,_0x73b171=_0x40e866[_0x5f2da1(0x2f8)]-0x1,_0xec2057;_0x73b171>=0x0;_0x73b171--)(_0xec2057=_0x40e866[_0x73b171])&&(_0x149475=_0xec2057(_0x149475)||_0x149475);return _0x149475;},_0x55da54=(_0x419270,_0x155378)=>(_0xbab388,_0x527fd9)=>_0x155378(_0xbab388,_0x527fd9,_0x419270);let _0x5d6e1b=class extends _0x13023b['RxDisposable']{constructor(_0x5dea01,_0x220b8e){const _0x1d7ec9=_0x453404;super(),this[_0x1d7ec9(0x2a0)]=_0x5dea01,this[_0x1d7ec9(0x148)]=_0x220b8e,this[_0x1d7ec9(0x224)]();}[_0x453404(0x224)](){const _0x15d0e3=_0x453404,_0x4caeb6=this;this['disposeWithMe'](this['_docClipboardService'][_0x15d0e3(0x39c)]({'onBeforePasteImage':async _0x31774b=>{const _0x248015=_0x15d0e3,_0x997e08=await _0x4caeb6[_0x248015(0x148)][_0x248015(0x32e)](_0x31774b);return _0x997e08?{'source':_0x997e08['source'],'imageSourceType':_0x997e08[_0x248015(0x388)]}:null;}}));}};_0x5d6e1b=_0x477b64([_0x55da54(0x0,_0x229cdf[_0x453404(0x1bf)]),_0x55da54(0x1,_0x16c291['IImageIoService'])],_0x5d6e1b);const _0x416843=['purple.300',_0x453404(0x196),_0x453404(0x2fb),_0x453404(0x330),_0x453404(0x25f),_0x453404(0x326)];class _0x39fdea extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x24bb7a=_0x453404;super(...arguments),_0x4ff54d(this,_0x24bb7a(0x2c1),new Map()),_0x4ff54d(this,_0x24bb7a(0x33c),0x0);}[_0x453404(0x1e4)](_0x1cb260){const _0x3add67=_0x453404;if(this[_0x3add67(0x2c1)][_0x3add67(0x138)](_0x1cb260))return this['_assignedColors']['get'](_0x1cb260);const _0x39b602=_0x416843[this['_colorIndex']];return this[_0x3add67(0x33c)]=(this['_colorIndex']+0x1)%_0x416843[_0x3add67(0x2f8)],this[_0x3add67(0x2c1)][_0x3add67(0x2ca)](_0x1cb260,_0x39b602),_0x39b602;}}function _0x522f5d(_0xf86551){const _0x2eaccf=_0x453404;let _0x1e0122='';for(const _0x134b86 of _0xf86551){const {startOffset:_0x2a7ee6,endOffset:_0x1e7f72,isActive:_0x17642f,rangeType:_0x2b3f77,segmentId:_0x464cf7,segmentPage:_0x56483a}=_0x134b86;_0x1e0122[_0x2eaccf(0x2f8)]&&(_0x1e0122+=','),_0x1e0122+=_0x2a7ee6+':'+_0x1e7f72+':'+(_0x17642f?'1':'0')+':'+_0x2b3f77+':'+_0x464cf7+':'+_0x56483a;}return _0x1e0122;}function _0x2c8724(_0x155b5a){const _0x1e4fff=_0x453404,_0x2b4a66=_0x155b5a[_0x1e4fff(0x20c)](','),_0x2c501a=[];for(const _0x1a280b of _0x2b4a66){const [_0x63452e,_0x907a05,_0x424542,_0x1992fd,_0x57ee06,_0x4c44f7]=_0x1a280b[_0x1e4fff(0x20c)](':');_0x2c501a[_0x1e4fff(0x1fe)]({'startOffset':Number(_0x63452e),'endOffset':Number(_0x907a05),'collapsed':_0x63452e===_0x907a05,'isActive':_0x424542==='1','rangeType':_0x1992fd===_0x13023b[_0x1e4fff(0x12a)]['TEXT']?_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x118)]:_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x124)],'segmentId':typeof _0x57ee06=='string'?String(_0x57ee06):'','segmentPage':Number(_0x4c44f7!=null?_0x4c44f7:-0x1)});}return _0x2c501a['some'](_0x4e53ec=>_0x4e53ec['isActive'])||(_0x2c501a[0x0][_0x1e4fff(0x137)]=!0x0),_0x2c501a;}class _0x1373ab extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x1c7f6d=_0x453404;super(...arguments),_0x4ff54d(this,_0x1c7f6d(0x21c),new _0xe0366[(_0x1c7f6d(0x1cf))](null)),_0x4ff54d(this,_0x1c7f6d(0x2f0),this['_collabCursorState$'][_0x1c7f6d(0x21a)]());}['syncEditingCollabCursor'](_0x463561){const _0x1e914c=_0x453404,{unitID:_0x33f341,memberID:_0x49c68b,textRanges:_0x14533e}=_0x463561,_0x369fb8=_0x522f5d(_0x14533e);if(_0x369fb8==='')return;const _0x3c19d8={'unitID':_0x33f341,'memberID':_0x49c68b,'selection':_0x369fb8};this[_0x1e914c(0x21c)][_0x1e914c(0x1a0)](_0x3c19d8);}}var _0x4413a9=Object[_0x453404(0x23f)],_0x362eb2=(_0x1b926a,_0x101a38,_0x229cef,_0x73f6fa)=>{const _0x53d66e=_0x453404;for(var _0xbc55c5=_0x73f6fa>0x1?void 0x0:_0x73f6fa?_0x4413a9(_0x101a38,_0x229cef):_0x101a38,_0x52a9a6=_0x1b926a[_0x53d66e(0x2f8)]-0x1,_0x126364;_0x52a9a6>=0x0;_0x52a9a6--)(_0x126364=_0x1b926a[_0x52a9a6])&&(_0xbc55c5=_0x126364(_0xbc55c5)||_0xbc55c5);return _0xbc55c5;},_0x207696=(_0x413660,_0x3b2536)=>(_0x16966a,_0xc90641)=>_0x3b2536(_0x16966a,_0xc90641,_0x413660);const _0x197a5a=0x12c,_0xfe8f14=0x64;let _0x31024d=class extends _0x13023b['RxDisposable']{constructor(_0x43ae9e,_0x21bbbc,_0x38d40f,_0x29f81f,_0x1976ed,_0xd8a63,_0x49a07a,_0x2d67b6,_0x1c8af5){const _0x470e71=_0x453404;super(),_0x4ff54d(this,_0x470e71(0x13a),!0x1),_0x4ff54d(this,_0x470e71(0x224),!0x1),_0x4ff54d(this,_0x470e71(0x2c5),new _0xe0366[(_0x470e71(0x1cf))](new Map())),_0x4ff54d(this,'cursorInfo$',this['_cursorInfo$'][_0x470e71(0x21a)]()),_0x4ff54d(this,_0x470e71(0x35e),new _0xe0366['BehaviorSubject']([])),_0x4ff54d(this,_0x470e71(0x190),this[_0x470e71(0x35e)][_0x470e71(0x35a)](_0xe0366[_0x470e71(0x227)](_0x197a5a))),_0x4ff54d(this,_0x470e71(0x367),_0x13023b[_0x470e71(0x121)](_0x21b148=>{const _0x42641d=_0x470e71,_0x3d3de9={'eventID':_0x2db34e[_0x42641d(0x167)][_0x42641d(0x185)],'data':{'unitID':this['unitID'],'memberID':this[_0x42641d(0x11b)][_0x42641d(0x171)](),'selection':_0x522f5d(_0x21b148)}};this['_session']['send'](_0x3d3de9,this[_0x42641d(0x1b4)]);},_0xfe8f14)),(this['unitID']=_0x43ae9e,this[_0x470e71(0x11b)]=_0x21bbbc,this[_0x470e71(0x1c0)]=_0x38d40f,this[_0x470e71(0x1e1)]=_0x29f81f,this['_memberService']=_0x1976ed,this[_0x470e71(0x28e)]=_0xd8a63,this['_transformService']=_0x49a07a,this['_univerInstanceService']=_0x2d67b6,this[_0x470e71(0x27b)]=_0x1c8af5);}get[_0x453404(0x34e)](){const _0x164d18=_0x453404;return this[_0x164d18(0x2c5)][_0x164d18(0x336)]();}get[_0x453404(0x3af)](){const _0x5e290e=_0x453404;return this[_0x5e290e(0x35e)][_0x5e290e(0x336)]();}['dispose'](){const _0x1422bd=_0x453404;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x1422bd(0x2c5)]['complete'](),this[_0x1422bd(0x35e)]['next']([]),this[_0x1422bd(0x35e)][_0x1422bd(0x2a6)]();}[_0x453404(0x214)](){const _0x49199a=_0x453404;this[_0x49199a(0x224)]||(this[_0x49199a(0x224)]=!0x0,this['_session'][_0x49199a(0x23d)][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this['dispose$']))[_0x49199a(0x310)](_0x1c6c0c=>{const _0x3a9a7b=_0x49199a;_0x1c6c0c===_0x2c5d3c[_0x3a9a7b(0x248)][_0x3a9a7b(0x240)]?this[_0x3a9a7b(0x2ed)]():this['_toggleOffline']();}),this[_0x49199a(0x11b)]['event$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))[_0x49199a(0x310)](_0xcb02e8=>{const _0x5bc73c=_0x49199a,_0x37cbd0=_0xcb02e8[_0x5bc73c(0x291)];_0x37cbd0===_0x2db34e[_0x5bc73c(0x167)][_0x5bc73c(0x185)]&&this[_0x5bc73c(0x381)](_0xcb02e8),_0x37cbd0===_0x2db34e['CollaborationEvent']['USERS_LEAVE']&&this[_0x5bc73c(0x253)](_0xcb02e8);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x712e43=>{const _0x19dc7c=_0x49199a,_0x4d59fc=_0x712e43[_0x19dc7c(0x1fd)];_0x4d59fc!=null&&this[_0x19dc7c(0x13a)]&&_0x712e43['id']===_0x3679f8['SetTextSelectionsOperation']['id']&&_0x4d59fc[_0x19dc7c(0x2e4)]===this[_0x19dc7c(0x1b4)]&&_0x4d59fc[_0x19dc7c(0x290)]===!0x1&&_0x4d59fc[_0x19dc7c(0x13c)]['length']>0x0&&this[_0x19dc7c(0x367)](_0x4d59fc['ranges']);})),this[_0x49199a(0x28e)]['collabCursorState$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))['subscribe'](_0x375b4c=>{const _0x2bf210=_0x49199a;if((_0x375b4c==null?void 0x0:_0x375b4c[_0x2bf210(0x1b4)])!==this[_0x2bf210(0x1b4)])return;const _0x160427={'eventID':_0x2db34e[_0x2bf210(0x167)][_0x2bf210(0x185)],'data':_0x375b4c};this[_0x2bf210(0x381)](_0x160427);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x17f474=>{const _0xe28dc5=_0x49199a;if(_0x17f474[_0xe28dc5(0x1fd)]==null)return;const _0x570314=_0x17f474['params'];if(_0x17f474['id']!==_0x3679f8['RichTextEditingMutation']['id']||_0x570314[_0xe28dc5(0x2e4)]!==this[_0xe28dc5(0x1b4)])return;const _0x59fa16={'id':_0xe28dc5(0x139),'params':_0x570314},_0x5e77c5=this[_0xe28dc5(0x34e)];for(const [_0x59fb3b,_0x1d087a]of _0x5e77c5){const _0x3d3cbe={'id':_0xe28dc5(0x139),'params':{'unitId':this[_0xe28dc5(0x1b4)],'actions':null,'textRanges':_0x1d087a[_0xe28dc5(0x13c)]}},_0x320162=this['_transformService'][_0xe28dc5(0x2ac)](_0x59fa16,_0x3d3cbe,!0x1);if(_0x2db34e[_0xe28dc5(0x287)](_0x320162))throw _0x320162['error'];_0x5e77c5['set'](_0x59fb3b,{..._0x1d087a,'ranges':_0x320162['m2Prime'][_0xe28dc5(0x1fd)][_0xe28dc5(0x2eb)]});}queueMicrotask(()=>{const _0x34757e=_0xe28dc5;this['_cursorInfo$'][_0x34757e(0x1a0)](_0x5e77c5);});})));}['_onCursorUpdate'](_0x5f452f){const _0x5104e8=_0x453404;var _0x281e03,_0xa8abcc;const {memberID:_0x1acd68,selection:_0x362f27}=_0x5f452f[_0x5104e8(0x311)],_0x55ac35=_0x2c8724(_0x362f27),_0x10ca0e=(_0xa8abcc=(_0x281e03=this[_0x5104e8(0x268)][_0x5104e8(0x1ad)](this[_0x5104e8(0x1b4)],_0x1acd68))==null?void 0x0:_0x281e03[_0x5104e8(0x18b)])!=null?_0xa8abcc:'Unknown\x20user',_0x42e6da={'color':this['_colorAssignService'][_0x5104e8(0x1e4)](_0x1acd68),'name':_0x10ca0e,'ranges':_0x55ac35},_0x3bac3f=this['cursorInfo'];_0x3bac3f[_0x5104e8(0x2ca)](_0x1acd68,_0x42e6da),this['_cursorInfo$'][_0x5104e8(0x1a0)](_0x3bac3f);}[_0x453404(0x253)](_0x8f72fc){const _0x193c5e=_0x453404,{memberID:_0x3bce4f}=_0x8f72fc[_0x193c5e(0x311)],_0x4482d4=this[_0x193c5e(0x34e)];_0x4482d4['delete'](_0x3bce4f),this[_0x193c5e(0x2c5)][_0x193c5e(0x1a0)](_0x4482d4);}['_toggleOnline'](){const _0x97cd47=_0x453404;var _0x4c6d85;if(this[_0x97cd47(0x13a)]=!0x0,((_0x4c6d85=this[_0x97cd47(0x379)][_0x97cd47(0x187)]())==null?void 0x0:_0x4c6d85[_0x97cd47(0x2be)]())!==this[_0x97cd47(0x1b4)])return;const _0x3f10d6=this[_0x97cd47(0x1c0)][_0x97cd47(0x28f)](_0x3679f8[_0x97cd47(0x1ac)])[_0x97cd47(0x2c2)]();Array[_0x97cd47(0x32c)](_0x3f10d6)&&_0x3f10d6['length']>0x0&&this[_0x97cd47(0x367)](_0x3f10d6);}[_0x453404(0x32d)](){const _0x181c08=_0x453404;this[_0x181c08(0x13a)]=!0x1;}};_0x31024d=_0x362eb2([_0x207696(0x2,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x207696(0x3,_0x13023b[_0x453404(0x175)](_0x39fdea)),_0x207696(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x207696(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x207696(0x6,_0x2db34e[_0x453404(0x348)]),_0x207696(0x7,_0x13023b['IUniverInstanceService']),_0x207696(0x8,_0x13023b[_0x453404(0x2a5)])],_0x31024d);var _0x224f3c=Object[_0x453404(0x23f)],_0x569ff4=(_0x615a6d,_0x23be52,_0x29942d,_0x2a3070)=>{for(var _0x595309=_0x2a3070>0x1?void 0x0:_0x2a3070?_0x224f3c(_0x23be52,_0x29942d):_0x23be52,_0x53349c=_0x615a6d['length']-0x1,_0x3c0a37;_0x53349c>=0x0;_0x53349c--)(_0x3c0a37=_0x615a6d[_0x53349c])&&(_0x595309=_0x3c0a37(_0x595309)||_0x595309);return _0x595309;},_0x31bfc1=(_0x224be3,_0x2dc46c)=>(_0x3658f5,_0x458f91)=>_0x2dc46c(_0x3658f5,_0x458f91,_0x224be3);const _0x6b5ab4=0x12c,_0xdf62d5=0x64,_0x54a156=()=>{let _0x14b3a9=[],_0x3ae948=!0x1;return _0x5b534c=>{const _0x38690d=_0x3ea2;_0x14b3a9[_0x38690d(0x1fe)](_0x5b534c),_0x3ae948||(_0x3ae948=!0x0,setTimeout(()=>{const _0x1c24db=_0x38690d;_0x14b3a9[_0x1c24db(0x136)](_0x3685db=>_0x3685db()),_0x14b3a9=[],_0x3ae948=!0x1;}));};};let _0x1a04e0=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1a112d,_0x372a9f,_0x7bec15,_0x2e90ba,_0x4bfbc5,_0x2e0c54,_0x1bea40,_0xaf90f2){const _0x2ad8ed=_0x453404;super(),_0x4ff54d(this,_0x2ad8ed(0x13a),!0x1),_0x4ff54d(this,_0x2ad8ed(0x224),!0x1),_0x4ff54d(this,_0x2ad8ed(0x2c5),new _0xe0366[(_0x2ad8ed(0x1cf))](new Map())),_0x4ff54d(this,_0x2ad8ed(0x2e2),this[_0x2ad8ed(0x2c5)][_0x2ad8ed(0x21a)]()),_0x4ff54d(this,_0x2ad8ed(0x35e),new _0xe0366[(_0x2ad8ed(0x1cf))]([])),_0x4ff54d(this,'roomMembers$',this[_0x2ad8ed(0x35e)]['pipe'](_0xe0366[_0x2ad8ed(0x227)](_0x6b5ab4))),_0x4ff54d(this,_0x2ad8ed(0x367),_0x13023b[_0x2ad8ed(0x121)]((_0xd64472,_0xfaca21)=>{const _0x2b2dc4=_0x2ad8ed,_0x552e18={'eventID':_0x2db34e['CollaborationEvent'][_0x2b2dc4(0x185)],'data':{'unitID':this[_0x2b2dc4(0x1b4)],'memberID':this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x171)](),'selection':_0x416312['serializeRangeWithSheet'](_0xd64472,_0xfaca21['range'])}};this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x39a)](_0x552e18,this[_0x2b2dc4(0x1b4)]);},_0xdf62d5)),(this['unitID']=_0x1a112d,this[_0x2ad8ed(0x11b)]=_0x372a9f,this[_0x2ad8ed(0x1c0)]=_0x7bec15,this['_colorAssignService']=_0x2e90ba,this[_0x2ad8ed(0x268)]=_0x4bfbc5,this['_univerInstanceService']=_0x2e0c54,this['_commandService']=_0x1bea40,this['_refRangeService']=_0xaf90f2);}get[_0x453404(0x34e)](){return this['_cursorInfo$']['getValue']();}get[_0x453404(0x3af)](){const _0x283fa0=_0x453404;return this[_0x283fa0(0x35e)][_0x283fa0(0x336)]();}[_0x453404(0x3aa)](){const _0x1cccf2=_0x453404;super[_0x1cccf2(0x3aa)](),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x1a0)](new Map()),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x2a6)](),this[_0x1cccf2(0x35e)]['next']([]),this[_0x1cccf2(0x35e)]['complete']();}[_0x453404(0x214)](){const _0x32c2f7=_0x453404;this[_0x32c2f7(0x224)]||(this[_0x32c2f7(0x224)]=!0x0,this[_0x32c2f7(0x11b)][_0x32c2f7(0x23d)][_0x32c2f7(0x35a)](_0xe0366[_0x32c2f7(0x2ba)](this['dispose$']))[_0x32c2f7(0x310)](_0x32b5f6=>{const _0x3f08d2=_0x32c2f7;_0x32b5f6===_0x2c5d3c[_0x3f08d2(0x248)][_0x3f08d2(0x240)]?this[_0x3f08d2(0x2ed)]():this['_toggleOffline']();}),this[_0x32c2f7(0x11b)][_0x32c2f7(0x133)]['pipe'](_0xe0366['takeUntil'](this[_0x32c2f7(0x1e3)]))[_0x32c2f7(0x310)](_0x54ac27=>{const _0x2168c0=_0x32c2f7,_0x2a2044=_0x54ac27['eventID'];_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x185)]&&this[_0x2168c0(0x381)](_0x54ac27),_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x11a)]&&this[_0x2168c0(0x253)](_0x54ac27);}),this[_0x32c2f7(0x313)](),this[_0x32c2f7(0x2bf)](this[_0x32c2f7(0x27b)][_0x32c2f7(0x299)](_0x5350e2=>{const _0x3581fb=_0x32c2f7;if(this[_0x3581fb(0x13a)]&&_0x5350e2['id']===_0x17d085[_0x3581fb(0x2ec)]['id']&&_0x5350e2[_0x3581fb(0x1fd)][_0x3581fb(0x2e4)]===this[_0x3581fb(0x1b4)]){const _0x31ac30=_0x5350e2[_0x3581fb(0x1fd)];this[_0x3581fb(0x367)](_0x31ac30[_0x3581fb(0x117)],_0x31ac30[_0x3581fb(0x233)][0x0]);}})));}[_0x453404(0x381)](_0x35cc5c){const _0x47c574=_0x453404;var _0x36f52b,_0xca7639;const {memberID:_0x145a9c,selection:_0x1422c5}=_0x35cc5c[_0x47c574(0x311)],{sheetName:_0x50030d,range:_0x2af07d}=_0x416312[_0x47c574(0x37b)](_0x1422c5),_0x19027f={'name':(_0xca7639=(_0x36f52b=this[_0x47c574(0x268)]['getMember'](this[_0x47c574(0x1b4)],_0x145a9c))==null?void 0x0:_0x36f52b[_0x47c574(0x18b)])!=null?_0xca7639:_0x47c574(0x2d8),'range':this[_0x47c574(0x18f)](_0x50030d,_0x2af07d),'sheetID':_0x50030d,'color':this['_colorAssignService'][_0x47c574(0x1e4)](_0x145a9c),'selection':_0x1422c5},_0x1237f7=this['cursorInfo'];_0x1237f7[_0x47c574(0x2ca)](_0x145a9c,_0x19027f),this[_0x47c574(0x2c5)][_0x47c574(0x1a0)](_0x1237f7);}[_0x453404(0x253)](_0x3f1aea){const _0x11fc25=_0x453404,{memberID:_0xf9dbd3}=_0x3f1aea[_0x11fc25(0x311)],_0x2c5a20=this[_0x11fc25(0x34e)];_0x2c5a20['delete'](_0xf9dbd3),this['_cursorInfo$'][_0x11fc25(0x1a0)](_0x2c5a20);}['_getMergeRange'](_0x1f48db,_0x397f4f){const _0x2de3dc=_0x453404;var _0x17dec8,_0x7a0947;const _0x161787=(_0x7a0947=(_0x17dec8=this[_0x2de3dc(0x379)][_0x2de3dc(0x2b0)](this[_0x2de3dc(0x1b4)]))==null?void 0x0:_0x17dec8[_0x2de3dc(0x120)](_0x1f48db))==null?void 0x0:_0x7a0947[_0x2de3dc(0x1b3)]();return(_0x161787==null?void 0x0:_0x161787[_0x2de3dc(0x1d3)](_0x4f7a6e=>_0x13023b[_0x2de3dc(0x2e6)]['contains'](_0x4f7a6e,_0x397f4f)))||_0x397f4f;}[_0x453404(0x313)](){const _0x54e663=_0x453404,_0x130959=new _0x13023b[(_0x54e663(0x22b))](),_0x4d35e1=_0x54a156(),_0x34c55f=()=>{const _0x3d23bf=_0x54e663;_0x130959['dispose']();const _0x42fb16=(_0x33ff0f,_0x111496,_0x5ae734,_0x51c1b3)=>{const _0x4de315=_0x3ea2;let _0x20e873=[];switch(_0x33ff0f['id']){case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x29f)]:{_0x20e873=_0x17d085[_0x4de315(0x380)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x2fa)]:{_0x20e873=_0x17d085[_0x4de315(0x309)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertColCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x26e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x127)]:{_0x20e873=_0x17d085['handleInsertRangeMoveDown'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRangeMoveRightCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x14e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRowCommandId']:{_0x20e873=_0x17d085['handleInsertRow'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x14f)]:{_0x20e873=_0x17d085[_0x4de315(0x29c)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x1f4)]:{_0x20e873=_0x17d085[_0x4de315(0x130)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x394)]:{_0x20e873=_0x17d085[_0x4de315(0x278)](_0x33ff0f,_0x51c1b3);break;}}const _0x553946=_0x17d085[_0x4de315(0x161)](_0x20e873,_0x51c1b3),_0x196a18=this['cursorInfo'][_0x4de315(0x28f)](_0x111496);if(_0x196a18&&_0x553946){const _0xd0fe04={..._0x196a18,'range':_0x553946};this[_0x4de315(0x34e)]['set'](_0x111496,_0xd0fe04),_0x4d35e1(()=>{const _0x2e52b8=_0x4de315,_0x3bb621=this[_0x2e52b8(0x1f3)][_0x2e52b8(0x2f3)](_0x553946,_0x260f92=>(_0x3bb621[_0x2e52b8(0x3aa)](),_0x42fb16(_0x260f92,_0x111496,_0x5ae734,_0x553946)));_0x130959['add'](_0x3bb621);});}return{'redos':[],'undos':[]};};this[_0x3d23bf(0x34e)]['forEach']((_0x4b6172,_0x18ce2d)=>{const _0xfd54f3=_0x3d23bf,{range:_0x21f69c,sheetID:_0x3c94fa}=_0x4b6172,_0x43633e=this[_0xfd54f3(0x1f3)][_0xfd54f3(0x2f3)](_0x21f69c,_0x215e61=>(_0x43633e[_0xfd54f3(0x3aa)](),_0x42fb16(_0x215e61,_0x18ce2d,_0x3c94fa,_0x21f69c)));_0x130959[_0xfd54f3(0x358)](_0x43633e);});};this[_0x54e663(0x2bf)](_0x13023b[_0x54e663(0x1f8)](this[_0x54e663(0x2c5)][_0x54e663(0x310)](()=>{_0x34c55f();})));}[_0x453404(0x2ed)](){const _0x5cea50=_0x453404;var _0x3cc7c1,_0x18b659;if(this['_online']=!0x0,((_0x3cc7c1=this[_0x5cea50(0x379)][_0x5cea50(0x187)]())==null?void 0x0:_0x3cc7c1[_0x5cea50(0x2be)]())!==this[_0x5cea50(0x1b4)])return;const _0x3dccf8=(_0x18b659=this[_0x5cea50(0x1c0)][_0x5cea50(0x28f)](_0x17d085[_0x5cea50(0x2c4)])['getCurrentSelections']())==null?void 0x0:_0x18b659[0x0],_0x51d1fc=this[_0x5cea50(0x379)][_0x5cea50(0x15f)](_0x13023b['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x3dccf8&&_0x51d1fc&&this[_0x5cea50(0x367)](_0x51d1fc['getSheetId'](),_0x3dccf8);}[_0x453404(0x32d)](){const _0x6bc5c4=_0x453404;this[_0x6bc5c4(0x13a)]=!0x1;}};_0x1a04e0=_0x569ff4([_0x31bfc1(0x2,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x31bfc1(0x3,_0x13023b['Inject'](_0x39fdea)),_0x31bfc1(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x31bfc1(0x5,_0x13023b[_0x453404(0x331)]),_0x31bfc1(0x6,_0x13023b['ICommandService']),_0x31bfc1(0x7,_0x13023b[_0x453404(0x175)](_0x17d085[_0x453404(0x2d5)]))],_0x1a04e0);var _0x2811eb=Object[_0x453404(0x23f)],_0x50e047=(_0x57efeb,_0x2e6c95,_0x5057e1,_0x3bdb0d)=>{for(var _0x505ba2=_0x3bdb0d>0x1?void 0x0:_0x3bdb0d?_0x2811eb(_0x2e6c95,_0x5057e1):_0x2e6c95,_0x2bfa93=_0x57efeb['length']-0x1,_0xd37d15;_0x2bfa93>=0x0;_0x2bfa93--)(_0xd37d15=_0x57efeb[_0x2bfa93])&&(_0x505ba2=_0xd37d15(_0x505ba2)||_0x505ba2);return _0x505ba2;},_0x352428=(_0x58073f,_0x307cf8)=>(_0xf34265,_0x158d18)=>_0x307cf8(_0xf34265,_0x158d18,_0x58073f);let _0xa698e7=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x59e147,_0x2b0d85,_0x3c59c5){const _0x27809c=_0x453404;super(),_0x4ff54d(this,'_entities',new Map()),_0x4ff54d(this,'_entityInit$',new _0xe0366[(_0x27809c(0x346))]()),(this['_univerInstanceService']=_0x59e147,this[_0x27809c(0x1c0)]=_0x2b0d85,this['_collabSessionService']=_0x3c59c5,this[_0x27809c(0x224)]());}['dispose'](){const _0x192d4b=_0x453404;super[_0x192d4b(0x3aa)](),this['_entityInit$'][_0x192d4b(0x2a6)](),this['_entities']['forEach'](_0x55f9b6=>_0x55f9b6[_0x192d4b(0x3aa)]());}[_0x453404(0x267)](_0x3206ea){const _0x232473=_0x453404;return this['_entities'][_0x232473(0x138)](_0x3206ea)?this[_0x232473(0x357)]['get'](_0x3206ea)[_0x232473(0x2e2)]:this[_0x232473(0x277)][_0x232473(0x35a)](_0xe0366[_0x232473(0x325)](_0x218f87=>_0x218f87[_0x232473(0x1b4)]===_0x3206ea),_0xe0366['switchMap'](_0x1a9346=>_0x1a9346['cursorInfo$']));}['_init'](){const _0x2c9b79=_0x453404;this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)])['pipe'](_0xe0366[_0x2c9b79(0x2ba)](this['dispose$']))[_0x2c9b79(0x310)](async _0x306eeb=>{const _0x3b8e8c=_0x2c9b79,_0xcaa911=_0x306eeb[_0x3b8e8c(0x2be)](),_0x4d6a4b=await this[_0x3b8e8c(0x293)](_0xcaa911);this[_0x3b8e8c(0x277)][_0x3b8e8c(0x1a0)](_0x4d6a4b),this[_0x3b8e8c(0x357)][_0x3b8e8c(0x2ca)](_0xcaa911,_0x4d6a4b);}),this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)])[_0x2c9b79(0x35a)](_0xe0366['takeUntil'](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x325)](_0x46221c=>!_0x46221c[_0x2c9b79(0x2be)]()['startsWith']('__')))[_0x2c9b79(0x310)](async _0xbad5b5=>{const _0x2b403d=_0x2c9b79,_0x40a66e=_0xbad5b5[_0x2b403d(0x2be)](),_0x4282d0=await this[_0x2b403d(0x2ef)](_0x40a66e);this[_0x2b403d(0x277)]['next'](_0x4282d0),this['_entities'][_0x2b403d(0x2ca)](_0x40a66e,_0x4282d0);}),_0xe0366['merge'](this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)]),this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x2ba)](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x310)](_0x4e7d28=>{const _0x2ecc61=_0x2c9b79,_0x3a4a1b=_0x4e7d28[_0x2ecc61(0x2be)](),_0x4a45f4=this[_0x2ecc61(0x357)][_0x2ecc61(0x28f)](_0x3a4a1b);_0x4a45f4&&(_0x4a45f4['dispose'](),this['_entities']['delete'](_0x3a4a1b));});}async[_0x453404(0x293)](_0xe8b5c){const _0x307d20=_0x453404,_0x438ef7=await this['_collabSessionService'][_0x307d20(0x252)](_0xe8b5c),_0x1f1306=this['_injector'][_0x307d20(0x260)](_0x1a04e0,_0xe8b5c,_0x438ef7);return _0x1f1306['init'](),_0x1f1306;}async[_0x453404(0x2ef)](_0x21d94e){const _0x1fd3b7=_0x453404,_0x526a54=await this[_0x1fd3b7(0x2f7)][_0x1fd3b7(0x252)](_0x21d94e),_0x5048aa=this[_0x1fd3b7(0x1c0)][_0x1fd3b7(0x260)](_0x31024d,_0x21d94e,_0x526a54);return _0x5048aa[_0x1fd3b7(0x214)](),_0x5048aa;}};_0xa698e7=_0x50e047([_0x352428(0x0,_0x13023b[_0x453404(0x331)]),_0x352428(0x1,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x352428(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1ae)]))],_0xa698e7);const _0x3726df=0x14,_0x59e901=0xc8,_0x4c361e=0x4,_0x38d9ce=0x5;function _0x351980(_0x8f2d8b,_0x42c3c7){const _0xaa3c7a=_0x453404;let {radius:_0x1dc8c2,width:_0x2178a6,height:_0x58ddd4}=_0x42c3c7;_0x1dc8c2=_0x1dc8c2!=null?_0x1dc8c2:0x0,_0x2178a6=_0x2178a6!=null?_0x2178a6:0x1e,_0x58ddd4=_0x58ddd4!=null?_0x58ddd4:0x1e;let _0x255dd0=0x0,_0x209f2e=0x0,_0x3c49e1=0x0;_0x255dd0=_0x209f2e=_0x3c49e1=Math[_0xaa3c7a(0x173)](_0x1dc8c2,_0x2178a6/0x2,_0x58ddd4/0x2),_0x8f2d8b[_0xaa3c7a(0x297)](),_0x8f2d8b[_0xaa3c7a(0x2ae)](_0x255dd0,0x0),_0x8f2d8b['lineTo'](_0x2178a6-_0x209f2e,0x0),_0x8f2d8b['arc'](_0x2178a6-_0x209f2e,_0x209f2e,_0x209f2e,Math['PI']*0x3/0x2,0x0,!0x1),_0x8f2d8b[_0xaa3c7a(0x2fc)](_0x2178a6,_0x58ddd4-_0x3c49e1),_0x8f2d8b[_0xaa3c7a(0x159)](_0x2178a6-_0x3c49e1,_0x58ddd4-_0x3c49e1,_0x3c49e1,0x0,Math['PI']/0x2,!0x1),_0x8f2d8b['lineTo'](0x0,_0x58ddd4),_0x8f2d8b[_0xaa3c7a(0x2fc)](0x0,_0x255dd0),_0x8f2d8b['arc'](_0x255dd0,_0x255dd0,_0x255dd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8f2d8b['closePath'](),_0x42c3c7[_0xaa3c7a(0x26c)]&&(_0x8f2d8b['save'](),_0x8f2d8b[_0xaa3c7a(0x33f)]=_0x42c3c7[_0xaa3c7a(0x26c)],_0x42c3c7[_0xaa3c7a(0x1a7)]===_0xaa3c7a(0x2b4)?_0x8f2d8b[_0xaa3c7a(0x26c)](_0xaa3c7a(0x2b4)):_0x8f2d8b[_0xaa3c7a(0x26c)](),_0x8f2d8b[_0xaa3c7a(0x1a5)]());}class _0x3d9cc8 extends _0x3b7797['Shape']{constructor(_0x51eb36,_0x330a43){const _0x269a08=_0x453404;super(_0x51eb36,_0x330a43),_0x4ff54d(this,_0x269a08(0x198)),_0x4ff54d(this,_0x269a08(0x1d2)),(this['color']=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x198)],this[_0x269a08(0x1d2)]=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x1d2)]);}static['drawWith'](_0x5d1d10,_0x7b080){const _0x452737=_0x453404,{text:_0x3dacb4,color:_0xc4ba17}=_0x7b080;_0x5d1d10['save'](),_0x5d1d10[_0x452737(0x1ce)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2426a1=_0x5d1d10['measureText'](_0x3dacb4)[_0x452737(0x1ea)],_0x3ecf0f=Math[_0x452737(0x173)](_0x2426a1+0x2*_0x4c361e,_0x59e901);_0x351980(_0x5d1d10,{'height':_0x3726df,'radius':0x4,'width':_0x3ecf0f,'fill':_0xc4ba17}),_0x5d1d10[_0x452737(0x33f)]='#FFF';const _0x19cc6a=_0x4c361e,_0x5733ab=_0x3726df-_0x38d9ce,_0x411c38=_0x59e901-0x2*_0x4c361e;if(_0x2426a1>_0x411c38){let _0x28d4a8='',_0xbd04d7=0x0;for(const _0x307506 of _0x3dacb4){const _0x475a14=_0x5d1d10[_0x452737(0x34c)](_0x307506)[_0x452737(0x1ea)];if(_0xbd04d7+_0x475a14<=_0x411c38-_0x5d1d10[_0x452737(0x34c)](_0x452737(0x157))['width'])_0x28d4a8+=_0x307506,_0xbd04d7+=_0x475a14;else{_0x28d4a8+=_0x452737(0x157);break;}}_0x5d1d10[_0x452737(0x3a6)](_0x28d4a8,_0x19cc6a,_0x5733ab);}else _0x5d1d10['fillText'](_0x3dacb4,_0x19cc6a,_0x5733ab);_0x5d1d10['restore']();}[_0x453404(0x3b3)](_0x5dc014){const _0x30b4e9=_0x453404;_0x3d9cc8[_0x30b4e9(0x36f)](_0x5dc014,this);}}const _0x2ac1ab=_0x453404(0x34f),_0x331699=_0x453404(0x2ea),_0xa403c5='collab-rect-range-',_0x369598=0x6,_0x15ca39=1.5,_0x4f36f5=0x4,_0x455014=1.5,_0x113691=_0x453404(0x3b2);class _0x3ec89e{constructor(_0x11c317,_0x3a70ed,_0x3b085d,_0x258846){const _0x51bbcd=_0x453404;_0x4ff54d(this,_0x51bbcd(0x274),[]),_0x4ff54d(this,_0x51bbcd(0x3ab),null),_0x4ff54d(this,_0x51bbcd(0x368),null),_0x4ff54d(this,'_anchorDot',null),_0x4ff54d(this,_0x51bbcd(0x158),null),_0x4ff54d(this,_0x51bbcd(0x271),null),(this[_0x51bbcd(0x31c)]=_0x11c317,this[_0x51bbcd(0x3ae)]=_0x3a70ed,this[_0x51bbcd(0x2c6)]=_0x3b085d,this[_0x51bbcd(0x1c7)]=_0x258846,this[_0x51bbcd(0x19f)]());}set[_0x453404(0x192)](_0x3eb2c3){const _0x1aaaf2=_0x453404;_0x3eb2c3?(this[_0x1aaaf2(0x14c)]&&this[_0x1aaaf2(0x14c)][_0x1aaaf2(0x355)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x1aaaf2(0x14c)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}['dispose'](){const _0x392413=_0x453404;for(const _0xb3b5e7 of this['_shapes'])_0xb3b5e7[_0x392413(0x3aa)]();this[_0x392413(0x368)]&&this[_0x392413(0x368)][_0x392413(0x3aa)](),this[_0x392413(0x14c)]&&this[_0x392413(0x14c)][_0x392413(0x3aa)](),this['_anchor']&&this[_0x392413(0x3ab)][_0x392413(0x3aa)](),this[_0x392413(0x271)]&&this[_0x392413(0x271)]();}[_0x453404(0x19f)](){const _0x566c39=_0x453404;var _0x4c1483;const {_docSkeleton:_0x13155b,_document:_0x447cf5}=this,{color:_0x46e4b3,name:_0x544d54,ranges:_0x58fc01}=this['_cursor'],_0x37bc9a=_0x447cf5[_0x566c39(0x149)](),{docsLeft:_0x58a10c,docsTop:_0x4f3def}=_0x37bc9a,_0x361fc8=new _0x229cdf[(_0x566c39(0x354))](_0x37bc9a,_0x13155b);for(const {startOffset:_0x2e5ed9,endOffset:_0x21912d,rangeType:_0x40e680,segmentId:_0x5f32fc,segmentPage:_0x5acf46,collapsed:_0xc3401,isActive:_0x4e7ab1}of _0x58fc01){const _0x5d60bd=_0x13155b[_0x566c39(0x1e2)](_0x2e5ed9,!0x0,_0x5f32fc,_0x5acf46);let _0x39c3bc=_0x13155b[_0x566c39(0x1e2)](_0x21912d,!0x0,_0x5f32fc,_0x5acf46);if(_0x39c3bc==null&&(_0x39c3bc=_0x13155b['findNodePositionByCharIndex'](_0x21912d-0x1,!0x1,_0x5f32fc,_0x5acf46)),_0x4e7ab1){const {contentBoxPointGroup:_0x3fb8e5}=_0x361fc8['getRangePointData'](_0x39c3bc,_0x39c3bc);if(_0x3fb8e5['length']===0x0)continue;this[_0x566c39(0x374)](_0x46e4b3,_0x3fb8e5,_0x58a10c,_0x4f3def,_0x544d54),this[_0x566c39(0x271)]=this[_0x566c39(0x2b8)]();}if(_0x5d60bd&&_0x39c3bc){if(_0x40e680===_0x13023b[_0x566c39(0x12a)][_0x566c39(0x124)]){const _0x2510e6=new _0x229cdf[(_0x566c39(0x1cc))](_0x37bc9a,_0x13155b),{pointGroup:_0x3eecec}=(_0x4c1483=_0x2510e6[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc))!=null?_0x4c1483:{};if(_0x3eecec==null||_0x3eecec[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x17f)](_0x46e4b3,_0x3eecec,_0x58a10c,_0x4f3def);}else{if(!_0xc3401){const {borderBoxPointGroup:_0x5c0818}=_0x361fc8[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc);if(_0x5c0818[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x2d1)](_0x46e4b3,_0x5c0818,_0x58a10c,_0x4f3def);}}}}}['_drawAnchor'](_0x3ddab4,_0x224f7f,_0x4e23e0,_0x25a872,_0x279638){const _0x5748ec=_0x453404,_0x44514=this[_0x5748ec(0x1ec)](_0x224f7f),{left:_0x346b93,top:_0x11bcf9,height:_0x3656f5}=_0x44514,_0x2c9203=this[_0x5748ec(0x134)](),_0x27c8aa=_0x455014/_0x2c9203,_0xdf9036=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b[_0x5748ec(0x338)](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872,'height':_0x3656f5,'width':_0x15ca39,'fill':_0x3ddab4||_0x3b7797['getColor'](_0x13023b['COLORS'][_0x5748ec(0x296)],0x0),'strokeWidth':_0x27c8aa,'stroke':_0x113691,'evented':!0x0});this[_0x5748ec(0x3ab)]=_0xdf9036,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xdf9036,_0x229cdf[_0x5748ec(0x28c)]);const _0x1ff351=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x4f36f5/0x2,'height':_0x4f36f5,'width':_0x4f36f5,'fill':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)][_0x5748ec(0x296)],0x0),'strokeWidth':0x0,'stroke':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)]['black'],0x0),'evented':!0x1});this[_0x5748ec(0x14c)]=_0x1ff351,this['_scene']['addObject'](_0x1ff351,_0x229cdf[_0x5748ec(0x28c)]);const _0xa78a30=new _0x3d9cc8(_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x3726df,'text':_0x279638,'color':_0x3ddab4});this[_0x5748ec(0x368)]=_0xa78a30,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xa78a30,_0x229cdf[_0x5748ec(0x28c)]),this[_0x5748ec(0x192)]=!0x1;}['_handleHover'](){const _0x5567ba=_0x453404,_0x150974=this['_anchor'][_0x5567ba(0x3a5)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x448de9=this[_0x5567ba(0x3ab)][_0x5567ba(0x292)]['subscribeEvent'](()=>{const _0x42fa82=_0x5567ba;this[_0x42fa82(0x158)]&&clearTimeout(this[_0x42fa82(0x158)]),this[_0x42fa82(0x158)]=setTimeout(()=>{const _0x4e7a66=_0x42fa82;this[_0x4e7a66(0x192)]=!0x1;},0x7d0);});return()=>{const _0x29902f=_0x5567ba;_0x150974[_0x29902f(0x3a1)](),_0x448de9[_0x29902f(0x3a1)]();};}[_0x453404(0x2d1)](_0x4381e6,_0x34eb42,_0x3ee1a8,_0x13d5e0){const _0x54bb0b=_0x453404,_0x53235b=new _0x13023b['ColorKit'](_0x4381e6)[_0x54bb0b(0x1ed)](0.2)[_0x54bb0b(0x2a9)](),_0x496a47=new _0x3b7797['RegularPolygon'](_0x331699+_0x13023b[_0x54bb0b(0x338)](_0x369598),{'pointsGroup':_0x34eb42,'fill':_0x53235b||_0x3b7797[_0x54bb0b(0x208)](_0x13023b[_0x54bb0b(0x384)][_0x54bb0b(0x296)],0.2),'left':_0x3ee1a8,'top':_0x13d5e0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54bb0b(0x274)][_0x54bb0b(0x1fe)](_0x496a47),this[_0x54bb0b(0x3ae)]['addObject'](_0x496a47,_0x229cdf[_0x54bb0b(0x28c)]);}['_drawRectRange'](_0xf26c00,_0x277320,_0x3b30b7,_0x56271d){const _0x37be23=_0x453404,_0x5e4f05=new _0x13023b[(_0x37be23(0x13f))](_0xf26c00)[_0x37be23(0x1ed)](0.2)[_0x37be23(0x2a9)](),_0x2c2dd3=new _0x3b7797[(_0x37be23(0x259))](_0xa403c5+_0x13023b['generateRandomId'](_0x369598),{'pointsGroup':_0x277320,'fill':_0x5e4f05||_0x3b7797[_0x37be23(0x208)](_0x13023b['COLORS'][_0x37be23(0x296)],0.2),'left':_0x3b30b7,'top':_0x56271d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37be23(0x1fe)](_0x2c2dd3),this[_0x37be23(0x3ae)][_0x37be23(0x396)](_0x2c2dd3,_0x229cdf[_0x37be23(0x28c)]);}[_0x453404(0x1ec)](_0x4cb6d0){const _0x537e81=_0x4cb6d0[0x0],_0x3910d8=_0x537e81[0x0],_0x8eb559=_0x537e81[0x2],{x:_0x1e9908,y:_0x578db2}=_0x3910d8,{x:_0x4ef325,y:_0x40cbbb}=_0x8eb559;return{'left':_0x1e9908,'top':_0x578db2,'width':_0x4ef325-_0x1e9908,'height':_0x40cbbb-_0x578db2};}[_0x453404(0x134)](){const _0x295e74=_0x453404,{scaleX:_0x93b5ea,scaleY:_0x3c8ccb}=this[_0x295e74(0x3ae)][_0x295e74(0x35c)]();return Math[_0x295e74(0x15c)](_0x93b5ea,_0x3c8ccb);}}var _0x550765=Object[_0x453404(0x23f)],_0x23ed2a=(_0x403adb,_0x1529e2,_0x1c4a4c,_0xc7b5ff)=>{const _0x526571=_0x453404;for(var _0x56ff1e=_0xc7b5ff>0x1?void 0x0:_0xc7b5ff?_0x550765(_0x1529e2,_0x1c4a4c):_0x1529e2,_0x3fd1c3=_0x403adb[_0x526571(0x2f8)]-0x1,_0x462392;_0x3fd1c3>=0x0;_0x3fd1c3--)(_0x462392=_0x403adb[_0x3fd1c3])&&(_0x56ff1e=_0x462392(_0x56ff1e)||_0x56ff1e);return _0x56ff1e;},_0x5c19fc=(_0x24650a,_0x4e6d1c)=>(_0x1b6560,_0x17c2d7)=>_0x4e6d1c(_0x1b6560,_0x17c2d7,_0x24650a);let _0x4b6396=class extends _0x13023b['RxDisposable']{constructor(_0x3e4867,_0x132aca,_0x2fbf48,_0x423243,_0x4e3220){const _0x1a50d0=_0x453404;super(),_0x4ff54d(this,'_cursorShapes',[]),_0x4ff54d(this,_0x1a50d0(0x204),[]),(this[_0x1a50d0(0x30d)]=_0x3e4867,this[_0x1a50d0(0x270)]=_0x132aca,this['_collabCursorController']=_0x2fbf48,this[_0x1a50d0(0x27b)]=_0x423243,this['_themeService']=_0x4e3220,this[_0x1a50d0(0x224)]());}['_init'](){const _0x137611=_0x453404,_0x309127=this[_0x137611(0x30d)][_0x137611(0x2e4)],_0x101150=this['_docSkeletonManagerService'];this[_0x137611(0x2bf)](_0xe0366[_0x137611(0x2fe)]([this[_0x137611(0x23e)][_0x137611(0x267)](_0x309127),this['_themeService']['currentTheme$']])[_0x137611(0x35a)](_0x1a2632[_0x137611(0x246)](([_0x391e8f,_0x226940])=>({'skeleton':_0x101150[_0x137611(0x1dd)](),'cursors':[..._0x391e8f[_0x137611(0x218)]()]['flatMap'](_0x4ae734=>({..._0x4ae734,'color':this['_themeService'][_0x137611(0x191)](_0x4ae734[_0x137611(0x198)])}))})))['subscribe'](_0x40a453=>{const _0x3317ef=_0x137611;if(this[_0x3317ef(0x147)](),_0x40a453){const {skeleton:_0x43eb4f,cursors:_0x25bc5c}=_0x40a453;this['_updateCollabCursors'](_0x43eb4f,_0x25bc5c);}})),this[_0x137611(0x30a)](),this[_0x137611(0x3a3)]();}[_0x453404(0x340)](_0xbd93b0,_0x1c043e){const _0x5e4e9a=_0x453404,{scene:_0x2daad2,mainComponent:_0x1742a5}=this[_0x5e4e9a(0x30d)],_0x32019c=_0x1c043e[_0x5e4e9a(0x246)](_0x4be90f=>new _0x3ec89e(_0x4be90f,_0x2daad2,_0xbd93b0,_0x1742a5));this['_cursorShapes']=_0x32019c,this[_0x5e4e9a(0x204)]=_0x1c043e;}['_refreshCollabCursors'](){const _0xa92ff5=_0x453404;this['_removeCollabCursors']();const {scene:_0x372d6c,mainComponent:_0x4a8650}=this[_0xa92ff5(0x30d)],_0x2ca44f=this['_docSkeletonManagerService'][_0xa92ff5(0x1dd)](),_0x5295f5=this[_0xa92ff5(0x204)]['map'](_0x374c7f=>new _0x3ec89e(_0x374c7f,_0x372d6c,_0x2ca44f,_0x4a8650));this['_cursorShapes']=_0x5295f5;}[_0x453404(0x147)](){const _0x12aca5=_0x453404;this[_0x12aca5(0x37a)][_0x12aca5(0x136)](_0x32148f=>_0x32148f[_0x12aca5(0x3aa)]()),this[_0x12aca5(0x37a)]=[];}[_0x453404(0x3a3)](){const _0x594033=_0x453404,_0x3877e1=[_0x229cdf['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x594033(0x27b)]['onCommandExecuted'](_0x2bac85=>{const _0x3f528e=_0x594033;_0x3877e1[_0x3f528e(0x11e)](_0x2bac85['id'])&&_0x2bac85[_0x3f528e(0x1fd)]['unitId']===this[_0x3f528e(0x30d)]['unitId']&&this[_0x3f528e(0x25c)]();}));}[_0x453404(0x30a)](){const _0x316a54=_0x453404;this[_0x316a54(0x2bf)](_0x13023b[_0x316a54(0x356)](this[_0x316a54(0x30d)][_0x316a54(0x25b)][_0x316a54(0x21e)])[_0x316a54(0x35a)](_0x1a2632[_0x316a54(0x325)](_0xaaac89=>_0xaaac89[_0x316a54(0x335)]===_0x3b7797['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1a2632[_0x316a54(0x272)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x4b6396=_0x23ed2a([_0x5c19fc(0x1,_0x13023b[_0x453404(0x175)](_0x3679f8[_0x453404(0x258)])),_0x5c19fc(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x5c19fc(0x3,_0x13023b[_0x453404(0x2a5)]),_0x5c19fc(0x4,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x36c)]))],_0x4b6396);const _0x4798c9=0x1,_0xdf9837=1.5;class _0x2b9a5f extends _0x3b7797[_0x453404(0x385)]{constructor(_0x46f410,_0x75f95e){const _0x1d2550=_0x453404;super(_0x46f410,_0x75f95e),_0x4ff54d(this,'_color'),_0x4ff54d(this,'_hovered',!0x1),_0x4ff54d(this,'_range'),_0x4ff54d(this,_0x1d2550(0x1c5),''),_0x4ff54d(this,_0x1d2550(0x363),_0x1d2550(0x199)),_0x4ff54d(this,_0x1d2550(0x23c)),(_0x75f95e&&this[_0x1d2550(0x2b3)](_0x75f95e),this[_0x1d2550(0x3a5)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x0})),this[_0x1d2550(0x292)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x1})));}[_0x453404(0x2b3)](_0x145a73){const _0x2e3243=_0x453404;var _0x23c0de,_0x1049c8,_0x195889,_0x35a2fe,_0x1f6767,_0x286fe8;this[_0x2e3243(0x197)]=(_0x23c0de=_0x145a73[_0x2e3243(0x198)])!=null?_0x23c0de:this[_0x2e3243(0x197)],this[_0x2e3243(0x17b)]=(_0x1049c8=_0x145a73[_0x2e3243(0x172)])!=null?_0x1049c8:this['_hovered'],this[_0x2e3243(0x2cf)]=(_0x195889=_0x145a73['range'])!=null?_0x195889:this[_0x2e3243(0x2cf)],this[_0x2e3243(0x1c5)]=(_0x35a2fe=_0x145a73[_0x2e3243(0x18b)])!=null?_0x35a2fe:this['_name'],this[_0x2e3243(0x363)]=(_0x1f6767=_0x145a73['labelPosition'])!=null?_0x1f6767:this[_0x2e3243(0x363)],this[_0x2e3243(0x23c)]=(_0x286fe8=_0x145a73[_0x2e3243(0x36b)])!=null?_0x286fe8:this[_0x2e3243(0x23c)],this['transformByState']({'width':_0x145a73[_0x2e3243(0x1ea)],'height':_0x145a73[_0x2e3243(0x1bc)]});}[_0x453404(0x373)](_0x5c9646){const _0x2bd9b6=_0x453404,{row:_0x1de3ae,column:_0x1e2564}=_0x5c9646;if(_0x1de3ae>=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x162)]&&_0x1de3ae<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x2bd)]&&_0x1e2564>=this[_0x2bd9b6(0x2cf)]['startColumn']&&_0x1e2564<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x24f)]){this[_0x2bd9b6(0x2b3)]({'hovered':!0x0});return;}this[_0x2bd9b6(0x2b3)]({'hovered':!0x1});}['triggerDblclick'](_0x4fb8bd){return!0x1;}['_draw'](_0x4b1269){const _0x8d3219=_0x453404;_0x3b7797[_0x8d3219(0x237)][_0x8d3219(0x36f)](_0x4b1269,{'width':this[_0x8d3219(0x1ea)],'height':this['height'],'strokeWidth':_0xdf9837,'stroke':this[_0x8d3219(0x197)],'evented':!0x1,'fill':this[_0x8d3219(0x23c)]}),this[_0x8d3219(0x17b)]&&(_0x4b1269[_0x8d3219(0x16f)](),_0x4b1269['transform'](0x1,0x0,0x0,0x1,this[_0x8d3219(0x1ea)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x3d9cc8['drawWith'](_0x4b1269,{'text':this['_name'],'color':this[_0x8d3219(0x197)]}),_0x4b1269[_0x8d3219(0x1a5)]());}}var _0xb48789=Object['getOwnPropertyDescriptor'],_0x1e584f=(_0x587f08,_0x41b72d,_0x53950b,_0x47c52f)=>{const _0x1d9c32=_0x453404;for(var _0x84afcb=_0x47c52f>0x1?void 0x0:_0x47c52f?_0xb48789(_0x41b72d,_0x53950b):_0x41b72d,_0x3ecbf8=_0x587f08[_0x1d9c32(0x2f8)]-0x1,_0x51a6b6;_0x3ecbf8>=0x0;_0x3ecbf8--)(_0x51a6b6=_0x587f08[_0x3ecbf8])&&(_0x84afcb=_0x51a6b6(_0x84afcb)||_0x84afcb);return _0x84afcb;},_0x44ba04=(_0x2b972b,_0x53ab9c)=>(_0x2ffe76,_0x29ffdc)=>_0x53ab9c(_0x2ffe76,_0x29ffdc,_0x2b972b);const _0x62bc62=0x1389;let _0x53e774=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1fab6d,_0xcc1447,_0x54b9d6,_0x2bf3c5){const _0x4eea35=_0x453404;super(),_0x4ff54d(this,'_cursors',new Set()),_0x4ff54d(this,'_lastPointer',null),(this[_0x4eea35(0x30d)]=_0x1fab6d,this[_0x4eea35(0x12b)]=_0xcc1447,this[_0x4eea35(0x23e)]=_0x54b9d6,this['_themeService']=_0x2bf3c5,this[_0x4eea35(0x224)]());}['_init'](){const _0xf8f795=_0x453404;this[_0xf8f795(0x12b)]['currentSkeleton$'][_0xf8f795(0x35a)](_0x1a2632[_0xf8f795(0x2ba)](this[_0xf8f795(0x1e3)]),_0x1a2632[_0xf8f795(0x1a2)](_0x409805=>{const _0x5a5dbf=_0xf8f795;if(_0x409805){const _0x543f86=_0x409805[_0x5a5dbf(0x295)];return _0xe0366[_0x5a5dbf(0x2fe)](this[_0x5a5dbf(0x23e)]['getCollabCursors$'](this['_context']['unitId']),this[_0x5a5dbf(0x3a7)][_0x5a5dbf(0x166)])[_0x5a5dbf(0x35a)](_0x1a2632['map'](([_0x38649b,_0x1a18e7])=>{const _0xe3c2c1=_0x5a5dbf,_0x15e91e=new Map();return _0x38649b[_0xe3c2c1(0x136)]((_0x1a97ad,_0x5a778c)=>{const _0x15f673=_0xe3c2c1;if(_0x1a97ad[_0x15f673(0x255)]===_0x543f86){const _0x1bd32c={..._0x1a97ad};_0x1bd32c['color']=this['_themeService'][_0x15f673(0x191)](_0x1a97ad[_0x15f673(0x198)]),_0x15e91e[_0x15f673(0x2ca)](_0x5a778c,_0x1bd32c);}}),{'skeleton':_0x409805,'cursors':_0x15e91e};}));}return _0xe0366['of']({'skeleton':null,'cursors':new Map()});}))[_0xf8f795(0x310)](({skeleton:_0x1258fa,cursors:_0x3e5f2f})=>{const _0xc8da73=_0xf8f795;this['_removeCollabCursors'](),_0x1258fa&&this[_0xc8da73(0x340)](_0x1258fa,_0x3e5f2f);}),this[_0xf8f795(0x12b)][_0xf8f795(0x353)][_0xf8f795(0x310)](_0x35a31c=>{const _0x1c84e8=_0xf8f795;if(_0x35a31c==null)return;const {skeleton:_0x5a57b7}=_0x35a31c,{scene:_0xe0fbd9}=this['_context'];_0xe0fbd9['onPointerMove$'][_0x1c84e8(0x220)](_0x13023b[_0x1c84e8(0x121)](_0x409d9f=>{const _0x3d7a1f=_0x1c84e8;var _0x1e1e4c,_0x5457b8;const {offsetX:_0x53f335,offsetY:_0x5cb88f}=_0x409d9f,{x:_0x42bac5,y:_0x32be3a}=_0xe0fbd9[_0x3d7a1f(0x284)](_0x3b7797[_0x3d7a1f(0x125)]['FromArray']([_0x53f335,_0x5cb88f])),{scaleX:_0x3f2346,scaleY:_0x361087}=_0xe0fbd9[_0x3d7a1f(0x35c)](),_0x25dc8d=_0xe0fbd9[_0x3d7a1f(0x34b)](_0x3b7797[_0x3d7a1f(0x15a)][_0x3d7a1f(0x207)]),_0x6ef5a2=_0xe0fbd9[_0x3d7a1f(0x341)](_0x3b7797[_0x3d7a1f(0x125)][_0x3d7a1f(0x163)]([_0x42bac5,_0x32be3a]),_0x25dc8d),_0x602ea4=_0x5a57b7['getCellPositionByOffset'](_0x53f335,_0x5cb88f,_0x3f2346,_0x361087,_0x6ef5a2);((_0x1e1e4c=this['_lastPointer'])==null?void 0x0:_0x1e1e4c[_0x3d7a1f(0x213)])===_0x602ea4[_0x3d7a1f(0x213)]&&((_0x5457b8=this['_lastPointer'])==null?void 0x0:_0x5457b8[_0x3d7a1f(0x365)])===_0x602ea4['row']||this[_0x3d7a1f(0x204)][_0x3d7a1f(0x136)](_0x418430=>{_0x418430['onMouseMove'](_0x602ea4);});},0x64));});}[_0x453404(0x340)](_0x4ad565,_0x4ebafe){const _0x5b6f18=_0x453404;var _0x40ac82;const _0x99e3a3=(_0x40ac82=this[_0x5b6f18(0x12b)]['getCurrent']())==null?void 0x0:_0x40ac82[_0x5b6f18(0x334)];if(!_0x99e3a3)return;const _0x1c3e31=this['_getSheetObject']();if(!_0x1c3e31)return;this[_0x5b6f18(0x204)][_0x5b6f18(0x136)](_0x3341fe=>{const _0x2c3472=_0x5b6f18;_0x3341fe[_0x2c3472(0x2a1)]();});const {scene:_0x5673b8}=_0x1c3e31,_0xf0f9a7=_0x1ed3b3(Array[_0x5b6f18(0x239)](_0x4ebafe[_0x5b6f18(0x218)]()))['map'](_0x56cbfb=>{const _0x1309c8=_0x5b6f18,{color:_0x446e5f,range:_0x255910,name:_0x1df6c5,selection:_0xbc4c33,sheetID:_0x2f5525}=_0x56cbfb,{startColumn:_0x3fd78b,startRow:_0x2e4ee8,endColumn:_0xe915da,endRow:_0x1ac331}=_0x255910,_0x5db8ad=_0x128c44[_0x1309c8(0x21f)](_0x2e4ee8,_0x3fd78b,_0x5673b8,_0x99e3a3),_0x54d8dd=_0x128c44[_0x1309c8(0x21f)](_0x1ac331,_0xe915da,_0x5673b8,_0x99e3a3),{columnHeaderHeightAndMarginTop:_0xdcba6}=_0x99e3a3,{startX:_0x1e0e30,startY:_0x50be1c}=_0x5db8ad,{endX:_0xf08d8b,endY:_0x248b03}=_0x54d8dd,_0x2ca8a9=_0xf08d8b-_0x1e0e30,_0x2c84b8=_0x248b03-_0x50be1c,_0x3777f4={'labelPosition':_0x50be1c-_0xdcba6>=_0x3726df?_0x1309c8(0x199):'bottom','sheetID':_0x2f5525,'range':_0x255910,'color':_0x446e5f,'name':_0x1df6c5,'selection':_0xbc4c33,'left':_0x1e0e30,'top':_0x50be1c,'width':_0x2ca8a9,'height':_0x2c84b8,'evented':!0x1,'zIndex':_0x62bc62};return new _0x2b9a5f(_0x1df6c5,_0x3777f4);});_0x5673b8[_0x5b6f18(0x2e5)](_0xf0f9a7,_0x4798c9),this[_0x5b6f18(0x204)]=new Set(_0xf0f9a7);}['_removeCollabCursors'](){const _0x5ccade=_0x453404;var _0xa94bb1;(_0xa94bb1=this[_0x5ccade(0x204)])==null||_0xa94bb1[_0x5ccade(0x136)](_0x3c4064=>_0x3c4064[_0x5ccade(0x3aa)]());}[_0x453404(0x27f)](){const _0x22b4d7=_0x453404;return _0x128c44[_0x22b4d7(0x2a7)](this[_0x22b4d7(0x30d)][_0x22b4d7(0x35b)],this[_0x22b4d7(0x30d)]);}};_0x53e774=_0x1e584f([_0x44ba04(0x1,_0x13023b['Inject'](_0x128c44[_0x453404(0x1b6)])),_0x44ba04(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x44ba04(0x3,_0x13023b['Inject'](_0x13023b[_0x453404(0x36c)]))],_0x53e774);function _0x1ed3b3(_0x418ea7){const _0x2d4163=_0x453404,_0x3fcc1f=new Map();return _0x418ea7['forEach'](_0x43f093=>{const _0x40b337=_0x3ea2;if(_0x3fcc1f[_0x40b337(0x138)](_0x43f093[_0x40b337(0x1b1)])){const _0x2c9fa2=_0x3fcc1f[_0x40b337(0x28f)](_0x43f093[_0x40b337(0x1b1)]);_0x2c9fa2[_0x40b337(0x18b)]+=',\x20'+_0x43f093[_0x40b337(0x18b)];}else _0x3fcc1f[_0x40b337(0x2ca)](_0x43f093[_0x40b337(0x1b1)],_0x43f093);}),Array[_0x2d4163(0x239)](_0x3fcc1f[_0x2d4163(0x218)]());}var _0x3a4410=function(){const _0x15ac3a=_0x453404;return _0x3a4410=Object[_0x15ac3a(0x1b9)]||function(_0x46a331){const _0x313eb2=_0x15ac3a;for(var _0x8e981a,_0x8e6ff3=0x1,_0x4870d6=arguments[_0x313eb2(0x2f8)];_0x8e6ff3<_0x4870d6;_0x8e6ff3++){_0x8e981a=arguments[_0x8e6ff3];for(var _0x310f73 in _0x8e981a)Object[_0x313eb2(0x2e1)][_0x313eb2(0x37f)][_0x313eb2(0x333)](_0x8e981a,_0x310f73)&&(_0x46a331[_0x310f73]=_0x8e981a[_0x310f73]);}return _0x46a331;},_0x3a4410[_0x15ac3a(0x31b)](this,arguments);},_0x1abbb1=function(_0x204e1c,_0x8d71aa){const _0x401e06=_0x453404;var _0xf07439={};for(var _0x41cb0a in _0x204e1c)Object['prototype'][_0x401e06(0x37f)][_0x401e06(0x333)](_0x204e1c,_0x41cb0a)&&_0x8d71aa['indexOf'](_0x41cb0a)<0x0&&(_0xf07439[_0x41cb0a]=_0x204e1c[_0x41cb0a]);if(_0x204e1c!=null&&typeof Object[_0x401e06(0x36a)]=='function'){for(var _0x2ec74a=0x0,_0x41cb0a=Object[_0x401e06(0x36a)](_0x204e1c);_0x2ec74a<_0x41cb0a[_0x401e06(0x2f8)];_0x2ec74a++)_0x8d71aa[_0x401e06(0x140)](_0x41cb0a[_0x2ec74a])<0x0&&Object[_0x401e06(0x2e1)]['propertyIsEnumerable'][_0x401e06(0x333)](_0x204e1c,_0x41cb0a[_0x2ec74a])&&(_0xf07439[_0x41cb0a[_0x2ec74a]]=_0x204e1c[_0x41cb0a[_0x2ec74a]]);}return _0xf07439;},_0x3d7b6f=_0x52afd9[_0x453404(0x1af)](function(_0x46f246,_0x6a652c){const _0x5ad94d=_0x453404;var _0x239231=_0x46f246['icon'],_0x5af7f8=_0x46f246['id'],_0x574b43=_0x46f246[_0x5ad94d(0x25d)],_0x5c5f90=_0x46f246['extend'],_0x17d7a4=_0x1abbb1(_0x46f246,[_0x5ad94d(0x1bd),'id',_0x5ad94d(0x25d),_0x5ad94d(0x31f)]),_0x45c63b=_0x5ad94d(0x38d)[_0x5ad94d(0x195)](_0x5af7f8,'\x20')['concat'](_0x574b43||'')[_0x5ad94d(0x2a3)](),_0x3d8e88=_0x52afd9[_0x5ad94d(0x32a)]('_'[_0x5ad94d(0x195)](_0x550c99()));return _0x3831f1(_0x239231,''[_0x5ad94d(0x195)](_0x5af7f8),{'defIds':_0x239231[_0x5ad94d(0x2b5)],'idSuffix':_0x3d8e88[_0x5ad94d(0x3a4)]},_0x3a4410({'ref':_0x6a652c,'className':_0x45c63b},_0x17d7a4),_0x5c5f90);});function _0x3831f1(_0x566a23,_0x5ed6ab,_0xc3116a,_0x130a2f,_0x3377ae){const _0x3c8dcc=_0x453404;return _0x52afd9[_0x3c8dcc(0x1df)](_0x566a23[_0x3c8dcc(0x376)],_0x3a4410(_0x3a4410({'key':_0x5ed6ab},_0x4ab455(_0x566a23,_0xc3116a,_0x3377ae)),_0x130a2f),(_0x474f75(_0x566a23,_0xc3116a)[_0x3c8dcc(0x13d)]||[])['map'](function(_0x1fb875,_0x2aa6b9){const _0x4cd8c8=_0x3c8dcc;return _0x3831f1(_0x1fb875,''[_0x4cd8c8(0x195)](_0x5ed6ab,'-')[_0x4cd8c8(0x195)](_0x566a23[_0x4cd8c8(0x376)],'-')['concat'](_0x2aa6b9),_0xc3116a,void 0x0,_0x3377ae);}));}function _0x4ab455(_0x4d39fd,_0x2fc351,_0x4750ad){const _0x14d53d=_0x453404;var _0x1c78a2=_0x3a4410({},_0x4d39fd['attrs']);_0x4750ad!=null&&_0x4750ad['colorChannel1']&&_0x1c78a2[_0x14d53d(0x26c)]===_0x14d53d(0x29e)&&(_0x1c78a2[_0x14d53d(0x26c)]=_0x4750ad[_0x14d53d(0x29e)]),_0x4d39fd[_0x14d53d(0x376)]===_0x14d53d(0x2f6)&&_0x1c78a2['id']&&(_0x1c78a2['id']=_0x1c78a2['id']+_0x2fc351['idSuffix']),Object[_0x14d53d(0x11c)](_0x1c78a2)[_0x14d53d(0x136)](function(_0x1de856){const _0x29b554=_0x14d53d;var _0x91aed8=_0x1de856[0x0],_0x235781=_0x1de856[0x1];_0x91aed8===_0x29b554(0x2f6)&&typeof _0x235781==_0x29b554(0x209)&&(_0x1c78a2[_0x91aed8]=_0x235781[_0x29b554(0x329)](/url\(#(.*)\)/,'url(#$1'[_0x29b554(0x195)](_0x2fc351['idSuffix'],')')));});var _0x281372=_0x2fc351[_0x14d53d(0x2b5)];return!_0x281372||_0x281372[_0x14d53d(0x2f8)]===0x0||(_0x4d39fd['tag']===_0x14d53d(0x18e)&&_0x1c78a2[_0x14d53d(0x1d4)]&&(_0x1c78a2[_0x14d53d(0x1d4)]=_0x1c78a2[_0x14d53d(0x1d4)]+_0x2fc351['idSuffix']),Object['entries'](_0x1c78a2)[_0x14d53d(0x136)](function(_0x5e86a8){const _0x3f4a36=_0x14d53d;var _0xe5df5a=_0x5e86a8[0x0],_0x1b28a6=_0x5e86a8[0x1];typeof _0x1b28a6==_0x3f4a36(0x209)&&(_0x1c78a2[_0xe5df5a]=_0x1b28a6[_0x3f4a36(0x329)](/url\(#(.*)\)/,_0x3f4a36(0x16a)[_0x3f4a36(0x195)](_0x2fc351[_0x3f4a36(0x2c8)],')')));})),_0x1c78a2;}function _0x474f75(_0x32d3eb,_0x377dd8){const _0x4e2276=_0x453404;var _0x1b4f44,_0x84fb7f=_0x377dd8[_0x4e2276(0x2b5)];return!_0x84fb7f||_0x84fb7f[_0x4e2276(0x2f8)]===0x0?_0x32d3eb:_0x32d3eb['tag']===_0x4e2276(0x1e5)&&(!((_0x1b4f44=_0x32d3eb[_0x4e2276(0x13d)])===null||_0x1b4f44===void 0x0)&&_0x1b4f44[_0x4e2276(0x2f8)])?_0x3a4410(_0x3a4410({},_0x32d3eb),{'children':_0x32d3eb[_0x4e2276(0x13d)][_0x4e2276(0x246)](function(_0x18844a){const _0x3f0d2c=_0x4e2276;return typeof _0x18844a['attrs']['id']=='string'&&_0x84fb7f&&_0x84fb7f[_0x3f0d2c(0x11e)](_0x18844a[_0x3f0d2c(0x397)]['id'])?_0x3a4410(_0x3a4410({},_0x18844a),{'attrs':_0x3a4410(_0x3a4410({},_0x18844a[_0x3f0d2c(0x397)]),{'id':_0x18844a['attrs']['id']+_0x377dd8[_0x3f0d2c(0x2c8)]})}):_0x18844a;})}):_0x32d3eb;}function _0x550c99(){const _0xc7db21=_0x453404;return Math[_0xc7db21(0x324)]()[_0xc7db21(0x168)](0x24)[_0xc7db21(0x251)](0x2,0x8);}_0x3d7b6f[_0x453404(0x289)]=_0x453404(0x16c);var _0x31269c={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x375),'width':'1em','height':_0x453404(0x235)},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x2ab)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x453404(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':_0x453404(0x1e5),'attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372)}}]}]}],'defIds':[_0x453404(0x1db)]},_0x3cebac=_0x52afd9[_0x453404(0x1af)](function(_0x4bf4b7,_0x1dbdb0){const _0x25f3d1=_0x453404;return _0x52afd9[_0x25f3d1(0x1df)](_0x3d7b6f,Object[_0x25f3d1(0x1b9)]({},_0x4bf4b7,{'id':'off-line-icon','ref':_0x1dbdb0,'icon':_0x31269c}));});_0x3cebac[_0x453404(0x289)]=_0x453404(0x1ab);var _0x371317={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x347),'width':_0x453404(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x29a)},'children':[{'tag':_0x453404(0x3ac),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x453404(0x281),'strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372),'transform':_0x453404(0x141)}}]}]}],'defIds':[_0x453404(0x323)]},_0x5abf6d=_0x52afd9[_0x453404(0x1af)](function(_0x5d4e1a,_0x493604){const _0x4f7fe9=_0x453404;return _0x52afd9['createElement'](_0x3d7b6f,Object[_0x4f7fe9(0x1b9)]({},_0x5d4e1a,{'id':_0x4f7fe9(0x142),'ref':_0x493604,'icon':_0x371317}));});_0x5abf6d[_0x453404(0x289)]=_0x453404(0x1c3);function _0x1e13d9(_0x5c0c57){const _0x1c3092=_0x453404;switch(_0x5c0c57){case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x1de)]:return'collabStatus.offline';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x294)]:return _0x1c3092(0x244);case _0x2c5d3c[_0x1c3092(0x387)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x22c)]:return _0x1c3092(0x1d5);case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x205)]:case _0x2c5d3c['CollaborationStatus'][_0x1c3092(0x2e9)]:return _0x1c3092(0x343);case _0x2c5d3c[_0x1c3092(0x387)]['SYNCED']:case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x389)]:return _0x1c3092(0x122);}}function _0x20b0a0(_0x579468){const _0x26f998=_0x453404,{status$:_0x3309d6}=_0x579468,_0x578626=_0x47e75a[_0x26f998(0x17c)](_0x3309d6,_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x22c)]),_0x30bb9e=_0x47e75a[_0x26f998(0x360)](_0x13023b[_0x26f998(0x1a3)]),_0x298160=_0x47e75a[_0x26f998(0x360)](_0x2c5d3c[_0x26f998(0x1ae)]),_0x39795b=_0x578626!==_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x1de)],_0x422479=_0x30bb9e['t'](_0x1e13d9(_0x578626)),_0x5a80de=_0x39795b?_0x50649b[_0x26f998(0x21d)](_0x5abf6d,{}):_0x50649b[_0x26f998(0x21d)](_0x3cebac,{}),_0xd6438c=_0x52afd9[_0x26f998(0x2c3)](()=>{const _0x14c2b4=_0x26f998;_0x39795b||_0x298160[_0x14c2b4(0x33a)]();},[_0x39795b,_0x298160]);function _0xf96fe6(){const _0x39893b=_0x26f998;return _0x50649b[_0x39893b(0x126)](_0x39893b(0x395),{'className':_0x39893b(0x203),'onClick':_0xd6438c,'children':[_0x50649b['jsx']('div',{'className':_0x2abc24[_0x39893b(0x131)](_0x39893b(0x186),{'univer-text-green-500':_0x39795b,'univer-text-red-500':!_0x39795b}),'children':_0x5a80de}),_0x50649b['jsx'](_0x39893b(0x395),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x422479})]});}return _0x39795b?_0xf96fe6():_0x50649b['jsx'](_0x2abc24[_0x26f998(0x1a9)],{'title':_0x30bb9e['t'](_0x26f998(0x145)),'children':_0xf96fe6()});}var _0x387cba=Object[_0x453404(0x23f)],_0x1bfa70=(_0x6124a7,_0x37e7d8,_0x16c9ca,_0x277bee)=>{const _0x3d8979=_0x453404;for(var _0x4f706a=_0x277bee>0x1?void 0x0:_0x277bee?_0x387cba(_0x37e7d8,_0x16c9ca):_0x37e7d8,_0x1eedcd=_0x6124a7[_0x3d8979(0x2f8)]-0x1,_0x5e7aac;_0x1eedcd>=0x0;_0x1eedcd--)(_0x5e7aac=_0x6124a7[_0x1eedcd])&&(_0x4f706a=_0x5e7aac(_0x4f706a)||_0x4f706a);return _0x4f706a;},_0x22e8d4=(_0x20dc61,_0x9e7191)=>(_0x20ca96,_0x2ca83f)=>_0x9e7191(_0x20ca96,_0x2ca83f,_0x20dc61);_0x5d4de8['DesktopCollaborationStatusDisplayController']=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x1660d6,_0x150aec,_0x36330c,_0x282140){const _0x2fb10a=_0x453404;super(),_0x4ff54d(this,_0x2fb10a(0x26f),new _0xe0366[(_0x2fb10a(0x1cf))](_0x2c5d3c[_0x2fb10a(0x387)][_0x2fb10a(0x22c)])),(this[_0x2fb10a(0x379)]=_0x1660d6,this['_injector']=_0x150aec,this[_0x2fb10a(0x170)]=_0x36330c,this[_0x2fb10a(0x2db)]=_0x282140,this[_0x2fb10a(0x366)](),this[_0x2fb10a(0x154)]());}[_0x453404(0x154)](){const _0x26f5e0=_0x453404;this[_0x26f5e0(0x2bf)](this[_0x26f5e0(0x379)][_0x26f5e0(0x25e)][_0x26f5e0(0x35a)](_0xe0366['switchMap'](()=>{const _0x22fb4e=_0x26f5e0,_0x44c4cb=this['_univerInstanceService'][_0x22fb4e(0x187)]();return _0x44c4cb?this[_0x22fb4e(0x170)][_0x22fb4e(0x391)](_0x44c4cb[_0x22fb4e(0x2be)]()):_0xe0366['of'](null);}),_0xe0366[_0x26f5e0(0x1a2)](_0x2f0139=>_0x2f0139?_0x2f0139[_0x26f5e0(0x282)]:_0xe0366['of'](_0x2c5d3c[_0x26f5e0(0x387)]['NOT_COLLAB'])))[_0x26f5e0(0x310)](_0x596ce9=>{const _0x1c4236=_0x26f5e0;this[_0x1c4236(0x26f)][_0x1c4236(0x1a0)](_0x596ce9);}));}[_0x453404(0x366)](){const _0x3297d0=_0x453404;this[_0x3297d0(0x2bf)](this[_0x3297d0(0x2db)][_0x3297d0(0x1cd)](_0x47e75a[_0x3297d0(0x37c)][_0x3297d0(0x1e6)],()=>_0x47e75a[_0x3297d0(0x153)](_0x4b8d45({'status$':this['_status$'][_0x3297d0(0x21a)]()}),this['_injector'])));}},_0x5d4de8[_0x453404(0x2e8)]=_0x1bfa70([_0x22e8d4(0x0,_0x13023b[_0x453404(0x331)]),_0x22e8d4(0x1,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x22e8d4(0x2,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x16e)])),_0x22e8d4(0x3,_0x47e75a[_0x453404(0x2e3)])],_0x5d4de8['DesktopCollaborationStatusDisplayController']);function _0x4b8d45(_0x2bda75){const {status$:_0x18ac6a}=_0x2bda75;return function(){const _0x4f15c4=_0x3ea2;return _0x50649b[_0x4f15c4(0x21d)](_0x20b0a0,{'status$':_0x18ac6a});};}var _0xa88c5d=Object[_0x453404(0x23f)],_0xda9bea=(_0x2ba259,_0x147c14,_0x11fa59,_0x1f7e31)=>{for(var _0xd5f620=_0x1f7e31>0x1?void 0x0:_0x1f7e31?_0xa88c5d(_0x147c14,_0x11fa59):_0x147c14,_0x4d395d=_0x2ba259['length']-0x1,_0x4341e9;_0x4d395d>=0x0;_0x4d395d--)(_0x4341e9=_0x2ba259[_0x4d395d])&&(_0xd5f620=_0x4341e9(_0xd5f620)||_0xd5f620);return _0xd5f620;},_0x4ebd0f=(_0x15f720,_0x1252f8)=>(_0x2ab1e4,_0x1bd839)=>_0x1252f8(_0x2ab1e4,_0x1bd839,_0x15f720);let _0x5e5da6=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x372ea0,_0xb0600e,_0x583f28,_0x4de4eb,_0x5a087c,_0x5e08fe){const _0x196415=_0x453404;super(),this[_0x196415(0x234)]=_0x372ea0,this[_0x196415(0x28d)]=_0xb0600e,this[_0x196415(0x12d)]=_0x583f28,this[_0x196415(0x2bb)]=_0x4de4eb,this[_0x196415(0x23b)]=_0x5a087c,this[_0x196415(0x1c1)]=_0x5e08fe,this[_0x196415(0x14b)](),this[_0x196415(0x1c9)]();}['_setupBeforeClosingHandler'](){const _0x2d4ab9=_0x453404;this[_0x2d4ab9(0x2bf)](this[_0x2d4ab9(0x234)][_0x2d4ab9(0x1b0)](()=>{const _0x3af168=_0x2d4ab9;if(this[_0x3af168(0x28d)][_0x3af168(0x38b)][_0x3af168(0x156)])return this[_0x3af168(0x1c1)]['t'](_0x3af168(0x247));}));}[_0x453404(0x1c9)](){const _0x3a4cbc=_0x453404;this[_0x3a4cbc(0x2bf)](this['_collaborationUIEventService']['event$'][_0x3a4cbc(0x310)](_0x2249ff=>{const _0x12b0df=_0x3a4cbc;_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x28b)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)]['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2ad))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId'][_0x12b0df(0x1da)]&&this[_0x12b0df(0x23b)][_0x12b0df(0x243)]({'title':this[_0x12b0df(0x1c1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x12b0df(0x33d)),'type':_0x12b0df(0x132),'duration':0x0}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)]['CONFLICT']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType'][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))+'('+_0x2249ff[_0x12b0df(0x311)]+')'}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x2cb)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x1f1)],'content':this['_localeService']['t'](_0x2249ff['data']||'')}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x1d0)]&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x288))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x169)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Error'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x14a))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x280)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x232))});}));}};_0x5e5da6=_0xda9bea([_0x4ebd0f(0x0,_0x47e75a[_0x453404(0x174)]),_0x4ebd0f(0x1,_0x2c5d3c[_0x453404(0x229)]),_0x4ebd0f(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1c6)])),_0x4ebd0f(0x3,_0x47e75a[_0x453404(0x37d)]),_0x4ebd0f(0x4,_0x47e75a[_0x453404(0x180)]),_0x4ebd0f(0x5,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x5e5da6);const _0x1bf45d='collaboration-client-ui.config',_0x4c331d={},_0x12858b=_0x13023b[_0x453404(0x308)](_0x453404(0x20b));var _0x77e4b6=Object[_0x453404(0x23f)],_0x4994e1=(_0x21e7a3,_0x3a68ad,_0x555e18,_0x5495a0)=>{const _0x561e98=_0x453404;for(var _0x5ae961=_0x5495a0>0x1?void 0x0:_0x5495a0?_0x77e4b6(_0x3a68ad,_0x555e18):_0x3a68ad,_0x330b40=_0x21e7a3[_0x561e98(0x2f8)]-0x1,_0x1ad1c7;_0x330b40>=0x0;_0x330b40--)(_0x1ad1c7=_0x21e7a3[_0x330b40])&&(_0x5ae961=_0x1ad1c7(_0x5ae961)||_0x5ae961);return _0x5ae961;},_0x15287f=(_0x160220,_0x431ef4)=>(_0x3dc11a,_0x4e2b95)=>_0x431ef4(_0x3dc11a,_0x4e2b95,_0x160220);_0x5d4de8['CollaborationDataLoaderController']=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x387192,_0x431234,_0xfa469f,_0x89354f,_0x20869f){const _0x1ed6b4=_0x453404;super(),this[_0x1ed6b4(0x254)]=_0x387192,this[_0x1ed6b4(0x1c8)]=_0x431234,this[_0x1ed6b4(0x27b)]=_0xfa469f,this[_0x1ed6b4(0x13e)]=_0x89354f,_0x20869f?_0x20869f==null||_0x20869f[_0x1ed6b4(0x249)]()[_0x1ed6b4(0x1d1)](()=>this[_0x1ed6b4(0x224)]()):(this[_0x1ed6b4(0x1c8)][_0x1ed6b4(0x361)](_0x1ed6b4(0x26b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1ed6b4(0x224)]());}async[_0x453404(0x224)](){const _0x5d8f58=_0x453404,_0x3af7ef=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x35b)),_0x5ea0e4=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x335)),_0x47e316=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x320));if(!_0x3af7ef||!_0x5ea0e4){this[_0x5d8f58(0x1c8)][_0x5d8f58(0x361)](_0x5d8f58(0x26b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xbf90c0=await this['_dataLoaderService'][_0x5d8f58(0x143)](_0x3af7ef,Number(_0x5ea0e4),_0x47e316);_0xbf90c0&&_0xbf90c0 instanceof _0x13023b[_0x5d8f58(0x164)]&&this[_0x5d8f58(0x301)](_0xbf90c0);}async['_setupSubUnitSync'](_0xccaf5f){const _0x2d0568=_0x453404;await this[_0x2d0568(0x27a)](_0xccaf5f),_0xccaf5f[_0x2d0568(0x1c2)]['pipe'](_0xe0366['takeUntil'](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](_0x279bf7=>{const _0x34be2f=_0x2d0568;_0x279bf7&&this[_0x34be2f(0x24c)](_0x279bf7);}),this[_0x2d0568(0x254)][_0x2d0568(0x30b)][_0x2d0568(0x35a)](_0xe0366[_0x2d0568(0x2ba)](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](()=>this[_0x2d0568(0x27a)](_0xccaf5f));}[_0x453404(0x24c)](_0x5143e7,_0x46b96a=!0x1){const _0x4ec873=_0x453404,_0x2d4d0f=this['_urlService'][_0x4ec873(0x210)](_0x4ec873(0x320));_0x5143e7[_0x4ec873(0x155)]()!==_0x2d4d0f&&this[_0x4ec873(0x254)]['setParam'](_0x4ec873(0x320),_0x5143e7[_0x4ec873(0x155)](),_0x46b96a);}async[_0x453404(0x27a)](_0x4b7b91){const _0x3ff445=_0x453404;var _0x419c17;const _0x127436=this[_0x3ff445(0x254)]['getParam'](_0x3ff445(0x320));if(!_0x127436||!_0x4b7b91['getSheetBySheetId'](_0x127436)){const _0x1f2c04=_0x4b7b91['getUnhiddenWorksheets']()[0x0],_0x53839a=_0x4b7b91[_0x3ff445(0x120)](_0x1f2c04);if(!_0x53839a)return;this['_updateURLWithCurrentState'](_0x53839a,!0x0),await this['_commandService'][_0x3ff445(0x312)](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x1f2c04});return;}((_0x419c17=_0x4b7b91[_0x3ff445(0x286)]())==null?void 0x0:_0x419c17[_0x3ff445(0x155)]())!==_0x127436&&await this['_commandService']['executeCommand'](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x127436});}},_0x5d4de8[_0x453404(0x1f9)]=_0x4994e1([_0x15287f(0x0,_0x12858b),_0x15287f(0x1,_0x13023b[_0x453404(0x38f)]),_0x15287f(0x2,_0x13023b[_0x453404(0x2a5)]),_0x15287f(0x3,_0x13023b['Inject'](_0x2c5d3c['DataLoaderService'])),_0x15287f(0x4,_0x13023b[_0x453404(0x2e7)](_0x4e87ce[_0x453404(0x216)]))],_0x5d4de8['CollaborationDataLoaderController']);var _0x542c94=Object['getOwnPropertyDescriptor'],_0x1d07e2=(_0x3fea87,_0x514368,_0xef5d2,_0xdf520e)=>{const _0x36f78c=_0x453404;for(var _0x133c3e=_0xdf520e>0x1?void 0x0:_0xdf520e?_0x542c94(_0x514368,_0xef5d2):_0x514368,_0x51ab53=_0x3fea87[_0x36f78c(0x2f8)]-0x1,_0xfdbe2f;_0x51ab53>=0x0;_0x51ab53--)(_0xfdbe2f=_0x3fea87[_0x51ab53])&&(_0x133c3e=_0xfdbe2f(_0x133c3e)||_0x133c3e);return _0x133c3e;},_0x25a26a=(_0x4c253b,_0x44815c)=>(_0x4c75a3,_0x130157)=>_0x44815c(_0x4c75a3,_0x130157,_0x4c253b);let _0x46c579=class{constructor(_0x23c0b3,_0x665fa5,_0x10fe02){const _0x4321c7=_0x453404;this[_0x4321c7(0x1c0)]=_0x23c0b3,this[_0x4321c7(0x285)]=_0x665fa5,this[_0x4321c7(0x201)]=_0x10fe02;}[_0x453404(0x256)](_0x35f2f6){const _0x59b0e9=_0x453404;this['_transformUndoRedoStack'](_0x35f2f6),this[_0x59b0e9(0x223)](_0x35f2f6);}[_0x453404(0x1e9)](_0x256a55){const _0x5c2e5a=_0x453404,{unitID:_0x12a56}=_0x256a55,_0x3c223e=this[_0x5c2e5a(0x201)][_0x5c2e5a(0x36e)](_0x12a56)[_0x5c2e5a(0x350)](_0x229cdf[_0x5c2e5a(0x129)]),{redoCache:_0x5f3c0f}=_0x3c223e[_0x5c2e5a(0x36d)]();if(_0x5f3c0f['length']===0x0)return _0x256a55;let _0x21f913=_0x13023b[_0x5c2e5a(0x2de)][_0x5c2e5a(0x25a)](_0x256a55[_0x5c2e5a(0x342)][0x0]);for(let _0x35e173=0x0;_0x35e173<_0x5f3c0f['length'];_0x35e173++){const _0x148af0={'id':'doc.mutation.rich-text-editing','params':{..._0x5f3c0f[_0x35e173]}},_0x3e0d6f=this[_0x5c2e5a(0x285)][_0x5c2e5a(0x2ac)](_0x21f913,_0x148af0,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x3e0d6f))throw _0x3e0d6f['error'];_0x21f913=_0x3e0d6f[_0x5c2e5a(0x266)];}return{..._0x13023b[_0x5c2e5a(0x2de)]['deepClone'](_0x256a55),'mutations':[_0x21f913]};}['_transformUndoRedoStack'](_0x33e0fb){const _0xcd1444=_0x453404,{unitID:_0x56e6f8}=_0x33e0fb,_0x4cfffd=this['_renderManagerService'][_0xcd1444(0x36e)](_0x56e6f8)[_0xcd1444(0x350)](_0x229cdf[_0xcd1444(0x129)]),{undoCache:_0xcdd899,redoCache:_0x21800c}=_0x4cfffd[_0xcd1444(0x36d)]();if(_0xcdd899[_0xcd1444(0x2f8)]===0x0||_0x21800c[_0xcd1444(0x2f8)]===0x0)return;const _0x5805b8=[],_0x57bad5=[];let _0x19601d=_0x13023b[_0xcd1444(0x2de)]['deepClone'](_0x33e0fb[_0xcd1444(0x342)][0x0]),_0xad8664=_0x13023b[_0xcd1444(0x2de)][_0xcd1444(0x25a)](_0x33e0fb['mutations'][0x0]);for(let _0x16ed06=_0xcdd899['length']-0x1;_0x16ed06>=0x0;_0x16ed06--){const _0x400d04={'id':_0xcd1444(0x139),'params':{..._0xcdd899[_0x16ed06]}},_0x45f575={'id':_0xcd1444(0x139),'params':{..._0x21800c[_0x16ed06]}},_0x1a1c68=this[_0xcd1444(0x285)][_0xcd1444(0x2ac)](_0x19601d,_0x400d04,!0x1),_0x25b713=this['_transformService'][_0xcd1444(0x2ac)](_0xad8664,_0x45f575,!0x1);if(_0x2db34e[_0xcd1444(0x287)](_0x1a1c68))throw _0x1a1c68[_0xcd1444(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x25b713))throw _0x25b713[_0xcd1444(0x132)];_0x5805b8[_0xcd1444(0x269)](_0x1a1c68['m2Prime']['params']),_0x57bad5[_0xcd1444(0x269)](_0x25b713[_0xcd1444(0x371)][_0xcd1444(0x1fd)]),_0x19601d=_0x1a1c68[_0xcd1444(0x266)],_0xad8664=_0x25b713[_0xcd1444(0x266)];}_0x4cfffd[_0xcd1444(0x2d3)]({'undoCache':_0x5805b8,'redoCache':_0x57bad5});}[_0x453404(0x223)](_0x69c436){const _0x25ae89=_0x453404,{unitID:_0x5e07cd}=_0x69c436,_0x4eb786=this['_renderManagerService'][_0x25ae89(0x36e)](_0x5e07cd)[_0x25ae89(0x350)](_0x229cdf[_0x25ae89(0x129)]),_0x166c0c=_0x4eb786[_0x25ae89(0x3b4)]();if(_0x166c0c==null)return;const _0x46467d=[{'id':_0x25ae89(0x139),'params':{'unitId':_0x69c436[_0x25ae89(0x1b4)],'actions':null,'textRanges':[_0x166c0c]}}],_0x26e2db=this['_transformService'][_0x25ae89(0x221)](_0x69c436,_0x46467d);if(!_0x2db34e[_0x25ae89(0x22e)](_0x26e2db))throw _0x26e2db[_0x25ae89(0x132)];const _0x3980fa=_0x26e2db[_0x25ae89(0x371)][0x0]['params'][_0x25ae89(0x2eb)];Array[_0x25ae89(0x32c)](_0x3980fa)&&_0x3980fa[_0x25ae89(0x2f8)]&&_0x4eb786['setActiveRange'](_0x3980fa[0x0]);}};_0x46c579=_0x1d07e2([_0x25a26a(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x25a26a(0x1,_0x2db34e[_0x453404(0x348)]),_0x25a26a(0x2,_0x3b7797[_0x453404(0x242)])],_0x46c579);var _0x5127b6=Object[_0x453404(0x23f)],_0x3e55d1=(_0x5c9767,_0x228c6f,_0xcfbc03,_0x555e44)=>{const _0xdfb79c=_0x453404;for(var _0x4904ad=_0x555e44>0x1?void 0x0:_0x555e44?_0x5127b6(_0x228c6f,_0xcfbc03):_0x228c6f,_0x576c67=_0x5c9767[_0xdfb79c(0x2f8)]-0x1,_0xda3623;_0x576c67>=0x0;_0x576c67--)(_0xda3623=_0x5c9767[_0x576c67])&&(_0x4904ad=_0xda3623(_0x4904ad)||_0x4904ad);return _0x4904ad;},_0x5b9ed3=(_0x212c6c,_0x51de4f)=>(_0x18d8a4,_0x4fb12d)=>_0x51de4f(_0x18d8a4,_0x4fb12d,_0x212c6c);let _0x41657f=class{constructor(_0x364b39,_0x2d20d6,_0x1e0617){const _0x526c22=_0x453404;this[_0x526c22(0x1c0)]=_0x364b39,this[_0x526c22(0x285)]=_0x2d20d6,this[_0x526c22(0x250)]=_0x1e0617;}[_0x453404(0x15b)](_0x558ff2){const _0x3581e1=_0x453404;this[_0x3581e1(0x2bc)](_0x558ff2);}[_0x453404(0x1e9)](_0x4b5eea){const _0x44dff0=_0x453404,{unitID:_0x1d7994}=_0x4b5eea,{collaboration:_0x4cbc03}=this['_docStateChangeManagerService']['getStateCache'](_0x1d7994);if(_0x4cbc03[_0x44dff0(0x2f8)]===0x0)return _0x4b5eea;let _0x20f2d1=_0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea['mutations'][0x0]);for(let _0x4c2f69=0x0;_0x4c2f69<_0x4cbc03[_0x44dff0(0x2f8)];_0x4c2f69++){const _0x8782e8={'id':_0x44dff0(0x139),'params':{'unitId':_0x4cbc03[_0x4c2f69][_0x44dff0(0x2e4)],..._0x4cbc03[_0x4c2f69]['redoState']}},_0x383fc1=this[_0x44dff0(0x285)]['transformMutation'](_0x20f2d1,_0x8782e8,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x383fc1))throw _0x383fc1[_0x44dff0(0x132)];_0x20f2d1=_0x383fc1[_0x44dff0(0x266)];}return{..._0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea),'mutations':[_0x20f2d1]};}['_transformHistoryAndStateStack'](_0x4f5ed5){const _0x26e210=_0x453404,{unitID:_0x3e4b46}=_0x4f5ed5,{history:_0x1ba0ab,collaboration:_0x36a7f6}=this[_0x26e210(0x250)][_0x26e210(0x3ad)](_0x3e4b46);if(_0x1ba0ab[_0x26e210(0x2f8)]===0x0&&_0x36a7f6[_0x26e210(0x2f8)]===0x0)return;const _0x27b916=[],_0x5134d9=[];let _0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)]['deepClone'](_0x4f5ed5[_0x26e210(0x342)][0x0]);for(let _0x1dd9e3=_0x1ba0ab[_0x26e210(0x2f8)]-0x1;_0x1dd9e3>=0x0;_0x1dd9e3--){const _0x285985={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3]['undoState']}},_0xe4377b={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3][_0x26e210(0x177)]}},_0x3c33af=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x285985,!0x1),_0x32ae6f=this['_transformService'][_0x26e210(0x2ac)](_0x40b175,_0xe4377b,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x3c33af))throw _0x3c33af[_0x26e210(0x132)];if(_0x2db34e[_0x26e210(0x287)](_0x32ae6f))throw _0x32ae6f[_0x26e210(0x132)];_0x27b916[_0x26e210(0x269)]({..._0x1ba0ab[_0x1dd9e3],'undoState':_0x3c33af[_0x26e210(0x371)]['params'],'redoState':_0x32ae6f[_0x26e210(0x371)]['params']}),_0x53358e=_0x3c33af['m1Prime'],_0x40b175=_0x32ae6f[_0x26e210(0x266)];}_0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5['mutations'][0x0]);for(let _0x5bf195=_0x36a7f6['length']-0x1;_0x5bf195>=0x0;_0x5bf195--){const _0x308ff2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195][_0x26e210(0x2e4)],..._0x36a7f6[_0x5bf195][_0x26e210(0x1a1)]}},_0x1dcc5e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195]['unitId'],..._0x36a7f6[_0x5bf195][_0x26e210(0x177)]}},_0x5b0aa7=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x308ff2,!0x1),_0x23c350=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x40b175,_0x1dcc5e,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x5b0aa7))throw _0x5b0aa7[_0x26e210(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x23c350))throw _0x23c350[_0x26e210(0x132)];_0x5134d9[_0x26e210(0x269)]({..._0x36a7f6[_0x5bf195],'undoState':_0x5b0aa7[_0x26e210(0x371)][_0x26e210(0x1fd)],'redoState':_0x23c350[_0x26e210(0x371)][_0x26e210(0x1fd)]}),_0x53358e=_0x5b0aa7['m1Prime'],_0x40b175=_0x23c350[_0x26e210(0x266)];}this[_0x26e210(0x250)][_0x26e210(0x18c)](_0x3e4b46,{'history':_0x27b916,'collaboration':_0x5134d9});}};_0x41657f=_0x3e55d1([_0x5b9ed3(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x5b9ed3(0x1,_0x2db34e['ITransformService']),_0x5b9ed3(0x2,_0x13023b['Inject'](_0x229cdf[_0x453404(0x225)]))],_0x41657f);var _0x3d3169=Object['getOwnPropertyDescriptor'],_0x267746=(_0x30df0a,_0x31363d,_0x39ff59,_0x5456d8)=>{const _0x59d29f=_0x453404;for(var _0x5b4799=_0x5456d8>0x1?void 0x0:_0x5456d8?_0x3d3169(_0x31363d,_0x39ff59):_0x31363d,_0x514afb=_0x30df0a[_0x59d29f(0x2f8)]-0x1,_0x3bdb3b;_0x514afb>=0x0;_0x514afb--)(_0x3bdb3b=_0x30df0a[_0x514afb])&&(_0x5b4799=_0x3bdb3b(_0x5b4799)||_0x5b4799);return _0x5b4799;},_0x301ec6=(_0x144383,_0x449806)=>(_0x2fc78b,_0x236047)=>_0x449806(_0x2fc78b,_0x236047,_0x144383);let _0x256c9d=class{constructor(_0x48020c,_0x3bdfa2){const _0x2a36d7=_0x453404;this[_0x2a36d7(0x1c0)]=_0x48020c,this[_0x2a36d7(0x285)]=_0x3bdfa2;}['transformSelections'](_0x3ec0ed){const _0x45019a=_0x453404;var _0x31ec73;const _0x3312b2=this['_injector'][_0x45019a(0x28f)](_0x3679f8[_0x45019a(0x1ac)]),_0x30a41a=(_0x31ec73=_0x3312b2[_0x45019a(0x2c2)]())!=null?_0x31ec73:[];if(_0x30a41a['length']===0x0)return;const _0x10f640=_0x3ec0ed[_0x45019a(0x1b4)],_0x294336=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10f640,'actions':null,'textRanges':_0x30a41a}}],_0x37074c=this[_0x45019a(0x285)]['transformMutationsWithChangeset'](_0x3ec0ed,_0x294336);if(!_0x2db34e[_0x45019a(0x22e)](_0x37074c))throw _0x37074c[_0x45019a(0x132)];const _0x2e4eb9=_0x37074c[_0x45019a(0x371)][0x0][_0x45019a(0x1fd)][_0x45019a(0x2eb)];Array[_0x45019a(0x32c)](_0x2e4eb9)&&_0x2e4eb9['length']&&_0x3312b2[_0x45019a(0x226)](_0x2e4eb9,{'unitId':_0x10f640,'subUnitId':_0x10f640},!0x1);}};_0x256c9d=_0x267746([_0x301ec6(0x0,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x301ec6(0x1,_0x2db34e[_0x453404(0x348)])],_0x256c9d);var _0x23427f=Object[_0x453404(0x23f)],_0x489d5f=(_0x281490,_0x23c094,_0x186a49,_0x3b6493)=>{for(var _0x392854=_0x3b6493>0x1?void 0x0:_0x3b6493?_0x23427f(_0x23c094,_0x186a49):_0x23c094,_0xb14f98=_0x281490['length']-0x1,_0x1a50d4;_0xb14f98>=0x0;_0xb14f98--)(_0x1a50d4=_0x281490[_0xb14f98])&&(_0x392854=_0x1a50d4(_0x392854)||_0x392854);return _0x392854;},_0x395cee=(_0x4d27d0,_0x5a52f4)=>(_0x31d62b,_0x3b794c)=>_0x5a52f4(_0x31d62b,_0x3b794c,_0x4d27d0);let _0x24d9bb=class extends _0x13023b['Disposable']{constructor(_0x846ba0,_0x51ce38,_0x898869,_0x537bdf,_0x3e640f,_0x310484,_0x552eb2,_0x498cf8){const _0x3a4c68=_0x453404;super(),_0x4ff54d(this,_0x3a4c68(0x26f),new _0xe0366[(_0x3a4c68(0x1cf))](_0x2c5d3c[_0x3a4c68(0x387)][_0x3a4c68(0x22c)])),(this[_0x3a4c68(0x250)]=_0x846ba0,this['_collaborationController']=_0x51ce38,this[_0x3a4c68(0x230)]=_0x898869,this[_0x3a4c68(0x2f5)]=_0x537bdf,this[_0x3a4c68(0x20e)]=_0x3e640f,this[_0x3a4c68(0x307)]=_0x310484,this[_0x3a4c68(0x2bb)]=_0x552eb2,this[_0x3a4c68(0x1c1)]=_0x498cf8,this[_0x3a4c68(0x257)]());}['_initEntityListener'](){const _0x1cd932=_0x453404;this[_0x1cd932(0x2bf)](this[_0x1cd932(0x170)]['entityInit$'][_0x1cd932(0x310)](_0x4539f1=>{const _0x42b574=_0x1cd932,_0x414502=this[_0x42b574(0x250)][_0x42b574(0x17d)][_0x42b574(0x310)](_0x195964=>{const _0x25c9f5=_0x42b574;if(_0x195964==null)return;const {unitId:_0x58b8e5,redoState:_0x350259,commandId:_0x2b9647}=_0x195964;if(_0x58b8e5!==_0x4539f1[_0x25c9f5(0x1b4)])return;const _0x4480f9={'id':_0x2b9647,'type':_0x13023b['CommandType'][_0x25c9f5(0x212)],'params':{'unitId':_0x58b8e5,'actions':_0x350259[_0x25c9f5(0x19c)],'textRanges':null}};_0x4539f1[_0x25c9f5(0x20a)](_0x4480f9);});if(_0x4539f1[_0x42b574(0x2bf)](_0x414502),_0x4539f1 instanceof _0x2c5d3c[_0x42b574(0x1ba)]){const _0x4dda3b={'onTransformIME':_0x4ce66a=>this[_0x42b574(0x230)][_0x42b574(0x256)](_0x4ce66a),'onTransformState':_0xa9946=>this[_0x42b574(0x2f5)][_0x42b574(0x15b)](_0xa9946),'onTransformSelections':_0x4d2de4=>this['_docTransformSelectionsService'][_0x42b574(0x144)](_0x4d2de4),'onSyncEditingCollabCursor':_0x450364=>this[_0x42b574(0x307)]['syncEditingCollabCursor'](_0x450364),'onTransformRemoteChangesetByIMECache':_0x2f47b8=>this[_0x42b574(0x230)][_0x42b574(0x1e9)](_0x2f47b8),'onTransformRemoteChangesetByStateCache':_0x9c85c6=>this[_0x42b574(0x2f5)][_0x42b574(0x1e9)](_0x9c85c6)};_0x4539f1[_0x42b574(0x1ca)](_0x4dda3b);}}));}};_0x24d9bb=_0x489d5f([_0x395cee(0x0,_0x13023b[_0x453404(0x175)](_0x229cdf[_0x453404(0x225)])),_0x395cee(0x1,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x16e)])),_0x395cee(0x2,_0x13023b[_0x453404(0x175)](_0x46c579)),_0x395cee(0x3,_0x13023b['Inject'](_0x41657f)),_0x395cee(0x4,_0x13023b[_0x453404(0x175)](_0x256c9d)),_0x395cee(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x395cee(0x6,_0x47e75a[_0x453404(0x37d)]),_0x395cee(0x7,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x24d9bb);var _0x29dfe4=Object[_0x453404(0x23f)],_0x1b6058=(_0x3c29c4,_0x2759a5,_0x4be9ff,_0x108041)=>{for(var _0x34e889=_0x108041>0x1?void 0x0:_0x108041?_0x29dfe4(_0x2759a5,_0x4be9ff):_0x2759a5,_0x4ae331=_0x3c29c4['length']-0x1,_0x80de85;_0x4ae331>=0x0;_0x4ae331--)(_0x80de85=_0x3c29c4[_0x4ae331])&&(_0x34e889=_0x80de85(_0x34e889)||_0x34e889);return _0x34e889;},_0x50a135=(_0x538870,_0x19ec46)=>(_0x3bb4ba,_0x2358f0)=>_0x19ec46(_0x3bb4ba,_0x2358f0,_0x538870);let _0xd50634=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x59ea7a,_0x37d5f6,_0x4d0956){const _0x35821c=_0x453404;super(),_0x4ff54d(this,'_cachedData',new Map()),_0x4ff54d(this,_0x35821c(0x15e),new Map()),_0x4ff54d(this,_0x35821c(0x22d),!0x1),(this['_configService']=_0x59ea7a,this[_0x35821c(0x1a8)]=_0x37d5f6,this['_revisionService']=_0x4d0956);}[_0x453404(0x2aa)](){const _0x35f931=_0x453404;this[_0x35f931(0x22d)]=!0x0;}[_0x453404(0x182)](){const _0x516620=_0x453404;this[_0x516620(0x22d)]=!0x1;}get[_0x453404(0x38b)](){return this['_saveTaskMap'];}[_0x453404(0x3aa)](){const _0xcf1918=_0x453404;this[_0xcf1918(0x2b2)]()[_0xcf1918(0x1d1)](()=>super[_0xcf1918(0x3aa)]());}async[_0x453404(0x3b1)](_0x257917){const _0x28809f=_0x453404;return this[_0x28809f(0x22d)]?null:this[_0x28809f(0x1a8)]['getItem'](_0x2c5d3c[_0x28809f(0x386)](_0x257917));}async[_0x453404(0x193)](_0x4aea11,_0x21ab4c){const _0x3e8d2c=_0x453404;return!!this[_0x3e8d2c(0x1a8)][_0x3e8d2c(0x38c)](_0x4aea11,_0x21ab4c);}[_0x453404(0x178)](_0x348ba9,_0x475e4a,_0x269349,_0x5d1c94){const _0x163d23=_0x453404,_0x14cfbd=this['_revisionService'][_0x163d23(0x1e8)](_0x348ba9);this[_0x163d23(0x316)]['set'](_0x348ba9,{'unitID':_0x348ba9,'type':_0x475e4a,'awaitingChangeset':_0x269349,'mutations':_0x5d1c94,'rev':_0x14cfbd}),this['_saveTaskMap'][_0x163d23(0x138)](_0x348ba9)||this[_0x163d23(0x1f0)](_0x348ba9);}[_0x453404(0x1f0)](_0x1e1058){const _0x628f8b=_0x453404,_0xd693bc=this['_getSaveTimeout']();_0xd693bc===0x0?this['_saveCache'](_0x1e1058):this[_0x628f8b(0x15e)]['set'](_0x1e1058,setTimeout(()=>this[_0x628f8b(0x211)](_0x1e1058),_0xd693bc));}['_getSaveTimeout'](){const _0x3b4b5f=_0x453404;var _0x18918e;return(_0x18918e=this[_0x3b4b5f(0x1d9)]['getConfig'](_0x2c5d3c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x18918e:_0x2c5d3c[_0x3b4b5f(0x328)];}['_saveCache'](_0x380907){const _0x3f44f6=_0x453404,_0x11e58e=this[_0x3f44f6(0x15e)][_0x3f44f6(0x28f)](_0x380907);return _0x11e58e!==void 0x0&&window[_0x3f44f6(0x29d)](_0x11e58e),this[_0x3f44f6(0x1a8)]['setItem'](_0x2c5d3c['getLocalCacheKey'](_0x380907),this[_0x3f44f6(0x316)][_0x3f44f6(0x28f)](_0x380907))[_0x3f44f6(0x1d1)](()=>this[_0x3f44f6(0x15e)][_0x3f44f6(0x206)](_0x380907));}async[_0x453404(0x2b2)](){const _0x4c838f=_0x453404,_0x5a4238=[];this[_0x4c838f(0x15e)][_0x4c838f(0x136)]((_0x44dced,_0x5469ac)=>{const _0x3f7138=_0x4c838f;window[_0x3f7138(0x29d)](_0x44dced),_0x5a4238[_0x3f7138(0x1fe)](this[_0x3f7138(0x211)](_0x5469ac)[_0x3f7138(0x1d1)](()=>{this['_saveTaskMap']['delete'](_0x5469ac);}));}),await Promise[_0x4c838f(0x344)](_0x5a4238);}};_0xd50634=_0x1b6058([_0x50a135(0x0,_0x13023b[_0x453404(0x245)]),_0x50a135(0x1,_0x13023b[_0x453404(0x19d)]),_0x50a135(0x2,_0x13023b['Inject'](_0x2db34e[_0x453404(0x128)]))],_0xd50634);class _0x5e3f87 extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x3bc579=_0x453404;super(),_0x4ff54d(this,'urlChange$'),this['urlChange$']=_0xe0366['fromEvent'](window,_0x3bc579(0x2a4))[_0x3bc579(0x35a)](_0xe0366[_0x3bc579(0x2ba)](this[_0x3bc579(0x1e3)]),_0xe0366[_0x3bc579(0x18a)](0x1),_0xe0366[_0x3bc579(0x31e)](void 0x0));}[_0x453404(0x13b)](_0x1f3283,_0xf280c1,_0xc0224=!0x1){const _0x54a820=_0x453404,_0x443999=new URL(window[_0x54a820(0x2d0)][_0x54a820(0x339)]);_0x443999['searchParams'][_0x54a820(0x2ca)](_0x1f3283,_0xf280c1),_0xc0224?window[_0x54a820(0x1f7)][_0x54a820(0x1fc)]('','',_0x443999[_0x54a820(0x168)]()):window[_0x54a820(0x1f7)][_0x54a820(0x160)]('','',_0x443999['toString']());}[_0x453404(0x1aa)](_0x5032bb,_0x57f844=!0x1){const _0x13a32b=_0x453404,_0x4206f3=new URL(window[_0x13a32b(0x2d0)][_0x13a32b(0x339)]);_0x4206f3['searchParams'][_0x13a32b(0x206)](_0x5032bb),_0x57f844?window[_0x13a32b(0x1f7)][_0x13a32b(0x1fc)]('','',_0x4206f3['toString']()):window[_0x13a32b(0x1f7)][_0x13a32b(0x160)]('','',_0x4206f3['toString']());}[_0x453404(0x210)](_0x39a1a8){const _0x34de7a=_0x453404;var _0x4b28bf;return(_0x4b28bf=new URL(window['location'][_0x34de7a(0x339)])[_0x34de7a(0x27d)][_0x34de7a(0x28f)](_0x39a1a8))!=null?_0x4b28bf:void 0x0;}}var _0x5cdd0b=Object[_0x453404(0x188)],_0x39b438=Object[_0x453404(0x23f)],_0x4e56c8=(_0x2faf47,_0x52c178,_0x19a748)=>_0x52c178 in _0x2faf47?_0x5cdd0b(_0x2faf47,_0x52c178,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19a748}):_0x2faf47[_0x52c178]=_0x19a748,_0x32473d=(_0x514d9f,_0x293f08,_0x1e97c7,_0x19c9f7)=>{const _0x210bf1=_0x453404;for(var _0x1d7b47=_0x19c9f7>0x1?void 0x0:_0x19c9f7?_0x39b438(_0x293f08,_0x1e97c7):_0x293f08,_0x5c8635=_0x514d9f[_0x210bf1(0x2f8)]-0x1,_0x476be7;_0x5c8635>=0x0;_0x5c8635--)(_0x476be7=_0x514d9f[_0x5c8635])&&(_0x1d7b47=_0x476be7(_0x1d7b47)||_0x1d7b47);return _0x1d7b47;},_0x5e3c00=(_0x89fbcc,_0x5c442a)=>(_0x1d05dc,_0x5941d3)=>_0x5c442a(_0x1d05dc,_0x5941d3,_0x89fbcc),_0x3f9191=(_0x17aa34,_0x5cdcb2,_0x27c72e)=>_0x4e56c8(_0x17aa34,_0x5cdcb2+'',_0x27c72e);const _0xf9a98b=_0x453404(0x1d8);_0x5d4de8['UniverCollaborationClientUIPlugin']=class extends _0x13023b[_0x453404(0x1eb)]{constructor(_0x4cd80c=_0x4c331d,_0x572688,_0x2e8584,_0x570975){const _0x3c48f0=_0x453404;super(),this['_config']=_0x4cd80c,this['_renderManagerService']=_0x572688,this[_0x3c48f0(0x1c0)]=_0x2e8584,this[_0x3c48f0(0x1d9)]=_0x570975;const {..._0x452217}=_0x13023b['merge']({},_0x4c331d,this['_config']);this['_configService']['setConfig'](_0x1bf45d,_0x452217);}[_0x453404(0x276)](){const _0xc00f27=_0x453404;this[_0xc00f27(0x364)](),this[_0xc00f27(0x1ee)]();}[_0x453404(0x38a)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x580e95=_0x453404;var _0x46dc5c;const _0x398de1=[[_0x39fdea],[_0x256c9d],[_0x46c579],[_0x41657f],[_0x1373ab],[_0x12858b,{'useClass':_0x5e3f87}],[_0x562449[_0x580e95(0x28a)],{'useClass':_0x562449[_0x580e95(0x377)]}],[_0x2c5d3c[_0x580e95(0x229)],{'useClass':_0xd50634}],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0xa698e7],[_0x5d6e1b],[_0x5d4de8[_0x580e95(0x1f9)]]];_0x13023b[_0x580e95(0x304)](this['_injector'],_0x13023b['mergeOverrideWithDependencies'](_0x398de1,(_0x46dc5c=this[_0x580e95(0x398)])==null?void 0x0:_0x46dc5c['override']));}[_0x453404(0x314)](){const _0xe91479=_0x453404;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x13023b['UniverInstanceType'][_0xe91479(0x35d)],[_0x4b6396])),this[_0xe91479(0x2bf)](this[_0xe91479(0x201)]['registerRenderModule'](_0x13023b[_0xe91479(0x39d)][_0xe91479(0x2f4)],[_0x53e774]));}[_0x453404(0x1ee)](){const _0x189c11=_0x453404;_0x13023b[_0x189c11(0x33e)](this[_0x189c11(0x1c0)],[[_0xa698e7],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0x5d4de8[_0x189c11(0x1f9)]]]);}},_0x3f9191(_0x5d4de8[_0x453404(0x24e)],'pluginName',_0xf9a98b),_0x5d4de8[_0x453404(0x24e)]=_0x32473d([_0x13023b[_0x453404(0x1b2)](_0x2c5d3c[_0x453404(0x34d)]),_0x5e3c00(0x1,_0x3b7797[_0x453404(0x242)]),_0x5e3c00(0x2,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x5e3c00(0x3,_0x13023b[_0x453404(0x245)])],_0x5d4de8['UniverCollaborationClientUIPlugin']);var _0x9ad916=Object[_0x453404(0x23f)],_0x2a8968=(_0x575fb7,_0x4ff8e6,_0x12a41a,_0x5c06d7)=>{const _0x18be05=_0x453404;for(var _0x38f2a9=_0x5c06d7>0x1?void 0x0:_0x5c06d7?_0x9ad916(_0x4ff8e6,_0x12a41a):_0x4ff8e6,_0x296277=_0x575fb7[_0x18be05(0x2f8)]-0x1,_0x4aa657;_0x296277>=0x0;_0x296277--)(_0x4aa657=_0x575fb7[_0x296277])&&(_0x38f2a9=_0x4aa657(_0x38f2a9)||_0x38f2a9);return _0x38f2a9;},_0x4bd213=(_0x601b4e,_0x3294bb)=>(_0x484b19,_0x3c4ecc)=>_0x3294bb(_0x484b19,_0x3c4ecc,_0x601b4e);_0x5d4de8[_0x453404(0x261)]=class extends _0x2c5d3c[_0x453404(0x217)]{constructor(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427){super(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427);}async[_0x453404(0x26a)](_0x283623){const _0x2160e6=_0x453404,_0x30576d=await this[_0x2160e6(0x1be)](),_0x4a3293=this[_0x2160e6(0x3a9)](_0x283623,_0x30576d);return this[_0x2160e6(0x1b7)](_0x4a3293);}[_0x453404(0x3a9)](_0x273faa,_0x1581ef){const _0xad0bb7=_0x453404,_0x46c7ff=typeof window>'u'?new URL(_0x273faa):new URL(_0x273faa,window[_0xad0bb7(0x2d0)][_0xad0bb7(0x378)]);_0x46c7ff[_0xad0bb7(0x27d)]['set'](_0xad0bb7(0x302),_0x1581ef);const _0x2f32ac=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xad0bb7(0x2d0)][_0xad0bb7(0x264)]);return _0x2f32ac['get']('runId')&&_0x46c7ff[_0xad0bb7(0x27d)][_0xad0bb7(0x2ca)](_0xad0bb7(0x16b),_0x2f32ac[_0xad0bb7(0x28f)](_0xad0bb7(0x16b))),_0x46c7ff[_0xad0bb7(0x168)]();}async[_0x453404(0x1be)](){const _0x493efb=_0x453404;var _0x1c00aa,_0x4fd594,_0x206feb;const _0x355428=this[_0x493efb(0x1d9)]['getConfig'](_0x2c5d3c[_0x493efb(0x24a)]),_0x305b66=(_0x1c00aa=_0x355428==null?void 0x0:_0x355428[_0x493efb(0x263)])!=null?_0x1c00aa:_0x2c5d3c[_0x493efb(0x22f)];return(_0x206feb=(_0x4fd594=(await this[_0x493efb(0x1ef)][_0x493efb(0x28f)](_0x305b66,{'headers':{'Content-Type':'application/json'}}))[_0x493efb(0x19e)])==null?void 0x0:_0x4fd594['ticket'])!=null?_0x206feb:'';}},_0x5d4de8[_0x453404(0x261)]=_0x2a8968([_0x4bd213(0x0,_0x13023b['Inject'](_0x13023b['Injector'])),_0x4bd213(0x1,_0x13023b[_0x453404(0x175)](_0x562449[_0x453404(0x2b6)])),_0x4bd213(0x2,_0x13023b[_0x453404(0x245)]),_0x4bd213(0x3,_0x13023b[_0x453404(0x38f)]),_0x4bd213(0x4,_0x2db34e['ISnapshotServerService'])],_0x5d4de8[_0x453404(0x261)]);const _0x416e8c=0x7530,_0x3549eb=_0x453404(0x23a);class _0x507e04 extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x5d5360=_0x453404;super(),_0x4ff54d(this,_0x5d5360(0x33b),_0x13023b['generateRandomId']()),_0x4ff54d(this,_0x5d5360(0x2fd),new Set()),_0x4ff54d(this,_0x5d5360(0x123),new Map()),_0x4ff54d(this,'_heartbeatTimer',null),_0x4ff54d(this,_0x5d5360(0x176),new Map()),_0x4ff54d(this,'_unitStatus',new Map()),this[_0x5d5360(0x224)]();}[_0x453404(0x3aa)](){const _0x2dcc95=_0x453404;super[_0x2dcc95(0x3aa)](),this[_0x2dcc95(0x176)][_0x2dcc95(0x136)]((_0x41ad4d,_0x5930cf)=>this['_removeClearOtherTimer'](_0x5930cf)),this[_0x2dcc95(0x1b8)]&&window[_0x2dcc95(0x2d7)](this[_0x2dcc95(0x1b8)]);}[_0x453404(0x345)](_0x240cb7){const _0x3b83fd=_0x453404;return this[_0x3b83fd(0x2b9)](_0x240cb7)[_0x3b83fd(0x35a)](_0xe0366[_0x3b83fd(0x215)]());}['editingUnit'](_0x35637e){const _0x4460fa=_0x453404;this['_selfUnitIDs']['size']===0x0&&this[_0x4460fa(0x219)](),this[_0x4460fa(0x2fd)][_0x4460fa(0x358)](_0x35637e),this[_0x4460fa(0x2df)]({'type':0x0,'memberID':this[_0x4460fa(0x33b)],'unitIDs':[_0x35637e],'isForwarded':!0x1});}[_0x453404(0x2ff)](_0x56467b){const _0x37b5f3=_0x453404;this['_selfUnitIDs'][_0x37b5f3(0x206)](_0x56467b),this[_0x37b5f3(0x2fd)]['size']===0x0&&this[_0x37b5f3(0x1b8)]&&window[_0x37b5f3(0x2d7)](this['_heartbeatTimer']);}['_init'](){const _0x37b80b=_0x453404;this[_0x37b80b(0x2bf)](_0x13023b[_0x37b80b(0x1f8)](_0xe0366[_0x37b80b(0x135)](window,_0x37b80b(0x327))[_0x37b80b(0x310)](_0x1a73f5=>{const _0x8896fa=_0x37b80b;if(_0x1a73f5[_0x8896fa(0x30f)]!==_0x3549eb||!_0x1a73f5[_0x8896fa(0x321)])return;const _0xe08c2b=JSON[_0x8896fa(0x337)](_0x1a73f5[_0x8896fa(0x321)]);this[_0x8896fa(0x119)](_0xe08c2b);}))),window[_0x37b80b(0x27c)]('unload',()=>this[_0x37b80b(0x2df)]({'type':0x1,'memberID':this[_0x37b80b(0x33b)],'unitIDs':Array[_0x37b80b(0x239)](this[_0x37b80b(0x2fd)])}));}[_0x453404(0x119)](_0x2f994d){const _0x1dafe0=_0x453404;switch(_0x2f994d['type']){case 0x0:this[_0x1dafe0(0x18d)](_0x2f994d);break;case 0x1:this['_handleLeaveEvent'](_0x2f994d);break;case 0x2:this[_0x1dafe0(0x318)](_0x2f994d);break;}}[_0x453404(0x18d)](_0x1c99c0){const _0x4be4cb=_0x453404,{unitIDs:_0x5d02f7,memberID:_0x5e811f,isForwarded:_0x41a713}=_0x1c99c0;_0x5d02f7[_0x4be4cb(0x136)](_0x7b4d4d=>{const _0x1fc6b2=_0x4be4cb;if(!_0x41a713&&this[_0x1fc6b2(0x123)][_0x1fc6b2(0x138)](_0x7b4d4d)&&this[_0x1fc6b2(0x2b9)](_0x7b4d4d)[_0x1fc6b2(0x1a0)](_0x2c5d3c[_0x1fc6b2(0x300)][_0x1fc6b2(0x228)]),!this['_unitOnClients']['has'](_0x7b4d4d)||!this[_0x1fc6b2(0x123)][_0x1fc6b2(0x28f)](_0x7b4d4d)[_0x1fc6b2(0x138)](_0x5e811f)){const _0x411381=this[_0x1fc6b2(0x123)]['get'](_0x7b4d4d)||new Set();_0x411381[_0x1fc6b2(0x358)](_0x5e811f),this[_0x1fc6b2(0x123)][_0x1fc6b2(0x2ca)](_0x7b4d4d,_0x411381),this[_0x1fc6b2(0x31a)](_0x5e811f);}}),_0x41a713||this[_0x4be4cb(0x2df)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4be4cb(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x386dc6){const _0x3f81ae=_0x453404;this[_0x3f81ae(0x179)](_0x386dc6);const _0x3ec40a=window[_0x3f81ae(0x181)](()=>{const _0x150aad=_0x3f81ae;this[_0x150aad(0x123)][_0x150aad(0x136)](_0x33f140=>{_0x33f140['delete'](_0x386dc6);});},_0x416e8c*0x2);this[_0x3f81ae(0x176)][_0x3f81ae(0x2ca)](_0x386dc6,_0x3ec40a);}['_removeClearOtherTimer'](_0x46ff56){const _0x412368=_0x453404;if(this[_0x412368(0x176)][_0x412368(0x138)](_0x46ff56)){const _0x1c6520=this['_clearOtherTimers'][_0x412368(0x28f)](_0x46ff56);_0x1c6520&&window[_0x412368(0x29d)](_0x1c6520),this[_0x412368(0x176)][_0x412368(0x2ca)](_0x46ff56,null);}}[_0x453404(0x30c)](_0x571f0c){const _0x41568c=_0x453404,{memberID:_0x41975b,unitIDs:_0x1af087}=_0x571f0c;_0x1af087['forEach'](_0x2887ec=>{const _0x4bc79e=_0x3ea2;var _0x34101b;const _0x3de0ff=this[_0x4bc79e(0x123)]['get'](_0x2887ec);_0x3de0ff&&(_0x3de0ff['delete'](_0x41975b),(_0x34101b=this[_0x4bc79e(0x2b9)](_0x2887ec))==null||_0x34101b['next'](_0x3de0ff['size']===0x0?_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x2da)]:_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x228)]));}),this[_0x41568c(0x179)](_0x41975b);}[_0x453404(0x318)](_0x4e4e93){const _0x4cf44d=_0x453404;this[_0x4cf44d(0x31a)](_0x4e4e93[_0x4cf44d(0x12c)]);}[_0x453404(0x2df)](_0x604212){const _0x23c836=_0x453404;localStorage[_0x23c836(0x38c)](_0x3549eb,JSON[_0x23c836(0x2b1)](_0x604212));}[_0x453404(0x219)](){const _0x32ca39=_0x453404;this[_0x32ca39(0x1b8)]=window[_0x32ca39(0x11d)](()=>{const _0x4bd2bf=_0x32ca39;this[_0x4bd2bf(0x2df)]({'type':0x2,'memberID':this[_0x4bd2bf(0x33b)]});},_0x416e8c);}[_0x453404(0x2b9)](_0x3e022f){const _0x2bb939=_0x453404;return this[_0x2bb939(0x11f)][_0x2bb939(0x138)](_0x3e022f)||this[_0x2bb939(0x11f)][_0x2bb939(0x2ca)](_0x3e022f,new _0xe0366['BehaviorSubject'](_0x2c5d3c[_0x2bb939(0x300)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2bb939(0x11f)][_0x2bb939(0x28f)](_0x3e022f);}}var _0x5bfddd=(_0x3162f2=>(_0x3162f2[_0x3162f2[_0x453404(0x1d7)]=0x0]='UNDEFINED',_0x3162f2[_0x3162f2['OK']=0x1]='OK',_0x3162f2[_0x3162f2['INTERNAL_ERROR']=0x2]=_0x453404(0x24d),_0x3162f2[_0x3162f2[_0x453404(0x1da)]=0x3]='PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x15d)]=0x4]='NOT_FOUND',_0x3162f2[_0x3162f2['UNAUTHENTICATED']=0x5]=_0x453404(0x14d),_0x3162f2[_0x3162f2[_0x453404(0x392)]=0x6]=_0x453404(0x392),_0x3162f2[_0x3162f2['INVALID_ARGUMENT']=0x7]=_0x453404(0x21b),_0x3162f2[_0x3162f2[_0x453404(0x319)]=0x8]='TOO_MANY_REQUESTS',_0x3162f2[_0x3162f2[_0x453404(0x3b0)]=0x9]=_0x453404(0x3b0),_0x3162f2[_0x3162f2[_0x453404(0x1ff)]=0xa]='LOGIN_FAILED',_0x3162f2[_0x3162f2['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x453404(0x1fb),_0x3162f2[_0x3162f2[_0x453404(0x183)]=0xc]=_0x453404(0x183),_0x3162f2[_0x3162f2[_0x453404(0x273)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3162f2[_0x3162f2[_0x453404(0x146)]=0xe]=_0x453404(0x146),_0x3162f2[_0x3162f2[_0x453404(0x2a8)]=0x1389]=_0x453404(0x2a8),_0x3162f2[_0x3162f2[_0x453404(0x2f1)]=0x1771]=_0x453404(0x2f1),_0x3162f2[_0x3162f2[_0x453404(0x393)]=0x1772]=_0x453404(0x393),_0x3162f2[_0x3162f2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x453404(0x1f5),_0x3162f2[_0x3162f2[_0x453404(0x383)]=0x1b59]=_0x453404(0x383),_0x3162f2[_0x3162f2[_0x453404(0x2cd)]=0x1b5a]=_0x453404(0x2cd),_0x3162f2[_0x3162f2[_0x453404(0x279)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3162f2[_0x3162f2['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x303)]=0x1b5d]='APPLY_DUPLICATED',_0x3162f2[_0x3162f2[_0x453404(0x1b5)]=0x1f41]=_0x453404(0x1b5),_0x3162f2[_0x3162f2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x453404(0x1fa),_0x3162f2[_0x3162f2[_0x453404(0x1f2)]=0x232a]=_0x453404(0x1f2),_0x3162f2[_0x3162f2[_0x453404(0x359)]=0x232b]=_0x453404(0x359),_0x3162f2[_0x3162f2[_0x453404(0x2ce)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3162f2[_0x3162f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x453404(0x222),_0x3162f2[_0x3162f2[_0x453404(0x26d)]=0x2711]=_0x453404(0x26d),_0x3162f2[_0x3162f2[_0x453404(0x362)]=0x2712]=_0x453404(0x362),_0x3162f2[_0x3162f2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x453404(0x1a4),_0x3162f2[_0x3162f2[_0x453404(0x12f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3162f2[_0x3162f2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x453404(0x241),_0x3162f2[_0x3162f2[_0x453404(0x37e)]=0x271b]=_0x453404(0x37e),_0x3162f2[_0x3162f2[_0x453404(0x369)]=0x271c]=_0x453404(0x369),_0x3162f2[_0x3162f2[_0x453404(0x317)]=0x271d]=_0x453404(0x317),_0x3162f2[_0x3162f2[_0x453404(0x39b)]=0x271e]=_0x453404(0x39b),_0x3162f2[_0x3162f2[_0x453404(0x306)]=0x271f]=_0x453404(0x306),_0x3162f2[_0x3162f2[_0x453404(0x39f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3162f2[_0x3162f2[_0x453404(0x17a)]=0x2af9]=_0x453404(0x17a),_0x3162f2[_0x3162f2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x453404(0x32f),_0x3162f2[_0x3162f2['INVALID_INVITE_CODE']=0x2ee2]=_0x453404(0x1cb),_0x3162f2[_0x3162f2[_0x453404(0x1bb)]=0x2ee3]=_0x453404(0x1bb),_0x3162f2[_0x3162f2[_0x453404(0x2e0)]=0x2ee4]=_0x453404(0x2e0),_0x3162f2[_0x3162f2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2ee)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x275)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2f2)]=0x32cb]=_0x453404(0x2f2),_0x3162f2[_0x3162f2['UNRECOGNIZED']=-0x1]=_0x453404(0x265),_0x3162f2))(_0x5bfddd||{}),_0x8b29d4=Object[_0x453404(0x23f)],_0x40fb1d=(_0x511be7,_0x261856,_0x4e9d02,_0x3545e2)=>{const _0x13536a=_0x453404;for(var _0x3ba611=_0x3545e2>0x1?void 0x0:_0x3545e2?_0x8b29d4(_0x261856,_0x4e9d02):_0x261856,_0x360eb7=_0x511be7[_0x13536a(0x2f8)]-0x1,_0xc1e82c;_0x360eb7>=0x0;_0x360eb7--)(_0xc1e82c=_0x511be7[_0x360eb7])&&(_0x3ba611=_0xc1e82c(_0x3ba611)||_0x3ba611);return _0x3ba611;},_0x1fda07=(_0x1baf9f,_0x15df6c)=>(_0x4f50a7,_0x35c06a)=>_0x15df6c(_0x4f50a7,_0x35c06a,_0x1baf9f);_0x5d4de8[_0x453404(0x2d9)]=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x152008,_0x5e4518,_0xcc2c33){const _0x18e66d=_0x453404;super(),this[_0x18e66d(0x231)]=_0x152008,this[_0x18e66d(0x1ef)]=_0x5e4518,this['_configService']=_0xcc2c33;}async['runOnServer'](_0x5e8ef6,_0x34eb5d,_0x2b6d7c,..._0x215071){const _0x157e16=_0x453404;var _0x4ad45d,_0x5eeab0,_0x598682,_0x27489e;const _0x419ea8=this[_0x157e16(0x231)][_0x157e16(0x187)]();if(!_0x419ea8)throw new Error(_0x157e16(0x1dc));const _0x3e4de0=((_0x4ad45d=this[_0x157e16(0x1d9)][_0x157e16(0x39e)](_0x2c5d3c[_0x157e16(0x27e)]))!=null?_0x4ad45d:_0x2c5d3c[_0x157e16(0x184)])+'/'+_0x5e8ef6+_0x157e16(0x1c4)+_0x34eb5d,_0x4138d2=new URL(window['location'][_0x157e16(0x339)]),_0x4d5206={'scriptId':_0x5e8ef6,'runId':(_0x5eeab0=_0x4138d2[_0x157e16(0x27d)]['get']('runId'))!=null?_0x5eeab0:'','function':_0x34eb5d,'unitId':_0x419ea8[_0x157e16(0x2be)](),'argsOfFunction':JSON[_0x157e16(0x2b1)](_0x215071),'invokeId':(_0x598682=_0x2b6d7c[_0x157e16(0x202)])!=null?_0x598682:'','executionId':(_0x27489e=_0x2b6d7c[_0x157e16(0x20d)])!=null?_0x27489e:''};try{const _0x4f688f=await this[_0x157e16(0x1ef)]['post'](_0x3e4de0,{'body':_0x4d5206});return _0x4f688f['body'][_0x157e16(0x132)]&&_0x4f688f[_0x157e16(0x19e)]['error']['code']!==_0x5bfddd['OK']?_0x157e16(0x370):_0x4f688f[_0x157e16(0x19e)][_0x157e16(0x2f9)];}catch{return _0x157e16(0x370);}}},_0x5d4de8[_0x453404(0x2d9)]=_0x40fb1d([_0x1fda07(0x0,_0x13023b['IUniverInstanceService']),_0x1fda07(0x1,_0x13023b['Inject'](_0x562449[_0x453404(0x2b6)])),_0x1fda07(0x2,_0x13023b[_0x453404(0x245)])],_0x5d4de8[_0x453404(0x2d9)]),_0x5d4de8[_0x453404(0x12e)]=_0x12858b,_0x5d4de8['SheetCollabCursorShape']=_0x2b9a5f,_0x5d4de8['WebBrowserSingleActiveUnitService']=_0x507e04,_0x5d4de8[_0x453404(0x349)]=_0x5e3f87,Object[_0x453404(0x188)](_0x5d4de8,Symbol[_0x453404(0x1a6)],{'value':_0x453404(0x2cc)});}));function _0x5b5a(){const _0x283a03=['EMAIL_VERIFY_CODE_MISMATCH','_shapes','MOBILE_HAS_BEEN_BOUND','onStarting','_entityInit$','handleIRemoveRow','APPLY_REVISION_CONFILICT','_updateSubUnitFromURLParams','_commandService','addEventListener','searchParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','round','status$','@univerjs/docs','getRelativeToViewportCoord','_transformService','getActiveSheet','isTransformMutationFailure','session.will-retry','displayName','ISocketService','OTHER_CLIENT_EDITING','TEXT_RANGE_LAYER_INDEX','_localCacheService','_syncEditingCollabCursorService','get','isEditing','eventID','onPointerLeave$','_startSheetCollabCursor','CONFLICT','sheetId','black','beginPath','UniverDesign','onCommandExecuted','url(#on-line-icon_clip0_910_349)','EffectRefRangId','handleMoveRange','clearTimeout','colorChannel1','DeleteRangeMoveLeftCommandId','_docClipboardService','makeDirty','collaboration.closeRoom','trim','popstate','ICommandService','complete','getSheetObject','CHANGESET_REVISION_CONFILICT','toRgbString','disableLocalCache','url(#off-line-icon_clip0_910_343)','transformMutation','collaboration.single-unit.warning','moveTo','rxjs','getUniverSheetInstance','stringify','exhaustSavingTask','setShapeProps','evenodd','defIds','HTTPService','UniverProCollaboration','_handleHover','_ensureSubject','takeUntil','_messageService','_transformHistoryAndStateStack','endRow','getUnitId','disposeWithMe','amd','_assignedColors','getDocRanges','useCallback','SheetsSelectionsService','_cursorInfo$','_docSkeleton','@univerjs-pro/collaboration','idSuffix','1690752wryUWh','set','JOIN_ROOM_FAILED','Module','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_EXPORT_SIZE_EXCEEDED','_range','location','_drawTextRange','192690KQffFn','setUndoRedoMutationParamsCache','3263248XdCZeP','RefRangeService','UniverEngineFormula','clearInterval','Unknown\x20user','RemoteUniscriptService','NO_OTHER_CLIENTS_EDITING','_uiPartsService','MessageType','React','Tools','_send','USER_NOT_INVITED_CODE','prototype','cursorInfo$','IUIPartsService','unitId','addObjects','Rectangle','Optional','DesktopCollaborationStatusDisplayController','AWAITING_WITH_PENDING','collab-text-range-','textRanges','SetSelectionsOperation','_toggleOnline','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','collabCursorState$','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','registerRefRange','UNIVER_SHEET','_docTransformStateCacheService','mask','_collabSessionService','length','result','DeleteRangeMoveUpCommandId','green.600','lineTo','_selfUnitIDs','combineLatest','disposeUnit','UnitStatus','_setupSubUnitSync','sessionTicket','APPLY_DUPLICATED','registerDependencies','operators','YUUMI_AI_RUN_FAILED','_docSyncEditingCollabCursorService','createIdentifier','handleDeleteRangeMoveUp','_initResize','urlChange$','_handleLeaveEvent','_context','UniverProCollaborationClient','key','subscribe','data','executeCommand','_onRefRangeChange','_registerRenderDependencies','SetWorksheetActivateCommand','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','_handleHeartbeatEvent','TOO_MANY_REQUESTS','_scheduleClearOtherTimer','apply','_cursor','getRangePointData','mapTo','extend','subunit','newValue','white','on-line-icon_clip0_910_349','random','filter','yellow.400','storage','LOCAL_CACHE_INTERVAL','replace','useRef','UniverRpc','isArray','_toggleOffline','saveImage','INVITE_CODE_HAS_BEEN_UES','red.300','IUniverInstanceService','http://www.w3.org/2000/svg','call','skeleton','type','getValue','parse','generateRandomId','href','reconnect','_id','_colorIndex','permission.content','touchDependencies','fillStyle','_updateCollabCursors','getVpScrollXYInfoByPosToVp','mutations','collabStatus.syncing','all','getUnitStatus$','Subject','0\x200\x2017\x2016','ITransformService','WebURLService','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','getViewport','measureText','UniverCollaborationClientPlugin','cursorInfo','collab-text-anchor-','with','RxDisposable','@univerjs/design','currentSkeleton$','NodePositionConvertToCursor','hide','fromEventSubject','_entities','add','LICENSE_IMPORT_SIZE_EXCEEDED','pipe','unit','getAncestorScale','UNIVER_DOC','_roomMembers$','react/jsx-runtime','useDependency','debug','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','_registerDependencies','row','_initStatusComponent','_updateLocalCursor','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getOwnPropertySymbols','backgroundColor','ThemeService','getUndoRedoMutationParamsCache','getRenderById','drawWith','Failed','m2Prime','M0\x200H16V16H0z','onMouseMove','_drawAnchor','0\x200\x2016\x2016','tag','WebSocketService','origin','_univerInstanceService','_cursorShapes','deserializeRangeWithSheet','BuiltInUIPart','IMessageService','YUUMI_ASYNCIO_CANCELLED','hasOwnProperty','handleDeleteRangeMoveLeft','_onCursorUpdate','667279aLWSDD','APPLY_REJECT','COLORS','Shape','getLocalCacheKey','CollaborationStatus','imageSourceType','PENDING','onRendered','saveTaskMap','setItem','univerjs-icon\x20univerjs-icon-','exports','ILogService','svg','getCollabEntity$','ALREADY_EXISTS','SNAPSHOT_HAS_BEEN_REMOVED','RemoveRowCommandId','div','addObject','attrs','_config','none','send','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addClipboardHook','UniverInstanceType','getConfig','YUUMI_CONNECTOR_URL_NOT_FOUND','342900AzvBjF','unsubscribe','clipPath','_initCommandExecutedListener','current','onPointerEnter$','fillText','_themeService','@univerjs/docs-ui','_createSocketURL','dispose','_anchor','path','getStateCache','_scene','roomMembers','COMPLETION_FINISHED','loadOfflineData','rgba(255,\x20255,\x20255,\x200.01)','_draw','getActiveRange','Error','CollaborationUIEventId','subUnitId','TEXT','_handleEvent','USERS_LEAVE','_session','entries','setInterval','includes','_unitStatus','getSheetBySheetId','debounce','collabStatus.synced','_unitOnClients','RECT','Vector2','jsxs','InsertRangeMoveDownCommandId','RevisionService','DocIMEInputManagerService','DOC_RANGE_TYPE','_sheetSkeletonManagerService','memberID','_collaborationUIEventService','IURLService','YUUMI_SUBSCRIPTION_NOT_FOUND','handleIRemoveCol','clsx','error','event$','_getScale','fromEvent','forEach','isActive','has','doc.mutation.rich-text-editing','_online','setParam','ranges','children','_dataLoaderService','ColorKit','indexOf','translate(.97)','on-line-icon','loadUnit','transformSelections','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_removeCollabCursors','_imageIoService','getOffsetConfig','session.connection-failed','_setupBeforeClosingHandler','_anchorDot','UNAUTHENTICATED','handleInsertRangeMoveRight','MoveRangeCommandId','getTypeOfUnitAdded$','@univerjs/network','UniverUi','connectInjector','_initStatusListener','getSheetId','size','...','_hideTimer','arc','SHEET_VIEWPORT_KEY','transformStateCache','max','NOT_FOUND','_saveTaskMap','getCurrentUnitForType','pushState','runRefRangeMutations','startRow','FromArray','Workbook','Disposable','currentTheme$','CollaborationEvent','toString','SOCKET_FAILED','url(#$1','runId','UniverIcon','8385825bVXibz','CollaborationController','save','_collaborationController','getMemberID','hovered','min','IBeforeCloseService','Inject','_clearOtherTimers','redoState','updateOfflineData','_removeClearOtherTimer','PY_RUNTIME_SCRIPT_ERROR','_hovered','useObservable','docStateChange$','@univerjs/rpc','_drawRectRange','INotificationService','setTimeout','enableLocalCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UPDATE_CURSOR','univer-mr-2\x20univer-flex\x20univer-text-xl','getFocusedUnit','defineProperty','UniverDrawing','shareReplay','name','setStateCache','_handleJoinEvent','use','_getMergeRange','roomMembers$','getColorFromTheme','_hover','saveOfflineData','UniverProCollaborationClientUi','concat','jiqing.500','_color','color','top','MemberService','531UzPGXq','actions','ILocalStorageService','body','_render','next','undoState','switchMap','LocaleService','YUUMI_RATE_OVER_LIMIT','restore','toStringTag','fillRule','_localStorageService','Tooltip','removeParam','OffLineIcon','DocSelectionManagerService','getMember','CollaborationSessionService','forwardRef','registerBeforeClose','selection','DependentOn','getMergeData','unitID','CONNECTOR_DATA_TOO_LARGE','SheetSkeletonManagerService','_doCreateSocket','_heartbeatTimer','assign','DocCollaborationEntity','INVITE_CODE_REQUIRED','height','icon','_getSessionTicket','IDocClipboardService','_injector','_localeService','activeSheet$','OnLineIcon','/run/','_name','CollaborationUIEventService','_document','_logService','_initEvent','addHandlerCallback','INVALID_INVITE_CODE','NodePositionConvertToRectRange','registerComponent','font','BehaviorSubject','SOCKET_FAILED_RETRY','then','text','find','xlink:href','collabStatus.notCollab','6ZKXQHO','UNDEFINED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_configService','PERMISSION_DENIED','off-line-icon_clip0_910_343','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSkeleton','OFFLINE','createElement','@univerjs-pro/collaboration-client','_colorAssignService','findNodePositionByCharIndex','dispose$','assignAColorForMemberID','defs','HEADER_MENU','1671488rFxnoo','getCurrentRevOfUnit','transformRemoteChangeset','width','Plugin','_getAnchorBounding','setAlpha','_initDependencies','_httpService','_scheduleSaving','Warning','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','RemoveColCommandId','ENSURE_SNAPSHOT_EXECUTION','UniverDocsUi','history','toDisposable','CollaborationDataLoaderController','LICENSE_MAX_UNITS_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','replaceState','params','push','LOGIN_FAILED','UniverEngineRender','_renderManagerService','invokeId','univer-flex\x20univer-items-center','_cursors','AWAITING','delete','VIEW_MAIN','getColor','string','onLocalMutation','uni.network.url-service','split','executionId','_docTransformSelectionsService','UniverNetwork','getParam','_saveCache','MUTATION','column','init','distinctUntilChanged','IRemoteInstanceService','CollaborationSocketService','values','_scheduleHeartbeat','asObservable','INVALID_ARGUMENT','_collabCursorState$','jsx','onTransformChange$','getCoordByCell','subscribeEvent','transformMutationsWithChangeset','LICENSE_DISTRO_REJECTED','_transformPreviousActiveRange','_init','DocStateChangeManagerService','replaceDocRanges','debounceTime','OTHER_CLIENTS_EDITING','ILocalCacheService','UniverDocs','DisposableCollection','NOT_COLLAB','_disabled','isTransformMutationsWithChangesetSuccess','DEFAULT_WS_SESSION_TICKET_URL','_docTransformIMECacheService','_instanceService','session.collaboration-timeout','selections','_beforeCloseService','1em','getTypeOfUnitDisposed$','Rect','5uBhETc','from','ACTIVE_UNIT_EVENT_CHANNEL','_notificationService','_backgroundColor','sessionStatus$','_collabCursorController','getOwnPropertyDescriptor','ONLINE','YUUMI_NO_CUBOID_FOR_QUESTION','IRenderManagerService','show','collabStatus.conflict','IConfigService','map','collaboration-client.offline-data-not-saved','SessionStatus','whenReady','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/sheets-ui','_updateURLWithCurrentState','INTERNAL_ERROR','UniverCollaborationClientUIPlugin','endColumn','_docStateChangeManagerService','substring','requireSession','_onCursorDelete','_urlService','sheetID','transformIMECache','_initEntityListener','DocSkeletonManagerService','RegularPolygon','deepClone','engine','_refreshCollabCursors','className','focused$','blue.400','createInstance','BrowserCollaborationSocketService','Injector','wsSessionTicketUrl','search','UNRECOGNIZED','m1Prime','getCollabCursors$','_memberService','unshift','createSocket','[CollaborationDataLoaderController]','fill','YUUMI_UNABLE_LOAD_URL','handleInsertCol','_status$','_docSkeletonManagerService','_eventUnsubscribe','throttleTime'];_0x5b5a=function(){return _0x283a03;};return _0x5b5a();}
1
+ function _0x2e20(){const _0x1af16b=['params','permission.content','CommandType','toDisposable','OTHER_CLIENTS_EDITING','_initStatusComponent','PENDING','useDependency','WebBrowserSingleActiveUnitService','subunit','UNIVER_DOC','getLocalCacheKey','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','OnLineIcon','concat','runId','m2Prime','call','url(#on-line-icon_clip0_910_349)','black','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','react/jsx-runtime','_send','_entities','object','YUUMI_SUBSCRIPTION_NOT_FOUND','max','CollaborationDataLoaderController','has','_cursorInfo$','length','OffLineIcon','removeParam','unsubscribe','handleDeleteRangeMoveUp','LICENSE_EXPORT_SIZE_EXCEEDED','setItem','UniverDrawing','mutations','attrs','color','imageSourceType','addObjects','jsxs','_docClipboardService','cursorInfo$','RemoveColCommandId','5041880IzjbKm','collab-text-range-','SheetCollabCursorShape','getColorFromTheme','eventID','doc.mutation.rich-text-editing','MOBILE_HAS_BEEN_BOUND','displayName','_clearOtherTimers','_localeService','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationSessionService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setTimeout','substring','executionId','AWAITING_WITH_PENDING','code','search','_updateCollabCursors','rxjs','react','set','currentSkeleton$','WECHAT_HAS_BEEN_BOUND','fillText','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveRange','history','onRendered','getActiveSheet','OTHER_CLIENT_EDITING','current','sessionTicket','saveImage','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_WS_SESSION_TICKET_URL','onMouseMove','getMemberID','engine','_textBubble','SOCKET_FAILED','reconnect','merge','_unitStatus','entries','symbol','ACTIVE_UNIT_EVENT_CHANNEL','getUnhiddenWorksheets','INVALID_INVITE_CODE','_messageService','_updateLocalCursor','_removeCollabCursors','UniverProCollaborationClient','isEditing','UniverNetwork','RemoteUniscriptService','_anchorDot','origin','ALREADY_EXISTS','_range','send','debounceTime','_transformUndoRedoStack','loadUnit','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','extend','2040921GaFeov','MessageType','toStringTag','jiqing.500','SetSelectionsOperation','getViewport','Inject','Tooltip','InsertColCommandId','getAncestorScale','_cursor','JOIN_ROOM_FAILED','application/json','currentColor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveOfflineData','_initStatusListener','LocaleService','_sheetSkeletonManagerService','_renderManagerService','colorChannel1','4582980LFgKup','startColumn','_scheduleClearOtherTimer','getUnitId','debug','init','on-line-icon','FromArray','UPDATE_CURSOR','_getAnchorBounding','getUndoRedoMutationParamsCache','urlChange$','...','round','CollaborationUIEventService','collaboration-client-ui.config','Warning','key','APPLY_DUPLICATED','_notificationService','APPLY_REJECT','_handleHeartbeatEvent','sheetId','_shapes','on-line-icon_clip0_910_349','_roomMembers$','getSheetId','editingUnit','_labelPosition','@univerjs/sheets-ui','deepClone','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/design','[CollaborationDataLoaderController]','1em','getItem','/run/','TOO_MANY_REQUESTS','UniverInstanceType','ENSURE_SNAPSHOT_EXECUTION','white','addEventListener','ISocketService','registerDependencies','registerComponent','CollaborationController','asObservable','getCellPositionByOffset','IUIPartsService','transformRemoteChangeset','_context','_dataLoaderService','getRangePointData','_toggleOnline','RemoveRowCommandId','svg','UniverCore','_unitOnClients','IURLService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','rxjs/operators','handleInsertCol','IUniverInstanceService','DOC_RANGE_TYPE','parse','DesktopCollaborationStatusDisplayController','unitID','DocCollaborationEntity','COLORS','transformMutation','setInterval','unitId','getValue','getVpScrollXYInfoByPosToVp','setStateCache','registerBeforeClose','roomMembers$','collaboration.closeRoom','handleInsertRangeMoveRight','takeUntil','ONLINE','APPLY_NON_SEQUENTIAL_REVISION','row','DocStateChangeManagerService','RefRangeService','PERMISSION_DENIED','labelPosition','Failed','lineTo','YUUMI_ASYNCIO_CANCELLED','idSuffix','font','assign','toRgbString','_scheduleSaving','CONFLICT','PY_RUNTIME_SCRIPT_ERROR','beginPath','univer-flex\x20univer-items-center','cursorInfo','_initDependencies','clipPath','YUUMI_UNABLE_LOAD_URL','_hideTimer','_themeService','UniverProCollaboration','NO_OTHER_CLIENTS_EDITING','IConfigService','xlink:href','getTypeOfUnitDisposed$','CONNECTOR_DATA_TOO_LARGE','_commandService','transformStateCache','trim','collab-text-anchor-','_initResize','setActiveRange','map','M0\x200H16V16H0z','@univerjs-pro/collaboration-client','BehaviorSubject','exhaustSavingTask','_collabCursorState$','getRenderById','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_doCreateSocket','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Workbook','_lastPointer','currentTheme$','newValue','hide','SYNCED','ILogService','getDocRanges','enableLocalCache','fromEvent','_transformPreviousActiveRange','_id','icon','APPLY_REVISION_CONFILICT','assignAColorForMemberID','includes','redoState','TEXT','path','_render','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','_onRefRangeChange','_init','url(#$1','isTransformMutationFailure','DocIMEInputManagerService','data','source','_logService','useRef','UNRECOGNIZED','_getSaveTimeout','_onCursorUpdate','collabStatus.notCollab','35254QcOCVr','createElement','_refRangeService','string','range','_initEvent','Unknown\x20user','collabStatus.offline','values','propertyIsEnumerable','getUniverSheetInstance','flatMap','SheetsSelectionsService','@univerjs-pro/collaboration','_startSheetCollabCursor','_docSkeletonManagerService','min','with','getConfig','USERS_LEAVE','FETCH_MISS','ISnapshotServerService','_initCommandExecutedListener','createSocket','_anchor','save','collabCursorState$','RECT','combineLatest','_ensureSubject','collabStatus.synced','setUndoRedoMutationParamsCache','createInstance','getSheetObject','width','_getMergeRange','_scheduleHeartbeat','updateOfflineData','syncEditingCollabCursor','OFFLINE','Vector2','_uiPartsService','USER_NOT_INVITED_CODE','_hovered','APPLY_PERMISSION_DENIED','popstate','_saveTaskMap','_drawRectRange','@univerjs/network','getRelativeToViewportCoord','_syncEditingCollabCursorService','INTERNAL_ERROR','UniverIcon','_getSessionTicket','replaceState','defs','complete','handleIRemoveCol','_docStateChangeManagerService','CollaborationStatus','sessionStatus$','getTypeOfUnitAdded$','subscribe','fill','320pBcpQv','defineProperty','endColumn','_drawAnchor','getOwnPropertySymbols','getCurrentRevOfUnit','throttleTime','isActive','_memberService','Disposable','_setupSubUnitSync','unload','m1Prime','UniverUi','session.will-retry','3892820mikcvf','LOCAL_CACHE_INTERVAL','_refreshCollabCursors','createIdentifier','_urlService','Tools','subUnitId','DependentOn','IMessageService','split','shareReplay','isTransformMutationsWithChangesetSuccess','mask','roomMembers','arc','_setupBeforeClosingHandler','_session','permission.title','_assignedColors','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','_selfUnitIDs','Optional','handleInsertRow','_initEntityListener','forEach','_collaborationController','BrowserCollaborationSocketService','MUTATION','serializeRangeWithSheet','dispose','findNodePositionByCharIndex','_localCacheService','@univerjs/engine-formula','get','_transformHistoryAndStateStack','next','_registerRenderDependencies','executeCommand','RegularPolygon','generateRandomId','registerRefRange','UnitStatus','function','Shape','_heartbeatTimer','stringify','triggerDblclick','_configService','indexOf','_draw','_status$','React','exports','TEXT_RANGE_LAYER_INDEX','_createSocketURL','isArray','CollaborationEvent','LICENSE_MAX_UNITS_EXCEEDED','handleInsertRangeMoveDown','ILocalCacheService','replaceDocRanges','_handleEvent','UNIVER_SHEET','COMPLETION_FINISHED','UniverEngineRender','clearTimeout','AWAITING','height','name','href','setParam','_colorAssignService','textRanges','from','moveTo','drawWith','InsertRowCommandId','green.600','whenReady','dispose$','#FFF','startsWith','_registerDependencies','focused$','RevisionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','debounce','hasOwnProperty','className','bottom','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onCommandExecuted','_collabCursorController','CollaborationUIEventId','INVITE_CODE_ALREADY_BOUND','_color','getMergeData','_updateURLWithCurrentState','blue.400','getCollabCursors$','@univerjs/rpc','off-line-icon_clip0_910_343','@univerjs/docs-ui','329684JxuYqK','EffectRefRangId','MOBILE_VERIFY_CODE_MISMATCH','IBeforeCloseService','WebSocketService','_docTransformStateCacheService','_docTransformIMECacheService','mergeOverrideWithDependencies','getColor','pluginName','requireSession','InsertRangeMoveRightCommandId','ThemeService','ranges','text','session.collaboration-timeout','http://www.w3.org/2000/svg','getFocusedUnit','_getSheetObject','Error','setShapeProps','skeleton','deserializeRangeWithSheet','sheetID','_docSyncEditingCollabCursorService','_transformService','CollaborationSocketService','_updateSubUnitFromURLParams','SHEET_VIEWPORT_KEY','_handleLeaveEvent','getCollabEntity$','EMAIL_HAS_BEEN_BOUND','undoState','measureText','_entityInit$','_httpService','type','_revisionService','SetWorksheetActivateCommand','_collaborationUIEventService','NodePositionConvertToCursor','ICommandService','INotificationService','Injector','_cursorShapes','UniverDocs','UniverSheets','_instanceService','EMAIL_VERIFY_CODE_MISMATCH','NodePositionConvertToRectRange','location','toString','Plugin','getCurrentUnitForType','unshift','some','random','resize','off-line-icon','evenodd','_toggleOffline','error','transformMutationsWithChangeset','collaboration.single-unit.warning','addObject','RxDisposable','_startDocCollabCursor','transformIMECache','getCoordByCell','size','_docTransformSelectionsService','getSkeleton','collabStatus.fetchMiss','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INVALID_ARGUMENT','selection','_collabSessionService','Subject','getOwnPropertyDescriptor','InsertRangeMoveDownCommandId','subscribeEvent','hovered','_cachedData','onPointerLeave$','_name','YUUMI_URL_COL_OUT_OF_RANGE','push','RichTextEditingMutation','_hover','_handleHover','handleIRemoveRow','UniverCollaborationClientUIPlugin','MemberService','Rect','_univerInstanceService','_localStorageService','getStateCache','ColorKit','getMember','show','CHANGESET_REVISION_CONFILICT','_cursors','registerRenderModule','red.300','prototype','onLocalMutation','54VvaPDR','_saveCache','YUUMI_RATE_OVER_LIMIT','_injector','delete','getCurrent','_removeClearOtherTimer','YUUMI_ALL_TABLES_IS_INVALID','replace','DisposableCollection','storage','touchDependencies','onPointerMove$','result','_drawTextRange','_eventUnsubscribe','0\x200\x2017\x2016','yellow.400','_onCursorDelete','IDocClipboardService','filter','event$','WebURLService','SessionStatus','amd','_online','44LlrxoA','operators','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_CONNECTOR_URL_NOT_FOUND','transformSelections','body','distinctUntilChanged','restore','setAlpha','MoveRangeCommandId','fillRule','column','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','disposeUnit','forwardRef','HTTPService','_disabled','getSheetBySheetId','session.connection-failed','getParam','INVITE_CODE_HAS_BEEN_UES','useObservable','@univerjs/sheets','find','fillStyle','top','ITransformService','disableLocalCache','_getScale','IRemoteInstanceService','switchMap','_scene','defIds','url(#off-line-icon_clip0_910_343)','jsx','LICENSE_IMPORT_SIZE_EXCEEDED','NOT_FOUND','purple.300','YUUMI_AI_RUN_FAILED','disposeWithMe','UniverEngineFormula','CLOSE_ROOM','_imageIoService','0\x200\x2016\x2016','_backgroundColor','saveTaskMap','VIEW_MAIN','tag','UniverRpc','LICENSE_DISTRO_REJECTED','SheetSkeletonManagerService','13162177lJplYs','pipe','searchParams','UNAUTHENTICATED','children','UNDEFINED','_config','NOT_COLLAB','@univerjs/ui','IRenderManagerService','pushState','translate(.97)','_colorIndex','LOGIN_FAILED','none','IImageIoService','add','getOffsetConfig'];_0x2e20=function(){return _0x1af16b;};return _0x2e20();}function _0x35c9(_0x88068e,_0x57cd94){const _0x2e20e6=_0x2e20();return _0x35c9=function(_0x35c91a,_0x362c40){_0x35c91a=_0x35c91a-0x166;let _0x5ae76e=_0x2e20e6[_0x35c91a];return _0x5ae76e;},_0x35c9(_0x88068e,_0x57cd94);}(function(_0x25beb5,_0x1d9858){const _0x3a0a5f=_0x35c9,_0x1c18be=_0x25beb5();while(!![]){try{const _0x4b9559=-parseInt(_0x3a0a5f(0x313))/0x1*(parseInt(_0x3a0a5f(0x1d9))/0x2)+-parseInt(_0x3a0a5f(0x2f9))/0x3*(parseInt(_0x3a0a5f(0x28f))/0x4)+-parseInt(_0x3a0a5f(0x228))/0x5+-parseInt(_0x3a0a5f(0x3e0))/0x6+-parseInt(_0x3a0a5f(0x346))/0x7+-parseInt(_0x3a0a5f(0x388))/0x8+-parseInt(_0x3a0a5f(0x3cb))/0x9*(-parseInt(_0x3a0a5f(0x219))/0xa);if(_0x4b9559===_0x1d9858)break;else _0x1c18be['push'](_0x1c18be['shift']());}catch(_0x37c994){_0x1c18be['push'](_0x1c18be['shift']());}}}(_0x2e20,0xe6976),function(_0x4fb134,_0x3b1277){const _0x29d0f7=_0x35c9;typeof exports==_0x29d0f7(0x371)&&typeof module<'u'?_0x3b1277(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x29d0f7(0x311)]?define([_0x29d0f7(0x25c),_0x29d0f7(0x1ae),'@univerjs/core','@univerjs/engine-render',_0x29d0f7(0x209),_0x29d0f7(0x28e),'@univerjs/drawing',_0x29d0f7(0x39c),_0x29d0f7(0x1e6),'@univerjs/docs',_0x29d0f7(0x248),_0x29d0f7(0x329),_0x29d0f7(0x173),_0x29d0f7(0x3fd),_0x29d0f7(0x36e),_0x29d0f7(0x34e),_0x29d0f7(0x400),_0x29d0f7(0x39d),_0x29d0f7(0x28c)],_0x3b1277):(_0x4fb134=typeof globalThis<'u'?globalThis:_0x4fb134||self,_0x3b1277(_0x4fb134['UniverProCollaborationClientUi']={},_0x4fb134[_0x29d0f7(0x3bd)],_0x4fb134[_0x29d0f7(0x16f)],_0x4fb134[_0x29d0f7(0x268)],_0x4fb134[_0x29d0f7(0x3bf)],_0x4fb134['UniverDocsUi'],_0x4fb134[_0x29d0f7(0x37e)],_0x4fb134[_0x29d0f7(0x39c)],_0x4fb134[_0x29d0f7(0x1a0)],_0x4fb134[_0x29d0f7(0x2bc)],_0x4fb134[_0x29d0f7(0x33b)],_0x4fb134[_0x29d0f7(0x2bd)],_0x4fb134[_0x29d0f7(0x39c)][_0x29d0f7(0x314)],_0x4fb134['UniverSheetsUi'],_0x4fb134[_0x29d0f7(0x25b)],_0x4fb134[_0x29d0f7(0x226)],_0x4fb134['UniverDesign'],_0x4fb134['React'],_0x4fb134[_0x29d0f7(0x343)]));}(this,function(_0x1a9818,_0x574d08,_0x1a1077,_0x440ec2,_0x415ecd,_0x34435f,_0x4ee18e,_0x447b79,_0x2333c6,_0x204ba9,_0x1b192e,_0xf2c5f7,_0x66fe1a,_0x10445a,_0x4c4c0f,_0x2b55d2,_0x48312e,_0x1906a3,_0x32b0cc){'use strict';const _0x57a832=_0x35c9;var _0x302413=Object[_0x57a832(0x21a)],_0xe7514=(_0x53e5b8,_0x46220a,_0x10ac80)=>_0x46220a in _0x53e5b8?_0x302413(_0x53e5b8,_0x46220a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10ac80}):_0x53e5b8[_0x46220a]=_0x10ac80,_0x1531e9=(_0x3fd2f4,_0x317819,_0x3abc20)=>_0xe7514(_0x3fd2f4,typeof _0x317819!=_0x57a832(0x3b6)?_0x317819+'':_0x317819,_0x3abc20),_0x230b3f=Object[_0x57a832(0x2dd)],_0x4a12a8=(_0x233296,_0x6fe41a,_0x313b13,_0x3790ca)=>{const _0x50e395=_0x57a832;for(var _0x24bc70=_0x3790ca>0x1?void 0x0:_0x3790ca?_0x230b3f(_0x6fe41a,_0x313b13):_0x6fe41a,_0x44c62f=_0x233296[_0x50e395(0x377)]-0x1,_0x1e9ce9;_0x44c62f>=0x0;_0x44c62f--)(_0x1e9ce9=_0x233296[_0x44c62f])&&(_0x24bc70=_0x1e9ce9(_0x24bc70)||_0x24bc70);return _0x24bc70;},_0x23dcab=(_0x3708bb,_0x431732)=>(_0x5a1fee,_0x4acc26)=>_0x431732(_0x5a1fee,_0x4acc26,_0x3708bb);let _0x10a210=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x4afc4a,_0x32b67e){const _0x441c15=_0x57a832;super(),this[_0x441c15(0x385)]=_0x4afc4a,this[_0x441c15(0x33d)]=_0x32b67e,this[_0x441c15(0x1cd)]();}[_0x57a832(0x1cd)](){const _0x444c17=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x24085a=>{const _0x2661a8=_0x35c9,_0x54d4a5=await _0x444c17[_0x2661a8(0x33d)][_0x2661a8(0x3aa)](_0x24085a);return _0x54d4a5?{'source':_0x54d4a5[_0x2661a8(0x1d2)],'imageSourceType':_0x54d4a5[_0x2661a8(0x382)]}:null;}}));}};_0x10a210=_0x4a12a8([_0x23dcab(0x0,_0x34435f[_0x57a832(0x30c)]),_0x23dcab(0x1,_0x4ee18e[_0x57a832(0x355)])],_0x10a210);const _0x30a909=[_0x57a832(0x338),_0x57a832(0x3ce),_0x57a832(0x275),_0x57a832(0x2f6),_0x57a832(0x28a),_0x57a832(0x30a)];class _0x1ea788 extends _0x1a1077['Disposable']{constructor(){const _0x5d42f5=_0x57a832;super(...arguments),_0x1531e9(this,'_assignedColors',new Map()),_0x1531e9(this,_0x5d42f5(0x352),0x0);}[_0x57a832(0x1c4)](_0x1f2e5c){const _0x55c03b=_0x57a832;if(this[_0x55c03b(0x23a)]['has'](_0x1f2e5c))return this['_assignedColors']['get'](_0x1f2e5c);const _0x462c57=_0x30a909[this[_0x55c03b(0x352)]];return this['_colorIndex']=(this[_0x55c03b(0x352)]+0x1)%_0x30a909['length'],this[_0x55c03b(0x23a)][_0x55c03b(0x39e)](_0x1f2e5c,_0x462c57),_0x462c57;}}function _0x1e3d7a(_0x3274e7){let _0x25fca6='';for(const _0x1a13cf of _0x3274e7){const {startOffset:_0x31f0f7,endOffset:_0x381486,isActive:_0x2fd796,rangeType:_0x13ba57,segmentId:_0x54a8c0,segmentPage:_0x14075d}=_0x1a13cf;_0x25fca6['length']&&(_0x25fca6+=','),_0x25fca6+=_0x31f0f7+':'+_0x381486+':'+(_0x2fd796?'1':'0')+':'+_0x13ba57+':'+_0x54a8c0+':'+_0x14075d;}return _0x25fca6;}function _0x5cbcf2(_0x1c9b36){const _0x270083=_0x57a832,_0x1c073b=_0x1c9b36[_0x270083(0x231)](','),_0x53c9c7=[];for(const _0x34c0be of _0x1c073b){const [_0x3f41d8,_0x541563,_0x543e86,_0x52347b,_0x2c35dd,_0x422b56]=_0x34c0be[_0x270083(0x231)](':');_0x53c9c7[_0x270083(0x2e5)]({'startOffset':Number(_0x3f41d8),'endOffset':Number(_0x541563),'collapsed':_0x3f41d8===_0x541563,'isActive':_0x543e86==='1','rangeType':_0x52347b===_0x1a1077[_0x270083(0x176)][_0x270083(0x1c7)]?_0x1a1077[_0x270083(0x176)][_0x270083(0x1c7)]:_0x1a1077[_0x270083(0x176)]['RECT'],'segmentId':typeof _0x2c35dd==_0x270083(0x1dc)?String(_0x2c35dd):'','segmentPage':Number(_0x422b56!=null?_0x422b56:-0x1)});}return _0x53c9c7[_0x270083(0x2c6)](_0x404860=>_0x404860[_0x270083(0x220)])||(_0x53c9c7[0x0][_0x270083(0x220)]=!0x0),_0x53c9c7;}class _0x1b1215 extends _0x1a1077['RxDisposable']{constructor(){const _0x1b25c0=_0x57a832;super(...arguments),_0x1531e9(this,_0x1b25c0(0x1b1),new _0x447b79[(_0x1b25c0(0x1af))](null)),_0x1531e9(this,'collabCursorState$',this[_0x1b25c0(0x1b1)]['asObservable']());}['syncEditingCollabCursor'](_0x4bca94){const _0x3c15e3=_0x57a832,{unitID:_0x1742da,memberID:_0x5661fa,textRanges:_0x13e4bb}=_0x4bca94,_0x509914=_0x1e3d7a(_0x13e4bb);if(_0x509914==='')return;const _0x1c35c4={'unitID':_0x1742da,'memberID':_0x5661fa,'selection':_0x509914};this[_0x3c15e3(0x1b1)]['next'](_0x1c35c4);}}var _0x671df6=Object['getOwnPropertyDescriptor'],_0xea6c81=(_0x2ddc03,_0xb5b00e,_0xab4487,_0x583db7)=>{const _0x3923f6=_0x57a832;for(var _0x3fe99f=_0x583db7>0x1?void 0x0:_0x583db7?_0x671df6(_0xb5b00e,_0xab4487):_0xb5b00e,_0x431f5a=_0x2ddc03[_0x3923f6(0x377)]-0x1,_0x103a0b;_0x431f5a>=0x0;_0x431f5a--)(_0x103a0b=_0x2ddc03[_0x431f5a])&&(_0x3fe99f=_0x103a0b(_0x3fe99f)||_0x3fe99f);return _0x3fe99f;},_0x5c3a86=(_0x1322cc,_0x3090e6)=>(_0x14287b,_0x332bae)=>_0x3090e6(_0x14287b,_0x332bae,_0x1322cc);const _0x5e2b14=0x12c,_0x524430=0x64;let _0x1530f8=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x2d186f,_0x35065e,_0x4b4511,_0x4eb6e2,_0x35b999,_0x5a6375,_0x2f500e,_0xdb71b7,_0x463a8f){const _0x2d3ca0=_0x57a832;super(),_0x1531e9(this,'_online',!0x1),_0x1531e9(this,_0x2d3ca0(0x1cd),!0x1),_0x1531e9(this,_0x2d3ca0(0x376),new _0x447b79[(_0x2d3ca0(0x1af))](new Map())),_0x1531e9(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x1531e9(this,'_roomMembers$',new _0x447b79[(_0x2d3ca0(0x1af))]([])),_0x1531e9(this,_0x2d3ca0(0x183),this[_0x2d3ca0(0x3f9)][_0x2d3ca0(0x347)](_0x447b79[_0x2d3ca0(0x3c6)](_0x5e2b14))),_0x1531e9(this,_0x2d3ca0(0x3bb),_0x1a1077[_0x2d3ca0(0x27e)](_0x187c85=>{const _0x4b62e5=_0x2d3ca0,_0x50f7c3={'eventID':_0x2333c6[_0x4b62e5(0x260)][_0x4b62e5(0x3e8)],'data':{'unitID':this[_0x4b62e5(0x179)],'memberID':this['_session'][_0x4b62e5(0x3ae)](),'selection':_0x1e3d7a(_0x187c85)}};this[_0x4b62e5(0x238)][_0x4b62e5(0x3c5)](_0x50f7c3,this[_0x4b62e5(0x179)]);},_0x524430)),(this[_0x2d3ca0(0x179)]=_0x2d186f,this[_0x2d3ca0(0x238)]=_0x35065e,this[_0x2d3ca0(0x2fc)]=_0x4b4511,this[_0x2d3ca0(0x26f)]=_0x4eb6e2,this['_memberService']=_0x35b999,this[_0x2d3ca0(0x20b)]=_0x5a6375,this['_transformService']=_0x2f500e,this[_0x2d3ca0(0x2ed)]=_0xdb71b7,this['_commandService']=_0x463a8f);}get[_0x57a832(0x19a)](){const _0x458484=_0x57a832;return this[_0x458484(0x376)][_0x458484(0x17f)]();}get['roomMembers'](){const _0x30223b=_0x57a832;return this[_0x30223b(0x3f9)][_0x30223b(0x17f)]();}[_0x57a832(0x245)](){const _0x2377f6=_0x57a832;super['dispose'](),this[_0x2377f6(0x376)][_0x2377f6(0x24b)](new Map()),this['_cursorInfo$'][_0x2377f6(0x211)](),this[_0x2377f6(0x3f9)][_0x2377f6(0x24b)]([]),this[_0x2377f6(0x3f9)][_0x2377f6(0x211)]();}[_0x57a832(0x3e5)](){const _0x2eb920=_0x57a832;this[_0x2eb920(0x1cd)]||(this['_init']=!0x0,this[_0x2eb920(0x238)][_0x2eb920(0x215)][_0x2eb920(0x347)](_0x447b79[_0x2eb920(0x186)](this['dispose$']))['subscribe'](_0x5616c1=>{const _0x4f3221=_0x2eb920;_0x5616c1===_0x574d08['SessionStatus']['ONLINE']?this[_0x4f3221(0x16c)]():this[_0x4f3221(0x2cb)]();}),this[_0x2eb920(0x238)][_0x2eb920(0x30e)][_0x2eb920(0x347)](_0x447b79[_0x2eb920(0x186)](this['dispose$']))[_0x2eb920(0x217)](_0x1530bc=>{const _0xd3cfa8=_0x2eb920,_0x407a43=_0x1530bc[_0xd3cfa8(0x38c)];_0x407a43===_0x2333c6[_0xd3cfa8(0x260)][_0xd3cfa8(0x3e8)]&&this[_0xd3cfa8(0x1d7)](_0x1530bc),_0x407a43===_0x2333c6[_0xd3cfa8(0x260)][_0xd3cfa8(0x1ec)]&&this[_0xd3cfa8(0x30b)](_0x1530bc);}),this[_0x2eb920(0x33a)](this['_commandService'][_0x2eb920(0x283)](_0x34e8c6=>{const _0x16982b=_0x2eb920,_0x223d8d=_0x34e8c6[_0x16982b(0x358)];_0x223d8d!=null&&this[_0x16982b(0x312)]&&_0x34e8c6['id']===_0x204ba9['SetTextSelectionsOperation']['id']&&_0x223d8d[_0x16982b(0x17e)]===this[_0x16982b(0x179)]&&_0x223d8d[_0x16982b(0x3be)]===!0x1&&_0x223d8d[_0x16982b(0x29c)][_0x16982b(0x377)]>0x0&&this[_0x16982b(0x3bb)](_0x223d8d[_0x16982b(0x29c)]);})),this[_0x2eb920(0x20b)][_0x2eb920(0x1f3)][_0x2eb920(0x347)](_0x447b79[_0x2eb920(0x186)](this[_0x2eb920(0x277)]))[_0x2eb920(0x217)](_0x3e0541=>{const _0x20a540=_0x2eb920;if((_0x3e0541==null?void 0x0:_0x3e0541[_0x20a540(0x179)])!==this[_0x20a540(0x179)])return;const _0x1c17d4={'eventID':_0x2333c6[_0x20a540(0x260)][_0x20a540(0x3e8)],'data':_0x3e0541};this[_0x20a540(0x1d7)](_0x1c17d4);}),this[_0x2eb920(0x33a)](this['_commandService'][_0x2eb920(0x283)](_0x12c61d=>{const _0xbeeae8=_0x2eb920;if(_0x12c61d[_0xbeeae8(0x358)]==null)return;const _0x4c4c26=_0x12c61d[_0xbeeae8(0x358)];if(_0x12c61d['id']!==_0x204ba9[_0xbeeae8(0x2e6)]['id']||_0x4c4c26['unitId']!==this[_0xbeeae8(0x179)])return;const _0x10a803={'id':'doc.mutation.rich-text-editing','params':_0x4c4c26},_0x546750=this[_0xbeeae8(0x19a)];for(const [_0x4c2bf1,_0x26247a]of _0x546750){const _0x49c0a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xbeeae8(0x179)],'actions':null,'textRanges':_0x26247a[_0xbeeae8(0x29c)]}},_0x298a6e=this[_0xbeeae8(0x2a8)][_0xbeeae8(0x17c)](_0x10a803,_0x49c0a6,!0x1);if(_0x2333c6[_0xbeeae8(0x1cf)](_0x298a6e))throw _0x298a6e[_0xbeeae8(0x2cc)];_0x546750[_0xbeeae8(0x39e)](_0x4c2bf1,{..._0x26247a,'ranges':_0x298a6e[_0xbeeae8(0x369)][_0xbeeae8(0x358)][_0xbeeae8(0x270)]});}queueMicrotask(()=>{const _0x5f434b=_0xbeeae8;this['_cursorInfo$'][_0x5f434b(0x24b)](_0x546750);});})));}[_0x57a832(0x1d7)](_0x95159b){const _0xa42410=_0x57a832;var _0x12c69f,_0x5f100e;const {memberID:_0xd7c5c2,selection:_0x53475a}=_0x95159b[_0xa42410(0x1d1)],_0x24f904=_0x5cbcf2(_0x53475a),_0x5c6d3f=(_0x5f100e=(_0x12c69f=this[_0xa42410(0x221)]['getMember'](this['unitID'],_0xd7c5c2))==null?void 0x0:_0x12c69f['name'])!=null?_0x5f100e:_0xa42410(0x1df),_0x435629={'color':this[_0xa42410(0x26f)]['assignAColorForMemberID'](_0xd7c5c2),'name':_0x5c6d3f,'ranges':_0x24f904},_0x18387e=this[_0xa42410(0x19a)];_0x18387e[_0xa42410(0x39e)](_0xd7c5c2,_0x435629),this[_0xa42410(0x376)][_0xa42410(0x24b)](_0x18387e);}[_0x57a832(0x30b)](_0x3e0004){const _0x2b5760=_0x57a832,{memberID:_0x146cd6}=_0x3e0004[_0x2b5760(0x1d1)],_0x4b8890=this[_0x2b5760(0x19a)];_0x4b8890[_0x2b5760(0x2fd)](_0x146cd6),this[_0x2b5760(0x376)][_0x2b5760(0x24b)](_0x4b8890);}['_toggleOnline'](){const _0x173f1d=_0x57a832;var _0x186f34;if(this['_online']=!0x0,((_0x186f34=this[_0x173f1d(0x2ed)][_0x173f1d(0x2a0)]())==null?void 0x0:_0x186f34[_0x173f1d(0x3e3)]())!==this[_0x173f1d(0x179)])return;const _0x1ff8da=this['_injector'][_0x173f1d(0x249)](_0x204ba9['DocSelectionManagerService'])['getDocRanges']();Array[_0x173f1d(0x25f)](_0x1ff8da)&&_0x1ff8da['length']>0x0&&this['_updateLocalCursor'](_0x1ff8da);}['_toggleOffline'](){const _0x1e2e65=_0x57a832;this[_0x1e2e65(0x312)]=!0x1;}};_0x1530f8=_0xea6c81([_0x5c3a86(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077['Injector'])),_0x5c3a86(0x3,_0x1a1077['Inject'](_0x1ea788)),_0x5c3a86(0x4,_0x1a1077[_0x57a832(0x3d1)](_0x574d08[_0x57a832(0x2eb)])),_0x5c3a86(0x5,_0x1a1077[_0x57a832(0x3d1)](_0x1b1215)),_0x5c3a86(0x6,_0x2333c6['ITransformService']),_0x5c3a86(0x7,_0x1a1077[_0x57a832(0x175)]),_0x5c3a86(0x8,_0x1a1077['ICommandService'])],_0x1530f8);var _0x259922=Object[_0x57a832(0x2dd)],_0x4b93ab=(_0x502085,_0x29f701,_0x59fc0b,_0x23ecab)=>{const _0x9c8c5e=_0x57a832;for(var _0x4a714f=_0x23ecab>0x1?void 0x0:_0x23ecab?_0x259922(_0x29f701,_0x59fc0b):_0x29f701,_0x1a5110=_0x502085[_0x9c8c5e(0x377)]-0x1,_0x41e58e;_0x1a5110>=0x0;_0x1a5110--)(_0x41e58e=_0x502085[_0x1a5110])&&(_0x4a714f=_0x41e58e(_0x4a714f)||_0x4a714f);return _0x4a714f;},_0x23473a=(_0x15c85b,_0x214971)=>(_0x7fa1b8,_0x3a8984)=>_0x214971(_0x7fa1b8,_0x3a8984,_0x15c85b);const _0x3ed3d0=0x12c,_0x2ba3fe=0x64,_0x472d36=()=>{let _0x4410ae=[],_0x47990f=!0x1;return _0x2bf20d=>{const _0x18ca4b=_0x35c9;_0x4410ae[_0x18ca4b(0x2e5)](_0x2bf20d),_0x47990f||(_0x47990f=!0x0,setTimeout(()=>{const _0x30e9a9=_0x18ca4b;_0x4410ae[_0x30e9a9(0x240)](_0x541fd4=>_0x541fd4()),_0x4410ae=[],_0x47990f=!0x1;}));};};let _0x11d216=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x503e0c,_0x4b3707,_0xd11a15,_0x28a4c7,_0x13d340,_0xb09863,_0x55da90,_0x37da08){const _0x4e670f=_0x57a832;super(),_0x1531e9(this,_0x4e670f(0x312),!0x1),_0x1531e9(this,'_init',!0x1),_0x1531e9(this,_0x4e670f(0x376),new _0x447b79[(_0x4e670f(0x1af))](new Map())),_0x1531e9(this,_0x4e670f(0x386),this[_0x4e670f(0x376)][_0x4e670f(0x40e)]()),_0x1531e9(this,'_roomMembers$',new _0x447b79[(_0x4e670f(0x1af))]([])),_0x1531e9(this,_0x4e670f(0x183),this[_0x4e670f(0x3f9)][_0x4e670f(0x347)](_0x447b79[_0x4e670f(0x3c6)](_0x3ed3d0))),_0x1531e9(this,_0x4e670f(0x3bb),_0x1a1077[_0x4e670f(0x27e)]((_0x1404e3,_0x4568ee)=>{const _0x45f609=_0x4e670f,_0x33b765={'eventID':_0x2333c6[_0x45f609(0x260)][_0x45f609(0x3e8)],'data':{'unitID':this['unitID'],'memberID':this[_0x45f609(0x238)]['getMemberID'](),'selection':_0x1b192e[_0x45f609(0x244)](_0x1404e3,_0x4568ee[_0x45f609(0x1dd)])}};this[_0x45f609(0x238)][_0x45f609(0x3c5)](_0x33b765,this[_0x45f609(0x179)]);},_0x2ba3fe)),(this[_0x4e670f(0x179)]=_0x503e0c,this[_0x4e670f(0x238)]=_0x4b3707,this[_0x4e670f(0x2fc)]=_0xd11a15,this['_colorAssignService']=_0x28a4c7,this[_0x4e670f(0x221)]=_0x13d340,this[_0x4e670f(0x2ed)]=_0xb09863,this[_0x4e670f(0x1a6)]=_0x55da90,this[_0x4e670f(0x1db)]=_0x37da08);}get['cursorInfo'](){const _0x5cc777=_0x57a832;return this[_0x5cc777(0x376)]['getValue']();}get[_0x57a832(0x235)](){const _0x3c8e79=_0x57a832;return this[_0x3c8e79(0x3f9)][_0x3c8e79(0x17f)]();}[_0x57a832(0x245)](){const _0x437db3=_0x57a832;super[_0x437db3(0x245)](),this[_0x437db3(0x376)][_0x437db3(0x24b)](new Map()),this[_0x437db3(0x376)][_0x437db3(0x211)](),this[_0x437db3(0x3f9)][_0x437db3(0x24b)]([]),this[_0x437db3(0x3f9)][_0x437db3(0x211)]();}[_0x57a832(0x3e5)](){const _0x392d36=_0x57a832;this[_0x392d36(0x1cd)]||(this[_0x392d36(0x1cd)]=!0x0,this[_0x392d36(0x238)]['sessionStatus$']['pipe'](_0x447b79[_0x392d36(0x186)](this['dispose$']))[_0x392d36(0x217)](_0x3c3c3f=>{const _0x2e021c=_0x392d36;_0x3c3c3f===_0x574d08[_0x2e021c(0x310)][_0x2e021c(0x187)]?this['_toggleOnline']():this[_0x2e021c(0x2cb)]();}),this[_0x392d36(0x238)][_0x392d36(0x30e)][_0x392d36(0x347)](_0x447b79[_0x392d36(0x186)](this['dispose$']))['subscribe'](_0xc48c45=>{const _0x23d5a5=_0x392d36,_0x26c658=_0xc48c45[_0x23d5a5(0x38c)];_0x26c658===_0x2333c6[_0x23d5a5(0x260)][_0x23d5a5(0x3e8)]&&this['_onCursorUpdate'](_0xc48c45),_0x26c658===_0x2333c6[_0x23d5a5(0x260)][_0x23d5a5(0x1ec)]&&this[_0x23d5a5(0x30b)](_0xc48c45);}),this[_0x392d36(0x1cc)](),this['disposeWithMe'](this[_0x392d36(0x1a6)][_0x392d36(0x283)](_0x394be7=>{const _0x1bdf0c=_0x392d36;if(this[_0x1bdf0c(0x312)]&&_0x394be7['id']===_0xf2c5f7[_0x1bdf0c(0x3cf)]['id']&&_0x394be7[_0x1bdf0c(0x358)][_0x1bdf0c(0x17e)]===this[_0x1bdf0c(0x179)]){const _0x2e927f=_0x394be7[_0x1bdf0c(0x358)];this[_0x1bdf0c(0x3bb)](_0x2e927f[_0x1bdf0c(0x22e)],_0x2e927f['selections'][0x0]);}})));}[_0x57a832(0x1d7)](_0x5a23a3){const _0x20122b=_0x57a832;var _0x4ae884,_0x4dec93;const {memberID:_0x1ada4e,selection:_0x3907d1}=_0x5a23a3[_0x20122b(0x1d1)],{sheetName:_0x4db80e,range:_0x963296}=_0x1b192e[_0x20122b(0x2a5)](_0x3907d1),_0x5d62f0={'name':(_0x4dec93=(_0x4ae884=this['_memberService'][_0x20122b(0x2f1)](this[_0x20122b(0x179)],_0x1ada4e))==null?void 0x0:_0x4ae884[_0x20122b(0x26c)])!=null?_0x4dec93:_0x20122b(0x1df),'range':this[_0x20122b(0x1fc)](_0x4db80e,_0x963296),'sheetID':_0x4db80e,'color':this[_0x20122b(0x26f)][_0x20122b(0x1c4)](_0x1ada4e),'selection':_0x3907d1},_0x157b2a=this[_0x20122b(0x19a)];_0x157b2a[_0x20122b(0x39e)](_0x1ada4e,_0x5d62f0),this[_0x20122b(0x376)][_0x20122b(0x24b)](_0x157b2a);}[_0x57a832(0x30b)](_0x355fa5){const _0x53e695=_0x57a832,{memberID:_0x3c6e8e}=_0x355fa5['data'],_0x1c6130=this[_0x53e695(0x19a)];_0x1c6130[_0x53e695(0x2fd)](_0x3c6e8e),this[_0x53e695(0x376)][_0x53e695(0x24b)](_0x1c6130);}[_0x57a832(0x1fc)](_0x5e05d3,_0x263781){const _0x172dc2=_0x57a832;var _0x441d8a,_0x1bd827;const _0x1b733a=(_0x1bd827=(_0x441d8a=this[_0x172dc2(0x2ed)][_0x172dc2(0x1e3)](this[_0x172dc2(0x179)]))==null?void 0x0:_0x441d8a[_0x172dc2(0x324)](_0x5e05d3))==null?void 0x0:_0x1bd827[_0x172dc2(0x288)]();return(_0x1b733a==null?void 0x0:_0x1b733a[_0x172dc2(0x32a)](_0x416b66=>_0x1a1077['Rectangle']['contains'](_0x416b66,_0x263781)))||_0x263781;}[_0x57a832(0x1cc)](){const _0x593f0f=_0x57a832,_0x4d3e9b=new _0x1a1077[(_0x593f0f(0x302))](),_0x3e3b1a=_0x472d36(),_0x26bcbc=()=>{const _0xa1c61c=_0x593f0f;_0x4d3e9b[_0xa1c61c(0x245)]();const _0xc6e0d2=(_0x4e2274,_0x2b5b05,_0x5b7974,_0x17687f)=>{const _0xbf38b=_0xa1c61c;let _0x1019a5=[];switch(_0x4e2274['id']){case _0xf2c5f7[_0xbf38b(0x290)]['DeleteRangeMoveLeftCommandId']:{_0x1019a5=_0xf2c5f7['handleDeleteRangeMoveLeft'](_0x4e2274,_0x17687f);break;}case _0xf2c5f7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x37b)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x3d3)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x174)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x2de)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x262)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7['EffectRefRangId'][_0xbf38b(0x29a)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x185)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x274)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x23e)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x31c)]:{_0x1019a5=_0xf2c5f7['handleMoveRange'](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x387)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x212)](_0x4e2274,_0x17687f);break;}case _0xf2c5f7[_0xbf38b(0x290)][_0xbf38b(0x16d)]:{_0x1019a5=_0xf2c5f7[_0xbf38b(0x2e9)](_0x4e2274,_0x17687f);break;}}const _0x2109b2=_0xf2c5f7['runRefRangeMutations'](_0x1019a5,_0x17687f),_0x4b9328=this['cursorInfo'][_0xbf38b(0x249)](_0x2b5b05);if(_0x4b9328&&_0x2109b2){const _0x2c87a4={..._0x4b9328,'range':_0x2109b2};this[_0xbf38b(0x19a)][_0xbf38b(0x39e)](_0x2b5b05,_0x2c87a4),_0x3e3b1a(()=>{const _0x3a5814=_0xbf38b,_0x360107=this[_0x3a5814(0x1db)][_0x3a5814(0x250)](_0x2109b2,_0x5932f2=>(_0x360107[_0x3a5814(0x245)](),_0xc6e0d2(_0x5932f2,_0x2b5b05,_0x5b7974,_0x2109b2)));_0x4d3e9b[_0x3a5814(0x356)](_0x360107);});}return{'redos':[],'undos':[]};};this[_0xa1c61c(0x19a)][_0xa1c61c(0x240)]((_0x1315a3,_0x30ff0e)=>{const _0x237365=_0xa1c61c,{range:_0x475cd4,sheetID:_0x5e8104}=_0x1315a3,_0x574c02=this['_refRangeService'][_0x237365(0x250)](_0x475cd4,_0x209ba9=>(_0x574c02['dispose'](),_0xc6e0d2(_0x209ba9,_0x30ff0e,_0x5e8104,_0x475cd4)));_0x4d3e9b[_0x237365(0x356)](_0x574c02);});};this[_0x593f0f(0x33a)](_0x1a1077[_0x593f0f(0x35b)](this[_0x593f0f(0x376)][_0x593f0f(0x217)](()=>{_0x26bcbc();})));}['_toggleOnline'](){const _0x2501f3=_0x57a832;var _0x2735be,_0x15e819;if(this[_0x2501f3(0x312)]=!0x0,((_0x2735be=this[_0x2501f3(0x2ed)][_0x2501f3(0x2a0)]())==null?void 0x0:_0x2735be[_0x2501f3(0x3e3)]())!==this[_0x2501f3(0x179)])return;const _0x464e17=(_0x15e819=this[_0x2501f3(0x2fc)][_0x2501f3(0x249)](_0xf2c5f7[_0x2501f3(0x1e5)])['getCurrentSelections']())==null?void 0x0:_0x15e819[0x0],_0x10cf73=this[_0x2501f3(0x2ed)][_0x2501f3(0x2c4)](_0x1a1077[_0x2501f3(0x406)][_0x2501f3(0x266)])['getActiveSheet']();_0x464e17&&_0x10cf73&&this[_0x2501f3(0x3bb)](_0x10cf73[_0x2501f3(0x3fa)](),_0x464e17);}['_toggleOffline'](){this['_online']=!0x1;}};_0x11d216=_0x4b93ab([_0x23473a(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x2ba)])),_0x23473a(0x3,_0x1a1077[_0x57a832(0x3d1)](_0x1ea788)),_0x23473a(0x4,_0x1a1077['Inject'](_0x574d08[_0x57a832(0x2eb)])),_0x23473a(0x5,_0x1a1077['IUniverInstanceService']),_0x23473a(0x6,_0x1a1077[_0x57a832(0x2b8)]),_0x23473a(0x7,_0x1a1077[_0x57a832(0x3d1)](_0xf2c5f7[_0x57a832(0x18b)]))],_0x11d216);var _0x577e26=Object[_0x57a832(0x2dd)],_0x466128=(_0x3df5c9,_0x38a1d1,_0xd343bb,_0x428368)=>{const _0x2ae9a5=_0x57a832;for(var _0x27d86a=_0x428368>0x1?void 0x0:_0x428368?_0x577e26(_0x38a1d1,_0xd343bb):_0x38a1d1,_0x23caac=_0x3df5c9[_0x2ae9a5(0x377)]-0x1,_0x3f195c;_0x23caac>=0x0;_0x23caac--)(_0x3f195c=_0x3df5c9[_0x23caac])&&(_0x27d86a=_0x3f195c(_0x27d86a)||_0x27d86a);return _0x27d86a;},_0x1ee3fa=(_0x454b42,_0x289dfa)=>(_0x47f6ef,_0x1318fd)=>_0x289dfa(_0x47f6ef,_0x1318fd,_0x454b42);let _0x1cbcc1=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x493b78,_0x4aa884,_0x1be53f){const _0x4f55dd=_0x57a832;super(),_0x1531e9(this,_0x4f55dd(0x370),new Map()),_0x1531e9(this,_0x4f55dd(0x2b1),new _0x447b79[(_0x4f55dd(0x2dc))]()),(this[_0x4f55dd(0x2ed)]=_0x493b78,this[_0x4f55dd(0x2fc)]=_0x4aa884,this['_collabSessionService']=_0x1be53f,this[_0x4f55dd(0x1cd)]());}[_0x57a832(0x245)](){const _0x8fab=_0x57a832;super[_0x8fab(0x245)](),this[_0x8fab(0x2b1)][_0x8fab(0x211)](),this['_entities'][_0x8fab(0x240)](_0x44c69f=>_0x44c69f['dispose']());}[_0x57a832(0x28b)](_0x2f0546){const _0xfa8976=_0x57a832;return this['_entities'][_0xfa8976(0x375)](_0x2f0546)?this[_0xfa8976(0x370)]['get'](_0x2f0546)[_0xfa8976(0x386)]:this[_0xfa8976(0x2b1)][_0xfa8976(0x347)](_0x447b79['filter'](_0x21fd7a=>_0x21fd7a['unitID']===_0x2f0546),_0x447b79[_0xfa8976(0x331)](_0x32744a=>_0x32744a[_0xfa8976(0x386)]));}[_0x57a832(0x1cd)](){const _0x33329f=_0x57a832;this[_0x33329f(0x2ed)][_0x33329f(0x216)](_0x1a1077[_0x33329f(0x406)][_0x33329f(0x266)])[_0x33329f(0x347)](_0x447b79[_0x33329f(0x186)](this[_0x33329f(0x277)]))[_0x33329f(0x217)](async _0x3eb3f7=>{const _0x1d4dcf=_0x33329f,_0x506d5d=_0x3eb3f7['getUnitId'](),_0x16f3d2=await this[_0x1d4dcf(0x1e7)](_0x506d5d);this[_0x1d4dcf(0x2b1)][_0x1d4dcf(0x24b)](_0x16f3d2),this[_0x1d4dcf(0x370)][_0x1d4dcf(0x39e)](_0x506d5d,_0x16f3d2);}),this['_univerInstanceService'][_0x33329f(0x216)](_0x1a1077[_0x33329f(0x406)]['UNIVER_DOC'])[_0x33329f(0x347)](_0x447b79[_0x33329f(0x186)](this[_0x33329f(0x277)]))[_0x33329f(0x347)](_0x447b79[_0x33329f(0x30d)](_0x5d4b47=>!_0x5d4b47[_0x33329f(0x3e3)]()[_0x33329f(0x279)]('__')))[_0x33329f(0x217)](async _0x535745=>{const _0x19523c=_0x33329f,_0x2e1c13=_0x535745[_0x19523c(0x3e3)](),_0x50165b=await this['_startDocCollabCursor'](_0x2e1c13);this[_0x19523c(0x2b1)][_0x19523c(0x24b)](_0x50165b),this[_0x19523c(0x370)]['set'](_0x2e1c13,_0x50165b);}),_0x447b79['merge'](this[_0x33329f(0x2ed)][_0x33329f(0x1a4)](_0x1a1077[_0x33329f(0x406)]['UNIVER_DOC']),this[_0x33329f(0x2ed)][_0x33329f(0x1a4)](_0x1a1077[_0x33329f(0x406)]['UNIVER_SHEET']))[_0x33329f(0x347)](_0x447b79['takeUntil'](this[_0x33329f(0x277)]))[_0x33329f(0x217)](_0x4de67d=>{const _0x159527=_0x33329f,_0x2151db=_0x4de67d[_0x159527(0x3e3)](),_0x101a6b=this[_0x159527(0x370)][_0x159527(0x249)](_0x2151db);_0x101a6b&&(_0x101a6b[_0x159527(0x245)](),this[_0x159527(0x370)]['delete'](_0x2151db));});}async[_0x57a832(0x1e7)](_0x2558b9){const _0x1cf29f=_0x57a832,_0x2087af=await this[_0x1cf29f(0x2db)][_0x1cf29f(0x299)](_0x2558b9),_0xba5dc0=this[_0x1cf29f(0x2fc)][_0x1cf29f(0x1f9)](_0x11d216,_0x2558b9,_0x2087af);return _0xba5dc0[_0x1cf29f(0x3e5)](),_0xba5dc0;}async[_0x57a832(0x2d1)](_0x13d280){const _0x227b6b=_0x57a832,_0x19c6d5=await this[_0x227b6b(0x2db)][_0x227b6b(0x299)](_0x13d280),_0x3e6a18=this[_0x227b6b(0x2fc)][_0x227b6b(0x1f9)](_0x1530f8,_0x13d280,_0x19c6d5);return _0x3e6a18[_0x227b6b(0x3e5)](),_0x3e6a18;}};_0x1cbcc1=_0x466128([_0x1ee3fa(0x0,_0x1a1077['IUniverInstanceService']),_0x1ee3fa(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x2ba)])),_0x1ee3fa(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x574d08[_0x57a832(0x393)]))],_0x1cbcc1);const _0x3f9c8c=0x14,_0x28ff14=0xc8,_0x1897ea=0x4,_0x4a8b6d=0x5;function _0x5d6476(_0x10e27d,_0x5c9eb2){const _0x3ce6fb=_0x57a832;let {radius:_0x173ba6,width:_0x1f084a,height:_0x1a9c4d}=_0x5c9eb2;_0x173ba6=_0x173ba6!=null?_0x173ba6:0x0,_0x1f084a=_0x1f084a!=null?_0x1f084a:0x1e,_0x1a9c4d=_0x1a9c4d!=null?_0x1a9c4d:0x1e;let _0x1d7f0e=0x0,_0xfccca1=0x0,_0x28c0f4=0x0;_0x1d7f0e=_0xfccca1=_0x28c0f4=Math[_0x3ce6fb(0x1e9)](_0x173ba6,_0x1f084a/0x2,_0x1a9c4d/0x2),_0x10e27d[_0x3ce6fb(0x198)](),_0x10e27d[_0x3ce6fb(0x272)](_0x1d7f0e,0x0),_0x10e27d[_0x3ce6fb(0x18f)](_0x1f084a-_0xfccca1,0x0),_0x10e27d['arc'](_0x1f084a-_0xfccca1,_0xfccca1,_0xfccca1,Math['PI']*0x3/0x2,0x0,!0x1),_0x10e27d[_0x3ce6fb(0x18f)](_0x1f084a,_0x1a9c4d-_0x28c0f4),_0x10e27d[_0x3ce6fb(0x236)](_0x1f084a-_0x28c0f4,_0x1a9c4d-_0x28c0f4,_0x28c0f4,0x0,Math['PI']/0x2,!0x1),_0x10e27d[_0x3ce6fb(0x18f)](0x0,_0x1a9c4d),_0x10e27d[_0x3ce6fb(0x18f)](0x0,_0x1d7f0e),_0x10e27d[_0x3ce6fb(0x236)](_0x1d7f0e,_0x1d7f0e,_0x1d7f0e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x10e27d['closePath'](),_0x5c9eb2['fill']&&(_0x10e27d[_0x3ce6fb(0x1f2)](),_0x10e27d[_0x3ce6fb(0x32b)]=_0x5c9eb2[_0x3ce6fb(0x218)],_0x5c9eb2[_0x3ce6fb(0x31d)]===_0x3ce6fb(0x2ca)?_0x10e27d[_0x3ce6fb(0x218)](_0x3ce6fb(0x2ca)):_0x10e27d[_0x3ce6fb(0x218)](),_0x10e27d[_0x3ce6fb(0x31a)]());}class _0x25ae16 extends _0x440ec2[_0x57a832(0x253)]{constructor(_0x6d2863,_0x537900){const _0xc3f5b1=_0x57a832;super(_0x6d2863,_0x537900),_0x1531e9(this,'color'),_0x1531e9(this,_0xc3f5b1(0x29d)),(this[_0xc3f5b1(0x381)]=_0x537900==null?void 0x0:_0x537900[_0xc3f5b1(0x381)],this['text']=_0x537900==null?void 0x0:_0x537900[_0xc3f5b1(0x29d)]);}static[_0x57a832(0x273)](_0x44a161,_0x556e16){const _0xfcce26=_0x57a832,{text:_0x4ef1d3,color:_0x75c873}=_0x556e16;_0x44a161[_0xfcce26(0x1f2)](),_0x44a161[_0xfcce26(0x192)]=_0xfcce26(0x3ff);const _0x499199=_0x44a161[_0xfcce26(0x2b0)](_0x4ef1d3)[_0xfcce26(0x1fb)],_0xa2a829=Math[_0xfcce26(0x1e9)](_0x499199+0x2*_0x1897ea,_0x28ff14);_0x5d6476(_0x44a161,{'height':_0x3f9c8c,'radius':0x4,'width':_0xa2a829,'fill':_0x75c873}),_0x44a161[_0xfcce26(0x32b)]=_0xfcce26(0x278);const _0x463410=_0x1897ea,_0x414235=_0x3f9c8c-_0x4a8b6d,_0x394aa9=_0x28ff14-0x2*_0x1897ea;if(_0x499199>_0x394aa9){let _0x5744ae='',_0x4c3edf=0x0;for(const _0x3adc72 of _0x4ef1d3){const _0x1e6c6e=_0x44a161['measureText'](_0x3adc72)[_0xfcce26(0x1fb)];if(_0x4c3edf+_0x1e6c6e<=_0x394aa9-_0x44a161[_0xfcce26(0x2b0)](_0xfcce26(0x3ec))[_0xfcce26(0x1fb)])_0x5744ae+=_0x3adc72,_0x4c3edf+=_0x1e6c6e;else{_0x5744ae+='...';break;}}_0x44a161[_0xfcce26(0x3a1)](_0x5744ae,_0x463410,_0x414235);}else _0x44a161[_0xfcce26(0x3a1)](_0x4ef1d3,_0x463410,_0x414235);_0x44a161['restore']();}[_0x57a832(0x259)](_0x136576){_0x25ae16['drawWith'](_0x136576,this);}}const _0x3e5479=_0x57a832(0x1a9),_0x4a88c8=_0x57a832(0x389),_0x4d67d6='collab-rect-range-',_0x163e00=0x6,_0x46e3b0=1.5,_0x287a48=0x4,_0x2cc186=1.5,_0xa831f7=_0x57a832(0x1ca);class _0x4105ac{constructor(_0x43dc15,_0x5e3d61,_0x292f9b,_0x44b101){const _0xa317c9=_0x57a832;_0x1531e9(this,_0xa317c9(0x3f7),[]),_0x1531e9(this,_0xa317c9(0x1f1),null),_0x1531e9(this,'_textBubble',null),_0x1531e9(this,_0xa317c9(0x3c1),null),_0x1531e9(this,_0xa317c9(0x19e),null),_0x1531e9(this,_0xa317c9(0x308),null),(this[_0xa317c9(0x3d5)]=_0x43dc15,this[_0xa317c9(0x332)]=_0x5e3d61,this['_docSkeleton']=_0x292f9b,this['_document']=_0x44b101,this['_render']());}set['_hover'](_0x469416){const _0x14bb63=_0x57a832;_0x469416?(this[_0x14bb63(0x3c1)]&&this[_0x14bb63(0x3c1)][_0x14bb63(0x1ba)](),this['_textBubble']&&this[_0x14bb63(0x3b0)]['show']()):(this[_0x14bb63(0x3c1)]&&this[_0x14bb63(0x3c1)][_0x14bb63(0x2f2)](),this[_0x14bb63(0x3b0)]&&this[_0x14bb63(0x3b0)][_0x14bb63(0x1ba)]());}[_0x57a832(0x245)](){const _0x3bc71b=_0x57a832;for(const _0x59dda9 of this['_shapes'])_0x59dda9[_0x3bc71b(0x245)]();this[_0x3bc71b(0x3b0)]&&this['_textBubble'][_0x3bc71b(0x245)](),this[_0x3bc71b(0x3c1)]&&this['_anchorDot'][_0x3bc71b(0x245)](),this['_anchor']&&this[_0x3bc71b(0x1f1)]['dispose'](),this[_0x3bc71b(0x308)]&&this['_eventUnsubscribe']();}[_0x57a832(0x1c9)](){const _0x352a64=_0x57a832;var _0x2fa224;const {_docSkeleton:_0xcb7c45,_document:_0xef9c30}=this,{color:_0x1cd6fa,name:_0x2197cd,ranges:_0x26d415}=this[_0x352a64(0x3d5)],_0x294fc8=_0xef9c30[_0x352a64(0x357)](),{docsLeft:_0x41939c,docsTop:_0x429aeb}=_0x294fc8,_0x5744c3=new _0x34435f[(_0x352a64(0x2b7))](_0x294fc8,_0xcb7c45);for(const {startOffset:_0x4b7a0a,endOffset:_0x59e08f,rangeType:_0x11b396,segmentId:_0x386336,segmentPage:_0x5587f2,collapsed:_0x500b89,isActive:_0x2e7281}of _0x26d415){const _0x46cf37=_0xcb7c45[_0x352a64(0x246)](_0x4b7a0a,!0x0,_0x386336,_0x5587f2);let _0x33955e=_0xcb7c45[_0x352a64(0x246)](_0x59e08f,!0x0,_0x386336,_0x5587f2);if(_0x33955e==null&&(_0x33955e=_0xcb7c45[_0x352a64(0x246)](_0x59e08f-0x1,!0x1,_0x386336,_0x5587f2)),_0x2e7281){const {contentBoxPointGroup:_0x10ec8d}=_0x5744c3[_0x352a64(0x16b)](_0x33955e,_0x33955e);if(_0x10ec8d[_0x352a64(0x377)]===0x0)continue;this[_0x352a64(0x21c)](_0x1cd6fa,_0x10ec8d,_0x41939c,_0x429aeb,_0x2197cd),this['_eventUnsubscribe']=this[_0x352a64(0x2e8)]();}if(_0x46cf37&&_0x33955e){if(_0x11b396===_0x1a1077[_0x352a64(0x176)][_0x352a64(0x1f4)]){const _0x105b9d=new _0x34435f[(_0x352a64(0x2c0))](_0x294fc8,_0xcb7c45),{pointGroup:_0x2064d9}=(_0x2fa224=_0x105b9d[_0x352a64(0x16b)](_0x46cf37,_0x33955e))!=null?_0x2fa224:{};if(_0x2064d9==null||_0x2064d9['length']===0x0)continue;this[_0x352a64(0x208)](_0x1cd6fa,_0x2064d9,_0x41939c,_0x429aeb);}else{if(!_0x500b89){const {borderBoxPointGroup:_0x3ad06f}=_0x5744c3['getRangePointData'](_0x46cf37,_0x33955e);if(_0x3ad06f['length']===0x0)continue;this[_0x352a64(0x307)](_0x1cd6fa,_0x3ad06f,_0x41939c,_0x429aeb);}}}}}[_0x57a832(0x21c)](_0x3f01ce,_0x206eaf,_0x34d93b,_0x21064d,_0xf6dcad){const _0x179a32=_0x57a832,_0x1facdb=this['_getAnchorBounding'](_0x206eaf),{left:_0x704ffb,top:_0x2fe87f,height:_0x5e0be5}=_0x1facdb,_0x31988c=this[_0x179a32(0x32f)](),_0x5b2d24=_0x2cc186/_0x31988c,_0x1fb654=new _0x440ec2[(_0x179a32(0x2ec))](_0x3e5479+_0x1a1077[_0x179a32(0x24f)](_0x163e00),{'left':_0x704ffb+_0x34d93b-_0x5b2d24,'top':_0x2fe87f+_0x21064d,'height':_0x5e0be5,'width':_0x46e3b0,'fill':_0x3f01ce||_0x440ec2[_0x179a32(0x297)](_0x1a1077[_0x179a32(0x17b)][_0x179a32(0x36c)],0x0),'strokeWidth':_0x5b2d24,'stroke':_0xa831f7,'evented':!0x0});this[_0x179a32(0x1f1)]=_0x1fb654,this[_0x179a32(0x332)][_0x179a32(0x2cf)](_0x1fb654,_0x34435f[_0x179a32(0x25d)]);const _0x2c248b=new _0x440ec2[(_0x179a32(0x2ec))](_0x3e5479+_0x1a1077[_0x179a32(0x24f)](_0x163e00),{'left':_0x704ffb+_0x34d93b-_0x5b2d24,'top':_0x2fe87f+_0x21064d-_0x287a48/0x2,'height':_0x287a48,'width':_0x287a48,'fill':_0x3f01ce||_0x440ec2[_0x179a32(0x297)](_0x1a1077[_0x179a32(0x17b)][_0x179a32(0x36c)],0x0),'strokeWidth':0x0,'stroke':_0x3f01ce||_0x440ec2[_0x179a32(0x297)](_0x1a1077['COLORS'][_0x179a32(0x36c)],0x0),'evented':!0x1});this[_0x179a32(0x3c1)]=_0x2c248b,this['_scene'][_0x179a32(0x2cf)](_0x2c248b,_0x34435f['TEXT_RANGE_LAYER_INDEX']);const _0x381013=new _0x25ae16(_0x3e5479+_0x1a1077[_0x179a32(0x24f)](_0x163e00),{'left':_0x704ffb+_0x34d93b-_0x5b2d24,'top':_0x2fe87f+_0x21064d-_0x3f9c8c,'text':_0xf6dcad,'color':_0x3f01ce});this['_textBubble']=_0x381013,this[_0x179a32(0x332)]['addObject'](_0x381013,_0x34435f[_0x179a32(0x25d)]),this['_hover']=!0x1;}[_0x57a832(0x2e8)](){const _0x29e0e7=_0x57a832,_0x7800d7=this[_0x29e0e7(0x1f1)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x11d741=_0x29e0e7;this[_0x11d741(0x2e7)]=!0x0;}),_0x16555=this[_0x29e0e7(0x1f1)][_0x29e0e7(0x2e2)]['subscribeEvent'](()=>{const _0x5c3d88=_0x29e0e7;this[_0x5c3d88(0x19e)]&&clearTimeout(this[_0x5c3d88(0x19e)]),this[_0x5c3d88(0x19e)]=setTimeout(()=>{const _0xcf2bc0=_0x5c3d88;this[_0xcf2bc0(0x2e7)]=!0x1;},0x7d0);});return()=>{const _0x1edbc6=_0x29e0e7;_0x7800d7[_0x1edbc6(0x37a)](),_0x16555[_0x1edbc6(0x37a)]();};}[_0x57a832(0x307)](_0x5d7228,_0x455175,_0x3f71c3,_0x2771c9){const _0x3b0570=_0x57a832,_0x466e11=new _0x1a1077[(_0x3b0570(0x2f0))](_0x5d7228)[_0x3b0570(0x31b)](0.2)['toRgbString'](),_0x296bfc=new _0x440ec2[(_0x3b0570(0x24e))](_0x4a88c8+_0x1a1077[_0x3b0570(0x24f)](_0x163e00),{'pointsGroup':_0x455175,'fill':_0x466e11||_0x440ec2[_0x3b0570(0x297)](_0x1a1077[_0x3b0570(0x17b)][_0x3b0570(0x36c)],0.2),'left':_0x3f71c3,'top':_0x2771c9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b0570(0x2e5)](_0x296bfc),this[_0x3b0570(0x332)][_0x3b0570(0x2cf)](_0x296bfc,_0x34435f[_0x3b0570(0x25d)]);}[_0x57a832(0x208)](_0x9ebc99,_0x22ff9e,_0x742689,_0x2ddaa9){const _0x20dd44=_0x57a832,_0x3ffb37=new _0x1a1077[(_0x20dd44(0x2f0))](_0x9ebc99)['setAlpha'](0.2)[_0x20dd44(0x194)](),_0x45acab=new _0x440ec2[(_0x20dd44(0x24e))](_0x4d67d6+_0x1a1077[_0x20dd44(0x24f)](_0x163e00),{'pointsGroup':_0x22ff9e,'fill':_0x3ffb37||_0x440ec2[_0x20dd44(0x297)](_0x1a1077['COLORS'][_0x20dd44(0x36c)],0.2),'left':_0x742689,'top':_0x2ddaa9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20dd44(0x3f7)]['push'](_0x45acab),this['_scene'][_0x20dd44(0x2cf)](_0x45acab,_0x34435f[_0x20dd44(0x25d)]);}[_0x57a832(0x3e9)](_0x2f25e1){const _0x2b18bd=_0x2f25e1[0x0],_0x162511=_0x2b18bd[0x0],_0x4a12d0=_0x2b18bd[0x2],{x:_0x3b9b0f,y:_0x6226e6}=_0x162511,{x:_0x3b4d00,y:_0x25e525}=_0x4a12d0;return{'left':_0x3b9b0f,'top':_0x6226e6,'width':_0x3b4d00-_0x3b9b0f,'height':_0x25e525-_0x6226e6};}['_getScale'](){const _0x3f9f49=_0x57a832,{scaleX:_0x5d94fa,scaleY:_0xcc3179}=this['_scene']['getAncestorScale']();return Math[_0x3f9f49(0x373)](_0x5d94fa,_0xcc3179);}}var _0x10f842=Object['getOwnPropertyDescriptor'],_0x18c987=(_0x4d83ac,_0x5e6038,_0x278dbb,_0x2b6767)=>{const _0x48f5ca=_0x57a832;for(var _0x3d2ef8=_0x2b6767>0x1?void 0x0:_0x2b6767?_0x10f842(_0x5e6038,_0x278dbb):_0x5e6038,_0x30dbca=_0x4d83ac[_0x48f5ca(0x377)]-0x1,_0x59a578;_0x30dbca>=0x0;_0x30dbca--)(_0x59a578=_0x4d83ac[_0x30dbca])&&(_0x3d2ef8=_0x59a578(_0x3d2ef8)||_0x3d2ef8);return _0x3d2ef8;},_0x36e942=(_0x281bc6,_0x24d6b7)=>(_0x379ea4,_0x2ca353)=>_0x24d6b7(_0x379ea4,_0x2ca353,_0x281bc6);let _0x35262d=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x4c1fc5,_0x1d0eff,_0x3db886,_0x33bc41,_0x1b9ef2){const _0x214de3=_0x57a832;super(),_0x1531e9(this,'_cursorShapes',[]),_0x1531e9(this,'_cursors',[]),(this[_0x214de3(0x169)]=_0x4c1fc5,this['_docSkeletonManagerService']=_0x1d0eff,this['_collabCursorController']=_0x3db886,this['_commandService']=_0x33bc41,this[_0x214de3(0x19f)]=_0x1b9ef2,this[_0x214de3(0x1cd)]());}[_0x57a832(0x1cd)](){const _0x146dfe=_0x57a832,_0x4657cf=this[_0x146dfe(0x169)][_0x146dfe(0x17e)],_0x25b3f5=this[_0x146dfe(0x1e8)];this['disposeWithMe'](_0x447b79[_0x146dfe(0x1f5)]([this['_collabCursorController']['getCollabCursors$'](_0x4657cf),this['_themeService']['currentTheme$']])[_0x146dfe(0x347)](_0x66fe1a['map'](([_0x247971,_0x401008])=>({'skeleton':_0x25b3f5['getSkeleton'](),'cursors':[..._0x247971[_0x146dfe(0x1e1)]()][_0x146dfe(0x1e4)](_0x3a02cc=>({..._0x3a02cc,'color':this[_0x146dfe(0x19f)][_0x146dfe(0x38b)](_0x3a02cc['color'])}))})))[_0x146dfe(0x217)](_0x15c6db=>{const _0x4f84c9=_0x146dfe;if(this[_0x4f84c9(0x3bc)](),_0x15c6db){const {skeleton:_0x40863b,cursors:_0x108d2a}=_0x15c6db;this[_0x4f84c9(0x39b)](_0x40863b,_0x108d2a);}})),this[_0x146dfe(0x1aa)](),this['_initCommandExecutedListener']();}[_0x57a832(0x39b)](_0x3f4663,_0x2e1278){const _0xd03284=_0x57a832,{scene:_0x36b735,mainComponent:_0x1df5e0}=this[_0xd03284(0x169)],_0x34574a=_0x2e1278[_0xd03284(0x1ac)](_0x523ec3=>new _0x4105ac(_0x523ec3,_0x36b735,_0x3f4663,_0x1df5e0));this[_0xd03284(0x2bb)]=_0x34574a,this[_0xd03284(0x2f4)]=_0x2e1278;}[_0x57a832(0x22a)](){const _0x329790=_0x57a832;this[_0x329790(0x3bc)]();const {scene:_0x36311a,mainComponent:_0x4e91a0}=this[_0x329790(0x169)],_0x15c95c=this[_0x329790(0x1e8)][_0x329790(0x2d6)](),_0x4e753c=this['_cursors'][_0x329790(0x1ac)](_0x4209c6=>new _0x4105ac(_0x4209c6,_0x36311a,_0x15c95c,_0x4e91a0));this[_0x329790(0x2bb)]=_0x4e753c;}[_0x57a832(0x3bc)](){const _0x28315b=_0x57a832;this['_cursorShapes'][_0x28315b(0x240)](_0x48aad5=>_0x48aad5[_0x28315b(0x245)]()),this['_cursorShapes']=[];}[_0x57a832(0x1ef)](){const _0x117d53=_0x57a832,_0x59f7c0=[_0x34435f['SetDocZoomRatioOperation']['id']];this[_0x117d53(0x33a)](this[_0x117d53(0x1a6)]['onCommandExecuted'](_0x436315=>{const _0x24433b=_0x117d53;_0x59f7c0[_0x24433b(0x1c5)](_0x436315['id'])&&_0x436315[_0x24433b(0x358)][_0x24433b(0x17e)]===this[_0x24433b(0x169)][_0x24433b(0x17e)]&&this['_refreshCollabCursors']();}));}[_0x57a832(0x1aa)](){const _0x58e462=_0x57a832;this[_0x58e462(0x33a)](_0x1a1077['fromEventSubject'](this[_0x58e462(0x169)][_0x58e462(0x3af)]['onTransformChange$'])['pipe'](_0x66fe1a[_0x58e462(0x30d)](_0x5baa88=>_0x5baa88[_0x58e462(0x2b3)]===_0x440ec2['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x58e462(0x2c8)]),_0x66fe1a[_0x58e462(0x21f)](0x10))['subscribe'](()=>{const _0x52e9ca=_0x58e462;this[_0x52e9ca(0x22a)]();}));}};_0x35262d=_0x18c987([_0x36e942(0x1,_0x1a1077['Inject'](_0x204ba9['DocSkeletonManagerService'])),_0x36e942(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1cbcc1)),_0x36e942(0x3,_0x1a1077[_0x57a832(0x2b8)]),_0x36e942(0x4,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x29b)]))],_0x35262d);const _0x1f272a=0x1,_0x2a4028=1.5;class _0x5ad0fd extends _0x440ec2[_0x57a832(0x253)]{constructor(_0x33ecee,_0x3dfcf8){const _0x5873ab=_0x57a832;super(_0x33ecee,_0x3dfcf8),_0x1531e9(this,'_color'),_0x1531e9(this,_0x5873ab(0x204),!0x1),_0x1531e9(this,_0x5873ab(0x3c4)),_0x1531e9(this,'_name',''),_0x1531e9(this,_0x5873ab(0x3fc),_0x5873ab(0x32c)),_0x1531e9(this,'_backgroundColor'),(_0x3dfcf8&&this[_0x5873ab(0x2a3)](_0x3dfcf8),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5873ab(0x2a3)]({'hovered':!0x0})),this[_0x5873ab(0x2e2)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3224a3){const _0x11f32e=_0x57a832;var _0x1a890b,_0x31c184,_0x172a0f,_0x4f5947,_0x4fb560,_0x4dc3cc;this['_color']=(_0x1a890b=_0x3224a3['color'])!=null?_0x1a890b:this[_0x11f32e(0x287)],this[_0x11f32e(0x204)]=(_0x31c184=_0x3224a3[_0x11f32e(0x2e0)])!=null?_0x31c184:this[_0x11f32e(0x204)],this[_0x11f32e(0x3c4)]=(_0x172a0f=_0x3224a3[_0x11f32e(0x1dd)])!=null?_0x172a0f:this[_0x11f32e(0x3c4)],this[_0x11f32e(0x2e3)]=(_0x4f5947=_0x3224a3[_0x11f32e(0x26c)])!=null?_0x4f5947:this['_name'],this['_labelPosition']=(_0x4fb560=_0x3224a3[_0x11f32e(0x18d)])!=null?_0x4fb560:this[_0x11f32e(0x3fc)],this[_0x11f32e(0x33f)]=(_0x4dc3cc=_0x3224a3['backgroundColor'])!=null?_0x4dc3cc:this[_0x11f32e(0x33f)],this['transformByState']({'width':_0x3224a3[_0x11f32e(0x1fb)],'height':_0x3224a3['height']});}[_0x57a832(0x3ad)](_0x204a83){const _0x393fcd=_0x57a832,{row:_0x5f0afb,column:_0x524f10}=_0x204a83;if(_0x5f0afb>=this[_0x393fcd(0x3c4)]['startRow']&&_0x5f0afb<=this[_0x393fcd(0x3c4)]['endRow']&&_0x524f10>=this[_0x393fcd(0x3c4)][_0x393fcd(0x3e1)]&&_0x524f10<=this['_range'][_0x393fcd(0x21b)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x393fcd(0x2a3)]({'hovered':!0x1});}[_0x57a832(0x256)](_0xf60fca){return!0x1;}[_0x57a832(0x259)](_0x5d9541){const _0x5c7a2f=_0x57a832;_0x440ec2['Rect'][_0x5c7a2f(0x273)](_0x5d9541,{'width':this['width'],'height':this[_0x5c7a2f(0x26b)],'strokeWidth':_0x2a4028,'stroke':this[_0x5c7a2f(0x287)],'evented':!0x1,'fill':this[_0x5c7a2f(0x33f)]}),this[_0x5c7a2f(0x204)]&&(_0x5d9541['save'](),_0x5d9541['transform'](0x1,0x0,0x0,0x1,this[_0x5c7a2f(0x1fb)],this[_0x5c7a2f(0x3fc)]===_0x5c7a2f(0x281)?0x0:-0x14),_0x25ae16[_0x5c7a2f(0x273)](_0x5d9541,{'text':this['_name'],'color':this[_0x5c7a2f(0x287)]}),_0x5d9541['restore']());}}var _0x4313e6=Object[_0x57a832(0x2dd)],_0x20e438=(_0x4fe770,_0x36cb90,_0x5bcb34,_0x2dc2d4)=>{const _0x53987=_0x57a832;for(var _0x41df6b=_0x2dc2d4>0x1?void 0x0:_0x2dc2d4?_0x4313e6(_0x36cb90,_0x5bcb34):_0x36cb90,_0x4e14ae=_0x4fe770[_0x53987(0x377)]-0x1,_0x48ed55;_0x4e14ae>=0x0;_0x4e14ae--)(_0x48ed55=_0x4fe770[_0x4e14ae])&&(_0x41df6b=_0x48ed55(_0x41df6b)||_0x41df6b);return _0x41df6b;},_0x14c6b4=(_0x458a3d,_0x1479f9)=>(_0x515708,_0x16b94d)=>_0x1479f9(_0x515708,_0x16b94d,_0x458a3d);const _0x3e7fae=0x1389;let _0x52e675=class extends _0x1a1077[_0x57a832(0x2d0)]{constructor(_0x26f3a1,_0x526737,_0x1c9217,_0x1f02d1){const _0x47925a=_0x57a832;super(),_0x1531e9(this,'_cursors',new Set()),_0x1531e9(this,_0x47925a(0x1b7),null),(this['_context']=_0x26f3a1,this[_0x47925a(0x3dd)]=_0x526737,this['_collabCursorController']=_0x1c9217,this['_themeService']=_0x1f02d1,this['_init']());}[_0x57a832(0x1cd)](){const _0x148980=_0x57a832;this[_0x148980(0x3dd)]['currentSkeleton$'][_0x148980(0x347)](_0x66fe1a[_0x148980(0x186)](this[_0x148980(0x277)]),_0x66fe1a[_0x148980(0x331)](_0x3a834d=>{const _0x2af55c=_0x148980;if(_0x3a834d){const _0x39ab79=_0x3a834d[_0x2af55c(0x3f6)];return _0x447b79[_0x2af55c(0x1f5)](this[_0x2af55c(0x284)][_0x2af55c(0x28b)](this[_0x2af55c(0x169)]['unitId']),this[_0x2af55c(0x19f)][_0x2af55c(0x1b8)])[_0x2af55c(0x347)](_0x66fe1a[_0x2af55c(0x1ac)](([_0x58f39a,_0x4c66f5])=>{const _0x575651=new Map();return _0x58f39a['forEach']((_0x4c817d,_0x2860b2)=>{const _0x3123d1=_0x35c9;if(_0x4c817d[_0x3123d1(0x2a6)]===_0x39ab79){const _0x5496ed={..._0x4c817d};_0x5496ed[_0x3123d1(0x381)]=this[_0x3123d1(0x19f)][_0x3123d1(0x38b)](_0x4c817d[_0x3123d1(0x381)]),_0x575651[_0x3123d1(0x39e)](_0x2860b2,_0x5496ed);}}),{'skeleton':_0x3a834d,'cursors':_0x575651};}));}return _0x447b79['of']({'skeleton':null,'cursors':new Map()});}))[_0x148980(0x217)](({skeleton:_0x149d89,cursors:_0x5352c0})=>{this['_removeCollabCursors'](),_0x149d89&&this['_updateCollabCursors'](_0x149d89,_0x5352c0);}),this['_sheetSkeletonManagerService'][_0x148980(0x39f)][_0x148980(0x217)](_0x5d704f=>{const _0x1ead6f=_0x148980;if(_0x5d704f==null)return;const {skeleton:_0x2d84fc}=_0x5d704f,{scene:_0x57cd67}=this[_0x1ead6f(0x169)];_0x57cd67[_0x1ead6f(0x305)][_0x1ead6f(0x2df)](_0x1a1077[_0x1ead6f(0x27e)](_0x2ebd0d=>{const _0xfca40f=_0x1ead6f;var _0x11678c,_0x2bedf8;const {offsetX:_0x1d5e38,offsetY:_0x3d07e2}=_0x2ebd0d,{x:_0x1dd473,y:_0x33bbbd}=_0x57cd67[_0xfca40f(0x20a)](_0x440ec2[_0xfca40f(0x201)][_0xfca40f(0x3e7)]([_0x1d5e38,_0x3d07e2])),{scaleX:_0x2e29a2,scaleY:_0x371943}=_0x57cd67[_0xfca40f(0x3d4)](),_0x475d13=_0x57cd67[_0xfca40f(0x3d0)](_0x440ec2[_0xfca40f(0x2ab)][_0xfca40f(0x341)]),_0x5cf7f9=_0x57cd67[_0xfca40f(0x180)](_0x440ec2['Vector2'][_0xfca40f(0x3e7)]([_0x1dd473,_0x33bbbd]),_0x475d13),_0x5524e9=_0x2d84fc[_0xfca40f(0x166)](_0x1d5e38,_0x3d07e2,_0x2e29a2,_0x371943,_0x5cf7f9);((_0x11678c=this[_0xfca40f(0x1b7)])==null?void 0x0:_0x11678c[_0xfca40f(0x31e)])===_0x5524e9['column']&&((_0x2bedf8=this[_0xfca40f(0x1b7)])==null?void 0x0:_0x2bedf8['row'])===_0x5524e9[_0xfca40f(0x189)]||this['_cursors'][_0xfca40f(0x240)](_0x1380b2=>{const _0x5803eb=_0xfca40f;_0x1380b2[_0x5803eb(0x3ad)](_0x5524e9);});},0x64));});}[_0x57a832(0x39b)](_0x50a050,_0x32f662){const _0x1bc698=_0x57a832;var _0x4bd12d;const _0x5879a5=(_0x4bd12d=this[_0x1bc698(0x3dd)][_0x1bc698(0x2fe)]())==null?void 0x0:_0x4bd12d[_0x1bc698(0x2a4)];if(!_0x5879a5)return;const _0xed8b58=this[_0x1bc698(0x2a1)]();if(!_0xed8b58)return;this[_0x1bc698(0x2f4)]['forEach'](_0x3e7d49=>{_0x3e7d49['makeDirty']();});const {scene:_0x3cbe46}=_0xed8b58,_0x41a07e=_0x379f98(Array[_0x1bc698(0x271)](_0x32f662[_0x1bc698(0x1e1)]()))[_0x1bc698(0x1ac)](_0x683d4d=>{const _0x14deff=_0x1bc698,{color:_0x17be1e,range:_0x337686,name:_0x60f3d6,selection:_0x533274,sheetID:_0x5d4060}=_0x683d4d,{startColumn:_0x368c6c,startRow:_0x207c89,endColumn:_0x2b2542,endRow:_0x3de08c}=_0x337686,_0x1ab2e4=_0x10445a[_0x14deff(0x2d3)](_0x207c89,_0x368c6c,_0x3cbe46,_0x5879a5),_0x5ec76c=_0x10445a[_0x14deff(0x2d3)](_0x3de08c,_0x2b2542,_0x3cbe46,_0x5879a5),{columnHeaderHeightAndMarginTop:_0x3c7767}=_0x5879a5,{startX:_0x3d822b,startY:_0x1251b1}=_0x1ab2e4,{endX:_0x3e82a1,endY:_0x9e7516}=_0x5ec76c,_0x172c9a=_0x3e82a1-_0x3d822b,_0x288ede=_0x9e7516-_0x1251b1,_0x722956={'labelPosition':_0x1251b1-_0x3c7767>=_0x3f9c8c?_0x14deff(0x32c):_0x14deff(0x281),'sheetID':_0x5d4060,'range':_0x337686,'color':_0x17be1e,'name':_0x60f3d6,'selection':_0x533274,'left':_0x3d822b,'top':_0x1251b1,'width':_0x172c9a,'height':_0x288ede,'evented':!0x1,'zIndex':_0x3e7fae};return new _0x5ad0fd(_0x60f3d6,_0x722956);});_0x3cbe46[_0x1bc698(0x383)](_0x41a07e,_0x1f272a),this[_0x1bc698(0x2f4)]=new Set(_0x41a07e);}['_removeCollabCursors'](){const _0x58bb25=_0x57a832;var _0x434ed0;(_0x434ed0=this[_0x58bb25(0x2f4)])==null||_0x434ed0['forEach'](_0x5428ae=>_0x5428ae[_0x58bb25(0x245)]());}[_0x57a832(0x2a1)](){const _0x5a8eff=_0x57a832;return _0x10445a[_0x5a8eff(0x1fa)](this[_0x5a8eff(0x169)]['unit'],this[_0x5a8eff(0x169)]);}};_0x52e675=_0x20e438([_0x14c6b4(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x10445a[_0x57a832(0x345)])),_0x14c6b4(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x1cbcc1)),_0x14c6b4(0x3,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077['ThemeService']))],_0x52e675);function _0x379f98(_0x3eb0c3){const _0x1f9dc8=new Map();return _0x3eb0c3['forEach'](_0x2c502a=>{const _0x34abd1=_0x35c9;if(_0x1f9dc8[_0x34abd1(0x375)](_0x2c502a['selection'])){const _0x4f8275=_0x1f9dc8['get'](_0x2c502a[_0x34abd1(0x2da)]);_0x4f8275['name']+=',\x20'+_0x2c502a['name'];}else _0x1f9dc8[_0x34abd1(0x39e)](_0x2c502a[_0x34abd1(0x2da)],_0x2c502a);}),Array['from'](_0x1f9dc8['values']());}var _0x3c7b1f=function(){const _0x2a8a45=_0x57a832;return _0x3c7b1f=Object[_0x2a8a45(0x193)]||function(_0x321c1c){const _0x36f3a5=_0x2a8a45;for(var _0x5bb2a8,_0x2ad9a7=0x1,_0x130630=arguments[_0x36f3a5(0x377)];_0x2ad9a7<_0x130630;_0x2ad9a7++){_0x5bb2a8=arguments[_0x2ad9a7];for(var _0x551f5e in _0x5bb2a8)Object[_0x36f3a5(0x2f7)][_0x36f3a5(0x27f)][_0x36f3a5(0x36a)](_0x5bb2a8,_0x551f5e)&&(_0x321c1c[_0x551f5e]=_0x5bb2a8[_0x551f5e]);}return _0x321c1c;},_0x3c7b1f['apply'](this,arguments);},_0x33df74=function(_0x5a2fc3,_0x535513){const _0x30563e=_0x57a832;var _0x1465d={};for(var _0x915440 in _0x5a2fc3)Object[_0x30563e(0x2f7)][_0x30563e(0x27f)][_0x30563e(0x36a)](_0x5a2fc3,_0x915440)&&_0x535513[_0x30563e(0x258)](_0x915440)<0x0&&(_0x1465d[_0x915440]=_0x5a2fc3[_0x915440]);if(_0x5a2fc3!=null&&typeof Object['getOwnPropertySymbols']==_0x30563e(0x252)){for(var _0x5154cc=0x0,_0x915440=Object[_0x30563e(0x21d)](_0x5a2fc3);_0x5154cc<_0x915440[_0x30563e(0x377)];_0x5154cc++)_0x535513['indexOf'](_0x915440[_0x5154cc])<0x0&&Object[_0x30563e(0x2f7)][_0x30563e(0x1e2)]['call'](_0x5a2fc3,_0x915440[_0x5154cc])&&(_0x1465d[_0x915440[_0x5154cc]]=_0x5a2fc3[_0x915440[_0x5154cc]]);}return _0x1465d;},_0x5119e9=_0x1906a3[_0x57a832(0x321)](function(_0x3f2828,_0x284d89){const _0x3f27f9=_0x57a832;var _0x2accab=_0x3f2828[_0x3f27f9(0x1c2)],_0x1dcb45=_0x3f2828['id'],_0x195cc6=_0x3f2828[_0x3f27f9(0x280)],_0x347f49=_0x3f2828[_0x3f27f9(0x3ca)],_0x5b5895=_0x33df74(_0x3f2828,[_0x3f27f9(0x1c2),'id',_0x3f27f9(0x280),_0x3f27f9(0x3ca)]),_0x52acf2='univerjs-icon\x20univerjs-icon-'[_0x3f27f9(0x367)](_0x1dcb45,'\x20')['concat'](_0x195cc6||'')[_0x3f27f9(0x1a8)](),_0x48e2d5=_0x1906a3[_0x3f27f9(0x1d4)]('_'[_0x3f27f9(0x367)](_0x40f779()));return _0x4b6bd5(_0x2accab,''[_0x3f27f9(0x367)](_0x1dcb45),{'defIds':_0x2accab[_0x3f27f9(0x333)],'idSuffix':_0x48e2d5[_0x3f27f9(0x3a8)]},_0x3c7b1f({'ref':_0x284d89,'className':_0x52acf2},_0x5b5895),_0x347f49);});function _0x4b6bd5(_0x348b22,_0x389f5f,_0x242dc5,_0x5ec09f,_0x3c565a){const _0x58dc53=_0x57a832;return _0x1906a3[_0x58dc53(0x1da)](_0x348b22['tag'],_0x3c7b1f(_0x3c7b1f({'key':_0x389f5f},_0x40cc27(_0x348b22,_0x242dc5,_0x3c565a)),_0x5ec09f),(_0x5a10a8(_0x348b22,_0x242dc5)['children']||[])[_0x58dc53(0x1ac)](function(_0x59e730,_0x835073){const _0x4f8159=_0x58dc53;return _0x4b6bd5(_0x59e730,''[_0x4f8159(0x367)](_0x389f5f,'-')[_0x4f8159(0x367)](_0x348b22[_0x4f8159(0x342)],'-')['concat'](_0x835073),_0x242dc5,void 0x0,_0x3c565a);}));}function _0x40cc27(_0x2e7d36,_0x29557a,_0x24de52){const _0x1a9a6b=_0x57a832;var _0x3e3b16=_0x3c7b1f({},_0x2e7d36['attrs']);_0x24de52!=null&&_0x24de52[_0x1a9a6b(0x3df)]&&_0x3e3b16[_0x1a9a6b(0x218)]===_0x1a9a6b(0x3df)&&(_0x3e3b16[_0x1a9a6b(0x218)]=_0x24de52[_0x1a9a6b(0x3df)]),_0x2e7d36[_0x1a9a6b(0x342)]==='mask'&&_0x3e3b16['id']&&(_0x3e3b16['id']=_0x3e3b16['id']+_0x29557a[_0x1a9a6b(0x191)]),Object[_0x1a9a6b(0x3b5)](_0x3e3b16)[_0x1a9a6b(0x240)](function(_0x401aa2){const _0x5aba76=_0x1a9a6b;var _0x2ed759=_0x401aa2[0x0],_0x1633d3=_0x401aa2[0x1];_0x2ed759===_0x5aba76(0x234)&&typeof _0x1633d3=='string'&&(_0x3e3b16[_0x2ed759]=_0x1633d3[_0x5aba76(0x301)](/url\(#(.*)\)/,_0x5aba76(0x1ce)[_0x5aba76(0x367)](_0x29557a[_0x5aba76(0x191)],')')));});var _0x380a5c=_0x29557a['defIds'];return!_0x380a5c||_0x380a5c[_0x1a9a6b(0x377)]===0x0||(_0x2e7d36[_0x1a9a6b(0x342)]==='use'&&_0x3e3b16['xlink:href']&&(_0x3e3b16[_0x1a9a6b(0x1a3)]=_0x3e3b16['xlink:href']+_0x29557a[_0x1a9a6b(0x191)]),Object[_0x1a9a6b(0x3b5)](_0x3e3b16)[_0x1a9a6b(0x240)](function(_0x21c73d){const _0x3db2e6=_0x1a9a6b;var _0x554880=_0x21c73d[0x0],_0xd2c512=_0x21c73d[0x1];typeof _0xd2c512==_0x3db2e6(0x1dc)&&(_0x3e3b16[_0x554880]=_0xd2c512[_0x3db2e6(0x301)](/url\(#(.*)\)/,_0x3db2e6(0x1ce)[_0x3db2e6(0x367)](_0x29557a[_0x3db2e6(0x191)],')')));})),_0x3e3b16;}function _0x5a10a8(_0x490c8b,_0x441735){const _0x55da82=_0x57a832;var _0x54752c,_0x4cea25=_0x441735[_0x55da82(0x333)];return!_0x4cea25||_0x4cea25[_0x55da82(0x377)]===0x0?_0x490c8b:_0x490c8b[_0x55da82(0x342)]==='defs'&&(!((_0x54752c=_0x490c8b[_0x55da82(0x34a)])===null||_0x54752c===void 0x0)&&_0x54752c[_0x55da82(0x377)])?_0x3c7b1f(_0x3c7b1f({},_0x490c8b),{'children':_0x490c8b[_0x55da82(0x34a)][_0x55da82(0x1ac)](function(_0x25dfd6){const _0x45bc9d=_0x55da82;return typeof _0x25dfd6['attrs']['id']==_0x45bc9d(0x1dc)&&_0x4cea25&&_0x4cea25[_0x45bc9d(0x1c5)](_0x25dfd6[_0x45bc9d(0x380)]['id'])?_0x3c7b1f(_0x3c7b1f({},_0x25dfd6),{'attrs':_0x3c7b1f(_0x3c7b1f({},_0x25dfd6[_0x45bc9d(0x380)]),{'id':_0x25dfd6[_0x45bc9d(0x380)]['id']+_0x441735[_0x45bc9d(0x191)]})}):_0x25dfd6;})}):_0x490c8b;}function _0x40f779(){const _0x54a178=_0x57a832;return Math[_0x54a178(0x2c7)]()['toString'](0x24)[_0x54a178(0x396)](0x2,0x8);}_0x5119e9[_0x57a832(0x38f)]=_0x57a832(0x20d);var _0x26dff8={'tag':_0x57a832(0x16e),'attrs':{'xmlns':_0x57a832(0x29f),'fill':_0x57a832(0x354),'viewBox':_0x57a832(0x33e),'width':_0x57a832(0x402),'height':_0x57a832(0x402)},'children':[{'tag':'g','attrs':{'clipPath':_0x57a832(0x334)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'stroke':_0x57a832(0x3d8),'d':_0x57a832(0x23b),'strokeLinecap':_0x57a832(0x3ed),'strokeLinejoin':_0x57a832(0x3ed),'strokeWidth':1.2}}]},{'tag':_0x57a832(0x210),'attrs':{},'children':[{'tag':_0x57a832(0x19c),'attrs':{'id':_0x57a832(0x28d)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'fill':'white','d':_0x57a832(0x1ad)}}]}]}],'defIds':[_0x57a832(0x28d)]},_0x2f50cb=_0x1906a3[_0x57a832(0x321)](function(_0x292a24,_0x1b2923){const _0x25d675=_0x57a832;return _0x1906a3[_0x25d675(0x1da)](_0x5119e9,Object[_0x25d675(0x193)]({},_0x292a24,{'id':_0x25d675(0x2c9),'ref':_0x1b2923,'icon':_0x26dff8}));});_0x2f50cb['displayName']=_0x57a832(0x378);var _0x2ff746={'tag':_0x57a832(0x16e),'attrs':{'xmlns':_0x57a832(0x29f),'fill':_0x57a832(0x354),'viewBox':_0x57a832(0x309),'width':_0x57a832(0x402),'height':_0x57a832(0x402)},'children':[{'tag':'g','attrs':{'clipPath':_0x57a832(0x36b)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'stroke':'currentColor','d':_0x57a832(0x3c9),'strokeLinecap':_0x57a832(0x3ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x57a832(0x3f8)},'children':[{'tag':_0x57a832(0x1c8),'attrs':{'fill':_0x57a832(0x408),'d':_0x57a832(0x1ad),'transform':_0x57a832(0x351)}}]}]}],'defIds':[_0x57a832(0x3f8)]},_0x17b6eb=_0x1906a3['forwardRef'](function(_0x1aa00a,_0x1edca6){const _0x4ae287=_0x57a832;return _0x1906a3['createElement'](_0x5119e9,Object[_0x4ae287(0x193)]({},_0x1aa00a,{'id':_0x4ae287(0x3e6),'ref':_0x1edca6,'icon':_0x2ff746}));});_0x17b6eb[_0x57a832(0x38f)]=_0x57a832(0x366);function _0x5978c7(_0x144e92){const _0x56f355=_0x57a832;switch(_0x144e92){case _0x574d08[_0x56f355(0x214)][_0x56f355(0x200)]:return _0x56f355(0x1e0);case _0x574d08[_0x56f355(0x214)]['CONFLICT']:return'collabStatus.conflict';case _0x574d08['CollaborationStatus'][_0x56f355(0x1ed)]:return _0x56f355(0x2d7);case _0x574d08[_0x56f355(0x214)][_0x56f355(0x34d)]:return _0x56f355(0x1d8);case _0x574d08['CollaborationStatus'][_0x56f355(0x26a)]:case _0x574d08['CollaborationStatus'][_0x56f355(0x398)]:return'collabStatus.syncing';case _0x574d08[_0x56f355(0x214)][_0x56f355(0x1bb)]:case _0x574d08['CollaborationStatus'][_0x56f355(0x35e)]:return _0x56f355(0x1f7);}}function _0x50aa6f(_0x56629d){const _0x1785de=_0x57a832,{status$:_0x1ad56e}=_0x56629d,_0x2e1791=_0x2b55d2[_0x1785de(0x328)](_0x1ad56e,_0x574d08['CollaborationStatus'][_0x1785de(0x34d)]),_0xe5fe9a=_0x2b55d2[_0x1785de(0x35f)](_0x1a1077[_0x1785de(0x3dc)]),_0x5ec80e=_0x2b55d2[_0x1785de(0x35f)](_0x574d08[_0x1785de(0x393)]),_0x5b1e38=_0x2e1791!==_0x574d08[_0x1785de(0x214)][_0x1785de(0x200)],_0x23e2ce=_0xe5fe9a['t'](_0x5978c7(_0x2e1791)),_0x1ce1b7=_0x5b1e38?_0x4c4c0f['jsx'](_0x17b6eb,{}):_0x4c4c0f[_0x1785de(0x335)](_0x2f50cb,{}),_0x49a02f=_0x1906a3['useCallback'](()=>{const _0x2da341=_0x1785de;_0x5b1e38||_0x5ec80e[_0x2da341(0x3b2)]();},[_0x5b1e38,_0x5ec80e]);function _0x1b74cb(){const _0x1802cc=_0x1785de;return _0x4c4c0f[_0x1802cc(0x384)]('div',{'className':_0x1802cc(0x199),'onClick':_0x49a02f,'children':[_0x4c4c0f[_0x1802cc(0x335)]('div',{'className':_0x48312e['clsx'](_0x1802cc(0x315),{'univer-text-green-500':_0x5b1e38,'univer-text-red-500':!_0x5b1e38}),'children':_0x1ce1b7}),_0x4c4c0f[_0x1802cc(0x335)]('div',{'className':_0x1802cc(0x31f),'children':_0x23e2ce})]});}return _0x5b1e38?_0x1b74cb():_0x4c4c0f[_0x1785de(0x335)](_0x48312e[_0x1785de(0x3d2)],{'title':_0xe5fe9a['t']('collab-client.tooltip.reconnect'),'children':_0x1b74cb()});}var _0xdde3d9=Object[_0x57a832(0x2dd)],_0x2ad6bc=(_0x1325a9,_0xfa7cd1,_0x57f845,_0x339c21)=>{for(var _0x30d7e2=_0x339c21>0x1?void 0x0:_0x339c21?_0xdde3d9(_0xfa7cd1,_0x57f845):_0xfa7cd1,_0x17625c=_0x1325a9['length']-0x1,_0x25b269;_0x17625c>=0x0;_0x17625c--)(_0x25b269=_0x1325a9[_0x17625c])&&(_0x30d7e2=_0x25b269(_0x30d7e2)||_0x30d7e2);return _0x30d7e2;},_0x52439e=(_0x43902d,_0xb92d76)=>(_0x4a0b1a,_0x30d7a4)=>_0xb92d76(_0x4a0b1a,_0x30d7a4,_0x43902d);_0x1a9818[_0x57a832(0x178)]=class extends _0x1a1077['Disposable']{constructor(_0x3c5993,_0x3e89e7,_0xe50c5c,_0x2d135d){const _0x2b0839=_0x57a832;super(),_0x1531e9(this,_0x2b0839(0x25a),new _0x447b79['BehaviorSubject'](_0x574d08['CollaborationStatus'][_0x2b0839(0x34d)])),(this[_0x2b0839(0x2ed)]=_0x3c5993,this[_0x2b0839(0x2fc)]=_0x3e89e7,this[_0x2b0839(0x241)]=_0xe50c5c,this[_0x2b0839(0x202)]=_0x2d135d,this[_0x2b0839(0x35d)](),this['_initStatusListener']());}[_0x57a832(0x3db)](){const _0x173950=_0x57a832;this[_0x173950(0x33a)](this[_0x173950(0x2ed)][_0x173950(0x27b)]['pipe'](_0x447b79[_0x173950(0x331)](()=>{const _0x425886=_0x173950,_0x50ff89=this['_univerInstanceService'][_0x425886(0x2a0)]();return _0x50ff89?this[_0x425886(0x241)][_0x425886(0x2ad)](_0x50ff89[_0x425886(0x3e3)]()):_0x447b79['of'](null);}),_0x447b79['switchMap'](_0x6dd6c6=>_0x6dd6c6?_0x6dd6c6['status$']:_0x447b79['of'](_0x574d08['CollaborationStatus'][_0x173950(0x34d)])))[_0x173950(0x217)](_0x412d84=>{const _0x5ca496=_0x173950;this[_0x5ca496(0x25a)][_0x5ca496(0x24b)](_0x412d84);}));}[_0x57a832(0x35d)](){const _0x3f1efd=_0x57a832;this[_0x3f1efd(0x33a)](this[_0x3f1efd(0x202)][_0x3f1efd(0x40c)](_0x2b55d2['BuiltInUIPart']['HEADER_MENU'],()=>_0x2b55d2['connectInjector'](_0x8670a1({'status$':this[_0x3f1efd(0x25a)][_0x3f1efd(0x40e)]()}),this['_injector'])));}},_0x1a9818[_0x57a832(0x178)]=_0x2ad6bc([_0x52439e(0x0,_0x1a1077[_0x57a832(0x175)]),_0x52439e(0x1,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x52439e(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x574d08[_0x57a832(0x40d)])),_0x52439e(0x3,_0x2b55d2[_0x57a832(0x167)])],_0x1a9818[_0x57a832(0x178)]);function _0x8670a1(_0x426b49){const {status$:_0x238379}=_0x426b49;return function(){const _0x59e00f=_0x35c9;return _0x4c4c0f[_0x59e00f(0x335)](_0x50aa6f,{'status$':_0x238379});};}var _0x24b5b2=Object[_0x57a832(0x2dd)],_0xe84f3e=(_0x10085e,_0x157e00,_0x303ff6,_0x5895a1)=>{const _0x3da983=_0x57a832;for(var _0x1de4c5=_0x5895a1>0x1?void 0x0:_0x5895a1?_0x24b5b2(_0x157e00,_0x303ff6):_0x157e00,_0x49f722=_0x10085e[_0x3da983(0x377)]-0x1,_0x1b7883;_0x49f722>=0x0;_0x49f722--)(_0x1b7883=_0x10085e[_0x49f722])&&(_0x1de4c5=_0x1b7883(_0x1de4c5)||_0x1de4c5);return _0x1de4c5;},_0x4accaa=(_0x24465d,_0x539cc5)=>(_0x14b97b,_0x321cc8)=>_0x539cc5(_0x14b97b,_0x321cc8,_0x24465d);let _0x4cf4a6=class extends _0x1a1077[_0x57a832(0x222)]{constructor(_0xd06377,_0x4a3d41,_0x1fc79d,_0x188010,_0x49f4bf,_0x1ae221){const _0x1e33e9=_0x57a832;super(),this['_beforeCloseService']=_0xd06377,this[_0x1e33e9(0x247)]=_0x4a3d41,this[_0x1e33e9(0x2b6)]=_0x1fc79d,this[_0x1e33e9(0x3ba)]=_0x188010,this[_0x1e33e9(0x3f3)]=_0x49f4bf,this[_0x1e33e9(0x391)]=_0x1ae221,this[_0x1e33e9(0x237)](),this[_0x1e33e9(0x1de)]();}[_0x57a832(0x237)](){const _0x299b38=_0x57a832;this[_0x299b38(0x33a)](this['_beforeCloseService'][_0x299b38(0x182)](()=>{const _0x5aee17=_0x299b38;if(this[_0x5aee17(0x247)][_0x5aee17(0x340)]['size'])return this[_0x5aee17(0x391)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x57a832(0x1de)](){const _0x27b8c2=_0x57a832;this[_0x27b8c2(0x33a)](this[_0x27b8c2(0x2b6)][_0x27b8c2(0x30e)][_0x27b8c2(0x217)](_0x14e80e=>{const _0x2c76c3=_0x27b8c2;_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x3a7)]&&this[_0x2c76c3(0x3ba)][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)][_0x2c76c3(0x3f0)],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x2ce))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x33c)]&&this[_0x2c76c3(0x3ba)][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)]['Warning'],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x184))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x18c)]&&this[_0x2c76c3(0x3f3)][_0x2c76c3(0x2f2)]({'title':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x239)),'content':this['_localeService']['t'](_0x2c76c3(0x359)),'type':_0x2c76c3(0x2cc),'duration':0x0}),_0x14e80e['id']===_0x574d08['CollaborationUIEventId'][_0x2c76c3(0x196)]&&this['_messageService'][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)]['Error'],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x184))+'('+_0x14e80e[_0x2c76c3(0x1d1)]+')'}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x3d6)]&&this['_messageService'][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)][_0x2c76c3(0x3f0)],'content':this[_0x2c76c3(0x391)]['t'](_0x14e80e[_0x2c76c3(0x1d1)]||'')}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x364)]&&this[_0x2c76c3(0x3ba)]['show']({'type':_0x48312e[_0x2c76c3(0x3cc)]['Warning'],'content':this['_localeService']['t'](_0x2c76c3(0x227))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)][_0x2c76c3(0x3b1)]&&this['_messageService'][_0x2c76c3(0x2f2)]({'type':_0x48312e[_0x2c76c3(0x3cc)][_0x2c76c3(0x2a2)],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x325))}),_0x14e80e['id']===_0x574d08[_0x2c76c3(0x285)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2c76c3(0x3ba)]['show']({'type':_0x48312e['MessageType'][_0x2c76c3(0x2a2)],'content':this[_0x2c76c3(0x391)]['t'](_0x2c76c3(0x29e))});}));}};_0x4cf4a6=_0xe84f3e([_0x4accaa(0x0,_0x2b55d2[_0x57a832(0x292)]),_0x4accaa(0x1,_0x574d08[_0x57a832(0x263)]),_0x4accaa(0x2,_0x1a1077['Inject'](_0x574d08[_0x57a832(0x3ee)])),_0x4accaa(0x3,_0x2b55d2['IMessageService']),_0x4accaa(0x4,_0x2b55d2[_0x57a832(0x2b9)]),_0x4accaa(0x5,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x3dc)]))],_0x4cf4a6);const _0x404759=_0x57a832(0x3ef),_0x53571b={},_0x1a05da=_0x1a1077[_0x57a832(0x22b)]('uni.network.url-service');var _0x1046d2=Object[_0x57a832(0x2dd)],_0x3bec64=(_0x2f46e4,_0x3af939,_0x4ad6bf,_0x4b5706)=>{for(var _0x5804a1=_0x4b5706>0x1?void 0x0:_0x4b5706?_0x1046d2(_0x3af939,_0x4ad6bf):_0x3af939,_0x293fea=_0x2f46e4['length']-0x1,_0x93598a;_0x293fea>=0x0;_0x293fea--)(_0x93598a=_0x2f46e4[_0x293fea])&&(_0x5804a1=_0x93598a(_0x5804a1)||_0x5804a1);return _0x5804a1;},_0x5a2ed1=(_0x5d1af7,_0x37b530)=>(_0x4805ae,_0x202b6d)=>_0x37b530(_0x4805ae,_0x202b6d,_0x5d1af7);_0x1a9818['CollaborationDataLoaderController']=class extends _0x1a1077['RxDisposable']{constructor(_0x392022,_0x36244e,_0x596388,_0x5dee88,_0x129a0e){const _0x4a6052=_0x57a832;super(),this[_0x4a6052(0x22c)]=_0x392022,this[_0x4a6052(0x1d3)]=_0x36244e,this[_0x4a6052(0x1a6)]=_0x596388,this['_dataLoaderService']=_0x5dee88,_0x129a0e?_0x129a0e==null||_0x129a0e[_0x4a6052(0x276)]()['then'](()=>this['_init']()):(this[_0x4a6052(0x1d3)][_0x4a6052(0x3e4)]('[CollaborationDataLoaderController]',_0x4a6052(0x36d)),this[_0x4a6052(0x1cd)]());}async[_0x57a832(0x1cd)](){const _0x4481b8=_0x57a832,_0x2e2bb8=this[_0x4481b8(0x22c)][_0x4481b8(0x326)]('unit'),_0x5da8a8=this[_0x4481b8(0x22c)]['getParam'](_0x4481b8(0x2b3)),_0x4bfefc=this['_urlService'][_0x4481b8(0x326)](_0x4481b8(0x361));if(!_0x2e2bb8||!_0x5da8a8){this[_0x4481b8(0x1d3)][_0x4481b8(0x3e4)](_0x4481b8(0x401),_0x4481b8(0x3d9));return;}const _0x40c1e5=await this[_0x4481b8(0x16a)][_0x4481b8(0x3c8)](_0x2e2bb8,Number(_0x5da8a8),_0x4bfefc);_0x40c1e5&&_0x40c1e5 instanceof _0x1a1077[_0x4481b8(0x1b6)]&&this[_0x4481b8(0x223)](_0x40c1e5);}async[_0x57a832(0x223)](_0x44686f){const _0x518cd1=_0x57a832;await this[_0x518cd1(0x2aa)](_0x44686f),_0x44686f['activeSheet$'][_0x518cd1(0x347)](_0x447b79[_0x518cd1(0x186)](this[_0x518cd1(0x277)]))['subscribe'](_0xa0007c=>{_0xa0007c&&this['_updateURLWithCurrentState'](_0xa0007c);}),this[_0x518cd1(0x22c)][_0x518cd1(0x3eb)][_0x518cd1(0x347)](_0x447b79['takeUntil'](this[_0x518cd1(0x277)]))[_0x518cd1(0x217)](()=>this[_0x518cd1(0x2aa)](_0x44686f));}[_0x57a832(0x289)](_0x14b208,_0x4e4856=!0x1){const _0x5c8784=_0x57a832,_0x4be3db=this[_0x5c8784(0x22c)][_0x5c8784(0x326)]('subunit');_0x14b208[_0x5c8784(0x3fa)]()!==_0x4be3db&&this['_urlService'][_0x5c8784(0x26e)](_0x5c8784(0x361),_0x14b208[_0x5c8784(0x3fa)](),_0x4e4856);}async[_0x57a832(0x2aa)](_0x4e0858){const _0x2279ab=_0x57a832;var _0x2854ee;const _0x596ebe=this[_0x2279ab(0x22c)][_0x2279ab(0x326)]('subunit');if(!_0x596ebe||!_0x4e0858['getSheetBySheetId'](_0x596ebe)){const _0x274a13=_0x4e0858[_0x2279ab(0x3b8)]()[0x0],_0x46e5f9=_0x4e0858['getSheetBySheetId'](_0x274a13);if(!_0x46e5f9)return;this[_0x2279ab(0x289)](_0x46e5f9,!0x0),await this[_0x2279ab(0x1a6)][_0x2279ab(0x24d)](_0xf2c5f7[_0x2279ab(0x2b5)]['id'],{'unitId':_0x4e0858[_0x2279ab(0x3e3)](),'subUnitId':_0x274a13});return;}((_0x2854ee=_0x4e0858[_0x2279ab(0x3a6)]())==null?void 0x0:_0x2854ee[_0x2279ab(0x3fa)]())!==_0x596ebe&&await this[_0x2279ab(0x1a6)][_0x2279ab(0x24d)](_0xf2c5f7[_0x2279ab(0x2b5)]['id'],{'unitId':_0x4e0858[_0x2279ab(0x3e3)](),'subUnitId':_0x596ebe});}},_0x1a9818['CollaborationDataLoaderController']=_0x3bec64([_0x5a2ed1(0x0,_0x1a05da),_0x5a2ed1(0x1,_0x1a1077[_0x57a832(0x1bc)]),_0x5a2ed1(0x2,_0x1a1077[_0x57a832(0x2b8)]),_0x5a2ed1(0x3,_0x1a1077[_0x57a832(0x3d1)](_0x574d08['DataLoaderService'])),_0x5a2ed1(0x4,_0x1a1077[_0x57a832(0x23d)](_0x32b0cc[_0x57a832(0x330)]))],_0x1a9818[_0x57a832(0x374)]);var _0x1f78e7=Object[_0x57a832(0x2dd)],_0x424500=(_0x3f9152,_0x93c1e9,_0x255097,_0x29f4dc)=>{const _0x2b6b03=_0x57a832;for(var _0xadff94=_0x29f4dc>0x1?void 0x0:_0x29f4dc?_0x1f78e7(_0x93c1e9,_0x255097):_0x93c1e9,_0x399f2b=_0x3f9152[_0x2b6b03(0x377)]-0x1,_0x344748;_0x399f2b>=0x0;_0x399f2b--)(_0x344748=_0x3f9152[_0x399f2b])&&(_0xadff94=_0x344748(_0xadff94)||_0xadff94);return _0xadff94;},_0x8bc2e9=(_0x40cd8a,_0x2e1aaa)=>(_0x26e366,_0x5a9343)=>_0x2e1aaa(_0x26e366,_0x5a9343,_0x40cd8a);let _0x2eb4c5=class{constructor(_0x3d5e4a,_0x143608,_0x4ca87d){const _0x19e859=_0x57a832;this['_injector']=_0x3d5e4a,this[_0x19e859(0x2a8)]=_0x143608,this['_renderManagerService']=_0x4ca87d;}['transformIMECache'](_0x12cb85){const _0x178983=_0x57a832;this[_0x178983(0x3c7)](_0x12cb85),this[_0x178983(0x1c0)](_0x12cb85);}[_0x57a832(0x168)](_0x3a64ba){const _0x83a76b=_0x57a832,{unitID:_0x2cc00c}=_0x3a64ba,_0x2f7762=this[_0x83a76b(0x3de)][_0x83a76b(0x1b2)](_0x2cc00c)[_0x83a76b(0x1ea)](_0x34435f[_0x83a76b(0x1d0)]),{redoCache:_0x4fc694}=_0x2f7762[_0x83a76b(0x3ea)]();if(_0x4fc694[_0x83a76b(0x377)]===0x0)return _0x3a64ba;let _0x1d0c46=_0x1a1077[_0x83a76b(0x22d)][_0x83a76b(0x3fe)](_0x3a64ba[_0x83a76b(0x37f)][0x0]);for(let _0x5811e6=0x0;_0x5811e6<_0x4fc694[_0x83a76b(0x377)];_0x5811e6++){const _0x28d12b={'id':_0x83a76b(0x38d),'params':{..._0x4fc694[_0x5811e6]}},_0x19cb2d=this[_0x83a76b(0x2a8)][_0x83a76b(0x17c)](_0x1d0c46,_0x28d12b,!0x1);if(_0x2333c6['isTransformMutationFailure'](_0x19cb2d))throw _0x19cb2d[_0x83a76b(0x2cc)];_0x1d0c46=_0x19cb2d[_0x83a76b(0x225)];}return{..._0x1a1077[_0x83a76b(0x22d)]['deepClone'](_0x3a64ba),'mutations':[_0x1d0c46]};}['_transformUndoRedoStack'](_0x2168d6){const _0x263f9a=_0x57a832,{unitID:_0x2044b9}=_0x2168d6,_0x2691e6=this[_0x263f9a(0x3de)][_0x263f9a(0x1b2)](_0x2044b9)[_0x263f9a(0x1ea)](_0x34435f[_0x263f9a(0x1d0)]),{undoCache:_0x1d4f90,redoCache:_0x44cbd5}=_0x2691e6[_0x263f9a(0x3ea)]();if(_0x1d4f90[_0x263f9a(0x377)]===0x0||_0x44cbd5[_0x263f9a(0x377)]===0x0)return;const _0x432e2e=[],_0x43e004=[];let _0x270832=_0x1a1077[_0x263f9a(0x22d)][_0x263f9a(0x3fe)](_0x2168d6[_0x263f9a(0x37f)][0x0]),_0xb7a287=_0x1a1077[_0x263f9a(0x22d)]['deepClone'](_0x2168d6['mutations'][0x0]);for(let _0x1e33b9=_0x1d4f90[_0x263f9a(0x377)]-0x1;_0x1e33b9>=0x0;_0x1e33b9--){const _0x242088={'id':_0x263f9a(0x38d),'params':{..._0x1d4f90[_0x1e33b9]}},_0x543c4f={'id':_0x263f9a(0x38d),'params':{..._0x44cbd5[_0x1e33b9]}},_0x435959=this[_0x263f9a(0x2a8)][_0x263f9a(0x17c)](_0x270832,_0x242088,!0x1),_0x275d3d=this[_0x263f9a(0x2a8)][_0x263f9a(0x17c)](_0xb7a287,_0x543c4f,!0x1);if(_0x2333c6[_0x263f9a(0x1cf)](_0x435959))throw _0x435959[_0x263f9a(0x2cc)];if(_0x2333c6[_0x263f9a(0x1cf)](_0x275d3d))throw _0x275d3d[_0x263f9a(0x2cc)];_0x432e2e[_0x263f9a(0x2c5)](_0x435959[_0x263f9a(0x369)]['params']),_0x43e004[_0x263f9a(0x2c5)](_0x275d3d['m2Prime'][_0x263f9a(0x358)]),_0x270832=_0x435959['m1Prime'],_0xb7a287=_0x275d3d[_0x263f9a(0x225)];}_0x2691e6[_0x263f9a(0x1f8)]({'undoCache':_0x432e2e,'redoCache':_0x43e004});}[_0x57a832(0x1c0)](_0x172e42){const _0x383b65=_0x57a832,{unitID:_0x32f08c}=_0x172e42,_0x439b0a=this[_0x383b65(0x3de)]['getRenderById'](_0x32f08c)[_0x383b65(0x1ea)](_0x34435f['DocIMEInputManagerService']),_0x4a451f=_0x439b0a[_0x383b65(0x3a3)]();if(_0x4a451f==null)return;const _0x5ecb3e=[{'id':_0x383b65(0x38d),'params':{'unitId':_0x172e42['unitID'],'actions':null,'textRanges':[_0x4a451f]}}],_0x508978=this[_0x383b65(0x2a8)][_0x383b65(0x2cd)](_0x172e42,_0x5ecb3e);if(!_0x2333c6[_0x383b65(0x233)](_0x508978))throw _0x508978[_0x383b65(0x2cc)];const _0x5d706d=_0x508978[_0x383b65(0x369)][0x0]['params'][_0x383b65(0x270)];Array[_0x383b65(0x25f)](_0x5d706d)&&_0x5d706d['length']&&_0x439b0a[_0x383b65(0x1ab)](_0x5d706d[0x0]);}};_0x2eb4c5=_0x424500([_0x8bc2e9(0x0,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x8bc2e9(0x1,_0x2333c6[_0x57a832(0x32d)]),_0x8bc2e9(0x2,_0x440ec2[_0x57a832(0x34f)])],_0x2eb4c5);var _0x309bda=Object[_0x57a832(0x2dd)],_0x5e2d98=(_0x400091,_0x21f9ed,_0x2954d4,_0x334044)=>{const _0xb3ef42=_0x57a832;for(var _0x305356=_0x334044>0x1?void 0x0:_0x334044?_0x309bda(_0x21f9ed,_0x2954d4):_0x21f9ed,_0x4939e0=_0x400091[_0xb3ef42(0x377)]-0x1,_0x38d0c9;_0x4939e0>=0x0;_0x4939e0--)(_0x38d0c9=_0x400091[_0x4939e0])&&(_0x305356=_0x38d0c9(_0x305356)||_0x305356);return _0x305356;},_0x46def2=(_0xf01c90,_0x9e2c39)=>(_0x1f953c,_0x1d39c2)=>_0x9e2c39(_0x1f953c,_0x1d39c2,_0xf01c90);let _0x141932=class{constructor(_0x3a5fea,_0x294f2c,_0xeb7fea){const _0x102a63=_0x57a832;this[_0x102a63(0x2fc)]=_0x3a5fea,this[_0x102a63(0x2a8)]=_0x294f2c,this['_docStateChangeManagerService']=_0xeb7fea;}[_0x57a832(0x1a7)](_0x3ac196){const _0x66fa55=_0x57a832;this[_0x66fa55(0x24a)](_0x3ac196);}['transformRemoteChangeset'](_0xba84c8){const _0x38d9a9=_0x57a832,{unitID:_0x5918b4}=_0xba84c8,{collaboration:_0x823f51}=this[_0x38d9a9(0x213)][_0x38d9a9(0x2ef)](_0x5918b4);if(_0x823f51[_0x38d9a9(0x377)]===0x0)return _0xba84c8;let _0xa892e9=_0x1a1077[_0x38d9a9(0x22d)][_0x38d9a9(0x3fe)](_0xba84c8['mutations'][0x0]);for(let _0x501b15=0x0;_0x501b15<_0x823f51['length'];_0x501b15++){const _0xf03b91={'id':_0x38d9a9(0x38d),'params':{'unitId':_0x823f51[_0x501b15][_0x38d9a9(0x17e)],..._0x823f51[_0x501b15][_0x38d9a9(0x1c6)]}},_0x54ce7b=this[_0x38d9a9(0x2a8)][_0x38d9a9(0x17c)](_0xa892e9,_0xf03b91,!0x1);if(_0x2333c6[_0x38d9a9(0x1cf)](_0x54ce7b))throw _0x54ce7b['error'];_0xa892e9=_0x54ce7b['m1Prime'];}return{..._0x1a1077[_0x38d9a9(0x22d)][_0x38d9a9(0x3fe)](_0xba84c8),'mutations':[_0xa892e9]};}[_0x57a832(0x24a)](_0x165037){const _0x503cf0=_0x57a832,{unitID:_0x11c46e}=_0x165037,{history:_0x441eac,collaboration:_0x53e43b}=this[_0x503cf0(0x213)][_0x503cf0(0x2ef)](_0x11c46e);if(_0x441eac[_0x503cf0(0x377)]===0x0&&_0x53e43b[_0x503cf0(0x377)]===0x0)return;const _0x1e57a0=[],_0x10eeaa=[];let _0x371baa=_0x1a1077[_0x503cf0(0x22d)][_0x503cf0(0x3fe)](_0x165037['mutations'][0x0]),_0x1c6518=_0x1a1077[_0x503cf0(0x22d)][_0x503cf0(0x3fe)](_0x165037[_0x503cf0(0x37f)][0x0]);for(let _0x502340=_0x441eac['length']-0x1;_0x502340>=0x0;_0x502340--){const _0xd3cdbf={'id':_0x503cf0(0x38d),'params':{'unitId':_0x441eac[_0x502340][_0x503cf0(0x17e)],..._0x441eac[_0x502340]['undoState']}},_0x1082b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x441eac[_0x502340]['unitId'],..._0x441eac[_0x502340]['redoState']}},_0x29889d=this[_0x503cf0(0x2a8)]['transformMutation'](_0x371baa,_0xd3cdbf,!0x1),_0x501cf8=this[_0x503cf0(0x2a8)]['transformMutation'](_0x1c6518,_0x1082b8,!0x1);if(_0x2333c6[_0x503cf0(0x1cf)](_0x29889d))throw _0x29889d['error'];if(_0x2333c6['isTransformMutationFailure'](_0x501cf8))throw _0x501cf8['error'];_0x1e57a0['unshift']({..._0x441eac[_0x502340],'undoState':_0x29889d[_0x503cf0(0x369)][_0x503cf0(0x358)],'redoState':_0x501cf8['m2Prime'][_0x503cf0(0x358)]}),_0x371baa=_0x29889d[_0x503cf0(0x225)],_0x1c6518=_0x501cf8[_0x503cf0(0x225)];}_0x371baa=_0x1a1077[_0x503cf0(0x22d)]['deepClone'](_0x165037['mutations'][0x0]),_0x1c6518=_0x1a1077[_0x503cf0(0x22d)][_0x503cf0(0x3fe)](_0x165037[_0x503cf0(0x37f)][0x0]);for(let _0x10aa6c=_0x53e43b[_0x503cf0(0x377)]-0x1;_0x10aa6c>=0x0;_0x10aa6c--){const _0x58498c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53e43b[_0x10aa6c][_0x503cf0(0x17e)],..._0x53e43b[_0x10aa6c][_0x503cf0(0x2af)]}},_0x4ca06e={'id':_0x503cf0(0x38d),'params':{'unitId':_0x53e43b[_0x10aa6c][_0x503cf0(0x17e)],..._0x53e43b[_0x10aa6c][_0x503cf0(0x1c6)]}},_0x507760=this[_0x503cf0(0x2a8)][_0x503cf0(0x17c)](_0x371baa,_0x58498c,!0x1),_0x7deaf1=this['_transformService'][_0x503cf0(0x17c)](_0x1c6518,_0x4ca06e,!0x1);if(_0x2333c6[_0x503cf0(0x1cf)](_0x507760))throw _0x507760[_0x503cf0(0x2cc)];if(_0x2333c6[_0x503cf0(0x1cf)](_0x7deaf1))throw _0x7deaf1[_0x503cf0(0x2cc)];_0x10eeaa['unshift']({..._0x53e43b[_0x10aa6c],'undoState':_0x507760[_0x503cf0(0x369)][_0x503cf0(0x358)],'redoState':_0x7deaf1[_0x503cf0(0x369)]['params']}),_0x371baa=_0x507760[_0x503cf0(0x225)],_0x1c6518=_0x7deaf1['m1Prime'];}this['_docStateChangeManagerService'][_0x503cf0(0x181)](_0x11c46e,{'history':_0x1e57a0,'collaboration':_0x10eeaa});}};_0x141932=_0x5e2d98([_0x46def2(0x0,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x46def2(0x1,_0x2333c6[_0x57a832(0x32d)]),_0x46def2(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x34435f['DocStateChangeManagerService']))],_0x141932);var _0x57b41c=Object['getOwnPropertyDescriptor'],_0x2dc522=(_0x324220,_0x458728,_0x1fd27d,_0x448b5a)=>{const _0x128b81=_0x57a832;for(var _0x1e1b6e=_0x448b5a>0x1?void 0x0:_0x448b5a?_0x57b41c(_0x458728,_0x1fd27d):_0x458728,_0x4ae6c6=_0x324220[_0x128b81(0x377)]-0x1,_0x54f031;_0x4ae6c6>=0x0;_0x4ae6c6--)(_0x54f031=_0x324220[_0x4ae6c6])&&(_0x1e1b6e=_0x54f031(_0x1e1b6e)||_0x1e1b6e);return _0x1e1b6e;},_0x4ecc99=(_0x91d78,_0x542c7a)=>(_0x19a3ec,_0x3ef1cb)=>_0x542c7a(_0x19a3ec,_0x3ef1cb,_0x91d78);let _0x5dd998=class{constructor(_0x3d207,_0x4e862b){const _0xcc759e=_0x57a832;this[_0xcc759e(0x2fc)]=_0x3d207,this[_0xcc759e(0x2a8)]=_0x4e862b;}[_0x57a832(0x317)](_0xe04f50){const _0x7d39f3=_0x57a832;var _0x2d57c0;const _0x4fcbd7=this['_injector'][_0x7d39f3(0x249)](_0x204ba9['DocSelectionManagerService']),_0x362c90=(_0x2d57c0=_0x4fcbd7[_0x7d39f3(0x1bd)]())!=null?_0x2d57c0:[];if(_0x362c90['length']===0x0)return;const _0x387d93=_0xe04f50[_0x7d39f3(0x179)],_0x4dcb4e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x387d93,'actions':null,'textRanges':_0x362c90}}],_0xb9def9=this[_0x7d39f3(0x2a8)][_0x7d39f3(0x2cd)](_0xe04f50,_0x4dcb4e);if(!_0x2333c6['isTransformMutationsWithChangesetSuccess'](_0xb9def9))throw _0xb9def9['error'];const _0x36d71a=_0xb9def9[_0x7d39f3(0x369)][0x0][_0x7d39f3(0x358)][_0x7d39f3(0x270)];Array['isArray'](_0x36d71a)&&_0x36d71a[_0x7d39f3(0x377)]&&_0x4fcbd7[_0x7d39f3(0x264)](_0x36d71a,{'unitId':_0x387d93,'subUnitId':_0x387d93},!0x1);}};_0x5dd998=_0x2dc522([_0x4ecc99(0x0,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x2ba)])),_0x4ecc99(0x1,_0x2333c6[_0x57a832(0x32d)])],_0x5dd998);var _0x14d421=Object[_0x57a832(0x2dd)],_0x550026=(_0x4b35f8,_0x6aad00,_0x41d712,_0x4a02b9)=>{const _0x2c633e=_0x57a832;for(var _0x24569a=_0x4a02b9>0x1?void 0x0:_0x4a02b9?_0x14d421(_0x6aad00,_0x41d712):_0x6aad00,_0x4d2363=_0x4b35f8[_0x2c633e(0x377)]-0x1,_0x2f70ce;_0x4d2363>=0x0;_0x4d2363--)(_0x2f70ce=_0x4b35f8[_0x4d2363])&&(_0x24569a=_0x2f70ce(_0x24569a)||_0x24569a);return _0x24569a;},_0x1aabbd=(_0x53e248,_0x38a455)=>(_0x91da00,_0xf607df)=>_0x38a455(_0x91da00,_0xf607df,_0x53e248);let _0x5e8e9a=class extends _0x1a1077[_0x57a832(0x222)]{constructor(_0x4418b5,_0xa5f2fa,_0x587fe2,_0x19d6fd,_0x16f819,_0x40e75a,_0x168a30,_0x3bc46e){const _0x290296=_0x57a832;super(),_0x1531e9(this,_0x290296(0x25a),new _0x447b79['BehaviorSubject'](_0x574d08[_0x290296(0x214)][_0x290296(0x34d)])),(this[_0x290296(0x213)]=_0x4418b5,this[_0x290296(0x241)]=_0xa5f2fa,this[_0x290296(0x295)]=_0x587fe2,this[_0x290296(0x294)]=_0x19d6fd,this[_0x290296(0x2d5)]=_0x16f819,this[_0x290296(0x2a7)]=_0x40e75a,this[_0x290296(0x3ba)]=_0x168a30,this['_localeService']=_0x3bc46e,this[_0x290296(0x23f)]());}[_0x57a832(0x23f)](){const _0x22c890=_0x57a832;this[_0x22c890(0x33a)](this[_0x22c890(0x241)]['entityInit$'][_0x22c890(0x217)](_0x1f7456=>{const _0x139c00=_0x22c890,_0x58810f=this['_docStateChangeManagerService']['docStateChange$'][_0x139c00(0x217)](_0x2a0f1e=>{const _0x464dce=_0x139c00;if(_0x2a0f1e==null)return;const {unitId:_0x1f27bf,redoState:_0x4f0a8c,commandId:_0x472fff}=_0x2a0f1e;if(_0x1f27bf!==_0x1f7456[_0x464dce(0x179)])return;const _0x43d948={'id':_0x472fff,'type':_0x1a1077[_0x464dce(0x35a)][_0x464dce(0x243)],'params':{'unitId':_0x1f27bf,'actions':_0x4f0a8c['actions'],'textRanges':null}};_0x1f7456[_0x464dce(0x2f8)](_0x43d948);});if(_0x1f7456[_0x139c00(0x33a)](_0x58810f),_0x1f7456 instanceof _0x574d08[_0x139c00(0x17a)]){const _0x3b9a0d={'onTransformIME':_0x5722cf=>this[_0x139c00(0x295)][_0x139c00(0x2d2)](_0x5722cf),'onTransformState':_0x2bdf40=>this[_0x139c00(0x294)]['transformStateCache'](_0x2bdf40),'onTransformSelections':_0x3f6909=>this[_0x139c00(0x2d5)][_0x139c00(0x317)](_0x3f6909),'onSyncEditingCollabCursor':_0x22f1fd=>this['_docSyncEditingCollabCursorService'][_0x139c00(0x1ff)](_0x22f1fd),'onTransformRemoteChangesetByIMECache':_0x18f01f=>this[_0x139c00(0x295)][_0x139c00(0x168)](_0x18f01f),'onTransformRemoteChangesetByStateCache':_0x4f952e=>this[_0x139c00(0x294)]['transformRemoteChangeset'](_0x4f952e)};_0x1f7456['addHandlerCallback'](_0x3b9a0d);}}));}};_0x5e8e9a=_0x550026([_0x1aabbd(0x0,_0x1a1077[_0x57a832(0x3d1)](_0x34435f[_0x57a832(0x18a)])),_0x1aabbd(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x574d08['CollaborationController'])),_0x1aabbd(0x2,_0x1a1077[_0x57a832(0x3d1)](_0x2eb4c5)),_0x1aabbd(0x3,_0x1a1077['Inject'](_0x141932)),_0x1aabbd(0x4,_0x1a1077[_0x57a832(0x3d1)](_0x5dd998)),_0x1aabbd(0x5,_0x1a1077[_0x57a832(0x3d1)](_0x1b1215)),_0x1aabbd(0x6,_0x2b55d2[_0x57a832(0x230)]),_0x1aabbd(0x7,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077[_0x57a832(0x3dc)]))],_0x5e8e9a);var _0x27d61a=Object[_0x57a832(0x2dd)],_0xc5d995=(_0x12aaae,_0x30a017,_0x2233fc,_0x1919e4)=>{const _0x4b6987=_0x57a832;for(var _0x140e5f=_0x1919e4>0x1?void 0x0:_0x1919e4?_0x27d61a(_0x30a017,_0x2233fc):_0x30a017,_0x38e3bb=_0x12aaae[_0x4b6987(0x377)]-0x1,_0x289369;_0x38e3bb>=0x0;_0x38e3bb--)(_0x289369=_0x12aaae[_0x38e3bb])&&(_0x140e5f=_0x289369(_0x140e5f)||_0x140e5f);return _0x140e5f;},_0x3ada09=(_0x1f1380,_0x22e921)=>(_0xf06a69,_0x144344)=>_0x22e921(_0xf06a69,_0x144344,_0x1f1380);let _0x504b3f=class extends _0x1a1077['Disposable']{constructor(_0x236b3c,_0x127acd,_0x1a80fa){const _0x53204c=_0x57a832;super(),_0x1531e9(this,_0x53204c(0x2e1),new Map()),_0x1531e9(this,_0x53204c(0x207),new Map()),_0x1531e9(this,_0x53204c(0x323),!0x1),(this[_0x53204c(0x257)]=_0x236b3c,this['_localStorageService']=_0x127acd,this[_0x53204c(0x2b4)]=_0x1a80fa);}[_0x57a832(0x32e)](){const _0x28a73d=_0x57a832;this[_0x28a73d(0x323)]=!0x0;}[_0x57a832(0x1be)](){const _0x18f2ae=_0x57a832;this[_0x18f2ae(0x323)]=!0x1;}get['saveTaskMap'](){const _0x5e62e1=_0x57a832;return this[_0x5e62e1(0x207)];}[_0x57a832(0x245)](){const _0x53b6ed=_0x57a832;this[_0x53b6ed(0x1b0)]()['then'](()=>super[_0x53b6ed(0x245)]());}async['loadOfflineData'](_0x51fcb6){const _0x3ab6fe=_0x57a832;return this['_disabled']?null:this[_0x3ab6fe(0x2ee)][_0x3ab6fe(0x403)](_0x574d08[_0x3ab6fe(0x363)](_0x51fcb6));}async[_0x57a832(0x3da)](_0xa0c29e,_0x420030){const _0x365a5d=_0x57a832;return!!this[_0x365a5d(0x2ee)][_0x365a5d(0x37d)](_0xa0c29e,_0x420030);}[_0x57a832(0x1fe)](_0x4af1ac,_0x398dbc,_0x3c8d5c,_0x375642){const _0x167f08=_0x57a832,_0x5f110c=this[_0x167f08(0x2b4)][_0x167f08(0x21e)](_0x4af1ac);this[_0x167f08(0x2e1)][_0x167f08(0x39e)](_0x4af1ac,{'unitID':_0x4af1ac,'type':_0x398dbc,'awaitingChangeset':_0x3c8d5c,'mutations':_0x375642,'rev':_0x5f110c}),this['_saveTaskMap'][_0x167f08(0x375)](_0x4af1ac)||this['_scheduleSaving'](_0x4af1ac);}[_0x57a832(0x195)](_0x341d65){const _0x3767ad=_0x57a832,_0x136882=this[_0x3767ad(0x1d6)]();_0x136882===0x0?this['_saveCache'](_0x341d65):this[_0x3767ad(0x207)]['set'](_0x341d65,setTimeout(()=>this[_0x3767ad(0x2fa)](_0x341d65),_0x136882));}[_0x57a832(0x1d6)](){const _0x27afa6=_0x57a832;var _0x543ab7;return(_0x543ab7=this[_0x27afa6(0x257)][_0x27afa6(0x1eb)](_0x574d08['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x543ab7:_0x574d08[_0x27afa6(0x229)];}[_0x57a832(0x2fa)](_0x5a88b9){const _0x27cbc2=_0x57a832,_0x43a97b=this['_saveTaskMap'][_0x27cbc2(0x249)](_0x5a88b9);return _0x43a97b!==void 0x0&&window[_0x27cbc2(0x269)](_0x43a97b),this[_0x27cbc2(0x2ee)]['setItem'](_0x574d08[_0x27cbc2(0x363)](_0x5a88b9),this[_0x27cbc2(0x2e1)]['get'](_0x5a88b9))['then'](()=>this[_0x27cbc2(0x207)][_0x27cbc2(0x2fd)](_0x5a88b9));}async[_0x57a832(0x1b0)](){const _0x2c5b01=_0x57a832,_0x15c288=[];this['_saveTaskMap'][_0x2c5b01(0x240)]((_0x503646,_0x286eb9)=>{const _0x324b6a=_0x2c5b01;window['clearTimeout'](_0x503646),_0x15c288[_0x324b6a(0x2e5)](this[_0x324b6a(0x2fa)](_0x286eb9)['then'](()=>{const _0x2a50f2=_0x324b6a;this[_0x2a50f2(0x207)]['delete'](_0x286eb9);}));}),await Promise['all'](_0x15c288);}};_0x504b3f=_0xc5d995([_0x3ada09(0x0,_0x1a1077[_0x57a832(0x1a2)]),_0x3ada09(0x1,_0x1a1077['ILocalStorageService']),_0x3ada09(0x2,_0x1a1077['Inject'](_0x2333c6[_0x57a832(0x27c)]))],_0x504b3f);class _0x5dfba9 extends _0x1a1077['RxDisposable']{constructor(){const _0x17acbc=_0x57a832;super(),_0x1531e9(this,'urlChange$'),this[_0x17acbc(0x3eb)]=_0x447b79[_0x17acbc(0x1bf)](window,_0x17acbc(0x206))['pipe'](_0x447b79[_0x17acbc(0x186)](this[_0x17acbc(0x277)]),_0x447b79[_0x17acbc(0x232)](0x1),_0x447b79['mapTo'](void 0x0));}[_0x57a832(0x26e)](_0x56f615,_0x54d82f,_0x26544b=!0x1){const _0x311d09=_0x57a832,_0x1a198f=new URL(window[_0x311d09(0x2c1)][_0x311d09(0x26d)]);_0x1a198f[_0x311d09(0x348)][_0x311d09(0x39e)](_0x56f615,_0x54d82f),_0x26544b?window[_0x311d09(0x3a4)][_0x311d09(0x20f)]('','',_0x1a198f['toString']()):window['history']['pushState']('','',_0x1a198f['toString']());}[_0x57a832(0x379)](_0x1fbec2,_0x5ac1de=!0x1){const _0x44d7b7=_0x57a832,_0x49d123=new URL(window['location'][_0x44d7b7(0x26d)]);_0x49d123[_0x44d7b7(0x348)][_0x44d7b7(0x2fd)](_0x1fbec2),_0x5ac1de?window['history'][_0x44d7b7(0x20f)]('','',_0x49d123['toString']()):window[_0x44d7b7(0x3a4)][_0x44d7b7(0x350)]('','',_0x49d123['toString']());}[_0x57a832(0x326)](_0x4fd8c1){const _0x239233=_0x57a832;var _0x472ba3;return(_0x472ba3=new URL(window['location'][_0x239233(0x26d)])[_0x239233(0x348)][_0x239233(0x249)](_0x4fd8c1))!=null?_0x472ba3:void 0x0;}}var _0x291b62=Object[_0x57a832(0x21a)],_0x461c4c=Object[_0x57a832(0x2dd)],_0x4768aa=(_0x451fe4,_0x5c279d,_0x3eb548)=>_0x5c279d in _0x451fe4?_0x291b62(_0x451fe4,_0x5c279d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3eb548}):_0x451fe4[_0x5c279d]=_0x3eb548,_0x3cd502=(_0x38b87f,_0x1e8623,_0x3e8304,_0xc63472)=>{const _0x45590a=_0x57a832;for(var _0xd7ef6b=_0xc63472>0x1?void 0x0:_0xc63472?_0x461c4c(_0x1e8623,_0x3e8304):_0x1e8623,_0x3c5be6=_0x38b87f[_0x45590a(0x377)]-0x1,_0x1a7ee3;_0x3c5be6>=0x0;_0x3c5be6--)(_0x1a7ee3=_0x38b87f[_0x3c5be6])&&(_0xd7ef6b=_0x1a7ee3(_0xd7ef6b)||_0xd7ef6b);return _0xd7ef6b;},_0x11dc4c=(_0x3b11c8,_0x3a07e8)=>(_0x1c117d,_0x3c545f)=>_0x3a07e8(_0x1c117d,_0x3c545f,_0x3b11c8),_0x4b046d=(_0x544ca6,_0x1158c4,_0x1a7bc7)=>_0x4768aa(_0x544ca6,_0x1158c4+'',_0x1a7bc7);const _0x59665e=_0x57a832(0x2d8);_0x1a9818['UniverCollaborationClientUIPlugin']=class extends _0x1a1077[_0x57a832(0x2c3)]{constructor(_0x5daed6=_0x53571b,_0x40cda0,_0xa71e08,_0x4e0d12){const _0x242dd4=_0x57a832;super(),this['_config']=_0x5daed6,this[_0x242dd4(0x3de)]=_0x40cda0,this[_0x242dd4(0x2fc)]=_0xa71e08,this[_0x242dd4(0x257)]=_0x4e0d12;const {..._0x340a01}=_0x1a1077[_0x242dd4(0x3b3)]({},_0x53571b,this[_0x242dd4(0x34c)]);this[_0x242dd4(0x257)]['setConfig'](_0x404759,_0x340a01);}['onStarting'](){const _0x5063ce=_0x57a832;this[_0x5063ce(0x27a)](),this[_0x5063ce(0x19b)]();}[_0x57a832(0x3a5)](){const _0x264c1c=_0x57a832;this[_0x264c1c(0x24c)]();}[_0x57a832(0x27a)](){const _0x239e1d=_0x57a832;var _0x23c6ff;const _0x417976=[[_0x1ea788],[_0x5dd998],[_0x2eb4c5],[_0x141932],[_0x1b1215],[_0x1a05da,{'useClass':_0x5dfba9}],[_0x415ecd[_0x239e1d(0x40a)],{'useClass':_0x415ecd[_0x239e1d(0x293)]}],[_0x574d08['ILocalCacheService'],{'useClass':_0x504b3f}],[_0x1a9818[_0x239e1d(0x178)]],[_0x5e8e9a],[_0x4cf4a6],[_0x1cbcc1],[_0x10a210],[_0x1a9818[_0x239e1d(0x374)]]];_0x1a1077[_0x239e1d(0x40b)](this[_0x239e1d(0x2fc)],_0x1a1077[_0x239e1d(0x296)](_0x417976,(_0x23c6ff=this[_0x239e1d(0x34c)])==null?void 0x0:_0x23c6ff['override']));}[_0x57a832(0x24c)](){const _0x30d378=_0x57a832;this['disposeWithMe'](this[_0x30d378(0x3de)][_0x30d378(0x2f5)](_0x1a1077[_0x30d378(0x406)][_0x30d378(0x362)],[_0x35262d])),this[_0x30d378(0x33a)](this[_0x30d378(0x3de)]['registerRenderModule'](_0x1a1077[_0x30d378(0x406)][_0x30d378(0x266)],[_0x52e675]));}[_0x57a832(0x19b)](){const _0x566c1c=_0x57a832;_0x1a1077[_0x566c1c(0x304)](this['_injector'],[[_0x1cbcc1],[_0x1a9818[_0x566c1c(0x178)]],[_0x5e8e9a],[_0x4cf4a6],[_0x1a9818[_0x566c1c(0x374)]]]);}},_0x4b046d(_0x1a9818[_0x57a832(0x2ea)],_0x57a832(0x298),_0x59665e),_0x1a9818[_0x57a832(0x2ea)]=_0x3cd502([_0x1a1077[_0x57a832(0x22f)](_0x574d08['UniverCollaborationClientPlugin']),_0x11dc4c(0x1,_0x440ec2[_0x57a832(0x34f)]),_0x11dc4c(0x2,_0x1a1077['Inject'](_0x1a1077[_0x57a832(0x2ba)])),_0x11dc4c(0x3,_0x1a1077[_0x57a832(0x1a2)])],_0x1a9818[_0x57a832(0x2ea)]);var _0x309e3f=Object['getOwnPropertyDescriptor'],_0x14eb02=(_0x5c7075,_0x32ad94,_0x571455,_0x25ce58)=>{const _0xa44713=_0x57a832;for(var _0x27261d=_0x25ce58>0x1?void 0x0:_0x25ce58?_0x309e3f(_0x32ad94,_0x571455):_0x32ad94,_0x37e59e=_0x5c7075[_0xa44713(0x377)]-0x1,_0x4fa447;_0x37e59e>=0x0;_0x37e59e--)(_0x4fa447=_0x5c7075[_0x37e59e])&&(_0x27261d=_0x4fa447(_0x27261d)||_0x27261d);return _0x27261d;},_0x4929a6=(_0x4a29c3,_0xb36567)=>(_0x3d0451,_0x41ad32)=>_0xb36567(_0x3d0451,_0x41ad32,_0x4a29c3);_0x1a9818[_0x57a832(0x242)]=class extends _0x574d08[_0x57a832(0x2a9)]{constructor(_0x301bb9,_0x2b946f,_0x3b18ed,_0x31cdd5,_0x53b67c){super(_0x301bb9,_0x2b946f,_0x3b18ed,_0x31cdd5,_0x53b67c);}async[_0x57a832(0x1f0)](_0xdd9eb6){const _0x1c7ed5=_0x57a832,_0x39f342=await this[_0x1c7ed5(0x20e)](),_0xce755a=this[_0x1c7ed5(0x25e)](_0xdd9eb6,_0x39f342);return this[_0x1c7ed5(0x1b4)](_0xce755a);}[_0x57a832(0x25e)](_0x2937fa,_0x3c8389){const _0x435dab=_0x57a832,_0x6e0bc7=typeof window>'u'?new URL(_0x2937fa):new URL(_0x2937fa,window['location'][_0x435dab(0x3c2)]);_0x6e0bc7['searchParams'][_0x435dab(0x39e)](_0x435dab(0x3a9),_0x3c8389);const _0x539ba3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x435dab(0x2c1)][_0x435dab(0x39a)]);return _0x539ba3[_0x435dab(0x249)](_0x435dab(0x368))&&_0x6e0bc7[_0x435dab(0x348)][_0x435dab(0x39e)]('runId',_0x539ba3[_0x435dab(0x249)]('runId')),_0x6e0bc7[_0x435dab(0x2c2)]();}async['_getSessionTicket'](){const _0x366f5f=_0x57a832;var _0x2cb6b3,_0x42cb76,_0x4c4acd;const _0x24afa6=this[_0x366f5f(0x257)][_0x366f5f(0x1eb)](_0x574d08['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x232691=(_0x2cb6b3=_0x24afa6==null?void 0x0:_0x24afa6['wsSessionTicketUrl'])!=null?_0x2cb6b3:_0x574d08[_0x366f5f(0x3ac)];return(_0x4c4acd=(_0x42cb76=(await this[_0x366f5f(0x2b2)]['get'](_0x232691,{'headers':{'Content-Type':_0x366f5f(0x3d7)}}))[_0x366f5f(0x318)])==null?void 0x0:_0x42cb76['ticket'])!=null?_0x4c4acd:'';}},_0x1a9818['BrowserCollaborationSocketService']=_0x14eb02([_0x4929a6(0x0,_0x1a1077[_0x57a832(0x3d1)](_0x1a1077['Injector'])),_0x4929a6(0x1,_0x1a1077['Inject'](_0x415ecd['HTTPService'])),_0x4929a6(0x2,_0x1a1077['IConfigService']),_0x4929a6(0x3,_0x1a1077[_0x57a832(0x1bc)]),_0x4929a6(0x4,_0x2333c6[_0x57a832(0x1ee)])],_0x1a9818['BrowserCollaborationSocketService']);const _0x10c329=0x7530,_0x5ba98d=_0x57a832(0x3b7);class _0x1b7a10 extends _0x1a1077['Disposable']{constructor(){const _0x250988=_0x57a832;super(),_0x1531e9(this,_0x250988(0x1c1),_0x1a1077[_0x250988(0x24f)]()),_0x1531e9(this,_0x250988(0x23c),new Set()),_0x1531e9(this,_0x250988(0x170),new Map()),_0x1531e9(this,'_heartbeatTimer',null),_0x1531e9(this,'_clearOtherTimers',new Map()),_0x1531e9(this,'_unitStatus',new Map()),this[_0x250988(0x1cd)]();}[_0x57a832(0x245)](){const _0x1fe2c0=_0x57a832;super[_0x1fe2c0(0x245)](),this[_0x1fe2c0(0x390)][_0x1fe2c0(0x240)]((_0x737831,_0x563a89)=>this['_removeClearOtherTimer'](_0x563a89)),this[_0x1fe2c0(0x254)]&&window['clearInterval'](this[_0x1fe2c0(0x254)]);}['getUnitStatus$'](_0x18250c){const _0x7442dc=_0x57a832;return this[_0x7442dc(0x1f6)](_0x18250c)['pipe'](_0x447b79[_0x7442dc(0x319)]());}[_0x57a832(0x3fb)](_0x182a71){const _0x552f44=_0x57a832;this[_0x552f44(0x23c)][_0x552f44(0x2d4)]===0x0&&this[_0x552f44(0x1fd)](),this['_selfUnitIDs'][_0x552f44(0x356)](_0x182a71),this[_0x552f44(0x36f)]({'type':0x0,'memberID':this[_0x552f44(0x1c1)],'unitIDs':[_0x182a71],'isForwarded':!0x1});}[_0x57a832(0x320)](_0x2651f1){const _0x4dfceb=_0x57a832;this[_0x4dfceb(0x23c)][_0x4dfceb(0x2fd)](_0x2651f1),this[_0x4dfceb(0x23c)][_0x4dfceb(0x2d4)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4dfceb(0x254)]);}[_0x57a832(0x1cd)](){const _0x3e420e=_0x57a832;this[_0x3e420e(0x33a)](_0x1a1077['toDisposable'](_0x447b79[_0x3e420e(0x1bf)](window,_0x3e420e(0x303))[_0x3e420e(0x217)](_0x25321a=>{const _0x407afa=_0x3e420e;if(_0x25321a[_0x407afa(0x3f1)]!==_0x5ba98d||!_0x25321a['newValue'])return;const _0x2601aa=JSON[_0x407afa(0x177)](_0x25321a[_0x407afa(0x1b9)]);this[_0x407afa(0x265)](_0x2601aa);}))),window[_0x3e420e(0x409)](_0x3e420e(0x224),()=>this[_0x3e420e(0x36f)]({'type':0x1,'memberID':this[_0x3e420e(0x1c1)],'unitIDs':Array[_0x3e420e(0x271)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x5471c7){const _0x34530=_0x57a832;switch(_0x5471c7[_0x34530(0x2b3)]){case 0x0:this[_0x34530(0x1cb)](_0x5471c7);break;case 0x1:this['_handleLeaveEvent'](_0x5471c7);break;case 0x2:this[_0x34530(0x3f5)](_0x5471c7);break;}}['_handleJoinEvent'](_0x1f5eb4){const _0x135ca4=_0x57a832,{unitIDs:_0x178d01,memberID:_0x27c14a,isForwarded:_0x33f86b}=_0x1f5eb4;_0x178d01[_0x135ca4(0x240)](_0x2cea76=>{const _0x38204b=_0x135ca4;if(!_0x33f86b&&this['_unitOnClients']['has'](_0x2cea76)&&this[_0x38204b(0x1f6)](_0x2cea76)['next'](_0x574d08[_0x38204b(0x251)][_0x38204b(0x35c)]),!this[_0x38204b(0x170)]['has'](_0x2cea76)||!this[_0x38204b(0x170)][_0x38204b(0x249)](_0x2cea76)[_0x38204b(0x375)](_0x27c14a)){const _0x579318=this[_0x38204b(0x170)][_0x38204b(0x249)](_0x2cea76)||new Set();_0x579318[_0x38204b(0x356)](_0x27c14a),this[_0x38204b(0x170)][_0x38204b(0x39e)](_0x2cea76,_0x579318),this[_0x38204b(0x3e2)](_0x27c14a);}}),_0x33f86b||this['_send']({'type':0x0,'memberID':this[_0x135ca4(0x1c1)],'unitIDs':[...this[_0x135ca4(0x23c)]],'isForwarded':!0x0});}[_0x57a832(0x3e2)](_0x490949){const _0x514013=_0x57a832;this[_0x514013(0x2ff)](_0x490949);const _0x3dd644=window[_0x514013(0x395)](()=>{this['_unitOnClients']['forEach'](_0x22b329=>{_0x22b329['delete'](_0x490949);});},_0x10c329*0x2);this['_clearOtherTimers']['set'](_0x490949,_0x3dd644);}[_0x57a832(0x2ff)](_0x19c0ab){const _0x2dbe16=_0x57a832;if(this[_0x2dbe16(0x390)][_0x2dbe16(0x375)](_0x19c0ab)){const _0x2907c5=this['_clearOtherTimers'][_0x2dbe16(0x249)](_0x19c0ab);_0x2907c5&&window['clearTimeout'](_0x2907c5),this['_clearOtherTimers'][_0x2dbe16(0x39e)](_0x19c0ab,null);}}[_0x57a832(0x2ac)](_0x5baa5e){const _0x327985=_0x57a832,{memberID:_0x4365b5,unitIDs:_0x14be70}=_0x5baa5e;_0x14be70[_0x327985(0x240)](_0x1d03fd=>{const _0xb6d0cb=_0x327985;var _0x2470b4;const _0x35b46b=this[_0xb6d0cb(0x170)][_0xb6d0cb(0x249)](_0x1d03fd);_0x35b46b&&(_0x35b46b[_0xb6d0cb(0x2fd)](_0x4365b5),(_0x2470b4=this['_ensureSubject'](_0x1d03fd))==null||_0x2470b4[_0xb6d0cb(0x24b)](_0x35b46b[_0xb6d0cb(0x2d4)]===0x0?_0x574d08[_0xb6d0cb(0x251)]['NO_OTHER_CLIENTS_EDITING']:_0x574d08['UnitStatus'][_0xb6d0cb(0x35c)]));}),this[_0x327985(0x2ff)](_0x4365b5);}[_0x57a832(0x3f5)](_0x1449d3){const _0x1adab2=_0x57a832;this[_0x1adab2(0x3e2)](_0x1449d3['memberID']);}[_0x57a832(0x36f)](_0x4e90ca){const _0x324b0e=_0x57a832;localStorage[_0x324b0e(0x37d)](_0x5ba98d,JSON[_0x324b0e(0x255)](_0x4e90ca));}[_0x57a832(0x1fd)](){const _0x585c85=_0x57a832;this['_heartbeatTimer']=window[_0x585c85(0x17d)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x10c329);}[_0x57a832(0x1f6)](_0x3e8dca){const _0x361bf8=_0x57a832;return this[_0x361bf8(0x3b4)][_0x361bf8(0x375)](_0x3e8dca)||this['_unitStatus'][_0x361bf8(0x39e)](_0x3e8dca,new _0x447b79['BehaviorSubject'](_0x574d08[_0x361bf8(0x251)][_0x361bf8(0x1a1)])),this[_0x361bf8(0x3b4)]['get'](_0x3e8dca);}}var _0x57b1fc=(_0x11e47e=>(_0x11e47e[_0x11e47e[_0x57a832(0x34b)]=0x0]=_0x57a832(0x34b),_0x11e47e[_0x11e47e['OK']=0x1]='OK',_0x11e47e[_0x11e47e[_0x57a832(0x20c)]=0x2]=_0x57a832(0x20c),_0x11e47e[_0x11e47e[_0x57a832(0x18c)]=0x3]=_0x57a832(0x18c),_0x11e47e[_0x11e47e['NOT_FOUND']=0x4]=_0x57a832(0x337),_0x11e47e[_0x11e47e[_0x57a832(0x349)]=0x5]=_0x57a832(0x349),_0x11e47e[_0x11e47e[_0x57a832(0x3c3)]=0x6]=_0x57a832(0x3c3),_0x11e47e[_0x11e47e[_0x57a832(0x2d9)]=0x7]=_0x57a832(0x2d9),_0x11e47e[_0x11e47e[_0x57a832(0x405)]=0x8]='TOO_MANY_REQUESTS',_0x11e47e[_0x11e47e['COMPLETION_FINISHED']=0x9]=_0x57a832(0x267),_0x11e47e[_0x11e47e['LOGIN_FAILED']=0xa]=_0x57a832(0x353),_0x11e47e[_0x11e47e[_0x57a832(0x291)]=0xb]=_0x57a832(0x291),_0x11e47e[_0x11e47e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x57a832(0x3a2),_0x11e47e[_0x11e47e[_0x57a832(0x2bf)]=0xd]=_0x57a832(0x2bf),_0x11e47e[_0x11e47e[_0x57a832(0x3ab)]=0xe]=_0x57a832(0x3ab),_0x11e47e[_0x11e47e[_0x57a832(0x2f3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x11e47e[_0x11e47e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11e47e[_0x11e47e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x11e47e[_0x11e47e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x57a832(0x407),_0x11e47e[_0x11e47e[_0x57a832(0x3f4)]=0x1b59]=_0x57a832(0x3f4),_0x11e47e[_0x11e47e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x57a832(0x188),_0x11e47e[_0x11e47e[_0x57a832(0x1c3)]=0x1b5b]=_0x57a832(0x1c3),_0x11e47e[_0x11e47e[_0x57a832(0x205)]=0x1b5c]=_0x57a832(0x205),_0x11e47e[_0x11e47e[_0x57a832(0x3f2)]=0x1b5d]='APPLY_DUPLICATED',_0x11e47e[_0x11e47e[_0x57a832(0x1a5)]=0x1f41]=_0x57a832(0x1a5),_0x11e47e[_0x11e47e[_0x57a832(0x261)]=0x2329]=_0x57a832(0x261),_0x11e47e[_0x11e47e[_0x57a832(0x394)]=0x232a]=_0x57a832(0x394),_0x11e47e[_0x11e47e[_0x57a832(0x336)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11e47e[_0x11e47e[_0x57a832(0x37c)]=0x232c]=_0x57a832(0x37c),_0x11e47e[_0x11e47e[_0x57a832(0x344)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x11e47e[_0x11e47e[_0x57a832(0x19d)]=0x2711]=_0x57a832(0x19d),_0x11e47e[_0x11e47e[_0x57a832(0x2e4)]=0x2712]=_0x57a832(0x2e4),_0x11e47e[_0x11e47e[_0x57a832(0x2fb)]=0x2713]=_0x57a832(0x2fb),_0x11e47e[_0x11e47e[_0x57a832(0x372)]=0x2714]=_0x57a832(0x372),_0x11e47e[_0x11e47e[_0x57a832(0x392)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x11e47e[_0x11e47e[_0x57a832(0x190)]=0x271b]=_0x57a832(0x190),_0x11e47e[_0x11e47e[_0x57a832(0x282)]=0x271c]=_0x57a832(0x282),_0x11e47e[_0x11e47e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x57a832(0x300),_0x11e47e[_0x11e47e[_0x57a832(0x172)]=0x271e]=_0x57a832(0x172),_0x11e47e[_0x11e47e[_0x57a832(0x339)]=0x271f]=_0x57a832(0x339),_0x11e47e[_0x11e47e[_0x57a832(0x316)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x11e47e[_0x11e47e[_0x57a832(0x197)]=0x2af9]=_0x57a832(0x197),_0x11e47e[_0x11e47e[_0x57a832(0x327)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x11e47e[_0x11e47e[_0x57a832(0x3b9)]=0x2ee2]=_0x57a832(0x3b9),_0x11e47e[_0x11e47e[_0x57a832(0x365)]=0x2ee3]=_0x57a832(0x365),_0x11e47e[_0x11e47e[_0x57a832(0x203)]=0x2ee4]=_0x57a832(0x203),_0x11e47e[_0x11e47e[_0x57a832(0x286)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x11e47e[_0x11e47e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x57a832(0x3a0),_0x11e47e[_0x11e47e[_0x57a832(0x38e)]=0x32ca]=_0x57a832(0x38e),_0x11e47e[_0x11e47e[_0x57a832(0x2ae)]=0x32cb]=_0x57a832(0x2ae),_0x11e47e[_0x11e47e[_0x57a832(0x1d5)]=-0x1]=_0x57a832(0x1d5),_0x11e47e))(_0x57b1fc||{}),_0x207074=Object[_0x57a832(0x2dd)],_0x8de1ee=(_0x2609fa,_0x5e0299,_0xcd938d,_0x5da7c7)=>{const _0x228375=_0x57a832;for(var _0x6d715a=_0x5da7c7>0x1?void 0x0:_0x5da7c7?_0x207074(_0x5e0299,_0xcd938d):_0x5e0299,_0x2d7cc5=_0x2609fa[_0x228375(0x377)]-0x1,_0x27708a;_0x2d7cc5>=0x0;_0x2d7cc5--)(_0x27708a=_0x2609fa[_0x2d7cc5])&&(_0x6d715a=_0x27708a(_0x6d715a)||_0x6d715a);return _0x6d715a;},_0xc51a23=(_0x3cf7a4,_0x3fa0e6)=>(_0x236bf8,_0x59a8e6)=>_0x3fa0e6(_0x236bf8,_0x59a8e6,_0x3cf7a4);_0x1a9818[_0x57a832(0x3c0)]=class extends _0x1a1077[_0x57a832(0x222)]{constructor(_0x1aa76d,_0x164082,_0x15530c){const _0x3c7d39=_0x57a832;super(),this['_instanceService']=_0x1aa76d,this[_0x3c7d39(0x2b2)]=_0x164082,this[_0x3c7d39(0x257)]=_0x15530c;}async['runOnServer'](_0x151dea,_0x53d16d,_0x11575d,..._0x2241fa){const _0xf9aff2=_0x57a832;var _0x1eb38b,_0x536b3a,_0x3a973c,_0x2af5b1;const _0x7daa22=this[_0xf9aff2(0x2be)][_0xf9aff2(0x2a0)]();if(!_0x7daa22)throw new Error(_0xf9aff2(0x27d));const _0x2e953d=((_0x1eb38b=this[_0xf9aff2(0x257)][_0xf9aff2(0x1eb)](_0x574d08[_0xf9aff2(0x1b5)]))!=null?_0x1eb38b:_0x574d08[_0xf9aff2(0x1b3)])+'/'+_0x151dea+_0xf9aff2(0x404)+_0x53d16d,_0x130e89=new URL(window[_0xf9aff2(0x2c1)]['href']),_0x32b2f7={'scriptId':_0x151dea,'runId':(_0x536b3a=_0x130e89[_0xf9aff2(0x348)][_0xf9aff2(0x249)]('runId'))!=null?_0x536b3a:'','function':_0x53d16d,'unitId':_0x7daa22[_0xf9aff2(0x3e3)](),'argsOfFunction':JSON[_0xf9aff2(0x255)](_0x2241fa),'invokeId':(_0x3a973c=_0x11575d['invokeId'])!=null?_0x3a973c:'','executionId':(_0x2af5b1=_0x11575d[_0xf9aff2(0x397)])!=null?_0x2af5b1:''};try{const _0x24c806=await this[_0xf9aff2(0x2b2)]['post'](_0x2e953d,{'body':_0x32b2f7});return _0x24c806[_0xf9aff2(0x318)]['error']&&_0x24c806['body'][_0xf9aff2(0x2cc)][_0xf9aff2(0x399)]!==_0x57b1fc['OK']?'Failed':_0x24c806[_0xf9aff2(0x318)][_0xf9aff2(0x306)];}catch{return _0xf9aff2(0x18e);}}},_0x1a9818['RemoteUniscriptService']=_0x8de1ee([_0xc51a23(0x0,_0x1a1077[_0x57a832(0x175)]),_0xc51a23(0x1,_0x1a1077[_0x57a832(0x3d1)](_0x415ecd[_0x57a832(0x322)])),_0xc51a23(0x2,_0x1a1077[_0x57a832(0x1a2)])],_0x1a9818[_0x57a832(0x3c0)]),_0x1a9818[_0x57a832(0x171)]=_0x1a05da,_0x1a9818[_0x57a832(0x38a)]=_0x5ad0fd,_0x1a9818[_0x57a832(0x360)]=_0x1b7a10,_0x1a9818[_0x57a832(0x30f)]=_0x5dfba9,Object[_0x57a832(0x21a)](_0x1a9818,Symbol[_0x57a832(0x3cd)],{'value':'Module'});}));