@univerjs-pro/collaboration-client-ui 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3012fe,_0x5557ec){const _0x5487b0=_0x541d,_0x3d1d7f=_0x3012fe();while(!![]){try{const _0x474acd=-parseInt(_0x5487b0(0x200))/0x1+-parseInt(_0x5487b0(0xa6))/0x2*(-parseInt(_0x5487b0(0x101))/0x3)+parseInt(_0x5487b0(0x11c))/0x4*(-parseInt(_0x5487b0(0x1b7))/0x5)+-parseInt(_0x5487b0(0x109))/0x6+parseInt(_0x5487b0(0x24e))/0x7+parseInt(_0x5487b0(0x21d))/0x8*(parseInt(_0x5487b0(0x84))/0x9)+parseInt(_0x5487b0(0x18c))/0xa*(parseInt(_0x5487b0(0x118))/0xb);if(_0x474acd===_0x5557ec)break;else _0x3d1d7f['push'](_0x3d1d7f['shift']());}catch(_0x3be5c6){_0x3d1d7f['push'](_0x3d1d7f['shift']());}}}(_0x2924,0xa74ca),function(_0x2dcc86,_0x21eb73){const _0x440f13=_0x541d;typeof exports==_0x440f13(0x19a)&&typeof module<'u'?_0x21eb73(exports,require(_0x440f13(0x1b4)),require(_0x440f13(0x1bf)),require(_0x440f13(0x2f9)),require('@univerjs/network'),require(_0x440f13(0x128)),require(_0x440f13(0x28e)),require(_0x440f13(0x15c)),require(_0x440f13(0x2a0)),require(_0x440f13(0x214)),require(_0x440f13(0xa5)),require(_0x440f13(0xc8)),require('rxjs/operators'),require(_0x440f13(0x2b6)),require(_0x440f13(0x2d5)),require('@univerjs/ui'),require(_0x440f13(0x1a9)),require(_0x440f13(0x125)),require(_0x440f13(0x10c))):typeof define==_0x440f13(0x13f)&&define[_0x440f13(0x1b5)]?define([_0x440f13(0x25e),_0x440f13(0x1b4),_0x440f13(0x1bf),'@univerjs/engine-render',_0x440f13(0x268),'@univerjs/docs-ui','@univerjs/drawing',_0x440f13(0x15c),_0x440f13(0x2a0),_0x440f13(0x214),_0x440f13(0xa5),_0x440f13(0xc8),_0x440f13(0x202),_0x440f13(0x2b6),_0x440f13(0x2d5),_0x440f13(0x1a5),_0x440f13(0x1a9),_0x440f13(0x125),'@univerjs/rpc'],_0x21eb73):(_0x2dcc86=typeof globalThis<'u'?globalThis:_0x2dcc86||self,_0x21eb73(_0x2dcc86[_0x440f13(0x1c5)]={},_0x2dcc86[_0x440f13(0x2ef)],_0x2dcc86['UniverCore'],_0x2dcc86[_0x440f13(0x2a1)],_0x2dcc86[_0x440f13(0x19e)],_0x2dcc86[_0x440f13(0xa7)],_0x2dcc86['UniverDrawing'],_0x2dcc86['rxjs'],_0x2dcc86[_0x440f13(0x1d0)],_0x2dcc86[_0x440f13(0x16d)],_0x2dcc86[_0x440f13(0x13d)],_0x2dcc86[_0x440f13(0x1e9)],_0x2dcc86['rxjs'][_0x440f13(0xf0)],_0x2dcc86[_0x440f13(0x24d)],_0x2dcc86[_0x440f13(0x8d)],_0x2dcc86['UniverUi'],_0x2dcc86[_0x440f13(0x257)],_0x2dcc86[_0x440f13(0x8d)],_0x2dcc86['UniverRpc']));}(this,function(_0x2db65c,_0x3237ee,_0xd53bd8,_0x3574c4,_0x23cee1,_0x372e3b,_0x4ee3fc,_0xd36704,_0x552433,_0xf9a610,_0xd55e2f,_0x2685e1,_0x1aecba,_0x6a9504,_0x514380,_0x1d07a5,_0xed24b9,_0x4a42ca,_0x1f9c2a){'use strict';const _0x1325e8=_0x541d;var _0x4ac36f=Object[_0x1325e8(0xb4)],_0x1d5341=(_0x19307c,_0x70eeeb,_0x2d1bd6)=>_0x70eeeb in _0x19307c?_0x4ac36f(_0x19307c,_0x70eeeb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1bd6}):_0x19307c[_0x70eeeb]=_0x2d1bd6,_0x48b37d=(_0x53ab92,_0x9baf81,_0x25a979)=>_0x1d5341(_0x53ab92,typeof _0x9baf81!='symbol'?_0x9baf81+'':_0x9baf81,_0x25a979),_0x59620d=Object[_0x1325e8(0x107)],_0x3ccd95=(_0x32bd11,_0x38223f,_0x3f8238,_0x102dd4)=>{const _0x39a6be=_0x1325e8;for(var _0x2368ee=_0x102dd4>0x1?void 0x0:_0x102dd4?_0x59620d(_0x38223f,_0x3f8238):_0x38223f,_0x3ec707=_0x32bd11[_0x39a6be(0x116)]-0x1,_0x57755f;_0x3ec707>=0x0;_0x3ec707--)(_0x57755f=_0x32bd11[_0x3ec707])&&(_0x2368ee=_0x57755f(_0x2368ee)||_0x2368ee);return _0x2368ee;},_0x32833d=(_0x1b2304,_0x54b670)=>(_0x3dd05b,_0x76a4b8)=>_0x54b670(_0x3dd05b,_0x76a4b8,_0x1b2304);let _0x340ef9=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x51a2a8,_0xcd515b){const _0x183803=_0x1325e8;super(),this[_0x183803(0x69)]=_0x51a2a8,this[_0x183803(0x233)]=_0xcd515b,this['_init']();}['_init'](){const _0x17a4eb=_0x1325e8,_0x1d07c6=this;this[_0x17a4eb(0x230)](this[_0x17a4eb(0x69)]['addClipboardHook']({'onBeforePasteImage':async _0x1f7e23=>{const _0xa52082=_0x17a4eb,_0x5cd193=await _0x1d07c6[_0xa52082(0x233)][_0xa52082(0x17a)](_0x1f7e23);return _0x5cd193?{'source':_0x5cd193[_0xa52082(0x263)],'imageSourceType':_0x5cd193[_0xa52082(0xe4)]}:null;}}));}};_0x340ef9=_0x3ccd95([_0x32833d(0x0,_0x372e3b['IDocClipboardService']),_0x32833d(0x1,_0x4ee3fc[_0x1325e8(0x25f)])],_0x340ef9);const _0x2daeb5=[_0x1325e8(0x212),_0x1325e8(0xb1),_0x1325e8(0xa0),_0x1325e8(0x146),'blue400',_0x1325e8(0x245)];class _0x300907 extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(){const _0xe567f2=_0x1325e8;super(...arguments),_0x48b37d(this,_0xe567f2(0x26a),new Map()),_0x48b37d(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3f2753){const _0x267e52=_0x1325e8;if(this['_assignedColors'][_0x267e52(0x258)](_0x3f2753))return this[_0x267e52(0x26a)]['get'](_0x3f2753);const _0x5e2cdb=_0x2daeb5[this['_colorIndex']];return this['_colorIndex']=(this[_0x267e52(0x276)]+0x1)%_0x2daeb5['length'],this[_0x267e52(0x26a)]['set'](_0x3f2753,_0x5e2cdb),_0x5e2cdb;}}function _0x35a585(_0x261709){const _0x3d7b1b=_0x1325e8;let _0x94125b='';for(const _0x412766 of _0x261709){const {startOffset:_0x2135e5,endOffset:_0x59f593,isActive:_0x35b23c,rangeType:_0x230fe2,segmentId:_0x338096,segmentPage:_0x1d8846}=_0x412766;_0x94125b[_0x3d7b1b(0x116)]&&(_0x94125b+=','),_0x94125b+=_0x2135e5+':'+_0x59f593+':'+(_0x35b23c?'1':'0')+':'+_0x230fe2+':'+_0x338096+':'+_0x1d8846;}return _0x94125b;}function _0x46e990(_0x3088dd){const _0x56a0fb=_0x1325e8,_0x55e6a4=_0x3088dd[_0x56a0fb(0x266)](','),_0x1b5d8b=[];for(const _0x113fbb of _0x55e6a4){const [_0x1ff677,_0x28d1b9,_0x8cb18b,_0x313849,_0x27d808,_0x17262b]=_0x113fbb[_0x56a0fb(0x266)](':');_0x1b5d8b[_0x56a0fb(0x1f9)]({'startOffset':Number(_0x1ff677),'endOffset':Number(_0x28d1b9),'collapsed':_0x1ff677===_0x28d1b9,'isActive':_0x8cb18b==='1','rangeType':_0x313849===_0xd53bd8[_0x56a0fb(0x28c)]['TEXT']?_0xd53bd8['DOC_RANGE_TYPE'][_0x56a0fb(0x2e2)]:_0xd53bd8['DOC_RANGE_TYPE'][_0x56a0fb(0x163)],'segmentId':typeof _0x27d808==_0x56a0fb(0x211)?String(_0x27d808):'','segmentPage':Number(_0x17262b!=null?_0x17262b:-0x1)});}return _0x1b5d8b[_0x56a0fb(0x2f2)](_0x22ca63=>_0x22ca63['isActive'])||(_0x1b5d8b[0x0][_0x56a0fb(0x1da)]=!0x0),_0x1b5d8b;}class _0x97dcb1 extends _0xd53bd8['RxDisposable']{constructor(){const _0x17a40b=_0x1325e8;super(...arguments),_0x48b37d(this,_0x17a40b(0x2a3),new _0xd36704['BehaviorSubject'](null)),_0x48b37d(this,_0x17a40b(0x22c),this[_0x17a40b(0x2a3)][_0x17a40b(0x2c9)]());}[_0x1325e8(0xd1)](_0x1b161b){const _0x42515d=_0x1325e8,{unitID:_0x1725e0,memberID:_0x4abeeb,textRanges:_0x151cb5}=_0x1b161b,_0x22c3de=_0x35a585(_0x151cb5);if(_0x22c3de==='')return;const _0x3fe89a={'unitID':_0x1725e0,'memberID':_0x4abeeb,'selection':_0x22c3de};this['_collabCursorState$'][_0x42515d(0x265)](_0x3fe89a);}}var _0x5e806c=Object[_0x1325e8(0x107)],_0x46db4b=(_0x57a421,_0x4ab4d,_0x409c84,_0x2e8d6a)=>{const _0x4ada6f=_0x1325e8;for(var _0x22c5e5=_0x2e8d6a>0x1?void 0x0:_0x2e8d6a?_0x5e806c(_0x4ab4d,_0x409c84):_0x4ab4d,_0x2b6b74=_0x57a421[_0x4ada6f(0x116)]-0x1,_0x3b16f2;_0x2b6b74>=0x0;_0x2b6b74--)(_0x3b16f2=_0x57a421[_0x2b6b74])&&(_0x22c5e5=_0x3b16f2(_0x22c5e5)||_0x22c5e5);return _0x22c5e5;},_0x37c2c7=(_0x469736,_0x4c9dfb)=>(_0x3cbe8e,_0x417ad6)=>_0x4c9dfb(_0x3cbe8e,_0x417ad6,_0x469736);const _0x2266a3=0x12c,_0xd58e7=0x64;let _0x38b431=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x36fb44,_0x2c2588,_0x4065a0,_0x3496ba,_0x1e67b1,_0x194a87,_0x24a75b,_0x2657ef,_0x10318d){const _0x489122=_0x1325e8;super(),_0x48b37d(this,'_online',!0x1),_0x48b37d(this,_0x489122(0x2f3),!0x1),_0x48b37d(this,'_cursorInfo$',new _0xd36704['BehaviorSubject'](new Map())),_0x48b37d(this,_0x489122(0x134),this[_0x489122(0x194)]['asObservable']()),_0x48b37d(this,'_roomMembers$',new _0xd36704[(_0x489122(0x1a4))]([])),_0x48b37d(this,_0x489122(0x204),this[_0x489122(0x7a)]['pipe'](_0xd36704[_0x489122(0x150)](_0x2266a3))),_0x48b37d(this,'_updateLocalCursor',_0xd53bd8[_0x489122(0x89)](_0x13ff53=>{const _0x233055=_0x489122,_0x46bbd9={'eventID':_0xf9a610['CollaborationEvent'][_0x233055(0x28d)],'data':{'unitID':this[_0x233055(0xfb)],'memberID':this['_session'][_0x233055(0x179)](),'selection':_0x35a585(_0x13ff53)}};this[_0x233055(0x287)][_0x233055(0x10b)](_0x46bbd9,this[_0x233055(0xfb)]);},_0xd58e7)),(this['unitID']=_0x36fb44,this[_0x489122(0x287)]=_0x2c2588,this[_0x489122(0x284)]=_0x4065a0,this[_0x489122(0x2d4)]=_0x3496ba,this['_memberService']=_0x1e67b1,this['_syncEditingCollabCursorService']=_0x194a87,this['_transformService']=_0x24a75b,this[_0x489122(0x2a7)]=_0x2657ef,this[_0x489122(0x262)]=_0x10318d);}get[_0x1325e8(0x247)](){const _0x2e1e0f=_0x1325e8;return this[_0x2e1e0f(0x194)]['getValue']();}get[_0x1325e8(0xbd)](){const _0xc375bd=_0x1325e8;return this[_0xc375bd(0x7a)][_0xc375bd(0x126)]();}[_0x1325e8(0xa9)](){const _0x4dc759=_0x1325e8;super[_0x4dc759(0xa9)](),this[_0x4dc759(0x194)]['next'](new Map()),this['_cursorInfo$'][_0x4dc759(0x17c)](),this['_roomMembers$'][_0x4dc759(0x265)]([]),this[_0x4dc759(0x7a)][_0x4dc759(0x17c)]();}[_0x1325e8(0x1fe)](){const _0x1e4d17=_0x1325e8;this[_0x1e4d17(0x2f3)]||(this[_0x1e4d17(0x2f3)]=!0x0,this[_0x1e4d17(0x287)][_0x1e4d17(0x2eb)][_0x1e4d17(0x22b)](_0xd36704[_0x1e4d17(0x7d)](this[_0x1e4d17(0x29b)]))[_0x1e4d17(0x12d)](_0x13eaa4=>{const _0x5adfc9=_0x1e4d17;_0x13eaa4===_0x3237ee[_0x5adfc9(0x158)][_0x5adfc9(0xfc)]?this['_toggleOnline']():this[_0x5adfc9(0x20f)]();}),this['_session']['event$']['pipe'](_0xd36704[_0x1e4d17(0x7d)](this[_0x1e4d17(0x29b)]))[_0x1e4d17(0x12d)](_0x18dc9d=>{const _0x1b9007=_0x1e4d17,_0x3b63ef=_0x18dc9d[_0x1b9007(0x83)];_0x3b63ef===_0xf9a610[_0x1b9007(0x285)][_0x1b9007(0x28d)]&&this[_0x1b9007(0x23e)](_0x18dc9d),_0x3b63ef===_0xf9a610[_0x1b9007(0x285)][_0x1b9007(0x20d)]&&this['_onCursorDelete'](_0x18dc9d);}),this[_0x1e4d17(0x230)](this[_0x1e4d17(0x262)][_0x1e4d17(0x85)](_0x1e7097=>{const _0x32196a=_0x1e4d17,_0x3520fa=_0x1e7097['params'];_0x3520fa!=null&&this[_0x32196a(0x205)]&&_0x1e7097['id']===_0x552433[_0x32196a(0x1b8)]['id']&&_0x3520fa[_0x32196a(0x168)]===this[_0x32196a(0xfb)]&&_0x3520fa['isEditing']===!0x1&&_0x3520fa[_0x32196a(0xa1)]['length']>0x0&&this[_0x32196a(0x1b3)](_0x3520fa[_0x32196a(0xa1)]);})),this[_0x1e4d17(0x72)]['collabCursorState$'][_0x1e4d17(0x22b)](_0xd36704[_0x1e4d17(0x7d)](this[_0x1e4d17(0x29b)]))['subscribe'](_0xc8f6c3=>{const _0x1a1e3b=_0x1e4d17;if((_0xc8f6c3==null?void 0x0:_0xc8f6c3[_0x1a1e3b(0xfb)])!==this['unitID'])return;const _0x2ab44a={'eventID':_0xf9a610[_0x1a1e3b(0x285)][_0x1a1e3b(0x28d)],'data':_0xc8f6c3};this['_onCursorUpdate'](_0x2ab44a);}),this['disposeWithMe'](this['_commandService'][_0x1e4d17(0x85)](_0x2b452c=>{const _0x2dfcd8=_0x1e4d17;if(_0x2b452c['params']==null)return;const _0x4164ae=_0x2b452c[_0x2dfcd8(0x271)];if(_0x2b452c['id']!==_0x552433[_0x2dfcd8(0x1cb)]['id']||_0x4164ae[_0x2dfcd8(0x168)]!==this[_0x2dfcd8(0xfb)])return;const _0x59d44e={'id':_0x2dfcd8(0x2c7),'params':_0x4164ae},_0x574561=this[_0x2dfcd8(0x247)];for(const [_0xd89454,_0x537d7a]of _0x574561){const _0x3c0a0b={'id':_0x2dfcd8(0x2c7),'params':{'unitId':this[_0x2dfcd8(0xfb)],'actions':null,'textRanges':_0x537d7a[_0x2dfcd8(0xa1)]}},_0x1f7a09=this[_0x2dfcd8(0x295)][_0x2dfcd8(0x29d)](_0x59d44e,_0x3c0a0b,!0x1);if(_0xf9a610['isTransformMutationFailure'](_0x1f7a09))throw _0x1f7a09[_0x2dfcd8(0x149)];_0x574561['set'](_0xd89454,{..._0x537d7a,'ranges':_0x1f7a09[_0x2dfcd8(0x2ee)]['params'][_0x2dfcd8(0x2da)]});}queueMicrotask(()=>{const _0x19ebbf=_0x2dfcd8;this[_0x19ebbf(0x194)]['next'](_0x574561);});})));}[_0x1325e8(0x23e)](_0x46c5d0){const _0x4ab147=_0x1325e8;var _0x52d284,_0x19dd96;const {memberID:_0x4174ca,selection:_0x420494}=_0x46c5d0[_0x4ab147(0xec)],_0xa1de30=_0x46e990(_0x420494),_0x490447=(_0x19dd96=(_0x52d284=this[_0x4ab147(0xfa)][_0x4ab147(0x1fc)](this[_0x4ab147(0xfb)],_0x4174ca))==null?void 0x0:_0x52d284[_0x4ab147(0x1eb)])!=null?_0x19dd96:_0x4ab147(0x8e),_0x11ea1b={'color':this['_colorAssignService'][_0x4ab147(0x20b)](_0x4174ca),'name':_0x490447,'ranges':_0xa1de30},_0x2c868e=this['cursorInfo'];_0x2c868e[_0x4ab147(0x174)](_0x4174ca,_0x11ea1b),this[_0x4ab147(0x194)][_0x4ab147(0x265)](_0x2c868e);}[_0x1325e8(0x133)](_0x40f7d6){const _0x5e0344=_0x1325e8,{memberID:_0x2a67ed}=_0x40f7d6[_0x5e0344(0xec)],_0x14af85=this[_0x5e0344(0x247)];_0x14af85[_0x5e0344(0x93)](_0x2a67ed),this[_0x5e0344(0x194)][_0x5e0344(0x265)](_0x14af85);}['_toggleOnline'](){const _0x2d8f86=_0x1325e8;var _0x3c6634;if(this['_online']=!0x0,((_0x3c6634=this[_0x2d8f86(0x2a7)][_0x2d8f86(0x177)]())==null?void 0x0:_0x3c6634[_0x2d8f86(0x19f)]())!==this[_0x2d8f86(0xfb)])return;const _0x3a7f9c=this['_injector']['get'](_0x552433[_0x2d8f86(0x173)])[_0x2d8f86(0x94)]();Array[_0x2d8f86(0x15d)](_0x3a7f9c)&&_0x3a7f9c[_0x2d8f86(0x116)]>0x0&&this[_0x2d8f86(0x1b3)](_0x3a7f9c);}['_toggleOffline'](){const _0xaae7c2=_0x1325e8;this[_0xaae7c2(0x205)]=!0x1;}};_0x38b431=_0x46db4b([_0x37c2c7(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8['Injector'])),_0x37c2c7(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0x300907)),_0x37c2c7(0x4,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x1d8)])),_0x37c2c7(0x5,_0xd53bd8[_0x1325e8(0x2cc)](_0x97dcb1)),_0x37c2c7(0x6,_0xf9a610[_0x1325e8(0x22d)]),_0x37c2c7(0x7,_0xd53bd8['IUniverInstanceService']),_0x37c2c7(0x8,_0xd53bd8[_0x1325e8(0x2bf)])],_0x38b431);var _0x1f3973=Object[_0x1325e8(0x107)],_0x88802=(_0x2a80c0,_0x3d1faa,_0x1a5c16,_0xf1fa8a)=>{const _0x1a4661=_0x1325e8;for(var _0x55a971=_0xf1fa8a>0x1?void 0x0:_0xf1fa8a?_0x1f3973(_0x3d1faa,_0x1a5c16):_0x3d1faa,_0xd73a33=_0x2a80c0[_0x1a4661(0x116)]-0x1,_0x1cb82f;_0xd73a33>=0x0;_0xd73a33--)(_0x1cb82f=_0x2a80c0[_0xd73a33])&&(_0x55a971=_0x1cb82f(_0x55a971)||_0x55a971);return _0x55a971;},_0x305f7c=(_0x23dfb9,_0x5a55d0)=>(_0x374900,_0x2232b6)=>_0x5a55d0(_0x374900,_0x2232b6,_0x23dfb9);const _0x3df93f=0x12c,_0xab2e49=0x64,_0x252051=()=>{let _0x3c141d=[],_0x2885e2=!0x1;return _0x16d2c2=>{_0x3c141d['push'](_0x16d2c2),_0x2885e2||(_0x2885e2=!0x0,setTimeout(()=>{const _0x45e3e2=_0x541d;_0x3c141d[_0x45e3e2(0x26c)](_0x35ca08=>_0x35ca08()),_0x3c141d=[],_0x2885e2=!0x1;}));};};let _0x39fad7=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x29fc15,_0xf0f5f8,_0x495e40,_0x53a8a2,_0x10e2bc,_0x4b5099,_0x2107d7,_0xb7dc6c){const _0x292aca=_0x1325e8;super(),_0x48b37d(this,_0x292aca(0x205),!0x1),_0x48b37d(this,_0x292aca(0x2f3),!0x1),_0x48b37d(this,_0x292aca(0x194),new _0xd36704[(_0x292aca(0x1a4))](new Map())),_0x48b37d(this,_0x292aca(0x134),this[_0x292aca(0x194)][_0x292aca(0x2c9)]()),_0x48b37d(this,_0x292aca(0x7a),new _0xd36704[(_0x292aca(0x1a4))]([])),_0x48b37d(this,_0x292aca(0x204),this['_roomMembers$']['pipe'](_0xd36704[_0x292aca(0x150)](_0x3df93f))),_0x48b37d(this,_0x292aca(0x1b3),_0xd53bd8['debounce']((_0x26b56a,_0x1bf444)=>{const _0x54ddc2=_0x292aca,_0x4a4383={'eventID':_0xf9a610[_0x54ddc2(0x285)][_0x54ddc2(0x28d)],'data':{'unitID':this[_0x54ddc2(0xfb)],'memberID':this[_0x54ddc2(0x287)][_0x54ddc2(0x179)](),'selection':_0xd55e2f[_0x54ddc2(0x10e)](_0x26b56a,_0x1bf444[_0x54ddc2(0xc3)])}};this[_0x54ddc2(0x287)][_0x54ddc2(0x10b)](_0x4a4383,this[_0x54ddc2(0xfb)]);},_0xab2e49)),(this['unitID']=_0x29fc15,this[_0x292aca(0x287)]=_0xf0f5f8,this[_0x292aca(0x284)]=_0x495e40,this[_0x292aca(0x2d4)]=_0x53a8a2,this[_0x292aca(0xfa)]=_0x10e2bc,this['_univerInstanceService']=_0x4b5099,this[_0x292aca(0x262)]=_0x2107d7,this[_0x292aca(0xda)]=_0xb7dc6c);}get[_0x1325e8(0x247)](){const _0x16d471=_0x1325e8;return this['_cursorInfo$'][_0x16d471(0x126)]();}get[_0x1325e8(0xbd)](){return this['_roomMembers$']['getValue']();}[_0x1325e8(0xa9)](){const _0x4ad412=_0x1325e8;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x4ad412(0x194)]['complete'](),this['_roomMembers$'][_0x4ad412(0x265)]([]),this[_0x4ad412(0x7a)][_0x4ad412(0x17c)]();}[_0x1325e8(0x1fe)](){const _0x473ca2=_0x1325e8;this[_0x473ca2(0x2f3)]||(this[_0x473ca2(0x2f3)]=!0x0,this[_0x473ca2(0x287)]['sessionStatus$'][_0x473ca2(0x22b)](_0xd36704[_0x473ca2(0x7d)](this[_0x473ca2(0x29b)]))[_0x473ca2(0x12d)](_0x1aee8f=>{const _0x1dc381=_0x473ca2;_0x1aee8f===_0x3237ee[_0x1dc381(0x158)][_0x1dc381(0xfc)]?this[_0x1dc381(0xc4)]():this[_0x1dc381(0x20f)]();}),this[_0x473ca2(0x287)][_0x473ca2(0x231)][_0x473ca2(0x22b)](_0xd36704[_0x473ca2(0x7d)](this['dispose$']))['subscribe'](_0x15f993=>{const _0x3af078=_0x473ca2,_0x559091=_0x15f993[_0x3af078(0x83)];_0x559091===_0xf9a610[_0x3af078(0x285)][_0x3af078(0x28d)]&&this['_onCursorUpdate'](_0x15f993),_0x559091===_0xf9a610['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x15f993);}),this['_onRefRangeChange'](),this[_0x473ca2(0x230)](this[_0x473ca2(0x262)][_0x473ca2(0x85)](_0xf74ba3=>{const _0x14c147=_0x473ca2;if(this[_0x14c147(0x205)]&&_0xf74ba3['id']===_0x2685e1[_0x14c147(0x17b)]['id']&&_0xf74ba3[_0x14c147(0x271)]['unitId']===this[_0x14c147(0xfb)]){const _0x9a45c2=_0xf74ba3[_0x14c147(0x271)];this[_0x14c147(0x1b3)](_0x9a45c2[_0x14c147(0x71)],_0x9a45c2[_0x14c147(0x244)][0x0]);}})));}['_onCursorUpdate'](_0x763e4b){const _0x2353e5=_0x1325e8;var _0x53bcbf,_0x55a6cf;const {memberID:_0x494b86,selection:_0x4000e2}=_0x763e4b[_0x2353e5(0xec)],{sheetName:_0x169fe2,range:_0x351dea}=_0xd55e2f[_0x2353e5(0x294)](_0x4000e2),_0x36c674={'name':(_0x55a6cf=(_0x53bcbf=this[_0x2353e5(0xfa)][_0x2353e5(0x1fc)](this[_0x2353e5(0xfb)],_0x494b86))==null?void 0x0:_0x53bcbf[_0x2353e5(0x1eb)])!=null?_0x55a6cf:_0x2353e5(0x8e),'range':this[_0x2353e5(0x2ba)](_0x169fe2,_0x351dea),'sheetID':_0x169fe2,'color':this['_colorAssignService'][_0x2353e5(0x20b)](_0x494b86),'selection':_0x4000e2},_0x1f80b2=this[_0x2353e5(0x247)];_0x1f80b2[_0x2353e5(0x174)](_0x494b86,_0x36c674),this[_0x2353e5(0x194)]['next'](_0x1f80b2);}[_0x1325e8(0x133)](_0x5457f6){const _0x300336=_0x1325e8,{memberID:_0x582729}=_0x5457f6[_0x300336(0xec)],_0x34ca13=this[_0x300336(0x247)];_0x34ca13['delete'](_0x582729),this[_0x300336(0x194)][_0x300336(0x265)](_0x34ca13);}[_0x1325e8(0x2ba)](_0x13dcc4,_0x1ff638){const _0x3eaf5e=_0x1325e8;var _0x542ba9,_0x3218a2;const _0x25e123=(_0x3218a2=(_0x542ba9=this[_0x3eaf5e(0x2a7)]['getUniverSheetInstance'](this[_0x3eaf5e(0xfb)]))==null?void 0x0:_0x542ba9[_0x3eaf5e(0x1d9)](_0x13dcc4))==null?void 0x0:_0x3218a2[_0x3eaf5e(0x24c)]();return(_0x25e123==null?void 0x0:_0x25e123[_0x3eaf5e(0xf2)](_0x35a49f=>_0xd53bd8[_0x3eaf5e(0x178)][_0x3eaf5e(0xf9)](_0x35a49f,_0x1ff638)))||_0x1ff638;}[_0x1325e8(0x162)](){const _0x5cc809=_0x1325e8,_0x96f1b6=new _0xd53bd8['DisposableCollection'](),_0x2ec6f9=_0x252051(),_0x1d0204=()=>{const _0x2946c7=_0x541d;_0x96f1b6[_0x2946c7(0xa9)]();const _0x21a9cb=(_0x153142,_0x223717,_0x592b40,_0x3a8a09)=>{const _0x219c4e=_0x2946c7;let _0x193b51=[];switch(_0x153142['id']){case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x256)]:{_0x193b51=_0x2685e1[_0x219c4e(0xb8)](_0x153142,_0x3a8a09);break;}case _0x2685e1['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x193b51=_0x2685e1[_0x219c4e(0x1bd)](_0x153142,_0x3a8a09);break;}case _0x2685e1['EffectRefRangId'][_0x219c4e(0x167)]:{_0x193b51=_0x2685e1[_0x219c4e(0xc5)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x17d)]:{_0x193b51=_0x2685e1[_0x219c4e(0x1ab)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x2b5)]:{_0x193b51=_0x2685e1[_0x219c4e(0x228)](_0x153142,_0x3a8a09);break;}case _0x2685e1['EffectRefRangId']['InsertRowCommandId']:{_0x193b51=_0x2685e1[_0x219c4e(0x113)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x21e)]:{_0x193b51=_0x2685e1['handleMoveRange'](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x24b)]:{_0x193b51=_0x2685e1[_0x219c4e(0x2fc)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)]['RemoveRowCommandId']:{_0x193b51=_0x2685e1[_0x219c4e(0x141)](_0x153142,_0x3a8a09);break;}}const _0x3ba5fc=_0x2685e1[_0x219c4e(0x185)](_0x193b51,_0x3a8a09),_0xf122e9=this[_0x219c4e(0x247)]['get'](_0x223717);if(_0xf122e9&&_0x3ba5fc){const _0x1f6b3f={..._0xf122e9,'range':_0x3ba5fc};this[_0x219c4e(0x247)]['set'](_0x223717,_0x1f6b3f),_0x2ec6f9(()=>{const _0xc11f82=_0x219c4e,_0x332dae=this[_0xc11f82(0xda)]['registerRefRange'](_0x3ba5fc,_0x52d553=>(_0x332dae[_0xc11f82(0xa9)](),_0x21a9cb(_0x52d553,_0x223717,_0x592b40,_0x3ba5fc)));_0x96f1b6[_0xc11f82(0x2f5)](_0x332dae);});}return{'redos':[],'undos':[]};};this[_0x2946c7(0x247)]['forEach']((_0xcdcfce,_0x39b64e)=>{const _0x4e117d=_0x2946c7,{range:_0x1c175a,sheetID:_0x2e9309}=_0xcdcfce,_0x3b67da=this['_refRangeService']['registerRefRange'](_0x1c175a,_0x1138ac=>(_0x3b67da[_0x4e117d(0xa9)](),_0x21a9cb(_0x1138ac,_0x39b64e,_0x2e9309,_0x1c175a)));_0x96f1b6['add'](_0x3b67da);});};this[_0x5cc809(0x230)](_0xd53bd8[_0x5cc809(0x1e5)](this['_cursorInfo$'][_0x5cc809(0x12d)](()=>{_0x1d0204();})));}[_0x1325e8(0xc4)](){const _0x32844a=_0x1325e8;var _0x457142,_0x42f530;if(this['_online']=!0x0,((_0x457142=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x457142['getUnitId']())!==this[_0x32844a(0xfb)])return;const _0x561f0a=(_0x42f530=this[_0x32844a(0x284)][_0x32844a(0x1d5)](_0x2685e1[_0x32844a(0x2e3)])[_0x32844a(0x11f)]())==null?void 0x0:_0x42f530[0x0],_0x4e2e65=this[_0x32844a(0x2a7)][_0x32844a(0xe1)](_0xd53bd8[_0x32844a(0x9c)]['UNIVER_SHEET'])['getActiveSheet']();_0x561f0a&&_0x4e2e65&&this[_0x32844a(0x1b3)](_0x4e2e65[_0x32844a(0x293)](),_0x561f0a);}['_toggleOffline'](){const _0x21fcde=_0x1325e8;this[_0x21fcde(0x205)]=!0x1;}};_0x39fad7=_0x88802([_0x305f7c(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x305f7c(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0x300907)),_0x305f7c(0x4,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x1d8)])),_0x305f7c(0x5,_0xd53bd8[_0x1325e8(0xf1)]),_0x305f7c(0x6,_0xd53bd8[_0x1325e8(0x2bf)]),_0x305f7c(0x7,_0xd53bd8[_0x1325e8(0x2cc)](_0x2685e1[_0x1325e8(0x203)]))],_0x39fad7);var _0x2d0ea0=Object[_0x1325e8(0x107)],_0x4cc591=(_0x3c1f9a,_0x46c92d,_0x5f236f,_0x20c16b)=>{const _0x5e4746=_0x1325e8;for(var _0x5237c8=_0x20c16b>0x1?void 0x0:_0x20c16b?_0x2d0ea0(_0x46c92d,_0x5f236f):_0x46c92d,_0x578c50=_0x3c1f9a[_0x5e4746(0x116)]-0x1,_0x58e920;_0x578c50>=0x0;_0x578c50--)(_0x58e920=_0x3c1f9a[_0x578c50])&&(_0x5237c8=_0x58e920(_0x5237c8)||_0x5237c8);return _0x5237c8;},_0x67dec3=(_0x1c1bf2,_0x9b9f5d)=>(_0x14e421,_0x2ec315)=>_0x9b9f5d(_0x14e421,_0x2ec315,_0x1c1bf2);let _0x102ba3=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x11f7e6,_0x43381e,_0x17231a){const _0x569392=_0x1325e8;super(),_0x48b37d(this,_0x569392(0x1cd),new Map()),_0x48b37d(this,_0x569392(0x2ae),new _0xd36704[(_0x569392(0x77))]()),(this[_0x569392(0x2a7)]=_0x11f7e6,this[_0x569392(0x284)]=_0x43381e,this[_0x569392(0x1de)]=_0x17231a,this[_0x569392(0x2f3)]());}[_0x1325e8(0xa9)](){const _0x15d909=_0x1325e8;super['dispose'](),this[_0x15d909(0x2ae)][_0x15d909(0x17c)](),this[_0x15d909(0x1cd)]['forEach'](_0x5a9183=>_0x5a9183['dispose']());}[_0x1325e8(0x2cd)](_0x116692){const _0x25f312=_0x1325e8;return this[_0x25f312(0x1cd)]['has'](_0x116692)?this['_entities'][_0x25f312(0x1d5)](_0x116692)[_0x25f312(0x134)]:this['_entityInit$'][_0x25f312(0x22b)](_0xd36704[_0x25f312(0x28a)](_0x76c8e1=>_0x76c8e1['unitID']===_0x116692),_0xd36704[_0x25f312(0x120)](_0x5090dc=>_0x5090dc['cursorInfo$']));}[_0x1325e8(0x2f3)](){const _0x3606f7=_0x1325e8;this['_univerInstanceService'][_0x3606f7(0x187)](_0xd53bd8[_0x3606f7(0x9c)][_0x3606f7(0x14f)])[_0x3606f7(0x22b)](_0xd36704['takeUntil'](this[_0x3606f7(0x29b)]))[_0x3606f7(0x12d)](async _0x3be4d4=>{const _0x4efe16=_0x3606f7,_0x2bb71d=_0x3be4d4[_0x4efe16(0x19f)](),_0x17c822=await this[_0x4efe16(0x226)](_0x2bb71d);this['_entityInit$'][_0x4efe16(0x265)](_0x17c822),this[_0x4efe16(0x1cd)][_0x4efe16(0x174)](_0x2bb71d,_0x17c822);}),this[_0x3606f7(0x2a7)][_0x3606f7(0x187)](_0xd53bd8['UniverInstanceType'][_0x3606f7(0x2c8)])['pipe'](_0xd36704[_0x3606f7(0x7d)](this[_0x3606f7(0x29b)]))[_0x3606f7(0x22b)](_0xd36704[_0x3606f7(0x28a)](_0x30972a=>!_0x30972a[_0x3606f7(0x19f)]()[_0x3606f7(0xb7)]('__')))['subscribe'](async _0x1bf46a=>{const _0x5a1129=_0x3606f7,_0x528642=_0x1bf46a[_0x5a1129(0x19f)](),_0x10c262=await this['_startDocCollabCursor'](_0x528642);this[_0x5a1129(0x2ae)][_0x5a1129(0x265)](_0x10c262),this['_entities'][_0x5a1129(0x174)](_0x528642,_0x10c262);}),_0xd36704[_0x3606f7(0x27b)](this[_0x3606f7(0x2a7)]['getTypeOfUnitDisposed$'](_0xd53bd8['UniverInstanceType'][_0x3606f7(0x2c8)]),this[_0x3606f7(0x2a7)][_0x3606f7(0xb2)](_0xd53bd8['UniverInstanceType'][_0x3606f7(0x14f)]))['pipe'](_0xd36704[_0x3606f7(0x7d)](this['dispose$']))['subscribe'](_0x24505f=>{const _0x17c557=_0x3606f7,_0xb983c7=_0x24505f[_0x17c557(0x19f)](),_0x33c635=this[_0x17c557(0x1cd)][_0x17c557(0x1d5)](_0xb983c7);_0x33c635&&(_0x33c635['dispose'](),this[_0x17c557(0x1cd)]['delete'](_0xb983c7));});}async[_0x1325e8(0x226)](_0x3ae43c){const _0x16d8a9=_0x1325e8,_0x3f6693=await this[_0x16d8a9(0x1de)][_0x16d8a9(0x90)](_0x3ae43c),_0x40279e=this[_0x16d8a9(0x284)][_0x16d8a9(0x190)](_0x39fad7,_0x3ae43c,_0x3f6693);return _0x40279e[_0x16d8a9(0x1fe)](),_0x40279e;}async[_0x1325e8(0x1c6)](_0x4b4c18){const _0x236cd1=_0x1325e8,_0xc25a67=await this[_0x236cd1(0x1de)]['requireSession'](_0x4b4c18),_0x5817fe=this[_0x236cd1(0x284)][_0x236cd1(0x190)](_0x38b431,_0x4b4c18,_0xc25a67);return _0x5817fe[_0x236cd1(0x1fe)](),_0x5817fe;}};_0x102ba3=_0x4cc591([_0x67dec3(0x0,_0xd53bd8[_0x1325e8(0xf1)]),_0x67dec3(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x67dec3(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x17e)]))],_0x102ba3);const _0x1b70f0=0x14,_0x4e43ac=0xc8,_0x2cb858=0x4,_0x59757a=0x5;function _0x2b6882(_0x1f6283,_0x30520d){const _0x3c3a10=_0x1325e8;let {radius:_0x4d49e6,width:_0x188bae,height:_0x29adb5}=_0x30520d;_0x4d49e6=_0x4d49e6!=null?_0x4d49e6:0x0,_0x188bae=_0x188bae!=null?_0x188bae:0x1e,_0x29adb5=_0x29adb5!=null?_0x29adb5:0x1e;let _0x34b44e=0x0,_0x142c5d=0x0,_0x289c51=0x0;_0x34b44e=_0x142c5d=_0x289c51=Math['min'](_0x4d49e6,_0x188bae/0x2,_0x29adb5/0x2),_0x1f6283[_0x3c3a10(0x290)](),_0x1f6283['moveTo'](_0x34b44e,0x0),_0x1f6283[_0x3c3a10(0xef)](_0x188bae-_0x142c5d,0x0),_0x1f6283[_0x3c3a10(0x8c)](_0x188bae-_0x142c5d,_0x142c5d,_0x142c5d,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6283['lineTo'](_0x188bae,_0x29adb5-_0x289c51),_0x1f6283[_0x3c3a10(0x8c)](_0x188bae-_0x289c51,_0x29adb5-_0x289c51,_0x289c51,0x0,Math['PI']/0x2,!0x1),_0x1f6283['lineTo'](0x0,_0x29adb5),_0x1f6283['lineTo'](0x0,_0x34b44e),_0x1f6283[_0x3c3a10(0x8c)](_0x34b44e,_0x34b44e,_0x34b44e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6283[_0x3c3a10(0x1dc)](),_0x30520d[_0x3c3a10(0x1a1)]&&(_0x1f6283[_0x3c3a10(0xd9)](),_0x1f6283['fillStyle']=_0x30520d[_0x3c3a10(0x1a1)],_0x30520d[_0x3c3a10(0x12b)]==='evenodd'?_0x1f6283[_0x3c3a10(0x1a1)](_0x3c3a10(0x86)):_0x1f6283['fill'](),_0x1f6283['restore']());}class _0xf100c3 extends _0x3574c4['Shape']{constructor(_0x99fdb9,_0x528206){const _0x395023=_0x1325e8;super(_0x99fdb9,_0x528206),_0x48b37d(this,_0x395023(0x2af)),_0x48b37d(this,'text'),(this[_0x395023(0x2af)]=_0x528206==null?void 0x0:_0x528206['color'],this[_0x395023(0x1ad)]=_0x528206==null?void 0x0:_0x528206['text']);}static[_0x1325e8(0x1a0)](_0x77432c,_0x366caf){const _0xb48d35=_0x1325e8,{text:_0x505143,color:_0x378642}=_0x366caf;_0x77432c['save'](),_0x77432c[_0xb48d35(0x196)]=_0xb48d35(0x14a);const _0x79a9d4=_0x77432c['measureText'](_0x505143)[_0xb48d35(0x2b3)],_0x2aa020=Math['min'](_0x79a9d4+0x2*_0x2cb858,_0x4e43ac);_0x2b6882(_0x77432c,{'height':_0x1b70f0,'radius':0x4,'width':_0x2aa020,'fill':_0x378642}),_0x77432c[_0xb48d35(0x159)]='#FFF';const _0x2a8a0e=_0x2cb858,_0x3cd686=_0x1b70f0-_0x59757a,_0x4e58cf=_0x4e43ac-0x2*_0x2cb858;if(_0x79a9d4>_0x4e58cf){let _0x2e2293='',_0x5d312a=0x0;for(const _0x19839e of _0x505143){const _0x164f7e=_0x77432c[_0xb48d35(0xf5)](_0x19839e)[_0xb48d35(0x2b3)];if(_0x5d312a+_0x164f7e<=_0x4e58cf-_0x77432c[_0xb48d35(0xf5)]('...')[_0xb48d35(0x2b3)])_0x2e2293+=_0x19839e,_0x5d312a+=_0x164f7e;else{_0x2e2293+=_0xb48d35(0x29c);break;}}_0x77432c[_0xb48d35(0xa2)](_0x2e2293,_0x2a8a0e,_0x3cd686);}else _0x77432c[_0xb48d35(0xa2)](_0x505143,_0x2a8a0e,_0x3cd686);_0x77432c['restore']();}[_0x1325e8(0xa4)](_0x3c1e12){const _0x32be7d=_0x1325e8;_0xf100c3[_0x32be7d(0x1a0)](_0x3c1e12,this);}}const _0x516a14=_0x1325e8(0x14d),_0x33cb3a=_0x1325e8(0x1d7),_0xbec207=_0x1325e8(0x154),_0x13f6c1=0x6,_0x222e78=1.5,_0x2cfe4f=0x4,_0x359915=1.5,_0x55d017='rgba(255,\x20255,\x20255,\x200.01)';class _0x244496{constructor(_0x1006aa,_0x56807e,_0x353c52,_0x4dba10){const _0x53376f=_0x1325e8;_0x48b37d(this,_0x53376f(0x239),[]),_0x48b37d(this,'_anchor',null),_0x48b37d(this,_0x53376f(0x142),null),_0x48b37d(this,'_anchorDot',null),_0x48b37d(this,_0x53376f(0x15b),null),_0x48b37d(this,'_eventUnsubscribe',null),(this[_0x53376f(0x27d)]=_0x1006aa,this[_0x53376f(0xbc)]=_0x56807e,this[_0x53376f(0x2f8)]=_0x353c52,this['_document']=_0x4dba10,this[_0x53376f(0x2a9)]());}set[_0x1325e8(0x2b9)](_0x54c020){const _0x4198bf=_0x1325e8;_0x54c020?(this[_0x4198bf(0x292)]&&this[_0x4198bf(0x292)][_0x4198bf(0x12f)](),this[_0x4198bf(0x142)]&&this['_textBubble']['show']()):(this[_0x4198bf(0x292)]&&this[_0x4198bf(0x292)][_0x4198bf(0x7e)](),this[_0x4198bf(0x142)]&&this[_0x4198bf(0x142)][_0x4198bf(0x12f)]());}[_0x1325e8(0xa9)](){const _0xa5a0cb=_0x1325e8;for(const _0x6431c5 of this['_shapes'])_0x6431c5['dispose']();this[_0xa5a0cb(0x142)]&&this['_textBubble'][_0xa5a0cb(0xa9)](),this[_0xa5a0cb(0x292)]&&this[_0xa5a0cb(0x292)][_0xa5a0cb(0xa9)](),this[_0xa5a0cb(0x104)]&&this[_0xa5a0cb(0x104)]['dispose'](),this[_0xa5a0cb(0x1ac)]&&this[_0xa5a0cb(0x1ac)]();}[_0x1325e8(0x2a9)](){const _0x584d68=_0x1325e8;var _0x33b592;const {_docSkeleton:_0x3aef95,_document:_0x31c014}=this,{color:_0x47f84e,name:_0x44da61,ranges:_0x434994}=this[_0x584d68(0x27d)],_0x4ec8fe=_0x31c014[_0x584d68(0x2df)](),{docsLeft:_0x1d2240,docsTop:_0x4e66a7}=_0x4ec8fe,_0x4e0388=new _0x372e3b['NodePositionConvertToCursor'](_0x4ec8fe,_0x3aef95);for(const {startOffset:_0x5f2cd6,endOffset:_0x35572b,rangeType:_0x42695b,segmentId:_0x30a81d,segmentPage:_0x50508f,collapsed:_0x1a4f7d,isActive:_0x197c54}of _0x434994){const _0xedc0bc=_0x3aef95[_0x584d68(0x79)](_0x5f2cd6,!0x0,_0x30a81d,_0x50508f);let _0x5c2ea4=_0x3aef95['findNodePositionByCharIndex'](_0x35572b,!0x0,_0x30a81d,_0x50508f);if(_0x5c2ea4==null&&(_0x5c2ea4=_0x3aef95['findNodePositionByCharIndex'](_0x35572b-0x1,!0x1,_0x30a81d,_0x50508f)),_0x197c54){const {contentBoxPointGroup:_0x1f738d}=_0x4e0388[_0x584d68(0x241)](_0x5c2ea4,_0x5c2ea4);if(_0x1f738d[_0x584d68(0x116)]===0x0)continue;this[_0x584d68(0x1e3)](_0x47f84e,_0x1f738d,_0x1d2240,_0x4e66a7,_0x44da61),this[_0x584d68(0x1ac)]=this[_0x584d68(0x248)]();}if(_0xedc0bc&&_0x5c2ea4){if(_0x42695b===_0xd53bd8[_0x584d68(0x28c)][_0x584d68(0x163)]){const _0x7cd6a6=new _0x372e3b[(_0x584d68(0x8a))](_0x4ec8fe,_0x3aef95),{pointGroup:_0x1344d1}=(_0x33b592=_0x7cd6a6[_0x584d68(0x241)](_0xedc0bc,_0x5c2ea4))!=null?_0x33b592:{};if(_0x1344d1==null||_0x1344d1['length']===0x0)continue;this[_0x584d68(0x12e)](_0x47f84e,_0x1344d1,_0x1d2240,_0x4e66a7);}else{if(!_0x1a4f7d){const {borderBoxPointGroup:_0x54e7e0}=_0x4e0388[_0x584d68(0x241)](_0xedc0bc,_0x5c2ea4);if(_0x54e7e0['length']===0x0)continue;this[_0x584d68(0xfe)](_0x47f84e,_0x54e7e0,_0x1d2240,_0x4e66a7);}}}}}[_0x1325e8(0x1e3)](_0x528b4f,_0x5e41c8,_0x3968c1,_0x316b8c,_0x2f9162){const _0x421ec0=_0x1325e8,_0x1dcacc=this[_0x421ec0(0x1f1)](_0x5e41c8),{left:_0x5d5385,top:_0xcebf9e,height:_0x176266}=_0x1dcacc,_0x14e54b=this['_getScale'](),_0xf7692c=_0x359915/_0x14e54b,_0x3c73ff=new _0x3574c4['Rect'](_0x516a14+_0xd53bd8[_0x421ec0(0x22f)]['generateRandomId'](_0x13f6c1),{'left':_0x5d5385+_0x3968c1-_0xf7692c,'top':_0xcebf9e+_0x316b8c,'height':_0x176266,'width':_0x222e78,'fill':_0x528b4f||_0x3574c4[_0x421ec0(0x2dc)](_0xd53bd8[_0x421ec0(0x210)][_0x421ec0(0x240)],0x0),'strokeWidth':_0xf7692c,'stroke':_0x55d017,'evented':!0x0});this[_0x421ec0(0x104)]=_0x3c73ff,this[_0x421ec0(0xbc)]['addObject'](_0x3c73ff,_0x372e3b['TEXT_RANGE_LAYER_INDEX']);const _0x955d6c=new _0x3574c4[(_0x421ec0(0x25d))](_0x516a14+_0xd53bd8[_0x421ec0(0x22f)][_0x421ec0(0x15f)](_0x13f6c1),{'left':_0x5d5385+_0x3968c1-_0xf7692c,'top':_0xcebf9e+_0x316b8c-_0x2cfe4f/0x2,'height':_0x2cfe4f,'width':_0x2cfe4f,'fill':_0x528b4f||_0x3574c4[_0x421ec0(0x2dc)](_0xd53bd8[_0x421ec0(0x210)][_0x421ec0(0x240)],0x0),'strokeWidth':0x0,'stroke':_0x528b4f||_0x3574c4['getColor'](_0xd53bd8[_0x421ec0(0x210)][_0x421ec0(0x240)],0x0),'evented':!0x1});this[_0x421ec0(0x292)]=_0x955d6c,this[_0x421ec0(0xbc)][_0x421ec0(0xe9)](_0x955d6c,_0x372e3b[_0x421ec0(0x1a6)]);const _0x44a406=new _0xf100c3(_0x516a14+_0xd53bd8['Tools'][_0x421ec0(0x15f)](_0x13f6c1),{'left':_0x5d5385+_0x3968c1-_0xf7692c,'top':_0xcebf9e+_0x316b8c-_0x1b70f0,'text':_0x2f9162,'color':_0x528b4f});this[_0x421ec0(0x142)]=_0x44a406,this[_0x421ec0(0xbc)][_0x421ec0(0xe9)](_0x44a406,_0x372e3b[_0x421ec0(0x1a6)]),this[_0x421ec0(0x2b9)]=!0x1;}[_0x1325e8(0x248)](){const _0x61dde4=_0x1325e8,_0x518501=this[_0x61dde4(0x104)][_0x61dde4(0x1c0)][_0x61dde4(0x9d)](()=>{const _0x1f1873=_0x61dde4;this[_0x1f1873(0x2b9)]=!0x0;}),_0x5690ac=this[_0x61dde4(0x104)]['onPointerLeave$'][_0x61dde4(0x9d)](()=>{const _0x5fb8d0=_0x61dde4;this[_0x5fb8d0(0x15b)]&&clearTimeout(this[_0x5fb8d0(0x15b)]),this['_hideTimer']=setTimeout(()=>{const _0x4d38b6=_0x5fb8d0;this[_0x4d38b6(0x2b9)]=!0x1;},0x7d0);});return()=>{const _0x1e591f=_0x61dde4;_0x518501[_0x1e591f(0x151)](),_0x5690ac[_0x1e591f(0x151)]();};}['_drawTextRange'](_0x1702c6,_0x16346c,_0x573d0a,_0x1b532b){const _0x2c3cb4=_0x1325e8,_0x2ed9dc=new _0xd53bd8[(_0x2c3cb4(0x1c9))](_0x1702c6)[_0x2c3cb4(0x74)](0.2)[_0x2c3cb4(0x156)](),_0x5041c2=new _0x3574c4[(_0x2c3cb4(0x2a2))](_0x33cb3a+_0xd53bd8[_0x2c3cb4(0x22f)][_0x2c3cb4(0x15f)](_0x13f6c1),{'pointsGroup':_0x16346c,'fill':_0x2ed9dc||_0x3574c4['getColor'](_0xd53bd8[_0x2c3cb4(0x210)][_0x2c3cb4(0x240)],0.2),'left':_0x573d0a,'top':_0x1b532b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2c3cb4(0x239)][_0x2c3cb4(0x1f9)](_0x5041c2),this['_scene'][_0x2c3cb4(0xe9)](_0x5041c2,_0x372e3b[_0x2c3cb4(0x1a6)]);}[_0x1325e8(0x12e)](_0x5961e7,_0x1bbe54,_0x35fd54,_0x19a3a5){const _0x44dfee=_0x1325e8,_0x5dd8e2=new _0xd53bd8['ColorKit'](_0x5961e7)['setAlpha'](0.2)[_0x44dfee(0x156)](),_0x3d6fd8=new _0x3574c4[(_0x44dfee(0x2a2))](_0xbec207+_0xd53bd8[_0x44dfee(0x22f)][_0x44dfee(0x15f)](_0x13f6c1),{'pointsGroup':_0x1bbe54,'fill':_0x5dd8e2||_0x3574c4['getColor'](_0xd53bd8[_0x44dfee(0x210)][_0x44dfee(0x240)],0.2),'left':_0x35fd54,'top':_0x19a3a5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44dfee(0x239)][_0x44dfee(0x1f9)](_0x3d6fd8),this['_scene'][_0x44dfee(0xe9)](_0x3d6fd8,_0x372e3b[_0x44dfee(0x1a6)]);}[_0x1325e8(0x1f1)](_0x2f7eca){const _0x2f1ce3=_0x2f7eca[0x0],_0x4f3c13=_0x2f1ce3[0x0],_0x5a00ac=_0x2f1ce3[0x2],{x:_0x18394f,y:_0x3a6503}=_0x4f3c13,{x:_0x3dcfd0,y:_0x30ac3f}=_0x5a00ac;return{'left':_0x18394f,'top':_0x3a6503,'width':_0x3dcfd0-_0x18394f,'height':_0x30ac3f-_0x3a6503};}[_0x1325e8(0x25b)](){const _0x431b46=_0x1325e8,{scaleX:_0x40556f,scaleY:_0x39e9fa}=this['_scene'][_0x431b46(0x2cf)]();return Math['max'](_0x40556f,_0x39e9fa);}}var _0x4b6fd4=Object[_0x1325e8(0x107)],_0x59d0fa=(_0x176ad4,_0x46f6ed,_0x2b643d,_0x2ee39a)=>{const _0x439e81=_0x1325e8;for(var _0x1239d4=_0x2ee39a>0x1?void 0x0:_0x2ee39a?_0x4b6fd4(_0x46f6ed,_0x2b643d):_0x46f6ed,_0x457fab=_0x176ad4[_0x439e81(0x116)]-0x1,_0x5f2e3e;_0x457fab>=0x0;_0x457fab--)(_0x5f2e3e=_0x176ad4[_0x457fab])&&(_0x1239d4=_0x5f2e3e(_0x1239d4)||_0x1239d4);return _0x1239d4;},_0x1054c7=(_0x456f71,_0x1e120f)=>(_0x4dad79,_0x16d338)=>_0x1e120f(_0x4dad79,_0x16d338,_0x456f71);let _0x47f621=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x21d089,_0x5b9b61,_0x3a190a,_0x868922,_0x89acc2){const _0x570def=_0x1325e8;super(),_0x48b37d(this,_0x570def(0x232),[]),_0x48b37d(this,_0x570def(0x274),[]),(this[_0x570def(0xf3)]=_0x21d089,this['_docSkeletonManagerService']=_0x5b9b61,this[_0x570def(0x222)]=_0x3a190a,this['_commandService']=_0x868922,this[_0x570def(0x2f4)]=_0x89acc2,this[_0x570def(0x2f3)]());}['_init'](){const _0x12afd2=_0x1325e8,_0x36ecba=this['_context'][_0x12afd2(0x168)],_0x5685c0=this[_0x12afd2(0xd3)];this[_0x12afd2(0x230)](_0xd36704[_0x12afd2(0xad)]([this[_0x12afd2(0x222)][_0x12afd2(0x2cd)](_0x36ecba),this[_0x12afd2(0x2f4)][_0x12afd2(0x2e4)]])[_0x12afd2(0x22b)](_0x1aecba[_0x12afd2(0x19b)](([_0x1ce414,_0x2782d9])=>({'skeleton':_0x5685c0[_0x12afd2(0x235)](),'cursors':[..._0x1ce414[_0x12afd2(0xbe)]()][_0x12afd2(0x279)](_0x2a184a=>({..._0x2a184a,'color':_0x2782d9[_0x2a184a[_0x12afd2(0x2af)]]}))})))[_0x12afd2(0x12d)](_0xb4af65=>{const _0x5e22e6=_0x12afd2;if(this[_0x5e22e6(0xdd)](),_0xb4af65){const {skeleton:_0x252df8,cursors:_0x130ddd}=_0xb4af65;this[_0x5e22e6(0xb9)](_0x252df8,_0x130ddd);}})),this[_0x12afd2(0x229)](),this['_initCommandExecutedListener']();}[_0x1325e8(0xb9)](_0x34cc4e,_0x3f66c4){const _0x37e2af=_0x1325e8,{scene:_0x4db7e1,mainComponent:_0x233a65}=this['_context'],_0x43a400=_0x3f66c4[_0x37e2af(0x19b)](_0x4cce35=>new _0x244496(_0x4cce35,_0x4db7e1,_0x34cc4e,_0x233a65));this[_0x37e2af(0x232)]=_0x43a400,this['_cursors']=_0x3f66c4;}[_0x1325e8(0xbb)](){const _0x6a3c7=_0x1325e8;this['_removeCollabCursors']();const {scene:_0x1b259a,mainComponent:_0x49d64f}=this['_context'],_0x35a815=this['_docSkeletonManagerService'][_0x6a3c7(0x235)](),_0x3f0529=this[_0x6a3c7(0x274)]['map'](_0x149ed8=>new _0x244496(_0x149ed8,_0x1b259a,_0x35a815,_0x49d64f));this[_0x6a3c7(0x232)]=_0x3f0529;}['_removeCollabCursors'](){const _0x40000b=_0x1325e8;this[_0x40000b(0x232)]['forEach'](_0x310bd2=>_0x310bd2[_0x40000b(0xa9)]()),this[_0x40000b(0x232)]=[];}[_0x1325e8(0x1f2)](){const _0x3c2335=_0x1325e8,_0x14092e=[_0x372e3b[_0x3c2335(0x152)]['id']];this['disposeWithMe'](this[_0x3c2335(0x262)]['onCommandExecuted'](_0x119047=>{const _0xa18310=_0x3c2335;_0x14092e[_0xa18310(0x2e9)](_0x119047['id'])&&_0x119047[_0xa18310(0x271)][_0xa18310(0x168)]===this[_0xa18310(0xf3)][_0xa18310(0x168)]&&this[_0xa18310(0xbb)]();}));}['_initResize'](){const _0x147f05=_0x1325e8;this[_0x147f05(0x230)](_0xd53bd8['fromEventSubject'](this[_0x147f05(0xf3)][_0x147f05(0x277)][_0x147f05(0xcc)])['pipe'](_0x1aecba[_0x147f05(0x28a)](_0x2346ff=>_0x2346ff['type']===_0x3574c4[_0x147f05(0x1ce)][_0x147f05(0x1d6)]),_0x1aecba[_0x147f05(0x2f1)](0x10))[_0x147f05(0x12d)](()=>{this['_refreshCollabCursors']();}));}};_0x47f621=_0x59d0fa([_0x1054c7(0x1,_0xd53bd8['Inject'](_0x552433[_0x1325e8(0x224)])),_0x1054c7(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x102ba3)),_0x1054c7(0x3,_0xd53bd8[_0x1325e8(0x2bf)]),_0x1054c7(0x4,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x16f)]))],_0x47f621);const _0x3d75d6=0x1,_0x704502=1.5;class _0x19d0db extends _0x3574c4[_0x1325e8(0x2aa)]{constructor(_0x4ce9db,_0x30c675){const _0x3f6d42=_0x1325e8;super(_0x4ce9db,_0x30c675),_0x48b37d(this,_0x3f6d42(0x2c3)),_0x48b37d(this,_0x3f6d42(0x249),!0x1),_0x48b37d(this,_0x3f6d42(0x18a)),_0x48b37d(this,_0x3f6d42(0x21c),''),_0x48b37d(this,'_labelPosition',_0x3f6d42(0x1ae)),_0x48b37d(this,'_backgroundColor'),(_0x30c675&&this[_0x3f6d42(0x269)](_0x30c675),this[_0x3f6d42(0x1c0)][_0x3f6d42(0x9d)](()=>this[_0x3f6d42(0x269)]({'hovered':!0x0})),this[_0x3f6d42(0x199)]['subscribeEvent'](()=>this[_0x3f6d42(0x269)]({'hovered':!0x1})));}[_0x1325e8(0x269)](_0x1541bc){const _0x268dd1=_0x1325e8;var _0x2266c0,_0x5705bd,_0x3d0ee3,_0x6787c1,_0x76ce48,_0x41a220;this[_0x268dd1(0x2c3)]=(_0x2266c0=_0x1541bc[_0x268dd1(0x2af)])!=null?_0x2266c0:this['_color'],this[_0x268dd1(0x249)]=(_0x5705bd=_0x1541bc[_0x268dd1(0x213)])!=null?_0x5705bd:this[_0x268dd1(0x249)],this[_0x268dd1(0x18a)]=(_0x3d0ee3=_0x1541bc[_0x268dd1(0xc3)])!=null?_0x3d0ee3:this['_range'],this[_0x268dd1(0x21c)]=(_0x6787c1=_0x1541bc['name'])!=null?_0x6787c1:this[_0x268dd1(0x21c)],this[_0x268dd1(0x217)]=(_0x76ce48=_0x1541bc[_0x268dd1(0x27a)])!=null?_0x76ce48:this[_0x268dd1(0x217)],this[_0x268dd1(0x2fa)]=(_0x41a220=_0x1541bc[_0x268dd1(0x6b)])!=null?_0x41a220:this[_0x268dd1(0x2fa)],this['transformByState']({'width':_0x1541bc[_0x268dd1(0x2b3)],'height':_0x1541bc[_0x268dd1(0x2a4)]});}['onMouseMove'](_0x215fe9){const _0x37b5a5=_0x1325e8,{row:_0x513098,column:_0x15c5bc}=_0x215fe9;if(_0x513098>=this['_range'][_0x37b5a5(0x73)]&&_0x513098<=this[_0x37b5a5(0x18a)][_0x37b5a5(0x1c1)]&&_0x15c5bc>=this[_0x37b5a5(0x18a)][_0x37b5a5(0x1a3)]&&_0x15c5bc<=this['_range'][_0x37b5a5(0x1e7)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1325e8(0x1b0)](_0x45df09){return!0x1;}[_0x1325e8(0xa4)](_0x1cccdc){const _0x540ab8=_0x1325e8;_0x3574c4[_0x540ab8(0x25d)][_0x540ab8(0x1a0)](_0x1cccdc,{'width':this[_0x540ab8(0x2b3)],'height':this[_0x540ab8(0x2a4)],'strokeWidth':_0x704502,'stroke':this[_0x540ab8(0x2c3)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x540ab8(0x249)]&&(_0x1cccdc[_0x540ab8(0xd9)](),_0x1cccdc[_0x540ab8(0x165)](0x1,0x0,0x0,0x1,this['width'],this[_0x540ab8(0x217)]===_0x540ab8(0x2bb)?0x0:-0x14),_0xf100c3['drawWith'](_0x1cccdc,{'text':this[_0x540ab8(0x21c)],'color':this[_0x540ab8(0x2c3)]}),_0x1cccdc[_0x540ab8(0x98)]());}}var _0x3087d3=Object['getOwnPropertyDescriptor'],_0x20b02c=(_0x252cf7,_0x1baae5,_0x53432e,_0x1195c6)=>{const _0x62bde3=_0x1325e8;for(var _0xfb063b=_0x1195c6>0x1?void 0x0:_0x1195c6?_0x3087d3(_0x1baae5,_0x53432e):_0x1baae5,_0x388239=_0x252cf7[_0x62bde3(0x116)]-0x1,_0x1e5131;_0x388239>=0x0;_0x388239--)(_0x1e5131=_0x252cf7[_0x388239])&&(_0xfb063b=_0x1e5131(_0xfb063b)||_0xfb063b);return _0xfb063b;},_0x694b4d=(_0x1dea5d,_0xea91b5)=>(_0x4d014c,_0x3bbf8b)=>_0xea91b5(_0x4d014c,_0x3bbf8b,_0x1dea5d);const _0x576a7f=0x1389;let _0x5071ba=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x5eae3c,_0x4e8efe,_0x2b9cfd,_0x3243b4){const _0x122d4e=_0x1325e8;super(),_0x48b37d(this,_0x122d4e(0x274),new Set()),_0x48b37d(this,_0x122d4e(0x2ad),null),(this[_0x122d4e(0xf3)]=_0x5eae3c,this[_0x122d4e(0x9b)]=_0x4e8efe,this[_0x122d4e(0x222)]=_0x2b9cfd,this[_0x122d4e(0x2f4)]=_0x3243b4,this[_0x122d4e(0x2f3)]());}['_init'](){const _0x3200c0=_0x1325e8;this['_sheetSkeletonManagerService'][_0x3200c0(0x132)][_0x3200c0(0x22b)](_0x1aecba[_0x3200c0(0x7d)](this[_0x3200c0(0x29b)]),_0x1aecba[_0x3200c0(0x120)](_0x22b4dc=>{const _0x514cd0=_0x3200c0;if(_0x22b4dc){const _0x4f9d7d=_0x22b4dc[_0x514cd0(0x13a)];return _0xd36704[_0x514cd0(0xad)](this['_collabCursorController'][_0x514cd0(0x2cd)](this[_0x514cd0(0xf3)][_0x514cd0(0x168)]),this['_themeService'][_0x514cd0(0x2e4)])[_0x514cd0(0x22b)](_0x1aecba[_0x514cd0(0x19b)](([_0x2b9d71,_0x9eca81])=>{const _0x46d361=new Map();return _0x2b9d71['forEach']((_0x5dbe0a,_0x499ed9)=>{const _0x18dfac=_0x541d;if(_0x5dbe0a[_0x18dfac(0xd6)]===_0x4f9d7d){const _0x23452e={..._0x5dbe0a};_0x23452e[_0x18dfac(0x2af)]=_0x9eca81[_0x5dbe0a[_0x18dfac(0x2af)]],_0x46d361['set'](_0x499ed9,_0x23452e);}}),{'skeleton':_0x22b4dc,'cursors':_0x46d361};}));}return _0xd36704['of']({'skeleton':null,'cursors':new Map()});}))[_0x3200c0(0x12d)](({skeleton:_0x436819,cursors:_0x2d56af})=>{const _0x111348=_0x3200c0;this[_0x111348(0xdd)](),_0x436819&&this[_0x111348(0xb9)](_0x436819,_0x2d56af);}),this[_0x3200c0(0x9b)][_0x3200c0(0x132)]['subscribe'](_0x50fa4f=>{const _0x3b6782=_0x3200c0;if(_0x50fa4f==null)return;const {skeleton:_0x54243a}=_0x50fa4f,{scene:_0x530cc6}=this[_0x3b6782(0xf3)];_0x530cc6['onPointerMove$'][_0x3b6782(0x9d)](_0xd53bd8[_0x3b6782(0x89)](_0x1d85c9=>{const _0x306ecf=_0x3b6782;var _0x2f17c5,_0x3767d0;const {offsetX:_0x436d14,offsetY:_0x5794d6}=_0x1d85c9,{x:_0xfc73af,y:_0x4d5e88}=_0x530cc6[_0x306ecf(0xa3)](_0x3574c4[_0x306ecf(0x223)]['FromArray']([_0x436d14,_0x5794d6])),{scaleX:_0x327940,scaleY:_0xa11543}=_0x530cc6[_0x306ecf(0x2cf)](),_0x47d432=_0x530cc6[_0x306ecf(0x299)](_0x3574c4[_0x306ecf(0x2d9)][_0x306ecf(0x82)]),_0xd741e6=_0x530cc6['getVpScrollXYInfoByPosToVp'](_0x3574c4[_0x306ecf(0x223)][_0x306ecf(0x15e)]([_0xfc73af,_0x4d5e88]),_0x47d432),_0x42a5cf=_0x54243a['getCellPositionByOffset'](_0x436d14,_0x5794d6,_0x327940,_0xa11543,_0xd741e6);((_0x2f17c5=this['_lastPointer'])==null?void 0x0:_0x2f17c5['column'])===_0x42a5cf['column']&&((_0x3767d0=this[_0x306ecf(0x2ad)])==null?void 0x0:_0x3767d0[_0x306ecf(0x260)])===_0x42a5cf[_0x306ecf(0x260)]||this[_0x306ecf(0x274)]['forEach'](_0x31817b=>{const _0x2de3b1=_0x306ecf;_0x31817b[_0x2de3b1(0x20c)](_0x42a5cf);});},0x64));});}['_updateCollabCursors'](_0x3ec847,_0x160007){const _0x376a8f=_0x1325e8;var _0x370e86;const _0x406a6d=(_0x370e86=this[_0x376a8f(0x9b)][_0x376a8f(0x20e)]())==null?void 0x0:_0x370e86[_0x376a8f(0x1aa)];if(!_0x406a6d)return;const _0x52c596=this['_getSheetObject']();if(!_0x52c596)return;this[_0x376a8f(0x274)][_0x376a8f(0x26c)](_0x18a31a=>{const _0x5a614a=_0x376a8f;_0x18a31a[_0x5a614a(0x103)]();});const {scene:_0x14d812}=_0x52c596,_0x5bf93c=_0x184b1e(Array[_0x376a8f(0x2e7)](_0x160007[_0x376a8f(0xbe)]()))[_0x376a8f(0x19b)](_0x56d11f=>{const _0x5a0d02=_0x376a8f,{color:_0x5460c0,range:_0x4aae6f,name:_0x132f8d,selection:_0x2adb46,sheetID:_0x536753}=_0x56d11f,{startColumn:_0x2c7cdc,startRow:_0x5512b1,endColumn:_0x59a50f,endRow:_0x2ac165}=_0x4aae6f,_0x4f176e=_0x6a9504['getCoordByCell'](_0x5512b1,_0x2c7cdc,_0x14d812,_0x406a6d),_0x102cd8=_0x6a9504['getCoordByCell'](_0x2ac165,_0x59a50f,_0x14d812,_0x406a6d),{columnHeaderHeightAndMarginTop:_0x37a8f9}=_0x406a6d,{startX:_0x13e385,startY:_0x209953}=_0x4f176e,{endX:_0x3a1960,endY:_0x369ff6}=_0x102cd8,_0x597cf4=_0x3a1960-_0x13e385,_0x44bd99=_0x369ff6-_0x209953,_0x5b68a5={'labelPosition':_0x209953-_0x37a8f9>=_0x1b70f0?'top':_0x5a0d02(0x2bb),'sheetID':_0x536753,'range':_0x4aae6f,'color':_0x5460c0,'name':_0x132f8d,'selection':_0x2adb46,'left':_0x13e385,'top':_0x209953,'width':_0x597cf4,'height':_0x44bd99,'evented':!0x1,'zIndex':_0x576a7f};return new _0x19d0db(_0x132f8d,_0x5b68a5);});_0x14d812[_0x376a8f(0x1fd)](_0x5bf93c,_0x3d75d6),this['_cursors']=new Set(_0x5bf93c);}['_removeCollabCursors'](){const _0xffebb=_0x1325e8;var _0x52c838;(_0x52c838=this['_cursors'])==null||_0x52c838[_0xffebb(0x26c)](_0x2c56f8=>_0x2c56f8[_0xffebb(0xa9)]());}[_0x1325e8(0x261)](){const _0x2bad68=_0x1325e8;return _0x6a9504['getSheetObject'](this[_0x2bad68(0xf3)][_0x2bad68(0x216)],this['_context']);}};_0x5071ba=_0x20b02c([_0x694b4d(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0x6a9504[_0x1325e8(0x29f)])),_0x694b4d(0x2,_0xd53bd8['Inject'](_0x102ba3)),_0x694b4d(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x16f)]))],_0x5071ba);function _0x184b1e(_0x428d01){const _0x4e4dd8=_0x1325e8,_0x473ec4=new Map();return _0x428d01[_0x4e4dd8(0x26c)](_0x489e11=>{const _0x1d6cf8=_0x4e4dd8;if(_0x473ec4['has'](_0x489e11[_0x1d6cf8(0xe2)])){const _0x419c52=_0x473ec4[_0x1d6cf8(0x1d5)](_0x489e11[_0x1d6cf8(0xe2)]);_0x419c52[_0x1d6cf8(0x1eb)]+=',\x20'+_0x489e11[_0x1d6cf8(0x1eb)];}else _0x473ec4[_0x1d6cf8(0x174)](_0x489e11[_0x1d6cf8(0xe2)],_0x489e11);}),Array[_0x4e4dd8(0x2e7)](_0x473ec4[_0x4e4dd8(0xbe)]());}var _0x32ad2b=function(){const _0x283014=_0x1325e8;return _0x32ad2b=Object[_0x283014(0x251)]||function(_0xc50b06){const _0x48d626=_0x283014;for(var _0x6ee422,_0x174ed9=0x1,_0x3151dc=arguments['length'];_0x174ed9<_0x3151dc;_0x174ed9++){_0x6ee422=arguments[_0x174ed9];for(var _0x5b922f in _0x6ee422)Object['prototype']['hasOwnProperty'][_0x48d626(0xa8)](_0x6ee422,_0x5b922f)&&(_0xc50b06[_0x5b922f]=_0x6ee422[_0x5b922f]);}return _0xc50b06;},_0x32ad2b[_0x283014(0x2d3)](this,arguments);},_0x4ce080=function(_0xb3cabd,_0xd692fd){const _0x56c881=_0x1325e8;var _0x5065aa={};for(var _0x41b2d6 in _0xb3cabd)Object[_0x56c881(0x18b)][_0x56c881(0x24a)][_0x56c881(0xa8)](_0xb3cabd,_0x41b2d6)&&_0xd692fd[_0x56c881(0x2d0)](_0x41b2d6)<0x0&&(_0x5065aa[_0x41b2d6]=_0xb3cabd[_0x41b2d6]);if(_0xb3cabd!=null&&typeof Object[_0x56c881(0xdf)]=='function'){for(var _0x1c9bab=0x0,_0x41b2d6=Object[_0x56c881(0xdf)](_0xb3cabd);_0x1c9bab<_0x41b2d6[_0x56c881(0x116)];_0x1c9bab++)_0xd692fd[_0x56c881(0x2d0)](_0x41b2d6[_0x1c9bab])<0x0&&Object[_0x56c881(0x18b)]['propertyIsEnumerable'][_0x56c881(0xa8)](_0xb3cabd,_0x41b2d6[_0x1c9bab])&&(_0x5065aa[_0x41b2d6[_0x1c9bab]]=_0xb3cabd[_0x41b2d6[_0x1c9bab]]);}return _0x5065aa;},_0x250990=_0x4a42ca[_0x1325e8(0x1ee)](function(_0x141666,_0x4db4b3){const _0x39fd73=_0x1325e8;var _0x317fa0=_0x141666[_0x39fd73(0x76)],_0x486788=_0x141666['id'],_0x34665f=_0x141666[_0x39fd73(0xd2)],_0x55263a=_0x141666[_0x39fd73(0x1ec)],_0x15deb2=_0x4ce080(_0x141666,['icon','id',_0x39fd73(0xd2),'extend']),_0x46cd70=_0x39fd73(0x2e1)[_0x39fd73(0x238)](_0x486788,'\x20')[_0x39fd73(0x238)](_0x34665f||'')[_0x39fd73(0x1ff)](),_0x3a8a49=_0x4a42ca[_0x39fd73(0x1c7)]('_'[_0x39fd73(0x238)](_0x36cc1c()));return _0x2ed91d(_0x317fa0,''[_0x39fd73(0x238)](_0x486788),{'defIds':_0x317fa0[_0x39fd73(0x140)],'idSuffix':_0x3a8a49[_0x39fd73(0x201)]},_0x32ad2b({'ref':_0x4db4b3,'className':_0x46cd70},_0x15deb2),_0x55263a);});function _0x2ed91d(_0x51b9de,_0x34e061,_0x4afc7a,_0x477475,_0x340040){const _0x3abaa8=_0x1325e8;return _0x4a42ca['createElement'](_0x51b9de[_0x3abaa8(0x81)],_0x32ad2b(_0x32ad2b({'key':_0x34e061},_0x5041b9(_0x51b9de,_0x4afc7a,_0x340040)),_0x477475),(_0x10c127(_0x51b9de,_0x4afc7a)[_0x3abaa8(0x234)]||[])[_0x3abaa8(0x19b)](function(_0x250fc6,_0x12ca40){const _0x180648=_0x3abaa8;return _0x2ed91d(_0x250fc6,''['concat'](_0x34e061,'-')[_0x180648(0x238)](_0x51b9de[_0x180648(0x81)],'-')[_0x180648(0x238)](_0x12ca40),_0x4afc7a,void 0x0,_0x340040);}));}function _0x5041b9(_0x354acc,_0x38f284,_0x453d45){const _0x2cc415=_0x1325e8;var _0x381a09=_0x32ad2b({},_0x354acc['attrs']);_0x453d45!=null&&_0x453d45[_0x2cc415(0x2cb)]&&_0x381a09[_0x2cc415(0x1a1)]===_0x2cc415(0x2cb)&&(_0x381a09[_0x2cc415(0x1a1)]=_0x453d45['colorChannel1']),_0x354acc[_0x2cc415(0x81)]===_0x2cc415(0x2c1)&&_0x381a09['id']&&(_0x381a09['id']=_0x381a09['id']+_0x38f284[_0x2cc415(0x1bb)]),Object[_0x2cc415(0x297)](_0x381a09)['forEach'](function(_0x395bf7){const _0xed05cb=_0x2cc415;var _0x33545f=_0x395bf7[0x0],_0x293f69=_0x395bf7[0x1];_0x33545f==='mask'&&typeof _0x293f69==_0xed05cb(0x211)&&(_0x381a09[_0x33545f]=_0x293f69[_0xed05cb(0x2fb)](/url\(#(.*)\)/,_0xed05cb(0xb6)[_0xed05cb(0x238)](_0x38f284[_0xed05cb(0x1bb)],')')));});var _0x3aa17c=_0x38f284['defIds'];return!_0x3aa17c||_0x3aa17c[_0x2cc415(0x116)]===0x0||(_0x354acc[_0x2cc415(0x81)]===_0x2cc415(0x2bd)&&_0x381a09[_0x2cc415(0x166)]&&(_0x381a09[_0x2cc415(0x166)]=_0x381a09['xlink:href']+_0x38f284[_0x2cc415(0x1bb)]),Object[_0x2cc415(0x297)](_0x381a09)[_0x2cc415(0x26c)](function(_0x55b7c2){const _0x4564e9=_0x2cc415;var _0x49c3ab=_0x55b7c2[0x0],_0x458fdf=_0x55b7c2[0x1];typeof _0x458fdf==_0x4564e9(0x211)&&(_0x381a09[_0x49c3ab]=_0x458fdf[_0x4564e9(0x2fb)](/url\(#(.*)\)/,_0x4564e9(0xb6)[_0x4564e9(0x238)](_0x38f284[_0x4564e9(0x1bb)],')')));})),_0x381a09;}function _0x10c127(_0xdbaba5,_0x7e9484){const _0x3ceb64=_0x1325e8;var _0x512ab1,_0x44b6e5=_0x7e9484[_0x3ceb64(0x140)];return!_0x44b6e5||_0x44b6e5[_0x3ceb64(0x116)]===0x0?_0xdbaba5:_0xdbaba5[_0x3ceb64(0x81)]===_0x3ceb64(0x2e8)&&(!((_0x512ab1=_0xdbaba5[_0x3ceb64(0x234)])===null||_0x512ab1===void 0x0)&&_0x512ab1['length'])?_0x32ad2b(_0x32ad2b({},_0xdbaba5),{'children':_0xdbaba5[_0x3ceb64(0x234)][_0x3ceb64(0x19b)](function(_0x42f9f3){const _0x2eb8bd=_0x3ceb64;return typeof _0x42f9f3[_0x2eb8bd(0x275)]['id']=='string'&&_0x44b6e5&&_0x44b6e5['indexOf'](_0x42f9f3['attrs']['id'])>-0x1?_0x32ad2b(_0x32ad2b({},_0x42f9f3),{'attrs':_0x32ad2b(_0x32ad2b({},_0x42f9f3[_0x2eb8bd(0x275)]),{'id':_0x42f9f3['attrs']['id']+_0x7e9484[_0x2eb8bd(0x1bb)]})}):_0x42f9f3;})}):_0xdbaba5;}function _0x36cc1c(){const _0x18a0e6=_0x1325e8;return Math[_0x18a0e6(0x114)]()[_0x18a0e6(0x1a7)](0x24)['substring'](0x2,0x8);}_0x250990[_0x1325e8(0x17f)]=_0x1325e8(0x18e);var _0x1968d9={'tag':'svg','attrs':{'fill':_0x1325e8(0x273),'viewBox':_0x1325e8(0xe8),'width':_0x1325e8(0x2c2),'height':_0x1325e8(0x2c2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1325e8(0xac),'attrs':{'stroke':_0x1325e8(0x11e),'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':_0x1325e8(0x27e),'strokeLinejoin':_0x1325e8(0x27e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1325e8(0x2ac),'attrs':{'id':_0x1325e8(0x23f)},'children':[{'tag':_0x1325e8(0xac),'attrs':{'fill':_0x1325e8(0x192),'d':_0x1325e8(0xce)}}]}]}],'defIds':[_0x1325e8(0x23f)]},_0x304bf4=_0x4a42ca['forwardRef'](function(_0x57936d,_0x3b5507){const _0x111b9e=_0x1325e8;return _0x4a42ca['createElement'](_0x250990,Object[_0x111b9e(0x251)]({},_0x57936d,{'id':'off-line-single','ref':_0x3b5507,'icon':_0x1968d9}));});_0x304bf4[_0x1325e8(0x17f)]=_0x1325e8(0x1bc);var _0x34aee2={'tag':_0x1325e8(0xaa),'attrs':{'fill':_0x1325e8(0x273),'viewBox':_0x1325e8(0x1e2),'width':_0x1325e8(0x2c2),'height':_0x1325e8(0x2c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1325e8(0x7f)},'children':[{'tag':_0x1325e8(0xac),'attrs':{'stroke':_0x1325e8(0x11e),'d':_0x1325e8(0x29a),'strokeLinecap':'round','strokeLinejoin':_0x1325e8(0x27e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1325e8(0x2ac),'attrs':{'id':_0x1325e8(0x25c)},'children':[{'tag':_0x1325e8(0xac),'attrs':{'fill':_0x1325e8(0x192),'d':_0x1325e8(0xce),'transform':_0x1325e8(0xb3)}}]}]}],'defIds':[_0x1325e8(0x25c)]},_0x132db7=_0x4a42ca['forwardRef'](function(_0x1cc3d4,_0x5e1fa6){const _0x3fbbde=_0x1325e8;return _0x4a42ca[_0x3fbbde(0x105)](_0x250990,Object['assign']({},_0x1cc3d4,{'id':'on-line-single','ref':_0x5e1fa6,'icon':_0x34aee2}));});_0x132db7[_0x1325e8(0x17f)]=_0x1325e8(0x26f);const _0x4d8f54={'onlineStatusIcon':_0x1325e8(0x218),'onlineStatusTitle':_0x1325e8(0x130),'onlineStatus':'univer-online-status','online':_0x1325e8(0x193),'offline':_0x1325e8(0x25a)};function _0x43469a(_0x195818){const _0x4ba3b5=_0x1325e8;switch(_0x195818){case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x97)]:return _0x4ba3b5(0x10d);case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x22a)]:return _0x4ba3b5(0x2f6);case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0xaf)]:return _0x4ba3b5(0xeb);case _0x3237ee['CollaborationStatus']['NOT_COLLAB']:return _0x4ba3b5(0x1dd);case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x6d)]:case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x16c)]:return'collabStatus.syncing';case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x2ca)]:case _0x3237ee[_0x4ba3b5(0x91)]['PENDING']:return'collabStatus.synced';}}function _0x365be1(_0x243560){const _0x50317f=_0x1325e8,{status$:_0x59fb94}=_0x243560,_0x2b48bc=_0x1d07a5[_0x50317f(0x29e)](_0x59fb94,_0x3237ee[_0x50317f(0x91)]['NOT_COLLAB']),_0x3f60b3=_0x1d07a5[_0x50317f(0x16a)](_0xd53bd8[_0x50317f(0xc2)]),_0x58f6d5=_0x1d07a5[_0x50317f(0x16a)](_0x3237ee[_0x50317f(0x17e)]),_0x556d82=_0x2b48bc!==_0x3237ee[_0x50317f(0x91)][_0x50317f(0x97)],_0x469f21=_0x3f60b3['t'](_0x43469a(_0x2b48bc)),_0x293a38=_0xed24b9[_0x50317f(0xab)](_0x4d8f54[_0x50317f(0xbf)],{[_0x4d8f54[_0x50317f(0x15a)]]:_0x556d82,[_0x4d8f54['offline']]:!_0x556d82}),_0x2fa0e1=_0x556d82?_0x514380[_0x50317f(0x23d)](_0x132db7,{}):_0x514380['jsx'](_0x304bf4,{}),_0x1cd6bc=_0x4a42ca['useCallback'](()=>{_0x556d82||_0x58f6d5['reconnect']();},[_0x556d82,_0x58f6d5]);function _0x10847a(){const _0x393ef8=_0x50317f;return _0x514380[_0x393ef8(0x80)](_0x393ef8(0x135),{'className':_0xed24b9[_0x393ef8(0xab)](_0x293a38,_0x393ef8(0x28b)),'onClick':_0x1cd6bc,'children':[_0x514380[_0x393ef8(0x23d)](_0x393ef8(0x135),{'className':_0x4d8f54[_0x393ef8(0x191)],'children':_0x2fa0e1}),_0x514380['jsx'](_0x393ef8(0x135),{'className':_0x4d8f54['onlineStatusTitle'],'children':_0x469f21})]});}return _0x556d82?_0x10847a():_0x514380[_0x50317f(0x23d)](_0xed24b9['Tooltip'],{'title':_0x3f60b3['t'](_0x50317f(0x2fd)),'children':_0x10847a()});}var _0x426c2f=Object['getOwnPropertyDescriptor'],_0xad73f4=(_0x14bc8e,_0x198b3e,_0x569f5f,_0x36bb7c)=>{const _0x4bd1cd=_0x1325e8;for(var _0x2fa3a8=_0x36bb7c>0x1?void 0x0:_0x36bb7c?_0x426c2f(_0x198b3e,_0x569f5f):_0x198b3e,_0x558a87=_0x14bc8e[_0x4bd1cd(0x116)]-0x1,_0x44802c;_0x558a87>=0x0;_0x558a87--)(_0x44802c=_0x14bc8e[_0x558a87])&&(_0x2fa3a8=_0x44802c(_0x2fa3a8)||_0x2fa3a8);return _0x2fa3a8;},_0x3ee6d9=(_0x557813,_0x3efece)=>(_0x1e8870,_0x36a99b)=>_0x3efece(_0x1e8870,_0x36a99b,_0x557813);_0x2db65c[_0x1325e8(0x127)]=class extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(_0x2b06a7,_0x214ac4,_0x5c49aa,_0x12554f){const _0x657c11=_0x1325e8;super(),_0x48b37d(this,_0x657c11(0x2a6),new _0xd36704[(_0x657c11(0x1a4))](_0x3237ee[_0x657c11(0x91)][_0x657c11(0x170)])),(this['_univerInstanceService']=_0x2b06a7,this[_0x657c11(0x284)]=_0x214ac4,this['_collaborationController']=_0x5c49aa,this[_0x657c11(0x13e)]=_0x12554f,this[_0x657c11(0x254)](),this[_0x657c11(0x2de)]());}['_initStatusListener'](){const _0x2bc7fa=_0x1325e8;this['disposeWithMe'](this[_0x2bc7fa(0x2a7)][_0x2bc7fa(0x175)][_0x2bc7fa(0x22b)](_0xd36704[_0x2bc7fa(0x120)](()=>{const _0x28954c=_0x2bc7fa,_0x1b6ae8=this[_0x28954c(0x2a7)][_0x28954c(0x177)]();return _0x1b6ae8?this[_0x28954c(0x1d2)][_0x28954c(0x108)](_0x1b6ae8[_0x28954c(0x19f)]()):_0xd36704['of'](null);}),_0xd36704[_0x2bc7fa(0x120)](_0x4da7b7=>_0x4da7b7?_0x4da7b7[_0x2bc7fa(0x6f)]:_0xd36704['of'](_0x3237ee['CollaborationStatus'][_0x2bc7fa(0x170)])))[_0x2bc7fa(0x12d)](_0x55d309=>{const _0xe5a30a=_0x2bc7fa;this[_0xe5a30a(0x2a6)][_0xe5a30a(0x265)](_0x55d309);}));}['_initStatusComponent'](){const _0x501156=_0x1325e8;this[_0x501156(0x230)](this[_0x501156(0x13e)][_0x501156(0x2e6)](_0x1d07a5[_0x501156(0xe3)]['HEADER_MENU'],()=>_0x1d07a5[_0x501156(0x26d)](_0x559d88({'status$':this[_0x501156(0x2a6)]['asObservable']()}),this[_0x501156(0x284)])));}},_0x2db65c[_0x1325e8(0x127)]=_0xad73f4([_0x3ee6d9(0x0,_0xd53bd8[_0x1325e8(0xf1)]),_0x3ee6d9(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x3ee6d9(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x7c)])),_0x3ee6d9(0x3,_0x1d07a5[_0x1325e8(0x208)])],_0x2db65c[_0x1325e8(0x127)]);function _0x559d88(_0x52939d){const {status$:_0x6ad67e}=_0x52939d;return function(){return _0x514380['jsx'](_0x365be1,{'status$':_0x6ad67e});};}var _0x27cd18=Object['getOwnPropertyDescriptor'],_0x2c6001=(_0x529399,_0x48a25c,_0x2d086c,_0x3dbd63)=>{const _0x3b0cdb=_0x1325e8;for(var _0x3996aa=_0x3dbd63>0x1?void 0x0:_0x3dbd63?_0x27cd18(_0x48a25c,_0x2d086c):_0x48a25c,_0x1b6d1a=_0x529399[_0x3b0cdb(0x116)]-0x1,_0x56f9fd;_0x1b6d1a>=0x0;_0x1b6d1a--)(_0x56f9fd=_0x529399[_0x1b6d1a])&&(_0x3996aa=_0x56f9fd(_0x3996aa)||_0x3996aa);return _0x3996aa;},_0x6e3795=(_0x4d44e5,_0x10ce3a)=>(_0x31ee2f,_0x3ee106)=>_0x10ce3a(_0x31ee2f,_0x3ee106,_0x4d44e5);let _0x37ea85=class extends _0xd53bd8['Disposable']{constructor(_0x5dec7b,_0x58bdc3,_0x3f5a1b,_0x1d8964,_0x646d33,_0x389744){const _0x24ddcb=_0x1325e8;super(),this[_0x24ddcb(0xd5)]=_0x5dec7b,this[_0x24ddcb(0x282)]=_0x58bdc3,this[_0x24ddcb(0x186)]=_0x3f5a1b,this[_0x24ddcb(0x183)]=_0x1d8964,this[_0x24ddcb(0xea)]=_0x646d33,this[_0x24ddcb(0x2be)]=_0x389744,this[_0x24ddcb(0x1cf)](),this['_initEvent']();}[_0x1325e8(0x1cf)](){const _0x32a969=_0x1325e8;this[_0x32a969(0x230)](this['_beforeCloseService'][_0x32a969(0x75)](()=>{const _0x52c216=_0x32a969;if(this[_0x52c216(0x282)][_0x52c216(0x171)][_0x52c216(0x88)])return this[_0x52c216(0x2be)]['t'](_0x52c216(0x1c2));}));}[_0x1325e8(0x1b1)](){const _0x10f6ae=_0x1325e8;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x10f6ae(0x12d)](_0x45b89f=>{const _0x4c1419=_0x10f6ae;_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0xe5)]&&this[_0x4c1419(0x183)]['show']({'type':_0xed24b9[_0x4c1419(0x184)]['Warning'],'content':this[_0x4c1419(0x2be)]['t']('collaboration.single-unit.warning')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)]['CLOSE_ROOM']&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)]['PERMISSION_DENIED']&&this['_notificationService'][_0x4c1419(0x7e)]({'title':this['_localeService']['t'](_0x4c1419(0x68)),'content':this[_0x4c1419(0x2be)]['t'](_0x4c1419(0x2d7)),'type':_0x4c1419(0x149),'duration':0x0}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x22a)]&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9['MessageType'][_0x4c1419(0x155)],'content':this[_0x4c1419(0x2be)]['t']('collaboration.closeRoom')+'('+_0x45b89f[_0x4c1419(0xec)]+')'}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x1f5)]&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9['MessageType'][_0x4c1419(0x207)],'content':this[_0x4c1419(0x2be)]['t'](_0x45b89f[_0x4c1419(0xec)]||'')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x2d8)]&&this['_messageService'][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)]['Warning'],'content':this[_0x4c1419(0x2be)]['t'](_0x4c1419(0x18f))}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0xd8)]&&this['_messageService'][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)]['Error'],'content':this[_0x4c1419(0x2be)]['t']('session.connection-failed')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x2f7)]&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)][_0x4c1419(0x155)],'content':this[_0x4c1419(0x2be)]['t'](_0x4c1419(0x2ed))});}));}};_0x37ea85=_0x2c6001([_0x6e3795(0x0,_0x1d07a5['IBeforeCloseService']),_0x6e3795(0x1,_0x3237ee[_0x1325e8(0x1b2)]),_0x6e3795(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x2e0)])),_0x6e3795(0x3,_0x1d07a5['IMessageService']),_0x6e3795(0x4,_0x1d07a5[_0x1325e8(0x1d1)]),_0x6e3795(0x5,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0xc2)]))],_0x37ea85);const _0x3af607='collaboration-client-ui.config',_0x5c9a1b={},_0x392008=_0xd53bd8[_0x1325e8(0x21b)](_0x1325e8(0x1a8));var _0x3fd9b7=Object[_0x1325e8(0x107)],_0x37432f=(_0x3f7363,_0x5556c2,_0x28710d,_0x1b0b0c)=>{const _0x5bd1ec=_0x1325e8;for(var _0x1bd694=_0x1b0b0c>0x1?void 0x0:_0x1b0b0c?_0x3fd9b7(_0x5556c2,_0x28710d):_0x5556c2,_0x4c2b06=_0x3f7363[_0x5bd1ec(0x116)]-0x1,_0x2f5b95;_0x4c2b06>=0x0;_0x4c2b06--)(_0x2f5b95=_0x3f7363[_0x4c2b06])&&(_0x1bd694=_0x2f5b95(_0x1bd694)||_0x1bd694);return _0x1bd694;},_0x3f8ea5=(_0x5478ce,_0x3a5449)=>(_0x1f577e,_0x5ac9b2)=>_0x3a5449(_0x1f577e,_0x5ac9b2,_0x5478ce);_0x2db65c[_0x1325e8(0x2e5)]=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x11494c,_0x1a3305,_0x36dfa9,_0x47bd4d,_0x124a3a){const _0x30e56b=_0x1325e8;super(),this[_0x30e56b(0x227)]=_0x11494c,this[_0x30e56b(0x169)]=_0x1a3305,this['_commandService']=_0x36dfa9,this[_0x30e56b(0x195)]=_0x47bd4d,_0x124a3a?_0x124a3a==null||_0x124a3a[_0x30e56b(0x189)]()[_0x30e56b(0x18d)](()=>this[_0x30e56b(0x2f3)]()):(this['_logService'][_0x30e56b(0x14c)](_0x30e56b(0x286),_0x30e56b(0xf6)),this['_init']());}async['_init'](){const _0x558d34=_0x1325e8,_0x352a2c=this[_0x558d34(0x227)][_0x558d34(0x1fa)](_0x558d34(0x216)),_0x215896=this[_0x558d34(0x227)]['getParam']('type'),_0x419d1e=this['_urlService'][_0x558d34(0x1fa)](_0x558d34(0x12a));if(!_0x352a2c||!_0x215896){this[_0x558d34(0x169)][_0x558d34(0x14c)](_0x558d34(0x286),_0x558d34(0x70));return;}const _0x53393c=await this[_0x558d34(0x195)][_0x558d34(0x112)](_0x352a2c,Number(_0x215896),_0x419d1e);_0x53393c&&_0x53393c instanceof _0xd53bd8['Workbook']&&this[_0x558d34(0x19c)](_0x53393c);}async[_0x1325e8(0x19c)](_0x4ab2d1){const _0x39c29f=_0x1325e8;await this[_0x39c29f(0x1ef)](_0x4ab2d1),_0x4ab2d1['activeSheet$'][_0x39c29f(0x22b)](_0xd36704[_0x39c29f(0x7d)](this[_0x39c29f(0x29b)]))[_0x39c29f(0x12d)](_0x3cdd96=>{_0x3cdd96&&this['_updateURLWithCurrentState'](_0x3cdd96);}),this[_0x39c29f(0x227)][_0x39c29f(0x143)][_0x39c29f(0x22b)](_0xd36704[_0x39c29f(0x7d)](this[_0x39c29f(0x29b)]))[_0x39c29f(0x12d)](()=>this[_0x39c29f(0x1ef)](_0x4ab2d1));}[_0x1325e8(0x291)](_0x2f56b0,_0x22f0d1=!0x1){const _0x4292f5=_0x1325e8,_0x3a3593=this['_urlService'][_0x4292f5(0x1fa)](_0x4292f5(0x12a));_0x2f56b0['getSheetId']()!==_0x3a3593&&this[_0x4292f5(0x227)][_0x4292f5(0x1e4)](_0x4292f5(0x12a),_0x2f56b0[_0x4292f5(0x293)](),_0x22f0d1);}async[_0x1325e8(0x1ef)](_0x3d7faf){const _0x4bf141=_0x1325e8;var _0x48cfe2;const _0x545b54=this[_0x4bf141(0x227)][_0x4bf141(0x1fa)](_0x4bf141(0x12a));if(!_0x545b54||!_0x3d7faf[_0x4bf141(0x1d9)](_0x545b54)){const _0x1dd1d8=_0x3d7faf[_0x4bf141(0x272)]()[0x0],_0x46bab1=_0x3d7faf[_0x4bf141(0x1d9)](_0x1dd1d8);if(!_0x46bab1)return;this['_updateURLWithCurrentState'](_0x46bab1,!0x0),await this[_0x4bf141(0x262)]['executeCommand'](_0x2685e1[_0x4bf141(0x6e)]['id'],{'unitId':_0x3d7faf[_0x4bf141(0x19f)](),'subUnitId':_0x1dd1d8});return;}((_0x48cfe2=_0x3d7faf[_0x4bf141(0x12c)]())==null?void 0x0:_0x48cfe2[_0x4bf141(0x293)]())!==_0x545b54&&await this['_commandService']['executeCommand'](_0x2685e1[_0x4bf141(0x6e)]['id'],{'unitId':_0x3d7faf[_0x4bf141(0x19f)](),'subUnitId':_0x545b54});}},_0x2db65c[_0x1325e8(0x2e5)]=_0x37432f([_0x3f8ea5(0x0,_0x392008),_0x3f8ea5(0x1,_0xd53bd8[_0x1325e8(0xcb)]),_0x3f8ea5(0x2,_0xd53bd8[_0x1325e8(0x2bf)]),_0x3f8ea5(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee['DataLoaderService'])),_0x3f8ea5(0x4,_0xd53bd8['Optional'](_0x1f9c2a[_0x1325e8(0x219)]))],_0x2db65c[_0x1325e8(0x2e5)]);var _0xe9ee60=Object['getOwnPropertyDescriptor'],_0x15af12=(_0x958a5,_0x24b465,_0x4d6bd0,_0xa73ef1)=>{const _0x3c6e8b=_0x1325e8;for(var _0x5f4e7f=_0xa73ef1>0x1?void 0x0:_0xa73ef1?_0xe9ee60(_0x24b465,_0x4d6bd0):_0x24b465,_0x284e0a=_0x958a5[_0x3c6e8b(0x116)]-0x1,_0xef16d8;_0x284e0a>=0x0;_0x284e0a--)(_0xef16d8=_0x958a5[_0x284e0a])&&(_0x5f4e7f=_0xef16d8(_0x5f4e7f)||_0x5f4e7f);return _0x5f4e7f;},_0x4c3c12=(_0x2a521e,_0x246880)=>(_0xd820a5,_0x101454)=>_0x246880(_0xd820a5,_0x101454,_0x2a521e);let _0x1e6dae=class{constructor(_0x2c257f,_0x2ce20a,_0x7d92c0){const _0xef315b=_0x1325e8;this[_0xef315b(0x284)]=_0x2c257f,this['_transformService']=_0x2ce20a,this[_0xef315b(0x23b)]=_0x7d92c0;}[_0x1325e8(0x221)](_0x1dde5e){const _0x21a795=_0x1325e8;this[_0x21a795(0x1c3)](_0x1dde5e),this['_transformPreviousActiveRange'](_0x1dde5e);}['transformRemoteChangeset'](_0x578c30){const _0x44369d=_0x1325e8,{unitID:_0x4ea70c}=_0x578c30,_0x443ef5=this['_renderManagerService'][_0x44369d(0x1f7)](_0x4ea70c)[_0x44369d(0xdb)](_0x372e3b['DocIMEInputManagerService']),{redoCache:_0xb03e99}=_0x443ef5[_0x44369d(0x2d6)]();if(_0xb03e99[_0x44369d(0x116)]===0x0)return _0x578c30;let _0x3864cf=_0xd53bd8['Tools'][_0x44369d(0x122)](_0x578c30[_0x44369d(0xcd)][0x0]);for(let _0x244032=0x0;_0x244032<_0xb03e99[_0x44369d(0x116)];_0x244032++){const _0x21b951={'id':'doc.mutation.rich-text-editing','params':{..._0xb03e99[_0x244032]}},_0x13101c=this['_transformService']['transformMutation'](_0x3864cf,_0x21b951,!0x1);if(_0xf9a610[_0x44369d(0x281)](_0x13101c))throw _0x13101c[_0x44369d(0x149)];_0x3864cf=_0x13101c[_0x44369d(0x164)];}return{..._0xd53bd8[_0x44369d(0x22f)][_0x44369d(0x122)](_0x578c30),'mutations':[_0x3864cf]};}['_transformUndoRedoStack'](_0x467c99){const _0xb7c6c7=_0x1325e8,{unitID:_0xf9ef08}=_0x467c99,_0x1f879a=this[_0xb7c6c7(0x23b)][_0xb7c6c7(0x1f7)](_0xf9ef08)['with'](_0x372e3b['DocIMEInputManagerService']),{undoCache:_0x137198,redoCache:_0x3ebc4f}=_0x1f879a[_0xb7c6c7(0x2d6)]();if(_0x137198[_0xb7c6c7(0x116)]===0x0||_0x3ebc4f[_0xb7c6c7(0x116)]===0x0)return;const _0x5793c0=[],_0x7957ab=[];let _0x4ef013=_0xd53bd8['Tools'][_0xb7c6c7(0x122)](_0x467c99[_0xb7c6c7(0xcd)][0x0]),_0x27a03e=_0xd53bd8['Tools'][_0xb7c6c7(0x122)](_0x467c99[_0xb7c6c7(0xcd)][0x0]);for(let _0x5d934d=_0x137198[_0xb7c6c7(0x116)]-0x1;_0x5d934d>=0x0;_0x5d934d--){const _0x5d1b7f={'id':_0xb7c6c7(0x2c7),'params':{..._0x137198[_0x5d934d]}},_0x5b1312={'id':_0xb7c6c7(0x2c7),'params':{..._0x3ebc4f[_0x5d934d]}},_0x4f1626=this[_0xb7c6c7(0x295)][_0xb7c6c7(0x29d)](_0x4ef013,_0x5d1b7f,!0x1),_0x426c1d=this['_transformService']['transformMutation'](_0x27a03e,_0x5b1312,!0x1);if(_0xf9a610[_0xb7c6c7(0x281)](_0x4f1626))throw _0x4f1626['error'];if(_0xf9a610[_0xb7c6c7(0x281)](_0x426c1d))throw _0x426c1d['error'];_0x5793c0[_0xb7c6c7(0x92)](_0x4f1626['m2Prime'][_0xb7c6c7(0x271)]),_0x7957ab[_0xb7c6c7(0x92)](_0x426c1d['m2Prime'][_0xb7c6c7(0x271)]),_0x4ef013=_0x4f1626[_0xb7c6c7(0x164)],_0x27a03e=_0x426c1d[_0xb7c6c7(0x164)];}_0x1f879a['setUndoRedoMutationParamsCache']({'undoCache':_0x5793c0,'redoCache':_0x7957ab});}['_transformPreviousActiveRange'](_0x2095b4){const _0x23c09f=_0x1325e8,{unitID:_0x313bac}=_0x2095b4,_0x306205=this[_0x23c09f(0x23b)][_0x23c09f(0x1f7)](_0x313bac)[_0x23c09f(0xdb)](_0x372e3b[_0x23c09f(0x13b)]),_0x396e57=_0x306205[_0x23c09f(0xae)]();if(_0x396e57==null)return;const _0x257acb=[{'id':_0x23c09f(0x2c7),'params':{'unitId':_0x2095b4['unitID'],'actions':null,'textRanges':[_0x396e57]}}],_0x1ffed8=this[_0x23c09f(0x295)]['transformMutationsWithChangeset'](_0x2095b4,_0x257acb);if(!_0xf9a610[_0x23c09f(0x1cc)](_0x1ffed8))throw _0x1ffed8[_0x23c09f(0x149)];const _0x4911d3=_0x1ffed8[_0x23c09f(0x2ee)][0x0][_0x23c09f(0x271)][_0x23c09f(0x2da)];Array[_0x23c09f(0x15d)](_0x4911d3)&&_0x4911d3[_0x23c09f(0x116)]&&_0x306205[_0x23c09f(0x172)](_0x4911d3[0x0]);}};_0x1e6dae=_0x15af12([_0x4c3c12(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x4c3c12(0x1,_0xf9a610[_0x1325e8(0x22d)]),_0x4c3c12(0x2,_0x3574c4[_0x1325e8(0x157)])],_0x1e6dae);var _0x1b6156=Object['getOwnPropertyDescriptor'],_0x38481a=(_0xf440f1,_0x209dc0,_0x299d97,_0x378bc6)=>{const _0x9c3c32=_0x1325e8;for(var _0x82a23d=_0x378bc6>0x1?void 0x0:_0x378bc6?_0x1b6156(_0x209dc0,_0x299d97):_0x209dc0,_0x3db0db=_0xf440f1[_0x9c3c32(0x116)]-0x1,_0x547de1;_0x3db0db>=0x0;_0x3db0db--)(_0x547de1=_0xf440f1[_0x3db0db])&&(_0x82a23d=_0x547de1(_0x82a23d)||_0x82a23d);return _0x82a23d;},_0x40a189=(_0x3d8dce,_0x15c13d)=>(_0x27fa2b,_0x167299)=>_0x15c13d(_0x27fa2b,_0x167299,_0x3d8dce);let _0x38364b=class{constructor(_0x2a5d8d,_0x368725,_0x1433ca){const _0x299d60=_0x1325e8;this[_0x299d60(0x284)]=_0x2a5d8d,this[_0x299d60(0x295)]=_0x368725,this[_0x299d60(0x2ec)]=_0x1433ca;}[_0x1325e8(0x153)](_0x43dd44){const _0x2cf6cc=_0x1325e8;this[_0x2cf6cc(0x1e0)](_0x43dd44);}[_0x1325e8(0xfd)](_0x365dca){const _0x2c59c5=_0x1325e8,{unitID:_0xcfe213}=_0x365dca,{collaboration:_0x523e3b}=this[_0x2c59c5(0x2ec)][_0x2c59c5(0x2bc)](_0xcfe213);if(_0x523e3b[_0x2c59c5(0x116)]===0x0)return _0x365dca;let _0x5b6f11=_0xd53bd8[_0x2c59c5(0x22f)]['deepClone'](_0x365dca[_0x2c59c5(0xcd)][0x0]);for(let _0xcd6f67=0x0;_0xcd6f67<_0x523e3b['length'];_0xcd6f67++){const _0x25f58f={'id':_0x2c59c5(0x2c7),'params':{'unitId':_0x523e3b[_0xcd6f67][_0x2c59c5(0x168)],..._0x523e3b[_0xcd6f67][_0x2c59c5(0x27c)]}},_0x5b3a70=this[_0x2c59c5(0x295)]['transformMutation'](_0x5b6f11,_0x25f58f,!0x1);if(_0xf9a610['isTransformMutationFailure'](_0x5b3a70))throw _0x5b3a70[_0x2c59c5(0x149)];_0x5b6f11=_0x5b3a70[_0x2c59c5(0x164)];}return{..._0xd53bd8['Tools'][_0x2c59c5(0x122)](_0x365dca),'mutations':[_0x5b6f11]};}['_transformHistoryAndStateStack'](_0x2ca527){const _0x48b344=_0x1325e8,{unitID:_0x3d02fe}=_0x2ca527,{history:_0x3966ae,collaboration:_0x1bacd0}=this[_0x48b344(0x2ec)][_0x48b344(0x2bc)](_0x3d02fe);if(_0x3966ae[_0x48b344(0x116)]===0x0&&_0x1bacd0[_0x48b344(0x116)]===0x0)return;const _0x9577c2=[],_0x56bc41=[];let _0x3421fd=_0xd53bd8[_0x48b344(0x22f)]['deepClone'](_0x2ca527['mutations'][0x0]),_0x299db0=_0xd53bd8['Tools'][_0x48b344(0x122)](_0x2ca527['mutations'][0x0]);for(let _0x7d478=_0x3966ae['length']-0x1;_0x7d478>=0x0;_0x7d478--){const _0xee0564={'id':_0x48b344(0x2c7),'params':{'unitId':_0x3966ae[_0x7d478][_0x48b344(0x168)],..._0x3966ae[_0x7d478]['undoState']}},_0x2d0ccc={'id':_0x48b344(0x2c7),'params':{'unitId':_0x3966ae[_0x7d478][_0x48b344(0x168)],..._0x3966ae[_0x7d478]['redoState']}},_0x3a9888=this[_0x48b344(0x295)][_0x48b344(0x29d)](_0x3421fd,_0xee0564,!0x1),_0x3cd4c7=this['_transformService']['transformMutation'](_0x299db0,_0x2d0ccc,!0x1);if(_0xf9a610[_0x48b344(0x281)](_0x3a9888))throw _0x3a9888[_0x48b344(0x149)];if(_0xf9a610['isTransformMutationFailure'](_0x3cd4c7))throw _0x3cd4c7[_0x48b344(0x149)];_0x9577c2[_0x48b344(0x92)]({..._0x3966ae[_0x7d478],'undoState':_0x3a9888[_0x48b344(0x2ee)][_0x48b344(0x271)],'redoState':_0x3cd4c7['m2Prime'][_0x48b344(0x271)]}),_0x3421fd=_0x3a9888['m1Prime'],_0x299db0=_0x3cd4c7[_0x48b344(0x164)];}_0x3421fd=_0xd53bd8[_0x48b344(0x22f)][_0x48b344(0x122)](_0x2ca527[_0x48b344(0xcd)][0x0]),_0x299db0=_0xd53bd8[_0x48b344(0x22f)]['deepClone'](_0x2ca527['mutations'][0x0]);for(let _0x40d1b0=_0x1bacd0[_0x48b344(0x116)]-0x1;_0x40d1b0>=0x0;_0x40d1b0--){const _0x50a7ea={'id':_0x48b344(0x2c7),'params':{'unitId':_0x1bacd0[_0x40d1b0]['unitId'],..._0x1bacd0[_0x40d1b0][_0x48b344(0x1df)]}},_0x5e6994={'id':_0x48b344(0x2c7),'params':{'unitId':_0x1bacd0[_0x40d1b0][_0x48b344(0x168)],..._0x1bacd0[_0x40d1b0][_0x48b344(0x27c)]}},_0x2394d1=this[_0x48b344(0x295)][_0x48b344(0x29d)](_0x3421fd,_0x50a7ea,!0x1),_0x4effe6=this[_0x48b344(0x295)][_0x48b344(0x29d)](_0x299db0,_0x5e6994,!0x1);if(_0xf9a610[_0x48b344(0x281)](_0x2394d1))throw _0x2394d1[_0x48b344(0x149)];if(_0xf9a610[_0x48b344(0x281)](_0x4effe6))throw _0x4effe6[_0x48b344(0x149)];_0x56bc41[_0x48b344(0x92)]({..._0x1bacd0[_0x40d1b0],'undoState':_0x2394d1[_0x48b344(0x2ee)][_0x48b344(0x271)],'redoState':_0x4effe6[_0x48b344(0x2ee)][_0x48b344(0x271)]}),_0x3421fd=_0x2394d1[_0x48b344(0x164)],_0x299db0=_0x4effe6['m1Prime'];}this[_0x48b344(0x2ec)][_0x48b344(0x11d)](_0x3d02fe,{'history':_0x9577c2,'collaboration':_0x56bc41});}};_0x38364b=_0x38481a([_0x40a189(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x40a189(0x1,_0xf9a610[_0x1325e8(0x22d)]),_0x40a189(0x2,_0xd53bd8['Inject'](_0x372e3b[_0x1325e8(0x215)]))],_0x38364b);var _0x58e063=Object['getOwnPropertyDescriptor'],_0x17b5ad=(_0x3f0d85,_0x3eb314,_0x5e351d,_0x498930)=>{const _0x1b469a=_0x1325e8;for(var _0x318260=_0x498930>0x1?void 0x0:_0x498930?_0x58e063(_0x3eb314,_0x5e351d):_0x3eb314,_0xbcd4c7=_0x3f0d85[_0x1b469a(0x116)]-0x1,_0x57d874;_0xbcd4c7>=0x0;_0xbcd4c7--)(_0x57d874=_0x3f0d85[_0xbcd4c7])&&(_0x318260=_0x57d874(_0x318260)||_0x318260);return _0x318260;},_0x2e3768=(_0x292ccf,_0x41b1fc)=>(_0x29d60a,_0x32cae9)=>_0x41b1fc(_0x29d60a,_0x32cae9,_0x292ccf);let _0x1ef4d2=class{constructor(_0xd9d1b7,_0x78cac3){const _0x5427c6=_0x1325e8;this[_0x5427c6(0x284)]=_0xd9d1b7,this[_0x5427c6(0x295)]=_0x78cac3;}['transformSelections'](_0x5ad2ed){const _0x7b960b=_0x1325e8;var _0xb750f1;const _0x35de6f=this['_injector'][_0x7b960b(0x1d5)](_0x552433[_0x7b960b(0x173)]),_0x50f04d=(_0xb750f1=_0x35de6f['getDocRanges']())!=null?_0xb750f1:[];if(_0x50f04d[_0x7b960b(0x116)]===0x0)return;const _0x3b2a30=_0x5ad2ed[_0x7b960b(0xfb)],_0x22aa73=[{'id':_0x7b960b(0x2c7),'params':{'unitId':_0x3b2a30,'actions':null,'textRanges':_0x50f04d}}],_0x18e67e=this[_0x7b960b(0x295)][_0x7b960b(0x246)](_0x5ad2ed,_0x22aa73);if(!_0xf9a610[_0x7b960b(0x1cc)](_0x18e67e))throw _0x18e67e[_0x7b960b(0x149)];const _0xdebf7a=_0x18e67e[_0x7b960b(0x2ee)][0x0][_0x7b960b(0x271)][_0x7b960b(0x2da)];Array[_0x7b960b(0x15d)](_0xdebf7a)&&_0xdebf7a['length']&&_0x35de6f[_0x7b960b(0x2ce)](_0xdebf7a,{'unitId':_0x3b2a30,'subUnitId':_0x3b2a30},!0x1);}};_0x1ef4d2=_0x17b5ad([_0x2e3768(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x2e3768(0x1,_0xf9a610[_0x1325e8(0x22d)])],_0x1ef4d2);var _0x226366=Object[_0x1325e8(0x107)],_0x5e566e=(_0x4a8b83,_0x226001,_0x1958c9,_0x4a93e9)=>{const _0x5d8495=_0x1325e8;for(var _0x2d2787=_0x4a93e9>0x1?void 0x0:_0x4a93e9?_0x226366(_0x226001,_0x1958c9):_0x226001,_0x1c93cb=_0x4a8b83[_0x5d8495(0x116)]-0x1,_0x27702a;_0x1c93cb>=0x0;_0x1c93cb--)(_0x27702a=_0x4a8b83[_0x1c93cb])&&(_0x2d2787=_0x27702a(_0x2d2787)||_0x2d2787);return _0x2d2787;},_0x33d975=(_0x1e3b4c,_0x47e651)=>(_0x5eab45,_0x3dd60f)=>_0x47e651(_0x5eab45,_0x3dd60f,_0x1e3b4c);let _0x75488c=class extends _0xd53bd8['Disposable']{constructor(_0x3af45b,_0x143a28,_0x4e1947,_0x3ff912,_0x5aea2b,_0x167a00,_0x3c06cf,_0x19fc7a){const _0x2489ee=_0x1325e8;super(),_0x48b37d(this,_0x2489ee(0x2a6),new _0xd36704[(_0x2489ee(0x1a4))](_0x3237ee[_0x2489ee(0x91)][_0x2489ee(0x170)])),(this[_0x2489ee(0x2ec)]=_0x3af45b,this[_0x2489ee(0x1d2)]=_0x143a28,this['_docTransformIMECacheService']=_0x4e1947,this['_docTransformStateCacheService']=_0x3ff912,this[_0x2489ee(0x2d1)]=_0x5aea2b,this[_0x2489ee(0x1e1)]=_0x167a00,this[_0x2489ee(0x183)]=_0x3c06cf,this[_0x2489ee(0x2be)]=_0x19fc7a,this['_initEntityListener']());}[_0x1325e8(0xb0)](){const _0x447d4a=_0x1325e8;this[_0x447d4a(0x230)](this[_0x447d4a(0x1d2)]['entityInit$'][_0x447d4a(0x12d)](_0x50ebf4=>{const _0x5a303c=_0x447d4a,_0x3a407e=this['_docStateChangeManagerService'][_0x5a303c(0x237)][_0x5a303c(0x12d)](_0x170de1=>{const _0x362692=_0x5a303c;if(_0x170de1==null)return;const {unitId:_0x4ff764,redoState:_0x497e4d,commandId:_0x1270f4}=_0x170de1;if(_0x4ff764!==_0x50ebf4[_0x362692(0xfb)])return;const _0x103baa={'id':_0x1270f4,'type':_0xd53bd8['CommandType'][_0x362692(0x21f)],'params':{'unitId':_0x4ff764,'actions':_0x497e4d['actions'],'textRanges':null}};_0x50ebf4[_0x362692(0x144)](_0x103baa);});if(_0x50ebf4['disposeWithMe'](_0x3a407e),_0x50ebf4 instanceof _0x3237ee[_0x5a303c(0x296)]){const _0x28f86b={'onTransformIME':_0x4f43fb=>this['_docTransformIMECacheService'][_0x5a303c(0x221)](_0x4f43fb),'onTransformState':_0x41a9eb=>this[_0x5a303c(0x1fb)][_0x5a303c(0x153)](_0x41a9eb),'onTransformSelections':_0x2ea3ba=>this[_0x5a303c(0x2d1)][_0x5a303c(0x270)](_0x2ea3ba),'onSyncEditingCollabCursor':_0x24e5e3=>this[_0x5a303c(0x1e1)]['syncEditingCollabCursor'](_0x24e5e3),'onTransformRemoteChangesetByIMECache':_0x42d7e3=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x42d7e3),'onTransformRemoteChangesetByStateCache':_0x35444f=>this['_docTransformStateCacheService'][_0x5a303c(0xfd)](_0x35444f)};_0x50ebf4[_0x5a303c(0x16e)](_0x28f86b);}}));}};_0x75488c=_0x5e566e([_0x33d975(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0x372e3b[_0x1325e8(0x215)])),_0x33d975(0x1,_0xd53bd8['Inject'](_0x3237ee[_0x1325e8(0x7c)])),_0x33d975(0x2,_0xd53bd8['Inject'](_0x1e6dae)),_0x33d975(0x3,_0xd53bd8['Inject'](_0x38364b)),_0x33d975(0x4,_0xd53bd8['Inject'](_0x1ef4d2)),_0x33d975(0x5,_0xd53bd8[_0x1325e8(0x2cc)](_0x97dcb1)),_0x33d975(0x6,_0x1d07a5[_0x1325e8(0xe7)]),_0x33d975(0x7,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8['LocaleService']))],_0x75488c);var _0x240bf4=Object[_0x1325e8(0x107)],_0x2bb6a6=(_0x2f6a9e,_0x2d2140,_0x258ac9,_0x594255)=>{const _0x5a7d87=_0x1325e8;for(var _0x1bbb8a=_0x594255>0x1?void 0x0:_0x594255?_0x240bf4(_0x2d2140,_0x258ac9):_0x2d2140,_0x5931d1=_0x2f6a9e[_0x5a7d87(0x116)]-0x1,_0x4615bc;_0x5931d1>=0x0;_0x5931d1--)(_0x4615bc=_0x2f6a9e[_0x5931d1])&&(_0x1bbb8a=_0x4615bc(_0x1bbb8a)||_0x1bbb8a);return _0x1bbb8a;},_0x215a65=(_0x5ca540,_0x48ae33)=>(_0x4cf153,_0xa282bf)=>_0x48ae33(_0x4cf153,_0xa282bf,_0x5ca540);let _0x13314a=class extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(_0x245cb4,_0x12897f,_0x23922e){const _0x2949dc=_0x1325e8;super(),_0x48b37d(this,_0x2949dc(0x1af),new Map()),_0x48b37d(this,_0x2949dc(0x21a),new Map()),_0x48b37d(this,_0x2949dc(0x283),!0x1),(this[_0x2949dc(0xca)]=_0x245cb4,this[_0x2949dc(0xc1)]=_0x12897f,this['_revisionService']=_0x23922e);}[_0x1325e8(0xf8)](){const _0x346516=_0x1325e8;this[_0x346516(0x283)]=!0x0;}['enableLocalCache'](){const _0x2b3089=_0x1325e8;this[_0x2b3089(0x283)]=!0x1;}get[_0x1325e8(0x171)](){return this['_saveTaskMap'];}['dispose'](){const _0x3c9a05=_0x1325e8;this[_0x3c9a05(0x139)]()[_0x3c9a05(0x18d)](()=>super[_0x3c9a05(0xa9)]());}async[_0x1325e8(0x252)](_0x42f7ea){const _0x347e49=_0x1325e8;return this[_0x347e49(0x283)]?null:this[_0x347e49(0xc1)]['getItem'](_0x3237ee['getLocalCacheKey'](_0x42f7ea));}async[_0x1325e8(0x2b7)](_0xdab8b7,_0x17f01c){return!!this['_localStorageService']['setItem'](_0xdab8b7,_0x17f01c);}[_0x1325e8(0x2dd)](_0x3b07d0,_0x4f730d,_0x54a1ce,_0x479f7d){const _0x5e657b=_0x1325e8,_0x1f98c1=this[_0x5e657b(0x131)][_0x5e657b(0xc7)](_0x3b07d0);this[_0x5e657b(0x1af)][_0x5e657b(0x174)](_0x3b07d0,{'unitID':_0x3b07d0,'type':_0x4f730d,'awaitingChangeset':_0x54a1ce,'mutations':_0x479f7d,'rev':_0x1f98c1}),this['_saveTaskMap'][_0x5e657b(0x258)](_0x3b07d0)||this[_0x5e657b(0x100)](_0x3b07d0);}[_0x1325e8(0x100)](_0x16d2a4){const _0x29bdf3=_0x1325e8,_0x51f6af=this[_0x29bdf3(0x243)]();_0x51f6af===0x0?this[_0x29bdf3(0x121)](_0x16d2a4):this['_saveTaskMap'][_0x29bdf3(0x174)](_0x16d2a4,setTimeout(()=>this[_0x29bdf3(0x121)](_0x16d2a4),_0x51f6af));}['_getSaveTimeout'](){const _0xabd5f7=_0x1325e8;var _0x2a8ab6;return(_0x2a8ab6=this[_0xabd5f7(0xca)][_0xabd5f7(0x1e6)](_0x3237ee[_0xabd5f7(0x28f)]))!=null?_0x2a8ab6:_0x3237ee[_0xabd5f7(0x198)];}[_0x1325e8(0x121)](_0x22b310){const _0x2c733a=_0x1325e8,_0x417c35=this[_0x2c733a(0x21a)][_0x2c733a(0x1d5)](_0x22b310);return _0x417c35!==void 0x0&&window['clearTimeout'](_0x417c35),this['_localStorageService'][_0x2c733a(0x11a)](_0x3237ee['getLocalCacheKey'](_0x22b310),this['_cachedData'][_0x2c733a(0x1d5)](_0x22b310))['then'](()=>this[_0x2c733a(0x21a)][_0x2c733a(0x93)](_0x22b310));}async[_0x1325e8(0x139)](){const _0x5a6dd0=_0x1325e8,_0x31f8da=[];this[_0x5a6dd0(0x21a)]['forEach']((_0x19f6d6,_0x243714)=>{const _0x3ac08c=_0x5a6dd0;window[_0x3ac08c(0x206)](_0x19f6d6),_0x31f8da[_0x3ac08c(0x1f9)](this[_0x3ac08c(0x121)](_0x243714)[_0x3ac08c(0x18d)](()=>{const _0x530361=_0x3ac08c;this[_0x530361(0x21a)][_0x530361(0x93)](_0x243714);}));}),await Promise[_0x5a6dd0(0x253)](_0x31f8da);}};_0x13314a=_0x2bb6a6([_0x215a65(0x0,_0xd53bd8[_0x1325e8(0x280)]),_0x215a65(0x1,_0xd53bd8[_0x1325e8(0x102)]),_0x215a65(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0xf9a610[_0x1325e8(0x278)]))],_0x13314a);class _0x50a209 extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(){const _0x83fe8c=_0x1325e8;super(),_0x48b37d(this,_0x83fe8c(0x143)),this['urlChange$']=_0xd36704[_0x83fe8c(0x242)](window,_0x83fe8c(0x10a))[_0x83fe8c(0x22b)](_0xd36704['takeUntil'](this[_0x83fe8c(0x29b)]),_0xd36704[_0x83fe8c(0x2ab)](0x1),_0xd36704[_0x83fe8c(0x129)](void 0x0));}['setParam'](_0x1fed08,_0x1b3737,_0x1dafe5=!0x1){const _0x116624=_0x1325e8,_0x242b89=new URL(window['location'][_0x116624(0x2fe)]);_0x242b89[_0x116624(0x1db)][_0x116624(0x174)](_0x1fed08,_0x1b3737),_0x1dafe5?window[_0x116624(0xf7)][_0x116624(0x220)]('','',_0x242b89[_0x116624(0x1a7)]()):window[_0x116624(0xf7)]['pushState']('','',_0x242b89[_0x116624(0x1a7)]());}['removeParam'](_0x1f8bd1,_0x8aff8d=!0x1){const _0x35abb2=_0x1325e8,_0x5e5622=new URL(window['location'][_0x35abb2(0x2fe)]);_0x5e5622[_0x35abb2(0x1db)]['delete'](_0x1f8bd1),_0x8aff8d?window['history'][_0x35abb2(0x220)]('','',_0x5e5622['toString']()):window['history'][_0x35abb2(0x2b8)]('','',_0x5e5622[_0x35abb2(0x1a7)]());}[_0x1325e8(0x1fa)](_0x3f4113){const _0x317b84=_0x1325e8;var _0x29df5e;return(_0x29df5e=new URL(window[_0x317b84(0x267)]['href'])[_0x317b84(0x1db)][_0x317b84(0x1d5)](_0x3f4113))!=null?_0x29df5e:void 0x0;}}var _0x1ce2a6=Object['defineProperty'],_0x233f81=Object['getOwnPropertyDescriptor'],_0x1f4564=(_0x2df67c,_0x420c00,_0x4587f8)=>_0x420c00 in _0x2df67c?_0x1ce2a6(_0x2df67c,_0x420c00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4587f8}):_0x2df67c[_0x420c00]=_0x4587f8,_0x59f3c3=(_0xe248ee,_0xdb29b4,_0x275ee3,_0x14bbd8)=>{const _0x10261b=_0x1325e8;for(var _0x2400a7=_0x14bbd8>0x1?void 0x0:_0x14bbd8?_0x233f81(_0xdb29b4,_0x275ee3):_0xdb29b4,_0x2c3a6b=_0xe248ee[_0x10261b(0x116)]-0x1,_0x402ccd;_0x2c3a6b>=0x0;_0x2c3a6b--)(_0x402ccd=_0xe248ee[_0x2c3a6b])&&(_0x2400a7=_0x402ccd(_0x2400a7)||_0x2400a7);return _0x2400a7;},_0x37467d=(_0x454b30,_0x42edba)=>(_0xe2bcc9,_0x1a8bd2)=>_0x42edba(_0xe2bcc9,_0x1a8bd2,_0x454b30),_0x19ab0f=(_0x30dd94,_0x2c77ae,_0x20c417)=>_0x1f4564(_0x30dd94,_0x2c77ae+'',_0x20c417);const _0x1ba598=_0x1325e8(0x2a5);_0x2db65c[_0x1325e8(0xed)]=class extends _0xd53bd8[_0x1325e8(0x13c)]{constructor(_0x1b6626=_0x5c9a1b,_0x2b1b14,_0x37ea40,_0x387573){const _0xce1c37=_0x1325e8;super(),this[_0xce1c37(0x259)]=_0x1b6626,this['_renderManagerService']=_0x2b1b14,this[_0xce1c37(0x284)]=_0x37ea40,this[_0xce1c37(0xca)]=_0x387573;const {..._0x5cdc8d}=_0xd53bd8[_0xce1c37(0x27b)]({},_0x5c9a1b,this['_config']);this[_0xce1c37(0xca)][_0xce1c37(0x176)](_0x3af607,_0x5cdc8d);}[_0x1325e8(0xcf)](){const _0x3aa6d1=_0x1325e8;this['_registerDependencies'](),this[_0x3aa6d1(0x2b0)]();}[_0x1325e8(0x288)](){const _0x3bd24a=_0x1325e8;this[_0x3bd24a(0x137)]();}[_0x1325e8(0x250)](){const _0x5a8630=_0x1325e8;var _0x3cb512;const _0x55720e=[[_0x300907],[_0x1ef4d2],[_0x1e6dae],[_0x38364b],[_0x97dcb1],[_0x392008,{'useClass':_0x50a209}],[_0x23cee1[_0x5a8630(0xd7)],{'useClass':_0x23cee1['WebSocketService']}],[_0x3237ee[_0x5a8630(0x1b2)],{'useClass':_0x13314a}],[_0x2db65c[_0x5a8630(0x127)]],[_0x75488c],[_0x37ea85],[_0x102ba3],[_0x340ef9],[_0x2db65c['CollaborationDataLoaderController']]];_0xd53bd8[_0x5a8630(0x119)](this[_0x5a8630(0x284)],_0xd53bd8[_0x5a8630(0x2f0)](_0x55720e,(_0x3cb512=this['_config'])==null?void 0x0:_0x3cb512[_0x5a8630(0x147)]));}[_0x1325e8(0x137)](){const _0x4ea959=_0x1325e8;this[_0x4ea959(0x230)](this[_0x4ea959(0x23b)]['registerRenderModule'](_0xd53bd8[_0x4ea959(0x9c)][_0x4ea959(0x2c8)],[_0x47f621])),this['disposeWithMe'](this[_0x4ea959(0x23b)][_0x4ea959(0x1a2)](_0xd53bd8['UniverInstanceType'][_0x4ea959(0x14f)],[_0x5071ba]));}['_initDependencies'](){const _0xfd34d6=_0x1325e8;_0xd53bd8[_0xfd34d6(0x2a8)](this[_0xfd34d6(0x284)],[[_0x102ba3],[_0x2db65c[_0xfd34d6(0x127)]],[_0x75488c],[_0x37ea85],[_0x2db65c['CollaborationDataLoaderController']]]);}},_0x19ab0f(_0x2db65c[_0x1325e8(0xed)],_0x1325e8(0x188),_0x1ba598),_0x2db65c[_0x1325e8(0xed)]=_0x59f3c3([_0xd53bd8['DependentOn'](_0x3237ee[_0x1325e8(0xf4)]),_0x37467d(0x1,_0x3574c4[_0x1325e8(0x157)]),_0x37467d(0x2,_0xd53bd8['Inject'](_0xd53bd8[_0x1325e8(0x110)])),_0x37467d(0x3,_0xd53bd8[_0x1325e8(0x280)])],_0x2db65c[_0x1325e8(0xed)]);var _0x3745ce=Object['getOwnPropertyDescriptor'],_0x23702d=(_0x55c566,_0x1ad769,_0x1f2c79,_0x4ee9c1)=>{const _0x582744=_0x1325e8;for(var _0x41df7f=_0x4ee9c1>0x1?void 0x0:_0x4ee9c1?_0x3745ce(_0x1ad769,_0x1f2c79):_0x1ad769,_0x4d01f6=_0x55c566[_0x582744(0x116)]-0x1,_0x439db8;_0x4d01f6>=0x0;_0x4d01f6--)(_0x439db8=_0x55c566[_0x4d01f6])&&(_0x41df7f=_0x439db8(_0x41df7f)||_0x41df7f);return _0x41df7f;},_0x4b84f3=(_0x54bf5e,_0x5aa8b7)=>(_0x5297dd,_0x285db3)=>_0x5aa8b7(_0x5297dd,_0x285db3,_0x54bf5e);_0x2db65c[_0x1325e8(0x14b)]=class extends _0x3237ee[_0x1325e8(0x1f6)]{constructor(_0x5bd68f,_0x5c716c,_0x597d47,_0x5c8fe5,_0x23e4e6){super(_0x5bd68f,_0x5c716c,_0x597d47,_0x5c8fe5,_0x23e4e6);}async['createSocket'](_0x401e78){const _0x33ba6f=_0x1325e8,_0x37380f=await this[_0x33ba6f(0x1c4)](),_0x197c84=this[_0x33ba6f(0x111)](_0x401e78,_0x37380f);return this[_0x33ba6f(0x136)](_0x197c84);}[_0x1325e8(0x111)](_0x4023a8,_0x35941e){const _0x5ba103=_0x1325e8,_0x3b0e86=typeof window>'u'?new URL(_0x4023a8):new URL(_0x4023a8,window[_0x5ba103(0x267)]['origin']);_0x3b0e86[_0x5ba103(0x1db)][_0x5ba103(0x174)](_0x5ba103(0x1b9),_0x35941e);const _0x5c5b24=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5ba103(0xe6)]);return _0x5c5b24['get'](_0x5ba103(0x138))&&_0x3b0e86['searchParams']['set'](_0x5ba103(0x138),_0x5c5b24['get'](_0x5ba103(0x138))),_0x3b0e86[_0x5ba103(0x1a7)]();}async[_0x1325e8(0x1c4)](){const _0x5a8546=_0x1325e8;var _0x5ef5bd,_0x1a7a5e,_0xa9fd85;const _0x2ba04f=this[_0x5a8546(0xca)][_0x5a8546(0x1e6)](_0x3237ee[_0x5a8546(0xd0)]),_0xb7efb1=(_0x5ef5bd=_0x2ba04f==null?void 0x0:_0x2ba04f[_0x5a8546(0xdc)])!=null?_0x5ef5bd:_0x3237ee[_0x5a8546(0xee)];return(_0xa9fd85=(_0x1a7a5e=(await this['_httpService'][_0x5a8546(0x1d5)](_0xb7efb1,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x1a7a5e[_0x5a8546(0x1f0)])!=null?_0xa9fd85:'';}},_0x2db65c[_0x1325e8(0x14b)]=_0x23702d([_0x4b84f3(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x4b84f3(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0x23cee1['HTTPService'])),_0x4b84f3(0x2,_0xd53bd8[_0x1325e8(0x280)]),_0x4b84f3(0x3,_0xd53bd8['ILogService']),_0x4b84f3(0x4,_0xf9a610[_0x1325e8(0x1b6)])],_0x2db65c[_0x1325e8(0x14b)]);const _0x27c633=0x7530,_0x267786=_0x1325e8(0x298);class _0x2e1ccf extends _0xd53bd8['Disposable']{constructor(){const _0x395d92=_0x1325e8;super(),_0x48b37d(this,_0x395d92(0x181),_0xd53bd8['generateRandomId']()),_0x48b37d(this,_0x395d92(0x8f),new Set()),_0x48b37d(this,_0x395d92(0x1be),new Map()),_0x48b37d(this,_0x395d92(0x14e),null),_0x48b37d(this,'_clearOtherTimers',new Map()),_0x48b37d(this,_0x395d92(0x2d2),new Map()),this[_0x395d92(0x2f3)]();}[_0x1325e8(0xa9)](){const _0x15d844=_0x1325e8;super['dispose'](),this[_0x15d844(0x209)][_0x15d844(0x26c)]((_0x3a4d91,_0x416b54)=>this[_0x15d844(0x8b)](_0x416b54)),this['_heartbeatTimer']&&window[_0x15d844(0x19d)](this[_0x15d844(0x14e)]);}['getUnitStatus$'](_0x13f70c){const _0x4c1355=_0x1325e8;return this['_ensureSubject'](_0x13f70c)[_0x4c1355(0x22b)](_0xd36704['distinctUntilChanged']());}['editingUnit'](_0x433b78){const _0x3fa55d=_0x1325e8;this[_0x3fa55d(0x8f)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3fa55d(0x8f)][_0x3fa55d(0x2f5)](_0x433b78),this[_0x3fa55d(0x1e8)]({'type':0x0,'memberID':this[_0x3fa55d(0x181)],'unitIDs':[_0x433b78],'isForwarded':!0x1});}[_0x1325e8(0x22e)](_0x1d33f1){const _0x250e0b=_0x1325e8;this[_0x250e0b(0x8f)][_0x250e0b(0x93)](_0x1d33f1),this[_0x250e0b(0x8f)][_0x250e0b(0x88)]===0x0&&this[_0x250e0b(0x14e)]&&window[_0x250e0b(0x19d)](this['_heartbeatTimer']);}[_0x1325e8(0x2f3)](){const _0x283bb4=_0x1325e8;this['disposeWithMe'](_0xd53bd8['toDisposable'](_0xd36704[_0x283bb4(0x242)](window,'storage')[_0x283bb4(0x12d)](_0x2dcf6c=>{const _0x596b14=_0x283bb4;if(_0x2dcf6c[_0x596b14(0x23a)]!==_0x267786||!_0x2dcf6c[_0x596b14(0x24f)])return;const _0x52784e=JSON[_0x596b14(0x2c6)](_0x2dcf6c[_0x596b14(0x24f)]);this['_handleEvent'](_0x52784e);}))),window['addEventListener']('unload',()=>this[_0x283bb4(0x1e8)]({'type':0x1,'memberID':this[_0x283bb4(0x181)],'unitIDs':Array[_0x283bb4(0x2e7)](this[_0x283bb4(0x8f)])}));}['_handleEvent'](_0x4c44f6){const _0x40f8b5=_0x1325e8;switch(_0x4c44f6[_0x40f8b5(0x2c5)]){case 0x0:this[_0x40f8b5(0x9e)](_0x4c44f6);break;case 0x1:this[_0x40f8b5(0x7b)](_0x4c44f6);break;case 0x2:this[_0x40f8b5(0x236)](_0x4c44f6);break;}}[_0x1325e8(0x9e)](_0x255435){const _0x57fe6a=_0x1325e8,{unitIDs:_0x3bb35f,memberID:_0x1f0bc1,isForwarded:_0x4c1ba2}=_0x255435;_0x3bb35f[_0x57fe6a(0x26c)](_0x19fe10=>{const _0x80c302=_0x57fe6a;if(!_0x4c1ba2&&this[_0x80c302(0x1be)][_0x80c302(0x258)](_0x19fe10)&&this[_0x80c302(0xba)](_0x19fe10)[_0x80c302(0x265)](_0x3237ee[_0x80c302(0x1ed)][_0x80c302(0x10f)]),!this[_0x80c302(0x1be)][_0x80c302(0x258)](_0x19fe10)||!this['_unitOnClients']['get'](_0x19fe10)[_0x80c302(0x258)](_0x1f0bc1)){const _0xd8326f=this[_0x80c302(0x1be)][_0x80c302(0x1d5)](_0x19fe10)||new Set();_0xd8326f[_0x80c302(0x2f5)](_0x1f0bc1),this[_0x80c302(0x1be)]['set'](_0x19fe10,_0xd8326f),this[_0x80c302(0xb5)](_0x1f0bc1);}}),_0x4c1ba2||this[_0x57fe6a(0x1e8)]({'type':0x0,'memberID':this[_0x57fe6a(0x181)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1770f3){const _0x2bc49e=_0x1325e8;this['_removeClearOtherTimer'](_0x1770f3);const _0x591af5=window[_0x2bc49e(0x225)](()=>{const _0x4a6b4b=_0x2bc49e;this[_0x4a6b4b(0x1be)][_0x4a6b4b(0x26c)](_0x309a6f=>{const _0x282a53=_0x4a6b4b;_0x309a6f[_0x282a53(0x93)](_0x1770f3);});},_0x27c633*0x2);this['_clearOtherTimers'][_0x2bc49e(0x174)](_0x1770f3,_0x591af5);}['_removeClearOtherTimer'](_0x9f6d2f){const _0x4634ef=_0x1325e8;if(this[_0x4634ef(0x209)][_0x4634ef(0x258)](_0x9f6d2f)){const _0x458911=this[_0x4634ef(0x209)][_0x4634ef(0x1d5)](_0x9f6d2f);_0x458911&&window['clearTimeout'](_0x458911),this[_0x4634ef(0x209)]['set'](_0x9f6d2f,null);}}[_0x1325e8(0x7b)](_0x88ffa3){const _0x337afa=_0x1325e8,{memberID:_0x48d851,unitIDs:_0x2b8254}=_0x88ffa3;_0x2b8254[_0x337afa(0x26c)](_0x19d34f=>{const _0x22d293=_0x337afa;var _0x37e499;const _0x42247f=this[_0x22d293(0x1be)]['get'](_0x19d34f);_0x42247f&&(_0x42247f['delete'](_0x48d851),(_0x37e499=this[_0x22d293(0xba)](_0x19d34f))==null||_0x37e499[_0x22d293(0x265)](_0x42247f[_0x22d293(0x88)]===0x0?_0x3237ee['UnitStatus'][_0x22d293(0x1c8)]:_0x3237ee[_0x22d293(0x1ed)][_0x22d293(0x10f)]));}),this[_0x337afa(0x8b)](_0x48d851);}['_handleHeartbeatEvent'](_0x165b98){const _0x5d1c2a=_0x1325e8;this['_scheduleClearOtherTimer'](_0x165b98[_0x5d1c2a(0x160)]);}['_send'](_0x236a37){const _0xd09e15=_0x1325e8;localStorage[_0xd09e15(0x11a)](_0x267786,JSON[_0xd09e15(0x115)](_0x236a37));}[_0x1325e8(0x180)](){const _0x4430ed=_0x1325e8;this[_0x4430ed(0x14e)]=window[_0x4430ed(0x11b)](()=>{const _0x48c5e9=_0x4430ed;this[_0x48c5e9(0x1e8)]({'type':0x2,'memberID':this[_0x48c5e9(0x181)]});},_0x27c633);}[_0x1325e8(0xba)](_0x46ae37){const _0x7febe6=_0x1325e8;return this['_unitStatus'][_0x7febe6(0x258)](_0x46ae37)||this['_unitStatus'][_0x7febe6(0x174)](_0x46ae37,new _0xd36704['BehaviorSubject'](_0x3237ee[_0x7febe6(0x1ed)][_0x7febe6(0x1c8)])),this[_0x7febe6(0x2d2)]['get'](_0x46ae37);}}var _0x21f946=(_0x388a85=>(_0x388a85[_0x388a85[_0x1325e8(0x6c)]=0x0]=_0x1325e8(0x6c),_0x388a85[_0x388a85['OK']=0x1]='OK',_0x388a85[_0x388a85[_0x1325e8(0x1f3)]=0x2]=_0x1325e8(0x1f3),_0x388a85[_0x388a85[_0x1325e8(0x106)]=0x3]=_0x1325e8(0x106),_0x388a85[_0x388a85[_0x1325e8(0x2b4)]=0x4]=_0x1325e8(0x2b4),_0x388a85[_0x388a85[_0x1325e8(0xd4)]=0x5]='UNAUTHENTICATED',_0x388a85[_0x388a85['ALREADY_EXISTS']=0x6]=_0x1325e8(0x117),_0x388a85[_0x388a85[_0x1325e8(0x16b)]=0x7]=_0x1325e8(0x16b),_0x388a85[_0x388a85[_0x1325e8(0xc9)]=0x8]=_0x1325e8(0xc9),_0x388a85[_0x388a85[_0x1325e8(0x2b2)]=0x9]=_0x1325e8(0x2b2),_0x388a85[_0x388a85[_0x1325e8(0xc6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x388a85[_0x388a85[_0x1325e8(0x99)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x388a85[_0x388a85[_0x1325e8(0x2c4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x388a85[_0x388a85[_0x1325e8(0x145)]=0x1773]=_0x1325e8(0x145),_0x388a85[_0x388a85['APPLY_REJECT']=0x1b59]=_0x1325e8(0x9a),_0x388a85[_0x388a85[_0x1325e8(0x2c0)]=0x1b5a]=_0x1325e8(0x2c0),_0x388a85[_0x388a85[_0x1325e8(0x9f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x388a85[_0x388a85['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x388a85[_0x388a85[_0x1325e8(0x26e)]=0x1b5d]=_0x1325e8(0x26e),_0x388a85[_0x388a85['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1325e8(0x148),_0x388a85[_0x388a85[_0x1325e8(0x96)]=0x2329]=_0x1325e8(0x96),_0x388a85[_0x388a85[_0x1325e8(0x255)]=0x232a]=_0x1325e8(0x255),_0x388a85[_0x388a85['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1325e8(0xe0),_0x388a85[_0x388a85[_0x1325e8(0xde)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x388a85[_0x388a85[_0x1325e8(0x26b)]=0x232d]=_0x1325e8(0x26b),_0x388a85[_0x388a85[_0x1325e8(0x87)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x388a85[_0x388a85['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1325e8(0x1f8),_0x388a85[_0x388a85[_0x1325e8(0x6a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x388a85[_0x388a85[_0x1325e8(0x1ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x388a85[_0x388a85['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x388a85[_0x388a85[_0x1325e8(0x1d4)]=-0x1]=_0x1325e8(0x1d4),_0x388a85))(_0x21f946||{}),_0x572e75=Object[_0x1325e8(0x107)],_0x1f5846=(_0x1c921b,_0x45d611,_0x13b2b7,_0x28f2a7)=>{for(var _0x31930f=_0x28f2a7>0x1?void 0x0:_0x28f2a7?_0x572e75(_0x45d611,_0x13b2b7):_0x45d611,_0xe216e3=_0x1c921b['length']-0x1,_0x2e21ee;_0xe216e3>=0x0;_0xe216e3--)(_0x2e21ee=_0x1c921b[_0xe216e3])&&(_0x31930f=_0x2e21ee(_0x31930f)||_0x31930f);return _0x31930f;},_0x125541=(_0xe6b40b,_0x18d683)=>(_0x18d601,_0xcc5922)=>_0x18d683(_0x18d601,_0xcc5922,_0xe6b40b);_0x2db65c[_0x1325e8(0x23c)]=class extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(_0x515bd8,_0xa0bfa8,_0xa87ddf){const _0x3d2393=_0x1325e8;super(),this[_0x3d2393(0x182)]=_0x515bd8,this[_0x3d2393(0x264)]=_0xa0bfa8,this['_configService']=_0xa87ddf;}async['runOnServer'](_0x15516e,_0x38ac0d,_0xff1212,..._0x2322ba){const _0x40212c=_0x1325e8;var _0x556695,_0x5cd105,_0x4918c9,_0x410b6e;const _0x3087df=this[_0x40212c(0x182)][_0x40212c(0x177)]();if(!_0x3087df)throw new Error(_0x40212c(0x2ea));const _0x292fa1=((_0x556695=this['_configService'][_0x40212c(0x1e6)](_0x3237ee[_0x40212c(0x123)]))!=null?_0x556695:_0x3237ee[_0x40212c(0x27f)])+'/'+_0x15516e+'/run/'+_0x38ac0d,_0x35433b=new URL(window[_0x40212c(0x267)][_0x40212c(0x2fe)]),_0x4cd477={'scriptId':_0x15516e,'runId':(_0x5cd105=_0x35433b[_0x40212c(0x1db)][_0x40212c(0x1d5)](_0x40212c(0x138)))!=null?_0x5cd105:'','function':_0x38ac0d,'unitId':_0x3087df['getUnitId'](),'argsOfFunction':JSON[_0x40212c(0x115)](_0x2322ba),'invokeId':(_0x4918c9=_0xff1212[_0x40212c(0x1ea)])!=null?_0x4918c9:'','executionId':(_0x410b6e=_0xff1212[_0x40212c(0x95)])!=null?_0x410b6e:''};try{const _0x1ce462=await this[_0x40212c(0x264)]['post'](_0x292fa1,{'body':_0x4cd477});return _0x1ce462[_0x40212c(0xff)]['error']&&_0x1ce462['body'][_0x40212c(0x149)][_0x40212c(0x1f4)]!==_0x21f946['OK']?_0x40212c(0x2db):_0x1ce462[_0x40212c(0xff)]['result'];}catch{return _0x40212c(0x2db);}}},_0x2db65c[_0x1325e8(0x23c)]=_0x1f5846([_0x125541(0x0,_0xd53bd8[_0x1325e8(0xf1)]),_0x125541(0x1,_0xd53bd8['Inject'](_0x23cee1[_0x1325e8(0x197)])),_0x125541(0x2,_0xd53bd8[_0x1325e8(0x280)])],_0x2db65c['RemoteUniscriptService']),_0x2db65c[_0x1325e8(0x78)]=_0x365be1,_0x2db65c[_0x1325e8(0x1d3)]=_0x392008,_0x2db65c['SheetCollabCursorShape']=_0x19d0db,_0x2db65c[_0x1325e8(0x124)]=_0x2e1ccf,_0x2db65c[_0x1325e8(0x161)]=_0x50a209,Object[_0x1325e8(0xb4)](_0x2db65c,Symbol[_0x1325e8(0x289)],{'value':'Module'});}));function _0x541d(_0x2329ac,_0x52e24f){const _0x292465=_0x2924();return _0x541d=function(_0x541db4,_0x397779){_0x541db4=_0x541db4-0x68;let _0x186d91=_0x292465[_0x541db4];return _0x186d91;},_0x541d(_0x2329ac,_0x52e24f);}function _0x2924(){const _0x561871=['push','getParam','_docTransformStateCacheService','getMember','addObjects','init','trim','1155411gWZHiC','current','rxjs/operators','RefRangeService','roomMembers$','_online','clearTimeout','Warning','IUIPartsService','_clearOtherTimers','Disposable','assignAColorForMemberID','onMouseMove','USERS_LEAVE','getCurrent','_toggleOffline','COLORS','string','purple300','hovered','@univerjs-pro/collaboration','DocStateChangeManagerService','unit','_labelPosition','univer-online-status-icon','IRemoteInstanceService','_saveTaskMap','createIdentifier','_name','26032XTuVWr','MoveRangeCommandId','MUTATION','replaceState','transformIMECache','_collabCursorController','Vector2','DocSkeletonManagerService','setTimeout','_startSheetCollabCursor','_urlService','handleInsertRangeMoveRight','_initResize','CONFLICT','pipe','collabCursorState$','ITransformService','disposeUnit','Tools','disposeWithMe','event$','_cursorShapes','_imageIoService','children','getSkeleton','_handleHeartbeatEvent','docStateChange$','concat','_shapes','key','_renderManagerService','RemoteUniscriptService','jsx','_onCursorUpdate','off-line-single_clip0_910_343','black','getRangePointData','fromEvent','_getSaveTimeout','selections','gold400','transformMutationsWithChangeset','cursorInfo','_handleHover','_hovered','hasOwnProperty','RemoveColCommandId','getMergeData','UniverSheetsUi','6196260qySpRI','newValue','_registerDependencies','assign','loadOfflineData','all','_initStatusComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveLeftCommandId','UniverDesign','has','_config','univer-offline','_getScale','on-line-single_clip0_910_349','Rect','exports','IImageIoService','row','_getSheetObject','_commandService','source','_httpService','next','split','location','@univerjs/network','setShapeProps','_assignedColors','LICENSE_DISTRO_REJECTED','forEach','connectInjector','APPLY_DUPLICATED','OnLineSingle','transformSelections','params','getUnhiddenWorksheets','none','_cursors','attrs','_colorIndex','engine','RevisionService','flatMap','labelPosition','merge','redoState','_cursor','round','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IConfigService','isTransformMutationFailure','_localCacheService','_disabled','_injector','CollaborationEvent','[CollaborationDataLoaderController]','_session','onRendered','toStringTag','filter','univer-flex\x20univer-items-center','DOC_RANGE_TYPE','UPDATE_CURSOR','@univerjs/drawing','LOCAL_CACHE_INTERVAL_KEY','beginPath','_updateURLWithCurrentState','_anchorDot','getSheetId','deserializeRangeWithSheet','_transformService','DocCollaborationEntity','entries','ACTIVE_UNIT_EVENT_CHANNEL','getViewport','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','dispose$','...','transformMutation','useObservable','SheetSkeletonManagerService','@univerjs/docs','UniverEngineRender','RegularPolygon','_collabCursorState$','height','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_status$','_univerInstanceService','touchDependencies','_render','Shape','shareReplay','clipPath','_lastPointer','_entityInit$','color','_initDependencies','RxDisposable','COMPLETION_FINISHED','width','NOT_FOUND','InsertRangeMoveRightCommandId','@univerjs/sheets-ui','saveOfflineData','pushState','_hover','_getMergeRange','bottom','getStateCache','use','_localeService','ICommandService','APPLY_NON_SEQUENTIAL_REVISION','mask','1em','_color','SNAPSHOT_HAS_BEEN_REMOVED','type','parse','doc.mutation.rich-text-editing','UNIVER_DOC','asObservable','SYNCED','colorChannel1','Inject','getCollabCursors$','replaceDocRanges','getAncestorScale','indexOf','_docTransformSelectionsService','_unitStatus','apply','_colorAssignService','react/jsx-runtime','getUndoRedoMutationParamsCache','permission.content','SOCKET_FAILED_RETRY','SHEET_VIEWPORT_KEY','textRanges','Failed','getColor','updateOfflineData','_initStatusListener','getOffsetConfig','CollaborationUIEventService','univerjs-icon\x20univerjs-icon-','TEXT','SheetsSelectionsService','currentTheme$','CollaborationDataLoaderController','registerComponent','from','defs','includes','[RemoteUniscriptService]:\x20no\x20focused\x20unit','sessionStatus$','_docStateChangeManagerService','session.collaboration-timeout','m2Prime','UniverProCollaborationClient','mergeOverrideWithDependencies','throttleTime','some','_init','_themeService','add','collabStatus.conflict','SUBMIT_CHANGESET_TIMEOUT','_docSkeleton','@univerjs/engine-render','_backgroundColor','replace','handleIRemoveCol','collab-client.tooltip.reconnect','href','permission.title','_docClipboardService','YUUMI_RATE_OVER_LIMIT','backgroundColor','UNDEFINED','AWAITING','SetWorksheetActivateCommand','status$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','subUnitId','_syncEditingCollabCursorService','startRow','setAlpha','registerBeforeClose','icon','Subject','CollaborationStatusDisplay','findNodePositionByCharIndex','_roomMembers$','_handleLeaveEvent','CollaborationController','takeUntil','show','url(#on-line-single_clip0_910_349)','jsxs','tag','VIEW_MAIN','eventID','441aLzgQu','onCommandExecuted','evenodd','YUUMI_UNABLE_LOAD_URL','size','debounce','NodePositionConvertToRectRange','_removeClearOtherTimer','arc','React','Unknown\x20user','_selfUnitIDs','requireSession','CollaborationStatus','unshift','delete','getDocRanges','executionId','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','restore','SNAPSHOT_INVALID_SNAPSHOT','APPLY_REJECT','_sheetSkeletonManagerService','UniverInstanceType','subscribeEvent','_handleJoinEvent','APPLY_REVISION_CONFILICT','verdancy600','ranges','fillText','getRelativeToViewportCoord','_draw','@univerjs/engine-formula','2eBpBOl','UniverDocsUi','call','dispose','svg','clsx','path','combineLatest','getActiveRange','FETCH_MISS','_initEntityListener','jiqing500','getTypeOfUnitDisposed$','translate(.97)','defineProperty','_scheduleClearOtherTimer','url(#$1','startsWith','handleDeleteRangeMoveLeft','_updateCollabCursors','_ensureSubject','_refreshCollabCursors','_scene','roomMembers','values','onlineStatus','CollaborationUIEventId','_localStorageService','LocaleService','range','_toggleOnline','handleInsertCol','CHANGESET_REVISION_CONFILICT','getCurrentRevOfUnit','@univerjs/sheets','TOO_MANY_REQUESTS','_configService','ILogService','onTransformChange$','mutations','M0\x200H16V16H0z','onStarting','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','syncEditingCollabCursor','className','_docSkeletonManagerService','UNAUTHENTICATED','_beforeCloseService','sheetID','ISocketService','SOCKET_FAILED','save','_refRangeService','with','wsSessionTicketUrl','_removeCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','getOwnPropertySymbols','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentUnitForType','selection','BuiltInUIPart','imageSourceType','OTHER_CLIENT_EDITING','search','IMessageService','0\x200\x2016\x2016','addObject','_notificationService','collabStatus.fetchMiss','data','UniverCollaborationClientUIPlugin','DEFAULT_WS_SESSION_TICKET_URL','lineTo','operators','IUniverInstanceService','find','_context','UniverCollaborationClientPlugin','measureText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','history','disableLocalCache','contains','_memberService','unitID','ONLINE','transformRemoteChangeset','_drawTextRange','body','_scheduleSaving','498132VbOfRo','ILocalStorageService','makeDirty','_anchor','createElement','PERMISSION_DENIED','getOwnPropertyDescriptor','getCollabEntity$','6236112wiDiDB','popstate','send','@univerjs/rpc','collabStatus.offline','serializeRangeWithSheet','OTHER_CLIENTS_EDITING','Injector','_createSocketURL','loadUnit','handleInsertRow','random','stringify','length','ALREADY_EXISTS','69707WwsbDw','registerDependencies','setItem','setInterval','656872vJsmbx','setStateCache','currentColor','getCurrentSelections','switchMap','_saveCache','deepClone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','WebBrowserSingleActiveUnitService','react','getValue','DesktopCollaborationStatusDisplayController','@univerjs/docs-ui','mapTo','subunit','fillRule','getActiveSheet','subscribe','_drawRectRange','hide','univer-online-status-title','_revisionService','currentSkeleton$','_onCursorDelete','cursorInfo$','div','_doCreateSocket','_registerRenderDependencies','runId','exhaustSavingTask','sheetId','DocIMEInputManagerService','Plugin','UniverEngineFormula','_uiPartsService','function','defIds','handleIRemoveRow','_textBubble','urlChange$','onLocalMutation','ENSURE_SNAPSHOT_EXECUTION','red300','override','CONNECTOR_DATA_TOO_LARGE','error','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','BrowserCollaborationSocketService','debug','collab-text-anchor-','_heartbeatTimer','UNIVER_SHEET','debounceTime','unsubscribe','SetDocZoomRatioOperation','transformStateCache','collab-rect-range-','Error','toRgbString','IRenderManagerService','SessionStatus','fillStyle','online','_hideTimer','rxjs','isArray','FromArray','generateRandomId','memberID','WebURLService','_onRefRangeChange','RECT','m1Prime','transform','xlink:href','InsertColCommandId','unitId','_logService','useDependency','INVALID_ARGUMENT','AWAITING_WITH_PENDING','UniverProCollaboration','addHandlerCallback','ThemeService','NOT_COLLAB','saveTaskMap','setActiveRange','DocSelectionManagerService','set','focused$','setConfig','getFocusedUnit','Rectangle','getMemberID','saveImage','SetSelectionsOperation','complete','InsertRangeMoveDownCommandId','CollaborationSessionService','displayName','_scheduleHeartbeat','_id','_instanceService','_messageService','MessageType','runRefRangeMutations','_collaborationUIEventService','getTypeOfUnitAdded$','pluginName','whenReady','_range','prototype','3930cBuMPp','then','UniverIcon','session.will-retry','createInstance','onlineStatusIcon','#fff','univer-online','_cursorInfo$','_dataLoaderService','font','HTTPService','LOCAL_CACHE_INTERVAL','onPointerLeave$','object','map','_setupSubUnitSync','clearInterval','UniverNetwork','getUnitId','drawWith','fill','registerRenderModule','startColumn','BehaviorSubject','@univerjs/ui','TEXT_RANGE_LAYER_INDEX','toString','uni.network.url-service','@univerjs/design','skeleton','handleInsertRangeMoveDown','_eventUnsubscribe','text','top','_cachedData','triggerDblclick','_initEvent','ILocalCacheService','_updateLocalCursor','@univerjs-pro/collaboration-client','amd','ISnapshotServerService','25CjwQZm','SetTextSelectionsOperation','sessionTicket','YUUMI_SUBSCRIPTION_NOT_FOUND','idSuffix','OffLineSingle','handleDeleteRangeMoveUp','_unitOnClients','@univerjs/core','onPointerEnter$','endRow','collaboration-client.offline-data-not-saved','_transformUndoRedoStack','_getSessionTicket','UniverProCollaborationClientUi','_startDocCollabCursor','useRef','NO_OTHER_CLIENTS_EDITING','ColorKit','EffectRefRangId','RichTextEditingMutation','isTransformMutationsWithChangesetSuccess','_entities','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_setupBeforeClosingHandler','UniverDocs','INotificationService','_collaborationController','IURLService','UNRECOGNIZED','get','resize','collab-text-range-','MemberService','getSheetBySheetId','isActive','searchParams','closePath','collabStatus.notCollab','_collabSessionService','undoState','_transformHistoryAndStateStack','_docSyncEditingCollabCursorService','0\x200\x2017\x2016','_drawAnchor','setParam','toDisposable','getConfig','endColumn','_send','UniverSheets','invokeId','name','extend','UnitStatus','forwardRef','_updateSubUnitFromURLParams','ticket','_getAnchorBounding','_initCommandExecutedListener','INTERNAL_ERROR','code','JOIN_ROOM_FAILED','CollaborationSocketService','getRenderById','YUUMI_URL_COL_OUT_OF_RANGE'];_0x2924=function(){return _0x561871;};return _0x2924();}
|
|
1
|
+
function _0x21e0(_0x5f50b2,_0xfe0f18){const _0xade9a8=_0xade9();return _0x21e0=function(_0x21e079,_0x1e31a2){_0x21e079=_0x21e079-0x1b4;let _0x66636a=_0xade9a8[_0x21e079];return _0x66636a;},_0x21e0(_0x5f50b2,_0xfe0f18);}function _0xade9(){const _0x109e93=['transformStateCache','_logService','getActiveSheet','location','size','searchParams','ColorKit','_docSkeletonManagerService','saveTaskMap','activeSheet$','getSheetObject','parse','_cursors','enableLocalCache','HTTPService','children','getSheetBySheetId','IImageIoService','_labelPosition','concat','mapTo','add','symbol','DisposableCollection','_draw','sessionStatus$','top','IMessageService','@univerjs/sheets-ui','div','_docTransformStateCacheService','pluginName','cursorInfo$','_transformUndoRedoStack','InsertRangeMoveRightCommandId','save','_id','PY_RUNTIME_SCRIPT_ERROR','_backgroundColor','_getAnchorBounding','YUUMI_URL_COL_OUT_OF_RANGE','_docStateChangeManagerService','drawWith','wsSessionTicketUrl','onlineStatusTitle','trim','_drawRectRange','map','getStateCache','UnitStatus','search','findNodePositionByCharIndex','TEXT','createInstance','_docClipboardService','get','ISocketService','setTimeout','_transformHistoryAndStateStack','substring','EffectRefRangId','react/jsx-runtime','purple300','NOT_COLLAB','onPointerEnter$','@univerjs/engine-render','_anchor','MoveRangeCommandId','OTHER_CLIENT_EDITING','fill','event$','_color','getValue','ThemeService','touchDependencies','INVALID_ARGUMENT','unshift','_injector','DocCollaborationEntity','gold400','triggerDblclick','getColor','ranges','assign','_status$','collaboration-client-ui.config','LICENSE_MAX_UNITS_EXCEEDED','collab-text-anchor-','path','_localStorageService','Tools','_entityInit$','univer-online-status','20rPqskf','FromArray','key','makeDirty','M0\x200H16V16H0z','Rect','measureText','Failed','storage','startColumn','UniverSheetsUi','_docSyncEditingCollabCursorService','removeParam','_ensureSubject','clipPath','TOO_MANY_REQUESTS','_refRangeService','IConfigService','unit','getMember','28502yIAbei','code','connectInjector','error','getMergeData','prototype','result','NOT_FOUND','arc','_lastPointer','next','_shapes','TEXT_RANGE_LAYER_INDEX','UniverNetwork','SetWorksheetActivateCommand','show','_onCursorUpdate','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_registerRenderDependencies','UNIVER_SHEET','transformMutation','getVpScrollXYInfoByPosToVp','rxjs','[CollaborationDataLoaderController]','setShapeProps','BuiltInUIPart','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetCollabCursorShape','requireSession','isTransformMutationsWithChangesetSuccess','_colorAssignService','ACTIVE_UNIT_EVENT_CHANNEL','getAncestorScale','getItem','getLocalCacheKey','_selfUnitIDs','@univerjs/core','name','_collabSessionService','_hovered','_init','_uiPartsService','currentTheme$','UniverEngineRender','isTransformMutationFailure','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','_httpService','defs','executeCommand','_sheetSkeletonManagerService','whenReady','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','4201065CCrBKQ','transformRemoteChangeset','PENDING','session.connection-failed','disposeWithMe','_anchorDot','height','then','_docTransformSelectionsService','_memberService','CollaborationController','fromEventSubject','_cachedData','getParam','string','_collabCursorState$','getSheetId','SheetSkeletonManagerService','_messageService','stringify','mutations','NodePositionConvertToCursor','getOwnPropertyDescriptor','1203456iBJqSS','runOnServer','attrs','toString','setConfig','getFocusedUnit','@univerjs/design','@univerjs/sheets','_createSocketURL','_entities','_beforeCloseService','LOCAL_CACHE_INTERVAL','useObservable','values','UNDEFINED','YUUMI_UNABLE_LOAD_URL','registerRefRange','_getSaveTimeout','range','SetSelectionsOperation','getRelativeToViewportCoord','bottom','useDependency','_hover','_handleHeartbeatEvent','_imageIoService','onStarting','@univerjs-pro/collaboration','beginPath','OnLineSingle','clsx','@univerjs/engine-formula','registerBeforeClose','selection','_urlService','replaceState','toDisposable','getCollabCursors$','_online','YUUMI_RATE_OVER_LIMIT','debug','complete','WebSocketService','isEditing','fromEvent','SNAPSHOT_INVALID_SNAPSHOT','univer-online-status-title','post','url(#on-line-single_clip0_910_349)','CHANGESET_REVISION_CONFILICT','replace','VIEW_MAIN','#fff','_hideTimer','serializeRangeWithSheet','addEventListener','Unknown\x20user','getViewport','subscribeEvent','_name','generateRandomId','length','Vector2','_handleJoinEvent','mask','_scene','_setupSubUnitSync','LocaleService','toStringTag','engine','transformMutationsWithChangeset','_session','CollaborationStatus','setParam','transformIMECache','_setupBeforeClosingHandler','collab-text-range-','memberID','onLocalMutation','collabCursorState$','init','collabStatus.syncing','_handleHover','getCollabEntity$','switchMap','href','registerComponent','SYNCED','focused$','_getSessionTicket','handleInsertRangeMoveRight','getUnhiddenWorksheets','sheetID','_getScale','createElement','history','DeleteRangeMoveUpCommandId','AWAITING_WITH_PENDING','INTERNAL_ERROR','getCurrent','className','selections','UniverDocsUi','collabStatus.fetchMiss','setAlpha','clearTimeout','body','round','RxDisposable','_initDependencies','on-line-single_clip0_910_349','UniverProCollaborationClientUi','BrowserCollaborationSocketService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','WebURLService','transformByState','m2Prime','_drawTextRange','getTypeOfUnitAdded$','svg','idSuffix','_drawAnchor','UniverCollaborationClientPlugin','deserializeRangeWithSheet','runRefRangeMutations','_scheduleHeartbeat','hovered','handleMoveRange','sessionTicket','unitID','48lPhnbU','defineProperty','_textBubble','BehaviorSubject','CLOSE_ROOM','from','_initEvent','_notificationService','_startSheetCollabCursor','onRendered','78HuzqNC','_revisionService','_initCommandExecutedListener','UniverProCollaborationClient','call','_saveCache','push','ITransformService','CommandType','_cursorInfo$','loadOfflineData','handleDeleteRangeMoveUp','_send','SNAPSHOT_HAS_BEEN_REMOVED','verdancy600','online','executionId','flatMap','pushState','runId','Disposable','contains','ISnapshotServerService','disposeUnit','ILocalCacheService','InsertColCommandId','handleInsertRow','currentSkeleton$','merge','APPLY_NON_SEQUENTIAL_REVISION','amd','collabStatus.conflict','saveOfflineData','undoState','ICommandService','createSocket','handleInsertCol','_document','collab-client.tooltip.reconnect','getDocRanges','offline','assignAColorForMemberID','NodePositionConvertToRectRange','_onCursorDelete','_renderManagerService','none','DocSelectionManagerService','eventID','blue400','_commandService','collabStatus.notCollab','color','_assignedColors','@univerjs/ui','propertyIsEnumerable','black','registerRenderModule','resize','random','dispose$','getUndoRedoMutationParamsCache','invokeId','UniverUi','addHandlerCallback','_updateURLWithCurrentState','_range','@univerjs/docs','disableLocalCache','clearInterval','takeUntil','5232fzyDLm','_univerInstanceService','PERMISSION_DENIED','unload','includes','entityInit$','_toggleOnline','getUnitId','handleDeleteRangeMoveLeft','exports','DeleteRangeMoveLeftCommandId','ENSURE_SNAPSHOT_EXECUTION','translate(.97)','_handleEvent','UPDATE_CURSOR','RemoteUniscriptService','use','_context','onlineStatus','SHEET_VIEWPORT_KEY','debounceTime','INotificationService','all','HEADER_MENU','some','fillStyle','getCoordByCell','APPLY_REVISION_CONFILICT','_transformService','CollaborationUIEventId','cursorInfo','OFFLINE','currentColor','origin','Plugin','OTHER_CLIENTS_EDITING','UniverRpc','distinctUntilChanged','rxjs/operators','UniverInstanceType','deepClone','handleInsertRangeMoveDown','325KbvYEG','registerDependencies','MemberService','debounce','CONFLICT','lineTo','setItem','_handleLeaveEvent','on-line-single','evenodd','find','imageSourceType','createIdentifier','_instanceService','_heartbeatTimer','_disabled','SessionStatus','url(#$1','CollaborationSessionService','hasOwnProperty','DocSkeletonManagerService','redoState','_localCacheService','isActive','@univerjs-pro/collaboration-client','min','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OffLineSingle','APPLY_PERMISSION_DENIED','UNAUTHENTICATED','off-line-single_clip0_910_343','split','addClipboardHook','ILogService','_startDocCollabCursor','startsWith','moveTo','data','getCurrentSelections','collaboration.single-unit.warning','CollaborationStatusDisplay','permission.title','UNIVER_DOC','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getTypeOfUnitDisposed$','/run/','SheetsSelectionsService','_updateCollabCursors','USERS_LEAVE','updateOfflineData','m1Prime','url(#off-line-single_clip0_910_343)','restore','isArray','LOCAL_CACHE_INTERVAL_KEY','SOCKET_FAILED','_eventUnsubscribe','DocIMEInputManagerService','source','toRgbString','getConfig','fillText','DesktopCollaborationStatusDisplayController','object','_initResize','1em','params','IBeforeCloseService','52134LQxOeJ','CollaborationDataLoaderController','Inject','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','icon','RichTextEditingMutation','session.collaboration-timeout','handleIRemoveCol','delete','current','send','urlChange$','univer-flex\x20univer-items-center','colorChannel1','InsertRowCommandId','_config','_getMergeRange','LICENSE_IMPORT_SIZE_EXCEEDED','indexOf','useRef','doc.mutation.rich-text-editing','@univerjs/docs-ui','roomMembers','MessageType','_transformPreviousActiveRange','ILocalStorageService','subUnitId','_localeService','dispose','_roomMembers$','_docTransformIMECacheService','React','onPointerLeave$','_clearOtherTimers','Workbook','function','_collabCursorController','getRenderById','LICENSE_EXPORT_SIZE_EXCEEDED','collab-rect-range-','_registerDependencies','endColumn','@univerjs/drawing','operators','DOC_RANGE_TYPE','row','text','setStateCache','onCommandExecuted','xlink:href','_unitOnClients','pipe','...','Injector','_onRefRangeChange','_colorIndex','CONNECTOR_DATA_TOO_LARGE','CollaborationUIEventService','throttleTime','useCallback','entries','univer-online-status-icon','ONLINE','_cursorShapes','getOwnPropertySymbols','_initStatusListener','forEach','collaboration.closeRoom','subscribe','unitId','unsubscribe','with','@univerjs/rpc','_initEntityListener','tag','getRangePointData','FETCH_MISS','setActiveRange','_collaborationController','_updateSubUnitFromURLParams','RECT','UniverDrawing','IUniverInstanceService','IURLService','closePath','syncEditingCollabCursor','ticket','UniverCore','351954NwyyqO','_unitStatus','session.will-retry','getCellPositionByOffset','UniverProCollaboration','onMouseMove','asObservable','_updateLocalCursor','UNRECOGNIZED','_themeService','addObject','9695FmjXgJ','Warning','has','_getSheetObject','APPLY_DUPLICATED','font','_removeCollabCursors','saveImage','_refreshCollabCursors','transformSelections','set','column','IDocClipboardService','rgba(255,\x20255,\x20255,\x200.01)','Error','getUnitStatus$','104248oKlYVZ','CollaborationEvent','@univerjs/network','filter','width','_saveTaskMap','collabStatus.synced','apply','_dataLoaderService','subunit','textRanges','getUniverSheetInstance','YUUMI_SUBSCRIPTION_NOT_FOUND','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','DEFAULT_WS_SESSION_TICKET_URL','mergeOverrideWithDependencies','SUBMIT_CHANGESET_TIMEOUT','MUTATION','DependentOn','UniverDocs','_scheduleClearOtherTimer','type','exhaustSavingTask','forwardRef','application/json','fillRule','jsx','_scheduleSaving','COLORS','defIds','_cursor','Tooltip','_toggleOffline','AWAITING','permission.content','react','jiqing500','_render','displayName','getCurrentRevOfUnit','_collaborationUIEventService','sheetId','setUndoRedoMutationParamsCache','Rectangle','RemoveRowCommandId','APPLY_REJECT','_syncEditingCollabCursorService','docStateChange$','_configService','Shape','addObjects','onPointerMove$','UniverCollaborationClientUIPlugin','_removeClearOtherTimer'];_0xade9=function(){return _0x109e93;};return _0xade9();}(function(_0x509cf0,_0x44a1f8){const _0x20247a=_0x21e0,_0x2cf9aa=_0x509cf0();while(!![]){try{const _0x2bb42a=parseInt(_0x20247a(0x404))/0x1*(parseInt(_0x20247a(0x337))/0x2)+parseInt(_0x20247a(0x40e))/0x3*(parseInt(_0x20247a(0x290))/0x4)+parseInt(_0x20247a(0x1d9))/0x5*(-parseInt(_0x20247a(0x21d))/0x6)+-parseInt(_0x20247a(0x280))/0x7*(parseInt(_0x20247a(0x454))/0x8)+-parseInt(_0x20247a(0x275))/0x9+-parseInt(_0x20247a(0x323))/0xa*(-parseInt(_0x20247a(0x36b))/0xb)+-parseInt(_0x20247a(0x382))/0xc;if(_0x2bb42a===_0x44a1f8)break;else _0x2cf9aa['push'](_0x2cf9aa['shift']());}catch(_0x5b8b62){_0x2cf9aa['push'](_0x2cf9aa['shift']());}}}(_0xade9,0x7ddc1),function(_0x1754f6,_0x33ee5e){const _0x155a7d=_0x21e0;typeof exports==_0x155a7d(0x218)&&typeof module<'u'?_0x33ee5e(exports,require(_0x155a7d(0x1f1)),require(_0x155a7d(0x35b)),require(_0x155a7d(0x307)),require('@univerjs/network'),require(_0x155a7d(0x232)),require(_0x155a7d(0x247)),require(_0x155a7d(0x34d)),require(_0x155a7d(0x450)),require(_0x155a7d(0x39d)),require(_0x155a7d(0x3a1)),require('@univerjs/sheets'),require('rxjs/operators'),require(_0x155a7d(0x2e2)),require('react/jsx-runtime'),require(_0x155a7d(0x443)),require(_0x155a7d(0x388)),require(_0x155a7d(0x2b3)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x155a7d(0x42c)]?define([_0x155a7d(0x1b8),_0x155a7d(0x1f1),_0x155a7d(0x35b),_0x155a7d(0x307),_0x155a7d(0x292),_0x155a7d(0x232),_0x155a7d(0x247),_0x155a7d(0x34d),'@univerjs/docs','@univerjs-pro/collaboration',_0x155a7d(0x3a1),_0x155a7d(0x389),_0x155a7d(0x1d5),_0x155a7d(0x2e2),_0x155a7d(0x303),_0x155a7d(0x443),'@univerjs/design','react',_0x155a7d(0x265)],_0x33ee5e):(_0x1754f6=typeof globalThis<'u'?globalThis:_0x1754f6||self,_0x33ee5e(_0x1754f6[_0x155a7d(0x3f1)]={},_0x1754f6[_0x155a7d(0x411)],_0x1754f6[_0x155a7d(0x274)],_0x1754f6[_0x155a7d(0x362)],_0x1754f6[_0x155a7d(0x344)],_0x1754f6[_0x155a7d(0x3e8)],_0x1754f6[_0x155a7d(0x26e)],_0x1754f6[_0x155a7d(0x34d)],_0x1754f6[_0x155a7d(0x2a3)],_0x1754f6[_0x155a7d(0x279)],_0x1754f6['UniverEngineFormula'],_0x1754f6['UniverSheets'],_0x1754f6[_0x155a7d(0x34d)][_0x155a7d(0x248)],_0x1754f6[_0x155a7d(0x32d)],_0x1754f6[_0x155a7d(0x23c)],_0x1754f6[_0x155a7d(0x44c)],_0x1754f6['UniverDesign'],_0x1754f6[_0x155a7d(0x23c)],_0x1754f6[_0x155a7d(0x1d3)]));}(this,function(_0x33bede,_0x27a090,_0x1dbd07,_0x32562c,_0x151a90,_0xae662a,_0x85201f,_0x2f5231,_0xb0690a,_0x84ca95,_0x32e977,_0x20ef79,_0x58bf80,_0x2edf0b,_0x568adf,_0x10c440,_0x35f834,_0x4888b4,_0x13ace6){'use strict';const _0x16274f=_0x21e0;var _0x216bf8=Object[_0x16274f(0x405)],_0x5e2e7f=(_0x2ac628,_0x4a1a62,_0x25de9e)=>_0x4a1a62 in _0x2ac628?_0x216bf8(_0x2ac628,_0x4a1a62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25de9e}):_0x2ac628[_0x4a1a62]=_0x25de9e,_0x128bdb=(_0x11edcf,_0x3b4f85,_0x4a8764)=>_0x5e2e7f(_0x11edcf,typeof _0x3b4f85!=_0x16274f(0x2dc)?_0x3b4f85+'':_0x3b4f85,_0x4a8764),_0x2917a7=Object[_0x16274f(0x381)],_0x2dc193=(_0x56d084,_0x45b0c0,_0x2d5268,_0x14154a)=>{const _0x359263=_0x16274f;for(var _0x18929d=_0x14154a>0x1?void 0x0:_0x14154a?_0x2917a7(_0x45b0c0,_0x2d5268):_0x45b0c0,_0x1b344a=_0x56d084[_0x359263(0x3bf)]-0x1,_0x576134;_0x1b344a>=0x0;_0x1b344a--)(_0x576134=_0x56d084[_0x1b344a])&&(_0x18929d=_0x576134(_0x18929d)||_0x18929d);return _0x18929d;},_0x2db6f6=(_0x179a4e,_0xda0f04)=>(_0x503dfc,_0x14e0a8)=>_0xda0f04(_0x503dfc,_0x14e0a8,_0x179a4e);let _0x681537=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x35a1a7,_0x3ec1f0){const _0x14f7f6=_0x16274f;super(),this[_0x14f7f6(0x2fc)]=_0x35a1a7,this[_0x14f7f6(0x39b)]=_0x3ec1f0,this[_0x14f7f6(0x35f)]();}[_0x16274f(0x35f)](){const _0x3638b5=_0x16274f,_0x543017=this;this['disposeWithMe'](this[_0x3638b5(0x2fc)][_0x3638b5(0x1f9)]({'onBeforePasteImage':async _0x576f55=>{const _0x30daa9=_0x3638b5,_0x4bc8c3=await _0x543017['_imageIoService'][_0x30daa9(0x287)](_0x576f55);return _0x4bc8c3?{'source':_0x4bc8c3[_0x30daa9(0x213)],'imageSourceType':_0x4bc8c3[_0x30daa9(0x1e4)]}:null;}}));}};_0x681537=_0x2dc193([_0x2db6f6(0x0,_0xae662a[_0x16274f(0x28c)]),_0x2db6f6(0x1,_0x85201f[_0x16274f(0x2d7)])],_0x681537);const _0x1b7adc=[_0x16274f(0x304),_0x16274f(0x2b4),_0x16274f(0x41c),'red300',_0x16274f(0x43e),_0x16274f(0x315)];class _0x57d318 extends _0x1dbd07[_0x16274f(0x422)]{constructor(){const _0x5856a0=_0x16274f;super(...arguments),_0x128bdb(this,_0x5856a0(0x442),new Map()),_0x128bdb(this,_0x5856a0(0x254),0x0);}[_0x16274f(0x437)](_0x1ee5ab){const _0x1b215e=_0x16274f;if(this[_0x1b215e(0x442)]['has'](_0x1ee5ab))return this[_0x1b215e(0x442)][_0x1b215e(0x2fd)](_0x1ee5ab);const _0x4a40bc=_0x1b7adc[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x1b7adc[_0x1b215e(0x3bf)],this['_assignedColors'][_0x1b215e(0x28a)](_0x1ee5ab,_0x4a40bc),_0x4a40bc;}}function _0x1956ee(_0x16e078){const _0x1b84f6=_0x16274f;let _0x507994='';for(const _0x4bf489 of _0x16e078){const {startOffset:_0x554981,endOffset:_0x53214e,isActive:_0x5b4fa1,rangeType:_0x562672,segmentId:_0x427ec8,segmentPage:_0xa5fde6}=_0x4bf489;_0x507994[_0x1b84f6(0x3bf)]&&(_0x507994+=','),_0x507994+=_0x554981+':'+_0x53214e+':'+(_0x5b4fa1?'1':'0')+':'+_0x562672+':'+_0x427ec8+':'+_0xa5fde6;}return _0x507994;}function _0x22267f(_0x329f10){const _0x1fc886=_0x16274f,_0x3986db=_0x329f10['split'](','),_0x4d68ac=[];for(const _0xe058e7 of _0x3986db){const [_0x508791,_0x567fc4,_0x470180,_0x324181,_0x539953,_0x8eb6c3]=_0xe058e7[_0x1fc886(0x1f8)](':');_0x4d68ac['push']({'startOffset':Number(_0x508791),'endOffset':Number(_0x567fc4),'collapsed':_0x508791===_0x567fc4,'isActive':_0x470180==='1','rangeType':_0x324181===_0x1dbd07['DOC_RANGE_TYPE'][_0x1fc886(0x2fa)]?_0x1dbd07['DOC_RANGE_TYPE'][_0x1fc886(0x2fa)]:_0x1dbd07[_0x1fc886(0x249)][_0x1fc886(0x26d)],'segmentId':typeof _0x539953==_0x1fc886(0x379)?String(_0x539953):'','segmentPage':Number(_0x8eb6c3!=null?_0x8eb6c3:-0x1)});}return _0x4d68ac[_0x1fc886(0x1c7)](_0xb8574c=>_0xb8574c[_0x1fc886(0x1f0)])||(_0x4d68ac[0x0][_0x1fc886(0x1f0)]=!0x0),_0x4d68ac;}class _0x20d9aa extends _0x1dbd07['RxDisposable']{constructor(){const _0x78a615=_0x16274f;super(...arguments),_0x128bdb(this,_0x78a615(0x37a),new _0x2f5231[(_0x78a615(0x407))](null)),_0x128bdb(this,_0x78a615(0x3d1),this[_0x78a615(0x37a)][_0x78a615(0x27b)]());}[_0x16274f(0x272)](_0x4e0c5c){const _0x50381c=_0x16274f,{unitID:_0x18158c,memberID:_0x32c29a,textRanges:_0x201592}=_0x4e0c5c,_0x12a071=_0x1956ee(_0x201592);if(_0x12a071==='')return;const _0x419282={'unitID':_0x18158c,'memberID':_0x32c29a,'selection':_0x12a071};this[_0x50381c(0x37a)][_0x50381c(0x341)](_0x419282);}}var _0x1ffe34=Object[_0x16274f(0x381)],_0x2e5e68=(_0x2ccd99,_0x9ef08f,_0x420568,_0x27f54a)=>{for(var _0x50e1c8=_0x27f54a>0x1?void 0x0:_0x27f54a?_0x1ffe34(_0x9ef08f,_0x420568):_0x9ef08f,_0x52874d=_0x2ccd99['length']-0x1,_0x37d6ba;_0x52874d>=0x0;_0x52874d--)(_0x37d6ba=_0x2ccd99[_0x52874d])&&(_0x50e1c8=_0x37d6ba(_0x50e1c8)||_0x50e1c8);return _0x50e1c8;},_0x5b0a1f=(_0x59f552,_0x5e0bcb)=>(_0x56b0d7,_0x3faf54)=>_0x5e0bcb(_0x56b0d7,_0x3faf54,_0x59f552);const _0x5907c8=0x12c,_0x36ee06=0x64;let _0x2bef98=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x28c5e6,_0x19004a,_0xbcde12,_0x249640,_0x984d18,_0xa6fc00,_0x361ff3,_0x3538af,_0x1295a2){const _0x51f99b=_0x16274f;super(),_0x128bdb(this,_0x51f99b(0x3a8),!0x1),_0x128bdb(this,_0x51f99b(0x35f),!0x1),_0x128bdb(this,_0x51f99b(0x417),new _0x2f5231[(_0x51f99b(0x407))](new Map())),_0x128bdb(this,_0x51f99b(0x2e6),this[_0x51f99b(0x417)][_0x51f99b(0x27b)]()),_0x128bdb(this,'_roomMembers$',new _0x2f5231[(_0x51f99b(0x407))]([])),_0x128bdb(this,'roomMembers$',this[_0x51f99b(0x23a)][_0x51f99b(0x250)](_0x2f5231[_0x51f99b(0x1c3)](_0x5907c8))),_0x128bdb(this,_0x51f99b(0x27c),_0x1dbd07[_0x51f99b(0x1dc)](_0x50177d=>{const _0x3314e6=_0x51f99b,_0x3fd24c={'eventID':_0x84ca95[_0x3314e6(0x291)][_0x3314e6(0x1bd)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x1956ee(_0x50177d)}};this[_0x3314e6(0x3c9)]['send'](_0x3fd24c,this[_0x3314e6(0x403)]);},_0x36ee06)),(this['unitID']=_0x28c5e6,this[_0x51f99b(0x3c9)]=_0x19004a,this[_0x51f99b(0x313)]=_0xbcde12,this[_0x51f99b(0x355)]=_0x249640,this['_memberService']=_0x984d18,this[_0x51f99b(0x2be)]=_0xa6fc00,this['_transformService']=_0x361ff3,this[_0x51f99b(0x455)]=_0x3538af,this['_commandService']=_0x1295a2);}get[_0x16274f(0x1cd)](){const _0x57aeed=_0x16274f;return this['_cursorInfo$'][_0x57aeed(0x30e)]();}get[_0x16274f(0x233)](){const _0x4cf1a5=_0x16274f;return this[_0x4cf1a5(0x23a)][_0x4cf1a5(0x30e)]();}[_0x16274f(0x239)](){const _0x3e27f8=_0x16274f;super[_0x3e27f8(0x239)](),this[_0x3e27f8(0x417)][_0x3e27f8(0x341)](new Map()),this[_0x3e27f8(0x417)]['complete'](),this['_roomMembers$']['next']([]),this[_0x3e27f8(0x23a)]['complete']();}['init'](){const _0x5c6de6=_0x16274f;this['_init']||(this[_0x5c6de6(0x35f)]=!0x0,this[_0x5c6de6(0x3c9)][_0x5c6de6(0x2df)][_0x5c6de6(0x250)](_0x2f5231[_0x5c6de6(0x453)](this[_0x5c6de6(0x449)]))[_0x5c6de6(0x261)](_0x5bad23=>{const _0x5443f9=_0x5c6de6;_0x5bad23===_0x27a090[_0x5443f9(0x1e9)][_0x5443f9(0x25b)]?this['_toggleOnline']():this[_0x5443f9(0x2b0)]();}),this[_0x5c6de6(0x3c9)]['event$'][_0x5c6de6(0x250)](_0x2f5231[_0x5c6de6(0x453)](this[_0x5c6de6(0x449)]))['subscribe'](_0x4b8eed=>{const _0x42dd96=_0x5c6de6,_0x4b52f4=_0x4b8eed[_0x42dd96(0x43d)];_0x4b52f4===_0x84ca95[_0x42dd96(0x291)][_0x42dd96(0x1bd)]&&this[_0x42dd96(0x347)](_0x4b8eed),_0x4b52f4===_0x84ca95[_0x42dd96(0x291)][_0x42dd96(0x209)]&&this['_onCursorDelete'](_0x4b8eed);}),this[_0x5c6de6(0x36f)](this[_0x5c6de6(0x43f)][_0x5c6de6(0x24d)](_0x5f4846=>{const _0x20b920=_0x5c6de6,_0x1d4f13=_0x5f4846[_0x20b920(0x21b)];_0x1d4f13!=null&&this[_0x20b920(0x3a8)]&&_0x5f4846['id']===_0xb0690a['SetTextSelectionsOperation']['id']&&_0x1d4f13[_0x20b920(0x262)]===this[_0x20b920(0x403)]&&_0x1d4f13[_0x20b920(0x3ad)]===!0x1&&_0x1d4f13[_0x20b920(0x318)]['length']>0x0&&this[_0x20b920(0x27c)](_0x1d4f13[_0x20b920(0x318)]);})),this[_0x5c6de6(0x2be)][_0x5c6de6(0x3d1)][_0x5c6de6(0x250)](_0x2f5231[_0x5c6de6(0x453)](this['dispose$']))[_0x5c6de6(0x261)](_0xf02634=>{const _0x1e736e=_0x5c6de6;if((_0xf02634==null?void 0x0:_0xf02634['unitID'])!==this[_0x1e736e(0x403)])return;const _0x2ace22={'eventID':_0x84ca95[_0x1e736e(0x291)][_0x1e736e(0x1bd)],'data':_0xf02634};this[_0x1e736e(0x347)](_0x2ace22);}),this['disposeWithMe'](this[_0x5c6de6(0x43f)][_0x5c6de6(0x24d)](_0x388591=>{const _0x54c9c8=_0x5c6de6;if(_0x388591['params']==null)return;const _0x1a0052=_0x388591[_0x54c9c8(0x21b)];if(_0x388591['id']!==_0xb0690a[_0x54c9c8(0x222)]['id']||_0x1a0052[_0x54c9c8(0x262)]!==this[_0x54c9c8(0x403)])return;const _0x197233={'id':_0x54c9c8(0x231),'params':_0x1a0052},_0x18d412=this[_0x54c9c8(0x1cd)];for(const [_0x2ab632,_0x3ca1cc]of _0x18d412){const _0x4fcf05={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x54c9c8(0x403)],'actions':null,'textRanges':_0x3ca1cc[_0x54c9c8(0x318)]}},_0x4f3d6d=this['_transformService'][_0x54c9c8(0x34b)](_0x197233,_0x4fcf05,!0x1);if(_0x84ca95[_0x54c9c8(0x363)](_0x4f3d6d))throw _0x4f3d6d['error'];_0x18d412[_0x54c9c8(0x28a)](_0x2ab632,{..._0x3ca1cc,'ranges':_0x4f3d6d['m2Prime'][_0x54c9c8(0x21b)][_0x54c9c8(0x29a)]});}queueMicrotask(()=>{const _0x2ff914=_0x54c9c8;this[_0x2ff914(0x417)][_0x2ff914(0x341)](_0x18d412);});})));}[_0x16274f(0x347)](_0x460cf6){const _0x1cebae=_0x16274f;var _0x383022,_0x1a7df9;const {memberID:_0x57eea7,selection:_0x51ba7a}=_0x460cf6[_0x1cebae(0x1fe)],_0x2f6a29=_0x22267f(_0x51ba7a),_0x214f54=(_0x1a7df9=(_0x383022=this[_0x1cebae(0x374)][_0x1cebae(0x336)](this[_0x1cebae(0x403)],_0x57eea7))==null?void 0x0:_0x383022[_0x1cebae(0x35c)])!=null?_0x1a7df9:'Unknown\x20user',_0x9ded54={'color':this[_0x1cebae(0x355)][_0x1cebae(0x437)](_0x57eea7),'name':_0x214f54,'ranges':_0x2f6a29},_0x5d8b5b=this[_0x1cebae(0x1cd)];_0x5d8b5b[_0x1cebae(0x28a)](_0x57eea7,_0x9ded54),this[_0x1cebae(0x417)][_0x1cebae(0x341)](_0x5d8b5b);}[_0x16274f(0x439)](_0x5b7de5){const _0x59bc7e=_0x16274f,{memberID:_0x151e1a}=_0x5b7de5['data'],_0x310e74=this['cursorInfo'];_0x310e74['delete'](_0x151e1a),this[_0x59bc7e(0x417)][_0x59bc7e(0x341)](_0x310e74);}[_0x16274f(0x1b5)](){const _0x12b5cd=_0x16274f;var _0x4389f2;if(this[_0x12b5cd(0x3a8)]=!0x0,((_0x4389f2=this[_0x12b5cd(0x455)][_0x12b5cd(0x387)]())==null?void 0x0:_0x4389f2[_0x12b5cd(0x1b6)]())!==this['unitID'])return;const _0x59b68b=this[_0x12b5cd(0x313)]['get'](_0xb0690a[_0x12b5cd(0x43c)])[_0x12b5cd(0x435)]();Array[_0x12b5cd(0x20e)](_0x59b68b)&&_0x59b68b[_0x12b5cd(0x3bf)]>0x0&&this['_updateLocalCursor'](_0x59b68b);}[_0x16274f(0x2b0)](){this['_online']=!0x1;}};_0x2bef98=_0x2e5e68([_0x5b0a1f(0x2,_0x1dbd07['Inject'](_0x1dbd07[_0x16274f(0x252)])),_0x5b0a1f(0x3,_0x1dbd07[_0x16274f(0x21f)](_0x57d318)),_0x5b0a1f(0x4,_0x1dbd07[_0x16274f(0x21f)](_0x27a090[_0x16274f(0x1db)])),_0x5b0a1f(0x5,_0x1dbd07[_0x16274f(0x21f)](_0x20d9aa)),_0x5b0a1f(0x6,_0x84ca95[_0x16274f(0x415)]),_0x5b0a1f(0x7,_0x1dbd07[_0x16274f(0x26f)]),_0x5b0a1f(0x8,_0x1dbd07[_0x16274f(0x430)])],_0x2bef98);var _0x820c88=Object['getOwnPropertyDescriptor'],_0x4d6ad5=(_0x44be67,_0x8076b7,_0x638dc6,_0xa9d727)=>{const _0x263b3e=_0x16274f;for(var _0x477324=_0xa9d727>0x1?void 0x0:_0xa9d727?_0x820c88(_0x8076b7,_0x638dc6):_0x8076b7,_0x1f5d1a=_0x44be67[_0x263b3e(0x3bf)]-0x1,_0x3b49a5;_0x1f5d1a>=0x0;_0x1f5d1a--)(_0x3b49a5=_0x44be67[_0x1f5d1a])&&(_0x477324=_0x3b49a5(_0x477324)||_0x477324);return _0x477324;},_0x45efd4=(_0x1cf0ef,_0x4caabb)=>(_0x4664dc,_0x99ed4b)=>_0x4caabb(_0x4664dc,_0x99ed4b,_0x1cf0ef);const _0x4148ee=0x12c,_0x1508ae=0x64,_0x22d33f=()=>{let _0x53bce3=[],_0x240dee=!0x1;return _0x107514=>{_0x53bce3['push'](_0x107514),_0x240dee||(_0x240dee=!0x0,setTimeout(()=>{const _0x2d1107=_0x21e0;_0x53bce3[_0x2d1107(0x25f)](_0x4616d4=>_0x4616d4()),_0x53bce3=[],_0x240dee=!0x1;}));};};let _0x5b0daa=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x4e32b6,_0x1ea99e,_0x459cac,_0x1fd4c8,_0x32aded,_0x218298,_0x5a4d47,_0x4a84ab){const _0x57f42d=_0x16274f;super(),_0x128bdb(this,_0x57f42d(0x3a8),!0x1),_0x128bdb(this,'_init',!0x1),_0x128bdb(this,_0x57f42d(0x417),new _0x2f5231[(_0x57f42d(0x407))](new Map())),_0x128bdb(this,'cursorInfo$',this[_0x57f42d(0x417)][_0x57f42d(0x27b)]()),_0x128bdb(this,_0x57f42d(0x23a),new _0x2f5231[(_0x57f42d(0x407))]([])),_0x128bdb(this,'roomMembers$',this[_0x57f42d(0x23a)][_0x57f42d(0x250)](_0x2f5231[_0x57f42d(0x1c3)](_0x4148ee))),_0x128bdb(this,_0x57f42d(0x27c),_0x1dbd07['debounce']((_0x288dee,_0x56d9d9)=>{const _0x1f3011=_0x57f42d,_0x1691ea={'eventID':_0x84ca95[_0x1f3011(0x291)][_0x1f3011(0x1bd)],'data':{'unitID':this[_0x1f3011(0x403)],'memberID':this['_session']['getMemberID'](),'selection':_0x32e977[_0x1f3011(0x3b8)](_0x288dee,_0x56d9d9[_0x1f3011(0x394)])}};this[_0x1f3011(0x3c9)][_0x1f3011(0x227)](_0x1691ea,this['unitID']);},_0x1508ae)),(this[_0x57f42d(0x403)]=_0x4e32b6,this[_0x57f42d(0x3c9)]=_0x1ea99e,this[_0x57f42d(0x313)]=_0x459cac,this[_0x57f42d(0x355)]=_0x1fd4c8,this['_memberService']=_0x32aded,this[_0x57f42d(0x455)]=_0x218298,this[_0x57f42d(0x43f)]=_0x5a4d47,this[_0x57f42d(0x333)]=_0x4a84ab);}get['cursorInfo'](){const _0xf5a653=_0x16274f;return this[_0xf5a653(0x417)][_0xf5a653(0x30e)]();}get[_0x16274f(0x233)](){const _0x29f7ab=_0x16274f;return this[_0x29f7ab(0x23a)][_0x29f7ab(0x30e)]();}[_0x16274f(0x239)](){const _0x7dc2a0=_0x16274f;super[_0x7dc2a0(0x239)](),this[_0x7dc2a0(0x417)][_0x7dc2a0(0x341)](new Map()),this[_0x7dc2a0(0x417)][_0x7dc2a0(0x3ab)](),this[_0x7dc2a0(0x23a)][_0x7dc2a0(0x341)]([]),this[_0x7dc2a0(0x23a)][_0x7dc2a0(0x3ab)]();}[_0x16274f(0x3d2)](){const _0x276396=_0x16274f;this['_init']||(this[_0x276396(0x35f)]=!0x0,this['_session'][_0x276396(0x2df)]['pipe'](_0x2f5231[_0x276396(0x453)](this[_0x276396(0x449)]))[_0x276396(0x261)](_0x5a1b2c=>{const _0x36d06e=_0x276396;_0x5a1b2c===_0x27a090['SessionStatus'][_0x36d06e(0x25b)]?this[_0x36d06e(0x1b5)]():this[_0x36d06e(0x2b0)]();}),this[_0x276396(0x3c9)]['event$'][_0x276396(0x250)](_0x2f5231[_0x276396(0x453)](this[_0x276396(0x449)]))[_0x276396(0x261)](_0x44ae2a=>{const _0x56c687=_0x276396,_0x16347b=_0x44ae2a[_0x56c687(0x43d)];_0x16347b===_0x84ca95[_0x56c687(0x291)]['UPDATE_CURSOR']&&this[_0x56c687(0x347)](_0x44ae2a),_0x16347b===_0x84ca95[_0x56c687(0x291)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x44ae2a);}),this['_onRefRangeChange'](),this[_0x276396(0x36f)](this['_commandService'][_0x276396(0x24d)](_0x2ebf53=>{const _0x4a99c5=_0x276396;if(this[_0x4a99c5(0x3a8)]&&_0x2ebf53['id']===_0x20ef79[_0x4a99c5(0x395)]['id']&&_0x2ebf53[_0x4a99c5(0x21b)][_0x4a99c5(0x262)]===this[_0x4a99c5(0x403)]){const _0x34a4f1=_0x2ebf53[_0x4a99c5(0x21b)];this[_0x4a99c5(0x27c)](_0x34a4f1[_0x4a99c5(0x237)],_0x34a4f1[_0x4a99c5(0x3e7)][0x0]);}})));}[_0x16274f(0x347)](_0x45e33f){const _0x330d4c=_0x16274f;var _0x134c8a,_0x129ca4;const {memberID:_0x536858,selection:_0x130753}=_0x45e33f[_0x330d4c(0x1fe)],{sheetName:_0x1a9e9e,range:_0x3f2e2d}=_0x32e977[_0x330d4c(0x3fd)](_0x130753),_0x3218bd={'name':(_0x129ca4=(_0x134c8a=this[_0x330d4c(0x374)]['getMember'](this[_0x330d4c(0x403)],_0x536858))==null?void 0x0:_0x134c8a['name'])!=null?_0x129ca4:_0x330d4c(0x3ba),'range':this['_getMergeRange'](_0x1a9e9e,_0x3f2e2d),'sheetID':_0x1a9e9e,'color':this[_0x330d4c(0x355)][_0x330d4c(0x437)](_0x536858),'selection':_0x130753},_0x4212f7=this[_0x330d4c(0x1cd)];_0x4212f7[_0x330d4c(0x28a)](_0x536858,_0x3218bd),this[_0x330d4c(0x417)][_0x330d4c(0x341)](_0x4212f7);}[_0x16274f(0x439)](_0x26357f){const _0xc52fc7=_0x16274f,{memberID:_0x5400f9}=_0x26357f[_0xc52fc7(0x1fe)],_0x43bd17=this['cursorInfo'];_0x43bd17[_0xc52fc7(0x225)](_0x5400f9),this['_cursorInfo$'][_0xc52fc7(0x341)](_0x43bd17);}[_0x16274f(0x22d)](_0x13485e,_0xfccde6){const _0x55b913=_0x16274f;var _0x2ad37f,_0x4df026;const _0x13ae44=(_0x4df026=(_0x2ad37f=this['_univerInstanceService'][_0x55b913(0x29b)](this[_0x55b913(0x403)]))==null?void 0x0:_0x2ad37f[_0x55b913(0x2d6)](_0x13485e))==null?void 0x0:_0x4df026[_0x55b913(0x33b)]();return(_0x13ae44==null?void 0x0:_0x13ae44[_0x55b913(0x1e3)](_0x25c1d9=>_0x1dbd07[_0x55b913(0x2bb)][_0x55b913(0x423)](_0x25c1d9,_0xfccde6)))||_0xfccde6;}[_0x16274f(0x253)](){const _0x85028e=_0x16274f,_0x4c135e=new _0x1dbd07[(_0x85028e(0x2dd))](),_0x307a5e=_0x22d33f(),_0x100a05=()=>{const _0x3c5a1f=_0x85028e;_0x4c135e[_0x3c5a1f(0x239)]();const _0x386abb=(_0x32a354,_0x1dded2,_0x5593b2,_0x37a7a4)=>{const _0x4e3449=_0x3c5a1f;let _0x498764=[];switch(_0x32a354['id']){case _0x20ef79[_0x4e3449(0x302)][_0x4e3449(0x1b9)]:{_0x498764=_0x20ef79[_0x4e3449(0x1b7)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)][_0x4e3449(0x3e2)]:{_0x498764=_0x20ef79[_0x4e3449(0x419)](_0x32a354,_0x37a7a4);break;}case _0x20ef79['EffectRefRangId'][_0x4e3449(0x427)]:{_0x498764=_0x20ef79[_0x4e3449(0x432)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)]['InsertRangeMoveDownCommandId']:{_0x498764=_0x20ef79[_0x4e3449(0x1d8)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)][_0x4e3449(0x2e8)]:{_0x498764=_0x20ef79[_0x4e3449(0x3dc)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)][_0x4e3449(0x22b)]:{_0x498764=_0x20ef79[_0x4e3449(0x428)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)][_0x4e3449(0x309)]:{_0x498764=_0x20ef79[_0x4e3449(0x401)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)]['RemoveColCommandId']:{_0x498764=_0x20ef79[_0x4e3449(0x224)](_0x32a354,_0x37a7a4);break;}case _0x20ef79[_0x4e3449(0x302)][_0x4e3449(0x2bc)]:{_0x498764=_0x20ef79['handleIRemoveRow'](_0x32a354,_0x37a7a4);break;}}const _0x104296=_0x20ef79[_0x4e3449(0x3fe)](_0x498764,_0x37a7a4),_0x27ddda=this[_0x4e3449(0x1cd)][_0x4e3449(0x2fd)](_0x1dded2);if(_0x27ddda&&_0x104296){const _0xf2cc11={..._0x27ddda,'range':_0x104296};this[_0x4e3449(0x1cd)]['set'](_0x1dded2,_0xf2cc11),_0x307a5e(()=>{const _0x1c8fc5=_0x4e3449,_0x528ffd=this[_0x1c8fc5(0x333)][_0x1c8fc5(0x392)](_0x104296,_0x443029=>(_0x528ffd[_0x1c8fc5(0x239)](),_0x386abb(_0x443029,_0x1dded2,_0x5593b2,_0x104296)));_0x4c135e[_0x1c8fc5(0x2db)](_0x528ffd);});}return{'redos':[],'undos':[]};};this[_0x3c5a1f(0x1cd)][_0x3c5a1f(0x25f)]((_0x5263c6,_0x3be691)=>{const _0x5f0085=_0x3c5a1f,{range:_0x343fc0,sheetID:_0x3643eb}=_0x5263c6,_0x3e6dad=this[_0x5f0085(0x333)]['registerRefRange'](_0x343fc0,_0xf89edf=>(_0x3e6dad['dispose'](),_0x386abb(_0xf89edf,_0x3be691,_0x3643eb,_0x343fc0)));_0x4c135e[_0x5f0085(0x2db)](_0x3e6dad);});};this[_0x85028e(0x36f)](_0x1dbd07[_0x85028e(0x3a6)](this[_0x85028e(0x417)]['subscribe'](()=>{_0x100a05();})));}[_0x16274f(0x1b5)](){const _0x361e93=_0x16274f;var _0x4a5be8,_0x425916;if(this[_0x361e93(0x3a8)]=!0x0,((_0x4a5be8=this[_0x361e93(0x455)][_0x361e93(0x387)]())==null?void 0x0:_0x4a5be8[_0x361e93(0x1b6)]())!==this[_0x361e93(0x403)])return;const _0x206d86=(_0x425916=this[_0x361e93(0x313)]['get'](_0x20ef79[_0x361e93(0x207)])[_0x361e93(0x1ff)]())==null?void 0x0:_0x425916[0x0],_0x21cbc0=this['_univerInstanceService']['getCurrentUnitForType'](_0x1dbd07['UniverInstanceType']['UNIVER_SHEET'])[_0x361e93(0x2c8)]();_0x206d86&&_0x21cbc0&&this['_updateLocalCursor'](_0x21cbc0['getSheetId'](),_0x206d86);}[_0x16274f(0x2b0)](){this['_online']=!0x1;}};_0x5b0daa=_0x4d6ad5([_0x45efd4(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x252)])),_0x45efd4(0x3,_0x1dbd07[_0x16274f(0x21f)](_0x57d318)),_0x45efd4(0x4,_0x1dbd07[_0x16274f(0x21f)](_0x27a090[_0x16274f(0x1db)])),_0x45efd4(0x5,_0x1dbd07['IUniverInstanceService']),_0x45efd4(0x6,_0x1dbd07[_0x16274f(0x430)]),_0x45efd4(0x7,_0x1dbd07[_0x16274f(0x21f)](_0x20ef79['RefRangeService']))],_0x5b0daa);var _0x4fa61d=Object['getOwnPropertyDescriptor'],_0x49165b=(_0x5b32e2,_0xc464fc,_0x242983,_0x40101a)=>{for(var _0x3565e3=_0x40101a>0x1?void 0x0:_0x40101a?_0x4fa61d(_0xc464fc,_0x242983):_0xc464fc,_0x7017ee=_0x5b32e2['length']-0x1,_0x315798;_0x7017ee>=0x0;_0x7017ee--)(_0x315798=_0x5b32e2[_0x7017ee])&&(_0x3565e3=_0x315798(_0x3565e3)||_0x3565e3);return _0x3565e3;},_0xcd6342=(_0x43590b,_0x53bea8)=>(_0x51921e,_0x1885f7)=>_0x53bea8(_0x51921e,_0x1885f7,_0x43590b);let _0x2a1682=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x1e2252,_0x178194,_0x50ed51){const _0x5ba396=_0x16274f;super(),_0x128bdb(this,'_entities',new Map()),_0x128bdb(this,'_entityInit$',new _0x2f5231['Subject']()),(this['_univerInstanceService']=_0x1e2252,this['_injector']=_0x178194,this['_collabSessionService']=_0x50ed51,this[_0x5ba396(0x35f)]());}[_0x16274f(0x239)](){const _0x4e7ee0=_0x16274f;super[_0x4e7ee0(0x239)](),this[_0x4e7ee0(0x321)]['complete'](),this[_0x4e7ee0(0x38b)][_0x4e7ee0(0x25f)](_0x45ecad=>_0x45ecad['dispose']());}['getCollabCursors$'](_0x369a24){const _0x2c430f=_0x16274f;return this[_0x2c430f(0x38b)][_0x2c430f(0x282)](_0x369a24)?this[_0x2c430f(0x38b)][_0x2c430f(0x2fd)](_0x369a24)[_0x2c430f(0x2e6)]:this[_0x2c430f(0x321)]['pipe'](_0x2f5231[_0x2c430f(0x293)](_0x6d252b=>_0x6d252b[_0x2c430f(0x403)]===_0x369a24),_0x2f5231[_0x2c430f(0x3d6)](_0x4b4f1b=>_0x4b4f1b[_0x2c430f(0x2e6)]));}['_init'](){const _0x15c686=_0x16274f;this[_0x15c686(0x455)][_0x15c686(0x3f8)](_0x1dbd07[_0x15c686(0x1d6)][_0x15c686(0x34a)])[_0x15c686(0x250)](_0x2f5231[_0x15c686(0x453)](this['dispose$']))[_0x15c686(0x261)](async _0x22d14c=>{const _0x43fba6=_0x15c686,_0x210385=_0x22d14c['getUnitId'](),_0x2514f6=await this[_0x43fba6(0x40c)](_0x210385);this[_0x43fba6(0x321)]['next'](_0x2514f6),this[_0x43fba6(0x38b)]['set'](_0x210385,_0x2514f6);}),this[_0x15c686(0x455)][_0x15c686(0x3f8)](_0x1dbd07[_0x15c686(0x1d6)][_0x15c686(0x203)])[_0x15c686(0x250)](_0x2f5231[_0x15c686(0x453)](this[_0x15c686(0x449)]))[_0x15c686(0x250)](_0x2f5231[_0x15c686(0x293)](_0x384a59=>!_0x384a59['getUnitId']()[_0x15c686(0x1fc)]('__')))['subscribe'](async _0x1069e2=>{const _0x52072b=_0x15c686,_0x5c71e7=_0x1069e2[_0x52072b(0x1b6)](),_0x574084=await this[_0x52072b(0x1fb)](_0x5c71e7);this['_entityInit$'][_0x52072b(0x341)](_0x574084),this[_0x52072b(0x38b)][_0x52072b(0x28a)](_0x5c71e7,_0x574084);}),_0x2f5231[_0x15c686(0x42a)](this[_0x15c686(0x455)][_0x15c686(0x205)](_0x1dbd07[_0x15c686(0x1d6)][_0x15c686(0x203)]),this[_0x15c686(0x455)][_0x15c686(0x205)](_0x1dbd07[_0x15c686(0x1d6)][_0x15c686(0x34a)]))[_0x15c686(0x250)](_0x2f5231[_0x15c686(0x453)](this['dispose$']))[_0x15c686(0x261)](_0x35e81b=>{const _0x485621=_0x15c686,_0x151985=_0x35e81b[_0x485621(0x1b6)](),_0xec3326=this[_0x485621(0x38b)][_0x485621(0x2fd)](_0x151985);_0xec3326&&(_0xec3326[_0x485621(0x239)](),this[_0x485621(0x38b)]['delete'](_0x151985));});}async[_0x16274f(0x40c)](_0x22e176){const _0x508509=_0x16274f,_0x435f02=await this[_0x508509(0x35d)][_0x508509(0x353)](_0x22e176),_0x32bdde=this['_injector'][_0x508509(0x2fb)](_0x5b0daa,_0x22e176,_0x435f02);return _0x32bdde[_0x508509(0x3d2)](),_0x32bdde;}async[_0x16274f(0x1fb)](_0x8092a6){const _0x2300e1=_0x16274f,_0x3c1a14=await this['_collabSessionService'][_0x2300e1(0x353)](_0x8092a6),_0x2638bb=this[_0x2300e1(0x313)][_0x2300e1(0x2fb)](_0x2bef98,_0x8092a6,_0x3c1a14);return _0x2638bb[_0x2300e1(0x3d2)](),_0x2638bb;}};_0x2a1682=_0x49165b([_0xcd6342(0x0,_0x1dbd07['IUniverInstanceService']),_0xcd6342(0x1,_0x1dbd07['Inject'](_0x1dbd07[_0x16274f(0x252)])),_0xcd6342(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x27a090['CollaborationSessionService']))],_0x2a1682);const _0x254176=0x14,_0x3caf4b=0xc8,_0x43e177=0x4,_0x518c19=0x5;function _0x565802(_0x3a820a,_0x2c1669){const _0x1def1b=_0x16274f;let {radius:_0x56ad57,width:_0x5440c0,height:_0x12456d}=_0x2c1669;_0x56ad57=_0x56ad57!=null?_0x56ad57:0x0,_0x5440c0=_0x5440c0!=null?_0x5440c0:0x1e,_0x12456d=_0x12456d!=null?_0x12456d:0x1e;let _0x10196f=0x0,_0x2fdaeb=0x0,_0x420164=0x0;_0x10196f=_0x2fdaeb=_0x420164=Math[_0x1def1b(0x1f2)](_0x56ad57,_0x5440c0/0x2,_0x12456d/0x2),_0x3a820a[_0x1def1b(0x39e)](),_0x3a820a[_0x1def1b(0x1fd)](_0x10196f,0x0),_0x3a820a[_0x1def1b(0x1de)](_0x5440c0-_0x2fdaeb,0x0),_0x3a820a['arc'](_0x5440c0-_0x2fdaeb,_0x2fdaeb,_0x2fdaeb,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a820a[_0x1def1b(0x1de)](_0x5440c0,_0x12456d-_0x420164),_0x3a820a['arc'](_0x5440c0-_0x420164,_0x12456d-_0x420164,_0x420164,0x0,Math['PI']/0x2,!0x1),_0x3a820a[_0x1def1b(0x1de)](0x0,_0x12456d),_0x3a820a[_0x1def1b(0x1de)](0x0,_0x10196f),_0x3a820a[_0x1def1b(0x33f)](_0x10196f,_0x10196f,_0x10196f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a820a[_0x1def1b(0x271)](),_0x2c1669['fill']&&(_0x3a820a[_0x1def1b(0x2e9)](),_0x3a820a[_0x1def1b(0x1c8)]=_0x2c1669[_0x1def1b(0x30b)],_0x2c1669[_0x1def1b(0x2a9)]===_0x1def1b(0x1e2)?_0x3a820a[_0x1def1b(0x30b)]('evenodd'):_0x3a820a[_0x1def1b(0x30b)](),_0x3a820a[_0x1def1b(0x20d)]());}class _0x32cf58 extends _0x32562c[_0x16274f(0x2c1)]{constructor(_0x5d5adb,_0x2fc2cf){const _0x5f2a60=_0x16274f;super(_0x5d5adb,_0x2fc2cf),_0x128bdb(this,'color'),_0x128bdb(this,_0x5f2a60(0x24b)),(this[_0x5f2a60(0x441)]=_0x2fc2cf==null?void 0x0:_0x2fc2cf['color'],this[_0x5f2a60(0x24b)]=_0x2fc2cf==null?void 0x0:_0x2fc2cf[_0x5f2a60(0x24b)]);}static['drawWith'](_0x245e77,_0x68d514){const _0x1faed8=_0x16274f,{text:_0x489972,color:_0x777d6b}=_0x68d514;_0x245e77[_0x1faed8(0x2e9)](),_0x245e77[_0x1faed8(0x285)]=_0x1faed8(0x36a);const _0x59b72a=_0x245e77[_0x1faed8(0x329)](_0x489972)[_0x1faed8(0x294)],_0x221583=Math['min'](_0x59b72a+0x2*_0x43e177,_0x3caf4b);_0x565802(_0x245e77,{'height':_0x254176,'radius':0x4,'width':_0x221583,'fill':_0x777d6b}),_0x245e77[_0x1faed8(0x1c8)]='#FFF';const _0x2cb632=_0x43e177,_0x4bb515=_0x254176-_0x518c19,_0x47da0e=_0x3caf4b-0x2*_0x43e177;if(_0x59b72a>_0x47da0e){let _0x4d8ded='',_0x38dfb7=0x0;for(const _0x546db3 of _0x489972){const _0x137ac9=_0x245e77[_0x1faed8(0x329)](_0x546db3)[_0x1faed8(0x294)];if(_0x38dfb7+_0x137ac9<=_0x47da0e-_0x245e77[_0x1faed8(0x329)](_0x1faed8(0x251))['width'])_0x4d8ded+=_0x546db3,_0x38dfb7+=_0x137ac9;else{_0x4d8ded+='...';break;}}_0x245e77[_0x1faed8(0x216)](_0x4d8ded,_0x2cb632,_0x4bb515);}else _0x245e77[_0x1faed8(0x216)](_0x489972,_0x2cb632,_0x4bb515);_0x245e77[_0x1faed8(0x20d)]();}[_0x16274f(0x2de)](_0x4182d8){_0x32cf58['drawWith'](_0x4182d8,this);}}const _0x34d45a=_0x16274f(0x31d),_0x40b46e=_0x16274f(0x3ce),_0x5c4094=_0x16274f(0x244),_0x3ab672=0x6,_0x1e8762=1.5,_0x4dc2bf=0x4,_0x54368c=1.5,_0x37c85f=_0x16274f(0x28d);class _0x2f9e0e{constructor(_0x372e07,_0x583a77,_0x46ae28,_0x513a2f){const _0x43e4bf=_0x16274f;_0x128bdb(this,'_shapes',[]),_0x128bdb(this,'_anchor',null),_0x128bdb(this,'_textBubble',null),_0x128bdb(this,_0x43e4bf(0x370),null),_0x128bdb(this,_0x43e4bf(0x3b7),null),_0x128bdb(this,_0x43e4bf(0x211),null),(this[_0x43e4bf(0x2ae)]=_0x372e07,this[_0x43e4bf(0x3c3)]=_0x583a77,this['_docSkeleton']=_0x46ae28,this[_0x43e4bf(0x433)]=_0x513a2f,this['_render']());}set['_hover'](_0x2cbee1){const _0x43995c=_0x16274f;_0x2cbee1?(this[_0x43995c(0x370)]&&this['_anchorDot']['hide'](),this[_0x43995c(0x406)]&&this[_0x43995c(0x406)][_0x43995c(0x346)]()):(this['_anchorDot']&&this[_0x43995c(0x370)][_0x43995c(0x346)](),this[_0x43995c(0x406)]&&this[_0x43995c(0x406)]['hide']());}[_0x16274f(0x239)](){const _0x3ebb7d=_0x16274f;for(const _0x45615e of this[_0x3ebb7d(0x342)])_0x45615e[_0x3ebb7d(0x239)]();this[_0x3ebb7d(0x406)]&&this['_textBubble']['dispose'](),this[_0x3ebb7d(0x370)]&&this[_0x3ebb7d(0x370)][_0x3ebb7d(0x239)](),this[_0x3ebb7d(0x308)]&&this[_0x3ebb7d(0x308)][_0x3ebb7d(0x239)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x16274f(0x2b5)](){const _0x46c9ac=_0x16274f;var _0x481756;const {_docSkeleton:_0x23f355,_document:_0xad9291}=this,{color:_0x143c74,name:_0x5cc682,ranges:_0x304b0a}=this[_0x46c9ac(0x2ae)],_0x54ffbd=_0xad9291['getOffsetConfig'](),{docsLeft:_0xce3cda,docsTop:_0x1dd530}=_0x54ffbd,_0x4d5fed=new _0xae662a[(_0x46c9ac(0x380))](_0x54ffbd,_0x23f355);for(const {startOffset:_0x15eeaa,endOffset:_0x1d58ff,rangeType:_0x8bc614,segmentId:_0x426a76,segmentPage:_0x348f37,collapsed:_0x232380,isActive:_0x2d5863}of _0x304b0a){const _0x81b4f4=_0x23f355[_0x46c9ac(0x2f9)](_0x15eeaa,!0x0,_0x426a76,_0x348f37);let _0x4d9019=_0x23f355['findNodePositionByCharIndex'](_0x1d58ff,!0x0,_0x426a76,_0x348f37);if(_0x4d9019==null&&(_0x4d9019=_0x23f355['findNodePositionByCharIndex'](_0x1d58ff-0x1,!0x1,_0x426a76,_0x348f37)),_0x2d5863){const {contentBoxPointGroup:_0x231b0d}=_0x4d5fed[_0x46c9ac(0x268)](_0x4d9019,_0x4d9019);if(_0x231b0d[_0x46c9ac(0x3bf)]===0x0)continue;this[_0x46c9ac(0x3fb)](_0x143c74,_0x231b0d,_0xce3cda,_0x1dd530,_0x5cc682),this[_0x46c9ac(0x211)]=this[_0x46c9ac(0x3d4)]();}if(_0x81b4f4&&_0x4d9019){if(_0x8bc614===_0x1dbd07['DOC_RANGE_TYPE'][_0x46c9ac(0x26d)]){const _0x44f46c=new _0xae662a[(_0x46c9ac(0x438))](_0x54ffbd,_0x23f355),{pointGroup:_0x3d9554}=(_0x481756=_0x44f46c['getRangePointData'](_0x81b4f4,_0x4d9019))!=null?_0x481756:{};if(_0x3d9554==null||_0x3d9554[_0x46c9ac(0x3bf)]===0x0)continue;this[_0x46c9ac(0x2f4)](_0x143c74,_0x3d9554,_0xce3cda,_0x1dd530);}else{if(!_0x232380){const {borderBoxPointGroup:_0x51c1fb}=_0x4d5fed[_0x46c9ac(0x268)](_0x81b4f4,_0x4d9019);if(_0x51c1fb[_0x46c9ac(0x3bf)]===0x0)continue;this['_drawTextRange'](_0x143c74,_0x51c1fb,_0xce3cda,_0x1dd530);}}}}}[_0x16274f(0x3fb)](_0x27e63b,_0x245d34,_0x1b4c94,_0x354682,_0x1afc21){const _0x439f84=_0x16274f,_0x38fb45=this[_0x439f84(0x2ed)](_0x245d34),{left:_0x2f78df,top:_0x4f6482,height:_0x53b1ce}=_0x38fb45,_0x29219d=this[_0x439f84(0x3df)](),_0x47ba9d=_0x54368c/_0x29219d,_0x4e6b97=new _0x32562c['Rect'](_0x34d45a+_0x1dbd07[_0x439f84(0x320)][_0x439f84(0x3be)](_0x3ab672),{'left':_0x2f78df+_0x1b4c94-_0x47ba9d,'top':_0x4f6482+_0x354682,'height':_0x53b1ce,'width':_0x1e8762,'fill':_0x27e63b||_0x32562c['getColor'](_0x1dbd07['COLORS'][_0x439f84(0x445)],0x0),'strokeWidth':_0x47ba9d,'stroke':_0x37c85f,'evented':!0x0});this['_anchor']=_0x4e6b97,this['_scene']['addObject'](_0x4e6b97,_0xae662a['TEXT_RANGE_LAYER_INDEX']);const _0x2b98ff=new _0x32562c['Rect'](_0x34d45a+_0x1dbd07[_0x439f84(0x320)]['generateRandomId'](_0x3ab672),{'left':_0x2f78df+_0x1b4c94-_0x47ba9d,'top':_0x4f6482+_0x354682-_0x4dc2bf/0x2,'height':_0x4dc2bf,'width':_0x4dc2bf,'fill':_0x27e63b||_0x32562c['getColor'](_0x1dbd07['COLORS'][_0x439f84(0x445)],0x0),'strokeWidth':0x0,'stroke':_0x27e63b||_0x32562c[_0x439f84(0x317)](_0x1dbd07['COLORS']['black'],0x0),'evented':!0x1});this[_0x439f84(0x370)]=_0x2b98ff,this['_scene'][_0x439f84(0x27f)](_0x2b98ff,_0xae662a[_0x439f84(0x343)]);const _0x1e7604=new _0x32cf58(_0x34d45a+_0x1dbd07[_0x439f84(0x320)][_0x439f84(0x3be)](_0x3ab672),{'left':_0x2f78df+_0x1b4c94-_0x47ba9d,'top':_0x4f6482+_0x354682-_0x254176,'text':_0x1afc21,'color':_0x27e63b});this[_0x439f84(0x406)]=_0x1e7604,this[_0x439f84(0x3c3)][_0x439f84(0x27f)](_0x1e7604,_0xae662a[_0x439f84(0x343)]),this[_0x439f84(0x399)]=!0x1;}[_0x16274f(0x3d4)](){const _0xa0caa6=_0x16274f,_0x5c865c=this[_0xa0caa6(0x308)][_0xa0caa6(0x306)]['subscribeEvent'](()=>{const _0x5934d4=_0xa0caa6;this[_0x5934d4(0x399)]=!0x0;}),_0x195baf=this['_anchor'][_0xa0caa6(0x23d)][_0xa0caa6(0x3bc)](()=>{const _0x275bf3=_0xa0caa6;this[_0x275bf3(0x3b7)]&&clearTimeout(this[_0x275bf3(0x3b7)]),this[_0x275bf3(0x3b7)]=setTimeout(()=>{const _0x288122=_0x275bf3;this[_0x288122(0x399)]=!0x1;},0x7d0);});return()=>{const _0x3641cd=_0xa0caa6;_0x5c865c['unsubscribe'](),_0x195baf[_0x3641cd(0x263)]();};}[_0x16274f(0x3f7)](_0x15b399,_0x4fae8a,_0x2facd6,_0x2d3374){const _0x390829=_0x16274f,_0x452a05=new _0x1dbd07[(_0x390829(0x2cc))](_0x15b399)[_0x390829(0x3ea)](0.2)[_0x390829(0x214)](),_0x3c2638=new _0x32562c['RegularPolygon'](_0x40b46e+_0x1dbd07[_0x390829(0x320)][_0x390829(0x3be)](_0x3ab672),{'pointsGroup':_0x4fae8a,'fill':_0x452a05||_0x32562c[_0x390829(0x317)](_0x1dbd07[_0x390829(0x2ac)][_0x390829(0x445)],0.2),'left':_0x2facd6,'top':_0x2d3374,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x390829(0x342)][_0x390829(0x414)](_0x3c2638),this['_scene'][_0x390829(0x27f)](_0x3c2638,_0xae662a[_0x390829(0x343)]);}['_drawRectRange'](_0x42ee97,_0x713dc8,_0x5ed98e,_0x442d1e){const _0x3254fd=_0x16274f,_0x3fd51d=new _0x1dbd07[(_0x3254fd(0x2cc))](_0x42ee97)['setAlpha'](0.2)[_0x3254fd(0x214)](),_0x50f3ab=new _0x32562c['RegularPolygon'](_0x5c4094+_0x1dbd07[_0x3254fd(0x320)]['generateRandomId'](_0x3ab672),{'pointsGroup':_0x713dc8,'fill':_0x3fd51d||_0x32562c['getColor'](_0x1dbd07[_0x3254fd(0x2ac)][_0x3254fd(0x445)],0.2),'left':_0x5ed98e,'top':_0x442d1e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3254fd(0x342)]['push'](_0x50f3ab),this[_0x3254fd(0x3c3)][_0x3254fd(0x27f)](_0x50f3ab,_0xae662a['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x77856d){const _0x506e2c=_0x77856d[0x0],_0x3c5fda=_0x506e2c[0x0],_0x386ab=_0x506e2c[0x2],{x:_0x3f93da,y:_0x3962cd}=_0x3c5fda,{x:_0x383399,y:_0x122990}=_0x386ab;return{'left':_0x3f93da,'top':_0x3962cd,'width':_0x383399-_0x3f93da,'height':_0x122990-_0x3962cd};}[_0x16274f(0x3df)](){const _0x59ac57=_0x16274f,{scaleX:_0x19fff4,scaleY:_0x114c50}=this[_0x59ac57(0x3c3)][_0x59ac57(0x357)]();return Math['max'](_0x19fff4,_0x114c50);}}var _0x142cef=Object[_0x16274f(0x381)],_0x3d0c21=(_0x57b979,_0x2c637c,_0x23a6d6,_0x3f59ed)=>{const _0x301fbd=_0x16274f;for(var _0x1f0b7f=_0x3f59ed>0x1?void 0x0:_0x3f59ed?_0x142cef(_0x2c637c,_0x23a6d6):_0x2c637c,_0x17aff8=_0x57b979[_0x301fbd(0x3bf)]-0x1,_0x18865e;_0x17aff8>=0x0;_0x17aff8--)(_0x18865e=_0x57b979[_0x17aff8])&&(_0x1f0b7f=_0x18865e(_0x1f0b7f)||_0x1f0b7f);return _0x1f0b7f;},_0x91845=(_0x1a693b,_0x32e746)=>(_0x39ba23,_0x4d2d9d)=>_0x32e746(_0x39ba23,_0x4d2d9d,_0x1a693b);let _0x458235=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x369f3f,_0x2ddfb7,_0x4f2f7a,_0x432993,_0x3be28d){const _0x2e0c15=_0x16274f;super(),_0x128bdb(this,_0x2e0c15(0x25c),[]),_0x128bdb(this,'_cursors',[]),(this[_0x2e0c15(0x1c0)]=_0x369f3f,this['_docSkeletonManagerService']=_0x2ddfb7,this[_0x2e0c15(0x241)]=_0x4f2f7a,this['_commandService']=_0x432993,this[_0x2e0c15(0x27e)]=_0x3be28d,this[_0x2e0c15(0x35f)]());}[_0x16274f(0x35f)](){const _0x468b4b=_0x16274f,_0x45b384=this[_0x468b4b(0x1c0)]['unitId'],_0x671aa=this[_0x468b4b(0x2cd)];this[_0x468b4b(0x36f)](_0x2f5231['combineLatest']([this['_collabCursorController'][_0x468b4b(0x3a7)](_0x45b384),this[_0x468b4b(0x27e)]['currentTheme$']])[_0x468b4b(0x250)](_0x58bf80[_0x468b4b(0x2f5)](([_0x4ce5cb,_0x1041b6])=>({'skeleton':_0x671aa['getSkeleton'](),'cursors':[..._0x4ce5cb['values']()][_0x468b4b(0x41f)](_0x147979=>({..._0x147979,'color':_0x1041b6[_0x147979[_0x468b4b(0x441)]]}))})))['subscribe'](_0xf2ddee=>{const _0x1dda7d=_0x468b4b;if(this['_removeCollabCursors'](),_0xf2ddee){const {skeleton:_0x387de0,cursors:_0x8574b6}=_0xf2ddee;this[_0x1dda7d(0x208)](_0x387de0,_0x8574b6);}})),this[_0x468b4b(0x219)](),this[_0x468b4b(0x410)]();}[_0x16274f(0x208)](_0x2a9ea0,_0xfb97d7){const _0x5727d7=_0x16274f,{scene:_0x495e4a,mainComponent:_0x4fb004}=this[_0x5727d7(0x1c0)],_0x2fcf64=_0xfb97d7[_0x5727d7(0x2f5)](_0x37ea70=>new _0x2f9e0e(_0x37ea70,_0x495e4a,_0x2a9ea0,_0x4fb004));this['_cursorShapes']=_0x2fcf64,this[_0x5727d7(0x2d2)]=_0xfb97d7;}[_0x16274f(0x288)](){const _0x36b524=_0x16274f;this[_0x36b524(0x286)]();const {scene:_0x216f33,mainComponent:_0x4a076f}=this[_0x36b524(0x1c0)],_0x25bb84=this[_0x36b524(0x2cd)]['getSkeleton'](),_0x522a14=this['_cursors'][_0x36b524(0x2f5)](_0x6fbebd=>new _0x2f9e0e(_0x6fbebd,_0x216f33,_0x25bb84,_0x4a076f));this[_0x36b524(0x25c)]=_0x522a14;}['_removeCollabCursors'](){const _0x520bd5=_0x16274f;this[_0x520bd5(0x25c)][_0x520bd5(0x25f)](_0x3c6611=>_0x3c6611['dispose']()),this[_0x520bd5(0x25c)]=[];}[_0x16274f(0x410)](){const _0x251d61=[_0xae662a['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x548abd=>{const _0x85a5d2=_0x21e0;_0x251d61[_0x85a5d2(0x458)](_0x548abd['id'])&&_0x548abd[_0x85a5d2(0x21b)]['unitId']===this[_0x85a5d2(0x1c0)]['unitId']&&this[_0x85a5d2(0x288)]();}));}[_0x16274f(0x219)](){const _0x4c7b9a=_0x16274f;this['disposeWithMe'](_0x1dbd07[_0x4c7b9a(0x376)](this['_context'][_0x4c7b9a(0x3c7)]['onTransformChange$'])['pipe'](_0x58bf80[_0x4c7b9a(0x293)](_0x350152=>_0x350152['type']===_0x32562c[_0x4c7b9a(0x351)][_0x4c7b9a(0x447)]),_0x58bf80[_0x4c7b9a(0x257)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x458235=_0x3d0c21([_0x91845(0x1,_0x1dbd07[_0x16274f(0x21f)](_0xb0690a[_0x16274f(0x1ed)])),_0x91845(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x2a1682)),_0x91845(0x3,_0x1dbd07[_0x16274f(0x430)]),_0x91845(0x4,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x30f)]))],_0x458235);const _0x666d15=0x1,_0x4007ad=1.5;class _0x5080a5 extends _0x32562c[_0x16274f(0x2c1)]{constructor(_0x1d2264,_0x365ef9){const _0x7e66d1=_0x16274f;super(_0x1d2264,_0x365ef9),_0x128bdb(this,_0x7e66d1(0x30d)),_0x128bdb(this,_0x7e66d1(0x35e),!0x1),_0x128bdb(this,_0x7e66d1(0x44f)),_0x128bdb(this,_0x7e66d1(0x3bd),''),_0x128bdb(this,_0x7e66d1(0x2d8),_0x7e66d1(0x2e0)),_0x128bdb(this,_0x7e66d1(0x2ec)),(_0x365ef9&&this[_0x7e66d1(0x34f)](_0x365ef9),this[_0x7e66d1(0x306)]['subscribeEvent'](()=>this[_0x7e66d1(0x34f)]({'hovered':!0x0})),this[_0x7e66d1(0x23d)]['subscribeEvent'](()=>this[_0x7e66d1(0x34f)]({'hovered':!0x1})));}[_0x16274f(0x34f)](_0x531b78){const _0x3eb9f5=_0x16274f;var _0x5e8b60,_0x5143e3,_0x1c5f26,_0x2c9683,_0x23c825,_0x238565;this[_0x3eb9f5(0x30d)]=(_0x5e8b60=_0x531b78[_0x3eb9f5(0x441)])!=null?_0x5e8b60:this[_0x3eb9f5(0x30d)],this[_0x3eb9f5(0x35e)]=(_0x5143e3=_0x531b78[_0x3eb9f5(0x400)])!=null?_0x5143e3:this[_0x3eb9f5(0x35e)],this['_range']=(_0x1c5f26=_0x531b78[_0x3eb9f5(0x394)])!=null?_0x1c5f26:this['_range'],this[_0x3eb9f5(0x3bd)]=(_0x2c9683=_0x531b78[_0x3eb9f5(0x35c)])!=null?_0x2c9683:this[_0x3eb9f5(0x3bd)],this['_labelPosition']=(_0x23c825=_0x531b78['labelPosition'])!=null?_0x23c825:this[_0x3eb9f5(0x2d8)],this[_0x3eb9f5(0x2ec)]=(_0x238565=_0x531b78['backgroundColor'])!=null?_0x238565:this[_0x3eb9f5(0x2ec)],this[_0x3eb9f5(0x3f5)]({'width':_0x531b78[_0x3eb9f5(0x294)],'height':_0x531b78[_0x3eb9f5(0x371)]});}[_0x16274f(0x27a)](_0x4791a9){const _0x2a7647=_0x16274f,{row:_0xc0a703,column:_0x6d3990}=_0x4791a9;if(_0xc0a703>=this['_range']['startRow']&&_0xc0a703<=this[_0x2a7647(0x44f)]['endRow']&&_0x6d3990>=this[_0x2a7647(0x44f)][_0x2a7647(0x32c)]&&_0x6d3990<=this[_0x2a7647(0x44f)][_0x2a7647(0x246)]){this[_0x2a7647(0x34f)]({'hovered':!0x0});return;}this[_0x2a7647(0x34f)]({'hovered':!0x1});}[_0x16274f(0x316)](_0x36c54d){return!0x1;}[_0x16274f(0x2de)](_0x59c576){const _0x1d01ca=_0x16274f;_0x32562c[_0x1d01ca(0x328)][_0x1d01ca(0x2f0)](_0x59c576,{'width':this['width'],'height':this[_0x1d01ca(0x371)],'strokeWidth':_0x4007ad,'stroke':this[_0x1d01ca(0x30d)],'evented':!0x1,'fill':this[_0x1d01ca(0x2ec)]}),this[_0x1d01ca(0x35e)]&&(_0x59c576[_0x1d01ca(0x2e9)](),_0x59c576['transform'](0x1,0x0,0x0,0x1,this[_0x1d01ca(0x294)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x32cf58['drawWith'](_0x59c576,{'text':this[_0x1d01ca(0x3bd)],'color':this[_0x1d01ca(0x30d)]}),_0x59c576['restore']());}}var _0xa4f3d3=Object[_0x16274f(0x381)],_0x266266=(_0x9511a3,_0x435114,_0x4cb4be,_0x17d242)=>{const _0x5e7c07=_0x16274f;for(var _0x848096=_0x17d242>0x1?void 0x0:_0x17d242?_0xa4f3d3(_0x435114,_0x4cb4be):_0x435114,_0x50c1f1=_0x9511a3[_0x5e7c07(0x3bf)]-0x1,_0x45fd6a;_0x50c1f1>=0x0;_0x50c1f1--)(_0x45fd6a=_0x9511a3[_0x50c1f1])&&(_0x848096=_0x45fd6a(_0x848096)||_0x848096);return _0x848096;},_0x187c8a=(_0x27ced5,_0x273577)=>(_0x306d1a,_0x204b82)=>_0x273577(_0x306d1a,_0x204b82,_0x27ced5);const _0x1ef021=0x1389;let _0x1ea831=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x2567d7,_0x49678d,_0x285ed1,_0x543011){const _0x28b9d6=_0x16274f;super(),_0x128bdb(this,'_cursors',new Set()),_0x128bdb(this,_0x28b9d6(0x340),null),(this[_0x28b9d6(0x1c0)]=_0x2567d7,this[_0x28b9d6(0x368)]=_0x49678d,this[_0x28b9d6(0x241)]=_0x285ed1,this[_0x28b9d6(0x27e)]=_0x543011,this[_0x28b9d6(0x35f)]());}['_init'](){const _0x5912a6=_0x16274f;this['_sheetSkeletonManagerService'][_0x5912a6(0x429)][_0x5912a6(0x250)](_0x58bf80[_0x5912a6(0x453)](this[_0x5912a6(0x449)]),_0x58bf80[_0x5912a6(0x3d6)](_0x118a2a=>{const _0x3802cc=_0x5912a6;if(_0x118a2a){const _0x12a69a=_0x118a2a[_0x3802cc(0x2b9)];return _0x2f5231['combineLatest'](this[_0x3802cc(0x241)]['getCollabCursors$'](this['_context'][_0x3802cc(0x262)]),this[_0x3802cc(0x27e)][_0x3802cc(0x361)])['pipe'](_0x58bf80[_0x3802cc(0x2f5)](([_0x3132aa,_0x16561b])=>{const _0x2873ad=_0x3802cc,_0x4f4f42=new Map();return _0x3132aa[_0x2873ad(0x25f)]((_0x40af9b,_0x211743)=>{const _0x20dd60=_0x2873ad;if(_0x40af9b[_0x20dd60(0x3de)]===_0x12a69a){const _0x3e117c={..._0x40af9b};_0x3e117c[_0x20dd60(0x441)]=_0x16561b[_0x40af9b[_0x20dd60(0x441)]],_0x4f4f42[_0x20dd60(0x28a)](_0x211743,_0x3e117c);}}),{'skeleton':_0x118a2a,'cursors':_0x4f4f42};}));}return _0x2f5231['of']({'skeleton':null,'cursors':new Map()});}))[_0x5912a6(0x261)](({skeleton:_0xe223f9,cursors:_0x4ac672})=>{const _0x5761db=_0x5912a6;this[_0x5761db(0x286)](),_0xe223f9&&this['_updateCollabCursors'](_0xe223f9,_0x4ac672);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5912a6(0x261)](_0x3de59f=>{const _0x5b972a=_0x5912a6;if(_0x3de59f==null)return;const {skeleton:_0x4dbda8}=_0x3de59f,{scene:_0x1a504f}=this[_0x5b972a(0x1c0)];_0x1a504f[_0x5b972a(0x2c3)][_0x5b972a(0x3bc)](_0x1dbd07['debounce'](_0x57d0e9=>{const _0x4c63f8=_0x5b972a;var _0x16339b,_0x2e47f6;const {offsetX:_0x2dd4df,offsetY:_0x3c2041}=_0x57d0e9,{x:_0x2bbb85,y:_0x5cf3e3}=_0x1a504f[_0x4c63f8(0x396)](_0x32562c[_0x4c63f8(0x3c0)][_0x4c63f8(0x324)]([_0x2dd4df,_0x3c2041])),{scaleX:_0x3a2ec8,scaleY:_0x3f3e2e}=_0x1a504f['getAncestorScale'](),_0xc6942d=_0x1a504f[_0x4c63f8(0x3bb)](_0x32562c[_0x4c63f8(0x1c2)][_0x4c63f8(0x3b5)]),_0x25e3f6=_0x1a504f[_0x4c63f8(0x34c)](_0x32562c[_0x4c63f8(0x3c0)][_0x4c63f8(0x324)]([_0x2bbb85,_0x5cf3e3]),_0xc6942d),_0x27c388=_0x4dbda8[_0x4c63f8(0x278)](_0x2dd4df,_0x3c2041,_0x3a2ec8,_0x3f3e2e,_0x25e3f6);((_0x16339b=this[_0x4c63f8(0x340)])==null?void 0x0:_0x16339b['column'])===_0x27c388[_0x4c63f8(0x28b)]&&((_0x2e47f6=this['_lastPointer'])==null?void 0x0:_0x2e47f6[_0x4c63f8(0x24a)])===_0x27c388[_0x4c63f8(0x24a)]||this[_0x4c63f8(0x2d2)][_0x4c63f8(0x25f)](_0x5aef9b=>{_0x5aef9b['onMouseMove'](_0x27c388);});},0x64));});}[_0x16274f(0x208)](_0x5ca088,_0x1e75b9){const _0x97cc4d=_0x16274f;var _0x49bc4a;const _0x29bb4d=(_0x49bc4a=this[_0x97cc4d(0x368)][_0x97cc4d(0x3e5)]())==null?void 0x0:_0x49bc4a['skeleton'];if(!_0x29bb4d)return;const _0x41b240=this[_0x97cc4d(0x283)]();if(!_0x41b240)return;this[_0x97cc4d(0x2d2)][_0x97cc4d(0x25f)](_0x1d16d4=>{const _0x5304b6=_0x97cc4d;_0x1d16d4[_0x5304b6(0x326)]();});const {scene:_0x20d28a}=_0x41b240,_0x15e84a=_0x2b1ddf(Array[_0x97cc4d(0x409)](_0x1e75b9['values']()))[_0x97cc4d(0x2f5)](_0x2cfcbf=>{const _0x543e08=_0x97cc4d,{color:_0x5ceed4,range:_0x263ebc,name:_0x6d53af,selection:_0x461126,sheetID:_0x31a490}=_0x2cfcbf,{startColumn:_0x41da46,startRow:_0x125ad8,endColumn:_0x42f22c,endRow:_0x153a43}=_0x263ebc,_0x110659=_0x2edf0b[_0x543e08(0x1c9)](_0x125ad8,_0x41da46,_0x20d28a,_0x29bb4d),_0x3c33cd=_0x2edf0b[_0x543e08(0x1c9)](_0x153a43,_0x42f22c,_0x20d28a,_0x29bb4d),{columnHeaderHeightAndMarginTop:_0x27ce7e}=_0x29bb4d,{startX:_0x488f78,startY:_0x1f7940}=_0x110659,{endX:_0xfedd5,endY:_0x3784c6}=_0x3c33cd,_0x1c7ae3=_0xfedd5-_0x488f78,_0x11ed1f=_0x3784c6-_0x1f7940,_0x57dd4a={'labelPosition':_0x1f7940-_0x27ce7e>=_0x254176?'top':_0x543e08(0x397),'sheetID':_0x31a490,'range':_0x263ebc,'color':_0x5ceed4,'name':_0x6d53af,'selection':_0x461126,'left':_0x488f78,'top':_0x1f7940,'width':_0x1c7ae3,'height':_0x11ed1f,'evented':!0x1,'zIndex':_0x1ef021};return new _0x5080a5(_0x6d53af,_0x57dd4a);});_0x20d28a[_0x97cc4d(0x2c2)](_0x15e84a,_0x666d15),this['_cursors']=new Set(_0x15e84a);}[_0x16274f(0x286)](){const _0x37a842=_0x16274f;var _0x527a68;(_0x527a68=this[_0x37a842(0x2d2)])==null||_0x527a68[_0x37a842(0x25f)](_0xb50d28=>_0xb50d28[_0x37a842(0x239)]());}[_0x16274f(0x283)](){const _0x10eaf0=_0x16274f;return _0x2edf0b[_0x10eaf0(0x2d0)](this[_0x10eaf0(0x1c0)][_0x10eaf0(0x335)],this['_context']);}};_0x1ea831=_0x266266([_0x187c8a(0x1,_0x1dbd07['Inject'](_0x2edf0b[_0x16274f(0x37c)])),_0x187c8a(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x2a1682)),_0x187c8a(0x3,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x30f)]))],_0x1ea831);function _0x2b1ddf(_0x1e2a59){const _0x16165f=_0x16274f,_0x427586=new Map();return _0x1e2a59[_0x16165f(0x25f)](_0x55be51=>{const _0x1540f9=_0x16165f;if(_0x427586[_0x1540f9(0x282)](_0x55be51[_0x1540f9(0x3a3)])){const _0x2c96e4=_0x427586[_0x1540f9(0x2fd)](_0x55be51[_0x1540f9(0x3a3)]);_0x2c96e4[_0x1540f9(0x35c)]+=',\x20'+_0x55be51['name'];}else _0x427586[_0x1540f9(0x28a)](_0x55be51['selection'],_0x55be51);}),Array[_0x16165f(0x409)](_0x427586[_0x16165f(0x38f)]());}var _0x5cb0cf=function(){const _0x3e4ddb=_0x16274f;return _0x5cb0cf=Object[_0x3e4ddb(0x319)]||function(_0x34cf63){const _0xd4ec73=_0x3e4ddb;for(var _0x1314a8,_0x2f7e0e=0x1,_0x71d7ed=arguments[_0xd4ec73(0x3bf)];_0x2f7e0e<_0x71d7ed;_0x2f7e0e++){_0x1314a8=arguments[_0x2f7e0e];for(var _0x5db377 in _0x1314a8)Object[_0xd4ec73(0x33c)][_0xd4ec73(0x1ec)][_0xd4ec73(0x412)](_0x1314a8,_0x5db377)&&(_0x34cf63[_0x5db377]=_0x1314a8[_0x5db377]);}return _0x34cf63;},_0x5cb0cf[_0x3e4ddb(0x297)](this,arguments);},_0x496b4b=function(_0x886173,_0x4b4aa2){const _0x23ab35=_0x16274f;var _0x57a53c={};for(var _0x55977c in _0x886173)Object[_0x23ab35(0x33c)]['hasOwnProperty'][_0x23ab35(0x412)](_0x886173,_0x55977c)&&_0x4b4aa2[_0x23ab35(0x22f)](_0x55977c)<0x0&&(_0x57a53c[_0x55977c]=_0x886173[_0x55977c]);if(_0x886173!=null&&typeof Object[_0x23ab35(0x25d)]==_0x23ab35(0x240)){for(var _0x59ffc1=0x0,_0x55977c=Object[_0x23ab35(0x25d)](_0x886173);_0x59ffc1<_0x55977c['length'];_0x59ffc1++)_0x4b4aa2[_0x23ab35(0x22f)](_0x55977c[_0x59ffc1])<0x0&&Object[_0x23ab35(0x33c)][_0x23ab35(0x444)][_0x23ab35(0x412)](_0x886173,_0x55977c[_0x59ffc1])&&(_0x57a53c[_0x55977c[_0x59ffc1]]=_0x886173[_0x55977c[_0x59ffc1]]);}return _0x57a53c;},_0x5b4a2e=_0x4888b4['forwardRef'](function(_0x1ccacf,_0x27b17c){const _0x117163=_0x16274f;var _0xc2f603=_0x1ccacf[_0x117163(0x221)],_0x19a51e=_0x1ccacf['id'],_0x399fda=_0x1ccacf[_0x117163(0x3e6)],_0x415fbf=_0x1ccacf['extend'],_0x1ff627=_0x496b4b(_0x1ccacf,[_0x117163(0x221),'id','className','extend']),_0xa84f88='univerjs-icon\x20univerjs-icon-'[_0x117163(0x2d9)](_0x19a51e,'\x20')[_0x117163(0x2d9)](_0x399fda||'')[_0x117163(0x2f3)](),_0x51d5f2=_0x4888b4[_0x117163(0x230)]('_'[_0x117163(0x2d9)](_0x222a88()));return _0x507f33(_0xc2f603,''[_0x117163(0x2d9)](_0x19a51e),{'defIds':_0xc2f603[_0x117163(0x2ad)],'idSuffix':_0x51d5f2[_0x117163(0x226)]},_0x5cb0cf({'ref':_0x27b17c,'className':_0xa84f88},_0x1ff627),_0x415fbf);});function _0x507f33(_0x4761fc,_0x2f31bb,_0x234c23,_0x2e7ce7,_0x47a1e6){const _0x404d63=_0x16274f;return _0x4888b4[_0x404d63(0x3e0)](_0x4761fc['tag'],_0x5cb0cf(_0x5cb0cf({'key':_0x2f31bb},_0x16e297(_0x4761fc,_0x234c23,_0x47a1e6)),_0x2e7ce7),(_0x584f59(_0x4761fc,_0x234c23)[_0x404d63(0x2d5)]||[])['map'](function(_0x1e02a5,_0x4ab72f){const _0x3d4916=_0x404d63;return _0x507f33(_0x1e02a5,''[_0x3d4916(0x2d9)](_0x2f31bb,'-')[_0x3d4916(0x2d9)](_0x4761fc[_0x3d4916(0x267)],'-')[_0x3d4916(0x2d9)](_0x4ab72f),_0x234c23,void 0x0,_0x47a1e6);}));}function _0x16e297(_0x538c3b,_0xf00dde,_0x1b2008){const _0x493a78=_0x16274f;var _0x87e884=_0x5cb0cf({},_0x538c3b[_0x493a78(0x384)]);_0x1b2008!=null&&_0x1b2008[_0x493a78(0x22a)]&&_0x87e884['fill']===_0x493a78(0x22a)&&(_0x87e884[_0x493a78(0x30b)]=_0x1b2008[_0x493a78(0x22a)]),_0x538c3b[_0x493a78(0x267)]===_0x493a78(0x3c2)&&_0x87e884['id']&&(_0x87e884['id']=_0x87e884['id']+_0xf00dde[_0x493a78(0x3fa)]),Object[_0x493a78(0x259)](_0x87e884)[_0x493a78(0x25f)](function(_0x56d196){const _0x537aa6=_0x493a78;var _0x409ad9=_0x56d196[0x0],_0x4f758e=_0x56d196[0x1];_0x409ad9===_0x537aa6(0x3c2)&&typeof _0x4f758e=='string'&&(_0x87e884[_0x409ad9]=_0x4f758e['replace'](/url\(#(.*)\)/,'url(#$1'[_0x537aa6(0x2d9)](_0xf00dde[_0x537aa6(0x3fa)],')')));});var _0x1c6652=_0xf00dde['defIds'];return!_0x1c6652||_0x1c6652['length']===0x0||(_0x538c3b[_0x493a78(0x267)]===_0x493a78(0x1bf)&&_0x87e884[_0x493a78(0x24e)]&&(_0x87e884[_0x493a78(0x24e)]=_0x87e884[_0x493a78(0x24e)]+_0xf00dde[_0x493a78(0x3fa)]),Object[_0x493a78(0x259)](_0x87e884)['forEach'](function(_0x5995a6){const _0x2b2adc=_0x493a78;var _0x7b8f58=_0x5995a6[0x0],_0x19a643=_0x5995a6[0x1];typeof _0x19a643=='string'&&(_0x87e884[_0x7b8f58]=_0x19a643[_0x2b2adc(0x3b4)](/url\(#(.*)\)/,_0x2b2adc(0x1ea)[_0x2b2adc(0x2d9)](_0xf00dde[_0x2b2adc(0x3fa)],')')));})),_0x87e884;}function _0x584f59(_0x1db1f6,_0x362d83){const _0x552c0f=_0x16274f;var _0x2a0568,_0x22b3ee=_0x362d83[_0x552c0f(0x2ad)];return!_0x22b3ee||_0x22b3ee[_0x552c0f(0x3bf)]===0x0?_0x1db1f6:_0x1db1f6[_0x552c0f(0x267)]===_0x552c0f(0x366)&&(!((_0x2a0568=_0x1db1f6[_0x552c0f(0x2d5)])===null||_0x2a0568===void 0x0)&&_0x2a0568[_0x552c0f(0x3bf)])?_0x5cb0cf(_0x5cb0cf({},_0x1db1f6),{'children':_0x1db1f6[_0x552c0f(0x2d5)][_0x552c0f(0x2f5)](function(_0x5dc605){const _0x4e9761=_0x552c0f;return typeof _0x5dc605[_0x4e9761(0x384)]['id']==_0x4e9761(0x379)&&_0x22b3ee&&_0x22b3ee['indexOf'](_0x5dc605[_0x4e9761(0x384)]['id'])>-0x1?_0x5cb0cf(_0x5cb0cf({},_0x5dc605),{'attrs':_0x5cb0cf(_0x5cb0cf({},_0x5dc605[_0x4e9761(0x384)]),{'id':_0x5dc605['attrs']['id']+_0x362d83[_0x4e9761(0x3fa)]})}):_0x5dc605;})}):_0x1db1f6;}function _0x222a88(){const _0x28266b=_0x16274f;return Math[_0x28266b(0x448)]()[_0x28266b(0x385)](0x24)[_0x28266b(0x301)](0x2,0x8);}_0x5b4a2e[_0x16274f(0x2b6)]='UniverIcon';var _0x2022f4={'tag':_0x16274f(0x3f9),'attrs':{'fill':_0x16274f(0x43b),'viewBox':'0\x200\x2016\x2016','width':_0x16274f(0x21a),'height':_0x16274f(0x21a)},'children':[{'tag':'g','attrs':{'clipPath':_0x16274f(0x20c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x16274f(0x29d),'strokeLinecap':_0x16274f(0x3ed),'strokeLinejoin':_0x16274f(0x3ed),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x16274f(0x331),'attrs':{'id':_0x16274f(0x1f7)},'children':[{'tag':_0x16274f(0x31e),'attrs':{'fill':_0x16274f(0x3b6),'d':_0x16274f(0x327)}}]}]}],'defIds':[_0x16274f(0x1f7)]},_0x4079e0=_0x4888b4[_0x16274f(0x2a7)](function(_0x1666f9,_0x1a0a06){const _0x398b67=_0x16274f;return _0x4888b4['createElement'](_0x5b4a2e,Object[_0x398b67(0x319)]({},_0x1666f9,{'id':'off-line-single','ref':_0x1a0a06,'icon':_0x2022f4}));});_0x4079e0[_0x16274f(0x2b6)]=_0x16274f(0x1f4);var _0x3ecf75={'tag':_0x16274f(0x3f9),'attrs':{'fill':_0x16274f(0x43b),'viewBox':'0\x200\x2017\x2016','width':_0x16274f(0x21a),'height':_0x16274f(0x21a)},'children':[{'tag':'g','attrs':{'clipPath':_0x16274f(0x3b2)},'children':[{'tag':_0x16274f(0x31e),'attrs':{'stroke':_0x16274f(0x1cf),'d':_0x16274f(0x364),'strokeLinecap':'round','strokeLinejoin':_0x16274f(0x3ed),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x16274f(0x3f0)},'children':[{'tag':_0x16274f(0x31e),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x16274f(0x1bb)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x27e7a8=_0x4888b4[_0x16274f(0x2a7)](function(_0x32b1b5,_0x1a7a05){const _0x5a4446=_0x16274f;return _0x4888b4[_0x5a4446(0x3e0)](_0x5b4a2e,Object['assign']({},_0x32b1b5,{'id':_0x5a4446(0x1e1),'ref':_0x1a7a05,'icon':_0x3ecf75}));});_0x27e7a8[_0x16274f(0x2b6)]=_0x16274f(0x39f);const _0xb9e3c7={'onlineStatusIcon':_0x16274f(0x25a),'onlineStatusTitle':_0x16274f(0x3b0),'onlineStatus':_0x16274f(0x322),'online':'univer-online','offline':'univer-offline'};function _0x219f7c(_0x30b8df){const _0x39f0e1=_0x16274f;switch(_0x30b8df){case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x1ce)]:return'collabStatus.offline';case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x1dd)]:return _0x39f0e1(0x42d);case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x269)]:return _0x39f0e1(0x3e9);case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x305)]:return _0x39f0e1(0x440);case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x2b1)]:case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x3e3)]:return _0x39f0e1(0x3d3);case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x3d9)]:case _0x27a090[_0x39f0e1(0x3ca)][_0x39f0e1(0x36d)]:return _0x39f0e1(0x296);}}function _0x10dea0(_0x304148){const _0x1556cb=_0x16274f,{status$:_0x50abf2}=_0x304148,_0x2c953f=_0x10c440[_0x1556cb(0x38e)](_0x50abf2,_0x27a090[_0x1556cb(0x3ca)][_0x1556cb(0x305)]),_0x54ffd8=_0x10c440[_0x1556cb(0x398)](_0x1dbd07[_0x1556cb(0x3c5)]),_0x290b94=_0x10c440[_0x1556cb(0x398)](_0x27a090[_0x1556cb(0x1eb)]),_0x4ac4cf=_0x2c953f!==_0x27a090['CollaborationStatus'][_0x1556cb(0x1ce)],_0x341869=_0x54ffd8['t'](_0x219f7c(_0x2c953f)),_0x553695=_0x35f834[_0x1556cb(0x3a0)](_0xb9e3c7[_0x1556cb(0x1c1)],{[_0xb9e3c7[_0x1556cb(0x41d)]]:_0x4ac4cf,[_0xb9e3c7[_0x1556cb(0x436)]]:!_0x4ac4cf}),_0x44f140=_0x4ac4cf?_0x568adf[_0x1556cb(0x2aa)](_0x27e7a8,{}):_0x568adf[_0x1556cb(0x2aa)](_0x4079e0,{}),_0x4e968e=_0x4888b4[_0x1556cb(0x258)](()=>{_0x4ac4cf||_0x290b94['reconnect']();},[_0x4ac4cf,_0x290b94]);function _0x1971df(){const _0x4409ee=_0x1556cb;return _0x568adf['jsxs'](_0x4409ee(0x2e3),{'className':_0x35f834[_0x4409ee(0x3a0)](_0x553695,_0x4409ee(0x229)),'onClick':_0x4e968e,'children':[_0x568adf[_0x4409ee(0x2aa)](_0x4409ee(0x2e3),{'className':_0xb9e3c7['onlineStatusIcon'],'children':_0x44f140}),_0x568adf['jsx'](_0x4409ee(0x2e3),{'className':_0xb9e3c7[_0x4409ee(0x2f2)],'children':_0x341869})]});}return _0x4ac4cf?_0x1971df():_0x568adf[_0x1556cb(0x2aa)](_0x35f834[_0x1556cb(0x2af)],{'title':_0x54ffd8['t'](_0x1556cb(0x434)),'children':_0x1971df()});}var _0x1b0547=Object['getOwnPropertyDescriptor'],_0x43ccef=(_0x5cc9ae,_0x5dae90,_0x35cb26,_0x4f452b)=>{for(var _0x469346=_0x4f452b>0x1?void 0x0:_0x4f452b?_0x1b0547(_0x5dae90,_0x35cb26):_0x5dae90,_0x16c303=_0x5cc9ae['length']-0x1,_0x4a4a9b;_0x16c303>=0x0;_0x16c303--)(_0x4a4a9b=_0x5cc9ae[_0x16c303])&&(_0x469346=_0x4a4a9b(_0x469346)||_0x469346);return _0x469346;},_0x18b5af=(_0x4de3b3,_0x42208a)=>(_0x359ff7,_0x3527e9)=>_0x42208a(_0x359ff7,_0x3527e9,_0x4de3b3);_0x33bede[_0x16274f(0x217)]=class extends _0x1dbd07['Disposable']{constructor(_0x5b9449,_0x174ba4,_0x2b55f6,_0x2d9156){const _0x3cd4f5=_0x16274f;super(),_0x128bdb(this,'_status$',new _0x2f5231[(_0x3cd4f5(0x407))](_0x27a090[_0x3cd4f5(0x3ca)][_0x3cd4f5(0x305)])),(this['_univerInstanceService']=_0x5b9449,this['_injector']=_0x174ba4,this[_0x3cd4f5(0x26b)]=_0x2b55f6,this[_0x3cd4f5(0x360)]=_0x2d9156,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x16274f(0x25e)](){const _0x2338ea=_0x16274f;this[_0x2338ea(0x36f)](this[_0x2338ea(0x455)][_0x2338ea(0x3da)][_0x2338ea(0x250)](_0x2f5231[_0x2338ea(0x3d6)](()=>{const _0x2dd1e9=_0x2338ea,_0xc59135=this[_0x2dd1e9(0x455)][_0x2dd1e9(0x387)]();return _0xc59135?this[_0x2dd1e9(0x26b)][_0x2dd1e9(0x3d5)](_0xc59135[_0x2dd1e9(0x1b6)]()):_0x2f5231['of'](null);}),_0x2f5231[_0x2338ea(0x3d6)](_0x654dc9=>_0x654dc9?_0x654dc9['status$']:_0x2f5231['of'](_0x27a090['CollaborationStatus']['NOT_COLLAB'])))[_0x2338ea(0x261)](_0x2f54e0=>{const _0x2a7178=_0x2338ea;this[_0x2a7178(0x31a)][_0x2a7178(0x341)](_0x2f54e0);}));}['_initStatusComponent'](){const _0x2387e8=_0x16274f;this[_0x2387e8(0x36f)](this[_0x2387e8(0x360)][_0x2387e8(0x3d8)](_0x10c440[_0x2387e8(0x350)][_0x2387e8(0x1c6)],()=>_0x10c440[_0x2387e8(0x339)](_0x1eba4d({'status$':this['_status$']['asObservable']()}),this[_0x2387e8(0x313)])));}},_0x33bede[_0x16274f(0x217)]=_0x43ccef([_0x18b5af(0x0,_0x1dbd07[_0x16274f(0x26f)]),_0x18b5af(0x1,_0x1dbd07['Inject'](_0x1dbd07['Injector'])),_0x18b5af(0x2,_0x1dbd07['Inject'](_0x27a090['CollaborationController'])),_0x18b5af(0x3,_0x10c440['IUIPartsService'])],_0x33bede[_0x16274f(0x217)]);function _0x1eba4d(_0x42c687){const {status$:_0x1d6dd1}=_0x42c687;return function(){return _0x568adf['jsx'](_0x10dea0,{'status$':_0x1d6dd1});};}var _0x1fbad5=Object[_0x16274f(0x381)],_0x50fae8=(_0x1153c8,_0x53b7b1,_0x5b20a2,_0x15db44)=>{const _0x3a180c=_0x16274f;for(var _0x4ca4a4=_0x15db44>0x1?void 0x0:_0x15db44?_0x1fbad5(_0x53b7b1,_0x5b20a2):_0x53b7b1,_0xc14c6f=_0x1153c8[_0x3a180c(0x3bf)]-0x1,_0x4ca55e;_0xc14c6f>=0x0;_0xc14c6f--)(_0x4ca55e=_0x1153c8[_0xc14c6f])&&(_0x4ca4a4=_0x4ca55e(_0x4ca4a4)||_0x4ca4a4);return _0x4ca4a4;},_0x3383f0=(_0x1115d1,_0x4239c9)=>(_0x59f6da,_0x2ea517)=>_0x4239c9(_0x59f6da,_0x2ea517,_0x1115d1);let _0x225f9a=class extends _0x1dbd07[_0x16274f(0x422)]{constructor(_0x2eebae,_0x5e9b65,_0x4812ec,_0x5a39f2,_0x490684,_0x22ce07){const _0x3d09e0=_0x16274f;super(),this[_0x3d09e0(0x38c)]=_0x2eebae,this['_localCacheService']=_0x5e9b65,this[_0x3d09e0(0x2b8)]=_0x4812ec,this[_0x3d09e0(0x37d)]=_0x5a39f2,this[_0x3d09e0(0x40b)]=_0x490684,this[_0x3d09e0(0x238)]=_0x22ce07,this[_0x3d09e0(0x3cd)](),this[_0x3d09e0(0x40a)]();}[_0x16274f(0x3cd)](){const _0x357ddc=_0x16274f;this[_0x357ddc(0x36f)](this[_0x357ddc(0x38c)][_0x357ddc(0x3a2)](()=>{const _0x33b504=_0x357ddc;if(this[_0x33b504(0x1ef)]['saveTaskMap'][_0x33b504(0x2ca)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x16274f(0x40a)](){const _0x457f51=_0x16274f;this[_0x457f51(0x36f)](this[_0x457f51(0x2b8)][_0x457f51(0x30c)][_0x457f51(0x261)](_0x2e420f=>{const _0x19053a=_0x457f51;_0x2e420f['id']===_0x27a090['CollaborationUIEventId'][_0x19053a(0x30a)]&&this['_messageService'][_0x19053a(0x346)]({'type':_0x35f834[_0x19053a(0x234)][_0x19053a(0x281)],'content':this[_0x19053a(0x238)]['t'](_0x19053a(0x200))}),_0x2e420f['id']===_0x27a090[_0x19053a(0x1cc)][_0x19053a(0x408)]&&this['_messageService'][_0x19053a(0x346)]({'type':_0x35f834[_0x19053a(0x234)][_0x19053a(0x281)],'content':this[_0x19053a(0x238)]['t']('collaboration.closeRoom')}),_0x2e420f['id']===_0x27a090['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x19053a(0x40b)][_0x19053a(0x346)]({'title':this['_localeService']['t'](_0x19053a(0x202)),'content':this[_0x19053a(0x238)]['t'](_0x19053a(0x2b2)),'type':_0x19053a(0x33a),'duration':0x0}),_0x2e420f['id']===_0x27a090[_0x19053a(0x1cc)][_0x19053a(0x1dd)]&&this[_0x19053a(0x37d)]['show']({'type':_0x35f834['MessageType'][_0x19053a(0x28e)],'content':this['_localeService']['t'](_0x19053a(0x260))+'('+_0x2e420f[_0x19053a(0x1fe)]+')'}),_0x2e420f['id']===_0x27a090[_0x19053a(0x1cc)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x35f834['MessageType'][_0x19053a(0x281)],'content':this[_0x19053a(0x238)]['t'](_0x2e420f['data']||'')}),_0x2e420f['id']===_0x27a090[_0x19053a(0x1cc)]['SOCKET_FAILED_RETRY']&&this[_0x19053a(0x37d)]['show']({'type':_0x35f834[_0x19053a(0x234)]['Warning'],'content':this[_0x19053a(0x238)]['t'](_0x19053a(0x277))}),_0x2e420f['id']===_0x27a090['CollaborationUIEventId'][_0x19053a(0x210)]&&this[_0x19053a(0x37d)][_0x19053a(0x346)]({'type':_0x35f834['MessageType']['Error'],'content':this['_localeService']['t'](_0x19053a(0x36e))}),_0x2e420f['id']===_0x27a090['CollaborationUIEventId'][_0x19053a(0x2a0)]&&this[_0x19053a(0x37d)][_0x19053a(0x346)]({'type':_0x35f834[_0x19053a(0x234)]['Error'],'content':this[_0x19053a(0x238)]['t'](_0x19053a(0x223))});}));}};_0x225f9a=_0x50fae8([_0x3383f0(0x0,_0x10c440[_0x16274f(0x21c)]),_0x3383f0(0x1,_0x27a090['ILocalCacheService']),_0x3383f0(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x27a090[_0x16274f(0x256)])),_0x3383f0(0x3,_0x10c440[_0x16274f(0x2e1)]),_0x3383f0(0x4,_0x10c440[_0x16274f(0x1c4)]),_0x3383f0(0x5,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x3c5)]))],_0x225f9a);const _0x273be3=_0x16274f(0x31b),_0x164b50={},_0x51a990=_0x1dbd07[_0x16274f(0x1e5)]('uni.network.url-service');var _0x35f7e4=Object[_0x16274f(0x381)],_0xc0817=(_0x60fdc6,_0x18bae2,_0x3d5827,_0x11f246)=>{const _0x508029=_0x16274f;for(var _0x20bf69=_0x11f246>0x1?void 0x0:_0x11f246?_0x35f7e4(_0x18bae2,_0x3d5827):_0x18bae2,_0x4250b4=_0x60fdc6[_0x508029(0x3bf)]-0x1,_0x2b47b9;_0x4250b4>=0x0;_0x4250b4--)(_0x2b47b9=_0x60fdc6[_0x4250b4])&&(_0x20bf69=_0x2b47b9(_0x20bf69)||_0x20bf69);return _0x20bf69;},_0x402d0b=(_0x3dfce0,_0x3ca241)=>(_0x806129,_0x5b3507)=>_0x3ca241(_0x806129,_0x5b3507,_0x3dfce0);_0x33bede[_0x16274f(0x21e)]=class extends _0x1dbd07[_0x16274f(0x3ee)]{constructor(_0x489658,_0x9ba6b2,_0x561f45,_0x36cdaf,_0x2c0359){const _0x4e287d=_0x16274f;super(),this[_0x4e287d(0x3a4)]=_0x489658,this[_0x4e287d(0x2c7)]=_0x9ba6b2,this[_0x4e287d(0x43f)]=_0x561f45,this[_0x4e287d(0x298)]=_0x36cdaf,_0x2c0359?_0x2c0359==null||_0x2c0359[_0x4e287d(0x369)]()[_0x4e287d(0x372)](()=>this[_0x4e287d(0x35f)]()):(this[_0x4e287d(0x2c7)]['debug'](_0x4e287d(0x34e),_0x4e287d(0x204)),this[_0x4e287d(0x35f)]());}async[_0x16274f(0x35f)](){const _0x133db6=_0x16274f,_0x2d3a7d=this['_urlService'][_0x133db6(0x378)]('unit'),_0x71a42f=this[_0x133db6(0x3a4)][_0x133db6(0x378)](_0x133db6(0x2a5)),_0x3f8332=this[_0x133db6(0x3a4)][_0x133db6(0x378)]('subunit');if(!_0x2d3a7d||!_0x71a42f){this['_logService'][_0x133db6(0x3aa)](_0x133db6(0x34e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1222b1=await this['_dataLoaderService']['loadUnit'](_0x2d3a7d,Number(_0x71a42f),_0x3f8332);_0x1222b1&&_0x1222b1 instanceof _0x1dbd07[_0x133db6(0x23f)]&&this[_0x133db6(0x3c4)](_0x1222b1);}async['_setupSubUnitSync'](_0x4cef7f){const _0x3a915d=_0x16274f;await this['_updateSubUnitFromURLParams'](_0x4cef7f),_0x4cef7f[_0x3a915d(0x2cf)]['pipe'](_0x2f5231[_0x3a915d(0x453)](this[_0x3a915d(0x449)]))[_0x3a915d(0x261)](_0x43d992=>{_0x43d992&&this['_updateURLWithCurrentState'](_0x43d992);}),this[_0x3a915d(0x3a4)][_0x3a915d(0x228)][_0x3a915d(0x250)](_0x2f5231[_0x3a915d(0x453)](this[_0x3a915d(0x449)]))[_0x3a915d(0x261)](()=>this[_0x3a915d(0x26c)](_0x4cef7f));}['_updateURLWithCurrentState'](_0xc25158,_0x7bea61=!0x1){const _0x19407d=_0x16274f,_0x4160ad=this[_0x19407d(0x3a4)]['getParam'](_0x19407d(0x299));_0xc25158[_0x19407d(0x37b)]()!==_0x4160ad&&this[_0x19407d(0x3a4)][_0x19407d(0x3cb)](_0x19407d(0x299),_0xc25158[_0x19407d(0x37b)](),_0x7bea61);}async[_0x16274f(0x26c)](_0x6ff8b9){const _0xd644cf=_0x16274f;var _0x2ca51f;const _0x423663=this[_0xd644cf(0x3a4)]['getParam'](_0xd644cf(0x299));if(!_0x423663||!_0x6ff8b9[_0xd644cf(0x2d6)](_0x423663)){const _0x4c3031=_0x6ff8b9[_0xd644cf(0x3dd)]()[0x0],_0x27af0e=_0x6ff8b9[_0xd644cf(0x2d6)](_0x4c3031);if(!_0x27af0e)return;this[_0xd644cf(0x44e)](_0x27af0e,!0x0),await this['_commandService'][_0xd644cf(0x367)](_0x20ef79[_0xd644cf(0x345)]['id'],{'unitId':_0x6ff8b9[_0xd644cf(0x1b6)](),'subUnitId':_0x4c3031});return;}((_0x2ca51f=_0x6ff8b9['getActiveSheet']())==null?void 0x0:_0x2ca51f[_0xd644cf(0x37b)]())!==_0x423663&&await this[_0xd644cf(0x43f)][_0xd644cf(0x367)](_0x20ef79[_0xd644cf(0x345)]['id'],{'unitId':_0x6ff8b9[_0xd644cf(0x1b6)](),'subUnitId':_0x423663});}},_0x33bede[_0x16274f(0x21e)]=_0xc0817([_0x402d0b(0x0,_0x51a990),_0x402d0b(0x1,_0x1dbd07['ILogService']),_0x402d0b(0x2,_0x1dbd07[_0x16274f(0x430)]),_0x402d0b(0x3,_0x1dbd07[_0x16274f(0x21f)](_0x27a090['DataLoaderService'])),_0x402d0b(0x4,_0x1dbd07['Optional'](_0x13ace6['IRemoteInstanceService']))],_0x33bede['CollaborationDataLoaderController']);var _0x25cce8=Object['getOwnPropertyDescriptor'],_0x1573a8=(_0x3c8b31,_0x45a5bf,_0x2b104a,_0x42f2dd)=>{for(var _0x2cf086=_0x42f2dd>0x1?void 0x0:_0x42f2dd?_0x25cce8(_0x45a5bf,_0x2b104a):_0x45a5bf,_0xb2e608=_0x3c8b31['length']-0x1,_0x190eb3;_0xb2e608>=0x0;_0xb2e608--)(_0x190eb3=_0x3c8b31[_0xb2e608])&&(_0x2cf086=_0x190eb3(_0x2cf086)||_0x2cf086);return _0x2cf086;},_0x395e8d=(_0x40d400,_0x1b8398)=>(_0x2d88ca,_0x4388ea)=>_0x1b8398(_0x2d88ca,_0x4388ea,_0x40d400);let _0x2c5930=class{constructor(_0x12dc1c,_0x10bdff,_0x380ddb){const _0x4b55de=_0x16274f;this[_0x4b55de(0x313)]=_0x12dc1c,this[_0x4b55de(0x1cb)]=_0x10bdff,this['_renderManagerService']=_0x380ddb;}[_0x16274f(0x3cc)](_0x5e1c84){const _0x574bb1=_0x16274f;this[_0x574bb1(0x2e7)](_0x5e1c84),this['_transformPreviousActiveRange'](_0x5e1c84);}[_0x16274f(0x36c)](_0x155011){const _0x368d8b=_0x16274f,{unitID:_0xa3a9a2}=_0x155011,_0x7123e5=this['_renderManagerService'][_0x368d8b(0x242)](_0xa3a9a2)[_0x368d8b(0x264)](_0xae662a[_0x368d8b(0x212)]),{redoCache:_0x4da097}=_0x7123e5[_0x368d8b(0x44a)]();if(_0x4da097[_0x368d8b(0x3bf)]===0x0)return _0x155011;let _0x59d8b6=_0x1dbd07[_0x368d8b(0x320)][_0x368d8b(0x1d7)](_0x155011[_0x368d8b(0x37f)][0x0]);for(let _0x8e85ee=0x0;_0x8e85ee<_0x4da097[_0x368d8b(0x3bf)];_0x8e85ee++){const _0x5b1523={'id':_0x368d8b(0x231),'params':{..._0x4da097[_0x8e85ee]}},_0x4f7cbd=this[_0x368d8b(0x1cb)][_0x368d8b(0x34b)](_0x59d8b6,_0x5b1523,!0x1);if(_0x84ca95[_0x368d8b(0x363)](_0x4f7cbd))throw _0x4f7cbd['error'];_0x59d8b6=_0x4f7cbd[_0x368d8b(0x20b)];}return{..._0x1dbd07['Tools'][_0x368d8b(0x1d7)](_0x155011),'mutations':[_0x59d8b6]};}['_transformUndoRedoStack'](_0x426534){const _0x566d53=_0x16274f,{unitID:_0x158ff5}=_0x426534,_0x5edf5e=this[_0x566d53(0x43a)]['getRenderById'](_0x158ff5)[_0x566d53(0x264)](_0xae662a['DocIMEInputManagerService']),{undoCache:_0x217947,redoCache:_0x14407a}=_0x5edf5e['getUndoRedoMutationParamsCache']();if(_0x217947[_0x566d53(0x3bf)]===0x0||_0x14407a[_0x566d53(0x3bf)]===0x0)return;const _0xa1a8b7=[],_0x108b15=[];let _0x1dec79=_0x1dbd07[_0x566d53(0x320)]['deepClone'](_0x426534[_0x566d53(0x37f)][0x0]),_0x4dd671=_0x1dbd07['Tools'][_0x566d53(0x1d7)](_0x426534[_0x566d53(0x37f)][0x0]);for(let _0x49ec44=_0x217947[_0x566d53(0x3bf)]-0x1;_0x49ec44>=0x0;_0x49ec44--){const _0x21e3d7={'id':'doc.mutation.rich-text-editing','params':{..._0x217947[_0x49ec44]}},_0x310631={'id':_0x566d53(0x231),'params':{..._0x14407a[_0x49ec44]}},_0x2866c6=this['_transformService'][_0x566d53(0x34b)](_0x1dec79,_0x21e3d7,!0x1),_0xc7f4bd=this['_transformService']['transformMutation'](_0x4dd671,_0x310631,!0x1);if(_0x84ca95[_0x566d53(0x363)](_0x2866c6))throw _0x2866c6[_0x566d53(0x33a)];if(_0x84ca95[_0x566d53(0x363)](_0xc7f4bd))throw _0xc7f4bd[_0x566d53(0x33a)];_0xa1a8b7[_0x566d53(0x312)](_0x2866c6[_0x566d53(0x3f6)][_0x566d53(0x21b)]),_0x108b15[_0x566d53(0x312)](_0xc7f4bd['m2Prime'][_0x566d53(0x21b)]),_0x1dec79=_0x2866c6[_0x566d53(0x20b)],_0x4dd671=_0xc7f4bd['m1Prime'];}_0x5edf5e[_0x566d53(0x2ba)]({'undoCache':_0xa1a8b7,'redoCache':_0x108b15});}[_0x16274f(0x235)](_0x44330c){const _0x17bb74=_0x16274f,{unitID:_0xb1c0a5}=_0x44330c,_0x2a0501=this[_0x17bb74(0x43a)][_0x17bb74(0x242)](_0xb1c0a5)['with'](_0xae662a['DocIMEInputManagerService']),_0x378129=_0x2a0501['getActiveRange']();if(_0x378129==null)return;const _0x13421a=[{'id':_0x17bb74(0x231),'params':{'unitId':_0x44330c['unitID'],'actions':null,'textRanges':[_0x378129]}}],_0x12ce0a=this[_0x17bb74(0x1cb)]['transformMutationsWithChangeset'](_0x44330c,_0x13421a);if(!_0x84ca95['isTransformMutationsWithChangesetSuccess'](_0x12ce0a))throw _0x12ce0a[_0x17bb74(0x33a)];const _0x18f489=_0x12ce0a[_0x17bb74(0x3f6)][0x0][_0x17bb74(0x21b)][_0x17bb74(0x29a)];Array[_0x17bb74(0x20e)](_0x18f489)&&_0x18f489[_0x17bb74(0x3bf)]&&_0x2a0501[_0x17bb74(0x26a)](_0x18f489[0x0]);}};_0x2c5930=_0x1573a8([_0x395e8d(0x0,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x252)])),_0x395e8d(0x1,_0x84ca95['ITransformService']),_0x395e8d(0x2,_0x32562c['IRenderManagerService'])],_0x2c5930);var _0x473836=Object[_0x16274f(0x381)],_0x3c3e2d=(_0x16cf68,_0x19468b,_0x301a08,_0xda8f7f)=>{for(var _0x5e61f9=_0xda8f7f>0x1?void 0x0:_0xda8f7f?_0x473836(_0x19468b,_0x301a08):_0x19468b,_0x268320=_0x16cf68['length']-0x1,_0x527112;_0x268320>=0x0;_0x268320--)(_0x527112=_0x16cf68[_0x268320])&&(_0x5e61f9=_0x527112(_0x5e61f9)||_0x5e61f9);return _0x5e61f9;},_0x84d114=(_0x5c4ee9,_0x3818d4)=>(_0x1d5b20,_0x4f7aad)=>_0x3818d4(_0x1d5b20,_0x4f7aad,_0x5c4ee9);let _0x33888f=class{constructor(_0x50be5c,_0x5ac445,_0x5b0095){const _0x5e329a=_0x16274f;this['_injector']=_0x50be5c,this['_transformService']=_0x5ac445,this[_0x5e329a(0x2ef)]=_0x5b0095;}[_0x16274f(0x2c6)](_0x45a7cd){const _0xd875eb=_0x16274f;this[_0xd875eb(0x300)](_0x45a7cd);}[_0x16274f(0x36c)](_0x11220a){const _0x3ebd9d=_0x16274f,{unitID:_0x2cd447}=_0x11220a,{collaboration:_0x1726ae}=this[_0x3ebd9d(0x2ef)][_0x3ebd9d(0x2f6)](_0x2cd447);if(_0x1726ae['length']===0x0)return _0x11220a;let _0x34701d=_0x1dbd07[_0x3ebd9d(0x320)][_0x3ebd9d(0x1d7)](_0x11220a[_0x3ebd9d(0x37f)][0x0]);for(let _0x42ee5d=0x0;_0x42ee5d<_0x1726ae[_0x3ebd9d(0x3bf)];_0x42ee5d++){const _0x1e4fda={'id':_0x3ebd9d(0x231),'params':{'unitId':_0x1726ae[_0x42ee5d][_0x3ebd9d(0x262)],..._0x1726ae[_0x42ee5d]['redoState']}},_0x598ed6=this['_transformService'][_0x3ebd9d(0x34b)](_0x34701d,_0x1e4fda,!0x1);if(_0x84ca95[_0x3ebd9d(0x363)](_0x598ed6))throw _0x598ed6[_0x3ebd9d(0x33a)];_0x34701d=_0x598ed6[_0x3ebd9d(0x20b)];}return{..._0x1dbd07[_0x3ebd9d(0x320)]['deepClone'](_0x11220a),'mutations':[_0x34701d]};}['_transformHistoryAndStateStack'](_0x8430e3){const _0x269e35=_0x16274f,{unitID:_0x575aed}=_0x8430e3,{history:_0x414d4b,collaboration:_0x3ff98a}=this[_0x269e35(0x2ef)][_0x269e35(0x2f6)](_0x575aed);if(_0x414d4b[_0x269e35(0x3bf)]===0x0&&_0x3ff98a['length']===0x0)return;const _0x5eea05=[],_0x5ae8ef=[];let _0x642009=_0x1dbd07[_0x269e35(0x320)][_0x269e35(0x1d7)](_0x8430e3[_0x269e35(0x37f)][0x0]),_0x4e3898=_0x1dbd07[_0x269e35(0x320)]['deepClone'](_0x8430e3[_0x269e35(0x37f)][0x0]);for(let _0x4a8eff=_0x414d4b[_0x269e35(0x3bf)]-0x1;_0x4a8eff>=0x0;_0x4a8eff--){const _0x503c02={'id':_0x269e35(0x231),'params':{'unitId':_0x414d4b[_0x4a8eff][_0x269e35(0x262)],..._0x414d4b[_0x4a8eff][_0x269e35(0x42f)]}},_0xa66bc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x414d4b[_0x4a8eff]['unitId'],..._0x414d4b[_0x4a8eff][_0x269e35(0x1ee)]}},_0x358ce0=this[_0x269e35(0x1cb)]['transformMutation'](_0x642009,_0x503c02,!0x1),_0xca3298=this[_0x269e35(0x1cb)][_0x269e35(0x34b)](_0x4e3898,_0xa66bc,!0x1);if(_0x84ca95[_0x269e35(0x363)](_0x358ce0))throw _0x358ce0['error'];if(_0x84ca95[_0x269e35(0x363)](_0xca3298))throw _0xca3298[_0x269e35(0x33a)];_0x5eea05[_0x269e35(0x312)]({..._0x414d4b[_0x4a8eff],'undoState':_0x358ce0[_0x269e35(0x3f6)]['params'],'redoState':_0xca3298[_0x269e35(0x3f6)][_0x269e35(0x21b)]}),_0x642009=_0x358ce0['m1Prime'],_0x4e3898=_0xca3298[_0x269e35(0x20b)];}_0x642009=_0x1dbd07[_0x269e35(0x320)]['deepClone'](_0x8430e3[_0x269e35(0x37f)][0x0]),_0x4e3898=_0x1dbd07[_0x269e35(0x320)][_0x269e35(0x1d7)](_0x8430e3[_0x269e35(0x37f)][0x0]);for(let _0x57880e=_0x3ff98a[_0x269e35(0x3bf)]-0x1;_0x57880e>=0x0;_0x57880e--){const _0x4edb03={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ff98a[_0x57880e]['unitId'],..._0x3ff98a[_0x57880e][_0x269e35(0x42f)]}},_0x40ae0d={'id':_0x269e35(0x231),'params':{'unitId':_0x3ff98a[_0x57880e][_0x269e35(0x262)],..._0x3ff98a[_0x57880e]['redoState']}},_0x279755=this['_transformService'][_0x269e35(0x34b)](_0x642009,_0x4edb03,!0x1),_0x19caa9=this[_0x269e35(0x1cb)]['transformMutation'](_0x4e3898,_0x40ae0d,!0x1);if(_0x84ca95['isTransformMutationFailure'](_0x279755))throw _0x279755[_0x269e35(0x33a)];if(_0x84ca95['isTransformMutationFailure'](_0x19caa9))throw _0x19caa9[_0x269e35(0x33a)];_0x5ae8ef[_0x269e35(0x312)]({..._0x3ff98a[_0x57880e],'undoState':_0x279755['m2Prime'][_0x269e35(0x21b)],'redoState':_0x19caa9[_0x269e35(0x3f6)][_0x269e35(0x21b)]}),_0x642009=_0x279755['m1Prime'],_0x4e3898=_0x19caa9[_0x269e35(0x20b)];}this[_0x269e35(0x2ef)][_0x269e35(0x24c)](_0x575aed,{'history':_0x5eea05,'collaboration':_0x5ae8ef});}};_0x33888f=_0x3c3e2d([_0x84d114(0x0,_0x1dbd07['Inject'](_0x1dbd07['Injector'])),_0x84d114(0x1,_0x84ca95[_0x16274f(0x415)]),_0x84d114(0x2,_0x1dbd07[_0x16274f(0x21f)](_0xae662a['DocStateChangeManagerService']))],_0x33888f);var _0x18bd03=Object['getOwnPropertyDescriptor'],_0x4aeba0=(_0x54c41a,_0x1e47f6,_0x126dd1,_0x23a226)=>{const _0x572f37=_0x16274f;for(var _0x1f40d1=_0x23a226>0x1?void 0x0:_0x23a226?_0x18bd03(_0x1e47f6,_0x126dd1):_0x1e47f6,_0x55183e=_0x54c41a[_0x572f37(0x3bf)]-0x1,_0x7ad0e7;_0x55183e>=0x0;_0x55183e--)(_0x7ad0e7=_0x54c41a[_0x55183e])&&(_0x1f40d1=_0x7ad0e7(_0x1f40d1)||_0x1f40d1);return _0x1f40d1;},_0x1db075=(_0x56b438,_0x5d6e10)=>(_0x519d5e,_0x58ae79)=>_0x5d6e10(_0x519d5e,_0x58ae79,_0x56b438);let _0x3672f4=class{constructor(_0x152862,_0x4bf9d4){const _0x31031c=_0x16274f;this[_0x31031c(0x313)]=_0x152862,this[_0x31031c(0x1cb)]=_0x4bf9d4;}['transformSelections'](_0x2f075e){const _0x4d7384=_0x16274f;var _0x371c34;const _0x40417a=this[_0x4d7384(0x313)][_0x4d7384(0x2fd)](_0xb0690a[_0x4d7384(0x43c)]),_0x35adae=(_0x371c34=_0x40417a[_0x4d7384(0x435)]())!=null?_0x371c34:[];if(_0x35adae[_0x4d7384(0x3bf)]===0x0)return;const _0x229c04=_0x2f075e[_0x4d7384(0x403)],_0x4f05df=[{'id':_0x4d7384(0x231),'params':{'unitId':_0x229c04,'actions':null,'textRanges':_0x35adae}}],_0x4ac567=this[_0x4d7384(0x1cb)][_0x4d7384(0x3c8)](_0x2f075e,_0x4f05df);if(!_0x84ca95[_0x4d7384(0x354)](_0x4ac567))throw _0x4ac567['error'];const _0x5d5aa2=_0x4ac567[_0x4d7384(0x3f6)][0x0][_0x4d7384(0x21b)][_0x4d7384(0x29a)];Array['isArray'](_0x5d5aa2)&&_0x5d5aa2['length']&&_0x40417a['replaceDocRanges'](_0x5d5aa2,{'unitId':_0x229c04,'subUnitId':_0x229c04},!0x1);}};_0x3672f4=_0x4aeba0([_0x1db075(0x0,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x252)])),_0x1db075(0x1,_0x84ca95[_0x16274f(0x415)])],_0x3672f4);var _0xcf227d=Object[_0x16274f(0x381)],_0x5dcf17=(_0x4ec05e,_0x1321df,_0x4ba457,_0x122aaa)=>{for(var _0x38891e=_0x122aaa>0x1?void 0x0:_0x122aaa?_0xcf227d(_0x1321df,_0x4ba457):_0x1321df,_0x15f079=_0x4ec05e['length']-0x1,_0x4f4943;_0x15f079>=0x0;_0x15f079--)(_0x4f4943=_0x4ec05e[_0x15f079])&&(_0x38891e=_0x4f4943(_0x38891e)||_0x38891e);return _0x38891e;},_0x5b5a57=(_0x37f1c6,_0x178e1d)=>(_0x414f0c,_0x336219)=>_0x178e1d(_0x414f0c,_0x336219,_0x37f1c6);let _0x3e2ebe=class extends _0x1dbd07[_0x16274f(0x422)]{constructor(_0x3233b3,_0x54fc28,_0x2bd331,_0x339cc6,_0x491bf6,_0x5ec8f2,_0x492c44,_0x2b79f8){const _0x37a263=_0x16274f;super(),_0x128bdb(this,'_status$',new _0x2f5231['BehaviorSubject'](_0x27a090['CollaborationStatus'][_0x37a263(0x305)])),(this[_0x37a263(0x2ef)]=_0x3233b3,this[_0x37a263(0x26b)]=_0x54fc28,this['_docTransformIMECacheService']=_0x2bd331,this['_docTransformStateCacheService']=_0x339cc6,this[_0x37a263(0x373)]=_0x491bf6,this[_0x37a263(0x32e)]=_0x5ec8f2,this[_0x37a263(0x37d)]=_0x492c44,this[_0x37a263(0x238)]=_0x2b79f8,this['_initEntityListener']());}[_0x16274f(0x266)](){const _0x324250=_0x16274f;this[_0x324250(0x36f)](this[_0x324250(0x26b)][_0x324250(0x1b4)][_0x324250(0x261)](_0x502c3f=>{const _0x17495b=_0x324250,_0x5b6d76=this[_0x17495b(0x2ef)][_0x17495b(0x2bf)][_0x17495b(0x261)](_0x10fd68=>{const _0x5aae4f=_0x17495b;if(_0x10fd68==null)return;const {unitId:_0x2ff430,redoState:_0x1a192e,commandId:_0x111c51}=_0x10fd68;if(_0x2ff430!==_0x502c3f[_0x5aae4f(0x403)])return;const _0xfff374={'id':_0x111c51,'type':_0x1dbd07[_0x5aae4f(0x416)][_0x5aae4f(0x2a1)],'params':{'unitId':_0x2ff430,'actions':_0x1a192e['actions'],'textRanges':null}};_0x502c3f[_0x5aae4f(0x3d0)](_0xfff374);});if(_0x502c3f[_0x17495b(0x36f)](_0x5b6d76),_0x502c3f instanceof _0x27a090[_0x17495b(0x314)]){const _0x452ddc={'onTransformIME':_0x4f253a=>this['_docTransformIMECacheService'][_0x17495b(0x3cc)](_0x4f253a),'onTransformState':_0x2802ff=>this[_0x17495b(0x2e4)][_0x17495b(0x2c6)](_0x2802ff),'onTransformSelections':_0x3f71b7=>this[_0x17495b(0x373)][_0x17495b(0x289)](_0x3f71b7),'onSyncEditingCollabCursor':_0x1b1b37=>this[_0x17495b(0x32e)][_0x17495b(0x272)](_0x1b1b37),'onTransformRemoteChangesetByIMECache':_0x3ccd33=>this[_0x17495b(0x23b)][_0x17495b(0x36c)](_0x3ccd33),'onTransformRemoteChangesetByStateCache':_0x543ab9=>this[_0x17495b(0x2e4)][_0x17495b(0x36c)](_0x543ab9)};_0x502c3f[_0x17495b(0x44d)](_0x452ddc);}}));}};_0x3e2ebe=_0x5dcf17([_0x5b5a57(0x0,_0x1dbd07[_0x16274f(0x21f)](_0xae662a['DocStateChangeManagerService'])),_0x5b5a57(0x1,_0x1dbd07[_0x16274f(0x21f)](_0x27a090[_0x16274f(0x375)])),_0x5b5a57(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x2c5930)),_0x5b5a57(0x3,_0x1dbd07['Inject'](_0x33888f)),_0x5b5a57(0x4,_0x1dbd07[_0x16274f(0x21f)](_0x3672f4)),_0x5b5a57(0x5,_0x1dbd07['Inject'](_0x20d9aa)),_0x5b5a57(0x6,_0x10c440[_0x16274f(0x2e1)]),_0x5b5a57(0x7,_0x1dbd07['Inject'](_0x1dbd07[_0x16274f(0x3c5)]))],_0x3e2ebe);var _0x23adef=Object[_0x16274f(0x381)],_0x22b6d2=(_0x302aa7,_0x46df78,_0x304322,_0x375e4d)=>{for(var _0x503753=_0x375e4d>0x1?void 0x0:_0x375e4d?_0x23adef(_0x46df78,_0x304322):_0x46df78,_0x4a0e80=_0x302aa7['length']-0x1,_0x29f117;_0x4a0e80>=0x0;_0x4a0e80--)(_0x29f117=_0x302aa7[_0x4a0e80])&&(_0x503753=_0x29f117(_0x503753)||_0x503753);return _0x503753;},_0x4d2259=(_0x4aae90,_0x1cdc49)=>(_0x142cc6,_0x2faf86)=>_0x1cdc49(_0x142cc6,_0x2faf86,_0x4aae90);let _0x21b337=class extends _0x1dbd07[_0x16274f(0x422)]{constructor(_0x8df190,_0x2b163b,_0x37b515){const _0x4d60d9=_0x16274f;super(),_0x128bdb(this,_0x4d60d9(0x377),new Map()),_0x128bdb(this,'_saveTaskMap',new Map()),_0x128bdb(this,_0x4d60d9(0x1e8),!0x1),(this[_0x4d60d9(0x2c0)]=_0x8df190,this[_0x4d60d9(0x31f)]=_0x2b163b,this[_0x4d60d9(0x40f)]=_0x37b515);}[_0x16274f(0x451)](){const _0x41dc70=_0x16274f;this[_0x41dc70(0x1e8)]=!0x0;}[_0x16274f(0x2d3)](){this['_disabled']=!0x1;}get[_0x16274f(0x2ce)](){return this['_saveTaskMap'];}[_0x16274f(0x239)](){const _0x379d9d=_0x16274f;this[_0x379d9d(0x2a6)]()['then'](()=>super[_0x379d9d(0x239)]());}async[_0x16274f(0x418)](_0x317412){const _0x28018b=_0x16274f;return this[_0x28018b(0x1e8)]?null:this[_0x28018b(0x31f)][_0x28018b(0x358)](_0x27a090[_0x28018b(0x359)](_0x317412));}async[_0x16274f(0x42e)](_0x1227de,_0x57a3bb){const _0x3ec29a=_0x16274f;return!!this['_localStorageService'][_0x3ec29a(0x1df)](_0x1227de,_0x57a3bb);}[_0x16274f(0x20a)](_0x19e56c,_0x31d81c,_0x6e35a,_0x2e3d03){const _0x53667d=_0x16274f,_0x54c6dd=this[_0x53667d(0x40f)][_0x53667d(0x2b7)](_0x19e56c);this[_0x53667d(0x377)][_0x53667d(0x28a)](_0x19e56c,{'unitID':_0x19e56c,'type':_0x31d81c,'awaitingChangeset':_0x6e35a,'mutations':_0x2e3d03,'rev':_0x54c6dd}),this[_0x53667d(0x295)][_0x53667d(0x282)](_0x19e56c)||this[_0x53667d(0x2ab)](_0x19e56c);}[_0x16274f(0x2ab)](_0x37a9ec){const _0x10fc3f=_0x16274f,_0x5d837d=this['_getSaveTimeout']();_0x5d837d===0x0?this['_saveCache'](_0x37a9ec):this[_0x10fc3f(0x295)][_0x10fc3f(0x28a)](_0x37a9ec,setTimeout(()=>this[_0x10fc3f(0x413)](_0x37a9ec),_0x5d837d));}[_0x16274f(0x393)](){const _0x577c3f=_0x16274f;var _0x4c6a73;return(_0x4c6a73=this['_configService'][_0x577c3f(0x215)](_0x27a090[_0x577c3f(0x20f)]))!=null?_0x4c6a73:_0x27a090[_0x577c3f(0x38d)];}[_0x16274f(0x413)](_0x4593ea){const _0x389c5a=_0x16274f,_0x15b8e6=this[_0x389c5a(0x295)][_0x389c5a(0x2fd)](_0x4593ea);return _0x15b8e6!==void 0x0&&window[_0x389c5a(0x3eb)](_0x15b8e6),this['_localStorageService'][_0x389c5a(0x1df)](_0x27a090[_0x389c5a(0x359)](_0x4593ea),this[_0x389c5a(0x377)][_0x389c5a(0x2fd)](_0x4593ea))[_0x389c5a(0x372)](()=>this[_0x389c5a(0x295)][_0x389c5a(0x225)](_0x4593ea));}async[_0x16274f(0x2a6)](){const _0x549f92=_0x16274f,_0x37722c=[];this['_saveTaskMap'][_0x549f92(0x25f)]((_0x24e117,_0x3fcd)=>{const _0x2ed1b8=_0x549f92;window[_0x2ed1b8(0x3eb)](_0x24e117),_0x37722c[_0x2ed1b8(0x414)](this[_0x2ed1b8(0x413)](_0x3fcd)[_0x2ed1b8(0x372)](()=>{const _0x11c8ae=_0x2ed1b8;this[_0x11c8ae(0x295)][_0x11c8ae(0x225)](_0x3fcd);}));}),await Promise[_0x549f92(0x1c5)](_0x37722c);}};_0x21b337=_0x22b6d2([_0x4d2259(0x0,_0x1dbd07[_0x16274f(0x334)]),_0x4d2259(0x1,_0x1dbd07[_0x16274f(0x236)]),_0x4d2259(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x84ca95['RevisionService']))],_0x21b337);class _0x184cdc extends _0x1dbd07['RxDisposable']{constructor(){const _0x17e8bd=_0x16274f;super(),_0x128bdb(this,_0x17e8bd(0x228)),this[_0x17e8bd(0x228)]=_0x2f5231['fromEvent'](window,'popstate')[_0x17e8bd(0x250)](_0x2f5231['takeUntil'](this['dispose$']),_0x2f5231['shareReplay'](0x1),_0x2f5231[_0x17e8bd(0x2da)](void 0x0));}[_0x16274f(0x3cb)](_0x59a6f2,_0x2e3c34,_0x4efc12=!0x1){const _0x13a85d=_0x16274f,_0x4d8843=new URL(window[_0x13a85d(0x2c9)][_0x13a85d(0x3d7)]);_0x4d8843[_0x13a85d(0x2cb)][_0x13a85d(0x28a)](_0x59a6f2,_0x2e3c34),_0x4efc12?window[_0x13a85d(0x3e1)][_0x13a85d(0x3a5)]('','',_0x4d8843[_0x13a85d(0x385)]()):window['history'][_0x13a85d(0x420)]('','',_0x4d8843[_0x13a85d(0x385)]());}[_0x16274f(0x32f)](_0x28bd9c,_0x1fba54=!0x1){const _0x4254ed=_0x16274f,_0x16a6eb=new URL(window[_0x4254ed(0x2c9)][_0x4254ed(0x3d7)]);_0x16a6eb[_0x4254ed(0x2cb)][_0x4254ed(0x225)](_0x28bd9c),_0x1fba54?window['history'][_0x4254ed(0x3a5)]('','',_0x16a6eb[_0x4254ed(0x385)]()):window[_0x4254ed(0x3e1)]['pushState']('','',_0x16a6eb[_0x4254ed(0x385)]());}[_0x16274f(0x378)](_0x930196){const _0x3e0891=_0x16274f;var _0x95a963;return(_0x95a963=new URL(window[_0x3e0891(0x2c9)][_0x3e0891(0x3d7)])[_0x3e0891(0x2cb)][_0x3e0891(0x2fd)](_0x930196))!=null?_0x95a963:void 0x0;}}var _0xd7cc5=Object['defineProperty'],_0x39173b=Object[_0x16274f(0x381)],_0x18aa2a=(_0x6b8e2e,_0xb6d8c3,_0xb3f62b)=>_0xb6d8c3 in _0x6b8e2e?_0xd7cc5(_0x6b8e2e,_0xb6d8c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb3f62b}):_0x6b8e2e[_0xb6d8c3]=_0xb3f62b,_0xc1188b=(_0x473ce5,_0x3ec885,_0x497196,_0x5048d1)=>{const _0x417541=_0x16274f;for(var _0x44cac1=_0x5048d1>0x1?void 0x0:_0x5048d1?_0x39173b(_0x3ec885,_0x497196):_0x3ec885,_0x22580f=_0x473ce5[_0x417541(0x3bf)]-0x1,_0xd082bc;_0x22580f>=0x0;_0x22580f--)(_0xd082bc=_0x473ce5[_0x22580f])&&(_0x44cac1=_0xd082bc(_0x44cac1)||_0x44cac1);return _0x44cac1;},_0x484204=(_0x3652de,_0x5ceb04)=>(_0x372e7a,_0x2c4b42)=>_0x5ceb04(_0x372e7a,_0x2c4b42,_0x3652de),_0x225f49=(_0x4b7ff6,_0x4980d5,_0x417dd2)=>_0x18aa2a(_0x4b7ff6,_0x4980d5+'',_0x417dd2);const _0x54a3d2=_0x16274f(0x3f3);_0x33bede['UniverCollaborationClientUIPlugin']=class extends _0x1dbd07[_0x16274f(0x1d1)]{constructor(_0x143d09=_0x164b50,_0x58be15,_0x2dd1af,_0x2764ec){const _0x3efd40=_0x16274f;super(),this[_0x3efd40(0x22c)]=_0x143d09,this[_0x3efd40(0x43a)]=_0x58be15,this[_0x3efd40(0x313)]=_0x2dd1af,this['_configService']=_0x2764ec;const {..._0x4c410b}=_0x1dbd07[_0x3efd40(0x42a)]({},_0x164b50,this[_0x3efd40(0x22c)]);this[_0x3efd40(0x2c0)][_0x3efd40(0x386)](_0x273be3,_0x4c410b);}[_0x16274f(0x39c)](){const _0x36673b=_0x16274f;this[_0x36673b(0x245)](),this[_0x36673b(0x3ef)]();}[_0x16274f(0x40d)](){const _0x78399a=_0x16274f;this[_0x78399a(0x349)]();}[_0x16274f(0x245)](){const _0x46aea9=_0x16274f;var _0x43b031;const _0x520967=[[_0x57d318],[_0x3672f4],[_0x2c5930],[_0x33888f],[_0x20d9aa],[_0x51a990,{'useClass':_0x184cdc}],[_0x151a90[_0x46aea9(0x2fe)],{'useClass':_0x151a90[_0x46aea9(0x3ac)]}],[_0x27a090[_0x46aea9(0x426)],{'useClass':_0x21b337}],[_0x33bede[_0x46aea9(0x217)]],[_0x3e2ebe],[_0x225f9a],[_0x2a1682],[_0x681537],[_0x33bede['CollaborationDataLoaderController']]];_0x1dbd07[_0x46aea9(0x1da)](this[_0x46aea9(0x313)],_0x1dbd07[_0x46aea9(0x29f)](_0x520967,(_0x43b031=this[_0x46aea9(0x22c)])==null?void 0x0:_0x43b031['override']));}['_registerRenderDependencies'](){const _0x4bc360=_0x16274f;this[_0x4bc360(0x36f)](this[_0x4bc360(0x43a)][_0x4bc360(0x446)](_0x1dbd07[_0x4bc360(0x1d6)]['UNIVER_DOC'],[_0x458235])),this[_0x4bc360(0x36f)](this[_0x4bc360(0x43a)]['registerRenderModule'](_0x1dbd07[_0x4bc360(0x1d6)][_0x4bc360(0x34a)],[_0x1ea831]));}[_0x16274f(0x3ef)](){const _0x2ac353=_0x16274f;_0x1dbd07[_0x2ac353(0x310)](this[_0x2ac353(0x313)],[[_0x2a1682],[_0x33bede[_0x2ac353(0x217)]],[_0x3e2ebe],[_0x225f9a],[_0x33bede[_0x2ac353(0x21e)]]]);}},_0x225f49(_0x33bede[_0x16274f(0x2c4)],_0x16274f(0x2e5),_0x54a3d2),_0x33bede[_0x16274f(0x2c4)]=_0xc1188b([_0x1dbd07[_0x16274f(0x2a2)](_0x27a090[_0x16274f(0x3fc)]),_0x484204(0x1,_0x32562c['IRenderManagerService']),_0x484204(0x2,_0x1dbd07[_0x16274f(0x21f)](_0x1dbd07[_0x16274f(0x252)])),_0x484204(0x3,_0x1dbd07[_0x16274f(0x334)])],_0x33bede[_0x16274f(0x2c4)]);var _0x5503c4=Object[_0x16274f(0x381)],_0x5692e5=(_0x1ad5d7,_0x3b51ef,_0xa59d64,_0x2da9c6)=>{const _0x335310=_0x16274f;for(var _0x418ad6=_0x2da9c6>0x1?void 0x0:_0x2da9c6?_0x5503c4(_0x3b51ef,_0xa59d64):_0x3b51ef,_0x5ca3b3=_0x1ad5d7[_0x335310(0x3bf)]-0x1,_0x250c93;_0x5ca3b3>=0x0;_0x5ca3b3--)(_0x250c93=_0x1ad5d7[_0x5ca3b3])&&(_0x418ad6=_0x250c93(_0x418ad6)||_0x418ad6);return _0x418ad6;},_0x6ecf9c=(_0x396db8,_0x4f8ad0)=>(_0x4db52a,_0x9228fc)=>_0x4f8ad0(_0x4db52a,_0x9228fc,_0x396db8);_0x33bede[_0x16274f(0x3f2)]=class extends _0x27a090['CollaborationSocketService']{constructor(_0xf5c56e,_0x473e5c,_0x5a18ae,_0x550a43,_0x2813a2){super(_0xf5c56e,_0x473e5c,_0x5a18ae,_0x550a43,_0x2813a2);}async[_0x16274f(0x431)](_0x4a47ba){const _0x4fed00=_0x16274f,_0x1ee247=await this[_0x4fed00(0x3db)](),_0x1bb8e0=this[_0x4fed00(0x38a)](_0x4a47ba,_0x1ee247);return this['_doCreateSocket'](_0x1bb8e0);}[_0x16274f(0x38a)](_0x31640e,_0x123a27){const _0xa9eb27=_0x16274f,_0x3729df=typeof window>'u'?new URL(_0x31640e):new URL(_0x31640e,window['location'][_0xa9eb27(0x1d0)]);_0x3729df[_0xa9eb27(0x2cb)][_0xa9eb27(0x28a)](_0xa9eb27(0x402),_0x123a27);const _0x23f7d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xa9eb27(0x2c9)][_0xa9eb27(0x2f8)]);return _0x23f7d9['get']('runId')&&_0x3729df[_0xa9eb27(0x2cb)][_0xa9eb27(0x28a)]('runId',_0x23f7d9[_0xa9eb27(0x2fd)](_0xa9eb27(0x421))),_0x3729df[_0xa9eb27(0x385)]();}async[_0x16274f(0x3db)](){const _0x157af5=_0x16274f;var _0x31a780,_0x1bd40c,_0x12a368;const _0x4b12d4=this['_configService'][_0x157af5(0x215)](_0x27a090[_0x157af5(0x348)]),_0x29befd=(_0x31a780=_0x4b12d4==null?void 0x0:_0x4b12d4[_0x157af5(0x2f1)])!=null?_0x31a780:_0x27a090[_0x157af5(0x29e)];return(_0x12a368=(_0x1bd40c=(await this[_0x157af5(0x365)][_0x157af5(0x2fd)](_0x29befd,{'headers':{'Content-Type':_0x157af5(0x2a8)}}))[_0x157af5(0x3ec)])==null?void 0x0:_0x1bd40c[_0x157af5(0x273)])!=null?_0x12a368:'';}},_0x33bede[_0x16274f(0x3f2)]=_0x5692e5([_0x6ecf9c(0x0,_0x1dbd07['Inject'](_0x1dbd07[_0x16274f(0x252)])),_0x6ecf9c(0x1,_0x1dbd07[_0x16274f(0x21f)](_0x151a90['HTTPService'])),_0x6ecf9c(0x2,_0x1dbd07[_0x16274f(0x334)]),_0x6ecf9c(0x3,_0x1dbd07[_0x16274f(0x1fa)]),_0x6ecf9c(0x4,_0x84ca95[_0x16274f(0x424)])],_0x33bede[_0x16274f(0x3f2)]);const _0x2f9d5d=0x7530,_0x3b276d=_0x16274f(0x356);class _0x4a1f6d extends _0x1dbd07[_0x16274f(0x422)]{constructor(){const _0x12c4b9=_0x16274f;super(),_0x128bdb(this,_0x12c4b9(0x2ea),_0x1dbd07[_0x12c4b9(0x3be)]()),_0x128bdb(this,'_selfUnitIDs',new Set()),_0x128bdb(this,'_unitOnClients',new Map()),_0x128bdb(this,'_heartbeatTimer',null),_0x128bdb(this,_0x12c4b9(0x23e),new Map()),_0x128bdb(this,'_unitStatus',new Map()),this['_init']();}[_0x16274f(0x239)](){const _0x4cf72b=_0x16274f;super['dispose'](),this[_0x4cf72b(0x23e)]['forEach']((_0x4297a5,_0x12c82d)=>this[_0x4cf72b(0x2c5)](_0x12c82d)),this[_0x4cf72b(0x1e7)]&&window[_0x4cf72b(0x452)](this[_0x4cf72b(0x1e7)]);}[_0x16274f(0x28f)](_0x4f5d62){const _0x363934=_0x16274f;return this[_0x363934(0x330)](_0x4f5d62)[_0x363934(0x250)](_0x2f5231[_0x363934(0x1d4)]());}['editingUnit'](_0x18fbcd){const _0x5bb54d=_0x16274f;this['_selfUnitIDs'][_0x5bb54d(0x2ca)]===0x0&&this[_0x5bb54d(0x3ff)](),this[_0x5bb54d(0x35a)]['add'](_0x18fbcd),this[_0x5bb54d(0x41a)]({'type':0x0,'memberID':this[_0x5bb54d(0x2ea)],'unitIDs':[_0x18fbcd],'isForwarded':!0x1});}[_0x16274f(0x425)](_0x47ee77){const _0x247f6d=_0x16274f;this['_selfUnitIDs'][_0x247f6d(0x225)](_0x47ee77),this['_selfUnitIDs'][_0x247f6d(0x2ca)]===0x0&&this[_0x247f6d(0x1e7)]&&window['clearInterval'](this[_0x247f6d(0x1e7)]);}[_0x16274f(0x35f)](){const _0x3ae7ae=_0x16274f;this[_0x3ae7ae(0x36f)](_0x1dbd07[_0x3ae7ae(0x3a6)](_0x2f5231[_0x3ae7ae(0x3ae)](window,_0x3ae7ae(0x32b))[_0x3ae7ae(0x261)](_0x1ec04f=>{const _0x3942f6=_0x3ae7ae;if(_0x1ec04f[_0x3942f6(0x325)]!==_0x3b276d||!_0x1ec04f['newValue'])return;const _0x2c698e=JSON[_0x3942f6(0x2d1)](_0x1ec04f['newValue']);this[_0x3942f6(0x1bc)](_0x2c698e);}))),window[_0x3ae7ae(0x3b9)](_0x3ae7ae(0x457),()=>this[_0x3ae7ae(0x41a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3ae7ae(0x409)](this[_0x3ae7ae(0x35a)])}));}[_0x16274f(0x1bc)](_0x17f4b7){const _0x1e5193=_0x16274f;switch(_0x17f4b7['type']){case 0x0:this[_0x1e5193(0x3c1)](_0x17f4b7);break;case 0x1:this[_0x1e5193(0x1e0)](_0x17f4b7);break;case 0x2:this[_0x1e5193(0x39a)](_0x17f4b7);break;}}[_0x16274f(0x3c1)](_0x147012){const _0x55fce8=_0x16274f,{unitIDs:_0x4fb454,memberID:_0x491c46,isForwarded:_0x5273d4}=_0x147012;_0x4fb454['forEach'](_0x4c228f=>{const _0x1e1777=_0x21e0;if(!_0x5273d4&&this[_0x1e1777(0x24f)][_0x1e1777(0x282)](_0x4c228f)&&this['_ensureSubject'](_0x4c228f)[_0x1e1777(0x341)](_0x27a090[_0x1e1777(0x2f7)][_0x1e1777(0x1d2)]),!this[_0x1e1777(0x24f)]['has'](_0x4c228f)||!this[_0x1e1777(0x24f)]['get'](_0x4c228f)[_0x1e1777(0x282)](_0x491c46)){const _0x1434c8=this[_0x1e1777(0x24f)][_0x1e1777(0x2fd)](_0x4c228f)||new Set();_0x1434c8['add'](_0x491c46),this[_0x1e1777(0x24f)][_0x1e1777(0x28a)](_0x4c228f,_0x1434c8),this[_0x1e1777(0x2a4)](_0x491c46);}}),_0x5273d4||this[_0x55fce8(0x41a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x55fce8(0x35a)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x48682b){const _0x2f371c=_0x16274f;this[_0x2f371c(0x2c5)](_0x48682b);const _0x571960=window[_0x2f371c(0x2ff)](()=>{const _0x57424e=_0x2f371c;this[_0x57424e(0x24f)][_0x57424e(0x25f)](_0x12fa0f=>{const _0x423824=_0x57424e;_0x12fa0f[_0x423824(0x225)](_0x48682b);});},_0x2f9d5d*0x2);this[_0x2f371c(0x23e)][_0x2f371c(0x28a)](_0x48682b,_0x571960);}['_removeClearOtherTimer'](_0x784b16){const _0x30283b=_0x16274f;if(this[_0x30283b(0x23e)]['has'](_0x784b16)){const _0x3b0efa=this[_0x30283b(0x23e)][_0x30283b(0x2fd)](_0x784b16);_0x3b0efa&&window[_0x30283b(0x3eb)](_0x3b0efa),this[_0x30283b(0x23e)]['set'](_0x784b16,null);}}[_0x16274f(0x1e0)](_0xd2b30d){const _0xbf9327=_0x16274f,{memberID:_0x4534a4,unitIDs:_0x5579d7}=_0xd2b30d;_0x5579d7[_0xbf9327(0x25f)](_0x262090=>{const _0x35592e=_0xbf9327;var _0x447f75;const _0x2a0e5f=this[_0x35592e(0x24f)]['get'](_0x262090);_0x2a0e5f&&(_0x2a0e5f['delete'](_0x4534a4),(_0x447f75=this[_0x35592e(0x330)](_0x262090))==null||_0x447f75[_0x35592e(0x341)](_0x2a0e5f['size']===0x0?_0x27a090[_0x35592e(0x2f7)]['NO_OTHER_CLIENTS_EDITING']:_0x27a090['UnitStatus'][_0x35592e(0x1d2)]));}),this['_removeClearOtherTimer'](_0x4534a4);}['_handleHeartbeatEvent'](_0x7278dd){const _0x57372f=_0x16274f;this[_0x57372f(0x2a4)](_0x7278dd[_0x57372f(0x3cf)]);}[_0x16274f(0x41a)](_0x1dd330){const _0x4cd61f=_0x16274f;localStorage[_0x4cd61f(0x1df)](_0x3b276d,JSON[_0x4cd61f(0x37e)](_0x1dd330));}[_0x16274f(0x3ff)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x321f49=_0x21e0;this['_send']({'type':0x2,'memberID':this[_0x321f49(0x2ea)]});},_0x2f9d5d);}['_ensureSubject'](_0x4f42c2){const _0x21fe04=_0x16274f;return this['_unitStatus']['has'](_0x4f42c2)||this[_0x21fe04(0x276)]['set'](_0x4f42c2,new _0x2f5231[(_0x21fe04(0x407))](_0x27a090[_0x21fe04(0x2f7)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x21fe04(0x276)][_0x21fe04(0x2fd)](_0x4f42c2);}}var _0x3fb08e=(_0x45e340=>(_0x45e340[_0x45e340[_0x16274f(0x390)]=0x0]=_0x16274f(0x390),_0x45e340[_0x45e340['OK']=0x1]='OK',_0x45e340[_0x45e340[_0x16274f(0x3e4)]=0x2]=_0x16274f(0x3e4),_0x45e340[_0x45e340['PERMISSION_DENIED']=0x3]=_0x16274f(0x456),_0x45e340[_0x45e340[_0x16274f(0x33e)]=0x4]=_0x16274f(0x33e),_0x45e340[_0x45e340[_0x16274f(0x1f6)]=0x5]=_0x16274f(0x1f6),_0x45e340[_0x45e340['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x45e340[_0x45e340['INVALID_ARGUMENT']=0x7]=_0x16274f(0x311),_0x45e340[_0x45e340[_0x16274f(0x332)]=0x8]=_0x16274f(0x332),_0x45e340[_0x45e340['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x45e340[_0x45e340[_0x16274f(0x3b3)]=0x1389]=_0x16274f(0x3b3),_0x45e340[_0x45e340['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x16274f(0x3af),_0x45e340[_0x45e340[_0x16274f(0x41b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x45e340[_0x45e340[_0x16274f(0x1ba)]=0x1773]=_0x16274f(0x1ba),_0x45e340[_0x45e340[_0x16274f(0x2bd)]=0x1b59]=_0x16274f(0x2bd),_0x45e340[_0x45e340[_0x16274f(0x42b)]=0x1b5a]=_0x16274f(0x42b),_0x45e340[_0x45e340[_0x16274f(0x1ca)]=0x1b5b]=_0x16274f(0x1ca),_0x45e340[_0x45e340[_0x16274f(0x1f5)]=0x1b5c]=_0x16274f(0x1f5),_0x45e340[_0x45e340[_0x16274f(0x284)]=0x1b5d]='APPLY_DUPLICATED',_0x45e340[_0x45e340[_0x16274f(0x255)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x45e340[_0x45e340[_0x16274f(0x31c)]=0x2329]=_0x16274f(0x31c),_0x45e340[_0x45e340['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x45e340[_0x45e340[_0x16274f(0x22e)]=0x232b]=_0x16274f(0x22e),_0x45e340[_0x45e340['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x16274f(0x243),_0x45e340[_0x45e340['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x45e340[_0x45e340[_0x16274f(0x391)]=0x2711]=_0x16274f(0x391),_0x45e340[_0x45e340[_0x16274f(0x2ee)]=0x2712]=_0x16274f(0x2ee),_0x45e340[_0x45e340[_0x16274f(0x3a9)]=0x2713]=_0x16274f(0x3a9),_0x45e340[_0x45e340[_0x16274f(0x29c)]=0x2714]=_0x16274f(0x29c),_0x45e340[_0x45e340[_0x16274f(0x2eb)]=0x2af9]=_0x16274f(0x2eb),_0x45e340[_0x45e340[_0x16274f(0x27d)]=-0x1]='UNRECOGNIZED',_0x45e340))(_0x3fb08e||{}),_0x1dd80d=Object[_0x16274f(0x381)],_0x14380b=(_0x4c5a14,_0x2d76fb,_0x53058a,_0x151c01)=>{const _0x32d209=_0x16274f;for(var _0x1c0a6e=_0x151c01>0x1?void 0x0:_0x151c01?_0x1dd80d(_0x2d76fb,_0x53058a):_0x2d76fb,_0x19f61f=_0x4c5a14[_0x32d209(0x3bf)]-0x1,_0x4d2c28;_0x19f61f>=0x0;_0x19f61f--)(_0x4d2c28=_0x4c5a14[_0x19f61f])&&(_0x1c0a6e=_0x4d2c28(_0x1c0a6e)||_0x1c0a6e);return _0x1c0a6e;},_0x204f02=(_0x38c8a0,_0x3fee18)=>(_0x533e8f,_0x3f4bb7)=>_0x3fee18(_0x533e8f,_0x3f4bb7,_0x38c8a0);_0x33bede['RemoteUniscriptService']=class extends _0x1dbd07[_0x16274f(0x422)]{constructor(_0xe5c627,_0x4c6d6e,_0x56483d){const _0x308a4f=_0x16274f;super(),this[_0x308a4f(0x1e6)]=_0xe5c627,this['_httpService']=_0x4c6d6e,this[_0x308a4f(0x2c0)]=_0x56483d;}async[_0x16274f(0x383)](_0x38056b,_0x537815,_0x1993c6,..._0x120971){const _0x3c523c=_0x16274f;var _0x516afd,_0x425f8c,_0x41b10b,_0x3d6e70;const _0x3a327e=this[_0x3c523c(0x1e6)]['getFocusedUnit']();if(!_0x3a327e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1538e3=((_0x516afd=this['_configService'][_0x3c523c(0x215)](_0x27a090[_0x3c523c(0x1f3)]))!=null?_0x516afd:_0x27a090[_0x3c523c(0x220)])+'/'+_0x38056b+_0x3c523c(0x206)+_0x537815,_0x29a63e=new URL(window[_0x3c523c(0x2c9)][_0x3c523c(0x3d7)]),_0x5aaf3b={'scriptId':_0x38056b,'runId':(_0x425f8c=_0x29a63e[_0x3c523c(0x2cb)][_0x3c523c(0x2fd)](_0x3c523c(0x421)))!=null?_0x425f8c:'','function':_0x537815,'unitId':_0x3a327e[_0x3c523c(0x1b6)](),'argsOfFunction':JSON[_0x3c523c(0x37e)](_0x120971),'invokeId':(_0x41b10b=_0x1993c6[_0x3c523c(0x44b)])!=null?_0x41b10b:'','executionId':(_0x3d6e70=_0x1993c6[_0x3c523c(0x41e)])!=null?_0x3d6e70:''};try{const _0x234c68=await this[_0x3c523c(0x365)][_0x3c523c(0x3b1)](_0x1538e3,{'body':_0x5aaf3b});return _0x234c68['body']['error']&&_0x234c68[_0x3c523c(0x3ec)][_0x3c523c(0x33a)][_0x3c523c(0x338)]!==_0x3fb08e['OK']?_0x3c523c(0x32a):_0x234c68['body'][_0x3c523c(0x33d)];}catch{return _0x3c523c(0x32a);}}},_0x33bede[_0x16274f(0x1be)]=_0x14380b([_0x204f02(0x0,_0x1dbd07[_0x16274f(0x26f)]),_0x204f02(0x1,_0x1dbd07[_0x16274f(0x21f)](_0x151a90[_0x16274f(0x2d4)])),_0x204f02(0x2,_0x1dbd07[_0x16274f(0x334)])],_0x33bede[_0x16274f(0x1be)]),_0x33bede[_0x16274f(0x201)]=_0x10dea0,_0x33bede[_0x16274f(0x270)]=_0x51a990,_0x33bede[_0x16274f(0x352)]=_0x5080a5,_0x33bede['WebBrowserSingleActiveUnitService']=_0x4a1f6d,_0x33bede[_0x16274f(0x3f4)]=_0x184cdc,Object[_0x16274f(0x405)](_0x33bede,Symbol[_0x16274f(0x3c6)],{'value':'Module'});}));
|