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

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 (51) 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/types/index.d.ts +0 -2
  38. package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -3
  39. package/lib/umd/facade.js +1 -1
  40. package/lib/umd/index.js +1 -1
  41. package/lib/umd/locale/ca-ES.js +1 -1
  42. package/lib/umd/locale/en-US.js +1 -1
  43. package/lib/umd/locale/es-ES.js +1 -1
  44. package/lib/umd/locale/fa-IR.js +1 -1
  45. package/lib/umd/locale/fr-FR.js +1 -1
  46. package/lib/umd/locale/ko-KR.js +1 -1
  47. package/lib/umd/locale/ru-RU.js +1 -1
  48. package/lib/umd/locale/vi-VN.js +1 -1
  49. package/lib/umd/locale/zh-CN.js +1 -1
  50. package/lib/umd/locale/zh-TW.js +1 -1
  51. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2599d2,_0x41a234){const _0x57355d=_0x1efe,_0x46cbd5=_0x2599d2();while(!![]){try{const _0x4aff0e=parseInt(_0x57355d(0x365))/0x1+-parseInt(_0x57355d(0x409))/0x2*(-parseInt(_0x57355d(0x37f))/0x3)+-parseInt(_0x57355d(0x422))/0x4*(parseInt(_0x57355d(0x243))/0x5)+parseInt(_0x57355d(0x439))/0x6+parseInt(_0x57355d(0x3ad))/0x7+-parseInt(_0x57355d(0x3f4))/0x8+-parseInt(_0x57355d(0x1ac))/0x9*(parseInt(_0x57355d(0x33a))/0xa);if(_0x4aff0e===_0x41a234)break;else _0x46cbd5['push'](_0x46cbd5['shift']());}catch(_0x4f4d5d){_0x46cbd5['push'](_0x46cbd5['shift']());}}}(_0x55f2,0x36bac),function(_0x5ab966,_0x4f9d43){const _0xbb272a=_0x1efe;typeof exports==_0xbb272a(0x23c)&&typeof module<'u'?_0x4f9d43(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==_0xbb272a(0x28b)&&define[_0xbb272a(0x39e)]?define([_0xbb272a(0x445),_0xbb272a(0x31e),'@univerjs/core',_0xbb272a(0x2c0),'@univerjs/network','@univerjs/docs-ui',_0xbb272a(0x31a),_0xbb272a(0x35a),_0xbb272a(0x410),_0xbb272a(0x425),_0xbb272a(0x2b6),_0xbb272a(0x32c),_0xbb272a(0x434),_0xbb272a(0x314),'react/jsx-runtime',_0xbb272a(0x3b7),_0xbb272a(0x1fa),_0xbb272a(0x43f),_0xbb272a(0x3d5)],_0x4f9d43):(_0x5ab966=typeof globalThis<'u'?globalThis:_0x5ab966||self,_0x4f9d43(_0x5ab966['UniverProCollaborationClientUi']={},_0x5ab966[_0xbb272a(0x282)],_0x5ab966[_0xbb272a(0x1a7)],_0x5ab966[_0xbb272a(0x1fd)],_0x5ab966[_0xbb272a(0x38f)],_0x5ab966[_0xbb272a(0x423)],_0x5ab966[_0xbb272a(0x2e1)],_0x5ab966[_0xbb272a(0x35a)],_0x5ab966[_0xbb272a(0x276)],_0x5ab966['UniverDocs'],_0x5ab966[_0xbb272a(0x3de)],_0x5ab966[_0xbb272a(0x3c3)],_0x5ab966[_0xbb272a(0x35a)][_0xbb272a(0x348)],_0x5ab966[_0xbb272a(0x317)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverUi'],_0x5ab966[_0xbb272a(0x39f)],_0x5ab966[_0xbb272a(0x38e)],_0x5ab966['UniverRpc']));}(this,function(_0x5527a1,_0x5a7b55,_0x1f0a18,_0x1b328b,_0x254943,_0x4dd21f,_0x6b8129,_0x5900c2,_0x1cac3e,_0xb349ea,_0x512390,_0x5e0c6b,_0x58e73e,_0x2642d0,_0x35553a,_0x3835ea,_0x177c57,_0x35c730,_0x29d29a){'use strict';const _0x530ea4=_0x1efe;var _0x510b9e=Object[_0x530ea4(0x36e)],_0x1b2207=(_0xd62896,_0x1fca83,_0x5b1c30)=>_0x1fca83 in _0xd62896?_0x510b9e(_0xd62896,_0x1fca83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1c30}):_0xd62896[_0x1fca83]=_0x5b1c30,_0x1b53be=(_0x13300a,_0x29f074,_0x451646)=>_0x1b2207(_0x13300a,typeof _0x29f074!='symbol'?_0x29f074+'':_0x29f074,_0x451646),_0x28f99e=Object[_0x530ea4(0x201)],_0x31b2c2=(_0xfdc19,_0x120328,_0x2f621f,_0x103084)=>{const _0x3c168d=_0x530ea4;for(var _0x151cf5=_0x103084>0x1?void 0x0:_0x103084?_0x28f99e(_0x120328,_0x2f621f):_0x120328,_0x5d0c21=_0xfdc19[_0x3c168d(0x2ee)]-0x1,_0x4b49b2;_0x5d0c21>=0x0;_0x5d0c21--)(_0x4b49b2=_0xfdc19[_0x5d0c21])&&(_0x151cf5=_0x4b49b2(_0x151cf5)||_0x151cf5);return _0x151cf5;},_0x54ae1a=(_0x45cb6c,_0x4d359e)=>(_0x3cee1c,_0x3cd7e7)=>_0x4d359e(_0x3cee1c,_0x3cd7e7,_0x45cb6c);let _0x25d763=class extends _0x1f0a18['RxDisposable']{constructor(_0x2b91a9,_0x58987f){const _0x365610=_0x530ea4;super(),this[_0x365610(0x3f3)]=_0x2b91a9,this[_0x365610(0x323)]=_0x58987f,this['_init']();}['_init'](){const _0x17f193=_0x530ea4,_0x229069=this;this[_0x17f193(0x3b8)](this[_0x17f193(0x3f3)][_0x17f193(0x26b)]({'onBeforePasteImage':async _0x3d3591=>{const _0x20f6ed=_0x17f193,_0x1ee4e7=await _0x229069[_0x20f6ed(0x323)][_0x20f6ed(0x2d3)](_0x3d3591);return _0x1ee4e7?{'source':_0x1ee4e7['source'],'imageSourceType':_0x1ee4e7[_0x20f6ed(0x41a)]}:null;}}));}};_0x25d763=_0x31b2c2([_0x54ae1a(0x0,_0x4dd21f[_0x530ea4(0x269)]),_0x54ae1a(0x1,_0x6b8129[_0x530ea4(0x205)])],_0x25d763);const _0x18bd82=[_0x530ea4(0x235),_0x530ea4(0x3d8),_0x530ea4(0x27d),_0x530ea4(0x21e),_0x530ea4(0x260),_0x530ea4(0x25a)];class _0x3e294f extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x3a9312=_0x530ea4;super(...arguments),_0x1b53be(this,_0x3a9312(0x2ba),new Map()),_0x1b53be(this,_0x3a9312(0x3ef),0x0);}['assignAColorForMemberID'](_0xe8bb15){const _0x1f8b7d=_0x530ea4;if(this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x447)](_0xe8bb15))return this[_0x1f8b7d(0x2ba)][_0x1f8b7d(0x22f)](_0xe8bb15);const _0x5393e3=_0x18bd82[this['_colorIndex']];return this[_0x1f8b7d(0x3ef)]=(this['_colorIndex']+0x1)%_0x18bd82[_0x1f8b7d(0x2ee)],this[_0x1f8b7d(0x2ba)]['set'](_0xe8bb15,_0x5393e3),_0x5393e3;}}function _0x3ba1e2(_0x5915c8){const _0x409110=_0x530ea4;let _0x39317d='';for(const _0x58ace9 of _0x5915c8){const {startOffset:_0x1beb2e,endOffset:_0x1266ae,isActive:_0x34a347,rangeType:_0x21725f,segmentId:_0x5a9e5b,segmentPage:_0x1019a4}=_0x58ace9;_0x39317d[_0x409110(0x2ee)]&&(_0x39317d+=','),_0x39317d+=_0x1beb2e+':'+_0x1266ae+':'+(_0x34a347?'1':'0')+':'+_0x21725f+':'+_0x5a9e5b+':'+_0x1019a4;}return _0x39317d;}function _0x472396(_0x17cda6){const _0x4f3ee0=_0x530ea4,_0x3ff926=_0x17cda6[_0x4f3ee0(0x3b5)](','),_0x28ff1d=[];for(const _0x596123 of _0x3ff926){const [_0x537936,_0x283eca,_0x584889,_0x1fa993,_0x4566ce,_0x4c3f2c]=_0x596123['split'](':');_0x28ff1d[_0x4f3ee0(0x36a)]({'startOffset':Number(_0x537936),'endOffset':Number(_0x283eca),'collapsed':_0x537936===_0x283eca,'isActive':_0x584889==='1','rangeType':_0x1fa993===_0x1f0a18['DOC_RANGE_TYPE'][_0x4f3ee0(0x3db)]?_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3db)]:_0x1f0a18[_0x4f3ee0(0x2df)][_0x4f3ee0(0x3c8)],'segmentId':typeof _0x4566ce==_0x4f3ee0(0x39b)?String(_0x4566ce):'','segmentPage':Number(_0x4c3f2c!=null?_0x4c3f2c:-0x1)});}return _0x28ff1d[_0x4f3ee0(0x263)](_0xd1f7c9=>_0xd1f7c9[_0x4f3ee0(0x431)])||(_0x28ff1d[0x0]['isActive']=!0x0),_0x28ff1d;}class _0x50ea68 extends _0x1f0a18['RxDisposable']{constructor(){const _0x2ff5a9=_0x530ea4;super(...arguments),_0x1b53be(this,_0x2ff5a9(0x2e3),new _0x5900c2['BehaviorSubject'](null)),_0x1b53be(this,_0x2ff5a9(0x3e1),this[_0x2ff5a9(0x2e3)]['asObservable']());}['syncEditingCollabCursor'](_0x10f8d2){const _0x2f2ef8=_0x530ea4,{unitID:_0x5d75b8,memberID:_0x11394d,textRanges:_0x37b6a7}=_0x10f8d2,_0x33aca9=_0x3ba1e2(_0x37b6a7);if(_0x33aca9==='')return;const _0x32b5c8={'unitID':_0x5d75b8,'memberID':_0x11394d,'selection':_0x33aca9};this['_collabCursorState$'][_0x2f2ef8(0x428)](_0x32b5c8);}}var _0x99c464=Object[_0x530ea4(0x201)],_0x4fd055=(_0x6ef960,_0x171d21,_0x449254,_0x38b92a)=>{const _0x4b3289=_0x530ea4;for(var _0x1adc76=_0x38b92a>0x1?void 0x0:_0x38b92a?_0x99c464(_0x171d21,_0x449254):_0x171d21,_0x4a6a7e=_0x6ef960[_0x4b3289(0x2ee)]-0x1,_0x29d958;_0x4a6a7e>=0x0;_0x4a6a7e--)(_0x29d958=_0x6ef960[_0x4a6a7e])&&(_0x1adc76=_0x29d958(_0x1adc76)||_0x1adc76);return _0x1adc76;},_0x2c9cff=(_0x59967d,_0x4e6205)=>(_0x2c0d3f,_0x52a473)=>_0x4e6205(_0x2c0d3f,_0x52a473,_0x59967d);const _0xbf49a1=0x12c,_0x3c0c1e=0x64;let _0x2ccc25=class extends _0x1f0a18['RxDisposable']{constructor(_0x4820a6,_0x1257bf,_0x2b7f6f,_0x26d71a,_0x3ace50,_0x29bf4a,_0x4680b9,_0x4aa67c,_0xf3003c){const _0xaff32f=_0x530ea4;super(),_0x1b53be(this,_0xaff32f(0x2dd),!0x1),_0x1b53be(this,_0xaff32f(0x30a),!0x1),_0x1b53be(this,_0xaff32f(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0xaff32f(0x318),this['_cursorInfo$']['asObservable']()),_0x1b53be(this,'_roomMembers$',new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,_0xaff32f(0x22e),this[_0xaff32f(0x1d3)][_0xaff32f(0x420)](_0x5900c2['debounceTime'](_0xbf49a1))),_0x1b53be(this,_0xaff32f(0x1c1),_0x1f0a18[_0xaff32f(0x248)](_0x14144a=>{const _0x55affe=_0xaff32f,_0xac4197={'eventID':_0x1cac3e[_0x55affe(0x232)][_0x55affe(0x3bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x55affe(0x1aa)]['getMemberID'](),'selection':_0x3ba1e2(_0x14144a)}};this[_0x55affe(0x1aa)][_0x55affe(0x274)](_0xac4197,this[_0x55affe(0x275)]);},_0x3c0c1e)),(this[_0xaff32f(0x275)]=_0x4820a6,this[_0xaff32f(0x1aa)]=_0x1257bf,this['_injector']=_0x2b7f6f,this[_0xaff32f(0x1f5)]=_0x26d71a,this[_0xaff32f(0x3fd)]=_0x3ace50,this[_0xaff32f(0x3b4)]=_0x29bf4a,this[_0xaff32f(0x297)]=_0x4680b9,this[_0xaff32f(0x2cd)]=_0x4aa67c,this[_0xaff32f(0x3c2)]=_0xf3003c);}get[_0x530ea4(0x2eb)](){const _0xd3fc98=_0x530ea4;return this[_0xd3fc98(0x30e)][_0xd3fc98(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x178d33=_0x530ea4;return this[_0x178d33(0x1d3)][_0x178d33(0x1e4)]();}['dispose'](){const _0x280420=_0x530ea4;super[_0x280420(0x342)](),this[_0x280420(0x30e)][_0x280420(0x428)](new Map()),this[_0x280420(0x30e)]['complete'](),this['_roomMembers$'][_0x280420(0x428)]([]),this['_roomMembers$'][_0x280420(0x361)]();}[_0x530ea4(0x29f)](){const _0x222d28=_0x530ea4;this['_init']||(this[_0x222d28(0x30a)]=!0x0,this[_0x222d28(0x1aa)]['sessionStatus$'][_0x222d28(0x420)](_0x5900c2['takeUntil'](this[_0x222d28(0x211)]))['subscribe'](_0x2da77c=>{const _0xb53f3d=_0x222d28;_0x2da77c===_0x5a7b55['SessionStatus'][_0xb53f3d(0x3ca)]?this[_0xb53f3d(0x25e)]():this[_0xb53f3d(0x344)]();}),this['_session'][_0x222d28(0x21d)][_0x222d28(0x420)](_0x5900c2[_0x222d28(0x24a)](this['dispose$']))[_0x222d28(0x272)](_0x326570=>{const _0x17f2e8=_0x222d28,_0x5f300f=_0x326570[_0x17f2e8(0x289)];_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x3bc)]&&this['_onCursorUpdate'](_0x326570),_0x5f300f===_0x1cac3e[_0x17f2e8(0x232)][_0x17f2e8(0x2d5)]&&this['_onCursorDelete'](_0x326570);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)]['onCommandExecuted'](_0x432522=>{const _0x4dc5d3=_0x222d28,_0x3e1efe=_0x432522['params'];_0x3e1efe!=null&&this[_0x4dc5d3(0x2dd)]&&_0x432522['id']===_0xb349ea['SetTextSelectionsOperation']['id']&&_0x3e1efe[_0x4dc5d3(0x3f0)]===this[_0x4dc5d3(0x275)]&&_0x3e1efe[_0x4dc5d3(0x1be)]===!0x1&&_0x3e1efe[_0x4dc5d3(0x28e)][_0x4dc5d3(0x2ee)]>0x0&&this[_0x4dc5d3(0x1c1)](_0x3e1efe['ranges']);})),this[_0x222d28(0x3b4)][_0x222d28(0x3e1)][_0x222d28(0x420)](_0x5900c2['takeUntil'](this['dispose$']))[_0x222d28(0x272)](_0x122a42=>{const _0x313469=_0x222d28;if((_0x122a42==null?void 0x0:_0x122a42[_0x313469(0x275)])!==this[_0x313469(0x275)])return;const _0x3dec95={'eventID':_0x1cac3e[_0x313469(0x232)][_0x313469(0x3bc)],'data':_0x122a42};this[_0x313469(0x356)](_0x3dec95);}),this[_0x222d28(0x3b8)](this[_0x222d28(0x3c2)][_0x222d28(0x3fb)](_0x4909b4=>{const _0x1f3adb=_0x222d28;if(_0x4909b4['params']==null)return;const _0x44c4d7=_0x4909b4[_0x1f3adb(0x357)];if(_0x4909b4['id']!==_0xb349ea[_0x1f3adb(0x36b)]['id']||_0x44c4d7['unitId']!==this[_0x1f3adb(0x275)])return;const _0x401919={'id':'doc.mutation.rich-text-editing','params':_0x44c4d7},_0x7065fb=this['cursorInfo'];for(const [_0x1e1d1c,_0x24988d]of _0x7065fb){const _0x272950={'id':_0x1f3adb(0x28f),'params':{'unitId':this[_0x1f3adb(0x275)],'actions':null,'textRanges':_0x24988d[_0x1f3adb(0x28e)]}},_0x2c45e8=this[_0x1f3adb(0x297)][_0x1f3adb(0x1d5)](_0x401919,_0x272950,!0x1);if(_0x1cac3e[_0x1f3adb(0x3da)](_0x2c45e8))throw _0x2c45e8[_0x1f3adb(0x31b)];_0x7065fb[_0x1f3adb(0x3ec)](_0x1e1d1c,{..._0x24988d,'ranges':_0x2c45e8[_0x1f3adb(0x1ab)][_0x1f3adb(0x357)][_0x1f3adb(0x2f4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x7065fb);});})));}[_0x530ea4(0x356)](_0x253475){const _0x30ef6a=_0x530ea4;var _0x2a1203,_0x15b8ed;const {memberID:_0x216d8c,selection:_0x3b97fc}=_0x253475[_0x30ef6a(0x2b9)],_0x139957=_0x472396(_0x3b97fc),_0x263ce5=(_0x15b8ed=(_0x2a1203=this['_memberService']['getMember'](this[_0x30ef6a(0x275)],_0x216d8c))==null?void 0x0:_0x2a1203[_0x30ef6a(0x249)])!=null?_0x15b8ed:_0x30ef6a(0x39d),_0x189d15={'color':this[_0x30ef6a(0x1f5)][_0x30ef6a(0x343)](_0x216d8c),'name':_0x263ce5,'ranges':_0x139957},_0x54dcb9=this['cursorInfo'];_0x54dcb9[_0x30ef6a(0x3ec)](_0x216d8c,_0x189d15),this[_0x30ef6a(0x30e)][_0x30ef6a(0x428)](_0x54dcb9);}[_0x530ea4(0x2ab)](_0xd2de37){const _0xb65af2=_0x530ea4,{memberID:_0x2503c1}=_0xd2de37['data'],_0x15244d=this[_0xb65af2(0x2eb)];_0x15244d[_0xb65af2(0x222)](_0x2503c1),this[_0xb65af2(0x30e)][_0xb65af2(0x428)](_0x15244d);}[_0x530ea4(0x25e)](){const _0x3ead3d=_0x530ea4;var _0x3a377c;if(this[_0x3ead3d(0x2dd)]=!0x0,((_0x3a377c=this[_0x3ead3d(0x2cd)][_0x3ead3d(0x3d6)]())==null?void 0x0:_0x3a377c[_0x3ead3d(0x1e8)]())!==this['unitID'])return;const _0x210fa4=this['_injector'][_0x3ead3d(0x22f)](_0xb349ea[_0x3ead3d(0x3f6)])[_0x3ead3d(0x35f)]();Array[_0x3ead3d(0x307)](_0x210fa4)&&_0x210fa4[_0x3ead3d(0x2ee)]>0x0&&this[_0x3ead3d(0x1c1)](_0x210fa4);}['_toggleOffline'](){const _0x1564c2=_0x530ea4;this[_0x1564c2(0x2dd)]=!0x1;}};_0x2ccc25=_0x4fd055([_0x2c9cff(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2c9cff(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x2c9cff(0x4,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x3a3)])),_0x2c9cff(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x50ea68)),_0x2c9cff(0x6,_0x1cac3e[_0x530ea4(0x41e)]),_0x2c9cff(0x7,_0x1f0a18[_0x530ea4(0x2db)]),_0x2c9cff(0x8,_0x1f0a18[_0x530ea4(0x3d7)])],_0x2ccc25);var _0x207dcb=Object[_0x530ea4(0x201)],_0x1ee03d=(_0x5357ac,_0x578d5f,_0x1f618f,_0x561a26)=>{const _0x21fcc3=_0x530ea4;for(var _0x3cb56d=_0x561a26>0x1?void 0x0:_0x561a26?_0x207dcb(_0x578d5f,_0x1f618f):_0x578d5f,_0x18e4f7=_0x5357ac[_0x21fcc3(0x2ee)]-0x1,_0x43ce34;_0x18e4f7>=0x0;_0x18e4f7--)(_0x43ce34=_0x5357ac[_0x18e4f7])&&(_0x3cb56d=_0x43ce34(_0x3cb56d)||_0x3cb56d);return _0x3cb56d;},_0x1ef04f=(_0x5bd732,_0x524281)=>(_0x2a87dc,_0x464bd3)=>_0x524281(_0x2a87dc,_0x464bd3,_0x5bd732);const _0xb532ee=0x12c,_0x21482b=0x64,_0x1ffd99=()=>{let _0x422cc1=[],_0x31de6b=!0x1;return _0x589315=>{const _0x3e2f35=_0x1efe;_0x422cc1[_0x3e2f35(0x36a)](_0x589315),_0x31de6b||(_0x31de6b=!0x0,setTimeout(()=>{_0x422cc1['forEach'](_0x7bfae2=>_0x7bfae2()),_0x422cc1=[],_0x31de6b=!0x1;}));};};let _0x553a42=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x15be43,_0x12d922,_0xb65e2c,_0x2896af,_0x412cc3,_0x2f0726,_0x24537f,_0x429ae8){const _0x338e8b=_0x530ea4;super(),_0x1b53be(this,_0x338e8b(0x2dd),!0x1),_0x1b53be(this,_0x338e8b(0x30a),!0x1),_0x1b53be(this,_0x338e8b(0x30e),new _0x5900c2['BehaviorSubject'](new Map())),_0x1b53be(this,_0x338e8b(0x318),this[_0x338e8b(0x30e)][_0x338e8b(0x380)]()),_0x1b53be(this,_0x338e8b(0x1d3),new _0x5900c2['BehaviorSubject']([])),_0x1b53be(this,'roomMembers$',this['_roomMembers$'][_0x338e8b(0x420)](_0x5900c2[_0x338e8b(0x285)](_0xb532ee))),_0x1b53be(this,_0x338e8b(0x1c1),_0x1f0a18[_0x338e8b(0x248)]((_0x1fb4fc,_0x101536)=>{const _0x359fa5=_0x338e8b,_0x5b0686={'eventID':_0x1cac3e[_0x359fa5(0x232)][_0x359fa5(0x3bc)],'data':{'unitID':this[_0x359fa5(0x275)],'memberID':this[_0x359fa5(0x1aa)][_0x359fa5(0x27f)](),'selection':_0x512390['serializeRangeWithSheet'](_0x1fb4fc,_0x101536[_0x359fa5(0x1ef)])}};this[_0x359fa5(0x1aa)][_0x359fa5(0x274)](_0x5b0686,this[_0x359fa5(0x275)]);},_0x21482b)),(this[_0x338e8b(0x275)]=_0x15be43,this['_session']=_0x12d922,this[_0x338e8b(0x335)]=_0xb65e2c,this[_0x338e8b(0x1f5)]=_0x2896af,this[_0x338e8b(0x3fd)]=_0x412cc3,this[_0x338e8b(0x2cd)]=_0x2f0726,this[_0x338e8b(0x3c2)]=_0x24537f,this[_0x338e8b(0x25d)]=_0x429ae8);}get['cursorInfo'](){const _0x517a4b=_0x530ea4;return this[_0x517a4b(0x30e)][_0x517a4b(0x1e4)]();}get[_0x530ea4(0x2e8)](){const _0x2e8558=_0x530ea4;return this[_0x2e8558(0x1d3)][_0x2e8558(0x1e4)]();}[_0x530ea4(0x342)](){const _0x48ee86=_0x530ea4;super[_0x48ee86(0x342)](),this[_0x48ee86(0x30e)][_0x48ee86(0x428)](new Map()),this['_cursorInfo$'][_0x48ee86(0x361)](),this['_roomMembers$'][_0x48ee86(0x428)]([]),this['_roomMembers$'][_0x48ee86(0x361)]();}['init'](){const _0x5440a2=_0x530ea4;this[_0x5440a2(0x30a)]||(this[_0x5440a2(0x30a)]=!0x0,this[_0x5440a2(0x1aa)][_0x5440a2(0x333)][_0x5440a2(0x420)](_0x5900c2[_0x5440a2(0x24a)](this[_0x5440a2(0x211)]))['subscribe'](_0x1e4be1=>{const _0x3df592=_0x5440a2;_0x1e4be1===_0x5a7b55[_0x3df592(0x313)][_0x3df592(0x3ca)]?this['_toggleOnline']():this[_0x3df592(0x344)]();}),this['_session'][_0x5440a2(0x21d)][_0x5440a2(0x420)](_0x5900c2['takeUntil'](this['dispose$']))['subscribe'](_0x49de7f=>{const _0x33114d=_0x5440a2,_0x326b12=_0x49de7f['eventID'];_0x326b12===_0x1cac3e[_0x33114d(0x232)]['UPDATE_CURSOR']&&this[_0x33114d(0x356)](_0x49de7f),_0x326b12===_0x1cac3e[_0x33114d(0x232)][_0x33114d(0x2d5)]&&this[_0x33114d(0x2ab)](_0x49de7f);}),this[_0x5440a2(0x21f)](),this[_0x5440a2(0x3b8)](this[_0x5440a2(0x3c2)][_0x5440a2(0x3fb)](_0x3b3b19=>{const _0x3d95ca=_0x5440a2;if(this[_0x3d95ca(0x2dd)]&&_0x3b3b19['id']===_0x5e0c6b[_0x3d95ca(0x1bb)]['id']&&_0x3b3b19[_0x3d95ca(0x357)][_0x3d95ca(0x3f0)]===this[_0x3d95ca(0x275)]){const _0x52092f=_0x3b3b19[_0x3d95ca(0x357)];this['_updateLocalCursor'](_0x52092f[_0x3d95ca(0x2f8)],_0x52092f['selections'][0x0]);}})));}[_0x530ea4(0x356)](_0x3cc600){const _0x2b1c39=_0x530ea4;var _0xd37296,_0x3976bc;const {memberID:_0x1b2a8d,selection:_0xbf364}=_0x3cc600[_0x2b1c39(0x2b9)],{sheetName:_0x1fd41f,range:_0x401a68}=_0x512390[_0x2b1c39(0x30f)](_0xbf364),_0x262520={'name':(_0x3976bc=(_0xd37296=this[_0x2b1c39(0x3fd)][_0x2b1c39(0x405)](this['unitID'],_0x1b2a8d))==null?void 0x0:_0xd37296[_0x2b1c39(0x249)])!=null?_0x3976bc:_0x2b1c39(0x39d),'range':this[_0x2b1c39(0x39a)](_0x1fd41f,_0x401a68),'sheetID':_0x1fd41f,'color':this[_0x2b1c39(0x1f5)][_0x2b1c39(0x343)](_0x1b2a8d),'selection':_0xbf364},_0x25d3de=this[_0x2b1c39(0x2eb)];_0x25d3de[_0x2b1c39(0x3ec)](_0x1b2a8d,_0x262520),this[_0x2b1c39(0x30e)][_0x2b1c39(0x428)](_0x25d3de);}[_0x530ea4(0x2ab)](_0x3fd1b6){const _0x22ba72=_0x530ea4,{memberID:_0x20b203}=_0x3fd1b6[_0x22ba72(0x2b9)],_0x23681e=this['cursorInfo'];_0x23681e[_0x22ba72(0x222)](_0x20b203),this['_cursorInfo$'][_0x22ba72(0x428)](_0x23681e);}[_0x530ea4(0x39a)](_0x3415f9,_0x15dca6){const _0x3cd729=_0x530ea4;var _0x52a287,_0x28bb93;const _0x3de575=(_0x28bb93=(_0x52a287=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x3cd729(0x275)]))==null?void 0x0:_0x52a287[_0x3cd729(0x3f8)](_0x3415f9))==null?void 0x0:_0x28bb93[_0x3cd729(0x3e2)]();return(_0x3de575==null?void 0x0:_0x3de575[_0x3cd729(0x2c8)](_0x15b28e=>_0x1f0a18[_0x3cd729(0x1b1)][_0x3cd729(0x2d1)](_0x15b28e,_0x15dca6)))||_0x15dca6;}['_onRefRangeChange'](){const _0x4f5939=_0x530ea4,_0x4ec81f=new _0x1f0a18[(_0x4f5939(0x2c5))](),_0x39a936=_0x1ffd99(),_0xba4d11=()=>{const _0x5872b8=_0x4f5939;_0x4ec81f[_0x5872b8(0x342)]();const _0x5e0a2d=(_0x310342,_0x3deac1,_0xb8ab2f,_0x3d34c7)=>{const _0x29b4f7=_0x5872b8;let _0x190fcd=[];switch(_0x310342['id']){case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x1ce)]:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveLeft'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x190fcd=_0x5e0c6b['handleDeleteRangeMoveUp'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x352)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x247)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x345)]:{_0x190fcd=_0x5e0c6b['handleInsertRangeMoveDown'](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x384)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x25b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b['EffectRefRangId']['InsertRowCommandId']:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x337)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x364)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40b)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x2b1)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x40d)](_0x310342,_0x3d34c7);break;}case _0x5e0c6b[_0x29b4f7(0x2f9)][_0x29b4f7(0x3f9)]:{_0x190fcd=_0x5e0c6b[_0x29b4f7(0x349)](_0x310342,_0x3d34c7);break;}}const _0x42af65=_0x5e0c6b[_0x29b4f7(0x3a1)](_0x190fcd,_0x3d34c7),_0x308e54=this[_0x29b4f7(0x2eb)][_0x29b4f7(0x22f)](_0x3deac1);if(_0x308e54&&_0x42af65){const _0x5dcf61={..._0x308e54,'range':_0x42af65};this[_0x29b4f7(0x2eb)][_0x29b4f7(0x3ec)](_0x3deac1,_0x5dcf61),_0x39a936(()=>{const _0x251cdb=_0x29b4f7,_0x330bce=this[_0x251cdb(0x25d)][_0x251cdb(0x226)](_0x42af65,_0x121720=>(_0x330bce[_0x251cdb(0x342)](),_0x5e0a2d(_0x121720,_0x3deac1,_0xb8ab2f,_0x42af65)));_0x4ec81f[_0x251cdb(0x20b)](_0x330bce);});}return{'redos':[],'undos':[]};};this[_0x5872b8(0x2eb)]['forEach']((_0x399960,_0xca098a)=>{const _0x3c1315=_0x5872b8,{range:_0x4333e6,sheetID:_0x4032fd}=_0x399960,_0x4f0c1a=this[_0x3c1315(0x25d)][_0x3c1315(0x226)](_0x4333e6,_0x2efc6a=>(_0x4f0c1a['dispose'](),_0x5e0a2d(_0x2efc6a,_0xca098a,_0x4032fd,_0x4333e6)));_0x4ec81f[_0x3c1315(0x20b)](_0x4f0c1a);});};this[_0x4f5939(0x3b8)](_0x1f0a18[_0x4f5939(0x303)](this[_0x4f5939(0x30e)][_0x4f5939(0x272)](()=>{_0xba4d11();})));}[_0x530ea4(0x25e)](){const _0x496082=_0x530ea4;var _0x1f5992,_0x269c4b;if(this['_online']=!0x0,((_0x1f5992=this[_0x496082(0x2cd)][_0x496082(0x3d6)]())==null?void 0x0:_0x1f5992[_0x496082(0x1e8)]())!==this['unitID'])return;const _0x280020=(_0x269c4b=this[_0x496082(0x335)][_0x496082(0x22f)](_0x5e0c6b[_0x496082(0x350)])['getCurrentSelections']())==null?void 0x0:_0x269c4b[0x0],_0x308f31=this[_0x496082(0x2cd)][_0x496082(0x3e3)](_0x1f0a18[_0x496082(0x358)]['UNIVER_SHEET'])['getActiveSheet']();_0x280020&&_0x308f31&&this[_0x496082(0x1c1)](_0x308f31[_0x496082(0x1a9)](),_0x280020);}[_0x530ea4(0x344)](){const _0x50f126=_0x530ea4;this[_0x50f126(0x2dd)]=!0x1;}};_0x553a42=_0x1ee03d([_0x1ef04f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x1ef04f(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x3e294f)),_0x1ef04f(0x4,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x3a3)])),_0x1ef04f(0x5,_0x1f0a18[_0x530ea4(0x2db)]),_0x1ef04f(0x6,_0x1f0a18['ICommandService']),_0x1ef04f(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x5e0c6b[_0x530ea4(0x1e9)]))],_0x553a42);var _0x42a267=Object['getOwnPropertyDescriptor'],_0x4c0614=(_0x16d296,_0x29dfbd,_0x2caf5d,_0x103d13)=>{const _0x14f3cc=_0x530ea4;for(var _0xc3dbe4=_0x103d13>0x1?void 0x0:_0x103d13?_0x42a267(_0x29dfbd,_0x2caf5d):_0x29dfbd,_0x4fb40f=_0x16d296[_0x14f3cc(0x2ee)]-0x1,_0x4116f8;_0x4fb40f>=0x0;_0x4fb40f--)(_0x4116f8=_0x16d296[_0x4fb40f])&&(_0xc3dbe4=_0x4116f8(_0xc3dbe4)||_0xc3dbe4);return _0xc3dbe4;},_0x173ee3=(_0x4461a8,_0x293bd1)=>(_0x1128f,_0x3ca8d8)=>_0x293bd1(_0x1128f,_0x3ca8d8,_0x4461a8);let _0x201d0c=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x5f513a,_0x905e26,_0x228505){const _0x50cf57=_0x530ea4;super(),_0x1b53be(this,_0x50cf57(0x1dd),new Map()),_0x1b53be(this,_0x50cf57(0x227),new _0x5900c2[(_0x50cf57(0x1c7))]()),(this['_univerInstanceService']=_0x5f513a,this[_0x50cf57(0x335)]=_0x905e26,this[_0x50cf57(0x241)]=_0x228505,this['_init']());}[_0x530ea4(0x342)](){const _0x12f66f=_0x530ea4;super[_0x12f66f(0x342)](),this['_entityInit$'][_0x12f66f(0x361)](),this[_0x12f66f(0x1dd)][_0x12f66f(0x371)](_0x29c6fc=>_0x29c6fc[_0x12f66f(0x342)]());}[_0x530ea4(0x3be)](_0x19ad77){const _0x2d2aec=_0x530ea4;return this[_0x2d2aec(0x1dd)]['has'](_0x19ad77)?this['_entities'][_0x2d2aec(0x22f)](_0x19ad77)[_0x2d2aec(0x318)]:this[_0x2d2aec(0x227)][_0x2d2aec(0x420)](_0x5900c2[_0x2d2aec(0x26d)](_0x2c3a27=>_0x2c3a27['unitID']===_0x19ad77),_0x5900c2['switchMap'](_0xd72bae=>_0xd72bae[_0x2d2aec(0x318)]));}[_0x530ea4(0x30a)](){const _0x596cbb=_0x530ea4;this[_0x596cbb(0x2cd)][_0x596cbb(0x36c)](_0x1f0a18['UniverInstanceType'][_0x596cbb(0x1ff)])[_0x596cbb(0x420)](_0x5900c2['takeUntil'](this[_0x596cbb(0x211)]))[_0x596cbb(0x272)](async _0x1d966a=>{const _0x174efa=_0x596cbb,_0x29d88c=_0x1d966a['getUnitId'](),_0x54be56=await this[_0x174efa(0x2fd)](_0x29d88c);this[_0x174efa(0x227)]['next'](_0x54be56),this[_0x174efa(0x1dd)]['set'](_0x29d88c,_0x54be56);}),this['_univerInstanceService'][_0x596cbb(0x36c)](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)])[_0x596cbb(0x420)](_0x5900c2[_0x596cbb(0x24a)](this[_0x596cbb(0x211)]))[_0x596cbb(0x420)](_0x5900c2['filter'](_0x464db6=>!_0x464db6[_0x596cbb(0x1e8)]()[_0x596cbb(0x398)]('__')))[_0x596cbb(0x272)](async _0x12614b=>{const _0x5a5a1e=_0x596cbb,_0x35c7d7=_0x12614b['getUnitId'](),_0x2be09d=await this[_0x5a5a1e(0x34c)](_0x35c7d7);this[_0x5a5a1e(0x227)][_0x5a5a1e(0x428)](_0x2be09d),this[_0x5a5a1e(0x1dd)][_0x5a5a1e(0x3ec)](_0x35c7d7,_0x2be09d);}),_0x5900c2[_0x596cbb(0x35e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)][_0x596cbb(0x389)]),this[_0x596cbb(0x2cd)]['getTypeOfUnitDisposed$'](_0x1f0a18[_0x596cbb(0x358)]['UNIVER_SHEET']))['pipe'](_0x5900c2['takeUntil'](this['dispose$']))[_0x596cbb(0x272)](_0x4b367c=>{const _0xe1ed70=_0x596cbb,_0x2ceaf5=_0x4b367c[_0xe1ed70(0x1e8)](),_0xd49afe=this[_0xe1ed70(0x1dd)][_0xe1ed70(0x22f)](_0x2ceaf5);_0xd49afe&&(_0xd49afe[_0xe1ed70(0x342)](),this[_0xe1ed70(0x1dd)][_0xe1ed70(0x222)](_0x2ceaf5));});}async[_0x530ea4(0x2fd)](_0xbf9f0a){const _0x439c39=_0x530ea4,_0x447fbe=await this['_collabSessionService'][_0x439c39(0x362)](_0xbf9f0a),_0x117cf8=this['_injector'][_0x439c39(0x2e9)](_0x553a42,_0xbf9f0a,_0x447fbe);return _0x117cf8['init'](),_0x117cf8;}async['_startDocCollabCursor'](_0x3b0dbd){const _0x28107e=_0x530ea4,_0x173837=await this[_0x28107e(0x241)]['requireSession'](_0x3b0dbd),_0x10e3c6=this[_0x28107e(0x335)][_0x28107e(0x2e9)](_0x2ccc25,_0x3b0dbd,_0x173837);return _0x10e3c6[_0x28107e(0x29f)](),_0x10e3c6;}};_0x201d0c=_0x4c0614([_0x173ee3(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x173ee3(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x173ee3(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationSessionService']))],_0x201d0c);const _0x4c79ca=0x14,_0x1b2881=0xc8,_0x390ed3=0x4,_0x2afd1e=0x5;function _0x3874d2(_0x16719e,_0x5ae0fc){const _0x4c2eaa=_0x530ea4;let {radius:_0x3a55f7,width:_0x26ba28,height:_0x155093}=_0x5ae0fc;_0x3a55f7=_0x3a55f7!=null?_0x3a55f7:0x0,_0x26ba28=_0x26ba28!=null?_0x26ba28:0x1e,_0x155093=_0x155093!=null?_0x155093:0x1e;let _0x5c9d6b=0x0,_0x523f40=0x0,_0x27c517=0x0;_0x5c9d6b=_0x523f40=_0x27c517=Math[_0x4c2eaa(0x30d)](_0x3a55f7,_0x26ba28/0x2,_0x155093/0x2),_0x16719e[_0x4c2eaa(0x417)](),_0x16719e[_0x4c2eaa(0x402)](_0x5c9d6b,0x0),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28-_0x523f40,0x0),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x523f40,_0x523f40,_0x523f40,Math['PI']*0x3/0x2,0x0,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](_0x26ba28,_0x155093-_0x27c517),_0x16719e[_0x4c2eaa(0x3af)](_0x26ba28-_0x27c517,_0x155093-_0x27c517,_0x27c517,0x0,Math['PI']/0x2,!0x1),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x155093),_0x16719e[_0x4c2eaa(0x1c2)](0x0,_0x5c9d6b),_0x16719e['arc'](_0x5c9d6b,_0x5c9d6b,_0x5c9d6b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x16719e[_0x4c2eaa(0x33b)](),_0x5ae0fc['fill']&&(_0x16719e[_0x4c2eaa(0x412)](),_0x16719e[_0x4c2eaa(0x3a4)]=_0x5ae0fc['fill'],_0x5ae0fc[_0x4c2eaa(0x3e0)]===_0x4c2eaa(0x3c9)?_0x16719e[_0x4c2eaa(0x1c4)](_0x4c2eaa(0x3c9)):_0x16719e[_0x4c2eaa(0x1c4)](),_0x16719e['restore']());}class _0x2d6177 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x54d587,_0x53d90e){const _0x378841=_0x530ea4;super(_0x54d587,_0x53d90e),_0x1b53be(this,_0x378841(0x1b4)),_0x1b53be(this,_0x378841(0x1b2)),(this[_0x378841(0x1b4)]=_0x53d90e==null?void 0x0:_0x53d90e[_0x378841(0x1b4)],this['text']=_0x53d90e==null?void 0x0:_0x53d90e['text']);}static[_0x530ea4(0x400)](_0x9e617a,_0x17e975){const _0x1bf4be=_0x530ea4,{text:_0x240dd2,color:_0x5d0905}=_0x17e975;_0x9e617a[_0x1bf4be(0x412)](),_0x9e617a['font']=_0x1bf4be(0x3fc);const _0x516dd8=_0x9e617a[_0x1bf4be(0x2ff)](_0x240dd2)[_0x1bf4be(0x25c)],_0x22fb3c=Math['min'](_0x516dd8+0x2*_0x390ed3,_0x1b2881);_0x3874d2(_0x9e617a,{'height':_0x4c79ca,'radius':0x4,'width':_0x22fb3c,'fill':_0x5d0905}),_0x9e617a[_0x1bf4be(0x3a4)]=_0x1bf4be(0x32d);const _0x525f34=_0x390ed3,_0x5949bf=_0x4c79ca-_0x2afd1e,_0x2a7a69=_0x1b2881-0x2*_0x390ed3;if(_0x516dd8>_0x2a7a69){let _0x35d5ae='',_0x582505=0x0;for(const _0x14357f of _0x240dd2){const _0x47207f=_0x9e617a[_0x1bf4be(0x2ff)](_0x14357f)[_0x1bf4be(0x25c)];if(_0x582505+_0x47207f<=_0x2a7a69-_0x9e617a['measureText']('...')[_0x1bf4be(0x25c)])_0x35d5ae+=_0x14357f,_0x582505+=_0x47207f;else{_0x35d5ae+=_0x1bf4be(0x340);break;}}_0x9e617a['fillText'](_0x35d5ae,_0x525f34,_0x5949bf);}else _0x9e617a[_0x1bf4be(0x1e6)](_0x240dd2,_0x525f34,_0x5949bf);_0x9e617a[_0x1bf4be(0x391)]();}['_draw'](_0x1a83d6){const _0x5ee558=_0x530ea4;_0x2d6177[_0x5ee558(0x400)](_0x1a83d6,this);}}const _0x2f287c=_0x530ea4(0x238),_0x383cc0=_0x530ea4(0x2f6),_0x46878b='collab-rect-range-',_0x49a11a=0x6,_0x4b20f8=1.5,_0x1f854d=0x4,_0x220ce7=1.5,_0xa7614='rgba(255,\x20255,\x20255,\x200.01)';class _0x2d8475{constructor(_0x3640ee,_0x108444,_0x15859a,_0x16d320){const _0x11edcf=_0x530ea4;_0x1b53be(this,_0x11edcf(0x429),[]),_0x1b53be(this,'_anchor',null),_0x1b53be(this,'_textBubble',null),_0x1b53be(this,'_anchorDot',null),_0x1b53be(this,_0x11edcf(0x230),null),_0x1b53be(this,_0x11edcf(0x270),null),(this[_0x11edcf(0x1e5)]=_0x3640ee,this[_0x11edcf(0x42f)]=_0x108444,this[_0x11edcf(0x2a8)]=_0x15859a,this[_0x11edcf(0x3a0)]=_0x16d320,this[_0x11edcf(0x291)]());}set['_hover'](_0x1f9e55){const _0x37f044=_0x530ea4;_0x1f9e55?(this[_0x37f044(0x265)]&&this[_0x37f044(0x265)][_0x37f044(0x3ce)](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x40a)]()):(this['_anchorDot']&&this[_0x37f044(0x265)]['show'](),this[_0x37f044(0x256)]&&this[_0x37f044(0x256)][_0x37f044(0x3ce)]());}[_0x530ea4(0x342)](){const _0x5f8f12=_0x530ea4;for(const _0x4ad786 of this[_0x5f8f12(0x429)])_0x4ad786['dispose']();this[_0x5f8f12(0x256)]&&this[_0x5f8f12(0x256)]['dispose'](),this[_0x5f8f12(0x265)]&&this[_0x5f8f12(0x265)]['dispose'](),this['_anchor']&&this[_0x5f8f12(0x406)][_0x5f8f12(0x342)](),this[_0x5f8f12(0x270)]&&this[_0x5f8f12(0x270)]();}[_0x530ea4(0x291)](){const _0x1ab197=_0x530ea4;var _0x53f058;const {_docSkeleton:_0x3763be,_document:_0x145b69}=this,{color:_0x5dbfd9,name:_0x39c00f,ranges:_0x3db144}=this[_0x1ab197(0x1e5)],_0x233d83=_0x145b69[_0x1ab197(0x3bf)](),{docsLeft:_0x87aba5,docsTop:_0xfc2c1e}=_0x233d83,_0x1e331a=new _0x4dd21f[(_0x1ab197(0x1ad))](_0x233d83,_0x3763be);for(const {startOffset:_0x261c86,endOffset:_0x326909,rangeType:_0x23c239,segmentId:_0x513c54,segmentPage:_0x5210c5,collapsed:_0x10c914,isActive:_0x4c59c7}of _0x3db144){const _0x117037=_0x3763be[_0x1ab197(0x2e7)](_0x261c86,!0x0,_0x513c54,_0x5210c5);let _0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909,!0x0,_0x513c54,_0x5210c5);if(_0x318f94==null&&(_0x318f94=_0x3763be[_0x1ab197(0x2e7)](_0x326909-0x1,!0x1,_0x513c54,_0x5210c5)),_0x4c59c7){const {contentBoxPointGroup:_0x35cfb7}=_0x1e331a[_0x1ab197(0x261)](_0x318f94,_0x318f94);if(_0x35cfb7[_0x1ab197(0x2ee)]===0x0)continue;this[_0x1ab197(0x2d9)](_0x5dbfd9,_0x35cfb7,_0x87aba5,_0xfc2c1e,_0x39c00f),this[_0x1ab197(0x270)]=this['_handleHover']();}if(_0x117037&&_0x318f94){if(_0x23c239===_0x1f0a18[_0x1ab197(0x2df)][_0x1ab197(0x3c8)]){const _0x6efb71=new _0x4dd21f[(_0x1ab197(0x39c))](_0x233d83,_0x3763be),{pointGroup:_0x4e0edc}=(_0x53f058=_0x6efb71[_0x1ab197(0x261)](_0x117037,_0x318f94))!=null?_0x53f058:{};if(_0x4e0edc==null||_0x4e0edc['length']===0x0)continue;this[_0x1ab197(0x403)](_0x5dbfd9,_0x4e0edc,_0x87aba5,_0xfc2c1e);}else{if(!_0x10c914){const {borderBoxPointGroup:_0xadacc2}=_0x1e331a[_0x1ab197(0x261)](_0x117037,_0x318f94);if(_0xadacc2['length']===0x0)continue;this[_0x1ab197(0x33d)](_0x5dbfd9,_0xadacc2,_0x87aba5,_0xfc2c1e);}}}}}[_0x530ea4(0x2d9)](_0x32d5a6,_0x123eaf,_0x9e78a4,_0x3a7d21,_0x24958a){const _0x41667c=_0x530ea4,_0x3cd718=this['_getAnchorBounding'](_0x123eaf),{left:_0x70a58a,top:_0x3f2e99,height:_0x3b146a}=_0x3cd718,_0x2c58a5=this[_0x41667c(0x386)](),_0x249acc=_0x220ce7/_0x2c58a5,_0x12af96=new _0x1b328b[(_0x41667c(0x311))](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21,'height':_0x3b146a,'width':_0x4b20f8,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'strokeWidth':_0x249acc,'stroke':_0xa7614,'evented':!0x0});this['_anchor']=_0x12af96,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x12af96,_0x4dd21f[_0x41667c(0x29e)]);const _0x2fa387=new _0x1b328b['Rect'](_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x1f854d/0x2,'height':_0x1f854d,'width':_0x1f854d,'fill':_0x32d5a6||_0x1b328b[_0x41667c(0x1fb)](_0x1f0a18['COLORS'][_0x41667c(0x20e)],0x0),'strokeWidth':0x0,'stroke':_0x32d5a6||_0x1b328b['getColor'](_0x1f0a18[_0x41667c(0x3c4)][_0x41667c(0x20e)],0x0),'evented':!0x1});this['_anchorDot']=_0x2fa387,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0x2fa387,_0x4dd21f[_0x41667c(0x29e)]);const _0xf09ed6=new _0x2d6177(_0x2f287c+_0x1f0a18[_0x41667c(0x23b)](_0x49a11a),{'left':_0x70a58a+_0x9e78a4-_0x249acc,'top':_0x3f2e99+_0x3a7d21-_0x4c79ca,'text':_0x24958a,'color':_0x32d5a6});this[_0x41667c(0x256)]=_0xf09ed6,this[_0x41667c(0x42f)][_0x41667c(0x3c0)](_0xf09ed6,_0x4dd21f['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x530ea4(0x327)](){const _0x33c784=_0x530ea4,_0x302cbd=this[_0x33c784(0x406)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x137b6e=this[_0x33c784(0x406)][_0x33c784(0x245)][_0x33c784(0x1df)](()=>{const _0x2b3b5a=_0x33c784;this[_0x2b3b5a(0x230)]&&clearTimeout(this[_0x2b3b5a(0x230)]),this['_hideTimer']=setTimeout(()=>{const _0x5ed067=_0x2b3b5a;this[_0x5ed067(0x2fb)]=!0x1;},0x7d0);});return()=>{const _0x50e411=_0x33c784;_0x302cbd[_0x50e411(0x2ea)](),_0x137b6e[_0x50e411(0x2ea)]();};}[_0x530ea4(0x33d)](_0x1def34,_0x3b3bb5,_0x321469,_0x3a457c){const _0x4f6961=_0x530ea4,_0x5a428b=new _0x1f0a18['ColorKit'](_0x1def34)[_0x4f6961(0x382)](0.2)[_0x4f6961(0x34b)](),_0x18202c=new _0x1b328b[(_0x4f6961(0x215))](_0x383cc0+_0x1f0a18[_0x4f6961(0x23b)](_0x49a11a),{'pointsGroup':_0x3b3bb5,'fill':_0x5a428b||_0x1b328b['getColor'](_0x1f0a18['COLORS']['black'],0.2),'left':_0x321469,'top':_0x3a457c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f6961(0x429)][_0x4f6961(0x36a)](_0x18202c),this['_scene'][_0x4f6961(0x3c0)](_0x18202c,_0x4dd21f[_0x4f6961(0x29e)]);}['_drawRectRange'](_0x4cb3ec,_0x38ef1b,_0x54c384,_0x2dbb09){const _0x2911f2=_0x530ea4,_0x531840=new _0x1f0a18[(_0x2911f2(0x3e6))](_0x4cb3ec)[_0x2911f2(0x382)](0.2)[_0x2911f2(0x34b)](),_0x4cf47a=new _0x1b328b[(_0x2911f2(0x215))](_0x46878b+_0x1f0a18[_0x2911f2(0x23b)](_0x49a11a),{'pointsGroup':_0x38ef1b,'fill':_0x531840||_0x1b328b[_0x2911f2(0x1fb)](_0x1f0a18[_0x2911f2(0x3c4)]['black'],0.2),'left':_0x54c384,'top':_0x2dbb09,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2911f2(0x429)][_0x2911f2(0x36a)](_0x4cf47a),this[_0x2911f2(0x42f)]['addObject'](_0x4cf47a,_0x4dd21f[_0x2911f2(0x29e)]);}[_0x530ea4(0x259)](_0x2d064f){const _0x29cbca=_0x2d064f[0x0],_0x115ac0=_0x29cbca[0x0],_0xdb5074=_0x29cbca[0x2],{x:_0x3ef336,y:_0x3fed42}=_0x115ac0,{x:_0x238388,y:_0x45bce5}=_0xdb5074;return{'left':_0x3ef336,'top':_0x3fed42,'width':_0x238388-_0x3ef336,'height':_0x45bce5-_0x3fed42};}[_0x530ea4(0x386)](){const _0x18afc1=_0x530ea4,{scaleX:_0x473a9c,scaleY:_0x3d2842}=this[_0x18afc1(0x42f)][_0x18afc1(0x24b)]();return Math[_0x18afc1(0x3d9)](_0x473a9c,_0x3d2842);}}var _0x1a6180=Object[_0x530ea4(0x201)],_0x41c84c=(_0x5aaa70,_0x542dc0,_0xa2a347,_0x5e2978)=>{const _0x484009=_0x530ea4;for(var _0x2c8391=_0x5e2978>0x1?void 0x0:_0x5e2978?_0x1a6180(_0x542dc0,_0xa2a347):_0x542dc0,_0x7dffe0=_0x5aaa70[_0x484009(0x2ee)]-0x1,_0x33777f;_0x7dffe0>=0x0;_0x7dffe0--)(_0x33777f=_0x5aaa70[_0x7dffe0])&&(_0x2c8391=_0x33777f(_0x2c8391)||_0x2c8391);return _0x2c8391;},_0x1e14ef=(_0x441141,_0xed53a5)=>(_0x412e67,_0x5630d3)=>_0xed53a5(_0x412e67,_0x5630d3,_0x441141);let _0x2d1851=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x18ac57,_0x1b72c0,_0x25c411,_0x59c7f7,_0x146f75){const _0x56af62=_0x530ea4;super(),_0x1b53be(this,_0x56af62(0x3ac),[]),_0x1b53be(this,_0x56af62(0x1fc),[]),(this[_0x56af62(0x3ee)]=_0x18ac57,this[_0x56af62(0x441)]=_0x1b72c0,this[_0x56af62(0x1d7)]=_0x25c411,this[_0x56af62(0x3c2)]=_0x59c7f7,this['_themeService']=_0x146f75,this[_0x56af62(0x30a)]());}[_0x530ea4(0x30a)](){const _0x5a5fae=_0x530ea4,_0x29235a=this['_context'][_0x5a5fae(0x3f0)],_0x423ab5=this[_0x5a5fae(0x441)];this[_0x5a5fae(0x3b8)](_0x5900c2[_0x5a5fae(0x421)]([this[_0x5a5fae(0x1d7)]['getCollabCursors$'](_0x29235a),this[_0x5a5fae(0x341)][_0x5a5fae(0x26c)]])[_0x5a5fae(0x420)](_0x58e73e[_0x5a5fae(0x203)](([_0x37fdd5,_0xf4f642])=>({'skeleton':_0x423ab5[_0x5a5fae(0x1c6)](),'cursors':[..._0x37fdd5[_0x5a5fae(0x310)]()]['flatMap'](_0x131a41=>({..._0x131a41,'color':this[_0x5a5fae(0x341)][_0x5a5fae(0x3e5)](_0x131a41[_0x5a5fae(0x1b4)])}))})))[_0x5a5fae(0x272)](_0x28aa34=>{const _0xddb216=_0x5a5fae;if(this['_removeCollabCursors'](),_0x28aa34){const {skeleton:_0x21b017,cursors:_0x266654}=_0x28aa34;this[_0xddb216(0x2c1)](_0x21b017,_0x266654);}})),this[_0x5a5fae(0x3f1)](),this[_0x5a5fae(0x41b)]();}[_0x530ea4(0x2c1)](_0x3b5d12,_0xb53446){const _0x86711f=_0x530ea4,{scene:_0x534f9a,mainComponent:_0x2836da}=this[_0x86711f(0x3ee)],_0x5ad020=_0xb53446[_0x86711f(0x203)](_0x298623=>new _0x2d8475(_0x298623,_0x534f9a,_0x3b5d12,_0x2836da));this[_0x86711f(0x3ac)]=_0x5ad020,this[_0x86711f(0x1fc)]=_0xb53446;}[_0x530ea4(0x3aa)](){const _0x40a7c9=_0x530ea4;this[_0x40a7c9(0x2f3)]();const {scene:_0x37ee97,mainComponent:_0x25e85a}=this[_0x40a7c9(0x3ee)],_0x3f5b4d=this[_0x40a7c9(0x441)][_0x40a7c9(0x1c6)](),_0x3d58be=this['_cursors'][_0x40a7c9(0x203)](_0xc6cceb=>new _0x2d8475(_0xc6cceb,_0x37ee97,_0x3f5b4d,_0x25e85a));this[_0x40a7c9(0x3ac)]=_0x3d58be;}['_removeCollabCursors'](){const _0x2c72eb=_0x530ea4;this[_0x2c72eb(0x3ac)][_0x2c72eb(0x371)](_0x23b210=>_0x23b210[_0x2c72eb(0x342)]()),this[_0x2c72eb(0x3ac)]=[];}['_initCommandExecutedListener'](){const _0xcc618d=_0x530ea4,_0x5ac53c=[_0x4dd21f[_0xcc618d(0x360)]['id']];this[_0xcc618d(0x3b8)](this[_0xcc618d(0x3c2)][_0xcc618d(0x3fb)](_0x6bafe2=>{const _0x28e174=_0xcc618d;_0x5ac53c[_0x28e174(0x1bc)](_0x6bafe2['id'])&&_0x6bafe2['params'][_0x28e174(0x3f0)]===this[_0x28e174(0x3ee)][_0x28e174(0x3f0)]&&this[_0x28e174(0x3aa)]();}));}[_0x530ea4(0x3f1)](){const _0x394e83=_0x530ea4;this[_0x394e83(0x3b8)](_0x1f0a18[_0x394e83(0x26a)](this[_0x394e83(0x3ee)][_0x394e83(0x3ed)][_0x394e83(0x44a)])['pipe'](_0x58e73e[_0x394e83(0x26d)](_0x32e786=>_0x32e786['type']===_0x1b328b[_0x394e83(0x40f)]['resize']),_0x58e73e[_0x394e83(0x20d)](0x10))['subscribe'](()=>{const _0x437b3a=_0x394e83;this[_0x437b3a(0x3aa)]();}));}};_0x2d1851=_0x41c84c([_0x1e14ef(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0xb349ea[_0x530ea4(0x3f2)])),_0x1e14ef(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x1e14ef(0x3,_0x1f0a18[_0x530ea4(0x3d7)]),_0x1e14ef(0x4,_0x1f0a18['Inject'](_0x1f0a18[_0x530ea4(0x2d0)]))],_0x2d1851);const _0x3153bd=0x1,_0xc43c77=1.5;class _0x4b5ae2 extends _0x1b328b[_0x530ea4(0x2aa)]{constructor(_0x1aa83f,_0x112422){const _0x540b92=_0x530ea4;super(_0x1aa83f,_0x112422),_0x1b53be(this,_0x540b92(0x32a)),_0x1b53be(this,_0x540b92(0x306),!0x1),_0x1b53be(this,'_range'),_0x1b53be(this,_0x540b92(0x328),''),_0x1b53be(this,'_labelPosition',_0x540b92(0x324)),_0x1b53be(this,'_backgroundColor'),(_0x112422&&this[_0x540b92(0x43a)](_0x112422),this[_0x540b92(0x1b0)]['subscribeEvent'](()=>this[_0x540b92(0x43a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x540b92(0x1df)](()=>this[_0x540b92(0x43a)]({'hovered':!0x1})));}[_0x530ea4(0x43a)](_0x32e4b4){const _0x154b5f=_0x530ea4;var _0x28233d,_0x2f5fcc,_0x2d440e,_0x5ea55c,_0xefa8f9,_0x59af01;this['_color']=(_0x28233d=_0x32e4b4[_0x154b5f(0x1b4)])!=null?_0x28233d:this['_color'],this[_0x154b5f(0x306)]=(_0x2f5fcc=_0x32e4b4['hovered'])!=null?_0x2f5fcc:this['_hovered'],this[_0x154b5f(0x2fe)]=(_0x2d440e=_0x32e4b4[_0x154b5f(0x1ef)])!=null?_0x2d440e:this[_0x154b5f(0x2fe)],this[_0x154b5f(0x328)]=(_0x5ea55c=_0x32e4b4[_0x154b5f(0x249)])!=null?_0x5ea55c:this['_name'],this['_labelPosition']=(_0xefa8f9=_0x32e4b4[_0x154b5f(0x2e4)])!=null?_0xefa8f9:this[_0x154b5f(0x3bb)],this[_0x154b5f(0x3df)]=(_0x59af01=_0x32e4b4[_0x154b5f(0x370)])!=null?_0x59af01:this[_0x154b5f(0x3df)],this[_0x154b5f(0x1ec)]({'width':_0x32e4b4[_0x154b5f(0x25c)],'height':_0x32e4b4[_0x154b5f(0x437)]});}[_0x530ea4(0x24f)](_0x9f0c26){const _0x3ed63f=_0x530ea4,{row:_0x3ad8b3,column:_0x31cdc9}=_0x9f0c26;if(_0x3ad8b3>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x3eb)]&&_0x3ad8b3<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x286)]&&_0x31cdc9>=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x1f1)]&&_0x31cdc9<=this[_0x3ed63f(0x2fe)][_0x3ed63f(0x2fc)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x530ea4(0x1a6)](_0x22b168){return!0x1;}['_draw'](_0x27c962){const _0xab28ee=_0x530ea4;_0x1b328b[_0xab28ee(0x311)]['drawWith'](_0x27c962,{'width':this['width'],'height':this[_0xab28ee(0x437)],'strokeWidth':_0xc43c77,'stroke':this[_0xab28ee(0x32a)],'evented':!0x1,'fill':this[_0xab28ee(0x3df)]}),this[_0xab28ee(0x306)]&&(_0x27c962[_0xab28ee(0x412)](),_0x27c962[_0xab28ee(0x2b0)](0x1,0x0,0x0,0x1,this[_0xab28ee(0x25c)],this[_0xab28ee(0x3bb)]==='bottom'?0x0:-0x14),_0x2d6177[_0xab28ee(0x400)](_0x27c962,{'text':this[_0xab28ee(0x328)],'color':this[_0xab28ee(0x32a)]}),_0x27c962['restore']());}}var _0x4956ea=Object[_0x530ea4(0x201)],_0xe784c0=(_0x4072a7,_0x5c8b23,_0x399df2,_0x178752)=>{const _0x20d4cf=_0x530ea4;for(var _0x2ba05d=_0x178752>0x1?void 0x0:_0x178752?_0x4956ea(_0x5c8b23,_0x399df2):_0x5c8b23,_0xdb3c30=_0x4072a7[_0x20d4cf(0x2ee)]-0x1,_0x547bb8;_0xdb3c30>=0x0;_0xdb3c30--)(_0x547bb8=_0x4072a7[_0xdb3c30])&&(_0x2ba05d=_0x547bb8(_0x2ba05d)||_0x2ba05d);return _0x2ba05d;},_0x22eb72=(_0x1d337c,_0x355d92)=>(_0x1b3256,_0x336979)=>_0x355d92(_0x1b3256,_0x336979,_0x1d337c);const _0x1e60b2=0x1389;let _0xbcec20=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x16ff1a,_0x33810c,_0x1d0da5,_0x5a20c0){const _0x37b3f0=_0x530ea4;super(),_0x1b53be(this,'_cursors',new Set()),_0x1b53be(this,_0x37b3f0(0x257),null),(this['_context']=_0x16ff1a,this['_sheetSkeletonManagerService']=_0x33810c,this[_0x37b3f0(0x1d7)]=_0x1d0da5,this[_0x37b3f0(0x341)]=_0x5a20c0,this[_0x37b3f0(0x30a)]());}['_init'](){const _0x5ebfd1=_0x530ea4;this[_0x5ebfd1(0x1a8)][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x420)](_0x58e73e[_0x5ebfd1(0x24a)](this['dispose$']),_0x58e73e[_0x5ebfd1(0x415)](_0xd4dedb=>{const _0x565ddf=_0x5ebfd1;if(_0xd4dedb){const _0x5bc7d6=_0xd4dedb[_0x565ddf(0x250)];return _0x5900c2[_0x565ddf(0x421)](this[_0x565ddf(0x1d7)][_0x565ddf(0x3be)](this[_0x565ddf(0x3ee)][_0x565ddf(0x3f0)]),this[_0x565ddf(0x341)][_0x565ddf(0x26c)])['pipe'](_0x58e73e[_0x565ddf(0x203)](([_0x30a347,_0x52d23c])=>{const _0x5c8ea8=_0x565ddf,_0x1c1738=new Map();return _0x30a347[_0x5c8ea8(0x371)]((_0x4e675f,_0x5d9243)=>{const _0x1ab4b2=_0x5c8ea8;if(_0x4e675f[_0x1ab4b2(0x315)]===_0x5bc7d6){const _0x453b81={..._0x4e675f};_0x453b81[_0x1ab4b2(0x1b4)]=this[_0x1ab4b2(0x341)][_0x1ab4b2(0x3e5)](_0x4e675f[_0x1ab4b2(0x1b4)]),_0x1c1738[_0x1ab4b2(0x3ec)](_0x5d9243,_0x453b81);}}),{'skeleton':_0xd4dedb,'cursors':_0x1c1738};}));}return _0x5900c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5ebfd1(0x272)](({skeleton:_0x470d6e,cursors:_0x1d39c1})=>{const _0x3892a3=_0x5ebfd1;this['_removeCollabCursors'](),_0x470d6e&&this[_0x3892a3(0x2c1)](_0x470d6e,_0x1d39c1);}),this['_sheetSkeletonManagerService'][_0x5ebfd1(0x3ba)][_0x5ebfd1(0x272)](_0x4293d8=>{const _0x3e4fe5=_0x5ebfd1;if(_0x4293d8==null)return;const {skeleton:_0x472bc5}=_0x4293d8,{scene:_0xf60295}=this['_context'];_0xf60295[_0x3e4fe5(0x3cc)][_0x3e4fe5(0x1df)](_0x1f0a18[_0x3e4fe5(0x248)](_0x13475c=>{const _0x404bc0=_0x3e4fe5;var _0x153119,_0xfe1205;const {offsetX:_0x40b947,offsetY:_0x5e4806}=_0x13475c,{x:_0x275d22,y:_0xe11c83}=_0xf60295[_0x404bc0(0x390)](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x40b947,_0x5e4806])),{scaleX:_0x3c5856,scaleY:_0x127d6d}=_0xf60295['getAncestorScale'](),_0xb3c753=_0xf60295['getViewport'](_0x1b328b[_0x404bc0(0x2c7)]['VIEW_MAIN']),_0x38747d=_0xf60295['getVpScrollXYInfoByPosToVp'](_0x1b328b[_0x404bc0(0x24d)][_0x404bc0(0x225)]([_0x275d22,_0xe11c83]),_0xb3c753),_0x515e1b=_0x472bc5[_0x404bc0(0x1d0)](_0x40b947,_0x5e4806,_0x3c5856,_0x127d6d,_0x38747d);((_0x153119=this[_0x404bc0(0x257)])==null?void 0x0:_0x153119['column'])===_0x515e1b[_0x404bc0(0x330)]&&((_0xfe1205=this['_lastPointer'])==null?void 0x0:_0xfe1205[_0x404bc0(0x2cc)])===_0x515e1b[_0x404bc0(0x2cc)]||this[_0x404bc0(0x1fc)][_0x404bc0(0x371)](_0x27e091=>{const _0x49c4f1=_0x404bc0;_0x27e091[_0x49c4f1(0x24f)](_0x515e1b);});},0x64));});}[_0x530ea4(0x2c1)](_0xdf8c64,_0x164c5a){const _0x4498ba=_0x530ea4;var _0x57bd3a;const _0x732c86=(_0x57bd3a=this['_sheetSkeletonManagerService'][_0x4498ba(0x223)]())==null?void 0x0:_0x57bd3a[_0x4498ba(0x3cf)];if(!_0x732c86)return;const _0x224dc6=this['_getSheetObject']();if(!_0x224dc6)return;this[_0x4498ba(0x1fc)][_0x4498ba(0x371)](_0x3ddca2=>{const _0x4a6639=_0x4498ba;_0x3ddca2[_0x4a6639(0x392)]();});const {scene:_0x2a7e02}=_0x224dc6,_0x28aaae=_0x438bcb(Array[_0x4498ba(0x1d2)](_0x164c5a[_0x4498ba(0x310)]()))[_0x4498ba(0x203)](_0x36ae4c=>{const _0x1f211d=_0x4498ba,{color:_0x55bf34,range:_0x369bc2,name:_0x2aa69c,selection:_0x5630ee,sheetID:_0x41aab5}=_0x36ae4c,{startColumn:_0x13300f,startRow:_0x4b0611,endColumn:_0x1b3878,endRow:_0x2f8cc1}=_0x369bc2,_0xc54e0a=_0x2642d0['getCoordByCell'](_0x4b0611,_0x13300f,_0x2a7e02,_0x732c86),_0x1d8f78=_0x2642d0[_0x1f211d(0x200)](_0x2f8cc1,_0x1b3878,_0x2a7e02,_0x732c86),{columnHeaderHeightAndMarginTop:_0x3ea990}=_0x732c86,{startX:_0x4a0534,startY:_0x8f5615}=_0xc54e0a,{endX:_0x30a493,endY:_0x45b342}=_0x1d8f78,_0x56c5fb=_0x30a493-_0x4a0534,_0x548788=_0x45b342-_0x8f5615,_0x4847c9={'labelPosition':_0x8f5615-_0x3ea990>=_0x4c79ca?'top':_0x1f211d(0x2b7),'sheetID':_0x41aab5,'range':_0x369bc2,'color':_0x55bf34,'name':_0x2aa69c,'selection':_0x5630ee,'left':_0x4a0534,'top':_0x8f5615,'width':_0x56c5fb,'height':_0x548788,'evented':!0x1,'zIndex':_0x1e60b2};return new _0x4b5ae2(_0x2aa69c,_0x4847c9);});_0x2a7e02['addObjects'](_0x28aaae,_0x3153bd),this['_cursors']=new Set(_0x28aaae);}['_removeCollabCursors'](){const _0x5b1c9a=_0x530ea4;var _0x2627ec;(_0x2627ec=this[_0x5b1c9a(0x1fc)])==null||_0x2627ec[_0x5b1c9a(0x371)](_0x283f51=>_0x283f51['dispose']());}[_0x530ea4(0x299)](){const _0x3bfb3b=_0x530ea4;return _0x2642d0[_0x3bfb3b(0x236)](this[_0x3bfb3b(0x3ee)][_0x3bfb3b(0x206)],this[_0x3bfb3b(0x3ee)]);}};_0xbcec20=_0xe784c0([_0x22eb72(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x2642d0[_0x530ea4(0x37c)])),_0x22eb72(0x2,_0x1f0a18['Inject'](_0x201d0c)),_0x22eb72(0x3,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['ThemeService']))],_0xbcec20);function _0x438bcb(_0x41c0ea){const _0x10576f=_0x530ea4,_0x3f5352=new Map();return _0x41c0ea[_0x10576f(0x371)](_0x4e832e=>{const _0x5929ec=_0x10576f;if(_0x3f5352['has'](_0x4e832e[_0x5929ec(0x210)])){const _0x12b414=_0x3f5352['get'](_0x4e832e[_0x5929ec(0x210)]);_0x12b414[_0x5929ec(0x249)]+=',\x20'+_0x4e832e[_0x5929ec(0x249)];}else _0x3f5352[_0x5929ec(0x3ec)](_0x4e832e['selection'],_0x4e832e);}),Array[_0x10576f(0x1d2)](_0x3f5352[_0x10576f(0x310)]());}var _0x2e89f5=function(){const _0x44b43c=_0x530ea4;return _0x2e89f5=Object[_0x44b43c(0x292)]||function(_0x264735){const _0x1f44db=_0x44b43c;for(var _0x438c83,_0x4174d3=0x1,_0x27ea14=arguments[_0x1f44db(0x2ee)];_0x4174d3<_0x27ea14;_0x4174d3++){_0x438c83=arguments[_0x4174d3];for(var _0x4eb05e in _0x438c83)Object[_0x1f44db(0x37e)][_0x1f44db(0x1b6)][_0x1f44db(0x23e)](_0x438c83,_0x4eb05e)&&(_0x264735[_0x4eb05e]=_0x438c83[_0x4eb05e]);}return _0x264735;},_0x2e89f5[_0x44b43c(0x2d4)](this,arguments);},_0x553b71=function(_0x2d6968,_0x35f277){const _0x1bf01b=_0x530ea4;var _0x570d67={};for(var _0x1bca31 in _0x2d6968)Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1b6)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31)&&_0x35f277['indexOf'](_0x1bca31)<0x0&&(_0x570d67[_0x1bca31]=_0x2d6968[_0x1bca31]);if(_0x2d6968!=null&&typeof Object['getOwnPropertySymbols']==_0x1bf01b(0x28b)){for(var _0x26db9d=0x0,_0x1bca31=Object[_0x1bf01b(0x27b)](_0x2d6968);_0x26db9d<_0x1bca31[_0x1bf01b(0x2ee)];_0x26db9d++)_0x35f277[_0x1bf01b(0x320)](_0x1bca31[_0x26db9d])<0x0&&Object[_0x1bf01b(0x37e)][_0x1bf01b(0x1f7)][_0x1bf01b(0x23e)](_0x2d6968,_0x1bca31[_0x26db9d])&&(_0x570d67[_0x1bca31[_0x26db9d]]=_0x2d6968[_0x1bca31[_0x26db9d]]);}return _0x570d67;},_0x5cdc39=_0x35c730[_0x530ea4(0x2c6)](function(_0x373031,_0x128f3e){const _0x12b340=_0x530ea4;var _0x51c43f=_0x373031[_0x12b340(0x239)],_0x1fd067=_0x373031['id'],_0x405df5=_0x373031[_0x12b340(0x207)],_0x1dc810=_0x373031['extend'],_0x21b226=_0x553b71(_0x373031,['icon','id','className',_0x12b340(0x228)]),_0x3e1bfe=_0x12b340(0x1b5)[_0x12b340(0x251)](_0x1fd067,'\x20')[_0x12b340(0x251)](_0x405df5||'')[_0x12b340(0x43c)](),_0x5662af=_0x35c730[_0x12b340(0x1a4)]('_'[_0x12b340(0x251)](_0x5ef82d()));return _0x3f369a(_0x51c43f,''[_0x12b340(0x251)](_0x1fd067),{'defIds':_0x51c43f['defIds'],'idSuffix':_0x5662af[_0x12b340(0x1b7)]},_0x2e89f5({'ref':_0x128f3e,'className':_0x3e1bfe},_0x21b226),_0x1dc810);});function _0x3f369a(_0x3ccf3b,_0x5f030b,_0x455cda,_0x5826b5,_0x4ca939){const _0x26436b=_0x530ea4;return _0x35c730[_0x26436b(0x28c)](_0x3ccf3b[_0x26436b(0x3c1)],_0x2e89f5(_0x2e89f5({'key':_0x5f030b},_0x3ca25c(_0x3ccf3b,_0x455cda,_0x4ca939)),_0x5826b5),(_0x20bede(_0x3ccf3b,_0x455cda)[_0x26436b(0x240)]||[])[_0x26436b(0x203)](function(_0x347ea7,_0x1576af){const _0xbdd09f=_0x26436b;return _0x3f369a(_0x347ea7,''[_0xbdd09f(0x251)](_0x5f030b,'-')[_0xbdd09f(0x251)](_0x3ccf3b[_0xbdd09f(0x3c1)],'-')[_0xbdd09f(0x251)](_0x1576af),_0x455cda,void 0x0,_0x4ca939);}));}function _0x3ca25c(_0x22fa92,_0x8dbf43,_0xf159a0){const _0x58e4b0=_0x530ea4;var _0x5673fc=_0x2e89f5({},_0x22fa92[_0x58e4b0(0x1e2)]);_0xf159a0!=null&&_0xf159a0[_0x58e4b0(0x347)]&&_0x5673fc[_0x58e4b0(0x1c4)]===_0x58e4b0(0x347)&&(_0x5673fc[_0x58e4b0(0x1c4)]=_0xf159a0[_0x58e4b0(0x347)]),_0x22fa92[_0x58e4b0(0x3c1)]==='mask'&&_0x5673fc['id']&&(_0x5673fc['id']=_0x5673fc['id']+_0x8dbf43[_0x58e4b0(0x401)]),Object['entries'](_0x5673fc)['forEach'](function(_0x5717b6){const _0x505cf4=_0x58e4b0;var _0x59f72e=_0x5717b6[0x0],_0x33e5ec=_0x5717b6[0x1];_0x59f72e===_0x505cf4(0x1d8)&&typeof _0x33e5ec==_0x505cf4(0x39b)&&(_0x5673fc[_0x59f72e]=_0x33e5ec[_0x505cf4(0x3f7)](/url\(#(.*)\)/,_0x505cf4(0x3ff)[_0x505cf4(0x251)](_0x8dbf43[_0x505cf4(0x401)],')')));});var _0x324838=_0x8dbf43[_0x58e4b0(0x1a5)];return!_0x324838||_0x324838[_0x58e4b0(0x2ee)]===0x0||(_0x22fa92[_0x58e4b0(0x3c1)]===_0x58e4b0(0x278)&&_0x5673fc[_0x58e4b0(0x29c)]&&(_0x5673fc[_0x58e4b0(0x29c)]=_0x5673fc[_0x58e4b0(0x29c)]+_0x8dbf43['idSuffix']),Object['entries'](_0x5673fc)[_0x58e4b0(0x371)](function(_0x35abbb){const _0xd50326=_0x58e4b0;var _0x5e3170=_0x35abbb[0x0],_0x338e3f=_0x35abbb[0x1];typeof _0x338e3f==_0xd50326(0x39b)&&(_0x5673fc[_0x5e3170]=_0x338e3f[_0xd50326(0x3f7)](/url\(#(.*)\)/,_0xd50326(0x3ff)['concat'](_0x8dbf43[_0xd50326(0x401)],')')));})),_0x5673fc;}function _0x20bede(_0xf1584b,_0xdd1183){const _0x4e84e7=_0x530ea4;var _0x552ad7,_0xc8f4f1=_0xdd1183[_0x4e84e7(0x1a5)];return!_0xc8f4f1||_0xc8f4f1[_0x4e84e7(0x2ee)]===0x0?_0xf1584b:_0xf1584b[_0x4e84e7(0x3c1)]==='defs'&&(!((_0x552ad7=_0xf1584b['children'])===null||_0x552ad7===void 0x0)&&_0x552ad7[_0x4e84e7(0x2ee)])?_0x2e89f5(_0x2e89f5({},_0xf1584b),{'children':_0xf1584b[_0x4e84e7(0x240)][_0x4e84e7(0x203)](function(_0x2a6423){const _0x1d2dfe=_0x4e84e7;return typeof _0x2a6423[_0x1d2dfe(0x1e2)]['id']==_0x1d2dfe(0x39b)&&_0xc8f4f1&&_0xc8f4f1[_0x1d2dfe(0x1bc)](_0x2a6423['attrs']['id'])?_0x2e89f5(_0x2e89f5({},_0x2a6423),{'attrs':_0x2e89f5(_0x2e89f5({},_0x2a6423[_0x1d2dfe(0x1e2)]),{'id':_0x2a6423[_0x1d2dfe(0x1e2)]['id']+_0xdd1183[_0x1d2dfe(0x401)]})}):_0x2a6423;})}):_0xf1584b;}function _0x5ef82d(){const _0x55abf6=_0x530ea4;return Math[_0x55abf6(0x444)]()[_0x55abf6(0x418)](0x24)[_0x55abf6(0x281)](0x2,0x8);}_0x5cdc39[_0x530ea4(0x31c)]=_0x530ea4(0x375);var _0x577ab9={'tag':'svg','attrs':{'xmlns':_0x530ea4(0x3d2),'fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x1eb),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x242),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':_0x530ea4(0x438),'strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x331)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':_0x530ea4(0x44b),'d':_0x530ea4(0x2de)}}]}]}],'defIds':[_0x530ea4(0x331)]},_0x431f29=_0x35c730['forwardRef'](function(_0x28c296,_0xf8f2df){const _0x2dcfd8=_0x530ea4;return _0x35c730['createElement'](_0x5cdc39,Object[_0x2dcfd8(0x292)]({},_0x28c296,{'id':_0x2dcfd8(0x3a6),'ref':_0xf8f2df,'icon':_0x577ab9}));});_0x431f29['displayName']=_0x530ea4(0x2ad);var _0x59e475={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x530ea4(0x231),'viewBox':_0x530ea4(0x2be),'width':'1em','height':_0x530ea4(0x254)},'children':[{'tag':'g','attrs':{'clipPath':_0x530ea4(0x2ca)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'stroke':_0x530ea4(0x354),'d':_0x530ea4(0x404),'strokeLinecap':_0x530ea4(0x438),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x530ea4(0x1b9),'attrs':{},'children':[{'tag':_0x530ea4(0x26f),'attrs':{'id':_0x530ea4(0x1ba)},'children':[{'tag':_0x530ea4(0x3d0),'attrs':{'fill':'white','d':_0x530ea4(0x2de),'transform':_0x530ea4(0x24e)}}]}]}],'defIds':[_0x530ea4(0x1ba)]},_0x2a061d=_0x35c730[_0x530ea4(0x2c6)](function(_0x5c1fb9,_0xdff655){const _0x5041dc=_0x530ea4;return _0x35c730[_0x5041dc(0x28c)](_0x5cdc39,Object[_0x5041dc(0x292)]({},_0x5c1fb9,{'id':_0x5041dc(0x2bf),'ref':_0xdff655,'icon':_0x59e475}));});_0x2a061d[_0x530ea4(0x31c)]=_0x530ea4(0x1f4);function _0x4c2b2d(_0x12534d){const _0x34d2c4=_0x530ea4;switch(_0x12534d){case _0x5a7b55[_0x34d2c4(0x3d4)]['OFFLINE']:return _0x34d2c4(0x316);case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x244)]:return _0x34d2c4(0x3ab);case _0x5a7b55['CollaborationStatus'][_0x34d2c4(0x1cb)]:return'collabStatus.fetchMiss';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x2f5)]:return'collabStatus.notCollab';case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1fe)]:case _0x5a7b55[_0x34d2c4(0x3d4)][_0x34d2c4(0x1d6)]:return'collabStatus.syncing';case _0x5a7b55[_0x34d2c4(0x3d4)]['SYNCED']:case _0x5a7b55['CollaborationStatus']['PENDING']:return _0x34d2c4(0x385);}}function _0x4da86a(_0x38bf64){const _0x547488=_0x530ea4,{status$:_0x5a7b4b}=_0x38bf64,_0x47e343=_0x3835ea[_0x547488(0x1ea)](_0x5a7b4b,_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x2f5)]),_0x23d4f0=_0x3835ea[_0x547488(0x442)](_0x1f0a18['LocaleService']),_0x3b9849=_0x3835ea[_0x547488(0x442)](_0x5a7b55[_0x547488(0x3a2)]),_0x314909=_0x47e343!==_0x5a7b55[_0x547488(0x3d4)][_0x547488(0x3b2)],_0x48245e=_0x23d4f0['t'](_0x4c2b2d(_0x47e343)),_0x195373=_0x314909?_0x35553a['jsx'](_0x2a061d,{}):_0x35553a[_0x547488(0x3c7)](_0x431f29,{}),_0x48bf5b=_0x35c730[_0x547488(0x1cf)](()=>{const _0x49bd8e=_0x547488;_0x314909||_0x3b9849[_0x49bd8e(0x2ae)]();},[_0x314909,_0x3b9849]);function _0x38a651(){const _0x537bc3=_0x547488;return _0x35553a[_0x537bc3(0x374)](_0x537bc3(0x394),{'className':_0x537bc3(0x1da),'onClick':_0x48bf5b,'children':[_0x35553a[_0x537bc3(0x3c7)](_0x537bc3(0x394),{'className':_0x177c57['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x314909,'univer-text-red-500':!_0x314909}),'children':_0x195373}),_0x35553a['jsx'](_0x537bc3(0x394),{'className':_0x537bc3(0x1de),'children':_0x48245e})]});}return _0x314909?_0x38a651():_0x35553a['jsx'](_0x177c57[_0x547488(0x2c2)],{'title':_0x23d4f0['t']('collab-client.tooltip.reconnect'),'children':_0x38a651()});}var _0x113af8=Object['getOwnPropertyDescriptor'],_0x252f67=(_0x257edc,_0x37b716,_0x2a6237,_0xa69aad)=>{for(var _0x303069=_0xa69aad>0x1?void 0x0:_0xa69aad?_0x113af8(_0x37b716,_0x2a6237):_0x37b716,_0x362f16=_0x257edc['length']-0x1,_0x21ed7f;_0x362f16>=0x0;_0x362f16--)(_0x21ed7f=_0x257edc[_0x362f16])&&(_0x303069=_0x21ed7f(_0x303069)||_0x303069);return _0x303069;},_0x583f9f=(_0x3fa159,_0x4ee090)=>(_0x315aff,_0x52ac5f)=>_0x4ee090(_0x315aff,_0x52ac5f,_0x3fa159);_0x5527a1[_0x530ea4(0x42a)]=class extends _0x1f0a18['Disposable']{constructor(_0x44986c,_0x43fe07,_0x44f583,_0x4f6417){const _0x38538e=_0x530ea4;super(),_0x1b53be(this,'_status$',new _0x5900c2[(_0x38538e(0x1d9))](_0x5a7b55[_0x38538e(0x3d4)][_0x38538e(0x2f5)])),(this[_0x38538e(0x2cd)]=_0x44986c,this[_0x38538e(0x335)]=_0x43fe07,this[_0x38538e(0x1bf)]=_0x44f583,this['_uiPartsService']=_0x4f6417,this[_0x38538e(0x304)](),this[_0x38538e(0x38a)]());}['_initStatusListener'](){const _0x19cef4=_0x530ea4;this[_0x19cef4(0x3b8)](this['_univerInstanceService']['focused$'][_0x19cef4(0x420)](_0x5900c2[_0x19cef4(0x415)](()=>{const _0x9a7f9f=_0x19cef4,_0x2de0e4=this[_0x9a7f9f(0x2cd)]['getFocusedUnit']();return _0x2de0e4?this['_collaborationController'][_0x9a7f9f(0x35c)](_0x2de0e4[_0x9a7f9f(0x1e8)]()):_0x5900c2['of'](null);}),_0x5900c2[_0x19cef4(0x415)](_0x5c9061=>_0x5c9061?_0x5c9061[_0x19cef4(0x1e7)]:_0x5900c2['of'](_0x5a7b55[_0x19cef4(0x3d4)][_0x19cef4(0x2f5)])))[_0x19cef4(0x272)](_0x575738=>{const _0x4b356b=_0x19cef4;this[_0x4b356b(0x3e8)]['next'](_0x575738);}));}[_0x530ea4(0x304)](){const _0x118582=_0x530ea4;this['disposeWithMe'](this[_0x118582(0x43b)]['registerComponent'](_0x3835ea['BuiltInUIPart'][_0x118582(0x379)],()=>_0x3835ea[_0x118582(0x436)](_0x383a83({'status$':this[_0x118582(0x3e8)][_0x118582(0x380)]()}),this[_0x118582(0x335)])));}},_0x5527a1['DesktopCollaborationStatusDisplayController']=_0x252f67([_0x583f9f(0x0,_0x1f0a18['IUniverInstanceService']),_0x583f9f(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x583f9f(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x583f9f(0x3,_0x3835ea[_0x530ea4(0x3cb)])],_0x5527a1[_0x530ea4(0x42a)]);function _0x383a83(_0x2157ef){const {status$:_0x19b965}=_0x2157ef;return function(){const _0xb4ad0c=_0x1efe;return _0x35553a[_0xb4ad0c(0x3c7)](_0x4da86a,{'status$':_0x19b965});};}var _0x6a976d=Object[_0x530ea4(0x201)],_0x426b21=(_0x9aca3b,_0x1ba28f,_0x4eab83,_0x3da343)=>{const _0xd0cb2c=_0x530ea4;for(var _0x6874ad=_0x3da343>0x1?void 0x0:_0x3da343?_0x6a976d(_0x1ba28f,_0x4eab83):_0x1ba28f,_0x577cec=_0x9aca3b[_0xd0cb2c(0x2ee)]-0x1,_0x12f537;_0x577cec>=0x0;_0x577cec--)(_0x12f537=_0x9aca3b[_0x577cec])&&(_0x6874ad=_0x12f537(_0x6874ad)||_0x6874ad);return _0x6874ad;},_0x50cb98=(_0x20d80a,_0x547982)=>(_0x3bd4eb,_0x30aa5c)=>_0x547982(_0x3bd4eb,_0x30aa5c,_0x20d80a);let _0x257a98=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x23efb0,_0x36384c,_0x7e336e,_0x1230d5,_0x1ebcfa,_0x50db18){const _0x2a0956=_0x530ea4;super(),this[_0x2a0956(0x378)]=_0x23efb0,this[_0x2a0956(0x29a)]=_0x36384c,this['_collaborationUIEventService']=_0x7e336e,this[_0x2a0956(0x1c9)]=_0x1230d5,this[_0x2a0956(0x34d)]=_0x1ebcfa,this['_localeService']=_0x50db18,this[_0x2a0956(0x1f8)](),this[_0x2a0956(0x346)]();}[_0x530ea4(0x1f8)](){const _0x3eb8cc=_0x530ea4;this[_0x3eb8cc(0x3b8)](this[_0x3eb8cc(0x378)][_0x3eb8cc(0x368)](()=>{const _0x4c81af=_0x3eb8cc;if(this[_0x4c81af(0x29a)][_0x4c81af(0x2c3)]['size'])return this[_0x4c81af(0x1ca)]['t'](_0x4c81af(0x1c5));}));}['_initEvent'](){const _0x459975=_0x530ea4;this[_0x459975(0x3b8)](this['_collaborationUIEventService'][_0x459975(0x21d)][_0x459975(0x272)](_0x21ce7e=>{const _0x3a383b=_0x459975;_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x2bc)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)]['Warning'],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2da))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x218)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x1ed)]&&this['_notificationService'][_0x3a383b(0x40a)]({'title':this[_0x3a383b(0x1ca)]['t']('permission.title'),'content':this['_localeService']['t'](_0x3a383b(0x27c)),'type':_0x3a383b(0x31b),'duration':0x0}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x244)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x430))+'('+_0x21ce7e['data']+')'}),_0x21ce7e['id']===_0x5a7b55['CollaborationUIEventId'][_0x3a383b(0x288)]&&this[_0x3a383b(0x1c9)][_0x3a383b(0x40a)]({'type':_0x177c57[_0x3a383b(0x1b8)][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t'](_0x21ce7e[_0x3a383b(0x2b9)]||'')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType'][_0x3a383b(0x1e0)],'content':this[_0x3a383b(0x1ca)]['t']('session.will-retry')}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x435)]&&this['_messageService'][_0x3a383b(0x40a)]({'type':_0x177c57['MessageType']['Error'],'content':this['_localeService']['t'](_0x3a383b(0x2ef))}),_0x21ce7e['id']===_0x5a7b55[_0x3a383b(0x3b1)][_0x3a383b(0x332)]&&this[_0x3a383b(0x1c9)]['show']({'type':_0x177c57['MessageType'][_0x3a383b(0x42b)],'content':this[_0x3a383b(0x1ca)]['t'](_0x3a383b(0x2d8))});}));}};_0x257a98=_0x426b21([_0x50cb98(0x0,_0x3835ea[_0x530ea4(0x283)]),_0x50cb98(0x1,_0x5a7b55[_0x530ea4(0x294)]),_0x50cb98(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55['CollaborationUIEventService'])),_0x50cb98(0x3,_0x3835ea[_0x530ea4(0x38d)]),_0x50cb98(0x4,_0x3835ea[_0x530ea4(0x2f2)]),_0x50cb98(0x5,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x257a98);const _0xcf2e1e='collaboration-client-ui.config',_0x2b46de={},_0x2d199b=_0x1f0a18[_0x530ea4(0x3c5)](_0x530ea4(0x3e9));var _0x539802=Object[_0x530ea4(0x201)],_0x2bd657=(_0x9273b1,_0x2d3d05,_0x2eb1dc,_0x51ebc3)=>{const _0x3ae053=_0x530ea4;for(var _0x1d6197=_0x51ebc3>0x1?void 0x0:_0x51ebc3?_0x539802(_0x2d3d05,_0x2eb1dc):_0x2d3d05,_0xd5133c=_0x9273b1[_0x3ae053(0x2ee)]-0x1,_0x1c3ab3;_0xd5133c>=0x0;_0xd5133c--)(_0x1c3ab3=_0x9273b1[_0xd5133c])&&(_0x1d6197=_0x1c3ab3(_0x1d6197)||_0x1d6197);return _0x1d6197;},_0x600337=(_0x53a190,_0x4fed4b)=>(_0x429788,_0x347c39)=>_0x4fed4b(_0x429788,_0x347c39,_0x53a190);_0x5527a1[_0x530ea4(0x37b)]=class extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(_0x3b68c1,_0x3a326b,_0x41385d,_0x5b23ca,_0x35ad30){const _0x3bbab3=_0x530ea4;super(),this[_0x3bbab3(0x38b)]=_0x3b68c1,this[_0x3bbab3(0x1f3)]=_0x3a326b,this[_0x3bbab3(0x3c2)]=_0x41385d,this[_0x3bbab3(0x2d7)]=_0x5b23ca,_0x35ad30?_0x35ad30==null||_0x35ad30['whenReady']()[_0x3bbab3(0x424)](()=>this['_init']()):(this[_0x3bbab3(0x1f3)][_0x3bbab3(0x21a)](_0x3bbab3(0x213),_0x3bbab3(0x40c)),this[_0x3bbab3(0x30a)]());}async['_init'](){const _0x1c02e3=_0x530ea4,_0x348539=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x206)),_0x593398=this['_urlService'][_0x1c02e3(0x273)](_0x1c02e3(0x3b9)),_0x195840=this[_0x1c02e3(0x38b)]['getParam'](_0x1c02e3(0x35b));if(!_0x348539||!_0x593398){this['_logService'][_0x1c02e3(0x21a)]('[CollaborationDataLoaderController]',_0x1c02e3(0x1db));return;}const _0x4cd20f=await this['_dataLoaderService'][_0x1c02e3(0x212)](_0x348539,Number(_0x593398),_0x195840);_0x4cd20f&&_0x4cd20f instanceof _0x1f0a18[_0x1c02e3(0x264)]&&this['_setupSubUnitSync'](_0x4cd20f);}async['_setupSubUnitSync'](_0x4085e6){const _0x47bb84=_0x530ea4;await this[_0x47bb84(0x202)](_0x4085e6),_0x4085e6['activeSheet$']['pipe'](_0x5900c2[_0x47bb84(0x24a)](this['dispose$']))['subscribe'](_0x38b71b=>{const _0x16f044=_0x47bb84;_0x38b71b&&this[_0x16f044(0x2fa)](_0x38b71b);}),this[_0x47bb84(0x38b)][_0x47bb84(0x43d)][_0x47bb84(0x420)](_0x5900c2['takeUntil'](this[_0x47bb84(0x211)]))[_0x47bb84(0x272)](()=>this['_updateSubUnitFromURLParams'](_0x4085e6));}[_0x530ea4(0x2fa)](_0x3d4cc2,_0x2160de=!0x1){const _0x32cc7e=_0x530ea4,_0xbbe1b9=this[_0x32cc7e(0x38b)][_0x32cc7e(0x273)]('subunit');_0x3d4cc2[_0x32cc7e(0x1a9)]()!==_0xbbe1b9&&this[_0x32cc7e(0x38b)][_0x32cc7e(0x395)](_0x32cc7e(0x35b),_0x3d4cc2[_0x32cc7e(0x1a9)](),_0x2160de);}async[_0x530ea4(0x202)](_0x16c017){const _0x2c727b=_0x530ea4;var _0x5253f6;const _0x1d9489=this[_0x2c727b(0x38b)]['getParam'](_0x2c727b(0x35b));if(!_0x1d9489||!_0x16c017[_0x2c727b(0x3f8)](_0x1d9489)){const _0x56aef4=_0x16c017[_0x2c727b(0x3a5)]()[0x0],_0x878b59=_0x16c017[_0x2c727b(0x3f8)](_0x56aef4);if(!_0x878b59)return;this[_0x2c727b(0x2fa)](_0x878b59,!0x0),await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017[_0x2c727b(0x1e8)](),'subUnitId':_0x56aef4});return;}((_0x5253f6=_0x16c017[_0x2c727b(0x42d)]())==null?void 0x0:_0x5253f6[_0x2c727b(0x1a9)]())!==_0x1d9489&&await this[_0x2c727b(0x3c2)][_0x2c727b(0x321)](_0x5e0c6b[_0x2c727b(0x3ea)]['id'],{'unitId':_0x16c017['getUnitId'](),'subUnitId':_0x1d9489});}},_0x5527a1[_0x530ea4(0x37b)]=_0x2bd657([_0x600337(0x0,_0x2d199b),_0x600337(0x1,_0x1f0a18[_0x530ea4(0x1ae)]),_0x600337(0x2,_0x1f0a18[_0x530ea4(0x3d7)]),_0x600337(0x3,_0x1f0a18['Inject'](_0x5a7b55[_0x530ea4(0x2cf)])),_0x600337(0x4,_0x1f0a18[_0x530ea4(0x432)](_0x29d29a['IRemoteInstanceService']))],_0x5527a1['CollaborationDataLoaderController']);var _0x11a66f=Object['getOwnPropertyDescriptor'],_0x1aad1b=(_0x3d5261,_0x25243f,_0x163244,_0x4bc43c)=>{const _0x2c5375=_0x530ea4;for(var _0x20a355=_0x4bc43c>0x1?void 0x0:_0x4bc43c?_0x11a66f(_0x25243f,_0x163244):_0x25243f,_0x205320=_0x3d5261[_0x2c5375(0x2ee)]-0x1,_0x12383d;_0x205320>=0x0;_0x205320--)(_0x12383d=_0x3d5261[_0x205320])&&(_0x20a355=_0x12383d(_0x20a355)||_0x20a355);return _0x20a355;},_0xe668b7=(_0x1a9e2c,_0x53633f)=>(_0xf19cd5,_0x2738a0)=>_0x53633f(_0xf19cd5,_0x2738a0,_0x1a9e2c);let _0x4e7530=class{constructor(_0x382c3e,_0xf12e3b,_0x5d43ac){const _0x93a42f=_0x530ea4;this['_injector']=_0x382c3e,this[_0x93a42f(0x297)]=_0xf12e3b,this[_0x93a42f(0x1c3)]=_0x5d43ac;}[_0x530ea4(0x367)](_0x532361){const _0x4e4243=_0x530ea4;this[_0x4e4243(0x267)](_0x532361),this[_0x4e4243(0x359)](_0x532361);}['transformRemoteChangeset'](_0x6bb7de){const _0x5abcba=_0x530ea4,{unitID:_0x1ff984}=_0x6bb7de,_0x4fda32=this['_renderManagerService'][_0x5abcba(0x30b)](_0x1ff984)['with'](_0x4dd21f[_0x5abcba(0x20f)]),{redoCache:_0x48ad85}=_0x4fda32[_0x5abcba(0x204)]();if(_0x48ad85['length']===0x0)return _0x6bb7de;let _0x448d11=_0x1f0a18['Tools']['deepClone'](_0x6bb7de[_0x5abcba(0x2a2)][0x0]);for(let _0x5d358c=0x0;_0x5d358c<_0x48ad85['length'];_0x5d358c++){const _0x45f470={'id':_0x5abcba(0x28f),'params':{..._0x48ad85[_0x5d358c]}},_0x178a2e=this[_0x5abcba(0x297)][_0x5abcba(0x1d5)](_0x448d11,_0x45f470,!0x1);if(_0x1cac3e[_0x5abcba(0x3da)](_0x178a2e))throw _0x178a2e[_0x5abcba(0x31b)];_0x448d11=_0x178a2e[_0x5abcba(0x2a3)];}return{..._0x1f0a18['Tools'][_0x5abcba(0x33e)](_0x6bb7de),'mutations':[_0x448d11]};}[_0x530ea4(0x267)](_0x1535fc){const _0x2c50a5=_0x530ea4,{unitID:_0x5f062d}=_0x1535fc,_0x3168df=this['_renderManagerService'][_0x2c50a5(0x30b)](_0x5f062d)[_0x2c50a5(0x334)](_0x4dd21f['DocIMEInputManagerService']),{undoCache:_0xd6d68c,redoCache:_0xb68f25}=_0x3168df[_0x2c50a5(0x204)]();if(_0xd6d68c['length']===0x0||_0xb68f25[_0x2c50a5(0x2ee)]===0x0)return;const _0x1d1f4f=[],_0x7b67c3=[];let _0x2d98e2=_0x1f0a18[_0x2c50a5(0x32f)]['deepClone'](_0x1535fc[_0x2c50a5(0x2a2)][0x0]),_0x1be476=_0x1f0a18[_0x2c50a5(0x32f)][_0x2c50a5(0x33e)](_0x1535fc[_0x2c50a5(0x2a2)][0x0]);for(let _0x5c4d10=_0xd6d68c[_0x2c50a5(0x2ee)]-0x1;_0x5c4d10>=0x0;_0x5c4d10--){const _0xd38f56={'id':'doc.mutation.rich-text-editing','params':{..._0xd6d68c[_0x5c4d10]}},_0x1e695e={'id':_0x2c50a5(0x28f),'params':{..._0xb68f25[_0x5c4d10]}},_0x1c4d5e=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x2d98e2,_0xd38f56,!0x1),_0x32d172=this[_0x2c50a5(0x297)][_0x2c50a5(0x1d5)](_0x1be476,_0x1e695e,!0x1);if(_0x1cac3e['isTransformMutationFailure'](_0x1c4d5e))throw _0x1c4d5e[_0x2c50a5(0x31b)];if(_0x1cac3e[_0x2c50a5(0x3da)](_0x32d172))throw _0x32d172[_0x2c50a5(0x31b)];_0x1d1f4f['unshift'](_0x1c4d5e[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x7b67c3['unshift'](_0x32d172[_0x2c50a5(0x1ab)][_0x2c50a5(0x357)]),_0x2d98e2=_0x1c4d5e[_0x2c50a5(0x2a3)],_0x1be476=_0x32d172[_0x2c50a5(0x2a3)];}_0x3168df[_0x2c50a5(0x427)]({'undoCache':_0x1d1f4f,'redoCache':_0x7b67c3});}[_0x530ea4(0x359)](_0x225b04){const _0x244c48=_0x530ea4,{unitID:_0x359366}=_0x225b04,_0x7d641=this[_0x244c48(0x1c3)][_0x244c48(0x30b)](_0x359366)[_0x244c48(0x334)](_0x4dd21f['DocIMEInputManagerService']),_0x2de217=_0x7d641['getActiveRange']();if(_0x2de217==null)return;const _0x83baaa=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x225b04[_0x244c48(0x275)],'actions':null,'textRanges':[_0x2de217]}}],_0xeb3a43=this['_transformService'][_0x244c48(0x353)](_0x225b04,_0x83baaa);if(!_0x1cac3e[_0x244c48(0x3dc)](_0xeb3a43))throw _0xeb3a43[_0x244c48(0x31b)];const _0x2df287=_0xeb3a43[_0x244c48(0x1ab)][0x0][_0x244c48(0x357)]['textRanges'];Array['isArray'](_0x2df287)&&_0x2df287['length']&&_0x7d641[_0x244c48(0x326)](_0x2df287[0x0]);}};_0x4e7530=_0x1aad1b([_0xe668b7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xe668b7(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0xe668b7(0x2,_0x1b328b['IRenderManagerService'])],_0x4e7530);var _0x5ef874=Object[_0x530ea4(0x201)],_0x58c3e0=(_0x52e859,_0x227e2c,_0x289f71,_0x22e0d8)=>{const _0x54acbb=_0x530ea4;for(var _0x3bca6e=_0x22e0d8>0x1?void 0x0:_0x22e0d8?_0x5ef874(_0x227e2c,_0x289f71):_0x227e2c,_0x3f36b8=_0x52e859[_0x54acbb(0x2ee)]-0x1,_0xac093;_0x3f36b8>=0x0;_0x3f36b8--)(_0xac093=_0x52e859[_0x3f36b8])&&(_0x3bca6e=_0xac093(_0x3bca6e)||_0x3bca6e);return _0x3bca6e;},_0x2ef681=(_0x9123da,_0xcbfbd1)=>(_0x5b873d,_0x4b2ef8)=>_0xcbfbd1(_0x5b873d,_0x4b2ef8,_0x9123da);let _0x2a5f6a=class{constructor(_0x3ef8f3,_0x19735f,_0xf7b0aa){const _0x4c2949=_0x530ea4;this[_0x4c2949(0x335)]=_0x3ef8f3,this[_0x4c2949(0x297)]=_0x19735f,this[_0x4c2949(0x277)]=_0xf7b0aa;}['transformStateCache'](_0x585be1){this['_transformHistoryAndStateStack'](_0x585be1);}[_0x530ea4(0x2a5)](_0x2a0c86){const _0x3e6fe7=_0x530ea4,{unitID:_0x5694d0}=_0x2a0c86,{collaboration:_0x47165a}=this['_docStateChangeManagerService'][_0x3e6fe7(0x387)](_0x5694d0);if(_0x47165a[_0x3e6fe7(0x2ee)]===0x0)return _0x2a0c86;let _0x12729d=_0x1f0a18[_0x3e6fe7(0x32f)][_0x3e6fe7(0x33e)](_0x2a0c86[_0x3e6fe7(0x2a2)][0x0]);for(let _0x3df425=0x0;_0x3df425<_0x47165a[_0x3e6fe7(0x2ee)];_0x3df425++){const _0x32e653={'id':_0x3e6fe7(0x28f),'params':{'unitId':_0x47165a[_0x3df425]['unitId'],..._0x47165a[_0x3df425][_0x3e6fe7(0x271)]}},_0x3dfe54=this[_0x3e6fe7(0x297)][_0x3e6fe7(0x1d5)](_0x12729d,_0x32e653,!0x1);if(_0x1cac3e[_0x3e6fe7(0x3da)](_0x3dfe54))throw _0x3dfe54[_0x3e6fe7(0x31b)];_0x12729d=_0x3dfe54[_0x3e6fe7(0x2a3)];}return{..._0x1f0a18[_0x3e6fe7(0x32f)]['deepClone'](_0x2a0c86),'mutations':[_0x12729d]};}[_0x530ea4(0x302)](_0x54b0ee){const _0x5b1c9f=_0x530ea4,{unitID:_0x50b842}=_0x54b0ee,{history:_0x142ec1,collaboration:_0x34af7a}=this[_0x5b1c9f(0x277)][_0x5b1c9f(0x387)](_0x50b842);if(_0x142ec1[_0x5b1c9f(0x2ee)]===0x0&&_0x34af7a[_0x5b1c9f(0x2ee)]===0x0)return;const _0x2ec4fa=[],_0x5426cf=[];let _0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee['mutations'][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x328d6b=_0x142ec1[_0x5b1c9f(0x2ee)]-0x1;_0x328d6b>=0x0;_0x328d6b--){const _0x1eaec8={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x1c8)]}},_0x23320c={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x142ec1[_0x328d6b][_0x5b1c9f(0x3f0)],..._0x142ec1[_0x328d6b][_0x5b1c9f(0x271)]}},_0x5a2a5f=this['_transformService'][_0x5b1c9f(0x1d5)](_0x2871ed,_0x1eaec8,!0x1),_0x58d6c7=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x49361c,_0x23320c,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x5a2a5f))throw _0x5a2a5f[_0x5b1c9f(0x31b)];if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x58d6c7))throw _0x58d6c7[_0x5b1c9f(0x31b)];_0x2ec4fa[_0x5b1c9f(0x34a)]({..._0x142ec1[_0x328d6b],'undoState':_0x5a2a5f[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x58d6c7['m2Prime'][_0x5b1c9f(0x357)]}),_0x2871ed=_0x5a2a5f[_0x5b1c9f(0x2a3)],_0x49361c=_0x58d6c7[_0x5b1c9f(0x2a3)];}_0x2871ed=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]),_0x49361c=_0x1f0a18[_0x5b1c9f(0x32f)][_0x5b1c9f(0x33e)](_0x54b0ee[_0x5b1c9f(0x2a2)][0x0]);for(let _0x2b6bd3=_0x34af7a[_0x5b1c9f(0x2ee)]-0x1;_0x2b6bd3>=0x0;_0x2b6bd3--){const _0x2e8f7a={'id':_0x5b1c9f(0x28f),'params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3]['undoState']}},_0x5eee53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34af7a[_0x2b6bd3]['unitId'],..._0x34af7a[_0x2b6bd3][_0x5b1c9f(0x271)]}},_0x3fec76=this[_0x5b1c9f(0x297)][_0x5b1c9f(0x1d5)](_0x2871ed,_0x2e8f7a,!0x1),_0x325dab=this[_0x5b1c9f(0x297)]['transformMutation'](_0x49361c,_0x5eee53,!0x1);if(_0x1cac3e[_0x5b1c9f(0x3da)](_0x3fec76))throw _0x3fec76['error'];if(_0x1cac3e['isTransformMutationFailure'](_0x325dab))throw _0x325dab['error'];_0x5426cf[_0x5b1c9f(0x34a)]({..._0x34af7a[_0x2b6bd3],'undoState':_0x3fec76[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)],'redoState':_0x325dab[_0x5b1c9f(0x1ab)][_0x5b1c9f(0x357)]}),_0x2871ed=_0x3fec76[_0x5b1c9f(0x2a3)],_0x49361c=_0x325dab['m1Prime'];}this['_docStateChangeManagerService'][_0x5b1c9f(0x3a9)](_0x50b842,{'history':_0x2ec4fa,'collaboration':_0x5426cf});}};_0x2a5f6a=_0x58c3e0([_0x2ef681(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0x2ef681(0x1,_0x1cac3e[_0x530ea4(0x41e)]),_0x2ef681(0x2,_0x1f0a18['Inject'](_0x4dd21f[_0x530ea4(0x290)]))],_0x2a5f6a);var _0x35d293=Object['getOwnPropertyDescriptor'],_0x1335c1=(_0x400706,_0x34963e,_0x253838,_0x237bba)=>{const _0x386318=_0x530ea4;for(var _0x3c3b8a=_0x237bba>0x1?void 0x0:_0x237bba?_0x35d293(_0x34963e,_0x253838):_0x34963e,_0x3c33ae=_0x400706[_0x386318(0x2ee)]-0x1,_0x31dede;_0x3c33ae>=0x0;_0x3c33ae--)(_0x31dede=_0x400706[_0x3c33ae])&&(_0x3c3b8a=_0x31dede(_0x3c3b8a)||_0x3c3b8a);return _0x3c3b8a;},_0xc322e7=(_0x3e2644,_0x4ab04b)=>(_0x2c11df,_0xcabc16)=>_0x4ab04b(_0x2c11df,_0xcabc16,_0x3e2644);let _0x111326=class{constructor(_0x419f41,_0x43ee5c){const _0x4a7a78=_0x530ea4;this[_0x4a7a78(0x335)]=_0x419f41,this[_0x4a7a78(0x297)]=_0x43ee5c;}[_0x530ea4(0x237)](_0x2ad020){const _0x3027b7=_0x530ea4;var _0x5165ce;const _0xf00306=this[_0x3027b7(0x335)][_0x3027b7(0x22f)](_0xb349ea[_0x3027b7(0x3f6)]),_0x37bd53=(_0x5165ce=_0xf00306[_0x3027b7(0x35f)]())!=null?_0x5165ce:[];if(_0x37bd53['length']===0x0)return;const _0x40622e=_0x2ad020[_0x3027b7(0x275)],_0x4fdbe7=[{'id':_0x3027b7(0x28f),'params':{'unitId':_0x40622e,'actions':null,'textRanges':_0x37bd53}}],_0x449fb0=this['_transformService'][_0x3027b7(0x353)](_0x2ad020,_0x4fdbe7);if(!_0x1cac3e[_0x3027b7(0x3dc)](_0x449fb0))throw _0x449fb0[_0x3027b7(0x31b)];const _0x43ee5e=_0x449fb0['m2Prime'][0x0][_0x3027b7(0x357)][_0x3027b7(0x2f4)];Array[_0x3027b7(0x307)](_0x43ee5e)&&_0x43ee5e[_0x3027b7(0x2ee)]&&_0xf00306[_0x3027b7(0x1f2)](_0x43ee5e,{'unitId':_0x40622e,'subUnitId':_0x40622e},!0x1);}};_0x111326=_0x1335c1([_0xc322e7(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xc322e7(0x1,_0x1cac3e[_0x530ea4(0x41e)])],_0x111326);var _0x5b351d=Object[_0x530ea4(0x201)],_0x406447=(_0xe096c9,_0x3f8e82,_0xe21034,_0x451510)=>{const _0x52398a=_0x530ea4;for(var _0x381412=_0x451510>0x1?void 0x0:_0x451510?_0x5b351d(_0x3f8e82,_0xe21034):_0x3f8e82,_0x4f58ed=_0xe096c9[_0x52398a(0x2ee)]-0x1,_0x43fe76;_0x4f58ed>=0x0;_0x4f58ed--)(_0x43fe76=_0xe096c9[_0x4f58ed])&&(_0x381412=_0x43fe76(_0x381412)||_0x381412);return _0x381412;},_0x179726=(_0x4ef169,_0x69e861)=>(_0xb28538,_0x4e96cc)=>_0x69e861(_0xb28538,_0x4e96cc,_0x4ef169);let _0x282265=class extends _0x1f0a18['Disposable']{constructor(_0x42422f,_0x302016,_0x3a36c6,_0x45390d,_0x46e4b8,_0x31fcc2,_0x2c4717,_0x31b872){const _0x27873d=_0x530ea4;super(),_0x1b53be(this,_0x27873d(0x3e8),new _0x5900c2[(_0x27873d(0x1d9))](_0x5a7b55[_0x27873d(0x3d4)][_0x27873d(0x2f5)])),(this[_0x27873d(0x277)]=_0x42422f,this['_collaborationController']=_0x302016,this[_0x27873d(0x3b0)]=_0x3a36c6,this[_0x27873d(0x3ae)]=_0x45390d,this[_0x27873d(0x373)]=_0x46e4b8,this['_docSyncEditingCollabCursorService']=_0x31fcc2,this['_messageService']=_0x2c4717,this[_0x27873d(0x1ca)]=_0x31b872,this[_0x27873d(0x3e4)]());}[_0x530ea4(0x3e4)](){const _0xd727a0=_0x530ea4;this[_0xd727a0(0x3b8)](this[_0xd727a0(0x1bf)][_0xd727a0(0x2a1)][_0xd727a0(0x272)](_0xe63cd1=>{const _0x34d227=_0xd727a0,_0x22b4be=this[_0x34d227(0x277)][_0x34d227(0x300)]['subscribe'](_0xa91aef=>{const _0x24cedc=_0x34d227;if(_0xa91aef==null)return;const {unitId:_0x125e11,redoState:_0x2f0a31,commandId:_0x4a2d2d}=_0xa91aef;if(_0x125e11!==_0xe63cd1[_0x24cedc(0x275)])return;const _0x5c0620={'id':_0x4a2d2d,'type':_0x1f0a18[_0x24cedc(0x2b5)]['MUTATION'],'params':{'unitId':_0x125e11,'actions':_0x2f0a31[_0x24cedc(0x308)],'textRanges':null}};_0xe63cd1[_0x24cedc(0x258)](_0x5c0620);});if(_0xe63cd1[_0x34d227(0x3b8)](_0x22b4be),_0xe63cd1 instanceof _0x5a7b55[_0x34d227(0x2cb)]){const _0x3981e9={'onTransformIME':_0x8db98=>this[_0x34d227(0x3b0)]['transformIMECache'](_0x8db98),'onTransformState':_0x297d30=>this[_0x34d227(0x3ae)][_0x34d227(0x34e)](_0x297d30),'onTransformSelections':_0x18d676=>this[_0x34d227(0x373)][_0x34d227(0x237)](_0x18d676),'onSyncEditingCollabCursor':_0xe69e82=>this['_docSyncEditingCollabCursorService'][_0x34d227(0x1b3)](_0xe69e82),'onTransformRemoteChangesetByIMECache':_0xb6e2bb=>this[_0x34d227(0x3b0)][_0x34d227(0x2a5)](_0xb6e2bb),'onTransformRemoteChangesetByStateCache':_0x49f74a=>this[_0x34d227(0x3ae)]['transformRemoteChangeset'](_0x49f74a)};_0xe63cd1[_0x34d227(0x1a3)](_0x3981e9);}}));}};_0x282265=_0x406447([_0x179726(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x4dd21f['DocStateChangeManagerService'])),_0x179726(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x5a7b55[_0x530ea4(0x2b4)])),_0x179726(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x4e7530)),_0x179726(0x3,_0x1f0a18['Inject'](_0x2a5f6a)),_0x179726(0x4,_0x1f0a18['Inject'](_0x111326)),_0x179726(0x5,_0x1f0a18['Inject'](_0x50ea68)),_0x179726(0x6,_0x3835ea[_0x530ea4(0x38d)]),_0x179726(0x7,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x338)]))],_0x282265);var _0x15750a=Object[_0x530ea4(0x201)],_0x53d2a9=(_0x23d9be,_0x3101e8,_0x2d58c3,_0xa0d9ed)=>{for(var _0x1c8524=_0xa0d9ed>0x1?void 0x0:_0xa0d9ed?_0x15750a(_0x3101e8,_0x2d58c3):_0x3101e8,_0x585a06=_0x23d9be['length']-0x1,_0x54e5a3;_0x585a06>=0x0;_0x585a06--)(_0x54e5a3=_0x23d9be[_0x585a06])&&(_0x1c8524=_0x54e5a3(_0x1c8524)||_0x1c8524);return _0x1c8524;},_0x5ec6e1=(_0x36e138,_0x2abb65)=>(_0x3b41c9,_0x4b8064)=>_0x2abb65(_0x3b41c9,_0x4b8064,_0x36e138);let _0x35301a=class extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(_0x223b3c,_0x37d446,_0x4cc343){const _0x1b1aa9=_0x530ea4;super(),_0x1b53be(this,_0x1b1aa9(0x372),new Map()),_0x1b53be(this,_0x1b1aa9(0x30c),new Map()),_0x1b53be(this,_0x1b1aa9(0x32e),!0x1),(this['_configService']=_0x223b3c,this['_localStorageService']=_0x37d446,this[_0x1b1aa9(0x23f)]=_0x4cc343);}[_0x530ea4(0x1f9)](){this['_disabled']=!0x0;}[_0x530ea4(0x363)](){this['_disabled']=!0x1;}get[_0x530ea4(0x2c3)](){return this['_saveTaskMap'];}[_0x530ea4(0x342)](){const _0x51ee4c=_0x530ea4;this[_0x51ee4c(0x21b)]()[_0x51ee4c(0x424)](()=>super[_0x51ee4c(0x342)]());}async['loadOfflineData'](_0x114a61){const _0x3d2407=_0x530ea4;return this[_0x3d2407(0x32e)]?null:this[_0x3d2407(0x266)]['getItem'](_0x5a7b55[_0x3d2407(0x26e)](_0x114a61));}async[_0x530ea4(0x305)](_0x56d8a4,_0x1f0ea0){const _0x3da787=_0x530ea4;return!!this['_localStorageService'][_0x3da787(0x284)](_0x56d8a4,_0x1f0ea0);}['updateOfflineData'](_0x2db8f5,_0x2a2a08,_0x54ce74,_0x1c8eb4){const _0x3c6536=_0x530ea4,_0x4d001a=this['_revisionService'][_0x3c6536(0x268)](_0x2db8f5);this[_0x3c6536(0x372)]['set'](_0x2db8f5,{'unitID':_0x2db8f5,'type':_0x2a2a08,'awaitingChangeset':_0x54ce74,'mutations':_0x1c8eb4,'rev':_0x4d001a}),this[_0x3c6536(0x30c)][_0x3c6536(0x447)](_0x2db8f5)||this[_0x3c6536(0x21c)](_0x2db8f5);}['_scheduleSaving'](_0x3b1e7e){const _0x7bc496=_0x530ea4,_0x40098d=this[_0x7bc496(0x408)]();_0x40098d===0x0?this[_0x7bc496(0x312)](_0x3b1e7e):this[_0x7bc496(0x30c)][_0x7bc496(0x3ec)](_0x3b1e7e,setTimeout(()=>this[_0x7bc496(0x312)](_0x3b1e7e),_0x40098d));}[_0x530ea4(0x408)](){const _0x3eee52=_0x530ea4;var _0x5b482e;return(_0x5b482e=this['_configService'][_0x3eee52(0x2a0)](_0x5a7b55[_0x3eee52(0x24c)]))!=null?_0x5b482e:_0x5a7b55['LOCAL_CACHE_INTERVAL'];}[_0x530ea4(0x312)](_0x21c2a1){const _0x33845c=_0x530ea4,_0x208b7f=this[_0x33845c(0x30c)][_0x33845c(0x22f)](_0x21c2a1);return _0x208b7f!==void 0x0&&window['clearTimeout'](_0x208b7f),this[_0x33845c(0x266)][_0x33845c(0x284)](_0x5a7b55[_0x33845c(0x26e)](_0x21c2a1),this[_0x33845c(0x372)][_0x33845c(0x22f)](_0x21c2a1))['then'](()=>this[_0x33845c(0x30c)][_0x33845c(0x222)](_0x21c2a1));}async[_0x530ea4(0x21b)](){const _0x57d004=_0x530ea4,_0x1ddc44=[];this[_0x57d004(0x30c)][_0x57d004(0x371)]((_0x33fe4f,_0x239fb0)=>{const _0x5713bd=_0x57d004;window[_0x5713bd(0x221)](_0x33fe4f),_0x1ddc44[_0x5713bd(0x36a)](this[_0x5713bd(0x312)](_0x239fb0)['then'](()=>{const _0x9dae72=_0x5713bd;this[_0x9dae72(0x30c)][_0x9dae72(0x222)](_0x239fb0);}));}),await Promise[_0x57d004(0x3e7)](_0x1ddc44);}};_0x35301a=_0x53d2a9([_0x5ec6e1(0x0,_0x1f0a18[_0x530ea4(0x3fe)]),_0x5ec6e1(0x1,_0x1f0a18[_0x530ea4(0x355)]),_0x5ec6e1(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1cac3e['RevisionService']))],_0x35301a);class _0x5bd741 extends _0x1f0a18[_0x530ea4(0x2bb)]{constructor(){const _0x30a749=_0x530ea4;super(),_0x1b53be(this,_0x30a749(0x43d)),this[_0x30a749(0x43d)]=_0x5900c2[_0x30a749(0x2e5)](window,_0x30a749(0x22c))[_0x30a749(0x420)](_0x5900c2[_0x30a749(0x24a)](this[_0x30a749(0x211)]),_0x5900c2['shareReplay'](0x1),_0x5900c2[_0x30a749(0x40e)](void 0x0));}[_0x530ea4(0x395)](_0x4fd53e,_0x15ae5e,_0x31ef9e=!0x1){const _0x1f6937=_0x530ea4,_0x4f9baf=new URL(window['location'][_0x1f6937(0x208)]);_0x4f9baf[_0x1f6937(0x325)]['set'](_0x4fd53e,_0x15ae5e),_0x31ef9e?window['history'][_0x1f6937(0x1c0)]('','',_0x4f9baf[_0x1f6937(0x418)]()):window['history']['pushState']('','',_0x4f9baf['toString']());}[_0x530ea4(0x36d)](_0x4a7859,_0x57564a=!0x1){const _0x4707dd=_0x530ea4,_0x657216=new URL(window[_0x4707dd(0x23a)][_0x4707dd(0x208)]);_0x657216[_0x4707dd(0x325)][_0x4707dd(0x222)](_0x4a7859),_0x57564a?window[_0x4707dd(0x31f)][_0x4707dd(0x1c0)]('','',_0x657216[_0x4707dd(0x418)]()):window[_0x4707dd(0x31f)][_0x4707dd(0x3d1)]('','',_0x657216['toString']());}['getParam'](_0x602318){const _0x20863b=_0x530ea4;var _0x294cb1;return(_0x294cb1=new URL(window['location'][_0x20863b(0x208)])[_0x20863b(0x325)]['get'](_0x602318))!=null?_0x294cb1:void 0x0;}}var _0x59ebb7=Object[_0x530ea4(0x36e)],_0x27f288=Object['getOwnPropertyDescriptor'],_0xbce48=(_0x3449aa,_0x68d070,_0x1f8619)=>_0x68d070 in _0x3449aa?_0x59ebb7(_0x3449aa,_0x68d070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8619}):_0x3449aa[_0x68d070]=_0x1f8619,_0x5b73b2=(_0x6d6e4c,_0x1954be,_0xd9de4f,_0x1f1581)=>{const _0x53b41f=_0x530ea4;for(var _0x2cee3d=_0x1f1581>0x1?void 0x0:_0x1f1581?_0x27f288(_0x1954be,_0xd9de4f):_0x1954be,_0x11c923=_0x6d6e4c[_0x53b41f(0x2ee)]-0x1,_0xdd9bb8;_0x11c923>=0x0;_0x11c923--)(_0xdd9bb8=_0x6d6e4c[_0x11c923])&&(_0x2cee3d=_0xdd9bb8(_0x2cee3d)||_0x2cee3d);return _0x2cee3d;},_0xd6f6e0=(_0x415049,_0x27b84d)=>(_0x4a05d2,_0xb6d4b2)=>_0x27b84d(_0x4a05d2,_0xb6d4b2,_0x415049),_0x23c91e=(_0x316dd3,_0x5757cf,_0x261cf6)=>_0xbce48(_0x316dd3,_0x5757cf+'',_0x261cf6);const _0x39274e=_0x530ea4(0x2a4);_0x5527a1[_0x530ea4(0x42c)]=class extends _0x1f0a18['Plugin']{constructor(_0x57f292=_0x2b46de,_0x1f0ac0,_0x503312,_0x110867){const _0x278980=_0x530ea4;super(),this[_0x278980(0x293)]=_0x57f292,this[_0x278980(0x1c3)]=_0x1f0ac0,this[_0x278980(0x335)]=_0x503312,this[_0x278980(0x339)]=_0x110867;const {..._0x1e1ff3}=_0x1f0a18[_0x278980(0x35e)]({},_0x2b46de,this[_0x278980(0x293)]);this[_0x278980(0x339)][_0x278980(0x322)](_0xcf2e1e,_0x1e1ff3);}[_0x530ea4(0x209)](){const _0x57fefd=_0x530ea4;this[_0x57fefd(0x413)](),this[_0x57fefd(0x1ee)]();}[_0x530ea4(0x33f)](){const _0xb53f4e=_0x530ea4;this[_0xb53f4e(0x22a)]();}[_0x530ea4(0x413)](){const _0x4a1f94=_0x530ea4;var _0x4446ee;const _0x41a874=[[_0x3e294f],[_0x111326],[_0x4e7530],[_0x2a5f6a],[_0x50ea68],[_0x2d199b,{'useClass':_0x5bd741}],[_0x254943[_0x4a1f94(0x233)],{'useClass':_0x254943[_0x4a1f94(0x3c6)]}],[_0x5a7b55[_0x4a1f94(0x294)],{'useClass':_0x35301a}],[_0x5527a1[_0x4a1f94(0x42a)]],[_0x282265],[_0x257a98],[_0x201d0c],[_0x25d763],[_0x5527a1[_0x4a1f94(0x37b)]]];_0x1f0a18[_0x4a1f94(0x28a)](this[_0x4a1f94(0x335)],_0x1f0a18[_0x4a1f94(0x1f6)](_0x41a874,(_0x4446ee=this[_0x4a1f94(0x293)])==null?void 0x0:_0x4446ee['override']));}[_0x530ea4(0x22a)](){const _0x47b4d9=_0x530ea4;this[_0x47b4d9(0x3b8)](this[_0x47b4d9(0x1c3)][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x389)],[_0x2d1851])),this[_0x47b4d9(0x3b8)](this['_renderManagerService'][_0x47b4d9(0x216)](_0x1f0a18[_0x47b4d9(0x358)][_0x47b4d9(0x1ff)],[_0xbcec20]));}[_0x530ea4(0x1ee)](){const _0x264993=_0x530ea4;_0x1f0a18[_0x264993(0x426)](this[_0x264993(0x335)],[[_0x201d0c],[_0x5527a1[_0x264993(0x42a)]],[_0x282265],[_0x257a98],[_0x5527a1['CollaborationDataLoaderController']]]);}},_0x23c91e(_0x5527a1[_0x530ea4(0x42c)],_0x530ea4(0x29d),_0x39274e),_0x5527a1['UniverCollaborationClientUIPlugin']=_0x5b73b2([_0x1f0a18[_0x530ea4(0x3cd)](_0x5a7b55[_0x530ea4(0x411)]),_0xd6f6e0(0x1,_0x1b328b[_0x530ea4(0x2af)]),_0xd6f6e0(0x2,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18[_0x530ea4(0x1e1)])),_0xd6f6e0(0x3,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['UniverCollaborationClientUIPlugin']);var _0x32d56=Object[_0x530ea4(0x201)],_0x29468d=(_0x420523,_0x1b0682,_0x42ac1f,_0x1ea4b7)=>{const _0x3f42c1=_0x530ea4;for(var _0x1856b5=_0x1ea4b7>0x1?void 0x0:_0x1ea4b7?_0x32d56(_0x1b0682,_0x42ac1f):_0x1b0682,_0x3232c5=_0x420523[_0x3f42c1(0x2ee)]-0x1,_0x21fad1;_0x3232c5>=0x0;_0x3232c5--)(_0x21fad1=_0x420523[_0x3232c5])&&(_0x1856b5=_0x21fad1(_0x1856b5)||_0x1856b5);return _0x1856b5;},_0x44494e=(_0x4f9eae,_0x1a80ff)=>(_0x1aa4dc,_0x2b6f49)=>_0x1a80ff(_0x1aa4dc,_0x2b6f49,_0x4f9eae);_0x5527a1[_0x530ea4(0x37a)]=class extends _0x5a7b55[_0x530ea4(0x296)]{constructor(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3){super(_0x57edf6,_0x139775,_0x2554ae,_0x239847,_0x5843a3);}async[_0x530ea4(0x22b)](_0x2cd8f8){const _0x1d40b1=_0x530ea4,_0x2a6204=await this[_0x1d40b1(0x2c4)](),_0xfd03cc=this[_0x1d40b1(0x287)](_0x2cd8f8,_0x2a6204);return this[_0x1d40b1(0x2b2)](_0xfd03cc);}[_0x530ea4(0x287)](_0x418b69,_0x23afbb){const _0x2eddae=_0x530ea4,_0x27d61d=typeof window>'u'?new URL(_0x418b69):new URL(_0x418b69,window['location'][_0x2eddae(0x43e)]);_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x3a8),_0x23afbb);const _0x8b1de2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2eddae(0x388)]);return _0x8b1de2[_0x2eddae(0x22f)]('runId')&&_0x27d61d[_0x2eddae(0x325)][_0x2eddae(0x3ec)](_0x2eddae(0x42e),_0x8b1de2['get'](_0x2eddae(0x42e))),_0x27d61d['toString']();}async[_0x530ea4(0x2c4)](){const _0xb8ea15=_0x530ea4;var _0x3ef86d,_0x79f613,_0x576c4b;const _0x25e884=this[_0xb8ea15(0x339)]['getConfig'](_0x5a7b55[_0xb8ea15(0x443)]),_0x11c523=(_0x3ef86d=_0x25e884==null?void 0x0:_0x25e884[_0xb8ea15(0x3d3)])!=null?_0x3ef86d:_0x5a7b55[_0xb8ea15(0x1f0)];return(_0x576c4b=(_0x79f613=(await this[_0xb8ea15(0x20c)][_0xb8ea15(0x22f)](_0x11c523,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x79f613['ticket'])!=null?_0x576c4b:'';}},_0x5527a1[_0x530ea4(0x37a)]=_0x29468d([_0x44494e(0x0,_0x1f0a18[_0x530ea4(0x41d)](_0x1f0a18['Injector'])),_0x44494e(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943[_0x530ea4(0x2a6)])),_0x44494e(0x2,_0x1f0a18[_0x530ea4(0x3fe)]),_0x44494e(0x3,_0x1f0a18[_0x530ea4(0x1ae)]),_0x44494e(0x4,_0x1cac3e[_0x530ea4(0x2f1)])],_0x5527a1[_0x530ea4(0x37a)]);const _0x50c5fa=0x7530,_0x305c8d=_0x530ea4(0x2dc);class _0x58e646 extends _0x1f0a18[_0x530ea4(0x3bd)]{constructor(){const _0x7618cc=_0x530ea4;super(),_0x1b53be(this,_0x7618cc(0x246),_0x1f0a18['generateRandomId']()),_0x1b53be(this,'_selfUnitIDs',new Set()),_0x1b53be(this,_0x7618cc(0x279),new Map()),_0x1b53be(this,_0x7618cc(0x1dc),null),_0x1b53be(this,_0x7618cc(0x2c9),new Map()),_0x1b53be(this,_0x7618cc(0x224),new Map()),this[_0x7618cc(0x30a)]();}[_0x530ea4(0x342)](){const _0x475ccd=_0x530ea4;super[_0x475ccd(0x342)](),this[_0x475ccd(0x2c9)]['forEach']((_0x213fe6,_0x3832e3)=>this[_0x475ccd(0x309)](_0x3832e3)),this[_0x475ccd(0x1dc)]&&window['clearInterval'](this[_0x475ccd(0x1dc)]);}[_0x530ea4(0x3b3)](_0x4c9b40){const _0x2e6b02=_0x530ea4;return this[_0x2e6b02(0x449)](_0x4c9b40)[_0x2e6b02(0x420)](_0x5900c2['distinctUntilChanged']());}['editingUnit'](_0x36de5c){const _0x85b223=_0x530ea4;this[_0x85b223(0x20a)]['size']===0x0&&this[_0x85b223(0x295)](),this[_0x85b223(0x20a)]['add'](_0x36de5c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x36de5c],'isForwarded':!0x1});}[_0x530ea4(0x2ac)](_0x3528e9){const _0x1b110d=_0x530ea4;this[_0x1b110d(0x20a)][_0x1b110d(0x222)](_0x3528e9),this[_0x1b110d(0x20a)][_0x1b110d(0x383)]===0x0&&this[_0x1b110d(0x1dc)]&&window[_0x1b110d(0x3f5)](this[_0x1b110d(0x1dc)]);}[_0x530ea4(0x30a)](){const _0x12e1c8=_0x530ea4;this[_0x12e1c8(0x3b8)](_0x1f0a18['toDisposable'](_0x5900c2[_0x12e1c8(0x2e5)](window,_0x12e1c8(0x219))[_0x12e1c8(0x272)](_0x25a25a=>{const _0x50287b=_0x12e1c8;if(_0x25a25a['key']!==_0x305c8d||!_0x25a25a['newValue'])return;const _0x26f3b5=JSON['parse'](_0x25a25a[_0x50287b(0x36f)]);this['_handleEvent'](_0x26f3b5);}))),window[_0x12e1c8(0x1d1)](_0x12e1c8(0x252),()=>this[_0x12e1c8(0x2d6)]({'type':0x1,'memberID':this[_0x12e1c8(0x246)],'unitIDs':Array[_0x12e1c8(0x1d2)](this[_0x12e1c8(0x20a)])}));}['_handleEvent'](_0x182854){const _0x1a3096=_0x530ea4;switch(_0x182854[_0x1a3096(0x3b9)]){case 0x0:this[_0x1a3096(0x41f)](_0x182854);break;case 0x1:this[_0x1a3096(0x396)](_0x182854);break;case 0x2:this[_0x1a3096(0x366)](_0x182854);break;}}[_0x530ea4(0x41f)](_0x5c8559){const _0x1b929d=_0x530ea4,{unitIDs:_0x3086fd,memberID:_0x4a8b95,isForwarded:_0x1f3957}=_0x5c8559;_0x3086fd[_0x1b929d(0x371)](_0x4f052a=>{const _0x1bc0bd=_0x1b929d;if(!_0x1f3957&&this['_unitOnClients']['has'](_0x4f052a)&&this[_0x1bc0bd(0x449)](_0x4f052a)['next'](_0x5a7b55[_0x1bc0bd(0x433)][_0x1bc0bd(0x1cc)]),!this[_0x1bc0bd(0x279)][_0x1bc0bd(0x447)](_0x4f052a)||!this[_0x1bc0bd(0x279)]['get'](_0x4f052a)[_0x1bc0bd(0x447)](_0x4a8b95)){const _0x1ecf8b=this[_0x1bc0bd(0x279)][_0x1bc0bd(0x22f)](_0x4f052a)||new Set();_0x1ecf8b[_0x1bc0bd(0x20b)](_0x4a8b95),this['_unitOnClients'][_0x1bc0bd(0x3ec)](_0x4f052a,_0x1ecf8b),this[_0x1bc0bd(0x2b3)](_0x4a8b95);}}),_0x1f3957||this[_0x1b929d(0x2d6)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1b929d(0x20a)]],'isForwarded':!0x0});}[_0x530ea4(0x2b3)](_0x30366a){const _0x2eb3a3=_0x530ea4;this[_0x2eb3a3(0x309)](_0x30366a);const _0x256938=window[_0x2eb3a3(0x2ec)](()=>{const _0x2b64ed=_0x2eb3a3;this[_0x2b64ed(0x279)][_0x2b64ed(0x371)](_0x2dc6c2=>{const _0x16db50=_0x2b64ed;_0x2dc6c2[_0x16db50(0x222)](_0x30366a);});},_0x50c5fa*0x2);this[_0x2eb3a3(0x2c9)][_0x2eb3a3(0x3ec)](_0x30366a,_0x256938);}[_0x530ea4(0x309)](_0x31663c){const _0x29954f=_0x530ea4;if(this['_clearOtherTimers'][_0x29954f(0x447)](_0x31663c)){const _0x4673ea=this['_clearOtherTimers'][_0x29954f(0x22f)](_0x31663c);_0x4673ea&&window['clearTimeout'](_0x4673ea),this[_0x29954f(0x2c9)][_0x29954f(0x3ec)](_0x31663c,null);}}[_0x530ea4(0x396)](_0x5b8982){const _0x5393a6=_0x530ea4,{memberID:_0x45ad55,unitIDs:_0x13ce30}=_0x5b8982;_0x13ce30['forEach'](_0x2dd6d9=>{const _0x47303e=_0x1efe;var _0xb2028f;const _0x57cf6b=this[_0x47303e(0x279)]['get'](_0x2dd6d9);_0x57cf6b&&(_0x57cf6b[_0x47303e(0x222)](_0x45ad55),(_0xb2028f=this[_0x47303e(0x449)](_0x2dd6d9))==null||_0xb2028f['next'](_0x57cf6b[_0x47303e(0x383)]===0x0?_0x5a7b55['UnitStatus'][_0x47303e(0x1cd)]:_0x5a7b55[_0x47303e(0x433)][_0x47303e(0x1cc)]));}),this[_0x5393a6(0x309)](_0x45ad55);}[_0x530ea4(0x366)](_0x56ce93){const _0x5e3ef1=_0x530ea4;this[_0x5e3ef1(0x2b3)](_0x56ce93[_0x5e3ef1(0x377)]);}[_0x530ea4(0x2d6)](_0x24a42e){const _0x4b98ef=_0x530ea4;localStorage[_0x4b98ef(0x284)](_0x305c8d,JSON[_0x4b98ef(0x33c)](_0x24a42e));}[_0x530ea4(0x295)](){const _0x27c3e6=_0x530ea4;this['_heartbeatTimer']=window[_0x27c3e6(0x2d2)](()=>{const _0x50eea4=_0x27c3e6;this[_0x50eea4(0x2d6)]({'type':0x2,'memberID':this[_0x50eea4(0x246)]});},_0x50c5fa);}['_ensureSubject'](_0x53f4f6){const _0x3ae2df=_0x530ea4;return this['_unitStatus'][_0x3ae2df(0x447)](_0x53f4f6)||this[_0x3ae2df(0x224)]['set'](_0x53f4f6,new _0x5900c2[(_0x3ae2df(0x1d9))](_0x5a7b55[_0x3ae2df(0x433)][_0x3ae2df(0x1cd)])),this[_0x3ae2df(0x224)][_0x3ae2df(0x22f)](_0x53f4f6);}}var _0x4cb49e=(_0x522874=>(_0x522874[_0x522874[_0x530ea4(0x3a7)]=0x0]=_0x530ea4(0x3a7),_0x522874[_0x522874['OK']=0x1]='OK',_0x522874[_0x522874['INTERNAL_ERROR']=0x2]=_0x530ea4(0x2a9),_0x522874[_0x522874[_0x530ea4(0x1ed)]=0x3]='PERMISSION_DENIED',_0x522874[_0x522874[_0x530ea4(0x29b)]=0x4]=_0x530ea4(0x29b),_0x522874[_0x522874['UNAUTHENTICATED']=0x5]=_0x530ea4(0x2ed),_0x522874[_0x522874[_0x530ea4(0x255)]=0x6]=_0x530ea4(0x255),_0x522874[_0x522874[_0x530ea4(0x448)]=0x7]=_0x530ea4(0x448),_0x522874[_0x522874[_0x530ea4(0x416)]=0x8]=_0x530ea4(0x416),_0x522874[_0x522874[_0x530ea4(0x2b8)]=0x9]=_0x530ea4(0x2b8),_0x522874[_0x522874[_0x530ea4(0x1d4)]=0xa]=_0x530ea4(0x1d4),_0x522874[_0x522874[_0x530ea4(0x2e0)]=0xb]=_0x530ea4(0x2e0),_0x522874[_0x522874['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x530ea4(0x2ce),_0x522874[_0x522874[_0x530ea4(0x234)]=0xd]=_0x530ea4(0x234),_0x522874[_0x522874[_0x530ea4(0x1a2)]=0xe]=_0x530ea4(0x1a2),_0x522874[_0x522874[_0x530ea4(0x1af)]=0x1389]=_0x530ea4(0x1af),_0x522874[_0x522874[_0x530ea4(0x3dd)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x522874[_0x522874[_0x530ea4(0x214)]=0x1772]=_0x530ea4(0x214),_0x522874[_0x522874[_0x530ea4(0x381)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x522874[_0x522874[_0x530ea4(0x28d)]=0x1b59]='APPLY_REJECT',_0x522874[_0x522874[_0x530ea4(0x2f0)]=0x1b5a]=_0x530ea4(0x2f0),_0x522874[_0x522874[_0x530ea4(0x23d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x522874[_0x522874[_0x530ea4(0x399)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x522874[_0x522874['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x522874[_0x522874[_0x530ea4(0x2e6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x522874[_0x522874[_0x530ea4(0x1bd)]=0x2329]=_0x530ea4(0x1bd),_0x522874[_0x522874[_0x530ea4(0x44d)]=0x232a]=_0x530ea4(0x44d),_0x522874[_0x522874[_0x530ea4(0x376)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x522874[_0x522874['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x530ea4(0x393),_0x522874[_0x522874['LICENSE_DISTRO_REJECTED']=0x232d]=_0x530ea4(0x44c),_0x522874[_0x522874[_0x530ea4(0x22d)]=0x2711]=_0x530ea4(0x22d),_0x522874[_0x522874[_0x530ea4(0x34f)]=0x2712]=_0x530ea4(0x34f),_0x522874[_0x522874[_0x530ea4(0x369)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x522874[_0x522874[_0x530ea4(0x41c)]=0x2714]=_0x530ea4(0x41c),_0x522874[_0x522874['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x530ea4(0x37d),_0x522874[_0x522874[_0x530ea4(0x2e2)]=0x271b]=_0x530ea4(0x2e2),_0x522874[_0x522874[_0x530ea4(0x220)]=0x271c]=_0x530ea4(0x220),_0x522874[_0x522874[_0x530ea4(0x397)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x522874[_0x522874[_0x530ea4(0x2f7)]=0x271e]=_0x530ea4(0x2f7),_0x522874[_0x522874[_0x530ea4(0x446)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x522874[_0x522874[_0x530ea4(0x329)]=0x2720]=_0x530ea4(0x329),_0x522874[_0x522874[_0x530ea4(0x25f)]=0x2af9]=_0x530ea4(0x25f),_0x522874[_0x522874[_0x530ea4(0x253)]=0x2ee1]=_0x530ea4(0x253),_0x522874[_0x522874[_0x530ea4(0x2a7)]=0x2ee2]=_0x530ea4(0x2a7),_0x522874[_0x522874[_0x530ea4(0x3fa)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x522874[_0x522874['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x522874[_0x522874[_0x530ea4(0x38c)]=0x2ee5]=_0x530ea4(0x38c),_0x522874[_0x522874[_0x530ea4(0x2bd)]=0x32c9]=_0x530ea4(0x2bd),_0x522874[_0x522874[_0x530ea4(0x301)]=0x32ca]=_0x530ea4(0x301),_0x522874[_0x522874[_0x530ea4(0x27e)]=0x32cb]=_0x530ea4(0x27e),_0x522874[_0x522874[_0x530ea4(0x1e3)]=-0x1]=_0x530ea4(0x1e3),_0x522874))(_0x4cb49e||{}),_0x1c9548=Object[_0x530ea4(0x201)],_0x5638ff=(_0x21f438,_0x4b63a7,_0x5d0c09,_0xcf8e6)=>{const _0x527d50=_0x530ea4;for(var _0x47cddc=_0xcf8e6>0x1?void 0x0:_0xcf8e6?_0x1c9548(_0x4b63a7,_0x5d0c09):_0x4b63a7,_0x50ba5e=_0x21f438[_0x527d50(0x2ee)]-0x1,_0x1a2f8a;_0x50ba5e>=0x0;_0x50ba5e--)(_0x1a2f8a=_0x21f438[_0x50ba5e])&&(_0x47cddc=_0x1a2f8a(_0x47cddc)||_0x47cddc);return _0x47cddc;},_0x246f37=(_0x4440ca,_0x16d64d)=>(_0x593eef,_0x41f47a)=>_0x16d64d(_0x593eef,_0x41f47a,_0x4440ca);_0x5527a1['RemoteUniscriptService']=class extends _0x1f0a18['Disposable']{constructor(_0x3e64a6,_0x53003c,_0x5e32c5){const _0x3b9d81=_0x530ea4;super(),this[_0x3b9d81(0x298)]=_0x3e64a6,this[_0x3b9d81(0x20c)]=_0x53003c,this[_0x3b9d81(0x339)]=_0x5e32c5;}async[_0x530ea4(0x407)](_0x205169,_0x4be83c,_0x520747,..._0x4448ae){const _0x85588b=_0x530ea4;var _0x1983d2,_0x4dc89a,_0x4c12c1,_0xd25412;const _0x2035cb=this['_instanceService'][_0x85588b(0x3d6)]();if(!_0x2035cb)throw new Error(_0x85588b(0x336));const _0x16f7b5=((_0x1983d2=this[_0x85588b(0x339)]['getConfig'](_0x5a7b55[_0x85588b(0x31d)]))!=null?_0x1983d2:_0x5a7b55[_0x85588b(0x3b6)])+'/'+_0x205169+_0x85588b(0x32b)+_0x4be83c,_0x58408b=new URL(window[_0x85588b(0x23a)]['href']),_0x275bbe={'scriptId':_0x205169,'runId':(_0x4dc89a=_0x58408b[_0x85588b(0x325)][_0x85588b(0x22f)](_0x85588b(0x42e)))!=null?_0x4dc89a:'','function':_0x4be83c,'unitId':_0x2035cb[_0x85588b(0x1e8)](),'argsOfFunction':JSON[_0x85588b(0x33c)](_0x4448ae),'invokeId':(_0x4c12c1=_0x520747[_0x85588b(0x229)])!=null?_0x4c12c1:'','executionId':(_0xd25412=_0x520747[_0x85588b(0x280)])!=null?_0xd25412:''};try{const _0x253163=await this['_httpService'][_0x85588b(0x319)](_0x16f7b5,{'body':_0x275bbe});return _0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]&&_0x253163[_0x85588b(0x414)][_0x85588b(0x31b)]['code']!==_0x4cb49e['OK']?_0x85588b(0x35d):_0x253163[_0x85588b(0x414)]['result'];}catch{return _0x85588b(0x35d);}}},_0x5527a1[_0x530ea4(0x351)]=_0x5638ff([_0x246f37(0x0,_0x1f0a18[_0x530ea4(0x2db)]),_0x246f37(0x1,_0x1f0a18[_0x530ea4(0x41d)](_0x254943['HTTPService'])),_0x246f37(0x2,_0x1f0a18[_0x530ea4(0x3fe)])],_0x5527a1['RemoteUniscriptService']),_0x5527a1[_0x530ea4(0x440)]=_0x4da86a,_0x5527a1[_0x530ea4(0x419)]=_0x2d199b,_0x5527a1['SheetCollabCursorShape']=_0x4b5ae2,_0x5527a1[_0x530ea4(0x27a)]=_0x58e646,_0x5527a1[_0x530ea4(0x262)]=_0x5bd741,Object[_0x530ea4(0x36e)](_0x5527a1,Symbol[_0x530ea4(0x217)],{'value':'Module'});}));function _0x1efe(_0x520d97,_0x2fb2d2){const _0x55f24e=_0x55f2();return _0x1efe=function(_0x1efebe,_0x1b827c){_0x1efebe=_0x1efebe-0x1a2;let _0x23fe5e=_0x55f24e[_0x1efebe];return _0x23fe5e;},_0x1efe(_0x520d97,_0x2fb2d2);}function _0x55f2(){const _0x20240b=['INVALID_INVITE_CODE','_docSkeleton','INTERNAL_ERROR','Shape','_onCursorDelete','disposeUnit','OffLineIcon','reconnect','IRenderManagerService','transform','RemoveColCommandId','_doCreateSocket','_scheduleClearOtherTimer','CollaborationController','CommandType','@univerjs/engine-formula','bottom','COMPLETION_FINISHED','data','_assignedColors','RxDisposable','OTHER_CLIENT_EDITING','WECHAT_HAS_BEEN_BOUND','0\x200\x2017\x2016','on-line-icon','@univerjs/engine-render','_updateCollabCursors','Tooltip','saveTaskMap','_getSessionTicket','DisposableCollection','forwardRef','SHEET_VIEWPORT_KEY','find','_clearOtherTimers','url(#on-line-icon_clip0_910_349)','DocCollaborationEntity','row','_univerInstanceService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DataLoaderService','ThemeService','contains','setInterval','saveImage','apply','USERS_LEAVE','_send','_dataLoaderService','session.collaboration-timeout','_drawAnchor','collaboration.single-unit.warning','IUniverInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','_online','M0\x200H16V16H0z','DOC_RANGE_TYPE','MOBILE_VERIFY_CODE_MISMATCH','UniverDrawing','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','labelPosition','fromEvent','CONNECTOR_DATA_TOO_LARGE','findNodePositionByCharIndex','roomMembers','createInstance','unsubscribe','cursorInfo','setTimeout','UNAUTHENTICATED','length','session.connection-failed','APPLY_NON_SEQUENTIAL_REVISION','ISnapshotServerService','INotificationService','_removeCollabCursors','textRanges','NOT_COLLAB','collab-text-range-','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subUnitId','EffectRefRangId','_updateURLWithCurrentState','_hover','endColumn','_startSheetCollabCursor','_range','measureText','docStateChange$','MOBILE_HAS_BEEN_BOUND','_transformHistoryAndStateStack','toDisposable','_initStatusComponent','saveOfflineData','_hovered','isArray','actions','_removeClearOtherTimer','_init','getRenderById','_saveTaskMap','min','_cursorInfo$','deserializeRangeWithSheet','values','Rect','_saveCache','SessionStatus','@univerjs/sheets-ui','sheetID','collabStatus.offline','UniverSheetsUi','cursorInfo$','post','@univerjs/drawing','error','displayName','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration-client','history','indexOf','executeCommand','setConfig','_imageIoService','top','searchParams','setActiveRange','_handleHover','_name','YUUMI_CONNECTOR_URL_NOT_FOUND','_color','/run/','@univerjs/sheets','#FFF','_disabled','Tools','column','off-line-icon_clip0_910_343','SUBMIT_CHANGESET_TIMEOUT','sessionStatus$','with','_injector','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleInsertRow','LocaleService','_configService','10xstveY','closePath','stringify','_drawTextRange','deepClone','onRendered','...','_themeService','dispose','assignAColorForMemberID','_toggleOffline','InsertRangeMoveDownCommandId','_initEvent','colorChannel1','operators','handleIRemoveRow','unshift','toRgbString','_startDocCollabCursor','_notificationService','transformStateCache','YUUMI_URL_COL_OUT_OF_RANGE','SheetsSelectionsService','RemoteUniscriptService','InsertColCommandId','transformMutationsWithChangeset','currentColor','ILocalStorageService','_onCursorUpdate','params','UniverInstanceType','_transformPreviousActiveRange','rxjs','subunit','getCollabEntity$','Failed','merge','getDocRanges','SetDocZoomRatioOperation','complete','requireSession','enableLocalCache','MoveRangeCommandId','132303hQPSJR','_handleHeartbeatEvent','transformIMECache','registerBeforeClose','YUUMI_RATE_OVER_LIMIT','push','RichTextEditingMutation','getTypeOfUnitAdded$','removeParam','defineProperty','newValue','backgroundColor','forEach','_cachedData','_docTransformSelectionsService','jsxs','UniverIcon','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','_beforeCloseService','HEADER_MENU','BrowserCollaborationSocketService','CollaborationDataLoaderController','SheetSkeletonManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','prototype','3nifveG','asObservable','ENSURE_SNAPSHOT_EXECUTION','setAlpha','size','InsertRangeMoveRightCommandId','collabStatus.synced','_getScale','getStateCache','search','UNIVER_DOC','_initStatusListener','_urlService','INVITE_CODE_ALREADY_BOUND','IMessageService','React','UniverNetwork','getRelativeToViewportCoord','restore','makeDirty','LICENSE_EXPORT_SIZE_EXCEEDED','div','setParam','_handleLeaveEvent','YUUMI_ALL_TABLES_IS_INVALID','startsWith','APPLY_PERMISSION_DENIED','_getMergeRange','string','NodePositionConvertToRectRange','Unknown\x20user','amd','UniverDesign','_document','runRefRangeMutations','CollaborationSessionService','MemberService','fillStyle','getUnhiddenWorksheets','off-line-icon','UNDEFINED','sessionTicket','setStateCache','_refreshCollabCursors','collabStatus.conflict','_cursorShapes','310632sCcUDY','_docTransformStateCacheService','arc','_docTransformIMECacheService','CollaborationUIEventId','OFFLINE','getUnitStatus$','_syncEditingCollabCursorService','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/ui','disposeWithMe','type','currentSkeleton$','_labelPosition','UPDATE_CURSOR','Disposable','getCollabCursors$','getOffsetConfig','addObject','tag','_commandService','UniverSheets','COLORS','createIdentifier','WebSocketService','jsx','RECT','evenodd','ONLINE','IUIPartsService','onPointerMove$','DependentOn','hide','skeleton','path','pushState','http://www.w3.org/2000/svg','wsSessionTicketUrl','CollaborationStatus','@univerjs/rpc','getFocusedUnit','ICommandService','jiqing.500','max','isTransformMutationFailure','TEXT','isTransformMutationsWithChangesetSuccess','SNAPSHOT_INVALID_SNAPSHOT','UniverEngineFormula','_backgroundColor','fillRule','collabCursorState$','getMergeData','getCurrentUnitForType','_initEntityListener','getColorFromTheme','ColorKit','all','_status$','uni.network.url-service','SetWorksheetActivateCommand','startRow','set','engine','_context','_colorIndex','unitId','_initResize','DocSkeletonManagerService','_docClipboardService','1544072jwLgsY','clearInterval','DocSelectionManagerService','replace','getSheetBySheetId','RemoveRowCommandId','INVITE_CODE_REQUIRED','onCommandExecuted','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_memberService','IConfigService','url(#$1','drawWith','idSuffix','moveTo','_drawRectRange','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','getMember','_anchor','runOnServer','_getSaveTimeout','593674jfJIoh','show','handleMoveRange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleIRemoveCol','mapTo','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs-pro/collaboration','UniverCollaborationClientPlugin','save','_registerDependencies','body','switchMap','TOO_MANY_REQUESTS','beginPath','toString','IURLService','imageSourceType','_initCommandExecutedListener','YUUMI_SUBSCRIPTION_NOT_FOUND','Inject','ITransformService','_handleJoinEvent','pipe','combineLatest','188Stfalr','UniverDocsUi','then','@univerjs/docs','touchDependencies','setUndoRedoMutationParamsCache','next','_shapes','DesktopCollaborationStatusDisplayController','Error','UniverCollaborationClientUIPlugin','getActiveSheet','runId','_scene','collaboration.closeRoom','isActive','Optional','UnitStatus','rxjs/operators','SOCKET_FAILED','connectInjector','height','round','2647314dZdlgj','setShapeProps','_uiPartsService','trim','urlChange$','origin','react','CollaborationStatusDisplay','_docSkeletonManagerService','useDependency','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','random','exports','YUUMI_AI_RUN_FAILED','has','INVALID_ARGUMENT','_ensureSubject','onTransformChange$','white','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addHandlerCallback','useRef','defIds','triggerDblclick','UniverCore','_sheetSkeletonManagerService','getSheetId','_session','m2Prime','4025799MrTtcN','NodePositionConvertToCursor','ILogService','CHANGESET_REVISION_CONFILICT','onPointerEnter$','Rectangle','text','syncEditingCollabCursor','color','univerjs-icon\x20univerjs-icon-','hasOwnProperty','current','MessageType','defs','on-line-icon_clip0_910_349','SetSelectionsOperation','includes','LICENSE_MAX_UNITS_EXCEEDED','isEditing','_collaborationController','replaceState','_updateLocalCursor','lineTo','_renderManagerService','fill','collaboration-client.offline-data-not-saved','getSkeleton','Subject','undoState','_messageService','_localeService','FETCH_MISS','OTHER_CLIENTS_EDITING','NO_OTHER_CLIENTS_EDITING','DeleteRangeMoveLeftCommandId','useCallback','getCellPositionByOffset','addEventListener','from','_roomMembers$','LOGIN_FAILED','transformMutation','AWAITING_WITH_PENDING','_collabCursorController','mask','BehaviorSubject','univer-flex\x20univer-items-center','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_heartbeatTimer','_entities','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','subscribeEvent','Warning','Injector','attrs','UNRECOGNIZED','getValue','_cursor','fillText','status$','getUnitId','RefRangeService','useObservable','0\x200\x2016\x2016','transformByState','PERMISSION_DENIED','_initDependencies','range','DEFAULT_WS_SESSION_TICKET_URL','startColumn','replaceDocRanges','_logService','OnLineIcon','_colorAssignService','mergeOverrideWithDependencies','propertyIsEnumerable','_setupBeforeClosingHandler','disableLocalCache','@univerjs/design','getColor','_cursors','UniverEngineRender','AWAITING','UNIVER_SHEET','getCoordByCell','getOwnPropertyDescriptor','_updateSubUnitFromURLParams','map','getUndoRedoMutationParamsCache','IImageIoService','unit','className','href','onStarting','_selfUnitIDs','add','_httpService','throttleTime','black','DocIMEInputManagerService','selection','dispose$','loadUnit','[CollaborationDataLoaderController]','SNAPSHOT_HAS_BEEN_REMOVED','RegularPolygon','registerRenderModule','toStringTag','CLOSE_ROOM','storage','debug','exhaustSavingTask','_scheduleSaving','event$','red.300','_onRefRangeChange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clearTimeout','delete','getCurrent','_unitStatus','FromArray','registerRefRange','_entityInit$','extend','invokeId','_registerRenderDependencies','createSocket','popstate','YUUMI_UNABLE_LOAD_URL','roomMembers$','get','_hideTimer','none','CollaborationEvent','ISocketService','EMAIL_VERIFY_CODE_MISMATCH','purple.300','getSheetObject','transformSelections','collab-text-anchor-','icon','location','generateRandomId','object','APPLY_REVISION_CONFILICT','call','_revisionService','children','_collabSessionService','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','5345EdxZPP','CONFLICT','onPointerLeave$','_id','handleInsertCol','debounce','name','takeUntil','getAncestorScale','LOCAL_CACHE_INTERVAL_KEY','Vector2','translate(.97)','onMouseMove','sheetId','concat','unload','INVITE_CODE_HAS_BEEN_UES','1em','ALREADY_EXISTS','_textBubble','_lastPointer','onLocalMutation','_getAnchorBounding','yellow.400','handleInsertRangeMoveRight','width','_refRangeService','_toggleOnline','PY_RUNTIME_SCRIPT_ERROR','blue.400','getRangePointData','WebURLService','some','Workbook','_anchorDot','_localStorageService','_transformUndoRedoStack','getCurrentRevOfUnit','IDocClipboardService','fromEventSubject','addClipboardHook','currentTheme$','filter','getLocalCacheKey','clipPath','_eventUnsubscribe','redoState','subscribe','getParam','send','unitID','UniverProCollaboration','_docStateChangeManagerService','use','_unitOnClients','WebBrowserSingleActiveUnitService','getOwnPropertySymbols','permission.content','green.600','EMAIL_HAS_BEEN_BOUND','getMemberID','executionId','substring','UniverProCollaborationClient','IBeforeCloseService','setItem','debounceTime','endRow','_createSocketURL','JOIN_ROOM_FAILED','eventID','registerDependencies','function','createElement','APPLY_REJECT','ranges','doc.mutation.rich-text-editing','DocStateChangeManagerService','_render','assign','_config','ILocalCacheService','_scheduleHeartbeat','CollaborationSocketService','_transformService','_instanceService','_getSheetObject','_localCacheService','NOT_FOUND','xlink:href','pluginName','TEXT_RANGE_LAYER_INDEX','init','getConfig','entityInit$','mutations','m1Prime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformRemoteChangeset','HTTPService'];_0x55f2=function(){return _0x20240b;};return _0x55f2();}
1
+ function _0xdb75(){const _0x27fcdc=['INVITE_CODE_REQUIRED','save','_hovered','CHANGESET_REVISION_CONFILICT','measureText','combineLatest','PY_RUNTIME_SCRIPT_ERROR','useObservable','ILocalStorageService','LOGIN_FAILED','YUUMI_CONNECTOR_URL_NOT_FOUND','TEXT','width','triggerDblclick','saveImage','trim','size','USER_NOT_INVITED_CODE','bottom','_injector','key','DeleteRangeMoveLeftCommandId','includes','hasOwnProperty','setTimeout','_unitOnClients','_memberService','IConfigService','focused$','getSheetId','_messageService','_configService','YUUMI_RATE_OVER_LIMIT','_univerInstanceService','event$','red.300','InsertRowCommandId','_toggleOffline','max','column','setAlpha','isTransformMutationFailure','clsx','_saveTaskMap','_anchor','pipe','svg','@univerjs/engine-formula','set','EMAIL_HAS_BEEN_BOUND','UPDATE_CURSOR','COLORS','findNodePositionByCharIndex','@univerjs/drawing','INVITE_CODE_ALREADY_BOUND','Rectangle','m1Prime','disposeUnit','_docTransformSelectionsService','call','_drawAnchor','YUUMI_UNABLE_LOAD_URL','_renderManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','xlink:href','wsSessionTicketUrl','LICENSE_DISTRO_REJECTED','replaceDocRanges','makeDirty','http://www.w3.org/2000/svg','concat','getMember','isArray','round','unitID','[CollaborationDataLoaderController]','_initCommandExecutedListener','textRanges','InsertColCommandId','top','OnLineIcon','switchMap','DocSelectionManagerService','CollaborationSessionService','_entityInit$','getViewport','collabStatus.conflict','setInterval','_beforeCloseService','endRow','_logService','_httpService','startColumn','defIds','isTransformMutationsWithChangesetSuccess','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_commandService','asObservable','_transformPreviousActiveRange','IBeforeCloseService','_removeClearOtherTimer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UNAUTHENTICATED','_disabled','59oNpCzU','INVALID_ARGUMENT','0\x200\x2016\x2016','_removeCollabCursors','getConfig','getCurrentRevOfUnit','next','ThemeService','amd','session.connection-failed','merge','TEXT_RANGE_LAYER_INDEX','pushState','IRenderManagerService','getSheetObject','_setupBeforeClosingHandler','EffectRefRangId','getUniverSheetInstance','IUniverInstanceService','off-line-icon','_transformHistoryAndStateStack','syncEditingCollabCursor','getTypeOfUnitAdded$','RevisionService','SheetSkeletonManagerService','handleInsertRangeMoveDown','Disposable','_labelPosition','unitId','_getMergeRange','_getSheetObject','_saveCache','_localeService','_updateLocalCursor','selection','DEFAULT_WS_SESSION_TICKET_URL','UniverProCollaborationClientUi','redoState','getUnhiddenWorksheets','get','session.will-retry','FETCH_MISS','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','startsWith','then','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','_hideTimer','_handleEvent','getUnitStatus$','object','_render','collab-text-anchor-','_cursorShapes','_sheetSkeletonManagerService','AWAITING_WITH_PENDING','Shape','getDocRanges','RemoveColCommandId','RemoveRowCommandId','_initResize','DeleteRangeMoveUpCommandId','runOnServer','transformStateCache','getUnitId','random','Unknown\x20user','on-line-icon_clip0_910_349','_collabCursorState$','_handleLeaveEvent','params','getMergeData','useDependency','Failed','Workbook','_colorIndex','CollaborationEvent','_toggleOnline','DocStateChangeManagerService','idSuffix','addObjects','transform','1062675INABmH','ILogService','sessionStatus$','init','_backgroundColor','SetDocZoomRatioOperation','_transformService','fillRule','toRgbString','CollaborationStatus','override','getValue','transformByState','ticket','_initStatusComponent','location','shareReplay','react/jsx-runtime','operators','defs','_shapes','Warning','_heartbeatTimer','getAncestorScale','RefRangeService','_createSocketURL','USERS_LEAVE','_notificationService','path','color','ALREADY_EXISTS','WebBrowserSingleActiveUnitService','ILocalCacheService','loadUnit','contains','UniverDrawing','children','off-line-icon_clip0_910_343','onLocalMutation','UNRECOGNIZED','DataLoaderService','_cursor','dispose','UniverUi','all','IImageIoService','react','DisposableCollection','SUBMIT_CHANGESET_TIMEOUT','getFocusedUnit','url(#on-line-icon_clip0_910_349)','mapTo','JOIN_ROOM_FAILED','touchDependencies','setStateCache','removeParam','_collabCursorController','fromEvent','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','saveOfflineData','Tooltip','DocCollaborationEntity','send','function','registerRenderModule','HTTPService','transformRemoteChangeset','mutations','min','UniverDesign','INTERNAL_ERROR','_imageIoService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMemberID','HEADER_MENU','subscribe','VIEW_MAIN','createIdentifier','CLOSE_ROOM','closePath','1em','DocIMEInputManagerService','stringify','transformMutation','_scheduleClearOtherTimer','lineTo','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','setItem','split','CollaborationController','WebURLService','_name','UNIVER_DOC','_color','_scheduleHeartbeat','font','green.600','getActiveRange','_registerDependencies','fromEventSubject','@univerjs/core','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','currentColor','transformMutationsWithChangeset','search','CollaborationUIEventService','0\x200\x2017\x2016','createSocket','_collaborationUIEventService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','deepClone','_range','docStateChange$','_registerRenderDependencies','icon','tag','enableLocalCache','subunit','3514532mgfzsR','mask','body','handleIRemoveCol','fill','MessageType','_collaborationController','AWAITING','WECHAT_HAS_BEEN_BOUND','Inject','getParam','getColorFromTheme','_revisionService','registerComponent','startRow','session.collaboration-timeout','blue.400','urlChange$','SOCKET_FAILED','SetWorksheetActivateCommand','_lastPointer','RegularPolygon','onCommandExecuted','setShapeProps','use','YUUMI_SUBSCRIPTION_NOT_FOUND','undoState','extend','UniverDocs','_ensureSubject','_onRefRangeChange','entries','useRef','jiqing.500','clipPath','getOwnPropertySymbols','beginPath','generateRandomId','_onCursorDelete','_document','className','href','show','jsx','getCoordByCell','handleIRemoveRow','registerRefRange','_getSaveTimeout','UNIVER_SHEET','ISnapshotServerService','selections','MemberService','_initEvent','3132380eaZDnV','_transformUndoRedoStack','_refRangeService','collab-rect-range-','YUUMI_URL_COL_OUT_OF_RANGE','application/json','_docSkeletonManagerService','currentSkeleton$','_updateURLWithCurrentState','FromArray','YUUMI_NO_CUBOID_FOR_QUESTION','text','fillStyle','@univerjs/network','values','clearInterval','getOffsetConfig','jsxs','ISocketService','doc.mutation.rich-text-editing','drawWith','UnitStatus','SetSelectionsOperation','_anchorDot','forEach','rgba(255,\x20255,\x20255,\x200.01)','transformIMECache','parse','collaboration-client-ui.config','_handleHover','NOT_FOUND','collabCursorState$','LOCAL_CACHE_INTERVAL','getTypeOfUnitDisposed$','_colorAssignService','IMessageService','@univerjs/engine-render','getUndoRedoMutationParamsCache','PERMISSION_DENIED','data','_getScale','setConfig','onPointerEnter$','getItem','MoveRangeCommandId','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','_send','assignAColorForMemberID','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_status$','IURLService','cursorInfo$','eventID','subscribeEvent','getRenderById','height','COMPLETION_FINISHED','_clearOtherTimers','m2Prime','Optional','_docSyncEditingCollabCursorService','UniverCollaborationClientUIPlugin','2560692syZOzc','sessionTicket','_handleJoinEvent','SYNCED','NO_OTHER_CLIENTS_EDITING','purple.300','apply','_hover','serializeRangeWithSheet','Plugin','7579320gujeyw','uni.network.url-service','_startDocCollabCursor','evenodd','UniverCore','DocSkeletonManagerService','YUUMI_AI_RUN_FAILED','_refreshCollabCursors','RECT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','OffLineIcon','getSkeleton','RichTextEditingMutation','storage','_docSkeleton','_collabSessionService','SheetsSelectionsService','_docTransformIMECacheService','2297096lOdMPM','delete','_updateCollabCursors','disposeWithMe','toStringTag','loadOfflineData','EMAIL_VERIFY_CODE_MISMATCH','rxjs','_eventUnsubscribe','_getSessionTicket','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DesktopCollaborationStatusDisplayController','isEditing','getCurrentUnitForType','subUnitId','/run/','source','pluginName','with','_initDependencies','CollaborationUIEventId','_roomMembers$','IUIPartsService','collab-client.tooltip.reconnect','collab-text-range-','InsertRangeMoveDownCommandId','getRangePointData','UNDEFINED','searchParams','displayName','takeUntil','collabStatus.notCollab','_selfUnitIDs','_config','dispose$','CollaborationDataLoaderController','propertyIsEnumerable','M0\x200H16V16H0z','APPLY_REVISION_CONFILICT','ranges','roomMembers$','_scene','_onCursorUpdate','debounceTime','_initStatusListener','throttleTime','filter','@univerjs/docs-ui','url(#$1','APPLY_PERMISSION_DENIED','_localCacheService','getLocalCacheKey','LICENSE_EXPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','getSheetBySheetId','YUUMI_ALL_TABLES_IS_INVALID','range','YUUMI_ASYNCIO_CANCELLED','fillText','assign','ColorKit','error','collabStatus.syncing','Rect','OTHER_CLIENT_EDITING','cursorInfo','on-line-icon','_cursors','hide','OFFLINE','_init','getCellPositionByOffset','_online','executionId','_syncEditingCollabCursorService','forwardRef','unshift','_id','ICommandService','collaboration.closeRoom','onTransformChange$','SetTextSelectionsOperation','map','LocaleService','NOT_COLLAB','has','_docStateChangeManagerService','#FFF','_urlService','name','_entities','BrowserCollaborationSocketService','_drawTextRange','handleInsertRow','symbol','_assignedColors','useCallback','_drawRectRange','ONLINE','SessionStatus','_getAnchorBounding','LOCAL_CACHE_INTERVAL_KEY','setParam','36478nPsCwp','univerjs-icon\x20univerjs-icon-','runId','@univerjs/sheets-ui','isActive','IDocClipboardService','_setupSubUnitSync','_textBubble','restore','INVALID_INVITE_CODE','history','indexOf','addHandlerCallback','DOC_RANGE_TYPE','debounce','addObject','arc','attrs','DependentOn','replaceState','activeSheet$','_handleHeartbeatEvent','push','UniverEngineFormula','RxDisposable','actions','_unitStatus','univer-flex\x20univer-items-center','onPointerLeave$','getColor','defineProperty','getCollabCursors$','_session','Injector','string','div','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','sheetId','_themeService','labelPosition','_startSheetCollabCursor','permission.content','prototype','collaboration-client.offline-data-not-saved','_doCreateSocket','deserializeRangeWithSheet','MOBILE_VERIFY_CODE_MISMATCH','APPLY_NON_SEQUENTIAL_REVISION','add','clearTimeout','APPLY_DUPLICATED','unit','getActiveSheet','exports','origin','_context','_initEntityListener','_dataLoaderService','@univerjs/sheets','_cursorInfo$','requireSession','current','from','saveTaskMap','MOBILE_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Vector2','code','yellow.400','UniverNetwork','type','MUTATION','url(#off-line-icon_clip0_910_343)','colorChannel1','substring','Error','skeleton','_localStorageService','distinctUntilChanged','toDisposable','invokeId','black','roomMembers','CONNECTOR_DATA_TOO_LARGE','toString','createInstance','NodePositionConvertToCursor','_draw','complete','_updateSubUnitFromURLParams','ITransformService','result','SNAPSHOT_HAS_BEEN_REMOVED','_docClipboardService','_cachedData','_docTransformStateCacheService','Module','getStateCache','currentTheme$','transformSelections','...','replace','BehaviorSubject','length','Tools','onMouseMove','_uiPartsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_scheduleSaving','UniverInstanceType','getOwnPropertyDescriptor','NodePositionConvertToRectRange','row','collaboration.single-unit.warning'];_0xdb75=function(){return _0x27fcdc;};return _0xdb75();}function _0x28d1(_0x443b63,_0x4d0982){const _0xdb753f=_0xdb75();return _0x28d1=function(_0x28d143,_0x2041c4){_0x28d143=_0x28d143-0x17e;let _0x5a06a9=_0xdb753f[_0x28d143];return _0x5a06a9;},_0x28d1(_0x443b63,_0x4d0982);}(function(_0x385658,_0x4c7d5a){const _0x4491da=_0x28d1,_0x642b1a=_0x385658();while(!![]){try{const _0x39bf6b=-parseInt(_0x4491da(0x36d))/0x1*(-parseInt(_0x4491da(0x292))/0x2)+-parseInt(_0x4491da(0x3c0))/0x3+-parseInt(_0x4491da(0x22b))/0x4+parseInt(_0x4491da(0x1d1))/0x5+-parseInt(_0x4491da(0x20f))/0x6+-parseInt(_0x4491da(0x19c))/0x7+parseInt(_0x4491da(0x219))/0x8;if(_0x39bf6b===_0x4c7d5a)break;else _0x642b1a['push'](_0x642b1a['shift']());}catch(_0x26083a){_0x642b1a['push'](_0x642b1a['shift']());}}}(_0xdb75,0xc183b),function(_0x57ac6e,_0x398015){const _0xe4af87=_0x28d1;typeof exports==_0xe4af87(0x3a0)&&typeof module<'u'?_0x398015(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==_0xe4af87(0x3ff)&&define[_0xe4af87(0x375)]?define([_0xe4af87(0x2c7),'@univerjs-pro/collaboration-client',_0xe4af87(0x189),_0xe4af87(0x1f5),_0xe4af87(0x1de),_0xe4af87(0x25a),_0xe4af87(0x339),_0xe4af87(0x232),'@univerjs-pro/collaboration','@univerjs/docs',_0xe4af87(0x333),_0xe4af87(0x2cc),'rxjs/operators',_0xe4af87(0x295),_0xe4af87(0x3d1),'@univerjs/ui','@univerjs/design',_0xe4af87(0x3ee),'@univerjs/rpc'],_0x398015):(_0x57ac6e=typeof globalThis<'u'?globalThis:_0x57ac6e||self,_0x398015(_0x57ac6e[_0xe4af87(0x391)]={},_0x57ac6e['UniverProCollaborationClient'],_0x57ac6e[_0xe4af87(0x21d)],_0x57ac6e['UniverEngineRender'],_0x57ac6e[_0xe4af87(0x2d7)],_0x57ac6e['UniverDocsUi'],_0x57ac6e[_0xe4af87(0x3e3)],_0x57ac6e[_0xe4af87(0x232)],_0x57ac6e['UniverProCollaboration'],_0x57ac6e[_0xe4af87(0x1b8)],_0x57ac6e[_0xe4af87(0x2a9)],_0x57ac6e['UniverSheets'],_0x57ac6e[_0xe4af87(0x232)][_0xe4af87(0x3d2)],_0x57ac6e['UniverSheetsUi'],_0x57ac6e['React'],_0x57ac6e[_0xe4af87(0x3eb)],_0x57ac6e[_0xe4af87(0x405)],_0x57ac6e['React'],_0x57ac6e['UniverRpc']));}(this,function(_0x40d0d0,_0x1a6421,_0x57bc4a,_0x120a2c,_0x28d0ff,_0x8abdee,_0x562b24,_0x8d602e,_0x61a9e1,_0x57e96e,_0x1fcc1a,_0x26613f,_0x51f274,_0x16e985,_0x158c8f,_0x29e6f1,_0x43e575,_0x181751,_0x11103a){'use strict';const _0x550dd8=_0x28d1;var _0x1e9938=Object[_0x550dd8(0x2b0)],_0x5c5b2d=(_0x282675,_0x31707d,_0x30dd71)=>_0x31707d in _0x282675?_0x1e9938(_0x282675,_0x31707d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30dd71}):_0x282675[_0x31707d]=_0x30dd71,_0x53a705=(_0x29bc3e,_0x396070,_0x23be58)=>_0x5c5b2d(_0x29bc3e,typeof _0x396070!=_0x550dd8(0x289)?_0x396070+'':_0x396070,_0x23be58),_0x35570d=Object[_0x550dd8(0x300)],_0x448040=(_0x4ffed2,_0x5daede,_0x9453c2,_0xd874e1)=>{const _0x993b24=_0x550dd8;for(var _0x4ba1e3=_0xd874e1>0x1?void 0x0:_0xd874e1?_0x35570d(_0x5daede,_0x9453c2):_0x5daede,_0x1fea43=_0x4ffed2[_0x993b24(0x2f9)]-0x1,_0x49ff38;_0x1fea43>=0x0;_0x1fea43--)(_0x49ff38=_0x4ffed2[_0x1fea43])&&(_0x4ba1e3=_0x49ff38(_0x4ba1e3)||_0x4ba1e3);return _0x4ba1e3;},_0x115ee1=(_0x34c861,_0xed3508)=>(_0x520427,_0x8bd364)=>_0xed3508(_0x520427,_0x8bd364,_0x34c861);let _0x12da84=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x8aad,_0x31cfbe){const _0x18e539=_0x550dd8;super(),this[_0x18e539(0x2ef)]=_0x8aad,this[_0x18e539(0x407)]=_0x31cfbe,this[_0x18e539(0x271)]();}[_0x550dd8(0x271)](){const _0x1dadf6=_0x550dd8,_0x1274d0=this;this[_0x1dadf6(0x22e)](this[_0x1dadf6(0x2ef)]['addClipboardHook']({'onBeforePasteImage':async _0x4813bc=>{const _0x1ba173=_0x1dadf6,_0x1b783f=await _0x1274d0[_0x1ba173(0x407)][_0x1ba173(0x312)](_0x4813bc);return _0x1b783f?{'source':_0x1b783f[_0x1ba173(0x23b)],'imageSourceType':_0x1b783f['imageSourceType']}:null;}}));}};_0x12da84=_0x448040([_0x115ee1(0x0,_0x8abdee[_0x550dd8(0x297)]),_0x115ee1(0x1,_0x562b24[_0x550dd8(0x3ed)])],_0x12da84);const _0x53549d=[_0x550dd8(0x214),_0x550dd8(0x1bd),_0x550dd8(0x185),_0x550dd8(0x327),_0x550dd8(0x1ac),_0x550dd8(0x2d6)];class _0xc9942d extends _0x57bc4a[_0x550dd8(0x387)]{constructor(){const _0xc897b5=_0x550dd8;super(...arguments),_0x53a705(this,_0xc897b5(0x28a),new Map()),_0x53a705(this,_0xc897b5(0x3b9),0x0);}['assignAColorForMemberID'](_0xd20e1){const _0x808d51=_0x550dd8;if(this[_0x808d51(0x28a)][_0x808d51(0x280)](_0xd20e1))return this[_0x808d51(0x28a)][_0x808d51(0x394)](_0xd20e1);const _0x1fe26f=_0x53549d[this[_0x808d51(0x3b9)]];return this[_0x808d51(0x3b9)]=(this[_0x808d51(0x3b9)]+0x1)%_0x53549d[_0x808d51(0x2f9)],this[_0x808d51(0x28a)][_0x808d51(0x334)](_0xd20e1,_0x1fe26f),_0x1fe26f;}}function _0x33aec7(_0x301164){const _0x2f1b1c=_0x550dd8;let _0x385767='';for(const _0xba3892 of _0x301164){const {startOffset:_0x23a145,endOffset:_0x33533a,isActive:_0x20b049,rangeType:_0x6a3f65,segmentId:_0x170793,segmentPage:_0x3f60d0}=_0xba3892;_0x385767[_0x2f1b1c(0x2f9)]&&(_0x385767+=','),_0x385767+=_0x23a145+':'+_0x33533a+':'+(_0x20b049?'1':'0')+':'+_0x6a3f65+':'+_0x170793+':'+_0x3f60d0;}return _0x385767;}function _0x250200(_0x4624f0){const _0x4a5c6e=_0x550dd8,_0x5a471d=_0x4624f0[_0x4a5c6e(0x418)](','),_0x5759d7=[];for(const _0x52f394 of _0x5a471d){const [_0x371fdc,_0x13eda3,_0x1004e1,_0x2d5a82,_0x49e8a4,_0x5911b6]=_0x52f394[_0x4a5c6e(0x418)](':');_0x5759d7[_0x4a5c6e(0x2a8)]({'startOffset':Number(_0x371fdc),'endOffset':Number(_0x13eda3),'collapsed':_0x371fdc===_0x13eda3,'isActive':_0x1004e1==='1','rangeType':_0x2d5a82===_0x57bc4a[_0x4a5c6e(0x29f)][_0x4a5c6e(0x30f)]?_0x57bc4a[_0x4a5c6e(0x29f)]['TEXT']:_0x57bc4a[_0x4a5c6e(0x29f)][_0x4a5c6e(0x221)],'segmentId':typeof _0x49e8a4==_0x4a5c6e(0x2b4)?String(_0x49e8a4):'','segmentPage':Number(_0x5911b6!=null?_0x5911b6:-0x1)});}return _0x5759d7['some'](_0x3b527e=>_0x3b527e[_0x4a5c6e(0x296)])||(_0x5759d7[0x0]['isActive']=!0x0),_0x5759d7;}class _0x11b10d extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(){const _0x1171ed=_0x550dd8;super(...arguments),_0x53a705(this,_0x1171ed(0x3b2),new _0x8d602e['BehaviorSubject'](null)),_0x53a705(this,'collabCursorState$',this[_0x1171ed(0x3b2)][_0x1171ed(0x366)]());}[_0x550dd8(0x382)](_0x3f0783){const _0x1faed1=_0x550dd8,{unitID:_0x2d6a1b,memberID:_0x48cbd6,textRanges:_0x5be38a}=_0x3f0783,_0x4a7e0e=_0x33aec7(_0x5be38a);if(_0x4a7e0e==='')return;const _0x5e45a5={'unitID':_0x2d6a1b,'memberID':_0x48cbd6,'selection':_0x4a7e0e};this[_0x1faed1(0x3b2)]['next'](_0x5e45a5);}}var _0x3abaa1=Object['getOwnPropertyDescriptor'],_0x4f7329=(_0x249a27,_0x115b3d,_0x29390c,_0x2bdfdd)=>{const _0x2de0bf=_0x550dd8;for(var _0x39fcfa=_0x2bdfdd>0x1?void 0x0:_0x2bdfdd?_0x3abaa1(_0x115b3d,_0x29390c):_0x115b3d,_0x1eb71d=_0x249a27[_0x2de0bf(0x2f9)]-0x1,_0x28538b;_0x1eb71d>=0x0;_0x1eb71d--)(_0x28538b=_0x249a27[_0x1eb71d])&&(_0x39fcfa=_0x28538b(_0x39fcfa)||_0x39fcfa);return _0x39fcfa;},_0x5f3781=(_0x4c0762,_0x11299d)=>(_0x56d44a,_0x5b2516)=>_0x11299d(_0x56d44a,_0x5b2516,_0x4c0762);const _0x3cbb90=0x12c,_0x2ed1e8=0x64;let _0x428b64=class extends _0x57bc4a['RxDisposable']{constructor(_0x54f3bd,_0x548dac,_0x1f1ec2,_0x4b7edd,_0x2c276c,_0x56ed89,_0xcefd39,_0x50a496,_0x2e85bc){const _0x470713=_0x550dd8;super(),_0x53a705(this,_0x470713(0x273),!0x1),_0x53a705(this,_0x470713(0x271),!0x1),_0x53a705(this,_0x470713(0x2cd),new _0x8d602e[(_0x470713(0x2f8))](new Map())),_0x53a705(this,'cursorInfo$',this[_0x470713(0x2cd)][_0x470713(0x366)]()),_0x53a705(this,'_roomMembers$',new _0x8d602e[(_0x470713(0x2f8))]([])),_0x53a705(this,_0x470713(0x253),this[_0x470713(0x240)][_0x470713(0x331)](_0x8d602e[_0x470713(0x256)](_0x3cbb90))),_0x53a705(this,_0x470713(0x38e),_0x57bc4a[_0x470713(0x2a0)](_0xec5feb=>{const _0x21272e=_0x470713,_0xf7d8b9={'eventID':_0x61a9e1[_0x21272e(0x3ba)][_0x21272e(0x336)],'data':{'unitID':this[_0x21272e(0x34f)],'memberID':this[_0x21272e(0x2b2)][_0x21272e(0x409)](),'selection':_0x33aec7(_0xec5feb)}};this[_0x21272e(0x2b2)][_0x21272e(0x3fe)](_0xf7d8b9,this['unitID']);},_0x2ed1e8)),(this[_0x470713(0x34f)]=_0x54f3bd,this[_0x470713(0x2b2)]=_0x548dac,this[_0x470713(0x317)]=_0x1f1ec2,this['_colorAssignService']=_0x4b7edd,this[_0x470713(0x31e)]=_0x2c276c,this['_syncEditingCollabCursorService']=_0x56ed89,this[_0x470713(0x3c6)]=_0xcefd39,this[_0x470713(0x325)]=_0x50a496,this[_0x470713(0x365)]=_0x2e85bc);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x550dd8(0x2e4)](){const _0x3b852c=_0x550dd8;return this[_0x3b852c(0x240)][_0x3b852c(0x3cb)]();}[_0x550dd8(0x3ea)](){const _0x47c01b=_0x550dd8;super[_0x47c01b(0x3ea)](),this['_cursorInfo$'][_0x47c01b(0x373)](new Map()),this[_0x47c01b(0x2cd)][_0x47c01b(0x2ea)](),this[_0x47c01b(0x240)]['next']([]),this[_0x47c01b(0x240)][_0x47c01b(0x2ea)]();}[_0x550dd8(0x3c3)](){const _0x3ee2fa=_0x550dd8;this[_0x3ee2fa(0x271)]||(this[_0x3ee2fa(0x271)]=!0x0,this['_session'][_0x3ee2fa(0x3c2)][_0x3ee2fa(0x331)](_0x8d602e[_0x3ee2fa(0x249)](this[_0x3ee2fa(0x24d)]))['subscribe'](_0x209a9c=>{const _0x1184bc=_0x3ee2fa;_0x209a9c===_0x1a6421[_0x1184bc(0x28e)]['ONLINE']?this['_toggleOnline']():this[_0x1184bc(0x329)]();}),this[_0x3ee2fa(0x2b2)]['event$'][_0x3ee2fa(0x331)](_0x8d602e[_0x3ee2fa(0x249)](this[_0x3ee2fa(0x24d)]))[_0x3ee2fa(0x40b)](_0x4a2eac=>{const _0x29e5d6=_0x3ee2fa,_0x48aa46=_0x4a2eac['eventID'];_0x48aa46===_0x61a9e1[_0x29e5d6(0x3ba)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4a2eac),_0x48aa46===_0x61a9e1[_0x29e5d6(0x3ba)][_0x29e5d6(0x3da)]&&this['_onCursorDelete'](_0x4a2eac);}),this[_0x3ee2fa(0x22e)](this[_0x3ee2fa(0x365)][_0x3ee2fa(0x1b2)](_0x50aedc=>{const _0x40c16c=_0x3ee2fa,_0x4e7ea1=_0x50aedc[_0x40c16c(0x3b4)];_0x4e7ea1!=null&&this[_0x40c16c(0x273)]&&_0x50aedc['id']===_0x57e96e[_0x40c16c(0x27c)]['id']&&_0x4e7ea1[_0x40c16c(0x389)]===this[_0x40c16c(0x34f)]&&_0x4e7ea1[_0x40c16c(0x237)]===!0x1&&_0x4e7ea1[_0x40c16c(0x252)][_0x40c16c(0x2f9)]>0x0&&this[_0x40c16c(0x38e)](_0x4e7ea1[_0x40c16c(0x252)]);})),this[_0x3ee2fa(0x275)][_0x3ee2fa(0x1f0)][_0x3ee2fa(0x331)](_0x8d602e['takeUntil'](this[_0x3ee2fa(0x24d)]))[_0x3ee2fa(0x40b)](_0x696b2e=>{const _0x1a232a=_0x3ee2fa;if((_0x696b2e==null?void 0x0:_0x696b2e[_0x1a232a(0x34f)])!==this[_0x1a232a(0x34f)])return;const _0x363d92={'eventID':_0x61a9e1['CollaborationEvent'][_0x1a232a(0x336)],'data':_0x696b2e};this[_0x1a232a(0x255)](_0x363d92);}),this[_0x3ee2fa(0x22e)](this['_commandService']['onCommandExecuted'](_0x349155=>{const _0x21d570=_0x3ee2fa;if(_0x349155[_0x21d570(0x3b4)]==null)return;const _0x23f815=_0x349155[_0x21d570(0x3b4)];if(_0x349155['id']!==_0x57e96e[_0x21d570(0x225)]['id']||_0x23f815[_0x21d570(0x389)]!==this[_0x21d570(0x34f)])return;const _0x1fabf9={'id':_0x21d570(0x1e4),'params':_0x23f815},_0x58b230=this['cursorInfo'];for(const [_0x10ec48,_0x16dca1]of _0x58b230){const _0x298833={'id':_0x21d570(0x1e4),'params':{'unitId':this[_0x21d570(0x34f)],'actions':null,'textRanges':_0x16dca1[_0x21d570(0x252)]}},_0x24f539=this['_transformService'][_0x21d570(0x413)](_0x1fabf9,_0x298833,!0x1);if(_0x61a9e1['isTransformMutationFailure'](_0x24f539))throw _0x24f539['error'];_0x58b230[_0x21d570(0x334)](_0x10ec48,{..._0x16dca1,'ranges':_0x24f539[_0x21d570(0x20b)][_0x21d570(0x3b4)][_0x21d570(0x352)]});}queueMicrotask(()=>{const _0x2fd7a5=_0x21d570;this[_0x2fd7a5(0x2cd)][_0x2fd7a5(0x373)](_0x58b230);});})));}[_0x550dd8(0x255)](_0x5b441e){const _0x1c0995=_0x550dd8;var _0x1e7d2f,_0xe9f8ec;const {memberID:_0x164d90,selection:_0x37cabc}=_0x5b441e[_0x1c0995(0x1f8)],_0x40fc8e=_0x250200(_0x37cabc),_0x3d1b14=(_0xe9f8ec=(_0x1e7d2f=this['_memberService'][_0x1c0995(0x34c)](this['unitID'],_0x164d90))==null?void 0x0:_0x1e7d2f['name'])!=null?_0xe9f8ec:_0x1c0995(0x3b0),_0x562ec9={'color':this[_0x1c0995(0x1f3)][_0x1c0995(0x200)](_0x164d90),'name':_0x3d1b14,'ranges':_0x40fc8e},_0x12c7b6=this[_0x1c0995(0x26c)];_0x12c7b6[_0x1c0995(0x334)](_0x164d90,_0x562ec9),this['_cursorInfo$'][_0x1c0995(0x373)](_0x12c7b6);}[_0x550dd8(0x1c2)](_0x2065f2){const _0x9f8407=_0x550dd8,{memberID:_0x1a6986}=_0x2065f2[_0x9f8407(0x1f8)],_0x565dfe=this[_0x9f8407(0x26c)];_0x565dfe[_0x9f8407(0x22c)](_0x1a6986),this[_0x9f8407(0x2cd)][_0x9f8407(0x373)](_0x565dfe);}[_0x550dd8(0x3bb)](){const _0x49e6e4=_0x550dd8;var _0x3cb6c5;if(this['_online']=!0x0,((_0x3cb6c5=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3cb6c5['getUnitId']())!==this['unitID'])return;const _0x1c7e2d=this[_0x49e6e4(0x317)][_0x49e6e4(0x394)](_0x57e96e[_0x49e6e4(0x357)])['getDocRanges']();Array[_0x49e6e4(0x34d)](_0x1c7e2d)&&_0x1c7e2d[_0x49e6e4(0x2f9)]>0x0&&this[_0x49e6e4(0x38e)](_0x1c7e2d);}[_0x550dd8(0x329)](){this['_online']=!0x1;}};_0x428b64=_0x4f7329([_0x5f3781(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x5f3781(0x3,_0x57bc4a['Inject'](_0xc9942d)),_0x5f3781(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x1cf)])),_0x5f3781(0x5,_0x57bc4a[_0x550dd8(0x1a5)](_0x11b10d)),_0x5f3781(0x6,_0x61a9e1[_0x550dd8(0x2ec)]),_0x5f3781(0x7,_0x57bc4a[_0x550dd8(0x37f)]),_0x5f3781(0x8,_0x57bc4a[_0x550dd8(0x279)])],_0x428b64);var _0x1c02d8=Object[_0x550dd8(0x300)],_0x46f96d=(_0x2a4916,_0x2ed297,_0x1d65a4,_0x395148)=>{const _0x1ca275=_0x550dd8;for(var _0x5efe9b=_0x395148>0x1?void 0x0:_0x395148?_0x1c02d8(_0x2ed297,_0x1d65a4):_0x2ed297,_0xb73c16=_0x2a4916[_0x1ca275(0x2f9)]-0x1,_0x425a1f;_0xb73c16>=0x0;_0xb73c16--)(_0x425a1f=_0x2a4916[_0xb73c16])&&(_0x5efe9b=_0x425a1f(_0x5efe9b)||_0x5efe9b);return _0x5efe9b;},_0x451996=(_0x16d7d7,_0x574709)=>(_0x4f8171,_0x342953)=>_0x574709(_0x4f8171,_0x342953,_0x16d7d7);const _0x15ac82=0x12c,_0x981607=0x64,_0x445fa5=()=>{let _0x5c7498=[],_0x1c2f84=!0x1;return _0x204d98=>{_0x5c7498['push'](_0x204d98),_0x1c2f84||(_0x1c2f84=!0x0,setTimeout(()=>{const _0xe6d3d5=_0x28d1;_0x5c7498[_0xe6d3d5(0x1e9)](_0x24b6d0=>_0x24b6d0()),_0x5c7498=[],_0x1c2f84=!0x1;}));};};let _0x2f30f=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x35d06a,_0xbf0f85,_0x37d5fd,_0x7df3f6,_0x57453f,_0x527289,_0x4c73de,_0x227d4e){const _0x3b2c7a=_0x550dd8;super(),_0x53a705(this,_0x3b2c7a(0x273),!0x1),_0x53a705(this,'_init',!0x1),_0x53a705(this,'_cursorInfo$',new _0x8d602e[(_0x3b2c7a(0x2f8))](new Map())),_0x53a705(this,'cursorInfo$',this[_0x3b2c7a(0x2cd)]['asObservable']()),_0x53a705(this,'_roomMembers$',new _0x8d602e[(_0x3b2c7a(0x2f8))]([])),_0x53a705(this,_0x3b2c7a(0x253),this[_0x3b2c7a(0x240)][_0x3b2c7a(0x331)](_0x8d602e[_0x3b2c7a(0x256)](_0x15ac82))),_0x53a705(this,_0x3b2c7a(0x38e),_0x57bc4a['debounce']((_0x55be4d,_0x261c32)=>{const _0x23a1d8=_0x3b2c7a,_0x950bb1={'eventID':_0x61a9e1['CollaborationEvent'][_0x23a1d8(0x336)],'data':{'unitID':this[_0x23a1d8(0x34f)],'memberID':this[_0x23a1d8(0x2b2)][_0x23a1d8(0x409)](),'selection':_0x1fcc1a[_0x23a1d8(0x217)](_0x55be4d,_0x261c32[_0x23a1d8(0x263)])}};this[_0x23a1d8(0x2b2)][_0x23a1d8(0x3fe)](_0x950bb1,this[_0x23a1d8(0x34f)]);},_0x981607)),(this[_0x3b2c7a(0x34f)]=_0x35d06a,this[_0x3b2c7a(0x2b2)]=_0xbf0f85,this[_0x3b2c7a(0x317)]=_0x37d5fd,this[_0x3b2c7a(0x1f3)]=_0x7df3f6,this[_0x3b2c7a(0x31e)]=_0x57453f,this[_0x3b2c7a(0x325)]=_0x527289,this['_commandService']=_0x4c73de,this['_refRangeService']=_0x227d4e);}get[_0x550dd8(0x26c)](){const _0x307575=_0x550dd8;return this[_0x307575(0x2cd)][_0x307575(0x3cb)]();}get[_0x550dd8(0x2e4)](){const _0x47ae10=_0x550dd8;return this[_0x47ae10(0x240)][_0x47ae10(0x3cb)]();}[_0x550dd8(0x3ea)](){const _0x35d8c7=_0x550dd8;super[_0x35d8c7(0x3ea)](),this['_cursorInfo$'][_0x35d8c7(0x373)](new Map()),this['_cursorInfo$'][_0x35d8c7(0x2ea)](),this[_0x35d8c7(0x240)]['next']([]),this[_0x35d8c7(0x240)][_0x35d8c7(0x2ea)]();}[_0x550dd8(0x3c3)](){const _0x3a7049=_0x550dd8;this[_0x3a7049(0x271)]||(this[_0x3a7049(0x271)]=!0x0,this[_0x3a7049(0x2b2)]['sessionStatus$'][_0x3a7049(0x331)](_0x8d602e[_0x3a7049(0x249)](this[_0x3a7049(0x24d)]))[_0x3a7049(0x40b)](_0x4d5c91=>{const _0xe2bb9d=_0x3a7049;_0x4d5c91===_0x1a6421[_0xe2bb9d(0x28e)][_0xe2bb9d(0x28d)]?this[_0xe2bb9d(0x3bb)]():this[_0xe2bb9d(0x329)]();}),this['_session'][_0x3a7049(0x326)][_0x3a7049(0x331)](_0x8d602e[_0x3a7049(0x249)](this[_0x3a7049(0x24d)]))[_0x3a7049(0x40b)](_0x12558d=>{const _0x2adeed=_0x3a7049,_0x2833a1=_0x12558d[_0x2adeed(0x205)];_0x2833a1===_0x61a9e1[_0x2adeed(0x3ba)][_0x2adeed(0x336)]&&this['_onCursorUpdate'](_0x12558d),_0x2833a1===_0x61a9e1[_0x2adeed(0x3ba)][_0x2adeed(0x3da)]&&this[_0x2adeed(0x1c2)](_0x12558d);}),this[_0x3a7049(0x1ba)](),this[_0x3a7049(0x22e)](this['_commandService'][_0x3a7049(0x1b2)](_0x405f06=>{const _0x4481a2=_0x3a7049;if(this[_0x4481a2(0x273)]&&_0x405f06['id']===_0x26613f[_0x4481a2(0x1e7)]['id']&&_0x405f06[_0x4481a2(0x3b4)][_0x4481a2(0x389)]===this[_0x4481a2(0x34f)]){const _0x53c164=_0x405f06[_0x4481a2(0x3b4)];this[_0x4481a2(0x38e)](_0x53c164[_0x4481a2(0x239)],_0x53c164[_0x4481a2(0x1ce)][0x0]);}})));}['_onCursorUpdate'](_0x11ebae){const _0x2043f8=_0x550dd8;var _0x34a2f7,_0x2e18b9;const {memberID:_0x30a8ac,selection:_0x238e06}=_0x11ebae[_0x2043f8(0x1f8)],{sheetName:_0x429fbb,range:_0x1dd6f2}=_0x1fcc1a[_0x2043f8(0x2bf)](_0x238e06),_0x16298a={'name':(_0x2e18b9=(_0x34a2f7=this['_memberService'][_0x2043f8(0x34c)](this[_0x2043f8(0x34f)],_0x30a8ac))==null?void 0x0:_0x34a2f7[_0x2043f8(0x284)])!=null?_0x2e18b9:_0x2043f8(0x3b0),'range':this[_0x2043f8(0x38a)](_0x429fbb,_0x1dd6f2),'sheetID':_0x429fbb,'color':this[_0x2043f8(0x1f3)][_0x2043f8(0x200)](_0x30a8ac),'selection':_0x238e06},_0x1a7570=this[_0x2043f8(0x26c)];_0x1a7570[_0x2043f8(0x334)](_0x30a8ac,_0x16298a),this[_0x2043f8(0x2cd)][_0x2043f8(0x373)](_0x1a7570);}[_0x550dd8(0x1c2)](_0x4ad4f0){const _0x5e87b8=_0x550dd8,{memberID:_0x3c66b4}=_0x4ad4f0['data'],_0x329df7=this[_0x5e87b8(0x26c)];_0x329df7[_0x5e87b8(0x22c)](_0x3c66b4),this['_cursorInfo$'][_0x5e87b8(0x373)](_0x329df7);}[_0x550dd8(0x38a)](_0x11594b,_0x14c94b){const _0x59379c=_0x550dd8;var _0x4b9bbe,_0x49d6d2;const _0xe50853=(_0x49d6d2=(_0x4b9bbe=this[_0x59379c(0x325)][_0x59379c(0x37e)](this[_0x59379c(0x34f)]))==null?void 0x0:_0x4b9bbe['getSheetBySheetId'](_0x11594b))==null?void 0x0:_0x49d6d2[_0x59379c(0x3b5)]();return(_0xe50853==null?void 0x0:_0xe50853['find'](_0x271e1c=>_0x57bc4a[_0x59379c(0x33b)][_0x59379c(0x3e2)](_0x271e1c,_0x14c94b)))||_0x14c94b;}['_onRefRangeChange'](){const _0x41f8df=_0x550dd8,_0x3919d8=new _0x57bc4a[(_0x41f8df(0x3ef))](),_0x494e93=_0x445fa5(),_0x43c734=()=>{const _0xebe4ac=_0x41f8df;_0x3919d8[_0xebe4ac(0x3ea)]();const _0x588aba=(_0x477aba,_0x596dce,_0x38462b,_0xcb2ace)=>{const _0x2bd198=_0xebe4ac;let _0x39308d=[];switch(_0x477aba['id']){case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x319)]:{_0x39308d=_0x26613f['handleDeleteRangeMoveLeft'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x3ab)]:{_0x39308d=_0x26613f['handleDeleteRangeMoveUp'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x353)]:{_0x39308d=_0x26613f['handleInsertCol'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x244)]:{_0x39308d=_0x26613f[_0x2bd198(0x386)](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)]['InsertRangeMoveRightCommandId']:{_0x39308d=_0x26613f['handleInsertRangeMoveRight'](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x328)]:{_0x39308d=_0x26613f[_0x2bd198(0x288)](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x1fd)]:{_0x39308d=_0x26613f['handleMoveRange'](_0x477aba,_0xcb2ace);break;}case _0x26613f['EffectRefRangId'][_0x2bd198(0x3a8)]:{_0x39308d=_0x26613f[_0x2bd198(0x19f)](_0x477aba,_0xcb2ace);break;}case _0x26613f[_0x2bd198(0x37d)][_0x2bd198(0x3a9)]:{_0x39308d=_0x26613f[_0x2bd198(0x1c9)](_0x477aba,_0xcb2ace);break;}}const _0x46d812=_0x26613f['runRefRangeMutations'](_0x39308d,_0xcb2ace),_0x48d0e9=this[_0x2bd198(0x26c)][_0x2bd198(0x394)](_0x596dce);if(_0x48d0e9&&_0x46d812){const _0x2fdcd0={..._0x48d0e9,'range':_0x46d812};this[_0x2bd198(0x26c)][_0x2bd198(0x334)](_0x596dce,_0x2fdcd0),_0x494e93(()=>{const _0x328e30=_0x2bd198,_0x1880c1=this[_0x328e30(0x1d3)][_0x328e30(0x1ca)](_0x46d812,_0x49f5d1=>(_0x1880c1[_0x328e30(0x3ea)](),_0x588aba(_0x49f5d1,_0x596dce,_0x38462b,_0x46d812)));_0x3919d8[_0x328e30(0x2c2)](_0x1880c1);});}return{'redos':[],'undos':[]};};this[_0xebe4ac(0x26c)][_0xebe4ac(0x1e9)]((_0xdc0a0a,_0x20cff3)=>{const _0x2ead62=_0xebe4ac,{range:_0x2e08f4,sheetID:_0x109a13}=_0xdc0a0a,_0xa8d713=this[_0x2ead62(0x1d3)]['registerRefRange'](_0x2e08f4,_0x478e2c=>(_0xa8d713[_0x2ead62(0x3ea)](),_0x588aba(_0x478e2c,_0x20cff3,_0x109a13,_0x2e08f4)));_0x3919d8[_0x2ead62(0x2c2)](_0xa8d713);});};this[_0x41f8df(0x22e)](_0x57bc4a[_0x41f8df(0x2e1)](this[_0x41f8df(0x2cd)][_0x41f8df(0x40b)](()=>{_0x43c734();})));}[_0x550dd8(0x3bb)](){const _0x5a4799=_0x550dd8;var _0x3f2c17,_0x4ce204;if(this[_0x5a4799(0x273)]=!0x0,((_0x3f2c17=this[_0x5a4799(0x325)][_0x5a4799(0x3f1)]())==null?void 0x0:_0x3f2c17[_0x5a4799(0x3ae)]())!==this[_0x5a4799(0x34f)])return;const _0x57cb1e=(_0x4ce204=this['_injector']['get'](_0x26613f[_0x5a4799(0x229)])['getCurrentSelections']())==null?void 0x0:_0x4ce204[0x0],_0x16afa0=this[_0x5a4799(0x325)][_0x5a4799(0x238)](_0x57bc4a[_0x5a4799(0x2ff)]['UNIVER_SHEET'])[_0x5a4799(0x2c6)]();_0x57cb1e&&_0x16afa0&&this[_0x5a4799(0x38e)](_0x16afa0['getSheetId'](),_0x57cb1e);}[_0x550dd8(0x329)](){this['_online']=!0x1;}};_0x2f30f=_0x46f96d([_0x451996(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x451996(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0xc9942d)),_0x451996(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x1cf)])),_0x451996(0x5,_0x57bc4a[_0x550dd8(0x37f)]),_0x451996(0x6,_0x57bc4a['ICommandService']),_0x451996(0x7,_0x57bc4a['Inject'](_0x26613f[_0x550dd8(0x3d8)]))],_0x2f30f);var _0x1c492c=Object[_0x550dd8(0x300)],_0x2f5a17=(_0x236d7c,_0x475fb9,_0xac65ed,_0x337659)=>{const _0x4cc6d9=_0x550dd8;for(var _0x13da8c=_0x337659>0x1?void 0x0:_0x337659?_0x1c492c(_0x475fb9,_0xac65ed):_0x475fb9,_0x21dca7=_0x236d7c[_0x4cc6d9(0x2f9)]-0x1,_0x379577;_0x21dca7>=0x0;_0x21dca7--)(_0x379577=_0x236d7c[_0x21dca7])&&(_0x13da8c=_0x379577(_0x13da8c)||_0x13da8c);return _0x13da8c;},_0x57b907=(_0x1280bb,_0x30a134)=>(_0x3e2cc7,_0x7c5207)=>_0x30a134(_0x3e2cc7,_0x7c5207,_0x1280bb);let _0x1434ca=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x26e72c,_0x3e1307,_0x1667dc){const _0x83983e=_0x550dd8;super(),_0x53a705(this,_0x83983e(0x285),new Map()),_0x53a705(this,_0x83983e(0x359),new _0x8d602e['Subject']()),(this[_0x83983e(0x325)]=_0x26e72c,this[_0x83983e(0x317)]=_0x3e1307,this[_0x83983e(0x228)]=_0x1667dc,this[_0x83983e(0x271)]());}[_0x550dd8(0x3ea)](){const _0x3d6374=_0x550dd8;super[_0x3d6374(0x3ea)](),this['_entityInit$'][_0x3d6374(0x2ea)](),this[_0x3d6374(0x285)]['forEach'](_0x395a42=>_0x395a42['dispose']());}[_0x550dd8(0x2b1)](_0x260ffc){const _0x4bfadb=_0x550dd8;return this[_0x4bfadb(0x285)][_0x4bfadb(0x280)](_0x260ffc)?this[_0x4bfadb(0x285)]['get'](_0x260ffc)[_0x4bfadb(0x204)]:this[_0x4bfadb(0x359)][_0x4bfadb(0x331)](_0x8d602e[_0x4bfadb(0x259)](_0x5b4e8e=>_0x5b4e8e[_0x4bfadb(0x34f)]===_0x260ffc),_0x8d602e[_0x4bfadb(0x356)](_0x304973=>_0x304973[_0x4bfadb(0x204)]));}[_0x550dd8(0x271)](){const _0x4c29ac=_0x550dd8;this[_0x4c29ac(0x325)][_0x4c29ac(0x383)](_0x57bc4a[_0x4c29ac(0x2ff)]['UNIVER_SHEET'])[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x249)](this[_0x4c29ac(0x24d)]))[_0x4c29ac(0x40b)](async _0x5b19b4=>{const _0x5d7960=_0x4c29ac,_0x2bb7dd=_0x5b19b4[_0x5d7960(0x3ae)](),_0x42728b=await this['_startSheetCollabCursor'](_0x2bb7dd);this['_entityInit$'][_0x5d7960(0x373)](_0x42728b),this[_0x5d7960(0x285)][_0x5d7960(0x334)](_0x2bb7dd,_0x42728b);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x57bc4a[_0x4c29ac(0x2ff)][_0x4c29ac(0x181)])[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x249)](this[_0x4c29ac(0x24d)]))[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x259)](_0x1f4d7e=>!_0x1f4d7e['getUnitId']()[_0x4c29ac(0x399)]('__')))[_0x4c29ac(0x40b)](async _0x4abd5f=>{const _0x30907c=_0x4c29ac,_0x4da9fa=_0x4abd5f[_0x30907c(0x3ae)](),_0x1e1de3=await this[_0x30907c(0x21b)](_0x4da9fa);this['_entityInit$'][_0x30907c(0x373)](_0x1e1de3),this[_0x30907c(0x285)][_0x30907c(0x334)](_0x4da9fa,_0x1e1de3);}),_0x8d602e['merge'](this[_0x4c29ac(0x325)]['getTypeOfUnitDisposed$'](_0x57bc4a[_0x4c29ac(0x2ff)][_0x4c29ac(0x181)]),this['_univerInstanceService'][_0x4c29ac(0x1f2)](_0x57bc4a['UniverInstanceType'][_0x4c29ac(0x1cc)]))[_0x4c29ac(0x331)](_0x8d602e[_0x4c29ac(0x249)](this[_0x4c29ac(0x24d)]))[_0x4c29ac(0x40b)](_0x80d47d=>{const _0x17dbc6=_0x4c29ac,_0x31f9cf=_0x80d47d[_0x17dbc6(0x3ae)](),_0xc4162=this[_0x17dbc6(0x285)][_0x17dbc6(0x394)](_0x31f9cf);_0xc4162&&(_0xc4162[_0x17dbc6(0x3ea)](),this[_0x17dbc6(0x285)]['delete'](_0x31f9cf));});}async[_0x550dd8(0x2ba)](_0x4bac9a){const _0x5792a8=_0x550dd8,_0x21566a=await this[_0x5792a8(0x228)][_0x5792a8(0x2ce)](_0x4bac9a),_0x2abb24=this['_injector'][_0x5792a8(0x2e7)](_0x2f30f,_0x4bac9a,_0x21566a);return _0x2abb24[_0x5792a8(0x3c3)](),_0x2abb24;}async[_0x550dd8(0x21b)](_0xdfba05){const _0x286a95=_0x550dd8,_0x4be269=await this[_0x286a95(0x228)]['requireSession'](_0xdfba05),_0x231e85=this[_0x286a95(0x317)][_0x286a95(0x2e7)](_0x428b64,_0xdfba05,_0x4be269);return _0x231e85[_0x286a95(0x3c3)](),_0x231e85;}};_0x1434ca=_0x2f5a17([_0x57b907(0x0,_0x57bc4a[_0x550dd8(0x37f)]),_0x57b907(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x57b907(0x2,_0x57bc4a['Inject'](_0x1a6421[_0x550dd8(0x358)]))],_0x1434ca);const _0x561ef7=0x14,_0x2a446c=0xc8,_0x2ef870=0x4,_0x12ad29=0x5;function _0x4585a7(_0x412743,_0x5bcea3){const _0x31bd2a=_0x550dd8;let {radius:_0x2caba5,width:_0x43cef4,height:_0x3b02a5}=_0x5bcea3;_0x2caba5=_0x2caba5!=null?_0x2caba5:0x0,_0x43cef4=_0x43cef4!=null?_0x43cef4:0x1e,_0x3b02a5=_0x3b02a5!=null?_0x3b02a5:0x1e;let _0x2c2fc3=0x0,_0x1044a3=0x0,_0x4d755=0x0;_0x2c2fc3=_0x1044a3=_0x4d755=Math['min'](_0x2caba5,_0x43cef4/0x2,_0x3b02a5/0x2),_0x412743[_0x31bd2a(0x1c0)](),_0x412743['moveTo'](_0x2c2fc3,0x0),_0x412743['lineTo'](_0x43cef4-_0x1044a3,0x0),_0x412743[_0x31bd2a(0x2a2)](_0x43cef4-_0x1044a3,_0x1044a3,_0x1044a3,Math['PI']*0x3/0x2,0x0,!0x1),_0x412743[_0x31bd2a(0x415)](_0x43cef4,_0x3b02a5-_0x4d755),_0x412743[_0x31bd2a(0x2a2)](_0x43cef4-_0x4d755,_0x3b02a5-_0x4d755,_0x4d755,0x0,Math['PI']/0x2,!0x1),_0x412743['lineTo'](0x0,_0x3b02a5),_0x412743[_0x31bd2a(0x415)](0x0,_0x2c2fc3),_0x412743[_0x31bd2a(0x2a2)](_0x2c2fc3,_0x2c2fc3,_0x2c2fc3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x412743[_0x31bd2a(0x40f)](),_0x5bcea3[_0x31bd2a(0x1a0)]&&(_0x412743['save'](),_0x412743[_0x31bd2a(0x1dd)]=_0x5bcea3[_0x31bd2a(0x1a0)],_0x5bcea3[_0x31bd2a(0x3c7)]===_0x31bd2a(0x21c)?_0x412743[_0x31bd2a(0x1a0)]('evenodd'):_0x412743[_0x31bd2a(0x1a0)](),_0x412743[_0x31bd2a(0x29a)]());}class _0x27907a extends _0x120a2c[_0x550dd8(0x3a6)]{constructor(_0x4e0602,_0x3f482a){const _0x2c124a=_0x550dd8;super(_0x4e0602,_0x3f482a),_0x53a705(this,'color'),_0x53a705(this,_0x2c124a(0x1dc)),(this[_0x2c124a(0x3dd)]=_0x3f482a==null?void 0x0:_0x3f482a['color'],this[_0x2c124a(0x1dc)]=_0x3f482a==null?void 0x0:_0x3f482a['text']);}static[_0x550dd8(0x1e5)](_0x13229b,_0x3fc252){const _0x13736e=_0x550dd8,{text:_0xb4fa1a,color:_0xe4ff3}=_0x3fc252;_0x13229b['save'](),_0x13229b[_0x13736e(0x184)]=_0x13736e(0x235);const _0x519e3d=_0x13229b[_0x13736e(0x308)](_0xb4fa1a)[_0x13736e(0x310)],_0x4034d9=Math[_0x13736e(0x404)](_0x519e3d+0x2*_0x2ef870,_0x2a446c);_0x4585a7(_0x13229b,{'height':_0x561ef7,'radius':0x4,'width':_0x4034d9,'fill':_0xe4ff3}),_0x13229b[_0x13736e(0x1dd)]=_0x13736e(0x282);const _0x3e6ee7=_0x2ef870,_0x4d07e9=_0x561ef7-_0x12ad29,_0x5a88a9=_0x2a446c-0x2*_0x2ef870;if(_0x519e3d>_0x5a88a9){let _0x3e7900='',_0x524fec=0x0;for(const _0x1ebe74 of _0xb4fa1a){const _0x3aa9be=_0x13229b['measureText'](_0x1ebe74)[_0x13736e(0x310)];if(_0x524fec+_0x3aa9be<=_0x5a88a9-_0x13229b[_0x13736e(0x308)](_0x13736e(0x2f6))[_0x13736e(0x310)])_0x3e7900+=_0x1ebe74,_0x524fec+=_0x3aa9be;else{_0x3e7900+=_0x13736e(0x2f6);break;}}_0x13229b[_0x13736e(0x265)](_0x3e7900,_0x3e6ee7,_0x4d07e9);}else _0x13229b[_0x13736e(0x265)](_0xb4fa1a,_0x3e6ee7,_0x4d07e9);_0x13229b[_0x13736e(0x29a)]();}[_0x550dd8(0x2e9)](_0x3dbe7f){_0x27907a['drawWith'](_0x3dbe7f,this);}}const _0x37a2db=_0x550dd8(0x3a2),_0x92a2de=_0x550dd8(0x243),_0x94e5e2=_0x550dd8(0x1d4),_0x61e93d=0x6,_0x195929=1.5,_0x292acb=0x4,_0x49fcb5=1.5,_0x156bf9=_0x550dd8(0x1ea);class _0x4bbe4a{constructor(_0x4732cf,_0x4645b6,_0x2b4b50,_0x581d23){const _0x29e39b=_0x550dd8;_0x53a705(this,'_shapes',[]),_0x53a705(this,_0x29e39b(0x330),null),_0x53a705(this,'_textBubble',null),_0x53a705(this,_0x29e39b(0x1e8),null),_0x53a705(this,_0x29e39b(0x39d),null),_0x53a705(this,_0x29e39b(0x233),null),(this['_cursor']=_0x4732cf,this[_0x29e39b(0x254)]=_0x4645b6,this[_0x29e39b(0x227)]=_0x2b4b50,this[_0x29e39b(0x1c3)]=_0x581d23,this[_0x29e39b(0x3a1)]());}set['_hover'](_0x92caba){const _0x114ad2=_0x550dd8;_0x92caba?(this[_0x114ad2(0x1e8)]&&this['_anchorDot'][_0x114ad2(0x26f)](),this[_0x114ad2(0x299)]&&this[_0x114ad2(0x299)][_0x114ad2(0x1c6)]()):(this[_0x114ad2(0x1e8)]&&this['_anchorDot'][_0x114ad2(0x1c6)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x550dd8(0x3ea)](){const _0x2e0362=_0x550dd8;for(const _0x173263 of this[_0x2e0362(0x3d4)])_0x173263[_0x2e0362(0x3ea)]();this['_textBubble']&&this[_0x2e0362(0x299)][_0x2e0362(0x3ea)](),this[_0x2e0362(0x1e8)]&&this[_0x2e0362(0x1e8)][_0x2e0362(0x3ea)](),this[_0x2e0362(0x330)]&&this[_0x2e0362(0x330)]['dispose'](),this[_0x2e0362(0x233)]&&this[_0x2e0362(0x233)]();}['_render'](){const _0x3e8118=_0x550dd8;var _0x3afe13;const {_docSkeleton:_0x5da9e0,_document:_0x32cb9a}=this,{color:_0x8c4160,name:_0x2d6996,ranges:_0x569ac5}=this[_0x3e8118(0x3e9)],_0x3b19e5=_0x32cb9a[_0x3e8118(0x1e1)](),{docsLeft:_0x27519f,docsTop:_0x27abf3}=_0x3b19e5,_0x12818e=new _0x8abdee[(_0x3e8118(0x2e8))](_0x3b19e5,_0x5da9e0);for(const {startOffset:_0x1dabf6,endOffset:_0xd4a0df,rangeType:_0x43a12e,segmentId:_0x2897e8,segmentPage:_0x2f66d3,collapsed:_0x5601af,isActive:_0x41fa88}of _0x569ac5){const _0x108106=_0x5da9e0['findNodePositionByCharIndex'](_0x1dabf6,!0x0,_0x2897e8,_0x2f66d3);let _0x5a10ec=_0x5da9e0['findNodePositionByCharIndex'](_0xd4a0df,!0x0,_0x2897e8,_0x2f66d3);if(_0x5a10ec==null&&(_0x5a10ec=_0x5da9e0[_0x3e8118(0x338)](_0xd4a0df-0x1,!0x1,_0x2897e8,_0x2f66d3)),_0x41fa88){const {contentBoxPointGroup:_0x57846f}=_0x12818e[_0x3e8118(0x245)](_0x5a10ec,_0x5a10ec);if(_0x57846f[_0x3e8118(0x2f9)]===0x0)continue;this[_0x3e8118(0x340)](_0x8c4160,_0x57846f,_0x27519f,_0x27abf3,_0x2d6996),this[_0x3e8118(0x233)]=this[_0x3e8118(0x1ee)]();}if(_0x108106&&_0x5a10ec){if(_0x43a12e===_0x57bc4a['DOC_RANGE_TYPE'][_0x3e8118(0x221)]){const _0x20296c=new _0x8abdee[(_0x3e8118(0x301))](_0x3b19e5,_0x5da9e0),{pointGroup:_0x1f32a3}=(_0x3afe13=_0x20296c[_0x3e8118(0x245)](_0x108106,_0x5a10ec))!=null?_0x3afe13:{};if(_0x1f32a3==null||_0x1f32a3[_0x3e8118(0x2f9)]===0x0)continue;this[_0x3e8118(0x28c)](_0x8c4160,_0x1f32a3,_0x27519f,_0x27abf3);}else{if(!_0x5601af){const {borderBoxPointGroup:_0xa93b7e}=_0x12818e[_0x3e8118(0x245)](_0x108106,_0x5a10ec);if(_0xa93b7e[_0x3e8118(0x2f9)]===0x0)continue;this[_0x3e8118(0x287)](_0x8c4160,_0xa93b7e,_0x27519f,_0x27abf3);}}}}}['_drawAnchor'](_0x31f416,_0x369b4d,_0x456bec,_0x2e9896,_0x4da87b){const _0x2eaaad=_0x550dd8,_0x1be031=this[_0x2eaaad(0x28f)](_0x369b4d),{left:_0x4f07ba,top:_0x33b828,height:_0x1e1b09}=_0x1be031,_0x48a7cc=this['_getScale'](),_0x565eb9=_0x49fcb5/_0x48a7cc,_0x4504a1=new _0x120a2c[(_0x2eaaad(0x26a))](_0x37a2db+_0x57bc4a['generateRandomId'](_0x61e93d),{'left':_0x4f07ba+_0x456bec-_0x565eb9,'top':_0x33b828+_0x2e9896,'height':_0x1e1b09,'width':_0x195929,'fill':_0x31f416||_0x120a2c[_0x2eaaad(0x2af)](_0x57bc4a[_0x2eaaad(0x337)][_0x2eaaad(0x2e3)],0x0),'strokeWidth':_0x565eb9,'stroke':_0x156bf9,'evented':!0x0});this[_0x2eaaad(0x330)]=_0x4504a1,this[_0x2eaaad(0x254)][_0x2eaaad(0x2a1)](_0x4504a1,_0x8abdee['TEXT_RANGE_LAYER_INDEX']);const _0x40f398=new _0x120a2c['Rect'](_0x37a2db+_0x57bc4a[_0x2eaaad(0x1c1)](_0x61e93d),{'left':_0x4f07ba+_0x456bec-_0x565eb9,'top':_0x33b828+_0x2e9896-_0x292acb/0x2,'height':_0x292acb,'width':_0x292acb,'fill':_0x31f416||_0x120a2c['getColor'](_0x57bc4a[_0x2eaaad(0x337)][_0x2eaaad(0x2e3)],0x0),'strokeWidth':0x0,'stroke':_0x31f416||_0x120a2c['getColor'](_0x57bc4a[_0x2eaaad(0x337)][_0x2eaaad(0x2e3)],0x0),'evented':!0x1});this[_0x2eaaad(0x1e8)]=_0x40f398,this[_0x2eaaad(0x254)][_0x2eaaad(0x2a1)](_0x40f398,_0x8abdee['TEXT_RANGE_LAYER_INDEX']);const _0x2269cc=new _0x27907a(_0x37a2db+_0x57bc4a[_0x2eaaad(0x1c1)](_0x61e93d),{'left':_0x4f07ba+_0x456bec-_0x565eb9,'top':_0x33b828+_0x2e9896-_0x561ef7,'text':_0x4da87b,'color':_0x31f416});this[_0x2eaaad(0x299)]=_0x2269cc,this['_scene'][_0x2eaaad(0x2a1)](_0x2269cc,_0x8abdee[_0x2eaaad(0x378)]),this[_0x2eaaad(0x216)]=!0x1;}[_0x550dd8(0x1ee)](){const _0x3b5163=_0x550dd8,_0x545448=this['_anchor'][_0x3b5163(0x1fb)][_0x3b5163(0x206)](()=>{this['_hover']=!0x0;}),_0x2c8fb4=this[_0x3b5163(0x330)][_0x3b5163(0x2ae)][_0x3b5163(0x206)](()=>{const _0x281f47=_0x3b5163;this[_0x281f47(0x39d)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3a3caf=_0x281f47;this[_0x3a3caf(0x216)]=!0x1;},0x7d0);});return()=>{const _0x20532c=_0x3b5163;_0x545448[_0x20532c(0x397)](),_0x2c8fb4[_0x20532c(0x397)]();};}['_drawTextRange'](_0x342b7c,_0x307b6b,_0x296e92,_0x16bcef){const _0xdeff14=_0x550dd8,_0x11a5af=new _0x57bc4a[(_0xdeff14(0x267))](_0x342b7c)[_0xdeff14(0x32c)](0.2)[_0xdeff14(0x3c8)](),_0x4d2c72=new _0x120a2c[(_0xdeff14(0x1b1))](_0x92a2de+_0x57bc4a[_0xdeff14(0x1c1)](_0x61e93d),{'pointsGroup':_0x307b6b,'fill':_0x11a5af||_0x120a2c[_0xdeff14(0x2af)](_0x57bc4a[_0xdeff14(0x337)][_0xdeff14(0x2e3)],0.2),'left':_0x296e92,'top':_0x16bcef,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdeff14(0x3d4)]['push'](_0x4d2c72),this[_0xdeff14(0x254)][_0xdeff14(0x2a1)](_0x4d2c72,_0x8abdee[_0xdeff14(0x378)]);}['_drawRectRange'](_0xf690ad,_0x18752d,_0x5d4295,_0x1b9155){const _0x5a9529=_0x550dd8,_0x37b870=new _0x57bc4a[(_0x5a9529(0x267))](_0xf690ad)['setAlpha'](0.2)['toRgbString'](),_0x2bec09=new _0x120a2c[(_0x5a9529(0x1b1))](_0x94e5e2+_0x57bc4a[_0x5a9529(0x1c1)](_0x61e93d),{'pointsGroup':_0x18752d,'fill':_0x37b870||_0x120a2c['getColor'](_0x57bc4a[_0x5a9529(0x337)][_0x5a9529(0x2e3)],0.2),'left':_0x5d4295,'top':_0x1b9155,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a9529(0x3d4)][_0x5a9529(0x2a8)](_0x2bec09),this['_scene'][_0x5a9529(0x2a1)](_0x2bec09,_0x8abdee['TEXT_RANGE_LAYER_INDEX']);}[_0x550dd8(0x28f)](_0x3fcca2){const _0x1e245e=_0x3fcca2[0x0],_0x262bf7=_0x1e245e[0x0],_0x3953d6=_0x1e245e[0x2],{x:_0x1514ba,y:_0x3fd0a0}=_0x262bf7,{x:_0x4d4b6d,y:_0x56a56b}=_0x3953d6;return{'left':_0x1514ba,'top':_0x3fd0a0,'width':_0x4d4b6d-_0x1514ba,'height':_0x56a56b-_0x3fd0a0};}[_0x550dd8(0x1f9)](){const _0x590e75=_0x550dd8,{scaleX:_0x4bae20,scaleY:_0xa5a9a6}=this[_0x590e75(0x254)][_0x590e75(0x3d7)]();return Math[_0x590e75(0x32a)](_0x4bae20,_0xa5a9a6);}}var _0x5a8727=Object[_0x550dd8(0x300)],_0x4bdcc1=(_0x1de912,_0x53a86f,_0x27b9c5,_0x3f12f2)=>{for(var _0x3ccd2b=_0x3f12f2>0x1?void 0x0:_0x3f12f2?_0x5a8727(_0x53a86f,_0x27b9c5):_0x53a86f,_0x43f724=_0x1de912['length']-0x1,_0x5aa8ce;_0x43f724>=0x0;_0x43f724--)(_0x5aa8ce=_0x1de912[_0x43f724])&&(_0x3ccd2b=_0x5aa8ce(_0x3ccd2b)||_0x3ccd2b);return _0x3ccd2b;},_0x271a6e=(_0x79c428,_0x2372e9)=>(_0x1652dd,_0x1734ed)=>_0x2372e9(_0x1652dd,_0x1734ed,_0x79c428);let _0x411e34=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x1f7608,_0x112d33,_0x5aced4,_0x588584,_0x5b6fd3){const _0x37c410=_0x550dd8;super(),_0x53a705(this,_0x37c410(0x3a3),[]),_0x53a705(this,_0x37c410(0x26e),[]),(this['_context']=_0x1f7608,this['_docSkeletonManagerService']=_0x112d33,this[_0x37c410(0x3f8)]=_0x5aced4,this['_commandService']=_0x588584,this['_themeService']=_0x5b6fd3,this['_init']());}['_init'](){const _0x44d8fa=_0x550dd8,_0x22ccbc=this[_0x44d8fa(0x2c9)][_0x44d8fa(0x389)],_0x1a4461=this[_0x44d8fa(0x1d7)];this[_0x44d8fa(0x22e)](_0x8d602e[_0x44d8fa(0x309)]([this[_0x44d8fa(0x3f8)][_0x44d8fa(0x2b1)](_0x22ccbc),this['_themeService'][_0x44d8fa(0x2f4)]])[_0x44d8fa(0x331)](_0x51f274['map'](([_0x1fd112,_0x1ed9ba])=>({'skeleton':_0x1a4461[_0x44d8fa(0x224)](),'cursors':[..._0x1fd112[_0x44d8fa(0x1df)]()]['flatMap'](_0x48dc20=>({..._0x48dc20,'color':this[_0x44d8fa(0x2b8)][_0x44d8fa(0x1a7)](_0x48dc20[_0x44d8fa(0x3dd)])}))})))[_0x44d8fa(0x40b)](_0x742890=>{const _0x4e16f9=_0x44d8fa;if(this[_0x4e16f9(0x370)](),_0x742890){const {skeleton:_0x25fed4,cursors:_0x4a27fe}=_0x742890;this[_0x4e16f9(0x22d)](_0x25fed4,_0x4a27fe);}})),this[_0x44d8fa(0x3aa)](),this[_0x44d8fa(0x351)]();}[_0x550dd8(0x22d)](_0x1f2a6d,_0x27a04b){const _0x22d6b5=_0x550dd8,{scene:_0x3471fb,mainComponent:_0x5b1498}=this['_context'],_0x1b0758=_0x27a04b[_0x22d6b5(0x27d)](_0x112d2f=>new _0x4bbe4a(_0x112d2f,_0x3471fb,_0x1f2a6d,_0x5b1498));this[_0x22d6b5(0x3a3)]=_0x1b0758,this[_0x22d6b5(0x26e)]=_0x27a04b;}[_0x550dd8(0x220)](){const _0x4a0a9=_0x550dd8;this['_removeCollabCursors']();const {scene:_0x220719,mainComponent:_0x54b297}=this[_0x4a0a9(0x2c9)],_0x357588=this[_0x4a0a9(0x1d7)][_0x4a0a9(0x224)](),_0x251c2b=this[_0x4a0a9(0x26e)][_0x4a0a9(0x27d)](_0x329f3f=>new _0x4bbe4a(_0x329f3f,_0x220719,_0x357588,_0x54b297));this[_0x4a0a9(0x3a3)]=_0x251c2b;}[_0x550dd8(0x370)](){const _0x3a0620=_0x550dd8;this[_0x3a0620(0x3a3)][_0x3a0620(0x1e9)](_0x309371=>_0x309371[_0x3a0620(0x3ea)]()),this[_0x3a0620(0x3a3)]=[];}[_0x550dd8(0x351)](){const _0x47ebfe=_0x550dd8,_0x3a7e0f=[_0x8abdee[_0x47ebfe(0x3c5)]['id']];this['disposeWithMe'](this[_0x47ebfe(0x365)][_0x47ebfe(0x1b2)](_0x20293d=>{const _0x3b98e2=_0x47ebfe;_0x3a7e0f['includes'](_0x20293d['id'])&&_0x20293d['params'][_0x3b98e2(0x389)]===this[_0x3b98e2(0x2c9)][_0x3b98e2(0x389)]&&this[_0x3b98e2(0x220)]();}));}['_initResize'](){const _0x1fc236=_0x550dd8;this[_0x1fc236(0x22e)](_0x57bc4a[_0x1fc236(0x188)](this[_0x1fc236(0x2c9)]['engine'][_0x1fc236(0x27b)])[_0x1fc236(0x331)](_0x51f274[_0x1fc236(0x259)](_0x64e942=>_0x64e942[_0x1fc236(0x2d8)]===_0x120a2c[_0x1fc236(0x364)]['resize']),_0x51f274[_0x1fc236(0x258)](0x10))[_0x1fc236(0x40b)](()=>{const _0x1516d5=_0x1fc236;this[_0x1516d5(0x220)]();}));}};_0x411e34=_0x4bdcc1([_0x271a6e(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x57e96e[_0x550dd8(0x21e)])),_0x271a6e(0x2,_0x57bc4a['Inject'](_0x1434ca)),_0x271a6e(0x3,_0x57bc4a['ICommandService']),_0x271a6e(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x374)]))],_0x411e34);const _0x415ac9=0x1,_0x490c04=1.5;class _0x4a940d extends _0x120a2c['Shape']{constructor(_0x45b900,_0x141be5){const _0x388632=_0x550dd8;super(_0x45b900,_0x141be5),_0x53a705(this,'_color'),_0x53a705(this,_0x388632(0x306),!0x1),_0x53a705(this,_0x388632(0x195)),_0x53a705(this,_0x388632(0x180),''),_0x53a705(this,'_labelPosition',_0x388632(0x354)),_0x53a705(this,_0x388632(0x3c4)),(_0x141be5&&this['setShapeProps'](_0x141be5),this[_0x388632(0x1fb)][_0x388632(0x206)](()=>this[_0x388632(0x1b3)]({'hovered':!0x0})),this[_0x388632(0x2ae)][_0x388632(0x206)](()=>this[_0x388632(0x1b3)]({'hovered':!0x1})));}[_0x550dd8(0x1b3)](_0x1e8e01){const _0x562fde=_0x550dd8;var _0xb9e9d8,_0x4d3b28,_0x30b5bd,_0x36e7f4,_0x276e19,_0x492d89;this[_0x562fde(0x182)]=(_0xb9e9d8=_0x1e8e01[_0x562fde(0x3dd)])!=null?_0xb9e9d8:this[_0x562fde(0x182)],this[_0x562fde(0x306)]=(_0x4d3b28=_0x1e8e01['hovered'])!=null?_0x4d3b28:this['_hovered'],this[_0x562fde(0x195)]=(_0x30b5bd=_0x1e8e01[_0x562fde(0x263)])!=null?_0x30b5bd:this[_0x562fde(0x195)],this[_0x562fde(0x180)]=(_0x36e7f4=_0x1e8e01[_0x562fde(0x284)])!=null?_0x36e7f4:this['_name'],this['_labelPosition']=(_0x276e19=_0x1e8e01[_0x562fde(0x2b9)])!=null?_0x276e19:this[_0x562fde(0x388)],this[_0x562fde(0x3c4)]=(_0x492d89=_0x1e8e01['backgroundColor'])!=null?_0x492d89:this[_0x562fde(0x3c4)],this[_0x562fde(0x3cc)]({'width':_0x1e8e01[_0x562fde(0x310)],'height':_0x1e8e01['height']});}[_0x550dd8(0x2fb)](_0x5afac4){const _0x2dcafe=_0x550dd8,{row:_0x44e4e4,column:_0x1a4cc1}=_0x5afac4;if(_0x44e4e4>=this[_0x2dcafe(0x195)][_0x2dcafe(0x1aa)]&&_0x44e4e4<=this[_0x2dcafe(0x195)][_0x2dcafe(0x35e)]&&_0x1a4cc1>=this[_0x2dcafe(0x195)][_0x2dcafe(0x361)]&&_0x1a4cc1<=this['_range']['endColumn']){this[_0x2dcafe(0x1b3)]({'hovered':!0x0});return;}this[_0x2dcafe(0x1b3)]({'hovered':!0x1});}[_0x550dd8(0x311)](_0x284ae2){return!0x1;}[_0x550dd8(0x2e9)](_0x9dc72c){const _0x366bf7=_0x550dd8;_0x120a2c[_0x366bf7(0x26a)][_0x366bf7(0x1e5)](_0x9dc72c,{'width':this[_0x366bf7(0x310)],'height':this[_0x366bf7(0x208)],'strokeWidth':_0x490c04,'stroke':this[_0x366bf7(0x182)],'evented':!0x1,'fill':this[_0x366bf7(0x3c4)]}),this[_0x366bf7(0x306)]&&(_0x9dc72c[_0x366bf7(0x305)](),_0x9dc72c[_0x366bf7(0x3bf)](0x1,0x0,0x0,0x1,this[_0x366bf7(0x310)],this['_labelPosition']===_0x366bf7(0x316)?0x0:-_0x561ef7),_0x27907a[_0x366bf7(0x1e5)](_0x9dc72c,{'text':this[_0x366bf7(0x180)],'color':this[_0x366bf7(0x182)]}),_0x9dc72c[_0x366bf7(0x29a)]());}}var _0x42b80d=Object[_0x550dd8(0x300)],_0x1bbc84=(_0x3bf2fa,_0x23a612,_0x3a2fe8,_0x4174e1)=>{const _0x282552=_0x550dd8;for(var _0x3ed189=_0x4174e1>0x1?void 0x0:_0x4174e1?_0x42b80d(_0x23a612,_0x3a2fe8):_0x23a612,_0x235a58=_0x3bf2fa[_0x282552(0x2f9)]-0x1,_0x82a761;_0x235a58>=0x0;_0x235a58--)(_0x82a761=_0x3bf2fa[_0x235a58])&&(_0x3ed189=_0x82a761(_0x3ed189)||_0x3ed189);return _0x3ed189;},_0x14dac2=(_0x2303c6,_0x3b539f)=>(_0x4cf240,_0xbcdff4)=>_0x3b539f(_0x4cf240,_0xbcdff4,_0x2303c6);const _0x1f9f4b=0x1389;let _0x49de41=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x297940,_0x599579,_0xbd6a60,_0x492d75){const _0x4b3f52=_0x550dd8;super(),_0x53a705(this,_0x4b3f52(0x26e),new Set()),_0x53a705(this,_0x4b3f52(0x1b0),null),(this[_0x4b3f52(0x2c9)]=_0x297940,this['_sheetSkeletonManagerService']=_0x599579,this['_collabCursorController']=_0xbd6a60,this[_0x4b3f52(0x2b8)]=_0x492d75,this[_0x4b3f52(0x271)]());}['_init'](){const _0x2be106=_0x550dd8;this['_sheetSkeletonManagerService'][_0x2be106(0x1d8)][_0x2be106(0x331)](_0x51f274[_0x2be106(0x249)](this[_0x2be106(0x24d)]),_0x51f274[_0x2be106(0x356)](_0x34aa3c=>{const _0x2aad29=_0x2be106;if(_0x34aa3c){const _0x31269b=_0x34aa3c[_0x2aad29(0x2b7)];return _0x8d602e['combineLatest'](this[_0x2aad29(0x3f8)][_0x2aad29(0x2b1)](this[_0x2aad29(0x2c9)][_0x2aad29(0x389)]),this['_themeService']['currentTheme$'])[_0x2aad29(0x331)](_0x51f274[_0x2aad29(0x27d)](([_0xa994a0,_0x475a55])=>{const _0x345483=_0x2aad29,_0x601a1d=new Map();return _0xa994a0[_0x345483(0x1e9)]((_0x26dd6e,_0x4ae88a)=>{const _0x184501=_0x345483;if(_0x26dd6e['sheetID']===_0x31269b){const _0x5b16b1={..._0x26dd6e};_0x5b16b1[_0x184501(0x3dd)]=this[_0x184501(0x2b8)][_0x184501(0x1a7)](_0x26dd6e[_0x184501(0x3dd)]),_0x601a1d[_0x184501(0x334)](_0x4ae88a,_0x5b16b1);}}),{'skeleton':_0x34aa3c,'cursors':_0x601a1d};}));}return _0x8d602e['of']({'skeleton':null,'cursors':new Map()});}))[_0x2be106(0x40b)](({skeleton:_0x7e8ad4,cursors:_0xce8bdb})=>{const _0x2527bd=_0x2be106;this[_0x2527bd(0x370)](),_0x7e8ad4&&this[_0x2527bd(0x22d)](_0x7e8ad4,_0xce8bdb);}),this[_0x2be106(0x3a4)][_0x2be106(0x1d8)][_0x2be106(0x40b)](_0x298543=>{const _0x5455ad=_0x2be106;if(_0x298543==null)return;const {skeleton:_0x39e4c2}=_0x298543,{scene:_0x57e596}=this[_0x5455ad(0x2c9)];_0x57e596['onPointerMove$']['subscribeEvent'](_0x57bc4a['debounce'](_0x24f58c=>{const _0x30058c=_0x5455ad;var _0x373234,_0x580d39;const {offsetX:_0x122d49,offsetY:_0x47abfe}=_0x24f58c,{x:_0x2e4905,y:_0x4ef674}=_0x57e596['getRelativeToViewportCoord'](_0x120a2c['Vector2']['FromArray']([_0x122d49,_0x47abfe])),{scaleX:_0x55cdbd,scaleY:_0xcf0b0e}=_0x57e596[_0x30058c(0x3d7)](),_0xc29064=_0x57e596[_0x30058c(0x35a)](_0x120a2c['SHEET_VIEWPORT_KEY'][_0x30058c(0x40c)]),_0x5e108f=_0x57e596['getVpScrollXYInfoByPosToVp'](_0x120a2c[_0x30058c(0x2d4)][_0x30058c(0x1da)]([_0x2e4905,_0x4ef674]),_0xc29064),_0x415ebb=_0x39e4c2[_0x30058c(0x272)](_0x122d49,_0x47abfe,_0x55cdbd,_0xcf0b0e,_0x5e108f);((_0x373234=this[_0x30058c(0x1b0)])==null?void 0x0:_0x373234[_0x30058c(0x32b)])===_0x415ebb[_0x30058c(0x32b)]&&((_0x580d39=this[_0x30058c(0x1b0)])==null?void 0x0:_0x580d39['row'])===_0x415ebb[_0x30058c(0x302)]||this['_cursors']['forEach'](_0x400a82=>{const _0x4aede4=_0x30058c;_0x400a82[_0x4aede4(0x2fb)](_0x415ebb);});},0x64));});}[_0x550dd8(0x22d)](_0xb50b5f,_0x567ef8){const _0x465849=_0x550dd8;var _0x500d4c;const _0x4ed4ea=(_0x500d4c=this[_0x465849(0x3a4)]['getCurrent']())==null?void 0x0:_0x500d4c[_0x465849(0x2de)];if(!_0x4ed4ea)return;const _0x23d473=this[_0x465849(0x38b)]();if(!_0x23d473)return;this[_0x465849(0x26e)][_0x465849(0x1e9)](_0x30d741=>{const _0x5e9b26=_0x465849;_0x30d741[_0x5e9b26(0x349)]();});const {scene:_0x5ea666}=_0x23d473,_0x1f7826=_0xad1fcd(Array[_0x465849(0x2d0)](_0x567ef8[_0x465849(0x1df)]()))[_0x465849(0x27d)](_0x94bc10=>{const _0x5a859f=_0x465849,{color:_0x16d293,range:_0x12231b,name:_0x520e13,selection:_0x515e69,sheetID:_0x58486c}=_0x94bc10,{startColumn:_0x29eb31,startRow:_0x2b8a8f,endColumn:_0x5a7449,endRow:_0x2359e5}=_0x12231b,_0x3111d3=_0x16e985[_0x5a859f(0x1c8)](_0x2b8a8f,_0x29eb31,_0x5ea666,_0x4ed4ea),_0x3be177=_0x16e985[_0x5a859f(0x1c8)](_0x2359e5,_0x5a7449,_0x5ea666,_0x4ed4ea),{columnHeaderHeightAndMarginTop:_0x547890}=_0x4ed4ea,{startX:_0x263763,startY:_0x221681}=_0x3111d3,{endX:_0x58a754,endY:_0x13b28f}=_0x3be177,_0xf4e52e=_0x58a754-_0x263763,_0x25006d=_0x13b28f-_0x221681,_0xda33e3={'labelPosition':_0x221681-_0x547890>=_0x561ef7?_0x5a859f(0x354):'bottom','sheetID':_0x58486c,'range':_0x12231b,'color':_0x16d293,'name':_0x520e13,'selection':_0x515e69,'left':_0x263763,'top':_0x221681,'width':_0xf4e52e,'height':_0x25006d,'evented':!0x1,'zIndex':_0x1f9f4b};return new _0x4a940d(_0x520e13,_0xda33e3);});_0x5ea666[_0x465849(0x3be)](_0x1f7826,_0x415ac9),this[_0x465849(0x26e)]=new Set(_0x1f7826);}[_0x550dd8(0x370)](){const _0x4c6dbb=_0x550dd8;var _0x414c1d;(_0x414c1d=this[_0x4c6dbb(0x26e)])==null||_0x414c1d['forEach'](_0x26b9da=>_0x26b9da['dispose']());}[_0x550dd8(0x38b)](){const _0x1a8887=_0x550dd8;return _0x16e985[_0x1a8887(0x37b)](this[_0x1a8887(0x2c9)]['unit'],this[_0x1a8887(0x2c9)]);}};_0x49de41=_0x1bbc84([_0x14dac2(0x1,_0x57bc4a['Inject'](_0x16e985[_0x550dd8(0x385)])),_0x14dac2(0x2,_0x57bc4a['Inject'](_0x1434ca)),_0x14dac2(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x374)]))],_0x49de41);function _0xad1fcd(_0x56669d){const _0x360b71=_0x550dd8,_0x77f458=new Map();return _0x56669d[_0x360b71(0x1e9)](_0x518255=>{const _0x2aed00=_0x360b71;if(_0x77f458[_0x2aed00(0x280)](_0x518255[_0x2aed00(0x38f)])){const _0x5cbf7f=_0x77f458['get'](_0x518255['selection']);_0x5cbf7f[_0x2aed00(0x284)]+=',\x20'+_0x518255[_0x2aed00(0x284)];}else _0x77f458[_0x2aed00(0x334)](_0x518255[_0x2aed00(0x38f)],_0x518255);}),Array[_0x360b71(0x2d0)](_0x77f458[_0x360b71(0x1df)]());}var _0x3dcf97=function(){const _0x56418d=_0x550dd8;return _0x3dcf97=Object['assign']||function(_0x35b3c9){const _0x3e81d4=_0x28d1;for(var _0x3f3199,_0x3a9b91=0x1,_0x4b5e58=arguments[_0x3e81d4(0x2f9)];_0x3a9b91<_0x4b5e58;_0x3a9b91++){_0x3f3199=arguments[_0x3a9b91];for(var _0x16f7f4 in _0x3f3199)Object[_0x3e81d4(0x2bc)][_0x3e81d4(0x31b)]['call'](_0x3f3199,_0x16f7f4)&&(_0x35b3c9[_0x16f7f4]=_0x3f3199[_0x16f7f4]);}return _0x35b3c9;},_0x3dcf97[_0x56418d(0x215)](this,arguments);},_0xa07808=function(_0x26f65b,_0x163e97){const _0x273e19=_0x550dd8;var _0x31b01d={};for(var _0x474e25 in _0x26f65b)Object[_0x273e19(0x2bc)]['hasOwnProperty']['call'](_0x26f65b,_0x474e25)&&_0x163e97[_0x273e19(0x29d)](_0x474e25)<0x0&&(_0x31b01d[_0x474e25]=_0x26f65b[_0x474e25]);if(_0x26f65b!=null&&typeof Object[_0x273e19(0x1bf)]==_0x273e19(0x3ff)){for(var _0x2d715f=0x0,_0x474e25=Object['getOwnPropertySymbols'](_0x26f65b);_0x2d715f<_0x474e25[_0x273e19(0x2f9)];_0x2d715f++)_0x163e97[_0x273e19(0x29d)](_0x474e25[_0x2d715f])<0x0&&Object[_0x273e19(0x2bc)][_0x273e19(0x24f)][_0x273e19(0x33f)](_0x26f65b,_0x474e25[_0x2d715f])&&(_0x31b01d[_0x474e25[_0x2d715f]]=_0x26f65b[_0x474e25[_0x2d715f]]);}return _0x31b01d;},_0x377766=_0x181751['forwardRef'](function(_0x189790,_0x31c41a){const _0x12ceff=_0x550dd8;var _0x3c385c=_0x189790['icon'],_0x4ca8bd=_0x189790['id'],_0x2f864a=_0x189790[_0x12ceff(0x1c4)],_0x5f5c0e=_0x189790[_0x12ceff(0x1b7)],_0x5d7d79=_0xa07808(_0x189790,[_0x12ceff(0x198),'id',_0x12ceff(0x1c4),'extend']),_0x5ac5a9=_0x12ceff(0x293)[_0x12ceff(0x34b)](_0x4ca8bd,'\x20')[_0x12ceff(0x34b)](_0x2f864a||'')[_0x12ceff(0x313)](),_0x3b2eb5=_0x181751[_0x12ceff(0x1bc)]('_'[_0x12ceff(0x34b)](_0x29ca32()));return _0x57e036(_0x3c385c,''[_0x12ceff(0x34b)](_0x4ca8bd),{'defIds':_0x3c385c['defIds'],'idSuffix':_0x3b2eb5[_0x12ceff(0x2cf)]},_0x3dcf97({'ref':_0x31c41a,'className':_0x5ac5a9},_0x5d7d79),_0x5f5c0e);});function _0x57e036(_0x5dace2,_0x47282f,_0x43a816,_0xf4e308,_0x225430){const _0x52b93b=_0x550dd8;return _0x181751['createElement'](_0x5dace2['tag'],_0x3dcf97(_0x3dcf97({'key':_0x47282f},_0x13eb86(_0x5dace2,_0x43a816,_0x225430)),_0xf4e308),(_0x45fb49(_0x5dace2,_0x43a816)['children']||[])[_0x52b93b(0x27d)](function(_0x122930,_0x5d450c){const _0x509d8b=_0x52b93b;return _0x57e036(_0x122930,''[_0x509d8b(0x34b)](_0x47282f,'-')[_0x509d8b(0x34b)](_0x5dace2[_0x509d8b(0x199)],'-')[_0x509d8b(0x34b)](_0x5d450c),_0x43a816,void 0x0,_0x225430);}));}function _0x13eb86(_0x581c00,_0x1f5337,_0x49a2ae){const _0x75f77=_0x550dd8;var _0x53c0b1=_0x3dcf97({},_0x581c00[_0x75f77(0x2a3)]);_0x49a2ae!=null&&_0x49a2ae['colorChannel1']&&_0x53c0b1[_0x75f77(0x1a0)]===_0x75f77(0x2db)&&(_0x53c0b1[_0x75f77(0x1a0)]=_0x49a2ae[_0x75f77(0x2db)]),_0x581c00[_0x75f77(0x199)]===_0x75f77(0x19d)&&_0x53c0b1['id']&&(_0x53c0b1['id']=_0x53c0b1['id']+_0x1f5337['idSuffix']),Object[_0x75f77(0x1bb)](_0x53c0b1)['forEach'](function(_0x29b894){const _0xd53406=_0x75f77;var _0x55946c=_0x29b894[0x0],_0x1f43f7=_0x29b894[0x1];_0x55946c==='mask'&&typeof _0x1f43f7=='string'&&(_0x53c0b1[_0x55946c]=_0x1f43f7['replace'](/url\(#(.*)\)/,_0xd53406(0x25b)[_0xd53406(0x34b)](_0x1f5337['idSuffix'],')')));});var _0x11a62e=_0x1f5337['defIds'];return!_0x11a62e||_0x11a62e[_0x75f77(0x2f9)]===0x0||(_0x581c00[_0x75f77(0x199)]===_0x75f77(0x1b4)&&_0x53c0b1[_0x75f77(0x345)]&&(_0x53c0b1[_0x75f77(0x345)]=_0x53c0b1[_0x75f77(0x345)]+_0x1f5337[_0x75f77(0x3bd)]),Object[_0x75f77(0x1bb)](_0x53c0b1)[_0x75f77(0x1e9)](function(_0x24d58d){const _0x5a8d07=_0x75f77;var _0xea5ba9=_0x24d58d[0x0],_0x486e54=_0x24d58d[0x1];typeof _0x486e54==_0x5a8d07(0x2b4)&&(_0x53c0b1[_0xea5ba9]=_0x486e54[_0x5a8d07(0x2f7)](/url\(#(.*)\)/,_0x5a8d07(0x25b)[_0x5a8d07(0x34b)](_0x1f5337['idSuffix'],')')));})),_0x53c0b1;}function _0x45fb49(_0x4ed443,_0x33be78){const _0x55146f=_0x550dd8;var _0x5e1e54,_0x2fcdf9=_0x33be78[_0x55146f(0x362)];return!_0x2fcdf9||_0x2fcdf9[_0x55146f(0x2f9)]===0x0?_0x4ed443:_0x4ed443[_0x55146f(0x199)]===_0x55146f(0x3d3)&&(!((_0x5e1e54=_0x4ed443['children'])===null||_0x5e1e54===void 0x0)&&_0x5e1e54[_0x55146f(0x2f9)])?_0x3dcf97(_0x3dcf97({},_0x4ed443),{'children':_0x4ed443[_0x55146f(0x3e4)][_0x55146f(0x27d)](function(_0x27962f){const _0x3d25f1=_0x55146f;return typeof _0x27962f[_0x3d25f1(0x2a3)]['id']==_0x3d25f1(0x2b4)&&_0x2fcdf9&&_0x2fcdf9[_0x3d25f1(0x31a)](_0x27962f[_0x3d25f1(0x2a3)]['id'])?_0x3dcf97(_0x3dcf97({},_0x27962f),{'attrs':_0x3dcf97(_0x3dcf97({},_0x27962f[_0x3d25f1(0x2a3)]),{'id':_0x27962f[_0x3d25f1(0x2a3)]['id']+_0x33be78[_0x3d25f1(0x3bd)]})}):_0x27962f;})}):_0x4ed443;}function _0x29ca32(){const _0x536b8c=_0x550dd8;return Math[_0x536b8c(0x3af)]()[_0x536b8c(0x2e6)](0x24)[_0x536b8c(0x2dc)](0x2,0x8);}_0x377766['displayName']='UniverIcon';var _0x3b5273={'tag':_0x550dd8(0x332),'attrs':{'xmlns':_0x550dd8(0x34a),'fill':'none','viewBox':_0x550dd8(0x36f),'width':_0x550dd8(0x410),'height':_0x550dd8(0x410)},'children':[{'tag':'g','attrs':{'clipPath':_0x550dd8(0x2da)},'children':[{'tag':'path','attrs':{'stroke':_0x550dd8(0x18c),'d':_0x550dd8(0x1fe),'strokeLinecap':_0x550dd8(0x34e),'strokeLinejoin':_0x550dd8(0x34e),'strokeWidth':1.2}}]},{'tag':_0x550dd8(0x3d3),'attrs':{},'children':[{'tag':_0x550dd8(0x1be),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x550dd8(0x3dc),'attrs':{'fill':'white','d':_0x550dd8(0x250)}}]}]}],'defIds':[_0x550dd8(0x3e5)]},_0x250cc8=_0x181751[_0x550dd8(0x276)](function(_0x11bb31,_0x36e5a7){const _0x3ae155=_0x550dd8;return _0x181751['createElement'](_0x377766,Object[_0x3ae155(0x266)]({},_0x11bb31,{'id':_0x3ae155(0x380),'ref':_0x36e5a7,'icon':_0x3b5273}));});_0x250cc8[_0x550dd8(0x248)]=_0x550dd8(0x223);var _0xea8af={'tag':_0x550dd8(0x332),'attrs':{'xmlns':_0x550dd8(0x34a),'fill':'none','viewBox':_0x550dd8(0x190),'width':_0x550dd8(0x410),'height':_0x550dd8(0x410)},'children':[{'tag':'g','attrs':{'clipPath':_0x550dd8(0x3f2)},'children':[{'tag':'path','attrs':{'stroke':_0x550dd8(0x18c),'d':_0x550dd8(0x416),'strokeLinecap':'round','strokeLinejoin':_0x550dd8(0x34e),'strokeWidth':1.2}}]},{'tag':_0x550dd8(0x3d3),'attrs':{},'children':[{'tag':_0x550dd8(0x1be),'attrs':{'id':_0x550dd8(0x3b1)},'children':[{'tag':_0x550dd8(0x3dc),'attrs':{'fill':'white','d':_0x550dd8(0x250),'transform':'translate(.97)'}}]}]}],'defIds':[_0x550dd8(0x3b1)]},_0x5cf868=_0x181751[_0x550dd8(0x276)](function(_0x43f888,_0x256df6){const _0x1947ec=_0x550dd8;return _0x181751['createElement'](_0x377766,Object[_0x1947ec(0x266)]({},_0x43f888,{'id':_0x1947ec(0x26d),'ref':_0x256df6,'icon':_0xea8af}));});_0x5cf868['displayName']=_0x550dd8(0x355);function _0x280a3e(_0xf95b29){const _0x1cd324=_0x550dd8;switch(_0xf95b29){case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x270)]:return'collabStatus.offline';case _0x1a6421['CollaborationStatus'][_0x1cd324(0x39c)]:return _0x1cd324(0x35b);case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x396)]:return'collabStatus.fetchMiss';case _0x1a6421[_0x1cd324(0x3c9)]['NOT_COLLAB']:return _0x1cd324(0x24a);case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x1a3)]:case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x3a5)]:return _0x1cd324(0x269);case _0x1a6421[_0x1cd324(0x3c9)][_0x1cd324(0x212)]:case _0x1a6421[_0x1cd324(0x3c9)]['PENDING']:return'collabStatus.synced';}}function _0x137593(_0x57b5a0){const _0x39a234=_0x550dd8,{status$:_0x31cb85}=_0x57b5a0,_0x4ff2af=_0x29e6f1[_0x39a234(0x30b)](_0x31cb85,_0x1a6421['CollaborationStatus']['NOT_COLLAB']),_0x27666d=_0x29e6f1[_0x39a234(0x3b6)](_0x57bc4a[_0x39a234(0x27e)]),_0xbb7b8b=_0x29e6f1[_0x39a234(0x3b6)](_0x1a6421[_0x39a234(0x358)]),_0x4b1d86=_0x4ff2af!==_0x1a6421['CollaborationStatus']['OFFLINE'],_0x11ae65=_0x27666d['t'](_0x280a3e(_0x4ff2af)),_0x296149=_0x4b1d86?_0x158c8f[_0x39a234(0x1c7)](_0x5cf868,{}):_0x158c8f[_0x39a234(0x1c7)](_0x250cc8,{}),_0x238054=_0x181751[_0x39a234(0x28b)](()=>{_0x4b1d86||_0xbb7b8b['reconnect']();},[_0x4b1d86,_0xbb7b8b]);function _0x2e790c(){const _0x3b3134=_0x39a234;return _0x158c8f[_0x3b3134(0x1e2)](_0x3b3134(0x2b5),{'className':_0x3b3134(0x2ad),'onClick':_0x238054,'children':[_0x158c8f['jsx'](_0x3b3134(0x2b5),{'className':_0x43e575[_0x3b3134(0x32e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4b1d86,'univer-text-red-500':!_0x4b1d86}),'children':_0x296149}),_0x158c8f['jsx'](_0x3b3134(0x2b5),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x11ae65})]});}return _0x4b1d86?_0x2e790c():_0x158c8f[_0x39a234(0x1c7)](_0x43e575[_0x39a234(0x3fc)],{'title':_0x27666d['t'](_0x39a234(0x242)),'children':_0x2e790c()});}var _0x323049=Object[_0x550dd8(0x300)],_0x3d9b0f=(_0xd95146,_0x24b555,_0x2045d9,_0x493a9a)=>{const _0x53e630=_0x550dd8;for(var _0x43579f=_0x493a9a>0x1?void 0x0:_0x493a9a?_0x323049(_0x24b555,_0x2045d9):_0x24b555,_0x3719f7=_0xd95146[_0x53e630(0x2f9)]-0x1,_0x11ab5f;_0x3719f7>=0x0;_0x3719f7--)(_0x11ab5f=_0xd95146[_0x3719f7])&&(_0x43579f=_0x11ab5f(_0x43579f)||_0x43579f);return _0x43579f;},_0x48c2d4=(_0x3f51d1,_0x456174)=>(_0xc25fef,_0x100baa)=>_0x456174(_0xc25fef,_0x100baa,_0x3f51d1);_0x40d0d0[_0x550dd8(0x236)]=class extends _0x57bc4a[_0x550dd8(0x387)]{constructor(_0x1fc973,_0x3f9369,_0xa6d9c1,_0x169b7e){const _0xbd3cf9=_0x550dd8;super(),_0x53a705(this,_0xbd3cf9(0x202),new _0x8d602e[(_0xbd3cf9(0x2f8))](_0x1a6421[_0xbd3cf9(0x3c9)][_0xbd3cf9(0x27f)])),(this[_0xbd3cf9(0x325)]=_0x1fc973,this['_injector']=_0x3f9369,this[_0xbd3cf9(0x1a2)]=_0xa6d9c1,this[_0xbd3cf9(0x2fc)]=_0x169b7e,this[_0xbd3cf9(0x3ce)](),this[_0xbd3cf9(0x257)]());}['_initStatusListener'](){const _0x18eed9=_0x550dd8;this[_0x18eed9(0x22e)](this[_0x18eed9(0x325)][_0x18eed9(0x320)][_0x18eed9(0x331)](_0x8d602e[_0x18eed9(0x356)](()=>{const _0x515b08=_0x18eed9,_0x2a8a39=this['_univerInstanceService']['getFocusedUnit']();return _0x2a8a39?this[_0x515b08(0x1a2)]['getCollabEntity$'](_0x2a8a39['getUnitId']()):_0x8d602e['of'](null);}),_0x8d602e['switchMap'](_0x68fd5f=>_0x68fd5f?_0x68fd5f['status$']:_0x8d602e['of'](_0x1a6421[_0x18eed9(0x3c9)][_0x18eed9(0x27f)])))[_0x18eed9(0x40b)](_0x18eaa1=>{const _0x812995=_0x18eed9;this[_0x812995(0x202)][_0x812995(0x373)](_0x18eaa1);}));}[_0x550dd8(0x3ce)](){const _0xd61301=_0x550dd8;this[_0xd61301(0x22e)](this[_0xd61301(0x2fc)][_0xd61301(0x1a9)](_0x29e6f1['BuiltInUIPart'][_0xd61301(0x40a)],()=>_0x29e6f1['connectInjector'](_0x383194({'status$':this[_0xd61301(0x202)]['asObservable']()}),this[_0xd61301(0x317)])));}},_0x40d0d0[_0x550dd8(0x236)]=_0x3d9b0f([_0x48c2d4(0x0,_0x57bc4a[_0x550dd8(0x37f)]),_0x48c2d4(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x48c2d4(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x17e)])),_0x48c2d4(0x3,_0x29e6f1[_0x550dd8(0x241)])],_0x40d0d0[_0x550dd8(0x236)]);function _0x383194(_0x4c9e26){const {status$:_0x28ed01}=_0x4c9e26;return function(){const _0x2ae3d0=_0x28d1;return _0x158c8f[_0x2ae3d0(0x1c7)](_0x137593,{'status$':_0x28ed01});};}var _0x1e4eb1=Object[_0x550dd8(0x300)],_0x5bebd3=(_0x549a1d,_0x3f763f,_0x5f0a89,_0x4b2737)=>{for(var _0x4e4985=_0x4b2737>0x1?void 0x0:_0x4b2737?_0x1e4eb1(_0x3f763f,_0x5f0a89):_0x3f763f,_0x190218=_0x549a1d['length']-0x1,_0x10652b;_0x190218>=0x0;_0x190218--)(_0x10652b=_0x549a1d[_0x190218])&&(_0x4e4985=_0x10652b(_0x4e4985)||_0x4e4985);return _0x4e4985;},_0x5ddfb0=(_0x4dbe10,_0x30a7d6)=>(_0x4dacae,_0x5700cd)=>_0x30a7d6(_0x4dacae,_0x5700cd,_0x4dbe10);let _0x490837=class extends _0x57bc4a[_0x550dd8(0x387)]{constructor(_0x50dd97,_0xad14b7,_0x407301,_0x34b726,_0x1f7776,_0x2b0296){const _0x58800e=_0x550dd8;super(),this[_0x58800e(0x35d)]=_0x50dd97,this['_localCacheService']=_0xad14b7,this[_0x58800e(0x192)]=_0x407301,this[_0x58800e(0x322)]=_0x34b726,this[_0x58800e(0x3db)]=_0x1f7776,this[_0x58800e(0x38d)]=_0x2b0296,this['_setupBeforeClosingHandler'](),this[_0x58800e(0x1d0)]();}[_0x550dd8(0x37c)](){const _0x3153d2=_0x550dd8;this[_0x3153d2(0x22e)](this[_0x3153d2(0x35d)]['registerBeforeClose'](()=>{const _0x1a8c8f=_0x3153d2;if(this[_0x1a8c8f(0x25d)]['saveTaskMap'][_0x1a8c8f(0x314)])return this[_0x1a8c8f(0x38d)]['t'](_0x1a8c8f(0x2bd));}));}[_0x550dd8(0x1d0)](){const _0x24e6a9=_0x550dd8;this[_0x24e6a9(0x22e)](this[_0x24e6a9(0x192)][_0x24e6a9(0x326)][_0x24e6a9(0x40b)](_0x34553d=>{const _0x497134=_0x24e6a9;_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x26b)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575[_0x497134(0x1a1)]['Warning'],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x303))}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x40e)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x3d5)],'content':this['_localeService']['t'](_0x497134(0x27a))}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x1f7)]&&this[_0x497134(0x3db)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x497134(0x38d)]['t'](_0x497134(0x2bb)),'type':_0x497134(0x268),'duration':0x0}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x39c)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575['MessageType'][_0x497134(0x2dd)],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x27a))+'('+_0x34553d[_0x497134(0x1f8)]+')'}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x3f4)]&&this[_0x497134(0x322)]['show']({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x3d5)],'content':this[_0x497134(0x38d)]['t'](_0x34553d[_0x497134(0x1f8)]||'')}),_0x34553d['id']===_0x1a6421['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x497134(0x1c6)]({'type':_0x43e575['MessageType']['Warning'],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x395))}),_0x34553d['id']===_0x1a6421['CollaborationUIEventId'][_0x497134(0x1ae)]&&this[_0x497134(0x322)]['show']({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x2dd)],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x376))}),_0x34553d['id']===_0x1a6421[_0x497134(0x23f)][_0x497134(0x3f0)]&&this[_0x497134(0x322)][_0x497134(0x1c6)]({'type':_0x43e575[_0x497134(0x1a1)][_0x497134(0x2dd)],'content':this[_0x497134(0x38d)]['t'](_0x497134(0x1ab))});}));}};_0x490837=_0x5bebd3([_0x5ddfb0(0x0,_0x29e6f1[_0x550dd8(0x368)]),_0x5ddfb0(0x1,_0x1a6421[_0x550dd8(0x3e0)]),_0x5ddfb0(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x18f)])),_0x5ddfb0(0x3,_0x29e6f1[_0x550dd8(0x1f4)]),_0x5ddfb0(0x4,_0x29e6f1['INotificationService']),_0x5ddfb0(0x5,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a['LocaleService']))],_0x490837);const _0x521268=_0x550dd8(0x1ed),_0x40da0e={},_0x40e96e=_0x57bc4a[_0x550dd8(0x40d)](_0x550dd8(0x21a));var _0x42e261=Object['getOwnPropertyDescriptor'],_0x53ae6e=(_0x357f20,_0x3c67d5,_0x42524c,_0x32b62f)=>{const _0x4560ce=_0x550dd8;for(var _0x37f6e3=_0x32b62f>0x1?void 0x0:_0x32b62f?_0x42e261(_0x3c67d5,_0x42524c):_0x3c67d5,_0x5e0eb2=_0x357f20[_0x4560ce(0x2f9)]-0x1,_0x2b35d8;_0x5e0eb2>=0x0;_0x5e0eb2--)(_0x2b35d8=_0x357f20[_0x5e0eb2])&&(_0x37f6e3=_0x2b35d8(_0x37f6e3)||_0x37f6e3);return _0x37f6e3;},_0x5a4fee=(_0x33d2cb,_0x4c9b0b)=>(_0x2627b7,_0x490d5b)=>_0x4c9b0b(_0x2627b7,_0x490d5b,_0x33d2cb);_0x40d0d0['CollaborationDataLoaderController']=class extends _0x57bc4a[_0x550dd8(0x2aa)]{constructor(_0x23b577,_0x567509,_0x589afe,_0x3e2a41,_0x4f0b0c){const _0x30a8c0=_0x550dd8;super(),this[_0x30a8c0(0x283)]=_0x23b577,this['_logService']=_0x567509,this[_0x30a8c0(0x365)]=_0x589afe,this[_0x30a8c0(0x2cb)]=_0x3e2a41,_0x4f0b0c?_0x4f0b0c==null||_0x4f0b0c['whenReady']()[_0x30a8c0(0x39a)](()=>this[_0x30a8c0(0x271)]()):(this[_0x30a8c0(0x35f)]['debug'](_0x30a8c0(0x350),_0x30a8c0(0x3fa)),this[_0x30a8c0(0x271)]());}async[_0x550dd8(0x271)](){const _0xa3bf4d=_0x550dd8,_0x211553=this[_0xa3bf4d(0x283)][_0xa3bf4d(0x1a6)](_0xa3bf4d(0x2c5)),_0x277c5d=this[_0xa3bf4d(0x283)][_0xa3bf4d(0x1a6)]('type'),_0x10d43b=this[_0xa3bf4d(0x283)][_0xa3bf4d(0x1a6)](_0xa3bf4d(0x19b));if(!_0x211553||!_0x277c5d){this['_logService']['debug'](_0xa3bf4d(0x350),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x15420b=await this[_0xa3bf4d(0x2cb)][_0xa3bf4d(0x3e1)](_0x211553,Number(_0x277c5d),_0x10d43b);_0x15420b&&_0x15420b instanceof _0x57bc4a[_0xa3bf4d(0x3b8)]&&this['_setupSubUnitSync'](_0x15420b);}async[_0x550dd8(0x298)](_0x63ec0c){const _0x5c8fc0=_0x550dd8;await this[_0x5c8fc0(0x2eb)](_0x63ec0c),_0x63ec0c[_0x5c8fc0(0x2a6)][_0x5c8fc0(0x331)](_0x8d602e[_0x5c8fc0(0x249)](this[_0x5c8fc0(0x24d)]))[_0x5c8fc0(0x40b)](_0x15034c=>{const _0x1e8914=_0x5c8fc0;_0x15034c&&this[_0x1e8914(0x1d9)](_0x15034c);}),this[_0x5c8fc0(0x283)][_0x5c8fc0(0x1ad)][_0x5c8fc0(0x331)](_0x8d602e['takeUntil'](this[_0x5c8fc0(0x24d)]))['subscribe'](()=>this[_0x5c8fc0(0x2eb)](_0x63ec0c));}[_0x550dd8(0x1d9)](_0x3423e3,_0x584666=!0x1){const _0x1f39e4=_0x550dd8,_0x97f0b0=this[_0x1f39e4(0x283)][_0x1f39e4(0x1a6)](_0x1f39e4(0x19b));_0x3423e3['getSheetId']()!==_0x97f0b0&&this['_urlService'][_0x1f39e4(0x291)]('subunit',_0x3423e3['getSheetId'](),_0x584666);}async['_updateSubUnitFromURLParams'](_0x43ac63){const _0xe2560f=_0x550dd8;var _0x716717;const _0x460644=this[_0xe2560f(0x283)][_0xe2560f(0x1a6)](_0xe2560f(0x19b));if(!_0x460644||!_0x43ac63[_0xe2560f(0x261)](_0x460644)){const _0x2162f6=_0x43ac63[_0xe2560f(0x393)]()[0x0],_0x42f163=_0x43ac63['getSheetBySheetId'](_0x2162f6);if(!_0x42f163)return;this['_updateURLWithCurrentState'](_0x42f163,!0x0),await this['_commandService']['executeCommand'](_0x26613f['SetWorksheetActivateCommand']['id'],{'unitId':_0x43ac63[_0xe2560f(0x3ae)](),'subUnitId':_0x2162f6});return;}((_0x716717=_0x43ac63[_0xe2560f(0x2c6)]())==null?void 0x0:_0x716717[_0xe2560f(0x321)]())!==_0x460644&&await this[_0xe2560f(0x365)]['executeCommand'](_0x26613f[_0xe2560f(0x1af)]['id'],{'unitId':_0x43ac63[_0xe2560f(0x3ae)](),'subUnitId':_0x460644});}},_0x40d0d0[_0x550dd8(0x24e)]=_0x53ae6e([_0x5a4fee(0x0,_0x40e96e),_0x5a4fee(0x1,_0x57bc4a[_0x550dd8(0x3c1)]),_0x5a4fee(0x2,_0x57bc4a[_0x550dd8(0x279)]),_0x5a4fee(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421[_0x550dd8(0x3e8)])),_0x5a4fee(0x4,_0x57bc4a[_0x550dd8(0x20c)](_0x11103a['IRemoteInstanceService']))],_0x40d0d0[_0x550dd8(0x24e)]);var _0x2301b7=Object['getOwnPropertyDescriptor'],_0x559148=(_0x5814f9,_0xb91cdb,_0x23d18f,_0x3c371d)=>{for(var _0x394cd4=_0x3c371d>0x1?void 0x0:_0x3c371d?_0x2301b7(_0xb91cdb,_0x23d18f):_0xb91cdb,_0x21787a=_0x5814f9['length']-0x1,_0x23b043;_0x21787a>=0x0;_0x21787a--)(_0x23b043=_0x5814f9[_0x21787a])&&(_0x394cd4=_0x23b043(_0x394cd4)||_0x394cd4);return _0x394cd4;},_0xef0f9d=(_0x428884,_0x4cc975)=>(_0xe8c2df,_0x1c435e)=>_0x4cc975(_0xe8c2df,_0x1c435e,_0x428884);let _0x39095d=class{constructor(_0x5c4acd,_0x1e540a){const _0x9996d2=_0x550dd8;this[_0x9996d2(0x3c6)]=_0x5c4acd,this[_0x9996d2(0x342)]=_0x1e540a;}[_0x550dd8(0x1eb)](_0x2eed9b){const _0x725c01=_0x550dd8;this['_transformUndoRedoStack'](_0x2eed9b),this[_0x725c01(0x367)](_0x2eed9b);}['transformRemoteChangeset'](_0x584ab4){const _0x16be19=_0x550dd8,{unitID:_0x3384b3}=_0x584ab4,_0xeac4fe=this[_0x16be19(0x342)][_0x16be19(0x207)](_0x3384b3)['with'](_0x8abdee[_0x16be19(0x411)]),{redoCache:_0x3a4a78}=_0xeac4fe[_0x16be19(0x1f6)]();if(_0x3a4a78[_0x16be19(0x2f9)]===0x0)return _0x584ab4;let _0x14c46e=_0x57bc4a['Tools'][_0x16be19(0x194)](_0x584ab4[_0x16be19(0x403)][0x0]);for(let _0x5a33a7=0x0;_0x5a33a7<_0x3a4a78[_0x16be19(0x2f9)];_0x5a33a7++){const _0x3aefb5={'id':_0x16be19(0x1e4),'params':{..._0x3a4a78[_0x5a33a7]}},_0x53b6ad=this[_0x16be19(0x3c6)][_0x16be19(0x413)](_0x14c46e,_0x3aefb5,!0x1);if(_0x61a9e1['isTransformMutationFailure'](_0x53b6ad))throw _0x53b6ad[_0x16be19(0x268)];_0x14c46e=_0x53b6ad[_0x16be19(0x33c)];}return{..._0x57bc4a[_0x16be19(0x2fa)]['deepClone'](_0x584ab4),'mutations':[_0x14c46e]};}[_0x550dd8(0x1d2)](_0x1b8269){const _0x18656e=_0x550dd8,{unitID:_0xe4262a}=_0x1b8269,_0x17a1c6=this[_0x18656e(0x342)][_0x18656e(0x207)](_0xe4262a)[_0x18656e(0x23d)](_0x8abdee[_0x18656e(0x411)]),{undoCache:_0x469422,redoCache:_0x21b4b3}=_0x17a1c6[_0x18656e(0x1f6)]();if(_0x469422[_0x18656e(0x2f9)]===0x0||_0x21b4b3['length']===0x0)return;const _0x2df1d6=[],_0x495c13=[];let _0x51946b=_0x57bc4a[_0x18656e(0x2fa)]['deepClone'](_0x1b8269[_0x18656e(0x403)][0x0]),_0x1d8949=_0x57bc4a[_0x18656e(0x2fa)]['deepClone'](_0x1b8269['mutations'][0x0]);for(let _0x4cf8e5=_0x469422[_0x18656e(0x2f9)]-0x1;_0x4cf8e5>=0x0;_0x4cf8e5--){const _0xab78d9={'id':_0x18656e(0x1e4),'params':{..._0x469422[_0x4cf8e5]}},_0x46cc1d={'id':_0x18656e(0x1e4),'params':{..._0x21b4b3[_0x4cf8e5]}},_0x203b5e=this[_0x18656e(0x3c6)][_0x18656e(0x413)](_0x51946b,_0xab78d9,!0x1),_0x79eca2=this[_0x18656e(0x3c6)][_0x18656e(0x413)](_0x1d8949,_0x46cc1d,!0x1);if(_0x61a9e1[_0x18656e(0x32d)](_0x203b5e))throw _0x203b5e[_0x18656e(0x268)];if(_0x61a9e1[_0x18656e(0x32d)](_0x79eca2))throw _0x79eca2[_0x18656e(0x268)];_0x2df1d6[_0x18656e(0x277)](_0x203b5e['m2Prime']['params']),_0x495c13['unshift'](_0x79eca2[_0x18656e(0x20b)][_0x18656e(0x3b4)]),_0x51946b=_0x203b5e['m1Prime'],_0x1d8949=_0x79eca2['m1Prime'];}_0x17a1c6['setUndoRedoMutationParamsCache']({'undoCache':_0x2df1d6,'redoCache':_0x495c13});}['_transformPreviousActiveRange'](_0x48eb59){const _0x38a724=_0x550dd8,{unitID:_0x11800a}=_0x48eb59,_0x3cc01f=this[_0x38a724(0x342)][_0x38a724(0x207)](_0x11800a)[_0x38a724(0x23d)](_0x8abdee[_0x38a724(0x411)]),_0x4e5fee=_0x3cc01f[_0x38a724(0x186)]();if(_0x4e5fee==null)return;const _0x149d94=[{'id':_0x38a724(0x1e4),'params':{'unitId':_0x48eb59[_0x38a724(0x34f)],'actions':null,'textRanges':[_0x4e5fee]}}],_0x288f75=this['_transformService'][_0x38a724(0x18d)](_0x48eb59,_0x149d94);if(!_0x61a9e1[_0x38a724(0x363)](_0x288f75))throw _0x288f75['error'];const _0x124b47=_0x288f75['m2Prime'][0x0][_0x38a724(0x3b4)]['textRanges'];Array[_0x38a724(0x34d)](_0x124b47)&&_0x124b47[_0x38a724(0x2f9)]&&_0x3cc01f['setActiveRange'](_0x124b47[0x0]);}};_0x39095d=_0x559148([_0xef0f9d(0x0,_0x61a9e1[_0x550dd8(0x2ec)]),_0xef0f9d(0x1,_0x120a2c[_0x550dd8(0x37a)])],_0x39095d);var _0x2a907c=Object['getOwnPropertyDescriptor'],_0x5d0158=(_0x4606bc,_0x3c06a5,_0x410978,_0x56bbce)=>{const _0x49c566=_0x550dd8;for(var _0x10011b=_0x56bbce>0x1?void 0x0:_0x56bbce?_0x2a907c(_0x3c06a5,_0x410978):_0x3c06a5,_0x3cb74a=_0x4606bc[_0x49c566(0x2f9)]-0x1,_0x3915ec;_0x3cb74a>=0x0;_0x3cb74a--)(_0x3915ec=_0x4606bc[_0x3cb74a])&&(_0x10011b=_0x3915ec(_0x10011b)||_0x10011b);return _0x10011b;},_0x5a790f=(_0x35553c,_0x47b607)=>(_0x15a997,_0x3ca569)=>_0x47b607(_0x15a997,_0x3ca569,_0x35553c);let _0x3cb371=class{constructor(_0x2eb552,_0x5e6b9d,_0x3da614){const _0xa07a59=_0x550dd8;this[_0xa07a59(0x317)]=_0x2eb552,this[_0xa07a59(0x3c6)]=_0x5e6b9d,this[_0xa07a59(0x281)]=_0x3da614;}[_0x550dd8(0x3ad)](_0x3f8516){const _0x11308e=_0x550dd8;this[_0x11308e(0x381)](_0x3f8516);}[_0x550dd8(0x402)](_0xb473b5){const _0x42db7=_0x550dd8,{unitID:_0x38e87e}=_0xb473b5,{collaboration:_0x5ccf14}=this[_0x42db7(0x281)][_0x42db7(0x2f3)](_0x38e87e);if(_0x5ccf14[_0x42db7(0x2f9)]===0x0)return _0xb473b5;let _0x5320ca=_0x57bc4a[_0x42db7(0x2fa)][_0x42db7(0x194)](_0xb473b5[_0x42db7(0x403)][0x0]);for(let _0x48314f=0x0;_0x48314f<_0x5ccf14[_0x42db7(0x2f9)];_0x48314f++){const _0x2ed354={'id':_0x42db7(0x1e4),'params':{'unitId':_0x5ccf14[_0x48314f][_0x42db7(0x389)],..._0x5ccf14[_0x48314f][_0x42db7(0x392)]}},_0xb3d2f9=this[_0x42db7(0x3c6)]['transformMutation'](_0x5320ca,_0x2ed354,!0x1);if(_0x61a9e1[_0x42db7(0x32d)](_0xb3d2f9))throw _0xb3d2f9['error'];_0x5320ca=_0xb3d2f9[_0x42db7(0x33c)];}return{..._0x57bc4a[_0x42db7(0x2fa)]['deepClone'](_0xb473b5),'mutations':[_0x5320ca]};}['_transformHistoryAndStateStack'](_0x181266){const _0x2bcd83=_0x550dd8,{unitID:_0x58c029}=_0x181266,{history:_0x36bc34,collaboration:_0x39e38d}=this[_0x2bcd83(0x281)][_0x2bcd83(0x2f3)](_0x58c029);if(_0x36bc34[_0x2bcd83(0x2f9)]===0x0&&_0x39e38d[_0x2bcd83(0x2f9)]===0x0)return;const _0x5b6656=[],_0x170d1e=[];let _0x5a13ac=_0x57bc4a[_0x2bcd83(0x2fa)][_0x2bcd83(0x194)](_0x181266['mutations'][0x0]),_0x44aac0=_0x57bc4a['Tools'][_0x2bcd83(0x194)](_0x181266[_0x2bcd83(0x403)][0x0]);for(let _0x5e5ffc=_0x36bc34[_0x2bcd83(0x2f9)]-0x1;_0x5e5ffc>=0x0;_0x5e5ffc--){const _0x42c512={'id':_0x2bcd83(0x1e4),'params':{'unitId':_0x36bc34[_0x5e5ffc][_0x2bcd83(0x389)],..._0x36bc34[_0x5e5ffc][_0x2bcd83(0x1b6)]}},_0x2ab548={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36bc34[_0x5e5ffc][_0x2bcd83(0x389)],..._0x36bc34[_0x5e5ffc][_0x2bcd83(0x392)]}},_0x437469=this[_0x2bcd83(0x3c6)]['transformMutation'](_0x5a13ac,_0x42c512,!0x1),_0x11a1a0=this['_transformService'][_0x2bcd83(0x413)](_0x44aac0,_0x2ab548,!0x1);if(_0x61a9e1[_0x2bcd83(0x32d)](_0x437469))throw _0x437469[_0x2bcd83(0x268)];if(_0x61a9e1[_0x2bcd83(0x32d)](_0x11a1a0))throw _0x11a1a0[_0x2bcd83(0x268)];_0x5b6656[_0x2bcd83(0x277)]({..._0x36bc34[_0x5e5ffc],'undoState':_0x437469[_0x2bcd83(0x20b)][_0x2bcd83(0x3b4)],'redoState':_0x11a1a0[_0x2bcd83(0x20b)]['params']}),_0x5a13ac=_0x437469[_0x2bcd83(0x33c)],_0x44aac0=_0x11a1a0['m1Prime'];}_0x5a13ac=_0x57bc4a[_0x2bcd83(0x2fa)]['deepClone'](_0x181266[_0x2bcd83(0x403)][0x0]),_0x44aac0=_0x57bc4a[_0x2bcd83(0x2fa)]['deepClone'](_0x181266[_0x2bcd83(0x403)][0x0]);for(let _0x3c1507=_0x39e38d['length']-0x1;_0x3c1507>=0x0;_0x3c1507--){const _0x5446bf={'id':_0x2bcd83(0x1e4),'params':{'unitId':_0x39e38d[_0x3c1507][_0x2bcd83(0x389)],..._0x39e38d[_0x3c1507][_0x2bcd83(0x1b6)]}},_0x3ee427={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39e38d[_0x3c1507][_0x2bcd83(0x389)],..._0x39e38d[_0x3c1507][_0x2bcd83(0x392)]}},_0x52aa26=this['_transformService'][_0x2bcd83(0x413)](_0x5a13ac,_0x5446bf,!0x1),_0x68576b=this['_transformService'][_0x2bcd83(0x413)](_0x44aac0,_0x3ee427,!0x1);if(_0x61a9e1[_0x2bcd83(0x32d)](_0x52aa26))throw _0x52aa26['error'];if(_0x61a9e1[_0x2bcd83(0x32d)](_0x68576b))throw _0x68576b[_0x2bcd83(0x268)];_0x170d1e[_0x2bcd83(0x277)]({..._0x39e38d[_0x3c1507],'undoState':_0x52aa26[_0x2bcd83(0x20b)][_0x2bcd83(0x3b4)],'redoState':_0x68576b['m2Prime'][_0x2bcd83(0x3b4)]}),_0x5a13ac=_0x52aa26[_0x2bcd83(0x33c)],_0x44aac0=_0x68576b['m1Prime'];}this[_0x2bcd83(0x281)][_0x2bcd83(0x3f6)](_0x58c029,{'history':_0x5b6656,'collaboration':_0x170d1e});}};_0x3cb371=_0x5d0158([_0x5a790f(0x0,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a['Injector'])),_0x5a790f(0x1,_0x61a9e1[_0x550dd8(0x2ec)]),_0x5a790f(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x8abdee[_0x550dd8(0x3bc)]))],_0x3cb371);var _0x5a3068=Object[_0x550dd8(0x300)],_0x39dacc=(_0x14e0d4,_0x5ee8d2,_0x3140fb,_0xbb1510)=>{for(var _0x2b362c=_0xbb1510>0x1?void 0x0:_0xbb1510?_0x5a3068(_0x5ee8d2,_0x3140fb):_0x5ee8d2,_0x4e1ec5=_0x14e0d4['length']-0x1,_0x37c399;_0x4e1ec5>=0x0;_0x4e1ec5--)(_0x37c399=_0x14e0d4[_0x4e1ec5])&&(_0x2b362c=_0x37c399(_0x2b362c)||_0x2b362c);return _0x2b362c;},_0x2ce07e=(_0x22cd5e,_0x2b4b85)=>(_0x54b817,_0x45a839)=>_0x2b4b85(_0x54b817,_0x45a839,_0x22cd5e);let _0x4bf6d3=class{constructor(_0x351d68,_0x28cf38){const _0x30b83c=_0x550dd8;this[_0x30b83c(0x317)]=_0x351d68,this[_0x30b83c(0x3c6)]=_0x28cf38;}[_0x550dd8(0x2f5)](_0x59d961){const _0x453aed=_0x550dd8;var _0x2837d7;const _0x4dbbf9=this[_0x453aed(0x317)][_0x453aed(0x394)](_0x57e96e[_0x453aed(0x357)]),_0x49ad54=(_0x2837d7=_0x4dbbf9[_0x453aed(0x3a7)]())!=null?_0x2837d7:[];if(_0x49ad54[_0x453aed(0x2f9)]===0x0)return;const _0x31416f=_0x59d961[_0x453aed(0x34f)],_0x2868ef=[{'id':_0x453aed(0x1e4),'params':{'unitId':_0x31416f,'actions':null,'textRanges':_0x49ad54}}],_0x4deb18=this['_transformService'][_0x453aed(0x18d)](_0x59d961,_0x2868ef);if(!_0x61a9e1[_0x453aed(0x363)](_0x4deb18))throw _0x4deb18[_0x453aed(0x268)];const _0x1863a3=_0x4deb18[_0x453aed(0x20b)][0x0][_0x453aed(0x3b4)][_0x453aed(0x352)];Array[_0x453aed(0x34d)](_0x1863a3)&&_0x1863a3[_0x453aed(0x2f9)]&&_0x4dbbf9[_0x453aed(0x348)](_0x1863a3,{'unitId':_0x31416f,'subUnitId':_0x31416f},!0x1);}};_0x4bf6d3=_0x39dacc([_0x2ce07e(0x0,_0x57bc4a['Inject'](_0x57bc4a['Injector'])),_0x2ce07e(0x1,_0x61a9e1[_0x550dd8(0x2ec)])],_0x4bf6d3);var _0x470c85=Object[_0x550dd8(0x300)],_0x1c2f7d=(_0x2a213e,_0x5056b5,_0x5102e1,_0x330a52)=>{const _0x1f5a04=_0x550dd8;for(var _0x2f8354=_0x330a52>0x1?void 0x0:_0x330a52?_0x470c85(_0x5056b5,_0x5102e1):_0x5056b5,_0x31af46=_0x2a213e[_0x1f5a04(0x2f9)]-0x1,_0xaa4e58;_0x31af46>=0x0;_0x31af46--)(_0xaa4e58=_0x2a213e[_0x31af46])&&(_0x2f8354=_0xaa4e58(_0x2f8354)||_0x2f8354);return _0x2f8354;},_0x265f4f=(_0x54dbde,_0x3b762e)=>(_0x3d13fd,_0x357525)=>_0x3b762e(_0x3d13fd,_0x357525,_0x54dbde);let _0x5aec47=class extends _0x57bc4a[_0x550dd8(0x387)]{constructor(_0x3472c2,_0x3896a0,_0x571fab,_0x481d96,_0x5bba4e,_0x4bd95c,_0x444580,_0x202d89){const _0x4913ef=_0x550dd8;super(),_0x53a705(this,'_status$',new _0x8d602e['BehaviorSubject'](_0x1a6421['CollaborationStatus'][_0x4913ef(0x27f)])),(this[_0x4913ef(0x281)]=_0x3472c2,this[_0x4913ef(0x1a2)]=_0x3896a0,this[_0x4913ef(0x22a)]=_0x571fab,this[_0x4913ef(0x2f1)]=_0x481d96,this[_0x4913ef(0x33e)]=_0x5bba4e,this['_docSyncEditingCollabCursorService']=_0x4bd95c,this['_messageService']=_0x444580,this[_0x4913ef(0x38d)]=_0x202d89,this[_0x4913ef(0x2ca)]());}['_initEntityListener'](){const _0x1b4320=_0x550dd8;this['disposeWithMe'](this[_0x1b4320(0x1a2)]['entityInit$'][_0x1b4320(0x40b)](_0xa75eef=>{const _0x2f1d66=_0x1b4320,_0x117833=this[_0x2f1d66(0x281)][_0x2f1d66(0x196)]['subscribe'](_0x3e6d42=>{const _0x33c3a8=_0x2f1d66;if(_0x3e6d42==null)return;const {unitId:_0xebd5ec,redoState:_0x2a3197,commandId:_0x2699bf}=_0x3e6d42;if(_0xebd5ec!==_0xa75eef[_0x33c3a8(0x34f)])return;const _0x1c19b7={'id':_0x2699bf,'type':_0x57bc4a['CommandType'][_0x33c3a8(0x2d9)],'params':{'unitId':_0xebd5ec,'actions':_0x2a3197[_0x33c3a8(0x2ab)],'textRanges':null}};_0xa75eef[_0x33c3a8(0x3e6)](_0x1c19b7);});if(_0xa75eef[_0x2f1d66(0x22e)](_0x117833),_0xa75eef instanceof _0x1a6421[_0x2f1d66(0x3fd)]){const _0x2568a0={'onTransformIME':_0x511ec8=>this[_0x2f1d66(0x22a)]['transformIMECache'](_0x511ec8),'onTransformState':_0x326b7b=>this['_docTransformStateCacheService'][_0x2f1d66(0x3ad)](_0x326b7b),'onTransformSelections':_0x1034ab=>this[_0x2f1d66(0x33e)][_0x2f1d66(0x2f5)](_0x1034ab),'onSyncEditingCollabCursor':_0xf910b1=>this[_0x2f1d66(0x20d)][_0x2f1d66(0x382)](_0xf910b1),'onTransformRemoteChangesetByIMECache':_0xfdde76=>this[_0x2f1d66(0x22a)][_0x2f1d66(0x402)](_0xfdde76),'onTransformRemoteChangesetByStateCache':_0x5b5891=>this[_0x2f1d66(0x2f1)][_0x2f1d66(0x402)](_0x5b5891)};_0xa75eef[_0x2f1d66(0x29e)](_0x2568a0);}}));}};_0x5aec47=_0x1c2f7d([_0x265f4f(0x0,_0x57bc4a[_0x550dd8(0x1a5)](_0x8abdee[_0x550dd8(0x3bc)])),_0x265f4f(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x1a6421['CollaborationController'])),_0x265f4f(0x2,_0x57bc4a['Inject'](_0x39095d)),_0x265f4f(0x3,_0x57bc4a[_0x550dd8(0x1a5)](_0x3cb371)),_0x265f4f(0x4,_0x57bc4a[_0x550dd8(0x1a5)](_0x4bf6d3)),_0x265f4f(0x5,_0x57bc4a[_0x550dd8(0x1a5)](_0x11b10d)),_0x265f4f(0x6,_0x29e6f1[_0x550dd8(0x1f4)]),_0x265f4f(0x7,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x27e)]))],_0x5aec47);var _0xe001d7=Object['getOwnPropertyDescriptor'],_0x1ba43c=(_0x42e795,_0x4d4fdb,_0xaae10d,_0x5afb38)=>{const _0x4efc11=_0x550dd8;for(var _0x3f278c=_0x5afb38>0x1?void 0x0:_0x5afb38?_0xe001d7(_0x4d4fdb,_0xaae10d):_0x4d4fdb,_0x3452c1=_0x42e795[_0x4efc11(0x2f9)]-0x1,_0x4f88ba;_0x3452c1>=0x0;_0x3452c1--)(_0x4f88ba=_0x42e795[_0x3452c1])&&(_0x3f278c=_0x4f88ba(_0x3f278c)||_0x3f278c);return _0x3f278c;},_0x5ad9f4=(_0x40e01d,_0x33cdbf)=>(_0x214ba1,_0x5a2576)=>_0x33cdbf(_0x214ba1,_0x5a2576,_0x40e01d);let _0x48edab=class extends _0x57bc4a['Disposable']{constructor(_0x521405,_0x247696,_0x162ef4){const _0x5dde17=_0x550dd8;super(),_0x53a705(this,_0x5dde17(0x2f0),new Map()),_0x53a705(this,_0x5dde17(0x32f),new Map()),_0x53a705(this,_0x5dde17(0x36c),!0x1),(this[_0x5dde17(0x323)]=_0x521405,this[_0x5dde17(0x2df)]=_0x247696,this[_0x5dde17(0x1a8)]=_0x162ef4);}['disableLocalCache'](){const _0x4f4c06=_0x550dd8;this[_0x4f4c06(0x36c)]=!0x0;}[_0x550dd8(0x19a)](){const _0x186ded=_0x550dd8;this[_0x186ded(0x36c)]=!0x1;}get[_0x550dd8(0x2d1)](){const _0x4c94bf=_0x550dd8;return this[_0x4c94bf(0x32f)];}['dispose'](){const _0x191f1f=_0x550dd8;this[_0x191f1f(0x18b)]()[_0x191f1f(0x39a)](()=>super[_0x191f1f(0x3ea)]());}async[_0x550dd8(0x230)](_0x5e5229){const _0x4d79af=_0x550dd8;return this[_0x4d79af(0x36c)]?null:this[_0x4d79af(0x2df)][_0x4d79af(0x1fc)](_0x1a6421[_0x4d79af(0x25e)](_0x5e5229));}async[_0x550dd8(0x3fb)](_0x80661d,_0x4b5444){const _0x1f6a1f=_0x550dd8;return!!this[_0x1f6a1f(0x2df)][_0x1f6a1f(0x417)](_0x80661d,_0x4b5444);}['updateOfflineData'](_0x1765d8,_0x340429,_0x1c3c62,_0x162037){const _0x2e0c31=_0x550dd8,_0x123089=this[_0x2e0c31(0x1a8)][_0x2e0c31(0x372)](_0x1765d8);this['_cachedData'][_0x2e0c31(0x334)](_0x1765d8,{'unitID':_0x1765d8,'type':_0x340429,'awaitingChangeset':_0x1c3c62,'mutations':_0x162037,'rev':_0x123089}),this['_saveTaskMap'][_0x2e0c31(0x280)](_0x1765d8)||this['_scheduleSaving'](_0x1765d8);}[_0x550dd8(0x2fe)](_0x49f0aa){const _0x35d70e=_0x550dd8,_0x3b87ee=this[_0x35d70e(0x1cb)]();_0x3b87ee===0x0?this[_0x35d70e(0x38c)](_0x49f0aa):this[_0x35d70e(0x32f)][_0x35d70e(0x334)](_0x49f0aa,setTimeout(()=>this[_0x35d70e(0x38c)](_0x49f0aa),_0x3b87ee));}[_0x550dd8(0x1cb)](){const _0x33c501=_0x550dd8;var _0xd9125c;return(_0xd9125c=this['_configService'][_0x33c501(0x371)](_0x1a6421[_0x33c501(0x290)]))!=null?_0xd9125c:_0x1a6421[_0x33c501(0x1f1)];}[_0x550dd8(0x38c)](_0x16b7a9){const _0x2065bf=_0x550dd8,_0xd43094=this[_0x2065bf(0x32f)][_0x2065bf(0x394)](_0x16b7a9);return _0xd43094!==void 0x0&&window[_0x2065bf(0x2c3)](_0xd43094),this['_localStorageService'][_0x2065bf(0x417)](_0x1a6421['getLocalCacheKey'](_0x16b7a9),this[_0x2065bf(0x2f0)][_0x2065bf(0x394)](_0x16b7a9))[_0x2065bf(0x39a)](()=>this[_0x2065bf(0x32f)][_0x2065bf(0x22c)](_0x16b7a9));}async['exhaustSavingTask'](){const _0x19d76b=_0x550dd8,_0x29811f=[];this[_0x19d76b(0x32f)][_0x19d76b(0x1e9)]((_0x2c7cf6,_0x4b8426)=>{const _0x29be4d=_0x19d76b;window[_0x29be4d(0x2c3)](_0x2c7cf6),_0x29811f['push'](this[_0x29be4d(0x38c)](_0x4b8426)[_0x29be4d(0x39a)](()=>{const _0x3d308d=_0x29be4d;this[_0x3d308d(0x32f)][_0x3d308d(0x22c)](_0x4b8426);}));}),await Promise[_0x19d76b(0x3ec)](_0x29811f);}};_0x48edab=_0x1ba43c([_0x5ad9f4(0x0,_0x57bc4a[_0x550dd8(0x31f)]),_0x5ad9f4(0x1,_0x57bc4a[_0x550dd8(0x30c)]),_0x5ad9f4(0x2,_0x57bc4a['Inject'](_0x61a9e1[_0x550dd8(0x384)]))],_0x48edab);class _0x5d1b49 extends _0x57bc4a['RxDisposable']{constructor(){const _0x2e7695=_0x550dd8;super(),_0x53a705(this,'urlChange$'),this['urlChange$']=_0x8d602e[_0x2e7695(0x3f9)](window,'popstate')[_0x2e7695(0x331)](_0x8d602e[_0x2e7695(0x249)](this[_0x2e7695(0x24d)]),_0x8d602e[_0x2e7695(0x3d0)](0x1),_0x8d602e[_0x2e7695(0x3f3)](void 0x0));}[_0x550dd8(0x291)](_0x4ea426,_0x465e34,_0x3484ae=!0x1){const _0x4cb6d7=_0x550dd8,_0x3ae0da=new URL(window[_0x4cb6d7(0x3cf)][_0x4cb6d7(0x1c5)]);_0x3ae0da[_0x4cb6d7(0x247)]['set'](_0x4ea426,_0x465e34),_0x3484ae?window[_0x4cb6d7(0x29c)]['replaceState']('','',_0x3ae0da[_0x4cb6d7(0x2e6)]()):window['history']['pushState']('','',_0x3ae0da['toString']());}[_0x550dd8(0x3f7)](_0x3d6ec5,_0x58808d=!0x1){const _0x267609=_0x550dd8,_0x3fa355=new URL(window[_0x267609(0x3cf)][_0x267609(0x1c5)]);_0x3fa355['searchParams']['delete'](_0x3d6ec5),_0x58808d?window[_0x267609(0x29c)][_0x267609(0x2a5)]('','',_0x3fa355[_0x267609(0x2e6)]()):window[_0x267609(0x29c)][_0x267609(0x379)]('','',_0x3fa355[_0x267609(0x2e6)]());}[_0x550dd8(0x1a6)](_0x48a6e9){const _0x9cd583=_0x550dd8;var _0x3180c6;return(_0x3180c6=new URL(window['location'][_0x9cd583(0x1c5)])[_0x9cd583(0x247)]['get'](_0x48a6e9))!=null?_0x3180c6:void 0x0;}}var _0x5e1e0a=Object[_0x550dd8(0x2b0)],_0x3f6776=Object[_0x550dd8(0x300)],_0x4c0127=(_0x7f628b,_0xb42454,_0x275cea)=>_0xb42454 in _0x7f628b?_0x5e1e0a(_0x7f628b,_0xb42454,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x275cea}):_0x7f628b[_0xb42454]=_0x275cea,_0x124799=(_0x25cf7d,_0x3b5f18,_0x338c2c,_0x366d60)=>{const _0x3381d0=_0x550dd8;for(var _0x57cce0=_0x366d60>0x1?void 0x0:_0x366d60?_0x3f6776(_0x3b5f18,_0x338c2c):_0x3b5f18,_0x466a48=_0x25cf7d[_0x3381d0(0x2f9)]-0x1,_0x52e1bc;_0x466a48>=0x0;_0x466a48--)(_0x52e1bc=_0x25cf7d[_0x466a48])&&(_0x57cce0=_0x52e1bc(_0x57cce0)||_0x57cce0);return _0x57cce0;},_0xf37406=(_0xf14d0,_0x5e4a85)=>(_0xf9aa27,_0xb3fa32)=>_0x5e4a85(_0xf9aa27,_0xb3fa32,_0xf14d0),_0x4a40c5=(_0x306e43,_0x3db373,_0x1d3820)=>_0x4c0127(_0x306e43,_0x3db373+'',_0x1d3820);const _0x8d5afe=_0x550dd8(0x222);_0x40d0d0[_0x550dd8(0x20e)]=class extends _0x57bc4a[_0x550dd8(0x218)]{constructor(_0x3736e3=_0x40da0e,_0x37c6c4,_0x23b15b,_0x4c9da2){const _0x5737aa=_0x550dd8;super(),this[_0x5737aa(0x24c)]=_0x3736e3,this[_0x5737aa(0x342)]=_0x37c6c4,this['_injector']=_0x23b15b,this[_0x5737aa(0x323)]=_0x4c9da2;const {..._0x1a83b1}=_0x57bc4a[_0x5737aa(0x377)]({},_0x40da0e,this['_config']);this[_0x5737aa(0x323)][_0x5737aa(0x1fa)](_0x521268,_0x1a83b1);}['onStarting'](){const _0x46aadd=_0x550dd8;this[_0x46aadd(0x187)](),this[_0x46aadd(0x23e)]();}['onRendered'](){const _0x266837=_0x550dd8;this[_0x266837(0x197)]();}['_registerDependencies'](){const _0x30bef8=_0x550dd8;var _0x2dade4;const _0xd56830=[[_0xc9942d],[_0x4bf6d3],[_0x39095d],[_0x3cb371],[_0x11b10d],[_0x40e96e,{'useClass':_0x5d1b49}],[_0x28d0ff[_0x30bef8(0x1e3)],{'useClass':_0x28d0ff['WebSocketService']}],[_0x1a6421[_0x30bef8(0x3e0)],{'useClass':_0x48edab}],[_0x40d0d0[_0x30bef8(0x236)]],[_0x5aec47],[_0x490837],[_0x1434ca],[_0x12da84],[_0x40d0d0['CollaborationDataLoaderController']]];_0x57bc4a['registerDependencies'](this[_0x30bef8(0x317)],_0x57bc4a['mergeOverrideWithDependencies'](_0xd56830,(_0x2dade4=this[_0x30bef8(0x24c)])==null?void 0x0:_0x2dade4[_0x30bef8(0x3ca)]));}[_0x550dd8(0x197)](){const _0x2e0e6f=_0x550dd8;this['disposeWithMe'](this[_0x2e0e6f(0x342)][_0x2e0e6f(0x400)](_0x57bc4a[_0x2e0e6f(0x2ff)]['UNIVER_DOC'],[_0x411e34])),this['disposeWithMe'](this['_renderManagerService'][_0x2e0e6f(0x400)](_0x57bc4a[_0x2e0e6f(0x2ff)]['UNIVER_SHEET'],[_0x49de41]));}['_initDependencies'](){const _0x92e742=_0x550dd8;_0x57bc4a[_0x92e742(0x3f5)](this['_injector'],[[_0x1434ca],[_0x40d0d0[_0x92e742(0x236)]],[_0x5aec47],[_0x490837],[_0x40d0d0['CollaborationDataLoaderController']]]);}},_0x4a40c5(_0x40d0d0[_0x550dd8(0x20e)],_0x550dd8(0x23c),_0x8d5afe),_0x40d0d0[_0x550dd8(0x20e)]=_0x124799([_0x57bc4a[_0x550dd8(0x2a4)](_0x1a6421['UniverCollaborationClientPlugin']),_0xf37406(0x1,_0x120a2c[_0x550dd8(0x37a)]),_0xf37406(0x2,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a['Injector'])),_0xf37406(0x3,_0x57bc4a[_0x550dd8(0x31f)])],_0x40d0d0[_0x550dd8(0x20e)]);var _0x3cf8d0=Object[_0x550dd8(0x300)],_0x4a185a=(_0x2d876d,_0x3892ca,_0x202ef9,_0x46c072)=>{for(var _0x5cd0d8=_0x46c072>0x1?void 0x0:_0x46c072?_0x3cf8d0(_0x3892ca,_0x202ef9):_0x3892ca,_0x387815=_0x2d876d['length']-0x1,_0x4461fd;_0x387815>=0x0;_0x387815--)(_0x4461fd=_0x2d876d[_0x387815])&&(_0x5cd0d8=_0x4461fd(_0x5cd0d8)||_0x5cd0d8);return _0x5cd0d8;},_0x241095=(_0xf0dc16,_0x2f9f97)=>(_0x49ea7f,_0x1ba6d6)=>_0x2f9f97(_0x49ea7f,_0x1ba6d6,_0xf0dc16);_0x40d0d0[_0x550dd8(0x286)]=class extends _0x1a6421['CollaborationSocketService']{constructor(_0x13a6c8,_0x3a2f86,_0x48c038,_0x43d9d1,_0x539e9e){super(_0x13a6c8,_0x3a2f86,_0x48c038,_0x43d9d1,_0x539e9e);}async[_0x550dd8(0x191)](_0x104abe){const _0x497a3e=_0x550dd8,_0x41a28d=await this[_0x497a3e(0x234)](),_0x1847f4=this[_0x497a3e(0x3d9)](_0x104abe,_0x41a28d);return this[_0x497a3e(0x2be)](_0x1847f4);}['_createSocketURL'](_0x2c93f0,_0x205cfa){const _0x2f8782=_0x550dd8,_0x4ef147=typeof window>'u'?new URL(_0x2c93f0):new URL(_0x2c93f0,window['location'][_0x2f8782(0x2c8)]);_0x4ef147[_0x2f8782(0x247)][_0x2f8782(0x334)](_0x2f8782(0x210),_0x205cfa);const _0x55f9c2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2f8782(0x3cf)][_0x2f8782(0x18e)]);return _0x55f9c2['get'](_0x2f8782(0x294))&&_0x4ef147['searchParams']['set'](_0x2f8782(0x294),_0x55f9c2['get']('runId')),_0x4ef147[_0x2f8782(0x2e6)]();}async[_0x550dd8(0x234)](){const _0x3da3dc=_0x550dd8;var _0x49b84a,_0x5134e6,_0x31e2d2;const _0x38d80b=this['_configService']['getConfig'](_0x1a6421[_0x3da3dc(0x36a)]),_0x593492=(_0x49b84a=_0x38d80b==null?void 0x0:_0x38d80b[_0x3da3dc(0x346)])!=null?_0x49b84a:_0x1a6421[_0x3da3dc(0x390)];return(_0x31e2d2=(_0x5134e6=(await this[_0x3da3dc(0x360)][_0x3da3dc(0x394)](_0x593492,{'headers':{'Content-Type':_0x3da3dc(0x1d6)}}))[_0x3da3dc(0x19e)])==null?void 0x0:_0x5134e6[_0x3da3dc(0x3cd)])!=null?_0x31e2d2:'';}},_0x40d0d0[_0x550dd8(0x286)]=_0x4a185a([_0x241095(0x0,_0x57bc4a[_0x550dd8(0x1a5)](_0x57bc4a[_0x550dd8(0x2b3)])),_0x241095(0x1,_0x57bc4a[_0x550dd8(0x1a5)](_0x28d0ff['HTTPService'])),_0x241095(0x2,_0x57bc4a['IConfigService']),_0x241095(0x3,_0x57bc4a[_0x550dd8(0x3c1)]),_0x241095(0x4,_0x61a9e1[_0x550dd8(0x1cd)])],_0x40d0d0['BrowserCollaborationSocketService']);const _0x4c6734=0x7530,_0x453ad2=_0x550dd8(0x260);class _0x5e288b extends _0x57bc4a[_0x550dd8(0x387)]{constructor(){const _0x5d4877=_0x550dd8;super(),_0x53a705(this,_0x5d4877(0x278),_0x57bc4a[_0x5d4877(0x1c1)]()),_0x53a705(this,_0x5d4877(0x24b),new Set()),_0x53a705(this,_0x5d4877(0x31d),new Map()),_0x53a705(this,_0x5d4877(0x3d6),null),_0x53a705(this,'_clearOtherTimers',new Map()),_0x53a705(this,_0x5d4877(0x2ac),new Map()),this[_0x5d4877(0x271)]();}[_0x550dd8(0x3ea)](){const _0x7c861e=_0x550dd8;super['dispose'](),this[_0x7c861e(0x20a)][_0x7c861e(0x1e9)]((_0xad979e,_0x349106)=>this[_0x7c861e(0x369)](_0x349106)),this[_0x7c861e(0x3d6)]&&window[_0x7c861e(0x1e0)](this['_heartbeatTimer']);}[_0x550dd8(0x39f)](_0x49775a){const _0x481c3c=_0x550dd8;return this[_0x481c3c(0x1b9)](_0x49775a)[_0x481c3c(0x331)](_0x8d602e[_0x481c3c(0x2e0)]());}['editingUnit'](_0x5a5ec6){const _0x389083=_0x550dd8;this[_0x389083(0x24b)][_0x389083(0x314)]===0x0&&this[_0x389083(0x183)](),this[_0x389083(0x24b)][_0x389083(0x2c2)](_0x5a5ec6),this[_0x389083(0x1ff)]({'type':0x0,'memberID':this[_0x389083(0x278)],'unitIDs':[_0x5a5ec6],'isForwarded':!0x1});}[_0x550dd8(0x33d)](_0x138e91){const _0x2cc5e5=_0x550dd8;this[_0x2cc5e5(0x24b)][_0x2cc5e5(0x22c)](_0x138e91),this[_0x2cc5e5(0x24b)][_0x2cc5e5(0x314)]===0x0&&this[_0x2cc5e5(0x3d6)]&&window[_0x2cc5e5(0x1e0)](this[_0x2cc5e5(0x3d6)]);}['_init'](){const _0x4ebc97=_0x550dd8;this['disposeWithMe'](_0x57bc4a[_0x4ebc97(0x2e1)](_0x8d602e[_0x4ebc97(0x3f9)](window,_0x4ebc97(0x226))['subscribe'](_0xd8a6d6=>{const _0x10682e=_0x4ebc97;if(_0xd8a6d6[_0x10682e(0x318)]!==_0x453ad2||!_0xd8a6d6['newValue'])return;const _0x169035=JSON[_0x10682e(0x1ec)](_0xd8a6d6['newValue']);this['_handleEvent'](_0x169035);}))),window['addEventListener']('unload',()=>this[_0x4ebc97(0x1ff)]({'type':0x1,'memberID':this[_0x4ebc97(0x278)],'unitIDs':Array[_0x4ebc97(0x2d0)](this[_0x4ebc97(0x24b)])}));}[_0x550dd8(0x39e)](_0x4beac0){const _0x328f34=_0x550dd8;switch(_0x4beac0[_0x328f34(0x2d8)]){case 0x0:this[_0x328f34(0x211)](_0x4beac0);break;case 0x1:this[_0x328f34(0x3b3)](_0x4beac0);break;case 0x2:this[_0x328f34(0x2a7)](_0x4beac0);break;}}[_0x550dd8(0x211)](_0x47c074){const _0xcd6dd0=_0x550dd8,{unitIDs:_0x31c374,memberID:_0x34646f,isForwarded:_0x4f4a9b}=_0x47c074;_0x31c374[_0xcd6dd0(0x1e9)](_0x34c94b=>{const _0x516df6=_0xcd6dd0;if(!_0x4f4a9b&&this[_0x516df6(0x31d)][_0x516df6(0x280)](_0x34c94b)&&this[_0x516df6(0x1b9)](_0x34c94b)['next'](_0x1a6421[_0x516df6(0x1e6)][_0x516df6(0x344)]),!this[_0x516df6(0x31d)]['has'](_0x34c94b)||!this['_unitOnClients'][_0x516df6(0x394)](_0x34c94b)[_0x516df6(0x280)](_0x34646f)){const _0x1828a6=this[_0x516df6(0x31d)]['get'](_0x34c94b)||new Set();_0x1828a6[_0x516df6(0x2c2)](_0x34646f),this[_0x516df6(0x31d)][_0x516df6(0x334)](_0x34c94b,_0x1828a6),this[_0x516df6(0x414)](_0x34646f);}}),_0x4f4a9b||this[_0xcd6dd0(0x1ff)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xcd6dd0(0x24b)]],'isForwarded':!0x0});}[_0x550dd8(0x414)](_0x561cf2){const _0x498adc=_0x550dd8;this['_removeClearOtherTimer'](_0x561cf2);const _0x5b6c71=window[_0x498adc(0x31c)](()=>{const _0x4e17d2=_0x498adc;this[_0x4e17d2(0x31d)][_0x4e17d2(0x1e9)](_0x219d7a=>{const _0x385970=_0x4e17d2;_0x219d7a[_0x385970(0x22c)](_0x561cf2);});},_0x4c6734*0x2);this[_0x498adc(0x20a)][_0x498adc(0x334)](_0x561cf2,_0x5b6c71);}[_0x550dd8(0x369)](_0x810abd){const _0x5cff74=_0x550dd8;if(this[_0x5cff74(0x20a)][_0x5cff74(0x280)](_0x810abd)){const _0x48ba54=this[_0x5cff74(0x20a)][_0x5cff74(0x394)](_0x810abd);_0x48ba54&&window['clearTimeout'](_0x48ba54),this['_clearOtherTimers'][_0x5cff74(0x334)](_0x810abd,null);}}['_handleLeaveEvent'](_0x2f08f9){const _0x4a8673=_0x550dd8,{memberID:_0x109ef8,unitIDs:_0xbf1cc6}=_0x2f08f9;_0xbf1cc6[_0x4a8673(0x1e9)](_0xc1fec6=>{const _0x4573b9=_0x4a8673;var _0x542cfb;const _0x426490=this[_0x4573b9(0x31d)]['get'](_0xc1fec6);_0x426490&&(_0x426490[_0x4573b9(0x22c)](_0x109ef8),(_0x542cfb=this['_ensureSubject'](_0xc1fec6))==null||_0x542cfb[_0x4573b9(0x373)](_0x426490[_0x4573b9(0x314)]===0x0?_0x1a6421['UnitStatus'][_0x4573b9(0x213)]:_0x1a6421[_0x4573b9(0x1e6)][_0x4573b9(0x344)]));}),this[_0x4a8673(0x369)](_0x109ef8);}[_0x550dd8(0x2a7)](_0x259210){const _0x33e1bb=_0x550dd8;this[_0x33e1bb(0x414)](_0x259210['memberID']);}[_0x550dd8(0x1ff)](_0x4156e2){localStorage['setItem'](_0x453ad2,JSON['stringify'](_0x4156e2));}[_0x550dd8(0x183)](){const _0x59e003=_0x550dd8;this['_heartbeatTimer']=window[_0x59e003(0x35c)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4c6734);}['_ensureSubject'](_0x3d359f){const _0x3e0afa=_0x550dd8;return this[_0x3e0afa(0x2ac)][_0x3e0afa(0x280)](_0x3d359f)||this[_0x3e0afa(0x2ac)][_0x3e0afa(0x334)](_0x3d359f,new _0x8d602e[(_0x3e0afa(0x2f8))](_0x1a6421[_0x3e0afa(0x1e6)][_0x3e0afa(0x213)])),this[_0x3e0afa(0x2ac)][_0x3e0afa(0x394)](_0x3d359f);}}var _0x6d18a0=(_0x206bca=>(_0x206bca[_0x206bca[_0x550dd8(0x246)]=0x0]='UNDEFINED',_0x206bca[_0x206bca['OK']=0x1]='OK',_0x206bca[_0x206bca['INTERNAL_ERROR']=0x2]=_0x550dd8(0x406),_0x206bca[_0x206bca[_0x550dd8(0x1f7)]=0x3]=_0x550dd8(0x1f7),_0x206bca[_0x206bca[_0x550dd8(0x1ef)]=0x4]=_0x550dd8(0x1ef),_0x206bca[_0x206bca['UNAUTHENTICATED']=0x5]=_0x550dd8(0x36b),_0x206bca[_0x206bca[_0x550dd8(0x3de)]=0x6]=_0x550dd8(0x3de),_0x206bca[_0x206bca[_0x550dd8(0x36e)]=0x7]='INVALID_ARGUMENT',_0x206bca[_0x206bca['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x206bca[_0x206bca[_0x550dd8(0x209)]=0x9]=_0x550dd8(0x209),_0x206bca[_0x206bca[_0x550dd8(0x30d)]=0xa]=_0x550dd8(0x30d),_0x206bca[_0x206bca['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x550dd8(0x2c0),_0x206bca[_0x206bca[_0x550dd8(0x18a)]=0xc]=_0x550dd8(0x18a),_0x206bca[_0x206bca[_0x550dd8(0x231)]=0xd]=_0x550dd8(0x231),_0x206bca[_0x206bca[_0x550dd8(0x201)]=0xe]=_0x550dd8(0x201),_0x206bca[_0x206bca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x550dd8(0x307),_0x206bca[_0x206bca[_0x550dd8(0x39b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x206bca[_0x206bca[_0x550dd8(0x2ee)]=0x1772]=_0x550dd8(0x2ee),_0x206bca[_0x206bca['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x206bca[_0x206bca['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x206bca[_0x206bca[_0x550dd8(0x2c1)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x206bca[_0x206bca[_0x550dd8(0x251)]=0x1b5b]=_0x550dd8(0x251),_0x206bca[_0x206bca[_0x550dd8(0x25c)]=0x1b5c]=_0x550dd8(0x25c),_0x206bca[_0x206bca['APPLY_DUPLICATED']=0x1b5d]=_0x550dd8(0x2c4),_0x206bca[_0x206bca[_0x550dd8(0x2e5)]=0x1f41]=_0x550dd8(0x2e5),_0x206bca[_0x206bca[_0x550dd8(0x398)]=0x2329]=_0x550dd8(0x398),_0x206bca[_0x206bca['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x206bca[_0x206bca[_0x550dd8(0x343)]=0x232b]=_0x550dd8(0x343),_0x206bca[_0x206bca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x550dd8(0x25f),_0x206bca[_0x206bca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x550dd8(0x347),_0x206bca[_0x206bca[_0x550dd8(0x341)]=0x2711]=_0x550dd8(0x341),_0x206bca[_0x206bca[_0x550dd8(0x1d5)]=0x2712]=_0x550dd8(0x1d5),_0x206bca[_0x206bca['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x550dd8(0x324),_0x206bca[_0x206bca[_0x550dd8(0x1b5)]=0x2714]=_0x550dd8(0x1b5),_0x206bca[_0x206bca[_0x550dd8(0x1db)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x206bca[_0x206bca[_0x550dd8(0x264)]=0x271b]=_0x550dd8(0x264),_0x206bca[_0x206bca['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x550dd8(0x2fd),_0x206bca[_0x206bca[_0x550dd8(0x262)]=0x271d]=_0x550dd8(0x262),_0x206bca[_0x206bca[_0x550dd8(0x408)]=0x271e]=_0x550dd8(0x408),_0x206bca[_0x206bca[_0x550dd8(0x21f)]=0x271f]=_0x550dd8(0x21f),_0x206bca[_0x206bca[_0x550dd8(0x30e)]=0x2720]=_0x550dd8(0x30e),_0x206bca[_0x206bca[_0x550dd8(0x30a)]=0x2af9]=_0x550dd8(0x30a),_0x206bca[_0x206bca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x206bca[_0x206bca[_0x550dd8(0x29b)]=0x2ee2]=_0x550dd8(0x29b),_0x206bca[_0x206bca[_0x550dd8(0x304)]=0x2ee3]=_0x550dd8(0x304),_0x206bca[_0x206bca['USER_NOT_INVITED_CODE']=0x2ee4]=_0x550dd8(0x315),_0x206bca[_0x206bca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x550dd8(0x33a),_0x206bca[_0x206bca[_0x550dd8(0x1a4)]=0x32c9]=_0x550dd8(0x1a4),_0x206bca[_0x206bca[_0x550dd8(0x2d2)]=0x32ca]=_0x550dd8(0x2d2),_0x206bca[_0x206bca[_0x550dd8(0x335)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x206bca[_0x206bca[_0x550dd8(0x3e7)]=-0x1]=_0x550dd8(0x3e7),_0x206bca))(_0x6d18a0||{}),_0x4392be=Object[_0x550dd8(0x300)],_0x16bf4b=(_0x219aa3,_0xafb6a1,_0x35b318,_0x2ed895)=>{for(var _0xf418df=_0x2ed895>0x1?void 0x0:_0x2ed895?_0x4392be(_0xafb6a1,_0x35b318):_0xafb6a1,_0x440a9b=_0x219aa3['length']-0x1,_0x4b6945;_0x440a9b>=0x0;_0x440a9b--)(_0x4b6945=_0x219aa3[_0x440a9b])&&(_0xf418df=_0x4b6945(_0xf418df)||_0xf418df);return _0xf418df;},_0xeabf98=(_0x3583cb,_0x1e31c4)=>(_0x244579,_0x59724f)=>_0x1e31c4(_0x244579,_0x59724f,_0x3583cb);_0x40d0d0['RemoteUniscriptService']=class extends _0x57bc4a['Disposable']{constructor(_0x47cfb1,_0x2acf43,_0x1c68ff){const _0x37d42c=_0x550dd8;super(),this['_instanceService']=_0x47cfb1,this['_httpService']=_0x2acf43,this[_0x37d42c(0x323)]=_0x1c68ff;}async[_0x550dd8(0x3ac)](_0x390c37,_0xbe3fb9,_0x493458,..._0x234901){const _0x194f07=_0x550dd8;var _0x1e1288,_0x35dce5,_0x5dd8ae,_0x1b3a71;const _0x59f438=this['_instanceService'][_0x194f07(0x3f1)]();if(!_0x59f438)throw new Error(_0x194f07(0x2d3));const _0xa214a8=((_0x1e1288=this[_0x194f07(0x323)]['getConfig'](_0x1a6421[_0x194f07(0x2b6)]))!=null?_0x1e1288:_0x1a6421[_0x194f07(0x193)])+'/'+_0x390c37+_0x194f07(0x23a)+_0xbe3fb9,_0x1f424a=new URL(window[_0x194f07(0x3cf)]['href']),_0x50db5d={'scriptId':_0x390c37,'runId':(_0x35dce5=_0x1f424a[_0x194f07(0x247)][_0x194f07(0x394)](_0x194f07(0x294)))!=null?_0x35dce5:'','function':_0xbe3fb9,'unitId':_0x59f438[_0x194f07(0x3ae)](),'argsOfFunction':JSON[_0x194f07(0x412)](_0x234901),'invokeId':(_0x5dd8ae=_0x493458[_0x194f07(0x2e2)])!=null?_0x5dd8ae:'','executionId':(_0x1b3a71=_0x493458[_0x194f07(0x274)])!=null?_0x1b3a71:''};try{const _0x3d9ed7=await this[_0x194f07(0x360)]['post'](_0xa214a8,{'body':_0x50db5d});return _0x3d9ed7[_0x194f07(0x19e)][_0x194f07(0x268)]&&_0x3d9ed7[_0x194f07(0x19e)][_0x194f07(0x268)][_0x194f07(0x2d5)]!==_0x6d18a0['OK']?_0x194f07(0x3b7):_0x3d9ed7[_0x194f07(0x19e)][_0x194f07(0x2ed)];}catch{return _0x194f07(0x3b7);}}},_0x40d0d0['RemoteUniscriptService']=_0x16bf4b([_0xeabf98(0x0,_0x57bc4a['IUniverInstanceService']),_0xeabf98(0x1,_0x57bc4a['Inject'](_0x28d0ff[_0x550dd8(0x401)])),_0xeabf98(0x2,_0x57bc4a[_0x550dd8(0x31f)])],_0x40d0d0['RemoteUniscriptService']),_0x40d0d0[_0x550dd8(0x203)]=_0x40e96e,_0x40d0d0['SheetCollabCursorShape']=_0x4a940d,_0x40d0d0[_0x550dd8(0x3df)]=_0x5e288b,_0x40d0d0[_0x550dd8(0x17f)]=_0x5d1b49,Object['defineProperty'](_0x40d0d0,Symbol[_0x550dd8(0x22f)],{'value':_0x550dd8(0x2f2)});}));