@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506011606 → 0.8.0-nightly.202506031608
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(_0x49416b,_0x267d16){const _0xbdff5f=_0x2785,_0x3bccb2=_0x49416b();while(!![]){try{const _0x46f8a3=-parseInt(_0xbdff5f(0x369))/0x1*(-parseInt(_0xbdff5f(0x313))/0x2)+-parseInt(_0xbdff5f(0x436))/0x3+parseInt(_0xbdff5f(0x30b))/0x4+parseInt(_0xbdff5f(0x23d))/0x5+parseInt(_0xbdff5f(0x2c9))/0x6+parseInt(_0xbdff5f(0x408))/0x7*(parseInt(_0xbdff5f(0x231))/0x8)+-parseInt(_0xbdff5f(0x35c))/0x9;if(_0x46f8a3===_0x267d16)break;else _0x3bccb2['push'](_0x3bccb2['shift']());}catch(_0x4be68c){_0x3bccb2['push'](_0x3bccb2['shift']());}}}(_0x375c,0xe073d),function(_0x6d4f61,_0x5d7ef7){const _0x3f10fe=_0x2785;typeof exports==_0x3f10fe(0x2c5)&&typeof module<'u'?_0x5d7ef7(exports,require(_0x3f10fe(0x2e7)),require(_0x3f10fe(0x435)),require(_0x3f10fe(0x200)),require(_0x3f10fe(0x41f)),require(_0x3f10fe(0x34b)),require('@univerjs/drawing'),require(_0x3f10fe(0x3ab)),require(_0x3f10fe(0x35b)),require(_0x3f10fe(0x28d)),require(_0x3f10fe(0x2e2)),require('@univerjs/sheets'),require(_0x3f10fe(0x1f1)),require(_0x3f10fe(0x25d)),require(_0x3f10fe(0x208)),require('@univerjs/ui'),require(_0x3f10fe(0x3af)),require('react'),require(_0x3f10fe(0x28b))):typeof define==_0x3f10fe(0x201)&&define[_0x3f10fe(0x355)]?define([_0x3f10fe(0x38f),_0x3f10fe(0x2e7),_0x3f10fe(0x435),_0x3f10fe(0x200),_0x3f10fe(0x41f),_0x3f10fe(0x34b),'@univerjs/drawing','rxjs',_0x3f10fe(0x35b),_0x3f10fe(0x28d),'@univerjs/engine-formula','@univerjs/sheets',_0x3f10fe(0x1f1),'@univerjs/sheets-ui',_0x3f10fe(0x208),_0x3f10fe(0x356),'@univerjs/design',_0x3f10fe(0x351),_0x3f10fe(0x28b)],_0x5d7ef7):(_0x6d4f61=typeof globalThis<'u'?globalThis:_0x6d4f61||self,_0x5d7ef7(_0x6d4f61[_0x3f10fe(0x1b5)]={},_0x6d4f61[_0x3f10fe(0x1d3)],_0x6d4f61[_0x3f10fe(0x352)],_0x6d4f61[_0x3f10fe(0x2b8)],_0x6d4f61['UniverNetwork'],_0x6d4f61[_0x3f10fe(0x42a)],_0x6d4f61[_0x3f10fe(0x1e2)],_0x6d4f61['rxjs'],_0x6d4f61[_0x3f10fe(0x301)],_0x6d4f61[_0x3f10fe(0x19c)],_0x6d4f61[_0x3f10fe(0x1aa)],_0x6d4f61[_0x3f10fe(0x40d)],_0x6d4f61['rxjs']['operators'],_0x6d4f61[_0x3f10fe(0x1ac)],_0x6d4f61['React'],_0x6d4f61[_0x3f10fe(0x32c)],_0x6d4f61[_0x3f10fe(0x2da)],_0x6d4f61[_0x3f10fe(0x32a)],_0x6d4f61['UniverRpc']));}(this,function(_0x2f60c5,_0xfdd47c,_0x45454d,_0x17a4de,_0x4cb81d,_0x1b66a1,_0x25f2aa,_0x481401,_0x1af111,_0x368b75,_0x3ca4e0,_0x518da4,_0x382509,_0x3497ae,_0x135d70,_0x933c1a,_0x4402cc,_0x54e81b,_0x1c6948){'use strict';const _0x2273bc=_0x2785;var _0x1576c9=Object[_0x2273bc(0x2ee)],_0x4f9554=(_0x542d1e,_0x25aa57,_0x4dc99d)=>_0x25aa57 in _0x542d1e?_0x1576c9(_0x542d1e,_0x25aa57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dc99d}):_0x542d1e[_0x25aa57]=_0x4dc99d,_0x394afd=(_0x1a8acf,_0x1257e3,_0x47c58a)=>_0x4f9554(_0x1a8acf,typeof _0x1257e3!='symbol'?_0x1257e3+'':_0x1257e3,_0x47c58a),_0x40a020=Object['getOwnPropertyDescriptor'],_0x40f308=(_0x1a1725,_0x50bac8,_0x538c55,_0x138de3)=>{for(var _0x333fbf=_0x138de3>0x1?void 0x0:_0x138de3?_0x40a020(_0x50bac8,_0x538c55):_0x50bac8,_0x297c11=_0x1a1725['length']-0x1,_0x14f72c;_0x297c11>=0x0;_0x297c11--)(_0x14f72c=_0x1a1725[_0x297c11])&&(_0x333fbf=_0x14f72c(_0x333fbf)||_0x333fbf);return _0x333fbf;},_0x1091e=(_0x1ba126,_0x43f520)=>(_0x39f774,_0x603361)=>_0x43f520(_0x39f774,_0x603361,_0x1ba126);let _0x4604dc=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f2c05,_0x483565){const _0x1693c2=_0x2273bc;super(),this[_0x1693c2(0x2b4)]=_0x4f2c05,this[_0x1693c2(0x38c)]=_0x483565,this[_0x1693c2(0x27f)]();}[_0x2273bc(0x27f)](){const _0x500241=_0x2273bc,_0x468edf=this;this['disposeWithMe'](this[_0x500241(0x2b4)][_0x500241(0x37e)]({'onBeforePasteImage':async _0x5110c5=>{const _0x37a465=_0x500241,_0xeb9b68=await _0x468edf[_0x37a465(0x38c)][_0x37a465(0x40c)](_0x5110c5);return _0xeb9b68?{'source':_0xeb9b68[_0x37a465(0x2f2)],'imageSourceType':_0xeb9b68[_0x37a465(0x3ee)]}:null;}}));}};_0x4604dc=_0x40f308([_0x1091e(0x0,_0x1b66a1[_0x2273bc(0x3ba)]),_0x1091e(0x1,_0x25f2aa['IImageIoService'])],_0x4604dc);const _0x5c65c5=['purple.300',_0x2273bc(0x1e5),_0x2273bc(0x212),_0x2273bc(0x36e),_0x2273bc(0x393),_0x2273bc(0x26b)];class _0x308b95 extends _0x45454d[_0x2273bc(0x359)]{constructor(){const _0x5cd927=_0x2273bc;super(...arguments),_0x394afd(this,_0x5cd927(0x390),new Map()),_0x394afd(this,_0x5cd927(0x3f3),0x0);}[_0x2273bc(0x247)](_0x526e87){const _0x1cdde3=_0x2273bc;if(this[_0x1cdde3(0x390)][_0x1cdde3(0x385)](_0x526e87))return this[_0x1cdde3(0x390)][_0x1cdde3(0x1ef)](_0x526e87);const _0x20b589=_0x5c65c5[this[_0x1cdde3(0x3f3)]];return this[_0x1cdde3(0x3f3)]=(this[_0x1cdde3(0x3f3)]+0x1)%_0x5c65c5['length'],this[_0x1cdde3(0x390)][_0x1cdde3(0x2e8)](_0x526e87,_0x20b589),_0x20b589;}}function _0x4e0fd4(_0xd366cf){let _0x4be75e='';for(const _0x130a32 of _0xd366cf){const {startOffset:_0x237d86,endOffset:_0x17cf3a,isActive:_0x3f825a,rangeType:_0x1649b1,segmentId:_0x2efb00,segmentPage:_0x482d6a}=_0x130a32;_0x4be75e['length']&&(_0x4be75e+=','),_0x4be75e+=_0x237d86+':'+_0x17cf3a+':'+(_0x3f825a?'1':'0')+':'+_0x1649b1+':'+_0x2efb00+':'+_0x482d6a;}return _0x4be75e;}function _0x2af1b0(_0x35a5fe){const _0x1480ad=_0x2273bc,_0x2d9c17=_0x35a5fe[_0x1480ad(0x3b9)](','),_0x4c2bbb=[];for(const _0x478e57 of _0x2d9c17){const [_0x253361,_0x79b540,_0x30f222,_0x5008fc,_0x48e7a7,_0x5b38ea]=_0x478e57[_0x1480ad(0x3b9)](':');_0x4c2bbb[_0x1480ad(0x273)]({'startOffset':Number(_0x253361),'endOffset':Number(_0x79b540),'collapsed':_0x253361===_0x79b540,'isActive':_0x30f222==='1','rangeType':_0x5008fc===_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]?_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]:_0x45454d['DOC_RANGE_TYPE'][_0x1480ad(0x317)],'segmentId':typeof _0x48e7a7=='string'?String(_0x48e7a7):'','segmentPage':Number(_0x5b38ea!=null?_0x5b38ea:-0x1)});}return _0x4c2bbb[_0x1480ad(0x1eb)](_0x353b22=>_0x353b22[_0x1480ad(0x404)])||(_0x4c2bbb[0x0][_0x1480ad(0x404)]=!0x0),_0x4c2bbb;}class _0x43f1e3 extends _0x45454d['RxDisposable']{constructor(){const _0x590c1f=_0x2273bc;super(...arguments),_0x394afd(this,'_collabCursorState$',new _0x481401[(_0x590c1f(0x2e4))](null)),_0x394afd(this,_0x590c1f(0x3e7),this[_0x590c1f(0x392)][_0x590c1f(0x39f)]());}[_0x2273bc(0x31d)](_0x3a3da9){const _0x28c2d9=_0x2273bc,{unitID:_0x573a15,memberID:_0x33fc7f,textRanges:_0x515ff7}=_0x3a3da9,_0x253124=_0x4e0fd4(_0x515ff7);if(_0x253124==='')return;const _0x3b25e8={'unitID':_0x573a15,'memberID':_0x33fc7f,'selection':_0x253124};this[_0x28c2d9(0x392)][_0x28c2d9(0x33c)](_0x3b25e8);}}var _0x44f65a=Object[_0x2273bc(0x43a)],_0x640358=(_0x271976,_0x354db5,_0x124465,_0x30c43b)=>{const _0x438080=_0x2273bc;for(var _0x3b8703=_0x30c43b>0x1?void 0x0:_0x30c43b?_0x44f65a(_0x354db5,_0x124465):_0x354db5,_0x366981=_0x271976[_0x438080(0x1cb)]-0x1,_0x54bc0e;_0x366981>=0x0;_0x366981--)(_0x54bc0e=_0x271976[_0x366981])&&(_0x3b8703=_0x54bc0e(_0x3b8703)||_0x3b8703);return _0x3b8703;},_0x256a26=(_0x4ad8cc,_0x1fac5d)=>(_0x40f36e,_0x1fa816)=>_0x1fac5d(_0x40f36e,_0x1fa816,_0x4ad8cc);const _0xb0d87=0x12c,_0x3dcffa=0x64;let _0xe2085d=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f3614,_0x34c502,_0x293b9e,_0x423510,_0x2dfe3c,_0x59dabd,_0x263c59,_0x1ee1d8,_0x57f1cb){const _0x5c2e65=_0x2273bc;super(),_0x394afd(this,_0x5c2e65(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x5c2e65(0x37c),new _0x481401[(_0x5c2e65(0x2e4))](new Map())),_0x394afd(this,_0x5c2e65(0x20e),this[_0x5c2e65(0x37c)][_0x5c2e65(0x39f)]()),_0x394afd(this,'_roomMembers$',new _0x481401[(_0x5c2e65(0x2e4))]([])),_0x394afd(this,'roomMembers$',this[_0x5c2e65(0x363)][_0x5c2e65(0x262)](_0x481401['debounceTime'](_0xb0d87))),_0x394afd(this,'_updateLocalCursor',_0x45454d[_0x5c2e65(0x29d)](_0x55e3ea=>{const _0x2fb3dd=_0x5c2e65,_0x3db762={'eventID':_0x368b75['CollaborationEvent'][_0x2fb3dd(0x34c)],'data':{'unitID':this[_0x2fb3dd(0x2cb)],'memberID':this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x2ea)](),'selection':_0x4e0fd4(_0x55e3ea)}};this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x401)](_0x3db762,this[_0x2fb3dd(0x2cb)]);},_0x3dcffa)),(this[_0x5c2e65(0x2cb)]=_0x4f3614,this[_0x5c2e65(0x33b)]=_0x34c502,this['_injector']=_0x293b9e,this[_0x5c2e65(0x237)]=_0x423510,this[_0x5c2e65(0x3f8)]=_0x2dfe3c,this['_syncEditingCollabCursorService']=_0x59dabd,this[_0x5c2e65(0x333)]=_0x263c59,this[_0x5c2e65(0x383)]=_0x1ee1d8,this[_0x5c2e65(0x1c1)]=_0x57f1cb);}get[_0x2273bc(0x2f9)](){const _0x99ab42=_0x2273bc;return this['_cursorInfo$'][_0x99ab42(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x1e672e=_0x2273bc;return this[_0x1e672e(0x363)][_0x1e672e(0x3f5)]();}['dispose'](){const _0x4d45ba=_0x2273bc;super[_0x4d45ba(0x3b5)](),this[_0x4d45ba(0x37c)]['next'](new Map()),this[_0x4d45ba(0x37c)][_0x4d45ba(0x417)](),this['_roomMembers$'][_0x4d45ba(0x33c)]([]),this[_0x4d45ba(0x363)][_0x4d45ba(0x417)]();}[_0x2273bc(0x3db)](){const _0x267c88=_0x2273bc;this[_0x267c88(0x27f)]||(this['_init']=!0x0,this[_0x267c88(0x33b)][_0x267c88(0x25c)]['pipe'](_0x481401[_0x267c88(0x2f3)](this['dispose$']))[_0x267c88(0x2b7)](_0x11af30=>{const _0x498009=_0x267c88;_0x11af30===_0xfdd47c[_0x498009(0x332)][_0x498009(0x425)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x267c88(0x262)](_0x481401[_0x267c88(0x2f3)](this[_0x267c88(0x1ad)]))['subscribe'](_0x14bb67=>{const _0x330811=_0x267c88,_0x1f3c2c=_0x14bb67[_0x330811(0x1b4)];_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x34c)]&&this[_0x330811(0x421)](_0x14bb67),_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x343)]&&this[_0x330811(0x23a)](_0x14bb67);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x51f354=>{const _0x5559a6=_0x267c88,_0x11b55f=_0x51f354['params'];_0x11b55f!=null&&this['_online']&&_0x51f354['id']===_0x1af111[_0x5559a6(0x3f9)]['id']&&_0x11b55f[_0x5559a6(0x338)]===this[_0x5559a6(0x2cb)]&&_0x11b55f['isEditing']===!0x1&&_0x11b55f[_0x5559a6(0x41c)][_0x5559a6(0x1cb)]>0x0&&this[_0x5559a6(0x35e)](_0x11b55f['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x267c88(0x262)](_0x481401['takeUntil'](this['dispose$']))[_0x267c88(0x2b7)](_0x59ec19=>{const _0x4ca96=_0x267c88;if((_0x59ec19==null?void 0x0:_0x59ec19[_0x4ca96(0x2cb)])!==this[_0x4ca96(0x2cb)])return;const _0x5a6a8b={'eventID':_0x368b75[_0x4ca96(0x43b)]['UPDATE_CURSOR'],'data':_0x59ec19};this[_0x4ca96(0x421)](_0x5a6a8b);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x23eb9e=>{const _0x3565e0=_0x267c88;if(_0x23eb9e[_0x3565e0(0x399)]==null)return;const _0x224a49=_0x23eb9e[_0x3565e0(0x399)];if(_0x23eb9e['id']!==_0x1af111[_0x3565e0(0x39e)]['id']||_0x224a49[_0x3565e0(0x338)]!==this['unitID'])return;const _0x5dc16f={'id':_0x3565e0(0x2b5),'params':_0x224a49},_0x377beb=this[_0x3565e0(0x2f9)];for(const [_0x38beaa,_0x30a7fb]of _0x377beb){const _0x12bb11={'id':_0x3565e0(0x2b5),'params':{'unitId':this[_0x3565e0(0x2cb)],'actions':null,'textRanges':_0x30a7fb['ranges']}},_0x54aeea=this[_0x3565e0(0x333)][_0x3565e0(0x2cc)](_0x5dc16f,_0x12bb11,!0x1);if(_0x368b75[_0x3565e0(0x31e)](_0x54aeea))throw _0x54aeea[_0x3565e0(0x372)];_0x377beb['set'](_0x38beaa,{..._0x30a7fb,'ranges':_0x54aeea[_0x3565e0(0x248)][_0x3565e0(0x399)]['textRanges']});}queueMicrotask(()=>{const _0x33ed7f=_0x3565e0;this[_0x33ed7f(0x37c)]['next'](_0x377beb);});})));}[_0x2273bc(0x421)](_0x4597ef){const _0x40f5e4=_0x2273bc;var _0x4814ad,_0x1c212d;const {memberID:_0x1dbe99,selection:_0x3d7ed8}=_0x4597ef[_0x40f5e4(0x3be)],_0x13b93b=_0x2af1b0(_0x3d7ed8),_0x360089=(_0x1c212d=(_0x4814ad=this[_0x40f5e4(0x3f8)][_0x40f5e4(0x3a7)](this[_0x40f5e4(0x2cb)],_0x1dbe99))==null?void 0x0:_0x4814ad[_0x40f5e4(0x2c8)])!=null?_0x1c212d:_0x40f5e4(0x202),_0x2559af={'color':this[_0x40f5e4(0x237)]['assignAColorForMemberID'](_0x1dbe99),'name':_0x360089,'ranges':_0x13b93b},_0x13f7a0=this[_0x40f5e4(0x2f9)];_0x13f7a0[_0x40f5e4(0x2e8)](_0x1dbe99,_0x2559af),this[_0x40f5e4(0x37c)][_0x40f5e4(0x33c)](_0x13f7a0);}[_0x2273bc(0x23a)](_0x2c40be){const _0x283f03=_0x2273bc,{memberID:_0xdd5014}=_0x2c40be[_0x283f03(0x3be)],_0x4c68ae=this[_0x283f03(0x2f9)];_0x4c68ae[_0x283f03(0x43c)](_0xdd5014),this[_0x283f03(0x37c)]['next'](_0x4c68ae);}[_0x2273bc(0x431)](){const _0x23fa89=_0x2273bc;var _0x17b857;if(this[_0x23fa89(0x36b)]=!0x0,((_0x17b857=this[_0x23fa89(0x383)][_0x23fa89(0x3d2)]())==null?void 0x0:_0x17b857[_0x23fa89(0x318)]())!==this['unitID'])return;const _0x1338fa=this[_0x23fa89(0x3ca)][_0x23fa89(0x1ef)](_0x1af111['DocSelectionManagerService'])[_0x23fa89(0x21f)]();Array[_0x23fa89(0x387)](_0x1338fa)&&_0x1338fa[_0x23fa89(0x1cb)]>0x0&&this[_0x23fa89(0x35e)](_0x1338fa);}[_0x2273bc(0x1c2)](){const _0x2bc11c=_0x2273bc;this[_0x2bc11c(0x36b)]=!0x1;}};_0xe2085d=_0x640358([_0x256a26(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x256a26(0x3,_0x45454d['Inject'](_0x308b95)),_0x256a26(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x256a26(0x5,_0x45454d[_0x2273bc(0x37f)](_0x43f1e3)),_0x256a26(0x6,_0x368b75['ITransformService']),_0x256a26(0x7,_0x45454d[_0x2273bc(0x1b1)]),_0x256a26(0x8,_0x45454d[_0x2273bc(0x3d0)])],_0xe2085d);var _0x5b3e29=Object[_0x2273bc(0x43a)],_0x1c0493=(_0x3662ca,_0x1dce5a,_0x2ba60f,_0x1e484c)=>{const _0x36a778=_0x2273bc;for(var _0x2f234b=_0x1e484c>0x1?void 0x0:_0x1e484c?_0x5b3e29(_0x1dce5a,_0x2ba60f):_0x1dce5a,_0x515046=_0x3662ca[_0x36a778(0x1cb)]-0x1,_0x229a51;_0x515046>=0x0;_0x515046--)(_0x229a51=_0x3662ca[_0x515046])&&(_0x2f234b=_0x229a51(_0x2f234b)||_0x2f234b);return _0x2f234b;},_0x33ca4f=(_0x48dda8,_0x4828e9)=>(_0x433ca5,_0x49462d)=>_0x4828e9(_0x433ca5,_0x49462d,_0x48dda8);const _0x2fa893=0x12c,_0x3d468d=0x64,_0x533d0d=()=>{let _0x8118d1=[],_0x3202e5=!0x1;return _0x40c667=>{const _0x514e45=_0x2785;_0x8118d1[_0x514e45(0x273)](_0x40c667),_0x3202e5||(_0x3202e5=!0x0,setTimeout(()=>{const _0x59a416=_0x514e45;_0x8118d1[_0x59a416(0x213)](_0x21024e=>_0x21024e()),_0x8118d1=[],_0x3202e5=!0x1;}));};};let _0x3b6a78=class extends _0x45454d['RxDisposable']{constructor(_0x104901,_0x414fc9,_0x8eba51,_0x2c0a57,_0x257a7e,_0x1b6c1c,_0x382fe2,_0x13d106){const _0x292cd3=_0x2273bc;super(),_0x394afd(this,_0x292cd3(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x292cd3(0x37c),new _0x481401[(_0x292cd3(0x2e4))](new Map())),_0x394afd(this,'cursorInfo$',this[_0x292cd3(0x37c)][_0x292cd3(0x39f)]()),_0x394afd(this,_0x292cd3(0x363),new _0x481401['BehaviorSubject']([])),_0x394afd(this,_0x292cd3(0x1bb),this[_0x292cd3(0x363)][_0x292cd3(0x262)](_0x481401['debounceTime'](_0x2fa893))),_0x394afd(this,_0x292cd3(0x35e),_0x45454d[_0x292cd3(0x29d)]((_0x4ac853,_0x32549d)=>{const _0x53dec7=_0x292cd3,_0x41a43f={'eventID':_0x368b75[_0x53dec7(0x43b)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x53dec7(0x33b)]['getMemberID'](),'selection':_0x3ca4e0['serializeRangeWithSheet'](_0x4ac853,_0x32549d[_0x53dec7(0x3c8)])}};this[_0x53dec7(0x33b)][_0x53dec7(0x401)](_0x41a43f,this[_0x53dec7(0x2cb)]);},_0x3d468d)),(this[_0x292cd3(0x2cb)]=_0x104901,this['_session']=_0x414fc9,this['_injector']=_0x8eba51,this['_colorAssignService']=_0x2c0a57,this['_memberService']=_0x257a7e,this[_0x292cd3(0x383)]=_0x1b6c1c,this[_0x292cd3(0x1c1)]=_0x382fe2,this[_0x292cd3(0x382)]=_0x13d106);}get['cursorInfo'](){const _0x6fb14=_0x2273bc;return this[_0x6fb14(0x37c)][_0x6fb14(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x801dae=_0x2273bc;return this[_0x801dae(0x363)][_0x801dae(0x3f5)]();}[_0x2273bc(0x3b5)](){const _0xa18340=_0x2273bc;super['dispose'](),this[_0xa18340(0x37c)][_0xa18340(0x33c)](new Map()),this[_0xa18340(0x37c)][_0xa18340(0x417)](),this['_roomMembers$'][_0xa18340(0x33c)]([]),this[_0xa18340(0x363)][_0xa18340(0x417)]();}[_0x2273bc(0x3db)](){const _0x1135d9=_0x2273bc;this[_0x1135d9(0x27f)]||(this[_0x1135d9(0x27f)]=!0x0,this[_0x1135d9(0x33b)][_0x1135d9(0x25c)][_0x1135d9(0x262)](_0x481401['takeUntil'](this['dispose$']))['subscribe'](_0x1c5eb4=>{const _0x15e8ae=_0x1135d9;_0x1c5eb4===_0xfdd47c['SessionStatus']['ONLINE']?this[_0x15e8ae(0x431)]():this[_0x15e8ae(0x1c2)]();}),this[_0x1135d9(0x33b)][_0x1135d9(0x241)]['pipe'](_0x481401[_0x1135d9(0x2f3)](this[_0x1135d9(0x1ad)]))[_0x1135d9(0x2b7)](_0x2ef17b=>{const _0x545d52=_0x1135d9,_0x25740a=_0x2ef17b['eventID'];_0x25740a===_0x368b75['CollaborationEvent'][_0x545d52(0x34c)]&&this[_0x545d52(0x421)](_0x2ef17b),_0x25740a===_0x368b75[_0x545d52(0x43b)][_0x545d52(0x343)]&&this[_0x545d52(0x23a)](_0x2ef17b);}),this[_0x1135d9(0x315)](),this[_0x1135d9(0x36f)](this[_0x1135d9(0x1c1)][_0x1135d9(0x353)](_0x4dc2f3=>{const _0x5d81e1=_0x1135d9;if(this['_online']&&_0x4dc2f3['id']===_0x518da4[_0x5d81e1(0x398)]['id']&&_0x4dc2f3[_0x5d81e1(0x399)][_0x5d81e1(0x338)]===this[_0x5d81e1(0x2cb)]){const _0x2aced9=_0x4dc2f3[_0x5d81e1(0x399)];this['_updateLocalCursor'](_0x2aced9[_0x5d81e1(0x3c4)],_0x2aced9[_0x5d81e1(0x1ca)][0x0]);}})));}[_0x2273bc(0x421)](_0x241be0){const _0x58256c=_0x2273bc;var _0x2b208c,_0x299dc6;const {memberID:_0x4b4b3e,selection:_0x30c48d}=_0x241be0['data'],{sheetName:_0x2453b7,range:_0x17d488}=_0x3ca4e0[_0x58256c(0x319)](_0x30c48d),_0x50d76b={'name':(_0x299dc6=(_0x2b208c=this['_memberService'][_0x58256c(0x3a7)](this[_0x58256c(0x2cb)],_0x4b4b3e))==null?void 0x0:_0x2b208c['name'])!=null?_0x299dc6:_0x58256c(0x202),'range':this[_0x58256c(0x2dc)](_0x2453b7,_0x17d488),'sheetID':_0x2453b7,'color':this[_0x58256c(0x237)][_0x58256c(0x247)](_0x4b4b3e),'selection':_0x30c48d},_0x1706cb=this[_0x58256c(0x2f9)];_0x1706cb['set'](_0x4b4b3e,_0x50d76b),this['_cursorInfo$'][_0x58256c(0x33c)](_0x1706cb);}[_0x2273bc(0x23a)](_0xb660bf){const _0x399aca=_0x2273bc,{memberID:_0x4d4901}=_0xb660bf[_0x399aca(0x3be)],_0x12de01=this['cursorInfo'];_0x12de01[_0x399aca(0x43c)](_0x4d4901),this[_0x399aca(0x37c)]['next'](_0x12de01);}[_0x2273bc(0x2dc)](_0x101671,_0x564b49){const _0x547439=_0x2273bc;var _0x45b573,_0x21216b;const _0x6e875c=(_0x21216b=(_0x45b573=this[_0x547439(0x383)][_0x547439(0x3bc)](this[_0x547439(0x2cb)]))==null?void 0x0:_0x45b573[_0x547439(0x2ca)](_0x101671))==null?void 0x0:_0x21216b[_0x547439(0x39c)]();return(_0x6e875c==null?void 0x0:_0x6e875c['find'](_0x2caacd=>_0x45454d[_0x547439(0x285)]['contains'](_0x2caacd,_0x564b49)))||_0x564b49;}[_0x2273bc(0x315)](){const _0x3bc66d=_0x2273bc,_0x133e4f=new _0x45454d['DisposableCollection'](),_0x783d93=_0x533d0d(),_0x2a2b16=()=>{const _0x2a410c=_0x2785;_0x133e4f[_0x2a410c(0x3b5)]();const _0x3d9061=(_0x5d10f5,_0x9cbaf8,_0x1c39ad,_0x2ca478)=>{const _0x5e816b=_0x2a410c;let _0x7a87e=[];switch(_0x5d10f5['id']){case _0x518da4[_0x5e816b(0x3d9)]['DeleteRangeMoveLeftCommandId']:{_0x7a87e=_0x518da4[_0x5e816b(0x28f)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x2c0)]:{_0x7a87e=_0x518da4[_0x5e816b(0x3ec)](_0x5d10f5,_0x2ca478);break;}case _0x518da4['EffectRefRangId'][_0x5e816b(0x344)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2c4)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1a6)]:{_0x7a87e=_0x518da4['handleInsertRangeMoveDown'](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x345)]:{_0x7a87e=_0x518da4[_0x5e816b(0x378)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x22f)]:{_0x7a87e=_0x518da4[_0x5e816b(0x386)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1f6)]:{_0x7a87e=_0x518da4[_0x5e816b(0x26c)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1e1)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2bf)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x207)]:{_0x7a87e=_0x518da4[_0x5e816b(0x1c7)](_0x5d10f5,_0x2ca478);break;}}const _0xa3a0f2=_0x518da4[_0x5e816b(0x3e6)](_0x7a87e,_0x2ca478),_0x93f9f7=this['cursorInfo'][_0x5e816b(0x1ef)](_0x9cbaf8);if(_0x93f9f7&&_0xa3a0f2){const _0x264500={..._0x93f9f7,'range':_0xa3a0f2};this[_0x5e816b(0x2f9)][_0x5e816b(0x2e8)](_0x9cbaf8,_0x264500),_0x783d93(()=>{const _0x94584c=_0x5e816b,_0x16c5cf=this[_0x94584c(0x382)][_0x94584c(0x419)](_0xa3a0f2,_0xda2086=>(_0x16c5cf['dispose'](),_0x3d9061(_0xda2086,_0x9cbaf8,_0x1c39ad,_0xa3a0f2)));_0x133e4f['add'](_0x16c5cf);});}return{'redos':[],'undos':[]};};this[_0x2a410c(0x2f9)][_0x2a410c(0x213)]((_0x4bdcdd,_0x123b5b)=>{const _0x5243b1=_0x2a410c,{range:_0x5b43fe,sheetID:_0x1fd018}=_0x4bdcdd,_0x587bf3=this[_0x5243b1(0x382)]['registerRefRange'](_0x5b43fe,_0x4ae2e8=>(_0x587bf3[_0x5243b1(0x3b5)](),_0x3d9061(_0x4ae2e8,_0x123b5b,_0x1fd018,_0x5b43fe)));_0x133e4f[_0x5243b1(0x1ee)](_0x587bf3);});};this[_0x3bc66d(0x36f)](_0x45454d[_0x3bc66d(0x1c0)](this[_0x3bc66d(0x37c)][_0x3bc66d(0x2b7)](()=>{_0x2a2b16();})));}[_0x2273bc(0x431)](){const _0x509bb0=_0x2273bc;var _0x81a2fa,_0x3e2c13;if(this['_online']=!0x0,((_0x81a2fa=this[_0x509bb0(0x383)][_0x509bb0(0x3d2)]())==null?void 0x0:_0x81a2fa['getUnitId']())!==this['unitID'])return;const _0x29dc6d=(_0x3e2c13=this['_injector']['get'](_0x518da4['SheetsSelectionsService'])[_0x509bb0(0x3b4)]())==null?void 0x0:_0x3e2c13[0x0],_0x467d73=this['_univerInstanceService'][_0x509bb0(0x429)](_0x45454d[_0x509bb0(0x307)]['UNIVER_SHEET'])['getActiveSheet']();_0x29dc6d&&_0x467d73&&this[_0x509bb0(0x35e)](_0x467d73[_0x509bb0(0x1be)](),_0x29dc6d);}[_0x2273bc(0x1c2)](){const _0x13f5f5=_0x2273bc;this[_0x13f5f5(0x36b)]=!0x1;}};_0x3b6a78=_0x1c0493([_0x33ca4f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x33ca4f(0x3,_0x45454d[_0x2273bc(0x37f)](_0x308b95)),_0x33ca4f(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x33ca4f(0x5,_0x45454d[_0x2273bc(0x1b1)]),_0x33ca4f(0x6,_0x45454d[_0x2273bc(0x3d0)]),_0x33ca4f(0x7,_0x45454d['Inject'](_0x518da4['RefRangeService']))],_0x3b6a78);var _0x3425eb=Object[_0x2273bc(0x43a)],_0x3a0eda=(_0x4d70ad,_0x39a054,_0xf23cde,_0x5d8019)=>{const _0x4824fc=_0x2273bc;for(var _0x35a5e8=_0x5d8019>0x1?void 0x0:_0x5d8019?_0x3425eb(_0x39a054,_0xf23cde):_0x39a054,_0x52c1bf=_0x4d70ad[_0x4824fc(0x1cb)]-0x1,_0x3f4f15;_0x52c1bf>=0x0;_0x52c1bf--)(_0x3f4f15=_0x4d70ad[_0x52c1bf])&&(_0x35a5e8=_0x3f4f15(_0x35a5e8)||_0x35a5e8);return _0x35a5e8;},_0x129d3b=(_0x9f0e54,_0x2583e2)=>(_0x240a39,_0x1b397)=>_0x2583e2(_0x240a39,_0x1b397,_0x9f0e54);let _0x344c8e=class extends _0x45454d['RxDisposable']{constructor(_0x500624,_0xc18da3,_0x5d7217){const _0x3e8590=_0x2273bc;super(),_0x394afd(this,_0x3e8590(0x28c),new Map()),_0x394afd(this,_0x3e8590(0x411),new _0x481401[(_0x3e8590(0x438))]()),(this[_0x3e8590(0x383)]=_0x500624,this[_0x3e8590(0x3ca)]=_0xc18da3,this[_0x3e8590(0x38d)]=_0x5d7217,this[_0x3e8590(0x27f)]());}[_0x2273bc(0x3b5)](){const _0x275f00=_0x2273bc;super[_0x275f00(0x3b5)](),this[_0x275f00(0x411)][_0x275f00(0x417)](),this[_0x275f00(0x28c)][_0x275f00(0x213)](_0x1c7fcc=>_0x1c7fcc['dispose']());}[_0x2273bc(0x249)](_0x13fcc5){const _0x3cfd47=_0x2273bc;return this[_0x3cfd47(0x28c)][_0x3cfd47(0x385)](_0x13fcc5)?this['_entities'][_0x3cfd47(0x1ef)](_0x13fcc5)['cursorInfo$']:this['_entityInit$'][_0x3cfd47(0x262)](_0x481401['filter'](_0x176080=>_0x176080['unitID']===_0x13fcc5),_0x481401[_0x3cfd47(0x275)](_0x588d0a=>_0x588d0a['cursorInfo$']));}[_0x2273bc(0x27f)](){const _0x283163=_0x2273bc;this[_0x283163(0x383)]['getTypeOfUnitAdded$'](_0x45454d['UniverInstanceType']['UNIVER_SHEET'])[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](async _0x1ef958=>{const _0x13e682=_0x283163,_0x5dc70b=_0x1ef958[_0x13e682(0x318)](),_0x8198b=await this[_0x13e682(0x3c7)](_0x5dc70b);this[_0x13e682(0x411)][_0x13e682(0x33c)](_0x8198b),this[_0x13e682(0x28c)][_0x13e682(0x2e8)](_0x5dc70b,_0x8198b);}),this[_0x283163(0x383)][_0x283163(0x38e)](_0x45454d[_0x283163(0x307)][_0x283163(0x27c)])[_0x283163(0x262)](_0x481401[_0x283163(0x2f3)](this[_0x283163(0x1ad)]))[_0x283163(0x262)](_0x481401[_0x283163(0x334)](_0x16aff4=>!_0x16aff4[_0x283163(0x318)]()[_0x283163(0x42f)]('__')))[_0x283163(0x2b7)](async _0x79ce5e=>{const _0x4518d3=_0x283163,_0x4dddcc=_0x79ce5e[_0x4518d3(0x318)](),_0x4611a5=await this[_0x4518d3(0x304)](_0x4dddcc);this['_entityInit$'][_0x4518d3(0x33c)](_0x4611a5),this['_entities']['set'](_0x4dddcc,_0x4611a5);}),_0x481401['merge'](this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d['UniverInstanceType'][_0x283163(0x27c)]),this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d[_0x283163(0x307)]['UNIVER_SHEET']))[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](_0x294024=>{const _0x366837=_0x283163,_0x1df501=_0x294024['getUnitId'](),_0x2529dd=this['_entities'][_0x366837(0x1ef)](_0x1df501);_0x2529dd&&(_0x2529dd[_0x366837(0x3b5)](),this['_entities'][_0x366837(0x43c)](_0x1df501));});}async[_0x2273bc(0x3c7)](_0x1937c3){const _0x18c5da=_0x2273bc,_0x2fc7e7=await this[_0x18c5da(0x38d)]['requireSession'](_0x1937c3),_0xf0daa3=this[_0x18c5da(0x3ca)][_0x18c5da(0x250)](_0x3b6a78,_0x1937c3,_0x2fc7e7);return _0xf0daa3[_0x18c5da(0x3db)](),_0xf0daa3;}async['_startDocCollabCursor'](_0x4e5d4b){const _0x3f3b0b=_0x2273bc,_0x54f6d9=await this[_0x3f3b0b(0x38d)][_0x3f3b0b(0x1ed)](_0x4e5d4b),_0x41800b=this[_0x3f3b0b(0x3ca)]['createInstance'](_0xe2085d,_0x4e5d4b,_0x54f6d9);return _0x41800b[_0x3f3b0b(0x3db)](),_0x41800b;}};_0x344c8e=_0x3a0eda([_0x129d3b(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x129d3b(0x1,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x129d3b(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x1a0)]))],_0x344c8e);const _0x12fb24=0x14,_0x458ef9=0xc8,_0xf971df=0x4,_0x1efc0e=0x5;function _0x19c1b2(_0x1f604a,_0x30f341){const _0x10bdbf=_0x2273bc;let {radius:_0x5abf26,width:_0x2f2c6c,height:_0x4e8c46}=_0x30f341;_0x5abf26=_0x5abf26!=null?_0x5abf26:0x0,_0x2f2c6c=_0x2f2c6c!=null?_0x2f2c6c:0x1e,_0x4e8c46=_0x4e8c46!=null?_0x4e8c46:0x1e;let _0x216f2d=0x0,_0x14f6d2=0x0,_0x194acf=0x0;_0x216f2d=_0x14f6d2=_0x194acf=Math[_0x10bdbf(0x3bd)](_0x5abf26,_0x2f2c6c/0x2,_0x4e8c46/0x2),_0x1f604a['beginPath'](),_0x1f604a[_0x10bdbf(0x303)](_0x216f2d,0x0),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c-_0x14f6d2,0x0),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x14f6d2,_0x14f6d2,_0x14f6d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c,_0x4e8c46-_0x194acf),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x194acf,_0x4e8c46-_0x194acf,_0x194acf,0x0,Math['PI']/0x2,!0x1),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x4e8c46),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x216f2d),_0x1f604a[_0x10bdbf(0x310)](_0x216f2d,_0x216f2d,_0x216f2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f604a['closePath'](),_0x30f341['fill']&&(_0x1f604a[_0x10bdbf(0x24a)](),_0x1f604a[_0x10bdbf(0x367)]=_0x30f341[_0x10bdbf(0x297)],_0x30f341[_0x10bdbf(0x22d)]===_0x10bdbf(0x1b3)?_0x1f604a[_0x10bdbf(0x297)](_0x10bdbf(0x1b3)):_0x1f604a['fill'](),_0x1f604a[_0x10bdbf(0x2a5)]());}class _0x399458 extends _0x17a4de['Shape']{constructor(_0x4e680a,_0x3fa2ad){const _0x52621e=_0x2273bc;super(_0x4e680a,_0x3fa2ad),_0x394afd(this,'color'),_0x394afd(this,_0x52621e(0x35d)),(this[_0x52621e(0x2df)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x2df)],this[_0x52621e(0x35d)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x35d)]);}static['drawWith'](_0x301279,_0x468535){const _0x20fc73=_0x2273bc,{text:_0x2e1cf3,color:_0x5944a4}=_0x468535;_0x301279[_0x20fc73(0x24a)](),_0x301279[_0x20fc73(0x40a)]=_0x20fc73(0x3c0);const _0x45a93c=_0x301279['measureText'](_0x2e1cf3)[_0x20fc73(0x2fb)],_0x18d95a=Math['min'](_0x45a93c+0x2*_0xf971df,_0x458ef9);_0x19c1b2(_0x301279,{'height':_0x12fb24,'radius':0x4,'width':_0x18d95a,'fill':_0x5944a4}),_0x301279['fillStyle']=_0x20fc73(0x1d8);const _0x463440=_0xf971df,_0x2e82df=_0x12fb24-_0x1efc0e,_0xf0c620=_0x458ef9-0x2*_0xf971df;if(_0x45a93c>_0xf0c620){let _0x48a757='',_0x57740a=0x0;for(const _0x49f735 of _0x2e1cf3){const _0x186495=_0x301279[_0x20fc73(0x3c9)](_0x49f735)['width'];if(_0x57740a+_0x186495<=_0xf0c620-_0x301279[_0x20fc73(0x3c9)](_0x20fc73(0x366))[_0x20fc73(0x2fb)])_0x48a757+=_0x49f735,_0x57740a+=_0x186495;else{_0x48a757+=_0x20fc73(0x366);break;}}_0x301279[_0x20fc73(0x1fe)](_0x48a757,_0x463440,_0x2e82df);}else _0x301279['fillText'](_0x2e1cf3,_0x463440,_0x2e82df);_0x301279[_0x20fc73(0x2a5)]();}[_0x2273bc(0x33f)](_0x59f7f4){const _0x3bd5e8=_0x2273bc;_0x399458[_0x3bd5e8(0x2ce)](_0x59f7f4,this);}}const _0x55cfd8=_0x2273bc(0x406),_0xd18c9f=_0x2273bc(0x26f),_0x435355=_0x2273bc(0x21d),_0x2fefc3=0x6,_0x5316e5=1.5,_0x5b7271=0x4,_0x2dade2=1.5,_0x182343=_0x2273bc(0x36a);class _0x4e5939{constructor(_0x41e24a,_0x22ea3f,_0x9d4eae,_0x268a95){const _0xc3523a=_0x2273bc;_0x394afd(this,_0xc3523a(0x2f6),[]),_0x394afd(this,_0xc3523a(0x38b),null),_0x394afd(this,_0xc3523a(0x246),null),_0x394afd(this,_0xc3523a(0x27a),null),_0x394afd(this,_0xc3523a(0x2de),null),_0x394afd(this,_0xc3523a(0x37b),null),(this['_cursor']=_0x41e24a,this[_0xc3523a(0x1fa)]=_0x22ea3f,this[_0xc3523a(0x339)]=_0x9d4eae,this['_document']=_0x268a95,this['_render']());}set['_hover'](_0x468f56){const _0x1f1d5d=_0x2273bc;_0x468f56?(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x1ce)](),this['_textBubble']&&this[_0x1f1d5d(0x246)][_0x1f1d5d(0x3dd)]()):(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x3dd)](),this['_textBubble']&&this[_0x1f1d5d(0x246)]['hide']());}['dispose'](){const _0x42ff2f=_0x2273bc;for(const _0xbea4ff of this['_shapes'])_0xbea4ff[_0x42ff2f(0x3b5)]();this['_textBubble']&&this['_textBubble'][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x27a)]&&this[_0x42ff2f(0x27a)][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x38b)]&&this[_0x42ff2f(0x38b)][_0x42ff2f(0x3b5)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2273bc(0x300)](){const _0x290725=_0x2273bc;var _0x16979e;const {_docSkeleton:_0x36d55d,_document:_0x21c6a8}=this,{color:_0x46ef35,name:_0x4dc8ca,ranges:_0x1a1c9c}=this[_0x290725(0x347)],_0x43ccc0=_0x21c6a8[_0x290725(0x381)](),{docsLeft:_0x3d11c8,docsTop:_0x33c4bb}=_0x43ccc0,_0x5d2245=new _0x1b66a1[(_0x290725(0x2d7))](_0x43ccc0,_0x36d55d);for(const {startOffset:_0x16798b,endOffset:_0x54f893,rangeType:_0xed3904,segmentId:_0x536a8e,segmentPage:_0x21c05e,collapsed:_0x3b464e,isActive:_0x36fc16}of _0x1a1c9c){const _0x57d7de=_0x36d55d[_0x290725(0x1cd)](_0x16798b,!0x0,_0x536a8e,_0x21c05e);let _0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893,!0x0,_0x536a8e,_0x21c05e);if(_0x30a4ca==null&&(_0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893-0x1,!0x1,_0x536a8e,_0x21c05e)),_0x36fc16){const {contentBoxPointGroup:_0x2b14bc}=_0x5d2245[_0x290725(0x39a)](_0x30a4ca,_0x30a4ca);if(_0x2b14bc[_0x290725(0x1cb)]===0x0)continue;this[_0x290725(0x29b)](_0x46ef35,_0x2b14bc,_0x3d11c8,_0x33c4bb,_0x4dc8ca),this[_0x290725(0x37b)]=this['_handleHover']();}if(_0x57d7de&&_0x30a4ca){if(_0xed3904===_0x45454d[_0x290725(0x287)][_0x290725(0x317)]){const _0x4e8870=new _0x1b66a1[(_0x290725(0x2a9))](_0x43ccc0,_0x36d55d),{pointGroup:_0x5de268}=(_0x16979e=_0x4e8870[_0x290725(0x39a)](_0x57d7de,_0x30a4ca))!=null?_0x16979e:{};if(_0x5de268==null||_0x5de268[_0x290725(0x1cb)]===0x0)continue;this['_drawRectRange'](_0x46ef35,_0x5de268,_0x3d11c8,_0x33c4bb);}else{if(!_0x3b464e){const {borderBoxPointGroup:_0x1809ee}=_0x5d2245[_0x290725(0x39a)](_0x57d7de,_0x30a4ca);if(_0x1809ee[_0x290725(0x1cb)]===0x0)continue;this['_drawTextRange'](_0x46ef35,_0x1809ee,_0x3d11c8,_0x33c4bb);}}}}}[_0x2273bc(0x29b)](_0x2a38c5,_0x249f81,_0x417f5b,_0x30ac43,_0x1e4f51){const _0x353638=_0x2273bc,_0x543746=this['_getAnchorBounding'](_0x249f81),{left:_0x439073,top:_0x3ae2b5,height:_0xad94b8}=_0x543746,_0xe5ff5d=this[_0x353638(0x25b)](),_0x511fd0=_0x2dade2/_0xe5ff5d,_0x4ce70d=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43,'height':_0xad94b8,'width':_0x5316e5,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':_0x511fd0,'stroke':_0x182343,'evented':!0x0});this['_anchor']=_0x4ce70d,this['_scene'][_0x353638(0x2c3)](_0x4ce70d,_0x1b66a1[_0x353638(0x2c7)]);const _0x1749ed=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x5b7271/0x2,'height':_0x5b7271,'width':_0x5b7271,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':0x0,'stroke':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d[_0x353638(0x35f)]['black'],0x0),'evented':!0x1});this[_0x353638(0x27a)]=_0x1749ed,this[_0x353638(0x1fa)]['addObject'](_0x1749ed,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);const _0x3b4ce1=new _0x399458(_0x55cfd8+_0x45454d['Tools'][_0x353638(0x3b0)](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x12fb24,'text':_0x1e4f51,'color':_0x2a38c5});this[_0x353638(0x246)]=_0x3b4ce1,this['_scene'][_0x353638(0x2c3)](_0x3b4ce1,_0x1b66a1[_0x353638(0x2c7)]),this[_0x353638(0x1ae)]=!0x1;}[_0x2273bc(0x321)](){const _0x4f00cf=_0x2273bc,_0x585e64=this[_0x4f00cf(0x38b)][_0x4f00cf(0x412)][_0x4f00cf(0x1c6)](()=>{const _0xe59b7f=_0x4f00cf;this[_0xe59b7f(0x1ae)]=!0x0;}),_0x20a9f6=this['_anchor']['onPointerLeave$'][_0x4f00cf(0x1c6)](()=>{const _0x5d90cb=_0x4f00cf;this[_0x5d90cb(0x2de)]&&clearTimeout(this[_0x5d90cb(0x2de)]),this[_0x5d90cb(0x2de)]=setTimeout(()=>{const _0x45eccd=_0x5d90cb;this[_0x45eccd(0x1ae)]=!0x1;},0x7d0);});return()=>{const _0x168b37=_0x4f00cf;_0x585e64[_0x168b37(0x19a)](),_0x20a9f6['unsubscribe']();};}[_0x2273bc(0x288)](_0x5af3b2,_0x58de59,_0x2e3d0e,_0x23f55b){const _0x214aae=_0x2273bc,_0x286ced=new _0x45454d[(_0x214aae(0x3fb))](_0x5af3b2)['setAlpha'](0.2)[_0x214aae(0x20c)](),_0x2c8b00=new _0x17a4de[(_0x214aae(0x1bc))](_0xd18c9f+_0x45454d[_0x214aae(0x400)][_0x214aae(0x3b0)](_0x2fefc3),{'pointsGroup':_0x58de59,'fill':_0x286ced||_0x17a4de[_0x214aae(0x328)](_0x45454d[_0x214aae(0x35f)][_0x214aae(0x1bf)],0.2),'left':_0x2e3d0e,'top':_0x23f55b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x214aae(0x2f6)][_0x214aae(0x273)](_0x2c8b00),this[_0x214aae(0x1fa)][_0x214aae(0x2c3)](_0x2c8b00,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}[_0x2273bc(0x25e)](_0x1fdace,_0x64baa7,_0x2cf832,_0x5b6f40){const _0x1b71d4=_0x2273bc,_0x1eca0b=new _0x45454d[(_0x1b71d4(0x3fb))](_0x1fdace)[_0x1b71d4(0x2fa)](0.2)[_0x1b71d4(0x20c)](),_0x35ba4a=new _0x17a4de[(_0x1b71d4(0x1bc))](_0x435355+_0x45454d[_0x1b71d4(0x400)][_0x1b71d4(0x3b0)](_0x2fefc3),{'pointsGroup':_0x64baa7,'fill':_0x1eca0b||_0x17a4de[_0x1b71d4(0x328)](_0x45454d[_0x1b71d4(0x35f)][_0x1b71d4(0x1bf)],0.2),'left':_0x2cf832,'top':_0x5b6f40,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b71d4(0x2f6)][_0x1b71d4(0x273)](_0x35ba4a),this[_0x1b71d4(0x1fa)][_0x1b71d4(0x2c3)](_0x35ba4a,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x17dd41){const _0xc60e8f=_0x17dd41[0x0],_0x117c7f=_0xc60e8f[0x0],_0x16eb9a=_0xc60e8f[0x2],{x:_0x2a3658,y:_0x302214}=_0x117c7f,{x:_0x36a9fe,y:_0x58268c}=_0x16eb9a;return{'left':_0x2a3658,'top':_0x302214,'width':_0x36a9fe-_0x2a3658,'height':_0x58268c-_0x302214};}[_0x2273bc(0x25b)](){const _0x118d81=_0x2273bc,{scaleX:_0x4659f7,scaleY:_0x3cac78}=this[_0x118d81(0x1fa)][_0x118d81(0x206)]();return Math[_0x118d81(0x29f)](_0x4659f7,_0x3cac78);}}var _0x340a65=Object[_0x2273bc(0x43a)],_0x2365a7=(_0x4a950e,_0x432b95,_0x57c43a,_0x5bce56)=>{const _0x5e9b3c=_0x2273bc;for(var _0x3a7ae9=_0x5bce56>0x1?void 0x0:_0x5bce56?_0x340a65(_0x432b95,_0x57c43a):_0x432b95,_0x35bf8f=_0x4a950e[_0x5e9b3c(0x1cb)]-0x1,_0x472b10;_0x35bf8f>=0x0;_0x35bf8f--)(_0x472b10=_0x4a950e[_0x35bf8f])&&(_0x3a7ae9=_0x472b10(_0x3a7ae9)||_0x3a7ae9);return _0x3a7ae9;},_0x37d464=(_0x13ec61,_0x147aae)=>(_0x249f06,_0x337869)=>_0x147aae(_0x249f06,_0x337869,_0x13ec61);let _0xd126a4=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x419c01,_0x526719,_0x4ce503,_0x45f82b,_0x2d5d72){const _0x41cc52=_0x2273bc;super(),_0x394afd(this,'_cursorShapes',[]),_0x394afd(this,_0x41cc52(0x225),[]),(this['_context']=_0x419c01,this[_0x41cc52(0x324)]=_0x526719,this['_collabCursorController']=_0x4ce503,this['_commandService']=_0x45f82b,this[_0x41cc52(0x204)]=_0x2d5d72,this['_init']());}['_init'](){const _0x41b59f=_0x2273bc,_0xc2db2b=this[_0x41b59f(0x3b7)][_0x41b59f(0x338)],_0x26c754=this['_docSkeletonManagerService'];this[_0x41b59f(0x36f)](_0x481401['combineLatest']([this[_0x41b59f(0x405)][_0x41b59f(0x249)](_0xc2db2b),this[_0x41b59f(0x204)][_0x41b59f(0x19f)]])[_0x41b59f(0x262)](_0x382509[_0x41b59f(0x2ef)](([_0x45e539,_0x283a5b])=>({'skeleton':_0x26c754[_0x41b59f(0x1e6)](),'cursors':[..._0x45e539['values']()]['flatMap'](_0x4d8b25=>({..._0x4d8b25,'color':this['_themeService']['getColorFromTheme'](_0x4d8b25['color'])}))})))['subscribe'](_0x1a0c6c=>{const _0x578245=_0x41b59f;if(this[_0x578245(0x41d)](),_0x1a0c6c){const {skeleton:_0x4c9b3d,cursors:_0x3c939e}=_0x1a0c6c;this[_0x578245(0x1c9)](_0x4c9b3d,_0x3c939e);}})),this[_0x41b59f(0x26a)](),this[_0x41b59f(0x1ec)]();}[_0x2273bc(0x1c9)](_0x47199c,_0x25c74c){const _0x49a8d6=_0x2273bc,{scene:_0x52fc8e,mainComponent:_0x71106}=this['_context'],_0x4c9322=_0x25c74c[_0x49a8d6(0x2ef)](_0x466dac=>new _0x4e5939(_0x466dac,_0x52fc8e,_0x47199c,_0x71106));this[_0x49a8d6(0x342)]=_0x4c9322,this[_0x49a8d6(0x225)]=_0x25c74c;}[_0x2273bc(0x1a9)](){const _0x4cd9ac=_0x2273bc;this['_removeCollabCursors']();const {scene:_0x329d54,mainComponent:_0x361eda}=this[_0x4cd9ac(0x3b7)],_0x35c5f8=this['_docSkeletonManagerService'][_0x4cd9ac(0x1e6)](),_0x36e61e=this[_0x4cd9ac(0x225)]['map'](_0x57f74e=>new _0x4e5939(_0x57f74e,_0x329d54,_0x35c5f8,_0x361eda));this['_cursorShapes']=_0x36e61e;}['_removeCollabCursors'](){const _0x2bf6c1=_0x2273bc;this[_0x2bf6c1(0x342)]['forEach'](_0x326817=>_0x326817[_0x2bf6c1(0x3b5)]()),this[_0x2bf6c1(0x342)]=[];}[_0x2273bc(0x1ec)](){const _0x1173e3=_0x2273bc,_0x14c54b=[_0x1b66a1[_0x1173e3(0x1fc)]['id']];this['disposeWithMe'](this[_0x1173e3(0x1c1)]['onCommandExecuted'](_0x2f9ef4=>{const _0x3a0c11=_0x1173e3;_0x14c54b[_0x3a0c11(0x3ea)](_0x2f9ef4['id'])&&_0x2f9ef4[_0x3a0c11(0x399)][_0x3a0c11(0x338)]===this['_context'][_0x3a0c11(0x338)]&&this[_0x3a0c11(0x1a9)]();}));}[_0x2273bc(0x26a)](){const _0x79bb5f=_0x2273bc;this[_0x79bb5f(0x36f)](_0x45454d[_0x79bb5f(0x3d3)](this[_0x79bb5f(0x3b7)]['engine']['onTransformChange$'])[_0x79bb5f(0x262)](_0x382509[_0x79bb5f(0x334)](_0x3a9999=>_0x3a9999[_0x79bb5f(0x28e)]===_0x17a4de['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x79bb5f(0x2be)]),_0x382509[_0x79bb5f(0x1df)](0x10))[_0x79bb5f(0x2b7)](()=>{const _0x3413ac=_0x79bb5f;this[_0x3413ac(0x1a9)]();}));}};_0xd126a4=_0x2365a7([_0x37d464(0x1,_0x45454d[_0x2273bc(0x37f)](_0x1af111['DocSkeletonManagerService'])),_0x37d464(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x37d464(0x3,_0x45454d[_0x2273bc(0x3d0)]),_0x37d464(0x4,_0x45454d[_0x2273bc(0x37f)](_0x45454d['ThemeService']))],_0xd126a4);const _0x4faee9=0x1,_0x173b07=1.5;class _0x1ce661 extends _0x17a4de[_0x2273bc(0x325)]{constructor(_0x19e91a,_0x500833){const _0x3adbea=_0x2273bc;super(_0x19e91a,_0x500833),_0x394afd(this,_0x3adbea(0x40e)),_0x394afd(this,_0x3adbea(0x3b1),!0x1),_0x394afd(this,'_range'),_0x394afd(this,_0x3adbea(0x365),''),_0x394afd(this,_0x3adbea(0x32f),_0x3adbea(0x31a)),_0x394afd(this,_0x3adbea(0x1da)),(_0x500833&&this[_0x3adbea(0x24c)](_0x500833),this[_0x3adbea(0x412)][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2273bc(0x24c)](_0x4b0140){const _0x4635d6=_0x2273bc;var _0x917070,_0x54d1ff,_0x3b448c,_0x5b6949,_0x1ed02e,_0x5008ea;this[_0x4635d6(0x40e)]=(_0x917070=_0x4b0140[_0x4635d6(0x2df)])!=null?_0x917070:this[_0x4635d6(0x40e)],this[_0x4635d6(0x3b1)]=(_0x54d1ff=_0x4b0140[_0x4635d6(0x33d)])!=null?_0x54d1ff:this[_0x4635d6(0x3b1)],this[_0x4635d6(0x3f1)]=(_0x3b448c=_0x4b0140[_0x4635d6(0x3c8)])!=null?_0x3b448c:this[_0x4635d6(0x3f1)],this[_0x4635d6(0x365)]=(_0x5b6949=_0x4b0140[_0x4635d6(0x2c8)])!=null?_0x5b6949:this[_0x4635d6(0x365)],this[_0x4635d6(0x32f)]=(_0x1ed02e=_0x4b0140['labelPosition'])!=null?_0x1ed02e:this[_0x4635d6(0x32f)],this['_backgroundColor']=(_0x5008ea=_0x4b0140['backgroundColor'])!=null?_0x5008ea:this[_0x4635d6(0x1da)],this[_0x4635d6(0x23b)]({'width':_0x4b0140[_0x4635d6(0x2fb)],'height':_0x4b0140[_0x4635d6(0x2a8)]});}[_0x2273bc(0x24d)](_0x1389e4){const _0x1ea53a=_0x2273bc,{row:_0x824b3f,column:_0x27a707}=_0x1389e4;if(_0x824b3f>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x23f)]&&_0x824b3f<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x3d7)]&&_0x27a707>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x1b2)]&&_0x27a707<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x222)]){this[_0x1ea53a(0x24c)]({'hovered':!0x0});return;}this[_0x1ea53a(0x24c)]({'hovered':!0x1});}[_0x2273bc(0x2ab)](_0x261f3f){return!0x1;}[_0x2273bc(0x33f)](_0x1fe1d7){const _0x25c034=_0x2273bc;_0x17a4de[_0x25c034(0x256)][_0x25c034(0x2ce)](_0x1fe1d7,{'width':this[_0x25c034(0x2fb)],'height':this[_0x25c034(0x2a8)],'strokeWidth':_0x173b07,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x25c034(0x1da)]}),this[_0x25c034(0x3b1)]&&(_0x1fe1d7[_0x25c034(0x24a)](),_0x1fe1d7[_0x25c034(0x23e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x25c034(0x1f4)?0x0:-0x14),_0x399458[_0x25c034(0x2ce)](_0x1fe1d7,{'text':this[_0x25c034(0x365)],'color':this[_0x25c034(0x40e)]}),_0x1fe1d7[_0x25c034(0x2a5)]());}}var _0x5c5a0a=Object[_0x2273bc(0x43a)],_0x2abcd1=(_0x4370b9,_0x4d510e,_0x2507b4,_0x549ded)=>{const _0x420c6c=_0x2273bc;for(var _0x144ffd=_0x549ded>0x1?void 0x0:_0x549ded?_0x5c5a0a(_0x4d510e,_0x2507b4):_0x4d510e,_0x5d00b4=_0x4370b9[_0x420c6c(0x1cb)]-0x1,_0x2098d4;_0x5d00b4>=0x0;_0x5d00b4--)(_0x2098d4=_0x4370b9[_0x5d00b4])&&(_0x144ffd=_0x2098d4(_0x144ffd)||_0x144ffd);return _0x144ffd;},_0x4e35ad=(_0x25179f,_0x1be003)=>(_0x44ac95,_0x3f80a7)=>_0x1be003(_0x44ac95,_0x3f80a7,_0x25179f);const _0x934b23=0x1389;let _0x4549a0=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x114de2,_0x39fa90,_0x1bc824,_0x251c1e){const _0x50a55d=_0x2273bc;super(),_0x394afd(this,_0x50a55d(0x225),new Set()),_0x394afd(this,_0x50a55d(0x239),null),(this[_0x50a55d(0x3b7)]=_0x114de2,this[_0x50a55d(0x293)]=_0x39fa90,this[_0x50a55d(0x405)]=_0x1bc824,this[_0x50a55d(0x204)]=_0x251c1e,this[_0x50a55d(0x27f)]());}['_init'](){const _0x271e5a=_0x2273bc;this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x262)](_0x382509[_0x271e5a(0x2f3)](this['dispose$']),_0x382509['switchMap'](_0x5ba84d=>{const _0x1abba2=_0x271e5a;if(_0x5ba84d){const _0x38561c=_0x5ba84d[_0x1abba2(0x263)];return _0x481401['combineLatest'](this['_collabCursorController'][_0x1abba2(0x249)](this[_0x1abba2(0x3b7)][_0x1abba2(0x338)]),this[_0x1abba2(0x204)][_0x1abba2(0x19f)])[_0x1abba2(0x262)](_0x382509[_0x1abba2(0x2ef)](([_0x55d29a,_0x1a33b8])=>{const _0x4a9ab0=_0x1abba2,_0x20f243=new Map();return _0x55d29a[_0x4a9ab0(0x213)]((_0x25cc16,_0x357cf7)=>{const _0x4a058b=_0x4a9ab0;if(_0x25cc16[_0x4a058b(0x3df)]===_0x38561c){const _0x284424={..._0x25cc16};_0x284424[_0x4a058b(0x2df)]=this[_0x4a058b(0x204)][_0x4a058b(0x24b)](_0x25cc16[_0x4a058b(0x2df)]),_0x20f243['set'](_0x357cf7,_0x284424);}}),{'skeleton':_0x5ba84d,'cursors':_0x20f243};}));}return _0x481401['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4fba66,cursors:_0x290692})=>{const _0x2b03e3=_0x271e5a;this[_0x2b03e3(0x41d)](),_0x4fba66&&this[_0x2b03e3(0x1c9)](_0x4fba66,_0x290692);}),this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x2b7)](_0x1ea948=>{const _0x3237a0=_0x271e5a;if(_0x1ea948==null)return;const {skeleton:_0x4def76}=_0x1ea948,{scene:_0x1774cf}=this['_context'];_0x1774cf[_0x3237a0(0x3c3)][_0x3237a0(0x1c6)](_0x45454d[_0x3237a0(0x29d)](_0x209a66=>{const _0x53fc2a=_0x3237a0;var _0x1b8909,_0x5cfd35;const {offsetX:_0x254ff5,offsetY:_0x5beb53}=_0x209a66,{x:_0x1bfc6e,y:_0x3a4e80}=_0x1774cf[_0x53fc2a(0x2f0)](_0x17a4de['Vector2'][_0x53fc2a(0x215)]([_0x254ff5,_0x5beb53])),{scaleX:_0x37e5ce,scaleY:_0xe29ce1}=_0x1774cf[_0x53fc2a(0x206)](),_0xd57072=_0x1774cf[_0x53fc2a(0x427)](_0x17a4de['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x1be1b6=_0x1774cf['getVpScrollXYInfoByPosToVp'](_0x17a4de[_0x53fc2a(0x2ba)][_0x53fc2a(0x215)]([_0x1bfc6e,_0x3a4e80]),_0xd57072),_0x278e69=_0x4def76[_0x53fc2a(0x1e9)](_0x254ff5,_0x5beb53,_0x37e5ce,_0xe29ce1,_0x1be1b6);((_0x1b8909=this[_0x53fc2a(0x239)])==null?void 0x0:_0x1b8909[_0x53fc2a(0x20a)])===_0x278e69['column']&&((_0x5cfd35=this[_0x53fc2a(0x239)])==null?void 0x0:_0x5cfd35[_0x53fc2a(0x354)])===_0x278e69['row']||this[_0x53fc2a(0x225)][_0x53fc2a(0x213)](_0xfc7580=>{const _0x42acbf=_0x53fc2a;_0xfc7580[_0x42acbf(0x24d)](_0x278e69);});},0x64));});}[_0x2273bc(0x1c9)](_0x4f29ea,_0x124dfc){const _0x421980=_0x2273bc;var _0x472a3c;const _0x15cdf5=(_0x472a3c=this[_0x421980(0x293)][_0x421980(0x1a5)]())==null?void 0x0:_0x472a3c[_0x421980(0x35a)];if(!_0x15cdf5)return;const _0x28e826=this[_0x421980(0x422)]();if(!_0x28e826)return;this[_0x421980(0x225)]['forEach'](_0x4b35c1=>{const _0x1e7c7f=_0x421980;_0x4b35c1[_0x1e7c7f(0x299)]();});const {scene:_0xa666be}=_0x28e826,_0x8a6ff2=_0x507bfd(Array[_0x421980(0x320)](_0x124dfc['values']()))[_0x421980(0x2ef)](_0x374323=>{const _0x267324=_0x421980,{color:_0xb3830d,range:_0x2d6c02,name:_0x4c7a7f,selection:_0x158185,sheetID:_0x1ed0fc}=_0x374323,{startColumn:_0x109b3b,startRow:_0x22b970,endColumn:_0x2922c9,endRow:_0x3d0b5b}=_0x2d6c02,_0x428ad6=_0x3497ae['getCoordByCell'](_0x22b970,_0x109b3b,_0xa666be,_0x15cdf5),_0x58516b=_0x3497ae[_0x267324(0x3e1)](_0x3d0b5b,_0x2922c9,_0xa666be,_0x15cdf5),{columnHeaderHeightAndMarginTop:_0x1d51cb}=_0x15cdf5,{startX:_0x69354f,startY:_0x2dac4e}=_0x428ad6,{endX:_0x5b8deb,endY:_0x24d85c}=_0x58516b,_0xad5006=_0x5b8deb-_0x69354f,_0x55dd11=_0x24d85c-_0x2dac4e,_0x2bec5b={'labelPosition':_0x2dac4e-_0x1d51cb>=_0x12fb24?_0x267324(0x31a):_0x267324(0x1f4),'sheetID':_0x1ed0fc,'range':_0x2d6c02,'color':_0xb3830d,'name':_0x4c7a7f,'selection':_0x158185,'left':_0x69354f,'top':_0x2dac4e,'width':_0xad5006,'height':_0x55dd11,'evented':!0x1,'zIndex':_0x934b23};return new _0x1ce661(_0x4c7a7f,_0x2bec5b);});_0xa666be[_0x421980(0x3aa)](_0x8a6ff2,_0x4faee9),this[_0x421980(0x225)]=new Set(_0x8a6ff2);}[_0x2273bc(0x41d)](){const _0x46bc17=_0x2273bc;var _0x4618b1;(_0x4618b1=this[_0x46bc17(0x225)])==null||_0x4618b1['forEach'](_0x3d640b=>_0x3d640b[_0x46bc17(0x3b5)]());}[_0x2273bc(0x422)](){const _0x44ff12=_0x2273bc;return _0x3497ae[_0x44ff12(0x423)](this[_0x44ff12(0x3b7)]['unit'],this['_context']);}};_0x4549a0=_0x2abcd1([_0x4e35ad(0x1,_0x45454d[_0x2273bc(0x37f)](_0x3497ae[_0x2273bc(0x272)])),_0x4e35ad(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x4e35ad(0x3,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x388)]))],_0x4549a0);function _0x507bfd(_0x2185fd){const _0x5e2138=_0x2273bc,_0x1a06bc=new Map();return _0x2185fd[_0x5e2138(0x213)](_0x29d759=>{const _0x38632d=_0x5e2138;if(_0x1a06bc[_0x38632d(0x385)](_0x29d759[_0x38632d(0x20d)])){const _0xf8948e=_0x1a06bc[_0x38632d(0x1ef)](_0x29d759[_0x38632d(0x20d)]);_0xf8948e[_0x38632d(0x2c8)]+=',\x20'+_0x29d759[_0x38632d(0x2c8)];}else _0x1a06bc[_0x38632d(0x2e8)](_0x29d759[_0x38632d(0x20d)],_0x29d759);}),Array['from'](_0x1a06bc[_0x5e2138(0x2db)]());}var _0x23332e=function(){const _0x3fd0df=_0x2273bc;return _0x23332e=Object[_0x3fd0df(0x252)]||function(_0x411734){const _0x4b1d0b=_0x3fd0df;for(var _0x6e6ac6,_0x17783d=0x1,_0x24cae1=arguments[_0x4b1d0b(0x1cb)];_0x17783d<_0x24cae1;_0x17783d++){_0x6e6ac6=arguments[_0x17783d];for(var _0x33b1d9 in _0x6e6ac6)Object[_0x4b1d0b(0x267)][_0x4b1d0b(0x296)][_0x4b1d0b(0x240)](_0x6e6ac6,_0x33b1d9)&&(_0x411734[_0x33b1d9]=_0x6e6ac6[_0x33b1d9]);}return _0x411734;},_0x23332e['apply'](this,arguments);},_0x2a822d=function(_0x479b67,_0x5e717b){const _0x39c3dc=_0x2273bc;var _0x4fcf5c={};for(var _0x34a7fc in _0x479b67)Object[_0x39c3dc(0x267)][_0x39c3dc(0x296)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc)&&_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc)<0x0&&(_0x4fcf5c[_0x34a7fc]=_0x479b67[_0x34a7fc]);if(_0x479b67!=null&&typeof Object[_0x39c3dc(0x22c)]==_0x39c3dc(0x201)){for(var _0x531a6c=0x0,_0x34a7fc=Object['getOwnPropertySymbols'](_0x479b67);_0x531a6c<_0x34a7fc[_0x39c3dc(0x1cb)];_0x531a6c++)_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc[_0x531a6c])<0x0&&Object[_0x39c3dc(0x267)][_0x39c3dc(0x1cf)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc[_0x531a6c])&&(_0x4fcf5c[_0x34a7fc[_0x531a6c]]=_0x479b67[_0x34a7fc[_0x531a6c]]);}return _0x4fcf5c;},_0x55d344=_0x54e81b['forwardRef'](function(_0x3e1ce9,_0x26556d){const _0x1ba26d=_0x2273bc;var _0x5a4a80=_0x3e1ce9['icon'],_0x3a8db1=_0x3e1ce9['id'],_0x59caf9=_0x3e1ce9[_0x1ba26d(0x371)],_0x26712f=_0x3e1ce9[_0x1ba26d(0x28a)],_0x3f516d=_0x2a822d(_0x3e1ce9,[_0x1ba26d(0x27b),'id',_0x1ba26d(0x371),'extend']),_0x44964c=_0x1ba26d(0x2d2)['concat'](_0x3a8db1,'\x20')[_0x1ba26d(0x311)](_0x59caf9||'')[_0x1ba26d(0x220)](),_0x2015ec=_0x54e81b[_0x1ba26d(0x3cb)]('_'[_0x1ba26d(0x311)](_0x189850()));return _0x1b8856(_0x5a4a80,''[_0x1ba26d(0x311)](_0x3a8db1),{'defIds':_0x5a4a80['defIds'],'idSuffix':_0x2015ec[_0x1ba26d(0x3e8)]},_0x23332e({'ref':_0x26556d,'className':_0x44964c},_0x3f516d),_0x26712f);});function _0x1b8856(_0x2bd0cb,_0x2e5e7c,_0x2d673c,_0x51023d,_0x44ea77){const _0x1fb805=_0x2273bc;return _0x54e81b[_0x1fb805(0x2a7)](_0x2bd0cb['tag'],_0x23332e(_0x23332e({'key':_0x2e5e7c},_0x1e4294(_0x2bd0cb,_0x2d673c,_0x44ea77)),_0x51023d),(_0xe717a1(_0x2bd0cb,_0x2d673c)['children']||[])[_0x1fb805(0x2ef)](function(_0x2acd7a,_0x33f6c0){const _0x1818f4=_0x1fb805;return _0x1b8856(_0x2acd7a,''['concat'](_0x2e5e7c,'-')[_0x1818f4(0x311)](_0x2bd0cb['tag'],'-')[_0x1818f4(0x311)](_0x33f6c0),_0x2d673c,void 0x0,_0x44ea77);}));}function _0x1e4294(_0x34be68,_0x14cc05,_0x43cb90){const _0x5359cd=_0x2273bc;var _0x25dd49=_0x23332e({},_0x34be68['attrs']);_0x43cb90!=null&&_0x43cb90[_0x5359cd(0x21e)]&&_0x25dd49[_0x5359cd(0x297)]===_0x5359cd(0x21e)&&(_0x25dd49['fill']=_0x43cb90[_0x5359cd(0x21e)]),_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x281)&&_0x25dd49['id']&&(_0x25dd49['id']=_0x25dd49['id']+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x157a05){const _0xb932f9=_0x5359cd;var _0x425144=_0x157a05[0x0],_0x48a2e6=_0x157a05[0x1];_0x425144==='mask'&&typeof _0x48a2e6==_0xb932f9(0x326)&&(_0x25dd49[_0x425144]=_0x48a2e6[_0xb932f9(0x234)](/url\(#(.*)\)/,'url(#$1'[_0xb932f9(0x311)](_0x14cc05[_0xb932f9(0x397)],')')));});var _0x2dd7b8=_0x14cc05[_0x5359cd(0x416)];return!_0x2dd7b8||_0x2dd7b8[_0x5359cd(0x1cb)]===0x0||(_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x396)&&_0x25dd49[_0x5359cd(0x2a6)]&&(_0x25dd49[_0x5359cd(0x2a6)]=_0x25dd49[_0x5359cd(0x2a6)]+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x5950f1){const _0x5d6bd9=_0x5359cd;var _0x5ab7e0=_0x5950f1[0x0],_0x1f57bf=_0x5950f1[0x1];typeof _0x1f57bf==_0x5d6bd9(0x326)&&(_0x25dd49[_0x5ab7e0]=_0x1f57bf[_0x5d6bd9(0x234)](/url\(#(.*)\)/,_0x5d6bd9(0x2bc)[_0x5d6bd9(0x311)](_0x14cc05[_0x5d6bd9(0x397)],')')));})),_0x25dd49;}function _0xe717a1(_0x177628,_0xdf730){const _0x32fc27=_0x2273bc;var _0x1ce5f4,_0x16d427=_0xdf730['defIds'];return!_0x16d427||_0x16d427[_0x32fc27(0x1cb)]===0x0?_0x177628:_0x177628[_0x32fc27(0x2f4)]===_0x32fc27(0x2b2)&&(!((_0x1ce5f4=_0x177628[_0x32fc27(0x3d4)])===null||_0x1ce5f4===void 0x0)&&_0x1ce5f4['length'])?_0x23332e(_0x23332e({},_0x177628),{'children':_0x177628[_0x32fc27(0x3d4)][_0x32fc27(0x2ef)](function(_0x10030e){const _0x45cf39=_0x32fc27;return typeof _0x10030e[_0x45cf39(0x286)]['id']==_0x45cf39(0x326)&&_0x16d427&&_0x16d427['includes'](_0x10030e[_0x45cf39(0x286)]['id'])?_0x23332e(_0x23332e({},_0x10030e),{'attrs':_0x23332e(_0x23332e({},_0x10030e[_0x45cf39(0x286)]),{'id':_0x10030e[_0x45cf39(0x286)]['id']+_0xdf730[_0x45cf39(0x397)]})}):_0x10030e;})}):_0x177628;}function _0x189850(){const _0x1c9833=_0x2273bc;return Math[_0x1c9833(0x1de)]()[_0x1c9833(0x439)](0x24)['substring'](0x2,0x8);}_0x55d344[_0x2273bc(0x1d1)]=_0x2273bc(0x3c5);var _0x40f3a8={'tag':'svg','attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':_0x2273bc(0x3a1),'width':_0x2273bc(0x348),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x1dd)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'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':_0x2273bc(0x3f2),'strokeLinejoin':_0x2273bc(0x3f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2273bc(0x205),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2273bc(0x2a0),'d':_0x2273bc(0x214)}}]}]}],'defIds':[_0x2273bc(0x27e)]},_0x3bdc49=_0x54e81b['forwardRef'](function(_0x1d481b,_0x420fb2){const _0x53b3a1=_0x2273bc;return _0x54e81b['createElement'](_0x55d344,Object[_0x53b3a1(0x252)]({},_0x1d481b,{'id':_0x53b3a1(0x229),'ref':_0x420fb2,'icon':_0x40f3a8}));});_0x3bdc49[_0x2273bc(0x1d1)]=_0x2273bc(0x2ae);var _0x4b810d={'tag':_0x2273bc(0x37d),'attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':'0\x200\x2017\x2016','width':_0x2273bc(0x348),'height':_0x2273bc(0x348)},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x266)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2273bc(0x2b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2273bc(0x437),'attrs':{'fill':_0x2273bc(0x2a0),'d':'M0\x200H16V16H0z','transform':_0x2273bc(0x3c2)}}]}]}],'defIds':[_0x2273bc(0x1cc)]},_0x598470=_0x54e81b['forwardRef'](function(_0x332fc7,_0x261a57){const _0xcf0991=_0x2273bc;return _0x54e81b[_0xcf0991(0x2a7)](_0x55d344,Object['assign']({},_0x332fc7,{'id':_0xcf0991(0x1a3),'ref':_0x261a57,'icon':_0x4b810d}));});_0x598470[_0x2273bc(0x1d1)]='OnLineIcon';function _0x4c276e(_0x4b49ac){const _0x476ced=_0x2273bc;switch(_0x4b49ac){case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3a9)]:return'collabStatus.offline';case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2c1)]:return _0x476ced(0x276);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x323)]:return _0x476ced(0x2b6);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2ad)]:return _0x476ced(0x2a3);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x1f8)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x265)]:return _0x476ced(0x433);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3fa)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x394)]:return _0x476ced(0x242);}}function _0x3b257c(_0x32186b){const _0x39ee6e=_0x2273bc,{status$:_0x575431}=_0x32186b,_0x252c94=_0x933c1a['useObservable'](_0x575431,_0xfdd47c[_0x39ee6e(0x336)][_0x39ee6e(0x2ad)]),_0x4422d1=_0x933c1a[_0x39ee6e(0x37a)](_0x45454d['LocaleService']),_0x2fd44a=_0x933c1a[_0x39ee6e(0x37a)](_0xfdd47c[_0x39ee6e(0x1a0)]),_0x18bc9b=_0x252c94!==_0xfdd47c[_0x39ee6e(0x336)]['OFFLINE'],_0x1b3180=_0x4422d1['t'](_0x4c276e(_0x252c94)),_0x43271b=_0x18bc9b?_0x135d70['jsx'](_0x598470,{}):_0x135d70[_0x39ee6e(0x2cf)](_0x3bdc49,{}),_0x182884=_0x54e81b[_0x39ee6e(0x3f4)](()=>{const _0x554207=_0x39ee6e;_0x18bc9b||_0x2fd44a[_0x554207(0x264)]();},[_0x18bc9b,_0x2fd44a]);function _0x585965(){const _0x394a2f=_0x39ee6e;return _0x135d70[_0x394a2f(0x3f0)]('div',{'className':_0x394a2f(0x271),'onClick':_0x182884,'children':[_0x135d70['jsx']('div',{'className':_0x4402cc[_0x394a2f(0x1f7)](_0x394a2f(0x32b),{'univer-text-green-500':_0x18bc9b,'univer-text-red-500':!_0x18bc9b}),'children':_0x43271b}),_0x135d70[_0x394a2f(0x2cf)]('div',{'className':_0x394a2f(0x259),'children':_0x1b3180})]});}return _0x18bc9b?_0x585965():_0x135d70[_0x39ee6e(0x2cf)](_0x4402cc[_0x39ee6e(0x3ad)],{'title':_0x4422d1['t'](_0x39ee6e(0x413)),'children':_0x585965()});}var _0x2cbb1a=Object['getOwnPropertyDescriptor'],_0x33b08d=(_0x6eb057,_0x17def1,_0x3a875b,_0x589f5f)=>{const _0x463c25=_0x2273bc;for(var _0x4909a0=_0x589f5f>0x1?void 0x0:_0x589f5f?_0x2cbb1a(_0x17def1,_0x3a875b):_0x17def1,_0x4ff184=_0x6eb057[_0x463c25(0x1cb)]-0x1,_0x1b7634;_0x4ff184>=0x0;_0x4ff184--)(_0x1b7634=_0x6eb057[_0x4ff184])&&(_0x4909a0=_0x1b7634(_0x4909a0)||_0x4909a0);return _0x4909a0;},_0x42a49e=(_0x16ee96,_0x7ce236)=>(_0x1e1148,_0x495059)=>_0x7ce236(_0x1e1148,_0x495059,_0x16ee96);_0x2f60c5[_0x2273bc(0x3f7)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x56d744,_0x1ee484,_0x3372fb,_0x1109f0){const _0x5208dc=_0x2273bc;super(),_0x394afd(this,_0x5208dc(0x292),new _0x481401[(_0x5208dc(0x2e4))](_0xfdd47c[_0x5208dc(0x336)][_0x5208dc(0x2ad)])),(this[_0x5208dc(0x383)]=_0x56d744,this[_0x5208dc(0x3ca)]=_0x1ee484,this[_0x5208dc(0x305)]=_0x3372fb,this[_0x5208dc(0x3fc)]=_0x1109f0,this[_0x5208dc(0x2b3)](),this[_0x5208dc(0x284)]());}[_0x2273bc(0x284)](){const _0x4221d7=_0x2273bc;this['disposeWithMe'](this[_0x4221d7(0x383)][_0x4221d7(0x2ec)][_0x4221d7(0x262)](_0x481401[_0x4221d7(0x275)](()=>{const _0x43af43=_0x4221d7,_0x51e43e=this[_0x43af43(0x383)][_0x43af43(0x3d2)]();return _0x51e43e?this[_0x43af43(0x305)][_0x43af43(0x39d)](_0x51e43e['getUnitId']()):_0x481401['of'](null);}),_0x481401['switchMap'](_0x1c0ee4=>_0x1c0ee4?_0x1c0ee4['status$']:_0x481401['of'](_0xfdd47c['CollaborationStatus'][_0x4221d7(0x2ad)])))[_0x4221d7(0x2b7)](_0x29ec8f=>{const _0x356188=_0x4221d7;this['_status$'][_0x356188(0x33c)](_0x29ec8f);}));}[_0x2273bc(0x2b3)](){const _0x4f9e88=_0x2273bc;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x933c1a[_0x4f9e88(0x216)][_0x4f9e88(0x19b)],()=>_0x933c1a['connectInjector'](_0x192f4f({'status$':this[_0x4f9e88(0x292)][_0x4f9e88(0x39f)]()}),this[_0x4f9e88(0x3ca)])));}},_0x2f60c5[_0x2273bc(0x3f7)]=_0x33b08d([_0x42a49e(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x42a49e(0x1,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x42a49e(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationController'])),_0x42a49e(0x3,_0x933c1a[_0x2273bc(0x244)])],_0x2f60c5[_0x2273bc(0x3f7)]);function _0x192f4f(_0x4e25ea){const {status$:_0x36da8c}=_0x4e25ea;return function(){return _0x135d70['jsx'](_0x3b257c,{'status$':_0x36da8c});};}var _0x2f35c6=Object[_0x2273bc(0x43a)],_0x54f4e8=(_0x2a5aa7,_0x109392,_0x53fa06,_0x4fa624)=>{for(var _0x14d941=_0x4fa624>0x1?void 0x0:_0x4fa624?_0x2f35c6(_0x109392,_0x53fa06):_0x109392,_0x379423=_0x2a5aa7['length']-0x1,_0x2304f6;_0x379423>=0x0;_0x379423--)(_0x2304f6=_0x2a5aa7[_0x379423])&&(_0x14d941=_0x2304f6(_0x14d941)||_0x14d941);return _0x14d941;},_0x1bc95c=(_0x29a769,_0x546397)=>(_0x296f3b,_0x44d3e2)=>_0x546397(_0x296f3b,_0x44d3e2,_0x29a769);let _0x32a402=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x44e800,_0xe1a0a6,_0x27bf9d,_0x38d5e4,_0x45e253,_0x1fd025){const _0x3db505=_0x2273bc;super(),this[_0x3db505(0x337)]=_0x44e800,this['_localCacheService']=_0xe1a0a6,this[_0x3db505(0x361)]=_0x27bf9d,this[_0x3db505(0x1d7)]=_0x38d5e4,this['_notificationService']=_0x45e253,this['_localeService']=_0x1fd025,this['_setupBeforeClosingHandler'](),this[_0x3db505(0x350)]();}['_setupBeforeClosingHandler'](){const _0x49ad30=_0x2273bc;this[_0x49ad30(0x36f)](this[_0x49ad30(0x337)][_0x49ad30(0x3c6)](()=>{const _0x227c58=_0x49ad30;if(this[_0x227c58(0x257)]['saveTaskMap'][_0x227c58(0x379)])return this[_0x227c58(0x3e9)]['t'](_0x227c58(0x38a));}));}['_initEvent'](){const _0x269779=_0x2273bc;this[_0x269779(0x36f)](this[_0x269779(0x361)][_0x269779(0x241)]['subscribe'](_0x262b2f=>{const _0x496a20=_0x269779;_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x291)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x496a20(0x2e5))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x295)]&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x40f))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x341)]&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x496a20(0x2bb)),'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x233)),'type':'error','duration':0x0}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x2c1)]&&this['_messageService'][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t']('collaboration.closeRoom')+'('+_0x262b2f[_0x496a20(0x3be)]+')'}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x1d9)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x262b2f[_0x496a20(0x3be)]||'')}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED_RETRY']&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x33a))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED']&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32d))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x29e)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32e))});}));}};_0x32a402=_0x54f4e8([_0x1bc95c(0x0,_0x933c1a[_0x2273bc(0x24f)]),_0x1bc95c(0x1,_0xfdd47c[_0x2273bc(0x415)]),_0x1bc95c(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationUIEventService'])),_0x1bc95c(0x3,_0x933c1a[_0x2273bc(0x1ff)]),_0x1bc95c(0x4,_0x933c1a[_0x2273bc(0x243)]),_0x1bc95c(0x5,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x32a402);const _0x523261=_0x2273bc(0x2dd),_0x217a89={},_0x3f856f=_0x45454d[_0x2273bc(0x36d)](_0x2273bc(0x19e));var _0x1cd880=Object[_0x2273bc(0x43a)],_0x4548e5=(_0xce3f43,_0x23a8c2,_0x448e3b,_0xdfc7b4)=>{const _0x27691b=_0x2273bc;for(var _0xc06539=_0xdfc7b4>0x1?void 0x0:_0xdfc7b4?_0x1cd880(_0x23a8c2,_0x448e3b):_0x23a8c2,_0x15d0ec=_0xce3f43[_0x27691b(0x1cb)]-0x1,_0x59328a;_0x15d0ec>=0x0;_0x15d0ec--)(_0x59328a=_0xce3f43[_0x15d0ec])&&(_0xc06539=_0x59328a(_0xc06539)||_0xc06539);return _0xc06539;},_0x1facf8=(_0x1d1d2e,_0x5abc50)=>(_0x28bfa3,_0x36595e)=>_0x5abc50(_0x28bfa3,_0x36595e,_0x1d1d2e);_0x2f60c5[_0x2273bc(0x3ed)]=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x3be5a3,_0x39a383,_0x4496bd,_0x2ecbdb,_0x4de41a){const _0x314dae=_0x2273bc;super(),this['_urlService']=_0x3be5a3,this[_0x314dae(0x1a2)]=_0x39a383,this['_commandService']=_0x4496bd,this[_0x314dae(0x309)]=_0x2ecbdb,_0x4de41a?_0x4de41a==null||_0x4de41a[_0x314dae(0x364)]()[_0x314dae(0x2d5)](()=>this[_0x314dae(0x27f)]()):(this[_0x314dae(0x1a2)]['debug'](_0x314dae(0x1d6),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x314dae(0x27f)]());}async[_0x2273bc(0x27f)](){const _0x5d24a1=_0x2273bc,_0xcc7577=this[_0x5d24a1(0x22b)]['getParam'](_0x5d24a1(0x3a2)),_0x34b3c0=this[_0x5d24a1(0x22b)][_0x5d24a1(0x330)](_0x5d24a1(0x28e)),_0x38471f=this['_urlService'][_0x5d24a1(0x330)]('subunit');if(!_0xcc7577||!_0x34b3c0){this[_0x5d24a1(0x1a2)][_0x5d24a1(0x219)]('[CollaborationDataLoaderController]',_0x5d24a1(0x1e7));return;}const _0xc22207=await this[_0x5d24a1(0x309)][_0x5d24a1(0x1f2)](_0xcc7577,Number(_0x34b3c0),_0x38471f);_0xc22207&&_0xc22207 instanceof _0x45454d[_0x5d24a1(0x1e0)]&&this['_setupSubUnitSync'](_0xc22207);}async[_0x2273bc(0x370)](_0x4e0c63){const _0x1a87be=_0x2273bc;await this[_0x1a87be(0x34f)](_0x4e0c63),_0x4e0c63['activeSheet$'][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))['subscribe'](_0x375d69=>{const _0x6e95ef=_0x1a87be;_0x375d69&&this[_0x6e95ef(0x3e3)](_0x375d69);}),this[_0x1a87be(0x22b)][_0x1a87be(0x1d5)][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))[_0x1a87be(0x2b7)](()=>this['_updateSubUnitFromURLParams'](_0x4e0c63));}[_0x2273bc(0x3e3)](_0x320e35,_0x502eaf=!0x1){const _0x43e0f4=_0x2273bc,_0x51bb69=this[_0x43e0f4(0x22b)][_0x43e0f4(0x330)](_0x43e0f4(0x2d3));_0x320e35['getSheetId']()!==_0x51bb69&&this[_0x43e0f4(0x22b)][_0x43e0f4(0x221)](_0x43e0f4(0x2d3),_0x320e35[_0x43e0f4(0x1be)](),_0x502eaf);}async[_0x2273bc(0x34f)](_0x5668cd){const _0x1552ec=_0x2273bc;var _0x4cb0d5;const _0x5e2d12=this['_urlService']['getParam'](_0x1552ec(0x2d3));if(!_0x5e2d12||!_0x5668cd[_0x1552ec(0x2ca)](_0x5e2d12)){const _0x3a5467=_0x5668cd[_0x1552ec(0x349)]()[0x0],_0x1c93a0=_0x5668cd[_0x1552ec(0x2ca)](_0x3a5467);if(!_0x1c93a0)return;this[_0x1552ec(0x3e3)](_0x1c93a0,!0x0),await this['_commandService'][_0x1552ec(0x238)](_0x518da4[_0x1552ec(0x2a4)]['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x3a5467});return;}((_0x4cb0d5=_0x5668cd[_0x1552ec(0x2f1)]())==null?void 0x0:_0x4cb0d5[_0x1552ec(0x1be)]())!==_0x5e2d12&&await this[_0x1552ec(0x1c1)][_0x1552ec(0x238)](_0x518da4['SetWorksheetActivateCommand']['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x5e2d12});}},_0x2f60c5[_0x2273bc(0x3ed)]=_0x4548e5([_0x1facf8(0x0,_0x3f856f),_0x1facf8(0x1,_0x45454d[_0x2273bc(0x254)]),_0x1facf8(0x2,_0x45454d[_0x2273bc(0x3d0)]),_0x1facf8(0x3,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x42c)])),_0x1facf8(0x4,_0x45454d[_0x2273bc(0x362)](_0x1c6948['IRemoteInstanceService']))],_0x2f60c5[_0x2273bc(0x3ed)]);var _0x2a5c9b=Object[_0x2273bc(0x43a)],_0x5a3827=(_0x52c887,_0x56da02,_0x14f43a,_0x14720a)=>{const _0x2ff166=_0x2273bc;for(var _0x40efac=_0x14720a>0x1?void 0x0:_0x14720a?_0x2a5c9b(_0x56da02,_0x14f43a):_0x56da02,_0x30e2c1=_0x52c887[_0x2ff166(0x1cb)]-0x1,_0x91d48d;_0x30e2c1>=0x0;_0x30e2c1--)(_0x91d48d=_0x52c887[_0x30e2c1])&&(_0x40efac=_0x91d48d(_0x40efac)||_0x40efac);return _0x40efac;},_0x1731e2=(_0x30bf50,_0x4295d1)=>(_0x1ce35f,_0x2e9c71)=>_0x4295d1(_0x1ce35f,_0x2e9c71,_0x30bf50);let _0x54f8ab=class{constructor(_0x8c7b4a,_0x24a46b,_0x339833){const _0x4fcc4e=_0x2273bc;this['_injector']=_0x8c7b4a,this[_0x4fcc4e(0x333)]=_0x24a46b,this[_0x4fcc4e(0x3da)]=_0x339833;}[_0x2273bc(0x316)](_0x5abaa8){const _0xcaf42c=_0x2273bc;this[_0xcaf42c(0x357)](_0x5abaa8),this[_0xcaf42c(0x314)](_0x5abaa8);}[_0x2273bc(0x2fc)](_0x410936){const _0x1201d2=_0x2273bc,{unitID:_0x1ff1a3}=_0x410936,_0x3c9c68=this['_renderManagerService'][_0x1201d2(0x270)](_0x1ff1a3)['with'](_0x1b66a1[_0x1201d2(0x430)]),{redoCache:_0x593c73}=_0x3c9c68[_0x1201d2(0x3a8)]();if(_0x593c73[_0x1201d2(0x1cb)]===0x0)return _0x410936;let _0x38013a=_0x45454d[_0x1201d2(0x400)]['deepClone'](_0x410936[_0x1201d2(0x2d4)][0x0]);for(let _0x3af561=0x0;_0x3af561<_0x593c73[_0x1201d2(0x1cb)];_0x3af561++){const _0x3431dc={'id':_0x1201d2(0x2b5),'params':{..._0x593c73[_0x3af561]}},_0x407021=this['_transformService'][_0x1201d2(0x2cc)](_0x38013a,_0x3431dc,!0x1);if(_0x368b75[_0x1201d2(0x31e)](_0x407021))throw _0x407021['error'];_0x38013a=_0x407021[_0x1201d2(0x283)];}return{..._0x45454d['Tools'][_0x1201d2(0x1c3)](_0x410936),'mutations':[_0x38013a]};}[_0x2273bc(0x357)](_0xd15e33){const _0x1b71ef=_0x2273bc,{unitID:_0xbf5ff1}=_0xd15e33,_0x294dc5=this[_0x1b71ef(0x3da)][_0x1b71ef(0x270)](_0xbf5ff1)[_0x1b71ef(0x22e)](_0x1b66a1[_0x1b71ef(0x430)]),{undoCache:_0x4b32fc,redoCache:_0x3b6b8c}=_0x294dc5[_0x1b71ef(0x3a8)]();if(_0x4b32fc[_0x1b71ef(0x1cb)]===0x0||_0x3b6b8c[_0x1b71ef(0x1cb)]===0x0)return;const _0x59a58f=[],_0xcd08a5=[];let _0x19fa17=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]),_0x5db532=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]);for(let _0x84ce8b=_0x4b32fc[_0x1b71ef(0x1cb)]-0x1;_0x84ce8b>=0x0;_0x84ce8b--){const _0xe601d2={'id':_0x1b71ef(0x2b5),'params':{..._0x4b32fc[_0x84ce8b]}},_0xe0a785={'id':_0x1b71ef(0x2b5),'params':{..._0x3b6b8c[_0x84ce8b]}},_0x3b165f=this[_0x1b71ef(0x333)]['transformMutation'](_0x19fa17,_0xe601d2,!0x1),_0x15385c=this[_0x1b71ef(0x333)][_0x1b71ef(0x2cc)](_0x5db532,_0xe0a785,!0x1);if(_0x368b75[_0x1b71ef(0x31e)](_0x3b165f))throw _0x3b165f[_0x1b71ef(0x372)];if(_0x368b75[_0x1b71ef(0x31e)](_0x15385c))throw _0x15385c['error'];_0x59a58f[_0x1b71ef(0x3a3)](_0x3b165f['m2Prime'][_0x1b71ef(0x399)]),_0xcd08a5[_0x1b71ef(0x3a3)](_0x15385c[_0x1b71ef(0x248)][_0x1b71ef(0x399)]),_0x19fa17=_0x3b165f[_0x1b71ef(0x283)],_0x5db532=_0x15385c['m1Prime'];}_0x294dc5[_0x1b71ef(0x2f8)]({'undoCache':_0x59a58f,'redoCache':_0xcd08a5});}[_0x2273bc(0x314)](_0x4ec90a){const _0xc2a5df=_0x2273bc,{unitID:_0x14fc38}=_0x4ec90a,_0x3dd27f=this[_0xc2a5df(0x3da)][_0xc2a5df(0x270)](_0x14fc38)[_0xc2a5df(0x22e)](_0x1b66a1['DocIMEInputManagerService']),_0x49c3f3=_0x3dd27f[_0xc2a5df(0x2b0)]();if(_0x49c3f3==null)return;const _0x344e8f=[{'id':_0xc2a5df(0x2b5),'params':{'unitId':_0x4ec90a['unitID'],'actions':null,'textRanges':[_0x49c3f3]}}],_0x50177e=this['_transformService'][_0xc2a5df(0x30c)](_0x4ec90a,_0x344e8f);if(!_0x368b75['isTransformMutationsWithChangesetSuccess'](_0x50177e))throw _0x50177e['error'];const _0x33d436=_0x50177e['m2Prime'][0x0][_0xc2a5df(0x399)]['textRanges'];Array[_0xc2a5df(0x387)](_0x33d436)&&_0x33d436['length']&&_0x3dd27f['setActiveRange'](_0x33d436[0x0]);}};_0x54f8ab=_0x5a3827([_0x1731e2(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d['Injector'])),_0x1731e2(0x1,_0x368b75['ITransformService']),_0x1731e2(0x2,_0x17a4de[_0x2273bc(0x19d)])],_0x54f8ab);var _0x16b4af=Object['getOwnPropertyDescriptor'],_0x2c3c09=(_0x36a61f,_0x5887ae,_0x54c79d,_0x191bf8)=>{const _0x5f3365=_0x2273bc;for(var _0x2213a2=_0x191bf8>0x1?void 0x0:_0x191bf8?_0x16b4af(_0x5887ae,_0x54c79d):_0x5887ae,_0x55b8f8=_0x36a61f[_0x5f3365(0x1cb)]-0x1,_0x373b9f;_0x55b8f8>=0x0;_0x55b8f8--)(_0x373b9f=_0x36a61f[_0x55b8f8])&&(_0x2213a2=_0x373b9f(_0x2213a2)||_0x2213a2);return _0x2213a2;},_0x21e813=(_0x5291e2,_0x5c9fa0)=>(_0x7f0d63,_0x5307ed)=>_0x5c9fa0(_0x7f0d63,_0x5307ed,_0x5291e2);let _0x5bc7a6=class{constructor(_0x52b86e,_0x2cc737,_0x3c6628){const _0x553243=_0x2273bc;this[_0x553243(0x3ca)]=_0x52b86e,this[_0x553243(0x333)]=_0x2cc737,this['_docStateChangeManagerService']=_0x3c6628;}[_0x2273bc(0x217)](_0xf46380){const _0x9c85e8=_0x2273bc;this[_0x9c85e8(0x30a)](_0xf46380);}[_0x2273bc(0x2fc)](_0xe6e2a8){const _0x14ed2f=_0x2273bc,{unitID:_0x51f1af}=_0xe6e2a8,{collaboration:_0xa952f2}=this[_0x14ed2f(0x2d9)][_0x14ed2f(0x373)](_0x51f1af);if(_0xa952f2[_0x14ed2f(0x1cb)]===0x0)return _0xe6e2a8;let _0x4be24d=_0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8[_0x14ed2f(0x2d4)][0x0]);for(let _0x127935=0x0;_0x127935<_0xa952f2[_0x14ed2f(0x1cb)];_0x127935++){const _0x5f30fd={'id':_0x14ed2f(0x2b5),'params':{'unitId':_0xa952f2[_0x127935][_0x14ed2f(0x338)],..._0xa952f2[_0x127935][_0x14ed2f(0x25f)]}},_0x6285c5=this[_0x14ed2f(0x333)][_0x14ed2f(0x2cc)](_0x4be24d,_0x5f30fd,!0x1);if(_0x368b75['isTransformMutationFailure'](_0x6285c5))throw _0x6285c5[_0x14ed2f(0x372)];_0x4be24d=_0x6285c5[_0x14ed2f(0x283)];}return{..._0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8),'mutations':[_0x4be24d]};}[_0x2273bc(0x30a)](_0x410b23){const _0x3327ce=_0x2273bc,{unitID:_0x5b950e}=_0x410b23,{history:_0x3f73c1,collaboration:_0x474bf7}=this[_0x3327ce(0x2d9)][_0x3327ce(0x373)](_0x5b950e);if(_0x3f73c1['length']===0x0&&_0x474bf7['length']===0x0)return;const _0x59a43f=[],_0x750fa=[];let _0x2d581d=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23[_0x3327ce(0x2d4)][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x5bf6d6=_0x3f73c1[_0x3327ce(0x1cb)]-0x1;_0x5bf6d6>=0x0;_0x5bf6d6--){const _0x512145={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x3d6)]}},_0x36e42={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x25f)]}},_0x5caf61=this['_transformService'][_0x3327ce(0x2cc)](_0x2d581d,_0x512145,!0x1),_0x4cfac0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x36e42,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x5caf61))throw _0x5caf61['error'];if(_0x368b75[_0x3327ce(0x31e)](_0x4cfac0))throw _0x4cfac0[_0x3327ce(0x372)];_0x59a43f[_0x3327ce(0x3a3)]({..._0x3f73c1[_0x5bf6d6],'undoState':_0x5caf61[_0x3327ce(0x248)][_0x3327ce(0x399)],'redoState':_0x4cfac0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x5caf61[_0x3327ce(0x283)],_0x55e4b5=_0x4cfac0[_0x3327ce(0x283)];}_0x2d581d=_0x45454d['Tools'][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x56e3e7=_0x474bf7['length']-0x1;_0x56e3e7>=0x0;_0x56e3e7--){const _0x1afc34={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x3d6)]}},_0x4c8d2f={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x25f)]}},_0x4addf7=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x2d581d,_0x1afc34,!0x1),_0x4e98c0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x4c8d2f,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x4addf7))throw _0x4addf7[_0x3327ce(0x372)];if(_0x368b75[_0x3327ce(0x31e)](_0x4e98c0))throw _0x4e98c0['error'];_0x750fa[_0x3327ce(0x3a3)]({..._0x474bf7[_0x56e3e7],'undoState':_0x4addf7['m2Prime']['params'],'redoState':_0x4e98c0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x4addf7[_0x3327ce(0x283)],_0x55e4b5=_0x4e98c0[_0x3327ce(0x283)];}this['_docStateChangeManagerService'][_0x3327ce(0x3e0)](_0x5b950e,{'history':_0x59a43f,'collaboration':_0x750fa});}};_0x5bc7a6=_0x2c3c09([_0x21e813(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x21e813(0x1,_0x368b75['ITransformService']),_0x21e813(0x2,_0x45454d[_0x2273bc(0x37f)](_0x1b66a1[_0x2273bc(0x2d6)]))],_0x5bc7a6);var _0x3db08e=Object['getOwnPropertyDescriptor'],_0x5bef3b=(_0x48deb7,_0x4606f2,_0x5d9912,_0x115b76)=>{const _0x2288c6=_0x2273bc;for(var _0xeb89b6=_0x115b76>0x1?void 0x0:_0x115b76?_0x3db08e(_0x4606f2,_0x5d9912):_0x4606f2,_0x57220c=_0x48deb7[_0x2288c6(0x1cb)]-0x1,_0x349f0f;_0x57220c>=0x0;_0x57220c--)(_0x349f0f=_0x48deb7[_0x57220c])&&(_0xeb89b6=_0x349f0f(_0xeb89b6)||_0xeb89b6);return _0xeb89b6;},_0x2c1376=(_0x39f6a8,_0x19e1dd)=>(_0x30f082,_0x36934d)=>_0x19e1dd(_0x30f082,_0x36934d,_0x39f6a8);let _0x1a6bea=class{constructor(_0x4ce9bd,_0x415f79){const _0x269664=_0x2273bc;this[_0x269664(0x3ca)]=_0x4ce9bd,this[_0x269664(0x333)]=_0x415f79;}[_0x2273bc(0x2bd)](_0x489cb5){const _0x57c2b5=_0x2273bc;var _0x43b1a4;const _0x42943a=this[_0x57c2b5(0x3ca)]['get'](_0x1af111[_0x57c2b5(0x41a)]),_0x57af41=(_0x43b1a4=_0x42943a[_0x57c2b5(0x21f)]())!=null?_0x43b1a4:[];if(_0x57af41[_0x57c2b5(0x1cb)]===0x0)return;const _0x5c7ce0=_0x489cb5['unitID'],_0x50c08e=[{'id':_0x57c2b5(0x2b5),'params':{'unitId':_0x5c7ce0,'actions':null,'textRanges':_0x57af41}}],_0x48b9ef=this[_0x57c2b5(0x333)][_0x57c2b5(0x30c)](_0x489cb5,_0x50c08e);if(!_0x368b75[_0x57c2b5(0x2a1)](_0x48b9ef))throw _0x48b9ef[_0x57c2b5(0x372)];const _0x585c1c=_0x48b9ef[_0x57c2b5(0x248)][0x0][_0x57c2b5(0x399)][_0x57c2b5(0x24e)];Array['isArray'](_0x585c1c)&&_0x585c1c['length']&&_0x42943a[_0x57c2b5(0x255)](_0x585c1c,{'unitId':_0x5c7ce0,'subUnitId':_0x5c7ce0},!0x1);}};_0x1a6bea=_0x5bef3b([_0x2c1376(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x2c1376(0x1,_0x368b75[_0x2273bc(0x432)])],_0x1a6bea);var _0x2c1a5d=Object['getOwnPropertyDescriptor'],_0x4bea5b=(_0x3b1a49,_0x3f6d36,_0x3fa60b,_0x10c689)=>{const _0x1744d2=_0x2273bc;for(var _0x4d3048=_0x10c689>0x1?void 0x0:_0x10c689?_0x2c1a5d(_0x3f6d36,_0x3fa60b):_0x3f6d36,_0x4354a3=_0x3b1a49[_0x1744d2(0x1cb)]-0x1,_0x3c38f1;_0x4354a3>=0x0;_0x4354a3--)(_0x3c38f1=_0x3b1a49[_0x4354a3])&&(_0x4d3048=_0x3c38f1(_0x4d3048)||_0x4d3048);return _0x4d3048;},_0xfec4a4=(_0x2b79f9,_0x58454b)=>(_0x580eec,_0x2d0ce1)=>_0x58454b(_0x580eec,_0x2d0ce1,_0x2b79f9);let _0x3bf269=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x48ad9c,_0x2fb01e,_0x27dc27,_0x669534,_0x38594d,_0x507b97,_0x375395,_0x5173e2){const _0x2788cd=_0x2273bc;super(),_0x394afd(this,'_status$',new _0x481401[(_0x2788cd(0x2e4))](_0xfdd47c[_0x2788cd(0x336)]['NOT_COLLAB'])),(this[_0x2788cd(0x2d9)]=_0x48ad9c,this[_0x2788cd(0x305)]=_0x2fb01e,this[_0x2788cd(0x258)]=_0x27dc27,this[_0x2788cd(0x322)]=_0x669534,this[_0x2788cd(0x235)]=_0x38594d,this[_0x2788cd(0x2c2)]=_0x507b97,this[_0x2788cd(0x1d7)]=_0x375395,this[_0x2788cd(0x3e9)]=_0x5173e2,this[_0x2788cd(0x2e1)]());}[_0x2273bc(0x2e1)](){const _0x38e3e7=_0x2273bc;this[_0x38e3e7(0x36f)](this[_0x38e3e7(0x305)][_0x38e3e7(0x2f5)][_0x38e3e7(0x2b7)](_0xf26b9d=>{const _0x5d351a=_0x38e3e7,_0x402aa5=this[_0x5d351a(0x2d9)][_0x5d351a(0x2c6)][_0x5d351a(0x2b7)](_0x298d3c=>{const _0x4d5344=_0x5d351a;if(_0x298d3c==null)return;const {unitId:_0x31ec13,redoState:_0x315108,commandId:_0x4e291d}=_0x298d3c;if(_0x31ec13!==_0xf26b9d[_0x4d5344(0x2cb)])return;const _0x13d97e={'id':_0x4e291d,'type':_0x45454d[_0x4d5344(0x376)][_0x4d5344(0x375)],'params':{'unitId':_0x31ec13,'actions':_0x315108[_0x4d5344(0x33e)],'textRanges':null}};_0xf26b9d[_0x4d5344(0x1b0)](_0x13d97e);});if(_0xf26b9d['disposeWithMe'](_0x402aa5),_0xf26b9d instanceof _0xfdd47c[_0x5d351a(0x3e4)]){const _0x3b1dbe={'onTransformIME':_0x2290bd=>this[_0x5d351a(0x258)][_0x5d351a(0x316)](_0x2290bd),'onTransformState':_0x489d2e=>this[_0x5d351a(0x322)][_0x5d351a(0x217)](_0x489d2e),'onTransformSelections':_0x29eb43=>this[_0x5d351a(0x235)]['transformSelections'](_0x29eb43),'onSyncEditingCollabCursor':_0x2f1d11=>this[_0x5d351a(0x2c2)]['syncEditingCollabCursor'](_0x2f1d11),'onTransformRemoteChangesetByIMECache':_0x20f154=>this['_docTransformIMECacheService'][_0x5d351a(0x2fc)](_0x20f154),'onTransformRemoteChangesetByStateCache':_0x37e197=>this[_0x5d351a(0x322)][_0x5d351a(0x2fc)](_0x37e197)};_0xf26b9d[_0x5d351a(0x1c5)](_0x3b1dbe);}}));}};_0x3bf269=_0x4bea5b([_0xfec4a4(0x0,_0x45454d['Inject'](_0x1b66a1['DocStateChangeManagerService'])),_0xfec4a4(0x1,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x391)])),_0xfec4a4(0x2,_0x45454d[_0x2273bc(0x37f)](_0x54f8ab)),_0xfec4a4(0x3,_0x45454d[_0x2273bc(0x37f)](_0x5bc7a6)),_0xfec4a4(0x4,_0x45454d[_0x2273bc(0x37f)](_0x1a6bea)),_0xfec4a4(0x5,_0x45454d['Inject'](_0x43f1e3)),_0xfec4a4(0x6,_0x933c1a[_0x2273bc(0x1ff)]),_0xfec4a4(0x7,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x3bf269);var _0x8be958=Object[_0x2273bc(0x43a)],_0x365e70=(_0xd62fb8,_0xd85428,_0x4bd220,_0x36f1eb)=>{const _0x2f6c2c=_0x2273bc;for(var _0x58fbd6=_0x36f1eb>0x1?void 0x0:_0x36f1eb?_0x8be958(_0xd85428,_0x4bd220):_0xd85428,_0x3341a2=_0xd62fb8[_0x2f6c2c(0x1cb)]-0x1,_0x2d170d;_0x3341a2>=0x0;_0x3341a2--)(_0x2d170d=_0xd62fb8[_0x3341a2])&&(_0x58fbd6=_0x2d170d(_0x58fbd6)||_0x58fbd6);return _0x58fbd6;},_0x5d978f=(_0x1f4084,_0x4664a6)=>(_0xe37140,_0x1e9889)=>_0x4664a6(_0xe37140,_0x1e9889,_0x1f4084);let _0x2bc1fb=class extends _0x45454d['Disposable']{constructor(_0x2daa27,_0x1fd503,_0x40cd14){const _0x5c836f=_0x2273bc;super(),_0x394afd(this,_0x5c836f(0x428),new Map()),_0x394afd(this,_0x5c836f(0x226),new Map()),_0x394afd(this,_0x5c836f(0x20f),!0x1),(this[_0x5c836f(0x289)]=_0x2daa27,this['_localStorageService']=_0x1fd503,this['_revisionService']=_0x40cd14);}[_0x2273bc(0x302)](){const _0x41f50e=_0x2273bc;this[_0x41f50e(0x20f)]=!0x0;}['enableLocalCache'](){const _0x1883f1=_0x2273bc;this[_0x1883f1(0x20f)]=!0x1;}get['saveTaskMap'](){const _0x1b4b0b=_0x2273bc;return this[_0x1b4b0b(0x226)];}['dispose'](){const _0x148ab5=_0x2273bc;this['exhaustSavingTask']()['then'](()=>super[_0x148ab5(0x3b5)]());}async[_0x2273bc(0x1b8)](_0x1203fb){const _0x4fb99b=_0x2273bc;return this[_0x4fb99b(0x20f)]?null:this[_0x4fb99b(0x34e)][_0x4fb99b(0x1a7)](_0xfdd47c[_0x4fb99b(0x3ac)](_0x1203fb));}async[_0x2273bc(0x3a0)](_0x5a60a1,_0x372a24){const _0x4e8d0d=_0x2273bc;return!!this[_0x4e8d0d(0x34e)][_0x4e8d0d(0x251)](_0x5a60a1,_0x372a24);}['updateOfflineData'](_0x49bfe1,_0x2a2de6,_0x202512,_0x1c8f59){const _0x45d07d=_0x2273bc,_0x91ad76=this[_0x45d07d(0x3fe)][_0x45d07d(0x2d8)](_0x49bfe1);this['_cachedData']['set'](_0x49bfe1,{'unitID':_0x49bfe1,'type':_0x2a2de6,'awaitingChangeset':_0x202512,'mutations':_0x1c8f59,'rev':_0x91ad76}),this[_0x45d07d(0x226)]['has'](_0x49bfe1)||this[_0x45d07d(0x2aa)](_0x49bfe1);}[_0x2273bc(0x2aa)](_0x5702d3){const _0x3db7f1=_0x2273bc,_0x10f059=this['_getSaveTimeout']();_0x10f059===0x0?this[_0x3db7f1(0x360)](_0x5702d3):this[_0x3db7f1(0x226)][_0x3db7f1(0x2e8)](_0x5702d3,setTimeout(()=>this[_0x3db7f1(0x360)](_0x5702d3),_0x10f059));}['_getSaveTimeout'](){const _0x5890ed=_0x2273bc;var _0x48e4f0;return(_0x48e4f0=this[_0x5890ed(0x289)][_0x5890ed(0x2d0)](_0xfdd47c[_0x5890ed(0x402)]))!=null?_0x48e4f0:_0xfdd47c[_0x5890ed(0x380)];}[_0x2273bc(0x360)](_0x529c85){const _0x49396c=_0x2273bc,_0xac4e91=this[_0x49396c(0x226)]['get'](_0x529c85);return _0xac4e91!==void 0x0&&window[_0x49396c(0x3de)](_0xac4e91),this[_0x49396c(0x34e)][_0x49396c(0x251)](_0xfdd47c[_0x49396c(0x3ac)](_0x529c85),this[_0x49396c(0x428)][_0x49396c(0x1ef)](_0x529c85))[_0x49396c(0x2d5)](()=>this[_0x49396c(0x226)]['delete'](_0x529c85));}async['exhaustSavingTask'](){const _0x24c5fa=_0x2273bc,_0x3671a4=[];this[_0x24c5fa(0x226)][_0x24c5fa(0x213)]((_0x3bda65,_0x2e756b)=>{const _0x2653bf=_0x24c5fa;window[_0x2653bf(0x3de)](_0x3bda65),_0x3671a4[_0x2653bf(0x273)](this['_saveCache'](_0x2e756b)[_0x2653bf(0x2d5)](()=>{const _0x475e7c=_0x2653bf;this[_0x475e7c(0x226)]['delete'](_0x2e756b);}));}),await Promise[_0x24c5fa(0x1d0)](_0x3671a4);}};_0x2bc1fb=_0x365e70([_0x5d978f(0x0,_0x45454d['IConfigService']),_0x5d978f(0x1,_0x45454d['ILocalStorageService']),_0x5d978f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x368b75[_0x2273bc(0x1c4)]))],_0x2bc1fb);class _0x2cdbea extends _0x45454d[_0x2273bc(0x42d)]{constructor(){const _0xde6741=_0x2273bc;super(),_0x394afd(this,_0xde6741(0x1d5)),this[_0xde6741(0x1d5)]=_0x481401[_0xde6741(0x224)](window,_0xde6741(0x1f0))['pipe'](_0x481401[_0xde6741(0x2f3)](this[_0xde6741(0x1ad)]),_0x481401[_0xde6741(0x2ed)](0x1),_0x481401[_0xde6741(0x3d8)](void 0x0));}['setParam'](_0x6b0421,_0x3eeba8,_0x5322d3=!0x1){const _0x2164a0=_0x2273bc,_0x5bd3fa=new URL(window[_0x2164a0(0x269)][_0x2164a0(0x3cd)]);_0x5bd3fa[_0x2164a0(0x31c)][_0x2164a0(0x2e8)](_0x6b0421,_0x3eeba8),_0x5322d3?window[_0x2164a0(0x418)]['replaceState']('','',_0x5bd3fa[_0x2164a0(0x439)]()):window['history']['pushState']('','',_0x5bd3fa[_0x2164a0(0x439)]());}[_0x2273bc(0x209)](_0x51ae49,_0x2035b9=!0x1){const _0x2682ff=_0x2273bc,_0x10715b=new URL(window[_0x2682ff(0x269)]['href']);_0x10715b[_0x2682ff(0x31c)][_0x2682ff(0x43c)](_0x51ae49),_0x2035b9?window['history']['replaceState']('','',_0x10715b[_0x2682ff(0x439)]()):window['history']['pushState']('','',_0x10715b['toString']());}[_0x2273bc(0x330)](_0x2973f1){const _0x20bba8=_0x2273bc;var _0x48601;return(_0x48601=new URL(window[_0x20bba8(0x269)]['href'])[_0x20bba8(0x31c)][_0x20bba8(0x1ef)](_0x2973f1))!=null?_0x48601:void 0x0;}}var _0x3f707d=Object[_0x2273bc(0x2ee)],_0x219225=Object[_0x2273bc(0x43a)],_0x3fb5a9=(_0x46ea45,_0x41b5d4,_0x591fbb)=>_0x41b5d4 in _0x46ea45?_0x3f707d(_0x46ea45,_0x41b5d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x591fbb}):_0x46ea45[_0x41b5d4]=_0x591fbb,_0x227552=(_0x23ab93,_0x3001a8,_0x57713a,_0x3e3712)=>{const _0x8720df=_0x2273bc;for(var _0x716dd0=_0x3e3712>0x1?void 0x0:_0x3e3712?_0x219225(_0x3001a8,_0x57713a):_0x3001a8,_0xb4060c=_0x23ab93[_0x8720df(0x1cb)]-0x1,_0x17d53b;_0xb4060c>=0x0;_0xb4060c--)(_0x17d53b=_0x23ab93[_0xb4060c])&&(_0x716dd0=_0x17d53b(_0x716dd0)||_0x716dd0);return _0x716dd0;},_0x464ea7=(_0x531f2a,_0x39cc6f)=>(_0x364aec,_0x11a5fc)=>_0x39cc6f(_0x364aec,_0x11a5fc,_0x531f2a),_0x175cee=(_0x52383e,_0x3d39c7,_0x2f57d8)=>_0x3fb5a9(_0x52383e,_0x3d39c7+'',_0x2f57d8);const _0x15639c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2f60c5[_0x2273bc(0x1bd)]=class extends _0x45454d['Plugin']{constructor(_0x2e7460=_0x217a89,_0x2fd60a,_0x5408c5,_0x47cc27){const _0x551a13=_0x2273bc;super(),this[_0x551a13(0x223)]=_0x2e7460,this['_renderManagerService']=_0x2fd60a,this[_0x551a13(0x3ca)]=_0x5408c5,this['_configService']=_0x47cc27;const {..._0xd03fc8}=_0x45454d[_0x551a13(0x340)]({},_0x217a89,this['_config']);this[_0x551a13(0x289)]['setConfig'](_0x523261,_0xd03fc8);}[_0x2273bc(0x1a8)](){const _0x4a6833=_0x2273bc;this[_0x4a6833(0x1dc)](),this[_0x4a6833(0x1b6)]();}['onRendered'](){const _0x406f89=_0x2273bc;this[_0x406f89(0x26e)]();}[_0x2273bc(0x1dc)](){const _0xcdbf1e=_0x2273bc;var _0x59f265;const _0xe77379=[[_0x308b95],[_0x1a6bea],[_0x54f8ab],[_0x5bc7a6],[_0x43f1e3],[_0x3f856f,{'useClass':_0x2cdbea}],[_0x4cb81d[_0xcdbf1e(0x228)],{'useClass':_0x4cb81d[_0xcdbf1e(0x377)]}],[_0xfdd47c[_0xcdbf1e(0x415)],{'useClass':_0x2bc1fb}],[_0x2f60c5[_0xcdbf1e(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x344c8e],[_0x4604dc],[_0x2f60c5[_0xcdbf1e(0x3ed)]]];_0x45454d[_0xcdbf1e(0x1db)](this[_0xcdbf1e(0x3ca)],_0x45454d[_0xcdbf1e(0x2a2)](_0xe77379,(_0x59f265=this[_0xcdbf1e(0x223)])==null?void 0x0:_0x59f265[_0xcdbf1e(0x34d)]));}[_0x2273bc(0x26e)](){const _0x31fe94=_0x2273bc;this['disposeWithMe'](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d['UniverInstanceType'][_0x31fe94(0x27c)],[_0xd126a4])),this[_0x31fe94(0x36f)](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d[_0x31fe94(0x307)][_0x31fe94(0x41e)],[_0x4549a0]));}[_0x2273bc(0x1b6)](){const _0x4de3f1=_0x2273bc;_0x45454d['touchDependencies'](this['_injector'],[[_0x344c8e],[_0x2f60c5[_0x4de3f1(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x2f60c5['CollaborationDataLoaderController']]]);}},_0x175cee(_0x2f60c5['UniverCollaborationClientUIPlugin'],_0x2273bc(0x1fd),_0x15639c),_0x2f60c5[_0x2273bc(0x1bd)]=_0x227552([_0x45454d[_0x2273bc(0x3d1)](_0xfdd47c[_0x2273bc(0x39b)]),_0x464ea7(0x1,_0x17a4de[_0x2273bc(0x19d)]),_0x464ea7(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x464ea7(0x3,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x1bd)]);var _0x594e5f=Object[_0x2273bc(0x43a)],_0x2f0b52=(_0x4f692b,_0x2227c9,_0x10c5ec,_0x3fd949)=>{const _0x52bd42=_0x2273bc;for(var _0x487886=_0x3fd949>0x1?void 0x0:_0x3fd949?_0x594e5f(_0x2227c9,_0x10c5ec):_0x2227c9,_0x1145bd=_0x4f692b[_0x52bd42(0x1cb)]-0x1,_0x4b7bb6;_0x1145bd>=0x0;_0x1145bd--)(_0x4b7bb6=_0x4f692b[_0x1145bd])&&(_0x487886=_0x4b7bb6(_0x487886)||_0x487886);return _0x487886;},_0x2506ac=(_0x55235d,_0x45f405)=>(_0x3ff8d4,_0x1df549)=>_0x45f405(_0x3ff8d4,_0x1df549,_0x55235d);_0x2f60c5[_0x2273bc(0x3ef)]=class extends _0xfdd47c[_0x2273bc(0x1b7)]{constructor(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c){super(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c);}async['createSocket'](_0x24d5ce){const _0x4cd7b2=_0x2273bc,_0x5da434=await this['_getSessionTicket'](),_0xa96eea=this['_createSocketURL'](_0x24d5ce,_0x5da434);return this[_0x4cd7b2(0x1ab)](_0xa96eea);}[_0x2273bc(0x3bf)](_0x5564af,_0x40cdf8){const _0xa07490=_0x2273bc,_0x18abef=typeof window>'u'?new URL(_0x5564af):new URL(_0x5564af,window['location'][_0xa07490(0x3d5)]);_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)](_0xa07490(0x227),_0x40cdf8);const _0x3af352=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa07490(0x230)]);return _0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))&&_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)]('runId',_0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))),_0x18abef[_0xa07490(0x439)]();}async[_0x2273bc(0x30d)](){const _0x5c3882=_0x2273bc;var _0x26b579,_0x471785,_0x1014ac;const _0x1d62c5=this['_configService']['getConfig'](_0xfdd47c[_0x5c3882(0x1e8)]),_0x4a0ec0=(_0x26b579=_0x1d62c5==null?void 0x0:_0x1d62c5[_0x5c3882(0x1e4)])!=null?_0x26b579:_0xfdd47c[_0x5c3882(0x312)];return(_0x1014ac=(_0x471785=(await this['_httpService'][_0x5c3882(0x1ef)](_0x4a0ec0,{'headers':{'Content-Type':_0x5c3882(0x410)}}))['body'])==null?void 0x0:_0x471785[_0x5c3882(0x2eb)])!=null?_0x1014ac:'';}},_0x2f60c5[_0x2273bc(0x3ef)]=_0x2f0b52([_0x2506ac(0x0,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x2506ac(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x2506ac(0x2,_0x45454d['IConfigService']),_0x2506ac(0x3,_0x45454d[_0x2273bc(0x254)]),_0x2506ac(0x4,_0x368b75[_0x2273bc(0x298)])],_0x2f60c5[_0x2273bc(0x3ef)]);const _0x268e66=0x7530,_0x40b229='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34ffca extends _0x45454d['Disposable']{constructor(){const _0x467d20=_0x2273bc;super(),_0x394afd(this,_0x467d20(0x2fd),_0x45454d[_0x467d20(0x3b0)]()),_0x394afd(this,_0x467d20(0x3a4),new Set()),_0x394afd(this,_0x467d20(0x274),new Map()),_0x394afd(this,_0x467d20(0x3cc),null),_0x394afd(this,_0x467d20(0x335),new Map()),_0x394afd(this,_0x467d20(0x2e9),new Map()),this[_0x467d20(0x27f)]();}['dispose'](){const _0x2d2fba=_0x2273bc;super['dispose'](),this[_0x2d2fba(0x335)][_0x2d2fba(0x213)]((_0x214cb1,_0x4ec6a)=>this['_removeClearOtherTimer'](_0x4ec6a)),this['_heartbeatTimer']&&window[_0x2d2fba(0x1d4)](this[_0x2d2fba(0x3cc)]);}[_0x2273bc(0x218)](_0x1f4609){const _0x7a40be=_0x2273bc;return this['_ensureSubject'](_0x1f4609)['pipe'](_0x481401[_0x7a40be(0x1c8)]());}['editingUnit'](_0x1629ae){const _0x4ec8bf=_0x2273bc;this['_selfUnitIDs']['size']===0x0&&this[_0x4ec8bf(0x245)](),this[_0x4ec8bf(0x3a4)]['add'](_0x1629ae),this[_0x4ec8bf(0x261)]({'type':0x0,'memberID':this[_0x4ec8bf(0x2fd)],'unitIDs':[_0x1629ae],'isForwarded':!0x1});}[_0x2273bc(0x290)](_0x57b2da){const _0x33c54f=_0x2273bc;this[_0x33c54f(0x3a4)]['delete'](_0x57b2da),this['_selfUnitIDs'][_0x33c54f(0x379)]===0x0&&this[_0x33c54f(0x3cc)]&&window[_0x33c54f(0x1d4)](this[_0x33c54f(0x3cc)]);}['_init'](){const _0x2752e7=_0x2273bc;this[_0x2752e7(0x36f)](_0x45454d['toDisposable'](_0x481401[_0x2752e7(0x224)](window,_0x2752e7(0x2b1))['subscribe'](_0x10405c=>{const _0x2be4c5=_0x2752e7;if(_0x10405c[_0x2be4c5(0x30e)]!==_0x40b229||!_0x10405c[_0x2be4c5(0x306)])return;const _0xb322f6=JSON['parse'](_0x10405c[_0x2be4c5(0x306)]);this[_0x2be4c5(0x260)](_0xb322f6);}))),window[_0x2752e7(0x20b)](_0x2752e7(0x331),()=>this[_0x2752e7(0x261)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2752e7(0x320)](this[_0x2752e7(0x3a4)])}));}[_0x2273bc(0x260)](_0x56c446){const _0x5248b5=_0x2273bc;switch(_0x56c446[_0x5248b5(0x28e)]){case 0x0:this['_handleJoinEvent'](_0x56c446);break;case 0x1:this[_0x5248b5(0x42b)](_0x56c446);break;case 0x2:this[_0x5248b5(0x282)](_0x56c446);break;}}['_handleJoinEvent'](_0x41bc1c){const _0x536cdf=_0x2273bc,{unitIDs:_0x2fd064,memberID:_0x29c627,isForwarded:_0x451d55}=_0x41bc1c;_0x2fd064[_0x536cdf(0x213)](_0x583d47=>{const _0x429fa5=_0x536cdf;if(!_0x451d55&&this[_0x429fa5(0x274)][_0x429fa5(0x385)](_0x583d47)&&this[_0x429fa5(0x407)](_0x583d47)['next'](_0xfdd47c[_0x429fa5(0x3bb)][_0x429fa5(0x424)]),!this[_0x429fa5(0x274)]['has'](_0x583d47)||!this['_unitOnClients']['get'](_0x583d47)[_0x429fa5(0x385)](_0x29c627)){const _0x338088=this[_0x429fa5(0x274)][_0x429fa5(0x1ef)](_0x583d47)||new Set();_0x338088[_0x429fa5(0x1ee)](_0x29c627),this[_0x429fa5(0x274)][_0x429fa5(0x2e8)](_0x583d47,_0x338088),this[_0x429fa5(0x41b)](_0x29c627);}}),_0x451d55||this[_0x536cdf(0x261)]({'type':0x0,'memberID':this[_0x536cdf(0x2fd)],'unitIDs':[...this[_0x536cdf(0x3a4)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x316419){const _0x21bd66=_0x2273bc;this[_0x21bd66(0x3eb)](_0x316419);const _0x650ed=window[_0x21bd66(0x26d)](()=>{const _0x1de0ee=_0x21bd66;this[_0x1de0ee(0x274)][_0x1de0ee(0x213)](_0x71ac3e=>{const _0x1d9989=_0x1de0ee;_0x71ac3e[_0x1d9989(0x43c)](_0x316419);});},_0x268e66*0x2);this[_0x21bd66(0x335)][_0x21bd66(0x2e8)](_0x316419,_0x650ed);}[_0x2273bc(0x3eb)](_0x5d9f2a){const _0x176f25=_0x2273bc;if(this['_clearOtherTimers']['has'](_0x5d9f2a)){const _0x591185=this['_clearOtherTimers'][_0x176f25(0x1ef)](_0x5d9f2a);_0x591185&&window[_0x176f25(0x3de)](_0x591185),this[_0x176f25(0x335)][_0x176f25(0x2e8)](_0x5d9f2a,null);}}['_handleLeaveEvent'](_0x5f1944){const _0x37bc60=_0x2273bc,{memberID:_0x1ca5cc,unitIDs:_0x21f580}=_0x5f1944;_0x21f580[_0x37bc60(0x213)](_0x4451f6=>{const _0x2bb4f6=_0x37bc60;var _0x2ae748;const _0x1e934c=this[_0x2bb4f6(0x274)][_0x2bb4f6(0x1ef)](_0x4451f6);_0x1e934c&&(_0x1e934c[_0x2bb4f6(0x43c)](_0x1ca5cc),(_0x2ae748=this[_0x2bb4f6(0x407)](_0x4451f6))==null||_0x2ae748['next'](_0x1e934c['size']===0x0?_0xfdd47c[_0x2bb4f6(0x3bb)]['NO_OTHER_CLIENTS_EDITING']:_0xfdd47c[_0x2bb4f6(0x3bb)][_0x2bb4f6(0x424)]));}),this[_0x37bc60(0x3eb)](_0x1ca5cc);}[_0x2273bc(0x282)](_0x36a518){const _0x1800ec=_0x2273bc;this['_scheduleClearOtherTimer'](_0x36a518[_0x1800ec(0x2ff)]);}[_0x2273bc(0x261)](_0x377a2b){const _0x20df45=_0x2273bc;localStorage[_0x20df45(0x251)](_0x40b229,JSON[_0x20df45(0x3b3)](_0x377a2b));}['_scheduleHeartbeat'](){const _0x2bea1e=_0x2273bc;this[_0x2bea1e(0x3cc)]=window['setInterval'](()=>{const _0x4f6632=_0x2bea1e;this[_0x4f6632(0x261)]({'type':0x2,'memberID':this[_0x4f6632(0x2fd)]});},_0x268e66);}[_0x2273bc(0x407)](_0xe1086e){const _0x4ede41=_0x2273bc;return this[_0x4ede41(0x2e9)][_0x4ede41(0x385)](_0xe1086e)||this[_0x4ede41(0x2e9)][_0x4ede41(0x2e8)](_0xe1086e,new _0x481401[(_0x4ede41(0x2e4))](_0xfdd47c[_0x4ede41(0x3bb)][_0x4ede41(0x346)])),this[_0x4ede41(0x2e9)]['get'](_0xe1086e);}}var _0x2e13d2=(_0x53a168=>(_0x53a168[_0x53a168['UNDEFINED']=0x0]=_0x2273bc(0x211),_0x53a168[_0x53a168['OK']=0x1]='OK',_0x53a168[_0x53a168[_0x2273bc(0x2af)]=0x2]=_0x2273bc(0x2af),_0x53a168[_0x53a168[_0x2273bc(0x341)]=0x3]=_0x2273bc(0x341),_0x53a168[_0x53a168[_0x2273bc(0x3f6)]=0x4]='NOT_FOUND',_0x53a168[_0x53a168[_0x2273bc(0x29a)]=0x5]=_0x2273bc(0x29a),_0x53a168[_0x53a168[_0x2273bc(0x22a)]=0x6]=_0x2273bc(0x22a),_0x53a168[_0x53a168['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x53a168[_0x53a168[_0x2273bc(0x268)]=0x8]=_0x2273bc(0x268),_0x53a168[_0x53a168[_0x2273bc(0x1ea)]=0x9]=_0x2273bc(0x1ea),_0x53a168[_0x53a168[_0x2273bc(0x358)]=0xa]=_0x2273bc(0x358),_0x53a168[_0x53a168[_0x2273bc(0x426)]=0x1389]=_0x2273bc(0x426),_0x53a168[_0x53a168[_0x2273bc(0x203)]=0x1771]=_0x2273bc(0x203),_0x53a168[_0x53a168[_0x2273bc(0x1a1)]=0x1772]=_0x2273bc(0x1a1),_0x53a168[_0x53a168['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2273bc(0x1fb),_0x53a168[_0x53a168[_0x2273bc(0x3a6)]=0x1b59]=_0x2273bc(0x3a6),_0x53a168[_0x53a168[_0x2273bc(0x25a)]=0x1b5a]=_0x2273bc(0x25a),_0x53a168[_0x53a168[_0x2273bc(0x1f5)]=0x1b5b]=_0x2273bc(0x1f5),_0x53a168[_0x53a168['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2273bc(0x21a),_0x53a168[_0x53a168[_0x2273bc(0x21c)]=0x1b5d]=_0x2273bc(0x21c),_0x53a168[_0x53a168[_0x2273bc(0x1a4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53a168[_0x53a168['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2273bc(0x3ff),_0x53a168[_0x53a168[_0x2273bc(0x1d2)]=0x232a]=_0x2273bc(0x1d2),_0x53a168[_0x53a168['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2273bc(0x3c1),_0x53a168[_0x53a168[_0x2273bc(0x2ac)]=0x232c]=_0x2273bc(0x2ac),_0x53a168[_0x53a168[_0x2273bc(0x21b)]=0x232d]=_0x2273bc(0x21b),_0x53a168[_0x53a168[_0x2273bc(0x3b6)]=0x2711]=_0x2273bc(0x3b6),_0x53a168[_0x53a168[_0x2273bc(0x34a)]=0x2712]=_0x2273bc(0x34a),_0x53a168[_0x53a168['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53a168[_0x53a168[_0x2273bc(0x31f)]=0x2714]=_0x2273bc(0x31f),_0x53a168[_0x53a168[_0x2273bc(0x3a5)]=0x271a]=_0x2273bc(0x3a5),_0x53a168[_0x53a168[_0x2273bc(0x3e5)]=0x271b]=_0x2273bc(0x3e5),_0x53a168[_0x53a168[_0x2273bc(0x434)]=0x271c]=_0x2273bc(0x434),_0x53a168[_0x53a168[_0x2273bc(0x3ce)]=0x271d]=_0x2273bc(0x3ce),_0x53a168[_0x53a168[_0x2273bc(0x277)]=0x271e]=_0x2273bc(0x277),_0x53a168[_0x53a168[_0x2273bc(0x374)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x53a168[_0x53a168[_0x2273bc(0x327)]=0x2af9]=_0x2273bc(0x327),_0x53a168[_0x53a168[_0x2273bc(0x3fd)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x53a168[_0x53a168[_0x2273bc(0x42e)]=0x2ee2]=_0x2273bc(0x42e),_0x53a168[_0x53a168[_0x2273bc(0x253)]=0x2ee3]=_0x2273bc(0x253),_0x53a168[_0x53a168[_0x2273bc(0x2cd)]=0x2ee4]=_0x2273bc(0x2cd),_0x53a168[_0x53a168['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53a168[_0x53a168[_0x2273bc(0x30f)]=0x32c9]=_0x2273bc(0x30f),_0x53a168[_0x53a168[_0x2273bc(0x236)]=0x32ca]=_0x2273bc(0x236),_0x53a168[_0x53a168['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2273bc(0x384),_0x53a168[_0x53a168[_0x2273bc(0x2b9)]=-0x1]='UNRECOGNIZED',_0x53a168))(_0x2e13d2||{}),_0x3db398=Object[_0x2273bc(0x43a)],_0x5831f4=(_0x1b3ebd,_0x48e16d,_0x1f72ca,_0x28423e)=>{for(var _0x2f2902=_0x28423e>0x1?void 0x0:_0x28423e?_0x3db398(_0x48e16d,_0x1f72ca):_0x48e16d,_0x6b2ae=_0x1b3ebd['length']-0x1,_0x2b485c;_0x6b2ae>=0x0;_0x6b2ae--)(_0x2b485c=_0x1b3ebd[_0x6b2ae])&&(_0x2f2902=_0x2b485c(_0x2f2902)||_0x2f2902);return _0x2f2902;},_0x386288=(_0x712917,_0x176842)=>(_0x592fc1,_0x133874)=>_0x176842(_0x592fc1,_0x133874,_0x712917);_0x2f60c5[_0x2273bc(0x395)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x35e790,_0x28c305,_0xe54dd1){const _0x142e33=_0x2273bc;super(),this[_0x142e33(0x308)]=_0x35e790,this[_0x142e33(0x210)]=_0x28c305,this[_0x142e33(0x289)]=_0xe54dd1;}async[_0x2273bc(0x1f3)](_0x2255ea,_0xf20350,_0x554315,..._0x59fd4c){const _0x471f3e=_0x2273bc;var _0x49c141,_0x3a4561,_0x3fd3a8,_0x196792;const _0x4fbebb=this[_0x471f3e(0x308)][_0x471f3e(0x3d2)]();if(!_0x4fbebb)throw new Error(_0x471f3e(0x1f9));const _0x4b7617=((_0x49c141=this['_configService'][_0x471f3e(0x2d0)](_0xfdd47c[_0x471f3e(0x278)]))!=null?_0x49c141:_0xfdd47c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2255ea+_0x471f3e(0x389)+_0xf20350,_0x537023=new URL(window[_0x471f3e(0x269)][_0x471f3e(0x3cd)]),_0x43556b={'scriptId':_0x2255ea,'runId':(_0x3a4561=_0x537023['searchParams']['get'](_0x471f3e(0x1b9)))!=null?_0x3a4561:'','function':_0xf20350,'unitId':_0x4fbebb[_0x471f3e(0x318)](),'argsOfFunction':JSON[_0x471f3e(0x3b3)](_0x59fd4c),'invokeId':(_0x3fd3a8=_0x554315[_0x471f3e(0x403)])!=null?_0x3fd3a8:'','executionId':(_0x196792=_0x554315[_0x471f3e(0x29c)])!=null?_0x196792:''};try{const _0x5506d3=await this[_0x471f3e(0x210)][_0x471f3e(0x280)](_0x4b7617,{'body':_0x43556b});return _0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)]&&_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)][_0x471f3e(0x1af)]!==_0x2e13d2['OK']?'Failed':_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x40b)];}catch{return _0x471f3e(0x31b);}}},_0x2f60c5[_0x2273bc(0x395)]=_0x5831f4([_0x386288(0x0,_0x45454d['IUniverInstanceService']),_0x386288(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x386288(0x2,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x395)]),_0x2f60c5[_0x2273bc(0x2e0)]=_0x3b257c,_0x2f60c5[_0x2273bc(0x2fe)]=_0x3f856f,_0x2f60c5['SheetCollabCursorShape']=_0x1ce661,_0x2f60c5[_0x2273bc(0x36c)]=_0x34ffca,_0x2f60c5['WebURLService']=_0x2cdbea,Object['defineProperty'](_0x2f60c5,Symbol['toStringTag'],{'value':_0x2273bc(0x27d)});}));function _0x2785(_0x1ee551,_0x7c5cb2){const _0x375cfc=_0x375c();return _0x2785=function(_0x2785fe,_0x1fab15){_0x2785fe=_0x2785fe-0x19a;let _0x176f19=_0x375cfc[_0x2785fe];return _0x176f19;},_0x2785(_0x1ee551,_0x7c5cb2);}function _0x375c(){const _0x1d173d=['react','UniverCore','onCommandExecuted','row','amd','@univerjs/ui','_transformUndoRedoStack','LOGIN_FAILED','Disposable','skeleton','@univerjs/docs','5479416iZgobi','text','_updateLocalCursor','COLORS','_saveCache','_collaborationUIEventService','Optional','_roomMembers$','whenReady','_name','...','fillStyle','lineTo','29GTlrQh','rgba(255,\x20255,\x20255,\x200.01)','_online','WebBrowserSingleActiveUnitService','createIdentifier','red.300','disposeWithMe','_setupSubUnitSync','className','error','getStateCache','YUUMI_AI_RUN_FAILED','MUTATION','CommandType','WebSocketService','handleInsertRangeMoveRight','size','useDependency','_eventUnsubscribe','_cursorInfo$','svg','addClipboardHook','Inject','LOCAL_CACHE_INTERVAL','getOffsetConfig','_refRangeService','_univerInstanceService','EMAIL_HAS_BEEN_BOUND','has','handleInsertRow','isArray','ThemeService','/run/','collaboration-client.offline-data-not-saved','_anchor','_imageIoService','_collabSessionService','getTypeOfUnitAdded$','exports','_assignedColors','CollaborationController','_collabCursorState$','blue.400','PENDING','RemoteUniscriptService','use','idSuffix','SetSelectionsOperation','params','getRangePointData','UniverCollaborationClientPlugin','getMergeData','getCollabEntity$','RichTextEditingMutation','asObservable','saveOfflineData','0\x200\x2016\x2016','unit','unshift','_selfUnitIDs','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REJECT','getMember','getUndoRedoMutationParamsCache','OFFLINE','addObjects','rxjs','getLocalCacheKey','Tooltip','body','@univerjs/design','generateRandomId','_hovered','Injector','stringify','getCurrentSelections','dispose','YUUMI_UNABLE_LOAD_URL','_context','IConfigService','split','IDocClipboardService','UnitStatus','getUniverSheetInstance','min','data','_createSocketURL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_IMPORT_SIZE_EXCEEDED','translate(.97)','onPointerMove$','subUnitId','UniverIcon','registerBeforeClose','_startSheetCollabCursor','range','measureText','_injector','useRef','_heartbeatTimer','href','YUUMI_ALL_TABLES_IS_INVALID','roomMembers','ICommandService','DependentOn','getFocusedUnit','fromEventSubject','children','origin','undoState','endRow','mapTo','EffectRefRangId','_renderManagerService','init','currentColor','show','clearTimeout','sheetID','setStateCache','getCoordByCell','TEXT','_updateURLWithCurrentState','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','runRefRangeMutations','collabCursorState$','current','_localeService','includes','_removeClearOtherTimer','handleDeleteRangeMoveUp','CollaborationDataLoaderController','imageSourceType','BrowserCollaborationSocketService','jsxs','_range','round','_colorIndex','useCallback','getValue','NOT_FOUND','DesktopCollaborationStatusDisplayController','_memberService','SetTextSelectionsOperation','SYNCED','ColorKit','_uiPartsService','INVITE_CODE_HAS_BEEN_UES','_revisionService','LICENSE_MAX_UNITS_EXCEEDED','Tools','send','LOCAL_CACHE_INTERVAL_KEY','invokeId','isActive','_collabCursorController','collab-text-anchor-','_ensureSubject','175yhaHPB','MessageType','font','result','saveImage','UniverSheets','_color','collaboration.closeRoom','application/json','_entityInit$','onPointerEnter$','collab-client.tooltip.reconnect','CollaborationUIEventId','ILocalCacheService','defIds','complete','history','registerRefRange','DocSelectionManagerService','_scheduleClearOtherTimer','ranges','_removeCollabCursors','UNIVER_SHEET','@univerjs/network','getTypeOfUnitDisposed$','_onCursorUpdate','_getSheetObject','getSheetObject','OTHER_CLIENTS_EDITING','ONLINE','CHANGESET_REVISION_CONFILICT','getViewport','_cachedData','getCurrentUnitForType','UniverDocsUi','_handleLeaveEvent','DataLoaderService','RxDisposable','INVALID_INVITE_CODE','startsWith','DocIMEInputManagerService','_toggleOnline','ITransformService','collabStatus.syncing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/core','3814869Gipcln','path','Subject','toString','getOwnPropertyDescriptor','CollaborationEvent','delete','unsubscribe','HEADER_MENU','UniverProCollaboration','IRenderManagerService','uni.network.url-service','currentTheme$','CollaborationSessionService','SNAPSHOT_HAS_BEEN_REMOVED','_logService','on-line-icon','CONNECTOR_DATA_TOO_LARGE','getCurrent','InsertRangeMoveDownCommandId','getItem','onStarting','_refreshCollabCursors','UniverEngineFormula','_doCreateSocket','UniverSheetsUi','dispose$','_hover','code','onLocalMutation','IUniverInstanceService','startColumn','evenodd','eventID','UniverProCollaborationClientUi','_initDependencies','CollaborationSocketService','loadOfflineData','runId','LocaleService','roomMembers$','RegularPolygon','UniverCollaborationClientUIPlugin','getSheetId','black','toDisposable','_commandService','_toggleOffline','deepClone','RevisionService','addHandlerCallback','subscribeEvent','handleIRemoveRow','distinctUntilChanged','_updateCollabCursors','selections','length','on-line-icon_clip0_910_349','findNodePositionByCharIndex','hide','propertyIsEnumerable','all','displayName','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UniverProCollaborationClient','clearInterval','urlChange$','[CollaborationDataLoaderController]','_messageService','#FFF','JOIN_ROOM_FAILED','_backgroundColor','registerDependencies','_registerDependencies','url(#off-line-icon_clip0_910_343)','random','throttleTime','Workbook','RemoveColCommandId','UniverDrawing','http://www.w3.org/2000/svg','wsSessionTicketUrl','jiqing.500','getSkeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCellPositionByOffset','COMPLETION_FINISHED','some','_initCommandExecutedListener','requireSession','add','get','popstate','rxjs/operators','loadUnit','runOnServer','bottom','APPLY_REVISION_CONFILICT','MoveRangeCommandId','clsx','AWAITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scene','ENSURE_SNAPSHOT_EXECUTION','SetDocZoomRatioOperation','pluginName','fillText','IMessageService','@univerjs/engine-render','function','Unknown\x20user','SNAPSHOT_INVALID_SNAPSHOT','_themeService','clipPath','getAncestorScale','RemoveRowCommandId','react/jsx-runtime','removeParam','column','addEventListener','toRgbString','selection','cursorInfo$','_disabled','_httpService','UNDEFINED','green.600','forEach','M0\x200H16V16H0z','FromArray','BuiltInUIPart','transformStateCache','getUnitStatus$','debug','APPLY_PERMISSION_DENIED','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','collab-rect-range-','colorChannel1','getDocRanges','trim','setParam','endColumn','_config','fromEvent','_cursors','_saveTaskMap','sessionTicket','ISocketService','off-line-icon','ALREADY_EXISTS','_urlService','getOwnPropertySymbols','fillRule','with','InsertRowCommandId','search','512072IXgPQI','HTTPService','permission.content','replace','_docTransformSelectionsService','MOBILE_HAS_BEEN_BOUND','_colorAssignService','executeCommand','_lastPointer','_onCursorDelete','transformByState','Warning','2236810lvDACR','transform','startRow','call','event$','collabStatus.synced','INotificationService','IUIPartsService','_scheduleHeartbeat','_textBubble','assignAColorForMemberID','m2Prime','getCollabCursors$','save','getColorFromTheme','setShapeProps','onMouseMove','textRanges','IBeforeCloseService','createInstance','setItem','assign','INVITE_CODE_REQUIRED','ILogService','replaceDocRanges','Rect','_localCacheService','_docTransformIMECacheService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_getScale','sessionStatus$','@univerjs/sheets-ui','_drawRectRange','redoState','_handleEvent','_send','pipe','sheetId','reconnect','AWAITING_WITH_PENDING','url(#on-line-icon_clip0_910_349)','prototype','TOO_MANY_REQUESTS','location','_initResize','yellow.400','handleMoveRange','setTimeout','_registerRenderDependencies','collab-text-range-','getRenderById','univer-flex\x20univer-items-center','SheetSkeletonManagerService','push','_unitOnClients','switchMap','collabStatus.conflict','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','indexOf','_anchorDot','icon','UNIVER_DOC','Module','off-line-icon_clip0_910_343','_init','post','mask','_handleHeartbeatEvent','m1Prime','_initStatusListener','Rectangle','attrs','DOC_RANGE_TYPE','_drawTextRange','_configService','extend','@univerjs/rpc','_entities','@univerjs-pro/collaboration','type','handleDeleteRangeMoveLeft','disposeUnit','OTHER_CLIENT_EDITING','_status$','_sheetSkeletonManagerService','MemberService','CLOSE_ROOM','hasOwnProperty','fill','ISnapshotServerService','makeDirty','UNAUTHENTICATED','_drawAnchor','executionId','debounce','SUBMIT_CHANGESET_TIMEOUT','max','white','isTransformMutationsWithChangesetSuccess','mergeOverrideWithDependencies','collabStatus.notCollab','SetWorksheetActivateCommand','restore','xlink:href','createElement','height','NodePositionConvertToRectRange','_scheduleSaving','triggerDblclick','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','OffLineIcon','INTERNAL_ERROR','getActiveRange','storage','defs','_initStatusComponent','_docClipboardService','doc.mutation.rich-text-editing','collabStatus.fetchMiss','subscribe','UniverEngineRender','UNRECOGNIZED','Vector2','permission.title','url(#$1','transformSelections','resize','handleIRemoveCol','DeleteRangeMoveUpCommandId','CONFLICT','_docSyncEditingCollabCursorService','addObject','handleInsertCol','object','docStateChange$','TEXT_RANGE_LAYER_INDEX','name','170742zuDZNY','getSheetBySheetId','unitID','transformMutation','USER_NOT_INVITED_CODE','drawWith','jsx','getConfig','none','univerjs-icon\x20univerjs-icon-','subunit','mutations','then','DocStateChangeManagerService','NodePositionConvertToCursor','getCurrentRevOfUnit','_docStateChangeManagerService','UniverDesign','values','_getMergeRange','collaboration-client-ui.config','_hideTimer','color','CollaborationStatusDisplay','_initEntityListener','@univerjs/engine-formula','entries','BehaviorSubject','collaboration.single-unit.warning','currentSkeleton$','@univerjs-pro/collaboration-client','set','_unitStatus','getMemberID','ticket','focused$','shareReplay','defineProperty','map','getRelativeToViewportCoord','getActiveSheet','source','takeUntil','tag','entityInit$','_shapes','registerRenderModule','setUndoRedoMutationParamsCache','cursorInfo','setAlpha','width','transformRemoteChangeset','_id','IURLService','memberID','_render','UniverDocs','disableLocalCache','moveTo','_startDocCollabCursor','_collaborationController','newValue','UniverInstanceType','_instanceService','_dataLoaderService','_transformHistoryAndStateStack','2282908MHSwJL','transformMutationsWithChangeset','_getSessionTicket','key','WECHAT_HAS_BEEN_BOUND','arc','concat','DEFAULT_WS_SESSION_TICKET_URL','10554jHOVco','_transformPreviousActiveRange','_onRefRangeChange','transformIMECache','RECT','getUnitId','deserializeRangeWithSheet','top','Failed','searchParams','syncEditingCollabCursor','isTransformMutationFailure','YUUMI_SUBSCRIPTION_NOT_FOUND','from','_handleHover','_docTransformStateCacheService','FETCH_MISS','_docSkeletonManagerService','Shape','string','PY_RUNTIME_SCRIPT_ERROR','getColor','Error','React','univer-flex\x20univer-mr-2\x20univer-text-xl','UniverUi','session.connection-failed','session.collaboration-timeout','_labelPosition','getParam','unload','SessionStatus','_transformService','filter','_clearOtherTimers','CollaborationStatus','_beforeCloseService','unitId','_docSkeleton','session.will-retry','_session','next','hovered','actions','_draw','merge','PERMISSION_DENIED','_cursorShapes','USERS_LEAVE','InsertColCommandId','InsertRangeMoveRightCommandId','NO_OTHER_CLIENTS_EDITING','_cursor','1em','getUnhiddenWorksheets','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','UPDATE_CURSOR','override','_localStorageService','_updateSubUnitFromURLParams','_initEvent'];_0x375c=function(){return _0x1d173d;};return _0x375c();}
|
|
1
|
+
(function(_0xade3c,_0x102f20){const _0x5b7c8e=_0x4e31,_0xabf4b3=_0xade3c();while(!![]){try{const _0x134a8e=-parseInt(_0x5b7c8e(0x3b4))/0x1*(-parseInt(_0x5b7c8e(0x3b8))/0x2)+parseInt(_0x5b7c8e(0x3b9))/0x3*(-parseInt(_0x5b7c8e(0x35d))/0x4)+parseInt(_0x5b7c8e(0x242))/0x5*(parseInt(_0x5b7c8e(0x2e7))/0x6)+-parseInt(_0x5b7c8e(0x2af))/0x7+parseInt(_0x5b7c8e(0x27c))/0x8*(-parseInt(_0x5b7c8e(0x23c))/0x9)+parseInt(_0x5b7c8e(0x3ab))/0xa+parseInt(_0x5b7c8e(0x15b))/0xb;if(_0x134a8e===_0x102f20)break;else _0xabf4b3['push'](_0xabf4b3['shift']());}catch(_0xbb8124){_0xabf4b3['push'](_0xabf4b3['shift']());}}}(_0x1d4d,0x79ba6),function(_0x3bcb7f,_0x41eadf){const _0xd9cd40=_0x4e31;typeof exports=='object'&&typeof module<'u'?_0x41eadf(exports,require('@univerjs-pro/collaboration-client'),require(_0xd9cd40(0x25d)),require(_0xd9cd40(0x298)),require(_0xd9cd40(0x334)),require(_0xd9cd40(0x226)),require(_0xd9cd40(0x294)),require(_0xd9cd40(0x3e4)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0xd9cd40(0x187)),require(_0xd9cd40(0x3e2)),require(_0xd9cd40(0x285)),require(_0xd9cd40(0x2de)),require(_0xd9cd40(0x2a4)),require(_0xd9cd40(0x37c)),require(_0xd9cd40(0x261)),require(_0xd9cd40(0x1b3))):typeof define==_0xd9cd40(0x209)&&define['amd']?define([_0xd9cd40(0x3b1),_0xd9cd40(0x3ba),'@univerjs/core',_0xd9cd40(0x298),_0xd9cd40(0x334),_0xd9cd40(0x226),'@univerjs/drawing',_0xd9cd40(0x3e4),_0xd9cd40(0x257),_0xd9cd40(0x2f9),_0xd9cd40(0x33e),_0xd9cd40(0x187),'rxjs/operators',_0xd9cd40(0x285),'react/jsx-runtime',_0xd9cd40(0x2a4),'@univerjs/design',_0xd9cd40(0x261),_0xd9cd40(0x1b3)],_0x41eadf):(_0x3bcb7f=typeof globalThis<'u'?globalThis:_0x3bcb7f||self,_0x41eadf(_0x3bcb7f[_0xd9cd40(0x180)]={},_0x3bcb7f[_0xd9cd40(0x18b)],_0x3bcb7f['UniverCore'],_0x3bcb7f[_0xd9cd40(0x2bf)],_0x3bcb7f[_0xd9cd40(0x31d)],_0x3bcb7f[_0xd9cd40(0x162)],_0x3bcb7f[_0xd9cd40(0x2bc)],_0x3bcb7f[_0xd9cd40(0x3e4)],_0x3bcb7f[_0xd9cd40(0x268)],_0x3bcb7f[_0xd9cd40(0x376)],_0x3bcb7f[_0xd9cd40(0x28c)],_0x3bcb7f[_0xd9cd40(0x3f7)],_0x3bcb7f['rxjs'][_0xd9cd40(0x170)],_0x3bcb7f[_0xd9cd40(0x306)],_0x3bcb7f[_0xd9cd40(0x178)],_0x3bcb7f[_0xd9cd40(0x213)],_0x3bcb7f[_0xd9cd40(0x326)],_0x3bcb7f[_0xd9cd40(0x178)],_0x3bcb7f[_0xd9cd40(0x229)]));}(this,function(_0x27a00d,_0x345c38,_0x37798d,_0x48613e,_0x344cf1,_0x3836dd,_0x385a8e,_0x50346e,_0x3c51b7,_0x524bf8,_0x4a052a,_0x20a5d1,_0x238528,_0x33c6ab,_0x4c2415,_0x28c025,_0x45a24b,_0x126b6d,_0x5e825a){'use strict';const _0x30d3e3=_0x4e31;var _0x20df98=Object[_0x30d3e3(0x29e)],_0x40b278=(_0x95149d,_0x34f02c,_0x55e9a5)=>_0x34f02c in _0x95149d?_0x20df98(_0x95149d,_0x34f02c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55e9a5}):_0x95149d[_0x34f02c]=_0x55e9a5,_0x2fbdf1=(_0x42e541,_0x44e94b,_0x153422)=>_0x40b278(_0x42e541,typeof _0x44e94b!=_0x30d3e3(0x24a)?_0x44e94b+'':_0x44e94b,_0x153422),_0x4cf3cf=Object[_0x30d3e3(0x303)],_0x5d927a=(_0x4a23ea,_0x43c37d,_0x13e695,_0x290332)=>{const _0x13ffb9=_0x30d3e3;for(var _0x4abaca=_0x290332>0x1?void 0x0:_0x290332?_0x4cf3cf(_0x43c37d,_0x13e695):_0x43c37d,_0x4bea55=_0x4a23ea[_0x13ffb9(0x3ae)]-0x1,_0x3427c9;_0x4bea55>=0x0;_0x4bea55--)(_0x3427c9=_0x4a23ea[_0x4bea55])&&(_0x4abaca=_0x3427c9(_0x4abaca)||_0x4abaca);return _0x4abaca;},_0x336375=(_0x52761f,_0x415d75)=>(_0x38d5c3,_0x253ffd)=>_0x415d75(_0x38d5c3,_0x253ffd,_0x52761f);let _0x10981e=class extends _0x37798d[_0x30d3e3(0x39e)]{constructor(_0x5f0218,_0x529a04){const _0x2500e8=_0x30d3e3;super(),this[_0x2500e8(0x253)]=_0x5f0218,this[_0x2500e8(0x3c2)]=_0x529a04,this[_0x2500e8(0x1a6)]();}[_0x30d3e3(0x1a6)](){const _0x5d0823=_0x30d3e3,_0x301cb0=this;this[_0x5d0823(0x23d)](this[_0x5d0823(0x253)]['addClipboardHook']({'onBeforePasteImage':async _0x5065b0=>{const _0x16857e=_0x5d0823,_0x37c64c=await _0x301cb0[_0x16857e(0x3c2)][_0x16857e(0x28e)](_0x5065b0);return _0x37c64c?{'source':_0x37c64c['source'],'imageSourceType':_0x37c64c[_0x16857e(0x3f5)]}:null;}}));}};_0x10981e=_0x5d927a([_0x336375(0x0,_0x3836dd[_0x30d3e3(0x37e)]),_0x336375(0x1,_0x385a8e[_0x30d3e3(0x329)])],_0x10981e);const _0x205dd9=[_0x30d3e3(0x1e7),_0x30d3e3(0x3cf),_0x30d3e3(0x21e),'red.300',_0x30d3e3(0x19f),_0x30d3e3(0x3f3)];class _0x3433ef extends _0x37798d['Disposable']{constructor(){const _0x215e80=_0x30d3e3;super(...arguments),_0x2fbdf1(this,_0x215e80(0x171),new Map()),_0x2fbdf1(this,_0x215e80(0x3ee),0x0);}[_0x30d3e3(0x3e1)](_0x178719){const _0x5d4e71=_0x30d3e3;if(this['_assignedColors'][_0x5d4e71(0x1d8)](_0x178719))return this[_0x5d4e71(0x171)][_0x5d4e71(0x2ae)](_0x178719);const _0x5c8bc2=_0x205dd9[this['_colorIndex']];return this[_0x5d4e71(0x3ee)]=(this['_colorIndex']+0x1)%_0x205dd9[_0x5d4e71(0x3ae)],this[_0x5d4e71(0x171)][_0x5d4e71(0x157)](_0x178719,_0x5c8bc2),_0x5c8bc2;}}function _0x321c19(_0x2ae021){let _0x2eb401='';for(const _0x1c2425 of _0x2ae021){const {startOffset:_0x37d2b9,endOffset:_0x3231c3,isActive:_0x343491,rangeType:_0x3b3621,segmentId:_0x131aed,segmentPage:_0x206a20}=_0x1c2425;_0x2eb401['length']&&(_0x2eb401+=','),_0x2eb401+=_0x37d2b9+':'+_0x3231c3+':'+(_0x343491?'1':'0')+':'+_0x3b3621+':'+_0x131aed+':'+_0x206a20;}return _0x2eb401;}function _0x6f7f81(_0x3c657d){const _0x285612=_0x30d3e3,_0x5792d0=_0x3c657d[_0x285612(0x2f2)](','),_0x590f77=[];for(const _0x14f3ce of _0x5792d0){const [_0x4b7c90,_0x8839fd,_0x28a143,_0xe25796,_0x3eb582,_0x13396f]=_0x14f3ce[_0x285612(0x2f2)](':');_0x590f77[_0x285612(0x24c)]({'startOffset':Number(_0x4b7c90),'endOffset':Number(_0x8839fd),'collapsed':_0x4b7c90===_0x8839fd,'isActive':_0x28a143==='1','rangeType':_0xe25796===_0x37798d['DOC_RANGE_TYPE'][_0x285612(0x15f)]?_0x37798d[_0x285612(0x2e4)]['TEXT']:_0x37798d['DOC_RANGE_TYPE'][_0x285612(0x2d3)],'segmentId':typeof _0x3eb582==_0x285612(0x1af)?String(_0x3eb582):'','segmentPage':Number(_0x13396f!=null?_0x13396f:-0x1)});}return _0x590f77[_0x285612(0x3a3)](_0x56a799=>_0x56a799['isActive'])||(_0x590f77[0x0][_0x285612(0x39a)]=!0x0),_0x590f77;}class _0x4f6dd5 extends _0x37798d[_0x30d3e3(0x39e)]{constructor(){const _0x5680fe=_0x30d3e3;super(...arguments),_0x2fbdf1(this,_0x5680fe(0x15a),new _0x50346e[(_0x5680fe(0x1a3))](null)),_0x2fbdf1(this,_0x5680fe(0x1eb),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x436a59){const _0xe7fbfd=_0x30d3e3,{unitID:_0x23799c,memberID:_0x43dbd6,textRanges:_0x44834c}=_0x436a59,_0x27d443=_0x321c19(_0x44834c);if(_0x27d443==='')return;const _0x3de260={'unitID':_0x23799c,'memberID':_0x43dbd6,'selection':_0x27d443};this[_0xe7fbfd(0x15a)][_0xe7fbfd(0x340)](_0x3de260);}}var _0xbbad21=Object[_0x30d3e3(0x303)],_0x390532=(_0x511681,_0x3c2621,_0x137700,_0x1f919a)=>{for(var _0x352fae=_0x1f919a>0x1?void 0x0:_0x1f919a?_0xbbad21(_0x3c2621,_0x137700):_0x3c2621,_0x2bd4e6=_0x511681['length']-0x1,_0x56bbe2;_0x2bd4e6>=0x0;_0x2bd4e6--)(_0x56bbe2=_0x511681[_0x2bd4e6])&&(_0x352fae=_0x56bbe2(_0x352fae)||_0x352fae);return _0x352fae;},_0x3d157a=(_0x5bc167,_0x17bcaf)=>(_0x243358,_0x6a15f5)=>_0x17bcaf(_0x243358,_0x6a15f5,_0x5bc167);const _0x42ffe2=0x12c,_0x1569d3=0x64;let _0x1db785=class extends _0x37798d[_0x30d3e3(0x39e)]{constructor(_0x5ed448,_0x32f184,_0x1daeec,_0x3236ff,_0x50a705,_0x52549c,_0x396675,_0x3d3619,_0x5ea301){const _0x526c84=_0x30d3e3;super(),_0x2fbdf1(this,_0x526c84(0x2c5),!0x1),_0x2fbdf1(this,_0x526c84(0x1a6),!0x1),_0x2fbdf1(this,'_cursorInfo$',new _0x50346e[(_0x526c84(0x1a3))](new Map())),_0x2fbdf1(this,_0x526c84(0x168),this[_0x526c84(0x243)][_0x526c84(0x208)]()),_0x2fbdf1(this,_0x526c84(0x2ac),new _0x50346e['BehaviorSubject']([])),_0x2fbdf1(this,'roomMembers$',this[_0x526c84(0x2ac)][_0x526c84(0x2ea)](_0x50346e[_0x526c84(0x1c2)](_0x42ffe2))),_0x2fbdf1(this,_0x526c84(0x212),_0x37798d['debounce'](_0x2b918f=>{const _0x4596e4=_0x526c84,_0x2e14fb={'eventID':_0x524bf8[_0x4596e4(0x292)][_0x4596e4(0x21a)],'data':{'unitID':this['unitID'],'memberID':this[_0x4596e4(0x2f3)][_0x4596e4(0x1e0)](),'selection':_0x321c19(_0x2b918f)}};this['_session']['send'](_0x2e14fb,this['unitID']);},_0x1569d3)),(this[_0x526c84(0x15e)]=_0x5ed448,this[_0x526c84(0x2f3)]=_0x32f184,this['_injector']=_0x1daeec,this[_0x526c84(0x3bf)]=_0x3236ff,this[_0x526c84(0x3ea)]=_0x50a705,this[_0x526c84(0x32f)]=_0x52549c,this['_transformService']=_0x396675,this['_univerInstanceService']=_0x3d3619,this[_0x526c84(0x2e6)]=_0x5ea301);}get[_0x30d3e3(0x222)](){const _0x49ddb3=_0x30d3e3;return this[_0x49ddb3(0x243)]['getValue']();}get[_0x30d3e3(0x3e6)](){return this['_roomMembers$']['getValue']();}[_0x30d3e3(0x1d9)](){const _0x5214e4=_0x30d3e3;super[_0x5214e4(0x1d9)](),this['_cursorInfo$'][_0x5214e4(0x340)](new Map()),this[_0x5214e4(0x243)]['complete'](),this[_0x5214e4(0x2ac)]['next']([]),this[_0x5214e4(0x2ac)][_0x5214e4(0x363)]();}['init'](){const _0x4c75e6=_0x30d3e3;this['_init']||(this[_0x4c75e6(0x1a6)]=!0x0,this[_0x4c75e6(0x2f3)][_0x4c75e6(0x22b)][_0x4c75e6(0x2ea)](_0x50346e[_0x4c75e6(0x283)](this[_0x4c75e6(0x2ca)]))[_0x4c75e6(0x3a7)](_0x5c38c7=>{const _0xae89b0=_0x4c75e6;_0x5c38c7===_0x345c38[_0xae89b0(0x2bb)][_0xae89b0(0x3dd)]?this[_0xae89b0(0x3a1)]():this[_0xae89b0(0x386)]();}),this[_0x4c75e6(0x2f3)]['event$'][_0x4c75e6(0x2ea)](_0x50346e['takeUntil'](this[_0x4c75e6(0x2ca)]))[_0x4c75e6(0x3a7)](_0xa80eac=>{const _0x5b13a2=_0x4c75e6,_0x32c89a=_0xa80eac['eventID'];_0x32c89a===_0x524bf8[_0x5b13a2(0x292)]['UPDATE_CURSOR']&&this[_0x5b13a2(0x220)](_0xa80eac),_0x32c89a===_0x524bf8[_0x5b13a2(0x292)][_0x5b13a2(0x3fb)]&&this[_0x5b13a2(0x37f)](_0xa80eac);}),this[_0x4c75e6(0x23d)](this[_0x4c75e6(0x2e6)][_0x4c75e6(0x308)](_0x1cc84b=>{const _0x2b8746=_0x4c75e6,_0xe38d8c=_0x1cc84b[_0x2b8746(0x319)];_0xe38d8c!=null&&this['_online']&&_0x1cc84b['id']===_0x3c51b7[_0x2b8746(0x22e)]['id']&&_0xe38d8c[_0x2b8746(0x225)]===this[_0x2b8746(0x15e)]&&_0xe38d8c[_0x2b8746(0x2d6)]===!0x1&&_0xe38d8c[_0x2b8746(0x32e)]['length']>0x0&&this[_0x2b8746(0x212)](_0xe38d8c[_0x2b8746(0x32e)]);})),this[_0x4c75e6(0x32f)][_0x4c75e6(0x1eb)][_0x4c75e6(0x2ea)](_0x50346e[_0x4c75e6(0x283)](this[_0x4c75e6(0x2ca)]))[_0x4c75e6(0x3a7)](_0x4b0e89=>{const _0x34c59d=_0x4c75e6;if((_0x4b0e89==null?void 0x0:_0x4b0e89[_0x34c59d(0x15e)])!==this[_0x34c59d(0x15e)])return;const _0x4bef84={'eventID':_0x524bf8['CollaborationEvent'][_0x34c59d(0x21a)],'data':_0x4b0e89};this['_onCursorUpdate'](_0x4bef84);}),this[_0x4c75e6(0x23d)](this[_0x4c75e6(0x2e6)][_0x4c75e6(0x308)](_0xe793c2=>{const _0xd9715d=_0x4c75e6;if(_0xe793c2[_0xd9715d(0x319)]==null)return;const _0x3719f7=_0xe793c2[_0xd9715d(0x319)];if(_0xe793c2['id']!==_0x3c51b7[_0xd9715d(0x239)]['id']||_0x3719f7[_0xd9715d(0x225)]!==this['unitID'])return;const _0x34f524={'id':_0xd9715d(0x365),'params':_0x3719f7},_0x3fa883=this['cursorInfo'];for(const [_0x58558e,_0x29033b]of _0x3fa883){const _0x12f5c5={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xd9715d(0x15e)],'actions':null,'textRanges':_0x29033b[_0xd9715d(0x32e)]}},_0x3a0d50=this['_transformService'][_0xd9715d(0x1ee)](_0x34f524,_0x12f5c5,!0x1);if(_0x524bf8['isTransformMutationFailure'](_0x3a0d50))throw _0x3a0d50[_0xd9715d(0x1f2)];_0x3fa883[_0xd9715d(0x157)](_0x58558e,{..._0x29033b,'ranges':_0x3a0d50[_0xd9715d(0x371)][_0xd9715d(0x319)][_0xd9715d(0x3f1)]});}queueMicrotask(()=>{const _0x57da61=_0xd9715d;this[_0x57da61(0x243)][_0x57da61(0x340)](_0x3fa883);});})));}[_0x30d3e3(0x220)](_0x2f5994){const _0x3f80f7=_0x30d3e3;var _0x5ab06d,_0x35a180;const {memberID:_0x94105e,selection:_0x173b68}=_0x2f5994['data'],_0x1fe0b9=_0x6f7f81(_0x173b68),_0x233196=(_0x35a180=(_0x5ab06d=this[_0x3f80f7(0x3ea)]['getMember'](this[_0x3f80f7(0x15e)],_0x94105e))==null?void 0x0:_0x5ab06d[_0x3f80f7(0x379)])!=null?_0x35a180:'Unknown\x20user',_0x58da3a={'color':this['_colorAssignService'][_0x3f80f7(0x3e1)](_0x94105e),'name':_0x233196,'ranges':_0x1fe0b9},_0x5dcf3c=this['cursorInfo'];_0x5dcf3c[_0x3f80f7(0x157)](_0x94105e,_0x58da3a),this[_0x3f80f7(0x243)][_0x3f80f7(0x340)](_0x5dcf3c);}[_0x30d3e3(0x37f)](_0x4a49fc){const _0x234277=_0x30d3e3,{memberID:_0x1d72ba}=_0x4a49fc[_0x234277(0x3c7)],_0x54386e=this['cursorInfo'];_0x54386e['delete'](_0x1d72ba),this[_0x234277(0x243)][_0x234277(0x340)](_0x54386e);}[_0x30d3e3(0x3a1)](){const _0x160b62=_0x30d3e3;var _0x4875b4;if(this[_0x160b62(0x2c5)]=!0x0,((_0x4875b4=this[_0x160b62(0x254)][_0x160b62(0x25b)]())==null?void 0x0:_0x4875b4[_0x160b62(0x218)]())!==this[_0x160b62(0x15e)])return;const _0x2c269e=this[_0x160b62(0x33f)][_0x160b62(0x2ae)](_0x3c51b7[_0x160b62(0x264)])[_0x160b62(0x295)]();Array[_0x160b62(0x1b7)](_0x2c269e)&&_0x2c269e[_0x160b62(0x3ae)]>0x0&&this[_0x160b62(0x212)](_0x2c269e);}[_0x30d3e3(0x386)](){this['_online']=!0x1;}};_0x1db785=_0x390532([_0x3d157a(0x2,_0x37798d[_0x30d3e3(0x330)](_0x37798d['Injector'])),_0x3d157a(0x3,_0x37798d[_0x30d3e3(0x330)](_0x3433ef)),_0x3d157a(0x4,_0x37798d['Inject'](_0x345c38[_0x30d3e3(0x214)])),_0x3d157a(0x5,_0x37798d[_0x30d3e3(0x330)](_0x4f6dd5)),_0x3d157a(0x6,_0x524bf8[_0x30d3e3(0x217)]),_0x3d157a(0x7,_0x37798d[_0x30d3e3(0x39c)]),_0x3d157a(0x8,_0x37798d[_0x30d3e3(0x1c4)])],_0x1db785);var _0x11caf1=Object['getOwnPropertyDescriptor'],_0x94ed1c=(_0x3930f2,_0x538cbc,_0x43ce62,_0x117203)=>{const _0xd6a28d=_0x30d3e3;for(var _0x21d85f=_0x117203>0x1?void 0x0:_0x117203?_0x11caf1(_0x538cbc,_0x43ce62):_0x538cbc,_0x750238=_0x3930f2[_0xd6a28d(0x3ae)]-0x1,_0x304a1b;_0x750238>=0x0;_0x750238--)(_0x304a1b=_0x3930f2[_0x750238])&&(_0x21d85f=_0x304a1b(_0x21d85f)||_0x21d85f);return _0x21d85f;},_0x553817=(_0x2a38ec,_0x23c9a5)=>(_0x1bf61f,_0xa67c04)=>_0x23c9a5(_0x1bf61f,_0xa67c04,_0x2a38ec);const _0x4ea009=0x12c,_0x2f8112=0x64,_0x41baa2=()=>{let _0x4422d8=[],_0x352d32=!0x1;return _0x5672b0=>{const _0x101b85=_0x4e31;_0x4422d8[_0x101b85(0x24c)](_0x5672b0),_0x352d32||(_0x352d32=!0x0,setTimeout(()=>{_0x4422d8['forEach'](_0x1802dc=>_0x1802dc()),_0x4422d8=[],_0x352d32=!0x1;}));};};let _0x2ad847=class extends _0x37798d[_0x30d3e3(0x39e)]{constructor(_0x134af9,_0x9af4e8,_0xcddf8e,_0x437ee5,_0x4d5cc0,_0x49be03,_0x4c3390,_0x51d2a1){const _0x3d9041=_0x30d3e3;super(),_0x2fbdf1(this,_0x3d9041(0x2c5),!0x1),_0x2fbdf1(this,'_init',!0x1),_0x2fbdf1(this,_0x3d9041(0x243),new _0x50346e[(_0x3d9041(0x1a3))](new Map())),_0x2fbdf1(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x2fbdf1(this,_0x3d9041(0x2ac),new _0x50346e[(_0x3d9041(0x1a3))]([])),_0x2fbdf1(this,_0x3d9041(0x2c3),this[_0x3d9041(0x2ac)][_0x3d9041(0x2ea)](_0x50346e[_0x3d9041(0x1c2)](_0x4ea009))),_0x2fbdf1(this,_0x3d9041(0x212),_0x37798d[_0x3d9041(0x2b0)]((_0x2bc079,_0x169db3)=>{const _0x4986db=_0x3d9041,_0x4ca481={'eventID':_0x524bf8[_0x4986db(0x292)][_0x4986db(0x21a)],'data':{'unitID':this[_0x4986db(0x15e)],'memberID':this[_0x4986db(0x2f3)][_0x4986db(0x1e0)](),'selection':_0x4a052a['serializeRangeWithSheet'](_0x2bc079,_0x169db3[_0x4986db(0x1f1)])}};this[_0x4986db(0x2f3)]['send'](_0x4ca481,this[_0x4986db(0x15e)]);},_0x2f8112)),(this[_0x3d9041(0x15e)]=_0x134af9,this[_0x3d9041(0x2f3)]=_0x9af4e8,this[_0x3d9041(0x33f)]=_0xcddf8e,this[_0x3d9041(0x3bf)]=_0x437ee5,this[_0x3d9041(0x3ea)]=_0x4d5cc0,this[_0x3d9041(0x254)]=_0x49be03,this['_commandService']=_0x4c3390,this['_refRangeService']=_0x51d2a1);}get[_0x30d3e3(0x222)](){const _0x9cc545=_0x30d3e3;return this['_cursorInfo$'][_0x9cc545(0x3bc)]();}get[_0x30d3e3(0x3e6)](){const _0x15f3b0=_0x30d3e3;return this[_0x15f3b0(0x2ac)][_0x15f3b0(0x3bc)]();}[_0x30d3e3(0x1d9)](){const _0x4dd973=_0x30d3e3;super[_0x4dd973(0x1d9)](),this['_cursorInfo$'][_0x4dd973(0x340)](new Map()),this[_0x4dd973(0x243)][_0x4dd973(0x363)](),this['_roomMembers$'][_0x4dd973(0x340)]([]),this[_0x4dd973(0x2ac)][_0x4dd973(0x363)]();}['init'](){const _0x140652=_0x30d3e3;this[_0x140652(0x1a6)]||(this['_init']=!0x0,this[_0x140652(0x2f3)]['sessionStatus$'][_0x140652(0x2ea)](_0x50346e['takeUntil'](this[_0x140652(0x2ca)]))['subscribe'](_0x26386a=>{const _0x46b199=_0x140652;_0x26386a===_0x345c38[_0x46b199(0x2bb)][_0x46b199(0x3dd)]?this[_0x46b199(0x3a1)]():this[_0x46b199(0x386)]();}),this[_0x140652(0x2f3)]['event$'][_0x140652(0x2ea)](_0x50346e['takeUntil'](this[_0x140652(0x2ca)]))[_0x140652(0x3a7)](_0x50e9c8=>{const _0x13b88d=_0x140652,_0x2ba4b0=_0x50e9c8['eventID'];_0x2ba4b0===_0x524bf8[_0x13b88d(0x292)]['UPDATE_CURSOR']&&this[_0x13b88d(0x220)](_0x50e9c8),_0x2ba4b0===_0x524bf8[_0x13b88d(0x292)][_0x13b88d(0x3fb)]&&this[_0x13b88d(0x37f)](_0x50e9c8);}),this[_0x140652(0x1bd)](),this[_0x140652(0x23d)](this[_0x140652(0x2e6)][_0x140652(0x308)](_0x451a48=>{const _0x346021=_0x140652;if(this[_0x346021(0x2c5)]&&_0x451a48['id']===_0x20a5d1[_0x346021(0x2f4)]['id']&&_0x451a48[_0x346021(0x319)]['unitId']===this[_0x346021(0x15e)]){const _0x72657d=_0x451a48[_0x346021(0x319)];this[_0x346021(0x212)](_0x72657d[_0x346021(0x1fe)],_0x72657d[_0x346021(0x2c9)][0x0]);}})));}[_0x30d3e3(0x220)](_0x323e8e){const _0x3b883d=_0x30d3e3;var _0x2fc81b,_0x4db485;const {memberID:_0x41f8b0,selection:_0x498edf}=_0x323e8e[_0x3b883d(0x3c7)],{sheetName:_0x1ff495,range:_0x407a69}=_0x4a052a[_0x3b883d(0x258)](_0x498edf),_0x103188={'name':(_0x4db485=(_0x2fc81b=this['_memberService']['getMember'](this[_0x3b883d(0x15e)],_0x41f8b0))==null?void 0x0:_0x2fc81b[_0x3b883d(0x379)])!=null?_0x4db485:_0x3b883d(0x1da),'range':this[_0x3b883d(0x360)](_0x1ff495,_0x407a69),'sheetID':_0x1ff495,'color':this[_0x3b883d(0x3bf)][_0x3b883d(0x3e1)](_0x41f8b0),'selection':_0x498edf},_0x59a149=this[_0x3b883d(0x222)];_0x59a149[_0x3b883d(0x157)](_0x41f8b0,_0x103188),this[_0x3b883d(0x243)][_0x3b883d(0x340)](_0x59a149);}['_onCursorDelete'](_0x3bae01){const _0xd89cb8=_0x30d3e3,{memberID:_0x321f80}=_0x3bae01[_0xd89cb8(0x3c7)],_0x227ebb=this[_0xd89cb8(0x222)];_0x227ebb[_0xd89cb8(0x288)](_0x321f80),this[_0xd89cb8(0x243)]['next'](_0x227ebb);}[_0x30d3e3(0x360)](_0x15376c,_0x4e1ce){const _0x3c14f4=_0x30d3e3;var _0x50dd81,_0x55781c;const _0x504555=(_0x55781c=(_0x50dd81=this[_0x3c14f4(0x254)][_0x3c14f4(0x2f6)](this[_0x3c14f4(0x15e)]))==null?void 0x0:_0x50dd81['getSheetBySheetId'](_0x15376c))==null?void 0x0:_0x55781c['getMergeData']();return(_0x504555==null?void 0x0:_0x504555[_0x3c14f4(0x1ae)](_0x545a70=>_0x37798d['Rectangle'][_0x3c14f4(0x2d7)](_0x545a70,_0x4e1ce)))||_0x4e1ce;}['_onRefRangeChange'](){const _0x2cd427=_0x30d3e3,_0x4294e3=new _0x37798d[(_0x2cd427(0x1dc))](),_0xa11fd1=_0x41baa2(),_0x4f6bb3=()=>{const _0x2afa6=_0x2cd427;_0x4294e3[_0x2afa6(0x1d9)]();const _0x33e07c=(_0x207016,_0x2a002f,_0x16e625,_0x2ba6e7)=>{const _0x527f8=_0x2afa6;let _0x321089=[];switch(_0x207016['id']){case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x26f)]:{_0x321089=_0x20a5d1[_0x527f8(0x3b0)](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)]['DeleteRangeMoveUpCommandId']:{_0x321089=_0x20a5d1[_0x527f8(0x210)](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x20c)]:{_0x321089=_0x20a5d1['handleInsertCol'](_0x207016,_0x2ba6e7);break;}case _0x20a5d1['EffectRefRangId'][_0x527f8(0x236)]:{_0x321089=_0x20a5d1['handleInsertRangeMoveDown'](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x207)]:{_0x321089=_0x20a5d1[_0x527f8(0x3f0)](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x33a)]:{_0x321089=_0x20a5d1[_0x527f8(0x18f)](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x2d1)]:{_0x321089=_0x20a5d1[_0x527f8(0x299)](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x39d)]:{_0x321089=_0x20a5d1[_0x527f8(0x297)](_0x207016,_0x2ba6e7);break;}case _0x20a5d1[_0x527f8(0x23b)][_0x527f8(0x1de)]:{_0x321089=_0x20a5d1[_0x527f8(0x1b9)](_0x207016,_0x2ba6e7);break;}}const _0x6c9732=_0x20a5d1['runRefRangeMutations'](_0x321089,_0x2ba6e7),_0x69caa8=this[_0x527f8(0x222)][_0x527f8(0x2ae)](_0x2a002f);if(_0x69caa8&&_0x6c9732){const _0x2a0018={..._0x69caa8,'range':_0x6c9732};this[_0x527f8(0x222)]['set'](_0x2a002f,_0x2a0018),_0xa11fd1(()=>{const _0x3cc6b4=_0x527f8,_0x3174b0=this[_0x3cc6b4(0x21b)][_0x3cc6b4(0x3f6)](_0x6c9732,_0x16d14b=>(_0x3174b0[_0x3cc6b4(0x1d9)](),_0x33e07c(_0x16d14b,_0x2a002f,_0x16e625,_0x6c9732)));_0x4294e3['add'](_0x3174b0);});}return{'redos':[],'undos':[]};};this[_0x2afa6(0x222)][_0x2afa6(0x335)]((_0x537389,_0x2a02d8)=>{const _0x1238e5=_0x2afa6,{range:_0x4dac02,sheetID:_0x2c2361}=_0x537389,_0xaa2e73=this[_0x1238e5(0x21b)][_0x1238e5(0x3f6)](_0x4dac02,_0x23e361=>(_0xaa2e73['dispose'](),_0x33e07c(_0x23e361,_0x2a02d8,_0x2c2361,_0x4dac02)));_0x4294e3[_0x1238e5(0x2e1)](_0xaa2e73);});};this[_0x2cd427(0x23d)](_0x37798d[_0x2cd427(0x274)](this[_0x2cd427(0x243)][_0x2cd427(0x3a7)](()=>{_0x4f6bb3();})));}['_toggleOnline'](){const _0x51e3bc=_0x30d3e3;var _0x3dbb85,_0x895415;if(this[_0x51e3bc(0x2c5)]=!0x0,((_0x3dbb85=this[_0x51e3bc(0x254)][_0x51e3bc(0x25b)]())==null?void 0x0:_0x3dbb85[_0x51e3bc(0x218)]())!==this[_0x51e3bc(0x15e)])return;const _0x534102=(_0x895415=this[_0x51e3bc(0x33f)][_0x51e3bc(0x2ae)](_0x20a5d1['SheetsSelectionsService'])[_0x51e3bc(0x29c)]())==null?void 0x0:_0x895415[0x0],_0xfb2de5=this[_0x51e3bc(0x254)][_0x51e3bc(0x2cd)](_0x37798d[_0x51e3bc(0x24e)][_0x51e3bc(0x311)])[_0x51e3bc(0x249)]();_0x534102&&_0xfb2de5&&this[_0x51e3bc(0x212)](_0xfb2de5['getSheetId'](),_0x534102);}[_0x30d3e3(0x386)](){const _0x4dd9c2=_0x30d3e3;this[_0x4dd9c2(0x2c5)]=!0x1;}};_0x2ad847=_0x94ed1c([_0x553817(0x2,_0x37798d[_0x30d3e3(0x330)](_0x37798d[_0x30d3e3(0x3cc)])),_0x553817(0x3,_0x37798d[_0x30d3e3(0x330)](_0x3433ef)),_0x553817(0x4,_0x37798d[_0x30d3e3(0x330)](_0x345c38[_0x30d3e3(0x214)])),_0x553817(0x5,_0x37798d[_0x30d3e3(0x39c)]),_0x553817(0x6,_0x37798d[_0x30d3e3(0x1c4)]),_0x553817(0x7,_0x37798d['Inject'](_0x20a5d1[_0x30d3e3(0x31b)]))],_0x2ad847);var _0x33ad86=Object[_0x30d3e3(0x303)],_0x27777b=(_0x216448,_0x34088f,_0x230e17,_0x5b752a)=>{const _0x296288=_0x30d3e3;for(var _0x4b50e7=_0x5b752a>0x1?void 0x0:_0x5b752a?_0x33ad86(_0x34088f,_0x230e17):_0x34088f,_0x5dc900=_0x216448[_0x296288(0x3ae)]-0x1,_0x162530;_0x5dc900>=0x0;_0x5dc900--)(_0x162530=_0x216448[_0x5dc900])&&(_0x4b50e7=_0x162530(_0x4b50e7)||_0x4b50e7);return _0x4b50e7;},_0x22903b=(_0x30ba75,_0x1eed2f)=>(_0x389023,_0x10389b)=>_0x1eed2f(_0x389023,_0x10389b,_0x30ba75);let _0x424389=class extends _0x37798d[_0x30d3e3(0x39e)]{constructor(_0x58b1fa,_0x1321cb,_0xd81958){const _0x58b581=_0x30d3e3;super(),_0x2fbdf1(this,_0x58b581(0x2e8),new Map()),_0x2fbdf1(this,_0x58b581(0x2da),new _0x50346e[(_0x58b581(0x3a9))]()),(this[_0x58b581(0x254)]=_0x58b1fa,this[_0x58b581(0x33f)]=_0x1321cb,this[_0x58b581(0x3ca)]=_0xd81958,this[_0x58b581(0x1a6)]());}[_0x30d3e3(0x1d9)](){const _0x107ffe=_0x30d3e3;super[_0x107ffe(0x1d9)](),this['_entityInit$'][_0x107ffe(0x363)](),this['_entities'][_0x107ffe(0x335)](_0x5a73a9=>_0x5a73a9[_0x107ffe(0x1d9)]());}[_0x30d3e3(0x3e7)](_0x188736){const _0x66623d=_0x30d3e3;return this[_0x66623d(0x2e8)]['has'](_0x188736)?this['_entities']['get'](_0x188736)[_0x66623d(0x168)]:this[_0x66623d(0x2da)][_0x66623d(0x2ea)](_0x50346e[_0x66623d(0x17a)](_0xe4b735=>_0xe4b735['unitID']===_0x188736),_0x50346e[_0x66623d(0x19e)](_0x1bc8d6=>_0x1bc8d6[_0x66623d(0x168)]));}[_0x30d3e3(0x1a6)](){const _0x426dee=_0x30d3e3;this['_univerInstanceService'][_0x426dee(0x30f)](_0x37798d[_0x426dee(0x24e)]['UNIVER_SHEET'])[_0x426dee(0x2ea)](_0x50346e['takeUntil'](this[_0x426dee(0x2ca)]))[_0x426dee(0x3a7)](async _0x3c22f9=>{const _0x442384=_0x426dee,_0x37757c=_0x3c22f9[_0x442384(0x218)](),_0x3f531d=await this[_0x442384(0x2eb)](_0x37757c);this['_entityInit$'][_0x442384(0x340)](_0x3f531d),this[_0x442384(0x2e8)][_0x442384(0x157)](_0x37757c,_0x3f531d);}),this[_0x426dee(0x254)]['getTypeOfUnitAdded$'](_0x37798d[_0x426dee(0x24e)][_0x426dee(0x304)])[_0x426dee(0x2ea)](_0x50346e[_0x426dee(0x283)](this[_0x426dee(0x2ca)]))[_0x426dee(0x2ea)](_0x50346e[_0x426dee(0x17a)](_0x34c247=>!_0x34c247[_0x426dee(0x218)]()[_0x426dee(0x396)]('__')))[_0x426dee(0x3a7)](async _0x4a1877=>{const _0x208356=_0x426dee,_0x469064=_0x4a1877[_0x208356(0x218)](),_0x1e4cc4=await this[_0x208356(0x2e2)](_0x469064);this[_0x208356(0x2da)]['next'](_0x1e4cc4),this[_0x208356(0x2e8)][_0x208356(0x157)](_0x469064,_0x1e4cc4);}),_0x50346e[_0x426dee(0x197)](this[_0x426dee(0x254)][_0x426dee(0x17f)](_0x37798d['UniverInstanceType'][_0x426dee(0x304)]),this[_0x426dee(0x254)]['getTypeOfUnitDisposed$'](_0x37798d[_0x426dee(0x24e)]['UNIVER_SHEET']))['pipe'](_0x50346e[_0x426dee(0x283)](this[_0x426dee(0x2ca)]))[_0x426dee(0x3a7)](_0xce188d=>{const _0x538887=_0x426dee,_0x145f93=_0xce188d[_0x538887(0x218)](),_0x49ca11=this[_0x538887(0x2e8)][_0x538887(0x2ae)](_0x145f93);_0x49ca11&&(_0x49ca11[_0x538887(0x1d9)](),this[_0x538887(0x2e8)]['delete'](_0x145f93));});}async[_0x30d3e3(0x2eb)](_0x2928af){const _0x2d7bcb=_0x30d3e3,_0x59c7e4=await this[_0x2d7bcb(0x3ca)][_0x2d7bcb(0x32a)](_0x2928af),_0x320c09=this[_0x2d7bcb(0x33f)][_0x2d7bcb(0x398)](_0x2ad847,_0x2928af,_0x59c7e4);return _0x320c09[_0x2d7bcb(0x27a)](),_0x320c09;}async[_0x30d3e3(0x2e2)](_0x408f70){const _0x916fbd=_0x30d3e3,_0x357b8f=await this['_collabSessionService'][_0x916fbd(0x32a)](_0x408f70),_0x3ff421=this['_injector'][_0x916fbd(0x398)](_0x1db785,_0x408f70,_0x357b8f);return _0x3ff421[_0x916fbd(0x27a)](),_0x3ff421;}};_0x424389=_0x27777b([_0x22903b(0x0,_0x37798d[_0x30d3e3(0x39c)]),_0x22903b(0x1,_0x37798d['Inject'](_0x37798d[_0x30d3e3(0x3cc)])),_0x22903b(0x2,_0x37798d[_0x30d3e3(0x330)](_0x345c38[_0x30d3e3(0x221)]))],_0x424389);const _0x5c3030=0x14,_0x604395=0xc8,_0x31c90f=0x4,_0x5f51cb=0x5;function _0x296715(_0x1974f0,_0x1b6a10){const _0x22448e=_0x30d3e3;let {radius:_0x484cef,width:_0x37043f,height:_0x271f5b}=_0x1b6a10;_0x484cef=_0x484cef!=null?_0x484cef:0x0,_0x37043f=_0x37043f!=null?_0x37043f:0x1e,_0x271f5b=_0x271f5b!=null?_0x271f5b:0x1e;let _0x199e19=0x0,_0xd80cbc=0x0,_0x32664a=0x0;_0x199e19=_0xd80cbc=_0x32664a=Math[_0x22448e(0x23f)](_0x484cef,_0x37043f/0x2,_0x271f5b/0x2),_0x1974f0[_0x22448e(0x2ba)](),_0x1974f0[_0x22448e(0x165)](_0x199e19,0x0),_0x1974f0[_0x22448e(0x2f5)](_0x37043f-_0xd80cbc,0x0),_0x1974f0[_0x22448e(0x18e)](_0x37043f-_0xd80cbc,_0xd80cbc,_0xd80cbc,Math['PI']*0x3/0x2,0x0,!0x1),_0x1974f0[_0x22448e(0x2f5)](_0x37043f,_0x271f5b-_0x32664a),_0x1974f0[_0x22448e(0x18e)](_0x37043f-_0x32664a,_0x271f5b-_0x32664a,_0x32664a,0x0,Math['PI']/0x2,!0x1),_0x1974f0[_0x22448e(0x2f5)](0x0,_0x271f5b),_0x1974f0[_0x22448e(0x2f5)](0x0,_0x199e19),_0x1974f0['arc'](_0x199e19,_0x199e19,_0x199e19,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1974f0[_0x22448e(0x3dc)](),_0x1b6a10[_0x22448e(0x328)]&&(_0x1974f0[_0x22448e(0x174)](),_0x1974f0['fillStyle']=_0x1b6a10[_0x22448e(0x328)],_0x1b6a10[_0x22448e(0x2cc)]===_0x22448e(0x278)?_0x1974f0[_0x22448e(0x328)](_0x22448e(0x278)):_0x1974f0[_0x22448e(0x328)](),_0x1974f0['restore']());}class _0x4624be extends _0x48613e[_0x30d3e3(0x2c4)]{constructor(_0x54b5df,_0x1cace0){const _0x164502=_0x30d3e3;super(_0x54b5df,_0x1cace0),_0x2fbdf1(this,_0x164502(0x2ee)),_0x2fbdf1(this,_0x164502(0x351)),(this[_0x164502(0x2ee)]=_0x1cace0==null?void 0x0:_0x1cace0[_0x164502(0x2ee)],this[_0x164502(0x351)]=_0x1cace0==null?void 0x0:_0x1cace0[_0x164502(0x351)]);}static[_0x30d3e3(0x16a)](_0x6b74b6,_0x371be0){const _0x4caeb0=_0x30d3e3,{text:_0x18d128,color:_0x7cbdff}=_0x371be0;_0x6b74b6[_0x4caeb0(0x174)](),_0x6b74b6[_0x4caeb0(0x2c2)]=_0x4caeb0(0x2a7);const _0x517537=_0x6b74b6['measureText'](_0x18d128)[_0x4caeb0(0x375)],_0x59f7df=Math[_0x4caeb0(0x23f)](_0x517537+0x2*_0x31c90f,_0x604395);_0x296715(_0x6b74b6,{'height':_0x5c3030,'radius':0x4,'width':_0x59f7df,'fill':_0x7cbdff}),_0x6b74b6['fillStyle']=_0x4caeb0(0x2a0);const _0x4c5d7c=_0x31c90f,_0x8dbd94=_0x5c3030-_0x5f51cb,_0x474fe8=_0x604395-0x2*_0x31c90f;if(_0x517537>_0x474fe8){let _0x2bef6a='',_0x4f6f1d=0x0;for(const _0x47b2de of _0x18d128){const _0x8befe8=_0x6b74b6[_0x4caeb0(0x290)](_0x47b2de)[_0x4caeb0(0x375)];if(_0x4f6f1d+_0x8befe8<=_0x474fe8-_0x6b74b6[_0x4caeb0(0x290)](_0x4caeb0(0x27b))[_0x4caeb0(0x375)])_0x2bef6a+=_0x47b2de,_0x4f6f1d+=_0x8befe8;else{_0x2bef6a+=_0x4caeb0(0x27b);break;}}_0x6b74b6[_0x4caeb0(0x188)](_0x2bef6a,_0x4c5d7c,_0x8dbd94);}else _0x6b74b6[_0x4caeb0(0x188)](_0x18d128,_0x4c5d7c,_0x8dbd94);_0x6b74b6[_0x4caeb0(0x36b)]();}[_0x30d3e3(0x37d)](_0x5f2d4c){const _0x243756=_0x30d3e3;_0x4624be[_0x243756(0x16a)](_0x5f2d4c,this);}}const _0x480156=_0x30d3e3(0x1e5),_0xee36c7=_0x30d3e3(0x313),_0x404be0=_0x30d3e3(0x2f1),_0x267543=0x6,_0x21546d=1.5,_0x3f4dbe=0x4,_0x5f3a13=1.5,_0x101626=_0x30d3e3(0x154);class _0x471153{constructor(_0x3cfdbf,_0x5479bb,_0x579350,_0x35764b){const _0x408c0e=_0x30d3e3;_0x2fbdf1(this,_0x408c0e(0x34e),[]),_0x2fbdf1(this,_0x408c0e(0x244),null),_0x2fbdf1(this,_0x408c0e(0x256),null),_0x2fbdf1(this,'_anchorDot',null),_0x2fbdf1(this,_0x408c0e(0x30e),null),_0x2fbdf1(this,_0x408c0e(0x31f),null),(this[_0x408c0e(0x1ab)]=_0x3cfdbf,this[_0x408c0e(0x2fa)]=_0x5479bb,this[_0x408c0e(0x1b4)]=_0x579350,this[_0x408c0e(0x1c8)]=_0x35764b,this[_0x408c0e(0x2a5)]());}set[_0x30d3e3(0x352)](_0x4a4384){const _0x47145a=_0x30d3e3;_0x4a4384?(this['_anchorDot']&&this['_anchorDot'][_0x47145a(0x3a0)](),this[_0x47145a(0x256)]&&this[_0x47145a(0x256)]['show']()):(this[_0x47145a(0x302)]&&this[_0x47145a(0x302)]['show'](),this['_textBubble']&&this[_0x47145a(0x256)][_0x47145a(0x3a0)]());}['dispose'](){const _0x2b5817=_0x30d3e3;for(const _0x3eefa2 of this['_shapes'])_0x3eefa2[_0x2b5817(0x1d9)]();this['_textBubble']&&this[_0x2b5817(0x256)][_0x2b5817(0x1d9)](),this['_anchorDot']&&this['_anchorDot'][_0x2b5817(0x1d9)](),this[_0x2b5817(0x244)]&&this['_anchor'][_0x2b5817(0x1d9)](),this[_0x2b5817(0x31f)]&&this[_0x2b5817(0x31f)]();}[_0x30d3e3(0x2a5)](){const _0x1c9bd4=_0x30d3e3;var _0x3b7359;const {_docSkeleton:_0x27ce8c,_document:_0x431f41}=this,{color:_0xc52ab8,name:_0x1ba64e,ranges:_0x2a7797}=this['_cursor'],_0xfb8d20=_0x431f41['getOffsetConfig'](),{docsLeft:_0x1d4048,docsTop:_0x597cea}=_0xfb8d20,_0x11a60b=new _0x3836dd[(_0x1c9bd4(0x34f))](_0xfb8d20,_0x27ce8c);for(const {startOffset:_0x154ccb,endOffset:_0x17a0e3,rangeType:_0x3fe646,segmentId:_0x24393b,segmentPage:_0x30b257,collapsed:_0x333ecf,isActive:_0x3af712}of _0x2a7797){const _0x29395d=_0x27ce8c['findNodePositionByCharIndex'](_0x154ccb,!0x0,_0x24393b,_0x30b257);let _0x1c021a=_0x27ce8c[_0x1c9bd4(0x26b)](_0x17a0e3,!0x0,_0x24393b,_0x30b257);if(_0x1c021a==null&&(_0x1c021a=_0x27ce8c[_0x1c9bd4(0x26b)](_0x17a0e3-0x1,!0x1,_0x24393b,_0x30b257)),_0x3af712){const {contentBoxPointGroup:_0x52d3a3}=_0x11a60b[_0x1c9bd4(0x18a)](_0x1c021a,_0x1c021a);if(_0x52d3a3[_0x1c9bd4(0x3ae)]===0x0)continue;this[_0x1c9bd4(0x2fe)](_0xc52ab8,_0x52d3a3,_0x1d4048,_0x597cea,_0x1ba64e),this['_eventUnsubscribe']=this[_0x1c9bd4(0x1dd)]();}if(_0x29395d&&_0x1c021a){if(_0x3fe646===_0x37798d[_0x1c9bd4(0x2e4)][_0x1c9bd4(0x2d3)]){const _0x3773e6=new _0x3836dd['NodePositionConvertToRectRange'](_0xfb8d20,_0x27ce8c),{pointGroup:_0x4eb8bc}=(_0x3b7359=_0x3773e6['getRangePointData'](_0x29395d,_0x1c021a))!=null?_0x3b7359:{};if(_0x4eb8bc==null||_0x4eb8bc[_0x1c9bd4(0x3ae)]===0x0)continue;this[_0x1c9bd4(0x248)](_0xc52ab8,_0x4eb8bc,_0x1d4048,_0x597cea);}else{if(!_0x333ecf){const {borderBoxPointGroup:_0x163e10}=_0x11a60b[_0x1c9bd4(0x18a)](_0x29395d,_0x1c021a);if(_0x163e10['length']===0x0)continue;this['_drawTextRange'](_0xc52ab8,_0x163e10,_0x1d4048,_0x597cea);}}}}}[_0x30d3e3(0x2fe)](_0x3d07a8,_0x151cd8,_0x463e43,_0x66f482,_0x4d0030){const _0x549c6d=_0x30d3e3,_0x33f0fd=this[_0x549c6d(0x321)](_0x151cd8),{left:_0x23f6e5,top:_0x2ca100,height:_0x5c25bd}=_0x33f0fd,_0x2c8104=this['_getScale'](),_0x9716ba=_0x5f3a13/_0x2c8104,_0xc9da0d=new _0x48613e[(_0x549c6d(0x34a))](_0x480156+_0x37798d['Tools'][_0x549c6d(0x26e)](_0x267543),{'left':_0x23f6e5+_0x463e43-_0x9716ba,'top':_0x2ca100+_0x66f482,'height':_0x5c25bd,'width':_0x21546d,'fill':_0x3d07a8||_0x48613e['getColor'](_0x37798d[_0x549c6d(0x2d2)][_0x549c6d(0x20a)],0x0),'strokeWidth':_0x9716ba,'stroke':_0x101626,'evented':!0x0});this[_0x549c6d(0x244)]=_0xc9da0d,this[_0x549c6d(0x2fa)][_0x549c6d(0x36a)](_0xc9da0d,_0x3836dd['TEXT_RANGE_LAYER_INDEX']);const _0x21ab3e=new _0x48613e[(_0x549c6d(0x34a))](_0x480156+_0x37798d[_0x549c6d(0x21c)][_0x549c6d(0x26e)](_0x267543),{'left':_0x23f6e5+_0x463e43-_0x9716ba,'top':_0x2ca100+_0x66f482-_0x3f4dbe/0x2,'height':_0x3f4dbe,'width':_0x3f4dbe,'fill':_0x3d07a8||_0x48613e[_0x549c6d(0x195)](_0x37798d[_0x549c6d(0x2d2)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x3d07a8||_0x48613e[_0x549c6d(0x195)](_0x37798d[_0x549c6d(0x2d2)][_0x549c6d(0x20a)],0x0),'evented':!0x1});this['_anchorDot']=_0x21ab3e,this[_0x549c6d(0x2fa)][_0x549c6d(0x36a)](_0x21ab3e,_0x3836dd[_0x549c6d(0x23e)]);const _0x1e160b=new _0x4624be(_0x480156+_0x37798d[_0x549c6d(0x21c)][_0x549c6d(0x26e)](_0x267543),{'left':_0x23f6e5+_0x463e43-_0x9716ba,'top':_0x2ca100+_0x66f482-_0x5c3030,'text':_0x4d0030,'color':_0x3d07a8});this[_0x549c6d(0x256)]=_0x1e160b,this[_0x549c6d(0x2fa)]['addObject'](_0x1e160b,_0x3836dd['TEXT_RANGE_LAYER_INDEX']),this[_0x549c6d(0x352)]=!0x1;}[_0x30d3e3(0x1dd)](){const _0x21e623=_0x30d3e3,_0x34c36b=this['_anchor'][_0x21e623(0x2ab)][_0x21e623(0x3be)](()=>{const _0x29eab3=_0x21e623;this[_0x29eab3(0x352)]=!0x0;}),_0x3f1219=this['_anchor'][_0x21e623(0x269)][_0x21e623(0x3be)](()=>{const _0x1747c1=_0x21e623;this[_0x1747c1(0x30e)]&&clearTimeout(this[_0x1747c1(0x30e)]),this[_0x1747c1(0x30e)]=setTimeout(()=>{const _0x3f97f9=_0x1747c1;this[_0x3f97f9(0x352)]=!0x1;},0x7d0);});return()=>{const _0x12946b=_0x21e623;_0x34c36b['unsubscribe'](),_0x3f1219[_0x12946b(0x1ea)]();};}[_0x30d3e3(0x320)](_0x40105d,_0x218c08,_0x5ad29b,_0x462a48){const _0x1494f6=_0x30d3e3,_0x2cb3d5=new _0x37798d[(_0x1494f6(0x3bd))](_0x40105d)[_0x1494f6(0x24f)](0.2)['toRgbString'](),_0x310e4d=new _0x48613e[(_0x1494f6(0x354))](_0xee36c7+_0x37798d[_0x1494f6(0x21c)][_0x1494f6(0x26e)](_0x267543),{'pointsGroup':_0x218c08,'fill':_0x2cb3d5||_0x48613e[_0x1494f6(0x195)](_0x37798d[_0x1494f6(0x2d2)][_0x1494f6(0x20a)],0.2),'left':_0x5ad29b,'top':_0x462a48,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1494f6(0x34e)][_0x1494f6(0x24c)](_0x310e4d),this[_0x1494f6(0x2fa)][_0x1494f6(0x36a)](_0x310e4d,_0x3836dd[_0x1494f6(0x23e)]);}[_0x30d3e3(0x248)](_0x32bece,_0x5d494a,_0x5a7779,_0x3313c1){const _0x4dc5d1=_0x30d3e3,_0x5b0c25=new _0x37798d[(_0x4dc5d1(0x3bd))](_0x32bece)[_0x4dc5d1(0x24f)](0.2)[_0x4dc5d1(0x19b)](),_0xf22db0=new _0x48613e[(_0x4dc5d1(0x354))](_0x404be0+_0x37798d[_0x4dc5d1(0x21c)][_0x4dc5d1(0x26e)](_0x267543),{'pointsGroup':_0x5d494a,'fill':_0x5b0c25||_0x48613e[_0x4dc5d1(0x195)](_0x37798d[_0x4dc5d1(0x2d2)][_0x4dc5d1(0x20a)],0.2),'left':_0x5a7779,'top':_0x3313c1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dc5d1(0x34e)][_0x4dc5d1(0x24c)](_0xf22db0),this['_scene'][_0x4dc5d1(0x36a)](_0xf22db0,_0x3836dd['TEXT_RANGE_LAYER_INDEX']);}[_0x30d3e3(0x321)](_0x223e1e){const _0xb9753b=_0x223e1e[0x0],_0x654bea=_0xb9753b[0x0],_0x31fc24=_0xb9753b[0x2],{x:_0x25c80f,y:_0x41062b}=_0x654bea,{x:_0x230c48,y:_0x1fa878}=_0x31fc24;return{'left':_0x25c80f,'top':_0x41062b,'width':_0x230c48-_0x25c80f,'height':_0x1fa878-_0x41062b};}['_getScale'](){const _0x33e634=_0x30d3e3,{scaleX:_0x4fe8bd,scaleY:_0x1fc5f7}=this[_0x33e634(0x2fa)][_0x33e634(0x3ce)]();return Math[_0x33e634(0x22a)](_0x4fe8bd,_0x1fc5f7);}}var _0xcf96f4=Object[_0x30d3e3(0x303)],_0x5d7467=(_0xb54f10,_0x48aba7,_0x27d57f,_0x2cacec)=>{const _0x5f3057=_0x30d3e3;for(var _0x40d2f6=_0x2cacec>0x1?void 0x0:_0x2cacec?_0xcf96f4(_0x48aba7,_0x27d57f):_0x48aba7,_0x2bbf36=_0xb54f10[_0x5f3057(0x3ae)]-0x1,_0xbfe324;_0x2bbf36>=0x0;_0x2bbf36--)(_0xbfe324=_0xb54f10[_0x2bbf36])&&(_0x40d2f6=_0xbfe324(_0x40d2f6)||_0x40d2f6);return _0x40d2f6;},_0x3f7253=(_0xadd87e,_0x335b21)=>(_0xc420e8,_0x39556d)=>_0x335b21(_0xc420e8,_0x39556d,_0xadd87e);let _0x421730=class extends _0x37798d['RxDisposable']{constructor(_0x19f0ee,_0x2915b8,_0x30642a,_0x168d55,_0x4e8ff8){const _0x207631=_0x30d3e3;super(),_0x2fbdf1(this,_0x207631(0x296),[]),_0x2fbdf1(this,_0x207631(0x34d),[]),(this[_0x207631(0x16d)]=_0x19f0ee,this['_docSkeletonManagerService']=_0x2915b8,this[_0x207631(0x1c3)]=_0x30642a,this[_0x207631(0x2e6)]=_0x168d55,this['_themeService']=_0x4e8ff8,this[_0x207631(0x1a6)]());}[_0x30d3e3(0x1a6)](){const _0x4e67f3=_0x30d3e3,_0x27d8bb=this[_0x4e67f3(0x16d)][_0x4e67f3(0x225)],_0x26b041=this['_docSkeletonManagerService'];this[_0x4e67f3(0x23d)](_0x50346e['combineLatest']([this[_0x4e67f3(0x1c3)][_0x4e67f3(0x3e7)](_0x27d8bb),this[_0x4e67f3(0x3aa)]['currentTheme$']])[_0x4e67f3(0x2ea)](_0x238528['map'](([_0x37661a,_0x24cb8e])=>({'skeleton':_0x26b041[_0x4e67f3(0x159)](),'cursors':[..._0x37661a['values']()][_0x4e67f3(0x200)](_0x4b4350=>({..._0x4b4350,'color':this['_themeService']['getColorFromTheme'](_0x4b4350[_0x4e67f3(0x2ee)])}))})))[_0x4e67f3(0x3a7)](_0x1b2495=>{const _0x35c386=_0x4e67f3;if(this[_0x35c386(0x318)](),_0x1b2495){const {skeleton:_0x4432ad,cursors:_0x5ba0aa}=_0x1b2495;this[_0x35c386(0x35b)](_0x4432ad,_0x5ba0aa);}})),this[_0x4e67f3(0x1e6)](),this[_0x4e67f3(0x1d3)]();}[_0x30d3e3(0x35b)](_0x29c4c8,_0x2dd34f){const _0x44fa8a=_0x30d3e3,{scene:_0x331ee3,mainComponent:_0x519139}=this['_context'],_0x50f6aa=_0x2dd34f[_0x44fa8a(0x276)](_0x5b5a90=>new _0x471153(_0x5b5a90,_0x331ee3,_0x29c4c8,_0x519139));this[_0x44fa8a(0x296)]=_0x50f6aa,this[_0x44fa8a(0x34d)]=_0x2dd34f;}[_0x30d3e3(0x2a1)](){const _0x323314=_0x30d3e3;this['_removeCollabCursors']();const {scene:_0x2829ff,mainComponent:_0x258272}=this[_0x323314(0x16d)],_0xd4d1d1=this['_docSkeletonManagerService'][_0x323314(0x159)](),_0x26cb96=this[_0x323314(0x34d)][_0x323314(0x276)](_0x271ae0=>new _0x471153(_0x271ae0,_0x2829ff,_0xd4d1d1,_0x258272));this[_0x323314(0x296)]=_0x26cb96;}['_removeCollabCursors'](){const _0x13ec2c=_0x30d3e3;this[_0x13ec2c(0x296)][_0x13ec2c(0x335)](_0x3fd375=>_0x3fd375[_0x13ec2c(0x1d9)]()),this[_0x13ec2c(0x296)]=[];}[_0x30d3e3(0x1d3)](){const _0x10dc81=_0x30d3e3,_0x46d3f8=[_0x3836dd[_0x10dc81(0x1b1)]['id']];this['disposeWithMe'](this[_0x10dc81(0x2e6)]['onCommandExecuted'](_0x4d7ac9=>{const _0xd268f=_0x10dc81;_0x46d3f8[_0xd268f(0x190)](_0x4d7ac9['id'])&&_0x4d7ac9['params'][_0xd268f(0x225)]===this[_0xd268f(0x16d)]['unitId']&&this[_0xd268f(0x2a1)]();}));}[_0x30d3e3(0x1e6)](){const _0x652a5b=_0x30d3e3;this[_0x652a5b(0x23d)](_0x37798d[_0x652a5b(0x272)](this['_context'][_0x652a5b(0x3e9)]['onTransformChange$'])['pipe'](_0x238528[_0x652a5b(0x17a)](_0x5dcaaa=>_0x5dcaaa[_0x652a5b(0x23a)]===_0x48613e[_0x652a5b(0x19d)][_0x652a5b(0x2b8)]),_0x238528[_0x652a5b(0x199)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x421730=_0x5d7467([_0x3f7253(0x1,_0x37798d[_0x30d3e3(0x330)](_0x3c51b7[_0x30d3e3(0x3d7)])),_0x3f7253(0x2,_0x37798d['Inject'](_0x424389)),_0x3f7253(0x3,_0x37798d[_0x30d3e3(0x1c4)]),_0x3f7253(0x4,_0x37798d[_0x30d3e3(0x330)](_0x37798d[_0x30d3e3(0x25f)]))],_0x421730);const _0x5a3b5f=0x1,_0x8fe82a=1.5;class _0x1e39e2 extends _0x48613e[_0x30d3e3(0x2c4)]{constructor(_0x36820e,_0x89e8c3){const _0x28080c=_0x30d3e3;super(_0x36820e,_0x89e8c3),_0x2fbdf1(this,_0x28080c(0x215)),_0x2fbdf1(this,'_hovered',!0x1),_0x2fbdf1(this,_0x28080c(0x15c)),_0x2fbdf1(this,_0x28080c(0x1ba),''),_0x2fbdf1(this,_0x28080c(0x27d),'top'),_0x2fbdf1(this,_0x28080c(0x325)),(_0x89e8c3&&this['setShapeProps'](_0x89e8c3),this[_0x28080c(0x2ab)][_0x28080c(0x3be)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x28080c(0x269)][_0x28080c(0x3be)](()=>this[_0x28080c(0x3db)]({'hovered':!0x1})));}[_0x30d3e3(0x3db)](_0x417773){const _0x596d42=_0x30d3e3;var _0xbff95b,_0x502ef6,_0x3e9f01,_0x211d11,_0x55590b,_0x352661;this['_color']=(_0xbff95b=_0x417773[_0x596d42(0x2ee)])!=null?_0xbff95b:this[_0x596d42(0x215)],this[_0x596d42(0x2b9)]=(_0x502ef6=_0x417773['hovered'])!=null?_0x502ef6:this[_0x596d42(0x2b9)],this[_0x596d42(0x15c)]=(_0x3e9f01=_0x417773[_0x596d42(0x1f1)])!=null?_0x3e9f01:this[_0x596d42(0x15c)],this[_0x596d42(0x1ba)]=(_0x211d11=_0x417773[_0x596d42(0x379)])!=null?_0x211d11:this[_0x596d42(0x1ba)],this['_labelPosition']=(_0x55590b=_0x417773[_0x596d42(0x3bb)])!=null?_0x55590b:this[_0x596d42(0x27d)],this[_0x596d42(0x325)]=(_0x352661=_0x417773[_0x596d42(0x29d)])!=null?_0x352661:this[_0x596d42(0x325)],this['transformByState']({'width':_0x417773['width'],'height':_0x417773[_0x596d42(0x163)]});}[_0x30d3e3(0x277)](_0x5b099b){const _0x321d51=_0x30d3e3,{row:_0x2bc172,column:_0x596b0b}=_0x5b099b;if(_0x2bc172>=this[_0x321d51(0x15c)][_0x321d51(0x3d5)]&&_0x2bc172<=this[_0x321d51(0x15c)][_0x321d51(0x3ef)]&&_0x596b0b>=this['_range'][_0x321d51(0x164)]&&_0x596b0b<=this[_0x321d51(0x15c)][_0x321d51(0x167)]){this[_0x321d51(0x3db)]({'hovered':!0x0});return;}this[_0x321d51(0x3db)]({'hovered':!0x1});}[_0x30d3e3(0x16b)](_0x223d29){return!0x1;}[_0x30d3e3(0x37d)](_0x99a68c){const _0x4c0304=_0x30d3e3;_0x48613e[_0x4c0304(0x34a)][_0x4c0304(0x16a)](_0x99a68c,{'width':this[_0x4c0304(0x375)],'height':this[_0x4c0304(0x163)],'strokeWidth':_0x8fe82a,'stroke':this[_0x4c0304(0x215)],'evented':!0x1,'fill':this[_0x4c0304(0x325)]}),this['_hovered']&&(_0x99a68c[_0x4c0304(0x174)](),_0x99a68c['transform'](0x1,0x0,0x0,0x1,this[_0x4c0304(0x375)],this[_0x4c0304(0x27d)]===_0x4c0304(0x1c0)?0x0:-0x14),_0x4624be['drawWith'](_0x99a68c,{'text':this['_name'],'color':this[_0x4c0304(0x215)]}),_0x99a68c[_0x4c0304(0x36b)]());}}var _0x26fc2e=Object[_0x30d3e3(0x303)],_0x1a98df=(_0x1416e0,_0x278b62,_0x3ffd8b,_0x1583e9)=>{for(var _0x42da25=_0x1583e9>0x1?void 0x0:_0x1583e9?_0x26fc2e(_0x278b62,_0x3ffd8b):_0x278b62,_0x358dc7=_0x1416e0['length']-0x1,_0x4e25d7;_0x358dc7>=0x0;_0x358dc7--)(_0x4e25d7=_0x1416e0[_0x358dc7])&&(_0x42da25=_0x4e25d7(_0x42da25)||_0x42da25);return _0x42da25;},_0x35e2e4=(_0x108ffb,_0xebf304)=>(_0x5d7c4e,_0x39b6c2)=>_0xebf304(_0x5d7c4e,_0x39b6c2,_0x108ffb);const _0x3f2107=0x1389;let _0x577f79=class extends _0x37798d[_0x30d3e3(0x39e)]{constructor(_0x332533,_0x5b7ff2,_0x5c18ae,_0x32edd0){const _0x191c8a=_0x30d3e3;super(),_0x2fbdf1(this,_0x191c8a(0x34d),new Set()),_0x2fbdf1(this,_0x191c8a(0x3ac),null),(this[_0x191c8a(0x16d)]=_0x332533,this['_sheetSkeletonManagerService']=_0x5b7ff2,this[_0x191c8a(0x1c3)]=_0x5c18ae,this[_0x191c8a(0x3aa)]=_0x32edd0,this[_0x191c8a(0x1a6)]());}[_0x30d3e3(0x1a6)](){const _0x4c5c6c=_0x30d3e3;this['_sheetSkeletonManagerService'][_0x4c5c6c(0x3a2)][_0x4c5c6c(0x2ea)](_0x238528[_0x4c5c6c(0x283)](this[_0x4c5c6c(0x2ca)]),_0x238528[_0x4c5c6c(0x19e)](_0x2a53d1=>{const _0x47dc5e=_0x4c5c6c;if(_0x2a53d1){const _0x359ba6=_0x2a53d1[_0x47dc5e(0x1a9)];return _0x50346e[_0x47dc5e(0x16f)](this[_0x47dc5e(0x1c3)]['getCollabCursors$'](this[_0x47dc5e(0x16d)]['unitId']),this[_0x47dc5e(0x3aa)][_0x47dc5e(0x301)])[_0x47dc5e(0x2ea)](_0x238528[_0x47dc5e(0x276)](([_0x147230,_0x50f6ca])=>{const _0x57045a=_0x47dc5e,_0x4ff433=new Map();return _0x147230[_0x57045a(0x335)]((_0x120bf2,_0x53c096)=>{const _0x248516=_0x57045a;if(_0x120bf2[_0x248516(0x1cd)]===_0x359ba6){const _0x36d632={..._0x120bf2};_0x36d632['color']=this[_0x248516(0x3aa)]['getColorFromTheme'](_0x120bf2[_0x248516(0x2ee)]),_0x4ff433[_0x248516(0x157)](_0x53c096,_0x36d632);}}),{'skeleton':_0x2a53d1,'cursors':_0x4ff433};}));}return _0x50346e['of']({'skeleton':null,'cursors':new Map()});}))[_0x4c5c6c(0x3a7)](({skeleton:_0x586909,cursors:_0xef2406})=>{const _0x28d396=_0x4c5c6c;this['_removeCollabCursors'](),_0x586909&&this[_0x28d396(0x35b)](_0x586909,_0xef2406);}),this[_0x4c5c6c(0x1d4)][_0x4c5c6c(0x3a2)]['subscribe'](_0x4bc3f2=>{const _0x20d4f1=_0x4c5c6c;if(_0x4bc3f2==null)return;const {skeleton:_0x110a38}=_0x4bc3f2,{scene:_0x448897}=this['_context'];_0x448897[_0x20d4f1(0x26c)][_0x20d4f1(0x3be)](_0x37798d['debounce'](_0x1177ba=>{const _0x48d5a5=_0x20d4f1;var _0x556b56,_0x45a9b9;const {offsetX:_0x2ad9b5,offsetY:_0x355836}=_0x1177ba,{x:_0x1c0eb1,y:_0x1a0470}=_0x448897[_0x48d5a5(0x263)](_0x48613e[_0x48d5a5(0x282)][_0x48d5a5(0x27e)]([_0x2ad9b5,_0x355836])),{scaleX:_0x439333,scaleY:_0x4cc460}=_0x448897[_0x48d5a5(0x3ce)](),_0x2cc315=_0x448897[_0x48d5a5(0x1d7)](_0x48613e[_0x48d5a5(0x2a8)][_0x48d5a5(0x2e5)]),_0x5d7f3d=_0x448897[_0x48d5a5(0x219)](_0x48613e[_0x48d5a5(0x282)][_0x48d5a5(0x27e)]([_0x1c0eb1,_0x1a0470]),_0x2cc315),_0x4c1503=_0x110a38[_0x48d5a5(0x289)](_0x2ad9b5,_0x355836,_0x439333,_0x4cc460,_0x5d7f3d);((_0x556b56=this[_0x48d5a5(0x3ac)])==null?void 0x0:_0x556b56[_0x48d5a5(0x1bf)])===_0x4c1503[_0x48d5a5(0x1bf)]&&((_0x45a9b9=this[_0x48d5a5(0x3ac)])==null?void 0x0:_0x45a9b9[_0x48d5a5(0x3de)])===_0x4c1503['row']||this[_0x48d5a5(0x34d)][_0x48d5a5(0x335)](_0x58d3a1=>{_0x58d3a1['onMouseMove'](_0x4c1503);});},0x64));});}[_0x30d3e3(0x35b)](_0x3109e0,_0x594d82){const _0x588f40=_0x30d3e3;var _0x1c5162;const _0x388e2f=(_0x1c5162=this[_0x588f40(0x1d4)][_0x588f40(0x216)]())==null?void 0x0:_0x1c5162['skeleton'];if(!_0x388e2f)return;const _0x2383fd=this[_0x588f40(0x3d9)]();if(!_0x2383fd)return;this['_cursors'][_0x588f40(0x335)](_0x5bb17a=>{_0x5bb17a['makeDirty']();});const {scene:_0x37c57f}=_0x2383fd,_0x881c15=_0x3697e9(Array[_0x588f40(0x3d4)](_0x594d82['values']()))[_0x588f40(0x276)](_0x3d5f3f=>{const _0x24d47c=_0x588f40,{color:_0x2ac791,range:_0x2bb535,name:_0x1ddff0,selection:_0x514047,sheetID:_0x1b9e22}=_0x3d5f3f,{startColumn:_0x35fa85,startRow:_0x34e8f9,endColumn:_0x137ef2,endRow:_0x48c678}=_0x2bb535,_0x2abd90=_0x33c6ab['getCoordByCell'](_0x34e8f9,_0x35fa85,_0x37c57f,_0x388e2f),_0xb6f276=_0x33c6ab[_0x24d47c(0x372)](_0x48c678,_0x137ef2,_0x37c57f,_0x388e2f),{columnHeaderHeightAndMarginTop:_0x32d218}=_0x388e2f,{startX:_0xabc76c,startY:_0x5c11f0}=_0x2abd90,{endX:_0x4c5396,endY:_0x22ab35}=_0xb6f276,_0x1355ac=_0x4c5396-_0xabc76c,_0x1b867f=_0x22ab35-_0x5c11f0,_0x3e6677={'labelPosition':_0x5c11f0-_0x32d218>=_0x5c3030?_0x24d47c(0x341):_0x24d47c(0x1c0),'sheetID':_0x1b9e22,'range':_0x2bb535,'color':_0x2ac791,'name':_0x1ddff0,'selection':_0x514047,'left':_0xabc76c,'top':_0x5c11f0,'width':_0x1355ac,'height':_0x1b867f,'evented':!0x1,'zIndex':_0x3f2107};return new _0x1e39e2(_0x1ddff0,_0x3e6677);});_0x37c57f['addObjects'](_0x881c15,_0x5a3b5f),this[_0x588f40(0x34d)]=new Set(_0x881c15);}[_0x30d3e3(0x318)](){const _0x5a17cf=_0x30d3e3;var _0x15153d;(_0x15153d=this[_0x5a17cf(0x34d)])==null||_0x15153d[_0x5a17cf(0x335)](_0x3f1427=>_0x3f1427[_0x5a17cf(0x1d9)]());}['_getSheetObject'](){const _0x3b7211=_0x30d3e3;return _0x33c6ab[_0x3b7211(0x1e3)](this[_0x3b7211(0x16d)]['unit'],this[_0x3b7211(0x16d)]);}};_0x577f79=_0x1a98df([_0x35e2e4(0x1,_0x37798d[_0x30d3e3(0x330)](_0x33c6ab[_0x30d3e3(0x316)])),_0x35e2e4(0x2,_0x37798d[_0x30d3e3(0x330)](_0x424389)),_0x35e2e4(0x3,_0x37798d[_0x30d3e3(0x330)](_0x37798d['ThemeService']))],_0x577f79);function _0x3697e9(_0x100b54){const _0x26dc1b=_0x30d3e3,_0x3fbeb1=new Map();return _0x100b54['forEach'](_0x55ef93=>{const _0x4b00f9=_0x4e31;if(_0x3fbeb1[_0x4b00f9(0x1d8)](_0x55ef93[_0x4b00f9(0x3c4)])){const _0x29e6f7=_0x3fbeb1[_0x4b00f9(0x2ae)](_0x55ef93['selection']);_0x29e6f7[_0x4b00f9(0x379)]+=',\x20'+_0x55ef93[_0x4b00f9(0x379)];}else _0x3fbeb1[_0x4b00f9(0x157)](_0x55ef93[_0x4b00f9(0x3c4)],_0x55ef93);}),Array[_0x26dc1b(0x3d4)](_0x3fbeb1['values']());}var _0x1811d=function(){const _0x33a658=_0x30d3e3;return _0x1811d=Object[_0x33a658(0x204)]||function(_0x5daef4){const _0x35812d=_0x33a658;for(var _0x2ab3f1,_0x72a53d=0x1,_0x1cc41a=arguments['length'];_0x72a53d<_0x1cc41a;_0x72a53d++){_0x2ab3f1=arguments[_0x72a53d];for(var _0x40bfaa in _0x2ab3f1)Object['prototype'][_0x35812d(0x233)]['call'](_0x2ab3f1,_0x40bfaa)&&(_0x5daef4[_0x40bfaa]=_0x2ab3f1[_0x40bfaa]);}return _0x5daef4;},_0x1811d[_0x33a658(0x182)](this,arguments);},_0x7792d4=function(_0x4995f4,_0x52f5c7){const _0x2c614b=_0x30d3e3;var _0x7a05b7={};for(var _0x2420e0 in _0x4995f4)Object[_0x2c614b(0x350)]['hasOwnProperty']['call'](_0x4995f4,_0x2420e0)&&_0x52f5c7['indexOf'](_0x2420e0)<0x0&&(_0x7a05b7[_0x2420e0]=_0x4995f4[_0x2420e0]);if(_0x4995f4!=null&&typeof Object['getOwnPropertySymbols']==_0x2c614b(0x209)){for(var _0x9a4cc=0x0,_0x2420e0=Object[_0x2c614b(0x175)](_0x4995f4);_0x9a4cc<_0x2420e0[_0x2c614b(0x3ae)];_0x9a4cc++)_0x52f5c7[_0x2c614b(0x1be)](_0x2420e0[_0x9a4cc])<0x0&&Object[_0x2c614b(0x350)][_0x2c614b(0x18d)][_0x2c614b(0x1e4)](_0x4995f4,_0x2420e0[_0x9a4cc])&&(_0x7a05b7[_0x2420e0[_0x9a4cc]]=_0x4995f4[_0x2420e0[_0x9a4cc]]);}return _0x7a05b7;},_0x2cf8b7=_0x126b6d[_0x30d3e3(0x392)](function(_0x2f692b,_0x5c5d68){const _0x815c86=_0x30d3e3;var _0x4b90bf=_0x2f692b['icon'],_0xe8d7a0=_0x2f692b['id'],_0x52aa17=_0x2f692b['className'],_0x4082f2=_0x2f692b[_0x815c86(0x36f)],_0x14a679=_0x7792d4(_0x2f692b,['icon','id',_0x815c86(0x228),_0x815c86(0x36f)]),_0x124197=_0x815c86(0x33c)[_0x815c86(0x397)](_0xe8d7a0,'\x20')[_0x815c86(0x397)](_0x52aa17||'')['trim'](),_0x421c3c=_0x126b6d[_0x815c86(0x3f4)]('_'[_0x815c86(0x397)](_0x154925()));return _0xb48074(_0x4b90bf,''['concat'](_0xe8d7a0),{'defIds':_0x4b90bf[_0x815c86(0x388)],'idSuffix':_0x421c3c[_0x815c86(0x153)]},_0x1811d({'ref':_0x5c5d68,'className':_0x124197},_0x14a679),_0x4082f2);});function _0xb48074(_0x253c1e,_0x391b29,_0x14d31b,_0x2de38a,_0xaa0ffa){const _0x549055=_0x30d3e3;return _0x126b6d[_0x549055(0x3f9)](_0x253c1e[_0x549055(0x2fb)],_0x1811d(_0x1811d({'key':_0x391b29},_0x53108c(_0x253c1e,_0x14d31b,_0xaa0ffa)),_0x2de38a),(_0x583f98(_0x253c1e,_0x14d31b)[_0x549055(0x1fd)]||[])[_0x549055(0x276)](function(_0x29a947,_0x4e7c3e){const _0x5c2997=_0x549055;return _0xb48074(_0x29a947,''[_0x5c2997(0x397)](_0x391b29,'-')[_0x5c2997(0x397)](_0x253c1e[_0x5c2997(0x2fb)],'-')[_0x5c2997(0x397)](_0x4e7c3e),_0x14d31b,void 0x0,_0xaa0ffa);}));}function _0x53108c(_0x21bd27,_0x5a6892,_0x2046e2){const _0xe20394=_0x30d3e3;var _0x395c04=_0x1811d({},_0x21bd27[_0xe20394(0x287)]);_0x2046e2!=null&&_0x2046e2[_0xe20394(0x30d)]&&_0x395c04['fill']==='colorChannel1'&&(_0x395c04['fill']=_0x2046e2[_0xe20394(0x30d)]),_0x21bd27[_0xe20394(0x2fb)]===_0xe20394(0x286)&&_0x395c04['id']&&(_0x395c04['id']=_0x395c04['id']+_0x5a6892[_0xe20394(0x366)]),Object[_0xe20394(0x333)](_0x395c04)['forEach'](function(_0x443084){const _0x338d36=_0xe20394;var _0x1e6585=_0x443084[0x0],_0x47c798=_0x443084[0x1];_0x1e6585===_0x338d36(0x286)&&typeof _0x47c798==_0x338d36(0x1af)&&(_0x395c04[_0x1e6585]=_0x47c798[_0x338d36(0x275)](/url\(#(.*)\)/,_0x338d36(0x1ed)[_0x338d36(0x397)](_0x5a6892[_0x338d36(0x366)],')')));});var _0x4f3e94=_0x5a6892['defIds'];return!_0x4f3e94||_0x4f3e94[_0xe20394(0x3ae)]===0x0||(_0x21bd27[_0xe20394(0x2fb)]===_0xe20394(0x2c8)&&_0x395c04[_0xe20394(0x2bd)]&&(_0x395c04[_0xe20394(0x2bd)]=_0x395c04[_0xe20394(0x2bd)]+_0x5a6892[_0xe20394(0x366)]),Object['entries'](_0x395c04)['forEach'](function(_0x43dfb4){const _0x596667=_0xe20394;var _0x11235a=_0x43dfb4[0x0],_0x29ff7a=_0x43dfb4[0x1];typeof _0x29ff7a==_0x596667(0x1af)&&(_0x395c04[_0x11235a]=_0x29ff7a[_0x596667(0x275)](/url\(#(.*)\)/,_0x596667(0x1ed)['concat'](_0x5a6892[_0x596667(0x366)],')')));})),_0x395c04;}function _0x583f98(_0x227770,_0x5ca30e){const _0x43c06e=_0x30d3e3;var _0xd67960,_0xe2fb45=_0x5ca30e['defIds'];return!_0xe2fb45||_0xe2fb45[_0x43c06e(0x3ae)]===0x0?_0x227770:_0x227770[_0x43c06e(0x2fb)]===_0x43c06e(0x37a)&&(!((_0xd67960=_0x227770[_0x43c06e(0x1fd)])===null||_0xd67960===void 0x0)&&_0xd67960[_0x43c06e(0x3ae)])?_0x1811d(_0x1811d({},_0x227770),{'children':_0x227770[_0x43c06e(0x1fd)][_0x43c06e(0x276)](function(_0x339539){const _0x63aa4=_0x43c06e;return typeof _0x339539[_0x63aa4(0x287)]['id']=='string'&&_0xe2fb45&&_0xe2fb45[_0x63aa4(0x190)](_0x339539[_0x63aa4(0x287)]['id'])?_0x1811d(_0x1811d({},_0x339539),{'attrs':_0x1811d(_0x1811d({},_0x339539['attrs']),{'id':_0x339539[_0x63aa4(0x287)]['id']+_0x5ca30e['idSuffix']})}):_0x339539;})}):_0x227770;}function _0x154925(){const _0x3d44cf=_0x30d3e3;return Math[_0x3d44cf(0x300)]()[_0x3d44cf(0x358)](0x24)[_0x3d44cf(0x2ce)](0x2,0x8);}_0x2cf8b7[_0x30d3e3(0x173)]=_0x30d3e3(0x394);var _0x37860a={'tag':_0x30d3e3(0x310),'attrs':{'xmlns':_0x30d3e3(0x2fc),'fill':_0x30d3e3(0x3ad),'viewBox':_0x30d3e3(0x2f7),'width':_0x30d3e3(0x1d2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30d3e3(0x183)},'children':[{'tag':_0x30d3e3(0x247),'attrs':{'stroke':_0x30d3e3(0x1cb),'d':_0x30d3e3(0x378),'strokeLinecap':_0x30d3e3(0x32b),'strokeLinejoin':_0x30d3e3(0x32b),'strokeWidth':1.2}}]},{'tag':_0x30d3e3(0x37a),'attrs':{},'children':[{'tag':_0x30d3e3(0x3f2),'attrs':{'id':_0x30d3e3(0x32c)},'children':[{'tag':_0x30d3e3(0x247),'attrs':{'fill':_0x30d3e3(0x24b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x30d3e3(0x32c)]},_0x53e878=_0x126b6d[_0x30d3e3(0x392)](function(_0x244b56,_0xe6ae1c){const _0x1f1ed9=_0x30d3e3;return _0x126b6d['createElement'](_0x2cf8b7,Object[_0x1f1ed9(0x204)]({},_0x244b56,{'id':_0x1f1ed9(0x1aa),'ref':_0xe6ae1c,'icon':_0x37860a}));});_0x53e878[_0x30d3e3(0x173)]=_0x30d3e3(0x2db);var _0x3fb91c={'tag':_0x30d3e3(0x310),'attrs':{'xmlns':_0x30d3e3(0x2fc),'fill':_0x30d3e3(0x3ad),'viewBox':_0x30d3e3(0x3a8),'width':_0x30d3e3(0x1d2),'height':_0x30d3e3(0x1d2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x30d3e3(0x247),'attrs':{'stroke':_0x30d3e3(0x1cb),'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':_0x30d3e3(0x32b),'strokeLinejoin':_0x30d3e3(0x32b),'strokeWidth':1.2}}]},{'tag':_0x30d3e3(0x37a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x30d3e3(0x382)},'children':[{'tag':_0x30d3e3(0x247),'attrs':{'fill':'white','d':_0x30d3e3(0x280),'transform':_0x30d3e3(0x1a7)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5b2011=_0x126b6d[_0x30d3e3(0x392)](function(_0xf8836c,_0x1f8cd6){const _0x22b94d=_0x30d3e3;return _0x126b6d[_0x22b94d(0x3f9)](_0x2cf8b7,Object[_0x22b94d(0x204)]({},_0xf8836c,{'id':_0x22b94d(0x2e0),'ref':_0x1f8cd6,'icon':_0x3fb91c}));});_0x5b2011['displayName']='OnLineIcon';function _0x35e77d(_0x511175){const _0x437d37=_0x30d3e3;switch(_0x511175){case _0x345c38[_0x437d37(0x1ef)][_0x437d37(0x3c6)]:return _0x437d37(0x3d0);case _0x345c38['CollaborationStatus'][_0x437d37(0x38c)]:return _0x437d37(0x265);case _0x345c38[_0x437d37(0x1ef)][_0x437d37(0x172)]:return _0x437d37(0x359);case _0x345c38['CollaborationStatus'][_0x437d37(0x2aa)]:return _0x437d37(0x16c);case _0x345c38[_0x437d37(0x1ef)]['AWAITING']:case _0x345c38['CollaborationStatus'][_0x437d37(0x336)]:return _0x437d37(0x374);case _0x345c38[_0x437d37(0x1ef)][_0x437d37(0x3c3)]:case _0x345c38[_0x437d37(0x1ef)][_0x437d37(0x38b)]:return'collabStatus.synced';}}function _0x28b20a(_0x2e53f9){const _0x46623d=_0x30d3e3,{status$:_0x431cb2}=_0x2e53f9,_0x40498c=_0x28c025['useObservable'](_0x431cb2,_0x345c38[_0x46623d(0x1ef)][_0x46623d(0x2aa)]),_0x2a44c5=_0x28c025['useDependency'](_0x37798d['LocaleService']),_0x160d86=_0x28c025[_0x46623d(0x3c9)](_0x345c38[_0x46623d(0x221)]),_0x4b46ff=_0x40498c!==_0x345c38['CollaborationStatus']['OFFLINE'],_0x5bf8af=_0x2a44c5['t'](_0x35e77d(_0x40498c)),_0xe69537=_0x4b46ff?_0x4c2415[_0x46623d(0x25c)](_0x5b2011,{}):_0x4c2415['jsx'](_0x53e878,{}),_0x43c477=_0x126b6d[_0x46623d(0x2fd)](()=>{_0x4b46ff||_0x160d86['reconnect']();},[_0x4b46ff,_0x160d86]);function _0x2d1067(){const _0x3058f2=_0x46623d;return _0x4c2415[_0x3058f2(0x29b)](_0x3058f2(0x31c),{'className':_0x3058f2(0x28b),'onClick':_0x43c477,'children':[_0x4c2415[_0x3058f2(0x25c)](_0x3058f2(0x31c),{'className':_0x45a24b[_0x3058f2(0x3ec)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x4b46ff,'univer-text-red-500':!_0x4b46ff}),'children':_0xe69537}),_0x4c2415[_0x3058f2(0x25c)](_0x3058f2(0x31c),{'className':_0x3058f2(0x3d2),'children':_0x5bf8af})]});}return _0x4b46ff?_0x2d1067():_0x4c2415[_0x46623d(0x25c)](_0x45a24b[_0x46623d(0x2ef)],{'title':_0x2a44c5['t'](_0x46623d(0x368)),'children':_0x2d1067()});}var _0x10e4ea=Object['getOwnPropertyDescriptor'],_0x4f02d9=(_0x31fccd,_0x280190,_0x2a0439,_0x53bb93)=>{const _0x25299d=_0x30d3e3;for(var _0x464c78=_0x53bb93>0x1?void 0x0:_0x53bb93?_0x10e4ea(_0x280190,_0x2a0439):_0x280190,_0x1a6f95=_0x31fccd[_0x25299d(0x3ae)]-0x1,_0x220b1c;_0x1a6f95>=0x0;_0x1a6f95--)(_0x220b1c=_0x31fccd[_0x1a6f95])&&(_0x464c78=_0x220b1c(_0x464c78)||_0x464c78);return _0x464c78;},_0x486da5=(_0x48a45a,_0x3f34be)=>(_0x3b85d9,_0x449e6d)=>_0x3f34be(_0x3b85d9,_0x449e6d,_0x48a45a);_0x27a00d[_0x30d3e3(0x20b)]=class extends _0x37798d['Disposable']{constructor(_0x51f911,_0x4a96b9,_0x4179b2,_0x2c6d55){const _0x379531=_0x30d3e3;super(),_0x2fbdf1(this,_0x379531(0x2d0),new _0x50346e['BehaviorSubject'](_0x345c38[_0x379531(0x1ef)][_0x379531(0x2aa)])),(this[_0x379531(0x254)]=_0x51f911,this[_0x379531(0x33f)]=_0x4a96b9,this[_0x379531(0x390)]=_0x4179b2,this['_uiPartsService']=_0x2c6d55,this[_0x379531(0x384)](),this[_0x379531(0x2ed)]());}['_initStatusListener'](){const _0x219f15=_0x30d3e3;this[_0x219f15(0x23d)](this['_univerInstanceService'][_0x219f15(0x3d1)]['pipe'](_0x50346e[_0x219f15(0x19e)](()=>{const _0x1ec47c=_0x219f15,_0xd13afc=this[_0x1ec47c(0x254)][_0x1ec47c(0x25b)]();return _0xd13afc?this[_0x1ec47c(0x390)][_0x1ec47c(0x3c8)](_0xd13afc[_0x1ec47c(0x218)]()):_0x50346e['of'](null);}),_0x50346e[_0x219f15(0x19e)](_0x538c4a=>_0x538c4a?_0x538c4a['status$']:_0x50346e['of'](_0x345c38[_0x219f15(0x1ef)][_0x219f15(0x2aa)])))[_0x219f15(0x3a7)](_0x13ad18=>{const _0x168944=_0x219f15;this[_0x168944(0x2d0)][_0x168944(0x340)](_0x13ad18);}));}['_initStatusComponent'](){const _0x18b57d=_0x30d3e3;this[_0x18b57d(0x23d)](this[_0x18b57d(0x389)][_0x18b57d(0x1b0)](_0x28c025['BuiltInUIPart'][_0x18b57d(0x35a)],()=>_0x28c025['connectInjector'](_0x555aa8({'status$':this[_0x18b57d(0x2d0)][_0x18b57d(0x208)]()}),this[_0x18b57d(0x33f)])));}},_0x27a00d['DesktopCollaborationStatusDisplayController']=_0x4f02d9([_0x486da5(0x0,_0x37798d[_0x30d3e3(0x39c)]),_0x486da5(0x1,_0x37798d[_0x30d3e3(0x330)](_0x37798d['Injector'])),_0x486da5(0x2,_0x37798d[_0x30d3e3(0x330)](_0x345c38[_0x30d3e3(0x2a9)])),_0x486da5(0x3,_0x28c025[_0x30d3e3(0x205)])],_0x27a00d[_0x30d3e3(0x20b)]);function _0x555aa8(_0x1f6298){const {status$:_0x45d046}=_0x1f6298;return function(){const _0x56a1a8=_0x4e31;return _0x4c2415[_0x56a1a8(0x25c)](_0x28b20a,{'status$':_0x45d046});};}var _0x5788c4=Object[_0x30d3e3(0x303)],_0x181768=(_0x2bab0c,_0x134d83,_0x4a0a4c,_0x16b864)=>{const _0x3981a3=_0x30d3e3;for(var _0x32863b=_0x16b864>0x1?void 0x0:_0x16b864?_0x5788c4(_0x134d83,_0x4a0a4c):_0x134d83,_0x18524e=_0x2bab0c[_0x3981a3(0x3ae)]-0x1,_0x229e4f;_0x18524e>=0x0;_0x18524e--)(_0x229e4f=_0x2bab0c[_0x18524e])&&(_0x32863b=_0x229e4f(_0x32863b)||_0x32863b);return _0x32863b;},_0x1dd746=(_0x1c8efc,_0x24c614)=>(_0x28b2b9,_0x4f8098)=>_0x24c614(_0x28b2b9,_0x4f8098,_0x1c8efc);let _0x100bdb=class extends _0x37798d[_0x30d3e3(0x2b3)]{constructor(_0x469823,_0x15e6d0,_0x295146,_0x2bc2d6,_0x1be462,_0x47f312){const _0x200646=_0x30d3e3;super(),this[_0x200646(0x2b1)]=_0x469823,this[_0x200646(0x1df)]=_0x15e6d0,this['_collaborationUIEventService']=_0x295146,this['_messageService']=_0x2bc2d6,this[_0x200646(0x305)]=_0x1be462,this['_localeService']=_0x47f312,this[_0x200646(0x2b4)](),this[_0x200646(0x2f8)]();}[_0x30d3e3(0x2b4)](){const _0x5dd50f=_0x30d3e3;this[_0x5dd50f(0x23d)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1aef7e=_0x5dd50f;if(this[_0x1aef7e(0x1df)][_0x1aef7e(0x1f4)][_0x1aef7e(0x231)])return this[_0x1aef7e(0x2a6)]['t'](_0x1aef7e(0x20f));}));}[_0x30d3e3(0x2f8)](){const _0x1c7d65=_0x30d3e3;this['disposeWithMe'](this['_collaborationUIEventService'][_0x1c7d65(0x2c6)][_0x1c7d65(0x3a7)](_0x4e578b=>{const _0x3afc63=_0x1c7d65;_0x4e578b['id']===_0x345c38[_0x3afc63(0x3eb)][_0x3afc63(0x28d)]&&this[_0x3afc63(0x35c)][_0x3afc63(0x271)]({'type':_0x45a24b[_0x3afc63(0x2c1)][_0x3afc63(0x1c9)],'content':this[_0x3afc63(0x2a6)]['t'](_0x3afc63(0x370))}),_0x4e578b['id']===_0x345c38['CollaborationUIEventId'][_0x3afc63(0x1c1)]&&this[_0x3afc63(0x35c)][_0x3afc63(0x271)]({'type':_0x45a24b[_0x3afc63(0x2c1)][_0x3afc63(0x1c9)],'content':this[_0x3afc63(0x2a6)]['t'](_0x3afc63(0x2d8))}),_0x4e578b['id']===_0x345c38[_0x3afc63(0x3eb)][_0x3afc63(0x250)]&&this[_0x3afc63(0x305)][_0x3afc63(0x271)]({'title':this['_localeService']['t'](_0x3afc63(0x24d)),'content':this[_0x3afc63(0x2a6)]['t'](_0x3afc63(0x1f3)),'type':'error','duration':0x0}),_0x4e578b['id']===_0x345c38[_0x3afc63(0x3eb)]['CONFLICT']&&this[_0x3afc63(0x35c)]['show']({'type':_0x45a24b['MessageType'][_0x3afc63(0x1ff)],'content':this[_0x3afc63(0x2a6)]['t'](_0x3afc63(0x2d8))+'('+_0x4e578b[_0x3afc63(0x3c7)]+')'}),_0x4e578b['id']===_0x345c38['CollaborationUIEventId'][_0x3afc63(0x381)]&&this[_0x3afc63(0x35c)][_0x3afc63(0x271)]({'type':_0x45a24b[_0x3afc63(0x2c1)][_0x3afc63(0x1c9)],'content':this['_localeService']['t'](_0x4e578b[_0x3afc63(0x3c7)]||'')}),_0x4e578b['id']===_0x345c38[_0x3afc63(0x3eb)][_0x3afc63(0x206)]&&this['_messageService'][_0x3afc63(0x271)]({'type':_0x45a24b[_0x3afc63(0x2c1)][_0x3afc63(0x1c9)],'content':this[_0x3afc63(0x2a6)]['t'](_0x3afc63(0x3b2))}),_0x4e578b['id']===_0x345c38[_0x3afc63(0x3eb)][_0x3afc63(0x251)]&&this[_0x3afc63(0x35c)][_0x3afc63(0x271)]({'type':_0x45a24b[_0x3afc63(0x2c1)][_0x3afc63(0x1ff)],'content':this['_localeService']['t'](_0x3afc63(0x2b5))}),_0x4e578b['id']===_0x345c38['CollaborationUIEventId'][_0x3afc63(0x232)]&&this[_0x3afc63(0x35c)][_0x3afc63(0x271)]({'type':_0x45a24b[_0x3afc63(0x2c1)][_0x3afc63(0x1ff)],'content':this[_0x3afc63(0x2a6)]['t'](_0x3afc63(0x21d))});}));}};_0x100bdb=_0x181768([_0x1dd746(0x0,_0x28c025['IBeforeCloseService']),_0x1dd746(0x1,_0x345c38[_0x30d3e3(0x1b2)]),_0x1dd746(0x2,_0x37798d[_0x30d3e3(0x330)](_0x345c38['CollaborationUIEventService'])),_0x1dd746(0x3,_0x28c025[_0x30d3e3(0x1a5)]),_0x1dd746(0x4,_0x28c025[_0x30d3e3(0x237)]),_0x1dd746(0x5,_0x37798d[_0x30d3e3(0x330)](_0x37798d[_0x30d3e3(0x203)]))],_0x100bdb);const _0x559d34=_0x30d3e3(0x1fc),_0x11ba8d={},_0x41f23a=_0x37798d['createIdentifier'](_0x30d3e3(0x1ec));var _0x1dbd8f=Object[_0x30d3e3(0x303)],_0x40f5e1=(_0x20d495,_0x1413c1,_0x479ab3,_0x487130)=>{const _0x3b5d6b=_0x30d3e3;for(var _0x555f05=_0x487130>0x1?void 0x0:_0x487130?_0x1dbd8f(_0x1413c1,_0x479ab3):_0x1413c1,_0x236a6d=_0x20d495[_0x3b5d6b(0x3ae)]-0x1,_0x4b244d;_0x236a6d>=0x0;_0x236a6d--)(_0x4b244d=_0x20d495[_0x236a6d])&&(_0x555f05=_0x4b244d(_0x555f05)||_0x555f05);return _0x555f05;},_0x121314=(_0x43a109,_0x13b93e)=>(_0x71cb40,_0x30d47d)=>_0x13b93e(_0x71cb40,_0x30d47d,_0x43a109);_0x27a00d[_0x30d3e3(0x3b3)]=class extends _0x37798d['RxDisposable']{constructor(_0x13db53,_0x15accd,_0x23352b,_0x325378,_0x2f7f9a){const _0x5b1242=_0x30d3e3;super(),this[_0x5b1242(0x342)]=_0x13db53,this['_logService']=_0x15accd,this[_0x5b1242(0x2e6)]=_0x23352b,this[_0x5b1242(0x307)]=_0x325378,_0x2f7f9a?_0x2f7f9a==null||_0x2f7f9a[_0x5b1242(0x17c)]()['then'](()=>this[_0x5b1242(0x1a6)]()):(this[_0x5b1242(0x1c7)][_0x5b1242(0x3a6)]('[CollaborationDataLoaderController]',_0x5b1242(0x38e)),this[_0x5b1242(0x1a6)]());}async[_0x30d3e3(0x1a6)](){const _0xd206a4=_0x30d3e3,_0x19414a=this['_urlService'][_0xd206a4(0x1bc)](_0xd206a4(0x367)),_0x4085a2=this[_0xd206a4(0x342)][_0xd206a4(0x1bc)](_0xd206a4(0x23a)),_0x1c6b4d=this[_0xd206a4(0x342)][_0xd206a4(0x1bc)](_0xd206a4(0x3cd));if(!_0x19414a||!_0x4085a2){this['_logService'][_0xd206a4(0x3a6)](_0xd206a4(0x361),_0xd206a4(0x202));return;}const _0x42220b=await this[_0xd206a4(0x307)][_0xd206a4(0x2cb)](_0x19414a,Number(_0x4085a2),_0x1c6b4d);_0x42220b&&_0x42220b instanceof _0x37798d['Workbook']&&this[_0xd206a4(0x312)](_0x42220b);}async[_0x30d3e3(0x312)](_0x59056e){const _0x3b0f34=_0x30d3e3;await this[_0x3b0f34(0x2b2)](_0x59056e),_0x59056e['activeSheet$']['pipe'](_0x50346e[_0x3b0f34(0x283)](this[_0x3b0f34(0x2ca)]))[_0x3b0f34(0x3a7)](_0x59394e=>{const _0x4f37e0=_0x3b0f34;_0x59394e&&this[_0x4f37e0(0x1f7)](_0x59394e);}),this['_urlService'][_0x3b0f34(0x3d3)]['pipe'](_0x50346e[_0x3b0f34(0x283)](this[_0x3b0f34(0x2ca)]))['subscribe'](()=>this[_0x3b0f34(0x2b2)](_0x59056e));}[_0x30d3e3(0x1f7)](_0x39f20f,_0xd238df=!0x1){const _0x4d41a9=_0x30d3e3,_0xf444fc=this[_0x4d41a9(0x342)][_0x4d41a9(0x1bc)](_0x4d41a9(0x3cd));_0x39f20f[_0x4d41a9(0x339)]()!==_0xf444fc&&this['_urlService']['setParam']('subunit',_0x39f20f['getSheetId'](),_0xd238df);}async[_0x30d3e3(0x2b2)](_0x4054f2){const _0x26187a=_0x30d3e3;var _0x576e3e;const _0x5f3302=this['_urlService'][_0x26187a(0x1bc)](_0x26187a(0x3cd));if(!_0x5f3302||!_0x4054f2[_0x26187a(0x28f)](_0x5f3302)){const _0x48850b=_0x4054f2[_0x26187a(0x1ac)]()[0x0],_0xc5c780=_0x4054f2[_0x26187a(0x28f)](_0x48850b);if(!_0xc5c780)return;this['_updateURLWithCurrentState'](_0xc5c780,!0x0),await this[_0x26187a(0x2e6)][_0x26187a(0x1cc)](_0x20a5d1[_0x26187a(0x34c)]['id'],{'unitId':_0x4054f2['getUnitId'](),'subUnitId':_0x48850b});return;}((_0x576e3e=_0x4054f2[_0x26187a(0x249)]())==null?void 0x0:_0x576e3e['getSheetId']())!==_0x5f3302&&await this[_0x26187a(0x2e6)]['executeCommand'](_0x20a5d1[_0x26187a(0x34c)]['id'],{'unitId':_0x4054f2[_0x26187a(0x218)](),'subUnitId':_0x5f3302});}},_0x27a00d['CollaborationDataLoaderController']=_0x40f5e1([_0x121314(0x0,_0x41f23a),_0x121314(0x1,_0x37798d[_0x30d3e3(0x22f)]),_0x121314(0x2,_0x37798d[_0x30d3e3(0x1c4)]),_0x121314(0x3,_0x37798d[_0x30d3e3(0x330)](_0x345c38[_0x30d3e3(0x36d)])),_0x121314(0x4,_0x37798d[_0x30d3e3(0x1f0)](_0x5e825a[_0x30d3e3(0x270)]))],_0x27a00d[_0x30d3e3(0x3b3)]);var _0x516386=Object[_0x30d3e3(0x303)],_0x461627=(_0x5bf605,_0x43d78e,_0x48df1a,_0x460e8b)=>{const _0x3b5a82=_0x30d3e3;for(var _0xc51ccb=_0x460e8b>0x1?void 0x0:_0x460e8b?_0x516386(_0x43d78e,_0x48df1a):_0x43d78e,_0x38dd67=_0x5bf605[_0x3b5a82(0x3ae)]-0x1,_0x56f973;_0x38dd67>=0x0;_0x38dd67--)(_0x56f973=_0x5bf605[_0x38dd67])&&(_0xc51ccb=_0x56f973(_0xc51ccb)||_0xc51ccb);return _0xc51ccb;},_0x52bd01=(_0x532a8e,_0x2dbe3a)=>(_0x3b86a9,_0x2eff43)=>_0x2dbe3a(_0x3b86a9,_0x2eff43,_0x532a8e);let _0x298481=class{constructor(_0x18459f,_0x268330,_0x12c86e){const _0x8842df=_0x30d3e3;this['_injector']=_0x18459f,this['_transformService']=_0x268330,this[_0x8842df(0x35f)]=_0x12c86e;}[_0x30d3e3(0x1f8)](_0x31d4ed){const _0x137e5e=_0x30d3e3;this[_0x137e5e(0x238)](_0x31d4ed),this[_0x137e5e(0x32d)](_0x31d4ed);}[_0x30d3e3(0x3e3)](_0x25b0fb){const _0x19e7a0=_0x30d3e3,{unitID:_0x388699}=_0x25b0fb,_0x113a05=this[_0x19e7a0(0x35f)][_0x19e7a0(0x29f)](_0x388699)[_0x19e7a0(0x1f9)](_0x3836dd['DocIMEInputManagerService']),{redoCache:_0x3f3373}=_0x113a05[_0x19e7a0(0x37b)]();if(_0x3f3373[_0x19e7a0(0x3ae)]===0x0)return _0x25b0fb;let _0xa9b039=_0x37798d[_0x19e7a0(0x21c)]['deepClone'](_0x25b0fb[_0x19e7a0(0x1a0)][0x0]);for(let _0x3ae830=0x0;_0x3ae830<_0x3f3373[_0x19e7a0(0x3ae)];_0x3ae830++){const _0x8f2a24={'id':'doc.mutation.rich-text-editing','params':{..._0x3f3373[_0x3ae830]}},_0x50d657=this['_transformService'][_0x19e7a0(0x1ee)](_0xa9b039,_0x8f2a24,!0x1);if(_0x524bf8[_0x19e7a0(0x35e)](_0x50d657))throw _0x50d657['error'];_0xa9b039=_0x50d657['m1Prime'];}return{..._0x37798d['Tools'][_0x19e7a0(0x20e)](_0x25b0fb),'mutations':[_0xa9b039]};}['_transformUndoRedoStack'](_0x36fe23){const _0x1148ad=_0x30d3e3,{unitID:_0x2af2a4}=_0x36fe23,_0x57c787=this[_0x1148ad(0x35f)][_0x1148ad(0x29f)](_0x2af2a4)[_0x1148ad(0x1f9)](_0x3836dd['DocIMEInputManagerService']),{undoCache:_0x152073,redoCache:_0x1e383e}=_0x57c787[_0x1148ad(0x37b)]();if(_0x152073[_0x1148ad(0x3ae)]===0x0||_0x1e383e[_0x1148ad(0x3ae)]===0x0)return;const _0x53e7d7=[],_0x140ece=[];let _0x3d3398=_0x37798d[_0x1148ad(0x21c)][_0x1148ad(0x20e)](_0x36fe23[_0x1148ad(0x1a0)][0x0]),_0x131eb2=_0x37798d['Tools'][_0x1148ad(0x20e)](_0x36fe23[_0x1148ad(0x1a0)][0x0]);for(let _0xb8f2cd=_0x152073[_0x1148ad(0x3ae)]-0x1;_0xb8f2cd>=0x0;_0xb8f2cd--){const _0x45145e={'id':'doc.mutation.rich-text-editing','params':{..._0x152073[_0xb8f2cd]}},_0x1c08f1={'id':'doc.mutation.rich-text-editing','params':{..._0x1e383e[_0xb8f2cd]}},_0x2aa15a=this[_0x1148ad(0x176)][_0x1148ad(0x1ee)](_0x3d3398,_0x45145e,!0x1),_0x5cafcc=this['_transformService'][_0x1148ad(0x1ee)](_0x131eb2,_0x1c08f1,!0x1);if(_0x524bf8[_0x1148ad(0x35e)](_0x2aa15a))throw _0x2aa15a[_0x1148ad(0x1f2)];if(_0x524bf8[_0x1148ad(0x35e)](_0x5cafcc))throw _0x5cafcc[_0x1148ad(0x1f2)];_0x53e7d7[_0x1148ad(0x1bb)](_0x2aa15a[_0x1148ad(0x371)]['params']),_0x140ece[_0x1148ad(0x1bb)](_0x5cafcc[_0x1148ad(0x371)][_0x1148ad(0x319)]),_0x3d3398=_0x2aa15a['m1Prime'],_0x131eb2=_0x5cafcc[_0x1148ad(0x1fa)];}_0x57c787[_0x1148ad(0x3c0)]({'undoCache':_0x53e7d7,'redoCache':_0x140ece});}[_0x30d3e3(0x32d)](_0x366cb3){const _0x2e1e86=_0x30d3e3,{unitID:_0x30a6c6}=_0x366cb3,_0x22ca2f=this[_0x2e1e86(0x35f)]['getRenderById'](_0x30a6c6)[_0x2e1e86(0x1f9)](_0x3836dd[_0x2e1e86(0x1a1)]),_0x8fb377=_0x22ca2f[_0x2e1e86(0x39f)]();if(_0x8fb377==null)return;const _0xafc8bb=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x366cb3[_0x2e1e86(0x15e)],'actions':null,'textRanges':[_0x8fb377]}}],_0x3724de=this[_0x2e1e86(0x176)][_0x2e1e86(0x3af)](_0x366cb3,_0xafc8bb);if(!_0x524bf8[_0x2e1e86(0x22c)](_0x3724de))throw _0x3724de[_0x2e1e86(0x1f2)];const _0x4cf439=_0x3724de[_0x2e1e86(0x371)][0x0][_0x2e1e86(0x319)][_0x2e1e86(0x3f1)];Array['isArray'](_0x4cf439)&&_0x4cf439[_0x2e1e86(0x3ae)]&&_0x22ca2f[_0x2e1e86(0x201)](_0x4cf439[0x0]);}};_0x298481=_0x461627([_0x52bd01(0x0,_0x37798d[_0x30d3e3(0x330)](_0x37798d['Injector'])),_0x52bd01(0x1,_0x524bf8['ITransformService']),_0x52bd01(0x2,_0x48613e[_0x30d3e3(0x3da)])],_0x298481);var _0x46ac01=Object[_0x30d3e3(0x303)],_0x313427=(_0x15063d,_0x2691b2,_0x1934db,_0x185d0d)=>{const _0x2344ee=_0x30d3e3;for(var _0x2bb34a=_0x185d0d>0x1?void 0x0:_0x185d0d?_0x46ac01(_0x2691b2,_0x1934db):_0x2691b2,_0x48ecad=_0x15063d[_0x2344ee(0x3ae)]-0x1,_0x3b2145;_0x48ecad>=0x0;_0x48ecad--)(_0x3b2145=_0x15063d[_0x48ecad])&&(_0x2bb34a=_0x3b2145(_0x2bb34a)||_0x2bb34a);return _0x2bb34a;},_0x2501c2=(_0x41699a,_0x805cca)=>(_0x21c243,_0x430be0)=>_0x805cca(_0x21c243,_0x430be0,_0x41699a);let _0x58ee35=class{constructor(_0x270730,_0x1aec6e,_0x237013){const _0x508eb9=_0x30d3e3;this[_0x508eb9(0x33f)]=_0x270730,this[_0x508eb9(0x176)]=_0x1aec6e,this[_0x508eb9(0x181)]=_0x237013;}[_0x30d3e3(0x284)](_0x1326ef){const _0x436205=_0x30d3e3;this[_0x436205(0x161)](_0x1326ef);}['transformRemoteChangeset'](_0x2d6a4b){const _0xf59427=_0x30d3e3,{unitID:_0x1d6710}=_0x2d6a4b,{collaboration:_0x15f49d}=this[_0xf59427(0x181)][_0xf59427(0x343)](_0x1d6710);if(_0x15f49d[_0xf59427(0x3ae)]===0x0)return _0x2d6a4b;let _0x445588=_0x37798d[_0xf59427(0x21c)][_0xf59427(0x20e)](_0x2d6a4b[_0xf59427(0x1a0)][0x0]);for(let _0x5a0eb9=0x0;_0x5a0eb9<_0x15f49d['length'];_0x5a0eb9++){const _0x798e77={'id':_0xf59427(0x365),'params':{'unitId':_0x15f49d[_0x5a0eb9][_0xf59427(0x225)],..._0x15f49d[_0x5a0eb9][_0xf59427(0x17e)]}},_0x1400ff=this['_transformService']['transformMutation'](_0x445588,_0x798e77,!0x1);if(_0x524bf8[_0xf59427(0x35e)](_0x1400ff))throw _0x1400ff['error'];_0x445588=_0x1400ff[_0xf59427(0x1fa)];}return{..._0x37798d[_0xf59427(0x21c)][_0xf59427(0x20e)](_0x2d6a4b),'mutations':[_0x445588]};}[_0x30d3e3(0x161)](_0x60a401){const _0xa4507b=_0x30d3e3,{unitID:_0x2f7f42}=_0x60a401,{history:_0x5140bf,collaboration:_0x101c56}=this[_0xa4507b(0x181)][_0xa4507b(0x343)](_0x2f7f42);if(_0x5140bf[_0xa4507b(0x3ae)]===0x0&&_0x101c56[_0xa4507b(0x3ae)]===0x0)return;const _0x54d387=[],_0x146da8=[];let _0x3aaad3=_0x37798d['Tools']['deepClone'](_0x60a401[_0xa4507b(0x1a0)][0x0]),_0x584412=_0x37798d[_0xa4507b(0x21c)][_0xa4507b(0x20e)](_0x60a401['mutations'][0x0]);for(let _0x1032fc=_0x5140bf['length']-0x1;_0x1032fc>=0x0;_0x1032fc--){const _0x3fa95b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5140bf[_0x1032fc][_0xa4507b(0x225)],..._0x5140bf[_0x1032fc][_0xa4507b(0x2f0)]}},_0xadb04e={'id':_0xa4507b(0x365),'params':{'unitId':_0x5140bf[_0x1032fc]['unitId'],..._0x5140bf[_0x1032fc][_0xa4507b(0x17e)]}},_0x54e33d=this['_transformService'][_0xa4507b(0x1ee)](_0x3aaad3,_0x3fa95b,!0x1),_0x56dbef=this['_transformService'][_0xa4507b(0x1ee)](_0x584412,_0xadb04e,!0x1);if(_0x524bf8[_0xa4507b(0x35e)](_0x54e33d))throw _0x54e33d[_0xa4507b(0x1f2)];if(_0x524bf8[_0xa4507b(0x35e)](_0x56dbef))throw _0x56dbef[_0xa4507b(0x1f2)];_0x54d387[_0xa4507b(0x1bb)]({..._0x5140bf[_0x1032fc],'undoState':_0x54e33d['m2Prime'][_0xa4507b(0x319)],'redoState':_0x56dbef['m2Prime'][_0xa4507b(0x319)]}),_0x3aaad3=_0x54e33d[_0xa4507b(0x1fa)],_0x584412=_0x56dbef['m1Prime'];}_0x3aaad3=_0x37798d[_0xa4507b(0x21c)][_0xa4507b(0x20e)](_0x60a401[_0xa4507b(0x1a0)][0x0]),_0x584412=_0x37798d[_0xa4507b(0x21c)]['deepClone'](_0x60a401[_0xa4507b(0x1a0)][0x0]);for(let _0x33c687=_0x101c56['length']-0x1;_0x33c687>=0x0;_0x33c687--){const _0x529ade={'id':_0xa4507b(0x365),'params':{'unitId':_0x101c56[_0x33c687]['unitId'],..._0x101c56[_0x33c687][_0xa4507b(0x2f0)]}},_0x4a98ed={'id':_0xa4507b(0x365),'params':{'unitId':_0x101c56[_0x33c687][_0xa4507b(0x225)],..._0x101c56[_0x33c687][_0xa4507b(0x17e)]}},_0x597f05=this[_0xa4507b(0x176)][_0xa4507b(0x1ee)](_0x3aaad3,_0x529ade,!0x1),_0x5021b1=this[_0xa4507b(0x176)][_0xa4507b(0x1ee)](_0x584412,_0x4a98ed,!0x1);if(_0x524bf8[_0xa4507b(0x35e)](_0x597f05))throw _0x597f05[_0xa4507b(0x1f2)];if(_0x524bf8[_0xa4507b(0x35e)](_0x5021b1))throw _0x5021b1[_0xa4507b(0x1f2)];_0x146da8[_0xa4507b(0x1bb)]({..._0x101c56[_0x33c687],'undoState':_0x597f05['m2Prime'][_0xa4507b(0x319)],'redoState':_0x5021b1['m2Prime']['params']}),_0x3aaad3=_0x597f05['m1Prime'],_0x584412=_0x5021b1[_0xa4507b(0x1fa)];}this[_0xa4507b(0x181)][_0xa4507b(0x196)](_0x2f7f42,{'history':_0x54d387,'collaboration':_0x146da8});}};_0x58ee35=_0x313427([_0x2501c2(0x0,_0x37798d['Inject'](_0x37798d[_0x30d3e3(0x3cc)])),_0x2501c2(0x1,_0x524bf8[_0x30d3e3(0x217)]),_0x2501c2(0x2,_0x37798d[_0x30d3e3(0x330)](_0x3836dd[_0x30d3e3(0x28a)]))],_0x58ee35);var _0x37a042=Object[_0x30d3e3(0x303)],_0x22a1ca=(_0x3ada49,_0x1c16a8,_0x13953b,_0x3aa128)=>{const _0x269d6a=_0x30d3e3;for(var _0x1904ce=_0x3aa128>0x1?void 0x0:_0x3aa128?_0x37a042(_0x1c16a8,_0x13953b):_0x1c16a8,_0x43e73c=_0x3ada49[_0x269d6a(0x3ae)]-0x1,_0x467a64;_0x43e73c>=0x0;_0x43e73c--)(_0x467a64=_0x3ada49[_0x43e73c])&&(_0x1904ce=_0x467a64(_0x1904ce)||_0x1904ce);return _0x1904ce;},_0x188ff8=(_0xf3764b,_0x5130c5)=>(_0x53b0cf,_0x5615a9)=>_0x5130c5(_0x53b0cf,_0x5615a9,_0xf3764b);let _0x1e8cba=class{constructor(_0x1e8df7,_0x28714b){const _0x564cfb=_0x30d3e3;this[_0x564cfb(0x33f)]=_0x1e8df7,this['_transformService']=_0x28714b;}[_0x30d3e3(0x2e9)](_0x21a8dc){const _0x49b956=_0x30d3e3;var _0x2d1d1b;const _0x3da4f7=this[_0x49b956(0x33f)][_0x49b956(0x2ae)](_0x3c51b7[_0x49b956(0x264)]),_0x440d58=(_0x2d1d1b=_0x3da4f7[_0x49b956(0x295)]())!=null?_0x2d1d1b:[];if(_0x440d58['length']===0x0)return;const _0x29e40a=_0x21a8dc[_0x49b956(0x15e)],_0x5568e7=[{'id':_0x49b956(0x365),'params':{'unitId':_0x29e40a,'actions':null,'textRanges':_0x440d58}}],_0x4b8f25=this['_transformService'][_0x49b956(0x3af)](_0x21a8dc,_0x5568e7);if(!_0x524bf8[_0x49b956(0x22c)](_0x4b8f25))throw _0x4b8f25[_0x49b956(0x1f2)];const _0x26bb80=_0x4b8f25['m2Prime'][0x0]['params'][_0x49b956(0x3f1)];Array['isArray'](_0x26bb80)&&_0x26bb80[_0x49b956(0x3ae)]&&_0x3da4f7['replaceDocRanges'](_0x26bb80,{'unitId':_0x29e40a,'subUnitId':_0x29e40a},!0x1);}};_0x1e8cba=_0x22a1ca([_0x188ff8(0x0,_0x37798d['Inject'](_0x37798d[_0x30d3e3(0x3cc)])),_0x188ff8(0x1,_0x524bf8['ITransformService'])],_0x1e8cba);var _0x2c87a5=Object['getOwnPropertyDescriptor'],_0x420f05=(_0xa70d3d,_0x4512f,_0x436042,_0x42ff67)=>{const _0x13c77b=_0x30d3e3;for(var _0x4e702b=_0x42ff67>0x1?void 0x0:_0x42ff67?_0x2c87a5(_0x4512f,_0x436042):_0x4512f,_0x215a10=_0xa70d3d[_0x13c77b(0x3ae)]-0x1,_0x47bf93;_0x215a10>=0x0;_0x215a10--)(_0x47bf93=_0xa70d3d[_0x215a10])&&(_0x4e702b=_0x47bf93(_0x4e702b)||_0x4e702b);return _0x4e702b;},_0x30218d=(_0x32944d,_0x3fb82e)=>(_0x17e190,_0x4077eb)=>_0x3fb82e(_0x17e190,_0x4077eb,_0x32944d);let _0x2617d6=class extends _0x37798d[_0x30d3e3(0x2b3)]{constructor(_0x224f5c,_0x283ada,_0x5c6e82,_0x32a024,_0x438236,_0x49a976,_0x5576cf,_0x298c38){const _0x4b66a6=_0x30d3e3;super(),_0x2fbdf1(this,_0x4b66a6(0x2d0),new _0x50346e[(_0x4b66a6(0x1a3))](_0x345c38[_0x4b66a6(0x1ef)][_0x4b66a6(0x2aa)])),(this[_0x4b66a6(0x181)]=_0x224f5c,this[_0x4b66a6(0x390)]=_0x283ada,this[_0x4b66a6(0x373)]=_0x5c6e82,this[_0x4b66a6(0x194)]=_0x32a024,this['_docTransformSelectionsService']=_0x438236,this[_0x4b66a6(0x38a)]=_0x49a976,this[_0x4b66a6(0x35c)]=_0x5576cf,this[_0x4b66a6(0x2a6)]=_0x298c38,this['_initEntityListener']());}[_0x30d3e3(0x2b7)](){const _0x28ed40=_0x30d3e3;this['disposeWithMe'](this[_0x28ed40(0x390)][_0x28ed40(0x259)][_0x28ed40(0x3a7)](_0x4b7869=>{const _0x38db42=_0x28ed40,_0x4036a5=this[_0x38db42(0x181)][_0x38db42(0x166)][_0x38db42(0x3a7)](_0x2915a7=>{const _0x10251b=_0x38db42;if(_0x2915a7==null)return;const {unitId:_0x209ebd,redoState:_0x385355,commandId:_0x13ef4f}=_0x2915a7;if(_0x209ebd!==_0x4b7869['unitID'])return;const _0x328621={'id':_0x13ef4f,'type':_0x37798d[_0x10251b(0x160)][_0x10251b(0x211)],'params':{'unitId':_0x209ebd,'actions':_0x385355[_0x10251b(0x331)],'textRanges':null}};_0x4b7869[_0x10251b(0x387)](_0x328621);});if(_0x4b7869[_0x38db42(0x23d)](_0x4036a5),_0x4b7869 instanceof _0x345c38['DocCollaborationEntity']){const _0x4dcddb={'onTransformIME':_0x153dc7=>this[_0x38db42(0x373)][_0x38db42(0x1f8)](_0x153dc7),'onTransformState':_0x5e4899=>this[_0x38db42(0x194)][_0x38db42(0x284)](_0x5e4899),'onTransformSelections':_0x2c7c14=>this[_0x38db42(0x255)][_0x38db42(0x2e9)](_0x2c7c14),'onSyncEditingCollabCursor':_0x5cbb5c=>this[_0x38db42(0x38a)]['syncEditingCollabCursor'](_0x5cbb5c),'onTransformRemoteChangesetByIMECache':_0x5838f9=>this[_0x38db42(0x373)][_0x38db42(0x3e3)](_0x5838f9),'onTransformRemoteChangesetByStateCache':_0x1b8492=>this[_0x38db42(0x194)][_0x38db42(0x3e3)](_0x1b8492)};_0x4b7869[_0x38db42(0x1e2)](_0x4dcddb);}}));}};_0x2617d6=_0x420f05([_0x30218d(0x0,_0x37798d[_0x30d3e3(0x330)](_0x3836dd[_0x30d3e3(0x28a)])),_0x30218d(0x1,_0x37798d[_0x30d3e3(0x330)](_0x345c38[_0x30d3e3(0x2a9)])),_0x30218d(0x2,_0x37798d[_0x30d3e3(0x330)](_0x298481)),_0x30218d(0x3,_0x37798d[_0x30d3e3(0x330)](_0x58ee35)),_0x30218d(0x4,_0x37798d[_0x30d3e3(0x330)](_0x1e8cba)),_0x30218d(0x5,_0x37798d[_0x30d3e3(0x330)](_0x4f6dd5)),_0x30218d(0x6,_0x28c025[_0x30d3e3(0x1a5)]),_0x30218d(0x7,_0x37798d[_0x30d3e3(0x330)](_0x37798d[_0x30d3e3(0x203)]))],_0x2617d6);var _0x9d651=Object['getOwnPropertyDescriptor'],_0x42e131=(_0xe62482,_0x5525e7,_0x1493e4,_0x57cd6f)=>{for(var _0x52d257=_0x57cd6f>0x1?void 0x0:_0x57cd6f?_0x9d651(_0x5525e7,_0x1493e4):_0x5525e7,_0x41a49f=_0xe62482['length']-0x1,_0x65805e;_0x41a49f>=0x0;_0x41a49f--)(_0x65805e=_0xe62482[_0x41a49f])&&(_0x52d257=_0x65805e(_0x52d257)||_0x52d257);return _0x52d257;},_0x28e22a=(_0x15fd80,_0x1fc4c5)=>(_0xa25648,_0x3de96c)=>_0x1fc4c5(_0xa25648,_0x3de96c,_0x15fd80);let _0x6559d5=class extends _0x37798d[_0x30d3e3(0x2b3)]{constructor(_0x2f9eab,_0xd4fadb,_0x54c1f8){const _0x2b91f8=_0x30d3e3;super(),_0x2fbdf1(this,'_cachedData',new Map()),_0x2fbdf1(this,_0x2b91f8(0x156),new Map()),_0x2fbdf1(this,'_disabled',!0x1),(this[_0x2b91f8(0x31e)]=_0x2f9eab,this['_localStorageService']=_0xd4fadb,this[_0x2b91f8(0x1d6)]=_0x54c1f8);}[_0x30d3e3(0x293)](){const _0x3c8bab=_0x30d3e3;this[_0x3c8bab(0x3b6)]=!0x0;}[_0x30d3e3(0x177)](){const _0x2eb682=_0x30d3e3;this[_0x2eb682(0x3b6)]=!0x1;}get[_0x30d3e3(0x1f4)](){const _0x740629=_0x30d3e3;return this[_0x740629(0x156)];}[_0x30d3e3(0x1d9)](){const _0x51c41d=_0x30d3e3;this['exhaustSavingTask']()[_0x51c41d(0x2a3)](()=>super[_0x51c41d(0x1d9)]());}async[_0x30d3e3(0x26a)](_0x34fc76){const _0x2d23f3=_0x30d3e3;return this['_disabled']?null:this[_0x2d23f3(0x158)][_0x2d23f3(0x30c)](_0x345c38[_0x2d23f3(0x2a2)](_0x34fc76));}async[_0x30d3e3(0x344)](_0x370695,_0x472549){const _0x286f2c=_0x30d3e3;return!!this[_0x286f2c(0x158)][_0x286f2c(0x377)](_0x370695,_0x472549);}['updateOfflineData'](_0x274c7b,_0x2fb17c,_0x1bfaa8,_0x44606e){const _0x499c5b=_0x30d3e3,_0x40e076=this['_revisionService'][_0x499c5b(0x38f)](_0x274c7b);this[_0x499c5b(0x1f6)][_0x499c5b(0x157)](_0x274c7b,{'unitID':_0x274c7b,'type':_0x2fb17c,'awaitingChangeset':_0x1bfaa8,'mutations':_0x44606e,'rev':_0x40e076}),this[_0x499c5b(0x156)][_0x499c5b(0x1d8)](_0x274c7b)||this[_0x499c5b(0x185)](_0x274c7b);}['_scheduleSaving'](_0x3adf79){const _0x2a519d=_0x30d3e3,_0x4e9271=this['_getSaveTimeout']();_0x4e9271===0x0?this[_0x2a519d(0x2d4)](_0x3adf79):this[_0x2a519d(0x156)][_0x2a519d(0x157)](_0x3adf79,setTimeout(()=>this['_saveCache'](_0x3adf79),_0x4e9271));}['_getSaveTimeout'](){const _0x82130e=_0x30d3e3;var _0x12465a;return(_0x12465a=this['_configService'][_0x82130e(0x3b7)](_0x345c38[_0x82130e(0x252)]))!=null?_0x12465a:_0x345c38['LOCAL_CACHE_INTERVAL'];}[_0x30d3e3(0x2d4)](_0x308f59){const _0x158a16=_0x30d3e3,_0x5a7635=this['_saveTaskMap']['get'](_0x308f59);return _0x5a7635!==void 0x0&&window['clearTimeout'](_0x5a7635),this[_0x158a16(0x158)][_0x158a16(0x377)](_0x345c38['getLocalCacheKey'](_0x308f59),this['_cachedData']['get'](_0x308f59))[_0x158a16(0x2a3)](()=>this['_saveTaskMap'][_0x158a16(0x288)](_0x308f59));}async[_0x30d3e3(0x348)](){const _0x441b52=_0x30d3e3,_0x492010=[];this[_0x441b52(0x156)]['forEach']((_0x19e058,_0x42e389)=>{const _0x2a0e4a=_0x441b52;window[_0x2a0e4a(0x235)](_0x19e058),_0x492010[_0x2a0e4a(0x24c)](this[_0x2a0e4a(0x2d4)](_0x42e389)['then'](()=>{const _0x59ee4f=_0x2a0e4a;this[_0x59ee4f(0x156)][_0x59ee4f(0x288)](_0x42e389);}));}),await Promise[_0x441b52(0x1b6)](_0x492010);}};_0x6559d5=_0x42e131([_0x28e22a(0x0,_0x37798d[_0x30d3e3(0x169)]),_0x28e22a(0x1,_0x37798d['ILocalStorageService']),_0x28e22a(0x2,_0x37798d[_0x30d3e3(0x330)](_0x524bf8['RevisionService']))],_0x6559d5);class _0xf4832a extends _0x37798d[_0x30d3e3(0x39e)]{constructor(){const _0x161e99=_0x30d3e3;super(),_0x2fbdf1(this,_0x161e99(0x3d3)),this[_0x161e99(0x3d3)]=_0x50346e[_0x161e99(0x3fc)](window,_0x161e99(0x380))['pipe'](_0x50346e[_0x161e99(0x283)](this[_0x161e99(0x2ca)]),_0x50346e['shareReplay'](0x1),_0x50346e[_0x161e99(0x2cf)](void 0x0));}[_0x30d3e3(0x29a)](_0x5d3eb2,_0x4acd64,_0x4b1071=!0x1){const _0x2f2f75=_0x30d3e3,_0x1864f0=new URL(window[_0x2f2f75(0x227)][_0x2f2f75(0x1a8)]);_0x1864f0[_0x2f2f75(0x3e8)][_0x2f2f75(0x157)](_0x5d3eb2,_0x4acd64),_0x4b1071?window[_0x2f2f75(0x357)][_0x2f2f75(0x1b8)]('','',_0x1864f0['toString']()):window[_0x2f2f75(0x357)][_0x2f2f75(0x38d)]('','',_0x1864f0[_0x2f2f75(0x358)]());}['removeParam'](_0x23f8a8,_0x4d23de=!0x1){const _0x3469b9=_0x30d3e3,_0x5c16ec=new URL(window[_0x3469b9(0x227)]['href']);_0x5c16ec[_0x3469b9(0x3e8)][_0x3469b9(0x288)](_0x23f8a8),_0x4d23de?window[_0x3469b9(0x357)][_0x3469b9(0x1b8)]('','',_0x5c16ec[_0x3469b9(0x358)]()):window[_0x3469b9(0x357)]['pushState']('','',_0x5c16ec[_0x3469b9(0x358)]());}[_0x30d3e3(0x1bc)](_0xd47ae6){const _0x237a80=_0x30d3e3;var _0x438feb;return(_0x438feb=new URL(window[_0x237a80(0x227)][_0x237a80(0x1a8)])[_0x237a80(0x3e8)][_0x237a80(0x2ae)](_0xd47ae6))!=null?_0x438feb:void 0x0;}}var _0x3d397d=Object[_0x30d3e3(0x29e)],_0x349dce=Object[_0x30d3e3(0x303)],_0x17a926=(_0x134884,_0x32fd7b,_0x318e57)=>_0x32fd7b in _0x134884?_0x3d397d(_0x134884,_0x32fd7b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x318e57}):_0x134884[_0x32fd7b]=_0x318e57,_0x7394cf=(_0x163f68,_0x17aa87,_0x3b5995,_0x495beb)=>{const _0x11be67=_0x30d3e3;for(var _0x37eeb2=_0x495beb>0x1?void 0x0:_0x495beb?_0x349dce(_0x17aa87,_0x3b5995):_0x17aa87,_0x2ccbcd=_0x163f68[_0x11be67(0x3ae)]-0x1,_0x41bd65;_0x2ccbcd>=0x0;_0x2ccbcd--)(_0x41bd65=_0x163f68[_0x2ccbcd])&&(_0x37eeb2=_0x41bd65(_0x37eeb2)||_0x37eeb2);return _0x37eeb2;},_0x2d78ee=(_0x4936e4,_0x31d8bc)=>(_0x2b63b8,_0x300ff8)=>_0x31d8bc(_0x2b63b8,_0x300ff8,_0x4936e4),_0x1c1c8c=(_0x132995,_0x177c84,_0xedab78)=>_0x17a926(_0x132995,_0x177c84+'',_0xedab78);const _0x10df52=_0x30d3e3(0x1b5);_0x27a00d[_0x30d3e3(0x369)]=class extends _0x37798d[_0x30d3e3(0x3ed)]{constructor(_0x49a5d8=_0x11ba8d,_0x3022f8,_0x598bc0,_0x4aac9b){const _0xb9675a=_0x30d3e3;super(),this[_0xb9675a(0x338)]=_0x49a5d8,this[_0xb9675a(0x35f)]=_0x3022f8,this['_injector']=_0x598bc0,this[_0xb9675a(0x31e)]=_0x4aac9b;const {..._0x317a3d}=_0x37798d[_0xb9675a(0x197)]({},_0x11ba8d,this[_0xb9675a(0x338)]);this[_0xb9675a(0x31e)][_0xb9675a(0x2be)](_0x559d34,_0x317a3d);}[_0x30d3e3(0x345)](){const _0x4f20de=_0x30d3e3;this[_0x4f20de(0x1cf)](),this['_initDependencies']();}[_0x30d3e3(0x179)](){const _0x2372fb=_0x30d3e3;this[_0x2372fb(0x191)]();}['_registerDependencies'](){const _0x5e31c2=_0x30d3e3;var _0x3b7bdc;const _0x4261c9=[[_0x3433ef],[_0x1e8cba],[_0x298481],[_0x58ee35],[_0x4f6dd5],[_0x41f23a,{'useClass':_0xf4832a}],[_0x344cf1[_0x5e31c2(0x3c5)],{'useClass':_0x344cf1['WebSocketService']}],[_0x345c38[_0x5e31c2(0x1b2)],{'useClass':_0x6559d5}],[_0x27a00d[_0x5e31c2(0x20b)]],[_0x2617d6],[_0x100bdb],[_0x424389],[_0x10981e],[_0x27a00d['CollaborationDataLoaderController']]];_0x37798d[_0x5e31c2(0x317)](this['_injector'],_0x37798d[_0x5e31c2(0x346)](_0x4261c9,(_0x3b7bdc=this[_0x5e31c2(0x338)])==null?void 0x0:_0x3b7bdc['override']));}[_0x30d3e3(0x191)](){const _0x5dd38f=_0x30d3e3;this[_0x5dd38f(0x23d)](this[_0x5dd38f(0x35f)][_0x5dd38f(0x281)](_0x37798d[_0x5dd38f(0x24e)]['UNIVER_DOC'],[_0x421730])),this[_0x5dd38f(0x23d)](this[_0x5dd38f(0x35f)][_0x5dd38f(0x281)](_0x37798d['UniverInstanceType']['UNIVER_SHEET'],[_0x577f79]));}[_0x30d3e3(0x16e)](){const _0x3454c0=_0x30d3e3;_0x37798d[_0x3454c0(0x337)](this[_0x3454c0(0x33f)],[[_0x424389],[_0x27a00d[_0x3454c0(0x20b)]],[_0x2617d6],[_0x100bdb],[_0x27a00d[_0x3454c0(0x3b3)]]]);}},_0x1c1c8c(_0x27a00d[_0x30d3e3(0x369)],'pluginName',_0x10df52),_0x27a00d[_0x30d3e3(0x369)]=_0x7394cf([_0x37798d[_0x30d3e3(0x324)](_0x345c38[_0x30d3e3(0x241)]),_0x2d78ee(0x1,_0x48613e[_0x30d3e3(0x3da)]),_0x2d78ee(0x2,_0x37798d['Inject'](_0x37798d[_0x30d3e3(0x3cc)])),_0x2d78ee(0x3,_0x37798d[_0x30d3e3(0x169)])],_0x27a00d['UniverCollaborationClientUIPlugin']);var _0x37a541=Object['getOwnPropertyDescriptor'],_0x2d99f5=(_0x3f4691,_0x45869d,_0x1d9e0d,_0x1a757f)=>{const _0x3fdd4e=_0x30d3e3;for(var _0x4cb744=_0x1a757f>0x1?void 0x0:_0x1a757f?_0x37a541(_0x45869d,_0x1d9e0d):_0x45869d,_0x1fecaa=_0x3f4691[_0x3fdd4e(0x3ae)]-0x1,_0x4e48c3;_0x1fecaa>=0x0;_0x1fecaa--)(_0x4e48c3=_0x3f4691[_0x1fecaa])&&(_0x4cb744=_0x4e48c3(_0x4cb744)||_0x4cb744);return _0x4cb744;},_0x303aa8=(_0x36de7a,_0x53fb25)=>(_0x5218f2,_0x22adff)=>_0x53fb25(_0x5218f2,_0x22adff,_0x36de7a);_0x27a00d[_0x30d3e3(0x1e9)]=class extends _0x345c38['CollaborationSocketService']{constructor(_0x4d1022,_0x4ef279,_0x4f4820,_0x42604d,_0x536f6e){super(_0x4d1022,_0x4ef279,_0x4f4820,_0x42604d,_0x536f6e);}async[_0x30d3e3(0x349)](_0x4503b9){const _0x2ae3e5=_0x30d3e3,_0xbdc443=await this[_0x2ae3e5(0x2b6)](),_0x2ee159=this[_0x2ae3e5(0x1e8)](_0x4503b9,_0xbdc443);return this[_0x2ae3e5(0x260)](_0x2ee159);}[_0x30d3e3(0x1e8)](_0x4cd890,_0x16444d){const _0x144031=_0x30d3e3,_0xb23513=typeof window>'u'?new URL(_0x4cd890):new URL(_0x4cd890,window[_0x144031(0x227)][_0x144031(0x1f5)]);_0xb23513['searchParams'][_0x144031(0x157)]('sessionTicket',_0x16444d);const _0x221eb8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x144031(0x227)][_0x144031(0x279)]);return _0x221eb8[_0x144031(0x2ae)]('runId')&&_0xb23513['searchParams']['set'](_0x144031(0x355),_0x221eb8[_0x144031(0x2ae)](_0x144031(0x355))),_0xb23513[_0x144031(0x358)]();}async[_0x30d3e3(0x2b6)](){const _0x204d0c=_0x30d3e3;var _0x2d0c3f,_0x4db198,_0x22412e;const _0x2414b2=this[_0x204d0c(0x31e)]['getConfig'](_0x345c38[_0x204d0c(0x362)]),_0x49335c=(_0x2d0c3f=_0x2414b2==null?void 0x0:_0x2414b2[_0x204d0c(0x2dc)])!=null?_0x2d0c3f:_0x345c38[_0x204d0c(0x322)];return(_0x22412e=(_0x4db198=(await this[_0x204d0c(0x309)][_0x204d0c(0x2ae)](_0x49335c,{'headers':{'Content-Type':_0x204d0c(0x27f)}}))[_0x204d0c(0x395)])==null?void 0x0:_0x4db198[_0x204d0c(0x34b)])!=null?_0x22412e:'';}},_0x27a00d[_0x30d3e3(0x1e9)]=_0x2d99f5([_0x303aa8(0x0,_0x37798d['Inject'](_0x37798d[_0x30d3e3(0x3cc)])),_0x303aa8(0x1,_0x37798d['Inject'](_0x344cf1[_0x30d3e3(0x26d)])),_0x303aa8(0x2,_0x37798d[_0x30d3e3(0x169)]),_0x303aa8(0x3,_0x37798d[_0x30d3e3(0x22f)]),_0x303aa8(0x4,_0x524bf8[_0x30d3e3(0x267)])],_0x27a00d[_0x30d3e3(0x1e9)]);const _0x115370=0x7530,_0x495173='ACTIVE_UNIT_EVENT_CHANNEL';class _0x26a6d2 extends _0x37798d['Disposable']{constructor(){const _0x2378b2=_0x30d3e3;super(),_0x2fbdf1(this,_0x2378b2(0x2ad),_0x37798d[_0x2378b2(0x26e)]()),_0x2fbdf1(this,_0x2378b2(0x186),new Set()),_0x2fbdf1(this,_0x2378b2(0x1ad),new Map()),_0x2fbdf1(this,_0x2378b2(0x2c7),null),_0x2fbdf1(this,'_clearOtherTimers',new Map()),_0x2fbdf1(this,'_unitStatus',new Map()),this['_init']();}[_0x30d3e3(0x1d9)](){const _0x5ea543=_0x30d3e3;super[_0x5ea543(0x1d9)](),this[_0x5ea543(0x391)][_0x5ea543(0x335)]((_0x4025e9,_0x17c89e)=>this['_removeClearOtherTimer'](_0x17c89e)),this[_0x5ea543(0x2c7)]&&window[_0x5ea543(0x33d)](this[_0x5ea543(0x2c7)]);}[_0x30d3e3(0x3b5)](_0x3b8542){const _0x7cefbd=_0x30d3e3;return this[_0x7cefbd(0x2d9)](_0x3b8542)[_0x7cefbd(0x2ea)](_0x50346e['distinctUntilChanged']());}['editingUnit'](_0x4c72c7){const _0xc4e005=_0x30d3e3;this[_0xc4e005(0x186)][_0xc4e005(0x231)]===0x0&&this[_0xc4e005(0x1d0)](),this['_selfUnitIDs']['add'](_0x4c72c7),this[_0xc4e005(0x291)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x4c72c7],'isForwarded':!0x1});}['disposeUnit'](_0x78acf){const _0x4d6162=_0x30d3e3;this[_0x4d6162(0x186)][_0x4d6162(0x288)](_0x78acf),this[_0x4d6162(0x186)][_0x4d6162(0x231)]===0x0&&this[_0x4d6162(0x2c7)]&&window[_0x4d6162(0x33d)](this[_0x4d6162(0x2c7)]);}['_init'](){const _0x360f01=_0x30d3e3;this[_0x360f01(0x23d)](_0x37798d[_0x360f01(0x274)](_0x50346e[_0x360f01(0x3fc)](window,_0x360f01(0x39b))[_0x360f01(0x3a7)](_0x4f5bf1=>{const _0x53f655=_0x360f01;if(_0x4f5bf1[_0x53f655(0x3d8)]!==_0x495173||!_0x4f5bf1[_0x53f655(0x25e)])return;const _0x368694=JSON['parse'](_0x4f5bf1[_0x53f655(0x25e)]);this[_0x53f655(0x393)](_0x368694);}))),window[_0x360f01(0x315)]('unload',()=>this[_0x360f01(0x291)]({'type':0x1,'memberID':this[_0x360f01(0x2ad)],'unitIDs':Array[_0x360f01(0x3d4)](this[_0x360f01(0x186)])}));}[_0x30d3e3(0x393)](_0x5ed031){const _0x133504=_0x30d3e3;switch(_0x5ed031[_0x133504(0x23a)]){case 0x0:this['_handleJoinEvent'](_0x5ed031);break;case 0x1:this[_0x133504(0x347)](_0x5ed031);break;case 0x2:this[_0x133504(0x399)](_0x5ed031);break;}}['_handleJoinEvent'](_0x26daf7){const _0x2910de=_0x30d3e3,{unitIDs:_0x285b84,memberID:_0x1f86cb,isForwarded:_0x164f54}=_0x26daf7;_0x285b84[_0x2910de(0x335)](_0x370463=>{const _0x5725c8=_0x2910de;if(!_0x164f54&&this[_0x5725c8(0x1ad)][_0x5725c8(0x1d8)](_0x370463)&&this['_ensureSubject'](_0x370463)['next'](_0x345c38['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x5725c8(0x1ad)][_0x5725c8(0x1d8)](_0x370463)||!this[_0x5725c8(0x1ad)]['get'](_0x370463)[_0x5725c8(0x1d8)](_0x1f86cb)){const _0x331644=this[_0x5725c8(0x1ad)]['get'](_0x370463)||new Set();_0x331644[_0x5725c8(0x2e1)](_0x1f86cb),this[_0x5725c8(0x1ad)][_0x5725c8(0x157)](_0x370463,_0x331644),this[_0x5725c8(0x33b)](_0x1f86cb);}}),_0x164f54||this[_0x2910de(0x291)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2910de(0x186)]],'isForwarded':!0x0});}[_0x30d3e3(0x33b)](_0x167cd7){const _0x244330=_0x30d3e3;this[_0x244330(0x17d)](_0x167cd7);const _0x211624=window[_0x244330(0x246)](()=>{const _0x38c386=_0x244330;this[_0x38c386(0x1ad)][_0x38c386(0x335)](_0x250ab9=>{const _0x2bc8a6=_0x38c386;_0x250ab9[_0x2bc8a6(0x288)](_0x167cd7);});},_0x115370*0x2);this[_0x244330(0x391)]['set'](_0x167cd7,_0x211624);}[_0x30d3e3(0x17d)](_0x1feb8){const _0x1eece0=_0x30d3e3;if(this[_0x1eece0(0x391)]['has'](_0x1feb8)){const _0x5247ab=this[_0x1eece0(0x391)][_0x1eece0(0x2ae)](_0x1feb8);_0x5247ab&&window[_0x1eece0(0x235)](_0x5247ab),this[_0x1eece0(0x391)]['set'](_0x1feb8,null);}}[_0x30d3e3(0x347)](_0x2df600){const _0x4665aa=_0x30d3e3,{memberID:_0x321920,unitIDs:_0x61645b}=_0x2df600;_0x61645b[_0x4665aa(0x335)](_0x6120d3=>{const _0x9a16c3=_0x4665aa;var _0xd02333;const _0x489e07=this[_0x9a16c3(0x1ad)]['get'](_0x6120d3);_0x489e07&&(_0x489e07[_0x9a16c3(0x288)](_0x321920),(_0xd02333=this[_0x9a16c3(0x2d9)](_0x6120d3))==null||_0xd02333[_0x9a16c3(0x340)](_0x489e07['size']===0x0?_0x345c38[_0x9a16c3(0x17b)]['NO_OTHER_CLIENTS_EDITING']:_0x345c38[_0x9a16c3(0x17b)][_0x9a16c3(0x1ca)]));}),this[_0x4665aa(0x17d)](_0x321920);}[_0x30d3e3(0x399)](_0x1d9673){const _0x3c1232=_0x30d3e3;this[_0x3c1232(0x33b)](_0x1d9673[_0x3c1232(0x1c6)]);}[_0x30d3e3(0x291)](_0x26b7a3){const _0x135a02=_0x30d3e3;localStorage[_0x135a02(0x377)](_0x495173,JSON['stringify'](_0x26b7a3));}[_0x30d3e3(0x1d0)](){const _0x4c3cb2=_0x30d3e3;this[_0x4c3cb2(0x2c7)]=window[_0x4c3cb2(0x155)](()=>{const _0x2c5c0b=_0x4c3cb2;this[_0x2c5c0b(0x291)]({'type':0x2,'memberID':this['_id']});},_0x115370);}[_0x30d3e3(0x2d9)](_0x30c86f){const _0x29247d=_0x30d3e3;return this[_0x29247d(0x240)][_0x29247d(0x1d8)](_0x30c86f)||this[_0x29247d(0x240)][_0x29247d(0x157)](_0x30c86f,new _0x50346e[(_0x29247d(0x1a3))](_0x345c38[_0x29247d(0x17b)][_0x29247d(0x1d1)])),this[_0x29247d(0x240)][_0x29247d(0x2ae)](_0x30c86f);}}var _0x90e5dc=(_0x4234cb=>(_0x4234cb[_0x4234cb[_0x30d3e3(0x1a2)]=0x0]='UNDEFINED',_0x4234cb[_0x4234cb['OK']=0x1]='OK',_0x4234cb[_0x4234cb[_0x30d3e3(0x30a)]=0x2]=_0x30d3e3(0x30a),_0x4234cb[_0x4234cb['PERMISSION_DENIED']=0x3]=_0x30d3e3(0x250),_0x4234cb[_0x4234cb[_0x30d3e3(0x3e0)]=0x4]=_0x30d3e3(0x3e0),_0x4234cb[_0x4234cb['UNAUTHENTICATED']=0x5]=_0x30d3e3(0x3a4),_0x4234cb[_0x4234cb[_0x30d3e3(0x2ec)]=0x6]=_0x30d3e3(0x2ec),_0x4234cb[_0x4234cb[_0x30d3e3(0x15d)]=0x7]='INVALID_ARGUMENT',_0x4234cb[_0x4234cb[_0x30d3e3(0x353)]=0x8]='TOO_MANY_REQUESTS',_0x4234cb[_0x4234cb[_0x30d3e3(0x3df)]=0x9]=_0x30d3e3(0x3df),_0x4234cb[_0x4234cb[_0x30d3e3(0x1fb)]=0xa]=_0x30d3e3(0x1fb),_0x4234cb[_0x4234cb[_0x30d3e3(0x1ce)]=0x1389]=_0x30d3e3(0x1ce),_0x4234cb[_0x4234cb['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x30d3e3(0x19c),_0x4234cb[_0x4234cb[_0x30d3e3(0x323)]=0x1772]=_0x30d3e3(0x323),_0x4234cb[_0x4234cb[_0x30d3e3(0x189)]=0x1773]=_0x30d3e3(0x189),_0x4234cb[_0x4234cb[_0x30d3e3(0x25a)]=0x1b59]=_0x30d3e3(0x25a),_0x4234cb[_0x4234cb[_0x30d3e3(0x2c0)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4234cb[_0x4234cb[_0x30d3e3(0x314)]=0x1b5b]=_0x30d3e3(0x314),_0x4234cb[_0x4234cb[_0x30d3e3(0x385)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4234cb[_0x4234cb[_0x30d3e3(0x1a4)]=0x1b5d]='APPLY_DUPLICATED',_0x4234cb[_0x4234cb['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x30d3e3(0x198),_0x4234cb[_0x4234cb[_0x30d3e3(0x3c1)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4234cb[_0x4234cb[_0x30d3e3(0x1c5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4234cb[_0x4234cb[_0x30d3e3(0x2dd)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4234cb[_0x4234cb[_0x30d3e3(0x332)]=0x232c]=_0x30d3e3(0x332),_0x4234cb[_0x4234cb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x30d3e3(0x36c),_0x4234cb[_0x4234cb[_0x30d3e3(0x184)]=0x2711]=_0x30d3e3(0x184),_0x4234cb[_0x4234cb[_0x30d3e3(0x356)]=0x2712]=_0x30d3e3(0x356),_0x4234cb[_0x4234cb[_0x30d3e3(0x2ff)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4234cb[_0x4234cb[_0x30d3e3(0x245)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4234cb[_0x4234cb[_0x30d3e3(0x2df)]=0x271a]=_0x30d3e3(0x2df),_0x4234cb[_0x4234cb[_0x30d3e3(0x224)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4234cb[_0x4234cb[_0x30d3e3(0x234)]=0x271c]=_0x30d3e3(0x234),_0x4234cb[_0x4234cb[_0x30d3e3(0x273)]=0x271d]=_0x30d3e3(0x273),_0x4234cb[_0x4234cb[_0x30d3e3(0x21f)]=0x271e]=_0x30d3e3(0x21f),_0x4234cb[_0x4234cb[_0x30d3e3(0x2e3)]=0x271f]=_0x30d3e3(0x2e3),_0x4234cb[_0x4234cb[_0x30d3e3(0x31a)]=0x2af9]=_0x30d3e3(0x31a),_0x4234cb[_0x4234cb[_0x30d3e3(0x1e1)]=0x2ee1]=_0x30d3e3(0x1e1),_0x4234cb[_0x4234cb[_0x30d3e3(0x266)]=0x2ee2]=_0x30d3e3(0x266),_0x4234cb[_0x4234cb[_0x30d3e3(0x1d5)]=0x2ee3]=_0x30d3e3(0x1d5),_0x4234cb[_0x4234cb[_0x30d3e3(0x193)]=0x2ee4]=_0x30d3e3(0x193),_0x4234cb[_0x4234cb[_0x30d3e3(0x3d6)]=0x2ee5]=_0x30d3e3(0x3d6),_0x4234cb[_0x4234cb[_0x30d3e3(0x262)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4234cb[_0x4234cb[_0x30d3e3(0x230)]=0x32ca]=_0x30d3e3(0x230),_0x4234cb[_0x4234cb[_0x30d3e3(0x383)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4234cb[_0x4234cb[_0x30d3e3(0x20d)]=-0x1]=_0x30d3e3(0x20d),_0x4234cb))(_0x90e5dc||{}),_0x558513=Object[_0x30d3e3(0x303)],_0x375126=(_0x196c5b,_0x1926be,_0x346524,_0x587961)=>{for(var _0x5d095f=_0x587961>0x1?void 0x0:_0x587961?_0x558513(_0x1926be,_0x346524):_0x1926be,_0x3512c7=_0x196c5b['length']-0x1,_0x42756a;_0x3512c7>=0x0;_0x3512c7--)(_0x42756a=_0x196c5b[_0x3512c7])&&(_0x5d095f=_0x42756a(_0x5d095f)||_0x5d095f);return _0x5d095f;},_0x1a66fa=(_0x5207ee,_0x3602d9)=>(_0x457a92,_0x430d95)=>_0x3602d9(_0x457a92,_0x430d95,_0x5207ee);_0x27a00d[_0x30d3e3(0x223)]=class extends _0x37798d[_0x30d3e3(0x2b3)]{constructor(_0x49556f,_0x1feb6c,_0x4a1032){const _0x25c789=_0x30d3e3;super(),this[_0x25c789(0x3f8)]=_0x49556f,this[_0x25c789(0x309)]=_0x1feb6c,this[_0x25c789(0x31e)]=_0x4a1032;}async[_0x30d3e3(0x3e5)](_0x1d8c39,_0x534d93,_0x498163,..._0xf0582e){const _0x13432e=_0x30d3e3;var _0x8a5889,_0x5a7bb2,_0x157c23,_0x4f2503;const _0x2530fb=this[_0x13432e(0x3f8)][_0x13432e(0x25b)]();if(!_0x2530fb)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x16ccbc=((_0x8a5889=this[_0x13432e(0x31e)][_0x13432e(0x3b7)](_0x345c38[_0x13432e(0x3cb)]))!=null?_0x8a5889:_0x345c38[_0x13432e(0x1db)])+'/'+_0x1d8c39+_0x13432e(0x36e)+_0x534d93,_0x11b600=new URL(window[_0x13432e(0x227)][_0x13432e(0x1a8)]),_0x3b880d={'scriptId':_0x1d8c39,'runId':(_0x5a7bb2=_0x11b600['searchParams'][_0x13432e(0x2ae)]('runId'))!=null?_0x5a7bb2:'','function':_0x534d93,'unitId':_0x2530fb[_0x13432e(0x218)](),'argsOfFunction':JSON[_0x13432e(0x3fa)](_0xf0582e),'invokeId':(_0x157c23=_0x498163[_0x13432e(0x22d)])!=null?_0x157c23:'','executionId':(_0x4f2503=_0x498163[_0x13432e(0x19a)])!=null?_0x4f2503:''};try{const _0x524921=await this[_0x13432e(0x309)][_0x13432e(0x327)](_0x16ccbc,{'body':_0x3b880d});return _0x524921['body'][_0x13432e(0x1f2)]&&_0x524921[_0x13432e(0x395)][_0x13432e(0x1f2)][_0x13432e(0x2d5)]!==_0x90e5dc['OK']?'Failed':_0x524921[_0x13432e(0x395)][_0x13432e(0x364)];}catch{return'Failed';}}},_0x27a00d['RemoteUniscriptService']=_0x375126([_0x1a66fa(0x0,_0x37798d[_0x30d3e3(0x39c)]),_0x1a66fa(0x1,_0x37798d['Inject'](_0x344cf1[_0x30d3e3(0x26d)])),_0x1a66fa(0x2,_0x37798d[_0x30d3e3(0x169)])],_0x27a00d[_0x30d3e3(0x223)]),_0x27a00d[_0x30d3e3(0x3a5)]=_0x28b20a,_0x27a00d['IURLService']=_0x41f23a,_0x27a00d['SheetCollabCursorShape']=_0x1e39e2,_0x27a00d[_0x30d3e3(0x30b)]=_0x26a6d2,_0x27a00d['WebURLService']=_0xf4832a,Object['defineProperty'](_0x27a00d,Symbol[_0x30d3e3(0x18c)],{'value':_0x30d3e3(0x192)});}));function _0x4e31(_0x21952f,_0x1a4c8c){const _0x1d4d4d=_0x1d4d();return _0x4e31=function(_0x4e31c6,_0x5c3d29){_0x4e31c6=_0x4e31c6-0x153;let _0x77fd65=_0x1d4d4d[_0x4e31c6];return _0x77fd65;},_0x4e31(_0x21952f,_0x1a4c8c);}function _0x1d4d(){const _0x5f12c9=['unitId','@univerjs/docs-ui','location','className','UniverRpc','max','sessionStatus$','isTransformMutationsWithChangesetSuccess','invokeId','SetTextSelectionsOperation','ILogService','MOBILE_HAS_BEEN_BOUND','size','SUBMIT_CHANGESET_TIMEOUT','hasOwnProperty','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clearTimeout','InsertRangeMoveDownCommandId','INotificationService','_transformUndoRedoStack','RichTextEditingMutation','type','EffectRefRangId','16821chqLPq','disposeWithMe','TEXT_RANGE_LAYER_INDEX','min','_unitStatus','UniverCollaborationClientPlugin','10eOjAAi','_cursorInfo$','_anchor','YUUMI_SUBSCRIPTION_NOT_FOUND','setTimeout','path','_drawRectRange','getActiveSheet','symbol','white','push','permission.title','UniverInstanceType','setAlpha','PERMISSION_DENIED','SOCKET_FAILED','LOCAL_CACHE_INTERVAL_KEY','_docClipboardService','_univerInstanceService','_docTransformSelectionsService','_textBubble','@univerjs/docs','deserializeRangeWithSheet','entityInit$','APPLY_REJECT','getFocusedUnit','jsx','@univerjs/core','newValue','ThemeService','_doCreateSocket','react','WECHAT_HAS_BEEN_BOUND','getRelativeToViewportCoord','DocSelectionManagerService','collabStatus.conflict','INVALID_INVITE_CODE','ISnapshotServerService','UniverDocs','onPointerLeave$','loadOfflineData','findNodePositionByCharIndex','onPointerMove$','HTTPService','generateRandomId','DeleteRangeMoveLeftCommandId','IRemoteInstanceService','show','fromEventSubject','YUUMI_ALL_TABLES_IS_INVALID','toDisposable','replace','map','onMouseMove','evenodd','search','init','...','1432HZYzhM','_labelPosition','FromArray','application/json','M0\x200H16V16H0z','registerRenderModule','Vector2','takeUntil','transformStateCache','@univerjs/sheets-ui','mask','attrs','delete','getCellPositionByOffset','DocStateChangeManagerService','univer-flex\x20univer-items-center','UniverEngineFormula','OTHER_CLIENT_EDITING','saveImage','getSheetBySheetId','measureText','_send','CollaborationEvent','disableLocalCache','@univerjs/drawing','getDocRanges','_cursorShapes','handleIRemoveCol','@univerjs/engine-render','handleMoveRange','setParam','jsxs','getCurrentSelections','backgroundColor','defineProperty','getRenderById','#FFF','_refreshCollabCursors','getLocalCacheKey','then','@univerjs/ui','_render','_localeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SHEET_VIEWPORT_KEY','CollaborationController','NOT_COLLAB','onPointerEnter$','_roomMembers$','_id','get','6818147TPRKkb','debounce','_beforeCloseService','_updateSubUnitFromURLParams','Disposable','_setupBeforeClosingHandler','session.connection-failed','_getSessionTicket','_initEntityListener','resize','_hovered','beginPath','SessionStatus','UniverDrawing','xlink:href','setConfig','UniverEngineRender','APPLY_NON_SEQUENTIAL_REVISION','MessageType','font','roomMembers$','Shape','_online','event$','_heartbeatTimer','use','selections','dispose$','loadUnit','fillRule','getCurrentUnitForType','substring','mapTo','_status$','MoveRangeCommandId','COLORS','RECT','_saveCache','code','isEditing','contains','collaboration.closeRoom','_ensureSubject','_entityInit$','OffLineIcon','wsSessionTicketUrl','LICENSE_IMPORT_SIZE_EXCEEDED','react/jsx-runtime','YUUMI_NO_CUBOID_FOR_QUESTION','on-line-icon','add','_startDocCollabCursor','YUUMI_AI_RUN_FAILED','DOC_RANGE_TYPE','VIEW_MAIN','_commandService','1531482pXnSKF','_entities','transformSelections','pipe','_startSheetCollabCursor','ALREADY_EXISTS','_initStatusListener','color','Tooltip','undoState','collab-rect-range-','split','_session','SetSelectionsOperation','lineTo','getUniverSheetInstance','0\x200\x2016\x2016','_initEvent','@univerjs-pro/collaboration','_scene','tag','http://www.w3.org/2000/svg','useCallback','_drawAnchor','YUUMI_RATE_OVER_LIMIT','random','currentTheme$','_anchorDot','getOwnPropertyDescriptor','UNIVER_DOC','_notificationService','UniverSheetsUi','_dataLoaderService','onCommandExecuted','_httpService','INTERNAL_ERROR','WebBrowserSingleActiveUnitService','getItem','colorChannel1','_hideTimer','getTypeOfUnitAdded$','svg','UNIVER_SHEET','_setupSubUnitSync','collab-text-range-','APPLY_REVISION_CONFILICT','addEventListener','SheetSkeletonManagerService','registerDependencies','_removeCollabCursors','params','PY_RUNTIME_SCRIPT_ERROR','RefRangeService','div','UniverNetwork','_configService','_eventUnsubscribe','_drawTextRange','_getAnchorBounding','DEFAULT_WS_SESSION_TICKET_URL','SNAPSHOT_HAS_BEEN_REMOVED','DependentOn','_backgroundColor','UniverDesign','post','fill','IImageIoService','requireSession','round','off-line-icon_clip0_910_343','_transformPreviousActiveRange','ranges','_syncEditingCollabCursorService','Inject','actions','LICENSE_EXPORT_SIZE_EXCEEDED','entries','@univerjs/network','forEach','AWAITING_WITH_PENDING','touchDependencies','_config','getSheetId','InsertRowCommandId','_scheduleClearOtherTimer','univerjs-icon\x20univerjs-icon-','clearInterval','@univerjs/engine-formula','_injector','next','top','_urlService','getStateCache','saveOfflineData','onStarting','mergeOverrideWithDependencies','_handleLeaveEvent','exhaustSavingTask','createSocket','Rect','ticket','SetWorksheetActivateCommand','_cursors','_shapes','NodePositionConvertToCursor','prototype','text','_hover','TOO_MANY_REQUESTS','RegularPolygon','runId','YUUMI_URL_COL_OUT_OF_RANGE','history','toString','collabStatus.fetchMiss','HEADER_MENU','_updateCollabCursors','_messageService','4bjVDWq','isTransformMutationFailure','_renderManagerService','_getMergeRange','[CollaborationDataLoaderController]','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','complete','result','doc.mutation.rich-text-editing','idSuffix','unit','collab-client.tooltip.reconnect','UniverCollaborationClientUIPlugin','addObject','restore','LICENSE_DISTRO_REJECTED','DataLoaderService','/run/','extend','collaboration.single-unit.warning','m2Prime','getCoordByCell','_docTransformIMECacheService','collabStatus.syncing','width','UniverProCollaboration','setItem','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','name','defs','getUndoRedoMutationParamsCache','@univerjs/design','_draw','IDocClipboardService','_onCursorDelete','popstate','JOIN_ROOM_FAILED','on-line-icon_clip0_910_349','EMAIL_HAS_BEEN_BOUND','_initStatusComponent','APPLY_PERMISSION_DENIED','_toggleOffline','onLocalMutation','defIds','_uiPartsService','_docSyncEditingCollabCursorService','PENDING','CONFLICT','pushState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getCurrentRevOfUnit','_collaborationController','_clearOtherTimers','forwardRef','_handleEvent','UniverIcon','body','startsWith','concat','createInstance','_handleHeartbeatEvent','isActive','storage','IUniverInstanceService','RemoveColCommandId','RxDisposable','getActiveRange','hide','_toggleOnline','currentSkeleton$','some','UNAUTHENTICATED','CollaborationStatusDisplay','debug','subscribe','0\x200\x2017\x2016','Subject','_themeService','2097510eVVloZ','_lastPointer','none','length','transformMutationsWithChangeset','handleDeleteRangeMoveLeft','exports','session.will-retry','CollaborationDataLoaderController','4IFpVJt','getUnitStatus$','_disabled','getConfig','401942xOpHAj','937569oxhdpK','@univerjs-pro/collaboration-client','labelPosition','getValue','ColorKit','subscribeEvent','_colorAssignService','setUndoRedoMutationParamsCache','LICENSE_MAX_UNITS_EXCEEDED','_imageIoService','SYNCED','selection','ISocketService','OFFLINE','data','getCollabEntity$','useDependency','_collabSessionService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Injector','subunit','getAncestorScale','jiqing.500','collabStatus.offline','focused$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','urlChange$','from','startRow','INVITE_CODE_ALREADY_BOUND','DocSkeletonManagerService','key','_getSheetObject','IRenderManagerService','setShapeProps','closePath','ONLINE','row','COMPLETION_FINISHED','NOT_FOUND','assignAColorForMemberID','rxjs/operators','transformRemoteChangeset','rxjs','runOnServer','roomMembers','getCollabCursors$','searchParams','engine','_memberService','CollaborationUIEventId','clsx','Plugin','_colorIndex','endRow','handleInsertRangeMoveRight','textRanges','clipPath','yellow.400','useRef','imageSourceType','registerRefRange','UniverSheets','_instanceService','createElement','stringify','USERS_LEAVE','fromEvent','current','rgba(255,\x20255,\x20255,\x200.01)','setInterval','_saveTaskMap','set','_localStorageService','getSkeleton','_collabCursorState$','6551204UnZXSR','_range','INVALID_ARGUMENT','unitID','TEXT','CommandType','_transformHistoryAndStateStack','UniverDocsUi','height','startColumn','moveTo','docStateChange$','endColumn','cursorInfo$','IConfigService','drawWith','triggerDblclick','collabStatus.notCollab','_context','_initDependencies','combineLatest','operators','_assignedColors','FETCH_MISS','displayName','save','getOwnPropertySymbols','_transformService','enableLocalCache','React','onRendered','filter','UnitStatus','whenReady','_removeClearOtherTimer','redoState','getTypeOfUnitDisposed$','UniverProCollaborationClientUi','_docStateChangeManagerService','apply','url(#off-line-icon_clip0_910_343)','YUUMI_UNABLE_LOAD_URL','_scheduleSaving','_selfUnitIDs','@univerjs/sheets','fillText','ENSURE_SNAPSHOT_EXECUTION','getRangePointData','UniverProCollaborationClient','toStringTag','propertyIsEnumerable','arc','handleInsertRow','includes','_registerRenderDependencies','Module','USER_NOT_INVITED_CODE','_docTransformStateCacheService','getColor','setStateCache','merge','CONNECTOR_DATA_TOO_LARGE','throttleTime','executionId','toRgbString','SNAPSHOT_INVALID_SNAPSHOT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','switchMap','blue.400','mutations','DocIMEInputManagerService','UNDEFINED','BehaviorSubject','APPLY_DUPLICATED','IMessageService','_init','translate(.97)','href','sheetId','off-line-icon','_cursor','getUnhiddenWorksheets','_unitOnClients','find','string','registerComponent','SetDocZoomRatioOperation','ILocalCacheService','@univerjs/rpc','_docSkeleton','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','all','isArray','replaceState','handleIRemoveRow','_name','unshift','getParam','_onRefRangeChange','indexOf','column','bottom','CLOSE_ROOM','debounceTime','_collabCursorController','ICommandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','memberID','_logService','_document','Warning','OTHER_CLIENTS_EDITING','currentColor','executeCommand','sheetID','CHANGESET_REVISION_CONFILICT','_registerDependencies','_scheduleHeartbeat','NO_OTHER_CLIENTS_EDITING','1em','_initCommandExecutedListener','_sheetSkeletonManagerService','INVITE_CODE_REQUIRED','_revisionService','getViewport','has','dispose','Unknown\x20user','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DisposableCollection','_handleHover','RemoveRowCommandId','_localCacheService','getMemberID','INVITE_CODE_HAS_BEEN_UES','addHandlerCallback','getSheetObject','call','collab-text-anchor-','_initResize','purple.300','_createSocketURL','BrowserCollaborationSocketService','unsubscribe','collabCursorState$','uni.network.url-service','url(#$1','transformMutation','CollaborationStatus','Optional','range','error','permission.content','saveTaskMap','origin','_cachedData','_updateURLWithCurrentState','transformIMECache','with','m1Prime','LOGIN_FAILED','collaboration-client-ui.config','children','subUnitId','Error','flatMap','setActiveRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LocaleService','assign','IUIPartsService','SOCKET_FAILED_RETRY','InsertRangeMoveRightCommandId','asObservable','function','black','DesktopCollaborationStatusDisplayController','InsertColCommandId','UNRECOGNIZED','deepClone','collaboration-client.offline-data-not-saved','handleDeleteRangeMoveUp','MUTATION','_updateLocalCursor','UniverUi','MemberService','_color','getCurrent','ITransformService','getUnitId','getVpScrollXYInfoByPosToVp','UPDATE_CURSOR','_refRangeService','Tools','session.collaboration-timeout','green.600','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onCursorUpdate','CollaborationSessionService','cursorInfo','RemoteUniscriptService','YUUMI_ASYNCIO_CANCELLED'];_0x1d4d=function(){return _0x5f12c9;};return _0x1d4d();}
|