@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506211606 → 0.8.2-nightly.202506221606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2330(_0x5b31c6,_0x114314){const _0xd233a8=_0xd233();return _0x2330=function(_0x233004,_0x460486){_0x233004=_0x233004-0x1a8;let _0xf642cb=_0xd233a8[_0x233004];return _0xf642cb;},_0x2330(_0x5b31c6,_0x114314);}(function(_0x339306,_0x2561f2){const _0x476929=_0x2330,_0x2c6fd5=_0x339306();while(!![]){try{const _0x171653=parseInt(_0x476929(0x377))/0x1+-parseInt(_0x476929(0x397))/0x2+parseInt(_0x476929(0x25e))/0x3+parseInt(_0x476929(0x24a))/0x4*(-parseInt(_0x476929(0x308))/0x5)+parseInt(_0x476929(0x2a6))/0x6+parseInt(_0x476929(0x3eb))/0x7+-parseInt(_0x476929(0x422))/0x8*(-parseInt(_0x476929(0x3ce))/0x9);if(_0x171653===_0x2561f2)break;else _0x2c6fd5['push'](_0x2c6fd5['shift']());}catch(_0x212afa){_0x2c6fd5['push'](_0x2c6fd5['shift']());}}}(_0xd233,0x46765),function(_0x56cc91,_0x1d7697){const _0x20437d=_0x2330;typeof exports==_0x20437d(0x1b0)&&typeof module<'u'?_0x1d7697(exports,require(_0x20437d(0x32d)),require('@univerjs/core'),require(_0x20437d(0x409)),require(_0x20437d(0x321)),require(_0x20437d(0x2c3)),require(_0x20437d(0x333)),require(_0x20437d(0x2ef)),require('@univerjs-pro/collaboration'),require(_0x20437d(0x434)),require(_0x20437d(0x3d6)),require(_0x20437d(0x3a2)),require(_0x20437d(0x336)),require('@univerjs/sheets-ui'),require(_0x20437d(0x2ea)),require(_0x20437d(0x28c)),require(_0x20437d(0x319)),require('react'),require('@univerjs/rpc')):typeof define==_0x20437d(0x380)&&define['amd']?define([_0x20437d(0x365),_0x20437d(0x32d),'@univerjs/core',_0x20437d(0x409),_0x20437d(0x321),_0x20437d(0x2c3),_0x20437d(0x333),_0x20437d(0x2ef),_0x20437d(0x40b),_0x20437d(0x434),_0x20437d(0x3d6),'@univerjs/sheets',_0x20437d(0x336),_0x20437d(0x345),_0x20437d(0x2ea),_0x20437d(0x28c),_0x20437d(0x319),_0x20437d(0x362),'@univerjs/rpc'],_0x1d7697):(_0x56cc91=typeof globalThis<'u'?globalThis:_0x56cc91||self,_0x1d7697(_0x56cc91[_0x20437d(0x2f0)]={},_0x56cc91[_0x20437d(0x1e2)],_0x56cc91['UniverCore'],_0x56cc91[_0x20437d(0x215)],_0x56cc91[_0x20437d(0x351)],_0x56cc91[_0x20437d(0x2bc)],_0x56cc91['UniverDrawing'],_0x56cc91['rxjs'],_0x56cc91[_0x20437d(0x210)],_0x56cc91[_0x20437d(0x3b6)],_0x56cc91[_0x20437d(0x309)],_0x56cc91[_0x20437d(0x3e3)],_0x56cc91[_0x20437d(0x2ef)][_0x20437d(0x2de)],_0x56cc91['UniverSheetsUi'],_0x56cc91[_0x20437d(0x335)],_0x56cc91[_0x20437d(0x32f)],_0x56cc91[_0x20437d(0x3ee)],_0x56cc91[_0x20437d(0x335)],_0x56cc91[_0x20437d(0x361)]));}(this,function(_0x46a004,_0x3c1823,_0x43aff6,_0x359b8a,_0x564362,_0x30015e,_0x1888b1,_0x22b5a0,_0xb9294,_0x4cf538,_0x2ab58f,_0x27c450,_0x2ae022,_0x2fd874,_0x4b9546,_0x4c8790,_0x2cb33e,_0x3f9355,_0x25bb97){'use strict';const _0x9c28c2=_0x2330;var _0x43a25d=Object[_0x9c28c2(0x280)],_0x38d4ee=(_0x32fcc0,_0x368fab,_0x3b49fa)=>_0x368fab in _0x32fcc0?_0x43a25d(_0x32fcc0,_0x368fab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b49fa}):_0x32fcc0[_0x368fab]=_0x3b49fa,_0x433bc1=(_0x1d635a,_0x4f1e0e,_0x1c0034)=>_0x38d4ee(_0x1d635a,typeof _0x4f1e0e!=_0x9c28c2(0x34c)?_0x4f1e0e+'':_0x4f1e0e,_0x1c0034),_0x4dd2ad=Object[_0x9c28c2(0x2fe)],_0x38ffed=(_0x3d44e6,_0x5c53cf,_0x1d1be,_0x5946e8)=>{const _0x832add=_0x9c28c2;for(var _0x2ad2d0=_0x5946e8>0x1?void 0x0:_0x5946e8?_0x4dd2ad(_0x5c53cf,_0x1d1be):_0x5c53cf,_0xc40412=_0x3d44e6[_0x832add(0x27b)]-0x1,_0x5ce373;_0xc40412>=0x0;_0xc40412--)(_0x5ce373=_0x3d44e6[_0xc40412])&&(_0x2ad2d0=_0x5ce373(_0x2ad2d0)||_0x2ad2d0);return _0x2ad2d0;},_0xb65e4=(_0x4ad406,_0x5010d3)=>(_0x6ea19c,_0x5b2cfb)=>_0x5010d3(_0x6ea19c,_0x5b2cfb,_0x4ad406);let _0x19dca4=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x1ec53a,_0x47dfcb){const _0x1f6cb7=_0x9c28c2;super(),this['_docClipboardService']=_0x1ec53a,this[_0x1f6cb7(0x3be)]=_0x47dfcb,this[_0x1f6cb7(0x269)]();}[_0x9c28c2(0x269)](){const _0x27b289=_0x9c28c2,_0x38a9d7=this;this['disposeWithMe'](this[_0x27b289(0x256)]['addClipboardHook']({'onBeforePasteImage':async _0x35bad6=>{const _0x45ff52=_0x27b289,_0x191c7b=await _0x38a9d7['_imageIoService'][_0x45ff52(0x2ad)](_0x35bad6);return _0x191c7b?{'source':_0x191c7b[_0x45ff52(0x2c7)],'imageSourceType':_0x191c7b[_0x45ff52(0x288)]}:null;}}));}};_0x19dca4=_0x38ffed([_0xb65e4(0x0,_0x30015e[_0x9c28c2(0x29c)]),_0xb65e4(0x1,_0x1888b1[_0x9c28c2(0x341)])],_0x19dca4);const _0x2c0d46=['purple.300',_0x9c28c2(0x2af),_0x9c28c2(0x2a4),_0x9c28c2(0x32e),'blue.400',_0x9c28c2(0x3b7)];class _0x52fe0d extends _0x43aff6['Disposable']{constructor(){const _0x4c0db9=_0x9c28c2;super(...arguments),_0x433bc1(this,_0x4c0db9(0x1b2),new Map()),_0x433bc1(this,_0x4c0db9(0x38e),0x0);}[_0x9c28c2(0x1ae)](_0x4db9d0){const _0x1a8ae9=_0x9c28c2;if(this[_0x1a8ae9(0x1b2)][_0x1a8ae9(0x2d3)](_0x4db9d0))return this['_assignedColors']['get'](_0x4db9d0);const _0x39e91c=_0x2c0d46[this[_0x1a8ae9(0x38e)]];return this[_0x1a8ae9(0x38e)]=(this[_0x1a8ae9(0x38e)]+0x1)%_0x2c0d46[_0x1a8ae9(0x27b)],this['_assignedColors']['set'](_0x4db9d0,_0x39e91c),_0x39e91c;}}function _0x5448a7(_0x12305a){const _0x230f37=_0x9c28c2;let _0x2dd3ac='';for(const _0x1597cc of _0x12305a){const {startOffset:_0x41e093,endOffset:_0xc7f461,isActive:_0x3575a6,rangeType:_0x110fa0,segmentId:_0xd74c3d,segmentPage:_0x4b521e}=_0x1597cc;_0x2dd3ac[_0x230f37(0x27b)]&&(_0x2dd3ac+=','),_0x2dd3ac+=_0x41e093+':'+_0xc7f461+':'+(_0x3575a6?'1':'0')+':'+_0x110fa0+':'+_0xd74c3d+':'+_0x4b521e;}return _0x2dd3ac;}function _0x266500(_0x462a91){const _0x53a29c=_0x9c28c2,_0x55745d=_0x462a91['split'](','),_0x5d104d=[];for(const _0xea77b9 of _0x55745d){const [_0xb5842d,_0x48c429,_0x2c489b,_0x326ce3,_0x1f95b8,_0x51b50b]=_0xea77b9[_0x53a29c(0x3ff)](':');_0x5d104d[_0x53a29c(0x329)]({'startOffset':Number(_0xb5842d),'endOffset':Number(_0x48c429),'collapsed':_0xb5842d===_0x48c429,'isActive':_0x2c489b==='1','rangeType':_0x326ce3===_0x43aff6[_0x53a29c(0x25f)][_0x53a29c(0x1fd)]?_0x43aff6[_0x53a29c(0x25f)][_0x53a29c(0x1fd)]:_0x43aff6[_0x53a29c(0x25f)][_0x53a29c(0x42d)],'segmentId':typeof _0x1f95b8==_0x53a29c(0x3c6)?String(_0x1f95b8):'','segmentPage':Number(_0x51b50b!=null?_0x51b50b:-0x1)});}return _0x5d104d[_0x53a29c(0x2ec)](_0x30c15d=>_0x30c15d[_0x53a29c(0x370)])||(_0x5d104d[0x0][_0x53a29c(0x370)]=!0x0),_0x5d104d;}class _0x2a43ee extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(){const _0x495189=_0x9c28c2;super(...arguments),_0x433bc1(this,'_collabCursorState$',new _0x22b5a0['BehaviorSubject'](null)),_0x433bc1(this,'collabCursorState$',this[_0x495189(0x428)][_0x495189(0x301)]());}[_0x9c28c2(0x3b8)](_0x1f0964){const _0x11a335=_0x9c28c2,{unitID:_0x2fddc2,memberID:_0x2b7dc3,textRanges:_0x83ca84}=_0x1f0964,_0x7a1722=_0x5448a7(_0x83ca84);if(_0x7a1722==='')return;const _0x540eed={'unitID':_0x2fddc2,'memberID':_0x2b7dc3,'selection':_0x7a1722};this[_0x11a335(0x428)][_0x11a335(0x254)](_0x540eed);}}var _0x1266a7=Object[_0x9c28c2(0x2fe)],_0x1bbbd0=(_0x36e914,_0x199bf1,_0x5e10e5,_0x58f0b8)=>{for(var _0xb4091c=_0x58f0b8>0x1?void 0x0:_0x58f0b8?_0x1266a7(_0x199bf1,_0x5e10e5):_0x199bf1,_0x2db185=_0x36e914['length']-0x1,_0x3f6a19;_0x2db185>=0x0;_0x2db185--)(_0x3f6a19=_0x36e914[_0x2db185])&&(_0xb4091c=_0x3f6a19(_0xb4091c)||_0xb4091c);return _0xb4091c;},_0x2e6000=(_0x2dc37c,_0x4a008f)=>(_0x7a6d4a,_0x3a8a2e)=>_0x4a008f(_0x7a6d4a,_0x3a8a2e,_0x2dc37c);const _0x5c1269=0x12c,_0x3401ab=0x64;let _0x104926=class extends _0x43aff6['RxDisposable']{constructor(_0x27472d,_0x3a0a25,_0x2704a7,_0x273545,_0x3e7024,_0x5c0849,_0x103949,_0x263d5f,_0x350e22){const _0x1c5fdc=_0x9c28c2;super(),_0x433bc1(this,'_online',!0x1),_0x433bc1(this,_0x1c5fdc(0x269),!0x1),_0x433bc1(this,_0x1c5fdc(0x1d2),new _0x22b5a0['BehaviorSubject'](new Map())),_0x433bc1(this,_0x1c5fdc(0x42f),this[_0x1c5fdc(0x1d2)][_0x1c5fdc(0x301)]()),_0x433bc1(this,_0x1c5fdc(0x410),new _0x22b5a0[(_0x1c5fdc(0x255))]([])),_0x433bc1(this,_0x1c5fdc(0x315),this[_0x1c5fdc(0x410)]['pipe'](_0x22b5a0[_0x1c5fdc(0x21e)](_0x5c1269))),_0x433bc1(this,'_updateLocalCursor',_0x43aff6[_0x1c5fdc(0x3c1)](_0x276fba=>{const _0x2e8f66=_0x1c5fdc,_0x53c1be={'eventID':_0xb9294[_0x2e8f66(0x3f9)][_0x2e8f66(0x2d8)],'data':{'unitID':this[_0x2e8f66(0x23d)],'memberID':this['_session'][_0x2e8f66(0x298)](),'selection':_0x5448a7(_0x276fba)}};this[_0x2e8f66(0x2a1)][_0x2e8f66(0x359)](_0x53c1be,this[_0x2e8f66(0x23d)]);},_0x3401ab)),(this[_0x1c5fdc(0x23d)]=_0x27472d,this['_session']=_0x3a0a25,this[_0x1c5fdc(0x3a0)]=_0x2704a7,this[_0x1c5fdc(0x2d0)]=_0x273545,this['_memberService']=_0x3e7024,this[_0x1c5fdc(0x3a1)]=_0x5c0849,this['_transformService']=_0x103949,this['_univerInstanceService']=_0x263d5f,this[_0x1c5fdc(0x403)]=_0x350e22);}get[_0x9c28c2(0x3bf)](){return this['_cursorInfo$']['getValue']();}get[_0x9c28c2(0x3d4)](){const _0x45fad7=_0x9c28c2;return this[_0x45fad7(0x410)]['getValue']();}['dispose'](){const _0x12007c=_0x9c28c2;super[_0x12007c(0x420)](),this[_0x12007c(0x1d2)][_0x12007c(0x254)](new Map()),this[_0x12007c(0x1d2)][_0x12007c(0x1ca)](),this[_0x12007c(0x410)]['next']([]),this[_0x12007c(0x410)][_0x12007c(0x1ca)]();}[_0x9c28c2(0x1be)](){const _0x40147a=_0x9c28c2;this['_init']||(this[_0x40147a(0x269)]=!0x0,this['_session']['sessionStatus$'][_0x40147a(0x353)](_0x22b5a0[_0x40147a(0x1f4)](this['dispose$']))['subscribe'](_0x29698f=>{const _0x36e27a=_0x40147a;_0x29698f===_0x3c1823[_0x36e27a(0x386)]['ONLINE']?this[_0x36e27a(0x2c2)]():this[_0x36e27a(0x2bb)]();}),this[_0x40147a(0x2a1)][_0x40147a(0x249)][_0x40147a(0x353)](_0x22b5a0[_0x40147a(0x1f4)](this[_0x40147a(0x36b)]))[_0x40147a(0x3aa)](_0x3fe5ff=>{const _0x33f8dd=_0x40147a,_0x484994=_0x3fe5ff[_0x33f8dd(0x35f)];_0x484994===_0xb9294[_0x33f8dd(0x3f9)][_0x33f8dd(0x2d8)]&&this[_0x33f8dd(0x1c1)](_0x3fe5ff),_0x484994===_0xb9294['CollaborationEvent'][_0x33f8dd(0x244)]&&this[_0x33f8dd(0x375)](_0x3fe5ff);}),this[_0x40147a(0x340)](this[_0x40147a(0x403)][_0x40147a(0x230)](_0x5b3b29=>{const _0x4b8ae8=_0x40147a,_0x2481a1=_0x5b3b29[_0x4b8ae8(0x3a3)];_0x2481a1!=null&&this[_0x4b8ae8(0x22e)]&&_0x5b3b29['id']===_0x4cf538['SetTextSelectionsOperation']['id']&&_0x2481a1[_0x4b8ae8(0x357)]===this['unitID']&&_0x2481a1[_0x4b8ae8(0x30a)]===!0x1&&_0x2481a1[_0x4b8ae8(0x3f0)][_0x4b8ae8(0x27b)]>0x0&&this[_0x4b8ae8(0x372)](_0x2481a1['ranges']);})),this['_syncEditingCollabCursorService'][_0x40147a(0x226)][_0x40147a(0x353)](_0x22b5a0[_0x40147a(0x1f4)](this[_0x40147a(0x36b)]))['subscribe'](_0x2d56f4=>{const _0x19af99=_0x40147a;if((_0x2d56f4==null?void 0x0:_0x2d56f4[_0x19af99(0x23d)])!==this['unitID'])return;const _0x59cd88={'eventID':_0xb9294[_0x19af99(0x3f9)]['UPDATE_CURSOR'],'data':_0x2d56f4};this[_0x19af99(0x1c1)](_0x59cd88);}),this[_0x40147a(0x340)](this[_0x40147a(0x403)][_0x40147a(0x230)](_0x3c728d=>{const _0x1644ef=_0x40147a;if(_0x3c728d[_0x1644ef(0x3a3)]==null)return;const _0x539ad4=_0x3c728d[_0x1644ef(0x3a3)];if(_0x3c728d['id']!==_0x4cf538['RichTextEditingMutation']['id']||_0x539ad4[_0x1644ef(0x357)]!==this[_0x1644ef(0x23d)])return;const _0x53d9c4={'id':_0x1644ef(0x2e1),'params':_0x539ad4},_0x2368a1=this['cursorInfo'];for(const [_0x3d5fe2,_0x4216a4]of _0x2368a1){const _0x248752={'id':_0x1644ef(0x2e1),'params':{'unitId':this[_0x1644ef(0x23d)],'actions':null,'textRanges':_0x4216a4['ranges']}},_0x361a10=this[_0x1644ef(0x2ca)][_0x1644ef(0x337)](_0x53d9c4,_0x248752,!0x1);if(_0xb9294['isTransformMutationFailure'](_0x361a10))throw _0x361a10[_0x1644ef(0x3a5)];_0x2368a1[_0x1644ef(0x289)](_0x3d5fe2,{..._0x4216a4,'ranges':_0x361a10[_0x1644ef(0x398)][_0x1644ef(0x3a3)][_0x1644ef(0x1dd)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2368a1);});})));}['_onCursorUpdate'](_0x5bfdbc){const _0x4c5e6f=_0x9c28c2;var _0x4dfe33,_0x3389fa;const {memberID:_0x1ed18f,selection:_0x1f5ba4}=_0x5bfdbc[_0x4c5e6f(0x2be)],_0x52b0c1=_0x266500(_0x1f5ba4),_0x2dbc0a=(_0x3389fa=(_0x4dfe33=this[_0x4c5e6f(0x3fa)]['getMember'](this['unitID'],_0x1ed18f))==null?void 0x0:_0x4dfe33[_0x4c5e6f(0x1d8)])!=null?_0x3389fa:_0x4c5e6f(0x332),_0x2a643f={'color':this['_colorAssignService'][_0x4c5e6f(0x1ae)](_0x1ed18f),'name':_0x2dbc0a,'ranges':_0x52b0c1},_0x424e5c=this['cursorInfo'];_0x424e5c[_0x4c5e6f(0x289)](_0x1ed18f,_0x2a643f),this[_0x4c5e6f(0x1d2)][_0x4c5e6f(0x254)](_0x424e5c);}[_0x9c28c2(0x375)](_0x3bca09){const _0x5a8836=_0x9c28c2,{memberID:_0xa5f026}=_0x3bca09['data'],_0x523a86=this[_0x5a8836(0x3bf)];_0x523a86[_0x5a8836(0x1ff)](_0xa5f026),this[_0x5a8836(0x1d2)][_0x5a8836(0x254)](_0x523a86);}['_toggleOnline'](){const _0x38d074=_0x9c28c2;var _0x3adcbb;if(this[_0x38d074(0x22e)]=!0x0,((_0x3adcbb=this[_0x38d074(0x2b0)][_0x38d074(0x1d1)]())==null?void 0x0:_0x3adcbb[_0x38d074(0x318)]())!==this['unitID'])return;const _0x50250e=this['_injector'][_0x38d074(0x326)](_0x4cf538[_0x38d074(0x2bf)])['getDocRanges']();Array[_0x38d074(0x443)](_0x50250e)&&_0x50250e[_0x38d074(0x27b)]>0x0&&this['_updateLocalCursor'](_0x50250e);}[_0x9c28c2(0x2bb)](){const _0xaf852=_0x9c28c2;this[_0xaf852(0x22e)]=!0x1;}};_0x104926=_0x1bbbd0([_0x2e6000(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x2e6000(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x52fe0d)),_0x2e6000(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x228)])),_0x2e6000(0x5,_0x43aff6['Inject'](_0x2a43ee)),_0x2e6000(0x6,_0xb9294[_0x9c28c2(0x3b5)]),_0x2e6000(0x7,_0x43aff6[_0x9c28c2(0x3bb)]),_0x2e6000(0x8,_0x43aff6[_0x9c28c2(0x39e)])],_0x104926);var _0x2b3527=Object[_0x9c28c2(0x2fe)],_0x2081f1=(_0x4496ce,_0x22235e,_0x55fff0,_0xfe6aa3)=>{const _0x414aaf=_0x9c28c2;for(var _0x24ff78=_0xfe6aa3>0x1?void 0x0:_0xfe6aa3?_0x2b3527(_0x22235e,_0x55fff0):_0x22235e,_0x394f00=_0x4496ce[_0x414aaf(0x27b)]-0x1,_0x3bf537;_0x394f00>=0x0;_0x394f00--)(_0x3bf537=_0x4496ce[_0x394f00])&&(_0x24ff78=_0x3bf537(_0x24ff78)||_0x24ff78);return _0x24ff78;},_0x3290da=(_0x58fdeb,_0x120574)=>(_0x344322,_0x3b5802)=>_0x120574(_0x344322,_0x3b5802,_0x58fdeb);const _0x2a77a4=0x12c,_0x3f47c9=0x64,_0x290f90=()=>{let _0x1e2a01=[],_0x16cd39=!0x1;return _0x1e43b4=>{const _0x5760ab=_0x2330;_0x1e2a01[_0x5760ab(0x329)](_0x1e43b4),_0x16cd39||(_0x16cd39=!0x0,setTimeout(()=>{const _0xcabc19=_0x5760ab;_0x1e2a01[_0xcabc19(0x312)](_0x227e71=>_0x227e71()),_0x1e2a01=[],_0x16cd39=!0x1;}));};};let _0x3a33d4=class extends _0x43aff6['RxDisposable']{constructor(_0x555569,_0x11d599,_0x14f601,_0x2f5277,_0x34cfc5,_0x37bf5f,_0x1b96d8,_0x362c08){const _0xcae64d=_0x9c28c2;super(),_0x433bc1(this,_0xcae64d(0x22e),!0x1),_0x433bc1(this,'_init',!0x1),_0x433bc1(this,'_cursorInfo$',new _0x22b5a0['BehaviorSubject'](new Map())),_0x433bc1(this,_0xcae64d(0x42f),this[_0xcae64d(0x1d2)][_0xcae64d(0x301)]()),_0x433bc1(this,_0xcae64d(0x410),new _0x22b5a0['BehaviorSubject']([])),_0x433bc1(this,_0xcae64d(0x315),this[_0xcae64d(0x410)][_0xcae64d(0x353)](_0x22b5a0[_0xcae64d(0x21e)](_0x2a77a4))),_0x433bc1(this,_0xcae64d(0x372),_0x43aff6[_0xcae64d(0x3c1)]((_0x9e1637,_0x24207b)=>{const _0x55250b=_0xcae64d,_0x416a04={'eventID':_0xb9294['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x55250b(0x23d)],'memberID':this[_0x55250b(0x2a1)][_0x55250b(0x298)](),'selection':_0x2ab58f[_0x55250b(0x381)](_0x9e1637,_0x24207b[_0x55250b(0x294)])}};this[_0x55250b(0x2a1)][_0x55250b(0x359)](_0x416a04,this[_0x55250b(0x23d)]);},_0x3f47c9)),(this[_0xcae64d(0x23d)]=_0x555569,this[_0xcae64d(0x2a1)]=_0x11d599,this[_0xcae64d(0x3a0)]=_0x14f601,this[_0xcae64d(0x2d0)]=_0x2f5277,this[_0xcae64d(0x3fa)]=_0x34cfc5,this[_0xcae64d(0x2b0)]=_0x37bf5f,this[_0xcae64d(0x403)]=_0x1b96d8,this[_0xcae64d(0x3d1)]=_0x362c08);}get['cursorInfo'](){const _0x292677=_0x9c28c2;return this[_0x292677(0x1d2)][_0x292677(0x2aa)]();}get['roomMembers'](){const _0xcd2f7a=_0x9c28c2;return this[_0xcd2f7a(0x410)]['getValue']();}[_0x9c28c2(0x420)](){const _0x198cd3=_0x9c28c2;super[_0x198cd3(0x420)](),this['_cursorInfo$'][_0x198cd3(0x254)](new Map()),this[_0x198cd3(0x1d2)][_0x198cd3(0x1ca)](),this[_0x198cd3(0x410)][_0x198cd3(0x254)]([]),this[_0x198cd3(0x410)][_0x198cd3(0x1ca)]();}[_0x9c28c2(0x1be)](){const _0x5db639=_0x9c28c2;this[_0x5db639(0x269)]||(this[_0x5db639(0x269)]=!0x0,this[_0x5db639(0x2a1)][_0x5db639(0x3d3)][_0x5db639(0x353)](_0x22b5a0[_0x5db639(0x1f4)](this[_0x5db639(0x36b)]))[_0x5db639(0x3aa)](_0x3f3196=>{const _0x3660de=_0x5db639;_0x3f3196===_0x3c1823[_0x3660de(0x386)]['ONLINE']?this['_toggleOnline']():this[_0x3660de(0x2bb)]();}),this[_0x5db639(0x2a1)][_0x5db639(0x249)][_0x5db639(0x353)](_0x22b5a0[_0x5db639(0x1f4)](this['dispose$']))['subscribe'](_0x166773=>{const _0x134c20=_0x5db639,_0x592b76=_0x166773['eventID'];_0x592b76===_0xb9294[_0x134c20(0x3f9)][_0x134c20(0x2d8)]&&this[_0x134c20(0x1c1)](_0x166773),_0x592b76===_0xb9294['CollaborationEvent']['USERS_LEAVE']&&this[_0x134c20(0x375)](_0x166773);}),this[_0x5db639(0x2f3)](),this[_0x5db639(0x340)](this['_commandService']['onCommandExecuted'](_0x409212=>{const _0x50b6d3=_0x5db639;if(this[_0x50b6d3(0x22e)]&&_0x409212['id']===_0x27c450[_0x50b6d3(0x3b9)]['id']&&_0x409212['params'][_0x50b6d3(0x357)]===this[_0x50b6d3(0x23d)]){const _0x3212a2=_0x409212[_0x50b6d3(0x3a3)];this[_0x50b6d3(0x372)](_0x3212a2[_0x50b6d3(0x41d)],_0x3212a2[_0x50b6d3(0x28a)][0x0]);}})));}[_0x9c28c2(0x1c1)](_0x165705){const _0x4bb6a9=_0x9c28c2;var _0x4fb0a6,_0x1d729b;const {memberID:_0x2d311e,selection:_0x5a3751}=_0x165705[_0x4bb6a9(0x2be)],{sheetName:_0xd0e5b3,range:_0x6b40dc}=_0x2ab58f[_0x4bb6a9(0x275)](_0x5a3751),_0x154e41={'name':(_0x1d729b=(_0x4fb0a6=this['_memberService'][_0x4bb6a9(0x285)](this[_0x4bb6a9(0x23d)],_0x2d311e))==null?void 0x0:_0x4fb0a6[_0x4bb6a9(0x1d8)])!=null?_0x1d729b:_0x4bb6a9(0x332),'range':this[_0x4bb6a9(0x2d7)](_0xd0e5b3,_0x6b40dc),'sheetID':_0xd0e5b3,'color':this[_0x4bb6a9(0x2d0)]['assignAColorForMemberID'](_0x2d311e),'selection':_0x5a3751},_0x559a3d=this[_0x4bb6a9(0x3bf)];_0x559a3d[_0x4bb6a9(0x289)](_0x2d311e,_0x154e41),this[_0x4bb6a9(0x1d2)]['next'](_0x559a3d);}[_0x9c28c2(0x375)](_0x3c07ca){const _0x4d694b=_0x9c28c2,{memberID:_0xac8133}=_0x3c07ca[_0x4d694b(0x2be)],_0x3a906a=this[_0x4d694b(0x3bf)];_0x3a906a[_0x4d694b(0x1ff)](_0xac8133),this['_cursorInfo$'][_0x4d694b(0x254)](_0x3a906a);}[_0x9c28c2(0x2d7)](_0x4c244d,_0x156cbb){const _0x39edec=_0x9c28c2;var _0x2699cf,_0x3dfaae;const _0x2f90f5=(_0x3dfaae=(_0x2699cf=this[_0x39edec(0x2b0)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x2699cf['getSheetBySheetId'](_0x4c244d))==null?void 0x0:_0x3dfaae['getMergeData']();return(_0x2f90f5==null?void 0x0:_0x2f90f5[_0x39edec(0x257)](_0x17123d=>_0x43aff6[_0x39edec(0x2b7)][_0x39edec(0x3e0)](_0x17123d,_0x156cbb)))||_0x156cbb;}[_0x9c28c2(0x2f3)](){const _0x5ec0c6=_0x9c28c2,_0x1ad150=new _0x43aff6['DisposableCollection'](),_0x1b93eb=_0x290f90(),_0x175c80=()=>{const _0x48cea6=_0x2330;_0x1ad150['dispose']();const _0xd226a2=(_0x21d1ce,_0x462cb0,_0x46ba3e,_0x49ef01)=>{const _0x495508=_0x2330;let _0x247953=[];switch(_0x21d1ce['id']){case _0x27c450[_0x495508(0x23a)][_0x495508(0x3bc)]:{_0x247953=_0x27c450[_0x495508(0x2b9)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x43f)]:{_0x247953=_0x27c450[_0x495508(0x32c)](_0x21d1ce,_0x49ef01);break;}case _0x27c450['EffectRefRangId'][_0x495508(0x3ca)]:{_0x247953=_0x27c450['handleInsertCol'](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x411)]:{_0x247953=_0x27c450['handleInsertRangeMoveDown'](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x297)]:{_0x247953=_0x27c450['handleInsertRangeMoveRight'](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x3e2)]:{_0x247953=_0x27c450[_0x495508(0x33b)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x1cf)]:{_0x247953=_0x27c450[_0x495508(0x342)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x2d5)]:{_0x247953=_0x27c450[_0x495508(0x3c9)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x2e8)]:{_0x247953=_0x27c450['handleIRemoveRow'](_0x21d1ce,_0x49ef01);break;}}const _0x159da2=_0x27c450['runRefRangeMutations'](_0x247953,_0x49ef01),_0x24977a=this['cursorInfo'][_0x495508(0x326)](_0x462cb0);if(_0x24977a&&_0x159da2){const _0x133cc3={..._0x24977a,'range':_0x159da2};this['cursorInfo'][_0x495508(0x289)](_0x462cb0,_0x133cc3),_0x1b93eb(()=>{const _0x2522f9=_0x495508,_0x21d3f2=this[_0x2522f9(0x3d1)][_0x2522f9(0x1a8)](_0x159da2,_0x15c1b4=>(_0x21d3f2['dispose'](),_0xd226a2(_0x15c1b4,_0x462cb0,_0x46ba3e,_0x159da2)));_0x1ad150[_0x2522f9(0x2cc)](_0x21d3f2);});}return{'redos':[],'undos':[]};};this[_0x48cea6(0x3bf)][_0x48cea6(0x312)]((_0x5ca54d,_0x1d58cc)=>{const _0x30c673=_0x48cea6,{range:_0x37c7e0,sheetID:_0x5f0823}=_0x5ca54d,_0x2b979f=this['_refRangeService'][_0x30c673(0x1a8)](_0x37c7e0,_0x2a553e=>(_0x2b979f[_0x30c673(0x420)](),_0xd226a2(_0x2a553e,_0x1d58cc,_0x5f0823,_0x37c7e0)));_0x1ad150[_0x30c673(0x2cc)](_0x2b979f);});};this['disposeWithMe'](_0x43aff6['toDisposable'](this['_cursorInfo$'][_0x5ec0c6(0x3aa)](()=>{_0x175c80();})));}[_0x9c28c2(0x2c2)](){const _0x2d0aa7=_0x9c28c2;var _0x2c10d0,_0xccd7b4;if(this[_0x2d0aa7(0x22e)]=!0x0,((_0x2c10d0=this[_0x2d0aa7(0x2b0)]['getFocusedUnit']())==null?void 0x0:_0x2c10d0[_0x2d0aa7(0x318)]())!==this[_0x2d0aa7(0x23d)])return;const _0x4c082e=(_0xccd7b4=this[_0x2d0aa7(0x3a0)][_0x2d0aa7(0x326)](_0x27c450['SheetsSelectionsService'])[_0x2d0aa7(0x252)]())==null?void 0x0:_0xccd7b4[0x0],_0x21d387=this[_0x2d0aa7(0x2b0)][_0x2d0aa7(0x387)](_0x43aff6[_0x2d0aa7(0x1fb)][_0x2d0aa7(0x1ab)])[_0x2d0aa7(0x354)]();_0x4c082e&&_0x21d387&&this[_0x2d0aa7(0x372)](_0x21d387[_0x2d0aa7(0x385)](),_0x4c082e);}[_0x9c28c2(0x2bb)](){const _0x519a53=_0x9c28c2;this[_0x519a53(0x22e)]=!0x1;}};_0x3a33d4=_0x2081f1([_0x3290da(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x3290da(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x52fe0d)),_0x3290da(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823['MemberService'])),_0x3290da(0x5,_0x43aff6[_0x9c28c2(0x3bb)]),_0x3290da(0x6,_0x43aff6[_0x9c28c2(0x39e)]),_0x3290da(0x7,_0x43aff6['Inject'](_0x27c450[_0x9c28c2(0x40a)]))],_0x3a33d4);var _0x2029d0=Object[_0x9c28c2(0x2fe)],_0xc52433=(_0x1dd16,_0x20b59f,_0x284d42,_0x1eb1b1)=>{const _0x310751=_0x9c28c2;for(var _0x252313=_0x1eb1b1>0x1?void 0x0:_0x1eb1b1?_0x2029d0(_0x20b59f,_0x284d42):_0x20b59f,_0x1230cf=_0x1dd16[_0x310751(0x27b)]-0x1,_0x441c4f;_0x1230cf>=0x0;_0x1230cf--)(_0x441c4f=_0x1dd16[_0x1230cf])&&(_0x252313=_0x441c4f(_0x252313)||_0x252313);return _0x252313;},_0x662069=(_0x425cea,_0x3fe2a9)=>(_0xc1f544,_0x451f7e)=>_0x3fe2a9(_0xc1f544,_0x451f7e,_0x425cea);let _0x5964c5=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x25ae79,_0x253742,_0x4d9613){const _0x40518e=_0x9c28c2;super(),_0x433bc1(this,_0x40518e(0x402),new Map()),_0x433bc1(this,_0x40518e(0x1cc),new _0x22b5a0['Subject']()),(this[_0x40518e(0x2b0)]=_0x25ae79,this[_0x40518e(0x3a0)]=_0x253742,this['_collabSessionService']=_0x4d9613,this[_0x40518e(0x269)]());}[_0x9c28c2(0x420)](){const _0x1466d4=_0x9c28c2;super['dispose'](),this[_0x1466d4(0x1cc)][_0x1466d4(0x1ca)](),this[_0x1466d4(0x402)][_0x1466d4(0x312)](_0x41be7e=>_0x41be7e[_0x1466d4(0x420)]());}['getCollabCursors$'](_0x47bfcd){const _0x13e510=_0x9c28c2;return this['_entities']['has'](_0x47bfcd)?this[_0x13e510(0x402)][_0x13e510(0x326)](_0x47bfcd)['cursorInfo$']:this[_0x13e510(0x1cc)][_0x13e510(0x353)](_0x22b5a0['filter'](_0xda124=>_0xda124[_0x13e510(0x23d)]===_0x47bfcd),_0x22b5a0[_0x13e510(0x1b4)](_0x308b8b=>_0x308b8b[_0x13e510(0x42f)]));}['_init'](){const _0x44395a=_0x9c28c2;this['_univerInstanceService'][_0x44395a(0x429)](_0x43aff6[_0x44395a(0x1fb)][_0x44395a(0x1ab)])[_0x44395a(0x353)](_0x22b5a0[_0x44395a(0x1f4)](this[_0x44395a(0x36b)]))[_0x44395a(0x3aa)](async _0x3fec32=>{const _0x5264cc=_0x44395a,_0x4133dc=_0x3fec32['getUnitId'](),_0x431328=await this['_startSheetCollabCursor'](_0x4133dc);this[_0x5264cc(0x1cc)]['next'](_0x431328),this[_0x5264cc(0x402)]['set'](_0x4133dc,_0x431328);}),this[_0x44395a(0x2b0)]['getTypeOfUnitAdded$'](_0x43aff6['UniverInstanceType'][_0x44395a(0x1e1)])[_0x44395a(0x353)](_0x22b5a0['takeUntil'](this['dispose$']))[_0x44395a(0x353)](_0x22b5a0['filter'](_0x28d4a2=>!_0x28d4a2['getUnitId']()[_0x44395a(0x264)]('__')))[_0x44395a(0x3aa)](async _0x209b1a=>{const _0x89c459=_0x44395a,_0x1f10a3=_0x209b1a[_0x89c459(0x318)](),_0x518659=await this[_0x89c459(0x358)](_0x1f10a3);this['_entityInit$'][_0x89c459(0x254)](_0x518659),this['_entities'][_0x89c459(0x289)](_0x1f10a3,_0x518659);}),_0x22b5a0['merge'](this[_0x44395a(0x2b0)][_0x44395a(0x209)](_0x43aff6['UniverInstanceType']['UNIVER_DOC']),this[_0x44395a(0x2b0)][_0x44395a(0x209)](_0x43aff6[_0x44395a(0x1fb)][_0x44395a(0x1ab)]))[_0x44395a(0x353)](_0x22b5a0[_0x44395a(0x1f4)](this[_0x44395a(0x36b)]))[_0x44395a(0x3aa)](_0x117f37=>{const _0x5e22f3=_0x44395a,_0x21c4d0=_0x117f37['getUnitId'](),_0x1bd226=this[_0x5e22f3(0x402)][_0x5e22f3(0x326)](_0x21c4d0);_0x1bd226&&(_0x1bd226[_0x5e22f3(0x420)](),this['_entities'][_0x5e22f3(0x1ff)](_0x21c4d0));});}async[_0x9c28c2(0x2d6)](_0x2a5584){const _0x42ba92=_0x9c28c2,_0x41f64f=await this[_0x42ba92(0x24b)][_0x42ba92(0x1c6)](_0x2a5584),_0x41f0a7=this[_0x42ba92(0x3a0)][_0x42ba92(0x231)](_0x3a33d4,_0x2a5584,_0x41f64f);return _0x41f0a7['init'](),_0x41f0a7;}async[_0x9c28c2(0x358)](_0x49ce04){const _0x5af98c=_0x9c28c2,_0x4121d5=await this[_0x5af98c(0x24b)][_0x5af98c(0x1c6)](_0x49ce04),_0x10bbd3=this[_0x5af98c(0x3a0)][_0x5af98c(0x231)](_0x104926,_0x49ce04,_0x4121d5);return _0x10bbd3[_0x5af98c(0x1be)](),_0x10bbd3;}};_0x5964c5=_0xc52433([_0x662069(0x0,_0x43aff6[_0x9c28c2(0x3bb)]),_0x662069(0x1,_0x43aff6['Inject'](_0x43aff6[_0x9c28c2(0x35c)])),_0x662069(0x2,_0x43aff6['Inject'](_0x3c1823[_0x9c28c2(0x242)]))],_0x5964c5);const _0x3d30e4=0x14,_0x473791=0xc8,_0x31cd92=0x4,_0x2ab529=0x5;function _0x20adb9(_0x116cce,_0x47da18){const _0x1bc2b0=_0x9c28c2;let {radius:_0x1a5098,width:_0xcfbb2,height:_0x277b25}=_0x47da18;_0x1a5098=_0x1a5098!=null?_0x1a5098:0x0,_0xcfbb2=_0xcfbb2!=null?_0xcfbb2:0x1e,_0x277b25=_0x277b25!=null?_0x277b25:0x1e;let _0x2ce214=0x0,_0x50c454=0x0,_0x5818ff=0x0;_0x2ce214=_0x50c454=_0x5818ff=Math[_0x1bc2b0(0x343)](_0x1a5098,_0xcfbb2/0x2,_0x277b25/0x2),_0x116cce[_0x1bc2b0(0x406)](),_0x116cce['moveTo'](_0x2ce214,0x0),_0x116cce[_0x1bc2b0(0x323)](_0xcfbb2-_0x50c454,0x0),_0x116cce[_0x1bc2b0(0x2fa)](_0xcfbb2-_0x50c454,_0x50c454,_0x50c454,Math['PI']*0x3/0x2,0x0,!0x1),_0x116cce[_0x1bc2b0(0x323)](_0xcfbb2,_0x277b25-_0x5818ff),_0x116cce[_0x1bc2b0(0x2fa)](_0xcfbb2-_0x5818ff,_0x277b25-_0x5818ff,_0x5818ff,0x0,Math['PI']/0x2,!0x1),_0x116cce['lineTo'](0x0,_0x277b25),_0x116cce['lineTo'](0x0,_0x2ce214),_0x116cce['arc'](_0x2ce214,_0x2ce214,_0x2ce214,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x116cce[_0x1bc2b0(0x2dc)](),_0x47da18[_0x1bc2b0(0x27d)]&&(_0x116cce['save'](),_0x116cce[_0x1bc2b0(0x350)]=_0x47da18[_0x1bc2b0(0x27d)],_0x47da18['fillRule']===_0x1bc2b0(0x2b4)?_0x116cce[_0x1bc2b0(0x27d)](_0x1bc2b0(0x2b4)):_0x116cce[_0x1bc2b0(0x27d)](),_0x116cce[_0x1bc2b0(0x1d9)]());}class _0x2bf5cc extends _0x359b8a[_0x9c28c2(0x384)]{constructor(_0x571552,_0x1f71c9){const _0x2e04a4=_0x9c28c2;super(_0x571552,_0x1f71c9),_0x433bc1(this,_0x2e04a4(0x36c)),_0x433bc1(this,_0x2e04a4(0x39c)),(this[_0x2e04a4(0x36c)]=_0x1f71c9==null?void 0x0:_0x1f71c9[_0x2e04a4(0x36c)],this[_0x2e04a4(0x39c)]=_0x1f71c9==null?void 0x0:_0x1f71c9[_0x2e04a4(0x39c)]);}static[_0x9c28c2(0x383)](_0x326f5b,_0x2d9798){const _0x57de69=_0x9c28c2,{text:_0x29556f,color:_0x241cea}=_0x2d9798;_0x326f5b['save'](),_0x326f5b[_0x57de69(0x2fb)]=_0x57de69(0x415);const _0x5a55f2=_0x326f5b[_0x57de69(0x39a)](_0x29556f)[_0x57de69(0x3f5)],_0xf484bd=Math['min'](_0x5a55f2+0x2*_0x31cd92,_0x473791);_0x20adb9(_0x326f5b,{'height':_0x3d30e4,'radius':0x4,'width':_0xf484bd,'fill':_0x241cea}),_0x326f5b[_0x57de69(0x350)]=_0x57de69(0x2c4);const _0x4fbaca=_0x31cd92,_0x127a11=_0x3d30e4-_0x2ab529,_0x10291d=_0x473791-0x2*_0x31cd92;if(_0x5a55f2>_0x10291d){let _0x3e1c08='',_0x5867c2=0x0;for(const _0x19feb6 of _0x29556f){const _0xa88d65=_0x326f5b[_0x57de69(0x39a)](_0x19feb6)[_0x57de69(0x3f5)];if(_0x5867c2+_0xa88d65<=_0x10291d-_0x326f5b['measureText'](_0x57de69(0x216))[_0x57de69(0x3f5)])_0x3e1c08+=_0x19feb6,_0x5867c2+=_0xa88d65;else{_0x3e1c08+=_0x57de69(0x216);break;}}_0x326f5b[_0x57de69(0x33e)](_0x3e1c08,_0x4fbaca,_0x127a11);}else _0x326f5b[_0x57de69(0x33e)](_0x29556f,_0x4fbaca,_0x127a11);_0x326f5b[_0x57de69(0x1d9)]();}[_0x9c28c2(0x3c0)](_0x41c00f){const _0x40b174=_0x9c28c2;_0x2bf5cc[_0x40b174(0x383)](_0x41c00f,this);}}const _0x1c747b=_0x9c28c2(0x438),_0x25d3e7=_0x9c28c2(0x2da),_0x1f221e=_0x9c28c2(0x24f),_0x269334=0x6,_0x48dd86=1.5,_0xbfb9d2=0x4,_0x5e8b7f=1.5,_0x583996='rgba(255,\x20255,\x20255,\x200.01)';class _0x36c1c7{constructor(_0x264af2,_0x42b7a0,_0x2979e1,_0x273400){const _0x4d8a51=_0x9c28c2;_0x433bc1(this,_0x4d8a51(0x36d),[]),_0x433bc1(this,'_anchor',null),_0x433bc1(this,_0x4d8a51(0x217),null),_0x433bc1(this,_0x4d8a51(0x39b),null),_0x433bc1(this,_0x4d8a51(0x307),null),_0x433bc1(this,_0x4d8a51(0x34a),null),(this[_0x4d8a51(0x1f1)]=_0x264af2,this[_0x4d8a51(0x1c0)]=_0x42b7a0,this[_0x4d8a51(0x2d4)]=_0x2979e1,this[_0x4d8a51(0x25c)]=_0x273400,this[_0x4d8a51(0x3db)]());}set[_0x9c28c2(0x26f)](_0x401a20){const _0x8d84b4=_0x9c28c2;_0x401a20?(this[_0x8d84b4(0x39b)]&&this['_anchorDot'][_0x8d84b4(0x218)](),this[_0x8d84b4(0x217)]&&this[_0x8d84b4(0x217)][_0x8d84b4(0x324)]()):(this[_0x8d84b4(0x39b)]&&this[_0x8d84b4(0x39b)][_0x8d84b4(0x324)](),this[_0x8d84b4(0x217)]&&this[_0x8d84b4(0x217)][_0x8d84b4(0x218)]());}['dispose'](){const _0x396a79=_0x9c28c2;for(const _0x3d9679 of this[_0x396a79(0x36d)])_0x3d9679['dispose']();this[_0x396a79(0x217)]&&this[_0x396a79(0x217)]['dispose'](),this[_0x396a79(0x39b)]&&this[_0x396a79(0x39b)]['dispose'](),this[_0x396a79(0x3e7)]&&this[_0x396a79(0x3e7)][_0x396a79(0x420)](),this['_eventUnsubscribe']&&this[_0x396a79(0x34a)]();}['_render'](){const _0xa445=_0x9c28c2;var _0x352244;const {_docSkeleton:_0x2ada0b,_document:_0x34a030}=this,{color:_0x1f643c,name:_0x1250b2,ranges:_0x1229a0}=this[_0xa445(0x1f1)],_0x50221f=_0x34a030[_0xa445(0x1b8)](),{docsLeft:_0x1437f1,docsTop:_0x2ff460}=_0x50221f,_0x3369c6=new _0x30015e[(_0xa445(0x33f))](_0x50221f,_0x2ada0b);for(const {startOffset:_0x54aec5,endOffset:_0xd16b58,rangeType:_0x39308c,segmentId:_0x1a2e8e,segmentPage:_0x3e0ae8,collapsed:_0xe5692c,isActive:_0x434dba}of _0x1229a0){const _0x219f89=_0x2ada0b[_0xa445(0x376)](_0x54aec5,!0x0,_0x1a2e8e,_0x3e0ae8);let _0x1a51ac=_0x2ada0b['findNodePositionByCharIndex'](_0xd16b58,!0x0,_0x1a2e8e,_0x3e0ae8);if(_0x1a51ac==null&&(_0x1a51ac=_0x2ada0b[_0xa445(0x376)](_0xd16b58-0x1,!0x1,_0x1a2e8e,_0x3e0ae8)),_0x434dba){const {contentBoxPointGroup:_0x2c2565}=_0x3369c6[_0xa445(0x271)](_0x1a51ac,_0x1a51ac);if(_0x2c2565[_0xa445(0x27b)]===0x0)continue;this['_drawAnchor'](_0x1f643c,_0x2c2565,_0x1437f1,_0x2ff460,_0x1250b2),this[_0xa445(0x34a)]=this[_0xa445(0x2e5)]();}if(_0x219f89&&_0x1a51ac){if(_0x39308c===_0x43aff6['DOC_RANGE_TYPE'][_0xa445(0x42d)]){const _0x263d1b=new _0x30015e[(_0xa445(0x20e))](_0x50221f,_0x2ada0b),{pointGroup:_0x577776}=(_0x352244=_0x263d1b[_0xa445(0x271)](_0x219f89,_0x1a51ac))!=null?_0x352244:{};if(_0x577776==null||_0x577776[_0xa445(0x27b)]===0x0)continue;this[_0xa445(0x23e)](_0x1f643c,_0x577776,_0x1437f1,_0x2ff460);}else{if(!_0xe5692c){const {borderBoxPointGroup:_0x305afd}=_0x3369c6[_0xa445(0x271)](_0x219f89,_0x1a51ac);if(_0x305afd[_0xa445(0x27b)]===0x0)continue;this[_0xa445(0x31f)](_0x1f643c,_0x305afd,_0x1437f1,_0x2ff460);}}}}}[_0x9c28c2(0x389)](_0x4e1036,_0x55d38c,_0x21aa2b,_0x4a0483,_0x1efd0e){const _0x72e13a=_0x9c28c2,_0x399156=this[_0x72e13a(0x424)](_0x55d38c),{left:_0x494002,top:_0x218bc2,height:_0x40f7a0}=_0x399156,_0x7be40f=this[_0x72e13a(0x2df)](),_0x197f62=_0x5e8b7f/_0x7be40f,_0xb55014=new _0x359b8a[(_0x72e13a(0x1ed))](_0x1c747b+_0x43aff6['Tools'][_0x72e13a(0x2b8)](_0x269334),{'left':_0x494002+_0x21aa2b-_0x197f62,'top':_0x218bc2+_0x4a0483,'height':_0x40f7a0,'width':_0x48dd86,'fill':_0x4e1036||_0x359b8a[_0x72e13a(0x3ed)](_0x43aff6[_0x72e13a(0x352)][_0x72e13a(0x39f)],0x0),'strokeWidth':_0x197f62,'stroke':_0x583996,'evented':!0x0});this[_0x72e13a(0x3e7)]=_0xb55014,this[_0x72e13a(0x1c0)][_0x72e13a(0x284)](_0xb55014,_0x30015e[_0x72e13a(0x2cd)]);const _0x37a832=new _0x359b8a[(_0x72e13a(0x1ed))](_0x1c747b+_0x43aff6[_0x72e13a(0x219)][_0x72e13a(0x2b8)](_0x269334),{'left':_0x494002+_0x21aa2b-_0x197f62,'top':_0x218bc2+_0x4a0483-_0xbfb9d2/0x2,'height':_0xbfb9d2,'width':_0xbfb9d2,'fill':_0x4e1036||_0x359b8a[_0x72e13a(0x3ed)](_0x43aff6[_0x72e13a(0x352)][_0x72e13a(0x39f)],0x0),'strokeWidth':0x0,'stroke':_0x4e1036||_0x359b8a[_0x72e13a(0x3ed)](_0x43aff6['COLORS']['black'],0x0),'evented':!0x1});this[_0x72e13a(0x39b)]=_0x37a832,this[_0x72e13a(0x1c0)][_0x72e13a(0x284)](_0x37a832,_0x30015e['TEXT_RANGE_LAYER_INDEX']);const _0x67fe43=new _0x2bf5cc(_0x1c747b+_0x43aff6['Tools'][_0x72e13a(0x2b8)](_0x269334),{'left':_0x494002+_0x21aa2b-_0x197f62,'top':_0x218bc2+_0x4a0483-_0x3d30e4,'text':_0x1efd0e,'color':_0x4e1036});this[_0x72e13a(0x217)]=_0x67fe43,this[_0x72e13a(0x1c0)][_0x72e13a(0x284)](_0x67fe43,_0x30015e[_0x72e13a(0x2cd)]),this['_hover']=!0x1;}[_0x9c28c2(0x2e5)](){const _0x5b6c8c=_0x9c28c2,_0x251b96=this[_0x5b6c8c(0x3e7)][_0x5b6c8c(0x3ef)][_0x5b6c8c(0x3cd)](()=>{const _0x49c112=_0x5b6c8c;this[_0x49c112(0x26f)]=!0x0;}),_0x438b61=this['_anchor']['onPointerLeave$'][_0x5b6c8c(0x3cd)](()=>{const _0x3d1bf7=_0x5b6c8c;this[_0x3d1bf7(0x307)]&&clearTimeout(this[_0x3d1bf7(0x307)]),this['_hideTimer']=setTimeout(()=>{const _0x50e155=_0x3d1bf7;this[_0x50e155(0x26f)]=!0x1;},0x7d0);});return()=>{const _0x456a9c=_0x5b6c8c;_0x251b96[_0x456a9c(0x3df)](),_0x438b61['unsubscribe']();};}[_0x9c28c2(0x31f)](_0x14f027,_0x402622,_0x45307c,_0x3c4c27){const _0x33008d=_0x9c28c2,_0x4a16c6=new _0x43aff6[(_0x33008d(0x274))](_0x14f027)[_0x33008d(0x423)](0.2)[_0x33008d(0x203)](),_0x30bc7c=new _0x359b8a[(_0x33008d(0x20a))](_0x25d3e7+_0x43aff6[_0x33008d(0x219)][_0x33008d(0x2b8)](_0x269334),{'pointsGroup':_0x402622,'fill':_0x4a16c6||_0x359b8a[_0x33008d(0x3ed)](_0x43aff6[_0x33008d(0x352)]['black'],0.2),'left':_0x45307c,'top':_0x3c4c27,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x33008d(0x329)](_0x30bc7c),this[_0x33008d(0x1c0)]['addObject'](_0x30bc7c,_0x30015e[_0x33008d(0x2cd)]);}[_0x9c28c2(0x23e)](_0x58aeac,_0x54be80,_0x58fab6,_0x56ed46){const _0x3164c5=_0x9c28c2,_0x39866d=new _0x43aff6['ColorKit'](_0x58aeac)[_0x3164c5(0x423)](0.2)[_0x3164c5(0x203)](),_0x98e571=new _0x359b8a['RegularPolygon'](_0x1f221e+_0x43aff6['Tools'][_0x3164c5(0x2b8)](_0x269334),{'pointsGroup':_0x54be80,'fill':_0x39866d||_0x359b8a[_0x3164c5(0x3ed)](_0x43aff6[_0x3164c5(0x352)][_0x3164c5(0x39f)],0.2),'left':_0x58fab6,'top':_0x56ed46,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3164c5(0x36d)]['push'](_0x98e571),this[_0x3164c5(0x1c0)][_0x3164c5(0x284)](_0x98e571,_0x30015e[_0x3164c5(0x2cd)]);}[_0x9c28c2(0x424)](_0x3c4f0b){const _0x376d71=_0x3c4f0b[0x0],_0x323447=_0x376d71[0x0],_0x38a81d=_0x376d71[0x2],{x:_0x42f49c,y:_0x1c8fa0}=_0x323447,{x:_0x20ed3a,y:_0x1c23c6}=_0x38a81d;return{'left':_0x42f49c,'top':_0x1c8fa0,'width':_0x20ed3a-_0x42f49c,'height':_0x1c23c6-_0x1c8fa0};}[_0x9c28c2(0x2df)](){const _0x49438e=_0x9c28c2,{scaleX:_0x23146b,scaleY:_0x54c2af}=this['_scene']['getAncestorScale']();return Math[_0x49438e(0x396)](_0x23146b,_0x54c2af);}}var _0x699928=Object['getOwnPropertyDescriptor'],_0x143536=(_0x1546d8,_0x2380bd,_0x1b265d,_0x23efa0)=>{for(var _0x2ecd55=_0x23efa0>0x1?void 0x0:_0x23efa0?_0x699928(_0x2380bd,_0x1b265d):_0x2380bd,_0x1b6288=_0x1546d8['length']-0x1,_0x471d12;_0x1b6288>=0x0;_0x1b6288--)(_0x471d12=_0x1546d8[_0x1b6288])&&(_0x2ecd55=_0x471d12(_0x2ecd55)||_0x2ecd55);return _0x2ecd55;},_0xe45c8e=(_0x2a923b,_0x3b611d)=>(_0x52c552,_0x3a911f)=>_0x3b611d(_0x52c552,_0x3a911f,_0x2a923b);let _0x38436b=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x5a7cc0,_0x5b7d16,_0x1c1803,_0x307508,_0x22f848){const _0x595b10=_0x9c28c2;super(),_0x433bc1(this,_0x595b10(0x286),[]),_0x433bc1(this,_0x595b10(0x35d),[]),(this[_0x595b10(0x278)]=_0x5a7cc0,this['_docSkeletonManagerService']=_0x5b7d16,this[_0x595b10(0x316)]=_0x1c1803,this[_0x595b10(0x403)]=_0x307508,this[_0x595b10(0x42a)]=_0x22f848,this[_0x595b10(0x269)]());}[_0x9c28c2(0x269)](){const _0x5c60a3=_0x9c28c2,_0x61480a=this[_0x5c60a3(0x278)]['unitId'],_0x162ccf=this[_0x5c60a3(0x432)];this['disposeWithMe'](_0x22b5a0[_0x5c60a3(0x1c8)]([this[_0x5c60a3(0x316)]['getCollabCursors$'](_0x61480a),this['_themeService']['currentTheme$']])['pipe'](_0x2ae022[_0x5c60a3(0x239)](([_0x3649e2,_0x1271f4])=>({'skeleton':_0x162ccf[_0x5c60a3(0x2c0)](),'cursors':[..._0x3649e2[_0x5c60a3(0x1dc)]()][_0x5c60a3(0x2e9)](_0x31cab8=>({..._0x31cab8,'color':this[_0x5c60a3(0x42a)][_0x5c60a3(0x303)](_0x31cab8[_0x5c60a3(0x36c)])}))})))[_0x5c60a3(0x3aa)](_0x55472b=>{const _0x351e5d=_0x5c60a3;if(this[_0x351e5d(0x260)](),_0x55472b){const {skeleton:_0x3742a3,cursors:_0x227189}=_0x55472b;this[_0x351e5d(0x2f4)](_0x3742a3,_0x227189);}})),this[_0x5c60a3(0x3b4)](),this['_initCommandExecutedListener']();}[_0x9c28c2(0x2f4)](_0x53d9dc,_0x1357ca){const _0xf6bab6=_0x9c28c2,{scene:_0x538331,mainComponent:_0x27a8e6}=this[_0xf6bab6(0x278)],_0x69c3c2=_0x1357ca[_0xf6bab6(0x239)](_0xe2dbdc=>new _0x36c1c7(_0xe2dbdc,_0x538331,_0x53d9dc,_0x27a8e6));this[_0xf6bab6(0x286)]=_0x69c3c2,this[_0xf6bab6(0x35d)]=_0x1357ca;}[_0x9c28c2(0x2e6)](){const _0x103b9c=_0x9c28c2;this[_0x103b9c(0x260)]();const {scene:_0x255320,mainComponent:_0x2fc20e}=this[_0x103b9c(0x278)],_0x195dcf=this[_0x103b9c(0x432)][_0x103b9c(0x2c0)](),_0x57a365=this[_0x103b9c(0x35d)][_0x103b9c(0x239)](_0x469459=>new _0x36c1c7(_0x469459,_0x255320,_0x195dcf,_0x2fc20e));this[_0x103b9c(0x286)]=_0x57a365;}['_removeCollabCursors'](){const _0x46fdf7=_0x9c28c2;this[_0x46fdf7(0x286)][_0x46fdf7(0x312)](_0x515857=>_0x515857[_0x46fdf7(0x420)]()),this[_0x46fdf7(0x286)]=[];}[_0x9c28c2(0x38d)](){const _0x985db=_0x9c28c2,_0x2c9337=[_0x30015e[_0x985db(0x414)]['id']];this[_0x985db(0x340)](this[_0x985db(0x403)]['onCommandExecuted'](_0xe82552=>{const _0x3ca65a=_0x985db;_0x2c9337[_0x3ca65a(0x3fe)](_0xe82552['id'])&&_0xe82552[_0x3ca65a(0x3a3)][_0x3ca65a(0x357)]===this['_context'][_0x3ca65a(0x357)]&&this['_refreshCollabCursors']();}));}[_0x9c28c2(0x3b4)](){const _0x16dbb2=_0x9c28c2;this[_0x16dbb2(0x340)](_0x43aff6['fromEventSubject'](this[_0x16dbb2(0x278)]['engine'][_0x16dbb2(0x3f3)])['pipe'](_0x2ae022[_0x16dbb2(0x369)](_0x1d65c6=>_0x1d65c6[_0x16dbb2(0x2f1)]===_0x359b8a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x16dbb2(0x29b)]),_0x2ae022[_0x16dbb2(0x433)](0x10))['subscribe'](()=>{const _0x22e078=_0x16dbb2;this[_0x22e078(0x2e6)]();}));}};_0x38436b=_0x143536([_0xe45c8e(0x1,_0x43aff6['Inject'](_0x4cf538['DocSkeletonManagerService'])),_0xe45c8e(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x5964c5)),_0xe45c8e(0x3,_0x43aff6[_0x9c28c2(0x39e)]),_0xe45c8e(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x1ec)]))],_0x38436b);const _0x5b5863=0x1,_0x587875=1.5;class _0x23980c extends _0x359b8a[_0x9c28c2(0x384)]{constructor(_0x5d625b,_0x18b050){const _0x46dd52=_0x9c28c2;super(_0x5d625b,_0x18b050),_0x433bc1(this,'_color'),_0x433bc1(this,_0x46dd52(0x24c),!0x1),_0x433bc1(this,_0x46dd52(0x37d)),_0x433bc1(this,_0x46dd52(0x266),''),_0x433bc1(this,_0x46dd52(0x2f2),_0x46dd52(0x3cc)),_0x433bc1(this,_0x46dd52(0x3c3)),(_0x18b050&&this[_0x46dd52(0x2ce)](_0x18b050),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x46dd52(0x2ce)]({'hovered':!0x0})),this[_0x46dd52(0x3e4)][_0x46dd52(0x3cd)](()=>this[_0x46dd52(0x2ce)]({'hovered':!0x1})));}[_0x9c28c2(0x2ce)](_0xddb82c){const _0x57d5a9=_0x9c28c2;var _0x266e05,_0x104f1e,_0x118b94,_0x3c7545,_0x5f7042,_0x1543fa;this[_0x57d5a9(0x36f)]=(_0x266e05=_0xddb82c[_0x57d5a9(0x36c)])!=null?_0x266e05:this[_0x57d5a9(0x36f)],this[_0x57d5a9(0x24c)]=(_0x104f1e=_0xddb82c[_0x57d5a9(0x3c8)])!=null?_0x104f1e:this[_0x57d5a9(0x24c)],this[_0x57d5a9(0x37d)]=(_0x118b94=_0xddb82c[_0x57d5a9(0x294)])!=null?_0x118b94:this[_0x57d5a9(0x37d)],this[_0x57d5a9(0x266)]=(_0x3c7545=_0xddb82c[_0x57d5a9(0x1d8)])!=null?_0x3c7545:this[_0x57d5a9(0x266)],this[_0x57d5a9(0x2f2)]=(_0x5f7042=_0xddb82c[_0x57d5a9(0x2a9)])!=null?_0x5f7042:this['_labelPosition'],this[_0x57d5a9(0x3c3)]=(_0x1543fa=_0xddb82c[_0x57d5a9(0x27f)])!=null?_0x1543fa:this[_0x57d5a9(0x3c3)],this[_0x57d5a9(0x418)]({'width':_0xddb82c['width'],'height':_0xddb82c['height']});}[_0x9c28c2(0x41f)](_0x25b84e){const _0x5fbadd=_0x9c28c2,{row:_0x35b4ce,column:_0x4e1490}=_0x25b84e;if(_0x35b4ce>=this[_0x5fbadd(0x37d)][_0x5fbadd(0x1e8)]&&_0x35b4ce<=this[_0x5fbadd(0x37d)]['endRow']&&_0x4e1490>=this[_0x5fbadd(0x37d)]['startColumn']&&_0x4e1490<=this[_0x5fbadd(0x37d)][_0x5fbadd(0x334)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5fbadd(0x2ce)]({'hovered':!0x1});}[_0x9c28c2(0x276)](_0x3e9cc4){return!0x1;}[_0x9c28c2(0x3c0)](_0x3a36ef){const _0x44e21b=_0x9c28c2;_0x359b8a['Rect'][_0x44e21b(0x383)](_0x3a36ef,{'width':this[_0x44e21b(0x3f5)],'height':this[_0x44e21b(0x273)],'strokeWidth':_0x587875,'stroke':this[_0x44e21b(0x36f)],'evented':!0x1,'fill':this[_0x44e21b(0x3c3)]}),this[_0x44e21b(0x24c)]&&(_0x3a36ef['save'](),_0x3a36ef[_0x44e21b(0x279)](0x1,0x0,0x0,0x1,this[_0x44e21b(0x3f5)],this['_labelPosition']===_0x44e21b(0x272)?0x0:-0x14),_0x2bf5cc[_0x44e21b(0x383)](_0x3a36ef,{'text':this['_name'],'color':this[_0x44e21b(0x36f)]}),_0x3a36ef['restore']());}}var _0x1c19fb=Object[_0x9c28c2(0x2fe)],_0x5910eb=(_0x13fa19,_0x8d18b0,_0x24b73a,_0xcedab3)=>{const _0x1d4aaa=_0x9c28c2;for(var _0x8f70de=_0xcedab3>0x1?void 0x0:_0xcedab3?_0x1c19fb(_0x8d18b0,_0x24b73a):_0x8d18b0,_0x3c9f5c=_0x13fa19[_0x1d4aaa(0x27b)]-0x1,_0x43020b;_0x3c9f5c>=0x0;_0x3c9f5c--)(_0x43020b=_0x13fa19[_0x3c9f5c])&&(_0x8f70de=_0x43020b(_0x8f70de)||_0x8f70de);return _0x8f70de;},_0x4e94e3=(_0x5e6cf4,_0x5d391c)=>(_0x3595f6,_0x2edec1)=>_0x5d391c(_0x3595f6,_0x2edec1,_0x5e6cf4);const _0x5426eb=0x1389;let _0x4140ee=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x292d82,_0x40825c,_0x1d623c,_0x3fec96){const _0x4b5ca6=_0x9c28c2;super(),_0x433bc1(this,_0x4b5ca6(0x35d),new Set()),_0x433bc1(this,_0x4b5ca6(0x1b9),null),(this['_context']=_0x292d82,this['_sheetSkeletonManagerService']=_0x40825c,this[_0x4b5ca6(0x316)]=_0x1d623c,this[_0x4b5ca6(0x42a)]=_0x3fec96,this[_0x4b5ca6(0x269)]());}['_init'](){const _0x23e6eb=_0x9c28c2;this[_0x23e6eb(0x42c)][_0x23e6eb(0x3c2)]['pipe'](_0x2ae022[_0x23e6eb(0x1f4)](this['dispose$']),_0x2ae022[_0x23e6eb(0x1b4)](_0x43b945=>{const _0x4ce357=_0x23e6eb;if(_0x43b945){const _0x58b7c7=_0x43b945[_0x4ce357(0x1bc)];return _0x22b5a0[_0x4ce357(0x1c8)](this[_0x4ce357(0x316)][_0x4ce357(0x3f6)](this['_context'][_0x4ce357(0x357)]),this[_0x4ce357(0x42a)][_0x4ce357(0x40e)])[_0x4ce357(0x353)](_0x2ae022[_0x4ce357(0x239)](([_0x3bc5e9,_0x310e01])=>{const _0x53a7c2=_0x4ce357,_0x40439f=new Map();return _0x3bc5e9[_0x53a7c2(0x312)]((_0x8f0458,_0x2787de)=>{const _0x47f590=_0x53a7c2;if(_0x8f0458['sheetID']===_0x58b7c7){const _0x58414f={..._0x8f0458};_0x58414f[_0x47f590(0x36c)]=this['_themeService'][_0x47f590(0x303)](_0x8f0458[_0x47f590(0x36c)]),_0x40439f['set'](_0x2787de,_0x58414f);}}),{'skeleton':_0x43b945,'cursors':_0x40439f};}));}return _0x22b5a0['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x35a663,cursors:_0x3ec5f2})=>{const _0x576b24=_0x23e6eb;this[_0x576b24(0x260)](),_0x35a663&&this[_0x576b24(0x2f4)](_0x35a663,_0x3ec5f2);}),this['_sheetSkeletonManagerService'][_0x23e6eb(0x3c2)][_0x23e6eb(0x3aa)](_0xd9fd4a=>{const _0x50b473=_0x23e6eb;if(_0xd9fd4a==null)return;const {skeleton:_0x945750}=_0xd9fd4a,{scene:_0x49591d}=this[_0x50b473(0x278)];_0x49591d[_0x50b473(0x328)][_0x50b473(0x3cd)](_0x43aff6['debounce'](_0x24178f=>{const _0xbcdd43=_0x50b473;var _0x107549,_0x38ff1d;const {offsetX:_0x58ca29,offsetY:_0x3e384b}=_0x24178f,{x:_0x35295d,y:_0x6644d6}=_0x49591d[_0xbcdd43(0x1ef)](_0x359b8a[_0xbcdd43(0x211)][_0xbcdd43(0x3a8)]([_0x58ca29,_0x3e384b])),{scaleX:_0x40b735,scaleY:_0x138823}=_0x49591d[_0xbcdd43(0x40f)](),_0x3e5dfd=_0x49591d['getViewport'](_0x359b8a[_0xbcdd43(0x34b)][_0xbcdd43(0x306)]),_0x868d65=_0x49591d[_0xbcdd43(0x1de)](_0x359b8a[_0xbcdd43(0x211)]['FromArray']([_0x35295d,_0x6644d6]),_0x3e5dfd),_0x5ba93e=_0x945750[_0xbcdd43(0x37a)](_0x58ca29,_0x3e384b,_0x40b735,_0x138823,_0x868d65);((_0x107549=this['_lastPointer'])==null?void 0x0:_0x107549[_0xbcdd43(0x212)])===_0x5ba93e['column']&&((_0x38ff1d=this['_lastPointer'])==null?void 0x0:_0x38ff1d['row'])===_0x5ba93e[_0xbcdd43(0x2b2)]||this[_0xbcdd43(0x35d)]['forEach'](_0x5ae042=>{const _0xb50459=_0xbcdd43;_0x5ae042[_0xb50459(0x41f)](_0x5ba93e);});},0x64));});}[_0x9c28c2(0x2f4)](_0x32fc9e,_0x1cccd3){const _0x2bce80=_0x9c28c2;var _0x417c2b;const _0xa48ffd=(_0x417c2b=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x417c2b[_0x2bce80(0x26a)];if(!_0xa48ffd)return;const _0x332167=this[_0x2bce80(0x348)]();if(!_0x332167)return;this['_cursors']['forEach'](_0x32f81f=>{const _0x176509=_0x2bce80;_0x32f81f[_0x176509(0x3f2)]();});const {scene:_0x2ef5bd}=_0x332167,_0x43e93e=_0x5517c9(Array[_0x2bce80(0x2b1)](_0x1cccd3[_0x2bce80(0x1dc)]()))[_0x2bce80(0x239)](_0x204617=>{const _0x38655a=_0x2bce80,{color:_0x30a7b7,range:_0x2e5ed1,name:_0x3cd542,selection:_0x22fecb,sheetID:_0x57d00b}=_0x204617,{startColumn:_0x1d3b3a,startRow:_0xd286fa,endColumn:_0x23c8f4,endRow:_0x498ee3}=_0x2e5ed1,_0x3af797=_0x2fd874['getCoordByCell'](_0xd286fa,_0x1d3b3a,_0x2ef5bd,_0xa48ffd),_0x284b8f=_0x2fd874[_0x38655a(0x41a)](_0x498ee3,_0x23c8f4,_0x2ef5bd,_0xa48ffd),{columnHeaderHeightAndMarginTop:_0x7b9ae6}=_0xa48ffd,{startX:_0x2518b6,startY:_0x5691bf}=_0x3af797,{endX:_0x4334b9,endY:_0x4e302f}=_0x284b8f,_0x583179=_0x4334b9-_0x2518b6,_0x174826=_0x4e302f-_0x5691bf,_0x5d0f70={'labelPosition':_0x5691bf-_0x7b9ae6>=_0x3d30e4?_0x38655a(0x3cc):_0x38655a(0x272),'sheetID':_0x57d00b,'range':_0x2e5ed1,'color':_0x30a7b7,'name':_0x3cd542,'selection':_0x22fecb,'left':_0x2518b6,'top':_0x5691bf,'width':_0x583179,'height':_0x174826,'evented':!0x1,'zIndex':_0x5426eb};return new _0x23980c(_0x3cd542,_0x5d0f70);});_0x2ef5bd[_0x2bce80(0x30b)](_0x43e93e,_0x5b5863),this[_0x2bce80(0x35d)]=new Set(_0x43e93e);}['_removeCollabCursors'](){const _0x42c572=_0x9c28c2;var _0x1b72ca;(_0x1b72ca=this[_0x42c572(0x35d)])==null||_0x1b72ca[_0x42c572(0x312)](_0x5d383a=>_0x5d383a['dispose']());}[_0x9c28c2(0x348)](){const _0x1add4a=_0x9c28c2;return _0x2fd874[_0x1add4a(0x327)](this[_0x1add4a(0x278)][_0x1add4a(0x282)],this['_context']);}};_0x4140ee=_0x5910eb([_0x4e94e3(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x2fd874['SheetSkeletonManagerService'])),_0x4e94e3(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x5964c5)),_0x4e94e3(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x1ec)]))],_0x4140ee);function _0x5517c9(_0x1a5052){const _0x1906ef=_0x9c28c2,_0x52b542=new Map();return _0x1a5052[_0x1906ef(0x312)](_0x1b0464=>{const _0x25178a=_0x1906ef;if(_0x52b542['has'](_0x1b0464[_0x25178a(0x28b)])){const _0x340a91=_0x52b542[_0x25178a(0x326)](_0x1b0464['selection']);_0x340a91['name']+=',\x20'+_0x1b0464['name'];}else _0x52b542[_0x25178a(0x289)](_0x1b0464[_0x25178a(0x28b)],_0x1b0464);}),Array[_0x1906ef(0x2b1)](_0x52b542[_0x1906ef(0x1dc)]());}var _0x43804a=function(){const _0x2ecd6a=_0x9c28c2;return _0x43804a=Object['assign']||function(_0x16f24a){const _0x1ce47d=_0x2330;for(var _0x4f823e,_0x295673=0x1,_0x1957cf=arguments[_0x1ce47d(0x27b)];_0x295673<_0x1957cf;_0x295673++){_0x4f823e=arguments[_0x295673];for(var _0x4ffdb3 in _0x4f823e)Object[_0x1ce47d(0x41b)][_0x1ce47d(0x1ea)][_0x1ce47d(0x33d)](_0x4f823e,_0x4ffdb3)&&(_0x16f24a[_0x4ffdb3]=_0x4f823e[_0x4ffdb3]);}return _0x16f24a;},_0x43804a[_0x2ecd6a(0x40c)](this,arguments);},_0x7e159=function(_0x385608,_0x11454f){const _0x4c1aa3=_0x9c28c2;var _0x212976={};for(var _0xf1cba3 in _0x385608)Object[_0x4c1aa3(0x41b)][_0x4c1aa3(0x1ea)][_0x4c1aa3(0x33d)](_0x385608,_0xf1cba3)&&_0x11454f['indexOf'](_0xf1cba3)<0x0&&(_0x212976[_0xf1cba3]=_0x385608[_0xf1cba3]);if(_0x385608!=null&&typeof Object[_0x4c1aa3(0x26d)]==_0x4c1aa3(0x380)){for(var _0x13e485=0x0,_0xf1cba3=Object[_0x4c1aa3(0x26d)](_0x385608);_0x13e485<_0xf1cba3[_0x4c1aa3(0x27b)];_0x13e485++)_0x11454f[_0x4c1aa3(0x261)](_0xf1cba3[_0x13e485])<0x0&&Object[_0x4c1aa3(0x41b)][_0x4c1aa3(0x310)][_0x4c1aa3(0x33d)](_0x385608,_0xf1cba3[_0x13e485])&&(_0x212976[_0xf1cba3[_0x13e485]]=_0x385608[_0xf1cba3[_0x13e485]]);}return _0x212976;},_0x45e5d4=_0x3f9355[_0x9c28c2(0x20f)](function(_0x781012,_0x4f61a5){const _0x3eb1b8=_0x9c28c2;var _0x4226ad=_0x781012[_0x3eb1b8(0x1f8)],_0xbee2bd=_0x781012['id'],_0x1d5dc2=_0x781012[_0x3eb1b8(0x223)],_0x30a098=_0x781012[_0x3eb1b8(0x2e4)],_0x1c31fd=_0x7e159(_0x781012,[_0x3eb1b8(0x1f8),'id',_0x3eb1b8(0x223),_0x3eb1b8(0x2e4)]),_0x2d2c9d='univerjs-icon\x20univerjs-icon-'[_0x3eb1b8(0x34f)](_0xbee2bd,'\x20')['concat'](_0x1d5dc2||'')[_0x3eb1b8(0x29a)](),_0x575498=_0x3f9355[_0x3eb1b8(0x1b3)]('_'[_0x3eb1b8(0x34f)](_0x316386()));return _0xe1d57d(_0x4226ad,''['concat'](_0xbee2bd),{'defIds':_0x4226ad[_0x3eb1b8(0x3ab)],'idSuffix':_0x575498['current']},_0x43804a({'ref':_0x4f61a5,'className':_0x2d2c9d},_0x1c31fd),_0x30a098);});function _0xe1d57d(_0xec417,_0x1a8488,_0x5ddc6a,_0x1e739f,_0x499825){const _0x1d78c5=_0x9c28c2;return _0x3f9355[_0x1d78c5(0x227)](_0xec417[_0x1d78c5(0x1f2)],_0x43804a(_0x43804a({'key':_0x1a8488},_0x2d38c9(_0xec417,_0x5ddc6a,_0x499825)),_0x1e739f),(_0x447858(_0xec417,_0x5ddc6a)[_0x1d78c5(0x3af)]||[])[_0x1d78c5(0x239)](function(_0x3ed18d,_0x12d10b){const _0x26984a=_0x1d78c5;return _0xe1d57d(_0x3ed18d,''[_0x26984a(0x34f)](_0x1a8488,'-')[_0x26984a(0x34f)](_0xec417[_0x26984a(0x1f2)],'-')[_0x26984a(0x34f)](_0x12d10b),_0x5ddc6a,void 0x0,_0x499825);}));}function _0x2d38c9(_0x5c25a4,_0x4209e1,_0x1370e7){const _0x2babc9=_0x9c28c2;var _0x3b0e4a=_0x43804a({},_0x5c25a4[_0x2babc9(0x204)]);_0x1370e7!=null&&_0x1370e7[_0x2babc9(0x237)]&&_0x3b0e4a[_0x2babc9(0x27d)]===_0x2babc9(0x237)&&(_0x3b0e4a[_0x2babc9(0x27d)]=_0x1370e7[_0x2babc9(0x237)]),_0x5c25a4[_0x2babc9(0x1f2)]===_0x2babc9(0x322)&&_0x3b0e4a['id']&&(_0x3b0e4a['id']=_0x3b0e4a['id']+_0x4209e1['idSuffix']),Object[_0x2babc9(0x299)](_0x3b0e4a)[_0x2babc9(0x312)](function(_0x2a7827){const _0x5c4ce0=_0x2babc9;var _0x25259e=_0x2a7827[0x0],_0x33af65=_0x2a7827[0x1];_0x25259e===_0x5c4ce0(0x322)&&typeof _0x33af65==_0x5c4ce0(0x3c6)&&(_0x3b0e4a[_0x25259e]=_0x33af65['replace'](/url\(#(.*)\)/,_0x5c4ce0(0x201)[_0x5c4ce0(0x34f)](_0x4209e1[_0x5c4ce0(0x283)],')')));});var _0x16de9=_0x4209e1[_0x2babc9(0x3ab)];return!_0x16de9||_0x16de9['length']===0x0||(_0x5c25a4[_0x2babc9(0x1f2)]===_0x2babc9(0x2a2)&&_0x3b0e4a[_0x2babc9(0x2c5)]&&(_0x3b0e4a['xlink:href']=_0x3b0e4a[_0x2babc9(0x2c5)]+_0x4209e1[_0x2babc9(0x283)]),Object[_0x2babc9(0x299)](_0x3b0e4a)[_0x2babc9(0x312)](function(_0x13715b){const _0x42440b=_0x2babc9;var _0x14f4d1=_0x13715b[0x0],_0x30a4fd=_0x13715b[0x1];typeof _0x30a4fd==_0x42440b(0x3c6)&&(_0x3b0e4a[_0x14f4d1]=_0x30a4fd['replace'](/url\(#(.*)\)/,_0x42440b(0x201)[_0x42440b(0x34f)](_0x4209e1[_0x42440b(0x283)],')')));})),_0x3b0e4a;}function _0x447858(_0x3da66d,_0x2442bf){const _0x575bbd=_0x9c28c2;var _0x301f9d,_0x4ca534=_0x2442bf[_0x575bbd(0x3ab)];return!_0x4ca534||_0x4ca534[_0x575bbd(0x27b)]===0x0?_0x3da66d:_0x3da66d[_0x575bbd(0x1f2)]==='defs'&&(!((_0x301f9d=_0x3da66d[_0x575bbd(0x3af)])===null||_0x301f9d===void 0x0)&&_0x301f9d[_0x575bbd(0x27b)])?_0x43804a(_0x43804a({},_0x3da66d),{'children':_0x3da66d[_0x575bbd(0x3af)]['map'](function(_0x3d895c){const _0x46f6d3=_0x575bbd;return typeof _0x3d895c[_0x46f6d3(0x204)]['id']=='string'&&_0x4ca534&&_0x4ca534[_0x46f6d3(0x3fe)](_0x3d895c[_0x46f6d3(0x204)]['id'])?_0x43804a(_0x43804a({},_0x3d895c),{'attrs':_0x43804a(_0x43804a({},_0x3d895c[_0x46f6d3(0x204)]),{'id':_0x3d895c['attrs']['id']+_0x2442bf[_0x46f6d3(0x283)]})}):_0x3d895c;})}):_0x3da66d;}function _0x316386(){const _0x11a7c5=_0x9c28c2;return Math[_0x11a7c5(0x213)]()[_0x11a7c5(0x31b)](0x24)['substring'](0x2,0x8);}_0x45e5d4[_0x9c28c2(0x26e)]='UniverIcon';var _0x4c056a={'tag':_0x9c28c2(0x22a),'attrs':{'xmlns':_0x9c28c2(0x2a8),'fill':_0x9c28c2(0x1e7),'viewBox':_0x9c28c2(0x28f),'width':'1em','height':_0x9c28c2(0x3ad)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x9c28c2(0x1e6),'attrs':{'stroke':_0x9c28c2(0x363),'d':_0x9c28c2(0x30e),'strokeLinecap':_0x9c28c2(0x2e3),'strokeLinejoin':_0x9c28c2(0x2e3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x9c28c2(0x296),'attrs':{'id':_0x9c28c2(0x220)},'children':[{'tag':_0x9c28c2(0x1e6),'attrs':{'fill':'white','d':_0x9c28c2(0x32b)}}]}]}],'defIds':[_0x9c28c2(0x220)]},_0x40925d=_0x3f9355[_0x9c28c2(0x20f)](function(_0x1a3704,_0x5c9795){const _0x539790=_0x9c28c2;return _0x3f9355[_0x539790(0x227)](_0x45e5d4,Object[_0x539790(0x2fc)]({},_0x1a3704,{'id':_0x539790(0x28e),'ref':_0x5c9795,'icon':_0x4c056a}));});_0x40925d['displayName']=_0x9c28c2(0x1e9);var _0x31a807={'tag':_0x9c28c2(0x22a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x9c28c2(0x3ad),'height':_0x9c28c2(0x3ad)},'children':[{'tag':'g','attrs':{'clipPath':_0x9c28c2(0x356)},'children':[{'tag':'path','attrs':{'stroke':_0x9c28c2(0x363),'d':_0x9c28c2(0x317),'strokeLinecap':_0x9c28c2(0x2e3),'strokeLinejoin':_0x9c28c2(0x2e3),'strokeWidth':1.2}}]},{'tag':_0x9c28c2(0x41e),'attrs':{},'children':[{'tag':_0x9c28c2(0x296),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x9c28c2(0x1e6),'attrs':{'fill':_0x9c28c2(0x1aa),'d':_0x9c28c2(0x32b),'transform':_0x9c28c2(0x1f3)}}]}]}],'defIds':[_0x9c28c2(0x21b)]},_0x281cd1=_0x3f9355[_0x9c28c2(0x20f)](function(_0x5d12c3,_0x10951b){const _0x19ebd1=_0x9c28c2;return _0x3f9355['createElement'](_0x45e5d4,Object['assign']({},_0x5d12c3,{'id':_0x19ebd1(0x43a),'ref':_0x10951b,'icon':_0x31a807}));});_0x281cd1[_0x9c28c2(0x26e)]=_0x9c28c2(0x270);function _0x583807(_0x3f6c12){const _0x3cd9c1=_0x9c28c2;switch(_0x3f6c12){case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x22f)]:return'collabStatus.offline';case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x2a0)]:return _0x3cd9c1(0x200);case _0x3c1823[_0x3cd9c1(0x229)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x2ba)]:return _0x3cd9c1(0x232);case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x30f)]:case _0x3c1823[_0x3cd9c1(0x229)]['AWAITING_WITH_PENDING']:return _0x3cd9c1(0x1d0);case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x338)]:case _0x3c1823['CollaborationStatus'][_0x3cd9c1(0x2c6)]:return'collabStatus.synced';}}function _0x2a41e7(_0x1d4889){const _0x5a0933=_0x9c28c2,{status$:_0x12b39a}=_0x1d4889,_0x311231=_0x4c8790[_0x5a0933(0x304)](_0x12b39a,_0x3c1823[_0x5a0933(0x229)][_0x5a0933(0x2ba)]),_0x18e824=_0x4c8790[_0x5a0933(0x2f5)](_0x43aff6[_0x5a0933(0x3dd)]),_0x28707d=_0x4c8790[_0x5a0933(0x2f5)](_0x3c1823[_0x5a0933(0x242)]),_0x1f7c2f=_0x311231!==_0x3c1823['CollaborationStatus'][_0x5a0933(0x22f)],_0x2f2331=_0x18e824['t'](_0x583807(_0x311231)),_0x59dbd6=_0x1f7c2f?_0x4b9546[_0x5a0933(0x1b5)](_0x281cd1,{}):_0x4b9546[_0x5a0933(0x1b5)](_0x40925d,{}),_0x38e99d=_0x3f9355[_0x5a0933(0x408)](()=>{const _0x45f537=_0x5a0933;_0x1f7c2f||_0x28707d[_0x45f537(0x43d)]();},[_0x1f7c2f,_0x28707d]);function _0x2b58d9(){const _0x8153d0=_0x5a0933;return _0x4b9546['jsxs']('div',{'className':_0x8153d0(0x431),'onClick':_0x38e99d,'children':[_0x4b9546[_0x8153d0(0x1b5)]('div',{'className':_0x2cb33e['clsx'](_0x8153d0(0x1bb),{'univer-text-green-500':_0x1f7c2f,'univer-text-red-500':!_0x1f7c2f}),'children':_0x59dbd6}),_0x4b9546['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2f2331})]});}return _0x1f7c2f?_0x2b58d9():_0x4b9546[_0x5a0933(0x1b5)](_0x2cb33e[_0x5a0933(0x2db)],{'title':_0x18e824['t'](_0x5a0933(0x37c)),'children':_0x2b58d9()});}var _0x3727f4=Object[_0x9c28c2(0x2fe)],_0x10e439=(_0x498fde,_0xfe3f9f,_0x1b55e9,_0x33564a)=>{const _0x5f3bc3=_0x9c28c2;for(var _0x5d28f2=_0x33564a>0x1?void 0x0:_0x33564a?_0x3727f4(_0xfe3f9f,_0x1b55e9):_0xfe3f9f,_0x4eaee0=_0x498fde[_0x5f3bc3(0x27b)]-0x1,_0x3806da;_0x4eaee0>=0x0;_0x4eaee0--)(_0x3806da=_0x498fde[_0x4eaee0])&&(_0x5d28f2=_0x3806da(_0x5d28f2)||_0x5d28f2);return _0x5d28f2;},_0x25118b=(_0x558355,_0x119948)=>(_0x432620,_0x4d70bf)=>_0x119948(_0x432620,_0x4d70bf,_0x558355);_0x46a004['DesktopCollaborationStatusDisplayController']=class extends _0x43aff6[_0x9c28c2(0x253)]{constructor(_0xb3cf91,_0x17f45d,_0xc6fb63,_0x45f344){const _0x1182bf=_0x9c28c2;super(),_0x433bc1(this,_0x1182bf(0x224),new _0x22b5a0['BehaviorSubject'](_0x3c1823[_0x1182bf(0x229)][_0x1182bf(0x2ba)])),(this[_0x1182bf(0x2b0)]=_0xb3cf91,this[_0x1182bf(0x3a0)]=_0x17f45d,this[_0x1182bf(0x407)]=_0xc6fb63,this['_uiPartsService']=_0x45f344,this[_0x1182bf(0x1bd)](),this['_initStatusListener']());}[_0x9c28c2(0x27c)](){const _0x1097ce=_0x9c28c2;this[_0x1097ce(0x340)](this[_0x1097ce(0x2b0)][_0x1097ce(0x1db)]['pipe'](_0x22b5a0[_0x1097ce(0x1b4)](()=>{const _0x3cb285=_0x1097ce,_0x1e8296=this[_0x3cb285(0x2b0)]['getFocusedUnit']();return _0x1e8296?this['_collaborationController'][_0x3cb285(0x262)](_0x1e8296[_0x3cb285(0x318)]()):_0x22b5a0['of'](null);}),_0x22b5a0[_0x1097ce(0x1b4)](_0x2cea83=>_0x2cea83?_0x2cea83['status$']:_0x22b5a0['of'](_0x3c1823[_0x1097ce(0x229)][_0x1097ce(0x2ba)])))[_0x1097ce(0x3aa)](_0x35ac84=>{this['_status$']['next'](_0x35ac84);}));}[_0x9c28c2(0x1bd)](){const _0x446654=_0x9c28c2;this[_0x446654(0x340)](this[_0x446654(0x247)]['registerComponent'](_0x4c8790[_0x446654(0x404)]['HEADER_MENU'],()=>_0x4c8790[_0x446654(0x3d7)](_0x33c103({'status$':this[_0x446654(0x224)]['asObservable']()}),this[_0x446654(0x3a0)])));}},_0x46a004[_0x9c28c2(0x436)]=_0x10e439([_0x25118b(0x0,_0x43aff6[_0x9c28c2(0x3bb)]),_0x25118b(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x25118b(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x295)])),_0x25118b(0x3,_0x4c8790[_0x9c28c2(0x373)])],_0x46a004[_0x9c28c2(0x436)]);function _0x33c103(_0xf02584){const {status$:_0x287889}=_0xf02584;return function(){const _0x45029c=_0x2330;return _0x4b9546[_0x45029c(0x1b5)](_0x2a41e7,{'status$':_0x287889});};}var _0xbffde=Object['getOwnPropertyDescriptor'],_0x30652c=(_0x3e7aa2,_0x264e0e,_0x31bd7d,_0x2be6cd)=>{const _0x46314e=_0x9c28c2;for(var _0x52835e=_0x2be6cd>0x1?void 0x0:_0x2be6cd?_0xbffde(_0x264e0e,_0x31bd7d):_0x264e0e,_0x5a4dae=_0x3e7aa2[_0x46314e(0x27b)]-0x1,_0x2553cc;_0x5a4dae>=0x0;_0x5a4dae--)(_0x2553cc=_0x3e7aa2[_0x5a4dae])&&(_0x52835e=_0x2553cc(_0x52835e)||_0x52835e);return _0x52835e;},_0x1fda57=(_0x451b36,_0x66390e)=>(_0x5778a4,_0x545310)=>_0x66390e(_0x5778a4,_0x545310,_0x451b36);let _0x275ade=class extends _0x43aff6['Disposable']{constructor(_0x3c1105,_0x3886c6,_0xe8ba50,_0x331297,_0x3207bb,_0x4bbd2a){const _0xf79b8a=_0x9c28c2;super(),this['_beforeCloseService']=_0x3c1105,this['_localCacheService']=_0x3886c6,this[_0xf79b8a(0x38a)]=_0xe8ba50,this[_0xf79b8a(0x21c)]=_0x331297,this[_0xf79b8a(0x440)]=_0x3207bb,this[_0xf79b8a(0x3e8)]=_0x4bbd2a,this[_0xf79b8a(0x2dd)](),this[_0xf79b8a(0x1a9)]();}[_0x9c28c2(0x2dd)](){const _0x17a8dd=_0x9c28c2;this[_0x17a8dd(0x340)](this[_0x17a8dd(0x1c9)][_0x17a8dd(0x41c)](()=>{const _0xdc8801=_0x17a8dd;if(this['_localCacheService'][_0xdc8801(0x3f8)][_0xdc8801(0x1b7)])return this[_0xdc8801(0x3e8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x9c28c2(0x1a9)](){const _0x59ce39=_0x9c28c2;this[_0x59ce39(0x340)](this[_0x59ce39(0x38a)][_0x59ce39(0x249)][_0x59ce39(0x3aa)](_0x588ff9=>{const _0x37f01b=_0x59ce39;_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x1d5)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e[_0x37f01b(0x2b5)][_0x37f01b(0x1ce)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x22c))}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)]['CLOSE_ROOM']&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x1ce)],'content':this[_0x37f01b(0x3e8)]['t']('collaboration.closeRoom')}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x2ff)]&&this['_notificationService'][_0x37f01b(0x324)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x37f01b(0x22b)),'type':'error','duration':0x0}),_0x588ff9['id']===_0x3c1823['CollaborationUIEventId'][_0x37f01b(0x2a0)]&&this['_messageService'][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x291)],'content':this['_localeService']['t'](_0x37f01b(0x394))+'('+_0x588ff9[_0x37f01b(0x2be)]+')'}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x250)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x1ce)],'content':this['_localeService']['t'](_0x588ff9['data']||'')}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x1ac)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x1ce)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x3c7))}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x36a)]&&this['_messageService'][_0x37f01b(0x324)]({'type':_0x2cb33e[_0x37f01b(0x2b5)][_0x37f01b(0x291)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x3cb))}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x371)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e[_0x37f01b(0x2b5)][_0x37f01b(0x291)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x243))});}));}};_0x275ade=_0x30652c([_0x1fda57(0x0,_0x4c8790['IBeforeCloseService']),_0x1fda57(0x1,_0x3c1823[_0x9c28c2(0x42e)]),_0x1fda57(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x42b)])),_0x1fda57(0x3,_0x4c8790[_0x9c28c2(0x2e7)]),_0x1fda57(0x4,_0x4c8790['INotificationService']),_0x1fda57(0x5,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6['LocaleService']))],_0x275ade);const _0x198fa4=_0x9c28c2(0x435),_0x5b91b5={},_0x151449=_0x43aff6[_0x9c28c2(0x2e0)](_0x9c28c2(0x3a6));var _0x18da72=Object['getOwnPropertyDescriptor'],_0x1c1794=(_0x5a1f6c,_0x261f69,_0x41426b,_0x5a290e)=>{const _0x57a187=_0x9c28c2;for(var _0x554881=_0x5a290e>0x1?void 0x0:_0x5a290e?_0x18da72(_0x261f69,_0x41426b):_0x261f69,_0x3672f3=_0x5a1f6c[_0x57a187(0x27b)]-0x1,_0x5a1547;_0x3672f3>=0x0;_0x3672f3--)(_0x5a1547=_0x5a1f6c[_0x3672f3])&&(_0x554881=_0x5a1547(_0x554881)||_0x554881);return _0x554881;},_0xee547f=(_0x1b0684,_0x31b1f8)=>(_0x1c9a83,_0x40effa)=>_0x31b1f8(_0x1c9a83,_0x40effa,_0x1b0684);_0x46a004[_0x9c28c2(0x2ab)]=class extends _0x43aff6['RxDisposable']{constructor(_0x376ea4,_0x166a72,_0x38361d,_0xc7c0d7,_0x30ef7f){const _0x154201=_0x9c28c2;super(),this[_0x154201(0x2f8)]=_0x376ea4,this['_logService']=_0x166a72,this[_0x154201(0x403)]=_0x38361d,this[_0x154201(0x2cf)]=_0xc7c0d7,_0x30ef7f?_0x30ef7f==null||_0x30ef7f[_0x154201(0x439)]()[_0x154201(0x2a7)](()=>this[_0x154201(0x269)]()):(this[_0x154201(0x20d)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x154201(0x269)]());}async[_0x9c28c2(0x269)](){const _0x57ea30=_0x9c28c2,_0x5359a7=this[_0x57ea30(0x2f8)][_0x57ea30(0x382)](_0x57ea30(0x282)),_0x39b25f=this[_0x57ea30(0x2f8)][_0x57ea30(0x382)](_0x57ea30(0x2f1)),_0x1832c4=this[_0x57ea30(0x2f8)][_0x57ea30(0x382)]('subunit');if(!_0x5359a7||!_0x39b25f){this[_0x57ea30(0x20d)][_0x57ea30(0x24e)](_0x57ea30(0x2f6),_0x57ea30(0x259));return;}const _0x26739a=await this[_0x57ea30(0x2cf)][_0x57ea30(0x290)](_0x5359a7,Number(_0x39b25f),_0x1832c4);_0x26739a&&_0x26739a instanceof _0x43aff6[_0x57ea30(0x43e)]&&this[_0x57ea30(0x2d9)](_0x26739a);}async['_setupSubUnitSync'](_0x349685){const _0x4abad3=_0x9c28c2;await this[_0x4abad3(0x325)](_0x349685),_0x349685[_0x4abad3(0x444)][_0x4abad3(0x353)](_0x22b5a0[_0x4abad3(0x1f4)](this[_0x4abad3(0x36b)]))['subscribe'](_0x1dcd11=>{const _0x15535f=_0x4abad3;_0x1dcd11&&this[_0x15535f(0x27e)](_0x1dcd11);}),this[_0x4abad3(0x2f8)]['urlChange$'][_0x4abad3(0x353)](_0x22b5a0[_0x4abad3(0x1f4)](this[_0x4abad3(0x36b)]))['subscribe'](()=>this[_0x4abad3(0x325)](_0x349685));}['_updateURLWithCurrentState'](_0x3d62bb,_0x290114=!0x1){const _0x23aecd=_0x9c28c2,_0x516bdf=this[_0x23aecd(0x2f8)]['getParam'](_0x23aecd(0x292));_0x3d62bb[_0x23aecd(0x385)]()!==_0x516bdf&&this[_0x23aecd(0x2f8)][_0x23aecd(0x3e6)](_0x23aecd(0x292),_0x3d62bb[_0x23aecd(0x385)](),_0x290114);}async['_updateSubUnitFromURLParams'](_0x4d9674){const _0x3d36e7=_0x9c28c2;var _0x10974;const _0x5104cb=this[_0x3d36e7(0x2f8)][_0x3d36e7(0x382)](_0x3d36e7(0x292));if(!_0x5104cb||!_0x4d9674[_0x3d36e7(0x37f)](_0x5104cb)){const _0x3ed256=_0x4d9674[_0x3d36e7(0x30d)]()[0x0],_0x2860e4=_0x4d9674[_0x3d36e7(0x37f)](_0x3ed256);if(!_0x2860e4)return;this[_0x3d36e7(0x27e)](_0x2860e4,!0x0),await this[_0x3d36e7(0x403)][_0x3d36e7(0x339)](_0x27c450[_0x3d36e7(0x1cd)]['id'],{'unitId':_0x4d9674[_0x3d36e7(0x318)](),'subUnitId':_0x3ed256});return;}((_0x10974=_0x4d9674['getActiveSheet']())==null?void 0x0:_0x10974[_0x3d36e7(0x385)]())!==_0x5104cb&&await this[_0x3d36e7(0x403)][_0x3d36e7(0x339)](_0x27c450[_0x3d36e7(0x1cd)]['id'],{'unitId':_0x4d9674[_0x3d36e7(0x318)](),'subUnitId':_0x5104cb});}},_0x46a004[_0x9c28c2(0x2ab)]=_0x1c1794([_0xee547f(0x0,_0x151449),_0xee547f(0x1,_0x43aff6[_0x9c28c2(0x1df)]),_0xee547f(0x2,_0x43aff6[_0x9c28c2(0x39e)]),_0xee547f(0x3,_0x43aff6['Inject'](_0x3c1823[_0x9c28c2(0x34e)])),_0xee547f(0x4,_0x43aff6[_0x9c28c2(0x29d)](_0x25bb97[_0x9c28c2(0x38b)]))],_0x46a004[_0x9c28c2(0x2ab)]);var _0x1ed656=Object[_0x9c28c2(0x2fe)],_0x465416=(_0x2e652f,_0x38f241,_0x2d56bd,_0x2bc6a8)=>{const _0x301e8b=_0x9c28c2;for(var _0x41dfab=_0x2bc6a8>0x1?void 0x0:_0x2bc6a8?_0x1ed656(_0x38f241,_0x2d56bd):_0x38f241,_0xb7e83c=_0x2e652f[_0x301e8b(0x27b)]-0x1,_0xf3b058;_0xb7e83c>=0x0;_0xb7e83c--)(_0xf3b058=_0x2e652f[_0xb7e83c])&&(_0x41dfab=_0xf3b058(_0x41dfab)||_0x41dfab);return _0x41dfab;},_0x5466bb=(_0x5db760,_0x21eabe)=>(_0x1c67e1,_0x3b0e0b)=>_0x21eabe(_0x1c67e1,_0x3b0e0b,_0x5db760);let _0x47c295=class{constructor(_0x54d47e,_0x3a24dc,_0xc5bb27){const _0x53b189=_0x9c28c2;this['_injector']=_0x54d47e,this[_0x53b189(0x2ca)]=_0x3a24dc,this[_0x53b189(0x3da)]=_0xc5bb27;}[_0x9c28c2(0x235)](_0x3e85f5){const _0x24efac=_0x9c28c2;this[_0x24efac(0x3c4)](_0x3e85f5),this['_transformPreviousActiveRange'](_0x3e85f5);}[_0x9c28c2(0x346)](_0x4fba83){const _0xd8ebf4=_0x9c28c2,{unitID:_0x154c97}=_0x4fba83,_0x39877b=this[_0xd8ebf4(0x3da)][_0xd8ebf4(0x1b6)](_0x154c97)[_0xd8ebf4(0x246)](_0x30015e['DocIMEInputManagerService']),{redoCache:_0x47e65d}=_0x39877b[_0xd8ebf4(0x206)]();if(_0x47e65d['length']===0x0)return _0x4fba83;let _0x498003=_0x43aff6[_0xd8ebf4(0x219)][_0xd8ebf4(0x21d)](_0x4fba83[_0xd8ebf4(0x2eb)][0x0]);for(let _0x28989d=0x0;_0x28989d<_0x47e65d[_0xd8ebf4(0x27b)];_0x28989d++){const _0x14afcb={'id':_0xd8ebf4(0x2e1),'params':{..._0x47e65d[_0x28989d]}},_0x5dcea9=this[_0xd8ebf4(0x2ca)][_0xd8ebf4(0x337)](_0x498003,_0x14afcb,!0x1);if(_0xb9294[_0xd8ebf4(0x3a7)](_0x5dcea9))throw _0x5dcea9[_0xd8ebf4(0x3a5)];_0x498003=_0x5dcea9['m1Prime'];}return{..._0x43aff6[_0xd8ebf4(0x219)][_0xd8ebf4(0x21d)](_0x4fba83),'mutations':[_0x498003]};}['_transformUndoRedoStack'](_0x326f89){const _0x473ad1=_0x9c28c2,{unitID:_0x3f5d0b}=_0x326f89,_0x1a7a31=this[_0x473ad1(0x3da)][_0x473ad1(0x1b6)](_0x3f5d0b)[_0x473ad1(0x246)](_0x30015e[_0x473ad1(0x3ea)]),{undoCache:_0x24df48,redoCache:_0x58d194}=_0x1a7a31['getUndoRedoMutationParamsCache']();if(_0x24df48[_0x473ad1(0x27b)]===0x0||_0x58d194['length']===0x0)return;const _0x5c8eb1=[],_0x3ca545=[];let _0x59d093=_0x43aff6[_0x473ad1(0x219)][_0x473ad1(0x21d)](_0x326f89['mutations'][0x0]),_0xabb958=_0x43aff6[_0x473ad1(0x219)][_0x473ad1(0x21d)](_0x326f89[_0x473ad1(0x2eb)][0x0]);for(let _0x5c3d5b=_0x24df48[_0x473ad1(0x27b)]-0x1;_0x5c3d5b>=0x0;_0x5c3d5b--){const _0x4470c9={'id':'doc.mutation.rich-text-editing','params':{..._0x24df48[_0x5c3d5b]}},_0x1d9bec={'id':_0x473ad1(0x2e1),'params':{..._0x58d194[_0x5c3d5b]}},_0x2ab86c=this[_0x473ad1(0x2ca)][_0x473ad1(0x337)](_0x59d093,_0x4470c9,!0x1),_0x2ada62=this['_transformService'][_0x473ad1(0x337)](_0xabb958,_0x1d9bec,!0x1);if(_0xb9294[_0x473ad1(0x3a7)](_0x2ab86c))throw _0x2ab86c[_0x473ad1(0x3a5)];if(_0xb9294[_0x473ad1(0x3a7)](_0x2ada62))throw _0x2ada62[_0x473ad1(0x3a5)];_0x5c8eb1[_0x473ad1(0x2b6)](_0x2ab86c[_0x473ad1(0x398)][_0x473ad1(0x3a3)]),_0x3ca545[_0x473ad1(0x2b6)](_0x2ada62[_0x473ad1(0x398)][_0x473ad1(0x3a3)]),_0x59d093=_0x2ab86c[_0x473ad1(0x3dc)],_0xabb958=_0x2ada62[_0x473ad1(0x3dc)];}_0x1a7a31[_0x473ad1(0x1e0)]({'undoCache':_0x5c8eb1,'redoCache':_0x3ca545});}[_0x9c28c2(0x417)](_0x29db98){const _0x5f09a0=_0x9c28c2,{unitID:_0x3b12ae}=_0x29db98,_0x416614=this[_0x5f09a0(0x3da)][_0x5f09a0(0x1b6)](_0x3b12ae)[_0x5f09a0(0x246)](_0x30015e[_0x5f09a0(0x3ea)]),_0x3d2020=_0x416614[_0x5f09a0(0x2bd)]();if(_0x3d2020==null)return;const _0x23ee61=[{'id':_0x5f09a0(0x2e1),'params':{'unitId':_0x29db98[_0x5f09a0(0x23d)],'actions':null,'textRanges':[_0x3d2020]}}],_0x552712=this[_0x5f09a0(0x2ca)][_0x5f09a0(0x3a9)](_0x29db98,_0x23ee61);if(!_0xb9294[_0x5f09a0(0x33a)](_0x552712))throw _0x552712['error'];const _0x116ea6=_0x552712[_0x5f09a0(0x398)][0x0][_0x5f09a0(0x3a3)][_0x5f09a0(0x1dd)];Array[_0x5f09a0(0x443)](_0x116ea6)&&_0x116ea6[_0x5f09a0(0x27b)]&&_0x416614['setActiveRange'](_0x116ea6[0x0]);}};_0x47c295=_0x465416([_0x5466bb(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6['Injector'])),_0x5466bb(0x1,_0xb9294[_0x9c28c2(0x3b5)]),_0x5466bb(0x2,_0x359b8a[_0x9c28c2(0x355)])],_0x47c295);var _0x48ca7e=Object[_0x9c28c2(0x2fe)],_0x78a29f=(_0x52f593,_0x461084,_0x50c579,_0x214e8d)=>{const _0x380172=_0x9c28c2;for(var _0x5f8f59=_0x214e8d>0x1?void 0x0:_0x214e8d?_0x48ca7e(_0x461084,_0x50c579):_0x461084,_0x1c0e7f=_0x52f593[_0x380172(0x27b)]-0x1,_0x130ab9;_0x1c0e7f>=0x0;_0x1c0e7f--)(_0x130ab9=_0x52f593[_0x1c0e7f])&&(_0x5f8f59=_0x130ab9(_0x5f8f59)||_0x5f8f59);return _0x5f8f59;},_0x3a671b=(_0x1cf570,_0xf22c64)=>(_0xe74bc8,_0x5bea15)=>_0xf22c64(_0xe74bc8,_0x5bea15,_0x1cf570);let _0x40659a=class{constructor(_0x17097a,_0x53a009,_0x15cd72){const _0x27487c=_0x9c28c2;this[_0x27487c(0x3a0)]=_0x17097a,this['_transformService']=_0x53a009,this[_0x27487c(0x331)]=_0x15cd72;}['transformStateCache'](_0x441aa2){const _0x3257d7=_0x9c28c2;this[_0x3257d7(0x413)](_0x441aa2);}[_0x9c28c2(0x346)](_0x204a70){const _0x5dfe67=_0x9c28c2,{unitID:_0x2dd86b}=_0x204a70,{collaboration:_0x5ab056}=this['_docStateChangeManagerService']['getStateCache'](_0x2dd86b);if(_0x5ab056[_0x5dfe67(0x27b)]===0x0)return _0x204a70;let _0x18423c=_0x43aff6['Tools'][_0x5dfe67(0x21d)](_0x204a70['mutations'][0x0]);for(let _0x19a1a6=0x0;_0x19a1a6<_0x5ab056[_0x5dfe67(0x27b)];_0x19a1a6++){const _0x5f5006={'id':_0x5dfe67(0x2e1),'params':{'unitId':_0x5ab056[_0x19a1a6][_0x5dfe67(0x357)],..._0x5ab056[_0x19a1a6][_0x5dfe67(0x25b)]}},_0x30c70d=this[_0x5dfe67(0x2ca)][_0x5dfe67(0x337)](_0x18423c,_0x5f5006,!0x1);if(_0xb9294['isTransformMutationFailure'](_0x30c70d))throw _0x30c70d[_0x5dfe67(0x3a5)];_0x18423c=_0x30c70d[_0x5dfe67(0x3dc)];}return{..._0x43aff6[_0x5dfe67(0x219)]['deepClone'](_0x204a70),'mutations':[_0x18423c]};}[_0x9c28c2(0x413)](_0x251086){const _0x1b028b=_0x9c28c2,{unitID:_0x2cc3b4}=_0x251086,{history:_0x379b3a,collaboration:_0x3b4df4}=this[_0x1b028b(0x331)]['getStateCache'](_0x2cc3b4);if(_0x379b3a[_0x1b028b(0x27b)]===0x0&&_0x3b4df4['length']===0x0)return;const _0x239d2f=[],_0xe1913a=[];let _0x3042ae=_0x43aff6[_0x1b028b(0x219)][_0x1b028b(0x21d)](_0x251086[_0x1b028b(0x2eb)][0x0]),_0x535135=_0x43aff6[_0x1b028b(0x219)][_0x1b028b(0x21d)](_0x251086['mutations'][0x0]);for(let _0x1b93de=_0x379b3a[_0x1b028b(0x27b)]-0x1;_0x1b93de>=0x0;_0x1b93de--){const _0x4e0070={'id':_0x1b028b(0x2e1),'params':{'unitId':_0x379b3a[_0x1b93de][_0x1b028b(0x357)],..._0x379b3a[_0x1b93de][_0x1b028b(0x405)]}},_0x1140ab={'id':_0x1b028b(0x2e1),'params':{'unitId':_0x379b3a[_0x1b93de]['unitId'],..._0x379b3a[_0x1b93de][_0x1b028b(0x25b)]}},_0x36222f=this['_transformService'][_0x1b028b(0x337)](_0x3042ae,_0x4e0070,!0x1),_0x320754=this[_0x1b028b(0x2ca)][_0x1b028b(0x337)](_0x535135,_0x1140ab,!0x1);if(_0xb9294['isTransformMutationFailure'](_0x36222f))throw _0x36222f[_0x1b028b(0x3a5)];if(_0xb9294['isTransformMutationFailure'](_0x320754))throw _0x320754[_0x1b028b(0x3a5)];_0x239d2f['unshift']({..._0x379b3a[_0x1b93de],'undoState':_0x36222f[_0x1b028b(0x398)]['params'],'redoState':_0x320754[_0x1b028b(0x398)][_0x1b028b(0x3a3)]}),_0x3042ae=_0x36222f[_0x1b028b(0x3dc)],_0x535135=_0x320754[_0x1b028b(0x3dc)];}_0x3042ae=_0x43aff6[_0x1b028b(0x219)]['deepClone'](_0x251086[_0x1b028b(0x2eb)][0x0]),_0x535135=_0x43aff6[_0x1b028b(0x219)][_0x1b028b(0x21d)](_0x251086[_0x1b028b(0x2eb)][0x0]);for(let _0x5f289d=_0x3b4df4[_0x1b028b(0x27b)]-0x1;_0x5f289d>=0x0;_0x5f289d--){const _0x148680={'id':_0x1b028b(0x2e1),'params':{'unitId':_0x3b4df4[_0x5f289d][_0x1b028b(0x357)],..._0x3b4df4[_0x5f289d][_0x1b028b(0x405)]}},_0x1c2435={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b4df4[_0x5f289d][_0x1b028b(0x357)],..._0x3b4df4[_0x5f289d][_0x1b028b(0x25b)]}},_0xd2785a=this[_0x1b028b(0x2ca)]['transformMutation'](_0x3042ae,_0x148680,!0x1),_0x268500=this[_0x1b028b(0x2ca)][_0x1b028b(0x337)](_0x535135,_0x1c2435,!0x1);if(_0xb9294[_0x1b028b(0x3a7)](_0xd2785a))throw _0xd2785a[_0x1b028b(0x3a5)];if(_0xb9294[_0x1b028b(0x3a7)](_0x268500))throw _0x268500[_0x1b028b(0x3a5)];_0xe1913a[_0x1b028b(0x2b6)]({..._0x3b4df4[_0x5f289d],'undoState':_0xd2785a[_0x1b028b(0x398)][_0x1b028b(0x3a3)],'redoState':_0x268500[_0x1b028b(0x398)]['params']}),_0x3042ae=_0xd2785a[_0x1b028b(0x3dc)],_0x535135=_0x268500[_0x1b028b(0x3dc)];}this[_0x1b028b(0x331)][_0x1b028b(0x3ba)](_0x2cc3b4,{'history':_0x239d2f,'collaboration':_0xe1913a});}};_0x40659a=_0x78a29f([_0x3a671b(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x3a671b(0x1,_0xb9294[_0x9c28c2(0x3b5)]),_0x3a671b(0x2,_0x43aff6['Inject'](_0x30015e[_0x9c28c2(0x3e9)]))],_0x40659a);var _0x44163b=Object['getOwnPropertyDescriptor'],_0x38f0e7=(_0x461d9d,_0x2c3930,_0x414d2a,_0x553df8)=>{const _0x52dbc6=_0x9c28c2;for(var _0x471d90=_0x553df8>0x1?void 0x0:_0x553df8?_0x44163b(_0x2c3930,_0x414d2a):_0x2c3930,_0x10d50f=_0x461d9d[_0x52dbc6(0x27b)]-0x1,_0x6f907f;_0x10d50f>=0x0;_0x10d50f--)(_0x6f907f=_0x461d9d[_0x10d50f])&&(_0x471d90=_0x6f907f(_0x471d90)||_0x471d90);return _0x471d90;},_0x1ccad8=(_0x1eb9a7,_0x406657)=>(_0x15d2a5,_0x1abb2b)=>_0x406657(_0x15d2a5,_0x1abb2b,_0x1eb9a7);let _0x37ec07=class{constructor(_0x1b4246,_0x501f5a){const _0x48440b=_0x9c28c2;this[_0x48440b(0x3a0)]=_0x1b4246,this['_transformService']=_0x501f5a;}[_0x9c28c2(0x1c3)](_0x5e967d){const _0x23c4f6=_0x9c28c2;var _0x5b2427;const _0x35b0fc=this[_0x23c4f6(0x3a0)][_0x23c4f6(0x326)](_0x4cf538[_0x23c4f6(0x2bf)]),_0x383288=(_0x5b2427=_0x35b0fc[_0x23c4f6(0x430)]())!=null?_0x5b2427:[];if(_0x383288[_0x23c4f6(0x27b)]===0x0)return;const _0x3767ef=_0x5e967d[_0x23c4f6(0x23d)],_0x59a2d7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3767ef,'actions':null,'textRanges':_0x383288}}],_0x54d154=this[_0x23c4f6(0x2ca)][_0x23c4f6(0x3a9)](_0x5e967d,_0x59a2d7);if(!_0xb9294['isTransformMutationsWithChangesetSuccess'](_0x54d154))throw _0x54d154['error'];const _0x2e73c9=_0x54d154[_0x23c4f6(0x398)][0x0][_0x23c4f6(0x3a3)][_0x23c4f6(0x1dd)];Array[_0x23c4f6(0x443)](_0x2e73c9)&&_0x2e73c9[_0x23c4f6(0x27b)]&&_0x35b0fc[_0x23c4f6(0x1d6)](_0x2e73c9,{'unitId':_0x3767ef,'subUnitId':_0x3767ef},!0x1);}};_0x37ec07=_0x38f0e7([_0x1ccad8(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x1ccad8(0x1,_0xb9294[_0x9c28c2(0x3b5)])],_0x37ec07);var _0x2c5b9c=Object[_0x9c28c2(0x2fe)],_0x310cfd=(_0x55200e,_0x3ace6c,_0x239720,_0x3c0f33)=>{const _0x5554ed=_0x9c28c2;for(var _0x212c2c=_0x3c0f33>0x1?void 0x0:_0x3c0f33?_0x2c5b9c(_0x3ace6c,_0x239720):_0x3ace6c,_0x25f47e=_0x55200e[_0x5554ed(0x27b)]-0x1,_0x2ee93e;_0x25f47e>=0x0;_0x25f47e--)(_0x2ee93e=_0x55200e[_0x25f47e])&&(_0x212c2c=_0x2ee93e(_0x212c2c)||_0x212c2c);return _0x212c2c;},_0x15c52f=(_0x375c6c,_0x12e62f)=>(_0x532280,_0x4559f0)=>_0x12e62f(_0x532280,_0x4559f0,_0x375c6c);let _0x5bb0bc=class extends _0x43aff6[_0x9c28c2(0x253)]{constructor(_0x405833,_0x47fde7,_0x2e6b01,_0x599a0c,_0x5e3f5e,_0x4d3ce1,_0x22d903,_0x518f9e){const _0x21d81e=_0x9c28c2;super(),_0x433bc1(this,_0x21d81e(0x224),new _0x22b5a0['BehaviorSubject'](_0x3c1823[_0x21d81e(0x229)]['NOT_COLLAB'])),(this[_0x21d81e(0x331)]=_0x405833,this[_0x21d81e(0x407)]=_0x47fde7,this[_0x21d81e(0x202)]=_0x2e6b01,this['_docTransformStateCacheService']=_0x599a0c,this['_docTransformSelectionsService']=_0x5e3f5e,this[_0x21d81e(0x1d3)]=_0x4d3ce1,this[_0x21d81e(0x21c)]=_0x22d903,this[_0x21d81e(0x3e8)]=_0x518f9e,this[_0x21d81e(0x2d1)]());}[_0x9c28c2(0x2d1)](){const _0x5aade0=_0x9c28c2;this[_0x5aade0(0x340)](this[_0x5aade0(0x407)]['entityInit$']['subscribe'](_0x1a6261=>{const _0x4f6ede=_0x5aade0,_0x27966f=this[_0x4f6ede(0x331)][_0x4f6ede(0x3fc)][_0x4f6ede(0x3aa)](_0x4dc825=>{const _0x2c9955=_0x4f6ede;if(_0x4dc825==null)return;const {unitId:_0x3616fe,redoState:_0xfaf040,commandId:_0x399340}=_0x4dc825;if(_0x3616fe!==_0x1a6261['unitID'])return;const _0x5a5cc0={'id':_0x399340,'type':_0x43aff6['CommandType'][_0x2c9955(0x26b)],'params':{'unitId':_0x3616fe,'actions':_0xfaf040['actions'],'textRanges':null}};_0x1a6261['onLocalMutation'](_0x5a5cc0);});if(_0x1a6261[_0x4f6ede(0x340)](_0x27966f),_0x1a6261 instanceof _0x3c1823[_0x4f6ede(0x320)]){const _0x305556={'onTransformIME':_0x144629=>this[_0x4f6ede(0x202)][_0x4f6ede(0x235)](_0x144629),'onTransformState':_0x139c11=>this[_0x4f6ede(0x360)]['transformStateCache'](_0x139c11),'onTransformSelections':_0x32c11d=>this[_0x4f6ede(0x35a)][_0x4f6ede(0x1c3)](_0x32c11d),'onSyncEditingCollabCursor':_0x19f303=>this[_0x4f6ede(0x1d3)][_0x4f6ede(0x3b8)](_0x19f303),'onTransformRemoteChangesetByIMECache':_0x1fdf34=>this['_docTransformIMECacheService'][_0x4f6ede(0x346)](_0x1fdf34),'onTransformRemoteChangesetByStateCache':_0xea283=>this['_docTransformStateCacheService'][_0x4f6ede(0x346)](_0xea283)};_0x1a6261[_0x4f6ede(0x35b)](_0x305556);}}));}};_0x5bb0bc=_0x310cfd([_0x15c52f(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x30015e['DocStateChangeManagerService'])),_0x15c52f(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x295)])),_0x15c52f(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x47c295)),_0x15c52f(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x40659a)),_0x15c52f(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x37ec07)),_0x15c52f(0x5,_0x43aff6[_0x9c28c2(0x21f)](_0x2a43ee)),_0x15c52f(0x6,_0x4c8790[_0x9c28c2(0x2e7)]),_0x15c52f(0x7,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x3dd)]))],_0x5bb0bc);var _0x1a2f85=Object[_0x9c28c2(0x2fe)],_0x3c50f3=(_0x46c5c7,_0x51eb9d,_0x577afe,_0x389180)=>{const _0x496c20=_0x9c28c2;for(var _0xcea6fc=_0x389180>0x1?void 0x0:_0x389180?_0x1a2f85(_0x51eb9d,_0x577afe):_0x51eb9d,_0x5d9dba=_0x46c5c7[_0x496c20(0x27b)]-0x1,_0x193f2a;_0x5d9dba>=0x0;_0x5d9dba--)(_0x193f2a=_0x46c5c7[_0x5d9dba])&&(_0xcea6fc=_0x193f2a(_0xcea6fc)||_0xcea6fc);return _0xcea6fc;},_0x5c7b0b=(_0x1c0b86,_0x431a6b)=>(_0x1e67f2,_0x4340a3)=>_0x431a6b(_0x1e67f2,_0x4340a3,_0x1c0b86);let _0xdf9474=class extends _0x43aff6['Disposable']{constructor(_0x4a3775,_0x472898,_0x4e00fc){const _0x2b733f=_0x9c28c2;super(),_0x433bc1(this,_0x2b733f(0x3ec),new Map()),_0x433bc1(this,_0x2b733f(0x1af),new Map()),_0x433bc1(this,'_disabled',!0x1),(this['_configService']=_0x4a3775,this[_0x2b733f(0x2fd)]=_0x472898,this['_revisionService']=_0x4e00fc);}[_0x9c28c2(0x1e5)](){const _0x8ab0f=_0x9c28c2;this[_0x8ab0f(0x3fb)]=!0x0;}[_0x9c28c2(0x1eb)](){const _0x4ca186=_0x9c28c2;this[_0x4ca186(0x3fb)]=!0x1;}get[_0x9c28c2(0x3f8)](){const _0x47ce88=_0x9c28c2;return this[_0x47ce88(0x1af)];}[_0x9c28c2(0x420)](){const _0x54ba76=_0x9c28c2;this[_0x54ba76(0x2ed)]()['then'](()=>super[_0x54ba76(0x420)]());}async[_0x9c28c2(0x205)](_0x5aa58f){const _0x5e4522=_0x9c28c2;return this['_disabled']?null:this[_0x5e4522(0x2fd)][_0x5e4522(0x2d2)](_0x3c1823[_0x5e4522(0x3d0)](_0x5aa58f));}async[_0x9c28c2(0x399)](_0x330518,_0x517430){const _0x3e6f9b=_0x9c28c2;return!!this[_0x3e6f9b(0x2fd)][_0x3e6f9b(0x379)](_0x330518,_0x517430);}['updateOfflineData'](_0x3f6c42,_0x4e081a,_0x4330ee,_0xf8fa01){const _0x117a89=_0x9c28c2,_0x24374a=this[_0x117a89(0x38f)][_0x117a89(0x2ae)](_0x3f6c42);this['_cachedData'][_0x117a89(0x289)](_0x3f6c42,{'unitID':_0x3f6c42,'type':_0x4e081a,'awaitingChangeset':_0x4330ee,'mutations':_0xf8fa01,'rev':_0x24374a}),this[_0x117a89(0x1af)][_0x117a89(0x2d3)](_0x3f6c42)||this['_scheduleSaving'](_0x3f6c42);}['_scheduleSaving'](_0x18d9da){const _0x5d02b5=_0x9c28c2,_0x1117c8=this[_0x5d02b5(0x27a)]();_0x1117c8===0x0?this['_saveCache'](_0x18d9da):this['_saveTaskMap'][_0x5d02b5(0x289)](_0x18d9da,setTimeout(()=>this[_0x5d02b5(0x3d5)](_0x18d9da),_0x1117c8));}[_0x9c28c2(0x27a)](){const _0x2bb2a9=_0x9c28c2;var _0x1c3650;return(_0x1c3650=this[_0x2bb2a9(0x368)]['getConfig'](_0x3c1823[_0x2bb2a9(0x40d)]))!=null?_0x1c3650:_0x3c1823[_0x2bb2a9(0x400)];}[_0x9c28c2(0x3d5)](_0x75030b){const _0x2ac683=_0x9c28c2,_0x4a3942=this[_0x2ac683(0x1af)][_0x2ac683(0x326)](_0x75030b);return _0x4a3942!==void 0x0&&window[_0x2ac683(0x347)](_0x4a3942),this['_localStorageService'][_0x2ac683(0x379)](_0x3c1823[_0x2ac683(0x3d0)](_0x75030b),this[_0x2ac683(0x3ec)][_0x2ac683(0x326)](_0x75030b))['then'](()=>this[_0x2ac683(0x1af)]['delete'](_0x75030b));}async['exhaustSavingTask'](){const _0x2ee90f=_0x9c28c2,_0xbf3429=[];this[_0x2ee90f(0x1af)][_0x2ee90f(0x312)]((_0x26ba03,_0x33bd19)=>{const _0x3c042a=_0x2ee90f;window['clearTimeout'](_0x26ba03),_0xbf3429['push'](this[_0x3c042a(0x3d5)](_0x33bd19)['then'](()=>{const _0x353c10=_0x3c042a;this[_0x353c10(0x1af)][_0x353c10(0x1ff)](_0x33bd19);}));}),await Promise[_0x2ee90f(0x23c)](_0xbf3429);}};_0xdf9474=_0x3c50f3([_0x5c7b0b(0x0,_0x43aff6[_0x9c28c2(0x34d)]),_0x5c7b0b(0x1,_0x43aff6[_0x9c28c2(0x1ad)]),_0x5c7b0b(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0xb9294['RevisionService']))],_0xdf9474);class _0x42a575 extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(){const _0x2c0299=_0x9c28c2;super(),_0x433bc1(this,_0x2c0299(0x25a)),this[_0x2c0299(0x25a)]=_0x22b5a0[_0x2c0299(0x437)](window,_0x2c0299(0x238))[_0x2c0299(0x353)](_0x22b5a0['takeUntil'](this[_0x2c0299(0x36b)]),_0x22b5a0['shareReplay'](0x1),_0x22b5a0[_0x2c0299(0x425)](void 0x0));}[_0x9c28c2(0x3e6)](_0x3cde0f,_0x5303dd,_0x3e5e3b=!0x1){const _0x1af090=_0x9c28c2,_0x133546=new URL(window[_0x1af090(0x28d)]['href']);_0x133546['searchParams'][_0x1af090(0x289)](_0x3cde0f,_0x5303dd),_0x3e5e3b?window[_0x1af090(0x281)]['replaceState']('','',_0x133546[_0x1af090(0x31b)]()):window[_0x1af090(0x281)][_0x1af090(0x1ee)]('','',_0x133546[_0x1af090(0x31b)]());}[_0x9c28c2(0x3bd)](_0x4c7646,_0x1ff5b0=!0x1){const _0x55830c=_0x9c28c2,_0x5859a0=new URL(window['location'][_0x55830c(0x234)]);_0x5859a0['searchParams']['delete'](_0x4c7646),_0x1ff5b0?window[_0x55830c(0x281)]['replaceState']('','',_0x5859a0[_0x55830c(0x31b)]()):window[_0x55830c(0x281)][_0x55830c(0x1ee)]('','',_0x5859a0[_0x55830c(0x31b)]());}['getParam'](_0x4574b1){const _0x23ca01=_0x9c28c2;var _0x3591c0;return(_0x3591c0=new URL(window[_0x23ca01(0x28d)]['href'])[_0x23ca01(0x367)][_0x23ca01(0x326)](_0x4574b1))!=null?_0x3591c0:void 0x0;}}var _0x514dfa=Object[_0x9c28c2(0x280)],_0x2e251e=Object['getOwnPropertyDescriptor'],_0x177f1f=(_0x29f7e5,_0x11587e,_0x2ddc22)=>_0x11587e in _0x29f7e5?_0x514dfa(_0x29f7e5,_0x11587e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ddc22}):_0x29f7e5[_0x11587e]=_0x2ddc22,_0x3abf7b=(_0x49f188,_0xd189f1,_0xb8a85b,_0x5925e7)=>{for(var _0x590974=_0x5925e7>0x1?void 0x0:_0x5925e7?_0x2e251e(_0xd189f1,_0xb8a85b):_0xd189f1,_0x29ba8a=_0x49f188['length']-0x1,_0x36112c;_0x29ba8a>=0x0;_0x29ba8a--)(_0x36112c=_0x49f188[_0x29ba8a])&&(_0x590974=_0x36112c(_0x590974)||_0x590974);return _0x590974;},_0x1ec30=(_0x34321b,_0x4bc653)=>(_0x106fbf,_0xaf3631)=>_0x4bc653(_0x106fbf,_0xaf3631,_0x34321b),_0x2613c3=(_0x3e7590,_0x5acee3,_0x4d4766)=>_0x177f1f(_0x3e7590,_0x5acee3+'',_0x4d4766);const _0x4c80d8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x46a004[_0x9c28c2(0x29e)]=class extends _0x43aff6[_0x9c28c2(0x240)]{constructor(_0x49cc1f=_0x5b91b5,_0x501316,_0x111ad8,_0x152ec3){const _0x32c745=_0x9c28c2;super(),this[_0x32c745(0x3cf)]=_0x49cc1f,this[_0x32c745(0x3da)]=_0x501316,this[_0x32c745(0x3a0)]=_0x111ad8,this['_configService']=_0x152ec3;const {..._0xe0b12a}=_0x43aff6['merge']({},_0x5b91b5,this[_0x32c745(0x3cf)]);this[_0x32c745(0x368)][_0x32c745(0x245)](_0x198fa4,_0xe0b12a);}[_0x9c28c2(0x23b)](){const _0x104323=_0x9c28c2;this[_0x104323(0x3b2)](),this[_0x104323(0x393)]();}[_0x9c28c2(0x43c)](){const _0x3ec08f=_0x9c28c2;this[_0x3ec08f(0x24d)]();}[_0x9c28c2(0x3b2)](){const _0x1b210b=_0x9c28c2;var _0x12e05b;const _0x140b0b=[[_0x52fe0d],[_0x37ec07],[_0x47c295],[_0x40659a],[_0x2a43ee],[_0x151449,{'useClass':_0x42a575}],[_0x564362['ISocketService'],{'useClass':_0x564362[_0x1b210b(0x293)]}],[_0x3c1823[_0x1b210b(0x42e)],{'useClass':_0xdf9474}],[_0x46a004[_0x1b210b(0x436)]],[_0x5bb0bc],[_0x275ade],[_0x5964c5],[_0x19dca4],[_0x46a004['CollaborationDataLoaderController']]];_0x43aff6[_0x1b210b(0x374)](this[_0x1b210b(0x3a0)],_0x43aff6[_0x1b210b(0x427)](_0x140b0b,(_0x12e05b=this['_config'])==null?void 0x0:_0x12e05b['override']));}[_0x9c28c2(0x24d)](){const _0x5a55c8=_0x9c28c2;this[_0x5a55c8(0x340)](this['_renderManagerService']['registerRenderModule'](_0x43aff6[_0x5a55c8(0x1fb)][_0x5a55c8(0x1e1)],[_0x38436b])),this[_0x5a55c8(0x340)](this[_0x5a55c8(0x3da)][_0x5a55c8(0x1fc)](_0x43aff6['UniverInstanceType'][_0x5a55c8(0x1ab)],[_0x4140ee]));}['_initDependencies'](){const _0x27500c=_0x9c28c2;_0x43aff6[_0x27500c(0x1c4)](this[_0x27500c(0x3a0)],[[_0x5964c5],[_0x46a004[_0x27500c(0x436)]],[_0x5bb0bc],[_0x275ade],[_0x46a004[_0x27500c(0x2ab)]]]);}},_0x2613c3(_0x46a004['UniverCollaborationClientUIPlugin'],_0x9c28c2(0x1b1),_0x4c80d8),_0x46a004['UniverCollaborationClientUIPlugin']=_0x3abf7b([_0x43aff6['DependentOn'](_0x3c1823[_0x9c28c2(0x1d4)]),_0x1ec30(0x1,_0x359b8a[_0x9c28c2(0x355)]),_0x1ec30(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x1ec30(0x3,_0x43aff6['IConfigService'])],_0x46a004[_0x9c28c2(0x29e)]);var _0x2128cb=Object[_0x9c28c2(0x2fe)],_0x97ea40=(_0x155068,_0x3db8b8,_0x5d3c3d,_0x477e45)=>{for(var _0x22ae6a=_0x477e45>0x1?void 0x0:_0x477e45?_0x2128cb(_0x3db8b8,_0x5d3c3d):_0x3db8b8,_0x3d0ce2=_0x155068['length']-0x1,_0x3142e7;_0x3d0ce2>=0x0;_0x3d0ce2--)(_0x3142e7=_0x155068[_0x3d0ce2])&&(_0x22ae6a=_0x3142e7(_0x22ae6a)||_0x22ae6a);return _0x22ae6a;},_0x4a2e12=(_0x4d3ff9,_0x4095d7)=>(_0x32cf00,_0x3bedd9)=>_0x4095d7(_0x32cf00,_0x3bedd9,_0x4d3ff9);_0x46a004[_0x9c28c2(0x221)]=class extends _0x3c1823[_0x9c28c2(0x388)]{constructor(_0x719a73,_0x4adf8e,_0x45afd0,_0xa6e10d,_0x4e57b7){super(_0x719a73,_0x4adf8e,_0x45afd0,_0xa6e10d,_0x4e57b7);}async[_0x9c28c2(0x3a4)](_0x2322df){const _0x5352e6=_0x9c28c2,_0x3113c7=await this[_0x5352e6(0x3b3)](),_0x5c3697=this['_createSocketURL'](_0x2322df,_0x3113c7);return this[_0x5352e6(0x1c7)](_0x5c3697);}['_createSocketURL'](_0x27acfa,_0x12613f){const _0x36970c=_0x9c28c2,_0x2c559d=typeof window>'u'?new URL(_0x27acfa):new URL(_0x27acfa,window[_0x36970c(0x28d)][_0x36970c(0x1cb)]);_0x2c559d[_0x36970c(0x367)][_0x36970c(0x289)](_0x36970c(0x2c9),_0x12613f);const _0x2b27b0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36970c(0x1fe)]);return _0x2b27b0[_0x36970c(0x326)](_0x36970c(0x21a))&&_0x2c559d[_0x36970c(0x367)]['set'](_0x36970c(0x21a),_0x2b27b0[_0x36970c(0x326)](_0x36970c(0x21a))),_0x2c559d[_0x36970c(0x31b)]();}async[_0x9c28c2(0x3b3)](){const _0x33ca30=_0x9c28c2;var _0xa091ff,_0xf91e1c,_0x50e8da;const _0x18a7d3=this[_0x33ca30(0x368)][_0x33ca30(0x207)](_0x3c1823[_0x33ca30(0x1bf)]),_0x22e575=(_0xa091ff=_0x18a7d3==null?void 0x0:_0x18a7d3[_0x33ca30(0x30c)])!=null?_0xa091ff:_0x3c1823[_0x33ca30(0x208)];return(_0x50e8da=(_0xf91e1c=(await this[_0x33ca30(0x1f6)][_0x33ca30(0x326)](_0x22e575,{'headers':{'Content-Type':'application/json'}}))[_0x33ca30(0x2ac)])==null?void 0x0:_0xf91e1c[_0x33ca30(0x263)])!=null?_0x50e8da:'';}},_0x46a004[_0x9c28c2(0x221)]=_0x97ea40([_0x4a2e12(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x4a2e12(0x1,_0x43aff6['Inject'](_0x564362[_0x9c28c2(0x2c1)])),_0x4a2e12(0x2,_0x43aff6[_0x9c28c2(0x34d)]),_0x4a2e12(0x3,_0x43aff6[_0x9c28c2(0x1df)]),_0x4a2e12(0x4,_0xb9294['ISnapshotServerService'])],_0x46a004[_0x9c28c2(0x221)]);const _0x3565c7=0x7530,_0x7fdc67=_0x9c28c2(0x20b);class _0x33936c extends _0x43aff6[_0x9c28c2(0x253)]{constructor(){const _0x7942f3=_0x9c28c2;super(),_0x433bc1(this,_0x7942f3(0x2a3),_0x43aff6['generateRandomId']()),_0x433bc1(this,_0x7942f3(0x1c2),new Set()),_0x433bc1(this,'_unitOnClients',new Map()),_0x433bc1(this,_0x7942f3(0x1da),null),_0x433bc1(this,_0x7942f3(0x416),new Map()),_0x433bc1(this,_0x7942f3(0x2c8),new Map()),this[_0x7942f3(0x269)]();}[_0x9c28c2(0x420)](){const _0x379a2c=_0x9c28c2;super[_0x379a2c(0x420)](),this[_0x379a2c(0x416)][_0x379a2c(0x312)]((_0x15121d,_0xcc44b5)=>this[_0x379a2c(0x31e)](_0xcc44b5)),this['_heartbeatTimer']&&window[_0x379a2c(0x330)](this[_0x379a2c(0x1da)]);}['getUnitStatus$'](_0x26d844){const _0x5c990e=_0x9c28c2;return this[_0x5c990e(0x313)](_0x26d844)['pipe'](_0x22b5a0[_0x5c990e(0x391)]());}[_0x9c28c2(0x3f7)](_0x39a74f){const _0x8ffa16=_0x9c28c2;this[_0x8ffa16(0x1c2)][_0x8ffa16(0x1b7)]===0x0&&this[_0x8ffa16(0x2f9)](),this[_0x8ffa16(0x1c2)][_0x8ffa16(0x2cc)](_0x39a74f),this['_send']({'type':0x0,'memberID':this[_0x8ffa16(0x2a3)],'unitIDs':[_0x39a74f],'isForwarded':!0x1});}[_0x9c28c2(0x38c)](_0x469cea){const _0x5f0c09=_0x9c28c2;this['_selfUnitIDs'][_0x5f0c09(0x1ff)](_0x469cea),this['_selfUnitIDs'][_0x5f0c09(0x1b7)]===0x0&&this['_heartbeatTimer']&&window[_0x5f0c09(0x330)](this[_0x5f0c09(0x1da)]);}['_init'](){const _0x222568=_0x9c28c2;this[_0x222568(0x340)](_0x43aff6['toDisposable'](_0x22b5a0[_0x222568(0x437)](window,_0x222568(0x349))[_0x222568(0x3aa)](_0x134dff=>{const _0x12fed6=_0x222568;if(_0x134dff['key']!==_0x7fdc67||!_0x134dff[_0x12fed6(0x314)])return;const _0x3b802a=JSON[_0x12fed6(0x395)](_0x134dff[_0x12fed6(0x314)]);this[_0x12fed6(0x268)](_0x3b802a);}))),window['addEventListener'](_0x222568(0x3e1),()=>this[_0x222568(0x3e5)]({'type':0x1,'memberID':this[_0x222568(0x2a3)],'unitIDs':Array[_0x222568(0x2b1)](this['_selfUnitIDs'])}));}[_0x9c28c2(0x268)](_0x2a572c){const _0x9ad710=_0x9c28c2;switch(_0x2a572c['type']){case 0x0:this[_0x9ad710(0x25d)](_0x2a572c);break;case 0x1:this[_0x9ad710(0x3fd)](_0x2a572c);break;case 0x2:this[_0x9ad710(0x302)](_0x2a572c);break;}}[_0x9c28c2(0x25d)](_0xb6044a){const _0x1bbd42=_0x9c28c2,{unitIDs:_0x42d0f4,memberID:_0x47d5a5,isForwarded:_0x43300d}=_0xb6044a;_0x42d0f4[_0x1bbd42(0x312)](_0x22a745=>{const _0x23bccc=_0x1bbd42;if(!_0x43300d&&this[_0x23bccc(0x3d2)][_0x23bccc(0x2d3)](_0x22a745)&&this[_0x23bccc(0x313)](_0x22a745)[_0x23bccc(0x254)](_0x3c1823['UnitStatus'][_0x23bccc(0x277)]),!this['_unitOnClients'][_0x23bccc(0x2d3)](_0x22a745)||!this[_0x23bccc(0x3d2)][_0x23bccc(0x326)](_0x22a745)['has'](_0x47d5a5)){const _0x23e519=this[_0x23bccc(0x3d2)]['get'](_0x22a745)||new Set();_0x23e519['add'](_0x47d5a5),this[_0x23bccc(0x3d2)][_0x23bccc(0x289)](_0x22a745,_0x23e519),this[_0x23bccc(0x1fa)](_0x47d5a5);}}),_0x43300d||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x9c28c2(0x1fa)](_0x594f1e){const _0x2d5bda=_0x9c28c2;this[_0x2d5bda(0x31e)](_0x594f1e);const _0x45fcc7=window['setTimeout'](()=>{const _0x46890d=_0x2d5bda;this[_0x46890d(0x3d2)][_0x46890d(0x312)](_0x279039=>{const _0xd0a7f8=_0x46890d;_0x279039[_0xd0a7f8(0x1ff)](_0x594f1e);});},_0x3565c7*0x2);this[_0x2d5bda(0x416)]['set'](_0x594f1e,_0x45fcc7);}[_0x9c28c2(0x31e)](_0xfd43e3){const _0x4ea2e5=_0x9c28c2;if(this[_0x4ea2e5(0x416)][_0x4ea2e5(0x2d3)](_0xfd43e3)){const _0x2d15a7=this[_0x4ea2e5(0x416)][_0x4ea2e5(0x326)](_0xfd43e3);_0x2d15a7&&window[_0x4ea2e5(0x347)](_0x2d15a7),this['_clearOtherTimers'][_0x4ea2e5(0x289)](_0xfd43e3,null);}}[_0x9c28c2(0x3fd)](_0x436cad){const _0x30de6c=_0x9c28c2,{memberID:_0x3f6c77,unitIDs:_0x54255d}=_0x436cad;_0x54255d[_0x30de6c(0x312)](_0x253200=>{const _0x10197b=_0x30de6c;var _0x959cb6;const _0x5450b2=this[_0x10197b(0x3d2)][_0x10197b(0x326)](_0x253200);_0x5450b2&&(_0x5450b2[_0x10197b(0x1ff)](_0x3f6c77),(_0x959cb6=this['_ensureSubject'](_0x253200))==null||_0x959cb6['next'](_0x5450b2['size']===0x0?_0x3c1823[_0x10197b(0x37b)]['NO_OTHER_CLIENTS_EDITING']:_0x3c1823[_0x10197b(0x37b)][_0x10197b(0x277)]));}),this[_0x30de6c(0x31e)](_0x3f6c77);}['_handleHeartbeatEvent'](_0x378014){const _0x2fcbb0=_0x9c28c2;this[_0x2fcbb0(0x1fa)](_0x378014[_0x2fcbb0(0x20c)]);}[_0x9c28c2(0x3e5)](_0xa53fc1){const _0x542ebb=_0x9c28c2;localStorage[_0x542ebb(0x379)](_0x7fdc67,JSON[_0x542ebb(0x344)](_0xa53fc1));}[_0x9c28c2(0x2f9)](){const _0x49dbb4=_0x9c28c2;this['_heartbeatTimer']=window[_0x49dbb4(0x366)](()=>{const _0x43731b=_0x49dbb4;this[_0x43731b(0x3e5)]({'type':0x2,'memberID':this[_0x43731b(0x2a3)]});},_0x3565c7);}[_0x9c28c2(0x313)](_0x2756d8){const _0xedada=_0x9c28c2;return this['_unitStatus'][_0xedada(0x2d3)](_0x2756d8)||this[_0xedada(0x2c8)][_0xedada(0x289)](_0x2756d8,new _0x22b5a0['BehaviorSubject'](_0x3c1823[_0xedada(0x37b)][_0xedada(0x1e4)])),this[_0xedada(0x2c8)][_0xedada(0x326)](_0x2756d8);}}var _0x31f1f8=(_0x38848b=>(_0x38848b[_0x38848b[_0x9c28c2(0x2cb)]=0x0]=_0x9c28c2(0x2cb),_0x38848b[_0x38848b['OK']=0x1]='OK',_0x38848b[_0x38848b[_0x9c28c2(0x251)]=0x2]=_0x9c28c2(0x251),_0x38848b[_0x38848b['PERMISSION_DENIED']=0x3]=_0x9c28c2(0x2ff),_0x38848b[_0x38848b[_0x9c28c2(0x2f7)]=0x4]=_0x9c28c2(0x2f7),_0x38848b[_0x38848b[_0x9c28c2(0x31a)]=0x5]='UNAUTHENTICATED',_0x38848b[_0x38848b[_0x9c28c2(0x1f0)]=0x6]=_0x9c28c2(0x1f0),_0x38848b[_0x38848b[_0x9c28c2(0x36e)]=0x7]=_0x9c28c2(0x36e),_0x38848b[_0x38848b[_0x9c28c2(0x37e)]=0x8]=_0x9c28c2(0x37e),_0x38848b[_0x38848b['COMPLETION_FINISHED']=0x9]=_0x9c28c2(0x2b3),_0x38848b[_0x38848b[_0x9c28c2(0x31c)]=0xa]=_0x9c28c2(0x31c),_0x38848b[_0x38848b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x9c28c2(0x390),_0x38848b[_0x38848b[_0x9c28c2(0x300)]=0xc]=_0x9c28c2(0x300),_0x38848b[_0x38848b['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x9c28c2(0x305),_0x38848b[_0x38848b[_0x9c28c2(0x3f1)]=0xe]=_0x9c28c2(0x3f1),_0x38848b[_0x38848b[_0x9c28c2(0x287)]=0x1389]=_0x9c28c2(0x287),_0x38848b[_0x38848b[_0x9c28c2(0x31d)]=0x1771]=_0x9c28c2(0x31d),_0x38848b[_0x38848b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x9c28c2(0x3d8),_0x38848b[_0x38848b[_0x9c28c2(0x22d)]=0x1773]=_0x9c28c2(0x22d),_0x38848b[_0x38848b['APPLY_REJECT']=0x1b59]=_0x9c28c2(0x3de),_0x38848b[_0x38848b[_0x9c28c2(0x3ae)]=0x1b5a]=_0x9c28c2(0x3ae),_0x38848b[_0x38848b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x38848b[_0x38848b['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x38848b[_0x38848b['APPLY_DUPLICATED']=0x1b5d]=_0x9c28c2(0x1f7),_0x38848b[_0x38848b[_0x9c28c2(0x1ba)]=0x1f41]=_0x9c28c2(0x1ba),_0x38848b[_0x38848b[_0x9c28c2(0x3b1)]=0x2329]=_0x9c28c2(0x3b1),_0x38848b[_0x38848b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x9c28c2(0x441),_0x38848b[_0x38848b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x9c28c2(0x311),_0x38848b[_0x38848b[_0x9c28c2(0x3f4)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x38848b[_0x38848b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x9c28c2(0x378),_0x38848b[_0x38848b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x9c28c2(0x421),_0x38848b[_0x38848b[_0x9c28c2(0x1f5)]=0x2712]=_0x9c28c2(0x1f5),_0x38848b[_0x38848b[_0x9c28c2(0x225)]=0x2713]=_0x9c28c2(0x225),_0x38848b[_0x38848b[_0x9c28c2(0x1c5)]=0x2714]=_0x9c28c2(0x1c5),_0x38848b[_0x38848b[_0x9c28c2(0x1d7)]=0x271a]=_0x9c28c2(0x1d7),_0x38848b[_0x38848b[_0x9c28c2(0x392)]=0x271b]=_0x9c28c2(0x392),_0x38848b[_0x38848b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x9c28c2(0x3ac),_0x38848b[_0x38848b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x9c28c2(0x214),_0x38848b[_0x38848b['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x9c28c2(0x3c5),_0x38848b[_0x38848b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x9c28c2(0x43b),_0x38848b[_0x38848b[_0x9c28c2(0x401)]=0x2720]=_0x9c28c2(0x401),_0x38848b[_0x38848b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x9c28c2(0x241),_0x38848b[_0x38848b[_0x9c28c2(0x233)]=0x2ee1]=_0x9c28c2(0x233),_0x38848b[_0x38848b[_0x9c28c2(0x2a5)]=0x2ee2]=_0x9c28c2(0x2a5),_0x38848b[_0x38848b[_0x9c28c2(0x33c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x38848b[_0x38848b['USER_NOT_INVITED_CODE']=0x2ee4]=_0x9c28c2(0x23f),_0x38848b[_0x38848b[_0x9c28c2(0x2e2)]=0x2ee5]=_0x9c28c2(0x2e2),_0x38848b[_0x38848b[_0x9c28c2(0x248)]=0x32c9]=_0x9c28c2(0x248),_0x38848b[_0x38848b[_0x9c28c2(0x1e3)]=0x32ca]=_0x9c28c2(0x1e3),_0x38848b[_0x38848b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x9c28c2(0x3d9),_0x38848b[_0x38848b[_0x9c28c2(0x258)]=-0x1]=_0x9c28c2(0x258),_0x38848b))(_0x31f1f8||{}),_0x5da0a6=Object[_0x9c28c2(0x2fe)],_0x57c726=(_0x478f0e,_0x1280d3,_0x178523,_0x45186e)=>{const _0x55fca6=_0x9c28c2;for(var _0x3d8194=_0x45186e>0x1?void 0x0:_0x45186e?_0x5da0a6(_0x1280d3,_0x178523):_0x1280d3,_0x1dd8f4=_0x478f0e[_0x55fca6(0x27b)]-0x1,_0x2ed222;_0x1dd8f4>=0x0;_0x1dd8f4--)(_0x2ed222=_0x478f0e[_0x1dd8f4])&&(_0x3d8194=_0x2ed222(_0x3d8194)||_0x3d8194);return _0x3d8194;},_0x160055=(_0x2db48e,_0x38afe9)=>(_0x2d0016,_0x4b37ad)=>_0x38afe9(_0x2d0016,_0x4b37ad,_0x2db48e);_0x46a004[_0x9c28c2(0x265)]=class extends _0x43aff6[_0x9c28c2(0x253)]{constructor(_0x163b3c,_0x1c45c5,_0x1e3e36){const _0x4cf1f6=_0x9c28c2;super(),this[_0x4cf1f6(0x419)]=_0x163b3c,this[_0x4cf1f6(0x1f6)]=_0x1c45c5,this[_0x4cf1f6(0x368)]=_0x1e3e36;}async[_0x9c28c2(0x26c)](_0x2041be,_0x209a39,_0x3cc5c9,..._0x19faaa){const _0xd2f294=_0x9c28c2;var _0xe94240,_0x41ce5e,_0x190352,_0x29b617;const _0x2d1d8d=this[_0xd2f294(0x419)]['getFocusedUnit']();if(!_0x2d1d8d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x7d5e37=((_0xe94240=this[_0xd2f294(0x368)][_0xd2f294(0x207)](_0x3c1823[_0xd2f294(0x29f)]))!=null?_0xe94240:_0x3c1823[_0xd2f294(0x3b0)])+'/'+_0x2041be+_0xd2f294(0x32a)+_0x209a39,_0x250a89=new URL(window[_0xd2f294(0x28d)][_0xd2f294(0x234)]),_0xb50802={'scriptId':_0x2041be,'runId':(_0x41ce5e=_0x250a89['searchParams'][_0xd2f294(0x326)](_0xd2f294(0x21a)))!=null?_0x41ce5e:'','function':_0x209a39,'unitId':_0x2d1d8d[_0xd2f294(0x318)](),'argsOfFunction':JSON[_0xd2f294(0x344)](_0x19faaa),'invokeId':(_0x190352=_0x3cc5c9['invokeId'])!=null?_0x190352:'','executionId':(_0x29b617=_0x3cc5c9['executionId'])!=null?_0x29b617:''};try{const _0xccca99=await this['_httpService'][_0xd2f294(0x267)](_0x7d5e37,{'body':_0xb50802});return _0xccca99[_0xd2f294(0x2ac)][_0xd2f294(0x3a5)]&&_0xccca99[_0xd2f294(0x2ac)]['error']['code']!==_0x31f1f8['OK']?_0xd2f294(0x236):_0xccca99[_0xd2f294(0x2ac)][_0xd2f294(0x39d)];}catch{return _0xd2f294(0x236);}}},_0x46a004[_0x9c28c2(0x265)]=_0x57c726([_0x160055(0x0,_0x43aff6[_0x9c28c2(0x3bb)]),_0x160055(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x564362[_0x9c28c2(0x2c1)])),_0x160055(0x2,_0x43aff6[_0x9c28c2(0x34d)])],_0x46a004['RemoteUniscriptService']),_0x46a004[_0x9c28c2(0x412)]=_0x2a41e7,_0x46a004[_0x9c28c2(0x222)]=_0x151449,_0x46a004[_0x9c28c2(0x364)]=_0x23980c,_0x46a004[_0x9c28c2(0x1f9)]=_0x33936c,_0x46a004['WebURLService']=_0x42a575,Object[_0x9c28c2(0x280)](_0x46a004,Symbol[_0x9c28c2(0x442)],{'value':_0x9c28c2(0x426)});}));function _0xd233(){const _0x5bc989=['concat','fillStyle','UniverNetwork','COLORS','pipe','getActiveSheet','IRenderManagerService','url(#on-line-icon_clip0_910_349)','unitId','_startDocCollabCursor','send','_docTransformSelectionsService','addHandlerCallback','Injector','_cursors','RxDisposable','eventID','_docTransformStateCacheService','UniverRpc','react','currentColor','SheetCollabCursorShape','exports','setInterval','searchParams','_configService','filter','SOCKET_FAILED','dispose$','color','_shapes','INVALID_ARGUMENT','_color','isActive','SUBMIT_CHANGESET_TIMEOUT','_updateLocalCursor','IUIPartsService','registerDependencies','_onCursorDelete','findNodePositionByCharIndex','61717iXwFLy','LICENSE_DISTRO_REJECTED','setItem','getCellPositionByOffset','UnitStatus','collab-client.tooltip.reconnect','_range','TOO_MANY_REQUESTS','getSheetBySheetId','function','serializeRangeWithSheet','getParam','drawWith','Shape','getSheetId','SessionStatus','getCurrentUnitForType','CollaborationSocketService','_drawAnchor','_collaborationUIEventService','IRemoteInstanceService','disposeUnit','_initCommandExecutedListener','_colorIndex','_revisionService','MOBILE_VERIFY_CODE_MISMATCH','distinctUntilChanged','YUUMI_ASYNCIO_CANCELLED','_initDependencies','collaboration.closeRoom','parse','max','761174vwrdHi','m2Prime','saveOfflineData','measureText','_anchorDot','text','result','ICommandService','black','_injector','_syncEditingCollabCursorService','@univerjs/sheets','params','createSocket','error','uni.network.url-service','isTransformMutationFailure','FromArray','transformMutationsWithChangeset','subscribe','defIds','YUUMI_TABLE_NOT_FOUND_IN_UNIT','1em','APPLY_NON_SEQUENTIAL_REVISION','children','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_MAX_UNITS_EXCEEDED','_registerDependencies','_getSessionTicket','_initResize','ITransformService','UniverDocs','yellow.400','syncEditingCollabCursor','SetSelectionsOperation','setStateCache','IUniverInstanceService','DeleteRangeMoveLeftCommandId','removeParam','_imageIoService','cursorInfo','_draw','debounce','currentSkeleton$','_backgroundColor','_transformUndoRedoStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','string','session.will-retry','hovered','handleIRemoveCol','InsertColCommandId','session.connection-failed','top','subscribeEvent','1302462KcBYBM','_config','getLocalCacheKey','_refRangeService','_unitOnClients','sessionStatus$','roomMembers','_saveCache','@univerjs/engine-formula','connectInjector','SNAPSHOT_HAS_BEEN_REMOVED','EMAIL_HAS_BEEN_BOUND','_renderManagerService','_render','m1Prime','LocaleService','APPLY_REJECT','unsubscribe','contains','unload','InsertRowCommandId','UniverSheets','onPointerLeave$','_send','setParam','_anchor','_localeService','DocStateChangeManagerService','DocIMEInputManagerService','3984463pOfCOz','_cachedData','getColor','UniverDesign','onPointerEnter$','ranges','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','makeDirty','onTransformChange$','LICENSE_EXPORT_SIZE_EXCEEDED','width','getCollabCursors$','editingUnit','saveTaskMap','CollaborationEvent','_memberService','_disabled','docStateChange$','_handleLeaveEvent','includes','split','LOCAL_CACHE_INTERVAL','YUUMI_CONNECTOR_URL_NOT_FOUND','_entities','_commandService','BuiltInUIPart','undoState','beginPath','_collaborationController','useCallback','@univerjs/engine-render','RefRangeService','@univerjs-pro/collaboration','apply','LOCAL_CACHE_INTERVAL_KEY','currentTheme$','getAncestorScale','_roomMembers$','InsertRangeMoveDownCommandId','CollaborationStatusDisplay','_transformHistoryAndStateStack','SetDocZoomRatioOperation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_clearOtherTimers','_transformPreviousActiveRange','transformByState','_instanceService','getCoordByCell','prototype','registerBeforeClose','subUnitId','defs','onMouseMove','dispose','YUUMI_UNABLE_LOAD_URL','8fOANbm','setAlpha','_getAnchorBounding','mapTo','Module','mergeOverrideWithDependencies','_collabCursorState$','getTypeOfUnitAdded$','_themeService','CollaborationUIEventService','_sheetSkeletonManagerService','RECT','ILocalCacheService','cursorInfo$','getDocRanges','univer-flex\x20univer-items-center','_docSkeletonManagerService','throttleTime','@univerjs/docs','collaboration-client-ui.config','DesktopCollaborationStatusDisplayController','fromEvent','collab-text-anchor-','whenReady','on-line-icon','YUUMI_AI_RUN_FAILED','onRendered','reconnect','Workbook','DeleteRangeMoveUpCommandId','_notificationService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toStringTag','isArray','activeSheet$','registerRefRange','_initEvent','white','UNIVER_SHEET','SOCKET_FAILED_RETRY','ILocalStorageService','assignAColorForMemberID','_saveTaskMap','object','pluginName','_assignedColors','useRef','switchMap','jsx','getRenderById','size','getOffsetConfig','_lastPointer','CONNECTOR_DATA_TOO_LARGE','univer-mr-2\x20univer-flex\x20univer-text-xl','sheetId','_initStatusComponent','init','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_scene','_onCursorUpdate','_selfUnitIDs','transformSelections','touchDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','requireSession','_doCreateSocket','combineLatest','_beforeCloseService','complete','origin','_entityInit$','SetWorksheetActivateCommand','Warning','MoveRangeCommandId','collabStatus.syncing','getFocusedUnit','_cursorInfo$','_docSyncEditingCollabCursorService','UniverCollaborationClientPlugin','OTHER_CLIENT_EDITING','replaceDocRanges','YUUMI_NO_CUBOID_FOR_QUESTION','name','restore','_heartbeatTimer','focused$','values','textRanges','getVpScrollXYInfoByPosToVp','ILogService','setUndoRedoMutationParamsCache','UNIVER_DOC','UniverProCollaborationClient','MOBILE_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','disableLocalCache','path','none','startRow','OffLineIcon','hasOwnProperty','enableLocalCache','ThemeService','Rect','pushState','getRelativeToViewportCoord','ALREADY_EXISTS','_cursor','tag','translate(.97)','takeUntil','YUUMI_URL_COL_OUT_OF_RANGE','_httpService','APPLY_DUPLICATED','icon','WebBrowserSingleActiveUnitService','_scheduleClearOtherTimer','UniverInstanceType','registerRenderModule','TEXT','search','delete','collabStatus.conflict','url(#$1','_docTransformIMECacheService','toRgbString','attrs','loadOfflineData','getUndoRedoMutationParamsCache','getConfig','DEFAULT_WS_SESSION_TICKET_URL','getTypeOfUnitDisposed$','RegularPolygon','ACTIVE_UNIT_EVENT_CHANNEL','memberID','_logService','NodePositionConvertToRectRange','forwardRef','UniverProCollaboration','Vector2','column','random','YUUMI_ALL_TABLES_IS_INVALID','UniverEngineRender','...','_textBubble','hide','Tools','runId','on-line-icon_clip0_910_349','_messageService','deepClone','debounceTime','Inject','off-line-icon_clip0_910_343','BrowserCollaborationSocketService','IURLService','className','_status$','YUUMI_RATE_OVER_LIMIT','collabCursorState$','createElement','MemberService','CollaborationStatus','svg','permission.content','collaboration.single-unit.warning','ENSURE_SNAPSHOT_EXECUTION','_online','OFFLINE','onCommandExecuted','createInstance','collabStatus.notCollab','INVITE_CODE_HAS_BEEN_UES','href','transformIMECache','Failed','colorChannel1','popstate','map','EffectRefRangId','onStarting','all','unitID','_drawRectRange','USER_NOT_INVITED_CODE','Plugin','PY_RUNTIME_SCRIPT_ERROR','CollaborationSessionService','session.collaboration-timeout','USERS_LEAVE','setConfig','with','_uiPartsService','WECHAT_HAS_BEEN_BOUND','event$','92ifPyZI','_collabSessionService','_hovered','_registerRenderDependencies','debug','collab-rect-range-','JOIN_ROOM_FAILED','INTERNAL_ERROR','getCurrentSelections','Disposable','next','BehaviorSubject','_docClipboardService','find','UNRECOGNIZED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','urlChange$','redoState','_document','_handleJoinEvent','260148bukOTk','DOC_RANGE_TYPE','_removeCollabCursors','indexOf','getCollabEntity$','ticket','startsWith','RemoteUniscriptService','_name','post','_handleEvent','_init','skeleton','MUTATION','runOnServer','getOwnPropertySymbols','displayName','_hover','OnLineIcon','getRangePointData','bottom','height','ColorKit','deserializeRangeWithSheet','triggerDblclick','OTHER_CLIENTS_EDITING','_context','transform','_getSaveTimeout','length','_initStatusListener','fill','_updateURLWithCurrentState','backgroundColor','defineProperty','history','unit','idSuffix','addObject','getMember','_cursorShapes','CHANGESET_REVISION_CONFILICT','imageSourceType','set','selections','selection','@univerjs/ui','location','off-line-icon','0\x200\x2016\x2016','loadUnit','Error','subunit','WebSocketService','range','CollaborationController','clipPath','InsertRangeMoveRightCommandId','getMemberID','entries','trim','resize','IDocClipboardService','Optional','UniverCollaborationClientUIPlugin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CONFLICT','_session','use','_id','green.600','INVALID_INVITE_CODE','334614GiXwPp','then','http://www.w3.org/2000/svg','labelPosition','getValue','CollaborationDataLoaderController','body','saveImage','getCurrentRevOfUnit','jiqing.500','_univerInstanceService','from','row','COMPLETION_FINISHED','evenodd','MessageType','unshift','Rectangle','generateRandomId','handleDeleteRangeMoveLeft','NOT_COLLAB','_toggleOffline','UniverDocsUi','getActiveRange','data','DocSelectionManagerService','getSkeleton','HTTPService','_toggleOnline','@univerjs/docs-ui','#FFF','xlink:href','PENDING','source','_unitStatus','sessionTicket','_transformService','UNDEFINED','add','TEXT_RANGE_LAYER_INDEX','setShapeProps','_dataLoaderService','_colorAssignService','_initEntityListener','getItem','has','_docSkeleton','RemoveColCommandId','_startSheetCollabCursor','_getMergeRange','UPDATE_CURSOR','_setupSubUnitSync','collab-text-range-','Tooltip','closePath','_setupBeforeClosingHandler','operators','_getScale','createIdentifier','doc.mutation.rich-text-editing','INVITE_CODE_ALREADY_BOUND','round','extend','_handleHover','_refreshCollabCursors','IMessageService','RemoveRowCommandId','flatMap','react/jsx-runtime','mutations','some','exhaustSavingTask','CollaborationUIEventId','rxjs','UniverProCollaborationClientUi','type','_labelPosition','_onRefRangeChange','_updateCollabCursors','useDependency','[CollaborationDataLoaderController]','NOT_FOUND','_urlService','_scheduleHeartbeat','arc','font','assign','_localStorageService','getOwnPropertyDescriptor','PERMISSION_DENIED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','asObservable','_handleHeartbeatEvent','getColorFromTheme','useObservable','EMAIL_VERIFY_CODE_MISMATCH','VIEW_MAIN','_hideTimer','54115bRIYnD','UniverEngineFormula','isEditing','addObjects','wsSessionTicketUrl','getUnhiddenWorksheets','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','AWAITING','propertyIsEnumerable','LICENSE_IMPORT_SIZE_EXCEEDED','forEach','_ensureSubject','newValue','roomMembers$','_collabCursorController','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','getUnitId','@univerjs/design','UNAUTHENTICATED','toString','LOGIN_FAILED','SNAPSHOT_INVALID_SNAPSHOT','_removeClearOtherTimer','_drawTextRange','DocCollaborationEntity','@univerjs/network','mask','lineTo','show','_updateSubUnitFromURLParams','get','getSheetObject','onPointerMove$','push','/run/','M0\x200H16V16H0z','handleDeleteRangeMoveUp','@univerjs-pro/collaboration-client','red.300','UniverUi','clearInterval','_docStateChangeManagerService','Unknown\x20user','@univerjs/drawing','endColumn','React','rxjs/operators','transformMutation','SYNCED','executeCommand','isTransformMutationsWithChangesetSuccess','handleInsertRow','INVITE_CODE_REQUIRED','call','fillText','NodePositionConvertToCursor','disposeWithMe','IImageIoService','handleMoveRange','min','stringify','@univerjs/sheets-ui','transformRemoteChangeset','clearTimeout','_getSheetObject','storage','_eventUnsubscribe','SHEET_VIEWPORT_KEY','symbol','IConfigService','DataLoaderService'];_0xd233=function(){return _0x5bc989;};return _0xd233();}
|
|
1
|
+
function _0x202f(){const _0x4514df=['_context','RichTextEditingMutation','defIds','exhaustSavingTask','values','application/json','_initResize','_hover','whenReady','YUUMI_ALL_TABLES_IS_INVALID','ColorKit','handleDeleteRangeMoveUp','LOCAL_CACHE_INTERVAL','USERS_LEAVE','UNRECOGNIZED','pluginName','CONNECTOR_DATA_TOO_LARGE','deserializeRangeWithSheet','size','YUUMI_AI_RUN_FAILED','_cursorShapes','disposeUnit','setStateCache','DesktopCollaborationStatusDisplayController','findNodePositionByCharIndex','NOT_FOUND','toDisposable','defs','WebBrowserSingleActiveUnitService','cursorInfo','SYNCED','connectInjector','_revisionService','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','url(#on-line-icon_clip0_910_349)','APPLY_REVISION_CONFILICT','ITransformService','_draw','getMember','unitID','engine','push','getTypeOfUnitDisposed$','setShapeProps','registerBeforeClose','_onRefRangeChange','_commandService','collaboration-client-ui.config','_lastPointer','5446060VrIYrk','entityInit$','drawWith','pipe','collaboration.single-unit.warning','getStateCache','lineTo','collaboration-client.offline-data-not-saved','endColumn','collabStatus.fetchMiss','_localStorageService','CollaborationUIEventId','pushState','47287OJtEKH','_updateSubUnitFromURLParams','44OlcfPJ','addEventListener','makeDirty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Rect','IRemoteInstanceService','TOO_MANY_REQUESTS','_initCommandExecutedListener','currentColor','mergeOverrideWithDependencies','post','labelPosition','_selfUnitIDs','UniverProCollaborationClientUi','then','touchDependencies','setTimeout','rgba(255,\x20255,\x20255,\x200.01)','CollaborationStatus','moveTo','result','ranges','tag','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','OffLineIcon','defineProperty','_eventUnsubscribe','4231070KRhKrh','operators','off-line-icon_clip0_910_343','path','getValue','MUTATION','OFFLINE','_getSaveTimeout','RegularPolygon','_anchorDot','text','_cachedData','getSheetObject','string','InsertRangeMoveRightCommandId','_collaborationController','_onCursorDelete','getCurrentUnitForType','Tooltip','permission.content','DocSkeletonManagerService','2019560vHNyul','syncEditingCollabCursor','function','params','EMAIL_VERIFY_CODE_MISMATCH','CollaborationEvent','SNAPSHOT_HAS_BEEN_REMOVED','addObject','map','_collaborationUIEventService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetsSelectionsService','RemoteUniscriptService','_docSkeletonManagerService','OnLineIcon','LOCAL_CACHE_INTERVAL_KEY','subunit','fill','DocIMEInputManagerService','some','getMergeData','forwardRef','univerjs-icon\x20univerjs-icon-','UniverIcon','includes','_colorIndex','next','complete','61092OuWtNG','isTransformMutationFailure','handleInsertRow','sessionStatus$','executionId','focused$','roomMembers','_dataLoaderService','AWAITING','length','CLOSE_ROOM','height','all','DOC_RANGE_TYPE','uni.network.url-service','_getSessionTicket','WebURLService','35dqsBGJ','_updateURLWithCurrentState','getItem','currentSkeleton$','Plugin','ILogService','0\x200\x2016\x2016','IUniverInstanceService','univer-mr-2\x20univer-flex\x20univer-text-xl','mapTo','registerDependencies','_urlService','collabStatus.conflict','generateRandomId','startsWith','round','IRenderManagerService','_drawTextRange','2310600sRorYy','_docSyncEditingCollabCursorService','RefRangeService','_shapes','location','_transformHistoryAndStateStack','ICommandService','popstate','_entities','_setupSubUnitSync','updateOfflineData','DocSelectionManagerService','getOwnPropertyDescriptor','LOGIN_FAILED','_localCacheService','_refRangeService','UNIVER_DOC','registerRenderModule','urlChange$','setActiveRange','ILocalCacheService','sheetId','onLocalMutation','CollaborationSessionService','subUnitId','icon','svg','CollaborationUIEventService','unitId','_handleEvent','_themeService','hasOwnProperty','_uiPartsService','UniverProCollaborationClient','DocCollaborationEntity','name','runRefRangeMutations','white','entries','getUnhiddenWorksheets','CollaborationController','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','Shape','_getAnchorBounding','_docSkeleton','_colorAssignService','CollaborationStatusDisplay','@univerjs-pro/collaboration','row','_backgroundColor','apply','takeUntil','ALREADY_EXISTS','TEXT','max','_id','_getMergeRange','SOCKET_FAILED','MOBILE_VERIFY_CODE_MISMATCH','arc','onCommandExecuted','CHANGESET_REVISION_CONFILICT','subscribeEvent','_assignedColors','origin','DeleteRangeMoveUpCommandId','_transformUndoRedoStack','COMPLETION_FINISHED','MemberService','_univerInstanceService','RevisionService','VIEW_MAIN','replaceState','symbol','getCurrentSelections','runId','getRangePointData','@univerjs/docs','_online','_transformPreviousActiveRange','Tools','@univerjs-pro/collaboration-client','loadOfflineData','displayName','toRgbString','wsSessionTicketUrl','get','handleIRemoveCol','delete','bottom','LICENSE_IMPORT_SIZE_EXCEEDED','toString','FETCH_MISS','_saveTaskMap','0\x200\x2017\x2016','UnitStatus','href','jsx','history','9046386cBrRcJ','purple.300','disposeWithMe','random','MOBILE_HAS_BEEN_BOUND','_collabCursorState$','_updateCollabCursors','extend','_session','ISnapshotServerService','SUBMIT_CHANGESET_TIMEOUT','evenodd','onMouseMove','Disposable','doc.mutation.rich-text-editing','textRanges','DeleteRangeMoveLeftCommandId','getUndoRedoMutationParamsCache','_docTransformSelectionsService','getUniverSheetInstance','_initDependencies','getColor','_scene','_docStateChangeManagerService','colorChannel1','addObjects','clearTimeout','unsubscribe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','newValue','_initEvent','blue.400','children','BehaviorSubject','send','override','m2Prime','InsertRowCommandId','_handleJoinEvent','setParam','with','@univerjs/ui','M0\x200H16V16H0z','set','YUUMI_CONNECTOR_URL_NOT_FOUND','ONLINE','YUUMI_URL_COL_OUT_OF_RANGE','registerRefRange','show','@univerjs/sheets','_configService','init','unit','http://www.w3.org/2000/svg','_color','_cursors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','...','InsertColCommandId','restore','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','#FFF','shareReplay','IUIPartsService','split','RemoveColCommandId','getActiveRange','collabStatus.notCollab','IImageIoService','setItem','UPDATE_CURSOR','setConfig','closePath','ISocketService','mutations','Subject','NodePositionConvertToRectRange','onStarting','from','call','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','filter','_removeClearOtherTimer','1em','IBeforeCloseService','beginPath','transform','range','_httpService','INTERNAL_ERROR','INVITE_CODE_ALREADY_BOUND','trim','body','SOCKET_FAILED_RETRY','getAncestorScale','_toggleOffline','hovered','debug','_saveCache','_setupBeforeClosingHandler','UniverSheets','_cursorInfo$','replace','debounceTime','collabStatus.offline','has','getSkeleton','collab-rect-range-','CollaborationDataLoaderController','_render','IURLService','_status$','green.600','INVALID_ARGUMENT','EMAIL_HAS_BEEN_BOUND','removeParam','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','_unitOnClients','ThemeService','session.will-retry','rxjs','useCallback','isArray','undoState','selection','setUndoRedoMutationParamsCache','getRenderById','registerComponent','unshift','_anchor','_removeCollabCursors','IMessageService','YUUMI_NO_CUBOID_FOR_QUESTION','INVITE_CODE_REQUIRED','IConfigService','Unknown\x20user','_syncEditingCollabCursorService','_createSocketURL','UniverUi','ILocalStorageService','Warning','_memberService','div','6PUNizU','activeSheet$','getVpScrollXYInfoByPosToVp','sessionTicket','_drawRectRange','MoveRangeCommandId','rxjs/operators','_getSheetObject','react','4PAnujX','use','width','off-line-icon','OTHER_CLIENT_EDITING','color','getCollabEntity$','dispose$','@univerjs/sheets-ui','getCollabCursors$','NodePositionConvertToCursor','@univerjs/engine-formula','transformMutationsWithChangeset','_heartbeatTimer','EffectRefRangId','INotificationService','attrs','_startDocCollabCursor','_entityInit$','permission.title','fillStyle','forEach','_registerDependencies','getLocalCacheKey','_transformService','transformRemoteChangeset','SessionStatus','DataLoaderService','Injector','MessageType','react/jsx-runtime','_refreshCollabCursors','getColorFromTheme','getParam','assignAColorForMemberID','event$','33ZAIZWu','on-line-icon_clip0_910_349','Rectangle','DisposableCollection','collabCursorState$','PERMISSION_DENIED','RxDisposable','debounce','@univerjs/drawing','CommandType','actions','Vector2','_injector','add','translate(.97)','_send','JOIN_ROOM_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_docTransformIMECacheService','throttleTime','prototype','_docClipboardService','transformMutation','_localeService','_disabled','getUnitId','currentTheme$','UniverNetwork','@univerjs/docs-ui','runOnServer','_roomMembers$','INVALID_INVITE_CODE','save','YUUMI_UNABLE_LOAD_URL','USER_NOT_INVITED_CODE','UniverEngineFormula','getSheetBySheetId','serializeRangeWithSheet','fillText','dispose','key','LocaleService','addHandlerCallback','onPointerMove$','font','requireSession','getMemberID','_sheetSkeletonManagerService','top','_startSheetCollabCursor','getTypeOfUnitAdded$','measureText','_handleHover','UNAUTHENTICATED','_onCursorUpdate','onPointerLeave$','collab-text-anchor-','transformStateCache','type','DEFAULT_WS_SESSION_TICKET_URL','_drawAnchor','handleMoveRange','_config','docStateChange$','useObservable','flatMap','getFocusedUnit','useDependency','createInstance','_collabCursorController','_scheduleHeartbeat','onPointerEnter$','UniverRpc','@univerjs/rpc','_instanceService','YUUMI_RATE_OVER_LIMIT','addClipboardHook','merge','AWAITING_WITH_PENDING','_updateLocalCursor','deepClone','amd','_messageService','UniverDesign','clsx','mask','SNAPSHOT_INVALID_SNAPSHOT','getViewport','_name','NOT_COLLAB','_docTransformStateCacheService','collaboration.closeRoom','UNIVER_SHEET','isTransformMutationsWithChangesetSuccess','FromArray','WECHAT_HAS_BEEN_BOUND','toStringTag','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error','[CollaborationDataLoaderController]','SetSelectionsOperation','_imageIoService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverDocs','getOwnPropertySymbols','_getScale','_doCreateSocket','SetWorksheetActivateCommand','idSuffix','_handleLeaveEvent','handleInsertRangeMoveDown','saveImage','yellow.400','HEADER_MENU','transformSelections','handleIRemoveRow','propertyIsEnumerable','code','executeCommand','m1Prime','indexOf','_initEntityListener','_textBubble','roomMembers$','switchMap','cursorInfo$','_toggleOnline','collabStatus.synced','onTransformChange$','_range','_hovered','min','on-line-icon','_initStatusListener','Inject','APPLY_REJECT','clearInterval','url(#off-line-icon_clip0_910_343)','UniverCollaborationClientPlugin','searchParams','jsxs','collab-client.tooltip.reconnect','NO_OTHER_CLIENTS_EDITING','memberID','isActive','UniverCollaborationClientUIPlugin','_logService','getOffsetConfig','UNDEFINED','WebSocketService','redoState','LICENSE_DISTRO_REJECTED','getSheetId','_unitStatus','_hideTimer','LICENSE_MAX_UNITS_EXCEEDED','OTHER_CLIENTS_EDITING','_scheduleClearOtherTimer','_labelPosition','xlink:href','Workbook','fromEvent','substring','getCellPositionByOffset','hide','column','UniverSheetsUi','UniverProCollaboration','COLORS','getConfig','onRendered','PY_RUNTIME_SCRIPT_ERROR','SheetSkeletonManagerService','none','PENDING','BrowserCollaborationSocketService','concat','setAlpha','clipPath','_init','stringify','ACTIVE_UNIT_EVENT_CHANNEL','getCurrentRevOfUnit','Error','saveTaskMap','createElement','combineLatest','_initStatusComponent','isEditing','React','black','storage','disableLocalCache','getCoordByCell','subscribe','DocStateChangeManagerService','UniverInstanceType','_renderManagerService','INVITE_CODE_HAS_BEEN_UES','data','@univerjs/core','fillRule','UniverDrawing','_cursor','assign','TEXT_RANGE_LAYER_INDEX','contains','CONFLICT','_clearOtherTimers','_beforeCloseService','createIdentifier','className','@univerjs/design','object','ENSURE_SNAPSHOT_EXECUTION','imageSourceType','handleInsertRangeMoveRight','UniverDocsUi','eventID','transformIMECache','asObservable'];_0x202f=function(){return _0x4514df;};return _0x202f();}function _0x4e08(_0xc70499,_0x989cf9){const _0x202f5d=_0x202f();return _0x4e08=function(_0x4e08ef,_0x5e6ca0){_0x4e08ef=_0x4e08ef-0x149;let _0x5c0815=_0x202f5d[_0x4e08ef];return _0x5c0815;},_0x4e08(_0xc70499,_0x989cf9);}(function(_0x5ede82,_0x52b37b){const _0x262a8d=_0x4e08,_0x2d4042=_0x5ede82();while(!![]){try{const _0x1c5bf5=parseInt(_0x262a8d(0x316))/0x1*(-parseInt(_0x262a8d(0x318))/0x2)+-parseInt(_0x262a8d(0x387))/0x3*(-parseInt(_0x262a8d(0x1d6))/0x4)+-parseInt(_0x262a8d(0x309))/0x5*(-parseInt(_0x262a8d(0x1cd))/0x6)+-parseInt(_0x262a8d(0x375))/0x7*(-parseInt(_0x262a8d(0x348))/0x8)+-parseInt(_0x262a8d(0x3eb))/0x9+-parseInt(_0x262a8d(0x333))/0xa+-parseInt(_0x262a8d(0x1fa))/0xb*(parseInt(_0x262a8d(0x364))/0xc);if(_0x1c5bf5===_0x52b37b)break;else _0x2d4042['push'](_0x2d4042['shift']());}catch(_0x41c93e){_0x2d4042['push'](_0x2d4042['shift']());}}}(_0x202f,0x9bb5d),function(_0x57c41b,_0x44a9b3){const _0x54e9c0=_0x4e08;typeof exports==_0x54e9c0(0x2cf)&&typeof module<'u'?_0x44a9b3(exports,require(_0x54e9c0(0x3d9)),require(_0x54e9c0(0x2c2)),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x54e9c0(0x202)),require(_0x54e9c0(0x1b6)),require(_0x54e9c0(0x3b7)),require(_0x54e9c0(0x3d5)),require(_0x54e9c0(0x1e1)),require(_0x54e9c0(0x16f)),require(_0x54e9c0(0x1d3)),require('@univerjs/sheets-ui'),require(_0x54e9c0(0x1f4)),require(_0x54e9c0(0x167)),require(_0x54e9c0(0x2ce)),require(_0x54e9c0(0x1d5)),require('@univerjs/rpc')):typeof define==_0x54e9c0(0x34a)&&define[_0x54e9c0(0x24b)]?define(['exports',_0x54e9c0(0x3d9),_0x54e9c0(0x2c2),'@univerjs/engine-render','@univerjs/network',_0x54e9c0(0x216),_0x54e9c0(0x202),_0x54e9c0(0x1b6),'@univerjs-pro/collaboration',_0x54e9c0(0x3d5),_0x54e9c0(0x1e1),'@univerjs/sheets',_0x54e9c0(0x1d3),_0x54e9c0(0x1de),_0x54e9c0(0x1f4),_0x54e9c0(0x167),'@univerjs/design',_0x54e9c0(0x1d5),_0x54e9c0(0x243)],_0x44a9b3):(_0x57c41b=typeof globalThis<'u'?globalThis:_0x57c41b||self,_0x44a9b3(_0x57c41b[_0x54e9c0(0x325)]={},_0x57c41b[_0x54e9c0(0x3a8)],_0x57c41b['UniverCore'],_0x57c41b['UniverEngineRender'],_0x57c41b[_0x54e9c0(0x215)],_0x57c41b[_0x54e9c0(0x2d3)],_0x57c41b[_0x54e9c0(0x2c4)],_0x57c41b[_0x54e9c0(0x1b6)],_0x57c41b[_0x54e9c0(0x2a1)],_0x57c41b[_0x54e9c0(0x261)],_0x57c41b[_0x54e9c0(0x21d)],_0x57c41b[_0x54e9c0(0x1a2)],_0x57c41b['rxjs'][_0x54e9c0(0x334)],_0x57c41b[_0x54e9c0(0x2a0)],_0x57c41b['React'],_0x57c41b[_0x54e9c0(0x1c8)],_0x57c41b[_0x54e9c0(0x24d)],_0x57c41b[_0x54e9c0(0x2b7)],_0x57c41b[_0x54e9c0(0x242)]));}(this,function(_0x278b89,_0x32d137,_0x20daf4,_0x40e770,_0x5a08b0,_0x4ee3f0,_0xa92c0,_0x540cdf,_0x194445,_0xcaeb17,_0x200970,_0x3340d2,_0x48f7d9,_0x5213cd,_0x2e67d2,_0x248344,_0x198d0b,_0x22e119,_0xe4754e){'use strict';const _0x8769c8=_0x4e08;var _0xba289e=Object[_0x8769c8(0x331)],_0x48a3ad=(_0x2f9d93,_0x2b6783,_0x1fbf61)=>_0x2b6783 in _0x2f9d93?_0xba289e(_0x2f9d93,_0x2b6783,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1fbf61}):_0x2f9d93[_0x2b6783]=_0x1fbf61,_0x54ae28=(_0x545f69,_0x50e0a6,_0x10cc9f)=>_0x48a3ad(_0x545f69,typeof _0x50e0a6!=_0x8769c8(0x3d1)?_0x50e0a6+'':_0x50e0a6,_0x10cc9f),_0x4ede04=Object['getOwnPropertyDescriptor'],_0x576c4a=(_0x522529,_0x467865,_0x14848e,_0x1da74e)=>{for(var _0x37ed12=_0x1da74e>0x1?void 0x0:_0x1da74e?_0x4ede04(_0x467865,_0x14848e):_0x467865,_0x545860=_0x522529['length']-0x1,_0x35d49f;_0x545860>=0x0;_0x545860--)(_0x35d49f=_0x522529[_0x545860])&&(_0x37ed12=_0x35d49f(_0x37ed12)||_0x37ed12);return _0x37ed12;},_0x2a5329=(_0x244b6a,_0x49c0a9)=>(_0xdedd32,_0x3b3ffd)=>_0x49c0a9(_0xdedd32,_0x3b3ffd,_0x244b6a);let _0x3e963e=class extends _0x20daf4[_0x8769c8(0x200)]{constructor(_0x21d484,_0xf72400){const _0x106d2e=_0x8769c8;super(),this[_0x106d2e(0x20f)]=_0x21d484,this['_imageIoService']=_0xf72400,this[_0x106d2e(0x2ad)]();}[_0x8769c8(0x2ad)](){const _0x23a8ce=_0x8769c8,_0x5216f7=this;this[_0x23a8ce(0x3ed)](this[_0x23a8ce(0x20f)][_0x23a8ce(0x246)]({'onBeforePasteImage':async _0x13e71e=>{const _0x3aa74e=_0x23a8ce,_0x132056=await _0x5216f7[_0x3aa74e(0x25f)][_0x3aa74e(0x269)](_0x13e71e);return _0x132056?{'source':_0x132056['source'],'imageSourceType':_0x132056[_0x3aa74e(0x2d1)]}:null;}}));}};_0x3e963e=_0x576c4a([_0x2a5329(0x0,_0x4ee3f0['IDocClipboardService']),_0x2a5329(0x1,_0xa92c0[_0x8769c8(0x182)])],_0x3e963e);const _0x582aab=[_0x8769c8(0x3ec),'jiqing.500',_0x8769c8(0x1ae),'red.300',_0x8769c8(0x15d),_0x8769c8(0x26a)];class _0x57e7c6 extends _0x20daf4['Disposable']{constructor(){const _0x4b8ddc=_0x8769c8;super(...arguments),_0x54ae28(this,_0x4b8ddc(0x3c7),new Map()),_0x54ae28(this,'_colorIndex',0x0);}[_0x8769c8(0x1f8)](_0x548d83){const _0x3af72d=_0x8769c8;if(this[_0x3af72d(0x3c7)]['has'](_0x548d83))return this[_0x3af72d(0x3c7)][_0x3af72d(0x3de)](_0x548d83);const _0x4b93cd=_0x582aab[this[_0x3af72d(0x361)]];return this[_0x3af72d(0x361)]=(this[_0x3af72d(0x361)]+0x1)%_0x582aab[_0x3af72d(0x36d)],this['_assignedColors'][_0x3af72d(0x169)](_0x548d83,_0x4b93cd),_0x4b93cd;}}function _0x24b08e(_0x633392){let _0x5daf8b='';for(const _0x5a8ae4 of _0x633392){const {startOffset:_0xd53c64,endOffset:_0x38815d,isActive:_0x16b695,rangeType:_0x4d2c88,segmentId:_0x5a3446,segmentPage:_0x3ba479}=_0x5a8ae4;_0x5daf8b['length']&&(_0x5daf8b+=','),_0x5daf8b+=_0xd53c64+':'+_0x38815d+':'+(_0x16b695?'1':'0')+':'+_0x4d2c88+':'+_0x5a3446+':'+_0x3ba479;}return _0x5daf8b;}function _0x15c1ba(_0x32c72c){const _0x528f6c=_0x8769c8,_0x1d59d9=_0x32c72c[_0x528f6c(0x17e)](','),_0x2ae607=[];for(const _0x9a5936 of _0x1d59d9){const [_0x1de5a9,_0x1e9307,_0x4a194b,_0x261738,_0x4caec4,_0x11b63a]=_0x9a5936[_0x528f6c(0x17e)](':');_0x2ae607[_0x528f6c(0x301)]({'startOffset':Number(_0x1de5a9),'endOffset':Number(_0x1e9307),'collapsed':_0x1de5a9===_0x1e9307,'isActive':_0x4a194b==='1','rangeType':_0x261738===_0x20daf4[_0x528f6c(0x371)]['TEXT']?_0x20daf4['DOC_RANGE_TYPE'][_0x528f6c(0x3bd)]:_0x20daf4[_0x528f6c(0x371)]['RECT'],'segmentId':typeof _0x4caec4==_0x528f6c(0x340)?String(_0x4caec4):'','segmentPage':Number(_0x11b63a!=null?_0x11b63a:-0x1)});}return _0x2ae607[_0x528f6c(0x35b)](_0x4d50dc=>_0x4d50dc[_0x528f6c(0x28a)])||(_0x2ae607[0x0]['isActive']=!0x0),_0x2ae607;}class _0x247b51 extends _0x20daf4['RxDisposable']{constructor(){const _0x392b52=_0x8769c8;super(...arguments),_0x54ae28(this,_0x392b52(0x3f0),new _0x540cdf[(_0x392b52(0x15f))](null)),_0x54ae28(this,_0x392b52(0x1fe),this[_0x392b52(0x3f0)]['asObservable']());}['syncEditingCollabCursor'](_0x5d4a73){const _0x5a4234=_0x8769c8,{unitID:_0x197930,memberID:_0x22da10,textRanges:_0x556670}=_0x5d4a73,_0x2314ed=_0x24b08e(_0x556670);if(_0x2314ed==='')return;const _0x2f6dbb={'unitID':_0x197930,'memberID':_0x22da10,'selection':_0x2314ed};this['_collabCursorState$'][_0x5a4234(0x362)](_0x2f6dbb);}}var _0x54eecf=Object[_0x8769c8(0x393)],_0x52f5a6=(_0x357425,_0x4e8073,_0x3cc757,_0x1a463f)=>{const _0x3546fe=_0x8769c8;for(var _0x1aeef8=_0x1a463f>0x1?void 0x0:_0x1a463f?_0x54eecf(_0x4e8073,_0x3cc757):_0x4e8073,_0x32239e=_0x357425[_0x3546fe(0x36d)]-0x1,_0x5a272f;_0x32239e>=0x0;_0x32239e--)(_0x5a272f=_0x357425[_0x32239e])&&(_0x1aeef8=_0x5a272f(_0x1aeef8)||_0x1aeef8);return _0x1aeef8;},_0x20cb73=(_0xbaf69b,_0x1e6ce9)=>(_0x5282fd,_0x47ab56)=>_0x1e6ce9(_0x5282fd,_0x47ab56,_0xbaf69b);const _0x4f2ff4=0x12c,_0x8d0eb1=0x64;let _0x2f311f=class extends _0x20daf4[_0x8769c8(0x200)]{constructor(_0x25b41e,_0x5f402c,_0x5c809a,_0x289d31,_0x5e3689,_0x466874,_0x8ccaaa,_0x442298,_0x319c07){const _0xb5d589=_0x8769c8;super(),_0x54ae28(this,_0xb5d589(0x3d6),!0x1),_0x54ae28(this,_0xb5d589(0x2ad),!0x1),_0x54ae28(this,_0xb5d589(0x1a3),new _0x540cdf[(_0xb5d589(0x15f))](new Map())),_0x54ae28(this,_0xb5d589(0x277),this[_0xb5d589(0x1a3)][_0xb5d589(0x2d6)]()),_0x54ae28(this,_0xb5d589(0x218),new _0x540cdf[(_0xb5d589(0x15f))]([])),_0x54ae28(this,'roomMembers$',this[_0xb5d589(0x218)][_0xb5d589(0x30c)](_0x540cdf[_0xb5d589(0x1a5)](_0x4f2ff4))),_0x54ae28(this,_0xb5d589(0x249),_0x20daf4[_0xb5d589(0x201)](_0x58da37=>{const _0x1ba159=_0xb5d589,_0x5b4940={'eventID':_0x194445[_0x1ba159(0x34d)][_0x1ba159(0x184)],'data':{'unitID':this[_0x1ba159(0x2ff)],'memberID':this[_0x1ba159(0x3f3)][_0x1ba159(0x228)](),'selection':_0x24b08e(_0x58da37)}};this['_session'][_0x1ba159(0x160)](_0x5b4940,this['unitID']);},_0x8d0eb1)),(this[_0xb5d589(0x2ff)]=_0x25b41e,this[_0xb5d589(0x3f3)]=_0x5f402c,this['_injector']=_0x5c809a,this[_0xb5d589(0x3b5)]=_0x289d31,this['_memberService']=_0x5e3689,this[_0xb5d589(0x1c6)]=_0x466874,this[_0xb5d589(0x1ee)]=_0x8ccaaa,this[_0xb5d589(0x3cd)]=_0x442298,this[_0xb5d589(0x306)]=_0x319c07);}get[_0x8769c8(0x2f4)](){const _0x5861a7=_0x8769c8;return this[_0x5861a7(0x1a3)][_0x5861a7(0x337)]();}get[_0x8769c8(0x36a)](){const _0x132c7=_0x8769c8;return this[_0x132c7(0x218)][_0x132c7(0x337)]();}[_0x8769c8(0x221)](){const _0x2ddd31=_0x8769c8;super[_0x2ddd31(0x221)](),this[_0x2ddd31(0x1a3)][_0x2ddd31(0x362)](new Map()),this['_cursorInfo$'][_0x2ddd31(0x363)](),this['_roomMembers$'][_0x2ddd31(0x362)]([]),this[_0x2ddd31(0x218)]['complete']();}[_0x8769c8(0x171)](){const _0x2e3bff=_0x8769c8;this[_0x2e3bff(0x2ad)]||(this[_0x2e3bff(0x2ad)]=!0x0,this[_0x2e3bff(0x3f3)][_0x2e3bff(0x367)][_0x2e3bff(0x30c)](_0x540cdf['takeUntil'](this[_0x2e3bff(0x1dd)]))[_0x2e3bff(0x2bc)](_0x5e6393=>{const _0x184f03=_0x2e3bff;_0x5e6393===_0x32d137['SessionStatus'][_0x184f03(0x16b)]?this[_0x184f03(0x278)]():this[_0x184f03(0x19d)]();}),this[_0x2e3bff(0x3f3)][_0x2e3bff(0x1f9)][_0x2e3bff(0x30c)](_0x540cdf['takeUntil'](this[_0x2e3bff(0x1dd)]))[_0x2e3bff(0x2bc)](_0x43b9cd=>{const _0x2ea075=_0x2e3bff,_0x19710d=_0x43b9cd[_0x2ea075(0x2d4)];_0x19710d===_0x194445[_0x2ea075(0x34d)][_0x2ea075(0x184)]&&this[_0x2ea075(0x230)](_0x43b9cd),_0x19710d===_0x194445[_0x2ea075(0x34d)]['USERS_LEAVE']&&this[_0x2ea075(0x343)](_0x43b9cd);}),this[_0x2e3bff(0x3ed)](this[_0x2e3bff(0x306)][_0x2e3bff(0x3c4)](_0x50c66c=>{const _0x3efb17=_0x2e3bff,_0x4e881a=_0x50c66c[_0x3efb17(0x34b)];_0x4e881a!=null&&this[_0x3efb17(0x3d6)]&&_0x50c66c['id']===_0xcaeb17['SetTextSelectionsOperation']['id']&&_0x4e881a[_0x3efb17(0x3a3)]===this[_0x3efb17(0x2ff)]&&_0x4e881a[_0x3efb17(0x2b6)]===!0x1&&_0x4e881a[_0x3efb17(0x32d)]['length']>0x0&&this[_0x3efb17(0x249)](_0x4e881a[_0x3efb17(0x32d)]);})),this[_0x2e3bff(0x1c6)][_0x2e3bff(0x1fe)][_0x2e3bff(0x30c)](_0x540cdf['takeUntil'](this[_0x2e3bff(0x1dd)]))[_0x2e3bff(0x2bc)](_0xbf786c=>{const _0x3d512d=_0x2e3bff;if((_0xbf786c==null?void 0x0:_0xbf786c['unitID'])!==this[_0x3d512d(0x2ff)])return;const _0x2d1140={'eventID':_0x194445['CollaborationEvent']['UPDATE_CURSOR'],'data':_0xbf786c};this['_onCursorUpdate'](_0x2d1140);}),this[_0x2e3bff(0x3ed)](this['_commandService']['onCommandExecuted'](_0x3639af=>{const _0xb737a0=_0x2e3bff;if(_0x3639af[_0xb737a0(0x34b)]==null)return;const _0x4c48b6=_0x3639af[_0xb737a0(0x34b)];if(_0x3639af['id']!==_0xcaeb17[_0xb737a0(0x2d8)]['id']||_0x4c48b6[_0xb737a0(0x3a3)]!==this[_0xb737a0(0x2ff)])return;const _0x18ac4f={'id':'doc.mutation.rich-text-editing','params':_0x4c48b6},_0x3d9726=this[_0xb737a0(0x2f4)];for(const [_0x253662,_0x339995]of _0x3d9726){const _0x5c1994={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x339995['ranges']}},_0x554b36=this[_0xb737a0(0x1ee)][_0xb737a0(0x210)](_0x18ac4f,_0x5c1994,!0x1);if(_0x194445[_0xb737a0(0x365)](_0x554b36))throw _0x554b36[_0xb737a0(0x25c)];_0x3d9726[_0xb737a0(0x169)](_0x253662,{..._0x339995,'ranges':_0x554b36[_0xb737a0(0x162)][_0xb737a0(0x34b)][_0xb737a0(0x14d)]});}queueMicrotask(()=>{const _0x1963a2=_0xb737a0;this[_0x1963a2(0x1a3)][_0x1963a2(0x362)](_0x3d9726);});})));}[_0x8769c8(0x230)](_0x3d3356){const _0x1ee9c9=_0x8769c8;var _0x39b4dd,_0x57053f;const {memberID:_0x29b4a2,selection:_0x58e226}=_0x3d3356[_0x1ee9c9(0x2c1)],_0x18a27d=_0x15c1ba(_0x58e226),_0x35b6ef=(_0x57053f=(_0x39b4dd=this[_0x1ee9c9(0x1cb)][_0x1ee9c9(0x2fe)](this[_0x1ee9c9(0x2ff)],_0x29b4a2))==null?void 0x0:_0x39b4dd[_0x1ee9c9(0x3aa)])!=null?_0x57053f:'Unknown\x20user',_0x8ff110={'color':this[_0x1ee9c9(0x3b5)][_0x1ee9c9(0x1f8)](_0x29b4a2),'name':_0x35b6ef,'ranges':_0x18a27d},_0x32a9a9=this[_0x1ee9c9(0x2f4)];_0x32a9a9[_0x1ee9c9(0x169)](_0x29b4a2,_0x8ff110),this['_cursorInfo$'][_0x1ee9c9(0x362)](_0x32a9a9);}[_0x8769c8(0x343)](_0x3891e5){const _0x18cc75=_0x8769c8,{memberID:_0x35e011}=_0x3891e5[_0x18cc75(0x2c1)],_0x40e169=this[_0x18cc75(0x2f4)];_0x40e169[_0x18cc75(0x3e0)](_0x35e011),this[_0x18cc75(0x1a3)][_0x18cc75(0x362)](_0x40e169);}[_0x8769c8(0x278)](){const _0x12efe8=_0x8769c8;var _0x36404d;if(this[_0x12efe8(0x3d6)]=!0x0,((_0x36404d=this[_0x12efe8(0x3cd)][_0x12efe8(0x23c)]())==null?void 0x0:_0x36404d[_0x12efe8(0x213)]())!==this[_0x12efe8(0x2ff)])return;const _0x51cda8=this[_0x12efe8(0x206)][_0x12efe8(0x3de)](_0xcaeb17[_0x12efe8(0x392)])['getDocRanges']();Array[_0x12efe8(0x1b8)](_0x51cda8)&&_0x51cda8['length']>0x0&&this['_updateLocalCursor'](_0x51cda8);}[_0x8769c8(0x19d)](){const _0x5e22ea=_0x8769c8;this[_0x5e22ea(0x3d6)]=!0x1;}};_0x2f311f=_0x52f5a6([_0x20cb73(0x2,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0x20cb73(0x3,_0x20daf4[_0x8769c8(0x280)](_0x57e7c6)),_0x20cb73(0x4,_0x20daf4[_0x8769c8(0x280)](_0x32d137['MemberService'])),_0x20cb73(0x5,_0x20daf4['Inject'](_0x247b51)),_0x20cb73(0x6,_0x194445[_0x8769c8(0x2fc)]),_0x20cb73(0x7,_0x20daf4[_0x8769c8(0x37c)]),_0x20cb73(0x8,_0x20daf4[_0x8769c8(0x38d)])],_0x2f311f);var _0xf95a79=Object['getOwnPropertyDescriptor'],_0x162e07=(_0x4451a7,_0x585d9c,_0x4f9a68,_0x3f19b3)=>{for(var _0x5386c9=_0x3f19b3>0x1?void 0x0:_0x3f19b3?_0xf95a79(_0x585d9c,_0x4f9a68):_0x585d9c,_0x101d6f=_0x4451a7['length']-0x1,_0x41cc57;_0x101d6f>=0x0;_0x101d6f--)(_0x41cc57=_0x4451a7[_0x101d6f])&&(_0x5386c9=_0x41cc57(_0x5386c9)||_0x5386c9);return _0x5386c9;},_0x536ef6=(_0x5e8830,_0x3d5444)=>(_0x13055e,_0x2e53dd)=>_0x3d5444(_0x13055e,_0x2e53dd,_0x5e8830);const _0x486b83=0x12c,_0x37f3dc=0x64,_0x3a25eb=()=>{let _0x146561=[],_0x165382=!0x1;return _0x323f7c=>{const _0x5153de=_0x4e08;_0x146561[_0x5153de(0x301)](_0x323f7c),_0x165382||(_0x165382=!0x0,setTimeout(()=>{const _0x330577=_0x5153de;_0x146561[_0x330577(0x1eb)](_0x30cb96=>_0x30cb96()),_0x146561=[],_0x165382=!0x1;}));};};let _0x2041ff=class extends _0x20daf4['RxDisposable']{constructor(_0x1319e6,_0x150747,_0x1ee2a4,_0x318caf,_0x189d35,_0x1664a0,_0x5a071c,_0x18c9fd){const _0x13ab6d=_0x8769c8;super(),_0x54ae28(this,_0x13ab6d(0x3d6),!0x1),_0x54ae28(this,_0x13ab6d(0x2ad),!0x1),_0x54ae28(this,_0x13ab6d(0x1a3),new _0x540cdf[(_0x13ab6d(0x15f))](new Map())),_0x54ae28(this,_0x13ab6d(0x277),this[_0x13ab6d(0x1a3)]['asObservable']()),_0x54ae28(this,'_roomMembers$',new _0x540cdf[(_0x13ab6d(0x15f))]([])),_0x54ae28(this,_0x13ab6d(0x275),this[_0x13ab6d(0x218)][_0x13ab6d(0x30c)](_0x540cdf['debounceTime'](_0x486b83))),_0x54ae28(this,'_updateLocalCursor',_0x20daf4['debounce']((_0x599555,_0x5cd36a)=>{const _0x15aee4=_0x13ab6d,_0x1743c3={'eventID':_0x194445[_0x15aee4(0x34d)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x15aee4(0x2ff)],'memberID':this[_0x15aee4(0x3f3)][_0x15aee4(0x228)](),'selection':_0x200970[_0x15aee4(0x21f)](_0x599555,_0x5cd36a[_0x15aee4(0x195)])}};this['_session'][_0x15aee4(0x160)](_0x1743c3,this[_0x15aee4(0x2ff)]);},_0x37f3dc)),(this['unitID']=_0x1319e6,this[_0x13ab6d(0x3f3)]=_0x150747,this['_injector']=_0x1ee2a4,this['_colorAssignService']=_0x318caf,this[_0x13ab6d(0x1cb)]=_0x189d35,this[_0x13ab6d(0x3cd)]=_0x1664a0,this[_0x13ab6d(0x306)]=_0x5a071c,this['_refRangeService']=_0x18c9fd);}get[_0x8769c8(0x2f4)](){const _0x5ed581=_0x8769c8;return this[_0x5ed581(0x1a3)][_0x5ed581(0x337)]();}get['roomMembers'](){const _0x2eb6d6=_0x8769c8;return this[_0x2eb6d6(0x218)][_0x2eb6d6(0x337)]();}[_0x8769c8(0x221)](){const _0x4c9312=_0x8769c8;super[_0x4c9312(0x221)](),this['_cursorInfo$'][_0x4c9312(0x362)](new Map()),this[_0x4c9312(0x1a3)]['complete'](),this[_0x4c9312(0x218)][_0x4c9312(0x362)]([]),this[_0x4c9312(0x218)]['complete']();}[_0x8769c8(0x171)](){const _0x142030=_0x8769c8;this[_0x142030(0x2ad)]||(this[_0x142030(0x2ad)]=!0x0,this[_0x142030(0x3f3)][_0x142030(0x367)][_0x142030(0x30c)](_0x540cdf[_0x142030(0x3bb)](this[_0x142030(0x1dd)]))[_0x142030(0x2bc)](_0x38d6c8=>{const _0x595ad5=_0x142030;_0x38d6c8===_0x32d137[_0x595ad5(0x1f0)][_0x595ad5(0x16b)]?this[_0x595ad5(0x278)]():this['_toggleOffline']();}),this[_0x142030(0x3f3)][_0x142030(0x1f9)][_0x142030(0x30c)](_0x540cdf[_0x142030(0x3bb)](this[_0x142030(0x1dd)]))[_0x142030(0x2bc)](_0x2ad975=>{const _0x257929=_0x142030,_0x5ac498=_0x2ad975['eventID'];_0x5ac498===_0x194445[_0x257929(0x34d)][_0x257929(0x184)]&&this[_0x257929(0x230)](_0x2ad975),_0x5ac498===_0x194445[_0x257929(0x34d)][_0x257929(0x2e4)]&&this[_0x257929(0x343)](_0x2ad975);}),this[_0x142030(0x305)](),this[_0x142030(0x3ed)](this[_0x142030(0x306)][_0x142030(0x3c4)](_0x4d0ffb=>{const _0x92ad47=_0x142030;if(this[_0x92ad47(0x3d6)]&&_0x4d0ffb['id']===_0x3340d2[_0x92ad47(0x25e)]['id']&&_0x4d0ffb['params'][_0x92ad47(0x3a3)]===this[_0x92ad47(0x2ff)]){const _0x501f1f=_0x4d0ffb[_0x92ad47(0x34b)];this[_0x92ad47(0x249)](_0x501f1f[_0x92ad47(0x39f)],_0x501f1f['selections'][0x0]);}})));}[_0x8769c8(0x230)](_0x4fedff){const _0x56c590=_0x8769c8;var _0x1bc501,_0x29b92e;const {memberID:_0x4b5c5b,selection:_0x48f85e}=_0x4fedff[_0x56c590(0x2c1)],{sheetName:_0x3f4529,range:_0x4b3fbf}=_0x200970[_0x56c590(0x2e8)](_0x48f85e),_0x4d53e3={'name':(_0x29b92e=(_0x1bc501=this[_0x56c590(0x1cb)][_0x56c590(0x2fe)](this[_0x56c590(0x2ff)],_0x4b5c5b))==null?void 0x0:_0x1bc501['name'])!=null?_0x29b92e:_0x56c590(0x1c5),'range':this['_getMergeRange'](_0x3f4529,_0x4b3fbf),'sheetID':_0x3f4529,'color':this[_0x56c590(0x3b5)]['assignAColorForMemberID'](_0x4b5c5b),'selection':_0x48f85e},_0x29d271=this[_0x56c590(0x2f4)];_0x29d271['set'](_0x4b5c5b,_0x4d53e3),this[_0x56c590(0x1a3)][_0x56c590(0x362)](_0x29d271);}[_0x8769c8(0x343)](_0x15e51e){const _0x37e85a=_0x8769c8,{memberID:_0x170ff9}=_0x15e51e[_0x37e85a(0x2c1)],_0x1dd0e6=this[_0x37e85a(0x2f4)];_0x1dd0e6['delete'](_0x170ff9),this[_0x37e85a(0x1a3)]['next'](_0x1dd0e6);}[_0x8769c8(0x3c0)](_0x4ad2ca,_0x4eb634){const _0x51f137=_0x8769c8;var _0x534c9c,_0x41b48f;const _0x5f3f38=(_0x41b48f=(_0x534c9c=this[_0x51f137(0x3cd)][_0x51f137(0x151)](this[_0x51f137(0x2ff)]))==null?void 0x0:_0x534c9c[_0x51f137(0x21e)](_0x4ad2ca))==null?void 0x0:_0x41b48f[_0x51f137(0x35c)]();return(_0x5f3f38==null?void 0x0:_0x5f3f38['find'](_0x60de8e=>_0x20daf4[_0x51f137(0x1fc)][_0x51f137(0x2c8)](_0x60de8e,_0x4eb634)))||_0x4eb634;}[_0x8769c8(0x305)](){const _0x479e38=_0x8769c8,_0x8a8c5e=new _0x20daf4[(_0x479e38(0x1fd))](),_0x3eb9a3=_0x3a25eb(),_0x3deb48=()=>{const _0x1f0763=_0x479e38;_0x8a8c5e[_0x1f0763(0x221)]();const _0x304595=(_0x13c798,_0x5c8ec8,_0x12239e,_0x847098)=>{const _0x5d2cd0=_0x1f0763;let _0x1456d0=[];switch(_0x13c798['id']){case _0x3340d2['EffectRefRangId'][_0x5d2cd0(0x14e)]:{_0x1456d0=_0x3340d2['handleDeleteRangeMoveLeft'](_0x13c798,_0x847098);break;}case _0x3340d2[_0x5d2cd0(0x1e4)][_0x5d2cd0(0x3c9)]:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x2e2)](_0x13c798,_0x847098);break;}case _0x3340d2['EffectRefRangId'][_0x5d2cd0(0x178)]:{_0x1456d0=_0x3340d2['handleInsertCol'](_0x13c798,_0x847098);break;}case _0x3340d2['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x268)](_0x13c798,_0x847098);break;}case _0x3340d2[_0x5d2cd0(0x1e4)][_0x5d2cd0(0x341)]:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x2d2)](_0x13c798,_0x847098);break;}case _0x3340d2[_0x5d2cd0(0x1e4)][_0x5d2cd0(0x163)]:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x366)](_0x13c798,_0x847098);break;}case _0x3340d2[_0x5d2cd0(0x1e4)][_0x5d2cd0(0x1d2)]:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x237)](_0x13c798,_0x847098);break;}case _0x3340d2[_0x5d2cd0(0x1e4)][_0x5d2cd0(0x17f)]:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x3df)](_0x13c798,_0x847098);break;}case _0x3340d2['EffectRefRangId']['RemoveRowCommandId']:{_0x1456d0=_0x3340d2[_0x5d2cd0(0x26d)](_0x13c798,_0x847098);break;}}const _0x29f61c=_0x3340d2[_0x5d2cd0(0x3ab)](_0x1456d0,_0x847098),_0x363195=this[_0x5d2cd0(0x2f4)][_0x5d2cd0(0x3de)](_0x5c8ec8);if(_0x363195&&_0x29f61c){const _0x3919e7={..._0x363195,'range':_0x29f61c};this[_0x5d2cd0(0x2f4)][_0x5d2cd0(0x169)](_0x5c8ec8,_0x3919e7),_0x3eb9a3(()=>{const _0x43fdb0=_0x5d2cd0,_0x24cf10=this[_0x43fdb0(0x396)][_0x43fdb0(0x16d)](_0x29f61c,_0x2cb9b1=>(_0x24cf10[_0x43fdb0(0x221)](),_0x304595(_0x2cb9b1,_0x5c8ec8,_0x12239e,_0x29f61c)));_0x8a8c5e['add'](_0x24cf10);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x14da1f,_0x4a5e32)=>{const _0x2122a4=_0x1f0763,{range:_0x309783,sheetID:_0x878b68}=_0x14da1f,_0x306674=this[_0x2122a4(0x396)]['registerRefRange'](_0x309783,_0x19634e=>(_0x306674[_0x2122a4(0x221)](),_0x304595(_0x19634e,_0x4a5e32,_0x878b68,_0x309783)));_0x8a8c5e[_0x2122a4(0x207)](_0x306674);});};this[_0x479e38(0x3ed)](_0x20daf4[_0x479e38(0x2f1)](this[_0x479e38(0x1a3)][_0x479e38(0x2bc)](()=>{_0x3deb48();})));}[_0x8769c8(0x278)](){const _0x44383f=_0x8769c8;var _0x1d6ffb,_0x135054;if(this[_0x44383f(0x3d6)]=!0x0,((_0x1d6ffb=this['_univerInstanceService'][_0x44383f(0x23c)]())==null?void 0x0:_0x1d6ffb['getUnitId']())!==this[_0x44383f(0x2ff)])return;const _0x20f4cd=(_0x135054=this[_0x44383f(0x206)][_0x44383f(0x3de)](_0x3340d2[_0x44383f(0x353)])[_0x44383f(0x3d2)]())==null?void 0x0:_0x135054[0x0],_0x2e049c=this[_0x44383f(0x3cd)][_0x44383f(0x344)](_0x20daf4[_0x44383f(0x2be)][_0x44383f(0x256)])['getActiveSheet']();_0x20f4cd&&_0x2e049c&&this['_updateLocalCursor'](_0x2e049c['getSheetId'](),_0x20f4cd);}['_toggleOffline'](){const _0x2c28ff=_0x8769c8;this[_0x2c28ff(0x3d6)]=!0x1;}};_0x2041ff=_0x162e07([_0x536ef6(0x2,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0x536ef6(0x3,_0x20daf4['Inject'](_0x57e7c6)),_0x536ef6(0x4,_0x20daf4['Inject'](_0x32d137[_0x8769c8(0x3cc)])),_0x536ef6(0x5,_0x20daf4['IUniverInstanceService']),_0x536ef6(0x6,_0x20daf4[_0x8769c8(0x38d)]),_0x536ef6(0x7,_0x20daf4[_0x8769c8(0x280)](_0x3340d2[_0x8769c8(0x389)]))],_0x2041ff);var _0x3b40e4=Object[_0x8769c8(0x393)],_0x3fc559=(_0x5a4a0c,_0x3c6ba3,_0x3ecd1f,_0x42fbe7)=>{const _0x1a4fb6=_0x8769c8;for(var _0x179a7b=_0x42fbe7>0x1?void 0x0:_0x42fbe7?_0x3b40e4(_0x3c6ba3,_0x3ecd1f):_0x3c6ba3,_0x4a15f0=_0x5a4a0c[_0x1a4fb6(0x36d)]-0x1,_0x56cb57;_0x4a15f0>=0x0;_0x4a15f0--)(_0x56cb57=_0x5a4a0c[_0x4a15f0])&&(_0x179a7b=_0x56cb57(_0x179a7b)||_0x179a7b);return _0x179a7b;},_0xf01713=(_0x7e663b,_0x6f7243)=>(_0x16b5e0,_0x2543e7)=>_0x6f7243(_0x16b5e0,_0x2543e7,_0x7e663b);let _0x22e85b=class extends _0x20daf4['RxDisposable']{constructor(_0x33f787,_0x55afbf,_0x574018){const _0x8cddfb=_0x8769c8;super(),_0x54ae28(this,'_entities',new Map()),_0x54ae28(this,_0x8cddfb(0x1e8),new _0x540cdf[(_0x8cddfb(0x189))]()),(this[_0x8cddfb(0x3cd)]=_0x33f787,this[_0x8cddfb(0x206)]=_0x55afbf,this['_collabSessionService']=_0x574018,this[_0x8cddfb(0x2ad)]());}[_0x8769c8(0x221)](){const _0x4a999f=_0x8769c8;super[_0x4a999f(0x221)](),this[_0x4a999f(0x1e8)][_0x4a999f(0x363)](),this[_0x4a999f(0x38f)][_0x4a999f(0x1eb)](_0x374178=>_0x374178[_0x4a999f(0x221)]());}[_0x8769c8(0x1df)](_0x48bdb0){const _0x55bf34=_0x8769c8;return this[_0x55bf34(0x38f)]['has'](_0x48bdb0)?this[_0x55bf34(0x38f)][_0x55bf34(0x3de)](_0x48bdb0)[_0x55bf34(0x277)]:this[_0x55bf34(0x1e8)][_0x55bf34(0x30c)](_0x540cdf[_0x55bf34(0x18f)](_0x570cad=>_0x570cad[_0x55bf34(0x2ff)]===_0x48bdb0),_0x540cdf['switchMap'](_0x4e09f8=>_0x4e09f8[_0x55bf34(0x277)]));}[_0x8769c8(0x2ad)](){const _0x589146=_0x8769c8;this['_univerInstanceService'][_0x589146(0x22c)](_0x20daf4[_0x589146(0x2be)]['UNIVER_SHEET'])['pipe'](_0x540cdf[_0x589146(0x3bb)](this[_0x589146(0x1dd)]))['subscribe'](async _0x342f3d=>{const _0x545a94=_0x589146,_0x4334c3=_0x342f3d[_0x545a94(0x213)](),_0x171b27=await this[_0x545a94(0x22b)](_0x4334c3);this['_entityInit$'][_0x545a94(0x362)](_0x171b27),this[_0x545a94(0x38f)][_0x545a94(0x169)](_0x4334c3,_0x171b27);}),this[_0x589146(0x3cd)]['getTypeOfUnitAdded$'](_0x20daf4[_0x589146(0x2be)]['UNIVER_DOC'])[_0x589146(0x30c)](_0x540cdf['takeUntil'](this['dispose$']))[_0x589146(0x30c)](_0x540cdf[_0x589146(0x18f)](_0x1369ef=>!_0x1369ef['getUnitId']()[_0x589146(0x383)]('__')))['subscribe'](async _0x45b0b3=>{const _0x5706d8=_0x589146,_0x18598f=_0x45b0b3[_0x5706d8(0x213)](),_0x18d6d6=await this[_0x5706d8(0x1e7)](_0x18598f);this[_0x5706d8(0x1e8)][_0x5706d8(0x362)](_0x18d6d6),this[_0x5706d8(0x38f)]['set'](_0x18598f,_0x18d6d6);}),_0x540cdf[_0x589146(0x247)](this[_0x589146(0x3cd)][_0x589146(0x302)](_0x20daf4[_0x589146(0x2be)][_0x589146(0x397)]),this['_univerInstanceService'][_0x589146(0x302)](_0x20daf4[_0x589146(0x2be)]['UNIVER_SHEET']))[_0x589146(0x30c)](_0x540cdf['takeUntil'](this['dispose$']))[_0x589146(0x2bc)](_0x2c4cea=>{const _0x191fd9=_0x589146,_0x2827ab=_0x2c4cea[_0x191fd9(0x213)](),_0x3720ff=this[_0x191fd9(0x38f)][_0x191fd9(0x3de)](_0x2827ab);_0x3720ff&&(_0x3720ff[_0x191fd9(0x221)](),this[_0x191fd9(0x38f)][_0x191fd9(0x3e0)](_0x2827ab));});}async['_startSheetCollabCursor'](_0x462fcd){const _0x29a385=_0x8769c8,_0x4d8e0d=await this['_collabSessionService'][_0x29a385(0x227)](_0x462fcd),_0x12b64c=this[_0x29a385(0x206)][_0x29a385(0x23e)](_0x2041ff,_0x462fcd,_0x4d8e0d);return _0x12b64c[_0x29a385(0x171)](),_0x12b64c;}async['_startDocCollabCursor'](_0x18af01){const _0x29dcbc=_0x8769c8,_0x43a969=await this['_collabSessionService']['requireSession'](_0x18af01),_0x407c02=this[_0x29dcbc(0x206)][_0x29dcbc(0x23e)](_0x2f311f,_0x18af01,_0x43a969);return _0x407c02[_0x29dcbc(0x171)](),_0x407c02;}};_0x22e85b=_0x3fc559([_0xf01713(0x0,_0x20daf4[_0x8769c8(0x37c)]),_0xf01713(0x1,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0xf01713(0x2,_0x20daf4['Inject'](_0x32d137[_0x8769c8(0x39e)]))],_0x22e85b);const _0x3e17df=0x14,_0x3e59b5=0xc8,_0x50c4ca=0x4,_0x87f90b=0x5;function _0x169ef6(_0x488026,_0x3bed97){const _0x57d5f7=_0x8769c8;let {radius:_0x583729,width:_0x4ea4a1,height:_0x32f967}=_0x3bed97;_0x583729=_0x583729!=null?_0x583729:0x0,_0x4ea4a1=_0x4ea4a1!=null?_0x4ea4a1:0x1e,_0x32f967=_0x32f967!=null?_0x32f967:0x1e;let _0x146fbe=0x0,_0x53c272=0x0,_0x35f53a=0x0;_0x146fbe=_0x53c272=_0x35f53a=Math['min'](_0x583729,_0x4ea4a1/0x2,_0x32f967/0x2),_0x488026[_0x57d5f7(0x193)](),_0x488026[_0x57d5f7(0x32b)](_0x146fbe,0x0),_0x488026['lineTo'](_0x4ea4a1-_0x53c272,0x0),_0x488026['arc'](_0x4ea4a1-_0x53c272,_0x53c272,_0x53c272,Math['PI']*0x3/0x2,0x0,!0x1),_0x488026['lineTo'](_0x4ea4a1,_0x32f967-_0x35f53a),_0x488026['arc'](_0x4ea4a1-_0x35f53a,_0x32f967-_0x35f53a,_0x35f53a,0x0,Math['PI']/0x2,!0x1),_0x488026[_0x57d5f7(0x30f)](0x0,_0x32f967),_0x488026[_0x57d5f7(0x30f)](0x0,_0x146fbe),_0x488026[_0x57d5f7(0x3c3)](_0x146fbe,_0x146fbe,_0x146fbe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x488026[_0x57d5f7(0x186)](),_0x3bed97[_0x57d5f7(0x359)]&&(_0x488026[_0x57d5f7(0x21a)](),_0x488026[_0x57d5f7(0x1ea)]=_0x3bed97[_0x57d5f7(0x359)],_0x3bed97[_0x57d5f7(0x2c3)]===_0x57d5f7(0x149)?_0x488026['fill']('evenodd'):_0x488026['fill'](),_0x488026[_0x57d5f7(0x179)]());}class _0x4f6e43 extends _0x40e770['Shape']{constructor(_0x1004d5,_0x523de2){const _0x1601bd=_0x8769c8;super(_0x1004d5,_0x523de2),_0x54ae28(this,_0x1601bd(0x1db)),_0x54ae28(this,_0x1601bd(0x33d)),(this[_0x1601bd(0x1db)]=_0x523de2==null?void 0x0:_0x523de2[_0x1601bd(0x1db)],this[_0x1601bd(0x33d)]=_0x523de2==null?void 0x0:_0x523de2[_0x1601bd(0x33d)]);}static[_0x8769c8(0x30b)](_0x10eb1f,_0xad2310){const _0x26efa3=_0x8769c8,{text:_0x1ea0af,color:_0x1cdae7}=_0xad2310;_0x10eb1f[_0x26efa3(0x21a)](),_0x10eb1f[_0x26efa3(0x226)]=_0x26efa3(0x176);const _0x44d81d=_0x10eb1f[_0x26efa3(0x22d)](_0x1ea0af)[_0x26efa3(0x1d8)],_0x3bf975=Math[_0x26efa3(0x27d)](_0x44d81d+0x2*_0x50c4ca,_0x3e59b5);_0x169ef6(_0x10eb1f,{'height':_0x3e17df,'radius':0x4,'width':_0x3bf975,'fill':_0x1cdae7}),_0x10eb1f['fillStyle']=_0x26efa3(0x17b);const _0x449085=_0x50c4ca,_0x2ee77f=_0x3e17df-_0x87f90b,_0x48cfda=_0x3e59b5-0x2*_0x50c4ca;if(_0x44d81d>_0x48cfda){let _0xd27618='',_0x59951a=0x0;for(const _0x48aed3 of _0x1ea0af){const _0x183642=_0x10eb1f['measureText'](_0x48aed3)[_0x26efa3(0x1d8)];if(_0x59951a+_0x183642<=_0x48cfda-_0x10eb1f[_0x26efa3(0x22d)]('...')[_0x26efa3(0x1d8)])_0xd27618+=_0x48aed3,_0x59951a+=_0x183642;else{_0xd27618+=_0x26efa3(0x177);break;}}_0x10eb1f['fillText'](_0xd27618,_0x449085,_0x2ee77f);}else _0x10eb1f[_0x26efa3(0x220)](_0x1ea0af,_0x449085,_0x2ee77f);_0x10eb1f[_0x26efa3(0x179)]();}[_0x8769c8(0x2fd)](_0x49ca92){const _0x4c1668=_0x8769c8;_0x4f6e43[_0x4c1668(0x30b)](_0x49ca92,this);}}const _0x1cb9d1=_0x8769c8(0x232),_0x1e19d4='collab-text-range-',_0x487547=_0x8769c8(0x1a9),_0x3486e8=0x6,_0x3996ee=1.5,_0x158a83=0x4,_0x201af8=1.5,_0xc5e0d1=_0x8769c8(0x329);class _0x19c68f{constructor(_0x517719,_0x1874f8,_0x5de00d,_0x2a71db){const _0x42ed9b=_0x8769c8;_0x54ae28(this,_0x42ed9b(0x38a),[]),_0x54ae28(this,'_anchor',null),_0x54ae28(this,_0x42ed9b(0x274),null),_0x54ae28(this,_0x42ed9b(0x33c),null),_0x54ae28(this,'_hideTimer',null),_0x54ae28(this,'_eventUnsubscribe',null),(this['_cursor']=_0x517719,this[_0x42ed9b(0x154)]=_0x1874f8,this[_0x42ed9b(0x3b4)]=_0x5de00d,this['_document']=_0x2a71db,this[_0x42ed9b(0x1ab)]());}set['_hover'](_0x21585a){const _0x3677c8=_0x8769c8;_0x21585a?(this['_anchorDot']&&this['_anchorDot'][_0x3677c8(0x29e)](),this[_0x3677c8(0x274)]&&this['_textBubble'][_0x3677c8(0x16e)]()):(this[_0x3677c8(0x33c)]&&this[_0x3677c8(0x33c)][_0x3677c8(0x16e)](),this[_0x3677c8(0x274)]&&this[_0x3677c8(0x274)][_0x3677c8(0x29e)]());}[_0x8769c8(0x221)](){const _0x53f134=_0x8769c8;for(const _0x572f74 of this['_shapes'])_0x572f74[_0x53f134(0x221)]();this[_0x53f134(0x274)]&&this[_0x53f134(0x274)][_0x53f134(0x221)](),this[_0x53f134(0x33c)]&&this['_anchorDot'][_0x53f134(0x221)](),this['_anchor']&&this[_0x53f134(0x1bf)][_0x53f134(0x221)](),this[_0x53f134(0x332)]&&this[_0x53f134(0x332)]();}['_render'](){const _0x6966fe=_0x8769c8;var _0xa06bea;const {_docSkeleton:_0x2094cb,_document:_0x371bf4}=this,{color:_0x20bea8,name:_0x2dc15a,ranges:_0x487748}=this[_0x6966fe(0x2c5)],_0x1c2032=_0x371bf4[_0x6966fe(0x28d)](),{docsLeft:_0xd07069,docsTop:_0x45f01e}=_0x1c2032,_0x45026d=new _0x4ee3f0[(_0x6966fe(0x1e0))](_0x1c2032,_0x2094cb);for(const {startOffset:_0x595e63,endOffset:_0x26e36b,rangeType:_0x4adc95,segmentId:_0x5e40b4,segmentPage:_0x26db7a,collapsed:_0x5d59ba,isActive:_0x3a0b49}of _0x487748){const _0x15a65e=_0x2094cb[_0x6966fe(0x2ef)](_0x595e63,!0x0,_0x5e40b4,_0x26db7a);let _0x14e86b=_0x2094cb['findNodePositionByCharIndex'](_0x26e36b,!0x0,_0x5e40b4,_0x26db7a);if(_0x14e86b==null&&(_0x14e86b=_0x2094cb[_0x6966fe(0x2ef)](_0x26e36b-0x1,!0x1,_0x5e40b4,_0x26db7a)),_0x3a0b49){const {contentBoxPointGroup:_0x12eafd}=_0x45026d[_0x6966fe(0x3d4)](_0x14e86b,_0x14e86b);if(_0x12eafd[_0x6966fe(0x36d)]===0x0)continue;this[_0x6966fe(0x236)](_0x20bea8,_0x12eafd,_0xd07069,_0x45f01e,_0x2dc15a),this[_0x6966fe(0x332)]=this[_0x6966fe(0x22e)]();}if(_0x15a65e&&_0x14e86b){if(_0x4adc95===_0x20daf4[_0x6966fe(0x371)]['RECT']){const _0x3c926f=new _0x4ee3f0[(_0x6966fe(0x18a))](_0x1c2032,_0x2094cb),{pointGroup:_0x2a74c}=(_0xa06bea=_0x3c926f['getRangePointData'](_0x15a65e,_0x14e86b))!=null?_0xa06bea:{};if(_0x2a74c==null||_0x2a74c['length']===0x0)continue;this[_0x6966fe(0x1d1)](_0x20bea8,_0x2a74c,_0xd07069,_0x45f01e);}else{if(!_0x5d59ba){const {borderBoxPointGroup:_0x54be98}=_0x45026d[_0x6966fe(0x3d4)](_0x15a65e,_0x14e86b);if(_0x54be98[_0x6966fe(0x36d)]===0x0)continue;this['_drawTextRange'](_0x20bea8,_0x54be98,_0xd07069,_0x45f01e);}}}}}[_0x8769c8(0x236)](_0x273761,_0x5b7a60,_0x510048,_0x5d3039,_0x31d37b){const _0x341160=_0x8769c8,_0x5cd2a5=this[_0x341160(0x3b3)](_0x5b7a60),{left:_0x4dc37c,top:_0x35438c,height:_0x37da14}=_0x5cd2a5,_0x3ecf7d=this[_0x341160(0x263)](),_0x4ac616=_0x201af8/_0x3ecf7d,_0x283971=new _0x40e770['Rect'](_0x1cb9d1+_0x20daf4[_0x341160(0x3d8)]['generateRandomId'](_0x3486e8),{'left':_0x4dc37c+_0x510048-_0x4ac616,'top':_0x35438c+_0x5d3039,'height':_0x37da14,'width':_0x3996ee,'fill':_0x273761||_0x40e770[_0x341160(0x153)](_0x20daf4[_0x341160(0x2a2)][_0x341160(0x2b8)],0x0),'strokeWidth':_0x4ac616,'stroke':_0xc5e0d1,'evented':!0x0});this[_0x341160(0x1bf)]=_0x283971,this[_0x341160(0x154)][_0x341160(0x34f)](_0x283971,_0x4ee3f0[_0x341160(0x2c7)]);const _0x50c440=new _0x40e770[(_0x341160(0x31c))](_0x1cb9d1+_0x20daf4['Tools']['generateRandomId'](_0x3486e8),{'left':_0x4dc37c+_0x510048-_0x4ac616,'top':_0x35438c+_0x5d3039-_0x158a83/0x2,'height':_0x158a83,'width':_0x158a83,'fill':_0x273761||_0x40e770[_0x341160(0x153)](_0x20daf4['COLORS'][_0x341160(0x2b8)],0x0),'strokeWidth':0x0,'stroke':_0x273761||_0x40e770[_0x341160(0x153)](_0x20daf4['COLORS'][_0x341160(0x2b8)],0x0),'evented':!0x1});this[_0x341160(0x33c)]=_0x50c440,this['_scene']['addObject'](_0x50c440,_0x4ee3f0['TEXT_RANGE_LAYER_INDEX']);const _0x65ef4c=new _0x4f6e43(_0x1cb9d1+_0x20daf4[_0x341160(0x3d8)][_0x341160(0x382)](_0x3486e8),{'left':_0x4dc37c+_0x510048-_0x4ac616,'top':_0x35438c+_0x5d3039-_0x3e17df,'text':_0x31d37b,'color':_0x273761});this[_0x341160(0x274)]=_0x65ef4c,this[_0x341160(0x154)][_0x341160(0x34f)](_0x65ef4c,_0x4ee3f0['TEXT_RANGE_LAYER_INDEX']),this[_0x341160(0x2de)]=!0x1;}[_0x8769c8(0x22e)](){const _0x5f3a56=_0x8769c8,_0x1967ba=this[_0x5f3a56(0x1bf)][_0x5f3a56(0x241)][_0x5f3a56(0x3c6)](()=>{const _0x495d1e=_0x5f3a56;this[_0x495d1e(0x2de)]=!0x0;}),_0x106be6=this[_0x5f3a56(0x1bf)][_0x5f3a56(0x231)][_0x5f3a56(0x3c6)](()=>{const _0x4c59b2=_0x5f3a56;this['_hideTimer']&&clearTimeout(this[_0x4c59b2(0x294)]),this['_hideTimer']=setTimeout(()=>{const _0x3a9159=_0x4c59b2;this[_0x3a9159(0x2de)]=!0x1;},0x7d0);});return()=>{const _0x615f64=_0x5f3a56;_0x1967ba[_0x615f64(0x159)](),_0x106be6[_0x615f64(0x159)]();};}[_0x8769c8(0x386)](_0x9abdfd,_0xeb266a,_0x1204c8,_0x54d6d2){const _0x19debb=_0x8769c8,_0x4dd645=new _0x20daf4['ColorKit'](_0x9abdfd)['setAlpha'](0.2)[_0x19debb(0x3dc)](),_0x14a76f=new _0x40e770[(_0x19debb(0x33b))](_0x1e19d4+_0x20daf4[_0x19debb(0x3d8)]['generateRandomId'](_0x3486e8),{'pointsGroup':_0xeb266a,'fill':_0x4dd645||_0x40e770[_0x19debb(0x153)](_0x20daf4[_0x19debb(0x2a2)]['black'],0.2),'left':_0x1204c8,'top':_0x54d6d2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x19debb(0x301)](_0x14a76f),this['_scene'][_0x19debb(0x34f)](_0x14a76f,_0x4ee3f0[_0x19debb(0x2c7)]);}[_0x8769c8(0x1d1)](_0x2af8e6,_0x10bd27,_0x3793a0,_0x286448){const _0x400208=_0x8769c8,_0x5bb593=new _0x20daf4[(_0x400208(0x2e1))](_0x2af8e6)[_0x400208(0x2ab)](0.2)[_0x400208(0x3dc)](),_0x59335b=new _0x40e770[(_0x400208(0x33b))](_0x487547+_0x20daf4[_0x400208(0x3d8)][_0x400208(0x382)](_0x3486e8),{'pointsGroup':_0x10bd27,'fill':_0x5bb593||_0x40e770[_0x400208(0x153)](_0x20daf4[_0x400208(0x2a2)][_0x400208(0x2b8)],0.2),'left':_0x3793a0,'top':_0x286448,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x400208(0x38a)][_0x400208(0x301)](_0x59335b),this['_scene'][_0x400208(0x34f)](_0x59335b,_0x4ee3f0[_0x400208(0x2c7)]);}[_0x8769c8(0x3b3)](_0x5a35f0){const _0xcde389=_0x5a35f0[0x0],_0x314dc3=_0xcde389[0x0],_0x54e7eb=_0xcde389[0x2],{x:_0x4f213e,y:_0x46e623}=_0x314dc3,{x:_0x34fa07,y:_0x2a7a4e}=_0x54e7eb;return{'left':_0x4f213e,'top':_0x46e623,'width':_0x34fa07-_0x4f213e,'height':_0x2a7a4e-_0x46e623};}[_0x8769c8(0x263)](){const _0x2d13aa=_0x8769c8,{scaleX:_0x7e8b41,scaleY:_0x35a40e}=this['_scene'][_0x2d13aa(0x19c)]();return Math[_0x2d13aa(0x3be)](_0x7e8b41,_0x35a40e);}}var _0xb9e131=Object[_0x8769c8(0x393)],_0x17493b=(_0x22bf9b,_0x3dcd32,_0x193ba4,_0x174a01)=>{const _0x3a8528=_0x8769c8;for(var _0x31f07d=_0x174a01>0x1?void 0x0:_0x174a01?_0xb9e131(_0x3dcd32,_0x193ba4):_0x3dcd32,_0x3625a5=_0x22bf9b[_0x3a8528(0x36d)]-0x1,_0x20885c;_0x3625a5>=0x0;_0x3625a5--)(_0x20885c=_0x22bf9b[_0x3625a5])&&(_0x31f07d=_0x20885c(_0x31f07d)||_0x31f07d);return _0x31f07d;},_0x12c809=(_0x56c5ca,_0x2041dd)=>(_0x4e2c08,_0x26b154)=>_0x2041dd(_0x4e2c08,_0x26b154,_0x56c5ca);let _0x27aeca=class extends _0x20daf4[_0x8769c8(0x200)]{constructor(_0x5bc754,_0x2bf7d2,_0x257345,_0x1b8b1a,_0x53d541){const _0x33aef8=_0x8769c8;super(),_0x54ae28(this,_0x33aef8(0x2eb),[]),_0x54ae28(this,_0x33aef8(0x175),[]),(this[_0x33aef8(0x2d7)]=_0x5bc754,this[_0x33aef8(0x355)]=_0x2bf7d2,this[_0x33aef8(0x23f)]=_0x257345,this[_0x33aef8(0x306)]=_0x1b8b1a,this[_0x33aef8(0x3a5)]=_0x53d541,this[_0x33aef8(0x2ad)]());}[_0x8769c8(0x2ad)](){const _0xd670e=_0x8769c8,_0x28ef59=this['_context'][_0xd670e(0x3a3)],_0x4147c0=this[_0xd670e(0x355)];this[_0xd670e(0x3ed)](_0x540cdf['combineLatest']([this[_0xd670e(0x23f)]['getCollabCursors$'](_0x28ef59),this[_0xd670e(0x3a5)][_0xd670e(0x214)]])[_0xd670e(0x30c)](_0x48f7d9[_0xd670e(0x350)](([_0x29a65f,_0x26c80d])=>({'skeleton':_0x4147c0[_0xd670e(0x1a8)](),'cursors':[..._0x29a65f[_0xd670e(0x2db)]()][_0xd670e(0x23b)](_0x14765b=>({..._0x14765b,'color':this['_themeService'][_0xd670e(0x1f6)](_0x14765b['color'])}))})))[_0xd670e(0x2bc)](_0x43319b=>{const _0x38876b=_0xd670e;if(this['_removeCollabCursors'](),_0x43319b){const {skeleton:_0xad8002,cursors:_0xca1726}=_0x43319b;this[_0x38876b(0x3f1)](_0xad8002,_0xca1726);}})),this[_0xd670e(0x2dd)](),this[_0xd670e(0x31f)]();}['_updateCollabCursors'](_0x516aa3,_0x42960){const _0xe62a50=_0x8769c8,{scene:_0x40ad0b,mainComponent:_0x3dbaac}=this[_0xe62a50(0x2d7)],_0x1e9068=_0x42960[_0xe62a50(0x350)](_0x5ee385=>new _0x19c68f(_0x5ee385,_0x40ad0b,_0x516aa3,_0x3dbaac));this[_0xe62a50(0x2eb)]=_0x1e9068,this[_0xe62a50(0x175)]=_0x42960;}[_0x8769c8(0x1f5)](){const _0x34ff2d=_0x8769c8;this['_removeCollabCursors']();const {scene:_0x121caf,mainComponent:_0x2a5f7f}=this[_0x34ff2d(0x2d7)],_0x28e846=this[_0x34ff2d(0x355)][_0x34ff2d(0x1a8)](),_0x596676=this[_0x34ff2d(0x175)][_0x34ff2d(0x350)](_0x2f7fd9=>new _0x19c68f(_0x2f7fd9,_0x121caf,_0x28e846,_0x2a5f7f));this[_0x34ff2d(0x2eb)]=_0x596676;}['_removeCollabCursors'](){const _0x2c8ec6=_0x8769c8;this[_0x2c8ec6(0x2eb)][_0x2c8ec6(0x1eb)](_0x59d178=>_0x59d178[_0x2c8ec6(0x221)]()),this[_0x2c8ec6(0x2eb)]=[];}[_0x8769c8(0x31f)](){const _0x481943=_0x8769c8,_0x2e9b06=[_0x4ee3f0['SetDocZoomRatioOperation']['id']];this[_0x481943(0x3ed)](this[_0x481943(0x306)][_0x481943(0x3c4)](_0x2b7770=>{const _0x21150d=_0x481943;_0x2e9b06[_0x21150d(0x360)](_0x2b7770['id'])&&_0x2b7770[_0x21150d(0x34b)]['unitId']===this['_context']['unitId']&&this[_0x21150d(0x1f5)]();}));}[_0x8769c8(0x2dd)](){const _0x5beb4d=_0x8769c8;this[_0x5beb4d(0x3ed)](_0x20daf4['fromEventSubject'](this['_context'][_0x5beb4d(0x300)][_0x5beb4d(0x27a)])[_0x5beb4d(0x30c)](_0x48f7d9['filter'](_0x56915e=>_0x56915e['type']===_0x40e770[_0x5beb4d(0x352)]['resize']),_0x48f7d9[_0x5beb4d(0x20d)](0x10))[_0x5beb4d(0x2bc)](()=>{this['_refreshCollabCursors']();}));}};_0x27aeca=_0x17493b([_0x12c809(0x1,_0x20daf4['Inject'](_0xcaeb17[_0x8769c8(0x347)])),_0x12c809(0x2,_0x20daf4[_0x8769c8(0x280)](_0x22e85b)),_0x12c809(0x3,_0x20daf4[_0x8769c8(0x38d)]),_0x12c809(0x4,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1b4)]))],_0x27aeca);const _0x92852=0x1,_0x42f29e=1.5;class _0x381d8f extends _0x40e770[_0x8769c8(0x3b2)]{constructor(_0x255bd0,_0x4178cb){const _0x1c2bc3=_0x8769c8;super(_0x255bd0,_0x4178cb),_0x54ae28(this,'_color'),_0x54ae28(this,_0x1c2bc3(0x27c),!0x1),_0x54ae28(this,_0x1c2bc3(0x27b)),_0x54ae28(this,'_name',''),_0x54ae28(this,_0x1c2bc3(0x298),_0x1c2bc3(0x22a)),_0x54ae28(this,_0x1c2bc3(0x3b9)),(_0x4178cb&&this['setShapeProps'](_0x4178cb),this[_0x1c2bc3(0x241)]['subscribeEvent'](()=>this[_0x1c2bc3(0x303)]({'hovered':!0x0})),this[_0x1c2bc3(0x231)][_0x1c2bc3(0x3c6)](()=>this[_0x1c2bc3(0x303)]({'hovered':!0x1})));}[_0x8769c8(0x303)](_0xa49e88){const _0xfa737f=_0x8769c8;var _0x50f485,_0x5b7dc7,_0x5b48c9,_0x25f99d,_0x1561e3,_0x237938;this[_0xfa737f(0x174)]=(_0x50f485=_0xa49e88['color'])!=null?_0x50f485:this[_0xfa737f(0x174)],this[_0xfa737f(0x27c)]=(_0x5b7dc7=_0xa49e88[_0xfa737f(0x19e)])!=null?_0x5b7dc7:this[_0xfa737f(0x27c)],this[_0xfa737f(0x27b)]=(_0x5b48c9=_0xa49e88[_0xfa737f(0x195)])!=null?_0x5b48c9:this[_0xfa737f(0x27b)],this['_name']=(_0x25f99d=_0xa49e88[_0xfa737f(0x3aa)])!=null?_0x25f99d:this[_0xfa737f(0x252)],this[_0xfa737f(0x298)]=(_0x1561e3=_0xa49e88[_0xfa737f(0x323)])!=null?_0x1561e3:this[_0xfa737f(0x298)],this[_0xfa737f(0x3b9)]=(_0x237938=_0xa49e88['backgroundColor'])!=null?_0x237938:this[_0xfa737f(0x3b9)],this['transformByState']({'width':_0xa49e88[_0xfa737f(0x1d8)],'height':_0xa49e88['height']});}[_0x8769c8(0x14a)](_0x2c0b58){const _0x1bcfe8=_0x8769c8,{row:_0x71521c,column:_0x1b2f94}=_0x2c0b58;if(_0x71521c>=this[_0x1bcfe8(0x27b)]['startRow']&&_0x71521c<=this[_0x1bcfe8(0x27b)]['endRow']&&_0x1b2f94>=this[_0x1bcfe8(0x27b)]['startColumn']&&_0x1b2f94<=this['_range'][_0x1bcfe8(0x311)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4e8e05){return!0x1;}[_0x8769c8(0x2fd)](_0x1a5320){const _0x321f32=_0x8769c8;_0x40e770['Rect'][_0x321f32(0x30b)](_0x1a5320,{'width':this[_0x321f32(0x1d8)],'height':this[_0x321f32(0x36f)],'strokeWidth':_0x42f29e,'stroke':this[_0x321f32(0x174)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x321f32(0x27c)]&&(_0x1a5320[_0x321f32(0x21a)](),_0x1a5320[_0x321f32(0x194)](0x1,0x0,0x0,0x1,this[_0x321f32(0x1d8)],this[_0x321f32(0x298)]===_0x321f32(0x3e1)?0x0:-0x14),_0x4f6e43['drawWith'](_0x1a5320,{'text':this[_0x321f32(0x252)],'color':this[_0x321f32(0x174)]}),_0x1a5320[_0x321f32(0x179)]());}}var _0x157ed1=Object[_0x8769c8(0x393)],_0x28fe59=(_0xd544c,_0x48bb23,_0x38e4eb,_0x3745a7)=>{const _0x12fd66=_0x8769c8;for(var _0x7b5850=_0x3745a7>0x1?void 0x0:_0x3745a7?_0x157ed1(_0x48bb23,_0x38e4eb):_0x48bb23,_0x5aa807=_0xd544c[_0x12fd66(0x36d)]-0x1,_0x230861;_0x5aa807>=0x0;_0x5aa807--)(_0x230861=_0xd544c[_0x5aa807])&&(_0x7b5850=_0x230861(_0x7b5850)||_0x7b5850);return _0x7b5850;},_0x3193f4=(_0x8e5acf,_0x101bff)=>(_0x34bc22,_0x351f83)=>_0x101bff(_0x34bc22,_0x351f83,_0x8e5acf);const _0x50b31f=0x1389;let _0x50d86f=class extends _0x20daf4['RxDisposable']{constructor(_0x5a7896,_0x23fe69,_0x36c26d,_0x2b962a){const _0x4c1e57=_0x8769c8;super(),_0x54ae28(this,_0x4c1e57(0x175),new Set()),_0x54ae28(this,_0x4c1e57(0x308),null),(this[_0x4c1e57(0x2d7)]=_0x5a7896,this[_0x4c1e57(0x229)]=_0x23fe69,this[_0x4c1e57(0x23f)]=_0x36c26d,this['_themeService']=_0x2b962a,this[_0x4c1e57(0x2ad)]());}[_0x8769c8(0x2ad)](){const _0xce5d14=_0x8769c8;this['_sheetSkeletonManagerService'][_0xce5d14(0x378)][_0xce5d14(0x30c)](_0x48f7d9[_0xce5d14(0x3bb)](this[_0xce5d14(0x1dd)]),_0x48f7d9[_0xce5d14(0x276)](_0x46a182=>{const _0x45dc47=_0xce5d14;if(_0x46a182){const _0x273b45=_0x46a182[_0x45dc47(0x39c)];return _0x540cdf[_0x45dc47(0x2b4)](this[_0x45dc47(0x23f)][_0x45dc47(0x1df)](this[_0x45dc47(0x2d7)][_0x45dc47(0x3a3)]),this[_0x45dc47(0x3a5)][_0x45dc47(0x214)])[_0x45dc47(0x30c)](_0x48f7d9[_0x45dc47(0x350)](([_0x5e27c5,_0x345934])=>{const _0x4be6e8=new Map();return _0x5e27c5['forEach']((_0x5aff05,_0x5ea449)=>{const _0x4a10c4=_0x4e08;if(_0x5aff05['sheetID']===_0x273b45){const _0x38a8fe={..._0x5aff05};_0x38a8fe[_0x4a10c4(0x1db)]=this[_0x4a10c4(0x3a5)][_0x4a10c4(0x1f6)](_0x5aff05[_0x4a10c4(0x1db)]),_0x4be6e8[_0x4a10c4(0x169)](_0x5ea449,_0x38a8fe);}}),{'skeleton':_0x46a182,'cursors':_0x4be6e8};}));}return _0x540cdf['of']({'skeleton':null,'cursors':new Map()});}))[_0xce5d14(0x2bc)](({skeleton:_0x33fa3a,cursors:_0xb942e2})=>{const _0x4ed311=_0xce5d14;this[_0x4ed311(0x1c0)](),_0x33fa3a&&this[_0x4ed311(0x3f1)](_0x33fa3a,_0xb942e2);}),this[_0xce5d14(0x229)][_0xce5d14(0x378)][_0xce5d14(0x2bc)](_0x524c81=>{const _0x2455e2=_0xce5d14;if(_0x524c81==null)return;const {skeleton:_0xa7698a}=_0x524c81,{scene:_0x2c773c}=this[_0x2455e2(0x2d7)];_0x2c773c[_0x2455e2(0x225)][_0x2455e2(0x3c6)](_0x20daf4[_0x2455e2(0x201)](_0x532fd3=>{const _0x5d340a=_0x2455e2;var _0x46d676,_0x6d246e;const {offsetX:_0x329691,offsetY:_0x1dc8fe}=_0x532fd3,{x:_0x562c01,y:_0x24e21d}=_0x2c773c['getRelativeToViewportCoord'](_0x40e770[_0x5d340a(0x205)][_0x5d340a(0x258)]([_0x329691,_0x1dc8fe])),{scaleX:_0x561630,scaleY:_0x5b0c82}=_0x2c773c[_0x5d340a(0x19c)](),_0x13fb6f=_0x2c773c[_0x5d340a(0x251)](_0x40e770['SHEET_VIEWPORT_KEY'][_0x5d340a(0x3cf)]),_0x145d49=_0x2c773c[_0x5d340a(0x1cf)](_0x40e770['Vector2'][_0x5d340a(0x258)]([_0x562c01,_0x24e21d]),_0x13fb6f),_0xbfa307=_0xa7698a[_0x5d340a(0x29d)](_0x329691,_0x1dc8fe,_0x561630,_0x5b0c82,_0x145d49);((_0x46d676=this['_lastPointer'])==null?void 0x0:_0x46d676[_0x5d340a(0x29f)])===_0xbfa307[_0x5d340a(0x29f)]&&((_0x6d246e=this[_0x5d340a(0x308)])==null?void 0x0:_0x6d246e[_0x5d340a(0x3b8)])===_0xbfa307['row']||this['_cursors'][_0x5d340a(0x1eb)](_0x22bf01=>{const _0x2302c1=_0x5d340a;_0x22bf01[_0x2302c1(0x14a)](_0xbfa307);});},0x64));});}['_updateCollabCursors'](_0x3b4550,_0x2e2a90){const _0x232987=_0x8769c8;var _0x37df50;const _0x37cb6d=(_0x37df50=this[_0x232987(0x229)]['getCurrent']())==null?void 0x0:_0x37df50['skeleton'];if(!_0x37cb6d)return;const _0x267eb6=this['_getSheetObject']();if(!_0x267eb6)return;this[_0x232987(0x175)][_0x232987(0x1eb)](_0x39f0eb=>{const _0x5ed212=_0x232987;_0x39f0eb[_0x5ed212(0x31a)]();});const {scene:_0x5df808}=_0x267eb6,_0x1ea489=_0x99cc91(Array[_0x232987(0x18c)](_0x2e2a90[_0x232987(0x2db)]()))[_0x232987(0x350)](_0x3ace15=>{const _0x4f2e53=_0x232987,{color:_0x3dc406,range:_0xedccc2,name:_0x3bca8a,selection:_0x30cc56,sheetID:_0x1bba63}=_0x3ace15,{startColumn:_0x35601d,startRow:_0x38bdf0,endColumn:_0x5e85fa,endRow:_0x14529f}=_0xedccc2,_0x44d365=_0x5213cd[_0x4f2e53(0x2bb)](_0x38bdf0,_0x35601d,_0x5df808,_0x37cb6d),_0x324ffa=_0x5213cd[_0x4f2e53(0x2bb)](_0x14529f,_0x5e85fa,_0x5df808,_0x37cb6d),{columnHeaderHeightAndMarginTop:_0x45047e}=_0x37cb6d,{startX:_0x328b93,startY:_0x5ba923}=_0x44d365,{endX:_0x498d20,endY:_0x124fa5}=_0x324ffa,_0xeaa7ad=_0x498d20-_0x328b93,_0x409fbc=_0x124fa5-_0x5ba923,_0x489f22={'labelPosition':_0x5ba923-_0x45047e>=_0x3e17df?_0x4f2e53(0x22a):'bottom','sheetID':_0x1bba63,'range':_0xedccc2,'color':_0x3dc406,'name':_0x3bca8a,'selection':_0x30cc56,'left':_0x328b93,'top':_0x5ba923,'width':_0xeaa7ad,'height':_0x409fbc,'evented':!0x1,'zIndex':_0x50b31f};return new _0x381d8f(_0x3bca8a,_0x489f22);});_0x5df808[_0x232987(0x157)](_0x1ea489,_0x92852),this['_cursors']=new Set(_0x1ea489);}[_0x8769c8(0x1c0)](){const _0x41a2ee=_0x8769c8;var _0x1f47fe;(_0x1f47fe=this[_0x41a2ee(0x175)])==null||_0x1f47fe[_0x41a2ee(0x1eb)](_0xe91177=>_0xe91177[_0x41a2ee(0x221)]());}[_0x8769c8(0x1d4)](){const _0x3f4941=_0x8769c8;return _0x5213cd[_0x3f4941(0x33f)](this[_0x3f4941(0x2d7)][_0x3f4941(0x172)],this['_context']);}};_0x50d86f=_0x28fe59([_0x3193f4(0x1,_0x20daf4[_0x8769c8(0x280)](_0x5213cd[_0x8769c8(0x2a6)])),_0x3193f4(0x2,_0x20daf4[_0x8769c8(0x280)](_0x22e85b)),_0x3193f4(0x3,_0x20daf4['Inject'](_0x20daf4[_0x8769c8(0x1b4)]))],_0x50d86f);function _0x99cc91(_0x50496c){const _0x472244=_0x8769c8,_0x75f15a=new Map();return _0x50496c[_0x472244(0x1eb)](_0x5cba83=>{const _0x54c22c=_0x472244;if(_0x75f15a[_0x54c22c(0x1a7)](_0x5cba83['selection'])){const _0xfb7748=_0x75f15a[_0x54c22c(0x3de)](_0x5cba83[_0x54c22c(0x1ba)]);_0xfb7748[_0x54c22c(0x3aa)]+=',\x20'+_0x5cba83['name'];}else _0x75f15a[_0x54c22c(0x169)](_0x5cba83['selection'],_0x5cba83);}),Array[_0x472244(0x18c)](_0x75f15a[_0x472244(0x2db)]());}var _0x253546=function(){const _0x378d61=_0x8769c8;return _0x253546=Object[_0x378d61(0x2c6)]||function(_0x25e3c3){const _0x28f672=_0x378d61;for(var _0xde0a91,_0x44c69=0x1,_0xa5da55=arguments['length'];_0x44c69<_0xa5da55;_0x44c69++){_0xde0a91=arguments[_0x44c69];for(var _0x640704 in _0xde0a91)Object[_0x28f672(0x20e)][_0x28f672(0x3a6)]['call'](_0xde0a91,_0x640704)&&(_0x25e3c3[_0x640704]=_0xde0a91[_0x640704]);}return _0x25e3c3;},_0x253546[_0x378d61(0x3ba)](this,arguments);},_0x35ec7f=function(_0x4032e2,_0x25e501){const _0x5c2ab0=_0x8769c8;var _0x3e600={};for(var _0x7b22cc in _0x4032e2)Object[_0x5c2ab0(0x20e)][_0x5c2ab0(0x3a6)][_0x5c2ab0(0x18d)](_0x4032e2,_0x7b22cc)&&_0x25e501[_0x5c2ab0(0x272)](_0x7b22cc)<0x0&&(_0x3e600[_0x7b22cc]=_0x4032e2[_0x7b22cc]);if(_0x4032e2!=null&&typeof Object[_0x5c2ab0(0x262)]==_0x5c2ab0(0x34a)){for(var _0x1aeb1d=0x0,_0x7b22cc=Object['getOwnPropertySymbols'](_0x4032e2);_0x1aeb1d<_0x7b22cc[_0x5c2ab0(0x36d)];_0x1aeb1d++)_0x25e501[_0x5c2ab0(0x272)](_0x7b22cc[_0x1aeb1d])<0x0&&Object[_0x5c2ab0(0x20e)][_0x5c2ab0(0x26e)]['call'](_0x4032e2,_0x7b22cc[_0x1aeb1d])&&(_0x3e600[_0x7b22cc[_0x1aeb1d]]=_0x4032e2[_0x7b22cc[_0x1aeb1d]]);}return _0x3e600;},_0x313b3b=_0x22e119['forwardRef'](function(_0x6c74a9,_0x2671f2){const _0x39eac8=_0x8769c8;var _0x25e340=_0x6c74a9[_0x39eac8(0x3a0)],_0x18ea58=_0x6c74a9['id'],_0x16a110=_0x6c74a9[_0x39eac8(0x2cd)],_0x4de950=_0x6c74a9['extend'],_0x13a314=_0x35ec7f(_0x6c74a9,[_0x39eac8(0x3a0),'id',_0x39eac8(0x2cd),_0x39eac8(0x3f2)]),_0x14f5cd=_0x39eac8(0x35e)[_0x39eac8(0x2aa)](_0x18ea58,'\x20')[_0x39eac8(0x2aa)](_0x16a110||'')[_0x39eac8(0x199)](),_0x30369b=_0x22e119['useRef']('_'[_0x39eac8(0x2aa)](_0x3091eb()));return _0x396701(_0x25e340,''[_0x39eac8(0x2aa)](_0x18ea58),{'defIds':_0x25e340['defIds'],'idSuffix':_0x30369b['current']},_0x253546({'ref':_0x2671f2,'className':_0x14f5cd},_0x13a314),_0x4de950);});function _0x396701(_0x36f3c0,_0x2d99d8,_0x2e7a1b,_0x3dddb5,_0x12e3e4){const _0x2e0c27=_0x8769c8;return _0x22e119[_0x2e0c27(0x2b3)](_0x36f3c0[_0x2e0c27(0x32e)],_0x253546(_0x253546({'key':_0x2d99d8},_0xb9dcb6(_0x36f3c0,_0x2e7a1b,_0x12e3e4)),_0x3dddb5),(_0x123244(_0x36f3c0,_0x2e7a1b)[_0x2e0c27(0x15e)]||[])['map'](function(_0x1d8adb,_0x472c1d){const _0x44803e=_0x2e0c27;return _0x396701(_0x1d8adb,''[_0x44803e(0x2aa)](_0x2d99d8,'-')['concat'](_0x36f3c0[_0x44803e(0x32e)],'-')[_0x44803e(0x2aa)](_0x472c1d),_0x2e7a1b,void 0x0,_0x12e3e4);}));}function _0xb9dcb6(_0x508184,_0x2809a7,_0x56d97c){const _0x3d4737=_0x8769c8;var _0x15764a=_0x253546({},_0x508184[_0x3d4737(0x1e6)]);_0x56d97c!=null&&_0x56d97c[_0x3d4737(0x156)]&&_0x15764a[_0x3d4737(0x359)]===_0x3d4737(0x156)&&(_0x15764a[_0x3d4737(0x359)]=_0x56d97c['colorChannel1']),_0x508184[_0x3d4737(0x32e)]===_0x3d4737(0x24f)&&_0x15764a['id']&&(_0x15764a['id']=_0x15764a['id']+_0x2809a7[_0x3d4737(0x266)]),Object[_0x3d4737(0x3ad)](_0x15764a)['forEach'](function(_0x3209b6){const _0xbf71f0=_0x3d4737;var _0x461c0f=_0x3209b6[0x0],_0x1a8bf6=_0x3209b6[0x1];_0x461c0f===_0xbf71f0(0x24f)&&typeof _0x1a8bf6==_0xbf71f0(0x340)&&(_0x15764a[_0x461c0f]=_0x1a8bf6[_0xbf71f0(0x1a4)](/url\(#(.*)\)/,_0xbf71f0(0x3b0)[_0xbf71f0(0x2aa)](_0x2809a7['idSuffix'],')')));});var _0x1d1daf=_0x2809a7[_0x3d4737(0x2d9)];return!_0x1d1daf||_0x1d1daf[_0x3d4737(0x36d)]===0x0||(_0x508184[_0x3d4737(0x32e)]===_0x3d4737(0x1d7)&&_0x15764a['xlink:href']&&(_0x15764a[_0x3d4737(0x299)]=_0x15764a[_0x3d4737(0x299)]+_0x2809a7[_0x3d4737(0x266)]),Object['entries'](_0x15764a)['forEach'](function(_0x22c94b){const _0x1e2aef=_0x3d4737;var _0x5ef25b=_0x22c94b[0x0],_0x26a840=_0x22c94b[0x1];typeof _0x26a840==_0x1e2aef(0x340)&&(_0x15764a[_0x5ef25b]=_0x26a840['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1e2aef(0x2aa)](_0x2809a7['idSuffix'],')')));})),_0x15764a;}function _0x123244(_0x1268fc,_0x20c563){const _0x43a9d1=_0x8769c8;var _0x3e938d,_0x14daa5=_0x20c563[_0x43a9d1(0x2d9)];return!_0x14daa5||_0x14daa5[_0x43a9d1(0x36d)]===0x0?_0x1268fc:_0x1268fc[_0x43a9d1(0x32e)]===_0x43a9d1(0x2f2)&&(!((_0x3e938d=_0x1268fc['children'])===null||_0x3e938d===void 0x0)&&_0x3e938d[_0x43a9d1(0x36d)])?_0x253546(_0x253546({},_0x1268fc),{'children':_0x1268fc[_0x43a9d1(0x15e)]['map'](function(_0x3d31ed){const _0x1db682=_0x43a9d1;return typeof _0x3d31ed[_0x1db682(0x1e6)]['id']==_0x1db682(0x340)&&_0x14daa5&&_0x14daa5['includes'](_0x3d31ed[_0x1db682(0x1e6)]['id'])?_0x253546(_0x253546({},_0x3d31ed),{'attrs':_0x253546(_0x253546({},_0x3d31ed[_0x1db682(0x1e6)]),{'id':_0x3d31ed[_0x1db682(0x1e6)]['id']+_0x20c563['idSuffix']})}):_0x3d31ed;})}):_0x1268fc;}function _0x3091eb(){const _0xbe1523=_0x8769c8;return Math[_0xbe1523(0x3ee)]()[_0xbe1523(0x3e3)](0x24)[_0xbe1523(0x29c)](0x2,0x8);}_0x313b3b[_0x8769c8(0x3db)]=_0x8769c8(0x35f);var _0x5a6d12={'tag':_0x8769c8(0x3a1),'attrs':{'xmlns':_0x8769c8(0x173),'fill':_0x8769c8(0x2a7),'viewBox':_0x8769c8(0x37b),'width':'1em','height':_0x8769c8(0x191)},'children':[{'tag':'g','attrs':{'clipPath':_0x8769c8(0x283)},'children':[{'tag':'path','attrs':{'stroke':_0x8769c8(0x320),'d':_0x8769c8(0x32f),'strokeLinecap':_0x8769c8(0x384),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x8769c8(0x2f2),'attrs':{},'children':[{'tag':_0x8769c8(0x2ac),'attrs':{'id':_0x8769c8(0x335)},'children':[{'tag':_0x8769c8(0x336),'attrs':{'fill':_0x8769c8(0x3ac),'d':_0x8769c8(0x168)}}]}]}],'defIds':[_0x8769c8(0x335)]},_0x2d92bc=_0x22e119['forwardRef'](function(_0x5e78b4,_0x98a842){const _0x4c278e=_0x8769c8;return _0x22e119[_0x4c278e(0x2b3)](_0x313b3b,Object['assign']({},_0x5e78b4,{'id':_0x4c278e(0x1d9),'ref':_0x98a842,'icon':_0x5a6d12}));});_0x2d92bc['displayName']=_0x8769c8(0x330);var _0x1d1c64={'tag':_0x8769c8(0x3a1),'attrs':{'xmlns':_0x8769c8(0x173),'fill':_0x8769c8(0x2a7),'viewBox':_0x8769c8(0x3e6),'width':_0x8769c8(0x191),'height':_0x8769c8(0x191)},'children':[{'tag':'g','attrs':{'clipPath':_0x8769c8(0x2fa)},'children':[{'tag':_0x8769c8(0x336),'attrs':{'stroke':'currentColor','d':_0x8769c8(0x1b2),'strokeLinecap':'round','strokeLinejoin':_0x8769c8(0x384),'strokeWidth':1.2}}]},{'tag':_0x8769c8(0x2f2),'attrs':{},'children':[{'tag':_0x8769c8(0x2ac),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x8769c8(0x336),'attrs':{'fill':'white','d':_0x8769c8(0x168),'transform':_0x8769c8(0x208)}}]}]}],'defIds':[_0x8769c8(0x1fb)]},_0x363855=_0x22e119[_0x8769c8(0x35d)](function(_0x57cfe0,_0x2d5f66){const _0x5c19fc=_0x8769c8;return _0x22e119['createElement'](_0x313b3b,Object['assign']({},_0x57cfe0,{'id':_0x5c19fc(0x27e),'ref':_0x2d5f66,'icon':_0x1d1c64}));});_0x363855[_0x8769c8(0x3db)]=_0x8769c8(0x356);function _0x1e0038(_0x262ad5){const _0x9a656e=_0x8769c8;switch(_0x262ad5){case _0x32d137[_0x9a656e(0x32a)]['OFFLINE']:return _0x9a656e(0x1a6);case _0x32d137[_0x9a656e(0x32a)][_0x9a656e(0x2c9)]:return _0x9a656e(0x381);case _0x32d137[_0x9a656e(0x32a)][_0x9a656e(0x3e4)]:return _0x9a656e(0x312);case _0x32d137[_0x9a656e(0x32a)][_0x9a656e(0x253)]:return _0x9a656e(0x181);case _0x32d137[_0x9a656e(0x32a)][_0x9a656e(0x36c)]:case _0x32d137[_0x9a656e(0x32a)][_0x9a656e(0x248)]:return'collabStatus.syncing';case _0x32d137['CollaborationStatus'][_0x9a656e(0x2f5)]:case _0x32d137[_0x9a656e(0x32a)][_0x9a656e(0x2a8)]:return _0x9a656e(0x279);}}function _0x4fb579(_0x2a8a01){const _0x484d02=_0x8769c8,{status$:_0x58c661}=_0x2a8a01,_0x376534=_0x248344[_0x484d02(0x23a)](_0x58c661,_0x32d137[_0x484d02(0x32a)]['NOT_COLLAB']),_0x32a9db=_0x248344['useDependency'](_0x20daf4[_0x484d02(0x223)]),_0x618a9c=_0x248344[_0x484d02(0x23d)](_0x32d137[_0x484d02(0x39e)]),_0x3042d9=_0x376534!==_0x32d137[_0x484d02(0x32a)][_0x484d02(0x339)],_0x4f7332=_0x32a9db['t'](_0x1e0038(_0x376534)),_0xafa0cd=_0x3042d9?_0x2e67d2[_0x484d02(0x3e9)](_0x363855,{}):_0x2e67d2['jsx'](_0x2d92bc,{}),_0x2aa057=_0x22e119[_0x484d02(0x1b7)](()=>{_0x3042d9||_0x618a9c['reconnect']();},[_0x3042d9,_0x618a9c]);function _0x3ec0ad(){const _0x410ae5=_0x484d02;return _0x2e67d2[_0x410ae5(0x286)](_0x410ae5(0x1cc),{'className':'univer-flex\x20univer-items-center','onClick':_0x2aa057,'children':[_0x2e67d2['jsx'](_0x410ae5(0x1cc),{'className':_0x198d0b[_0x410ae5(0x24e)](_0x410ae5(0x37d),{'univer-text-green-500':_0x3042d9,'univer-text-red-500':!_0x3042d9}),'children':_0xafa0cd}),_0x2e67d2['jsx'](_0x410ae5(0x1cc),{'className':_0x410ae5(0x15a),'children':_0x4f7332})]});}return _0x3042d9?_0x3ec0ad():_0x2e67d2['jsx'](_0x198d0b[_0x484d02(0x345)],{'title':_0x32a9db['t'](_0x484d02(0x287)),'children':_0x3ec0ad()});}var _0x5ae2e1=Object['getOwnPropertyDescriptor'],_0x47223e=(_0x135981,_0x3493c6,_0xcf837e,_0x41fc84)=>{const _0x3821b6=_0x8769c8;for(var _0xae9d4d=_0x41fc84>0x1?void 0x0:_0x41fc84?_0x5ae2e1(_0x3493c6,_0xcf837e):_0x3493c6,_0x1bb700=_0x135981[_0x3821b6(0x36d)]-0x1,_0x17fd75;_0x1bb700>=0x0;_0x1bb700--)(_0x17fd75=_0x135981[_0x1bb700])&&(_0xae9d4d=_0x17fd75(_0xae9d4d)||_0xae9d4d);return _0xae9d4d;},_0x3ba58b=(_0x1a7dc5,_0x26c306)=>(_0x55e221,_0x3ddb5f)=>_0x26c306(_0x55e221,_0x3ddb5f,_0x1a7dc5);_0x278b89['DesktopCollaborationStatusDisplayController']=class extends _0x20daf4[_0x8769c8(0x14b)]{constructor(_0x3d9f34,_0x39b15e,_0x547d3,_0x3ee18a){const _0x4c9018=_0x8769c8;super(),_0x54ae28(this,_0x4c9018(0x1ad),new _0x540cdf[(_0x4c9018(0x15f))](_0x32d137[_0x4c9018(0x32a)][_0x4c9018(0x253)])),(this[_0x4c9018(0x3cd)]=_0x3d9f34,this['_injector']=_0x39b15e,this[_0x4c9018(0x342)]=_0x547d3,this[_0x4c9018(0x3a7)]=_0x3ee18a,this[_0x4c9018(0x2b5)](),this[_0x4c9018(0x27f)]());}[_0x8769c8(0x27f)](){const _0x78126=_0x8769c8;this[_0x78126(0x3ed)](this[_0x78126(0x3cd)][_0x78126(0x369)][_0x78126(0x30c)](_0x540cdf[_0x78126(0x276)](()=>{const _0x17c5d4=_0x78126,_0x5b1ccc=this[_0x17c5d4(0x3cd)]['getFocusedUnit']();return _0x5b1ccc?this['_collaborationController'][_0x17c5d4(0x1dc)](_0x5b1ccc[_0x17c5d4(0x213)]()):_0x540cdf['of'](null);}),_0x540cdf[_0x78126(0x276)](_0xdd8913=>_0xdd8913?_0xdd8913['status$']:_0x540cdf['of'](_0x32d137['CollaborationStatus'][_0x78126(0x253)])))[_0x78126(0x2bc)](_0x4bc7d2=>{const _0x448dad=_0x78126;this['_status$'][_0x448dad(0x362)](_0x4bc7d2);}));}[_0x8769c8(0x2b5)](){const _0x9e573=_0x8769c8;this[_0x9e573(0x3ed)](this[_0x9e573(0x3a7)][_0x9e573(0x1bd)](_0x248344['BuiltInUIPart'][_0x9e573(0x26b)],()=>_0x248344[_0x9e573(0x2f6)](_0x8165fb({'status$':this[_0x9e573(0x1ad)][_0x9e573(0x2d6)]()}),this[_0x9e573(0x206)])));}},_0x278b89[_0x8769c8(0x2ee)]=_0x47223e([_0x3ba58b(0x0,_0x20daf4[_0x8769c8(0x37c)]),_0x3ba58b(0x1,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0x3ba58b(0x2,_0x20daf4[_0x8769c8(0x280)](_0x32d137[_0x8769c8(0x3af)])),_0x3ba58b(0x3,_0x248344[_0x8769c8(0x17d)])],_0x278b89[_0x8769c8(0x2ee)]);function _0x8165fb(_0x49264f){const {status$:_0x5f17e7}=_0x49264f;return function(){const _0x444db0=_0x4e08;return _0x2e67d2[_0x444db0(0x3e9)](_0x4fb579,{'status$':_0x5f17e7});};}var _0x211a2f=Object[_0x8769c8(0x393)],_0x572338=(_0x45fc25,_0x1b88b5,_0x519570,_0x3fdca7)=>{const _0x141923=_0x8769c8;for(var _0x166799=_0x3fdca7>0x1?void 0x0:_0x3fdca7?_0x211a2f(_0x1b88b5,_0x519570):_0x1b88b5,_0x4112ce=_0x45fc25[_0x141923(0x36d)]-0x1,_0x2975db;_0x4112ce>=0x0;_0x4112ce--)(_0x2975db=_0x45fc25[_0x4112ce])&&(_0x166799=_0x2975db(_0x166799)||_0x166799);return _0x166799;},_0xb742ca=(_0x17459c,_0x1b3dbc)=>(_0x427cbd,_0x2f70d9)=>_0x1b3dbc(_0x427cbd,_0x2f70d9,_0x17459c);let _0x405e3e=class extends _0x20daf4[_0x8769c8(0x14b)]{constructor(_0x2bdabe,_0x386ad2,_0x19464d,_0x1a6604,_0xc55e00,_0x54e74f){const _0x52a9d4=_0x8769c8;super(),this[_0x52a9d4(0x2cb)]=_0x2bdabe,this[_0x52a9d4(0x395)]=_0x386ad2,this[_0x52a9d4(0x351)]=_0x19464d,this[_0x52a9d4(0x24c)]=_0x1a6604,this[_0x52a9d4(0x2f8)]=_0xc55e00,this[_0x52a9d4(0x211)]=_0x54e74f,this[_0x52a9d4(0x1a1)](),this[_0x52a9d4(0x15c)]();}['_setupBeforeClosingHandler'](){const _0x5736b2=_0x8769c8;this[_0x5736b2(0x3ed)](this['_beforeCloseService'][_0x5736b2(0x304)](()=>{const _0x138da4=_0x5736b2;if(this['_localCacheService'][_0x138da4(0x2b2)]['size'])return this[_0x138da4(0x211)]['t'](_0x138da4(0x310));}));}[_0x8769c8(0x15c)](){const _0x33bf3f=_0x8769c8;this[_0x33bf3f(0x3ed)](this[_0x33bf3f(0x351)][_0x33bf3f(0x1f9)][_0x33bf3f(0x2bc)](_0x5c5ca2=>{const _0x350fd4=_0x33bf3f;_0x5c5ca2['id']===_0x32d137[_0x350fd4(0x314)][_0x350fd4(0x1da)]&&this[_0x350fd4(0x24c)]['show']({'type':_0x198d0b[_0x350fd4(0x1f3)]['Warning'],'content':this[_0x350fd4(0x211)]['t'](_0x350fd4(0x30d))}),_0x5c5ca2['id']===_0x32d137[_0x350fd4(0x314)][_0x350fd4(0x36e)]&&this['_messageService'][_0x350fd4(0x16e)]({'type':_0x198d0b[_0x350fd4(0x1f3)]['Warning'],'content':this[_0x350fd4(0x211)]['t'](_0x350fd4(0x255))}),_0x5c5ca2['id']===_0x32d137['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x350fd4(0x16e)]({'title':this['_localeService']['t'](_0x350fd4(0x1e9)),'content':this['_localeService']['t'](_0x350fd4(0x346)),'type':_0x350fd4(0x25c),'duration':0x0}),_0x5c5ca2['id']===_0x32d137[_0x350fd4(0x314)][_0x350fd4(0x2c9)]&&this[_0x350fd4(0x24c)][_0x350fd4(0x16e)]({'type':_0x198d0b[_0x350fd4(0x1f3)][_0x350fd4(0x2b1)],'content':this[_0x350fd4(0x211)]['t'](_0x350fd4(0x255))+'('+_0x5c5ca2[_0x350fd4(0x2c1)]+')'}),_0x5c5ca2['id']===_0x32d137[_0x350fd4(0x314)][_0x350fd4(0x20a)]&&this[_0x350fd4(0x24c)][_0x350fd4(0x16e)]({'type':_0x198d0b['MessageType']['Warning'],'content':this[_0x350fd4(0x211)]['t'](_0x5c5ca2[_0x350fd4(0x2c1)]||'')}),_0x5c5ca2['id']===_0x32d137[_0x350fd4(0x314)][_0x350fd4(0x19b)]&&this['_messageService']['show']({'type':_0x198d0b['MessageType'][_0x350fd4(0x1ca)],'content':this[_0x350fd4(0x211)]['t'](_0x350fd4(0x1b5))}),_0x5c5ca2['id']===_0x32d137[_0x350fd4(0x314)][_0x350fd4(0x3c1)]&&this[_0x350fd4(0x24c)][_0x350fd4(0x16e)]({'type':_0x198d0b['MessageType'][_0x350fd4(0x2b1)],'content':this[_0x350fd4(0x211)]['t']('session.connection-failed')}),_0x5c5ca2['id']===_0x32d137['CollaborationUIEventId'][_0x350fd4(0x3f5)]&&this[_0x350fd4(0x24c)]['show']({'type':_0x198d0b['MessageType']['Error'],'content':this[_0x350fd4(0x211)]['t']('session.collaboration-timeout')});}));}};_0x405e3e=_0x572338([_0xb742ca(0x0,_0x248344[_0x8769c8(0x192)]),_0xb742ca(0x1,_0x32d137[_0x8769c8(0x39b)]),_0xb742ca(0x2,_0x20daf4[_0x8769c8(0x280)](_0x32d137[_0x8769c8(0x3a2)])),_0xb742ca(0x3,_0x248344['IMessageService']),_0xb742ca(0x4,_0x248344[_0x8769c8(0x1e5)]),_0xb742ca(0x5,_0x20daf4['Inject'](_0x20daf4[_0x8769c8(0x223)]))],_0x405e3e);const _0x3fc9cc=_0x8769c8(0x307),_0x3fa06b={},_0x41cb68=_0x20daf4[_0x8769c8(0x2cc)](_0x8769c8(0x372));var _0x3abcaf=Object[_0x8769c8(0x393)],_0x35bd6e=(_0x2691fc,_0x552ee0,_0x45b29f,_0x5f03ba)=>{for(var _0x46f85b=_0x5f03ba>0x1?void 0x0:_0x5f03ba?_0x3abcaf(_0x552ee0,_0x45b29f):_0x552ee0,_0x3b271b=_0x2691fc['length']-0x1,_0x407848;_0x3b271b>=0x0;_0x3b271b--)(_0x407848=_0x2691fc[_0x3b271b])&&(_0x46f85b=_0x407848(_0x46f85b)||_0x46f85b);return _0x46f85b;},_0x4849ac=(_0x52f519,_0x23c6f6)=>(_0x4fa5f2,_0x2fcbfb)=>_0x23c6f6(_0x4fa5f2,_0x2fcbfb,_0x52f519);_0x278b89[_0x8769c8(0x1aa)]=class extends _0x20daf4[_0x8769c8(0x200)]{constructor(_0x288eea,_0x404f30,_0x126665,_0x364d5d,_0x1f7b9f){const _0xe801d6=_0x8769c8;super(),this[_0xe801d6(0x380)]=_0x288eea,this[_0xe801d6(0x28c)]=_0x404f30,this[_0xe801d6(0x306)]=_0x126665,this['_dataLoaderService']=_0x364d5d,_0x1f7b9f?_0x1f7b9f==null||_0x1f7b9f[_0xe801d6(0x2df)]()[_0xe801d6(0x326)](()=>this[_0xe801d6(0x2ad)]()):(this[_0xe801d6(0x28c)]['debug'](_0xe801d6(0x25d),_0xe801d6(0x17a)),this[_0xe801d6(0x2ad)]());}async[_0x8769c8(0x2ad)](){const _0x142ec8=_0x8769c8,_0x3a9f8e=this['_urlService']['getParam'](_0x142ec8(0x172)),_0x3e1de7=this[_0x142ec8(0x380)]['getParam'](_0x142ec8(0x234)),_0x485b22=this['_urlService'][_0x142ec8(0x1f7)](_0x142ec8(0x358));if(!_0x3a9f8e||!_0x3e1de7){this[_0x142ec8(0x28c)][_0x142ec8(0x19f)](_0x142ec8(0x25d),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x647a22=await this[_0x142ec8(0x36b)]['loadUnit'](_0x3a9f8e,Number(_0x3e1de7),_0x485b22);_0x647a22&&_0x647a22 instanceof _0x20daf4[_0x142ec8(0x29a)]&&this[_0x142ec8(0x390)](_0x647a22);}async[_0x8769c8(0x390)](_0xef6750){const _0x2ab7a1=_0x8769c8;await this[_0x2ab7a1(0x317)](_0xef6750),_0xef6750[_0x2ab7a1(0x1ce)][_0x2ab7a1(0x30c)](_0x540cdf['takeUntil'](this[_0x2ab7a1(0x1dd)]))[_0x2ab7a1(0x2bc)](_0x460a82=>{const _0x317e5a=_0x2ab7a1;_0x460a82&&this[_0x317e5a(0x376)](_0x460a82);}),this[_0x2ab7a1(0x380)][_0x2ab7a1(0x399)][_0x2ab7a1(0x30c)](_0x540cdf['takeUntil'](this[_0x2ab7a1(0x1dd)]))[_0x2ab7a1(0x2bc)](()=>this['_updateSubUnitFromURLParams'](_0xef6750));}[_0x8769c8(0x376)](_0x5a189a,_0x3384d8=!0x1){const _0x4e4592=_0x8769c8,_0x59eb92=this[_0x4e4592(0x380)][_0x4e4592(0x1f7)](_0x4e4592(0x358));_0x5a189a[_0x4e4592(0x292)]()!==_0x59eb92&&this[_0x4e4592(0x380)][_0x4e4592(0x165)]('subunit',_0x5a189a[_0x4e4592(0x292)](),_0x3384d8);}async[_0x8769c8(0x317)](_0x32accf){const _0x5e1e00=_0x8769c8;var _0x48f05f;const _0x5e8924=this[_0x5e1e00(0x380)][_0x5e1e00(0x1f7)](_0x5e1e00(0x358));if(!_0x5e8924||!_0x32accf[_0x5e1e00(0x21e)](_0x5e8924)){const _0x2d19e7=_0x32accf[_0x5e1e00(0x3ae)]()[0x0],_0x3cff0f=_0x32accf[_0x5e1e00(0x21e)](_0x2d19e7);if(!_0x3cff0f)return;this[_0x5e1e00(0x376)](_0x3cff0f,!0x0),await this[_0x5e1e00(0x306)][_0x5e1e00(0x270)](_0x3340d2[_0x5e1e00(0x265)]['id'],{'unitId':_0x32accf['getUnitId'](),'subUnitId':_0x2d19e7});return;}((_0x48f05f=_0x32accf['getActiveSheet']())==null?void 0x0:_0x48f05f[_0x5e1e00(0x292)]())!==_0x5e8924&&await this[_0x5e1e00(0x306)]['executeCommand'](_0x3340d2[_0x5e1e00(0x265)]['id'],{'unitId':_0x32accf[_0x5e1e00(0x213)](),'subUnitId':_0x5e8924});}},_0x278b89[_0x8769c8(0x1aa)]=_0x35bd6e([_0x4849ac(0x0,_0x41cb68),_0x4849ac(0x1,_0x20daf4[_0x8769c8(0x37a)]),_0x4849ac(0x2,_0x20daf4['ICommandService']),_0x4849ac(0x3,_0x20daf4[_0x8769c8(0x280)](_0x32d137[_0x8769c8(0x1f1)])),_0x4849ac(0x4,_0x20daf4['Optional'](_0xe4754e[_0x8769c8(0x31d)]))],_0x278b89[_0x8769c8(0x1aa)]);var _0x169ba5=Object['getOwnPropertyDescriptor'],_0x40e44c=(_0x9ac5ad,_0x3cbffe,_0x59f4c6,_0x38e08e)=>{const _0x2ded4d=_0x8769c8;for(var _0x1dda5f=_0x38e08e>0x1?void 0x0:_0x38e08e?_0x169ba5(_0x3cbffe,_0x59f4c6):_0x3cbffe,_0x1e5a50=_0x9ac5ad[_0x2ded4d(0x36d)]-0x1,_0x235d1f;_0x1e5a50>=0x0;_0x1e5a50--)(_0x235d1f=_0x9ac5ad[_0x1e5a50])&&(_0x1dda5f=_0x235d1f(_0x1dda5f)||_0x1dda5f);return _0x1dda5f;},_0x48c4d5=(_0x27336e,_0x40e271)=>(_0x357116,_0x187fce)=>_0x40e271(_0x357116,_0x187fce,_0x27336e);let _0x4d62d0=class{constructor(_0x5edd56,_0x5e5d41,_0x1ccb67){const _0x40dc16=_0x8769c8;this[_0x40dc16(0x206)]=_0x5edd56,this[_0x40dc16(0x1ee)]=_0x5e5d41,this[_0x40dc16(0x2bf)]=_0x1ccb67;}[_0x8769c8(0x2d5)](_0x2d84b8){const _0x1ef89f=_0x8769c8;this[_0x1ef89f(0x3ca)](_0x2d84b8),this[_0x1ef89f(0x3d7)](_0x2d84b8);}['transformRemoteChangeset'](_0x1c3a99){const _0x5a6681=_0x8769c8,{unitID:_0x193638}=_0x1c3a99,_0x4dbe2f=this['_renderManagerService'][_0x5a6681(0x1bc)](_0x193638)['with'](_0x4ee3f0[_0x5a6681(0x35a)]),{redoCache:_0x4cb8bf}=_0x4dbe2f[_0x5a6681(0x14f)]();if(_0x4cb8bf[_0x5a6681(0x36d)]===0x0)return _0x1c3a99;let _0x357010=_0x20daf4[_0x5a6681(0x3d8)][_0x5a6681(0x24a)](_0x1c3a99[_0x5a6681(0x188)][0x0]);for(let _0x3e6e6f=0x0;_0x3e6e6f<_0x4cb8bf[_0x5a6681(0x36d)];_0x3e6e6f++){const _0x4c243a={'id':'doc.mutation.rich-text-editing','params':{..._0x4cb8bf[_0x3e6e6f]}},_0x2b3fba=this['_transformService']['transformMutation'](_0x357010,_0x4c243a,!0x1);if(_0x194445[_0x5a6681(0x365)](_0x2b3fba))throw _0x2b3fba[_0x5a6681(0x25c)];_0x357010=_0x2b3fba['m1Prime'];}return{..._0x20daf4[_0x5a6681(0x3d8)]['deepClone'](_0x1c3a99),'mutations':[_0x357010]};}[_0x8769c8(0x3ca)](_0x55fb8e){const _0x47f35d=_0x8769c8,{unitID:_0x206134}=_0x55fb8e,_0x354e92=this[_0x47f35d(0x2bf)]['getRenderById'](_0x206134)[_0x47f35d(0x166)](_0x4ee3f0[_0x47f35d(0x35a)]),{undoCache:_0x4edee3,redoCache:_0x1f4ecd}=_0x354e92[_0x47f35d(0x14f)]();if(_0x4edee3['length']===0x0||_0x1f4ecd['length']===0x0)return;const _0x49b270=[],_0x247a92=[];let _0x31ff05=_0x20daf4[_0x47f35d(0x3d8)][_0x47f35d(0x24a)](_0x55fb8e['mutations'][0x0]),_0x4f426f=_0x20daf4['Tools']['deepClone'](_0x55fb8e['mutations'][0x0]);for(let _0xd2a5a6=_0x4edee3['length']-0x1;_0xd2a5a6>=0x0;_0xd2a5a6--){const _0x1ca1fe={'id':_0x47f35d(0x14c),'params':{..._0x4edee3[_0xd2a5a6]}},_0x17a701={'id':_0x47f35d(0x14c),'params':{..._0x1f4ecd[_0xd2a5a6]}},_0x185e21=this['_transformService']['transformMutation'](_0x31ff05,_0x1ca1fe,!0x1),_0x6b57da=this[_0x47f35d(0x1ee)][_0x47f35d(0x210)](_0x4f426f,_0x17a701,!0x1);if(_0x194445['isTransformMutationFailure'](_0x185e21))throw _0x185e21[_0x47f35d(0x25c)];if(_0x194445['isTransformMutationFailure'](_0x6b57da))throw _0x6b57da['error'];_0x49b270[_0x47f35d(0x1be)](_0x185e21[_0x47f35d(0x162)][_0x47f35d(0x34b)]),_0x247a92[_0x47f35d(0x1be)](_0x6b57da[_0x47f35d(0x162)][_0x47f35d(0x34b)]),_0x31ff05=_0x185e21[_0x47f35d(0x271)],_0x4f426f=_0x6b57da[_0x47f35d(0x271)];}_0x354e92[_0x47f35d(0x1bb)]({'undoCache':_0x49b270,'redoCache':_0x247a92});}['_transformPreviousActiveRange'](_0x1063f8){const _0x46f915=_0x8769c8,{unitID:_0x3cf0ef}=_0x1063f8,_0x5ed78e=this[_0x46f915(0x2bf)][_0x46f915(0x1bc)](_0x3cf0ef)['with'](_0x4ee3f0[_0x46f915(0x35a)]),_0x1e84f0=_0x5ed78e[_0x46f915(0x180)]();if(_0x1e84f0==null)return;const _0x4e811e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1063f8[_0x46f915(0x2ff)],'actions':null,'textRanges':[_0x1e84f0]}}],_0x36918e=this[_0x46f915(0x1ee)][_0x46f915(0x1e2)](_0x1063f8,_0x4e811e);if(!_0x194445['isTransformMutationsWithChangesetSuccess'](_0x36918e))throw _0x36918e[_0x46f915(0x25c)];const _0x481b24=_0x36918e[_0x46f915(0x162)][0x0][_0x46f915(0x34b)][_0x46f915(0x14d)];Array['isArray'](_0x481b24)&&_0x481b24[_0x46f915(0x36d)]&&_0x5ed78e[_0x46f915(0x39a)](_0x481b24[0x0]);}};_0x4d62d0=_0x40e44c([_0x48c4d5(0x0,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0x48c4d5(0x1,_0x194445['ITransformService']),_0x48c4d5(0x2,_0x40e770['IRenderManagerService'])],_0x4d62d0);var _0x4b3e35=Object[_0x8769c8(0x393)],_0x314c93=(_0x10e259,_0x5267b3,_0x54196e,_0x3b1b61)=>{const _0x548451=_0x8769c8;for(var _0x302d2b=_0x3b1b61>0x1?void 0x0:_0x3b1b61?_0x4b3e35(_0x5267b3,_0x54196e):_0x5267b3,_0x486ae4=_0x10e259[_0x548451(0x36d)]-0x1,_0x5c30cf;_0x486ae4>=0x0;_0x486ae4--)(_0x5c30cf=_0x10e259[_0x486ae4])&&(_0x302d2b=_0x5c30cf(_0x302d2b)||_0x302d2b);return _0x302d2b;},_0x5b38fd=(_0x342ade,_0x365a93)=>(_0x4bbd2a,_0x4909ab)=>_0x365a93(_0x4bbd2a,_0x4909ab,_0x342ade);let _0x240e61=class{constructor(_0x568fec,_0x11bd7d,_0x58982b){const _0x247ed4=_0x8769c8;this[_0x247ed4(0x206)]=_0x568fec,this[_0x247ed4(0x1ee)]=_0x11bd7d,this[_0x247ed4(0x155)]=_0x58982b;}[_0x8769c8(0x233)](_0x29e179){this['_transformHistoryAndStateStack'](_0x29e179);}[_0x8769c8(0x1ef)](_0x398c0a){const _0x280987=_0x8769c8,{unitID:_0x42d096}=_0x398c0a,{collaboration:_0x31c0c8}=this[_0x280987(0x155)][_0x280987(0x30e)](_0x42d096);if(_0x31c0c8[_0x280987(0x36d)]===0x0)return _0x398c0a;let _0x43af1b=_0x20daf4[_0x280987(0x3d8)][_0x280987(0x24a)](_0x398c0a[_0x280987(0x188)][0x0]);for(let _0xe12482=0x0;_0xe12482<_0x31c0c8[_0x280987(0x36d)];_0xe12482++){const _0x483e2d={'id':_0x280987(0x14c),'params':{'unitId':_0x31c0c8[_0xe12482]['unitId'],..._0x31c0c8[_0xe12482][_0x280987(0x290)]}},_0x2c9116=this[_0x280987(0x1ee)][_0x280987(0x210)](_0x43af1b,_0x483e2d,!0x1);if(_0x194445[_0x280987(0x365)](_0x2c9116))throw _0x2c9116[_0x280987(0x25c)];_0x43af1b=_0x2c9116[_0x280987(0x271)];}return{..._0x20daf4[_0x280987(0x3d8)][_0x280987(0x24a)](_0x398c0a),'mutations':[_0x43af1b]};}[_0x8769c8(0x38c)](_0x33a71e){const _0x2f3a60=_0x8769c8,{unitID:_0x2ecd8e}=_0x33a71e,{history:_0x511c2c,collaboration:_0x4b3625}=this['_docStateChangeManagerService'][_0x2f3a60(0x30e)](_0x2ecd8e);if(_0x511c2c['length']===0x0&&_0x4b3625[_0x2f3a60(0x36d)]===0x0)return;const _0x2f3962=[],_0x140aa4=[];let _0x366001=_0x20daf4[_0x2f3a60(0x3d8)][_0x2f3a60(0x24a)](_0x33a71e['mutations'][0x0]),_0x3ea1c9=_0x20daf4[_0x2f3a60(0x3d8)][_0x2f3a60(0x24a)](_0x33a71e[_0x2f3a60(0x188)][0x0]);for(let _0x32e158=_0x511c2c[_0x2f3a60(0x36d)]-0x1;_0x32e158>=0x0;_0x32e158--){const _0x310d4d={'id':_0x2f3a60(0x14c),'params':{'unitId':_0x511c2c[_0x32e158][_0x2f3a60(0x3a3)],..._0x511c2c[_0x32e158][_0x2f3a60(0x1b9)]}},_0x53fa5f={'id':_0x2f3a60(0x14c),'params':{'unitId':_0x511c2c[_0x32e158]['unitId'],..._0x511c2c[_0x32e158][_0x2f3a60(0x290)]}},_0x1812e8=this[_0x2f3a60(0x1ee)]['transformMutation'](_0x366001,_0x310d4d,!0x1),_0x428c18=this[_0x2f3a60(0x1ee)][_0x2f3a60(0x210)](_0x3ea1c9,_0x53fa5f,!0x1);if(_0x194445[_0x2f3a60(0x365)](_0x1812e8))throw _0x1812e8[_0x2f3a60(0x25c)];if(_0x194445[_0x2f3a60(0x365)](_0x428c18))throw _0x428c18[_0x2f3a60(0x25c)];_0x2f3962[_0x2f3a60(0x1be)]({..._0x511c2c[_0x32e158],'undoState':_0x1812e8[_0x2f3a60(0x162)]['params'],'redoState':_0x428c18[_0x2f3a60(0x162)][_0x2f3a60(0x34b)]}),_0x366001=_0x1812e8[_0x2f3a60(0x271)],_0x3ea1c9=_0x428c18[_0x2f3a60(0x271)];}_0x366001=_0x20daf4[_0x2f3a60(0x3d8)][_0x2f3a60(0x24a)](_0x33a71e['mutations'][0x0]),_0x3ea1c9=_0x20daf4[_0x2f3a60(0x3d8)][_0x2f3a60(0x24a)](_0x33a71e[_0x2f3a60(0x188)][0x0]);for(let _0xef509c=_0x4b3625[_0x2f3a60(0x36d)]-0x1;_0xef509c>=0x0;_0xef509c--){const _0x30a862={'id':_0x2f3a60(0x14c),'params':{'unitId':_0x4b3625[_0xef509c][_0x2f3a60(0x3a3)],..._0x4b3625[_0xef509c][_0x2f3a60(0x1b9)]}},_0x2e6913={'id':_0x2f3a60(0x14c),'params':{'unitId':_0x4b3625[_0xef509c][_0x2f3a60(0x3a3)],..._0x4b3625[_0xef509c][_0x2f3a60(0x290)]}},_0x24d019=this[_0x2f3a60(0x1ee)]['transformMutation'](_0x366001,_0x30a862,!0x1),_0x5a3164=this['_transformService']['transformMutation'](_0x3ea1c9,_0x2e6913,!0x1);if(_0x194445[_0x2f3a60(0x365)](_0x24d019))throw _0x24d019[_0x2f3a60(0x25c)];if(_0x194445[_0x2f3a60(0x365)](_0x5a3164))throw _0x5a3164[_0x2f3a60(0x25c)];_0x140aa4['unshift']({..._0x4b3625[_0xef509c],'undoState':_0x24d019[_0x2f3a60(0x162)][_0x2f3a60(0x34b)],'redoState':_0x5a3164['m2Prime'][_0x2f3a60(0x34b)]}),_0x366001=_0x24d019[_0x2f3a60(0x271)],_0x3ea1c9=_0x5a3164['m1Prime'];}this[_0x2f3a60(0x155)][_0x2f3a60(0x2ed)](_0x2ecd8e,{'history':_0x2f3962,'collaboration':_0x140aa4});}};_0x240e61=_0x314c93([_0x5b38fd(0x0,_0x20daf4[_0x8769c8(0x280)](_0x20daf4['Injector'])),_0x5b38fd(0x1,_0x194445[_0x8769c8(0x2fc)]),_0x5b38fd(0x2,_0x20daf4[_0x8769c8(0x280)](_0x4ee3f0['DocStateChangeManagerService']))],_0x240e61);var _0xc8e344=Object[_0x8769c8(0x393)],_0x49a538=(_0x2c6c74,_0x5b9f4b,_0x406167,_0x2321a9)=>{for(var _0x4625d9=_0x2321a9>0x1?void 0x0:_0x2321a9?_0xc8e344(_0x5b9f4b,_0x406167):_0x5b9f4b,_0x2c67bc=_0x2c6c74['length']-0x1,_0x2581e0;_0x2c67bc>=0x0;_0x2c67bc--)(_0x2581e0=_0x2c6c74[_0x2c67bc])&&(_0x4625d9=_0x2581e0(_0x4625d9)||_0x4625d9);return _0x4625d9;},_0x1ac337=(_0x16d1b5,_0x32a640)=>(_0x22fc80,_0x142e6e)=>_0x32a640(_0x22fc80,_0x142e6e,_0x16d1b5);let _0x37de98=class{constructor(_0x3cffdd,_0x58fc68){const _0x4e996c=_0x8769c8;this['_injector']=_0x3cffdd,this[_0x4e996c(0x1ee)]=_0x58fc68;}[_0x8769c8(0x26c)](_0xd150b3){const _0xae3f52=_0x8769c8;var _0x397512;const _0x23fd84=this['_injector'][_0xae3f52(0x3de)](_0xcaeb17[_0xae3f52(0x392)]),_0x2aeb83=(_0x397512=_0x23fd84['getDocRanges']())!=null?_0x397512:[];if(_0x2aeb83[_0xae3f52(0x36d)]===0x0)return;const _0x11169f=_0xd150b3[_0xae3f52(0x2ff)],_0x1a2a1d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11169f,'actions':null,'textRanges':_0x2aeb83}}],_0x1435e7=this['_transformService'][_0xae3f52(0x1e2)](_0xd150b3,_0x1a2a1d);if(!_0x194445[_0xae3f52(0x257)](_0x1435e7))throw _0x1435e7['error'];const _0x18a3ce=_0x1435e7[_0xae3f52(0x162)][0x0][_0xae3f52(0x34b)][_0xae3f52(0x14d)];Array['isArray'](_0x18a3ce)&&_0x18a3ce[_0xae3f52(0x36d)]&&_0x23fd84['replaceDocRanges'](_0x18a3ce,{'unitId':_0x11169f,'subUnitId':_0x11169f},!0x1);}};_0x37de98=_0x49a538([_0x1ac337(0x0,_0x20daf4['Inject'](_0x20daf4['Injector'])),_0x1ac337(0x1,_0x194445[_0x8769c8(0x2fc)])],_0x37de98);var _0x10526d=Object['getOwnPropertyDescriptor'],_0x1e8993=(_0x15a473,_0x209640,_0x5e3b71,_0x437043)=>{for(var _0x4e8f79=_0x437043>0x1?void 0x0:_0x437043?_0x10526d(_0x209640,_0x5e3b71):_0x209640,_0x510088=_0x15a473['length']-0x1,_0x59ad7c;_0x510088>=0x0;_0x510088--)(_0x59ad7c=_0x15a473[_0x510088])&&(_0x4e8f79=_0x59ad7c(_0x4e8f79)||_0x4e8f79);return _0x4e8f79;},_0x325e7f=(_0x299177,_0x54b3d1)=>(_0x3f4152,_0x1c734f)=>_0x54b3d1(_0x3f4152,_0x1c734f,_0x299177);let _0x1701de=class extends _0x20daf4[_0x8769c8(0x14b)]{constructor(_0x3d5ebe,_0xf97007,_0x454837,_0xf310b3,_0x482484,_0x50cea4,_0xc43dd0,_0x191546){const _0xe2796=_0x8769c8;super(),_0x54ae28(this,_0xe2796(0x1ad),new _0x540cdf[(_0xe2796(0x15f))](_0x32d137[_0xe2796(0x32a)][_0xe2796(0x253)])),(this[_0xe2796(0x155)]=_0x3d5ebe,this[_0xe2796(0x342)]=_0xf97007,this[_0xe2796(0x20c)]=_0x454837,this['_docTransformStateCacheService']=_0xf310b3,this[_0xe2796(0x150)]=_0x482484,this[_0xe2796(0x388)]=_0x50cea4,this['_messageService']=_0xc43dd0,this[_0xe2796(0x211)]=_0x191546,this[_0xe2796(0x273)]());}[_0x8769c8(0x273)](){const _0xd14ef7=_0x8769c8;this[_0xd14ef7(0x3ed)](this[_0xd14ef7(0x342)][_0xd14ef7(0x30a)]['subscribe'](_0x36f715=>{const _0x5ec37b=_0xd14ef7,_0x5ce6d2=this[_0x5ec37b(0x155)][_0x5ec37b(0x239)][_0x5ec37b(0x2bc)](_0x5abd3b=>{const _0x1aee58=_0x5ec37b;if(_0x5abd3b==null)return;const {unitId:_0x4da025,redoState:_0x42cd98,commandId:_0x31f56a}=_0x5abd3b;if(_0x4da025!==_0x36f715[_0x1aee58(0x2ff)])return;const _0x7b92ef={'id':_0x31f56a,'type':_0x20daf4[_0x1aee58(0x203)][_0x1aee58(0x338)],'params':{'unitId':_0x4da025,'actions':_0x42cd98[_0x1aee58(0x204)],'textRanges':null}};_0x36f715[_0x1aee58(0x39d)](_0x7b92ef);});if(_0x36f715['disposeWithMe'](_0x5ce6d2),_0x36f715 instanceof _0x32d137[_0x5ec37b(0x3a9)]){const _0x1ffc01={'onTransformIME':_0x34285b=>this[_0x5ec37b(0x20c)][_0x5ec37b(0x2d5)](_0x34285b),'onTransformState':_0x13e266=>this[_0x5ec37b(0x254)][_0x5ec37b(0x233)](_0x13e266),'onTransformSelections':_0x322c95=>this['_docTransformSelectionsService'][_0x5ec37b(0x26c)](_0x322c95),'onSyncEditingCollabCursor':_0x7d6dbb=>this['_docSyncEditingCollabCursorService'][_0x5ec37b(0x349)](_0x7d6dbb),'onTransformRemoteChangesetByIMECache':_0x4059da=>this[_0x5ec37b(0x20c)][_0x5ec37b(0x1ef)](_0x4059da),'onTransformRemoteChangesetByStateCache':_0x123d2b=>this['_docTransformStateCacheService'][_0x5ec37b(0x1ef)](_0x123d2b)};_0x36f715[_0x5ec37b(0x224)](_0x1ffc01);}}));}};_0x1701de=_0x1e8993([_0x325e7f(0x0,_0x20daf4['Inject'](_0x4ee3f0[_0x8769c8(0x2bd)])),_0x325e7f(0x1,_0x20daf4['Inject'](_0x32d137[_0x8769c8(0x3af)])),_0x325e7f(0x2,_0x20daf4[_0x8769c8(0x280)](_0x4d62d0)),_0x325e7f(0x3,_0x20daf4[_0x8769c8(0x280)](_0x240e61)),_0x325e7f(0x4,_0x20daf4[_0x8769c8(0x280)](_0x37de98)),_0x325e7f(0x5,_0x20daf4[_0x8769c8(0x280)](_0x247b51)),_0x325e7f(0x6,_0x248344[_0x8769c8(0x1c1)]),_0x325e7f(0x7,_0x20daf4['Inject'](_0x20daf4['LocaleService']))],_0x1701de);var _0x33a051=Object[_0x8769c8(0x393)],_0x4a4731=(_0x5612cd,_0x51adcb,_0x2ecd72,_0x58e063)=>{const _0x46f958=_0x8769c8;for(var _0x55606c=_0x58e063>0x1?void 0x0:_0x58e063?_0x33a051(_0x51adcb,_0x2ecd72):_0x51adcb,_0x183ec5=_0x5612cd[_0x46f958(0x36d)]-0x1,_0x5c5994;_0x183ec5>=0x0;_0x183ec5--)(_0x5c5994=_0x5612cd[_0x183ec5])&&(_0x55606c=_0x5c5994(_0x55606c)||_0x55606c);return _0x55606c;},_0x5c8bbd=(_0x25c4f2,_0x327a4a)=>(_0x4e586c,_0x50c316)=>_0x327a4a(_0x4e586c,_0x50c316,_0x25c4f2);let _0x550ee1=class extends _0x20daf4[_0x8769c8(0x14b)]{constructor(_0x78f95f,_0x623364,_0x3c9fab){const _0x197bbe=_0x8769c8;super(),_0x54ae28(this,_0x197bbe(0x33e),new Map()),_0x54ae28(this,_0x197bbe(0x3e5),new Map()),_0x54ae28(this,_0x197bbe(0x212),!0x1),(this[_0x197bbe(0x170)]=_0x78f95f,this[_0x197bbe(0x313)]=_0x623364,this[_0x197bbe(0x2f7)]=_0x3c9fab);}[_0x8769c8(0x2ba)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x41319d=_0x8769c8;this[_0x41319d(0x212)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x604c24=_0x8769c8;this[_0x604c24(0x2da)]()['then'](()=>super[_0x604c24(0x221)]());}async[_0x8769c8(0x3da)](_0x44bcc2){const _0x4da1d9=_0x8769c8;return this[_0x4da1d9(0x212)]?null:this[_0x4da1d9(0x313)][_0x4da1d9(0x377)](_0x32d137[_0x4da1d9(0x1ed)](_0x44bcc2));}async['saveOfflineData'](_0x478364,_0x4991b5){const _0x3e0952=_0x8769c8;return!!this[_0x3e0952(0x313)]['setItem'](_0x478364,_0x4991b5);}[_0x8769c8(0x391)](_0x48b2d7,_0x414ff9,_0x3ca7a3,_0x3c5013){const _0x356996=_0x8769c8,_0x440e11=this[_0x356996(0x2f7)][_0x356996(0x2b0)](_0x48b2d7);this[_0x356996(0x33e)][_0x356996(0x169)](_0x48b2d7,{'unitID':_0x48b2d7,'type':_0x414ff9,'awaitingChangeset':_0x3ca7a3,'mutations':_0x3c5013,'rev':_0x440e11}),this['_saveTaskMap'][_0x356996(0x1a7)](_0x48b2d7)||this['_scheduleSaving'](_0x48b2d7);}['_scheduleSaving'](_0x2baef3){const _0x3db9fb=_0x8769c8,_0x1356b4=this[_0x3db9fb(0x33a)]();_0x1356b4===0x0?this[_0x3db9fb(0x1a0)](_0x2baef3):this[_0x3db9fb(0x3e5)][_0x3db9fb(0x169)](_0x2baef3,setTimeout(()=>this[_0x3db9fb(0x1a0)](_0x2baef3),_0x1356b4));}['_getSaveTimeout'](){const _0x5af425=_0x8769c8;var _0xad7b48;return(_0xad7b48=this[_0x5af425(0x170)][_0x5af425(0x2a3)](_0x32d137[_0x5af425(0x357)]))!=null?_0xad7b48:_0x32d137[_0x5af425(0x2e3)];}[_0x8769c8(0x1a0)](_0x4ba91d){const _0x30302a=_0x8769c8,_0x5901aa=this[_0x30302a(0x3e5)][_0x30302a(0x3de)](_0x4ba91d);return _0x5901aa!==void 0x0&&window[_0x30302a(0x158)](_0x5901aa),this[_0x30302a(0x313)][_0x30302a(0x183)](_0x32d137[_0x30302a(0x1ed)](_0x4ba91d),this[_0x30302a(0x33e)][_0x30302a(0x3de)](_0x4ba91d))['then'](()=>this[_0x30302a(0x3e5)][_0x30302a(0x3e0)](_0x4ba91d));}async[_0x8769c8(0x2da)](){const _0x11d596=_0x8769c8,_0x1ffaf2=[];this[_0x11d596(0x3e5)][_0x11d596(0x1eb)]((_0xc2189d,_0xf4fe6f)=>{const _0x505868=_0x11d596;window[_0x505868(0x158)](_0xc2189d),_0x1ffaf2[_0x505868(0x301)](this[_0x505868(0x1a0)](_0xf4fe6f)[_0x505868(0x326)](()=>{const _0x205791=_0x505868;this['_saveTaskMap'][_0x205791(0x3e0)](_0xf4fe6f);}));}),await Promise[_0x11d596(0x370)](_0x1ffaf2);}};_0x550ee1=_0x4a4731([_0x5c8bbd(0x0,_0x20daf4['IConfigService']),_0x5c8bbd(0x1,_0x20daf4[_0x8769c8(0x1c9)]),_0x5c8bbd(0x2,_0x20daf4['Inject'](_0x194445[_0x8769c8(0x3ce)]))],_0x550ee1);class _0x24f375 extends _0x20daf4['RxDisposable']{constructor(){const _0xba96b6=_0x8769c8;super(),_0x54ae28(this,_0xba96b6(0x399)),this[_0xba96b6(0x399)]=_0x540cdf[_0xba96b6(0x29b)](window,_0xba96b6(0x38e))[_0xba96b6(0x30c)](_0x540cdf[_0xba96b6(0x3bb)](this[_0xba96b6(0x1dd)]),_0x540cdf[_0xba96b6(0x17c)](0x1),_0x540cdf[_0xba96b6(0x37e)](void 0x0));}['setParam'](_0x5a3dce,_0x30fd4c,_0x4077c9=!0x1){const _0x5c7284=_0x8769c8,_0x19ea24=new URL(window[_0x5c7284(0x38b)][_0x5c7284(0x3e8)]);_0x19ea24['searchParams'][_0x5c7284(0x169)](_0x5a3dce,_0x30fd4c),_0x4077c9?window['history'][_0x5c7284(0x3d0)]('','',_0x19ea24['toString']()):window['history'][_0x5c7284(0x315)]('','',_0x19ea24[_0x5c7284(0x3e3)]());}[_0x8769c8(0x1b1)](_0x50f007,_0x5db5c6=!0x1){const _0x5c7c47=_0x8769c8,_0x175853=new URL(window[_0x5c7c47(0x38b)][_0x5c7c47(0x3e8)]);_0x175853['searchParams']['delete'](_0x50f007),_0x5db5c6?window[_0x5c7c47(0x3ea)]['replaceState']('','',_0x175853['toString']()):window[_0x5c7c47(0x3ea)]['pushState']('','',_0x175853[_0x5c7c47(0x3e3)]());}[_0x8769c8(0x1f7)](_0x38dc79){const _0x293c88=_0x8769c8;var _0x1657a9;return(_0x1657a9=new URL(window[_0x293c88(0x38b)][_0x293c88(0x3e8)])[_0x293c88(0x285)][_0x293c88(0x3de)](_0x38dc79))!=null?_0x1657a9:void 0x0;}}var _0x4ce5b5=Object[_0x8769c8(0x331)],_0x291923=Object['getOwnPropertyDescriptor'],_0x3deea8=(_0x498a15,_0x562f02,_0x30c6cb)=>_0x562f02 in _0x498a15?_0x4ce5b5(_0x498a15,_0x562f02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30c6cb}):_0x498a15[_0x562f02]=_0x30c6cb,_0x4025dc=(_0x2dc7fd,_0x3fc349,_0x3fea39,_0x5ac509)=>{const _0x160fe0=_0x8769c8;for(var _0x3fad04=_0x5ac509>0x1?void 0x0:_0x5ac509?_0x291923(_0x3fc349,_0x3fea39):_0x3fc349,_0x20a752=_0x2dc7fd[_0x160fe0(0x36d)]-0x1,_0x2c993c;_0x20a752>=0x0;_0x20a752--)(_0x2c993c=_0x2dc7fd[_0x20a752])&&(_0x3fad04=_0x2c993c(_0x3fad04)||_0x3fad04);return _0x3fad04;},_0x1e2020=(_0x6cdbc,_0x463341)=>(_0x17dbaf,_0x2a85bb)=>_0x463341(_0x17dbaf,_0x2a85bb,_0x6cdbc),_0x5d6098=(_0x325237,_0x41a719,_0x411dfd)=>_0x3deea8(_0x325237,_0x41a719+'',_0x411dfd);const _0x445d8e='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x278b89[_0x8769c8(0x28b)]=class extends _0x20daf4[_0x8769c8(0x379)]{constructor(_0x96b56=_0x3fa06b,_0xc25a76,_0x4441a8,_0x5101f3){const _0x4a46ed=_0x8769c8;super(),this[_0x4a46ed(0x238)]=_0x96b56,this[_0x4a46ed(0x2bf)]=_0xc25a76,this[_0x4a46ed(0x206)]=_0x4441a8,this[_0x4a46ed(0x170)]=_0x5101f3;const {..._0x2dc5ff}=_0x20daf4['merge']({},_0x3fa06b,this['_config']);this[_0x4a46ed(0x170)][_0x4a46ed(0x185)](_0x3fc9cc,_0x2dc5ff);}[_0x8769c8(0x18b)](){const _0x441219=_0x8769c8;this[_0x441219(0x1ec)](),this[_0x441219(0x152)]();}[_0x8769c8(0x2a4)](){this['_registerRenderDependencies']();}[_0x8769c8(0x1ec)](){const _0x13128c=_0x8769c8;var _0xb317c3;const _0x4f0f9e=[[_0x57e7c6],[_0x37de98],[_0x4d62d0],[_0x240e61],[_0x247b51],[_0x41cb68,{'useClass':_0x24f375}],[_0x5a08b0[_0x13128c(0x187)],{'useClass':_0x5a08b0[_0x13128c(0x28f)]}],[_0x32d137[_0x13128c(0x39b)],{'useClass':_0x550ee1}],[_0x278b89[_0x13128c(0x2ee)]],[_0x1701de],[_0x405e3e],[_0x22e85b],[_0x3e963e],[_0x278b89[_0x13128c(0x1aa)]]];_0x20daf4[_0x13128c(0x37f)](this[_0x13128c(0x206)],_0x20daf4[_0x13128c(0x321)](_0x4f0f9e,(_0xb317c3=this[_0x13128c(0x238)])==null?void 0x0:_0xb317c3[_0x13128c(0x161)]));}['_registerRenderDependencies'](){const _0x5f1773=_0x8769c8;this[_0x5f1773(0x3ed)](this[_0x5f1773(0x2bf)][_0x5f1773(0x398)](_0x20daf4[_0x5f1773(0x2be)]['UNIVER_DOC'],[_0x27aeca])),this[_0x5f1773(0x3ed)](this[_0x5f1773(0x2bf)][_0x5f1773(0x398)](_0x20daf4[_0x5f1773(0x2be)]['UNIVER_SHEET'],[_0x50d86f]));}['_initDependencies'](){const _0x5af635=_0x8769c8;_0x20daf4[_0x5af635(0x327)](this['_injector'],[[_0x22e85b],[_0x278b89['DesktopCollaborationStatusDisplayController']],[_0x1701de],[_0x405e3e],[_0x278b89[_0x5af635(0x1aa)]]]);}},_0x5d6098(_0x278b89['UniverCollaborationClientUIPlugin'],_0x8769c8(0x2e6),_0x445d8e),_0x278b89['UniverCollaborationClientUIPlugin']=_0x4025dc([_0x20daf4['DependentOn'](_0x32d137[_0x8769c8(0x284)]),_0x1e2020(0x1,_0x40e770[_0x8769c8(0x385)]),_0x1e2020(0x2,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0x1e2020(0x3,_0x20daf4[_0x8769c8(0x1c4)])],_0x278b89['UniverCollaborationClientUIPlugin']);var _0x54b4ee=Object['getOwnPropertyDescriptor'],_0x189452=(_0x3e359e,_0x4e5fc0,_0x367146,_0xcc1dd6)=>{const _0x4c7aaf=_0x8769c8;for(var _0x77b50b=_0xcc1dd6>0x1?void 0x0:_0xcc1dd6?_0x54b4ee(_0x4e5fc0,_0x367146):_0x4e5fc0,_0x360e8b=_0x3e359e[_0x4c7aaf(0x36d)]-0x1,_0x1ec42f;_0x360e8b>=0x0;_0x360e8b--)(_0x1ec42f=_0x3e359e[_0x360e8b])&&(_0x77b50b=_0x1ec42f(_0x77b50b)||_0x77b50b);return _0x77b50b;},_0x40ebfc=(_0x57c97e,_0x1b067c)=>(_0x570b43,_0x288679)=>_0x1b067c(_0x570b43,_0x288679,_0x57c97e);_0x278b89[_0x8769c8(0x2a9)]=class extends _0x32d137['CollaborationSocketService']{constructor(_0x5d1696,_0x1a05e6,_0x3f6118,_0x37198d,_0x3c0c1f){super(_0x5d1696,_0x1a05e6,_0x3f6118,_0x37198d,_0x3c0c1f);}async['createSocket'](_0x2460fd){const _0x4019d3=_0x8769c8,_0x2c2846=await this['_getSessionTicket'](),_0x34cbc3=this['_createSocketURL'](_0x2460fd,_0x2c2846);return this[_0x4019d3(0x264)](_0x34cbc3);}[_0x8769c8(0x1c7)](_0x105922,_0x3aabc8){const _0x1e354e=_0x8769c8,_0x4f269c=typeof window>'u'?new URL(_0x105922):new URL(_0x105922,window['location'][_0x1e354e(0x3c8)]);_0x4f269c['searchParams']['set'](_0x1e354e(0x1d0),_0x3aabc8);const _0x100548=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1e354e(0x38b)]['search']);return _0x100548[_0x1e354e(0x3de)](_0x1e354e(0x3d3))&&_0x4f269c[_0x1e354e(0x285)]['set'](_0x1e354e(0x3d3),_0x100548['get'](_0x1e354e(0x3d3))),_0x4f269c[_0x1e354e(0x3e3)]();}async[_0x8769c8(0x373)](){const _0x1747aa=_0x8769c8;var _0x103eee,_0x20d46b,_0xf6d753;const _0x8af5a4=this[_0x1747aa(0x170)][_0x1747aa(0x2a3)](_0x32d137[_0x1747aa(0x18e)]),_0x1dfa01=(_0x103eee=_0x8af5a4==null?void 0x0:_0x8af5a4[_0x1747aa(0x3dd)])!=null?_0x103eee:_0x32d137[_0x1747aa(0x235)];return(_0xf6d753=(_0x20d46b=(await this['_httpService'][_0x1747aa(0x3de)](_0x1dfa01,{'headers':{'Content-Type':_0x1747aa(0x2dc)}}))['body'])==null?void 0x0:_0x20d46b['ticket'])!=null?_0xf6d753:'';}},_0x278b89[_0x8769c8(0x2a9)]=_0x189452([_0x40ebfc(0x0,_0x20daf4[_0x8769c8(0x280)](_0x20daf4[_0x8769c8(0x1f2)])),_0x40ebfc(0x1,_0x20daf4[_0x8769c8(0x280)](_0x5a08b0['HTTPService'])),_0x40ebfc(0x2,_0x20daf4[_0x8769c8(0x1c4)]),_0x40ebfc(0x3,_0x20daf4[_0x8769c8(0x37a)]),_0x40ebfc(0x4,_0x194445[_0x8769c8(0x3f4)])],_0x278b89['BrowserCollaborationSocketService']);const _0x43f303=0x7530,_0x3b2afa=_0x8769c8(0x2af);class _0x44ecb5 extends _0x20daf4[_0x8769c8(0x14b)]{constructor(){const _0x1d2f13=_0x8769c8;super(),_0x54ae28(this,_0x1d2f13(0x3bf),_0x20daf4[_0x1d2f13(0x382)]()),_0x54ae28(this,_0x1d2f13(0x324),new Set()),_0x54ae28(this,_0x1d2f13(0x1b3),new Map()),_0x54ae28(this,_0x1d2f13(0x1e3),null),_0x54ae28(this,'_clearOtherTimers',new Map()),_0x54ae28(this,_0x1d2f13(0x293),new Map()),this['_init']();}[_0x8769c8(0x221)](){const _0x1660b1=_0x8769c8;super[_0x1660b1(0x221)](),this[_0x1660b1(0x2ca)][_0x1660b1(0x1eb)]((_0xb594f1,_0x20a636)=>this[_0x1660b1(0x190)](_0x20a636)),this[_0x1660b1(0x1e3)]&&window['clearInterval'](this[_0x1660b1(0x1e3)]);}['getUnitStatus$'](_0x2eefd1){return this['_ensureSubject'](_0x2eefd1)['pipe'](_0x540cdf['distinctUntilChanged']());}['editingUnit'](_0x19c555){const _0x50fe7d=_0x8769c8;this['_selfUnitIDs'][_0x50fe7d(0x2e9)]===0x0&&this[_0x50fe7d(0x240)](),this[_0x50fe7d(0x324)][_0x50fe7d(0x207)](_0x19c555),this['_send']({'type':0x0,'memberID':this[_0x50fe7d(0x3bf)],'unitIDs':[_0x19c555],'isForwarded':!0x1});}[_0x8769c8(0x2ec)](_0x410d53){const _0x1aa8a6=_0x8769c8;this[_0x1aa8a6(0x324)][_0x1aa8a6(0x3e0)](_0x410d53),this[_0x1aa8a6(0x324)][_0x1aa8a6(0x2e9)]===0x0&&this[_0x1aa8a6(0x1e3)]&&window[_0x1aa8a6(0x282)](this[_0x1aa8a6(0x1e3)]);}[_0x8769c8(0x2ad)](){const _0x34c924=_0x8769c8;this[_0x34c924(0x3ed)](_0x20daf4[_0x34c924(0x2f1)](_0x540cdf[_0x34c924(0x29b)](window,_0x34c924(0x2b9))[_0x34c924(0x2bc)](_0x5269ff=>{const _0x170a84=_0x34c924;if(_0x5269ff[_0x170a84(0x222)]!==_0x3b2afa||!_0x5269ff[_0x170a84(0x15b)])return;const _0x4ac6ba=JSON['parse'](_0x5269ff[_0x170a84(0x15b)]);this['_handleEvent'](_0x4ac6ba);}))),window[_0x34c924(0x319)]('unload',()=>this[_0x34c924(0x209)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x8769c8(0x3a4)](_0x58870b){const _0x1e49db=_0x8769c8;switch(_0x58870b['type']){case 0x0:this[_0x1e49db(0x164)](_0x58870b);break;case 0x1:this[_0x1e49db(0x267)](_0x58870b);break;case 0x2:this['_handleHeartbeatEvent'](_0x58870b);break;}}[_0x8769c8(0x164)](_0xc02318){const _0x525419=_0x8769c8,{unitIDs:_0x1e8374,memberID:_0x26b77a,isForwarded:_0x430b04}=_0xc02318;_0x1e8374[_0x525419(0x1eb)](_0x4cb477=>{const _0x318aee=_0x525419;if(!_0x430b04&&this['_unitOnClients'][_0x318aee(0x1a7)](_0x4cb477)&&this['_ensureSubject'](_0x4cb477)[_0x318aee(0x362)](_0x32d137[_0x318aee(0x3e7)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x318aee(0x1a7)](_0x4cb477)||!this['_unitOnClients'][_0x318aee(0x3de)](_0x4cb477)[_0x318aee(0x1a7)](_0x26b77a)){const _0x5dccde=this[_0x318aee(0x1b3)][_0x318aee(0x3de)](_0x4cb477)||new Set();_0x5dccde[_0x318aee(0x207)](_0x26b77a),this[_0x318aee(0x1b3)][_0x318aee(0x169)](_0x4cb477,_0x5dccde),this['_scheduleClearOtherTimer'](_0x26b77a);}}),_0x430b04||this[_0x525419(0x209)]({'type':0x0,'memberID':this[_0x525419(0x3bf)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x8769c8(0x297)](_0x51f72c){const _0x23ffb0=_0x8769c8;this[_0x23ffb0(0x190)](_0x51f72c);const _0x318fd7=window[_0x23ffb0(0x328)](()=>{const _0x1648fe=_0x23ffb0;this[_0x1648fe(0x1b3)][_0x1648fe(0x1eb)](_0x310025=>{const _0x2dfae7=_0x1648fe;_0x310025[_0x2dfae7(0x3e0)](_0x51f72c);});},_0x43f303*0x2);this[_0x23ffb0(0x2ca)][_0x23ffb0(0x169)](_0x51f72c,_0x318fd7);}['_removeClearOtherTimer'](_0x2651d3){const _0xc9c8a5=_0x8769c8;if(this[_0xc9c8a5(0x2ca)][_0xc9c8a5(0x1a7)](_0x2651d3)){const _0x3c61c7=this[_0xc9c8a5(0x2ca)][_0xc9c8a5(0x3de)](_0x2651d3);_0x3c61c7&&window[_0xc9c8a5(0x158)](_0x3c61c7),this[_0xc9c8a5(0x2ca)]['set'](_0x2651d3,null);}}['_handleLeaveEvent'](_0x3c902a){const _0xd747cf=_0x8769c8,{memberID:_0x396eb2,unitIDs:_0x5423ba}=_0x3c902a;_0x5423ba['forEach'](_0x305405=>{const _0x3a5e27=_0x4e08;var _0x369a39;const _0x1bd07a=this['_unitOnClients']['get'](_0x305405);_0x1bd07a&&(_0x1bd07a['delete'](_0x396eb2),(_0x369a39=this['_ensureSubject'](_0x305405))==null||_0x369a39[_0x3a5e27(0x362)](_0x1bd07a['size']===0x0?_0x32d137[_0x3a5e27(0x3e7)][_0x3a5e27(0x288)]:_0x32d137[_0x3a5e27(0x3e7)][_0x3a5e27(0x296)]));}),this[_0xd747cf(0x190)](_0x396eb2);}['_handleHeartbeatEvent'](_0x3e0853){const _0x21a839=_0x8769c8;this['_scheduleClearOtherTimer'](_0x3e0853[_0x21a839(0x289)]);}[_0x8769c8(0x209)](_0x5524c7){const _0x3a0a47=_0x8769c8;localStorage[_0x3a0a47(0x183)](_0x3b2afa,JSON['stringify'](_0x5524c7));}[_0x8769c8(0x240)](){const _0x1936bc=_0x8769c8;this[_0x1936bc(0x1e3)]=window['setInterval'](()=>{const _0x4446e4=_0x1936bc;this['_send']({'type':0x2,'memberID':this[_0x4446e4(0x3bf)]});},_0x43f303);}['_ensureSubject'](_0x16f3a7){const _0x463f0e=_0x8769c8;return this[_0x463f0e(0x293)][_0x463f0e(0x1a7)](_0x16f3a7)||this[_0x463f0e(0x293)][_0x463f0e(0x169)](_0x16f3a7,new _0x540cdf['BehaviorSubject'](_0x32d137[_0x463f0e(0x3e7)][_0x463f0e(0x288)])),this[_0x463f0e(0x293)][_0x463f0e(0x3de)](_0x16f3a7);}}var _0x180800=(_0x4e7069=>(_0x4e7069[_0x4e7069[_0x8769c8(0x28e)]=0x0]=_0x8769c8(0x28e),_0x4e7069[_0x4e7069['OK']=0x1]='OK',_0x4e7069[_0x4e7069['INTERNAL_ERROR']=0x2]=_0x8769c8(0x197),_0x4e7069[_0x4e7069[_0x8769c8(0x1ff)]=0x3]=_0x8769c8(0x1ff),_0x4e7069[_0x4e7069['NOT_FOUND']=0x4]=_0x8769c8(0x2f0),_0x4e7069[_0x4e7069[_0x8769c8(0x22f)]=0x5]=_0x8769c8(0x22f),_0x4e7069[_0x4e7069[_0x8769c8(0x3bc)]=0x6]=_0x8769c8(0x3bc),_0x4e7069[_0x4e7069[_0x8769c8(0x1af)]=0x7]=_0x8769c8(0x1af),_0x4e7069[_0x4e7069[_0x8769c8(0x31e)]=0x8]=_0x8769c8(0x31e),_0x4e7069[_0x4e7069[_0x8769c8(0x3cb)]=0x9]=_0x8769c8(0x3cb),_0x4e7069[_0x4e7069['LOGIN_FAILED']=0xa]=_0x8769c8(0x394),_0x4e7069[_0x4e7069[_0x8769c8(0x3c2)]=0xb]=_0x8769c8(0x3c2),_0x4e7069[_0x4e7069[_0x8769c8(0x260)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4e7069[_0x4e7069[_0x8769c8(0x34c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4e7069[_0x4e7069['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4e7069[_0x4e7069['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x8769c8(0x3c5),_0x4e7069[_0x4e7069[_0x8769c8(0x250)]=0x1771]=_0x8769c8(0x250),_0x4e7069[_0x4e7069[_0x8769c8(0x34e)]=0x1772]=_0x8769c8(0x34e),_0x4e7069[_0x4e7069[_0x8769c8(0x2d0)]=0x1773]=_0x8769c8(0x2d0),_0x4e7069[_0x4e7069[_0x8769c8(0x281)]=0x1b59]=_0x8769c8(0x281),_0x4e7069[_0x4e7069['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4e7069[_0x4e7069[_0x8769c8(0x2fb)]=0x1b5b]=_0x8769c8(0x2fb),_0x4e7069[_0x4e7069['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4e7069[_0x4e7069['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4e7069[_0x4e7069[_0x8769c8(0x2e7)]=0x1f41]=_0x8769c8(0x2e7),_0x4e7069[_0x4e7069[_0x8769c8(0x295)]=0x2329]=_0x8769c8(0x295),_0x4e7069[_0x4e7069[_0x8769c8(0x25b)]=0x232a]=_0x8769c8(0x25b),_0x4e7069[_0x4e7069[_0x8769c8(0x3e2)]=0x232b]=_0x8769c8(0x3e2),_0x4e7069[_0x4e7069[_0x8769c8(0x3b1)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x4e7069[_0x4e7069['LICENSE_DISTRO_REJECTED']=0x232d]=_0x8769c8(0x291),_0x4e7069[_0x4e7069[_0x8769c8(0x21b)]=0x2711]=_0x8769c8(0x21b),_0x4e7069[_0x4e7069[_0x8769c8(0x16c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4e7069[_0x4e7069[_0x8769c8(0x245)]=0x2713]=_0x8769c8(0x245),_0x4e7069[_0x4e7069['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4e7069[_0x4e7069[_0x8769c8(0x1c2)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4e7069[_0x4e7069['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4e7069[_0x4e7069[_0x8769c8(0x20b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4e7069[_0x4e7069[_0x8769c8(0x2e0)]=0x271d]=_0x8769c8(0x2e0),_0x4e7069[_0x4e7069[_0x8769c8(0x2f9)]=0x271e]=_0x8769c8(0x2f9),_0x4e7069[_0x4e7069[_0x8769c8(0x2ea)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4e7069[_0x4e7069[_0x8769c8(0x16a)]=0x2720]=_0x8769c8(0x16a),_0x4e7069[_0x4e7069[_0x8769c8(0x2a5)]=0x2af9]=_0x8769c8(0x2a5),_0x4e7069[_0x4e7069[_0x8769c8(0x2c0)]=0x2ee1]=_0x8769c8(0x2c0),_0x4e7069[_0x4e7069[_0x8769c8(0x219)]=0x2ee2]=_0x8769c8(0x219),_0x4e7069[_0x4e7069[_0x8769c8(0x1c3)]=0x2ee3]=_0x8769c8(0x1c3),_0x4e7069[_0x4e7069[_0x8769c8(0x21c)]=0x2ee4]=_0x8769c8(0x21c),_0x4e7069[_0x4e7069['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x8769c8(0x198),_0x4e7069[_0x4e7069[_0x8769c8(0x259)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4e7069[_0x4e7069[_0x8769c8(0x3ef)]=0x32ca]=_0x8769c8(0x3ef),_0x4e7069[_0x4e7069[_0x8769c8(0x1b0)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4e7069[_0x4e7069[_0x8769c8(0x2e5)]=-0x1]='UNRECOGNIZED',_0x4e7069))(_0x180800||{}),_0x7f8f9=Object[_0x8769c8(0x393)],_0x4a9125=(_0x3ea17f,_0x2f6d88,_0x2b5a5e,_0x100352)=>{const _0x55baad=_0x8769c8;for(var _0x27f8b9=_0x100352>0x1?void 0x0:_0x100352?_0x7f8f9(_0x2f6d88,_0x2b5a5e):_0x2f6d88,_0x89b2da=_0x3ea17f[_0x55baad(0x36d)]-0x1,_0x445ec0;_0x89b2da>=0x0;_0x89b2da--)(_0x445ec0=_0x3ea17f[_0x89b2da])&&(_0x27f8b9=_0x445ec0(_0x27f8b9)||_0x27f8b9);return _0x27f8b9;},_0x21db1b=(_0x20f569,_0xc4d57f)=>(_0x161c38,_0x588acb)=>_0xc4d57f(_0x161c38,_0x588acb,_0x20f569);_0x278b89[_0x8769c8(0x354)]=class extends _0x20daf4['Disposable']{constructor(_0x2e3335,_0x40f0bb,_0x27839c){const _0x2d9e86=_0x8769c8;super(),this['_instanceService']=_0x2e3335,this[_0x2d9e86(0x196)]=_0x40f0bb,this[_0x2d9e86(0x170)]=_0x27839c;}async[_0x8769c8(0x217)](_0x5733ca,_0x19c123,_0x3ba6b2,..._0x4f6f1d){const _0x2e29f4=_0x8769c8;var _0x538b62,_0x4de088,_0x10eb7d,_0x334413;const _0x441bad=this[_0x2e29f4(0x244)][_0x2e29f4(0x23c)]();if(!_0x441bad)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x47cd9e=((_0x538b62=this[_0x2e29f4(0x170)]['getConfig'](_0x32d137[_0x2e29f4(0x31b)]))!=null?_0x538b62:_0x32d137['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5733ca+'/run/'+_0x19c123,_0x385efa=new URL(window['location'][_0x2e29f4(0x3e8)]),_0x1f83be={'scriptId':_0x5733ca,'runId':(_0x4de088=_0x385efa[_0x2e29f4(0x285)][_0x2e29f4(0x3de)](_0x2e29f4(0x3d3)))!=null?_0x4de088:'','function':_0x19c123,'unitId':_0x441bad[_0x2e29f4(0x213)](),'argsOfFunction':JSON[_0x2e29f4(0x2ae)](_0x4f6f1d),'invokeId':(_0x10eb7d=_0x3ba6b2['invokeId'])!=null?_0x10eb7d:'','executionId':(_0x334413=_0x3ba6b2[_0x2e29f4(0x368)])!=null?_0x334413:''};try{const _0x44019a=await this[_0x2e29f4(0x196)][_0x2e29f4(0x322)](_0x47cd9e,{'body':_0x1f83be});return _0x44019a[_0x2e29f4(0x19a)][_0x2e29f4(0x25c)]&&_0x44019a[_0x2e29f4(0x19a)][_0x2e29f4(0x25c)][_0x2e29f4(0x26f)]!==_0x180800['OK']?'Failed':_0x44019a[_0x2e29f4(0x19a)][_0x2e29f4(0x32c)];}catch{return'Failed';}}},_0x278b89[_0x8769c8(0x354)]=_0x4a9125([_0x21db1b(0x0,_0x20daf4[_0x8769c8(0x37c)]),_0x21db1b(0x1,_0x20daf4[_0x8769c8(0x280)](_0x5a08b0['HTTPService'])),_0x21db1b(0x2,_0x20daf4[_0x8769c8(0x1c4)])],_0x278b89['RemoteUniscriptService']),_0x278b89[_0x8769c8(0x3b6)]=_0x4fb579,_0x278b89[_0x8769c8(0x1ac)]=_0x41cb68,_0x278b89['SheetCollabCursorShape']=_0x381d8f,_0x278b89[_0x8769c8(0x2f3)]=_0x44ecb5,_0x278b89[_0x8769c8(0x374)]=_0x24f375,Object[_0x8769c8(0x331)](_0x278b89,Symbol[_0x8769c8(0x25a)],{'value':'Module'});}));
|