@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250410-b7c4a5b → 0.6.10-experimental.20250411-055c47d
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 _0x2bd3(_0x38c55a,_0x45bfe8){const _0x4c8e47=_0x4c8e();return _0x2bd3=function(_0x2bd356,_0x36c270){_0x2bd356=_0x2bd356-0x1a0;let _0x5b90af=_0x4c8e47[_0x2bd356];return _0x5b90af;},_0x2bd3(_0x38c55a,_0x45bfe8);}(function(_0x7f22c3,_0x25bab4){const _0xde08ee=_0x2bd3,_0xacda23=_0x7f22c3();while(!![]){try{const _0x49ac8=-parseInt(_0xde08ee(0x38d))/0x1*(parseInt(_0xde08ee(0x1d2))/0x2)+-parseInt(_0xde08ee(0x256))/0x3+-parseInt(_0xde08ee(0x333))/0x4+-parseInt(_0xde08ee(0x40a))/0x5*(-parseInt(_0xde08ee(0x307))/0x6)+parseInt(_0xde08ee(0x33f))/0x7*(-parseInt(_0xde08ee(0x3f7))/0x8)+-parseInt(_0xde08ee(0x276))/0x9+parseInt(_0xde08ee(0x298))/0xa;if(_0x49ac8===_0x25bab4)break;else _0xacda23['push'](_0xacda23['shift']());}catch(_0x581c02){_0xacda23['push'](_0xacda23['shift']());}}}(_0x4c8e,0xb1c1c),function(_0x48ea5e,_0x1416b5){const _0x3458fd=_0x2bd3;typeof exports=='object'&&typeof module<'u'?_0x1416b5(exports,require(_0x3458fd(0x230)),require('@univerjs/core'),require(_0x3458fd(0x3b6)),require(_0x3458fd(0x3d4)),require(_0x3458fd(0x2e0)),require('@univerjs/drawing'),require(_0x3458fd(0x2c9)),require(_0x3458fd(0x374)),require(_0x3458fd(0x2a6)),require(_0x3458fd(0x365)),require(_0x3458fd(0x209)),require('rxjs/operators'),require(_0x3458fd(0x353)),require(_0x3458fd(0x258)),require(_0x3458fd(0x384)),require(_0x3458fd(0x31d)),require(_0x3458fd(0x429)),require(_0x3458fd(0x2da))):typeof define==_0x3458fd(0x338)&&define['amd']?define([_0x3458fd(0x2ce),_0x3458fd(0x230),_0x3458fd(0x334),_0x3458fd(0x3b6),_0x3458fd(0x3d4),_0x3458fd(0x2e0),_0x3458fd(0x24d),'rxjs',_0x3458fd(0x374),'@univerjs-pro/collaboration',_0x3458fd(0x365),_0x3458fd(0x209),'rxjs/operators',_0x3458fd(0x353),_0x3458fd(0x258),_0x3458fd(0x384),_0x3458fd(0x31d),_0x3458fd(0x429),_0x3458fd(0x2da)],_0x1416b5):(_0x48ea5e=typeof globalThis<'u'?globalThis:_0x48ea5e||self,_0x1416b5(_0x48ea5e['UniverProCollaborationClientUi']={},_0x48ea5e[_0x3458fd(0x1d3)],_0x48ea5e[_0x3458fd(0x42f)],_0x48ea5e[_0x3458fd(0x1d8)],_0x48ea5e[_0x3458fd(0x21e)],_0x48ea5e['UniverDocsUi'],_0x48ea5e[_0x3458fd(0x3e8)],_0x48ea5e[_0x3458fd(0x2c9)],_0x48ea5e[_0x3458fd(0x25e)],_0x48ea5e['UniverProCollaboration'],_0x48ea5e[_0x3458fd(0x311)],_0x48ea5e['UniverSheets'],_0x48ea5e[_0x3458fd(0x2c9)][_0x3458fd(0x300)],_0x48ea5e['UniverSheetsUi'],_0x48ea5e[_0x3458fd(0x352)],_0x48ea5e[_0x3458fd(0x1f5)],_0x48ea5e['UniverDesign'],_0x48ea5e[_0x3458fd(0x352)],_0x48ea5e[_0x3458fd(0x227)]));}(this,function(_0x233897,_0x3cd4b3,_0x2f047f,_0x228785,_0x25af06,_0x35f299,_0x4f12b8,_0x5c56d7,_0x220baf,_0x10f325,_0x4afa7e,_0xafcc68,_0x9aeac,_0x472d06,_0x41d205,_0x598c76,_0x128cbd,_0x2525f4,_0x53afa0){'use strict';const _0x57234b=_0x2bd3;var _0x110295=Object['defineProperty'],_0x2eed13=(_0x1ddce1,_0x3f45cd,_0x83d0e5)=>_0x3f45cd in _0x1ddce1?_0x110295(_0x1ddce1,_0x3f45cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x83d0e5}):_0x1ddce1[_0x3f45cd]=_0x83d0e5,_0x2a7ff2=(_0xd46c8d,_0x5c1cff,_0x41eea3)=>_0x2eed13(_0xd46c8d,typeof _0x5c1cff!='symbol'?_0x5c1cff+'':_0x5c1cff,_0x41eea3),_0x1ba4c6=Object[_0x57234b(0x32c)],_0x5d57d5=(_0x5757bc,_0x1fbdb7,_0xd571a8,_0x257dd3)=>{const _0x595fc8=_0x57234b;for(var _0x5b76b4=_0x257dd3>0x1?void 0x0:_0x257dd3?_0x1ba4c6(_0x1fbdb7,_0xd571a8):_0x1fbdb7,_0x595934=_0x5757bc[_0x595fc8(0x394)]-0x1,_0x1ae614;_0x595934>=0x0;_0x595934--)(_0x1ae614=_0x5757bc[_0x595934])&&(_0x5b76b4=_0x1ae614(_0x5b76b4)||_0x5b76b4);return _0x5b76b4;},_0x3e892a=(_0x8557bc,_0x42ecd6)=>(_0x2558d5,_0x116100)=>_0x42ecd6(_0x2558d5,_0x116100,_0x8557bc);let _0x3d6cb5=class extends _0x2f047f['RxDisposable']{constructor(_0x421587,_0x29be59){const _0xc1423a=_0x57234b;super(),this['_docClipboardService']=_0x421587,this[_0xc1423a(0x1c4)]=_0x29be59,this['_init']();}[_0x57234b(0x1b3)](){const _0xa83912=_0x57234b,_0x3f0bf8=this;this[_0xa83912(0x3aa)](this[_0xa83912(0x37d)][_0xa83912(0x343)]({'onBeforePasteImage':async _0x1edd05=>{const _0x5e593f=_0xa83912,_0x536349=await _0x3f0bf8['_imageIoService'][_0x5e593f(0x275)](_0x1edd05);return _0x536349?{'source':_0x536349['source'],'imageSourceType':_0x536349[_0x5e593f(0x2b3)]}:null;}}));}};_0x3d6cb5=_0x5d57d5([_0x3e892a(0x0,_0x35f299['IDocClipboardService']),_0x3e892a(0x1,_0x4f12b8[_0x57234b(0x312)])],_0x3d6cb5);const _0x1bd2d9=[_0x57234b(0x2f6),_0x57234b(0x234),_0x57234b(0x390),_0x57234b(0x335),'blue400',_0x57234b(0x2f7)];class _0x45519b extends _0x2f047f[_0x57234b(0x387)]{constructor(){const _0xd4cabb=_0x57234b;super(...arguments),_0x2a7ff2(this,'_assignedColors',new Map()),_0x2a7ff2(this,_0xd4cabb(0x267),0x0);}[_0x57234b(0x371)](_0xd0f7d6){const _0x342747=_0x57234b;if(this[_0x342747(0x326)][_0x342747(0x2de)](_0xd0f7d6))return this['_assignedColors']['get'](_0xd0f7d6);const _0x295c62=_0x1bd2d9[this[_0x342747(0x267)]];return this[_0x342747(0x267)]=(this[_0x342747(0x267)]+0x1)%_0x1bd2d9[_0x342747(0x394)],this[_0x342747(0x326)]['set'](_0xd0f7d6,_0x295c62),_0x295c62;}}function _0x2539fe(_0x2fb848){const _0x4955b3=_0x57234b;let _0x2291cc='';for(const _0x4b4c04 of _0x2fb848){const {startOffset:_0x4ddfa6,endOffset:_0x151129,isActive:_0x1d5bae,rangeType:_0x280981,segmentId:_0x3e9fab,segmentPage:_0x3a024e}=_0x4b4c04;_0x2291cc[_0x4955b3(0x394)]&&(_0x2291cc+=','),_0x2291cc+=_0x4ddfa6+':'+_0x151129+':'+(_0x1d5bae?'1':'0')+':'+_0x280981+':'+_0x3e9fab+':'+_0x3a024e;}return _0x2291cc;}function _0x5814c9(_0x4a4ee7){const _0x312374=_0x57234b,_0x12c492=_0x4a4ee7['split'](','),_0x5b9a68=[];for(const _0x193675 of _0x12c492){const [_0x3c3895,_0x1e5ed9,_0x45b536,_0xaef3d8,_0x2b07e2,_0x1061ca]=_0x193675[_0x312374(0x323)](':');_0x5b9a68[_0x312374(0x34b)]({'startOffset':Number(_0x3c3895),'endOffset':Number(_0x1e5ed9),'collapsed':_0x3c3895===_0x1e5ed9,'isActive':_0x45b536==='1','rangeType':_0xaef3d8===_0x2f047f[_0x312374(0x380)][_0x312374(0x419)]?_0x2f047f[_0x312374(0x380)]['TEXT']:_0x2f047f[_0x312374(0x380)][_0x312374(0x3c5)],'segmentId':typeof _0x2b07e2==_0x312374(0x210)?String(_0x2b07e2):'','segmentPage':Number(_0x1061ca!=null?_0x1061ca:-0x1)});}return _0x5b9a68[_0x312374(0x218)](_0x1d8ef2=>_0x1d8ef2[_0x312374(0x233)])||(_0x5b9a68[0x0]['isActive']=!0x0),_0x5b9a68;}class _0x2dfd39 extends _0x2f047f[_0x57234b(0x1e7)]{constructor(){const _0x207b6f=_0x57234b;super(...arguments),_0x2a7ff2(this,_0x207b6f(0x3e7),new _0x5c56d7[(_0x207b6f(0x284))](null)),_0x2a7ff2(this,_0x207b6f(0x295),this[_0x207b6f(0x3e7)][_0x207b6f(0x1a1)]());}[_0x57234b(0x288)](_0x58baeb){const _0x107856=_0x57234b,{unitID:_0x62cefa,memberID:_0x27523f,textRanges:_0x288536}=_0x58baeb,_0x4aefb4=_0x2539fe(_0x288536);if(_0x4aefb4==='')return;const _0xd3f4c5={'unitID':_0x62cefa,'memberID':_0x27523f,'selection':_0x4aefb4};this['_collabCursorState$'][_0x107856(0x273)](_0xd3f4c5);}}var _0x57fe33=Object['getOwnPropertyDescriptor'],_0x10111d=(_0x1b5cd9,_0x2c5ab5,_0x524a7f,_0xa5c8ff)=>{const _0x5e9d44=_0x57234b;for(var _0x2409de=_0xa5c8ff>0x1?void 0x0:_0xa5c8ff?_0x57fe33(_0x2c5ab5,_0x524a7f):_0x2c5ab5,_0x29e0c1=_0x1b5cd9[_0x5e9d44(0x394)]-0x1,_0x5eb40d;_0x29e0c1>=0x0;_0x29e0c1--)(_0x5eb40d=_0x1b5cd9[_0x29e0c1])&&(_0x2409de=_0x5eb40d(_0x2409de)||_0x2409de);return _0x2409de;},_0x13763e=(_0x1ae576,_0x291e8f)=>(_0x34df9e,_0x563397)=>_0x291e8f(_0x34df9e,_0x563397,_0x1ae576);const _0x75d48b=0x12c,_0x26f21f=0x64;let _0x1331e4=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x22d4b2,_0x59760e,_0x19d0e3,_0x430b5d,_0x50bde5,_0x556aba,_0x12c4bd,_0x35ce63,_0x18d8bf){const _0x2ab22d=_0x57234b;super(),_0x2a7ff2(this,'_online',!0x1),_0x2a7ff2(this,_0x2ab22d(0x1b3),!0x1),_0x2a7ff2(this,'_cursorInfo$',new _0x5c56d7[(_0x2ab22d(0x284))](new Map())),_0x2a7ff2(this,'cursorInfo$',this[_0x2ab22d(0x293)]['asObservable']()),_0x2a7ff2(this,'_roomMembers$',new _0x5c56d7['BehaviorSubject']([])),_0x2a7ff2(this,_0x2ab22d(0x27f),this[_0x2ab22d(0x232)]['pipe'](_0x5c56d7[_0x2ab22d(0x1cb)](_0x75d48b))),_0x2a7ff2(this,'_updateLocalCursor',_0x2f047f[_0x2ab22d(0x2cd)](_0x109096=>{const _0x5a0b89=_0x2ab22d,_0x36e953={'eventID':_0x10f325[_0x5a0b89(0x279)][_0x5a0b89(0x1ca)],'data':{'unitID':this[_0x5a0b89(0x21f)],'memberID':this[_0x5a0b89(0x37e)][_0x5a0b89(0x2fa)](),'selection':_0x2539fe(_0x109096)}};this[_0x5a0b89(0x37e)]['send'](_0x36e953,this[_0x5a0b89(0x21f)]);},_0x26f21f)),(this[_0x2ab22d(0x21f)]=_0x22d4b2,this['_session']=_0x59760e,this[_0x2ab22d(0x2b8)]=_0x19d0e3,this['_colorAssignService']=_0x430b5d,this[_0x2ab22d(0x3b2)]=_0x50bde5,this['_syncEditingCollabCursorService']=_0x556aba,this[_0x2ab22d(0x2a0)]=_0x12c4bd,this[_0x2ab22d(0x3d5)]=_0x35ce63,this[_0x2ab22d(0x3c2)]=_0x18d8bf);}get[_0x57234b(0x421)](){const _0x2f2224=_0x57234b;return this[_0x2f2224(0x293)][_0x2f2224(0x229)]();}get[_0x57234b(0x33a)](){const _0x22abf9=_0x57234b;return this[_0x22abf9(0x232)][_0x22abf9(0x229)]();}[_0x57234b(0x2e6)](){const _0x58141b=_0x57234b;super[_0x58141b(0x2e6)](),this[_0x58141b(0x293)]['next'](new Map()),this['_cursorInfo$'][_0x58141b(0x2ae)](),this['_roomMembers$'][_0x58141b(0x273)]([]),this[_0x58141b(0x232)][_0x58141b(0x2ae)]();}[_0x57234b(0x3a9)](){const _0x3dc7eb=_0x57234b;this[_0x3dc7eb(0x1b3)]||(this[_0x3dc7eb(0x1b3)]=!0x0,this[_0x3dc7eb(0x37e)][_0x3dc7eb(0x2d0)]['pipe'](_0x5c56d7[_0x3dc7eb(0x399)](this[_0x3dc7eb(0x314)]))['subscribe'](_0x17a147=>{const _0x2c297b=_0x3dc7eb;_0x17a147===_0x3cd4b3[_0x2c297b(0x265)]['ONLINE']?this[_0x2c297b(0x264)]():this[_0x2c297b(0x1b8)]();}),this[_0x3dc7eb(0x37e)]['event$']['pipe'](_0x5c56d7['takeUntil'](this[_0x3dc7eb(0x314)]))[_0x3dc7eb(0x2d2)](_0x183c2a=>{const _0x2a2d64=_0x3dc7eb,_0x566856=_0x183c2a['eventID'];_0x566856===_0x10f325[_0x2a2d64(0x279)]['UPDATE_CURSOR']&&this[_0x2a2d64(0x2f5)](_0x183c2a),_0x566856===_0x10f325[_0x2a2d64(0x279)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x183c2a);}),this['disposeWithMe'](this[_0x3dc7eb(0x3c2)][_0x3dc7eb(0x321)](_0x2126f0=>{const _0x55cb76=_0x3dc7eb,_0x170bd9=_0x2126f0['params'];_0x170bd9!=null&&this[_0x55cb76(0x1db)]&&_0x2126f0['id']===_0x220baf['SetTextSelectionsOperation']['id']&&_0x170bd9[_0x55cb76(0x3ac)]===this[_0x55cb76(0x21f)]&&_0x170bd9[_0x55cb76(0x40b)]===!0x1&&_0x170bd9[_0x55cb76(0x408)][_0x55cb76(0x394)]>0x0&&this[_0x55cb76(0x2b6)](_0x170bd9[_0x55cb76(0x408)]);})),this[_0x3dc7eb(0x242)][_0x3dc7eb(0x295)][_0x3dc7eb(0x297)](_0x5c56d7[_0x3dc7eb(0x399)](this[_0x3dc7eb(0x314)]))[_0x3dc7eb(0x2d2)](_0x308abc=>{const _0x4b357b=_0x3dc7eb;if((_0x308abc==null?void 0x0:_0x308abc['unitID'])!==this[_0x4b357b(0x21f)])return;const _0x40f3f0={'eventID':_0x10f325[_0x4b357b(0x279)][_0x4b357b(0x1ca)],'data':_0x308abc};this[_0x4b357b(0x2f5)](_0x40f3f0);}),this[_0x3dc7eb(0x3aa)](this[_0x3dc7eb(0x3c2)][_0x3dc7eb(0x321)](_0xd05062=>{const _0x59c6be=_0x3dc7eb;if(_0xd05062[_0x59c6be(0x31b)]==null)return;const _0x43bbcc=_0xd05062[_0x59c6be(0x31b)];if(_0xd05062['id']!==_0x220baf['RichTextEditingMutation']['id']||_0x43bbcc[_0x59c6be(0x3ac)]!==this[_0x59c6be(0x21f)])return;const _0x1b4f55={'id':_0x59c6be(0x253),'params':_0x43bbcc},_0x835248=this['cursorInfo'];for(const [_0x308210,_0x2a5f32]of _0x835248){const _0x3aacbd={'id':_0x59c6be(0x253),'params':{'unitId':this[_0x59c6be(0x21f)],'actions':null,'textRanges':_0x2a5f32[_0x59c6be(0x408)]}},_0x5b776d=this[_0x59c6be(0x2a0)][_0x59c6be(0x42a)](_0x1b4f55,_0x3aacbd,!0x1);if(_0x10f325['isTransformMutationFailure'](_0x5b776d))throw _0x5b776d['error'];_0x835248[_0x59c6be(0x3cf)](_0x308210,{..._0x2a5f32,'ranges':_0x5b776d['m2Prime'][_0x59c6be(0x31b)][_0x59c6be(0x304)]});}queueMicrotask(()=>{const _0x59d6f0=_0x59c6be;this[_0x59d6f0(0x293)][_0x59d6f0(0x273)](_0x835248);});})));}[_0x57234b(0x2f5)](_0x3ef0cf){const _0x187055=_0x57234b;var _0xa4bb70,_0x15b572;const {memberID:_0x375842,selection:_0x73e2d9}=_0x3ef0cf['data'],_0x530302=_0x5814c9(_0x73e2d9),_0x56ff57=(_0x15b572=(_0xa4bb70=this[_0x187055(0x3b2)]['getMember'](this[_0x187055(0x21f)],_0x375842))==null?void 0x0:_0xa4bb70[_0x187055(0x350)])!=null?_0x15b572:_0x187055(0x34f),_0x4d246b={'color':this['_colorAssignService'][_0x187055(0x371)](_0x375842),'name':_0x56ff57,'ranges':_0x530302},_0x35ee89=this['cursorInfo'];_0x35ee89[_0x187055(0x3cf)](_0x375842,_0x4d246b),this[_0x187055(0x293)][_0x187055(0x273)](_0x35ee89);}[_0x57234b(0x3fd)](_0x173389){const _0x56518d=_0x57234b,{memberID:_0x44aeea}=_0x173389[_0x56518d(0x318)],_0x2cdfb3=this[_0x56518d(0x421)];_0x2cdfb3[_0x56518d(0x39a)](_0x44aeea),this[_0x56518d(0x293)][_0x56518d(0x273)](_0x2cdfb3);}[_0x57234b(0x264)](){const _0x442f65=_0x57234b;var _0x4a5ffd;if(this[_0x442f65(0x1db)]=!0x0,((_0x4a5ffd=this[_0x442f65(0x3d5)]['getFocusedUnit']())==null?void 0x0:_0x4a5ffd[_0x442f65(0x3a6)]())!==this['unitID'])return;const _0x588e4b=this[_0x442f65(0x2b8)]['get'](_0x220baf[_0x442f65(0x302)])[_0x442f65(0x1ac)]();Array[_0x442f65(0x3a5)](_0x588e4b)&&_0x588e4b[_0x442f65(0x394)]>0x0&&this[_0x442f65(0x2b6)](_0x588e4b);}[_0x57234b(0x1b8)](){this['_online']=!0x1;}};_0x1331e4=_0x10111d([_0x13763e(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x13763e(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x45519b)),_0x13763e(0x4,_0x2f047f['Inject'](_0x3cd4b3[_0x57234b(0x201)])),_0x13763e(0x5,_0x2f047f[_0x57234b(0x2b9)](_0x2dfd39)),_0x13763e(0x6,_0x10f325[_0x57234b(0x407)]),_0x13763e(0x7,_0x2f047f[_0x57234b(0x309)]),_0x13763e(0x8,_0x2f047f[_0x57234b(0x283)])],_0x1331e4);var _0x31a2ec=Object['getOwnPropertyDescriptor'],_0xaa4b3b=(_0x1b3b3f,_0x138e1f,_0x1e3cbc,_0x4ebef9)=>{const _0x5f133a=_0x57234b;for(var _0x56151f=_0x4ebef9>0x1?void 0x0:_0x4ebef9?_0x31a2ec(_0x138e1f,_0x1e3cbc):_0x138e1f,_0xcb381e=_0x1b3b3f[_0x5f133a(0x394)]-0x1,_0x54e671;_0xcb381e>=0x0;_0xcb381e--)(_0x54e671=_0x1b3b3f[_0xcb381e])&&(_0x56151f=_0x54e671(_0x56151f)||_0x56151f);return _0x56151f;},_0x477542=(_0x48ecc0,_0xb8b427)=>(_0x592573,_0x421e89)=>_0xb8b427(_0x592573,_0x421e89,_0x48ecc0);const _0x13f565=0x12c,_0x4eecce=0x64,_0xebd5ff=()=>{let _0x5363ee=[],_0x20a9bc=!0x1;return _0x3a2fca=>{const _0x5e4b9d=_0x2bd3;_0x5363ee[_0x5e4b9d(0x34b)](_0x3a2fca),_0x20a9bc||(_0x20a9bc=!0x0,setTimeout(()=>{const _0x3f3e72=_0x5e4b9d;_0x5363ee[_0x3f3e72(0x410)](_0x53736b=>_0x53736b()),_0x5363ee=[],_0x20a9bc=!0x1;}));};};let _0x1b973a=class extends _0x2f047f['RxDisposable']{constructor(_0x249a2a,_0x3ca3f9,_0x4807f6,_0x3fc548,_0x723022,_0x37b97a,_0x168bcb,_0x5b8591){const _0x33c127=_0x57234b;super(),_0x2a7ff2(this,_0x33c127(0x1db),!0x1),_0x2a7ff2(this,_0x33c127(0x1b3),!0x1),_0x2a7ff2(this,_0x33c127(0x293),new _0x5c56d7[(_0x33c127(0x284))](new Map())),_0x2a7ff2(this,_0x33c127(0x2bb),this[_0x33c127(0x293)][_0x33c127(0x1a1)]()),_0x2a7ff2(this,_0x33c127(0x232),new _0x5c56d7[(_0x33c127(0x284))]([])),_0x2a7ff2(this,_0x33c127(0x27f),this[_0x33c127(0x232)]['pipe'](_0x5c56d7['debounceTime'](_0x13f565))),_0x2a7ff2(this,_0x33c127(0x2b6),_0x2f047f[_0x33c127(0x2cd)]((_0x1c6889,_0x4ac322)=>{const _0x13b5f4=_0x33c127,_0x531f76={'eventID':_0x10f325['CollaborationEvent'][_0x13b5f4(0x1ca)],'data':{'unitID':this[_0x13b5f4(0x21f)],'memberID':this['_session']['getMemberID'](),'selection':_0x4afa7e[_0x13b5f4(0x2c5)](_0x1c6889,_0x4ac322[_0x13b5f4(0x3eb)])}};this['_session']['send'](_0x531f76,this[_0x13b5f4(0x21f)]);},_0x4eecce)),(this[_0x33c127(0x21f)]=_0x249a2a,this[_0x33c127(0x37e)]=_0x3ca3f9,this['_injector']=_0x4807f6,this[_0x33c127(0x355)]=_0x3fc548,this[_0x33c127(0x3b2)]=_0x723022,this[_0x33c127(0x3d5)]=_0x37b97a,this[_0x33c127(0x3c2)]=_0x168bcb,this[_0x33c127(0x1fb)]=_0x5b8591);}get[_0x57234b(0x421)](){const _0x4d2200=_0x57234b;return this[_0x4d2200(0x293)]['getValue']();}get[_0x57234b(0x33a)](){const _0x5559d7=_0x57234b;return this[_0x5559d7(0x232)][_0x5559d7(0x229)]();}['dispose'](){const _0xffd7cd=_0x57234b;super['dispose'](),this[_0xffd7cd(0x293)][_0xffd7cd(0x273)](new Map()),this['_cursorInfo$'][_0xffd7cd(0x2ae)](),this[_0xffd7cd(0x232)][_0xffd7cd(0x273)]([]),this['_roomMembers$']['complete']();}[_0x57234b(0x3a9)](){const _0x1c80a9=_0x57234b;this[_0x1c80a9(0x1b3)]||(this['_init']=!0x0,this['_session'][_0x1c80a9(0x2d0)][_0x1c80a9(0x297)](_0x5c56d7[_0x1c80a9(0x399)](this[_0x1c80a9(0x314)]))['subscribe'](_0x4fdd8b=>{const _0x5f58f3=_0x1c80a9;_0x4fdd8b===_0x3cd4b3['SessionStatus'][_0x5f58f3(0x30d)]?this['_toggleOnline']():this[_0x5f58f3(0x1b8)]();}),this[_0x1c80a9(0x37e)][_0x1c80a9(0x1f1)][_0x1c80a9(0x297)](_0x5c56d7['takeUntil'](this['dispose$']))[_0x1c80a9(0x2d2)](_0x884192=>{const _0x37576f=_0x1c80a9,_0x2e1296=_0x884192[_0x37576f(0x250)];_0x2e1296===_0x10f325[_0x37576f(0x279)][_0x37576f(0x1ca)]&&this[_0x37576f(0x2f5)](_0x884192),_0x2e1296===_0x10f325['CollaborationEvent']['USERS_LEAVE']&&this[_0x37576f(0x3fd)](_0x884192);}),this[_0x1c80a9(0x1d5)](),this['disposeWithMe'](this['_commandService'][_0x1c80a9(0x321)](_0x4f83ee=>{const _0x2a55f8=_0x1c80a9;if(this['_online']&&_0x4f83ee['id']===_0xafcc68[_0x2a55f8(0x2a5)]['id']&&_0x4f83ee[_0x2a55f8(0x31b)]['unitId']===this[_0x2a55f8(0x21f)]){const _0x415c2f=_0x4f83ee[_0x2a55f8(0x31b)];this[_0x2a55f8(0x2b6)](_0x415c2f['subUnitId'],_0x415c2f[_0x2a55f8(0x392)][0x0]);}})));}[_0x57234b(0x2f5)](_0x1052b6){const _0x1ea314=_0x57234b;var _0xb49d49,_0x43aeba;const {memberID:_0x114fd6,selection:_0x591f8b}=_0x1052b6[_0x1ea314(0x318)],{sheetName:_0x5f4c9a,range:_0x5d101e}=_0x4afa7e['deserializeRangeWithSheet'](_0x591f8b),_0x57195d={'name':(_0x43aeba=(_0xb49d49=this[_0x1ea314(0x3b2)][_0x1ea314(0x2bf)](this[_0x1ea314(0x21f)],_0x114fd6))==null?void 0x0:_0xb49d49[_0x1ea314(0x350)])!=null?_0x43aeba:_0x1ea314(0x34f),'range':this[_0x1ea314(0x25d)](_0x5f4c9a,_0x5d101e),'sheetID':_0x5f4c9a,'color':this[_0x1ea314(0x355)]['assignAColorForMemberID'](_0x114fd6),'selection':_0x591f8b},_0x36d79a=this[_0x1ea314(0x421)];_0x36d79a[_0x1ea314(0x3cf)](_0x114fd6,_0x57195d),this[_0x1ea314(0x293)][_0x1ea314(0x273)](_0x36d79a);}[_0x57234b(0x3fd)](_0x50d4b1){const _0x581759=_0x57234b,{memberID:_0x411920}=_0x50d4b1[_0x581759(0x318)],_0x256980=this[_0x581759(0x421)];_0x256980[_0x581759(0x39a)](_0x411920),this[_0x581759(0x293)][_0x581759(0x273)](_0x256980);}[_0x57234b(0x25d)](_0x158166,_0x44f813){const _0xda265f=_0x57234b;var _0x468cb6,_0x53fea4;const _0x27630b=(_0x53fea4=(_0x468cb6=this[_0xda265f(0x3d5)]['getUniverSheetInstance'](this[_0xda265f(0x21f)]))==null?void 0x0:_0x468cb6['getSheetBySheetId'](_0x158166))==null?void 0x0:_0x53fea4[_0xda265f(0x1fd)]();return(_0x27630b==null?void 0x0:_0x27630b[_0xda265f(0x3cc)](_0x691cf5=>_0x2f047f[_0xda265f(0x3a4)]['contains'](_0x691cf5,_0x44f813)))||_0x44f813;}[_0x57234b(0x1d5)](){const _0x5a36af=_0x57234b,_0x21b64c=new _0x2f047f[(_0x5a36af(0x370))](),_0x34d32d=_0xebd5ff(),_0x6c3f06=()=>{const _0x1681be=_0x5a36af;_0x21b64c[_0x1681be(0x2e6)]();const _0x3b1756=(_0xef9e36,_0xc4492,_0xcdd9ac,_0x19d049)=>{const _0x5b336c=_0x1681be;let _0x4a11a3=[];switch(_0xef9e36['id']){case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x251)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x24a)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)]['DeleteRangeMoveUpCommandId']:{_0x4a11a3=_0xafcc68[_0x5b336c(0x401)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x383)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x3a1)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x2c2)]:{_0x4a11a3=_0xafcc68['handleInsertRangeMoveDown'](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x25f)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x32a)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x362)]:{_0x4a11a3=_0xafcc68['handleInsertRow'](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x361)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x431)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)]['RemoveColCommandId']:{_0x4a11a3=_0xafcc68[_0x5b336c(0x306)](_0xef9e36,_0x19d049);break;}case _0xafcc68[_0x5b336c(0x246)][_0x5b336c(0x303)]:{_0x4a11a3=_0xafcc68[_0x5b336c(0x1c5)](_0xef9e36,_0x19d049);break;}}const _0x7bab29=_0xafcc68['runRefRangeMutations'](_0x4a11a3,_0x19d049),_0x5e29c4=this['cursorInfo']['get'](_0xc4492);if(_0x5e29c4&&_0x7bab29){const _0x578adb={..._0x5e29c4,'range':_0x7bab29};this['cursorInfo'][_0x5b336c(0x3cf)](_0xc4492,_0x578adb),_0x34d32d(()=>{const _0x3db8cb=_0x5b336c,_0xdb6359=this[_0x3db8cb(0x1fb)][_0x3db8cb(0x22d)](_0x7bab29,_0x174023=>(_0xdb6359[_0x3db8cb(0x2e6)](),_0x3b1756(_0x174023,_0xc4492,_0xcdd9ac,_0x7bab29)));_0x21b64c[_0x3db8cb(0x2bd)](_0xdb6359);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1681be(0x410)]((_0x2202ae,_0x2c25f1)=>{const _0x5f139e=_0x1681be,{range:_0x2b74ca,sheetID:_0x5ef12c}=_0x2202ae,_0x13ca62=this['_refRangeService'][_0x5f139e(0x22d)](_0x2b74ca,_0x1490ec=>(_0x13ca62[_0x5f139e(0x2e6)](),_0x3b1756(_0x1490ec,_0x2c25f1,_0x5ef12c,_0x2b74ca)));_0x21b64c['add'](_0x13ca62);});};this['disposeWithMe'](_0x2f047f[_0x5a36af(0x299)](this[_0x5a36af(0x293)][_0x5a36af(0x2d2)](()=>{_0x6c3f06();})));}['_toggleOnline'](){const _0x1580b4=_0x57234b;var _0x331365,_0x10b3c2;if(this[_0x1580b4(0x1db)]=!0x0,((_0x331365=this[_0x1580b4(0x3d5)][_0x1580b4(0x2ef)]())==null?void 0x0:_0x331365['getUnitId']())!==this['unitID'])return;const _0x2348a8=(_0x10b3c2=this['_injector']['get'](_0xafcc68[_0x1580b4(0x373)])['getCurrentSelections']())==null?void 0x0:_0x10b3c2[0x0],_0xb4692b=this[_0x1580b4(0x3d5)][_0x1580b4(0x2d8)](_0x2f047f[_0x1580b4(0x320)][_0x1580b4(0x2f4)])[_0x1580b4(0x3e4)]();_0x2348a8&&_0xb4692b&&this[_0x1580b4(0x2b6)](_0xb4692b[_0x1580b4(0x336)](),_0x2348a8);}[_0x57234b(0x1b8)](){const _0x332729=_0x57234b;this[_0x332729(0x1db)]=!0x1;}};_0x1b973a=_0xaa4b3b([_0x477542(0x2,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x477542(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x45519b)),_0x477542(0x4,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3[_0x57234b(0x201)])),_0x477542(0x5,_0x2f047f[_0x57234b(0x309)]),_0x477542(0x6,_0x2f047f[_0x57234b(0x283)]),_0x477542(0x7,_0x2f047f['Inject'](_0xafcc68[_0x57234b(0x248)]))],_0x1b973a);var _0x29e752=Object['getOwnPropertyDescriptor'],_0x3c8ee2=(_0x1da834,_0x5ba698,_0x1baa39,_0x54fda8)=>{const _0x45f0d2=_0x57234b;for(var _0x556d94=_0x54fda8>0x1?void 0x0:_0x54fda8?_0x29e752(_0x5ba698,_0x1baa39):_0x5ba698,_0x4fe8bc=_0x1da834[_0x45f0d2(0x394)]-0x1,_0x2b2436;_0x4fe8bc>=0x0;_0x4fe8bc--)(_0x2b2436=_0x1da834[_0x4fe8bc])&&(_0x556d94=_0x2b2436(_0x556d94)||_0x556d94);return _0x556d94;},_0x5bb288=(_0x4e7817,_0x30d14e)=>(_0x136dd6,_0x45d470)=>_0x30d14e(_0x136dd6,_0x45d470,_0x4e7817);let _0x2b7c6d=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x4dcb77,_0x13e58a,_0x3d643d){const _0x4d4978=_0x57234b;super(),_0x2a7ff2(this,_0x4d4978(0x1e1),new Map()),_0x2a7ff2(this,_0x4d4978(0x39c),new _0x5c56d7[(_0x4d4978(0x214))]()),(this[_0x4d4978(0x3d5)]=_0x4dcb77,this[_0x4d4978(0x2b8)]=_0x13e58a,this[_0x4d4978(0x28d)]=_0x3d643d,this[_0x4d4978(0x1b3)]());}['dispose'](){const _0x44b6c4=_0x57234b;super[_0x44b6c4(0x2e6)](),this[_0x44b6c4(0x39c)][_0x44b6c4(0x2ae)](),this[_0x44b6c4(0x1e1)][_0x44b6c4(0x410)](_0x11d498=>_0x11d498[_0x44b6c4(0x2e6)]());}[_0x57234b(0x418)](_0x5a2de4){const _0x505e13=_0x57234b;return this['_entities']['has'](_0x5a2de4)?this[_0x505e13(0x1e1)][_0x505e13(0x1f3)](_0x5a2de4)[_0x505e13(0x2bb)]:this[_0x505e13(0x39c)]['pipe'](_0x5c56d7[_0x505e13(0x3ec)](_0x33b139=>_0x33b139[_0x505e13(0x21f)]===_0x5a2de4),_0x5c56d7['switchMap'](_0x1ae39d=>_0x1ae39d[_0x505e13(0x2bb)]));}[_0x57234b(0x1b3)](){const _0x2b426e=_0x57234b;this[_0x2b426e(0x3d5)][_0x2b426e(0x257)](_0x2f047f['UniverInstanceType'][_0x2b426e(0x2f4)])[_0x2b426e(0x297)](_0x5c56d7[_0x2b426e(0x399)](this[_0x2b426e(0x314)]))[_0x2b426e(0x2d2)](async _0x3dc8b0=>{const _0x4097f9=_0x2b426e,_0x41f81b=_0x3dc8b0['getUnitId'](),_0x3582ea=await this[_0x4097f9(0x1dc)](_0x41f81b);this[_0x4097f9(0x39c)][_0x4097f9(0x273)](_0x3582ea),this['_entities'][_0x4097f9(0x3cf)](_0x41f81b,_0x3582ea);}),this['_univerInstanceService'][_0x2b426e(0x257)](_0x2f047f[_0x2b426e(0x320)][_0x2b426e(0x391)])[_0x2b426e(0x297)](_0x5c56d7[_0x2b426e(0x399)](this['dispose$']))[_0x2b426e(0x297)](_0x5c56d7[_0x2b426e(0x3ec)](_0x53fa48=>!_0x53fa48[_0x2b426e(0x3a6)]()[_0x2b426e(0x30b)]('__')))[_0x2b426e(0x2d2)](async _0x41c795=>{const _0x52e2f7=_0x2b426e,_0x55f648=_0x41c795[_0x52e2f7(0x3a6)](),_0x5da55f=await this[_0x52e2f7(0x38b)](_0x55f648);this[_0x52e2f7(0x39c)][_0x52e2f7(0x273)](_0x5da55f),this['_entities'][_0x52e2f7(0x3cf)](_0x55f648,_0x5da55f);}),_0x5c56d7[_0x2b426e(0x2ab)](this[_0x2b426e(0x3d5)][_0x2b426e(0x1be)](_0x2f047f[_0x2b426e(0x320)][_0x2b426e(0x391)]),this[_0x2b426e(0x3d5)][_0x2b426e(0x1be)](_0x2f047f[_0x2b426e(0x320)][_0x2b426e(0x2f4)]))['pipe'](_0x5c56d7[_0x2b426e(0x399)](this['dispose$']))['subscribe'](_0x2fb92e=>{const _0x112278=_0x2b426e,_0x3d0042=_0x2fb92e[_0x112278(0x3a6)](),_0x3a48bf=this[_0x112278(0x1e1)]['get'](_0x3d0042);_0x3a48bf&&(_0x3a48bf[_0x112278(0x2e6)](),this['_entities'][_0x112278(0x39a)](_0x3d0042));});}async[_0x57234b(0x1dc)](_0x1eb6e1){const _0x368a18=_0x57234b,_0x40274e=await this[_0x368a18(0x28d)][_0x368a18(0x3f1)](_0x1eb6e1),_0x1a3e44=this[_0x368a18(0x2b8)][_0x368a18(0x2a8)](_0x1b973a,_0x1eb6e1,_0x40274e);return _0x1a3e44['init'](),_0x1a3e44;}async[_0x57234b(0x38b)](_0x71930e){const _0x252f41=_0x57234b,_0x1cce5e=await this[_0x252f41(0x28d)]['requireSession'](_0x71930e),_0x57a19f=this['_injector'][_0x252f41(0x2a8)](_0x1331e4,_0x71930e,_0x1cce5e);return _0x57a19f['init'](),_0x57a19f;}};_0x2b7c6d=_0x3c8ee2([_0x5bb288(0x0,_0x2f047f['IUniverInstanceService']),_0x5bb288(0x1,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x5bb288(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3[_0x57234b(0x3d2)]))],_0x2b7c6d);const _0x4cdd05=0x14,_0x591c42=0xc8,_0x481d88=0x4,_0x454bd9=0x5;function _0x423da2(_0x48e751,_0x5bd42a){const _0x49579f=_0x57234b;let {radius:_0x50bf32,width:_0x198c63,height:_0x58a747}=_0x5bd42a;_0x50bf32=_0x50bf32!=null?_0x50bf32:0x0,_0x198c63=_0x198c63!=null?_0x198c63:0x1e,_0x58a747=_0x58a747!=null?_0x58a747:0x1e;let _0x365521=0x0,_0x25d609=0x0,_0x278466=0x0;_0x365521=_0x25d609=_0x278466=Math[_0x49579f(0x37c)](_0x50bf32,_0x198c63/0x2,_0x58a747/0x2),_0x48e751['beginPath'](),_0x48e751[_0x49579f(0x2c6)](_0x365521,0x0),_0x48e751[_0x49579f(0x262)](_0x198c63-_0x25d609,0x0),_0x48e751[_0x49579f(0x1b6)](_0x198c63-_0x25d609,_0x25d609,_0x25d609,Math['PI']*0x3/0x2,0x0,!0x1),_0x48e751[_0x49579f(0x262)](_0x198c63,_0x58a747-_0x278466),_0x48e751[_0x49579f(0x1b6)](_0x198c63-_0x278466,_0x58a747-_0x278466,_0x278466,0x0,Math['PI']/0x2,!0x1),_0x48e751[_0x49579f(0x262)](0x0,_0x58a747),_0x48e751[_0x49579f(0x262)](0x0,_0x365521),_0x48e751[_0x49579f(0x1b6)](_0x365521,_0x365521,_0x365521,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48e751[_0x49579f(0x202)](),_0x5bd42a[_0x49579f(0x255)]&&(_0x48e751['save'](),_0x48e751[_0x49579f(0x2e3)]=_0x5bd42a[_0x49579f(0x255)],_0x5bd42a['fillRule']===_0x49579f(0x22f)?_0x48e751['fill']('evenodd'):_0x48e751[_0x49579f(0x255)](),_0x48e751['restore']());}class _0x5ba144 extends _0x228785[_0x57234b(0x2ea)]{constructor(_0xc4c6a3,_0x310887){const _0x2b17dc=_0x57234b;super(_0xc4c6a3,_0x310887),_0x2a7ff2(this,_0x2b17dc(0x236)),_0x2a7ff2(this,'text'),(this[_0x2b17dc(0x236)]=_0x310887==null?void 0x0:_0x310887[_0x2b17dc(0x236)],this[_0x2b17dc(0x1c6)]=_0x310887==null?void 0x0:_0x310887['text']);}static[_0x57234b(0x28e)](_0x14306e,_0x4b1f1f){const _0x3dfa25=_0x57234b,{text:_0x45af54,color:_0x3168e9}=_0x4b1f1f;_0x14306e[_0x3dfa25(0x3ea)](),_0x14306e['font']=_0x3dfa25(0x23f);const _0x2a29fb=_0x14306e[_0x3dfa25(0x1b1)](_0x45af54)[_0x3dfa25(0x226)],_0x257357=Math[_0x3dfa25(0x37c)](_0x2a29fb+0x2*_0x481d88,_0x591c42);_0x423da2(_0x14306e,{'height':_0x4cdd05,'radius':0x4,'width':_0x257357,'fill':_0x3168e9}),_0x14306e[_0x3dfa25(0x2e3)]=_0x3dfa25(0x313);const _0x24a67e=_0x481d88,_0x4cec59=_0x4cdd05-_0x454bd9,_0x2b5205=_0x591c42-0x2*_0x481d88;if(_0x2a29fb>_0x2b5205){let _0x2cd98e='',_0x2482e2=0x0;for(const _0x349092 of _0x45af54){const _0x4b90ce=_0x14306e[_0x3dfa25(0x1b1)](_0x349092)[_0x3dfa25(0x226)];if(_0x2482e2+_0x4b90ce<=_0x2b5205-_0x14306e['measureText'](_0x3dfa25(0x27e))[_0x3dfa25(0x226)])_0x2cd98e+=_0x349092,_0x2482e2+=_0x4b90ce;else{_0x2cd98e+='...';break;}}_0x14306e[_0x3dfa25(0x3cd)](_0x2cd98e,_0x24a67e,_0x4cec59);}else _0x14306e[_0x3dfa25(0x3cd)](_0x45af54,_0x24a67e,_0x4cec59);_0x14306e[_0x3dfa25(0x3df)]();}[_0x57234b(0x28b)](_0xa2ef3c){const _0x1b9c62=_0x57234b;_0x5ba144[_0x1b9c62(0x28e)](_0xa2ef3c,this);}}const _0x1a81bd=_0x57234b(0x372),_0x1d141a='collab-text-range-',_0x22bc68=_0x57234b(0x3af),_0x532f29=0x6,_0x12f6b7=1.5,_0x4612f4=0x4,_0x2d1273=1.5,_0x1360f2='rgba(255,\x20255,\x20255,\x200.01)';class _0x4578c0{constructor(_0x3e3923,_0x179f5b,_0x523645,_0x4ef4e1){const _0x34adc3=_0x57234b;_0x2a7ff2(this,_0x34adc3(0x3dd),[]),_0x2a7ff2(this,_0x34adc3(0x2a1),null),_0x2a7ff2(this,_0x34adc3(0x428),null),_0x2a7ff2(this,_0x34adc3(0x3ff),null),_0x2a7ff2(this,_0x34adc3(0x24f),null),_0x2a7ff2(this,_0x34adc3(0x1e2),null),(this['_cursor']=_0x3e3923,this[_0x34adc3(0x38e)]=_0x179f5b,this[_0x34adc3(0x2ff)]=_0x523645,this[_0x34adc3(0x2b0)]=_0x4ef4e1,this['_render']());}set[_0x57234b(0x42d)](_0x4ffa5a){const _0x2faeb5=_0x57234b;_0x4ffa5a?(this[_0x2faeb5(0x3ff)]&&this[_0x2faeb5(0x3ff)][_0x2faeb5(0x30e)](),this['_textBubble']&&this[_0x2faeb5(0x428)][_0x2faeb5(0x420)]()):(this[_0x2faeb5(0x3ff)]&&this['_anchorDot'][_0x2faeb5(0x420)](),this[_0x2faeb5(0x428)]&&this[_0x2faeb5(0x428)][_0x2faeb5(0x30e)]());}['dispose'](){const _0x582852=_0x57234b;for(const _0x544308 of this[_0x582852(0x3dd)])_0x544308['dispose']();this['_textBubble']&&this[_0x582852(0x428)][_0x582852(0x2e6)](),this[_0x582852(0x3ff)]&&this[_0x582852(0x3ff)][_0x582852(0x2e6)](),this[_0x582852(0x2a1)]&&this[_0x582852(0x2a1)]['dispose'](),this['_eventUnsubscribe']&&this[_0x582852(0x1e2)]();}['_render'](){const _0x34fb9d=_0x57234b;var _0x220186;const {_docSkeleton:_0x4ed27f,_document:_0x206dcf}=this,{color:_0x1904ec,name:_0x414721,ranges:_0x2a486d}=this[_0x34fb9d(0x2b5)],_0x1af929=_0x206dcf[_0x34fb9d(0x3ab)](),{docsLeft:_0x4bd51e,docsTop:_0x15ca5c}=_0x1af929,_0x2675ff=new _0x35f299['NodePositionConvertToCursor'](_0x1af929,_0x4ed27f);for(const {startOffset:_0x57a9ed,endOffset:_0x15c611,rangeType:_0x254a25,segmentId:_0x580b3b,segmentPage:_0x2960d0,collapsed:_0x523891,isActive:_0xbbda94}of _0x2a486d){const _0x41d106=_0x4ed27f['findNodePositionByCharIndex'](_0x57a9ed,!0x0,_0x580b3b,_0x2960d0);let _0x59e6fc=_0x4ed27f[_0x34fb9d(0x20d)](_0x15c611,!0x0,_0x580b3b,_0x2960d0);if(_0x59e6fc==null&&(_0x59e6fc=_0x4ed27f[_0x34fb9d(0x20d)](_0x15c611-0x1,!0x1,_0x580b3b,_0x2960d0)),_0xbbda94){const {contentBoxPointGroup:_0x5ad739}=_0x2675ff[_0x34fb9d(0x327)](_0x59e6fc,_0x59e6fc);if(_0x5ad739['length']===0x0)continue;this[_0x34fb9d(0x2b7)](_0x1904ec,_0x5ad739,_0x4bd51e,_0x15ca5c,_0x414721),this[_0x34fb9d(0x1e2)]=this[_0x34fb9d(0x2b1)]();}if(_0x41d106&&_0x59e6fc){if(_0x254a25===_0x2f047f[_0x34fb9d(0x380)][_0x34fb9d(0x3c5)]){const _0x3afe4a=new _0x35f299[(_0x34fb9d(0x1b0))](_0x1af929,_0x4ed27f),{pointGroup:_0x276f6d}=(_0x220186=_0x3afe4a['getRangePointData'](_0x41d106,_0x59e6fc))!=null?_0x220186:{};if(_0x276f6d==null||_0x276f6d[_0x34fb9d(0x394)]===0x0)continue;this[_0x34fb9d(0x1d9)](_0x1904ec,_0x276f6d,_0x4bd51e,_0x15ca5c);}else{if(!_0x523891){const {borderBoxPointGroup:_0x9b6f73}=_0x2675ff[_0x34fb9d(0x327)](_0x41d106,_0x59e6fc);if(_0x9b6f73[_0x34fb9d(0x394)]===0x0)continue;this[_0x34fb9d(0x423)](_0x1904ec,_0x9b6f73,_0x4bd51e,_0x15ca5c);}}}}}[_0x57234b(0x2b7)](_0x4fbbad,_0x367a25,_0x12d219,_0x49abea,_0x47a7d8){const _0x292476=_0x57234b,_0x4d6951=this[_0x292476(0x2af)](_0x367a25),{left:_0x244b13,top:_0x47dff7,height:_0x294a5f}=_0x4d6951,_0x128bfe=this[_0x292476(0x1d0)](),_0x52e218=_0x2d1273/_0x128bfe,_0x109838=new _0x228785[(_0x292476(0x1a9))](_0x1a81bd+_0x2f047f['Tools'][_0x292476(0x237)](_0x532f29),{'left':_0x244b13+_0x12d219-_0x52e218,'top':_0x47dff7+_0x49abea,'height':_0x294a5f,'width':_0x12f6b7,'fill':_0x4fbbad||_0x228785[_0x292476(0x274)](_0x2f047f[_0x292476(0x3a8)][_0x292476(0x41d)],0x0),'strokeWidth':_0x52e218,'stroke':_0x1360f2,'evented':!0x0});this[_0x292476(0x2a1)]=_0x109838,this[_0x292476(0x38e)]['addObject'](_0x109838,_0x35f299[_0x292476(0x26e)]);const _0x36a12b=new _0x228785['Rect'](_0x1a81bd+_0x2f047f[_0x292476(0x1e6)][_0x292476(0x237)](_0x532f29),{'left':_0x244b13+_0x12d219-_0x52e218,'top':_0x47dff7+_0x49abea-_0x4612f4/0x2,'height':_0x4612f4,'width':_0x4612f4,'fill':_0x4fbbad||_0x228785['getColor'](_0x2f047f[_0x292476(0x3a8)][_0x292476(0x41d)],0x0),'strokeWidth':0x0,'stroke':_0x4fbbad||_0x228785[_0x292476(0x274)](_0x2f047f[_0x292476(0x3a8)][_0x292476(0x41d)],0x0),'evented':!0x1});this[_0x292476(0x3ff)]=_0x36a12b,this['_scene'][_0x292476(0x1f0)](_0x36a12b,_0x35f299[_0x292476(0x26e)]);const _0x385d2d=new _0x5ba144(_0x1a81bd+_0x2f047f[_0x292476(0x1e6)][_0x292476(0x237)](_0x532f29),{'left':_0x244b13+_0x12d219-_0x52e218,'top':_0x47dff7+_0x49abea-_0x4cdd05,'text':_0x47a7d8,'color':_0x4fbbad});this['_textBubble']=_0x385d2d,this[_0x292476(0x38e)][_0x292476(0x1f0)](_0x385d2d,_0x35f299[_0x292476(0x26e)]),this[_0x292476(0x42d)]=!0x1;}[_0x57234b(0x2b1)](){const _0x233a09=_0x57234b,_0xdb0131=this['_anchor'][_0x233a09(0x217)][_0x233a09(0x3be)](()=>{this['_hover']=!0x0;}),_0x386da1=this[_0x233a09(0x2a1)]['onPointerLeave$'][_0x233a09(0x3be)](()=>{const _0x31dab7=_0x233a09;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x31dab7(0x24f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4263b0=_0x233a09;_0xdb0131[_0x4263b0(0x348)](),_0x386da1[_0x4263b0(0x348)]();};}[_0x57234b(0x423)](_0x2a1449,_0xa0c25b,_0x39d1b4,_0x20820b){const _0x28cea=_0x57234b,_0x23b1d1=new _0x2f047f[(_0x28cea(0x1af))](_0x2a1449)[_0x28cea(0x32f)](0.2)[_0x28cea(0x400)](),_0x14f2ea=new _0x228785[(_0x28cea(0x26d))](_0x1d141a+_0x2f047f[_0x28cea(0x1e6)][_0x28cea(0x237)](_0x532f29),{'pointsGroup':_0xa0c25b,'fill':_0x23b1d1||_0x228785[_0x28cea(0x274)](_0x2f047f[_0x28cea(0x3a8)][_0x28cea(0x41d)],0.2),'left':_0x39d1b4,'top':_0x20820b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28cea(0x34b)](_0x14f2ea),this[_0x28cea(0x38e)][_0x28cea(0x1f0)](_0x14f2ea,_0x35f299[_0x28cea(0x26e)]);}['_drawRectRange'](_0x44b99b,_0x28a511,_0x2abf02,_0x5b951f){const _0x412d6d=_0x57234b,_0x5db3af=new _0x2f047f[(_0x412d6d(0x1af))](_0x44b99b)[_0x412d6d(0x32f)](0.2)[_0x412d6d(0x400)](),_0x4bb7f2=new _0x228785[(_0x412d6d(0x26d))](_0x22bc68+_0x2f047f[_0x412d6d(0x1e6)][_0x412d6d(0x237)](_0x532f29),{'pointsGroup':_0x28a511,'fill':_0x5db3af||_0x228785[_0x412d6d(0x274)](_0x2f047f[_0x412d6d(0x3a8)][_0x412d6d(0x41d)],0.2),'left':_0x2abf02,'top':_0x5b951f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x412d6d(0x3dd)][_0x412d6d(0x34b)](_0x4bb7f2),this[_0x412d6d(0x38e)][_0x412d6d(0x1f0)](_0x4bb7f2,_0x35f299[_0x412d6d(0x26e)]);}[_0x57234b(0x2af)](_0x3538e2){const _0x5c7762=_0x3538e2[0x0],_0x970378=_0x5c7762[0x0],_0x146f6b=_0x5c7762[0x2],{x:_0x41bc84,y:_0x18dfba}=_0x970378,{x:_0x50d95b,y:_0x307a1f}=_0x146f6b;return{'left':_0x41bc84,'top':_0x18dfba,'width':_0x50d95b-_0x41bc84,'height':_0x307a1f-_0x18dfba};}[_0x57234b(0x1d0)](){const _0x40da9f=_0x57234b,{scaleX:_0x4ba6c4,scaleY:_0x5e80de}=this[_0x40da9f(0x38e)][_0x40da9f(0x24c)]();return Math['max'](_0x4ba6c4,_0x5e80de);}}var _0x27e553=Object[_0x57234b(0x32c)],_0x14be66=(_0x4c24c0,_0x55d009,_0x22f765,_0x14f211)=>{const _0x5e5e05=_0x57234b;for(var _0x1da040=_0x14f211>0x1?void 0x0:_0x14f211?_0x27e553(_0x55d009,_0x22f765):_0x55d009,_0x502619=_0x4c24c0[_0x5e5e05(0x394)]-0x1,_0x5dba57;_0x502619>=0x0;_0x502619--)(_0x5dba57=_0x4c24c0[_0x502619])&&(_0x1da040=_0x5dba57(_0x1da040)||_0x1da040);return _0x1da040;},_0x404dee=(_0x590908,_0x2710ea)=>(_0x196db9,_0x3a4d88)=>_0x2710ea(_0x196db9,_0x3a4d88,_0x590908);let _0x15fd95=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x225fa5,_0x2ea7d4,_0x193996,_0x54ebe2,_0xd3ec58){const _0x2f706d=_0x57234b;super(),_0x2a7ff2(this,_0x2f706d(0x25a),[]),_0x2a7ff2(this,_0x2f706d(0x1ec),[]),(this[_0x2f706d(0x2b2)]=_0x225fa5,this[_0x2f706d(0x26b)]=_0x2ea7d4,this[_0x2f706d(0x238)]=_0x193996,this[_0x2f706d(0x3c2)]=_0x54ebe2,this[_0x2f706d(0x252)]=_0xd3ec58,this[_0x2f706d(0x1b3)]());}[_0x57234b(0x1b3)](){const _0x21c393=_0x57234b,_0x16bb3c=this['_context'][_0x21c393(0x3ac)],_0x293062=this[_0x21c393(0x26b)];this[_0x21c393(0x3aa)](_0x5c56d7['combineLatest']([this[_0x21c393(0x238)][_0x21c393(0x418)](_0x16bb3c),this[_0x21c393(0x252)][_0x21c393(0x1a0)]])[_0x21c393(0x297)](_0x9aeac[_0x21c393(0x2fb)](([_0x2d1f2e,_0x54046f])=>({'skeleton':_0x293062[_0x21c393(0x3d1)](),'cursors':[..._0x2d1f2e['values']()][_0x21c393(0x3bb)](_0x1848fb=>({..._0x1848fb,'color':_0x54046f[_0x1848fb[_0x21c393(0x236)]]}))})))[_0x21c393(0x2d2)](_0x11d792=>{const _0x24d999=_0x21c393;if(this[_0x24d999(0x1ed)](),_0x11d792){const {skeleton:_0x324124,cursors:_0x11305b}=_0x11d792;this[_0x24d999(0x2fd)](_0x324124,_0x11305b);}})),this[_0x21c393(0x1ae)](),this[_0x21c393(0x1d1)]();}[_0x57234b(0x2fd)](_0x2e1aab,_0x17c6b7){const _0xa5cfcc=_0x57234b,{scene:_0xef98e8,mainComponent:_0x217341}=this[_0xa5cfcc(0x2b2)],_0x4d0fc2=_0x17c6b7[_0xa5cfcc(0x2fb)](_0x4bafbc=>new _0x4578c0(_0x4bafbc,_0xef98e8,_0x2e1aab,_0x217341));this['_cursorShapes']=_0x4d0fc2,this[_0xa5cfcc(0x1ec)]=_0x17c6b7;}[_0x57234b(0x2e5)](){const _0x35c28b=_0x57234b;this[_0x35c28b(0x1ed)]();const {scene:_0x4de9e9,mainComponent:_0x49aa4a}=this['_context'],_0x336a14=this[_0x35c28b(0x26b)][_0x35c28b(0x3d1)](),_0x5e7908=this[_0x35c28b(0x1ec)][_0x35c28b(0x2fb)](_0x5a1cfe=>new _0x4578c0(_0x5a1cfe,_0x4de9e9,_0x336a14,_0x49aa4a));this[_0x35c28b(0x25a)]=_0x5e7908;}[_0x57234b(0x1ed)](){const _0x785f58=_0x57234b;this[_0x785f58(0x25a)][_0x785f58(0x410)](_0x561b20=>_0x561b20[_0x785f58(0x2e6)]()),this['_cursorShapes']=[];}[_0x57234b(0x1d1)](){const _0x22e3eb=_0x57234b,_0x4a4cf8=[_0x35f299['SetDocZoomRatioOperation']['id']];this[_0x22e3eb(0x3aa)](this[_0x22e3eb(0x3c2)][_0x22e3eb(0x321)](_0x4baab2=>{const _0x43d0bf=_0x22e3eb;_0x4a4cf8[_0x43d0bf(0x2f1)](_0x4baab2['id'])&&_0x4baab2[_0x43d0bf(0x31b)][_0x43d0bf(0x3ac)]===this[_0x43d0bf(0x2b2)][_0x43d0bf(0x3ac)]&&this['_refreshCollabCursors']();}));}[_0x57234b(0x1ae)](){const _0x30c465=_0x57234b;this[_0x30c465(0x3aa)](_0x2f047f[_0x30c465(0x35b)](this[_0x30c465(0x2b2)]['engine'][_0x30c465(0x3b9)])[_0x30c465(0x297)](_0x9aeac['filter'](_0x54f98d=>_0x54f98d[_0x30c465(0x23d)]===_0x228785[_0x30c465(0x367)][_0x30c465(0x363)]),_0x9aeac['throttleTime'](0x10))['subscribe'](()=>{const _0x5c6f58=_0x30c465;this[_0x5c6f58(0x2e5)]();}));}};_0x15fd95=_0x14be66([_0x404dee(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x220baf[_0x57234b(0x35f)])),_0x404dee(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x2b7c6d)),_0x404dee(0x3,_0x2f047f[_0x57234b(0x283)]),_0x404dee(0x4,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x41c)]))],_0x15fd95);const _0x2486e0=0x1,_0x2c76be=1.5;class _0x758a7d extends _0x228785[_0x57234b(0x2ea)]{constructor(_0xd200ef,_0x102f7b){const _0x54bd09=_0x57234b;super(_0xd200ef,_0x102f7b),_0x2a7ff2(this,_0x54bd09(0x349)),_0x2a7ff2(this,_0x54bd09(0x2c0),!0x1),_0x2a7ff2(this,_0x54bd09(0x39b)),_0x2a7ff2(this,'_name',''),_0x2a7ff2(this,'_labelPosition',_0x54bd09(0x3ee)),_0x2a7ff2(this,_0x54bd09(0x3da)),(_0x102f7b&&this[_0x54bd09(0x38c)](_0x102f7b),this['onPointerEnter$'][_0x54bd09(0x3be)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x54bd09(0x3b4)][_0x54bd09(0x3be)](()=>this[_0x54bd09(0x38c)]({'hovered':!0x1})));}[_0x57234b(0x38c)](_0x7e5e0c){const _0x1ba819=_0x57234b;var _0x478f1b,_0x15b216,_0x39fb11,_0x592827,_0x253388,_0x3f6b26;this[_0x1ba819(0x349)]=(_0x478f1b=_0x7e5e0c[_0x1ba819(0x236)])!=null?_0x478f1b:this[_0x1ba819(0x349)],this['_hovered']=(_0x15b216=_0x7e5e0c[_0x1ba819(0x3ae)])!=null?_0x15b216:this[_0x1ba819(0x2c0)],this['_range']=(_0x39fb11=_0x7e5e0c[_0x1ba819(0x3eb)])!=null?_0x39fb11:this['_range'],this[_0x1ba819(0x31f)]=(_0x592827=_0x7e5e0c['name'])!=null?_0x592827:this[_0x1ba819(0x31f)],this['_labelPosition']=(_0x253388=_0x7e5e0c[_0x1ba819(0x207)])!=null?_0x253388:this[_0x1ba819(0x29c)],this[_0x1ba819(0x3da)]=(_0x3f6b26=_0x7e5e0c[_0x1ba819(0x377)])!=null?_0x3f6b26:this[_0x1ba819(0x3da)],this[_0x1ba819(0x1bd)]({'width':_0x7e5e0c['width'],'height':_0x7e5e0c['height']});}['onMouseMove'](_0x4cd4c6){const _0x212036=_0x57234b,{row:_0x4cae88,column:_0x5c215b}=_0x4cd4c6;if(_0x4cae88>=this['_range'][_0x212036(0x2c8)]&&_0x4cae88<=this[_0x212036(0x39b)][_0x212036(0x3ad)]&&_0x5c215b>=this[_0x212036(0x39b)][_0x212036(0x33e)]&&_0x5c215b<=this['_range']['endColumn']){this[_0x212036(0x38c)]({'hovered':!0x0});return;}this[_0x212036(0x38c)]({'hovered':!0x1});}[_0x57234b(0x426)](_0x5a7214){return!0x1;}[_0x57234b(0x28b)](_0x305732){const _0x1f6934=_0x57234b;_0x228785[_0x1f6934(0x1a9)][_0x1f6934(0x28e)](_0x305732,{'width':this[_0x1f6934(0x226)],'height':this[_0x1f6934(0x20e)],'strokeWidth':_0x2c76be,'stroke':this[_0x1f6934(0x349)],'evented':!0x1,'fill':this[_0x1f6934(0x3da)]}),this[_0x1f6934(0x2c0)]&&(_0x305732[_0x1f6934(0x3ea)](),_0x305732[_0x1f6934(0x1fe)](0x1,0x0,0x0,0x1,this[_0x1f6934(0x226)],this[_0x1f6934(0x29c)]===_0x1f6934(0x35e)?0x0:-0x14),_0x5ba144[_0x1f6934(0x28e)](_0x305732,{'text':this['_name'],'color':this[_0x1f6934(0x349)]}),_0x305732['restore']());}}var _0x57b06d=Object[_0x57234b(0x32c)],_0x184808=(_0x329593,_0x1031b4,_0x48d7fb,_0x111ec3)=>{const _0x9daff1=_0x57234b;for(var _0x3fff44=_0x111ec3>0x1?void 0x0:_0x111ec3?_0x57b06d(_0x1031b4,_0x48d7fb):_0x1031b4,_0x29f3d2=_0x329593[_0x9daff1(0x394)]-0x1,_0x3bb2f1;_0x29f3d2>=0x0;_0x29f3d2--)(_0x3bb2f1=_0x329593[_0x29f3d2])&&(_0x3fff44=_0x3bb2f1(_0x3fff44)||_0x3fff44);return _0x3fff44;},_0x1593a2=(_0x457dc5,_0x1402b3)=>(_0x1b7b80,_0x1a7de7)=>_0x1402b3(_0x1b7b80,_0x1a7de7,_0x457dc5);const _0x894b5c=0x1389;let _0x4f4543=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x38e367,_0x249677,_0x24da14,_0x262e38){const _0x5b0f63=_0x57234b;super(),_0x2a7ff2(this,_0x5b0f63(0x1ec),new Set()),_0x2a7ff2(this,_0x5b0f63(0x36a),null),(this[_0x5b0f63(0x2b2)]=_0x38e367,this[_0x5b0f63(0x398)]=_0x249677,this[_0x5b0f63(0x238)]=_0x24da14,this[_0x5b0f63(0x252)]=_0x262e38,this[_0x5b0f63(0x1b3)]());}[_0x57234b(0x1b3)](){const _0x4083c7=_0x57234b;this[_0x4083c7(0x398)][_0x4083c7(0x3de)]['pipe'](_0x9aeac[_0x4083c7(0x399)](this[_0x4083c7(0x314)]),_0x9aeac[_0x4083c7(0x427)](_0x3e0ec9=>{const _0xa1cd0a=_0x4083c7;if(_0x3e0ec9){const _0x197cd0=_0x3e0ec9[_0xa1cd0a(0x1ea)];return _0x5c56d7['combineLatest'](this['_collabCursorController'][_0xa1cd0a(0x418)](this[_0xa1cd0a(0x2b2)]['unitId']),this[_0xa1cd0a(0x252)][_0xa1cd0a(0x1a0)])['pipe'](_0x9aeac[_0xa1cd0a(0x2fb)](([_0x22cde7,_0x1b445f])=>{const _0x1f4306=_0xa1cd0a,_0x1111b4=new Map();return _0x22cde7[_0x1f4306(0x410)]((_0x292b50,_0x3e6475)=>{const _0x435752=_0x1f4306;if(_0x292b50[_0x435752(0x332)]===_0x197cd0){const _0x398893={..._0x292b50};_0x398893[_0x435752(0x236)]=_0x1b445f[_0x292b50[_0x435752(0x236)]],_0x1111b4[_0x435752(0x3cf)](_0x3e6475,_0x398893);}}),{'skeleton':_0x3e0ec9,'cursors':_0x1111b4};}));}return _0x5c56d7['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2a5944,cursors:_0x59f7f4})=>{const _0x5b208d=_0x4083c7;this[_0x5b208d(0x1ed)](),_0x2a5944&&this['_updateCollabCursors'](_0x2a5944,_0x59f7f4);}),this[_0x4083c7(0x398)][_0x4083c7(0x3de)][_0x4083c7(0x2d2)](_0x2e1b9b=>{const _0x346ea2=_0x4083c7;if(_0x2e1b9b==null)return;const {skeleton:_0x20e51f}=_0x2e1b9b,{scene:_0x23fde7}=this[_0x346ea2(0x2b2)];_0x23fde7['onPointerMove$'][_0x346ea2(0x3be)](_0x2f047f[_0x346ea2(0x2cd)](_0xf361a9=>{const _0x50c62b=_0x346ea2;var _0xcc5888,_0x321d70;const {offsetX:_0x30fb4d,offsetY:_0x270c9b}=_0xf361a9,{x:_0x4801dc,y:_0x481703}=_0x23fde7[_0x50c62b(0x42b)](_0x228785[_0x50c62b(0x3f8)][_0x50c62b(0x416)]([_0x30fb4d,_0x270c9b])),{scaleX:_0x496659,scaleY:_0x3bf4a8}=_0x23fde7[_0x50c62b(0x24c)](),_0x3c274a=_0x23fde7['getViewport'](_0x228785[_0x50c62b(0x328)][_0x50c62b(0x379)]),_0x42826c=_0x23fde7['getVpScrollXYInfoByPosToVp'](_0x228785[_0x50c62b(0x3f8)]['FromArray']([_0x4801dc,_0x481703]),_0x3c274a),_0x35912d=_0x20e51f[_0x50c62b(0x2d6)](_0x30fb4d,_0x270c9b,_0x496659,_0x3bf4a8,_0x42826c);((_0xcc5888=this[_0x50c62b(0x36a)])==null?void 0x0:_0xcc5888[_0x50c62b(0x36d)])===_0x35912d['column']&&((_0x321d70=this[_0x50c62b(0x36a)])==null?void 0x0:_0x321d70[_0x50c62b(0x356)])===_0x35912d[_0x50c62b(0x356)]||this[_0x50c62b(0x1ec)][_0x50c62b(0x410)](_0x35a7db=>{const _0x571fe5=_0x50c62b;_0x35a7db[_0x571fe5(0x27a)](_0x35912d);});},0x64));});}[_0x57234b(0x2fd)](_0x58450d,_0x2cb4b7){const _0x1005e5=_0x57234b;var _0x1e8712;const _0x3337c6=(_0x1e8712=this[_0x1005e5(0x398)]['getCurrent']())==null?void 0x0:_0x1e8712[_0x1005e5(0x41a)];if(!_0x3337c6)return;const _0x30df33=this['_getSheetObject']();if(!_0x30df33)return;this[_0x1005e5(0x1ec)][_0x1005e5(0x410)](_0x1824f6=>{const _0x3cf273=_0x1005e5;_0x1824f6[_0x3cf273(0x244)]();});const {scene:_0x441fc1}=_0x30df33,_0x4b6dd2=_0x58b803(Array[_0x1005e5(0x223)](_0x2cb4b7['values']()))[_0x1005e5(0x2fb)](_0xd484e9=>{const _0x36098a=_0x1005e5,{color:_0x2ca104,range:_0xb9f9b3,name:_0x286a49,selection:_0x3a57db,sheetID:_0x4beddd}=_0xd484e9,{startColumn:_0x40eaad,startRow:_0x4992ed,endColumn:_0x3b950e,endRow:_0x42dd94}=_0xb9f9b3,_0x418f8e=_0x472d06[_0x36098a(0x381)](_0x4992ed,_0x40eaad,_0x441fc1,_0x3337c6),_0x32db17=_0x472d06['getCoordByCell'](_0x42dd94,_0x3b950e,_0x441fc1,_0x3337c6),{columnHeaderHeightAndMarginTop:_0x8a96d}=_0x3337c6,{startX:_0x2245be,startY:_0x468e18}=_0x418f8e,{endX:_0x3a247c,endY:_0x54925e}=_0x32db17,_0x1f762a=_0x3a247c-_0x2245be,_0x4280e8=_0x54925e-_0x468e18,_0x4e1e61={'labelPosition':_0x468e18-_0x8a96d>=_0x4cdd05?_0x36098a(0x3ee):'bottom','sheetID':_0x4beddd,'range':_0xb9f9b3,'color':_0x2ca104,'name':_0x286a49,'selection':_0x3a57db,'left':_0x2245be,'top':_0x468e18,'width':_0x1f762a,'height':_0x4280e8,'evented':!0x1,'zIndex':_0x894b5c};return new _0x758a7d(_0x286a49,_0x4e1e61);});_0x441fc1[_0x1005e5(0x310)](_0x4b6dd2,_0x2486e0),this['_cursors']=new Set(_0x4b6dd2);}[_0x57234b(0x1ed)](){const _0xd922e8=_0x57234b;var _0x13ac2a;(_0x13ac2a=this[_0xd922e8(0x1ec)])==null||_0x13ac2a[_0xd922e8(0x410)](_0x565f67=>_0x565f67['dispose']());}[_0x57234b(0x389)](){const _0x4b45d3=_0x57234b;return _0x472d06[_0x4b45d3(0x3c4)](this[_0x4b45d3(0x2b2)]['unit'],this[_0x4b45d3(0x2b2)]);}};_0x4f4543=_0x184808([_0x1593a2(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x472d06[_0x57234b(0x2e1)])),_0x1593a2(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x2b7c6d)),_0x1593a2(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x41c)]))],_0x4f4543);function _0x58b803(_0x4b0546){const _0x3ba0b3=_0x57234b,_0x46c929=new Map();return _0x4b0546['forEach'](_0x52a550=>{const _0x3cadaf=_0x2bd3;if(_0x46c929[_0x3cadaf(0x2de)](_0x52a550[_0x3cadaf(0x26f)])){const _0x4b080c=_0x46c929[_0x3cadaf(0x1f3)](_0x52a550[_0x3cadaf(0x26f)]);_0x4b080c[_0x3cadaf(0x350)]+=',\x20'+_0x52a550[_0x3cadaf(0x350)];}else _0x46c929[_0x3cadaf(0x3cf)](_0x52a550[_0x3cadaf(0x26f)],_0x52a550);}),Array[_0x3ba0b3(0x223)](_0x46c929[_0x3ba0b3(0x3ba)]());}var _0x3c0b41=function(){const _0x259459=_0x57234b;return _0x3c0b41=Object['assign']||function(_0x3854ec){const _0x1473c0=_0x2bd3;for(var _0x3bd2b5,_0x5f3cea=0x1,_0x417b13=arguments[_0x1473c0(0x394)];_0x5f3cea<_0x417b13;_0x5f3cea++){_0x3bd2b5=arguments[_0x5f3cea];for(var _0x5994d2 in _0x3bd2b5)Object[_0x1473c0(0x29a)][_0x1473c0(0x40f)][_0x1473c0(0x36e)](_0x3bd2b5,_0x5994d2)&&(_0x3854ec[_0x5994d2]=_0x3bd2b5[_0x5994d2]);}return _0x3854ec;},_0x3c0b41[_0x259459(0x277)](this,arguments);},_0x2d6a06=function(_0x469c14,_0x26b662){const _0x28e929=_0x57234b;var _0xf1f880={};for(var _0x47eb36 in _0x469c14)Object['prototype'][_0x28e929(0x40f)][_0x28e929(0x36e)](_0x469c14,_0x47eb36)&&_0x26b662['indexOf'](_0x47eb36)<0x0&&(_0xf1f880[_0x47eb36]=_0x469c14[_0x47eb36]);if(_0x469c14!=null&&typeof Object[_0x28e929(0x20f)]==_0x28e929(0x338)){for(var _0x546855=0x0,_0x47eb36=Object[_0x28e929(0x20f)](_0x469c14);_0x546855<_0x47eb36[_0x28e929(0x394)];_0x546855++)_0x26b662[_0x28e929(0x245)](_0x47eb36[_0x546855])<0x0&&Object[_0x28e929(0x29a)][_0x28e929(0x2dd)][_0x28e929(0x36e)](_0x469c14,_0x47eb36[_0x546855])&&(_0xf1f880[_0x47eb36[_0x546855]]=_0x469c14[_0x47eb36[_0x546855]]);}return _0xf1f880;},_0x41d49e=_0x2525f4[_0x57234b(0x2ad)](function(_0x1e403f,_0x1f2e68){const _0x2f5a6e=_0x57234b;var _0x2db887=_0x1e403f[_0x2f5a6e(0x215)],_0x1097e0=_0x1e403f['id'],_0x1c4f0e=_0x1e403f[_0x2f5a6e(0x213)],_0x1145ae=_0x1e403f['extend'],_0x564464=_0x2d6a06(_0x1e403f,[_0x2f5a6e(0x215),'id',_0x2f5a6e(0x213),_0x2f5a6e(0x1f8)]),_0x42c018='univerjs-icon\x20univerjs-icon-'[_0x2f5a6e(0x3e3)](_0x1097e0,'\x20')[_0x2f5a6e(0x3e3)](_0x1c4f0e||'')[_0x2f5a6e(0x35a)](),_0x4227f0=_0x2525f4['useRef']('_'[_0x2f5a6e(0x3e3)](_0x3083d7()));return _0x2bdeaf(_0x2db887,''[_0x2f5a6e(0x3e3)](_0x1097e0),{'defIds':_0x2db887[_0x2f5a6e(0x1cc)],'idSuffix':_0x4227f0['current']},_0x3c0b41({'ref':_0x1f2e68,'className':_0x42c018},_0x564464),_0x1145ae);});function _0x2bdeaf(_0x299da8,_0x3a58b5,_0x62f257,_0x204603,_0x29b913){const _0x5dec26=_0x57234b;return _0x2525f4[_0x5dec26(0x2f8)](_0x299da8['tag'],_0x3c0b41(_0x3c0b41({'key':_0x3a58b5},_0x354363(_0x299da8,_0x62f257,_0x29b913)),_0x204603),(_0x326975(_0x299da8,_0x62f257)[_0x5dec26(0x3bd)]||[])[_0x5dec26(0x2fb)](function(_0x5a545a,_0x3be186){const _0x2f6a76=_0x5dec26;return _0x2bdeaf(_0x5a545a,''[_0x2f6a76(0x3e3)](_0x3a58b5,'-')[_0x2f6a76(0x3e3)](_0x299da8[_0x2f6a76(0x315)],'-')[_0x2f6a76(0x3e3)](_0x3be186),_0x62f257,void 0x0,_0x29b913);}));}function _0x354363(_0x5947c6,_0x68df6b,_0x184146){const _0x543115=_0x57234b;var _0x8357eb=_0x3c0b41({},_0x5947c6['attrs']);_0x184146!=null&&_0x184146[_0x543115(0x3fe)]&&_0x8357eb['fill']===_0x543115(0x3fe)&&(_0x8357eb[_0x543115(0x255)]=_0x184146['colorChannel1']),_0x5947c6[_0x543115(0x315)]===_0x543115(0x2d1)&&_0x8357eb['id']&&(_0x8357eb['id']=_0x8357eb['id']+_0x68df6b[_0x543115(0x2a3)]),Object[_0x543115(0x2cc)](_0x8357eb)[_0x543115(0x410)](function(_0x4fbb24){const _0x755ec1=_0x543115;var _0x43a8ee=_0x4fbb24[0x0],_0x10a5a3=_0x4fbb24[0x1];_0x43a8ee===_0x755ec1(0x2d1)&&typeof _0x10a5a3==_0x755ec1(0x210)&&(_0x8357eb[_0x43a8ee]=_0x10a5a3[_0x755ec1(0x325)](/url\(#(.*)\)/,'url(#$1'[_0x755ec1(0x3e3)](_0x68df6b[_0x755ec1(0x2a3)],')')));});var _0x27c60f=_0x68df6b[_0x543115(0x1cc)];return!_0x27c60f||_0x27c60f[_0x543115(0x394)]===0x0||(_0x5947c6[_0x543115(0x315)]==='use'&&_0x8357eb[_0x543115(0x301)]&&(_0x8357eb['xlink:href']=_0x8357eb[_0x543115(0x301)]+_0x68df6b[_0x543115(0x2a3)]),Object[_0x543115(0x2cc)](_0x8357eb)[_0x543115(0x410)](function(_0x245f0b){const _0x75264d=_0x543115;var _0xfa8c45=_0x245f0b[0x0],_0xdd1f5c=_0x245f0b[0x1];typeof _0xdd1f5c==_0x75264d(0x210)&&(_0x8357eb[_0xfa8c45]=_0xdd1f5c[_0x75264d(0x325)](/url\(#(.*)\)/,_0x75264d(0x359)['concat'](_0x68df6b['idSuffix'],')')));})),_0x8357eb;}function _0x326975(_0x58e9fd,_0x1a5579){const _0x32ab49=_0x57234b;var _0x1d707b,_0x3c71e9=_0x1a5579[_0x32ab49(0x1cc)];return!_0x3c71e9||_0x3c71e9[_0x32ab49(0x394)]===0x0?_0x58e9fd:_0x58e9fd['tag']===_0x32ab49(0x2f3)&&(!((_0x1d707b=_0x58e9fd[_0x32ab49(0x3bd)])===null||_0x1d707b===void 0x0)&&_0x1d707b[_0x32ab49(0x394)])?_0x3c0b41(_0x3c0b41({},_0x58e9fd),{'children':_0x58e9fd['children'][_0x32ab49(0x2fb)](function(_0x45472b){const _0x3f67a2=_0x32ab49;return typeof _0x45472b[_0x3f67a2(0x40d)]['id']==_0x3f67a2(0x210)&&_0x3c71e9&&_0x3c71e9[_0x3f67a2(0x245)](_0x45472b[_0x3f67a2(0x40d)]['id'])>-0x1?_0x3c0b41(_0x3c0b41({},_0x45472b),{'attrs':_0x3c0b41(_0x3c0b41({},_0x45472b[_0x3f67a2(0x40d)]),{'id':_0x45472b[_0x3f67a2(0x40d)]['id']+_0x1a5579[_0x3f67a2(0x2a3)]})}):_0x45472b;})}):_0x58e9fd;}function _0x3083d7(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x41d49e['displayName']=_0x57234b(0x23b);var _0x5d5f2e={'tag':_0x57234b(0x3bf),'attrs':{'fill':_0x57234b(0x422),'viewBox':_0x57234b(0x3cb),'width':_0x57234b(0x1b9),'height':_0x57234b(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x57234b(0x417)},'children':[{'tag':'path','attrs':{'stroke':_0x57234b(0x224),'d':_0x57234b(0x2c3),'strokeLinecap':_0x57234b(0x28f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x57234b(0x2f3),'attrs':{},'children':[{'tag':_0x57234b(0x34d),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x57234b(0x3a2),'attrs':{'fill':_0x57234b(0x3b3),'d':_0x57234b(0x3f6)}}]}]}],'defIds':[_0x57234b(0x2f0)]},_0x4beac1=_0x2525f4[_0x57234b(0x2ad)](function(_0x10c4a4,_0x13cc8e){const _0x1ee1e4=_0x57234b;return _0x2525f4[_0x1ee1e4(0x2f8)](_0x41d49e,Object[_0x1ee1e4(0x3f0)]({},_0x10c4a4,{'id':_0x1ee1e4(0x3c8),'ref':_0x13cc8e,'icon':_0x5d5f2e}));});_0x4beac1[_0x57234b(0x261)]=_0x57234b(0x263);var _0x59c649={'tag':'svg','attrs':{'fill':_0x57234b(0x422),'viewBox':_0x57234b(0x22a),'width':'1em','height':_0x57234b(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x57234b(0x375)},'children':[{'tag':'path','attrs':{'stroke':_0x57234b(0x224),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x57234b(0x28f),'strokeLinejoin':_0x57234b(0x28f),'strokeWidth':1.2}}]},{'tag':_0x57234b(0x2f3),'attrs':{},'children':[{'tag':_0x57234b(0x34d),'attrs':{'id':_0x57234b(0x281)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x57234b(0x3f6),'transform':_0x57234b(0x294)}}]}]}],'defIds':[_0x57234b(0x281)]},_0x472ed5=_0x2525f4[_0x57234b(0x2ad)](function(_0x228f10,_0x291fda){const _0x4028c4=_0x57234b;return _0x2525f4['createElement'](_0x41d49e,Object[_0x4028c4(0x3f0)]({},_0x228f10,{'id':_0x4028c4(0x2ac),'ref':_0x291fda,'icon':_0x59c649}));});_0x472ed5[_0x57234b(0x261)]=_0x57234b(0x235);const _0x38d63a={'onlineStatusIcon':_0x57234b(0x3f2),'onlineStatusTitle':_0x57234b(0x41e),'onlineStatus':_0x57234b(0x395),'online':_0x57234b(0x386),'offline':_0x57234b(0x2fe)};function _0x5ac118(_0x3d727b){const _0x14abec=_0x57234b;switch(_0x3d727b){case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x2d9)]:return _0x14abec(0x3f5);case _0x3cd4b3['CollaborationStatus'][_0x14abec(0x21a)]:return _0x14abec(0x3c9);case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x282)]:return'collabStatus.fetchMiss';case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x414)]:return _0x14abec(0x2aa);case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x2e4)]:case _0x3cd4b3['CollaborationStatus'][_0x14abec(0x364)]:return _0x14abec(0x1a2);case _0x3cd4b3[_0x14abec(0x25c)]['SYNCED']:case _0x3cd4b3[_0x14abec(0x25c)][_0x14abec(0x40c)]:return _0x14abec(0x21c);}}function _0x5b4741(_0x3c415b){const _0x2178bf=_0x57234b,{status$:_0x1d96fb}=_0x3c415b,_0x20d8e5=_0x598c76[_0x2178bf(0x354)](_0x1d96fb,_0x3cd4b3[_0x2178bf(0x25c)][_0x2178bf(0x414)]),_0x58efd0=_0x598c76[_0x2178bf(0x3c3)](_0x2f047f[_0x2178bf(0x3a0)]),_0x52623a=_0x598c76[_0x2178bf(0x3c3)](_0x3cd4b3[_0x2178bf(0x3d2)]),_0x5d0a53=_0x20d8e5!==_0x3cd4b3[_0x2178bf(0x25c)][_0x2178bf(0x2d9)],_0x135f60=_0x58efd0['t'](_0x5ac118(_0x20d8e5)),_0xc66e05=_0x128cbd[_0x2178bf(0x1f6)](_0x38d63a[_0x2178bf(0x3e0)],{[_0x38d63a[_0x2178bf(0x37b)]]:_0x5d0a53,[_0x38d63a['offline']]:!_0x5d0a53}),_0x127b42=_0x5d0a53?_0x41d205[_0x2178bf(0x1b5)](_0x472ed5,{}):_0x41d205[_0x2178bf(0x1b5)](_0x4beac1,{}),_0x36badb=_0x2525f4['useCallback'](()=>{const _0x3300de=_0x2178bf;_0x5d0a53||_0x52623a[_0x3300de(0x342)]();},[_0x5d0a53,_0x52623a]);function _0x1a937d(){const _0x20a76f=_0x2178bf;return _0x41d205['jsxs'](_0x20a76f(0x1e3),{'className':_0x128cbd[_0x20a76f(0x1f6)](_0xc66e05,_0x20a76f(0x2a4)),'onClick':_0x36badb,'children':[_0x41d205[_0x20a76f(0x1b5)]('div',{'className':_0x38d63a[_0x20a76f(0x208)],'children':_0x127b42}),_0x41d205['jsx'](_0x20a76f(0x1e3),{'className':_0x38d63a[_0x20a76f(0x404)],'children':_0x135f60})]});}return _0x5d0a53?_0x1a937d():_0x41d205[_0x2178bf(0x1b5)](_0x128cbd[_0x2178bf(0x2df)],{'title':_0x58efd0['t']('collab-client.tooltip.reconnect'),'children':_0x1a937d()});}var _0x4a5272=Object[_0x57234b(0x32c)],_0x3d6723=(_0x65fef5,_0x4800f1,_0x5e0ebc,_0x5ef07d)=>{for(var _0x1a7d81=_0x5ef07d>0x1?void 0x0:_0x5ef07d?_0x4a5272(_0x4800f1,_0x5e0ebc):_0x4800f1,_0xa4b5b0=_0x65fef5['length']-0x1,_0x25e900;_0xa4b5b0>=0x0;_0xa4b5b0--)(_0x25e900=_0x65fef5[_0xa4b5b0])&&(_0x1a7d81=_0x25e900(_0x1a7d81)||_0x1a7d81);return _0x1a7d81;},_0x1e0b6b=(_0x5d1593,_0x41eaea)=>(_0x155031,_0x59fb72)=>_0x41eaea(_0x155031,_0x59fb72,_0x5d1593);_0x233897[_0x57234b(0x41f)]=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x368d02,_0x577427,_0x237d41,_0x3e0b0a){const _0x117be2=_0x57234b;super(),_0x2a7ff2(this,_0x117be2(0x38f),new _0x5c56d7['BehaviorSubject'](_0x3cd4b3[_0x117be2(0x25c)][_0x117be2(0x414)])),(this[_0x117be2(0x3d5)]=_0x368d02,this[_0x117be2(0x2b8)]=_0x577427,this['_collaborationController']=_0x237d41,this['_uiPartsService']=_0x3e0b0a,this['_initStatusComponent'](),this[_0x117be2(0x388)]());}[_0x57234b(0x388)](){const _0x354828=_0x57234b;this['disposeWithMe'](this[_0x354828(0x3d5)][_0x354828(0x322)]['pipe'](_0x5c56d7[_0x354828(0x427)](()=>{const _0x3ddf9a=_0x354828,_0x1a1887=this[_0x3ddf9a(0x3d5)][_0x3ddf9a(0x2ef)]();return _0x1a1887?this['_collaborationController'][_0x3ddf9a(0x1e0)](_0x1a1887[_0x3ddf9a(0x3a6)]()):_0x5c56d7['of'](null);}),_0x5c56d7[_0x354828(0x427)](_0x3bd3b0=>_0x3bd3b0?_0x3bd3b0[_0x354828(0x3d6)]:_0x5c56d7['of'](_0x3cd4b3['CollaborationStatus'][_0x354828(0x414)])))[_0x354828(0x2d2)](_0x5d0c18=>{const _0x3f2df9=_0x354828;this[_0x3f2df9(0x38f)][_0x3f2df9(0x273)](_0x5d0c18);}));}['_initStatusComponent'](){const _0xf6e202=_0x57234b;this[_0xf6e202(0x3aa)](this[_0xf6e202(0x1f4)][_0xf6e202(0x35d)](_0x598c76['BuiltInUIPart']['HEADER_MENU'],()=>_0x598c76[_0xf6e202(0x29f)](_0x3a84e0({'status$':this[_0xf6e202(0x38f)][_0xf6e202(0x1a1)]()}),this[_0xf6e202(0x2b8)])));}},_0x233897['DesktopCollaborationStatusDisplayController']=_0x3d6723([_0x1e0b6b(0x0,_0x2f047f[_0x57234b(0x309)]),_0x1e0b6b(0x1,_0x2f047f['Inject'](_0x2f047f['Injector'])),_0x1e0b6b(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3[_0x57234b(0x27d)])),_0x1e0b6b(0x3,_0x598c76['IUIPartsService'])],_0x233897[_0x57234b(0x41f)]);function _0x3a84e0(_0x379ad8){const {status$:_0x335a2a}=_0x379ad8;return function(){const _0x440059=_0x2bd3;return _0x41d205[_0x440059(0x1b5)](_0x5b4741,{'status$':_0x335a2a});};}var _0x319b1c=Object[_0x57234b(0x32c)],_0xd722ce=(_0x48f79f,_0x21f822,_0x20b9ae,_0x17cb70)=>{const _0x1df393=_0x57234b;for(var _0x74bef9=_0x17cb70>0x1?void 0x0:_0x17cb70?_0x319b1c(_0x21f822,_0x20b9ae):_0x21f822,_0xb5e5a2=_0x48f79f[_0x1df393(0x394)]-0x1,_0x23e5ec;_0xb5e5a2>=0x0;_0xb5e5a2--)(_0x23e5ec=_0x48f79f[_0xb5e5a2])&&(_0x74bef9=_0x23e5ec(_0x74bef9)||_0x74bef9);return _0x74bef9;},_0x4135e6=(_0x57a356,_0x1bed40)=>(_0x44aff2,_0x48a1b6)=>_0x1bed40(_0x44aff2,_0x48a1b6,_0x57a356);let _0x138e1d=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x5af8a0,_0x46acc4,_0x4d929e,_0x20fbbb,_0x4f175e,_0x23de6e){const _0x46095b=_0x57234b;super(),this[_0x46095b(0x319)]=_0x5af8a0,this[_0x46095b(0x1fa)]=_0x46acc4,this[_0x46095b(0x34c)]=_0x4d929e,this[_0x46095b(0x34e)]=_0x20fbbb,this[_0x46095b(0x2c4)]=_0x4f175e,this[_0x46095b(0x368)]=_0x23de6e,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x5ec1fd=_0x57234b;this[_0x5ec1fd(0x3aa)](this['_beforeCloseService'][_0x5ec1fd(0x3f3)](()=>{const _0x39444a=_0x5ec1fd;if(this[_0x39444a(0x1fa)][_0x39444a(0x415)]['size'])return this['_localeService']['t'](_0x39444a(0x2e7));}));}[_0x57234b(0x2e8)](){const _0x2ca7ee=_0x57234b;this[_0x2ca7ee(0x3aa)](this[_0x2ca7ee(0x34c)][_0x2ca7ee(0x1f1)][_0x2ca7ee(0x2d2)](_0x13329b=>{const _0x17a611=_0x2ca7ee;_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)][_0x17a611(0x2ee)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)][_0x17a611(0x32e)],'content':this[_0x17a611(0x368)]['t']('collaboration.single-unit.warning')}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)]['CLOSE_ROOM']&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd['MessageType'][_0x17a611(0x32e)],'content':this[_0x17a611(0x368)]['t'](_0x17a611(0x31c))}),_0x13329b['id']===_0x3cd4b3['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x17a611(0x2c4)][_0x17a611(0x420)]({'title':this[_0x17a611(0x368)]['t'](_0x17a611(0x20a)),'content':this[_0x17a611(0x368)]['t'](_0x17a611(0x1f7)),'type':_0x17a611(0x289),'duration':0x0}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)]['CONFLICT']&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd['MessageType'][_0x17a611(0x1a8)],'content':this['_localeService']['t'](_0x17a611(0x31c))+'('+_0x13329b[_0x17a611(0x318)]+')'}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)]['JOIN_ROOM_FAILED']&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)]['Warning'],'content':this['_localeService']['t'](_0x13329b[_0x17a611(0x318)]||'')}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)][_0x17a611(0x28c)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd['MessageType']['Warning'],'content':this[_0x17a611(0x368)]['t'](_0x17a611(0x357))}),_0x13329b['id']===_0x3cd4b3[_0x17a611(0x33c)][_0x17a611(0x42e)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)]['Error'],'content':this[_0x17a611(0x368)]['t']('session.connection-failed')}),_0x13329b['id']===_0x3cd4b3['CollaborationUIEventId'][_0x17a611(0x3fa)]&&this[_0x17a611(0x34e)][_0x17a611(0x420)]({'type':_0x128cbd[_0x17a611(0x1fc)][_0x17a611(0x1a8)],'content':this[_0x17a611(0x368)]['t']('session.collaboration-timeout')});}));}};_0x138e1d=_0xd722ce([_0x4135e6(0x0,_0x598c76[_0x57234b(0x221)]),_0x4135e6(0x1,_0x3cd4b3['ILocalCacheService']),_0x4135e6(0x2,_0x2f047f['Inject'](_0x3cd4b3[_0x57234b(0x3ef)])),_0x4135e6(0x3,_0x598c76[_0x57234b(0x35c)]),_0x4135e6(0x4,_0x598c76[_0x57234b(0x1eb)]),_0x4135e6(0x5,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3a0)]))],_0x138e1d);const _0x1257be=_0x57234b(0x24b),_0x1236dd={},_0x416e69=_0x2f047f[_0x57234b(0x291)]('uni.network.url-service');var _0x2fc4e1=Object[_0x57234b(0x32c)],_0x2ec698=(_0x29d15b,_0x3637bb,_0x4e7793,_0x13fab7)=>{const _0x968cdd=_0x57234b;for(var _0x5b15fb=_0x13fab7>0x1?void 0x0:_0x13fab7?_0x2fc4e1(_0x3637bb,_0x4e7793):_0x3637bb,_0x3526cc=_0x29d15b[_0x968cdd(0x394)]-0x1,_0x1ce9b9;_0x3526cc>=0x0;_0x3526cc--)(_0x1ce9b9=_0x29d15b[_0x3526cc])&&(_0x5b15fb=_0x1ce9b9(_0x5b15fb)||_0x5b15fb);return _0x5b15fb;},_0x30b003=(_0x1b571a,_0x5aff7c)=>(_0xb74147,_0x419fa8)=>_0x5aff7c(_0xb74147,_0x419fa8,_0x1b571a);_0x233897[_0x57234b(0x23a)]=class extends _0x2f047f[_0x57234b(0x1e7)]{constructor(_0x1967ef,_0x1c1292,_0x3964d2,_0x206607,_0x205432){const _0x313ab5=_0x57234b;super(),this[_0x313ab5(0x278)]=_0x1967ef,this[_0x313ab5(0x2e2)]=_0x1c1292,this[_0x313ab5(0x3c2)]=_0x3964d2,this[_0x313ab5(0x3f9)]=_0x206607,_0x205432?_0x205432==null||_0x205432['whenReady']()['then'](()=>this[_0x313ab5(0x1b3)]()):(this[_0x313ab5(0x2e2)]['debug']('[CollaborationDataLoaderController]',_0x313ab5(0x1c7)),this[_0x313ab5(0x1b3)]());}async['_init'](){const _0x171caf=_0x57234b,_0x42abc7=this[_0x171caf(0x278)]['getParam'](_0x171caf(0x21d)),_0x2f50ca=this[_0x171caf(0x278)]['getParam']('type'),_0x1230a9=this[_0x171caf(0x278)][_0x171caf(0x42c)]('subunit');if(!_0x42abc7||!_0x2f50ca){this[_0x171caf(0x2e2)][_0x171caf(0x231)](_0x171caf(0x1bf),_0x171caf(0x211));return;}const _0x593eaa=await this['_dataLoaderService']['loadUnit'](_0x42abc7,Number(_0x2f50ca),_0x1230a9);_0x593eaa&&_0x593eaa instanceof _0x2f047f[_0x171caf(0x3d0)]&&this[_0x171caf(0x2d5)](_0x593eaa);}async[_0x57234b(0x2d5)](_0x228b60){const _0x1b5d6c=_0x57234b;await this['_updateSubUnitFromURLParams'](_0x228b60),_0x228b60[_0x1b5d6c(0x402)][_0x1b5d6c(0x297)](_0x5c56d7[_0x1b5d6c(0x399)](this[_0x1b5d6c(0x314)]))[_0x1b5d6c(0x2d2)](_0x30d53c=>{const _0x2f8117=_0x1b5d6c;_0x30d53c&&this[_0x2f8117(0x32d)](_0x30d53c);}),this[_0x1b5d6c(0x278)][_0x1b5d6c(0x30a)][_0x1b5d6c(0x297)](_0x5c56d7[_0x1b5d6c(0x399)](this[_0x1b5d6c(0x314)]))[_0x1b5d6c(0x2d2)](()=>this[_0x1b5d6c(0x413)](_0x228b60));}[_0x57234b(0x32d)](_0x500e3c,_0x138ebc=!0x1){const _0x40ba6b=_0x57234b,_0x91de77=this[_0x40ba6b(0x278)][_0x40ba6b(0x42c)](_0x40ba6b(0x2fc));_0x500e3c[_0x40ba6b(0x336)]()!==_0x91de77&&this[_0x40ba6b(0x278)][_0x40ba6b(0x1b4)](_0x40ba6b(0x2fc),_0x500e3c[_0x40ba6b(0x336)](),_0x138ebc);}async['_updateSubUnitFromURLParams'](_0x48f33f){const _0x35e4f6=_0x57234b;var _0x4d7e28;const _0x2f2149=this['_urlService'][_0x35e4f6(0x42c)](_0x35e4f6(0x2fc));if(!_0x2f2149||!_0x48f33f[_0x35e4f6(0x200)](_0x2f2149)){const _0xf9f956=_0x48f33f[_0x35e4f6(0x1ef)]()[0x0],_0x477a79=_0x48f33f[_0x35e4f6(0x200)](_0xf9f956);if(!_0x477a79)return;this['_updateURLWithCurrentState'](_0x477a79,!0x0),await this[_0x35e4f6(0x3c2)]['executeCommand'](_0xafcc68['SetWorksheetActivateCommand']['id'],{'unitId':_0x48f33f[_0x35e4f6(0x3a6)](),'subUnitId':_0xf9f956});return;}((_0x4d7e28=_0x48f33f[_0x35e4f6(0x3e4)]())==null?void 0x0:_0x4d7e28[_0x35e4f6(0x336)]())!==_0x2f2149&&await this[_0x35e4f6(0x3c2)][_0x35e4f6(0x31e)](_0xafcc68[_0x35e4f6(0x351)]['id'],{'unitId':_0x48f33f['getUnitId'](),'subUnitId':_0x2f2149});}},_0x233897[_0x57234b(0x23a)]=_0x2ec698([_0x30b003(0x0,_0x416e69),_0x30b003(0x1,_0x2f047f['ILogService']),_0x30b003(0x2,_0x2f047f[_0x57234b(0x283)]),_0x30b003(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3['DataLoaderService'])),_0x30b003(0x4,_0x2f047f[_0x57234b(0x39d)](_0x53afa0[_0x57234b(0x2d4)]))],_0x233897[_0x57234b(0x23a)]);var _0x5d5a2b=Object[_0x57234b(0x32c)],_0x4d8edf=(_0x1ebed7,_0x2bf3be,_0x503e56,_0x514f7a)=>{const _0x5e8d54=_0x57234b;for(var _0x3fbb8f=_0x514f7a>0x1?void 0x0:_0x514f7a?_0x5d5a2b(_0x2bf3be,_0x503e56):_0x2bf3be,_0x10176a=_0x1ebed7[_0x5e8d54(0x394)]-0x1,_0x455efc;_0x10176a>=0x0;_0x10176a--)(_0x455efc=_0x1ebed7[_0x10176a])&&(_0x3fbb8f=_0x455efc(_0x3fbb8f)||_0x3fbb8f);return _0x3fbb8f;},_0x5cff86=(_0x5f5ae3,_0xbe9cda)=>(_0x5710dd,_0x141119)=>_0xbe9cda(_0x5710dd,_0x141119,_0x5f5ae3);let _0x195350=class{constructor(_0x57f6c8,_0x1967b8,_0x5a35be){const _0x1c3ad0=_0x57234b;this[_0x1c3ad0(0x2b8)]=_0x57f6c8,this[_0x1c3ad0(0x2a0)]=_0x1967b8,this[_0x1c3ad0(0x259)]=_0x5a35be;}['transformIMECache'](_0x14d4bb){this['_transformUndoRedoStack'](_0x14d4bb),this['_transformPreviousActiveRange'](_0x14d4bb);}[_0x57234b(0x1d7)](_0x1b8872){const _0x432b6e=_0x57234b,{unitID:_0x56bdd1}=_0x1b8872,_0x240039=this[_0x432b6e(0x259)]['getRenderById'](_0x56bdd1)[_0x432b6e(0x1c2)](_0x35f299[_0x432b6e(0x22e)]),{redoCache:_0x1706c7}=_0x240039[_0x432b6e(0x430)]();if(_0x1706c7[_0x432b6e(0x394)]===0x0)return _0x1b8872;let _0x1b5afd=_0x2f047f['Tools'][_0x432b6e(0x3dc)](_0x1b8872[_0x432b6e(0x1f2)][0x0]);for(let _0x576941=0x0;_0x576941<_0x1706c7[_0x432b6e(0x394)];_0x576941++){const _0x1ecc2={'id':_0x432b6e(0x253),'params':{..._0x1706c7[_0x576941]}},_0xee519d=this[_0x432b6e(0x2a0)][_0x432b6e(0x42a)](_0x1b5afd,_0x1ecc2,!0x1);if(_0x10f325['isTransformMutationFailure'](_0xee519d))throw _0xee519d['error'];_0x1b5afd=_0xee519d[_0x432b6e(0x269)];}return{..._0x2f047f[_0x432b6e(0x1e6)][_0x432b6e(0x3dc)](_0x1b8872),'mutations':[_0x1b5afd]};}[_0x57234b(0x2f2)](_0x59467e){const _0x4c8ab5=_0x57234b,{unitID:_0x1d87d5}=_0x59467e,_0x415428=this['_renderManagerService'][_0x4c8ab5(0x33d)](_0x1d87d5)['with'](_0x35f299[_0x4c8ab5(0x22e)]),{undoCache:_0x333687,redoCache:_0x21d96b}=_0x415428[_0x4c8ab5(0x430)]();if(_0x333687[_0x4c8ab5(0x394)]===0x0||_0x21d96b[_0x4c8ab5(0x394)]===0x0)return;const _0x2eb28c=[],_0x1dc611=[];let _0x3f4e89=_0x2f047f[_0x4c8ab5(0x1e6)][_0x4c8ab5(0x3dc)](_0x59467e[_0x4c8ab5(0x1f2)][0x0]),_0x578ce9=_0x2f047f['Tools']['deepClone'](_0x59467e[_0x4c8ab5(0x1f2)][0x0]);for(let _0x4f1726=_0x333687[_0x4c8ab5(0x394)]-0x1;_0x4f1726>=0x0;_0x4f1726--){const _0x4509b9={'id':'doc.mutation.rich-text-editing','params':{..._0x333687[_0x4f1726]}},_0x5b9d2a={'id':_0x4c8ab5(0x253),'params':{..._0x21d96b[_0x4f1726]}},_0x1efdbe=this[_0x4c8ab5(0x2a0)][_0x4c8ab5(0x42a)](_0x3f4e89,_0x4509b9,!0x1),_0x426b52=this['_transformService'][_0x4c8ab5(0x42a)](_0x578ce9,_0x5b9d2a,!0x1);if(_0x10f325[_0x4c8ab5(0x1a5)](_0x1efdbe))throw _0x1efdbe[_0x4c8ab5(0x289)];if(_0x10f325[_0x4c8ab5(0x1a5)](_0x426b52))throw _0x426b52[_0x4c8ab5(0x289)];_0x2eb28c[_0x4c8ab5(0x308)](_0x1efdbe[_0x4c8ab5(0x2e9)][_0x4c8ab5(0x31b)]),_0x1dc611[_0x4c8ab5(0x308)](_0x426b52['m2Prime']['params']),_0x3f4e89=_0x1efdbe[_0x4c8ab5(0x269)],_0x578ce9=_0x426b52['m1Prime'];}_0x415428['setUndoRedoMutationParamsCache']({'undoCache':_0x2eb28c,'redoCache':_0x1dc611});}[_0x57234b(0x3f4)](_0x5a0f4e){const _0x13dde2=_0x57234b,{unitID:_0x8bedd2}=_0x5a0f4e,_0x28bf8e=this[_0x13dde2(0x259)][_0x13dde2(0x33d)](_0x8bedd2)[_0x13dde2(0x1c2)](_0x35f299[_0x13dde2(0x22e)]),_0x44985b=_0x28bf8e[_0x13dde2(0x2be)]();if(_0x44985b==null)return;const _0x1f3cd2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a0f4e[_0x13dde2(0x21f)],'actions':null,'textRanges':[_0x44985b]}}],_0x5062dc=this[_0x13dde2(0x2a0)][_0x13dde2(0x347)](_0x5a0f4e,_0x1f3cd2);if(!_0x10f325['isTransformMutationsWithChangesetSuccess'](_0x5062dc))throw _0x5062dc[_0x13dde2(0x289)];const _0x3d82d5=_0x5062dc[_0x13dde2(0x2e9)][0x0][_0x13dde2(0x31b)][_0x13dde2(0x304)];Array[_0x13dde2(0x3a5)](_0x3d82d5)&&_0x3d82d5[_0x13dde2(0x394)]&&_0x28bf8e['setActiveRange'](_0x3d82d5[0x0]);}};_0x195350=_0x4d8edf([_0x5cff86(0x0,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x5cff86(0x1,_0x10f325[_0x57234b(0x407)]),_0x5cff86(0x2,_0x228785[_0x57234b(0x23c)])],_0x195350);var _0x3f0f87=Object[_0x57234b(0x32c)],_0x5b30f3=(_0x309255,_0x4caa77,_0x75eec8,_0x246d3c)=>{const _0x1ce058=_0x57234b;for(var _0x9c6d73=_0x246d3c>0x1?void 0x0:_0x246d3c?_0x3f0f87(_0x4caa77,_0x75eec8):_0x4caa77,_0x5cb0ca=_0x309255[_0x1ce058(0x394)]-0x1,_0x46871a;_0x5cb0ca>=0x0;_0x5cb0ca--)(_0x46871a=_0x309255[_0x5cb0ca])&&(_0x9c6d73=_0x46871a(_0x9c6d73)||_0x9c6d73);return _0x9c6d73;},_0x4cb718=(_0x14edd0,_0xb6274d)=>(_0x4bbe3f,_0x2d4304)=>_0xb6274d(_0x4bbe3f,_0x2d4304,_0x14edd0);let _0x357abb=class{constructor(_0x51415a,_0x3d3c0d,_0x19ec51){const _0x1a5ecc=_0x57234b;this[_0x1a5ecc(0x2b8)]=_0x51415a,this['_transformService']=_0x3d3c0d,this[_0x1a5ecc(0x1f9)]=_0x19ec51;}[_0x57234b(0x212)](_0x5e8b08){const _0x87cb2c=_0x57234b;this[_0x87cb2c(0x240)](_0x5e8b08);}[_0x57234b(0x1d7)](_0x2116d5){const _0x3efc06=_0x57234b,{unitID:_0x44d31f}=_0x2116d5,{collaboration:_0x138433}=this['_docStateChangeManagerService'][_0x3efc06(0x2ba)](_0x44d31f);if(_0x138433[_0x3efc06(0x394)]===0x0)return _0x2116d5;let _0x5ed798=_0x2f047f[_0x3efc06(0x1e6)][_0x3efc06(0x3dc)](_0x2116d5[_0x3efc06(0x1f2)][0x0]);for(let _0x9714a2=0x0;_0x9714a2<_0x138433[_0x3efc06(0x394)];_0x9714a2++){const _0x4bf869={'id':_0x3efc06(0x253),'params':{'unitId':_0x138433[_0x9714a2][_0x3efc06(0x3ac)],..._0x138433[_0x9714a2]['redoState']}},_0x269aac=this[_0x3efc06(0x2a0)]['transformMutation'](_0x5ed798,_0x4bf869,!0x1);if(_0x10f325[_0x3efc06(0x1a5)](_0x269aac))throw _0x269aac['error'];_0x5ed798=_0x269aac[_0x3efc06(0x269)];}return{..._0x2f047f['Tools'][_0x3efc06(0x3dc)](_0x2116d5),'mutations':[_0x5ed798]};}[_0x57234b(0x240)](_0x32d4ae){const _0x37fae2=_0x57234b,{unitID:_0x2379fb}=_0x32d4ae,{history:_0x57bcb2,collaboration:_0x3dfc4b}=this['_docStateChangeManagerService'][_0x37fae2(0x2ba)](_0x2379fb);if(_0x57bcb2[_0x37fae2(0x394)]===0x0&&_0x3dfc4b[_0x37fae2(0x394)]===0x0)return;const _0x41403a=[],_0x1e0fd1=[];let _0x4631a7=_0x2f047f[_0x37fae2(0x1e6)][_0x37fae2(0x3dc)](_0x32d4ae['mutations'][0x0]),_0x4b91dc=_0x2f047f[_0x37fae2(0x1e6)]['deepClone'](_0x32d4ae[_0x37fae2(0x1f2)][0x0]);for(let _0x491ca7=_0x57bcb2['length']-0x1;_0x491ca7>=0x0;_0x491ca7--){const _0x4a9d74={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57bcb2[_0x491ca7][_0x37fae2(0x3ac)],..._0x57bcb2[_0x491ca7]['undoState']}},_0xff751e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57bcb2[_0x491ca7]['unitId'],..._0x57bcb2[_0x491ca7]['redoState']}},_0x570f59=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4631a7,_0x4a9d74,!0x1),_0x2ecaa5=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4b91dc,_0xff751e,!0x1);if(_0x10f325[_0x37fae2(0x1a5)](_0x570f59))throw _0x570f59[_0x37fae2(0x289)];if(_0x10f325[_0x37fae2(0x1a5)](_0x2ecaa5))throw _0x2ecaa5['error'];_0x41403a['unshift']({..._0x57bcb2[_0x491ca7],'undoState':_0x570f59[_0x37fae2(0x2e9)][_0x37fae2(0x31b)],'redoState':_0x2ecaa5['m2Prime'][_0x37fae2(0x31b)]}),_0x4631a7=_0x570f59[_0x37fae2(0x269)],_0x4b91dc=_0x2ecaa5['m1Prime'];}_0x4631a7=_0x2f047f[_0x37fae2(0x1e6)][_0x37fae2(0x3dc)](_0x32d4ae['mutations'][0x0]),_0x4b91dc=_0x2f047f[_0x37fae2(0x1e6)][_0x37fae2(0x3dc)](_0x32d4ae['mutations'][0x0]);for(let _0x605974=_0x3dfc4b[_0x37fae2(0x394)]-0x1;_0x605974>=0x0;_0x605974--){const _0x3d4894={'id':_0x37fae2(0x253),'params':{'unitId':_0x3dfc4b[_0x605974][_0x37fae2(0x3ac)],..._0x3dfc4b[_0x605974]['undoState']}},_0x74cc63={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3dfc4b[_0x605974][_0x37fae2(0x3ac)],..._0x3dfc4b[_0x605974][_0x37fae2(0x33b)]}},_0x362d98=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4631a7,_0x3d4894,!0x1),_0x499560=this[_0x37fae2(0x2a0)][_0x37fae2(0x42a)](_0x4b91dc,_0x74cc63,!0x1);if(_0x10f325['isTransformMutationFailure'](_0x362d98))throw _0x362d98[_0x37fae2(0x289)];if(_0x10f325[_0x37fae2(0x1a5)](_0x499560))throw _0x499560[_0x37fae2(0x289)];_0x1e0fd1['unshift']({..._0x3dfc4b[_0x605974],'undoState':_0x362d98[_0x37fae2(0x2e9)][_0x37fae2(0x31b)],'redoState':_0x499560['m2Prime'][_0x37fae2(0x31b)]}),_0x4631a7=_0x362d98[_0x37fae2(0x269)],_0x4b91dc=_0x499560[_0x37fae2(0x269)];}this['_docStateChangeManagerService'][_0x37fae2(0x3fc)](_0x2379fb,{'history':_0x41403a,'collaboration':_0x1e0fd1});}};_0x357abb=_0x5b30f3([_0x4cb718(0x0,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x4cb718(0x1,_0x10f325[_0x57234b(0x407)]),_0x4cb718(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x35f299[_0x57234b(0x3ce)]))],_0x357abb);var _0x1c2af1=Object[_0x57234b(0x32c)],_0x4a47ab=(_0x31673d,_0x5eb0f2,_0x3e7bbb,_0x38fdb4)=>{for(var _0x500767=_0x38fdb4>0x1?void 0x0:_0x38fdb4?_0x1c2af1(_0x5eb0f2,_0x3e7bbb):_0x5eb0f2,_0x109bea=_0x31673d['length']-0x1,_0x79a5bd;_0x109bea>=0x0;_0x109bea--)(_0x79a5bd=_0x31673d[_0x109bea])&&(_0x500767=_0x79a5bd(_0x500767)||_0x500767);return _0x500767;},_0x2064bf=(_0x2c08c3,_0x871dfc)=>(_0x2a49fa,_0x3fb131)=>_0x871dfc(_0x2a49fa,_0x3fb131,_0x2c08c3);let _0x27a1be=class{constructor(_0x282577,_0x2734b8){const _0x38f348=_0x57234b;this[_0x38f348(0x2b8)]=_0x282577,this[_0x38f348(0x2a0)]=_0x2734b8;}[_0x57234b(0x239)](_0x521cbb){const _0x226ba0=_0x57234b;var _0x17aa97;const _0x1dbce5=this[_0x226ba0(0x2b8)]['get'](_0x220baf[_0x226ba0(0x302)]),_0x27e14b=(_0x17aa97=_0x1dbce5[_0x226ba0(0x1ac)]())!=null?_0x17aa97:[];if(_0x27e14b[_0x226ba0(0x394)]===0x0)return;const _0x5d6fb4=_0x521cbb['unitID'],_0x1a7a42=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5d6fb4,'actions':null,'textRanges':_0x27e14b}}],_0x459172=this[_0x226ba0(0x2a0)][_0x226ba0(0x347)](_0x521cbb,_0x1a7a42);if(!_0x10f325[_0x226ba0(0x1e5)](_0x459172))throw _0x459172[_0x226ba0(0x289)];const _0x45d8d2=_0x459172[_0x226ba0(0x2e9)][0x0][_0x226ba0(0x31b)][_0x226ba0(0x304)];Array[_0x226ba0(0x3a5)](_0x45d8d2)&&_0x45d8d2[_0x226ba0(0x394)]&&_0x1dbce5[_0x226ba0(0x25b)](_0x45d8d2,{'unitId':_0x5d6fb4,'subUnitId':_0x5d6fb4},!0x1);}};_0x27a1be=_0x4a47ab([_0x2064bf(0x0,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x2064bf(0x1,_0x10f325[_0x57234b(0x407)])],_0x27a1be);var _0x3bfa48=Object[_0x57234b(0x32c)],_0xb6f0a3=(_0x1f92ed,_0x7ee191,_0x28a2f9,_0x29a261)=>{const _0x5e531c=_0x57234b;for(var _0x35cbdf=_0x29a261>0x1?void 0x0:_0x29a261?_0x3bfa48(_0x7ee191,_0x28a2f9):_0x7ee191,_0x1b1876=_0x1f92ed[_0x5e531c(0x394)]-0x1,_0x5836fa;_0x1b1876>=0x0;_0x1b1876--)(_0x5836fa=_0x1f92ed[_0x1b1876])&&(_0x35cbdf=_0x5836fa(_0x35cbdf)||_0x35cbdf);return _0x35cbdf;},_0x334b8b=(_0x780d76,_0x39d9a6)=>(_0x34484e,_0x4a8f36)=>_0x39d9a6(_0x34484e,_0x4a8f36,_0x780d76);let _0x232050=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x5be21f,_0x49e9a8,_0x5b19ed,_0x52d968,_0x4823f7,_0x56b8c7,_0x38ae91,_0x190479){const _0x38ccb8=_0x57234b;super(),_0x2a7ff2(this,_0x38ccb8(0x38f),new _0x5c56d7[(_0x38ccb8(0x284))](_0x3cd4b3['CollaborationStatus'][_0x38ccb8(0x414)])),(this['_docStateChangeManagerService']=_0x5be21f,this[_0x38ccb8(0x3d8)]=_0x49e9a8,this['_docTransformIMECacheService']=_0x5b19ed,this[_0x38ccb8(0x3c0)]=_0x52d968,this[_0x38ccb8(0x3ca)]=_0x4823f7,this[_0x38ccb8(0x243)]=_0x56b8c7,this['_messageService']=_0x38ae91,this[_0x38ccb8(0x368)]=_0x190479,this[_0x38ccb8(0x249)]());}[_0x57234b(0x249)](){const _0x8eeb0d=_0x57234b;this[_0x8eeb0d(0x3aa)](this[_0x8eeb0d(0x3d8)][_0x8eeb0d(0x20c)][_0x8eeb0d(0x2d2)](_0x5f2956=>{const _0x58421a=_0x8eeb0d,_0x17b635=this[_0x58421a(0x1f9)][_0x58421a(0x31a)][_0x58421a(0x2d2)](_0xdf5dd8=>{const _0x2b58c8=_0x58421a;if(_0xdf5dd8==null)return;const {unitId:_0x5029c1,redoState:_0x626177,commandId:_0x4ee229}=_0xdf5dd8;if(_0x5029c1!==_0x5f2956[_0x2b58c8(0x21f)])return;const _0x2f9884={'id':_0x4ee229,'type':_0x2f047f['CommandType']['MUTATION'],'params':{'unitId':_0x5029c1,'actions':_0x626177[_0x2b58c8(0x28a)],'textRanges':null}};_0x5f2956[_0x2b58c8(0x329)](_0x2f9884);});if(_0x5f2956[_0x58421a(0x3aa)](_0x17b635),_0x5f2956 instanceof _0x3cd4b3[_0x58421a(0x222)]){const _0x592251={'onTransformIME':_0x538c84=>this['_docTransformIMECacheService'][_0x58421a(0x271)](_0x538c84),'onTransformState':_0x5b7d61=>this[_0x58421a(0x3c0)][_0x58421a(0x212)](_0x5b7d61),'onTransformSelections':_0x2ce87e=>this[_0x58421a(0x3ca)][_0x58421a(0x239)](_0x2ce87e),'onSyncEditingCollabCursor':_0x387a22=>this['_docSyncEditingCollabCursorService'][_0x58421a(0x288)](_0x387a22),'onTransformRemoteChangesetByIMECache':_0x24301e=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x24301e),'onTransformRemoteChangesetByStateCache':_0x1685d6=>this[_0x58421a(0x3c0)][_0x58421a(0x1d7)](_0x1685d6)};_0x5f2956['addHandlerCallback'](_0x592251);}}));}};_0x232050=_0xb6f0a3([_0x334b8b(0x0,_0x2f047f['Inject'](_0x35f299[_0x57234b(0x3ce)])),_0x334b8b(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x3cd4b3['CollaborationController'])),_0x334b8b(0x2,_0x2f047f['Inject'](_0x195350)),_0x334b8b(0x3,_0x2f047f[_0x57234b(0x2b9)](_0x357abb)),_0x334b8b(0x4,_0x2f047f[_0x57234b(0x2b9)](_0x27a1be)),_0x334b8b(0x5,_0x2f047f['Inject'](_0x2dfd39)),_0x334b8b(0x6,_0x598c76[_0x57234b(0x35c)]),_0x334b8b(0x7,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f['LocaleService']))],_0x232050);var _0x1599fa=Object[_0x57234b(0x32c)],_0x9f803e=(_0x4b81b2,_0x2794a2,_0xb6d24d,_0x32eeb3)=>{const _0x5c0860=_0x57234b;for(var _0x13f412=_0x32eeb3>0x1?void 0x0:_0x32eeb3?_0x1599fa(_0x2794a2,_0xb6d24d):_0x2794a2,_0x484fa5=_0x4b81b2[_0x5c0860(0x394)]-0x1,_0x192b86;_0x484fa5>=0x0;_0x484fa5--)(_0x192b86=_0x4b81b2[_0x484fa5])&&(_0x13f412=_0x192b86(_0x13f412)||_0x13f412);return _0x13f412;},_0x44135d=(_0x4b8f9e,_0x25059e)=>(_0x128d24,_0x2a974b)=>_0x25059e(_0x128d24,_0x2a974b,_0x4b8f9e);let _0x4efea7=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x3403d6,_0x311ffc,_0x3adad0){const _0x1c2d67=_0x57234b;super(),_0x2a7ff2(this,_0x1c2d67(0x296),new Map()),_0x2a7ff2(this,_0x1c2d67(0x220),new Map()),_0x2a7ff2(this,_0x1c2d67(0x1b2),!0x1),(this[_0x1c2d67(0x2cb)]=_0x3403d6,this[_0x1c2d67(0x2a2)]=_0x311ffc,this[_0x1c2d67(0x1cd)]=_0x3adad0);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x57234b(0x287)](){const _0x58a712=_0x57234b;this[_0x58a712(0x1b2)]=!0x1;}get[_0x57234b(0x415)](){const _0x445e85=_0x57234b;return this[_0x445e85(0x220)];}[_0x57234b(0x2e6)](){const _0x365abf=_0x57234b;this['exhaustSavingTask']()[_0x365abf(0x341)](()=>super[_0x365abf(0x2e6)]());}async[_0x57234b(0x29e)](_0x1c7d66){const _0x2b7522=_0x57234b;return this[_0x2b7522(0x1b2)]?null:this[_0x2b7522(0x2a2)][_0x2b7522(0x1e4)](_0x3cd4b3[_0x2b7522(0x27b)](_0x1c7d66));}async[_0x57234b(0x286)](_0x401583,_0x1b52d2){const _0x5972a9=_0x57234b;return!!this[_0x5972a9(0x2a2)][_0x5972a9(0x369)](_0x401583,_0x1b52d2);}['updateOfflineData'](_0x1ca0b2,_0x311f65,_0x197395,_0x80ba43){const _0x2d1f5c=_0x57234b,_0x32a7f2=this[_0x2d1f5c(0x1cd)]['getCurrentRevOfUnit'](_0x1ca0b2);this[_0x2d1f5c(0x296)][_0x2d1f5c(0x3cf)](_0x1ca0b2,{'unitID':_0x1ca0b2,'type':_0x311f65,'awaitingChangeset':_0x197395,'mutations':_0x80ba43,'rev':_0x32a7f2}),this[_0x2d1f5c(0x220)][_0x2d1f5c(0x2de)](_0x1ca0b2)||this['_scheduleSaving'](_0x1ca0b2);}[_0x57234b(0x228)](_0xbdff26){const _0x526eea=_0x57234b,_0x27d885=this[_0x526eea(0x2ed)]();_0x27d885===0x0?this[_0x526eea(0x396)](_0xbdff26):this[_0x526eea(0x220)][_0x526eea(0x3cf)](_0xbdff26,setTimeout(()=>this[_0x526eea(0x396)](_0xbdff26),_0x27d885));}[_0x57234b(0x2ed)](){const _0x18d368=_0x57234b;var _0x33f495;return(_0x33f495=this['_configService'][_0x18d368(0x21b)](_0x3cd4b3['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x33f495:_0x3cd4b3[_0x18d368(0x254)];}['_saveCache'](_0x2c40ef){const _0x3bd8b4=_0x57234b,_0x3b5e34=this[_0x3bd8b4(0x220)][_0x3bd8b4(0x1f3)](_0x2c40ef);return _0x3b5e34!==void 0x0&&window['clearTimeout'](_0x3b5e34),this[_0x3bd8b4(0x2a2)][_0x3bd8b4(0x369)](_0x3cd4b3['getLocalCacheKey'](_0x2c40ef),this[_0x3bd8b4(0x296)][_0x3bd8b4(0x1f3)](_0x2c40ef))[_0x3bd8b4(0x341)](()=>this['_saveTaskMap']['delete'](_0x2c40ef));}async[_0x57234b(0x376)](){const _0x2f26ed=_0x57234b,_0x2e2c4c=[];this[_0x2f26ed(0x220)][_0x2f26ed(0x410)]((_0x20f7b3,_0x232f40)=>{const _0x1474c1=_0x2f26ed;window[_0x1474c1(0x2eb)](_0x20f7b3),_0x2e2c4c[_0x1474c1(0x34b)](this[_0x1474c1(0x396)](_0x232f40)[_0x1474c1(0x341)](()=>{const _0x6fb28f=_0x1474c1;this[_0x6fb28f(0x220)][_0x6fb28f(0x39a)](_0x232f40);}));}),await Promise['all'](_0x2e2c4c);}};_0x4efea7=_0x9f803e([_0x44135d(0x0,_0x2f047f[_0x57234b(0x3bc)]),_0x44135d(0x1,_0x2f047f[_0x57234b(0x241)]),_0x44135d(0x2,_0x2f047f[_0x57234b(0x2b9)](_0x10f325['RevisionService']))],_0x4efea7);class _0x198408 extends _0x2f047f[_0x57234b(0x1e7)]{constructor(){const _0x1eecf8=_0x57234b;super(),_0x2a7ff2(this,_0x1eecf8(0x30a)),this[_0x1eecf8(0x30a)]=_0x5c56d7[_0x1eecf8(0x27c)](window,_0x1eecf8(0x37f))[_0x1eecf8(0x297)](_0x5c56d7[_0x1eecf8(0x399)](this[_0x1eecf8(0x314)]),_0x5c56d7[_0x1eecf8(0x38a)](0x1),_0x5c56d7['mapTo'](void 0x0));}[_0x57234b(0x1b4)](_0x35e4ae,_0x41dfc7,_0x2ae509=!0x1){const _0x3f6f87=_0x57234b,_0x2c5161=new URL(window[_0x3f6f87(0x37a)]['href']);_0x2c5161[_0x3f6f87(0x3e5)][_0x3f6f87(0x3cf)](_0x35e4ae,_0x41dfc7),_0x2ae509?window[_0x3f6f87(0x409)][_0x3f6f87(0x266)]('','',_0x2c5161[_0x3f6f87(0x2d7)]()):window[_0x3f6f87(0x409)][_0x3f6f87(0x36b)]('','',_0x2c5161[_0x3f6f87(0x2d7)]());}[_0x57234b(0x2a7)](_0x4705af,_0x203d4b=!0x1){const _0x226be1=_0x57234b,_0x5d4891=new URL(window[_0x226be1(0x37a)][_0x226be1(0x358)]);_0x5d4891[_0x226be1(0x3e5)][_0x226be1(0x39a)](_0x4705af),_0x203d4b?window['history'][_0x226be1(0x266)]('','',_0x5d4891[_0x226be1(0x2d7)]()):window[_0x226be1(0x409)][_0x226be1(0x36b)]('','',_0x5d4891['toString']());}[_0x57234b(0x42c)](_0x1a769a){const _0x173d52=_0x57234b;var _0x3f6743;return(_0x3f6743=new URL(window[_0x173d52(0x37a)][_0x173d52(0x358)])[_0x173d52(0x3e5)][_0x173d52(0x1f3)](_0x1a769a))!=null?_0x3f6743:void 0x0;}}var _0x407cdf=Object[_0x57234b(0x1de)],_0x3eb75d=Object[_0x57234b(0x32c)],_0x15e99f=(_0x16ccab,_0x59778a,_0x9a33c8)=>_0x59778a in _0x16ccab?_0x407cdf(_0x16ccab,_0x59778a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9a33c8}):_0x16ccab[_0x59778a]=_0x9a33c8,_0x4c1b3b=(_0x22042f,_0x3db1fc,_0x324fd2,_0x1e5af5)=>{const _0x3b03b1=_0x57234b;for(var _0x331c95=_0x1e5af5>0x1?void 0x0:_0x1e5af5?_0x3eb75d(_0x3db1fc,_0x324fd2):_0x3db1fc,_0x26be6b=_0x22042f[_0x3b03b1(0x394)]-0x1,_0x8263b1;_0x26be6b>=0x0;_0x26be6b--)(_0x8263b1=_0x22042f[_0x26be6b])&&(_0x331c95=_0x8263b1(_0x331c95)||_0x331c95);return _0x331c95;},_0x44dcf9=(_0x32c667,_0x40d3b9)=>(_0x3372f9,_0x46e911)=>_0x40d3b9(_0x3372f9,_0x46e911,_0x32c667),_0x3da576=(_0xd1d97f,_0x22df8e,_0xe0bc47)=>_0x15e99f(_0xd1d97f,_0x22df8e+'',_0xe0bc47);const _0x136dcb=_0x57234b(0x1bc);_0x233897[_0x57234b(0x382)]=class extends _0x2f047f['Plugin']{constructor(_0x164660=_0x1236dd,_0x1198e5,_0x28d6bd,_0x357648){const _0x2afe16=_0x57234b;super(),this[_0x2afe16(0x385)]=_0x164660,this[_0x2afe16(0x259)]=_0x1198e5,this[_0x2afe16(0x2b8)]=_0x28d6bd,this['_configService']=_0x357648;const {..._0x334186}=_0x2f047f[_0x2afe16(0x2ab)]({},_0x1236dd,this[_0x2afe16(0x385)]);this[_0x2afe16(0x2cb)][_0x2afe16(0x2c7)](_0x1257be,_0x334186);}[_0x57234b(0x3ed)](){const _0x2a4cbe=_0x57234b;this[_0x2a4cbe(0x337)](),this[_0x2a4cbe(0x1e9)]();}[_0x57234b(0x3d7)](){const _0x1f90c1=_0x57234b;this[_0x1f90c1(0x1ce)]();}[_0x57234b(0x337)](){const _0x2ee266=_0x57234b;var _0x56e842;const _0x474eaf=[[_0x45519b],[_0x27a1be],[_0x195350],[_0x357abb],[_0x2dfd39],[_0x416e69,{'useClass':_0x198408}],[_0x25af06[_0x2ee266(0x2ca)],{'useClass':_0x25af06[_0x2ee266(0x1ff)]}],[_0x3cd4b3[_0x2ee266(0x2db)],{'useClass':_0x4efea7}],[_0x233897[_0x2ee266(0x41f)]],[_0x232050],[_0x138e1d],[_0x2b7c6d],[_0x3d6cb5],[_0x233897['CollaborationDataLoaderController']]];_0x2f047f['registerDependencies'](this[_0x2ee266(0x2b8)],_0x2f047f['mergeOverrideWithDependencies'](_0x474eaf,(_0x56e842=this[_0x2ee266(0x385)])==null?void 0x0:_0x56e842['override']));}[_0x57234b(0x1ce)](){const _0xe5032a=_0x57234b;this[_0xe5032a(0x3aa)](this[_0xe5032a(0x259)][_0xe5032a(0x3b7)](_0x2f047f[_0xe5032a(0x320)][_0xe5032a(0x391)],[_0x15fd95])),this[_0xe5032a(0x3aa)](this['_renderManagerService'][_0xe5032a(0x3b7)](_0x2f047f[_0xe5032a(0x320)][_0xe5032a(0x2f4)],[_0x4f4543]));}[_0x57234b(0x1e9)](){const _0x31734d=_0x57234b;_0x2f047f[_0x31734d(0x403)](this['_injector'],[[_0x2b7c6d],[_0x233897['DesktopCollaborationStatusDisplayController']],[_0x232050],[_0x138e1d],[_0x233897[_0x31734d(0x23a)]]]);}},_0x3da576(_0x233897[_0x57234b(0x382)],_0x57234b(0x29d),_0x136dcb),_0x233897[_0x57234b(0x382)]=_0x4c1b3b([_0x2f047f[_0x57234b(0x366)](_0x3cd4b3[_0x57234b(0x30c)]),_0x44dcf9(0x1,_0x228785['IRenderManagerService']),_0x44dcf9(0x2,_0x2f047f['Inject'](_0x2f047f[_0x57234b(0x3fb)])),_0x44dcf9(0x3,_0x2f047f[_0x57234b(0x3bc)])],_0x233897[_0x57234b(0x382)]);var _0x518537=Object[_0x57234b(0x32c)],_0x370c49=(_0x1d6491,_0x24d8e4,_0x134778,_0x1d1b5c)=>{for(var _0x55a3d3=_0x1d1b5c>0x1?void 0x0:_0x1d1b5c?_0x518537(_0x24d8e4,_0x134778):_0x24d8e4,_0x8a8d03=_0x1d6491['length']-0x1,_0x5c4eb3;_0x8a8d03>=0x0;_0x8a8d03--)(_0x5c4eb3=_0x1d6491[_0x8a8d03])&&(_0x55a3d3=_0x5c4eb3(_0x55a3d3)||_0x55a3d3);return _0x55a3d3;},_0x308608=(_0x444af9,_0x1414f9)=>(_0x3bd53b,_0x3f16f9)=>_0x1414f9(_0x3bd53b,_0x3f16f9,_0x444af9);_0x233897[_0x57234b(0x26a)]=class extends _0x3cd4b3[_0x57234b(0x26c)]{constructor(_0xf392d,_0x4edc5c,_0x5a02c3,_0x673844,_0xcff3e7){super(_0xf392d,_0x4edc5c,_0x5a02c3,_0x673844,_0xcff3e7);}async[_0x57234b(0x340)](_0x13f215){const _0x387579=_0x57234b,_0x3ff482=await this[_0x387579(0x3a3)](),_0x27cb46=this[_0x387579(0x317)](_0x13f215,_0x3ff482);return this[_0x387579(0x346)](_0x27cb46);}['_createSocketURL'](_0x2545f6,_0xd83725){const _0x1c4c89=_0x57234b,_0x441b24=typeof window>'u'?new URL(_0x2545f6):new URL(_0x2545f6,window['location'][_0x1c4c89(0x268)]);_0x441b24[_0x1c4c89(0x3e5)][_0x1c4c89(0x3cf)](_0x1c4c89(0x39e),_0xd83725);const _0x3cb9ec=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1c4c89(0x37a)][_0x1c4c89(0x41b)]);return _0x3cb9ec[_0x1c4c89(0x1f3)](_0x1c4c89(0x285))&&_0x441b24[_0x1c4c89(0x3e5)][_0x1c4c89(0x3cf)](_0x1c4c89(0x285),_0x3cb9ec['get'](_0x1c4c89(0x285))),_0x441b24['toString']();}async['_getSessionTicket'](){const _0x12a7c2=_0x57234b;var _0x5c6356,_0x25f1aa,_0x1b0cca;const _0x5e1688=this[_0x12a7c2(0x2cb)][_0x12a7c2(0x21b)](_0x3cd4b3[_0x12a7c2(0x1d6)]),_0x1bdab7=(_0x5c6356=_0x5e1688==null?void 0x0:_0x5e1688['wsSessionTicketUrl'])!=null?_0x5c6356:_0x3cd4b3[_0x12a7c2(0x3c6)];return(_0x1b0cca=(_0x25f1aa=(await this['_httpService']['get'](_0x1bdab7,{'headers':{'Content-Type':_0x12a7c2(0x219)}}))[_0x12a7c2(0x2b4)])==null?void 0x0:_0x25f1aa[_0x12a7c2(0x216)])!=null?_0x1b0cca:'';}},_0x233897[_0x57234b(0x26a)]=_0x370c49([_0x308608(0x0,_0x2f047f[_0x57234b(0x2b9)](_0x2f047f[_0x57234b(0x3fb)])),_0x308608(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x25af06['HTTPService'])),_0x308608(0x2,_0x2f047f[_0x57234b(0x3bc)]),_0x308608(0x3,_0x2f047f[_0x57234b(0x34a)]),_0x308608(0x4,_0x10f325[_0x57234b(0x2f9)])],_0x233897[_0x57234b(0x26a)]);const _0x815c96=0x7530,_0x5953c5=_0x57234b(0x22c);class _0x3b52f6 extends _0x2f047f['Disposable']{constructor(){const _0x337ea5=_0x57234b;super(),_0x2a7ff2(this,_0x337ea5(0x339),_0x2f047f[_0x337ea5(0x237)]()),_0x2a7ff2(this,'_selfUnitIDs',new Set()),_0x2a7ff2(this,_0x337ea5(0x331),new Map()),_0x2a7ff2(this,'_heartbeatTimer',null),_0x2a7ff2(this,_0x337ea5(0x3a7),new Map()),_0x2a7ff2(this,_0x337ea5(0x3e9),new Map()),this[_0x337ea5(0x1b3)]();}[_0x57234b(0x2e6)](){const _0x4cb939=_0x57234b;super[_0x4cb939(0x2e6)](),this['_clearOtherTimers'][_0x4cb939(0x410)]((_0x9ea3d,_0x5a5347)=>this[_0x4cb939(0x1b7)](_0x5a5347)),this[_0x4cb939(0x2d3)]&&window[_0x4cb939(0x203)](this[_0x4cb939(0x2d3)]);}[_0x57234b(0x425)](_0x5e5084){const _0x23cae3=_0x57234b;return this[_0x23cae3(0x3b0)](_0x5e5084)[_0x23cae3(0x297)](_0x5c56d7[_0x23cae3(0x272)]());}[_0x57234b(0x1a4)](_0x5efdba){const _0xe6a1cd=_0x57234b;this[_0xe6a1cd(0x360)][_0xe6a1cd(0x23e)]===0x0&&this[_0xe6a1cd(0x3b1)](),this['_selfUnitIDs'][_0xe6a1cd(0x2bd)](_0x5efdba),this[_0xe6a1cd(0x3d3)]({'type':0x0,'memberID':this[_0xe6a1cd(0x339)],'unitIDs':[_0x5efdba],'isForwarded':!0x1});}['disposeUnit'](_0x5411cc){const _0x52d2b8=_0x57234b;this[_0x52d2b8(0x360)][_0x52d2b8(0x39a)](_0x5411cc),this[_0x52d2b8(0x360)][_0x52d2b8(0x23e)]===0x0&&this['_heartbeatTimer']&&window[_0x52d2b8(0x203)](this[_0x52d2b8(0x2d3)]);}['_init'](){const _0x290acc=_0x57234b;this[_0x290acc(0x3aa)](_0x2f047f['toDisposable'](_0x5c56d7['fromEvent'](window,_0x290acc(0x29b))[_0x290acc(0x2d2)](_0xb213c5=>{const _0x97f151=_0x290acc;if(_0xb213c5[_0x97f151(0x1aa)]!==_0x5953c5||!_0xb213c5[_0x97f151(0x1ad)])return;const _0x218e41=JSON['parse'](_0xb213c5['newValue']);this[_0x97f151(0x3e1)](_0x218e41);}))),window['addEventListener'](_0x290acc(0x330),()=>this[_0x290acc(0x3d3)]({'type':0x1,'memberID':this[_0x290acc(0x339)],'unitIDs':Array[_0x290acc(0x223)](this[_0x290acc(0x360)])}));}[_0x57234b(0x3e1)](_0x1b7d94){const _0x193b82=_0x57234b;switch(_0x1b7d94[_0x193b82(0x23d)]){case 0x0:this[_0x193b82(0x3c1)](_0x1b7d94);break;case 0x1:this[_0x193b82(0x405)](_0x1b7d94);break;case 0x2:this['_handleHeartbeatEvent'](_0x1b7d94);break;}}['_handleJoinEvent'](_0x471e60){const _0x398a77=_0x57234b,{unitIDs:_0x14c185,memberID:_0x2d053b,isForwarded:_0x4d9211}=_0x471e60;_0x14c185[_0x398a77(0x410)](_0x21115b=>{const _0x490e14=_0x398a77;if(!_0x4d9211&&this[_0x490e14(0x331)][_0x490e14(0x2de)](_0x21115b)&&this[_0x490e14(0x3b0)](_0x21115b)[_0x490e14(0x273)](_0x3cd4b3['UnitStatus'][_0x490e14(0x1bb)]),!this['_unitOnClients'][_0x490e14(0x2de)](_0x21115b)||!this[_0x490e14(0x331)][_0x490e14(0x1f3)](_0x21115b)[_0x490e14(0x2de)](_0x2d053b)){const _0x32c342=this['_unitOnClients'][_0x490e14(0x1f3)](_0x21115b)||new Set();_0x32c342[_0x490e14(0x2bd)](_0x2d053b),this[_0x490e14(0x331)][_0x490e14(0x3cf)](_0x21115b,_0x32c342),this[_0x490e14(0x32b)](_0x2d053b);}}),_0x4d9211||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x57234b(0x32b)](_0x2bcc04){const _0x329f63=_0x57234b;this[_0x329f63(0x1b7)](_0x2bcc04);const _0x5523a5=window[_0x329f63(0x1ab)](()=>{const _0x1fdbc2=_0x329f63;this[_0x1fdbc2(0x331)][_0x1fdbc2(0x410)](_0x49bad7=>{const _0x2506db=_0x1fdbc2;_0x49bad7[_0x2506db(0x39a)](_0x2bcc04);});},_0x815c96*0x2);this[_0x329f63(0x3a7)][_0x329f63(0x3cf)](_0x2bcc04,_0x5523a5);}[_0x57234b(0x1b7)](_0x6cff8b){const _0x5903cf=_0x57234b;if(this[_0x5903cf(0x3a7)]['has'](_0x6cff8b)){const _0x1b75b9=this[_0x5903cf(0x3a7)][_0x5903cf(0x1f3)](_0x6cff8b);_0x1b75b9&&window[_0x5903cf(0x2eb)](_0x1b75b9),this[_0x5903cf(0x3a7)][_0x5903cf(0x3cf)](_0x6cff8b,null);}}['_handleLeaveEvent'](_0x140ac5){const _0x3d4071=_0x57234b,{memberID:_0x1f77e6,unitIDs:_0x5699b2}=_0x140ac5;_0x5699b2[_0x3d4071(0x410)](_0x3cbc06=>{const _0x51219d=_0x3d4071;var _0x208bd5;const _0x1f1d00=this[_0x51219d(0x331)][_0x51219d(0x1f3)](_0x3cbc06);_0x1f1d00&&(_0x1f1d00[_0x51219d(0x39a)](_0x1f77e6),(_0x208bd5=this[_0x51219d(0x3b0)](_0x3cbc06))==null||_0x208bd5[_0x51219d(0x273)](_0x1f1d00[_0x51219d(0x23e)]===0x0?_0x3cd4b3[_0x51219d(0x1da)][_0x51219d(0x40e)]:_0x3cd4b3[_0x51219d(0x1da)][_0x51219d(0x1bb)]));}),this[_0x3d4071(0x1b7)](_0x1f77e6);}[_0x57234b(0x3db)](_0xa9fa71){const _0x8dd3eb=_0x57234b;this['_scheduleClearOtherTimer'](_0xa9fa71[_0x8dd3eb(0x2cf)]);}['_send'](_0x5bd45c){const _0x25cc06=_0x57234b;localStorage[_0x25cc06(0x369)](_0x5953c5,JSON['stringify'](_0x5bd45c));}[_0x57234b(0x3b1)](){const _0x17f0e8=_0x57234b;this[_0x17f0e8(0x2d3)]=window[_0x17f0e8(0x397)](()=>{const _0x10e600=_0x17f0e8;this[_0x10e600(0x3d3)]({'type':0x2,'memberID':this[_0x10e600(0x339)]});},_0x815c96);}[_0x57234b(0x3b0)](_0x297822){const _0x1cf6ff=_0x57234b;return this[_0x1cf6ff(0x3e9)][_0x1cf6ff(0x2de)](_0x297822)||this[_0x1cf6ff(0x3e9)][_0x1cf6ff(0x3cf)](_0x297822,new _0x5c56d7[(_0x1cf6ff(0x284))](_0x3cd4b3[_0x1cf6ff(0x1da)][_0x1cf6ff(0x40e)])),this[_0x1cf6ff(0x3e9)][_0x1cf6ff(0x1f3)](_0x297822);}}var _0x266925=(_0x1ed625=>(_0x1ed625[_0x1ed625['UNDEFINED']=0x0]=_0x57234b(0x316),_0x1ed625[_0x1ed625['OK']=0x1]='OK',_0x1ed625[_0x1ed625[_0x57234b(0x393)]=0x2]=_0x57234b(0x393),_0x1ed625[_0x1ed625[_0x57234b(0x1ba)]=0x3]=_0x57234b(0x1ba),_0x1ed625[_0x1ed625['NOT_FOUND']=0x4]='NOT_FOUND',_0x1ed625[_0x1ed625[_0x57234b(0x2a9)]=0x5]=_0x57234b(0x2a9),_0x1ed625[_0x1ed625[_0x57234b(0x20b)]=0x6]=_0x57234b(0x20b),_0x1ed625[_0x1ed625[_0x57234b(0x1c0)]=0x7]=_0x57234b(0x1c0),_0x1ed625[_0x1ed625[_0x57234b(0x3b5)]=0x8]=_0x57234b(0x3b5),_0x1ed625[_0x1ed625[_0x57234b(0x24e)]=0x9]=_0x57234b(0x24e),_0x1ed625[_0x1ed625[_0x57234b(0x3b8)]=0xa]=_0x57234b(0x3b8),_0x1ed625[_0x1ed625['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x57234b(0x324),_0x1ed625[_0x1ed625[_0x57234b(0x3e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1ed625[_0x1ed625[_0x57234b(0x1d4)]=0x1772]=_0x57234b(0x1d4),_0x1ed625[_0x1ed625[_0x57234b(0x2dc)]=0x1773]=_0x57234b(0x2dc),_0x1ed625[_0x1ed625[_0x57234b(0x1ee)]=0x1b59]=_0x57234b(0x1ee),_0x1ed625[_0x1ed625[_0x57234b(0x2ec)]=0x1b5a]=_0x57234b(0x2ec),_0x1ed625[_0x1ed625['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1ed625[_0x1ed625[_0x57234b(0x270)]=0x1b5c]=_0x57234b(0x270),_0x1ed625[_0x1ed625[_0x57234b(0x206)]=0x1b5d]=_0x57234b(0x206),_0x1ed625[_0x1ed625[_0x57234b(0x292)]=0x1f41]=_0x57234b(0x292),_0x1ed625[_0x1ed625[_0x57234b(0x1c9)]=0x2329]=_0x57234b(0x1c9),_0x1ed625[_0x1ed625[_0x57234b(0x345)]=0x232a]=_0x57234b(0x345),_0x1ed625[_0x1ed625['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1ed625[_0x1ed625[_0x57234b(0x290)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1ed625[_0x1ed625[_0x57234b(0x3d9)]=0x232d]=_0x57234b(0x3d9),_0x1ed625[_0x1ed625['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x57234b(0x1e8),_0x1ed625[_0x1ed625[_0x57234b(0x36c)]=0x2712]=_0x57234b(0x36c),_0x1ed625[_0x1ed625['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x57234b(0x1a7),_0x1ed625[_0x1ed625[_0x57234b(0x412)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1ed625[_0x1ed625[_0x57234b(0x424)]=0x2af9]=_0x57234b(0x424),_0x1ed625[_0x1ed625[_0x57234b(0x247)]=0x2ee1]=_0x57234b(0x247),_0x1ed625[_0x1ed625['INVALID_INVITE_CODE']=0x2ee2]=_0x57234b(0x1a3),_0x1ed625[_0x1ed625[_0x57234b(0x260)]=0x2ee3]=_0x57234b(0x260),_0x1ed625[_0x1ed625[_0x57234b(0x411)]=0x2ee4]=_0x57234b(0x411),_0x1ed625[_0x1ed625[_0x57234b(0x3c7)]=0x2ee5]=_0x57234b(0x3c7),_0x1ed625[_0x1ed625['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1ed625[_0x1ed625[_0x57234b(0x36f)]=0x32ca]=_0x57234b(0x36f),_0x1ed625[_0x1ed625[_0x57234b(0x1c1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1ed625[_0x1ed625[_0x57234b(0x1c3)]=-0x1]=_0x57234b(0x1c3),_0x1ed625))(_0x266925||{}),_0x288fca=Object[_0x57234b(0x32c)],_0x77654f=(_0x46ff2f,_0x3dba29,_0xc862bf,_0x3cc02b)=>{const _0x2acae6=_0x57234b;for(var _0xc0b708=_0x3cc02b>0x1?void 0x0:_0x3cc02b?_0x288fca(_0x3dba29,_0xc862bf):_0x3dba29,_0x304594=_0x46ff2f[_0x2acae6(0x394)]-0x1,_0x5ae457;_0x304594>=0x0;_0x304594--)(_0x5ae457=_0x46ff2f[_0x304594])&&(_0xc0b708=_0x5ae457(_0xc0b708)||_0xc0b708);return _0xc0b708;},_0x5181d4=(_0x1c58cd,_0x4f48b6)=>(_0x245473,_0x37f2cd)=>_0x4f48b6(_0x245473,_0x37f2cd,_0x1c58cd);_0x233897['RemoteUniscriptService']=class extends _0x2f047f[_0x57234b(0x387)]{constructor(_0x356e86,_0x31f05d,_0xa745e4){const _0x3cd275=_0x57234b;super(),this[_0x3cd275(0x3e6)]=_0x356e86,this[_0x3cd275(0x225)]=_0x31f05d,this[_0x3cd275(0x2cb)]=_0xa745e4;}async['runOnServer'](_0x1bce14,_0x4d03fa,_0x359331,..._0x41a6ab){const _0x1aecdb=_0x57234b;var _0x386929,_0x459185,_0x3fe91e,_0x34fc3e;const _0x341967=this['_instanceService']['getFocusedUnit']();if(!_0x341967)throw new Error(_0x1aecdb(0x205));const _0x5740bf=((_0x386929=this[_0x1aecdb(0x2cb)][_0x1aecdb(0x21b)](_0x3cd4b3[_0x1aecdb(0x344)]))!=null?_0x386929:_0x3cd4b3[_0x1aecdb(0x39f)])+'/'+_0x1bce14+_0x1aecdb(0x2c1)+_0x4d03fa,_0x4e02fb=new URL(window[_0x1aecdb(0x37a)][_0x1aecdb(0x358)]),_0x1903e9={'scriptId':_0x1bce14,'runId':(_0x459185=_0x4e02fb[_0x1aecdb(0x3e5)][_0x1aecdb(0x1f3)]('runId'))!=null?_0x459185:'','function':_0x4d03fa,'unitId':_0x341967[_0x1aecdb(0x3a6)](),'argsOfFunction':JSON[_0x1aecdb(0x305)](_0x41a6ab),'invokeId':(_0x3fe91e=_0x359331[_0x1aecdb(0x1dd)])!=null?_0x3fe91e:'','executionId':(_0x34fc3e=_0x359331[_0x1aecdb(0x1a6)])!=null?_0x34fc3e:''};try{const _0x1ce280=await this['_httpService']['post'](_0x5740bf,{'body':_0x1903e9});return _0x1ce280[_0x1aecdb(0x2b4)][_0x1aecdb(0x289)]&&_0x1ce280['body'][_0x1aecdb(0x289)][_0x1aecdb(0x2bc)]!==_0x266925['OK']?_0x1aecdb(0x406):_0x1ce280['body']['result'];}catch{return _0x1aecdb(0x406);}}},_0x233897[_0x57234b(0x1c8)]=_0x77654f([_0x5181d4(0x0,_0x2f047f[_0x57234b(0x309)]),_0x5181d4(0x1,_0x2f047f[_0x57234b(0x2b9)](_0x25af06['HTTPService'])),_0x5181d4(0x2,_0x2f047f['IConfigService'])],_0x233897['RemoteUniscriptService']),_0x233897[_0x57234b(0x22b)]=_0x5b4741,_0x233897[_0x57234b(0x30f)]=_0x416e69,_0x233897[_0x57234b(0x378)]=_0x758a7d,_0x233897[_0x57234b(0x1cf)]=_0x3b52f6,_0x233897[_0x57234b(0x280)]=_0x198408,Object[_0x57234b(0x1de)](_0x233897,Symbol[_0x57234b(0x1df)],{'value':_0x57234b(0x204)});}));function _0x4c8e(){const _0x3f25dc=['shareReplay','_startDocCollabCursor','setShapeProps','1zqAPak','_scene','_status$','verdancy600','UNIVER_DOC','selections','INTERNAL_ERROR','length','univer-online-status','_saveCache','setInterval','_sheetSkeletonManagerService','takeUntil','delete','_range','_entityInit$','Optional','sessionTicket','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LocaleService','handleInsertCol','path','_getSessionTicket','Rectangle','isArray','getUnitId','_clearOtherTimers','COLORS','init','disposeWithMe','getOffsetConfig','unitId','endRow','hovered','collab-rect-range-','_ensureSubject','_scheduleHeartbeat','_memberService','#fff','onPointerLeave$','TOO_MANY_REQUESTS','@univerjs/engine-render','registerRenderModule','LOGIN_FAILED','onTransformChange$','values','flatMap','IConfigService','children','subscribeEvent','svg','_docTransformStateCacheService','_handleJoinEvent','_commandService','useDependency','getSheetObject','RECT','DEFAULT_WS_SESSION_TICKET_URL','INVITE_CODE_ALREADY_BOUND','off-line-single','collabStatus.conflict','_docTransformSelectionsService','0\x200\x2016\x2016','find','fillText','DocStateChangeManagerService','set','Workbook','getSkeleton','CollaborationSessionService','_send','@univerjs/network','_univerInstanceService','status$','onRendered','_collaborationController','LICENSE_DISTRO_REJECTED','_backgroundColor','_handleHeartbeatEvent','deepClone','_shapes','currentSkeleton$','restore','onlineStatus','_handleEvent','SNAPSHOT_INVALID_SNAPSHOT','concat','getActiveSheet','searchParams','_instanceService','_collabCursorState$','UniverDrawing','_unitStatus','save','range','filter','onStarting','top','CollaborationUIEventService','assign','requireSession','univer-online-status-icon','registerBeforeClose','_transformPreviousActiveRange','collabStatus.offline','M0\x200H16V16H0z','41096aVPVPN','Vector2','_dataLoaderService','SUBMIT_CHANGESET_TIMEOUT','Injector','setStateCache','_onCursorDelete','colorChannel1','_anchorDot','toRgbString','handleDeleteRangeMoveUp','activeSheet$','touchDependencies','onlineStatusTitle','_handleLeaveEvent','Failed','ITransformService','ranges','history','1716800XpbBAC','isEditing','PENDING','attrs','NO_OTHER_CLIENTS_EDITING','hasOwnProperty','forEach','USER_NOT_INVITED_CODE','YUUMI_SUBSCRIPTION_NOT_FOUND','_updateSubUnitFromURLParams','NOT_COLLAB','saveTaskMap','FromArray','url(#off-line-single_clip0_910_343)','getCollabCursors$','TEXT','skeleton','search','ThemeService','black','univer-online-status-title','DesktopCollaborationStatusDisplayController','show','cursorInfo','none','_drawTextRange','PY_RUNTIME_SCRIPT_ERROR','getUnitStatus$','triggerDblclick','switchMap','_textBubble','react','transformMutation','getRelativeToViewportCoord','getParam','_hover','SOCKET_FAILED','UniverCore','getUndoRedoMutationParamsCache','handleMoveRange','currentTheme$','asObservable','collabStatus.syncing','INVALID_INVITE_CODE','editingUnit','isTransformMutationFailure','executionId','YUUMI_RATE_OVER_LIMIT','Error','Rect','key','setTimeout','getDocRanges','newValue','_initResize','ColorKit','NodePositionConvertToRectRange','measureText','_disabled','_init','setParam','jsx','arc','_removeClearOtherTimer','_toggleOffline','1em','PERMISSION_DENIED','OTHER_CLIENTS_EDITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformByState','getTypeOfUnitDisposed$','[CollaborationDataLoaderController]','INVALID_ARGUMENT','EMAIL_HAS_BEEN_BOUND','with','UNRECOGNIZED','_imageIoService','handleIRemoveRow','text','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','RemoteUniscriptService','LICENSE_MAX_UNITS_EXCEEDED','UPDATE_CURSOR','debounceTime','defIds','_revisionService','_registerRenderDependencies','WebBrowserSingleActiveUnitService','_getScale','_initCommandExecutedListener','889624kwdFLd','UniverProCollaborationClient','SNAPSHOT_HAS_BEEN_REMOVED','_onRefRangeChange','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','transformRemoteChangeset','UniverEngineRender','_drawRectRange','UnitStatus','_online','_startSheetCollabCursor','invokeId','defineProperty','toStringTag','getCollabEntity$','_entities','_eventUnsubscribe','div','getItem','isTransformMutationsWithChangesetSuccess','Tools','RxDisposable','YUUMI_UNABLE_LOAD_URL','_initDependencies','sheetId','INotificationService','_cursors','_removeCollabCursors','APPLY_REJECT','getUnhiddenWorksheets','addObject','event$','mutations','get','_uiPartsService','UniverUi','clsx','permission.content','extend','_docStateChangeManagerService','_localCacheService','_refRangeService','MessageType','getMergeData','transform','WebSocketService','getSheetBySheetId','MemberService','closePath','clearInterval','Module','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_DUPLICATED','labelPosition','onlineStatusIcon','@univerjs/sheets','permission.title','ALREADY_EXISTS','entityInit$','findNodePositionByCharIndex','height','getOwnPropertySymbols','string','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformStateCache','className','Subject','icon','ticket','onPointerEnter$','some','application/json','CONFLICT','getConfig','collabStatus.synced','unit','UniverNetwork','unitID','_saveTaskMap','IBeforeCloseService','DocCollaborationEntity','from','currentColor','_httpService','width','UniverRpc','_scheduleSaving','getValue','0\x200\x2017\x2016','CollaborationStatusDisplay','ACTIVE_UNIT_EVENT_CHANNEL','registerRefRange','DocIMEInputManagerService','evenodd','@univerjs-pro/collaboration-client','debug','_roomMembers$','isActive','jiqing500','OnLineSingle','color','generateRandomId','_collabCursorController','transformSelections','CollaborationDataLoaderController','UniverIcon','IRenderManagerService','type','size','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformHistoryAndStateStack','ILocalStorageService','_syncEditingCollabCursorService','_docSyncEditingCollabCursorService','makeDirty','indexOf','EffectRefRangId','INVITE_CODE_HAS_BEEN_UES','RefRangeService','_initEntityListener','handleDeleteRangeMoveLeft','collaboration-client-ui.config','getAncestorScale','@univerjs/drawing','COMPLETION_FINISHED','_hideTimer','eventID','DeleteRangeMoveLeftCommandId','_themeService','doc.mutation.rich-text-editing','LOCAL_CACHE_INTERVAL','fill','503385ciLJdq','getTypeOfUnitAdded$','react/jsx-runtime','_renderManagerService','_cursorShapes','replaceDocRanges','CollaborationStatus','_getMergeRange','UniverDocs','InsertRangeMoveRightCommandId','INVITE_CODE_REQUIRED','displayName','lineTo','OffLineSingle','_toggleOnline','SessionStatus','replaceState','_colorIndex','origin','m1Prime','BrowserCollaborationSocketService','_docSkeletonManagerService','CollaborationSocketService','RegularPolygon','TEXT_RANGE_LAYER_INDEX','selection','APPLY_PERMISSION_DENIED','transformIMECache','distinctUntilChanged','next','getColor','saveImage','5204709qWNYIC','apply','_urlService','CollaborationEvent','onMouseMove','getLocalCacheKey','fromEvent','CollaborationController','...','roomMembers$','WebURLService','on-line-single_clip0_910_349','FETCH_MISS','ICommandService','BehaviorSubject','runId','saveOfflineData','enableLocalCache','syncEditingCollabCursor','error','actions','_draw','SOCKET_FAILED_RETRY','_collabSessionService','drawWith','round','LICENSE_EXPORT_SIZE_EXCEEDED','createIdentifier','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','translate(.97)','collabCursorState$','_cachedData','pipe','12694710lZyeMd','toDisposable','prototype','storage','_labelPosition','pluginName','loadOfflineData','connectInjector','_transformService','_anchor','_localStorageService','idSuffix','univer-flex\x20univer-items-center','SetSelectionsOperation','@univerjs-pro/collaboration','removeParam','createInstance','UNAUTHENTICATED','collabStatus.notCollab','merge','on-line-single','forwardRef','complete','_getAnchorBounding','_document','_handleHover','_context','imageSourceType','body','_cursor','_updateLocalCursor','_drawAnchor','_injector','Inject','getStateCache','cursorInfo$','code','add','getActiveRange','getMember','_hovered','/run/','InsertRangeMoveDownCommandId','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','_notificationService','serializeRangeWithSheet','moveTo','setConfig','startRow','rxjs','ISocketService','_configService','entries','debounce','exports','memberID','sessionStatus$','mask','subscribe','_heartbeatTimer','IRemoteInstanceService','_setupSubUnitSync','getCellPositionByOffset','toString','getCurrentUnitForType','OFFLINE','@univerjs/rpc','ILocalCacheService','ENSURE_SNAPSHOT_EXECUTION','propertyIsEnumerable','has','Tooltip','@univerjs/docs-ui','SheetSkeletonManagerService','_logService','fillStyle','AWAITING','_refreshCollabCursors','dispose','collaboration-client.offline-data-not-saved','_initEvent','m2Prime','Shape','clearTimeout','APPLY_NON_SEQUENTIAL_REVISION','_getSaveTimeout','OTHER_CLIENT_EDITING','getFocusedUnit','off-line-single_clip0_910_343','includes','_transformUndoRedoStack','defs','UNIVER_SHEET','_onCursorUpdate','purple300','gold400','createElement','ISnapshotServerService','getMemberID','map','subunit','_updateCollabCursors','univer-offline','_docSkeleton','operators','xlink:href','DocSelectionManagerService','RemoveRowCommandId','textRanges','stringify','handleIRemoveCol','24BuxiYJ','unshift','IUniverInstanceService','urlChange$','startsWith','UniverCollaborationClientPlugin','ONLINE','hide','IURLService','addObjects','UniverEngineFormula','IImageIoService','#FFF','dispose$','tag','UNDEFINED','_createSocketURL','data','_beforeCloseService','docStateChange$','params','collaboration.closeRoom','@univerjs/design','executeCommand','_name','UniverInstanceType','onCommandExecuted','focused$','split','CHANGESET_REVISION_CONFILICT','replace','_assignedColors','getRangePointData','SHEET_VIEWPORT_KEY','onLocalMutation','handleInsertRangeMoveRight','_scheduleClearOtherTimer','getOwnPropertyDescriptor','_updateURLWithCurrentState','Warning','setAlpha','unload','_unitOnClients','sheetID','738104OxRAJy','@univerjs/core','red300','getSheetId','_registerDependencies','function','_id','roomMembers','redoState','CollaborationUIEventId','getRenderById','startColumn','735VsvvkP','createSocket','then','reconnect','addClipboardHook','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_doCreateSocket','transformMutationsWithChangeset','unsubscribe','_color','ILogService','push','_collaborationUIEventService','clipPath','_messageService','Unknown\x20user','name','SetWorksheetActivateCommand','React','@univerjs/sheets-ui','useObservable','_colorAssignService','row','session.will-retry','href','url(#$1','trim','fromEventSubject','IMessageService','registerComponent','bottom','DocSkeletonManagerService','_selfUnitIDs','MoveRangeCommandId','InsertRowCommandId','resize','AWAITING_WITH_PENDING','@univerjs/engine-formula','DependentOn','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_localeService','setItem','_lastPointer','pushState','YUUMI_URL_COL_OUT_OF_RANGE','column','call','MOBILE_HAS_BEEN_BOUND','DisposableCollection','assignAColorForMemberID','collab-text-anchor-','SheetsSelectionsService','@univerjs/docs','url(#on-line-single_clip0_910_349)','exhaustSavingTask','backgroundColor','SheetCollabCursorShape','VIEW_MAIN','location','online','min','_docClipboardService','_session','popstate','DOC_RANGE_TYPE','getCoordByCell','UniverCollaborationClientUIPlugin','InsertColCommandId','@univerjs/ui','_config','univer-online','Disposable','_initStatusListener','_getSheetObject'];_0x4c8e=function(){return _0x3f25dc;};return _0x4c8e();}
|
|
1
|
+
function _0x20c5(_0x3b00df,_0x1e69c8){const _0x5efab4=_0x5efa();return _0x20c5=function(_0x20c56c,_0x1e46c5){_0x20c56c=_0x20c56c-0xfc;let _0x2338e5=_0x5efab4[_0x20c56c];return _0x2338e5;},_0x20c5(_0x3b00df,_0x1e69c8);}function _0x5efa(){const _0x28927e=['IBeforeCloseService','_roomMembers$','addObject','loadUnit','Tools','currentTheme$','font','fill','_name','undoState','react','OTHER_CLIENTS_EDITING','SOCKET_FAILED_RETRY','_backgroundColor','forwardRef','currentSkeleton$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_onRefRangeChange','SYNCED','getCollabEntity$','44702FZAiPu','1005318sQHUBk','offline','PENDING','getUniverSheetInstance','transformMutationsWithChangeset','idSuffix','replace','CollaborationDataLoaderController','setInterval','getItem','onlineStatusTitle','getTypeOfUnitAdded$','SetWorksheetActivateCommand','_entityInit$','translate(.97)','IMessageService','DocStateChangeManagerService','replaceDocRanges','_disabled','eventID','labelPosition','operators','LICENSE_IMPORT_SIZE_EXCEEDED','_getScale','_registerDependencies','UniverRpc','_entities','data','LICENSE_EXPORT_SIZE_EXCEEDED','next','INVALID_INVITE_CODE','@univerjs/engine-formula','DOC_RANGE_TYPE','substring','executionId','AWAITING','UniverDesign','ITransformService','collab-client.tooltip.reconnect','DesktopCollaborationStatusDisplayController','status$','saveOfflineData','DependentOn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getRelativeToViewportCoord','DocCollaborationEntity','_localCacheService','SNAPSHOT_HAS_BEEN_REMOVED','437057jBlajW','has','_colorIndex','assignAColorForMemberID','AWAITING_WITH_PENDING','current','startsWith','_lastPointer','onPointerEnter$','_updateLocalCursor','_initStatusListener','round','body','symbol','_notificationService','onTransformChange$','getAncestorScale','useCallback','random','_getAnchorBounding','startRow','xlink:href','mapTo','Tooltip','unitID','_toggleOffline','DocSelectionManagerService','isArray','_updateURLWithCurrentState','save','dispose$','_transformService','_dataLoaderService','UniverProCollaborationClientUi','_document','unsubscribe','univer-online-status','takeUntil','_collaborationController','JOIN_ROOM_FAILED','amd','clearTimeout','_messageService','loadOfflineData','defineProperty','map','_handleHover','params','useRef','_context','searchParams','handleIRemoveCol','Optional','HTTPService','_saveCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','object','YUUMI_SUBSCRIPTION_NOT_FOUND','/run/','getUnhiddenWorksheets','parse','_handleHeartbeatEvent','UniverInstanceType','UniverSheets','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PY_RUNTIME_SCRIPT_ERROR','React','@univerjs/drawing','...','popstate','COLORS','ISnapshotServerService','extend','url(#$1','_docStateChangeManagerService','Subject','RemoteUniscriptService','_range','ThemeService','collabStatus.fetchMiss','IURLService','IImageIoService','getCurrentSelections','collaboration-client.offline-data-not-saved','getColor','_httpService','UniverSheetsUi','jsx','_textBubble','WebBrowserSingleActiveUnitService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','touchDependencies','invokeId','trim','INVALID_ARGUMENT','init','_updateCollabCursors','getUnitStatus$','children','some','url(#on-line-single_clip0_910_349)','getVpScrollXYInfoByPosToVp','handleInsertRangeMoveRight','endRow','_cursorInfo$','_initStatusComponent','from','SHEET_VIEWPORT_KEY','fillRule','setAlpha','_drawRectRange','EMAIL_HAS_BEEN_BOUND','collaboration.closeRoom','getOffsetConfig','_send','[CollaborationDataLoaderController]','_ensureSubject','UniverCollaborationClientPlugin','_initCommandExecutedListener','_online','text','0\x200\x2017\x2016','_initEntityListener','transformSelections','currentColor','UniverProCollaboration','transformRemoteChangeset','m2Prime','_docTransformSelectionsService','rgba(255,\x20255,\x20255,\x200.01)','Unknown\x20user','measureText','_hideTimer','all','RevisionService','_setupSubUnitSync','registerRefRange','M0\x200H16V16H0z','redoState','_getSessionTicket','MemberService','colorChannel1','collaboration.single-unit.warning','getCurrentRevOfUnit','doc.mutation.rich-text-editing','LOCAL_CACHE_INTERVAL_KEY','beginPath','_memberService','_collabCursorState$','Injector','_configService','subscribe','_draw','setConfig','univer-flex\x20univer-items-center','deserializeRangeWithSheet','addClipboardHook','_createSocketURL','whenReady','name','registerRenderModule','_localeService','7529373aVaeJO','size','WebURLService','UnitStatus','getSheetBySheetId','jsxs','CHANGESET_REVISION_CONFILICT','disposeUnit','on-line-single','#fff','disposeWithMe','ICommandService','APPLY_PERMISSION_DENIED','CollaborationStatus','UniverCollaborationClientUIPlugin','roomMembers','CollaborationSessionService','_setupBeforeClosingHandler','collaboration-client-ui.config','CONFLICT','string','DataLoaderService','saveImage','getActiveSheet','TEXT_RANGE_LAYER_INDEX','_imageIoService','INTERNAL_ERROR','YUUMI_RATE_OVER_LIMIT','_hover','ILogService','DocSkeletonManagerService','getActiveRange','addHandlerCallback','ILocalCacheService','useDependency','range','assign','drawWith','BrowserCollaborationSocketService','Failed','TEXT','_docSyncEditingCollabCursorService','toString','location','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','UniverUi','@univerjs/docs-ui','LocaleService','NodePositionConvertToCursor','getOwnPropertySymbols','collabStatus.syncing','hide','row','_getMergeRange','RxDisposable','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','_scheduleSaving','UniverIcon','apply','syncEditingCollabCursor','column','Module','onCommandExecuted','onPointerLeave$','handleInsertCol','permission.title','0\x200\x2016\x2016','moveTo','HEADER_MENU','getRenderById','key','_initEvent','_beforeCloseService','Disposable','unit','@univerjs/engine-render','INotificationService','merge','min','_drawAnchor','show','UNRECOGNIZED','_color','_localStorageService','_collaborationUIEventService','skeleton','PERMISSION_DENIED','max','transform','_unitOnClients','createIdentifier','setStateCache','SheetCollabCursorShape','restore','getMember','setParam','SetTextSelectionsOperation','COMPLETION_FINISHED','OTHER_CLIENT_EDITING','push','type','48xtopFc','LICENSE_DISTRO_REJECTED','fromEvent','INVITE_CODE_ALREADY_BOUND','_hovered','post','jiqing500','ALREADY_EXISTS','selection','stringify','APPLY_REVISION_CONFILICT','fromEventSubject','startColumn','_refreshCollabCursors','call','369QPvIWB','isEditing','defs','_docTransformIMECacheService','_logService','getOwnPropertyDescriptor','rxjs','WECHAT_HAS_BEEN_BOUND','getCollabCursors$','transformByState','createElement','off-line-single','BehaviorSubject','UniverProCollaborationClient','UniverDocsUi','getMergeData','DeleteRangeMoveLeftCommandId','setUndoRedoMutationParamsCache','APPLY_NON_SEQUENTIAL_REVISION','setItem','univer-online-status-icon','LOCAL_CACHE_INTERVAL','WebSocketService','_docClipboardService','TOO_MANY_REQUESTS','getLocalCacheKey','m1Prime','off-line-single_clip0_910_343','collab-text-anchor-','_injector','clipPath','Shape','CommandType','closePath','backgroundColor','SetDocZoomRatioOperation','purple300','NodePositionConvertToRectRange','indexOf','_updateSubUnitFromURLParams','_collabCursorController','NO_OTHER_CLIENTS_EDITING','Workbook','@univerjs/rpc','engine','attrs','_assignedColors','CollaborationController','IConfigService','CollaborationUIEventService','mergeOverrideWithDependencies','sessionStatus$','UniverDrawing','INVITE_CODE_HAS_BEEN_UES','sessionTicket','transformMutation','unshift','CLOSE_ROOM','_colorAssignService','1em','saveTaskMap','_anchorDot','_renderManagerService','_cursors','_uiPartsService','mutations','getUnitId','evenodd','textRanges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','red300','UPDATE_CURSOR','handleIRemoveRow','cursorInfo$','getConfig','fillStyle','createInstance','getFocusedUnit','ILocalStorageService','newValue','getStateCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','Error','OffLineSingle','RECT','debounce','length','@univerjs/ui','getValue','dispose','sheetID','fillText','setShapeProps','none','triggerDblclick','RegularPolygon','subUnitId','entityInit$','debounceTime','history','UNAUTHENTICATED','permission.content','generateRandomId','IDocClipboardService','requireSession','on-line-single_clip0_910_349','handleDeleteRangeMoveLeft','asObservable','url(#off-line-single_clip0_910_343)','_id','findNodePositionByCharIndex','exhaustSavingTask','handleDeleteRangeMoveUp','handleInsertRangeMoveDown','UniverEngineRender','_docSkeletonManagerService','entries','hovered','_session','event$','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','INVITE_CODE_REQUIRED','_status$','FromArray','#FFF','_onCursorDelete','_cursorShapes','@univerjs-pro/collaboration','getRangePointData','handleMoveRange','set','VIEW_MAIN','getCoordByCell','urlChange$','NOT_COLLAB','ONLINE','enableLocalCache','onlineStatusIcon','_drawTextRange','function','getCurrentUnitForType','cursorInfo','error','setTimeout','_syncEditingCollabCursorService','_handleJoinEvent','getCellPositionByOffset','delete','@univerjs-pro/collaboration-client','_transformHistoryAndStateStack','DisposableCollection','IRemoteInstanceService','IUniverInstanceService','imageSourceType','exports','DEFAULT_WS_SESSION_TICKET_URL','pushState','height','reconnect','makeDirty','onPointerMove$','_render','Rect','818140oUWpny','runOnServer','getParam','path','tag','clearInterval','IUIPartsService','OnLineSingle','SessionStatus','BuiltInUIPart','ACTIVE_UNIT_EVENT_CHANNEL','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','_scene','ranges','mask','arc','_commandService','react/jsx-runtime','isTransformMutationsWithChangesetSuccess','_getSaveTimeout','split','values','_scheduleClearOtherTimer','_urlService','_labelPosition','session.collaboration-timeout','_shapes','_univerInstanceService','rxjs/operators','get','CollaborationUIEventId','UniverEngineFormula','session.will-retry','NOT_FOUND','_cachedData','_handleEvent','univer-online','registerComponent','search','disableLocalCache','InsertRangeMoveRightCommandId','clsx','[RemoteUniscriptService]:\x20no\x20focused\x20unit','send','MessageType','toRgbString','add','replaceState','result','RefRangeService','onlineStatus','Inject','addEventListener','createSocket','filter','subscribeEvent','toDisposable','prototype','_init','switchMap','unload','UniverNetwork','_initDependencies','_scheduleHeartbeat','runId','memberID','activeSheet$','_anchor','_transformUndoRedoStack','_clearOtherTimers','collabCursorState$','serializeRangeWithSheet','ISocketService','Vector2','InsertRowCommandId','lineTo','color','with','_eventUnsubscribe','getSheetId','top','_removeClearOtherTimer','_themeService','isActive','OFFLINE','@univerjs/network','@univerjs/core','origin','docStateChange$','_toggleOnline','SOCKET_FAILED','CollaborationEvent','_unitStatus','UniverDocs','getDocRanges','forEach','executeCommand','UNIVER_DOC','40372nmhGZz','getCurrent','subunit','@univerjs/sheets-ui','USER_NOT_INVITED_CODE','shareReplay','MoveRangeCommandId','_selfUnitIDs','_startDocCollabCursor','useObservable','_collabSessionService','Warning','Plugin','_docTransformStateCacheService','_onCursorUpdate','collab-rect-range-','@univerjs/sheets','div','href','_refRangeService','_getSheetObject','_revisionService','getUndoRedoMutationParamsCache','icon','getMemberID','pipe','3425192PRazWJ','_handleLeaveEvent','width','MUTATION','selections','isTransformMutationFailure','then','unitId','endColumn','debug','_transformPreviousActiveRange','getTypeOfUnitDisposed$','UNIVER_SHEET','onLocalMutation','_config','deepClone','roomMembers$','_saveTaskMap','_sheetSkeletonManagerService','contains','concat','defIds','ENSURE_SNAPSHOT_EXECUTION','@univerjs/docs','USERS_LEAVE','getViewport','univerjs-icon\x20univerjs-icon-','black','LOGIN_FAILED','_heartbeatTimer','MOBILE_HAS_BEEN_BOUND','wsSessionTicketUrl','RichTextEditingMutation','updateOfflineData','displayName','CollaborationSocketService','SNAPSHOT_INVALID_SNAPSHOT','getSkeleton','_initResize','transformStateCache','RemoveRowCommandId','complete','session.connection-failed','LICENSE_MAX_UNITS_EXCEEDED','bottom','EffectRefRangId'];_0x5efa=function(){return _0x28927e;};return _0x5efa();}(function(_0x263a27,_0x50700a){const _0x2f93bc=_0x20c5,_0x57f89d=_0x263a27();while(!![]){try{const _0x177f27=parseInt(_0x2f93bc(0x2ee))/0x1+parseInt(_0x2f93bc(0x2be))/0x2+-parseInt(_0x2f93bc(0x15c))/0x3*(-parseInt(_0x2f93bc(0x261))/0x4)+-parseInt(_0x2f93bc(0x1ff))/0x5+-parseInt(_0x2f93bc(0x14d))/0x6*(-parseInt(_0x2f93bc(0x2bd))/0x7)+-parseInt(_0x2f93bc(0x27b))/0x8+-parseInt(_0x2f93bc(0x391))/0x9;if(_0x177f27===_0x50700a)break;else _0x57f89d['push'](_0x57f89d['shift']());}catch(_0x18c721){_0x57f89d['push'](_0x57f89d['shift']());}}}(_0x5efa,0xc441d),function(_0x573930,_0x45afc5){const _0x32688c=_0x20c5;typeof exports==_0x32688c(0x326)&&typeof module<'u'?_0x45afc5(exports,require(_0x32688c(0x1f0)),require(_0x32688c(0x255)),require('@univerjs/engine-render'),require(_0x32688c(0x254)),require('@univerjs/docs-ui'),require(_0x32688c(0x332)),require(_0x32688c(0x162)),require(_0x32688c(0x292)),require(_0x32688c(0x1db)),require(_0x32688c(0x2dd)),require('@univerjs/sheets'),require(_0x32688c(0x21b)),require('@univerjs/sheets-ui'),require(_0x32688c(0x210)),require(_0x32688c(0x1b3)),require('@univerjs/design'),require(_0x32688c(0x2b3)),require(_0x32688c(0x187))):typeof define==_0x32688c(0x1e7)&&define[_0x32688c(0x316)]?define([_0x32688c(0x1f6),_0x32688c(0x1f0),_0x32688c(0x255),_0x32688c(0x133),_0x32688c(0x254),_0x32688c(0x115),_0x32688c(0x332),'rxjs',_0x32688c(0x292),_0x32688c(0x1db),_0x32688c(0x2dd),_0x32688c(0x271),_0x32688c(0x21b),_0x32688c(0x264),_0x32688c(0x210),'@univerjs/ui','@univerjs/design','react',_0x32688c(0x187)],_0x45afc5):(_0x573930=typeof globalThis<'u'?globalThis:_0x573930||self,_0x45afc5(_0x573930[_0x32688c(0x30f)]={},_0x573930[_0x32688c(0x169)],_0x573930['UniverCore'],_0x573930[_0x32688c(0x1ce)],_0x573930[_0x32688c(0x23c)],_0x573930[_0x32688c(0x16a)],_0x573930[_0x32688c(0x190)],_0x573930['rxjs'],_0x573930[_0x32688c(0x25c)],_0x573930[_0x32688c(0x36c)],_0x573930[_0x32688c(0x21e)],_0x573930[_0x32688c(0x32d)],_0x573930['rxjs'][_0x32688c(0x2d3)],_0x573930[_0x32688c(0x345)],_0x573930[_0x32688c(0x331)],_0x573930[_0x32688c(0x114)],_0x573930[_0x32688c(0x2e2)],_0x573930[_0x32688c(0x331)],_0x573930[_0x32688c(0x2d7)]));}(this,function(_0x4c4d8e,_0x507455,_0x484b3d,_0x412407,_0x33e3b2,_0x2a9f8e,_0x15b5d9,_0x5de359,_0x2c7644,_0x3261fa,_0x2b3072,_0x27284b,_0x34fa3f,_0x4c3dad,_0x31d457,_0x167a32,_0x58aec8,_0x4d98c7,_0x26bc00){'use strict';const _0x51ae4f=_0x20c5;var _0x25cd41=Object[_0x51ae4f(0x31a)],_0x406cf9=(_0x204172,_0x5287a6,_0x76c14f)=>_0x5287a6 in _0x204172?_0x25cd41(_0x204172,_0x5287a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x76c14f}):_0x204172[_0x5287a6]=_0x76c14f,_0x165e61=(_0x1843bd,_0x4eab76,_0x1d22b8)=>_0x406cf9(_0x1843bd,typeof _0x4eab76!=_0x51ae4f(0x2fb)?_0x4eab76+'':_0x4eab76,_0x1d22b8),_0x5aa767=Object[_0x51ae4f(0x161)],_0x11c7e0=(_0x4ae558,_0x37133d,_0x169178,_0x26d2b1)=>{const _0x54b057=_0x51ae4f;for(var _0x260db3=_0x26d2b1>0x1?void 0x0:_0x26d2b1?_0x5aa767(_0x37133d,_0x169178):_0x37133d,_0x4eab80=_0x4ae558[_0x54b057(0x1b2)]-0x1,_0x2cf588;_0x4eab80>=0x0;_0x4eab80--)(_0x2cf588=_0x4ae558[_0x4eab80])&&(_0x260db3=_0x2cf588(_0x260db3)||_0x260db3);return _0x260db3;},_0x2bb10b=(_0x39db85,_0x2f382f)=>(_0x1cbda2,_0xb47d8a)=>_0x2f382f(_0x1cbda2,_0xb47d8a,_0x39db85);let _0x288b9e=class extends _0x484b3d['RxDisposable']{constructor(_0x3fb02a,_0x4424bc){const _0x3236fd=_0x51ae4f;super(),this['_docClipboardService']=_0x3fb02a,this[_0x3236fd(0xff)]=_0x4424bc,this[_0x3236fd(0x239)]();}['_init'](){const _0x3661aa=_0x51ae4f,_0x241902=this;this[_0x3661aa(0x39b)](this[_0x3661aa(0x173)][_0x3661aa(0x38b)]({'onBeforePasteImage':async _0x3612aa=>{const _0x4f01b6=_0x3661aa,_0x270bac=await _0x241902[_0x4f01b6(0xff)][_0x4f01b6(0xfc)](_0x3612aa);return _0x270bac?{'source':_0x270bac['source'],'imageSourceType':_0x270bac[_0x4f01b6(0x1f5)]}:null;}}));}};_0x288b9e=_0x11c7e0([_0x2bb10b(0x0,_0x2a9f8e[_0x51ae4f(0x1c3)]),_0x2bb10b(0x1,_0x15b5d9[_0x51ae4f(0x340)])],_0x288b9e);const _0x37d3a3=[_0x51ae4f(0x180),_0x51ae4f(0x153),'verdancy600',_0x51ae4f(0x1a2),'blue400','gold400'];class _0x4e9cad extends _0x484b3d['Disposable']{constructor(){super(...arguments),_0x165e61(this,'_assignedColors',new Map()),_0x165e61(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x28701d){const _0xdedc6d=_0x51ae4f;if(this[_0xdedc6d(0x18a)]['has'](_0x28701d))return this[_0xdedc6d(0x18a)][_0xdedc6d(0x21c)](_0x28701d);const _0x2a66be=_0x37d3a3[this[_0xdedc6d(0x2f0)]];return this[_0xdedc6d(0x2f0)]=(this[_0xdedc6d(0x2f0)]+0x1)%_0x37d3a3[_0xdedc6d(0x1b2)],this[_0xdedc6d(0x18a)][_0xdedc6d(0x1de)](_0x28701d,_0x2a66be),_0x2a66be;}}function _0x315206(_0xec5645){const _0x490931=_0x51ae4f;let _0x197a07='';for(const _0xf04bea of _0xec5645){const {startOffset:_0x46e393,endOffset:_0x10f2c2,isActive:_0x2dcc32,rangeType:_0x3b6b50,segmentId:_0x4ff9de,segmentPage:_0x1e55d0}=_0xf04bea;_0x197a07[_0x490931(0x1b2)]&&(_0x197a07+=','),_0x197a07+=_0x46e393+':'+_0x10f2c2+':'+(_0x2dcc32?'1':'0')+':'+_0x3b6b50+':'+_0x4ff9de+':'+_0x1e55d0;}return _0x197a07;}function _0x1718a3(_0x4f0d4c){const _0xd5e616=_0x51ae4f,_0x4bf83e=_0x4f0d4c[_0xd5e616(0x213)](','),_0x5256a3=[];for(const _0x4addb4 of _0x4bf83e){const [_0x332807,_0xac0b00,_0x30b713,_0x2792a7,_0x248a56,_0x8ff500]=_0x4addb4['split'](':');_0x5256a3[_0xd5e616(0x14b)]({'startOffset':Number(_0x332807),'endOffset':Number(_0xac0b00),'collapsed':_0x332807===_0xac0b00,'isActive':_0x30b713==='1','rangeType':_0x2792a7===_0x484b3d[_0xd5e616(0x2de)]['TEXT']?_0x484b3d[_0xd5e616(0x2de)][_0xd5e616(0x10e)]:_0x484b3d[_0xd5e616(0x2de)][_0xd5e616(0x1b0)],'segmentId':typeof _0x248a56==_0xd5e616(0x3a5)?String(_0x248a56):'','segmentPage':Number(_0x8ff500!=null?_0x8ff500:-0x1)});}return _0x5256a3[_0xd5e616(0x352)](_0xbe9960=>_0xbe9960[_0xd5e616(0x252)])||(_0x5256a3[0x0][_0xd5e616(0x252)]=!0x0),_0x5256a3;}class _0x161a90 extends _0x484b3d[_0x51ae4f(0x11d)]{constructor(){const _0x403c15=_0x51ae4f;super(...arguments),_0x165e61(this,'_collabCursorState$',new _0x5de359['BehaviorSubject'](null)),_0x165e61(this,'collabCursorState$',this[_0x403c15(0x383)][_0x403c15(0x1c7)]());}[_0x51ae4f(0x123)](_0x539976){const _0x10e205=_0x51ae4f,{unitID:_0x106961,memberID:_0xa3e82b,textRanges:_0x4be275}=_0x539976,_0x319fd9=_0x315206(_0x4be275);if(_0x319fd9==='')return;const _0x286345={'unitID':_0x106961,'memberID':_0xa3e82b,'selection':_0x319fd9};this[_0x10e205(0x383)]['next'](_0x286345);}}var _0x76f91f=Object[_0x51ae4f(0x161)],_0x38671c=(_0x195837,_0x562bd4,_0xf0216a,_0x318e6a)=>{for(var _0x44a741=_0x318e6a>0x1?void 0x0:_0x318e6a?_0x76f91f(_0x562bd4,_0xf0216a):_0x562bd4,_0x285ad5=_0x195837['length']-0x1,_0x498cb3;_0x285ad5>=0x0;_0x285ad5--)(_0x498cb3=_0x195837[_0x285ad5])&&(_0x44a741=_0x498cb3(_0x44a741)||_0x44a741);return _0x44a741;},_0x5d9962=(_0x41379a,_0x1c2dee)=>(_0x170558,_0x1c0226)=>_0x1c2dee(_0x170558,_0x1c0226,_0x41379a);const _0x238bca=0x12c,_0xfcfdfe=0x64;let _0x4fdbe9=class extends _0x484b3d['RxDisposable']{constructor(_0x5e9e1a,_0x218a85,_0x19b346,_0x72b6e8,_0x3c07de,_0x564b62,_0x1c69e4,_0x16236c,_0x5f303b){const _0x389fc6=_0x51ae4f;super(),_0x165e61(this,_0x389fc6(0x366),!0x1),_0x165e61(this,_0x389fc6(0x239),!0x1),_0x165e61(this,_0x389fc6(0x357),new _0x5de359['BehaviorSubject'](new Map())),_0x165e61(this,'cursorInfo$',this[_0x389fc6(0x357)][_0x389fc6(0x1c7)]()),_0x165e61(this,_0x389fc6(0x2aa),new _0x5de359[(_0x389fc6(0x168))]([])),_0x165e61(this,_0x389fc6(0x28b),this[_0x389fc6(0x2aa)][_0x389fc6(0x27a)](_0x5de359['debounceTime'](_0x238bca))),_0x165e61(this,'_updateLocalCursor',_0x484b3d[_0x389fc6(0x1b1)](_0x2dac28=>{const _0x237179=_0x389fc6,_0x2e92ba={'eventID':_0x3261fa[_0x237179(0x25a)][_0x237179(0x1a3)],'data':{'unitID':this[_0x237179(0x306)],'memberID':this['_session'][_0x237179(0x279)](),'selection':_0x315206(_0x2dac28)}};this['_session'][_0x237179(0x22a)](_0x2e92ba,this[_0x237179(0x306)]);},_0xfcfdfe)),(this[_0x389fc6(0x306)]=_0x5e9e1a,this[_0x389fc6(0x1d2)]=_0x218a85,this['_injector']=_0x19b346,this[_0x389fc6(0x196)]=_0x72b6e8,this[_0x389fc6(0x382)]=_0x3c07de,this[_0x389fc6(0x1ec)]=_0x564b62,this[_0x389fc6(0x30d)]=_0x1c69e4,this[_0x389fc6(0x21a)]=_0x16236c,this[_0x389fc6(0x20f)]=_0x5f303b);}get[_0x51ae4f(0x1e9)](){const _0x2a439f=_0x51ae4f;return this['_cursorInfo$'][_0x2a439f(0x1b4)]();}get[_0x51ae4f(0x3a0)](){const _0x318651=_0x51ae4f;return this[_0x318651(0x2aa)][_0x318651(0x1b4)]();}[_0x51ae4f(0x1b5)](){const _0x1fc050=_0x51ae4f;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x1fc050(0x357)]['complete'](),this[_0x1fc050(0x2aa)][_0x1fc050(0x2db)]([]),this[_0x1fc050(0x2aa)][_0x1fc050(0x2a4)]();}[_0x51ae4f(0x34e)](){const _0x6fe5bf=_0x51ae4f;this[_0x6fe5bf(0x239)]||(this[_0x6fe5bf(0x239)]=!0x0,this[_0x6fe5bf(0x1d2)][_0x6fe5bf(0x18f)][_0x6fe5bf(0x27a)](_0x5de359[_0x6fe5bf(0x313)](this[_0x6fe5bf(0x30c)]))['subscribe'](_0x5057e8=>{const _0x3a4ff9=_0x6fe5bf;_0x5057e8===_0x507455[_0x3a4ff9(0x207)]['ONLINE']?this[_0x3a4ff9(0x258)]():this[_0x3a4ff9(0x307)]();}),this['_session'][_0x6fe5bf(0x1d3)][_0x6fe5bf(0x27a)](_0x5de359[_0x6fe5bf(0x313)](this[_0x6fe5bf(0x30c)]))[_0x6fe5bf(0x386)](_0x314585=>{const _0x3feb65=_0x6fe5bf,_0x122428=_0x314585[_0x3feb65(0x2d1)];_0x122428===_0x3261fa[_0x3feb65(0x25a)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x314585),_0x122428===_0x3261fa[_0x3feb65(0x25a)][_0x3feb65(0x293)]&&this['_onCursorDelete'](_0x314585);}),this[_0x6fe5bf(0x39b)](this['_commandService'][_0x6fe5bf(0x126)](_0x1136cd=>{const _0x243485=_0x6fe5bf,_0x55d088=_0x1136cd['params'];_0x55d088!=null&&this[_0x243485(0x366)]&&_0x1136cd['id']===_0x2c7644[_0x243485(0x148)]['id']&&_0x55d088[_0x243485(0x282)]===this[_0x243485(0x306)]&&_0x55d088[_0x243485(0x15d)]===!0x1&&_0x55d088[_0x243485(0x20c)][_0x243485(0x1b2)]>0x0&&this[_0x243485(0x2f7)](_0x55d088[_0x243485(0x20c)]);})),this[_0x6fe5bf(0x1ec)][_0x6fe5bf(0x245)][_0x6fe5bf(0x27a)](_0x5de359['takeUntil'](this['dispose$']))[_0x6fe5bf(0x386)](_0x2586ce=>{const _0x2aca81=_0x6fe5bf;if((_0x2586ce==null?void 0x0:_0x2586ce[_0x2aca81(0x306)])!==this['unitID'])return;const _0x43f593={'eventID':_0x3261fa[_0x2aca81(0x25a)][_0x2aca81(0x1a3)],'data':_0x2586ce};this['_onCursorUpdate'](_0x43f593);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5efbab=>{const _0x15e4f4=_0x6fe5bf;if(_0x5efbab['params']==null)return;const _0x19848b=_0x5efbab[_0x15e4f4(0x31d)];if(_0x5efbab['id']!==_0x2c7644[_0x15e4f4(0x29b)]['id']||_0x19848b[_0x15e4f4(0x282)]!==this[_0x15e4f4(0x306)])return;const _0x390987={'id':_0x15e4f4(0x37f),'params':_0x19848b},_0x437a95=this[_0x15e4f4(0x1e9)];for(const [_0x2cc20f,_0x58b017]of _0x437a95){const _0x47b0a6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15e4f4(0x306)],'actions':null,'textRanges':_0x58b017[_0x15e4f4(0x20c)]}},_0x3e9124=this[_0x15e4f4(0x30d)]['transformMutation'](_0x390987,_0x47b0a6,!0x1);if(_0x3261fa[_0x15e4f4(0x280)](_0x3e9124))throw _0x3e9124[_0x15e4f4(0x1ea)];_0x437a95['set'](_0x2cc20f,{..._0x58b017,'ranges':_0x3e9124[_0x15e4f4(0x36e)][_0x15e4f4(0x31d)]['textRanges']});}queueMicrotask(()=>{const _0x2e9d63=_0x15e4f4;this['_cursorInfo$'][_0x2e9d63(0x2db)](_0x437a95);});})));}[_0x51ae4f(0x26f)](_0x2fb77e){const _0x2f4a83=_0x51ae4f;var _0x593994,_0xda5d0;const {memberID:_0x25e4d1,selection:_0x356a92}=_0x2fb77e['data'],_0x277c22=_0x1718a3(_0x356a92),_0x4364dd=(_0xda5d0=(_0x593994=this[_0x2f4a83(0x382)][_0x2f4a83(0x146)](this[_0x2f4a83(0x306)],_0x25e4d1))==null?void 0x0:_0x593994[_0x2f4a83(0x38e)])!=null?_0xda5d0:_0x2f4a83(0x371),_0x26ffb2={'color':this[_0x2f4a83(0x196)][_0x2f4a83(0x2f1)](_0x25e4d1),'name':_0x4364dd,'ranges':_0x277c22},_0xfabf3c=this[_0x2f4a83(0x1e9)];_0xfabf3c[_0x2f4a83(0x1de)](_0x25e4d1,_0x26ffb2),this['_cursorInfo$'][_0x2f4a83(0x2db)](_0xfabf3c);}[_0x51ae4f(0x1d9)](_0x2a6c74){const _0x3a5ae7=_0x51ae4f,{memberID:_0xb4916c}=_0x2a6c74[_0x3a5ae7(0x2d9)],_0x5bfeab=this[_0x3a5ae7(0x1e9)];_0x5bfeab[_0x3a5ae7(0x1ef)](_0xb4916c),this[_0x3a5ae7(0x357)][_0x3a5ae7(0x2db)](_0x5bfeab);}[_0x51ae4f(0x258)](){const _0x46c8c3=_0x51ae4f;var _0x387fed;if(this[_0x46c8c3(0x366)]=!0x0,((_0x387fed=this[_0x46c8c3(0x21a)][_0x46c8c3(0x1a9)]())==null?void 0x0:_0x387fed[_0x46c8c3(0x19e)]())!==this['unitID'])return;const _0x17eed4=this['_injector'][_0x46c8c3(0x21c)](_0x2c7644[_0x46c8c3(0x308)])[_0x46c8c3(0x25d)]();Array[_0x46c8c3(0x309)](_0x17eed4)&&_0x17eed4['length']>0x0&&this[_0x46c8c3(0x2f7)](_0x17eed4);}['_toggleOffline'](){this['_online']=!0x1;}};_0x4fdbe9=_0x38671c([_0x5d9962(0x2,_0x484b3d['Inject'](_0x484b3d[_0x51ae4f(0x384)])),_0x5d9962(0x3,_0x484b3d[_0x51ae4f(0x232)](_0x4e9cad)),_0x5d9962(0x4,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x37b)])),_0x5d9962(0x5,_0x484b3d[_0x51ae4f(0x232)](_0x161a90)),_0x5d9962(0x6,_0x3261fa[_0x51ae4f(0x2e3)]),_0x5d9962(0x7,_0x484b3d[_0x51ae4f(0x1f4)]),_0x5d9962(0x8,_0x484b3d[_0x51ae4f(0x39c)])],_0x4fdbe9);var _0x35be17=Object[_0x51ae4f(0x161)],_0xfe2e6=(_0x2d5b00,_0x35d906,_0xf7a4e2,_0x103c8b)=>{const _0x4cc7d9=_0x51ae4f;for(var _0xeed601=_0x103c8b>0x1?void 0x0:_0x103c8b?_0x35be17(_0x35d906,_0xf7a4e2):_0x35d906,_0x7446bd=_0x2d5b00[_0x4cc7d9(0x1b2)]-0x1,_0xf3ba1e;_0x7446bd>=0x0;_0x7446bd--)(_0xf3ba1e=_0x2d5b00[_0x7446bd])&&(_0xeed601=_0xf3ba1e(_0xeed601)||_0xeed601);return _0xeed601;},_0x2103d1=(_0x883bf5,_0x51a0d8)=>(_0x54ea0b,_0x31d04f)=>_0x51a0d8(_0x54ea0b,_0x31d04f,_0x883bf5);const _0x3da38c=0x12c,_0x3f918c=0x64,_0x238813=()=>{let _0x1c6f1f=[],_0x4d5d71=!0x1;return _0x5d1edd=>{_0x1c6f1f['push'](_0x5d1edd),_0x4d5d71||(_0x4d5d71=!0x0,setTimeout(()=>{const _0x4acf8a=_0x20c5;_0x1c6f1f[_0x4acf8a(0x25e)](_0x1c373d=>_0x1c373d()),_0x1c6f1f=[],_0x4d5d71=!0x1;}));};};let _0x3dca66=class extends _0x484b3d['RxDisposable']{constructor(_0x258250,_0x5d4d9b,_0x115bd4,_0x2b94b6,_0x573264,_0x147243,_0x3d6103,_0x3be50c){const _0x4e04cf=_0x51ae4f;super(),_0x165e61(this,'_online',!0x1),_0x165e61(this,_0x4e04cf(0x239),!0x1),_0x165e61(this,_0x4e04cf(0x357),new _0x5de359[(_0x4e04cf(0x168))](new Map())),_0x165e61(this,'cursorInfo$',this[_0x4e04cf(0x357)][_0x4e04cf(0x1c7)]()),_0x165e61(this,_0x4e04cf(0x2aa),new _0x5de359[(_0x4e04cf(0x168))]([])),_0x165e61(this,_0x4e04cf(0x28b),this['_roomMembers$'][_0x4e04cf(0x27a)](_0x5de359[_0x4e04cf(0x1be)](_0x3da38c))),_0x165e61(this,'_updateLocalCursor',_0x484b3d[_0x4e04cf(0x1b1)]((_0x344fde,_0x571e72)=>{const _0x4f7773=_0x4e04cf,_0x584e97={'eventID':_0x3261fa[_0x4f7773(0x25a)][_0x4f7773(0x1a3)],'data':{'unitID':this[_0x4f7773(0x306)],'memberID':this[_0x4f7773(0x1d2)][_0x4f7773(0x279)](),'selection':_0x2b3072[_0x4f7773(0x246)](_0x344fde,_0x571e72[_0x4f7773(0x109)])}};this[_0x4f7773(0x1d2)]['send'](_0x584e97,this['unitID']);},_0x3f918c)),(this[_0x4e04cf(0x306)]=_0x258250,this['_session']=_0x5d4d9b,this[_0x4e04cf(0x179)]=_0x115bd4,this['_colorAssignService']=_0x2b94b6,this['_memberService']=_0x573264,this[_0x4e04cf(0x21a)]=_0x147243,this[_0x4e04cf(0x20f)]=_0x3d6103,this['_refRangeService']=_0x3be50c);}get[_0x51ae4f(0x1e9)](){const _0x27cbe3=_0x51ae4f;return this[_0x27cbe3(0x357)]['getValue']();}get[_0x51ae4f(0x3a0)](){const _0x538629=_0x51ae4f;return this[_0x538629(0x2aa)][_0x538629(0x1b4)]();}[_0x51ae4f(0x1b5)](){const _0x2b4a6c=_0x51ae4f;super[_0x2b4a6c(0x1b5)](),this[_0x2b4a6c(0x357)]['next'](new Map()),this[_0x2b4a6c(0x357)][_0x2b4a6c(0x2a4)](),this['_roomMembers$']['next']([]),this[_0x2b4a6c(0x2aa)][_0x2b4a6c(0x2a4)]();}[_0x51ae4f(0x34e)](){const _0x5dbe19=_0x51ae4f;this['_init']||(this[_0x5dbe19(0x239)]=!0x0,this[_0x5dbe19(0x1d2)][_0x5dbe19(0x18f)][_0x5dbe19(0x27a)](_0x5de359[_0x5dbe19(0x313)](this['dispose$']))[_0x5dbe19(0x386)](_0x221388=>{const _0x354c96=_0x5dbe19;_0x221388===_0x507455['SessionStatus'][_0x354c96(0x1e3)]?this[_0x354c96(0x258)]():this['_toggleOffline']();}),this['_session'][_0x5dbe19(0x1d3)]['pipe'](_0x5de359[_0x5dbe19(0x313)](this[_0x5dbe19(0x30c)]))[_0x5dbe19(0x386)](_0x4037ab=>{const _0x1ee5e9=_0x5dbe19,_0x23b67a=_0x4037ab[_0x1ee5e9(0x2d1)];_0x23b67a===_0x3261fa[_0x1ee5e9(0x25a)][_0x1ee5e9(0x1a3)]&&this[_0x1ee5e9(0x26f)](_0x4037ab),_0x23b67a===_0x3261fa[_0x1ee5e9(0x25a)][_0x1ee5e9(0x293)]&&this[_0x1ee5e9(0x1d9)](_0x4037ab);}),this['_onRefRangeChange'](),this[_0x5dbe19(0x39b)](this[_0x5dbe19(0x20f)][_0x5dbe19(0x126)](_0x571479=>{const _0x2126bb=_0x5dbe19;if(this['_online']&&_0x571479['id']===_0x27284b['SetSelectionsOperation']['id']&&_0x571479['params'][_0x2126bb(0x282)]===this[_0x2126bb(0x306)]){const _0x49c41b=_0x571479[_0x2126bb(0x31d)];this[_0x2126bb(0x2f7)](_0x49c41b[_0x2126bb(0x1bc)],_0x49c41b[_0x2126bb(0x27f)][0x0]);}})));}[_0x51ae4f(0x26f)](_0x19de76){const _0x59d655=_0x51ae4f;var _0x53a528,_0xb1843c;const {memberID:_0x3cf53e,selection:_0x55a837}=_0x19de76['data'],{sheetName:_0x3e954d,range:_0x347509}=_0x2b3072[_0x59d655(0x38a)](_0x55a837),_0x8f2bb1={'name':(_0xb1843c=(_0x53a528=this[_0x59d655(0x382)]['getMember'](this[_0x59d655(0x306)],_0x3cf53e))==null?void 0x0:_0x53a528[_0x59d655(0x38e)])!=null?_0xb1843c:_0x59d655(0x371),'range':this[_0x59d655(0x11c)](_0x3e954d,_0x347509),'sheetID':_0x3e954d,'color':this[_0x59d655(0x196)][_0x59d655(0x2f1)](_0x3cf53e),'selection':_0x55a837},_0x4e8d50=this[_0x59d655(0x1e9)];_0x4e8d50[_0x59d655(0x1de)](_0x3cf53e,_0x8f2bb1),this[_0x59d655(0x357)][_0x59d655(0x2db)](_0x4e8d50);}['_onCursorDelete'](_0x20dcf5){const _0x2efbcc=_0x51ae4f,{memberID:_0x577b3c}=_0x20dcf5[_0x2efbcc(0x2d9)],_0x3f834a=this[_0x2efbcc(0x1e9)];_0x3f834a[_0x2efbcc(0x1ef)](_0x577b3c),this[_0x2efbcc(0x357)]['next'](_0x3f834a);}['_getMergeRange'](_0x3ec659,_0x2d20bc){const _0x70d3a4=_0x51ae4f;var _0xeda15e,_0x4c39db;const _0x4361d0=(_0x4c39db=(_0xeda15e=this[_0x70d3a4(0x21a)][_0x70d3a4(0x2c1)](this[_0x70d3a4(0x306)]))==null?void 0x0:_0xeda15e[_0x70d3a4(0x395)](_0x3ec659))==null?void 0x0:_0x4c39db[_0x70d3a4(0x16b)]();return(_0x4361d0==null?void 0x0:_0x4361d0['find'](_0x57cecb=>_0x484b3d['Rectangle'][_0x70d3a4(0x28e)](_0x57cecb,_0x2d20bc)))||_0x2d20bc;}[_0x51ae4f(0x2ba)](){const _0x1f5330=_0x51ae4f,_0x1be043=new _0x484b3d[(_0x1f5330(0x1f2))](),_0x84549a=_0x238813(),_0x2ab5da=()=>{const _0x6ee20b=_0x1f5330;_0x1be043[_0x6ee20b(0x1b5)]();const _0x34e0ba=(_0x3f5396,_0x19d6e9,_0x536774,_0x3423b5)=>{const _0x46e823=_0x6ee20b;let _0x57adde=[];switch(_0x3f5396['id']){case _0x27284b[_0x46e823(0x2a8)][_0x46e823(0x16c)]:{_0x57adde=_0x27284b[_0x46e823(0x1c6)](_0x3f5396,_0x3423b5);break;}case _0x27284b['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x57adde=_0x27284b[_0x46e823(0x1cc)](_0x3f5396,_0x3423b5);break;}case _0x27284b[_0x46e823(0x2a8)]['InsertColCommandId']:{_0x57adde=_0x27284b[_0x46e823(0x128)](_0x3f5396,_0x3423b5);break;}case _0x27284b[_0x46e823(0x2a8)]['InsertRangeMoveDownCommandId']:{_0x57adde=_0x27284b[_0x46e823(0x1cd)](_0x3f5396,_0x3423b5);break;}case _0x27284b['EffectRefRangId'][_0x46e823(0x227)]:{_0x57adde=_0x27284b[_0x46e823(0x355)](_0x3f5396,_0x3423b5);break;}case _0x27284b['EffectRefRangId'][_0x46e823(0x249)]:{_0x57adde=_0x27284b['handleInsertRow'](_0x3f5396,_0x3423b5);break;}case _0x27284b[_0x46e823(0x2a8)][_0x46e823(0x267)]:{_0x57adde=_0x27284b[_0x46e823(0x1dd)](_0x3f5396,_0x3423b5);break;}case _0x27284b[_0x46e823(0x2a8)]['RemoveColCommandId']:{_0x57adde=_0x27284b[_0x46e823(0x321)](_0x3f5396,_0x3423b5);break;}case _0x27284b['EffectRefRangId'][_0x46e823(0x2a3)]:{_0x57adde=_0x27284b[_0x46e823(0x1a4)](_0x3f5396,_0x3423b5);break;}}const _0x387dc8=_0x27284b['runRefRangeMutations'](_0x57adde,_0x3423b5),_0x4a23db=this[_0x46e823(0x1e9)]['get'](_0x19d6e9);if(_0x4a23db&&_0x387dc8){const _0x43fdb5={..._0x4a23db,'range':_0x387dc8};this[_0x46e823(0x1e9)][_0x46e823(0x1de)](_0x19d6e9,_0x43fdb5),_0x84549a(()=>{const _0x37a6e0=_0x46e823,_0x5a260b=this[_0x37a6e0(0x274)][_0x37a6e0(0x377)](_0x387dc8,_0x400c89=>(_0x5a260b[_0x37a6e0(0x1b5)](),_0x34e0ba(_0x400c89,_0x19d6e9,_0x536774,_0x387dc8)));_0x1be043[_0x37a6e0(0x22d)](_0x5a260b);});}return{'redos':[],'undos':[]};};this[_0x6ee20b(0x1e9)][_0x6ee20b(0x25e)]((_0x2c1987,_0x1dd8a1)=>{const _0x46b5c1=_0x6ee20b,{range:_0x392b8a,sheetID:_0x541491}=_0x2c1987,_0x6b472f=this[_0x46b5c1(0x274)]['registerRefRange'](_0x392b8a,_0x5eaeaa=>(_0x6b472f[_0x46b5c1(0x1b5)](),_0x34e0ba(_0x5eaeaa,_0x1dd8a1,_0x541491,_0x392b8a)));_0x1be043[_0x46b5c1(0x22d)](_0x6b472f);});};this[_0x1f5330(0x39b)](_0x484b3d[_0x1f5330(0x237)](this[_0x1f5330(0x357)][_0x1f5330(0x386)](()=>{_0x2ab5da();})));}[_0x51ae4f(0x258)](){const _0x414632=_0x51ae4f;var _0x4fa15f,_0x2c4e69;if(this[_0x414632(0x366)]=!0x0,((_0x4fa15f=this[_0x414632(0x21a)]['getFocusedUnit']())==null?void 0x0:_0x4fa15f[_0x414632(0x19e)]())!==this[_0x414632(0x306)])return;const _0x38b619=(_0x2c4e69=this[_0x414632(0x179)][_0x414632(0x21c)](_0x27284b['SheetsSelectionsService'])[_0x414632(0x341)]())==null?void 0x0:_0x2c4e69[0x0],_0x5cd3c0=this['_univerInstanceService'][_0x414632(0x1e8)](_0x484b3d[_0x414632(0x32c)][_0x414632(0x287)])[_0x414632(0xfd)]();_0x38b619&&_0x5cd3c0&&this[_0x414632(0x2f7)](_0x5cd3c0[_0x414632(0x24e)](),_0x38b619);}['_toggleOffline'](){const _0xe0f1db=_0x51ae4f;this[_0xe0f1db(0x366)]=!0x1;}};_0x3dca66=_0xfe2e6([_0x2103d1(0x2,_0x484b3d['Inject'](_0x484b3d[_0x51ae4f(0x384)])),_0x2103d1(0x3,_0x484b3d['Inject'](_0x4e9cad)),_0x2103d1(0x4,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x37b)])),_0x2103d1(0x5,_0x484b3d[_0x51ae4f(0x1f4)]),_0x2103d1(0x6,_0x484b3d[_0x51ae4f(0x39c)]),_0x2103d1(0x7,_0x484b3d['Inject'](_0x27284b[_0x51ae4f(0x230)]))],_0x3dca66);var _0x3e0bdd=Object['getOwnPropertyDescriptor'],_0x17f618=(_0x250c6a,_0x39b881,_0x4f4223,_0x5ae0cc)=>{const _0x11453b=_0x51ae4f;for(var _0x42f041=_0x5ae0cc>0x1?void 0x0:_0x5ae0cc?_0x3e0bdd(_0x39b881,_0x4f4223):_0x39b881,_0x5c4b8d=_0x250c6a[_0x11453b(0x1b2)]-0x1,_0x81b2c1;_0x5c4b8d>=0x0;_0x5c4b8d--)(_0x81b2c1=_0x250c6a[_0x5c4b8d])&&(_0x42f041=_0x81b2c1(_0x42f041)||_0x42f041);return _0x42f041;},_0x55f58a=(_0x310f08,_0x229143)=>(_0x51f7f1,_0xdec5a3)=>_0x229143(_0x51f7f1,_0xdec5a3,_0x310f08);let _0x3f3686=class extends _0x484b3d['RxDisposable']{constructor(_0x284245,_0xfe1954,_0x372cfa){const _0xbed946=_0x51ae4f;super(),_0x165e61(this,_0xbed946(0x2d8),new Map()),_0x165e61(this,_0xbed946(0x2cb),new _0x5de359[(_0xbed946(0x33a))]()),(this[_0xbed946(0x21a)]=_0x284245,this[_0xbed946(0x179)]=_0xfe1954,this[_0xbed946(0x26b)]=_0x372cfa,this[_0xbed946(0x239)]());}[_0x51ae4f(0x1b5)](){const _0x1466cf=_0x51ae4f;super[_0x1466cf(0x1b5)](),this[_0x1466cf(0x2cb)][_0x1466cf(0x2a4)](),this[_0x1466cf(0x2d8)]['forEach'](_0x28f6f2=>_0x28f6f2[_0x1466cf(0x1b5)]());}[_0x51ae4f(0x164)](_0x4ab09c){const _0x54d40a=_0x51ae4f;return this['_entities'][_0x54d40a(0x2ef)](_0x4ab09c)?this[_0x54d40a(0x2d8)][_0x54d40a(0x21c)](_0x4ab09c)[_0x54d40a(0x1a5)]:this['_entityInit$'][_0x54d40a(0x27a)](_0x5de359[_0x54d40a(0x235)](_0x5aa931=>_0x5aa931[_0x54d40a(0x306)]===_0x4ab09c),_0x5de359[_0x54d40a(0x23a)](_0x3fdd8b=>_0x3fdd8b[_0x54d40a(0x1a5)]));}['_init'](){const _0x1ac3e1=_0x51ae4f;this[_0x1ac3e1(0x21a)][_0x1ac3e1(0x2c9)](_0x484b3d[_0x1ac3e1(0x32c)][_0x1ac3e1(0x287)])['pipe'](_0x5de359[_0x1ac3e1(0x313)](this[_0x1ac3e1(0x30c)]))[_0x1ac3e1(0x386)](async _0x49095e=>{const _0x310d71=_0x1ac3e1,_0x1619b9=_0x49095e[_0x310d71(0x19e)](),_0x1f16b4=await this['_startSheetCollabCursor'](_0x1619b9);this[_0x310d71(0x2cb)][_0x310d71(0x2db)](_0x1f16b4),this[_0x310d71(0x2d8)][_0x310d71(0x1de)](_0x1619b9,_0x1f16b4);}),this['_univerInstanceService'][_0x1ac3e1(0x2c9)](_0x484b3d['UniverInstanceType'][_0x1ac3e1(0x260)])[_0x1ac3e1(0x27a)](_0x5de359[_0x1ac3e1(0x313)](this['dispose$']))['pipe'](_0x5de359[_0x1ac3e1(0x235)](_0x1f943b=>!_0x1f943b[_0x1ac3e1(0x19e)]()[_0x1ac3e1(0x2f4)]('__')))[_0x1ac3e1(0x386)](async _0x5a2998=>{const _0x5d858a=_0x1ac3e1,_0x585f8f=_0x5a2998[_0x5d858a(0x19e)](),_0x380195=await this[_0x5d858a(0x269)](_0x585f8f);this['_entityInit$'][_0x5d858a(0x2db)](_0x380195),this[_0x5d858a(0x2d8)][_0x5d858a(0x1de)](_0x585f8f,_0x380195);}),_0x5de359[_0x1ac3e1(0x135)](this[_0x1ac3e1(0x21a)]['getTypeOfUnitDisposed$'](_0x484b3d[_0x1ac3e1(0x32c)][_0x1ac3e1(0x260)]),this['_univerInstanceService'][_0x1ac3e1(0x286)](_0x484b3d['UniverInstanceType'][_0x1ac3e1(0x287)]))[_0x1ac3e1(0x27a)](_0x5de359[_0x1ac3e1(0x313)](this[_0x1ac3e1(0x30c)]))[_0x1ac3e1(0x386)](_0x527879=>{const _0x1a30d2=_0x1ac3e1,_0x41fb1e=_0x527879['getUnitId'](),_0x185c18=this[_0x1a30d2(0x2d8)]['get'](_0x41fb1e);_0x185c18&&(_0x185c18['dispose'](),this['_entities'][_0x1a30d2(0x1ef)](_0x41fb1e));});}async['_startSheetCollabCursor'](_0x4660ed){const _0x342999=_0x51ae4f,_0x1436b1=await this[_0x342999(0x26b)]['requireSession'](_0x4660ed),_0x4e242a=this['_injector'][_0x342999(0x1a8)](_0x3dca66,_0x4660ed,_0x1436b1);return _0x4e242a['init'](),_0x4e242a;}async[_0x51ae4f(0x269)](_0x30ec0c){const _0x179551=_0x51ae4f,_0x267a67=await this['_collabSessionService'][_0x179551(0x1c4)](_0x30ec0c),_0x5c2d85=this[_0x179551(0x179)][_0x179551(0x1a8)](_0x4fdbe9,_0x30ec0c,_0x267a67);return _0x5c2d85[_0x179551(0x34e)](),_0x5c2d85;}};_0x3f3686=_0x17f618([_0x55f58a(0x0,_0x484b3d[_0x51ae4f(0x1f4)]),_0x55f58a(0x1,_0x484b3d['Inject'](_0x484b3d[_0x51ae4f(0x384)])),_0x55f58a(0x2,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x3a1)]))],_0x3f3686);const _0x2a7ad5=0x14,_0x251926=0xc8,_0x38dd59=0x4,_0x3d6ce3=0x5;function _0x3b08f0(_0x7910d6,_0x4ff5d6){const _0x30d142=_0x51ae4f;let {radius:_0x33184e,width:_0x1507c9,height:_0x534378}=_0x4ff5d6;_0x33184e=_0x33184e!=null?_0x33184e:0x0,_0x1507c9=_0x1507c9!=null?_0x1507c9:0x1e,_0x534378=_0x534378!=null?_0x534378:0x1e;let _0x23e853=0x0,_0x1abc7=0x0,_0x280ca6=0x0;_0x23e853=_0x1abc7=_0x280ca6=Math[_0x30d142(0x136)](_0x33184e,_0x1507c9/0x2,_0x534378/0x2),_0x7910d6[_0x30d142(0x381)](),_0x7910d6[_0x30d142(0x12b)](_0x23e853,0x0),_0x7910d6[_0x30d142(0x24a)](_0x1507c9-_0x1abc7,0x0),_0x7910d6[_0x30d142(0x20e)](_0x1507c9-_0x1abc7,_0x1abc7,_0x1abc7,Math['PI']*0x3/0x2,0x0,!0x1),_0x7910d6[_0x30d142(0x24a)](_0x1507c9,_0x534378-_0x280ca6),_0x7910d6['arc'](_0x1507c9-_0x280ca6,_0x534378-_0x280ca6,_0x280ca6,0x0,Math['PI']/0x2,!0x1),_0x7910d6[_0x30d142(0x24a)](0x0,_0x534378),_0x7910d6['lineTo'](0x0,_0x23e853),_0x7910d6[_0x30d142(0x20e)](_0x23e853,_0x23e853,_0x23e853,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x7910d6[_0x30d142(0x17d)](),_0x4ff5d6[_0x30d142(0x2b0)]&&(_0x7910d6[_0x30d142(0x30b)](),_0x7910d6['fillStyle']=_0x4ff5d6[_0x30d142(0x2b0)],_0x4ff5d6[_0x30d142(0x35b)]===_0x30d142(0x19f)?_0x7910d6['fill'](_0x30d142(0x19f)):_0x7910d6['fill'](),_0x7910d6[_0x30d142(0x145)]());}class _0x23d396 extends _0x412407[_0x51ae4f(0x17b)]{constructor(_0x292f04,_0x58e82c){const _0x3a34d2=_0x51ae4f;super(_0x292f04,_0x58e82c),_0x165e61(this,_0x3a34d2(0x24b)),_0x165e61(this,_0x3a34d2(0x367)),(this[_0x3a34d2(0x24b)]=_0x58e82c==null?void 0x0:_0x58e82c[_0x3a34d2(0x24b)],this['text']=_0x58e82c==null?void 0x0:_0x58e82c[_0x3a34d2(0x367)]);}static[_0x51ae4f(0x10b)](_0x516015,_0x4da593){const _0x5eaecb=_0x51ae4f,{text:_0x352bc4,color:_0x19472f}=_0x4da593;_0x516015['save'](),_0x516015[_0x5eaecb(0x2af)]=_0x5eaecb(0x2b9);const _0x28dd5c=_0x516015['measureText'](_0x352bc4)[_0x5eaecb(0x27d)],_0x19c75e=Math[_0x5eaecb(0x136)](_0x28dd5c+0x2*_0x38dd59,_0x251926);_0x3b08f0(_0x516015,{'height':_0x2a7ad5,'radius':0x4,'width':_0x19c75e,'fill':_0x19472f}),_0x516015[_0x5eaecb(0x1a7)]=_0x5eaecb(0x1d8);const _0x3fbc32=_0x38dd59,_0x199abc=_0x2a7ad5-_0x3d6ce3,_0x5e2ab7=_0x251926-0x2*_0x38dd59;if(_0x28dd5c>_0x5e2ab7){let _0x2661d1='',_0x2bcbe7=0x0;for(const _0x390d6e of _0x352bc4){const _0x102a33=_0x516015[_0x5eaecb(0x372)](_0x390d6e)['width'];if(_0x2bcbe7+_0x102a33<=_0x5e2ab7-_0x516015[_0x5eaecb(0x372)](_0x5eaecb(0x333))[_0x5eaecb(0x27d)])_0x2661d1+=_0x390d6e,_0x2bcbe7+=_0x102a33;else{_0x2661d1+=_0x5eaecb(0x333);break;}}_0x516015[_0x5eaecb(0x1b7)](_0x2661d1,_0x3fbc32,_0x199abc);}else _0x516015[_0x5eaecb(0x1b7)](_0x352bc4,_0x3fbc32,_0x199abc);_0x516015[_0x5eaecb(0x145)]();}[_0x51ae4f(0x387)](_0x494994){const _0x210931=_0x51ae4f;_0x23d396[_0x210931(0x10b)](_0x494994,this);}}const _0x102c2c=_0x51ae4f(0x178),_0x1ecbc0='collab-text-range-',_0x347206=_0x51ae4f(0x270),_0x18ad67=0x6,_0x20fb4a=1.5,_0x26a0c5=0x4,_0x5076f1=1.5,_0x2fe7b8=_0x51ae4f(0x370);class _0x395211{constructor(_0x1b6e58,_0x176937,_0xc1edbf,_0x1a14ac){const _0x19fec=_0x51ae4f;_0x165e61(this,_0x19fec(0x219),[]),_0x165e61(this,'_anchor',null),_0x165e61(this,'_textBubble',null),_0x165e61(this,'_anchorDot',null),_0x165e61(this,_0x19fec(0x373),null),_0x165e61(this,_0x19fec(0x24d),null),(this['_cursor']=_0x1b6e58,this[_0x19fec(0x20b)]=_0x176937,this['_docSkeleton']=_0xc1edbf,this[_0x19fec(0x310)]=_0x1a14ac,this[_0x19fec(0x1fd)]());}set[_0x51ae4f(0x102)](_0x5619a3){const _0x39112e=_0x51ae4f;_0x5619a3?(this['_anchorDot']&&this[_0x39112e(0x199)]['hide'](),this[_0x39112e(0x347)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x39112e(0x199)][_0x39112e(0x138)](),this[_0x39112e(0x347)]&&this[_0x39112e(0x347)][_0x39112e(0x11a)]());}[_0x51ae4f(0x1b5)](){const _0x295e42=_0x51ae4f;for(const _0x16f672 of this[_0x295e42(0x219)])_0x16f672[_0x295e42(0x1b5)]();this[_0x295e42(0x347)]&&this['_textBubble']['dispose'](),this[_0x295e42(0x199)]&&this[_0x295e42(0x199)][_0x295e42(0x1b5)](),this[_0x295e42(0x242)]&&this[_0x295e42(0x242)][_0x295e42(0x1b5)](),this[_0x295e42(0x24d)]&&this[_0x295e42(0x24d)]();}[_0x51ae4f(0x1fd)](){const _0x72b046=_0x51ae4f;var _0x151f79;const {_docSkeleton:_0x2bfd6f,_document:_0xbe2827}=this,{color:_0x48a71d,name:_0x208ef9,ranges:_0x16aa33}=this['_cursor'],_0x3abdc8=_0xbe2827[_0x72b046(0x360)](),{docsLeft:_0x5387dd,docsTop:_0x36f7c0}=_0x3abdc8,_0x40b8a0=new _0x2a9f8e[(_0x72b046(0x117))](_0x3abdc8,_0x2bfd6f);for(const {startOffset:_0x4086da,endOffset:_0x1d174c,rangeType:_0x29ec27,segmentId:_0x1d32d1,segmentPage:_0x574f24,collapsed:_0x4eff28,isActive:_0x3256e1}of _0x16aa33){const _0x1e8d81=_0x2bfd6f[_0x72b046(0x1ca)](_0x4086da,!0x0,_0x1d32d1,_0x574f24);let _0x3befd9=_0x2bfd6f[_0x72b046(0x1ca)](_0x1d174c,!0x0,_0x1d32d1,_0x574f24);if(_0x3befd9==null&&(_0x3befd9=_0x2bfd6f[_0x72b046(0x1ca)](_0x1d174c-0x1,!0x1,_0x1d32d1,_0x574f24)),_0x3256e1){const {contentBoxPointGroup:_0xfd1389}=_0x40b8a0['getRangePointData'](_0x3befd9,_0x3befd9);if(_0xfd1389[_0x72b046(0x1b2)]===0x0)continue;this['_drawAnchor'](_0x48a71d,_0xfd1389,_0x5387dd,_0x36f7c0,_0x208ef9),this[_0x72b046(0x24d)]=this[_0x72b046(0x31c)]();}if(_0x1e8d81&&_0x3befd9){if(_0x29ec27===_0x484b3d['DOC_RANGE_TYPE'][_0x72b046(0x1b0)]){const _0x3dcc2b=new _0x2a9f8e[(_0x72b046(0x181))](_0x3abdc8,_0x2bfd6f),{pointGroup:_0x19e2e5}=(_0x151f79=_0x3dcc2b[_0x72b046(0x1dc)](_0x1e8d81,_0x3befd9))!=null?_0x151f79:{};if(_0x19e2e5==null||_0x19e2e5[_0x72b046(0x1b2)]===0x0)continue;this[_0x72b046(0x35d)](_0x48a71d,_0x19e2e5,_0x5387dd,_0x36f7c0);}else{if(!_0x4eff28){const {borderBoxPointGroup:_0x1f207d}=_0x40b8a0[_0x72b046(0x1dc)](_0x1e8d81,_0x3befd9);if(_0x1f207d[_0x72b046(0x1b2)]===0x0)continue;this[_0x72b046(0x1e6)](_0x48a71d,_0x1f207d,_0x5387dd,_0x36f7c0);}}}}}[_0x51ae4f(0x137)](_0x254600,_0x11423a,_0x57bab6,_0xec7a44,_0x309886){const _0x237c61=_0x51ae4f,_0x1d1f94=this[_0x237c61(0x301)](_0x11423a),{left:_0x2059bb,top:_0x5b96f5,height:_0x5cf1a8}=_0x1d1f94,_0x4cd903=this[_0x237c61(0x2d5)](),_0x2d837e=_0x5076f1/_0x4cd903,_0x1b8363=new _0x412407[(_0x237c61(0x1fe))](_0x102c2c+_0x484b3d['Tools'][_0x237c61(0x1c2)](_0x18ad67),{'left':_0x2059bb+_0x57bab6-_0x2d837e,'top':_0x5b96f5+_0xec7a44,'height':_0x5cf1a8,'width':_0x20fb4a,'fill':_0x254600||_0x412407['getColor'](_0x484b3d['COLORS'][_0x237c61(0x296)],0x0),'strokeWidth':_0x2d837e,'stroke':_0x2fe7b8,'evented':!0x0});this[_0x237c61(0x242)]=_0x1b8363,this[_0x237c61(0x20b)][_0x237c61(0x2ab)](_0x1b8363,_0x2a9f8e[_0x237c61(0xfe)]);const _0x4166c6=new _0x412407['Rect'](_0x102c2c+_0x484b3d[_0x237c61(0x2ad)][_0x237c61(0x1c2)](_0x18ad67),{'left':_0x2059bb+_0x57bab6-_0x2d837e,'top':_0x5b96f5+_0xec7a44-_0x26a0c5/0x2,'height':_0x26a0c5,'width':_0x26a0c5,'fill':_0x254600||_0x412407['getColor'](_0x484b3d['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x254600||_0x412407['getColor'](_0x484b3d[_0x237c61(0x335)][_0x237c61(0x296)],0x0),'evented':!0x1});this[_0x237c61(0x199)]=_0x4166c6,this[_0x237c61(0x20b)]['addObject'](_0x4166c6,_0x2a9f8e['TEXT_RANGE_LAYER_INDEX']);const _0x442be9=new _0x23d396(_0x102c2c+_0x484b3d['Tools'][_0x237c61(0x1c2)](_0x18ad67),{'left':_0x2059bb+_0x57bab6-_0x2d837e,'top':_0x5b96f5+_0xec7a44-_0x2a7ad5,'text':_0x309886,'color':_0x254600});this['_textBubble']=_0x442be9,this['_scene'][_0x237c61(0x2ab)](_0x442be9,_0x2a9f8e[_0x237c61(0xfe)]),this[_0x237c61(0x102)]=!0x1;}[_0x51ae4f(0x31c)](){const _0x75a45d=_0x51ae4f,_0x34a312=this[_0x75a45d(0x242)][_0x75a45d(0x2f6)][_0x75a45d(0x236)](()=>{const _0x22ff59=_0x75a45d;this[_0x22ff59(0x102)]=!0x0;}),_0x591f32=this[_0x75a45d(0x242)][_0x75a45d(0x127)][_0x75a45d(0x236)](()=>{const _0x436122=_0x75a45d;this['_hideTimer']&&clearTimeout(this[_0x436122(0x373)]),this[_0x436122(0x373)]=setTimeout(()=>{const _0xdfb120=_0x436122;this[_0xdfb120(0x102)]=!0x1;},0x7d0);});return()=>{const _0x330f56=_0x75a45d;_0x34a312[_0x330f56(0x311)](),_0x591f32[_0x330f56(0x311)]();};}[_0x51ae4f(0x1e6)](_0x3984ad,_0x374fdd,_0x9ebc5d,_0x2e821c){const _0x2d261d=_0x51ae4f,_0x3a2746=new _0x484b3d['ColorKit'](_0x3984ad)[_0x2d261d(0x35c)](0.2)[_0x2d261d(0x22c)](),_0x44eb0c=new _0x412407[(_0x2d261d(0x1bb))](_0x1ecbc0+_0x484b3d['Tools'][_0x2d261d(0x1c2)](_0x18ad67),{'pointsGroup':_0x374fdd,'fill':_0x3a2746||_0x412407['getColor'](_0x484b3d[_0x2d261d(0x335)]['black'],0.2),'left':_0x9ebc5d,'top':_0x2e821c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2d261d(0x14b)](_0x44eb0c),this[_0x2d261d(0x20b)][_0x2d261d(0x2ab)](_0x44eb0c,_0x2a9f8e['TEXT_RANGE_LAYER_INDEX']);}[_0x51ae4f(0x35d)](_0x58e5b8,_0x973f5a,_0x1b507a,_0x10a4f9){const _0x27a30d=_0x51ae4f,_0x3204c5=new _0x484b3d['ColorKit'](_0x58e5b8)[_0x27a30d(0x35c)](0.2)[_0x27a30d(0x22c)](),_0xe1b45e=new _0x412407['RegularPolygon'](_0x347206+_0x484b3d[_0x27a30d(0x2ad)][_0x27a30d(0x1c2)](_0x18ad67),{'pointsGroup':_0x973f5a,'fill':_0x3204c5||_0x412407[_0x27a30d(0x343)](_0x484b3d[_0x27a30d(0x335)]['black'],0.2),'left':_0x1b507a,'top':_0x10a4f9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27a30d(0x219)][_0x27a30d(0x14b)](_0xe1b45e),this[_0x27a30d(0x20b)]['addObject'](_0xe1b45e,_0x2a9f8e['TEXT_RANGE_LAYER_INDEX']);}[_0x51ae4f(0x301)](_0x4f228e){const _0x76673=_0x4f228e[0x0],_0x1c223a=_0x76673[0x0],_0x3af8bf=_0x76673[0x2],{x:_0x1147a0,y:_0x32d914}=_0x1c223a,{x:_0x3aed05,y:_0x2a9571}=_0x3af8bf;return{'left':_0x1147a0,'top':_0x32d914,'width':_0x3aed05-_0x1147a0,'height':_0x2a9571-_0x32d914};}[_0x51ae4f(0x2d5)](){const _0x5c3436=_0x51ae4f,{scaleX:_0xb25623,scaleY:_0x24802d}=this['_scene'][_0x5c3436(0x2fe)]();return Math[_0x5c3436(0x13f)](_0xb25623,_0x24802d);}}var _0x4ee104=Object['getOwnPropertyDescriptor'],_0x44c662=(_0xb99872,_0x39a0d9,_0x5a93f9,_0x304086)=>{const _0x1aa1c8=_0x51ae4f;for(var _0x2dc856=_0x304086>0x1?void 0x0:_0x304086?_0x4ee104(_0x39a0d9,_0x5a93f9):_0x39a0d9,_0x30d3ff=_0xb99872[_0x1aa1c8(0x1b2)]-0x1,_0xec2d14;_0x30d3ff>=0x0;_0x30d3ff--)(_0xec2d14=_0xb99872[_0x30d3ff])&&(_0x2dc856=_0xec2d14(_0x2dc856)||_0x2dc856);return _0x2dc856;},_0x5999ff=(_0x1d7683,_0xb8f5a5)=>(_0x3030f7,_0x7aa29)=>_0xb8f5a5(_0x3030f7,_0x7aa29,_0x1d7683);let _0x42d953=class extends _0x484b3d[_0x51ae4f(0x11d)]{constructor(_0x50c384,_0x229abb,_0x57f5b,_0x3315c0,_0x5465df){const _0x91c89c=_0x51ae4f;super(),_0x165e61(this,_0x91c89c(0x1da),[]),_0x165e61(this,_0x91c89c(0x19b),[]),(this['_context']=_0x50c384,this[_0x91c89c(0x1cf)]=_0x229abb,this['_collabCursorController']=_0x57f5b,this[_0x91c89c(0x20f)]=_0x3315c0,this[_0x91c89c(0x251)]=_0x5465df,this[_0x91c89c(0x239)]());}[_0x51ae4f(0x239)](){const _0x161dd5=_0x51ae4f,_0x319587=this['_context'][_0x161dd5(0x282)],_0x437367=this[_0x161dd5(0x1cf)];this[_0x161dd5(0x39b)](_0x5de359['combineLatest']([this['_collabCursorController']['getCollabCursors$'](_0x319587),this[_0x161dd5(0x251)][_0x161dd5(0x2ae)]])[_0x161dd5(0x27a)](_0x34fa3f['map'](([_0xe12c9d,_0x2ebbfc])=>({'skeleton':_0x437367['getSkeleton'](),'cursors':[..._0xe12c9d[_0x161dd5(0x214)]()]['flatMap'](_0x55f64e=>({..._0x55f64e,'color':_0x2ebbfc[_0x55f64e[_0x161dd5(0x24b)]]}))})))['subscribe'](_0xf3feaa=>{const _0x37acf7=_0x161dd5;if(this[_0x37acf7(0x113)](),_0xf3feaa){const {skeleton:_0x266bef,cursors:_0x35cb40}=_0xf3feaa;this[_0x37acf7(0x34f)](_0x266bef,_0x35cb40);}})),this[_0x161dd5(0x2a1)](),this[_0x161dd5(0x365)]();}[_0x51ae4f(0x34f)](_0x1893f8,_0x380717){const _0x110233=_0x51ae4f,{scene:_0x137407,mainComponent:_0xa53c17}=this[_0x110233(0x31f)],_0x4690d9=_0x380717[_0x110233(0x31b)](_0x3c29f9=>new _0x395211(_0x3c29f9,_0x137407,_0x1893f8,_0xa53c17));this[_0x110233(0x1da)]=_0x4690d9,this[_0x110233(0x19b)]=_0x380717;}['_refreshCollabCursors'](){const _0x5f58c2=_0x51ae4f;this[_0x5f58c2(0x113)]();const {scene:_0x383252,mainComponent:_0x5435b3}=this['_context'],_0xff1969=this[_0x5f58c2(0x1cf)][_0x5f58c2(0x2a0)](),_0x20c125=this['_cursors']['map'](_0x2c89ff=>new _0x395211(_0x2c89ff,_0x383252,_0xff1969,_0x5435b3));this[_0x5f58c2(0x1da)]=_0x20c125;}[_0x51ae4f(0x113)](){const _0x1cde18=_0x51ae4f;this[_0x1cde18(0x1da)][_0x1cde18(0x25e)](_0x205576=>_0x205576[_0x1cde18(0x1b5)]()),this[_0x1cde18(0x1da)]=[];}[_0x51ae4f(0x365)](){const _0xab169c=_0x51ae4f,_0x20972b=[_0x2a9f8e[_0xab169c(0x17f)]['id']];this[_0xab169c(0x39b)](this[_0xab169c(0x20f)]['onCommandExecuted'](_0x64927c=>{const _0x1483ef=_0xab169c;_0x20972b['includes'](_0x64927c['id'])&&_0x64927c[_0x1483ef(0x31d)][_0x1483ef(0x282)]===this[_0x1483ef(0x31f)][_0x1483ef(0x282)]&&this[_0x1483ef(0x15a)]();}));}[_0x51ae4f(0x2a1)](){const _0xaf8101=_0x51ae4f;this['disposeWithMe'](_0x484b3d[_0xaf8101(0x158)](this[_0xaf8101(0x31f)][_0xaf8101(0x188)][_0xaf8101(0x2fd)])[_0xaf8101(0x27a)](_0x34fa3f[_0xaf8101(0x235)](_0x20453b=>_0x20453b[_0xaf8101(0x14c)]===_0x412407[_0xaf8101(0x1a1)]['resize']),_0x34fa3f['throttleTime'](0x10))['subscribe'](()=>{const _0x4cb493=_0xaf8101;this[_0x4cb493(0x15a)]();}));}};_0x42d953=_0x44c662([_0x5999ff(0x1,_0x484b3d[_0x51ae4f(0x232)](_0x2c7644[_0x51ae4f(0x104)])),_0x5999ff(0x2,_0x484b3d[_0x51ae4f(0x232)](_0x3f3686)),_0x5999ff(0x3,_0x484b3d['ICommandService']),_0x5999ff(0x4,_0x484b3d[_0x51ae4f(0x232)](_0x484b3d[_0x51ae4f(0x33d)]))],_0x42d953);const _0x466f72=0x1,_0x3e8559=1.5;class _0x2b886d extends _0x412407[_0x51ae4f(0x17b)]{constructor(_0x2fb78c,_0x412a58){const _0x5056d1=_0x51ae4f;super(_0x2fb78c,_0x412a58),_0x165e61(this,_0x5056d1(0x13a)),_0x165e61(this,_0x5056d1(0x151),!0x1),_0x165e61(this,_0x5056d1(0x33c)),_0x165e61(this,_0x5056d1(0x2b1),''),_0x165e61(this,'_labelPosition',_0x5056d1(0x24f)),_0x165e61(this,_0x5056d1(0x2b6)),(_0x412a58&&this[_0x5056d1(0x1b8)](_0x412a58),this[_0x5056d1(0x2f6)][_0x5056d1(0x236)](()=>this[_0x5056d1(0x1b8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5056d1(0x236)](()=>this[_0x5056d1(0x1b8)]({'hovered':!0x1})));}[_0x51ae4f(0x1b8)](_0x22ab3b){const _0x479be5=_0x51ae4f;var _0x34ea29,_0x538bdd,_0x33eb89,_0x266436,_0x417ee4,_0x5edbf9;this[_0x479be5(0x13a)]=(_0x34ea29=_0x22ab3b[_0x479be5(0x24b)])!=null?_0x34ea29:this[_0x479be5(0x13a)],this[_0x479be5(0x151)]=(_0x538bdd=_0x22ab3b[_0x479be5(0x1d1)])!=null?_0x538bdd:this['_hovered'],this[_0x479be5(0x33c)]=(_0x33eb89=_0x22ab3b[_0x479be5(0x109)])!=null?_0x33eb89:this['_range'],this['_name']=(_0x266436=_0x22ab3b[_0x479be5(0x38e)])!=null?_0x266436:this[_0x479be5(0x2b1)],this['_labelPosition']=(_0x417ee4=_0x22ab3b[_0x479be5(0x2d2)])!=null?_0x417ee4:this[_0x479be5(0x217)],this[_0x479be5(0x2b6)]=(_0x5edbf9=_0x22ab3b[_0x479be5(0x17e)])!=null?_0x5edbf9:this['_backgroundColor'],this[_0x479be5(0x165)]({'width':_0x22ab3b[_0x479be5(0x27d)],'height':_0x22ab3b[_0x479be5(0x1f9)]});}['onMouseMove'](_0x43a5f4){const _0x23e13a=_0x51ae4f,{row:_0xead1e4,column:_0x441e56}=_0x43a5f4;if(_0xead1e4>=this[_0x23e13a(0x33c)][_0x23e13a(0x302)]&&_0xead1e4<=this[_0x23e13a(0x33c)][_0x23e13a(0x356)]&&_0x441e56>=this['_range'][_0x23e13a(0x159)]&&_0x441e56<=this[_0x23e13a(0x33c)][_0x23e13a(0x283)]){this[_0x23e13a(0x1b8)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x51ae4f(0x1ba)](_0x446e6b){return!0x1;}['_draw'](_0x406359){const _0x1a3425=_0x51ae4f;_0x412407['Rect'][_0x1a3425(0x10b)](_0x406359,{'width':this[_0x1a3425(0x27d)],'height':this[_0x1a3425(0x1f9)],'strokeWidth':_0x3e8559,'stroke':this[_0x1a3425(0x13a)],'evented':!0x1,'fill':this[_0x1a3425(0x2b6)]}),this[_0x1a3425(0x151)]&&(_0x406359[_0x1a3425(0x30b)](),_0x406359[_0x1a3425(0x140)](0x1,0x0,0x0,0x1,this[_0x1a3425(0x27d)],this[_0x1a3425(0x217)]===_0x1a3425(0x2a7)?0x0:-0x14),_0x23d396[_0x1a3425(0x10b)](_0x406359,{'text':this['_name'],'color':this[_0x1a3425(0x13a)]}),_0x406359['restore']());}}var _0x2a91d3=Object[_0x51ae4f(0x161)],_0x48cdff=(_0x27671e,_0xf1a867,_0x2dc022,_0x337b3f)=>{const _0x202ef3=_0x51ae4f;for(var _0x4401d9=_0x337b3f>0x1?void 0x0:_0x337b3f?_0x2a91d3(_0xf1a867,_0x2dc022):_0xf1a867,_0x591bea=_0x27671e[_0x202ef3(0x1b2)]-0x1,_0xec3f5d;_0x591bea>=0x0;_0x591bea--)(_0xec3f5d=_0x27671e[_0x591bea])&&(_0x4401d9=_0xec3f5d(_0x4401d9)||_0x4401d9);return _0x4401d9;},_0x3abce4=(_0x21c04e,_0xffa779)=>(_0x57dbc9,_0x16b7d6)=>_0xffa779(_0x57dbc9,_0x16b7d6,_0x21c04e);const _0x1f9176=0x1389;let _0x4e9528=class extends _0x484b3d[_0x51ae4f(0x11d)]{constructor(_0x3ef9da,_0x1473fc,_0x152e6f,_0x254944){const _0x28292d=_0x51ae4f;super(),_0x165e61(this,_0x28292d(0x19b),new Set()),_0x165e61(this,'_lastPointer',null),(this['_context']=_0x3ef9da,this[_0x28292d(0x28d)]=_0x1473fc,this[_0x28292d(0x184)]=_0x152e6f,this[_0x28292d(0x251)]=_0x254944,this[_0x28292d(0x239)]());}[_0x51ae4f(0x239)](){const _0x47d050=_0x51ae4f;this[_0x47d050(0x28d)][_0x47d050(0x2b8)][_0x47d050(0x27a)](_0x34fa3f[_0x47d050(0x313)](this[_0x47d050(0x30c)]),_0x34fa3f[_0x47d050(0x23a)](_0x598703=>{const _0x171dfa=_0x47d050;if(_0x598703){const _0x2b1e55=_0x598703['sheetId'];return _0x5de359['combineLatest'](this[_0x171dfa(0x184)][_0x171dfa(0x164)](this[_0x171dfa(0x31f)]['unitId']),this['_themeService'][_0x171dfa(0x2ae)])[_0x171dfa(0x27a)](_0x34fa3f[_0x171dfa(0x31b)](([_0x5ef744,_0x2e669c])=>{const _0x4406af=_0x171dfa,_0x33487c=new Map();return _0x5ef744[_0x4406af(0x25e)]((_0x1a7c92,_0x4a43c5)=>{const _0xcf77f2=_0x4406af;if(_0x1a7c92[_0xcf77f2(0x1b6)]===_0x2b1e55){const _0x33e407={..._0x1a7c92};_0x33e407['color']=_0x2e669c[_0x1a7c92[_0xcf77f2(0x24b)]],_0x33487c[_0xcf77f2(0x1de)](_0x4a43c5,_0x33e407);}}),{'skeleton':_0x598703,'cursors':_0x33487c};}));}return _0x5de359['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x179ac2,cursors:_0x4d794e})=>{const _0x2f480a=_0x47d050;this[_0x2f480a(0x113)](),_0x179ac2&&this[_0x2f480a(0x34f)](_0x179ac2,_0x4d794e);}),this['_sheetSkeletonManagerService'][_0x47d050(0x2b8)]['subscribe'](_0x50a9ae=>{const _0x5bf0a1=_0x47d050;if(_0x50a9ae==null)return;const {skeleton:_0x391ccf}=_0x50a9ae,{scene:_0x4a8bdd}=this['_context'];_0x4a8bdd[_0x5bf0a1(0x1fc)][_0x5bf0a1(0x236)](_0x484b3d['debounce'](_0x374601=>{const _0x4bb89c=_0x5bf0a1;var _0x52a8d1,_0x4cc526;const {offsetX:_0x530500,offsetY:_0x147a20}=_0x374601,{x:_0x45ac7b,y:_0x23c31d}=_0x4a8bdd[_0x4bb89c(0x2ea)](_0x412407['Vector2'][_0x4bb89c(0x1d7)]([_0x530500,_0x147a20])),{scaleX:_0x1d2e8b,scaleY:_0x89be7d}=_0x4a8bdd['getAncestorScale'](),_0x595aa0=_0x4a8bdd[_0x4bb89c(0x294)](_0x412407[_0x4bb89c(0x35a)][_0x4bb89c(0x1df)]),_0x4cfdf7=_0x4a8bdd[_0x4bb89c(0x354)](_0x412407[_0x4bb89c(0x248)][_0x4bb89c(0x1d7)]([_0x45ac7b,_0x23c31d]),_0x595aa0),_0x1fe959=_0x391ccf[_0x4bb89c(0x1ee)](_0x530500,_0x147a20,_0x1d2e8b,_0x89be7d,_0x4cfdf7);((_0x52a8d1=this[_0x4bb89c(0x2f5)])==null?void 0x0:_0x52a8d1[_0x4bb89c(0x124)])===_0x1fe959[_0x4bb89c(0x124)]&&((_0x4cc526=this[_0x4bb89c(0x2f5)])==null?void 0x0:_0x4cc526[_0x4bb89c(0x11b)])===_0x1fe959['row']||this[_0x4bb89c(0x19b)]['forEach'](_0x28dfd5=>{_0x28dfd5['onMouseMove'](_0x1fe959);});},0x64));});}[_0x51ae4f(0x34f)](_0x4646a,_0x4621cd){const _0x145475=_0x51ae4f;var _0x370189;const _0xbacac=(_0x370189=this[_0x145475(0x28d)][_0x145475(0x262)]())==null?void 0x0:_0x370189[_0x145475(0x13d)];if(!_0xbacac)return;const _0x4ed82c=this[_0x145475(0x275)]();if(!_0x4ed82c)return;this[_0x145475(0x19b)][_0x145475(0x25e)](_0x4dfcd7=>{const _0x243564=_0x145475;_0x4dfcd7[_0x243564(0x1fb)]();});const {scene:_0x3a9561}=_0x4ed82c,_0x30122e=_0x355825(Array[_0x145475(0x359)](_0x4621cd['values']()))[_0x145475(0x31b)](_0x1b96d6=>{const _0x51e177=_0x145475,{color:_0xae3437,range:_0x59df15,name:_0x5889b5,selection:_0x204bd8,sheetID:_0x313e4b}=_0x1b96d6,{startColumn:_0x435549,startRow:_0x5a9fb1,endColumn:_0x11c747,endRow:_0x300cc0}=_0x59df15,_0x1b11fc=_0x4c3dad[_0x51e177(0x1e0)](_0x5a9fb1,_0x435549,_0x3a9561,_0xbacac),_0x20b92a=_0x4c3dad['getCoordByCell'](_0x300cc0,_0x11c747,_0x3a9561,_0xbacac),{columnHeaderHeightAndMarginTop:_0x4e768c}=_0xbacac,{startX:_0x512a62,startY:_0x1f5fb6}=_0x1b11fc,{endX:_0x53db8d,endY:_0x57a11a}=_0x20b92a,_0xb73570=_0x53db8d-_0x512a62,_0x532204=_0x57a11a-_0x1f5fb6,_0x34d44e={'labelPosition':_0x1f5fb6-_0x4e768c>=_0x2a7ad5?_0x51e177(0x24f):'bottom','sheetID':_0x313e4b,'range':_0x59df15,'color':_0xae3437,'name':_0x5889b5,'selection':_0x204bd8,'left':_0x512a62,'top':_0x1f5fb6,'width':_0xb73570,'height':_0x532204,'evented':!0x1,'zIndex':_0x1f9176};return new _0x2b886d(_0x5889b5,_0x34d44e);});_0x3a9561['addObjects'](_0x30122e,_0x466f72),this[_0x145475(0x19b)]=new Set(_0x30122e);}['_removeCollabCursors'](){const _0x3af382=_0x51ae4f;var _0x45dc67;(_0x45dc67=this['_cursors'])==null||_0x45dc67[_0x3af382(0x25e)](_0x18881a=>_0x18881a[_0x3af382(0x1b5)]());}[_0x51ae4f(0x275)](){const _0x44df8a=_0x51ae4f;return _0x4c3dad['getSheetObject'](this['_context']['unit'],this[_0x44df8a(0x31f)]);}};_0x4e9528=_0x48cdff([_0x3abce4(0x1,_0x484b3d[_0x51ae4f(0x232)](_0x4c3dad['SheetSkeletonManagerService'])),_0x3abce4(0x2,_0x484b3d['Inject'](_0x3f3686)),_0x3abce4(0x3,_0x484b3d[_0x51ae4f(0x232)](_0x484b3d[_0x51ae4f(0x33d)]))],_0x4e9528);function _0x355825(_0x548096){const _0x122d19=_0x51ae4f,_0x162fb7=new Map();return _0x548096[_0x122d19(0x25e)](_0x348dfb=>{const _0x286825=_0x122d19;if(_0x162fb7['has'](_0x348dfb['selection'])){const _0x5749bd=_0x162fb7[_0x286825(0x21c)](_0x348dfb[_0x286825(0x155)]);_0x5749bd[_0x286825(0x38e)]+=',\x20'+_0x348dfb[_0x286825(0x38e)];}else _0x162fb7['set'](_0x348dfb[_0x286825(0x155)],_0x348dfb);}),Array[_0x122d19(0x359)](_0x162fb7[_0x122d19(0x214)]());}var _0x276097=function(){const _0x50dda2=_0x51ae4f;return _0x276097=Object[_0x50dda2(0x10a)]||function(_0x13a3d9){const _0x1c0f07=_0x50dda2;for(var _0x5c15ca,_0x327a45=0x1,_0x35f751=arguments[_0x1c0f07(0x1b2)];_0x327a45<_0x35f751;_0x327a45++){_0x5c15ca=arguments[_0x327a45];for(var _0x32538a in _0x5c15ca)Object[_0x1c0f07(0x238)]['hasOwnProperty']['call'](_0x5c15ca,_0x32538a)&&(_0x13a3d9[_0x32538a]=_0x5c15ca[_0x32538a]);}return _0x13a3d9;},_0x276097[_0x50dda2(0x122)](this,arguments);},_0x956194=function(_0x2aff12,_0x13cd01){const _0x66065c=_0x51ae4f;var _0x4d5ad8={};for(var _0xbfd492 in _0x2aff12)Object[_0x66065c(0x238)]['hasOwnProperty'][_0x66065c(0x15b)](_0x2aff12,_0xbfd492)&&_0x13cd01[_0x66065c(0x182)](_0xbfd492)<0x0&&(_0x4d5ad8[_0xbfd492]=_0x2aff12[_0xbfd492]);if(_0x2aff12!=null&&typeof Object[_0x66065c(0x118)]==_0x66065c(0x1e7)){for(var _0x1fe3ec=0x0,_0xbfd492=Object[_0x66065c(0x118)](_0x2aff12);_0x1fe3ec<_0xbfd492[_0x66065c(0x1b2)];_0x1fe3ec++)_0x13cd01[_0x66065c(0x182)](_0xbfd492[_0x1fe3ec])<0x0&&Object[_0x66065c(0x238)]['propertyIsEnumerable'][_0x66065c(0x15b)](_0x2aff12,_0xbfd492[_0x1fe3ec])&&(_0x4d5ad8[_0xbfd492[_0x1fe3ec]]=_0x2aff12[_0xbfd492[_0x1fe3ec]]);}return _0x4d5ad8;},_0x1b2eb2=_0x4d98c7[_0x51ae4f(0x2b7)](function(_0x14b692,_0x138aa2){const _0x3af953=_0x51ae4f;var _0x1faa6b=_0x14b692[_0x3af953(0x278)],_0x9f358=_0x14b692['id'],_0x137115=_0x14b692['className'],_0x1b8d0c=_0x14b692[_0x3af953(0x337)],_0x4777c8=_0x956194(_0x14b692,['icon','id','className',_0x3af953(0x337)]),_0x3ba97a=_0x3af953(0x295)['concat'](_0x9f358,'\x20')['concat'](_0x137115||'')[_0x3af953(0x34c)](),_0x90f289=_0x4d98c7[_0x3af953(0x31e)]('_'[_0x3af953(0x28f)](_0x383add()));return _0x101628(_0x1faa6b,''[_0x3af953(0x28f)](_0x9f358),{'defIds':_0x1faa6b[_0x3af953(0x290)],'idSuffix':_0x90f289[_0x3af953(0x2f3)]},_0x276097({'ref':_0x138aa2,'className':_0x3ba97a},_0x4777c8),_0x1b8d0c);});function _0x101628(_0x39db0a,_0x174af4,_0x5e3373,_0x1ea982,_0x34c016){const _0x6a9041=_0x51ae4f;return _0x4d98c7[_0x6a9041(0x166)](_0x39db0a[_0x6a9041(0x203)],_0x276097(_0x276097({'key':_0x174af4},_0x22c10d(_0x39db0a,_0x5e3373,_0x34c016)),_0x1ea982),(_0x18060f(_0x39db0a,_0x5e3373)[_0x6a9041(0x351)]||[])[_0x6a9041(0x31b)](function(_0xebc0,_0x395466){const _0x24ea4a=_0x6a9041;return _0x101628(_0xebc0,''[_0x24ea4a(0x28f)](_0x174af4,'-')[_0x24ea4a(0x28f)](_0x39db0a[_0x24ea4a(0x203)],'-')[_0x24ea4a(0x28f)](_0x395466),_0x5e3373,void 0x0,_0x34c016);}));}function _0x22c10d(_0x1a0d51,_0x5b1a14,_0x48e8c3){const _0x7739f0=_0x51ae4f;var _0x3f3f3f=_0x276097({},_0x1a0d51[_0x7739f0(0x189)]);_0x48e8c3!=null&&_0x48e8c3[_0x7739f0(0x37c)]&&_0x3f3f3f[_0x7739f0(0x2b0)]===_0x7739f0(0x37c)&&(_0x3f3f3f[_0x7739f0(0x2b0)]=_0x48e8c3[_0x7739f0(0x37c)]),_0x1a0d51['tag']==='mask'&&_0x3f3f3f['id']&&(_0x3f3f3f['id']=_0x3f3f3f['id']+_0x5b1a14[_0x7739f0(0x2c3)]),Object['entries'](_0x3f3f3f)[_0x7739f0(0x25e)](function(_0x479848){const _0x276fb8=_0x7739f0;var _0x11ae20=_0x479848[0x0],_0x3571bf=_0x479848[0x1];_0x11ae20===_0x276fb8(0x20d)&&typeof _0x3571bf==_0x276fb8(0x3a5)&&(_0x3f3f3f[_0x11ae20]=_0x3571bf[_0x276fb8(0x2c4)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5b1a14['idSuffix'],')')));});var _0x1fb37b=_0x5b1a14[_0x7739f0(0x290)];return!_0x1fb37b||_0x1fb37b[_0x7739f0(0x1b2)]===0x0||(_0x1a0d51[_0x7739f0(0x203)]==='use'&&_0x3f3f3f[_0x7739f0(0x303)]&&(_0x3f3f3f[_0x7739f0(0x303)]=_0x3f3f3f[_0x7739f0(0x303)]+_0x5b1a14[_0x7739f0(0x2c3)]),Object[_0x7739f0(0x1d0)](_0x3f3f3f)[_0x7739f0(0x25e)](function(_0x176398){const _0x42588c=_0x7739f0;var _0x10522c=_0x176398[0x0],_0x5d2674=_0x176398[0x1];typeof _0x5d2674==_0x42588c(0x3a5)&&(_0x3f3f3f[_0x10522c]=_0x5d2674['replace'](/url\(#(.*)\)/,_0x42588c(0x338)[_0x42588c(0x28f)](_0x5b1a14[_0x42588c(0x2c3)],')')));})),_0x3f3f3f;}function _0x18060f(_0x4f95eb,_0x271e8a){const _0x44439b=_0x51ae4f;var _0x221b1c,_0x4a5801=_0x271e8a[_0x44439b(0x290)];return!_0x4a5801||_0x4a5801['length']===0x0?_0x4f95eb:_0x4f95eb[_0x44439b(0x203)]===_0x44439b(0x15e)&&(!((_0x221b1c=_0x4f95eb[_0x44439b(0x351)])===null||_0x221b1c===void 0x0)&&_0x221b1c['length'])?_0x276097(_0x276097({},_0x4f95eb),{'children':_0x4f95eb[_0x44439b(0x351)][_0x44439b(0x31b)](function(_0xc7d65c){const _0x2ae2f7=_0x44439b;return typeof _0xc7d65c[_0x2ae2f7(0x189)]['id']==_0x2ae2f7(0x3a5)&&_0x4a5801&&_0x4a5801[_0x2ae2f7(0x182)](_0xc7d65c[_0x2ae2f7(0x189)]['id'])>-0x1?_0x276097(_0x276097({},_0xc7d65c),{'attrs':_0x276097(_0x276097({},_0xc7d65c[_0x2ae2f7(0x189)]),{'id':_0xc7d65c['attrs']['id']+_0x271e8a[_0x2ae2f7(0x2c3)]})}):_0xc7d65c;})}):_0x4f95eb;}function _0x383add(){const _0x3f6c81=_0x51ae4f;return Math[_0x3f6c81(0x300)]()['toString'](0x24)[_0x3f6c81(0x2df)](0x2,0x8);}_0x1b2eb2[_0x51ae4f(0x29d)]=_0x51ae4f(0x121);var _0x582eab={'tag':'svg','attrs':{'fill':_0x51ae4f(0x1b9),'viewBox':_0x51ae4f(0x12a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x51ae4f(0x1c8)},'children':[{'tag':_0x51ae4f(0x202),'attrs':{'stroke':'currentColor','d':_0x51ae4f(0x1d4),'strokeLinecap':_0x51ae4f(0x2f9),'strokeLinejoin':_0x51ae4f(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x51ae4f(0x15e),'attrs':{},'children':[{'tag':_0x51ae4f(0x17a),'attrs':{'id':_0x51ae4f(0x177)},'children':[{'tag':_0x51ae4f(0x202),'attrs':{'fill':_0x51ae4f(0x39a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x51ae4f(0x177)]},_0xd6744d=_0x4d98c7['forwardRef'](function(_0x5816cc,_0x513c0e){const _0x2e11e3=_0x51ae4f;return _0x4d98c7[_0x2e11e3(0x166)](_0x1b2eb2,Object[_0x2e11e3(0x10a)]({},_0x5816cc,{'id':_0x2e11e3(0x167),'ref':_0x513c0e,'icon':_0x582eab}));});_0xd6744d['displayName']=_0x51ae4f(0x1af);var _0x360b90={'tag':'svg','attrs':{'fill':_0x51ae4f(0x1b9),'viewBox':_0x51ae4f(0x368),'width':'1em','height':_0x51ae4f(0x197)},'children':[{'tag':'g','attrs':{'clipPath':_0x51ae4f(0x353)},'children':[{'tag':_0x51ae4f(0x202),'attrs':{'stroke':_0x51ae4f(0x36b),'d':_0x51ae4f(0x20a),'strokeLinecap':_0x51ae4f(0x2f9),'strokeLinejoin':_0x51ae4f(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x51ae4f(0x15e),'attrs':{},'children':[{'tag':_0x51ae4f(0x17a),'attrs':{'id':_0x51ae4f(0x1c5)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x51ae4f(0x378),'transform':_0x51ae4f(0x2cc)}}]}]}],'defIds':[_0x51ae4f(0x1c5)]},_0xd7ba1e=_0x4d98c7[_0x51ae4f(0x2b7)](function(_0x337edc,_0x53c7c4){const _0x599df3=_0x51ae4f;return _0x4d98c7[_0x599df3(0x166)](_0x1b2eb2,Object[_0x599df3(0x10a)]({},_0x337edc,{'id':_0x599df3(0x399),'ref':_0x53c7c4,'icon':_0x360b90}));});_0xd7ba1e[_0x51ae4f(0x29d)]=_0x51ae4f(0x206);const _0x436cb5={'onlineStatusIcon':_0x51ae4f(0x170),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x51ae4f(0x312),'online':_0x51ae4f(0x223),'offline':'univer-offline'};function _0x3d0d34(_0x10cd19){const _0x51f9f4=_0x51ae4f;switch(_0x10cd19){case _0x507455['CollaborationStatus'][_0x51f9f4(0x253)]:return'collabStatus.offline';case _0x507455[_0x51f9f4(0x39e)][_0x51f9f4(0x3a4)]:return'collabStatus.conflict';case _0x507455[_0x51f9f4(0x39e)]['FETCH_MISS']:return _0x51f9f4(0x33e);case _0x507455[_0x51f9f4(0x39e)][_0x51f9f4(0x1e2)]:return'collabStatus.notCollab';case _0x507455[_0x51f9f4(0x39e)][_0x51f9f4(0x2e1)]:case _0x507455['CollaborationStatus'][_0x51f9f4(0x2f2)]:return _0x51f9f4(0x119);case _0x507455[_0x51f9f4(0x39e)][_0x51f9f4(0x2bb)]:case _0x507455['CollaborationStatus'][_0x51f9f4(0x2c0)]:return'collabStatus.synced';}}function _0x137b46(_0x6b1f9f){const _0x3b7cd2=_0x51ae4f,{status$:_0x36d970}=_0x6b1f9f,_0x2d37fd=_0x167a32[_0x3b7cd2(0x26a)](_0x36d970,_0x507455[_0x3b7cd2(0x39e)]['NOT_COLLAB']),_0x1d3935=_0x167a32[_0x3b7cd2(0x108)](_0x484b3d[_0x3b7cd2(0x116)]),_0x4bd85c=_0x167a32[_0x3b7cd2(0x108)](_0x507455[_0x3b7cd2(0x3a1)]),_0x13f130=_0x2d37fd!==_0x507455[_0x3b7cd2(0x39e)][_0x3b7cd2(0x253)],_0x1a8a55=_0x1d3935['t'](_0x3d0d34(_0x2d37fd)),_0x2db63f=_0x58aec8['clsx'](_0x436cb5[_0x3b7cd2(0x231)],{[_0x436cb5['online']]:_0x13f130,[_0x436cb5[_0x3b7cd2(0x2bf)]]:!_0x13f130}),_0x3c8a9c=_0x13f130?_0x31d457[_0x3b7cd2(0x346)](_0xd7ba1e,{}):_0x31d457[_0x3b7cd2(0x346)](_0xd6744d,{}),_0x2fb212=_0x4d98c7[_0x3b7cd2(0x2ff)](()=>{const _0x2f7916=_0x3b7cd2;_0x13f130||_0x4bd85c[_0x2f7916(0x1fa)]();},[_0x13f130,_0x4bd85c]);function _0xe0c9ee(){const _0x4d69d0=_0x3b7cd2;return _0x31d457[_0x4d69d0(0x396)]('div',{'className':_0x58aec8[_0x4d69d0(0x228)](_0x2db63f,_0x4d69d0(0x389)),'onClick':_0x2fb212,'children':[_0x31d457[_0x4d69d0(0x346)](_0x4d69d0(0x272),{'className':_0x436cb5[_0x4d69d0(0x1e5)],'children':_0x3c8a9c}),_0x31d457[_0x4d69d0(0x346)](_0x4d69d0(0x272),{'className':_0x436cb5[_0x4d69d0(0x2c8)],'children':_0x1a8a55})]});}return _0x13f130?_0xe0c9ee():_0x31d457[_0x3b7cd2(0x346)](_0x58aec8[_0x3b7cd2(0x305)],{'title':_0x1d3935['t'](_0x3b7cd2(0x2e4)),'children':_0xe0c9ee()});}var _0x34757a=Object[_0x51ae4f(0x161)],_0x742359=(_0x209a60,_0xe9f78,_0x3b74bf,_0x514219)=>{const _0x2702de=_0x51ae4f;for(var _0x62ebb1=_0x514219>0x1?void 0x0:_0x514219?_0x34757a(_0xe9f78,_0x3b74bf):_0xe9f78,_0x15eeb5=_0x209a60[_0x2702de(0x1b2)]-0x1,_0x5ef4db;_0x15eeb5>=0x0;_0x15eeb5--)(_0x5ef4db=_0x209a60[_0x15eeb5])&&(_0x62ebb1=_0x5ef4db(_0x62ebb1)||_0x62ebb1);return _0x62ebb1;},_0x23acec=(_0x2a7bf6,_0x134993)=>(_0x5567b3,_0x650eea)=>_0x134993(_0x5567b3,_0x650eea,_0x2a7bf6);_0x4c4d8e[_0x51ae4f(0x2e5)]=class extends _0x484b3d[_0x51ae4f(0x131)]{constructor(_0x4fe71d,_0x4e1fae,_0x120ee0,_0x1751ef){const _0x507689=_0x51ae4f;super(),_0x165e61(this,_0x507689(0x1d6),new _0x5de359[(_0x507689(0x168))](_0x507455[_0x507689(0x39e)]['NOT_COLLAB'])),(this[_0x507689(0x21a)]=_0x4fe71d,this['_injector']=_0x4e1fae,this[_0x507689(0x314)]=_0x120ee0,this[_0x507689(0x19c)]=_0x1751ef,this[_0x507689(0x358)](),this[_0x507689(0x2f8)]());}[_0x51ae4f(0x2f8)](){const _0x2e70e8=_0x51ae4f;this[_0x2e70e8(0x39b)](this['_univerInstanceService']['focused$'][_0x2e70e8(0x27a)](_0x5de359[_0x2e70e8(0x23a)](()=>{const _0x5b4d7e=_0x2e70e8,_0x50cbb6=this[_0x5b4d7e(0x21a)][_0x5b4d7e(0x1a9)]();return _0x50cbb6?this[_0x5b4d7e(0x314)][_0x5b4d7e(0x2bc)](_0x50cbb6[_0x5b4d7e(0x19e)]()):_0x5de359['of'](null);}),_0x5de359[_0x2e70e8(0x23a)](_0x5b80ff=>_0x5b80ff?_0x5b80ff[_0x2e70e8(0x2e6)]:_0x5de359['of'](_0x507455[_0x2e70e8(0x39e)][_0x2e70e8(0x1e2)])))[_0x2e70e8(0x386)](_0x17101d=>{const _0x6c22f2=_0x2e70e8;this[_0x6c22f2(0x1d6)]['next'](_0x17101d);}));}[_0x51ae4f(0x358)](){const _0x13c4ef=_0x51ae4f;this[_0x13c4ef(0x39b)](this[_0x13c4ef(0x19c)][_0x13c4ef(0x224)](_0x167a32[_0x13c4ef(0x208)][_0x13c4ef(0x12c)],()=>_0x167a32['connectInjector'](_0x5a599b({'status$':this['_status$'][_0x13c4ef(0x1c7)]()}),this['_injector'])));}},_0x4c4d8e[_0x51ae4f(0x2e5)]=_0x742359([_0x23acec(0x0,_0x484b3d['IUniverInstanceService']),_0x23acec(0x1,_0x484b3d['Inject'](_0x484b3d[_0x51ae4f(0x384)])),_0x23acec(0x2,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x18b)])),_0x23acec(0x3,_0x167a32[_0x51ae4f(0x205)])],_0x4c4d8e[_0x51ae4f(0x2e5)]);function _0x5a599b(_0x1bb501){const {status$:_0x46173e}=_0x1bb501;return function(){const _0x582292=_0x20c5;return _0x31d457[_0x582292(0x346)](_0x137b46,{'status$':_0x46173e});};}var _0x2af4e7=Object['getOwnPropertyDescriptor'],_0x3f8427=(_0x4b483f,_0x53ddc1,_0x3a9dc1,_0x244d73)=>{for(var _0x4ec652=_0x244d73>0x1?void 0x0:_0x244d73?_0x2af4e7(_0x53ddc1,_0x3a9dc1):_0x53ddc1,_0x4243e5=_0x4b483f['length']-0x1,_0x25725b;_0x4243e5>=0x0;_0x4243e5--)(_0x25725b=_0x4b483f[_0x4243e5])&&(_0x4ec652=_0x25725b(_0x4ec652)||_0x4ec652);return _0x4ec652;},_0x39b936=(_0x1f181c,_0x52b997)=>(_0x4ad2fa,_0x4765cc)=>_0x52b997(_0x4ad2fa,_0x4765cc,_0x1f181c);let _0x590f25=class extends _0x484b3d[_0x51ae4f(0x131)]{constructor(_0x1c5504,_0x3ae97c,_0x497bf4,_0xfe5515,_0x336f0d,_0x50da5b){const _0x1631f5=_0x51ae4f;super(),this['_beforeCloseService']=_0x1c5504,this[_0x1631f5(0x2ec)]=_0x3ae97c,this['_collaborationUIEventService']=_0x497bf4,this[_0x1631f5(0x318)]=_0xfe5515,this[_0x1631f5(0x2fc)]=_0x336f0d,this[_0x1631f5(0x390)]=_0x50da5b,this[_0x1631f5(0x3a2)](),this['_initEvent']();}[_0x51ae4f(0x3a2)](){const _0x58e502=_0x51ae4f;this[_0x58e502(0x39b)](this[_0x58e502(0x130)]['registerBeforeClose'](()=>{const _0x280cab=_0x58e502;if(this['_localCacheService'][_0x280cab(0x198)][_0x280cab(0x392)])return this[_0x280cab(0x390)]['t'](_0x280cab(0x342));}));}[_0x51ae4f(0x12f)](){const _0x1a5981=_0x51ae4f;this['disposeWithMe'](this[_0x1a5981(0x13c)]['event$'][_0x1a5981(0x386)](_0x1bee5a=>{const _0x16cc1a=_0x1a5981;_0x1bee5a['id']===_0x507455[_0x16cc1a(0x21d)][_0x16cc1a(0x14a)]&&this[_0x16cc1a(0x318)][_0x16cc1a(0x138)]({'type':_0x58aec8[_0x16cc1a(0x22b)][_0x16cc1a(0x26c)],'content':this[_0x16cc1a(0x390)]['t'](_0x16cc1a(0x37d))}),_0x1bee5a['id']===_0x507455[_0x16cc1a(0x21d)][_0x16cc1a(0x195)]&&this[_0x16cc1a(0x318)]['show']({'type':_0x58aec8['MessageType']['Warning'],'content':this['_localeService']['t'](_0x16cc1a(0x35f))}),_0x1bee5a['id']===_0x507455[_0x16cc1a(0x21d)][_0x16cc1a(0x13e)]&&this[_0x16cc1a(0x2fc)]['show']({'title':this[_0x16cc1a(0x390)]['t'](_0x16cc1a(0x129)),'content':this['_localeService']['t'](_0x16cc1a(0x1c1)),'type':_0x16cc1a(0x1ea),'duration':0x0}),_0x1bee5a['id']===_0x507455[_0x16cc1a(0x21d)][_0x16cc1a(0x3a4)]&&this['_messageService'][_0x16cc1a(0x138)]({'type':_0x58aec8[_0x16cc1a(0x22b)][_0x16cc1a(0x1ae)],'content':this[_0x16cc1a(0x390)]['t'](_0x16cc1a(0x35f))+'('+_0x1bee5a[_0x16cc1a(0x2d9)]+')'}),_0x1bee5a['id']===_0x507455['CollaborationUIEventId'][_0x16cc1a(0x315)]&&this[_0x16cc1a(0x318)][_0x16cc1a(0x138)]({'type':_0x58aec8['MessageType'][_0x16cc1a(0x26c)],'content':this[_0x16cc1a(0x390)]['t'](_0x1bee5a['data']||'')}),_0x1bee5a['id']===_0x507455['CollaborationUIEventId'][_0x16cc1a(0x2b5)]&&this[_0x16cc1a(0x318)]['show']({'type':_0x58aec8[_0x16cc1a(0x22b)][_0x16cc1a(0x26c)],'content':this[_0x16cc1a(0x390)]['t'](_0x16cc1a(0x21f))}),_0x1bee5a['id']===_0x507455[_0x16cc1a(0x21d)][_0x16cc1a(0x259)]&&this[_0x16cc1a(0x318)]['show']({'type':_0x58aec8['MessageType'][_0x16cc1a(0x1ae)],'content':this['_localeService']['t'](_0x16cc1a(0x2a5))}),_0x1bee5a['id']===_0x507455[_0x16cc1a(0x21d)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x16cc1a(0x138)]({'type':_0x58aec8[_0x16cc1a(0x22b)]['Error'],'content':this['_localeService']['t'](_0x16cc1a(0x218))});}));}};_0x590f25=_0x3f8427([_0x39b936(0x0,_0x167a32[_0x51ae4f(0x2a9)]),_0x39b936(0x1,_0x507455[_0x51ae4f(0x107)]),_0x39b936(0x2,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x18d)])),_0x39b936(0x3,_0x167a32[_0x51ae4f(0x2cd)]),_0x39b936(0x4,_0x167a32[_0x51ae4f(0x134)]),_0x39b936(0x5,_0x484b3d[_0x51ae4f(0x232)](_0x484b3d[_0x51ae4f(0x116)]))],_0x590f25);const _0x4f5dee=_0x51ae4f(0x3a3),_0x31883a={},_0x4c2a53=_0x484b3d[_0x51ae4f(0x142)]('uni.network.url-service');var _0x88362c=Object[_0x51ae4f(0x161)],_0x52d4ab=(_0x35b977,_0x17b0c4,_0xd90ed2,_0x545cf9)=>{const _0x5a02f1=_0x51ae4f;for(var _0x3ce34e=_0x545cf9>0x1?void 0x0:_0x545cf9?_0x88362c(_0x17b0c4,_0xd90ed2):_0x17b0c4,_0x3dc5e7=_0x35b977[_0x5a02f1(0x1b2)]-0x1,_0x4bd4fe;_0x3dc5e7>=0x0;_0x3dc5e7--)(_0x4bd4fe=_0x35b977[_0x3dc5e7])&&(_0x3ce34e=_0x4bd4fe(_0x3ce34e)||_0x3ce34e);return _0x3ce34e;},_0x12930a=(_0xd121e4,_0x5c083c)=>(_0xc93c44,_0x4fe853)=>_0x5c083c(_0xc93c44,_0x4fe853,_0xd121e4);_0x4c4d8e['CollaborationDataLoaderController']=class extends _0x484b3d['RxDisposable']{constructor(_0x185517,_0x9067a2,_0x20bd9c,_0x8d4079,_0x522453){const _0x1acfca=_0x51ae4f;super(),this['_urlService']=_0x185517,this[_0x1acfca(0x160)]=_0x9067a2,this[_0x1acfca(0x20f)]=_0x20bd9c,this[_0x1acfca(0x30e)]=_0x8d4079,_0x522453?_0x522453==null||_0x522453[_0x1acfca(0x38d)]()[_0x1acfca(0x281)](()=>this[_0x1acfca(0x239)]()):(this[_0x1acfca(0x160)][_0x1acfca(0x284)]('[CollaborationDataLoaderController]',_0x1acfca(0x1ad)),this[_0x1acfca(0x239)]());}async[_0x51ae4f(0x239)](){const _0x195be8=_0x51ae4f,_0x52f2cd=this[_0x195be8(0x216)]['getParam'](_0x195be8(0x132)),_0x4779b6=this[_0x195be8(0x216)][_0x195be8(0x201)](_0x195be8(0x14c)),_0xe04e33=this['_urlService'][_0x195be8(0x201)]('subunit');if(!_0x52f2cd||!_0x4779b6){this[_0x195be8(0x160)][_0x195be8(0x284)](_0x195be8(0x362),_0x195be8(0x32f));return;}const _0x447f09=await this['_dataLoaderService'][_0x195be8(0x2ac)](_0x52f2cd,Number(_0x4779b6),_0xe04e33);_0x447f09&&_0x447f09 instanceof _0x484b3d[_0x195be8(0x186)]&&this['_setupSubUnitSync'](_0x447f09);}async[_0x51ae4f(0x376)](_0x4cf723){const _0x4e0a34=_0x51ae4f;await this[_0x4e0a34(0x183)](_0x4cf723),_0x4cf723[_0x4e0a34(0x241)][_0x4e0a34(0x27a)](_0x5de359[_0x4e0a34(0x313)](this[_0x4e0a34(0x30c)]))[_0x4e0a34(0x386)](_0x1af5f0=>{const _0x31f69b=_0x4e0a34;_0x1af5f0&&this[_0x31f69b(0x30a)](_0x1af5f0);}),this['_urlService'][_0x4e0a34(0x1e1)]['pipe'](_0x5de359[_0x4e0a34(0x313)](this[_0x4e0a34(0x30c)]))[_0x4e0a34(0x386)](()=>this['_updateSubUnitFromURLParams'](_0x4cf723));}['_updateURLWithCurrentState'](_0x371f22,_0x1c26b2=!0x1){const _0x1d8875=_0x51ae4f,_0xf306d9=this[_0x1d8875(0x216)]['getParam']('subunit');_0x371f22[_0x1d8875(0x24e)]()!==_0xf306d9&&this[_0x1d8875(0x216)][_0x1d8875(0x147)](_0x1d8875(0x263),_0x371f22[_0x1d8875(0x24e)](),_0x1c26b2);}async[_0x51ae4f(0x183)](_0x2a2b73){const _0x5e464c=_0x51ae4f;var _0x4a6550;const _0x3d9d9d=this[_0x5e464c(0x216)][_0x5e464c(0x201)](_0x5e464c(0x263));if(!_0x3d9d9d||!_0x2a2b73['getSheetBySheetId'](_0x3d9d9d)){const _0x178b66=_0x2a2b73[_0x5e464c(0x329)]()[0x0],_0x47dc2f=_0x2a2b73['getSheetBySheetId'](_0x178b66);if(!_0x47dc2f)return;this[_0x5e464c(0x30a)](_0x47dc2f,!0x0),await this[_0x5e464c(0x20f)]['executeCommand'](_0x27284b['SetWorksheetActivateCommand']['id'],{'unitId':_0x2a2b73[_0x5e464c(0x19e)](),'subUnitId':_0x178b66});return;}((_0x4a6550=_0x2a2b73[_0x5e464c(0xfd)]())==null?void 0x0:_0x4a6550['getSheetId']())!==_0x3d9d9d&&await this[_0x5e464c(0x20f)][_0x5e464c(0x25f)](_0x27284b[_0x5e464c(0x2ca)]['id'],{'unitId':_0x2a2b73['getUnitId'](),'subUnitId':_0x3d9d9d});}},_0x4c4d8e[_0x51ae4f(0x2c5)]=_0x52d4ab([_0x12930a(0x0,_0x4c2a53),_0x12930a(0x1,_0x484b3d[_0x51ae4f(0x103)]),_0x12930a(0x2,_0x484b3d['ICommandService']),_0x12930a(0x3,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x3a6)])),_0x12930a(0x4,_0x484b3d[_0x51ae4f(0x322)](_0x26bc00[_0x51ae4f(0x1f3)]))],_0x4c4d8e['CollaborationDataLoaderController']);var _0x2fb861=Object[_0x51ae4f(0x161)],_0x22d0b7=(_0x3b656f,_0x4a4403,_0x3fd660,_0x393750)=>{for(var _0x4f3157=_0x393750>0x1?void 0x0:_0x393750?_0x2fb861(_0x4a4403,_0x3fd660):_0x4a4403,_0x19bcef=_0x3b656f['length']-0x1,_0x2c8a6c;_0x19bcef>=0x0;_0x19bcef--)(_0x2c8a6c=_0x3b656f[_0x19bcef])&&(_0x4f3157=_0x2c8a6c(_0x4f3157)||_0x4f3157);return _0x4f3157;},_0x41e267=(_0x121919,_0x4f531d)=>(_0x34c5e9,_0x486e32)=>_0x4f531d(_0x34c5e9,_0x486e32,_0x121919);let _0x263bba=class{constructor(_0xf5b16e,_0x520c80,_0x503ee0){const _0x4ac71d=_0x51ae4f;this[_0x4ac71d(0x179)]=_0xf5b16e,this[_0x4ac71d(0x30d)]=_0x520c80,this['_renderManagerService']=_0x503ee0;}['transformIMECache'](_0xc78ec3){const _0x250bb9=_0x51ae4f;this[_0x250bb9(0x243)](_0xc78ec3),this[_0x250bb9(0x285)](_0xc78ec3);}['transformRemoteChangeset'](_0x46ed49){const _0x3cd46a=_0x51ae4f,{unitID:_0x31a330}=_0x46ed49,_0xed2f22=this[_0x3cd46a(0x19a)][_0x3cd46a(0x12d)](_0x31a330)['with'](_0x2a9f8e['DocIMEInputManagerService']),{redoCache:_0x204b79}=_0xed2f22[_0x3cd46a(0x277)]();if(_0x204b79[_0x3cd46a(0x1b2)]===0x0)return _0x46ed49;let _0x2d7dad=_0x484b3d[_0x3cd46a(0x2ad)][_0x3cd46a(0x28a)](_0x46ed49['mutations'][0x0]);for(let _0x43eb51=0x0;_0x43eb51<_0x204b79[_0x3cd46a(0x1b2)];_0x43eb51++){const _0x26eea0={'id':_0x3cd46a(0x37f),'params':{..._0x204b79[_0x43eb51]}},_0x294e10=this['_transformService'][_0x3cd46a(0x193)](_0x2d7dad,_0x26eea0,!0x1);if(_0x3261fa[_0x3cd46a(0x280)](_0x294e10))throw _0x294e10['error'];_0x2d7dad=_0x294e10[_0x3cd46a(0x176)];}return{..._0x484b3d[_0x3cd46a(0x2ad)][_0x3cd46a(0x28a)](_0x46ed49),'mutations':[_0x2d7dad]};}[_0x51ae4f(0x243)](_0x1eebc9){const _0x5035d3=_0x51ae4f,{unitID:_0x1e3a7e}=_0x1eebc9,_0x572c17=this['_renderManagerService'][_0x5035d3(0x12d)](_0x1e3a7e)[_0x5035d3(0x24c)](_0x2a9f8e['DocIMEInputManagerService']),{undoCache:_0x4c5533,redoCache:_0x5c4c5c}=_0x572c17['getUndoRedoMutationParamsCache']();if(_0x4c5533[_0x5035d3(0x1b2)]===0x0||_0x5c4c5c[_0x5035d3(0x1b2)]===0x0)return;const _0x4ef73f=[],_0x2cc30d=[];let _0x34fcc4=_0x484b3d[_0x5035d3(0x2ad)][_0x5035d3(0x28a)](_0x1eebc9[_0x5035d3(0x19d)][0x0]),_0x163357=_0x484b3d['Tools'][_0x5035d3(0x28a)](_0x1eebc9[_0x5035d3(0x19d)][0x0]);for(let _0x5adf64=_0x4c5533[_0x5035d3(0x1b2)]-0x1;_0x5adf64>=0x0;_0x5adf64--){const _0x1aecf7={'id':'doc.mutation.rich-text-editing','params':{..._0x4c5533[_0x5adf64]}},_0x222706={'id':_0x5035d3(0x37f),'params':{..._0x5c4c5c[_0x5adf64]}},_0x3327fa=this[_0x5035d3(0x30d)][_0x5035d3(0x193)](_0x34fcc4,_0x1aecf7,!0x1),_0x115c76=this[_0x5035d3(0x30d)][_0x5035d3(0x193)](_0x163357,_0x222706,!0x1);if(_0x3261fa[_0x5035d3(0x280)](_0x3327fa))throw _0x3327fa[_0x5035d3(0x1ea)];if(_0x3261fa[_0x5035d3(0x280)](_0x115c76))throw _0x115c76[_0x5035d3(0x1ea)];_0x4ef73f[_0x5035d3(0x194)](_0x3327fa[_0x5035d3(0x36e)]['params']),_0x2cc30d[_0x5035d3(0x194)](_0x115c76[_0x5035d3(0x36e)][_0x5035d3(0x31d)]),_0x34fcc4=_0x3327fa['m1Prime'],_0x163357=_0x115c76['m1Prime'];}_0x572c17[_0x5035d3(0x16d)]({'undoCache':_0x4ef73f,'redoCache':_0x2cc30d});}[_0x51ae4f(0x285)](_0x5c356f){const _0x49dd2d=_0x51ae4f,{unitID:_0x1e198a}=_0x5c356f,_0x264126=this['_renderManagerService'][_0x49dd2d(0x12d)](_0x1e198a)[_0x49dd2d(0x24c)](_0x2a9f8e['DocIMEInputManagerService']),_0x387a10=_0x264126[_0x49dd2d(0x105)]();if(_0x387a10==null)return;const _0x1230fb=[{'id':_0x49dd2d(0x37f),'params':{'unitId':_0x5c356f[_0x49dd2d(0x306)],'actions':null,'textRanges':[_0x387a10]}}],_0x1b3121=this['_transformService'][_0x49dd2d(0x2c2)](_0x5c356f,_0x1230fb);if(!_0x3261fa['isTransformMutationsWithChangesetSuccess'](_0x1b3121))throw _0x1b3121[_0x49dd2d(0x1ea)];const _0x129109=_0x1b3121[_0x49dd2d(0x36e)][0x0][_0x49dd2d(0x31d)][_0x49dd2d(0x1a0)];Array[_0x49dd2d(0x309)](_0x129109)&&_0x129109[_0x49dd2d(0x1b2)]&&_0x264126['setActiveRange'](_0x129109[0x0]);}};_0x263bba=_0x22d0b7([_0x41e267(0x0,_0x484b3d['Inject'](_0x484b3d[_0x51ae4f(0x384)])),_0x41e267(0x1,_0x3261fa[_0x51ae4f(0x2e3)]),_0x41e267(0x2,_0x412407[_0x51ae4f(0x11f)])],_0x263bba);var _0x47a5d9=Object['getOwnPropertyDescriptor'],_0x54f641=(_0x2bcc13,_0x25a558,_0x9aa034,_0xed63f)=>{const _0x5431ad=_0x51ae4f;for(var _0x447796=_0xed63f>0x1?void 0x0:_0xed63f?_0x47a5d9(_0x25a558,_0x9aa034):_0x25a558,_0x1410b1=_0x2bcc13[_0x5431ad(0x1b2)]-0x1,_0x13debc;_0x1410b1>=0x0;_0x1410b1--)(_0x13debc=_0x2bcc13[_0x1410b1])&&(_0x447796=_0x13debc(_0x447796)||_0x447796);return _0x447796;},_0x1d34ad=(_0x2420c1,_0x1d9742)=>(_0x77bdab,_0x3cba62)=>_0x1d9742(_0x77bdab,_0x3cba62,_0x2420c1);let _0x9fff03=class{constructor(_0x567e73,_0x5d9dfa,_0x517bb2){const _0x40df95=_0x51ae4f;this['_injector']=_0x567e73,this[_0x40df95(0x30d)]=_0x5d9dfa,this[_0x40df95(0x339)]=_0x517bb2;}[_0x51ae4f(0x2a2)](_0x250cb9){const _0x178944=_0x51ae4f;this[_0x178944(0x1f1)](_0x250cb9);}['transformRemoteChangeset'](_0x46ce9b){const _0x39a37b=_0x51ae4f,{unitID:_0x33e5bf}=_0x46ce9b,{collaboration:_0x405d8c}=this[_0x39a37b(0x339)][_0x39a37b(0x1ac)](_0x33e5bf);if(_0x405d8c[_0x39a37b(0x1b2)]===0x0)return _0x46ce9b;let _0xb335d7=_0x484b3d['Tools'][_0x39a37b(0x28a)](_0x46ce9b[_0x39a37b(0x19d)][0x0]);for(let _0x149ec3=0x0;_0x149ec3<_0x405d8c['length'];_0x149ec3++){const _0x12a0b4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x405d8c[_0x149ec3][_0x39a37b(0x282)],..._0x405d8c[_0x149ec3]['redoState']}},_0x3a2d16=this['_transformService'][_0x39a37b(0x193)](_0xb335d7,_0x12a0b4,!0x1);if(_0x3261fa[_0x39a37b(0x280)](_0x3a2d16))throw _0x3a2d16[_0x39a37b(0x1ea)];_0xb335d7=_0x3a2d16[_0x39a37b(0x176)];}return{..._0x484b3d[_0x39a37b(0x2ad)][_0x39a37b(0x28a)](_0x46ce9b),'mutations':[_0xb335d7]};}['_transformHistoryAndStateStack'](_0x4d5d18){const _0x26f429=_0x51ae4f,{unitID:_0x598990}=_0x4d5d18,{history:_0x2ddb4f,collaboration:_0x307114}=this['_docStateChangeManagerService']['getStateCache'](_0x598990);if(_0x2ddb4f['length']===0x0&&_0x307114['length']===0x0)return;const _0x45a110=[],_0x12921d=[];let _0x3abc00=_0x484b3d[_0x26f429(0x2ad)][_0x26f429(0x28a)](_0x4d5d18[_0x26f429(0x19d)][0x0]),_0xe0826a=_0x484b3d[_0x26f429(0x2ad)][_0x26f429(0x28a)](_0x4d5d18['mutations'][0x0]);for(let _0x2d2cf6=_0x2ddb4f[_0x26f429(0x1b2)]-0x1;_0x2d2cf6>=0x0;_0x2d2cf6--){const _0x27a402={'id':_0x26f429(0x37f),'params':{'unitId':_0x2ddb4f[_0x2d2cf6][_0x26f429(0x282)],..._0x2ddb4f[_0x2d2cf6][_0x26f429(0x2b2)]}},_0x230c76={'id':_0x26f429(0x37f),'params':{'unitId':_0x2ddb4f[_0x2d2cf6][_0x26f429(0x282)],..._0x2ddb4f[_0x2d2cf6][_0x26f429(0x379)]}},_0x1b1841=this['_transformService'][_0x26f429(0x193)](_0x3abc00,_0x27a402,!0x1),_0x4dc613=this[_0x26f429(0x30d)][_0x26f429(0x193)](_0xe0826a,_0x230c76,!0x1);if(_0x3261fa['isTransformMutationFailure'](_0x1b1841))throw _0x1b1841[_0x26f429(0x1ea)];if(_0x3261fa[_0x26f429(0x280)](_0x4dc613))throw _0x4dc613[_0x26f429(0x1ea)];_0x45a110[_0x26f429(0x194)]({..._0x2ddb4f[_0x2d2cf6],'undoState':_0x1b1841['m2Prime'][_0x26f429(0x31d)],'redoState':_0x4dc613['m2Prime'][_0x26f429(0x31d)]}),_0x3abc00=_0x1b1841['m1Prime'],_0xe0826a=_0x4dc613[_0x26f429(0x176)];}_0x3abc00=_0x484b3d[_0x26f429(0x2ad)][_0x26f429(0x28a)](_0x4d5d18[_0x26f429(0x19d)][0x0]),_0xe0826a=_0x484b3d['Tools'][_0x26f429(0x28a)](_0x4d5d18[_0x26f429(0x19d)][0x0]);for(let _0x2ba0fa=_0x307114['length']-0x1;_0x2ba0fa>=0x0;_0x2ba0fa--){const _0xa6fac9={'id':_0x26f429(0x37f),'params':{'unitId':_0x307114[_0x2ba0fa][_0x26f429(0x282)],..._0x307114[_0x2ba0fa][_0x26f429(0x2b2)]}},_0xf1c734={'id':_0x26f429(0x37f),'params':{'unitId':_0x307114[_0x2ba0fa][_0x26f429(0x282)],..._0x307114[_0x2ba0fa]['redoState']}},_0x300225=this['_transformService'][_0x26f429(0x193)](_0x3abc00,_0xa6fac9,!0x1),_0x38a254=this[_0x26f429(0x30d)]['transformMutation'](_0xe0826a,_0xf1c734,!0x1);if(_0x3261fa['isTransformMutationFailure'](_0x300225))throw _0x300225[_0x26f429(0x1ea)];if(_0x3261fa[_0x26f429(0x280)](_0x38a254))throw _0x38a254[_0x26f429(0x1ea)];_0x12921d[_0x26f429(0x194)]({..._0x307114[_0x2ba0fa],'undoState':_0x300225[_0x26f429(0x36e)]['params'],'redoState':_0x38a254[_0x26f429(0x36e)][_0x26f429(0x31d)]}),_0x3abc00=_0x300225[_0x26f429(0x176)],_0xe0826a=_0x38a254[_0x26f429(0x176)];}this[_0x26f429(0x339)][_0x26f429(0x143)](_0x598990,{'history':_0x45a110,'collaboration':_0x12921d});}};_0x9fff03=_0x54f641([_0x1d34ad(0x0,_0x484b3d['Inject'](_0x484b3d['Injector'])),_0x1d34ad(0x1,_0x3261fa[_0x51ae4f(0x2e3)]),_0x1d34ad(0x2,_0x484b3d['Inject'](_0x2a9f8e[_0x51ae4f(0x2ce)]))],_0x9fff03);var _0x8de268=Object[_0x51ae4f(0x161)],_0x1e30d6=(_0x4ae303,_0x4551c7,_0x542398,_0x19139a)=>{for(var _0x41e5a2=_0x19139a>0x1?void 0x0:_0x19139a?_0x8de268(_0x4551c7,_0x542398):_0x4551c7,_0x16a408=_0x4ae303['length']-0x1,_0x38e501;_0x16a408>=0x0;_0x16a408--)(_0x38e501=_0x4ae303[_0x16a408])&&(_0x41e5a2=_0x38e501(_0x41e5a2)||_0x41e5a2);return _0x41e5a2;},_0x4235cf=(_0x3cff85,_0x3c3c7e)=>(_0x1f725e,_0x1ac614)=>_0x3c3c7e(_0x1f725e,_0x1ac614,_0x3cff85);let _0x2fddbb=class{constructor(_0x383389,_0x593eca){const _0x528d27=_0x51ae4f;this[_0x528d27(0x179)]=_0x383389,this[_0x528d27(0x30d)]=_0x593eca;}[_0x51ae4f(0x36a)](_0xe6aac4){const _0x4f1e4e=_0x51ae4f;var _0x1c81b3;const _0x22434f=this[_0x4f1e4e(0x179)]['get'](_0x2c7644[_0x4f1e4e(0x308)]),_0x451f5f=(_0x1c81b3=_0x22434f['getDocRanges']())!=null?_0x1c81b3:[];if(_0x451f5f['length']===0x0)return;const _0x21d49b=_0xe6aac4[_0x4f1e4e(0x306)],_0x21be35=[{'id':_0x4f1e4e(0x37f),'params':{'unitId':_0x21d49b,'actions':null,'textRanges':_0x451f5f}}],_0x18dbb4=this['_transformService']['transformMutationsWithChangeset'](_0xe6aac4,_0x21be35);if(!_0x3261fa[_0x4f1e4e(0x211)](_0x18dbb4))throw _0x18dbb4[_0x4f1e4e(0x1ea)];const _0x5361c7=_0x18dbb4[_0x4f1e4e(0x36e)][0x0][_0x4f1e4e(0x31d)]['textRanges'];Array['isArray'](_0x5361c7)&&_0x5361c7[_0x4f1e4e(0x1b2)]&&_0x22434f[_0x4f1e4e(0x2cf)](_0x5361c7,{'unitId':_0x21d49b,'subUnitId':_0x21d49b},!0x1);}};_0x2fddbb=_0x1e30d6([_0x4235cf(0x0,_0x484b3d[_0x51ae4f(0x232)](_0x484b3d['Injector'])),_0x4235cf(0x1,_0x3261fa[_0x51ae4f(0x2e3)])],_0x2fddbb);var _0x2df199=Object[_0x51ae4f(0x161)],_0x19c7ee=(_0x59953b,_0x3be119,_0x1ceb27,_0x52c8d1)=>{const _0xfb0520=_0x51ae4f;for(var _0x566cc7=_0x52c8d1>0x1?void 0x0:_0x52c8d1?_0x2df199(_0x3be119,_0x1ceb27):_0x3be119,_0x42350a=_0x59953b[_0xfb0520(0x1b2)]-0x1,_0x796549;_0x42350a>=0x0;_0x42350a--)(_0x796549=_0x59953b[_0x42350a])&&(_0x566cc7=_0x796549(_0x566cc7)||_0x566cc7);return _0x566cc7;},_0x4b239b=(_0x2e5fe2,_0x44d361)=>(_0x5678c3,_0x560db8)=>_0x44d361(_0x5678c3,_0x560db8,_0x2e5fe2);let _0x484710=class extends _0x484b3d[_0x51ae4f(0x131)]{constructor(_0xef6ce9,_0x3fb3a2,_0x409419,_0x25e653,_0x3c50b7,_0x257cbd,_0x40ffbe,_0x2d67fd){const _0x188d48=_0x51ae4f;super(),_0x165e61(this,'_status$',new _0x5de359[(_0x188d48(0x168))](_0x507455[_0x188d48(0x39e)][_0x188d48(0x1e2)])),(this['_docStateChangeManagerService']=_0xef6ce9,this['_collaborationController']=_0x3fb3a2,this['_docTransformIMECacheService']=_0x409419,this[_0x188d48(0x26e)]=_0x25e653,this[_0x188d48(0x36f)]=_0x3c50b7,this[_0x188d48(0x10f)]=_0x257cbd,this['_messageService']=_0x40ffbe,this[_0x188d48(0x390)]=_0x2d67fd,this[_0x188d48(0x369)]());}[_0x51ae4f(0x369)](){const _0x3dd686=_0x51ae4f;this[_0x3dd686(0x39b)](this[_0x3dd686(0x314)][_0x3dd686(0x1bd)][_0x3dd686(0x386)](_0x81556e=>{const _0xb644c3=_0x3dd686,_0x75b05d=this['_docStateChangeManagerService'][_0xb644c3(0x257)][_0xb644c3(0x386)](_0x5c8082=>{const _0x2d3947=_0xb644c3;if(_0x5c8082==null)return;const {unitId:_0x111670,redoState:_0x52d28c,commandId:_0x207598}=_0x5c8082;if(_0x111670!==_0x81556e[_0x2d3947(0x306)])return;const _0x49cb92={'id':_0x207598,'type':_0x484b3d[_0x2d3947(0x17c)][_0x2d3947(0x27e)],'params':{'unitId':_0x111670,'actions':_0x52d28c['actions'],'textRanges':null}};_0x81556e[_0x2d3947(0x288)](_0x49cb92);});if(_0x81556e[_0xb644c3(0x39b)](_0x75b05d),_0x81556e instanceof _0x507455[_0xb644c3(0x2eb)]){const _0x3533af={'onTransformIME':_0x327d22=>this[_0xb644c3(0x15f)]['transformIMECache'](_0x327d22),'onTransformState':_0x2ce788=>this[_0xb644c3(0x26e)]['transformStateCache'](_0x2ce788),'onTransformSelections':_0x374d80=>this['_docTransformSelectionsService'][_0xb644c3(0x36a)](_0x374d80),'onSyncEditingCollabCursor':_0x4c5a91=>this[_0xb644c3(0x10f)][_0xb644c3(0x123)](_0x4c5a91),'onTransformRemoteChangesetByIMECache':_0x3b0e1d=>this[_0xb644c3(0x15f)][_0xb644c3(0x36d)](_0x3b0e1d),'onTransformRemoteChangesetByStateCache':_0x18e17e=>this[_0xb644c3(0x26e)]['transformRemoteChangeset'](_0x18e17e)};_0x81556e[_0xb644c3(0x106)](_0x3533af);}}));}};_0x484710=_0x19c7ee([_0x4b239b(0x0,_0x484b3d[_0x51ae4f(0x232)](_0x2a9f8e['DocStateChangeManagerService'])),_0x4b239b(0x1,_0x484b3d[_0x51ae4f(0x232)](_0x507455[_0x51ae4f(0x18b)])),_0x4b239b(0x2,_0x484b3d['Inject'](_0x263bba)),_0x4b239b(0x3,_0x484b3d[_0x51ae4f(0x232)](_0x9fff03)),_0x4b239b(0x4,_0x484b3d['Inject'](_0x2fddbb)),_0x4b239b(0x5,_0x484b3d[_0x51ae4f(0x232)](_0x161a90)),_0x4b239b(0x6,_0x167a32[_0x51ae4f(0x2cd)]),_0x4b239b(0x7,_0x484b3d[_0x51ae4f(0x232)](_0x484b3d[_0x51ae4f(0x116)]))],_0x484710);var _0x5b9d63=Object[_0x51ae4f(0x161)],_0xc70fb1=(_0x20500d,_0x127bf8,_0x196e5c,_0x1ffccf)=>{for(var _0x5ae68d=_0x1ffccf>0x1?void 0x0:_0x1ffccf?_0x5b9d63(_0x127bf8,_0x196e5c):_0x127bf8,_0x49dc37=_0x20500d['length']-0x1,_0x4065aa;_0x49dc37>=0x0;_0x49dc37--)(_0x4065aa=_0x20500d[_0x49dc37])&&(_0x5ae68d=_0x4065aa(_0x5ae68d)||_0x5ae68d);return _0x5ae68d;},_0x39c85a=(_0x2eb8c2,_0x4c7284)=>(_0x3ec90e,_0x53406b)=>_0x4c7284(_0x3ec90e,_0x53406b,_0x2eb8c2);let _0x4a044e=class extends _0x484b3d[_0x51ae4f(0x131)]{constructor(_0x1a2efa,_0x1b1af8,_0x11a73b){const _0x158a02=_0x51ae4f;super(),_0x165e61(this,_0x158a02(0x221),new Map()),_0x165e61(this,_0x158a02(0x28c),new Map()),_0x165e61(this,_0x158a02(0x2d0),!0x1),(this[_0x158a02(0x385)]=_0x1a2efa,this['_localStorageService']=_0x1b1af8,this[_0x158a02(0x276)]=_0x11a73b);}[_0x51ae4f(0x226)](){this['_disabled']=!0x0;}[_0x51ae4f(0x1e4)](){const _0x448876=_0x51ae4f;this[_0x448876(0x2d0)]=!0x1;}get['saveTaskMap'](){const _0x55f1ef=_0x51ae4f;return this[_0x55f1ef(0x28c)];}[_0x51ae4f(0x1b5)](){const _0x35999d=_0x51ae4f;this[_0x35999d(0x1cb)]()[_0x35999d(0x281)](()=>super[_0x35999d(0x1b5)]());}async[_0x51ae4f(0x319)](_0x1a833f){const _0x2025f9=_0x51ae4f;return this[_0x2025f9(0x2d0)]?null:this[_0x2025f9(0x13b)][_0x2025f9(0x2c7)](_0x507455[_0x2025f9(0x175)](_0x1a833f));}async[_0x51ae4f(0x2e7)](_0xa321b,_0x44a5b0){const _0x10a15e=_0x51ae4f;return!!this[_0x10a15e(0x13b)]['setItem'](_0xa321b,_0x44a5b0);}[_0x51ae4f(0x29c)](_0x4fd681,_0x2aeace,_0x3b1440,_0x33614c){const _0x1cd0f7=_0x51ae4f,_0x2b619f=this[_0x1cd0f7(0x276)][_0x1cd0f7(0x37e)](_0x4fd681);this[_0x1cd0f7(0x221)][_0x1cd0f7(0x1de)](_0x4fd681,{'unitID':_0x4fd681,'type':_0x2aeace,'awaitingChangeset':_0x3b1440,'mutations':_0x33614c,'rev':_0x2b619f}),this[_0x1cd0f7(0x28c)][_0x1cd0f7(0x2ef)](_0x4fd681)||this[_0x1cd0f7(0x120)](_0x4fd681);}[_0x51ae4f(0x120)](_0x306f1f){const _0x17627d=_0x51ae4f,_0xeac991=this[_0x17627d(0x212)]();_0xeac991===0x0?this[_0x17627d(0x324)](_0x306f1f):this[_0x17627d(0x28c)]['set'](_0x306f1f,setTimeout(()=>this['_saveCache'](_0x306f1f),_0xeac991));}[_0x51ae4f(0x212)](){const _0x560b3d=_0x51ae4f;var _0x327cd0;return(_0x327cd0=this[_0x560b3d(0x385)][_0x560b3d(0x1a6)](_0x507455[_0x560b3d(0x380)]))!=null?_0x327cd0:_0x507455[_0x560b3d(0x171)];}[_0x51ae4f(0x324)](_0x231a93){const _0x1192f4=_0x51ae4f,_0x4bfd16=this['_saveTaskMap'][_0x1192f4(0x21c)](_0x231a93);return _0x4bfd16!==void 0x0&&window['clearTimeout'](_0x4bfd16),this[_0x1192f4(0x13b)][_0x1192f4(0x16f)](_0x507455['getLocalCacheKey'](_0x231a93),this['_cachedData'][_0x1192f4(0x21c)](_0x231a93))[_0x1192f4(0x281)](()=>this[_0x1192f4(0x28c)][_0x1192f4(0x1ef)](_0x231a93));}async[_0x51ae4f(0x1cb)](){const _0x581387=_0x51ae4f,_0x570f03=[];this[_0x581387(0x28c)][_0x581387(0x25e)]((_0x465c59,_0x4af2db)=>{const _0x1ff8ab=_0x581387;window['clearTimeout'](_0x465c59),_0x570f03['push'](this[_0x1ff8ab(0x324)](_0x4af2db)[_0x1ff8ab(0x281)](()=>{const _0x495cd7=_0x1ff8ab;this[_0x495cd7(0x28c)]['delete'](_0x4af2db);}));}),await Promise[_0x581387(0x374)](_0x570f03);}};_0x4a044e=_0xc70fb1([_0x39c85a(0x0,_0x484b3d[_0x51ae4f(0x18c)]),_0x39c85a(0x1,_0x484b3d[_0x51ae4f(0x1aa)]),_0x39c85a(0x2,_0x484b3d[_0x51ae4f(0x232)](_0x3261fa[_0x51ae4f(0x375)]))],_0x4a044e);class _0x189889 extends _0x484b3d['RxDisposable']{constructor(){const _0x31324b=_0x51ae4f;super(),_0x165e61(this,_0x31324b(0x1e1)),this['urlChange$']=_0x5de359[_0x31324b(0x14f)](window,_0x31324b(0x334))[_0x31324b(0x27a)](_0x5de359[_0x31324b(0x313)](this[_0x31324b(0x30c)]),_0x5de359[_0x31324b(0x266)](0x1),_0x5de359[_0x31324b(0x304)](void 0x0));}['setParam'](_0x9c375e,_0x3dd6b9,_0x4f2f47=!0x1){const _0x43aad3=_0x51ae4f,_0x295d90=new URL(window[_0x43aad3(0x111)][_0x43aad3(0x273)]);_0x295d90[_0x43aad3(0x320)][_0x43aad3(0x1de)](_0x9c375e,_0x3dd6b9),_0x4f2f47?window[_0x43aad3(0x1bf)][_0x43aad3(0x22e)]('','',_0x295d90[_0x43aad3(0x110)]()):window['history'][_0x43aad3(0x1f8)]('','',_0x295d90[_0x43aad3(0x110)]());}['removeParam'](_0xcc7497,_0x5791c1=!0x1){const _0x3a5f16=_0x51ae4f,_0x77e4eb=new URL(window['location'][_0x3a5f16(0x273)]);_0x77e4eb[_0x3a5f16(0x320)][_0x3a5f16(0x1ef)](_0xcc7497),_0x5791c1?window[_0x3a5f16(0x1bf)][_0x3a5f16(0x22e)]('','',_0x77e4eb[_0x3a5f16(0x110)]()):window[_0x3a5f16(0x1bf)][_0x3a5f16(0x1f8)]('','',_0x77e4eb['toString']());}[_0x51ae4f(0x201)](_0x35633){const _0x3fa9ac=_0x51ae4f;var _0x36410c;return(_0x36410c=new URL(window[_0x3fa9ac(0x111)]['href'])[_0x3fa9ac(0x320)][_0x3fa9ac(0x21c)](_0x35633))!=null?_0x36410c:void 0x0;}}var _0x447b6d=Object['defineProperty'],_0x439e98=Object[_0x51ae4f(0x161)],_0x4497ed=(_0x1c2187,_0x2dbc77,_0x2ec295)=>_0x2dbc77 in _0x1c2187?_0x447b6d(_0x1c2187,_0x2dbc77,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec295}):_0x1c2187[_0x2dbc77]=_0x2ec295,_0x4084f4=(_0xb2b00c,_0x35f9f1,_0x23920d,_0x595b63)=>{const _0x1bb38c=_0x51ae4f;for(var _0x83acc0=_0x595b63>0x1?void 0x0:_0x595b63?_0x439e98(_0x35f9f1,_0x23920d):_0x35f9f1,_0x3e4af5=_0xb2b00c[_0x1bb38c(0x1b2)]-0x1,_0x4609e6;_0x3e4af5>=0x0;_0x3e4af5--)(_0x4609e6=_0xb2b00c[_0x3e4af5])&&(_0x83acc0=_0x4609e6(_0x83acc0)||_0x83acc0);return _0x83acc0;},_0x4b8c6a=(_0x501ee8,_0x283c02)=>(_0x966a85,_0x5e2ff5)=>_0x283c02(_0x966a85,_0x5e2ff5,_0x501ee8),_0x2be53e=(_0x41f2f0,_0x192672,_0x130ccf)=>_0x4497ed(_0x41f2f0,_0x192672+'',_0x130ccf);const _0x3ddb02=_0x51ae4f(0x32e);_0x4c4d8e[_0x51ae4f(0x39f)]=class extends _0x484b3d[_0x51ae4f(0x26d)]{constructor(_0x436974=_0x31883a,_0x38537b,_0x18908a,_0x559f58){const _0x5252bd=_0x51ae4f;super(),this[_0x5252bd(0x289)]=_0x436974,this[_0x5252bd(0x19a)]=_0x38537b,this[_0x5252bd(0x179)]=_0x18908a,this[_0x5252bd(0x385)]=_0x559f58;const {..._0x15291a}=_0x484b3d[_0x5252bd(0x135)]({},_0x31883a,this[_0x5252bd(0x289)]);this[_0x5252bd(0x385)][_0x5252bd(0x388)](_0x4f5dee,_0x15291a);}['onStarting'](){const _0x21ab7c=_0x51ae4f;this['_registerDependencies'](),this[_0x21ab7c(0x23d)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x51ae4f(0x2d6)](){const _0x443724=_0x51ae4f;var _0x5f19dd;const _0x531af8=[[_0x4e9cad],[_0x2fddbb],[_0x263bba],[_0x9fff03],[_0x161a90],[_0x4c2a53,{'useClass':_0x189889}],[_0x33e3b2[_0x443724(0x247)],{'useClass':_0x33e3b2[_0x443724(0x172)]}],[_0x507455['ILocalCacheService'],{'useClass':_0x4a044e}],[_0x4c4d8e['DesktopCollaborationStatusDisplayController']],[_0x484710],[_0x590f25],[_0x3f3686],[_0x288b9e],[_0x4c4d8e['CollaborationDataLoaderController']]];_0x484b3d['registerDependencies'](this['_injector'],_0x484b3d[_0x443724(0x18e)](_0x531af8,(_0x5f19dd=this[_0x443724(0x289)])==null?void 0x0:_0x5f19dd['override']));}['_registerRenderDependencies'](){const _0x3f811a=_0x51ae4f;this[_0x3f811a(0x39b)](this[_0x3f811a(0x19a)]['registerRenderModule'](_0x484b3d['UniverInstanceType'][_0x3f811a(0x260)],[_0x42d953])),this[_0x3f811a(0x39b)](this[_0x3f811a(0x19a)][_0x3f811a(0x38f)](_0x484b3d[_0x3f811a(0x32c)][_0x3f811a(0x287)],[_0x4e9528]));}[_0x51ae4f(0x23d)](){const _0x4cd051=_0x51ae4f;_0x484b3d[_0x4cd051(0x34a)](this[_0x4cd051(0x179)],[[_0x3f3686],[_0x4c4d8e[_0x4cd051(0x2e5)]],[_0x484710],[_0x590f25],[_0x4c4d8e['CollaborationDataLoaderController']]]);}},_0x2be53e(_0x4c4d8e[_0x51ae4f(0x39f)],'pluginName',_0x3ddb02),_0x4c4d8e[_0x51ae4f(0x39f)]=_0x4084f4([_0x484b3d[_0x51ae4f(0x2e8)](_0x507455[_0x51ae4f(0x364)]),_0x4b8c6a(0x1,_0x412407[_0x51ae4f(0x11f)]),_0x4b8c6a(0x2,_0x484b3d[_0x51ae4f(0x232)](_0x484b3d[_0x51ae4f(0x384)])),_0x4b8c6a(0x3,_0x484b3d[_0x51ae4f(0x18c)])],_0x4c4d8e['UniverCollaborationClientUIPlugin']);var _0x297971=Object[_0x51ae4f(0x161)],_0x42a53a=(_0x28e2ef,_0x165831,_0x72de55,_0x24e978)=>{const _0x36e35c=_0x51ae4f;for(var _0xf72968=_0x24e978>0x1?void 0x0:_0x24e978?_0x297971(_0x165831,_0x72de55):_0x165831,_0x34e16b=_0x28e2ef[_0x36e35c(0x1b2)]-0x1,_0x4e5f10;_0x34e16b>=0x0;_0x34e16b--)(_0x4e5f10=_0x28e2ef[_0x34e16b])&&(_0xf72968=_0x4e5f10(_0xf72968)||_0xf72968);return _0xf72968;},_0x37338e=(_0x50f9fd,_0x1c588f)=>(_0x22e108,_0x28fbc9)=>_0x1c588f(_0x22e108,_0x28fbc9,_0x50f9fd);_0x4c4d8e[_0x51ae4f(0x10c)]=class extends _0x507455[_0x51ae4f(0x29e)]{constructor(_0x31c456,_0x125a2f,_0x4b624d,_0x50e0ea,_0x58f222){super(_0x31c456,_0x125a2f,_0x4b624d,_0x50e0ea,_0x58f222);}async[_0x51ae4f(0x234)](_0x1b0f03){const _0x43d511=await this['_getSessionTicket'](),_0x4bdc22=this['_createSocketURL'](_0x1b0f03,_0x43d511);return this['_doCreateSocket'](_0x4bdc22);}[_0x51ae4f(0x38c)](_0x44a911,_0x199c6e){const _0xc0245b=_0x51ae4f,_0xc8709e=typeof window>'u'?new URL(_0x44a911):new URL(_0x44a911,window[_0xc0245b(0x111)][_0xc0245b(0x256)]);_0xc8709e[_0xc0245b(0x320)][_0xc0245b(0x1de)](_0xc0245b(0x192),_0x199c6e);const _0x391945=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc0245b(0x111)][_0xc0245b(0x225)]);return _0x391945[_0xc0245b(0x21c)](_0xc0245b(0x23f))&&_0xc8709e[_0xc0245b(0x320)]['set'](_0xc0245b(0x23f),_0x391945[_0xc0245b(0x21c)]('runId')),_0xc8709e[_0xc0245b(0x110)]();}async[_0x51ae4f(0x37a)](){const _0x19e239=_0x51ae4f;var _0x10f632,_0x566c34,_0x3f9815;const _0x227d65=this[_0x19e239(0x385)][_0x19e239(0x1a6)](_0x507455[_0x19e239(0x325)]),_0x500ba2=(_0x10f632=_0x227d65==null?void 0x0:_0x227d65[_0x19e239(0x29a)])!=null?_0x10f632:_0x507455[_0x19e239(0x1f7)];return(_0x3f9815=(_0x566c34=(await this[_0x19e239(0x344)]['get'](_0x500ba2,{'headers':{'Content-Type':'application/json'}}))[_0x19e239(0x2fa)])==null?void 0x0:_0x566c34['ticket'])!=null?_0x3f9815:'';}},_0x4c4d8e[_0x51ae4f(0x10c)]=_0x42a53a([_0x37338e(0x0,_0x484b3d['Inject'](_0x484b3d[_0x51ae4f(0x384)])),_0x37338e(0x1,_0x484b3d[_0x51ae4f(0x232)](_0x33e3b2[_0x51ae4f(0x323)])),_0x37338e(0x2,_0x484b3d['IConfigService']),_0x37338e(0x3,_0x484b3d[_0x51ae4f(0x103)]),_0x37338e(0x4,_0x3261fa[_0x51ae4f(0x336)])],_0x4c4d8e[_0x51ae4f(0x10c)]);const _0x115ac0=0x7530,_0x13a37f=_0x51ae4f(0x209);class _0x5d54aa extends _0x484b3d[_0x51ae4f(0x131)]{constructor(){const _0x7660eb=_0x51ae4f;super(),_0x165e61(this,_0x7660eb(0x1c9),_0x484b3d[_0x7660eb(0x1c2)]()),_0x165e61(this,'_selfUnitIDs',new Set()),_0x165e61(this,_0x7660eb(0x141),new Map()),_0x165e61(this,_0x7660eb(0x298),null),_0x165e61(this,_0x7660eb(0x244),new Map()),_0x165e61(this,_0x7660eb(0x25b),new Map()),this[_0x7660eb(0x239)]();}[_0x51ae4f(0x1b5)](){const _0x3b3d6f=_0x51ae4f;super[_0x3b3d6f(0x1b5)](),this[_0x3b3d6f(0x244)][_0x3b3d6f(0x25e)]((_0x4a4c91,_0x4d0266)=>this['_removeClearOtherTimer'](_0x4d0266)),this[_0x3b3d6f(0x298)]&&window[_0x3b3d6f(0x204)](this['_heartbeatTimer']);}[_0x51ae4f(0x350)](_0x811026){const _0x1698a4=_0x51ae4f;return this[_0x1698a4(0x363)](_0x811026)['pipe'](_0x5de359['distinctUntilChanged']());}['editingUnit'](_0x3953e5){const _0x3c5b4d=_0x51ae4f;this[_0x3c5b4d(0x268)][_0x3c5b4d(0x392)]===0x0&&this[_0x3c5b4d(0x23e)](),this[_0x3c5b4d(0x268)][_0x3c5b4d(0x22d)](_0x3953e5),this[_0x3c5b4d(0x361)]({'type':0x0,'memberID':this[_0x3c5b4d(0x1c9)],'unitIDs':[_0x3953e5],'isForwarded':!0x1});}[_0x51ae4f(0x398)](_0x491776){const _0x1aa2d3=_0x51ae4f;this[_0x1aa2d3(0x268)][_0x1aa2d3(0x1ef)](_0x491776),this[_0x1aa2d3(0x268)]['size']===0x0&&this[_0x1aa2d3(0x298)]&&window[_0x1aa2d3(0x204)](this[_0x1aa2d3(0x298)]);}['_init'](){const _0x3ceac3=_0x51ae4f;this[_0x3ceac3(0x39b)](_0x484b3d[_0x3ceac3(0x237)](_0x5de359[_0x3ceac3(0x14f)](window,'storage')['subscribe'](_0x152ba0=>{const _0x58ec33=_0x3ceac3;if(_0x152ba0[_0x58ec33(0x12e)]!==_0x13a37f||!_0x152ba0[_0x58ec33(0x1ab)])return;const _0x339978=JSON[_0x58ec33(0x32a)](_0x152ba0[_0x58ec33(0x1ab)]);this[_0x58ec33(0x222)](_0x339978);}))),window[_0x3ceac3(0x233)](_0x3ceac3(0x23b),()=>this[_0x3ceac3(0x361)]({'type':0x1,'memberID':this[_0x3ceac3(0x1c9)],'unitIDs':Array[_0x3ceac3(0x359)](this[_0x3ceac3(0x268)])}));}[_0x51ae4f(0x222)](_0x36ec0b){const _0x2b77b9=_0x51ae4f;switch(_0x36ec0b[_0x2b77b9(0x14c)]){case 0x0:this[_0x2b77b9(0x1ed)](_0x36ec0b);break;case 0x1:this[_0x2b77b9(0x27c)](_0x36ec0b);break;case 0x2:this[_0x2b77b9(0x32b)](_0x36ec0b);break;}}['_handleJoinEvent'](_0x14eaca){const _0x586fce=_0x51ae4f,{unitIDs:_0x2fc146,memberID:_0x2af441,isForwarded:_0x277d64}=_0x14eaca;_0x2fc146[_0x586fce(0x25e)](_0x19d658=>{const _0x124f31=_0x586fce;if(!_0x277d64&&this[_0x124f31(0x141)][_0x124f31(0x2ef)](_0x19d658)&&this[_0x124f31(0x363)](_0x19d658)['next'](_0x507455[_0x124f31(0x394)]['OTHER_CLIENTS_EDITING']),!this[_0x124f31(0x141)][_0x124f31(0x2ef)](_0x19d658)||!this[_0x124f31(0x141)][_0x124f31(0x21c)](_0x19d658)[_0x124f31(0x2ef)](_0x2af441)){const _0x3f5e06=this['_unitOnClients'][_0x124f31(0x21c)](_0x19d658)||new Set();_0x3f5e06[_0x124f31(0x22d)](_0x2af441),this[_0x124f31(0x141)][_0x124f31(0x1de)](_0x19d658,_0x3f5e06),this['_scheduleClearOtherTimer'](_0x2af441);}}),_0x277d64||this['_send']({'type':0x0,'memberID':this[_0x586fce(0x1c9)],'unitIDs':[...this[_0x586fce(0x268)]],'isForwarded':!0x0});}[_0x51ae4f(0x215)](_0x18ca09){const _0x462c04=_0x51ae4f;this[_0x462c04(0x250)](_0x18ca09);const _0x1f6fe7=window[_0x462c04(0x1eb)](()=>{const _0x21007c=_0x462c04;this['_unitOnClients'][_0x21007c(0x25e)](_0x1d2d13=>{_0x1d2d13['delete'](_0x18ca09);});},_0x115ac0*0x2);this[_0x462c04(0x244)]['set'](_0x18ca09,_0x1f6fe7);}[_0x51ae4f(0x250)](_0x517947){const _0x17c5d0=_0x51ae4f;if(this['_clearOtherTimers'][_0x17c5d0(0x2ef)](_0x517947)){const _0x3642cd=this[_0x17c5d0(0x244)][_0x17c5d0(0x21c)](_0x517947);_0x3642cd&&window[_0x17c5d0(0x317)](_0x3642cd),this['_clearOtherTimers'][_0x17c5d0(0x1de)](_0x517947,null);}}[_0x51ae4f(0x27c)](_0x5c9fe2){const _0x3fb36b=_0x51ae4f,{memberID:_0xdfe75,unitIDs:_0x194109}=_0x5c9fe2;_0x194109['forEach'](_0x19f34a=>{const _0xe4bcf8=_0x20c5;var _0x5b7ba4;const _0x4d8b66=this[_0xe4bcf8(0x141)]['get'](_0x19f34a);_0x4d8b66&&(_0x4d8b66[_0xe4bcf8(0x1ef)](_0xdfe75),(_0x5b7ba4=this[_0xe4bcf8(0x363)](_0x19f34a))==null||_0x5b7ba4[_0xe4bcf8(0x2db)](_0x4d8b66['size']===0x0?_0x507455[_0xe4bcf8(0x394)][_0xe4bcf8(0x185)]:_0x507455[_0xe4bcf8(0x394)][_0xe4bcf8(0x2b4)]));}),this[_0x3fb36b(0x250)](_0xdfe75);}[_0x51ae4f(0x32b)](_0x4012b8){const _0x107523=_0x51ae4f;this['_scheduleClearOtherTimer'](_0x4012b8[_0x107523(0x240)]);}[_0x51ae4f(0x361)](_0xe7142e){const _0x146ae1=_0x51ae4f;localStorage['setItem'](_0x13a37f,JSON[_0x146ae1(0x156)](_0xe7142e));}['_scheduleHeartbeat'](){const _0x34e4d4=_0x51ae4f;this[_0x34e4d4(0x298)]=window[_0x34e4d4(0x2c6)](()=>{const _0x2c19f0=_0x34e4d4;this[_0x2c19f0(0x361)]({'type':0x2,'memberID':this['_id']});},_0x115ac0);}[_0x51ae4f(0x363)](_0x54baad){const _0x33c690=_0x51ae4f;return this[_0x33c690(0x25b)][_0x33c690(0x2ef)](_0x54baad)||this[_0x33c690(0x25b)][_0x33c690(0x1de)](_0x54baad,new _0x5de359['BehaviorSubject'](_0x507455['UnitStatus'][_0x33c690(0x185)])),this[_0x33c690(0x25b)]['get'](_0x54baad);}}var _0xf5a753=(_0x490424=>(_0x490424[_0x490424['UNDEFINED']=0x0]='UNDEFINED',_0x490424[_0x490424['OK']=0x1]='OK',_0x490424[_0x490424[_0x51ae4f(0x100)]=0x2]='INTERNAL_ERROR',_0x490424[_0x490424[_0x51ae4f(0x13e)]=0x3]='PERMISSION_DENIED',_0x490424[_0x490424[_0x51ae4f(0x220)]=0x4]=_0x51ae4f(0x220),_0x490424[_0x490424[_0x51ae4f(0x1c0)]=0x5]=_0x51ae4f(0x1c0),_0x490424[_0x490424['ALREADY_EXISTS']=0x6]=_0x51ae4f(0x154),_0x490424[_0x490424[_0x51ae4f(0x34d)]=0x7]=_0x51ae4f(0x34d),_0x490424[_0x490424['TOO_MANY_REQUESTS']=0x8]=_0x51ae4f(0x174),_0x490424[_0x490424['COMPLETION_FINISHED']=0x9]=_0x51ae4f(0x149),_0x490424[_0x490424[_0x51ae4f(0x297)]=0xa]=_0x51ae4f(0x297),_0x490424[_0x490424[_0x51ae4f(0x397)]=0x1389]=_0x51ae4f(0x397),_0x490424[_0x490424[_0x51ae4f(0x29f)]=0x1771]=_0x51ae4f(0x29f),_0x490424[_0x490424[_0x51ae4f(0x2ed)]=0x1772]=_0x51ae4f(0x2ed),_0x490424[_0x490424['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x51ae4f(0x291),_0x490424[_0x490424['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x490424[_0x490424[_0x51ae4f(0x16e)]=0x1b5a]=_0x51ae4f(0x16e),_0x490424[_0x490424[_0x51ae4f(0x157)]=0x1b5b]=_0x51ae4f(0x157),_0x490424[_0x490424['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x51ae4f(0x39d),_0x490424[_0x490424['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x490424[_0x490424[_0x51ae4f(0x11e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x490424[_0x490424[_0x51ae4f(0x2a6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x490424[_0x490424[_0x51ae4f(0x2e9)]=0x232a]=_0x51ae4f(0x2e9),_0x490424[_0x490424[_0x51ae4f(0x2d4)]=0x232b]=_0x51ae4f(0x2d4),_0x490424[_0x490424[_0x51ae4f(0x2da)]=0x232c]=_0x51ae4f(0x2da),_0x490424[_0x490424[_0x51ae4f(0x14e)]=0x232d]=_0x51ae4f(0x14e),_0x490424[_0x490424[_0x51ae4f(0x112)]=0x2711]=_0x51ae4f(0x112),_0x490424[_0x490424['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x490424[_0x490424[_0x51ae4f(0x101)]=0x2713]=_0x51ae4f(0x101),_0x490424[_0x490424['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x51ae4f(0x327),_0x490424[_0x490424[_0x51ae4f(0x330)]=0x2af9]=_0x51ae4f(0x330),_0x490424[_0x490424[_0x51ae4f(0x191)]=0x2ee1]=_0x51ae4f(0x191),_0x490424[_0x490424['INVALID_INVITE_CODE']=0x2ee2]=_0x51ae4f(0x2dc),_0x490424[_0x490424[_0x51ae4f(0x1d5)]=0x2ee3]=_0x51ae4f(0x1d5),_0x490424[_0x490424[_0x51ae4f(0x265)]=0x2ee4]=_0x51ae4f(0x265),_0x490424[_0x490424[_0x51ae4f(0x150)]=0x2ee5]=_0x51ae4f(0x150),_0x490424[_0x490424[_0x51ae4f(0x163)]=0x32c9]=_0x51ae4f(0x163),_0x490424[_0x490424[_0x51ae4f(0x299)]=0x32ca]=_0x51ae4f(0x299),_0x490424[_0x490424[_0x51ae4f(0x35e)]=0x32cb]=_0x51ae4f(0x35e),_0x490424[_0x490424[_0x51ae4f(0x139)]=-0x1]=_0x51ae4f(0x139),_0x490424))(_0xf5a753||{}),_0x5c1271=Object[_0x51ae4f(0x161)],_0x540188=(_0x40c0dc,_0x341429,_0x1e3771,_0x15bf5b)=>{const _0x2e2185=_0x51ae4f;for(var _0x1dfdb8=_0x15bf5b>0x1?void 0x0:_0x15bf5b?_0x5c1271(_0x341429,_0x1e3771):_0x341429,_0x286703=_0x40c0dc[_0x2e2185(0x1b2)]-0x1,_0x2248f6;_0x286703>=0x0;_0x286703--)(_0x2248f6=_0x40c0dc[_0x286703])&&(_0x1dfdb8=_0x2248f6(_0x1dfdb8)||_0x1dfdb8);return _0x1dfdb8;},_0x24282a=(_0x3a3a06,_0x449a39)=>(_0x22331f,_0x39c2cf)=>_0x449a39(_0x22331f,_0x39c2cf,_0x3a3a06);_0x4c4d8e[_0x51ae4f(0x33b)]=class extends _0x484b3d[_0x51ae4f(0x131)]{constructor(_0x58cbab,_0x2dabbd,_0x16e8b1){const _0x8efadf=_0x51ae4f;super(),this['_instanceService']=_0x58cbab,this[_0x8efadf(0x344)]=_0x2dabbd,this[_0x8efadf(0x385)]=_0x16e8b1;}async[_0x51ae4f(0x200)](_0x18d66a,_0x529ae3,_0x1c0ca0,..._0x1fd674){const _0x44b9c7=_0x51ae4f;var _0x1260ed,_0x21dfc6,_0x5539cc,_0x446159;const _0x167fee=this['_instanceService']['getFocusedUnit']();if(!_0x167fee)throw new Error(_0x44b9c7(0x229));const _0x1c763c=((_0x1260ed=this[_0x44b9c7(0x385)][_0x44b9c7(0x1a6)](_0x507455[_0x44b9c7(0x349)]))!=null?_0x1260ed:_0x507455['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x18d66a+_0x44b9c7(0x328)+_0x529ae3,_0x208ae1=new URL(window['location'][_0x44b9c7(0x273)]),_0x3f7453={'scriptId':_0x18d66a,'runId':(_0x21dfc6=_0x208ae1[_0x44b9c7(0x320)][_0x44b9c7(0x21c)](_0x44b9c7(0x23f)))!=null?_0x21dfc6:'','function':_0x529ae3,'unitId':_0x167fee[_0x44b9c7(0x19e)](),'argsOfFunction':JSON[_0x44b9c7(0x156)](_0x1fd674),'invokeId':(_0x5539cc=_0x1c0ca0[_0x44b9c7(0x34b)])!=null?_0x5539cc:'','executionId':(_0x446159=_0x1c0ca0[_0x44b9c7(0x2e0)])!=null?_0x446159:''};try{const _0x55da95=await this[_0x44b9c7(0x344)][_0x44b9c7(0x152)](_0x1c763c,{'body':_0x3f7453});return _0x55da95[_0x44b9c7(0x2fa)][_0x44b9c7(0x1ea)]&&_0x55da95[_0x44b9c7(0x2fa)]['error']['code']!==_0xf5a753['OK']?_0x44b9c7(0x10d):_0x55da95['body'][_0x44b9c7(0x22f)];}catch{return _0x44b9c7(0x10d);}}},_0x4c4d8e[_0x51ae4f(0x33b)]=_0x540188([_0x24282a(0x0,_0x484b3d['IUniverInstanceService']),_0x24282a(0x1,_0x484b3d[_0x51ae4f(0x232)](_0x33e3b2[_0x51ae4f(0x323)])),_0x24282a(0x2,_0x484b3d[_0x51ae4f(0x18c)])],_0x4c4d8e[_0x51ae4f(0x33b)]),_0x4c4d8e['CollaborationStatusDisplay']=_0x137b46,_0x4c4d8e[_0x51ae4f(0x33f)]=_0x4c2a53,_0x4c4d8e[_0x51ae4f(0x144)]=_0x2b886d,_0x4c4d8e[_0x51ae4f(0x348)]=_0x5d54aa,_0x4c4d8e[_0x51ae4f(0x393)]=_0x189889,Object[_0x51ae4f(0x31a)](_0x4c4d8e,Symbol['toStringTag'],{'value':_0x51ae4f(0x125)});}));
|