@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-825ae55

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x275a8f,_0x2bd4f2){const _0x5783dd=_0x568e,_0x27e166=_0x275a8f();while(!![]){try{const _0x5e3080=-parseInt(_0x5783dd(0x2a2))/0x1*(-parseInt(_0x5783dd(0xce))/0x2)+parseInt(_0x5783dd(0x158))/0x3*(-parseInt(_0x5783dd(0x227))/0x4)+-parseInt(_0x5783dd(0xd7))/0x5+parseInt(_0x5783dd(0xdd))/0x6*(-parseInt(_0x5783dd(0x153))/0x7)+parseInt(_0x5783dd(0x2b6))/0x8+-parseInt(_0x5783dd(0x184))/0x9+parseInt(_0x5783dd(0x239))/0xa;if(_0x5e3080===_0x2bd4f2)break;else _0x27e166['push'](_0x27e166['shift']());}catch(_0x55f025){_0x27e166['push'](_0x27e166['shift']());}}}(_0x3ec5,0xb9b59),function(_0x13abc6,_0x4151bd){const _0x18d6b5=_0x568e;typeof exports==_0x18d6b5(0x28c)&&typeof module<'u'?_0x4151bd(exports,require(_0x18d6b5(0xeb)),require(_0x18d6b5(0x2e1)),require(_0x18d6b5(0x22f)),require('@univerjs/network'),require(_0x18d6b5(0x152)),require(_0x18d6b5(0x21d)),require('rxjs'),require(_0x18d6b5(0xea)),require(_0x18d6b5(0x2b0)),require('@univerjs/engine-formula'),require(_0x18d6b5(0x282)),require(_0x18d6b5(0xd9)),require('@univerjs/sheets-ui'),require(_0x18d6b5(0xf1)),require('@univerjs/ui'),require(_0x18d6b5(0x15e)),require(_0x18d6b5(0x1c5)),require('@univerjs/rpc')):typeof define==_0x18d6b5(0x28d)&&define['amd']?define([_0x18d6b5(0x2dd),'@univerjs-pro/collaboration-client',_0x18d6b5(0x2e1),'@univerjs/engine-render',_0x18d6b5(0x1b7),'@univerjs/docs-ui',_0x18d6b5(0x21d),_0x18d6b5(0x2aa),_0x18d6b5(0xea),_0x18d6b5(0x2b0),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x18d6b5(0x140),_0x18d6b5(0xf1),'@univerjs/ui',_0x18d6b5(0x15e),_0x18d6b5(0x1c5),_0x18d6b5(0x1d6)],_0x4151bd):(_0x13abc6=typeof globalThis<'u'?globalThis:_0x13abc6||self,_0x4151bd(_0x13abc6['UniverProCollaborationClientUi']={},_0x13abc6[_0x18d6b5(0x1ab)],_0x13abc6[_0x18d6b5(0x139)],_0x13abc6['UniverEngineRender'],_0x13abc6[_0x18d6b5(0x2ad)],_0x13abc6[_0x18d6b5(0xab)],_0x13abc6[_0x18d6b5(0x156)],_0x13abc6[_0x18d6b5(0x2aa)],_0x13abc6[_0x18d6b5(0xa0)],_0x13abc6[_0x18d6b5(0x28f)],_0x13abc6[_0x18d6b5(0x31d)],_0x13abc6['UniverSheets'],_0x13abc6[_0x18d6b5(0x2aa)][_0x18d6b5(0x142)],_0x13abc6[_0x18d6b5(0x1f1)],_0x13abc6[_0x18d6b5(0x21f)],_0x13abc6['UniverUi'],_0x13abc6[_0x18d6b5(0x1c8)],_0x13abc6[_0x18d6b5(0x21f)],_0x13abc6[_0x18d6b5(0x32a)]));}(this,function(_0x353bdb,_0x47040c,_0x52210e,_0x45eaa5,_0x2c7691,_0xd08195,_0x42c020,_0x27f681,_0x20d49c,_0x4251a6,_0x2b9df9,_0x1f677a,_0x41470f,_0x3b105a,_0x351132,_0x4f6f29,_0x4bb591,_0x854b5b,_0x29b1e1){'use strict';const _0x4cf005=_0x568e;var _0x13a4af=Object[_0x4cf005(0x11f)],_0x1bfdb8=(_0x2589fd,_0x55fa30,_0x1f4335)=>_0x55fa30 in _0x2589fd?_0x13a4af(_0x2589fd,_0x55fa30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4335}):_0x2589fd[_0x55fa30]=_0x1f4335,_0xb6ff52=(_0x549ad5,_0x234f52,_0x4498b2)=>_0x1bfdb8(_0x549ad5,typeof _0x234f52!=_0x4cf005(0x2b1)?_0x234f52+'':_0x234f52,_0x4498b2),_0x4c0473=Object[_0x4cf005(0x19c)],_0x3bd33b=(_0x45c925,_0x4030c5,_0x55b097,_0x155cd5)=>{for(var _0x1feafd=_0x155cd5>0x1?void 0x0:_0x155cd5?_0x4c0473(_0x4030c5,_0x55b097):_0x4030c5,_0x2abd36=_0x45c925['length']-0x1,_0x24121f;_0x2abd36>=0x0;_0x2abd36--)(_0x24121f=_0x45c925[_0x2abd36])&&(_0x1feafd=_0x24121f(_0x1feafd)||_0x1feafd);return _0x1feafd;},_0x37066c=(_0x33ea46,_0x22c747)=>(_0x4e0cd2,_0xa4436f)=>_0x22c747(_0x4e0cd2,_0xa4436f,_0x33ea46);let _0x180543=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x565e05,_0x2013db){const _0x1e7795=_0x4cf005;super(),this[_0x1e7795(0xc2)]=_0x565e05,this[_0x1e7795(0x300)]=_0x2013db,this[_0x1e7795(0x138)]();}[_0x4cf005(0x138)](){const _0x58e9ff=_0x4cf005,_0x192c70=this;this[_0x58e9ff(0x285)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2d7290=>{const _0xa65d40=_0x58e9ff,_0x4a4d55=await _0x192c70['_imageIoService']['saveImage'](_0x2d7290);return _0x4a4d55?{'source':_0x4a4d55[_0xa65d40(0x20c)],'imageSourceType':_0x4a4d55[_0xa65d40(0x196)]}:null;}}));}};_0x180543=_0x3bd33b([_0x37066c(0x0,_0xd08195['IDocClipboardService']),_0x37066c(0x1,_0x42c020[_0x4cf005(0x272)])],_0x180543);const _0x3eb08b=['purple300',_0x4cf005(0x29c),'verdancy600',_0x4cf005(0xfb),_0x4cf005(0x125),_0x4cf005(0xed)];class _0x499053 extends _0x52210e['Disposable']{constructor(){const _0xbc79ca=_0x4cf005;super(...arguments),_0xb6ff52(this,_0xbc79ca(0x147),new Map()),_0xb6ff52(this,_0xbc79ca(0x1bb),0x0);}[_0x4cf005(0x192)](_0x3c5346){const _0x4939f5=_0x4cf005;if(this[_0x4939f5(0x147)][_0x4939f5(0x178)](_0x3c5346))return this[_0x4939f5(0x147)]['get'](_0x3c5346);const _0x2fa165=_0x3eb08b[this['_colorIndex']];return this[_0x4939f5(0x1bb)]=(this['_colorIndex']+0x1)%_0x3eb08b['length'],this[_0x4939f5(0x147)][_0x4939f5(0x202)](_0x3c5346,_0x2fa165),_0x2fa165;}}function _0x16a80a(_0xaf9bbc){let _0x4c14a6='';for(const _0x14387e of _0xaf9bbc){const {startOffset:_0x3e04bb,endOffset:_0x1b2491,isActive:_0x6a9777,rangeType:_0xeecc38,segmentId:_0x3cc961,segmentPage:_0x537cd4}=_0x14387e;_0x4c14a6['length']&&(_0x4c14a6+=','),_0x4c14a6+=_0x3e04bb+':'+_0x1b2491+':'+(_0x6a9777?'1':'0')+':'+_0xeecc38+':'+_0x3cc961+':'+_0x537cd4;}return _0x4c14a6;}function _0x4c64c4(_0x295e02){const _0x308bbc=_0x4cf005,_0x5f3c5c=_0x295e02[_0x308bbc(0xad)](','),_0x1d78d4=[];for(const _0x289395 of _0x5f3c5c){const [_0x24de1c,_0x5df3e9,_0x99106d,_0x2fc94c,_0x141ef8,_0x11b9b4]=_0x289395[_0x308bbc(0xad)](':');_0x1d78d4[_0x308bbc(0x11e)]({'startOffset':Number(_0x24de1c),'endOffset':Number(_0x5df3e9),'collapsed':_0x24de1c===_0x5df3e9,'isActive':_0x99106d==='1','rangeType':_0x2fc94c===_0x52210e[_0x308bbc(0x24e)]['TEXT']?_0x52210e[_0x308bbc(0x24e)][_0x308bbc(0x2fc)]:_0x52210e[_0x308bbc(0x24e)]['RECT'],'segmentId':typeof _0x141ef8=='string'?String(_0x141ef8):'','segmentPage':Number(_0x11b9b4!=null?_0x11b9b4:-0x1)});}return _0x1d78d4[_0x308bbc(0xfe)](_0x5df6fe=>_0x5df6fe[_0x308bbc(0x1e8)])||(_0x1d78d4[0x0][_0x308bbc(0x1e8)]=!0x0),_0x1d78d4;}class _0x446a6c extends _0x52210e[_0x4cf005(0x238)]{constructor(){const _0x352b3d=_0x4cf005;super(...arguments),_0xb6ff52(this,_0x352b3d(0x2fd),new _0x27f681['BehaviorSubject'](null)),_0xb6ff52(this,'collabCursorState$',this[_0x352b3d(0x2fd)]['asObservable']());}[_0x4cf005(0x321)](_0x359ea2){const _0x1282a6=_0x4cf005,{unitID:_0x2dab18,memberID:_0x411e37,textRanges:_0x3f2fff}=_0x359ea2,_0x292919=_0x16a80a(_0x3f2fff);if(_0x292919==='')return;const _0x2485e4={'unitID':_0x2dab18,'memberID':_0x411e37,'selection':_0x292919};this[_0x1282a6(0x2fd)][_0x1282a6(0x161)](_0x2485e4);}}var _0x48c278=Object[_0x4cf005(0x19c)],_0x227422=(_0xa89137,_0x29114d,_0x1710f1,_0x27f7d8)=>{for(var _0x2ccc54=_0x27f7d8>0x1?void 0x0:_0x27f7d8?_0x48c278(_0x29114d,_0x1710f1):_0x29114d,_0x46b440=_0xa89137['length']-0x1,_0x2844af;_0x46b440>=0x0;_0x46b440--)(_0x2844af=_0xa89137[_0x46b440])&&(_0x2ccc54=_0x2844af(_0x2ccc54)||_0x2ccc54);return _0x2ccc54;},_0x33fde2=(_0x25a2b1,_0x3493e2)=>(_0x2b8188,_0x510d3f)=>_0x3493e2(_0x2b8188,_0x510d3f,_0x25a2b1);const _0x48cb46=0x12c,_0x562d70=0x64;let _0x150543=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x47836b,_0x366d16,_0x2dd73c,_0x2cb153,_0x19466a,_0xd027fe,_0xcd8e55,_0x26c2cf,_0x69d2ed){const _0x20a6e0=_0x4cf005;super(),_0xb6ff52(this,_0x20a6e0(0xc3),!0x1),_0xb6ff52(this,_0x20a6e0(0x138),!0x1),_0xb6ff52(this,_0x20a6e0(0x194),new _0x27f681[(_0x20a6e0(0x132))](new Map())),_0xb6ff52(this,'cursorInfo$',this['_cursorInfo$'][_0x20a6e0(0x1b6)]()),_0xb6ff52(this,_0x20a6e0(0x20d),new _0x27f681['BehaviorSubject']([])),_0xb6ff52(this,_0x20a6e0(0x256),this[_0x20a6e0(0x20d)][_0x20a6e0(0x23f)](_0x27f681[_0x20a6e0(0x200)](_0x48cb46))),_0xb6ff52(this,_0x20a6e0(0x29b),_0x52210e[_0x20a6e0(0x1a5)](_0x35887f=>{const _0x41a04d=_0x20a6e0,_0x419c08={'eventID':_0x4251a6['CollaborationEvent'][_0x41a04d(0x1f5)],'data':{'unitID':this[_0x41a04d(0x1d1)],'memberID':this[_0x41a04d(0x276)][_0x41a04d(0x109)](),'selection':_0x16a80a(_0x35887f)}};this['_session'][_0x41a04d(0x244)](_0x419c08,this['unitID']);},_0x562d70)),(this[_0x20a6e0(0x1d1)]=_0x47836b,this[_0x20a6e0(0x276)]=_0x366d16,this[_0x20a6e0(0x335)]=_0x2dd73c,this[_0x20a6e0(0x218)]=_0x2cb153,this[_0x20a6e0(0x224)]=_0x19466a,this[_0x20a6e0(0xcb)]=_0xd027fe,this[_0x20a6e0(0x13b)]=_0xcd8e55,this[_0x20a6e0(0x1a0)]=_0x26c2cf,this[_0x20a6e0(0x1a7)]=_0x69d2ed);}get[_0x4cf005(0x230)](){const _0x2b5e33=_0x4cf005;return this[_0x2b5e33(0x194)][_0x2b5e33(0x136)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4cf005(0xf7)](){const _0x34dc30=_0x4cf005;super['dispose'](),this[_0x34dc30(0x194)][_0x34dc30(0x161)](new Map()),this['_cursorInfo$'][_0x34dc30(0x1a1)](),this['_roomMembers$'][_0x34dc30(0x161)]([]),this[_0x34dc30(0x20d)][_0x34dc30(0x1a1)]();}[_0x4cf005(0x176)](){const _0x8ed3f7=_0x4cf005;this['_init']||(this[_0x8ed3f7(0x138)]=!0x0,this[_0x8ed3f7(0x276)][_0x8ed3f7(0x204)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this[_0x8ed3f7(0x183)]))['subscribe'](_0x332598=>{const _0x57b65d=_0x8ed3f7;_0x332598===_0x47040c['SessionStatus'][_0x57b65d(0x315)]?this[_0x57b65d(0x1ed)]():this[_0x57b65d(0x18d)]();}),this[_0x8ed3f7(0x276)][_0x8ed3f7(0x141)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this['dispose$']))['subscribe'](_0x4e30b1=>{const _0x48d3c9=_0x8ed3f7,_0x40b534=_0x4e30b1[_0x48d3c9(0x110)];_0x40b534===_0x4251a6['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4e30b1),_0x40b534===_0x4251a6[_0x48d3c9(0x2cb)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4e30b1);}),this[_0x8ed3f7(0x285)](this[_0x8ed3f7(0x1a7)][_0x8ed3f7(0x143)](_0x536dcd=>{const _0x189bcd=_0x8ed3f7,_0x380f84=_0x536dcd[_0x189bcd(0x2ae)];_0x380f84!=null&&this[_0x189bcd(0xc3)]&&_0x536dcd['id']===_0x20d49c[_0x189bcd(0x181)]['id']&&_0x380f84[_0x189bcd(0x163)]===this[_0x189bcd(0x1d1)]&&_0x380f84[_0x189bcd(0x1b8)]===!0x1&&_0x380f84[_0x189bcd(0x25b)][_0x189bcd(0x20e)]>0x0&&this[_0x189bcd(0x29b)](_0x380f84[_0x189bcd(0x25b)]);})),this[_0x8ed3f7(0xcb)][_0x8ed3f7(0x211)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this[_0x8ed3f7(0x183)]))[_0x8ed3f7(0x21a)](_0x230371=>{const _0x225821=_0x8ed3f7;if((_0x230371==null?void 0x0:_0x230371[_0x225821(0x1d1)])!==this['unitID'])return;const _0x530788={'eventID':_0x4251a6['CollaborationEvent'][_0x225821(0x1f5)],'data':_0x230371};this['_onCursorUpdate'](_0x530788);}),this[_0x8ed3f7(0x285)](this[_0x8ed3f7(0x1a7)]['onCommandExecuted'](_0x31ffee=>{const _0x2fa718=_0x8ed3f7;if(_0x31ffee[_0x2fa718(0x2ae)]==null)return;const _0x247d8a=_0x31ffee[_0x2fa718(0x2ae)];if(_0x31ffee['id']!==_0x20d49c[_0x2fa718(0x160)]['id']||_0x247d8a['unitId']!==this[_0x2fa718(0x1d1)])return;const _0xe71af9={'id':_0x2fa718(0xc1),'params':_0x247d8a},_0x5ac545=this[_0x2fa718(0x230)];for(const [_0x3857d1,_0x4f0f22]of _0x5ac545){const _0x2d0048={'id':_0x2fa718(0xc1),'params':{'unitId':this[_0x2fa718(0x1d1)],'actions':null,'textRanges':_0x4f0f22[_0x2fa718(0x25b)]}},_0x15ce35=this[_0x2fa718(0x13b)][_0x2fa718(0x296)](_0xe71af9,_0x2d0048,!0x1);if(_0x4251a6[_0x2fa718(0xe3)](_0x15ce35))throw _0x15ce35[_0x2fa718(0x1db)];_0x5ac545[_0x2fa718(0x202)](_0x3857d1,{..._0x4f0f22,'ranges':_0x15ce35['m2Prime']['params'][_0x2fa718(0x2a3)]});}queueMicrotask(()=>{const _0x101e15=_0x2fa718;this[_0x101e15(0x194)][_0x101e15(0x161)](_0x5ac545);});})));}['_onCursorUpdate'](_0x33c562){const _0x2d9ff4=_0x4cf005;var _0x458535,_0x5d59f4;const {memberID:_0x4e3b8f,selection:_0x1b95ac}=_0x33c562['data'],_0x54ebff=_0x4c64c4(_0x1b95ac),_0x562fc4=(_0x5d59f4=(_0x458535=this[_0x2d9ff4(0x224)][_0x2d9ff4(0xf2)](this[_0x2d9ff4(0x1d1)],_0x4e3b8f))==null?void 0x0:_0x458535[_0x2d9ff4(0x306)])!=null?_0x5d59f4:_0x2d9ff4(0xbf),_0x5201ec={'color':this[_0x2d9ff4(0x218)][_0x2d9ff4(0x192)](_0x4e3b8f),'name':_0x562fc4,'ranges':_0x54ebff},_0x3e2b40=this[_0x2d9ff4(0x230)];_0x3e2b40[_0x2d9ff4(0x202)](_0x4e3b8f,_0x5201ec),this['_cursorInfo$'][_0x2d9ff4(0x161)](_0x3e2b40);}[_0x4cf005(0x247)](_0x350426){const _0x5d2ecb=_0x4cf005,{memberID:_0x58cdc6}=_0x350426['data'],_0x189c8d=this[_0x5d2ecb(0x230)];_0x189c8d[_0x5d2ecb(0x101)](_0x58cdc6),this[_0x5d2ecb(0x194)][_0x5d2ecb(0x161)](_0x189c8d);}['_toggleOnline'](){const _0x1b289b=_0x4cf005;var _0x30fbaa;if(this['_online']=!0x0,((_0x30fbaa=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x30fbaa[_0x1b289b(0x302)]())!==this[_0x1b289b(0x1d1)])return;const _0x2a5e6a=this[_0x1b289b(0x335)][_0x1b289b(0x1d2)](_0x20d49c[_0x1b289b(0x1d7)])[_0x1b289b(0x10e)]();Array[_0x1b289b(0x2ac)](_0x2a5e6a)&&_0x2a5e6a[_0x1b289b(0x20e)]>0x0&&this[_0x1b289b(0x29b)](_0x2a5e6a);}[_0x4cf005(0x18d)](){const _0x191e08=_0x4cf005;this[_0x191e08(0xc3)]=!0x1;}};_0x150543=_0x227422([_0x33fde2(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x33fde2(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x499053)),_0x33fde2(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x29a)])),_0x33fde2(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x446a6c)),_0x33fde2(0x6,_0x4251a6[_0x4cf005(0xc5)]),_0x33fde2(0x7,_0x52210e[_0x4cf005(0xf3)]),_0x33fde2(0x8,_0x52210e[_0x4cf005(0x18a)])],_0x150543);var _0x3ee1df=Object['getOwnPropertyDescriptor'],_0x5bdd46=(_0x5c4afb,_0x4853b6,_0x38eb46,_0x5f2398)=>{const _0x548864=_0x4cf005;for(var _0x268761=_0x5f2398>0x1?void 0x0:_0x5f2398?_0x3ee1df(_0x4853b6,_0x38eb46):_0x4853b6,_0x8f5d42=_0x5c4afb[_0x548864(0x20e)]-0x1,_0x10ac16;_0x8f5d42>=0x0;_0x8f5d42--)(_0x10ac16=_0x5c4afb[_0x8f5d42])&&(_0x268761=_0x10ac16(_0x268761)||_0x268761);return _0x268761;},_0x2d4c00=(_0x1b07cd,_0x30924e)=>(_0x18889a,_0x49b473)=>_0x30924e(_0x18889a,_0x49b473,_0x1b07cd);const _0xae5357=0x12c,_0x771626=0x64,_0x2bd041=()=>{let _0x7fc7a0=[],_0x44861c=!0x1;return _0x4ac515=>{const _0x4ff443=_0x568e;_0x7fc7a0[_0x4ff443(0x11e)](_0x4ac515),_0x44861c||(_0x44861c=!0x0,setTimeout(()=>{_0x7fc7a0['forEach'](_0x110b98=>_0x110b98()),_0x7fc7a0=[],_0x44861c=!0x1;}));};};let _0x3caa59=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x2bd331,_0x8b67b6,_0x2d89f9,_0x40a222,_0x3089e8,_0x53f890,_0x3b2452,_0x3cb37f){const _0x54d688=_0x4cf005;super(),_0xb6ff52(this,_0x54d688(0xc3),!0x1),_0xb6ff52(this,'_init',!0x1),_0xb6ff52(this,'_cursorInfo$',new _0x27f681['BehaviorSubject'](new Map())),_0xb6ff52(this,_0x54d688(0x167),this[_0x54d688(0x194)][_0x54d688(0x1b6)]()),_0xb6ff52(this,_0x54d688(0x20d),new _0x27f681[(_0x54d688(0x132))]([])),_0xb6ff52(this,_0x54d688(0x256),this['_roomMembers$'][_0x54d688(0x23f)](_0x27f681[_0x54d688(0x200)](_0xae5357))),_0xb6ff52(this,_0x54d688(0x29b),_0x52210e[_0x54d688(0x1a5)]((_0x1c3c34,_0x2e5daf)=>{const _0x88a36e=_0x54d688,_0x108d49={'eventID':_0x4251a6[_0x88a36e(0x2cb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x88a36e(0x1d1)],'memberID':this['_session']['getMemberID'](),'selection':_0x2b9df9[_0x88a36e(0x317)](_0x1c3c34,_0x2e5daf['range'])}};this[_0x88a36e(0x276)]['send'](_0x108d49,this[_0x88a36e(0x1d1)]);},_0x771626)),(this[_0x54d688(0x1d1)]=_0x2bd331,this[_0x54d688(0x276)]=_0x8b67b6,this[_0x54d688(0x335)]=_0x2d89f9,this[_0x54d688(0x218)]=_0x40a222,this[_0x54d688(0x224)]=_0x3089e8,this['_univerInstanceService']=_0x53f890,this[_0x54d688(0x1a7)]=_0x3b2452,this[_0x54d688(0x31b)]=_0x3cb37f);}get[_0x4cf005(0x230)](){const _0x53dc9a=_0x4cf005;return this[_0x53dc9a(0x194)]['getValue']();}get['roomMembers'](){const _0x3d5bcc=_0x4cf005;return this[_0x3d5bcc(0x20d)][_0x3d5bcc(0x136)]();}[_0x4cf005(0xf7)](){const _0x3f9d69=_0x4cf005;super[_0x3f9d69(0xf7)](),this[_0x3f9d69(0x194)][_0x3f9d69(0x161)](new Map()),this['_cursorInfo$'][_0x3f9d69(0x1a1)](),this[_0x3f9d69(0x20d)]['next']([]),this[_0x3f9d69(0x20d)][_0x3f9d69(0x1a1)]();}[_0x4cf005(0x176)](){const _0x25bd8d=_0x4cf005;this[_0x25bd8d(0x138)]||(this[_0x25bd8d(0x138)]=!0x0,this[_0x25bd8d(0x276)][_0x25bd8d(0x204)]['pipe'](_0x27f681[_0x25bd8d(0xd2)](this[_0x25bd8d(0x183)]))[_0x25bd8d(0x21a)](_0x1e7152=>{const _0x5d1ed8=_0x25bd8d;_0x1e7152===_0x47040c[_0x5d1ed8(0x1c4)]['ONLINE']?this['_toggleOnline']():this[_0x5d1ed8(0x18d)]();}),this[_0x25bd8d(0x276)]['event$']['pipe'](_0x27f681['takeUntil'](this[_0x25bd8d(0x183)]))['subscribe'](_0x39ca73=>{const _0x2dc4e8=_0x25bd8d,_0x27d631=_0x39ca73['eventID'];_0x27d631===_0x4251a6['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2dc4e8(0x206)](_0x39ca73),_0x27d631===_0x4251a6[_0x2dc4e8(0x2cb)][_0x2dc4e8(0x1c1)]&&this[_0x2dc4e8(0x247)](_0x39ca73);}),this[_0x25bd8d(0x330)](),this['disposeWithMe'](this[_0x25bd8d(0x1a7)][_0x25bd8d(0x143)](_0x20e735=>{const _0x1ffbce=_0x25bd8d;if(this[_0x1ffbce(0xc3)]&&_0x20e735['id']===_0x1f677a[_0x1ffbce(0x273)]['id']&&_0x20e735[_0x1ffbce(0x2ae)][_0x1ffbce(0x163)]===this[_0x1ffbce(0x1d1)]){const _0x453212=_0x20e735['params'];this[_0x1ffbce(0x29b)](_0x453212[_0x1ffbce(0x22c)],_0x453212['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3d3f9c){const _0x52d02e=_0x4cf005;var _0x35e32c,_0x80da07;const {memberID:_0x479c54,selection:_0x3c3ff4}=_0x3d3f9c[_0x52d02e(0x1fe)],{sheetName:_0x416b8b,range:_0x3e6615}=_0x2b9df9[_0x52d02e(0x2b8)](_0x3c3ff4),_0x15899c={'name':(_0x80da07=(_0x35e32c=this['_memberService']['getMember'](this[_0x52d02e(0x1d1)],_0x479c54))==null?void 0x0:_0x35e32c['name'])!=null?_0x80da07:_0x52d02e(0xbf),'range':this['_getMergeRange'](_0x416b8b,_0x3e6615),'sheetID':_0x416b8b,'color':this[_0x52d02e(0x218)][_0x52d02e(0x192)](_0x479c54),'selection':_0x3c3ff4},_0x38a9c6=this[_0x52d02e(0x230)];_0x38a9c6[_0x52d02e(0x202)](_0x479c54,_0x15899c),this[_0x52d02e(0x194)][_0x52d02e(0x161)](_0x38a9c6);}[_0x4cf005(0x247)](_0x4c0948){const _0x1ab2f7=_0x4cf005,{memberID:_0x1ea8bd}=_0x4c0948[_0x1ab2f7(0x1fe)],_0x278031=this[_0x1ab2f7(0x230)];_0x278031['delete'](_0x1ea8bd),this[_0x1ab2f7(0x194)][_0x1ab2f7(0x161)](_0x278031);}[_0x4cf005(0x25f)](_0x4dbf1d,_0x4e958a){const _0x3dfa0e=_0x4cf005;var _0xfbac9e,_0x15128c;const _0x3f4903=(_0x15128c=(_0xfbac9e=this['_univerInstanceService'][_0x3dfa0e(0xa8)](this[_0x3dfa0e(0x1d1)]))==null?void 0x0:_0xfbac9e['getSheetBySheetId'](_0x4dbf1d))==null?void 0x0:_0x15128c[_0x3dfa0e(0x1cf)]();return(_0x3f4903==null?void 0x0:_0x3f4903[_0x3dfa0e(0x150)](_0x14f5a4=>_0x52210e[_0x3dfa0e(0x170)]['contains'](_0x14f5a4,_0x4e958a)))||_0x4e958a;}[_0x4cf005(0x330)](){const _0x3d5ec0=_0x4cf005,_0x4a5050=new _0x52210e[(_0x3d5ec0(0x2f2))](),_0x494eab=_0x2bd041(),_0x5ae12d=()=>{const _0x5bdb08=_0x3d5ec0;_0x4a5050[_0x5bdb08(0xf7)]();const _0x302a54=(_0x1d4105,_0x6c00a3,_0x30b3c7,_0x3ec3f2)=>{const _0x23d8a5=_0x5bdb08;let _0xc018a0=[];switch(_0x1d4105['id']){case _0x1f677a['EffectRefRangId'][_0x23d8a5(0x2be)]:{_0xc018a0=_0x1f677a['handleDeleteRangeMoveLeft'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x289)]:{_0xc018a0=_0x1f677a[_0x23d8a5(0x16d)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)]['InsertColCommandId']:{_0xc018a0=_0x1f677a[_0x23d8a5(0x149)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x15d)]:{_0xc018a0=_0x1f677a['handleInsertRangeMoveDown'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x266)]:{_0xc018a0=_0x1f677a['handleInsertRangeMoveRight'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x1a2)]:{_0xc018a0=_0x1f677a[_0x23d8a5(0x23d)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)]['MoveRangeCommandId']:{_0xc018a0=_0x1f677a[_0x23d8a5(0x320)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x1dd)]:{_0xc018a0=_0x1f677a['handleIRemoveCol'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x2c5)]:{_0xc018a0=_0x1f677a['handleIRemoveRow'](_0x1d4105,_0x3ec3f2);break;}}const _0x17156d=_0x1f677a[_0x23d8a5(0x27b)](_0xc018a0,_0x3ec3f2),_0x30042f=this[_0x23d8a5(0x230)][_0x23d8a5(0x1d2)](_0x6c00a3);if(_0x30042f&&_0x17156d){const _0x1ce875={..._0x30042f,'range':_0x17156d};this['cursorInfo']['set'](_0x6c00a3,_0x1ce875),_0x494eab(()=>{const _0x52e31a=_0x23d8a5,_0x190513=this[_0x52e31a(0x31b)]['registerRefRange'](_0x17156d,_0x5b734c=>(_0x190513[_0x52e31a(0xf7)](),_0x302a54(_0x5b734c,_0x6c00a3,_0x30b3c7,_0x17156d)));_0x4a5050[_0x52e31a(0x12c)](_0x190513);});}return{'redos':[],'undos':[]};};this[_0x5bdb08(0x230)][_0x5bdb08(0x2f5)]((_0x5ea98f,_0x1a568e)=>{const _0x5adffa=_0x5bdb08,{range:_0xb3a1cb,sheetID:_0x156789}=_0x5ea98f,_0x135854=this[_0x5adffa(0x31b)][_0x5adffa(0xbe)](_0xb3a1cb,_0x5e0978=>(_0x135854[_0x5adffa(0xf7)](),_0x302a54(_0x5e0978,_0x1a568e,_0x156789,_0xb3a1cb)));_0x4a5050[_0x5adffa(0x12c)](_0x135854);});};this['disposeWithMe'](_0x52210e[_0x3d5ec0(0x2df)](this[_0x3d5ec0(0x194)]['subscribe'](()=>{_0x5ae12d();})));}[_0x4cf005(0x1ed)](){const _0x57b530=_0x4cf005;var _0x327497,_0x3717e6;if(this['_online']=!0x0,((_0x327497=this[_0x57b530(0x1a0)][_0x57b530(0x2bc)]())==null?void 0x0:_0x327497[_0x57b530(0x302)]())!==this[_0x57b530(0x1d1)])return;const _0x390a81=(_0x3717e6=this[_0x57b530(0x335)][_0x57b530(0x1d2)](_0x1f677a[_0x57b530(0xb0)])[_0x57b530(0x329)]())==null?void 0x0:_0x3717e6[0x0],_0x25657b=this[_0x57b530(0x1a0)][_0x57b530(0x174)](_0x52210e[_0x57b530(0x268)][_0x57b530(0x2d2)])['getActiveSheet']();_0x390a81&&_0x25657b&&this[_0x57b530(0x29b)](_0x25657b[_0x57b530(0x13d)](),_0x390a81);}[_0x4cf005(0x18d)](){const _0x466b95=_0x4cf005;this[_0x466b95(0xc3)]=!0x1;}};_0x3caa59=_0x5bdd46([_0x2d4c00(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x2d4c00(0x3,_0x52210e['Inject'](_0x499053)),_0x2d4c00(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x29a)])),_0x2d4c00(0x5,_0x52210e[_0x4cf005(0xf3)]),_0x2d4c00(0x6,_0x52210e[_0x4cf005(0x18a)]),_0x2d4c00(0x7,_0x52210e[_0x4cf005(0x2d1)](_0x1f677a[_0x4cf005(0x16f)]))],_0x3caa59);var _0x2822cb=Object[_0x4cf005(0x19c)],_0x195308=(_0x3f6a91,_0x5a4a0a,_0x394868,_0x5d44eb)=>{const _0x57448c=_0x4cf005;for(var _0x3b0dca=_0x5d44eb>0x1?void 0x0:_0x5d44eb?_0x2822cb(_0x5a4a0a,_0x394868):_0x5a4a0a,_0x33b2d7=_0x3f6a91[_0x57448c(0x20e)]-0x1,_0x25489a;_0x33b2d7>=0x0;_0x33b2d7--)(_0x25489a=_0x3f6a91[_0x33b2d7])&&(_0x3b0dca=_0x25489a(_0x3b0dca)||_0x3b0dca);return _0x3b0dca;},_0x3af61d=(_0xfaa354,_0x6cda95)=>(_0x3cf69d,_0x11776a)=>_0x6cda95(_0x3cf69d,_0x11776a,_0xfaa354);let _0x1ee3b8=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x2ea33c,_0x3ad13f,_0x1eb0a3){const _0x3c5b90=_0x4cf005;super(),_0xb6ff52(this,_0x3c5b90(0x203),new Map()),_0xb6ff52(this,_0x3c5b90(0x15f),new _0x27f681[(_0x3c5b90(0x105))]()),(this[_0x3c5b90(0x1a0)]=_0x2ea33c,this[_0x3c5b90(0x335)]=_0x3ad13f,this[_0x3c5b90(0x248)]=_0x1eb0a3,this[_0x3c5b90(0x138)]());}[_0x4cf005(0xf7)](){const _0x8fa3f3=_0x4cf005;super['dispose'](),this[_0x8fa3f3(0x15f)][_0x8fa3f3(0x1a1)](),this[_0x8fa3f3(0x203)]['forEach'](_0x41e0eb=>_0x41e0eb['dispose']());}['getCollabCursors$'](_0x4738ee){const _0x29b86d=_0x4cf005;return this['_entities']['has'](_0x4738ee)?this[_0x29b86d(0x203)][_0x29b86d(0x1d2)](_0x4738ee)[_0x29b86d(0x167)]:this[_0x29b86d(0x15f)][_0x29b86d(0x23f)](_0x27f681[_0x29b86d(0x17b)](_0x3f5a25=>_0x3f5a25[_0x29b86d(0x1d1)]===_0x4738ee),_0x27f681[_0x29b86d(0x29d)](_0x4241a1=>_0x4241a1[_0x29b86d(0x167)]));}[_0x4cf005(0x138)](){const _0x39d183=_0x4cf005;this[_0x39d183(0x1a0)]['getTypeOfUnitAdded$'](_0x52210e['UniverInstanceType'][_0x39d183(0x2d2)])[_0x39d183(0x23f)](_0x27f681[_0x39d183(0xd2)](this[_0x39d183(0x183)]))[_0x39d183(0x21a)](async _0xfa3964=>{const _0x469d55=_0x39d183,_0x5defa9=_0xfa3964[_0x469d55(0x302)](),_0x5ebcde=await this['_startSheetCollabCursor'](_0x5defa9);this[_0x469d55(0x15f)][_0x469d55(0x161)](_0x5ebcde),this[_0x469d55(0x203)][_0x469d55(0x202)](_0x5defa9,_0x5ebcde);}),this[_0x39d183(0x1a0)]['getTypeOfUnitAdded$'](_0x52210e['UniverInstanceType'][_0x39d183(0x169)])['pipe'](_0x27f681['takeUntil'](this[_0x39d183(0x183)]))[_0x39d183(0x23f)](_0x27f681[_0x39d183(0x17b)](_0x4ecd90=>!_0x4ecd90[_0x39d183(0x302)]()[_0x39d183(0x179)]('__')))[_0x39d183(0x21a)](async _0x557b82=>{const _0x5999e0=_0x39d183,_0x301721=_0x557b82['getUnitId'](),_0x362427=await this[_0x5999e0(0x1cd)](_0x301721);this[_0x5999e0(0x15f)][_0x5999e0(0x161)](_0x362427),this[_0x5999e0(0x203)]['set'](_0x301721,_0x362427);}),_0x27f681[_0x39d183(0xa9)](this[_0x39d183(0x1a0)][_0x39d183(0x1d9)](_0x52210e[_0x39d183(0x268)][_0x39d183(0x169)]),this[_0x39d183(0x1a0)][_0x39d183(0x1d9)](_0x52210e[_0x39d183(0x268)][_0x39d183(0x2d2)]))[_0x39d183(0x23f)](_0x27f681['takeUntil'](this[_0x39d183(0x183)]))[_0x39d183(0x21a)](_0x36b011=>{const _0x328cf4=_0x39d183,_0x53230b=_0x36b011['getUnitId'](),_0x442307=this[_0x328cf4(0x203)][_0x328cf4(0x1d2)](_0x53230b);_0x442307&&(_0x442307[_0x328cf4(0xf7)](),this[_0x328cf4(0x203)][_0x328cf4(0x101)](_0x53230b));});}async[_0x4cf005(0x16a)](_0x4b27e6){const _0x3cc100=_0x4cf005,_0x1e7f28=await this[_0x3cc100(0x248)][_0x3cc100(0x304)](_0x4b27e6),_0x35c591=this[_0x3cc100(0x335)][_0x3cc100(0x2ea)](_0x3caa59,_0x4b27e6,_0x1e7f28);return _0x35c591[_0x3cc100(0x176)](),_0x35c591;}async[_0x4cf005(0x1cd)](_0x321e55){const _0x30e36c=_0x4cf005,_0x1e8b0c=await this[_0x30e36c(0x248)]['requireSession'](_0x321e55),_0xde6611=this[_0x30e36c(0x335)][_0x30e36c(0x2ea)](_0x150543,_0x321e55,_0x1e8b0c);return _0xde6611[_0x30e36c(0x176)](),_0xde6611;}};_0x1ee3b8=_0x195308([_0x3af61d(0x0,_0x52210e['IUniverInstanceService']),_0x3af61d(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x3af61d(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x270)]))],_0x1ee3b8);const _0x26e7ed=0x14,_0x628218=0xc8,_0x93c2c1=0x4,_0x30d96b=0x5;function _0xa0c346(_0xe96e3f,_0x3cf627){const _0x22be6a=_0x4cf005;let {radius:_0x3eb840,width:_0x13297e,height:_0x53efe3}=_0x3cf627;_0x3eb840=_0x3eb840!=null?_0x3eb840:0x0,_0x13297e=_0x13297e!=null?_0x13297e:0x1e,_0x53efe3=_0x53efe3!=null?_0x53efe3:0x1e;let _0x3a8c7f=0x0,_0x343374=0x0,_0x32c0ea=0x0;_0x3a8c7f=_0x343374=_0x32c0ea=Math['min'](_0x3eb840,_0x13297e/0x2,_0x53efe3/0x2),_0xe96e3f[_0x22be6a(0x30c)](),_0xe96e3f[_0x22be6a(0x222)](_0x3a8c7f,0x0),_0xe96e3f[_0x22be6a(0x127)](_0x13297e-_0x343374,0x0),_0xe96e3f['arc'](_0x13297e-_0x343374,_0x343374,_0x343374,Math['PI']*0x3/0x2,0x0,!0x1),_0xe96e3f['lineTo'](_0x13297e,_0x53efe3-_0x32c0ea),_0xe96e3f['arc'](_0x13297e-_0x32c0ea,_0x53efe3-_0x32c0ea,_0x32c0ea,0x0,Math['PI']/0x2,!0x1),_0xe96e3f[_0x22be6a(0x127)](0x0,_0x53efe3),_0xe96e3f[_0x22be6a(0x127)](0x0,_0x3a8c7f),_0xe96e3f['arc'](_0x3a8c7f,_0x3a8c7f,_0x3a8c7f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe96e3f[_0x22be6a(0x2db)](),_0x3cf627[_0x22be6a(0x2e6)]&&(_0xe96e3f['save'](),_0xe96e3f[_0x22be6a(0x21e)]=_0x3cf627[_0x22be6a(0x2e6)],_0x3cf627[_0x22be6a(0x164)]==='evenodd'?_0xe96e3f[_0x22be6a(0x2e6)](_0x22be6a(0x305)):_0xe96e3f[_0x22be6a(0x2e6)](),_0xe96e3f['restore']());}class _0x556dcb extends _0x45eaa5[_0x4cf005(0x1b2)]{constructor(_0x2ebe1b,_0x121da0){const _0x3fc348=_0x4cf005;super(_0x2ebe1b,_0x121da0),_0xb6ff52(this,'color'),_0xb6ff52(this,'text'),(this[_0x3fc348(0xb6)]=_0x121da0==null?void 0x0:_0x121da0[_0x3fc348(0xb6)],this[_0x3fc348(0x2f0)]=_0x121da0==null?void 0x0:_0x121da0[_0x3fc348(0x2f0)]);}static[_0x4cf005(0x323)](_0x5af3a0,_0xd12233){const _0x54cb25=_0x4cf005,{text:_0x34f7a1,color:_0x3f85d3}=_0xd12233;_0x5af3a0[_0x54cb25(0x220)](),_0x5af3a0[_0x54cb25(0x262)]=_0x54cb25(0x1f9);const _0x1b57b2=_0x5af3a0[_0x54cb25(0x257)](_0x34f7a1)['width'],_0x5db0e3=Math[_0x54cb25(0x23b)](_0x1b57b2+0x2*_0x93c2c1,_0x628218);_0xa0c346(_0x5af3a0,{'height':_0x26e7ed,'radius':0x4,'width':_0x5db0e3,'fill':_0x3f85d3}),_0x5af3a0['fillStyle']='#FFF';const _0x527b3d=_0x93c2c1,_0x343752=_0x26e7ed-_0x30d96b,_0x13745b=_0x628218-0x2*_0x93c2c1;if(_0x1b57b2>_0x13745b){let _0x502137='',_0x56529b=0x0;for(const _0x20c84c of _0x34f7a1){const _0x35eed7=_0x5af3a0[_0x54cb25(0x257)](_0x20c84c)['width'];if(_0x56529b+_0x35eed7<=_0x13745b-_0x5af3a0[_0x54cb25(0x257)](_0x54cb25(0x121))[_0x54cb25(0xaa)])_0x502137+=_0x20c84c,_0x56529b+=_0x35eed7;else{_0x502137+=_0x54cb25(0x121);break;}}_0x5af3a0[_0x54cb25(0x229)](_0x502137,_0x527b3d,_0x343752);}else _0x5af3a0['fillText'](_0x34f7a1,_0x527b3d,_0x343752);_0x5af3a0[_0x54cb25(0x23c)]();}[_0x4cf005(0xcd)](_0x2ad203){const _0x26a1a5=_0x4cf005;_0x556dcb[_0x26a1a5(0x323)](_0x2ad203,this);}}const _0x162ae9='collab-text-anchor-',_0x877f00='collab-text-range-',_0x330b69=_0x4cf005(0x187),_0x3ee6e0=0x6,_0x4b7bd7=1.5,_0x41bddb=0x4,_0x42083b=1.5,_0xe0d208=_0x4cf005(0x2d8);class _0xdd03db{constructor(_0x5884a5,_0x25c1d3,_0x37f56d,_0x95928){const _0x54cefb=_0x4cf005;_0xb6ff52(this,'_shapes',[]),_0xb6ff52(this,_0x54cefb(0x2b7),null),_0xb6ff52(this,_0x54cefb(0x1eb),null),_0xb6ff52(this,_0x54cefb(0x31c),null),_0xb6ff52(this,_0x54cefb(0x13c),null),_0xb6ff52(this,_0x54cefb(0x1e5),null),(this[_0x54cefb(0x316)]=_0x5884a5,this[_0x54cefb(0x1fc)]=_0x25c1d3,this[_0x54cefb(0x107)]=_0x37f56d,this[_0x54cefb(0x29e)]=_0x95928,this['_render']());}set[_0x4cf005(0x216)](_0x215717){const _0x487c09=_0x4cf005;_0x215717?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x487c09(0x1eb)]&&this[_0x487c09(0x1eb)]['show']()):(this[_0x487c09(0x31c)]&&this[_0x487c09(0x31c)][_0x487c09(0x1e9)](),this[_0x487c09(0x1eb)]&&this[_0x487c09(0x1eb)][_0x487c09(0xe0)]());}[_0x4cf005(0xf7)](){const _0x3fa423=_0x4cf005;for(const _0x1834f6 of this[_0x3fa423(0xdb)])_0x1834f6[_0x3fa423(0xf7)]();this[_0x3fa423(0x1eb)]&&this[_0x3fa423(0x1eb)][_0x3fa423(0xf7)](),this[_0x3fa423(0x31c)]&&this[_0x3fa423(0x31c)][_0x3fa423(0xf7)](),this[_0x3fa423(0x2b7)]&&this['_anchor']['dispose'](),this[_0x3fa423(0x1e5)]&&this[_0x3fa423(0x1e5)]();}[_0x4cf005(0x223)](){const _0x539244=_0x4cf005;var _0x58d0ef;const {_docSkeleton:_0x410ea3,_document:_0x5d3b5f}=this,{color:_0x42bd3b,name:_0x484b13,ranges:_0x21e17a}=this['_cursor'],_0x58039b=_0x5d3b5f[_0x539244(0x1d3)](),{docsLeft:_0x3c9f80,docsTop:_0x58dd86}=_0x58039b,_0x6a9a93=new _0xd08195[(_0x539244(0x2f1))](_0x58039b,_0x410ea3);for(const {startOffset:_0x5e2bf7,endOffset:_0x19dcf8,rangeType:_0x470ba5,segmentId:_0x4cfd4a,segmentPage:_0x1005ac,collapsed:_0x376dfb,isActive:_0xa8f0fb}of _0x21e17a){const _0x9690c3=_0x410ea3['findNodePositionByCharIndex'](_0x5e2bf7,!0x0,_0x4cfd4a,_0x1005ac);let _0x23e069=_0x410ea3[_0x539244(0x2d3)](_0x19dcf8,!0x0,_0x4cfd4a,_0x1005ac);if(_0x23e069==null&&(_0x23e069=_0x410ea3[_0x539244(0x2d3)](_0x19dcf8-0x1,!0x1,_0x4cfd4a,_0x1005ac)),_0xa8f0fb){const {contentBoxPointGroup:_0x3dbe3d}=_0x6a9a93[_0x539244(0x301)](_0x23e069,_0x23e069);if(_0x3dbe3d[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x1ee)](_0x42bd3b,_0x3dbe3d,_0x3c9f80,_0x58dd86,_0x484b13),this[_0x539244(0x1e5)]=this['_handleHover']();}if(_0x9690c3&&_0x23e069){if(_0x470ba5===_0x52210e[_0x539244(0x24e)][_0x539244(0x144)]){const _0x5ee7bb=new _0xd08195[(_0x539244(0xee))](_0x58039b,_0x410ea3),{pointGroup:_0x409b77}=(_0x58d0ef=_0x5ee7bb[_0x539244(0x301)](_0x9690c3,_0x23e069))!=null?_0x58d0ef:{};if(_0x409b77==null||_0x409b77[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x2ce)](_0x42bd3b,_0x409b77,_0x3c9f80,_0x58dd86);}else{if(!_0x376dfb){const {borderBoxPointGroup:_0xd05aa0}=_0x6a9a93[_0x539244(0x301)](_0x9690c3,_0x23e069);if(_0xd05aa0[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x207)](_0x42bd3b,_0xd05aa0,_0x3c9f80,_0x58dd86);}}}}}[_0x4cf005(0x1ee)](_0x46dc54,_0x254bc9,_0x37f8c6,_0x1438c9,_0x3cdcef){const _0x7ee9be=_0x4cf005,_0x12c7b9=this[_0x7ee9be(0xe8)](_0x254bc9),{left:_0x17d609,top:_0x15ddb3,height:_0x28f2bb}=_0x12c7b9,_0x20e8cd=this[_0x7ee9be(0x124)](),_0x21cd02=_0x42083b/_0x20e8cd,_0x58112c=new _0x45eaa5[(_0x7ee9be(0x190))](_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9,'height':_0x28f2bb,'width':_0x4b7bd7,'fill':_0x46dc54||_0x45eaa5[_0x7ee9be(0xa7)](_0x52210e[_0x7ee9be(0x2c2)][_0x7ee9be(0x254)],0x0),'strokeWidth':_0x21cd02,'stroke':_0xe0d208,'evented':!0x0});this[_0x7ee9be(0x2b7)]=_0x58112c,this[_0x7ee9be(0x1fc)][_0x7ee9be(0x31f)](_0x58112c,_0xd08195['TEXT_RANGE_LAYER_INDEX']);const _0x111ee2=new _0x45eaa5[(_0x7ee9be(0x190))](_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9-_0x41bddb/0x2,'height':_0x41bddb,'width':_0x41bddb,'fill':_0x46dc54||_0x45eaa5['getColor'](_0x52210e['COLORS'][_0x7ee9be(0x254)],0x0),'strokeWidth':0x0,'stroke':_0x46dc54||_0x45eaa5['getColor'](_0x52210e[_0x7ee9be(0x2c2)][_0x7ee9be(0x254)],0x0),'evented':!0x1});this[_0x7ee9be(0x31c)]=_0x111ee2,this[_0x7ee9be(0x1fc)]['addObject'](_0x111ee2,_0xd08195[_0x7ee9be(0x100)]);const _0x514f23=new _0x556dcb(_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9-_0x26e7ed,'text':_0x3cdcef,'color':_0x46dc54});this[_0x7ee9be(0x1eb)]=_0x514f23,this[_0x7ee9be(0x1fc)][_0x7ee9be(0x31f)](_0x514f23,_0xd08195[_0x7ee9be(0x100)]),this[_0x7ee9be(0x216)]=!0x1;}[_0x4cf005(0x252)](){const _0x626469=_0x4cf005,_0xd5015f=this[_0x626469(0x2b7)][_0x626469(0x1b1)][_0x626469(0x308)](()=>{const _0x108bdd=_0x626469;this[_0x108bdd(0x216)]=!0x0;}),_0x408f6b=this[_0x626469(0x2b7)][_0x626469(0x318)][_0x626469(0x308)](()=>{const _0x1ee324=_0x626469;this[_0x1ee324(0x13c)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3bead4=_0x1ee324;this[_0x3bead4(0x216)]=!0x1;},0x7d0);});return()=>{const _0x1b98e3=_0x626469;_0xd5015f['unsubscribe'](),_0x408f6b[_0x1b98e3(0x166)]();};}[_0x4cf005(0x207)](_0x3f73c6,_0x1c5071,_0xd1e897,_0x27cba1){const _0x5b316c=_0x4cf005,_0x44a482=new _0x52210e['ColorKit'](_0x3f73c6)[_0x5b316c(0x1ad)](0.2)[_0x5b316c(0x26d)](),_0x1f4d63=new _0x45eaa5['RegularPolygon'](_0x877f00+_0x52210e['Tools'][_0x5b316c(0x2c7)](_0x3ee6e0),{'pointsGroup':_0x1c5071,'fill':_0x44a482||_0x45eaa5['getColor'](_0x52210e['COLORS'][_0x5b316c(0x254)],0.2),'left':_0xd1e897,'top':_0x27cba1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b316c(0xdb)]['push'](_0x1f4d63),this[_0x5b316c(0x1fc)][_0x5b316c(0x31f)](_0x1f4d63,_0xd08195['TEXT_RANGE_LAYER_INDEX']);}[_0x4cf005(0x2ce)](_0x263498,_0x47d3dd,_0x35db7c,_0x115071){const _0x6bc512=_0x4cf005,_0x155d16=new _0x52210e['ColorKit'](_0x263498)[_0x6bc512(0x1ad)](0.2)['toRgbString'](),_0x43f91e=new _0x45eaa5[(_0x6bc512(0x16e))](_0x330b69+_0x52210e[_0x6bc512(0xdc)][_0x6bc512(0x2c7)](_0x3ee6e0),{'pointsGroup':_0x47d3dd,'fill':_0x155d16||_0x45eaa5['getColor'](_0x52210e[_0x6bc512(0x2c2)]['black'],0.2),'left':_0x35db7c,'top':_0x115071,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6bc512(0xdb)][_0x6bc512(0x11e)](_0x43f91e),this['_scene']['addObject'](_0x43f91e,_0xd08195['TEXT_RANGE_LAYER_INDEX']);}[_0x4cf005(0xe8)](_0x76b3f4){const _0x562fc7=_0x76b3f4[0x0],_0x41ceb4=_0x562fc7[0x0],_0x4a9d54=_0x562fc7[0x2],{x:_0x3bd0bc,y:_0x200262}=_0x41ceb4,{x:_0xe4dd2c,y:_0x492c11}=_0x4a9d54;return{'left':_0x3bd0bc,'top':_0x200262,'width':_0xe4dd2c-_0x3bd0bc,'height':_0x492c11-_0x200262};}[_0x4cf005(0x124)](){const _0x49e9e6=_0x4cf005,{scaleX:_0x54c60d,scaleY:_0xce286}=this[_0x49e9e6(0x1fc)][_0x49e9e6(0x243)]();return Math[_0x49e9e6(0x120)](_0x54c60d,_0xce286);}}var _0x28fcbc=Object[_0x4cf005(0x19c)],_0x17f92e=(_0x530e9f,_0xecf06,_0xca88a5,_0x13a007)=>{const _0x570772=_0x4cf005;for(var _0x2ed2eb=_0x13a007>0x1?void 0x0:_0x13a007?_0x28fcbc(_0xecf06,_0xca88a5):_0xecf06,_0x5a01a0=_0x530e9f[_0x570772(0x20e)]-0x1,_0x199edb;_0x5a01a0>=0x0;_0x5a01a0--)(_0x199edb=_0x530e9f[_0x5a01a0])&&(_0x2ed2eb=_0x199edb(_0x2ed2eb)||_0x2ed2eb);return _0x2ed2eb;},_0x10e080=(_0x2b1640,_0x52123b)=>(_0x3edb38,_0x186913)=>_0x52123b(_0x3edb38,_0x186913,_0x2b1640);let _0x14e670=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x285690,_0x14f2e3,_0x231d6b,_0x291169,_0x2dc664){const _0x2720d5=_0x4cf005;super(),_0xb6ff52(this,_0x2720d5(0x253),[]),_0xb6ff52(this,'_cursors',[]),(this[_0x2720d5(0x1a4)]=_0x285690,this[_0x2720d5(0x2c6)]=_0x14f2e3,this[_0x2720d5(0x237)]=_0x231d6b,this[_0x2720d5(0x1a7)]=_0x291169,this[_0x2720d5(0x328)]=_0x2dc664,this[_0x2720d5(0x138)]());}[_0x4cf005(0x138)](){const _0x32803d=_0x4cf005,_0x124cba=this[_0x32803d(0x1a4)]['unitId'],_0x4e7e20=this[_0x32803d(0x2c6)];this[_0x32803d(0x285)](_0x27f681[_0x32803d(0x1e4)]([this[_0x32803d(0x237)][_0x32803d(0x17e)](_0x124cba),this[_0x32803d(0x328)][_0x32803d(0x108)]])[_0x32803d(0x23f)](_0x41470f['map'](([_0x5f1a96,_0x54f2e0])=>({'skeleton':_0x4e7e20[_0x32803d(0x1d4)](),'cursors':[..._0x5f1a96[_0x32803d(0xb2)]()][_0x32803d(0x1e3)](_0x39bfbf=>({..._0x39bfbf,'color':_0x54f2e0[_0x39bfbf[_0x32803d(0xb6)]]}))})))[_0x32803d(0x21a)](_0x1c3c31=>{const _0x1e6c49=_0x32803d;if(this[_0x1e6c49(0x312)](),_0x1c3c31){const {skeleton:_0x4ad841,cursors:_0x36dab2}=_0x1c3c31;this['_updateCollabCursors'](_0x4ad841,_0x36dab2);}})),this[_0x32803d(0x307)](),this[_0x32803d(0x217)]();}['_updateCollabCursors'](_0x2edd27,_0x1c5032){const _0xb8de58=_0x4cf005,{scene:_0x1c1b4b,mainComponent:_0x503651}=this[_0xb8de58(0x1a4)],_0x4145ea=_0x1c5032[_0xb8de58(0x25d)](_0x4a3c04=>new _0xdd03db(_0x4a3c04,_0x1c1b4b,_0x2edd27,_0x503651));this[_0xb8de58(0x253)]=_0x4145ea,this[_0xb8de58(0x212)]=_0x1c5032;}[_0x4cf005(0x1c7)](){const _0x570331=_0x4cf005;this[_0x570331(0x312)]();const {scene:_0x37bdea,mainComponent:_0x12730f}=this['_context'],_0x39048a=this[_0x570331(0x2c6)][_0x570331(0x1d4)](),_0x134e2a=this[_0x570331(0x212)][_0x570331(0x25d)](_0xfdf56a=>new _0xdd03db(_0xfdf56a,_0x37bdea,_0x39048a,_0x12730f));this[_0x570331(0x253)]=_0x134e2a;}[_0x4cf005(0x312)](){const _0x5200b4=_0x4cf005;this[_0x5200b4(0x253)]['forEach'](_0x39836e=>_0x39836e[_0x5200b4(0xf7)]()),this[_0x5200b4(0x253)]=[];}[_0x4cf005(0x217)](){const _0x1e7cd9=_0x4cf005,_0x34f8ed=[_0xd08195[_0x1e7cd9(0x279)]['id']];this[_0x1e7cd9(0x285)](this[_0x1e7cd9(0x1a7)][_0x1e7cd9(0x143)](_0x3ccd44=>{const _0x3d661b=_0x1e7cd9;_0x34f8ed[_0x3d661b(0x14a)](_0x3ccd44['id'])&&_0x3ccd44[_0x3d661b(0x2ae)]['unitId']===this['_context'][_0x3d661b(0x163)]&&this['_refreshCollabCursors']();}));}[_0x4cf005(0x307)](){const _0x53334a=_0x4cf005;this[_0x53334a(0x285)](_0x52210e[_0x53334a(0xb5)](this[_0x53334a(0x1a4)][_0x53334a(0x14b)][_0x53334a(0x2a7)])[_0x53334a(0x23f)](_0x41470f[_0x53334a(0x17b)](_0x335819=>_0x335819[_0x53334a(0x24b)]===_0x45eaa5[_0x53334a(0x1a8)][_0x53334a(0x27f)]),_0x41470f[_0x53334a(0xac)](0x10))[_0x53334a(0x21a)](()=>{const _0x1d2255=_0x53334a;this[_0x1d2255(0x1c7)]();}));}};_0x14e670=_0x17f92e([_0x10e080(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x20d49c['DocSkeletonManagerService'])),_0x10e080(0x2,_0x52210e['Inject'](_0x1ee3b8)),_0x10e080(0x3,_0x52210e['ICommandService']),_0x10e080(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x52210e['ThemeService']))],_0x14e670);const _0x13c51d=0x1,_0x1a4a96=1.5;class _0x220a7d extends _0x45eaa5[_0x4cf005(0x1b2)]{constructor(_0x3d5d0c,_0x383425){const _0x32d598=_0x4cf005;super(_0x3d5d0c,_0x383425),_0xb6ff52(this,_0x32d598(0x284)),_0xb6ff52(this,_0x32d598(0x2f7),!0x1),_0xb6ff52(this,_0x32d598(0x291)),_0xb6ff52(this,'_name',''),_0xb6ff52(this,_0x32d598(0x1fd),_0x32d598(0x2e2)),_0xb6ff52(this,_0x32d598(0x1d0)),(_0x383425&&this['setShapeProps'](_0x383425),this[_0x32d598(0x1b1)][_0x32d598(0x308)](()=>this[_0x32d598(0x251)]({'hovered':!0x0})),this['onPointerLeave$'][_0x32d598(0x308)](()=>this[_0x32d598(0x251)]({'hovered':!0x1})));}[_0x4cf005(0x251)](_0x1aa8ba){const _0x2ad88a=_0x4cf005;var _0x1a66ba,_0x4ef435,_0x23cd4e,_0x232d80,_0x38f171,_0x5981d9;this[_0x2ad88a(0x284)]=(_0x1a66ba=_0x1aa8ba[_0x2ad88a(0xb6)])!=null?_0x1a66ba:this[_0x2ad88a(0x284)],this[_0x2ad88a(0x2f7)]=(_0x4ef435=_0x1aa8ba[_0x2ad88a(0x2a8)])!=null?_0x4ef435:this[_0x2ad88a(0x2f7)],this[_0x2ad88a(0x291)]=(_0x23cd4e=_0x1aa8ba[_0x2ad88a(0x2c0)])!=null?_0x23cd4e:this[_0x2ad88a(0x291)],this[_0x2ad88a(0x118)]=(_0x232d80=_0x1aa8ba['name'])!=null?_0x232d80:this[_0x2ad88a(0x118)],this['_labelPosition']=(_0x38f171=_0x1aa8ba[_0x2ad88a(0x22b)])!=null?_0x38f171:this[_0x2ad88a(0x1fd)],this['_backgroundColor']=(_0x5981d9=_0x1aa8ba[_0x2ad88a(0x1ef)])!=null?_0x5981d9:this[_0x2ad88a(0x1d0)],this[_0x2ad88a(0xe9)]({'width':_0x1aa8ba[_0x2ad88a(0xaa)],'height':_0x1aa8ba[_0x2ad88a(0x2de)]});}[_0x4cf005(0x24d)](_0x8201fb){const _0x1c40bb=_0x4cf005,{row:_0x58695c,column:_0x3b2b5b}=_0x8201fb;if(_0x58695c>=this[_0x1c40bb(0x291)][_0x1c40bb(0x1bc)]&&_0x58695c<=this['_range'][_0x1c40bb(0x25a)]&&_0x3b2b5b>=this[_0x1c40bb(0x291)][_0x1c40bb(0x25e)]&&_0x3b2b5b<=this['_range'][_0x1c40bb(0x287)]){this[_0x1c40bb(0x251)]({'hovered':!0x0});return;}this[_0x1c40bb(0x251)]({'hovered':!0x1});}[_0x4cf005(0x2a0)](_0x346eda){return!0x1;}['_draw'](_0x4084aa){const _0x20deeb=_0x4cf005;_0x45eaa5[_0x20deeb(0x190)]['drawWith'](_0x4084aa,{'width':this['width'],'height':this[_0x20deeb(0x2de)],'strokeWidth':_0x1a4a96,'stroke':this[_0x20deeb(0x284)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x20deeb(0x2f7)]&&(_0x4084aa[_0x20deeb(0x220)](),_0x4084aa[_0x20deeb(0xb3)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x20deeb(0x26c)?0x0:-0x14),_0x556dcb['drawWith'](_0x4084aa,{'text':this['_name'],'color':this['_color']}),_0x4084aa[_0x20deeb(0x23c)]());}}var _0x24db63=Object['getOwnPropertyDescriptor'],_0x325748=(_0x549ced,_0xcd2d1e,_0x104df7,_0x3c468f)=>{for(var _0x33faa2=_0x3c468f>0x1?void 0x0:_0x3c468f?_0x24db63(_0xcd2d1e,_0x104df7):_0xcd2d1e,_0x5461a9=_0x549ced['length']-0x1,_0x3feefa;_0x5461a9>=0x0;_0x5461a9--)(_0x3feefa=_0x549ced[_0x5461a9])&&(_0x33faa2=_0x3feefa(_0x33faa2)||_0x33faa2);return _0x33faa2;},_0x1770c9=(_0x3fd31b,_0x49239a)=>(_0x3849f2,_0x5313b8)=>_0x49239a(_0x3849f2,_0x5313b8,_0x3fd31b);const _0x1ab59c=0x1389;let _0x396fbf=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x51a8d0,_0xc76acd,_0x7a320b,_0x935b1b){const _0x17017c=_0x4cf005;super(),_0xb6ff52(this,'_cursors',new Set()),_0xb6ff52(this,'_lastPointer',null),(this[_0x17017c(0x1a4)]=_0x51a8d0,this[_0x17017c(0x2cc)]=_0xc76acd,this[_0x17017c(0x237)]=_0x7a320b,this[_0x17017c(0x328)]=_0x935b1b,this[_0x17017c(0x138)]());}['_init'](){const _0x34b918=_0x4cf005;this['_sheetSkeletonManagerService'][_0x34b918(0x15c)][_0x34b918(0x23f)](_0x41470f['takeUntil'](this[_0x34b918(0x183)]),_0x41470f['switchMap'](_0x2fd45c=>{const _0x22c9ea=_0x34b918;if(_0x2fd45c){const _0x254f66=_0x2fd45c[_0x22c9ea(0x326)];return _0x27f681[_0x22c9ea(0x1e4)](this[_0x22c9ea(0x237)]['getCollabCursors$'](this[_0x22c9ea(0x1a4)]['unitId']),this[_0x22c9ea(0x328)][_0x22c9ea(0x108)])[_0x22c9ea(0x23f)](_0x41470f[_0x22c9ea(0x25d)](([_0x1e77f5,_0x3d90d5])=>{const _0x2ddceb=_0x22c9ea,_0x5126f8=new Map();return _0x1e77f5[_0x2ddceb(0x2f5)]((_0x3390ce,_0x61633)=>{const _0x2f265d=_0x2ddceb;if(_0x3390ce[_0x2f265d(0x185)]===_0x254f66){const _0x4c688f={..._0x3390ce};_0x4c688f[_0x2f265d(0xb6)]=_0x3d90d5[_0x3390ce[_0x2f265d(0xb6)]],_0x5126f8[_0x2f265d(0x202)](_0x61633,_0x4c688f);}}),{'skeleton':_0x2fd45c,'cursors':_0x5126f8};}));}return _0x27f681['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xeea41a,cursors:_0x314988})=>{const _0x1ab149=_0x34b918;this[_0x1ab149(0x312)](),_0xeea41a&&this[_0x1ab149(0x151)](_0xeea41a,_0x314988);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x34b918(0x21a)](_0x3b6909=>{const _0x49373a=_0x34b918;if(_0x3b6909==null)return;const {skeleton:_0x253081}=_0x3b6909,{scene:_0x53b9f5}=this['_context'];_0x53b9f5[_0x49373a(0x228)][_0x49373a(0x308)](_0x52210e[_0x49373a(0x1a5)](_0x4eb134=>{const _0x2ce591=_0x49373a;var _0x37e45f,_0x5d0904;const {offsetX:_0x33c373,offsetY:_0x203251}=_0x4eb134,{x:_0x4e93d3,y:_0x3bdee5}=_0x53b9f5[_0x2ce591(0x26a)](_0x45eaa5[_0x2ce591(0x128)][_0x2ce591(0x210)]([_0x33c373,_0x203251])),{scaleX:_0x5a5829,scaleY:_0x1e0007}=_0x53b9f5[_0x2ce591(0x243)](),_0x5ed1ed=_0x53b9f5[_0x2ce591(0x2bb)](_0x45eaa5['SHEET_VIEWPORT_KEY'][_0x2ce591(0x1ff)]),_0x148f08=_0x53b9f5[_0x2ce591(0x28e)](_0x45eaa5[_0x2ce591(0x128)]['FromArray']([_0x4e93d3,_0x3bdee5]),_0x5ed1ed),_0x57d995=_0x253081[_0x2ce591(0x2f6)](_0x33c373,_0x203251,_0x5a5829,_0x1e0007,_0x148f08);((_0x37e45f=this['_lastPointer'])==null?void 0x0:_0x37e45f[_0x2ce591(0x2d7)])===_0x57d995['column']&&((_0x5d0904=this['_lastPointer'])==null?void 0x0:_0x5d0904[_0x2ce591(0x277)])===_0x57d995[_0x2ce591(0x277)]||this[_0x2ce591(0x212)][_0x2ce591(0x2f5)](_0x3bbeb4=>{const _0x387526=_0x2ce591;_0x3bbeb4[_0x387526(0x24d)](_0x57d995);});},0x64));});}['_updateCollabCursors'](_0x3d5356,_0x15c2e4){const _0x4d0ecd=_0x4cf005;var _0x5446c8;const _0x21d733=(_0x5446c8=this[_0x4d0ecd(0x2cc)]['getCurrent']())==null?void 0x0:_0x5446c8[_0x4d0ecd(0x2c1)];if(!_0x21d733)return;const _0x409cc0=this[_0x4d0ecd(0xf4)]();if(!_0x409cc0)return;this[_0x4d0ecd(0x212)][_0x4d0ecd(0x2f5)](_0x45c865=>{const _0x16630d=_0x4d0ecd;_0x45c865[_0x16630d(0xa5)]();});const {scene:_0x1eb345}=_0x409cc0,_0x1d41d4=_0xe3cae5(Array[_0x4d0ecd(0x195)](_0x15c2e4[_0x4d0ecd(0xb2)]()))[_0x4d0ecd(0x25d)](_0x1079df=>{const _0x1682ec=_0x4d0ecd,{color:_0x119890,range:_0x4a2373,name:_0x1f5151,selection:_0x1ac685,sheetID:_0x583aad}=_0x1079df,{startColumn:_0x177b37,startRow:_0x54606f,endColumn:_0x5a2024,endRow:_0x23d642}=_0x4a2373,_0x134aab=_0x3b105a['getCoordByCell'](_0x54606f,_0x177b37,_0x1eb345,_0x21d733),_0x389ace=_0x3b105a[_0x1682ec(0x2c8)](_0x23d642,_0x5a2024,_0x1eb345,_0x21d733),{columnHeaderHeightAndMarginTop:_0x180bd8}=_0x21d733,{startX:_0x81b603,startY:_0xcd5f16}=_0x134aab,{endX:_0x577b60,endY:_0x4a65dd}=_0x389ace,_0x2217e5=_0x577b60-_0x81b603,_0x4c603d=_0x4a65dd-_0xcd5f16,_0x3c1fe5={'labelPosition':_0xcd5f16-_0x180bd8>=_0x26e7ed?'top':'bottom','sheetID':_0x583aad,'range':_0x4a2373,'color':_0x119890,'name':_0x1f5151,'selection':_0x1ac685,'left':_0x81b603,'top':_0xcd5f16,'width':_0x2217e5,'height':_0x4c603d,'evented':!0x1,'zIndex':_0x1ab59c};return new _0x220a7d(_0x1f5151,_0x3c1fe5);});_0x1eb345[_0x4d0ecd(0x2eb)](_0x1d41d4,_0x13c51d),this[_0x4d0ecd(0x212)]=new Set(_0x1d41d4);}[_0x4cf005(0x312)](){const _0x46d2bb=_0x4cf005;var _0x4f2717;(_0x4f2717=this[_0x46d2bb(0x212)])==null||_0x4f2717[_0x46d2bb(0x2f5)](_0x47a816=>_0x47a816[_0x46d2bb(0xf7)]());}[_0x4cf005(0xf4)](){const _0x4f9ca9=_0x4cf005;return _0x3b105a['getSheetObject'](this[_0x4f9ca9(0x1a4)][_0x4f9ca9(0x155)],this[_0x4f9ca9(0x1a4)]);}};_0x396fbf=_0x325748([_0x1770c9(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x3b105a['SheetSkeletonManagerService'])),_0x1770c9(0x2,_0x52210e['Inject'](_0x1ee3b8)),_0x1770c9(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x123)]))],_0x396fbf);function _0xe3cae5(_0x2bd6d8){const _0x24c72e=_0x4cf005,_0x54220b=new Map();return _0x2bd6d8['forEach'](_0x3da13f=>{const _0x777bd7=_0x568e;if(_0x54220b['has'](_0x3da13f[_0x777bd7(0xde)])){const _0x5a6b36=_0x54220b[_0x777bd7(0x1d2)](_0x3da13f[_0x777bd7(0xde)]);_0x5a6b36[_0x777bd7(0x306)]+=',\x20'+_0x3da13f[_0x777bd7(0x306)];}else _0x54220b[_0x777bd7(0x202)](_0x3da13f['selection'],_0x3da13f);}),Array[_0x24c72e(0x195)](_0x54220b[_0x24c72e(0xb2)]());}var _0x3653ed=function(){const _0x132752=_0x4cf005;return _0x3653ed=Object[_0x132752(0xca)]||function(_0x4732da){const _0x250839=_0x132752;for(var _0x3810bd,_0x2f73e2=0x1,_0x2460a8=arguments[_0x250839(0x20e)];_0x2f73e2<_0x2460a8;_0x2f73e2++){_0x3810bd=arguments[_0x2f73e2];for(var _0x4a692b in _0x3810bd)Object[_0x250839(0x2c9)][_0x250839(0x2f8)]['call'](_0x3810bd,_0x4a692b)&&(_0x4732da[_0x4a692b]=_0x3810bd[_0x4a692b]);}return _0x4732da;},_0x3653ed[_0x132752(0x2ca)](this,arguments);},_0x20e761=function(_0x1ffd19,_0x32459b){const _0x4e6899=_0x4cf005;var _0x526761={};for(var _0x5c5a21 in _0x1ffd19)Object[_0x4e6899(0x2c9)][_0x4e6899(0x2f8)]['call'](_0x1ffd19,_0x5c5a21)&&_0x32459b[_0x4e6899(0x1fb)](_0x5c5a21)<0x0&&(_0x526761[_0x5c5a21]=_0x1ffd19[_0x5c5a21]);if(_0x1ffd19!=null&&typeof Object[_0x4e6899(0xbd)]=='function'){for(var _0x2f417c=0x0,_0x5c5a21=Object[_0x4e6899(0xbd)](_0x1ffd19);_0x2f417c<_0x5c5a21[_0x4e6899(0x20e)];_0x2f417c++)_0x32459b[_0x4e6899(0x1fb)](_0x5c5a21[_0x2f417c])<0x0&&Object[_0x4e6899(0x2c9)][_0x4e6899(0x2af)][_0x4e6899(0x331)](_0x1ffd19,_0x5c5a21[_0x2f417c])&&(_0x526761[_0x5c5a21[_0x2f417c]]=_0x1ffd19[_0x5c5a21[_0x2f417c]]);}return _0x526761;},_0x21ef57=_0x854b5b['forwardRef'](function(_0x2702b4,_0x46c501){const _0x529545=_0x4cf005;var _0x6ba5b9=_0x2702b4['icon'],_0x263b34=_0x2702b4['id'],_0x32aaab=_0x2702b4[_0x529545(0xb4)],_0x4dba3a=_0x2702b4[_0x529545(0x2ec)],_0x10ada5=_0x20e761(_0x2702b4,[_0x529545(0x313),'id',_0x529545(0xb4),'extend']),_0x8fba6f=_0x529545(0x10a)[_0x529545(0x14f)](_0x263b34,'\x20')[_0x529545(0x14f)](_0x32aaab||'')[_0x529545(0x1cb)](),_0x56a60b=_0x854b5b[_0x529545(0x133)]('_'[_0x529545(0x14f)](_0x21d979()));return _0x36a290(_0x6ba5b9,''[_0x529545(0x14f)](_0x263b34),{'defIds':_0x6ba5b9[_0x529545(0x186)],'idSuffix':_0x56a60b['current']},_0x3653ed({'ref':_0x46c501,'className':_0x8fba6f},_0x10ada5),_0x4dba3a);});function _0x36a290(_0x554134,_0x9e55c,_0x4f209e,_0x5a90a8,_0x2d8d28){const _0x5583b2=_0x4cf005;return _0x854b5b['createElement'](_0x554134['tag'],_0x3653ed(_0x3653ed({'key':_0x9e55c},_0x5aeba3(_0x554134,_0x4f209e,_0x2d8d28)),_0x5a90a8),(_0x2ea5a6(_0x554134,_0x4f209e)[_0x5583b2(0xa6)]||[])[_0x5583b2(0x25d)](function(_0x4bef48,_0x4164d9){const _0x2148aa=_0x5583b2;return _0x36a290(_0x4bef48,''['concat'](_0x9e55c,'-')[_0x2148aa(0x14f)](_0x554134[_0x2148aa(0x26e)],'-')[_0x2148aa(0x14f)](_0x4164d9),_0x4f209e,void 0x0,_0x2d8d28);}));}function _0x5aeba3(_0x4d2964,_0x145835,_0x34a006){const _0x2d17e6=_0x4cf005;var _0x382e31=_0x3653ed({},_0x4d2964[_0x2d17e6(0x1ba)]);_0x34a006!=null&&_0x34a006[_0x2d17e6(0xbc)]&&_0x382e31[_0x2d17e6(0x2e6)]===_0x2d17e6(0xbc)&&(_0x382e31[_0x2d17e6(0x2e6)]=_0x34a006[_0x2d17e6(0xbc)]),_0x4d2964[_0x2d17e6(0x26e)]===_0x2d17e6(0x19b)&&_0x382e31['id']&&(_0x382e31['id']=_0x382e31['id']+_0x145835['idSuffix']),Object[_0x2d17e6(0xf6)](_0x382e31)[_0x2d17e6(0x2f5)](function(_0x3099bd){const _0xd36b3b=_0x2d17e6;var _0x49e6b0=_0x3099bd[0x0],_0x7f278e=_0x3099bd[0x1];_0x49e6b0===_0xd36b3b(0x19b)&&typeof _0x7f278e==_0xd36b3b(0x10b)&&(_0x382e31[_0x49e6b0]=_0x7f278e['replace'](/url\(#(.*)\)/,_0xd36b3b(0xf8)['concat'](_0x145835[_0xd36b3b(0x309)],')')));});var _0x31f5b1=_0x145835['defIds'];return!_0x31f5b1||_0x31f5b1[_0x2d17e6(0x20e)]===0x0||(_0x4d2964[_0x2d17e6(0x26e)]===_0x2d17e6(0x131)&&_0x382e31[_0x2d17e6(0x2bd)]&&(_0x382e31['xlink:href']=_0x382e31['xlink:href']+_0x145835[_0x2d17e6(0x309)]),Object['entries'](_0x382e31)[_0x2d17e6(0x2f5)](function(_0x51f115){const _0x49f9fa=_0x2d17e6;var _0x5af300=_0x51f115[0x0],_0x86087b=_0x51f115[0x1];typeof _0x86087b==_0x49f9fa(0x10b)&&(_0x382e31[_0x5af300]=_0x86087b[_0x49f9fa(0x32c)](/url\(#(.*)\)/,_0x49f9fa(0xf8)[_0x49f9fa(0x14f)](_0x145835[_0x49f9fa(0x309)],')')));})),_0x382e31;}function _0x2ea5a6(_0x4cab0e,_0x12495a){const _0x4c343e=_0x4cf005;var _0x406de2,_0x57a4b4=_0x12495a[_0x4c343e(0x186)];return!_0x57a4b4||_0x57a4b4[_0x4c343e(0x20e)]===0x0?_0x4cab0e:_0x4cab0e[_0x4c343e(0x26e)]==='defs'&&(!((_0x406de2=_0x4cab0e['children'])===null||_0x406de2===void 0x0)&&_0x406de2[_0x4c343e(0x20e)])?_0x3653ed(_0x3653ed({},_0x4cab0e),{'children':_0x4cab0e['children'][_0x4c343e(0x25d)](function(_0x209762){const _0x30ca02=_0x4c343e;return typeof _0x209762[_0x30ca02(0x1ba)]['id']==_0x30ca02(0x10b)&&_0x57a4b4&&_0x57a4b4[_0x30ca02(0x1fb)](_0x209762['attrs']['id'])>-0x1?_0x3653ed(_0x3653ed({},_0x209762),{'attrs':_0x3653ed(_0x3653ed({},_0x209762[_0x30ca02(0x1ba)]),{'id':_0x209762[_0x30ca02(0x1ba)]['id']+_0x12495a[_0x30ca02(0x309)]})}):_0x209762;})}):_0x4cab0e;}function _0x21d979(){const _0x87e1ec=_0x4cf005;return Math['random']()[_0x87e1ec(0x334)](0x24)[_0x87e1ec(0x27c)](0x2,0x8);}_0x21ef57[_0x4cf005(0x1cc)]=_0x4cf005(0x258);var _0xbeffb0={'tag':_0x4cf005(0xd4),'attrs':{'fill':_0x4cf005(0x283),'viewBox':'0\x200\x2016\x2016','width':_0x4cf005(0x324),'height':_0x4cf005(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cf005(0x336)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'stroke':_0x4cf005(0x297),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4cf005(0x267),'strokeLinejoin':_0x4cf005(0x267),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4cf005(0x14c),'attrs':{'id':_0x4cf005(0x188)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'fill':'#fff','d':_0x4cf005(0x15a)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x1142b5=_0x854b5b[_0x4cf005(0xe5)](function(_0x18ffd7,_0xcd6425){const _0xcc1b8c=_0x4cf005;return _0x854b5b[_0xcc1b8c(0x199)](_0x21ef57,Object[_0xcc1b8c(0xca)]({},_0x18ffd7,{'id':'off-line-single','ref':_0xcd6425,'icon':_0xbeffb0}));});_0x1142b5[_0x4cf005(0x1cc)]=_0x4cf005(0x165);var _0x5989fe={'tag':_0x4cf005(0xd4),'attrs':{'fill':_0x4cf005(0x283),'viewBox':_0x4cf005(0x122),'width':'1em','height':_0x4cf005(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cf005(0x13a)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'stroke':_0x4cf005(0x297),'d':_0x4cf005(0x265),'strokeLinecap':_0x4cf005(0x267),'strokeLinejoin':_0x4cf005(0x267),'strokeWidth':1.2}}]},{'tag':_0x4cf005(0x269),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4cf005(0x198),'attrs':{'fill':_0x4cf005(0x22a),'d':_0x4cf005(0x15a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4cf005(0x1b4)]},_0x90e28b=_0x854b5b[_0x4cf005(0xe5)](function(_0x337dd3,_0x2cb56d){const _0x1b2537=_0x4cf005;return _0x854b5b['createElement'](_0x21ef57,Object['assign']({},_0x337dd3,{'id':_0x1b2537(0x1f0),'ref':_0x2cb56d,'icon':_0x5989fe}));});_0x90e28b['displayName']='OnLineSingle';function _0x1e8de5(_0x5d646e){const _0x4de518=_0x4cf005;switch(_0x5d646e){case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0xc7)]:return _0x4de518(0xd0);case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0x2dc)]:return _0x4de518(0x30a);case _0x47040c['CollaborationStatus'][_0x4de518(0x18e)]:return _0x4de518(0x14e);case _0x47040c[_0x4de518(0x1b9)]['NOT_COLLAB']:return _0x4de518(0x1c2);case _0x47040c['CollaborationStatus'][_0x4de518(0x177)]:case _0x47040c[_0x4de518(0x1b9)]['AWAITING_WITH_PENDING']:return _0x4de518(0x1be);case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0xcc)]:case _0x47040c['CollaborationStatus'][_0x4de518(0x2c4)]:return'collabStatus.synced';}}function _0xddad9e(_0x5ac6cb){const _0x68296=_0x4cf005,{status$:_0x46df8e}=_0x5ac6cb,_0x5b43f3=_0x4f6f29[_0x68296(0x209)](_0x46df8e,_0x47040c[_0x68296(0x1b9)][_0x68296(0xe1)]),_0xe673ea=_0x4f6f29['useDependency'](_0x52210e[_0x68296(0x250)]),_0x3eed23=_0x4f6f29[_0x68296(0x295)](_0x47040c[_0x68296(0x270)]),_0x28d89d=_0x5b43f3!==_0x47040c[_0x68296(0x1b9)]['OFFLINE'],_0x44432a=_0xe673ea['t'](_0x1e8de5(_0x5b43f3)),_0x19c981=_0x28d89d?_0x351132['jsx'](_0x90e28b,{}):_0x351132[_0x68296(0x327)](_0x1142b5,{}),_0x4b64ca=_0x854b5b['useCallback'](()=>{_0x28d89d||_0x3eed23['reconnect']();},[_0x28d89d,_0x3eed23]);function _0x263380(){const _0x25d618=_0x68296;return _0x351132[_0x25d618(0x205)]('div',{'className':_0x25d618(0x1b3),'onClick':_0x4b64ca,'children':[_0x351132[_0x25d618(0x327)](_0x25d618(0xa2),{'className':_0x4bb591[_0x25d618(0x219)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x28d89d?_0x25d618(0x232):'univer-text-red-500'),'children':_0x19c981}),_0x351132[_0x25d618(0x327)](_0x25d618(0xa2),{'className':_0x25d618(0x12d),'children':_0x44432a})]});}return _0x28d89d?_0x263380():_0x351132[_0x68296(0x327)](_0x4bb591['Tooltip'],{'title':_0xe673ea['t'](_0x68296(0x30b)),'children':_0x263380()});}var _0x3d665d=Object['getOwnPropertyDescriptor'],_0x1121db=(_0x3c68c9,_0x7f4664,_0x48caef,_0x4e0d9a)=>{const _0x4fdbf0=_0x4cf005;for(var _0x50d766=_0x4e0d9a>0x1?void 0x0:_0x4e0d9a?_0x3d665d(_0x7f4664,_0x48caef):_0x7f4664,_0x42938d=_0x3c68c9[_0x4fdbf0(0x20e)]-0x1,_0x459116;_0x42938d>=0x0;_0x42938d--)(_0x459116=_0x3c68c9[_0x42938d])&&(_0x50d766=_0x459116(_0x50d766)||_0x50d766);return _0x50d766;},_0x27bd55=(_0x459e19,_0x13e736)=>(_0x1d9dae,_0x28b7a7)=>_0x13e736(_0x1d9dae,_0x28b7a7,_0x459e19);_0x353bdb[_0x4cf005(0x2b5)]=class extends _0x52210e['Disposable']{constructor(_0x27fab0,_0x88c0ab,_0x39548c,_0x3e1fa6){const _0x3b1401=_0x4cf005;super(),_0xb6ff52(this,_0x3b1401(0x13f),new _0x27f681[(_0x3b1401(0x132))](_0x47040c[_0x3b1401(0x1b9)][_0x3b1401(0xe1)])),(this[_0x3b1401(0x1a0)]=_0x27fab0,this['_injector']=_0x88c0ab,this[_0x3b1401(0x325)]=_0x39548c,this['_uiPartsService']=_0x3e1fa6,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4cf005(0x189)](){const _0x4a13b5=_0x4cf005;this[_0x4a13b5(0x285)](this['_univerInstanceService']['focused$'][_0x4a13b5(0x23f)](_0x27f681[_0x4a13b5(0x29d)](()=>{const _0x24029d=_0x4a13b5,_0x293c2d=this['_univerInstanceService'][_0x24029d(0x2bc)]();return _0x293c2d?this[_0x24029d(0x325)][_0x24029d(0x24f)](_0x293c2d[_0x24029d(0x302)]()):_0x27f681['of'](null);}),_0x27f681[_0x4a13b5(0x29d)](_0x2ebe6f=>_0x2ebe6f?_0x2ebe6f[_0x4a13b5(0xd8)]:_0x27f681['of'](_0x47040c[_0x4a13b5(0x1b9)][_0x4a13b5(0xe1)])))[_0x4a13b5(0x21a)](_0x1d41a2=>{const _0x402eec=_0x4a13b5;this['_status$'][_0x402eec(0x161)](_0x1d41a2);}));}[_0x4cf005(0x25c)](){const _0xbb784=_0x4cf005;this[_0xbb784(0x285)](this[_0xbb784(0x1e2)][_0xbb784(0x168)](_0x4f6f29[_0xbb784(0x162)][_0xbb784(0x240)],()=>_0x4f6f29[_0xbb784(0x2da)](_0x4aec03({'status$':this[_0xbb784(0x13f)]['asObservable']()}),this['_injector'])));}},_0x353bdb[_0x4cf005(0x2b5)]=_0x1121db([_0x27bd55(0x0,_0x52210e[_0x4cf005(0xf3)]),_0x27bd55(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x27bd55(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x2b9)])),_0x27bd55(0x3,_0x4f6f29['IUIPartsService'])],_0x353bdb[_0x4cf005(0x2b5)]);function _0x4aec03(_0x4613e4){const {status$:_0xca6b1a}=_0x4613e4;return function(){const _0x45b400=_0x568e;return _0x351132[_0x45b400(0x327)](_0xddad9e,{'status$':_0xca6b1a});};}var _0x576d3d=Object['getOwnPropertyDescriptor'],_0x50804=(_0x41248c,_0x3251a9,_0x996f74,_0x5f58c6)=>{const _0x40d37d=_0x4cf005;for(var _0xa6aecb=_0x5f58c6>0x1?void 0x0:_0x5f58c6?_0x576d3d(_0x3251a9,_0x996f74):_0x3251a9,_0x37252a=_0x41248c[_0x40d37d(0x20e)]-0x1,_0x388238;_0x37252a>=0x0;_0x37252a--)(_0x388238=_0x41248c[_0x37252a])&&(_0xa6aecb=_0x388238(_0xa6aecb)||_0xa6aecb);return _0xa6aecb;},_0x25a7a0=(_0x5291ca,_0x457ce4)=>(_0x4fa565,_0x4107b1)=>_0x457ce4(_0x4fa565,_0x4107b1,_0x5291ca);let _0x6a5d98=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x5d7460,_0xf6c800,_0x18fcfd,_0x51207b,_0x20de6b,_0x5de673){const _0x4bfe04=_0x4cf005;super(),this[_0x4bfe04(0x30e)]=_0x5d7460,this[_0x4bfe04(0x2e8)]=_0xf6c800,this[_0x4bfe04(0x28b)]=_0x18fcfd,this[_0x4bfe04(0xb9)]=_0x51207b,this[_0x4bfe04(0xec)]=_0x20de6b,this['_localeService']=_0x5de673,this[_0x4bfe04(0xb1)](),this[_0x4bfe04(0x314)]();}[_0x4cf005(0xb1)](){const _0x1eef41=_0x4cf005;this[_0x1eef41(0x285)](this[_0x1eef41(0x30e)][_0x1eef41(0x261)](()=>{const _0x127248=_0x1eef41;if(this[_0x127248(0x2e8)][_0x127248(0x180)][_0x127248(0x157)])return this[_0x127248(0xd6)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4cf005(0x314)](){const _0x5b6db9=_0x4cf005;this[_0x5b6db9(0x285)](this[_0x5b6db9(0x28b)][_0x5b6db9(0x141)][_0x5b6db9(0x21a)](_0x35cea0=>{const _0x1040f1=_0x5b6db9;_0x35cea0['id']===_0x47040c['CollaborationUIEventId'][_0x1040f1(0x1c3)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591['MessageType'][_0x1040f1(0x259)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x130)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x259)],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2a5))}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x104)]&&this[_0x1040f1(0xec)]['show']({'title':this[_0x1040f1(0xd6)]['t']('permission.title'),'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2ba)),'type':_0x1040f1(0x1db),'duration':0x0}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2dc)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x255)],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2a5))+'('+_0x35cea0[_0x1040f1(0x1fe)]+')'}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x235)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x259)],'content':this[_0x1040f1(0xd6)]['t'](_0x35cea0[_0x1040f1(0x1fe)]||'')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2b2)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Warning'],'content':this['_localeService']['t'](_0x1040f1(0x28a))}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)]['SOCKET_FAILED']&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Error'],'content':this[_0x1040f1(0xd6)]['t']('session.connection-failed')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2b4)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Error'],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x1d8))});}));}};_0x6a5d98=_0x50804([_0x25a7a0(0x0,_0x4f6f29['IBeforeCloseService']),_0x25a7a0(0x1,_0x47040c['ILocalCacheService']),_0x25a7a0(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x221)])),_0x25a7a0(0x3,_0x4f6f29[_0x4cf005(0x103)]),_0x25a7a0(0x4,_0x4f6f29[_0x4cf005(0x1fa)]),_0x25a7a0(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x250)]))],_0x6a5d98);const _0xbaf90d=_0x4cf005(0x111),_0x2468a5={},_0x3ada57=_0x52210e[_0x4cf005(0x1f6)](_0x4cf005(0x11c));var _0x3a6cc1=Object[_0x4cf005(0x19c)],_0x465e07=(_0x8b3812,_0x2476c6,_0x9b088d,_0x336a47)=>{for(var _0x43a3c3=_0x336a47>0x1?void 0x0:_0x336a47?_0x3a6cc1(_0x2476c6,_0x9b088d):_0x2476c6,_0xfbfaee=_0x8b3812['length']-0x1,_0x81054e;_0xfbfaee>=0x0;_0xfbfaee--)(_0x81054e=_0x8b3812[_0xfbfaee])&&(_0x43a3c3=_0x81054e(_0x43a3c3)||_0x43a3c3);return _0x43a3c3;},_0x4ee37d=(_0x4bb156,_0x48e7da)=>(_0x5f2708,_0x3bf8c0)=>_0x48e7da(_0x5f2708,_0x3bf8c0,_0x4bb156);_0x353bdb[_0x4cf005(0x208)]=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x542e8d,_0x591d7b,_0x2c0f2d,_0x53b1fb,_0x3900eb){const _0x1fa9b7=_0x4cf005;super(),this['_urlService']=_0x542e8d,this[_0x1fa9b7(0x234)]=_0x591d7b,this[_0x1fa9b7(0x1a7)]=_0x2c0f2d,this[_0x1fa9b7(0x2f4)]=_0x53b1fb,_0x3900eb?_0x3900eb==null||_0x3900eb[_0x1fa9b7(0x333)]()['then'](()=>this[_0x1fa9b7(0x138)]()):(this[_0x1fa9b7(0x234)][_0x1fa9b7(0xf5)](_0x1fa9b7(0x1aa),_0x1fa9b7(0xfa)),this['_init']());}async[_0x4cf005(0x138)](){const _0x2b77d4=_0x4cf005,_0x36bfb6=this[_0x2b77d4(0x9f)]['getParam']('unit'),_0xb0e852=this[_0x2b77d4(0x9f)][_0x2b77d4(0x290)]('type'),_0x2ee7cd=this[_0x2b77d4(0x9f)][_0x2b77d4(0x290)]('subunit');if(!_0x36bfb6||!_0xb0e852){this[_0x2b77d4(0x234)][_0x2b77d4(0xf5)](_0x2b77d4(0x1aa),_0x2b77d4(0x2d4));return;}const _0xb5e313=await this['_dataLoaderService'][_0x2b77d4(0x159)](_0x36bfb6,Number(_0xb0e852),_0x2ee7cd);_0xb5e313&&_0xb5e313 instanceof _0x52210e['Workbook']&&this[_0x2b77d4(0x225)](_0xb5e313);}async['_setupSubUnitSync'](_0x4754ab){const _0xcf72e=_0x4cf005;await this['_updateSubUnitFromURLParams'](_0x4754ab),_0x4754ab[_0xcf72e(0x30f)][_0xcf72e(0x23f)](_0x27f681[_0xcf72e(0xd2)](this[_0xcf72e(0x183)]))[_0xcf72e(0x21a)](_0x34354c=>{const _0x514c7f=_0xcf72e;_0x34354c&&this[_0x514c7f(0x249)](_0x34354c);}),this[_0xcf72e(0x9f)][_0xcf72e(0x22e)][_0xcf72e(0x23f)](_0x27f681[_0xcf72e(0xd2)](this['dispose$']))[_0xcf72e(0x21a)](()=>this['_updateSubUnitFromURLParams'](_0x4754ab));}[_0x4cf005(0x249)](_0x26c933,_0x57b9c0=!0x1){const _0x32949d=_0x4cf005,_0x24d946=this[_0x32949d(0x9f)][_0x32949d(0x290)](_0x32949d(0x19d));_0x26c933[_0x32949d(0x13d)]()!==_0x24d946&&this[_0x32949d(0x9f)][_0x32949d(0x17a)](_0x32949d(0x19d),_0x26c933['getSheetId'](),_0x57b9c0);}async[_0x4cf005(0xa4)](_0x300183){const _0x34dca5=_0x4cf005;var _0xe91f1b;const _0x1303d7=this[_0x34dca5(0x9f)][_0x34dca5(0x290)](_0x34dca5(0x19d));if(!_0x1303d7||!_0x300183[_0x34dca5(0x2a1)](_0x1303d7)){const _0x5df5fa=_0x300183['getUnhiddenWorksheets']()[0x0],_0x406e7d=_0x300183['getSheetBySheetId'](_0x5df5fa);if(!_0x406e7d)return;this[_0x34dca5(0x249)](_0x406e7d,!0x0),await this['_commandService'][_0x34dca5(0xa1)](_0x1f677a[_0x34dca5(0xf0)]['id'],{'unitId':_0x300183[_0x34dca5(0x302)](),'subUnitId':_0x5df5fa});return;}((_0xe91f1b=_0x300183['getActiveSheet']())==null?void 0x0:_0xe91f1b['getSheetId']())!==_0x1303d7&&await this[_0x34dca5(0x1a7)][_0x34dca5(0xa1)](_0x1f677a[_0x34dca5(0xf0)]['id'],{'unitId':_0x300183[_0x34dca5(0x302)](),'subUnitId':_0x1303d7});}},_0x353bdb['CollaborationDataLoaderController']=_0x465e07([_0x4ee37d(0x0,_0x3ada57),_0x4ee37d(0x1,_0x52210e[_0x4cf005(0x264)]),_0x4ee37d(0x2,_0x52210e[_0x4cf005(0x18a)]),_0x4ee37d(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x292)])),_0x4ee37d(0x4,_0x52210e[_0x4cf005(0x1ae)](_0x29b1e1['IRemoteInstanceService']))],_0x353bdb[_0x4cf005(0x208)]);var _0xaa3e40=Object[_0x4cf005(0x19c)],_0x57bc31=(_0x463d77,_0x581469,_0x3d1b25,_0x298737)=>{const _0x41bce1=_0x4cf005;for(var _0x6cade4=_0x298737>0x1?void 0x0:_0x298737?_0xaa3e40(_0x581469,_0x3d1b25):_0x581469,_0x26a459=_0x463d77[_0x41bce1(0x20e)]-0x1,_0x5819ab;_0x26a459>=0x0;_0x26a459--)(_0x5819ab=_0x463d77[_0x26a459])&&(_0x6cade4=_0x5819ab(_0x6cade4)||_0x6cade4);return _0x6cade4;},_0x362862=(_0x208611,_0x24057d)=>(_0x515251,_0x44f026)=>_0x24057d(_0x515251,_0x44f026,_0x208611);let _0x305957=class{constructor(_0x4737b6,_0x5d7a97,_0x5508f8){const _0x2ded5b=_0x4cf005;this[_0x2ded5b(0x335)]=_0x4737b6,this['_transformService']=_0x5d7a97,this[_0x2ded5b(0x115)]=_0x5508f8;}['transformIMECache'](_0x27f2f6){const _0x3b62ee=_0x4cf005;this[_0x3b62ee(0x17c)](_0x27f2f6),this['_transformPreviousActiveRange'](_0x27f2f6);}[_0x4cf005(0x214)](_0xa81a16){const _0x5af432=_0x4cf005,{unitID:_0x5ec232}=_0xa81a16,_0xc46125=this['_renderManagerService'][_0x5af432(0x18f)](_0x5ec232)['with'](_0xd08195[_0x5af432(0x10c)]),{redoCache:_0x5923f3}=_0xc46125['getUndoRedoMutationParamsCache']();if(_0x5923f3[_0x5af432(0x20e)]===0x0)return _0xa81a16;let _0x3f6885=_0x52210e['Tools'][_0x5af432(0x172)](_0xa81a16[_0x5af432(0xaf)][0x0]);for(let _0x3fef08=0x0;_0x3fef08<_0x5923f3[_0x5af432(0x20e)];_0x3fef08++){const _0x2859ab={'id':_0x5af432(0xc1),'params':{..._0x5923f3[_0x3fef08]}},_0x1a5ae6=this[_0x5af432(0x13b)]['transformMutation'](_0x3f6885,_0x2859ab,!0x1);if(_0x4251a6['isTransformMutationFailure'](_0x1a5ae6))throw _0x1a5ae6['error'];_0x3f6885=_0x1a5ae6[_0x5af432(0x2e5)];}return{..._0x52210e[_0x5af432(0xdc)][_0x5af432(0x172)](_0xa81a16),'mutations':[_0x3f6885]};}[_0x4cf005(0x17c)](_0x3d8db8){const _0x37c593=_0x4cf005,{unitID:_0x45a995}=_0x3d8db8,_0xc8c015=this[_0x37c593(0x115)][_0x37c593(0x18f)](_0x45a995)[_0x37c593(0x17f)](_0xd08195[_0x37c593(0x10c)]),{undoCache:_0x48a785,redoCache:_0x2a9297}=_0xc8c015['getUndoRedoMutationParamsCache']();if(_0x48a785[_0x37c593(0x20e)]===0x0||_0x2a9297['length']===0x0)return;const _0x4ee50d=[],_0x4370ad=[];let _0x1df4d0=_0x52210e[_0x37c593(0xdc)][_0x37c593(0x172)](_0x3d8db8[_0x37c593(0xaf)][0x0]),_0x151140=_0x52210e[_0x37c593(0xdc)]['deepClone'](_0x3d8db8[_0x37c593(0xaf)][0x0]);for(let _0x68b2a4=_0x48a785[_0x37c593(0x20e)]-0x1;_0x68b2a4>=0x0;_0x68b2a4--){const _0xb593ad={'id':_0x37c593(0xc1),'params':{..._0x48a785[_0x68b2a4]}},_0x3089f0={'id':'doc.mutation.rich-text-editing','params':{..._0x2a9297[_0x68b2a4]}},_0x1850ab=this[_0x37c593(0x13b)][_0x37c593(0x296)](_0x1df4d0,_0xb593ad,!0x1),_0x144c5a=this[_0x37c593(0x13b)][_0x37c593(0x296)](_0x151140,_0x3089f0,!0x1);if(_0x4251a6[_0x37c593(0xe3)](_0x1850ab))throw _0x1850ab[_0x37c593(0x1db)];if(_0x4251a6[_0x37c593(0xe3)](_0x144c5a))throw _0x144c5a[_0x37c593(0x1db)];_0x4ee50d[_0x37c593(0xc0)](_0x1850ab['m2Prime'][_0x37c593(0x2ae)]),_0x4370ad[_0x37c593(0xc0)](_0x144c5a[_0x37c593(0x231)][_0x37c593(0x2ae)]),_0x1df4d0=_0x1850ab['m1Prime'],_0x151140=_0x144c5a[_0x37c593(0x2e5)];}_0xc8c015[_0x37c593(0x1e0)]({'undoCache':_0x4ee50d,'redoCache':_0x4370ad});}[_0x4cf005(0x11d)](_0x353981){const _0xbaf5a2=_0x4cf005,{unitID:_0x491a73}=_0x353981,_0x3f025d=this[_0xbaf5a2(0x115)]['getRenderById'](_0x491a73)['with'](_0xd08195['DocIMEInputManagerService']),_0xad0953=_0x3f025d['getActiveRange']();if(_0xad0953==null)return;const _0x24beaa=[{'id':_0xbaf5a2(0xc1),'params':{'unitId':_0x353981['unitID'],'actions':null,'textRanges':[_0xad0953]}}],_0xef6e65=this['_transformService'][_0xbaf5a2(0x286)](_0x353981,_0x24beaa);if(!_0x4251a6[_0xbaf5a2(0x1a9)](_0xef6e65))throw _0xef6e65[_0xbaf5a2(0x1db)];const _0xc360fa=_0xef6e65[_0xbaf5a2(0x231)][0x0]['params'][_0xbaf5a2(0x2a3)];Array[_0xbaf5a2(0x2ac)](_0xc360fa)&&_0xc360fa[_0xbaf5a2(0x20e)]&&_0x3f025d[_0xbaf5a2(0x117)](_0xc360fa[0x0]);}};_0x305957=_0x57bc31([_0x362862(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x362862(0x1,_0x4251a6[_0x4cf005(0xc5)]),_0x362862(0x2,_0x45eaa5['IRenderManagerService'])],_0x305957);var _0x5a8a59=Object[_0x4cf005(0x19c)],_0x420047=(_0x32d886,_0x4ca046,_0x2864e7,_0x41b380)=>{const _0x5b957e=_0x4cf005;for(var _0x5f1a51=_0x41b380>0x1?void 0x0:_0x41b380?_0x5a8a59(_0x4ca046,_0x2864e7):_0x4ca046,_0x1cfa7d=_0x32d886[_0x5b957e(0x20e)]-0x1,_0x3e0bb0;_0x1cfa7d>=0x0;_0x1cfa7d--)(_0x3e0bb0=_0x32d886[_0x1cfa7d])&&(_0x5f1a51=_0x3e0bb0(_0x5f1a51)||_0x5f1a51);return _0x5f1a51;},_0x34acbb=(_0x28521d,_0x3e4581)=>(_0x21986c,_0x2e11e7)=>_0x3e4581(_0x21986c,_0x2e11e7,_0x28521d);let _0x544020=class{constructor(_0x3fbe4e,_0x443f52,_0x2f6a05){const _0x522f7b=_0x4cf005;this[_0x522f7b(0x335)]=_0x3fbe4e,this[_0x522f7b(0x13b)]=_0x443f52,this['_docStateChangeManagerService']=_0x2f6a05;}[_0x4cf005(0x10f)](_0x886f){const _0x5d948e=_0x4cf005;this[_0x5d948e(0x294)](_0x886f);}[_0x4cf005(0x214)](_0x15e390){const _0x4ec9bd=_0x4cf005,{unitID:_0x3017b4}=_0x15e390,{collaboration:_0x3b5516}=this[_0x4ec9bd(0x1e1)][_0x4ec9bd(0x1dc)](_0x3017b4);if(_0x3b5516[_0x4ec9bd(0x20e)]===0x0)return _0x15e390;let _0x26d68c=_0x52210e[_0x4ec9bd(0xdc)][_0x4ec9bd(0x172)](_0x15e390[_0x4ec9bd(0xaf)][0x0]);for(let _0x4267bb=0x0;_0x4267bb<_0x3b5516[_0x4ec9bd(0x20e)];_0x4267bb++){const _0x10a9d7={'id':_0x4ec9bd(0xc1),'params':{'unitId':_0x3b5516[_0x4267bb]['unitId'],..._0x3b5516[_0x4267bb]['redoState']}},_0x2c6291=this[_0x4ec9bd(0x13b)][_0x4ec9bd(0x296)](_0x26d68c,_0x10a9d7,!0x1);if(_0x4251a6[_0x4ec9bd(0xe3)](_0x2c6291))throw _0x2c6291[_0x4ec9bd(0x1db)];_0x26d68c=_0x2c6291['m1Prime'];}return{..._0x52210e['Tools'][_0x4ec9bd(0x172)](_0x15e390),'mutations':[_0x26d68c]};}['_transformHistoryAndStateStack'](_0x2a1dd7){const _0x46b885=_0x4cf005,{unitID:_0x27eec2}=_0x2a1dd7,{history:_0x2fd0d0,collaboration:_0x29e1c0}=this[_0x46b885(0x1e1)]['getStateCache'](_0x27eec2);if(_0x2fd0d0[_0x46b885(0x20e)]===0x0&&_0x29e1c0[_0x46b885(0x20e)]===0x0)return;const _0x352d56=[],_0xdc8527=[];let _0x2ec53b=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]),_0x58f102=_0x52210e['Tools'][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]);for(let _0x4bf6f0=_0x2fd0d0[_0x46b885(0x20e)]-0x1;_0x4bf6f0>=0x0;_0x4bf6f0--){const _0x4e0998={'id':_0x46b885(0xc1),'params':{'unitId':_0x2fd0d0[_0x4bf6f0][_0x46b885(0x163)],..._0x2fd0d0[_0x4bf6f0][_0x46b885(0x18c)]}},_0x49910a={'id':_0x46b885(0xc1),'params':{'unitId':_0x2fd0d0[_0x4bf6f0][_0x46b885(0x163)],..._0x2fd0d0[_0x4bf6f0][_0x46b885(0x1c0)]}},_0x1b81da=this[_0x46b885(0x13b)]['transformMutation'](_0x2ec53b,_0x4e0998,!0x1),_0xacc2ad=this[_0x46b885(0x13b)]['transformMutation'](_0x58f102,_0x49910a,!0x1);if(_0x4251a6[_0x46b885(0xe3)](_0x1b81da))throw _0x1b81da[_0x46b885(0x1db)];if(_0x4251a6[_0x46b885(0xe3)](_0xacc2ad))throw _0xacc2ad[_0x46b885(0x1db)];_0x352d56[_0x46b885(0xc0)]({..._0x2fd0d0[_0x4bf6f0],'undoState':_0x1b81da[_0x46b885(0x231)][_0x46b885(0x2ae)],'redoState':_0xacc2ad[_0x46b885(0x231)][_0x46b885(0x2ae)]}),_0x2ec53b=_0x1b81da['m1Prime'],_0x58f102=_0xacc2ad[_0x46b885(0x2e5)];}_0x2ec53b=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]),_0x58f102=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]);for(let _0x248964=_0x29e1c0[_0x46b885(0x20e)]-0x1;_0x248964>=0x0;_0x248964--){const _0x3c4643={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29e1c0[_0x248964][_0x46b885(0x163)],..._0x29e1c0[_0x248964]['undoState']}},_0x2acd90={'id':_0x46b885(0xc1),'params':{'unitId':_0x29e1c0[_0x248964][_0x46b885(0x163)],..._0x29e1c0[_0x248964][_0x46b885(0x1c0)]}},_0x3fb5a8=this[_0x46b885(0x13b)][_0x46b885(0x296)](_0x2ec53b,_0x3c4643,!0x1),_0x4154d8=this[_0x46b885(0x13b)][_0x46b885(0x296)](_0x58f102,_0x2acd90,!0x1);if(_0x4251a6['isTransformMutationFailure'](_0x3fb5a8))throw _0x3fb5a8[_0x46b885(0x1db)];if(_0x4251a6[_0x46b885(0xe3)](_0x4154d8))throw _0x4154d8[_0x46b885(0x1db)];_0xdc8527['unshift']({..._0x29e1c0[_0x248964],'undoState':_0x3fb5a8[_0x46b885(0x231)][_0x46b885(0x2ae)],'redoState':_0x4154d8['m2Prime']['params']}),_0x2ec53b=_0x3fb5a8[_0x46b885(0x2e5)],_0x58f102=_0x4154d8['m1Prime'];}this[_0x46b885(0x1e1)][_0x46b885(0x12f)](_0x27eec2,{'history':_0x352d56,'collaboration':_0xdc8527});}};_0x544020=_0x420047([_0x34acbb(0x0,_0x52210e['Inject'](_0x52210e['Injector'])),_0x34acbb(0x1,_0x4251a6['ITransformService']),_0x34acbb(0x2,_0x52210e[_0x4cf005(0x2d1)](_0xd08195[_0x4cf005(0x137)]))],_0x544020);var _0x5faf7b=Object['getOwnPropertyDescriptor'],_0x14ff41=(_0x445539,_0x8c8eb7,_0x3e5f26,_0x1b9436)=>{for(var _0x402188=_0x1b9436>0x1?void 0x0:_0x1b9436?_0x5faf7b(_0x8c8eb7,_0x3e5f26):_0x8c8eb7,_0x5d32e4=_0x445539['length']-0x1,_0x488a24;_0x5d32e4>=0x0;_0x5d32e4--)(_0x488a24=_0x445539[_0x5d32e4])&&(_0x402188=_0x488a24(_0x402188)||_0x402188);return _0x402188;},_0x21cff6=(_0x19ac43,_0x2b7925)=>(_0x1d691c,_0x4fcdeb)=>_0x2b7925(_0x1d691c,_0x4fcdeb,_0x19ac43);let _0x3bdbdd=class{constructor(_0x2dcd66,_0xc664d8){const _0x341fd0=_0x4cf005;this[_0x341fd0(0x335)]=_0x2dcd66,this[_0x341fd0(0x13b)]=_0xc664d8;}[_0x4cf005(0x2cd)](_0x5a9ffe){const _0x23f2d4=_0x4cf005;var _0x519d68;const _0x340387=this['_injector']['get'](_0x20d49c[_0x23f2d4(0x1d7)]),_0x124065=(_0x519d68=_0x340387[_0x23f2d4(0x10e)]())!=null?_0x519d68:[];if(_0x124065['length']===0x0)return;const _0x44e67a=_0x5a9ffe[_0x23f2d4(0x1d1)],_0x19a267=[{'id':_0x23f2d4(0xc1),'params':{'unitId':_0x44e67a,'actions':null,'textRanges':_0x124065}}],_0x3fddb4=this[_0x23f2d4(0x13b)][_0x23f2d4(0x286)](_0x5a9ffe,_0x19a267);if(!_0x4251a6[_0x23f2d4(0x1a9)](_0x3fddb4))throw _0x3fddb4[_0x23f2d4(0x1db)];const _0x592d44=_0x3fddb4['m2Prime'][0x0][_0x23f2d4(0x2ae)][_0x23f2d4(0x2a3)];Array[_0x23f2d4(0x2ac)](_0x592d44)&&_0x592d44['length']&&_0x340387[_0x23f2d4(0x2cf)](_0x592d44,{'unitId':_0x44e67a,'subUnitId':_0x44e67a},!0x1);}};_0x3bdbdd=_0x14ff41([_0x21cff6(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x21cff6(0x1,_0x4251a6[_0x4cf005(0xc5)])],_0x3bdbdd);var _0x399993=Object[_0x4cf005(0x19c)],_0x1dc587=(_0x16cf03,_0x53b5fc,_0x1d4321,_0x3fa886)=>{const _0x52222a=_0x4cf005;for(var _0x39e889=_0x3fa886>0x1?void 0x0:_0x3fa886?_0x399993(_0x53b5fc,_0x1d4321):_0x53b5fc,_0x399320=_0x16cf03[_0x52222a(0x20e)]-0x1,_0x5ae0d3;_0x399320>=0x0;_0x399320--)(_0x5ae0d3=_0x16cf03[_0x399320])&&(_0x39e889=_0x5ae0d3(_0x39e889)||_0x39e889);return _0x39e889;},_0x282219=(_0x5c38ff,_0x33f326)=>(_0x39f823,_0x3ccbd3)=>_0x33f326(_0x39f823,_0x3ccbd3,_0x5c38ff);let _0x4c9816=class extends _0x52210e['Disposable']{constructor(_0x3c070f,_0x1f0971,_0x170154,_0x5cdab7,_0x172f5c,_0xb02260,_0x2f778a,_0x2e2475){const _0x318a3d=_0x4cf005;super(),_0xb6ff52(this,'_status$',new _0x27f681[(_0x318a3d(0x132))](_0x47040c[_0x318a3d(0x1b9)][_0x318a3d(0xe1)])),(this['_docStateChangeManagerService']=_0x3c070f,this[_0x318a3d(0x325)]=_0x1f0971,this[_0x318a3d(0x2e7)]=_0x170154,this[_0x318a3d(0x1f3)]=_0x5cdab7,this[_0x318a3d(0x20f)]=_0x172f5c,this['_docSyncEditingCollabCursorService']=_0xb02260,this[_0x318a3d(0xb9)]=_0x2f778a,this[_0x318a3d(0xd6)]=_0x2e2475,this[_0x318a3d(0x2e9)]());}[_0x4cf005(0x2e9)](){const _0x394b8a=_0x4cf005;this[_0x394b8a(0x285)](this[_0x394b8a(0x325)][_0x394b8a(0x14d)][_0x394b8a(0x21a)](_0x211bec=>{const _0x5d1c2b=_0x394b8a,_0x36457e=this[_0x5d1c2b(0x1e1)][_0x5d1c2b(0x21c)][_0x5d1c2b(0x21a)](_0x3ab94d=>{const _0xcf685b=_0x5d1c2b;if(_0x3ab94d==null)return;const {unitId:_0x5ab3c4,redoState:_0x1534f7,commandId:_0x3dc9c2}=_0x3ab94d;if(_0x5ab3c4!==_0x211bec[_0xcf685b(0x1d1)])return;const _0x3ed7a6={'id':_0x3dc9c2,'type':_0x52210e[_0xcf685b(0x2f3)][_0xcf685b(0x246)],'params':{'unitId':_0x5ab3c4,'actions':_0x1534f7['actions'],'textRanges':null}};_0x211bec[_0xcf685b(0x236)](_0x3ed7a6);});if(_0x211bec[_0x5d1c2b(0x285)](_0x36457e),_0x211bec instanceof _0x47040c[_0x5d1c2b(0x263)]){const _0x7da5b={'onTransformIME':_0x2bb260=>this[_0x5d1c2b(0x2e7)][_0x5d1c2b(0x171)](_0x2bb260),'onTransformState':_0x3b58b3=>this[_0x5d1c2b(0x1f3)][_0x5d1c2b(0x10f)](_0x3b58b3),'onTransformSelections':_0x395472=>this[_0x5d1c2b(0x20f)][_0x5d1c2b(0x2cd)](_0x395472),'onSyncEditingCollabCursor':_0x5e27fa=>this[_0x5d1c2b(0x106)][_0x5d1c2b(0x321)](_0x5e27fa),'onTransformRemoteChangesetByIMECache':_0xcc591c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xcc591c),'onTransformRemoteChangesetByStateCache':_0x3201b7=>this[_0x5d1c2b(0x1f3)][_0x5d1c2b(0x214)](_0x3201b7)};_0x211bec['addHandlerCallback'](_0x7da5b);}}));}};_0x4c9816=_0x1dc587([_0x282219(0x0,_0x52210e[_0x4cf005(0x2d1)](_0xd08195[_0x4cf005(0x137)])),_0x282219(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x2b9)])),_0x282219(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x305957)),_0x282219(0x3,_0x52210e['Inject'](_0x544020)),_0x282219(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x3bdbdd)),_0x282219(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x446a6c)),_0x282219(0x6,_0x4f6f29['IMessageService']),_0x282219(0x7,_0x52210e['Inject'](_0x52210e[_0x4cf005(0x250)]))],_0x4c9816);var _0x19d0bc=Object[_0x4cf005(0x19c)],_0x46828c=(_0x50b05c,_0xd3c9ea,_0x4f3a21,_0x2f0f09)=>{const _0x1cd621=_0x4cf005;for(var _0x423d3b=_0x2f0f09>0x1?void 0x0:_0x2f0f09?_0x19d0bc(_0xd3c9ea,_0x4f3a21):_0xd3c9ea,_0xd40d5=_0x50b05c[_0x1cd621(0x20e)]-0x1,_0x464aa6;_0xd40d5>=0x0;_0xd40d5--)(_0x464aa6=_0x50b05c[_0xd40d5])&&(_0x423d3b=_0x464aa6(_0x423d3b)||_0x423d3b);return _0x423d3b;},_0xfb2dc7=(_0x20af6a,_0xcedeec)=>(_0x258f33,_0x1c19d1)=>_0xcedeec(_0x258f33,_0x1c19d1,_0x20af6a);let _0x384eb2=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x22f597,_0x4a7605,_0x3f7484){const _0x2da5e5=_0x4cf005;super(),_0xb6ff52(this,'_cachedData',new Map()),_0xb6ff52(this,_0x2da5e5(0x32f),new Map()),_0xb6ff52(this,'_disabled',!0x1),(this[_0x2da5e5(0x1c6)]=_0x22f597,this['_localStorageService']=_0x4a7605,this[_0x2da5e5(0x319)]=_0x3f7484);}[_0x4cf005(0x197)](){const _0x16e873=_0x4cf005;this[_0x16e873(0x288)]=!0x0;}[_0x4cf005(0xc4)](){this['_disabled']=!0x1;}get[_0x4cf005(0x180)](){const _0x4580b8=_0x4cf005;return this[_0x4580b8(0x32f)];}['dispose'](){const _0x22ec34=_0x4cf005;this['exhaustSavingTask']()[_0x22ec34(0xfc)](()=>super['dispose']());}async[_0x4cf005(0xdf)](_0x40f141){const _0x576960=_0x4cf005;return this[_0x576960(0x288)]?null:this[_0x576960(0x26b)]['getItem'](_0x47040c['getLocalCacheKey'](_0x40f141));}async['saveOfflineData'](_0x4cde41,_0x26f186){const _0x3aceda=_0x4cf005;return!!this[_0x3aceda(0x26b)][_0x3aceda(0xb7)](_0x4cde41,_0x26f186);}[_0x4cf005(0x2f9)](_0x49eff6,_0x164d78,_0x510109,_0x5a8717){const _0xb56865=_0x4cf005,_0x8a2e7e=this[_0xb56865(0x319)]['getCurrentRevOfUnit'](_0x49eff6);this[_0xb56865(0xe7)][_0xb56865(0x202)](_0x49eff6,{'unitID':_0x49eff6,'type':_0x164d78,'awaitingChangeset':_0x510109,'mutations':_0x5a8717,'rev':_0x8a2e7e}),this[_0xb56865(0x32f)][_0xb56865(0x178)](_0x49eff6)||this[_0xb56865(0x24a)](_0x49eff6);}[_0x4cf005(0x24a)](_0x3111c6){const _0x15465c=_0x4cf005,_0x43c81d=this[_0x15465c(0x173)]();_0x43c81d===0x0?this['_saveCache'](_0x3111c6):this['_saveTaskMap']['set'](_0x3111c6,setTimeout(()=>this['_saveCache'](_0x3111c6),_0x43c81d));}[_0x4cf005(0x173)](){const _0xd9f620=_0x4cf005;var _0x490dc2;return(_0x490dc2=this[_0xd9f620(0x1c6)][_0xd9f620(0x1f2)](_0x47040c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x490dc2:_0x47040c[_0xd9f620(0x1a6)];}[_0x4cf005(0x1af)](_0x22667d){const _0xa7f45c=_0x4cf005,_0x1eebf0=this[_0xa7f45c(0x32f)][_0xa7f45c(0x1d2)](_0x22667d);return _0x1eebf0!==void 0x0&&window['clearTimeout'](_0x1eebf0),this['_localStorageService'][_0xa7f45c(0xb7)](_0x47040c[_0xa7f45c(0xf9)](_0x22667d),this[_0xa7f45c(0xe7)]['get'](_0x22667d))[_0xa7f45c(0xfc)](()=>this[_0xa7f45c(0x32f)]['delete'](_0x22667d));}async[_0x4cf005(0x2ee)](){const _0x35978=_0x4cf005,_0xc0f946=[];this[_0x35978(0x32f)][_0x35978(0x2f5)]((_0x5cd9c6,_0x4efae9)=>{const _0x5c4bbc=_0x35978;window['clearTimeout'](_0x5cd9c6),_0xc0f946[_0x5c4bbc(0x11e)](this[_0x5c4bbc(0x1af)](_0x4efae9)[_0x5c4bbc(0xfc)](()=>{const _0x5f08f6=_0x5c4bbc;this[_0x5f08f6(0x32f)][_0x5f08f6(0x101)](_0x4efae9);}));}),await Promise['all'](_0xc0f946);}};_0x384eb2=_0x46828c([_0xfb2dc7(0x0,_0x52210e[_0x4cf005(0xc6)]),_0xfb2dc7(0x1,_0x52210e['ILocalStorageService']),_0xfb2dc7(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x4251a6['RevisionService']))],_0x384eb2);class _0x30528a extends _0x52210e[_0x4cf005(0x238)]{constructor(){const _0x33dfa5=_0x4cf005;super(),_0xb6ff52(this,'urlChange$'),this[_0x33dfa5(0x22e)]=_0x27f681['fromEvent'](window,_0x33dfa5(0xbb))[_0x33dfa5(0x23f)](_0x27f681['takeUntil'](this[_0x33dfa5(0x183)]),_0x27f681[_0x33dfa5(0x298)](0x1),_0x27f681[_0x33dfa5(0x20b)](void 0x0));}[_0x4cf005(0x17a)](_0x178ecc,_0x5df29a,_0x25c9db=!0x1){const _0x3b1342=_0x4cf005,_0x3b8738=new URL(window['location'][_0x3b1342(0x2c3)]);_0x3b8738[_0x3b1342(0x129)]['set'](_0x178ecc,_0x5df29a),_0x25c9db?window[_0x3b1342(0xef)][_0x3b1342(0x113)]('','',_0x3b8738['toString']()):window[_0x3b1342(0xef)][_0x3b1342(0x1c9)]('','',_0x3b8738[_0x3b1342(0x334)]());}[_0x4cf005(0x13e)](_0x510bbf,_0x5c80d2=!0x1){const _0x184242=_0x4cf005,_0x462260=new URL(window[_0x184242(0x2ab)][_0x184242(0x2c3)]);_0x462260[_0x184242(0x129)][_0x184242(0x101)](_0x510bbf),_0x5c80d2?window[_0x184242(0xef)][_0x184242(0x113)]('','',_0x462260[_0x184242(0x334)]()):window[_0x184242(0xef)][_0x184242(0x1c9)]('','',_0x462260['toString']());}[_0x4cf005(0x290)](_0x4bee4f){const _0x71c23f=_0x4cf005;var _0x51e9f8;return(_0x51e9f8=new URL(window['location']['href'])['searchParams'][_0x71c23f(0x1d2)](_0x4bee4f))!=null?_0x51e9f8:void 0x0;}}var _0x371b5d=Object['defineProperty'],_0x30283b=Object[_0x4cf005(0x19c)],_0x21e8ac=(_0x56be22,_0x4fdc40,_0xdba573)=>_0x4fdc40 in _0x56be22?_0x371b5d(_0x56be22,_0x4fdc40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdba573}):_0x56be22[_0x4fdc40]=_0xdba573,_0x44192d=(_0x7c70e2,_0x3525f5,_0x358cd1,_0x25774b)=>{const _0x278fc3=_0x4cf005;for(var _0x13414c=_0x25774b>0x1?void 0x0:_0x25774b?_0x30283b(_0x3525f5,_0x358cd1):_0x3525f5,_0x3fde1a=_0x7c70e2[_0x278fc3(0x20e)]-0x1,_0x2cfbad;_0x3fde1a>=0x0;_0x3fde1a--)(_0x2cfbad=_0x7c70e2[_0x3fde1a])&&(_0x13414c=_0x2cfbad(_0x13414c)||_0x13414c);return _0x13414c;},_0xf14134=(_0x2ddcb3,_0x12ef15)=>(_0x376de8,_0x292e29)=>_0x12ef15(_0x376de8,_0x292e29,_0x2ddcb3),_0x36e9e5=(_0x353e93,_0x39efa8,_0x52c811)=>_0x21e8ac(_0x353e93,_0x39efa8+'',_0x52c811);const _0xa7e745=_0x4cf005(0x154);_0x353bdb['UniverCollaborationClientUIPlugin']=class extends _0x52210e[_0x4cf005(0x145)]{constructor(_0x396ecb=_0x2468a5,_0x417305,_0x17fc25,_0x4ac42e){const _0x526fd2=_0x4cf005;super(),this[_0x526fd2(0x1a3)]=_0x396ecb,this[_0x526fd2(0x115)]=_0x417305,this[_0x526fd2(0x335)]=_0x17fc25,this[_0x526fd2(0x1c6)]=_0x4ac42e;const {..._0x5ed107}=_0x52210e[_0x526fd2(0xa9)]({},_0x2468a5,this[_0x526fd2(0x1a3)]);this[_0x526fd2(0x1c6)][_0x526fd2(0x11a)](_0xbaf90d,_0x5ed107);}[_0x4cf005(0x27a)](){const _0x577e57=_0x4cf005;this[_0x577e57(0x126)](),this[_0x577e57(0x2bf)]();}[_0x4cf005(0x1b0)](){const _0x8f66db=_0x4cf005;this[_0x8f66db(0x193)]();}[_0x4cf005(0x126)](){const _0x2009ac=_0x4cf005;var _0x49fc98;const _0x4625d3=[[_0x499053],[_0x3bdbdd],[_0x305957],[_0x544020],[_0x446a6c],[_0x3ada57,{'useClass':_0x30528a}],[_0x2c7691[_0x2009ac(0x242)],{'useClass':_0x2c7691[_0x2009ac(0x112)]}],[_0x47040c[_0x2009ac(0x2ef)],{'useClass':_0x384eb2}],[_0x353bdb[_0x2009ac(0x2b5)]],[_0x4c9816],[_0x6a5d98],[_0x1ee3b8],[_0x180543],[_0x353bdb[_0x2009ac(0x208)]]];_0x52210e['registerDependencies'](this[_0x2009ac(0x335)],_0x52210e['mergeOverrideWithDependencies'](_0x4625d3,(_0x49fc98=this['_config'])==null?void 0x0:_0x49fc98['override']));}[_0x4cf005(0x193)](){const _0x296e63=_0x4cf005;this[_0x296e63(0x285)](this[_0x296e63(0x115)][_0x296e63(0x332)](_0x52210e[_0x296e63(0x268)][_0x296e63(0x169)],[_0x14e670])),this['disposeWithMe'](this[_0x296e63(0x115)][_0x296e63(0x332)](_0x52210e[_0x296e63(0x268)][_0x296e63(0x2d2)],[_0x396fbf]));}[_0x4cf005(0x2bf)](){const _0x1012df=_0x4cf005;_0x52210e[_0x1012df(0x175)](this[_0x1012df(0x335)],[[_0x1ee3b8],[_0x353bdb[_0x1012df(0x2b5)]],[_0x4c9816],[_0x6a5d98],[_0x353bdb[_0x1012df(0x208)]]]);}},_0x36e9e5(_0x353bdb[_0x4cf005(0x2ed)],_0x4cf005(0x2d0),_0xa7e745),_0x353bdb[_0x4cf005(0x2ed)]=_0x44192d([_0x52210e[_0x4cf005(0x32b)](_0x47040c['UniverCollaborationClientPlugin']),_0xf14134(0x1,_0x45eaa5['IRenderManagerService']),_0xf14134(0x2,_0x52210e['Inject'](_0x52210e['Injector'])),_0xf14134(0x3,_0x52210e[_0x4cf005(0xc6)])],_0x353bdb[_0x4cf005(0x2ed)]);var _0x39586b=Object[_0x4cf005(0x19c)],_0x2b0f8c=(_0x528b73,_0x633180,_0x2b9c6b,_0x30f058)=>{const _0xa299c8=_0x4cf005;for(var _0x429229=_0x30f058>0x1?void 0x0:_0x30f058?_0x39586b(_0x633180,_0x2b9c6b):_0x633180,_0x4e6796=_0x528b73[_0xa299c8(0x20e)]-0x1,_0x1a90c8;_0x4e6796>=0x0;_0x4e6796--)(_0x1a90c8=_0x528b73[_0x4e6796])&&(_0x429229=_0x1a90c8(_0x429229)||_0x429229);return _0x429229;},_0x280604=(_0x4bdc6a,_0x3928a1)=>(_0x3ffd98,_0x546556)=>_0x3928a1(_0x3ffd98,_0x546556,_0x4bdc6a);_0x353bdb[_0x4cf005(0x2e0)]=class extends _0x47040c['CollaborationSocketService']{constructor(_0x329977,_0xe2c3da,_0x4a6874,_0x7f65c2,_0x36a1f4){super(_0x329977,_0xe2c3da,_0x4a6874,_0x7f65c2,_0x36a1f4);}async[_0x4cf005(0x1ac)](_0x364feb){const _0x36c828=_0x4cf005,_0x27671f=await this[_0x36c828(0x274)](),_0x3c8435=this[_0x36c828(0x2fa)](_0x364feb,_0x27671f);return this['_doCreateSocket'](_0x3c8435);}[_0x4cf005(0x2fa)](_0x46c044,_0x198606){const _0x33a080=_0x4cf005,_0x5effb3=typeof window>'u'?new URL(_0x46c044):new URL(_0x46c044,window[_0x33a080(0x2ab)][_0x33a080(0x32d)]);_0x5effb3[_0x33a080(0x129)][_0x33a080(0x202)]('sessionTicket',_0x198606);const _0x3c4162=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33a080(0x2ab)][_0x33a080(0x20a)]);return _0x3c4162[_0x33a080(0x1d2)]('runId')&&_0x5effb3['searchParams'][_0x33a080(0x202)](_0x33a080(0x16c),_0x3c4162['get'](_0x33a080(0x16c))),_0x5effb3[_0x33a080(0x334)]();}async[_0x4cf005(0x274)](){const _0xb41c19=_0x4cf005;var _0x3d572c,_0x2ee14c,_0x40037e;const _0x776da8=this[_0xb41c19(0x1c6)][_0xb41c19(0x1f2)](_0x47040c[_0xb41c19(0x1bd)]),_0x554ffc=(_0x3d572c=_0x776da8==null?void 0x0:_0x776da8['wsSessionTicketUrl'])!=null?_0x3d572c:_0x47040c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x40037e=(_0x2ee14c=(await this[_0xb41c19(0x135)][_0xb41c19(0x1d2)](_0x554ffc,{'headers':{'Content-Type':_0xb41c19(0xae)}}))[_0xb41c19(0xd1)])==null?void 0x0:_0x2ee14c['ticket'])!=null?_0x40037e:'';}},_0x353bdb[_0x4cf005(0x2e0)]=_0x2b0f8c([_0x280604(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x280604(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x2c7691['HTTPService'])),_0x280604(0x2,_0x52210e[_0x4cf005(0xc6)]),_0x280604(0x3,_0x52210e['ILogService']),_0x280604(0x4,_0x4251a6[_0x4cf005(0x1e6)])],_0x353bdb[_0x4cf005(0x2e0)]);const _0x5895a6=0x7530,_0x558197=_0x4cf005(0x31a);class _0x335b10 extends _0x52210e['Disposable']{constructor(){const _0x40be65=_0x4cf005;super(),_0xb6ff52(this,_0x40be65(0xb8),_0x52210e['generateRandomId']()),_0xb6ff52(this,_0x40be65(0x322),new Set()),_0xb6ff52(this,_0x40be65(0x245),new Map()),_0xb6ff52(this,'_heartbeatTimer',null),_0xb6ff52(this,_0x40be65(0x27d),new Map()),_0xb6ff52(this,'_unitStatus',new Map()),this[_0x40be65(0x138)]();}['dispose'](){const _0x40058b=_0x4cf005;super[_0x40058b(0xf7)](),this[_0x40058b(0x27d)][_0x40058b(0x2f5)]((_0x37527f,_0x4e8dca)=>this[_0x40058b(0x1ea)](_0x4e8dca)),this[_0x40058b(0x182)]&&window[_0x40058b(0x271)](this[_0x40058b(0x182)]);}[_0x4cf005(0x148)](_0x4f9ac3){const _0x376fdf=_0x4cf005;return this[_0x376fdf(0x281)](_0x4f9ac3)[_0x376fdf(0x23f)](_0x27f681[_0x376fdf(0x10d)]());}[_0x4cf005(0x1ca)](_0x46cd85){const _0x1af501=_0x4cf005;this[_0x1af501(0x322)][_0x1af501(0x157)]===0x0&&this[_0x1af501(0x311)](),this['_selfUnitIDs'][_0x1af501(0x12c)](_0x46cd85),this[_0x1af501(0x213)]({'type':0x0,'memberID':this[_0x1af501(0xb8)],'unitIDs':[_0x46cd85],'isForwarded':!0x1});}['disposeUnit'](_0x456c91){const _0x124c4e=_0x4cf005;this[_0x124c4e(0x322)]['delete'](_0x456c91),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x124c4e(0x271)](this[_0x124c4e(0x182)]);}[_0x4cf005(0x138)](){const _0x426312=_0x4cf005;this[_0x426312(0x285)](_0x52210e[_0x426312(0x2df)](_0x27f681[_0x426312(0x12a)](window,_0x426312(0x2fb))[_0x426312(0x21a)](_0x300467=>{const _0x43868a=_0x426312;if(_0x300467[_0x43868a(0x1d5)]!==_0x558197||!_0x300467[_0x43868a(0x17d)])return;const _0x26d700=JSON[_0x43868a(0x23a)](_0x300467[_0x43868a(0x17d)]);this['_handleEvent'](_0x26d700);}))),window[_0x426312(0xa3)]('unload',()=>this[_0x426312(0x213)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x426312(0x195)](this['_selfUnitIDs'])}));}[_0x4cf005(0xc8)](_0x1ef04b){const _0x55afc5=_0x4cf005;switch(_0x1ef04b['type']){case 0x0:this[_0x55afc5(0x26f)](_0x1ef04b);break;case 0x1:this[_0x55afc5(0x16b)](_0x1ef04b);break;case 0x2:this[_0x55afc5(0x19f)](_0x1ef04b);break;}}['_handleJoinEvent'](_0x48a87e){const _0x344720=_0x4cf005,{unitIDs:_0x4a4d69,memberID:_0x3015f9,isForwarded:_0x38b863}=_0x48a87e;_0x4a4d69['forEach'](_0x33d98d=>{const _0x115456=_0x568e;if(!_0x38b863&&this[_0x115456(0x245)][_0x115456(0x178)](_0x33d98d)&&this['_ensureSubject'](_0x33d98d)[_0x115456(0x161)](_0x47040c[_0x115456(0xe6)][_0x115456(0x1df)]),!this[_0x115456(0x245)][_0x115456(0x178)](_0x33d98d)||!this[_0x115456(0x245)][_0x115456(0x1d2)](_0x33d98d)[_0x115456(0x178)](_0x3015f9)){const _0x23c08d=this['_unitOnClients']['get'](_0x33d98d)||new Set();_0x23c08d[_0x115456(0x12c)](_0x3015f9),this[_0x115456(0x245)][_0x115456(0x202)](_0x33d98d,_0x23c08d),this['_scheduleClearOtherTimer'](_0x3015f9);}}),_0x38b863||this[_0x344720(0x213)]({'type':0x0,'memberID':this[_0x344720(0xb8)],'unitIDs':[...this[_0x344720(0x322)]],'isForwarded':!0x0});}[_0x4cf005(0x2a6)](_0x1dad0e){const _0x5475f7=_0x4cf005;this[_0x5475f7(0x1ea)](_0x1dad0e);const _0x1bdfc7=window['setTimeout'](()=>{const _0x26bd40=_0x5475f7;this['_unitOnClients'][_0x26bd40(0x2f5)](_0x4880ac=>{const _0x2aaed0=_0x26bd40;_0x4880ac[_0x2aaed0(0x101)](_0x1dad0e);});},_0x5895a6*0x2);this[_0x5475f7(0x27d)][_0x5475f7(0x202)](_0x1dad0e,_0x1bdfc7);}['_removeClearOtherTimer'](_0x496e8f){const _0x2ed7f7=_0x4cf005;if(this['_clearOtherTimers'][_0x2ed7f7(0x178)](_0x496e8f)){const _0xe22d80=this[_0x2ed7f7(0x27d)][_0x2ed7f7(0x1d2)](_0x496e8f);_0xe22d80&&window['clearTimeout'](_0xe22d80),this['_clearOtherTimers'][_0x2ed7f7(0x202)](_0x496e8f,null);}}[_0x4cf005(0x16b)](_0xa0cb0b){const _0x4f15ed=_0x4cf005,{memberID:_0x21f262,unitIDs:_0x369919}=_0xa0cb0b;_0x369919[_0x4f15ed(0x2f5)](_0x29f328=>{const _0x31eb39=_0x4f15ed;var _0x5a66e4;const _0x219db6=this[_0x31eb39(0x245)][_0x31eb39(0x1d2)](_0x29f328);_0x219db6&&(_0x219db6[_0x31eb39(0x101)](_0x21f262),(_0x5a66e4=this[_0x31eb39(0x281)](_0x29f328))==null||_0x5a66e4['next'](_0x219db6['size']===0x0?_0x47040c[_0x31eb39(0xe6)][_0x31eb39(0x2fe)]:_0x47040c['UnitStatus'][_0x31eb39(0x1df)]));}),this[_0x4f15ed(0x1ea)](_0x21f262);}['_handleHeartbeatEvent'](_0x542271){const _0x524898=_0x4cf005;this['_scheduleClearOtherTimer'](_0x542271[_0x524898(0x2e3)]);}[_0x4cf005(0x213)](_0xe1f000){const _0x564c28=_0x4cf005;localStorage[_0x564c28(0xb7)](_0x558197,JSON[_0x564c28(0x32e)](_0xe1f000));}['_scheduleHeartbeat'](){const _0x59125f=_0x4cf005;this['_heartbeatTimer']=window[_0x59125f(0x24c)](()=>{const _0x332dcc=_0x59125f;this[_0x332dcc(0x213)]({'type':0x2,'memberID':this[_0x332dcc(0xb8)]});},_0x5895a6);}['_ensureSubject'](_0x3d6118){const _0x50c88c=_0x4cf005;return this[_0x50c88c(0x241)][_0x50c88c(0x178)](_0x3d6118)||this[_0x50c88c(0x241)][_0x50c88c(0x202)](_0x3d6118,new _0x27f681[(_0x50c88c(0x132))](_0x47040c[_0x50c88c(0xe6)][_0x50c88c(0x2fe)])),this[_0x50c88c(0x241)][_0x50c88c(0x1d2)](_0x3d6118);}}var _0x2549b0=(_0x4b8b92=>(_0x4b8b92[_0x4b8b92[_0x4cf005(0x11b)]=0x0]=_0x4cf005(0x11b),_0x4b8b92[_0x4b8b92['OK']=0x1]='OK',_0x4b8b92[_0x4b8b92[_0x4cf005(0x1b5)]=0x2]=_0x4cf005(0x1b5),_0x4b8b92[_0x4b8b92['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4b8b92[_0x4b8b92['NOT_FOUND']=0x4]='NOT_FOUND',_0x4b8b92[_0x4b8b92['UNAUTHENTICATED']=0x5]=_0x4cf005(0x134),_0x4b8b92[_0x4b8b92['ALREADY_EXISTS']=0x6]=_0x4cf005(0x2e4),_0x4b8b92[_0x4b8b92[_0x4cf005(0xba)]=0x7]=_0x4cf005(0xba),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1da)]=0x8]=_0x4cf005(0x1da),_0x4b8b92[_0x4b8b92['COMPLETION_FINISHED']=0x9]=_0x4cf005(0xd5),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1bf)]=0xa]=_0x4cf005(0x1bf),_0x4b8b92[_0x4b8b92[_0x4cf005(0x278)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4b8b92[_0x4b8b92[_0x4cf005(0x19e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4b8b92[_0x4b8b92['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4cf005(0x303),_0x4b8b92[_0x4b8b92['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4b8b92[_0x4b8b92[_0x4cf005(0x215)]=0x1b59]=_0x4cf005(0x215),_0x4b8b92[_0x4b8b92[_0x4cf005(0x293)]=0x1b5a]=_0x4cf005(0x293),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2ff)]=0x1b5b]=_0x4cf005(0x2ff),_0x4b8b92[_0x4b8b92[_0x4cf005(0x21b)]=0x1b5c]=_0x4cf005(0x21b),_0x4b8b92[_0x4b8b92[_0x4cf005(0xcf)]=0x1b5d]=_0x4cf005(0xcf),_0x4b8b92[_0x4b8b92['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4cf005(0x1f7),_0x4b8b92[_0x4b8b92[_0x4cf005(0x15b)]=0x2329]=_0x4cf005(0x15b),_0x4b8b92[_0x4b8b92['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4cf005(0x226),_0x4b8b92[_0x4b8b92[_0x4cf005(0x233)]=0x232b]=_0x4cf005(0x233),_0x4b8b92[_0x4b8b92['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4cf005(0x2b3),_0x4b8b92[_0x4b8b92[_0x4cf005(0xe2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b8b92[_0x4b8b92['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4cf005(0x119),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1f4)]=0x2712]=_0x4cf005(0x1f4),_0x4b8b92[_0x4b8b92[_0x4cf005(0xfd)]=0x2713]=_0x4cf005(0xfd),_0x4b8b92[_0x4b8b92[_0x4cf005(0x22d)]=0x2714]=_0x4cf005(0x22d),_0x4b8b92[_0x4b8b92[_0x4cf005(0xda)]=0x271a]=_0x4cf005(0xda),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1de)]=0x271b]=_0x4cf005(0x1de),_0x4b8b92[_0x4b8b92[_0x4cf005(0x12b)]=0x2af9]=_0x4cf005(0x12b),_0x4b8b92[_0x4b8b92['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4cf005(0x1ec),_0x4b8b92[_0x4b8b92[_0x4cf005(0x30d)]=0x2ee2]=_0x4cf005(0x30d),_0x4b8b92[_0x4b8b92['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4cf005(0x299),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1e7)]=0x2ee4]=_0x4cf005(0x1e7),_0x4b8b92[_0x4b8b92[_0x4cf005(0x275)]=0x2ee5]=_0x4cf005(0x275),_0x4b8b92[_0x4b8b92[_0x4cf005(0x27e)]=0x32c9]=_0x4cf005(0x27e),_0x4b8b92[_0x4b8b92[_0x4cf005(0x102)]=0x32ca]=_0x4cf005(0x102),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2d6)]=0x32cb]=_0x4cf005(0x2d6),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2a9)]=-0x1]=_0x4cf005(0x2a9),_0x4b8b92))(_0x2549b0||{}),_0x3cf54e=Object['getOwnPropertyDescriptor'],_0x1fe504=(_0xc1fb77,_0x24eda5,_0x15c926,_0x756d57)=>{const _0xf85b0f=_0x4cf005;for(var _0x3c1cab=_0x756d57>0x1?void 0x0:_0x756d57?_0x3cf54e(_0x24eda5,_0x15c926):_0x24eda5,_0x3c7e8c=_0xc1fb77[_0xf85b0f(0x20e)]-0x1,_0x3163cf;_0x3c7e8c>=0x0;_0x3c7e8c--)(_0x3163cf=_0xc1fb77[_0x3c7e8c])&&(_0x3c1cab=_0x3163cf(_0x3c1cab)||_0x3c1cab);return _0x3c1cab;},_0x332ea9=(_0x36f619,_0x4f16e2)=>(_0x71e309,_0xd8de7e)=>_0x4f16e2(_0x71e309,_0xd8de7e,_0x36f619);_0x353bdb['RemoteUniscriptService']=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x4f2d1d,_0x1fedf5,_0x88468f){const _0x12f7e5=_0x4cf005;super(),this[_0x12f7e5(0x116)]=_0x4f2d1d,this[_0x12f7e5(0x135)]=_0x1fedf5,this[_0x12f7e5(0x1c6)]=_0x88468f;}async[_0x4cf005(0x2a4)](_0xb93557,_0x52f125,_0x42a946,..._0x1805bd){const _0x2e6a65=_0x4cf005;var _0xe306fd,_0x1ee1e2,_0x3affab,_0x57db55;const _0x1304c2=this[_0x2e6a65(0x116)][_0x2e6a65(0x2bc)]();if(!_0x1304c2)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x15112b=((_0xe306fd=this[_0x2e6a65(0x1c6)]['getConfig'](_0x47040c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xe306fd:_0x47040c[_0x2e6a65(0x146)])+'/'+_0xb93557+_0x2e6a65(0xff)+_0x52f125,_0x51d426=new URL(window[_0x2e6a65(0x2ab)][_0x2e6a65(0x2c3)]),_0xc1369b={'scriptId':_0xb93557,'runId':(_0x1ee1e2=_0x51d426['searchParams'][_0x2e6a65(0x1d2)](_0x2e6a65(0x16c)))!=null?_0x1ee1e2:'','function':_0x52f125,'unitId':_0x1304c2['getUnitId'](),'argsOfFunction':JSON[_0x2e6a65(0x32e)](_0x1805bd),'invokeId':(_0x3affab=_0x42a946[_0x2e6a65(0x23e)])!=null?_0x3affab:'','executionId':(_0x57db55=_0x42a946[_0x2e6a65(0x201)])!=null?_0x57db55:''};try{const _0x232971=await this[_0x2e6a65(0x135)][_0x2e6a65(0x2d5)](_0x15112b,{'body':_0xc1369b});return _0x232971['body'][_0x2e6a65(0x1db)]&&_0x232971[_0x2e6a65(0xd1)][_0x2e6a65(0x1db)][_0x2e6a65(0x1f8)]!==_0x2549b0['OK']?'Failed':_0x232971[_0x2e6a65(0xd1)][_0x2e6a65(0xd3)];}catch{return'Failed';}}},_0x353bdb[_0x4cf005(0x1ce)]=_0x1fe504([_0x332ea9(0x0,_0x52210e[_0x4cf005(0xf3)]),_0x332ea9(0x1,_0x52210e['Inject'](_0x2c7691[_0x4cf005(0xe4)])),_0x332ea9(0x2,_0x52210e[_0x4cf005(0xc6)])],_0x353bdb[_0x4cf005(0x1ce)]),_0x353bdb[_0x4cf005(0x29f)]=_0xddad9e,_0x353bdb[_0x4cf005(0x280)]=_0x3ada57,_0x353bdb[_0x4cf005(0x310)]=_0x220a7d,_0x353bdb[_0x4cf005(0x12e)]=_0x335b10,_0x353bdb[_0x4cf005(0x19a)]=_0x30528a,Object[_0x4cf005(0x11f)](_0x353bdb,Symbol[_0x4cf005(0x114)],{'value':_0x4cf005(0x191)});}));function _0x568e(_0x33bbe4,_0xf13551){const _0x3ec5bc=_0x3ec5();return _0x568e=function(_0x568e1f,_0x1aa9f8){_0x568e1f=_0x568e1f-0x9f;let _0x4bc111=_0x3ec5bc[_0x568e1f];return _0x4bc111;},_0x568e(_0x33bbe4,_0xf13551);}function _0x3ec5(){const _0x541a5e=['_session','row','CHANGESET_REVISION_CONFILICT','SetDocZoomRatioOperation','onStarting','runRefRangeMutations','substring','_clearOtherTimers','WECHAT_HAS_BEEN_BOUND','resize','IURLService','_ensureSubject','@univerjs/sheets','none','_color','disposeWithMe','transformMutationsWithChangeset','endColumn','_disabled','DeleteRangeMoveUpCommandId','session.will-retry','_collaborationUIEventService','object','function','getVpScrollXYInfoByPosToVp','UniverProCollaboration','getParam','_range','DataLoaderService','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','useDependency','transformMutation','currentColor','shareReplay','INVITE_CODE_REQUIRED','MemberService','_updateLocalCursor','jiqing500','switchMap','_document','CollaborationStatusDisplay','triggerDblclick','getSheetBySheetId','1EiCgiF','textRanges','runOnServer','collaboration.closeRoom','_scheduleClearOtherTimer','onTransformChange$','hovered','UNRECOGNIZED','rxjs','location','isArray','UniverNetwork','params','propertyIsEnumerable','@univerjs-pro/collaboration','symbol','SOCKET_FAILED_RETRY','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','DesktopCollaborationStatusDisplayController','7075832bINEaM','_anchor','deserializeRangeWithSheet','CollaborationController','permission.content','getViewport','getFocusedUnit','xlink:href','DeleteRangeMoveLeftCommandId','_initDependencies','range','skeleton','COLORS','href','PENDING','RemoveRowCommandId','_docSkeletonManagerService','generateRandomId','getCoordByCell','prototype','apply','CollaborationEvent','_sheetSkeletonManagerService','transformSelections','_drawRectRange','replaceDocRanges','pluginName','Inject','UNIVER_SHEET','findNodePositionByCharIndex','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','post','EMAIL_HAS_BEEN_BOUND','column','rgba(255,\x20255,\x20255,\x200.01)','Injector','connectInjector','closePath','CONFLICT','exports','height','toDisposable','BrowserCollaborationSocketService','@univerjs/core','top','memberID','ALREADY_EXISTS','m1Prime','fill','_docTransformIMECacheService','_localCacheService','_initEntityListener','createInstance','addObjects','extend','UniverCollaborationClientUIPlugin','exhaustSavingTask','ILocalCacheService','text','NodePositionConvertToCursor','DisposableCollection','CommandType','_dataLoaderService','forEach','getCellPositionByOffset','_hovered','hasOwnProperty','updateOfflineData','_createSocketURL','storage','TEXT','_collabCursorState$','NO_OTHER_CLIENTS_EDITING','APPLY_REVISION_CONFILICT','_imageIoService','getRangePointData','getUnitId','SNAPSHOT_HAS_BEEN_REMOVED','requireSession','evenodd','name','_initResize','subscribeEvent','idSuffix','collabStatus.conflict','collab-client.tooltip.reconnect','beginPath','INVALID_INVITE_CODE','_beforeCloseService','activeSheet$','SheetCollabCursorShape','_scheduleHeartbeat','_removeCollabCursors','icon','_initEvent','ONLINE','_cursor','serializeRangeWithSheet','onPointerLeave$','_revisionService','ACTIVE_UNIT_EVENT_CHANNEL','_refRangeService','_anchorDot','UniverEngineFormula','MessageType','addObject','handleMoveRange','syncEditingCollabCursor','_selfUnitIDs','drawWith','1em','_collaborationController','sheetId','jsx','_themeService','getCurrentSelections','UniverRpc','DependentOn','replace','origin','stringify','_saveTaskMap','_onRefRangeChange','call','registerRenderModule','whenReady','toString','_injector','url(#off-line-single_clip0_910_343)','_urlService','UniverDocs','executeCommand','div','addEventListener','_updateSubUnitFromURLParams','makeDirty','children','getColor','getUniverSheetInstance','merge','width','UniverDocsUi','throttleTime','split','application/json','mutations','SheetsSelectionsService','_setupBeforeClosingHandler','values','transform','className','fromEventSubject','color','setItem','_id','_messageService','INVALID_ARGUMENT','popstate','colorChannel1','getOwnPropertySymbols','registerRefRange','Unknown\x20user','unshift','doc.mutation.rich-text-editing','_docClipboardService','_online','enableLocalCache','ITransformService','IConfigService','OFFLINE','_handleEvent','CollaborationUIEventId','assign','_syncEditingCollabCursorService','SYNCED','_draw','2954318rIWKdY','APPLY_DUPLICATED','collabStatus.offline','body','takeUntil','result','svg','COMPLETION_FINISHED','_localeService','2688465yxWzWB','status$','rxjs/operators','YUUMI_NO_CUBOID_FOR_QUESTION','_shapes','Tools','6DZuerF','selection','loadOfflineData','hide','NOT_COLLAB','LICENSE_DISTRO_REJECTED','isTransformMutationFailure','HTTPService','forwardRef','UnitStatus','_cachedData','_getAnchorBounding','transformByState','@univerjs/docs','@univerjs-pro/collaboration-client','_notificationService','gold400','NodePositionConvertToRectRange','history','SetWorksheetActivateCommand','react/jsx-runtime','getMember','IUniverInstanceService','_getSheetObject','debug','entries','dispose','url(#$1','getLocalCacheKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','red300','then','YUUMI_RATE_OVER_LIMIT','some','/run/','TEXT_RANGE_LAYER_INDEX','delete','MOBILE_HAS_BEEN_BOUND','IMessageService','PERMISSION_DENIED','Subject','_docSyncEditingCollabCursorService','_docSkeleton','currentTheme$','getMemberID','univerjs-icon\x20univerjs-icon-','string','DocIMEInputManagerService','distinctUntilChanged','getDocRanges','transformStateCache','eventID','collaboration-client-ui.config','WebSocketService','replaceState','toStringTag','_renderManagerService','_instanceService','setActiveRange','_name','YUUMI_UNABLE_LOAD_URL','setConfig','UNDEFINED','uni.network.url-service','_transformPreviousActiveRange','push','defineProperty','max','...','0\x200\x2017\x2016','ThemeService','_getScale','blue400','_registerDependencies','lineTo','Vector2','searchParams','fromEvent','PY_RUNTIME_SCRIPT_ERROR','add','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','WebBrowserSingleActiveUnitService','setStateCache','CLOSE_ROOM','use','BehaviorSubject','useRef','UNAUTHENTICATED','_httpService','getValue','DocStateChangeManagerService','_init','UniverCore','url(#on-line-single_clip0_910_349)','_transformService','_hideTimer','getSheetId','removeParam','_status$','@univerjs/sheets-ui','event$','operators','onCommandExecuted','RECT','Plugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_assignedColors','getUnitStatus$','handleInsertCol','includes','engine','clipPath','entityInit$','collabStatus.fetchMiss','concat','find','_updateCollabCursors','@univerjs/docs-ui','1406552FYaoaS','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unit','UniverDrawing','size','3ySbgLw','loadUnit','M0\x200H16V16H0z','LICENSE_MAX_UNITS_EXCEEDED','currentSkeleton$','InsertRangeMoveDownCommandId','@univerjs/design','_entityInit$','RichTextEditingMutation','next','BuiltInUIPart','unitId','fillRule','OffLineSingle','unsubscribe','cursorInfo$','registerComponent','UNIVER_DOC','_startSheetCollabCursor','_handleLeaveEvent','runId','handleDeleteRangeMoveUp','RegularPolygon','RefRangeService','Rectangle','transformIMECache','deepClone','_getSaveTimeout','getCurrentUnitForType','touchDependencies','init','AWAITING','has','startsWith','setParam','filter','_transformUndoRedoStack','newValue','getCollabCursors$','with','saveTaskMap','SetTextSelectionsOperation','_heartbeatTimer','dispose$','3667617SIGxpw','sheetID','defIds','collab-rect-range-','off-line-single_clip0_910_343','_initStatusListener','ICommandService','EffectRefRangId','undoState','_toggleOffline','FETCH_MISS','getRenderById','Rect','Module','assignAColorForMemberID','_registerRenderDependencies','_cursorInfo$','from','imageSourceType','disableLocalCache','path','createElement','WebURLService','mask','getOwnPropertyDescriptor','subunit','SNAPSHOT_INVALID_SNAPSHOT','_handleHeartbeatEvent','_univerInstanceService','complete','InsertRowCommandId','_config','_context','debounce','LOCAL_CACHE_INTERVAL','_commandService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','isTransformMutationsWithChangesetSuccess','[CollaborationDataLoaderController]','UniverProCollaborationClient','createSocket','setAlpha','Optional','_saveCache','onRendered','onPointerEnter$','Shape','univer-flex\x20univer-items-center','on-line-single_clip0_910_349','INTERNAL_ERROR','asObservable','@univerjs/network','isEditing','CollaborationStatus','attrs','_colorIndex','startRow','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collabStatus.syncing','LOGIN_FAILED','redoState','USERS_LEAVE','collabStatus.notCollab','OTHER_CLIENT_EDITING','SessionStatus','react','_configService','_refreshCollabCursors','UniverDesign','pushState','editingUnit','trim','displayName','_startDocCollabCursor','RemoteUniscriptService','getMergeData','_backgroundColor','unitID','get','getOffsetConfig','getSkeleton','key','@univerjs/rpc','DocSelectionManagerService','session.collaboration-timeout','getTypeOfUnitDisposed$','TOO_MANY_REQUESTS','error','getStateCache','RemoveColCommandId','YUUMI_ASYNCIO_CANCELLED','OTHER_CLIENTS_EDITING','setUndoRedoMutationParamsCache','_docStateChangeManagerService','_uiPartsService','flatMap','combineLatest','_eventUnsubscribe','ISnapshotServerService','USER_NOT_INVITED_CODE','isActive','show','_removeClearOtherTimer','_textBubble','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','_drawAnchor','backgroundColor','on-line-single','UniverSheetsUi','getConfig','_docTransformStateCacheService','YUUMI_URL_COL_OUT_OF_RANGE','UPDATE_CURSOR','createIdentifier','CONNECTOR_DATA_TOO_LARGE','code','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INotificationService','indexOf','_scene','_labelPosition','data','VIEW_MAIN','debounceTime','executionId','set','_entities','sessionStatus$','jsxs','_onCursorUpdate','_drawTextRange','CollaborationDataLoaderController','useObservable','search','mapTo','source','_roomMembers$','length','_docTransformSelectionsService','FromArray','collabCursorState$','_cursors','_send','transformRemoteChangeset','APPLY_REJECT','_hover','_initCommandExecutedListener','_colorAssignService','clsx','subscribe','APPLY_PERMISSION_DENIED','docStateChange$','@univerjs/drawing','fillStyle','React','save','CollaborationUIEventService','moveTo','_render','_memberService','_setupSubUnitSync','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','4198836eLrvyn','onPointerMove$','fillText','#fff','labelPosition','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','urlChange$','@univerjs/engine-render','cursorInfo','m2Prime','univer-text-green-500','LICENSE_IMPORT_SIZE_EXCEEDED','_logService','JOIN_ROOM_FAILED','onLocalMutation','_collabCursorController','RxDisposable','5948780jnXKAD','parse','min','restore','handleInsertRow','invokeId','pipe','HEADER_MENU','_unitStatus','ISocketService','getAncestorScale','send','_unitOnClients','MUTATION','_onCursorDelete','_collabSessionService','_updateURLWithCurrentState','_scheduleSaving','type','setInterval','onMouseMove','DOC_RANGE_TYPE','getCollabEntity$','LocaleService','setShapeProps','_handleHover','_cursorShapes','black','Error','roomMembers$','measureText','UniverIcon','Warning','endRow','ranges','_initStatusComponent','map','startColumn','_getMergeRange','Disposable','registerBeforeClose','font','DocCollaborationEntity','ILogService','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','InsertRangeMoveRightCommandId','round','UniverInstanceType','defs','getRelativeToViewportCoord','_localStorageService','bottom','toRgbString','tag','_handleJoinEvent','CollaborationSessionService','clearInterval','IImageIoService','SetSelectionsOperation','_getSessionTicket','INVITE_CODE_ALREADY_BOUND'];_0x3ec5=function(){return _0x541a5e;};return _0x3ec5();}
1
+ (function(_0x4ea607,_0x1190ea){const _0x3f3a9a=_0x316b,_0x3c64b2=_0x4ea607();while(!![]){try{const _0x372473=parseInt(_0x3f3a9a(0x3d9))/0x1+-parseInt(_0x3f3a9a(0x310))/0x2+parseInt(_0x3f3a9a(0x1d2))/0x3*(-parseInt(_0x3f3a9a(0x2ae))/0x4)+parseInt(_0x3f3a9a(0x33e))/0x5*(parseInt(_0x3f3a9a(0x416))/0x6)+-parseInt(_0x3f3a9a(0x2e0))/0x7+-parseInt(_0x3f3a9a(0x3a5))/0x8*(parseInt(_0x3f3a9a(0x280))/0x9)+parseInt(_0x3f3a9a(0x2df))/0xa;if(_0x372473===_0x1190ea)break;else _0x3c64b2['push'](_0x3c64b2['shift']());}catch(_0x1c84d4){_0x3c64b2['push'](_0x3c64b2['shift']());}}}(_0x2b51,0x880ac),function(_0x7f2edd,_0x221f12){const _0x4bfff4=_0x316b;typeof exports==_0x4bfff4(0x207)&&typeof module<'u'?_0x221f12(exports,require(_0x4bfff4(0x413)),require(_0x4bfff4(0x25b)),require(_0x4bfff4(0x2ff)),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x4bfff4(0x213)),require(_0x4bfff4(0x1b6)),require(_0x4bfff4(0x232)),require(_0x4bfff4(0x220)),require('@univerjs/sheets'),require(_0x4bfff4(0x231)),require(_0x4bfff4(0x30a)),require('react/jsx-runtime'),require(_0x4bfff4(0x2d4)),require(_0x4bfff4(0x1d7)),require(_0x4bfff4(0x420)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4bfff4(0x1f6)]?define([_0x4bfff4(0x1ac),'@univerjs-pro/collaboration-client',_0x4bfff4(0x25b),_0x4bfff4(0x2ff),_0x4bfff4(0x1ce),_0x4bfff4(0x41d),_0x4bfff4(0x1c7),_0x4bfff4(0x213),_0x4bfff4(0x1b6),_0x4bfff4(0x232),_0x4bfff4(0x220),'@univerjs/sheets',_0x4bfff4(0x231),_0x4bfff4(0x30a),_0x4bfff4(0x1a4),'@univerjs/ui','@univerjs/design',_0x4bfff4(0x420),'@univerjs/rpc'],_0x221f12):(_0x7f2edd=typeof globalThis<'u'?globalThis:_0x7f2edd||self,_0x221f12(_0x7f2edd[_0x4bfff4(0x259)]={},_0x7f2edd['UniverProCollaborationClient'],_0x7f2edd[_0x4bfff4(0x333)],_0x7f2edd[_0x4bfff4(0x23e)],_0x7f2edd['UniverNetwork'],_0x7f2edd[_0x4bfff4(0x335)],_0x7f2edd[_0x4bfff4(0x37f)],_0x7f2edd[_0x4bfff4(0x213)],_0x7f2edd[_0x4bfff4(0x2cb)],_0x7f2edd[_0x4bfff4(0x257)],_0x7f2edd['UniverEngineFormula'],_0x7f2edd[_0x4bfff4(0x393)],_0x7f2edd[_0x4bfff4(0x213)][_0x4bfff4(0x36f)],_0x7f2edd[_0x4bfff4(0x32d)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2fd)],_0x7f2edd[_0x4bfff4(0x39e)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2db)]));}(this,function(_0x4394f4,_0x25172a,_0x380f2c,_0x562cf5,_0x54dd82,_0x245556,_0x540d16,_0x309759,_0x1bf15b,_0x4946eb,_0x44c5f6,_0x5434f9,_0x1c9dc1,_0x1f7bce,_0x5bcf77,_0x26ee6d,_0x4cdd5d,_0x4a2e64,_0x1bf57e){'use strict';const _0x223248=_0x316b;var _0x49a913=Object[_0x223248(0x40a)],_0x1d2e7c=(_0x303a7c,_0x233ea4,_0x4a349b)=>_0x233ea4 in _0x303a7c?_0x49a913(_0x303a7c,_0x233ea4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a349b}):_0x303a7c[_0x233ea4]=_0x4a349b,_0x44255b=(_0x9dfd94,_0x5b624d,_0x51b162)=>_0x1d2e7c(_0x9dfd94,typeof _0x5b624d!=_0x223248(0x378)?_0x5b624d+'':_0x5b624d,_0x51b162),_0x22671b=Object['getOwnPropertyDescriptor'],_0x1a1917=(_0x37fc8e,_0x389413,_0x22b0c0,_0x24a6a7)=>{const _0x4be3c2=_0x223248;for(var _0x3ff821=_0x24a6a7>0x1?void 0x0:_0x24a6a7?_0x22671b(_0x389413,_0x22b0c0):_0x389413,_0x5f23c2=_0x37fc8e[_0x4be3c2(0x25a)]-0x1,_0x3614e9;_0x5f23c2>=0x0;_0x5f23c2--)(_0x3614e9=_0x37fc8e[_0x5f23c2])&&(_0x3ff821=_0x3614e9(_0x3ff821)||_0x3ff821);return _0x3ff821;},_0x30af99=(_0x59269f,_0xfcd4d1)=>(_0x29c290,_0x183dfd)=>_0xfcd4d1(_0x29c290,_0x183dfd,_0x59269f);let _0x287dac=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x19fcd5,_0x4ba7a5){const _0xc5d3b5=_0x223248;super(),this[_0xc5d3b5(0x19e)]=_0x19fcd5,this['_imageIoService']=_0x4ba7a5,this['_init']();}[_0x223248(0x18f)](){const _0x4c3135=_0x223248,_0x254e15=this;this[_0x4c3135(0x1e9)](this[_0x4c3135(0x19e)]['addClipboardHook']({'onBeforePasteImage':async _0x4e2ffe=>{const _0x371ef4=_0x4c3135,_0x1276a5=await _0x254e15[_0x371ef4(0x1f5)]['saveImage'](_0x4e2ffe);return _0x1276a5?{'source':_0x1276a5[_0x371ef4(0x28c)],'imageSourceType':_0x1276a5[_0x371ef4(0x275)]}:null;}}));}};_0x287dac=_0x1a1917([_0x30af99(0x0,_0x245556[_0x223248(0x1e1)]),_0x30af99(0x1,_0x540d16[_0x223248(0x252)])],_0x287dac);const _0x1583ae=[_0x223248(0x362),_0x223248(0x197),_0x223248(0x2eb),_0x223248(0x1ae),_0x223248(0x35a),_0x223248(0x39b)];class _0xd7751 extends _0x380f2c['Disposable']{constructor(){const _0x843ffb=_0x223248;super(...arguments),_0x44255b(this,'_assignedColors',new Map()),_0x44255b(this,_0x843ffb(0x2ef),0x0);}['assignAColorForMemberID'](_0x248e6a){const _0x2db18b=_0x223248;if(this['_assignedColors'][_0x2db18b(0x2e5)](_0x248e6a))return this[_0x2db18b(0x39f)][_0x2db18b(0x3cf)](_0x248e6a);const _0x29df85=_0x1583ae[this[_0x2db18b(0x2ef)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x1583ae['length'],this[_0x2db18b(0x39f)][_0x2db18b(0x269)](_0x248e6a,_0x29df85),_0x29df85;}}function _0x1ecaf2(_0x163ce2){const _0x180989=_0x223248;let _0x4a9dd7='';for(const _0x3a2931 of _0x163ce2){const {startOffset:_0x175fed,endOffset:_0x3c3856,isActive:_0x127253,rangeType:_0x172a15,segmentId:_0x341f71,segmentPage:_0x37f649}=_0x3a2931;_0x4a9dd7[_0x180989(0x25a)]&&(_0x4a9dd7+=','),_0x4a9dd7+=_0x175fed+':'+_0x3c3856+':'+(_0x127253?'1':'0')+':'+_0x172a15+':'+_0x341f71+':'+_0x37f649;}return _0x4a9dd7;}function _0x155a17(_0x3c474c){const _0x3dc023=_0x223248,_0x2dc777=_0x3c474c[_0x3dc023(0x2e3)](','),_0x214960=[];for(const _0x176a4a of _0x2dc777){const [_0x4025bc,_0x3b5562,_0x593622,_0xe5dc28,_0x535a0c,_0x5ac5fc]=_0x176a4a['split'](':');_0x214960[_0x3dc023(0x30d)]({'startOffset':Number(_0x4025bc),'endOffset':Number(_0x3b5562),'collapsed':_0x4025bc===_0x3b5562,'isActive':_0x593622==='1','rangeType':_0xe5dc28===_0x380f2c[_0x3dc023(0x276)]['TEXT']?_0x380f2c['DOC_RANGE_TYPE'][_0x3dc023(0x282)]:_0x380f2c[_0x3dc023(0x276)]['RECT'],'segmentId':typeof _0x535a0c=='string'?String(_0x535a0c):'','segmentPage':Number(_0x5ac5fc!=null?_0x5ac5fc:-0x1)});}return _0x214960[_0x3dc023(0x1a5)](_0x2c0b01=>_0x2c0b01['isActive'])||(_0x214960[0x0]['isActive']=!0x0),_0x214960;}class _0x19792d extends _0x380f2c['RxDisposable']{constructor(){const _0x141904=_0x223248;super(...arguments),_0x44255b(this,_0x141904(0x253),new _0x309759[(_0x141904(0x3e2))](null)),_0x44255b(this,_0x141904(0x3be),this[_0x141904(0x253)][_0x141904(0x3ca)]());}[_0x223248(0x3b5)](_0x548a4a){const _0x539c12=_0x223248,{unitID:_0x1deffe,memberID:_0x5b462b,textRanges:_0x2e617e}=_0x548a4a,_0x4955e7=_0x1ecaf2(_0x2e617e);if(_0x4955e7==='')return;const _0xc89dcc={'unitID':_0x1deffe,'memberID':_0x5b462b,'selection':_0x4955e7};this['_collabCursorState$'][_0x539c12(0x428)](_0xc89dcc);}}var _0x519411=Object[_0x223248(0x265)],_0x54b3bb=(_0x5e0c88,_0x4b737b,_0x25a37f,_0x2e6af7)=>{const _0x18da3a=_0x223248;for(var _0x1ed5c2=_0x2e6af7>0x1?void 0x0:_0x2e6af7?_0x519411(_0x4b737b,_0x25a37f):_0x4b737b,_0x43279a=_0x5e0c88[_0x18da3a(0x25a)]-0x1,_0x54ca01;_0x43279a>=0x0;_0x43279a--)(_0x54ca01=_0x5e0c88[_0x43279a])&&(_0x1ed5c2=_0x54ca01(_0x1ed5c2)||_0x1ed5c2);return _0x1ed5c2;},_0x5cbd4e=(_0x11940e,_0x21328d)=>(_0x5decf2,_0x3c962a)=>_0x21328d(_0x5decf2,_0x3c962a,_0x11940e);const _0xac0a6d=0x12c,_0x24efb3=0x64;let _0x2c3801=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x536144,_0x104a28,_0x4f5087,_0x23f9f7,_0x1f80de,_0x2d6066,_0x5445e5,_0x282406,_0x3b8113){const _0x818a00=_0x223248;super(),_0x44255b(this,_0x818a00(0x3bb),!0x1),_0x44255b(this,_0x818a00(0x18f),!0x1),_0x44255b(this,_0x818a00(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,_0x818a00(0x230),this[_0x818a00(0x3b4)]['asObservable']()),_0x44255b(this,_0x818a00(0x32c),new _0x309759[(_0x818a00(0x3e2))]([])),_0x44255b(this,_0x818a00(0x2d9),this[_0x818a00(0x32c)][_0x818a00(0x278)](_0x309759[_0x818a00(0x3ec)](_0xac0a6d))),_0x44255b(this,'_updateLocalCursor',_0x380f2c[_0x818a00(0x288)](_0x2cc5b8=>{const _0x3d7e4d=_0x818a00,_0x41736e={'eventID':_0x4946eb[_0x3d7e4d(0x1dc)][_0x3d7e4d(0x273)],'data':{'unitID':this[_0x3d7e4d(0x293)],'memberID':this['_session'][_0x3d7e4d(0x3d5)](),'selection':_0x1ecaf2(_0x2cc5b8)}};this[_0x3d7e4d(0x285)]['send'](_0x41736e,this[_0x3d7e4d(0x293)]);},_0x24efb3)),(this[_0x818a00(0x293)]=_0x536144,this['_session']=_0x104a28,this[_0x818a00(0x1d3)]=_0x4f5087,this[_0x818a00(0x34e)]=_0x23f9f7,this[_0x818a00(0x365)]=_0x1f80de,this[_0x818a00(0x401)]=_0x2d6066,this[_0x818a00(0x329)]=_0x5445e5,this[_0x818a00(0x33f)]=_0x282406,this[_0x818a00(0x1f1)]=_0x3b8113);}get[_0x223248(0x3b0)](){const _0x43d268=_0x223248;return this['_cursorInfo$'][_0x43d268(0x2f6)]();}get['roomMembers'](){const _0x52e557=_0x223248;return this[_0x52e557(0x32c)]['getValue']();}[_0x223248(0x1d8)](){const _0x4f64a3=_0x223248;super[_0x4f64a3(0x1d8)](),this[_0x4f64a3(0x3b4)][_0x4f64a3(0x428)](new Map()),this[_0x4f64a3(0x3b4)]['complete'](),this[_0x4f64a3(0x32c)][_0x4f64a3(0x428)]([]),this[_0x4f64a3(0x32c)][_0x4f64a3(0x3d6)]();}[_0x223248(0x22e)](){const _0x3b58cd=_0x223248;this[_0x3b58cd(0x18f)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))['subscribe'](_0x3b8780=>{const _0x465abf=_0x3b58cd;_0x3b8780===_0x25172a[_0x465abf(0x3c8)][_0x465abf(0x3a9)]?this[_0x465abf(0x1b2)]():this[_0x465abf(0x328)]();}),this[_0x3b58cd(0x285)][_0x3b58cd(0x294)][_0x3b58cd(0x278)](_0x309759['takeUntil'](this[_0x3b58cd(0x41a)]))[_0x3b58cd(0x1d9)](_0x544f25=>{const _0x10a244=_0x3b58cd,_0x43beec=_0x544f25['eventID'];_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x273)]&&this['_onCursorUpdate'](_0x544f25),_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x30b)]&&this[_0x10a244(0x20d)](_0x544f25);}),this['disposeWithMe'](this[_0x3b58cd(0x1f1)][_0x3b58cd(0x37d)](_0x468cc8=>{const _0x5ae7b4=_0x3b58cd,_0x308ea7=_0x468cc8[_0x5ae7b4(0x28f)];_0x308ea7!=null&&this[_0x5ae7b4(0x3bb)]&&_0x468cc8['id']===_0x1bf15b[_0x5ae7b4(0x3d0)]['id']&&_0x308ea7[_0x5ae7b4(0x341)]===this[_0x5ae7b4(0x293)]&&_0x308ea7[_0x5ae7b4(0x20f)]===!0x1&&_0x308ea7['ranges']['length']>0x0&&this[_0x5ae7b4(0x368)](_0x308ea7[_0x5ae7b4(0x349)]);})),this[_0x3b58cd(0x401)][_0x3b58cd(0x3be)][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))[_0x3b58cd(0x1d9)](_0x5f41e5=>{const _0x478a82=_0x3b58cd;if((_0x5f41e5==null?void 0x0:_0x5f41e5[_0x478a82(0x293)])!==this['unitID'])return;const _0x1a5121={'eventID':_0x4946eb[_0x478a82(0x1dc)][_0x478a82(0x273)],'data':_0x5f41e5};this[_0x478a82(0x3fa)](_0x1a5121);}),this[_0x3b58cd(0x1e9)](this[_0x3b58cd(0x1f1)]['onCommandExecuted'](_0x1520da=>{const _0x16bad0=_0x3b58cd;if(_0x1520da[_0x16bad0(0x28f)]==null)return;const _0x1a5c4b=_0x1520da['params'];if(_0x1520da['id']!==_0x1bf15b[_0x16bad0(0x34a)]['id']||_0x1a5c4b['unitId']!==this[_0x16bad0(0x293)])return;const _0x6b3dc9={'id':_0x16bad0(0x3f5),'params':_0x1a5c4b},_0x4cdb9a=this['cursorInfo'];for(const [_0x471ac5,_0xb88bb1]of _0x4cdb9a){const _0x20ea30={'id':_0x16bad0(0x3f5),'params':{'unitId':this[_0x16bad0(0x293)],'actions':null,'textRanges':_0xb88bb1[_0x16bad0(0x349)]}},_0x458df9=this[_0x16bad0(0x329)][_0x16bad0(0x240)](_0x6b3dc9,_0x20ea30,!0x1);if(_0x4946eb[_0x16bad0(0x1b1)](_0x458df9))throw _0x458df9[_0x16bad0(0x3cb)];_0x4cdb9a[_0x16bad0(0x269)](_0x471ac5,{..._0xb88bb1,'ranges':_0x458df9[_0x16bad0(0x353)][_0x16bad0(0x28f)][_0x16bad0(0x3d3)]});}queueMicrotask(()=>{const _0x573152=_0x16bad0;this[_0x573152(0x3b4)][_0x573152(0x428)](_0x4cdb9a);});})));}[_0x223248(0x3fa)](_0x1a30f1){const _0x56f145=_0x223248;var _0x500f9f,_0x344ea5;const {memberID:_0x4c25a9,selection:_0x378746}=_0x1a30f1[_0x56f145(0x2a1)],_0x1d216c=_0x155a17(_0x378746),_0x2eb159=(_0x344ea5=(_0x500f9f=this[_0x56f145(0x365)]['getMember'](this[_0x56f145(0x293)],_0x4c25a9))==null?void 0x0:_0x500f9f[_0x56f145(0x2b5)])!=null?_0x344ea5:_0x56f145(0x3dc),_0xf99e4a={'color':this[_0x56f145(0x34e)][_0x56f145(0x2e1)](_0x4c25a9),'name':_0x2eb159,'ranges':_0x1d216c},_0x2f11d6=this[_0x56f145(0x3b0)];_0x2f11d6[_0x56f145(0x269)](_0x4c25a9,_0xf99e4a),this[_0x56f145(0x3b4)][_0x56f145(0x428)](_0x2f11d6);}[_0x223248(0x20d)](_0x594bed){const _0x4980a4=_0x223248,{memberID:_0x275c93}=_0x594bed[_0x4980a4(0x2a1)],_0x229d7a=this[_0x4980a4(0x3b0)];_0x229d7a['delete'](_0x275c93),this[_0x4980a4(0x3b4)][_0x4980a4(0x428)](_0x229d7a);}[_0x223248(0x1b2)](){const _0x5e2386=_0x223248;var _0x15af80;if(this[_0x5e2386(0x3bb)]=!0x0,((_0x15af80=this[_0x5e2386(0x33f)]['getFocusedUnit']())==null?void 0x0:_0x15af80[_0x5e2386(0x302)]())!==this[_0x5e2386(0x293)])return;const _0x532c0a=this['_injector'][_0x5e2386(0x3cf)](_0x1bf15b['DocSelectionManagerService'])[_0x5e2386(0x322)]();Array[_0x5e2386(0x1c5)](_0x532c0a)&&_0x532c0a['length']>0x0&&this['_updateLocalCursor'](_0x532c0a);}['_toggleOffline'](){const _0x105440=_0x223248;this[_0x105440(0x3bb)]=!0x1;}};_0x2c3801=_0x54b3bb([_0x5cbd4e(0x2,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x5cbd4e(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x5cbd4e(0x4,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x22c)])),_0x5cbd4e(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x5cbd4e(0x6,_0x4946eb[_0x223248(0x382)]),_0x5cbd4e(0x7,_0x380f2c[_0x223248(0x3fe)]),_0x5cbd4e(0x8,_0x380f2c[_0x223248(0x36e)])],_0x2c3801);var _0x3dd977=Object[_0x223248(0x265)],_0x454dfc=(_0x54f586,_0x1dda5f,_0x5bb031,_0x5a411c)=>{for(var _0x13c5ea=_0x5a411c>0x1?void 0x0:_0x5a411c?_0x3dd977(_0x1dda5f,_0x5bb031):_0x1dda5f,_0xef400f=_0x54f586['length']-0x1,_0x31db7f;_0xef400f>=0x0;_0xef400f--)(_0x31db7f=_0x54f586[_0xef400f])&&(_0x13c5ea=_0x31db7f(_0x13c5ea)||_0x13c5ea);return _0x13c5ea;},_0x31a8db=(_0x414575,_0x669576)=>(_0x122e41,_0x44c2c6)=>_0x669576(_0x122e41,_0x44c2c6,_0x414575);const _0x38e497=0x12c,_0x2c40c5=0x64,_0x40bac4=()=>{let _0x190e92=[],_0x53fa9f=!0x1;return _0x49c136=>{_0x190e92['push'](_0x49c136),_0x53fa9f||(_0x53fa9f=!0x0,setTimeout(()=>{const _0x4e9320=_0x316b;_0x190e92[_0x4e9320(0x258)](_0x5dd638=>_0x5dd638()),_0x190e92=[],_0x53fa9f=!0x1;}));};};let _0x127971=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x482865,_0x20ba6a,_0x19e8c3,_0x147ae9,_0x51177a,_0x4a9575,_0x1ee190,_0x58ea39){const _0x28b609=_0x223248;super(),_0x44255b(this,_0x28b609(0x3bb),!0x1),_0x44255b(this,'_init',!0x1),_0x44255b(this,_0x28b609(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,'cursorInfo$',this[_0x28b609(0x3b4)]['asObservable']()),_0x44255b(this,'_roomMembers$',new _0x309759[(_0x28b609(0x3e2))]([])),_0x44255b(this,_0x28b609(0x2d9),this[_0x28b609(0x32c)]['pipe'](_0x309759[_0x28b609(0x3ec)](_0x38e497))),_0x44255b(this,_0x28b609(0x368),_0x380f2c['debounce']((_0x28f45a,_0x4c3a64)=>{const _0x4b0336=_0x28b609,_0x2197c8={'eventID':_0x4946eb['CollaborationEvent'][_0x4b0336(0x273)],'data':{'unitID':this[_0x4b0336(0x293)],'memberID':this['_session'][_0x4b0336(0x3d5)](),'selection':_0x44c5f6[_0x4b0336(0x291)](_0x28f45a,_0x4c3a64['range'])}};this['_session'][_0x4b0336(0x36c)](_0x2197c8,this[_0x4b0336(0x293)]);},_0x2c40c5)),(this[_0x28b609(0x293)]=_0x482865,this[_0x28b609(0x285)]=_0x20ba6a,this[_0x28b609(0x1d3)]=_0x19e8c3,this[_0x28b609(0x34e)]=_0x147ae9,this[_0x28b609(0x365)]=_0x51177a,this[_0x28b609(0x33f)]=_0x4a9575,this[_0x28b609(0x1f1)]=_0x1ee190,this[_0x28b609(0x24e)]=_0x58ea39);}get[_0x223248(0x3b0)](){const _0x712b8e=_0x223248;return this[_0x712b8e(0x3b4)][_0x712b8e(0x2f6)]();}get[_0x223248(0x2d5)](){const _0xd87c2a=_0x223248;return this[_0xd87c2a(0x32c)][_0xd87c2a(0x2f6)]();}['dispose'](){const _0x4adfd5=_0x223248;super[_0x4adfd5(0x1d8)](),this[_0x4adfd5(0x3b4)]['next'](new Map()),this[_0x4adfd5(0x3b4)][_0x4adfd5(0x3d6)](),this[_0x4adfd5(0x32c)][_0x4adfd5(0x428)]([]),this[_0x4adfd5(0x32c)]['complete']();}[_0x223248(0x22e)](){const _0x192ce9=_0x223248;this[_0x192ce9(0x18f)]||(this['_init']=!0x0,this[_0x192ce9(0x285)][_0x192ce9(0x2ea)][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x5daf68=>{const _0x20a19f=_0x192ce9;_0x5daf68===_0x25172a[_0x20a19f(0x3c8)][_0x20a19f(0x3a9)]?this['_toggleOnline']():this[_0x20a19f(0x328)]();}),this[_0x192ce9(0x285)]['event$'][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x1a47e9=>{const _0x2be2fc=_0x192ce9,_0x3a2b6d=_0x1a47e9[_0x2be2fc(0x388)];_0x3a2b6d===_0x4946eb['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2be2fc(0x3fa)](_0x1a47e9),_0x3a2b6d===_0x4946eb[_0x2be2fc(0x1dc)][_0x2be2fc(0x30b)]&&this[_0x2be2fc(0x20d)](_0x1a47e9);}),this[_0x192ce9(0x2f5)](),this[_0x192ce9(0x1e9)](this[_0x192ce9(0x1f1)][_0x192ce9(0x37d)](_0x3bc6e2=>{const _0x1988dc=_0x192ce9;if(this[_0x1988dc(0x3bb)]&&_0x3bc6e2['id']===_0x5434f9['SetSelectionsOperation']['id']&&_0x3bc6e2[_0x1988dc(0x28f)][_0x1988dc(0x341)]===this[_0x1988dc(0x293)]){const _0x53d166=_0x3bc6e2[_0x1988dc(0x28f)];this[_0x1988dc(0x368)](_0x53d166[_0x1988dc(0x28a)],_0x53d166[_0x1988dc(0x367)][0x0]);}})));}[_0x223248(0x3fa)](_0xd0b76d){const _0x5c5cf8=_0x223248;var _0x18cffc,_0x3cfeba;const {memberID:_0x32a3b0,selection:_0xe7488a}=_0xd0b76d[_0x5c5cf8(0x2a1)],{sheetName:_0x3002bc,range:_0x410a2d}=_0x44c5f6[_0x5c5cf8(0x23b)](_0xe7488a),_0x59b0d6={'name':(_0x3cfeba=(_0x18cffc=this[_0x5c5cf8(0x365)]['getMember'](this[_0x5c5cf8(0x293)],_0x32a3b0))==null?void 0x0:_0x18cffc[_0x5c5cf8(0x2b5)])!=null?_0x3cfeba:_0x5c5cf8(0x3dc),'range':this[_0x5c5cf8(0x255)](_0x3002bc,_0x410a2d),'sheetID':_0x3002bc,'color':this[_0x5c5cf8(0x34e)]['assignAColorForMemberID'](_0x32a3b0),'selection':_0xe7488a},_0x4fa0bf=this[_0x5c5cf8(0x3b0)];_0x4fa0bf[_0x5c5cf8(0x269)](_0x32a3b0,_0x59b0d6),this['_cursorInfo$'][_0x5c5cf8(0x428)](_0x4fa0bf);}[_0x223248(0x20d)](_0x53bf41){const _0x1ffadd=_0x223248,{memberID:_0x442222}=_0x53bf41['data'],_0x1345d9=this[_0x1ffadd(0x3b0)];_0x1345d9['delete'](_0x442222),this[_0x1ffadd(0x3b4)][_0x1ffadd(0x428)](_0x1345d9);}[_0x223248(0x255)](_0xf462aa,_0x18b3be){const _0x12910e=_0x223248;var _0x46686a,_0x41849c;const _0x390de2=(_0x41849c=(_0x46686a=this[_0x12910e(0x33f)][_0x12910e(0x208)](this[_0x12910e(0x293)]))==null?void 0x0:_0x46686a[_0x12910e(0x399)](_0xf462aa))==null?void 0x0:_0x41849c['getMergeData']();return(_0x390de2==null?void 0x0:_0x390de2[_0x12910e(0x1f8)](_0xc3f800=>_0x380f2c[_0x12910e(0x2f7)][_0x12910e(0x419)](_0xc3f800,_0x18b3be)))||_0x18b3be;}[_0x223248(0x2f5)](){const _0xca66d6=_0x223248,_0x4085aa=new _0x380f2c[(_0xca66d6(0x330))](),_0x3cbf4f=_0x40bac4(),_0x539cfc=()=>{const _0x5c9150=_0xca66d6;_0x4085aa[_0x5c9150(0x1d8)]();const _0x20b9b9=(_0x4cb4fb,_0x313eac,_0x5c99ea,_0x1ac1db)=>{const _0x47a27a=_0x5c9150;let _0xe15f02=[];switch(_0x4cb4fb['id']){case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x1a2)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1db)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x397)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1f4)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x3ce)]:{_0xe15f02=_0x5434f9['handleInsertCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x24a)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x371)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRangeMoveRightCommandId']:{_0xe15f02=_0x5434f9[_0x47a27a(0x3ba)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRowCommandId']:{_0xe15f02=_0x5434f9['handleInsertRow'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x191)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x190)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId']['RemoveColCommandId']:{_0xe15f02=_0x5434f9['handleIRemoveCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x1cf)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x35e)](_0x4cb4fb,_0x1ac1db);break;}}const _0x5c5593=_0x5434f9[_0x47a27a(0x3b2)](_0xe15f02,_0x1ac1db),_0x102268=this[_0x47a27a(0x3b0)][_0x47a27a(0x3cf)](_0x313eac);if(_0x102268&&_0x5c5593){const _0x5eb5b7={..._0x102268,'range':_0x5c5593};this[_0x47a27a(0x3b0)][_0x47a27a(0x269)](_0x313eac,_0x5eb5b7),_0x3cbf4f(()=>{const _0x1d5001=_0x47a27a,_0x169c49=this[_0x1d5001(0x24e)][_0x1d5001(0x32f)](_0x5c5593,_0x52b66e=>(_0x169c49['dispose'](),_0x20b9b9(_0x52b66e,_0x313eac,_0x5c99ea,_0x5c5593)));_0x4085aa['add'](_0x169c49);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5c9150(0x258)]((_0x1f9f47,_0x1c1c81)=>{const _0x17a456=_0x5c9150,{range:_0x57e2ea,sheetID:_0xe64cf5}=_0x1f9f47,_0xc7bf85=this[_0x17a456(0x24e)][_0x17a456(0x32f)](_0x57e2ea,_0x730350=>(_0xc7bf85[_0x17a456(0x1d8)](),_0x20b9b9(_0x730350,_0x1c1c81,_0xe64cf5,_0x57e2ea)));_0x4085aa[_0x17a456(0x23c)](_0xc7bf85);});};this[_0xca66d6(0x1e9)](_0x380f2c[_0xca66d6(0x242)](this['_cursorInfo$'][_0xca66d6(0x1d9)](()=>{_0x539cfc();})));}[_0x223248(0x1b2)](){const _0x22a586=_0x223248;var _0x1394a2,_0x3261e6;if(this['_online']=!0x0,((_0x1394a2=this[_0x22a586(0x33f)][_0x22a586(0x2f1)]())==null?void 0x0:_0x1394a2['getUnitId']())!==this[_0x22a586(0x293)])return;const _0x3d4b26=(_0x3261e6=this[_0x22a586(0x1d3)]['get'](_0x5434f9['SheetsSelectionsService'])[_0x22a586(0x34f)]())==null?void 0x0:_0x3261e6[0x0],_0x96bef1=this[_0x22a586(0x33f)][_0x22a586(0x404)](_0x380f2c[_0x22a586(0x1a9)][_0x22a586(0x22a)])[_0x22a586(0x1c4)]();_0x3d4b26&&_0x96bef1&&this['_updateLocalCursor'](_0x96bef1[_0x22a586(0x3aa)](),_0x3d4b26);}[_0x223248(0x328)](){const _0x3bdffb=_0x223248;this[_0x3bdffb(0x3bb)]=!0x1;}};_0x127971=_0x454dfc([_0x31a8db(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x31a8db(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x31a8db(0x4,_0x380f2c['Inject'](_0x25172a[_0x223248(0x22c)])),_0x31a8db(0x5,_0x380f2c[_0x223248(0x3fe)]),_0x31a8db(0x6,_0x380f2c[_0x223248(0x36e)]),_0x31a8db(0x7,_0x380f2c['Inject'](_0x5434f9['RefRangeService']))],_0x127971);var _0x4781e3=Object[_0x223248(0x265)],_0x4aa8f5=(_0x2be2dd,_0x30be14,_0x4d73c0,_0x59297f)=>{const _0x3b63b5=_0x223248;for(var _0x3386c1=_0x59297f>0x1?void 0x0:_0x59297f?_0x4781e3(_0x30be14,_0x4d73c0):_0x30be14,_0x26c96e=_0x2be2dd[_0x3b63b5(0x25a)]-0x1,_0x3eb36e;_0x26c96e>=0x0;_0x26c96e--)(_0x3eb36e=_0x2be2dd[_0x26c96e])&&(_0x3386c1=_0x3eb36e(_0x3386c1)||_0x3386c1);return _0x3386c1;},_0x2bf9ed=(_0x1fc2f1,_0x5e6386)=>(_0x29d63b,_0x466a0c)=>_0x5e6386(_0x29d63b,_0x466a0c,_0x1fc2f1);let _0x4f3310=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x23a427,_0x349e90,_0x40eccd){const _0x4eca5e=_0x223248;super(),_0x44255b(this,_0x4eca5e(0x2f8),new Map()),_0x44255b(this,_0x4eca5e(0x354),new _0x309759[(_0x4eca5e(0x1c3))]()),(this[_0x4eca5e(0x33f)]=_0x23a427,this[_0x4eca5e(0x1d3)]=_0x349e90,this['_collabSessionService']=_0x40eccd,this[_0x4eca5e(0x18f)]());}[_0x223248(0x1d8)](){const _0x1d3489=_0x223248;super['dispose'](),this[_0x1d3489(0x354)][_0x1d3489(0x3d6)](),this[_0x1d3489(0x2f8)][_0x1d3489(0x258)](_0x4f9327=>_0x4f9327[_0x1d3489(0x1d8)]());}[_0x223248(0x321)](_0x23f4a7){const _0x31cea1=_0x223248;return this[_0x31cea1(0x2f8)]['has'](_0x23f4a7)?this['_entities'][_0x31cea1(0x3cf)](_0x23f4a7)[_0x31cea1(0x230)]:this[_0x31cea1(0x354)][_0x31cea1(0x278)](_0x309759[_0x31cea1(0x3a0)](_0x101aae=>_0x101aae[_0x31cea1(0x293)]===_0x23f4a7),_0x309759['switchMap'](_0x4efb59=>_0x4efb59[_0x31cea1(0x230)]));}[_0x223248(0x18f)](){const _0x3d2320=_0x223248;this['_univerInstanceService'][_0x3d2320(0x327)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_SHEET'])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this['dispose$']))[_0x3d2320(0x1d9)](async _0x15a26e=>{const _0xa7f5ae=_0x3d2320,_0x58489a=_0x15a26e['getUnitId'](),_0x197cd9=await this[_0xa7f5ae(0x1c1)](_0x58489a);this[_0xa7f5ae(0x354)][_0xa7f5ae(0x428)](_0x197cd9),this[_0xa7f5ae(0x2f8)]['set'](_0x58489a,_0x197cd9);}),this[_0x3d2320(0x33f)]['getTypeOfUnitAdded$'](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x30f)])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x3a0)](_0x3f6388=>!_0x3f6388[_0x3d2320(0x302)]()[_0x3d2320(0x199)]('__')))[_0x3d2320(0x1d9)](async _0xa87c0a=>{const _0x299a68=_0x3d2320,_0xa317b8=_0xa87c0a['getUnitId'](),_0x38e3ff=await this[_0x299a68(0x1d1)](_0xa317b8);this[_0x299a68(0x354)]['next'](_0x38e3ff),this[_0x299a68(0x2f8)][_0x299a68(0x269)](_0xa317b8,_0x38e3ff);}),_0x309759['merge'](this['_univerInstanceService'][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_DOC']),this[_0x3d2320(0x33f)][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x22a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x1d9)](_0xe0137f=>{const _0x3a9716=_0x3d2320,_0xf58bf=_0xe0137f[_0x3a9716(0x302)](),_0x5c4179=this[_0x3a9716(0x2f8)][_0x3a9716(0x3cf)](_0xf58bf);_0x5c4179&&(_0x5c4179[_0x3a9716(0x1d8)](),this[_0x3a9716(0x2f8)][_0x3a9716(0x344)](_0xf58bf));});}async[_0x223248(0x1c1)](_0x12d653){const _0x12dcdf=await this['_collabSessionService']['requireSession'](_0x12d653),_0x5a1af6=this['_injector']['createInstance'](_0x127971,_0x12d653,_0x12dcdf);return _0x5a1af6['init'](),_0x5a1af6;}async[_0x223248(0x1d1)](_0x19a497){const _0x331f28=_0x223248,_0x3639b0=await this['_collabSessionService'][_0x331f28(0x2d3)](_0x19a497),_0x47a3c7=this[_0x331f28(0x1d3)][_0x331f28(0x2da)](_0x2c3801,_0x19a497,_0x3639b0);return _0x47a3c7['init'](),_0x47a3c7;}};_0x4f3310=_0x4aa8f5([_0x2bf9ed(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2bf9ed(0x1,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x2bf9ed(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x406)]))],_0x4f3310);const _0x120bab=0x14,_0x479208=0xc8,_0x370294=0x4,_0xcc261d=0x5;function _0x35edd1(_0x48423f,_0xa006ed){const _0x4d6470=_0x223248;let {radius:_0x223fdb,width:_0x3a0b2e,height:_0x753c0d}=_0xa006ed;_0x223fdb=_0x223fdb!=null?_0x223fdb:0x0,_0x3a0b2e=_0x3a0b2e!=null?_0x3a0b2e:0x1e,_0x753c0d=_0x753c0d!=null?_0x753c0d:0x1e;let _0x31aa3d=0x0,_0x58520e=0x0,_0x2202cd=0x0;_0x31aa3d=_0x58520e=_0x2202cd=Math[_0x4d6470(0x1eb)](_0x223fdb,_0x3a0b2e/0x2,_0x753c0d/0x2),_0x48423f[_0x4d6470(0x2fc)](),_0x48423f[_0x4d6470(0x3ed)](_0x31aa3d,0x0),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e-_0x58520e,0x0),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x58520e,_0x58520e,_0x58520e,Math['PI']*0x3/0x2,0x0,!0x1),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e,_0x753c0d-_0x2202cd),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x2202cd,_0x753c0d-_0x2202cd,_0x2202cd,0x0,Math['PI']/0x2,!0x1),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x753c0d),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x31aa3d),_0x48423f[_0x4d6470(0x1bf)](_0x31aa3d,_0x31aa3d,_0x31aa3d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48423f[_0x4d6470(0x407)](),_0xa006ed[_0x4d6470(0x2ca)]&&(_0x48423f[_0x4d6470(0x398)](),_0x48423f[_0x4d6470(0x2a3)]=_0xa006ed['fill'],_0xa006ed[_0x4d6470(0x41f)]===_0x4d6470(0x2a6)?_0x48423f[_0x4d6470(0x2ca)](_0x4d6470(0x2a6)):_0x48423f[_0x4d6470(0x2ca)](),_0x48423f[_0x4d6470(0x3b9)]());}class _0x5738fc extends _0x562cf5['Shape']{constructor(_0x59b16e,_0x1ff07e){const _0x2ee3e8=_0x223248;super(_0x59b16e,_0x1ff07e),_0x44255b(this,_0x2ee3e8(0x19a)),_0x44255b(this,_0x2ee3e8(0x247)),(this[_0x2ee3e8(0x19a)]=_0x1ff07e==null?void 0x0:_0x1ff07e['color'],this[_0x2ee3e8(0x247)]=_0x1ff07e==null?void 0x0:_0x1ff07e[_0x2ee3e8(0x247)]);}static[_0x223248(0x1b3)](_0x3f2e5f,_0x39b82a){const _0xcc6c9c=_0x223248,{text:_0x171dcb,color:_0x6c78e5}=_0x39b82a;_0x3f2e5f[_0xcc6c9c(0x398)](),_0x3f2e5f[_0xcc6c9c(0x2b1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x720e01=_0x3f2e5f[_0xcc6c9c(0x331)](_0x171dcb)['width'],_0x143403=Math[_0xcc6c9c(0x1eb)](_0x720e01+0x2*_0x370294,_0x479208);_0x35edd1(_0x3f2e5f,{'height':_0x120bab,'radius':0x4,'width':_0x143403,'fill':_0x6c78e5}),_0x3f2e5f[_0xcc6c9c(0x2a3)]=_0xcc6c9c(0x1c9);const _0xfcd797=_0x370294,_0x2b35e9=_0x120bab-_0xcc261d,_0x477787=_0x479208-0x2*_0x370294;if(_0x720e01>_0x477787){let _0x199f55='',_0x3f9854=0x0;for(const _0x285ae0 of _0x171dcb){const _0x567da1=_0x3f2e5f['measureText'](_0x285ae0)[_0xcc6c9c(0x2bc)];if(_0x3f9854+_0x567da1<=_0x477787-_0x3f2e5f[_0xcc6c9c(0x331)](_0xcc6c9c(0x312))['width'])_0x199f55+=_0x285ae0,_0x3f9854+=_0x567da1;else{_0x199f55+=_0xcc6c9c(0x312);break;}}_0x3f2e5f[_0xcc6c9c(0x2c6)](_0x199f55,_0xfcd797,_0x2b35e9);}else _0x3f2e5f[_0xcc6c9c(0x2c6)](_0x171dcb,_0xfcd797,_0x2b35e9);_0x3f2e5f['restore']();}['_draw'](_0x13fff4){const _0x20b5cb=_0x223248;_0x5738fc[_0x20b5cb(0x1b3)](_0x13fff4,this);}}const _0x17641a=_0x223248(0x3c3),_0x586420='collab-text-range-',_0xc5b9b3='collab-rect-range-',_0x356757=0x6,_0x437072=1.5,_0x4016d4=0x4,_0x51f730=1.5,_0x10f691=_0x223248(0x1ee);class _0x3b12b2{constructor(_0x750ca2,_0x4abffa,_0x1f78c2,_0x213a9c){const _0x57bc62=_0x223248;_0x44255b(this,'_shapes',[]),_0x44255b(this,_0x57bc62(0x20e),null),_0x44255b(this,_0x57bc62(0x39a),null),_0x44255b(this,_0x57bc62(0x3e7),null),_0x44255b(this,_0x57bc62(0x3c7),null),_0x44255b(this,'_eventUnsubscribe',null),(this[_0x57bc62(0x2b4)]=_0x750ca2,this[_0x57bc62(0x201)]=_0x4abffa,this['_docSkeleton']=_0x1f78c2,this[_0x57bc62(0x1b8)]=_0x213a9c,this[_0x57bc62(0x408)]());}set['_hover'](_0x397fc2){const _0x3766c8=_0x223248;_0x397fc2?(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)]['hide'](),this['_textBubble']&&this[_0x3766c8(0x39a)]['show']()):(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)][_0x3766c8(0x3a7)](),this[_0x3766c8(0x39a)]&&this['_textBubble']['hide']());}['dispose'](){const _0x43fc0c=_0x223248;for(const _0x1d410a of this['_shapes'])_0x1d410a[_0x43fc0c(0x1d8)]();this[_0x43fc0c(0x39a)]&&this[_0x43fc0c(0x39a)]['dispose'](),this[_0x43fc0c(0x3e7)]&&this['_anchorDot'][_0x43fc0c(0x1d8)](),this[_0x43fc0c(0x20e)]&&this['_anchor']['dispose'](),this[_0x43fc0c(0x295)]&&this['_eventUnsubscribe']();}[_0x223248(0x408)](){const _0xda2204=_0x223248;var _0x5104e6;const {_docSkeleton:_0x4e6f6c,_document:_0x4750bc}=this,{color:_0x542cd4,name:_0x18276d,ranges:_0x307d3c}=this[_0xda2204(0x2b4)],_0x47cb84=_0x4750bc[_0xda2204(0x305)](),{docsLeft:_0x305cc0,docsTop:_0x42aa7c}=_0x47cb84,_0x580d02=new _0x245556[(_0xda2204(0x27b))](_0x47cb84,_0x4e6f6c);for(const {startOffset:_0x189fd0,endOffset:_0x317388,rangeType:_0x4f6f8a,segmentId:_0x538281,segmentPage:_0x4befb5,collapsed:_0x88099b,isActive:_0x581a24}of _0x307d3c){const _0x16b632=_0x4e6f6c[_0xda2204(0x2dd)](_0x189fd0,!0x0,_0x538281,_0x4befb5);let _0x225269=_0x4e6f6c[_0xda2204(0x2dd)](_0x317388,!0x0,_0x538281,_0x4befb5);if(_0x225269==null&&(_0x225269=_0x4e6f6c['findNodePositionByCharIndex'](_0x317388-0x1,!0x1,_0x538281,_0x4befb5)),_0x581a24){const {contentBoxPointGroup:_0x47209f}=_0x580d02[_0xda2204(0x2f4)](_0x225269,_0x225269);if(_0x47209f[_0xda2204(0x25a)]===0x0)continue;this['_drawAnchor'](_0x542cd4,_0x47209f,_0x305cc0,_0x42aa7c,_0x18276d),this[_0xda2204(0x295)]=this[_0xda2204(0x229)]();}if(_0x16b632&&_0x225269){if(_0x4f6f8a===_0x380f2c[_0xda2204(0x276)]['RECT']){const _0x2c9904=new _0x245556[(_0xda2204(0x38d))](_0x47cb84,_0x4e6f6c),{pointGroup:_0x404b9f}=(_0x5104e6=_0x2c9904[_0xda2204(0x2f4)](_0x16b632,_0x225269))!=null?_0x5104e6:{};if(_0x404b9f==null||_0x404b9f[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x2b7)](_0x542cd4,_0x404b9f,_0x305cc0,_0x42aa7c);}else{if(!_0x88099b){const {borderBoxPointGroup:_0x50c920}=_0x580d02[_0xda2204(0x2f4)](_0x16b632,_0x225269);if(_0x50c920[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x326)](_0x542cd4,_0x50c920,_0x305cc0,_0x42aa7c);}}}}}[_0x223248(0x23f)](_0x18f213,_0x128503,_0x2e64c9,_0x27858b,_0x4caace){const _0x49b7a5=_0x223248,_0x112af0=this[_0x49b7a5(0x235)](_0x128503),{left:_0x1d5162,top:_0x45d40a,height:_0x25971c}=_0x112af0,_0x36ece3=this['_getScale'](),_0x4e697d=_0x51f730/_0x36ece3,_0x4ad23e=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c[_0x49b7a5(0x31c)][_0x49b7a5(0x314)](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b,'height':_0x25971c,'width':_0x437072,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'strokeWidth':_0x4e697d,'stroke':_0x10f691,'evented':!0x0});this['_anchor']=_0x4ad23e,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x4ad23e,_0x245556[_0x49b7a5(0x358)]);const _0x5ab973=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c['Tools']['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x4016d4/0x2,'height':_0x4016d4,'width':_0x4016d4,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)][_0x49b7a5(0x427)],0x0),'strokeWidth':0x0,'stroke':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'evented':!0x1});this[_0x49b7a5(0x3e7)]=_0x5ab973,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x5ab973,_0x245556['TEXT_RANGE_LAYER_INDEX']);const _0x3dc6d6=new _0x5738fc(_0x17641a+_0x380f2c[_0x49b7a5(0x31c)]['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x120bab,'text':_0x4caace,'color':_0x18f213});this['_textBubble']=_0x3dc6d6,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x3dc6d6,_0x245556[_0x49b7a5(0x358)]),this[_0x49b7a5(0x31f)]=!0x1;}[_0x223248(0x229)](){const _0xd5fe0=_0x223248,_0x2d1b80=this[_0xd5fe0(0x20e)][_0xd5fe0(0x2a5)][_0xd5fe0(0x380)](()=>{const _0x30fb9a=_0xd5fe0;this[_0x30fb9a(0x31f)]=!0x0;}),_0x4b0fe2=this[_0xd5fe0(0x20e)][_0xd5fe0(0x27e)][_0xd5fe0(0x380)](()=>{const _0x1ebf50=_0xd5fe0;this[_0x1ebf50(0x3c7)]&&clearTimeout(this[_0x1ebf50(0x3c7)]),this[_0x1ebf50(0x3c7)]=setTimeout(()=>{const _0x364cc1=_0x1ebf50;this[_0x364cc1(0x31f)]=!0x1;},0x7d0);});return()=>{const _0x2b0d12=_0xd5fe0;_0x2d1b80[_0x2b0d12(0x192)](),_0x4b0fe2[_0x2b0d12(0x192)]();};}[_0x223248(0x326)](_0x9b25c0,_0x257638,_0x2e318a,_0x5859e3){const _0x58f588=_0x223248,_0x451c91=new _0x380f2c[(_0x58f588(0x38f))](_0x9b25c0)[_0x58f588(0x2bf)](0.2)[_0x58f588(0x33c)](),_0x411596=new _0x562cf5[(_0x58f588(0x319))](_0x586420+_0x380f2c['Tools'][_0x58f588(0x314)](_0x356757),{'pointsGroup':_0x257638,'fill':_0x451c91||_0x562cf5['getColor'](_0x380f2c[_0x58f588(0x2ba)][_0x58f588(0x427)],0.2),'left':_0x2e318a,'top':_0x5859e3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58f588(0x383)]['push'](_0x411596),this['_scene'][_0x58f588(0x217)](_0x411596,_0x245556['TEXT_RANGE_LAYER_INDEX']);}[_0x223248(0x2b7)](_0x51f845,_0x42a4e3,_0xf94e0d,_0x175342){const _0x250ffb=_0x223248,_0x1a8432=new _0x380f2c[(_0x250ffb(0x38f))](_0x51f845)[_0x250ffb(0x2bf)](0.2)[_0x250ffb(0x33c)](),_0xc4fcc8=new _0x562cf5[(_0x250ffb(0x319))](_0xc5b9b3+_0x380f2c[_0x250ffb(0x31c)]['generateRandomId'](_0x356757),{'pointsGroup':_0x42a4e3,'fill':_0x1a8432||_0x562cf5['getColor'](_0x380f2c['COLORS'][_0x250ffb(0x427)],0.2),'left':_0xf94e0d,'top':_0x175342,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x250ffb(0x383)]['push'](_0xc4fcc8),this[_0x250ffb(0x201)][_0x250ffb(0x217)](_0xc4fcc8,_0x245556[_0x250ffb(0x358)]);}[_0x223248(0x235)](_0x4a0267){const _0x239526=_0x4a0267[0x0],_0x14b75c=_0x239526[0x0],_0x22f774=_0x239526[0x2],{x:_0x3e97fb,y:_0x167c2a}=_0x14b75c,{x:_0x3e8c29,y:_0x2cc6ca}=_0x22f774;return{'left':_0x3e97fb,'top':_0x167c2a,'width':_0x3e8c29-_0x3e97fb,'height':_0x2cc6ca-_0x167c2a};}[_0x223248(0x389)](){const _0x542ff4=_0x223248,{scaleX:_0x39735a,scaleY:_0x300a4e}=this['_scene'][_0x542ff4(0x40c)]();return Math['max'](_0x39735a,_0x300a4e);}}var _0x7fce1d=Object[_0x223248(0x265)],_0x7271a8=(_0x45be8c,_0x307fdc,_0x4907ca,_0x350aea)=>{const _0x30414d=_0x223248;for(var _0x1c737a=_0x350aea>0x1?void 0x0:_0x350aea?_0x7fce1d(_0x307fdc,_0x4907ca):_0x307fdc,_0xa971c2=_0x45be8c[_0x30414d(0x25a)]-0x1,_0x44da02;_0xa971c2>=0x0;_0xa971c2--)(_0x44da02=_0x45be8c[_0xa971c2])&&(_0x1c737a=_0x44da02(_0x1c737a)||_0x1c737a);return _0x1c737a;},_0xe786d8=(_0x15c7d1,_0x35baab)=>(_0x326bb4,_0x5d6b76)=>_0x35baab(_0x326bb4,_0x5d6b76,_0x15c7d1);let _0x5dbc37=class extends _0x380f2c['RxDisposable']{constructor(_0x29e81a,_0x599e29,_0x50dd93,_0x354931,_0x43b220){const _0x139503=_0x223248;super(),_0x44255b(this,_0x139503(0x1f9),[]),_0x44255b(this,_0x139503(0x395),[]),(this[_0x139503(0x3dd)]=_0x29e81a,this['_docSkeletonManagerService']=_0x599e29,this[_0x139503(0x1e0)]=_0x50dd93,this['_commandService']=_0x354931,this[_0x139503(0x381)]=_0x43b220,this[_0x139503(0x18f)]());}[_0x223248(0x18f)](){const _0x2eac35=_0x223248,_0x556354=this['_context'][_0x2eac35(0x341)],_0x56385c=this[_0x2eac35(0x3eb)];this[_0x2eac35(0x1e9)](_0x309759[_0x2eac35(0x289)]([this[_0x2eac35(0x1e0)][_0x2eac35(0x321)](_0x556354),this[_0x2eac35(0x381)][_0x2eac35(0x35d)]])[_0x2eac35(0x278)](_0x1c9dc1[_0x2eac35(0x287)](([_0x335a68,_0x38084f])=>({'skeleton':_0x56385c[_0x2eac35(0x3c6)](),'cursors':[..._0x335a68['values']()]['flatMap'](_0x5d18f4=>({..._0x5d18f4,'color':_0x38084f[_0x5d18f4[_0x2eac35(0x19a)]]}))})))[_0x2eac35(0x1d9)](_0x380173=>{const _0x1e5ec3=_0x2eac35;if(this[_0x1e5ec3(0x3f7)](),_0x380173){const {skeleton:_0x31f8a9,cursors:_0xd26e28}=_0x380173;this[_0x1e5ec3(0x1f3)](_0x31f8a9,_0xd26e28);}})),this[_0x2eac35(0x316)](),this[_0x2eac35(0x2e7)]();}[_0x223248(0x1f3)](_0x48ddf9,_0x19d406){const _0x5eee32=_0x223248,{scene:_0x30a1a2,mainComponent:_0x3c4e05}=this['_context'],_0x5a0d7f=_0x19d406[_0x5eee32(0x287)](_0x4da067=>new _0x3b12b2(_0x4da067,_0x30a1a2,_0x48ddf9,_0x3c4e05));this[_0x5eee32(0x1f9)]=_0x5a0d7f,this[_0x5eee32(0x395)]=_0x19d406;}[_0x223248(0x415)](){const _0x272a68=_0x223248;this[_0x272a68(0x3f7)]();const {scene:_0x8b332e,mainComponent:_0x5a8ef9}=this[_0x272a68(0x3dd)],_0x35ee57=this[_0x272a68(0x3eb)][_0x272a68(0x3c6)](),_0x4eaf0a=this[_0x272a68(0x395)][_0x272a68(0x287)](_0x211ad8=>new _0x3b12b2(_0x211ad8,_0x8b332e,_0x35ee57,_0x5a8ef9));this[_0x272a68(0x1f9)]=_0x4eaf0a;}[_0x223248(0x3f7)](){const _0xf49c09=_0x223248;this[_0xf49c09(0x1f9)][_0xf49c09(0x258)](_0x413ee0=>_0x413ee0[_0xf49c09(0x1d8)]()),this[_0xf49c09(0x1f9)]=[];}[_0x223248(0x2e7)](){const _0x5d3388=_0x223248,_0x3c6013=[_0x245556[_0x5d3388(0x37c)]['id']];this[_0x5d3388(0x1e9)](this[_0x5d3388(0x1f1)][_0x5d3388(0x37d)](_0x267fae=>{const _0x397247=_0x5d3388;_0x3c6013[_0x397247(0x297)](_0x267fae['id'])&&_0x267fae['params'][_0x397247(0x341)]===this[_0x397247(0x3dd)][_0x397247(0x341)]&&this[_0x397247(0x415)]();}));}[_0x223248(0x316)](){const _0x298c6f=_0x223248;this[_0x298c6f(0x1e9)](_0x380f2c[_0x298c6f(0x339)](this[_0x298c6f(0x3dd)]['engine']['onTransformChange$'])[_0x298c6f(0x278)](_0x1c9dc1[_0x298c6f(0x3a0)](_0x149ea5=>_0x149ea5['type']===_0x562cf5['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1c9dc1[_0x298c6f(0x296)](0x10))[_0x298c6f(0x1d9)](()=>{this['_refreshCollabCursors']();}));}};_0x5dbc37=_0x7271a8([_0xe786d8(0x1,_0x380f2c[_0x223248(0x352)](_0x1bf15b[_0x223248(0x2c4)])),_0xe786d8(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0xe786d8(0x3,_0x380f2c['ICommandService']),_0xe786d8(0x4,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x5dbc37);const _0x117d2d=0x1,_0x30ea48=1.5;class _0x337b75 extends _0x562cf5[_0x223248(0x320)]{constructor(_0x570444,_0x3dbf1f){const _0x37e108=_0x223248;super(_0x570444,_0x3dbf1f),_0x44255b(this,_0x37e108(0x233)),_0x44255b(this,'_hovered',!0x1),_0x44255b(this,_0x37e108(0x410)),_0x44255b(this,_0x37e108(0x239),''),_0x44255b(this,_0x37e108(0x2ec),_0x37e108(0x2ee)),_0x44255b(this,_0x37e108(0x18e)),(_0x3dbf1f&&this['setShapeProps'](_0x3dbf1f),this[_0x37e108(0x2a5)][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x0})),this['onPointerLeave$'][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x1})));}[_0x223248(0x209)](_0x2fcecb){const _0x12de55=_0x223248;var _0x3df6f6,_0x50533a,_0x3886db,_0x1f62dc,_0x53f8ce,_0x5d6c94;this[_0x12de55(0x233)]=(_0x3df6f6=_0x2fcecb[_0x12de55(0x19a)])!=null?_0x3df6f6:this[_0x12de55(0x233)],this[_0x12de55(0x2c1)]=(_0x50533a=_0x2fcecb['hovered'])!=null?_0x50533a:this[_0x12de55(0x2c1)],this[_0x12de55(0x410)]=(_0x3886db=_0x2fcecb['range'])!=null?_0x3886db:this[_0x12de55(0x410)],this[_0x12de55(0x239)]=(_0x1f62dc=_0x2fcecb['name'])!=null?_0x1f62dc:this[_0x12de55(0x239)],this[_0x12de55(0x2ec)]=(_0x53f8ce=_0x2fcecb[_0x12de55(0x2a4)])!=null?_0x53f8ce:this[_0x12de55(0x2ec)],this[_0x12de55(0x18e)]=(_0x5d6c94=_0x2fcecb['backgroundColor'])!=null?_0x5d6c94:this[_0x12de55(0x18e)],this[_0x12de55(0x1d0)]({'width':_0x2fcecb[_0x12de55(0x2bc)],'height':_0x2fcecb['height']});}[_0x223248(0x24c)](_0x2d5681){const _0x1b85ac=_0x223248,{row:_0x51c852,column:_0xa0ec07}=_0x2d5681;if(_0x51c852>=this[_0x1b85ac(0x410)][_0x1b85ac(0x3e4)]&&_0x51c852<=this[_0x1b85ac(0x410)][_0x1b85ac(0x3c4)]&&_0xa0ec07>=this['_range'][_0x1b85ac(0x3c2)]&&_0xa0ec07<=this[_0x1b85ac(0x410)][_0x1b85ac(0x36d)]){this[_0x1b85ac(0x209)]({'hovered':!0x0});return;}this[_0x1b85ac(0x209)]({'hovered':!0x1});}['triggerDblclick'](_0xea0fb3){return!0x1;}[_0x223248(0x31d)](_0xb6c615){const _0x391461=_0x223248;_0x562cf5[_0x391461(0x25c)][_0x391461(0x1b3)](_0xb6c615,{'width':this[_0x391461(0x2bc)],'height':this[_0x391461(0x337)],'strokeWidth':_0x30ea48,'stroke':this[_0x391461(0x233)],'evented':!0x1,'fill':this[_0x391461(0x18e)]}),this['_hovered']&&(_0xb6c615['save'](),_0xb6c615[_0x391461(0x1b0)](0x1,0x0,0x0,0x1,this[_0x391461(0x2bc)],this[_0x391461(0x2ec)]===_0x391461(0x1a0)?0x0:-0x14),_0x5738fc[_0x391461(0x1b3)](_0xb6c615,{'text':this[_0x391461(0x239)],'color':this[_0x391461(0x233)]}),_0xb6c615['restore']());}}var _0x58ab8b=Object[_0x223248(0x265)],_0x2a5fdb=(_0x2c48b6,_0x47b75c,_0x238099,_0x5eb0db)=>{for(var _0x59386e=_0x5eb0db>0x1?void 0x0:_0x5eb0db?_0x58ab8b(_0x47b75c,_0x238099):_0x47b75c,_0x4358ca=_0x2c48b6['length']-0x1,_0x1922ec;_0x4358ca>=0x0;_0x4358ca--)(_0x1922ec=_0x2c48b6[_0x4358ca])&&(_0x59386e=_0x1922ec(_0x59386e)||_0x59386e);return _0x59386e;},_0x18b007=(_0x425521,_0x41f112)=>(_0x4fb5b1,_0x329e46)=>_0x41f112(_0x4fb5b1,_0x329e46,_0x425521);const _0xbdb9c2=0x1389;let _0x15d7ee=class extends _0x380f2c['RxDisposable']{constructor(_0x13fb01,_0x51f91f,_0x32cc61,_0xe1835){const _0x1a594f=_0x223248;super(),_0x44255b(this,'_cursors',new Set()),_0x44255b(this,_0x1a594f(0x402),null),(this[_0x1a594f(0x3dd)]=_0x13fb01,this['_sheetSkeletonManagerService']=_0x51f91f,this[_0x1a594f(0x1e0)]=_0x32cc61,this[_0x1a594f(0x381)]=_0xe1835,this[_0x1a594f(0x18f)]());}['_init'](){const _0x16c1e2=_0x223248;this['_sheetSkeletonManagerService'][_0x16c1e2(0x356)][_0x16c1e2(0x278)](_0x1c9dc1[_0x16c1e2(0x40b)](this[_0x16c1e2(0x41a)]),_0x1c9dc1[_0x16c1e2(0x21a)](_0x115796=>{const _0x285c9a=_0x16c1e2;if(_0x115796){const _0x2d9e81=_0x115796[_0x285c9a(0x374)];return _0x309759[_0x285c9a(0x289)](this[_0x285c9a(0x1e0)][_0x285c9a(0x321)](this[_0x285c9a(0x3dd)][_0x285c9a(0x341)]),this[_0x285c9a(0x381)]['currentTheme$'])[_0x285c9a(0x278)](_0x1c9dc1[_0x285c9a(0x287)](([_0x124f96,_0x50271f])=>{const _0x2d234a=_0x285c9a,_0x26593c=new Map();return _0x124f96[_0x2d234a(0x258)]((_0xc0861f,_0x374e80)=>{const _0x7363=_0x2d234a;if(_0xc0861f[_0x7363(0x286)]===_0x2d9e81){const _0x4dde91={..._0xc0861f};_0x4dde91[_0x7363(0x19a)]=_0x50271f[_0xc0861f[_0x7363(0x19a)]],_0x26593c[_0x7363(0x269)](_0x374e80,_0x4dde91);}}),{'skeleton':_0x115796,'cursors':_0x26593c};}));}return _0x309759['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1ad597,cursors:_0x4a526d})=>{const _0x51935c=_0x16c1e2;this['_removeCollabCursors'](),_0x1ad597&&this[_0x51935c(0x1f3)](_0x1ad597,_0x4a526d);}),this[_0x16c1e2(0x3a6)]['currentSkeleton$'][_0x16c1e2(0x1d9)](_0x2cb8e2=>{const _0xd75fd=_0x16c1e2;if(_0x2cb8e2==null)return;const {skeleton:_0x2221d0}=_0x2cb8e2,{scene:_0x967e5f}=this['_context'];_0x967e5f[_0xd75fd(0x3d8)][_0xd75fd(0x380)](_0x380f2c['debounce'](_0x4919c6=>{const _0x2afeaa=_0xd75fd;var _0x163235,_0x1880b3;const {offsetX:_0x2f67d1,offsetY:_0x491207}=_0x4919c6,{x:_0x3f91d8,y:_0x3400b8}=_0x967e5f[_0x2afeaa(0x2cd)](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x2f67d1,_0x491207])),{scaleX:_0x4b7c97,scaleY:_0x904861}=_0x967e5f[_0x2afeaa(0x40c)](),_0x44aba2=_0x967e5f[_0x2afeaa(0x1fc)](_0x562cf5[_0x2afeaa(0x1c6)][_0x2afeaa(0x2e9)]),_0xb36fb7=_0x967e5f['getVpScrollXYInfoByPosToVp'](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x3f91d8,_0x3400b8]),_0x44aba2),_0x26dd48=_0x2221d0[_0x2afeaa(0x284)](_0x2f67d1,_0x491207,_0x4b7c97,_0x904861,_0xb36fb7);((_0x163235=this[_0x2afeaa(0x402)])==null?void 0x0:_0x163235[_0x2afeaa(0x214)])===_0x26dd48['column']&&((_0x1880b3=this[_0x2afeaa(0x402)])==null?void 0x0:_0x1880b3[_0x2afeaa(0x3e0)])===_0x26dd48[_0x2afeaa(0x3e0)]||this[_0x2afeaa(0x395)][_0x2afeaa(0x258)](_0x44b1da=>{const _0x2122f7=_0x2afeaa;_0x44b1da[_0x2122f7(0x24c)](_0x26dd48);});},0x64));});}[_0x223248(0x1f3)](_0x3ae999,_0xc86bf2){const _0xcc79de=_0x223248;var _0x54a566;const _0xfb5445=(_0x54a566=this[_0xcc79de(0x3a6)][_0xcc79de(0x342)]())==null?void 0x0:_0x54a566[_0xcc79de(0x21c)];if(!_0xfb5445)return;const _0x4bd58b=this[_0xcc79de(0x40f)]();if(!_0x4bd58b)return;this[_0xcc79de(0x395)][_0xcc79de(0x258)](_0x14a6c2=>{const _0x192ae9=_0xcc79de;_0x14a6c2[_0x192ae9(0x2c3)]();});const {scene:_0x2910de}=_0x4bd58b,_0x158cf8=_0x426ff1(Array[_0xcc79de(0x2de)](_0xc86bf2[_0xcc79de(0x215)]()))[_0xcc79de(0x287)](_0x3500b8=>{const _0x1de1b6=_0xcc79de,{color:_0x5ae35b,range:_0x4c6cf0,name:_0x2f98a9,selection:_0x4b006e,sheetID:_0x1a7292}=_0x3500b8,{startColumn:_0x2b8c11,startRow:_0xc76de1,endColumn:_0x1f4ed4,endRow:_0x4be8ff}=_0x4c6cf0,_0xdbece8=_0x1f7bce[_0x1de1b6(0x1e3)](_0xc76de1,_0x2b8c11,_0x2910de,_0xfb5445),_0x3d4ecb=_0x1f7bce[_0x1de1b6(0x1e3)](_0x4be8ff,_0x1f4ed4,_0x2910de,_0xfb5445),{columnHeaderHeightAndMarginTop:_0x2b7f87}=_0xfb5445,{startX:_0x38f9de,startY:_0x15554e}=_0xdbece8,{endX:_0x57b007,endY:_0x2c4762}=_0x3d4ecb,_0x38f0fe=_0x57b007-_0x38f9de,_0x184a66=_0x2c4762-_0x15554e,_0x40d80a={'labelPosition':_0x15554e-_0x2b7f87>=_0x120bab?_0x1de1b6(0x2ee):_0x1de1b6(0x1a0),'sheetID':_0x1a7292,'range':_0x4c6cf0,'color':_0x5ae35b,'name':_0x2f98a9,'selection':_0x4b006e,'left':_0x38f9de,'top':_0x15554e,'width':_0x38f0fe,'height':_0x184a66,'evented':!0x1,'zIndex':_0xbdb9c2};return new _0x337b75(_0x2f98a9,_0x40d80a);});_0x2910de[_0xcc79de(0x1aa)](_0x158cf8,_0x117d2d),this['_cursors']=new Set(_0x158cf8);}['_removeCollabCursors'](){const _0x1fe30e=_0x223248;var _0xf5fc56;(_0xf5fc56=this['_cursors'])==null||_0xf5fc56['forEach'](_0x747be6=>_0x747be6[_0x1fe30e(0x1d8)]());}[_0x223248(0x40f)](){const _0x2235ff=_0x223248;return _0x1f7bce[_0x2235ff(0x3db)](this[_0x2235ff(0x3dd)][_0x2235ff(0x3f3)],this[_0x2235ff(0x3dd)]);}};_0x15d7ee=_0x2a5fdb([_0x18b007(0x1,_0x380f2c[_0x223248(0x352)](_0x1f7bce[_0x223248(0x343)])),_0x18b007(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0x18b007(0x3,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x15d7ee);function _0x426ff1(_0x44c859){const _0x47da44=_0x223248,_0x498079=new Map();return _0x44c859[_0x47da44(0x258)](_0x2c5fde=>{const _0x31f40c=_0x47da44;if(_0x498079['has'](_0x2c5fde[_0x31f40c(0x400)])){const _0x476f36=_0x498079['get'](_0x2c5fde[_0x31f40c(0x400)]);_0x476f36['name']+=',\x20'+_0x2c5fde[_0x31f40c(0x2b5)];}else _0x498079[_0x31f40c(0x269)](_0x2c5fde[_0x31f40c(0x400)],_0x2c5fde);}),Array[_0x47da44(0x2de)](_0x498079['values']());}var _0x4e7b9b=function(){const _0x268c69=_0x223248;return _0x4e7b9b=Object[_0x268c69(0x245)]||function(_0x470bcd){const _0x202b47=_0x268c69;for(var _0x428e19,_0x4210ef=0x1,_0x24397d=arguments[_0x202b47(0x25a)];_0x4210ef<_0x24397d;_0x4210ef++){_0x428e19=arguments[_0x4210ef];for(var _0x956626 in _0x428e19)Object[_0x202b47(0x40d)][_0x202b47(0x2fa)][_0x202b47(0x2a8)](_0x428e19,_0x956626)&&(_0x470bcd[_0x956626]=_0x428e19[_0x956626]);}return _0x470bcd;},_0x4e7b9b[_0x268c69(0x35c)](this,arguments);},_0x1b2e40=function(_0x28670d,_0x14131c){const _0x139546=_0x223248;var _0x11194b={};for(var _0x3e8809 in _0x28670d)Object['prototype'][_0x139546(0x2fa)]['call'](_0x28670d,_0x3e8809)&&_0x14131c['indexOf'](_0x3e8809)<0x0&&(_0x11194b[_0x3e8809]=_0x28670d[_0x3e8809]);if(_0x28670d!=null&&typeof Object[_0x139546(0x3de)]==_0x139546(0x1ca)){for(var _0xc209b5=0x0,_0x3e8809=Object[_0x139546(0x3de)](_0x28670d);_0xc209b5<_0x3e8809[_0x139546(0x25a)];_0xc209b5++)_0x14131c[_0x139546(0x3a4)](_0x3e8809[_0xc209b5])<0x0&&Object[_0x139546(0x40d)]['propertyIsEnumerable'][_0x139546(0x2a8)](_0x28670d,_0x3e8809[_0xc209b5])&&(_0x11194b[_0x3e8809[_0xc209b5]]=_0x28670d[_0x3e8809[_0xc209b5]]);}return _0x11194b;},_0x2966a1=_0x4a2e64['forwardRef'](function(_0x45d314,_0x3575e1){const _0x1ef882=_0x223248;var _0x1248a5=_0x45d314['icon'],_0x311e69=_0x45d314['id'],_0x117104=_0x45d314['className'],_0x12e246=_0x45d314[_0x1ef882(0x363)],_0xec009d=_0x1b2e40(_0x45d314,[_0x1ef882(0x3d2),'id','className',_0x1ef882(0x363)]),_0x14792a=_0x1ef882(0x221)['concat'](_0x311e69,'\x20')[_0x1ef882(0x1cb)](_0x117104||'')['trim'](),_0x54832a=_0x4a2e64[_0x1ef882(0x3f4)]('_'['concat'](_0x306b9d()));return _0x4dc9b5(_0x1248a5,''[_0x1ef882(0x1cb)](_0x311e69),{'defIds':_0x1248a5[_0x1ef882(0x2ab)],'idSuffix':_0x54832a[_0x1ef882(0x212)]},_0x4e7b9b({'ref':_0x3575e1,'className':_0x14792a},_0xec009d),_0x12e246);});function _0x4dc9b5(_0x554443,_0x182222,_0x2ecccd,_0x4f540f,_0x11799a){const _0x191b61=_0x223248;return _0x4a2e64['createElement'](_0x554443[_0x191b61(0x1b7)],_0x4e7b9b(_0x4e7b9b({'key':_0x182222},_0xfed504(_0x554443,_0x2ecccd,_0x11799a)),_0x4f540f),(_0x5c4118(_0x554443,_0x2ecccd)[_0x191b61(0x396)]||[])[_0x191b61(0x287)](function(_0x2abdf6,_0x116efb){const _0x2cb337=_0x191b61;return _0x4dc9b5(_0x2abdf6,''[_0x2cb337(0x1cb)](_0x182222,'-')[_0x2cb337(0x1cb)](_0x554443[_0x2cb337(0x1b7)],'-')[_0x2cb337(0x1cb)](_0x116efb),_0x2ecccd,void 0x0,_0x11799a);}));}function _0xfed504(_0x50986a,_0x3434a5,_0x23f7f6){const _0x4eaf0d=_0x223248;var _0x256e36=_0x4e7b9b({},_0x50986a[_0x4eaf0d(0x246)]);_0x23f7f6!=null&&_0x23f7f6['colorChannel1']&&_0x256e36['fill']==='colorChannel1'&&(_0x256e36[_0x4eaf0d(0x2ca)]=_0x23f7f6[_0x4eaf0d(0x200)]),_0x50986a[_0x4eaf0d(0x1b7)]==='mask'&&_0x256e36['id']&&(_0x256e36['id']=_0x256e36['id']+_0x3434a5['idSuffix']),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x253742){const _0x4a481e=_0x4eaf0d;var _0x4700e8=_0x253742[0x0],_0x396a15=_0x253742[0x1];_0x4700e8==='mask'&&typeof _0x396a15==_0x4a481e(0x3f2)&&(_0x256e36[_0x4700e8]=_0x396a15['replace'](/url\(#(.*)\)/,_0x4a481e(0x1bd)[_0x4a481e(0x1cb)](_0x3434a5[_0x4a481e(0x1f7)],')')));});var _0x3b46c8=_0x3434a5[_0x4eaf0d(0x2ab)];return!_0x3b46c8||_0x3b46c8['length']===0x0||(_0x50986a['tag']===_0x4eaf0d(0x3f9)&&_0x256e36[_0x4eaf0d(0x26b)]&&(_0x256e36['xlink:href']=_0x256e36['xlink:href']+_0x3434a5[_0x4eaf0d(0x1f7)]),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x4690c0){const _0xca1a6=_0x4eaf0d;var _0x190cc7=_0x4690c0[0x0],_0x2a51f2=_0x4690c0[0x1];typeof _0x2a51f2==_0xca1a6(0x3f2)&&(_0x256e36[_0x190cc7]=_0x2a51f2['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3434a5[_0xca1a6(0x1f7)],')')));})),_0x256e36;}function _0x5c4118(_0x3a6d6b,_0x2f90f3){const _0x53254d=_0x223248;var _0x3bba4e,_0x337405=_0x2f90f3[_0x53254d(0x2ab)];return!_0x337405||_0x337405[_0x53254d(0x25a)]===0x0?_0x3a6d6b:_0x3a6d6b[_0x53254d(0x1b7)]==='defs'&&(!((_0x3bba4e=_0x3a6d6b[_0x53254d(0x396)])===null||_0x3bba4e===void 0x0)&&_0x3bba4e[_0x53254d(0x25a)])?_0x4e7b9b(_0x4e7b9b({},_0x3a6d6b),{'children':_0x3a6d6b['children'][_0x53254d(0x287)](function(_0x555c8a){const _0x38bd1e=_0x53254d;return typeof _0x555c8a['attrs']['id']=='string'&&_0x337405&&_0x337405[_0x38bd1e(0x3a4)](_0x555c8a[_0x38bd1e(0x246)]['id'])>-0x1?_0x4e7b9b(_0x4e7b9b({},_0x555c8a),{'attrs':_0x4e7b9b(_0x4e7b9b({},_0x555c8a[_0x38bd1e(0x246)]),{'id':_0x555c8a['attrs']['id']+_0x2f90f3['idSuffix']})}):_0x555c8a;})}):_0x3a6d6b;}function _0x306b9d(){const _0x3cd4e8=_0x223248;return Math[_0x3cd4e8(0x1ef)]()['toString'](0x24)['substring'](0x2,0x8);}_0x2966a1['displayName']=_0x223248(0x224);var _0x1f761d={'tag':'svg','attrs':{'fill':_0x223248(0x292),'viewBox':_0x223248(0x2a2),'width':_0x223248(0x248),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x394)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':_0x223248(0x19c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x223248(0x369)]},_0x444a0a=_0x4a2e64['forwardRef'](function(_0x52406b,_0x4f231c){const _0x56a3a8=_0x223248;return _0x4a2e64[_0x56a3a8(0x1cd)](_0x2966a1,Object[_0x56a3a8(0x245)]({},_0x52406b,{'id':'off-line-single','ref':_0x4f231c,'icon':_0x1f761d}));});_0x444a0a[_0x223248(0x1e4)]='OffLineSingle';var _0x231d50={'tag':_0x223248(0x227),'attrs':{'fill':'none','viewBox':_0x223248(0x1da),'width':_0x223248(0x248),'height':_0x223248(0x248)},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x2e4)},'children':[{'tag':_0x223248(0x1fa),'attrs':{'stroke':_0x223248(0x1a8),'d':_0x223248(0x25f),'strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x223248(0x3c1)}}]}]}],'defIds':[_0x223248(0x2d2)]},_0x444e24=_0x4a2e64[_0x223248(0x27c)](function(_0x36a7e1,_0x1798fd){const _0x2d30ef=_0x223248;return _0x4a2e64['createElement'](_0x2966a1,Object[_0x2d30ef(0x245)]({},_0x36a7e1,{'id':_0x2d30ef(0x324),'ref':_0x1798fd,'icon':_0x231d50}));});_0x444e24['displayName']=_0x223248(0x225);function _0x218869(_0x25e04a){const _0xc6292=_0x223248;switch(_0x25e04a){case _0x25172a['CollaborationStatus']['OFFLINE']:return _0xc6292(0x28d);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x262)]:return _0xc6292(0x35f);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x421)]:return _0xc6292(0x1e8);case _0x25172a['CollaborationStatus'][_0xc6292(0x1cc)]:return _0xc6292(0x1ba);case _0x25172a['CollaborationStatus'][_0xc6292(0x301)]:case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x3e3)]:return _0xc6292(0x249);case _0x25172a[_0xc6292(0x1de)]['SYNCED']:case _0x25172a['CollaborationStatus'][_0xc6292(0x3ee)]:return _0xc6292(0x2bd);}}function _0xd9adf4(_0x49400e){const _0x1539be=_0x223248,{status$:_0x294456}=_0x49400e,_0x221217=_0x26ee6d['useObservable'](_0x294456,_0x25172a[_0x1539be(0x1de)][_0x1539be(0x1cc)]),_0x1f4213=_0x26ee6d[_0x1539be(0x29f)](_0x380f2c[_0x1539be(0x1fd)]),_0x2c51e2=_0x26ee6d[_0x1539be(0x29f)](_0x25172a[_0x1539be(0x406)]),_0x2c4444=_0x221217!==_0x25172a['CollaborationStatus'][_0x1539be(0x387)],_0x68b17d=_0x1f4213['t'](_0x218869(_0x221217)),_0xbe29e8=_0x2c4444?_0x5bcf77[_0x1539be(0x32a)](_0x444e24,{}):_0x5bcf77[_0x1539be(0x32a)](_0x444a0a,{}),_0x5ae8e0=_0x4a2e64[_0x1539be(0x31e)](()=>{const _0x228553=_0x1539be;_0x2c4444||_0x2c51e2[_0x228553(0x2c2)]();},[_0x2c4444,_0x2c51e2]);function _0x8273d1(){const _0xe9d892=_0x1539be;return _0x5bcf77[_0xe9d892(0x3e5)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5ae8e0,'children':[_0x5bcf77[_0xe9d892(0x32a)](_0xe9d892(0x222),{'className':_0x4cdd5d['clsx'](_0xe9d892(0x34c),_0x2c4444?_0xe9d892(0x2cf):_0xe9d892(0x19b)),'children':_0xbe29e8}),_0x5bcf77[_0xe9d892(0x32a)]('div',{'className':_0xe9d892(0x38b),'children':_0x68b17d})]});}return _0x2c4444?_0x8273d1():_0x5bcf77[_0x1539be(0x32a)](_0x4cdd5d['Tooltip'],{'title':_0x1f4213['t']('collab-client.tooltip.reconnect'),'children':_0x8273d1()});}var _0x3b817e=Object[_0x223248(0x265)],_0x44b863=(_0x5ebe07,_0x4f4a49,_0x3c5423,_0x34ecde)=>{const _0x3dcaa9=_0x223248;for(var _0x5df9d1=_0x34ecde>0x1?void 0x0:_0x34ecde?_0x3b817e(_0x4f4a49,_0x3c5423):_0x4f4a49,_0x5847bf=_0x5ebe07[_0x3dcaa9(0x25a)]-0x1,_0x5a4304;_0x5847bf>=0x0;_0x5847bf--)(_0x5a4304=_0x5ebe07[_0x5847bf])&&(_0x5df9d1=_0x5a4304(_0x5df9d1)||_0x5df9d1);return _0x5df9d1;},_0x1db15a=(_0x1f8c40,_0x45686f)=>(_0x302058,_0x2143e7)=>_0x45686f(_0x302058,_0x2143e7,_0x1f8c40);_0x4394f4[_0x223248(0x32e)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x446e6a,_0x180e1b,_0x47ec23,_0x167bbf){const _0x3d931c=_0x223248;super(),_0x44255b(this,'_status$',new _0x309759['BehaviorSubject'](_0x25172a[_0x3d931c(0x1de)][_0x3d931c(0x1cc)])),(this[_0x3d931c(0x33f)]=_0x446e6a,this[_0x3d931c(0x1d3)]=_0x180e1b,this[_0x3d931c(0x1b4)]=_0x47ec23,this['_uiPartsService']=_0x167bbf,this[_0x3d931c(0x226)](),this[_0x3d931c(0x2f2)]());}[_0x223248(0x2f2)](){const _0x13da62=_0x223248;this[_0x13da62(0x1e9)](this[_0x13da62(0x33f)][_0x13da62(0x244)][_0x13da62(0x278)](_0x309759['switchMap'](()=>{const _0x5cc1cc=_0x13da62,_0x6a7802=this[_0x5cc1cc(0x33f)][_0x5cc1cc(0x2f1)]();return _0x6a7802?this[_0x5cc1cc(0x1b4)]['getCollabEntity$'](_0x6a7802[_0x5cc1cc(0x302)]()):_0x309759['of'](null);}),_0x309759[_0x13da62(0x21a)](_0x43e3a1=>_0x43e3a1?_0x43e3a1[_0x13da62(0x338)]:_0x309759['of'](_0x25172a[_0x13da62(0x1de)][_0x13da62(0x1cc)])))[_0x13da62(0x1d9)](_0x5cb8ac=>{const _0x32a4d2=_0x13da62;this['_status$'][_0x32a4d2(0x428)](_0x5cb8ac);}));}['_initStatusComponent'](){const _0x1e4813=_0x223248;this[_0x1e4813(0x1e9)](this[_0x1e4813(0x3c0)][_0x1e4813(0x204)](_0x26ee6d[_0x1e4813(0x26e)][_0x1e4813(0x2d0)],()=>_0x26ee6d[_0x1e4813(0x198)](_0x644704({'status$':this[_0x1e4813(0x32b)]['asObservable']()}),this[_0x1e4813(0x1d3)])));}},_0x4394f4[_0x223248(0x32e)]=_0x44b863([_0x1db15a(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x1db15a(0x1,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x1db15a(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x1db15a(0x3,_0x26ee6d[_0x223248(0x345)])],_0x4394f4[_0x223248(0x32e)]);function _0x644704(_0x2b358f){const {status$:_0x2605b8}=_0x2b358f;return function(){const _0x41d916=_0x316b;return _0x5bcf77[_0x41d916(0x32a)](_0xd9adf4,{'status$':_0x2605b8});};}var _0x48246f=Object[_0x223248(0x265)],_0x53de4f=(_0x220709,_0x4d3cc8,_0x44c15a,_0x341814)=>{const _0x5baab3=_0x223248;for(var _0x33a9c3=_0x341814>0x1?void 0x0:_0x341814?_0x48246f(_0x4d3cc8,_0x44c15a):_0x4d3cc8,_0x2742f7=_0x220709[_0x5baab3(0x25a)]-0x1,_0x30f584;_0x2742f7>=0x0;_0x2742f7--)(_0x30f584=_0x220709[_0x2742f7])&&(_0x33a9c3=_0x30f584(_0x33a9c3)||_0x33a9c3);return _0x33a9c3;},_0x293df1=(_0x2b8a01,_0x2dc577)=>(_0x502d16,_0x101208)=>_0x2dc577(_0x502d16,_0x101208,_0x2b8a01);let _0x1cac79=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x57bb7f,_0x3be8f4,_0x4279c2,_0x3cee2d,_0x3e5ac7,_0x405720){const _0xbcea1=_0x223248;super(),this[_0xbcea1(0x370)]=_0x57bb7f,this[_0xbcea1(0x403)]=_0x3be8f4,this[_0xbcea1(0x19d)]=_0x4279c2,this[_0xbcea1(0x318)]=_0x3cee2d,this[_0xbcea1(0x228)]=_0x3e5ac7,this['_localeService']=_0x405720,this[_0xbcea1(0x264)](),this[_0xbcea1(0x196)]();}[_0x223248(0x264)](){const _0x2a184d=_0x223248;this[_0x2a184d(0x1e9)](this[_0x2a184d(0x370)][_0x2a184d(0x3fd)](()=>{const _0x239a3d=_0x2a184d;if(this['_localCacheService'][_0x239a3d(0x364)][_0x239a3d(0x2c5)])return this['_localeService']['t'](_0x239a3d(0x2ed));}));}[_0x223248(0x196)](){const _0x538ae0=_0x223248;this[_0x538ae0(0x1e9)](this['_collaborationUIEventService'][_0x538ae0(0x294)][_0x538ae0(0x1d9)](_0xfa7478=>{const _0x33c542=_0x538ae0;_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['OTHER_CLIENT_EDITING']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType']['Warning'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x2f0))}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x2e8)]&&this['_messageService'][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType'][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x38e)]&&this['_notificationService'][_0x33c542(0x3a7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x3ef)),'type':'error','duration':0x0}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['CONFLICT']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)]['Error'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))+'('+_0xfa7478['data']+')'}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x377)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0xfa7478[_0x33c542(0x2a1)]||'')}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x3b8)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x270))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x2fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x1ad))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x1fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cac79=_0x53de4f([_0x293df1(0x0,_0x26ee6d[_0x223248(0x390)]),_0x293df1(0x1,_0x25172a[_0x223248(0x20b)]),_0x293df1(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x376)])),_0x293df1(0x3,_0x26ee6d[_0x223248(0x300)]),_0x293df1(0x4,_0x26ee6d[_0x223248(0x424)]),_0x293df1(0x5,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x1cac79);const _0x1840e5=_0x223248(0x266),_0xda5603={},_0x51b8d1=_0x380f2c[_0x223248(0x306)]('uni.network.url-service');var _0x2da082=Object[_0x223248(0x265)],_0x46908c=(_0x2ec75e,_0x5f3012,_0x3c5843,_0x35e957)=>{const _0x227029=_0x223248;for(var _0x4ac198=_0x35e957>0x1?void 0x0:_0x35e957?_0x2da082(_0x5f3012,_0x3c5843):_0x5f3012,_0x1354a9=_0x2ec75e[_0x227029(0x25a)]-0x1,_0x3873d8;_0x1354a9>=0x0;_0x1354a9--)(_0x3873d8=_0x2ec75e[_0x1354a9])&&(_0x4ac198=_0x3873d8(_0x4ac198)||_0x4ac198);return _0x4ac198;},_0x4ca138=(_0x14e7fd,_0x1f69d5)=>(_0x1393b5,_0x453830)=>_0x1f69d5(_0x1393b5,_0x453830,_0x14e7fd);_0x4394f4[_0x223248(0x31a)]=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x143a86,_0x21387f,_0x416123,_0x48f529,_0x9c8f6){const _0x1edea6=_0x223248;super(),this[_0x1edea6(0x223)]=_0x143a86,this[_0x1edea6(0x25d)]=_0x21387f,this['_commandService']=_0x416123,this[_0x1edea6(0x236)]=_0x48f529,_0x9c8f6?_0x9c8f6==null||_0x9c8f6[_0x1edea6(0x254)]()[_0x1edea6(0x3f6)](()=>this[_0x1edea6(0x18f)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1edea6(0x348)),this[_0x1edea6(0x18f)]());}async[_0x223248(0x18f)](){const _0x2762cb=_0x223248,_0x1875ac=this['_urlService'][_0x2762cb(0x313)]('unit'),_0x1e8785=this[_0x2762cb(0x223)][_0x2762cb(0x313)](_0x2762cb(0x33a)),_0x52d860=this['_urlService'][_0x2762cb(0x313)](_0x2762cb(0x317));if(!_0x1875ac||!_0x1e8785){this[_0x2762cb(0x25d)][_0x2762cb(0x3f0)](_0x2762cb(0x3bd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x47f142=await this['_dataLoaderService'][_0x2762cb(0x3e9)](_0x1875ac,Number(_0x1e8785),_0x52d860);_0x47f142&&_0x47f142 instanceof _0x380f2c[_0x2762cb(0x417)]&&this[_0x2762cb(0x308)](_0x47f142);}async[_0x223248(0x308)](_0xb9cbb5){const _0x54a769=_0x223248;await this[_0x54a769(0x24f)](_0xb9cbb5),_0xb9cbb5[_0x54a769(0x298)]['pipe'](_0x309759['takeUntil'](this['dispose$']))[_0x54a769(0x1d9)](_0x2c50df=>{const _0xbe68cc=_0x54a769;_0x2c50df&&this[_0xbe68cc(0x250)](_0x2c50df);}),this['_urlService'][_0x54a769(0x385)][_0x54a769(0x278)](_0x309759[_0x54a769(0x40b)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xb9cbb5));}[_0x223248(0x250)](_0x42f696,_0x4aa157=!0x1){const _0x4d0419=_0x223248,_0x59167e=this[_0x4d0419(0x223)][_0x4d0419(0x313)](_0x4d0419(0x317));_0x42f696[_0x4d0419(0x3aa)]()!==_0x59167e&&this['_urlService'][_0x4d0419(0x24b)]('subunit',_0x42f696[_0x4d0419(0x3aa)](),_0x4aa157);}async['_updateSubUnitFromURLParams'](_0x313140){const _0x5ed4bb=_0x223248;var _0x2e1b24;const _0x1732d7=this[_0x5ed4bb(0x223)][_0x5ed4bb(0x313)](_0x5ed4bb(0x317));if(!_0x1732d7||!_0x313140[_0x5ed4bb(0x399)](_0x1732d7)){const _0x4de6d8=_0x313140[_0x5ed4bb(0x21f)]()[0x0],_0x3739c3=_0x313140['getSheetBySheetId'](_0x4de6d8);if(!_0x3739c3)return;this[_0x5ed4bb(0x250)](_0x3739c3,!0x0),await this[_0x5ed4bb(0x1f1)][_0x5ed4bb(0x234)](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x4de6d8});return;}((_0x2e1b24=_0x313140[_0x5ed4bb(0x1c4)]())==null?void 0x0:_0x2e1b24[_0x5ed4bb(0x3aa)]())!==_0x1732d7&&await this[_0x5ed4bb(0x1f1)]['executeCommand'](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x1732d7});}},_0x4394f4[_0x223248(0x31a)]=_0x46908c([_0x4ca138(0x0,_0x51b8d1),_0x4ca138(0x1,_0x380f2c['ILogService']),_0x4ca138(0x2,_0x380f2c[_0x223248(0x36e)]),_0x4ca138(0x3,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x372)])),_0x4ca138(0x4,_0x380f2c['Optional'](_0x1bf57e['IRemoteInstanceService']))],_0x4394f4['CollaborationDataLoaderController']);var _0x57e896=Object[_0x223248(0x265)],_0x56e0cf=(_0x2092ef,_0x2f9b82,_0x5614a6,_0x280260)=>{const _0x4da62f=_0x223248;for(var _0x69b459=_0x280260>0x1?void 0x0:_0x280260?_0x57e896(_0x2f9b82,_0x5614a6):_0x2f9b82,_0x2f390c=_0x2092ef[_0x4da62f(0x25a)]-0x1,_0x29300b;_0x2f390c>=0x0;_0x2f390c--)(_0x29300b=_0x2092ef[_0x2f390c])&&(_0x69b459=_0x29300b(_0x69b459)||_0x69b459);return _0x69b459;},_0x26b2f9=(_0x151a51,_0x1f6d1a)=>(_0x4bdf8b,_0x54d989)=>_0x1f6d1a(_0x4bdf8b,_0x54d989,_0x151a51);let _0x32a844=class{constructor(_0x3daba4,_0x33f31c,_0x329de9){const _0x45257f=_0x223248;this[_0x45257f(0x1d3)]=_0x3daba4,this[_0x45257f(0x329)]=_0x33f31c,this['_renderManagerService']=_0x329de9;}[_0x223248(0x2b9)](_0x101df7){const _0x15deca=_0x223248;this[_0x15deca(0x26f)](_0x101df7),this[_0x15deca(0x3a8)](_0x101df7);}[_0x223248(0x23d)](_0xd6e13a){const _0x482682=_0x223248,{unitID:_0x45d514}=_0xd6e13a,_0x32d92c=this['_renderManagerService'][_0x482682(0x334)](_0x45d514)[_0x482682(0x309)](_0x245556[_0x482682(0x268)]),{redoCache:_0x3d5522}=_0x32d92c[_0x482682(0x267)]();if(_0x3d5522[_0x482682(0x25a)]===0x0)return _0xd6e13a;let _0x12af0e=_0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a[_0x482682(0x1d4)][0x0]);for(let _0x5c2d7f=0x0;_0x5c2d7f<_0x3d5522[_0x482682(0x25a)];_0x5c2d7f++){const _0x3d083b={'id':_0x482682(0x3f5),'params':{..._0x3d5522[_0x5c2d7f]}},_0x42f3a9=this[_0x482682(0x329)]['transformMutation'](_0x12af0e,_0x3d083b,!0x1);if(_0x4946eb[_0x482682(0x1b1)](_0x42f3a9))throw _0x42f3a9[_0x482682(0x3cb)];_0x12af0e=_0x42f3a9[_0x482682(0x1f2)];}return{..._0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a),'mutations':[_0x12af0e]};}[_0x223248(0x26f)](_0x382b1f){const _0x268f01=_0x223248,{unitID:_0x333811}=_0x382b1f,_0x8d05aa=this[_0x268f01(0x373)][_0x268f01(0x334)](_0x333811)['with'](_0x245556['DocIMEInputManagerService']),{undoCache:_0x599b6f,redoCache:_0x58d804}=_0x8d05aa['getUndoRedoMutationParamsCache']();if(_0x599b6f[_0x268f01(0x25a)]===0x0||_0x58d804[_0x268f01(0x25a)]===0x0)return;const _0x4d80da=[],_0x10695f=[];let _0x5d4d4c=_0x380f2c[_0x268f01(0x31c)][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]),_0x372d43=_0x380f2c['Tools'][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]);for(let _0x148675=_0x599b6f['length']-0x1;_0x148675>=0x0;_0x148675--){const _0x15f805={'id':_0x268f01(0x3f5),'params':{..._0x599b6f[_0x148675]}},_0x29e107={'id':_0x268f01(0x3f5),'params':{..._0x58d804[_0x148675]}},_0x20718d=this[_0x268f01(0x329)][_0x268f01(0x240)](_0x5d4d4c,_0x15f805,!0x1),_0xdf6075=this['_transformService'][_0x268f01(0x240)](_0x372d43,_0x29e107,!0x1);if(_0x4946eb[_0x268f01(0x1b1)](_0x20718d))throw _0x20718d[_0x268f01(0x3cb)];if(_0x4946eb[_0x268f01(0x1b1)](_0xdf6075))throw _0xdf6075[_0x268f01(0x3cb)];_0x4d80da[_0x268f01(0x2a9)](_0x20718d['m2Prime'][_0x268f01(0x28f)]),_0x10695f[_0x268f01(0x2a9)](_0xdf6075[_0x268f01(0x353)][_0x268f01(0x28f)]),_0x5d4d4c=_0x20718d[_0x268f01(0x1f2)],_0x372d43=_0xdf6075['m1Prime'];}_0x8d05aa[_0x268f01(0x29e)]({'undoCache':_0x4d80da,'redoCache':_0x10695f});}['_transformPreviousActiveRange'](_0x27c4c0){const _0x3403c5=_0x223248,{unitID:_0x52af34}=_0x27c4c0,_0xcc4533=this[_0x3403c5(0x373)][_0x3403c5(0x334)](_0x52af34)[_0x3403c5(0x309)](_0x245556[_0x3403c5(0x268)]),_0x3ae3d3=_0xcc4533['getActiveRange']();if(_0x3ae3d3==null)return;const _0x37a414=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x27c4c0['unitID'],'actions':null,'textRanges':[_0x3ae3d3]}}],_0x122dda=this['_transformService'][_0x3403c5(0x263)](_0x27c4c0,_0x37a414);if(!_0x4946eb['isTransformMutationsWithChangesetSuccess'](_0x122dda))throw _0x122dda[_0x3403c5(0x3cb)];const _0x3b55c3=_0x122dda['m2Prime'][0x0][_0x3403c5(0x28f)][_0x3403c5(0x3d3)];Array[_0x3403c5(0x1c5)](_0x3b55c3)&&_0x3b55c3['length']&&_0xcc4533['setActiveRange'](_0x3b55c3[0x0]);}};_0x32a844=_0x56e0cf([_0x26b2f9(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x26b2f9(0x1,_0x4946eb[_0x223248(0x382)]),_0x26b2f9(0x2,_0x562cf5['IRenderManagerService'])],_0x32a844);var _0x25d3cf=Object['getOwnPropertyDescriptor'],_0xf02698=(_0x2cc5b4,_0x59c9b5,_0x5e51a8,_0x23c823)=>{const _0x1dc782=_0x223248;for(var _0x468224=_0x23c823>0x1?void 0x0:_0x23c823?_0x25d3cf(_0x59c9b5,_0x5e51a8):_0x59c9b5,_0x3df313=_0x2cc5b4[_0x1dc782(0x25a)]-0x1,_0xbc8c87;_0x3df313>=0x0;_0x3df313--)(_0xbc8c87=_0x2cc5b4[_0x3df313])&&(_0x468224=_0xbc8c87(_0x468224)||_0x468224);return _0x468224;},_0x2e01d2=(_0x30dcde,_0x229c65)=>(_0x2e60d7,_0xc47a8c)=>_0x229c65(_0x2e60d7,_0xc47a8c,_0x30dcde);let _0x2ef4ce=class{constructor(_0x37c6e8,_0x55fc0a,_0x4e3983){const _0x36b87f=_0x223248;this['_injector']=_0x37c6e8,this[_0x36b87f(0x329)]=_0x55fc0a,this['_docStateChangeManagerService']=_0x4e3983;}[_0x223248(0x34b)](_0x380d44){this['_transformHistoryAndStateStack'](_0x380d44);}[_0x223248(0x23d)](_0x27a926){const _0x880ba1=_0x223248,{unitID:_0x6b3c37}=_0x27a926,{collaboration:_0x226a73}=this[_0x880ba1(0x23a)][_0x880ba1(0x384)](_0x6b3c37);if(_0x226a73[_0x880ba1(0x25a)]===0x0)return _0x27a926;let _0x2d48fc=_0x380f2c['Tools']['deepClone'](_0x27a926[_0x880ba1(0x1d4)][0x0]);for(let _0x15256c=0x0;_0x15256c<_0x226a73[_0x880ba1(0x25a)];_0x15256c++){const _0x3f1b42={'id':_0x880ba1(0x3f5),'params':{'unitId':_0x226a73[_0x15256c]['unitId'],..._0x226a73[_0x15256c][_0x880ba1(0x3f1)]}},_0x38f3b0=this[_0x880ba1(0x329)][_0x880ba1(0x240)](_0x2d48fc,_0x3f1b42,!0x1);if(_0x4946eb[_0x880ba1(0x1b1)](_0x38f3b0))throw _0x38f3b0[_0x880ba1(0x3cb)];_0x2d48fc=_0x38f3b0['m1Prime'];}return{..._0x380f2c['Tools']['deepClone'](_0x27a926),'mutations':[_0x2d48fc]};}[_0x223248(0x1f0)](_0x3579af){const _0x3d9d7d=_0x223248,{unitID:_0x22c4e2}=_0x3579af,{history:_0x38fe9e,collaboration:_0x329158}=this['_docStateChangeManagerService']['getStateCache'](_0x22c4e2);if(_0x38fe9e['length']===0x0&&_0x329158['length']===0x0)return;const _0x35eec0=[],_0x3c8583=[];let _0x305508=_0x380f2c[_0x3d9d7d(0x31c)]['deepClone'](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x4e1d37=_0x38fe9e['length']-0x1;_0x4e1d37>=0x0;_0x4e1d37--){const _0x441fbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3b6)]}},_0x5495dd={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3f1)]}},_0x32571e=this[_0x3d9d7d(0x329)]['transformMutation'](_0x305508,_0x441fbc,!0x1),_0x50b547=this[_0x3d9d7d(0x329)]['transformMutation'](_0x13ef13,_0x5495dd,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x32571e))throw _0x32571e[_0x3d9d7d(0x3cb)];if(_0x4946eb['isTransformMutationFailure'](_0x50b547))throw _0x50b547['error'];_0x35eec0[_0x3d9d7d(0x2a9)]({..._0x38fe9e[_0x4e1d37],'undoState':_0x32571e[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)],'redoState':_0x50b547[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x32571e[_0x3d9d7d(0x1f2)],_0x13ef13=_0x50b547[_0x3d9d7d(0x1f2)];}_0x305508=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c[_0x3d9d7d(0x31c)][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x5ad359=_0x329158[_0x3d9d7d(0x25a)]-0x1;_0x5ad359>=0x0;_0x5ad359--){const _0x241172={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x329158[_0x5ad359]['unitId'],..._0x329158[_0x5ad359][_0x3d9d7d(0x3b6)]}},_0x62cfea={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x329158[_0x5ad359][_0x3d9d7d(0x341)],..._0x329158[_0x5ad359][_0x3d9d7d(0x3f1)]}},_0x52d733=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x305508,_0x241172,!0x1),_0x4fe05c=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x13ef13,_0x62cfea,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x52d733))throw _0x52d733[_0x3d9d7d(0x3cb)];if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x4fe05c))throw _0x4fe05c[_0x3d9d7d(0x3cb)];_0x3c8583['unshift']({..._0x329158[_0x5ad359],'undoState':_0x52d733['m2Prime']['params'],'redoState':_0x4fe05c[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x52d733['m1Prime'],_0x13ef13=_0x4fe05c[_0x3d9d7d(0x1f2)];}this[_0x3d9d7d(0x23a)]['setStateCache'](_0x22c4e2,{'history':_0x35eec0,'collaboration':_0x3c8583});}};_0x2ef4ce=_0xf02698([_0x2e01d2(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x2e01d2(0x1,_0x4946eb[_0x223248(0x382)]),_0x2e01d2(0x2,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)]))],_0x2ef4ce);var _0x2d7dbf=Object['getOwnPropertyDescriptor'],_0x2c6e8e=(_0x5642cd,_0x50db90,_0x325b56,_0x185d79)=>{const _0x50a9e6=_0x223248;for(var _0x5d0c8b=_0x185d79>0x1?void 0x0:_0x185d79?_0x2d7dbf(_0x50db90,_0x325b56):_0x50db90,_0x558658=_0x5642cd[_0x50a9e6(0x25a)]-0x1,_0x5328bb;_0x558658>=0x0;_0x558658--)(_0x5328bb=_0x5642cd[_0x558658])&&(_0x5d0c8b=_0x5328bb(_0x5d0c8b)||_0x5d0c8b);return _0x5d0c8b;},_0x3a5bdf=(_0x259a22,_0x522639)=>(_0x35bcd6,_0x2137bb)=>_0x522639(_0x35bcd6,_0x2137bb,_0x259a22);let _0x1e55c8=class{constructor(_0x326fcf,_0x54a506){const _0xe60b06=_0x223248;this[_0xe60b06(0x1d3)]=_0x326fcf,this[_0xe60b06(0x329)]=_0x54a506;}[_0x223248(0x3ac)](_0xa70327){const _0x79ae46=_0x223248;var _0x53a98d;const _0x19d9fb=this[_0x79ae46(0x1d3)][_0x79ae46(0x3cf)](_0x1bf15b[_0x79ae46(0x279)]),_0xa3b69a=(_0x53a98d=_0x19d9fb['getDocRanges']())!=null?_0x53a98d:[];if(_0xa3b69a['length']===0x0)return;const _0x24895b=_0xa70327[_0x79ae46(0x293)],_0x564b3b=[{'id':_0x79ae46(0x3f5),'params':{'unitId':_0x24895b,'actions':null,'textRanges':_0xa3b69a}}],_0x2c674d=this[_0x79ae46(0x329)]['transformMutationsWithChangeset'](_0xa70327,_0x564b3b);if(!_0x4946eb[_0x79ae46(0x2ac)](_0x2c674d))throw _0x2c674d[_0x79ae46(0x3cb)];const _0xb78b0c=_0x2c674d['m2Prime'][0x0][_0x79ae46(0x28f)][_0x79ae46(0x3d3)];Array[_0x79ae46(0x1c5)](_0xb78b0c)&&_0xb78b0c['length']&&_0x19d9fb[_0x79ae46(0x423)](_0xb78b0c,{'unitId':_0x24895b,'subUnitId':_0x24895b},!0x1);}};_0x1e55c8=_0x2c6e8e([_0x3a5bdf(0x0,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x3a5bdf(0x1,_0x4946eb['ITransformService'])],_0x1e55c8);var _0x3fe5ee=Object[_0x223248(0x265)],_0x134018=(_0x89320d,_0x591e1c,_0x42a0f5,_0x61390f)=>{for(var _0x132a49=_0x61390f>0x1?void 0x0:_0x61390f?_0x3fe5ee(_0x591e1c,_0x42a0f5):_0x591e1c,_0x2818d1=_0x89320d['length']-0x1,_0x57db8f;_0x2818d1>=0x0;_0x2818d1--)(_0x57db8f=_0x89320d[_0x2818d1])&&(_0x132a49=_0x57db8f(_0x132a49)||_0x132a49);return _0x132a49;},_0x360b6a=(_0x2aa3cb,_0xe80aa8)=>(_0x22f098,_0x3ce83d)=>_0xe80aa8(_0x22f098,_0x3ce83d,_0x2aa3cb);let _0x2d6223=class extends _0x380f2c['Disposable']{constructor(_0xaf685c,_0x12f5a1,_0x181172,_0x21c94c,_0x268cc4,_0x16c37b,_0x2f57f3,_0x2e5a1e){const _0x555ff1=_0x223248;super(),_0x44255b(this,_0x555ff1(0x32b),new _0x309759[(_0x555ff1(0x3e2))](_0x25172a['CollaborationStatus'][_0x555ff1(0x1cc)])),(this[_0x555ff1(0x23a)]=_0xaf685c,this[_0x555ff1(0x1b4)]=_0x12f5a1,this[_0x555ff1(0x1bc)]=_0x181172,this[_0x555ff1(0x2d8)]=_0x21c94c,this[_0x555ff1(0x1ff)]=_0x268cc4,this['_docSyncEditingCollabCursorService']=_0x16c37b,this[_0x555ff1(0x318)]=_0x2f57f3,this['_localeService']=_0x2e5a1e,this[_0x555ff1(0x2c7)]());}[_0x223248(0x2c7)](){const _0x445f7c=_0x223248;this[_0x445f7c(0x1e9)](this[_0x445f7c(0x1b4)][_0x445f7c(0x20a)][_0x445f7c(0x1d9)](_0x6efa92=>{const _0x335c75=_0x445f7c,_0x51ae5b=this[_0x335c75(0x23a)][_0x335c75(0x1bb)][_0x335c75(0x1d9)](_0x258650=>{const _0x45cd35=_0x335c75;if(_0x258650==null)return;const {unitId:_0x471cef,redoState:_0x333353,commandId:_0x2ce930}=_0x258650;if(_0x471cef!==_0x6efa92[_0x45cd35(0x293)])return;const _0x4dadf9={'id':_0x2ce930,'type':_0x380f2c[_0x45cd35(0x3d4)][_0x45cd35(0x2d1)],'params':{'unitId':_0x471cef,'actions':_0x333353[_0x45cd35(0x2aa)],'textRanges':null}};_0x6efa92[_0x45cd35(0x1c2)](_0x4dadf9);});if(_0x6efa92[_0x335c75(0x1e9)](_0x51ae5b),_0x6efa92 instanceof _0x25172a[_0x335c75(0x1e5)]){const _0x84c444={'onTransformIME':_0x19cc3f=>this['_docTransformIMECacheService'][_0x335c75(0x2b9)](_0x19cc3f),'onTransformState':_0x54b407=>this[_0x335c75(0x2d8)]['transformStateCache'](_0x54b407),'onTransformSelections':_0x1065f8=>this[_0x335c75(0x1ff)][_0x335c75(0x3ac)](_0x1065f8),'onSyncEditingCollabCursor':_0x2ee3d6=>this[_0x335c75(0x237)][_0x335c75(0x3b5)](_0x2ee3d6),'onTransformRemoteChangesetByIMECache':_0x4fafea=>this[_0x335c75(0x1bc)]['transformRemoteChangeset'](_0x4fafea),'onTransformRemoteChangesetByStateCache':_0x348022=>this[_0x335c75(0x2d8)][_0x335c75(0x23d)](_0x348022)};_0x6efa92['addHandlerCallback'](_0x84c444);}}));}};_0x2d6223=_0x134018([_0x360b6a(0x0,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)])),_0x360b6a(0x1,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x360b6a(0x2,_0x380f2c[_0x223248(0x352)](_0x32a844)),_0x360b6a(0x3,_0x380f2c[_0x223248(0x352)](_0x2ef4ce)),_0x360b6a(0x4,_0x380f2c['Inject'](_0x1e55c8)),_0x360b6a(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x360b6a(0x6,_0x26ee6d[_0x223248(0x300)]),_0x360b6a(0x7,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x2d6223);var _0x398512=Object[_0x223248(0x265)],_0x4734bc=(_0xc45cbb,_0x44d3b2,_0x5da003,_0x50a0d7)=>{const _0xb8a5f1=_0x223248;for(var _0x520283=_0x50a0d7>0x1?void 0x0:_0x50a0d7?_0x398512(_0x44d3b2,_0x5da003):_0x44d3b2,_0x5b90f8=_0xc45cbb[_0xb8a5f1(0x25a)]-0x1,_0x3d674b;_0x5b90f8>=0x0;_0x5b90f8--)(_0x3d674b=_0xc45cbb[_0x5b90f8])&&(_0x520283=_0x3d674b(_0x520283)||_0x520283);return _0x520283;},_0x3e534c=(_0x1304ac,_0x5cdd23)=>(_0x3dd40e,_0x3885f4)=>_0x5cdd23(_0x3dd40e,_0x3885f4,_0x1304ac);let _0x98e152=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x47300f,_0x444d8d,_0x2e8598){const _0x3bff94=_0x223248;super(),_0x44255b(this,_0x3bff94(0x422),new Map()),_0x44255b(this,_0x3bff94(0x425),new Map()),_0x44255b(this,_0x3bff94(0x277),!0x1),(this['_configService']=_0x47300f,this[_0x3bff94(0x3e8)]=_0x444d8d,this[_0x3bff94(0x332)]=_0x2e8598);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x223248(0x1e7)](){this['_disabled']=!0x1;}get[_0x223248(0x364)](){return this['_saveTaskMap'];}[_0x223248(0x1d8)](){const _0x5c7f34=_0x223248;this[_0x5c7f34(0x21d)]()[_0x5c7f34(0x3f6)](()=>super[_0x5c7f34(0x1d8)]());}async[_0x223248(0x28e)](_0x180695){const _0xa6cbd3=_0x223248;return this[_0xa6cbd3(0x277)]?null:this[_0xa6cbd3(0x3e8)][_0xa6cbd3(0x272)](_0x25172a[_0xa6cbd3(0x392)](_0x180695));}async[_0x223248(0x271)](_0x4d3816,_0x4232b1){const _0x496037=_0x223248;return!!this[_0x496037(0x3e8)]['setItem'](_0x4d3816,_0x4232b1);}[_0x223248(0x2ce)](_0xd9f7f5,_0x321723,_0x2bf1b5,_0x58dc54){const _0xda390d=_0x223248,_0x2b812f=this[_0xda390d(0x332)][_0xda390d(0x24d)](_0xd9f7f5);this[_0xda390d(0x422)][_0xda390d(0x269)](_0xd9f7f5,{'unitID':_0xd9f7f5,'type':_0x321723,'awaitingChangeset':_0x2bf1b5,'mutations':_0x58dc54,'rev':_0x2b812f}),this['_saveTaskMap'][_0xda390d(0x2e5)](_0xd9f7f5)||this['_scheduleSaving'](_0xd9f7f5);}[_0x223248(0x22f)](_0x413a95){const _0xc20009=_0x223248,_0x5a1037=this[_0xc20009(0x3cc)]();_0x5a1037===0x0?this['_saveCache'](_0x413a95):this[_0xc20009(0x425)][_0xc20009(0x269)](_0x413a95,setTimeout(()=>this[_0xc20009(0x33d)](_0x413a95),_0x5a1037));}[_0x223248(0x3cc)](){const _0x2de0b7=_0x223248;var _0x4c8a39;return(_0x4c8a39=this[_0x2de0b7(0x418)][_0x2de0b7(0x3d1)](_0x25172a[_0x2de0b7(0x21e)]))!=null?_0x4c8a39:_0x25172a['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x171e00){const _0x59e43e=_0x223248,_0x354c37=this['_saveTaskMap'][_0x59e43e(0x3cf)](_0x171e00);return _0x354c37!==void 0x0&&window[_0x59e43e(0x22d)](_0x354c37),this[_0x59e43e(0x3e8)][_0x59e43e(0x260)](_0x25172a['getLocalCacheKey'](_0x171e00),this[_0x59e43e(0x422)]['get'](_0x171e00))[_0x59e43e(0x3f6)](()=>this[_0x59e43e(0x425)][_0x59e43e(0x344)](_0x171e00));}async[_0x223248(0x21d)](){const _0x2bcdd4=_0x223248,_0x21f066=[];this[_0x2bcdd4(0x425)][_0x2bcdd4(0x258)]((_0x188dda,_0x464fcd)=>{const _0x3a0c33=_0x2bcdd4;window[_0x3a0c33(0x22d)](_0x188dda),_0x21f066['push'](this[_0x3a0c33(0x33d)](_0x464fcd)[_0x3a0c33(0x3f6)](()=>{const _0x46d33b=_0x3a0c33;this[_0x46d33b(0x425)]['delete'](_0x464fcd);}));}),await Promise[_0x2bcdd4(0x340)](_0x21f066);}};_0x98e152=_0x4734bc([_0x3e534c(0x0,_0x380f2c['IConfigService']),_0x3e534c(0x1,_0x380f2c[_0x223248(0x41b)]),_0x3e534c(0x2,_0x380f2c[_0x223248(0x352)](_0x4946eb[_0x223248(0x2b6)]))],_0x98e152);class _0x105840 extends _0x380f2c[_0x223248(0x1a7)]{constructor(){const _0x4f9d32=_0x223248;super(),_0x44255b(this,'urlChange$'),this[_0x4f9d32(0x385)]=_0x309759['fromEvent'](window,_0x4f9d32(0x195))[_0x4f9d32(0x278)](_0x309759['takeUntil'](this[_0x4f9d32(0x41a)]),_0x309759[_0x4f9d32(0x411)](0x1),_0x309759[_0x4f9d32(0x2b2)](void 0x0));}[_0x223248(0x24b)](_0x4d92b3,_0x34f5df,_0x4f46aa=!0x1){const _0x13115c=_0x223248,_0x21accb=new URL(window[_0x13115c(0x315)][_0x13115c(0x2f3)]);_0x21accb['searchParams'][_0x13115c(0x269)](_0x4d92b3,_0x34f5df),_0x4f46aa?window[_0x13115c(0x274)][_0x13115c(0x1df)]('','',_0x21accb[_0x13115c(0x3d7)]()):window[_0x13115c(0x274)][_0x13115c(0x357)]('','',_0x21accb[_0x13115c(0x3d7)]());}[_0x223248(0x3f8)](_0x1ba2c2,_0x57bc0b=!0x1){const _0x34ac53=_0x223248,_0x3dc56a=new URL(window[_0x34ac53(0x315)]['href']);_0x3dc56a['searchParams'][_0x34ac53(0x344)](_0x1ba2c2),_0x57bc0b?window['history']['replaceState']('','',_0x3dc56a[_0x34ac53(0x3d7)]()):window[_0x34ac53(0x274)]['pushState']('','',_0x3dc56a[_0x34ac53(0x3d7)]());}[_0x223248(0x313)](_0x53e055){const _0x14ab34=_0x223248;var _0x1b4f7b;return(_0x1b4f7b=new URL(window[_0x14ab34(0x315)][_0x14ab34(0x2f3)])[_0x14ab34(0x205)][_0x14ab34(0x3cf)](_0x53e055))!=null?_0x1b4f7b:void 0x0;}}var _0x2c57d5=Object[_0x223248(0x40a)],_0x42bfa1=Object['getOwnPropertyDescriptor'],_0x2c1d70=(_0x1a8182,_0x4a6bcc,_0x2f47f9)=>_0x4a6bcc in _0x1a8182?_0x2c57d5(_0x1a8182,_0x4a6bcc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f47f9}):_0x1a8182[_0x4a6bcc]=_0x2f47f9,_0x1c60d5=(_0x219a9d,_0x211594,_0x508e65,_0x533ca9)=>{const _0x3f8744=_0x223248;for(var _0x540949=_0x533ca9>0x1?void 0x0:_0x533ca9?_0x42bfa1(_0x211594,_0x508e65):_0x211594,_0x3cffa6=_0x219a9d[_0x3f8744(0x25a)]-0x1,_0x5a91af;_0x3cffa6>=0x0;_0x3cffa6--)(_0x5a91af=_0x219a9d[_0x3cffa6])&&(_0x540949=_0x5a91af(_0x540949)||_0x540949);return _0x540949;},_0x16ee5e=(_0x18e0ea,_0x4ebd84)=>(_0x573503,_0x447c76)=>_0x4ebd84(_0x573503,_0x447c76,_0x18e0ea),_0xaa68f1=(_0x1a259e,_0x535dd4,_0x4098a9)=>_0x2c1d70(_0x1a259e,_0x535dd4+'',_0x4098a9);const _0xdcb9e=_0x223248(0x2a0);_0x4394f4['UniverCollaborationClientUIPlugin']=class extends _0x380f2c[_0x223248(0x409)]{constructor(_0x293e28=_0xda5603,_0x2c7134,_0x313a7e,_0x444bd2){const _0x2ae082=_0x223248;super(),this[_0x2ae082(0x386)]=_0x293e28,this['_renderManagerService']=_0x2c7134,this['_injector']=_0x313a7e,this[_0x2ae082(0x418)]=_0x444bd2;const {..._0x36d59b}=_0x380f2c['merge']({},_0xda5603,this[_0x2ae082(0x386)]);this[_0x2ae082(0x418)]['setConfig'](_0x1840e5,_0x36d59b);}[_0x223248(0x379)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x223248(0x350)](){const _0x527a5a=_0x223248;this[_0x527a5a(0x299)]();}[_0x223248(0x19f)](){const _0x26bead=_0x223248;var _0xcf2d1e;const _0x3a1b3c=[[_0xd7751],[_0x1e55c8],[_0x32a844],[_0x2ef4ce],[_0x19792d],[_0x51b8d1,{'useClass':_0x105840}],[_0x54dd82[_0x26bead(0x206)],{'useClass':_0x54dd82['WebSocketService']}],[_0x25172a[_0x26bead(0x20b)],{'useClass':_0x98e152}],[_0x4394f4[_0x26bead(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4f3310],[_0x287dac],[_0x4394f4[_0x26bead(0x31a)]]];_0x380f2c[_0x26bead(0x28b)](this[_0x26bead(0x1d3)],_0x380f2c[_0x26bead(0x243)](_0x3a1b3c,(_0xcf2d1e=this['_config'])==null?void 0x0:_0xcf2d1e[_0x26bead(0x336)]));}[_0x223248(0x299)](){const _0x2ada80=_0x223248;this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)]['registerRenderModule'](_0x380f2c[_0x2ada80(0x1a9)][_0x2ada80(0x30f)],[_0x5dbc37])),this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)][_0x2ada80(0x2c0)](_0x380f2c['UniverInstanceType'][_0x2ada80(0x22a)],[_0x15d7ee]));}[_0x223248(0x3fc)](){const _0x2625ab=_0x223248;_0x380f2c[_0x2625ab(0x3e6)](this['_injector'],[[_0x4f3310],[_0x4394f4[_0x2625ab(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4394f4['CollaborationDataLoaderController']]]);}},_0xaa68f1(_0x4394f4[_0x223248(0x2e6)],_0x223248(0x3b3),_0xdcb9e),_0x4394f4[_0x223248(0x2e6)]=_0x1c60d5([_0x380f2c[_0x223248(0x194)](_0x25172a[_0x223248(0x2e2)]),_0x16ee5e(0x1,_0x562cf5['IRenderManagerService']),_0x16ee5e(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x16ee5e(0x3,_0x380f2c[_0x223248(0x3df)])],_0x4394f4[_0x223248(0x2e6)]);var _0xfe2645=Object[_0x223248(0x265)],_0x319922=(_0x2a3164,_0x19e68f,_0x2abe04,_0x270245)=>{const _0x306f75=_0x223248;for(var _0x10fdf7=_0x270245>0x1?void 0x0:_0x270245?_0xfe2645(_0x19e68f,_0x2abe04):_0x19e68f,_0x2d7e83=_0x2a3164[_0x306f75(0x25a)]-0x1,_0x1dff4b;_0x2d7e83>=0x0;_0x2d7e83--)(_0x1dff4b=_0x2a3164[_0x2d7e83])&&(_0x10fdf7=_0x1dff4b(_0x10fdf7)||_0x10fdf7);return _0x10fdf7;},_0x588dd3=(_0x233b9f,_0x14776f)=>(_0x543bb6,_0x37e3b3)=>_0x14776f(_0x543bb6,_0x37e3b3,_0x233b9f);_0x4394f4['BrowserCollaborationSocketService']=class extends _0x25172a[_0x223248(0x41c)]{constructor(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7){super(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7);}async[_0x223248(0x38c)](_0x3fba41){const _0x3e79b4=_0x223248,_0x39d21c=await this[_0x3e79b4(0x3ae)](),_0x456e48=this[_0x3e79b4(0x261)](_0x3fba41,_0x39d21c);return this[_0x3e79b4(0x3c9)](_0x456e48);}['_createSocketURL'](_0x27416d,_0x55144a){const _0x5478f9=_0x223248,_0x21567d=typeof window>'u'?new URL(_0x27416d):new URL(_0x27416d,window[_0x5478f9(0x315)][_0x5478f9(0x211)]);_0x21567d[_0x5478f9(0x205)][_0x5478f9(0x269)](_0x5478f9(0x27d),_0x55144a);const _0x4aa143=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5478f9(0x315)][_0x5478f9(0x3a1)]);return _0x4aa143[_0x5478f9(0x3cf)](_0x5478f9(0x1a1))&&_0x21567d[_0x5478f9(0x205)]['set'](_0x5478f9(0x1a1),_0x4aa143['get']('runId')),_0x21567d[_0x5478f9(0x3d7)]();}async[_0x223248(0x3ae)](){const _0x5ee417=_0x223248;var _0x1bc845,_0x3acc2a,_0x45ed13;const _0x2ec832=this[_0x5ee417(0x418)][_0x5ee417(0x3d1)](_0x25172a[_0x5ee417(0x366)]),_0x374487=(_0x1bc845=_0x2ec832==null?void 0x0:_0x2ec832[_0x5ee417(0x216)])!=null?_0x1bc845:_0x25172a[_0x5ee417(0x1dd)];return(_0x45ed13=(_0x3acc2a=(await this[_0x5ee417(0x25e)][_0x5ee417(0x3cf)](_0x374487,{'headers':{'Content-Type':_0x5ee417(0x2b3)}}))[_0x5ee417(0x39c)])==null?void 0x0:_0x3acc2a[_0x5ee417(0x30c)])!=null?_0x45ed13:'';}},_0x4394f4['BrowserCollaborationSocketService']=_0x319922([_0x588dd3(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x588dd3(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x588dd3(0x2,_0x380f2c[_0x223248(0x3df)]),_0x588dd3(0x3,_0x380f2c[_0x223248(0x325)]),_0x588dd3(0x4,_0x4946eb[_0x223248(0x2fe)])],_0x4394f4[_0x223248(0x18c)]);const _0x4708a1=0x7530,_0x15b1d8=_0x223248(0x21b);class _0x590cb8 extends _0x380f2c[_0x223248(0x203)]{constructor(){const _0x33de8d=_0x223248;super(),_0x44255b(this,_0x33de8d(0x347),_0x380f2c[_0x33de8d(0x314)]()),_0x44255b(this,_0x33de8d(0x30e),new Set()),_0x44255b(this,_0x33de8d(0x391),new Map()),_0x44255b(this,_0x33de8d(0x238),null),_0x44255b(this,_0x33de8d(0x210),new Map()),_0x44255b(this,'_unitStatus',new Map()),this[_0x33de8d(0x18f)]();}[_0x223248(0x1d8)](){const _0x4fac1e=_0x223248;super[_0x4fac1e(0x1d8)](),this[_0x4fac1e(0x210)][_0x4fac1e(0x258)]((_0x1500a2,_0x1c81d5)=>this[_0x4fac1e(0x38a)](_0x1c81d5)),this[_0x4fac1e(0x238)]&&window[_0x4fac1e(0x37b)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5bf10b){const _0x3f11f9=_0x223248;return this[_0x3f11f9(0x1a3)](_0x5bf10b)['pipe'](_0x309759[_0x3f11f9(0x1d5)]());}[_0x223248(0x405)](_0x221c7f){const _0xdb27ee=_0x223248;this[_0xdb27ee(0x30e)]['size']===0x0&&this[_0xdb27ee(0x3fb)](),this['_selfUnitIDs'][_0xdb27ee(0x23c)](_0x221c7f),this['_send']({'type':0x0,'memberID':this[_0xdb27ee(0x347)],'unitIDs':[_0x221c7f],'isForwarded':!0x1});}['disposeUnit'](_0x178d4d){const _0xe58e05=_0x223248;this[_0xe58e05(0x30e)][_0xe58e05(0x344)](_0x178d4d),this[_0xe58e05(0x30e)][_0xe58e05(0x2c5)]===0x0&&this['_heartbeatTimer']&&window[_0xe58e05(0x37b)](this[_0xe58e05(0x238)]);}[_0x223248(0x18f)](){const _0x1bdde3=_0x223248;this[_0x1bdde3(0x1e9)](_0x380f2c[_0x1bdde3(0x242)](_0x309759['fromEvent'](window,'storage')[_0x1bdde3(0x1d9)](_0x165368=>{const _0x2fc772=_0x1bdde3;if(_0x165368[_0x2fc772(0x1af)]!==_0x15b1d8||!_0x165368[_0x2fc772(0x202)])return;const _0x25a5bb=JSON[_0x2fc772(0x33b)](_0x165368[_0x2fc772(0x202)]);this['_handleEvent'](_0x25a5bb);}))),window[_0x1bdde3(0x1d6)](_0x1bdde3(0x3e1),()=>this[_0x1bdde3(0x39d)]({'type':0x1,'memberID':this[_0x1bdde3(0x347)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x223248(0x303)](_0x55efb9){const _0xbfa116=_0x223248;switch(_0x55efb9[_0xbfa116(0x33a)]){case 0x0:this[_0xbfa116(0x2dc)](_0x55efb9);break;case 0x1:this['_handleLeaveEvent'](_0x55efb9);break;case 0x2:this['_handleHeartbeatEvent'](_0x55efb9);break;}}[_0x223248(0x2dc)](_0x4a10c5){const _0x46ecd5=_0x223248,{unitIDs:_0x1fc6c1,memberID:_0xf40744,isForwarded:_0x2448a9}=_0x4a10c5;_0x1fc6c1[_0x46ecd5(0x258)](_0x568712=>{const _0x16c077=_0x46ecd5;if(!_0x2448a9&&this['_unitOnClients'][_0x16c077(0x2e5)](_0x568712)&&this[_0x16c077(0x1a3)](_0x568712)[_0x16c077(0x428)](_0x25172a[_0x16c077(0x3a3)][_0x16c077(0x3a2)]),!this[_0x16c077(0x391)]['has'](_0x568712)||!this[_0x16c077(0x391)]['get'](_0x568712)['has'](_0xf40744)){const _0xff0a6f=this[_0x16c077(0x391)]['get'](_0x568712)||new Set();_0xff0a6f[_0x16c077(0x23c)](_0xf40744),this[_0x16c077(0x391)]['set'](_0x568712,_0xff0a6f),this[_0x16c077(0x219)](_0xf40744);}}),_0x2448a9||this[_0x46ecd5(0x39d)]({'type':0x0,'memberID':this[_0x46ecd5(0x347)],'unitIDs':[...this[_0x46ecd5(0x30e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xc770e8){const _0x38f14b=_0x223248;this[_0x38f14b(0x38a)](_0xc770e8);const _0x5858d6=window['setTimeout'](()=>{const _0x1d6d33=_0x38f14b;this[_0x1d6d33(0x391)][_0x1d6d33(0x258)](_0x57c37d=>{_0x57c37d['delete'](_0xc770e8);});},_0x4708a1*0x2);this[_0x38f14b(0x210)]['set'](_0xc770e8,_0x5858d6);}[_0x223248(0x38a)](_0x3ad6a5){const _0x8a10a1=_0x223248;if(this[_0x8a10a1(0x210)][_0x8a10a1(0x2e5)](_0x3ad6a5)){const _0x39b826=this[_0x8a10a1(0x210)][_0x8a10a1(0x3cf)](_0x3ad6a5);_0x39b826&&window[_0x8a10a1(0x22d)](_0x39b826),this['_clearOtherTimers'][_0x8a10a1(0x269)](_0x3ad6a5,null);}}['_handleLeaveEvent'](_0x286cb5){const _0x4dd4de=_0x223248,{memberID:_0x182cc0,unitIDs:_0x91939f}=_0x286cb5;_0x91939f['forEach'](_0x1d2409=>{const _0x806e8b=_0x316b;var _0x52e501;const _0x126d8b=this[_0x806e8b(0x391)][_0x806e8b(0x3cf)](_0x1d2409);_0x126d8b&&(_0x126d8b[_0x806e8b(0x344)](_0x182cc0),(_0x52e501=this[_0x806e8b(0x1a3)](_0x1d2409))==null||_0x52e501[_0x806e8b(0x428)](_0x126d8b[_0x806e8b(0x2c5)]===0x0?_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x20c)]:_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x3a2)]));}),this[_0x4dd4de(0x38a)](_0x182cc0);}[_0x223248(0x2d6)](_0x2eff1e){const _0x34e9e6=_0x223248;this[_0x34e9e6(0x219)](_0x2eff1e['memberID']);}['_send'](_0x3c6c2d){const _0x3e9974=_0x223248;localStorage[_0x3e9974(0x260)](_0x15b1d8,JSON[_0x3e9974(0x26d)](_0x3c6c2d));}[_0x223248(0x3fb)](){const _0x297fc2=_0x223248;this[_0x297fc2(0x238)]=window[_0x297fc2(0x2be)](()=>{const _0x28c8d7=_0x297fc2;this['_send']({'type':0x2,'memberID':this[_0x28c8d7(0x347)]});},_0x4708a1);}['_ensureSubject'](_0x574be2){const _0x330439=_0x223248;return this[_0x330439(0x307)][_0x330439(0x2e5)](_0x574be2)||this[_0x330439(0x307)][_0x330439(0x269)](_0x574be2,new _0x309759[(_0x330439(0x3e2))](_0x25172a[_0x330439(0x3a3)][_0x330439(0x20c)])),this[_0x330439(0x307)][_0x330439(0x3cf)](_0x574be2);}}var _0x44d99f=(_0x572f7a=>(_0x572f7a[_0x572f7a[_0x223248(0x304)]=0x0]=_0x223248(0x304),_0x572f7a[_0x572f7a['OK']=0x1]='OK',_0x572f7a[_0x572f7a[_0x223248(0x351)]=0x2]=_0x223248(0x351),_0x572f7a[_0x572f7a[_0x223248(0x38e)]=0x3]=_0x223248(0x38e),_0x572f7a[_0x572f7a[_0x223248(0x29d)]=0x4]='NOT_FOUND',_0x572f7a[_0x572f7a[_0x223248(0x36a)]=0x5]=_0x223248(0x36a),_0x572f7a[_0x572f7a['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x572f7a[_0x572f7a[_0x223248(0x1be)]=0x7]='INVALID_ARGUMENT',_0x572f7a[_0x572f7a[_0x223248(0x281)]=0x8]=_0x223248(0x281),_0x572f7a[_0x572f7a['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x572f7a[_0x572f7a[_0x223248(0x360)]=0xa]=_0x223248(0x360),_0x572f7a[_0x572f7a[_0x223248(0x2cc)]=0x1389]=_0x223248(0x2cc),_0x572f7a[_0x572f7a[_0x223248(0x2b8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x572f7a[_0x572f7a[_0x223248(0x2f9)]=0x1772]=_0x223248(0x2f9),_0x572f7a[_0x572f7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x223248(0x346),_0x572f7a[_0x572f7a[_0x223248(0x3b7)]=0x1b59]=_0x223248(0x3b7),_0x572f7a[_0x572f7a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x223248(0x26c),_0x572f7a[_0x572f7a[_0x223248(0x29c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x572f7a[_0x572f7a[_0x223248(0x3bc)]=0x1b5c]=_0x223248(0x3bc),_0x572f7a[_0x572f7a[_0x223248(0x3b1)]=0x1b5d]=_0x223248(0x3b1),_0x572f7a[_0x572f7a[_0x223248(0x375)]=0x1f41]=_0x223248(0x375),_0x572f7a[_0x572f7a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x572f7a[_0x572f7a[_0x223248(0x361)]=0x232a]=_0x223248(0x361),_0x572f7a[_0x572f7a[_0x223248(0x1ea)]=0x232b]=_0x223248(0x1ea),_0x572f7a[_0x572f7a[_0x223248(0x414)]=0x232c]=_0x223248(0x414),_0x572f7a[_0x572f7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x223248(0x2af),_0x572f7a[_0x572f7a[_0x223248(0x359)]=0x2711]=_0x223248(0x359),_0x572f7a[_0x572f7a[_0x223248(0x27f)]=0x2712]=_0x223248(0x27f),_0x572f7a[_0x572f7a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x223248(0x29a),_0x572f7a[_0x572f7a[_0x223248(0x1b5)]=0x2714]=_0x223248(0x1b5),_0x572f7a[_0x572f7a[_0x223248(0x2ad)]=0x271a]=_0x223248(0x2ad),_0x572f7a[_0x572f7a['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x223248(0x1e6),_0x572f7a[_0x572f7a[_0x223248(0x2c9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x572f7a[_0x572f7a[_0x223248(0x1e2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x572f7a[_0x572f7a[_0x223248(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x572f7a[_0x572f7a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x223248(0x37e),_0x572f7a[_0x572f7a[_0x223248(0x1fe)]=0x2ee4]=_0x223248(0x1fe),_0x572f7a[_0x572f7a[_0x223248(0x3bf)]=0x2ee5]=_0x223248(0x3bf),_0x572f7a[_0x572f7a[_0x223248(0x3ab)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x572f7a[_0x572f7a[_0x223248(0x218)]=0x32ca]=_0x223248(0x218),_0x572f7a[_0x572f7a[_0x223248(0x34d)]=0x32cb]=_0x223248(0x34d),_0x572f7a[_0x572f7a[_0x223248(0x18d)]=-0x1]=_0x223248(0x18d),_0x572f7a))(_0x44d99f||{}),_0x39d249=Object[_0x223248(0x265)],_0x1abf68=(_0x378231,_0xb9c3f,_0x2cb742,_0xfb7419)=>{const _0x1e588f=_0x223248;for(var _0x2e016a=_0xfb7419>0x1?void 0x0:_0xfb7419?_0x39d249(_0xb9c3f,_0x2cb742):_0xb9c3f,_0x44af41=_0x378231[_0x1e588f(0x25a)]-0x1,_0x2e167a;_0x44af41>=0x0;_0x44af41--)(_0x2e167a=_0x378231[_0x44af41])&&(_0x2e016a=_0x2e167a(_0x2e016a)||_0x2e016a);return _0x2e016a;},_0x2c589b=(_0x1d6f88,_0x1682b2)=>(_0x151c19,_0x486e1d)=>_0x1682b2(_0x151c19,_0x486e1d,_0x1d6f88);_0x4394f4[_0x223248(0x27a)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x4ddbec,_0x499a99,_0x4ce6b9){const _0x3342a7=_0x223248;super(),this['_instanceService']=_0x4ddbec,this[_0x3342a7(0x25e)]=_0x499a99,this['_configService']=_0x4ce6b9;}async[_0x223248(0x1ab)](_0x54497e,_0x2bf44c,_0x8d52d5,..._0x345404){const _0x491cfd=_0x223248;var _0x49c4e6,_0x5f2fdd,_0x5b3503,_0x24ec10;const _0x4af7aa=this[_0x491cfd(0x3da)][_0x491cfd(0x2f1)]();if(!_0x4af7aa)throw new Error(_0x491cfd(0x40e));const _0x27d255=((_0x49c4e6=this[_0x491cfd(0x418)][_0x491cfd(0x3d1)](_0x25172a[_0x491cfd(0x31b)]))!=null?_0x49c4e6:_0x25172a[_0x491cfd(0x2a7)])+'/'+_0x54497e+'/run/'+_0x2bf44c,_0x59a1cf=new URL(window['location']['href']),_0xcb2e1a={'scriptId':_0x54497e,'runId':(_0x5f2fdd=_0x59a1cf['searchParams'][_0x491cfd(0x3cf)]('runId'))!=null?_0x5f2fdd:'','function':_0x2bf44c,'unitId':_0x4af7aa[_0x491cfd(0x302)](),'argsOfFunction':JSON[_0x491cfd(0x26d)](_0x345404),'invokeId':(_0x5b3503=_0x8d52d5[_0x491cfd(0x3cd)])!=null?_0x5b3503:'','executionId':(_0x24ec10=_0x8d52d5[_0x491cfd(0x3af)])!=null?_0x24ec10:''};try{const _0x22d40=await this[_0x491cfd(0x25e)][_0x491cfd(0x3ad)](_0x27d255,{'body':_0xcb2e1a});return _0x22d40['body'][_0x491cfd(0x3cb)]&&_0x22d40[_0x491cfd(0x39c)][_0x491cfd(0x3cb)]['code']!==_0x44d99f['OK']?_0x491cfd(0x37a):_0x22d40[_0x491cfd(0x39c)]['result'];}catch{return'Failed';}}},_0x4394f4[_0x223248(0x27a)]=_0x1abf68([_0x2c589b(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2c589b(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x2c589b(0x2,_0x380f2c[_0x223248(0x3df)])],_0x4394f4['RemoteUniscriptService']),_0x4394f4[_0x223248(0x1c8)]=_0xd9adf4,_0x4394f4[_0x223248(0x22b)]=_0x51b8d1,_0x4394f4['SheetCollabCursorShape']=_0x337b75,_0x4394f4[_0x223248(0x251)]=_0x590cb8,_0x4394f4['WebURLService']=_0x105840,Object[_0x223248(0x40a)](_0x4394f4,Symbol[_0x223248(0x412)],{'value':_0x223248(0x323)});}));function _0x316b(_0x11ea3b,_0x56939d){const _0x2b511a=_0x2b51();return _0x316b=function(_0x316bd0,_0x4331d4){_0x316bd0=_0x316bd0-0x18c;let _0x1cd7a3=_0x2b511a[_0x316bd0];return _0x1cd7a3;},_0x316b(_0x11ea3b,_0x56939d);}function _0x2b51(){const _0x13a0eb=['ITransformService','_shapes','getStateCache','urlChange$','_config','OFFLINE','eventID','_getScale','_removeClearOtherTimer','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','createSocket','NodePositionConvertToRectRange','PERMISSION_DENIED','ColorKit','IBeforeCloseService','_unitOnClients','getLocalCacheKey','UniverSheets','url(#off-line-single_clip0_910_343)','_cursors','children','DeleteRangeMoveUpCommandId','save','getSheetBySheetId','_textBubble','gold400','body','_send','UniverDesign','_assignedColors','filter','search','OTHER_CLIENTS_EDITING','UnitStatus','indexOf','2116216FkthkC','_sheetSkeletonManagerService','show','_transformPreviousActiveRange','ONLINE','getSheetId','WECHAT_HAS_BEEN_BOUND','transformSelections','post','_getSessionTicket','executionId','cursorInfo','APPLY_DUPLICATED','runRefRangeMutations','pluginName','_cursorInfo$','syncEditingCollabCursor','undoState','APPLY_REJECT','SOCKET_FAILED_RETRY','restore','handleInsertRangeMoveRight','_online','APPLY_PERMISSION_DENIED','[CollaborationDataLoaderController]','collabCursorState$','INVITE_CODE_ALREADY_BOUND','_uiPartsService','translate(.97)','startColumn','collab-text-anchor-','endRow','Warning','getSkeleton','_hideTimer','SessionStatus','_doCreateSocket','asObservable','error','_getSaveTimeout','invokeId','InsertColCommandId','get','SetTextSelectionsOperation','getConfig','icon','textRanges','CommandType','getMemberID','complete','toString','onPointerMove$','637155cbCsit','_instanceService','getSheetObject','Unknown\x20user','_context','getOwnPropertySymbols','IConfigService','row','unload','BehaviorSubject','AWAITING_WITH_PENDING','startRow','jsxs','touchDependencies','_anchorDot','_localStorageService','loadUnit','getTypeOfUnitDisposed$','_docSkeletonManagerService','debounceTime','moveTo','PENDING','permission.content','debug','redoState','string','unit','useRef','doc.mutation.rich-text-editing','then','_removeCollabCursors','removeParam','use','_onCursorUpdate','_scheduleHeartbeat','_initDependencies','registerBeforeClose','IUniverInstanceService','lineTo','selection','_syncEditingCollabCursorService','_lastPointer','_localCacheService','getCurrentUnitForType','editingUnit','CollaborationSessionService','closePath','_render','Plugin','defineProperty','takeUntil','getAncestorScale','prototype','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','_range','shareReplay','toStringTag','@univerjs-pro/collaboration-client','LICENSE_EXPORT_SIZE_EXCEEDED','_refreshCollabCursors','7908lMPlNf','Workbook','_configService','contains','dispose$','ILocalStorageService','CollaborationSocketService','@univerjs/docs-ui','EffectRefRangId','fillRule','react','FETCH_MISS','_cachedData','replaceDocRanges','INotificationService','_saveTaskMap','ThemeService','black','next','BrowserCollaborationSocketService','UNRECOGNIZED','_backgroundColor','_init','handleMoveRange','MoveRangeCommandId','unsubscribe','round','DependentOn','popstate','_initEvent','jiqing500','connectInjector','startsWith','color','univer-text-red-500','#fff','_collaborationUIEventService','_docClipboardService','_registerDependencies','bottom','runId','DeleteRangeMoveLeftCommandId','_ensureSubject','react/jsx-runtime','some','SetWorksheetActivateCommand','RxDisposable','currentColor','UniverInstanceType','addObjects','runOnServer','exports','session.connection-failed','red300','key','transform','isTransformMutationFailure','_toggleOnline','drawWith','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/docs','tag','_document','Error','collabStatus.notCollab','docStateChange$','_docTransformIMECacheService','url(#$1','INVALID_ARGUMENT','arc','HTTPService','_startSheetCollabCursor','onLocalMutation','Subject','getActiveSheet','isArray','SHEET_VIEWPORT_KEY','@univerjs/drawing','CollaborationStatusDisplay','#FFF','function','concat','NOT_COLLAB','createElement','@univerjs/network','RemoveRowCommandId','transformByState','_startDocCollabCursor','29679RFRiwt','_injector','mutations','distinctUntilChanged','addEventListener','@univerjs/design','dispose','subscribe','0\x200\x2017\x2016','handleDeleteRangeMoveLeft','CollaborationEvent','DEFAULT_WS_SESSION_TICKET_URL','CollaborationStatus','replaceState','_collabCursorController','IDocClipboardService','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','displayName','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','enableLocalCache','collabStatus.fetchMiss','disposeWithMe','LICENSE_IMPORT_SIZE_EXCEEDED','min','getColor','entries','rgba(255,\x20255,\x20255,\x200.01)','random','_transformHistoryAndStateStack','_commandService','m1Prime','_updateCollabCursors','handleDeleteRangeMoveUp','_imageIoService','amd','idSuffix','find','_cursorShapes','path','SUBMIT_CHANGESET_TIMEOUT','getViewport','LocaleService','USER_NOT_INVITED_CODE','_docTransformSelectionsService','colorChannel1','_scene','newValue','Disposable','registerComponent','searchParams','ISocketService','object','getUniverSheetInstance','setShapeProps','entityInit$','ILocalCacheService','NO_OTHER_CLIENTS_EDITING','_onCursorDelete','_anchor','isEditing','_clearOtherTimers','origin','current','rxjs','column','values','wsSessionTicketUrl','addObject','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','switchMap','ACTIVE_UNIT_EVENT_CHANNEL','skeleton','exhaustSavingTask','LOCAL_CACHE_INTERVAL_KEY','getUnhiddenWorksheets','@univerjs/engine-formula','univerjs-icon\x20univerjs-icon-','div','_urlService','UniverIcon','OnLineSingle','_initStatusComponent','svg','_notificationService','_handleHover','UNIVER_SHEET','IURLService','MemberService','clearTimeout','init','_scheduleSaving','cursorInfo$','rxjs/operators','@univerjs-pro/collaboration','_color','executeCommand','_getAnchorBounding','_dataLoaderService','_docSyncEditingCollabCursorService','_heartbeatTimer','_name','_docStateChangeManagerService','deserializeRangeWithSheet','add','transformRemoteChangeset','UniverEngineRender','_drawAnchor','transformMutation','collaboration.closeRoom','toDisposable','mergeOverrideWithDependencies','focused$','assign','attrs','text','1em','collabStatus.syncing','InsertRangeMoveDownCommandId','setParam','onMouseMove','getCurrentRevOfUnit','_refRangeService','_updateSubUnitFromURLParams','_updateURLWithCurrentState','WebBrowserSingleActiveUnitService','IImageIoService','_collabCursorState$','whenReady','_getMergeRange','deepClone','UniverProCollaboration','forEach','UniverProCollaborationClientUi','length','@univerjs/core','Rect','_logService','_httpService','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','setItem','_createSocketURL','CONFLICT','transformMutationsWithChangeset','_setupBeforeClosingHandler','getOwnPropertyDescriptor','collaboration-client-ui.config','getUndoRedoMutationParamsCache','DocIMEInputManagerService','set','DocStateChangeManagerService','xlink:href','APPLY_NON_SEQUENTIAL_REVISION','stringify','BuiltInUIPart','_transformUndoRedoStack','session.will-retry','saveOfflineData','getItem','UPDATE_CURSOR','history','imageSourceType','DOC_RANGE_TYPE','_disabled','pipe','DocSelectionManagerService','RemoteUniscriptService','NodePositionConvertToCursor','forwardRef','sessionTicket','onPointerLeave$','YUUMI_URL_COL_OUT_OF_RANGE','27LIrkam','TOO_MANY_REQUESTS','TEXT','MessageType','getCellPositionByOffset','_session','sheetID','map','debounce','combineLatest','subUnitId','registerDependencies','source','collabStatus.offline','loadOfflineData','params','Injector','serializeRangeWithSheet','none','unitID','event$','_eventUnsubscribe','throttleTime','includes','activeSheet$','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','_localeService','APPLY_REVISION_CONFILICT','NOT_FOUND','setUndoRedoMutationParamsCache','useDependency','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','data','0\x200\x2016\x2016','fillStyle','labelPosition','onPointerEnter$','evenodd','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','call','unshift','actions','defIds','isTransformMutationsWithChangesetSuccess','YUUMI_NO_CUBOID_FOR_QUESTION','368zuEtsG','LICENSE_DISTRO_REJECTED','React','font','mapTo','application/json','_cursor','name','RevisionService','_drawRectRange','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','COLORS','clipPath','width','collabStatus.synced','setInterval','setAlpha','registerRenderModule','_hovered','reconnect','makeDirty','DocSkeletonManagerService','size','fillText','_initEntityListener','defs','PY_RUNTIME_SCRIPT_ERROR','fill','UniverDocs','CHANGESET_REVISION_CONFILICT','getRelativeToViewportCoord','updateOfflineData','univer-text-green-500','HEADER_MENU','MUTATION','on-line-single_clip0_910_349','requireSession','@univerjs/ui','roomMembers','_handleHeartbeatEvent','FromArray','_docTransformStateCacheService','roomMembers$','createInstance','UniverRpc','_handleJoinEvent','findNodePositionByCharIndex','from','25006910FzyTZn','4042339ZeTlCn','assignAColorForMemberID','UniverCollaborationClientPlugin','split','url(#on-line-single_clip0_910_349)','has','UniverCollaborationClientUIPlugin','_initCommandExecutedListener','CLOSE_ROOM','VIEW_MAIN','sessionStatus$','verdancy600','_labelPosition','collaboration-client.offline-data-not-saved','top','_colorIndex','collaboration.single-unit.warning','getFocusedUnit','_initStatusListener','href','getRangePointData','_onRefRangeChange','getValue','Rectangle','_entities','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','SOCKET_FAILED','beginPath','UniverUi','ISnapshotServerService','@univerjs/engine-render','IMessageService','AWAITING','getUnitId','_handleEvent','UNDEFINED','getOffsetConfig','createIdentifier','_unitStatus','_setupSubUnitSync','with','@univerjs/sheets-ui','USERS_LEAVE','ticket','push','_selfUnitIDs','UNIVER_DOC','1703292JJWRbt','INVALID_INVITE_CODE','...','getParam','generateRandomId','location','_initResize','subunit','_messageService','RegularPolygon','CollaborationDataLoaderController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Tools','_draw','useCallback','_hover','Shape','getCollabCursors$','getDocRanges','Module','on-line-single','ILogService','_drawTextRange','getTypeOfUnitAdded$','_toggleOffline','_transformService','jsx','_status$','_roomMembers$','UniverSheetsUi','DesktopCollaborationStatusDisplayController','registerRefRange','DisposableCollection','measureText','_revisionService','UniverCore','getRenderById','UniverDocsUi','override','height','status$','fromEventSubject','type','parse','toRgbString','_saveCache','2095glklSU','_univerInstanceService','all','unitId','getCurrent','SheetSkeletonManagerService','delete','IUIPartsService','ENSURE_SNAPSHOT_EXECUTION','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ranges','RichTextEditingMutation','transformStateCache','univer-flex\x20univer-mr-2\x20univer-text-[20px]','EMAIL_HAS_BEEN_BOUND','_colorAssignService','getCurrentSelections','onRendered','INTERNAL_ERROR','Inject','m2Prime','_entityInit$','CollaborationController','currentSkeleton$','pushState','TEXT_RANGE_LAYER_INDEX','YUUMI_UNABLE_LOAD_URL','blue400','Vector2','apply','currentTheme$','handleIRemoveRow','collabStatus.conflict','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','purple300','extend','saveTaskMap','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','selections','_updateLocalCursor','off-line-single_clip0_910_343','UNAUTHENTICATED','CollaborationUIEventId','send','endColumn','ICommandService','operators','_beforeCloseService','handleInsertRangeMoveDown','DataLoaderService','_renderManagerService','sheetId','CONNECTOR_DATA_TOO_LARGE','CollaborationUIEventService','JOIN_ROOM_FAILED','symbol','onStarting','Failed','clearInterval','SetDocZoomRatioOperation','onCommandExecuted','INVITE_CODE_REQUIRED','UniverDrawing','subscribeEvent','_themeService'];_0x2b51=function(){return _0x13a0eb;};return _0x2b51();}