@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-ab93895 → 0.6.10-experimental.20250428-63779a3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1eaa(_0x4948ed,_0x2fa136){const _0x39ec75=_0x39ec();return _0x1eaa=function(_0x1eaace,_0x517aa7){_0x1eaace=_0x1eaace-0x6a;let _0x5d2fe2=_0x39ec75[_0x1eaace];return _0x5d2fe2;},_0x1eaa(_0x4948ed,_0x2fa136);}(function(_0x53f3ee,_0x4def73){const _0x4876cd=_0x1eaa,_0x3f57ba=_0x53f3ee();while(!![]){try{const _0x39f074=-parseInt(_0x4876cd(0x198))/0x1*(parseInt(_0x4876cd(0x194))/0x2)+parseInt(_0x4876cd(0xb2))/0x3*(-parseInt(_0x4876cd(0x2c5))/0x4)+parseInt(_0x4876cd(0x139))/0x5*(-parseInt(_0x4876cd(0x2d2))/0x6)+-parseInt(_0x4876cd(0x120))/0x7*(parseInt(_0x4876cd(0x2b8))/0x8)+parseInt(_0x4876cd(0x265))/0x9*(parseInt(_0x4876cd(0x70))/0xa)+parseInt(_0x4876cd(0xaa))/0xb+parseInt(_0x4876cd(0xbf))/0xc;if(_0x39f074===_0x4def73)break;else _0x3f57ba['push'](_0x3f57ba['shift']());}catch(_0x8b8f67){_0x3f57ba['push'](_0x3f57ba['shift']());}}}(_0x39ec,0xf1e49),function(_0x4652f7,_0x27c63f){const _0x2308a1=_0x1eaa;typeof exports==_0x2308a1(0xf2)&&typeof module<'u'?_0x27c63f(exports,require(_0x2308a1(0x249)),require(_0x2308a1(0xe3)),require('@univerjs/engine-render'),require(_0x2308a1(0x2fc)),require('@univerjs/docs-ui'),require(_0x2308a1(0x10a)),require(_0x2308a1(0x14a)),require(_0x2308a1(0x14c)),require('@univerjs-pro/collaboration'),require(_0x2308a1(0x1ed)),require('@univerjs/sheets'),require(_0x2308a1(0x25e)),require('@univerjs/sheets-ui'),require(_0x2308a1(0x228)),require(_0x2308a1(0x2a5)),require(_0x2308a1(0x2ac)),require(_0x2308a1(0x140)),require('@univerjs/rpc')):typeof define==_0x2308a1(0x73)&&define['amd']?define([_0x2308a1(0x298),_0x2308a1(0x249),'@univerjs/core',_0x2308a1(0x15e),_0x2308a1(0x2fc),'@univerjs/docs-ui',_0x2308a1(0x10a),_0x2308a1(0x14a),_0x2308a1(0x14c),'@univerjs-pro/collaboration',_0x2308a1(0x1ed),_0x2308a1(0x71),_0x2308a1(0x25e),_0x2308a1(0x2e1),_0x2308a1(0x228),'@univerjs/ui',_0x2308a1(0x2ac),_0x2308a1(0x140),_0x2308a1(0x294)],_0x27c63f):(_0x4652f7=typeof globalThis<'u'?globalThis:_0x4652f7||self,_0x27c63f(_0x4652f7['UniverProCollaborationClientUi']={},_0x4652f7[_0x2308a1(0x22c)],_0x4652f7[_0x2308a1(0x278)],_0x4652f7[_0x2308a1(0x2c4)],_0x4652f7[_0x2308a1(0x24e)],_0x4652f7['UniverDocsUi'],_0x4652f7[_0x2308a1(0x237)],_0x4652f7['rxjs'],_0x4652f7['UniverDocs'],_0x4652f7[_0x2308a1(0x179)],_0x4652f7['UniverEngineFormula'],_0x4652f7[_0x2308a1(0xcf)],_0x4652f7[_0x2308a1(0x14a)]['operators'],_0x4652f7['UniverSheetsUi'],_0x4652f7['React'],_0x4652f7['UniverUi'],_0x4652f7[_0x2308a1(0x24c)],_0x4652f7['React'],_0x4652f7['UniverRpc']));}(this,function(_0x1a6cab,_0x3d05ed,_0x4d006c,_0x3ce196,_0x651cbe,_0x5051a5,_0xb0693b,_0x424996,_0x2b2a28,_0x12f559,_0x1371df,_0x231e9c,_0x4e626c,_0x4a87b2,_0x4ce13b,_0x1b6316,_0x1f5fc2,_0x3fb4d0,_0x5adf1e){'use strict';const _0x125ea8=_0x1eaa;var _0x2fd6c2=Object['defineProperty'],_0x342b02=(_0x5aaf5d,_0x55de50,_0x1751f8)=>_0x55de50 in _0x5aaf5d?_0x2fd6c2(_0x5aaf5d,_0x55de50,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1751f8}):_0x5aaf5d[_0x55de50]=_0x1751f8,_0x321a93=(_0x3eb722,_0x5f1712,_0x507c30)=>_0x342b02(_0x3eb722,typeof _0x5f1712!=_0x125ea8(0x245)?_0x5f1712+'':_0x5f1712,_0x507c30),_0x171bef=Object[_0x125ea8(0x209)],_0x3e0f6a=(_0x194f7f,_0x329c11,_0x37c7d5,_0x5a7137)=>{const _0x555ac1=_0x125ea8;for(var _0x2225f4=_0x5a7137>0x1?void 0x0:_0x5a7137?_0x171bef(_0x329c11,_0x37c7d5):_0x329c11,_0x45626f=_0x194f7f[_0x555ac1(0xb7)]-0x1,_0x8f6085;_0x45626f>=0x0;_0x45626f--)(_0x8f6085=_0x194f7f[_0x45626f])&&(_0x2225f4=_0x8f6085(_0x2225f4)||_0x2225f4);return _0x2225f4;},_0x11af32=(_0x2e7fca,_0x275c4b)=>(_0x5e3722,_0x58d1b2)=>_0x275c4b(_0x5e3722,_0x58d1b2,_0x2e7fca);let _0x22fe1a=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x13b101,_0x2b3e93){const _0x5353fc=_0x125ea8;super(),this[_0x5353fc(0x7d)]=_0x13b101,this[_0x5353fc(0x1fe)]=_0x2b3e93,this[_0x5353fc(0x2c1)]();}[_0x125ea8(0x2c1)](){const _0x2883b1=_0x125ea8,_0x12d94c=this;this[_0x2883b1(0xd9)](this[_0x2883b1(0x7d)][_0x2883b1(0xe1)]({'onBeforePasteImage':async _0xd2b883=>{const _0x232fde=_0x2883b1,_0x28e298=await _0x12d94c[_0x232fde(0x1fe)][_0x232fde(0xed)](_0xd2b883);return _0x28e298?{'source':_0x28e298[_0x232fde(0x79)],'imageSourceType':_0x28e298[_0x232fde(0xef)]}:null;}}));}};_0x22fe1a=_0x3e0f6a([_0x11af32(0x0,_0x5051a5[_0x125ea8(0xde)]),_0x11af32(0x1,_0xb0693b[_0x125ea8(0x1ab)])],_0x22fe1a);const _0x34f80e=[_0x125ea8(0x145),_0x125ea8(0x7b),_0x125ea8(0x2f6),_0x125ea8(0x2bc),'blue400','gold400'];class _0x1bdb8f extends _0x4d006c['Disposable']{constructor(){const _0x18825c=_0x125ea8;super(...arguments),_0x321a93(this,_0x18825c(0x182),new Map()),_0x321a93(this,'_colorIndex',0x0);}[_0x125ea8(0x257)](_0x2e1502){const _0xc3d5b8=_0x125ea8;if(this[_0xc3d5b8(0x182)][_0xc3d5b8(0x2e7)](_0x2e1502))return this[_0xc3d5b8(0x182)][_0xc3d5b8(0x205)](_0x2e1502);const _0x4b5727=_0x34f80e[this[_0xc3d5b8(0x2fa)]];return this[_0xc3d5b8(0x2fa)]=(this[_0xc3d5b8(0x2fa)]+0x1)%_0x34f80e[_0xc3d5b8(0xb7)],this[_0xc3d5b8(0x182)]['set'](_0x2e1502,_0x4b5727),_0x4b5727;}}function _0x141f60(_0x46fc3d){let _0x152c9a='';for(const _0x291652 of _0x46fc3d){const {startOffset:_0x4b8f0e,endOffset:_0x28d9b7,isActive:_0x166b29,rangeType:_0x204da,segmentId:_0x3f291a,segmentPage:_0x35550d}=_0x291652;_0x152c9a['length']&&(_0x152c9a+=','),_0x152c9a+=_0x4b8f0e+':'+_0x28d9b7+':'+(_0x166b29?'1':'0')+':'+_0x204da+':'+_0x3f291a+':'+_0x35550d;}return _0x152c9a;}function _0x4c1c82(_0x5cd4a2){const _0x2cec34=_0x125ea8,_0x3b8916=_0x5cd4a2[_0x2cec34(0xb0)](','),_0x3eb0f5=[];for(const _0x3ecb64 of _0x3b8916){const [_0x402021,_0x4f9bab,_0x47ffd8,_0x36e09e,_0x2716c4,_0x20b6d4]=_0x3ecb64[_0x2cec34(0xb0)](':');_0x3eb0f5[_0x2cec34(0x2e4)]({'startOffset':Number(_0x402021),'endOffset':Number(_0x4f9bab),'collapsed':_0x402021===_0x4f9bab,'isActive':_0x47ffd8==='1','rangeType':_0x36e09e===_0x4d006c['DOC_RANGE_TYPE'][_0x2cec34(0x22e)]?_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0x22e)]:_0x4d006c[_0x2cec34(0x25c)][_0x2cec34(0xee)],'segmentId':typeof _0x2716c4=='string'?String(_0x2716c4):'','segmentPage':Number(_0x20b6d4!=null?_0x20b6d4:-0x1)});}return _0x3eb0f5['some'](_0x511a40=>_0x511a40[_0x2cec34(0x100)])||(_0x3eb0f5[0x0][_0x2cec34(0x100)]=!0x0),_0x3eb0f5;}class _0x167556 extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x284065=_0x125ea8;super(...arguments),_0x321a93(this,_0x284065(0x26e),new _0x424996['BehaviorSubject'](null)),_0x321a93(this,_0x284065(0x7e),this[_0x284065(0x26e)]['asObservable']());}[_0x125ea8(0x1a4)](_0x4bafdb){const _0x330d68=_0x125ea8,{unitID:_0x55b1e6,memberID:_0x553f29,textRanges:_0xa9b14}=_0x4bafdb,_0x5b1a32=_0x141f60(_0xa9b14);if(_0x5b1a32==='')return;const _0x5c4fd7={'unitID':_0x55b1e6,'memberID':_0x553f29,'selection':_0x5b1a32};this[_0x330d68(0x26e)][_0x330d68(0xa3)](_0x5c4fd7);}}var _0x4b7ddf=Object[_0x125ea8(0x209)],_0x1081c5=(_0x55d458,_0x26d532,_0x155906,_0x13807b)=>{const _0x3bdd7a=_0x125ea8;for(var _0x38d416=_0x13807b>0x1?void 0x0:_0x13807b?_0x4b7ddf(_0x26d532,_0x155906):_0x26d532,_0x2a4484=_0x55d458[_0x3bdd7a(0xb7)]-0x1,_0x2e65fd;_0x2a4484>=0x0;_0x2a4484--)(_0x2e65fd=_0x55d458[_0x2a4484])&&(_0x38d416=_0x2e65fd(_0x38d416)||_0x38d416);return _0x38d416;},_0x487bf2=(_0x4ff345,_0x52a4e6)=>(_0x271d55,_0x2e3311)=>_0x52a4e6(_0x271d55,_0x2e3311,_0x4ff345);const _0x467c21=0x12c,_0x45daee=0x64;let _0x1fe332=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x443ca0,_0xb8d697,_0x3a7571,_0x18eaf9,_0x400ce9,_0x404f27,_0x2ef8f4,_0x242048,_0x18cb63){const _0x1213f4=_0x125ea8;super(),_0x321a93(this,'_online',!0x1),_0x321a93(this,_0x1213f4(0x2c1),!0x1),_0x321a93(this,'_cursorInfo$',new _0x424996[(_0x1213f4(0x170))](new Map())),_0x321a93(this,_0x1213f4(0x1a0),this['_cursorInfo$']['asObservable']()),_0x321a93(this,_0x1213f4(0x20a),new _0x424996[(_0x1213f4(0x170))]([])),_0x321a93(this,_0x1213f4(0x1b0),this[_0x1213f4(0x20a)][_0x1213f4(0x2c2)](_0x424996[_0x1213f4(0x267)](_0x467c21))),_0x321a93(this,_0x1213f4(0x13a),_0x4d006c[_0x1213f4(0x7f)](_0xae959d=>{const _0x53014d=_0x1213f4,_0x4d1b27={'eventID':_0x12f559[_0x53014d(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x53014d(0xae)],'memberID':this[_0x53014d(0x280)][_0x53014d(0x11d)](),'selection':_0x141f60(_0xae959d)}};this[_0x53014d(0x280)][_0x53014d(0x1a6)](_0x4d1b27,this['unitID']);},_0x45daee)),(this[_0x1213f4(0xae)]=_0x443ca0,this[_0x1213f4(0x280)]=_0xb8d697,this['_injector']=_0x3a7571,this[_0x1213f4(0xbb)]=_0x18eaf9,this['_memberService']=_0x400ce9,this[_0x1213f4(0x1f1)]=_0x404f27,this[_0x1213f4(0xdb)]=_0x2ef8f4,this[_0x1213f4(0x1af)]=_0x242048,this[_0x1213f4(0xe8)]=_0x18cb63);}get[_0x125ea8(0x241)](){const _0x14c3a4=_0x125ea8;return this[_0x14c3a4(0x144)][_0x14c3a4(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x4f1b89=_0x125ea8;return this[_0x4f1b89(0x20a)][_0x4f1b89(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x5d7746=_0x125ea8;super[_0x5d7746(0x23f)](),this[_0x5d7746(0x144)][_0x5d7746(0xa3)](new Map()),this['_cursorInfo$'][_0x5d7746(0x2a2)](),this[_0x5d7746(0x20a)]['next']([]),this[_0x5d7746(0x20a)][_0x5d7746(0x2a2)]();}[_0x125ea8(0x101)](){const _0x57bd33=_0x125ea8;this[_0x57bd33(0x2c1)]||(this[_0x57bd33(0x2c1)]=!0x0,this[_0x57bd33(0x280)]['sessionStatus$'][_0x57bd33(0x2c2)](_0x424996['takeUntil'](this[_0x57bd33(0x281)]))[_0x57bd33(0x2fb)](_0x2065be=>{const _0x413d4b=_0x57bd33;_0x2065be===_0x3d05ed['SessionStatus'][_0x413d4b(0xc5)]?this[_0x413d4b(0x169)]():this[_0x413d4b(0x1d2)]();}),this[_0x57bd33(0x280)][_0x57bd33(0x2bb)]['pipe'](_0x424996[_0x57bd33(0x2b2)](this[_0x57bd33(0x281)]))['subscribe'](_0x14a45a=>{const _0x5a0f44=_0x57bd33,_0x44cbeb=_0x14a45a[_0x5a0f44(0x29e)];_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x16a)]&&this['_onCursorUpdate'](_0x14a45a),_0x44cbeb===_0x12f559[_0x5a0f44(0x254)][_0x5a0f44(0x295)]&&this['_onCursorDelete'](_0x14a45a);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)]['onCommandExecuted'](_0x551635=>{const _0x539dc5=_0x57bd33,_0x3c947f=_0x551635['params'];_0x3c947f!=null&&this['_online']&&_0x551635['id']===_0x2b2a28['SetTextSelectionsOperation']['id']&&_0x3c947f[_0x539dc5(0x224)]===this[_0x539dc5(0xae)]&&_0x3c947f['isEditing']===!0x1&&_0x3c947f[_0x539dc5(0x1c0)][_0x539dc5(0xb7)]>0x0&&this[_0x539dc5(0x13a)](_0x3c947f[_0x539dc5(0x1c0)]);})),this['_syncEditingCollabCursorService'][_0x57bd33(0x7e)][_0x57bd33(0x2c2)](_0x424996[_0x57bd33(0x2b2)](this['dispose$']))[_0x57bd33(0x2fb)](_0x35da37=>{const _0x114217=_0x57bd33;if((_0x35da37==null?void 0x0:_0x35da37[_0x114217(0xae)])!==this[_0x114217(0xae)])return;const _0x2aebad={'eventID':_0x12f559['CollaborationEvent'][_0x114217(0x16a)],'data':_0x35da37};this[_0x114217(0x1bb)](_0x2aebad);}),this[_0x57bd33(0xd9)](this[_0x57bd33(0xe8)][_0x57bd33(0x1ca)](_0x20a9e8=>{const _0x5128f5=_0x57bd33;if(_0x20a9e8['params']==null)return;const _0x1301df=_0x20a9e8[_0x5128f5(0x2fd)];if(_0x20a9e8['id']!==_0x2b2a28[_0x5128f5(0x18e)]['id']||_0x1301df[_0x5128f5(0x224)]!==this[_0x5128f5(0xae)])return;const _0x1715e3={'id':_0x5128f5(0x12e),'params':_0x1301df},_0x58e448=this[_0x5128f5(0x241)];for(const [_0x5b3c90,_0x190751]of _0x58e448){const _0x4c018b={'id':_0x5128f5(0x12e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x190751[_0x5128f5(0x1c0)]}},_0x48fd3c=this[_0x5128f5(0xdb)][_0x5128f5(0x1d1)](_0x1715e3,_0x4c018b,!0x1);if(_0x12f559[_0x5128f5(0xcb)](_0x48fd3c))throw _0x48fd3c[_0x5128f5(0x2bd)];_0x58e448[_0x5128f5(0x21a)](_0x5b3c90,{..._0x190751,'ranges':_0x48fd3c[_0x5128f5(0x250)]['params'][_0x5128f5(0xa2)]});}queueMicrotask(()=>{const _0x3d993b=_0x5128f5;this[_0x3d993b(0x144)][_0x3d993b(0xa3)](_0x58e448);});})));}['_onCursorUpdate'](_0x2c8be1){const _0x366d62=_0x125ea8;var _0x5952a2,_0x667801;const {memberID:_0x417f10,selection:_0x3f03bd}=_0x2c8be1[_0x366d62(0x22d)],_0x43624b=_0x4c1c82(_0x3f03bd),_0x9c6b6b=(_0x667801=(_0x5952a2=this[_0x366d62(0x1ef)][_0x366d62(0x2d0)](this[_0x366d62(0xae)],_0x417f10))==null?void 0x0:_0x5952a2[_0x366d62(0x277)])!=null?_0x667801:_0x366d62(0xd6),_0x1790fc={'color':this[_0x366d62(0xbb)][_0x366d62(0x257)](_0x417f10),'name':_0x9c6b6b,'ranges':_0x43624b},_0x41fdbc=this[_0x366d62(0x241)];_0x41fdbc[_0x366d62(0x21a)](_0x417f10,_0x1790fc),this[_0x366d62(0x144)][_0x366d62(0xa3)](_0x41fdbc);}[_0x125ea8(0x166)](_0x1dc42d){const _0x5e0f33=_0x125ea8,{memberID:_0xe3de9d}=_0x1dc42d[_0x5e0f33(0x22d)],_0x3008c8=this[_0x5e0f33(0x241)];_0x3008c8[_0x5e0f33(0x22b)](_0xe3de9d),this[_0x5e0f33(0x144)][_0x5e0f33(0xa3)](_0x3008c8);}[_0x125ea8(0x169)](){const _0x5d1a27=_0x125ea8;var _0x4650f5;if(this[_0x5d1a27(0x258)]=!0x0,((_0x4650f5=this['_univerInstanceService'][_0x5d1a27(0x297)]())==null?void 0x0:_0x4650f5['getUnitId']())!==this[_0x5d1a27(0xae)])return;const _0x2fe037=this['_injector'][_0x5d1a27(0x205)](_0x2b2a28[_0x5d1a27(0xb5)])[_0x5d1a27(0x135)]();Array[_0x5d1a27(0x177)](_0x2fe037)&&_0x2fe037[_0x5d1a27(0xb7)]>0x0&&this[_0x5d1a27(0x13a)](_0x2fe037);}[_0x125ea8(0x1d2)](){const _0x239fea=_0x125ea8;this[_0x239fea(0x258)]=!0x1;}};_0x1fe332=_0x1081c5([_0x487bf2(0x2,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x487bf2(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x487bf2(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x26c)])),_0x487bf2(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x487bf2(0x6,_0x12f559['ITransformService']),_0x487bf2(0x7,_0x4d006c['IUniverInstanceService']),_0x487bf2(0x8,_0x4d006c[_0x125ea8(0x1a7)])],_0x1fe332);var _0x2d4727=Object[_0x125ea8(0x209)],_0x14fd81=(_0x4cc102,_0x2a391f,_0x57128d,_0x2ebfa3)=>{const _0x3bfe60=_0x125ea8;for(var _0xda4429=_0x2ebfa3>0x1?void 0x0:_0x2ebfa3?_0x2d4727(_0x2a391f,_0x57128d):_0x2a391f,_0x50b831=_0x4cc102[_0x3bfe60(0xb7)]-0x1,_0x2b43ad;_0x50b831>=0x0;_0x50b831--)(_0x2b43ad=_0x4cc102[_0x50b831])&&(_0xda4429=_0x2b43ad(_0xda4429)||_0xda4429);return _0xda4429;},_0x5d144d=(_0x54e046,_0x173abe)=>(_0x3fce87,_0x369b4c)=>_0x173abe(_0x3fce87,_0x369b4c,_0x54e046);const _0x1738be=0x12c,_0xd08119=0x64,_0x41b37c=()=>{let _0x1a7d48=[],_0x30fd52=!0x1;return _0x3d2224=>{const _0x564ce2=_0x1eaa;_0x1a7d48[_0x564ce2(0x2e4)](_0x3d2224),_0x30fd52||(_0x30fd52=!0x0,setTimeout(()=>{const _0x48872a=_0x564ce2;_0x1a7d48[_0x48872a(0x1fa)](_0x400f0b=>_0x400f0b()),_0x1a7d48=[],_0x30fd52=!0x1;}));};};let _0x95cd17=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x5d52ba,_0x276aa4,_0x151dcf,_0x10d9c5,_0x5aac27,_0x4a3432,_0x27d03e,_0x25c4c0){const _0x38d539=_0x125ea8;super(),_0x321a93(this,_0x38d539(0x258),!0x1),_0x321a93(this,_0x38d539(0x2c1),!0x1),_0x321a93(this,_0x38d539(0x144),new _0x424996['BehaviorSubject'](new Map())),_0x321a93(this,_0x38d539(0x1a0),this['_cursorInfo$'][_0x38d539(0x147)]()),_0x321a93(this,_0x38d539(0x20a),new _0x424996[(_0x38d539(0x170))]([])),_0x321a93(this,_0x38d539(0x1b0),this['_roomMembers$']['pipe'](_0x424996['debounceTime'](_0x1738be))),_0x321a93(this,'_updateLocalCursor',_0x4d006c[_0x38d539(0x7f)]((_0x492bb1,_0x4ea429)=>{const _0x23bad7=_0x38d539,_0x1cbc53={'eventID':_0x12f559[_0x23bad7(0x254)][_0x23bad7(0x16a)],'data':{'unitID':this[_0x23bad7(0xae)],'memberID':this[_0x23bad7(0x280)][_0x23bad7(0x11d)](),'selection':_0x1371df[_0x23bad7(0x2d4)](_0x492bb1,_0x4ea429[_0x23bad7(0x2e9)])}};this[_0x23bad7(0x280)][_0x23bad7(0x1a6)](_0x1cbc53,this['unitID']);},_0xd08119)),(this[_0x38d539(0xae)]=_0x5d52ba,this[_0x38d539(0x280)]=_0x276aa4,this['_injector']=_0x151dcf,this['_colorAssignService']=_0x10d9c5,this['_memberService']=_0x5aac27,this[_0x38d539(0x1af)]=_0x4a3432,this[_0x38d539(0xe8)]=_0x27d03e,this[_0x38d539(0xec)]=_0x25c4c0);}get[_0x125ea8(0x241)](){const _0x55de5e=_0x125ea8;return this[_0x55de5e(0x144)][_0x55de5e(0x1ac)]();}get[_0x125ea8(0x107)](){const _0x10ddd9=_0x125ea8;return this['_roomMembers$'][_0x10ddd9(0x1ac)]();}[_0x125ea8(0x23f)](){const _0x27c921=_0x125ea8;super[_0x27c921(0x23f)](),this[_0x27c921(0x144)]['next'](new Map()),this['_cursorInfo$'][_0x27c921(0x2a2)](),this[_0x27c921(0x20a)][_0x27c921(0xa3)]([]),this[_0x27c921(0x20a)][_0x27c921(0x2a2)]();}[_0x125ea8(0x101)](){const _0xa44346=_0x125ea8;this[_0xa44346(0x2c1)]||(this[_0xa44346(0x2c1)]=!0x0,this[_0xa44346(0x280)]['sessionStatus$'][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this[_0xa44346(0x281)]))['subscribe'](_0x4fbd39=>{const _0x41cad5=_0xa44346;_0x4fbd39===_0x3d05ed[_0x41cad5(0x138)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa44346(0x280)][_0xa44346(0x2bb)][_0xa44346(0x2c2)](_0x424996[_0xa44346(0x2b2)](this['dispose$']))['subscribe'](_0x5ceae9=>{const _0x378a7f=_0xa44346,_0x3fcdbc=_0x5ceae9[_0x378a7f(0x29e)];_0x3fcdbc===_0x12f559[_0x378a7f(0x254)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5ceae9),_0x3fcdbc===_0x12f559[_0x378a7f(0x254)][_0x378a7f(0x295)]&&this[_0x378a7f(0x166)](_0x5ceae9);}),this[_0xa44346(0x1a1)](),this[_0xa44346(0xd9)](this[_0xa44346(0xe8)][_0xa44346(0x1ca)](_0x4bc19e=>{const _0x40a270=_0xa44346;if(this[_0x40a270(0x258)]&&_0x4bc19e['id']===_0x231e9c[_0x40a270(0x1ff)]['id']&&_0x4bc19e[_0x40a270(0x2fd)]['unitId']===this[_0x40a270(0xae)]){const _0x14febd=_0x4bc19e[_0x40a270(0x2fd)];this[_0x40a270(0x13a)](_0x14febd[_0x40a270(0x92)],_0x14febd[_0x40a270(0x29f)][0x0]);}})));}['_onCursorUpdate'](_0x330014){const _0x1fe0c8=_0x125ea8;var _0x2e2682,_0x52c656;const {memberID:_0x2968dd,selection:_0x3dc1a2}=_0x330014[_0x1fe0c8(0x22d)],{sheetName:_0x70321c,range:_0x2792d1}=_0x1371df[_0x1fe0c8(0xa8)](_0x3dc1a2),_0x388595={'name':(_0x52c656=(_0x2e2682=this[_0x1fe0c8(0x1ef)][_0x1fe0c8(0x2d0)](this[_0x1fe0c8(0xae)],_0x2968dd))==null?void 0x0:_0x2e2682[_0x1fe0c8(0x277)])!=null?_0x52c656:_0x1fe0c8(0xd6),'range':this[_0x1fe0c8(0x17e)](_0x70321c,_0x2792d1),'sheetID':_0x70321c,'color':this['_colorAssignService'][_0x1fe0c8(0x257)](_0x2968dd),'selection':_0x3dc1a2},_0x2e3739=this[_0x1fe0c8(0x241)];_0x2e3739['set'](_0x2968dd,_0x388595),this[_0x1fe0c8(0x144)]['next'](_0x2e3739);}[_0x125ea8(0x166)](_0x3c8fd0){const _0x4d1f99=_0x125ea8,{memberID:_0x4c66f6}=_0x3c8fd0[_0x4d1f99(0x22d)],_0x164892=this[_0x4d1f99(0x241)];_0x164892[_0x4d1f99(0x22b)](_0x4c66f6),this[_0x4d1f99(0x144)]['next'](_0x164892);}[_0x125ea8(0x17e)](_0x26d15b,_0x2cd19e){const _0x38688b=_0x125ea8;var _0x33afec,_0x46da57;const _0x1c1f29=(_0x46da57=(_0x33afec=this[_0x38688b(0x1af)]['getUniverSheetInstance'](this[_0x38688b(0xae)]))==null?void 0x0:_0x33afec[_0x38688b(0x17f)](_0x26d15b))==null?void 0x0:_0x46da57[_0x38688b(0x7c)]();return(_0x1c1f29==null?void 0x0:_0x1c1f29['find'](_0x4b21b3=>_0x4d006c[_0x38688b(0x10c)]['contains'](_0x4b21b3,_0x2cd19e)))||_0x2cd19e;}[_0x125ea8(0x1a1)](){const _0x47bc72=_0x125ea8,_0x4ce641=new _0x4d006c['DisposableCollection'](),_0x1a75bb=_0x41b37c(),_0x50f6dc=()=>{const _0x4c772e=_0x1eaa;_0x4ce641[_0x4c772e(0x23f)]();const _0x294b64=(_0x425cd1,_0x1aa268,_0x12b7fc,_0x6d12f5)=>{const _0x3897ce=_0x4c772e;let _0xb9c2c8=[];switch(_0x425cd1['id']){case _0x231e9c[_0x3897ce(0x1e7)]['DeleteRangeMoveLeftCommandId']:{_0xb9c2c8=_0x231e9c['handleDeleteRangeMoveLeft'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x2db)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x29b)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x21f)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cf)]:{_0xb9c2c8=_0x231e9c['handleInsertRangeMoveDown'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId'][_0x3897ce(0x158)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1fd)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x184)]:{_0xb9c2c8=_0x231e9c['handleInsertRow'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c['EffectRefRangId']['MoveRangeCommandId']:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x242)](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2cc)]:{_0xb9c2c8=_0x231e9c['handleIRemoveCol'](_0x425cd1,_0x6d12f5);break;}case _0x231e9c[_0x3897ce(0x1e7)][_0x3897ce(0x2d7)]:{_0xb9c2c8=_0x231e9c[_0x3897ce(0x1f7)](_0x425cd1,_0x6d12f5);break;}}const _0x21f1e1=_0x231e9c[_0x3897ce(0x2f1)](_0xb9c2c8,_0x6d12f5),_0x254933=this[_0x3897ce(0x241)][_0x3897ce(0x205)](_0x1aa268);if(_0x254933&&_0x21f1e1){const _0x16fdbe={..._0x254933,'range':_0x21f1e1};this[_0x3897ce(0x241)][_0x3897ce(0x21a)](_0x1aa268,_0x16fdbe),_0x1a75bb(()=>{const _0xa40955=_0x3897ce,_0x153949=this[_0xa40955(0xec)][_0xa40955(0x213)](_0x21f1e1,_0x1944d4=>(_0x153949[_0xa40955(0x23f)](),_0x294b64(_0x1944d4,_0x1aa268,_0x12b7fc,_0x21f1e1)));_0x4ce641[_0xa40955(0x208)](_0x153949);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4c772e(0x1fa)]((_0x3482f4,_0x2fbb4a)=>{const _0xa00375=_0x4c772e,{range:_0x29976c,sheetID:_0x551e22}=_0x3482f4,_0x273d95=this[_0xa00375(0xec)][_0xa00375(0x213)](_0x29976c,_0x1e51d=>(_0x273d95['dispose'](),_0x294b64(_0x1e51d,_0x2fbb4a,_0x551e22,_0x29976c)));_0x4ce641['add'](_0x273d95);});};this[_0x47bc72(0xd9)](_0x4d006c[_0x47bc72(0x109)](this[_0x47bc72(0x144)][_0x47bc72(0x2fb)](()=>{_0x50f6dc();})));}[_0x125ea8(0x169)](){const _0x172c00=_0x125ea8;var _0x2c4caf,_0x2bf1b1;if(this[_0x172c00(0x258)]=!0x0,((_0x2c4caf=this[_0x172c00(0x1af)]['getFocusedUnit']())==null?void 0x0:_0x2c4caf[_0x172c00(0x1d0)]())!==this[_0x172c00(0xae)])return;const _0x197b63=(_0x2bf1b1=this[_0x172c00(0x9f)]['get'](_0x231e9c[_0x172c00(0x94)])[_0x172c00(0x95)]())==null?void 0x0:_0x2bf1b1[0x0],_0x542ddf=this[_0x172c00(0x1af)][_0x172c00(0x1cc)](_0x4d006c[_0x172c00(0xd3)][_0x172c00(0x141)])['getActiveSheet']();_0x197b63&&_0x542ddf&&this['_updateLocalCursor'](_0x542ddf[_0x172c00(0xff)](),_0x197b63);}[_0x125ea8(0x1d2)](){const _0x4eef90=_0x125ea8;this[_0x4eef90(0x258)]=!0x1;}};_0x95cd17=_0x14fd81([_0x5d144d(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d144d(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x1bdb8f)),_0x5d144d(0x4,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x26c)])),_0x5d144d(0x5,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d144d(0x6,_0x4d006c[_0x125ea8(0x1a7)]),_0x5d144d(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x231e9c[_0x125ea8(0x128)]))],_0x95cd17);var _0x47f7f0=Object[_0x125ea8(0x209)],_0x731459=(_0x5763bb,_0xab9581,_0x43c7a1,_0x51a394)=>{const _0x24aada=_0x125ea8;for(var _0x238095=_0x51a394>0x1?void 0x0:_0x51a394?_0x47f7f0(_0xab9581,_0x43c7a1):_0xab9581,_0x167875=_0x5763bb[_0x24aada(0xb7)]-0x1,_0x420700;_0x167875>=0x0;_0x167875--)(_0x420700=_0x5763bb[_0x167875])&&(_0x238095=_0x420700(_0x238095)||_0x238095);return _0x238095;},_0x3dee12=(_0x47d296,_0x2fb704)=>(_0x1819a2,_0x52cdba)=>_0x2fb704(_0x1819a2,_0x52cdba,_0x47d296);let _0x55a692=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x1161fc,_0x4d0282,_0x2c4703){const _0x39e99a=_0x125ea8;super(),_0x321a93(this,_0x39e99a(0x13b),new Map()),_0x321a93(this,'_entityInit$',new _0x424996[(_0x39e99a(0x23c))]()),(this[_0x39e99a(0x1af)]=_0x1161fc,this[_0x39e99a(0x9f)]=_0x4d0282,this[_0x39e99a(0x204)]=_0x2c4703,this[_0x39e99a(0x2c1)]());}[_0x125ea8(0x23f)](){const _0x3db488=_0x125ea8;super[_0x3db488(0x23f)](),this[_0x3db488(0x20f)][_0x3db488(0x2a2)](),this['_entities'][_0x3db488(0x1fa)](_0x4e9f08=>_0x4e9f08[_0x3db488(0x23f)]());}[_0x125ea8(0x78)](_0x4d7f23){const _0x230cf9=_0x125ea8;return this[_0x230cf9(0x13b)][_0x230cf9(0x2e7)](_0x4d7f23)?this[_0x230cf9(0x13b)][_0x230cf9(0x205)](_0x4d7f23)[_0x230cf9(0x1a0)]:this['_entityInit$'][_0x230cf9(0x2c2)](_0x424996['filter'](_0x1eb975=>_0x1eb975[_0x230cf9(0xae)]===_0x4d7f23),_0x424996[_0x230cf9(0x263)](_0x503ab0=>_0x503ab0[_0x230cf9(0x1a0)]));}[_0x125ea8(0x2c1)](){const _0x20f871=_0x125ea8;this[_0x20f871(0x1af)]['getTypeOfUnitAdded$'](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x141)])['pipe'](_0x424996[_0x20f871(0x2b2)](this['dispose$']))[_0x20f871(0x2fb)](async _0x580069=>{const _0x171310=_0x20f871,_0x5479e2=_0x580069['getUnitId'](),_0x999818=await this[_0x171310(0x20b)](_0x5479e2);this['_entityInit$'][_0x171310(0xa3)](_0x999818),this[_0x171310(0x13b)][_0x171310(0x21a)](_0x5479e2,_0x999818);}),this[_0x20f871(0x1af)][_0x20f871(0x76)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_DOC'])[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))['pipe'](_0x424996['filter'](_0x343d12=>!_0x343d12[_0x20f871(0x1d0)]()[_0x20f871(0x1c6)]('__')))[_0x20f871(0x2fb)](async _0x48f678=>{const _0x1ecee8=_0x20f871,_0x3bee40=_0x48f678[_0x1ecee8(0x1d0)](),_0x327ae1=await this[_0x1ecee8(0xd1)](_0x3bee40);this[_0x1ecee8(0x20f)][_0x1ecee8(0xa3)](_0x327ae1),this[_0x1ecee8(0x13b)][_0x1ecee8(0x21a)](_0x3bee40,_0x327ae1);}),_0x424996[_0x20f871(0xfe)](this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)][_0x20f871(0x220)]),this[_0x20f871(0x1af)][_0x20f871(0x212)](_0x4d006c[_0x20f871(0xd3)]['UNIVER_SHEET']))[_0x20f871(0x2c2)](_0x424996[_0x20f871(0x2b2)](this[_0x20f871(0x281)]))[_0x20f871(0x2fb)](_0x12dec9=>{const _0x1cbc4e=_0x20f871,_0x4285d9=_0x12dec9['getUnitId'](),_0xe8da3a=this['_entities'][_0x1cbc4e(0x205)](_0x4285d9);_0xe8da3a&&(_0xe8da3a[_0x1cbc4e(0x23f)](),this['_entities'][_0x1cbc4e(0x22b)](_0x4285d9));});}async[_0x125ea8(0x20b)](_0x1d0ad9){const _0x3f1e62=_0x125ea8,_0x62d5de=await this[_0x3f1e62(0x204)]['requireSession'](_0x1d0ad9),_0x57f18b=this[_0x3f1e62(0x9f)][_0x3f1e62(0x19b)](_0x95cd17,_0x1d0ad9,_0x62d5de);return _0x57f18b[_0x3f1e62(0x101)](),_0x57f18b;}async[_0x125ea8(0xd1)](_0x38b3b5){const _0x3b5080=_0x125ea8,_0x36747b=await this[_0x3b5080(0x204)][_0x3b5080(0xf0)](_0x38b3b5),_0x4f4147=this[_0x3b5080(0x9f)]['createInstance'](_0x1fe332,_0x38b3b5,_0x36747b);return _0x4f4147['init'](),_0x4f4147;}};_0x55a692=_0x731459([_0x3dee12(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x3dee12(0x1,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x8d)])),_0x3dee12(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x1d5)]))],_0x55a692);const _0x260e0f=0x14,_0x4dfe11=0xc8,_0x31133a=0x4,_0x4fa4ce=0x5;function _0x240879(_0x2e8691,_0x32f447){const _0x2573c1=_0x125ea8;let {radius:_0x48143a,width:_0x3a2647,height:_0x37e8c7}=_0x32f447;_0x48143a=_0x48143a!=null?_0x48143a:0x0,_0x3a2647=_0x3a2647!=null?_0x3a2647:0x1e,_0x37e8c7=_0x37e8c7!=null?_0x37e8c7:0x1e;let _0x58bf9a=0x0,_0x263452=0x0,_0x17127b=0x0;_0x58bf9a=_0x263452=_0x17127b=Math[_0x2573c1(0x28f)](_0x48143a,_0x3a2647/0x2,_0x37e8c7/0x2),_0x2e8691['beginPath'](),_0x2e8691[_0x2573c1(0x1de)](_0x58bf9a,0x0),_0x2e8691[_0x2573c1(0x7a)](_0x3a2647-_0x263452,0x0),_0x2e8691['arc'](_0x3a2647-_0x263452,_0x263452,_0x263452,Math['PI']*0x3/0x2,0x0,!0x1),_0x2e8691['lineTo'](_0x3a2647,_0x37e8c7-_0x17127b),_0x2e8691[_0x2573c1(0x25a)](_0x3a2647-_0x17127b,_0x37e8c7-_0x17127b,_0x17127b,0x0,Math['PI']/0x2,!0x1),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x37e8c7),_0x2e8691[_0x2573c1(0x7a)](0x0,_0x58bf9a),_0x2e8691[_0x2573c1(0x25a)](_0x58bf9a,_0x58bf9a,_0x58bf9a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2e8691[_0x2573c1(0xbd)](),_0x32f447[_0x2573c1(0x1d4)]&&(_0x2e8691[_0x2573c1(0xd7)](),_0x2e8691[_0x2573c1(0x125)]=_0x32f447[_0x2573c1(0x1d4)],_0x32f447['fillRule']===_0x2573c1(0x1eb)?_0x2e8691[_0x2573c1(0x1d4)](_0x2573c1(0x1eb)):_0x2e8691[_0x2573c1(0x1d4)](),_0x2e8691[_0x2573c1(0x21c)]());}class _0x5e0250 extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x337ea7,_0x1ffb7b){const _0x5cb762=_0x125ea8;super(_0x337ea7,_0x1ffb7b),_0x321a93(this,'color'),_0x321a93(this,'text'),(this[_0x5cb762(0xd0)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b[_0x5cb762(0xd0)],this[_0x5cb762(0x159)]=_0x1ffb7b==null?void 0x0:_0x1ffb7b['text']);}static['drawWith'](_0x5b251d,_0xfbb19){const _0x1427be=_0x125ea8,{text:_0x129737,color:_0x2df314}=_0xfbb19;_0x5b251d['save'](),_0x5b251d[_0x1427be(0x105)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x17003b=_0x5b251d['measureText'](_0x129737)[_0x1427be(0x20d)],_0x55d925=Math['min'](_0x17003b+0x2*_0x31133a,_0x4dfe11);_0x240879(_0x5b251d,{'height':_0x260e0f,'radius':0x4,'width':_0x55d925,'fill':_0x2df314}),_0x5b251d[_0x1427be(0x125)]=_0x1427be(0x74);const _0x12651d=_0x31133a,_0x382d16=_0x260e0f-_0x4fa4ce,_0x618729=_0x4dfe11-0x2*_0x31133a;if(_0x17003b>_0x618729){let _0x46b489='',_0x469bc4=0x0;for(const _0x147820 of _0x129737){const _0x2ca20d=_0x5b251d[_0x1427be(0x299)](_0x147820)[_0x1427be(0x20d)];if(_0x469bc4+_0x2ca20d<=_0x618729-_0x5b251d[_0x1427be(0x299)](_0x1427be(0x1f0))[_0x1427be(0x20d)])_0x46b489+=_0x147820,_0x469bc4+=_0x2ca20d;else{_0x46b489+=_0x1427be(0x1f0);break;}}_0x5b251d[_0x1427be(0x1c7)](_0x46b489,_0x12651d,_0x382d16);}else _0x5b251d[_0x1427be(0x1c7)](_0x129737,_0x12651d,_0x382d16);_0x5b251d[_0x1427be(0x21c)]();}[_0x125ea8(0x275)](_0x53c93f){const _0x487ca5=_0x125ea8;_0x5e0250[_0x487ca5(0x2a4)](_0x53c93f,this);}}const _0x27bee1=_0x125ea8(0x282),_0x3145a7=_0x125ea8(0xab),_0x262063='collab-rect-range-',_0x2053ea=0x6,_0x389923=1.5,_0x100a90=0x4,_0x2d7857=1.5,_0x440953=_0x125ea8(0x218);class _0x5931b9{constructor(_0x18fa2d,_0x3d0c24,_0x8eac85,_0x135e08){const _0x4bdeff=_0x125ea8;_0x321a93(this,_0x4bdeff(0x171),[]),_0x321a93(this,_0x4bdeff(0x13c),null),_0x321a93(this,_0x4bdeff(0x2be),null),_0x321a93(this,_0x4bdeff(0x2eb),null),_0x321a93(this,_0x4bdeff(0x1cd),null),_0x321a93(this,'_eventUnsubscribe',null),(this['_cursor']=_0x18fa2d,this[_0x4bdeff(0x195)]=_0x3d0c24,this[_0x4bdeff(0x18a)]=_0x8eac85,this['_document']=_0x135e08,this[_0x4bdeff(0xa7)]());}set[_0x125ea8(0x233)](_0x24294f){const _0x1f5610=_0x125ea8;_0x24294f?(this[_0x1f5610(0x2eb)]&&this[_0x1f5610(0x2eb)][_0x1f5610(0x8f)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x2ab)]()):(this['_anchorDot']&&this[_0x1f5610(0x2eb)][_0x1f5610(0x2ab)](),this[_0x1f5610(0x2be)]&&this['_textBubble'][_0x1f5610(0x8f)]());}[_0x125ea8(0x23f)](){const _0x4bb5a3=_0x125ea8;for(const _0x1a19c2 of this['_shapes'])_0x1a19c2[_0x4bb5a3(0x23f)]();this[_0x4bb5a3(0x2be)]&&this[_0x4bb5a3(0x2be)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x2eb)]&&this[_0x4bb5a3(0x2eb)]['dispose'](),this['_anchor']&&this[_0x4bb5a3(0x13c)][_0x4bb5a3(0x23f)](),this[_0x4bb5a3(0x11b)]&&this['_eventUnsubscribe']();}[_0x125ea8(0xa7)](){const _0x20473f=_0x125ea8;var _0x39c5b9;const {_docSkeleton:_0x3cd27b,_document:_0x1de1c3}=this,{color:_0x4ad29e,name:_0x594e52,ranges:_0x33c3d9}=this[_0x20473f(0x285)],_0x26ccf2=_0x1de1c3[_0x20473f(0x1bf)](),{docsLeft:_0x3fe292,docsTop:_0x6ffa53}=_0x26ccf2,_0x1043f5=new _0x5051a5[(_0x20473f(0x24f))](_0x26ccf2,_0x3cd27b);for(const {startOffset:_0x187e02,endOffset:_0x1ce27b,rangeType:_0xe6ebf,segmentId:_0x29bd7f,segmentPage:_0x3be249,collapsed:_0x2a582f,isActive:_0x274ab2}of _0x33c3d9){const _0x2f1dd6=_0x3cd27b[_0x20473f(0x2cb)](_0x187e02,!0x0,_0x29bd7f,_0x3be249);let _0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b,!0x0,_0x29bd7f,_0x3be249);if(_0x2cf534==null&&(_0x2cf534=_0x3cd27b['findNodePositionByCharIndex'](_0x1ce27b-0x1,!0x1,_0x29bd7f,_0x3be249)),_0x274ab2){const {contentBoxPointGroup:_0x5ea432}=_0x1043f5[_0x20473f(0x252)](_0x2cf534,_0x2cf534);if(_0x5ea432[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x2e6)](_0x4ad29e,_0x5ea432,_0x3fe292,_0x6ffa53,_0x594e52),this[_0x20473f(0x11b)]=this[_0x20473f(0x168)]();}if(_0x2f1dd6&&_0x2cf534){if(_0xe6ebf===_0x4d006c['DOC_RANGE_TYPE'][_0x20473f(0xee)]){const _0x535362=new _0x5051a5['NodePositionConvertToRectRange'](_0x26ccf2,_0x3cd27b),{pointGroup:_0x409f79}=(_0x39c5b9=_0x535362[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534))!=null?_0x39c5b9:{};if(_0x409f79==null||_0x409f79[_0x20473f(0xb7)]===0x0)continue;this['_drawRectRange'](_0x4ad29e,_0x409f79,_0x3fe292,_0x6ffa53);}else{if(!_0x2a582f){const {borderBoxPointGroup:_0x56ba56}=_0x1043f5[_0x20473f(0x252)](_0x2f1dd6,_0x2cf534);if(_0x56ba56[_0x20473f(0xb7)]===0x0)continue;this[_0x20473f(0x24b)](_0x4ad29e,_0x56ba56,_0x3fe292,_0x6ffa53);}}}}}['_drawAnchor'](_0x53a757,_0x5aa7ab,_0x32625e,_0x4dfc86,_0x4469ac){const _0x22bc24=_0x125ea8,_0x12bd60=this[_0x22bc24(0xe0)](_0x5aa7ab),{left:_0x305b86,top:_0x49a6ed,height:_0x20ac5}=_0x12bd60,_0x3f6be3=this[_0x22bc24(0x13e)](),_0xbad854=_0x2d7857/_0x3f6be3,_0x5d4805=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c[_0x22bc24(0x1b5)]['generateRandomId'](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86,'height':_0x20ac5,'width':_0x389923,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'strokeWidth':_0xbad854,'stroke':_0x440953,'evented':!0x0});this[_0x22bc24(0x13c)]=_0x5d4805,this['_scene']['addObject'](_0x5d4805,_0x5051a5[_0x22bc24(0xd8)]);const _0x576f9a=new _0x3ce196[(_0x22bc24(0x1c3))](_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x100a90/0x2,'height':_0x100a90,'width':_0x100a90,'fill':_0x53a757||_0x3ce196[_0x22bc24(0x151)](_0x4d006c[_0x22bc24(0x124)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x53a757||_0x3ce196['getColor'](_0x4d006c[_0x22bc24(0x124)][_0x22bc24(0x6b)],0x0),'evented':!0x1});this[_0x22bc24(0x2eb)]=_0x576f9a,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x576f9a,_0x5051a5[_0x22bc24(0xd8)]);const _0x3b5665=new _0x5e0250(_0x27bee1+_0x4d006c['Tools'][_0x22bc24(0xcd)](_0x2053ea),{'left':_0x305b86+_0x32625e-_0xbad854,'top':_0x49a6ed+_0x4dfc86-_0x260e0f,'text':_0x4469ac,'color':_0x53a757});this[_0x22bc24(0x2be)]=_0x3b5665,this[_0x22bc24(0x195)][_0x22bc24(0x9d)](_0x3b5665,_0x5051a5['TEXT_RANGE_LAYER_INDEX']),this[_0x22bc24(0x233)]=!0x1;}[_0x125ea8(0x168)](){const _0x2b29f5=_0x125ea8,_0x5856f5=this['_anchor']['onPointerEnter$'][_0x2b29f5(0xc6)](()=>{const _0xa6d969=_0x2b29f5;this[_0xa6d969(0x233)]=!0x0;}),_0x3e3415=this[_0x2b29f5(0x13c)][_0x2b29f5(0x19c)][_0x2b29f5(0xc6)](()=>{const _0x4b31c4=_0x2b29f5;this[_0x4b31c4(0x1cd)]&&clearTimeout(this['_hideTimer']),this[_0x4b31c4(0x1cd)]=setTimeout(()=>{const _0x4424fc=_0x4b31c4;this[_0x4424fc(0x233)]=!0x1;},0x7d0);});return()=>{const _0x416ac3=_0x2b29f5;_0x5856f5[_0x416ac3(0x99)](),_0x3e3415[_0x416ac3(0x99)]();};}[_0x125ea8(0x24b)](_0x42c6b0,_0x25f26c,_0x1cb032,_0x10faab){const _0x5f3aef=_0x125ea8,_0x31733b=new _0x4d006c[(_0x5f3aef(0xfd))](_0x42c6b0)[_0x5f3aef(0x273)](0.2)[_0x5f3aef(0x292)](),_0x33dd70=new _0x3ce196[(_0x5f3aef(0x15b))](_0x3145a7+_0x4d006c[_0x5f3aef(0x1b5)]['generateRandomId'](_0x2053ea),{'pointsGroup':_0x25f26c,'fill':_0x31733b||_0x3ce196[_0x5f3aef(0x151)](_0x4d006c[_0x5f3aef(0x124)][_0x5f3aef(0x6b)],0.2),'left':_0x1cb032,'top':_0x10faab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f3aef(0x171)][_0x5f3aef(0x2e4)](_0x33dd70),this['_scene']['addObject'](_0x33dd70,_0x5051a5['TEXT_RANGE_LAYER_INDEX']);}[_0x125ea8(0x1f5)](_0x664e62,_0xc61803,_0x5590b7,_0x1b8d61){const _0x41fc19=_0x125ea8,_0x2c5aa2=new _0x4d006c[(_0x41fc19(0xfd))](_0x664e62)[_0x41fc19(0x273)](0.2)[_0x41fc19(0x292)](),_0x558085=new _0x3ce196['RegularPolygon'](_0x262063+_0x4d006c['Tools'][_0x41fc19(0xcd)](_0x2053ea),{'pointsGroup':_0xc61803,'fill':_0x2c5aa2||_0x3ce196[_0x41fc19(0x151)](_0x4d006c[_0x41fc19(0x124)][_0x41fc19(0x6b)],0.2),'left':_0x5590b7,'top':_0x1b8d61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41fc19(0x171)]['push'](_0x558085),this[_0x41fc19(0x195)][_0x41fc19(0x9d)](_0x558085,_0x5051a5[_0x41fc19(0xd8)]);}[_0x125ea8(0xe0)](_0x4eb0b1){const _0x14ea66=_0x4eb0b1[0x0],_0x319545=_0x14ea66[0x0],_0x333d30=_0x14ea66[0x2],{x:_0x31e480,y:_0xca433e}=_0x319545,{x:_0x33ef70,y:_0x54a5a4}=_0x333d30;return{'left':_0x31e480,'top':_0xca433e,'width':_0x33ef70-_0x31e480,'height':_0x54a5a4-_0xca433e};}[_0x125ea8(0x13e)](){const _0x6def8d=_0x125ea8,{scaleX:_0x1e392b,scaleY:_0x344596}=this['_scene']['getAncestorScale']();return Math[_0x6def8d(0x186)](_0x1e392b,_0x344596);}}var _0x9407ad=Object[_0x125ea8(0x209)],_0x319cec=(_0x1a997b,_0x29408b,_0x1e175e,_0x1882cd)=>{for(var _0x4131d5=_0x1882cd>0x1?void 0x0:_0x1882cd?_0x9407ad(_0x29408b,_0x1e175e):_0x29408b,_0x4f542e=_0x1a997b['length']-0x1,_0x5d2ad1;_0x4f542e>=0x0;_0x4f542e--)(_0x5d2ad1=_0x1a997b[_0x4f542e])&&(_0x4131d5=_0x5d2ad1(_0x4131d5)||_0x4131d5);return _0x4131d5;},_0xe68bed=(_0x452c00,_0x2bfd56)=>(_0x24eb8e,_0x8c1966)=>_0x2bfd56(_0x24eb8e,_0x8c1966,_0x452c00);let _0x49880d=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x28761e,_0x72af24,_0x19651d,_0x496dc6,_0x1a53a8){const _0xb196ff=_0x125ea8;super(),_0x321a93(this,'_cursorShapes',[]),_0x321a93(this,'_cursors',[]),(this[_0xb196ff(0x10d)]=_0x28761e,this[_0xb196ff(0x113)]=_0x72af24,this[_0xb196ff(0x211)]=_0x19651d,this['_commandService']=_0x496dc6,this[_0xb196ff(0x1c8)]=_0x1a53a8,this[_0xb196ff(0x2c1)]());}[_0x125ea8(0x2c1)](){const _0x44ac1f=_0x125ea8,_0x22a741=this['_context'][_0x44ac1f(0x224)],_0x3e896b=this[_0x44ac1f(0x113)];this[_0x44ac1f(0xd9)](_0x424996['combineLatest']([this['_collabCursorController'][_0x44ac1f(0x78)](_0x22a741),this[_0x44ac1f(0x1c8)]['currentTheme$']])[_0x44ac1f(0x2c2)](_0x4e626c[_0x44ac1f(0x16f)](([_0x5c1c51,_0x40c7aa])=>({'skeleton':_0x3e896b[_0x44ac1f(0x1b3)](),'cursors':[..._0x5c1c51[_0x44ac1f(0x1f3)]()][_0x44ac1f(0x28d)](_0x2960b0=>({..._0x2960b0,'color':_0x40c7aa[_0x2960b0[_0x44ac1f(0xd0)]]}))})))[_0x44ac1f(0x2fb)](_0x24a11e=>{const _0x52be4a=_0x44ac1f;if(this[_0x52be4a(0x1a5)](),_0x24a11e){const {skeleton:_0x14ae24,cursors:_0x773bb}=_0x24a11e;this[_0x52be4a(0x231)](_0x14ae24,_0x773bb);}})),this[_0x44ac1f(0x190)](),this[_0x44ac1f(0x2c6)]();}['_updateCollabCursors'](_0xa9690,_0x23905a){const _0x42e4e1=_0x125ea8,{scene:_0x51119d,mainComponent:_0x55e3f9}=this['_context'],_0x348b9d=_0x23905a['map'](_0x2afdd5=>new _0x5931b9(_0x2afdd5,_0x51119d,_0xa9690,_0x55e3f9));this[_0x42e4e1(0x2ad)]=_0x348b9d,this['_cursors']=_0x23905a;}[_0x125ea8(0x1db)](){const _0x8d595e=_0x125ea8;this['_removeCollabCursors']();const {scene:_0x48f7c8,mainComponent:_0x44970f}=this[_0x8d595e(0x10d)],_0xa769bb=this[_0x8d595e(0x113)][_0x8d595e(0x1b3)](),_0x2258a5=this[_0x8d595e(0x2f2)][_0x8d595e(0x16f)](_0x1fd693=>new _0x5931b9(_0x1fd693,_0x48f7c8,_0xa769bb,_0x44970f));this[_0x8d595e(0x2ad)]=_0x2258a5;}[_0x125ea8(0x1a5)](){const _0x4edc83=_0x125ea8;this[_0x4edc83(0x2ad)][_0x4edc83(0x1fa)](_0x2333e1=>_0x2333e1[_0x4edc83(0x23f)]()),this[_0x4edc83(0x2ad)]=[];}[_0x125ea8(0x2c6)](){const _0x228839=_0x125ea8,_0x1af8da=[_0x5051a5[_0x228839(0x215)]['id']];this[_0x228839(0xd9)](this['_commandService'][_0x228839(0x1ca)](_0x3b0b00=>{const _0x5b1024=_0x228839;_0x1af8da[_0x5b1024(0x84)](_0x3b0b00['id'])&&_0x3b0b00[_0x5b1024(0x2fd)][_0x5b1024(0x224)]===this[_0x5b1024(0x10d)][_0x5b1024(0x224)]&&this[_0x5b1024(0x1db)]();}));}[_0x125ea8(0x190)](){const _0x496015=_0x125ea8;this[_0x496015(0xd9)](_0x4d006c[_0x496015(0xf3)](this[_0x496015(0x10d)][_0x496015(0x1a3)][_0x496015(0x160)])[_0x496015(0x2c2)](_0x4e626c[_0x496015(0x2f5)](_0x154a06=>_0x154a06[_0x496015(0xd4)]===_0x3ce196[_0x496015(0x127)][_0x496015(0xb3)]),_0x4e626c['throttleTime'](0x10))[_0x496015(0x2fb)](()=>{this['_refreshCollabCursors']();}));}};_0x49880d=_0x319cec([_0xe68bed(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x2b2a28[_0x125ea8(0x81)])),_0xe68bed(0x2,_0x4d006c['Inject'](_0x55a692)),_0xe68bed(0x3,_0x4d006c[_0x125ea8(0x1a7)]),_0xe68bed(0x4,_0x4d006c['Inject'](_0x4d006c[_0x125ea8(0x126)]))],_0x49880d);const _0x2c5595=0x1,_0x5243f7=1.5;class _0x415e6b extends _0x3ce196[_0x125ea8(0xc9)]{constructor(_0x3bb2cf,_0x5cbdab){const _0x412812=_0x125ea8;super(_0x3bb2cf,_0x5cbdab),_0x321a93(this,_0x412812(0x2d1)),_0x321a93(this,_0x412812(0x223),!0x1),_0x321a93(this,_0x412812(0x183)),_0x321a93(this,'_name',''),_0x321a93(this,'_labelPosition','top'),_0x321a93(this,'_backgroundColor'),(_0x5cbdab&&this[_0x412812(0x16d)](_0x5cbdab),this[_0x412812(0x146)][_0x412812(0xc6)](()=>this[_0x412812(0x16d)]({'hovered':!0x0})),this[_0x412812(0x19c)]['subscribeEvent'](()=>this[_0x412812(0x16d)]({'hovered':!0x1})));}[_0x125ea8(0x16d)](_0x30b592){const _0xa5e97=_0x125ea8;var _0x18fa34,_0x25f1f8,_0x5b1c14,_0x50f5fb,_0x1a9aa6,_0x42ddc0;this[_0xa5e97(0x2d1)]=(_0x18fa34=_0x30b592[_0xa5e97(0xd0)])!=null?_0x18fa34:this[_0xa5e97(0x2d1)],this[_0xa5e97(0x223)]=(_0x25f1f8=_0x30b592['hovered'])!=null?_0x25f1f8:this[_0xa5e97(0x223)],this[_0xa5e97(0x183)]=(_0x5b1c14=_0x30b592[_0xa5e97(0x2e9)])!=null?_0x5b1c14:this['_range'],this[_0xa5e97(0xfb)]=(_0x50f5fb=_0x30b592[_0xa5e97(0x277)])!=null?_0x50f5fb:this[_0xa5e97(0xfb)],this[_0xa5e97(0x132)]=(_0x1a9aa6=_0x30b592[_0xa5e97(0xc8)])!=null?_0x1a9aa6:this[_0xa5e97(0x132)],this[_0xa5e97(0xf8)]=(_0x42ddc0=_0x30b592[_0xa5e97(0x28c)])!=null?_0x42ddc0:this[_0xa5e97(0xf8)],this[_0xa5e97(0x1f6)]({'width':_0x30b592[_0xa5e97(0x20d)],'height':_0x30b592[_0xa5e97(0x156)]});}[_0x125ea8(0x1bd)](_0x556400){const _0x293c13=_0x125ea8,{row:_0x2821fa,column:_0x250d19}=_0x556400;if(_0x2821fa>=this[_0x293c13(0x183)][_0x293c13(0x2e0)]&&_0x2821fa<=this[_0x293c13(0x183)][_0x293c13(0x19a)]&&_0x250d19>=this[_0x293c13(0x183)][_0x293c13(0xdc)]&&_0x250d19<=this[_0x293c13(0x183)]['endColumn']){this[_0x293c13(0x16d)]({'hovered':!0x0});return;}this[_0x293c13(0x16d)]({'hovered':!0x1});}[_0x125ea8(0x2de)](_0x5f1729){return!0x1;}['_draw'](_0x5befd4){const _0x3c5159=_0x125ea8;_0x3ce196[_0x3c5159(0x1c3)][_0x3c5159(0x2a4)](_0x5befd4,{'width':this[_0x3c5159(0x20d)],'height':this[_0x3c5159(0x156)],'strokeWidth':_0x5243f7,'stroke':this[_0x3c5159(0x2d1)],'evented':!0x1,'fill':this[_0x3c5159(0xf8)]}),this['_hovered']&&(_0x5befd4[_0x3c5159(0xd7)](),_0x5befd4[_0x3c5159(0xa6)](0x1,0x0,0x0,0x1,this[_0x3c5159(0x20d)],this[_0x3c5159(0x132)]===_0x3c5159(0x1b6)?0x0:-0x14),_0x5e0250[_0x3c5159(0x2a4)](_0x5befd4,{'text':this[_0x3c5159(0xfb)],'color':this[_0x3c5159(0x2d1)]}),_0x5befd4[_0x3c5159(0x21c)]());}}var _0x3c63=Object[_0x125ea8(0x209)],_0x469407=(_0x4c5e01,_0x28d040,_0x5ddc69,_0x5e92b4)=>{for(var _0xc2974f=_0x5e92b4>0x1?void 0x0:_0x5e92b4?_0x3c63(_0x28d040,_0x5ddc69):_0x28d040,_0x282808=_0x4c5e01['length']-0x1,_0x1e05e2;_0x282808>=0x0;_0x282808--)(_0x1e05e2=_0x4c5e01[_0x282808])&&(_0xc2974f=_0x1e05e2(_0xc2974f)||_0xc2974f);return _0xc2974f;},_0x15c691=(_0x1ce40b,_0x162632)=>(_0x2ccb99,_0x42320c)=>_0x162632(_0x2ccb99,_0x42320c,_0x1ce40b);const _0x1e278c=0x1389;let _0x46ea4f=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x4b26fd,_0xde0931,_0x243ec2,_0x43faa4){const _0x164cfb=_0x125ea8;super(),_0x321a93(this,_0x164cfb(0x2f2),new Set()),_0x321a93(this,_0x164cfb(0x98),null),(this[_0x164cfb(0x10d)]=_0x4b26fd,this[_0x164cfb(0x1e6)]=_0xde0931,this[_0x164cfb(0x211)]=_0x243ec2,this[_0x164cfb(0x1c8)]=_0x43faa4,this['_init']());}[_0x125ea8(0x2c1)](){const _0x4fb612=_0x125ea8;this[_0x4fb612(0x1e6)][_0x4fb612(0xe9)]['pipe'](_0x4e626c['takeUntil'](this[_0x4fb612(0x281)]),_0x4e626c['switchMap'](_0x34caa5=>{const _0x22cc94=_0x4fb612;if(_0x34caa5){const _0x3348d3=_0x34caa5[_0x22cc94(0x1b7)];return _0x424996[_0x22cc94(0x26a)](this['_collabCursorController'][_0x22cc94(0x78)](this[_0x22cc94(0x10d)]['unitId']),this[_0x22cc94(0x1c8)][_0x22cc94(0x2e3)])[_0x22cc94(0x2c2)](_0x4e626c[_0x22cc94(0x16f)](([_0x44c049,_0x20b443])=>{const _0x37bada=_0x22cc94,_0x27c255=new Map();return _0x44c049[_0x37bada(0x1fa)]((_0x3ecdca,_0x5404c2)=>{const _0x569dae=_0x37bada;if(_0x3ecdca[_0x569dae(0x165)]===_0x3348d3){const _0x13844c={..._0x3ecdca};_0x13844c[_0x569dae(0xd0)]=_0x20b443[_0x3ecdca[_0x569dae(0xd0)]],_0x27c255['set'](_0x5404c2,_0x13844c);}}),{'skeleton':_0x34caa5,'cursors':_0x27c255};}));}return _0x424996['of']({'skeleton':null,'cursors':new Map()});}))[_0x4fb612(0x2fb)](({skeleton:_0x5322e7,cursors:_0x13ddc5})=>{const _0x26337e=_0x4fb612;this['_removeCollabCursors'](),_0x5322e7&&this[_0x26337e(0x231)](_0x5322e7,_0x13ddc5);}),this[_0x4fb612(0x1e6)]['currentSkeleton$'][_0x4fb612(0x2fb)](_0x50fd62=>{const _0x1f737d=_0x4fb612;if(_0x50fd62==null)return;const {skeleton:_0x276d3a}=_0x50fd62,{scene:_0x413c0d}=this[_0x1f737d(0x10d)];_0x413c0d[_0x1f737d(0x80)]['subscribeEvent'](_0x4d006c['debounce'](_0x300a4b=>{const _0x1addcd=_0x1f737d;var _0x30b10a,_0x167faf;const {offsetX:_0x22adaa,offsetY:_0x430c43}=_0x300a4b,{x:_0x2f9773,y:_0x1f415b}=_0x413c0d[_0x1addcd(0xe2)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x22adaa,_0x430c43])),{scaleX:_0x132a4f,scaleY:_0xb8a57b}=_0x413c0d[_0x1addcd(0x253)](),_0x583f4a=_0x413c0d[_0x1addcd(0x22a)](_0x3ce196[_0x1addcd(0x1e0)]['VIEW_MAIN']),_0xcc9805=_0x413c0d[_0x1addcd(0x10e)](_0x3ce196[_0x1addcd(0x1ad)][_0x1addcd(0x216)]([_0x2f9773,_0x1f415b]),_0x583f4a),_0x3e9349=_0x276d3a[_0x1addcd(0x279)](_0x22adaa,_0x430c43,_0x132a4f,_0xb8a57b,_0xcc9805);((_0x30b10a=this[_0x1addcd(0x98)])==null?void 0x0:_0x30b10a[_0x1addcd(0x2a8)])===_0x3e9349[_0x1addcd(0x2a8)]&&((_0x167faf=this[_0x1addcd(0x98)])==null?void 0x0:_0x167faf[_0x1addcd(0x290)])===_0x3e9349['row']||this['_cursors'][_0x1addcd(0x1fa)](_0x3d42b8=>{const _0x522dc5=_0x1addcd;_0x3d42b8[_0x522dc5(0x1bd)](_0x3e9349);});},0x64));});}[_0x125ea8(0x231)](_0x1e1a95,_0x48a2fd){const _0x35dfd0=_0x125ea8;var _0x7026fb;const _0x216563=(_0x7026fb=this[_0x35dfd0(0x1e6)][_0x35dfd0(0xdd)]())==null?void 0x0:_0x7026fb[_0x35dfd0(0x244)];if(!_0x216563)return;const _0x8b8bc3=this['_getSheetObject']();if(!_0x8b8bc3)return;this['_cursors']['forEach'](_0x8459c=>{_0x8459c['makeDirty']();});const {scene:_0x111778}=_0x8b8bc3,_0x181d84=_0x4f5916(Array[_0x35dfd0(0x18f)](_0x48a2fd['values']()))[_0x35dfd0(0x16f)](_0x3aef04=>{const _0x3405d7=_0x35dfd0,{color:_0x3af984,range:_0x441926,name:_0x33b869,selection:_0x1f60e6,sheetID:_0x23cdc8}=_0x3aef04,{startColumn:_0x4d9562,startRow:_0x2c83a8,endColumn:_0x1ceeb,endRow:_0x64fa85}=_0x441926,_0x40a599=_0x4a87b2[_0x3405d7(0xa9)](_0x2c83a8,_0x4d9562,_0x111778,_0x216563),_0x379c13=_0x4a87b2[_0x3405d7(0xa9)](_0x64fa85,_0x1ceeb,_0x111778,_0x216563),{columnHeaderHeightAndMarginTop:_0x2ace49}=_0x216563,{startX:_0x6274f2,startY:_0x3019b3}=_0x40a599,{endX:_0x355e50,endY:_0x18d158}=_0x379c13,_0x54473c=_0x355e50-_0x6274f2,_0x36ef1d=_0x18d158-_0x3019b3,_0x5842a7={'labelPosition':_0x3019b3-_0x2ace49>=_0x260e0f?_0x3405d7(0x286):_0x3405d7(0x1b6),'sheetID':_0x23cdc8,'range':_0x441926,'color':_0x3af984,'name':_0x33b869,'selection':_0x1f60e6,'left':_0x6274f2,'top':_0x3019b3,'width':_0x54473c,'height':_0x36ef1d,'evented':!0x1,'zIndex':_0x1e278c};return new _0x415e6b(_0x33b869,_0x5842a7);});_0x111778['addObjects'](_0x181d84,_0x2c5595),this['_cursors']=new Set(_0x181d84);}[_0x125ea8(0x1a5)](){const _0x5d5002=_0x125ea8;var _0x2c1ade;(_0x2c1ade=this['_cursors'])==null||_0x2c1ade[_0x5d5002(0x1fa)](_0x541da8=>_0x541da8[_0x5d5002(0x23f)]());}['_getSheetObject'](){const _0x3d52f3=_0x125ea8;return _0x4a87b2[_0x3d52f3(0x1f4)](this[_0x3d52f3(0x10d)]['unit'],this[_0x3d52f3(0x10d)]);}};_0x46ea4f=_0x469407([_0x15c691(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x4a87b2[_0x125ea8(0x1b1)])),_0x15c691(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x55a692)),_0x15c691(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x126)]))],_0x46ea4f);function _0x4f5916(_0x47c780){const _0x316e34=_0x125ea8,_0x13efa5=new Map();return _0x47c780[_0x316e34(0x1fa)](_0xb6c4d1=>{const _0x2c9748=_0x316e34;if(_0x13efa5[_0x2c9748(0x2e7)](_0xb6c4d1['selection'])){const _0x1b49e2=_0x13efa5[_0x2c9748(0x205)](_0xb6c4d1[_0x2c9748(0x18c)]);_0x1b49e2[_0x2c9748(0x277)]+=',\x20'+_0xb6c4d1[_0x2c9748(0x277)];}else _0x13efa5[_0x2c9748(0x21a)](_0xb6c4d1[_0x2c9748(0x18c)],_0xb6c4d1);}),Array['from'](_0x13efa5[_0x316e34(0x1f3)]());}var _0x5b9bc2=function(){const _0x4b97c1=_0x125ea8;return _0x5b9bc2=Object[_0x4b97c1(0x1cb)]||function(_0x15a3d4){const _0x1e96bc=_0x4b97c1;for(var _0x5a5d8c,_0x50fcbf=0x1,_0x2d354a=arguments['length'];_0x50fcbf<_0x2d354a;_0x50fcbf++){_0x5a5d8c=arguments[_0x50fcbf];for(var _0x40fb83 in _0x5a5d8c)Object['prototype'][_0x1e96bc(0xe5)][_0x1e96bc(0x1bc)](_0x5a5d8c,_0x40fb83)&&(_0x15a3d4[_0x40fb83]=_0x5a5d8c[_0x40fb83]);}return _0x15a3d4;},_0x5b9bc2['apply'](this,arguments);},_0x1e235a=function(_0x32498b,_0xd39dfa){const _0x4579b6=_0x125ea8;var _0x3aa1f2={};for(var _0xba0c07 in _0x32498b)Object[_0x4579b6(0x26f)][_0x4579b6(0xe5)]['call'](_0x32498b,_0xba0c07)&&_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07)<0x0&&(_0x3aa1f2[_0xba0c07]=_0x32498b[_0xba0c07]);if(_0x32498b!=null&&typeof Object[_0x4579b6(0x288)]=='function'){for(var _0xbc5c71=0x0,_0xba0c07=Object['getOwnPropertySymbols'](_0x32498b);_0xbc5c71<_0xba0c07[_0x4579b6(0xb7)];_0xbc5c71++)_0xd39dfa[_0x4579b6(0x20e)](_0xba0c07[_0xbc5c71])<0x0&&Object[_0x4579b6(0x26f)][_0x4579b6(0x11a)][_0x4579b6(0x1bc)](_0x32498b,_0xba0c07[_0xbc5c71])&&(_0x3aa1f2[_0xba0c07[_0xbc5c71]]=_0x32498b[_0xba0c07[_0xbc5c71]]);}return _0x3aa1f2;},_0x514b25=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x53c8b5,_0x3248f2){const _0x3c27ac=_0x125ea8;var _0x19b5dc=_0x53c8b5[_0x3c27ac(0x1b9)],_0xd2bb97=_0x53c8b5['id'],_0x20ab5f=_0x53c8b5['className'],_0x279b3a=_0x53c8b5[_0x3c27ac(0x8b)],_0x2dd8b2=_0x1e235a(_0x53c8b5,[_0x3c27ac(0x1b9),'id',_0x3c27ac(0x88),_0x3c27ac(0x8b)]),_0x56855c=_0x3c27ac(0xb1)[_0x3c27ac(0x234)](_0xd2bb97,'\x20')[_0x3c27ac(0x234)](_0x20ab5f||'')[_0x3c27ac(0x6d)](),_0x201bd1=_0x3fb4d0['useRef']('_'[_0x3c27ac(0x234)](_0x164c34()));return _0x1ce9e5(_0x19b5dc,''[_0x3c27ac(0x234)](_0xd2bb97),{'defIds':_0x19b5dc[_0x3c27ac(0x197)],'idSuffix':_0x201bd1['current']},_0x5b9bc2({'ref':_0x3248f2,'className':_0x56855c},_0x2dd8b2),_0x279b3a);});function _0x1ce9e5(_0x45dd1d,_0x48a963,_0x5e475e,_0x35062c,_0x4856cd){const _0x1f614e=_0x125ea8;return _0x3fb4d0['createElement'](_0x45dd1d[_0x1f614e(0x97)],_0x5b9bc2(_0x5b9bc2({'key':_0x48a963},_0x248e02(_0x45dd1d,_0x5e475e,_0x4856cd)),_0x35062c),(_0x2d5efa(_0x45dd1d,_0x5e475e)[_0x1f614e(0x18d)]||[])[_0x1f614e(0x16f)](function(_0x33c2a0,_0x4cc232){const _0x4bc465=_0x1f614e;return _0x1ce9e5(_0x33c2a0,''[_0x4bc465(0x234)](_0x48a963,'-')['concat'](_0x45dd1d[_0x4bc465(0x97)],'-')[_0x4bc465(0x234)](_0x4cc232),_0x5e475e,void 0x0,_0x4856cd);}));}function _0x248e02(_0x169c8a,_0x5add02,_0xca788b){const _0x49270f=_0x125ea8;var _0x361bca=_0x5b9bc2({},_0x169c8a[_0x49270f(0xe6)]);_0xca788b!=null&&_0xca788b[_0x49270f(0x118)]&&_0x361bca['fill']===_0x49270f(0x118)&&(_0x361bca['fill']=_0xca788b['colorChannel1']),_0x169c8a[_0x49270f(0x97)]===_0x49270f(0xc4)&&_0x361bca['id']&&(_0x361bca['id']=_0x361bca['id']+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x37a085){const _0x1d1902=_0x49270f;var _0x24a070=_0x37a085[0x0],_0x46cc63=_0x37a085[0x1];_0x24a070===_0x1d1902(0xc4)&&typeof _0x46cc63==_0x1d1902(0x82)&&(_0x361bca[_0x24a070]=_0x46cc63[_0x1d1902(0x1ba)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5add02[_0x1d1902(0x1b4)],')')));});var _0x1ab8bb=_0x5add02['defIds'];return!_0x1ab8bb||_0x1ab8bb[_0x49270f(0xb7)]===0x0||(_0x169c8a[_0x49270f(0x97)]==='use'&&_0x361bca[_0x49270f(0x28e)]&&(_0x361bca[_0x49270f(0x28e)]=_0x361bca[_0x49270f(0x28e)]+_0x5add02[_0x49270f(0x1b4)]),Object['entries'](_0x361bca)[_0x49270f(0x1fa)](function(_0x2eca6b){const _0x48f77c=_0x49270f;var _0x50f5ad=_0x2eca6b[0x0],_0x55c4a7=_0x2eca6b[0x1];typeof _0x55c4a7==_0x48f77c(0x82)&&(_0x361bca[_0x50f5ad]=_0x55c4a7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x48f77c(0x234)](_0x5add02[_0x48f77c(0x1b4)],')')));})),_0x361bca;}function _0x2d5efa(_0x461fb6,_0x57a911){const _0x47c3c7=_0x125ea8;var _0x11b7dc,_0x4984a0=_0x57a911[_0x47c3c7(0x197)];return!_0x4984a0||_0x4984a0['length']===0x0?_0x461fb6:_0x461fb6[_0x47c3c7(0x97)]===_0x47c3c7(0x1e4)&&(!((_0x11b7dc=_0x461fb6[_0x47c3c7(0x18d)])===null||_0x11b7dc===void 0x0)&&_0x11b7dc[_0x47c3c7(0xb7)])?_0x5b9bc2(_0x5b9bc2({},_0x461fb6),{'children':_0x461fb6[_0x47c3c7(0x18d)][_0x47c3c7(0x16f)](function(_0x2e868b){const _0x5cc16c=_0x47c3c7;return typeof _0x2e868b[_0x5cc16c(0xe6)]['id']=='string'&&_0x4984a0&&_0x4984a0[_0x5cc16c(0x20e)](_0x2e868b[_0x5cc16c(0xe6)]['id'])>-0x1?_0x5b9bc2(_0x5b9bc2({},_0x2e868b),{'attrs':_0x5b9bc2(_0x5b9bc2({},_0x2e868b[_0x5cc16c(0xe6)]),{'id':_0x2e868b[_0x5cc16c(0xe6)]['id']+_0x57a911[_0x5cc16c(0x1b4)]})}):_0x2e868b;})}):_0x461fb6;}function _0x164c34(){const _0x4b4c95=_0x125ea8;return Math[_0x4b4c95(0x287)]()['toString'](0x24)[_0x4b4c95(0x23d)](0x2,0x8);}_0x514b25[_0x125ea8(0x219)]='UniverIcon';var _0x190964={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x2a6),'width':'1em','height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0x176)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'d':_0x125ea8(0x27f),'strokeLinecap':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2a9)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'fill':'#fff','d':_0x125ea8(0x178)}}]}]}],'defIds':[_0x125ea8(0x2a9)]},_0x15262d=_0x3fb4d0[_0x125ea8(0xf5)](function(_0x238b5b,_0x221fd3){const _0x5e3278=_0x125ea8;return _0x3fb4d0[_0x5e3278(0x1be)](_0x514b25,Object[_0x5e3278(0x1cb)]({},_0x238b5b,{'id':_0x5e3278(0x17c),'ref':_0x221fd3,'icon':_0x190964}));});_0x15262d['displayName']='OffLineSingle';var _0x2d33f2={'tag':_0x125ea8(0x268),'attrs':{'fill':_0x125ea8(0x2d5),'viewBox':_0x125ea8(0x1e2),'width':_0x125ea8(0x19e),'height':_0x125ea8(0x19e)},'children':[{'tag':'g','attrs':{'clipPath':_0x125ea8(0xc1)},'children':[{'tag':_0x125ea8(0x29a),'attrs':{'stroke':_0x125ea8(0xb8),'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':_0x125ea8(0x2ed),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x125ea8(0x1e4),'attrs':{},'children':[{'tag':_0x125ea8(0x137),'attrs':{'id':_0x125ea8(0x2ba)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x125ea8(0x178),'transform':_0x125ea8(0x16c)}}]}]}],'defIds':[_0x125ea8(0x2ba)]},_0x4109ad=_0x3fb4d0['forwardRef'](function(_0x3c0941,_0x314abe){const _0x54c3b3=_0x125ea8;return _0x3fb4d0[_0x54c3b3(0x1be)](_0x514b25,Object[_0x54c3b3(0x1cb)]({},_0x3c0941,{'id':_0x54c3b3(0x174),'ref':_0x314abe,'icon':_0x2d33f2}));});_0x4109ad[_0x125ea8(0x219)]=_0x125ea8(0x243);function _0x11a1ba(_0x3e97b7){const _0x34d753=_0x125ea8;switch(_0x3e97b7){case _0x3d05ed[_0x34d753(0x129)]['OFFLINE']:return _0x34d753(0x115);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x236)]:return _0x34d753(0x122);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x2f0)]:return _0x34d753(0x25f);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x14f)]:return _0x34d753(0x2b0);case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x29c)]:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x27a)]:return _0x34d753(0xb6);case _0x3d05ed[_0x34d753(0x129)]['SYNCED']:case _0x3d05ed[_0x34d753(0x129)][_0x34d753(0x12a)]:return _0x34d753(0x1dc);}}function _0x22772b(_0xd961d0){const _0x4688e2=_0x125ea8,{status$:_0x4eecbf}=_0xd961d0,_0x56cf85=_0x1b6316[_0x4688e2(0xf1)](_0x4eecbf,_0x3d05ed[_0x4688e2(0x129)]['NOT_COLLAB']),_0x25fba6=_0x1b6316[_0x4688e2(0x143)](_0x4d006c[_0x4688e2(0x83)]),_0x5f17ae=_0x1b6316[_0x4688e2(0x143)](_0x3d05ed[_0x4688e2(0x1d5)]),_0x3f1a41=_0x56cf85!==_0x3d05ed['CollaborationStatus'][_0x4688e2(0x27c)],_0x45ebf8=_0x25fba6['t'](_0x11a1ba(_0x56cf85)),_0x146c0d=_0x3f1a41?_0x4ce13b[_0x4688e2(0x149)](_0x4109ad,{}):_0x4ce13b[_0x4688e2(0x149)](_0x15262d,{}),_0x472d18=_0x3fb4d0[_0x4688e2(0x229)](()=>{_0x3f1a41||_0x5f17ae['reconnect']();},[_0x3f1a41,_0x5f17ae]);function _0x5e7237(){const _0x1ec91a=_0x4688e2;return _0x4ce13b[_0x1ec91a(0x230)](_0x1ec91a(0xce),{'className':'univer-flex\x20univer-items-center','onClick':_0x472d18,'children':[_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':_0x1f5fc2[_0x1ec91a(0x6a)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3f1a41?_0x1ec91a(0x2af):_0x1ec91a(0x2df)),'children':_0x146c0d}),_0x4ce13b[_0x1ec91a(0x149)](_0x1ec91a(0xce),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x45ebf8})]});}return _0x3f1a41?_0x5e7237():_0x4ce13b[_0x4688e2(0x149)](_0x1f5fc2[_0x4688e2(0x93)],{'title':_0x25fba6['t'](_0x4688e2(0xa5)),'children':_0x5e7237()});}var _0x24a3a5=Object[_0x125ea8(0x209)],_0x16b6f5=(_0x1ed99a,_0x12d44e,_0x52423a,_0x4fad8f)=>{const _0x207c7e=_0x125ea8;for(var _0x3399a4=_0x4fad8f>0x1?void 0x0:_0x4fad8f?_0x24a3a5(_0x12d44e,_0x52423a):_0x12d44e,_0x46abb1=_0x1ed99a[_0x207c7e(0xb7)]-0x1,_0x5e0747;_0x46abb1>=0x0;_0x46abb1--)(_0x5e0747=_0x1ed99a[_0x46abb1])&&(_0x3399a4=_0x5e0747(_0x3399a4)||_0x3399a4);return _0x3399a4;},_0x5d3fc2=(_0x8fa462,_0x4f14d6)=>(_0x39e0f2,_0x4689a7)=>_0x4f14d6(_0x39e0f2,_0x4689a7,_0x8fa462);_0x1a6cab[_0x125ea8(0x14d)]=class extends _0x4d006c['Disposable']{constructor(_0xa2d155,_0x48d930,_0x2f2c34,_0x474031){const _0x2341e1=_0x125ea8;super(),_0x321a93(this,_0x2341e1(0x2dc),new _0x424996[(_0x2341e1(0x170))](_0x3d05ed['CollaborationStatus']['NOT_COLLAB'])),(this[_0x2341e1(0x1af)]=_0xa2d155,this[_0x2341e1(0x9f)]=_0x48d930,this[_0x2341e1(0x262)]=_0x2f2c34,this[_0x2341e1(0x28b)]=_0x474031,this[_0x2341e1(0x2b5)](),this[_0x2341e1(0x152)]());}[_0x125ea8(0x152)](){const _0x3263d2=_0x125ea8;this[_0x3263d2(0xd9)](this[_0x3263d2(0x1af)][_0x3263d2(0x21d)][_0x3263d2(0x2c2)](_0x424996['switchMap'](()=>{const _0x24821b=_0x3263d2,_0x11e682=this[_0x24821b(0x1af)][_0x24821b(0x297)]();return _0x11e682?this['_collaborationController'][_0x24821b(0x10f)](_0x11e682[_0x24821b(0x1d0)]()):_0x424996['of'](null);}),_0x424996[_0x3263d2(0x263)](_0x21e0d9=>_0x21e0d9?_0x21e0d9[_0x3263d2(0x266)]:_0x424996['of'](_0x3d05ed[_0x3263d2(0x129)][_0x3263d2(0x14f)])))[_0x3263d2(0x2fb)](_0x45f191=>{const _0x4bcad1=_0x3263d2;this[_0x4bcad1(0x2dc)][_0x4bcad1(0xa3)](_0x45f191);}));}[_0x125ea8(0x2b5)](){const _0x361b16=_0x125ea8;this['disposeWithMe'](this[_0x361b16(0x28b)][_0x361b16(0x271)](_0x1b6316[_0x361b16(0x1ee)][_0x361b16(0x15c)],()=>_0x1b6316[_0x361b16(0x23e)](_0x5ef5d2({'status$':this[_0x361b16(0x2dc)][_0x361b16(0x147)]()}),this[_0x361b16(0x9f)])));}},_0x1a6cab[_0x125ea8(0x14d)]=_0x16b6f5([_0x5d3fc2(0x0,_0x4d006c[_0x125ea8(0x2ec)]),_0x5d3fc2(0x1,_0x4d006c['Inject'](_0x4d006c['Injector'])),_0x5d3fc2(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x150)])),_0x5d3fc2(0x3,_0x1b6316[_0x125ea8(0x225)])],_0x1a6cab[_0x125ea8(0x14d)]);function _0x5ef5d2(_0x4e2077){const {status$:_0x4a0c9d}=_0x4e2077;return function(){return _0x4ce13b['jsx'](_0x22772b,{'status$':_0x4a0c9d});};}var _0x37904c=Object[_0x125ea8(0x209)],_0x58cc96=(_0x5ede38,_0x242d29,_0x5789b8,_0x31c9b2)=>{for(var _0x3f247d=_0x31c9b2>0x1?void 0x0:_0x31c9b2?_0x37904c(_0x242d29,_0x5789b8):_0x242d29,_0xfa8de7=_0x5ede38['length']-0x1,_0x7f0c00;_0xfa8de7>=0x0;_0xfa8de7--)(_0x7f0c00=_0x5ede38[_0xfa8de7])&&(_0x3f247d=_0x7f0c00(_0x3f247d)||_0x3f247d);return _0x3f247d;},_0x1c1d7d=(_0x1ac9eb,_0x34b5ea)=>(_0x44bd23,_0x4ea1ee)=>_0x34b5ea(_0x44bd23,_0x4ea1ee,_0x1ac9eb);let _0x412a08=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x574081,_0x115b59,_0xc22381,_0x592594,_0x90da61,_0x8f8645){const _0x443d38=_0x125ea8;super(),this[_0x443d38(0x276)]=_0x574081,this[_0x443d38(0x1df)]=_0x115b59,this[_0x443d38(0x17b)]=_0xc22381,this[_0x443d38(0x226)]=_0x592594,this[_0x443d38(0x27d)]=_0x90da61,this[_0x443d38(0x85)]=_0x8f8645,this[_0x443d38(0x13f)](),this['_initEvent']();}[_0x125ea8(0x13f)](){const _0x415f0a=_0x125ea8;this[_0x415f0a(0xd9)](this[_0x415f0a(0x276)][_0x415f0a(0xfc)](()=>{const _0x15baed=_0x415f0a;if(this[_0x15baed(0x1df)][_0x15baed(0x114)]['size'])return this[_0x15baed(0x85)]['t'](_0x15baed(0x8a));}));}[_0x125ea8(0x16e)](){const _0x78c963=_0x125ea8;this['disposeWithMe'](this[_0x78c963(0x17b)][_0x78c963(0x2bb)][_0x78c963(0x2fb)](_0x78a9fd=>{const _0x45e9be=_0x78c963;_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['OTHER_CLIENT_EDITING']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x22f))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x25d)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)]['Warning'],'content':this[_0x45e9be(0x85)]['t']('collaboration.closeRoom')}),_0x78a9fd['id']===_0x3d05ed['CollaborationUIEventId'][_0x45e9be(0x2f7)]&&this[_0x45e9be(0x27d)][_0x45e9be(0x2ab)]({'title':this[_0x45e9be(0x85)]['t']('permission.title'),'content':this[_0x45e9be(0x85)]['t']('permission.content'),'type':_0x45e9be(0x2bd),'duration':0x0}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x236)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0x164))+'('+_0x78a9fd[_0x45e9be(0x22d)]+')'}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x15a)]&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2['MessageType']['Warning'],'content':this[_0x45e9be(0x85)]['t'](_0x78a9fd['data']||'')}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x2e8)]&&this['_messageService'][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x189)],'content':this[_0x45e9be(0x85)]['t'](_0x45e9be(0x221))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)]['SOCKET_FAILED']&&this[_0x45e9be(0x226)][_0x45e9be(0x2ab)]({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this['_localeService']['t'](_0x45e9be(0xa1))}),_0x78a9fd['id']===_0x3d05ed[_0x45e9be(0x20c)][_0x45e9be(0x284)]&&this['_messageService']['show']({'type':_0x1f5fc2[_0x45e9be(0x1e3)][_0x45e9be(0x89)],'content':this[_0x45e9be(0x85)]['t']('session.collaboration-timeout')});}));}};_0x412a08=_0x58cc96([_0x1c1d7d(0x0,_0x1b6316['IBeforeCloseService']),_0x1c1d7d(0x1,_0x3d05ed[_0x125ea8(0x2b3)]),_0x1c1d7d(0x2,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x2aa)])),_0x1c1d7d(0x3,_0x1b6316[_0x125ea8(0x251)]),_0x1c1d7d(0x4,_0x1b6316[_0x125ea8(0x153)]),_0x1c1d7d(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['LocaleService']))],_0x412a08);const _0x23abbe=_0x125ea8(0x1ce),_0x2b1b44={},_0xade62c=_0x4d006c[_0x125ea8(0x1ae)](_0x125ea8(0x102));var _0x46649e=Object['getOwnPropertyDescriptor'],_0x562aae=(_0x1b9abe,_0x4a15ba,_0x2d0640,_0x57a925)=>{const _0x3e1752=_0x125ea8;for(var _0x949621=_0x57a925>0x1?void 0x0:_0x57a925?_0x46649e(_0x4a15ba,_0x2d0640):_0x4a15ba,_0x59d855=_0x1b9abe[_0x3e1752(0xb7)]-0x1,_0x34036d;_0x59d855>=0x0;_0x59d855--)(_0x34036d=_0x1b9abe[_0x59d855])&&(_0x949621=_0x34036d(_0x949621)||_0x949621);return _0x949621;},_0x4da828=(_0x5b105f,_0x2a43d0)=>(_0x3a36ca,_0xcc5a2c)=>_0x2a43d0(_0x3a36ca,_0xcc5a2c,_0x5b105f);_0x1a6cab[_0x125ea8(0x15d)]=class extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(_0x2fdd05,_0x29d4be,_0x4e465a,_0x107564,_0x527568){const _0x4d95b1=_0x125ea8;super(),this[_0x4d95b1(0x26b)]=_0x2fdd05,this['_logService']=_0x29d4be,this['_commandService']=_0x4e465a,this[_0x4d95b1(0xfa)]=_0x107564,_0x527568?_0x527568==null||_0x527568[_0x4d95b1(0x173)]()[_0x4d95b1(0x87)](()=>this[_0x4d95b1(0x2c1)]()):(this[_0x4d95b1(0x17d)][_0x4d95b1(0x136)](_0x4d95b1(0xb9),_0x4d95b1(0xe4)),this['_init']());}async[_0x125ea8(0x2c1)](){const _0x3c88d8=_0x125ea8,_0x1ec450=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0x12d)),_0x2eb9c8=this[_0x3c88d8(0x26b)][_0x3c88d8(0x27b)](_0x3c88d8(0xd4)),_0x378850=this['_urlService'][_0x3c88d8(0x27b)](_0x3c88d8(0x1c4));if(!_0x1ec450||!_0x2eb9c8){this['_logService'][_0x3c88d8(0x136)](_0x3c88d8(0xb9),_0x3c88d8(0x206));return;}const _0x16a0a7=await this[_0x3c88d8(0xfa)][_0x3c88d8(0x19d)](_0x1ec450,Number(_0x2eb9c8),_0x378850);_0x16a0a7&&_0x16a0a7 instanceof _0x4d006c['Workbook']&&this[_0x3c88d8(0xc2)](_0x16a0a7);}async[_0x125ea8(0xc2)](_0x400a9a){const _0xdd2c50=_0x125ea8;await this[_0xdd2c50(0x17a)](_0x400a9a),_0x400a9a[_0xdd2c50(0x2d3)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))[_0xdd2c50(0x2fb)](_0x252fd4=>{_0x252fd4&&this['_updateURLWithCurrentState'](_0x252fd4);}),this['_urlService'][_0xdd2c50(0x1e1)][_0xdd2c50(0x2c2)](_0x424996[_0xdd2c50(0x2b2)](this[_0xdd2c50(0x281)]))['subscribe'](()=>this[_0xdd2c50(0x17a)](_0x400a9a));}[_0x125ea8(0xf4)](_0x19f230,_0x293189=!0x1){const _0x5aaed1=_0x125ea8,_0x128913=this['_urlService'][_0x5aaed1(0x27b)](_0x5aaed1(0x1c4));_0x19f230[_0x5aaed1(0xff)]()!==_0x128913&&this[_0x5aaed1(0x26b)][_0x5aaed1(0x1a8)](_0x5aaed1(0x1c4),_0x19f230['getSheetId'](),_0x293189);}async[_0x125ea8(0x17a)](_0x209640){const _0x12563b=_0x125ea8;var _0x22a849;const _0x2c33ab=this[_0x12563b(0x26b)][_0x12563b(0x27b)]('subunit');if(!_0x2c33ab||!_0x209640[_0x12563b(0x17f)](_0x2c33ab)){const _0x55fd7a=_0x209640[_0x12563b(0x10b)]()[0x0],_0x2f6f5e=_0x209640[_0x12563b(0x17f)](_0x55fd7a);if(!_0x2f6f5e)return;this[_0x12563b(0xf4)](_0x2f6f5e,!0x0),await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c[_0x12563b(0xc0)]['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x55fd7a});return;}((_0x22a849=_0x209640['getActiveSheet']())==null?void 0x0:_0x22a849[_0x12563b(0xff)]())!==_0x2c33ab&&await this[_0x12563b(0xe8)][_0x12563b(0x21b)](_0x231e9c['SetWorksheetActivateCommand']['id'],{'unitId':_0x209640[_0x12563b(0x1d0)](),'subUnitId':_0x2c33ab});}},_0x1a6cab[_0x125ea8(0x15d)]=_0x562aae([_0x4da828(0x0,_0xade62c),_0x4da828(0x1,_0x4d006c['ILogService']),_0x4da828(0x2,_0x4d006c['ICommandService']),_0x4da828(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x3d05ed[_0x125ea8(0x1da)])),_0x4da828(0x4,_0x4d006c['Optional'](_0x5adf1e['IRemoteInstanceService']))],_0x1a6cab['CollaborationDataLoaderController']);var _0x2ec213=Object['getOwnPropertyDescriptor'],_0x7f7a1f=(_0x5326f0,_0x3a0494,_0x1ebebe,_0x4788d0)=>{for(var _0x43c873=_0x4788d0>0x1?void 0x0:_0x4788d0?_0x2ec213(_0x3a0494,_0x1ebebe):_0x3a0494,_0x230d42=_0x5326f0['length']-0x1,_0x22ccaa;_0x230d42>=0x0;_0x230d42--)(_0x22ccaa=_0x5326f0[_0x230d42])&&(_0x43c873=_0x22ccaa(_0x43c873)||_0x43c873);return _0x43c873;},_0x5d946a=(_0x1291bf,_0x3c501a)=>(_0x2e7f65,_0x53d576)=>_0x3c501a(_0x2e7f65,_0x53d576,_0x1291bf);let _0x27c614=class{constructor(_0x3c4918,_0x597b9c,_0x4299b0){const _0x21e182=_0x125ea8;this[_0x21e182(0x9f)]=_0x3c4918,this[_0x21e182(0xdb)]=_0x597b9c,this[_0x21e182(0x2a7)]=_0x4299b0;}['transformIMECache'](_0x972471){const _0x1415c8=_0x125ea8;this[_0x1415c8(0x1d8)](_0x972471),this[_0x1415c8(0x15f)](_0x972471);}[_0x125ea8(0x185)](_0x1afa18){const _0x192e94=_0x125ea8,{unitID:_0x3e5c9c}=_0x1afa18,_0x52474c=this[_0x192e94(0x2a7)][_0x192e94(0x203)](_0x3e5c9c)[_0x192e94(0x28a)](_0x5051a5['DocIMEInputManagerService']),{redoCache:_0x3c07ba}=_0x52474c[_0x192e94(0x1e9)]();if(_0x3c07ba[_0x192e94(0xb7)]===0x0)return _0x1afa18;let _0x13d0e7=_0x4d006c[_0x192e94(0x1b5)]['deepClone'](_0x1afa18['mutations'][0x0]);for(let _0x12a110=0x0;_0x12a110<_0x3c07ba[_0x192e94(0xb7)];_0x12a110++){const _0x2e9693={'id':_0x192e94(0x12e),'params':{..._0x3c07ba[_0x12a110]}},_0x240999=this['_transformService'][_0x192e94(0x1d1)](_0x13d0e7,_0x2e9693,!0x1);if(_0x12f559[_0x192e94(0xcb)](_0x240999))throw _0x240999['error'];_0x13d0e7=_0x240999[_0x192e94(0x77)];}return{..._0x4d006c[_0x192e94(0x1b5)][_0x192e94(0xc3)](_0x1afa18),'mutations':[_0x13d0e7]};}['_transformUndoRedoStack'](_0x12694c){const _0x4610bc=_0x125ea8,{unitID:_0x5abdab}=_0x12694c,_0x12bafc=this[_0x4610bc(0x2a7)][_0x4610bc(0x203)](_0x5abdab)[_0x4610bc(0x28a)](_0x5051a5[_0x4610bc(0x180)]),{undoCache:_0x17ed83,redoCache:_0x52ea5f}=_0x12bafc[_0x4610bc(0x1e9)]();if(_0x17ed83[_0x4610bc(0xb7)]===0x0||_0x52ea5f[_0x4610bc(0xb7)]===0x0)return;const _0x43375b=[],_0x653381=[];let _0x160021=_0x4d006c['Tools'][_0x4610bc(0xc3)](_0x12694c['mutations'][0x0]),_0x319045=_0x4d006c[_0x4610bc(0x1b5)][_0x4610bc(0xc3)](_0x12694c[_0x4610bc(0x6c)][0x0]);for(let _0x174e28=_0x17ed83['length']-0x1;_0x174e28>=0x0;_0x174e28--){const _0x317627={'id':_0x4610bc(0x12e),'params':{..._0x17ed83[_0x174e28]}},_0x39d1bc={'id':_0x4610bc(0x12e),'params':{..._0x52ea5f[_0x174e28]}},_0x5a99de=this[_0x4610bc(0xdb)][_0x4610bc(0x1d1)](_0x160021,_0x317627,!0x1),_0x8822ac=this['_transformService'][_0x4610bc(0x1d1)](_0x319045,_0x39d1bc,!0x1);if(_0x12f559[_0x4610bc(0xcb)](_0x5a99de))throw _0x5a99de['error'];if(_0x12f559[_0x4610bc(0xcb)](_0x8822ac))throw _0x8822ac[_0x4610bc(0x2bd)];_0x43375b[_0x4610bc(0x2ef)](_0x5a99de['m2Prime'][_0x4610bc(0x2fd)]),_0x653381[_0x4610bc(0x2ef)](_0x8822ac[_0x4610bc(0x250)][_0x4610bc(0x2fd)]),_0x160021=_0x5a99de['m1Prime'],_0x319045=_0x8822ac[_0x4610bc(0x77)];}_0x12bafc['setUndoRedoMutationParamsCache']({'undoCache':_0x43375b,'redoCache':_0x653381});}[_0x125ea8(0x15f)](_0x59d9d6){const _0x58580b=_0x125ea8,{unitID:_0x58da44}=_0x59d9d6,_0x2135bf=this[_0x58580b(0x2a7)][_0x58580b(0x203)](_0x58da44)[_0x58580b(0x28a)](_0x5051a5[_0x58580b(0x180)]),_0x2cb760=_0x2135bf[_0x58580b(0x1c9)]();if(_0x2cb760==null)return;const _0x48d529=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x59d9d6['unitID'],'actions':null,'textRanges':[_0x2cb760]}}],_0x59b818=this['_transformService'][_0x58580b(0x238)](_0x59d9d6,_0x48d529);if(!_0x12f559[_0x58580b(0x167)](_0x59b818))throw _0x59b818[_0x58580b(0x2bd)];const _0x1be267=_0x59b818['m2Prime'][0x0][_0x58580b(0x2fd)][_0x58580b(0xa2)];Array[_0x58580b(0x177)](_0x1be267)&&_0x1be267[_0x58580b(0xb7)]&&_0x2135bf[_0x58580b(0x2c7)](_0x1be267[0x0]);}};_0x27c614=_0x7f7a1f([_0x5d946a(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c['Injector'])),_0x5d946a(0x1,_0x12f559['ITransformService']),_0x5d946a(0x2,_0x3ce196['IRenderManagerService'])],_0x27c614);var _0x43e871=Object[_0x125ea8(0x209)],_0x208020=(_0x2781ae,_0x5ba4eb,_0x474902,_0x2df645)=>{const _0x6a77f6=_0x125ea8;for(var _0x75d50c=_0x2df645>0x1?void 0x0:_0x2df645?_0x43e871(_0x5ba4eb,_0x474902):_0x5ba4eb,_0x24f1d6=_0x2781ae[_0x6a77f6(0xb7)]-0x1,_0x47b5c8;_0x24f1d6>=0x0;_0x24f1d6--)(_0x47b5c8=_0x2781ae[_0x24f1d6])&&(_0x75d50c=_0x47b5c8(_0x75d50c)||_0x75d50c);return _0x75d50c;},_0x4f294f=(_0x2e424d,_0x3e37f5)=>(_0x4ebc48,_0x1f9e62)=>_0x3e37f5(_0x4ebc48,_0x1f9e62,_0x2e424d);let _0x55d5ce=class{constructor(_0x291fe9,_0x20407a,_0x4c0a26){const _0x4e6c63=_0x125ea8;this[_0x4e6c63(0x9f)]=_0x291fe9,this['_transformService']=_0x20407a,this[_0x4e6c63(0x163)]=_0x4c0a26;}[_0x125ea8(0x272)](_0x30e236){const _0xfff505=_0x125ea8;this[_0xfff505(0x192)](_0x30e236);}[_0x125ea8(0x185)](_0x1f8246){const _0xf92c4c=_0x125ea8,{unitID:_0x2b30cd}=_0x1f8246,{collaboration:_0x1fad7e}=this[_0xf92c4c(0x163)][_0xf92c4c(0xdf)](_0x2b30cd);if(_0x1fad7e[_0xf92c4c(0xb7)]===0x0)return _0x1f8246;let _0x148ec4=_0x4d006c[_0xf92c4c(0x1b5)][_0xf92c4c(0xc3)](_0x1f8246[_0xf92c4c(0x6c)][0x0]);for(let _0x5b33b7=0x0;_0x5b33b7<_0x1fad7e[_0xf92c4c(0xb7)];_0x5b33b7++){const _0x4c0b86={'id':_0xf92c4c(0x12e),'params':{'unitId':_0x1fad7e[_0x5b33b7][_0xf92c4c(0x224)],..._0x1fad7e[_0x5b33b7][_0xf92c4c(0x11f)]}},_0x780107=this[_0xf92c4c(0xdb)][_0xf92c4c(0x1d1)](_0x148ec4,_0x4c0b86,!0x1);if(_0x12f559['isTransformMutationFailure'](_0x780107))throw _0x780107[_0xf92c4c(0x2bd)];_0x148ec4=_0x780107['m1Prime'];}return{..._0x4d006c['Tools'][_0xf92c4c(0xc3)](_0x1f8246),'mutations':[_0x148ec4]};}[_0x125ea8(0x192)](_0x3e4357){const _0x1885ae=_0x125ea8,{unitID:_0x587503}=_0x3e4357,{history:_0x50d9e0,collaboration:_0x1d316b}=this['_docStateChangeManagerService']['getStateCache'](_0x587503);if(_0x50d9e0[_0x1885ae(0xb7)]===0x0&&_0x1d316b[_0x1885ae(0xb7)]===0x0)return;const _0x284b21=[],_0x47b940=[];let _0x10c309=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c['Tools']['deepClone'](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x6fc3f4=_0x50d9e0[_0x1885ae(0xb7)]-0x1;_0x6fc3f4>=0x0;_0x6fc3f4--){const _0x18c441={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x2d8)]}},_0x90bff5={'id':_0x1885ae(0x12e),'params':{'unitId':_0x50d9e0[_0x6fc3f4][_0x1885ae(0x224)],..._0x50d9e0[_0x6fc3f4][_0x1885ae(0x11f)]}},_0x4a72b0=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x18c441,!0x1),_0x5f3018=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x90bff5,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4a72b0))throw _0x4a72b0[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x5f3018))throw _0x5f3018['error'];_0x284b21[_0x1885ae(0x2ef)]({..._0x50d9e0[_0x6fc3f4],'undoState':_0x4a72b0[_0x1885ae(0x250)]['params'],'redoState':_0x5f3018['m2Prime'][_0x1885ae(0x2fd)]}),_0x10c309=_0x4a72b0['m1Prime'],_0x3034f6=_0x5f3018[_0x1885ae(0x77)];}_0x10c309=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]),_0x3034f6=_0x4d006c[_0x1885ae(0x1b5)][_0x1885ae(0xc3)](_0x3e4357[_0x1885ae(0x6c)][0x0]);for(let _0x113254=_0x1d316b[_0x1885ae(0xb7)]-0x1;_0x113254>=0x0;_0x113254--){const _0x29cbfa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x2d8)]}},_0x2db619={'id':_0x1885ae(0x12e),'params':{'unitId':_0x1d316b[_0x113254][_0x1885ae(0x224)],..._0x1d316b[_0x113254][_0x1885ae(0x11f)]}},_0x4f194e=this[_0x1885ae(0xdb)][_0x1885ae(0x1d1)](_0x10c309,_0x29cbfa,!0x1),_0x39f461=this[_0x1885ae(0xdb)]['transformMutation'](_0x3034f6,_0x2db619,!0x1);if(_0x12f559[_0x1885ae(0xcb)](_0x4f194e))throw _0x4f194e[_0x1885ae(0x2bd)];if(_0x12f559[_0x1885ae(0xcb)](_0x39f461))throw _0x39f461[_0x1885ae(0x2bd)];_0x47b940[_0x1885ae(0x2ef)]({..._0x1d316b[_0x113254],'undoState':_0x4f194e[_0x1885ae(0x250)][_0x1885ae(0x2fd)],'redoState':_0x39f461[_0x1885ae(0x250)][_0x1885ae(0x2fd)]}),_0x10c309=_0x4f194e[_0x1885ae(0x77)],_0x3034f6=_0x39f461[_0x1885ae(0x77)];}this[_0x1885ae(0x163)][_0x1885ae(0x2da)](_0x587503,{'history':_0x284b21,'collaboration':_0x47b940});}};_0x55d5ce=_0x208020([_0x4f294f(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x4f294f(0x1,_0x12f559['ITransformService']),_0x4f294f(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x5051a5[_0x125ea8(0x2a1)]))],_0x55d5ce);var _0x55f156=Object[_0x125ea8(0x209)],_0x1cbab1=(_0x1afcae,_0x4b39c5,_0x190f60,_0x9e1079)=>{const _0x3f3105=_0x125ea8;for(var _0x261a4a=_0x9e1079>0x1?void 0x0:_0x9e1079?_0x55f156(_0x4b39c5,_0x190f60):_0x4b39c5,_0x54a317=_0x1afcae[_0x3f3105(0xb7)]-0x1,_0xbc1940;_0x54a317>=0x0;_0x54a317--)(_0xbc1940=_0x1afcae[_0x54a317])&&(_0x261a4a=_0xbc1940(_0x261a4a)||_0x261a4a);return _0x261a4a;},_0x3c3f19=(_0x101865,_0x17f825)=>(_0x2959aa,_0x454611)=>_0x17f825(_0x2959aa,_0x454611,_0x101865);let _0x685fad=class{constructor(_0x3c16a5,_0x4d406b){this['_injector']=_0x3c16a5,this['_transformService']=_0x4d406b;}['transformSelections'](_0x4feaab){const _0x10c62b=_0x125ea8;var _0x3b4308;const _0xa7b4ac=this[_0x10c62b(0x9f)][_0x10c62b(0x205)](_0x2b2a28[_0x10c62b(0xb5)]),_0x48e447=(_0x3b4308=_0xa7b4ac[_0x10c62b(0x135)]())!=null?_0x3b4308:[];if(_0x48e447[_0x10c62b(0xb7)]===0x0)return;const _0x4c38f9=_0x4feaab['unitID'],_0x22fee4=[{'id':_0x10c62b(0x12e),'params':{'unitId':_0x4c38f9,'actions':null,'textRanges':_0x48e447}}],_0x4730ed=this['_transformService'][_0x10c62b(0x238)](_0x4feaab,_0x22fee4);if(!_0x12f559[_0x10c62b(0x167)](_0x4730ed))throw _0x4730ed[_0x10c62b(0x2bd)];const _0x1ebcc3=_0x4730ed[_0x10c62b(0x250)][0x0][_0x10c62b(0x2fd)][_0x10c62b(0xa2)];Array[_0x10c62b(0x177)](_0x1ebcc3)&&_0x1ebcc3['length']&&_0xa7b4ac[_0x10c62b(0x1c5)](_0x1ebcc3,{'unitId':_0x4c38f9,'subUnitId':_0x4c38f9},!0x1);}};_0x685fad=_0x1cbab1([_0x3c3f19(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x3c3f19(0x1,_0x12f559[_0x125ea8(0x2c3)])],_0x685fad);var _0x5302c6=Object['getOwnPropertyDescriptor'],_0x27721b=(_0x1a3187,_0x1d428c,_0x1b4060,_0x498f38)=>{const _0x124c20=_0x125ea8;for(var _0x51f53f=_0x498f38>0x1?void 0x0:_0x498f38?_0x5302c6(_0x1d428c,_0x1b4060):_0x1d428c,_0x371a5e=_0x1a3187[_0x124c20(0xb7)]-0x1,_0x544be5;_0x371a5e>=0x0;_0x371a5e--)(_0x544be5=_0x1a3187[_0x371a5e])&&(_0x51f53f=_0x544be5(_0x51f53f)||_0x51f53f);return _0x51f53f;},_0x96d203=(_0x3512f1,_0x32ff47)=>(_0x455d04,_0x2fa671)=>_0x32ff47(_0x455d04,_0x2fa671,_0x3512f1);let _0x1cabee=class extends _0x4d006c['Disposable']{constructor(_0x9526e7,_0x2d4e62,_0x2901c6,_0x274fb7,_0x2a4ba4,_0x4f7826,_0x2d7592,_0x75abee){const _0x52c6c2=_0x125ea8;super(),_0x321a93(this,'_status$',new _0x424996[(_0x52c6c2(0x170))](_0x3d05ed['CollaborationStatus'][_0x52c6c2(0x14f)])),(this[_0x52c6c2(0x163)]=_0x9526e7,this[_0x52c6c2(0x262)]=_0x2d4e62,this['_docTransformIMECacheService']=_0x2901c6,this[_0x52c6c2(0xd5)]=_0x274fb7,this['_docTransformSelectionsService']=_0x2a4ba4,this[_0x52c6c2(0x142)]=_0x4f7826,this[_0x52c6c2(0x226)]=_0x2d7592,this['_localeService']=_0x75abee,this[_0x52c6c2(0xac)]());}[_0x125ea8(0xac)](){const _0x3e521b=_0x125ea8;this[_0x3e521b(0xd9)](this[_0x3e521b(0x262)][_0x3e521b(0x222)][_0x3e521b(0x2fb)](_0x287bb3=>{const _0x28028a=_0x3e521b,_0x1f5b99=this[_0x28028a(0x163)][_0x28028a(0xcc)][_0x28028a(0x2fb)](_0x4a877d=>{const _0x30567c=_0x28028a;if(_0x4a877d==null)return;const {unitId:_0x4753ef,redoState:_0x4dffa0,commandId:_0x5ab66a}=_0x4a877d;if(_0x4753ef!==_0x287bb3['unitID'])return;const _0x456434={'id':_0x5ab66a,'type':_0x4d006c[_0x30567c(0x1dd)]['MUTATION'],'params':{'unitId':_0x4753ef,'actions':_0x4dffa0[_0x30567c(0x270)],'textRanges':null}};_0x287bb3[_0x30567c(0x202)](_0x456434);});if(_0x287bb3[_0x28028a(0xd9)](_0x1f5b99),_0x287bb3 instanceof _0x3d05ed[_0x28028a(0xbe)]){const _0x8237be={'onTransformIME':_0x5b7b73=>this[_0x28028a(0x2c0)][_0x28028a(0x14b)](_0x5b7b73),'onTransformState':_0x349833=>this[_0x28028a(0xd5)][_0x28028a(0x272)](_0x349833),'onTransformSelections':_0x3ebc96=>this[_0x28028a(0x188)][_0x28028a(0x201)](_0x3ebc96),'onSyncEditingCollabCursor':_0x59e7c3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x59e7c3),'onTransformRemoteChangesetByIMECache':_0x12f45c=>this[_0x28028a(0x2c0)][_0x28028a(0x185)](_0x12f45c),'onTransformRemoteChangesetByStateCache':_0x1ef2b4=>this[_0x28028a(0xd5)][_0x28028a(0x185)](_0x1ef2b4)};_0x287bb3['addHandlerCallback'](_0x8237be);}}));}};_0x1cabee=_0x27721b([_0x96d203(0x0,_0x4d006c['Inject'](_0x5051a5[_0x125ea8(0x2a1)])),_0x96d203(0x1,_0x4d006c['Inject'](_0x3d05ed[_0x125ea8(0x150)])),_0x96d203(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x27c614)),_0x96d203(0x3,_0x4d006c[_0x125ea8(0xa0)](_0x55d5ce)),_0x96d203(0x4,_0x4d006c[_0x125ea8(0xa0)](_0x685fad)),_0x96d203(0x5,_0x4d006c[_0x125ea8(0xa0)](_0x167556)),_0x96d203(0x6,_0x1b6316[_0x125ea8(0x251)]),_0x96d203(0x7,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x83)]))],_0x1cabee);var _0x169802=Object[_0x125ea8(0x209)],_0xaa1c6a=(_0x544209,_0x2d402e,_0x668883,_0x53a6e4)=>{const _0x40c9c8=_0x125ea8;for(var _0x19801d=_0x53a6e4>0x1?void 0x0:_0x53a6e4?_0x169802(_0x2d402e,_0x668883):_0x2d402e,_0x1d7044=_0x544209[_0x40c9c8(0xb7)]-0x1,_0x4817ee;_0x1d7044>=0x0;_0x1d7044--)(_0x4817ee=_0x544209[_0x1d7044])&&(_0x19801d=_0x4817ee(_0x19801d)||_0x19801d);return _0x19801d;},_0x126761=(_0x3aa2c8,_0x1526dc)=>(_0x29b9f8,_0x37bc13)=>_0x1526dc(_0x29b9f8,_0x37bc13,_0x3aa2c8);let _0x42251d=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x4df13a,_0x1e9a30,_0x2fa30c){const _0x5ace5a=_0x125ea8;super(),_0x321a93(this,_0x5ace5a(0x2b1),new Map()),_0x321a93(this,_0x5ace5a(0xea),new Map()),_0x321a93(this,'_disabled',!0x1),(this[_0x5ace5a(0x2c9)]=_0x4df13a,this[_0x5ace5a(0x1b2)]=_0x1e9a30,this[_0x5ace5a(0x2d6)]=_0x2fa30c);}['disableLocalCache'](){const _0x3b1db8=_0x125ea8;this[_0x3b1db8(0x2b7)]=!0x0;}['enableLocalCache'](){const _0x3ec7c7=_0x125ea8;this[_0x3ec7c7(0x2b7)]=!0x1;}get[_0x125ea8(0x114)](){const _0x539c6b=_0x125ea8;return this[_0x539c6b(0xea)];}[_0x125ea8(0x23f)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x125ea8(0x191)](_0x4697a4){const _0x5e4524=_0x125ea8;return this[_0x5e4524(0x2b7)]?null:this[_0x5e4524(0x1b2)]['getItem'](_0x3d05ed[_0x5e4524(0x2c8)](_0x4697a4));}async[_0x125ea8(0x227)](_0x1289e5,_0x55f526){return!!this['_localStorageService']['setItem'](_0x1289e5,_0x55f526);}['updateOfflineData'](_0x4092df,_0x4a7472,_0x950ed8,_0x9b9c9b){const _0x230e9e=_0x125ea8,_0x3de0c8=this[_0x230e9e(0x2d6)][_0x230e9e(0x181)](_0x4092df);this[_0x230e9e(0x2b1)][_0x230e9e(0x21a)](_0x4092df,{'unitID':_0x4092df,'type':_0x4a7472,'awaitingChangeset':_0x950ed8,'mutations':_0x9b9c9b,'rev':_0x3de0c8}),this[_0x230e9e(0xea)][_0x230e9e(0x2e7)](_0x4092df)||this[_0x230e9e(0x235)](_0x4092df);}[_0x125ea8(0x235)](_0x44785c){const _0x41f000=_0x125ea8,_0x402c5a=this[_0x41f000(0x239)]();_0x402c5a===0x0?this[_0x41f000(0x154)](_0x44785c):this[_0x41f000(0xea)][_0x41f000(0x21a)](_0x44785c,setTimeout(()=>this['_saveCache'](_0x44785c),_0x402c5a));}['_getSaveTimeout'](){const _0x59da0a=_0x125ea8;var _0x243545;return(_0x243545=this[_0x59da0a(0x2c9)][_0x59da0a(0x9c)](_0x3d05ed['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x243545:_0x3d05ed[_0x59da0a(0x256)];}['_saveCache'](_0x2b144e){const _0x582d19=_0x125ea8,_0x59f0d3=this[_0x582d19(0xea)]['get'](_0x2b144e);return _0x59f0d3!==void 0x0&&window[_0x582d19(0xda)](_0x59f0d3),this[_0x582d19(0x1b2)][_0x582d19(0xaf)](_0x3d05ed[_0x582d19(0x2c8)](_0x2b144e),this['_cachedData'][_0x582d19(0x205)](_0x2b144e))[_0x582d19(0x87)](()=>this[_0x582d19(0xea)][_0x582d19(0x22b)](_0x2b144e));}async[_0x125ea8(0x9b)](){const _0x58772e=_0x125ea8,_0x23efd4=[];this[_0x58772e(0xea)][_0x58772e(0x1fa)]((_0xc4eea2,_0x41bea7)=>{const _0x1fc258=_0x58772e;window[_0x1fc258(0xda)](_0xc4eea2),_0x23efd4[_0x1fc258(0x2e4)](this[_0x1fc258(0x154)](_0x41bea7)[_0x1fc258(0x87)](()=>{const _0x1b2edc=_0x1fc258;this[_0x1b2edc(0xea)][_0x1b2edc(0x22b)](_0x41bea7);}));}),await Promise[_0x58772e(0x2ce)](_0x23efd4);}};_0x42251d=_0xaa1c6a([_0x126761(0x0,_0x4d006c[_0x125ea8(0x24d)]),_0x126761(0x1,_0x4d006c['ILocalStorageService']),_0x126761(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x12f559['RevisionService']))],_0x42251d);class _0x2d18ad extends _0x4d006c[_0x125ea8(0x2b6)]{constructor(){const _0x16dc6e=_0x125ea8;super(),_0x321a93(this,_0x16dc6e(0x1e1)),this['urlChange$']=_0x424996['fromEvent'](window,_0x16dc6e(0x269))['pipe'](_0x424996[_0x16dc6e(0x2b2)](this[_0x16dc6e(0x281)]),_0x424996[_0x16dc6e(0x12c)](0x1),_0x424996[_0x16dc6e(0x2e2)](void 0x0));}[_0x125ea8(0x1a8)](_0x2e3105,_0x1cb3e9,_0x5f409f=!0x1){const _0x6629ef=_0x125ea8,_0x37446d=new URL(window['location']['href']);_0x37446d[_0x6629ef(0x14e)][_0x6629ef(0x21a)](_0x2e3105,_0x1cb3e9),_0x5f409f?window[_0x6629ef(0x255)][_0x6629ef(0x1f2)]('','',_0x37446d[_0x6629ef(0x72)]()):window['history'][_0x6629ef(0x29d)]('','',_0x37446d[_0x6629ef(0x72)]());}[_0x125ea8(0x103)](_0x3b72ae,_0x4f6aab=!0x1){const _0x42ffce=_0x125ea8,_0x12f00d=new URL(window['location'][_0x42ffce(0x1b8)]);_0x12f00d[_0x42ffce(0x14e)][_0x42ffce(0x22b)](_0x3b72ae),_0x4f6aab?window[_0x42ffce(0x255)][_0x42ffce(0x1f2)]('','',_0x12f00d[_0x42ffce(0x72)]()):window['history'][_0x42ffce(0x29d)]('','',_0x12f00d[_0x42ffce(0x72)]());}[_0x125ea8(0x27b)](_0x2973e2){const _0x4bd256=_0x125ea8;var _0x4675b9;return(_0x4675b9=new URL(window[_0x4bd256(0x130)]['href'])['searchParams'][_0x4bd256(0x205)](_0x2973e2))!=null?_0x4675b9:void 0x0;}}var _0x53224c=Object[_0x125ea8(0x2f8)],_0x370b99=Object[_0x125ea8(0x209)],_0x27b1a7=(_0x1193fd,_0x2a8dd1,_0x33c66c)=>_0x2a8dd1 in _0x1193fd?_0x53224c(_0x1193fd,_0x2a8dd1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33c66c}):_0x1193fd[_0x2a8dd1]=_0x33c66c,_0x25789f=(_0x445aa1,_0x1b6b91,_0x8dcb12,_0x1412f5)=>{const _0x2096f7=_0x125ea8;for(var _0x5c92b6=_0x1412f5>0x1?void 0x0:_0x1412f5?_0x370b99(_0x1b6b91,_0x8dcb12):_0x1b6b91,_0x26d8f0=_0x445aa1[_0x2096f7(0xb7)]-0x1,_0x3d74e4;_0x26d8f0>=0x0;_0x26d8f0--)(_0x3d74e4=_0x445aa1[_0x26d8f0])&&(_0x5c92b6=_0x3d74e4(_0x5c92b6)||_0x5c92b6);return _0x5c92b6;},_0x300d57=(_0x303e10,_0xc14701)=>(_0x5ba0ad,_0x3f8eaf)=>_0xc14701(_0x5ba0ad,_0x3f8eaf,_0x303e10),_0x1d53a3=(_0x2789d5,_0x3745da,_0x5473cc)=>_0x27b1a7(_0x2789d5,_0x3745da+'',_0x5473cc);const _0x12890b='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1a6cab['UniverCollaborationClientUIPlugin']=class extends _0x4d006c[_0x125ea8(0x104)]{constructor(_0x22e71e=_0x2b1b44,_0x243192,_0x1f7aa1,_0x5233c8){const _0x21659e=_0x125ea8;super(),this['_config']=_0x22e71e,this[_0x21659e(0x2a7)]=_0x243192,this[_0x21659e(0x9f)]=_0x1f7aa1,this[_0x21659e(0x2c9)]=_0x5233c8;const {..._0x15b9d2}=_0x4d006c['merge']({},_0x2b1b44,this[_0x21659e(0x264)]);this[_0x21659e(0x2c9)][_0x21659e(0x1fc)](_0x23abbe,_0x15b9d2);}['onStarting'](){const _0x333f95=_0x125ea8;this[_0x333f95(0x133)](),this[_0x333f95(0x1ec)]();}[_0x125ea8(0x9a)](){const _0x352c96=_0x125ea8;this[_0x352c96(0x2f4)]();}['_registerDependencies'](){const _0x4cf5bc=_0x125ea8;var _0x10dc73;const _0x23fc68=[[_0x1bdb8f],[_0x685fad],[_0x27c614],[_0x55d5ce],[_0x167556],[_0xade62c,{'useClass':_0x2d18ad}],[_0x651cbe[_0x4cf5bc(0x296)],{'useClass':_0x651cbe['WebSocketService']}],[_0x3d05ed['ILocalCacheService'],{'useClass':_0x42251d}],[_0x1a6cab[_0x4cf5bc(0x14d)]],[_0x1cabee],[_0x412a08],[_0x55a692],[_0x22fe1a],[_0x1a6cab[_0x4cf5bc(0x15d)]]];_0x4d006c[_0x4cf5bc(0x24a)](this[_0x4cf5bc(0x9f)],_0x4d006c[_0x4cf5bc(0xa4)](_0x23fc68,(_0x10dc73=this[_0x4cf5bc(0x264)])==null?void 0x0:_0x10dc73['override']));}[_0x125ea8(0x2f4)](){const _0x342719=_0x125ea8;this[_0x342719(0xd9)](this[_0x342719(0x2a7)][_0x342719(0x27e)](_0x4d006c[_0x342719(0xd3)]['UNIVER_DOC'],[_0x49880d])),this[_0x342719(0xd9)](this[_0x342719(0x2a7)]['registerRenderModule'](_0x4d006c['UniverInstanceType']['UNIVER_SHEET'],[_0x46ea4f]));}[_0x125ea8(0x1ec)](){const _0x957cb6=_0x125ea8;_0x4d006c[_0x957cb6(0x246)](this[_0x957cb6(0x9f)],[[_0x55a692],[_0x1a6cab[_0x957cb6(0x14d)]],[_0x1cabee],[_0x412a08],[_0x1a6cab[_0x957cb6(0x15d)]]]);}},_0x1d53a3(_0x1a6cab[_0x125ea8(0x119)],_0x125ea8(0x161),_0x12890b),_0x1a6cab[_0x125ea8(0x119)]=_0x25789f([_0x4d006c[_0x125ea8(0x11c)](_0x3d05ed['UniverCollaborationClientPlugin']),_0x300d57(0x1,_0x3ce196[_0x125ea8(0x187)]),_0x300d57(0x2,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x300d57(0x3,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab['UniverCollaborationClientUIPlugin']);var _0x1f26e2=Object[_0x125ea8(0x209)],_0x23a6b0=(_0x5ae13d,_0x1663cf,_0x4d51c9,_0xa1e124)=>{for(var _0x5820f0=_0xa1e124>0x1?void 0x0:_0xa1e124?_0x1f26e2(_0x1663cf,_0x4d51c9):_0x1663cf,_0x119868=_0x5ae13d['length']-0x1,_0x32d2f4;_0x119868>=0x0;_0x119868--)(_0x32d2f4=_0x5ae13d[_0x119868])&&(_0x5820f0=_0x32d2f4(_0x5820f0)||_0x5820f0);return _0x5820f0;},_0x512a71=(_0x52c22e,_0x292525)=>(_0x8fd54,_0x266fe7)=>_0x292525(_0x8fd54,_0x266fe7,_0x52c22e);_0x1a6cab['BrowserCollaborationSocketService']=class extends _0x3d05ed[_0x125ea8(0x13d)]{constructor(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523){super(_0x148ca8,_0x5c6554,_0x437f48,_0x302744,_0x478523);}async['createSocket'](_0x348055){const _0x488a32=_0x125ea8,_0x34ed53=await this['_getSessionTicket'](),_0x125480=this[_0x488a32(0x2ee)](_0x348055,_0x34ed53);return this[_0x488a32(0x1ea)](_0x125480);}[_0x125ea8(0x2ee)](_0x17e925,_0x499722){const _0x2c1421=_0x125ea8,_0x2f4b68=typeof window>'u'?new URL(_0x17e925):new URL(_0x17e925,window[_0x2c1421(0x130)][_0x2c1421(0x2b9)]);_0x2f4b68['searchParams'][_0x2c1421(0x21a)]('sessionTicket',_0x499722);const _0x2ef366=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2c1421(0x130)][_0x2c1421(0xc7)]);return _0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))&&_0x2f4b68[_0x2c1421(0x14e)][_0x2c1421(0x21a)](_0x2c1421(0x9e),_0x2ef366[_0x2c1421(0x205)](_0x2c1421(0x9e))),_0x2f4b68[_0x2c1421(0x72)]();}async[_0x125ea8(0x75)](){const _0xdffdbe=_0x125ea8;var _0xdb8922,_0x218412,_0x514e40;const _0x3c74eb=this[_0xdffdbe(0x2c9)][_0xdffdbe(0x9c)](_0x3d05ed['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5861be=(_0xdb8922=_0x3c74eb==null?void 0x0:_0x3c74eb[_0xdffdbe(0x1d9)])!=null?_0xdb8922:_0x3d05ed[_0xdffdbe(0x1c1)];return(_0x514e40=(_0x218412=(await this[_0xdffdbe(0x210)][_0xdffdbe(0x205)](_0x5861be,{'headers':{'Content-Type':_0xdffdbe(0x199)}}))[_0xdffdbe(0x2a0)])==null?void 0x0:_0x218412[_0xdffdbe(0x261)])!=null?_0x514e40:'';}},_0x1a6cab[_0x125ea8(0x12b)]=_0x23a6b0([_0x512a71(0x0,_0x4d006c[_0x125ea8(0xa0)](_0x4d006c[_0x125ea8(0x8d)])),_0x512a71(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x512a71(0x2,_0x4d006c[_0x125ea8(0x24d)]),_0x512a71(0x3,_0x4d006c[_0x125ea8(0x19f)]),_0x512a71(0x4,_0x12f559[_0x125ea8(0x23b)])],_0x1a6cab[_0x125ea8(0x12b)]);const _0x3d73c5=0x7530,_0x4d458c=_0x125ea8(0x260);class _0x3d5db7 extends _0x4d006c[_0x125ea8(0x96)]{constructor(){const _0x35d878=_0x125ea8;super(),_0x321a93(this,_0x35d878(0x2f9),_0x4d006c[_0x35d878(0xcd)]()),_0x321a93(this,_0x35d878(0x175),new Set()),_0x321a93(this,_0x35d878(0x2e5),new Map()),_0x321a93(this,'_heartbeatTimer',null),_0x321a93(this,_0x35d878(0x6e),new Map()),_0x321a93(this,_0x35d878(0xf6),new Map()),this['_init']();}[_0x125ea8(0x23f)](){const _0xb247f3=_0x125ea8;super[_0xb247f3(0x23f)](),this['_clearOtherTimers'][_0xb247f3(0x1fa)]((_0x44fd58,_0x3dc0f8)=>this[_0xb247f3(0x108)](_0x3dc0f8)),this[_0xb247f3(0x8c)]&&window[_0xb247f3(0x1f8)](this[_0xb247f3(0x8c)]);}[_0x125ea8(0x106)](_0x4391b6){const _0x177c16=_0x125ea8;return this['_ensureSubject'](_0x4391b6)[_0x177c16(0x2c2)](_0x424996[_0x177c16(0x2ae)]());}['editingUnit'](_0x4beba8){const _0x12e818=_0x125ea8;this['_selfUnitIDs']['size']===0x0&&this[_0x12e818(0xba)](),this['_selfUnitIDs'][_0x12e818(0x208)](_0x4beba8),this[_0x12e818(0xbc)]({'type':0x0,'memberID':this[_0x12e818(0x2f9)],'unitIDs':[_0x4beba8],'isForwarded':!0x1});}['disposeUnit'](_0x146d09){const _0x43d358=_0x125ea8;this['_selfUnitIDs'][_0x43d358(0x22b)](_0x146d09),this['_selfUnitIDs']['size']===0x0&&this[_0x43d358(0x8c)]&&window[_0x43d358(0x1f8)](this[_0x43d358(0x8c)]);}[_0x125ea8(0x2c1)](){const _0x57ff79=_0x125ea8;this[_0x57ff79(0xd9)](_0x4d006c['toDisposable'](_0x424996[_0x57ff79(0x247)](window,_0x57ff79(0x2d9))['subscribe'](_0x3cc57e=>{const _0x44ec08=_0x57ff79;if(_0x3cc57e[_0x44ec08(0x111)]!==_0x4d458c||!_0x3cc57e[_0x44ec08(0x248)])return;const _0x1d1371=JSON[_0x44ec08(0x11e)](_0x3cc57e[_0x44ec08(0x248)]);this[_0x44ec08(0xeb)](_0x1d1371);}))),window[_0x57ff79(0x8e)](_0x57ff79(0x2ea),()=>this[_0x57ff79(0xbc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57ff79(0x18f)](this[_0x57ff79(0x175)])}));}[_0x125ea8(0xeb)](_0x11e758){const _0x353f60=_0x125ea8;switch(_0x11e758[_0x353f60(0xd4)]){case 0x0:this['_handleJoinEvent'](_0x11e758);break;case 0x1:this['_handleLeaveEvent'](_0x11e758);break;case 0x2:this[_0x353f60(0x1aa)](_0x11e758);break;}}[_0x125ea8(0x110)](_0x1775b8){const _0x4036d6=_0x125ea8,{unitIDs:_0xb1c24f,memberID:_0x44e438,isForwarded:_0x1b9692}=_0x1775b8;_0xb1c24f['forEach'](_0x125e55=>{const _0xb388bd=_0x1eaa;if(!_0x1b9692&&this[_0xb388bd(0x2e5)][_0xb388bd(0x2e7)](_0x125e55)&&this['_ensureSubject'](_0x125e55)[_0xb388bd(0xa3)](_0x3d05ed[_0xb388bd(0x6f)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0xb388bd(0x2e7)](_0x125e55)||!this[_0xb388bd(0x2e5)][_0xb388bd(0x205)](_0x125e55)['has'](_0x44e438)){const _0x499d04=this[_0xb388bd(0x2e5)]['get'](_0x125e55)||new Set();_0x499d04['add'](_0x44e438),this[_0xb388bd(0x2e5)]['set'](_0x125e55,_0x499d04),this['_scheduleClearOtherTimer'](_0x44e438);}}),_0x1b9692||this[_0x4036d6(0xbc)]({'type':0x0,'memberID':this[_0x4036d6(0x2f9)],'unitIDs':[...this[_0x4036d6(0x175)]],'isForwarded':!0x0});}[_0x125ea8(0x207)](_0xac9a78){const _0x1840fc=_0x125ea8;this[_0x1840fc(0x108)](_0xac9a78);const _0x401047=window[_0x1840fc(0x117)](()=>{const _0x33334b=_0x1840fc;this[_0x33334b(0x2e5)][_0x33334b(0x1fa)](_0x1bd0c8=>{const _0x14a99d=_0x33334b;_0x1bd0c8[_0x14a99d(0x22b)](_0xac9a78);});},_0x3d73c5*0x2);this[_0x1840fc(0x6e)]['set'](_0xac9a78,_0x401047);}[_0x125ea8(0x108)](_0x3b2a10){const _0x38c666=_0x125ea8;if(this[_0x38c666(0x6e)][_0x38c666(0x2e7)](_0x3b2a10)){const _0x130845=this[_0x38c666(0x6e)]['get'](_0x3b2a10);_0x130845&&window[_0x38c666(0xda)](_0x130845),this['_clearOtherTimers'][_0x38c666(0x21a)](_0x3b2a10,null);}}['_handleLeaveEvent'](_0x1efc4e){const _0x979112=_0x125ea8,{memberID:_0x20acca,unitIDs:_0x297dee}=_0x1efc4e;_0x297dee[_0x979112(0x1fa)](_0x5dd49c=>{const _0x294e79=_0x979112;var _0x384c95;const _0x24a0e8=this[_0x294e79(0x2e5)]['get'](_0x5dd49c);_0x24a0e8&&(_0x24a0e8['delete'](_0x20acca),(_0x384c95=this[_0x294e79(0x123)](_0x5dd49c))==null||_0x384c95[_0x294e79(0xa3)](_0x24a0e8[_0x294e79(0x232)]===0x0?_0x3d05ed[_0x294e79(0x6f)][_0x294e79(0x1e8)]:_0x3d05ed['UnitStatus'][_0x294e79(0x2dd)]));}),this[_0x979112(0x108)](_0x20acca);}[_0x125ea8(0x1aa)](_0xa06da3){const _0x5b38f3=_0x125ea8;this[_0x5b38f3(0x207)](_0xa06da3['memberID']);}[_0x125ea8(0xbc)](_0x511b81){const _0x3e7329=_0x125ea8;localStorage[_0x3e7329(0xaf)](_0x4d458c,JSON[_0x3e7329(0x214)](_0x511b81));}[_0x125ea8(0xba)](){const _0x2c4219=_0x125ea8;this[_0x2c4219(0x8c)]=window[_0x2c4219(0x291)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3d73c5);}[_0x125ea8(0x123)](_0x27d01e){const _0x3d782c=_0x125ea8;return this[_0x3d782c(0xf6)][_0x3d782c(0x2e7)](_0x27d01e)||this[_0x3d782c(0xf6)][_0x3d782c(0x21a)](_0x27d01e,new _0x424996[(_0x3d782c(0x170))](_0x3d05ed[_0x3d782c(0x6f)][_0x3d782c(0x1e8)])),this[_0x3d782c(0xf6)][_0x3d782c(0x205)](_0x27d01e);}}var _0x3ddc83=(_0x12e3ff=>(_0x12e3ff[_0x12e3ff[_0x125ea8(0x240)]=0x0]=_0x125ea8(0x240),_0x12e3ff[_0x12e3ff['OK']=0x1]='OK',_0x12e3ff[_0x12e3ff[_0x125ea8(0x289)]=0x2]=_0x125ea8(0x289),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2f7)]=0x3]=_0x125ea8(0x2f7),_0x12e3ff[_0x12e3ff['NOT_FOUND']=0x4]='NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1f9)]=0x5]=_0x125ea8(0x1f9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x23a)]=0x6]=_0x125ea8(0x23a),_0x12e3ff[_0x12e3ff[_0x125ea8(0x12f)]=0x7]=_0x125ea8(0x12f),_0x12e3ff[_0x12e3ff[_0x125ea8(0x26d)]=0x8]='TOO_MANY_REQUESTS',_0x12e3ff[_0x12e3ff[_0x125ea8(0x112)]=0x9]='COMPLETION_FINISHED',_0x12e3ff[_0x12e3ff['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x12e3ff[_0x12e3ff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x125ea8(0x148),_0x12e3ff[_0x12e3ff[_0x125ea8(0x157)]=0x1771]=_0x125ea8(0x157),_0x12e3ff[_0x12e3ff[_0x125ea8(0xd2)]=0x1772]=_0x125ea8(0xd2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1c2)]=0x1773]=_0x125ea8(0x1c2),_0x12e3ff[_0x12e3ff[_0x125ea8(0x90)]=0x1b59]=_0x125ea8(0x90),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2a3)]=0x1b5a]=_0x125ea8(0x2a3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x155)]=0x1b5b]=_0x125ea8(0x155),_0x12e3ff[_0x12e3ff[_0x125ea8(0x18b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x193)]=0x1b5d]=_0x125ea8(0x193),_0x12e3ff[_0x12e3ff[_0x125ea8(0x16b)]=0x1f41]=_0x125ea8(0x16b),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d6)]=0x2329]=_0x125ea8(0x1d6),_0x12e3ff[_0x12e3ff[_0x125ea8(0x217)]=0x232a]=_0x125ea8(0x217),_0x12e3ff[_0x12e3ff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff[_0x125ea8(0x283)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x12e3ff[_0x12e3ff['LICENSE_DISTRO_REJECTED']=0x232d]=_0x125ea8(0xad),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1a9)]=0x2711]=_0x125ea8(0x1a9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x293)]=0x2712]=_0x125ea8(0x293),_0x12e3ff[_0x12e3ff[_0x125ea8(0x91)]=0x2713]=_0x125ea8(0x91),_0x12e3ff[_0x12e3ff[_0x125ea8(0x259)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf9)]=0x271a]=_0x125ea8(0xf9),_0x12e3ff[_0x12e3ff[_0x125ea8(0x1d3)]=0x271b]=_0x125ea8(0x1d3),_0x12e3ff[_0x12e3ff[_0x125ea8(0x162)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12e3ff[_0x12e3ff[_0x125ea8(0x1e5)]=0x2ee1]=_0x125ea8(0x1e5),_0x12e3ff[_0x12e3ff['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x12e3ff[_0x12e3ff[_0x125ea8(0xf7)]=0x2ee3]=_0x125ea8(0xf7),_0x12e3ff[_0x12e3ff[_0x125ea8(0x116)]=0x2ee4]=_0x125ea8(0x116),_0x12e3ff[_0x12e3ff[_0x125ea8(0x2b4)]=0x2ee5]=_0x125ea8(0x2b4),_0x12e3ff[_0x12e3ff[_0x125ea8(0xca)]=0x32c9]=_0x125ea8(0xca),_0x12e3ff[_0x12e3ff[_0x125ea8(0xb4)]=0x32ca]=_0x125ea8(0xb4),_0x12e3ff[_0x12e3ff[_0x125ea8(0x25b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12e3ff[_0x12e3ff[_0x125ea8(0x196)]=-0x1]=_0x125ea8(0x196),_0x12e3ff))(_0x3ddc83||{}),_0x1f93b7=Object[_0x125ea8(0x209)],_0x2977b6=(_0x34b960,_0x5e0e11,_0x413c00,_0x1f75a8)=>{const _0x38766b=_0x125ea8;for(var _0x1e90f7=_0x1f75a8>0x1?void 0x0:_0x1f75a8?_0x1f93b7(_0x5e0e11,_0x413c00):_0x5e0e11,_0x3f597f=_0x34b960[_0x38766b(0xb7)]-0x1,_0x1e097c;_0x3f597f>=0x0;_0x3f597f--)(_0x1e097c=_0x34b960[_0x3f597f])&&(_0x1e90f7=_0x1e097c(_0x1e90f7)||_0x1e90f7);return _0x1e90f7;},_0x9c16f0=(_0x315a71,_0x172044)=>(_0x316106,_0x31bb98)=>_0x172044(_0x316106,_0x31bb98,_0x315a71);_0x1a6cab[_0x125ea8(0x1cf)]=class extends _0x4d006c[_0x125ea8(0x96)]{constructor(_0x2cb40c,_0x587068,_0x10d6a0){const _0x2f6662=_0x125ea8;super(),this['_instanceService']=_0x2cb40c,this[_0x2f6662(0x210)]=_0x587068,this['_configService']=_0x10d6a0;}async[_0x125ea8(0x21e)](_0x14e443,_0x3dc6e8,_0x25b9b1,..._0x18de95){const _0x3a26f9=_0x125ea8;var _0x124b78,_0x2d0ef0,_0x3840bc,_0x5e5968;const _0x2659d0=this[_0x3a26f9(0x86)][_0x3a26f9(0x297)]();if(!_0x2659d0)throw new Error(_0x3a26f9(0x1d7));const _0x3b1a6f=((_0x124b78=this[_0x3a26f9(0x2c9)][_0x3a26f9(0x9c)](_0x3d05ed[_0x3a26f9(0x1a2)]))!=null?_0x124b78:_0x3d05ed[_0x3a26f9(0x121)])+'/'+_0x14e443+_0x3a26f9(0x172)+_0x3dc6e8,_0x544b22=new URL(window[_0x3a26f9(0x130)][_0x3a26f9(0x1b8)]),_0x99a540={'scriptId':_0x14e443,'runId':(_0x2d0ef0=_0x544b22[_0x3a26f9(0x14e)]['get'](_0x3a26f9(0x9e)))!=null?_0x2d0ef0:'','function':_0x3dc6e8,'unitId':_0x2659d0[_0x3a26f9(0x1d0)](),'argsOfFunction':JSON['stringify'](_0x18de95),'invokeId':(_0x3840bc=_0x25b9b1['invokeId'])!=null?_0x3840bc:'','executionId':(_0x5e5968=_0x25b9b1[_0x3a26f9(0x274)])!=null?_0x5e5968:''};try{const _0x35b9b4=await this[_0x3a26f9(0x210)]['post'](_0x3b1a6f,{'body':_0x99a540});return _0x35b9b4['body'][_0x3a26f9(0x2bd)]&&_0x35b9b4[_0x3a26f9(0x2a0)][_0x3a26f9(0x2bd)][_0x3a26f9(0x200)]!==_0x3ddc83['OK']?_0x3a26f9(0x134):_0x35b9b4['body'][_0x3a26f9(0xe7)];}catch{return _0x3a26f9(0x134);}}},_0x1a6cab['RemoteUniscriptService']=_0x2977b6([_0x9c16f0(0x0,_0x4d006c['IUniverInstanceService']),_0x9c16f0(0x1,_0x4d006c[_0x125ea8(0xa0)](_0x651cbe[_0x125ea8(0x2f3)])),_0x9c16f0(0x2,_0x4d006c[_0x125ea8(0x24d)])],_0x1a6cab[_0x125ea8(0x1cf)]),_0x1a6cab['CollaborationStatusDisplay']=_0x22772b,_0x1a6cab['IURLService']=_0xade62c,_0x1a6cab[_0x125ea8(0x2bf)]=_0x415e6b,_0x1a6cab[_0x125ea8(0x131)]=_0x3d5db7,_0x1a6cab[_0x125ea8(0x2cd)]=_0x2d18ad,Object[_0x125ea8(0x2f8)](_0x1a6cab,Symbol[_0x125ea8(0x1fb)],{'value':_0x125ea8(0x2ca)});}));function _0x39ec(){const _0x7d86ad=['getUnhiddenWorksheets','Rectangle','_context','getVpScrollXYInfoByPosToVp','getCollabEntity$','_handleJoinEvent','key','COMPLETION_FINISHED','_docSkeletonManagerService','saveTaskMap','collabStatus.offline','USER_NOT_INVITED_CODE','setTimeout','colorChannel1','UniverCollaborationClientUIPlugin','propertyIsEnumerable','_eventUnsubscribe','DependentOn','getMemberID','parse','redoState','63cCUCfW','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collabStatus.conflict','_ensureSubject','COLORS','fillStyle','ThemeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','RefRangeService','CollaborationStatus','PENDING','BrowserCollaborationSocketService','shareReplay','unit','doc.mutation.rich-text-editing','INVALID_ARGUMENT','location','WebBrowserSingleActiveUnitService','_labelPosition','_registerDependencies','Failed','getDocRanges','debug','clipPath','SessionStatus','71915OHgkAl','_updateLocalCursor','_entities','_anchor','CollaborationSocketService','_getScale','_setupBeforeClosingHandler','react','UNIVER_SHEET','_docSyncEditingCollabCursorService','useDependency','_cursorInfo$','purple300','onPointerEnter$','asObservable','CHANGESET_REVISION_CONFILICT','jsx','rxjs','transformIMECache','@univerjs/docs','DesktopCollaborationStatusDisplayController','searchParams','NOT_COLLAB','CollaborationController','getColor','_initStatusListener','INotificationService','_saveCache','APPLY_REVISION_CONFILICT','height','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveRightCommandId','text','JOIN_ROOM_FAILED','RegularPolygon','HEADER_MENU','CollaborationDataLoaderController','@univerjs/engine-render','_transformPreviousActiveRange','onTransformChange$','pluginName','PY_RUNTIME_SCRIPT_ERROR','_docStateChangeManagerService','collaboration.closeRoom','sheetID','_onCursorDelete','isTransformMutationsWithChangesetSuccess','_handleHover','_toggleOnline','UPDATE_CURSOR','CONNECTOR_DATA_TOO_LARGE','translate(.97)','setShapeProps','_initEvent','map','BehaviorSubject','_shapes','/run/','whenReady','on-line-single','_selfUnitIDs','url(#off-line-single_clip0_910_343)','isArray','M0\x200H16V16H0z','UniverProCollaboration','_updateSubUnitFromURLParams','_collaborationUIEventService','off-line-single','_logService','_getMergeRange','getSheetBySheetId','DocIMEInputManagerService','getCurrentRevOfUnit','_assignedColors','_range','InsertRowCommandId','transformRemoteChangeset','max','IRenderManagerService','_docTransformSelectionsService','Warning','_docSkeleton','APPLY_PERMISSION_DENIED','selection','children','RichTextEditingMutation','from','_initResize','loadOfflineData','_transformHistoryAndStateStack','APPLY_DUPLICATED','2700CSPxjC','_scene','UNRECOGNIZED','defIds','861uHPLuC','application/json','endRow','createInstance','onPointerLeave$','loadUnit','1em','ILogService','cursorInfo$','_onRefRangeChange','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','engine','syncEditingCollabCursor','_removeCollabCursors','send','ICommandService','setParam','YUUMI_UNABLE_LOAD_URL','_handleHeartbeatEvent','IImageIoService','getValue','Vector2','createIdentifier','_univerInstanceService','roomMembers$','SheetSkeletonManagerService','_localStorageService','getSkeleton','idSuffix','Tools','bottom','sheetId','href','icon','replace','_onCursorUpdate','call','onMouseMove','createElement','getOffsetConfig','ranges','DEFAULT_WS_SESSION_TICKET_URL','ENSURE_SNAPSHOT_EXECUTION','Rect','subunit','replaceDocRanges','startsWith','fillText','_themeService','getActiveRange','onCommandExecuted','assign','getCurrentUnitForType','_hideTimer','collaboration-client-ui.config','RemoteUniscriptService','getUnitId','transformMutation','_toggleOffline','YUUMI_ASYNCIO_CANCELLED','fill','CollaborationSessionService','LICENSE_MAX_UNITS_EXCEEDED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_transformUndoRedoStack','wsSessionTicketUrl','DataLoaderService','_refreshCollabCursors','collabStatus.synced','CommandType','moveTo','_localCacheService','SHEET_VIEWPORT_KEY','urlChange$','0\x200\x2017\x2016','MessageType','defs','INVITE_CODE_HAS_BEEN_UES','_sheetSkeletonManagerService','EffectRefRangId','NO_OTHER_CLIENTS_EDITING','getUndoRedoMutationParamsCache','_doCreateSocket','evenodd','_initDependencies','@univerjs/engine-formula','BuiltInUIPart','_memberService','...','_syncEditingCollabCursorService','replaceState','values','getSheetObject','_drawRectRange','transformByState','handleIRemoveRow','clearInterval','UNAUTHENTICATED','forEach','toStringTag','setConfig','handleInsertRangeMoveRight','_imageIoService','SetSelectionsOperation','code','transformSelections','onLocalMutation','getRenderById','_collabSessionService','get','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleClearOtherTimer','add','getOwnPropertyDescriptor','_roomMembers$','_startSheetCollabCursor','CollaborationUIEventId','width','indexOf','_entityInit$','_httpService','_collabCursorController','getTypeOfUnitDisposed$','registerRefRange','stringify','SetDocZoomRatioOperation','FromArray','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','displayName','set','executeCommand','restore','focused$','runOnServer','handleInsertCol','UNIVER_DOC','session.will-retry','entityInit$','_hovered','unitId','IUIPartsService','_messageService','saveOfflineData','react/jsx-runtime','useCallback','getViewport','delete','UniverProCollaborationClient','data','TEXT','collaboration.single-unit.warning','jsxs','_updateCollabCursors','size','_hover','concat','_scheduleSaving','CONFLICT','UniverDrawing','transformMutationsWithChangeset','_getSaveTimeout','ALREADY_EXISTS','ISnapshotServerService','Subject','substring','connectInjector','dispose','UNDEFINED','cursorInfo','handleMoveRange','OnLineSingle','skeleton','symbol','touchDependencies','fromEvent','newValue','@univerjs-pro/collaboration-client','registerDependencies','_drawTextRange','UniverDesign','IConfigService','UniverNetwork','NodePositionConvertToCursor','m2Prime','IMessageService','getRangePointData','getAncestorScale','CollaborationEvent','history','LOCAL_CACHE_INTERVAL','assignAColorForMemberID','_online','YUUMI_SUBSCRIPTION_NOT_FOUND','arc','EMAIL_HAS_BEEN_BOUND','DOC_RANGE_TYPE','CLOSE_ROOM','rxjs/operators','collabStatus.fetchMiss','ACTIVE_UNIT_EVENT_CHANNEL','ticket','_collaborationController','switchMap','_config','736353EDLxSZ','status$','debounceTime','svg','popstate','combineLatest','_urlService','MemberService','TOO_MANY_REQUESTS','_collabCursorState$','prototype','actions','registerComponent','transformStateCache','setAlpha','executionId','_draw','_beforeCloseService','name','UniverCore','getCellPositionByOffset','AWAITING_WITH_PENDING','getParam','OFFLINE','_notificationService','registerRenderModule','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','_session','dispose$','collab-text-anchor-','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_cursor','top','random','getOwnPropertySymbols','INTERNAL_ERROR','with','_uiPartsService','backgroundColor','flatMap','xlink:href','min','row','setInterval','toRgbString','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/rpc','USERS_LEAVE','ISocketService','getFocusedUnit','exports','measureText','path','InsertColCommandId','AWAITING','pushState','eventID','selections','body','DocStateChangeManagerService','complete','APPLY_NON_SEQUENTIAL_REVISION','drawWith','@univerjs/ui','0\x200\x2016\x2016','_renderManagerService','column','off-line-single_clip0_910_343','CollaborationUIEventService','show','@univerjs/design','_cursorShapes','distinctUntilChanged','univer-text-green-500','collabStatus.notCollab','_cachedData','takeUntil','ILocalCacheService','INVITE_CODE_ALREADY_BOUND','_initStatusComponent','RxDisposable','_disabled','984392EfDMWz','origin','on-line-single_clip0_910_349','event$','red300','error','_textBubble','SheetCollabCursorShape','_docTransformIMECacheService','_init','pipe','ITransformService','UniverEngineRender','16lQdAFM','_initCommandExecutedListener','setActiveRange','getLocalCacheKey','_configService','Module','findNodePositionByCharIndex','RemoveColCommandId','WebURLService','all','InsertRangeMoveDownCommandId','getMember','_color','300BNZlTy','activeSheet$','serializeRangeWithSheet','none','_revisionService','RemoveRowCommandId','undoState','storage','setStateCache','handleDeleteRangeMoveUp','_status$','OTHER_CLIENTS_EDITING','triggerDblclick','univer-text-red-500','startRow','@univerjs/sheets-ui','mapTo','currentTheme$','push','_unitOnClients','_drawAnchor','has','SOCKET_FAILED_RETRY','range','unload','_anchorDot','IUniverInstanceService','round','_createSocketURL','unshift','FETCH_MISS','runRefRangeMutations','_cursors','HTTPService','_registerRenderDependencies','filter','verdancy600','PERMISSION_DENIED','defineProperty','_id','_colorIndex','subscribe','@univerjs/network','params','clsx','black','mutations','trim','_clearOtherTimers','UnitStatus','210VdekOw','@univerjs/sheets','toString','function','#FFF','_getSessionTicket','getTypeOfUnitAdded$','m1Prime','getCollabCursors$','source','lineTo','jiqing500','getMergeData','_docClipboardService','collabCursorState$','debounce','onPointerMove$','DocSkeletonManagerService','string','LocaleService','includes','_localeService','_instanceService','then','className','Error','collaboration-client.offline-data-not-saved','extend','_heartbeatTimer','Injector','addEventListener','hide','APPLY_REJECT','YUUMI_RATE_OVER_LIMIT','subUnitId','Tooltip','SheetsSelectionsService','getCurrentSelections','Disposable','tag','_lastPointer','unsubscribe','onRendered','exhaustSavingTask','getConfig','addObject','runId','_injector','Inject','session.connection-failed','textRanges','next','mergeOverrideWithDependencies','collab-client.tooltip.reconnect','transform','_render','deserializeRangeWithSheet','getCoordByCell','12619255EPPbQj','collab-text-range-','_initEntityListener','LICENSE_DISTRO_REJECTED','unitID','setItem','split','univerjs-icon\x20univerjs-icon-','771918DIXtBf','resize','MOBILE_HAS_BEEN_BOUND','DocSelectionManagerService','collabStatus.syncing','length','currentColor','[CollaborationDataLoaderController]','_scheduleHeartbeat','_colorAssignService','_send','closePath','DocCollaborationEntity','25723152jqxUKX','SetWorksheetActivateCommand','url(#on-line-single_clip0_910_349)','_setupSubUnitSync','deepClone','mask','ONLINE','subscribeEvent','search','labelPosition','Shape','WECHAT_HAS_BEEN_BOUND','isTransformMutationFailure','docStateChange$','generateRandomId','div','UniverSheets','color','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','UniverInstanceType','type','_docTransformStateCacheService','Unknown\x20user','save','TEXT_RANGE_LAYER_INDEX','disposeWithMe','clearTimeout','_transformService','startColumn','getCurrent','IDocClipboardService','getStateCache','_getAnchorBounding','addClipboardHook','getRelativeToViewportCoord','@univerjs/core','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hasOwnProperty','attrs','result','_commandService','currentSkeleton$','_saveTaskMap','_handleEvent','_refRangeService','saveImage','RECT','imageSourceType','requireSession','useObservable','object','fromEventSubject','_updateURLWithCurrentState','forwardRef','_unitStatus','INVITE_CODE_REQUIRED','_backgroundColor','YUUMI_NO_CUBOID_FOR_QUESTION','_dataLoaderService','_name','registerBeforeClose','ColorKit','merge','getSheetId','isActive','init','uni.network.url-service','removeParam','Plugin','font','getUnitStatus$','roomMembers','_removeClearOtherTimer','toDisposable','@univerjs/drawing'];_0x39ec=function(){return _0x7d86ad;};return _0x39ec();}
|
|
1
|
+
function _0x4b8b(_0x50a1e7,_0x1bf874){const _0xb8fb15=_0xb8fb();return _0x4b8b=function(_0x4b8bd9,_0x272a82){_0x4b8bd9=_0x4b8bd9-0x1c5;let _0x55e232=_0xb8fb15[_0x4b8bd9];return _0x55e232;},_0x4b8b(_0x50a1e7,_0x1bf874);}function _0xb8fb(){const _0x5e3a34=['isTransformMutationsWithChangesetSuccess','pushState','USERS_LEAVE','getCellPositionByOffset','_toggleOffline','registerRefRange','toRgbString','_anchor','handleIRemoveCol','mapTo','_textBubble','getUndoRedoMutationParamsCache','setTimeout','startColumn','_handleHover','_getAnchorBounding','UNRECOGNIZED','toStringTag','UniverCollaborationClientPlugin','_backgroundColor','_cachedData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','isArray','JOIN_ROOM_FAILED','operators','createElement','currentTheme$','on-line-single_clip0_910_349','CollaborationStatus','RevisionService','displayName','combineLatest','createSocket','getMergeData','body','CollaborationSessionService','_initResize','MessageType','string','1em','drawWith','#FFF','ICommandService','font','AWAITING_WITH_PENDING','_doCreateSocket','clearTimeout','exhaustSavingTask','@univerjs/design','onTransformChange$','_docTransformStateCacheService','lineTo','_toggleOnline','HTTPService','getUnhiddenWorksheets','defIds','init','pipe','icon','getConfig','currentSkeleton$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_color','LICENSE_DISTRO_REJECTED','INVITE_CODE_ALREADY_BOUND','SetSelectionsOperation','collab-text-range-','_cursorInfo$','_setupBeforeClosingHandler','hovered','_urlService','length','BehaviorSubject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_colorAssignService','getDocRanges','_context','BrowserCollaborationSocketService','onLocalMutation','Error','_sheetSkeletonManagerService','_collabCursorState$','COMPLETION_FINISHED','labelPosition','SheetCollabCursorShape','addEventListener','getMemberID','hasOwnProperty','_hovered','forwardRef','_session','registerComponent','8rQaImr','transformSelections','code','SOCKET_FAILED_RETRY','ITransformService','enableLocalCache','getUniverSheetInstance','roomMembers$','SetDocZoomRatioOperation','UNAUTHENTICATED','getTypeOfUnitAdded$','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','_initEvent','trim','UnitStatus','url(#$1','_transformService','max','dispose','NOT_COLLAB','@univerjs/engine-render','createIdentifier','_eventUnsubscribe','_document','@univerjs/ui','path','_memberService','next','[CollaborationDataLoaderController]','all','collab-client.tooltip.reconnect','_updateURLWithCurrentState','_unitStatus','RECT','_heartbeatTimer','UniverSheetsUi','unitID','clearInterval','Inject','defineProperty','error','PY_RUNTIME_SCRIPT_ERROR','109210lXAKps','NO_OTHER_CLIENTS_EDITING','entries','loadUnit','_startDocCollabCursor','DeleteRangeMoveLeftCommandId','saveImage','subUnitId','triggerDblclick','send','size','_docStateChangeManagerService','react','object','Tools','_themeService','1563030xFkMUD','Vector2','name','source','ILocalCacheService','Module','APPLY_PERMISSION_DENIED','getRenderById','handleInsertRangeMoveRight','IConfigService','_createSocketURL','values','addObjects','filter','updateOfflineData','YUUMI_ASYNCIO_CANCELLED','origin','_unitOnClients','@univerjs/sheets','UniverProCollaborationClient','_initCommandExecutedListener','syncEditingCollabCursor','_cursors','_refreshCollabCursors','_selfUnitIDs','MUTATION','InsertRangeMoveRightCommandId','session.collaboration-timeout','complete','Failed','m2Prime','getActiveRange','merge','VIEW_MAIN','DocIMEInputManagerService','SNAPSHOT_INVALID_SNAPSHOT','closePath','mutations','CONFLICT','NOT_FOUND','fromEvent','getCurrentRevOfUnit','@univerjs/core','getSheetBySheetId','Disposable','moveTo','with','0\x200\x2017\x2016','TOO_MANY_REQUESTS','unsubscribe','executionId','DisposableCollection','sheetID','_onRefRangeChange','SOCKET_FAILED','history','endRow','random','univer-flex\x20univer-items-center','/run/','5HfsAWf','getParam','reconnect','RemoveRowCommandId','className','sessionStatus$','_setupSubUnitSync','_initStatusComponent','UniverCollaborationClientUIPlugin','_config','black','storage','attrs','href','DesktopCollaborationStatusDisplayController','getValue','takeUntil','_collabCursorController','replaceState','_render','transformMutationsWithChangeset','hide','1463912RSmscG','FETCH_MISS','Unknown\x20user','arc','Shape','touchDependencies','data','@univerjs/network','IRenderManagerService','DependentOn','saveOfflineData','UNIVER_DOC','Warning','handleMoveRange','_localeService','APPLY_DUPLICATED','CollaborationDataLoaderController','_transformPreviousActiveRange','purple300','svg','subunit','redoState','serializeRangeWithSheet','_getSessionTicket','RxDisposable','YUUMI_UNABLE_LOAD_URL','shareReplay','startsWith','loadOfflineData','transformIMECache','APPLY_NON_SEQUENTIAL_REVISION','substring','unshift','_lastPointer','color','setShapeProps','_drawRectRange','getLocalCacheKey','_messageService','UniverUi','whenReady','UNDEFINED','collabStatus.synced','getSheetId','toDisposable','search','getStateCache','2ioskOn','RemoveColCommandId','Tooltip','handleInsertCol','registerDependencies','WebBrowserSingleActiveUnitService','saveTaskMap','5333741pvuEFu','delete','ColorKit','editingUnit','connectInjector','useDependency','BuiltInUIPart','useRef','type','@univerjs/drawing','column','_cursorShapes','amd','INTERNAL_ERROR','_online','IUniverInstanceService','@univerjs-pro/collaboration-client','_docSkeletonManagerService','getTypeOfUnitDisposed$','ILocalStorageService','disableLocalCache','replace','measureText','IDocClipboardService','sessionTicket','_getScale','LICENSE_EXPORT_SIZE_EXCEEDED','_transformUndoRedoStack','@univerjs-pro/collaboration','_collabSessionService','setAlpha','backgroundColor','focused$','_send','SheetsSelectionsService','add','verdancy600','distinctUntilChanged','wsSessionTicketUrl','SNAPSHOT_HAS_BEEN_REMOVED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IBeforeCloseService','_ensureSubject','idSuffix','OffLineSingle','UNIVER_SHEET','_anchorDot','_injector','concat','_saveCache','UniverDocsUi','_roomMembers$','collaboration-client.offline-data-not-saved','replaceDocRanges','searchParams','LICENSE_MAX_UNITS_EXCEEDED','UniverEngineFormula','clipPath','urlChange$','div','CollaborationEvent','INVALID_ARGUMENT','EffectRefRangId','_updateSubUnitFromURLParams','collabStatus.notCollab','AWAITING','MemberService','children','subscribe','ISocketService','newValue','getFocusedUnit','getUnitId','getOffsetConfig','isTransformMutationFailure','_id','params','Subject','_handleHeartbeatEvent','colorChannel1','setActiveRange','@univerjs/docs','off-line-single_clip0_910_343','row','univerjs-icon\x20univerjs-icon-','INVITE_CODE_HAS_BEEN_UES','InsertColCommandId','_labelPosition','_notificationService','addObject','tag','NodePositionConvertToCursor','jiqing500','rgba(255,\x20255,\x20255,\x200.01)','getVpScrollXYInfoByPosToVp','WECHAT_HAS_BEEN_BOUND','CONNECTOR_DATA_TOO_LARGE','M0\x200H16V16H0z','IRemoteInstanceService','save','runOnServer','handleIRemoveRow','_syncEditingCollabCursorService','InsertRowCommandId','Injector','ALREADY_EXISTS','getRelativeToViewportCoord','_registerRenderDependencies','cursorInfo$','skeleton','getCollabCursors$','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_REQUIRED','dispose$','getUnitStatus$','MoveRangeCommandId','engine','find','getSheetObject','push','set','@univerjs/rpc','2493138wHIaJP','selection','DocStateChangeManagerService','collab-rect-range-','537467bQBNcE','switchMap','_range','_handleLeaveEvent','location','status$','runRefRangeMutations','_status$','univer-text-green-500','_getSaveTimeout','_scheduleSaving','_beforeCloseService','HEADER_MENU','UPDATE_CURSOR','handleDeleteRangeMoveLeft','onPointerEnter$','asObservable','SYNCED','_drawTextRange','UniverIcon','beginPath','override','#fff','debounceTime','use','_logService','YUUMI_URL_COL_OUT_OF_RANGE','TEXT_RANGE_LAYER_INDEX','findNodePositionByCharIndex','SUBMIT_CHANGESET_TIMEOUT','_initStatusListener','useObservable','has','collaboration.closeRoom','onPointerMove$','_draw','_univerInstanceService','CollaborationStatusDisplay','_commandService','USER_NOT_INVITED_CODE','range','_revisionService','0\x200\x2016\x2016','debounce','getOwnPropertySymbols','MOBILE_HAS_BEEN_BOUND','RefRangeService','deserializeRangeWithSheet','APPLY_REJECT','_removeCollabCursors','_updateLocalCursor','_handleJoinEvent','collaboration-client-ui.config','xlink:href','COLORS','_docTransformSelectionsService','_scene','some','_dataLoaderService','_registerDependencies','DocSelectionManagerService','_getMergeRange','activeSheet$','disposeWithMe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','red300','result','DOC_RANGE_TYPE','SessionStatus','exports','onCommandExecuted','_uiPartsService','deepClone','_scheduleClearOtherTimer','UniverProCollaboration','indexOf','onMouseMove','_localCacheService','width','blue400','_removeClearOtherTimer','22JDqiNH','FromArray','top','from','round','roomMembers','_initDependencies','OnLineSingle','LICENSE_IMPORT_SIZE_EXCEEDED','_disabled','_onCursorDelete','toString','APPLY_REVISION_CONFILICT','ranges','docStateChange$','symbol','permission.content','restore','getAncestorScale','debug','OTHER_CLIENTS_EDITING','_name','INotificationService','call','collabStatus.offline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','evenodd','setInterval','fillRule','LocaleService','UniverInstanceType','show','undoState','extend','onStarting','min','popstate','_renderManagerService','setItem','CollaborationController','_entityInit$','key','_localStorageService','_saveTaskMap','getCurrent','collabStatus.conflict','m1Prime','subscribeEvent','eventID','RemoteUniscriptService','Optional','_hideTimer','getActiveSheet','SheetSkeletonManagerService','_imageIoService','then','defs','_configService','_handleEvent','ILogService','bottom','ENSURE_SNAPSHOT_EXECUTION','get','ThemeService','React','transformStateCache','_docTransformIMECacheService','getOwnPropertyDescriptor','uni.network.url-service','entityInit$','throttleTime','jsx','getSkeleton','getRangePointData','assignAColorForMemberID','fillStyle','application/json','DocSkeletonManagerService','_collaborationController','CollaborationUIEventId','forEach','INVALID_INVITE_CODE','UniverEngineRender','rxjs/operators','collabStatus.fetchMiss','requireSession','_httpService','fill','runId','DeleteRangeMoveUpCommandId','SetWorksheetActivateCommand','rxjs','getColor','fillText','registerRenderModule','unit','IImageIoService','@univerjs/sheets-ui','Rectangle','_transformHistoryAndStateStack','_initEntityListener','transformMutation','setParam','mask','OFFLINE','none','InsertRangeMoveDownCommandId','_scheduleHeartbeat','_updateCollabCursors','cursorInfo','UniverSheets','DataLoaderService','removeParam','YUUMI_NO_CUBOID_FOR_QUESTION','PERMISSION_DENIED','collabStatus.syncing','RegularPolygon','UniverDrawing','_shapes','_docClipboardService','current','_init','_assignedColors','ONLINE','_docSyncEditingCollabCursorService','prototype','setUndoRedoMutationParamsCache','...','getViewport','_colorIndex','Plugin','_cursor','@univerjs/docs-ui','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','includes','generateRandomId','jsxs','TEXT','onPointerLeave$','Rect','doc.mutation.rich-text-editing','isActive','_entities','@univerjs/engine-formula','stringify','unitId','assign','SetTextSelectionsOperation','selections','textRanges','EMAIL_HAS_BEEN_BOUND','getCoordByCell','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_hover','_refRangeService','_onCursorUpdate','map','_getSheetObject','event$','height','_instanceService','split','text','mergeOverrideWithDependencies','14546358JIVWQW','transformRemoteChangeset','UniverDesign'];_0xb8fb=function(){return _0x5e3a34;};return _0xb8fb();}(function(_0x37e18b,_0x33ce1a){const _0x3fb6a8=_0x4b8b,_0x28f39b=_0x37e18b();while(!![]){try{const _0x4089cc=-parseInt(_0x3fb6a8(0x1de))/0x1*(-parseInt(_0x3fb6a8(0x3ef))/0x2)+-parseInt(_0x3fb6a8(0x36e))/0x3+parseInt(_0x3fb6a8(0x3c0))/0x4*(-parseInt(_0x3fb6a8(0x3aa))/0x5)+parseInt(_0x3fb6a8(0x1da))/0x6+parseInt(_0x3fb6a8(0x3f6))/0x7*(-parseInt(_0x3fb6a8(0x333))/0x8)+parseInt(_0x3fb6a8(0x2d3))/0x9+parseInt(_0x3fb6a8(0x35e))/0xa*(parseInt(_0x3fb6a8(0x22f))/0xb);if(_0x4089cc===_0x33ce1a)break;else _0x28f39b['push'](_0x28f39b['shift']());}catch(_0x3c135e){_0x28f39b['push'](_0x28f39b['shift']());}}}(_0xb8fb,0xe603f),function(_0x2c72c9,_0x2ae10a){const _0x1fdca5=_0x4b8b;typeof exports==_0x1fdca5(0x36b)&&typeof module<'u'?_0x2ae10a(exports,require(_0x1fdca5(0x406)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x1fdca5(0x3c7)),require(_0x1fdca5(0x2b3)),require(_0x1fdca5(0x3ff)),require(_0x1fdca5(0x28a)),require(_0x1fdca5(0x447)),require(_0x1fdca5(0x412)),require(_0x1fdca5(0x2be)),require(_0x1fdca5(0x380)),require(_0x1fdca5(0x282)),require(_0x1fdca5(0x290)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x1fdca5(0x307)),require(_0x1fdca5(0x36a)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1fdca5(0x402)]?define([_0x1fdca5(0x223),'@univerjs-pro/collaboration-client',_0x1fdca5(0x398),_0x1fdca5(0x348),_0x1fdca5(0x3c7),'@univerjs/docs-ui','@univerjs/drawing',_0x1fdca5(0x28a),_0x1fdca5(0x447),'@univerjs-pro/collaboration',_0x1fdca5(0x2be),_0x1fdca5(0x380),_0x1fdca5(0x282),_0x1fdca5(0x290),'react/jsx-runtime',_0x1fdca5(0x34c),_0x1fdca5(0x307),_0x1fdca5(0x36a),_0x1fdca5(0x1d9)],_0x2ae10a):(_0x2c72c9=typeof globalThis<'u'?globalThis:_0x2c72c9||self,_0x2ae10a(_0x2c72c9['UniverProCollaborationClientUi']={},_0x2c72c9[_0x1fdca5(0x381)],_0x2c72c9['UniverCore'],_0x2c72c9[_0x1fdca5(0x281)],_0x2c72c9['UniverNetwork'],_0x2c72c9[_0x1fdca5(0x428)],_0x2c72c9[_0x1fdca5(0x2a4)],_0x2c72c9[_0x1fdca5(0x28a)],_0x2c72c9['UniverDocs'],_0x2c72c9[_0x1fdca5(0x228)],_0x2c72c9[_0x1fdca5(0x42e)],_0x2c72c9[_0x1fdca5(0x29d)],_0x2c72c9[_0x1fdca5(0x28a)][_0x1fdca5(0x2ef)],_0x2c72c9[_0x1fdca5(0x357)],_0x2c72c9['React'],_0x2c72c9[_0x1fdca5(0x3e7)],_0x2c72c9[_0x1fdca5(0x2d5)],_0x2c72c9[_0x1fdca5(0x26f)],_0x2c72c9['UniverRpc']));}(this,function(_0x5d87d7,_0x5bae0f,_0x12127f,_0xcd886d,_0x12d4d8,_0x464098,_0x175fc4,_0x4d06f2,_0x514f6b,_0x50b9f9,_0x5371ba,_0x347d9b,_0x43c141,_0x158580,_0x30ea62,_0x594396,_0x4ecfe7,_0xbee236,_0x5ae2ec){'use strict';const _0x4c88bb=_0x4b8b;var _0x66593a=Object[_0x4c88bb(0x35b)],_0x436b25=(_0x226e38,_0x5490b7,_0x145200)=>_0x5490b7 in _0x226e38?_0x66593a(_0x226e38,_0x5490b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x145200}):_0x226e38[_0x5490b7]=_0x145200,_0x259cdc=(_0x4186f4,_0x50bf94,_0x11c840)=>_0x436b25(_0x4186f4,typeof _0x50bf94!=_0x4c88bb(0x23e)?_0x50bf94+'':_0x50bf94,_0x11c840),_0x86ec6a=Object[_0x4c88bb(0x272)],_0x1d3cad=(_0x1d7ac9,_0x3def26,_0x30bea5,_0x490f26)=>{const _0x127bbf=_0x4c88bb;for(var _0x54e902=_0x490f26>0x1?void 0x0:_0x490f26?_0x86ec6a(_0x3def26,_0x30bea5):_0x3def26,_0x1e7a05=_0x1d7ac9[_0x127bbf(0x31e)]-0x1,_0x5b4840;_0x1e7a05>=0x0;_0x1e7a05--)(_0x5b4840=_0x1d7ac9[_0x1e7a05])&&(_0x54e902=_0x5b4840(_0x54e902)||_0x54e902);return _0x54e902;},_0x23d7b8=(_0x47cf06,_0x36f1b6)=>(_0x158869,_0x49cb83)=>_0x36f1b6(_0x158869,_0x49cb83,_0x47cf06);let _0xd2e3e3=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x5c87,_0x1db0e9){const _0xc19e6b=_0x4c88bb;super(),this[_0xc19e6b(0x2a6)]=_0x5c87,this[_0xc19e6b(0x265)]=_0x1db0e9,this[_0xc19e6b(0x2a8)]();}[_0x4c88bb(0x2a8)](){const _0x2ee59c=_0x4c88bb,_0x18b374=this;this[_0x2ee59c(0x21d)](this[_0x2ee59c(0x2a6)]['addClipboardHook']({'onBeforePasteImage':async _0x35ee55=>{const _0x379923=_0x2ee59c,_0x4918f0=await _0x18b374['_imageIoService'][_0x379923(0x364)](_0x35ee55);return _0x4918f0?{'source':_0x4918f0[_0x379923(0x371)],'imageSourceType':_0x4918f0['imageSourceType']}:null;}}));}};_0xd2e3e3=_0x1d3cad([_0x23d7b8(0x0,_0x464098[_0x4c88bb(0x40d)]),_0x23d7b8(0x1,_0x175fc4[_0x4c88bb(0x28f)])],_0xd2e3e3);const _0x139324=[_0x4c88bb(0x3d2),_0x4c88bb(0x452),_0x4c88bb(0x41a),_0x4c88bb(0x21f),_0x4c88bb(0x22d),'gold400'];class _0x3a2e1e extends _0x12127f[_0x4c88bb(0x39a)]{constructor(){const _0x4c03b4=_0x4c88bb;super(...arguments),_0x259cdc(this,'_assignedColors',new Map()),_0x259cdc(this,_0x4c03b4(0x2b0),0x0);}[_0x4c88bb(0x279)](_0xa319){const _0x27ea50=_0x4c88bb;if(this[_0x27ea50(0x2a9)][_0x27ea50(0x1fe)](_0xa319))return this['_assignedColors'][_0x27ea50(0x26d)](_0xa319);const _0x2df9cd=_0x139324[this['_colorIndex']];return this[_0x27ea50(0x2b0)]=(this[_0x27ea50(0x2b0)]+0x1)%_0x139324[_0x27ea50(0x31e)],this[_0x27ea50(0x2a9)][_0x27ea50(0x1d8)](_0xa319,_0x2df9cd),_0x2df9cd;}}function _0x39ca37(_0x5471a9){const _0x1b06e3=_0x4c88bb;let _0x3b3397='';for(const _0x2fbe1e of _0x5471a9){const {startOffset:_0x5f2c02,endOffset:_0x454ad5,isActive:_0x17a3a6,rangeType:_0x2184c8,segmentId:_0x15d014,segmentPage:_0x2f3433}=_0x2fbe1e;_0x3b3397[_0x1b06e3(0x31e)]&&(_0x3b3397+=','),_0x3b3397+=_0x5f2c02+':'+_0x454ad5+':'+(_0x17a3a6?'1':'0')+':'+_0x2184c8+':'+_0x15d014+':'+_0x2f3433;}return _0x3b3397;}function _0x1f0359(_0x2d7200){const _0x100ed5=_0x4c88bb,_0x70d61a=_0x2d7200[_0x100ed5(0x2d0)](','),_0x3559e6=[];for(const _0xb1570f of _0x70d61a){const [_0x5c617b,_0x3a9119,_0x50e552,_0xd26b4e,_0x46ffea,_0x4a13b1]=_0xb1570f[_0x100ed5(0x2d0)](':');_0x3559e6[_0x100ed5(0x1d7)]({'startOffset':Number(_0x5c617b),'endOffset':Number(_0x3a9119),'collapsed':_0x5c617b===_0x3a9119,'isActive':_0x50e552==='1','rangeType':_0xd26b4e===_0x12127f['DOC_RANGE_TYPE'][_0x100ed5(0x2b8)]?_0x12127f[_0x100ed5(0x221)][_0x100ed5(0x2b8)]:_0x12127f[_0x100ed5(0x221)][_0x100ed5(0x355)],'segmentId':typeof _0x46ffea==_0x100ed5(0x2fd)?String(_0x46ffea):'','segmentPage':Number(_0x4a13b1!=null?_0x4a13b1:-0x1)});}return _0x3559e6[_0x100ed5(0x217)](_0x4f27dc=>_0x4f27dc['isActive'])||(_0x3559e6[0x0][_0x100ed5(0x2bc)]=!0x0),_0x3559e6;}class _0x34804b extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(){const _0x505e61=_0x4c88bb;super(...arguments),_0x259cdc(this,_0x505e61(0x328),new _0x4d06f2[(_0x505e61(0x31f))](null)),_0x259cdc(this,'collabCursorState$',this[_0x505e61(0x328)][_0x505e61(0x1ee)]());}[_0x4c88bb(0x383)](_0x22adce){const _0x48afaf=_0x4c88bb,{unitID:_0x4bb6fd,memberID:_0x59b996,textRanges:_0x34e5bd}=_0x22adce,_0x42582a=_0x39ca37(_0x34e5bd);if(_0x42582a==='')return;const _0x32d3ad={'unitID':_0x4bb6fd,'memberID':_0x59b996,'selection':_0x42582a};this[_0x48afaf(0x328)][_0x48afaf(0x34f)](_0x32d3ad);}}var _0x12e348=Object[_0x4c88bb(0x272)],_0x2434a4=(_0x1f118b,_0x596b7c,_0x34a284,_0x8b8a7d)=>{const _0x20da90=_0x4c88bb;for(var _0x5d942f=_0x8b8a7d>0x1?void 0x0:_0x8b8a7d?_0x12e348(_0x596b7c,_0x34a284):_0x596b7c,_0x297f4e=_0x1f118b[_0x20da90(0x31e)]-0x1,_0x57f38d;_0x297f4e>=0x0;_0x297f4e--)(_0x57f38d=_0x1f118b[_0x297f4e])&&(_0x5d942f=_0x57f38d(_0x5d942f)||_0x5d942f);return _0x5d942f;},_0x1d19f6=(_0x1ef0cc,_0x269b35)=>(_0x407610,_0x25dbe8)=>_0x269b35(_0x407610,_0x25dbe8,_0x1ef0cc);const _0x23f328=0x12c,_0x465239=0x64;let _0x4456f4=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x8f104f,_0x1f0c7b,_0x464a1a,_0x4a5306,_0x4d22de,_0x327ec6,_0x2c21f2,_0x21981b,_0x37ee76){const _0x5995a4=_0x4c88bb;super(),_0x259cdc(this,_0x5995a4(0x404),!0x1),_0x259cdc(this,_0x5995a4(0x2a8),!0x1),_0x259cdc(this,_0x5995a4(0x31a),new _0x4d06f2['BehaviorSubject'](new Map())),_0x259cdc(this,_0x5995a4(0x1cc),this[_0x5995a4(0x31a)][_0x5995a4(0x1ee)]()),_0x259cdc(this,'_roomMembers$',new _0x4d06f2[(_0x5995a4(0x31f))]([])),_0x259cdc(this,_0x5995a4(0x33a),this[_0x5995a4(0x429)][_0x5995a4(0x310)](_0x4d06f2[_0x5995a4(0x1f5)](_0x23f328))),_0x259cdc(this,_0x5995a4(0x210),_0x12127f[_0x5995a4(0x209)](_0x124635=>{const _0x67db0b=_0x5995a4,_0x21505e={'eventID':_0x50b9f9['CollaborationEvent'][_0x67db0b(0x1eb)],'data':{'unitID':this[_0x67db0b(0x358)],'memberID':this[_0x67db0b(0x331)][_0x67db0b(0x32d)](),'selection':_0x39ca37(_0x124635)}};this[_0x67db0b(0x331)][_0x67db0b(0x367)](_0x21505e,this[_0x67db0b(0x358)]);},_0x465239)),(this['unitID']=_0x8f104f,this[_0x5995a4(0x331)]=_0x1f0c7b,this[_0x5995a4(0x425)]=_0x464a1a,this[_0x5995a4(0x321)]=_0x4a5306,this[_0x5995a4(0x34e)]=_0x4d22de,this[_0x5995a4(0x1c6)]=_0x327ec6,this[_0x5995a4(0x344)]=_0x2c21f2,this[_0x5995a4(0x202)]=_0x21981b,this[_0x5995a4(0x204)]=_0x37ee76);}get[_0x4c88bb(0x29c)](){return this['_cursorInfo$']['getValue']();}get[_0x4c88bb(0x234)](){const _0xf6d3e=_0x4c88bb;return this[_0xf6d3e(0x429)][_0xf6d3e(0x3b9)]();}[_0x4c88bb(0x346)](){const _0x95880a=_0x4c88bb;super[_0x95880a(0x346)](),this[_0x95880a(0x31a)][_0x95880a(0x34f)](new Map()),this[_0x95880a(0x31a)][_0x95880a(0x38a)](),this[_0x95880a(0x429)][_0x95880a(0x34f)]([]),this[_0x95880a(0x429)][_0x95880a(0x38a)]();}[_0x4c88bb(0x30f)](){const _0x173c61=_0x4c88bb;this[_0x173c61(0x2a8)]||(this['_init']=!0x0,this[_0x173c61(0x331)]['sessionStatus$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x10b2c9=>{const _0x599cda=_0x173c61;_0x10b2c9===_0x5bae0f[_0x599cda(0x222)][_0x599cda(0x2aa)]?this[_0x599cda(0x30b)]():this[_0x599cda(0x2da)]();}),this[_0x173c61(0x331)]['event$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x2fb672=>{const _0x3429cb=_0x173c61,_0x4b88ff=_0x2fb672[_0x3429cb(0x25f)];_0x4b88ff===_0x50b9f9['CollaborationEvent'][_0x3429cb(0x1eb)]&&this['_onCursorUpdate'](_0x2fb672),_0x4b88ff===_0x50b9f9[_0x3429cb(0x432)][_0x3429cb(0x2d8)]&&this['_onCursorDelete'](_0x2fb672);}),this['disposeWithMe'](this[_0x173c61(0x204)][_0x173c61(0x224)](_0x356fec=>{const _0x22763f=_0x173c61,_0x30c8b8=_0x356fec[_0x22763f(0x442)];_0x30c8b8!=null&&this[_0x22763f(0x404)]&&_0x356fec['id']===_0x514f6b[_0x22763f(0x2c2)]['id']&&_0x30c8b8['unitId']===this[_0x22763f(0x358)]&&_0x30c8b8['isEditing']===!0x1&&_0x30c8b8[_0x22763f(0x23c)][_0x22763f(0x31e)]>0x0&&this[_0x22763f(0x210)](_0x30c8b8[_0x22763f(0x23c)]);})),this[_0x173c61(0x1c6)]['collabCursorState$'][_0x173c61(0x310)](_0x4d06f2[_0x173c61(0x3ba)](this[_0x173c61(0x1d1)]))['subscribe'](_0x3dc61c=>{const _0x1bc401=_0x173c61;if((_0x3dc61c==null?void 0x0:_0x3dc61c[_0x1bc401(0x358)])!==this['unitID'])return;const _0xe112a3={'eventID':_0x50b9f9['CollaborationEvent'][_0x1bc401(0x1eb)],'data':_0x3dc61c};this[_0x1bc401(0x2ca)](_0xe112a3);}),this[_0x173c61(0x21d)](this[_0x173c61(0x204)][_0x173c61(0x224)](_0x1d9199=>{const _0x407c61=_0x173c61;if(_0x1d9199[_0x407c61(0x442)]==null)return;const _0x390e70=_0x1d9199[_0x407c61(0x442)];if(_0x1d9199['id']!==_0x514f6b['RichTextEditingMutation']['id']||_0x390e70[_0x407c61(0x2c0)]!==this[_0x407c61(0x358)])return;const _0x350dc3={'id':'doc.mutation.rich-text-editing','params':_0x390e70},_0xbf5bc4=this[_0x407c61(0x29c)];for(const [_0x1cb5a6,_0x30b8be]of _0xbf5bc4){const _0x5b273d={'id':_0x407c61(0x2bb),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x30b8be['ranges']}},_0x1857c0=this[_0x407c61(0x344)]['transformMutation'](_0x350dc3,_0x5b273d,!0x1);if(_0x50b9f9[_0x407c61(0x440)](_0x1857c0))throw _0x1857c0[_0x407c61(0x35c)];_0xbf5bc4[_0x407c61(0x1d8)](_0x1cb5a6,{..._0x30b8be,'ranges':_0x1857c0['m2Prime'][_0x407c61(0x442)][_0x407c61(0x2c4)]});}queueMicrotask(()=>{const _0x3e8868=_0x407c61;this[_0x3e8868(0x31a)]['next'](_0xbf5bc4);});})));}[_0x4c88bb(0x2ca)](_0xd6661d){const _0xafa3fc=_0x4c88bb;var _0x5c09cd,_0x2e0d23;const {memberID:_0x51b80e,selection:_0x105577}=_0xd6661d[_0xafa3fc(0x3c6)],_0x50df1a=_0x1f0359(_0x105577),_0x58b941=(_0x2e0d23=(_0x5c09cd=this['_memberService']['getMember'](this[_0xafa3fc(0x358)],_0x51b80e))==null?void 0x0:_0x5c09cd['name'])!=null?_0x2e0d23:_0xafa3fc(0x3c2),_0x3e4fea={'color':this[_0xafa3fc(0x321)][_0xafa3fc(0x279)](_0x51b80e),'name':_0x58b941,'ranges':_0x50df1a},_0x11f9d7=this['cursorInfo'];_0x11f9d7[_0xafa3fc(0x1d8)](_0x51b80e,_0x3e4fea),this[_0xafa3fc(0x31a)][_0xafa3fc(0x34f)](_0x11f9d7);}[_0x4c88bb(0x239)](_0x1bbf8){const _0x21020b=_0x4c88bb,{memberID:_0x221615}=_0x1bbf8[_0x21020b(0x3c6)],_0x2fd5b9=this['cursorInfo'];_0x2fd5b9[_0x21020b(0x3f7)](_0x221615),this[_0x21020b(0x31a)][_0x21020b(0x34f)](_0x2fd5b9);}['_toggleOnline'](){const _0x3e6f2a=_0x4c88bb;var _0x370533;if(this[_0x3e6f2a(0x404)]=!0x0,((_0x370533=this[_0x3e6f2a(0x202)][_0x3e6f2a(0x43d)]())==null?void 0x0:_0x370533[_0x3e6f2a(0x43e)]())!==this[_0x3e6f2a(0x358)])return;const _0x576bf1=this[_0x3e6f2a(0x425)][_0x3e6f2a(0x26d)](_0x514f6b[_0x3e6f2a(0x21a)])[_0x3e6f2a(0x322)]();Array[_0x3e6f2a(0x2ed)](_0x576bf1)&&_0x576bf1[_0x3e6f2a(0x31e)]>0x0&&this[_0x3e6f2a(0x210)](_0x576bf1);}[_0x4c88bb(0x2da)](){const _0x4626d0=_0x4c88bb;this[_0x4626d0(0x404)]=!0x1;}};_0x4456f4=_0x2434a4([_0x1d19f6(0x2,_0x12127f['Inject'](_0x12127f['Injector'])),_0x1d19f6(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x3a2e1e)),_0x1d19f6(0x4,_0x12127f['Inject'](_0x5bae0f[_0x4c88bb(0x438)])),_0x1d19f6(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x34804b)),_0x1d19f6(0x6,_0x50b9f9[_0x4c88bb(0x337)]),_0x1d19f6(0x7,_0x12127f[_0x4c88bb(0x405)]),_0x1d19f6(0x8,_0x12127f[_0x4c88bb(0x301)])],_0x4456f4);var _0x2b61a9=Object[_0x4c88bb(0x272)],_0x250634=(_0x6e0fc9,_0x872ec4,_0x51ee73,_0x4d94c2)=>{const _0x4a2ba1=_0x4c88bb;for(var _0x1b1167=_0x4d94c2>0x1?void 0x0:_0x4d94c2?_0x2b61a9(_0x872ec4,_0x51ee73):_0x872ec4,_0x10376a=_0x6e0fc9[_0x4a2ba1(0x31e)]-0x1,_0xccbfb5;_0x10376a>=0x0;_0x10376a--)(_0xccbfb5=_0x6e0fc9[_0x10376a])&&(_0x1b1167=_0xccbfb5(_0x1b1167)||_0x1b1167);return _0x1b1167;},_0xb341e4=(_0xedec76,_0x450316)=>(_0x4aeeca,_0x51bb72)=>_0x450316(_0x4aeeca,_0x51bb72,_0xedec76);const _0x504485=0x12c,_0x32216e=0x64,_0xfc23e4=()=>{let _0x4b1616=[],_0x1b1541=!0x1;return _0x5c70f3=>{const _0x46e40d=_0x4b8b;_0x4b1616[_0x46e40d(0x1d7)](_0x5c70f3),_0x1b1541||(_0x1b1541=!0x0,setTimeout(()=>{const _0x171054=_0x46e40d;_0x4b1616[_0x171054(0x27f)](_0x5063ef=>_0x5063ef()),_0x4b1616=[],_0x1b1541=!0x1;}));};};let _0x7e2189=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x500729,_0x2a3262,_0x516cc4,_0x764e36,_0x2bd477,_0xd03400,_0x11cfea,_0x21f81e){const _0x239de7=_0x4c88bb;super(),_0x259cdc(this,_0x239de7(0x404),!0x1),_0x259cdc(this,'_init',!0x1),_0x259cdc(this,_0x239de7(0x31a),new _0x4d06f2['BehaviorSubject'](new Map())),_0x259cdc(this,_0x239de7(0x1cc),this[_0x239de7(0x31a)][_0x239de7(0x1ee)]()),_0x259cdc(this,_0x239de7(0x429),new _0x4d06f2[(_0x239de7(0x31f))]([])),_0x259cdc(this,_0x239de7(0x33a),this[_0x239de7(0x429)][_0x239de7(0x310)](_0x4d06f2[_0x239de7(0x1f5)](_0x504485))),_0x259cdc(this,_0x239de7(0x210),_0x12127f[_0x239de7(0x209)]((_0x380198,_0x187141)=>{const _0x58b6e6=_0x239de7,_0x1de54a={'eventID':_0x50b9f9['CollaborationEvent'][_0x58b6e6(0x1eb)],'data':{'unitID':this['unitID'],'memberID':this[_0x58b6e6(0x331)][_0x58b6e6(0x32d)](),'selection':_0x5371ba[_0x58b6e6(0x3d6)](_0x380198,_0x187141[_0x58b6e6(0x206)])}};this[_0x58b6e6(0x331)][_0x58b6e6(0x367)](_0x1de54a,this['unitID']);},_0x32216e)),(this['unitID']=_0x500729,this[_0x239de7(0x331)]=_0x2a3262,this[_0x239de7(0x425)]=_0x516cc4,this[_0x239de7(0x321)]=_0x764e36,this[_0x239de7(0x34e)]=_0x2bd477,this[_0x239de7(0x202)]=_0xd03400,this[_0x239de7(0x204)]=_0x11cfea,this[_0x239de7(0x2c9)]=_0x21f81e);}get[_0x4c88bb(0x29c)](){const _0x40dc16=_0x4c88bb;return this[_0x40dc16(0x31a)]['getValue']();}get['roomMembers'](){const _0x159954=_0x4c88bb;return this[_0x159954(0x429)]['getValue']();}[_0x4c88bb(0x346)](){const _0x3e96c1=_0x4c88bb;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x3e96c1(0x38a)](),this[_0x3e96c1(0x429)][_0x3e96c1(0x34f)]([]),this['_roomMembers$'][_0x3e96c1(0x38a)]();}[_0x4c88bb(0x30f)](){const _0x5892f6=_0x4c88bb;this[_0x5892f6(0x2a8)]||(this['_init']=!0x0,this['_session'][_0x5892f6(0x3af)][_0x5892f6(0x310)](_0x4d06f2[_0x5892f6(0x3ba)](this[_0x5892f6(0x1d1)]))[_0x5892f6(0x43a)](_0x38b4e7=>{const _0x29207d=_0x5892f6;_0x38b4e7===_0x5bae0f[_0x29207d(0x222)][_0x29207d(0x2aa)]?this[_0x29207d(0x30b)]():this[_0x29207d(0x2da)]();}),this[_0x5892f6(0x331)][_0x5892f6(0x2cd)][_0x5892f6(0x310)](_0x4d06f2['takeUntil'](this[_0x5892f6(0x1d1)]))['subscribe'](_0x4952d0=>{const _0x56b87e=_0x5892f6,_0x176381=_0x4952d0[_0x56b87e(0x25f)];_0x176381===_0x50b9f9[_0x56b87e(0x432)][_0x56b87e(0x1eb)]&&this['_onCursorUpdate'](_0x4952d0),_0x176381===_0x50b9f9[_0x56b87e(0x432)][_0x56b87e(0x2d8)]&&this[_0x56b87e(0x239)](_0x4952d0);}),this[_0x5892f6(0x3a3)](),this['disposeWithMe'](this[_0x5892f6(0x204)][_0x5892f6(0x224)](_0x21f6fd=>{const _0x28f2c0=_0x5892f6;if(this['_online']&&_0x21f6fd['id']===_0x347d9b[_0x28f2c0(0x318)]['id']&&_0x21f6fd[_0x28f2c0(0x442)][_0x28f2c0(0x2c0)]===this[_0x28f2c0(0x358)]){const _0x779989=_0x21f6fd[_0x28f2c0(0x442)];this[_0x28f2c0(0x210)](_0x779989[_0x28f2c0(0x365)],_0x779989[_0x28f2c0(0x2c3)][0x0]);}})));}[_0x4c88bb(0x2ca)](_0x1d1b8d){const _0x5299c0=_0x4c88bb;var _0xc68199,_0x48fc94;const {memberID:_0xe1c133,selection:_0x5cd0ec}=_0x1d1b8d[_0x5299c0(0x3c6)],{sheetName:_0x149e9c,range:_0x4be1d9}=_0x5371ba[_0x5299c0(0x20d)](_0x5cd0ec),_0x1682b5={'name':(_0x48fc94=(_0xc68199=this['_memberService']['getMember'](this[_0x5299c0(0x358)],_0xe1c133))==null?void 0x0:_0xc68199[_0x5299c0(0x370)])!=null?_0x48fc94:'Unknown\x20user','range':this[_0x5299c0(0x21b)](_0x149e9c,_0x4be1d9),'sheetID':_0x149e9c,'color':this[_0x5299c0(0x321)][_0x5299c0(0x279)](_0xe1c133),'selection':_0x5cd0ec},_0x45fbcd=this[_0x5299c0(0x29c)];_0x45fbcd[_0x5299c0(0x1d8)](_0xe1c133,_0x1682b5),this[_0x5299c0(0x31a)][_0x5299c0(0x34f)](_0x45fbcd);}[_0x4c88bb(0x239)](_0x39bf4d){const _0x117e6d=_0x4c88bb,{memberID:_0xc3ffd1}=_0x39bf4d['data'],_0x38d7a6=this['cursorInfo'];_0x38d7a6['delete'](_0xc3ffd1),this[_0x117e6d(0x31a)][_0x117e6d(0x34f)](_0x38d7a6);}[_0x4c88bb(0x21b)](_0x555fc6,_0xe74928){const _0x3520e2=_0x4c88bb;var _0x361e4a,_0x67e93d;const _0x436160=(_0x67e93d=(_0x361e4a=this[_0x3520e2(0x202)][_0x3520e2(0x339)](this[_0x3520e2(0x358)]))==null?void 0x0:_0x361e4a['getSheetBySheetId'](_0x555fc6))==null?void 0x0:_0x67e93d[_0x3520e2(0x2f8)]();return(_0x436160==null?void 0x0:_0x436160[_0x3520e2(0x1d5)](_0x20a649=>_0x12127f[_0x3520e2(0x291)]['contains'](_0x20a649,_0xe74928)))||_0xe74928;}[_0x4c88bb(0x3a3)](){const _0x3e0202=_0x4c88bb,_0x1b5222=new _0x12127f[(_0x3e0202(0x3a1))](),_0x457d93=_0xfc23e4(),_0x5ad876=()=>{const _0x7dd98a=_0x3e0202;_0x1b5222[_0x7dd98a(0x346)]();const _0x7f9458=(_0x36ee1b,_0xc471bc,_0x739f3f,_0x55e67f)=>{const _0x34966d=_0x7dd98a;let _0x3520a2=[];switch(_0x36ee1b['id']){case _0x347d9b['EffectRefRangId'][_0x34966d(0x363)]:{_0x3520a2=_0x347d9b[_0x34966d(0x1ec)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x288)]:{_0x3520a2=_0x347d9b['handleDeleteRangeMoveUp'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x44c)]:{_0x3520a2=_0x347d9b[_0x34966d(0x3f2)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x299)]:{_0x3520a2=_0x347d9b['handleInsertRangeMoveDown'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x388)]:{_0x3520a2=_0x347d9b[_0x34966d(0x376)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x1c7)]:{_0x3520a2=_0x347d9b['handleInsertRow'](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x1d3)]:{_0x3520a2=_0x347d9b[_0x34966d(0x3cd)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b[_0x34966d(0x434)][_0x34966d(0x3f0)]:{_0x3520a2=_0x347d9b[_0x34966d(0x2de)](_0x36ee1b,_0x55e67f);break;}case _0x347d9b['EffectRefRangId'][_0x34966d(0x3ad)]:{_0x3520a2=_0x347d9b[_0x34966d(0x1c5)](_0x36ee1b,_0x55e67f);break;}}const _0x1e8ef4=_0x347d9b[_0x34966d(0x1e4)](_0x3520a2,_0x55e67f),_0x4d8826=this[_0x34966d(0x29c)]['get'](_0xc471bc);if(_0x4d8826&&_0x1e8ef4){const _0x21063c={..._0x4d8826,'range':_0x1e8ef4};this[_0x34966d(0x29c)][_0x34966d(0x1d8)](_0xc471bc,_0x21063c),_0x457d93(()=>{const _0x5ad4ba=_0x34966d,_0x32ed71=this['_refRangeService'][_0x5ad4ba(0x2db)](_0x1e8ef4,_0x1c7cdb=>(_0x32ed71[_0x5ad4ba(0x346)](),_0x7f9458(_0x1c7cdb,_0xc471bc,_0x739f3f,_0x1e8ef4)));_0x1b5222['add'](_0x32ed71);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x7dd98a(0x27f)]((_0x49c596,_0x33963f)=>{const _0x51e9ef=_0x7dd98a,{range:_0x3a7a85,sheetID:_0x2ec836}=_0x49c596,_0x252799=this['_refRangeService']['registerRefRange'](_0x3a7a85,_0x30ae71=>(_0x252799[_0x51e9ef(0x346)](),_0x7f9458(_0x30ae71,_0x33963f,_0x2ec836,_0x3a7a85)));_0x1b5222[_0x51e9ef(0x419)](_0x252799);});};this[_0x3e0202(0x21d)](_0x12127f['toDisposable'](this[_0x3e0202(0x31a)]['subscribe'](()=>{_0x5ad876();})));}['_toggleOnline'](){const _0x44c9f9=_0x4c88bb;var _0x5418a9,_0x6e7f59;if(this['_online']=!0x0,((_0x5418a9=this[_0x44c9f9(0x202)][_0x44c9f9(0x43d)]())==null?void 0x0:_0x5418a9[_0x44c9f9(0x43e)]())!==this[_0x44c9f9(0x358)])return;const _0x248056=(_0x6e7f59=this[_0x44c9f9(0x425)][_0x44c9f9(0x26d)](_0x347d9b[_0x44c9f9(0x418)])['getCurrentSelections']())==null?void 0x0:_0x6e7f59[0x0],_0xed0979=this['_univerInstanceService']['getCurrentUnitForType'](_0x12127f['UniverInstanceType'][_0x44c9f9(0x423)])[_0x44c9f9(0x263)]();_0x248056&&_0xed0979&&this['_updateLocalCursor'](_0xed0979['getSheetId'](),_0x248056);}[_0x4c88bb(0x2da)](){const _0xa467da=_0x4c88bb;this[_0xa467da(0x404)]=!0x1;}};_0x7e2189=_0x250634([_0xb341e4(0x2,_0x12127f['Inject'](_0x12127f[_0x4c88bb(0x1c8)])),_0xb341e4(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x3a2e1e)),_0xb341e4(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x438)])),_0xb341e4(0x5,_0x12127f[_0x4c88bb(0x405)]),_0xb341e4(0x6,_0x12127f[_0x4c88bb(0x301)]),_0xb341e4(0x7,_0x12127f['Inject'](_0x347d9b[_0x4c88bb(0x20c)]))],_0x7e2189);var _0x3be216=Object[_0x4c88bb(0x272)],_0x54e7f3=(_0x140dcd,_0x33e3aa,_0x162a9c,_0x378bf6)=>{const _0x48f6a3=_0x4c88bb;for(var _0x293b57=_0x378bf6>0x1?void 0x0:_0x378bf6?_0x3be216(_0x33e3aa,_0x162a9c):_0x33e3aa,_0x4e2a5d=_0x140dcd[_0x48f6a3(0x31e)]-0x1,_0x2e6d33;_0x4e2a5d>=0x0;_0x4e2a5d--)(_0x2e6d33=_0x140dcd[_0x4e2a5d])&&(_0x293b57=_0x2e6d33(_0x293b57)||_0x293b57);return _0x293b57;},_0x152fe6=(_0x2d2677,_0x4bc80c)=>(_0x31cb0e,_0x52f749)=>_0x4bc80c(_0x31cb0e,_0x52f749,_0x2d2677);let _0x3fa8d8=class extends _0x12127f['RxDisposable']{constructor(_0x4dd1b3,_0x46b25a,_0x3c4fd8){const _0x54be93=_0x4c88bb;super(),_0x259cdc(this,_0x54be93(0x2bd),new Map()),_0x259cdc(this,'_entityInit$',new _0x4d06f2[(_0x54be93(0x443))]()),(this[_0x54be93(0x202)]=_0x4dd1b3,this[_0x54be93(0x425)]=_0x46b25a,this[_0x54be93(0x413)]=_0x3c4fd8,this[_0x54be93(0x2a8)]());}[_0x4c88bb(0x346)](){const _0x310835=_0x4c88bb;super[_0x310835(0x346)](),this[_0x310835(0x257)][_0x310835(0x38a)](),this[_0x310835(0x2bd)]['forEach'](_0x4651c8=>_0x4651c8[_0x310835(0x346)]());}[_0x4c88bb(0x1ce)](_0xcc68fe){const _0x231191=_0x4c88bb;return this[_0x231191(0x2bd)][_0x231191(0x1fe)](_0xcc68fe)?this[_0x231191(0x2bd)][_0x231191(0x26d)](_0xcc68fe)[_0x231191(0x1cc)]:this[_0x231191(0x257)][_0x231191(0x310)](_0x4d06f2[_0x231191(0x37b)](_0x3bf81d=>_0x3bf81d['unitID']===_0xcc68fe),_0x4d06f2['switchMap'](_0x27c470=>_0x27c470['cursorInfo$']));}[_0x4c88bb(0x2a8)](){const _0x49f958=_0x4c88bb;this[_0x49f958(0x202)][_0x49f958(0x33d)](_0x12127f[_0x49f958(0x24d)][_0x49f958(0x423)])[_0x49f958(0x310)](_0x4d06f2['takeUntil'](this[_0x49f958(0x1d1)]))[_0x49f958(0x43a)](async _0x470843=>{const _0x3c1620=_0x49f958,_0x2848d1=_0x470843['getUnitId'](),_0x3ac729=await this['_startSheetCollabCursor'](_0x2848d1);this['_entityInit$'][_0x3c1620(0x34f)](_0x3ac729),this[_0x3c1620(0x2bd)]['set'](_0x2848d1,_0x3ac729);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x12127f['UniverInstanceType'][_0x49f958(0x3cb)])[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x3ba)](this['dispose$']))[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x37b)](_0x422b5e=>!_0x422b5e['getUnitId']()[_0x49f958(0x3db)]('__')))[_0x49f958(0x43a)](async _0x293a39=>{const _0xd70603=_0x49f958,_0x3f5ad7=_0x293a39[_0xd70603(0x43e)](),_0x1023a8=await this[_0xd70603(0x362)](_0x3f5ad7);this['_entityInit$'][_0xd70603(0x34f)](_0x1023a8),this['_entities'][_0xd70603(0x1d8)](_0x3f5ad7,_0x1023a8);}),_0x4d06f2[_0x49f958(0x38e)](this[_0x49f958(0x202)][_0x49f958(0x408)](_0x12127f[_0x49f958(0x24d)][_0x49f958(0x3cb)]),this[_0x49f958(0x202)][_0x49f958(0x408)](_0x12127f['UniverInstanceType'][_0x49f958(0x423)]))[_0x49f958(0x310)](_0x4d06f2[_0x49f958(0x3ba)](this[_0x49f958(0x1d1)]))[_0x49f958(0x43a)](_0x221bee=>{const _0x56cbb3=_0x49f958,_0xb590da=_0x221bee['getUnitId'](),_0x574c15=this['_entities']['get'](_0xb590da);_0x574c15&&(_0x574c15[_0x56cbb3(0x346)](),this[_0x56cbb3(0x2bd)][_0x56cbb3(0x3f7)](_0xb590da));});}async['_startSheetCollabCursor'](_0x313aae){const _0x1d9aec=_0x4c88bb,_0x1b239a=await this[_0x1d9aec(0x413)]['requireSession'](_0x313aae),_0x1d161b=this[_0x1d9aec(0x425)]['createInstance'](_0x7e2189,_0x313aae,_0x1b239a);return _0x1d161b[_0x1d9aec(0x30f)](),_0x1d161b;}async[_0x4c88bb(0x362)](_0x29b530){const _0x475163=_0x4c88bb,_0x2ddda8=await this['_collabSessionService'][_0x475163(0x284)](_0x29b530),_0x5158be=this[_0x475163(0x425)]['createInstance'](_0x4456f4,_0x29b530,_0x2ddda8);return _0x5158be[_0x475163(0x30f)](),_0x5158be;}};_0x3fa8d8=_0x54e7f3([_0x152fe6(0x0,_0x12127f['IUniverInstanceService']),_0x152fe6(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x152fe6(0x2,_0x12127f['Inject'](_0x5bae0f[_0x4c88bb(0x2fa)]))],_0x3fa8d8);const _0x1cc2c3=0x14,_0x157c6a=0xc8,_0x38e16a=0x4,_0x4be7f0=0x5;function _0x4f444f(_0x322829,_0x1cc4d2){const _0x3bfc09=_0x4c88bb;let {radius:_0x34169f,width:_0x5296d5,height:_0x11fd33}=_0x1cc4d2;_0x34169f=_0x34169f!=null?_0x34169f:0x0,_0x5296d5=_0x5296d5!=null?_0x5296d5:0x1e,_0x11fd33=_0x11fd33!=null?_0x11fd33:0x1e;let _0x5347c5=0x0,_0x40e390=0x0,_0x819f0b=0x0;_0x5347c5=_0x40e390=_0x819f0b=Math[_0x3bfc09(0x252)](_0x34169f,_0x5296d5/0x2,_0x11fd33/0x2),_0x322829[_0x3bfc09(0x1f2)](),_0x322829[_0x3bfc09(0x39b)](_0x5347c5,0x0),_0x322829['lineTo'](_0x5296d5-_0x40e390,0x0),_0x322829[_0x3bfc09(0x3c3)](_0x5296d5-_0x40e390,_0x40e390,_0x40e390,Math['PI']*0x3/0x2,0x0,!0x1),_0x322829[_0x3bfc09(0x30a)](_0x5296d5,_0x11fd33-_0x819f0b),_0x322829['arc'](_0x5296d5-_0x819f0b,_0x11fd33-_0x819f0b,_0x819f0b,0x0,Math['PI']/0x2,!0x1),_0x322829[_0x3bfc09(0x30a)](0x0,_0x11fd33),_0x322829[_0x3bfc09(0x30a)](0x0,_0x5347c5),_0x322829['arc'](_0x5347c5,_0x5347c5,_0x5347c5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x322829[_0x3bfc09(0x392)](),_0x1cc4d2[_0x3bfc09(0x286)]&&(_0x322829[_0x3bfc09(0x459)](),_0x322829[_0x3bfc09(0x27a)]=_0x1cc4d2[_0x3bfc09(0x286)],_0x1cc4d2[_0x3bfc09(0x24b)]===_0x3bfc09(0x249)?_0x322829['fill'](_0x3bfc09(0x249)):_0x322829[_0x3bfc09(0x286)](),_0x322829[_0x3bfc09(0x240)]());}class _0x50dbc1 extends _0xcd886d[_0x4c88bb(0x3c4)]{constructor(_0x4b5f78,_0x2189f7){const _0x4cb1d6=_0x4c88bb;super(_0x4b5f78,_0x2189f7),_0x259cdc(this,'color'),_0x259cdc(this,_0x4cb1d6(0x2d1)),(this[_0x4cb1d6(0x3e2)]=_0x2189f7==null?void 0x0:_0x2189f7[_0x4cb1d6(0x3e2)],this['text']=_0x2189f7==null?void 0x0:_0x2189f7[_0x4cb1d6(0x2d1)]);}static[_0x4c88bb(0x2ff)](_0x1ce7f2,_0xfdfbb3){const _0xc1bf9d=_0x4c88bb,{text:_0xd6fd98,color:_0x1c2bbf}=_0xfdfbb3;_0x1ce7f2[_0xc1bf9d(0x459)](),_0x1ce7f2[_0xc1bf9d(0x302)]=_0xc1bf9d(0x320);const _0x2b6691=_0x1ce7f2[_0xc1bf9d(0x40c)](_0xd6fd98)[_0xc1bf9d(0x22c)],_0x43a0e7=Math[_0xc1bf9d(0x252)](_0x2b6691+0x2*_0x38e16a,_0x157c6a);_0x4f444f(_0x1ce7f2,{'height':_0x1cc2c3,'radius':0x4,'width':_0x43a0e7,'fill':_0x1c2bbf}),_0x1ce7f2['fillStyle']=_0xc1bf9d(0x300);const _0x14892f=_0x38e16a,_0xcfe8d6=_0x1cc2c3-_0x4be7f0,_0x1f5b66=_0x157c6a-0x2*_0x38e16a;if(_0x2b6691>_0x1f5b66){let _0x590f74='',_0x5a5973=0x0;for(const _0x4787e3 of _0xd6fd98){const _0x4a904d=_0x1ce7f2[_0xc1bf9d(0x40c)](_0x4787e3)['width'];if(_0x5a5973+_0x4a904d<=_0x1f5b66-_0x1ce7f2['measureText'](_0xc1bf9d(0x2ae))[_0xc1bf9d(0x22c)])_0x590f74+=_0x4787e3,_0x5a5973+=_0x4a904d;else{_0x590f74+=_0xc1bf9d(0x2ae);break;}}_0x1ce7f2['fillText'](_0x590f74,_0x14892f,_0xcfe8d6);}else _0x1ce7f2[_0xc1bf9d(0x28c)](_0xd6fd98,_0x14892f,_0xcfe8d6);_0x1ce7f2[_0xc1bf9d(0x240)]();}['_draw'](_0x1df2fe){_0x50dbc1['drawWith'](_0x1df2fe,this);}}const _0x270d67='collab-text-anchor-',_0x2c90be=_0x4c88bb(0x319),_0x202cab=_0x4c88bb(0x1dd),_0x1bcb8d=0x6,_0x1f77d9=1.5,_0x429916=0x4,_0x5b40f6=1.5,_0x1202dc=_0x4c88bb(0x453);class _0x2a0dd3{constructor(_0xf05ad7,_0x4ab567,_0x1dd449,_0x4a3815){const _0x416a7f=_0x4c88bb;_0x259cdc(this,_0x416a7f(0x2a5),[]),_0x259cdc(this,_0x416a7f(0x2dd),null),_0x259cdc(this,_0x416a7f(0x2e0),null),_0x259cdc(this,'_anchorDot',null),_0x259cdc(this,_0x416a7f(0x262),null),_0x259cdc(this,_0x416a7f(0x34a),null),(this['_cursor']=_0xf05ad7,this['_scene']=_0x4ab567,this['_docSkeleton']=_0x1dd449,this[_0x416a7f(0x34b)]=_0x4a3815,this[_0x416a7f(0x3bd)]());}set[_0x4c88bb(0x2c8)](_0x1d6540){const _0x447322=_0x4c88bb;_0x1d6540?(this[_0x447322(0x424)]&&this['_anchorDot'][_0x447322(0x3bf)](),this[_0x447322(0x2e0)]&&this[_0x447322(0x2e0)][_0x447322(0x24e)]()):(this['_anchorDot']&&this[_0x447322(0x424)][_0x447322(0x24e)](),this[_0x447322(0x2e0)]&&this[_0x447322(0x2e0)][_0x447322(0x3bf)]());}[_0x4c88bb(0x346)](){const _0x3f2744=_0x4c88bb;for(const _0x455b3a of this[_0x3f2744(0x2a5)])_0x455b3a[_0x3f2744(0x346)]();this[_0x3f2744(0x2e0)]&&this[_0x3f2744(0x2e0)]['dispose'](),this[_0x3f2744(0x424)]&&this[_0x3f2744(0x424)][_0x3f2744(0x346)](),this[_0x3f2744(0x2dd)]&&this[_0x3f2744(0x2dd)]['dispose'](),this[_0x3f2744(0x34a)]&&this[_0x3f2744(0x34a)]();}[_0x4c88bb(0x3bd)](){const _0x4f3a38=_0x4c88bb;var _0x4bf397;const {_docSkeleton:_0x19f078,_document:_0x143f4d}=this,{color:_0x39a33a,name:_0x5a4d4,ranges:_0x4a9d94}=this[_0x4f3a38(0x2b2)],_0x41e6bc=_0x143f4d[_0x4f3a38(0x43f)](),{docsLeft:_0x2db553,docsTop:_0x1cf812}=_0x41e6bc,_0x1ed127=new _0x464098[(_0x4f3a38(0x451))](_0x41e6bc,_0x19f078);for(const {startOffset:_0x28e6d5,endOffset:_0x7c9f7f,rangeType:_0x3c8ef1,segmentId:_0xf5a055,segmentPage:_0x1fcc21,collapsed:_0x5cb395,isActive:_0x29326b}of _0x4a9d94){const _0x3796c9=_0x19f078[_0x4f3a38(0x1fa)](_0x28e6d5,!0x0,_0xf5a055,_0x1fcc21);let _0x1b4d3d=_0x19f078[_0x4f3a38(0x1fa)](_0x7c9f7f,!0x0,_0xf5a055,_0x1fcc21);if(_0x1b4d3d==null&&(_0x1b4d3d=_0x19f078[_0x4f3a38(0x1fa)](_0x7c9f7f-0x1,!0x1,_0xf5a055,_0x1fcc21)),_0x29326b){const {contentBoxPointGroup:_0x2e598f}=_0x1ed127[_0x4f3a38(0x278)](_0x1b4d3d,_0x1b4d3d);if(_0x2e598f[_0x4f3a38(0x31e)]===0x0)continue;this['_drawAnchor'](_0x39a33a,_0x2e598f,_0x2db553,_0x1cf812,_0x5a4d4),this['_eventUnsubscribe']=this[_0x4f3a38(0x2e4)]();}if(_0x3796c9&&_0x1b4d3d){if(_0x3c8ef1===_0x12127f[_0x4f3a38(0x221)][_0x4f3a38(0x355)]){const _0x2cd86c=new _0x464098['NodePositionConvertToRectRange'](_0x41e6bc,_0x19f078),{pointGroup:_0x213d0d}=(_0x4bf397=_0x2cd86c[_0x4f3a38(0x278)](_0x3796c9,_0x1b4d3d))!=null?_0x4bf397:{};if(_0x213d0d==null||_0x213d0d[_0x4f3a38(0x31e)]===0x0)continue;this[_0x4f3a38(0x3e4)](_0x39a33a,_0x213d0d,_0x2db553,_0x1cf812);}else{if(!_0x5cb395){const {borderBoxPointGroup:_0x35dd29}=_0x1ed127[_0x4f3a38(0x278)](_0x3796c9,_0x1b4d3d);if(_0x35dd29['length']===0x0)continue;this[_0x4f3a38(0x1f0)](_0x39a33a,_0x35dd29,_0x2db553,_0x1cf812);}}}}}['_drawAnchor'](_0x601867,_0x53c504,_0xceed8f,_0x139a08,_0x166fc7){const _0x463d34=_0x4c88bb,_0x383101=this[_0x463d34(0x2e5)](_0x53c504),{left:_0x2fd261,top:_0x359209,height:_0x2d91ab}=_0x383101,_0x3b9d6a=this['_getScale'](),_0x4c3ce0=_0x5b40f6/_0x3b9d6a,_0x3b095b=new _0xcd886d[(_0x463d34(0x2ba))](_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08,'height':_0x2d91ab,'width':_0x1f77d9,'fill':_0x601867||_0xcd886d[_0x463d34(0x28b)](_0x12127f[_0x463d34(0x214)][_0x463d34(0x3b4)],0x0),'strokeWidth':_0x4c3ce0,'stroke':_0x1202dc,'evented':!0x0});this[_0x463d34(0x2dd)]=_0x3b095b,this['_scene'][_0x463d34(0x44f)](_0x3b095b,_0x464098[_0x463d34(0x1f9)]);const _0x2ed634=new _0xcd886d[(_0x463d34(0x2ba))](_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08-_0x429916/0x2,'height':_0x429916,'width':_0x429916,'fill':_0x601867||_0xcd886d['getColor'](_0x12127f[_0x463d34(0x214)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x601867||_0xcd886d[_0x463d34(0x28b)](_0x12127f[_0x463d34(0x214)]['black'],0x0),'evented':!0x1});this[_0x463d34(0x424)]=_0x2ed634,this[_0x463d34(0x216)][_0x463d34(0x44f)](_0x2ed634,_0x464098[_0x463d34(0x1f9)]);const _0x211972=new _0x50dbc1(_0x270d67+_0x12127f[_0x463d34(0x36c)][_0x463d34(0x2b6)](_0x1bcb8d),{'left':_0x2fd261+_0xceed8f-_0x4c3ce0,'top':_0x359209+_0x139a08-_0x1cc2c3,'text':_0x166fc7,'color':_0x601867});this[_0x463d34(0x2e0)]=_0x211972,this[_0x463d34(0x216)][_0x463d34(0x44f)](_0x211972,_0x464098[_0x463d34(0x1f9)]),this[_0x463d34(0x2c8)]=!0x1;}[_0x4c88bb(0x2e4)](){const _0x1129a9=_0x4c88bb,_0x194c34=this['_anchor'][_0x1129a9(0x1ed)][_0x1129a9(0x25e)](()=>{const _0x34afe8=_0x1129a9;this[_0x34afe8(0x2c8)]=!0x0;}),_0x58a4aa=this[_0x1129a9(0x2dd)][_0x1129a9(0x2b9)][_0x1129a9(0x25e)](()=>{const _0x1359ee=_0x1129a9;this[_0x1359ee(0x262)]&&clearTimeout(this['_hideTimer']),this[_0x1359ee(0x262)]=setTimeout(()=>{const _0x58a8e2=_0x1359ee;this[_0x58a8e2(0x2c8)]=!0x1;},0x7d0);});return()=>{const _0x142033=_0x1129a9;_0x194c34[_0x142033(0x39f)](),_0x58a4aa[_0x142033(0x39f)]();};}[_0x4c88bb(0x1f0)](_0x890b91,_0x3cffc5,_0x5b532e,_0xb38a08){const _0x11604b=_0x4c88bb,_0x5daca6=new _0x12127f[(_0x11604b(0x3f8))](_0x890b91)[_0x11604b(0x414)](0.2)[_0x11604b(0x2dc)](),_0x1e6351=new _0xcd886d[(_0x11604b(0x2a3))](_0x2c90be+_0x12127f[_0x11604b(0x36c)][_0x11604b(0x2b6)](_0x1bcb8d),{'pointsGroup':_0x3cffc5,'fill':_0x5daca6||_0xcd886d[_0x11604b(0x28b)](_0x12127f['COLORS'][_0x11604b(0x3b4)],0.2),'left':_0x5b532e,'top':_0xb38a08,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x11604b(0x1d7)](_0x1e6351),this[_0x11604b(0x216)][_0x11604b(0x44f)](_0x1e6351,_0x464098[_0x11604b(0x1f9)]);}['_drawRectRange'](_0x5e1428,_0x4a8b06,_0x4cf932,_0x162421){const _0x45591b=_0x4c88bb,_0x578207=new _0x12127f[(_0x45591b(0x3f8))](_0x5e1428)[_0x45591b(0x414)](0.2)[_0x45591b(0x2dc)](),_0x2f0c11=new _0xcd886d[(_0x45591b(0x2a3))](_0x202cab+_0x12127f[_0x45591b(0x36c)][_0x45591b(0x2b6)](_0x1bcb8d),{'pointsGroup':_0x4a8b06,'fill':_0x578207||_0xcd886d[_0x45591b(0x28b)](_0x12127f[_0x45591b(0x214)][_0x45591b(0x3b4)],0.2),'left':_0x4cf932,'top':_0x162421,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45591b(0x2a5)][_0x45591b(0x1d7)](_0x2f0c11),this[_0x45591b(0x216)][_0x45591b(0x44f)](_0x2f0c11,_0x464098[_0x45591b(0x1f9)]);}[_0x4c88bb(0x2e5)](_0x395ea6){const _0x43f7dd=_0x395ea6[0x0],_0x453a85=_0x43f7dd[0x0],_0x5cfd56=_0x43f7dd[0x2],{x:_0x5280a6,y:_0x2b8454}=_0x453a85,{x:_0x3a7d3a,y:_0x9ad2cd}=_0x5cfd56;return{'left':_0x5280a6,'top':_0x2b8454,'width':_0x3a7d3a-_0x5280a6,'height':_0x9ad2cd-_0x2b8454};}[_0x4c88bb(0x40f)](){const _0x1f8852=_0x4c88bb,{scaleX:_0x288c5f,scaleY:_0x32773a}=this[_0x1f8852(0x216)][_0x1f8852(0x241)]();return Math[_0x1f8852(0x345)](_0x288c5f,_0x32773a);}}var _0x464335=Object['getOwnPropertyDescriptor'],_0x5cfbb3=(_0x262700,_0x949c1f,_0x47aa6a,_0x111683)=>{const _0x5992e9=_0x4c88bb;for(var _0x19da40=_0x111683>0x1?void 0x0:_0x111683?_0x464335(_0x949c1f,_0x47aa6a):_0x949c1f,_0x141e19=_0x262700[_0x5992e9(0x31e)]-0x1,_0x451077;_0x141e19>=0x0;_0x141e19--)(_0x451077=_0x262700[_0x141e19])&&(_0x19da40=_0x451077(_0x19da40)||_0x19da40);return _0x19da40;},_0x218a8e=(_0x3de80a,_0x4f72d1)=>(_0x3f99d8,_0x48fc20)=>_0x4f72d1(_0x3f99d8,_0x48fc20,_0x3de80a);let _0x92636b=class extends _0x12127f['RxDisposable']{constructor(_0x585502,_0x299d10,_0x45cf51,_0x55b00e,_0x3aec8c){const _0x89d752=_0x4c88bb;super(),_0x259cdc(this,_0x89d752(0x401),[]),_0x259cdc(this,_0x89d752(0x384),[]),(this[_0x89d752(0x323)]=_0x585502,this[_0x89d752(0x407)]=_0x299d10,this[_0x89d752(0x3bb)]=_0x45cf51,this[_0x89d752(0x204)]=_0x55b00e,this[_0x89d752(0x36d)]=_0x3aec8c,this[_0x89d752(0x2a8)]());}['_init'](){const _0x30b2f0=_0x4c88bb,_0x37447a=this['_context'][_0x30b2f0(0x2c0)],_0x1469d6=this[_0x30b2f0(0x407)];this['disposeWithMe'](_0x4d06f2[_0x30b2f0(0x2f6)]([this[_0x30b2f0(0x3bb)][_0x30b2f0(0x1ce)](_0x37447a),this[_0x30b2f0(0x36d)][_0x30b2f0(0x2f1)]])[_0x30b2f0(0x310)](_0x43c141[_0x30b2f0(0x2cb)](([_0x368110,_0x442894])=>({'skeleton':_0x1469d6[_0x30b2f0(0x277)](),'cursors':[..._0x368110['values']()]['flatMap'](_0x5c9803=>({..._0x5c9803,'color':_0x442894[_0x5c9803[_0x30b2f0(0x3e2)]]}))})))[_0x30b2f0(0x43a)](_0x88514d=>{const _0x5cf036=_0x30b2f0;if(this[_0x5cf036(0x20f)](),_0x88514d){const {skeleton:_0x548dc7,cursors:_0xcc6da8}=_0x88514d;this['_updateCollabCursors'](_0x548dc7,_0xcc6da8);}})),this[_0x30b2f0(0x2fb)](),this[_0x30b2f0(0x382)]();}['_updateCollabCursors'](_0x50de0e,_0x3af085){const _0x32a821=_0x4c88bb,{scene:_0xd4cc,mainComponent:_0x1c79a3}=this['_context'],_0x28b4dd=_0x3af085['map'](_0x2098b1=>new _0x2a0dd3(_0x2098b1,_0xd4cc,_0x50de0e,_0x1c79a3));this[_0x32a821(0x401)]=_0x28b4dd,this[_0x32a821(0x384)]=_0x3af085;}[_0x4c88bb(0x385)](){const _0x3c2d17=_0x4c88bb;this['_removeCollabCursors']();const {scene:_0x4ea995,mainComponent:_0x2f997b}=this[_0x3c2d17(0x323)],_0x25877b=this[_0x3c2d17(0x407)]['getSkeleton'](),_0x57097d=this[_0x3c2d17(0x384)]['map'](_0x585d5c=>new _0x2a0dd3(_0x585d5c,_0x4ea995,_0x25877b,_0x2f997b));this[_0x3c2d17(0x401)]=_0x57097d;}[_0x4c88bb(0x20f)](){const _0x18841e=_0x4c88bb;this[_0x18841e(0x401)][_0x18841e(0x27f)](_0x1d604a=>_0x1d604a['dispose']()),this[_0x18841e(0x401)]=[];}[_0x4c88bb(0x382)](){const _0x38d9ad=_0x4c88bb,_0x2e3c37=[_0x464098[_0x38d9ad(0x33b)]['id']];this[_0x38d9ad(0x21d)](this[_0x38d9ad(0x204)][_0x38d9ad(0x224)](_0x15bddd=>{const _0x182de5=_0x38d9ad;_0x2e3c37[_0x182de5(0x2b5)](_0x15bddd['id'])&&_0x15bddd[_0x182de5(0x442)][_0x182de5(0x2c0)]===this['_context'][_0x182de5(0x2c0)]&&this[_0x182de5(0x385)]();}));}['_initResize'](){const _0x328f6d=_0x4c88bb;this['disposeWithMe'](_0x12127f['fromEventSubject'](this[_0x328f6d(0x323)][_0x328f6d(0x1d4)][_0x328f6d(0x308)])[_0x328f6d(0x310)](_0x43c141[_0x328f6d(0x37b)](_0x62c914=>_0x62c914[_0x328f6d(0x3fe)]===_0xcd886d[_0x328f6d(0x248)]['resize']),_0x43c141[_0x328f6d(0x275)](0x10))[_0x328f6d(0x43a)](()=>{const _0x5c9b1d=_0x328f6d;this[_0x5c9b1d(0x385)]();}));}};_0x92636b=_0x5cfbb3([_0x218a8e(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x514f6b[_0x4c88bb(0x27c)])),_0x218a8e(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x3fa8d8)),_0x218a8e(0x3,_0x12127f['ICommandService']),_0x218a8e(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x26e)]))],_0x92636b);const _0x1d93fb=0x1,_0x4550eb=1.5;class _0x458401 extends _0xcd886d[_0x4c88bb(0x3c4)]{constructor(_0x5fb120,_0x5e4eba){const _0x3541c4=_0x4c88bb;super(_0x5fb120,_0x5e4eba),_0x259cdc(this,_0x3541c4(0x315)),_0x259cdc(this,_0x3541c4(0x32f),!0x1),_0x259cdc(this,_0x3541c4(0x1e0)),_0x259cdc(this,_0x3541c4(0x244),''),_0x259cdc(this,_0x3541c4(0x44d),_0x3541c4(0x231)),_0x259cdc(this,_0x3541c4(0x2e9)),(_0x5e4eba&&this['setShapeProps'](_0x5e4eba),this[_0x3541c4(0x1ed)][_0x3541c4(0x25e)](()=>this[_0x3541c4(0x3e3)]({'hovered':!0x0})),this[_0x3541c4(0x2b9)][_0x3541c4(0x25e)](()=>this[_0x3541c4(0x3e3)]({'hovered':!0x1})));}[_0x4c88bb(0x3e3)](_0x2acc35){const _0x4f3c9c=_0x4c88bb;var _0x49e719,_0x22b9fb,_0x5ea974,_0xb7739f,_0x1c5e10,_0x207364;this[_0x4f3c9c(0x315)]=(_0x49e719=_0x2acc35[_0x4f3c9c(0x3e2)])!=null?_0x49e719:this['_color'],this[_0x4f3c9c(0x32f)]=(_0x22b9fb=_0x2acc35[_0x4f3c9c(0x31c)])!=null?_0x22b9fb:this[_0x4f3c9c(0x32f)],this[_0x4f3c9c(0x1e0)]=(_0x5ea974=_0x2acc35[_0x4f3c9c(0x206)])!=null?_0x5ea974:this['_range'],this[_0x4f3c9c(0x244)]=(_0xb7739f=_0x2acc35[_0x4f3c9c(0x370)])!=null?_0xb7739f:this[_0x4f3c9c(0x244)],this[_0x4f3c9c(0x44d)]=(_0x1c5e10=_0x2acc35[_0x4f3c9c(0x32a)])!=null?_0x1c5e10:this[_0x4f3c9c(0x44d)],this['_backgroundColor']=(_0x207364=_0x2acc35[_0x4f3c9c(0x415)])!=null?_0x207364:this['_backgroundColor'],this['transformByState']({'width':_0x2acc35[_0x4f3c9c(0x22c)],'height':_0x2acc35[_0x4f3c9c(0x2ce)]});}['onMouseMove'](_0x150254){const _0x2443d2=_0x4c88bb,{row:_0x368709,column:_0x545240}=_0x150254;if(_0x368709>=this['_range']['startRow']&&_0x368709<=this[_0x2443d2(0x1e0)][_0x2443d2(0x3a6)]&&_0x545240>=this[_0x2443d2(0x1e0)][_0x2443d2(0x2e3)]&&_0x545240<=this[_0x2443d2(0x1e0)]['endColumn']){this[_0x2443d2(0x3e3)]({'hovered':!0x0});return;}this[_0x2443d2(0x3e3)]({'hovered':!0x1});}[_0x4c88bb(0x366)](_0x5d6580){return!0x1;}[_0x4c88bb(0x201)](_0x488c66){const _0x475962=_0x4c88bb;_0xcd886d['Rect'][_0x475962(0x2ff)](_0x488c66,{'width':this[_0x475962(0x22c)],'height':this[_0x475962(0x2ce)],'strokeWidth':_0x4550eb,'stroke':this[_0x475962(0x315)],'evented':!0x1,'fill':this[_0x475962(0x2e9)]}),this['_hovered']&&(_0x488c66[_0x475962(0x459)](),_0x488c66['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x475962(0x44d)]===_0x475962(0x26b)?0x0:-0x14),_0x50dbc1[_0x475962(0x2ff)](_0x488c66,{'text':this['_name'],'color':this[_0x475962(0x315)]}),_0x488c66[_0x475962(0x240)]());}}var _0x42ba71=Object[_0x4c88bb(0x272)],_0x83c61c=(_0xec3151,_0x4a4522,_0x1b7740,_0x3f537c)=>{const _0x2eb2e4=_0x4c88bb;for(var _0x50897c=_0x3f537c>0x1?void 0x0:_0x3f537c?_0x42ba71(_0x4a4522,_0x1b7740):_0x4a4522,_0x5d212f=_0xec3151[_0x2eb2e4(0x31e)]-0x1,_0x485bf9;_0x5d212f>=0x0;_0x5d212f--)(_0x485bf9=_0xec3151[_0x5d212f])&&(_0x50897c=_0x485bf9(_0x50897c)||_0x50897c);return _0x50897c;},_0x2cc8e1=(_0x3a928f,_0x5746cb)=>(_0x59e210,_0x51e649)=>_0x5746cb(_0x59e210,_0x51e649,_0x3a928f);const _0xdd4a33=0x1389;let _0x1e07d9=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x300649,_0x4299aa,_0x182090,_0x1963d3){const _0x4f53e0=_0x4c88bb;super(),_0x259cdc(this,_0x4f53e0(0x384),new Set()),_0x259cdc(this,_0x4f53e0(0x3e1),null),(this[_0x4f53e0(0x323)]=_0x300649,this[_0x4f53e0(0x327)]=_0x4299aa,this[_0x4f53e0(0x3bb)]=_0x182090,this[_0x4f53e0(0x36d)]=_0x1963d3,this['_init']());}[_0x4c88bb(0x2a8)](){const _0x560ae8=_0x4c88bb;this[_0x560ae8(0x327)][_0x560ae8(0x313)]['pipe'](_0x43c141[_0x560ae8(0x3ba)](this[_0x560ae8(0x1d1)]),_0x43c141[_0x560ae8(0x1df)](_0x291e34=>{const _0x197967=_0x560ae8;if(_0x291e34){const _0x2be6e0=_0x291e34['sheetId'];return _0x4d06f2['combineLatest'](this[_0x197967(0x3bb)][_0x197967(0x1ce)](this[_0x197967(0x323)][_0x197967(0x2c0)]),this[_0x197967(0x36d)][_0x197967(0x2f1)])[_0x197967(0x310)](_0x43c141[_0x197967(0x2cb)](([_0x351ecd,_0x317822])=>{const _0x52b031=_0x197967,_0x4d7b9a=new Map();return _0x351ecd[_0x52b031(0x27f)]((_0xf0a5f8,_0x6aa5a0)=>{const _0xa95487=_0x52b031;if(_0xf0a5f8[_0xa95487(0x3a2)]===_0x2be6e0){const _0xb2757b={..._0xf0a5f8};_0xb2757b['color']=_0x317822[_0xf0a5f8[_0xa95487(0x3e2)]],_0x4d7b9a[_0xa95487(0x1d8)](_0x6aa5a0,_0xb2757b);}}),{'skeleton':_0x291e34,'cursors':_0x4d7b9a};}));}return _0x4d06f2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x534051,cursors:_0x200d66})=>{const _0x29eb67=_0x560ae8;this[_0x29eb67(0x20f)](),_0x534051&&this[_0x29eb67(0x29b)](_0x534051,_0x200d66);}),this['_sheetSkeletonManagerService'][_0x560ae8(0x313)]['subscribe'](_0x5d09ea=>{const _0x11669b=_0x560ae8;if(_0x5d09ea==null)return;const {skeleton:_0x8b9790}=_0x5d09ea,{scene:_0x240650}=this[_0x11669b(0x323)];_0x240650[_0x11669b(0x200)][_0x11669b(0x25e)](_0x12127f['debounce'](_0x2be007=>{const _0x5300fc=_0x11669b;var _0x44ee2c,_0x45c792;const {offsetX:_0x317099,offsetY:_0x36c337}=_0x2be007,{x:_0x33c7bb,y:_0x3922b0}=_0x240650[_0x5300fc(0x1ca)](_0xcd886d[_0x5300fc(0x36f)]['FromArray']([_0x317099,_0x36c337])),{scaleX:_0x1c6fc6,scaleY:_0x1631d9}=_0x240650[_0x5300fc(0x241)](),_0x577014=_0x240650[_0x5300fc(0x2af)](_0xcd886d['SHEET_VIEWPORT_KEY'][_0x5300fc(0x38f)]),_0x2755cf=_0x240650[_0x5300fc(0x454)](_0xcd886d[_0x5300fc(0x36f)][_0x5300fc(0x230)]([_0x33c7bb,_0x3922b0]),_0x577014),_0x4b80b9=_0x8b9790[_0x5300fc(0x2d9)](_0x317099,_0x36c337,_0x1c6fc6,_0x1631d9,_0x2755cf);((_0x44ee2c=this['_lastPointer'])==null?void 0x0:_0x44ee2c[_0x5300fc(0x400)])===_0x4b80b9[_0x5300fc(0x400)]&&((_0x45c792=this[_0x5300fc(0x3e1)])==null?void 0x0:_0x45c792[_0x5300fc(0x449)])===_0x4b80b9[_0x5300fc(0x449)]||this[_0x5300fc(0x384)][_0x5300fc(0x27f)](_0x3fbf3e=>{const _0x169abf=_0x5300fc;_0x3fbf3e[_0x169abf(0x22a)](_0x4b80b9);});},0x64));});}[_0x4c88bb(0x29b)](_0x5463ac,_0x3cfd0e){const _0x5a4313=_0x4c88bb;var _0x513ff1;const _0x5a6ed4=(_0x513ff1=this[_0x5a4313(0x327)][_0x5a4313(0x25b)]())==null?void 0x0:_0x513ff1[_0x5a4313(0x1cd)];if(!_0x5a6ed4)return;const _0x472fe8=this[_0x5a4313(0x2cc)]();if(!_0x472fe8)return;this['_cursors']['forEach'](_0x48965e=>{_0x48965e['makeDirty']();});const {scene:_0x1ba20e}=_0x472fe8,_0x16a01e=_0xacb839(Array[_0x5a4313(0x232)](_0x3cfd0e[_0x5a4313(0x379)]()))[_0x5a4313(0x2cb)](_0x194a78=>{const _0x1291ae=_0x5a4313,{color:_0x25eea3,range:_0x320eb2,name:_0xd6d873,selection:_0x425bc8,sheetID:_0x11e465}=_0x194a78,{startColumn:_0x4ea142,startRow:_0x1dc070,endColumn:_0x24debc,endRow:_0x2b00dd}=_0x320eb2,_0x13612b=_0x158580[_0x1291ae(0x2c6)](_0x1dc070,_0x4ea142,_0x1ba20e,_0x5a6ed4),_0x38c254=_0x158580[_0x1291ae(0x2c6)](_0x2b00dd,_0x24debc,_0x1ba20e,_0x5a6ed4),{columnHeaderHeightAndMarginTop:_0x5eaa5e}=_0x5a6ed4,{startX:_0x5f12f3,startY:_0x1881f9}=_0x13612b,{endX:_0xea8b91,endY:_0x27ec9b}=_0x38c254,_0x2aca1=_0xea8b91-_0x5f12f3,_0x8e453b=_0x27ec9b-_0x1881f9,_0xbc6ff7={'labelPosition':_0x1881f9-_0x5eaa5e>=_0x1cc2c3?_0x1291ae(0x231):'bottom','sheetID':_0x11e465,'range':_0x320eb2,'color':_0x25eea3,'name':_0xd6d873,'selection':_0x425bc8,'left':_0x5f12f3,'top':_0x1881f9,'width':_0x2aca1,'height':_0x8e453b,'evented':!0x1,'zIndex':_0xdd4a33};return new _0x458401(_0xd6d873,_0xbc6ff7);});_0x1ba20e[_0x5a4313(0x37a)](_0x16a01e,_0x1d93fb),this[_0x5a4313(0x384)]=new Set(_0x16a01e);}[_0x4c88bb(0x20f)](){const _0x5ece06=_0x4c88bb;var _0x585d09;(_0x585d09=this[_0x5ece06(0x384)])==null||_0x585d09[_0x5ece06(0x27f)](_0x2e7d74=>_0x2e7d74[_0x5ece06(0x346)]());}[_0x4c88bb(0x2cc)](){const _0x35ef36=_0x4c88bb;return _0x158580[_0x35ef36(0x1d6)](this[_0x35ef36(0x323)][_0x35ef36(0x28e)],this[_0x35ef36(0x323)]);}};_0x1e07d9=_0x83c61c([_0x2cc8e1(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x158580[_0x4c88bb(0x264)])),_0x2cc8e1(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x3fa8d8)),_0x2cc8e1(0x3,_0x12127f['Inject'](_0x12127f[_0x4c88bb(0x26e)]))],_0x1e07d9);function _0xacb839(_0x1687f9){const _0x24a5b9=_0x4c88bb,_0x405910=new Map();return _0x1687f9[_0x24a5b9(0x27f)](_0x3d6958=>{const _0x28150a=_0x24a5b9;if(_0x405910['has'](_0x3d6958['selection'])){const _0xea9ae6=_0x405910[_0x28150a(0x26d)](_0x3d6958[_0x28150a(0x1db)]);_0xea9ae6[_0x28150a(0x370)]+=',\x20'+_0x3d6958[_0x28150a(0x370)];}else _0x405910[_0x28150a(0x1d8)](_0x3d6958[_0x28150a(0x1db)],_0x3d6958);}),Array[_0x24a5b9(0x232)](_0x405910[_0x24a5b9(0x379)]());}var _0x171442=function(){const _0x2a6b98=_0x4c88bb;return _0x171442=Object[_0x2a6b98(0x2c1)]||function(_0x3c2d04){const _0x47ccf8=_0x2a6b98;for(var _0x13f059,_0x51ba2c=0x1,_0x4ded8c=arguments[_0x47ccf8(0x31e)];_0x51ba2c<_0x4ded8c;_0x51ba2c++){_0x13f059=arguments[_0x51ba2c];for(var _0x58bb00 in _0x13f059)Object['prototype']['hasOwnProperty'][_0x47ccf8(0x246)](_0x13f059,_0x58bb00)&&(_0x3c2d04[_0x58bb00]=_0x13f059[_0x58bb00]);}return _0x3c2d04;},_0x171442['apply'](this,arguments);},_0x51f9ba=function(_0x265867,_0x4f9826){const _0x47b624=_0x4c88bb;var _0x25f1ce={};for(var _0x15b5bd in _0x265867)Object[_0x47b624(0x2ac)][_0x47b624(0x32e)][_0x47b624(0x246)](_0x265867,_0x15b5bd)&&_0x4f9826[_0x47b624(0x229)](_0x15b5bd)<0x0&&(_0x25f1ce[_0x15b5bd]=_0x265867[_0x15b5bd]);if(_0x265867!=null&&typeof Object[_0x47b624(0x20a)]=='function'){for(var _0x3631f6=0x0,_0x15b5bd=Object[_0x47b624(0x20a)](_0x265867);_0x3631f6<_0x15b5bd['length'];_0x3631f6++)_0x4f9826[_0x47b624(0x229)](_0x15b5bd[_0x3631f6])<0x0&&Object[_0x47b624(0x2ac)]['propertyIsEnumerable'][_0x47b624(0x246)](_0x265867,_0x15b5bd[_0x3631f6])&&(_0x25f1ce[_0x15b5bd[_0x3631f6]]=_0x265867[_0x15b5bd[_0x3631f6]]);}return _0x25f1ce;},_0x4d1546=_0xbee236[_0x4c88bb(0x330)](function(_0x50fc8a,_0x2e9815){const _0x514f6c=_0x4c88bb;var _0x49ed45=_0x50fc8a[_0x514f6c(0x311)],_0x242ebf=_0x50fc8a['id'],_0x2d4eef=_0x50fc8a['className'],_0x4abbbc=_0x50fc8a[_0x514f6c(0x250)],_0x4812ce=_0x51f9ba(_0x50fc8a,[_0x514f6c(0x311),'id',_0x514f6c(0x3ae),_0x514f6c(0x250)]),_0x30a714=_0x514f6c(0x44a)[_0x514f6c(0x426)](_0x242ebf,'\x20')['concat'](_0x2d4eef||'')[_0x514f6c(0x341)](),_0x315e24=_0xbee236[_0x514f6c(0x3fd)]('_'[_0x514f6c(0x426)](_0x35144a()));return _0x513c23(_0x49ed45,''[_0x514f6c(0x426)](_0x242ebf),{'defIds':_0x49ed45[_0x514f6c(0x30e)],'idSuffix':_0x315e24[_0x514f6c(0x2a7)]},_0x171442({'ref':_0x2e9815,'className':_0x30a714},_0x4812ce),_0x4abbbc);});function _0x513c23(_0x4c284c,_0x48eca9,_0x30dfe6,_0x270be5,_0x140766){const _0x2d988e=_0x4c88bb;return _0xbee236[_0x2d988e(0x2f0)](_0x4c284c['tag'],_0x171442(_0x171442({'key':_0x48eca9},_0x40b37b(_0x4c284c,_0x30dfe6,_0x140766)),_0x270be5),(_0x218262(_0x4c284c,_0x30dfe6)[_0x2d988e(0x439)]||[])['map'](function(_0x252882,_0x13760e){const _0x205f5e=_0x2d988e;return _0x513c23(_0x252882,''[_0x205f5e(0x426)](_0x48eca9,'-')[_0x205f5e(0x426)](_0x4c284c[_0x205f5e(0x450)],'-')[_0x205f5e(0x426)](_0x13760e),_0x30dfe6,void 0x0,_0x140766);}));}function _0x40b37b(_0x2c49a2,_0x2288d7,_0x4e6499){const _0x350f99=_0x4c88bb;var _0x29a068=_0x171442({},_0x2c49a2['attrs']);_0x4e6499!=null&&_0x4e6499['colorChannel1']&&_0x29a068['fill']===_0x350f99(0x445)&&(_0x29a068[_0x350f99(0x286)]=_0x4e6499[_0x350f99(0x445)]),_0x2c49a2[_0x350f99(0x450)]===_0x350f99(0x296)&&_0x29a068['id']&&(_0x29a068['id']=_0x29a068['id']+_0x2288d7[_0x350f99(0x421)]),Object[_0x350f99(0x360)](_0x29a068)[_0x350f99(0x27f)](function(_0xd9e9c){const _0x4518dc=_0x350f99;var _0x273833=_0xd9e9c[0x0],_0xa02624=_0xd9e9c[0x1];_0x273833===_0x4518dc(0x296)&&typeof _0xa02624==_0x4518dc(0x2fd)&&(_0x29a068[_0x273833]=_0xa02624['replace'](/url\(#(.*)\)/,_0x4518dc(0x343)[_0x4518dc(0x426)](_0x2288d7[_0x4518dc(0x421)],')')));});var _0x5c93ba=_0x2288d7['defIds'];return!_0x5c93ba||_0x5c93ba[_0x350f99(0x31e)]===0x0||(_0x2c49a2[_0x350f99(0x450)]===_0x350f99(0x1f6)&&_0x29a068[_0x350f99(0x213)]&&(_0x29a068[_0x350f99(0x213)]=_0x29a068[_0x350f99(0x213)]+_0x2288d7[_0x350f99(0x421)]),Object[_0x350f99(0x360)](_0x29a068)[_0x350f99(0x27f)](function(_0x4aa119){const _0x2aeb0a=_0x350f99;var _0x4d3fdd=_0x4aa119[0x0],_0x4ec674=_0x4aa119[0x1];typeof _0x4ec674==_0x2aeb0a(0x2fd)&&(_0x29a068[_0x4d3fdd]=_0x4ec674[_0x2aeb0a(0x40b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2288d7[_0x2aeb0a(0x421)],')')));})),_0x29a068;}function _0x218262(_0xb991f7,_0x427944){const _0x515556=_0x4c88bb;var _0x3ef3b9,_0x3524be=_0x427944['defIds'];return!_0x3524be||_0x3524be['length']===0x0?_0xb991f7:_0xb991f7[_0x515556(0x450)]===_0x515556(0x267)&&(!((_0x3ef3b9=_0xb991f7[_0x515556(0x439)])===null||_0x3ef3b9===void 0x0)&&_0x3ef3b9[_0x515556(0x31e)])?_0x171442(_0x171442({},_0xb991f7),{'children':_0xb991f7['children'][_0x515556(0x2cb)](function(_0x15129f){const _0xffbf48=_0x515556;return typeof _0x15129f[_0xffbf48(0x3b6)]['id']==_0xffbf48(0x2fd)&&_0x3524be&&_0x3524be[_0xffbf48(0x229)](_0x15129f[_0xffbf48(0x3b6)]['id'])>-0x1?_0x171442(_0x171442({},_0x15129f),{'attrs':_0x171442(_0x171442({},_0x15129f[_0xffbf48(0x3b6)]),{'id':_0x15129f[_0xffbf48(0x3b6)]['id']+_0x427944[_0xffbf48(0x421)]})}):_0x15129f;})}):_0xb991f7;}function _0x35144a(){const _0x156d6f=_0x4c88bb;return Math[_0x156d6f(0x3a7)]()[_0x156d6f(0x23a)](0x24)[_0x156d6f(0x3df)](0x2,0x8);}_0x4d1546[_0x4c88bb(0x2f5)]=_0x4c88bb(0x1f1);var _0x480e03={'tag':_0x4c88bb(0x3d3),'attrs':{'fill':_0x4c88bb(0x298),'viewBox':_0x4c88bb(0x208),'width':'1em','height':_0x4c88bb(0x2fe)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4c88bb(0x233),'strokeLinejoin':_0x4c88bb(0x233),'strokeWidth':1.2}}]},{'tag':_0x4c88bb(0x267),'attrs':{},'children':[{'tag':_0x4c88bb(0x42f),'attrs':{'id':_0x4c88bb(0x448)},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'fill':_0x4c88bb(0x1f4),'d':_0x4c88bb(0x457)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x31d19f=_0xbee236[_0x4c88bb(0x330)](function(_0x136048,_0x15415b){const _0x11bd64=_0x4c88bb;return _0xbee236[_0x11bd64(0x2f0)](_0x4d1546,Object[_0x11bd64(0x2c1)]({},_0x136048,{'id':'off-line-single','ref':_0x15415b,'icon':_0x480e03}));});_0x31d19f['displayName']=_0x4c88bb(0x422);var _0x315e04={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4c88bb(0x39d),'width':_0x4c88bb(0x2fe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'stroke':'currentColor','d':_0x4c88bb(0x2b4),'strokeLinecap':'round','strokeLinejoin':_0x4c88bb(0x233),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4c88bb(0x2f2)},'children':[{'tag':_0x4c88bb(0x34d),'attrs':{'fill':_0x4c88bb(0x1f4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4c88bb(0x2f2)]},_0x2023cf=_0xbee236[_0x4c88bb(0x330)](function(_0x5de51a,_0x4ddb0f){const _0x25ba1a=_0x4c88bb;return _0xbee236['createElement'](_0x4d1546,Object[_0x25ba1a(0x2c1)]({},_0x5de51a,{'id':'on-line-single','ref':_0x4ddb0f,'icon':_0x315e04}));});_0x2023cf[_0x4c88bb(0x2f5)]=_0x4c88bb(0x236);function _0x1c1e3b(_0x2dc856){const _0x112711=_0x4c88bb;switch(_0x2dc856){case _0x5bae0f['CollaborationStatus'][_0x112711(0x297)]:return _0x112711(0x247);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x394)]:return _0x112711(0x25c);case _0x5bae0f['CollaborationStatus'][_0x112711(0x3c1)]:return _0x112711(0x283);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x347)]:return _0x112711(0x436);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x437)]:case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x303)]:return _0x112711(0x2a2);case _0x5bae0f[_0x112711(0x2f3)][_0x112711(0x1ef)]:case _0x5bae0f[_0x112711(0x2f3)]['PENDING']:return _0x112711(0x3ea);}}function _0x2066b6(_0x5bd581){const _0x223dc7=_0x4c88bb,{status$:_0x3d3fc8}=_0x5bd581,_0x182cf7=_0x594396[_0x223dc7(0x1fd)](_0x3d3fc8,_0x5bae0f[_0x223dc7(0x2f3)][_0x223dc7(0x347)]),_0x540418=_0x594396['useDependency'](_0x12127f[_0x223dc7(0x24c)]),_0x308406=_0x594396[_0x223dc7(0x3fb)](_0x5bae0f['CollaborationSessionService']),_0x14b6bc=_0x182cf7!==_0x5bae0f[_0x223dc7(0x2f3)]['OFFLINE'],_0x574f9d=_0x540418['t'](_0x1c1e3b(_0x182cf7)),_0x5bc371=_0x14b6bc?_0x30ea62[_0x223dc7(0x276)](_0x2023cf,{}):_0x30ea62['jsx'](_0x31d19f,{}),_0x208719=_0xbee236['useCallback'](()=>{const _0x270bc7=_0x223dc7;_0x14b6bc||_0x308406[_0x270bc7(0x3ac)]();},[_0x14b6bc,_0x308406]);function _0x15906a(){const _0x1d39eb=_0x223dc7;return _0x30ea62[_0x1d39eb(0x2b7)](_0x1d39eb(0x431),{'className':_0x1d39eb(0x3a8),'onClick':_0x208719,'children':[_0x30ea62[_0x1d39eb(0x276)]('div',{'className':_0x4ecfe7['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x14b6bc?_0x1d39eb(0x1e6):_0x1d39eb(0x2ec)),'children':_0x5bc371}),_0x30ea62[_0x1d39eb(0x276)](_0x1d39eb(0x431),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x574f9d})]});}return _0x14b6bc?_0x15906a():_0x30ea62['jsx'](_0x4ecfe7[_0x223dc7(0x3f1)],{'title':_0x540418['t'](_0x223dc7(0x352)),'children':_0x15906a()});}var _0x38a364=Object[_0x4c88bb(0x272)],_0x47d5dc=(_0x26143c,_0x5f1673,_0x1030f8,_0x356c0f)=>{const _0x26956b=_0x4c88bb;for(var _0x17342f=_0x356c0f>0x1?void 0x0:_0x356c0f?_0x38a364(_0x5f1673,_0x1030f8):_0x5f1673,_0xe60f26=_0x26143c[_0x26956b(0x31e)]-0x1,_0x249162;_0xe60f26>=0x0;_0xe60f26--)(_0x249162=_0x26143c[_0xe60f26])&&(_0x17342f=_0x249162(_0x17342f)||_0x17342f);return _0x17342f;},_0x52d025=(_0x44bcda,_0xbca5)=>(_0x53ff13,_0x4256bf)=>_0xbca5(_0x53ff13,_0x4256bf,_0x44bcda);_0x5d87d7['DesktopCollaborationStatusDisplayController']=class extends _0x12127f['Disposable']{constructor(_0x283996,_0x1a695e,_0xcc1d24,_0x4c1ab0){const _0x224249=_0x4c88bb;super(),_0x259cdc(this,_0x224249(0x1e5),new _0x4d06f2[(_0x224249(0x31f))](_0x5bae0f[_0x224249(0x2f3)]['NOT_COLLAB'])),(this[_0x224249(0x202)]=_0x283996,this[_0x224249(0x425)]=_0x1a695e,this[_0x224249(0x27d)]=_0xcc1d24,this['_uiPartsService']=_0x4c1ab0,this['_initStatusComponent'](),this[_0x224249(0x1fc)]());}[_0x4c88bb(0x1fc)](){const _0xc6bf0a=_0x4c88bb;this[_0xc6bf0a(0x21d)](this[_0xc6bf0a(0x202)][_0xc6bf0a(0x416)]['pipe'](_0x4d06f2[_0xc6bf0a(0x1df)](()=>{const _0x12d45b=_0xc6bf0a,_0x489a5d=this[_0x12d45b(0x202)][_0x12d45b(0x43d)]();return _0x489a5d?this[_0x12d45b(0x27d)]['getCollabEntity$'](_0x489a5d[_0x12d45b(0x43e)]()):_0x4d06f2['of'](null);}),_0x4d06f2[_0xc6bf0a(0x1df)](_0x2657e9=>_0x2657e9?_0x2657e9[_0xc6bf0a(0x1e3)]:_0x4d06f2['of'](_0x5bae0f[_0xc6bf0a(0x2f3)][_0xc6bf0a(0x347)])))[_0xc6bf0a(0x43a)](_0x2b8954=>{const _0x35e62d=_0xc6bf0a;this[_0x35e62d(0x1e5)][_0x35e62d(0x34f)](_0x2b8954);}));}[_0x4c88bb(0x3b1)](){const _0x23c2b8=_0x4c88bb;this[_0x23c2b8(0x21d)](this[_0x23c2b8(0x225)][_0x23c2b8(0x332)](_0x594396[_0x23c2b8(0x3fc)][_0x23c2b8(0x1ea)],()=>_0x594396[_0x23c2b8(0x3fa)](_0x527011({'status$':this[_0x23c2b8(0x1e5)][_0x23c2b8(0x1ee)]()}),this[_0x23c2b8(0x425)])));}},_0x5d87d7['DesktopCollaborationStatusDisplayController']=_0x47d5dc([_0x52d025(0x0,_0x12127f[_0x4c88bb(0x405)]),_0x52d025(0x1,_0x12127f['Inject'](_0x12127f['Injector'])),_0x52d025(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x256)])),_0x52d025(0x3,_0x594396['IUIPartsService'])],_0x5d87d7[_0x4c88bb(0x3b8)]);function _0x527011(_0x500f0c){const {status$:_0x8d2875}=_0x500f0c;return function(){const _0x59cf45=_0x4b8b;return _0x30ea62[_0x59cf45(0x276)](_0x2066b6,{'status$':_0x8d2875});};}var _0x44de90=Object[_0x4c88bb(0x272)],_0x3a6b18=(_0x437053,_0x337e28,_0x359eda,_0x173ccb)=>{const _0x34fc0a=_0x4c88bb;for(var _0x4acda5=_0x173ccb>0x1?void 0x0:_0x173ccb?_0x44de90(_0x337e28,_0x359eda):_0x337e28,_0x117cf6=_0x437053[_0x34fc0a(0x31e)]-0x1,_0x2d080d;_0x117cf6>=0x0;_0x117cf6--)(_0x2d080d=_0x437053[_0x117cf6])&&(_0x4acda5=_0x2d080d(_0x4acda5)||_0x4acda5);return _0x4acda5;},_0xa4e6bf=(_0x12623e,_0x3c25d8)=>(_0x335581,_0x4d8539)=>_0x3c25d8(_0x335581,_0x4d8539,_0x12623e);let _0x2900ce=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x47d468,_0x531d0a,_0x3d6aa6,_0x2ea400,_0x348fc8,_0x192145){const _0x22ae20=_0x4c88bb;super(),this[_0x22ae20(0x1e9)]=_0x47d468,this[_0x22ae20(0x22b)]=_0x531d0a,this['_collaborationUIEventService']=_0x3d6aa6,this[_0x22ae20(0x3e6)]=_0x2ea400,this[_0x22ae20(0x44e)]=_0x348fc8,this['_localeService']=_0x192145,this[_0x22ae20(0x31b)](),this[_0x22ae20(0x340)]();}[_0x4c88bb(0x31b)](){const _0x3f85ca=_0x4c88bb;this[_0x3f85ca(0x21d)](this[_0x3f85ca(0x1e9)]['registerBeforeClose'](()=>{const _0x18349d=_0x3f85ca;if(this[_0x18349d(0x22b)][_0x18349d(0x3f5)][_0x18349d(0x368)])return this['_localeService']['t'](_0x18349d(0x42a));}));}[_0x4c88bb(0x340)](){const _0x3e717c=_0x4c88bb;this[_0x3e717c(0x21d)](this['_collaborationUIEventService'][_0x3e717c(0x2cd)]['subscribe'](_0x2d727b=>{const _0x29fb55=_0x3e717c;_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7[_0x29fb55(0x2fc)][_0x29fb55(0x3cc)],'content':this[_0x29fb55(0x3ce)]['t']('collaboration.single-unit.warning')}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x29fb55(0x3e6)]['show']({'type':_0x4ecfe7[_0x29fb55(0x2fc)]['Warning'],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x1ff))}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x2a1)]&&this[_0x29fb55(0x44e)][_0x29fb55(0x24e)]({'title':this[_0x29fb55(0x3ce)]['t']('permission.title'),'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x23f)),'type':'error','duration':0x0}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId'][_0x29fb55(0x394)]&&this[_0x29fb55(0x3e6)]['show']({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x1ff))+'('+_0x2d727b['data']+')'}),_0x2d727b['id']===_0x5bae0f['CollaborationUIEventId'][_0x29fb55(0x2ee)]&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7['MessageType']['Warning'],'content':this[_0x29fb55(0x3ce)]['t'](_0x2d727b[_0x29fb55(0x3c6)]||'')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x336)]&&this[_0x29fb55(0x3e6)][_0x29fb55(0x24e)]({'type':_0x4ecfe7[_0x29fb55(0x2fc)][_0x29fb55(0x3cc)],'content':this['_localeService']['t']('session.will-retry')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x3a4)]&&this['_messageService']['show']({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t']('session.connection-failed')}),_0x2d727b['id']===_0x5bae0f[_0x29fb55(0x27e)][_0x29fb55(0x1fb)]&&this['_messageService'][_0x29fb55(0x24e)]({'type':_0x4ecfe7['MessageType'][_0x29fb55(0x326)],'content':this[_0x29fb55(0x3ce)]['t'](_0x29fb55(0x389))});}));}};_0x2900ce=_0x3a6b18([_0xa4e6bf(0x0,_0x594396[_0x4c88bb(0x41f)]),_0xa4e6bf(0x1,_0x5bae0f[_0x4c88bb(0x372)]),_0xa4e6bf(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f['CollaborationUIEventService'])),_0xa4e6bf(0x3,_0x594396['IMessageService']),_0xa4e6bf(0x4,_0x594396[_0x4c88bb(0x245)]),_0xa4e6bf(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['LocaleService']))],_0x2900ce);const _0x7bfec1=_0x4c88bb(0x212),_0x517146={},_0x3b075a=_0x12127f[_0x4c88bb(0x349)](_0x4c88bb(0x273));var _0x4280ca=Object[_0x4c88bb(0x272)],_0x461e8f=(_0x2ca7f9,_0x26f5c8,_0x36a6f2,_0x5b93b3)=>{const _0x33bb13=_0x4c88bb;for(var _0x54143e=_0x5b93b3>0x1?void 0x0:_0x5b93b3?_0x4280ca(_0x26f5c8,_0x36a6f2):_0x26f5c8,_0x4a519f=_0x2ca7f9[_0x33bb13(0x31e)]-0x1,_0x30a553;_0x4a519f>=0x0;_0x4a519f--)(_0x30a553=_0x2ca7f9[_0x4a519f])&&(_0x54143e=_0x30a553(_0x54143e)||_0x54143e);return _0x54143e;},_0x854260=(_0x268e11,_0x22d455)=>(_0x12dcfb,_0x261714)=>_0x22d455(_0x12dcfb,_0x261714,_0x268e11);_0x5d87d7[_0x4c88bb(0x3d0)]=class extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(_0x485f64,_0x5023fb,_0xc0ed96,_0x287e5e,_0x1c1a65){const _0x46d3d7=_0x4c88bb;super(),this[_0x46d3d7(0x31d)]=_0x485f64,this[_0x46d3d7(0x1f7)]=_0x5023fb,this[_0x46d3d7(0x204)]=_0xc0ed96,this[_0x46d3d7(0x218)]=_0x287e5e,_0x1c1a65?_0x1c1a65==null||_0x1c1a65[_0x46d3d7(0x3e8)]()[_0x46d3d7(0x266)](()=>this[_0x46d3d7(0x2a8)]()):(this[_0x46d3d7(0x1f7)][_0x46d3d7(0x242)](_0x46d3d7(0x350),_0x46d3d7(0x41e)),this[_0x46d3d7(0x2a8)]());}async[_0x4c88bb(0x2a8)](){const _0x38d546=_0x4c88bb,_0x185127=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x28e)),_0x3e74f8=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x3fe)),_0x4362f3=this['_urlService'][_0x38d546(0x3ab)](_0x38d546(0x3d4));if(!_0x185127||!_0x3e74f8){this['_logService'][_0x38d546(0x242)](_0x38d546(0x350),_0x38d546(0x314));return;}const _0x45e14d=await this['_dataLoaderService'][_0x38d546(0x361)](_0x185127,Number(_0x3e74f8),_0x4362f3);_0x45e14d&&_0x45e14d instanceof _0x12127f['Workbook']&&this[_0x38d546(0x3b0)](_0x45e14d);}async[_0x4c88bb(0x3b0)](_0x5e0afa){const _0x72fea1=_0x4c88bb;await this[_0x72fea1(0x435)](_0x5e0afa),_0x5e0afa[_0x72fea1(0x21c)][_0x72fea1(0x310)](_0x4d06f2['takeUntil'](this[_0x72fea1(0x1d1)]))[_0x72fea1(0x43a)](_0x1a78b5=>{_0x1a78b5&&this['_updateURLWithCurrentState'](_0x1a78b5);}),this[_0x72fea1(0x31d)][_0x72fea1(0x430)][_0x72fea1(0x310)](_0x4d06f2[_0x72fea1(0x3ba)](this['dispose$']))[_0x72fea1(0x43a)](()=>this['_updateSubUnitFromURLParams'](_0x5e0afa));}[_0x4c88bb(0x353)](_0x47b8a9,_0x1a9099=!0x1){const _0x27ccd1=_0x4c88bb,_0x2dd1df=this[_0x27ccd1(0x31d)]['getParam'](_0x27ccd1(0x3d4));_0x47b8a9['getSheetId']()!==_0x2dd1df&&this[_0x27ccd1(0x31d)][_0x27ccd1(0x295)](_0x27ccd1(0x3d4),_0x47b8a9['getSheetId'](),_0x1a9099);}async[_0x4c88bb(0x435)](_0x2375a6){const _0x537ff2=_0x4c88bb;var _0x2b9548;const _0x1ee786=this[_0x537ff2(0x31d)][_0x537ff2(0x3ab)](_0x537ff2(0x3d4));if(!_0x1ee786||!_0x2375a6[_0x537ff2(0x399)](_0x1ee786)){const _0x4bec97=_0x2375a6[_0x537ff2(0x30d)]()[0x0],_0x5ca05a=_0x2375a6[_0x537ff2(0x399)](_0x4bec97);if(!_0x5ca05a)return;this[_0x537ff2(0x353)](_0x5ca05a,!0x0),await this[_0x537ff2(0x204)]['executeCommand'](_0x347d9b['SetWorksheetActivateCommand']['id'],{'unitId':_0x2375a6[_0x537ff2(0x43e)](),'subUnitId':_0x4bec97});return;}((_0x2b9548=_0x2375a6[_0x537ff2(0x263)]())==null?void 0x0:_0x2b9548[_0x537ff2(0x3eb)]())!==_0x1ee786&&await this[_0x537ff2(0x204)]['executeCommand'](_0x347d9b[_0x537ff2(0x289)]['id'],{'unitId':_0x2375a6['getUnitId'](),'subUnitId':_0x1ee786});}},_0x5d87d7[_0x4c88bb(0x3d0)]=_0x461e8f([_0x854260(0x0,_0x3b075a),_0x854260(0x1,_0x12127f[_0x4c88bb(0x26a)]),_0x854260(0x2,_0x12127f['ICommandService']),_0x854260(0x3,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f[_0x4c88bb(0x29e)])),_0x854260(0x4,_0x12127f[_0x4c88bb(0x261)](_0x5ae2ec[_0x4c88bb(0x458)]))],_0x5d87d7[_0x4c88bb(0x3d0)]);var _0x39cc29=Object[_0x4c88bb(0x272)],_0x3e2c94=(_0x4ab5d5,_0x4a04df,_0x4458e3,_0x29ce94)=>{const _0x3ad8df=_0x4c88bb;for(var _0x4b64e3=_0x29ce94>0x1?void 0x0:_0x29ce94?_0x39cc29(_0x4a04df,_0x4458e3):_0x4a04df,_0x1f2f50=_0x4ab5d5[_0x3ad8df(0x31e)]-0x1,_0x40a0d4;_0x1f2f50>=0x0;_0x1f2f50--)(_0x40a0d4=_0x4ab5d5[_0x1f2f50])&&(_0x4b64e3=_0x40a0d4(_0x4b64e3)||_0x4b64e3);return _0x4b64e3;},_0x2e5e0b=(_0x27dedf,_0x244e92)=>(_0x1c2e8d,_0x4fff97)=>_0x244e92(_0x1c2e8d,_0x4fff97,_0x27dedf);let _0x190050=class{constructor(_0x1fad0b,_0x3e9d58,_0x2970ae){const _0x46af27=_0x4c88bb;this[_0x46af27(0x425)]=_0x1fad0b,this[_0x46af27(0x344)]=_0x3e9d58,this[_0x46af27(0x254)]=_0x2970ae;}[_0x4c88bb(0x3dd)](_0x27eadb){const _0x27ce96=_0x4c88bb;this[_0x27ce96(0x411)](_0x27eadb),this[_0x27ce96(0x3d1)](_0x27eadb);}['transformRemoteChangeset'](_0x13881e){const _0xfe193e=_0x4c88bb,{unitID:_0x597c7c}=_0x13881e,_0x4bbb22=this[_0xfe193e(0x254)][_0xfe193e(0x375)](_0x597c7c)[_0xfe193e(0x39c)](_0x464098[_0xfe193e(0x390)]),{redoCache:_0x1d50fb}=_0x4bbb22[_0xfe193e(0x2e1)]();if(_0x1d50fb[_0xfe193e(0x31e)]===0x0)return _0x13881e;let _0x48b604=_0x12127f[_0xfe193e(0x36c)][_0xfe193e(0x226)](_0x13881e[_0xfe193e(0x393)][0x0]);for(let _0x5765e0=0x0;_0x5765e0<_0x1d50fb[_0xfe193e(0x31e)];_0x5765e0++){const _0x323fe6={'id':'doc.mutation.rich-text-editing','params':{..._0x1d50fb[_0x5765e0]}},_0x109d22=this['_transformService'][_0xfe193e(0x294)](_0x48b604,_0x323fe6,!0x1);if(_0x50b9f9[_0xfe193e(0x440)](_0x109d22))throw _0x109d22['error'];_0x48b604=_0x109d22[_0xfe193e(0x25d)];}return{..._0x12127f[_0xfe193e(0x36c)][_0xfe193e(0x226)](_0x13881e),'mutations':[_0x48b604]};}['_transformUndoRedoStack'](_0x4f844d){const _0x2eaec3=_0x4c88bb,{unitID:_0x467199}=_0x4f844d,_0x2b92af=this[_0x2eaec3(0x254)]['getRenderById'](_0x467199)['with'](_0x464098[_0x2eaec3(0x390)]),{undoCache:_0x168331,redoCache:_0x34d560}=_0x2b92af[_0x2eaec3(0x2e1)]();if(_0x168331[_0x2eaec3(0x31e)]===0x0||_0x34d560[_0x2eaec3(0x31e)]===0x0)return;const _0x2111b5=[],_0x459f38=[];let _0x4f59b4=_0x12127f[_0x2eaec3(0x36c)][_0x2eaec3(0x226)](_0x4f844d[_0x2eaec3(0x393)][0x0]),_0x4c536c=_0x12127f[_0x2eaec3(0x36c)][_0x2eaec3(0x226)](_0x4f844d[_0x2eaec3(0x393)][0x0]);for(let _0x13782b=_0x168331[_0x2eaec3(0x31e)]-0x1;_0x13782b>=0x0;_0x13782b--){const _0x37124e={'id':_0x2eaec3(0x2bb),'params':{..._0x168331[_0x13782b]}},_0x87bb52={'id':_0x2eaec3(0x2bb),'params':{..._0x34d560[_0x13782b]}},_0xd910a4=this[_0x2eaec3(0x344)][_0x2eaec3(0x294)](_0x4f59b4,_0x37124e,!0x1),_0x1c3a62=this[_0x2eaec3(0x344)]['transformMutation'](_0x4c536c,_0x87bb52,!0x1);if(_0x50b9f9[_0x2eaec3(0x440)](_0xd910a4))throw _0xd910a4[_0x2eaec3(0x35c)];if(_0x50b9f9['isTransformMutationFailure'](_0x1c3a62))throw _0x1c3a62['error'];_0x2111b5['unshift'](_0xd910a4[_0x2eaec3(0x38c)]['params']),_0x459f38['unshift'](_0x1c3a62[_0x2eaec3(0x38c)][_0x2eaec3(0x442)]),_0x4f59b4=_0xd910a4[_0x2eaec3(0x25d)],_0x4c536c=_0x1c3a62[_0x2eaec3(0x25d)];}_0x2b92af[_0x2eaec3(0x2ad)]({'undoCache':_0x2111b5,'redoCache':_0x459f38});}[_0x4c88bb(0x3d1)](_0x5a192c){const _0x5db856=_0x4c88bb,{unitID:_0xbfdc74}=_0x5a192c,_0x1e17f3=this['_renderManagerService']['getRenderById'](_0xbfdc74)[_0x5db856(0x39c)](_0x464098['DocIMEInputManagerService']),_0x5e529e=_0x1e17f3[_0x5db856(0x38d)]();if(_0x5e529e==null)return;const _0x59803d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a192c[_0x5db856(0x358)],'actions':null,'textRanges':[_0x5e529e]}}],_0x26206c=this['_transformService'][_0x5db856(0x3be)](_0x5a192c,_0x59803d);if(!_0x50b9f9[_0x5db856(0x2d6)](_0x26206c))throw _0x26206c[_0x5db856(0x35c)];const _0x1d67ce=_0x26206c['m2Prime'][0x0]['params']['textRanges'];Array[_0x5db856(0x2ed)](_0x1d67ce)&&_0x1d67ce['length']&&_0x1e17f3[_0x5db856(0x446)](_0x1d67ce[0x0]);}};_0x190050=_0x3e2c94([_0x2e5e0b(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x2e5e0b(0x1,_0x50b9f9[_0x4c88bb(0x337)]),_0x2e5e0b(0x2,_0xcd886d['IRenderManagerService'])],_0x190050);var _0x1a1ae4=Object[_0x4c88bb(0x272)],_0x2d12bc=(_0x2681e2,_0xecba01,_0x352a89,_0x379d09)=>{const _0x33c18c=_0x4c88bb;for(var _0x53e825=_0x379d09>0x1?void 0x0:_0x379d09?_0x1a1ae4(_0xecba01,_0x352a89):_0xecba01,_0x222c00=_0x2681e2[_0x33c18c(0x31e)]-0x1,_0x133ce6;_0x222c00>=0x0;_0x222c00--)(_0x133ce6=_0x2681e2[_0x222c00])&&(_0x53e825=_0x133ce6(_0x53e825)||_0x53e825);return _0x53e825;},_0x2fe4d3=(_0x365722,_0x32c96d)=>(_0x46a07b,_0xa7eca1)=>_0x32c96d(_0x46a07b,_0xa7eca1,_0x365722);let _0x53c97f=class{constructor(_0x43223b,_0x4b5f04,_0x5e6cc2){const _0x2dce6c=_0x4c88bb;this[_0x2dce6c(0x425)]=_0x43223b,this['_transformService']=_0x4b5f04,this['_docStateChangeManagerService']=_0x5e6cc2;}[_0x4c88bb(0x270)](_0x241e54){this['_transformHistoryAndStateStack'](_0x241e54);}['transformRemoteChangeset'](_0x32467f){const _0x5a6b43=_0x4c88bb,{unitID:_0x515d0b}=_0x32467f,{collaboration:_0x587ca3}=this[_0x5a6b43(0x369)][_0x5a6b43(0x3ee)](_0x515d0b);if(_0x587ca3[_0x5a6b43(0x31e)]===0x0)return _0x32467f;let _0x2f376e=_0x12127f[_0x5a6b43(0x36c)]['deepClone'](_0x32467f['mutations'][0x0]);for(let _0x3c1d9=0x0;_0x3c1d9<_0x587ca3['length'];_0x3c1d9++){const _0x13fa28={'id':_0x5a6b43(0x2bb),'params':{'unitId':_0x587ca3[_0x3c1d9]['unitId'],..._0x587ca3[_0x3c1d9]['redoState']}},_0x65b184=this[_0x5a6b43(0x344)][_0x5a6b43(0x294)](_0x2f376e,_0x13fa28,!0x1);if(_0x50b9f9[_0x5a6b43(0x440)](_0x65b184))throw _0x65b184[_0x5a6b43(0x35c)];_0x2f376e=_0x65b184[_0x5a6b43(0x25d)];}return{..._0x12127f[_0x5a6b43(0x36c)][_0x5a6b43(0x226)](_0x32467f),'mutations':[_0x2f376e]};}[_0x4c88bb(0x292)](_0x2b62c3){const _0x20ad9b=_0x4c88bb,{unitID:_0x2cb342}=_0x2b62c3,{history:_0x2ca8a6,collaboration:_0x183052}=this[_0x20ad9b(0x369)]['getStateCache'](_0x2cb342);if(_0x2ca8a6[_0x20ad9b(0x31e)]===0x0&&_0x183052['length']===0x0)return;const _0x50d697=[],_0x58b8b3=[];let _0x323562=_0x12127f[_0x20ad9b(0x36c)]['deepClone'](_0x2b62c3[_0x20ad9b(0x393)][0x0]),_0x2ca100=_0x12127f[_0x20ad9b(0x36c)][_0x20ad9b(0x226)](_0x2b62c3['mutations'][0x0]);for(let _0x52c86f=_0x2ca8a6[_0x20ad9b(0x31e)]-0x1;_0x52c86f>=0x0;_0x52c86f--){const _0x391919={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x2ca8a6[_0x52c86f]['unitId'],..._0x2ca8a6[_0x52c86f]['undoState']}},_0x355be2={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x2ca8a6[_0x52c86f][_0x20ad9b(0x2c0)],..._0x2ca8a6[_0x52c86f][_0x20ad9b(0x3d5)]}},_0x2f72ef=this[_0x20ad9b(0x344)]['transformMutation'](_0x323562,_0x391919,!0x1),_0x56595e=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x2ca100,_0x355be2,!0x1);if(_0x50b9f9[_0x20ad9b(0x440)](_0x2f72ef))throw _0x2f72ef[_0x20ad9b(0x35c)];if(_0x50b9f9[_0x20ad9b(0x440)](_0x56595e))throw _0x56595e['error'];_0x50d697[_0x20ad9b(0x3e0)]({..._0x2ca8a6[_0x52c86f],'undoState':_0x2f72ef[_0x20ad9b(0x38c)][_0x20ad9b(0x442)],'redoState':_0x56595e[_0x20ad9b(0x38c)]['params']}),_0x323562=_0x2f72ef[_0x20ad9b(0x25d)],_0x2ca100=_0x56595e[_0x20ad9b(0x25d)];}_0x323562=_0x12127f[_0x20ad9b(0x36c)]['deepClone'](_0x2b62c3['mutations'][0x0]),_0x2ca100=_0x12127f['Tools'][_0x20ad9b(0x226)](_0x2b62c3[_0x20ad9b(0x393)][0x0]);for(let _0x5e8ab8=_0x183052[_0x20ad9b(0x31e)]-0x1;_0x5e8ab8>=0x0;_0x5e8ab8--){const _0x80ade5={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x183052[_0x5e8ab8]['unitId'],..._0x183052[_0x5e8ab8][_0x20ad9b(0x24f)]}},_0x4abba8={'id':_0x20ad9b(0x2bb),'params':{'unitId':_0x183052[_0x5e8ab8][_0x20ad9b(0x2c0)],..._0x183052[_0x5e8ab8]['redoState']}},_0x298b3a=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x323562,_0x80ade5,!0x1),_0x146d44=this[_0x20ad9b(0x344)][_0x20ad9b(0x294)](_0x2ca100,_0x4abba8,!0x1);if(_0x50b9f9['isTransformMutationFailure'](_0x298b3a))throw _0x298b3a[_0x20ad9b(0x35c)];if(_0x50b9f9[_0x20ad9b(0x440)](_0x146d44))throw _0x146d44[_0x20ad9b(0x35c)];_0x58b8b3[_0x20ad9b(0x3e0)]({..._0x183052[_0x5e8ab8],'undoState':_0x298b3a[_0x20ad9b(0x38c)][_0x20ad9b(0x442)],'redoState':_0x146d44[_0x20ad9b(0x38c)][_0x20ad9b(0x442)]}),_0x323562=_0x298b3a[_0x20ad9b(0x25d)],_0x2ca100=_0x146d44[_0x20ad9b(0x25d)];}this[_0x20ad9b(0x369)]['setStateCache'](_0x2cb342,{'history':_0x50d697,'collaboration':_0x58b8b3});}};_0x53c97f=_0x2d12bc([_0x2fe4d3(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x2fe4d3(0x1,_0x50b9f9['ITransformService']),_0x2fe4d3(0x2,_0x12127f['Inject'](_0x464098[_0x4c88bb(0x1dc)]))],_0x53c97f);var _0x56314a=Object[_0x4c88bb(0x272)],_0x271e55=(_0x3c64bd,_0x5b26ea,_0x360884,_0x4e6ff3)=>{const _0x401eb9=_0x4c88bb;for(var _0x13699d=_0x4e6ff3>0x1?void 0x0:_0x4e6ff3?_0x56314a(_0x5b26ea,_0x360884):_0x5b26ea,_0x2ae69f=_0x3c64bd[_0x401eb9(0x31e)]-0x1,_0x1ca93d;_0x2ae69f>=0x0;_0x2ae69f--)(_0x1ca93d=_0x3c64bd[_0x2ae69f])&&(_0x13699d=_0x1ca93d(_0x13699d)||_0x13699d);return _0x13699d;},_0x26c40f=(_0x185977,_0x5a8ec6)=>(_0x1132c9,_0x5aea58)=>_0x5a8ec6(_0x1132c9,_0x5aea58,_0x185977);let _0x5f47e3=class{constructor(_0x2f9bad,_0x40bad5){const _0x1ca99f=_0x4c88bb;this['_injector']=_0x2f9bad,this[_0x1ca99f(0x344)]=_0x40bad5;}[_0x4c88bb(0x334)](_0x445190){const _0x444b74=_0x4c88bb;var _0x4084fd;const _0x228f2d=this['_injector']['get'](_0x514f6b[_0x444b74(0x21a)]),_0x586641=(_0x4084fd=_0x228f2d[_0x444b74(0x322)]())!=null?_0x4084fd:[];if(_0x586641[_0x444b74(0x31e)]===0x0)return;const _0x4feceb=_0x445190[_0x444b74(0x358)],_0x1c8912=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4feceb,'actions':null,'textRanges':_0x586641}}],_0x55f4e0=this[_0x444b74(0x344)][_0x444b74(0x3be)](_0x445190,_0x1c8912);if(!_0x50b9f9[_0x444b74(0x2d6)](_0x55f4e0))throw _0x55f4e0[_0x444b74(0x35c)];const _0x55ab1c=_0x55f4e0[_0x444b74(0x38c)][0x0][_0x444b74(0x442)]['textRanges'];Array[_0x444b74(0x2ed)](_0x55ab1c)&&_0x55ab1c[_0x444b74(0x31e)]&&_0x228f2d[_0x444b74(0x42b)](_0x55ab1c,{'unitId':_0x4feceb,'subUnitId':_0x4feceb},!0x1);}};_0x5f47e3=_0x271e55([_0x26c40f(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x26c40f(0x1,_0x50b9f9[_0x4c88bb(0x337)])],_0x5f47e3);var _0x3b75fc=Object[_0x4c88bb(0x272)],_0x1b97bd=(_0x41c4ba,_0x2dd757,_0x220d5c,_0x5a2985)=>{for(var _0x52af4f=_0x5a2985>0x1?void 0x0:_0x5a2985?_0x3b75fc(_0x2dd757,_0x220d5c):_0x2dd757,_0x2c6f96=_0x41c4ba['length']-0x1,_0x5ba29c;_0x2c6f96>=0x0;_0x2c6f96--)(_0x5ba29c=_0x41c4ba[_0x2c6f96])&&(_0x52af4f=_0x5ba29c(_0x52af4f)||_0x52af4f);return _0x52af4f;},_0x345756=(_0x14020f,_0x432416)=>(_0x21edc1,_0x5c3d48)=>_0x432416(_0x21edc1,_0x5c3d48,_0x14020f);let _0x1b1efa=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x489284,_0x1c8b0d,_0x83ab7e,_0x5f1ef6,_0x3ceee4,_0x7804c1,_0x39eb50,_0x1328b8){const _0x6a7f0=_0x4c88bb;super(),_0x259cdc(this,_0x6a7f0(0x1e5),new _0x4d06f2[(_0x6a7f0(0x31f))](_0x5bae0f[_0x6a7f0(0x2f3)][_0x6a7f0(0x347)])),(this['_docStateChangeManagerService']=_0x489284,this['_collaborationController']=_0x1c8b0d,this['_docTransformIMECacheService']=_0x83ab7e,this[_0x6a7f0(0x309)]=_0x5f1ef6,this[_0x6a7f0(0x215)]=_0x3ceee4,this[_0x6a7f0(0x2ab)]=_0x7804c1,this['_messageService']=_0x39eb50,this['_localeService']=_0x1328b8,this[_0x6a7f0(0x293)]());}[_0x4c88bb(0x293)](){const _0x41f64c=_0x4c88bb;this['disposeWithMe'](this[_0x41f64c(0x27d)][_0x41f64c(0x274)]['subscribe'](_0x45b859=>{const _0x484a0f=_0x41f64c,_0x134e43=this[_0x484a0f(0x369)][_0x484a0f(0x23d)][_0x484a0f(0x43a)](_0x18755e=>{const _0x53b4e9=_0x484a0f;if(_0x18755e==null)return;const {unitId:_0x42a36b,redoState:_0x43d68c,commandId:_0x57291e}=_0x18755e;if(_0x42a36b!==_0x45b859[_0x53b4e9(0x358)])return;const _0x47ffb3={'id':_0x57291e,'type':_0x12127f['CommandType'][_0x53b4e9(0x387)],'params':{'unitId':_0x42a36b,'actions':_0x43d68c['actions'],'textRanges':null}};_0x45b859[_0x53b4e9(0x325)](_0x47ffb3);});if(_0x45b859[_0x484a0f(0x21d)](_0x134e43),_0x45b859 instanceof _0x5bae0f['DocCollaborationEntity']){const _0x42507e={'onTransformIME':_0x1ddaea=>this[_0x484a0f(0x271)]['transformIMECache'](_0x1ddaea),'onTransformState':_0x53c51b=>this[_0x484a0f(0x309)][_0x484a0f(0x270)](_0x53c51b),'onTransformSelections':_0x394527=>this[_0x484a0f(0x215)]['transformSelections'](_0x394527),'onSyncEditingCollabCursor':_0x2b9909=>this['_docSyncEditingCollabCursorService'][_0x484a0f(0x383)](_0x2b9909),'onTransformRemoteChangesetByIMECache':_0x52779e=>this['_docTransformIMECacheService'][_0x484a0f(0x2d4)](_0x52779e),'onTransformRemoteChangesetByStateCache':_0x4f4f61=>this[_0x484a0f(0x309)][_0x484a0f(0x2d4)](_0x4f4f61)};_0x45b859['addHandlerCallback'](_0x42507e);}}));}};_0x1b1efa=_0x1b97bd([_0x345756(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x464098[_0x4c88bb(0x1dc)])),_0x345756(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x5bae0f['CollaborationController'])),_0x345756(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x190050)),_0x345756(0x3,_0x12127f['Inject'](_0x53c97f)),_0x345756(0x4,_0x12127f[_0x4c88bb(0x35a)](_0x5f47e3)),_0x345756(0x5,_0x12127f[_0x4c88bb(0x35a)](_0x34804b)),_0x345756(0x6,_0x594396['IMessageService']),_0x345756(0x7,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x24c)]))],_0x1b1efa);var _0x1d3cce=Object[_0x4c88bb(0x272)],_0x1a536c=(_0x2bf0e0,_0x2fb5a9,_0x50fb74,_0x2cfa3c)=>{for(var _0x50828e=_0x2cfa3c>0x1?void 0x0:_0x2cfa3c?_0x1d3cce(_0x2fb5a9,_0x50fb74):_0x2fb5a9,_0x305085=_0x2bf0e0['length']-0x1,_0xcabbb0;_0x305085>=0x0;_0x305085--)(_0xcabbb0=_0x2bf0e0[_0x305085])&&(_0x50828e=_0xcabbb0(_0x50828e)||_0x50828e);return _0x50828e;},_0x218f6d=(_0x493a3c,_0x51b2ed)=>(_0xf94784,_0x4fe0a2)=>_0x51b2ed(_0xf94784,_0x4fe0a2,_0x493a3c);let _0x26d5e0=class extends _0x12127f['Disposable']{constructor(_0x68ae24,_0x186b66,_0x183ba5){const _0x486585=_0x4c88bb;super(),_0x259cdc(this,_0x486585(0x2ea),new Map()),_0x259cdc(this,'_saveTaskMap',new Map()),_0x259cdc(this,'_disabled',!0x1),(this[_0x486585(0x268)]=_0x68ae24,this[_0x486585(0x259)]=_0x186b66,this[_0x486585(0x207)]=_0x183ba5);}[_0x4c88bb(0x40a)](){this['_disabled']=!0x0;}[_0x4c88bb(0x338)](){const _0x3d9371=_0x4c88bb;this[_0x3d9371(0x238)]=!0x1;}get['saveTaskMap'](){const _0x2c12e6=_0x4c88bb;return this[_0x2c12e6(0x25a)];}[_0x4c88bb(0x346)](){const _0x263ad8=_0x4c88bb;this[_0x263ad8(0x306)]()['then'](()=>super[_0x263ad8(0x346)]());}async[_0x4c88bb(0x3dc)](_0x874ba2){const _0x1e15fb=_0x4c88bb;return this[_0x1e15fb(0x238)]?null:this[_0x1e15fb(0x259)]['getItem'](_0x5bae0f[_0x1e15fb(0x3e5)](_0x874ba2));}async[_0x4c88bb(0x3ca)](_0x11f7e0,_0x2cfc99){const _0x3e866c=_0x4c88bb;return!!this[_0x3e866c(0x259)]['setItem'](_0x11f7e0,_0x2cfc99);}[_0x4c88bb(0x37c)](_0x115676,_0x288a17,_0x41313a,_0x49845b){const _0x447da8=_0x4c88bb,_0x445e0f=this[_0x447da8(0x207)][_0x447da8(0x397)](_0x115676);this['_cachedData'][_0x447da8(0x1d8)](_0x115676,{'unitID':_0x115676,'type':_0x288a17,'awaitingChangeset':_0x41313a,'mutations':_0x49845b,'rev':_0x445e0f}),this[_0x447da8(0x25a)]['has'](_0x115676)||this[_0x447da8(0x1e8)](_0x115676);}[_0x4c88bb(0x1e8)](_0x2935ac){const _0x5e5c8c=_0x4c88bb,_0x507d4d=this[_0x5e5c8c(0x1e7)]();_0x507d4d===0x0?this[_0x5e5c8c(0x427)](_0x2935ac):this['_saveTaskMap'][_0x5e5c8c(0x1d8)](_0x2935ac,setTimeout(()=>this[_0x5e5c8c(0x427)](_0x2935ac),_0x507d4d));}[_0x4c88bb(0x1e7)](){const _0x447881=_0x4c88bb;var _0x4b48a1;return(_0x4b48a1=this['_configService'][_0x447881(0x312)](_0x5bae0f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b48a1:_0x5bae0f['LOCAL_CACHE_INTERVAL'];}[_0x4c88bb(0x427)](_0x1f4f5b){const _0x4dcb16=_0x4c88bb,_0x3d3768=this[_0x4dcb16(0x25a)]['get'](_0x1f4f5b);return _0x3d3768!==void 0x0&&window[_0x4dcb16(0x305)](_0x3d3768),this['_localStorageService'][_0x4dcb16(0x255)](_0x5bae0f[_0x4dcb16(0x3e5)](_0x1f4f5b),this['_cachedData']['get'](_0x1f4f5b))['then'](()=>this[_0x4dcb16(0x25a)][_0x4dcb16(0x3f7)](_0x1f4f5b));}async['exhaustSavingTask'](){const _0x572567=_0x4c88bb,_0x378074=[];this[_0x572567(0x25a)]['forEach']((_0x710696,_0x16c3e7)=>{const _0x2ed61f=_0x572567;window[_0x2ed61f(0x305)](_0x710696),_0x378074[_0x2ed61f(0x1d7)](this[_0x2ed61f(0x427)](_0x16c3e7)[_0x2ed61f(0x266)](()=>{this['_saveTaskMap']['delete'](_0x16c3e7);}));}),await Promise[_0x572567(0x351)](_0x378074);}};_0x26d5e0=_0x1a536c([_0x218f6d(0x0,_0x12127f['IConfigService']),_0x218f6d(0x1,_0x12127f[_0x4c88bb(0x409)]),_0x218f6d(0x2,_0x12127f['Inject'](_0x50b9f9[_0x4c88bb(0x2f4)]))],_0x26d5e0);class _0xa638e5 extends _0x12127f[_0x4c88bb(0x3d8)]{constructor(){const _0x4ce724=_0x4c88bb;super(),_0x259cdc(this,_0x4ce724(0x430)),this[_0x4ce724(0x430)]=_0x4d06f2['fromEvent'](window,_0x4ce724(0x253))[_0x4ce724(0x310)](_0x4d06f2[_0x4ce724(0x3ba)](this[_0x4ce724(0x1d1)]),_0x4d06f2[_0x4ce724(0x3da)](0x1),_0x4d06f2[_0x4ce724(0x2df)](void 0x0));}['setParam'](_0x8c22bf,_0x21124a,_0x3b8e86=!0x1){const _0x586db4=_0x4c88bb,_0x40355b=new URL(window[_0x586db4(0x1e2)][_0x586db4(0x3b7)]);_0x40355b[_0x586db4(0x42c)]['set'](_0x8c22bf,_0x21124a),_0x3b8e86?window[_0x586db4(0x3a5)][_0x586db4(0x3bc)]('','',_0x40355b[_0x586db4(0x23a)]()):window[_0x586db4(0x3a5)][_0x586db4(0x2d7)]('','',_0x40355b[_0x586db4(0x23a)]());}[_0x4c88bb(0x29f)](_0x57c3b8,_0x4d1a0b=!0x1){const _0x1a7d24=_0x4c88bb,_0x3fc803=new URL(window[_0x1a7d24(0x1e2)][_0x1a7d24(0x3b7)]);_0x3fc803[_0x1a7d24(0x42c)][_0x1a7d24(0x3f7)](_0x57c3b8),_0x4d1a0b?window[_0x1a7d24(0x3a5)][_0x1a7d24(0x3bc)]('','',_0x3fc803[_0x1a7d24(0x23a)]()):window[_0x1a7d24(0x3a5)][_0x1a7d24(0x2d7)]('','',_0x3fc803['toString']());}[_0x4c88bb(0x3ab)](_0x70327f){const _0xef5d49=_0x4c88bb;var _0x31d8c4;return(_0x31d8c4=new URL(window[_0xef5d49(0x1e2)][_0xef5d49(0x3b7)])[_0xef5d49(0x42c)]['get'](_0x70327f))!=null?_0x31d8c4:void 0x0;}}var _0x1f910e=Object[_0x4c88bb(0x35b)],_0x140d13=Object[_0x4c88bb(0x272)],_0x39cda2=(_0x20d4dd,_0x2046a3,_0x32e449)=>_0x2046a3 in _0x20d4dd?_0x1f910e(_0x20d4dd,_0x2046a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e449}):_0x20d4dd[_0x2046a3]=_0x32e449,_0xd01e1c=(_0x5ece2d,_0x3fed70,_0x4dcaca,_0x561f23)=>{const _0x415105=_0x4c88bb;for(var _0x295ea6=_0x561f23>0x1?void 0x0:_0x561f23?_0x140d13(_0x3fed70,_0x4dcaca):_0x3fed70,_0x7721aa=_0x5ece2d[_0x415105(0x31e)]-0x1,_0x2b5a7f;_0x7721aa>=0x0;_0x7721aa--)(_0x2b5a7f=_0x5ece2d[_0x7721aa])&&(_0x295ea6=_0x2b5a7f(_0x295ea6)||_0x295ea6);return _0x295ea6;},_0x456a8c=(_0x29c63f,_0x3ec61b)=>(_0x4b6ac8,_0x57661f)=>_0x3ec61b(_0x4b6ac8,_0x57661f,_0x29c63f),_0x4cc290=(_0x5b4aab,_0x238368,_0x359632)=>_0x39cda2(_0x5b4aab,_0x238368+'',_0x359632);const _0x59b90a=_0x4c88bb(0x21e);_0x5d87d7[_0x4c88bb(0x3b2)]=class extends _0x12127f[_0x4c88bb(0x2b1)]{constructor(_0x1cbb64=_0x517146,_0x4f0832,_0x4488d2,_0x457b08){const _0x343e96=_0x4c88bb;super(),this[_0x343e96(0x3b3)]=_0x1cbb64,this[_0x343e96(0x254)]=_0x4f0832,this[_0x343e96(0x425)]=_0x4488d2,this[_0x343e96(0x268)]=_0x457b08;const {..._0x5c07f2}=_0x12127f[_0x343e96(0x38e)]({},_0x517146,this['_config']);this[_0x343e96(0x268)]['setConfig'](_0x7bfec1,_0x5c07f2);}[_0x4c88bb(0x251)](){const _0x3c3ac4=_0x4c88bb;this[_0x3c3ac4(0x219)](),this['_initDependencies']();}['onRendered'](){const _0x468324=_0x4c88bb;this[_0x468324(0x1cb)]();}[_0x4c88bb(0x219)](){const _0x557a46=_0x4c88bb;var _0x164674;const _0x3dc750=[[_0x3a2e1e],[_0x5f47e3],[_0x190050],[_0x53c97f],[_0x34804b],[_0x3b075a,{'useClass':_0xa638e5}],[_0x12d4d8[_0x557a46(0x43b)],{'useClass':_0x12d4d8['WebSocketService']}],[_0x5bae0f[_0x557a46(0x372)],{'useClass':_0x26d5e0}],[_0x5d87d7[_0x557a46(0x3b8)]],[_0x1b1efa],[_0x2900ce],[_0x3fa8d8],[_0xd2e3e3],[_0x5d87d7[_0x557a46(0x3d0)]]];_0x12127f[_0x557a46(0x3f3)](this[_0x557a46(0x425)],_0x12127f[_0x557a46(0x2d2)](_0x3dc750,(_0x164674=this[_0x557a46(0x3b3)])==null?void 0x0:_0x164674[_0x557a46(0x1f3)]));}['_registerRenderDependencies'](){const _0x3e6118=_0x4c88bb;this[_0x3e6118(0x21d)](this[_0x3e6118(0x254)][_0x3e6118(0x28d)](_0x12127f[_0x3e6118(0x24d)]['UNIVER_DOC'],[_0x92636b])),this['disposeWithMe'](this[_0x3e6118(0x254)][_0x3e6118(0x28d)](_0x12127f[_0x3e6118(0x24d)][_0x3e6118(0x423)],[_0x1e07d9]));}[_0x4c88bb(0x235)](){const _0x50528f=_0x4c88bb;_0x12127f[_0x50528f(0x3c5)](this[_0x50528f(0x425)],[[_0x3fa8d8],[_0x5d87d7[_0x50528f(0x3b8)]],[_0x1b1efa],[_0x2900ce],[_0x5d87d7[_0x50528f(0x3d0)]]]);}},_0x4cc290(_0x5d87d7[_0x4c88bb(0x3b2)],'pluginName',_0x59b90a),_0x5d87d7[_0x4c88bb(0x3b2)]=_0xd01e1c([_0x12127f[_0x4c88bb(0x3c9)](_0x5bae0f[_0x4c88bb(0x2e8)]),_0x456a8c(0x1,_0xcd886d[_0x4c88bb(0x3c8)]),_0x456a8c(0x2,_0x12127f[_0x4c88bb(0x35a)](_0x12127f['Injector'])),_0x456a8c(0x3,_0x12127f[_0x4c88bb(0x377)])],_0x5d87d7['UniverCollaborationClientUIPlugin']);var _0x6e7f47=Object[_0x4c88bb(0x272)],_0x30ec23=(_0x1fcc44,_0x486c88,_0x2f00c7,_0x5d06ae)=>{const _0x33f65f=_0x4c88bb;for(var _0x1e8b8a=_0x5d06ae>0x1?void 0x0:_0x5d06ae?_0x6e7f47(_0x486c88,_0x2f00c7):_0x486c88,_0x428690=_0x1fcc44[_0x33f65f(0x31e)]-0x1,_0x406524;_0x428690>=0x0;_0x428690--)(_0x406524=_0x1fcc44[_0x428690])&&(_0x1e8b8a=_0x406524(_0x1e8b8a)||_0x1e8b8a);return _0x1e8b8a;},_0x5bb299=(_0x1c0929,_0x434d2e)=>(_0x36de0c,_0x51c315)=>_0x434d2e(_0x36de0c,_0x51c315,_0x1c0929);_0x5d87d7['BrowserCollaborationSocketService']=class extends _0x5bae0f['CollaborationSocketService']{constructor(_0x38576d,_0x1d7a5d,_0x5bf95f,_0x1f9e31,_0x14e58d){super(_0x38576d,_0x1d7a5d,_0x5bf95f,_0x1f9e31,_0x14e58d);}async[_0x4c88bb(0x2f7)](_0x4f46e8){const _0x4fa595=_0x4c88bb,_0x261623=await this[_0x4fa595(0x3d7)](),_0x3f0f1b=this[_0x4fa595(0x378)](_0x4f46e8,_0x261623);return this[_0x4fa595(0x304)](_0x3f0f1b);}[_0x4c88bb(0x378)](_0x2f094e,_0x2c1554){const _0x518798=_0x4c88bb,_0x79d127=typeof window>'u'?new URL(_0x2f094e):new URL(_0x2f094e,window[_0x518798(0x1e2)][_0x518798(0x37e)]);_0x79d127[_0x518798(0x42c)][_0x518798(0x1d8)](_0x518798(0x40e),_0x2c1554);const _0xdc719e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x518798(0x1e2)][_0x518798(0x3ed)]);return _0xdc719e['get']('runId')&&_0x79d127[_0x518798(0x42c)][_0x518798(0x1d8)](_0x518798(0x287),_0xdc719e[_0x518798(0x26d)](_0x518798(0x287))),_0x79d127[_0x518798(0x23a)]();}async[_0x4c88bb(0x3d7)](){const _0x3d7556=_0x4c88bb;var _0x1d2314,_0x1da975,_0x25e73d;const _0x5a6965=this['_configService'][_0x3d7556(0x312)](_0x5bae0f[_0x3d7556(0x2eb)]),_0x595ea6=(_0x1d2314=_0x5a6965==null?void 0x0:_0x5a6965[_0x3d7556(0x41c)])!=null?_0x1d2314:_0x5bae0f[_0x3d7556(0x1cf)];return(_0x25e73d=(_0x1da975=(await this[_0x3d7556(0x285)][_0x3d7556(0x26d)](_0x595ea6,{'headers':{'Content-Type':_0x3d7556(0x27b)}}))[_0x3d7556(0x2f9)])==null?void 0x0:_0x1da975['ticket'])!=null?_0x25e73d:'';}},_0x5d87d7[_0x4c88bb(0x324)]=_0x30ec23([_0x5bb299(0x0,_0x12127f[_0x4c88bb(0x35a)](_0x12127f[_0x4c88bb(0x1c8)])),_0x5bb299(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12d4d8[_0x4c88bb(0x30c)])),_0x5bb299(0x2,_0x12127f[_0x4c88bb(0x377)]),_0x5bb299(0x3,_0x12127f['ILogService']),_0x5bb299(0x4,_0x50b9f9['ISnapshotServerService'])],_0x5d87d7[_0x4c88bb(0x324)]);const _0x54fc17=0x7530,_0x2a2257='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1e3599 extends _0x12127f[_0x4c88bb(0x39a)]{constructor(){const _0x5ca46f=_0x4c88bb;super(),_0x259cdc(this,'_id',_0x12127f[_0x5ca46f(0x2b6)]()),_0x259cdc(this,_0x5ca46f(0x386),new Set()),_0x259cdc(this,_0x5ca46f(0x37f),new Map()),_0x259cdc(this,_0x5ca46f(0x356),null),_0x259cdc(this,_0x5ca46f(0x33f),new Map()),_0x259cdc(this,_0x5ca46f(0x354),new Map()),this[_0x5ca46f(0x2a8)]();}['dispose'](){const _0x125bea=_0x4c88bb;super[_0x125bea(0x346)](),this[_0x125bea(0x33f)][_0x125bea(0x27f)]((_0x3ee641,_0x470dce)=>this[_0x125bea(0x22e)](_0x470dce)),this[_0x125bea(0x356)]&&window[_0x125bea(0x359)](this[_0x125bea(0x356)]);}[_0x4c88bb(0x1d2)](_0x2ea512){const _0x40b0fd=_0x4c88bb;return this[_0x40b0fd(0x420)](_0x2ea512)[_0x40b0fd(0x310)](_0x4d06f2[_0x40b0fd(0x41b)]());}[_0x4c88bb(0x3f9)](_0x32fd81){const _0x4dac92=_0x4c88bb;this[_0x4dac92(0x386)][_0x4dac92(0x368)]===0x0&&this[_0x4dac92(0x29a)](),this[_0x4dac92(0x386)][_0x4dac92(0x419)](_0x32fd81),this[_0x4dac92(0x417)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x32fd81],'isForwarded':!0x1});}['disposeUnit'](_0x226bcd){const _0x5b69b2=_0x4c88bb;this[_0x5b69b2(0x386)]['delete'](_0x226bcd),this[_0x5b69b2(0x386)][_0x5b69b2(0x368)]===0x0&&this['_heartbeatTimer']&&window[_0x5b69b2(0x359)](this[_0x5b69b2(0x356)]);}['_init'](){const _0x49909d=_0x4c88bb;this[_0x49909d(0x21d)](_0x12127f[_0x49909d(0x3ec)](_0x4d06f2[_0x49909d(0x396)](window,_0x49909d(0x3b5))[_0x49909d(0x43a)](_0x2ae995=>{const _0x4b86ca=_0x49909d;if(_0x2ae995[_0x4b86ca(0x258)]!==_0x2a2257||!_0x2ae995[_0x4b86ca(0x43c)])return;const _0x2cf072=JSON['parse'](_0x2ae995[_0x4b86ca(0x43c)]);this[_0x4b86ca(0x269)](_0x2cf072);}))),window[_0x49909d(0x32c)]('unload',()=>this[_0x49909d(0x417)]({'type':0x1,'memberID':this[_0x49909d(0x441)],'unitIDs':Array[_0x49909d(0x232)](this[_0x49909d(0x386)])}));}[_0x4c88bb(0x269)](_0x286a2e){const _0x58c819=_0x4c88bb;switch(_0x286a2e[_0x58c819(0x3fe)]){case 0x0:this[_0x58c819(0x211)](_0x286a2e);break;case 0x1:this[_0x58c819(0x1e1)](_0x286a2e);break;case 0x2:this[_0x58c819(0x444)](_0x286a2e);break;}}[_0x4c88bb(0x211)](_0x10b546){const _0xf8e5af=_0x4c88bb,{unitIDs:_0x26f231,memberID:_0x5dffca,isForwarded:_0xd9c0b8}=_0x10b546;_0x26f231[_0xf8e5af(0x27f)](_0x532eef=>{const _0xcbe9b3=_0xf8e5af;if(!_0xd9c0b8&&this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1fe)](_0x532eef)&&this[_0xcbe9b3(0x420)](_0x532eef)[_0xcbe9b3(0x34f)](_0x5bae0f['UnitStatus'][_0xcbe9b3(0x243)]),!this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1fe)](_0x532eef)||!this['_unitOnClients'][_0xcbe9b3(0x26d)](_0x532eef)['has'](_0x5dffca)){const _0x49d992=this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x26d)](_0x532eef)||new Set();_0x49d992[_0xcbe9b3(0x419)](_0x5dffca),this[_0xcbe9b3(0x37f)][_0xcbe9b3(0x1d8)](_0x532eef,_0x49d992),this['_scheduleClearOtherTimer'](_0x5dffca);}}),_0xd9c0b8||this['_send']({'type':0x0,'memberID':this[_0xf8e5af(0x441)],'unitIDs':[...this[_0xf8e5af(0x386)]],'isForwarded':!0x0});}[_0x4c88bb(0x227)](_0x38e932){const _0x103d88=_0x4c88bb;this[_0x103d88(0x22e)](_0x38e932);const _0x573d21=window[_0x103d88(0x2e2)](()=>{const _0x44d83d=_0x103d88;this['_unitOnClients'][_0x44d83d(0x27f)](_0x325e65=>{const _0xb77111=_0x44d83d;_0x325e65[_0xb77111(0x3f7)](_0x38e932);});},_0x54fc17*0x2);this['_clearOtherTimers'][_0x103d88(0x1d8)](_0x38e932,_0x573d21);}[_0x4c88bb(0x22e)](_0x1206ec){const _0x4c07f4=_0x4c88bb;if(this[_0x4c07f4(0x33f)][_0x4c07f4(0x1fe)](_0x1206ec)){const _0x309728=this[_0x4c07f4(0x33f)]['get'](_0x1206ec);_0x309728&&window[_0x4c07f4(0x305)](_0x309728),this[_0x4c07f4(0x33f)][_0x4c07f4(0x1d8)](_0x1206ec,null);}}[_0x4c88bb(0x1e1)](_0x4d40ac){const _0x37ef6e=_0x4c88bb,{memberID:_0x2aa149,unitIDs:_0xac1350}=_0x4d40ac;_0xac1350[_0x37ef6e(0x27f)](_0x53ac80=>{const _0x4c5371=_0x37ef6e;var _0x3c26ea;const _0x24130c=this[_0x4c5371(0x37f)][_0x4c5371(0x26d)](_0x53ac80);_0x24130c&&(_0x24130c[_0x4c5371(0x3f7)](_0x2aa149),(_0x3c26ea=this[_0x4c5371(0x420)](_0x53ac80))==null||_0x3c26ea[_0x4c5371(0x34f)](_0x24130c[_0x4c5371(0x368)]===0x0?_0x5bae0f[_0x4c5371(0x342)]['NO_OTHER_CLIENTS_EDITING']:_0x5bae0f[_0x4c5371(0x342)][_0x4c5371(0x243)]));}),this[_0x37ef6e(0x22e)](_0x2aa149);}[_0x4c88bb(0x444)](_0x3c5814){const _0x1e10b0=_0x4c88bb;this[_0x1e10b0(0x227)](_0x3c5814['memberID']);}[_0x4c88bb(0x417)](_0x3d5c7e){const _0x227724=_0x4c88bb;localStorage[_0x227724(0x255)](_0x2a2257,JSON[_0x227724(0x2bf)](_0x3d5c7e));}[_0x4c88bb(0x29a)](){const _0x3bacdc=_0x4c88bb;this[_0x3bacdc(0x356)]=window[_0x3bacdc(0x24a)](()=>{const _0x716f52=_0x3bacdc;this[_0x716f52(0x417)]({'type':0x2,'memberID':this[_0x716f52(0x441)]});},_0x54fc17);}['_ensureSubject'](_0x344f89){const _0x506cad=_0x4c88bb;return this[_0x506cad(0x354)][_0x506cad(0x1fe)](_0x344f89)||this[_0x506cad(0x354)]['set'](_0x344f89,new _0x4d06f2[(_0x506cad(0x31f))](_0x5bae0f['UnitStatus'][_0x506cad(0x35f)])),this['_unitStatus'][_0x506cad(0x26d)](_0x344f89);}}var _0x37dbf2=(_0x2f21ab=>(_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3e9)]=0x0]=_0x4c88bb(0x3e9),_0x2f21ab[_0x2f21ab['OK']=0x1]='OK',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x403)]=0x2]=_0x4c88bb(0x403),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2a1)]=0x3]=_0x4c88bb(0x2a1),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x395)]=0x4]='NOT_FOUND',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x33c)]=0x5]=_0x4c88bb(0x33c),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1c9)]=0x6]='ALREADY_EXISTS',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x433)]=0x7]=_0x4c88bb(0x433),_0x2f21ab[_0x2f21ab['TOO_MANY_REQUESTS']=0x8]=_0x4c88bb(0x39e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x329)]=0x9]='COMPLETION_FINISHED',_0x2f21ab[_0x2f21ab['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x2f21ab[_0x2f21ab['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f21ab[_0x2f21ab['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4c88bb(0x391),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x41d)]=0x1772]=_0x4c88bb(0x41d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x26c)]=0x1773]=_0x4c88bb(0x26c),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x20e)]=0x1b59]=_0x4c88bb(0x20e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3de)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x23b)]=0x1b5b]=_0x4c88bb(0x23b),_0x2f21ab[_0x2f21ab['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4c88bb(0x374),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3cf)]=0x1b5d]=_0x4c88bb(0x3cf),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x456)]=0x1f41]=_0x4c88bb(0x456),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x42d)]=0x2329]=_0x4c88bb(0x42d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2c7)]=0x232a]=_0x4c88bb(0x2c7),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x237)]=0x232b]=_0x4c88bb(0x237),_0x2f21ab[_0x2f21ab['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c88bb(0x410),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x316)]=0x232d]=_0x4c88bb(0x316),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x3d9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1f8)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2f21ab[_0x2f21ab['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2f21ab[_0x2f21ab['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4c88bb(0x33e),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2a0)]=0x271a]=_0x4c88bb(0x2a0),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x37d)]=0x271b]=_0x4c88bb(0x37d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x35d)]=0x2af9]=_0x4c88bb(0x35d),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x44b)]=0x2ee1]=_0x4c88bb(0x44b),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x280)]=0x2ee2]=_0x4c88bb(0x280),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x1d0)]=0x2ee3]=_0x4c88bb(0x1d0),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x317)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f21ab[_0x2f21ab['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4c88bb(0x455),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2c5)]=0x32cb]=_0x4c88bb(0x2c5),_0x2f21ab[_0x2f21ab[_0x4c88bb(0x2e6)]=-0x1]='UNRECOGNIZED',_0x2f21ab))(_0x37dbf2||{}),_0x3c3086=Object[_0x4c88bb(0x272)],_0x274c1e=(_0x4ae290,_0x209d00,_0x432008,_0xb6f84)=>{const _0x1ec3e1=_0x4c88bb;for(var _0x5bb090=_0xb6f84>0x1?void 0x0:_0xb6f84?_0x3c3086(_0x209d00,_0x432008):_0x209d00,_0x49483d=_0x4ae290[_0x1ec3e1(0x31e)]-0x1,_0x18085a;_0x49483d>=0x0;_0x49483d--)(_0x18085a=_0x4ae290[_0x49483d])&&(_0x5bb090=_0x18085a(_0x5bb090)||_0x5bb090);return _0x5bb090;},_0x3680e1=(_0x4a6da5,_0x7323e8)=>(_0x5e3b66,_0x27938a)=>_0x7323e8(_0x5e3b66,_0x27938a,_0x4a6da5);_0x5d87d7[_0x4c88bb(0x260)]=class extends _0x12127f[_0x4c88bb(0x39a)]{constructor(_0x522259,_0x2abeae,_0x32fe7d){const _0x29b972=_0x4c88bb;super(),this[_0x29b972(0x2cf)]=_0x522259,this[_0x29b972(0x285)]=_0x2abeae,this[_0x29b972(0x268)]=_0x32fe7d;}async[_0x4c88bb(0x45a)](_0x14a9ee,_0x2e53ce,_0x429305,..._0x28c974){const _0x4b1a63=_0x4c88bb;var _0x3772fe,_0x4af984,_0x1727c2,_0x59addc;const _0x1b7cd4=this['_instanceService'][_0x4b1a63(0x43d)]();if(!_0x1b7cd4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3aec1b=((_0x3772fe=this['_configService'][_0x4b1a63(0x312)](_0x5bae0f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3772fe:_0x5bae0f['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x14a9ee+_0x4b1a63(0x3a9)+_0x2e53ce,_0x4d521a=new URL(window['location'][_0x4b1a63(0x3b7)]),_0xd643df={'scriptId':_0x14a9ee,'runId':(_0x4af984=_0x4d521a[_0x4b1a63(0x42c)][_0x4b1a63(0x26d)]('runId'))!=null?_0x4af984:'','function':_0x2e53ce,'unitId':_0x1b7cd4[_0x4b1a63(0x43e)](),'argsOfFunction':JSON['stringify'](_0x28c974),'invokeId':(_0x1727c2=_0x429305['invokeId'])!=null?_0x1727c2:'','executionId':(_0x59addc=_0x429305[_0x4b1a63(0x3a0)])!=null?_0x59addc:''};try{const _0x4a58db=await this[_0x4b1a63(0x285)]['post'](_0x3aec1b,{'body':_0xd643df});return _0x4a58db[_0x4b1a63(0x2f9)][_0x4b1a63(0x35c)]&&_0x4a58db['body']['error'][_0x4b1a63(0x335)]!==_0x37dbf2['OK']?_0x4b1a63(0x38b):_0x4a58db[_0x4b1a63(0x2f9)][_0x4b1a63(0x220)];}catch{return _0x4b1a63(0x38b);}}},_0x5d87d7[_0x4c88bb(0x260)]=_0x274c1e([_0x3680e1(0x0,_0x12127f['IUniverInstanceService']),_0x3680e1(0x1,_0x12127f[_0x4c88bb(0x35a)](_0x12d4d8['HTTPService'])),_0x3680e1(0x2,_0x12127f[_0x4c88bb(0x377)])],_0x5d87d7['RemoteUniscriptService']),_0x5d87d7[_0x4c88bb(0x203)]=_0x2066b6,_0x5d87d7['IURLService']=_0x3b075a,_0x5d87d7[_0x4c88bb(0x32b)]=_0x458401,_0x5d87d7[_0x4c88bb(0x3f4)]=_0x1e3599,_0x5d87d7['WebURLService']=_0xa638e5,Object[_0x4c88bb(0x35b)](_0x5d87d7,Symbol[_0x4c88bb(0x2e7)],{'value':_0x4c88bb(0x373)});}));
|