@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505271607 → 0.8.0-nightly.202505281606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x28da(_0x31131f,_0x14bf2e){const _0x473969=_0x4739();return _0x28da=function(_0x28dabc,_0x5e313f){_0x28dabc=_0x28dabc-0x158;let _0xf57f84=_0x473969[_0x28dabc];return _0xf57f84;},_0x28da(_0x31131f,_0x14bf2e);}(function(_0x5c627f,_0xe1e54a){const _0x1f9ef1=_0x28da,_0x311092=_0x5c627f();while(!![]){try{const _0x58543c=parseInt(_0x1f9ef1(0x330))/0x1*(parseInt(_0x1f9ef1(0x276))/0x2)+parseInt(_0x1f9ef1(0x1be))/0x3*(parseInt(_0x1f9ef1(0x1e0))/0x4)+parseInt(_0x1f9ef1(0x319))/0x5*(-parseInt(_0x1f9ef1(0x26d))/0x6)+-parseInt(_0x1f9ef1(0x3e9))/0x7*(parseInt(_0x1f9ef1(0x29a))/0x8)+-parseInt(_0x1f9ef1(0x32d))/0x9+-parseInt(_0x1f9ef1(0x266))/0xa*(-parseInt(_0x1f9ef1(0x27e))/0xb)+-parseInt(_0x1f9ef1(0x2d1))/0xc;if(_0x58543c===_0xe1e54a)break;else _0x311092['push'](_0x311092['shift']());}catch(_0x3fd9d9){_0x311092['push'](_0x311092['shift']());}}}(_0x4739,0x467dd),function(_0x2d4b9f,_0x37db4f){const _0x2d8fc5=_0x28da;typeof exports=='object'&&typeof module<'u'?_0x37db4f(exports,require(_0x2d8fc5(0x188)),require(_0x2d8fc5(0x1ec)),require(_0x2d8fc5(0x3d7)),require(_0x2d8fc5(0x1c9)),require(_0x2d8fc5(0x377)),require(_0x2d8fc5(0x218)),require(_0x2d8fc5(0x1a4)),require(_0x2d8fc5(0x199)),require('@univerjs-pro/collaboration'),require(_0x2d8fc5(0x279)),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x2d8fc5(0x1e2)),require('@univerjs/ui'),require(_0x2d8fc5(0x260)),require(_0x2d8fc5(0x2ae)),require('@univerjs/rpc')):typeof define==_0x2d8fc5(0x353)&&define[_0x2d8fc5(0x37b)]?define([_0x2d8fc5(0x274),_0x2d8fc5(0x188),_0x2d8fc5(0x1ec),_0x2d8fc5(0x3d7),_0x2d8fc5(0x1c9),_0x2d8fc5(0x377),_0x2d8fc5(0x218),_0x2d8fc5(0x1a4),_0x2d8fc5(0x199),_0x2d8fc5(0x219),_0x2d8fc5(0x279),_0x2d8fc5(0x1bd),'rxjs/operators',_0x2d8fc5(0x38a),_0x2d8fc5(0x1e2),'@univerjs/ui',_0x2d8fc5(0x260),'react','@univerjs/rpc'],_0x37db4f):(_0x2d4b9f=typeof globalThis<'u'?globalThis:_0x2d4b9f||self,_0x37db4f(_0x2d4b9f['UniverProCollaborationClientUi']={},_0x2d4b9f[_0x2d8fc5(0x226)],_0x2d4b9f[_0x2d8fc5(0x1ef)],_0x2d4b9f[_0x2d8fc5(0x34e)],_0x2d4b9f['UniverNetwork'],_0x2d4b9f['UniverDocsUi'],_0x2d4b9f['UniverDrawing'],_0x2d4b9f[_0x2d8fc5(0x1a4)],_0x2d4b9f[_0x2d8fc5(0x378)],_0x2d4b9f[_0x2d8fc5(0x1de)],_0x2d4b9f[_0x2d8fc5(0x383)],_0x2d4b9f[_0x2d8fc5(0x38e)],_0x2d4b9f[_0x2d8fc5(0x1a4)][_0x2d8fc5(0x31b)],_0x2d4b9f[_0x2d8fc5(0x2dd)],_0x2d4b9f['React'],_0x2d4b9f[_0x2d8fc5(0x3ae)],_0x2d4b9f['UniverDesign'],_0x2d4b9f[_0x2d8fc5(0x165)],_0x2d4b9f[_0x2d8fc5(0x3ad)]));}(this,function(_0x4d92ba,_0x55aa48,_0x403a48,_0x1380e3,_0x160af6,_0xf283a2,_0x4a423e,_0x15c792,_0x36b8d7,_0x261ba6,_0xf4f0b7,_0x46f729,_0x54a7c7,_0x2e664f,_0x56a115,_0x590bc9,_0x54ee32,_0xd420d5,_0xe4a6ff){'use strict';const _0x2b281a=_0x28da;var _0x292dcc=Object[_0x2b281a(0x1ad)],_0x1c9bd4=(_0x902161,_0x54ecc8,_0x3a9b6e)=>_0x54ecc8 in _0x902161?_0x292dcc(_0x902161,_0x54ecc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a9b6e}):_0x902161[_0x54ecc8]=_0x3a9b6e,_0x95fa0d=(_0x4f89fe,_0x3352f5,_0x3350f7)=>_0x1c9bd4(_0x4f89fe,typeof _0x3352f5!=_0x2b281a(0x227)?_0x3352f5+'':_0x3352f5,_0x3350f7),_0x357be0=Object[_0x2b281a(0x354)],_0x33b300=(_0x29d4dc,_0x76b3a4,_0xdf2ac1,_0x16ae1c)=>{const _0x5f14d3=_0x2b281a;for(var _0x4672d5=_0x16ae1c>0x1?void 0x0:_0x16ae1c?_0x357be0(_0x76b3a4,_0xdf2ac1):_0x76b3a4,_0x47b011=_0x29d4dc[_0x5f14d3(0x36f)]-0x1,_0x15fe03;_0x47b011>=0x0;_0x47b011--)(_0x15fe03=_0x29d4dc[_0x47b011])&&(_0x4672d5=_0x15fe03(_0x4672d5)||_0x4672d5);return _0x4672d5;},_0x25415d=(_0x2e700b,_0x3df852)=>(_0x198fab,_0x7c084c)=>_0x3df852(_0x198fab,_0x7c084c,_0x2e700b);let _0x5aa976=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x3f0284,_0x44cbfb){const _0x34a106=_0x2b281a;super(),this['_docClipboardService']=_0x3f0284,this['_imageIoService']=_0x44cbfb,this[_0x34a106(0x223)]();}['_init'](){const _0x5e2708=_0x2b281a,_0x142cd9=this;this[_0x5e2708(0x3f2)](this[_0x5e2708(0x1fc)][_0x5e2708(0x16d)]({'onBeforePasteImage':async _0x3dce97=>{const _0x5daf27=_0x5e2708,_0x34a29a=await _0x142cd9['_imageIoService'][_0x5daf27(0x272)](_0x3dce97);return _0x34a29a?{'source':_0x34a29a[_0x5daf27(0x3d6)],'imageSourceType':_0x34a29a['imageSourceType']}:null;}}));}};_0x5aa976=_0x33b300([_0x25415d(0x0,_0xf283a2[_0x2b281a(0x2ea)]),_0x25415d(0x1,_0x4a423e['IImageIoService'])],_0x5aa976);const _0x1487a6=[_0x2b281a(0x1f1),_0x2b281a(0x1c8),_0x2b281a(0x243),_0x2b281a(0x33a),_0x2b281a(0x395),_0x2b281a(0x208)];class _0x39e635 extends _0x403a48[_0x2b281a(0x265)]{constructor(){const _0x2c90eb=_0x2b281a;super(...arguments),_0x95fa0d(this,_0x2c90eb(0x2c4),new Map()),_0x95fa0d(this,_0x2c90eb(0x347),0x0);}['assignAColorForMemberID'](_0xfc2e1a){const _0x119efe=_0x2b281a;if(this['_assignedColors'][_0x119efe(0x1c5)](_0xfc2e1a))return this[_0x119efe(0x2c4)][_0x119efe(0x3c2)](_0xfc2e1a);const _0x2f1741=_0x1487a6[this[_0x119efe(0x347)]];return this[_0x119efe(0x347)]=(this['_colorIndex']+0x1)%_0x1487a6[_0x119efe(0x36f)],this[_0x119efe(0x2c4)][_0x119efe(0x25e)](_0xfc2e1a,_0x2f1741),_0x2f1741;}}function _0x548fd6(_0x5b97f3){const _0x3b771a=_0x2b281a;let _0x2152f1='';for(const _0x59557b of _0x5b97f3){const {startOffset:_0x1f307b,endOffset:_0x2642cb,isActive:_0x28afdb,rangeType:_0x39ebac,segmentId:_0x440d15,segmentPage:_0x425906}=_0x59557b;_0x2152f1[_0x3b771a(0x36f)]&&(_0x2152f1+=','),_0x2152f1+=_0x1f307b+':'+_0x2642cb+':'+(_0x28afdb?'1':'0')+':'+_0x39ebac+':'+_0x440d15+':'+_0x425906;}return _0x2152f1;}function _0x27275c(_0x4e001e){const _0x15833e=_0x2b281a,_0x32638d=_0x4e001e['split'](','),_0x2bda1e=[];for(const _0x559fa9 of _0x32638d){const [_0x508245,_0xb52aa5,_0x4feed3,_0x35623d,_0x39ce8e,_0x1098aa]=_0x559fa9['split'](':');_0x2bda1e['push']({'startOffset':Number(_0x508245),'endOffset':Number(_0xb52aa5),'collapsed':_0x508245===_0xb52aa5,'isActive':_0x4feed3==='1','rangeType':_0x35623d===_0x403a48[_0x15833e(0x1a7)]['TEXT']?_0x403a48['DOC_RANGE_TYPE'][_0x15833e(0x2e3)]:_0x403a48[_0x15833e(0x1a7)][_0x15833e(0x24e)],'segmentId':typeof _0x39ce8e==_0x15833e(0x1df)?String(_0x39ce8e):'','segmentPage':Number(_0x1098aa!=null?_0x1098aa:-0x1)});}return _0x2bda1e[_0x15833e(0x182)](_0x229e2c=>_0x229e2c[_0x15833e(0x22f)])||(_0x2bda1e[0x0][_0x15833e(0x22f)]=!0x0),_0x2bda1e;}class _0x225ea0 extends _0x403a48['RxDisposable']{constructor(){const _0x270d8e=_0x2b281a;super(...arguments),_0x95fa0d(this,'_collabCursorState$',new _0x15c792[(_0x270d8e(0x37f))](null)),_0x95fa0d(this,'collabCursorState$',this['_collabCursorState$'][_0x270d8e(0x335)]());}['syncEditingCollabCursor'](_0x5ae415){const {unitID:_0x34cb0d,memberID:_0x4d5c8d,textRanges:_0x4e7232}=_0x5ae415,_0x405dd8=_0x548fd6(_0x4e7232);if(_0x405dd8==='')return;const _0xa3351={'unitID':_0x34cb0d,'memberID':_0x4d5c8d,'selection':_0x405dd8};this['_collabCursorState$']['next'](_0xa3351);}}var _0x48bdbe=Object[_0x2b281a(0x354)],_0x282ba7=(_0x238d94,_0x4a5e13,_0x1826f3,_0xb493dd)=>{const _0x15ebdf=_0x2b281a;for(var _0x2067dd=_0xb493dd>0x1?void 0x0:_0xb493dd?_0x48bdbe(_0x4a5e13,_0x1826f3):_0x4a5e13,_0x4d9c10=_0x238d94[_0x15ebdf(0x36f)]-0x1,_0x299637;_0x4d9c10>=0x0;_0x4d9c10--)(_0x299637=_0x238d94[_0x4d9c10])&&(_0x2067dd=_0x299637(_0x2067dd)||_0x2067dd);return _0x2067dd;},_0x3bf40e=(_0x1ab7f0,_0x270368)=>(_0xdeee02,_0x41bee8)=>_0x270368(_0xdeee02,_0x41bee8,_0x1ab7f0);const _0x4cbe43=0x12c,_0x412763=0x64;let _0x5a8dcc=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x4c6aae,_0x770421,_0x2aaf45,_0x285da6,_0x34bb6c,_0x54def0,_0x2f7929,_0x1e9917,_0x2afb53){const _0x3abd63=_0x2b281a;super(),_0x95fa0d(this,_0x3abd63(0x343),!0x1),_0x95fa0d(this,'_init',!0x1),_0x95fa0d(this,'_cursorInfo$',new _0x15c792[(_0x3abd63(0x37f))](new Map())),_0x95fa0d(this,_0x3abd63(0x333),this[_0x3abd63(0x380)][_0x3abd63(0x335)]()),_0x95fa0d(this,_0x3abd63(0x355),new _0x15c792[(_0x3abd63(0x37f))]([])),_0x95fa0d(this,_0x3abd63(0x285),this[_0x3abd63(0x355)]['pipe'](_0x15c792[_0x3abd63(0x3f4)](_0x4cbe43))),_0x95fa0d(this,_0x3abd63(0x20f),_0x403a48[_0x3abd63(0x17b)](_0x2de118=>{const _0x4613b1=_0x3abd63,_0x4dd97a={'eventID':_0x261ba6[_0x4613b1(0x2ab)][_0x4613b1(0x34a)],'data':{'unitID':this[_0x4613b1(0x1ab)],'memberID':this[_0x4613b1(0x159)][_0x4613b1(0x190)](),'selection':_0x548fd6(_0x2de118)}};this['_session']['send'](_0x4dd97a,this[_0x4613b1(0x1ab)]);},_0x412763)),(this[_0x3abd63(0x1ab)]=_0x4c6aae,this[_0x3abd63(0x159)]=_0x770421,this[_0x3abd63(0x24a)]=_0x2aaf45,this[_0x3abd63(0x32e)]=_0x285da6,this[_0x3abd63(0x1b0)]=_0x34bb6c,this[_0x3abd63(0x3e3)]=_0x54def0,this[_0x3abd63(0x367)]=_0x2f7929,this[_0x3abd63(0x2c8)]=_0x1e9917,this[_0x3abd63(0x303)]=_0x2afb53);}get[_0x2b281a(0x2ce)](){const _0x359956=_0x2b281a;return this[_0x359956(0x380)][_0x359956(0x18e)]();}get[_0x2b281a(0x21f)](){const _0x1df61c=_0x2b281a;return this[_0x1df61c(0x355)][_0x1df61c(0x18e)]();}['dispose'](){const _0x158e28=_0x2b281a;super[_0x158e28(0x322)](),this[_0x158e28(0x380)][_0x158e28(0x1ac)](new Map()),this[_0x158e28(0x380)]['complete'](),this[_0x158e28(0x355)][_0x158e28(0x1ac)]([]),this[_0x158e28(0x355)][_0x158e28(0x2db)]();}[_0x2b281a(0x1ce)](){const _0x3c3a00=_0x2b281a;this['_init']||(this[_0x3c3a00(0x223)]=!0x0,this['_session'][_0x3c3a00(0x234)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))[_0x3c3a00(0x308)](_0x40561d=>{const _0x45a700=_0x3c3a00;_0x40561d===_0x55aa48[_0x45a700(0x370)]['ONLINE']?this[_0x45a700(0x1e5)]():this['_toggleOffline']();}),this['_session'][_0x3c3a00(0x3ca)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))['subscribe'](_0x360dec=>{const _0x3bd8b4=_0x3c3a00,_0x1c3012=_0x360dec[_0x3bd8b4(0x20c)];_0x1c3012===_0x261ba6[_0x3bd8b4(0x2ab)][_0x3bd8b4(0x34a)]&&this['_onCursorUpdate'](_0x360dec),_0x1c3012===_0x261ba6[_0x3bd8b4(0x2ab)]['USERS_LEAVE']&&this[_0x3bd8b4(0x2b6)](_0x360dec);}),this[_0x3c3a00(0x3f2)](this[_0x3c3a00(0x303)][_0x3c3a00(0x3c7)](_0x52bfb8=>{const _0xc0fe=_0x3c3a00,_0x1d94dd=_0x52bfb8[_0xc0fe(0x3ef)];_0x1d94dd!=null&&this[_0xc0fe(0x343)]&&_0x52bfb8['id']===_0x36b8d7[_0xc0fe(0x171)]['id']&&_0x1d94dd[_0xc0fe(0x3b0)]===this[_0xc0fe(0x1ab)]&&_0x1d94dd[_0xc0fe(0x1f6)]===!0x1&&_0x1d94dd['ranges'][_0xc0fe(0x36f)]>0x0&&this[_0xc0fe(0x20f)](_0x1d94dd[_0xc0fe(0x1f0)]);})),this[_0x3c3a00(0x3e3)][_0x3c3a00(0x1b1)][_0x3c3a00(0x28a)](_0x15c792[_0x3c3a00(0x261)](this[_0x3c3a00(0x30b)]))[_0x3c3a00(0x308)](_0x245909=>{const _0x23581f=_0x3c3a00;if((_0x245909==null?void 0x0:_0x245909[_0x23581f(0x1ab)])!==this[_0x23581f(0x1ab)])return;const _0x34fecd={'eventID':_0x261ba6[_0x23581f(0x2ab)][_0x23581f(0x34a)],'data':_0x245909};this['_onCursorUpdate'](_0x34fecd);}),this[_0x3c3a00(0x3f2)](this['_commandService'][_0x3c3a00(0x3c7)](_0x8bf966=>{const _0x468d80=_0x3c3a00;if(_0x8bf966[_0x468d80(0x3ef)]==null)return;const _0x760765=_0x8bf966[_0x468d80(0x3ef)];if(_0x8bf966['id']!==_0x36b8d7[_0x468d80(0x31c)]['id']||_0x760765[_0x468d80(0x3b0)]!==this[_0x468d80(0x1ab)])return;const _0x22165b={'id':_0x468d80(0x185),'params':_0x760765},_0x53e13f=this[_0x468d80(0x2ce)];for(const [_0x48c1c6,_0x19acfc]of _0x53e13f){const _0x166a00={'id':_0x468d80(0x185),'params':{'unitId':this[_0x468d80(0x1ab)],'actions':null,'textRanges':_0x19acfc[_0x468d80(0x1f0)]}},_0x145aa2=this['_transformService'][_0x468d80(0x3dd)](_0x22165b,_0x166a00,!0x1);if(_0x261ba6[_0x468d80(0x369)](_0x145aa2))throw _0x145aa2['error'];_0x53e13f[_0x468d80(0x25e)](_0x48c1c6,{..._0x19acfc,'ranges':_0x145aa2[_0x468d80(0x253)][_0x468d80(0x3ef)][_0x468d80(0x3cc)]});}queueMicrotask(()=>{const _0x3b48ac=_0x468d80;this[_0x3b48ac(0x380)]['next'](_0x53e13f);});})));}['_onCursorUpdate'](_0x58c8b3){const _0x426f22=_0x2b281a;var _0x5ebce8,_0x1240ad;const {memberID:_0x417057,selection:_0x4223cd}=_0x58c8b3[_0x426f22(0x1c6)],_0x31585b=_0x27275c(_0x4223cd),_0x4cc645=(_0x1240ad=(_0x5ebce8=this['_memberService'][_0x426f22(0x172)](this[_0x426f22(0x1ab)],_0x417057))==null?void 0x0:_0x5ebce8[_0x426f22(0x203)])!=null?_0x1240ad:'Unknown\x20user',_0x4f09ba={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x417057),'name':_0x4cc645,'ranges':_0x31585b},_0x642b3c=this[_0x426f22(0x2ce)];_0x642b3c['set'](_0x417057,_0x4f09ba),this[_0x426f22(0x380)][_0x426f22(0x1ac)](_0x642b3c);}[_0x2b281a(0x2b6)](_0x3da532){const _0x24892b=_0x2b281a,{memberID:_0x4d4903}=_0x3da532[_0x24892b(0x1c6)],_0x446fa5=this['cursorInfo'];_0x446fa5['delete'](_0x4d4903),this['_cursorInfo$'][_0x24892b(0x1ac)](_0x446fa5);}[_0x2b281a(0x1e5)](){const _0x5b0c0b=_0x2b281a;var _0x53d8ed;if(this[_0x5b0c0b(0x343)]=!0x0,((_0x53d8ed=this[_0x5b0c0b(0x2c8)][_0x5b0c0b(0x364)]())==null?void 0x0:_0x53d8ed[_0x5b0c0b(0x1b9)]())!==this[_0x5b0c0b(0x1ab)])return;const _0x354894=this[_0x5b0c0b(0x24a)][_0x5b0c0b(0x3c2)](_0x36b8d7[_0x5b0c0b(0x396)])['getDocRanges']();Array[_0x5b0c0b(0x3e5)](_0x354894)&&_0x354894['length']>0x0&&this[_0x5b0c0b(0x20f)](_0x354894);}[_0x2b281a(0x21c)](){const _0x226006=_0x2b281a;this[_0x226006(0x343)]=!0x1;}};_0x5a8dcc=_0x282ba7([_0x3bf40e(0x2,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x3bf40e(0x3,_0x403a48[_0x2b281a(0x19a)](_0x39e635)),_0x3bf40e(0x4,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x160)])),_0x3bf40e(0x5,_0x403a48[_0x2b281a(0x19a)](_0x225ea0)),_0x3bf40e(0x6,_0x261ba6[_0x2b281a(0x36c)]),_0x3bf40e(0x7,_0x403a48[_0x2b281a(0x360)]),_0x3bf40e(0x8,_0x403a48[_0x2b281a(0x2f5)])],_0x5a8dcc);var _0x387ad3=Object[_0x2b281a(0x354)],_0x318172=(_0x135059,_0x3cc462,_0x17baa8,_0x2703e0)=>{const _0x46e39a=_0x2b281a;for(var _0x487367=_0x2703e0>0x1?void 0x0:_0x2703e0?_0x387ad3(_0x3cc462,_0x17baa8):_0x3cc462,_0x503ff2=_0x135059[_0x46e39a(0x36f)]-0x1,_0x3567f5;_0x503ff2>=0x0;_0x503ff2--)(_0x3567f5=_0x135059[_0x503ff2])&&(_0x487367=_0x3567f5(_0x487367)||_0x487367);return _0x487367;},_0x2f73dc=(_0x472cb3,_0x416ad5)=>(_0x16b16a,_0x1c515d)=>_0x416ad5(_0x16b16a,_0x1c515d,_0x472cb3);const _0x2b3988=0x12c,_0x5c847d=0x64,_0x23d783=()=>{let _0x37fd0e=[],_0x2dc12d=!0x1;return _0x81f4ab=>{const _0x3d184e=_0x28da;_0x37fd0e[_0x3d184e(0x381)](_0x81f4ab),_0x2dc12d||(_0x2dc12d=!0x0,setTimeout(()=>{_0x37fd0e['forEach'](_0xfc2af3=>_0xfc2af3()),_0x37fd0e=[],_0x2dc12d=!0x1;}));};};let _0x56b781=class extends _0x403a48['RxDisposable']{constructor(_0x3abfef,_0xf7eb5d,_0x12bd5f,_0x5b8f48,_0x234d17,_0x55e32e,_0x25b9a0,_0x38ead4){const _0x43033c=_0x2b281a;super(),_0x95fa0d(this,_0x43033c(0x343),!0x1),_0x95fa0d(this,_0x43033c(0x223),!0x1),_0x95fa0d(this,'_cursorInfo$',new _0x15c792['BehaviorSubject'](new Map())),_0x95fa0d(this,'cursorInfo$',this[_0x43033c(0x380)][_0x43033c(0x335)]()),_0x95fa0d(this,_0x43033c(0x355),new _0x15c792[(_0x43033c(0x37f))]([])),_0x95fa0d(this,_0x43033c(0x285),this[_0x43033c(0x355)][_0x43033c(0x28a)](_0x15c792[_0x43033c(0x3f4)](_0x2b3988))),_0x95fa0d(this,_0x43033c(0x20f),_0x403a48[_0x43033c(0x17b)]((_0x1b0f40,_0x53c8a5)=>{const _0x459316=_0x43033c,_0x2f5713={'eventID':_0x261ba6[_0x459316(0x2ab)][_0x459316(0x34a)],'data':{'unitID':this[_0x459316(0x1ab)],'memberID':this[_0x459316(0x159)][_0x459316(0x190)](),'selection':_0xf4f0b7[_0x459316(0x233)](_0x1b0f40,_0x53c8a5['range'])}};this[_0x459316(0x159)][_0x459316(0x1f5)](_0x2f5713,this['unitID']);},_0x5c847d)),(this[_0x43033c(0x1ab)]=_0x3abfef,this['_session']=_0xf7eb5d,this['_injector']=_0x12bd5f,this[_0x43033c(0x32e)]=_0x5b8f48,this[_0x43033c(0x1b0)]=_0x234d17,this[_0x43033c(0x2c8)]=_0x55e32e,this[_0x43033c(0x303)]=_0x25b9a0,this[_0x43033c(0x277)]=_0x38ead4);}get[_0x2b281a(0x2ce)](){const _0x47f873=_0x2b281a;return this[_0x47f873(0x380)][_0x47f873(0x18e)]();}get['roomMembers'](){const _0x25c6b7=_0x2b281a;return this[_0x25c6b7(0x355)]['getValue']();}[_0x2b281a(0x322)](){const _0x4656bc=_0x2b281a;super['dispose'](),this[_0x4656bc(0x380)]['next'](new Map()),this['_cursorInfo$'][_0x4656bc(0x2db)](),this[_0x4656bc(0x355)]['next']([]),this['_roomMembers$'][_0x4656bc(0x2db)]();}[_0x2b281a(0x1ce)](){const _0x1514d0=_0x2b281a;this[_0x1514d0(0x223)]||(this[_0x1514d0(0x223)]=!0x0,this['_session']['sessionStatus$'][_0x1514d0(0x28a)](_0x15c792[_0x1514d0(0x261)](this[_0x1514d0(0x30b)]))['subscribe'](_0x557691=>{const _0x37982b=_0x1514d0;_0x557691===_0x55aa48[_0x37982b(0x370)][_0x37982b(0x249)]?this['_toggleOnline']():this[_0x37982b(0x21c)]();}),this[_0x1514d0(0x159)][_0x1514d0(0x3ca)][_0x1514d0(0x28a)](_0x15c792['takeUntil'](this[_0x1514d0(0x30b)]))['subscribe'](_0x4e2830=>{const _0x8bbf6=_0x1514d0,_0x21f4f0=_0x4e2830[_0x8bbf6(0x20c)];_0x21f4f0===_0x261ba6[_0x8bbf6(0x2ab)][_0x8bbf6(0x34a)]&&this[_0x8bbf6(0x35b)](_0x4e2830),_0x21f4f0===_0x261ba6['CollaborationEvent'][_0x8bbf6(0x2bb)]&&this[_0x8bbf6(0x2b6)](_0x4e2830);}),this[_0x1514d0(0x1a2)](),this[_0x1514d0(0x3f2)](this[_0x1514d0(0x303)][_0x1514d0(0x3c7)](_0x3109f5=>{const _0x196f67=_0x1514d0;if(this[_0x196f67(0x343)]&&_0x3109f5['id']===_0x46f729[_0x196f67(0x200)]['id']&&_0x3109f5[_0x196f67(0x3ef)][_0x196f67(0x3b0)]===this[_0x196f67(0x1ab)]){const _0x4830be=_0x3109f5[_0x196f67(0x3ef)];this[_0x196f67(0x20f)](_0x4830be[_0x196f67(0x22d)],_0x4830be[_0x196f67(0x23a)][0x0]);}})));}[_0x2b281a(0x35b)](_0x3cc725){const _0xba5005=_0x2b281a;var _0x5a82c5,_0x23cf43;const {memberID:_0x26b435,selection:_0xbb765d}=_0x3cc725[_0xba5005(0x1c6)],{sheetName:_0x449a94,range:_0x4d1e32}=_0xf4f0b7[_0xba5005(0x284)](_0xbb765d),_0x38669f={'name':(_0x23cf43=(_0x5a82c5=this[_0xba5005(0x1b0)][_0xba5005(0x172)](this[_0xba5005(0x1ab)],_0x26b435))==null?void 0x0:_0x5a82c5['name'])!=null?_0x23cf43:_0xba5005(0x286),'range':this[_0xba5005(0x240)](_0x449a94,_0x4d1e32),'sheetID':_0x449a94,'color':this[_0xba5005(0x32e)]['assignAColorForMemberID'](_0x26b435),'selection':_0xbb765d},_0x2411d3=this['cursorInfo'];_0x2411d3['set'](_0x26b435,_0x38669f),this[_0xba5005(0x380)][_0xba5005(0x1ac)](_0x2411d3);}[_0x2b281a(0x2b6)](_0x2a1c21){const _0x5ad0bc=_0x2b281a,{memberID:_0x12f58c}=_0x2a1c21[_0x5ad0bc(0x1c6)],_0x52d982=this[_0x5ad0bc(0x2ce)];_0x52d982[_0x5ad0bc(0x3cb)](_0x12f58c),this[_0x5ad0bc(0x380)][_0x5ad0bc(0x1ac)](_0x52d982);}[_0x2b281a(0x240)](_0x33ac0c,_0x10c5b8){const _0x3a0bec=_0x2b281a;var _0xceffd2,_0x176490;const _0x44c67c=(_0x176490=(_0xceffd2=this[_0x3a0bec(0x2c8)][_0x3a0bec(0x20b)](this['unitID']))==null?void 0x0:_0xceffd2[_0x3a0bec(0x307)](_0x33ac0c))==null?void 0x0:_0x176490['getMergeData']();return(_0x44c67c==null?void 0x0:_0x44c67c[_0x3a0bec(0x161)](_0x629bf9=>_0x403a48[_0x3a0bec(0x181)]['contains'](_0x629bf9,_0x10c5b8)))||_0x10c5b8;}[_0x2b281a(0x1a2)](){const _0x10d299=_0x2b281a,_0x13b277=new _0x403a48[(_0x10d299(0x24b))](),_0x1c076b=_0x23d783(),_0x2228f3=()=>{const _0x4afa1c=_0x10d299;_0x13b277['dispose']();const _0x54ff18=(_0x41133f,_0x27e999,_0x2a978a,_0x190fd2)=>{const _0x44070a=_0x28da;let _0x4774a4=[];switch(_0x41133f['id']){case _0x46f729[_0x44070a(0x242)][_0x44070a(0x2d3)]:{_0x4774a4=_0x46f729[_0x44070a(0x1e6)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x4774a4=_0x46f729[_0x44070a(0x30c)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x1aa)]:{_0x4774a4=_0x46f729[_0x44070a(0x186)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId'][_0x44070a(0x341)]:{_0x4774a4=_0x46f729[_0x44070a(0x310)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x35f)]:{_0x4774a4=_0x46f729[_0x44070a(0x28c)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)]['InsertRowCommandId']:{_0x4774a4=_0x46f729[_0x44070a(0x2af)](_0x41133f,_0x190fd2);break;}case _0x46f729[_0x44070a(0x242)][_0x44070a(0x3df)]:{_0x4774a4=_0x46f729[_0x44070a(0x2b0)](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['RemoveColCommandId']:{_0x4774a4=_0x46f729['handleIRemoveCol'](_0x41133f,_0x190fd2);break;}case _0x46f729['EffectRefRangId']['RemoveRowCommandId']:{_0x4774a4=_0x46f729['handleIRemoveRow'](_0x41133f,_0x190fd2);break;}}const _0x4d58d2=_0x46f729[_0x44070a(0x3b4)](_0x4774a4,_0x190fd2),_0x1b9c23=this['cursorInfo'][_0x44070a(0x3c2)](_0x27e999);if(_0x1b9c23&&_0x4d58d2){const _0x295384={..._0x1b9c23,'range':_0x4d58d2};this[_0x44070a(0x2ce)]['set'](_0x27e999,_0x295384),_0x1c076b(()=>{const _0x963597=_0x44070a,_0x4fffb5=this[_0x963597(0x277)][_0x963597(0x2e2)](_0x4d58d2,_0x5dd118=>(_0x4fffb5['dispose'](),_0x54ff18(_0x5dd118,_0x27e999,_0x2a978a,_0x4d58d2)));_0x13b277['add'](_0x4fffb5);});}return{'redos':[],'undos':[]};};this[_0x4afa1c(0x2ce)][_0x4afa1c(0x2e1)]((_0x58101e,_0x4e4b7f)=>{const _0x3dee6f=_0x4afa1c,{range:_0xed9113,sheetID:_0x4f0620}=_0x58101e,_0x5a8dcf=this[_0x3dee6f(0x277)][_0x3dee6f(0x2e2)](_0xed9113,_0x174e5f=>(_0x5a8dcf[_0x3dee6f(0x322)](),_0x54ff18(_0x174e5f,_0x4e4b7f,_0x4f0620,_0xed9113)));_0x13b277[_0x3dee6f(0x1b3)](_0x5a8dcf);});};this[_0x10d299(0x3f2)](_0x403a48[_0x10d299(0x3a2)](this['_cursorInfo$']['subscribe'](()=>{_0x2228f3();})));}[_0x2b281a(0x1e5)](){const _0x97f716=_0x2b281a;var _0x415f68,_0x3573d2;if(this[_0x97f716(0x343)]=!0x0,((_0x415f68=this[_0x97f716(0x2c8)][_0x97f716(0x364)]())==null?void 0x0:_0x415f68[_0x97f716(0x1b9)]())!==this[_0x97f716(0x1ab)])return;const _0x4ceb60=(_0x3573d2=this['_injector']['get'](_0x46f729[_0x97f716(0x197)])[_0x97f716(0x391)]())==null?void 0x0:_0x3573d2[0x0],_0xe453b8=this[_0x97f716(0x2c8)][_0x97f716(0x1cb)](_0x403a48[_0x97f716(0x28f)][_0x97f716(0x169)])[_0x97f716(0x1f9)]();_0x4ceb60&&_0xe453b8&&this['_updateLocalCursor'](_0xe453b8[_0x97f716(0x313)](),_0x4ceb60);}[_0x2b281a(0x21c)](){const _0x4c935a=_0x2b281a;this[_0x4c935a(0x343)]=!0x1;}};_0x56b781=_0x318172([_0x2f73dc(0x2,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x267)])),_0x2f73dc(0x3,_0x403a48['Inject'](_0x39e635)),_0x2f73dc(0x4,_0x403a48['Inject'](_0x55aa48['MemberService'])),_0x2f73dc(0x5,_0x403a48[_0x2b281a(0x360)]),_0x2f73dc(0x6,_0x403a48['ICommandService']),_0x2f73dc(0x7,_0x403a48[_0x2b281a(0x19a)](_0x46f729[_0x2b281a(0x30f)]))],_0x56b781);var _0x353a94=Object[_0x2b281a(0x354)],_0x276b2b=(_0x335409,_0x30eb19,_0x2a44c1,_0x1abaa5)=>{const _0x21c838=_0x2b281a;for(var _0x5ad2d6=_0x1abaa5>0x1?void 0x0:_0x1abaa5?_0x353a94(_0x30eb19,_0x2a44c1):_0x30eb19,_0x4276db=_0x335409[_0x21c838(0x36f)]-0x1,_0x2a6a67;_0x4276db>=0x0;_0x4276db--)(_0x2a6a67=_0x335409[_0x4276db])&&(_0x5ad2d6=_0x2a6a67(_0x5ad2d6)||_0x5ad2d6);return _0x5ad2d6;},_0x2e543f=(_0x2014b0,_0xee0a21)=>(_0x3f4557,_0x1f4c21)=>_0xee0a21(_0x3f4557,_0x1f4c21,_0x2014b0);let _0x896780=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x310617,_0x3ddd40,_0xd3e652){const _0x3bf6df=_0x2b281a;super(),_0x95fa0d(this,_0x3bf6df(0x2f7),new Map()),_0x95fa0d(this,_0x3bf6df(0x15c),new _0x15c792[(_0x3bf6df(0x372))]()),(this['_univerInstanceService']=_0x310617,this[_0x3bf6df(0x24a)]=_0x3ddd40,this[_0x3bf6df(0x287)]=_0xd3e652,this[_0x3bf6df(0x223)]());}[_0x2b281a(0x322)](){const _0x5b51cb=_0x2b281a;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x5b51cb(0x2e1)](_0x233e89=>_0x233e89[_0x5b51cb(0x322)]());}[_0x2b281a(0x327)](_0x524b03){const _0x595fb5=_0x2b281a;return this[_0x595fb5(0x2f7)][_0x595fb5(0x1c5)](_0x524b03)?this['_entities'][_0x595fb5(0x3c2)](_0x524b03)[_0x595fb5(0x333)]:this['_entityInit$']['pipe'](_0x15c792[_0x595fb5(0x18d)](_0x1be437=>_0x1be437[_0x595fb5(0x1ab)]===_0x524b03),_0x15c792[_0x595fb5(0x293)](_0x103b81=>_0x103b81['cursorInfo$']));}[_0x2b281a(0x223)](){const _0x31f46a=_0x2b281a;this[_0x31f46a(0x2c8)][_0x31f46a(0x2e5)](_0x403a48[_0x31f46a(0x28f)][_0x31f46a(0x169)])[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x261)](this['dispose$']))[_0x31f46a(0x308)](async _0x46024e=>{const _0x3a44cd=_0x31f46a,_0x36515e=_0x46024e[_0x3a44cd(0x1b9)](),_0x14f730=await this['_startSheetCollabCursor'](_0x36515e);this[_0x3a44cd(0x15c)][_0x3a44cd(0x1ac)](_0x14f730),this[_0x3a44cd(0x2f7)]['set'](_0x36515e,_0x14f730);}),this[_0x31f46a(0x2c8)][_0x31f46a(0x2e5)](_0x403a48[_0x31f46a(0x28f)]['UNIVER_DOC'])[_0x31f46a(0x28a)](_0x15c792['takeUntil'](this[_0x31f46a(0x30b)]))[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x18d)](_0x1496e0=>!_0x1496e0[_0x31f46a(0x1b9)]()[_0x31f46a(0x23e)]('__')))[_0x31f46a(0x308)](async _0x38e8c5=>{const _0x4b12bc=_0x31f46a,_0xae0bea=_0x38e8c5['getUnitId'](),_0xe00eac=await this['_startDocCollabCursor'](_0xae0bea);this['_entityInit$'][_0x4b12bc(0x1ac)](_0xe00eac),this[_0x4b12bc(0x2f7)]['set'](_0xae0bea,_0xe00eac);}),_0x15c792[_0x31f46a(0x28b)](this[_0x31f46a(0x2c8)][_0x31f46a(0x3b3)](_0x403a48[_0x31f46a(0x28f)][_0x31f46a(0x2ee)]),this[_0x31f46a(0x2c8)][_0x31f46a(0x3b3)](_0x403a48[_0x31f46a(0x28f)]['UNIVER_SHEET']))[_0x31f46a(0x28a)](_0x15c792[_0x31f46a(0x261)](this[_0x31f46a(0x30b)]))[_0x31f46a(0x308)](_0x34a9d1=>{const _0x14011a=_0x31f46a,_0x4ef2ee=_0x34a9d1[_0x14011a(0x1b9)](),_0x44bb92=this[_0x14011a(0x2f7)][_0x14011a(0x3c2)](_0x4ef2ee);_0x44bb92&&(_0x44bb92[_0x14011a(0x322)](),this[_0x14011a(0x2f7)][_0x14011a(0x3cb)](_0x4ef2ee));});}async[_0x2b281a(0x36b)](_0xdca5d2){const _0x2a730d=_0x2b281a,_0x28cb59=await this['_collabSessionService'][_0x2a730d(0x3c9)](_0xdca5d2),_0x4bbea0=this[_0x2a730d(0x24a)]['createInstance'](_0x56b781,_0xdca5d2,_0x28cb59);return _0x4bbea0[_0x2a730d(0x1ce)](),_0x4bbea0;}async[_0x2b281a(0x2a7)](_0x5b1ea0){const _0x5258be=_0x2b281a,_0x1767a7=await this[_0x5258be(0x287)][_0x5258be(0x3c9)](_0x5b1ea0),_0x2d8b76=this['_injector'][_0x5258be(0x3f6)](_0x5a8dcc,_0x5b1ea0,_0x1767a7);return _0x2d8b76[_0x5258be(0x1ce)](),_0x2d8b76;}};_0x896780=_0x276b2b([_0x2e543f(0x0,_0x403a48[_0x2b281a(0x360)]),_0x2e543f(0x1,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x2e543f(0x2,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x309)]))],_0x896780);const _0x1a5f6a=0x14,_0x8ab697=0xc8,_0x38e40c=0x4,_0x33642a=0x5;function _0x5ad198(_0x5cf4f3,_0x8a9f66){const _0x52bc59=_0x2b281a;let {radius:_0x37352a,width:_0x32c802,height:_0x1b6309}=_0x8a9f66;_0x37352a=_0x37352a!=null?_0x37352a:0x0,_0x32c802=_0x32c802!=null?_0x32c802:0x1e,_0x1b6309=_0x1b6309!=null?_0x1b6309:0x1e;let _0x2d2725=0x0,_0x5d2a82=0x0,_0x32e297=0x0;_0x2d2725=_0x5d2a82=_0x32e297=Math[_0x52bc59(0x382)](_0x37352a,_0x32c802/0x2,_0x1b6309/0x2),_0x5cf4f3[_0x52bc59(0x1d3)](),_0x5cf4f3[_0x52bc59(0x2b3)](_0x2d2725,0x0),_0x5cf4f3[_0x52bc59(0x189)](_0x32c802-_0x5d2a82,0x0),_0x5cf4f3[_0x52bc59(0x1c0)](_0x32c802-_0x5d2a82,_0x5d2a82,_0x5d2a82,Math['PI']*0x3/0x2,0x0,!0x1),_0x5cf4f3[_0x52bc59(0x189)](_0x32c802,_0x1b6309-_0x32e297),_0x5cf4f3[_0x52bc59(0x1c0)](_0x32c802-_0x32e297,_0x1b6309-_0x32e297,_0x32e297,0x0,Math['PI']/0x2,!0x1),_0x5cf4f3[_0x52bc59(0x189)](0x0,_0x1b6309),_0x5cf4f3[_0x52bc59(0x189)](0x0,_0x2d2725),_0x5cf4f3[_0x52bc59(0x1c0)](_0x2d2725,_0x2d2725,_0x2d2725,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5cf4f3[_0x52bc59(0x36e)](),_0x8a9f66[_0x52bc59(0x1c2)]&&(_0x5cf4f3['save'](),_0x5cf4f3[_0x52bc59(0x166)]=_0x8a9f66['fill'],_0x8a9f66[_0x52bc59(0x1ed)]==='evenodd'?_0x5cf4f3[_0x52bc59(0x1c2)](_0x52bc59(0x38d)):_0x5cf4f3[_0x52bc59(0x1c2)](),_0x5cf4f3[_0x52bc59(0x22c)]());}class _0x5c9d7c extends _0x1380e3[_0x2b281a(0x19d)]{constructor(_0x2723d6,_0x1cce33){const _0x31cc08=_0x2b281a;super(_0x2723d6,_0x1cce33),_0x95fa0d(this,_0x31cc08(0x2cd)),_0x95fa0d(this,_0x31cc08(0x2a9)),(this[_0x31cc08(0x2cd)]=_0x1cce33==null?void 0x0:_0x1cce33[_0x31cc08(0x2cd)],this[_0x31cc08(0x2a9)]=_0x1cce33==null?void 0x0:_0x1cce33[_0x31cc08(0x2a9)]);}static[_0x2b281a(0x262)](_0x30f346,_0x5f5b5e){const _0x1f6275=_0x2b281a,{text:_0xf6b321,color:_0x3bb0ee}=_0x5f5b5e;_0x30f346[_0x1f6275(0x2d8)](),_0x30f346[_0x1f6275(0x39e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x16af11=_0x30f346[_0x1f6275(0x3b6)](_0xf6b321)[_0x1f6275(0x1ca)],_0x4d1656=Math[_0x1f6275(0x382)](_0x16af11+0x2*_0x38e40c,_0x8ab697);_0x5ad198(_0x30f346,{'height':_0x1a5f6a,'radius':0x4,'width':_0x4d1656,'fill':_0x3bb0ee}),_0x30f346[_0x1f6275(0x166)]=_0x1f6275(0x183);const _0x3cb8f5=_0x38e40c,_0x518f9e=_0x1a5f6a-_0x33642a,_0x4bf2d6=_0x8ab697-0x2*_0x38e40c;if(_0x16af11>_0x4bf2d6){let _0x2b1130='',_0x44e673=0x0;for(const _0x47d751 of _0xf6b321){const _0x58f769=_0x30f346[_0x1f6275(0x3b6)](_0x47d751)[_0x1f6275(0x1ca)];if(_0x44e673+_0x58f769<=_0x4bf2d6-_0x30f346[_0x1f6275(0x3b6)](_0x1f6275(0x28e))[_0x1f6275(0x1ca)])_0x2b1130+=_0x47d751,_0x44e673+=_0x58f769;else{_0x2b1130+=_0x1f6275(0x28e);break;}}_0x30f346[_0x1f6275(0x2c6)](_0x2b1130,_0x3cb8f5,_0x518f9e);}else _0x30f346[_0x1f6275(0x2c6)](_0xf6b321,_0x3cb8f5,_0x518f9e);_0x30f346[_0x1f6275(0x22c)]();}[_0x2b281a(0x191)](_0x241ebe){const _0x32cf79=_0x2b281a;_0x5c9d7c[_0x32cf79(0x262)](_0x241ebe,this);}}const _0x3c2cac=_0x2b281a(0x3be),_0x397287=_0x2b281a(0x1cd),_0x324541=_0x2b281a(0x302),_0x28ec24=0x6,_0x4d84c9=1.5,_0x4c1a50=0x4,_0x420bd5=1.5,_0x15d44a=_0x2b281a(0x212);class _0x15aa0f{constructor(_0x3aeb8d,_0x2610c6,_0x1835f7,_0x535c07){const _0x4a2d00=_0x2b281a;_0x95fa0d(this,'_shapes',[]),_0x95fa0d(this,_0x4a2d00(0x29b),null),_0x95fa0d(this,_0x4a2d00(0x3b7),null),_0x95fa0d(this,_0x4a2d00(0x1af),null),_0x95fa0d(this,_0x4a2d00(0x324),null),_0x95fa0d(this,'_eventUnsubscribe',null),(this[_0x4a2d00(0x2a3)]=_0x3aeb8d,this['_scene']=_0x2610c6,this[_0x4a2d00(0x311)]=_0x1835f7,this[_0x4a2d00(0x1b2)]=_0x535c07,this[_0x4a2d00(0x3a6)]());}set[_0x2b281a(0x28d)](_0x4b7b8e){const _0x2407f9=_0x2b281a;_0x4b7b8e?(this[_0x2407f9(0x1af)]&&this[_0x2407f9(0x1af)][_0x2407f9(0x1dd)](),this[_0x2407f9(0x3b7)]&&this[_0x2407f9(0x3b7)][_0x2407f9(0x259)]()):(this[_0x2407f9(0x1af)]&&this[_0x2407f9(0x1af)][_0x2407f9(0x259)](),this[_0x2407f9(0x3b7)]&&this[_0x2407f9(0x3b7)]['hide']());}['dispose'](){const _0x57d124=_0x2b281a;for(const _0x117271 of this['_shapes'])_0x117271[_0x57d124(0x322)]();this['_textBubble']&&this['_textBubble'][_0x57d124(0x322)](),this[_0x57d124(0x1af)]&&this[_0x57d124(0x1af)][_0x57d124(0x322)](),this['_anchor']&&this[_0x57d124(0x29b)][_0x57d124(0x322)](),this[_0x57d124(0x198)]&&this[_0x57d124(0x198)]();}[_0x2b281a(0x3a6)](){const _0x3eaff7=_0x2b281a;var _0x3e86cd;const {_docSkeleton:_0xd3f2af,_document:_0xb5bc8a}=this,{color:_0x299d68,name:_0x427cb0,ranges:_0x29ef6}=this[_0x3eaff7(0x2a3)],_0x12e61d=_0xb5bc8a['getOffsetConfig'](),{docsLeft:_0x21a04a,docsTop:_0x4ba29a}=_0x12e61d,_0x53af56=new _0xf283a2[(_0x3eaff7(0x2ed))](_0x12e61d,_0xd3f2af);for(const {startOffset:_0x395fec,endOffset:_0x491765,rangeType:_0x3539ac,segmentId:_0x51408a,segmentPage:_0x50ff5e,collapsed:_0x184eb2,isActive:_0x5aacd4}of _0x29ef6){const _0x40f6b5=_0xd3f2af[_0x3eaff7(0x239)](_0x395fec,!0x0,_0x51408a,_0x50ff5e);let _0x16d156=_0xd3f2af[_0x3eaff7(0x239)](_0x491765,!0x0,_0x51408a,_0x50ff5e);if(_0x16d156==null&&(_0x16d156=_0xd3f2af[_0x3eaff7(0x239)](_0x491765-0x1,!0x1,_0x51408a,_0x50ff5e)),_0x5aacd4){const {contentBoxPointGroup:_0x5e8dd1}=_0x53af56[_0x3eaff7(0x18a)](_0x16d156,_0x16d156);if(_0x5e8dd1[_0x3eaff7(0x36f)]===0x0)continue;this[_0x3eaff7(0x2b1)](_0x299d68,_0x5e8dd1,_0x21a04a,_0x4ba29a,_0x427cb0),this[_0x3eaff7(0x198)]=this[_0x3eaff7(0x37c)]();}if(_0x40f6b5&&_0x16d156){if(_0x3539ac===_0x403a48[_0x3eaff7(0x1a7)][_0x3eaff7(0x24e)]){const _0x4863e4=new _0xf283a2[(_0x3eaff7(0x2cc))](_0x12e61d,_0xd3f2af),{pointGroup:_0x5615ba}=(_0x3e86cd=_0x4863e4[_0x3eaff7(0x18a)](_0x40f6b5,_0x16d156))!=null?_0x3e86cd:{};if(_0x5615ba==null||_0x5615ba[_0x3eaff7(0x36f)]===0x0)continue;this['_drawRectRange'](_0x299d68,_0x5615ba,_0x21a04a,_0x4ba29a);}else{if(!_0x184eb2){const {borderBoxPointGroup:_0x1d73a0}=_0x53af56[_0x3eaff7(0x18a)](_0x40f6b5,_0x16d156);if(_0x1d73a0['length']===0x0)continue;this[_0x3eaff7(0x358)](_0x299d68,_0x1d73a0,_0x21a04a,_0x4ba29a);}}}}}['_drawAnchor'](_0x121c50,_0x4c9ed5,_0xd7879d,_0x4d4926,_0x4d5ac1){const _0x2f6cb3=_0x2b281a,_0x31b4f9=this['_getAnchorBounding'](_0x4c9ed5),{left:_0x2b3884,top:_0x597ff1,height:_0x23c260}=_0x31b4f9,_0x3fcf63=this[_0x2f6cb3(0x1a3)](),_0x433cb1=_0x420bd5/_0x3fcf63,_0x19f467=new _0x1380e3[(_0x2f6cb3(0x1dc))](_0x3c2cac+_0x403a48['Tools'][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926,'height':_0x23c260,'width':_0x4d84c9,'fill':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'strokeWidth':_0x433cb1,'stroke':_0x15d44a,'evented':!0x0});this[_0x2f6cb3(0x29b)]=_0x19f467,this[_0x2f6cb3(0x2f0)]['addObject'](_0x19f467,_0xf283a2[_0x2f6cb3(0x209)]);const _0x38ac6a=new _0x1380e3[(_0x2f6cb3(0x1dc))](_0x3c2cac+_0x403a48[_0x2f6cb3(0x39c)][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926-_0x4c1a50/0x2,'height':_0x4c1a50,'width':_0x4c1a50,'fill':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'strokeWidth':0x0,'stroke':_0x121c50||_0x1380e3[_0x2f6cb3(0x39d)](_0x403a48[_0x2f6cb3(0x1fd)][_0x2f6cb3(0x2ec)],0x0),'evented':!0x1});this['_anchorDot']=_0x38ac6a,this[_0x2f6cb3(0x2f0)][_0x2f6cb3(0x230)](_0x38ac6a,_0xf283a2[_0x2f6cb3(0x209)]);const _0x1741e8=new _0x5c9d7c(_0x3c2cac+_0x403a48['Tools'][_0x2f6cb3(0x290)](_0x28ec24),{'left':_0x2b3884+_0xd7879d-_0x433cb1,'top':_0x597ff1+_0x4d4926-_0x1a5f6a,'text':_0x4d5ac1,'color':_0x121c50});this['_textBubble']=_0x1741e8,this[_0x2f6cb3(0x2f0)]['addObject'](_0x1741e8,_0xf283a2[_0x2f6cb3(0x209)]),this[_0x2f6cb3(0x28d)]=!0x1;}[_0x2b281a(0x37c)](){const _0x159e54=_0x2b281a,_0xfc053c=this[_0x159e54(0x29b)][_0x159e54(0x3ab)][_0x159e54(0x282)](()=>{const _0x3b03b4=_0x159e54;this[_0x3b03b4(0x28d)]=!0x0;}),_0x28f39b=this[_0x159e54(0x29b)]['onPointerLeave$'][_0x159e54(0x282)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2e015b=_0x28da;this[_0x2e015b(0x28d)]=!0x1;},0x7d0);});return()=>{const _0x2ef759=_0x159e54;_0xfc053c[_0x2ef759(0x35d)](),_0x28f39b[_0x2ef759(0x35d)]();};}['_drawTextRange'](_0x21a10f,_0x5e76f4,_0x83faef,_0x41da93){const _0x9c590f=_0x2b281a,_0x88ee49=new _0x403a48['ColorKit'](_0x21a10f)[_0x9c590f(0x1fb)](0.2)['toRgbString'](),_0x203311=new _0x1380e3['RegularPolygon'](_0x397287+_0x403a48[_0x9c590f(0x39c)][_0x9c590f(0x290)](_0x28ec24),{'pointsGroup':_0x5e76f4,'fill':_0x88ee49||_0x1380e3[_0x9c590f(0x39d)](_0x403a48[_0x9c590f(0x1fd)][_0x9c590f(0x2ec)],0.2),'left':_0x83faef,'top':_0x41da93,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9c590f(0x3bd)][_0x9c590f(0x381)](_0x203311),this[_0x9c590f(0x2f0)][_0x9c590f(0x230)](_0x203311,_0xf283a2[_0x9c590f(0x209)]);}[_0x2b281a(0x1f7)](_0x1af2cd,_0x420bf8,_0x49903d,_0x19b481){const _0x421893=_0x2b281a,_0x513b67=new _0x403a48[(_0x421893(0x193))](_0x1af2cd)['setAlpha'](0.2)['toRgbString'](),_0x37424b=new _0x1380e3[(_0x421893(0x325))](_0x324541+_0x403a48['Tools'][_0x421893(0x290)](_0x28ec24),{'pointsGroup':_0x420bf8,'fill':_0x513b67||_0x1380e3[_0x421893(0x39d)](_0x403a48[_0x421893(0x1fd)]['black'],0.2),'left':_0x49903d,'top':_0x19b481,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x421893(0x3bd)][_0x421893(0x381)](_0x37424b),this['_scene'][_0x421893(0x230)](_0x37424b,_0xf283a2[_0x421893(0x209)]);}[_0x2b281a(0x2ff)](_0x2eb266){const _0x2fd56f=_0x2eb266[0x0],_0x55d982=_0x2fd56f[0x0],_0x24cbaf=_0x2fd56f[0x2],{x:_0x576cbb,y:_0x4c7034}=_0x55d982,{x:_0x5dd026,y:_0x2dbd65}=_0x24cbaf;return{'left':_0x576cbb,'top':_0x4c7034,'width':_0x5dd026-_0x576cbb,'height':_0x2dbd65-_0x4c7034};}[_0x2b281a(0x1a3)](){const _0x23f4fa=_0x2b281a,{scaleX:_0x49b243,scaleY:_0x3d53a3}=this['_scene']['getAncestorScale']();return Math[_0x23f4fa(0x29c)](_0x49b243,_0x3d53a3);}}var _0x54188d=Object[_0x2b281a(0x354)],_0x224d2c=(_0xd94ebc,_0x4dc76d,_0x4740d8,_0x3e7d57)=>{const _0x5bb9e7=_0x2b281a;for(var _0x1c264b=_0x3e7d57>0x1?void 0x0:_0x3e7d57?_0x54188d(_0x4dc76d,_0x4740d8):_0x4dc76d,_0x445f05=_0xd94ebc[_0x5bb9e7(0x36f)]-0x1,_0xffe2a6;_0x445f05>=0x0;_0x445f05--)(_0xffe2a6=_0xd94ebc[_0x445f05])&&(_0x1c264b=_0xffe2a6(_0x1c264b)||_0x1c264b);return _0x1c264b;},_0x39f1d3=(_0x2f8c5b,_0x555ed3)=>(_0x48fef4,_0x189d7e)=>_0x555ed3(_0x48fef4,_0x189d7e,_0x2f8c5b);let _0x1c18e5=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x3eea15,_0x5935fc,_0x6035d6,_0xd81a91,_0x100b7){const _0x5996ca=_0x2b281a;super(),_0x95fa0d(this,_0x5996ca(0x26f),[]),_0x95fa0d(this,_0x5996ca(0x229),[]),(this['_context']=_0x3eea15,this['_docSkeletonManagerService']=_0x5935fc,this[_0x5996ca(0x1b7)]=_0x6035d6,this[_0x5996ca(0x303)]=_0xd81a91,this[_0x5996ca(0x167)]=_0x100b7,this[_0x5996ca(0x223)]());}[_0x2b281a(0x223)](){const _0x30ffca=_0x2b281a,_0x2fd13f=this[_0x30ffca(0x3e6)][_0x30ffca(0x3b0)],_0x15afad=this[_0x30ffca(0x15b)];this[_0x30ffca(0x3f2)](_0x15c792[_0x30ffca(0x3af)]([this[_0x30ffca(0x1b7)]['getCollabCursors$'](_0x2fd13f),this[_0x30ffca(0x167)][_0x30ffca(0x39a)]])[_0x30ffca(0x28a)](_0x54a7c7[_0x30ffca(0x337)](([_0x2a1b71,_0x45bf4c])=>({'skeleton':_0x15afad[_0x30ffca(0x1c3)](),'cursors':[..._0x2a1b71[_0x30ffca(0x31a)]()][_0x30ffca(0x1f3)](_0x1a00f1=>({..._0x1a00f1,'color':this[_0x30ffca(0x167)]['getColorFromTheme'](_0x1a00f1[_0x30ffca(0x2cd)])}))})))[_0x30ffca(0x308)](_0x502413=>{const _0x10bb76=_0x30ffca;if(this['_removeCollabCursors'](),_0x502413){const {skeleton:_0x4cbff4,cursors:_0x9da2e6}=_0x502413;this[_0x10bb76(0x2c9)](_0x4cbff4,_0x9da2e6);}})),this[_0x30ffca(0x23b)](),this['_initCommandExecutedListener']();}[_0x2b281a(0x2c9)](_0x3eb980,_0x55e52f){const {scene:_0x3b67f0,mainComponent:_0x26c253}=this['_context'],_0x29861f=_0x55e52f['map'](_0x501b14=>new _0x15aa0f(_0x501b14,_0x3b67f0,_0x3eb980,_0x26c253));this['_cursorShapes']=_0x29861f,this['_cursors']=_0x55e52f;}[_0x2b281a(0x215)](){const _0x3eec2c=_0x2b281a;this[_0x3eec2c(0x1ff)]();const {scene:_0x2e3d01,mainComponent:_0x958fe1}=this[_0x3eec2c(0x3e6)],_0x17bb47=this[_0x3eec2c(0x15b)][_0x3eec2c(0x1c3)](),_0x1cae52=this[_0x3eec2c(0x229)]['map'](_0x33016c=>new _0x15aa0f(_0x33016c,_0x2e3d01,_0x17bb47,_0x958fe1));this[_0x3eec2c(0x26f)]=_0x1cae52;}['_removeCollabCursors'](){const _0x4eb137=_0x2b281a;this[_0x4eb137(0x26f)][_0x4eb137(0x2e1)](_0x58009e=>_0x58009e[_0x4eb137(0x322)]()),this[_0x4eb137(0x26f)]=[];}[_0x2b281a(0x374)](){const _0x39e879=_0x2b281a,_0x15f66b=[_0xf283a2[_0x39e879(0x39f)]['id']];this[_0x39e879(0x3f2)](this[_0x39e879(0x303)]['onCommandExecuted'](_0x88530a=>{const _0x20bd8a=_0x39e879;_0x15f66b[_0x20bd8a(0x345)](_0x88530a['id'])&&_0x88530a[_0x20bd8a(0x3ef)][_0x20bd8a(0x3b0)]===this['_context']['unitId']&&this[_0x20bd8a(0x215)]();}));}[_0x2b281a(0x23b)](){const _0x381a7b=_0x2b281a;this['disposeWithMe'](_0x403a48[_0x381a7b(0x224)](this['_context'][_0x381a7b(0x25a)][_0x381a7b(0x22e)])[_0x381a7b(0x28a)](_0x54a7c7['filter'](_0xe82f21=>_0xe82f21[_0x381a7b(0x1bb)]===_0x1380e3['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x381a7b(0x2b7)]),_0x54a7c7[_0x381a7b(0x2a4)](0x10))['subscribe'](()=>{const _0x47614f=_0x381a7b;this[_0x47614f(0x215)]();}));}};_0x1c18e5=_0x224d2c([_0x39f1d3(0x1,_0x403a48[_0x2b281a(0x19a)](_0x36b8d7[_0x2b281a(0x2de)])),_0x39f1d3(0x2,_0x403a48[_0x2b281a(0x19a)](_0x896780)),_0x39f1d3(0x3,_0x403a48[_0x2b281a(0x2f5)]),_0x39f1d3(0x4,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x29d)]))],_0x1c18e5);const _0x5b354d=0x1,_0x136334=1.5;class _0x41104e extends _0x1380e3[_0x2b281a(0x19d)]{constructor(_0xcf38a,_0x474f6e){const _0x2983c1=_0x2b281a;super(_0xcf38a,_0x474f6e),_0x95fa0d(this,'_color'),_0x95fa0d(this,'_hovered',!0x1),_0x95fa0d(this,_0x2983c1(0x206)),_0x95fa0d(this,_0x2983c1(0x299),''),_0x95fa0d(this,_0x2983c1(0x178),'top'),_0x95fa0d(this,_0x2983c1(0x3cd)),(_0x474f6e&&this[_0x2983c1(0x22a)](_0x474f6e),this[_0x2983c1(0x3ab)]['subscribeEvent'](()=>this[_0x2983c1(0x22a)]({'hovered':!0x0})),this[_0x2983c1(0x2ef)][_0x2983c1(0x282)](()=>this[_0x2983c1(0x22a)]({'hovered':!0x1})));}[_0x2b281a(0x22a)](_0x20db69){const _0x5530fa=_0x2b281a;var _0x211376,_0x4e0a68,_0x26f76d,_0x3f1875,_0x43ca7f,_0x4197a6;this[_0x5530fa(0x26c)]=(_0x211376=_0x20db69[_0x5530fa(0x2cd)])!=null?_0x211376:this['_color'],this['_hovered']=(_0x4e0a68=_0x20db69[_0x5530fa(0x1e4)])!=null?_0x4e0a68:this[_0x5530fa(0x37a)],this[_0x5530fa(0x206)]=(_0x26f76d=_0x20db69[_0x5530fa(0x2b5)])!=null?_0x26f76d:this['_range'],this[_0x5530fa(0x299)]=(_0x3f1875=_0x20db69[_0x5530fa(0x203)])!=null?_0x3f1875:this[_0x5530fa(0x299)],this[_0x5530fa(0x178)]=(_0x43ca7f=_0x20db69['labelPosition'])!=null?_0x43ca7f:this['_labelPosition'],this[_0x5530fa(0x3cd)]=(_0x4197a6=_0x20db69[_0x5530fa(0x338)])!=null?_0x4197a6:this[_0x5530fa(0x3cd)],this[_0x5530fa(0x1a5)]({'width':_0x20db69[_0x5530fa(0x1ca)],'height':_0x20db69[_0x5530fa(0x220)]});}[_0x2b281a(0x2e9)](_0x30b33f){const _0x25a1ef=_0x2b281a,{row:_0x553bb0,column:_0xa0c65f}=_0x30b33f;if(_0x553bb0>=this[_0x25a1ef(0x206)][_0x25a1ef(0x17a)]&&_0x553bb0<=this[_0x25a1ef(0x206)][_0x25a1ef(0x2aa)]&&_0xa0c65f>=this['_range']['startColumn']&&_0xa0c65f<=this[_0x25a1ef(0x206)]['endColumn']){this[_0x25a1ef(0x22a)]({'hovered':!0x0});return;}this[_0x25a1ef(0x22a)]({'hovered':!0x1});}[_0x2b281a(0x237)](_0x267e18){return!0x1;}[_0x2b281a(0x191)](_0xa10b21){const _0x3562aa=_0x2b281a;_0x1380e3[_0x3562aa(0x1dc)][_0x3562aa(0x262)](_0xa10b21,{'width':this[_0x3562aa(0x1ca)],'height':this['height'],'strokeWidth':_0x136334,'stroke':this[_0x3562aa(0x26c)],'evented':!0x1,'fill':this[_0x3562aa(0x3cd)]}),this[_0x3562aa(0x37a)]&&(_0xa10b21[_0x3562aa(0x2d8)](),_0xa10b21[_0x3562aa(0x3c8)](0x1,0x0,0x0,0x1,this[_0x3562aa(0x1ca)],this[_0x3562aa(0x178)]===_0x3562aa(0x248)?0x0:-0x14),_0x5c9d7c[_0x3562aa(0x262)](_0xa10b21,{'text':this[_0x3562aa(0x299)],'color':this[_0x3562aa(0x26c)]}),_0xa10b21[_0x3562aa(0x22c)]());}}var _0x7d6cc5=Object[_0x2b281a(0x354)],_0x4cbc21=(_0x544f33,_0x5f5397,_0x3dc7c6,_0x38abd1)=>{for(var _0x31f283=_0x38abd1>0x1?void 0x0:_0x38abd1?_0x7d6cc5(_0x5f5397,_0x3dc7c6):_0x5f5397,_0x17bd98=_0x544f33['length']-0x1,_0x45d05a;_0x17bd98>=0x0;_0x17bd98--)(_0x45d05a=_0x544f33[_0x17bd98])&&(_0x31f283=_0x45d05a(_0x31f283)||_0x31f283);return _0x31f283;},_0x6348eb=(_0x109180,_0x4bdc1a)=>(_0x15f8a5,_0x480c08)=>_0x4bdc1a(_0x15f8a5,_0x480c08,_0x109180);const _0x37cc53=0x1389;let _0x5c681f=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x569442,_0x1f8700,_0x47d2ad,_0x22f5c6){const _0x50418e=_0x2b281a;super(),_0x95fa0d(this,'_cursors',new Set()),_0x95fa0d(this,_0x50418e(0x264),null),(this[_0x50418e(0x3e6)]=_0x569442,this[_0x50418e(0x3e2)]=_0x1f8700,this[_0x50418e(0x1b7)]=_0x47d2ad,this[_0x50418e(0x167)]=_0x22f5c6,this[_0x50418e(0x223)]());}[_0x2b281a(0x223)](){const _0x2c87b1=_0x2b281a;this['_sheetSkeletonManagerService'][_0x2c87b1(0x1c1)][_0x2c87b1(0x28a)](_0x54a7c7[_0x2c87b1(0x261)](this['dispose$']),_0x54a7c7[_0x2c87b1(0x293)](_0x4c7638=>{const _0x48517a=_0x2c87b1;if(_0x4c7638){const _0x391130=_0x4c7638['sheetId'];return _0x15c792[_0x48517a(0x3af)](this[_0x48517a(0x1b7)]['getCollabCursors$'](this[_0x48517a(0x3e6)][_0x48517a(0x3b0)]),this['_themeService'][_0x48517a(0x39a)])[_0x48517a(0x28a)](_0x54a7c7[_0x48517a(0x337)](([_0x2d6f59,_0x405b26])=>{const _0x168767=_0x48517a,_0x2c581c=new Map();return _0x2d6f59[_0x168767(0x2e1)]((_0x444892,_0x4cd19a)=>{const _0x1d3485=_0x168767;if(_0x444892[_0x1d3485(0x332)]===_0x391130){const _0x3b1f0e={..._0x444892};_0x3b1f0e[_0x1d3485(0x2cd)]=this['_themeService'][_0x1d3485(0x2d7)](_0x444892['color']),_0x2c581c[_0x1d3485(0x25e)](_0x4cd19a,_0x3b1f0e);}}),{'skeleton':_0x4c7638,'cursors':_0x2c581c};}));}return _0x15c792['of']({'skeleton':null,'cursors':new Map()});}))[_0x2c87b1(0x308)](({skeleton:_0x2a2d9d,cursors:_0x2e7db4})=>{const _0x4eb2b6=_0x2c87b1;this['_removeCollabCursors'](),_0x2a2d9d&&this[_0x4eb2b6(0x2c9)](_0x2a2d9d,_0x2e7db4);}),this[_0x2c87b1(0x3e2)][_0x2c87b1(0x1c1)][_0x2c87b1(0x308)](_0x3c1c8e=>{const _0x141942=_0x2c87b1;if(_0x3c1c8e==null)return;const {skeleton:_0x21faed}=_0x3c1c8e,{scene:_0x5759a2}=this[_0x141942(0x3e6)];_0x5759a2['onPointerMove$']['subscribeEvent'](_0x403a48['debounce'](_0x3960ac=>{const _0x3d0d2b=_0x141942;var _0x41b5ff,_0x40fafd;const {offsetX:_0x16d3f4,offsetY:_0xe0e640}=_0x3960ac,{x:_0x4159c2,y:_0x5b51a1}=_0x5759a2['getRelativeToViewportCoord'](_0x1380e3[_0x3d0d2b(0x163)][_0x3d0d2b(0x366)]([_0x16d3f4,_0xe0e640])),{scaleX:_0x590714,scaleY:_0x139623}=_0x5759a2[_0x3d0d2b(0x34d)](),_0x2d2661=_0x5759a2[_0x3d0d2b(0x3c4)](_0x1380e3['SHEET_VIEWPORT_KEY'][_0x3d0d2b(0x213)]),_0x2b4e1b=_0x5759a2[_0x3d0d2b(0x214)](_0x1380e3['Vector2'][_0x3d0d2b(0x366)]([_0x4159c2,_0x5b51a1]),_0x2d2661),_0x2639c0=_0x21faed['getCellPositionByOffset'](_0x16d3f4,_0xe0e640,_0x590714,_0x139623,_0x2b4e1b);((_0x41b5ff=this[_0x3d0d2b(0x264)])==null?void 0x0:_0x41b5ff[_0x3d0d2b(0x2f2)])===_0x2639c0[_0x3d0d2b(0x2f2)]&&((_0x40fafd=this['_lastPointer'])==null?void 0x0:_0x40fafd[_0x3d0d2b(0x37e)])===_0x2639c0[_0x3d0d2b(0x37e)]||this[_0x3d0d2b(0x229)][_0x3d0d2b(0x2e1)](_0x44f2b0=>{const _0x4ff54f=_0x3d0d2b;_0x44f2b0[_0x4ff54f(0x2e9)](_0x2639c0);});},0x64));});}[_0x2b281a(0x2c9)](_0x56bc3a,_0x3cf501){const _0x8aa28=_0x2b281a;var _0x405155;const _0xa2d21=(_0x405155=this[_0x8aa28(0x3e2)][_0x8aa28(0x283)]())==null?void 0x0:_0x405155[_0x8aa28(0x268)];if(!_0xa2d21)return;const _0x1ed2a1=this[_0x8aa28(0x304)]();if(!_0x1ed2a1)return;this[_0x8aa28(0x229)][_0x8aa28(0x2e1)](_0x4fed9f=>{const _0x1b3ecc=_0x8aa28;_0x4fed9f[_0x1b3ecc(0x331)]();});const {scene:_0xce0de6}=_0x1ed2a1,_0x2a72c0=_0xd881ea(Array[_0x8aa28(0x305)](_0x3cf501[_0x8aa28(0x31a)]()))[_0x8aa28(0x337)](_0x394190=>{const _0x4d3c0f=_0x8aa28,{color:_0x11d39a,range:_0x714e71,name:_0x510837,selection:_0x19ad64,sheetID:_0x2284a5}=_0x394190,{startColumn:_0xdb6dce,startRow:_0x193829,endColumn:_0x7ace7c,endRow:_0x545229}=_0x714e71,_0x9852e4=_0x2e664f['getCoordByCell'](_0x193829,_0xdb6dce,_0xce0de6,_0xa2d21),_0x33e51e=_0x2e664f[_0x4d3c0f(0x27a)](_0x545229,_0x7ace7c,_0xce0de6,_0xa2d21),{columnHeaderHeightAndMarginTop:_0x150605}=_0xa2d21,{startX:_0x53e44f,startY:_0x1afe82}=_0x9852e4,{endX:_0x33333b,endY:_0x3a62b8}=_0x33e51e,_0x68827f=_0x33333b-_0x53e44f,_0x365937=_0x3a62b8-_0x1afe82,_0x8335bc={'labelPosition':_0x1afe82-_0x150605>=_0x1a5f6a?'top':_0x4d3c0f(0x248),'sheetID':_0x2284a5,'range':_0x714e71,'color':_0x11d39a,'name':_0x510837,'selection':_0x19ad64,'left':_0x53e44f,'top':_0x1afe82,'width':_0x68827f,'height':_0x365937,'evented':!0x1,'zIndex':_0x37cc53};return new _0x41104e(_0x510837,_0x8335bc);});_0xce0de6[_0x8aa28(0x176)](_0x2a72c0,_0x5b354d),this[_0x8aa28(0x229)]=new Set(_0x2a72c0);}['_removeCollabCursors'](){const _0x570bd2=_0x2b281a;var _0x143134;(_0x143134=this[_0x570bd2(0x229)])==null||_0x143134[_0x570bd2(0x2e1)](_0x472e94=>_0x472e94[_0x570bd2(0x322)]());}['_getSheetObject'](){const _0x3f13f0=_0x2b281a;return _0x2e664f[_0x3f13f0(0x17d)](this[_0x3f13f0(0x3e6)][_0x3f13f0(0x177)],this[_0x3f13f0(0x3e6)]);}};_0x5c681f=_0x4cbc21([_0x6348eb(0x1,_0x403a48[_0x2b281a(0x19a)](_0x2e664f[_0x2b281a(0x2f9)])),_0x6348eb(0x2,_0x403a48['Inject'](_0x896780)),_0x6348eb(0x3,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x29d)]))],_0x5c681f);function _0xd881ea(_0x2e771a){const _0x271f94=_0x2b281a,_0x589bba=new Map();return _0x2e771a[_0x271f94(0x2e1)](_0x5ddd2d=>{const _0x39ffca=_0x271f94;if(_0x589bba[_0x39ffca(0x1c5)](_0x5ddd2d[_0x39ffca(0x24d)])){const _0x467ff6=_0x589bba['get'](_0x5ddd2d[_0x39ffca(0x24d)]);_0x467ff6['name']+=',\x20'+_0x5ddd2d['name'];}else _0x589bba['set'](_0x5ddd2d[_0x39ffca(0x24d)],_0x5ddd2d);}),Array[_0x271f94(0x305)](_0x589bba[_0x271f94(0x31a)]());}var _0x169158=function(){const _0x582c51=_0x2b281a;return _0x169158=Object['assign']||function(_0x367e13){const _0xf80c52=_0x28da;for(var _0x587ae4,_0x416c26=0x1,_0x2cca3d=arguments[_0xf80c52(0x36f)];_0x416c26<_0x2cca3d;_0x416c26++){_0x587ae4=arguments[_0x416c26];for(var _0x4f72a9 in _0x587ae4)Object['prototype'][_0xf80c52(0x2d6)]['call'](_0x587ae4,_0x4f72a9)&&(_0x367e13[_0x4f72a9]=_0x587ae4[_0x4f72a9]);}return _0x367e13;},_0x169158[_0x582c51(0x207)](this,arguments);},_0x5c872a=function(_0x983690,_0x48deda){const _0x518fb3=_0x2b281a;var _0x11fb45={};for(var _0x15d040 in _0x983690)Object[_0x518fb3(0x278)][_0x518fb3(0x2d6)][_0x518fb3(0x1d9)](_0x983690,_0x15d040)&&_0x48deda[_0x518fb3(0x1f8)](_0x15d040)<0x0&&(_0x11fb45[_0x15d040]=_0x983690[_0x15d040]);if(_0x983690!=null&&typeof Object[_0x518fb3(0x329)]==_0x518fb3(0x353)){for(var _0x34b415=0x0,_0x15d040=Object[_0x518fb3(0x329)](_0x983690);_0x34b415<_0x15d040[_0x518fb3(0x36f)];_0x34b415++)_0x48deda[_0x518fb3(0x1f8)](_0x15d040[_0x34b415])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x518fb3(0x1d9)](_0x983690,_0x15d040[_0x34b415])&&(_0x11fb45[_0x15d040[_0x34b415]]=_0x983690[_0x15d040[_0x34b415]]);}return _0x11fb45;},_0x25a1b2=_0xd420d5[_0x2b281a(0x256)](function(_0x2df5a4,_0x1c7d7b){const _0x10b9c8=_0x2b281a;var _0x37a477=_0x2df5a4['icon'],_0x52d412=_0x2df5a4['id'],_0x184269=_0x2df5a4[_0x10b9c8(0x1d7)],_0x1f164e=_0x2df5a4[_0x10b9c8(0x258)],_0x515506=_0x5c872a(_0x2df5a4,[_0x10b9c8(0x326),'id','className','extend']),_0x310435='univerjs-icon\x20univerjs-icon-'['concat'](_0x52d412,'\x20')[_0x10b9c8(0x18b)](_0x184269||'')[_0x10b9c8(0x195)](),_0x15a52d=_0xd420d5[_0x10b9c8(0x3d2)]('_'[_0x10b9c8(0x18b)](_0x517ef2()));return _0xd4ce05(_0x37a477,''[_0x10b9c8(0x18b)](_0x52d412),{'defIds':_0x37a477['defIds'],'idSuffix':_0x15a52d['current']},_0x169158({'ref':_0x1c7d7b,'className':_0x310435},_0x515506),_0x1f164e);});function _0xd4ce05(_0x19722d,_0x4c6973,_0x1c914f,_0x78dc2f,_0x315df2){const _0xf057f9=_0x2b281a;return _0xd420d5['createElement'](_0x19722d['tag'],_0x169158(_0x169158({'key':_0x4c6973},_0x55cbc3(_0x19722d,_0x1c914f,_0x315df2)),_0x78dc2f),(_0x20dbe6(_0x19722d,_0x1c914f)[_0xf057f9(0x33c)]||[])[_0xf057f9(0x337)](function(_0x2a24a6,_0x5abe7d){const _0x502663=_0xf057f9;return _0xd4ce05(_0x2a24a6,''[_0x502663(0x18b)](_0x4c6973,'-')[_0x502663(0x18b)](_0x19722d[_0x502663(0x26a)],'-')[_0x502663(0x18b)](_0x5abe7d),_0x1c914f,void 0x0,_0x315df2);}));}function _0x55cbc3(_0xe242a7,_0x495c47,_0x421a08){const _0x495d3e=_0x2b281a;var _0x527a82=_0x169158({},_0xe242a7[_0x495d3e(0x379)]);_0x421a08!=null&&_0x421a08[_0x495d3e(0x18c)]&&_0x527a82['fill']===_0x495d3e(0x18c)&&(_0x527a82[_0x495d3e(0x1c2)]=_0x421a08[_0x495d3e(0x18c)]),_0xe242a7[_0x495d3e(0x26a)]===_0x495d3e(0x196)&&_0x527a82['id']&&(_0x527a82['id']=_0x527a82['id']+_0x495c47[_0x495d3e(0x2cf)]),Object[_0x495d3e(0x3d5)](_0x527a82)[_0x495d3e(0x2e1)](function(_0x4b0ca7){const _0xfec2a5=_0x495d3e;var _0x4ae65b=_0x4b0ca7[0x0],_0x199dbd=_0x4b0ca7[0x1];_0x4ae65b==='mask'&&typeof _0x199dbd=='string'&&(_0x527a82[_0x4ae65b]=_0x199dbd[_0xfec2a5(0x3aa)](/url\(#(.*)\)/,_0xfec2a5(0x3c1)[_0xfec2a5(0x18b)](_0x495c47[_0xfec2a5(0x2cf)],')')));});var _0x25a551=_0x495c47['defIds'];return!_0x25a551||_0x25a551[_0x495d3e(0x36f)]===0x0||(_0xe242a7['tag']===_0x495d3e(0x2be)&&_0x527a82[_0x495d3e(0x32b)]&&(_0x527a82[_0x495d3e(0x32b)]=_0x527a82[_0x495d3e(0x32b)]+_0x495c47['idSuffix']),Object[_0x495d3e(0x3d5)](_0x527a82)[_0x495d3e(0x2e1)](function(_0x4c8851){const _0x426647=_0x495d3e;var _0x172ef8=_0x4c8851[0x0],_0x39829c=_0x4c8851[0x1];typeof _0x39829c==_0x426647(0x1df)&&(_0x527a82[_0x172ef8]=_0x39829c[_0x426647(0x3aa)](/url\(#(.*)\)/,_0x426647(0x3c1)[_0x426647(0x18b)](_0x495c47[_0x426647(0x2cf)],')')));})),_0x527a82;}function _0x20dbe6(_0x38020e,_0xb8d6f2){const _0x59828c=_0x2b281a;var _0x314386,_0x4b9707=_0xb8d6f2[_0x59828c(0x38b)];return!_0x4b9707||_0x4b9707[_0x59828c(0x36f)]===0x0?_0x38020e:_0x38020e[_0x59828c(0x26a)]===_0x59828c(0x26e)&&(!((_0x314386=_0x38020e[_0x59828c(0x33c)])===null||_0x314386===void 0x0)&&_0x314386[_0x59828c(0x36f)])?_0x169158(_0x169158({},_0x38020e),{'children':_0x38020e['children'][_0x59828c(0x337)](function(_0x5c6ba2){const _0x1c1e89=_0x59828c;return typeof _0x5c6ba2[_0x1c1e89(0x379)]['id']==_0x1c1e89(0x1df)&&_0x4b9707&&_0x4b9707[_0x1c1e89(0x1f8)](_0x5c6ba2[_0x1c1e89(0x379)]['id'])>-0x1?_0x169158(_0x169158({},_0x5c6ba2),{'attrs':_0x169158(_0x169158({},_0x5c6ba2[_0x1c1e89(0x379)]),{'id':_0x5c6ba2[_0x1c1e89(0x379)]['id']+_0xb8d6f2[_0x1c1e89(0x2cf)]})}):_0x5c6ba2;})}):_0x38020e;}function _0x517ef2(){const _0x1a2399=_0x2b281a;return Math[_0x1a2399(0x257)]()[_0x1a2399(0x334)](0x24)[_0x1a2399(0x1ae)](0x2,0x8);}_0x25a1b2[_0x2b281a(0x3a8)]=_0x2b281a(0x173);var _0x315e17={'tag':_0x2b281a(0x20d),'attrs':{'xmlns':_0x2b281a(0x168),'fill':'none','viewBox':_0x2b281a(0x17e),'width':_0x2b281a(0x393),'height':_0x2b281a(0x393)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b281a(0x2b4)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2b281a(0x35c),'strokeLinecap':_0x2b281a(0x19e),'strokeLinejoin':_0x2b281a(0x19e),'strokeWidth':1.2}}]},{'tag':_0x2b281a(0x26e),'attrs':{},'children':[{'tag':_0x2b281a(0x23c),'attrs':{'id':_0x2b281a(0x210)},'children':[{'tag':_0x2b281a(0x205),'attrs':{'fill':_0x2b281a(0x180),'d':_0x2b281a(0x350)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x31c2b2=_0xd420d5[_0x2b281a(0x256)](function(_0x532338,_0x18cef3){const _0x13565b=_0x2b281a;return _0xd420d5['createElement'](_0x25a1b2,Object[_0x13565b(0x2ad)]({},_0x532338,{'id':_0x13565b(0x2fe),'ref':_0x18cef3,'icon':_0x315e17}));});_0x31c2b2[_0x2b281a(0x3a8)]=_0x2b281a(0x2bf);var _0x68c711={'tag':'svg','attrs':{'xmlns':_0x2b281a(0x168),'fill':_0x2b281a(0x289),'viewBox':_0x2b281a(0x16f),'width':_0x2b281a(0x393),'height':_0x2b281a(0x393)},'children':[{'tag':'g','attrs':{'clipPath':_0x2b281a(0x16a)},'children':[{'tag':'path','attrs':{'stroke':_0x2b281a(0x2a1),'d':_0x2b281a(0x2bd),'strokeLinecap':_0x2b281a(0x19e),'strokeLinejoin':_0x2b281a(0x19e),'strokeWidth':1.2}}]},{'tag':_0x2b281a(0x26e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2b281a(0x205),'attrs':{'fill':_0x2b281a(0x180),'d':_0x2b281a(0x350),'transform':_0x2b281a(0x3ba)}}]}]}],'defIds':[_0x2b281a(0x217)]},_0x3dc04b=_0xd420d5['forwardRef'](function(_0x459828,_0x93a5b1){const _0x44b67f=_0x2b281a;return _0xd420d5[_0x44b67f(0x1fe)](_0x25a1b2,Object[_0x44b67f(0x2ad)]({},_0x459828,{'id':_0x44b67f(0x1d0),'ref':_0x93a5b1,'icon':_0x68c711}));});_0x3dc04b['displayName']='OnLineIcon';function _0x2e1244(_0x5e7f36){const _0x5a8cec=_0x2b281a;switch(_0x5e7f36){case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x351)]:return'collabStatus.offline';case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x314)]:return _0x5a8cec(0x3bf);case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1a8)]:return _0x5a8cec(0x174);case _0x55aa48['CollaborationStatus'][_0x5a8cec(0x273)]:return'collabStatus.notCollab';case _0x55aa48[_0x5a8cec(0x175)]['AWAITING']:case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1f2)]:return _0x5a8cec(0x1cf);case _0x55aa48[_0x5a8cec(0x175)]['SYNCED']:case _0x55aa48[_0x5a8cec(0x175)][_0x5a8cec(0x1c7)]:return'collabStatus.synced';}}function _0x5a1bdc(_0x2d61a4){const _0x436bcb=_0x2b281a,{status$:_0x3330b1}=_0x2d61a4,_0x12be4a=_0x590bc9['useObservable'](_0x3330b1,_0x55aa48[_0x436bcb(0x175)][_0x436bcb(0x273)]),_0x1ac4ae=_0x590bc9['useDependency'](_0x403a48['LocaleService']),_0x345799=_0x590bc9[_0x436bcb(0x2e0)](_0x55aa48[_0x436bcb(0x309)]),_0xe3b3d7=_0x12be4a!==_0x55aa48[_0x436bcb(0x175)]['OFFLINE'],_0x5d09b7=_0x1ac4ae['t'](_0x2e1244(_0x12be4a)),_0x15c1d2=_0xe3b3d7?_0x56a115['jsx'](_0x3dc04b,{}):_0x56a115[_0x436bcb(0x2e4)](_0x31c2b2,{}),_0x124d18=_0xd420d5['useCallback'](()=>{_0xe3b3d7||_0x345799['reconnect']();},[_0xe3b3d7,_0x345799]);function _0x148493(){const _0x228448=_0x436bcb;return _0x56a115[_0x228448(0x2fa)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x124d18,'children':[_0x56a115[_0x228448(0x2e4)]('div',{'className':_0x54ee32[_0x228448(0x390)](_0x228448(0x38f),{'univer-text-green-500':_0xe3b3d7,'univer-text-red-500':!_0xe3b3d7}),'children':_0x15c1d2}),_0x56a115[_0x228448(0x2e4)](_0x228448(0x194),{'className':_0x228448(0x336),'children':_0x5d09b7})]});}return _0xe3b3d7?_0x148493():_0x56a115['jsx'](_0x54ee32[_0x436bcb(0x2f4)],{'title':_0x1ac4ae['t'](_0x436bcb(0x3d9)),'children':_0x148493()});}var _0x3981f7=Object['getOwnPropertyDescriptor'],_0x10091f=(_0x4e5120,_0x4db79d,_0x8b9c3d,_0x1e720f)=>{for(var _0x45c6be=_0x1e720f>0x1?void 0x0:_0x1e720f?_0x3981f7(_0x4db79d,_0x8b9c3d):_0x4db79d,_0x226029=_0x4e5120['length']-0x1,_0x38367e;_0x226029>=0x0;_0x226029--)(_0x38367e=_0x4e5120[_0x226029])&&(_0x45c6be=_0x38367e(_0x45c6be)||_0x45c6be);return _0x45c6be;},_0x4d719d=(_0xc9106c,_0x99a4e2)=>(_0x5cca59,_0x36e838)=>_0x99a4e2(_0x5cca59,_0x36e838,_0xc9106c);_0x4d92ba[_0x2b281a(0x375)]=class extends _0x403a48['Disposable']{constructor(_0x297997,_0x594ee5,_0x537731,_0x2d36f1){const _0x35f95f=_0x2b281a;super(),_0x95fa0d(this,_0x35f95f(0x18f),new _0x15c792[(_0x35f95f(0x37f))](_0x55aa48[_0x35f95f(0x175)][_0x35f95f(0x273)])),(this[_0x35f95f(0x2c8)]=_0x297997,this[_0x35f95f(0x24a)]=_0x594ee5,this[_0x35f95f(0x3f7)]=_0x537731,this['_uiPartsService']=_0x2d36f1,this[_0x35f95f(0x3a3)](),this[_0x35f95f(0x386)]());}[_0x2b281a(0x386)](){const _0x4706af=_0x2b281a;this[_0x4706af(0x3f2)](this[_0x4706af(0x2c8)][_0x4706af(0x33b)][_0x4706af(0x28a)](_0x15c792['switchMap'](()=>{const _0x33f444=_0x4706af,_0x2ecbb9=this['_univerInstanceService']['getFocusedUnit']();return _0x2ecbb9?this[_0x33f444(0x3f7)][_0x33f444(0x221)](_0x2ecbb9['getUnitId']()):_0x15c792['of'](null);}),_0x15c792['switchMap'](_0x39c5fd=>_0x39c5fd?_0x39c5fd[_0x4706af(0x316)]:_0x15c792['of'](_0x55aa48['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x458235=>{this['_status$']['next'](_0x458235);}));}[_0x2b281a(0x3a3)](){const _0x1c30ce=_0x2b281a;this[_0x1c30ce(0x3f2)](this['_uiPartsService'][_0x1c30ce(0x394)](_0x590bc9[_0x1c30ce(0x3dc)]['HEADER_MENU'],()=>_0x590bc9[_0x1c30ce(0x2f3)](_0x5513d6({'status$':this['_status$']['asObservable']()}),this[_0x1c30ce(0x24a)])));}},_0x4d92ba[_0x2b281a(0x375)]=_0x10091f([_0x4d719d(0x0,_0x403a48[_0x2b281a(0x360)]),_0x4d719d(0x1,_0x403a48[_0x2b281a(0x19a)](_0x403a48['Injector'])),_0x4d719d(0x2,_0x403a48['Inject'](_0x55aa48[_0x2b281a(0x27d)])),_0x4d719d(0x3,_0x590bc9[_0x2b281a(0x2d0)])],_0x4d92ba[_0x2b281a(0x375)]);function _0x5513d6(_0x14248a){const {status$:_0x2b3b35}=_0x14248a;return function(){const _0x1a63a6=_0x28da;return _0x56a115[_0x1a63a6(0x2e4)](_0x5a1bdc,{'status$':_0x2b3b35});};}var _0x30020f=Object[_0x2b281a(0x354)],_0x3306e8=(_0x4423a2,_0x61ba94,_0x213c1c,_0x1c6736)=>{const _0xfa6742=_0x2b281a;for(var _0x2481b3=_0x1c6736>0x1?void 0x0:_0x1c6736?_0x30020f(_0x61ba94,_0x213c1c):_0x61ba94,_0x3b6f28=_0x4423a2[_0xfa6742(0x36f)]-0x1,_0x50ca75;_0x3b6f28>=0x0;_0x3b6f28--)(_0x50ca75=_0x4423a2[_0x3b6f28])&&(_0x2481b3=_0x50ca75(_0x2481b3)||_0x2481b3);return _0x2481b3;},_0x31b439=(_0x5e7fb9,_0x11b057)=>(_0xb8efd4,_0x55c65c)=>_0x11b057(_0xb8efd4,_0x55c65c,_0x5e7fb9);let _0x2b87af=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x50fbc3,_0x394ac8,_0x4a1b5e,_0x183535,_0x2fa12c,_0x1968fa){const _0x5157e5=_0x2b281a;super(),this[_0x5157e5(0x3da)]=_0x50fbc3,this[_0x5157e5(0x216)]=_0x394ac8,this['_collaborationUIEventService']=_0x4a1b5e,this[_0x5157e5(0x280)]=_0x183535,this[_0x5157e5(0x29e)]=_0x2fa12c,this['_localeService']=_0x1968fa,this[_0x5157e5(0x33d)](),this['_initEvent']();}[_0x2b281a(0x33d)](){const _0xc393b3=_0x2b281a;this['disposeWithMe'](this[_0xc393b3(0x3da)][_0xc393b3(0x356)](()=>{const _0x301a83=_0xc393b3;if(this[_0x301a83(0x216)]['saveTaskMap'][_0x301a83(0x255)])return this[_0x301a83(0x238)]['t'](_0x301a83(0x295));}));}[_0x2b281a(0x2a0)](){const _0x2a5a90=_0x2b281a;this[_0x2a5a90(0x3f2)](this[_0x2a5a90(0x1db)][_0x2a5a90(0x3ca)][_0x2a5a90(0x308)](_0x14295d=>{const _0x5cd07d=_0x2a5a90;_0x14295d['id']===_0x55aa48['CollaborationUIEventId'][_0x5cd07d(0x16c)]&&this[_0x5cd07d(0x280)]['show']({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x222)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x25f))}),_0x14295d['id']===_0x55aa48['CollaborationUIEventId'][_0x5cd07d(0x271)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32['MessageType']['Warning'],'content':this[_0x5cd07d(0x238)]['t']('collaboration.closeRoom')}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x24c)]&&this[_0x5cd07d(0x29e)][_0x5cd07d(0x259)]({'title':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x1e3)),'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x3c3)),'type':_0x5cd07d(0x2f8),'duration':0x0}),_0x14295d['id']===_0x55aa48['CollaborationUIEventId']['CONFLICT']&&this[_0x5cd07d(0x280)]['show']({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x323)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x35e))+'('+_0x14295d[_0x5cd07d(0x1c6)]+')'}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x38c)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x222)],'content':this[_0x5cd07d(0x238)]['t'](_0x14295d[_0x5cd07d(0x1c6)]||'')}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x3d0)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)]['Warning'],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x3d1))}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)][_0x5cd07d(0x24f)]&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32['MessageType']['Error'],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x348))}),_0x14295d['id']===_0x55aa48[_0x5cd07d(0x362)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5cd07d(0x280)][_0x5cd07d(0x259)]({'type':_0x54ee32[_0x5cd07d(0x2da)][_0x5cd07d(0x323)],'content':this[_0x5cd07d(0x238)]['t'](_0x5cd07d(0x231))});}));}};_0x2b87af=_0x3306e8([_0x31b439(0x0,_0x590bc9[_0x2b281a(0x3bb)]),_0x31b439(0x1,_0x55aa48[_0x2b281a(0x15e)]),_0x31b439(0x2,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x3c5)])),_0x31b439(0x3,_0x590bc9[_0x2b281a(0x2d5)]),_0x31b439(0x4,_0x590bc9[_0x2b281a(0x2d2)]),_0x31b439(0x5,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x3a5)]))],_0x2b87af);const _0x495f23=_0x2b281a(0x301),_0x2cf38b={},_0x117780=_0x403a48[_0x2b281a(0x27b)](_0x2b281a(0x1a6));var _0x1a2b14=Object[_0x2b281a(0x354)],_0x1264ab=(_0x592025,_0x4f3544,_0x21653c,_0x2bbf34)=>{const _0x1bc66f=_0x2b281a;for(var _0x2cd0e0=_0x2bbf34>0x1?void 0x0:_0x2bbf34?_0x1a2b14(_0x4f3544,_0x21653c):_0x4f3544,_0x157b29=_0x592025[_0x1bc66f(0x36f)]-0x1,_0x22c89a;_0x157b29>=0x0;_0x157b29--)(_0x22c89a=_0x592025[_0x157b29])&&(_0x2cd0e0=_0x22c89a(_0x2cd0e0)||_0x2cd0e0);return _0x2cd0e0;},_0x4b4128=(_0x18abe7,_0x485516)=>(_0x501d08,_0x651efd)=>_0x485516(_0x501d08,_0x651efd,_0x18abe7);_0x4d92ba[_0x2b281a(0x399)]=class extends _0x403a48[_0x2b281a(0x3e8)]{constructor(_0x935cb1,_0x2c2842,_0x5263d7,_0x2c31b5,_0xe7adda){const _0xea9ec6=_0x2b281a;super(),this[_0xea9ec6(0x320)]=_0x935cb1,this['_logService']=_0x2c2842,this[_0xea9ec6(0x303)]=_0x5263d7,this[_0xea9ec6(0x26b)]=_0x2c31b5,_0xe7adda?_0xe7adda==null||_0xe7adda[_0xea9ec6(0x296)]()[_0xea9ec6(0x300)](()=>this[_0xea9ec6(0x223)]()):(this[_0xea9ec6(0x187)][_0xea9ec6(0x241)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xea9ec6(0x223)]());}async['_init'](){const _0x5c7f09=_0x2b281a,_0x55d827=this['_urlService']['getParam'](_0x5c7f09(0x177)),_0x27b4b0=this['_urlService']['getParam'](_0x5c7f09(0x1bb)),_0xc78e52=this[_0x5c7f09(0x320)]['getParam']('subunit');if(!_0x55d827||!_0x27b4b0){this[_0x5c7f09(0x187)][_0x5c7f09(0x241)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1c0118=await this[_0x5c7f09(0x26b)][_0x5c7f09(0x2d4)](_0x55d827,Number(_0x27b4b0),_0xc78e52);_0x1c0118&&_0x1c0118 instanceof _0x403a48['Workbook']&&this[_0x5c7f09(0x33e)](_0x1c0118);}async[_0x2b281a(0x33e)](_0x3518ca){const _0x25ac65=_0x2b281a;await this[_0x25ac65(0x225)](_0x3518ca),_0x3518ca[_0x25ac65(0x1d8)][_0x25ac65(0x28a)](_0x15c792[_0x25ac65(0x261)](this[_0x25ac65(0x30b)]))[_0x25ac65(0x308)](_0x1e811f=>{_0x1e811f&&this['_updateURLWithCurrentState'](_0x1e811f);}),this['_urlService'][_0x25ac65(0x1ba)][_0x25ac65(0x28a)](_0x15c792[_0x25ac65(0x261)](this['dispose$']))[_0x25ac65(0x308)](()=>this[_0x25ac65(0x225)](_0x3518ca));}[_0x2b281a(0x342)](_0x2ba871,_0x506d22=!0x1){const _0x426cee=_0x2b281a,_0x2e9474=this[_0x426cee(0x320)]['getParam']('subunit');_0x2ba871[_0x426cee(0x313)]()!==_0x2e9474&&this[_0x426cee(0x320)][_0x426cee(0x232)]('subunit',_0x2ba871[_0x426cee(0x313)](),_0x506d22);}async[_0x2b281a(0x225)](_0x553c27){const _0x9ccf2e=_0x2b281a;var _0x49538e;const _0xb9bf87=this[_0x9ccf2e(0x320)][_0x9ccf2e(0x2a6)](_0x9ccf2e(0x30a));if(!_0xb9bf87||!_0x553c27['getSheetBySheetId'](_0xb9bf87)){const _0x2cd4b9=_0x553c27['getUnhiddenWorksheets']()[0x0],_0x564464=_0x553c27['getSheetBySheetId'](_0x2cd4b9);if(!_0x564464)return;this[_0x9ccf2e(0x342)](_0x564464,!0x0),await this[_0x9ccf2e(0x303)]['executeCommand'](_0x46f729['SetWorksheetActivateCommand']['id'],{'unitId':_0x553c27['getUnitId'](),'subUnitId':_0x2cd4b9});return;}((_0x49538e=_0x553c27[_0x9ccf2e(0x1f9)]())==null?void 0x0:_0x49538e[_0x9ccf2e(0x313)]())!==_0xb9bf87&&await this[_0x9ccf2e(0x303)][_0x9ccf2e(0x385)](_0x46f729[_0x9ccf2e(0x254)]['id'],{'unitId':_0x553c27['getUnitId'](),'subUnitId':_0xb9bf87});}},_0x4d92ba['CollaborationDataLoaderController']=_0x1264ab([_0x4b4128(0x0,_0x117780),_0x4b4128(0x1,_0x403a48['ILogService']),_0x4b4128(0x2,_0x403a48[_0x2b281a(0x2f5)]),_0x4b4128(0x3,_0x403a48['Inject'](_0x55aa48['DataLoaderService'])),_0x4b4128(0x4,_0x403a48[_0x2b281a(0x2fb)](_0xe4a6ff['IRemoteInstanceService']))],_0x4d92ba[_0x2b281a(0x399)]);var _0x10373f=Object[_0x2b281a(0x354)],_0x2badaf=(_0x3460fb,_0x33f137,_0x409541,_0x4edd75)=>{for(var _0x45226e=_0x4edd75>0x1?void 0x0:_0x4edd75?_0x10373f(_0x33f137,_0x409541):_0x33f137,_0x1d9bb9=_0x3460fb['length']-0x1,_0x5264c9;_0x1d9bb9>=0x0;_0x1d9bb9--)(_0x5264c9=_0x3460fb[_0x1d9bb9])&&(_0x45226e=_0x5264c9(_0x45226e)||_0x45226e);return _0x45226e;},_0x5991e4=(_0x45d45d,_0xc875ed)=>(_0x3be56b,_0xd0071d)=>_0xc875ed(_0x3be56b,_0xd0071d,_0x45d45d);let _0xe0048c=class{constructor(_0x20463e,_0x10343c,_0x1d61c1){const _0x330fc9=_0x2b281a;this[_0x330fc9(0x24a)]=_0x20463e,this[_0x330fc9(0x367)]=_0x10343c,this[_0x330fc9(0x1ee)]=_0x1d61c1;}[_0x2b281a(0x19b)](_0x557f0b){const _0x2863a3=_0x2b281a;this[_0x2863a3(0x2eb)](_0x557f0b),this[_0x2863a3(0x339)](_0x557f0b);}[_0x2b281a(0x3e4)](_0x342788){const _0x36bd16=_0x2b281a,{unitID:_0x2ea549}=_0x342788,_0x180099=this[_0x36bd16(0x1ee)]['getRenderById'](_0x2ea549)[_0x36bd16(0x17c)](_0xf283a2['DocIMEInputManagerService']),{redoCache:_0x4c2e89}=_0x180099[_0x36bd16(0x357)]();if(_0x4c2e89['length']===0x0)return _0x342788;let _0x2fc33b=_0x403a48['Tools'][_0x36bd16(0x25b)](_0x342788[_0x36bd16(0x235)][0x0]);for(let _0x478aab=0x0;_0x478aab<_0x4c2e89[_0x36bd16(0x36f)];_0x478aab++){const _0x27c88c={'id':_0x36bd16(0x185),'params':{..._0x4c2e89[_0x478aab]}},_0x3a6401=this[_0x36bd16(0x367)]['transformMutation'](_0x2fc33b,_0x27c88c,!0x1);if(_0x261ba6['isTransformMutationFailure'](_0x3a6401))throw _0x3a6401[_0x36bd16(0x2f8)];_0x2fc33b=_0x3a6401[_0x36bd16(0x2b2)];}return{..._0x403a48[_0x36bd16(0x39c)][_0x36bd16(0x25b)](_0x342788),'mutations':[_0x2fc33b]};}[_0x2b281a(0x2eb)](_0x2064b2){const _0xe3e2a3=_0x2b281a,{unitID:_0x3e05ac}=_0x2064b2,_0x8132ac=this[_0xe3e2a3(0x1ee)][_0xe3e2a3(0x20a)](_0x3e05ac)[_0xe3e2a3(0x17c)](_0xf283a2['DocIMEInputManagerService']),{undoCache:_0x520ebf,redoCache:_0x136c57}=_0x8132ac[_0xe3e2a3(0x357)]();if(_0x520ebf[_0xe3e2a3(0x36f)]===0x0||_0x136c57['length']===0x0)return;const _0x2c1058=[],_0x487671=[];let _0x52d3d6=_0x403a48[_0xe3e2a3(0x39c)][_0xe3e2a3(0x25b)](_0x2064b2[_0xe3e2a3(0x235)][0x0]),_0x2c1e36=_0x403a48[_0xe3e2a3(0x39c)][_0xe3e2a3(0x25b)](_0x2064b2[_0xe3e2a3(0x235)][0x0]);for(let _0x107a54=_0x520ebf[_0xe3e2a3(0x36f)]-0x1;_0x107a54>=0x0;_0x107a54--){const _0x8a6f83={'id':'doc.mutation.rich-text-editing','params':{..._0x520ebf[_0x107a54]}},_0x1b1e0f={'id':'doc.mutation.rich-text-editing','params':{..._0x136c57[_0x107a54]}},_0x2d70d8=this['_transformService'][_0xe3e2a3(0x3dd)](_0x52d3d6,_0x8a6f83,!0x1),_0x508df1=this[_0xe3e2a3(0x367)][_0xe3e2a3(0x3dd)](_0x2c1e36,_0x1b1e0f,!0x1);if(_0x261ba6[_0xe3e2a3(0x369)](_0x2d70d8))throw _0x2d70d8[_0xe3e2a3(0x2f8)];if(_0x261ba6[_0xe3e2a3(0x369)](_0x508df1))throw _0x508df1[_0xe3e2a3(0x2f8)];_0x2c1058['unshift'](_0x2d70d8[_0xe3e2a3(0x253)][_0xe3e2a3(0x3ef)]),_0x487671[_0xe3e2a3(0x3e1)](_0x508df1[_0xe3e2a3(0x253)]['params']),_0x52d3d6=_0x2d70d8['m1Prime'],_0x2c1e36=_0x508df1[_0xe3e2a3(0x2b2)];}_0x8132ac['setUndoRedoMutationParamsCache']({'undoCache':_0x2c1058,'redoCache':_0x487671});}['_transformPreviousActiveRange'](_0x52851e){const _0x3c3a8f=_0x2b281a,{unitID:_0x20df62}=_0x52851e,_0x32ab4d=this['_renderManagerService'][_0x3c3a8f(0x20a)](_0x20df62)[_0x3c3a8f(0x17c)](_0xf283a2[_0x3c3a8f(0x21a)]),_0x261e76=_0x32ab4d['getActiveRange']();if(_0x261e76==null)return;const _0x46ed48=[{'id':_0x3c3a8f(0x185),'params':{'unitId':_0x52851e[_0x3c3a8f(0x1ab)],'actions':null,'textRanges':[_0x261e76]}}],_0x25f3da=this[_0x3c3a8f(0x367)][_0x3c3a8f(0x288)](_0x52851e,_0x46ed48);if(!_0x261ba6['isTransformMutationsWithChangesetSuccess'](_0x25f3da))throw _0x25f3da[_0x3c3a8f(0x2f8)];const _0x2adb63=_0x25f3da[_0x3c3a8f(0x253)][0x0]['params'][_0x3c3a8f(0x3cc)];Array[_0x3c3a8f(0x3e5)](_0x2adb63)&&_0x2adb63[_0x3c3a8f(0x36f)]&&_0x32ab4d['setActiveRange'](_0x2adb63[0x0]);}};_0xe0048c=_0x2badaf([_0x5991e4(0x0,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x5991e4(0x1,_0x261ba6[_0x2b281a(0x36c)]),_0x5991e4(0x2,_0x1380e3['IRenderManagerService'])],_0xe0048c);var _0x3534b3=Object[_0x2b281a(0x354)],_0x4f1138=(_0x3c3dca,_0x4ccd27,_0x48142c,_0x157473)=>{const _0x3a26c6=_0x2b281a;for(var _0x2eff9a=_0x157473>0x1?void 0x0:_0x157473?_0x3534b3(_0x4ccd27,_0x48142c):_0x4ccd27,_0x468200=_0x3c3dca[_0x3a26c6(0x36f)]-0x1,_0x43671a;_0x468200>=0x0;_0x468200--)(_0x43671a=_0x3c3dca[_0x468200])&&(_0x2eff9a=_0x43671a(_0x2eff9a)||_0x2eff9a);return _0x2eff9a;},_0x3f43ca=(_0x212217,_0x5b98c0)=>(_0xbbb90a,_0xe04edc)=>_0x5b98c0(_0xbbb90a,_0xe04edc,_0x212217);let _0x1d67f9=class{constructor(_0x1fa967,_0x28c85a,_0xa153d9){const _0x4f14b3=_0x2b281a;this['_injector']=_0x1fa967,this[_0x4f14b3(0x367)]=_0x28c85a,this[_0x4f14b3(0x2df)]=_0xa153d9;}[_0x2b281a(0x2c0)](_0xaca491){const _0x2795b0=_0x2b281a;this[_0x2795b0(0x270)](_0xaca491);}['transformRemoteChangeset'](_0x39b026){const _0x362668=_0x2b281a,{unitID:_0x31d3f6}=_0x39b026,{collaboration:_0x2999ff}=this[_0x362668(0x2df)][_0x362668(0x170)](_0x31d3f6);if(_0x2999ff[_0x362668(0x36f)]===0x0)return _0x39b026;let _0x41a5f0=_0x403a48[_0x362668(0x39c)][_0x362668(0x25b)](_0x39b026[_0x362668(0x235)][0x0]);for(let _0x194251=0x0;_0x194251<_0x2999ff[_0x362668(0x36f)];_0x194251++){const _0x46fb5d={'id':_0x362668(0x185),'params':{'unitId':_0x2999ff[_0x194251][_0x362668(0x3b0)],..._0x2999ff[_0x194251][_0x362668(0x3d3)]}},_0x2b6dbe=this[_0x362668(0x367)][_0x362668(0x3dd)](_0x41a5f0,_0x46fb5d,!0x1);if(_0x261ba6[_0x362668(0x369)](_0x2b6dbe))throw _0x2b6dbe['error'];_0x41a5f0=_0x2b6dbe[_0x362668(0x2b2)];}return{..._0x403a48[_0x362668(0x39c)][_0x362668(0x25b)](_0x39b026),'mutations':[_0x41a5f0]};}[_0x2b281a(0x270)](_0xb7b218){const _0x49259b=_0x2b281a,{unitID:_0x46e9d4}=_0xb7b218,{history:_0x596ba1,collaboration:_0x59f12f}=this[_0x49259b(0x2df)][_0x49259b(0x170)](_0x46e9d4);if(_0x596ba1[_0x49259b(0x36f)]===0x0&&_0x59f12f['length']===0x0)return;const _0x3b69a9=[],_0x1205b3=[];let _0x4d4843=_0x403a48['Tools']['deepClone'](_0xb7b218[_0x49259b(0x235)][0x0]),_0x55cfa6=_0x403a48[_0x49259b(0x39c)][_0x49259b(0x25b)](_0xb7b218[_0x49259b(0x235)][0x0]);for(let _0x5b080d=_0x596ba1[_0x49259b(0x36f)]-0x1;_0x5b080d>=0x0;_0x5b080d--){const _0x3da95b={'id':_0x49259b(0x185),'params':{'unitId':_0x596ba1[_0x5b080d]['unitId'],..._0x596ba1[_0x5b080d][_0x49259b(0x2c1)]}},_0x1af263={'id':_0x49259b(0x185),'params':{'unitId':_0x596ba1[_0x5b080d][_0x49259b(0x3b0)],..._0x596ba1[_0x5b080d][_0x49259b(0x3d3)]}},_0x240910=this['_transformService'][_0x49259b(0x3dd)](_0x4d4843,_0x3da95b,!0x1),_0x244318=this[_0x49259b(0x367)][_0x49259b(0x3dd)](_0x55cfa6,_0x1af263,!0x1);if(_0x261ba6[_0x49259b(0x369)](_0x240910))throw _0x240910[_0x49259b(0x2f8)];if(_0x261ba6[_0x49259b(0x369)](_0x244318))throw _0x244318['error'];_0x3b69a9['unshift']({..._0x596ba1[_0x5b080d],'undoState':_0x240910[_0x49259b(0x253)][_0x49259b(0x3ef)],'redoState':_0x244318[_0x49259b(0x253)][_0x49259b(0x3ef)]}),_0x4d4843=_0x240910[_0x49259b(0x2b2)],_0x55cfa6=_0x244318[_0x49259b(0x2b2)];}_0x4d4843=_0x403a48[_0x49259b(0x39c)][_0x49259b(0x25b)](_0xb7b218['mutations'][0x0]),_0x55cfa6=_0x403a48[_0x49259b(0x39c)]['deepClone'](_0xb7b218[_0x49259b(0x235)][0x0]);for(let _0x2fa3ac=_0x59f12f['length']-0x1;_0x2fa3ac>=0x0;_0x2fa3ac--){const _0x308ce8={'id':_0x49259b(0x185),'params':{'unitId':_0x59f12f[_0x2fa3ac][_0x49259b(0x3b0)],..._0x59f12f[_0x2fa3ac][_0x49259b(0x2c1)]}},_0x5b0dbb={'id':_0x49259b(0x185),'params':{'unitId':_0x59f12f[_0x2fa3ac][_0x49259b(0x3b0)],..._0x59f12f[_0x2fa3ac][_0x49259b(0x3d3)]}},_0x5bab7f=this[_0x49259b(0x367)][_0x49259b(0x3dd)](_0x4d4843,_0x308ce8,!0x1),_0x517808=this['_transformService'][_0x49259b(0x3dd)](_0x55cfa6,_0x5b0dbb,!0x1);if(_0x261ba6[_0x49259b(0x369)](_0x5bab7f))throw _0x5bab7f[_0x49259b(0x2f8)];if(_0x261ba6['isTransformMutationFailure'](_0x517808))throw _0x517808[_0x49259b(0x2f8)];_0x1205b3[_0x49259b(0x3e1)]({..._0x59f12f[_0x2fa3ac],'undoState':_0x5bab7f['m2Prime'][_0x49259b(0x3ef)],'redoState':_0x517808['m2Prime'][_0x49259b(0x3ef)]}),_0x4d4843=_0x5bab7f[_0x49259b(0x2b2)],_0x55cfa6=_0x517808[_0x49259b(0x2b2)];}this['_docStateChangeManagerService'][_0x49259b(0x365)](_0x46e9d4,{'history':_0x3b69a9,'collaboration':_0x1205b3});}};_0x1d67f9=_0x4f1138([_0x3f43ca(0x0,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x267)])),_0x3f43ca(0x1,_0x261ba6[_0x2b281a(0x36c)]),_0x3f43ca(0x2,_0x403a48[_0x2b281a(0x19a)](_0xf283a2[_0x2b281a(0x19c)]))],_0x1d67f9);var _0x49fa55=Object[_0x2b281a(0x354)],_0x4724ab=(_0x1c4f69,_0x364de9,_0xb13cc7,_0x7e93ee)=>{const _0x47d432=_0x2b281a;for(var _0x1bf43c=_0x7e93ee>0x1?void 0x0:_0x7e93ee?_0x49fa55(_0x364de9,_0xb13cc7):_0x364de9,_0x2450c6=_0x1c4f69[_0x47d432(0x36f)]-0x1,_0xb6861a;_0x2450c6>=0x0;_0x2450c6--)(_0xb6861a=_0x1c4f69[_0x2450c6])&&(_0x1bf43c=_0xb6861a(_0x1bf43c)||_0x1bf43c);return _0x1bf43c;},_0x272367=(_0x1d6b0b,_0xd8de6a)=>(_0x9fc5f4,_0x160053)=>_0xd8de6a(_0x9fc5f4,_0x160053,_0x1d6b0b);let _0x28437c=class{constructor(_0x4e2363,_0x3b5147){this['_injector']=_0x4e2363,this['_transformService']=_0x3b5147;}[_0x2b281a(0x1d5)](_0x2618ea){const _0x4a0ddc=_0x2b281a;var _0x968d26;const _0x4f21e6=this[_0x4a0ddc(0x24a)][_0x4a0ddc(0x3c2)](_0x36b8d7[_0x4a0ddc(0x396)]),_0x21316d=(_0x968d26=_0x4f21e6[_0x4a0ddc(0x352)]())!=null?_0x968d26:[];if(_0x21316d[_0x4a0ddc(0x36f)]===0x0)return;const _0x573a42=_0x2618ea[_0x4a0ddc(0x1ab)],_0x4d8ba5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x573a42,'actions':null,'textRanges':_0x21316d}}],_0x161845=this[_0x4a0ddc(0x367)][_0x4a0ddc(0x288)](_0x2618ea,_0x4d8ba5);if(!_0x261ba6['isTransformMutationsWithChangesetSuccess'](_0x161845))throw _0x161845[_0x4a0ddc(0x2f8)];const _0x13a18e=_0x161845['m2Prime'][0x0][_0x4a0ddc(0x3ef)][_0x4a0ddc(0x3cc)];Array['isArray'](_0x13a18e)&&_0x13a18e[_0x4a0ddc(0x36f)]&&_0x4f21e6['replaceDocRanges'](_0x13a18e,{'unitId':_0x573a42,'subUnitId':_0x573a42},!0x1);}};_0x28437c=_0x4724ab([_0x272367(0x0,_0x403a48[_0x2b281a(0x19a)](_0x403a48[_0x2b281a(0x267)])),_0x272367(0x1,_0x261ba6[_0x2b281a(0x36c)])],_0x28437c);var _0x4b065b=Object[_0x2b281a(0x354)],_0x3d57ac=(_0x101146,_0x176291,_0x31eeea,_0x3008d5)=>{for(var _0x548b52=_0x3008d5>0x1?void 0x0:_0x3008d5?_0x4b065b(_0x176291,_0x31eeea):_0x176291,_0x114964=_0x101146['length']-0x1,_0x22c2dd;_0x114964>=0x0;_0x114964--)(_0x22c2dd=_0x101146[_0x114964])&&(_0x548b52=_0x22c2dd(_0x548b52)||_0x548b52);return _0x548b52;},_0x15d5d4=(_0x261b45,_0x3c155a)=>(_0x414037,_0x44a9ae)=>_0x3c155a(_0x414037,_0x44a9ae,_0x261b45);let _0x490472=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x2dc69c,_0x2c1174,_0x4af384,_0x192c3c,_0x25a81e,_0x38b44c,_0x22ad81,_0xbfec44){const _0x1c18ca=_0x2b281a;super(),_0x95fa0d(this,_0x1c18ca(0x18f),new _0x15c792[(_0x1c18ca(0x37f))](_0x55aa48['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x2dc69c,this[_0x1c18ca(0x3f7)]=_0x2c1174,this[_0x1c18ca(0x321)]=_0x4af384,this['_docTransformStateCacheService']=_0x192c3c,this[_0x1c18ca(0x162)]=_0x25a81e,this[_0x1c18ca(0x344)]=_0x38b44c,this[_0x1c18ca(0x280)]=_0x22ad81,this[_0x1c18ca(0x238)]=_0xbfec44,this[_0x1c18ca(0x1d1)]());}[_0x2b281a(0x1d1)](){const _0x26168b=_0x2b281a;this[_0x26168b(0x3f2)](this[_0x26168b(0x3f7)][_0x26168b(0x368)][_0x26168b(0x308)](_0x113873=>{const _0x566900=_0x26168b,_0x7c0ab4=this['_docStateChangeManagerService'][_0x566900(0x211)][_0x566900(0x308)](_0xf71706=>{const _0x59159e=_0x566900;if(_0xf71706==null)return;const {unitId:_0x3bc8a6,redoState:_0x49d6bb,commandId:_0x52ca69}=_0xf71706;if(_0x3bc8a6!==_0x113873[_0x59159e(0x1ab)])return;const _0x480031={'id':_0x52ca69,'type':_0x403a48[_0x59159e(0x363)]['MUTATION'],'params':{'unitId':_0x3bc8a6,'actions':_0x49d6bb[_0x59159e(0x1e8)],'textRanges':null}};_0x113873['onLocalMutation'](_0x480031);});if(_0x113873[_0x566900(0x3f2)](_0x7c0ab4),_0x113873 instanceof _0x55aa48[_0x566900(0x398)]){const _0x532a14={'onTransformIME':_0xc5920=>this['_docTransformIMECacheService']['transformIMECache'](_0xc5920),'onTransformState':_0x1eef28=>this[_0x566900(0x3d8)]['transformStateCache'](_0x1eef28),'onTransformSelections':_0x56b8de=>this[_0x566900(0x162)]['transformSelections'](_0x56b8de),'onSyncEditingCollabCursor':_0x41cb29=>this[_0x566900(0x344)]['syncEditingCollabCursor'](_0x41cb29),'onTransformRemoteChangesetByIMECache':_0xdc49b1=>this['_docTransformIMECacheService'][_0x566900(0x3e4)](_0xdc49b1),'onTransformRemoteChangesetByStateCache':_0x3d09f8=>this[_0x566900(0x3d8)][_0x566900(0x3e4)](_0x3d09f8)};_0x113873[_0x566900(0x3eb)](_0x532a14);}}));}};_0x490472=_0x3d57ac([_0x15d5d4(0x0,_0x403a48[_0x2b281a(0x19a)](_0xf283a2[_0x2b281a(0x19c)])),_0x15d5d4(0x1,_0x403a48[_0x2b281a(0x19a)](_0x55aa48[_0x2b281a(0x27d)])),_0x15d5d4(0x2,_0x403a48[_0x2b281a(0x19a)](_0xe0048c)),_0x15d5d4(0x3,_0x403a48[_0x2b281a(0x19a)](_0x1d67f9)),_0x15d5d4(0x4,_0x403a48['Inject'](_0x28437c)),_0x15d5d4(0x5,_0x403a48[_0x2b281a(0x19a)](_0x225ea0)),_0x15d5d4(0x6,_0x590bc9[_0x2b281a(0x2d5)]),_0x15d5d4(0x7,_0x403a48['Inject'](_0x403a48[_0x2b281a(0x3a5)]))],_0x490472);var _0x207d41=Object[_0x2b281a(0x354)],_0x4081e7=(_0x46e72e,_0x575004,_0x3ba891,_0x1a7607)=>{for(var _0x4a8fe2=_0x1a7607>0x1?void 0x0:_0x1a7607?_0x207d41(_0x575004,_0x3ba891):_0x575004,_0x4293cf=_0x46e72e['length']-0x1,_0x29f545;_0x4293cf>=0x0;_0x4293cf--)(_0x29f545=_0x46e72e[_0x4293cf])&&(_0x4a8fe2=_0x29f545(_0x4a8fe2)||_0x4a8fe2);return _0x4a8fe2;},_0x2459f1=(_0x101007,_0x2efc2e)=>(_0x11f0a9,_0x6137ae)=>_0x2efc2e(_0x11f0a9,_0x6137ae,_0x101007);let _0x22c197=class extends _0x403a48['Disposable']{constructor(_0x4c8bb2,_0x59673f,_0x14e60c){const _0x32a34a=_0x2b281a;super(),_0x95fa0d(this,'_cachedData',new Map()),_0x95fa0d(this,'_saveTaskMap',new Map()),_0x95fa0d(this,_0x32a34a(0x1bc),!0x1),(this[_0x32a34a(0x30d)]=_0x4c8bb2,this[_0x32a34a(0x1d2)]=_0x59673f,this['_revisionService']=_0x14e60c);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2b281a(0x1e9)](){this['_disabled']=!0x1;}get[_0x2b281a(0x3a7)](){const _0x194c12=_0x2b281a;return this[_0x194c12(0x3db)];}['dispose'](){const _0x12874a=_0x2b281a;this['exhaustSavingTask']()[_0x12874a(0x300)](()=>super[_0x12874a(0x322)]());}async['loadOfflineData'](_0x46071d){const _0x43b62e=_0x2b281a;return this['_disabled']?null:this['_localStorageService'][_0x43b62e(0x2f1)](_0x55aa48[_0x43b62e(0x3bc)](_0x46071d));}async[_0x2b281a(0x1cc)](_0x4e3345,_0x3bcad5){const _0x3b0f61=_0x2b281a;return!!this[_0x3b0f61(0x1d2)][_0x3b0f61(0x19f)](_0x4e3345,_0x3bcad5);}[_0x2b281a(0x291)](_0x404cc1,_0x12e45b,_0x171519,_0x72c76e){const _0x3bc368=_0x2b281a,_0x3c6e1e=this[_0x3bc368(0x361)]['getCurrentRevOfUnit'](_0x404cc1);this['_cachedData'][_0x3bc368(0x25e)](_0x404cc1,{'unitID':_0x404cc1,'type':_0x12e45b,'awaitingChangeset':_0x171519,'mutations':_0x72c76e,'rev':_0x3c6e1e}),this[_0x3bc368(0x3db)][_0x3bc368(0x1c5)](_0x404cc1)||this[_0x3bc368(0x318)](_0x404cc1);}[_0x2b281a(0x318)](_0xc01d3a){const _0x5f18cf=_0x2b281a,_0xe5750d=this['_getSaveTimeout']();_0xe5750d===0x0?this['_saveCache'](_0xc01d3a):this[_0x5f18cf(0x3db)][_0x5f18cf(0x25e)](_0xc01d3a,setTimeout(()=>this[_0x5f18cf(0x1d6)](_0xc01d3a),_0xe5750d));}['_getSaveTimeout'](){const _0x4ce37a=_0x2b281a;var _0xb8bb44;return(_0xb8bb44=this[_0x4ce37a(0x30d)][_0x4ce37a(0x389)](_0x55aa48[_0x4ce37a(0x17f)]))!=null?_0xb8bb44:_0x55aa48[_0x4ce37a(0x3b8)];}[_0x2b281a(0x1d6)](_0x523547){const _0x5c0ec3=_0x2b281a,_0x4a059c=this['_saveTaskMap'][_0x5c0ec3(0x3c2)](_0x523547);return _0x4a059c!==void 0x0&&window[_0x5c0ec3(0x3ea)](_0x4a059c),this['_localStorageService'][_0x5c0ec3(0x19f)](_0x55aa48[_0x5c0ec3(0x3bc)](_0x523547),this['_cachedData'][_0x5c0ec3(0x3c2)](_0x523547))[_0x5c0ec3(0x300)](()=>this[_0x5c0ec3(0x3db)][_0x5c0ec3(0x3cb)](_0x523547));}async[_0x2b281a(0x31e)](){const _0x19691b=_0x2b281a,_0x2e3ed6=[];this[_0x19691b(0x3db)][_0x19691b(0x2e1)]((_0x3aa7cb,_0x3e7911)=>{const _0x10e891=_0x19691b;window[_0x10e891(0x3ea)](_0x3aa7cb),_0x2e3ed6['push'](this['_saveCache'](_0x3e7911)[_0x10e891(0x300)](()=>{const _0x4c6c97=_0x10e891;this[_0x4c6c97(0x3db)][_0x4c6c97(0x3cb)](_0x3e7911);}));}),await Promise[_0x19691b(0x31f)](_0x2e3ed6);}};_0x22c197=_0x4081e7([_0x2459f1(0x0,_0x403a48[_0x2b281a(0x184)]),_0x2459f1(0x1,_0x403a48['ILocalStorageService']),_0x2459f1(0x2,_0x403a48[_0x2b281a(0x19a)](_0x261ba6[_0x2b281a(0x3a4)]))],_0x22c197);class _0x2c2c45 extends _0x403a48[_0x2b281a(0x3e8)]{constructor(){const _0x39a49d=_0x2b281a;super(),_0x95fa0d(this,_0x39a49d(0x1ba)),this[_0x39a49d(0x1ba)]=_0x15c792[_0x39a49d(0x297)](window,_0x39a49d(0x373))[_0x39a49d(0x28a)](_0x15c792[_0x39a49d(0x261)](this[_0x39a49d(0x30b)]),_0x15c792[_0x39a49d(0x3b5)](0x1),_0x15c792['mapTo'](void 0x0));}[_0x2b281a(0x232)](_0x1efd9e,_0x25aeee,_0x318ccf=!0x1){const _0x4f6b12=_0x2b281a,_0x4cb7d0=new URL(window[_0x4f6b12(0x2c5)]['href']);_0x4cb7d0[_0x4f6b12(0x2f6)][_0x4f6b12(0x25e)](_0x1efd9e,_0x25aeee),_0x318ccf?window[_0x4f6b12(0x392)]['replaceState']('','',_0x4cb7d0['toString']()):window[_0x4f6b12(0x392)]['pushState']('','',_0x4cb7d0['toString']());}[_0x2b281a(0x15a)](_0x47ac43,_0x5ace9a=!0x1){const _0x35b085=_0x2b281a,_0x36071d=new URL(window[_0x35b085(0x2c5)][_0x35b085(0x202)]);_0x36071d['searchParams'][_0x35b085(0x3cb)](_0x47ac43),_0x5ace9a?window[_0x35b085(0x392)]['replaceState']('','',_0x36071d[_0x35b085(0x334)]()):window[_0x35b085(0x392)][_0x35b085(0x2c7)]('','',_0x36071d[_0x35b085(0x334)]());}['getParam'](_0xedb1ee){const _0x3049b6=_0x2b281a;var _0x136660;return(_0x136660=new URL(window[_0x3049b6(0x2c5)][_0x3049b6(0x202)])['searchParams'][_0x3049b6(0x3c2)](_0xedb1ee))!=null?_0x136660:void 0x0;}}var _0x5e2001=Object[_0x2b281a(0x1ad)],_0x58e2bd=Object[_0x2b281a(0x354)],_0x2be675=(_0x494edc,_0x5c5ddc,_0x446e33)=>_0x5c5ddc in _0x494edc?_0x5e2001(_0x494edc,_0x5c5ddc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x446e33}):_0x494edc[_0x5c5ddc]=_0x446e33,_0x4759f5=(_0x5b7b52,_0x590efa,_0x3582da,_0x51f930)=>{const _0x47199a=_0x2b281a;for(var _0x3bfbdd=_0x51f930>0x1?void 0x0:_0x51f930?_0x58e2bd(_0x590efa,_0x3582da):_0x590efa,_0x3283f4=_0x5b7b52[_0x47199a(0x36f)]-0x1,_0x1ad245;_0x3283f4>=0x0;_0x3283f4--)(_0x1ad245=_0x5b7b52[_0x3283f4])&&(_0x3bfbdd=_0x1ad245(_0x3bfbdd)||_0x3bfbdd);return _0x3bfbdd;},_0x25b1dc=(_0x29bebc,_0x4e8071)=>(_0x38889b,_0x4c46ff)=>_0x4e8071(_0x38889b,_0x4c46ff,_0x29bebc),_0x3fa94d=(_0x152fa8,_0x475b42,_0x29300f)=>_0x2be675(_0x152fa8,_0x475b42+'',_0x29300f);const _0x42dcff=_0x2b281a(0x2c2);_0x4d92ba['UniverCollaborationClientUIPlugin']=class extends _0x403a48[_0x2b281a(0x37d)]{constructor(_0x3db9da=_0x2cf38b,_0x353636,_0x52b85e,_0x118538){const _0x1305c0=_0x2b281a;super(),this[_0x1305c0(0x1e1)]=_0x3db9da,this[_0x1305c0(0x1ee)]=_0x353636,this[_0x1305c0(0x24a)]=_0x52b85e,this[_0x1305c0(0x30d)]=_0x118538;const {..._0x1a69b1}=_0x403a48['merge']({},_0x2cf38b,this[_0x1305c0(0x1e1)]);this[_0x1305c0(0x30d)][_0x1305c0(0x3ce)](_0x495f23,_0x1a69b1);}[_0x2b281a(0x371)](){const _0x1ff7fe=_0x2b281a;this[_0x1ff7fe(0x39b)](),this[_0x1ff7fe(0x247)]();}[_0x2b281a(0x21b)](){const _0x2e39ef=_0x2b281a;this[_0x2e39ef(0x34c)]();}['_registerDependencies'](){const _0x26dc2f=_0x2b281a;var _0x4b2c61;const _0x352089=[[_0x39e635],[_0x28437c],[_0xe0048c],[_0x1d67f9],[_0x225ea0],[_0x117780,{'useClass':_0x2c2c45}],[_0x160af6[_0x26dc2f(0x1b6)],{'useClass':_0x160af6[_0x26dc2f(0x1f4)]}],[_0x55aa48['ILocalCacheService'],{'useClass':_0x22c197}],[_0x4d92ba[_0x26dc2f(0x375)]],[_0x490472],[_0x2b87af],[_0x896780],[_0x5aa976],[_0x4d92ba[_0x26dc2f(0x399)]]];_0x403a48['registerDependencies'](this[_0x26dc2f(0x24a)],_0x403a48[_0x26dc2f(0x3b1)](_0x352089,(_0x4b2c61=this['_config'])==null?void 0x0:_0x4b2c61[_0x26dc2f(0x1a9)]));}[_0x2b281a(0x34c)](){const _0x30d3d1=_0x2b281a;this[_0x30d3d1(0x3f2)](this[_0x30d3d1(0x1ee)][_0x30d3d1(0x3a9)](_0x403a48[_0x30d3d1(0x28f)]['UNIVER_DOC'],[_0x1c18e5])),this[_0x30d3d1(0x3f2)](this[_0x30d3d1(0x1ee)][_0x30d3d1(0x3a9)](_0x403a48['UniverInstanceType'][_0x30d3d1(0x169)],[_0x5c681f]));}[_0x2b281a(0x247)](){const _0x5537ba=_0x2b281a;_0x403a48['touchDependencies'](this[_0x5537ba(0x24a)],[[_0x896780],[_0x4d92ba['DesktopCollaborationStatusDisplayController']],[_0x490472],[_0x2b87af],[_0x4d92ba[_0x5537ba(0x399)]]]);}},_0x3fa94d(_0x4d92ba[_0x2b281a(0x1bf)],'pluginName',_0x42dcff),_0x4d92ba[_0x2b281a(0x1bf)]=_0x4759f5([_0x403a48[_0x2b281a(0x269)](_0x55aa48['UniverCollaborationClientPlugin']),_0x25b1dc(0x1,_0x1380e3['IRenderManagerService']),_0x25b1dc(0x2,_0x403a48['Inject'](_0x403a48['Injector'])),_0x25b1dc(0x3,_0x403a48[_0x2b281a(0x184)])],_0x4d92ba['UniverCollaborationClientUIPlugin']);var _0x1866d6=Object[_0x2b281a(0x354)],_0x28f053=(_0x4965e5,_0x376bbc,_0x29b2a2,_0x5be868)=>{const _0x59940c=_0x2b281a;for(var _0x504f30=_0x5be868>0x1?void 0x0:_0x5be868?_0x1866d6(_0x376bbc,_0x29b2a2):_0x376bbc,_0x4f4629=_0x4965e5[_0x59940c(0x36f)]-0x1,_0x3f6b6e;_0x4f4629>=0x0;_0x4f4629--)(_0x3f6b6e=_0x4965e5[_0x4f4629])&&(_0x504f30=_0x3f6b6e(_0x504f30)||_0x504f30);return _0x504f30;},_0x299072=(_0x219a8e,_0x5a70bd)=>(_0x1cd867,_0x183830)=>_0x5a70bd(_0x1cd867,_0x183830,_0x219a8e);_0x4d92ba[_0x2b281a(0x1d4)]=class extends _0x55aa48['CollaborationSocketService']{constructor(_0x13db94,_0xf67d00,_0x5be832,_0x366278,_0x5687ef){super(_0x13db94,_0xf67d00,_0x5be832,_0x366278,_0x5687ef);}async[_0x2b281a(0x376)](_0x42fdae){const _0x12bf32=_0x2b281a,_0x13bffe=await this[_0x12bf32(0x3d4)](),_0x47d218=this[_0x12bf32(0x2e6)](_0x42fdae,_0x13bffe);return this[_0x12bf32(0x3cf)](_0x47d218);}['_createSocketURL'](_0xc3b1ec,_0x529c1b){const _0x301fec=_0x2b281a,_0x483cd2=typeof window>'u'?new URL(_0xc3b1ec):new URL(_0xc3b1ec,window[_0x301fec(0x2c5)][_0x301fec(0x245)]);_0x483cd2[_0x301fec(0x2f6)][_0x301fec(0x25e)](_0x301fec(0x2b8),_0x529c1b);const _0x497c2d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x301fec(0x2ba)]);return _0x497c2d['get']('runId')&&_0x483cd2[_0x301fec(0x2f6)]['set'](_0x301fec(0x15d),_0x497c2d[_0x301fec(0x3c2)](_0x301fec(0x15d))),_0x483cd2[_0x301fec(0x334)]();}async[_0x2b281a(0x3d4)](){const _0x1b23fb=_0x2b281a;var _0x23151f,_0x5a572f,_0x5b916f;const _0x14c403=this[_0x1b23fb(0x30d)][_0x1b23fb(0x389)](_0x55aa48[_0x1b23fb(0x1fa)]),_0x1a9f10=(_0x23151f=_0x14c403==null?void 0x0:_0x14c403[_0x1b23fb(0x27f)])!=null?_0x23151f:_0x55aa48[_0x1b23fb(0x315)];return(_0x5b916f=(_0x5a572f=(await this[_0x1b23fb(0x3a0)][_0x1b23fb(0x3c2)](_0x1a9f10,{'headers':{'Content-Type':_0x1b23fb(0x346)}}))[_0x1b23fb(0x2b9)])==null?void 0x0:_0x5a572f[_0x1b23fb(0x16e)])!=null?_0x5b916f:'';}},_0x4d92ba[_0x2b281a(0x1d4)]=_0x28f053([_0x299072(0x0,_0x403a48[_0x2b281a(0x19a)](_0x403a48['Injector'])),_0x299072(0x1,_0x403a48[_0x2b281a(0x19a)](_0x160af6[_0x2b281a(0x1b4)])),_0x299072(0x2,_0x403a48[_0x2b281a(0x184)]),_0x299072(0x3,_0x403a48[_0x2b281a(0x2cb)]),_0x299072(0x4,_0x261ba6[_0x2b281a(0x36d)])],_0x4d92ba[_0x2b281a(0x1d4)]);const _0x14fc36=0x7530,_0x41efc4=_0x2b281a(0x1c4);class _0x117f86 extends _0x403a48['Disposable']{constructor(){const _0x1235b3=_0x2b281a;super(),_0x95fa0d(this,_0x1235b3(0x21d),_0x403a48['generateRandomId']()),_0x95fa0d(this,_0x1235b3(0x3ed),new Set()),_0x95fa0d(this,_0x1235b3(0x2a8),new Map()),_0x95fa0d(this,_0x1235b3(0x2bc),null),_0x95fa0d(this,_0x1235b3(0x20e),new Map()),_0x95fa0d(this,_0x1235b3(0x2c3),new Map()),this[_0x1235b3(0x223)]();}['dispose'](){const _0x2e3c1f=_0x2b281a;super[_0x2e3c1f(0x322)](),this[_0x2e3c1f(0x20e)][_0x2e3c1f(0x2e1)]((_0x594fe0,_0x3d8bc0)=>this[_0x2e3c1f(0x3a1)](_0x3d8bc0)),this[_0x2e3c1f(0x2bc)]&&window[_0x2e3c1f(0x23f)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x104ec3){const _0x5703d5=_0x2b281a;return this[_0x5703d5(0x1e7)](_0x104ec3)[_0x5703d5(0x28a)](_0x15c792[_0x5703d5(0x21e)]());}[_0x2b281a(0x388)](_0x221719){const _0x234685=_0x2b281a;this[_0x234685(0x3ed)][_0x234685(0x255)]===0x0&&this[_0x234685(0x2dc)](),this[_0x234685(0x3ed)]['add'](_0x221719),this['_send']({'type':0x0,'memberID':this[_0x234685(0x21d)],'unitIDs':[_0x221719],'isForwarded':!0x1});}[_0x2b281a(0x292)](_0x102ed8){const _0x3b33da=_0x2b281a;this[_0x3b33da(0x3ed)][_0x3b33da(0x3cb)](_0x102ed8),this[_0x3b33da(0x3ed)][_0x3b33da(0x255)]===0x0&&this['_heartbeatTimer']&&window[_0x3b33da(0x23f)](this[_0x3b33da(0x2bc)]);}[_0x2b281a(0x223)](){const _0x5bd1ea=_0x2b281a;this[_0x5bd1ea(0x3f2)](_0x403a48[_0x5bd1ea(0x3a2)](_0x15c792[_0x5bd1ea(0x297)](window,_0x5bd1ea(0x30e))['subscribe'](_0x33ea0c=>{const _0x297be5=_0x5bd1ea;if(_0x33ea0c[_0x297be5(0x3e7)]!==_0x41efc4||!_0x33ea0c['newValue'])return;const _0x5141f0=JSON[_0x297be5(0x3b2)](_0x33ea0c[_0x297be5(0x2ac)]);this[_0x297be5(0x3f3)](_0x5141f0);}))),window[_0x5bd1ea(0x3f1)](_0x5bd1ea(0x3c6),()=>this['_send']({'type':0x1,'memberID':this[_0x5bd1ea(0x21d)],'unitIDs':Array['from'](this[_0x5bd1ea(0x3ed)])}));}['_handleEvent'](_0x1484e8){const _0x36d193=_0x2b281a;switch(_0x1484e8[_0x36d193(0x1bb)]){case 0x0:this[_0x36d193(0x3de)](_0x1484e8);break;case 0x1:this[_0x36d193(0x2e7)](_0x1484e8);break;case 0x2:this['_handleHeartbeatEvent'](_0x1484e8);break;}}[_0x2b281a(0x3de)](_0xe24f30){const _0x44cb26=_0x2b281a,{unitIDs:_0x5e33c8,memberID:_0x3ad1cd,isForwarded:_0x51e9d0}=_0xe24f30;_0x5e33c8['forEach'](_0x1d0909=>{const _0x39f3d2=_0x28da;if(!_0x51e9d0&&this[_0x39f3d2(0x2a8)][_0x39f3d2(0x1c5)](_0x1d0909)&&this[_0x39f3d2(0x1e7)](_0x1d0909)[_0x39f3d2(0x1ac)](_0x55aa48['UnitStatus'][_0x39f3d2(0x397)]),!this[_0x39f3d2(0x2a8)][_0x39f3d2(0x1c5)](_0x1d0909)||!this['_unitOnClients'][_0x39f3d2(0x3c2)](_0x1d0909)['has'](_0x3ad1cd)){const _0x4e9428=this[_0x39f3d2(0x2a8)][_0x39f3d2(0x3c2)](_0x1d0909)||new Set();_0x4e9428[_0x39f3d2(0x1b3)](_0x3ad1cd),this['_unitOnClients'][_0x39f3d2(0x25e)](_0x1d0909,_0x4e9428),this[_0x39f3d2(0x252)](_0x3ad1cd);}}),_0x51e9d0||this[_0x44cb26(0x34b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2b281a(0x252)](_0x38c070){const _0x5857d4=_0x2b281a;this[_0x5857d4(0x3a1)](_0x38c070);const _0x4a22ab=window[_0x5857d4(0x3ec)](()=>{const _0x204b44=_0x5857d4;this['_unitOnClients'][_0x204b44(0x2e1)](_0x2b52d1=>{_0x2b52d1['delete'](_0x38c070);});},_0x14fc36*0x2);this[_0x5857d4(0x20e)][_0x5857d4(0x25e)](_0x38c070,_0x4a22ab);}[_0x2b281a(0x3a1)](_0x6cafbe){const _0x3baa0b=_0x2b281a;if(this[_0x3baa0b(0x20e)][_0x3baa0b(0x1c5)](_0x6cafbe)){const _0x3b482a=this[_0x3baa0b(0x20e)][_0x3baa0b(0x3c2)](_0x6cafbe);_0x3b482a&&window[_0x3baa0b(0x3ea)](_0x3b482a),this[_0x3baa0b(0x20e)][_0x3baa0b(0x25e)](_0x6cafbe,null);}}[_0x2b281a(0x2e7)](_0x4b840f){const _0x2f52fd=_0x2b281a,{memberID:_0x1a9acd,unitIDs:_0x492c5e}=_0x4b840f;_0x492c5e[_0x2f52fd(0x2e1)](_0x4306d7=>{const _0x11a945=_0x2f52fd;var _0x22f00d;const _0x30ca3b=this[_0x11a945(0x2a8)][_0x11a945(0x3c2)](_0x4306d7);_0x30ca3b&&(_0x30ca3b[_0x11a945(0x3cb)](_0x1a9acd),(_0x22f00d=this[_0x11a945(0x1e7)](_0x4306d7))==null||_0x22f00d[_0x11a945(0x1ac)](_0x30ca3b[_0x11a945(0x255)]===0x0?_0x55aa48[_0x11a945(0x34f)][_0x11a945(0x1a1)]:_0x55aa48[_0x11a945(0x34f)][_0x11a945(0x397)]));}),this['_removeClearOtherTimer'](_0x1a9acd);}[_0x2b281a(0x246)](_0x5b0411){const _0xd3970d=_0x2b281a;this[_0xd3970d(0x252)](_0x5b0411[_0xd3970d(0x36a)]);}[_0x2b281a(0x34b)](_0x25d58c){localStorage['setItem'](_0x41efc4,JSON['stringify'](_0x25d58c));}[_0x2b281a(0x2dc)](){const _0x5825ad=_0x2b281a;this[_0x5825ad(0x2bc)]=window[_0x5825ad(0x204)](()=>{const _0x2589f8=_0x5825ad;this[_0x2589f8(0x34b)]({'type':0x2,'memberID':this[_0x2589f8(0x21d)]});},_0x14fc36);}[_0x2b281a(0x1e7)](_0xfd05aa){const _0x3d6a6a=_0x2b281a;return this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x1c5)](_0xfd05aa)||this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x25e)](_0xfd05aa,new _0x15c792[(_0x3d6a6a(0x37f))](_0x55aa48[_0x3d6a6a(0x34f)][_0x3d6a6a(0x1a1)])),this[_0x3d6a6a(0x2c3)][_0x3d6a6a(0x3c2)](_0xfd05aa);}}var _0x260a0c=(_0x51c6f2=>(_0x51c6f2[_0x51c6f2[_0x2b281a(0x228)]=0x0]=_0x2b281a(0x228),_0x51c6f2[_0x51c6f2['OK']=0x1]='OK',_0x51c6f2[_0x51c6f2[_0x2b281a(0x328)]=0x2]=_0x2b281a(0x328),_0x51c6f2[_0x51c6f2[_0x2b281a(0x24c)]=0x3]=_0x2b281a(0x24c),_0x51c6f2[_0x51c6f2['NOT_FOUND']=0x4]=_0x2b281a(0x2a2),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3ee)]=0x5]=_0x2b281a(0x3ee),_0x51c6f2[_0x51c6f2['ALREADY_EXISTS']=0x6]=_0x2b281a(0x250),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2ca)]=0x7]='INVALID_ARGUMENT',_0x51c6f2[_0x51c6f2[_0x2b281a(0x312)]=0x8]=_0x2b281a(0x312),_0x51c6f2[_0x51c6f2['COMPLETION_FINISHED']=0x9]=_0x2b281a(0x281),_0x51c6f2[_0x51c6f2[_0x2b281a(0x349)]=0xa]=_0x2b281a(0x349),_0x51c6f2[_0x51c6f2['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x51c6f2[_0x51c6f2[_0x2b281a(0x3ac)]=0x1771]=_0x2b281a(0x3ac),_0x51c6f2[_0x51c6f2[_0x2b281a(0x35a)]=0x1772]=_0x2b281a(0x35a),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1a0)]=0x1773]=_0x2b281a(0x1a0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3c0)]=0x1b59]=_0x2b281a(0x3c0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1ea)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x51c6f2[_0x51c6f2[_0x2b281a(0x387)]=0x1b5b]=_0x2b281a(0x387),_0x51c6f2[_0x51c6f2[_0x2b281a(0x298)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x16b)]=0x1b5d]='APPLY_DUPLICATED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x32c)]=0x1f41]=_0x2b281a(0x32c),_0x51c6f2[_0x51c6f2[_0x2b281a(0x29f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51c6f2[_0x51c6f2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2b281a(0x236),_0x51c6f2[_0x51c6f2[_0x2b281a(0x23d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x51c6f2[_0x51c6f2[_0x2b281a(0x25d)]=0x232c]=_0x2b281a(0x25d),_0x51c6f2[_0x51c6f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2b281a(0x192),_0x51c6f2[_0x51c6f2['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2b281a(0x33f),_0x51c6f2[_0x51c6f2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2b281a(0x158),_0x51c6f2[_0x51c6f2[_0x2b281a(0x25c)]=0x2713]=_0x2b281a(0x25c),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2fd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51c6f2[_0x51c6f2[_0x2b281a(0x1da)]=0x271a]=_0x2b281a(0x1da),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3f0)]=0x271b]=_0x2b281a(0x3f0),_0x51c6f2[_0x51c6f2[_0x2b281a(0x340)]=0x271c]=_0x2b281a(0x340),_0x51c6f2[_0x51c6f2[_0x2b281a(0x201)]=0x271d]=_0x2b281a(0x201),_0x51c6f2[_0x51c6f2[_0x2b281a(0x27c)]=0x271e]=_0x2b281a(0x27c),_0x51c6f2[_0x51c6f2['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2b281a(0x1b5),_0x51c6f2[_0x51c6f2[_0x2b281a(0x179)]=0x2af9]=_0x2b281a(0x179),_0x51c6f2[_0x51c6f2[_0x2b281a(0x275)]=0x2ee1]=_0x2b281a(0x275),_0x51c6f2[_0x51c6f2[_0x2b281a(0x15f)]=0x2ee2]=_0x2b281a(0x15f),_0x51c6f2[_0x51c6f2['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2b281a(0x384),_0x51c6f2[_0x51c6f2[_0x2b281a(0x3f5)]=0x2ee4]=_0x2b281a(0x3f5),_0x51c6f2[_0x51c6f2[_0x2b281a(0x1eb)]=0x2ee5]=_0x2b281a(0x1eb),_0x51c6f2[_0x51c6f2[_0x2b281a(0x2a5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x51c6f2[_0x51c6f2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2b281a(0x2fc),_0x51c6f2[_0x51c6f2['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x51c6f2[_0x51c6f2['UNRECOGNIZED']=-0x1]=_0x2b281a(0x2d9),_0x51c6f2))(_0x260a0c||{}),_0x3277c5=Object[_0x2b281a(0x354)],_0x4f58ba=(_0x4a6166,_0x1a3cb3,_0x38ca9f,_0x3a646e)=>{const _0x581459=_0x2b281a;for(var _0x38d632=_0x3a646e>0x1?void 0x0:_0x3a646e?_0x3277c5(_0x1a3cb3,_0x38ca9f):_0x1a3cb3,_0x29c9ee=_0x4a6166[_0x581459(0x36f)]-0x1,_0x153e6b;_0x29c9ee>=0x0;_0x29c9ee--)(_0x153e6b=_0x4a6166[_0x29c9ee])&&(_0x38d632=_0x153e6b(_0x38d632)||_0x38d632);return _0x38d632;},_0x31ff36=(_0x54de1a,_0x469e82)=>(_0x36aefd,_0x4d4000)=>_0x469e82(_0x36aefd,_0x4d4000,_0x54de1a);_0x4d92ba[_0x2b281a(0x2e8)]=class extends _0x403a48[_0x2b281a(0x265)]{constructor(_0x3bd68f,_0x3fd9fa,_0x59a5e1){const _0x1a07da=_0x2b281a;super(),this[_0x1a07da(0x3b9)]=_0x3bd68f,this['_httpService']=_0x3fd9fa,this['_configService']=_0x59a5e1;}async['runOnServer'](_0x2f146c,_0x3dac5d,_0x117ee7,..._0x4e3e0f){const _0x51be9e=_0x2b281a;var _0x53e8a1,_0x37def0,_0x1bfa3e,_0x576a40;const _0x2161c9=this['_instanceService']['getFocusedUnit']();if(!_0x2161c9)throw new Error(_0x51be9e(0x32a));const _0x4a8d50=((_0x53e8a1=this[_0x51be9e(0x30d)][_0x51be9e(0x389)](_0x55aa48[_0x51be9e(0x317)]))!=null?_0x53e8a1:_0x55aa48[_0x51be9e(0x164)])+'/'+_0x2f146c+_0x51be9e(0x22b)+_0x3dac5d,_0x3dcd0c=new URL(window[_0x51be9e(0x2c5)][_0x51be9e(0x202)]),_0x312e9a={'scriptId':_0x2f146c,'runId':(_0x37def0=_0x3dcd0c['searchParams'][_0x51be9e(0x3c2)](_0x51be9e(0x15d)))!=null?_0x37def0:'','function':_0x3dac5d,'unitId':_0x2161c9['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4e3e0f),'invokeId':(_0x1bfa3e=_0x117ee7['invokeId'])!=null?_0x1bfa3e:'','executionId':(_0x576a40=_0x117ee7[_0x51be9e(0x244)])!=null?_0x576a40:''};try{const _0x86b988=await this[_0x51be9e(0x3a0)][_0x51be9e(0x31d)](_0x4a8d50,{'body':_0x312e9a});return _0x86b988[_0x51be9e(0x2b9)][_0x51be9e(0x2f8)]&&_0x86b988[_0x51be9e(0x2b9)]['error'][_0x51be9e(0x32f)]!==_0x260a0c['OK']?_0x51be9e(0x3e0):_0x86b988['body']['result'];}catch{return _0x51be9e(0x3e0);}}},_0x4d92ba[_0x2b281a(0x2e8)]=_0x4f58ba([_0x31ff36(0x0,_0x403a48[_0x2b281a(0x360)]),_0x31ff36(0x1,_0x403a48[_0x2b281a(0x19a)](_0x160af6['HTTPService'])),_0x31ff36(0x2,_0x403a48[_0x2b281a(0x184)])],_0x4d92ba[_0x2b281a(0x2e8)]),_0x4d92ba[_0x2b281a(0x263)]=_0x5a1bdc,_0x4d92ba[_0x2b281a(0x1b8)]=_0x117780,_0x4d92ba[_0x2b281a(0x294)]=_0x41104e,_0x4d92ba['WebBrowserSingleActiveUnitService']=_0x117f86,_0x4d92ba[_0x2b281a(0x359)]=_0x2c2c45,Object[_0x2b281a(0x1ad)](_0x4d92ba,Symbol[_0x2b281a(0x251)],{'value':_0x2b281a(0x306)});}));function _0x4739(){const _0x4657cd=['_lastPointer','Disposable','190FCsEVo','Injector','skeleton','DependentOn','tag','_dataLoaderService','_color','1230sgmQIu','defs','_cursorShapes','_transformHistoryAndStateStack','CLOSE_ROOM','saveImage','NOT_COLLAB','exports','INVITE_CODE_HAS_BEEN_UES','1006cercDW','_refRangeService','prototype','@univerjs/engine-formula','getCoordByCell','createIdentifier','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationController','125587HHfEdB','wsSessionTicketUrl','_messageService','COMPLETION_FINISHED','subscribeEvent','getCurrent','deserializeRangeWithSheet','roomMembers$','Unknown\x20user','_collabSessionService','transformMutationsWithChangeset','none','pipe','merge','handleInsertRangeMoveRight','_hover','...','UniverInstanceType','generateRandomId','updateOfflineData','disposeUnit','switchMap','SheetCollabCursorShape','collaboration-client.offline-data-not-saved','whenReady','fromEvent','APPLY_PERMISSION_DENIED','_name','168KLcwYV','_anchor','max','ThemeService','_notificationService','LICENSE_MAX_UNITS_EXCEEDED','_initEvent','currentColor','NOT_FOUND','_cursor','throttleTime','WECHAT_HAS_BEEN_BOUND','getParam','_startDocCollabCursor','_unitOnClients','text','endRow','CollaborationEvent','newValue','assign','react','handleInsertRow','handleMoveRange','_drawAnchor','m1Prime','moveTo','url(#off-line-icon_clip0_910_343)','range','_onCursorDelete','resize','sessionTicket','body','search','USERS_LEAVE','_heartbeatTimer','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','use','OffLineIcon','transformStateCache','undoState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_unitStatus','_assignedColors','location','fillText','pushState','_univerInstanceService','_updateCollabCursors','INVALID_ARGUMENT','ILogService','NodePositionConvertToRectRange','color','cursorInfo','idSuffix','IUIPartsService','1185192ZruoJl','INotificationService','DeleteRangeMoveLeftCommandId','loadUnit','IMessageService','hasOwnProperty','getColorFromTheme','save','UNRECOGNIZED','MessageType','complete','_scheduleHeartbeat','UniverSheetsUi','DocSkeletonManagerService','_docStateChangeManagerService','useDependency','forEach','registerRefRange','TEXT','jsx','getTypeOfUnitAdded$','_createSocketURL','_handleLeaveEvent','RemoteUniscriptService','onMouseMove','IDocClipboardService','_transformUndoRedoStack','black','NodePositionConvertToCursor','UNIVER_DOC','onPointerLeave$','_scene','getItem','column','connectInjector','Tooltip','ICommandService','searchParams','_entities','error','SheetSkeletonManagerService','jsxs','Optional','MOBILE_HAS_BEEN_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','off-line-icon','_getAnchorBounding','then','collaboration-client-ui.config','collab-rect-range-','_commandService','_getSheetObject','from','Module','getSheetBySheetId','subscribe','CollaborationSessionService','subunit','dispose$','handleDeleteRangeMoveUp','_configService','storage','RefRangeService','handleInsertRangeMoveDown','_docSkeleton','TOO_MANY_REQUESTS','getSheetId','CONFLICT','DEFAULT_WS_SESSION_TICKET_URL','status$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_scheduleSaving','10505ZDBKPZ','values','operators','RichTextEditingMutation','post','exhaustSavingTask','all','_urlService','_docTransformIMECacheService','dispose','Error','_hideTimer','RegularPolygon','icon','getCollabCursors$','INTERNAL_ERROR','getOwnPropertySymbols','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','CONNECTOR_DATA_TOO_LARGE','1145646QuqqMY','_colorAssignService','code','1057kFoCAc','makeDirty','sheetID','cursorInfo$','toString','asObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','map','backgroundColor','_transformPreviousActiveRange','red.300','focused$','children','_setupBeforeClosingHandler','_setupSubUnitSync','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','_online','_docSyncEditingCollabCursorService','includes','application/json','_colorIndex','session.connection-failed','LOGIN_FAILED','UPDATE_CURSOR','_send','_registerRenderDependencies','getAncestorScale','UniverEngineRender','UnitStatus','M0\x200H16V16H0z','OFFLINE','getDocRanges','function','getOwnPropertyDescriptor','_roomMembers$','registerBeforeClose','getUndoRedoMutationParamsCache','_drawTextRange','WebURLService','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','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','unsubscribe','collaboration.closeRoom','InsertRangeMoveRightCommandId','IUniverInstanceService','_revisionService','CollaborationUIEventId','CommandType','getFocusedUnit','setStateCache','FromArray','_transformService','entityInit$','isTransformMutationFailure','memberID','_startSheetCollabCursor','ITransformService','ISnapshotServerService','closePath','length','SessionStatus','onStarting','Subject','popstate','_initCommandExecutedListener','DesktopCollaborationStatusDisplayController','createSocket','@univerjs/docs-ui','UniverDocs','attrs','_hovered','amd','_handleHover','Plugin','row','BehaviorSubject','_cursorInfo$','push','min','UniverEngineFormula','INVITE_CODE_REQUIRED','executeCommand','_initStatusListener','APPLY_REVISION_CONFILICT','editingUnit','getConfig','@univerjs/sheets-ui','defIds','JOIN_ROOM_FAILED','evenodd','UniverSheets','univer-flex\x20univer-mr-2\x20univer-text-xl','clsx','getCurrentSelections','history','1em','registerComponent','blue.400','DocSelectionManagerService','OTHER_CLIENTS_EDITING','DocCollaborationEntity','CollaborationDataLoaderController','currentTheme$','_registerDependencies','Tools','getColor','font','SetDocZoomRatioOperation','_httpService','_removeClearOtherTimer','toDisposable','_initStatusComponent','RevisionService','LocaleService','_render','saveTaskMap','displayName','registerRenderModule','replace','onPointerEnter$','SNAPSHOT_INVALID_SNAPSHOT','UniverRpc','UniverUi','combineLatest','unitId','mergeOverrideWithDependencies','parse','getTypeOfUnitDisposed$','runRefRangeMutations','shareReplay','measureText','_textBubble','LOCAL_CACHE_INTERVAL','_instanceService','translate(.97)','IBeforeCloseService','getLocalCacheKey','_shapes','collab-text-anchor-','collabStatus.conflict','APPLY_REJECT','url(#$1','get','permission.content','getViewport','CollaborationUIEventService','unload','onCommandExecuted','transform','requireSession','event$','delete','textRanges','_backgroundColor','setConfig','_doCreateSocket','SOCKET_FAILED_RETRY','session.will-retry','useRef','redoState','_getSessionTicket','entries','source','@univerjs/engine-render','_docTransformStateCacheService','collab-client.tooltip.reconnect','_beforeCloseService','_saveTaskMap','BuiltInUIPart','transformMutation','_handleJoinEvent','MoveRangeCommandId','Failed','unshift','_sheetSkeletonManagerService','_syncEditingCollabCursorService','transformRemoteChangeset','isArray','_context','key','RxDisposable','36155uVmxge','clearTimeout','addHandlerCallback','setTimeout','_selfUnitIDs','UNAUTHENTICATED','params','YUUMI_ASYNCIO_CANCELLED','addEventListener','disposeWithMe','_handleEvent','debounceTime','USER_NOT_INVITED_CODE','createInstance','_collaborationController','YUUMI_URL_COL_OUT_OF_RANGE','_session','removeParam','_docSkeletonManagerService','_entityInit$','runId','ILocalCacheService','INVALID_INVITE_CODE','MemberService','find','_docTransformSelectionsService','Vector2','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','React','fillStyle','_themeService','http://www.w3.org/2000/svg','UNIVER_SHEET','url(#on-line-icon_clip0_910_349)','APPLY_DUPLICATED','OTHER_CLIENT_EDITING','addClipboardHook','ticket','0\x200\x2017\x2016','getStateCache','SetTextSelectionsOperation','getMember','UniverIcon','collabStatus.fetchMiss','CollaborationStatus','addObjects','unit','_labelPosition','PY_RUNTIME_SCRIPT_ERROR','startRow','debounce','with','getSheetObject','0\x200\x2016\x2016','LOCAL_CACHE_INTERVAL_KEY','white','Rectangle','some','#FFF','IConfigService','doc.mutation.rich-text-editing','handleInsertCol','_logService','@univerjs-pro/collaboration-client','lineTo','getRangePointData','concat','colorChannel1','filter','getValue','_status$','getMemberID','_draw','LICENSE_DISTRO_REJECTED','ColorKit','div','trim','mask','SheetsSelectionsService','_eventUnsubscribe','@univerjs/docs','Inject','transformIMECache','DocStateChangeManagerService','Shape','round','setItem','ENSURE_SNAPSHOT_EXECUTION','NO_OTHER_CLIENTS_EDITING','_onRefRangeChange','_getScale','rxjs','transformByState','uni.network.url-service','DOC_RANGE_TYPE','FETCH_MISS','override','InsertColCommandId','unitID','next','defineProperty','substring','_anchorDot','_memberService','collabCursorState$','_document','add','HTTPService','YUUMI_AI_RUN_FAILED','ISocketService','_collabCursorController','IURLService','getUnitId','urlChange$','type','_disabled','@univerjs/sheets','3enRkzX','UniverCollaborationClientUIPlugin','arc','currentSkeleton$','fill','getSkeleton','ACTIVE_UNIT_EVENT_CHANNEL','has','data','PENDING','jiqing.500','@univerjs/network','width','getCurrentUnitForType','saveOfflineData','collab-text-range-','init','collabStatus.syncing','on-line-icon','_initEntityListener','_localStorageService','beginPath','BrowserCollaborationSocketService','transformSelections','_saveCache','className','activeSheet$','call','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','Rect','hide','UniverProCollaboration','string','1221476JUxJKr','_config','react/jsx-runtime','permission.title','hovered','_toggleOnline','handleDeleteRangeMoveLeft','_ensureSubject','actions','enableLocalCache','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_ALREADY_BOUND','@univerjs/core','fillRule','_renderManagerService','UniverCore','ranges','purple.300','AWAITING_WITH_PENDING','flatMap','WebSocketService','send','isEditing','_drawRectRange','indexOf','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','setAlpha','_docClipboardService','COLORS','createElement','_removeCollabCursors','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','href','name','setInterval','path','_range','apply','yellow.400','TEXT_RANGE_LAYER_INDEX','getRenderById','getUniverSheetInstance','eventID','svg','_clearOtherTimers','_updateLocalCursor','off-line-icon_clip0_910_343','docStateChange$','rgba(255,\x20255,\x20255,\x200.01)','VIEW_MAIN','getVpScrollXYInfoByPosToVp','_refreshCollabCursors','_localCacheService','on-line-icon_clip0_910_349','@univerjs/drawing','@univerjs-pro/collaboration','DocIMEInputManagerService','onRendered','_toggleOffline','_id','distinctUntilChanged','roomMembers','height','getCollabEntity$','Warning','_init','fromEventSubject','_updateSubUnitFromURLParams','UniverProCollaborationClient','symbol','UNDEFINED','_cursors','setShapeProps','/run/','restore','subUnitId','onTransformChange$','isActive','addObject','session.collaboration-timeout','setParam','serializeRangeWithSheet','sessionStatus$','mutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','triggerDblclick','_localeService','findNodePositionByCharIndex','selections','_initResize','clipPath','LICENSE_IMPORT_SIZE_EXCEEDED','startsWith','clearInterval','_getMergeRange','debug','EffectRefRangId','green.600','executionId','origin','_handleHeartbeatEvent','_initDependencies','bottom','ONLINE','_injector','DisposableCollection','PERMISSION_DENIED','selection','RECT','SOCKET_FAILED','ALREADY_EXISTS','toStringTag','_scheduleClearOtherTimer','m2Prime','SetWorksheetActivateCommand','size','forwardRef','random','extend','show','engine','deepClone','YUUMI_RATE_OVER_LIMIT','LICENSE_EXPORT_SIZE_EXCEEDED','set','collaboration.single-unit.warning','@univerjs/design','takeUntil','drawWith','CollaborationStatusDisplay'];_0x4739=function(){return _0x4657cd;};return _0x4739();}
|
|
1
|
+
function _0x37bd(_0x5a8da2,_0x4bb149){const _0x19af19=_0x19af();return _0x37bd=function(_0x37bdc7,_0x144d87){_0x37bdc7=_0x37bdc7-0xbb;let _0x2b8bdc=_0x19af19[_0x37bdc7];return _0x2b8bdc;},_0x37bd(_0x5a8da2,_0x4bb149);}function _0x19af(){const _0x511dd8=['_heartbeatTimer','UniverCollaborationClientUIPlugin','updateOfflineData','runOnServer','undoState','UNAUTHENTICATED','ENSURE_SNAPSHOT_EXECUTION','http://www.w3.org/2000/svg','loadUnit','searchParams','_collaborationController','...','DeleteRangeMoveUpCommandId','distinctUntilChanged','LICENSE_MAX_UNITS_EXCEEDED','indexOf','MOBILE_HAS_BEEN_BOUND','_range','LICENSE_EXPORT_SIZE_EXCEEDED','getCellPositionByOffset','#FFF','RevisionService','registerBeforeClose','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_localStorageService','uni.network.url-service','_getSessionTicket','defs','resize','cursorInfo','beginPath','Tools','createElement','transformSelections','deepClone','YUUMI_URL_COL_OUT_OF_RANGE','_updateURLWithCurrentState','ILocalStorageService','InsertColCommandId','getParam','unshift','ACTIVE_UNIT_EVENT_CHANNEL','params','IImageIoService','RECT','pushState','IConfigService','@univerjs/engine-formula','closePath','NO_OTHER_CLIENTS_EDITING','LOCAL_CACHE_INTERVAL_KEY','toString','yellow.400','@univerjs-pro/collaboration','collabStatus.notCollab','currentColor','LICENSE_DISTRO_REJECTED','_collabCursorController','setTimeout','IBeforeCloseService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','_cursor','@univerjs/docs-ui','_drawRectRange','text','endRow','SOCKET_FAILED','addClipboardHook','getCurrentSelections','_onRefRangeChange','redoState','_createSocketURL','post','SNAPSHOT_INVALID_SNAPSHOT','url(#$1','_httpService','_removeClearOtherTimer','getUnitStatus$','dispose$','InsertRangeMoveRightCommandId','contains','touchDependencies','_setupBeforeClosingHandler','@univerjs/engine-render','onTransformChange$','measureText','_assignedColors','displayName','wsSessionTicketUrl','setAlpha','UniverNetwork','getSkeleton','Rect','subunit','IURLService','CollaborationSocketService','getLocalCacheKey','labelPosition','getValue','M0\x200H16V16H0z','_handleHover','_selfUnitIDs','TEXT','docStateChange$','black','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleIRemoveCol','_online','map','_themeService','UNRECOGNIZED','Warning','override','IRenderManagerService','send','COMPLETION_FINISHED','has','transformMutation','_docClipboardService','_toggleOffline','saveOfflineData','_session','_updateLocalCursor','FromArray','error','operators','UNIVER_DOC','bottom','loadOfflineData','_ensureSubject','_cachedData','doc.mutation.rich-text-editing','12DvAFLS','className','width','get','symbol','CollaborationStatusDisplay','children','currentSkeleton$','CHANGESET_REVISION_CONFILICT','show','clearInterval','getSheetId','getAncestorScale','APPLY_REVISION_CONFILICT','Injector','collabStatus.offline','collabStatus.synced','getUniverSheetInstance','_injector','SetTextSelectionsOperation','_roomMembers$','getTypeOfUnitDisposed$','EMAIL_HAS_BEEN_BOUND','cursorInfo$','addEventListener','m2Prime','mapTo','UniverProCollaboration','_cursorInfo$','_eventUnsubscribe','includes','_colorIndex','transformMutationsWithChangeset','Shape','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_AI_RUN_FAILED','urlChange$','SHEET_VIEWPORT_KEY','getItem','_toggleOnline','@univerjs-pro/collaboration-client','/run/','UniverUi','idSuffix','DependentOn','CollaborationController','CollaborationDataLoaderController','svg','min','getRenderById','UnitStatus','CONNECTOR_DATA_TOO_LARGE','ticket','ISnapshotServerService','_backgroundColor','_hovered','href','deserializeRangeWithSheet','transformRemoteChangeset','ALREADY_EXISTS','1em','UniverEngineFormula','_getAnchorBounding','@univerjs/rpc','generateRandomId','DeleteRangeMoveLeftCommandId','UniverProCollaborationClientUi','_messageService','getOwnPropertySymbols','_docStateChangeManagerService','UniverCore','LICENSE_IMPORT_SIZE_EXCEEDED','WECHAT_HAS_BEEN_BOUND','52018CQEcFr','2757156OIYZaW','_unitStatus','apply','icon','_collaborationUIEventService','getOwnPropertyDescriptor','xlink:href','_unitOnClients','then','_notificationService','white','RemoveColCommandId','_labelPosition','collab-rect-range-','INTERNAL_ERROR','currentTheme$','runId','colorChannel1','_updateCollabCursors','column','getActiveSheet','enableLocalCache','FETCH_MISS','permission.title','onPointerEnter$','_collabCursorState$','LocaleService','concat','BrowserCollaborationSocketService','row','useRef','_urlService','UniverEngineRender','CollaborationUIEventId','_scheduleClearOtherTimer','_hover','entries','UniverDrawing','Error','OnLineIcon','OFFLINE','sessionStatus$','_handleLeaveEvent','jsx','forwardRef','Vector2','_drawAnchor','APPLY_NON_SEQUENTIAL_REVISION','_drawTextRange','_transformService','mutations','DisposableCollection','_textBubble','Unknown\x20user','CollaborationSessionService','roomMembers$','APPLY_PERMISSION_DENIED','event$','lineTo','font','getMemberID','UniverSheets','div','body','throttleTime','save','Failed','0\x200\x2017\x2016','rxjs/operators','_localeService','defineProperty','_docTransformIMECacheService','UniverRpc','purple.300','unitID','_document','status$','init','from','RichTextEditingMutation','combineLatest','newValue','7320872PEOdIU','_docSyncEditingCollabCursorService','filter','makeDirty','on-line-icon_clip0_910_349','@univerjs/core','connectInjector','ILogService','IRemoteInstanceService','_handleEvent','Rectangle','flatMap','CLOSE_ROOM','SessionStatus','_initEvent','_getSheetObject','WebBrowserSingleActiveUnitService','UNIVER_SHEET','getUnitId','6060PzjZQn','@univerjs/network','entityInit$','ITransformService','setParam','_context','NodePositionConvertToRectRange','MUTATION','getColorFromTheme','DOC_RANGE_TYPE','url(#off-line-icon_clip0_910_343)','isArray','selections','session.collaboration-timeout','_initCommandExecutedListener','DocStateChangeManagerService','url(#on-line-icon_clip0_910_349)','RxDisposable','_clearOtherTimers','on-line-icon','YUUMI_ALL_TABLES_IS_INVALID','INVALID_INVITE_CODE','_beforeCloseService','[CollaborationDataLoaderController]','some','collab-text-range-','fillStyle','_entityInit$','registerRefRange','APPLY_DUPLICATED','data','APPLY_REJECT','complete','YUUMI_RATE_OVER_LIMIT','transform','1957315IbqPZE','LOGIN_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','getTypeOfUnitAdded$','_onCursorDelete','replaceState','_registerRenderDependencies','TEXT_RANGE_LAYER_INDEX','type','history','_initDependencies','Inject','INVALID_ARGUMENT','_cursors','registerRenderModule','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_shapes','_startDocCollabCursor','IDocClipboardService','object','textRanges','getViewport','collabCursorState$','extend','_getSaveTimeout','set','mergeOverrideWithDependencies','BehaviorSubject','AWAITING_WITH_PENDING','toDisposable','takeUntil','hasOwnProperty','SOCKET_FAILED_RETRY','_syncEditingCollabCursorService','collabStatus.syncing','_id','_initStatusListener','_transformUndoRedoStack','OffLineIcon','getStateCache','imageSourceType','_transformHistoryAndStateStack','asObservable','drawWith','_anchor','MoveRangeCommandId','unsubscribe','code','AWAITING','_removeCollabCursors','off-line-icon','debug','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','HEADER_MENU','INVITE_CODE_HAS_BEEN_UES','delete','INotificationService','unitId','key','YUUMI_UNABLE_LOAD_URL','roomMembers','IUniverInstanceService','random','handleIRemoveRow','React','executeCommand','_getMergeRange','isTransformMutationsWithChangesetSuccess','getUnhiddenWorksheets','unload','fillText','_color','_logService','UPDATE_CURSOR','_instanceService','WebURLService','setItem','UniverCollaborationClientPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getColor','UniverDocsUi','getRangePointData','ILocalCacheService','CONFLICT','_uiPartsService','_startSheetCollabCursor','DocCollaborationEntity','_configService','MemberService','_draw','fill','trim','prototype','clsx','react','sheetId','top','defIds','_memberService','SheetSkeletonManagerService','_initEntityListener','transformByState','permission.content','collaboration.single-unit.warning','handleInsertRow','12664xQiEhI','sessionTicket','_lastPointer','getFocusedUnit','round','@univerjs/ui','USERS_LEAVE','_dataLoaderService','Module','_saveCache','_saveTaskMap','NOT_FOUND','memberID','_colorAssignService','push','MessageType','handleDeleteRangeMoveLeft','getOffsetConfig','subscribe','amd','getSheetBySheetId','origin','_imageIoService','@univerjs/drawing','_cursorShapes','path','getCurrentUnitForType','ColorKit','_getScale','rgba(255,\x20255,\x20255,\x200.01)','_doCreateSocket','@univerjs/sheets','univer-flex\x20univer-items-center','CollaborationUIEventService','replaceDocRanges','color','DesktopCollaborationStatusDisplayController','function','setShapeProps','addObjects','Tooltip','none','addHandlerCallback','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getCoordByCell','RemoteUniscriptService','transformStateCache','with','forEach','isActive','current','SetSelectionsOperation','location','stringify','off-line-icon_clip0_910_343','ranges','addObject','m1Prime','triggerDblclick','setConfig','_renderManagerService','runRefRangeMutations','syncEditingCollabCursor','moveTo','collabStatus.fetchMiss','getConfig','getMember','HTTPService','startRow','react/jsx-runtime','ICommandService','_docSkeleton','size','debounce','_registerDependencies','isEditing','_docSkeletonManagerService','_initStatusComponent','green.600','assignAColorForMemberID','debounceTime','36HtMVMQ','propertyIsEnumerable','disposeWithMe','SUBMIT_CHANGESET_TIMEOUT','saveTaskMap','_collabSessionService','registerDependencies','startsWith','findNodePositionByCharIndex','translate(.97)','@univerjs/design','_refRangeService','endColumn','assign','getCollabCursors$','reconnect','createInstance','selection','startColumn','DocSelectionManagerService','_anchorDot','INVITE_CODE_REQUIRED','getDocRanges','unit','YUUMI_NO_CUBOID_FOR_QUESTION','UniverInstanceType','Optional','7cNAqJC','_setupSubUnitSync','@univerjs/sheets-ui','values','height','transformIMECache','INVITE_CODE_ALREADY_BOUND','merge','_send','_entities','_sheetSkeletonManagerService','name','_scheduleSaving','string','call','UniverDesign','_docTransformStateCacheService','_init','_onCursorUpdate','_scene','157288szRyKJ','SetWorksheetActivateCommand','InsertRangeMoveDownCommandId','arc','clearTimeout','onRendered','exports','_docTransformSelectionsService','univer-flex\x20univer-mr-2\x20univer-text-xl','_updateSubUnitFromURLParams','split','_config','onLocalMutation','rxjs','NOT_COLLAB','TOO_MANY_REQUESTS','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','toRgbString','_commandService','PENDING','USER_NOT_INVITED_CODE','Disposable','source','CollaborationEvent','fillRule','11SYJvVX','dispose','_hideTimer','_univerInstanceService','requireSession','DocIMEInputManagerService','YUUMI_ASYNCIO_CANCELLED','clipPath','LOCAL_CACHE_INTERVAL','onCommandExecuted','3tvHvEJ','disableLocalCache','fromEventSubject','onMouseMove','CollaborationStatus','_handleHeartbeatEvent','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/docs','fromEvent','COLORS','onPointerMove$','subscribeEvent','88qgqrSi','_status$','_disabled','attrs','createIdentifier','PERMISSION_DENIED','SetDocZoomRatioOperation','handleInsertRangeMoveRight','pipe','exhaustSavingTask','length','UniverIcon','getUndoRedoMutationParamsCache','WebSocketService','restore','onStarting','YUUMI_SUBSCRIPTION_NOT_FOUND','setActiveRange','collab-client.tooltip.reconnect','EffectRefRangId','tag','_refreshCollabCursors','UNDEFINED','setStateCache','_scheduleHeartbeat','serializeRangeWithSheet','invokeId','ThemeService','switchMap','Plugin','isTransformMutationFailure','blue.400','next','handleMoveRange','collaboration.closeRoom'];_0x19af=function(){return _0x511dd8;};return _0x19af();}(function(_0x4dd702,_0x2fd4c1){const _0x3bfc5f=_0x37bd,_0x105373=_0x4dd702();while(!![]){try{const _0x25917e=parseInt(_0x3bfc5f(0x194))/0x1*(-parseInt(_0x3bfc5f(0x29c))/0x2)+parseInt(_0x3bfc5f(0x19e))/0x3*(-parseInt(_0x3bfc5f(0xfa))/0x4)+-parseInt(_0x3bfc5f(0x325))/0x5+parseInt(_0x3bfc5f(0x29d))/0x6*(parseInt(_0x3bfc5f(0x166))/0x7)+parseInt(_0x3bfc5f(0x17a))/0x8*(-parseInt(_0x3bfc5f(0x14b))/0x9)+parseInt(_0x3bfc5f(0x302))/0xa*(parseInt(_0x3bfc5f(0x1aa))/0xb)+-parseInt(_0x3bfc5f(0x253))/0xc*(-parseInt(_0x3bfc5f(0x2ef))/0xd);if(_0x25917e===_0x2fd4c1)break;else _0x105373['push'](_0x105373['shift']());}catch(_0x56021c){_0x105373['push'](_0x105373['shift']());}}}(_0x19af,0x41772),function(_0x10cb43,_0x230337){const _0x58da76=_0x37bd;typeof exports==_0x58da76(0x339)&&typeof module<'u'?_0x230337(exports,require('@univerjs-pro/collaboration-client'),require(_0x58da76(0x2f4)),require(_0x58da76(0x222)),require(_0x58da76(0x303)),require(_0x58da76(0x20d)),require(_0x58da76(0x111)),require(_0x58da76(0x187)),require(_0x58da76(0x1a5)),require('@univerjs-pro/collaboration'),require(_0x58da76(0x1fc)),require(_0x58da76(0x119)),require(_0x58da76(0x2e1)),require(_0x58da76(0x168)),require(_0x58da76(0x13f)),require(_0x58da76(0xff)),require(_0x58da76(0x155)),require(_0x58da76(0xef)),require(_0x58da76(0x292))):typeof define==_0x58da76(0x11f)&&define[_0x58da76(0x10d)]?define([_0x58da76(0x180),_0x58da76(0x27b),'@univerjs/core',_0x58da76(0x222),_0x58da76(0x303),_0x58da76(0x20d),'@univerjs/drawing',_0x58da76(0x187),'@univerjs/docs',_0x58da76(0x202),_0x58da76(0x1fc),_0x58da76(0x119),'rxjs/operators',_0x58da76(0x168),_0x58da76(0x13f),_0x58da76(0xff),'@univerjs/design',_0x58da76(0xef),_0x58da76(0x292)],_0x230337):(_0x10cb43=typeof globalThis<'u'?globalThis:_0x10cb43||self,_0x230337(_0x10cb43[_0x58da76(0x295)]={},_0x10cb43['UniverProCollaborationClient'],_0x10cb43[_0x58da76(0x299)],_0x10cb43[_0x58da76(0x2bd)],_0x10cb43[_0x58da76(0x229)],_0x10cb43[_0x58da76(0xe1)],_0x10cb43[_0x58da76(0x2c2)],_0x10cb43[_0x58da76(0x187)],_0x10cb43['UniverDocs'],_0x10cb43[_0x58da76(0x26e)],_0x10cb43[_0x58da76(0x290)],_0x10cb43[_0x58da76(0x2da)],_0x10cb43[_0x58da76(0x187)][_0x58da76(0x24c)],_0x10cb43['UniverSheetsUi'],_0x10cb43[_0x58da76(0xd1)],_0x10cb43[_0x58da76(0x27d)],_0x10cb43[_0x58da76(0x175)],_0x10cb43[_0x58da76(0xd1)],_0x10cb43[_0x58da76(0x2e5)]));}(this,function(_0x451931,_0x4a1c4e,_0x598862,_0x367549,_0x29c365,_0x1b602f,_0x3cc683,_0x48488c,_0x1b1e93,_0x3d2f4f,_0x5d72cf,_0x5d62d4,_0x3485a0,_0x18a858,_0x1c5269,_0x2767d2,_0x5e78af,_0xc8a5b1,_0x32186f){'use strict';const _0x32ae99=_0x37bd;var _0x27667a=Object[_0x32ae99(0x2e3)],_0x4ad145=(_0x182f50,_0x557c9f,_0x5f1ce9)=>_0x557c9f in _0x182f50?_0x27667a(_0x182f50,_0x557c9f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f1ce9}):_0x182f50[_0x557c9f]=_0x5f1ce9,_0x4c36ff=(_0x6b172,_0x4a6494,_0x25d4f8)=>_0x4ad145(_0x6b172,typeof _0x4a6494!=_0x32ae99(0x257)?_0x4a6494+'':_0x4a6494,_0x25d4f8),_0x8675e4=Object[_0x32ae99(0x2a2)],_0x5d0970=(_0x6b1670,_0x29c7fc,_0x2837f2,_0x261723)=>{const _0x35fd38=_0x32ae99;for(var _0x37b2c2=_0x261723>0x1?void 0x0:_0x261723?_0x8675e4(_0x29c7fc,_0x2837f2):_0x29c7fc,_0x276f66=_0x6b1670[_0x35fd38(0x1b4)]-0x1,_0x4d6a41;_0x276f66>=0x0;_0x276f66--)(_0x4d6a41=_0x6b1670[_0x276f66])&&(_0x37b2c2=_0x4d6a41(_0x37b2c2)||_0x37b2c2);return _0x37b2c2;},_0x2cc344=(_0x3420d1,_0x4320f5)=>(_0x2a7974,_0x41c605)=>_0x4320f5(_0x2a7974,_0x41c605,_0x3420d1);let _0x459f92=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x2ef133,_0x2885fe){const _0x348694=_0x32ae99;super(),this[_0x348694(0x245)]=_0x2ef133,this[_0x348694(0x110)]=_0x2885fe,this[_0x348694(0x177)]();}[_0x32ae99(0x177)](){const _0x2be005=_0x32ae99,_0x40c73e=this;this[_0x2be005(0x14d)](this[_0x2be005(0x245)][_0x2be005(0x212)]({'onBeforePasteImage':async _0x552ee4=>{const _0x2c4520=_0x2be005,_0x3ec27f=await _0x40c73e[_0x2c4520(0x110)]['saveImage'](_0x552ee4);return _0x3ec27f?{'source':_0x3ec27f[_0x2c4520(0x191)],'imageSourceType':_0x3ec27f[_0x2c4520(0x34e)]}:null;}}));}};_0x459f92=_0x5d0970([_0x2cc344(0x0,_0x1b602f[_0x32ae99(0x338)]),_0x2cc344(0x1,_0x3cc683[_0x32ae99(0x1f8)])],_0x459f92);const _0x533ad4=[_0x32ae99(0x2e6),'jiqing.500',_0x32ae99(0x148),'red.300',_0x32ae99(0x1c9),_0x32ae99(0x201)];class _0x1ab617 extends _0x598862[_0x32ae99(0x190)]{constructor(){super(...arguments),_0x4c36ff(this,'_assignedColors',new Map()),_0x4c36ff(this,'_colorIndex',0x0);}[_0x32ae99(0x149)](_0x36e8b6){const _0x2fb8cf=_0x32ae99;if(this[_0x2fb8cf(0x225)][_0x2fb8cf(0x243)](_0x36e8b6))return this['_assignedColors'][_0x2fb8cf(0x256)](_0x36e8b6);const _0x165a78=_0x533ad4[this[_0x2fb8cf(0x272)]];return this[_0x2fb8cf(0x272)]=(this['_colorIndex']+0x1)%_0x533ad4['length'],this[_0x2fb8cf(0x225)][_0x2fb8cf(0x33f)](_0x36e8b6,_0x165a78),_0x165a78;}}function _0x526d81(_0x123b93){const _0x56be83=_0x32ae99;let _0x28539a='';for(const _0x2c4f9a of _0x123b93){const {startOffset:_0x5cd427,endOffset:_0x187ef4,isActive:_0x7cff8f,rangeType:_0x1bf184,segmentId:_0x56e234,segmentPage:_0x487d42}=_0x2c4f9a;_0x28539a[_0x56be83(0x1b4)]&&(_0x28539a+=','),_0x28539a+=_0x5cd427+':'+_0x187ef4+':'+(_0x7cff8f?'1':'0')+':'+_0x1bf184+':'+_0x56e234+':'+_0x487d42;}return _0x28539a;}function _0x552ad5(_0x592c2b){const _0x983241=_0x32ae99,_0x3b3dc6=_0x592c2b['split'](','),_0x41351a=[];for(const _0x173583 of _0x3b3dc6){const [_0x3ddf32,_0x353c5c,_0x5b913a,_0x24f232,_0x4fdf5d,_0xc0c7ae]=_0x173583[_0x983241(0x184)](':');_0x41351a['push']({'startOffset':Number(_0x3ddf32),'endOffset':Number(_0x353c5c),'collapsed':_0x3ddf32===_0x353c5c,'isActive':_0x5b913a==='1','rangeType':_0x24f232===_0x598862['DOC_RANGE_TYPE'][_0x983241(0x235)]?_0x598862[_0x983241(0x30b)][_0x983241(0x235)]:_0x598862[_0x983241(0x30b)][_0x983241(0x1f9)],'segmentId':typeof _0x4fdf5d==_0x983241(0x173)?String(_0x4fdf5d):'','segmentPage':Number(_0xc0c7ae!=null?_0xc0c7ae:-0x1)});}return _0x41351a[_0x983241(0x31a)](_0x4ba954=>_0x4ba954[_0x983241(0x12b)])||(_0x41351a[0x0][_0x983241(0x12b)]=!0x0),_0x41351a;}class _0x372583 extends _0x598862['RxDisposable']{constructor(){const _0x2b4bd0=_0x32ae99;super(...arguments),_0x4c36ff(this,_0x2b4bd0(0x2b6),new _0x48488c[(_0x2b4bd0(0x341))](null)),_0x4c36ff(this,_0x2b4bd0(0x33c),this[_0x2b4bd0(0x2b6)][_0x2b4bd0(0xbb)]());}[_0x32ae99(0x138)](_0x56cfa6){const _0x51e08f=_0x32ae99,{unitID:_0xe6fe64,memberID:_0x40b4ff,textRanges:_0x467e11}=_0x56cfa6,_0x1ea547=_0x526d81(_0x467e11);if(_0x1ea547==='')return;const _0x5ec066={'unitID':_0xe6fe64,'memberID':_0x40b4ff,'selection':_0x1ea547};this['_collabCursorState$'][_0x51e08f(0x1ca)](_0x5ec066);}}var _0x558937=Object[_0x32ae99(0x2a2)],_0x1a3572=(_0x31d26b,_0x3cb31a,_0x33125b,_0x4d6747)=>{const _0x53945b=_0x32ae99;for(var _0x1c9306=_0x4d6747>0x1?void 0x0:_0x4d6747?_0x558937(_0x3cb31a,_0x33125b):_0x3cb31a,_0x6c7baa=_0x31d26b[_0x53945b(0x1b4)]-0x1,_0x2d2f20;_0x6c7baa>=0x0;_0x6c7baa--)(_0x2d2f20=_0x31d26b[_0x6c7baa])&&(_0x1c9306=_0x2d2f20(_0x1c9306)||_0x1c9306);return _0x1c9306;},_0x5271eb=(_0x3d5e2c,_0x3a4006)=>(_0x4d2eff,_0x1d20ec)=>_0x3a4006(_0x4d2eff,_0x1d20ec,_0x3d5e2c);const _0x59ef8e=0x12c,_0x3c7867=0x64;let _0x54c971=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x46bd6d,_0x2bd951,_0x14f158,_0x514970,_0xef2d84,_0x4daa5c,_0x488a43,_0x511900,_0x4a2079){const _0x52f455=_0x32ae99;super(),_0x4c36ff(this,_0x52f455(0x23a),!0x1),_0x4c36ff(this,_0x52f455(0x177),!0x1),_0x4c36ff(this,'_cursorInfo$',new _0x48488c[(_0x52f455(0x341))](new Map())),_0x4c36ff(this,_0x52f455(0x26a),this[_0x52f455(0x26f)]['asObservable']()),_0x4c36ff(this,_0x52f455(0x267),new _0x48488c[(_0x52f455(0x341))]([])),_0x4c36ff(this,_0x52f455(0x2d4),this[_0x52f455(0x267)]['pipe'](_0x48488c['debounceTime'](_0x59ef8e))),_0x4c36ff(this,_0x52f455(0x249),_0x598862['debounce'](_0x5368b8=>{const _0x502cef=_0x52f455,_0x227067={'eventID':_0x3d2f4f[_0x502cef(0x192)][_0x502cef(0xda)],'data':{'unitID':this[_0x502cef(0x2e7)],'memberID':this[_0x502cef(0x248)][_0x502cef(0x2d9)](),'selection':_0x526d81(_0x5368b8)}};this[_0x502cef(0x248)]['send'](_0x227067,this[_0x502cef(0x2e7)]);},_0x3c7867)),(this['unitID']=_0x46bd6d,this[_0x52f455(0x248)]=_0x2bd951,this[_0x52f455(0x265)]=_0x14f158,this[_0x52f455(0x107)]=_0x514970,this[_0x52f455(0xf3)]=_0xef2d84,this[_0x52f455(0x347)]=_0x4daa5c,this[_0x52f455(0x2ce)]=_0x488a43,this[_0x52f455(0x197)]=_0x511900,this[_0x52f455(0x18d)]=_0x4a2079);}get[_0x32ae99(0x1ea)](){const _0x142654=_0x32ae99;return this[_0x142654(0x26f)][_0x142654(0x231)]();}get[_0x32ae99(0xcd)](){const _0x2bc250=_0x32ae99;return this[_0x2bc250(0x267)]['getValue']();}['dispose'](){const _0xba50dc=_0x32ae99;super[_0xba50dc(0x195)](),this['_cursorInfo$'][_0xba50dc(0x1ca)](new Map()),this[_0xba50dc(0x26f)]['complete'](),this['_roomMembers$']['next']([]),this[_0xba50dc(0x267)]['complete']();}[_0x32ae99(0x2ea)](){const _0x252393=_0x32ae99;this[_0x252393(0x177)]||(this[_0x252393(0x177)]=!0x0,this['_session'][_0x252393(0x2c6)][_0x252393(0x1b2)](_0x48488c[_0x252393(0x344)](this[_0x252393(0x21d)]))[_0x252393(0x10c)](_0x4411e4=>{const _0x4d1e09=_0x252393;_0x4411e4===_0x4a1c4e[_0x4d1e09(0x2fc)]['ONLINE']?this[_0x4d1e09(0x27a)]():this[_0x4d1e09(0x246)]();}),this[_0x252393(0x248)][_0x252393(0x2d6)][_0x252393(0x1b2)](_0x48488c[_0x252393(0x344)](this['dispose$']))[_0x252393(0x10c)](_0x585174=>{const _0x445143=_0x252393,_0x5433af=_0x585174['eventID'];_0x5433af===_0x3d2f4f[_0x445143(0x192)][_0x445143(0xda)]&&this[_0x445143(0x178)](_0x585174),_0x5433af===_0x3d2f4f[_0x445143(0x192)]['USERS_LEAVE']&&this[_0x445143(0x32a)](_0x585174);}),this['disposeWithMe'](this['_commandService'][_0x252393(0x19d)](_0x1969c1=>{const _0x4e7b88=_0x252393,_0x21068f=_0x1969c1[_0x4e7b88(0x1f7)];_0x21068f!=null&&this['_online']&&_0x1969c1['id']===_0x1b1e93[_0x4e7b88(0x266)]['id']&&_0x21068f[_0x4e7b88(0xca)]===this[_0x4e7b88(0x2e7)]&&_0x21068f[_0x4e7b88(0x145)]===!0x1&&_0x21068f[_0x4e7b88(0x131)][_0x4e7b88(0x1b4)]>0x0&&this['_updateLocalCursor'](_0x21068f[_0x4e7b88(0x131)]);})),this[_0x252393(0x347)][_0x252393(0x33c)][_0x252393(0x1b2)](_0x48488c[_0x252393(0x344)](this['dispose$']))[_0x252393(0x10c)](_0x1f9860=>{const _0x48e294=_0x252393;if((_0x1f9860==null?void 0x0:_0x1f9860[_0x48e294(0x2e7)])!==this['unitID'])return;const _0x3afade={'eventID':_0x3d2f4f[_0x48e294(0x192)]['UPDATE_CURSOR'],'data':_0x1f9860};this[_0x48e294(0x178)](_0x3afade);}),this['disposeWithMe'](this[_0x252393(0x18d)][_0x252393(0x19d)](_0x26d84f=>{const _0x5ac35a=_0x252393;if(_0x26d84f[_0x5ac35a(0x1f7)]==null)return;const _0x3d096a=_0x26d84f['params'];if(_0x26d84f['id']!==_0x1b1e93[_0x5ac35a(0x2ec)]['id']||_0x3d096a['unitId']!==this[_0x5ac35a(0x2e7)])return;const _0x46f1a8={'id':_0x5ac35a(0x252),'params':_0x3d096a},_0x545f2a=this[_0x5ac35a(0x1ea)];for(const [_0x30b152,_0x4b5969]of _0x545f2a){const _0x49f157={'id':_0x5ac35a(0x252),'params':{'unitId':this[_0x5ac35a(0x2e7)],'actions':null,'textRanges':_0x4b5969[_0x5ac35a(0x131)]}},_0x3ed2ca=this['_transformService'][_0x5ac35a(0x244)](_0x46f1a8,_0x49f157,!0x1);if(_0x3d2f4f[_0x5ac35a(0x1c8)](_0x3ed2ca))throw _0x3ed2ca[_0x5ac35a(0x24b)];_0x545f2a[_0x5ac35a(0x33f)](_0x30b152,{..._0x4b5969,'ranges':_0x3ed2ca[_0x5ac35a(0x26c)][_0x5ac35a(0x1f7)][_0x5ac35a(0x33a)]});}queueMicrotask(()=>{const _0x3059c1=_0x5ac35a;this[_0x3059c1(0x26f)][_0x3059c1(0x1ca)](_0x545f2a);});})));}[_0x32ae99(0x178)](_0x2cdd5d){const _0x1b3441=_0x32ae99;var _0x53efa0,_0x11e0c7;const {memberID:_0x101333,selection:_0x36b67c}=_0x2cdd5d[_0x1b3441(0x320)],_0x1d2d9d=_0x552ad5(_0x36b67c),_0x1109c4=(_0x11e0c7=(_0x53efa0=this['_memberService'][_0x1b3441(0x13c)](this['unitID'],_0x101333))==null?void 0x0:_0x53efa0['name'])!=null?_0x11e0c7:'Unknown\x20user',_0x404190={'color':this[_0x1b3441(0x107)][_0x1b3441(0x149)](_0x101333),'name':_0x1109c4,'ranges':_0x1d2d9d},_0x5d464b=this[_0x1b3441(0x1ea)];_0x5d464b[_0x1b3441(0x33f)](_0x101333,_0x404190),this[_0x1b3441(0x26f)][_0x1b3441(0x1ca)](_0x5d464b);}['_onCursorDelete'](_0x1d24da){const _0x547a6a=_0x32ae99,{memberID:_0x4ba186}=_0x1d24da[_0x547a6a(0x320)],_0x2c3aa6=this[_0x547a6a(0x1ea)];_0x2c3aa6[_0x547a6a(0xc8)](_0x4ba186),this['_cursorInfo$'][_0x547a6a(0x1ca)](_0x2c3aa6);}[_0x32ae99(0x27a)](){const _0x205780=_0x32ae99;var _0x2713d8;if(this['_online']=!0x0,((_0x2713d8=this[_0x205780(0x197)][_0x205780(0xfd)]())==null?void 0x0:_0x2713d8[_0x205780(0x301)]())!==this[_0x205780(0x2e7)])return;const _0x4e4d90=this[_0x205780(0x265)]['get'](_0x1b1e93[_0x205780(0x15e)])['getDocRanges']();Array['isArray'](_0x4e4d90)&&_0x4e4d90[_0x205780(0x1b4)]>0x0&&this[_0x205780(0x249)](_0x4e4d90);}[_0x32ae99(0x246)](){const _0x42744a=_0x32ae99;this[_0x42744a(0x23a)]=!0x1;}};_0x54c971=_0x1a3572([_0x5271eb(0x2,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x5271eb(0x3,_0x598862[_0x32ae99(0x331)](_0x1ab617)),_0x5271eb(0x4,_0x598862[_0x32ae99(0x331)](_0x4a1c4e['MemberService'])),_0x5271eb(0x5,_0x598862[_0x32ae99(0x331)](_0x372583)),_0x5271eb(0x6,_0x3d2f4f[_0x32ae99(0x305)]),_0x5271eb(0x7,_0x598862[_0x32ae99(0xce)]),_0x5271eb(0x8,_0x598862[_0x32ae99(0x140)])],_0x54c971);var _0x21dbc0=Object['getOwnPropertyDescriptor'],_0x341838=(_0x409a2c,_0x31dfba,_0x5eb4e9,_0x4522c2)=>{const _0x12e679=_0x32ae99;for(var _0x1991da=_0x4522c2>0x1?void 0x0:_0x4522c2?_0x21dbc0(_0x31dfba,_0x5eb4e9):_0x31dfba,_0x3bddb2=_0x409a2c[_0x12e679(0x1b4)]-0x1,_0x35963d;_0x3bddb2>=0x0;_0x3bddb2--)(_0x35963d=_0x409a2c[_0x3bddb2])&&(_0x1991da=_0x35963d(_0x1991da)||_0x1991da);return _0x1991da;},_0x3cba53=(_0xf927cb,_0x39c5d8)=>(_0x51e83e,_0x324683)=>_0x39c5d8(_0x51e83e,_0x324683,_0xf927cb);const _0x3bff8d=0x12c,_0x298e1f=0x64,_0x98232b=()=>{let _0x295478=[],_0x1d1b06=!0x1;return _0x3d904a=>{const _0x4cd96f=_0x37bd;_0x295478[_0x4cd96f(0x108)](_0x3d904a),_0x1d1b06||(_0x1d1b06=!0x0,setTimeout(()=>{_0x295478['forEach'](_0x24ce98=>_0x24ce98()),_0x295478=[],_0x1d1b06=!0x1;}));};};let _0x2abedc=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x5b5b01,_0x2b024b,_0x4f262a,_0x27ba69,_0x52e0b3,_0x3b7265,_0x4a8c60,_0x48380f){const _0x51c734=_0x32ae99;super(),_0x4c36ff(this,_0x51c734(0x23a),!0x1),_0x4c36ff(this,'_init',!0x1),_0x4c36ff(this,_0x51c734(0x26f),new _0x48488c[(_0x51c734(0x341))](new Map())),_0x4c36ff(this,'cursorInfo$',this[_0x51c734(0x26f)]['asObservable']()),_0x4c36ff(this,_0x51c734(0x267),new _0x48488c['BehaviorSubject']([])),_0x4c36ff(this,_0x51c734(0x2d4),this[_0x51c734(0x267)][_0x51c734(0x1b2)](_0x48488c[_0x51c734(0x14a)](_0x3bff8d))),_0x4c36ff(this,'_updateLocalCursor',_0x598862[_0x51c734(0x143)]((_0x3265b0,_0x243221)=>{const _0x5bdcb8=_0x51c734,_0x157438={'eventID':_0x3d2f4f[_0x5bdcb8(0x192)][_0x5bdcb8(0xda)],'data':{'unitID':this[_0x5bdcb8(0x2e7)],'memberID':this['_session'][_0x5bdcb8(0x2d9)](),'selection':_0x5d72cf[_0x5bdcb8(0x1c3)](_0x3265b0,_0x243221['range'])}};this[_0x5bdcb8(0x248)][_0x5bdcb8(0x241)](_0x157438,this[_0x5bdcb8(0x2e7)]);},_0x298e1f)),(this[_0x51c734(0x2e7)]=_0x5b5b01,this['_session']=_0x2b024b,this[_0x51c734(0x265)]=_0x4f262a,this[_0x51c734(0x107)]=_0x27ba69,this[_0x51c734(0xf3)]=_0x52e0b3,this['_univerInstanceService']=_0x3b7265,this[_0x51c734(0x18d)]=_0x4a8c60,this[_0x51c734(0x156)]=_0x48380f);}get[_0x32ae99(0x1ea)](){const _0x4491e0=_0x32ae99;return this[_0x4491e0(0x26f)][_0x4491e0(0x231)]();}get[_0x32ae99(0xcd)](){const _0x84331d=_0x32ae99;return this[_0x84331d(0x267)][_0x84331d(0x231)]();}['dispose'](){const _0x351547=_0x32ae99;super['dispose'](),this[_0x351547(0x26f)][_0x351547(0x1ca)](new Map()),this[_0x351547(0x26f)][_0x351547(0x322)](),this['_roomMembers$']['next']([]),this[_0x351547(0x267)][_0x351547(0x322)]();}[_0x32ae99(0x2ea)](){const _0x55a62a=_0x32ae99;this[_0x55a62a(0x177)]||(this[_0x55a62a(0x177)]=!0x0,this[_0x55a62a(0x248)][_0x55a62a(0x2c6)][_0x55a62a(0x1b2)](_0x48488c[_0x55a62a(0x344)](this[_0x55a62a(0x21d)]))[_0x55a62a(0x10c)](_0x3e855d=>{const _0x4c0bac=_0x55a62a;_0x3e855d===_0x4a1c4e[_0x4c0bac(0x2fc)]['ONLINE']?this[_0x4c0bac(0x27a)]():this[_0x4c0bac(0x246)]();}),this[_0x55a62a(0x248)][_0x55a62a(0x2d6)][_0x55a62a(0x1b2)](_0x48488c[_0x55a62a(0x344)](this[_0x55a62a(0x21d)]))[_0x55a62a(0x10c)](_0x4b77ad=>{const _0x4a6c47=_0x55a62a,_0x44e49c=_0x4b77ad['eventID'];_0x44e49c===_0x3d2f4f[_0x4a6c47(0x192)][_0x4a6c47(0xda)]&&this[_0x4a6c47(0x178)](_0x4b77ad),_0x44e49c===_0x3d2f4f[_0x4a6c47(0x192)][_0x4a6c47(0x100)]&&this[_0x4a6c47(0x32a)](_0x4b77ad);}),this[_0x55a62a(0x214)](),this[_0x55a62a(0x14d)](this['_commandService']['onCommandExecuted'](_0xab78bf=>{const _0xb84ddd=_0x55a62a;if(this[_0xb84ddd(0x23a)]&&_0xab78bf['id']===_0x5d62d4[_0xb84ddd(0x12d)]['id']&&_0xab78bf[_0xb84ddd(0x1f7)][_0xb84ddd(0xca)]===this['unitID']){const _0x7fd57e=_0xab78bf[_0xb84ddd(0x1f7)];this[_0xb84ddd(0x249)](_0x7fd57e['subUnitId'],_0x7fd57e[_0xb84ddd(0x30e)][0x0]);}})));}[_0x32ae99(0x178)](_0x4b813d){const _0x36a934=_0x32ae99;var _0x591009,_0x1fee13;const {memberID:_0x145cc4,selection:_0x1d85ab}=_0x4b813d[_0x36a934(0x320)],{sheetName:_0x81de5c,range:_0xbc581a}=_0x5d72cf[_0x36a934(0x28c)](_0x1d85ab),_0x52c1c0={'name':(_0x1fee13=(_0x591009=this['_memberService'][_0x36a934(0x13c)](this[_0x36a934(0x2e7)],_0x145cc4))==null?void 0x0:_0x591009[_0x36a934(0x171)])!=null?_0x1fee13:_0x36a934(0x2d2),'range':this[_0x36a934(0xd3)](_0x81de5c,_0xbc581a),'sheetID':_0x81de5c,'color':this[_0x36a934(0x107)][_0x36a934(0x149)](_0x145cc4),'selection':_0x1d85ab},_0x578ec6=this[_0x36a934(0x1ea)];_0x578ec6['set'](_0x145cc4,_0x52c1c0),this[_0x36a934(0x26f)]['next'](_0x578ec6);}[_0x32ae99(0x32a)](_0x29601d){const _0x22c7fb=_0x32ae99,{memberID:_0x3e7eb8}=_0x29601d['data'],_0x419c85=this[_0x22c7fb(0x1ea)];_0x419c85['delete'](_0x3e7eb8),this[_0x22c7fb(0x26f)]['next'](_0x419c85);}[_0x32ae99(0xd3)](_0x3b3354,_0x49840d){const _0x31f45e=_0x32ae99;var _0x54ce5e,_0xe6940e;const _0x56e761=(_0xe6940e=(_0x54ce5e=this['_univerInstanceService'][_0x31f45e(0x264)](this[_0x31f45e(0x2e7)]))==null?void 0x0:_0x54ce5e[_0x31f45e(0x10e)](_0x3b3354))==null?void 0x0:_0xe6940e['getMergeData']();return(_0x56e761==null?void 0x0:_0x56e761['find'](_0x9303a0=>_0x598862[_0x31f45e(0x2f9)][_0x31f45e(0x21f)](_0x9303a0,_0x49840d)))||_0x49840d;}[_0x32ae99(0x214)](){const _0x49078d=_0x32ae99,_0x3bf624=new _0x598862[(_0x49078d(0x2d0))](),_0x93db71=_0x98232b(),_0xfdc1ad=()=>{const _0x2830aa=_0x49078d;_0x3bf624['dispose']();const _0x41c70b=(_0xf5c6c6,_0x5f056a,_0x1f3f85,_0x55b2b1)=>{const _0x24d963=_0x37bd;let _0x499e3c=[];switch(_0xf5c6c6['id']){case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x294)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x10a)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x1d9)]:{_0x499e3c=_0x5d62d4['handleDeleteRangeMoveUp'](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4['EffectRefRangId'][_0x24d963(0x1f3)]:{_0x499e3c=_0x5d62d4['handleInsertCol'](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x17c)]:{_0x499e3c=_0x5d62d4['handleInsertRangeMoveDown'](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4['EffectRefRangId'][_0x24d963(0x21e)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x1b1)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)]['InsertRowCommandId']:{_0x499e3c=_0x5d62d4[_0x24d963(0xf9)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0xbe)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x1cb)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)][_0x24d963(0x2a8)]:{_0x499e3c=_0x5d62d4[_0x24d963(0x239)](_0xf5c6c6,_0x55b2b1);break;}case _0x5d62d4[_0x24d963(0x1bd)]['RemoveRowCommandId']:{_0x499e3c=_0x5d62d4[_0x24d963(0xd0)](_0xf5c6c6,_0x55b2b1);break;}}const _0x303a9d=_0x5d62d4[_0x24d963(0x137)](_0x499e3c,_0x55b2b1),_0x3efa3d=this['cursorInfo'][_0x24d963(0x256)](_0x5f056a);if(_0x3efa3d&&_0x303a9d){const _0x56c5fe={..._0x3efa3d,'range':_0x303a9d};this[_0x24d963(0x1ea)][_0x24d963(0x33f)](_0x5f056a,_0x56c5fe),_0x93db71(()=>{const _0x18a19c=_0x24d963,_0x2f653c=this[_0x18a19c(0x156)]['registerRefRange'](_0x303a9d,_0x42a689=>(_0x2f653c[_0x18a19c(0x195)](),_0x41c70b(_0x42a689,_0x5f056a,_0x1f3f85,_0x303a9d)));_0x3bf624['add'](_0x2f653c);});}return{'redos':[],'undos':[]};};this[_0x2830aa(0x1ea)][_0x2830aa(0x12a)]((_0x332e00,_0x12a070)=>{const _0x3b93aa=_0x2830aa,{range:_0x30a710,sheetID:_0x1aae13}=_0x332e00,_0x597414=this['_refRangeService'][_0x3b93aa(0x31e)](_0x30a710,_0xc0ab1c=>(_0x597414[_0x3b93aa(0x195)](),_0x41c70b(_0xc0ab1c,_0x12a070,_0x1aae13,_0x30a710)));_0x3bf624['add'](_0x597414);});};this[_0x49078d(0x14d)](_0x598862[_0x49078d(0x343)](this[_0x49078d(0x26f)][_0x49078d(0x10c)](()=>{_0xfdc1ad();})));}[_0x32ae99(0x27a)](){const _0x35aa64=_0x32ae99;var _0x5efd1f,_0x46f1dd;if(this['_online']=!0x0,((_0x5efd1f=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5efd1f[_0x35aa64(0x301)]())!==this[_0x35aa64(0x2e7)])return;const _0x177a15=(_0x46f1dd=this['_injector'][_0x35aa64(0x256)](_0x5d62d4['SheetsSelectionsService'])[_0x35aa64(0x213)]())==null?void 0x0:_0x46f1dd[0x0],_0x3cfa86=this['_univerInstanceService'][_0x35aa64(0x114)](_0x598862[_0x35aa64(0x164)][_0x35aa64(0x300)])[_0x35aa64(0x2b1)]();_0x177a15&&_0x3cfa86&&this[_0x35aa64(0x249)](_0x3cfa86[_0x35aa64(0x25e)](),_0x177a15);}['_toggleOffline'](){const _0x5705e8=_0x32ae99;this[_0x5705e8(0x23a)]=!0x1;}};_0x2abedc=_0x341838([_0x3cba53(0x2,_0x598862['Inject'](_0x598862[_0x32ae99(0x261)])),_0x3cba53(0x3,_0x598862['Inject'](_0x1ab617)),_0x3cba53(0x4,_0x598862[_0x32ae99(0x331)](_0x4a1c4e[_0x32ae99(0xe9)])),_0x3cba53(0x5,_0x598862['IUniverInstanceService']),_0x3cba53(0x6,_0x598862['ICommandService']),_0x3cba53(0x7,_0x598862['Inject'](_0x5d62d4['RefRangeService']))],_0x2abedc);var _0xf4e331=Object[_0x32ae99(0x2a2)],_0x13a7c7=(_0x3aacaa,_0x58ea99,_0x3c3d6b,_0x287499)=>{const _0x490af2=_0x32ae99;for(var _0x200899=_0x287499>0x1?void 0x0:_0x287499?_0xf4e331(_0x58ea99,_0x3c3d6b):_0x58ea99,_0x26bfee=_0x3aacaa[_0x490af2(0x1b4)]-0x1,_0x51e70a;_0x26bfee>=0x0;_0x26bfee--)(_0x51e70a=_0x3aacaa[_0x26bfee])&&(_0x200899=_0x51e70a(_0x200899)||_0x200899);return _0x200899;},_0x51c32d=(_0x2ef11d,_0x14e168)=>(_0xb6e51b,_0x5945a8)=>_0x14e168(_0xb6e51b,_0x5945a8,_0x2ef11d);let _0x10d2fa=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x54e432,_0x337387,_0x2be3f5){const _0x52033d=_0x32ae99;super(),_0x4c36ff(this,_0x52033d(0x16f),new Map()),_0x4c36ff(this,'_entityInit$',new _0x48488c['Subject']()),(this['_univerInstanceService']=_0x54e432,this[_0x52033d(0x265)]=_0x337387,this[_0x52033d(0x150)]=_0x2be3f5,this['_init']());}[_0x32ae99(0x195)](){const _0x39e82b=_0x32ae99;super[_0x39e82b(0x195)](),this['_entityInit$'][_0x39e82b(0x322)](),this[_0x39e82b(0x16f)]['forEach'](_0x32ab81=>_0x32ab81[_0x39e82b(0x195)]());}[_0x32ae99(0x159)](_0xc25522){const _0x4ee13b=_0x32ae99;return this['_entities'][_0x4ee13b(0x243)](_0xc25522)?this[_0x4ee13b(0x16f)]['get'](_0xc25522)[_0x4ee13b(0x26a)]:this[_0x4ee13b(0x31d)][_0x4ee13b(0x1b2)](_0x48488c[_0x4ee13b(0x2f1)](_0xaba0d3=>_0xaba0d3[_0x4ee13b(0x2e7)]===_0xc25522),_0x48488c['switchMap'](_0xca78c2=>_0xca78c2[_0x4ee13b(0x26a)]));}[_0x32ae99(0x177)](){const _0x456d9e=_0x32ae99;this['_univerInstanceService'][_0x456d9e(0x329)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x300)])[_0x456d9e(0x1b2)](_0x48488c[_0x456d9e(0x344)](this[_0x456d9e(0x21d)]))[_0x456d9e(0x10c)](async _0x4fd48d=>{const _0x3e41a4=_0x456d9e,_0x582d65=_0x4fd48d['getUnitId'](),_0x5b524a=await this['_startSheetCollabCursor'](_0x582d65);this[_0x3e41a4(0x31d)]['next'](_0x5b524a),this['_entities'][_0x3e41a4(0x33f)](_0x582d65,_0x5b524a);}),this[_0x456d9e(0x197)][_0x456d9e(0x329)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x24d)])[_0x456d9e(0x1b2)](_0x48488c['takeUntil'](this[_0x456d9e(0x21d)]))['pipe'](_0x48488c[_0x456d9e(0x2f1)](_0x39e8a0=>!_0x39e8a0['getUnitId']()[_0x456d9e(0x152)]('__')))[_0x456d9e(0x10c)](async _0x579519=>{const _0x3e44d5=_0x456d9e,_0x7dd1b6=_0x579519[_0x3e44d5(0x301)](),_0x2c7ec2=await this[_0x3e44d5(0x337)](_0x7dd1b6);this[_0x3e44d5(0x31d)][_0x3e44d5(0x1ca)](_0x2c7ec2),this[_0x3e44d5(0x16f)][_0x3e44d5(0x33f)](_0x7dd1b6,_0x2c7ec2);}),_0x48488c[_0x456d9e(0x16d)](this[_0x456d9e(0x197)][_0x456d9e(0x268)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x24d)]),this['_univerInstanceService'][_0x456d9e(0x268)](_0x598862[_0x456d9e(0x164)][_0x456d9e(0x300)]))[_0x456d9e(0x1b2)](_0x48488c[_0x456d9e(0x344)](this[_0x456d9e(0x21d)]))[_0x456d9e(0x10c)](_0x4a15f5=>{const _0x1bc5b3=_0x456d9e,_0x191662=_0x4a15f5[_0x1bc5b3(0x301)](),_0x4a757d=this[_0x1bc5b3(0x16f)][_0x1bc5b3(0x256)](_0x191662);_0x4a757d&&(_0x4a757d[_0x1bc5b3(0x195)](),this['_entities'][_0x1bc5b3(0xc8)](_0x191662));});}async[_0x32ae99(0xe6)](_0x2071bf){const _0x107d5d=_0x32ae99,_0x3292e0=await this[_0x107d5d(0x150)][_0x107d5d(0x198)](_0x2071bf),_0x5d56e6=this[_0x107d5d(0x265)][_0x107d5d(0x15b)](_0x2abedc,_0x2071bf,_0x3292e0);return _0x5d56e6['init'](),_0x5d56e6;}async[_0x32ae99(0x337)](_0x1f9adf){const _0x39a2a2=_0x32ae99,_0x4ee6c2=await this['_collabSessionService']['requireSession'](_0x1f9adf),_0x4ee932=this[_0x39a2a2(0x265)][_0x39a2a2(0x15b)](_0x54c971,_0x1f9adf,_0x4ee6c2);return _0x4ee932[_0x39a2a2(0x2ea)](),_0x4ee932;}};_0x10d2fa=_0x13a7c7([_0x51c32d(0x0,_0x598862['IUniverInstanceService']),_0x51c32d(0x1,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x51c32d(0x2,_0x598862['Inject'](_0x4a1c4e['CollaborationSessionService']))],_0x10d2fa);const _0x50f210=0x14,_0x5288c0=0xc8,_0x464890=0x4,_0x2bccee=0x5;function _0x24f9fb(_0x44eef6,_0x34e000){const _0x535dc9=_0x32ae99;let {radius:_0x2a540a,width:_0x44c5e3,height:_0x503b9c}=_0x34e000;_0x2a540a=_0x2a540a!=null?_0x2a540a:0x0,_0x44c5e3=_0x44c5e3!=null?_0x44c5e3:0x1e,_0x503b9c=_0x503b9c!=null?_0x503b9c:0x1e;let _0xe2e0da=0x0,_0x303824=0x0,_0x1a49e1=0x0;_0xe2e0da=_0x303824=_0x1a49e1=Math[_0x535dc9(0x283)](_0x2a540a,_0x44c5e3/0x2,_0x503b9c/0x2),_0x44eef6[_0x535dc9(0x1eb)](),_0x44eef6[_0x535dc9(0x139)](_0xe2e0da,0x0),_0x44eef6[_0x535dc9(0x2d7)](_0x44c5e3-_0x303824,0x0),_0x44eef6['arc'](_0x44c5e3-_0x303824,_0x303824,_0x303824,Math['PI']*0x3/0x2,0x0,!0x1),_0x44eef6['lineTo'](_0x44c5e3,_0x503b9c-_0x1a49e1),_0x44eef6[_0x535dc9(0x17d)](_0x44c5e3-_0x1a49e1,_0x503b9c-_0x1a49e1,_0x1a49e1,0x0,Math['PI']/0x2,!0x1),_0x44eef6[_0x535dc9(0x2d7)](0x0,_0x503b9c),_0x44eef6['lineTo'](0x0,_0xe2e0da),_0x44eef6[_0x535dc9(0x17d)](_0xe2e0da,_0xe2e0da,_0xe2e0da,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44eef6[_0x535dc9(0x1fd)](),_0x34e000[_0x535dc9(0xeb)]&&(_0x44eef6[_0x535dc9(0x2de)](),_0x44eef6[_0x535dc9(0x31c)]=_0x34e000[_0x535dc9(0xeb)],_0x34e000[_0x535dc9(0x193)]==='evenodd'?_0x44eef6[_0x535dc9(0xeb)]('evenodd'):_0x44eef6[_0x535dc9(0xeb)](),_0x44eef6[_0x535dc9(0x1b8)]());}class _0x2c196a extends _0x367549['Shape']{constructor(_0x47cede,_0x26b3e2){const _0x4b852b=_0x32ae99;super(_0x47cede,_0x26b3e2),_0x4c36ff(this,_0x4b852b(0x11d)),_0x4c36ff(this,_0x4b852b(0x20f)),(this[_0x4b852b(0x11d)]=_0x26b3e2==null?void 0x0:_0x26b3e2[_0x4b852b(0x11d)],this[_0x4b852b(0x20f)]=_0x26b3e2==null?void 0x0:_0x26b3e2['text']);}static[_0x32ae99(0xbc)](_0x227d88,_0x5050ec){const _0x2a70f4=_0x32ae99,{text:_0x52df8a,color:_0x557346}=_0x5050ec;_0x227d88[_0x2a70f4(0x2de)](),_0x227d88[_0x2a70f4(0x2d8)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x187fc6=_0x227d88[_0x2a70f4(0x224)](_0x52df8a)[_0x2a70f4(0x255)],_0x56d9f5=Math[_0x2a70f4(0x283)](_0x187fc6+0x2*_0x464890,_0x5288c0);_0x24f9fb(_0x227d88,{'height':_0x50f210,'radius':0x4,'width':_0x56d9f5,'fill':_0x557346}),_0x227d88[_0x2a70f4(0x31c)]=_0x2a70f4(0x1e1);const _0x1ed3eb=_0x464890,_0x279084=_0x50f210-_0x2bccee,_0x34cdc3=_0x5288c0-0x2*_0x464890;if(_0x187fc6>_0x34cdc3){let _0x5cbad2='',_0x3c534c=0x0;for(const _0xa11a5e of _0x52df8a){const _0x4aac2d=_0x227d88[_0x2a70f4(0x224)](_0xa11a5e)[_0x2a70f4(0x255)];if(_0x3c534c+_0x4aac2d<=_0x34cdc3-_0x227d88['measureText'](_0x2a70f4(0x1d8))[_0x2a70f4(0x255)])_0x5cbad2+=_0xa11a5e,_0x3c534c+=_0x4aac2d;else{_0x5cbad2+=_0x2a70f4(0x1d8);break;}}_0x227d88[_0x2a70f4(0xd7)](_0x5cbad2,_0x1ed3eb,_0x279084);}else _0x227d88[_0x2a70f4(0xd7)](_0x52df8a,_0x1ed3eb,_0x279084);_0x227d88[_0x2a70f4(0x1b8)]();}[_0x32ae99(0xea)](_0x5691a8){const _0x3c6570=_0x32ae99;_0x2c196a[_0x3c6570(0xbc)](_0x5691a8,this);}}const _0x5534bd='collab-text-anchor-',_0x376bb6=_0x32ae99(0x31b),_0x3b7114=_0x32ae99(0x2aa),_0x381298=0x6,_0xe44124=1.5,_0x193ec2=0x4,_0x481beb=1.5,_0xd6eb9b=_0x32ae99(0x117);class _0x5e2e77{constructor(_0x827810,_0x41c929,_0x5288e7,_0x2529cc){const _0x2c261a=_0x32ae99;_0x4c36ff(this,_0x2c261a(0x336),[]),_0x4c36ff(this,_0x2c261a(0xbd),null),_0x4c36ff(this,_0x2c261a(0x2d1),null),_0x4c36ff(this,_0x2c261a(0x15f),null),_0x4c36ff(this,_0x2c261a(0x196),null),_0x4c36ff(this,_0x2c261a(0x270),null),(this[_0x2c261a(0x20c)]=_0x827810,this['_scene']=_0x41c929,this[_0x2c261a(0x141)]=_0x5288e7,this[_0x2c261a(0x2e8)]=_0x2529cc,this['_render']());}set['_hover'](_0x5733e0){const _0x444fda=_0x32ae99;_0x5733e0?(this[_0x444fda(0x15f)]&&this[_0x444fda(0x15f)]['hide'](),this[_0x444fda(0x2d1)]&&this['_textBubble'][_0x444fda(0x25c)]()):(this[_0x444fda(0x15f)]&&this[_0x444fda(0x15f)][_0x444fda(0x25c)](),this[_0x444fda(0x2d1)]&&this[_0x444fda(0x2d1)]['hide']());}[_0x32ae99(0x195)](){const _0x24e33e=_0x32ae99;for(const _0xd777ce of this[_0x24e33e(0x336)])_0xd777ce[_0x24e33e(0x195)]();this['_textBubble']&&this[_0x24e33e(0x2d1)][_0x24e33e(0x195)](),this[_0x24e33e(0x15f)]&&this[_0x24e33e(0x15f)][_0x24e33e(0x195)](),this[_0x24e33e(0xbd)]&&this['_anchor'][_0x24e33e(0x195)](),this[_0x24e33e(0x270)]&&this[_0x24e33e(0x270)]();}['_render'](){const _0x2b2919=_0x32ae99;var _0x136807;const {_docSkeleton:_0x356efe,_document:_0x4c0541}=this,{color:_0x186438,name:_0x5e9db1,ranges:_0x1822f2}=this[_0x2b2919(0x20c)],_0x1717cb=_0x4c0541[_0x2b2919(0x10b)](),{docsLeft:_0x3a1713,docsTop:_0x131ee2}=_0x1717cb,_0x2f4dad=new _0x1b602f['NodePositionConvertToCursor'](_0x1717cb,_0x356efe);for(const {startOffset:_0x371565,endOffset:_0x500197,rangeType:_0x11d63c,segmentId:_0x3ac522,segmentPage:_0x4b5e9c,collapsed:_0x589161,isActive:_0x39c6bf}of _0x1822f2){const _0x325b59=_0x356efe[_0x2b2919(0x153)](_0x371565,!0x0,_0x3ac522,_0x4b5e9c);let _0x5cc401=_0x356efe[_0x2b2919(0x153)](_0x500197,!0x0,_0x3ac522,_0x4b5e9c);if(_0x5cc401==null&&(_0x5cc401=_0x356efe[_0x2b2919(0x153)](_0x500197-0x1,!0x1,_0x3ac522,_0x4b5e9c)),_0x39c6bf){const {contentBoxPointGroup:_0x5182d5}=_0x2f4dad[_0x2b2919(0xe2)](_0x5cc401,_0x5cc401);if(_0x5182d5[_0x2b2919(0x1b4)]===0x0)continue;this[_0x2b2919(0x2cb)](_0x186438,_0x5182d5,_0x3a1713,_0x131ee2,_0x5e9db1),this[_0x2b2919(0x270)]=this['_handleHover']();}if(_0x325b59&&_0x5cc401){if(_0x11d63c===_0x598862[_0x2b2919(0x30b)][_0x2b2919(0x1f9)]){const _0x3b154d=new _0x1b602f[(_0x2b2919(0x308))](_0x1717cb,_0x356efe),{pointGroup:_0x33586d}=(_0x136807=_0x3b154d[_0x2b2919(0xe2)](_0x325b59,_0x5cc401))!=null?_0x136807:{};if(_0x33586d==null||_0x33586d['length']===0x0)continue;this[_0x2b2919(0x20e)](_0x186438,_0x33586d,_0x3a1713,_0x131ee2);}else{if(!_0x589161){const {borderBoxPointGroup:_0xbc1fb9}=_0x2f4dad['getRangePointData'](_0x325b59,_0x5cc401);if(_0xbc1fb9[_0x2b2919(0x1b4)]===0x0)continue;this[_0x2b2919(0x2cd)](_0x186438,_0xbc1fb9,_0x3a1713,_0x131ee2);}}}}}[_0x32ae99(0x2cb)](_0x32f425,_0x9f98ff,_0x592c5e,_0x14da0a,_0xeb9e48){const _0x2b77f3=_0x32ae99,_0x5a4140=this['_getAnchorBounding'](_0x9f98ff),{left:_0x551fc3,top:_0x51629a,height:_0x1f786b}=_0x5a4140,_0x49a2ac=this[_0x2b77f3(0x116)](),_0x3560b1=_0x481beb/_0x49a2ac,_0x102ba7=new _0x367549[(_0x2b77f3(0x22b))](_0x5534bd+_0x598862[_0x2b77f3(0x1ec)][_0x2b77f3(0x293)](_0x381298),{'left':_0x551fc3+_0x592c5e-_0x3560b1,'top':_0x51629a+_0x14da0a,'height':_0x1f786b,'width':_0xe44124,'fill':_0x32f425||_0x367549[_0x2b77f3(0xe0)](_0x598862['COLORS'][_0x2b77f3(0x237)],0x0),'strokeWidth':_0x3560b1,'stroke':_0xd6eb9b,'evented':!0x0});this['_anchor']=_0x102ba7,this[_0x2b77f3(0x179)][_0x2b77f3(0x132)](_0x102ba7,_0x1b602f[_0x2b77f3(0x32d)]);const _0x36978b=new _0x367549[(_0x2b77f3(0x22b))](_0x5534bd+_0x598862['Tools'][_0x2b77f3(0x293)](_0x381298),{'left':_0x551fc3+_0x592c5e-_0x3560b1,'top':_0x51629a+_0x14da0a-_0x193ec2/0x2,'height':_0x193ec2,'width':_0x193ec2,'fill':_0x32f425||_0x367549[_0x2b77f3(0xe0)](_0x598862[_0x2b77f3(0x1a7)][_0x2b77f3(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x32f425||_0x367549[_0x2b77f3(0xe0)](_0x598862['COLORS']['black'],0x0),'evented':!0x1});this[_0x2b77f3(0x15f)]=_0x36978b,this[_0x2b77f3(0x179)][_0x2b77f3(0x132)](_0x36978b,_0x1b602f[_0x2b77f3(0x32d)]);const _0x469907=new _0x2c196a(_0x5534bd+_0x598862[_0x2b77f3(0x1ec)][_0x2b77f3(0x293)](_0x381298),{'left':_0x551fc3+_0x592c5e-_0x3560b1,'top':_0x51629a+_0x14da0a-_0x50f210,'text':_0xeb9e48,'color':_0x32f425});this[_0x2b77f3(0x2d1)]=_0x469907,this[_0x2b77f3(0x179)][_0x2b77f3(0x132)](_0x469907,_0x1b602f['TEXT_RANGE_LAYER_INDEX']),this[_0x2b77f3(0x2c0)]=!0x1;}[_0x32ae99(0x233)](){const _0x410a55=_0x32ae99,_0x2660c6=this[_0x410a55(0xbd)][_0x410a55(0x2b5)]['subscribeEvent'](()=>{const _0xedef24=_0x410a55;this[_0xedef24(0x2c0)]=!0x0;}),_0x145151=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x37623e=_0x410a55;this[_0x37623e(0x196)]&&clearTimeout(this[_0x37623e(0x196)]),this[_0x37623e(0x196)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2b8af3=_0x410a55;_0x2660c6[_0x2b8af3(0xbf)](),_0x145151[_0x2b8af3(0xbf)]();};}[_0x32ae99(0x2cd)](_0x4e6063,_0x33df19,_0x419be8,_0x20a93e){const _0x5427c8=_0x32ae99,_0x2c1c33=new _0x598862[(_0x5427c8(0x115))](_0x4e6063)['setAlpha'](0.2)[_0x5427c8(0x18c)](),_0x49a9fd=new _0x367549['RegularPolygon'](_0x376bb6+_0x598862['Tools'][_0x5427c8(0x293)](_0x381298),{'pointsGroup':_0x33df19,'fill':_0x2c1c33||_0x367549[_0x5427c8(0xe0)](_0x598862['COLORS'][_0x5427c8(0x237)],0.2),'left':_0x419be8,'top':_0x20a93e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5427c8(0x108)](_0x49a9fd),this[_0x5427c8(0x179)][_0x5427c8(0x132)](_0x49a9fd,_0x1b602f['TEXT_RANGE_LAYER_INDEX']);}[_0x32ae99(0x20e)](_0x5bf233,_0x567331,_0x46596f,_0x2bbc4d){const _0x1a23d8=_0x32ae99,_0x42c0fa=new _0x598862[(_0x1a23d8(0x115))](_0x5bf233)[_0x1a23d8(0x228)](0.2)[_0x1a23d8(0x18c)](),_0x747518=new _0x367549['RegularPolygon'](_0x3b7114+_0x598862[_0x1a23d8(0x1ec)]['generateRandomId'](_0x381298),{'pointsGroup':_0x567331,'fill':_0x42c0fa||_0x367549[_0x1a23d8(0xe0)](_0x598862[_0x1a23d8(0x1a7)][_0x1a23d8(0x237)],0.2),'left':_0x46596f,'top':_0x2bbc4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a23d8(0x336)][_0x1a23d8(0x108)](_0x747518),this['_scene'][_0x1a23d8(0x132)](_0x747518,_0x1b602f[_0x1a23d8(0x32d)]);}[_0x32ae99(0x291)](_0x3f678c){const _0x1fb461=_0x3f678c[0x0],_0xfd5335=_0x1fb461[0x0],_0x588c22=_0x1fb461[0x2],{x:_0x3e4a7c,y:_0x39c3b9}=_0xfd5335,{x:_0x3513db,y:_0x591fce}=_0x588c22;return{'left':_0x3e4a7c,'top':_0x39c3b9,'width':_0x3513db-_0x3e4a7c,'height':_0x591fce-_0x39c3b9};}[_0x32ae99(0x116)](){const _0x17c251=_0x32ae99,{scaleX:_0x29a081,scaleY:_0xc936fd}=this['_scene'][_0x17c251(0x25f)]();return Math['max'](_0x29a081,_0xc936fd);}}var _0x41bafb=Object[_0x32ae99(0x2a2)],_0x1bd884=(_0x1f9daa,_0x3bb1e6,_0x5abda9,_0x3fd600)=>{for(var _0x4f287d=_0x3fd600>0x1?void 0x0:_0x3fd600?_0x41bafb(_0x3bb1e6,_0x5abda9):_0x3bb1e6,_0x522ef8=_0x1f9daa['length']-0x1,_0xc4db14;_0x522ef8>=0x0;_0x522ef8--)(_0xc4db14=_0x1f9daa[_0x522ef8])&&(_0x4f287d=_0xc4db14(_0x4f287d)||_0x4f287d);return _0x4f287d;},_0x3aae0c=(_0x48d557,_0x3aba80)=>(_0x534fc7,_0x37b025)=>_0x3aba80(_0x534fc7,_0x37b025,_0x48d557);let _0x259b08=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x2b24b9,_0x2a77f4,_0x3d4ad8,_0x3fced5,_0x2f72a1){const _0x4b9940=_0x32ae99;super(),_0x4c36ff(this,_0x4b9940(0x112),[]),_0x4c36ff(this,_0x4b9940(0x333),[]),(this[_0x4b9940(0x307)]=_0x2b24b9,this[_0x4b9940(0x146)]=_0x2a77f4,this[_0x4b9940(0x206)]=_0x3d4ad8,this[_0x4b9940(0x18d)]=_0x3fced5,this[_0x4b9940(0x23c)]=_0x2f72a1,this[_0x4b9940(0x177)]());}[_0x32ae99(0x177)](){const _0x4f51a3=_0x32ae99,_0x5f46c3=this['_context']['unitId'],_0xbe5ccc=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x48488c['combineLatest']([this[_0x4f51a3(0x206)][_0x4f51a3(0x159)](_0x5f46c3),this['_themeService'][_0x4f51a3(0x2ac)]])['pipe'](_0x3485a0[_0x4f51a3(0x23b)](([_0x5505a0,_0x2812aa])=>({'skeleton':_0xbe5ccc[_0x4f51a3(0x22a)](),'cursors':[..._0x5505a0[_0x4f51a3(0x169)]()][_0x4f51a3(0x2fa)](_0x2e8e7c=>({..._0x2e8e7c,'color':this[_0x4f51a3(0x23c)][_0x4f51a3(0x30a)](_0x2e8e7c[_0x4f51a3(0x11d)])}))})))['subscribe'](_0xb168d0=>{const _0x591c24=_0x4f51a3;if(this[_0x591c24(0xc2)](),_0xb168d0){const {skeleton:_0x29a7da,cursors:_0x486016}=_0xb168d0;this['_updateCollabCursors'](_0x29a7da,_0x486016);}})),this['_initResize'](),this[_0x4f51a3(0x310)]();}['_updateCollabCursors'](_0x3d7875,_0x49a9bf){const _0x337baa=_0x32ae99,{scene:_0x4d4ca4,mainComponent:_0x5490f9}=this['_context'],_0xb39bb1=_0x49a9bf[_0x337baa(0x23b)](_0x55f435=>new _0x5e2e77(_0x55f435,_0x4d4ca4,_0x3d7875,_0x5490f9));this[_0x337baa(0x112)]=_0xb39bb1,this[_0x337baa(0x333)]=_0x49a9bf;}[_0x32ae99(0x1bf)](){const _0x1377fd=_0x32ae99;this['_removeCollabCursors']();const {scene:_0x5919b8,mainComponent:_0x2b3af7}=this[_0x1377fd(0x307)],_0x2dd017=this[_0x1377fd(0x146)]['getSkeleton'](),_0x310103=this['_cursors']['map'](_0x38d6df=>new _0x5e2e77(_0x38d6df,_0x5919b8,_0x2dd017,_0x2b3af7));this['_cursorShapes']=_0x310103;}['_removeCollabCursors'](){const _0x4c56a7=_0x32ae99;this['_cursorShapes'][_0x4c56a7(0x12a)](_0x27ecda=>_0x27ecda[_0x4c56a7(0x195)]()),this['_cursorShapes']=[];}[_0x32ae99(0x310)](){const _0x861e74=_0x32ae99,_0x47ab9b=[_0x1b602f[_0x861e74(0x1b0)]['id']];this['disposeWithMe'](this['_commandService'][_0x861e74(0x19d)](_0x5d2fca=>{const _0x4eb8b1=_0x861e74;_0x47ab9b[_0x4eb8b1(0x271)](_0x5d2fca['id'])&&_0x5d2fca[_0x4eb8b1(0x1f7)][_0x4eb8b1(0xca)]===this[_0x4eb8b1(0x307)][_0x4eb8b1(0xca)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4b1458=_0x32ae99;this[_0x4b1458(0x14d)](_0x598862[_0x4b1458(0x1a0)](this[_0x4b1458(0x307)]['engine'][_0x4b1458(0x223)])[_0x4b1458(0x1b2)](_0x3485a0[_0x4b1458(0x2f1)](_0x16ff9e=>_0x16ff9e[_0x4b1458(0x32e)]===_0x367549['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4b1458(0x1e9)]),_0x3485a0[_0x4b1458(0x2dd)](0x10))['subscribe'](()=>{const _0x65302a=_0x4b1458;this[_0x65302a(0x1bf)]();}));}};_0x259b08=_0x1bd884([_0x3aae0c(0x1,_0x598862[_0x32ae99(0x331)](_0x1b1e93['DocSkeletonManagerService'])),_0x3aae0c(0x2,_0x598862[_0x32ae99(0x331)](_0x10d2fa)),_0x3aae0c(0x3,_0x598862[_0x32ae99(0x140)]),_0x3aae0c(0x4,_0x598862['Inject'](_0x598862[_0x32ae99(0x1c5)]))],_0x259b08);const _0x288e3d=0x1,_0x372cdf=1.5;class _0x5e3cf0 extends _0x367549[_0x32ae99(0x274)]{constructor(_0x3ce93a,_0xc7638e){const _0x5bd333=_0x32ae99;super(_0x3ce93a,_0xc7638e),_0x4c36ff(this,'_color'),_0x4c36ff(this,_0x5bd333(0x28a),!0x1),_0x4c36ff(this,_0x5bd333(0x1de)),_0x4c36ff(this,_0x5bd333(0x328),''),_0x4c36ff(this,'_labelPosition',_0x5bd333(0xf1)),_0x4c36ff(this,_0x5bd333(0x289)),(_0xc7638e&&this[_0x5bd333(0x120)](_0xc7638e),this[_0x5bd333(0x2b5)][_0x5bd333(0x1a9)](()=>this[_0x5bd333(0x120)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5bd333(0x1a9)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x32ae99(0x120)](_0x2e9748){const _0x56f4a2=_0x32ae99;var _0x3be43a,_0xb529eb,_0x27b5b7,_0x399043,_0x4dcb1a,_0x4fdaab;this[_0x56f4a2(0xd8)]=(_0x3be43a=_0x2e9748[_0x56f4a2(0x11d)])!=null?_0x3be43a:this['_color'],this['_hovered']=(_0xb529eb=_0x2e9748['hovered'])!=null?_0xb529eb:this[_0x56f4a2(0x28a)],this[_0x56f4a2(0x1de)]=(_0x27b5b7=_0x2e9748['range'])!=null?_0x27b5b7:this[_0x56f4a2(0x1de)],this[_0x56f4a2(0x328)]=(_0x399043=_0x2e9748[_0x56f4a2(0x171)])!=null?_0x399043:this[_0x56f4a2(0x328)],this[_0x56f4a2(0x2a9)]=(_0x4dcb1a=_0x2e9748[_0x56f4a2(0x230)])!=null?_0x4dcb1a:this['_labelPosition'],this[_0x56f4a2(0x289)]=(_0x4fdaab=_0x2e9748['backgroundColor'])!=null?_0x4fdaab:this[_0x56f4a2(0x289)],this[_0x56f4a2(0xf6)]({'width':_0x2e9748[_0x56f4a2(0x255)],'height':_0x2e9748[_0x56f4a2(0x16a)]});}[_0x32ae99(0x1a1)](_0x5b1475){const _0x14eb5a=_0x32ae99,{row:_0x2dd89a,column:_0x4db341}=_0x5b1475;if(_0x2dd89a>=this[_0x14eb5a(0x1de)][_0x14eb5a(0x13e)]&&_0x2dd89a<=this[_0x14eb5a(0x1de)][_0x14eb5a(0x210)]&&_0x4db341>=this[_0x14eb5a(0x1de)][_0x14eb5a(0x15d)]&&_0x4db341<=this[_0x14eb5a(0x1de)][_0x14eb5a(0x157)]){this[_0x14eb5a(0x120)]({'hovered':!0x0});return;}this[_0x14eb5a(0x120)]({'hovered':!0x1});}[_0x32ae99(0x134)](_0x146ec8){return!0x1;}[_0x32ae99(0xea)](_0x2f4188){const _0x3b1360=_0x32ae99;_0x367549[_0x3b1360(0x22b)][_0x3b1360(0xbc)](_0x2f4188,{'width':this[_0x3b1360(0x255)],'height':this['height'],'strokeWidth':_0x372cdf,'stroke':this[_0x3b1360(0xd8)],'evented':!0x1,'fill':this[_0x3b1360(0x289)]}),this[_0x3b1360(0x28a)]&&(_0x2f4188[_0x3b1360(0x2de)](),_0x2f4188[_0x3b1360(0x324)](0x1,0x0,0x0,0x1,this[_0x3b1360(0x255)],this[_0x3b1360(0x2a9)]===_0x3b1360(0x24e)?0x0:-0x14),_0x2c196a[_0x3b1360(0xbc)](_0x2f4188,{'text':this['_name'],'color':this[_0x3b1360(0xd8)]}),_0x2f4188[_0x3b1360(0x1b8)]());}}var _0x584106=Object['getOwnPropertyDescriptor'],_0x5c0903=(_0x214add,_0x51ec8c,_0x20b91e,_0x366baf)=>{const _0x24c869=_0x32ae99;for(var _0x518f2e=_0x366baf>0x1?void 0x0:_0x366baf?_0x584106(_0x51ec8c,_0x20b91e):_0x51ec8c,_0x1abb49=_0x214add[_0x24c869(0x1b4)]-0x1,_0x245001;_0x1abb49>=0x0;_0x1abb49--)(_0x245001=_0x214add[_0x1abb49])&&(_0x518f2e=_0x245001(_0x518f2e)||_0x518f2e);return _0x518f2e;},_0x4b0b01=(_0x460056,_0x3ec68e)=>(_0x1900c6,_0x51953c)=>_0x3ec68e(_0x1900c6,_0x51953c,_0x460056);const _0x56ae77=0x1389;let _0x126a01=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x5804aa,_0x4a268c,_0x10ffac,_0x5576ac){const _0x1690b5=_0x32ae99;super(),_0x4c36ff(this,_0x1690b5(0x333),new Set()),_0x4c36ff(this,_0x1690b5(0xfc),null),(this[_0x1690b5(0x307)]=_0x5804aa,this[_0x1690b5(0x170)]=_0x4a268c,this['_collabCursorController']=_0x10ffac,this[_0x1690b5(0x23c)]=_0x5576ac,this[_0x1690b5(0x177)]());}['_init'](){const _0x30f3e2=_0x32ae99;this[_0x30f3e2(0x170)][_0x30f3e2(0x25a)][_0x30f3e2(0x1b2)](_0x3485a0[_0x30f3e2(0x344)](this[_0x30f3e2(0x21d)]),_0x3485a0[_0x30f3e2(0x1c6)](_0x7354b9=>{const _0x2ea506=_0x30f3e2;if(_0x7354b9){const _0x35bd0c=_0x7354b9[_0x2ea506(0xf0)];return _0x48488c[_0x2ea506(0x2ed)](this[_0x2ea506(0x206)]['getCollabCursors$'](this[_0x2ea506(0x307)][_0x2ea506(0xca)]),this[_0x2ea506(0x23c)][_0x2ea506(0x2ac)])[_0x2ea506(0x1b2)](_0x3485a0['map'](([_0x47e656,_0x3a7b0])=>{const _0x4ce7c2=_0x2ea506,_0x1196ca=new Map();return _0x47e656[_0x4ce7c2(0x12a)]((_0x2581c,_0x447f24)=>{const _0x48dbc6=_0x4ce7c2;if(_0x2581c['sheetID']===_0x35bd0c){const _0x1e0b7f={..._0x2581c};_0x1e0b7f[_0x48dbc6(0x11d)]=this[_0x48dbc6(0x23c)][_0x48dbc6(0x30a)](_0x2581c[_0x48dbc6(0x11d)]),_0x1196ca[_0x48dbc6(0x33f)](_0x447f24,_0x1e0b7f);}}),{'skeleton':_0x7354b9,'cursors':_0x1196ca};}));}return _0x48488c['of']({'skeleton':null,'cursors':new Map()});}))[_0x30f3e2(0x10c)](({skeleton:_0x31a31f,cursors:_0x117f67})=>{const _0x3edaa0=_0x30f3e2;this[_0x3edaa0(0xc2)](),_0x31a31f&&this[_0x3edaa0(0x2af)](_0x31a31f,_0x117f67);}),this[_0x30f3e2(0x170)][_0x30f3e2(0x25a)][_0x30f3e2(0x10c)](_0x3d30d0=>{const _0x39d46f=_0x30f3e2;if(_0x3d30d0==null)return;const {skeleton:_0x11239}=_0x3d30d0,{scene:_0x4dc0ee}=this[_0x39d46f(0x307)];_0x4dc0ee[_0x39d46f(0x1a8)][_0x39d46f(0x1a9)](_0x598862[_0x39d46f(0x143)](_0x1cfd88=>{const _0x53f643=_0x39d46f;var _0x536c47,_0x3ce86b;const {offsetX:_0x2c9373,offsetY:_0x345ab9}=_0x1cfd88,{x:_0x4b399b,y:_0x2c3083}=_0x4dc0ee[_0x53f643(0x18a)](_0x367549[_0x53f643(0x2ca)][_0x53f643(0x24a)]([_0x2c9373,_0x345ab9])),{scaleX:_0x382105,scaleY:_0x14e4a2}=_0x4dc0ee[_0x53f643(0x25f)](),_0x3ba421=_0x4dc0ee[_0x53f643(0x33b)](_0x367549[_0x53f643(0x278)]['VIEW_MAIN']),_0x15acfd=_0x4dc0ee['getVpScrollXYInfoByPosToVp'](_0x367549['Vector2'][_0x53f643(0x24a)]([_0x4b399b,_0x2c3083]),_0x3ba421),_0x956b55=_0x11239[_0x53f643(0x1e0)](_0x2c9373,_0x345ab9,_0x382105,_0x14e4a2,_0x15acfd);((_0x536c47=this[_0x53f643(0xfc)])==null?void 0x0:_0x536c47['column'])===_0x956b55[_0x53f643(0x2b0)]&&((_0x3ce86b=this['_lastPointer'])==null?void 0x0:_0x3ce86b[_0x53f643(0x2ba)])===_0x956b55[_0x53f643(0x2ba)]||this[_0x53f643(0x333)][_0x53f643(0x12a)](_0x1251e7=>{const _0x5582e3=_0x53f643;_0x1251e7[_0x5582e3(0x1a1)](_0x956b55);});},0x64));});}[_0x32ae99(0x2af)](_0x572bd7,_0x5e403d){const _0x342c83=_0x32ae99;var _0x597e8c;const _0x588130=(_0x597e8c=this[_0x342c83(0x170)]['getCurrent']())==null?void 0x0:_0x597e8c['skeleton'];if(!_0x588130)return;const _0x1ae237=this[_0x342c83(0x2fe)]();if(!_0x1ae237)return;this['_cursors'][_0x342c83(0x12a)](_0x2e9026=>{const _0x495338=_0x342c83;_0x2e9026[_0x495338(0x2f2)]();});const {scene:_0x29e43a}=_0x1ae237,_0x93dc43=_0xc060d3(Array[_0x342c83(0x2eb)](_0x5e403d['values']()))[_0x342c83(0x23b)](_0x367434=>{const _0x19cb6d=_0x342c83,{color:_0xd2cc41,range:_0x36a53b,name:_0x22be6a,selection:_0x44e956,sheetID:_0x46026e}=_0x367434,{startColumn:_0x5c5a84,startRow:_0x3213d8,endColumn:_0x11565c,endRow:_0x53d321}=_0x36a53b,_0x55dcf6=_0x18a858[_0x19cb6d(0x126)](_0x3213d8,_0x5c5a84,_0x29e43a,_0x588130),_0x363701=_0x18a858[_0x19cb6d(0x126)](_0x53d321,_0x11565c,_0x29e43a,_0x588130),{columnHeaderHeightAndMarginTop:_0x1f248b}=_0x588130,{startX:_0x266130,startY:_0x1625b0}=_0x55dcf6,{endX:_0x26b7fa,endY:_0xea5259}=_0x363701,_0x23630a=_0x26b7fa-_0x266130,_0x2d1ea2=_0xea5259-_0x1625b0,_0x2dda67={'labelPosition':_0x1625b0-_0x1f248b>=_0x50f210?'top':_0x19cb6d(0x24e),'sheetID':_0x46026e,'range':_0x36a53b,'color':_0xd2cc41,'name':_0x22be6a,'selection':_0x44e956,'left':_0x266130,'top':_0x1625b0,'width':_0x23630a,'height':_0x2d1ea2,'evented':!0x1,'zIndex':_0x56ae77};return new _0x5e3cf0(_0x22be6a,_0x2dda67);});_0x29e43a[_0x342c83(0x121)](_0x93dc43,_0x288e3d),this[_0x342c83(0x333)]=new Set(_0x93dc43);}[_0x32ae99(0xc2)](){const _0x925013=_0x32ae99;var _0x176919;(_0x176919=this[_0x925013(0x333)])==null||_0x176919[_0x925013(0x12a)](_0x35a808=>_0x35a808[_0x925013(0x195)]());}['_getSheetObject'](){const _0x433981=_0x32ae99;return _0x18a858['getSheetObject'](this['_context'][_0x433981(0x162)],this[_0x433981(0x307)]);}};_0x126a01=_0x5c0903([_0x4b0b01(0x1,_0x598862[_0x32ae99(0x331)](_0x18a858[_0x32ae99(0xf4)])),_0x4b0b01(0x2,_0x598862[_0x32ae99(0x331)](_0x10d2fa)),_0x4b0b01(0x3,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x1c5)]))],_0x126a01);function _0xc060d3(_0x2cb1c8){const _0x19c83b=_0x32ae99,_0x587400=new Map();return _0x2cb1c8[_0x19c83b(0x12a)](_0x1d5084=>{const _0x553353=_0x19c83b;if(_0x587400[_0x553353(0x243)](_0x1d5084['selection'])){const _0xa9c270=_0x587400[_0x553353(0x256)](_0x1d5084[_0x553353(0x15c)]);_0xa9c270[_0x553353(0x171)]+=',\x20'+_0x1d5084['name'];}else _0x587400[_0x553353(0x33f)](_0x1d5084[_0x553353(0x15c)],_0x1d5084);}),Array['from'](_0x587400[_0x19c83b(0x169)]());}var _0x53a9f7=function(){const _0xa36be5=_0x32ae99;return _0x53a9f7=Object[_0xa36be5(0x158)]||function(_0x3a8fd0){const _0x1e09ac=_0xa36be5;for(var _0x4f6db9,_0x46b118=0x1,_0x2d4959=arguments['length'];_0x46b118<_0x2d4959;_0x46b118++){_0x4f6db9=arguments[_0x46b118];for(var _0x25e3ac in _0x4f6db9)Object[_0x1e09ac(0xed)][_0x1e09ac(0x345)]['call'](_0x4f6db9,_0x25e3ac)&&(_0x3a8fd0[_0x25e3ac]=_0x4f6db9[_0x25e3ac]);}return _0x3a8fd0;},_0x53a9f7[_0xa36be5(0x29f)](this,arguments);},_0x2ff75b=function(_0x58bdde,_0x2028bc){const _0x1bf573=_0x32ae99;var _0x3b4ce9={};for(var _0x5a1a9c in _0x58bdde)Object[_0x1bf573(0xed)][_0x1bf573(0x345)][_0x1bf573(0x174)](_0x58bdde,_0x5a1a9c)&&_0x2028bc[_0x1bf573(0x1dc)](_0x5a1a9c)<0x0&&(_0x3b4ce9[_0x5a1a9c]=_0x58bdde[_0x5a1a9c]);if(_0x58bdde!=null&&typeof Object[_0x1bf573(0x297)]==_0x1bf573(0x11f)){for(var _0x56880d=0x0,_0x5a1a9c=Object['getOwnPropertySymbols'](_0x58bdde);_0x56880d<_0x5a1a9c[_0x1bf573(0x1b4)];_0x56880d++)_0x2028bc[_0x1bf573(0x1dc)](_0x5a1a9c[_0x56880d])<0x0&&Object[_0x1bf573(0xed)][_0x1bf573(0x14c)][_0x1bf573(0x174)](_0x58bdde,_0x5a1a9c[_0x56880d])&&(_0x3b4ce9[_0x5a1a9c[_0x56880d]]=_0x58bdde[_0x5a1a9c[_0x56880d]]);}return _0x3b4ce9;},_0x5236c7=_0xc8a5b1[_0x32ae99(0x2c9)](function(_0x2547ee,_0x2b0a74){const _0x14eb06=_0x32ae99;var _0x118157=_0x2547ee['icon'],_0x4b5596=_0x2547ee['id'],_0x2fa670=_0x2547ee[_0x14eb06(0x254)],_0x1c9438=_0x2547ee['extend'],_0x124f65=_0x2ff75b(_0x2547ee,[_0x14eb06(0x2a0),'id',_0x14eb06(0x254),_0x14eb06(0x33d)]),_0x476ef5='univerjs-icon\x20univerjs-icon-'[_0x14eb06(0x2b8)](_0x4b5596,'\x20')[_0x14eb06(0x2b8)](_0x2fa670||'')[_0x14eb06(0xec)](),_0x335cf2=_0xc8a5b1[_0x14eb06(0x2bb)]('_'[_0x14eb06(0x2b8)](_0x295ccd()));return _0x21ce11(_0x118157,''[_0x14eb06(0x2b8)](_0x4b5596),{'defIds':_0x118157[_0x14eb06(0xf2)],'idSuffix':_0x335cf2[_0x14eb06(0x12c)]},_0x53a9f7({'ref':_0x2b0a74,'className':_0x476ef5},_0x124f65),_0x1c9438);});function _0x21ce11(_0x59ffc2,_0x6cc60d,_0x1dcdac,_0x53d10c,_0x1a61ba){const _0x4710ab=_0x32ae99;return _0xc8a5b1[_0x4710ab(0x1ed)](_0x59ffc2[_0x4710ab(0x1be)],_0x53a9f7(_0x53a9f7({'key':_0x6cc60d},_0x4c0684(_0x59ffc2,_0x1dcdac,_0x1a61ba)),_0x53d10c),(_0x5286d3(_0x59ffc2,_0x1dcdac)[_0x4710ab(0x259)]||[])[_0x4710ab(0x23b)](function(_0x2831c1,_0x3de314){const _0x501827=_0x4710ab;return _0x21ce11(_0x2831c1,''[_0x501827(0x2b8)](_0x6cc60d,'-')[_0x501827(0x2b8)](_0x59ffc2[_0x501827(0x1be)],'-')[_0x501827(0x2b8)](_0x3de314),_0x1dcdac,void 0x0,_0x1a61ba);}));}function _0x4c0684(_0x30c421,_0x4b7956,_0x353f48){const _0x2a68c2=_0x32ae99;var _0x409953=_0x53a9f7({},_0x30c421[_0x2a68c2(0x1ad)]);_0x353f48!=null&&_0x353f48[_0x2a68c2(0x2ae)]&&_0x409953[_0x2a68c2(0xeb)]===_0x2a68c2(0x2ae)&&(_0x409953[_0x2a68c2(0xeb)]=_0x353f48[_0x2a68c2(0x2ae)]),_0x30c421[_0x2a68c2(0x1be)]==='mask'&&_0x409953['id']&&(_0x409953['id']=_0x409953['id']+_0x4b7956[_0x2a68c2(0x27e)]),Object['entries'](_0x409953)[_0x2a68c2(0x12a)](function(_0x52b8e4){const _0x233b91=_0x2a68c2;var _0xd29189=_0x52b8e4[0x0],_0x8acb20=_0x52b8e4[0x1];_0xd29189==='mask'&&typeof _0x8acb20==_0x233b91(0x173)&&(_0x409953[_0xd29189]=_0x8acb20['replace'](/url\(#(.*)\)/,_0x233b91(0x219)[_0x233b91(0x2b8)](_0x4b7956[_0x233b91(0x27e)],')')));});var _0x678b51=_0x4b7956[_0x2a68c2(0xf2)];return!_0x678b51||_0x678b51[_0x2a68c2(0x1b4)]===0x0||(_0x30c421[_0x2a68c2(0x1be)]==='use'&&_0x409953[_0x2a68c2(0x2a3)]&&(_0x409953[_0x2a68c2(0x2a3)]=_0x409953[_0x2a68c2(0x2a3)]+_0x4b7956[_0x2a68c2(0x27e)]),Object[_0x2a68c2(0x2c1)](_0x409953)['forEach'](function(_0xe4e12b){const _0x10e997=_0x2a68c2;var _0x4f06a9=_0xe4e12b[0x0],_0x406815=_0xe4e12b[0x1];typeof _0x406815==_0x10e997(0x173)&&(_0x409953[_0x4f06a9]=_0x406815['replace'](/url\(#(.*)\)/,_0x10e997(0x219)[_0x10e997(0x2b8)](_0x4b7956['idSuffix'],')')));})),_0x409953;}function _0x5286d3(_0x19f5f6,_0x3b0a21){const _0x306912=_0x32ae99;var _0x12bafa,_0x2fbc09=_0x3b0a21[_0x306912(0xf2)];return!_0x2fbc09||_0x2fbc09[_0x306912(0x1b4)]===0x0?_0x19f5f6:_0x19f5f6[_0x306912(0x1be)]===_0x306912(0x1e8)&&(!((_0x12bafa=_0x19f5f6[_0x306912(0x259)])===null||_0x12bafa===void 0x0)&&_0x12bafa[_0x306912(0x1b4)])?_0x53a9f7(_0x53a9f7({},_0x19f5f6),{'children':_0x19f5f6['children'][_0x306912(0x23b)](function(_0x4402ec){const _0x573027=_0x306912;return typeof _0x4402ec[_0x573027(0x1ad)]['id']==_0x573027(0x173)&&_0x2fbc09&&_0x2fbc09[_0x573027(0x271)](_0x4402ec[_0x573027(0x1ad)]['id'])?_0x53a9f7(_0x53a9f7({},_0x4402ec),{'attrs':_0x53a9f7(_0x53a9f7({},_0x4402ec[_0x573027(0x1ad)]),{'id':_0x4402ec[_0x573027(0x1ad)]['id']+_0x3b0a21['idSuffix']})}):_0x4402ec;})}):_0x19f5f6;}function _0x295ccd(){const _0x24a040=_0x32ae99;return Math[_0x24a040(0xcf)]()[_0x24a040(0x200)](0x24)['substring'](0x2,0x8);}_0x5236c7[_0x32ae99(0x226)]=_0x32ae99(0x1b5);var _0x197f7a={'tag':_0x32ae99(0x282),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x32ae99(0x123),'viewBox':'0\x200\x2016\x2016','width':_0x32ae99(0x28f),'height':_0x32ae99(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x32ae99(0x30c)},'children':[{'tag':_0x32ae99(0x113),'attrs':{'stroke':_0x32ae99(0x204),'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':_0x32ae99(0xfe),'strokeLinejoin':_0x32ae99(0xfe),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x32ae99(0x19b),'attrs':{'id':_0x32ae99(0x130)},'children':[{'tag':_0x32ae99(0x113),'attrs':{'fill':_0x32ae99(0x2a7),'d':_0x32ae99(0x232)}}]}]}],'defIds':[_0x32ae99(0x130)]},_0x36421b=_0xc8a5b1[_0x32ae99(0x2c9)](function(_0x55ef40,_0x5e4280){const _0x3265d3=_0x32ae99;return _0xc8a5b1[_0x3265d3(0x1ed)](_0x5236c7,Object['assign']({},_0x55ef40,{'id':_0x3265d3(0xc3),'ref':_0x5e4280,'icon':_0x197f7a}));});_0x36421b['displayName']=_0x32ae99(0x34c);var _0x273ac3={'tag':_0x32ae99(0x282),'attrs':{'xmlns':_0x32ae99(0x1d4),'fill':_0x32ae99(0x123),'viewBox':_0x32ae99(0x2e0),'width':_0x32ae99(0x28f),'height':_0x32ae99(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x32ae99(0x312)},'children':[{'tag':'path','attrs':{'stroke':_0x32ae99(0x204),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x32ae99(0xfe),'strokeLinejoin':_0x32ae99(0xfe),'strokeWidth':1.2}}]},{'tag':_0x32ae99(0x1e8),'attrs':{},'children':[{'tag':_0x32ae99(0x19b),'attrs':{'id':_0x32ae99(0x2f3)},'children':[{'tag':_0x32ae99(0x113),'attrs':{'fill':'white','d':_0x32ae99(0x232),'transform':_0x32ae99(0x154)}}]}]}],'defIds':[_0x32ae99(0x2f3)]},_0x419f69=_0xc8a5b1[_0x32ae99(0x2c9)](function(_0x152c58,_0x53c49c){const _0x52010c=_0x32ae99;return _0xc8a5b1['createElement'](_0x5236c7,Object[_0x52010c(0x158)]({},_0x152c58,{'id':_0x52010c(0x315),'ref':_0x53c49c,'icon':_0x273ac3}));});_0x419f69[_0x32ae99(0x226)]=_0x32ae99(0x2c4);function _0x4302a2(_0x162190){const _0x37f4fc=_0x32ae99;switch(_0x162190){case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x2c5)]:return _0x37f4fc(0x262);case _0x4a1c4e['CollaborationStatus'][_0x37f4fc(0xe4)]:return'collabStatus.conflict';case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x2b3)]:return _0x37f4fc(0x13a);case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x188)]:return _0x37f4fc(0x203);case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0xc1)]:case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x342)]:return _0x37f4fc(0x348);case _0x4a1c4e[_0x37f4fc(0x1a2)]['SYNCED']:case _0x4a1c4e[_0x37f4fc(0x1a2)][_0x37f4fc(0x18e)]:return _0x37f4fc(0x263);}}function _0x33ddc8(_0x311620){const _0x2daf7f=_0x32ae99,{status$:_0x3d52d2}=_0x311620,_0x599af3=_0x2767d2['useObservable'](_0x3d52d2,_0x4a1c4e[_0x2daf7f(0x1a2)][_0x2daf7f(0x188)]),_0x5955dd=_0x2767d2['useDependency'](_0x598862[_0x2daf7f(0x2b7)]),_0x57b5cb=_0x2767d2['useDependency'](_0x4a1c4e[_0x2daf7f(0x2d3)]),_0x8eec51=_0x599af3!==_0x4a1c4e[_0x2daf7f(0x1a2)][_0x2daf7f(0x2c5)],_0x3fb0f0=_0x5955dd['t'](_0x4302a2(_0x599af3)),_0x4c892e=_0x8eec51?_0x1c5269[_0x2daf7f(0x2c8)](_0x419f69,{}):_0x1c5269[_0x2daf7f(0x2c8)](_0x36421b,{}),_0x56de33=_0xc8a5b1['useCallback'](()=>{const _0x54a626=_0x2daf7f;_0x8eec51||_0x57b5cb[_0x54a626(0x15a)]();},[_0x8eec51,_0x57b5cb]);function _0x5d8db5(){const _0xf2b4ec=_0x2daf7f;return _0x1c5269['jsxs'](_0xf2b4ec(0x2db),{'className':_0xf2b4ec(0x11a),'onClick':_0x56de33,'children':[_0x1c5269['jsx']('div',{'className':_0x5e78af[_0xf2b4ec(0xee)](_0xf2b4ec(0x182),{'univer-text-green-500':_0x8eec51,'univer-text-red-500':!_0x8eec51}),'children':_0x4c892e}),_0x1c5269[_0xf2b4ec(0x2c8)](_0xf2b4ec(0x2db),{'className':_0xf2b4ec(0x209),'children':_0x3fb0f0})]});}return _0x8eec51?_0x5d8db5():_0x1c5269[_0x2daf7f(0x2c8)](_0x5e78af[_0x2daf7f(0x122)],{'title':_0x5955dd['t'](_0x2daf7f(0x1bc)),'children':_0x5d8db5()});}var _0x208b98=Object[_0x32ae99(0x2a2)],_0x4118f2=(_0x47ee54,_0x24f2e5,_0x48388e,_0x3f954a)=>{const _0x443928=_0x32ae99;for(var _0x40cb0d=_0x3f954a>0x1?void 0x0:_0x3f954a?_0x208b98(_0x24f2e5,_0x48388e):_0x24f2e5,_0x188a19=_0x47ee54[_0x443928(0x1b4)]-0x1,_0x36f88c;_0x188a19>=0x0;_0x188a19--)(_0x36f88c=_0x47ee54[_0x188a19])&&(_0x40cb0d=_0x36f88c(_0x40cb0d)||_0x40cb0d);return _0x40cb0d;},_0x289489=(_0x8a4460,_0x483cc3)=>(_0x50b19d,_0x1cdbd9)=>_0x483cc3(_0x50b19d,_0x1cdbd9,_0x8a4460);_0x451931[_0x32ae99(0x11e)]=class extends _0x598862[_0x32ae99(0x190)]{constructor(_0x22f3e6,_0x31c5e1,_0x104cd0,_0x4f4c15){const _0x1c5dbf=_0x32ae99;super(),_0x4c36ff(this,_0x1c5dbf(0x1ab),new _0x48488c[(_0x1c5dbf(0x341))](_0x4a1c4e[_0x1c5dbf(0x1a2)][_0x1c5dbf(0x188)])),(this[_0x1c5dbf(0x197)]=_0x22f3e6,this['_injector']=_0x31c5e1,this[_0x1c5dbf(0x1d7)]=_0x104cd0,this['_uiPartsService']=_0x4f4c15,this[_0x1c5dbf(0x147)](),this[_0x1c5dbf(0x34a)]());}[_0x32ae99(0x34a)](){const _0x5498ba=_0x32ae99;this[_0x5498ba(0x14d)](this[_0x5498ba(0x197)]['focused$'][_0x5498ba(0x1b2)](_0x48488c[_0x5498ba(0x1c6)](()=>{const _0x1b66e4=_0x5498ba,_0x4c1875=this[_0x1b66e4(0x197)][_0x1b66e4(0xfd)]();return _0x4c1875?this[_0x1b66e4(0x1d7)]['getCollabEntity$'](_0x4c1875[_0x1b66e4(0x301)]()):_0x48488c['of'](null);}),_0x48488c['switchMap'](_0x3ad9ba=>_0x3ad9ba?_0x3ad9ba[_0x5498ba(0x2e9)]:_0x48488c['of'](_0x4a1c4e[_0x5498ba(0x1a2)]['NOT_COLLAB'])))[_0x5498ba(0x10c)](_0x52bfbb=>{const _0x2ee30a=_0x5498ba;this[_0x2ee30a(0x1ab)]['next'](_0x52bfbb);}));}[_0x32ae99(0x147)](){const _0x5af926=_0x32ae99;this['disposeWithMe'](this[_0x5af926(0xe5)]['registerComponent'](_0x2767d2['BuiltInUIPart'][_0x5af926(0xc6)],()=>_0x2767d2[_0x5af926(0x2f5)](_0x1ff920({'status$':this[_0x5af926(0x1ab)][_0x5af926(0xbb)]()}),this[_0x5af926(0x265)])));}},_0x451931[_0x32ae99(0x11e)]=_0x4118f2([_0x289489(0x0,_0x598862['IUniverInstanceService']),_0x289489(0x1,_0x598862[_0x32ae99(0x331)](_0x598862['Injector'])),_0x289489(0x2,_0x598862[_0x32ae99(0x331)](_0x4a1c4e[_0x32ae99(0x280)])),_0x289489(0x3,_0x2767d2['IUIPartsService'])],_0x451931['DesktopCollaborationStatusDisplayController']);function _0x1ff920(_0x23973d){const {status$:_0x2846e2}=_0x23973d;return function(){const _0x4d1233=_0x37bd;return _0x1c5269[_0x4d1233(0x2c8)](_0x33ddc8,{'status$':_0x2846e2});};}var _0x204579=Object['getOwnPropertyDescriptor'],_0xc20e77=(_0x4d029d,_0x5b2d06,_0x311b75,_0x343910)=>{const _0x115a34=_0x32ae99;for(var _0x58c2ae=_0x343910>0x1?void 0x0:_0x343910?_0x204579(_0x5b2d06,_0x311b75):_0x5b2d06,_0x56e640=_0x4d029d[_0x115a34(0x1b4)]-0x1,_0x543c70;_0x56e640>=0x0;_0x56e640--)(_0x543c70=_0x4d029d[_0x56e640])&&(_0x58c2ae=_0x543c70(_0x58c2ae)||_0x58c2ae);return _0x58c2ae;},_0x5ded33=(_0x4f4f4d,_0x5e4807)=>(_0x50bfa0,_0x1d336f)=>_0x5e4807(_0x50bfa0,_0x1d336f,_0x4f4f4d);let _0x10fa12=class extends _0x598862['Disposable']{constructor(_0x308c85,_0x13febd,_0x390c1e,_0x118e5e,_0x55878b,_0x2ecaa5){const _0x2e77b7=_0x32ae99;super(),this['_beforeCloseService']=_0x308c85,this['_localCacheService']=_0x13febd,this[_0x2e77b7(0x2a1)]=_0x390c1e,this['_messageService']=_0x118e5e,this[_0x2e77b7(0x2a6)]=_0x55878b,this['_localeService']=_0x2ecaa5,this['_setupBeforeClosingHandler'](),this[_0x2e77b7(0x2fd)]();}[_0x32ae99(0x221)](){const _0x4d552c=_0x32ae99;this[_0x4d552c(0x14d)](this[_0x4d552c(0x318)][_0x4d552c(0x1e3)](()=>{const _0x14afe4=_0x4d552c;if(this['_localCacheService'][_0x14afe4(0x14f)][_0x14afe4(0x142)])return this[_0x14afe4(0x2e2)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x32ae99(0x2fd)](){const _0x1ac503=_0x32ae99;this['disposeWithMe'](this[_0x1ac503(0x2a1)][_0x1ac503(0x2d6)][_0x1ac503(0x10c)](_0x1cf437=>{const _0xe55501=_0x1ac503;_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)]['OTHER_CLIENT_EDITING']&&this[_0xe55501(0x296)]['show']({'type':_0x5e78af['MessageType'][_0xe55501(0x23e)],'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0xf8))}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x2fb)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)]['Warning'],'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0x1cc))}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x1af)]&&this[_0xe55501(0x2a6)]['show']({'title':this['_localeService']['t'](_0xe55501(0x2b4)),'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0xf7)),'type':_0xe55501(0x24b),'duration':0x0}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0xe4)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x2c3)],'content':this[_0xe55501(0x2e2)]['t']('collaboration.closeRoom')+'('+_0x1cf437[_0xe55501(0x320)]+')'}),_0x1cf437['id']===_0x4a1c4e['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x23e)],'content':this['_localeService']['t'](_0x1cf437[_0xe55501(0x320)]||'')}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x346)]&&this[_0xe55501(0x296)]['show']({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x23e)],'content':this[_0xe55501(0x2e2)]['t']('session.will-retry')}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x211)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x2c3)],'content':this[_0xe55501(0x2e2)]['t']('session.connection-failed')}),_0x1cf437['id']===_0x4a1c4e[_0xe55501(0x2be)][_0xe55501(0x14e)]&&this[_0xe55501(0x296)][_0xe55501(0x25c)]({'type':_0x5e78af[_0xe55501(0x109)][_0xe55501(0x2c3)],'content':this[_0xe55501(0x2e2)]['t'](_0xe55501(0x30f))});}));}};_0x10fa12=_0xc20e77([_0x5ded33(0x0,_0x2767d2[_0x32ae99(0x208)]),_0x5ded33(0x1,_0x4a1c4e[_0x32ae99(0xe3)]),_0x5ded33(0x2,_0x598862[_0x32ae99(0x331)](_0x4a1c4e[_0x32ae99(0x11b)])),_0x5ded33(0x3,_0x2767d2['IMessageService']),_0x5ded33(0x4,_0x2767d2[_0x32ae99(0xc9)]),_0x5ded33(0x5,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x2b7)]))],_0x10fa12);const _0x31e65a='collaboration-client-ui.config',_0x3c5da6={},_0x5e332f=_0x598862[_0x32ae99(0x1ae)](_0x32ae99(0x1e6));var _0x556dc1=Object[_0x32ae99(0x2a2)],_0x477966=(_0x2db7d2,_0xaec086,_0x3d2038,_0xe2e52e)=>{const _0x219027=_0x32ae99;for(var _0x5815f8=_0xe2e52e>0x1?void 0x0:_0xe2e52e?_0x556dc1(_0xaec086,_0x3d2038):_0xaec086,_0x10a6ef=_0x2db7d2[_0x219027(0x1b4)]-0x1,_0x204a8d;_0x10a6ef>=0x0;_0x10a6ef--)(_0x204a8d=_0x2db7d2[_0x10a6ef])&&(_0x5815f8=_0x204a8d(_0x5815f8)||_0x5815f8);return _0x5815f8;},_0x150ba6=(_0x28dae9,_0x5d81d8)=>(_0x5c65d8,_0x22705f)=>_0x5d81d8(_0x5c65d8,_0x22705f,_0x28dae9);_0x451931[_0x32ae99(0x281)]=class extends _0x598862[_0x32ae99(0x313)]{constructor(_0x5d4982,_0xb8004d,_0x3bd5b8,_0x51e70e,_0x1cf62e){const _0x59f177=_0x32ae99;super(),this[_0x59f177(0x2bc)]=_0x5d4982,this[_0x59f177(0xd9)]=_0xb8004d,this[_0x59f177(0x18d)]=_0x3bd5b8,this[_0x59f177(0x101)]=_0x51e70e,_0x1cf62e?_0x1cf62e==null||_0x1cf62e['whenReady']()[_0x59f177(0x2a5)](()=>this[_0x59f177(0x177)]()):(this[_0x59f177(0xd9)][_0x59f177(0xc4)](_0x59f177(0x319),_0x59f177(0x238)),this[_0x59f177(0x177)]());}async[_0x32ae99(0x177)](){const _0xce8fb6=_0x32ae99,_0xaca1ea=this['_urlService'][_0xce8fb6(0x1f4)](_0xce8fb6(0x162)),_0x5c90be=this[_0xce8fb6(0x2bc)][_0xce8fb6(0x1f4)]('type'),_0x1b82b1=this[_0xce8fb6(0x2bc)]['getParam'](_0xce8fb6(0x22c));if(!_0xaca1ea||!_0x5c90be){this['_logService'][_0xce8fb6(0xc4)](_0xce8fb6(0x319),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4c3dfa=await this[_0xce8fb6(0x101)][_0xce8fb6(0x1d5)](_0xaca1ea,Number(_0x5c90be),_0x1b82b1);_0x4c3dfa&&_0x4c3dfa instanceof _0x598862['Workbook']&&this['_setupSubUnitSync'](_0x4c3dfa);}async[_0x32ae99(0x167)](_0x5458d1){const _0x379b84=_0x32ae99;await this[_0x379b84(0x183)](_0x5458d1),_0x5458d1['activeSheet$'][_0x379b84(0x1b2)](_0x48488c['takeUntil'](this[_0x379b84(0x21d)]))[_0x379b84(0x10c)](_0x350acb=>{const _0x51687a=_0x379b84;_0x350acb&&this[_0x51687a(0x1f1)](_0x350acb);}),this[_0x379b84(0x2bc)][_0x379b84(0x277)][_0x379b84(0x1b2)](_0x48488c['takeUntil'](this[_0x379b84(0x21d)]))[_0x379b84(0x10c)](()=>this['_updateSubUnitFromURLParams'](_0x5458d1));}[_0x32ae99(0x1f1)](_0x516993,_0x51214a=!0x1){const _0x48385c=_0x32ae99,_0x3d5b56=this[_0x48385c(0x2bc)]['getParam'](_0x48385c(0x22c));_0x516993[_0x48385c(0x25e)]()!==_0x3d5b56&&this['_urlService'][_0x48385c(0x306)](_0x48385c(0x22c),_0x516993[_0x48385c(0x25e)](),_0x51214a);}async[_0x32ae99(0x183)](_0x17a4fe){const _0x32f01a=_0x32ae99;var _0x52c1fd;const _0xe9d077=this[_0x32f01a(0x2bc)][_0x32f01a(0x1f4)]('subunit');if(!_0xe9d077||!_0x17a4fe[_0x32f01a(0x10e)](_0xe9d077)){const _0x507cdc=_0x17a4fe[_0x32f01a(0xd5)]()[0x0],_0x30da3c=_0x17a4fe[_0x32f01a(0x10e)](_0x507cdc);if(!_0x30da3c)return;this[_0x32f01a(0x1f1)](_0x30da3c,!0x0),await this[_0x32f01a(0x18d)][_0x32f01a(0xd2)](_0x5d62d4[_0x32f01a(0x17b)]['id'],{'unitId':_0x17a4fe['getUnitId'](),'subUnitId':_0x507cdc});return;}((_0x52c1fd=_0x17a4fe[_0x32f01a(0x2b1)]())==null?void 0x0:_0x52c1fd[_0x32f01a(0x25e)]())!==_0xe9d077&&await this['_commandService'][_0x32f01a(0xd2)](_0x5d62d4['SetWorksheetActivateCommand']['id'],{'unitId':_0x17a4fe[_0x32f01a(0x301)](),'subUnitId':_0xe9d077});}},_0x451931[_0x32ae99(0x281)]=_0x477966([_0x150ba6(0x0,_0x5e332f),_0x150ba6(0x1,_0x598862['ILogService']),_0x150ba6(0x2,_0x598862[_0x32ae99(0x140)]),_0x150ba6(0x3,_0x598862['Inject'](_0x4a1c4e['DataLoaderService'])),_0x150ba6(0x4,_0x598862[_0x32ae99(0x165)](_0x32186f[_0x32ae99(0x2f7)]))],_0x451931[_0x32ae99(0x281)]);var _0x32004a=Object[_0x32ae99(0x2a2)],_0x224189=(_0x49e88e,_0x425ea2,_0x42cd2f,_0x12279b)=>{const _0x4156eb=_0x32ae99;for(var _0x2865b6=_0x12279b>0x1?void 0x0:_0x12279b?_0x32004a(_0x425ea2,_0x42cd2f):_0x425ea2,_0x1dc422=_0x49e88e[_0x4156eb(0x1b4)]-0x1,_0x83e67a;_0x1dc422>=0x0;_0x1dc422--)(_0x83e67a=_0x49e88e[_0x1dc422])&&(_0x2865b6=_0x83e67a(_0x2865b6)||_0x2865b6);return _0x2865b6;},_0x43f921=(_0x68c67f,_0x2ce0d6)=>(_0x112c20,_0x60fc9d)=>_0x2ce0d6(_0x112c20,_0x60fc9d,_0x68c67f);let _0x2bb588=class{constructor(_0xb58c09,_0x48ff3a,_0x17897b){const _0x5be9b8=_0x32ae99;this[_0x5be9b8(0x265)]=_0xb58c09,this[_0x5be9b8(0x2ce)]=_0x48ff3a,this['_renderManagerService']=_0x17897b;}[_0x32ae99(0x16b)](_0x420eb0){const _0x2fc84f=_0x32ae99;this[_0x2fc84f(0x34b)](_0x420eb0),this['_transformPreviousActiveRange'](_0x420eb0);}[_0x32ae99(0x28d)](_0x391f27){const _0x1d4a9a=_0x32ae99,{unitID:_0x507f06}=_0x391f27,_0x9fd742=this[_0x1d4a9a(0x136)][_0x1d4a9a(0x284)](_0x507f06)[_0x1d4a9a(0x129)](_0x1b602f[_0x1d4a9a(0x199)]),{redoCache:_0x49702d}=_0x9fd742['getUndoRedoMutationParamsCache']();if(_0x49702d[_0x1d4a9a(0x1b4)]===0x0)return _0x391f27;let _0xccfe0=_0x598862[_0x1d4a9a(0x1ec)][_0x1d4a9a(0x1ef)](_0x391f27['mutations'][0x0]);for(let _0x10a453=0x0;_0x10a453<_0x49702d[_0x1d4a9a(0x1b4)];_0x10a453++){const _0x5328ca={'id':_0x1d4a9a(0x252),'params':{..._0x49702d[_0x10a453]}},_0x49f72f=this['_transformService'][_0x1d4a9a(0x244)](_0xccfe0,_0x5328ca,!0x1);if(_0x3d2f4f[_0x1d4a9a(0x1c8)](_0x49f72f))throw _0x49f72f[_0x1d4a9a(0x24b)];_0xccfe0=_0x49f72f[_0x1d4a9a(0x133)];}return{..._0x598862[_0x1d4a9a(0x1ec)][_0x1d4a9a(0x1ef)](_0x391f27),'mutations':[_0xccfe0]};}[_0x32ae99(0x34b)](_0x590791){const _0x2a1b88=_0x32ae99,{unitID:_0x43535b}=_0x590791,_0x42da70=this['_renderManagerService'][_0x2a1b88(0x284)](_0x43535b)[_0x2a1b88(0x129)](_0x1b602f[_0x2a1b88(0x199)]),{undoCache:_0x473675,redoCache:_0x339262}=_0x42da70[_0x2a1b88(0x1b6)]();if(_0x473675['length']===0x0||_0x339262[_0x2a1b88(0x1b4)]===0x0)return;const _0x5f1953=[],_0x17cd10=[];let _0x1cff13=_0x598862[_0x2a1b88(0x1ec)]['deepClone'](_0x590791[_0x2a1b88(0x2cf)][0x0]),_0x49b91f=_0x598862[_0x2a1b88(0x1ec)][_0x2a1b88(0x1ef)](_0x590791[_0x2a1b88(0x2cf)][0x0]);for(let _0x26df14=_0x473675[_0x2a1b88(0x1b4)]-0x1;_0x26df14>=0x0;_0x26df14--){const _0x1b75d6={'id':_0x2a1b88(0x252),'params':{..._0x473675[_0x26df14]}},_0x110e45={'id':'doc.mutation.rich-text-editing','params':{..._0x339262[_0x26df14]}},_0x17e2c2=this[_0x2a1b88(0x2ce)][_0x2a1b88(0x244)](_0x1cff13,_0x1b75d6,!0x1),_0x5790d6=this[_0x2a1b88(0x2ce)][_0x2a1b88(0x244)](_0x49b91f,_0x110e45,!0x1);if(_0x3d2f4f['isTransformMutationFailure'](_0x17e2c2))throw _0x17e2c2[_0x2a1b88(0x24b)];if(_0x3d2f4f[_0x2a1b88(0x1c8)](_0x5790d6))throw _0x5790d6[_0x2a1b88(0x24b)];_0x5f1953[_0x2a1b88(0x1f5)](_0x17e2c2[_0x2a1b88(0x26c)]['params']),_0x17cd10[_0x2a1b88(0x1f5)](_0x5790d6['m2Prime']['params']),_0x1cff13=_0x17e2c2[_0x2a1b88(0x133)],_0x49b91f=_0x5790d6['m1Prime'];}_0x42da70['setUndoRedoMutationParamsCache']({'undoCache':_0x5f1953,'redoCache':_0x17cd10});}['_transformPreviousActiveRange'](_0x648bea){const _0x245c37=_0x32ae99,{unitID:_0x1d053c}=_0x648bea,_0x40644d=this['_renderManagerService'][_0x245c37(0x284)](_0x1d053c)[_0x245c37(0x129)](_0x1b602f['DocIMEInputManagerService']),_0x4e3688=_0x40644d['getActiveRange']();if(_0x4e3688==null)return;const _0x49c689=[{'id':_0x245c37(0x252),'params':{'unitId':_0x648bea[_0x245c37(0x2e7)],'actions':null,'textRanges':[_0x4e3688]}}],_0x223be9=this[_0x245c37(0x2ce)][_0x245c37(0x273)](_0x648bea,_0x49c689);if(!_0x3d2f4f[_0x245c37(0xd4)](_0x223be9))throw _0x223be9['error'];const _0x1f4d3e=_0x223be9[_0x245c37(0x26c)][0x0][_0x245c37(0x1f7)][_0x245c37(0x33a)];Array['isArray'](_0x1f4d3e)&&_0x1f4d3e['length']&&_0x40644d[_0x245c37(0x1bb)](_0x1f4d3e[0x0]);}};_0x2bb588=_0x224189([_0x43f921(0x0,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x43f921(0x1,_0x3d2f4f['ITransformService']),_0x43f921(0x2,_0x367549['IRenderManagerService'])],_0x2bb588);var _0x5f455f=Object[_0x32ae99(0x2a2)],_0x57b3dd=(_0x47c969,_0x2413e6,_0x3ea35a,_0x27f761)=>{const _0x5980ac=_0x32ae99;for(var _0x4d6398=_0x27f761>0x1?void 0x0:_0x27f761?_0x5f455f(_0x2413e6,_0x3ea35a):_0x2413e6,_0xb1df46=_0x47c969[_0x5980ac(0x1b4)]-0x1,_0x2b12ce;_0xb1df46>=0x0;_0xb1df46--)(_0x2b12ce=_0x47c969[_0xb1df46])&&(_0x4d6398=_0x2b12ce(_0x4d6398)||_0x4d6398);return _0x4d6398;},_0x2dc5f4=(_0x266e3c,_0x16bfa5)=>(_0x1ceb31,_0x459dbe)=>_0x16bfa5(_0x1ceb31,_0x459dbe,_0x266e3c);let _0x408a28=class{constructor(_0x198d09,_0x386496,_0x28402a){const _0x19fae5=_0x32ae99;this[_0x19fae5(0x265)]=_0x198d09,this['_transformService']=_0x386496,this[_0x19fae5(0x298)]=_0x28402a;}[_0x32ae99(0x128)](_0x3671d1){const _0x55d879=_0x32ae99;this[_0x55d879(0x34f)](_0x3671d1);}[_0x32ae99(0x28d)](_0x1ab805){const _0x17c29d=_0x32ae99,{unitID:_0x155217}=_0x1ab805,{collaboration:_0x2a48ec}=this[_0x17c29d(0x298)][_0x17c29d(0x34d)](_0x155217);if(_0x2a48ec['length']===0x0)return _0x1ab805;let _0x3de59c=_0x598862[_0x17c29d(0x1ec)]['deepClone'](_0x1ab805[_0x17c29d(0x2cf)][0x0]);for(let _0x6e2e9=0x0;_0x6e2e9<_0x2a48ec[_0x17c29d(0x1b4)];_0x6e2e9++){const _0x4390bc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a48ec[_0x6e2e9][_0x17c29d(0xca)],..._0x2a48ec[_0x6e2e9]['redoState']}},_0x43d0b5=this[_0x17c29d(0x2ce)][_0x17c29d(0x244)](_0x3de59c,_0x4390bc,!0x1);if(_0x3d2f4f['isTransformMutationFailure'](_0x43d0b5))throw _0x43d0b5[_0x17c29d(0x24b)];_0x3de59c=_0x43d0b5[_0x17c29d(0x133)];}return{..._0x598862['Tools'][_0x17c29d(0x1ef)](_0x1ab805),'mutations':[_0x3de59c]};}[_0x32ae99(0x34f)](_0x4b9eff){const _0x4c1b70=_0x32ae99,{unitID:_0x416b7f}=_0x4b9eff,{history:_0x299430,collaboration:_0x317315}=this[_0x4c1b70(0x298)][_0x4c1b70(0x34d)](_0x416b7f);if(_0x299430[_0x4c1b70(0x1b4)]===0x0&&_0x317315[_0x4c1b70(0x1b4)]===0x0)return;const _0x429cfc=[],_0x45815d=[];let _0x44c676=_0x598862[_0x4c1b70(0x1ec)][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]),_0xb9dfc=_0x598862[_0x4c1b70(0x1ec)][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]);for(let _0x450e87=_0x299430[_0x4c1b70(0x1b4)]-0x1;_0x450e87>=0x0;_0x450e87--){const _0x39f992={'id':_0x4c1b70(0x252),'params':{'unitId':_0x299430[_0x450e87][_0x4c1b70(0xca)],..._0x299430[_0x450e87]['undoState']}},_0x243f58={'id':_0x4c1b70(0x252),'params':{'unitId':_0x299430[_0x450e87][_0x4c1b70(0xca)],..._0x299430[_0x450e87][_0x4c1b70(0x215)]}},_0x4a0766=this['_transformService'][_0x4c1b70(0x244)](_0x44c676,_0x39f992,!0x1),_0x3cae07=this[_0x4c1b70(0x2ce)][_0x4c1b70(0x244)](_0xb9dfc,_0x243f58,!0x1);if(_0x3d2f4f[_0x4c1b70(0x1c8)](_0x4a0766))throw _0x4a0766[_0x4c1b70(0x24b)];if(_0x3d2f4f[_0x4c1b70(0x1c8)](_0x3cae07))throw _0x3cae07[_0x4c1b70(0x24b)];_0x429cfc[_0x4c1b70(0x1f5)]({..._0x299430[_0x450e87],'undoState':_0x4a0766[_0x4c1b70(0x26c)][_0x4c1b70(0x1f7)],'redoState':_0x3cae07[_0x4c1b70(0x26c)][_0x4c1b70(0x1f7)]}),_0x44c676=_0x4a0766['m1Prime'],_0xb9dfc=_0x3cae07[_0x4c1b70(0x133)];}_0x44c676=_0x598862[_0x4c1b70(0x1ec)][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]),_0xb9dfc=_0x598862['Tools'][_0x4c1b70(0x1ef)](_0x4b9eff[_0x4c1b70(0x2cf)][0x0]);for(let _0x1ef491=_0x317315[_0x4c1b70(0x1b4)]-0x1;_0x1ef491>=0x0;_0x1ef491--){const _0x31f4ad={'id':_0x4c1b70(0x252),'params':{'unitId':_0x317315[_0x1ef491][_0x4c1b70(0xca)],..._0x317315[_0x1ef491][_0x4c1b70(0x1d1)]}},_0x32dc07={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x317315[_0x1ef491][_0x4c1b70(0xca)],..._0x317315[_0x1ef491][_0x4c1b70(0x215)]}},_0x58e604=this[_0x4c1b70(0x2ce)][_0x4c1b70(0x244)](_0x44c676,_0x31f4ad,!0x1),_0x39fe35=this[_0x4c1b70(0x2ce)][_0x4c1b70(0x244)](_0xb9dfc,_0x32dc07,!0x1);if(_0x3d2f4f[_0x4c1b70(0x1c8)](_0x58e604))throw _0x58e604['error'];if(_0x3d2f4f['isTransformMutationFailure'](_0x39fe35))throw _0x39fe35[_0x4c1b70(0x24b)];_0x45815d[_0x4c1b70(0x1f5)]({..._0x317315[_0x1ef491],'undoState':_0x58e604[_0x4c1b70(0x26c)][_0x4c1b70(0x1f7)],'redoState':_0x39fe35[_0x4c1b70(0x26c)]['params']}),_0x44c676=_0x58e604[_0x4c1b70(0x133)],_0xb9dfc=_0x39fe35['m1Prime'];}this['_docStateChangeManagerService'][_0x4c1b70(0x1c1)](_0x416b7f,{'history':_0x429cfc,'collaboration':_0x45815d});}};_0x408a28=_0x57b3dd([_0x2dc5f4(0x0,_0x598862['Inject'](_0x598862[_0x32ae99(0x261)])),_0x2dc5f4(0x1,_0x3d2f4f['ITransformService']),_0x2dc5f4(0x2,_0x598862[_0x32ae99(0x331)](_0x1b602f[_0x32ae99(0x311)]))],_0x408a28);var _0x4a82a8=Object['getOwnPropertyDescriptor'],_0xefb417=(_0x3e06b8,_0x5eeb48,_0x18a837,_0x1a5f99)=>{const _0x3a5604=_0x32ae99;for(var _0x1c7f11=_0x1a5f99>0x1?void 0x0:_0x1a5f99?_0x4a82a8(_0x5eeb48,_0x18a837):_0x5eeb48,_0x1d39c2=_0x3e06b8[_0x3a5604(0x1b4)]-0x1,_0x4517c3;_0x1d39c2>=0x0;_0x1d39c2--)(_0x4517c3=_0x3e06b8[_0x1d39c2])&&(_0x1c7f11=_0x4517c3(_0x1c7f11)||_0x1c7f11);return _0x1c7f11;},_0x3d84f4=(_0x358d79,_0x1cfd28)=>(_0x227e61,_0x3f8c9c)=>_0x1cfd28(_0x227e61,_0x3f8c9c,_0x358d79);let _0xa41ddd=class{constructor(_0x2ad031,_0x1edbd4){const _0x1f8d33=_0x32ae99;this[_0x1f8d33(0x265)]=_0x2ad031,this[_0x1f8d33(0x2ce)]=_0x1edbd4;}[_0x32ae99(0x1ee)](_0x2b872f){const _0x266a2f=_0x32ae99;var _0x376e17;const _0x191ff5=this[_0x266a2f(0x265)][_0x266a2f(0x256)](_0x1b1e93[_0x266a2f(0x15e)]),_0x4b2388=(_0x376e17=_0x191ff5[_0x266a2f(0x161)]())!=null?_0x376e17:[];if(_0x4b2388[_0x266a2f(0x1b4)]===0x0)return;const _0x4031a9=_0x2b872f[_0x266a2f(0x2e7)],_0x53a32b=[{'id':_0x266a2f(0x252),'params':{'unitId':_0x4031a9,'actions':null,'textRanges':_0x4b2388}}],_0xcff7a=this[_0x266a2f(0x2ce)][_0x266a2f(0x273)](_0x2b872f,_0x53a32b);if(!_0x3d2f4f[_0x266a2f(0xd4)](_0xcff7a))throw _0xcff7a[_0x266a2f(0x24b)];const _0x42e16e=_0xcff7a['m2Prime'][0x0][_0x266a2f(0x1f7)][_0x266a2f(0x33a)];Array[_0x266a2f(0x30d)](_0x42e16e)&&_0x42e16e[_0x266a2f(0x1b4)]&&_0x191ff5[_0x266a2f(0x11c)](_0x42e16e,{'unitId':_0x4031a9,'subUnitId':_0x4031a9},!0x1);}};_0xa41ddd=_0xefb417([_0x3d84f4(0x0,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x3d84f4(0x1,_0x3d2f4f[_0x32ae99(0x305)])],_0xa41ddd);var _0x5c53fe=Object[_0x32ae99(0x2a2)],_0x1bba21=(_0x42c29b,_0x60cb12,_0x199305,_0x1276a0)=>{for(var _0x38c7e=_0x1276a0>0x1?void 0x0:_0x1276a0?_0x5c53fe(_0x60cb12,_0x199305):_0x60cb12,_0x1d17a8=_0x42c29b['length']-0x1,_0x2fe952;_0x1d17a8>=0x0;_0x1d17a8--)(_0x2fe952=_0x42c29b[_0x1d17a8])&&(_0x38c7e=_0x2fe952(_0x38c7e)||_0x38c7e);return _0x38c7e;},_0x9c5fd9=(_0x442d44,_0x52edae)=>(_0x416c6b,_0x18bfb0)=>_0x52edae(_0x416c6b,_0x18bfb0,_0x442d44);let _0x3be24b=class extends _0x598862['Disposable']{constructor(_0x17b0b0,_0x27ded7,_0x8c202,_0x211957,_0x20a9b2,_0x1eeb91,_0x2b988e,_0x4e94a5){const _0x148926=_0x32ae99;super(),_0x4c36ff(this,_0x148926(0x1ab),new _0x48488c[(_0x148926(0x341))](_0x4a1c4e['CollaborationStatus'][_0x148926(0x188)])),(this[_0x148926(0x298)]=_0x17b0b0,this['_collaborationController']=_0x27ded7,this[_0x148926(0x2e4)]=_0x8c202,this[_0x148926(0x176)]=_0x211957,this[_0x148926(0x181)]=_0x20a9b2,this[_0x148926(0x2f0)]=_0x1eeb91,this[_0x148926(0x296)]=_0x2b988e,this[_0x148926(0x2e2)]=_0x4e94a5,this[_0x148926(0xf5)]());}[_0x32ae99(0xf5)](){const _0xefdb25=_0x32ae99;this[_0xefdb25(0x14d)](this[_0xefdb25(0x1d7)][_0xefdb25(0x304)][_0xefdb25(0x10c)](_0x151e0f=>{const _0x12c235=_0xefdb25,_0x1417ef=this['_docStateChangeManagerService'][_0x12c235(0x236)]['subscribe'](_0x119d6c=>{const _0x425cae=_0x12c235;if(_0x119d6c==null)return;const {unitId:_0x1cfbd0,redoState:_0x4082f4,commandId:_0x2ffedd}=_0x119d6c;if(_0x1cfbd0!==_0x151e0f[_0x425cae(0x2e7)])return;const _0x469bac={'id':_0x2ffedd,'type':_0x598862['CommandType'][_0x425cae(0x309)],'params':{'unitId':_0x1cfbd0,'actions':_0x4082f4['actions'],'textRanges':null}};_0x151e0f[_0x425cae(0x186)](_0x469bac);});if(_0x151e0f[_0x12c235(0x14d)](_0x1417ef),_0x151e0f instanceof _0x4a1c4e[_0x12c235(0xe7)]){const _0x375ce6={'onTransformIME':_0x377945=>this[_0x12c235(0x2e4)][_0x12c235(0x16b)](_0x377945),'onTransformState':_0x274348=>this[_0x12c235(0x176)][_0x12c235(0x128)](_0x274348),'onTransformSelections':_0x4e7075=>this['_docTransformSelectionsService']['transformSelections'](_0x4e7075),'onSyncEditingCollabCursor':_0x226bc3=>this[_0x12c235(0x2f0)][_0x12c235(0x138)](_0x226bc3),'onTransformRemoteChangesetByIMECache':_0x4f1b64=>this[_0x12c235(0x2e4)][_0x12c235(0x28d)](_0x4f1b64),'onTransformRemoteChangesetByStateCache':_0x585906=>this['_docTransformStateCacheService'][_0x12c235(0x28d)](_0x585906)};_0x151e0f[_0x12c235(0x124)](_0x375ce6);}}));}};_0x3be24b=_0x1bba21([_0x9c5fd9(0x0,_0x598862['Inject'](_0x1b602f[_0x32ae99(0x311)])),_0x9c5fd9(0x1,_0x598862['Inject'](_0x4a1c4e[_0x32ae99(0x280)])),_0x9c5fd9(0x2,_0x598862['Inject'](_0x2bb588)),_0x9c5fd9(0x3,_0x598862[_0x32ae99(0x331)](_0x408a28)),_0x9c5fd9(0x4,_0x598862[_0x32ae99(0x331)](_0xa41ddd)),_0x9c5fd9(0x5,_0x598862[_0x32ae99(0x331)](_0x372583)),_0x9c5fd9(0x6,_0x2767d2['IMessageService']),_0x9c5fd9(0x7,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x2b7)]))],_0x3be24b);var _0x37ebb6=Object[_0x32ae99(0x2a2)],_0x41f9b6=(_0x11f2f5,_0x5c0bb7,_0x28c7a3,_0x1604dc)=>{const _0xb3477f=_0x32ae99;for(var _0x26cf06=_0x1604dc>0x1?void 0x0:_0x1604dc?_0x37ebb6(_0x5c0bb7,_0x28c7a3):_0x5c0bb7,_0x50bc63=_0x11f2f5[_0xb3477f(0x1b4)]-0x1,_0xdad9f2;_0x50bc63>=0x0;_0x50bc63--)(_0xdad9f2=_0x11f2f5[_0x50bc63])&&(_0x26cf06=_0xdad9f2(_0x26cf06)||_0x26cf06);return _0x26cf06;},_0x3642de=(_0x35ef92,_0xec4d69)=>(_0xcef1b0,_0x2503be)=>_0xec4d69(_0xcef1b0,_0x2503be,_0x35ef92);let _0x48531a=class extends _0x598862[_0x32ae99(0x190)]{constructor(_0x3fe276,_0x2d2f6a,_0x3e311b){const _0x298682=_0x32ae99;super(),_0x4c36ff(this,_0x298682(0x251),new Map()),_0x4c36ff(this,'_saveTaskMap',new Map()),_0x4c36ff(this,_0x298682(0x1ac),!0x1),(this[_0x298682(0xe8)]=_0x3fe276,this[_0x298682(0x1e5)]=_0x2d2f6a,this['_revisionService']=_0x3e311b);}[_0x32ae99(0x19f)](){const _0x5d2711=_0x32ae99;this[_0x5d2711(0x1ac)]=!0x0;}[_0x32ae99(0x2b2)](){const _0x3d510b=_0x32ae99;this[_0x3d510b(0x1ac)]=!0x1;}get[_0x32ae99(0x14f)](){const _0x367b75=_0x32ae99;return this[_0x367b75(0x104)];}[_0x32ae99(0x195)](){const _0x30b13d=_0x32ae99;this[_0x30b13d(0x1b3)]()[_0x30b13d(0x2a5)](()=>super[_0x30b13d(0x195)]());}async[_0x32ae99(0x24f)](_0x63126d){const _0x16277c=_0x32ae99;return this[_0x16277c(0x1ac)]?null:this['_localStorageService'][_0x16277c(0x279)](_0x4a1c4e[_0x16277c(0x22f)](_0x63126d));}async[_0x32ae99(0x247)](_0x5e9da3,_0x2b5f60){const _0x16c174=_0x32ae99;return!!this[_0x16c174(0x1e5)][_0x16c174(0xdd)](_0x5e9da3,_0x2b5f60);}[_0x32ae99(0x1cf)](_0x236831,_0x4c89f2,_0x4d6b95,_0x361ed8){const _0x52c99d=_0x32ae99,_0x202fe7=this['_revisionService']['getCurrentRevOfUnit'](_0x236831);this[_0x52c99d(0x251)][_0x52c99d(0x33f)](_0x236831,{'unitID':_0x236831,'type':_0x4c89f2,'awaitingChangeset':_0x4d6b95,'mutations':_0x361ed8,'rev':_0x202fe7}),this[_0x52c99d(0x104)]['has'](_0x236831)||this[_0x52c99d(0x172)](_0x236831);}[_0x32ae99(0x172)](_0x13ab83){const _0x7689cf=_0x32ae99,_0x7d1072=this[_0x7689cf(0x33e)]();_0x7d1072===0x0?this[_0x7689cf(0x103)](_0x13ab83):this[_0x7689cf(0x104)][_0x7689cf(0x33f)](_0x13ab83,setTimeout(()=>this[_0x7689cf(0x103)](_0x13ab83),_0x7d1072));}['_getSaveTimeout'](){const _0x4650ae=_0x32ae99;var _0x1d571d;return(_0x1d571d=this[_0x4650ae(0xe8)]['getConfig'](_0x4a1c4e[_0x4650ae(0x1ff)]))!=null?_0x1d571d:_0x4a1c4e[_0x4650ae(0x19c)];}[_0x32ae99(0x103)](_0x51a70c){const _0x2fa61f=_0x32ae99,_0x443f2f=this[_0x2fa61f(0x104)][_0x2fa61f(0x256)](_0x51a70c);return _0x443f2f!==void 0x0&&window[_0x2fa61f(0x17e)](_0x443f2f),this[_0x2fa61f(0x1e5)]['setItem'](_0x4a1c4e[_0x2fa61f(0x22f)](_0x51a70c),this[_0x2fa61f(0x251)][_0x2fa61f(0x256)](_0x51a70c))[_0x2fa61f(0x2a5)](()=>this['_saveTaskMap']['delete'](_0x51a70c));}async['exhaustSavingTask'](){const _0xdf26bb=[];this['_saveTaskMap']['forEach']((_0x4e4aea,_0x26910c)=>{const _0x2287e2=_0x37bd;window[_0x2287e2(0x17e)](_0x4e4aea),_0xdf26bb['push'](this[_0x2287e2(0x103)](_0x26910c)[_0x2287e2(0x2a5)](()=>{const _0x36c980=_0x2287e2;this['_saveTaskMap'][_0x36c980(0xc8)](_0x26910c);}));}),await Promise['all'](_0xdf26bb);}};_0x48531a=_0x41f9b6([_0x3642de(0x0,_0x598862['IConfigService']),_0x3642de(0x1,_0x598862[_0x32ae99(0x1f2)]),_0x3642de(0x2,_0x598862[_0x32ae99(0x331)](_0x3d2f4f[_0x32ae99(0x1e2)]))],_0x48531a);class _0x485c4c extends _0x598862[_0x32ae99(0x313)]{constructor(){const _0x2f88fc=_0x32ae99;super(),_0x4c36ff(this,_0x2f88fc(0x277)),this[_0x2f88fc(0x277)]=_0x48488c[_0x2f88fc(0x1a6)](window,'popstate')[_0x2f88fc(0x1b2)](_0x48488c[_0x2f88fc(0x344)](this[_0x2f88fc(0x21d)]),_0x48488c['shareReplay'](0x1),_0x48488c[_0x2f88fc(0x26d)](void 0x0));}[_0x32ae99(0x306)](_0x53260c,_0x2e81dc,_0xb1c30=!0x1){const _0x52bac4=_0x32ae99,_0x10b979=new URL(window['location'][_0x52bac4(0x28b)]);_0x10b979[_0x52bac4(0x1d6)]['set'](_0x53260c,_0x2e81dc),_0xb1c30?window[_0x52bac4(0x32f)]['replaceState']('','',_0x10b979['toString']()):window[_0x52bac4(0x32f)][_0x52bac4(0x1fa)]('','',_0x10b979[_0x52bac4(0x200)]());}['removeParam'](_0x369c1b,_0x15dc08=!0x1){const _0x29c340=_0x32ae99,_0x10d7b4=new URL(window[_0x29c340(0x12e)]['href']);_0x10d7b4['searchParams']['delete'](_0x369c1b),_0x15dc08?window[_0x29c340(0x32f)][_0x29c340(0x32b)]('','',_0x10d7b4[_0x29c340(0x200)]()):window[_0x29c340(0x32f)]['pushState']('','',_0x10d7b4[_0x29c340(0x200)]());}[_0x32ae99(0x1f4)](_0x2aed26){const _0x4d49a8=_0x32ae99;var _0x415935;return(_0x415935=new URL(window[_0x4d49a8(0x12e)][_0x4d49a8(0x28b)])[_0x4d49a8(0x1d6)]['get'](_0x2aed26))!=null?_0x415935:void 0x0;}}var _0x35b6fe=Object[_0x32ae99(0x2e3)],_0x4a9458=Object['getOwnPropertyDescriptor'],_0x3b4563=(_0x188b18,_0x2faf52,_0x29b033)=>_0x2faf52 in _0x188b18?_0x35b6fe(_0x188b18,_0x2faf52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29b033}):_0x188b18[_0x2faf52]=_0x29b033,_0x599098=(_0x91c5b2,_0x592fe7,_0xb0d5b2,_0x1c9c7d)=>{const _0x1d6533=_0x32ae99;for(var _0x10fa4d=_0x1c9c7d>0x1?void 0x0:_0x1c9c7d?_0x4a9458(_0x592fe7,_0xb0d5b2):_0x592fe7,_0x290949=_0x91c5b2[_0x1d6533(0x1b4)]-0x1,_0x309aff;_0x290949>=0x0;_0x290949--)(_0x309aff=_0x91c5b2[_0x290949])&&(_0x10fa4d=_0x309aff(_0x10fa4d)||_0x10fa4d);return _0x10fa4d;},_0x28c546=(_0x493590,_0x527301)=>(_0x55d808,_0x36c2a3)=>_0x527301(_0x55d808,_0x36c2a3,_0x493590),_0x4ce6e9=(_0x506301,_0x1f98a3,_0xdf6ac0)=>_0x3b4563(_0x506301,_0x1f98a3+'',_0xdf6ac0);const _0x63a44d=_0x32ae99(0x275);_0x451931['UniverCollaborationClientUIPlugin']=class extends _0x598862[_0x32ae99(0x1c7)]{constructor(_0x58cfa9=_0x3c5da6,_0x45c19f,_0x2eede6,_0x327006){const _0x37c017=_0x32ae99;super(),this[_0x37c017(0x185)]=_0x58cfa9,this[_0x37c017(0x136)]=_0x45c19f,this[_0x37c017(0x265)]=_0x2eede6,this[_0x37c017(0xe8)]=_0x327006;const {..._0x2127ea}=_0x598862[_0x37c017(0x16d)]({},_0x3c5da6,this[_0x37c017(0x185)]);this[_0x37c017(0xe8)][_0x37c017(0x135)](_0x31e65a,_0x2127ea);}[_0x32ae99(0x1b9)](){const _0x53778e=_0x32ae99;this[_0x53778e(0x144)](),this[_0x53778e(0x330)]();}[_0x32ae99(0x17f)](){const _0x55fac3=_0x32ae99;this[_0x55fac3(0x32c)]();}[_0x32ae99(0x144)](){const _0x5f4bb8=_0x32ae99;var _0x4e1575;const _0x3be051=[[_0x1ab617],[_0xa41ddd],[_0x2bb588],[_0x408a28],[_0x372583],[_0x5e332f,{'useClass':_0x485c4c}],[_0x29c365['ISocketService'],{'useClass':_0x29c365[_0x5f4bb8(0x1b7)]}],[_0x4a1c4e['ILocalCacheService'],{'useClass':_0x48531a}],[_0x451931[_0x5f4bb8(0x11e)]],[_0x3be24b],[_0x10fa12],[_0x10d2fa],[_0x459f92],[_0x451931['CollaborationDataLoaderController']]];_0x598862[_0x5f4bb8(0x151)](this['_injector'],_0x598862[_0x5f4bb8(0x340)](_0x3be051,(_0x4e1575=this['_config'])==null?void 0x0:_0x4e1575[_0x5f4bb8(0x23f)]));}[_0x32ae99(0x32c)](){const _0x5d3311=_0x32ae99;this[_0x5d3311(0x14d)](this[_0x5d3311(0x136)][_0x5d3311(0x334)](_0x598862[_0x5d3311(0x164)][_0x5d3311(0x24d)],[_0x259b08])),this[_0x5d3311(0x14d)](this[_0x5d3311(0x136)]['registerRenderModule'](_0x598862[_0x5d3311(0x164)]['UNIVER_SHEET'],[_0x126a01]));}[_0x32ae99(0x330)](){const _0x3541fd=_0x32ae99;_0x598862[_0x3541fd(0x220)](this[_0x3541fd(0x265)],[[_0x10d2fa],[_0x451931['DesktopCollaborationStatusDisplayController']],[_0x3be24b],[_0x10fa12],[_0x451931[_0x3541fd(0x281)]]]);}},_0x4ce6e9(_0x451931[_0x32ae99(0x1ce)],'pluginName',_0x63a44d),_0x451931[_0x32ae99(0x1ce)]=_0x599098([_0x598862[_0x32ae99(0x27f)](_0x4a1c4e[_0x32ae99(0xde)]),_0x28c546(0x1,_0x367549[_0x32ae99(0x240)]),_0x28c546(0x2,_0x598862[_0x32ae99(0x331)](_0x598862[_0x32ae99(0x261)])),_0x28c546(0x3,_0x598862['IConfigService'])],_0x451931[_0x32ae99(0x1ce)]);var _0x4c8eba=Object[_0x32ae99(0x2a2)],_0x1f5d95=(_0x3e7c76,_0x3183cd,_0x2c04a9,_0x197d46)=>{const _0x8b443=_0x32ae99;for(var _0x47e90a=_0x197d46>0x1?void 0x0:_0x197d46?_0x4c8eba(_0x3183cd,_0x2c04a9):_0x3183cd,_0x276cd7=_0x3e7c76[_0x8b443(0x1b4)]-0x1,_0x22d87e;_0x276cd7>=0x0;_0x276cd7--)(_0x22d87e=_0x3e7c76[_0x276cd7])&&(_0x47e90a=_0x22d87e(_0x47e90a)||_0x47e90a);return _0x47e90a;},_0xc43e97=(_0x42be41,_0x598b61)=>(_0xa8cb09,_0x3945b0)=>_0x598b61(_0xa8cb09,_0x3945b0,_0x42be41);_0x451931[_0x32ae99(0x2b9)]=class extends _0x4a1c4e[_0x32ae99(0x22e)]{constructor(_0x5e45a7,_0x10645d,_0x4858c7,_0x18f242,_0x371526){super(_0x5e45a7,_0x10645d,_0x4858c7,_0x18f242,_0x371526);}async['createSocket'](_0x2be50a){const _0x1fa389=_0x32ae99,_0x34468b=await this[_0x1fa389(0x1e7)](),_0xef450b=this[_0x1fa389(0x216)](_0x2be50a,_0x34468b);return this[_0x1fa389(0x118)](_0xef450b);}[_0x32ae99(0x216)](_0x33805e,_0xf29b85){const _0x2a2854=_0x32ae99,_0x355414=typeof window>'u'?new URL(_0x33805e):new URL(_0x33805e,window[_0x2a2854(0x12e)][_0x2a2854(0x10f)]);_0x355414[_0x2a2854(0x1d6)][_0x2a2854(0x33f)](_0x2a2854(0xfb),_0xf29b85);const _0x354271=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a2854(0x12e)]['search']);return _0x354271[_0x2a2854(0x256)]('runId')&&_0x355414[_0x2a2854(0x1d6)]['set'](_0x2a2854(0x2ad),_0x354271[_0x2a2854(0x256)](_0x2a2854(0x2ad))),_0x355414[_0x2a2854(0x200)]();}async[_0x32ae99(0x1e7)](){const _0x3e58c5=_0x32ae99;var _0xb240b9,_0x517772,_0x5cb904;const _0x1bf592=this[_0x3e58c5(0xe8)][_0x3e58c5(0x13b)](_0x4a1c4e[_0x3e58c5(0xdf)]),_0x15f9ee=(_0xb240b9=_0x1bf592==null?void 0x0:_0x1bf592[_0x3e58c5(0x227)])!=null?_0xb240b9:_0x4a1c4e['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x5cb904=(_0x517772=(await this[_0x3e58c5(0x21a)][_0x3e58c5(0x256)](_0x15f9ee,{'headers':{'Content-Type':'application/json'}}))[_0x3e58c5(0x2dc)])==null?void 0x0:_0x517772[_0x3e58c5(0x287)])!=null?_0x5cb904:'';}},_0x451931[_0x32ae99(0x2b9)]=_0x1f5d95([_0xc43e97(0x0,_0x598862['Inject'](_0x598862[_0x32ae99(0x261)])),_0xc43e97(0x1,_0x598862[_0x32ae99(0x331)](_0x29c365[_0x32ae99(0x13d)])),_0xc43e97(0x2,_0x598862[_0x32ae99(0x1fb)]),_0xc43e97(0x3,_0x598862[_0x32ae99(0x2f6)]),_0xc43e97(0x4,_0x3d2f4f[_0x32ae99(0x288)])],_0x451931['BrowserCollaborationSocketService']);const _0x2dd414=0x7530,_0x4eb970=_0x32ae99(0x1f6);class _0x54849d extends _0x598862[_0x32ae99(0x190)]{constructor(){const _0x8d97b3=_0x32ae99;super(),_0x4c36ff(this,_0x8d97b3(0x349),_0x598862['generateRandomId']()),_0x4c36ff(this,'_selfUnitIDs',new Set()),_0x4c36ff(this,_0x8d97b3(0x2a4),new Map()),_0x4c36ff(this,_0x8d97b3(0x1cd),null),_0x4c36ff(this,_0x8d97b3(0x314),new Map()),_0x4c36ff(this,_0x8d97b3(0x29e),new Map()),this[_0x8d97b3(0x177)]();}[_0x32ae99(0x195)](){const _0x13a4d0=_0x32ae99;super[_0x13a4d0(0x195)](),this[_0x13a4d0(0x314)][_0x13a4d0(0x12a)]((_0x459f90,_0x26a008)=>this['_removeClearOtherTimer'](_0x26a008)),this[_0x13a4d0(0x1cd)]&&window[_0x13a4d0(0x25d)](this[_0x13a4d0(0x1cd)]);}[_0x32ae99(0x21c)](_0x33ef69){const _0x253db9=_0x32ae99;return this['_ensureSubject'](_0x33ef69)['pipe'](_0x48488c[_0x253db9(0x1da)]());}['editingUnit'](_0x91ed2f){const _0x3ae4aa=_0x32ae99;this['_selfUnitIDs'][_0x3ae4aa(0x142)]===0x0&&this[_0x3ae4aa(0x1c2)](),this['_selfUnitIDs']['add'](_0x91ed2f),this['_send']({'type':0x0,'memberID':this[_0x3ae4aa(0x349)],'unitIDs':[_0x91ed2f],'isForwarded':!0x1});}['disposeUnit'](_0x44cace){const _0x4fa448=_0x32ae99;this[_0x4fa448(0x234)][_0x4fa448(0xc8)](_0x44cace),this[_0x4fa448(0x234)][_0x4fa448(0x142)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x4fa448(0x1cd)]);}['_init'](){const _0x5df5e0=_0x32ae99;this[_0x5df5e0(0x14d)](_0x598862[_0x5df5e0(0x343)](_0x48488c['fromEvent'](window,'storage')[_0x5df5e0(0x10c)](_0x272a76=>{const _0x129094=_0x5df5e0;if(_0x272a76[_0x129094(0xcb)]!==_0x4eb970||!_0x272a76[_0x129094(0x2ee)])return;const _0x3a7b62=JSON['parse'](_0x272a76[_0x129094(0x2ee)]);this[_0x129094(0x2f8)](_0x3a7b62);}))),window[_0x5df5e0(0x26b)](_0x5df5e0(0xd6),()=>this[_0x5df5e0(0x16e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5df5e0(0x2eb)](this[_0x5df5e0(0x234)])}));}[_0x32ae99(0x2f8)](_0x532c50){const _0x157425=_0x32ae99;switch(_0x532c50[_0x157425(0x32e)]){case 0x0:this[_0x157425(0x20b)](_0x532c50);break;case 0x1:this[_0x157425(0x2c7)](_0x532c50);break;case 0x2:this[_0x157425(0x1a3)](_0x532c50);break;}}['_handleJoinEvent'](_0x29612d){const _0x1a66ef=_0x32ae99,{unitIDs:_0x3d19cd,memberID:_0x1b5bd5,isForwarded:_0x47a98f}=_0x29612d;_0x3d19cd[_0x1a66ef(0x12a)](_0x1d48d2=>{const _0x550372=_0x1a66ef;if(!_0x47a98f&&this['_unitOnClients'][_0x550372(0x243)](_0x1d48d2)&&this[_0x550372(0x250)](_0x1d48d2)[_0x550372(0x1ca)](_0x4a1c4e[_0x550372(0x285)][_0x550372(0x18b)]),!this[_0x550372(0x2a4)][_0x550372(0x243)](_0x1d48d2)||!this[_0x550372(0x2a4)]['get'](_0x1d48d2)[_0x550372(0x243)](_0x1b5bd5)){const _0x2795c2=this[_0x550372(0x2a4)][_0x550372(0x256)](_0x1d48d2)||new Set();_0x2795c2['add'](_0x1b5bd5),this[_0x550372(0x2a4)][_0x550372(0x33f)](_0x1d48d2,_0x2795c2),this['_scheduleClearOtherTimer'](_0x1b5bd5);}}),_0x47a98f||this[_0x1a66ef(0x16e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x32ae99(0x2bf)](_0x51e560){const _0x2bf3f2=_0x32ae99;this[_0x2bf3f2(0x21b)](_0x51e560);const _0x56d892=window[_0x2bf3f2(0x207)](()=>{const _0x5b0ce5=_0x2bf3f2;this[_0x5b0ce5(0x2a4)][_0x5b0ce5(0x12a)](_0x54a5c3=>{const _0x477472=_0x5b0ce5;_0x54a5c3[_0x477472(0xc8)](_0x51e560);});},_0x2dd414*0x2);this[_0x2bf3f2(0x314)][_0x2bf3f2(0x33f)](_0x51e560,_0x56d892);}['_removeClearOtherTimer'](_0x3a8107){const _0x30072e=_0x32ae99;if(this[_0x30072e(0x314)][_0x30072e(0x243)](_0x3a8107)){const _0x19440b=this['_clearOtherTimers'][_0x30072e(0x256)](_0x3a8107);_0x19440b&&window[_0x30072e(0x17e)](_0x19440b),this[_0x30072e(0x314)]['set'](_0x3a8107,null);}}[_0x32ae99(0x2c7)](_0x17ce82){const _0x2e571b=_0x32ae99,{memberID:_0x276245,unitIDs:_0x7864d5}=_0x17ce82;_0x7864d5[_0x2e571b(0x12a)](_0x4ddb17=>{const _0x437c34=_0x2e571b;var _0x27c6f5;const _0x5a9e6b=this[_0x437c34(0x2a4)][_0x437c34(0x256)](_0x4ddb17);_0x5a9e6b&&(_0x5a9e6b['delete'](_0x276245),(_0x27c6f5=this['_ensureSubject'](_0x4ddb17))==null||_0x27c6f5['next'](_0x5a9e6b[_0x437c34(0x142)]===0x0?_0x4a1c4e[_0x437c34(0x285)][_0x437c34(0x1fe)]:_0x4a1c4e[_0x437c34(0x285)][_0x437c34(0x18b)]));}),this['_removeClearOtherTimer'](_0x276245);}[_0x32ae99(0x1a3)](_0x2f663d){const _0x2ed20c=_0x32ae99;this[_0x2ed20c(0x2bf)](_0x2f663d[_0x2ed20c(0x106)]);}['_send'](_0x3dbb7d){const _0x321222=_0x32ae99;localStorage['setItem'](_0x4eb970,JSON[_0x321222(0x12f)](_0x3dbb7d));}[_0x32ae99(0x1c2)](){const _0x51ba3c=_0x32ae99;this[_0x51ba3c(0x1cd)]=window['setInterval'](()=>{const _0x58a992=_0x51ba3c;this['_send']({'type':0x2,'memberID':this[_0x58a992(0x349)]});},_0x2dd414);}[_0x32ae99(0x250)](_0x13cf6f){const _0xfec69e=_0x32ae99;return this[_0xfec69e(0x29e)][_0xfec69e(0x243)](_0x13cf6f)||this['_unitStatus'][_0xfec69e(0x33f)](_0x13cf6f,new _0x48488c[(_0xfec69e(0x341))](_0x4a1c4e[_0xfec69e(0x285)]['NO_OTHER_CLIENTS_EDITING'])),this[_0xfec69e(0x29e)][_0xfec69e(0x256)](_0x13cf6f);}}var _0x4bf53=(_0x475afd=>(_0x475afd[_0x475afd[_0x32ae99(0x1c0)]=0x0]=_0x32ae99(0x1c0),_0x475afd[_0x475afd['OK']=0x1]='OK',_0x475afd[_0x475afd[_0x32ae99(0x2ab)]=0x2]=_0x32ae99(0x2ab),_0x475afd[_0x475afd[_0x32ae99(0x1af)]=0x3]='PERMISSION_DENIED',_0x475afd[_0x475afd[_0x32ae99(0x105)]=0x4]=_0x32ae99(0x105),_0x475afd[_0x475afd['UNAUTHENTICATED']=0x5]=_0x32ae99(0x1d2),_0x475afd[_0x475afd['ALREADY_EXISTS']=0x6]=_0x32ae99(0x28e),_0x475afd[_0x475afd[_0x32ae99(0x332)]=0x7]='INVALID_ARGUMENT',_0x475afd[_0x475afd[_0x32ae99(0x189)]=0x8]=_0x32ae99(0x189),_0x475afd[_0x475afd[_0x32ae99(0x242)]=0x9]=_0x32ae99(0x242),_0x475afd[_0x475afd['LOGIN_FAILED']=0xa]=_0x32ae99(0x326),_0x475afd[_0x475afd[_0x32ae99(0x25b)]=0x1389]=_0x32ae99(0x25b),_0x475afd[_0x475afd['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x32ae99(0x218),_0x475afd[_0x475afd[_0x32ae99(0x1a4)]=0x1772]=_0x32ae99(0x1a4),_0x475afd[_0x475afd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x32ae99(0x1d3),_0x475afd[_0x475afd[_0x32ae99(0x321)]=0x1b59]=_0x32ae99(0x321),_0x475afd[_0x475afd[_0x32ae99(0x2cc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x475afd[_0x475afd[_0x32ae99(0x260)]=0x1b5b]=_0x32ae99(0x260),_0x475afd[_0x475afd[_0x32ae99(0x2d5)]=0x1b5c]=_0x32ae99(0x2d5),_0x475afd[_0x475afd[_0x32ae99(0x31f)]=0x1b5d]=_0x32ae99(0x31f),_0x475afd[_0x475afd[_0x32ae99(0x286)]=0x1f41]=_0x32ae99(0x286),_0x475afd[_0x475afd[_0x32ae99(0x1db)]=0x2329]=_0x32ae99(0x1db),_0x475afd[_0x475afd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x475afd[_0x475afd[_0x32ae99(0x29a)]=0x232b]=_0x32ae99(0x29a),_0x475afd[_0x475afd[_0x32ae99(0x1df)]=0x232c]=_0x32ae99(0x1df),_0x475afd[_0x475afd[_0x32ae99(0x205)]=0x232d]=_0x32ae99(0x205),_0x475afd[_0x475afd[_0x32ae99(0xcc)]=0x2711]=_0x32ae99(0xcc),_0x475afd[_0x475afd[_0x32ae99(0x1f0)]=0x2712]=_0x32ae99(0x1f0),_0x475afd[_0x475afd[_0x32ae99(0x323)]=0x2713]=_0x32ae99(0x323),_0x475afd[_0x475afd[_0x32ae99(0x1ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x475afd[_0x475afd[_0x32ae99(0x163)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x475afd[_0x475afd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x32ae99(0x19a),_0x475afd[_0x475afd[_0x32ae99(0x327)]=0x271c]=_0x32ae99(0x327),_0x475afd[_0x475afd[_0x32ae99(0x316)]=0x271d]=_0x32ae99(0x316),_0x475afd[_0x475afd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x32ae99(0x125),_0x475afd[_0x475afd['YUUMI_AI_RUN_FAILED']=0x271f]=_0x32ae99(0x276),_0x475afd[_0x475afd[_0x32ae99(0x20a)]=0x2af9]=_0x32ae99(0x20a),_0x475afd[_0x475afd[_0x32ae99(0xc7)]=0x2ee1]=_0x32ae99(0xc7),_0x475afd[_0x475afd[_0x32ae99(0x317)]=0x2ee2]=_0x32ae99(0x317),_0x475afd[_0x475afd[_0x32ae99(0x160)]=0x2ee3]=_0x32ae99(0x160),_0x475afd[_0x475afd[_0x32ae99(0x18f)]=0x2ee4]=_0x32ae99(0x18f),_0x475afd[_0x475afd[_0x32ae99(0x16c)]=0x2ee5]=_0x32ae99(0x16c),_0x475afd[_0x475afd[_0x32ae99(0x29b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x475afd[_0x475afd[_0x32ae99(0x1dd)]=0x32ca]=_0x32ae99(0x1dd),_0x475afd[_0x475afd['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x32ae99(0x269),_0x475afd[_0x475afd[_0x32ae99(0x23d)]=-0x1]=_0x32ae99(0x23d),_0x475afd))(_0x4bf53||{}),_0x26f3a5=Object[_0x32ae99(0x2a2)],_0x1ef545=(_0xb68c06,_0x257fc9,_0x64f8a2,_0x1332dc)=>{const _0x4edbf8=_0x32ae99;for(var _0x47faf3=_0x1332dc>0x1?void 0x0:_0x1332dc?_0x26f3a5(_0x257fc9,_0x64f8a2):_0x257fc9,_0x3e8aa7=_0xb68c06[_0x4edbf8(0x1b4)]-0x1,_0x529b4a;_0x3e8aa7>=0x0;_0x3e8aa7--)(_0x529b4a=_0xb68c06[_0x3e8aa7])&&(_0x47faf3=_0x529b4a(_0x47faf3)||_0x47faf3);return _0x47faf3;},_0x14101a=(_0x5671fb,_0x5caa23)=>(_0x300916,_0x218397)=>_0x5caa23(_0x300916,_0x218397,_0x5671fb);_0x451931[_0x32ae99(0x127)]=class extends _0x598862[_0x32ae99(0x190)]{constructor(_0x1fe0ec,_0x39fae0,_0x2978ec){const _0x171b37=_0x32ae99;super(),this[_0x171b37(0xdb)]=_0x1fe0ec,this[_0x171b37(0x21a)]=_0x39fae0,this[_0x171b37(0xe8)]=_0x2978ec;}async[_0x32ae99(0x1d0)](_0x26776c,_0x26c871,_0x560c42,..._0xd76902){const _0x586bfa=_0x32ae99;var _0x5dab55,_0x199e91,_0x29f955,_0x5d3c8a;const _0x58c033=this[_0x586bfa(0xdb)][_0x586bfa(0xfd)]();if(!_0x58c033)throw new Error(_0x586bfa(0x335));const _0x1eb3ca=((_0x5dab55=this[_0x586bfa(0xe8)][_0x586bfa(0x13b)](_0x4a1c4e[_0x586bfa(0xc5)]))!=null?_0x5dab55:_0x4a1c4e[_0x586bfa(0x1e4)])+'/'+_0x26776c+_0x586bfa(0x27c)+_0x26c871,_0x5d11e=new URL(window[_0x586bfa(0x12e)][_0x586bfa(0x28b)]),_0x128b5d={'scriptId':_0x26776c,'runId':(_0x199e91=_0x5d11e[_0x586bfa(0x1d6)][_0x586bfa(0x256)]('runId'))!=null?_0x199e91:'','function':_0x26c871,'unitId':_0x58c033['getUnitId'](),'argsOfFunction':JSON[_0x586bfa(0x12f)](_0xd76902),'invokeId':(_0x29f955=_0x560c42[_0x586bfa(0x1c4)])!=null?_0x29f955:'','executionId':(_0x5d3c8a=_0x560c42['executionId'])!=null?_0x5d3c8a:''};try{const _0x48a767=await this['_httpService'][_0x586bfa(0x217)](_0x1eb3ca,{'body':_0x128b5d});return _0x48a767[_0x586bfa(0x2dc)][_0x586bfa(0x24b)]&&_0x48a767[_0x586bfa(0x2dc)][_0x586bfa(0x24b)][_0x586bfa(0xc0)]!==_0x4bf53['OK']?_0x586bfa(0x2df):_0x48a767[_0x586bfa(0x2dc)]['result'];}catch{return _0x586bfa(0x2df);}}},_0x451931['RemoteUniscriptService']=_0x1ef545([_0x14101a(0x0,_0x598862[_0x32ae99(0xce)]),_0x14101a(0x1,_0x598862[_0x32ae99(0x331)](_0x29c365[_0x32ae99(0x13d)])),_0x14101a(0x2,_0x598862[_0x32ae99(0x1fb)])],_0x451931['RemoteUniscriptService']),_0x451931[_0x32ae99(0x258)]=_0x33ddc8,_0x451931[_0x32ae99(0x22d)]=_0x5e332f,_0x451931['SheetCollabCursorShape']=_0x5e3cf0,_0x451931[_0x32ae99(0x2ff)]=_0x54849d,_0x451931[_0x32ae99(0xdc)]=_0x485c4c,Object[_0x32ae99(0x2e3)](_0x451931,Symbol['toStringTag'],{'value':_0x32ae99(0x102)});}));
|