@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-825ae55 → 0.6.10-experimental.20250428-261c0dd
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(_0x4ea607,_0x1190ea){const _0x3f3a9a=_0x316b,_0x3c64b2=_0x4ea607();while(!![]){try{const _0x372473=parseInt(_0x3f3a9a(0x3d9))/0x1+-parseInt(_0x3f3a9a(0x310))/0x2+parseInt(_0x3f3a9a(0x1d2))/0x3*(-parseInt(_0x3f3a9a(0x2ae))/0x4)+parseInt(_0x3f3a9a(0x33e))/0x5*(parseInt(_0x3f3a9a(0x416))/0x6)+-parseInt(_0x3f3a9a(0x2e0))/0x7+-parseInt(_0x3f3a9a(0x3a5))/0x8*(parseInt(_0x3f3a9a(0x280))/0x9)+parseInt(_0x3f3a9a(0x2df))/0xa;if(_0x372473===_0x1190ea)break;else _0x3c64b2['push'](_0x3c64b2['shift']());}catch(_0x1c84d4){_0x3c64b2['push'](_0x3c64b2['shift']());}}}(_0x2b51,0x880ac),function(_0x7f2edd,_0x221f12){const _0x4bfff4=_0x316b;typeof exports==_0x4bfff4(0x207)&&typeof module<'u'?_0x221f12(exports,require(_0x4bfff4(0x413)),require(_0x4bfff4(0x25b)),require(_0x4bfff4(0x2ff)),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x4bfff4(0x213)),require(_0x4bfff4(0x1b6)),require(_0x4bfff4(0x232)),require(_0x4bfff4(0x220)),require('@univerjs/sheets'),require(_0x4bfff4(0x231)),require(_0x4bfff4(0x30a)),require('react/jsx-runtime'),require(_0x4bfff4(0x2d4)),require(_0x4bfff4(0x1d7)),require(_0x4bfff4(0x420)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4bfff4(0x1f6)]?define([_0x4bfff4(0x1ac),'@univerjs-pro/collaboration-client',_0x4bfff4(0x25b),_0x4bfff4(0x2ff),_0x4bfff4(0x1ce),_0x4bfff4(0x41d),_0x4bfff4(0x1c7),_0x4bfff4(0x213),_0x4bfff4(0x1b6),_0x4bfff4(0x232),_0x4bfff4(0x220),'@univerjs/sheets',_0x4bfff4(0x231),_0x4bfff4(0x30a),_0x4bfff4(0x1a4),'@univerjs/ui','@univerjs/design',_0x4bfff4(0x420),'@univerjs/rpc'],_0x221f12):(_0x7f2edd=typeof globalThis<'u'?globalThis:_0x7f2edd||self,_0x221f12(_0x7f2edd[_0x4bfff4(0x259)]={},_0x7f2edd['UniverProCollaborationClient'],_0x7f2edd[_0x4bfff4(0x333)],_0x7f2edd[_0x4bfff4(0x23e)],_0x7f2edd['UniverNetwork'],_0x7f2edd[_0x4bfff4(0x335)],_0x7f2edd[_0x4bfff4(0x37f)],_0x7f2edd[_0x4bfff4(0x213)],_0x7f2edd[_0x4bfff4(0x2cb)],_0x7f2edd[_0x4bfff4(0x257)],_0x7f2edd['UniverEngineFormula'],_0x7f2edd[_0x4bfff4(0x393)],_0x7f2edd[_0x4bfff4(0x213)][_0x4bfff4(0x36f)],_0x7f2edd[_0x4bfff4(0x32d)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2fd)],_0x7f2edd[_0x4bfff4(0x39e)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2db)]));}(this,function(_0x4394f4,_0x25172a,_0x380f2c,_0x562cf5,_0x54dd82,_0x245556,_0x540d16,_0x309759,_0x1bf15b,_0x4946eb,_0x44c5f6,_0x5434f9,_0x1c9dc1,_0x1f7bce,_0x5bcf77,_0x26ee6d,_0x4cdd5d,_0x4a2e64,_0x1bf57e){'use strict';const _0x223248=_0x316b;var _0x49a913=Object[_0x223248(0x40a)],_0x1d2e7c=(_0x303a7c,_0x233ea4,_0x4a349b)=>_0x233ea4 in _0x303a7c?_0x49a913(_0x303a7c,_0x233ea4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a349b}):_0x303a7c[_0x233ea4]=_0x4a349b,_0x44255b=(_0x9dfd94,_0x5b624d,_0x51b162)=>_0x1d2e7c(_0x9dfd94,typeof _0x5b624d!=_0x223248(0x378)?_0x5b624d+'':_0x5b624d,_0x51b162),_0x22671b=Object['getOwnPropertyDescriptor'],_0x1a1917=(_0x37fc8e,_0x389413,_0x22b0c0,_0x24a6a7)=>{const _0x4be3c2=_0x223248;for(var _0x3ff821=_0x24a6a7>0x1?void 0x0:_0x24a6a7?_0x22671b(_0x389413,_0x22b0c0):_0x389413,_0x5f23c2=_0x37fc8e[_0x4be3c2(0x25a)]-0x1,_0x3614e9;_0x5f23c2>=0x0;_0x5f23c2--)(_0x3614e9=_0x37fc8e[_0x5f23c2])&&(_0x3ff821=_0x3614e9(_0x3ff821)||_0x3ff821);return _0x3ff821;},_0x30af99=(_0x59269f,_0xfcd4d1)=>(_0x29c290,_0x183dfd)=>_0xfcd4d1(_0x29c290,_0x183dfd,_0x59269f);let _0x287dac=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x19fcd5,_0x4ba7a5){const _0xc5d3b5=_0x223248;super(),this[_0xc5d3b5(0x19e)]=_0x19fcd5,this['_imageIoService']=_0x4ba7a5,this['_init']();}[_0x223248(0x18f)](){const _0x4c3135=_0x223248,_0x254e15=this;this[_0x4c3135(0x1e9)](this[_0x4c3135(0x19e)]['addClipboardHook']({'onBeforePasteImage':async _0x4e2ffe=>{const _0x371ef4=_0x4c3135,_0x1276a5=await _0x254e15[_0x371ef4(0x1f5)]['saveImage'](_0x4e2ffe);return _0x1276a5?{'source':_0x1276a5[_0x371ef4(0x28c)],'imageSourceType':_0x1276a5[_0x371ef4(0x275)]}:null;}}));}};_0x287dac=_0x1a1917([_0x30af99(0x0,_0x245556[_0x223248(0x1e1)]),_0x30af99(0x1,_0x540d16[_0x223248(0x252)])],_0x287dac);const _0x1583ae=[_0x223248(0x362),_0x223248(0x197),_0x223248(0x2eb),_0x223248(0x1ae),_0x223248(0x35a),_0x223248(0x39b)];class _0xd7751 extends _0x380f2c['Disposable']{constructor(){const _0x843ffb=_0x223248;super(...arguments),_0x44255b(this,'_assignedColors',new Map()),_0x44255b(this,_0x843ffb(0x2ef),0x0);}['assignAColorForMemberID'](_0x248e6a){const _0x2db18b=_0x223248;if(this['_assignedColors'][_0x2db18b(0x2e5)](_0x248e6a))return this[_0x2db18b(0x39f)][_0x2db18b(0x3cf)](_0x248e6a);const _0x29df85=_0x1583ae[this[_0x2db18b(0x2ef)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x1583ae['length'],this[_0x2db18b(0x39f)][_0x2db18b(0x269)](_0x248e6a,_0x29df85),_0x29df85;}}function _0x1ecaf2(_0x163ce2){const _0x180989=_0x223248;let _0x4a9dd7='';for(const _0x3a2931 of _0x163ce2){const {startOffset:_0x175fed,endOffset:_0x3c3856,isActive:_0x127253,rangeType:_0x172a15,segmentId:_0x341f71,segmentPage:_0x37f649}=_0x3a2931;_0x4a9dd7[_0x180989(0x25a)]&&(_0x4a9dd7+=','),_0x4a9dd7+=_0x175fed+':'+_0x3c3856+':'+(_0x127253?'1':'0')+':'+_0x172a15+':'+_0x341f71+':'+_0x37f649;}return _0x4a9dd7;}function _0x155a17(_0x3c474c){const _0x3dc023=_0x223248,_0x2dc777=_0x3c474c[_0x3dc023(0x2e3)](','),_0x214960=[];for(const _0x176a4a of _0x2dc777){const [_0x4025bc,_0x3b5562,_0x593622,_0xe5dc28,_0x535a0c,_0x5ac5fc]=_0x176a4a['split'](':');_0x214960[_0x3dc023(0x30d)]({'startOffset':Number(_0x4025bc),'endOffset':Number(_0x3b5562),'collapsed':_0x4025bc===_0x3b5562,'isActive':_0x593622==='1','rangeType':_0xe5dc28===_0x380f2c[_0x3dc023(0x276)]['TEXT']?_0x380f2c['DOC_RANGE_TYPE'][_0x3dc023(0x282)]:_0x380f2c[_0x3dc023(0x276)]['RECT'],'segmentId':typeof _0x535a0c=='string'?String(_0x535a0c):'','segmentPage':Number(_0x5ac5fc!=null?_0x5ac5fc:-0x1)});}return _0x214960[_0x3dc023(0x1a5)](_0x2c0b01=>_0x2c0b01['isActive'])||(_0x214960[0x0]['isActive']=!0x0),_0x214960;}class _0x19792d extends _0x380f2c['RxDisposable']{constructor(){const _0x141904=_0x223248;super(...arguments),_0x44255b(this,_0x141904(0x253),new _0x309759[(_0x141904(0x3e2))](null)),_0x44255b(this,_0x141904(0x3be),this[_0x141904(0x253)][_0x141904(0x3ca)]());}[_0x223248(0x3b5)](_0x548a4a){const _0x539c12=_0x223248,{unitID:_0x1deffe,memberID:_0x5b462b,textRanges:_0x2e617e}=_0x548a4a,_0x4955e7=_0x1ecaf2(_0x2e617e);if(_0x4955e7==='')return;const _0xc89dcc={'unitID':_0x1deffe,'memberID':_0x5b462b,'selection':_0x4955e7};this['_collabCursorState$'][_0x539c12(0x428)](_0xc89dcc);}}var _0x519411=Object[_0x223248(0x265)],_0x54b3bb=(_0x5e0c88,_0x4b737b,_0x25a37f,_0x2e6af7)=>{const _0x18da3a=_0x223248;for(var _0x1ed5c2=_0x2e6af7>0x1?void 0x0:_0x2e6af7?_0x519411(_0x4b737b,_0x25a37f):_0x4b737b,_0x43279a=_0x5e0c88[_0x18da3a(0x25a)]-0x1,_0x54ca01;_0x43279a>=0x0;_0x43279a--)(_0x54ca01=_0x5e0c88[_0x43279a])&&(_0x1ed5c2=_0x54ca01(_0x1ed5c2)||_0x1ed5c2);return _0x1ed5c2;},_0x5cbd4e=(_0x11940e,_0x21328d)=>(_0x5decf2,_0x3c962a)=>_0x21328d(_0x5decf2,_0x3c962a,_0x11940e);const _0xac0a6d=0x12c,_0x24efb3=0x64;let _0x2c3801=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x536144,_0x104a28,_0x4f5087,_0x23f9f7,_0x1f80de,_0x2d6066,_0x5445e5,_0x282406,_0x3b8113){const _0x818a00=_0x223248;super(),_0x44255b(this,_0x818a00(0x3bb),!0x1),_0x44255b(this,_0x818a00(0x18f),!0x1),_0x44255b(this,_0x818a00(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,_0x818a00(0x230),this[_0x818a00(0x3b4)]['asObservable']()),_0x44255b(this,_0x818a00(0x32c),new _0x309759[(_0x818a00(0x3e2))]([])),_0x44255b(this,_0x818a00(0x2d9),this[_0x818a00(0x32c)][_0x818a00(0x278)](_0x309759[_0x818a00(0x3ec)](_0xac0a6d))),_0x44255b(this,'_updateLocalCursor',_0x380f2c[_0x818a00(0x288)](_0x2cc5b8=>{const _0x3d7e4d=_0x818a00,_0x41736e={'eventID':_0x4946eb[_0x3d7e4d(0x1dc)][_0x3d7e4d(0x273)],'data':{'unitID':this[_0x3d7e4d(0x293)],'memberID':this['_session'][_0x3d7e4d(0x3d5)](),'selection':_0x1ecaf2(_0x2cc5b8)}};this[_0x3d7e4d(0x285)]['send'](_0x41736e,this[_0x3d7e4d(0x293)]);},_0x24efb3)),(this[_0x818a00(0x293)]=_0x536144,this['_session']=_0x104a28,this[_0x818a00(0x1d3)]=_0x4f5087,this[_0x818a00(0x34e)]=_0x23f9f7,this[_0x818a00(0x365)]=_0x1f80de,this[_0x818a00(0x401)]=_0x2d6066,this[_0x818a00(0x329)]=_0x5445e5,this[_0x818a00(0x33f)]=_0x282406,this[_0x818a00(0x1f1)]=_0x3b8113);}get[_0x223248(0x3b0)](){const _0x43d268=_0x223248;return this['_cursorInfo$'][_0x43d268(0x2f6)]();}get['roomMembers'](){const _0x52e557=_0x223248;return this[_0x52e557(0x32c)]['getValue']();}[_0x223248(0x1d8)](){const _0x4f64a3=_0x223248;super[_0x4f64a3(0x1d8)](),this[_0x4f64a3(0x3b4)][_0x4f64a3(0x428)](new Map()),this[_0x4f64a3(0x3b4)]['complete'](),this[_0x4f64a3(0x32c)][_0x4f64a3(0x428)]([]),this[_0x4f64a3(0x32c)][_0x4f64a3(0x3d6)]();}[_0x223248(0x22e)](){const _0x3b58cd=_0x223248;this[_0x3b58cd(0x18f)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))['subscribe'](_0x3b8780=>{const _0x465abf=_0x3b58cd;_0x3b8780===_0x25172a[_0x465abf(0x3c8)][_0x465abf(0x3a9)]?this[_0x465abf(0x1b2)]():this[_0x465abf(0x328)]();}),this[_0x3b58cd(0x285)][_0x3b58cd(0x294)][_0x3b58cd(0x278)](_0x309759['takeUntil'](this[_0x3b58cd(0x41a)]))[_0x3b58cd(0x1d9)](_0x544f25=>{const _0x10a244=_0x3b58cd,_0x43beec=_0x544f25['eventID'];_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x273)]&&this['_onCursorUpdate'](_0x544f25),_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x30b)]&&this[_0x10a244(0x20d)](_0x544f25);}),this['disposeWithMe'](this[_0x3b58cd(0x1f1)][_0x3b58cd(0x37d)](_0x468cc8=>{const _0x5ae7b4=_0x3b58cd,_0x308ea7=_0x468cc8[_0x5ae7b4(0x28f)];_0x308ea7!=null&&this[_0x5ae7b4(0x3bb)]&&_0x468cc8['id']===_0x1bf15b[_0x5ae7b4(0x3d0)]['id']&&_0x308ea7[_0x5ae7b4(0x341)]===this[_0x5ae7b4(0x293)]&&_0x308ea7[_0x5ae7b4(0x20f)]===!0x1&&_0x308ea7['ranges']['length']>0x0&&this[_0x5ae7b4(0x368)](_0x308ea7[_0x5ae7b4(0x349)]);})),this[_0x3b58cd(0x401)][_0x3b58cd(0x3be)][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))[_0x3b58cd(0x1d9)](_0x5f41e5=>{const _0x478a82=_0x3b58cd;if((_0x5f41e5==null?void 0x0:_0x5f41e5[_0x478a82(0x293)])!==this['unitID'])return;const _0x1a5121={'eventID':_0x4946eb[_0x478a82(0x1dc)][_0x478a82(0x273)],'data':_0x5f41e5};this[_0x478a82(0x3fa)](_0x1a5121);}),this[_0x3b58cd(0x1e9)](this[_0x3b58cd(0x1f1)]['onCommandExecuted'](_0x1520da=>{const _0x16bad0=_0x3b58cd;if(_0x1520da[_0x16bad0(0x28f)]==null)return;const _0x1a5c4b=_0x1520da['params'];if(_0x1520da['id']!==_0x1bf15b[_0x16bad0(0x34a)]['id']||_0x1a5c4b['unitId']!==this[_0x16bad0(0x293)])return;const _0x6b3dc9={'id':_0x16bad0(0x3f5),'params':_0x1a5c4b},_0x4cdb9a=this['cursorInfo'];for(const [_0x471ac5,_0xb88bb1]of _0x4cdb9a){const _0x20ea30={'id':_0x16bad0(0x3f5),'params':{'unitId':this[_0x16bad0(0x293)],'actions':null,'textRanges':_0xb88bb1[_0x16bad0(0x349)]}},_0x458df9=this[_0x16bad0(0x329)][_0x16bad0(0x240)](_0x6b3dc9,_0x20ea30,!0x1);if(_0x4946eb[_0x16bad0(0x1b1)](_0x458df9))throw _0x458df9[_0x16bad0(0x3cb)];_0x4cdb9a[_0x16bad0(0x269)](_0x471ac5,{..._0xb88bb1,'ranges':_0x458df9[_0x16bad0(0x353)][_0x16bad0(0x28f)][_0x16bad0(0x3d3)]});}queueMicrotask(()=>{const _0x573152=_0x16bad0;this[_0x573152(0x3b4)][_0x573152(0x428)](_0x4cdb9a);});})));}[_0x223248(0x3fa)](_0x1a30f1){const _0x56f145=_0x223248;var _0x500f9f,_0x344ea5;const {memberID:_0x4c25a9,selection:_0x378746}=_0x1a30f1[_0x56f145(0x2a1)],_0x1d216c=_0x155a17(_0x378746),_0x2eb159=(_0x344ea5=(_0x500f9f=this[_0x56f145(0x365)]['getMember'](this[_0x56f145(0x293)],_0x4c25a9))==null?void 0x0:_0x500f9f[_0x56f145(0x2b5)])!=null?_0x344ea5:_0x56f145(0x3dc),_0xf99e4a={'color':this[_0x56f145(0x34e)][_0x56f145(0x2e1)](_0x4c25a9),'name':_0x2eb159,'ranges':_0x1d216c},_0x2f11d6=this[_0x56f145(0x3b0)];_0x2f11d6[_0x56f145(0x269)](_0x4c25a9,_0xf99e4a),this[_0x56f145(0x3b4)][_0x56f145(0x428)](_0x2f11d6);}[_0x223248(0x20d)](_0x594bed){const _0x4980a4=_0x223248,{memberID:_0x275c93}=_0x594bed[_0x4980a4(0x2a1)],_0x229d7a=this[_0x4980a4(0x3b0)];_0x229d7a['delete'](_0x275c93),this[_0x4980a4(0x3b4)][_0x4980a4(0x428)](_0x229d7a);}[_0x223248(0x1b2)](){const _0x5e2386=_0x223248;var _0x15af80;if(this[_0x5e2386(0x3bb)]=!0x0,((_0x15af80=this[_0x5e2386(0x33f)]['getFocusedUnit']())==null?void 0x0:_0x15af80[_0x5e2386(0x302)]())!==this[_0x5e2386(0x293)])return;const _0x532c0a=this['_injector'][_0x5e2386(0x3cf)](_0x1bf15b['DocSelectionManagerService'])[_0x5e2386(0x322)]();Array[_0x5e2386(0x1c5)](_0x532c0a)&&_0x532c0a['length']>0x0&&this['_updateLocalCursor'](_0x532c0a);}['_toggleOffline'](){const _0x105440=_0x223248;this[_0x105440(0x3bb)]=!0x1;}};_0x2c3801=_0x54b3bb([_0x5cbd4e(0x2,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x5cbd4e(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x5cbd4e(0x4,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x22c)])),_0x5cbd4e(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x5cbd4e(0x6,_0x4946eb[_0x223248(0x382)]),_0x5cbd4e(0x7,_0x380f2c[_0x223248(0x3fe)]),_0x5cbd4e(0x8,_0x380f2c[_0x223248(0x36e)])],_0x2c3801);var _0x3dd977=Object[_0x223248(0x265)],_0x454dfc=(_0x54f586,_0x1dda5f,_0x5bb031,_0x5a411c)=>{for(var _0x13c5ea=_0x5a411c>0x1?void 0x0:_0x5a411c?_0x3dd977(_0x1dda5f,_0x5bb031):_0x1dda5f,_0xef400f=_0x54f586['length']-0x1,_0x31db7f;_0xef400f>=0x0;_0xef400f--)(_0x31db7f=_0x54f586[_0xef400f])&&(_0x13c5ea=_0x31db7f(_0x13c5ea)||_0x13c5ea);return _0x13c5ea;},_0x31a8db=(_0x414575,_0x669576)=>(_0x122e41,_0x44c2c6)=>_0x669576(_0x122e41,_0x44c2c6,_0x414575);const _0x38e497=0x12c,_0x2c40c5=0x64,_0x40bac4=()=>{let _0x190e92=[],_0x53fa9f=!0x1;return _0x49c136=>{_0x190e92['push'](_0x49c136),_0x53fa9f||(_0x53fa9f=!0x0,setTimeout(()=>{const _0x4e9320=_0x316b;_0x190e92[_0x4e9320(0x258)](_0x5dd638=>_0x5dd638()),_0x190e92=[],_0x53fa9f=!0x1;}));};};let _0x127971=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x482865,_0x20ba6a,_0x19e8c3,_0x147ae9,_0x51177a,_0x4a9575,_0x1ee190,_0x58ea39){const _0x28b609=_0x223248;super(),_0x44255b(this,_0x28b609(0x3bb),!0x1),_0x44255b(this,'_init',!0x1),_0x44255b(this,_0x28b609(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,'cursorInfo$',this[_0x28b609(0x3b4)]['asObservable']()),_0x44255b(this,'_roomMembers$',new _0x309759[(_0x28b609(0x3e2))]([])),_0x44255b(this,_0x28b609(0x2d9),this[_0x28b609(0x32c)]['pipe'](_0x309759[_0x28b609(0x3ec)](_0x38e497))),_0x44255b(this,_0x28b609(0x368),_0x380f2c['debounce']((_0x28f45a,_0x4c3a64)=>{const _0x4b0336=_0x28b609,_0x2197c8={'eventID':_0x4946eb['CollaborationEvent'][_0x4b0336(0x273)],'data':{'unitID':this[_0x4b0336(0x293)],'memberID':this['_session'][_0x4b0336(0x3d5)](),'selection':_0x44c5f6[_0x4b0336(0x291)](_0x28f45a,_0x4c3a64['range'])}};this['_session'][_0x4b0336(0x36c)](_0x2197c8,this[_0x4b0336(0x293)]);},_0x2c40c5)),(this[_0x28b609(0x293)]=_0x482865,this[_0x28b609(0x285)]=_0x20ba6a,this[_0x28b609(0x1d3)]=_0x19e8c3,this[_0x28b609(0x34e)]=_0x147ae9,this[_0x28b609(0x365)]=_0x51177a,this[_0x28b609(0x33f)]=_0x4a9575,this[_0x28b609(0x1f1)]=_0x1ee190,this[_0x28b609(0x24e)]=_0x58ea39);}get[_0x223248(0x3b0)](){const _0x712b8e=_0x223248;return this[_0x712b8e(0x3b4)][_0x712b8e(0x2f6)]();}get[_0x223248(0x2d5)](){const _0xd87c2a=_0x223248;return this[_0xd87c2a(0x32c)][_0xd87c2a(0x2f6)]();}['dispose'](){const _0x4adfd5=_0x223248;super[_0x4adfd5(0x1d8)](),this[_0x4adfd5(0x3b4)]['next'](new Map()),this[_0x4adfd5(0x3b4)][_0x4adfd5(0x3d6)](),this[_0x4adfd5(0x32c)][_0x4adfd5(0x428)]([]),this[_0x4adfd5(0x32c)]['complete']();}[_0x223248(0x22e)](){const _0x192ce9=_0x223248;this[_0x192ce9(0x18f)]||(this['_init']=!0x0,this[_0x192ce9(0x285)][_0x192ce9(0x2ea)][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x5daf68=>{const _0x20a19f=_0x192ce9;_0x5daf68===_0x25172a[_0x20a19f(0x3c8)][_0x20a19f(0x3a9)]?this['_toggleOnline']():this[_0x20a19f(0x328)]();}),this[_0x192ce9(0x285)]['event$'][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x1a47e9=>{const _0x2be2fc=_0x192ce9,_0x3a2b6d=_0x1a47e9[_0x2be2fc(0x388)];_0x3a2b6d===_0x4946eb['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2be2fc(0x3fa)](_0x1a47e9),_0x3a2b6d===_0x4946eb[_0x2be2fc(0x1dc)][_0x2be2fc(0x30b)]&&this[_0x2be2fc(0x20d)](_0x1a47e9);}),this[_0x192ce9(0x2f5)](),this[_0x192ce9(0x1e9)](this[_0x192ce9(0x1f1)][_0x192ce9(0x37d)](_0x3bc6e2=>{const _0x1988dc=_0x192ce9;if(this[_0x1988dc(0x3bb)]&&_0x3bc6e2['id']===_0x5434f9['SetSelectionsOperation']['id']&&_0x3bc6e2[_0x1988dc(0x28f)][_0x1988dc(0x341)]===this[_0x1988dc(0x293)]){const _0x53d166=_0x3bc6e2[_0x1988dc(0x28f)];this[_0x1988dc(0x368)](_0x53d166[_0x1988dc(0x28a)],_0x53d166[_0x1988dc(0x367)][0x0]);}})));}[_0x223248(0x3fa)](_0xd0b76d){const _0x5c5cf8=_0x223248;var _0x18cffc,_0x3cfeba;const {memberID:_0x32a3b0,selection:_0xe7488a}=_0xd0b76d[_0x5c5cf8(0x2a1)],{sheetName:_0x3002bc,range:_0x410a2d}=_0x44c5f6[_0x5c5cf8(0x23b)](_0xe7488a),_0x59b0d6={'name':(_0x3cfeba=(_0x18cffc=this[_0x5c5cf8(0x365)]['getMember'](this[_0x5c5cf8(0x293)],_0x32a3b0))==null?void 0x0:_0x18cffc[_0x5c5cf8(0x2b5)])!=null?_0x3cfeba:_0x5c5cf8(0x3dc),'range':this[_0x5c5cf8(0x255)](_0x3002bc,_0x410a2d),'sheetID':_0x3002bc,'color':this[_0x5c5cf8(0x34e)]['assignAColorForMemberID'](_0x32a3b0),'selection':_0xe7488a},_0x4fa0bf=this[_0x5c5cf8(0x3b0)];_0x4fa0bf[_0x5c5cf8(0x269)](_0x32a3b0,_0x59b0d6),this['_cursorInfo$'][_0x5c5cf8(0x428)](_0x4fa0bf);}[_0x223248(0x20d)](_0x53bf41){const _0x1ffadd=_0x223248,{memberID:_0x442222}=_0x53bf41['data'],_0x1345d9=this[_0x1ffadd(0x3b0)];_0x1345d9['delete'](_0x442222),this[_0x1ffadd(0x3b4)][_0x1ffadd(0x428)](_0x1345d9);}[_0x223248(0x255)](_0xf462aa,_0x18b3be){const _0x12910e=_0x223248;var _0x46686a,_0x41849c;const _0x390de2=(_0x41849c=(_0x46686a=this[_0x12910e(0x33f)][_0x12910e(0x208)](this[_0x12910e(0x293)]))==null?void 0x0:_0x46686a[_0x12910e(0x399)](_0xf462aa))==null?void 0x0:_0x41849c['getMergeData']();return(_0x390de2==null?void 0x0:_0x390de2[_0x12910e(0x1f8)](_0xc3f800=>_0x380f2c[_0x12910e(0x2f7)][_0x12910e(0x419)](_0xc3f800,_0x18b3be)))||_0x18b3be;}[_0x223248(0x2f5)](){const _0xca66d6=_0x223248,_0x4085aa=new _0x380f2c[(_0xca66d6(0x330))](),_0x3cbf4f=_0x40bac4(),_0x539cfc=()=>{const _0x5c9150=_0xca66d6;_0x4085aa[_0x5c9150(0x1d8)]();const _0x20b9b9=(_0x4cb4fb,_0x313eac,_0x5c99ea,_0x1ac1db)=>{const _0x47a27a=_0x5c9150;let _0xe15f02=[];switch(_0x4cb4fb['id']){case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x1a2)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1db)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x397)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1f4)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x3ce)]:{_0xe15f02=_0x5434f9['handleInsertCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x24a)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x371)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRangeMoveRightCommandId']:{_0xe15f02=_0x5434f9[_0x47a27a(0x3ba)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRowCommandId']:{_0xe15f02=_0x5434f9['handleInsertRow'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x191)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x190)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId']['RemoveColCommandId']:{_0xe15f02=_0x5434f9['handleIRemoveCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x1cf)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x35e)](_0x4cb4fb,_0x1ac1db);break;}}const _0x5c5593=_0x5434f9[_0x47a27a(0x3b2)](_0xe15f02,_0x1ac1db),_0x102268=this[_0x47a27a(0x3b0)][_0x47a27a(0x3cf)](_0x313eac);if(_0x102268&&_0x5c5593){const _0x5eb5b7={..._0x102268,'range':_0x5c5593};this[_0x47a27a(0x3b0)][_0x47a27a(0x269)](_0x313eac,_0x5eb5b7),_0x3cbf4f(()=>{const _0x1d5001=_0x47a27a,_0x169c49=this[_0x1d5001(0x24e)][_0x1d5001(0x32f)](_0x5c5593,_0x52b66e=>(_0x169c49['dispose'](),_0x20b9b9(_0x52b66e,_0x313eac,_0x5c99ea,_0x5c5593)));_0x4085aa['add'](_0x169c49);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5c9150(0x258)]((_0x1f9f47,_0x1c1c81)=>{const _0x17a456=_0x5c9150,{range:_0x57e2ea,sheetID:_0xe64cf5}=_0x1f9f47,_0xc7bf85=this[_0x17a456(0x24e)][_0x17a456(0x32f)](_0x57e2ea,_0x730350=>(_0xc7bf85[_0x17a456(0x1d8)](),_0x20b9b9(_0x730350,_0x1c1c81,_0xe64cf5,_0x57e2ea)));_0x4085aa[_0x17a456(0x23c)](_0xc7bf85);});};this[_0xca66d6(0x1e9)](_0x380f2c[_0xca66d6(0x242)](this['_cursorInfo$'][_0xca66d6(0x1d9)](()=>{_0x539cfc();})));}[_0x223248(0x1b2)](){const _0x22a586=_0x223248;var _0x1394a2,_0x3261e6;if(this['_online']=!0x0,((_0x1394a2=this[_0x22a586(0x33f)][_0x22a586(0x2f1)]())==null?void 0x0:_0x1394a2['getUnitId']())!==this[_0x22a586(0x293)])return;const _0x3d4b26=(_0x3261e6=this[_0x22a586(0x1d3)]['get'](_0x5434f9['SheetsSelectionsService'])[_0x22a586(0x34f)]())==null?void 0x0:_0x3261e6[0x0],_0x96bef1=this[_0x22a586(0x33f)][_0x22a586(0x404)](_0x380f2c[_0x22a586(0x1a9)][_0x22a586(0x22a)])[_0x22a586(0x1c4)]();_0x3d4b26&&_0x96bef1&&this['_updateLocalCursor'](_0x96bef1[_0x22a586(0x3aa)](),_0x3d4b26);}[_0x223248(0x328)](){const _0x3bdffb=_0x223248;this[_0x3bdffb(0x3bb)]=!0x1;}};_0x127971=_0x454dfc([_0x31a8db(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x31a8db(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x31a8db(0x4,_0x380f2c['Inject'](_0x25172a[_0x223248(0x22c)])),_0x31a8db(0x5,_0x380f2c[_0x223248(0x3fe)]),_0x31a8db(0x6,_0x380f2c[_0x223248(0x36e)]),_0x31a8db(0x7,_0x380f2c['Inject'](_0x5434f9['RefRangeService']))],_0x127971);var _0x4781e3=Object[_0x223248(0x265)],_0x4aa8f5=(_0x2be2dd,_0x30be14,_0x4d73c0,_0x59297f)=>{const _0x3b63b5=_0x223248;for(var _0x3386c1=_0x59297f>0x1?void 0x0:_0x59297f?_0x4781e3(_0x30be14,_0x4d73c0):_0x30be14,_0x26c96e=_0x2be2dd[_0x3b63b5(0x25a)]-0x1,_0x3eb36e;_0x26c96e>=0x0;_0x26c96e--)(_0x3eb36e=_0x2be2dd[_0x26c96e])&&(_0x3386c1=_0x3eb36e(_0x3386c1)||_0x3386c1);return _0x3386c1;},_0x2bf9ed=(_0x1fc2f1,_0x5e6386)=>(_0x29d63b,_0x466a0c)=>_0x5e6386(_0x29d63b,_0x466a0c,_0x1fc2f1);let _0x4f3310=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x23a427,_0x349e90,_0x40eccd){const _0x4eca5e=_0x223248;super(),_0x44255b(this,_0x4eca5e(0x2f8),new Map()),_0x44255b(this,_0x4eca5e(0x354),new _0x309759[(_0x4eca5e(0x1c3))]()),(this[_0x4eca5e(0x33f)]=_0x23a427,this[_0x4eca5e(0x1d3)]=_0x349e90,this['_collabSessionService']=_0x40eccd,this[_0x4eca5e(0x18f)]());}[_0x223248(0x1d8)](){const _0x1d3489=_0x223248;super['dispose'](),this[_0x1d3489(0x354)][_0x1d3489(0x3d6)](),this[_0x1d3489(0x2f8)][_0x1d3489(0x258)](_0x4f9327=>_0x4f9327[_0x1d3489(0x1d8)]());}[_0x223248(0x321)](_0x23f4a7){const _0x31cea1=_0x223248;return this[_0x31cea1(0x2f8)]['has'](_0x23f4a7)?this['_entities'][_0x31cea1(0x3cf)](_0x23f4a7)[_0x31cea1(0x230)]:this[_0x31cea1(0x354)][_0x31cea1(0x278)](_0x309759[_0x31cea1(0x3a0)](_0x101aae=>_0x101aae[_0x31cea1(0x293)]===_0x23f4a7),_0x309759['switchMap'](_0x4efb59=>_0x4efb59[_0x31cea1(0x230)]));}[_0x223248(0x18f)](){const _0x3d2320=_0x223248;this['_univerInstanceService'][_0x3d2320(0x327)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_SHEET'])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this['dispose$']))[_0x3d2320(0x1d9)](async _0x15a26e=>{const _0xa7f5ae=_0x3d2320,_0x58489a=_0x15a26e['getUnitId'](),_0x197cd9=await this[_0xa7f5ae(0x1c1)](_0x58489a);this[_0xa7f5ae(0x354)][_0xa7f5ae(0x428)](_0x197cd9),this[_0xa7f5ae(0x2f8)]['set'](_0x58489a,_0x197cd9);}),this[_0x3d2320(0x33f)]['getTypeOfUnitAdded$'](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x30f)])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x3a0)](_0x3f6388=>!_0x3f6388[_0x3d2320(0x302)]()[_0x3d2320(0x199)]('__')))[_0x3d2320(0x1d9)](async _0xa87c0a=>{const _0x299a68=_0x3d2320,_0xa317b8=_0xa87c0a['getUnitId'](),_0x38e3ff=await this[_0x299a68(0x1d1)](_0xa317b8);this[_0x299a68(0x354)]['next'](_0x38e3ff),this[_0x299a68(0x2f8)][_0x299a68(0x269)](_0xa317b8,_0x38e3ff);}),_0x309759['merge'](this['_univerInstanceService'][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_DOC']),this[_0x3d2320(0x33f)][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x22a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x1d9)](_0xe0137f=>{const _0x3a9716=_0x3d2320,_0xf58bf=_0xe0137f[_0x3a9716(0x302)](),_0x5c4179=this[_0x3a9716(0x2f8)][_0x3a9716(0x3cf)](_0xf58bf);_0x5c4179&&(_0x5c4179[_0x3a9716(0x1d8)](),this[_0x3a9716(0x2f8)][_0x3a9716(0x344)](_0xf58bf));});}async[_0x223248(0x1c1)](_0x12d653){const _0x12dcdf=await this['_collabSessionService']['requireSession'](_0x12d653),_0x5a1af6=this['_injector']['createInstance'](_0x127971,_0x12d653,_0x12dcdf);return _0x5a1af6['init'](),_0x5a1af6;}async[_0x223248(0x1d1)](_0x19a497){const _0x331f28=_0x223248,_0x3639b0=await this['_collabSessionService'][_0x331f28(0x2d3)](_0x19a497),_0x47a3c7=this[_0x331f28(0x1d3)][_0x331f28(0x2da)](_0x2c3801,_0x19a497,_0x3639b0);return _0x47a3c7['init'](),_0x47a3c7;}};_0x4f3310=_0x4aa8f5([_0x2bf9ed(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2bf9ed(0x1,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x2bf9ed(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x406)]))],_0x4f3310);const _0x120bab=0x14,_0x479208=0xc8,_0x370294=0x4,_0xcc261d=0x5;function _0x35edd1(_0x48423f,_0xa006ed){const _0x4d6470=_0x223248;let {radius:_0x223fdb,width:_0x3a0b2e,height:_0x753c0d}=_0xa006ed;_0x223fdb=_0x223fdb!=null?_0x223fdb:0x0,_0x3a0b2e=_0x3a0b2e!=null?_0x3a0b2e:0x1e,_0x753c0d=_0x753c0d!=null?_0x753c0d:0x1e;let _0x31aa3d=0x0,_0x58520e=0x0,_0x2202cd=0x0;_0x31aa3d=_0x58520e=_0x2202cd=Math[_0x4d6470(0x1eb)](_0x223fdb,_0x3a0b2e/0x2,_0x753c0d/0x2),_0x48423f[_0x4d6470(0x2fc)](),_0x48423f[_0x4d6470(0x3ed)](_0x31aa3d,0x0),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e-_0x58520e,0x0),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x58520e,_0x58520e,_0x58520e,Math['PI']*0x3/0x2,0x0,!0x1),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e,_0x753c0d-_0x2202cd),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x2202cd,_0x753c0d-_0x2202cd,_0x2202cd,0x0,Math['PI']/0x2,!0x1),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x753c0d),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x31aa3d),_0x48423f[_0x4d6470(0x1bf)](_0x31aa3d,_0x31aa3d,_0x31aa3d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48423f[_0x4d6470(0x407)](),_0xa006ed[_0x4d6470(0x2ca)]&&(_0x48423f[_0x4d6470(0x398)](),_0x48423f[_0x4d6470(0x2a3)]=_0xa006ed['fill'],_0xa006ed[_0x4d6470(0x41f)]===_0x4d6470(0x2a6)?_0x48423f[_0x4d6470(0x2ca)](_0x4d6470(0x2a6)):_0x48423f[_0x4d6470(0x2ca)](),_0x48423f[_0x4d6470(0x3b9)]());}class _0x5738fc extends _0x562cf5['Shape']{constructor(_0x59b16e,_0x1ff07e){const _0x2ee3e8=_0x223248;super(_0x59b16e,_0x1ff07e),_0x44255b(this,_0x2ee3e8(0x19a)),_0x44255b(this,_0x2ee3e8(0x247)),(this[_0x2ee3e8(0x19a)]=_0x1ff07e==null?void 0x0:_0x1ff07e['color'],this[_0x2ee3e8(0x247)]=_0x1ff07e==null?void 0x0:_0x1ff07e[_0x2ee3e8(0x247)]);}static[_0x223248(0x1b3)](_0x3f2e5f,_0x39b82a){const _0xcc6c9c=_0x223248,{text:_0x171dcb,color:_0x6c78e5}=_0x39b82a;_0x3f2e5f[_0xcc6c9c(0x398)](),_0x3f2e5f[_0xcc6c9c(0x2b1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x720e01=_0x3f2e5f[_0xcc6c9c(0x331)](_0x171dcb)['width'],_0x143403=Math[_0xcc6c9c(0x1eb)](_0x720e01+0x2*_0x370294,_0x479208);_0x35edd1(_0x3f2e5f,{'height':_0x120bab,'radius':0x4,'width':_0x143403,'fill':_0x6c78e5}),_0x3f2e5f[_0xcc6c9c(0x2a3)]=_0xcc6c9c(0x1c9);const _0xfcd797=_0x370294,_0x2b35e9=_0x120bab-_0xcc261d,_0x477787=_0x479208-0x2*_0x370294;if(_0x720e01>_0x477787){let _0x199f55='',_0x3f9854=0x0;for(const _0x285ae0 of _0x171dcb){const _0x567da1=_0x3f2e5f['measureText'](_0x285ae0)[_0xcc6c9c(0x2bc)];if(_0x3f9854+_0x567da1<=_0x477787-_0x3f2e5f[_0xcc6c9c(0x331)](_0xcc6c9c(0x312))['width'])_0x199f55+=_0x285ae0,_0x3f9854+=_0x567da1;else{_0x199f55+=_0xcc6c9c(0x312);break;}}_0x3f2e5f[_0xcc6c9c(0x2c6)](_0x199f55,_0xfcd797,_0x2b35e9);}else _0x3f2e5f[_0xcc6c9c(0x2c6)](_0x171dcb,_0xfcd797,_0x2b35e9);_0x3f2e5f['restore']();}['_draw'](_0x13fff4){const _0x20b5cb=_0x223248;_0x5738fc[_0x20b5cb(0x1b3)](_0x13fff4,this);}}const _0x17641a=_0x223248(0x3c3),_0x586420='collab-text-range-',_0xc5b9b3='collab-rect-range-',_0x356757=0x6,_0x437072=1.5,_0x4016d4=0x4,_0x51f730=1.5,_0x10f691=_0x223248(0x1ee);class _0x3b12b2{constructor(_0x750ca2,_0x4abffa,_0x1f78c2,_0x213a9c){const _0x57bc62=_0x223248;_0x44255b(this,'_shapes',[]),_0x44255b(this,_0x57bc62(0x20e),null),_0x44255b(this,_0x57bc62(0x39a),null),_0x44255b(this,_0x57bc62(0x3e7),null),_0x44255b(this,_0x57bc62(0x3c7),null),_0x44255b(this,'_eventUnsubscribe',null),(this[_0x57bc62(0x2b4)]=_0x750ca2,this[_0x57bc62(0x201)]=_0x4abffa,this['_docSkeleton']=_0x1f78c2,this[_0x57bc62(0x1b8)]=_0x213a9c,this[_0x57bc62(0x408)]());}set['_hover'](_0x397fc2){const _0x3766c8=_0x223248;_0x397fc2?(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)]['hide'](),this['_textBubble']&&this[_0x3766c8(0x39a)]['show']()):(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)][_0x3766c8(0x3a7)](),this[_0x3766c8(0x39a)]&&this['_textBubble']['hide']());}['dispose'](){const _0x43fc0c=_0x223248;for(const _0x1d410a of this['_shapes'])_0x1d410a[_0x43fc0c(0x1d8)]();this[_0x43fc0c(0x39a)]&&this[_0x43fc0c(0x39a)]['dispose'](),this[_0x43fc0c(0x3e7)]&&this['_anchorDot'][_0x43fc0c(0x1d8)](),this[_0x43fc0c(0x20e)]&&this['_anchor']['dispose'](),this[_0x43fc0c(0x295)]&&this['_eventUnsubscribe']();}[_0x223248(0x408)](){const _0xda2204=_0x223248;var _0x5104e6;const {_docSkeleton:_0x4e6f6c,_document:_0x4750bc}=this,{color:_0x542cd4,name:_0x18276d,ranges:_0x307d3c}=this[_0xda2204(0x2b4)],_0x47cb84=_0x4750bc[_0xda2204(0x305)](),{docsLeft:_0x305cc0,docsTop:_0x42aa7c}=_0x47cb84,_0x580d02=new _0x245556[(_0xda2204(0x27b))](_0x47cb84,_0x4e6f6c);for(const {startOffset:_0x189fd0,endOffset:_0x317388,rangeType:_0x4f6f8a,segmentId:_0x538281,segmentPage:_0x4befb5,collapsed:_0x88099b,isActive:_0x581a24}of _0x307d3c){const _0x16b632=_0x4e6f6c[_0xda2204(0x2dd)](_0x189fd0,!0x0,_0x538281,_0x4befb5);let _0x225269=_0x4e6f6c[_0xda2204(0x2dd)](_0x317388,!0x0,_0x538281,_0x4befb5);if(_0x225269==null&&(_0x225269=_0x4e6f6c['findNodePositionByCharIndex'](_0x317388-0x1,!0x1,_0x538281,_0x4befb5)),_0x581a24){const {contentBoxPointGroup:_0x47209f}=_0x580d02[_0xda2204(0x2f4)](_0x225269,_0x225269);if(_0x47209f[_0xda2204(0x25a)]===0x0)continue;this['_drawAnchor'](_0x542cd4,_0x47209f,_0x305cc0,_0x42aa7c,_0x18276d),this[_0xda2204(0x295)]=this[_0xda2204(0x229)]();}if(_0x16b632&&_0x225269){if(_0x4f6f8a===_0x380f2c[_0xda2204(0x276)]['RECT']){const _0x2c9904=new _0x245556[(_0xda2204(0x38d))](_0x47cb84,_0x4e6f6c),{pointGroup:_0x404b9f}=(_0x5104e6=_0x2c9904[_0xda2204(0x2f4)](_0x16b632,_0x225269))!=null?_0x5104e6:{};if(_0x404b9f==null||_0x404b9f[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x2b7)](_0x542cd4,_0x404b9f,_0x305cc0,_0x42aa7c);}else{if(!_0x88099b){const {borderBoxPointGroup:_0x50c920}=_0x580d02[_0xda2204(0x2f4)](_0x16b632,_0x225269);if(_0x50c920[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x326)](_0x542cd4,_0x50c920,_0x305cc0,_0x42aa7c);}}}}}[_0x223248(0x23f)](_0x18f213,_0x128503,_0x2e64c9,_0x27858b,_0x4caace){const _0x49b7a5=_0x223248,_0x112af0=this[_0x49b7a5(0x235)](_0x128503),{left:_0x1d5162,top:_0x45d40a,height:_0x25971c}=_0x112af0,_0x36ece3=this['_getScale'](),_0x4e697d=_0x51f730/_0x36ece3,_0x4ad23e=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c[_0x49b7a5(0x31c)][_0x49b7a5(0x314)](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b,'height':_0x25971c,'width':_0x437072,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'strokeWidth':_0x4e697d,'stroke':_0x10f691,'evented':!0x0});this['_anchor']=_0x4ad23e,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x4ad23e,_0x245556[_0x49b7a5(0x358)]);const _0x5ab973=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c['Tools']['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x4016d4/0x2,'height':_0x4016d4,'width':_0x4016d4,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)][_0x49b7a5(0x427)],0x0),'strokeWidth':0x0,'stroke':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'evented':!0x1});this[_0x49b7a5(0x3e7)]=_0x5ab973,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x5ab973,_0x245556['TEXT_RANGE_LAYER_INDEX']);const _0x3dc6d6=new _0x5738fc(_0x17641a+_0x380f2c[_0x49b7a5(0x31c)]['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x120bab,'text':_0x4caace,'color':_0x18f213});this['_textBubble']=_0x3dc6d6,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x3dc6d6,_0x245556[_0x49b7a5(0x358)]),this[_0x49b7a5(0x31f)]=!0x1;}[_0x223248(0x229)](){const _0xd5fe0=_0x223248,_0x2d1b80=this[_0xd5fe0(0x20e)][_0xd5fe0(0x2a5)][_0xd5fe0(0x380)](()=>{const _0x30fb9a=_0xd5fe0;this[_0x30fb9a(0x31f)]=!0x0;}),_0x4b0fe2=this[_0xd5fe0(0x20e)][_0xd5fe0(0x27e)][_0xd5fe0(0x380)](()=>{const _0x1ebf50=_0xd5fe0;this[_0x1ebf50(0x3c7)]&&clearTimeout(this[_0x1ebf50(0x3c7)]),this[_0x1ebf50(0x3c7)]=setTimeout(()=>{const _0x364cc1=_0x1ebf50;this[_0x364cc1(0x31f)]=!0x1;},0x7d0);});return()=>{const _0x2b0d12=_0xd5fe0;_0x2d1b80[_0x2b0d12(0x192)](),_0x4b0fe2[_0x2b0d12(0x192)]();};}[_0x223248(0x326)](_0x9b25c0,_0x257638,_0x2e318a,_0x5859e3){const _0x58f588=_0x223248,_0x451c91=new _0x380f2c[(_0x58f588(0x38f))](_0x9b25c0)[_0x58f588(0x2bf)](0.2)[_0x58f588(0x33c)](),_0x411596=new _0x562cf5[(_0x58f588(0x319))](_0x586420+_0x380f2c['Tools'][_0x58f588(0x314)](_0x356757),{'pointsGroup':_0x257638,'fill':_0x451c91||_0x562cf5['getColor'](_0x380f2c[_0x58f588(0x2ba)][_0x58f588(0x427)],0.2),'left':_0x2e318a,'top':_0x5859e3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58f588(0x383)]['push'](_0x411596),this['_scene'][_0x58f588(0x217)](_0x411596,_0x245556['TEXT_RANGE_LAYER_INDEX']);}[_0x223248(0x2b7)](_0x51f845,_0x42a4e3,_0xf94e0d,_0x175342){const _0x250ffb=_0x223248,_0x1a8432=new _0x380f2c[(_0x250ffb(0x38f))](_0x51f845)[_0x250ffb(0x2bf)](0.2)[_0x250ffb(0x33c)](),_0xc4fcc8=new _0x562cf5[(_0x250ffb(0x319))](_0xc5b9b3+_0x380f2c[_0x250ffb(0x31c)]['generateRandomId'](_0x356757),{'pointsGroup':_0x42a4e3,'fill':_0x1a8432||_0x562cf5['getColor'](_0x380f2c['COLORS'][_0x250ffb(0x427)],0.2),'left':_0xf94e0d,'top':_0x175342,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x250ffb(0x383)]['push'](_0xc4fcc8),this[_0x250ffb(0x201)][_0x250ffb(0x217)](_0xc4fcc8,_0x245556[_0x250ffb(0x358)]);}[_0x223248(0x235)](_0x4a0267){const _0x239526=_0x4a0267[0x0],_0x14b75c=_0x239526[0x0],_0x22f774=_0x239526[0x2],{x:_0x3e97fb,y:_0x167c2a}=_0x14b75c,{x:_0x3e8c29,y:_0x2cc6ca}=_0x22f774;return{'left':_0x3e97fb,'top':_0x167c2a,'width':_0x3e8c29-_0x3e97fb,'height':_0x2cc6ca-_0x167c2a};}[_0x223248(0x389)](){const _0x542ff4=_0x223248,{scaleX:_0x39735a,scaleY:_0x300a4e}=this['_scene'][_0x542ff4(0x40c)]();return Math['max'](_0x39735a,_0x300a4e);}}var _0x7fce1d=Object[_0x223248(0x265)],_0x7271a8=(_0x45be8c,_0x307fdc,_0x4907ca,_0x350aea)=>{const _0x30414d=_0x223248;for(var _0x1c737a=_0x350aea>0x1?void 0x0:_0x350aea?_0x7fce1d(_0x307fdc,_0x4907ca):_0x307fdc,_0xa971c2=_0x45be8c[_0x30414d(0x25a)]-0x1,_0x44da02;_0xa971c2>=0x0;_0xa971c2--)(_0x44da02=_0x45be8c[_0xa971c2])&&(_0x1c737a=_0x44da02(_0x1c737a)||_0x1c737a);return _0x1c737a;},_0xe786d8=(_0x15c7d1,_0x35baab)=>(_0x326bb4,_0x5d6b76)=>_0x35baab(_0x326bb4,_0x5d6b76,_0x15c7d1);let _0x5dbc37=class extends _0x380f2c['RxDisposable']{constructor(_0x29e81a,_0x599e29,_0x50dd93,_0x354931,_0x43b220){const _0x139503=_0x223248;super(),_0x44255b(this,_0x139503(0x1f9),[]),_0x44255b(this,_0x139503(0x395),[]),(this[_0x139503(0x3dd)]=_0x29e81a,this['_docSkeletonManagerService']=_0x599e29,this[_0x139503(0x1e0)]=_0x50dd93,this['_commandService']=_0x354931,this[_0x139503(0x381)]=_0x43b220,this[_0x139503(0x18f)]());}[_0x223248(0x18f)](){const _0x2eac35=_0x223248,_0x556354=this['_context'][_0x2eac35(0x341)],_0x56385c=this[_0x2eac35(0x3eb)];this[_0x2eac35(0x1e9)](_0x309759[_0x2eac35(0x289)]([this[_0x2eac35(0x1e0)][_0x2eac35(0x321)](_0x556354),this[_0x2eac35(0x381)][_0x2eac35(0x35d)]])[_0x2eac35(0x278)](_0x1c9dc1[_0x2eac35(0x287)](([_0x335a68,_0x38084f])=>({'skeleton':_0x56385c[_0x2eac35(0x3c6)](),'cursors':[..._0x335a68['values']()]['flatMap'](_0x5d18f4=>({..._0x5d18f4,'color':_0x38084f[_0x5d18f4[_0x2eac35(0x19a)]]}))})))[_0x2eac35(0x1d9)](_0x380173=>{const _0x1e5ec3=_0x2eac35;if(this[_0x1e5ec3(0x3f7)](),_0x380173){const {skeleton:_0x31f8a9,cursors:_0xd26e28}=_0x380173;this[_0x1e5ec3(0x1f3)](_0x31f8a9,_0xd26e28);}})),this[_0x2eac35(0x316)](),this[_0x2eac35(0x2e7)]();}[_0x223248(0x1f3)](_0x48ddf9,_0x19d406){const _0x5eee32=_0x223248,{scene:_0x30a1a2,mainComponent:_0x3c4e05}=this['_context'],_0x5a0d7f=_0x19d406[_0x5eee32(0x287)](_0x4da067=>new _0x3b12b2(_0x4da067,_0x30a1a2,_0x48ddf9,_0x3c4e05));this[_0x5eee32(0x1f9)]=_0x5a0d7f,this[_0x5eee32(0x395)]=_0x19d406;}[_0x223248(0x415)](){const _0x272a68=_0x223248;this[_0x272a68(0x3f7)]();const {scene:_0x8b332e,mainComponent:_0x5a8ef9}=this[_0x272a68(0x3dd)],_0x35ee57=this[_0x272a68(0x3eb)][_0x272a68(0x3c6)](),_0x4eaf0a=this[_0x272a68(0x395)][_0x272a68(0x287)](_0x211ad8=>new _0x3b12b2(_0x211ad8,_0x8b332e,_0x35ee57,_0x5a8ef9));this[_0x272a68(0x1f9)]=_0x4eaf0a;}[_0x223248(0x3f7)](){const _0xf49c09=_0x223248;this[_0xf49c09(0x1f9)][_0xf49c09(0x258)](_0x413ee0=>_0x413ee0[_0xf49c09(0x1d8)]()),this[_0xf49c09(0x1f9)]=[];}[_0x223248(0x2e7)](){const _0x5d3388=_0x223248,_0x3c6013=[_0x245556[_0x5d3388(0x37c)]['id']];this[_0x5d3388(0x1e9)](this[_0x5d3388(0x1f1)][_0x5d3388(0x37d)](_0x267fae=>{const _0x397247=_0x5d3388;_0x3c6013[_0x397247(0x297)](_0x267fae['id'])&&_0x267fae['params'][_0x397247(0x341)]===this[_0x397247(0x3dd)][_0x397247(0x341)]&&this[_0x397247(0x415)]();}));}[_0x223248(0x316)](){const _0x298c6f=_0x223248;this[_0x298c6f(0x1e9)](_0x380f2c[_0x298c6f(0x339)](this[_0x298c6f(0x3dd)]['engine']['onTransformChange$'])[_0x298c6f(0x278)](_0x1c9dc1[_0x298c6f(0x3a0)](_0x149ea5=>_0x149ea5['type']===_0x562cf5['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1c9dc1[_0x298c6f(0x296)](0x10))[_0x298c6f(0x1d9)](()=>{this['_refreshCollabCursors']();}));}};_0x5dbc37=_0x7271a8([_0xe786d8(0x1,_0x380f2c[_0x223248(0x352)](_0x1bf15b[_0x223248(0x2c4)])),_0xe786d8(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0xe786d8(0x3,_0x380f2c['ICommandService']),_0xe786d8(0x4,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x5dbc37);const _0x117d2d=0x1,_0x30ea48=1.5;class _0x337b75 extends _0x562cf5[_0x223248(0x320)]{constructor(_0x570444,_0x3dbf1f){const _0x37e108=_0x223248;super(_0x570444,_0x3dbf1f),_0x44255b(this,_0x37e108(0x233)),_0x44255b(this,'_hovered',!0x1),_0x44255b(this,_0x37e108(0x410)),_0x44255b(this,_0x37e108(0x239),''),_0x44255b(this,_0x37e108(0x2ec),_0x37e108(0x2ee)),_0x44255b(this,_0x37e108(0x18e)),(_0x3dbf1f&&this['setShapeProps'](_0x3dbf1f),this[_0x37e108(0x2a5)][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x0})),this['onPointerLeave$'][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x1})));}[_0x223248(0x209)](_0x2fcecb){const _0x12de55=_0x223248;var _0x3df6f6,_0x50533a,_0x3886db,_0x1f62dc,_0x53f8ce,_0x5d6c94;this[_0x12de55(0x233)]=(_0x3df6f6=_0x2fcecb[_0x12de55(0x19a)])!=null?_0x3df6f6:this[_0x12de55(0x233)],this[_0x12de55(0x2c1)]=(_0x50533a=_0x2fcecb['hovered'])!=null?_0x50533a:this[_0x12de55(0x2c1)],this[_0x12de55(0x410)]=(_0x3886db=_0x2fcecb['range'])!=null?_0x3886db:this[_0x12de55(0x410)],this[_0x12de55(0x239)]=(_0x1f62dc=_0x2fcecb['name'])!=null?_0x1f62dc:this[_0x12de55(0x239)],this[_0x12de55(0x2ec)]=(_0x53f8ce=_0x2fcecb[_0x12de55(0x2a4)])!=null?_0x53f8ce:this[_0x12de55(0x2ec)],this[_0x12de55(0x18e)]=(_0x5d6c94=_0x2fcecb['backgroundColor'])!=null?_0x5d6c94:this[_0x12de55(0x18e)],this[_0x12de55(0x1d0)]({'width':_0x2fcecb[_0x12de55(0x2bc)],'height':_0x2fcecb['height']});}[_0x223248(0x24c)](_0x2d5681){const _0x1b85ac=_0x223248,{row:_0x51c852,column:_0xa0ec07}=_0x2d5681;if(_0x51c852>=this[_0x1b85ac(0x410)][_0x1b85ac(0x3e4)]&&_0x51c852<=this[_0x1b85ac(0x410)][_0x1b85ac(0x3c4)]&&_0xa0ec07>=this['_range'][_0x1b85ac(0x3c2)]&&_0xa0ec07<=this[_0x1b85ac(0x410)][_0x1b85ac(0x36d)]){this[_0x1b85ac(0x209)]({'hovered':!0x0});return;}this[_0x1b85ac(0x209)]({'hovered':!0x1});}['triggerDblclick'](_0xea0fb3){return!0x1;}[_0x223248(0x31d)](_0xb6c615){const _0x391461=_0x223248;_0x562cf5[_0x391461(0x25c)][_0x391461(0x1b3)](_0xb6c615,{'width':this[_0x391461(0x2bc)],'height':this[_0x391461(0x337)],'strokeWidth':_0x30ea48,'stroke':this[_0x391461(0x233)],'evented':!0x1,'fill':this[_0x391461(0x18e)]}),this['_hovered']&&(_0xb6c615['save'](),_0xb6c615[_0x391461(0x1b0)](0x1,0x0,0x0,0x1,this[_0x391461(0x2bc)],this[_0x391461(0x2ec)]===_0x391461(0x1a0)?0x0:-0x14),_0x5738fc[_0x391461(0x1b3)](_0xb6c615,{'text':this[_0x391461(0x239)],'color':this[_0x391461(0x233)]}),_0xb6c615['restore']());}}var _0x58ab8b=Object[_0x223248(0x265)],_0x2a5fdb=(_0x2c48b6,_0x47b75c,_0x238099,_0x5eb0db)=>{for(var _0x59386e=_0x5eb0db>0x1?void 0x0:_0x5eb0db?_0x58ab8b(_0x47b75c,_0x238099):_0x47b75c,_0x4358ca=_0x2c48b6['length']-0x1,_0x1922ec;_0x4358ca>=0x0;_0x4358ca--)(_0x1922ec=_0x2c48b6[_0x4358ca])&&(_0x59386e=_0x1922ec(_0x59386e)||_0x59386e);return _0x59386e;},_0x18b007=(_0x425521,_0x41f112)=>(_0x4fb5b1,_0x329e46)=>_0x41f112(_0x4fb5b1,_0x329e46,_0x425521);const _0xbdb9c2=0x1389;let _0x15d7ee=class extends _0x380f2c['RxDisposable']{constructor(_0x13fb01,_0x51f91f,_0x32cc61,_0xe1835){const _0x1a594f=_0x223248;super(),_0x44255b(this,'_cursors',new Set()),_0x44255b(this,_0x1a594f(0x402),null),(this[_0x1a594f(0x3dd)]=_0x13fb01,this['_sheetSkeletonManagerService']=_0x51f91f,this[_0x1a594f(0x1e0)]=_0x32cc61,this[_0x1a594f(0x381)]=_0xe1835,this[_0x1a594f(0x18f)]());}['_init'](){const _0x16c1e2=_0x223248;this['_sheetSkeletonManagerService'][_0x16c1e2(0x356)][_0x16c1e2(0x278)](_0x1c9dc1[_0x16c1e2(0x40b)](this[_0x16c1e2(0x41a)]),_0x1c9dc1[_0x16c1e2(0x21a)](_0x115796=>{const _0x285c9a=_0x16c1e2;if(_0x115796){const _0x2d9e81=_0x115796[_0x285c9a(0x374)];return _0x309759[_0x285c9a(0x289)](this[_0x285c9a(0x1e0)][_0x285c9a(0x321)](this[_0x285c9a(0x3dd)][_0x285c9a(0x341)]),this[_0x285c9a(0x381)]['currentTheme$'])[_0x285c9a(0x278)](_0x1c9dc1[_0x285c9a(0x287)](([_0x124f96,_0x50271f])=>{const _0x2d234a=_0x285c9a,_0x26593c=new Map();return _0x124f96[_0x2d234a(0x258)]((_0xc0861f,_0x374e80)=>{const _0x7363=_0x2d234a;if(_0xc0861f[_0x7363(0x286)]===_0x2d9e81){const _0x4dde91={..._0xc0861f};_0x4dde91[_0x7363(0x19a)]=_0x50271f[_0xc0861f[_0x7363(0x19a)]],_0x26593c[_0x7363(0x269)](_0x374e80,_0x4dde91);}}),{'skeleton':_0x115796,'cursors':_0x26593c};}));}return _0x309759['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1ad597,cursors:_0x4a526d})=>{const _0x51935c=_0x16c1e2;this['_removeCollabCursors'](),_0x1ad597&&this[_0x51935c(0x1f3)](_0x1ad597,_0x4a526d);}),this[_0x16c1e2(0x3a6)]['currentSkeleton$'][_0x16c1e2(0x1d9)](_0x2cb8e2=>{const _0xd75fd=_0x16c1e2;if(_0x2cb8e2==null)return;const {skeleton:_0x2221d0}=_0x2cb8e2,{scene:_0x967e5f}=this['_context'];_0x967e5f[_0xd75fd(0x3d8)][_0xd75fd(0x380)](_0x380f2c['debounce'](_0x4919c6=>{const _0x2afeaa=_0xd75fd;var _0x163235,_0x1880b3;const {offsetX:_0x2f67d1,offsetY:_0x491207}=_0x4919c6,{x:_0x3f91d8,y:_0x3400b8}=_0x967e5f[_0x2afeaa(0x2cd)](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x2f67d1,_0x491207])),{scaleX:_0x4b7c97,scaleY:_0x904861}=_0x967e5f[_0x2afeaa(0x40c)](),_0x44aba2=_0x967e5f[_0x2afeaa(0x1fc)](_0x562cf5[_0x2afeaa(0x1c6)][_0x2afeaa(0x2e9)]),_0xb36fb7=_0x967e5f['getVpScrollXYInfoByPosToVp'](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x3f91d8,_0x3400b8]),_0x44aba2),_0x26dd48=_0x2221d0[_0x2afeaa(0x284)](_0x2f67d1,_0x491207,_0x4b7c97,_0x904861,_0xb36fb7);((_0x163235=this[_0x2afeaa(0x402)])==null?void 0x0:_0x163235[_0x2afeaa(0x214)])===_0x26dd48['column']&&((_0x1880b3=this[_0x2afeaa(0x402)])==null?void 0x0:_0x1880b3[_0x2afeaa(0x3e0)])===_0x26dd48[_0x2afeaa(0x3e0)]||this[_0x2afeaa(0x395)][_0x2afeaa(0x258)](_0x44b1da=>{const _0x2122f7=_0x2afeaa;_0x44b1da[_0x2122f7(0x24c)](_0x26dd48);});},0x64));});}[_0x223248(0x1f3)](_0x3ae999,_0xc86bf2){const _0xcc79de=_0x223248;var _0x54a566;const _0xfb5445=(_0x54a566=this[_0xcc79de(0x3a6)][_0xcc79de(0x342)]())==null?void 0x0:_0x54a566[_0xcc79de(0x21c)];if(!_0xfb5445)return;const _0x4bd58b=this[_0xcc79de(0x40f)]();if(!_0x4bd58b)return;this[_0xcc79de(0x395)][_0xcc79de(0x258)](_0x14a6c2=>{const _0x192ae9=_0xcc79de;_0x14a6c2[_0x192ae9(0x2c3)]();});const {scene:_0x2910de}=_0x4bd58b,_0x158cf8=_0x426ff1(Array[_0xcc79de(0x2de)](_0xc86bf2[_0xcc79de(0x215)]()))[_0xcc79de(0x287)](_0x3500b8=>{const _0x1de1b6=_0xcc79de,{color:_0x5ae35b,range:_0x4c6cf0,name:_0x2f98a9,selection:_0x4b006e,sheetID:_0x1a7292}=_0x3500b8,{startColumn:_0x2b8c11,startRow:_0xc76de1,endColumn:_0x1f4ed4,endRow:_0x4be8ff}=_0x4c6cf0,_0xdbece8=_0x1f7bce[_0x1de1b6(0x1e3)](_0xc76de1,_0x2b8c11,_0x2910de,_0xfb5445),_0x3d4ecb=_0x1f7bce[_0x1de1b6(0x1e3)](_0x4be8ff,_0x1f4ed4,_0x2910de,_0xfb5445),{columnHeaderHeightAndMarginTop:_0x2b7f87}=_0xfb5445,{startX:_0x38f9de,startY:_0x15554e}=_0xdbece8,{endX:_0x57b007,endY:_0x2c4762}=_0x3d4ecb,_0x38f0fe=_0x57b007-_0x38f9de,_0x184a66=_0x2c4762-_0x15554e,_0x40d80a={'labelPosition':_0x15554e-_0x2b7f87>=_0x120bab?_0x1de1b6(0x2ee):_0x1de1b6(0x1a0),'sheetID':_0x1a7292,'range':_0x4c6cf0,'color':_0x5ae35b,'name':_0x2f98a9,'selection':_0x4b006e,'left':_0x38f9de,'top':_0x15554e,'width':_0x38f0fe,'height':_0x184a66,'evented':!0x1,'zIndex':_0xbdb9c2};return new _0x337b75(_0x2f98a9,_0x40d80a);});_0x2910de[_0xcc79de(0x1aa)](_0x158cf8,_0x117d2d),this['_cursors']=new Set(_0x158cf8);}['_removeCollabCursors'](){const _0x1fe30e=_0x223248;var _0xf5fc56;(_0xf5fc56=this['_cursors'])==null||_0xf5fc56['forEach'](_0x747be6=>_0x747be6[_0x1fe30e(0x1d8)]());}[_0x223248(0x40f)](){const _0x2235ff=_0x223248;return _0x1f7bce[_0x2235ff(0x3db)](this[_0x2235ff(0x3dd)][_0x2235ff(0x3f3)],this[_0x2235ff(0x3dd)]);}};_0x15d7ee=_0x2a5fdb([_0x18b007(0x1,_0x380f2c[_0x223248(0x352)](_0x1f7bce[_0x223248(0x343)])),_0x18b007(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0x18b007(0x3,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x15d7ee);function _0x426ff1(_0x44c859){const _0x47da44=_0x223248,_0x498079=new Map();return _0x44c859[_0x47da44(0x258)](_0x2c5fde=>{const _0x31f40c=_0x47da44;if(_0x498079['has'](_0x2c5fde[_0x31f40c(0x400)])){const _0x476f36=_0x498079['get'](_0x2c5fde[_0x31f40c(0x400)]);_0x476f36['name']+=',\x20'+_0x2c5fde[_0x31f40c(0x2b5)];}else _0x498079[_0x31f40c(0x269)](_0x2c5fde[_0x31f40c(0x400)],_0x2c5fde);}),Array[_0x47da44(0x2de)](_0x498079['values']());}var _0x4e7b9b=function(){const _0x268c69=_0x223248;return _0x4e7b9b=Object[_0x268c69(0x245)]||function(_0x470bcd){const _0x202b47=_0x268c69;for(var _0x428e19,_0x4210ef=0x1,_0x24397d=arguments[_0x202b47(0x25a)];_0x4210ef<_0x24397d;_0x4210ef++){_0x428e19=arguments[_0x4210ef];for(var _0x956626 in _0x428e19)Object[_0x202b47(0x40d)][_0x202b47(0x2fa)][_0x202b47(0x2a8)](_0x428e19,_0x956626)&&(_0x470bcd[_0x956626]=_0x428e19[_0x956626]);}return _0x470bcd;},_0x4e7b9b[_0x268c69(0x35c)](this,arguments);},_0x1b2e40=function(_0x28670d,_0x14131c){const _0x139546=_0x223248;var _0x11194b={};for(var _0x3e8809 in _0x28670d)Object['prototype'][_0x139546(0x2fa)]['call'](_0x28670d,_0x3e8809)&&_0x14131c['indexOf'](_0x3e8809)<0x0&&(_0x11194b[_0x3e8809]=_0x28670d[_0x3e8809]);if(_0x28670d!=null&&typeof Object[_0x139546(0x3de)]==_0x139546(0x1ca)){for(var _0xc209b5=0x0,_0x3e8809=Object[_0x139546(0x3de)](_0x28670d);_0xc209b5<_0x3e8809[_0x139546(0x25a)];_0xc209b5++)_0x14131c[_0x139546(0x3a4)](_0x3e8809[_0xc209b5])<0x0&&Object[_0x139546(0x40d)]['propertyIsEnumerable'][_0x139546(0x2a8)](_0x28670d,_0x3e8809[_0xc209b5])&&(_0x11194b[_0x3e8809[_0xc209b5]]=_0x28670d[_0x3e8809[_0xc209b5]]);}return _0x11194b;},_0x2966a1=_0x4a2e64['forwardRef'](function(_0x45d314,_0x3575e1){const _0x1ef882=_0x223248;var _0x1248a5=_0x45d314['icon'],_0x311e69=_0x45d314['id'],_0x117104=_0x45d314['className'],_0x12e246=_0x45d314[_0x1ef882(0x363)],_0xec009d=_0x1b2e40(_0x45d314,[_0x1ef882(0x3d2),'id','className',_0x1ef882(0x363)]),_0x14792a=_0x1ef882(0x221)['concat'](_0x311e69,'\x20')[_0x1ef882(0x1cb)](_0x117104||'')['trim'](),_0x54832a=_0x4a2e64[_0x1ef882(0x3f4)]('_'['concat'](_0x306b9d()));return _0x4dc9b5(_0x1248a5,''[_0x1ef882(0x1cb)](_0x311e69),{'defIds':_0x1248a5[_0x1ef882(0x2ab)],'idSuffix':_0x54832a[_0x1ef882(0x212)]},_0x4e7b9b({'ref':_0x3575e1,'className':_0x14792a},_0xec009d),_0x12e246);});function _0x4dc9b5(_0x554443,_0x182222,_0x2ecccd,_0x4f540f,_0x11799a){const _0x191b61=_0x223248;return _0x4a2e64['createElement'](_0x554443[_0x191b61(0x1b7)],_0x4e7b9b(_0x4e7b9b({'key':_0x182222},_0xfed504(_0x554443,_0x2ecccd,_0x11799a)),_0x4f540f),(_0x5c4118(_0x554443,_0x2ecccd)[_0x191b61(0x396)]||[])[_0x191b61(0x287)](function(_0x2abdf6,_0x116efb){const _0x2cb337=_0x191b61;return _0x4dc9b5(_0x2abdf6,''[_0x2cb337(0x1cb)](_0x182222,'-')[_0x2cb337(0x1cb)](_0x554443[_0x2cb337(0x1b7)],'-')[_0x2cb337(0x1cb)](_0x116efb),_0x2ecccd,void 0x0,_0x11799a);}));}function _0xfed504(_0x50986a,_0x3434a5,_0x23f7f6){const _0x4eaf0d=_0x223248;var _0x256e36=_0x4e7b9b({},_0x50986a[_0x4eaf0d(0x246)]);_0x23f7f6!=null&&_0x23f7f6['colorChannel1']&&_0x256e36['fill']==='colorChannel1'&&(_0x256e36[_0x4eaf0d(0x2ca)]=_0x23f7f6[_0x4eaf0d(0x200)]),_0x50986a[_0x4eaf0d(0x1b7)]==='mask'&&_0x256e36['id']&&(_0x256e36['id']=_0x256e36['id']+_0x3434a5['idSuffix']),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x253742){const _0x4a481e=_0x4eaf0d;var _0x4700e8=_0x253742[0x0],_0x396a15=_0x253742[0x1];_0x4700e8==='mask'&&typeof _0x396a15==_0x4a481e(0x3f2)&&(_0x256e36[_0x4700e8]=_0x396a15['replace'](/url\(#(.*)\)/,_0x4a481e(0x1bd)[_0x4a481e(0x1cb)](_0x3434a5[_0x4a481e(0x1f7)],')')));});var _0x3b46c8=_0x3434a5[_0x4eaf0d(0x2ab)];return!_0x3b46c8||_0x3b46c8['length']===0x0||(_0x50986a['tag']===_0x4eaf0d(0x3f9)&&_0x256e36[_0x4eaf0d(0x26b)]&&(_0x256e36['xlink:href']=_0x256e36['xlink:href']+_0x3434a5[_0x4eaf0d(0x1f7)]),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x4690c0){const _0xca1a6=_0x4eaf0d;var _0x190cc7=_0x4690c0[0x0],_0x2a51f2=_0x4690c0[0x1];typeof _0x2a51f2==_0xca1a6(0x3f2)&&(_0x256e36[_0x190cc7]=_0x2a51f2['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3434a5[_0xca1a6(0x1f7)],')')));})),_0x256e36;}function _0x5c4118(_0x3a6d6b,_0x2f90f3){const _0x53254d=_0x223248;var _0x3bba4e,_0x337405=_0x2f90f3[_0x53254d(0x2ab)];return!_0x337405||_0x337405[_0x53254d(0x25a)]===0x0?_0x3a6d6b:_0x3a6d6b[_0x53254d(0x1b7)]==='defs'&&(!((_0x3bba4e=_0x3a6d6b[_0x53254d(0x396)])===null||_0x3bba4e===void 0x0)&&_0x3bba4e[_0x53254d(0x25a)])?_0x4e7b9b(_0x4e7b9b({},_0x3a6d6b),{'children':_0x3a6d6b['children'][_0x53254d(0x287)](function(_0x555c8a){const _0x38bd1e=_0x53254d;return typeof _0x555c8a['attrs']['id']=='string'&&_0x337405&&_0x337405[_0x38bd1e(0x3a4)](_0x555c8a[_0x38bd1e(0x246)]['id'])>-0x1?_0x4e7b9b(_0x4e7b9b({},_0x555c8a),{'attrs':_0x4e7b9b(_0x4e7b9b({},_0x555c8a[_0x38bd1e(0x246)]),{'id':_0x555c8a['attrs']['id']+_0x2f90f3['idSuffix']})}):_0x555c8a;})}):_0x3a6d6b;}function _0x306b9d(){const _0x3cd4e8=_0x223248;return Math[_0x3cd4e8(0x1ef)]()['toString'](0x24)['substring'](0x2,0x8);}_0x2966a1['displayName']=_0x223248(0x224);var _0x1f761d={'tag':'svg','attrs':{'fill':_0x223248(0x292),'viewBox':_0x223248(0x2a2),'width':_0x223248(0x248),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x394)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':_0x223248(0x19c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x223248(0x369)]},_0x444a0a=_0x4a2e64['forwardRef'](function(_0x52406b,_0x4f231c){const _0x56a3a8=_0x223248;return _0x4a2e64[_0x56a3a8(0x1cd)](_0x2966a1,Object[_0x56a3a8(0x245)]({},_0x52406b,{'id':'off-line-single','ref':_0x4f231c,'icon':_0x1f761d}));});_0x444a0a[_0x223248(0x1e4)]='OffLineSingle';var _0x231d50={'tag':_0x223248(0x227),'attrs':{'fill':'none','viewBox':_0x223248(0x1da),'width':_0x223248(0x248),'height':_0x223248(0x248)},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x2e4)},'children':[{'tag':_0x223248(0x1fa),'attrs':{'stroke':_0x223248(0x1a8),'d':_0x223248(0x25f),'strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x223248(0x3c1)}}]}]}],'defIds':[_0x223248(0x2d2)]},_0x444e24=_0x4a2e64[_0x223248(0x27c)](function(_0x36a7e1,_0x1798fd){const _0x2d30ef=_0x223248;return _0x4a2e64['createElement'](_0x2966a1,Object[_0x2d30ef(0x245)]({},_0x36a7e1,{'id':_0x2d30ef(0x324),'ref':_0x1798fd,'icon':_0x231d50}));});_0x444e24['displayName']=_0x223248(0x225);function _0x218869(_0x25e04a){const _0xc6292=_0x223248;switch(_0x25e04a){case _0x25172a['CollaborationStatus']['OFFLINE']:return _0xc6292(0x28d);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x262)]:return _0xc6292(0x35f);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x421)]:return _0xc6292(0x1e8);case _0x25172a['CollaborationStatus'][_0xc6292(0x1cc)]:return _0xc6292(0x1ba);case _0x25172a['CollaborationStatus'][_0xc6292(0x301)]:case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x3e3)]:return _0xc6292(0x249);case _0x25172a[_0xc6292(0x1de)]['SYNCED']:case _0x25172a['CollaborationStatus'][_0xc6292(0x3ee)]:return _0xc6292(0x2bd);}}function _0xd9adf4(_0x49400e){const _0x1539be=_0x223248,{status$:_0x294456}=_0x49400e,_0x221217=_0x26ee6d['useObservable'](_0x294456,_0x25172a[_0x1539be(0x1de)][_0x1539be(0x1cc)]),_0x1f4213=_0x26ee6d[_0x1539be(0x29f)](_0x380f2c[_0x1539be(0x1fd)]),_0x2c51e2=_0x26ee6d[_0x1539be(0x29f)](_0x25172a[_0x1539be(0x406)]),_0x2c4444=_0x221217!==_0x25172a['CollaborationStatus'][_0x1539be(0x387)],_0x68b17d=_0x1f4213['t'](_0x218869(_0x221217)),_0xbe29e8=_0x2c4444?_0x5bcf77[_0x1539be(0x32a)](_0x444e24,{}):_0x5bcf77[_0x1539be(0x32a)](_0x444a0a,{}),_0x5ae8e0=_0x4a2e64[_0x1539be(0x31e)](()=>{const _0x228553=_0x1539be;_0x2c4444||_0x2c51e2[_0x228553(0x2c2)]();},[_0x2c4444,_0x2c51e2]);function _0x8273d1(){const _0xe9d892=_0x1539be;return _0x5bcf77[_0xe9d892(0x3e5)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5ae8e0,'children':[_0x5bcf77[_0xe9d892(0x32a)](_0xe9d892(0x222),{'className':_0x4cdd5d['clsx'](_0xe9d892(0x34c),_0x2c4444?_0xe9d892(0x2cf):_0xe9d892(0x19b)),'children':_0xbe29e8}),_0x5bcf77[_0xe9d892(0x32a)]('div',{'className':_0xe9d892(0x38b),'children':_0x68b17d})]});}return _0x2c4444?_0x8273d1():_0x5bcf77[_0x1539be(0x32a)](_0x4cdd5d['Tooltip'],{'title':_0x1f4213['t']('collab-client.tooltip.reconnect'),'children':_0x8273d1()});}var _0x3b817e=Object[_0x223248(0x265)],_0x44b863=(_0x5ebe07,_0x4f4a49,_0x3c5423,_0x34ecde)=>{const _0x3dcaa9=_0x223248;for(var _0x5df9d1=_0x34ecde>0x1?void 0x0:_0x34ecde?_0x3b817e(_0x4f4a49,_0x3c5423):_0x4f4a49,_0x5847bf=_0x5ebe07[_0x3dcaa9(0x25a)]-0x1,_0x5a4304;_0x5847bf>=0x0;_0x5847bf--)(_0x5a4304=_0x5ebe07[_0x5847bf])&&(_0x5df9d1=_0x5a4304(_0x5df9d1)||_0x5df9d1);return _0x5df9d1;},_0x1db15a=(_0x1f8c40,_0x45686f)=>(_0x302058,_0x2143e7)=>_0x45686f(_0x302058,_0x2143e7,_0x1f8c40);_0x4394f4[_0x223248(0x32e)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x446e6a,_0x180e1b,_0x47ec23,_0x167bbf){const _0x3d931c=_0x223248;super(),_0x44255b(this,'_status$',new _0x309759['BehaviorSubject'](_0x25172a[_0x3d931c(0x1de)][_0x3d931c(0x1cc)])),(this[_0x3d931c(0x33f)]=_0x446e6a,this[_0x3d931c(0x1d3)]=_0x180e1b,this[_0x3d931c(0x1b4)]=_0x47ec23,this['_uiPartsService']=_0x167bbf,this[_0x3d931c(0x226)](),this[_0x3d931c(0x2f2)]());}[_0x223248(0x2f2)](){const _0x13da62=_0x223248;this[_0x13da62(0x1e9)](this[_0x13da62(0x33f)][_0x13da62(0x244)][_0x13da62(0x278)](_0x309759['switchMap'](()=>{const _0x5cc1cc=_0x13da62,_0x6a7802=this[_0x5cc1cc(0x33f)][_0x5cc1cc(0x2f1)]();return _0x6a7802?this[_0x5cc1cc(0x1b4)]['getCollabEntity$'](_0x6a7802[_0x5cc1cc(0x302)]()):_0x309759['of'](null);}),_0x309759[_0x13da62(0x21a)](_0x43e3a1=>_0x43e3a1?_0x43e3a1[_0x13da62(0x338)]:_0x309759['of'](_0x25172a[_0x13da62(0x1de)][_0x13da62(0x1cc)])))[_0x13da62(0x1d9)](_0x5cb8ac=>{const _0x32a4d2=_0x13da62;this['_status$'][_0x32a4d2(0x428)](_0x5cb8ac);}));}['_initStatusComponent'](){const _0x1e4813=_0x223248;this[_0x1e4813(0x1e9)](this[_0x1e4813(0x3c0)][_0x1e4813(0x204)](_0x26ee6d[_0x1e4813(0x26e)][_0x1e4813(0x2d0)],()=>_0x26ee6d[_0x1e4813(0x198)](_0x644704({'status$':this[_0x1e4813(0x32b)]['asObservable']()}),this[_0x1e4813(0x1d3)])));}},_0x4394f4[_0x223248(0x32e)]=_0x44b863([_0x1db15a(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x1db15a(0x1,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x1db15a(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x1db15a(0x3,_0x26ee6d[_0x223248(0x345)])],_0x4394f4[_0x223248(0x32e)]);function _0x644704(_0x2b358f){const {status$:_0x2605b8}=_0x2b358f;return function(){const _0x41d916=_0x316b;return _0x5bcf77[_0x41d916(0x32a)](_0xd9adf4,{'status$':_0x2605b8});};}var _0x48246f=Object[_0x223248(0x265)],_0x53de4f=(_0x220709,_0x4d3cc8,_0x44c15a,_0x341814)=>{const _0x5baab3=_0x223248;for(var _0x33a9c3=_0x341814>0x1?void 0x0:_0x341814?_0x48246f(_0x4d3cc8,_0x44c15a):_0x4d3cc8,_0x2742f7=_0x220709[_0x5baab3(0x25a)]-0x1,_0x30f584;_0x2742f7>=0x0;_0x2742f7--)(_0x30f584=_0x220709[_0x2742f7])&&(_0x33a9c3=_0x30f584(_0x33a9c3)||_0x33a9c3);return _0x33a9c3;},_0x293df1=(_0x2b8a01,_0x2dc577)=>(_0x502d16,_0x101208)=>_0x2dc577(_0x502d16,_0x101208,_0x2b8a01);let _0x1cac79=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x57bb7f,_0x3be8f4,_0x4279c2,_0x3cee2d,_0x3e5ac7,_0x405720){const _0xbcea1=_0x223248;super(),this[_0xbcea1(0x370)]=_0x57bb7f,this[_0xbcea1(0x403)]=_0x3be8f4,this[_0xbcea1(0x19d)]=_0x4279c2,this[_0xbcea1(0x318)]=_0x3cee2d,this[_0xbcea1(0x228)]=_0x3e5ac7,this['_localeService']=_0x405720,this[_0xbcea1(0x264)](),this[_0xbcea1(0x196)]();}[_0x223248(0x264)](){const _0x2a184d=_0x223248;this[_0x2a184d(0x1e9)](this[_0x2a184d(0x370)][_0x2a184d(0x3fd)](()=>{const _0x239a3d=_0x2a184d;if(this['_localCacheService'][_0x239a3d(0x364)][_0x239a3d(0x2c5)])return this['_localeService']['t'](_0x239a3d(0x2ed));}));}[_0x223248(0x196)](){const _0x538ae0=_0x223248;this[_0x538ae0(0x1e9)](this['_collaborationUIEventService'][_0x538ae0(0x294)][_0x538ae0(0x1d9)](_0xfa7478=>{const _0x33c542=_0x538ae0;_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['OTHER_CLIENT_EDITING']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType']['Warning'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x2f0))}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x2e8)]&&this['_messageService'][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType'][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x38e)]&&this['_notificationService'][_0x33c542(0x3a7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x3ef)),'type':'error','duration':0x0}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['CONFLICT']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)]['Error'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))+'('+_0xfa7478['data']+')'}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x377)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0xfa7478[_0x33c542(0x2a1)]||'')}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x3b8)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x270))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x2fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x1ad))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x1fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cac79=_0x53de4f([_0x293df1(0x0,_0x26ee6d[_0x223248(0x390)]),_0x293df1(0x1,_0x25172a[_0x223248(0x20b)]),_0x293df1(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x376)])),_0x293df1(0x3,_0x26ee6d[_0x223248(0x300)]),_0x293df1(0x4,_0x26ee6d[_0x223248(0x424)]),_0x293df1(0x5,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x1cac79);const _0x1840e5=_0x223248(0x266),_0xda5603={},_0x51b8d1=_0x380f2c[_0x223248(0x306)]('uni.network.url-service');var _0x2da082=Object[_0x223248(0x265)],_0x46908c=(_0x2ec75e,_0x5f3012,_0x3c5843,_0x35e957)=>{const _0x227029=_0x223248;for(var _0x4ac198=_0x35e957>0x1?void 0x0:_0x35e957?_0x2da082(_0x5f3012,_0x3c5843):_0x5f3012,_0x1354a9=_0x2ec75e[_0x227029(0x25a)]-0x1,_0x3873d8;_0x1354a9>=0x0;_0x1354a9--)(_0x3873d8=_0x2ec75e[_0x1354a9])&&(_0x4ac198=_0x3873d8(_0x4ac198)||_0x4ac198);return _0x4ac198;},_0x4ca138=(_0x14e7fd,_0x1f69d5)=>(_0x1393b5,_0x453830)=>_0x1f69d5(_0x1393b5,_0x453830,_0x14e7fd);_0x4394f4[_0x223248(0x31a)]=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x143a86,_0x21387f,_0x416123,_0x48f529,_0x9c8f6){const _0x1edea6=_0x223248;super(),this[_0x1edea6(0x223)]=_0x143a86,this[_0x1edea6(0x25d)]=_0x21387f,this['_commandService']=_0x416123,this[_0x1edea6(0x236)]=_0x48f529,_0x9c8f6?_0x9c8f6==null||_0x9c8f6[_0x1edea6(0x254)]()[_0x1edea6(0x3f6)](()=>this[_0x1edea6(0x18f)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1edea6(0x348)),this[_0x1edea6(0x18f)]());}async[_0x223248(0x18f)](){const _0x2762cb=_0x223248,_0x1875ac=this['_urlService'][_0x2762cb(0x313)]('unit'),_0x1e8785=this[_0x2762cb(0x223)][_0x2762cb(0x313)](_0x2762cb(0x33a)),_0x52d860=this['_urlService'][_0x2762cb(0x313)](_0x2762cb(0x317));if(!_0x1875ac||!_0x1e8785){this[_0x2762cb(0x25d)][_0x2762cb(0x3f0)](_0x2762cb(0x3bd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x47f142=await this['_dataLoaderService'][_0x2762cb(0x3e9)](_0x1875ac,Number(_0x1e8785),_0x52d860);_0x47f142&&_0x47f142 instanceof _0x380f2c[_0x2762cb(0x417)]&&this[_0x2762cb(0x308)](_0x47f142);}async[_0x223248(0x308)](_0xb9cbb5){const _0x54a769=_0x223248;await this[_0x54a769(0x24f)](_0xb9cbb5),_0xb9cbb5[_0x54a769(0x298)]['pipe'](_0x309759['takeUntil'](this['dispose$']))[_0x54a769(0x1d9)](_0x2c50df=>{const _0xbe68cc=_0x54a769;_0x2c50df&&this[_0xbe68cc(0x250)](_0x2c50df);}),this['_urlService'][_0x54a769(0x385)][_0x54a769(0x278)](_0x309759[_0x54a769(0x40b)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xb9cbb5));}[_0x223248(0x250)](_0x42f696,_0x4aa157=!0x1){const _0x4d0419=_0x223248,_0x59167e=this[_0x4d0419(0x223)][_0x4d0419(0x313)](_0x4d0419(0x317));_0x42f696[_0x4d0419(0x3aa)]()!==_0x59167e&&this['_urlService'][_0x4d0419(0x24b)]('subunit',_0x42f696[_0x4d0419(0x3aa)](),_0x4aa157);}async['_updateSubUnitFromURLParams'](_0x313140){const _0x5ed4bb=_0x223248;var _0x2e1b24;const _0x1732d7=this[_0x5ed4bb(0x223)][_0x5ed4bb(0x313)](_0x5ed4bb(0x317));if(!_0x1732d7||!_0x313140[_0x5ed4bb(0x399)](_0x1732d7)){const _0x4de6d8=_0x313140[_0x5ed4bb(0x21f)]()[0x0],_0x3739c3=_0x313140['getSheetBySheetId'](_0x4de6d8);if(!_0x3739c3)return;this[_0x5ed4bb(0x250)](_0x3739c3,!0x0),await this[_0x5ed4bb(0x1f1)][_0x5ed4bb(0x234)](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x4de6d8});return;}((_0x2e1b24=_0x313140[_0x5ed4bb(0x1c4)]())==null?void 0x0:_0x2e1b24[_0x5ed4bb(0x3aa)]())!==_0x1732d7&&await this[_0x5ed4bb(0x1f1)]['executeCommand'](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x1732d7});}},_0x4394f4[_0x223248(0x31a)]=_0x46908c([_0x4ca138(0x0,_0x51b8d1),_0x4ca138(0x1,_0x380f2c['ILogService']),_0x4ca138(0x2,_0x380f2c[_0x223248(0x36e)]),_0x4ca138(0x3,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x372)])),_0x4ca138(0x4,_0x380f2c['Optional'](_0x1bf57e['IRemoteInstanceService']))],_0x4394f4['CollaborationDataLoaderController']);var _0x57e896=Object[_0x223248(0x265)],_0x56e0cf=(_0x2092ef,_0x2f9b82,_0x5614a6,_0x280260)=>{const _0x4da62f=_0x223248;for(var _0x69b459=_0x280260>0x1?void 0x0:_0x280260?_0x57e896(_0x2f9b82,_0x5614a6):_0x2f9b82,_0x2f390c=_0x2092ef[_0x4da62f(0x25a)]-0x1,_0x29300b;_0x2f390c>=0x0;_0x2f390c--)(_0x29300b=_0x2092ef[_0x2f390c])&&(_0x69b459=_0x29300b(_0x69b459)||_0x69b459);return _0x69b459;},_0x26b2f9=(_0x151a51,_0x1f6d1a)=>(_0x4bdf8b,_0x54d989)=>_0x1f6d1a(_0x4bdf8b,_0x54d989,_0x151a51);let _0x32a844=class{constructor(_0x3daba4,_0x33f31c,_0x329de9){const _0x45257f=_0x223248;this[_0x45257f(0x1d3)]=_0x3daba4,this[_0x45257f(0x329)]=_0x33f31c,this['_renderManagerService']=_0x329de9;}[_0x223248(0x2b9)](_0x101df7){const _0x15deca=_0x223248;this[_0x15deca(0x26f)](_0x101df7),this[_0x15deca(0x3a8)](_0x101df7);}[_0x223248(0x23d)](_0xd6e13a){const _0x482682=_0x223248,{unitID:_0x45d514}=_0xd6e13a,_0x32d92c=this['_renderManagerService'][_0x482682(0x334)](_0x45d514)[_0x482682(0x309)](_0x245556[_0x482682(0x268)]),{redoCache:_0x3d5522}=_0x32d92c[_0x482682(0x267)]();if(_0x3d5522[_0x482682(0x25a)]===0x0)return _0xd6e13a;let _0x12af0e=_0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a[_0x482682(0x1d4)][0x0]);for(let _0x5c2d7f=0x0;_0x5c2d7f<_0x3d5522[_0x482682(0x25a)];_0x5c2d7f++){const _0x3d083b={'id':_0x482682(0x3f5),'params':{..._0x3d5522[_0x5c2d7f]}},_0x42f3a9=this[_0x482682(0x329)]['transformMutation'](_0x12af0e,_0x3d083b,!0x1);if(_0x4946eb[_0x482682(0x1b1)](_0x42f3a9))throw _0x42f3a9[_0x482682(0x3cb)];_0x12af0e=_0x42f3a9[_0x482682(0x1f2)];}return{..._0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a),'mutations':[_0x12af0e]};}[_0x223248(0x26f)](_0x382b1f){const _0x268f01=_0x223248,{unitID:_0x333811}=_0x382b1f,_0x8d05aa=this[_0x268f01(0x373)][_0x268f01(0x334)](_0x333811)['with'](_0x245556['DocIMEInputManagerService']),{undoCache:_0x599b6f,redoCache:_0x58d804}=_0x8d05aa['getUndoRedoMutationParamsCache']();if(_0x599b6f[_0x268f01(0x25a)]===0x0||_0x58d804[_0x268f01(0x25a)]===0x0)return;const _0x4d80da=[],_0x10695f=[];let _0x5d4d4c=_0x380f2c[_0x268f01(0x31c)][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]),_0x372d43=_0x380f2c['Tools'][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]);for(let _0x148675=_0x599b6f['length']-0x1;_0x148675>=0x0;_0x148675--){const _0x15f805={'id':_0x268f01(0x3f5),'params':{..._0x599b6f[_0x148675]}},_0x29e107={'id':_0x268f01(0x3f5),'params':{..._0x58d804[_0x148675]}},_0x20718d=this[_0x268f01(0x329)][_0x268f01(0x240)](_0x5d4d4c,_0x15f805,!0x1),_0xdf6075=this['_transformService'][_0x268f01(0x240)](_0x372d43,_0x29e107,!0x1);if(_0x4946eb[_0x268f01(0x1b1)](_0x20718d))throw _0x20718d[_0x268f01(0x3cb)];if(_0x4946eb[_0x268f01(0x1b1)](_0xdf6075))throw _0xdf6075[_0x268f01(0x3cb)];_0x4d80da[_0x268f01(0x2a9)](_0x20718d['m2Prime'][_0x268f01(0x28f)]),_0x10695f[_0x268f01(0x2a9)](_0xdf6075[_0x268f01(0x353)][_0x268f01(0x28f)]),_0x5d4d4c=_0x20718d[_0x268f01(0x1f2)],_0x372d43=_0xdf6075['m1Prime'];}_0x8d05aa[_0x268f01(0x29e)]({'undoCache':_0x4d80da,'redoCache':_0x10695f});}['_transformPreviousActiveRange'](_0x27c4c0){const _0x3403c5=_0x223248,{unitID:_0x52af34}=_0x27c4c0,_0xcc4533=this[_0x3403c5(0x373)][_0x3403c5(0x334)](_0x52af34)[_0x3403c5(0x309)](_0x245556[_0x3403c5(0x268)]),_0x3ae3d3=_0xcc4533['getActiveRange']();if(_0x3ae3d3==null)return;const _0x37a414=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x27c4c0['unitID'],'actions':null,'textRanges':[_0x3ae3d3]}}],_0x122dda=this['_transformService'][_0x3403c5(0x263)](_0x27c4c0,_0x37a414);if(!_0x4946eb['isTransformMutationsWithChangesetSuccess'](_0x122dda))throw _0x122dda[_0x3403c5(0x3cb)];const _0x3b55c3=_0x122dda['m2Prime'][0x0][_0x3403c5(0x28f)][_0x3403c5(0x3d3)];Array[_0x3403c5(0x1c5)](_0x3b55c3)&&_0x3b55c3['length']&&_0xcc4533['setActiveRange'](_0x3b55c3[0x0]);}};_0x32a844=_0x56e0cf([_0x26b2f9(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x26b2f9(0x1,_0x4946eb[_0x223248(0x382)]),_0x26b2f9(0x2,_0x562cf5['IRenderManagerService'])],_0x32a844);var _0x25d3cf=Object['getOwnPropertyDescriptor'],_0xf02698=(_0x2cc5b4,_0x59c9b5,_0x5e51a8,_0x23c823)=>{const _0x1dc782=_0x223248;for(var _0x468224=_0x23c823>0x1?void 0x0:_0x23c823?_0x25d3cf(_0x59c9b5,_0x5e51a8):_0x59c9b5,_0x3df313=_0x2cc5b4[_0x1dc782(0x25a)]-0x1,_0xbc8c87;_0x3df313>=0x0;_0x3df313--)(_0xbc8c87=_0x2cc5b4[_0x3df313])&&(_0x468224=_0xbc8c87(_0x468224)||_0x468224);return _0x468224;},_0x2e01d2=(_0x30dcde,_0x229c65)=>(_0x2e60d7,_0xc47a8c)=>_0x229c65(_0x2e60d7,_0xc47a8c,_0x30dcde);let _0x2ef4ce=class{constructor(_0x37c6e8,_0x55fc0a,_0x4e3983){const _0x36b87f=_0x223248;this['_injector']=_0x37c6e8,this[_0x36b87f(0x329)]=_0x55fc0a,this['_docStateChangeManagerService']=_0x4e3983;}[_0x223248(0x34b)](_0x380d44){this['_transformHistoryAndStateStack'](_0x380d44);}[_0x223248(0x23d)](_0x27a926){const _0x880ba1=_0x223248,{unitID:_0x6b3c37}=_0x27a926,{collaboration:_0x226a73}=this[_0x880ba1(0x23a)][_0x880ba1(0x384)](_0x6b3c37);if(_0x226a73[_0x880ba1(0x25a)]===0x0)return _0x27a926;let _0x2d48fc=_0x380f2c['Tools']['deepClone'](_0x27a926[_0x880ba1(0x1d4)][0x0]);for(let _0x15256c=0x0;_0x15256c<_0x226a73[_0x880ba1(0x25a)];_0x15256c++){const _0x3f1b42={'id':_0x880ba1(0x3f5),'params':{'unitId':_0x226a73[_0x15256c]['unitId'],..._0x226a73[_0x15256c][_0x880ba1(0x3f1)]}},_0x38f3b0=this[_0x880ba1(0x329)][_0x880ba1(0x240)](_0x2d48fc,_0x3f1b42,!0x1);if(_0x4946eb[_0x880ba1(0x1b1)](_0x38f3b0))throw _0x38f3b0[_0x880ba1(0x3cb)];_0x2d48fc=_0x38f3b0['m1Prime'];}return{..._0x380f2c['Tools']['deepClone'](_0x27a926),'mutations':[_0x2d48fc]};}[_0x223248(0x1f0)](_0x3579af){const _0x3d9d7d=_0x223248,{unitID:_0x22c4e2}=_0x3579af,{history:_0x38fe9e,collaboration:_0x329158}=this['_docStateChangeManagerService']['getStateCache'](_0x22c4e2);if(_0x38fe9e['length']===0x0&&_0x329158['length']===0x0)return;const _0x35eec0=[],_0x3c8583=[];let _0x305508=_0x380f2c[_0x3d9d7d(0x31c)]['deepClone'](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x4e1d37=_0x38fe9e['length']-0x1;_0x4e1d37>=0x0;_0x4e1d37--){const _0x441fbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3b6)]}},_0x5495dd={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3f1)]}},_0x32571e=this[_0x3d9d7d(0x329)]['transformMutation'](_0x305508,_0x441fbc,!0x1),_0x50b547=this[_0x3d9d7d(0x329)]['transformMutation'](_0x13ef13,_0x5495dd,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x32571e))throw _0x32571e[_0x3d9d7d(0x3cb)];if(_0x4946eb['isTransformMutationFailure'](_0x50b547))throw _0x50b547['error'];_0x35eec0[_0x3d9d7d(0x2a9)]({..._0x38fe9e[_0x4e1d37],'undoState':_0x32571e[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)],'redoState':_0x50b547[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x32571e[_0x3d9d7d(0x1f2)],_0x13ef13=_0x50b547[_0x3d9d7d(0x1f2)];}_0x305508=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c[_0x3d9d7d(0x31c)][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x5ad359=_0x329158[_0x3d9d7d(0x25a)]-0x1;_0x5ad359>=0x0;_0x5ad359--){const _0x241172={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x329158[_0x5ad359]['unitId'],..._0x329158[_0x5ad359][_0x3d9d7d(0x3b6)]}},_0x62cfea={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x329158[_0x5ad359][_0x3d9d7d(0x341)],..._0x329158[_0x5ad359][_0x3d9d7d(0x3f1)]}},_0x52d733=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x305508,_0x241172,!0x1),_0x4fe05c=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x13ef13,_0x62cfea,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x52d733))throw _0x52d733[_0x3d9d7d(0x3cb)];if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x4fe05c))throw _0x4fe05c[_0x3d9d7d(0x3cb)];_0x3c8583['unshift']({..._0x329158[_0x5ad359],'undoState':_0x52d733['m2Prime']['params'],'redoState':_0x4fe05c[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x52d733['m1Prime'],_0x13ef13=_0x4fe05c[_0x3d9d7d(0x1f2)];}this[_0x3d9d7d(0x23a)]['setStateCache'](_0x22c4e2,{'history':_0x35eec0,'collaboration':_0x3c8583});}};_0x2ef4ce=_0xf02698([_0x2e01d2(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x2e01d2(0x1,_0x4946eb[_0x223248(0x382)]),_0x2e01d2(0x2,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)]))],_0x2ef4ce);var _0x2d7dbf=Object['getOwnPropertyDescriptor'],_0x2c6e8e=(_0x5642cd,_0x50db90,_0x325b56,_0x185d79)=>{const _0x50a9e6=_0x223248;for(var _0x5d0c8b=_0x185d79>0x1?void 0x0:_0x185d79?_0x2d7dbf(_0x50db90,_0x325b56):_0x50db90,_0x558658=_0x5642cd[_0x50a9e6(0x25a)]-0x1,_0x5328bb;_0x558658>=0x0;_0x558658--)(_0x5328bb=_0x5642cd[_0x558658])&&(_0x5d0c8b=_0x5328bb(_0x5d0c8b)||_0x5d0c8b);return _0x5d0c8b;},_0x3a5bdf=(_0x259a22,_0x522639)=>(_0x35bcd6,_0x2137bb)=>_0x522639(_0x35bcd6,_0x2137bb,_0x259a22);let _0x1e55c8=class{constructor(_0x326fcf,_0x54a506){const _0xe60b06=_0x223248;this[_0xe60b06(0x1d3)]=_0x326fcf,this[_0xe60b06(0x329)]=_0x54a506;}[_0x223248(0x3ac)](_0xa70327){const _0x79ae46=_0x223248;var _0x53a98d;const _0x19d9fb=this[_0x79ae46(0x1d3)][_0x79ae46(0x3cf)](_0x1bf15b[_0x79ae46(0x279)]),_0xa3b69a=(_0x53a98d=_0x19d9fb['getDocRanges']())!=null?_0x53a98d:[];if(_0xa3b69a['length']===0x0)return;const _0x24895b=_0xa70327[_0x79ae46(0x293)],_0x564b3b=[{'id':_0x79ae46(0x3f5),'params':{'unitId':_0x24895b,'actions':null,'textRanges':_0xa3b69a}}],_0x2c674d=this[_0x79ae46(0x329)]['transformMutationsWithChangeset'](_0xa70327,_0x564b3b);if(!_0x4946eb[_0x79ae46(0x2ac)](_0x2c674d))throw _0x2c674d[_0x79ae46(0x3cb)];const _0xb78b0c=_0x2c674d['m2Prime'][0x0][_0x79ae46(0x28f)][_0x79ae46(0x3d3)];Array[_0x79ae46(0x1c5)](_0xb78b0c)&&_0xb78b0c['length']&&_0x19d9fb[_0x79ae46(0x423)](_0xb78b0c,{'unitId':_0x24895b,'subUnitId':_0x24895b},!0x1);}};_0x1e55c8=_0x2c6e8e([_0x3a5bdf(0x0,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x3a5bdf(0x1,_0x4946eb['ITransformService'])],_0x1e55c8);var _0x3fe5ee=Object[_0x223248(0x265)],_0x134018=(_0x89320d,_0x591e1c,_0x42a0f5,_0x61390f)=>{for(var _0x132a49=_0x61390f>0x1?void 0x0:_0x61390f?_0x3fe5ee(_0x591e1c,_0x42a0f5):_0x591e1c,_0x2818d1=_0x89320d['length']-0x1,_0x57db8f;_0x2818d1>=0x0;_0x2818d1--)(_0x57db8f=_0x89320d[_0x2818d1])&&(_0x132a49=_0x57db8f(_0x132a49)||_0x132a49);return _0x132a49;},_0x360b6a=(_0x2aa3cb,_0xe80aa8)=>(_0x22f098,_0x3ce83d)=>_0xe80aa8(_0x22f098,_0x3ce83d,_0x2aa3cb);let _0x2d6223=class extends _0x380f2c['Disposable']{constructor(_0xaf685c,_0x12f5a1,_0x181172,_0x21c94c,_0x268cc4,_0x16c37b,_0x2f57f3,_0x2e5a1e){const _0x555ff1=_0x223248;super(),_0x44255b(this,_0x555ff1(0x32b),new _0x309759[(_0x555ff1(0x3e2))](_0x25172a['CollaborationStatus'][_0x555ff1(0x1cc)])),(this[_0x555ff1(0x23a)]=_0xaf685c,this[_0x555ff1(0x1b4)]=_0x12f5a1,this[_0x555ff1(0x1bc)]=_0x181172,this[_0x555ff1(0x2d8)]=_0x21c94c,this[_0x555ff1(0x1ff)]=_0x268cc4,this['_docSyncEditingCollabCursorService']=_0x16c37b,this[_0x555ff1(0x318)]=_0x2f57f3,this['_localeService']=_0x2e5a1e,this[_0x555ff1(0x2c7)]());}[_0x223248(0x2c7)](){const _0x445f7c=_0x223248;this[_0x445f7c(0x1e9)](this[_0x445f7c(0x1b4)][_0x445f7c(0x20a)][_0x445f7c(0x1d9)](_0x6efa92=>{const _0x335c75=_0x445f7c,_0x51ae5b=this[_0x335c75(0x23a)][_0x335c75(0x1bb)][_0x335c75(0x1d9)](_0x258650=>{const _0x45cd35=_0x335c75;if(_0x258650==null)return;const {unitId:_0x471cef,redoState:_0x333353,commandId:_0x2ce930}=_0x258650;if(_0x471cef!==_0x6efa92[_0x45cd35(0x293)])return;const _0x4dadf9={'id':_0x2ce930,'type':_0x380f2c[_0x45cd35(0x3d4)][_0x45cd35(0x2d1)],'params':{'unitId':_0x471cef,'actions':_0x333353[_0x45cd35(0x2aa)],'textRanges':null}};_0x6efa92[_0x45cd35(0x1c2)](_0x4dadf9);});if(_0x6efa92[_0x335c75(0x1e9)](_0x51ae5b),_0x6efa92 instanceof _0x25172a[_0x335c75(0x1e5)]){const _0x84c444={'onTransformIME':_0x19cc3f=>this['_docTransformIMECacheService'][_0x335c75(0x2b9)](_0x19cc3f),'onTransformState':_0x54b407=>this[_0x335c75(0x2d8)]['transformStateCache'](_0x54b407),'onTransformSelections':_0x1065f8=>this[_0x335c75(0x1ff)][_0x335c75(0x3ac)](_0x1065f8),'onSyncEditingCollabCursor':_0x2ee3d6=>this[_0x335c75(0x237)][_0x335c75(0x3b5)](_0x2ee3d6),'onTransformRemoteChangesetByIMECache':_0x4fafea=>this[_0x335c75(0x1bc)]['transformRemoteChangeset'](_0x4fafea),'onTransformRemoteChangesetByStateCache':_0x348022=>this[_0x335c75(0x2d8)][_0x335c75(0x23d)](_0x348022)};_0x6efa92['addHandlerCallback'](_0x84c444);}}));}};_0x2d6223=_0x134018([_0x360b6a(0x0,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)])),_0x360b6a(0x1,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x360b6a(0x2,_0x380f2c[_0x223248(0x352)](_0x32a844)),_0x360b6a(0x3,_0x380f2c[_0x223248(0x352)](_0x2ef4ce)),_0x360b6a(0x4,_0x380f2c['Inject'](_0x1e55c8)),_0x360b6a(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x360b6a(0x6,_0x26ee6d[_0x223248(0x300)]),_0x360b6a(0x7,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x2d6223);var _0x398512=Object[_0x223248(0x265)],_0x4734bc=(_0xc45cbb,_0x44d3b2,_0x5da003,_0x50a0d7)=>{const _0xb8a5f1=_0x223248;for(var _0x520283=_0x50a0d7>0x1?void 0x0:_0x50a0d7?_0x398512(_0x44d3b2,_0x5da003):_0x44d3b2,_0x5b90f8=_0xc45cbb[_0xb8a5f1(0x25a)]-0x1,_0x3d674b;_0x5b90f8>=0x0;_0x5b90f8--)(_0x3d674b=_0xc45cbb[_0x5b90f8])&&(_0x520283=_0x3d674b(_0x520283)||_0x520283);return _0x520283;},_0x3e534c=(_0x1304ac,_0x5cdd23)=>(_0x3dd40e,_0x3885f4)=>_0x5cdd23(_0x3dd40e,_0x3885f4,_0x1304ac);let _0x98e152=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x47300f,_0x444d8d,_0x2e8598){const _0x3bff94=_0x223248;super(),_0x44255b(this,_0x3bff94(0x422),new Map()),_0x44255b(this,_0x3bff94(0x425),new Map()),_0x44255b(this,_0x3bff94(0x277),!0x1),(this['_configService']=_0x47300f,this[_0x3bff94(0x3e8)]=_0x444d8d,this[_0x3bff94(0x332)]=_0x2e8598);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x223248(0x1e7)](){this['_disabled']=!0x1;}get[_0x223248(0x364)](){return this['_saveTaskMap'];}[_0x223248(0x1d8)](){const _0x5c7f34=_0x223248;this[_0x5c7f34(0x21d)]()[_0x5c7f34(0x3f6)](()=>super[_0x5c7f34(0x1d8)]());}async[_0x223248(0x28e)](_0x180695){const _0xa6cbd3=_0x223248;return this[_0xa6cbd3(0x277)]?null:this[_0xa6cbd3(0x3e8)][_0xa6cbd3(0x272)](_0x25172a[_0xa6cbd3(0x392)](_0x180695));}async[_0x223248(0x271)](_0x4d3816,_0x4232b1){const _0x496037=_0x223248;return!!this[_0x496037(0x3e8)]['setItem'](_0x4d3816,_0x4232b1);}[_0x223248(0x2ce)](_0xd9f7f5,_0x321723,_0x2bf1b5,_0x58dc54){const _0xda390d=_0x223248,_0x2b812f=this[_0xda390d(0x332)][_0xda390d(0x24d)](_0xd9f7f5);this[_0xda390d(0x422)][_0xda390d(0x269)](_0xd9f7f5,{'unitID':_0xd9f7f5,'type':_0x321723,'awaitingChangeset':_0x2bf1b5,'mutations':_0x58dc54,'rev':_0x2b812f}),this['_saveTaskMap'][_0xda390d(0x2e5)](_0xd9f7f5)||this['_scheduleSaving'](_0xd9f7f5);}[_0x223248(0x22f)](_0x413a95){const _0xc20009=_0x223248,_0x5a1037=this[_0xc20009(0x3cc)]();_0x5a1037===0x0?this['_saveCache'](_0x413a95):this[_0xc20009(0x425)][_0xc20009(0x269)](_0x413a95,setTimeout(()=>this[_0xc20009(0x33d)](_0x413a95),_0x5a1037));}[_0x223248(0x3cc)](){const _0x2de0b7=_0x223248;var _0x4c8a39;return(_0x4c8a39=this[_0x2de0b7(0x418)][_0x2de0b7(0x3d1)](_0x25172a[_0x2de0b7(0x21e)]))!=null?_0x4c8a39:_0x25172a['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x171e00){const _0x59e43e=_0x223248,_0x354c37=this['_saveTaskMap'][_0x59e43e(0x3cf)](_0x171e00);return _0x354c37!==void 0x0&&window[_0x59e43e(0x22d)](_0x354c37),this[_0x59e43e(0x3e8)][_0x59e43e(0x260)](_0x25172a['getLocalCacheKey'](_0x171e00),this[_0x59e43e(0x422)]['get'](_0x171e00))[_0x59e43e(0x3f6)](()=>this[_0x59e43e(0x425)][_0x59e43e(0x344)](_0x171e00));}async[_0x223248(0x21d)](){const _0x2bcdd4=_0x223248,_0x21f066=[];this[_0x2bcdd4(0x425)][_0x2bcdd4(0x258)]((_0x188dda,_0x464fcd)=>{const _0x3a0c33=_0x2bcdd4;window[_0x3a0c33(0x22d)](_0x188dda),_0x21f066['push'](this[_0x3a0c33(0x33d)](_0x464fcd)[_0x3a0c33(0x3f6)](()=>{const _0x46d33b=_0x3a0c33;this[_0x46d33b(0x425)]['delete'](_0x464fcd);}));}),await Promise[_0x2bcdd4(0x340)](_0x21f066);}};_0x98e152=_0x4734bc([_0x3e534c(0x0,_0x380f2c['IConfigService']),_0x3e534c(0x1,_0x380f2c[_0x223248(0x41b)]),_0x3e534c(0x2,_0x380f2c[_0x223248(0x352)](_0x4946eb[_0x223248(0x2b6)]))],_0x98e152);class _0x105840 extends _0x380f2c[_0x223248(0x1a7)]{constructor(){const _0x4f9d32=_0x223248;super(),_0x44255b(this,'urlChange$'),this[_0x4f9d32(0x385)]=_0x309759['fromEvent'](window,_0x4f9d32(0x195))[_0x4f9d32(0x278)](_0x309759['takeUntil'](this[_0x4f9d32(0x41a)]),_0x309759[_0x4f9d32(0x411)](0x1),_0x309759[_0x4f9d32(0x2b2)](void 0x0));}[_0x223248(0x24b)](_0x4d92b3,_0x34f5df,_0x4f46aa=!0x1){const _0x13115c=_0x223248,_0x21accb=new URL(window[_0x13115c(0x315)][_0x13115c(0x2f3)]);_0x21accb['searchParams'][_0x13115c(0x269)](_0x4d92b3,_0x34f5df),_0x4f46aa?window[_0x13115c(0x274)][_0x13115c(0x1df)]('','',_0x21accb[_0x13115c(0x3d7)]()):window[_0x13115c(0x274)][_0x13115c(0x357)]('','',_0x21accb[_0x13115c(0x3d7)]());}[_0x223248(0x3f8)](_0x1ba2c2,_0x57bc0b=!0x1){const _0x34ac53=_0x223248,_0x3dc56a=new URL(window[_0x34ac53(0x315)]['href']);_0x3dc56a['searchParams'][_0x34ac53(0x344)](_0x1ba2c2),_0x57bc0b?window['history']['replaceState']('','',_0x3dc56a[_0x34ac53(0x3d7)]()):window[_0x34ac53(0x274)]['pushState']('','',_0x3dc56a[_0x34ac53(0x3d7)]());}[_0x223248(0x313)](_0x53e055){const _0x14ab34=_0x223248;var _0x1b4f7b;return(_0x1b4f7b=new URL(window[_0x14ab34(0x315)][_0x14ab34(0x2f3)])[_0x14ab34(0x205)][_0x14ab34(0x3cf)](_0x53e055))!=null?_0x1b4f7b:void 0x0;}}var _0x2c57d5=Object[_0x223248(0x40a)],_0x42bfa1=Object['getOwnPropertyDescriptor'],_0x2c1d70=(_0x1a8182,_0x4a6bcc,_0x2f47f9)=>_0x4a6bcc in _0x1a8182?_0x2c57d5(_0x1a8182,_0x4a6bcc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f47f9}):_0x1a8182[_0x4a6bcc]=_0x2f47f9,_0x1c60d5=(_0x219a9d,_0x211594,_0x508e65,_0x533ca9)=>{const _0x3f8744=_0x223248;for(var _0x540949=_0x533ca9>0x1?void 0x0:_0x533ca9?_0x42bfa1(_0x211594,_0x508e65):_0x211594,_0x3cffa6=_0x219a9d[_0x3f8744(0x25a)]-0x1,_0x5a91af;_0x3cffa6>=0x0;_0x3cffa6--)(_0x5a91af=_0x219a9d[_0x3cffa6])&&(_0x540949=_0x5a91af(_0x540949)||_0x540949);return _0x540949;},_0x16ee5e=(_0x18e0ea,_0x4ebd84)=>(_0x573503,_0x447c76)=>_0x4ebd84(_0x573503,_0x447c76,_0x18e0ea),_0xaa68f1=(_0x1a259e,_0x535dd4,_0x4098a9)=>_0x2c1d70(_0x1a259e,_0x535dd4+'',_0x4098a9);const _0xdcb9e=_0x223248(0x2a0);_0x4394f4['UniverCollaborationClientUIPlugin']=class extends _0x380f2c[_0x223248(0x409)]{constructor(_0x293e28=_0xda5603,_0x2c7134,_0x313a7e,_0x444bd2){const _0x2ae082=_0x223248;super(),this[_0x2ae082(0x386)]=_0x293e28,this['_renderManagerService']=_0x2c7134,this['_injector']=_0x313a7e,this[_0x2ae082(0x418)]=_0x444bd2;const {..._0x36d59b}=_0x380f2c['merge']({},_0xda5603,this[_0x2ae082(0x386)]);this[_0x2ae082(0x418)]['setConfig'](_0x1840e5,_0x36d59b);}[_0x223248(0x379)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x223248(0x350)](){const _0x527a5a=_0x223248;this[_0x527a5a(0x299)]();}[_0x223248(0x19f)](){const _0x26bead=_0x223248;var _0xcf2d1e;const _0x3a1b3c=[[_0xd7751],[_0x1e55c8],[_0x32a844],[_0x2ef4ce],[_0x19792d],[_0x51b8d1,{'useClass':_0x105840}],[_0x54dd82[_0x26bead(0x206)],{'useClass':_0x54dd82['WebSocketService']}],[_0x25172a[_0x26bead(0x20b)],{'useClass':_0x98e152}],[_0x4394f4[_0x26bead(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4f3310],[_0x287dac],[_0x4394f4[_0x26bead(0x31a)]]];_0x380f2c[_0x26bead(0x28b)](this[_0x26bead(0x1d3)],_0x380f2c[_0x26bead(0x243)](_0x3a1b3c,(_0xcf2d1e=this['_config'])==null?void 0x0:_0xcf2d1e[_0x26bead(0x336)]));}[_0x223248(0x299)](){const _0x2ada80=_0x223248;this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)]['registerRenderModule'](_0x380f2c[_0x2ada80(0x1a9)][_0x2ada80(0x30f)],[_0x5dbc37])),this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)][_0x2ada80(0x2c0)](_0x380f2c['UniverInstanceType'][_0x2ada80(0x22a)],[_0x15d7ee]));}[_0x223248(0x3fc)](){const _0x2625ab=_0x223248;_0x380f2c[_0x2625ab(0x3e6)](this['_injector'],[[_0x4f3310],[_0x4394f4[_0x2625ab(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4394f4['CollaborationDataLoaderController']]]);}},_0xaa68f1(_0x4394f4[_0x223248(0x2e6)],_0x223248(0x3b3),_0xdcb9e),_0x4394f4[_0x223248(0x2e6)]=_0x1c60d5([_0x380f2c[_0x223248(0x194)](_0x25172a[_0x223248(0x2e2)]),_0x16ee5e(0x1,_0x562cf5['IRenderManagerService']),_0x16ee5e(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x16ee5e(0x3,_0x380f2c[_0x223248(0x3df)])],_0x4394f4[_0x223248(0x2e6)]);var _0xfe2645=Object[_0x223248(0x265)],_0x319922=(_0x2a3164,_0x19e68f,_0x2abe04,_0x270245)=>{const _0x306f75=_0x223248;for(var _0x10fdf7=_0x270245>0x1?void 0x0:_0x270245?_0xfe2645(_0x19e68f,_0x2abe04):_0x19e68f,_0x2d7e83=_0x2a3164[_0x306f75(0x25a)]-0x1,_0x1dff4b;_0x2d7e83>=0x0;_0x2d7e83--)(_0x1dff4b=_0x2a3164[_0x2d7e83])&&(_0x10fdf7=_0x1dff4b(_0x10fdf7)||_0x10fdf7);return _0x10fdf7;},_0x588dd3=(_0x233b9f,_0x14776f)=>(_0x543bb6,_0x37e3b3)=>_0x14776f(_0x543bb6,_0x37e3b3,_0x233b9f);_0x4394f4['BrowserCollaborationSocketService']=class extends _0x25172a[_0x223248(0x41c)]{constructor(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7){super(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7);}async[_0x223248(0x38c)](_0x3fba41){const _0x3e79b4=_0x223248,_0x39d21c=await this[_0x3e79b4(0x3ae)](),_0x456e48=this[_0x3e79b4(0x261)](_0x3fba41,_0x39d21c);return this[_0x3e79b4(0x3c9)](_0x456e48);}['_createSocketURL'](_0x27416d,_0x55144a){const _0x5478f9=_0x223248,_0x21567d=typeof window>'u'?new URL(_0x27416d):new URL(_0x27416d,window[_0x5478f9(0x315)][_0x5478f9(0x211)]);_0x21567d[_0x5478f9(0x205)][_0x5478f9(0x269)](_0x5478f9(0x27d),_0x55144a);const _0x4aa143=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5478f9(0x315)][_0x5478f9(0x3a1)]);return _0x4aa143[_0x5478f9(0x3cf)](_0x5478f9(0x1a1))&&_0x21567d[_0x5478f9(0x205)]['set'](_0x5478f9(0x1a1),_0x4aa143['get']('runId')),_0x21567d[_0x5478f9(0x3d7)]();}async[_0x223248(0x3ae)](){const _0x5ee417=_0x223248;var _0x1bc845,_0x3acc2a,_0x45ed13;const _0x2ec832=this[_0x5ee417(0x418)][_0x5ee417(0x3d1)](_0x25172a[_0x5ee417(0x366)]),_0x374487=(_0x1bc845=_0x2ec832==null?void 0x0:_0x2ec832[_0x5ee417(0x216)])!=null?_0x1bc845:_0x25172a[_0x5ee417(0x1dd)];return(_0x45ed13=(_0x3acc2a=(await this[_0x5ee417(0x25e)][_0x5ee417(0x3cf)](_0x374487,{'headers':{'Content-Type':_0x5ee417(0x2b3)}}))[_0x5ee417(0x39c)])==null?void 0x0:_0x3acc2a[_0x5ee417(0x30c)])!=null?_0x45ed13:'';}},_0x4394f4['BrowserCollaborationSocketService']=_0x319922([_0x588dd3(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x588dd3(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x588dd3(0x2,_0x380f2c[_0x223248(0x3df)]),_0x588dd3(0x3,_0x380f2c[_0x223248(0x325)]),_0x588dd3(0x4,_0x4946eb[_0x223248(0x2fe)])],_0x4394f4[_0x223248(0x18c)]);const _0x4708a1=0x7530,_0x15b1d8=_0x223248(0x21b);class _0x590cb8 extends _0x380f2c[_0x223248(0x203)]{constructor(){const _0x33de8d=_0x223248;super(),_0x44255b(this,_0x33de8d(0x347),_0x380f2c[_0x33de8d(0x314)]()),_0x44255b(this,_0x33de8d(0x30e),new Set()),_0x44255b(this,_0x33de8d(0x391),new Map()),_0x44255b(this,_0x33de8d(0x238),null),_0x44255b(this,_0x33de8d(0x210),new Map()),_0x44255b(this,'_unitStatus',new Map()),this[_0x33de8d(0x18f)]();}[_0x223248(0x1d8)](){const _0x4fac1e=_0x223248;super[_0x4fac1e(0x1d8)](),this[_0x4fac1e(0x210)][_0x4fac1e(0x258)]((_0x1500a2,_0x1c81d5)=>this[_0x4fac1e(0x38a)](_0x1c81d5)),this[_0x4fac1e(0x238)]&&window[_0x4fac1e(0x37b)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5bf10b){const _0x3f11f9=_0x223248;return this[_0x3f11f9(0x1a3)](_0x5bf10b)['pipe'](_0x309759[_0x3f11f9(0x1d5)]());}[_0x223248(0x405)](_0x221c7f){const _0xdb27ee=_0x223248;this[_0xdb27ee(0x30e)]['size']===0x0&&this[_0xdb27ee(0x3fb)](),this['_selfUnitIDs'][_0xdb27ee(0x23c)](_0x221c7f),this['_send']({'type':0x0,'memberID':this[_0xdb27ee(0x347)],'unitIDs':[_0x221c7f],'isForwarded':!0x1});}['disposeUnit'](_0x178d4d){const _0xe58e05=_0x223248;this[_0xe58e05(0x30e)][_0xe58e05(0x344)](_0x178d4d),this[_0xe58e05(0x30e)][_0xe58e05(0x2c5)]===0x0&&this['_heartbeatTimer']&&window[_0xe58e05(0x37b)](this[_0xe58e05(0x238)]);}[_0x223248(0x18f)](){const _0x1bdde3=_0x223248;this[_0x1bdde3(0x1e9)](_0x380f2c[_0x1bdde3(0x242)](_0x309759['fromEvent'](window,'storage')[_0x1bdde3(0x1d9)](_0x165368=>{const _0x2fc772=_0x1bdde3;if(_0x165368[_0x2fc772(0x1af)]!==_0x15b1d8||!_0x165368[_0x2fc772(0x202)])return;const _0x25a5bb=JSON[_0x2fc772(0x33b)](_0x165368[_0x2fc772(0x202)]);this['_handleEvent'](_0x25a5bb);}))),window[_0x1bdde3(0x1d6)](_0x1bdde3(0x3e1),()=>this[_0x1bdde3(0x39d)]({'type':0x1,'memberID':this[_0x1bdde3(0x347)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x223248(0x303)](_0x55efb9){const _0xbfa116=_0x223248;switch(_0x55efb9[_0xbfa116(0x33a)]){case 0x0:this[_0xbfa116(0x2dc)](_0x55efb9);break;case 0x1:this['_handleLeaveEvent'](_0x55efb9);break;case 0x2:this['_handleHeartbeatEvent'](_0x55efb9);break;}}[_0x223248(0x2dc)](_0x4a10c5){const _0x46ecd5=_0x223248,{unitIDs:_0x1fc6c1,memberID:_0xf40744,isForwarded:_0x2448a9}=_0x4a10c5;_0x1fc6c1[_0x46ecd5(0x258)](_0x568712=>{const _0x16c077=_0x46ecd5;if(!_0x2448a9&&this['_unitOnClients'][_0x16c077(0x2e5)](_0x568712)&&this[_0x16c077(0x1a3)](_0x568712)[_0x16c077(0x428)](_0x25172a[_0x16c077(0x3a3)][_0x16c077(0x3a2)]),!this[_0x16c077(0x391)]['has'](_0x568712)||!this[_0x16c077(0x391)]['get'](_0x568712)['has'](_0xf40744)){const _0xff0a6f=this[_0x16c077(0x391)]['get'](_0x568712)||new Set();_0xff0a6f[_0x16c077(0x23c)](_0xf40744),this[_0x16c077(0x391)]['set'](_0x568712,_0xff0a6f),this[_0x16c077(0x219)](_0xf40744);}}),_0x2448a9||this[_0x46ecd5(0x39d)]({'type':0x0,'memberID':this[_0x46ecd5(0x347)],'unitIDs':[...this[_0x46ecd5(0x30e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xc770e8){const _0x38f14b=_0x223248;this[_0x38f14b(0x38a)](_0xc770e8);const _0x5858d6=window['setTimeout'](()=>{const _0x1d6d33=_0x38f14b;this[_0x1d6d33(0x391)][_0x1d6d33(0x258)](_0x57c37d=>{_0x57c37d['delete'](_0xc770e8);});},_0x4708a1*0x2);this[_0x38f14b(0x210)]['set'](_0xc770e8,_0x5858d6);}[_0x223248(0x38a)](_0x3ad6a5){const _0x8a10a1=_0x223248;if(this[_0x8a10a1(0x210)][_0x8a10a1(0x2e5)](_0x3ad6a5)){const _0x39b826=this[_0x8a10a1(0x210)][_0x8a10a1(0x3cf)](_0x3ad6a5);_0x39b826&&window[_0x8a10a1(0x22d)](_0x39b826),this['_clearOtherTimers'][_0x8a10a1(0x269)](_0x3ad6a5,null);}}['_handleLeaveEvent'](_0x286cb5){const _0x4dd4de=_0x223248,{memberID:_0x182cc0,unitIDs:_0x91939f}=_0x286cb5;_0x91939f['forEach'](_0x1d2409=>{const _0x806e8b=_0x316b;var _0x52e501;const _0x126d8b=this[_0x806e8b(0x391)][_0x806e8b(0x3cf)](_0x1d2409);_0x126d8b&&(_0x126d8b[_0x806e8b(0x344)](_0x182cc0),(_0x52e501=this[_0x806e8b(0x1a3)](_0x1d2409))==null||_0x52e501[_0x806e8b(0x428)](_0x126d8b[_0x806e8b(0x2c5)]===0x0?_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x20c)]:_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x3a2)]));}),this[_0x4dd4de(0x38a)](_0x182cc0);}[_0x223248(0x2d6)](_0x2eff1e){const _0x34e9e6=_0x223248;this[_0x34e9e6(0x219)](_0x2eff1e['memberID']);}['_send'](_0x3c6c2d){const _0x3e9974=_0x223248;localStorage[_0x3e9974(0x260)](_0x15b1d8,JSON[_0x3e9974(0x26d)](_0x3c6c2d));}[_0x223248(0x3fb)](){const _0x297fc2=_0x223248;this[_0x297fc2(0x238)]=window[_0x297fc2(0x2be)](()=>{const _0x28c8d7=_0x297fc2;this['_send']({'type':0x2,'memberID':this[_0x28c8d7(0x347)]});},_0x4708a1);}['_ensureSubject'](_0x574be2){const _0x330439=_0x223248;return this[_0x330439(0x307)][_0x330439(0x2e5)](_0x574be2)||this[_0x330439(0x307)][_0x330439(0x269)](_0x574be2,new _0x309759[(_0x330439(0x3e2))](_0x25172a[_0x330439(0x3a3)][_0x330439(0x20c)])),this[_0x330439(0x307)][_0x330439(0x3cf)](_0x574be2);}}var _0x44d99f=(_0x572f7a=>(_0x572f7a[_0x572f7a[_0x223248(0x304)]=0x0]=_0x223248(0x304),_0x572f7a[_0x572f7a['OK']=0x1]='OK',_0x572f7a[_0x572f7a[_0x223248(0x351)]=0x2]=_0x223248(0x351),_0x572f7a[_0x572f7a[_0x223248(0x38e)]=0x3]=_0x223248(0x38e),_0x572f7a[_0x572f7a[_0x223248(0x29d)]=0x4]='NOT_FOUND',_0x572f7a[_0x572f7a[_0x223248(0x36a)]=0x5]=_0x223248(0x36a),_0x572f7a[_0x572f7a['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x572f7a[_0x572f7a[_0x223248(0x1be)]=0x7]='INVALID_ARGUMENT',_0x572f7a[_0x572f7a[_0x223248(0x281)]=0x8]=_0x223248(0x281),_0x572f7a[_0x572f7a['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x572f7a[_0x572f7a[_0x223248(0x360)]=0xa]=_0x223248(0x360),_0x572f7a[_0x572f7a[_0x223248(0x2cc)]=0x1389]=_0x223248(0x2cc),_0x572f7a[_0x572f7a[_0x223248(0x2b8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x572f7a[_0x572f7a[_0x223248(0x2f9)]=0x1772]=_0x223248(0x2f9),_0x572f7a[_0x572f7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x223248(0x346),_0x572f7a[_0x572f7a[_0x223248(0x3b7)]=0x1b59]=_0x223248(0x3b7),_0x572f7a[_0x572f7a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x223248(0x26c),_0x572f7a[_0x572f7a[_0x223248(0x29c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x572f7a[_0x572f7a[_0x223248(0x3bc)]=0x1b5c]=_0x223248(0x3bc),_0x572f7a[_0x572f7a[_0x223248(0x3b1)]=0x1b5d]=_0x223248(0x3b1),_0x572f7a[_0x572f7a[_0x223248(0x375)]=0x1f41]=_0x223248(0x375),_0x572f7a[_0x572f7a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x572f7a[_0x572f7a[_0x223248(0x361)]=0x232a]=_0x223248(0x361),_0x572f7a[_0x572f7a[_0x223248(0x1ea)]=0x232b]=_0x223248(0x1ea),_0x572f7a[_0x572f7a[_0x223248(0x414)]=0x232c]=_0x223248(0x414),_0x572f7a[_0x572f7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x223248(0x2af),_0x572f7a[_0x572f7a[_0x223248(0x359)]=0x2711]=_0x223248(0x359),_0x572f7a[_0x572f7a[_0x223248(0x27f)]=0x2712]=_0x223248(0x27f),_0x572f7a[_0x572f7a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x223248(0x29a),_0x572f7a[_0x572f7a[_0x223248(0x1b5)]=0x2714]=_0x223248(0x1b5),_0x572f7a[_0x572f7a[_0x223248(0x2ad)]=0x271a]=_0x223248(0x2ad),_0x572f7a[_0x572f7a['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x223248(0x1e6),_0x572f7a[_0x572f7a[_0x223248(0x2c9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x572f7a[_0x572f7a[_0x223248(0x1e2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x572f7a[_0x572f7a[_0x223248(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x572f7a[_0x572f7a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x223248(0x37e),_0x572f7a[_0x572f7a[_0x223248(0x1fe)]=0x2ee4]=_0x223248(0x1fe),_0x572f7a[_0x572f7a[_0x223248(0x3bf)]=0x2ee5]=_0x223248(0x3bf),_0x572f7a[_0x572f7a[_0x223248(0x3ab)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x572f7a[_0x572f7a[_0x223248(0x218)]=0x32ca]=_0x223248(0x218),_0x572f7a[_0x572f7a[_0x223248(0x34d)]=0x32cb]=_0x223248(0x34d),_0x572f7a[_0x572f7a[_0x223248(0x18d)]=-0x1]=_0x223248(0x18d),_0x572f7a))(_0x44d99f||{}),_0x39d249=Object[_0x223248(0x265)],_0x1abf68=(_0x378231,_0xb9c3f,_0x2cb742,_0xfb7419)=>{const _0x1e588f=_0x223248;for(var _0x2e016a=_0xfb7419>0x1?void 0x0:_0xfb7419?_0x39d249(_0xb9c3f,_0x2cb742):_0xb9c3f,_0x44af41=_0x378231[_0x1e588f(0x25a)]-0x1,_0x2e167a;_0x44af41>=0x0;_0x44af41--)(_0x2e167a=_0x378231[_0x44af41])&&(_0x2e016a=_0x2e167a(_0x2e016a)||_0x2e016a);return _0x2e016a;},_0x2c589b=(_0x1d6f88,_0x1682b2)=>(_0x151c19,_0x486e1d)=>_0x1682b2(_0x151c19,_0x486e1d,_0x1d6f88);_0x4394f4[_0x223248(0x27a)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x4ddbec,_0x499a99,_0x4ce6b9){const _0x3342a7=_0x223248;super(),this['_instanceService']=_0x4ddbec,this[_0x3342a7(0x25e)]=_0x499a99,this['_configService']=_0x4ce6b9;}async[_0x223248(0x1ab)](_0x54497e,_0x2bf44c,_0x8d52d5,..._0x345404){const _0x491cfd=_0x223248;var _0x49c4e6,_0x5f2fdd,_0x5b3503,_0x24ec10;const _0x4af7aa=this[_0x491cfd(0x3da)][_0x491cfd(0x2f1)]();if(!_0x4af7aa)throw new Error(_0x491cfd(0x40e));const _0x27d255=((_0x49c4e6=this[_0x491cfd(0x418)][_0x491cfd(0x3d1)](_0x25172a[_0x491cfd(0x31b)]))!=null?_0x49c4e6:_0x25172a[_0x491cfd(0x2a7)])+'/'+_0x54497e+'/run/'+_0x2bf44c,_0x59a1cf=new URL(window['location']['href']),_0xcb2e1a={'scriptId':_0x54497e,'runId':(_0x5f2fdd=_0x59a1cf['searchParams'][_0x491cfd(0x3cf)]('runId'))!=null?_0x5f2fdd:'','function':_0x2bf44c,'unitId':_0x4af7aa[_0x491cfd(0x302)](),'argsOfFunction':JSON[_0x491cfd(0x26d)](_0x345404),'invokeId':(_0x5b3503=_0x8d52d5[_0x491cfd(0x3cd)])!=null?_0x5b3503:'','executionId':(_0x24ec10=_0x8d52d5[_0x491cfd(0x3af)])!=null?_0x24ec10:''};try{const _0x22d40=await this[_0x491cfd(0x25e)][_0x491cfd(0x3ad)](_0x27d255,{'body':_0xcb2e1a});return _0x22d40['body'][_0x491cfd(0x3cb)]&&_0x22d40[_0x491cfd(0x39c)][_0x491cfd(0x3cb)]['code']!==_0x44d99f['OK']?_0x491cfd(0x37a):_0x22d40[_0x491cfd(0x39c)]['result'];}catch{return'Failed';}}},_0x4394f4[_0x223248(0x27a)]=_0x1abf68([_0x2c589b(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2c589b(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x2c589b(0x2,_0x380f2c[_0x223248(0x3df)])],_0x4394f4['RemoteUniscriptService']),_0x4394f4[_0x223248(0x1c8)]=_0xd9adf4,_0x4394f4[_0x223248(0x22b)]=_0x51b8d1,_0x4394f4['SheetCollabCursorShape']=_0x337b75,_0x4394f4[_0x223248(0x251)]=_0x590cb8,_0x4394f4['WebURLService']=_0x105840,Object[_0x223248(0x40a)](_0x4394f4,Symbol[_0x223248(0x412)],{'value':_0x223248(0x323)});}));function _0x316b(_0x11ea3b,_0x56939d){const _0x2b511a=_0x2b51();return _0x316b=function(_0x316bd0,_0x4331d4){_0x316bd0=_0x316bd0-0x18c;let _0x1cd7a3=_0x2b511a[_0x316bd0];return _0x1cd7a3;},_0x316b(_0x11ea3b,_0x56939d);}function _0x2b51(){const _0x13a0eb=['ITransformService','_shapes','getStateCache','urlChange$','_config','OFFLINE','eventID','_getScale','_removeClearOtherTimer','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','createSocket','NodePositionConvertToRectRange','PERMISSION_DENIED','ColorKit','IBeforeCloseService','_unitOnClients','getLocalCacheKey','UniverSheets','url(#off-line-single_clip0_910_343)','_cursors','children','DeleteRangeMoveUpCommandId','save','getSheetBySheetId','_textBubble','gold400','body','_send','UniverDesign','_assignedColors','filter','search','OTHER_CLIENTS_EDITING','UnitStatus','indexOf','2116216FkthkC','_sheetSkeletonManagerService','show','_transformPreviousActiveRange','ONLINE','getSheetId','WECHAT_HAS_BEEN_BOUND','transformSelections','post','_getSessionTicket','executionId','cursorInfo','APPLY_DUPLICATED','runRefRangeMutations','pluginName','_cursorInfo$','syncEditingCollabCursor','undoState','APPLY_REJECT','SOCKET_FAILED_RETRY','restore','handleInsertRangeMoveRight','_online','APPLY_PERMISSION_DENIED','[CollaborationDataLoaderController]','collabCursorState$','INVITE_CODE_ALREADY_BOUND','_uiPartsService','translate(.97)','startColumn','collab-text-anchor-','endRow','Warning','getSkeleton','_hideTimer','SessionStatus','_doCreateSocket','asObservable','error','_getSaveTimeout','invokeId','InsertColCommandId','get','SetTextSelectionsOperation','getConfig','icon','textRanges','CommandType','getMemberID','complete','toString','onPointerMove$','637155cbCsit','_instanceService','getSheetObject','Unknown\x20user','_context','getOwnPropertySymbols','IConfigService','row','unload','BehaviorSubject','AWAITING_WITH_PENDING','startRow','jsxs','touchDependencies','_anchorDot','_localStorageService','loadUnit','getTypeOfUnitDisposed$','_docSkeletonManagerService','debounceTime','moveTo','PENDING','permission.content','debug','redoState','string','unit','useRef','doc.mutation.rich-text-editing','then','_removeCollabCursors','removeParam','use','_onCursorUpdate','_scheduleHeartbeat','_initDependencies','registerBeforeClose','IUniverInstanceService','lineTo','selection','_syncEditingCollabCursorService','_lastPointer','_localCacheService','getCurrentUnitForType','editingUnit','CollaborationSessionService','closePath','_render','Plugin','defineProperty','takeUntil','getAncestorScale','prototype','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','_range','shareReplay','toStringTag','@univerjs-pro/collaboration-client','LICENSE_EXPORT_SIZE_EXCEEDED','_refreshCollabCursors','7908lMPlNf','Workbook','_configService','contains','dispose$','ILocalStorageService','CollaborationSocketService','@univerjs/docs-ui','EffectRefRangId','fillRule','react','FETCH_MISS','_cachedData','replaceDocRanges','INotificationService','_saveTaskMap','ThemeService','black','next','BrowserCollaborationSocketService','UNRECOGNIZED','_backgroundColor','_init','handleMoveRange','MoveRangeCommandId','unsubscribe','round','DependentOn','popstate','_initEvent','jiqing500','connectInjector','startsWith','color','univer-text-red-500','#fff','_collaborationUIEventService','_docClipboardService','_registerDependencies','bottom','runId','DeleteRangeMoveLeftCommandId','_ensureSubject','react/jsx-runtime','some','SetWorksheetActivateCommand','RxDisposable','currentColor','UniverInstanceType','addObjects','runOnServer','exports','session.connection-failed','red300','key','transform','isTransformMutationFailure','_toggleOnline','drawWith','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/docs','tag','_document','Error','collabStatus.notCollab','docStateChange$','_docTransformIMECacheService','url(#$1','INVALID_ARGUMENT','arc','HTTPService','_startSheetCollabCursor','onLocalMutation','Subject','getActiveSheet','isArray','SHEET_VIEWPORT_KEY','@univerjs/drawing','CollaborationStatusDisplay','#FFF','function','concat','NOT_COLLAB','createElement','@univerjs/network','RemoveRowCommandId','transformByState','_startDocCollabCursor','29679RFRiwt','_injector','mutations','distinctUntilChanged','addEventListener','@univerjs/design','dispose','subscribe','0\x200\x2017\x2016','handleDeleteRangeMoveLeft','CollaborationEvent','DEFAULT_WS_SESSION_TICKET_URL','CollaborationStatus','replaceState','_collabCursorController','IDocClipboardService','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','displayName','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','enableLocalCache','collabStatus.fetchMiss','disposeWithMe','LICENSE_IMPORT_SIZE_EXCEEDED','min','getColor','entries','rgba(255,\x20255,\x20255,\x200.01)','random','_transformHistoryAndStateStack','_commandService','m1Prime','_updateCollabCursors','handleDeleteRangeMoveUp','_imageIoService','amd','idSuffix','find','_cursorShapes','path','SUBMIT_CHANGESET_TIMEOUT','getViewport','LocaleService','USER_NOT_INVITED_CODE','_docTransformSelectionsService','colorChannel1','_scene','newValue','Disposable','registerComponent','searchParams','ISocketService','object','getUniverSheetInstance','setShapeProps','entityInit$','ILocalCacheService','NO_OTHER_CLIENTS_EDITING','_onCursorDelete','_anchor','isEditing','_clearOtherTimers','origin','current','rxjs','column','values','wsSessionTicketUrl','addObject','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','switchMap','ACTIVE_UNIT_EVENT_CHANNEL','skeleton','exhaustSavingTask','LOCAL_CACHE_INTERVAL_KEY','getUnhiddenWorksheets','@univerjs/engine-formula','univerjs-icon\x20univerjs-icon-','div','_urlService','UniverIcon','OnLineSingle','_initStatusComponent','svg','_notificationService','_handleHover','UNIVER_SHEET','IURLService','MemberService','clearTimeout','init','_scheduleSaving','cursorInfo$','rxjs/operators','@univerjs-pro/collaboration','_color','executeCommand','_getAnchorBounding','_dataLoaderService','_docSyncEditingCollabCursorService','_heartbeatTimer','_name','_docStateChangeManagerService','deserializeRangeWithSheet','add','transformRemoteChangeset','UniverEngineRender','_drawAnchor','transformMutation','collaboration.closeRoom','toDisposable','mergeOverrideWithDependencies','focused$','assign','attrs','text','1em','collabStatus.syncing','InsertRangeMoveDownCommandId','setParam','onMouseMove','getCurrentRevOfUnit','_refRangeService','_updateSubUnitFromURLParams','_updateURLWithCurrentState','WebBrowserSingleActiveUnitService','IImageIoService','_collabCursorState$','whenReady','_getMergeRange','deepClone','UniverProCollaboration','forEach','UniverProCollaborationClientUi','length','@univerjs/core','Rect','_logService','_httpService','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','setItem','_createSocketURL','CONFLICT','transformMutationsWithChangeset','_setupBeforeClosingHandler','getOwnPropertyDescriptor','collaboration-client-ui.config','getUndoRedoMutationParamsCache','DocIMEInputManagerService','set','DocStateChangeManagerService','xlink:href','APPLY_NON_SEQUENTIAL_REVISION','stringify','BuiltInUIPart','_transformUndoRedoStack','session.will-retry','saveOfflineData','getItem','UPDATE_CURSOR','history','imageSourceType','DOC_RANGE_TYPE','_disabled','pipe','DocSelectionManagerService','RemoteUniscriptService','NodePositionConvertToCursor','forwardRef','sessionTicket','onPointerLeave$','YUUMI_URL_COL_OUT_OF_RANGE','27LIrkam','TOO_MANY_REQUESTS','TEXT','MessageType','getCellPositionByOffset','_session','sheetID','map','debounce','combineLatest','subUnitId','registerDependencies','source','collabStatus.offline','loadOfflineData','params','Injector','serializeRangeWithSheet','none','unitID','event$','_eventUnsubscribe','throttleTime','includes','activeSheet$','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','_localeService','APPLY_REVISION_CONFILICT','NOT_FOUND','setUndoRedoMutationParamsCache','useDependency','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','data','0\x200\x2016\x2016','fillStyle','labelPosition','onPointerEnter$','evenodd','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','call','unshift','actions','defIds','isTransformMutationsWithChangesetSuccess','YUUMI_NO_CUBOID_FOR_QUESTION','368zuEtsG','LICENSE_DISTRO_REJECTED','React','font','mapTo','application/json','_cursor','name','RevisionService','_drawRectRange','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','COLORS','clipPath','width','collabStatus.synced','setInterval','setAlpha','registerRenderModule','_hovered','reconnect','makeDirty','DocSkeletonManagerService','size','fillText','_initEntityListener','defs','PY_RUNTIME_SCRIPT_ERROR','fill','UniverDocs','CHANGESET_REVISION_CONFILICT','getRelativeToViewportCoord','updateOfflineData','univer-text-green-500','HEADER_MENU','MUTATION','on-line-single_clip0_910_349','requireSession','@univerjs/ui','roomMembers','_handleHeartbeatEvent','FromArray','_docTransformStateCacheService','roomMembers$','createInstance','UniverRpc','_handleJoinEvent','findNodePositionByCharIndex','from','25006910FzyTZn','4042339ZeTlCn','assignAColorForMemberID','UniverCollaborationClientPlugin','split','url(#on-line-single_clip0_910_349)','has','UniverCollaborationClientUIPlugin','_initCommandExecutedListener','CLOSE_ROOM','VIEW_MAIN','sessionStatus$','verdancy600','_labelPosition','collaboration-client.offline-data-not-saved','top','_colorIndex','collaboration.single-unit.warning','getFocusedUnit','_initStatusListener','href','getRangePointData','_onRefRangeChange','getValue','Rectangle','_entities','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','SOCKET_FAILED','beginPath','UniverUi','ISnapshotServerService','@univerjs/engine-render','IMessageService','AWAITING','getUnitId','_handleEvent','UNDEFINED','getOffsetConfig','createIdentifier','_unitStatus','_setupSubUnitSync','with','@univerjs/sheets-ui','USERS_LEAVE','ticket','push','_selfUnitIDs','UNIVER_DOC','1703292JJWRbt','INVALID_INVITE_CODE','...','getParam','generateRandomId','location','_initResize','subunit','_messageService','RegularPolygon','CollaborationDataLoaderController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Tools','_draw','useCallback','_hover','Shape','getCollabCursors$','getDocRanges','Module','on-line-single','ILogService','_drawTextRange','getTypeOfUnitAdded$','_toggleOffline','_transformService','jsx','_status$','_roomMembers$','UniverSheetsUi','DesktopCollaborationStatusDisplayController','registerRefRange','DisposableCollection','measureText','_revisionService','UniverCore','getRenderById','UniverDocsUi','override','height','status$','fromEventSubject','type','parse','toRgbString','_saveCache','2095glklSU','_univerInstanceService','all','unitId','getCurrent','SheetSkeletonManagerService','delete','IUIPartsService','ENSURE_SNAPSHOT_EXECUTION','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ranges','RichTextEditingMutation','transformStateCache','univer-flex\x20univer-mr-2\x20univer-text-[20px]','EMAIL_HAS_BEEN_BOUND','_colorAssignService','getCurrentSelections','onRendered','INTERNAL_ERROR','Inject','m2Prime','_entityInit$','CollaborationController','currentSkeleton$','pushState','TEXT_RANGE_LAYER_INDEX','YUUMI_UNABLE_LOAD_URL','blue400','Vector2','apply','currentTheme$','handleIRemoveRow','collabStatus.conflict','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','purple300','extend','saveTaskMap','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','selections','_updateLocalCursor','off-line-single_clip0_910_343','UNAUTHENTICATED','CollaborationUIEventId','send','endColumn','ICommandService','operators','_beforeCloseService','handleInsertRangeMoveDown','DataLoaderService','_renderManagerService','sheetId','CONNECTOR_DATA_TOO_LARGE','CollaborationUIEventService','JOIN_ROOM_FAILED','symbol','onStarting','Failed','clearInterval','SetDocZoomRatioOperation','onCommandExecuted','INVITE_CODE_REQUIRED','UniverDrawing','subscribeEvent','_themeService'];_0x2b51=function(){return _0x13a0eb;};return _0x2b51();}
|
|
1
|
+
function _0x2eeb(){const _0x160d51=['add','textRanges','_collabCursorState$','drawWith','UNIVER_SHEET','defs','filter','getUnitId','serializeRangeWithSheet','INVITE_CODE_HAS_BEEN_UES','_clearOtherTimers','_refreshCollabCursors','@univerjs-pro/collaboration','OFFLINE','collabCursorState$','INTERNAL_ERROR','disableLocalCache','exhaustSavingTask','CONFLICT','get','_eventUnsubscribe','replaceDocRanges','svg','@univerjs/core','text','univer-flex\x20univer-items-center','IDocClipboardService','@univerjs/network','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INVALID_ARGUMENT','range','call','LocaleService','arc','newValue','executionId','UniverCollaborationClientPlugin','_beforeCloseService','getUnitStatus$','DeleteRangeMoveUpCommandId','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','UniverCollaborationClientUIPlugin','_document','getUnhiddenWorksheets','getTypeOfUnitAdded$','UPDATE_CURSOR','reconnect','Rect','IMessageService','_roomMembers$','PY_RUNTIME_SCRIPT_ERROR','ENSURE_SNAPSHOT_EXECUTION','isActive','getViewport','pluginName','RECT','EffectRefRangId','debounce','UniverDocs','WebURLService','_scene','0\x200\x2017\x2016','switchMap','_removeClearOtherTimer','eventID','createInstance','collabStatus.offline','SetTextSelectionsOperation','m2Prime','_config','_hovered','code','CollaborationUIEventId','complete','includes','_color','_cursorInfo$','getSheetObject','saveImage','UNDEFINED','getCollabCursors$','TEXT','UnitStatus','@univerjs/drawing','startColumn','transform','150jUDLcx','setAlpha','SheetCollabCursorShape','_initResize','NOT_COLLAB','CollaborationEvent','WebSocketService','attrs','268692okRyRw','Error','_getMergeRange','_docSkeleton','_registerRenderDependencies','throttleTime','_docStateChangeManagerService','trim','DocSkeletonManagerService','_toggleOffline','combineLatest','YUUMI_NO_CUBOID_FOR_QUESTION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','source','getCollabEntity$','type','React','sessionTicket','executeCommand','InsertRangeMoveRightCommandId','runId','2XjhjmL','asObservable','UniverRpc','3EkQakF','disposeWithMe','220eRLydH','bottom','triggerDblclick','_updateURLWithCurrentState','JOIN_ROOM_FAILED','clsx','Inject','InsertRowCommandId','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','popstate','_id','_assignedColors','fillStyle','getParam','collaboration.single-unit.warning','registerBeforeClose','undoState','RxDisposable','override','deepClone','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localCacheService','_cachedData','currentTheme$','FETCH_MISS','getCurrent','setStateCache','_collabCursorController','MessageType','handleDeleteRangeMoveLeft','USERS_LEAVE','1853224HsOeBN','length','addObjects','session.collaboration-timeout','cursorInfo','registerRefRange','collabStatus.synced','transformSelections','PERMISSION_DENIED','evenodd','getSheetId','createElement','UniverCore','onPointerMove$','UniverProCollaboration','delete','_hover','NO_OTHER_CLIENTS_EDITING','docStateChange$','SheetsSelectionsService','WebBrowserSingleActiveUnitService','on-line-single','top','univer-text-red-500','Tooltip','UniverSheets','OnLineSingle','isTransformMutationFailure','sheetID','APPLY_REVISION_CONFILICT','substring','_getSheetObject','_uiPartsService','getConfig','UniverUi','RegularPolygon','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','tag','toDisposable','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','_draw','_localStorageService','defineProperty','getCoordByCell','APPLY_NON_SEQUENTIAL_REVISION','requireSession','Tools','unload','useObservable','roomMembers$','_selfUnitIDs','VIEW_MAIN','with','getOwnPropertySymbols','CollaborationUIEventService','_doCreateSocket','onPointerEnter$','getRangePointData','getMemberID','getVpScrollXYInfoByPosToVp','setShapeProps','_notificationService','jsxs','_updateLocalCursor','handleDeleteRangeMoveUp','dispose','hasOwnProperty','_transformHistoryAndStateStack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','max','fillText','isArray','IUIPartsService','DocStateChangeManagerService','BehaviorSubject','session.will-retry','extend','_docTransformSelectionsService','Failed','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MoveRangeCommandId','@univerjs-pro/collaboration-client','_transformPreviousActiveRange','concat','clipPath','482891AGATNm','distinctUntilChanged','all','backgroundColor','_setupSubUnitSync','univerjs-icon\x20univerjs-icon-','CollaborationStatusDisplay','_lastPointer','_handleHeartbeatEvent','off-line-single','Disposable','_getAnchorBounding','Optional','prototype','translate(.97)','selection','displayName','removeParam','_commandService','rxjs','_unitOnClients','_scheduleClearOtherTimer','_docTransformStateCacheService','_online','assignAColorForMemberID','_collabSessionService','operators','collabStatus.syncing','labelPosition','setItem','CLOSE_ROOM','getUniverSheetInstance','addClipboardHook','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','MOBILE_HAS_BEEN_BOUND','addObject','collaboration-client.offline-data-not-saved','_onRefRangeChange','hide','_cursorShapes','next','ThemeService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/engine-render','merge','NOT_FOUND','IBeforeCloseService','colorChannel1','session.connection-failed','@univerjs/rpc','className','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','UniverEngineRender','getOwnPropertyDescriptor','name','CollaborationStatus','column','registerDependencies','values','COLORS','_logService','INVITE_CODE_ALREADY_BOUND','font','_memberService','_drawAnchor','history','DOC_RANGE_TYPE','_heartbeatTimer','searchParams','#FFF','replace','Unknown\x20user','_localeService','@univerjs/ui','addEventListener','SNAPSHOT_INVALID_SNAPSHOT','DEFAULT_WS_SESSION_TICKET_URL','show','getLocalCacheKey','getUndoRedoMutationParamsCache','ILocalStorageService','_collaborationController','BrowserCollaborationSocketService','CollaborationController','disposeUnit','CommandType','getAncestorScale','status$','toStringTag','unshift','setParam','cursorInfo$','/run/','TEXT_RANGE_LAYER_INDEX','wsSessionTicketUrl','_handleJoinEvent','HEADER_MENU','transformMutation','registerRenderModule','error','CHANGESET_REVISION_CONFILICT','react/jsx-runtime','RichTextEditingMutation','_initStatusComponent','RevisionService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_getScale','resize','size','@univerjs/docs-ui','_ensureSubject','doc.mutation.rich-text-editing','_initStatusListener','replaceState','Shape','onPointerLeave$','UniverProCollaborationClient','some','RemoteUniscriptService','unit','unitId','mapTo','fill','activeSheet$','data','_docSkeletonManagerService','_startSheetCollabCursor','indexOf','mask','_initCommandExecutedListener','engine','fillRule','react','_startDocCollabCursor','LOCAL_CACHE_INTERVAL_KEY','invokeId','_name','propertyIsEnumerable','_univerInstanceService','handleInsertRangeMoveRight','NodePositionConvertToRectRange','unsubscribe','black','getTypeOfUnitDisposed$','storage','random','_entities','UNIVER_DOC','ICommandService','_messageService','ILogService','LOCAL_CACHE_INTERVAL','_saveTaskMap','push','body','getCurrentRevOfUnit','_docTransformIMECacheService','toString','onStarting','getSkeleton','_sheetSkeletonManagerService','url(#on-line-single_clip0_910_349)','getDocRanges','onCommandExecuted','clearTimeout','_session','subscribe','_removeCollabCursors','debug','urlChange$','UniverNetwork','lineTo','OTHER_CLIENTS_EDITING','parse','generateRandomId','RemoveColCommandId','_collaborationUIEventService','_httpService','handleInsertCol','_initDependencies','getColor','measureText','_onCursorDelete','INVALID_INVITE_CODE','runRefRangeMutations','save','_unitStatus','setUndoRedoMutationParamsCache','takeUntil','SessionStatus','loadUnit','UniverDocsUi','UniverProCollaborationClientUi','UniverInstanceType','onRendered','IURLService','setActiveRange','isTransformMutationsWithChangesetSuccess','hovered','then','selections','_handleHover','UNAUTHENTICATED','entityInit$','clearInterval','collabStatus.notCollab','getActiveRange','forwardRef','getCurrentSelections','OffLineSingle','addHandlerCallback','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','makeDirty','_labelPosition','_initEvent','_init','function','YUUMI_ASYNCIO_CANCELLED','updateOfflineData','DocCollaborationEntity','transformMutationsWithChangeset','InsertColCommandId','send','whenReady','APPLY_REJECT','Vector2','_shapes','transformRemoteChangeset','_anchorDot','univer-text-green-500','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SUBMIT_CHANGESET_TIMEOUT','DataLoaderService','UniverSheetsUi','idSuffix','stringify','IUniverInstanceService','_saveCache','_docSyncEditingCollabCursorService','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','restore','_cursors','getFocusedUnit','@univerjs/sheets-ui','_syncEditingCollabCursorService','_docClipboardService','SYNCED','collaboration-client-ui.config','jsx','DocIMEInputManagerService','COMPLETION_FINISHED','split','_anchor','sessionStatus$','m1Prime','forEach','div','EMAIL_HAS_BEEN_BOUND','path','post','Warning','useDependency','M0\x200H16V16H0z','actions','endRow','...','has','UniverDesign','enableLocalCache','ITransformService','1em','transformIMECache','useCallback','event$','_updateSubUnitFromURLParams','_colorIndex','ILocalCacheService','_registerDependencies','getRenderById','endColumn','unitID','@univerjs/sheets','application/json','_range','setInterval','getRelativeToViewportCoord','init','xlink:href','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','row','SOCKET_FAILED_RETRY','6147496rDezUw','subunit','_revisionService','SheetSkeletonManagerService','currentSkeleton$','_handleLeaveEvent','color','width','_getSessionTicket','IConfigService','DesktopCollaborationStatusDisplayController','startRow','_renderManagerService','registerComponent','fromEventSubject','defIds','round','href','params','string','BuiltInUIPart','amd','Plugin','children','pushState','_imageIoService','currentColor','getCellPositionByOffset','onMouseMove','useRef','_send','[CollaborationDataLoaderController]','_entityInit$','min','CONNECTOR_DATA_TOO_LARGE','setConfig','ranges','_scheduleHeartbeat','HTTPService','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','ISocketService','ONLINE','_transformUndoRedoStack','key','_colorAssignService','collaboration.closeRoom','icon','rxjs/operators','getMember','271638UnDqRj','url(#$1','_injector','subUnitId','IImageIoService','_toggleOnline','debounceTime','_render','redoState','Subject','saveTaskMap','roomMembers','location','mutations','from','off-line-single_clip0_910_343','ColorKit','getSheetBySheetId','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','mergeOverrideWithDependencies','subscribeEvent','Workbook','_themeService','_configService','CollaborationSessionService','connectInjector','AWAITING_WITH_PENDING','CollaborationDataLoaderController','closePath','INVITE_CODE_REQUIRED','isEditing','_refRangeService','ALREADY_EXISTS','_dataLoaderService','entries','pipe','_context','_hideTimer','red300','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','on-line-single_clip0_910_349','startsWith','Injector','getStateCache','SOCKET_FAILED','_backgroundColor','_createSocketURL','NodePositionConvertToCursor','_textBubble','origin','_updateCollabCursors','getMergeData','YUUMI_RATE_OVER_LIMIT','_disabled','IRenderManagerService','getActiveSheet','assign','handleInsertRangeMoveDown','getValue','349671zDIbFj','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onCursorUpdate','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','IRemoteInstanceService','MemberService','190wcETAQ','_cursor','3814885WWCzrt','_transformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','_initEntityListener','UNRECOGNIZED'];_0x2eeb=function(){return _0x160d51;};return _0x2eeb();}function _0x37a6(_0x551e2a,_0x40ddd6){const _0x2eebde=_0x2eeb();return _0x37a6=function(_0x37a6ae,_0x4422a6){_0x37a6ae=_0x37a6ae-0x1e2;let _0x5b2066=_0x2eebde[_0x37a6ae];return _0x5b2066;},_0x37a6(_0x551e2a,_0x40ddd6);}(function(_0xc6c5e1,_0x3775d0){const _0xf088d1=_0x37a6,_0x37fa77=_0xc6c5e1();while(!![]){try{const _0x466ebb=-parseInt(_0xf088d1(0x24e))/0x1*(parseInt(_0xf088d1(0x468))/0x2)+parseInt(_0xf088d1(0x46b))/0x3*(-parseInt(_0xf088d1(0x376))/0x4)+parseInt(_0xf088d1(0x3ef))/0x5+-parseInt(_0xf088d1(0x44b))/0x6*(-parseInt(_0xf088d1(0x3e5))/0x7)+-parseInt(_0xf088d1(0x1f7))/0x8+parseInt(_0xf088d1(0x3a8))/0x9*(parseInt(_0xf088d1(0x3ed))/0xa)+parseInt(_0xf088d1(0x46d))/0xb*(parseInt(_0xf088d1(0x453))/0xc);if(_0x466ebb===_0x3775d0)break;else _0x37fa77['push'](_0x37fa77['shift']());}catch(_0x131402){_0x37fa77['push'](_0x37fa77['shift']());}}}(_0x2eeb,0xbed5e),function(_0x12157c,_0x5d5bcf){const _0x2e1a60=_0x37a6;typeof exports=='object'&&typeof module<'u'?_0x5d5bcf(exports,require(_0x2e1a60(0x24a)),require(_0x2e1a60(0x40c)),require(_0x2e1a60(0x27a)),require(_0x2e1a60(0x410)),require(_0x2e1a60(0x2bd)),require(_0x2e1a60(0x448)),require(_0x2e1a60(0x261)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x2e1a60(0x372)),require(_0x2e1a60(0x36b)),require(_0x2e1a60(0x3a6)),require(_0x2e1a60(0x345)),require(_0x2e1a60(0x2b5)),require('@univerjs/ui'),require('@univerjs/design'),require(_0x2e1a60(0x2d4)),require(_0x2e1a60(0x280))):typeof define==_0x2e1a60(0x329)&&define[_0x2e1a60(0x38b)]?define(['exports','@univerjs-pro/collaboration-client',_0x2e1a60(0x40c),_0x2e1a60(0x27a),_0x2e1a60(0x410),_0x2e1a60(0x2bd),_0x2e1a60(0x448),_0x2e1a60(0x261),'@univerjs/docs',_0x2e1a60(0x401),_0x2e1a60(0x372),_0x2e1a60(0x36b),'rxjs/operators',_0x2e1a60(0x345),_0x2e1a60(0x2b5),_0x2e1a60(0x299),'@univerjs/design',_0x2e1a60(0x2d4),_0x2e1a60(0x280)],_0x5d5bcf):(_0x12157c=typeof globalThis<'u'?globalThis:_0x12157c||self,_0x5d5bcf(_0x12157c[_0x2e1a60(0x310)]={},_0x12157c[_0x2e1a60(0x2c4)],_0x12157c[_0x2e1a60(0x203)],_0x12157c[_0x2e1a60(0x284)],_0x12157c[_0x2e1a60(0x2fa)],_0x12157c[_0x2e1a60(0x30f)],_0x12157c['UniverDrawing'],_0x12157c[_0x2e1a60(0x261)],_0x12157c[_0x2e1a60(0x42f)],_0x12157c[_0x2e1a60(0x205)],_0x12157c['UniverEngineFormula'],_0x12157c[_0x2e1a60(0x210)],_0x12157c[_0x2e1a60(0x261)][_0x2e1a60(0x268)],_0x12157c[_0x2e1a60(0x33a)],_0x12157c[_0x2e1a60(0x463)],_0x12157c[_0x2e1a60(0x219)],_0x12157c[_0x2e1a60(0x35d)],_0x12157c['React'],_0x12157c[_0x2e1a60(0x46a)]));}(this,function(_0x2becbd,_0x5557ff,_0x49eaeb,_0x506afb,_0x23e63f,_0x3c8f3f,_0x1182f3,_0x1a1591,_0x54d7ba,_0x579da8,_0x20a384,_0x11631c,_0x35f2b8,_0x5f076c,_0x59198a,_0x284e97,_0x381eec,_0x1a1d3a,_0x339d10){'use strict';const _0x29a50d=_0x37a6;var _0xcd50a7=Object[_0x29a50d(0x222)],_0x1b35ec=(_0x26502c,_0x49ef06,_0x1680c4)=>_0x49ef06 in _0x26502c?_0xcd50a7(_0x26502c,_0x49ef06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1680c4}):_0x26502c[_0x49ef06]=_0x1680c4,_0x2d5d22=(_0x3330a8,_0x3036ff,_0x1bc605)=>_0x1b35ec(_0x3330a8,typeof _0x3036ff!='symbol'?_0x3036ff+'':_0x3036ff,_0x1bc605),_0x551851=Object[_0x29a50d(0x285)],_0x14ef93=(_0xdea14,_0x521703,_0x30aa7b,_0x5ad3e0)=>{for(var _0x37068f=_0x5ad3e0>0x1?void 0x0:_0x5ad3e0?_0x551851(_0x521703,_0x30aa7b):_0x521703,_0x3f4e08=_0xdea14['length']-0x1,_0x199792;_0x3f4e08>=0x0;_0x3f4e08--)(_0x199792=_0xdea14[_0x3f4e08])&&(_0x37068f=_0x199792(_0x37068f)||_0x37068f);return _0x37068f;},_0xb58c59=(_0x1f0ac4,_0x20b374)=>(_0x59b2c5,_0x3b5999)=>_0x20b374(_0x59b2c5,_0x3b5999,_0x1f0ac4);let _0x450d8e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x5f0a8a,_0xba3e25){const _0x1496f3=_0x29a50d;super(),this[_0x1496f3(0x347)]=_0x5f0a8a,this[_0x1496f3(0x38f)]=_0xba3e25,this[_0x1496f3(0x328)]();}[_0x29a50d(0x328)](){const _0x28b8a6=_0x29a50d,_0x194490=this;this['disposeWithMe'](this[_0x28b8a6(0x347)][_0x28b8a6(0x26e)]({'onBeforePasteImage':async _0x105b59=>{const _0x44e711=_0x28b8a6,_0x214b72=await _0x194490['_imageIoService'][_0x44e711(0x443)](_0x105b59);return _0x214b72?{'source':_0x214b72[_0x44e711(0x460)],'imageSourceType':_0x214b72['imageSourceType']}:null;}}));}};_0x450d8e=_0x14ef93([_0xb58c59(0x0,_0x3c8f3f[_0x29a50d(0x40f)]),_0xb58c59(0x1,_0x1182f3[_0x29a50d(0x3ac)])],_0x450d8e);const _0x338c20=['purple300','jiqing500','verdancy600',_0x29a50d(0x3cf),'blue400','gold400'];class _0x2b7743 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x1a25f3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x1a25f3(0x1e2),new Map()),_0x2d5d22(this,_0x1a25f3(0x365),0x0);}['assignAColorForMemberID'](_0x26af6a){const _0x4745a0=_0x29a50d;if(this['_assignedColors'][_0x4745a0(0x35c)](_0x26af6a))return this['_assignedColors'][_0x4745a0(0x408)](_0x26af6a);const _0x3eaf0f=_0x338c20[this['_colorIndex']];return this['_colorIndex']=(this[_0x4745a0(0x365)]+0x1)%_0x338c20['length'],this[_0x4745a0(0x1e2)][_0x4745a0(0x3e6)](_0x26af6a,_0x3eaf0f),_0x3eaf0f;}}function _0x446ae4(_0x401bad){const _0x4df26a=_0x29a50d;let _0x19f519='';for(const _0x143d5a of _0x401bad){const {startOffset:_0x1702bf,endOffset:_0x3424d4,isActive:_0x1234e8,rangeType:_0x8fc05b,segmentId:_0x5ada5e,segmentPage:_0x5d2d89}=_0x143d5a;_0x19f519[_0x4df26a(0x1f8)]&&(_0x19f519+=','),_0x19f519+=_0x1702bf+':'+_0x3424d4+':'+(_0x1234e8?'1':'0')+':'+_0x8fc05b+':'+_0x5ada5e+':'+_0x5d2d89;}return _0x19f519;}function _0x29cfa8(_0x3ffc68){const _0x365d9e=_0x29a50d,_0x1d2685=_0x3ffc68[_0x365d9e(0x34d)](','),_0x4cf2f5=[];for(const _0x583d15 of _0x1d2685){const [_0x3bfd03,_0x230076,_0x33d4b2,_0x583e44,_0x9bf7a1,_0x3b497b]=_0x583d15[_0x365d9e(0x34d)](':');_0x4cf2f5[_0x365d9e(0x2e9)]({'startOffset':Number(_0x3bfd03),'endOffset':Number(_0x230076),'collapsed':_0x3bfd03===_0x230076,'isActive':_0x33d4b2==='1','rangeType':_0x583e44===_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]?_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]:_0x49eaeb[_0x365d9e(0x292)]['RECT'],'segmentId':typeof _0x9bf7a1==_0x365d9e(0x389)?String(_0x9bf7a1):'','segmentPage':Number(_0x3b497b!=null?_0x3b497b:-0x1)});}return _0x4cf2f5[_0x365d9e(0x2c5)](_0xe50898=>_0xe50898[_0x365d9e(0x429)])||(_0x4cf2f5[0x0][_0x365d9e(0x429)]=!0x0),_0x4cf2f5;}class _0xb3c406 extends _0x49eaeb['RxDisposable']{constructor(){const _0x441bd3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x441bd3(0x3f7),new _0x1a1591[(_0x441bd3(0x242))](null)),_0x2d5d22(this,_0x441bd3(0x403),this[_0x441bd3(0x3f7)]['asObservable']());}['syncEditingCollabCursor'](_0x2b660b){const _0x4335cf=_0x29a50d,{unitID:_0x1dc5cd,memberID:_0x4003bf,textRanges:_0x46289c}=_0x2b660b,_0x263cde=_0x446ae4(_0x46289c);if(_0x263cde==='')return;const _0x15afb5={'unitID':_0x1dc5cd,'memberID':_0x4003bf,'selection':_0x263cde};this[_0x4335cf(0x3f7)][_0x4335cf(0x277)](_0x15afb5);}}var _0x5054d1=Object[_0x29a50d(0x285)],_0x51b10f=(_0x426160,_0x2825cb,_0x102b86,_0x4dbe65)=>{const _0x50ef68=_0x29a50d;for(var _0x4a8c69=_0x4dbe65>0x1?void 0x0:_0x4dbe65?_0x5054d1(_0x2825cb,_0x102b86):_0x2825cb,_0x6a55a4=_0x426160[_0x50ef68(0x1f8)]-0x1,_0xe0b8f3;_0x6a55a4>=0x0;_0x6a55a4--)(_0xe0b8f3=_0x426160[_0x6a55a4])&&(_0x4a8c69=_0xe0b8f3(_0x4a8c69)||_0x4a8c69);return _0x4a8c69;},_0x219835=(_0x560f15,_0x1fc4d9)=>(_0x2f5958,_0x62cd3)=>_0x1fc4d9(_0x2f5958,_0x62cd3,_0x560f15);const _0x83ff0b=0x12c,_0x119ba9=0x64;let _0x1c5ab0=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x513a54,_0x179075,_0x49db95,_0x34330c,_0x1c2e08,_0x502821,_0x1bfbc3,_0xfc901b,_0x4fee77){const _0x351c3c=_0x29a50d;super(),_0x2d5d22(this,_0x351c3c(0x265),!0x1),_0x2d5d22(this,_0x351c3c(0x328),!0x1),_0x2d5d22(this,'_cursorInfo$',new _0x1a1591[(_0x351c3c(0x242))](new Map())),_0x2d5d22(this,_0x351c3c(0x2ab),this[_0x351c3c(0x441)][_0x351c3c(0x469)]()),_0x2d5d22(this,'_roomMembers$',new _0x1a1591[(_0x351c3c(0x242))]([])),_0x2d5d22(this,_0x351c3c(0x229),this['_roomMembers$'][_0x351c3c(0x3cc)](_0x1a1591[_0x351c3c(0x3ae)](_0x83ff0b))),_0x2d5d22(this,_0x351c3c(0x237),_0x49eaeb[_0x351c3c(0x42e)](_0x49d24d=>{const _0x4727e5=_0x351c3c,_0x36503c={'eventID':_0x579da8[_0x4727e5(0x450)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4727e5(0x36a)],'memberID':this[_0x4727e5(0x2f5)][_0x4727e5(0x232)](),'selection':_0x446ae4(_0x49d24d)}};this['_session'][_0x4727e5(0x32f)](_0x36503c,this[_0x4727e5(0x36a)]);},_0x119ba9)),(this[_0x351c3c(0x36a)]=_0x513a54,this[_0x351c3c(0x2f5)]=_0x179075,this[_0x351c3c(0x3aa)]=_0x49db95,this[_0x351c3c(0x3a3)]=_0x34330c,this[_0x351c3c(0x28f)]=_0x1c2e08,this[_0x351c3c(0x346)]=_0x502821,this[_0x351c3c(0x3f0)]=_0x1bfbc3,this['_univerInstanceService']=_0xfc901b,this['_commandService']=_0x4fee77);}get['cursorInfo'](){const _0x2682ee=_0x29a50d;return this['_cursorInfo$'][_0x2682ee(0x3e4)]();}get[_0x29a50d(0x3b3)](){const _0x4487ec=_0x29a50d;return this[_0x4487ec(0x426)][_0x4487ec(0x3e4)]();}['dispose'](){const _0x40b886=_0x29a50d;super['dispose'](),this['_cursorInfo$'][_0x40b886(0x277)](new Map()),this['_cursorInfo$'][_0x40b886(0x43e)](),this['_roomMembers$'][_0x40b886(0x277)]([]),this[_0x40b886(0x426)]['complete']();}['init'](){const _0x455920=_0x29a50d;this[_0x455920(0x328)]||(this['_init']=!0x0,this['_session'][_0x455920(0x34f)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this[_0x455920(0x324)]))[_0x455920(0x2f6)](_0x326f28=>{const _0x416bf3=_0x455920;_0x326f28===_0x5557ff['SessionStatus'][_0x416bf3(0x3a0)]?this[_0x416bf3(0x3ad)]():this[_0x416bf3(0x45c)]();}),this[_0x455920(0x2f5)][_0x455920(0x363)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))[_0x455920(0x2f6)](_0x39bb15=>{const _0x409c6f=_0x455920,_0x70c63b=_0x39bb15['eventID'];_0x70c63b===_0x579da8['CollaborationEvent'][_0x409c6f(0x422)]&&this[_0x409c6f(0x3e8)](_0x39bb15),_0x70c63b===_0x579da8[_0x409c6f(0x450)][_0x409c6f(0x1f6)]&&this[_0x409c6f(0x306)](_0x39bb15);}),this[_0x455920(0x46c)](this[_0x455920(0x260)]['onCommandExecuted'](_0x4fabcf=>{const _0x3ff2c9=_0x455920,_0xf4349c=_0x4fabcf['params'];_0xf4349c!=null&&this[_0x3ff2c9(0x265)]&&_0x4fabcf['id']===_0x54d7ba[_0x3ff2c9(0x438)]['id']&&_0xf4349c[_0x3ff2c9(0x2c8)]===this[_0x3ff2c9(0x36a)]&&_0xf4349c[_0x3ff2c9(0x3c7)]===!0x1&&_0xf4349c['ranges'][_0x3ff2c9(0x1f8)]>0x0&&this[_0x3ff2c9(0x237)](_0xf4349c[_0x3ff2c9(0x39a)]);})),this[_0x455920(0x346)][_0x455920(0x403)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))['subscribe'](_0x108636=>{const _0x88ff59=_0x455920;if((_0x108636==null?void 0x0:_0x108636[_0x88ff59(0x36a)])!==this['unitID'])return;const _0x4e363b={'eventID':_0x579da8[_0x88ff59(0x450)][_0x88ff59(0x422)],'data':_0x108636};this[_0x88ff59(0x3e8)](_0x4e363b);}),this['disposeWithMe'](this[_0x455920(0x260)]['onCommandExecuted'](_0x382b72=>{const _0x39dd84=_0x455920;if(_0x382b72[_0x39dd84(0x388)]==null)return;const _0x3c2221=_0x382b72[_0x39dd84(0x388)];if(_0x382b72['id']!==_0x54d7ba[_0x39dd84(0x2b6)]['id']||_0x3c2221['unitId']!==this[_0x39dd84(0x36a)])return;const _0x12a3da={'id':'doc.mutation.rich-text-editing','params':_0x3c2221},_0xcfc386=this[_0x39dd84(0x1fb)];for(const [_0x25a8e3,_0x32cd38]of _0xcfc386){const _0x343b6c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x39dd84(0x36a)],'actions':null,'textRanges':_0x32cd38['ranges']}},_0x38f689=this[_0x39dd84(0x3f0)][_0x39dd84(0x2b1)](_0x12a3da,_0x343b6c,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x38f689))throw _0x38f689[_0x39dd84(0x2b3)];_0xcfc386[_0x39dd84(0x3e6)](_0x25a8e3,{..._0x32cd38,'ranges':_0x38f689[_0x39dd84(0x439)][_0x39dd84(0x388)][_0x39dd84(0x3f6)]});}queueMicrotask(()=>{const _0xc300e=_0x39dd84;this[_0xc300e(0x441)][_0xc300e(0x277)](_0xcfc386);});})));}[_0x29a50d(0x3e8)](_0x5d0272){const _0x2545b3=_0x29a50d;var _0x333df9,_0x17869f;const {memberID:_0x329ac6,selection:_0x2ecb3b}=_0x5d0272[_0x2545b3(0x2cc)],_0x3622c6=_0x29cfa8(_0x2ecb3b),_0x29cc2c=(_0x17869f=(_0x333df9=this[_0x2545b3(0x28f)][_0x2545b3(0x3a7)](this[_0x2545b3(0x36a)],_0x329ac6))==null?void 0x0:_0x333df9[_0x2545b3(0x286)])!=null?_0x17869f:_0x2545b3(0x297),_0x30594e={'color':this[_0x2545b3(0x3a3)][_0x2545b3(0x266)](_0x329ac6),'name':_0x29cc2c,'ranges':_0x3622c6},_0x3047a8=this['cursorInfo'];_0x3047a8[_0x2545b3(0x3e6)](_0x329ac6,_0x30594e),this[_0x2545b3(0x441)][_0x2545b3(0x277)](_0x3047a8);}[_0x29a50d(0x306)](_0x5e0663){const _0x370767=_0x29a50d,{memberID:_0x5bbdf3}=_0x5e0663[_0x370767(0x2cc)],_0x22ec5a=this[_0x370767(0x1fb)];_0x22ec5a[_0x370767(0x206)](_0x5bbdf3),this[_0x370767(0x441)][_0x370767(0x277)](_0x22ec5a);}['_toggleOnline'](){const _0xe21eb9=_0x29a50d;var _0x401d27;if(this['_online']=!0x0,((_0x401d27=this['_univerInstanceService'][_0xe21eb9(0x344)]())==null?void 0x0:_0x401d27[_0xe21eb9(0x3fc)]())!==this[_0xe21eb9(0x36a)])return;const _0x5bbfe4=this[_0xe21eb9(0x3aa)]['get'](_0x54d7ba['DocSelectionManagerService'])[_0xe21eb9(0x2f2)]();Array[_0xe21eb9(0x23f)](_0x5bbfe4)&&_0x5bbfe4[_0xe21eb9(0x1f8)]>0x0&&this['_updateLocalCursor'](_0x5bbfe4);}[_0x29a50d(0x45c)](){const _0x2c019e=_0x29a50d;this[_0x2c019e(0x265)]=!0x1;}};_0x1c5ab0=_0x51b10f([_0x219835(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x219835(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x219835(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3ec)])),_0x219835(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x219835(0x6,_0x579da8[_0x29a50d(0x35f)]),_0x219835(0x7,_0x49eaeb[_0x29a50d(0x33d)]),_0x219835(0x8,_0x49eaeb[_0x29a50d(0x2e4)])],_0x1c5ab0);var _0xcd30c5=Object[_0x29a50d(0x285)],_0x43ea1f=(_0x1fd67b,_0x229043,_0x2677a1,_0x446307)=>{const _0x1fca47=_0x29a50d;for(var _0x15e0bd=_0x446307>0x1?void 0x0:_0x446307?_0xcd30c5(_0x229043,_0x2677a1):_0x229043,_0x3028e0=_0x1fd67b[_0x1fca47(0x1f8)]-0x1,_0x3439bd;_0x3028e0>=0x0;_0x3028e0--)(_0x3439bd=_0x1fd67b[_0x3028e0])&&(_0x15e0bd=_0x3439bd(_0x15e0bd)||_0x15e0bd);return _0x15e0bd;},_0x3f2afc=(_0x1f55a7,_0x4435ad)=>(_0x7cc039,_0x2f8227)=>_0x4435ad(_0x7cc039,_0x2f8227,_0x1f55a7);const _0x39f794=0x12c,_0x2e42b2=0x64,_0x5c336a=()=>{let _0x453c86=[],_0x1412e9=!0x1;return _0x57169c=>{_0x453c86['push'](_0x57169c),_0x1412e9||(_0x1412e9=!0x0,setTimeout(()=>{const _0x75caee=_0x37a6;_0x453c86[_0x75caee(0x351)](_0x50a3a1=>_0x50a3a1()),_0x453c86=[],_0x1412e9=!0x1;}));};};let _0x2fd7eb=class extends _0x49eaeb['RxDisposable']{constructor(_0x2c43da,_0x222478,_0x121253,_0x2ae8b1,_0x862144,_0x53e0bd,_0x19c7d2,_0x4806c1){const _0x3221dc=_0x29a50d;super(),_0x2d5d22(this,_0x3221dc(0x265),!0x1),_0x2d5d22(this,_0x3221dc(0x328),!0x1),_0x2d5d22(this,_0x3221dc(0x441),new _0x1a1591[(_0x3221dc(0x242))](new Map())),_0x2d5d22(this,_0x3221dc(0x2ab),this['_cursorInfo$'][_0x3221dc(0x469)]()),_0x2d5d22(this,_0x3221dc(0x426),new _0x1a1591[(_0x3221dc(0x242))]([])),_0x2d5d22(this,_0x3221dc(0x229),this[_0x3221dc(0x426)][_0x3221dc(0x3cc)](_0x1a1591[_0x3221dc(0x3ae)](_0x39f794))),_0x2d5d22(this,_0x3221dc(0x237),_0x49eaeb[_0x3221dc(0x42e)]((_0x5741cb,_0x61c5ac)=>{const _0x4fab18=_0x3221dc,_0x226a25={'eventID':_0x579da8['CollaborationEvent'][_0x4fab18(0x422)],'data':{'unitID':this[_0x4fab18(0x36a)],'memberID':this[_0x4fab18(0x2f5)][_0x4fab18(0x232)](),'selection':_0x20a384[_0x4fab18(0x3fd)](_0x5741cb,_0x61c5ac[_0x4fab18(0x413)])}};this[_0x4fab18(0x2f5)]['send'](_0x226a25,this[_0x4fab18(0x36a)]);},_0x2e42b2)),(this[_0x3221dc(0x36a)]=_0x2c43da,this[_0x3221dc(0x2f5)]=_0x222478,this[_0x3221dc(0x3aa)]=_0x121253,this[_0x3221dc(0x3a3)]=_0x2ae8b1,this[_0x3221dc(0x28f)]=_0x862144,this[_0x3221dc(0x2da)]=_0x53e0bd,this[_0x3221dc(0x260)]=_0x19c7d2,this[_0x3221dc(0x3c8)]=_0x4806c1);}get[_0x29a50d(0x1fb)](){const _0x4b4509=_0x29a50d;return this['_cursorInfo$'][_0x4b4509(0x3e4)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x29a50d(0x239)](){const _0x1bac0c=_0x29a50d;super[_0x1bac0c(0x239)](),this[_0x1bac0c(0x441)]['next'](new Map()),this[_0x1bac0c(0x441)][_0x1bac0c(0x43e)](),this[_0x1bac0c(0x426)][_0x1bac0c(0x277)]([]),this[_0x1bac0c(0x426)][_0x1bac0c(0x43e)]();}['init'](){const _0x4f8907=_0x29a50d;this[_0x4f8907(0x328)]||(this[_0x4f8907(0x328)]=!0x0,this['_session'][_0x4f8907(0x34f)]['pipe'](_0x1a1591[_0x4f8907(0x30c)](this[_0x4f8907(0x324)]))['subscribe'](_0x3604fc=>{const _0x5adb01=_0x4f8907;_0x3604fc===_0x5557ff[_0x5adb01(0x30d)]['ONLINE']?this[_0x5adb01(0x3ad)]():this[_0x5adb01(0x45c)]();}),this[_0x4f8907(0x2f5)]['event$'][_0x4f8907(0x3cc)](_0x1a1591[_0x4f8907(0x30c)](this['dispose$']))[_0x4f8907(0x2f6)](_0x54931f=>{const _0x5a747e=_0x4f8907,_0x5491a0=_0x54931f[_0x5a747e(0x435)];_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x422)]&&this['_onCursorUpdate'](_0x54931f),_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x1f6)]&&this['_onCursorDelete'](_0x54931f);}),this['_onRefRangeChange'](),this[_0x4f8907(0x46c)](this[_0x4f8907(0x260)][_0x4f8907(0x2f3)](_0x372ce5=>{const _0x17eda2=_0x4f8907;if(this[_0x17eda2(0x265)]&&_0x372ce5['id']===_0x11631c['SetSelectionsOperation']['id']&&_0x372ce5[_0x17eda2(0x388)][_0x17eda2(0x2c8)]===this[_0x17eda2(0x36a)]){const _0x3652f1=_0x372ce5['params'];this[_0x17eda2(0x237)](_0x3652f1[_0x17eda2(0x3ab)],_0x3652f1[_0x17eda2(0x318)][0x0]);}})));}[_0x29a50d(0x3e8)](_0xb436f7){const _0x569fdf=_0x29a50d;var _0x51cb54,_0x8250de;const {memberID:_0x169483,selection:_0xc07e96}=_0xb436f7[_0x569fdf(0x2cc)],{sheetName:_0x4a286e,range:_0x42c8c1}=_0x20a384['deserializeRangeWithSheet'](_0xc07e96),_0x467615={'name':(_0x8250de=(_0x51cb54=this[_0x569fdf(0x28f)]['getMember'](this[_0x569fdf(0x36a)],_0x169483))==null?void 0x0:_0x51cb54['name'])!=null?_0x8250de:_0x569fdf(0x297),'range':this[_0x569fdf(0x455)](_0x4a286e,_0x42c8c1),'sheetID':_0x4a286e,'color':this[_0x569fdf(0x3a3)][_0x569fdf(0x266)](_0x169483),'selection':_0xc07e96},_0x26cdb6=this[_0x569fdf(0x1fb)];_0x26cdb6[_0x569fdf(0x3e6)](_0x169483,_0x467615),this[_0x569fdf(0x441)][_0x569fdf(0x277)](_0x26cdb6);}[_0x29a50d(0x306)](_0x17450b){const _0x34c533=_0x29a50d,{memberID:_0x140593}=_0x17450b[_0x34c533(0x2cc)],_0x19d781=this[_0x34c533(0x1fb)];_0x19d781[_0x34c533(0x206)](_0x140593),this[_0x34c533(0x441)][_0x34c533(0x277)](_0x19d781);}[_0x29a50d(0x455)](_0x523091,_0x3ee47a){const _0x563c42=_0x29a50d;var _0x1e1649,_0x3ab2f9;const _0x489506=(_0x3ab2f9=(_0x1e1649=this['_univerInstanceService'][_0x563c42(0x26d)](this['unitID']))==null?void 0x0:_0x1e1649[_0x563c42(0x3b9)](_0x523091))==null?void 0x0:_0x3ab2f9[_0x563c42(0x3dd)]();return(_0x489506==null?void 0x0:_0x489506['find'](_0x241d86=>_0x49eaeb['Rectangle']['contains'](_0x241d86,_0x3ee47a)))||_0x3ee47a;}[_0x29a50d(0x274)](){const _0x2d09db=_0x29a50d,_0x427032=new _0x49eaeb['DisposableCollection'](),_0x3df10c=_0x5c336a(),_0x313273=()=>{const _0x1fb24a=_0x37a6;_0x427032[_0x1fb24a(0x239)]();const _0x3b403c=(_0xec609d,_0x104623,_0x4abd5e,_0x3d3b46)=>{const _0x51a87f=_0x1fb24a;let _0xb7df29=[];switch(_0xec609d['id']){case _0x11631c['EffectRefRangId'][_0x51a87f(0x39e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x1f5)](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId'][_0x51a87f(0x41c)]:{_0xb7df29=_0x11631c[_0x51a87f(0x238)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x32e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x302)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)]['InsertRangeMoveDownCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3e3)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x466)]:{_0xb7df29=_0x11631c[_0x51a87f(0x2db)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x474)]:{_0xb7df29=_0x11631c['handleInsertRow'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x249)]:{_0xb7df29=_0x11631c['handleMoveRange'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x2ff)]:{_0xb7df29=_0x11631c['handleIRemoveCol'](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId']['RemoveRowCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3ea)](_0xec609d,_0x3d3b46);break;}}const _0xc99c4f=_0x11631c[_0x51a87f(0x308)](_0xb7df29,_0x3d3b46),_0x5a362c=this['cursorInfo'][_0x51a87f(0x408)](_0x104623);if(_0x5a362c&&_0xc99c4f){const _0x507f05={..._0x5a362c,'range':_0xc99c4f};this[_0x51a87f(0x1fb)][_0x51a87f(0x3e6)](_0x104623,_0x507f05),_0x3df10c(()=>{const _0x14a302=_0x51a87f,_0x31d5bd=this['_refRangeService'][_0x14a302(0x1fc)](_0xc99c4f,_0x282cea=>(_0x31d5bd[_0x14a302(0x239)](),_0x3b403c(_0x282cea,_0x104623,_0x4abd5e,_0xc99c4f)));_0x427032[_0x14a302(0x3f5)](_0x31d5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1fb24a(0x351)]((_0x2e1fe8,_0x489215)=>{const _0x2738d0=_0x1fb24a,{range:_0x125390,sheetID:_0xf84377}=_0x2e1fe8,_0x41fd2d=this[_0x2738d0(0x3c8)][_0x2738d0(0x1fc)](_0x125390,_0x2d34c7=>(_0x41fd2d[_0x2738d0(0x239)](),_0x3b403c(_0x2d34c7,_0x489215,_0xf84377,_0x125390)));_0x427032[_0x2738d0(0x3f5)](_0x41fd2d);});};this[_0x2d09db(0x46c)](_0x49eaeb[_0x2d09db(0x21d)](this[_0x2d09db(0x441)][_0x2d09db(0x2f6)](()=>{_0x313273();})));}['_toggleOnline'](){const _0x59f179=_0x29a50d;var _0x4996d6,_0x4ea600;if(this['_online']=!0x0,((_0x4996d6=this[_0x59f179(0x2da)][_0x59f179(0x344)]())==null?void 0x0:_0x4996d6[_0x59f179(0x3fc)]())!==this[_0x59f179(0x36a)])return;const _0x53733e=(_0x4ea600=this[_0x59f179(0x3aa)][_0x59f179(0x408)](_0x11631c[_0x59f179(0x20a)])[_0x59f179(0x320)]())==null?void 0x0:_0x4ea600[0x0],_0x57549c=this['_univerInstanceService']['getCurrentUnitForType'](_0x49eaeb[_0x59f179(0x311)]['UNIVER_SHEET'])[_0x59f179(0x3e1)]();_0x53733e&&_0x57549c&&this[_0x59f179(0x237)](_0x57549c[_0x59f179(0x201)](),_0x53733e);}[_0x29a50d(0x45c)](){const _0x1de090=_0x29a50d;this[_0x1de090(0x265)]=!0x1;}};_0x2fd7eb=_0x43ea1f([_0x3f2afc(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x3f2afc(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x3f2afc(0x4,_0x49eaeb['Inject'](_0x5557ff[_0x29a50d(0x3ec)])),_0x3f2afc(0x5,_0x49eaeb[_0x29a50d(0x33d)]),_0x3f2afc(0x6,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3f2afc(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x11631c['RefRangeService']))],_0x2fd7eb);var _0x36a9ff=Object['getOwnPropertyDescriptor'],_0x1737f5=(_0x49396c,_0x1125fb,_0x3571a4,_0xcd829a)=>{const _0x4d82ce=_0x29a50d;for(var _0x184c4a=_0xcd829a>0x1?void 0x0:_0xcd829a?_0x36a9ff(_0x1125fb,_0x3571a4):_0x1125fb,_0x3f3bff=_0x49396c[_0x4d82ce(0x1f8)]-0x1,_0x2a2d6d;_0x3f3bff>=0x0;_0x3f3bff--)(_0x2a2d6d=_0x49396c[_0x3f3bff])&&(_0x184c4a=_0x2a2d6d(_0x184c4a)||_0x184c4a);return _0x184c4a;},_0xc4bb52=(_0x37f5a7,_0x42614c)=>(_0x33e6dd,_0x5d5beb)=>_0x42614c(_0x33e6dd,_0x5d5beb,_0x37f5a7);let _0x43f861=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fcae4,_0x137b54,_0x112c01){const _0xe095a3=_0x29a50d;super(),_0x2d5d22(this,_0xe095a3(0x2e2),new Map()),_0x2d5d22(this,_0xe095a3(0x396),new _0x1a1591[(_0xe095a3(0x3b1))]()),(this[_0xe095a3(0x2da)]=_0x1fcae4,this[_0xe095a3(0x3aa)]=_0x137b54,this[_0xe095a3(0x267)]=_0x112c01,this[_0xe095a3(0x328)]());}[_0x29a50d(0x239)](){const _0x4a0f8f=_0x29a50d;super['dispose'](),this[_0x4a0f8f(0x396)][_0x4a0f8f(0x43e)](),this['_entities']['forEach'](_0x478872=>_0x478872[_0x4a0f8f(0x239)]());}[_0x29a50d(0x445)](_0x25fe8d){const _0x262e8e=_0x29a50d;return this[_0x262e8e(0x2e2)][_0x262e8e(0x35c)](_0x25fe8d)?this[_0x262e8e(0x2e2)][_0x262e8e(0x408)](_0x25fe8d)[_0x262e8e(0x2ab)]:this[_0x262e8e(0x396)][_0x262e8e(0x3cc)](_0x1a1591[_0x262e8e(0x3fb)](_0x373c1d=>_0x373c1d[_0x262e8e(0x36a)]===_0x25fe8d),_0x1a1591[_0x262e8e(0x433)](_0x34df2e=>_0x34df2e[_0x262e8e(0x2ab)]));}[_0x29a50d(0x328)](){const _0x456ee3=_0x29a50d;this['_univerInstanceService'][_0x456ee3(0x421)](_0x49eaeb['UniverInstanceType'][_0x456ee3(0x3f9)])[_0x456ee3(0x3cc)](_0x1a1591['takeUntil'](this[_0x456ee3(0x324)]))['subscribe'](async _0x22d9b3=>{const _0x34d8b5=_0x456ee3,_0x48f54d=_0x22d9b3[_0x34d8b5(0x3fc)](),_0x186d60=await this[_0x34d8b5(0x2ce)](_0x48f54d);this[_0x34d8b5(0x396)][_0x34d8b5(0x277)](_0x186d60),this['_entities'][_0x34d8b5(0x3e6)](_0x48f54d,_0x186d60);}),this[_0x456ee3(0x2da)][_0x456ee3(0x421)](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x2e3)])['pipe'](_0x1a1591[_0x456ee3(0x30c)](this['dispose$']))[_0x456ee3(0x3cc)](_0x1a1591['filter'](_0x46c424=>!_0x46c424[_0x456ee3(0x3fc)]()[_0x456ee3(0x3d3)]('__')))[_0x456ee3(0x2f6)](async _0x434b42=>{const _0x15e9db=_0x456ee3,_0x527ed6=_0x434b42[_0x15e9db(0x3fc)](),_0x5d4e8d=await this['_startDocCollabCursor'](_0x527ed6);this['_entityInit$']['next'](_0x5d4e8d),this[_0x15e9db(0x2e2)][_0x15e9db(0x3e6)](_0x527ed6,_0x5d4e8d);}),_0x1a1591[_0x456ee3(0x27b)](this[_0x456ee3(0x2da)][_0x456ee3(0x2df)](_0x49eaeb[_0x456ee3(0x311)]['UNIVER_DOC']),this[_0x456ee3(0x2da)]['getTypeOfUnitDisposed$'](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x3f9)]))[_0x456ee3(0x3cc)](_0x1a1591[_0x456ee3(0x30c)](this[_0x456ee3(0x324)]))[_0x456ee3(0x2f6)](_0x88b0b0=>{const _0x3eeea0=_0x456ee3,_0x4805a7=_0x88b0b0['getUnitId'](),_0x876251=this['_entities']['get'](_0x4805a7);_0x876251&&(_0x876251['dispose'](),this[_0x3eeea0(0x2e2)][_0x3eeea0(0x206)](_0x4805a7));});}async[_0x29a50d(0x2ce)](_0x3d7417){const _0x36bc38=_0x29a50d,_0x392481=await this[_0x36bc38(0x267)][_0x36bc38(0x225)](_0x3d7417),_0x4e817a=this[_0x36bc38(0x3aa)][_0x36bc38(0x436)](_0x2fd7eb,_0x3d7417,_0x392481);return _0x4e817a[_0x36bc38(0x370)](),_0x4e817a;}async[_0x29a50d(0x2d5)](_0xf574ee){const _0x27c14f=_0x29a50d,_0x80cc8c=await this['_collabSessionService']['requireSession'](_0xf574ee),_0x20e90c=this['_injector'][_0x27c14f(0x436)](_0x1c5ab0,_0xf574ee,_0x80cc8c);return _0x20e90c[_0x27c14f(0x370)](),_0x20e90c;}};_0x43f861=_0x1737f5([_0xc4bb52(0x0,_0x49eaeb['IUniverInstanceService']),_0xc4bb52(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0xc4bb52(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3c1)]))],_0x43f861);const _0x595381=0x14,_0x25739e=0xc8,_0x5d12f1=0x4,_0x1aad98=0x5;function _0x1fa848(_0x2cfae3,_0x5b0dcf){const _0x2f3fc9=_0x29a50d;let {radius:_0x528f92,width:_0x251fca,height:_0x556f83}=_0x5b0dcf;_0x528f92=_0x528f92!=null?_0x528f92:0x0,_0x251fca=_0x251fca!=null?_0x251fca:0x1e,_0x556f83=_0x556f83!=null?_0x556f83:0x1e;let _0x2c1289=0x0,_0x50bd3d=0x0,_0x384fe2=0x0;_0x2c1289=_0x50bd3d=_0x384fe2=Math[_0x2f3fc9(0x397)](_0x528f92,_0x251fca/0x2,_0x556f83/0x2),_0x2cfae3['beginPath'](),_0x2cfae3['moveTo'](_0x2c1289,0x0),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca-_0x50bd3d,0x0),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x50bd3d,_0x50bd3d,_0x50bd3d,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca,_0x556f83-_0x384fe2),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x384fe2,_0x556f83-_0x384fe2,_0x384fe2,0x0,Math['PI']/0x2,!0x1),_0x2cfae3['lineTo'](0x0,_0x556f83),_0x2cfae3[_0x2f3fc9(0x2fb)](0x0,_0x2c1289),_0x2cfae3['arc'](_0x2c1289,_0x2c1289,_0x2c1289,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cfae3[_0x2f3fc9(0x3c5)](),_0x5b0dcf['fill']&&(_0x2cfae3[_0x2f3fc9(0x309)](),_0x2cfae3[_0x2f3fc9(0x1e3)]=_0x5b0dcf[_0x2f3fc9(0x2ca)],_0x5b0dcf[_0x2f3fc9(0x2d3)]==='evenodd'?_0x2cfae3[_0x2f3fc9(0x2ca)](_0x2f3fc9(0x200)):_0x2cfae3[_0x2f3fc9(0x2ca)](),_0x2cfae3[_0x2f3fc9(0x342)]());}class _0x5827b1 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x123bc4,_0x50a212){const _0x574b9a=_0x29a50d;super(_0x123bc4,_0x50a212),_0x2d5d22(this,_0x574b9a(0x37c)),_0x2d5d22(this,_0x574b9a(0x40d)),(this[_0x574b9a(0x37c)]=_0x50a212==null?void 0x0:_0x50a212['color'],this[_0x574b9a(0x40d)]=_0x50a212==null?void 0x0:_0x50a212['text']);}static[_0x29a50d(0x3f8)](_0x54e41d,_0x2be9a9){const _0x20fae6=_0x29a50d,{text:_0x204f7d,color:_0x552aeb}=_0x2be9a9;_0x54e41d[_0x20fae6(0x309)](),_0x54e41d[_0x20fae6(0x28e)]=_0x20fae6(0x411);const _0x13f2a8=_0x54e41d[_0x20fae6(0x305)](_0x204f7d)[_0x20fae6(0x37d)],_0x4da335=Math[_0x20fae6(0x397)](_0x13f2a8+0x2*_0x5d12f1,_0x25739e);_0x1fa848(_0x54e41d,{'height':_0x595381,'radius':0x4,'width':_0x4da335,'fill':_0x552aeb}),_0x54e41d[_0x20fae6(0x1e3)]=_0x20fae6(0x295);const _0x4a4c41=_0x5d12f1,_0x1a7f24=_0x595381-_0x1aad98,_0xac7a1a=_0x25739e-0x2*_0x5d12f1;if(_0x13f2a8>_0xac7a1a){let _0x702ca1='',_0x59d5fe=0x0;for(const _0x43efd4 of _0x204f7d){const _0x509ea0=_0x54e41d['measureText'](_0x43efd4)[_0x20fae6(0x37d)];if(_0x59d5fe+_0x509ea0<=_0xac7a1a-_0x54e41d['measureText'](_0x20fae6(0x35b))[_0x20fae6(0x37d)])_0x702ca1+=_0x43efd4,_0x59d5fe+=_0x509ea0;else{_0x702ca1+='...';break;}}_0x54e41d[_0x20fae6(0x23e)](_0x702ca1,_0x4a4c41,_0x1a7f24);}else _0x54e41d[_0x20fae6(0x23e)](_0x204f7d,_0x4a4c41,_0x1a7f24);_0x54e41d[_0x20fae6(0x342)]();}[_0x29a50d(0x220)](_0x2c63ab){const _0x31e105=_0x29a50d;_0x5827b1[_0x31e105(0x3f8)](_0x2c63ab,this);}}const _0x45e3b3='collab-text-anchor-',_0x593524='collab-text-range-',_0x4eac36='collab-rect-range-',_0x4a83dd=0x6,_0xf35acb=1.5,_0x3c267d=0x4,_0x58e706=1.5,_0x295271=_0x29a50d(0x340);class _0x214372{constructor(_0x3e4ba4,_0x3dbc7d,_0x4e6b0a,_0x4a9247){const _0x9f0b05=_0x29a50d;_0x2d5d22(this,_0x9f0b05(0x333),[]),_0x2d5d22(this,_0x9f0b05(0x34e),null),_0x2d5d22(this,_0x9f0b05(0x3da),null),_0x2d5d22(this,_0x9f0b05(0x335),null),_0x2d5d22(this,_0x9f0b05(0x3ce),null),_0x2d5d22(this,_0x9f0b05(0x409),null),(this[_0x9f0b05(0x3ee)]=_0x3e4ba4,this[_0x9f0b05(0x431)]=_0x3dbc7d,this[_0x9f0b05(0x456)]=_0x4e6b0a,this[_0x9f0b05(0x41f)]=_0x4a9247,this[_0x9f0b05(0x3af)]());}set[_0x29a50d(0x207)](_0x41cae6){const _0x2102ff=_0x29a50d;_0x41cae6?(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['hide'](),this[_0x2102ff(0x3da)]&&this[_0x2102ff(0x3da)][_0x2102ff(0x29d)]()):(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['show'](),this['_textBubble']&&this[_0x2102ff(0x3da)][_0x2102ff(0x275)]());}['dispose'](){const _0x4a4306=_0x29a50d;for(const _0x5d9214 of this[_0x4a4306(0x333)])_0x5d9214['dispose']();this['_textBubble']&&this[_0x4a4306(0x3da)][_0x4a4306(0x239)](),this[_0x4a4306(0x335)]&&this[_0x4a4306(0x335)]['dispose'](),this[_0x4a4306(0x34e)]&&this['_anchor'][_0x4a4306(0x239)](),this[_0x4a4306(0x409)]&&this[_0x4a4306(0x409)]();}[_0x29a50d(0x3af)](){const _0x812f97=_0x29a50d;var _0x54bee7;const {_docSkeleton:_0x13682a,_document:_0x4c4e05}=this,{color:_0x42366a,name:_0x2b802f,ranges:_0x526b13}=this[_0x812f97(0x3ee)],_0x13f25f=_0x4c4e05['getOffsetConfig'](),{docsLeft:_0x322209,docsTop:_0x444da5}=_0x13f25f,_0xddf286=new _0x3c8f3f[(_0x812f97(0x3d9))](_0x13f25f,_0x13682a);for(const {startOffset:_0xc4d8c6,endOffset:_0x202600,rangeType:_0x1a009d,segmentId:_0x30354b,segmentPage:_0x58f5c7,collapsed:_0x5407d4,isActive:_0x37e2ac}of _0x526b13){const _0xb5a5e8=_0x13682a[_0x812f97(0x39d)](_0xc4d8c6,!0x0,_0x30354b,_0x58f5c7);let _0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600,!0x0,_0x30354b,_0x58f5c7);if(_0x3e5266==null&&(_0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600-0x1,!0x1,_0x30354b,_0x58f5c7)),_0x37e2ac){const {contentBoxPointGroup:_0x3c1015}=_0xddf286[_0x812f97(0x231)](_0x3e5266,_0x3e5266);if(_0x3c1015[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x290)](_0x42366a,_0x3c1015,_0x322209,_0x444da5,_0x2b802f),this['_eventUnsubscribe']=this[_0x812f97(0x319)]();}if(_0xb5a5e8&&_0x3e5266){if(_0x1a009d===_0x49eaeb[_0x812f97(0x292)][_0x812f97(0x42c)]){const _0x56e4a8=new _0x3c8f3f[(_0x812f97(0x2dc))](_0x13f25f,_0x13682a),{pointGroup:_0x552913}=(_0x54bee7=_0x56e4a8[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266))!=null?_0x54bee7:{};if(_0x552913==null||_0x552913[_0x812f97(0x1f8)]===0x0)continue;this['_drawRectRange'](_0x42366a,_0x552913,_0x322209,_0x444da5);}else{if(!_0x5407d4){const {borderBoxPointGroup:_0x5c893e}=_0xddf286[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266);if(_0x5c893e[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x282)](_0x42366a,_0x5c893e,_0x322209,_0x444da5);}}}}}[_0x29a50d(0x290)](_0x2afa69,_0x1a66e9,_0x218e4a,_0x5330ef,_0x480104){const _0x242994=_0x29a50d,_0xa0e5e9=this[_0x242994(0x259)](_0x1a66e9),{left:_0x4e614e,top:_0x1adf7a,height:_0x2b8ac1}=_0xa0e5e9,_0x3be486=this[_0x242994(0x2ba)](),_0x15035b=_0x58e706/_0x3be486,_0x2fb4c4=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef,'height':_0x2b8ac1,'width':_0xf35acb,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)][_0x242994(0x2de)],0x0),'strokeWidth':_0x15035b,'stroke':_0x295271,'evented':!0x0});this[_0x242994(0x34e)]=_0x2fb4c4,this[_0x242994(0x431)][_0x242994(0x272)](_0x2fb4c4,_0x3c8f3f[_0x242994(0x2ad)]);const _0xf434f0=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x3c267d/0x2,'height':_0x3c267d,'width':_0x3c267d,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xf434f0,this[_0x242994(0x431)][_0x242994(0x272)](_0xf434f0,_0x3c8f3f[_0x242994(0x2ad)]);const _0x36664a=new _0x5827b1(_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x595381,'text':_0x480104,'color':_0x2afa69});this[_0x242994(0x3da)]=_0x36664a,this['_scene']['addObject'](_0x36664a,_0x3c8f3f[_0x242994(0x2ad)]),this[_0x242994(0x207)]=!0x1;}[_0x29a50d(0x319)](){const _0x4837cb=_0x29a50d,_0x6a500e=this[_0x4837cb(0x34e)][_0x4837cb(0x230)][_0x4837cb(0x3bd)](()=>{const _0x556c8f=_0x4837cb;this[_0x556c8f(0x207)]=!0x0;}),_0x229f15=this[_0x4837cb(0x34e)][_0x4837cb(0x2c3)][_0x4837cb(0x3bd)](()=>{const _0x1fcfe4=_0x4837cb;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1fcfe4(0x3ce)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x42cfd5=_0x4837cb;_0x6a500e['unsubscribe'](),_0x229f15[_0x42cfd5(0x2dd)]();};}[_0x29a50d(0x282)](_0x40fe86,_0x5e3a47,_0x6196e,_0x51c9d0){const _0x5cb361=_0x29a50d,_0x31d0ca=new _0x49eaeb[(_0x5cb361(0x3b8))](_0x40fe86)[_0x5cb361(0x44c)](0.2)['toRgbString'](),_0x41fd0e=new _0x506afb[(_0x5cb361(0x21a))](_0x593524+_0x49eaeb[_0x5cb361(0x226)][_0x5cb361(0x2fe)](_0x4a83dd),{'pointsGroup':_0x5e3a47,'fill':_0x31d0ca||_0x506afb['getColor'](_0x49eaeb[_0x5cb361(0x28b)][_0x5cb361(0x2de)],0.2),'left':_0x6196e,'top':_0x51c9d0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5cb361(0x2e9)](_0x41fd0e),this['_scene'][_0x5cb361(0x272)](_0x41fd0e,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af45b,_0x4f3615,_0x1aec2d,_0x5af415){const _0x352058=_0x29a50d,_0x3c6631=new _0x49eaeb[(_0x352058(0x3b8))](_0x5af45b)['setAlpha'](0.2)['toRgbString'](),_0x475ffe=new _0x506afb[(_0x352058(0x21a))](_0x4eac36+_0x49eaeb[_0x352058(0x226)][_0x352058(0x2fe)](_0x4a83dd),{'pointsGroup':_0x4f3615,'fill':_0x3c6631||_0x506afb[_0x352058(0x304)](_0x49eaeb[_0x352058(0x28b)][_0x352058(0x2de)],0.2),'left':_0x1aec2d,'top':_0x5af415,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x352058(0x333)][_0x352058(0x2e9)](_0x475ffe),this['_scene']['addObject'](_0x475ffe,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}[_0x29a50d(0x259)](_0x1b3048){const _0x35d2bb=_0x1b3048[0x0],_0x8c0ff4=_0x35d2bb[0x0],_0x67a131=_0x35d2bb[0x2],{x:_0x439ceb,y:_0x14acd5}=_0x8c0ff4,{x:_0x116d28,y:_0xe3887c}=_0x67a131;return{'left':_0x439ceb,'top':_0x14acd5,'width':_0x116d28-_0x439ceb,'height':_0xe3887c-_0x14acd5};}[_0x29a50d(0x2ba)](){const _0x29008e=_0x29a50d,{scaleX:_0x26399a,scaleY:_0x2e15ad}=this[_0x29008e(0x431)]['getAncestorScale']();return Math[_0x29008e(0x23d)](_0x26399a,_0x2e15ad);}}var _0x107dfe=Object[_0x29a50d(0x285)],_0xd28aa9=(_0x436812,_0x9ad9ac,_0x1f56b8,_0x3f88ec)=>{for(var _0x163b0a=_0x3f88ec>0x1?void 0x0:_0x3f88ec?_0x107dfe(_0x9ad9ac,_0x1f56b8):_0x9ad9ac,_0x55ddf6=_0x436812['length']-0x1,_0x1bfcf0;_0x55ddf6>=0x0;_0x55ddf6--)(_0x1bfcf0=_0x436812[_0x55ddf6])&&(_0x163b0a=_0x1bfcf0(_0x163b0a)||_0x163b0a);return _0x163b0a;},_0x3baee4=(_0x50ae0e,_0x146b2b)=>(_0x1bd7d8,_0x16f6a7)=>_0x146b2b(_0x1bd7d8,_0x16f6a7,_0x50ae0e);let _0x4c2a27=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fd917,_0x573634,_0xf56dea,_0x53c965,_0x53ef7c){const _0x3e4a0f=_0x29a50d;super(),_0x2d5d22(this,_0x3e4a0f(0x276),[]),_0x2d5d22(this,_0x3e4a0f(0x343),[]),(this[_0x3e4a0f(0x3cd)]=_0x1fd917,this['_docSkeletonManagerService']=_0x573634,this[_0x3e4a0f(0x1f3)]=_0xf56dea,this[_0x3e4a0f(0x260)]=_0x53c965,this[_0x3e4a0f(0x3bf)]=_0x53ef7c,this[_0x3e4a0f(0x328)]());}['_init'](){const _0x16e7b7=_0x29a50d,_0xdf8016=this[_0x16e7b7(0x3cd)][_0x16e7b7(0x2c8)],_0x3e3eea=this[_0x16e7b7(0x2cd)];this['disposeWithMe'](_0x1a1591[_0x16e7b7(0x45d)]([this[_0x16e7b7(0x1f3)][_0x16e7b7(0x445)](_0xdf8016),this[_0x16e7b7(0x3bf)][_0x16e7b7(0x1ef)]])[_0x16e7b7(0x3cc)](_0x35f2b8[_0x16e7b7(0x247)](([_0x5a3dc3,_0x475a70])=>({'skeleton':_0x3e3eea['getSkeleton'](),'cursors':[..._0x5a3dc3['values']()]['flatMap'](_0x67a813=>({..._0x67a813,'color':_0x475a70[_0x67a813[_0x16e7b7(0x37c)]]}))})))[_0x16e7b7(0x2f6)](_0x2682e4=>{if(this['_removeCollabCursors'](),_0x2682e4){const {skeleton:_0x2b344f,cursors:_0x51b64b}=_0x2682e4;this['_updateCollabCursors'](_0x2b344f,_0x51b64b);}})),this[_0x16e7b7(0x44e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x237092,_0x47ce55){const _0x1b9e39=_0x29a50d,{scene:_0x29e729,mainComponent:_0x34df55}=this[_0x1b9e39(0x3cd)],_0x2688a4=_0x47ce55[_0x1b9e39(0x247)](_0x5d3b92=>new _0x214372(_0x5d3b92,_0x29e729,_0x237092,_0x34df55));this[_0x1b9e39(0x276)]=_0x2688a4,this[_0x1b9e39(0x343)]=_0x47ce55;}[_0x29a50d(0x400)](){const _0x148839=_0x29a50d;this[_0x148839(0x2f7)]();const {scene:_0x30c4b0,mainComponent:_0x10e7e5}=this[_0x148839(0x3cd)],_0x62d2de=this[_0x148839(0x2cd)][_0x148839(0x2ef)](),_0x5cbf00=this[_0x148839(0x343)]['map'](_0x3136ff=>new _0x214372(_0x3136ff,_0x30c4b0,_0x62d2de,_0x10e7e5));this['_cursorShapes']=_0x5cbf00;}[_0x29a50d(0x2f7)](){const _0x254992=_0x29a50d;this[_0x254992(0x276)][_0x254992(0x351)](_0x232435=>_0x232435['dispose']()),this[_0x254992(0x276)]=[];}[_0x29a50d(0x2d1)](){const _0x5c9c54=_0x29a50d,_0x4f4477=[_0x3c8f3f['SetDocZoomRatioOperation']['id']];this[_0x5c9c54(0x46c)](this[_0x5c9c54(0x260)][_0x5c9c54(0x2f3)](_0x2c8f89=>{const _0x4b6b71=_0x5c9c54;_0x4f4477[_0x4b6b71(0x43f)](_0x2c8f89['id'])&&_0x2c8f89['params']['unitId']===this['_context'][_0x4b6b71(0x2c8)]&&this[_0x4b6b71(0x400)]();}));}[_0x29a50d(0x44e)](){const _0x520440=_0x29a50d;this[_0x520440(0x46c)](_0x49eaeb[_0x520440(0x384)](this[_0x520440(0x3cd)][_0x520440(0x2d2)]['onTransformChange$'])[_0x520440(0x3cc)](_0x35f2b8[_0x520440(0x3fb)](_0x4d3e1b=>_0x4d3e1b[_0x520440(0x462)]===_0x506afb[_0x520440(0x45f)][_0x520440(0x2bb)]),_0x35f2b8[_0x520440(0x458)](0x10))[_0x520440(0x2f6)](()=>{this['_refreshCollabCursors']();}));}};_0x4c2a27=_0xd28aa9([_0x3baee4(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x54d7ba[_0x29a50d(0x45b)])),_0x3baee4(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x3baee4(0x3,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3baee4(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['ThemeService']))],_0x4c2a27);const _0x59e1ad=0x1,_0x3f904f=1.5;class _0x3df6b2 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x357750,_0xb910e3){const _0x5198b1=_0x29a50d;super(_0x357750,_0xb910e3),_0x2d5d22(this,_0x5198b1(0x440)),_0x2d5d22(this,_0x5198b1(0x43b),!0x1),_0x2d5d22(this,_0x5198b1(0x36d)),_0x2d5d22(this,_0x5198b1(0x2d8),''),_0x2d5d22(this,_0x5198b1(0x326),_0x5198b1(0x20d)),_0x2d5d22(this,_0x5198b1(0x3d7)),(_0xb910e3&&this[_0x5198b1(0x234)](_0xb910e3),this[_0x5198b1(0x230)][_0x5198b1(0x3bd)](()=>this[_0x5198b1(0x234)]({'hovered':!0x0})),this[_0x5198b1(0x2c3)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x29a50d(0x234)](_0x5666db){const _0x3609aa=_0x29a50d;var _0x882a0c,_0x1938c7,_0x40b2a5,_0xe2a95e,_0x301e74,_0x5311ad;this[_0x3609aa(0x440)]=(_0x882a0c=_0x5666db['color'])!=null?_0x882a0c:this['_color'],this[_0x3609aa(0x43b)]=(_0x1938c7=_0x5666db[_0x3609aa(0x316)])!=null?_0x1938c7:this[_0x3609aa(0x43b)],this[_0x3609aa(0x36d)]=(_0x40b2a5=_0x5666db[_0x3609aa(0x413)])!=null?_0x40b2a5:this[_0x3609aa(0x36d)],this['_name']=(_0xe2a95e=_0x5666db[_0x3609aa(0x286)])!=null?_0xe2a95e:this[_0x3609aa(0x2d8)],this[_0x3609aa(0x326)]=(_0x301e74=_0x5666db[_0x3609aa(0x26a)])!=null?_0x301e74:this[_0x3609aa(0x326)],this['_backgroundColor']=(_0x5311ad=_0x5666db[_0x3609aa(0x251)])!=null?_0x5311ad:this['_backgroundColor'],this['transformByState']({'width':_0x5666db[_0x3609aa(0x37d)],'height':_0x5666db['height']});}[_0x29a50d(0x392)](_0x770daa){const _0x44e7b1=_0x29a50d,{row:_0x3963f2,column:_0x5b921c}=_0x770daa;if(_0x3963f2>=this[_0x44e7b1(0x36d)][_0x44e7b1(0x381)]&&_0x3963f2<=this['_range'][_0x44e7b1(0x35a)]&&_0x5b921c>=this['_range'][_0x44e7b1(0x449)]&&_0x5b921c<=this['_range'][_0x44e7b1(0x369)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x44e7b1(0x234)]({'hovered':!0x1});}[_0x29a50d(0x46f)](_0x13abc2){return!0x1;}[_0x29a50d(0x220)](_0x4b761c){const _0x5c9d98=_0x29a50d;_0x506afb['Rect'][_0x5c9d98(0x3f8)](_0x4b761c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3f904f,'stroke':this[_0x5c9d98(0x440)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5c9d98(0x43b)]&&(_0x4b761c[_0x5c9d98(0x309)](),_0x4b761c[_0x5c9d98(0x44a)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c9d98(0x326)]===_0x5c9d98(0x46e)?0x0:-0x14),_0x5827b1[_0x5c9d98(0x3f8)](_0x4b761c,{'text':this[_0x5c9d98(0x2d8)],'color':this[_0x5c9d98(0x440)]}),_0x4b761c[_0x5c9d98(0x342)]());}}var _0x17711b=Object['getOwnPropertyDescriptor'],_0x164dcf=(_0xfef30,_0x2099a7,_0x4fe18f,_0x3af357)=>{for(var _0x86c95f=_0x3af357>0x1?void 0x0:_0x3af357?_0x17711b(_0x2099a7,_0x4fe18f):_0x2099a7,_0x2ce3a3=_0xfef30['length']-0x1,_0x348977;_0x2ce3a3>=0x0;_0x2ce3a3--)(_0x348977=_0xfef30[_0x2ce3a3])&&(_0x86c95f=_0x348977(_0x86c95f)||_0x86c95f);return _0x86c95f;},_0x150cc6=(_0x53b799,_0x3011e2)=>(_0x5524e9,_0x58d18f)=>_0x3011e2(_0x5524e9,_0x58d18f,_0x53b799);const _0x49cc29=0x1389;let _0x42601e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x481f71,_0x53f870,_0x1248d5,_0x12d6c1){const _0x3f9766=_0x29a50d;super(),_0x2d5d22(this,'_cursors',new Set()),_0x2d5d22(this,'_lastPointer',null),(this[_0x3f9766(0x3cd)]=_0x481f71,this[_0x3f9766(0x2f0)]=_0x53f870,this[_0x3f9766(0x1f3)]=_0x1248d5,this['_themeService']=_0x12d6c1,this[_0x3f9766(0x328)]());}[_0x29a50d(0x328)](){const _0x6d86b0=_0x29a50d;this['_sheetSkeletonManagerService'][_0x6d86b0(0x37a)]['pipe'](_0x35f2b8[_0x6d86b0(0x30c)](this['dispose$']),_0x35f2b8[_0x6d86b0(0x433)](_0x3cd373=>{const _0x4ad794=_0x6d86b0;if(_0x3cd373){const _0x45b53d=_0x3cd373['sheetId'];return _0x1a1591[_0x4ad794(0x45d)](this[_0x4ad794(0x1f3)][_0x4ad794(0x445)](this[_0x4ad794(0x3cd)][_0x4ad794(0x2c8)]),this[_0x4ad794(0x3bf)][_0x4ad794(0x1ef)])[_0x4ad794(0x3cc)](_0x35f2b8[_0x4ad794(0x247)](([_0x2416f2,_0x959f7b])=>{const _0x46a639=_0x4ad794,_0x55f638=new Map();return _0x2416f2[_0x46a639(0x351)]((_0x300450,_0x1c2983)=>{const _0x19a46a=_0x46a639;if(_0x300450[_0x19a46a(0x213)]===_0x45b53d){const _0x44979e={..._0x300450};_0x44979e['color']=_0x959f7b[_0x300450[_0x19a46a(0x37c)]],_0x55f638[_0x19a46a(0x3e6)](_0x1c2983,_0x44979e);}}),{'skeleton':_0x3cd373,'cursors':_0x55f638};}));}return _0x1a1591['of']({'skeleton':null,'cursors':new Map()});}))[_0x6d86b0(0x2f6)](({skeleton:_0x210926,cursors:_0x1d0ee8})=>{const _0x274cd0=_0x6d86b0;this[_0x274cd0(0x2f7)](),_0x210926&&this[_0x274cd0(0x3dc)](_0x210926,_0x1d0ee8);}),this[_0x6d86b0(0x2f0)][_0x6d86b0(0x37a)][_0x6d86b0(0x2f6)](_0x31099a=>{const _0x825ee0=_0x6d86b0;if(_0x31099a==null)return;const {skeleton:_0x4b2fd2}=_0x31099a,{scene:_0x2a1228}=this[_0x825ee0(0x3cd)];_0x2a1228[_0x825ee0(0x204)][_0x825ee0(0x3bd)](_0x49eaeb['debounce'](_0x42ae3c=>{const _0x4ee79d=_0x825ee0;var _0x56e3ed,_0x3f29ff;const {offsetX:_0x5eb4a4,offsetY:_0x1994a7}=_0x42ae3c,{x:_0x422ea7,y:_0x3c90fe}=_0x2a1228[_0x4ee79d(0x36f)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x5eb4a4,_0x1994a7])),{scaleX:_0x2c1529,scaleY:_0xfd9cf7}=_0x2a1228[_0x4ee79d(0x2a6)](),_0x312e80=_0x2a1228[_0x4ee79d(0x42a)](_0x506afb['SHEET_VIEWPORT_KEY'][_0x4ee79d(0x22b)]),_0x25e836=_0x2a1228[_0x4ee79d(0x233)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x422ea7,_0x3c90fe]),_0x312e80),_0x576f8d=_0x4b2fd2[_0x4ee79d(0x391)](_0x5eb4a4,_0x1994a7,_0x2c1529,_0xfd9cf7,_0x25e836);((_0x56e3ed=this[_0x4ee79d(0x255)])==null?void 0x0:_0x56e3ed[_0x4ee79d(0x288)])===_0x576f8d[_0x4ee79d(0x288)]&&((_0x3f29ff=this[_0x4ee79d(0x255)])==null?void 0x0:_0x3f29ff[_0x4ee79d(0x374)])===_0x576f8d[_0x4ee79d(0x374)]||this[_0x4ee79d(0x343)]['forEach'](_0xa3c1ab=>{const _0x5e747d=_0x4ee79d;_0xa3c1ab[_0x5e747d(0x392)](_0x576f8d);});},0x64));});}[_0x29a50d(0x3dc)](_0x496eed,_0x5e8931){const _0x4b71be=_0x29a50d;var _0x3c6fe;const _0x495ed1=(_0x3c6fe=this[_0x4b71be(0x2f0)][_0x4b71be(0x1f1)]())==null?void 0x0:_0x3c6fe['skeleton'];if(!_0x495ed1)return;const _0x4608e5=this['_getSheetObject']();if(!_0x4608e5)return;this[_0x4b71be(0x343)]['forEach'](_0x41c480=>{const _0x29973c=_0x4b71be;_0x41c480[_0x29973c(0x325)]();});const {scene:_0x2374c4}=_0x4608e5,_0x5464c0=_0x4a5028(Array[_0x4b71be(0x3b6)](_0x5e8931['values']()))['map'](_0x3a7ab3=>{const _0x148d4d=_0x4b71be,{color:_0x3ef8a7,range:_0x326a23,name:_0x50d0df,selection:_0x5eb8dd,sheetID:_0x4992ec}=_0x3a7ab3,{startColumn:_0x3cdda8,startRow:_0x29f463,endColumn:_0x3a6129,endRow:_0x23281d}=_0x326a23,_0x316077=_0x5f076c[_0x148d4d(0x223)](_0x29f463,_0x3cdda8,_0x2374c4,_0x495ed1),_0xe56fcd=_0x5f076c[_0x148d4d(0x223)](_0x23281d,_0x3a6129,_0x2374c4,_0x495ed1),{columnHeaderHeightAndMarginTop:_0x446ee4}=_0x495ed1,{startX:_0x158b01,startY:_0x2fe37e}=_0x316077,{endX:_0x4f82ad,endY:_0x20bee8}=_0xe56fcd,_0x39bd86=_0x4f82ad-_0x158b01,_0x57bf4b=_0x20bee8-_0x2fe37e,_0x9cb66f={'labelPosition':_0x2fe37e-_0x446ee4>=_0x595381?'top':'bottom','sheetID':_0x4992ec,'range':_0x326a23,'color':_0x3ef8a7,'name':_0x50d0df,'selection':_0x5eb8dd,'left':_0x158b01,'top':_0x2fe37e,'width':_0x39bd86,'height':_0x57bf4b,'evented':!0x1,'zIndex':_0x49cc29};return new _0x3df6b2(_0x50d0df,_0x9cb66f);});_0x2374c4[_0x4b71be(0x1f9)](_0x5464c0,_0x59e1ad),this['_cursors']=new Set(_0x5464c0);}[_0x29a50d(0x2f7)](){const _0x123827=_0x29a50d;var _0x1a2a51;(_0x1a2a51=this[_0x123827(0x343)])==null||_0x1a2a51[_0x123827(0x351)](_0x506781=>_0x506781['dispose']());}[_0x29a50d(0x216)](){const _0x47d64f=_0x29a50d;return _0x5f076c[_0x47d64f(0x442)](this['_context'][_0x47d64f(0x2c7)],this[_0x47d64f(0x3cd)]);}};_0x42601e=_0x164dcf([_0x150cc6(0x1,_0x49eaeb['Inject'](_0x5f076c[_0x29a50d(0x379)])),_0x150cc6(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x150cc6(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x278)]))],_0x42601e);function _0x4a5028(_0x3f4beb){const _0x5c8338=_0x29a50d,_0x326479=new Map();return _0x3f4beb[_0x5c8338(0x351)](_0x54d189=>{const _0x374dd7=_0x5c8338;if(_0x326479[_0x374dd7(0x35c)](_0x54d189['selection'])){const _0x42dfa3=_0x326479[_0x374dd7(0x408)](_0x54d189[_0x374dd7(0x25d)]);_0x42dfa3[_0x374dd7(0x286)]+=',\x20'+_0x54d189['name'];}else _0x326479[_0x374dd7(0x3e6)](_0x54d189[_0x374dd7(0x25d)],_0x54d189);}),Array['from'](_0x326479[_0x5c8338(0x28a)]());}var _0x5e223d=function(){const _0x12e8ac=_0x29a50d;return _0x5e223d=Object[_0x12e8ac(0x3e2)]||function(_0x27c652){const _0x3b9e3f=_0x12e8ac;for(var _0x121108,_0x2716cc=0x1,_0x251cef=arguments['length'];_0x2716cc<_0x251cef;_0x2716cc++){_0x121108=arguments[_0x2716cc];for(var _0x41b081 in _0x121108)Object[_0x3b9e3f(0x25b)][_0x3b9e3f(0x23a)]['call'](_0x121108,_0x41b081)&&(_0x27c652[_0x41b081]=_0x121108[_0x41b081]);}return _0x27c652;},_0x5e223d['apply'](this,arguments);},_0x5e4f93=function(_0x1b3302,_0x1acaa4){const _0x33d7e2=_0x29a50d;var _0x2516ca={};for(var _0x557376 in _0x1b3302)Object[_0x33d7e2(0x25b)][_0x33d7e2(0x23a)]['call'](_0x1b3302,_0x557376)&&_0x1acaa4['indexOf'](_0x557376)<0x0&&(_0x2516ca[_0x557376]=_0x1b3302[_0x557376]);if(_0x1b3302!=null&&typeof Object[_0x33d7e2(0x22d)]==_0x33d7e2(0x329)){for(var _0x2d8021=0x0,_0x557376=Object[_0x33d7e2(0x22d)](_0x1b3302);_0x2d8021<_0x557376[_0x33d7e2(0x1f8)];_0x2d8021++)_0x1acaa4[_0x33d7e2(0x2cf)](_0x557376[_0x2d8021])<0x0&&Object[_0x33d7e2(0x25b)][_0x33d7e2(0x2d9)][_0x33d7e2(0x414)](_0x1b3302,_0x557376[_0x2d8021])&&(_0x2516ca[_0x557376[_0x2d8021]]=_0x1b3302[_0x557376[_0x2d8021]]);}return _0x2516ca;},_0x518293=_0x1a1d3a['forwardRef'](function(_0x3d5e4f,_0x8dde8a){const _0x1345da=_0x29a50d;var _0x3f682c=_0x3d5e4f[_0x1345da(0x3a5)],_0x481f96=_0x3d5e4f['id'],_0x35b657=_0x3d5e4f[_0x1345da(0x281)],_0x16deca=_0x3d5e4f[_0x1345da(0x244)],_0x109b32=_0x5e4f93(_0x3d5e4f,[_0x1345da(0x3a5),'id',_0x1345da(0x281),'extend']),_0x5b5d2f=_0x1345da(0x253)['concat'](_0x481f96,'\x20')[_0x1345da(0x24c)](_0x35b657||'')[_0x1345da(0x45a)](),_0x314177=_0x1a1d3a[_0x1345da(0x393)]('_'[_0x1345da(0x24c)](_0x167b70()));return _0xe1bc89(_0x3f682c,''['concat'](_0x481f96),{'defIds':_0x3f682c[_0x1345da(0x385)],'idSuffix':_0x314177['current']},_0x5e223d({'ref':_0x8dde8a,'className':_0x5b5d2f},_0x109b32),_0x16deca);});function _0xe1bc89(_0x32cb20,_0x30bd2c,_0xda12b3,_0xce40f2,_0x519065){const _0x4bf9a5=_0x29a50d;return _0x1a1d3a[_0x4bf9a5(0x202)](_0x32cb20['tag'],_0x5e223d(_0x5e223d({'key':_0x30bd2c},_0x336027(_0x32cb20,_0xda12b3,_0x519065)),_0xce40f2),(_0x2f8816(_0x32cb20,_0xda12b3)[_0x4bf9a5(0x38d)]||[])[_0x4bf9a5(0x247)](function(_0xb797aa,_0x4d0a49){const _0x48bc9f=_0x4bf9a5;return _0xe1bc89(_0xb797aa,''[_0x48bc9f(0x24c)](_0x30bd2c,'-')[_0x48bc9f(0x24c)](_0x32cb20[_0x48bc9f(0x21c)],'-')[_0x48bc9f(0x24c)](_0x4d0a49),_0xda12b3,void 0x0,_0x519065);}));}function _0x336027(_0x5e1a0c,_0x8cdc9c,_0x1b30ed){const _0x508d5c=_0x29a50d;var _0x34377a=_0x5e223d({},_0x5e1a0c[_0x508d5c(0x452)]);_0x1b30ed!=null&&_0x1b30ed[_0x508d5c(0x27e)]&&_0x34377a[_0x508d5c(0x2ca)]===_0x508d5c(0x27e)&&(_0x34377a[_0x508d5c(0x2ca)]=_0x1b30ed[_0x508d5c(0x27e)]),_0x5e1a0c['tag']===_0x508d5c(0x2d0)&&_0x34377a['id']&&(_0x34377a['id']=_0x34377a['id']+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)['forEach'](function(_0xd2f93d){const _0x21d8b1=_0x508d5c;var _0x51c035=_0xd2f93d[0x0],_0x22f51b=_0xd2f93d[0x1];_0x51c035===_0x21d8b1(0x2d0)&&typeof _0x22f51b==_0x21d8b1(0x389)&&(_0x34377a[_0x51c035]=_0x22f51b[_0x21d8b1(0x296)](/url\(#(.*)\)/,_0x21d8b1(0x3a9)['concat'](_0x8cdc9c[_0x21d8b1(0x33b)],')')));});var _0x5e7449=_0x8cdc9c[_0x508d5c(0x385)];return!_0x5e7449||_0x5e7449[_0x508d5c(0x1f8)]===0x0||(_0x5e1a0c[_0x508d5c(0x21c)]==='use'&&_0x34377a[_0x508d5c(0x371)]&&(_0x34377a[_0x508d5c(0x371)]=_0x34377a[_0x508d5c(0x371)]+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)[_0x508d5c(0x351)](function(_0x3cbccd){const _0x28abe2=_0x508d5c;var _0x173d66=_0x3cbccd[0x0],_0x30a18e=_0x3cbccd[0x1];typeof _0x30a18e==_0x28abe2(0x389)&&(_0x34377a[_0x173d66]=_0x30a18e['replace'](/url\(#(.*)\)/,_0x28abe2(0x3a9)['concat'](_0x8cdc9c['idSuffix'],')')));})),_0x34377a;}function _0x2f8816(_0x3ad024,_0x118555){const _0x27929b=_0x29a50d;var _0x10d735,_0x31e7fe=_0x118555[_0x27929b(0x385)];return!_0x31e7fe||_0x31e7fe[_0x27929b(0x1f8)]===0x0?_0x3ad024:_0x3ad024[_0x27929b(0x21c)]===_0x27929b(0x3fa)&&(!((_0x10d735=_0x3ad024[_0x27929b(0x38d)])===null||_0x10d735===void 0x0)&&_0x10d735[_0x27929b(0x1f8)])?_0x5e223d(_0x5e223d({},_0x3ad024),{'children':_0x3ad024[_0x27929b(0x38d)][_0x27929b(0x247)](function(_0x1b54dd){const _0x363273=_0x27929b;return typeof _0x1b54dd[_0x363273(0x452)]['id']==_0x363273(0x389)&&_0x31e7fe&&_0x31e7fe[_0x363273(0x2cf)](_0x1b54dd[_0x363273(0x452)]['id'])>-0x1?_0x5e223d(_0x5e223d({},_0x1b54dd),{'attrs':_0x5e223d(_0x5e223d({},_0x1b54dd[_0x363273(0x452)]),{'id':_0x1b54dd[_0x363273(0x452)]['id']+_0x118555[_0x363273(0x33b)]})}):_0x1b54dd;})}):_0x3ad024;}function _0x167b70(){const _0x3e066d=_0x29a50d;return Math[_0x3e066d(0x2e1)]()[_0x3e066d(0x2ed)](0x24)[_0x3e066d(0x215)](0x2,0x8);}_0x518293[_0x29a50d(0x25e)]=_0x29a50d(0x475);var _0x119b46={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x29a50d(0x360),'height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x41d),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':_0x29a50d(0x386),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3b7)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358)}}]}]}],'defIds':[_0x29a50d(0x3b7)]},_0x334b90=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x59724b,_0x53f36f){const _0x16baec=_0x29a50d;return _0x1a1d3a['createElement'](_0x518293,Object['assign']({},_0x59724b,{'id':_0x16baec(0x257),'ref':_0x53f36f,'icon':_0x119b46}));});_0x334b90[_0x29a50d(0x25e)]=_0x29a50d(0x321);var _0x47dc42={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':_0x29a50d(0x432),'width':'1em','height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':_0x29a50d(0x2f1)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x21b),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29a50d(0x3fa),'attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3d2)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358),'transform':_0x29a50d(0x25c)}}]}]}],'defIds':[_0x29a50d(0x3d2)]},_0x100138=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x3864e4,_0xb868c0){const _0x957a26=_0x29a50d;return _0x1a1d3a[_0x957a26(0x202)](_0x518293,Object['assign']({},_0x3864e4,{'id':_0x957a26(0x20c),'ref':_0xb868c0,'icon':_0x47dc42}));});_0x100138[_0x29a50d(0x25e)]=_0x29a50d(0x211);function _0x4e52fd(_0x30e0f8){const _0x546cb3=_0x29a50d;switch(_0x30e0f8){case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x402)]:return _0x546cb3(0x437);case _0x5557ff['CollaborationStatus'][_0x546cb3(0x407)]:return'collabStatus.conflict';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x1f0)]:return'collabStatus.fetchMiss';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x44f)]:return _0x546cb3(0x31d);case _0x5557ff[_0x546cb3(0x287)]['AWAITING']:case _0x5557ff['CollaborationStatus'][_0x546cb3(0x3c3)]:return _0x546cb3(0x269);case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x348)]:case _0x5557ff[_0x546cb3(0x287)]['PENDING']:return _0x546cb3(0x1fd);}}function _0x56e298(_0x48b81f){const _0x225c80=_0x29a50d,{status$:_0x421cc9}=_0x48b81f,_0x5c4d27=_0x284e97[_0x225c80(0x228)](_0x421cc9,_0x5557ff['CollaborationStatus']['NOT_COLLAB']),_0x32af6f=_0x284e97[_0x225c80(0x357)](_0x49eaeb[_0x225c80(0x415)]),_0x17a8b4=_0x284e97[_0x225c80(0x357)](_0x5557ff[_0x225c80(0x3c1)]),_0x4ccd49=_0x5c4d27!==_0x5557ff[_0x225c80(0x287)][_0x225c80(0x402)],_0x3f6ee9=_0x32af6f['t'](_0x4e52fd(_0x5c4d27)),_0x145917=_0x4ccd49?_0x59198a[_0x225c80(0x34a)](_0x100138,{}):_0x59198a[_0x225c80(0x34a)](_0x334b90,{}),_0x15e474=_0x1a1d3a[_0x225c80(0x362)](()=>{const _0x326828=_0x225c80;_0x4ccd49||_0x17a8b4[_0x326828(0x423)]();},[_0x4ccd49,_0x17a8b4]);function _0x1a86e2(){const _0x538119=_0x225c80;return _0x59198a[_0x538119(0x236)](_0x538119(0x352),{'className':_0x538119(0x40e),'onClick':_0x15e474,'children':[_0x59198a[_0x538119(0x34a)]('div',{'className':_0x381eec[_0x538119(0x472)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x4ccd49?_0x538119(0x336):_0x538119(0x20e)),'children':_0x145917}),_0x59198a['jsx'](_0x538119(0x352),{'className':_0x538119(0x2b9),'children':_0x3f6ee9})]});}return _0x4ccd49?_0x1a86e2():_0x59198a[_0x225c80(0x34a)](_0x381eec[_0x225c80(0x20f)],{'title':_0x32af6f['t']('collab-client.tooltip.reconnect'),'children':_0x1a86e2()});}var _0x2517eb=Object[_0x29a50d(0x285)],_0x5b2b4f=(_0x40fd14,_0x5b3efc,_0xe8829d,_0x5a2887)=>{const _0x30ebe9=_0x29a50d;for(var _0x3958dc=_0x5a2887>0x1?void 0x0:_0x5a2887?_0x2517eb(_0x5b3efc,_0xe8829d):_0x5b3efc,_0x56a717=_0x40fd14[_0x30ebe9(0x1f8)]-0x1,_0x3455a6;_0x56a717>=0x0;_0x56a717--)(_0x3455a6=_0x40fd14[_0x56a717])&&(_0x3958dc=_0x3455a6(_0x3958dc)||_0x3958dc);return _0x3958dc;},_0x280298=(_0x276320,_0x21ea7b)=>(_0x29c0f6,_0x3cad9b)=>_0x21ea7b(_0x29c0f6,_0x3cad9b,_0x276320);_0x2becbd[_0x29a50d(0x380)]=class extends _0x49eaeb['Disposable']{constructor(_0x479fbb,_0x575f73,_0x1dd0e2,_0x18803e){const _0x364376=_0x29a50d;super(),_0x2d5d22(this,_0x364376(0x477),new _0x1a1591[(_0x364376(0x242))](_0x5557ff[_0x364376(0x287)][_0x364376(0x44f)])),(this[_0x364376(0x2da)]=_0x479fbb,this[_0x364376(0x3aa)]=_0x575f73,this['_collaborationController']=_0x1dd0e2,this[_0x364376(0x217)]=_0x18803e,this['_initStatusComponent'](),this[_0x364376(0x2c0)]());}[_0x29a50d(0x2c0)](){const _0x22ef58=_0x29a50d;this[_0x22ef58(0x46c)](this[_0x22ef58(0x2da)]['focused$']['pipe'](_0x1a1591[_0x22ef58(0x433)](()=>{const _0x17375a=_0x22ef58,_0x1a1144=this[_0x17375a(0x2da)][_0x17375a(0x344)]();return _0x1a1144?this[_0x17375a(0x2a1)][_0x17375a(0x461)](_0x1a1144[_0x17375a(0x3fc)]()):_0x1a1591['of'](null);}),_0x1a1591[_0x22ef58(0x433)](_0x5d1b1e=>_0x5d1b1e?_0x5d1b1e[_0x22ef58(0x2a7)]:_0x1a1591['of'](_0x5557ff[_0x22ef58(0x287)][_0x22ef58(0x44f)])))[_0x22ef58(0x2f6)](_0x39d974=>{const _0x95b265=_0x22ef58;this[_0x95b265(0x477)]['next'](_0x39d974);}));}[_0x29a50d(0x2b7)](){const _0x571834=_0x29a50d;this[_0x571834(0x46c)](this[_0x571834(0x217)][_0x571834(0x383)](_0x284e97[_0x571834(0x38a)][_0x571834(0x2b0)],()=>_0x284e97[_0x571834(0x3c2)](_0x1c8028({'status$':this[_0x571834(0x477)][_0x571834(0x469)]()}),this[_0x571834(0x3aa)])));}},_0x2becbd[_0x29a50d(0x380)]=_0x5b2b4f([_0x280298(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x280298(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x280298(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x280298(0x3,_0x284e97[_0x29a50d(0x240)])],_0x2becbd[_0x29a50d(0x380)]);function _0x1c8028(_0x2d384d){const {status$:_0x294366}=_0x2d384d;return function(){const _0x4264cf=_0x37a6;return _0x59198a[_0x4264cf(0x34a)](_0x56e298,{'status$':_0x294366});};}var _0x977734=Object[_0x29a50d(0x285)],_0x20208a=(_0xf07a90,_0x3b1014,_0x3c36d3,_0x32de2f)=>{const _0x219d61=_0x29a50d;for(var _0x3f9355=_0x32de2f>0x1?void 0x0:_0x32de2f?_0x977734(_0x3b1014,_0x3c36d3):_0x3b1014,_0x3b98eb=_0xf07a90[_0x219d61(0x1f8)]-0x1,_0x57e682;_0x3b98eb>=0x0;_0x3b98eb--)(_0x57e682=_0xf07a90[_0x3b98eb])&&(_0x3f9355=_0x57e682(_0x3f9355)||_0x3f9355);return _0x3f9355;},_0x3b85ff=(_0x3f4673,_0x1096e4)=>(_0x376de0,_0xa73b33)=>_0x1096e4(_0x376de0,_0xa73b33,_0x3f4673);let _0x39f32d=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x101019,_0x14d965,_0x27e9ab,_0x935197,_0x3d02d5,_0xe6e08a){const _0x267e54=_0x29a50d;super(),this[_0x267e54(0x41a)]=_0x101019,this[_0x267e54(0x1ed)]=_0x14d965,this[_0x267e54(0x300)]=_0x27e9ab,this['_messageService']=_0x935197,this[_0x267e54(0x235)]=_0x3d02d5,this['_localeService']=_0xe6e08a,this[_0x267e54(0x3ba)](),this[_0x267e54(0x327)]();}[_0x29a50d(0x3ba)](){const _0x2e907e=_0x29a50d;this[_0x2e907e(0x46c)](this['_beforeCloseService'][_0x2e907e(0x1e6)](()=>{const _0x223aa6=_0x2e907e;if(this[_0x223aa6(0x1ed)][_0x223aa6(0x3b2)][_0x223aa6(0x2bc)])return this[_0x223aa6(0x298)]['t'](_0x223aa6(0x273));}));}['_initEvent'](){const _0x5a35c7=_0x29a50d;this['disposeWithMe'](this[_0x5a35c7(0x300)][_0x5a35c7(0x363)][_0x5a35c7(0x2f6)](_0x101242=>{const _0x40d614=_0x5a35c7;_0x101242['id']===_0x5557ff[_0x40d614(0x43d)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1e5))}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x26c)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x1ff)]&&this[_0x40d614(0x235)][_0x40d614(0x29d)]({'title':this[_0x40d614(0x298)]['t']('permission.title'),'content':this[_0x40d614(0x298)]['t']('permission.content'),'type':_0x40d614(0x2b3),'duration':0x0}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x407)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))+'('+_0x101242['data']+')'}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x471)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec['MessageType'][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x101242['data']||'')}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x375)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x243))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x3d6)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this['_localeService']['t'](_0x40d614(0x27f))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x338)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec['MessageType']['Error'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1fa))});}));}};_0x39f32d=_0x20208a([_0x3b85ff(0x0,_0x284e97[_0x29a50d(0x27d)]),_0x3b85ff(0x1,_0x5557ff[_0x29a50d(0x366)]),_0x3b85ff(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x22e)])),_0x3b85ff(0x3,_0x284e97['IMessageService']),_0x3b85ff(0x4,_0x284e97['INotificationService']),_0x3b85ff(0x5,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x39f32d);const _0x52495c=_0x29a50d(0x349),_0xbe33c4={},_0x189700=_0x49eaeb['createIdentifier']('uni.network.url-service');var _0x4e8d8e=Object['getOwnPropertyDescriptor'],_0x151c9f=(_0x3e567c,_0x1f72ee,_0x43707b,_0x314ad4)=>{const _0x480818=_0x29a50d;for(var _0x19f48e=_0x314ad4>0x1?void 0x0:_0x314ad4?_0x4e8d8e(_0x1f72ee,_0x43707b):_0x1f72ee,_0x316ac9=_0x3e567c[_0x480818(0x1f8)]-0x1,_0x284dfd;_0x316ac9>=0x0;_0x316ac9--)(_0x284dfd=_0x3e567c[_0x316ac9])&&(_0x19f48e=_0x284dfd(_0x19f48e)||_0x19f48e);return _0x19f48e;},_0x13287b=(_0x5ce16f,_0x5243eb)=>(_0x4425e8,_0x23abb9)=>_0x5243eb(_0x4425e8,_0x23abb9,_0x5ce16f);_0x2becbd[_0x29a50d(0x3c4)]=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x164978,_0x42c1c9,_0x348699,_0x2aac5b,_0x2a8833){const _0x4ebfdf=_0x29a50d;super(),this[_0x4ebfdf(0x21f)]=_0x164978,this[_0x4ebfdf(0x28c)]=_0x42c1c9,this[_0x4ebfdf(0x260)]=_0x348699,this[_0x4ebfdf(0x3ca)]=_0x2aac5b,_0x2a8833?_0x2a8833==null||_0x2a8833[_0x4ebfdf(0x330)]()[_0x4ebfdf(0x317)](()=>this[_0x4ebfdf(0x328)]()):(this['_logService']['debug'](_0x4ebfdf(0x395),_0x4ebfdf(0x3e7)),this[_0x4ebfdf(0x328)]());}async['_init'](){const _0x4c9d55=_0x29a50d,_0x2eb0a1=this[_0x4c9d55(0x21f)]['getParam'](_0x4c9d55(0x2c7)),_0x52b34a=this['_urlService'][_0x4c9d55(0x1e4)](_0x4c9d55(0x462)),_0x4e7c11=this['_urlService'][_0x4c9d55(0x1e4)]('subunit');if(!_0x2eb0a1||!_0x52b34a){this[_0x4c9d55(0x28c)][_0x4c9d55(0x2f8)](_0x4c9d55(0x395),_0x4c9d55(0x323));return;}const _0x268a8e=await this[_0x4c9d55(0x3ca)][_0x4c9d55(0x30e)](_0x2eb0a1,Number(_0x52b34a),_0x4e7c11);_0x268a8e&&_0x268a8e instanceof _0x49eaeb[_0x4c9d55(0x3be)]&&this[_0x4c9d55(0x252)](_0x268a8e);}async[_0x29a50d(0x252)](_0x2bc67a){const _0xd047ca=_0x29a50d;await this['_updateSubUnitFromURLParams'](_0x2bc67a),_0x2bc67a[_0xd047ca(0x2cb)][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](_0x36768b=>{const _0x4363fc=_0xd047ca;_0x36768b&&this[_0x4363fc(0x470)](_0x36768b);}),this[_0xd047ca(0x21f)]['urlChange$'][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](()=>this['_updateSubUnitFromURLParams'](_0x2bc67a));}[_0x29a50d(0x470)](_0xc67f68,_0x413bd5=!0x1){const _0x3d60bd=_0x29a50d,_0x2d0e0e=this[_0x3d60bd(0x21f)]['getParam'](_0x3d60bd(0x377));_0xc67f68[_0x3d60bd(0x201)]()!==_0x2d0e0e&&this['_urlService']['setParam'](_0x3d60bd(0x377),_0xc67f68['getSheetId'](),_0x413bd5);}async[_0x29a50d(0x364)](_0x27acc5){const _0x396096=_0x29a50d;var _0x52cc78;const _0x1f055d=this['_urlService'][_0x396096(0x1e4)](_0x396096(0x377));if(!_0x1f055d||!_0x27acc5['getSheetBySheetId'](_0x1f055d)){const _0x486613=_0x27acc5[_0x396096(0x420)]()[0x0],_0x41e0df=_0x27acc5[_0x396096(0x3b9)](_0x486613);if(!_0x41e0df)return;this[_0x396096(0x470)](_0x41e0df,!0x0),await this['_commandService'][_0x396096(0x465)](_0x11631c[_0x396096(0x270)]['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x486613});return;}((_0x52cc78=_0x27acc5['getActiveSheet']())==null?void 0x0:_0x52cc78[_0x396096(0x201)]())!==_0x1f055d&&await this[_0x396096(0x260)]['executeCommand'](_0x11631c['SetWorksheetActivateCommand']['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x1f055d});}},_0x2becbd[_0x29a50d(0x3c4)]=_0x151c9f([_0x13287b(0x0,_0x189700),_0x13287b(0x1,_0x49eaeb['ILogService']),_0x13287b(0x2,_0x49eaeb[_0x29a50d(0x2e4)]),_0x13287b(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x339)])),_0x13287b(0x4,_0x49eaeb[_0x29a50d(0x25a)](_0x339d10[_0x29a50d(0x3eb)]))],_0x2becbd['CollaborationDataLoaderController']);var _0xa74593=Object[_0x29a50d(0x285)],_0x26c7e7=(_0x3511eb,_0x44c9b7,_0x3b5498,_0xb9cf4b)=>{const _0x45a1aa=_0x29a50d;for(var _0x2aa651=_0xb9cf4b>0x1?void 0x0:_0xb9cf4b?_0xa74593(_0x44c9b7,_0x3b5498):_0x44c9b7,_0x4ade36=_0x3511eb[_0x45a1aa(0x1f8)]-0x1,_0x17cdf6;_0x4ade36>=0x0;_0x4ade36--)(_0x17cdf6=_0x3511eb[_0x4ade36])&&(_0x2aa651=_0x17cdf6(_0x2aa651)||_0x2aa651);return _0x2aa651;},_0x41d13d=(_0x2b3222,_0x52762e)=>(_0x2547bd,_0x5f0d24)=>_0x52762e(_0x2547bd,_0x5f0d24,_0x2b3222);let _0x200e80=class{constructor(_0x242a92,_0x3d3c4c,_0x5cc5e9){const _0x243fc9=_0x29a50d;this['_injector']=_0x242a92,this[_0x243fc9(0x3f0)]=_0x3d3c4c,this['_renderManagerService']=_0x5cc5e9;}[_0x29a50d(0x361)](_0x5c40b2){const _0x203831=_0x29a50d;this[_0x203831(0x3a1)](_0x5c40b2),this[_0x203831(0x24b)](_0x5c40b2);}[_0x29a50d(0x334)](_0x5d475b){const _0x45da17=_0x29a50d,{unitID:_0x30ddf6}=_0x5d475b,_0x525cdd=this[_0x45da17(0x382)][_0x45da17(0x368)](_0x30ddf6)[_0x45da17(0x22c)](_0x3c8f3f[_0x45da17(0x34b)]),{redoCache:_0x307163}=_0x525cdd[_0x45da17(0x29f)]();if(_0x307163[_0x45da17(0x1f8)]===0x0)return _0x5d475b;let _0x2cdfe5=_0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b[_0x45da17(0x3b5)][0x0]);for(let _0x3aadac=0x0;_0x3aadac<_0x307163[_0x45da17(0x1f8)];_0x3aadac++){const _0x407282={'id':_0x45da17(0x2bf),'params':{..._0x307163[_0x3aadac]}},_0x55193c=this['_transformService'][_0x45da17(0x2b1)](_0x2cdfe5,_0x407282,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x55193c))throw _0x55193c[_0x45da17(0x2b3)];_0x2cdfe5=_0x55193c[_0x45da17(0x350)];}return{..._0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b),'mutations':[_0x2cdfe5]};}[_0x29a50d(0x3a1)](_0x3561fd){const _0x29a36d=_0x29a50d,{unitID:_0x255f97}=_0x3561fd,_0x472cf4=this[_0x29a36d(0x382)][_0x29a36d(0x368)](_0x255f97)['with'](_0x3c8f3f[_0x29a36d(0x34b)]),{undoCache:_0xff28d5,redoCache:_0x12901f}=_0x472cf4['getUndoRedoMutationParamsCache']();if(_0xff28d5[_0x29a36d(0x1f8)]===0x0||_0x12901f[_0x29a36d(0x1f8)]===0x0)return;const _0x420ceb=[],_0x4e3255=[];let _0x7e1b77=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]),_0x305058=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]);for(let _0x3147bf=_0xff28d5[_0x29a36d(0x1f8)]-0x1;_0x3147bf>=0x0;_0x3147bf--){const _0x418962={'id':_0x29a36d(0x2bf),'params':{..._0xff28d5[_0x3147bf]}},_0x28b8eb={'id':_0x29a36d(0x2bf),'params':{..._0x12901f[_0x3147bf]}},_0x218285=this['_transformService'][_0x29a36d(0x2b1)](_0x7e1b77,_0x418962,!0x1),_0x1cf85=this[_0x29a36d(0x3f0)]['transformMutation'](_0x305058,_0x28b8eb,!0x1);if(_0x579da8[_0x29a36d(0x212)](_0x218285))throw _0x218285[_0x29a36d(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1cf85))throw _0x1cf85['error'];_0x420ceb[_0x29a36d(0x2a9)](_0x218285[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x4e3255[_0x29a36d(0x2a9)](_0x1cf85[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x7e1b77=_0x218285[_0x29a36d(0x350)],_0x305058=_0x1cf85[_0x29a36d(0x350)];}_0x472cf4[_0x29a36d(0x30b)]({'undoCache':_0x420ceb,'redoCache':_0x4e3255});}[_0x29a50d(0x24b)](_0x58bc91){const _0x28f180=_0x29a50d,{unitID:_0x414ac5}=_0x58bc91,_0x557ccb=this[_0x28f180(0x382)][_0x28f180(0x368)](_0x414ac5)['with'](_0x3c8f3f[_0x28f180(0x34b)]),_0x453c15=_0x557ccb[_0x28f180(0x31e)]();if(_0x453c15==null)return;const _0x588688=[{'id':_0x28f180(0x2bf),'params':{'unitId':_0x58bc91['unitID'],'actions':null,'textRanges':[_0x453c15]}}],_0x13fac3=this[_0x28f180(0x3f0)][_0x28f180(0x32d)](_0x58bc91,_0x588688);if(!_0x579da8[_0x28f180(0x315)](_0x13fac3))throw _0x13fac3[_0x28f180(0x2b3)];const _0x5e1ae6=_0x13fac3[_0x28f180(0x439)][0x0][_0x28f180(0x388)]['textRanges'];Array[_0x28f180(0x23f)](_0x5e1ae6)&&_0x5e1ae6[_0x28f180(0x1f8)]&&_0x557ccb[_0x28f180(0x314)](_0x5e1ae6[0x0]);}};_0x200e80=_0x26c7e7([_0x41d13d(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x41d13d(0x1,_0x579da8['ITransformService']),_0x41d13d(0x2,_0x506afb[_0x29a50d(0x3e0)])],_0x200e80);var _0x1082a4=Object[_0x29a50d(0x285)],_0x2008b4=(_0x4074ee,_0x17fb5f,_0x532899,_0x5e7f37)=>{const _0x4362fa=_0x29a50d;for(var _0x48497b=_0x5e7f37>0x1?void 0x0:_0x5e7f37?_0x1082a4(_0x17fb5f,_0x532899):_0x17fb5f,_0x754b2b=_0x4074ee[_0x4362fa(0x1f8)]-0x1,_0x40bbb8;_0x754b2b>=0x0;_0x754b2b--)(_0x40bbb8=_0x4074ee[_0x754b2b])&&(_0x48497b=_0x40bbb8(_0x48497b)||_0x48497b);return _0x48497b;},_0x969e28=(_0x58a9f4,_0x5612b8)=>(_0x9a9de0,_0x54c33b)=>_0x5612b8(_0x9a9de0,_0x54c33b,_0x58a9f4);let _0x3ab3d0=class{constructor(_0x3b790f,_0x590007,_0x263946){const _0x3df41a=_0x29a50d;this[_0x3df41a(0x3aa)]=_0x3b790f,this[_0x3df41a(0x3f0)]=_0x590007,this[_0x3df41a(0x459)]=_0x263946;}['transformStateCache'](_0x37f5bc){const _0x2a255f=_0x29a50d;this[_0x2a255f(0x23b)](_0x37f5bc);}['transformRemoteChangeset'](_0xf98eae){const _0x203c33=_0x29a50d,{unitID:_0x58d615}=_0xf98eae,{collaboration:_0x45655e}=this['_docStateChangeManagerService'][_0x203c33(0x3d5)](_0x58d615);if(_0x45655e['length']===0x0)return _0xf98eae;let _0xa3adaa=_0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae[_0x203c33(0x3b5)][0x0]);for(let _0x3465f5=0x0;_0x3465f5<_0x45655e['length'];_0x3465f5++){const _0x413199={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45655e[_0x3465f5]['unitId'],..._0x45655e[_0x3465f5][_0x203c33(0x3b0)]}},_0x3775d2=this[_0x203c33(0x3f0)][_0x203c33(0x2b1)](_0xa3adaa,_0x413199,!0x1);if(_0x579da8[_0x203c33(0x212)](_0x3775d2))throw _0x3775d2[_0x203c33(0x2b3)];_0xa3adaa=_0x3775d2[_0x203c33(0x350)];}return{..._0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae),'mutations':[_0xa3adaa]};}[_0x29a50d(0x23b)](_0x4b244e){const _0x2a0a27=_0x29a50d,{unitID:_0x3c1fec}=_0x4b244e,{history:_0x22e2ad,collaboration:_0x59359b}=this['_docStateChangeManagerService'][_0x2a0a27(0x3d5)](_0x3c1fec);if(_0x22e2ad[_0x2a0a27(0x1f8)]===0x0&&_0x59359b[_0x2a0a27(0x1f8)]===0x0)return;const _0x545dbf=[],_0x170b1c=[];let _0x164838=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e['mutations'][0x0]);for(let _0x17a9c6=_0x22e2ad[_0x2a0a27(0x1f8)]-0x1;_0x17a9c6>=0x0;_0x17a9c6--){const _0x44bb84={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x1e7)]}},_0x47ab10={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x3b0)]}},_0x3a7605=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x164838,_0x44bb84,!0x1),_0x1b002d=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x588ed6,_0x47ab10,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x3a7605))throw _0x3a7605[_0x2a0a27(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1b002d))throw _0x1b002d[_0x2a0a27(0x2b3)];_0x545dbf[_0x2a0a27(0x2a9)]({..._0x22e2ad[_0x17a9c6],'undoState':_0x3a7605[_0x2a0a27(0x439)][_0x2a0a27(0x388)],'redoState':_0x1b002d[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x3a7605[_0x2a0a27(0x350)],_0x588ed6=_0x1b002d[_0x2a0a27(0x350)];}_0x164838=_0x49eaeb[_0x2a0a27(0x226)]['deepClone'](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]);for(let _0x33d149=_0x59359b[_0x2a0a27(0x1f8)]-0x1;_0x33d149>=0x0;_0x33d149--){const _0x42e26f={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149][_0x2a0a27(0x2c8)],..._0x59359b[_0x33d149][_0x2a0a27(0x1e7)]}},_0x1ea43d={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149]['unitId'],..._0x59359b[_0x33d149][_0x2a0a27(0x3b0)]}},_0x55122f=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x164838,_0x42e26f,!0x1),_0x3ab380=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x588ed6,_0x1ea43d,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x55122f))throw _0x55122f['error'];if(_0x579da8[_0x2a0a27(0x212)](_0x3ab380))throw _0x3ab380[_0x2a0a27(0x2b3)];_0x170b1c[_0x2a0a27(0x2a9)]({..._0x59359b[_0x33d149],'undoState':_0x55122f['m2Prime'][_0x2a0a27(0x388)],'redoState':_0x3ab380[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x55122f[_0x2a0a27(0x350)],_0x588ed6=_0x3ab380[_0x2a0a27(0x350)];}this[_0x2a0a27(0x459)][_0x2a0a27(0x1f2)](_0x3c1fec,{'history':_0x545dbf,'collaboration':_0x170b1c});}};_0x3ab3d0=_0x2008b4([_0x969e28(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x969e28(0x1,_0x579da8['ITransformService']),_0x969e28(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x3c8f3f[_0x29a50d(0x241)]))],_0x3ab3d0);var _0x395ea2=Object['getOwnPropertyDescriptor'],_0x19f754=(_0x2aaae3,_0x7e370d,_0x14d952,_0x3a4a0d)=>{const _0x44f179=_0x29a50d;for(var _0x473ef8=_0x3a4a0d>0x1?void 0x0:_0x3a4a0d?_0x395ea2(_0x7e370d,_0x14d952):_0x7e370d,_0x1f3e77=_0x2aaae3[_0x44f179(0x1f8)]-0x1,_0x43722e;_0x1f3e77>=0x0;_0x1f3e77--)(_0x43722e=_0x2aaae3[_0x1f3e77])&&(_0x473ef8=_0x43722e(_0x473ef8)||_0x473ef8);return _0x473ef8;},_0x13baf3=(_0x38dd81,_0x33c0ed)=>(_0x2a28e0,_0xd13403)=>_0x33c0ed(_0x2a28e0,_0xd13403,_0x38dd81);let _0x458c5d=class{constructor(_0x32dadb,_0x4ac525){const _0x3cc4a8=_0x29a50d;this[_0x3cc4a8(0x3aa)]=_0x32dadb,this[_0x3cc4a8(0x3f0)]=_0x4ac525;}[_0x29a50d(0x1fe)](_0x22e588){const _0x55338d=_0x29a50d;var _0x410d67;const _0x55eb4b=this[_0x55338d(0x3aa)][_0x55338d(0x408)](_0x54d7ba['DocSelectionManagerService']),_0x17c935=(_0x410d67=_0x55eb4b[_0x55338d(0x2f2)]())!=null?_0x410d67:[];if(_0x17c935[_0x55338d(0x1f8)]===0x0)return;const _0x474f7f=_0x22e588['unitID'],_0x4a77f6=[{'id':_0x55338d(0x2bf),'params':{'unitId':_0x474f7f,'actions':null,'textRanges':_0x17c935}}],_0x535e4c=this[_0x55338d(0x3f0)]['transformMutationsWithChangeset'](_0x22e588,_0x4a77f6);if(!_0x579da8[_0x55338d(0x315)](_0x535e4c))throw _0x535e4c[_0x55338d(0x2b3)];const _0x554322=_0x535e4c['m2Prime'][0x0][_0x55338d(0x388)]['textRanges'];Array[_0x55338d(0x23f)](_0x554322)&&_0x554322[_0x55338d(0x1f8)]&&_0x55eb4b[_0x55338d(0x40a)](_0x554322,{'unitId':_0x474f7f,'subUnitId':_0x474f7f},!0x1);}};_0x458c5d=_0x19f754([_0x13baf3(0x0,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x13baf3(0x1,_0x579da8[_0x29a50d(0x35f)])],_0x458c5d);var _0x28ec76=Object['getOwnPropertyDescriptor'],_0x3ff2bd=(_0x509535,_0x4fddc0,_0xda78d,_0x5d057f)=>{for(var _0xcec483=_0x5d057f>0x1?void 0x0:_0x5d057f?_0x28ec76(_0x4fddc0,_0xda78d):_0x4fddc0,_0x1c21e1=_0x509535['length']-0x1,_0x5d5c0a;_0x1c21e1>=0x0;_0x1c21e1--)(_0x5d5c0a=_0x509535[_0x1c21e1])&&(_0xcec483=_0x5d5c0a(_0xcec483)||_0xcec483);return _0xcec483;},_0x171b17=(_0x51a27e,_0x2744ad)=>(_0x209d5b,_0x29e96d)=>_0x2744ad(_0x209d5b,_0x29e96d,_0x51a27e);let _0x4c5e7f=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x373af2,_0x5ee993,_0x1c0268,_0xb7afa6,_0x74b42,_0xa2e521,_0x44548e,_0x1614f1){const _0x320221=_0x29a50d;super(),_0x2d5d22(this,_0x320221(0x477),new _0x1a1591[(_0x320221(0x242))](_0x5557ff[_0x320221(0x287)][_0x320221(0x44f)])),(this[_0x320221(0x459)]=_0x373af2,this[_0x320221(0x2a1)]=_0x5ee993,this[_0x320221(0x2ec)]=_0x1c0268,this[_0x320221(0x264)]=_0xb7afa6,this[_0x320221(0x245)]=_0x74b42,this[_0x320221(0x33f)]=_0xa2e521,this[_0x320221(0x2e5)]=_0x44548e,this[_0x320221(0x298)]=_0x1614f1,this[_0x320221(0x3f3)]());}['_initEntityListener'](){const _0x5dd4d6=_0x29a50d;this[_0x5dd4d6(0x46c)](this[_0x5dd4d6(0x2a1)][_0x5dd4d6(0x31b)]['subscribe'](_0x3cba4a=>{const _0x5ce1be=_0x5dd4d6,_0x2c89d5=this[_0x5ce1be(0x459)][_0x5ce1be(0x209)][_0x5ce1be(0x2f6)](_0x22eca6=>{const _0x379a6f=_0x5ce1be;if(_0x22eca6==null)return;const {unitId:_0x3cb791,redoState:_0x1edd9f,commandId:_0x542778}=_0x22eca6;if(_0x3cb791!==_0x3cba4a[_0x379a6f(0x36a)])return;const _0x2b8e74={'id':_0x542778,'type':_0x49eaeb[_0x379a6f(0x2a5)]['MUTATION'],'params':{'unitId':_0x3cb791,'actions':_0x1edd9f[_0x379a6f(0x359)],'textRanges':null}};_0x3cba4a['onLocalMutation'](_0x2b8e74);});if(_0x3cba4a[_0x5ce1be(0x46c)](_0x2c89d5),_0x3cba4a instanceof _0x5557ff[_0x5ce1be(0x32c)]){const _0x40cc44={'onTransformIME':_0x22d576=>this[_0x5ce1be(0x2ec)]['transformIMECache'](_0x22d576),'onTransformState':_0x411cba=>this[_0x5ce1be(0x264)]['transformStateCache'](_0x411cba),'onTransformSelections':_0x3d3a9e=>this[_0x5ce1be(0x245)]['transformSelections'](_0x3d3a9e),'onSyncEditingCollabCursor':_0x3e1bbf=>this[_0x5ce1be(0x33f)]['syncEditingCollabCursor'](_0x3e1bbf),'onTransformRemoteChangesetByIMECache':_0x411174=>this[_0x5ce1be(0x2ec)]['transformRemoteChangeset'](_0x411174),'onTransformRemoteChangesetByStateCache':_0xc35437=>this['_docTransformStateCacheService'][_0x5ce1be(0x334)](_0xc35437)};_0x3cba4a[_0x5ce1be(0x322)](_0x40cc44);}}));}};_0x4c5e7f=_0x3ff2bd([_0x171b17(0x0,_0x49eaeb['Inject'](_0x3c8f3f[_0x29a50d(0x241)])),_0x171b17(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x171b17(0x2,_0x49eaeb['Inject'](_0x200e80)),_0x171b17(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x3ab3d0)),_0x171b17(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x458c5d)),_0x171b17(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x171b17(0x6,_0x284e97[_0x29a50d(0x425)]),_0x171b17(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x4c5e7f);var _0x4f8005=Object['getOwnPropertyDescriptor'],_0x402824=(_0x2a9841,_0x5ae4e5,_0x4ca086,_0x52417b)=>{for(var _0x302038=_0x52417b>0x1?void 0x0:_0x52417b?_0x4f8005(_0x5ae4e5,_0x4ca086):_0x5ae4e5,_0x2b64eb=_0x2a9841['length']-0x1,_0x1f19e8;_0x2b64eb>=0x0;_0x2b64eb--)(_0x1f19e8=_0x2a9841[_0x2b64eb])&&(_0x302038=_0x1f19e8(_0x302038)||_0x302038);return _0x302038;},_0x677963=(_0x2bef0d,_0x34ba9d)=>(_0x4aeff2,_0x1390c8)=>_0x34ba9d(_0x4aeff2,_0x1390c8,_0x2bef0d);let _0x5464f7=class extends _0x49eaeb['Disposable']{constructor(_0xb9d92b,_0x3e7bb6,_0x45940b){const _0x590371=_0x29a50d;super(),_0x2d5d22(this,_0x590371(0x1ee),new Map()),_0x2d5d22(this,_0x590371(0x2e8),new Map()),_0x2d5d22(this,_0x590371(0x3df),!0x1),(this['_configService']=_0xb9d92b,this[_0x590371(0x221)]=_0x3e7bb6,this[_0x590371(0x378)]=_0x45940b);}[_0x29a50d(0x405)](){const _0x797320=_0x29a50d;this[_0x797320(0x3df)]=!0x0;}[_0x29a50d(0x35e)](){const _0x47a8c1=_0x29a50d;this[_0x47a8c1(0x3df)]=!0x1;}get[_0x29a50d(0x3b2)](){const _0x12c90d=_0x29a50d;return this[_0x12c90d(0x2e8)];}[_0x29a50d(0x239)](){const _0x5c89c2=_0x29a50d;this[_0x5c89c2(0x406)]()[_0x5c89c2(0x317)](()=>super[_0x5c89c2(0x239)]());}async['loadOfflineData'](_0x2bf0db){const _0x35ea91=_0x29a50d;return this[_0x35ea91(0x3df)]?null:this[_0x35ea91(0x221)]['getItem'](_0x5557ff[_0x35ea91(0x29e)](_0x2bf0db));}async[_0x29a50d(0x341)](_0x2b2326,_0x4f59b1){const _0x35df70=_0x29a50d;return!!this[_0x35df70(0x221)]['setItem'](_0x2b2326,_0x4f59b1);}[_0x29a50d(0x32b)](_0x110669,_0x2f2a37,_0x1647c8,_0x41fb19){const _0x141a3a=_0x29a50d,_0x38b1e8=this[_0x141a3a(0x378)][_0x141a3a(0x2eb)](_0x110669);this[_0x141a3a(0x1ee)][_0x141a3a(0x3e6)](_0x110669,{'unitID':_0x110669,'type':_0x2f2a37,'awaitingChangeset':_0x1647c8,'mutations':_0x41fb19,'rev':_0x38b1e8}),this[_0x141a3a(0x2e8)][_0x141a3a(0x35c)](_0x110669)||this['_scheduleSaving'](_0x110669);}['_scheduleSaving'](_0x2ab593){const _0xb8503=_0x29a50d,_0x2e2bca=this['_getSaveTimeout']();_0x2e2bca===0x0?this[_0xb8503(0x33e)](_0x2ab593):this[_0xb8503(0x2e8)][_0xb8503(0x3e6)](_0x2ab593,setTimeout(()=>this[_0xb8503(0x33e)](_0x2ab593),_0x2e2bca));}['_getSaveTimeout'](){const _0x15adba=_0x29a50d;var _0x15b5a9;return(_0x15b5a9=this[_0x15adba(0x3c0)][_0x15adba(0x218)](_0x5557ff[_0x15adba(0x2d6)]))!=null?_0x15b5a9:_0x5557ff[_0x15adba(0x2e7)];}[_0x29a50d(0x33e)](_0x1a2d0c){const _0x375fc8=_0x29a50d,_0x1b1b96=this[_0x375fc8(0x2e8)]['get'](_0x1a2d0c);return _0x1b1b96!==void 0x0&&window[_0x375fc8(0x2f4)](_0x1b1b96),this[_0x375fc8(0x221)]['setItem'](_0x5557ff[_0x375fc8(0x29e)](_0x1a2d0c),this[_0x375fc8(0x1ee)][_0x375fc8(0x408)](_0x1a2d0c))[_0x375fc8(0x317)](()=>this[_0x375fc8(0x2e8)]['delete'](_0x1a2d0c));}async[_0x29a50d(0x406)](){const _0x1b4c1b=_0x29a50d,_0x4e5067=[];this[_0x1b4c1b(0x2e8)][_0x1b4c1b(0x351)]((_0x3adcde,_0x5b634e)=>{const _0x37da98=_0x1b4c1b;window[_0x37da98(0x2f4)](_0x3adcde),_0x4e5067['push'](this[_0x37da98(0x33e)](_0x5b634e)[_0x37da98(0x317)](()=>{const _0x52785d=_0x37da98;this[_0x52785d(0x2e8)][_0x52785d(0x206)](_0x5b634e);}));}),await Promise[_0x1b4c1b(0x250)](_0x4e5067);}};_0x5464f7=_0x402824([_0x677963(0x0,_0x49eaeb['IConfigService']),_0x677963(0x1,_0x49eaeb[_0x29a50d(0x2a0)]),_0x677963(0x2,_0x49eaeb['Inject'](_0x579da8[_0x29a50d(0x2b8)]))],_0x5464f7);class _0x46366a extends _0x49eaeb['RxDisposable']{constructor(){const _0x3acfba=_0x29a50d;super(),_0x2d5d22(this,_0x3acfba(0x2f9)),this[_0x3acfba(0x2f9)]=_0x1a1591['fromEvent'](window,_0x3acfba(0x478))['pipe'](_0x1a1591[_0x3acfba(0x30c)](this['dispose$']),_0x1a1591['shareReplay'](0x1),_0x1a1591[_0x3acfba(0x2c9)](void 0x0));}[_0x29a50d(0x2aa)](_0x370648,_0x155899,_0x1c1113=!0x1){const _0x36fb76=_0x29a50d,_0x28ad67=new URL(window[_0x36fb76(0x3b4)]['href']);_0x28ad67['searchParams'][_0x36fb76(0x3e6)](_0x370648,_0x155899),_0x1c1113?window[_0x36fb76(0x291)][_0x36fb76(0x2c1)]('','',_0x28ad67[_0x36fb76(0x2ed)]()):window[_0x36fb76(0x291)][_0x36fb76(0x38e)]('','',_0x28ad67[_0x36fb76(0x2ed)]());}[_0x29a50d(0x25f)](_0x319279,_0x415d99=!0x1){const _0x5ca383=_0x29a50d,_0x168e2a=new URL(window['location'][_0x5ca383(0x387)]);_0x168e2a[_0x5ca383(0x294)][_0x5ca383(0x206)](_0x319279),_0x415d99?window[_0x5ca383(0x291)][_0x5ca383(0x2c1)]('','',_0x168e2a[_0x5ca383(0x2ed)]()):window[_0x5ca383(0x291)]['pushState']('','',_0x168e2a[_0x5ca383(0x2ed)]());}[_0x29a50d(0x1e4)](_0x179376){const _0x51d311=_0x29a50d;var _0x1d3e03;return(_0x1d3e03=new URL(window[_0x51d311(0x3b4)][_0x51d311(0x387)])['searchParams'][_0x51d311(0x408)](_0x179376))!=null?_0x1d3e03:void 0x0;}}var _0x74bd41=Object[_0x29a50d(0x222)],_0x5c8e56=Object[_0x29a50d(0x285)],_0x5ae38f=(_0x27102a,_0x5472b4,_0x425a24)=>_0x5472b4 in _0x27102a?_0x74bd41(_0x27102a,_0x5472b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425a24}):_0x27102a[_0x5472b4]=_0x425a24,_0xa46fee=(_0x4b7f8c,_0x41949c,_0x35e36e,_0x52a254)=>{const _0x3e605f=_0x29a50d;for(var _0xe4985=_0x52a254>0x1?void 0x0:_0x52a254?_0x5c8e56(_0x41949c,_0x35e36e):_0x41949c,_0x2cd629=_0x4b7f8c[_0x3e605f(0x1f8)]-0x1,_0x5d6824;_0x2cd629>=0x0;_0x2cd629--)(_0x5d6824=_0x4b7f8c[_0x2cd629])&&(_0xe4985=_0x5d6824(_0xe4985)||_0xe4985);return _0xe4985;},_0x1e1c52=(_0x3f2ac9,_0x260cf6)=>(_0x2f09de,_0x51e881)=>_0x260cf6(_0x2f09de,_0x51e881,_0x3f2ac9),_0x223eb5=(_0x4ba62a,_0x3e4355,_0x3b4a87)=>_0x5ae38f(_0x4ba62a,_0x3e4355+'',_0x3b4a87);const _0x2fe50f=_0x29a50d(0x1ec);_0x2becbd['UniverCollaborationClientUIPlugin']=class extends _0x49eaeb[_0x29a50d(0x38c)]{constructor(_0x240367=_0xbe33c4,_0x427a25,_0x18a1e0,_0x65b65d){const _0xe0439f=_0x29a50d;super(),this[_0xe0439f(0x43a)]=_0x240367,this[_0xe0439f(0x382)]=_0x427a25,this[_0xe0439f(0x3aa)]=_0x18a1e0,this[_0xe0439f(0x3c0)]=_0x65b65d;const {..._0x524db6}=_0x49eaeb[_0xe0439f(0x27b)]({},_0xbe33c4,this[_0xe0439f(0x43a)]);this[_0xe0439f(0x3c0)][_0xe0439f(0x399)](_0x52495c,_0x524db6);}[_0x29a50d(0x2ee)](){const _0xdc99f1=_0x29a50d;this[_0xdc99f1(0x367)](),this['_initDependencies']();}[_0x29a50d(0x312)](){const _0x2ac514=_0x29a50d;this[_0x2ac514(0x457)]();}[_0x29a50d(0x367)](){const _0x45956f=_0x29a50d;var _0x4c4810;const _0x36be28=[[_0x2b7743],[_0x458c5d],[_0x200e80],[_0x3ab3d0],[_0xb3c406],[_0x189700,{'useClass':_0x46366a}],[_0x23e63f[_0x45956f(0x39f)],{'useClass':_0x23e63f[_0x45956f(0x451)]}],[_0x5557ff[_0x45956f(0x366)],{'useClass':_0x5464f7}],[_0x2becbd[_0x45956f(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x43f861],[_0x450d8e],[_0x2becbd[_0x45956f(0x3c4)]]];_0x49eaeb[_0x45956f(0x289)](this['_injector'],_0x49eaeb[_0x45956f(0x3bc)](_0x36be28,(_0x4c4810=this['_config'])==null?void 0x0:_0x4c4810[_0x45956f(0x1e9)]));}[_0x29a50d(0x457)](){const _0x24eac2=_0x29a50d;this['disposeWithMe'](this[_0x24eac2(0x382)]['registerRenderModule'](_0x49eaeb[_0x24eac2(0x311)][_0x24eac2(0x2e3)],[_0x4c2a27])),this[_0x24eac2(0x46c)](this['_renderManagerService'][_0x24eac2(0x2b2)](_0x49eaeb[_0x24eac2(0x311)]['UNIVER_SHEET'],[_0x42601e]));}[_0x29a50d(0x303)](){const _0x2b44e3=_0x29a50d;_0x49eaeb['touchDependencies'](this[_0x2b44e3(0x3aa)],[[_0x43f861],[_0x2becbd[_0x2b44e3(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x2becbd['CollaborationDataLoaderController']]]);}},_0x223eb5(_0x2becbd['UniverCollaborationClientUIPlugin'],_0x29a50d(0x42b),_0x2fe50f),_0x2becbd[_0x29a50d(0x41e)]=_0xa46fee([_0x49eaeb['DependentOn'](_0x5557ff[_0x29a50d(0x419)]),_0x1e1c52(0x1,_0x506afb[_0x29a50d(0x3e0)]),_0x1e1c52(0x2,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x1e1c52(0x3,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x41e)]);var _0x2ea41f=Object[_0x29a50d(0x285)],_0x10409b=(_0x142668,_0x21d47d,_0x4ab9c0,_0x301608)=>{for(var _0x46d0cb=_0x301608>0x1?void 0x0:_0x301608?_0x2ea41f(_0x21d47d,_0x4ab9c0):_0x21d47d,_0x5955d7=_0x142668['length']-0x1,_0x800743;_0x5955d7>=0x0;_0x5955d7--)(_0x800743=_0x142668[_0x5955d7])&&(_0x46d0cb=_0x800743(_0x46d0cb)||_0x46d0cb);return _0x46d0cb;},_0x5c514a=(_0x1b64b5,_0x37a2a1)=>(_0x476747,_0x825610)=>_0x37a2a1(_0x476747,_0x825610,_0x1b64b5);_0x2becbd['BrowserCollaborationSocketService']=class extends _0x5557ff['CollaborationSocketService']{constructor(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18){super(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18);}async['createSocket'](_0x335917){const _0x554fc0=_0x29a50d,_0x4a034d=await this[_0x554fc0(0x37e)](),_0x24984c=this['_createSocketURL'](_0x335917,_0x4a034d);return this[_0x554fc0(0x22f)](_0x24984c);}[_0x29a50d(0x3d8)](_0x134d68,_0x9b95a6){const _0x28309c=_0x29a50d,_0x2f1d12=typeof window>'u'?new URL(_0x134d68):new URL(_0x134d68,window[_0x28309c(0x3b4)][_0x28309c(0x3db)]);_0x2f1d12[_0x28309c(0x294)][_0x28309c(0x3e6)](_0x28309c(0x464),_0x9b95a6);const _0x571c76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28309c(0x3b4)]['search']);return _0x571c76[_0x28309c(0x408)](_0x28309c(0x467))&&_0x2f1d12[_0x28309c(0x294)]['set'](_0x28309c(0x467),_0x571c76['get']('runId')),_0x2f1d12[_0x28309c(0x2ed)]();}async[_0x29a50d(0x37e)](){const _0x4c54a7=_0x29a50d;var _0x3562a4,_0xdbc109,_0x18b895;const _0x403c0c=this['_configService'][_0x4c54a7(0x218)](_0x5557ff[_0x4c54a7(0x23c)]),_0xd886a4=(_0x3562a4=_0x403c0c==null?void 0x0:_0x403c0c[_0x4c54a7(0x2ae)])!=null?_0x3562a4:_0x5557ff[_0x4c54a7(0x29c)];return(_0x18b895=(_0xdbc109=(await this['_httpService'][_0x4c54a7(0x408)](_0xd886a4,{'headers':{'Content-Type':_0x4c54a7(0x36c)}}))[_0x4c54a7(0x2ea)])==null?void 0x0:_0xdbc109['ticket'])!=null?_0x18b895:'';}},_0x2becbd['BrowserCollaborationSocketService']=_0x10409b([_0x5c514a(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x5c514a(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x23e63f[_0x29a50d(0x39c)])),_0x5c514a(0x2,_0x49eaeb[_0x29a50d(0x37f)]),_0x5c514a(0x3,_0x49eaeb[_0x29a50d(0x2e6)]),_0x5c514a(0x4,_0x579da8[_0x29a50d(0x3f2)])],_0x2becbd[_0x29a50d(0x2a2)]);const _0x59be6f=0x7530,_0x16ec45='ACTIVE_UNIT_EVENT_CHANNEL';class _0x524bf6 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x5d4658=_0x29a50d;super(),_0x2d5d22(this,_0x5d4658(0x479),_0x49eaeb[_0x5d4658(0x2fe)]()),_0x2d5d22(this,_0x5d4658(0x22a),new Set()),_0x2d5d22(this,_0x5d4658(0x262),new Map()),_0x2d5d22(this,'_heartbeatTimer',null),_0x2d5d22(this,_0x5d4658(0x3ff),new Map()),_0x2d5d22(this,_0x5d4658(0x30a),new Map()),this[_0x5d4658(0x328)]();}[_0x29a50d(0x239)](){const _0x5e80c5=_0x29a50d;super[_0x5e80c5(0x239)](),this[_0x5e80c5(0x3ff)][_0x5e80c5(0x351)]((_0x5eb81b,_0x163b4e)=>this[_0x5e80c5(0x434)](_0x163b4e)),this[_0x5e80c5(0x293)]&&window[_0x5e80c5(0x31c)](this[_0x5e80c5(0x293)]);}[_0x29a50d(0x41b)](_0x4fe9c7){const _0x8c88fb=_0x29a50d;return this[_0x8c88fb(0x2be)](_0x4fe9c7)['pipe'](_0x1a1591[_0x8c88fb(0x24f)]());}['editingUnit'](_0x37b4e4){const _0xb9d237=_0x29a50d;this[_0xb9d237(0x22a)][_0xb9d237(0x2bc)]===0x0&&this['_scheduleHeartbeat'](),this[_0xb9d237(0x22a)][_0xb9d237(0x3f5)](_0x37b4e4),this[_0xb9d237(0x394)]({'type':0x0,'memberID':this[_0xb9d237(0x479)],'unitIDs':[_0x37b4e4],'isForwarded':!0x1});}[_0x29a50d(0x2a4)](_0x38dee2){const _0x3c4566=_0x29a50d;this['_selfUnitIDs'][_0x3c4566(0x206)](_0x38dee2),this[_0x3c4566(0x22a)][_0x3c4566(0x2bc)]===0x0&&this[_0x3c4566(0x293)]&&window[_0x3c4566(0x31c)](this[_0x3c4566(0x293)]);}[_0x29a50d(0x328)](){const _0x330005=_0x29a50d;this['disposeWithMe'](_0x49eaeb[_0x330005(0x21d)](_0x1a1591['fromEvent'](window,_0x330005(0x2e0))['subscribe'](_0x4811d3=>{const _0x38afce=_0x330005;if(_0x4811d3[_0x38afce(0x3a2)]!==_0x16ec45||!_0x4811d3[_0x38afce(0x417)])return;const _0x45ffa8=JSON[_0x38afce(0x2fd)](_0x4811d3[_0x38afce(0x417)]);this['_handleEvent'](_0x45ffa8);}))),window[_0x330005(0x29a)](_0x330005(0x227),()=>this[_0x330005(0x394)]({'type':0x1,'memberID':this[_0x330005(0x479)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x430312){const _0x11d785=_0x29a50d;switch(_0x430312[_0x11d785(0x462)]){case 0x0:this[_0x11d785(0x2af)](_0x430312);break;case 0x1:this[_0x11d785(0x37b)](_0x430312);break;case 0x2:this[_0x11d785(0x256)](_0x430312);break;}}[_0x29a50d(0x2af)](_0x56bd0a){const _0x59a689=_0x29a50d,{unitIDs:_0xa0ecd1,memberID:_0xa06dde,isForwarded:_0x3984d2}=_0x56bd0a;_0xa0ecd1[_0x59a689(0x351)](_0x193c7=>{const _0x43381a=_0x59a689;if(!_0x3984d2&&this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)&&this[_0x43381a(0x2be)](_0x193c7)[_0x43381a(0x277)](_0x5557ff[_0x43381a(0x447)]['OTHER_CLIENTS_EDITING']),!this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)||!this[_0x43381a(0x262)]['get'](_0x193c7)['has'](_0xa06dde)){const _0x5b3164=this[_0x43381a(0x262)][_0x43381a(0x408)](_0x193c7)||new Set();_0x5b3164[_0x43381a(0x3f5)](_0xa06dde),this[_0x43381a(0x262)][_0x43381a(0x3e6)](_0x193c7,_0x5b3164),this['_scheduleClearOtherTimer'](_0xa06dde);}}),_0x3984d2||this[_0x59a689(0x394)]({'type':0x0,'memberID':this[_0x59a689(0x479)],'unitIDs':[...this[_0x59a689(0x22a)]],'isForwarded':!0x0});}[_0x29a50d(0x263)](_0x54c6f0){const _0x3da855=_0x29a50d;this[_0x3da855(0x434)](_0x54c6f0);const _0x9a67c8=window['setTimeout'](()=>{const _0x2af602=_0x3da855;this['_unitOnClients'][_0x2af602(0x351)](_0xdd3e61=>{_0xdd3e61['delete'](_0x54c6f0);});},_0x59be6f*0x2);this[_0x3da855(0x3ff)][_0x3da855(0x3e6)](_0x54c6f0,_0x9a67c8);}['_removeClearOtherTimer'](_0x1c5a18){const _0x434f7a=_0x29a50d;if(this[_0x434f7a(0x3ff)][_0x434f7a(0x35c)](_0x1c5a18)){const _0x36942b=this['_clearOtherTimers'][_0x434f7a(0x408)](_0x1c5a18);_0x36942b&&window[_0x434f7a(0x2f4)](_0x36942b),this['_clearOtherTimers'][_0x434f7a(0x3e6)](_0x1c5a18,null);}}['_handleLeaveEvent'](_0x385e2e){const {memberID:_0x19e534,unitIDs:_0x4f0e01}=_0x385e2e;_0x4f0e01['forEach'](_0x4236b9=>{const _0x14b80a=_0x37a6;var _0x392109;const _0x54c7d8=this['_unitOnClients'][_0x14b80a(0x408)](_0x4236b9);_0x54c7d8&&(_0x54c7d8[_0x14b80a(0x206)](_0x19e534),(_0x392109=this[_0x14b80a(0x2be)](_0x4236b9))==null||_0x392109[_0x14b80a(0x277)](_0x54c7d8['size']===0x0?_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x208)]:_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x2fc)]));}),this['_removeClearOtherTimer'](_0x19e534);}['_handleHeartbeatEvent'](_0x2d6c98){const _0xe994c1=_0x29a50d;this['_scheduleClearOtherTimer'](_0x2d6c98[_0xe994c1(0x3d1)]);}[_0x29a50d(0x394)](_0x455908){const _0x2a6bcf=_0x29a50d;localStorage[_0x2a6bcf(0x26b)](_0x16ec45,JSON[_0x2a6bcf(0x33c)](_0x455908));}[_0x29a50d(0x39b)](){const _0x2489f6=_0x29a50d;this[_0x2489f6(0x293)]=window[_0x2489f6(0x36e)](()=>{const _0x160a30=_0x2489f6;this[_0x160a30(0x394)]({'type':0x2,'memberID':this[_0x160a30(0x479)]});},_0x59be6f);}['_ensureSubject'](_0x1a7eab){const _0x1988da=_0x29a50d;return this[_0x1988da(0x30a)][_0x1988da(0x35c)](_0x1a7eab)||this[_0x1988da(0x30a)][_0x1988da(0x3e6)](_0x1a7eab,new _0x1a1591['BehaviorSubject'](_0x5557ff[_0x1988da(0x447)][_0x1988da(0x208)])),this['_unitStatus']['get'](_0x1a7eab);}}var _0x5afc4b=(_0x513dcc=>(_0x513dcc[_0x513dcc[_0x29a50d(0x444)]=0x0]=_0x29a50d(0x444),_0x513dcc[_0x513dcc['OK']=0x1]='OK',_0x513dcc[_0x513dcc[_0x29a50d(0x404)]=0x2]=_0x29a50d(0x404),_0x513dcc[_0x513dcc[_0x29a50d(0x1ff)]=0x3]=_0x29a50d(0x1ff),_0x513dcc[_0x513dcc[_0x29a50d(0x27c)]=0x4]=_0x29a50d(0x27c),_0x513dcc[_0x513dcc['UNAUTHENTICATED']=0x5]=_0x29a50d(0x31a),_0x513dcc[_0x513dcc[_0x29a50d(0x3c9)]=0x6]='ALREADY_EXISTS',_0x513dcc[_0x513dcc[_0x29a50d(0x412)]=0x7]=_0x29a50d(0x412),_0x513dcc[_0x513dcc['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x513dcc[_0x513dcc['COMPLETION_FINISHED']=0x9]=_0x29a50d(0x34c),_0x513dcc[_0x513dcc['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x513dcc[_0x513dcc[_0x29a50d(0x2b4)]=0x1389]=_0x29a50d(0x2b4),_0x513dcc[_0x513dcc[_0x29a50d(0x29b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x513dcc[_0x513dcc[_0x29a50d(0x21e)]=0x1772]=_0x29a50d(0x21e),_0x513dcc[_0x513dcc[_0x29a50d(0x428)]=0x1773]=_0x29a50d(0x428),_0x513dcc[_0x513dcc['APPLY_REJECT']=0x1b59]=_0x29a50d(0x331),_0x513dcc[_0x513dcc[_0x29a50d(0x224)]=0x1b5a]=_0x29a50d(0x224),_0x513dcc[_0x513dcc[_0x29a50d(0x214)]=0x1b5b]=_0x29a50d(0x214),_0x513dcc[_0x513dcc['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x29a50d(0x26f),_0x513dcc[_0x513dcc['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x513dcc[_0x513dcc[_0x29a50d(0x398)]=0x1f41]=_0x29a50d(0x398),_0x513dcc[_0x513dcc[_0x29a50d(0x373)]=0x2329]=_0x29a50d(0x373),_0x513dcc[_0x513dcc[_0x29a50d(0x3f1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x513dcc[_0x513dcc[_0x29a50d(0x3d0)]=0x232b]=_0x29a50d(0x3d0),_0x513dcc[_0x513dcc[_0x29a50d(0x279)]=0x232c]=_0x29a50d(0x279),_0x513dcc[_0x513dcc[_0x29a50d(0x1eb)]=0x232d]=_0x29a50d(0x1eb),_0x513dcc[_0x513dcc[_0x29a50d(0x3e9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x513dcc[_0x513dcc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29a50d(0x283),_0x513dcc[_0x513dcc[_0x29a50d(0x3de)]=0x2713]=_0x29a50d(0x3de),_0x513dcc[_0x513dcc[_0x29a50d(0x476)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x513dcc[_0x513dcc[_0x29a50d(0x45e)]=0x271a]=_0x29a50d(0x45e),_0x513dcc[_0x513dcc[_0x29a50d(0x32a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x513dcc[_0x513dcc[_0x29a50d(0x427)]=0x2af9]=_0x29a50d(0x427),_0x513dcc[_0x513dcc[_0x29a50d(0x3fe)]=0x2ee1]=_0x29a50d(0x3fe),_0x513dcc[_0x513dcc[_0x29a50d(0x307)]=0x2ee2]='INVALID_INVITE_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x3c6)]=0x2ee3]=_0x29a50d(0x3c6),_0x513dcc[_0x513dcc['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x28d)]=0x2ee5]=_0x29a50d(0x28d),_0x513dcc[_0x513dcc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x29a50d(0x3bb),_0x513dcc[_0x513dcc[_0x29a50d(0x271)]=0x32ca]=_0x29a50d(0x271),_0x513dcc[_0x513dcc[_0x29a50d(0x353)]=0x32cb]=_0x29a50d(0x353),_0x513dcc[_0x513dcc[_0x29a50d(0x3f4)]=-0x1]=_0x29a50d(0x3f4),_0x513dcc))(_0x5afc4b||{}),_0x21f660=Object[_0x29a50d(0x285)],_0x1be725=(_0x4ec892,_0x3cfe72,_0x5a49a7,_0x13f21d)=>{const _0x225da5=_0x29a50d;for(var _0x260648=_0x13f21d>0x1?void 0x0:_0x13f21d?_0x21f660(_0x3cfe72,_0x5a49a7):_0x3cfe72,_0x266d4b=_0x4ec892[_0x225da5(0x1f8)]-0x1,_0x2f130c;_0x266d4b>=0x0;_0x266d4b--)(_0x2f130c=_0x4ec892[_0x266d4b])&&(_0x260648=_0x2f130c(_0x260648)||_0x260648);return _0x260648;},_0x348082=(_0x106b0c,_0x10a6c0)=>(_0x37297e,_0xde305f)=>_0x10a6c0(_0x37297e,_0xde305f,_0x106b0c);_0x2becbd[_0x29a50d(0x2c6)]=class extends _0x49eaeb['Disposable']{constructor(_0x1c716c,_0x22ce91,_0x518e7b){const _0x2352f3=_0x29a50d;super(),this['_instanceService']=_0x1c716c,this[_0x2352f3(0x301)]=_0x22ce91,this['_configService']=_0x518e7b;}async['runOnServer'](_0x2e512b,_0x276d1a,_0x3f275a,..._0x4a9d7a){const _0x1e727f=_0x29a50d;var _0x506bf3,_0x23caa7,_0x52c6c9,_0x3517bf;const _0x3cda5e=this['_instanceService'][_0x1e727f(0x344)]();if(!_0x3cda5e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x542858=((_0x506bf3=this[_0x1e727f(0x3c0)][_0x1e727f(0x218)](_0x5557ff[_0x1e727f(0x248)]))!=null?_0x506bf3:_0x5557ff[_0x1e727f(0x337)])+'/'+_0x2e512b+_0x1e727f(0x2ac)+_0x276d1a,_0xc8521c=new URL(window[_0x1e727f(0x3b4)][_0x1e727f(0x387)]),_0x52b87e={'scriptId':_0x2e512b,'runId':(_0x23caa7=_0xc8521c[_0x1e727f(0x294)][_0x1e727f(0x408)](_0x1e727f(0x467)))!=null?_0x23caa7:'','function':_0x276d1a,'unitId':_0x3cda5e[_0x1e727f(0x3fc)](),'argsOfFunction':JSON[_0x1e727f(0x33c)](_0x4a9d7a),'invokeId':(_0x52c6c9=_0x3f275a[_0x1e727f(0x2d7)])!=null?_0x52c6c9:'','executionId':(_0x3517bf=_0x3f275a[_0x1e727f(0x418)])!=null?_0x3517bf:''};try{const _0x3dec5e=await this[_0x1e727f(0x301)][_0x1e727f(0x355)](_0x542858,{'body':_0x52b87e});return _0x3dec5e[_0x1e727f(0x2ea)]['error']&&_0x3dec5e[_0x1e727f(0x2ea)]['error'][_0x1e727f(0x43c)]!==_0x5afc4b['OK']?_0x1e727f(0x246):_0x3dec5e[_0x1e727f(0x2ea)]['result'];}catch{return _0x1e727f(0x246);}}},_0x2becbd['RemoteUniscriptService']=_0x1be725([_0x348082(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x348082(0x1,_0x49eaeb['Inject'](_0x23e63f['HTTPService'])),_0x348082(0x2,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x2c6)]),_0x2becbd[_0x29a50d(0x254)]=_0x56e298,_0x2becbd[_0x29a50d(0x313)]=_0x189700,_0x2becbd[_0x29a50d(0x44d)]=_0x3df6b2,_0x2becbd[_0x29a50d(0x20b)]=_0x524bf6,_0x2becbd[_0x29a50d(0x430)]=_0x46366a,Object[_0x29a50d(0x222)](_0x2becbd,Symbol[_0x29a50d(0x2a8)],{'value':'Module'});}));
|